// routo Playmap. See https://developers.hyundai-mnsoft.com/
!function(a){if("object"==typeof exports)module.exports=a();else if("function"==typeof define&&define.amd)define(a);else{var b;"undefined"!=typeof window?b=window:"undefined"!=typeof global?b=global:"undefined"!=typeof self&&(b=self),b.proj4=a()}}(function(){return function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);throw new Error("Cannot find module '"+g+"'")}var j=c[g]={exports:{}};b[g][0].call(j.exports,function(a){var c=b[g][1][a];return e(c?c:a)},j,j.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g<d.length;g++)e(d[g]);return e}({1:[function(a,b){function Point(a,b,c){if(!(this instanceof Point))return new Point(a,b,c);if(Array.isArray(a))this.x=a[0],this.y=a[1],this.z=a[2]||0;else if("object"==typeof a)this.x=a.x,this.y=a.y,this.z=a.z||0;else if("string"==typeof a&&"undefined"==typeof b){var d=a.split(",");this.x=parseFloat(d[0],10),this.y=parseFloat(d[1],10),this.z=parseFloat(d[2],10)||0}else this.x=a,this.y=b,this.z=c||0;console.warn("proj4.Point will be removed in version 3, use proj4.toPoint")}var c=a("mgrs");Point.fromMGRS=function(a){return new Point(c.toPoint(a))},Point.prototype.toMGRS=function(a){return c.forward([this.x,this.y],a)},b.exports=Point},{mgrs:66}],2:[function(a,b){function Projection(a,b){if(!(this instanceof Projection))return new Projection(a);b=b||function(a){if(a)throw a};var e=c(a);if("object"!=typeof e)return void b(a);var g=f(e),h=Projection.projections.get(g.projName);h?(d(this,g),d(this,h),this.init(),b(null,this)):b(a)}var c=a("./parseCode"),d=a("./extend"),e=a("./projections"),f=a("./deriveConstants");Projection.projections=e,Projection.projections.start(),b.exports=Projection},{"./deriveConstants":32,"./extend":33,"./parseCode":36,"./projections":38}],3:[function(a,b){b.exports=function(a,b,c){var d,e,f,g=c.x,h=c.y,i=c.z||0;for(f=0;3>f;f++)if(!b||2!==f||void 0!==c.z)switch(0===f?(d=g,e="x"):1===f?(d=h,e="y"):(d=i,e="z"),a.axis[f]){case"e":c[e]=d;break;case"w":c[e]=-d;break;case"n":c[e]=d;break;case"s":c[e]=-d;break;case"u":void 0!==c[e]&&(c.z=d);break;case"d":void 0!==c[e]&&(c.z=-d);break;default:return null}return c}},{}],4:[function(a,b){var c=Math.PI/2,d=a("./sign");b.exports=function(a){return Math.abs(a)<c?a:a-d(a)*Math.PI}},{"./sign":21}],5:[function(a,b){var c=2*Math.PI,d=a("./sign");b.exports=function(a){return Math.abs(a)<Math.PI?a:a-d(a)*c}},{"./sign":21}],6:[function(a,b){b.exports=function(a){return Math.abs(a)>1&&(a=a>1?1:-1),Math.asin(a)}},{}],7:[function(a,b){b.exports=function(a){return 1-.25*a*(1+a/16*(3+1.25*a))}},{}],8:[function(a,b){b.exports=function(a){return.375*a*(1+.25*a*(1+.46875*a))}},{}],9:[function(a,b){b.exports=function(a){return.05859375*a*a*(1+.75*a)}},{}],10:[function(a,b){b.exports=function(a){return a*a*a*(35/3072)}},{}],11:[function(a,b){b.exports=function(a,b,c){var d=b*c;return a/Math.sqrt(1-d*d)}},{}],12:[function(a,b){b.exports=function(a,b,c,d,e){var f,g;f=a/b;for(var h=0;15>h;h++)if(g=(a-(b*f-c*Math.sin(2*f)+d*Math.sin(4*f)-e*Math.sin(6*f)))/(b-2*c*Math.cos(2*f)+4*d*Math.cos(4*f)-6*e*Math.cos(6*f)),f+=g,Math.abs(g)<=1e-10)return f;return 0/0}},{}],13:[function(a,b){var c=Math.PI/2;b.exports=function(a,b){var d=1-(1-a*a)/(2*a)*Math.log((1-a)/(1+a));if(Math.abs(Math.abs(b)-d)<1e-6)return 0>b?-1*c:c;for(var e,f,g,h,i=Math.asin(.5*b),j=0;30>j;j++)if(f=Math.sin(i),g=Math.cos(i),h=a*f,e=Math.pow(1-h*h,2)/(2*g)*(b/(1-a*a)-f/(1-h*h)+.5/a*Math.log((1-h)/(1+h))),i+=e,Math.abs(e)<=1e-10)return i;return 0/0}},{}],14:[function(a,b){b.exports=function(a,b,c,d,e){return a*e-b*Math.sin(2*e)+c*Math.sin(4*e)-d*Math.sin(6*e)}},{}],15:[function(a,b){b.exports=function(a,b,c){var d=a*b;return c/Math.sqrt(1-d*d)}},{}],16:[function(a,b){var c=Math.PI/2;b.exports=function(a,b){for(var d,e,f=.5*a,g=c-2*Math.atan(b),h=0;15>=h;h++)if(d=a*Math.sin(g),e=c-2*Math.atan(b*Math.pow((1-d)/(1+d),f))-g,g+=e,Math.abs(e)<=1e-10)return g;return-9999}},{}],17:[function(a,b){var c=1,d=.25,e=.046875,f=.01953125,g=.01068115234375,h=.75,i=.46875,j=.013020833333333334,k=.007120768229166667,l=.3645833333333333,m=.005696614583333333,n=.3076171875;b.exports=function(a){var b=[];b[0]=c-a*(d+a*(e+a*(f+a*g))),b[1]=a*(h-a*(e+a*(f+a*g)));var o=a*a;return b[2]=o*(i-a*(j+a*k)),o*=a,b[3]=o*(l-a*m),b[4]=o*a*n,b}},{}],18:[function(a,b){var c=a("./pj_mlfn"),d=1e-10,e=20;b.exports=function(a,b,f){for(var g=1/(1-b),h=a,i=e;i;--i){var j=Math.sin(h),k=1-b*j*j;if(k=(c(h,j,Math.cos(h),f)-a)*k*Math.sqrt(k)*g,h-=k,Math.abs(k)<d)return h}return h}},{"./pj_mlfn":19}],19:[function(a,b){b.exports=function(a,b,c,d){return c*=b,b*=b,d[0]*a-c*(d[1]+b*(d[2]+b*(d[3]+b*d[4])))}},{}],20:[function(a,b){b.exports=function(a,b){var c;return a>1e-7?(c=a*b,(1-a*a)*(b/(1-c*c)-.5/a*Math.log((1-c)/(1+c)))):2*b}},{}],21:[function(a,b){b.exports=function(a){return 0>a?-1:1}},{}],22:[function(a,b){b.exports=function(a,b){return Math.pow((1-a)/(1+a),b)}},{}],23:[function(a,b){b.exports=function(a){var b={x:a[0],y:a[1]};return a.length>2&&(b.z=a[2]),a.length>3&&(b.m=a[3]),b}},{}],24:[function(a,b){var c=Math.PI/2;b.exports=function(a,b,d){var e=a*d,f=.5*a;return e=Math.pow((1-e)/(1+e),f),Math.tan(.5*(c-b))/e}},{}],25:[function(a,b,c){c.wgs84={towgs84:"0,0,0",ellipse:"WGS84",datumName:"WGS84"},c.ch1903={towgs84:"674.374,15.056,405.346",ellipse:"bessel",datumName:"swiss"},c.ggrs87={towgs84:"-199.87,74.79,246.62",ellipse:"GRS80",datumName:"Greek_Geodetic_Reference_System_1987"},c.nad83={towgs84:"0,0,0",ellipse:"GRS80",datumName:"North_American_Datum_1983"},c.nad27={nadgrids:"@conus,@alaska,@ntv2_0.gsb,@ntv1_can.dat",ellipse:"clrk66",datumName:"North_American_Datum_1927"},c.potsdam={towgs84:"606.0,23.0,413.0",ellipse:"bessel",datumName:"Potsdam Rauenberg 1950 DHDN"},c.carthage={towgs84:"-263.0,6.0,431.0",ellipse:"clark80",datumName:"Carthage 1934 Tunisia"},c.hermannskogel={towgs84:"653.0,-212.0,449.0",ellipse:"bessel",datumName:"Hermannskogel"},c.ire65={towgs84:"482.530,-130.596,564.557,-1.042,-0.214,-0.631,8.15",ellipse:"mod_airy",datumName:"Ireland 1965"},c.rassadiran={towgs84:"-133.63,-157.5,-158.62",ellipse:"intl",datumName:"Rassadiran"},c.nzgd49={towgs84:"59.47,-5.04,187.44,0.47,-0.1,1.024,-4.5993",ellipse:"intl",datumName:"New Zealand Geodetic Datum 1949"},c.osgb36={towgs84:"446.448,-125.157,542.060,0.1502,0.2470,0.8421,-20.4894",ellipse:"airy",datumName:"Airy 1830"},c.s_jtsk={towgs84:"589,76,480",ellipse:"bessel",datumName:"S-JTSK (Ferro)"},c.beduaram={towgs84:"-106,-87,188",ellipse:"clrk80",datumName:"Beduaram"},c.gunung_segara={towgs84:"-403,684,41",ellipse:"bessel",datumName:"Gunung Segara Jakarta"},c.rnb72={towgs84:"106.869,-52.2978,103.724,-0.33657,0.456955,-1.84218,1",ellipse:"intl",datumName:"Reseau National Belge 1972"}},{}],26:[function(a,b,c){c.MERIT={a:6378137,rf:298.257,ellipseName:"MERIT 1983"},c.SGS85={a:6378136,rf:298.257,ellipseName:"Soviet Geodetic System 85"},c.GRS80={a:6378137,rf:298.257222101,ellipseName:"GRS 1980(IUGG, 1980)"},c.IAU76={a:6378140,rf:298.257,ellipseName:"IAU 1976"},c.airy={a:6377563.396,b:6356256.91,ellipseName:"Airy 1830"},c.APL4={a:6378137,rf:298.25,ellipseName:"Appl. Physics. 1965"},c.NWL9D={a:6378145,rf:298.25,ellipseName:"Naval Weapons Lab., 1965"},c.mod_airy={a:6377340.189,b:6356034.446,ellipseName:"Modified Airy"},c.andrae={a:6377104.43,rf:300,ellipseName:"Andrae 1876 (Den., Iclnd.)"},c.aust_SA={a:6378160,rf:298.25,ellipseName:"Australian Natl & S. Amer. 1969"},c.GRS67={a:6378160,rf:298.247167427,ellipseName:"GRS 67(IUGG 1967)"},c.bessel={a:6377397.155,rf:299.1528128,ellipseName:"Bessel 1841"},c.bess_nam={a:6377483.865,rf:299.1528128,ellipseName:"Bessel 1841 (Namibia)"},c.clrk66={a:6378206.4,b:6356583.8,ellipseName:"Clarke 1866"},c.clrk80={a:6378249.145,rf:293.4663,ellipseName:"Clarke 1880 mod."},c.clrk58={a:6378293.645208759,rf:294.2606763692654,ellipseName:"Clarke 1858"},c.CPM={a:6375738.7,rf:334.29,ellipseName:"Comm. des Poids et Mesures 1799"},c.delmbr={a:6376428,rf:311.5,ellipseName:"Delambre 1810 (Belgium)"},c.engelis={a:6378136.05,rf:298.2566,ellipseName:"Engelis 1985"},c.evrst30={a:6377276.345,rf:300.8017,ellipseName:"Everest 1830"},c.evrst48={a:6377304.063,rf:300.8017,ellipseName:"Everest 1948"},c.evrst56={a:6377301.243,rf:300.8017,ellipseName:"Everest 1956"},c.evrst69={a:6377295.664,rf:300.8017,ellipseName:"Everest 1969"},c.evrstSS={a:6377298.556,rf:300.8017,ellipseName:"Everest (Sabah & Sarawak)"},c.fschr60={a:6378166,rf:298.3,ellipseName:"Fischer (Mercury Datum) 1960"},c.fschr60m={a:6378155,rf:298.3,ellipseName:"Fischer 1960"},c.fschr68={a:6378150,rf:298.3,ellipseName:"Fischer 1968"},c.helmert={a:6378200,rf:298.3,ellipseName:"Helmert 1906"},c.hough={a:6378270,rf:297,ellipseName:"Hough"},c.intl={a:6378388,rf:297,ellipseName:"International 1909 (Hayford)"},c.kaula={a:6378163,rf:298.24,ellipseName:"Kaula 1961"},c.lerch={a:6378139,rf:298.257,ellipseName:"Lerch 1979"},c.mprts={a:6397300,rf:191,ellipseName:"Maupertius 1738"},c.new_intl={a:6378157.5,b:6356772.2,ellipseName:"New International 1967"},c.plessis={a:6376523,rf:6355863,ellipseName:"Plessis 1817 (France)"},c.krass={a:6378245,rf:298.3,ellipseName:"Krassovsky, 1942"},c.SEasia={a:6378155,b:6356773.3205,ellipseName:"Southeast Asia"},c.walbeck={a:6376896,b:6355834.8467,ellipseName:"Walbeck"},c.WGS60={a:6378165,rf:298.3,ellipseName:"WGS 60"},c.WGS66={a:6378145,rf:298.25,ellipseName:"WGS 66"},c.WGS7={a:6378135,rf:298.26,ellipseName:"WGS 72"},c.WGS84={a:6378137,rf:298.257223563,ellipseName:"WGS 84"},c.sphere={a:6370997,b:6370997,ellipseName:"Normal Sphere (r=6370997)"}},{}],27:[function(a,b,c){c.greenwich=0,c.lisbon=-9.131906111111,c.paris=2.337229166667,c.bogota=-74.080916666667,c.madrid=-3.687938888889,c.rome=12.452333333333,c.bern=7.439583333333,c.jakarta=106.807719444444,c.ferro=-17.666666666667,c.brussels=4.367975,c.stockholm=18.058277777778,c.athens=23.7163375,c.oslo=10.722916666667},{}],28:[function(a,b){function c(a,b,c){var d;return Array.isArray(c)?(d=f(a,b,c),3===c.length?[d.x,d.y,d.z]:[d.x,d.y]):f(a,b,c)}function d(a){return a instanceof e?a:a.oProj?a.oProj:e(a)}function proj4(a,b,e){a=d(a);var f,h=!1;return"undefined"==typeof b?(b=a,a=g,h=!0):("undefined"!=typeof b.x||Array.isArray(b))&&(e=b,b=a,a=g,h=!0),b=d(b),e?c(a,b,e):(f={forward:function(d){return c(a,b,d)},inverse:function(d){return c(b,a,d)}},h&&(f.oProj=b),f)}var e=a("./Proj"),f=a("./transform"),g=e("WGS84");b.exports=proj4},{"./Proj":2,"./transform":64}],29:[function(a,b){var c=Math.PI/2,d=1,e=2,f=3,g=4,h=5,i=484813681109536e-20,j=1.0026,k=.3826834323650898,l=function(a){if(!(this instanceof l))return new l(a);if(this.datum_type=g,a){if(a.datumCode&&"none"===a.datumCode&&(this.datum_type=h),a.datum_params){for(var b=0;b<a.datum_params.length;b++)a.datum_params[b]=parseFloat(a.datum_params[b]);(0!==a.datum_params[0]||0!==a.datum_params[1]||0!==a.datum_params[2])&&(this.datum_type=d),a.datum_params.length>3&&(0!==a.datum_params[3]||0!==a.datum_params[4]||0!==a.datum_params[5]||0!==a.datum_params[6])&&(this.datum_type=e,a.datum_params[3]*=i,a.datum_params[4]*=i,a.datum_params[5]*=i,a.datum_params[6]=a.datum_params[6]/1e6+1)}this.datum_type=a.grids?f:this.datum_type,this.a=a.a,this.b=a.b,this.es=a.es,this.ep2=a.ep2,this.datum_params=a.datum_params,this.datum_type===f&&(this.grids=a.grids)}};l.prototype={compare_datums:function(a){return this.datum_type!==a.datum_type?!1:this.a!==a.a||Math.abs(this.es-a.es)>5e-11?!1:this.datum_type===d?this.datum_params[0]===a.datum_params[0]&&this.datum_params[1]===a.datum_params[1]&&this.datum_params[2]===a.datum_params[2]:this.datum_type===e?this.datum_params[0]===a.datum_params[0]&&this.datum_params[1]===a.datum_params[1]&&this.datum_params[2]===a.datum_params[2]&&this.datum_params[3]===a.datum_params[3]&&this.datum_params[4]===a.datum_params[4]&&this.datum_params[5]===a.datum_params[5]&&this.datum_params[6]===a.datum_params[6]:this.datum_type===f||a.datum_type===f?this.nadgrids===a.nadgrids:!0},geodetic_to_geocentric:function(a){var b,d,e,f,g,h,i,j=a.x,k=a.y,l=a.z?a.z:0,m=0;if(-c>k&&k>-1.001*c)k=-c;else if(k>c&&1.001*c>k)k=c;else if(-c>k||k>c)return null;return j>Math.PI&&(j-=2*Math.PI),g=Math.sin(k),i=Math.cos(k),h=g*g,f=this.a/Math.sqrt(1-this.es*h),b=(f+l)*i*Math.cos(j),d=(f+l)*i*Math.sin(j),e=(f*(1-this.es)+l)*g,a.x=b,a.y=d,a.z=e,m},geocentric_to_geodetic:function(a){var b,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t=1e-12,u=t*t,v=30,w=a.x,x=a.y,y=a.z?a.z:0;if(o=!1,b=Math.sqrt(w*w+x*x),d=Math.sqrt(w*w+x*x+y*y),b/this.a<t){if(o=!0,q=0,d/this.a<t)return r=c,void(s=-this.b)}else q=Math.atan2(x,w);e=y/d,f=b/d,g=1/Math.sqrt(1-this.es*(2-this.es)*f*f),j=f*(1-this.es)*g,k=e*g,p=0;do p++,i=this.a/Math.sqrt(1-this.es*k*k),s=b*j+y*k-i*(1-this.es*k*k),h=this.es*i/(i+s),g=1/Math.sqrt(1-h*(2-h)*f*f),l=f*(1-h)*g,m=e*g,n=m*j-l*k,j=l,k=m;while(n*n>u&&v>p);return r=Math.atan(m/Math.abs(l)),a.x=q,a.y=r,a.z=s,a},geocentric_to_geodetic_noniter:function(a){var b,d,e,f,g,h,i,l,m,n,o,p,q,r,s,t,u,v=a.x,w=a.y,x=a.z?a.z:0;if(v=parseFloat(v),w=parseFloat(w),x=parseFloat(x),u=!1,0!==v)b=Math.atan2(w,v);else if(w>0)b=c;else if(0>w)b=-c;else if(u=!0,b=0,x>0)d=c;else{if(!(0>x))return d=c,void(e=-this.b);d=-c}return g=v*v+w*w,f=Math.sqrt(g),h=x*j,l=Math.sqrt(h*h+g),n=h/l,p=f/l,o=n*n*n,i=x+this.b*this.ep2*o,t=f-this.a*this.es*p*p*p,m=Math.sqrt(i*i+t*t),q=i/m,r=t/m,s=this.a/Math.sqrt(1-this.es*q*q),e=r>=k?f/r-s:-k>=r?f/-r-s:x/q+s*(this.es-1),u===!1&&(d=Math.atan(q/r)),a.x=b,a.y=d,a.z=e,a},geocentric_to_wgs84:function(a){if(this.datum_type===d)a.x+=this.datum_params[0],a.y+=this.datum_params[1],a.z+=this.datum_params[2];else if(this.datum_type===e){var b=this.datum_params[0],c=this.datum_params[1],f=this.datum_params[2],g=this.datum_params[3],h=this.datum_params[4],i=this.datum_params[5],j=this.datum_params[6],k=j*(a.x-i*a.y+h*a.z)+b,l=j*(i*a.x+a.y-g*a.z)+c,m=j*(-h*a.x+g*a.y+a.z)+f;a.x=k,a.y=l,a.z=m}},geocentric_from_wgs84:function(a){if(this.datum_type===d)a.x-=this.datum_params[0],a.y-=this.datum_params[1],a.z-=this.datum_params[2];else if(this.datum_type===e){var b=this.datum_params[0],c=this.datum_params[1],f=this.datum_params[2],g=this.datum_params[3],h=this.datum_params[4],i=this.datum_params[5],j=this.datum_params[6],k=(a.x-b)/j,l=(a.y-c)/j,m=(a.z-f)/j;a.x=k+i*l-h*m,a.y=-i*k+l+g*m,a.z=h*k-g*l+m}}},b.exports=l},{}],30:[function(a,b){var c=1,d=2,e=3,f=5,g=6378137,h=.006694379990141316;b.exports=function(a,b,i){function j(a){return a===c||a===d}var k,l,m;if(a.compare_datums(b))return i;if(a.datum_type===f||b.datum_type===f)return i;var n=a.a,o=a.es,p=b.a,q=b.es,r=a.datum_type;if(r===e)if(0===this.apply_gridshift(a,0,i))a.a=g,a.es=h;else{if(!a.datum_params)return a.a=n,a.es=a.es,i;for(k=1,l=0,m=a.datum_params.length;m>l;l++)k*=a.datum_params[l];if(0===k)return a.a=n,a.es=a.es,i;r=a.datum_params.length>3?d:c}return b.datum_type===e&&(b.a=g,b.es=h),(a.es!==b.es||a.a!==b.a||j(r)||j(b.datum_type))&&(a.geodetic_to_geocentric(i),j(a.datum_type)&&a.geocentric_to_wgs84(i),j(b.datum_type)&&b.geocentric_from_wgs84(i),b.geocentric_to_geodetic(i)),b.datum_type===e&&this.apply_gridshift(b,1,i),a.a=n,a.es=o,b.a=p,b.es=q,i}},{}],31:[function(a,b){function c(a){var b=this;if(2===arguments.length){var d=arguments[1];c[a]="string"==typeof d?"+"===d[0]?e(arguments[1]):f(arguments[1]):d}else if(1===arguments.length){if(Array.isArray(a))return a.map(function(a){Array.isArray(a)?c.apply(b,a):c(a)});if("string"==typeof a){if(a in c)return c[a]}else"EPSG"in a?c["EPSG:"+a.EPSG]=a:"ESRI"in a?c["ESRI:"+a.ESRI]=a:"IAU2000"in a?c["IAU2000:"+a.IAU2000]=a:console.log(a);return}}var d=a("./global"),e=a("./projString"),f=a("./wkt");d(c),b.exports=c},{"./global":34,"./projString":37,"./wkt":65}],32:[function(a,b){var c=a("./constants/Datum"),d=a("./constants/Ellipsoid"),e=a("./extend"),f=a("./datum"),g=1e-10,h=.16666666666666666,i=.04722222222222222,j=.022156084656084655;b.exports=function(a){if(a.datumCode&&"none"!==a.datumCode){var b=c[a.datumCode];b&&(a.datum_params=b.towgs84?b.towgs84.split(","):null,a.ellps=b.ellipse,a.datumName=b.datumName?b.datumName:a.datumCode)}if(!a.a){var k=d[a.ellps]?d[a.ellps]:d.WGS84;e(a,k)}return a.rf&&!a.b&&(a.b=(1-1/a.rf)*a.a),(0===a.rf||Math.abs(a.a-a.b)<g)&&(a.sphere=!0,a.b=a.a),a.a2=a.a*a.a,a.b2=a.b*a.b,a.es=(a.a2-a.b2)/a.a2,a.e=Math.sqrt(a.es),a.R_A&&(a.a*=1-a.es*(h+a.es*(i+a.es*j)),a.a2=a.a*a.a,a.b2=a.b*a.b,a.es=0),a.ep2=(a.a2-a.b2)/a.b2,a.k0||(a.k0=1),a.axis||(a.axis="enu"),a.datum||(a.datum=f(a)),a}},{"./constants/Datum":25,"./constants/Ellipsoid":26,"./datum":29,"./extend":33}],33:[function(a,b){b.exports=function(a,b){a=a||{};var c,d;if(!b)return a;for(d in b)c=b[d],void 0!==c&&(a[d]=c);return a}},{}],34:[function(a,b){b.exports=function(a){a("EPSG:4326","+title=WGS 84 (long/lat) +proj=longlat +ellps=WGS84 +datum=WGS84 +units=degrees"),a("EPSG:4269","+title=NAD83 (long/lat) +proj=longlat +a=6378137.0 +b=6356752.31414036 +ellps=GRS80 +datum=NAD83 +units=degrees"),a("EPSG:3857","+title=WGS 84 / Pseudo-Mercator +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs"),a.WGS84=a["EPSG:4326"],a["EPSG:3785"]=a["EPSG:3857"],a.GOOGLE=a["EPSG:3857"],a["EPSG:900913"]=a["EPSG:3857"],a["EPSG:102113"]=a["EPSG:3857"]}},{}],35:[function(a,b){var proj4=a("./core");proj4.defaultDatum="WGS84",proj4.Proj=a("./Proj"),proj4.WGS84=new proj4.Proj("WGS84"),proj4.Point=a("./Point"),proj4.toPoint=a("./common/toPoint"),proj4.defs=a("./defs"),proj4.transform=a("./transform"),proj4.mgrs=a("mgrs"),proj4.version=a("../package.json").version,a("./includedProjections")(proj4),b.exports=proj4},{"../package.json":67,"./Point":1,"./Proj":2,"./common/toPoint":23,"./core":28,"./defs":31,"./includedProjections":"gWUPNW","./transform":64,mgrs:66}],36:[function(a,b){function c(a){return"string"==typeof a}function d(a){return a in h}function e(a){var b=["GEOGCS","GEOCCS","PROJCS","LOCAL_CS"];return b.reduce(function(b,c){return b+1+a.indexOf(c)},0)}function f(a){return"+"===a[0]}function g(a){return c(a)?d(a)?h[a]:e(a)?i(a):f(a)?j(a):void 0:a}var h=a("./defs"),i=a("./wkt"),j=a("./projString");b.exports=g},{"./defs":31,"./projString":37,"./wkt":65}],37:[function(a,b){var c=.017453292519943295,d=a("./constants/PrimeMeridian");b.exports=function(a){var b={},e={};a.split("+").map(function(a){return a.trim()}).filter(function(a){return a}).forEach(function(a){var b=a.split("=");b.push(!0),e[b[0].toLowerCase()]=b[1]});var f,g,h,i={proj:"projName",datum:"datumCode",rf:function(a){b.rf=parseFloat(a,10)},lat_0:function(a){b.lat0=a*c},lat_1:function(a){b.lat1=a*c},lat_2:function(a){b.lat2=a*c},lat_ts:function(a){b.lat_ts=a*c},lon_0:function(a){b.long0=a*c},lon_1:function(a){b.long1=a*c},lon_2:function(a){b.long2=a*c},alpha:function(a){b.alpha=parseFloat(a)*c},lonc:function(a){b.longc=a*c},x_0:function(a){b.x0=parseFloat(a,10)},y_0:function(a){b.y0=parseFloat(a,10)},k_0:function(a){b.k0=parseFloat(a,10)},k:function(a){b.k0=parseFloat(a,10)},r_a:function(){b.R_A=!0},zone:function(a){b.zone=parseInt(a,10)},south:function(){b.utmSouth=!0},towgs84:function(a){b.datum_params=a.split(",").map(function(a){return parseFloat(a,10)})},to_meter:function(a){b.to_meter=parseFloat(a,10)},from_greenwich:function(a){b.from_greenwich=a*c},pm:function(a){b.from_greenwich=(d[a]?d[a]:parseFloat(a,10))*c},nadgrids:function(a){"@null"===a?b.datumCode="none":b.nadgrids=a},axis:function(a){var c="ewnsud";3===a.length&&-1!==c.indexOf(a.substr(0,1))&&-1!==c.indexOf(a.substr(1,1))&&-1!==c.indexOf(a.substr(2,1))&&(b.axis=a)}};for(f in e)g=e[f],f in i?(h=i[f],"function"==typeof h?h(g):b[h]=g):b[f]=g;return"string"==typeof b.datumCode&&"WGS84"!==b.datumCode&&(b.datumCode=b.datumCode.toLowerCase()),b}},{"./constants/PrimeMeridian":27}],38:[function(a,b,c){function d(a,b){var c=g.length;return a.names?(g[c]=a,a.names.forEach(function(a){f[a.toLowerCase()]=c}),this):(console.log(b),!0)}var e=[a("./projections/merc"),a("./projections/longlat")],f={},g=[];c.add=d,c.get=function(a){if(!a)return!1;var b=a.toLowerCase();return"undefined"!=typeof f[b]&&g[f[b]]?g[f[b]]:void 0},c.start=function(){e.forEach(d)}},{"./projections/longlat":50,"./projections/merc":51}],39:[function(a,b,c){var d=1e-10,e=a("../common/msfnz"),f=a("../common/qsfnz"),g=a("../common/adjust_lon"),h=a("../common/asinz");c.init=function(){Math.abs(this.lat1+this.lat2)<d||(this.temp=this.b/this.a,this.es=1-Math.pow(this.temp,2),this.e3=Math.sqrt(this.es),this.sin_po=Math.sin(this.lat1),this.cos_po=Math.cos(this.lat1),this.t1=this.sin_po,this.con=this.sin_po,this.ms1=e(this.e3,this.sin_po,this.cos_po),this.qs1=f(this.e3,this.sin_po,this.cos_po),this.sin_po=Math.sin(this.lat2),this.cos_po=Math.cos(this.lat2),this.t2=this.sin_po,this.ms2=e(this.e3,this.sin_po,this.cos_po),this.qs2=f(this.e3,this.sin_po,this.cos_po),this.sin_po=Math.sin(this.lat0),this.cos_po=Math.cos(this.lat0),this.t3=this.sin_po,this.qs0=f(this.e3,this.sin_po,this.cos_po),this.ns0=Math.abs(this.lat1-this.lat2)>d?(this.ms1*this.ms1-this.ms2*this.ms2)/(this.qs2-this.qs1):this.con,this.c=this.ms1*this.ms1+this.ns0*this.qs1,this.rh=this.a*Math.sqrt(this.c-this.ns0*this.qs0)/this.ns0)},c.forward=function(a){var b=a.x,c=a.y;this.sin_phi=Math.sin(c),this.cos_phi=Math.cos(c);var d=f(this.e3,this.sin_phi,this.cos_phi),e=this.a*Math.sqrt(this.c-this.ns0*d)/this.ns0,h=this.ns0*g(b-this.long0),i=e*Math.sin(h)+this.x0,j=this.rh-e*Math.cos(h)+this.y0;return a.x=i,a.y=j,a},c.inverse=function(a){var b,c,d,e,f,h;return a.x-=this.x0,a.y=this.rh-a.y+this.y0,this.ns0>=0?(b=Math.sqrt(a.x*a.x+a.y*a.y),d=1):(b=-Math.sqrt(a.x*a.x+a.y*a.y),d=-1),e=0,0!==b&&(e=Math.atan2(d*a.x,d*a.y)),d=b*this.ns0/this.a,this.sphere?h=Math.asin((this.c-d*d)/(2*this.ns0)):(c=(this.c-d*d)/this.ns0,h=this.phi1z(this.e3,c)),f=g(e/this.ns0+this.long0),a.x=f,a.y=h,a},c.phi1z=function(a,b){var c,e,f,g,i,j=h(.5*b);if(d>a)return j;for(var k=a*a,l=1;25>=l;l++)if(c=Math.sin(j),e=Math.cos(j),f=a*c,g=1-f*f,i=.5*g*g/e*(b/(1-k)-c/g+.5/a*Math.log((1-f)/(1+f))),j+=i,Math.abs(i)<=1e-7)return j;return null},c.names=["Albers_Conic_Equal_Area","Albers","aea"]},{"../common/adjust_lon":5,"../common/asinz":6,"../common/msfnz":15,"../common/qsfnz":20}],40:[function(a,b,c){var d=a("../common/adjust_lon"),e=Math.PI/2,f=1e-10,g=a("../common/mlfn"),h=a("../common/e0fn"),i=a("../common/e1fn"),j=a("../common/e2fn"),k=a("../common/e3fn"),l=a("../common/gN"),m=a("../common/asinz"),n=a("../common/imlfn");c.init=function(){this.sin_p12=Math.sin(this.lat0),this.cos_p12=Math.cos(this.lat0)},c.forward=function(a){var b,c,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H=a.x,I=a.y,J=Math.sin(a.y),K=Math.cos(a.y),L=d(H-this.long0);return this.sphere?Math.abs(this.sin_p12-1)<=f?(a.x=this.x0+this.a*(e-I)*Math.sin(L),a.y=this.y0-this.a*(e-I)*Math.cos(L),a):Math.abs(this.sin_p12+1)<=f?(a.x=this.x0+this.a*(e+I)*Math.sin(L),a.y=this.y0+this.a*(e+I)*Math.cos(L),a):(B=this.sin_p12*J+this.cos_p12*K*Math.cos(L),z=Math.acos(B),A=z/Math.sin(z),a.x=this.x0+this.a*A*K*Math.sin(L),a.y=this.y0+this.a*A*(this.cos_p12*J-this.sin_p12*K*Math.cos(L)),a):(b=h(this.es),c=i(this.es),m=j(this.es),n=k(this.es),Math.abs(this.sin_p12-1)<=f?(o=this.a*g(b,c,m,n,e),p=this.a*g(b,c,m,n,I),a.x=this.x0+(o-p)*Math.sin(L),a.y=this.y0-(o-p)*Math.cos(L),a):Math.abs(this.sin_p12+1)<=f?(o=this.a*g(b,c,m,n,e),p=this.a*g(b,c,m,n,I),a.x=this.x0+(o+p)*Math.sin(L),a.y=this.y0+(o+p)*Math.cos(L),a):(q=J/K,r=l(this.a,this.e,this.sin_p12),s=l(this.a,this.e,J),t=Math.atan((1-this.es)*q+this.es*r*this.sin_p12/(s*K)),u=Math.atan2(Math.sin(L),this.cos_p12*Math.tan(t)-this.sin_p12*Math.cos(L)),C=0===u?Math.asin(this.cos_p12*Math.sin(t)-this.sin_p12*Math.cos(t)):Math.abs(Math.abs(u)-Math.PI)<=f?-Math.asin(this.cos_p12*Math.sin(t)-this.sin_p12*Math.cos(t)):Math.asin(Math.sin(L)*Math.cos(t)/Math.sin(u)),v=this.e*this.sin_p12/Math.sqrt(1-this.es),w=this.e*this.cos_p12*Math.cos(u)/Math.sqrt(1-this.es),x=v*w,y=w*w,D=C*C,E=D*C,F=E*C,G=F*C,z=r*C*(1-D*y*(1-y)/6+E/8*x*(1-2*y)+F/120*(y*(4-7*y)-3*v*v*(1-7*y))-G/48*x),a.x=this.x0+z*Math.sin(u),a.y=this.y0+z*Math.cos(u),a))},c.inverse=function(a){a.x-=this.x0,a.y-=this.y0;var b,c,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I;if(this.sphere){if(b=Math.sqrt(a.x*a.x+a.y*a.y),b>2*e*this.a)return;return c=b/this.a,o=Math.sin(c),p=Math.cos(c),q=this.long0,Math.abs(b)<=f?r=this.lat0:(r=m(p*this.sin_p12+a.y*o*this.cos_p12/b),s=Math.abs(this.lat0)-e,q=d(Math.abs(s)<=f?this.lat0>=0?this.long0+Math.atan2(a.x,-a.y):this.long0-Math.atan2(-a.x,a.y):this.long0+Math.atan2(a.x*o,b*this.cos_p12*p-a.y*this.sin_p12*o))),a.x=q,a.y=r,a}return t=h(this.es),u=i(this.es),v=j(this.es),w=k(this.es),Math.abs(this.sin_p12-1)<=f?(x=this.a*g(t,u,v,w,e),b=Math.sqrt(a.x*a.x+a.y*a.y),y=x-b,r=n(y/this.a,t,u,v,w),q=d(this.long0+Math.atan2(a.x,-1*a.y)),a.x=q,a.y=r,a):Math.abs(this.sin_p12+1)<=f?(x=this.a*g(t,u,v,w,e),b=Math.sqrt(a.x*a.x+a.y*a.y),y=b-x,r=n(y/this.a,t,u,v,w),q=d(this.long0+Math.atan2(a.x,a.y)),a.x=q,a.y=r,a):(b=Math.sqrt(a.x*a.x+a.y*a.y),B=Math.atan2(a.x,a.y),z=l(this.a,this.e,this.sin_p12),C=Math.cos(B),D=this.e*this.cos_p12*C,E=-D*D/(1-this.es),F=3*this.es*(1-E)*this.sin_p12*this.cos_p12*C/(1-this.es),G=b/z,H=G-E*(1+E)*Math.pow(G,3)/6-F*(1+3*E)*Math.pow(G,4)/24,I=1-E*H*H/2-G*H*H*H/6,A=Math.asin(this.sin_p12*Math.cos(H)+this.cos_p12*Math.sin(H)*C),q=d(this.long0+Math.asin(Math.sin(B)*Math.sin(H)/Math.cos(A))),r=Math.atan((1-this.es*I*this.sin_p12/Math.sin(A))*Math.tan(A)/(1-this.es)),a.x=q,a.y=r,a)},c.names=["Azimuthal_Equidistant","aeqd"]},{"../common/adjust_lon":5,"../common/asinz":6,"../common/e0fn":7,"../common/e1fn":8,"../common/e2fn":9,"../common/e3fn":10,"../common/gN":11,"../common/imlfn":12,"../common/mlfn":14}],41:[function(a,b,c){var d=a("../common/mlfn"),e=a("../common/e0fn"),f=a("../common/e1fn"),g=a("../common/e2fn"),h=a("../common/e3fn"),i=a("../common/gN"),j=a("../common/adjust_lon"),k=a("../common/adjust_lat"),l=a("../common/imlfn"),m=Math.PI/2,n=1e-10;c.init=function(){this.sphere||(this.e0=e(this.es),this.e1=f(this.es),this.e2=g(this.es),this.e3=h(this.es),this.ml0=this.a*d(this.e0,this.e1,this.e2,this.e3,this.lat0))},c.forward=function(a){var b,c,e=a.x,f=a.y;if(e=j(e-this.long0),this.sphere)b=this.a*Math.asin(Math.cos(f)*Math.sin(e)),c=this.a*(Math.atan2(Math.tan(f),Math.cos(e))-this.lat0);else{var g=Math.sin(f),h=Math.cos(f),k=i(this.a,this.e,g),l=Math.tan(f)*Math.tan(f),m=e*Math.cos(f),n=m*m,o=this.es*h*h/(1-this.es),p=this.a*d(this.e0,this.e1,this.e2,this.e3,f);b=k*m*(1-n*l*(1/6-(8-l+8*o)*n/120)),c=p-this.ml0+k*g/h*n*(.5+(5-l+6*o)*n/24)}return a.x=b+this.x0,a.y=c+this.y0,a},c.inverse=function(a){a.x-=this.x0,a.y-=this.y0;var b,c,d=a.x/this.a,e=a.y/this.a;if(this.sphere){var f=e+this.lat0;b=Math.asin(Math.sin(f)*Math.cos(d)),c=Math.atan2(Math.tan(d),Math.cos(f))}else{var g=this.ml0/this.a+e,h=l(g,this.e0,this.e1,this.e2,this.e3);if(Math.abs(Math.abs(h)-m)<=n)return a.x=this.long0,a.y=m,0>e&&(a.y*=-1),a;var o=i(this.a,this.e,Math.sin(h)),p=o*o*o/this.a/this.a*(1-this.es),q=Math.pow(Math.tan(h),2),r=d*this.a/o,s=r*r;b=h-o*Math.tan(h)/p*r*r*(.5-(1+3*q)*r*r/24),c=r*(1-s*(q/3+(1+3*q)*q*s/15))/Math.cos(h)}return a.x=j(c+this.long0),a.y=k(b),a},c.names=["Cassini","Cassini_Soldner","cass"]},{"../common/adjust_lat":4,"../common/adjust_lon":5,"../common/e0fn":7,"../common/e1fn":8,"../common/e2fn":9,"../common/e3fn":10,"../common/gN":11,"../common/imlfn":12,"../common/mlfn":14}],42:[function(a,b,c){var d=a("../common/adjust_lon"),e=a("../common/qsfnz"),f=a("../common/msfnz"),g=a("../common/iqsfnz");c.init=function(){this.sphere||(this.k0=f(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts)))},c.forward=function(a){var b,c,f=a.x,g=a.y,h=d(f-this.long0);if(this.sphere)b=this.x0+this.a*h*Math.cos(this.lat_ts),c=this.y0+this.a*Math.sin(g)/Math.cos(this.lat_ts);else{var i=e(this.e,Math.sin(g));b=this.x0+this.a*this.k0*h,c=this.y0+this.a*i*.5/this.k0}return a.x=b,a.y=c,a},c.inverse=function(a){a.x-=this.x0,a.y-=this.y0;var b,c;return this.sphere?(b=d(this.long0+a.x/this.a/Math.cos(this.lat_ts)),c=Math.asin(a.y/this.a*Math.cos(this.lat_ts))):(c=g(this.e,2*a.y*this.k0/this.a),b=d(this.long0+a.x/(this.a*this.k0))),a.x=b,a.y=c,a},c.names=["cea"]},{"../common/adjust_lon":5,"../common/iqsfnz":13,"../common/msfnz":15,"../common/qsfnz":20}],43:[function(a,b,c){var d=a("../common/adjust_lon"),e=a("../common/adjust_lat");c.init=function(){this.x0=this.x0||0,this.y0=this.y0||0,this.lat0=this.lat0||0,this.long0=this.long0||0,this.lat_ts=this.lat_ts||0,this.title=this.title||"Equidistant Cylindrical (Plate Carre)",this.rc=Math.cos(this.lat_ts)},c.forward=function(a){var b=a.x,c=a.y,f=d(b-this.long0),g=e(c-this.lat0);return a.x=this.x0+this.a*f*this.rc,a.y=this.y0+this.a*g,a},c.inverse=function(a){var b=a.x,c=a.y;return a.x=d(this.long0+(b-this.x0)/(this.a*this.rc)),a.y=e(this.lat0+(c-this.y0)/this.a),a},c.names=["Equirectangular","Equidistant_Cylindrical","eqc"]},{"../common/adjust_lat":4,"../common/adjust_lon":5}],44:[function(a,b,c){var d=a("../common/e0fn"),e=a("../common/e1fn"),f=a("../common/e2fn"),g=a("../common/e3fn"),h=a("../common/msfnz"),i=a("../common/mlfn"),j=a("../common/adjust_lon"),k=a("../common/adjust_lat"),l=a("../common/imlfn"),m=1e-10;c.init=function(){Math.abs(this.lat1+this.lat2)<m||(this.lat2=this.lat2||this.lat1,this.temp=this.b/this.a,this.es=1-Math.pow(this.temp,2),this.e=Math.sqrt(this.es),this.e0=d(this.es),this.e1=e(this.es),this.e2=f(this.es),this.e3=g(this.es),this.sinphi=Math.sin(this.lat1),this.cosphi=Math.cos(this.lat1),this.ms1=h(this.e,this.sinphi,this.cosphi),this.ml1=i(this.e0,this.e1,this.e2,this.e3,this.lat1),Math.abs(this.lat1-this.lat2)<m?this.ns=this.sinphi:(this.sinphi=Math.sin(this.lat2),this.cosphi=Math.cos(this.lat2),this.ms2=h(this.e,this.sinphi,this.cosphi),this.ml2=i(this.e0,this.e1,this.e2,this.e3,this.lat2),this.ns=(this.ms1-this.ms2)/(this.ml2-this.ml1)),this.g=this.ml1+this.ms1/this.ns,this.ml0=i(this.e0,this.e1,this.e2,this.e3,this.lat0),this.rh=this.a*(this.g-this.ml0))},c.forward=function(a){var b,c=a.x,d=a.y;if(this.sphere)b=this.a*(this.g-d);else{var e=i(this.e0,this.e1,this.e2,this.e3,d);b=this.a*(this.g-e)}var f=this.ns*j(c-this.long0),g=this.x0+b*Math.sin(f),h=this.y0+this.rh-b*Math.cos(f);return a.x=g,a.y=h,a},c.inverse=function(a){a.x-=this.x0,a.y=this.rh-a.y+this.y0;var b,c,d,e;this.ns>=0?(c=Math.sqrt(a.x*a.x+a.y*a.y),b=1):(c=-Math.sqrt(a.x*a.x+a.y*a.y),b=-1);var f=0;if(0!==c&&(f=Math.atan2(b*a.x,b*a.y)),this.sphere)return e=j(this.long0+f/this.ns),d=k(this.g-c/this.a),a.x=e,a.y=d,a;var g=this.g-c/this.a;return d=l(g,this.e0,this.e1,this.e2,this.e3),e=j(this.long0+f/this.ns),a.x=e,a.y=d,a},c.names=["Equidistant_Conic","eqdc"]},{"../common/adjust_lat":4,"../common/adjust_lon":5,"../common/e0fn":7,"../common/e1fn":8,"../common/e2fn":9,"../common/e3fn":10,"../common/imlfn":12,"../common/mlfn":14,"../common/msfnz":15}],45:[function(a,b,c){var d=Math.PI/4,e=a("../common/srat"),f=Math.PI/2,g=20;c.init=function(){var a=Math.sin(this.lat0),b=Math.cos(this.lat0);b*=b,this.rc=Math.sqrt(1-this.es)/(1-this.es*a*a),this.C=Math.sqrt(1+this.es*b*b/(1-this.es)),this.phic0=Math.asin(a/this.C),this.ratexp=.5*this.C*this.e,this.K=Math.tan(.5*this.phic0+d)/(Math.pow(Math.tan(.5*this.lat0+d),this.C)*e(this.e*a,this.ratexp))},c.forward=function(a){var b=a.x,c=a.y;return a.y=2*Math.atan(this.K*Math.pow(Math.tan(.5*c+d),this.C)*e(this.e*Math.sin(c),this.ratexp))-f,a.x=this.C*b,a},c.inverse=function(a){for(var b=1e-14,c=a.x/this.C,h=a.y,i=Math.pow(Math.tan(.5*h+d)/this.K,1/this.C),j=g;j>0&&(h=2*Math.atan(i*e(this.e*Math.sin(a.y),-.5*this.e))-f,!(Math.abs(h-a.y)<b));--j)a.y=h;return j?(a.x=c,a.y=h,a):null},c.names=["gauss"]},{"../common/srat":22}],46:[function(a,b,c){var d=a("../common/adjust_lon"),e=1e-10,f=a("../common/asinz");c.init=function(){this.sin_p14=Math.sin(this.lat0),this.cos_p14=Math.cos(this.lat0),this.infinity_dist=1e3*this.a,this.rc=1},c.forward=function(a){var b,c,f,g,h,i,j,k,l=a.x,m=a.y;return f=d(l-this.long0),b=Math.sin(m),c=Math.cos(m),g=Math.cos(f),i=this.sin_p14*b+this.cos_p14*c*g,h=1,i>0||Math.abs(i)<=e?(j=this.x0+this.a*h*c*Math.sin(f)/i,k=this.y0+this.a*h*(this.cos_p14*b-this.sin_p14*c*g)/i):(j=this.x0+this.infinity_dist*c*Math.sin(f),k=this.y0+this.infinity_dist*(this.cos_p14*b-this.sin_p14*c*g)),a.x=j,a.y=k,a
},c.inverse=function(a){var b,c,e,g,h,i;return a.x=(a.x-this.x0)/this.a,a.y=(a.y-this.y0)/this.a,a.x/=this.k0,a.y/=this.k0,(b=Math.sqrt(a.x*a.x+a.y*a.y))?(g=Math.atan2(b,this.rc),c=Math.sin(g),e=Math.cos(g),i=f(e*this.sin_p14+a.y*c*this.cos_p14/b),h=Math.atan2(a.x*c,b*this.cos_p14*e-a.y*this.sin_p14*c),h=d(this.long0+h)):(i=this.phic0,h=0),a.x=h,a.y=i,a},c.names=["gnom"]},{"../common/adjust_lon":5,"../common/asinz":6}],47:[function(a,b,c){var d=a("../common/adjust_lon");c.init=function(){this.a=6377397.155,this.es=.006674372230614,this.e=Math.sqrt(this.es),this.lat0||(this.lat0=.863937979737193),this.long0||(this.long0=.4334234309119251),this.k0||(this.k0=.9999),this.s45=.785398163397448,this.s90=2*this.s45,this.fi0=this.lat0,this.e2=this.es,this.e=Math.sqrt(this.e2),this.alfa=Math.sqrt(1+this.e2*Math.pow(Math.cos(this.fi0),4)/(1-this.e2)),this.uq=1.04216856380474,this.u0=Math.asin(Math.sin(this.fi0)/this.alfa),this.g=Math.pow((1+this.e*Math.sin(this.fi0))/(1-this.e*Math.sin(this.fi0)),this.alfa*this.e/2),this.k=Math.tan(this.u0/2+this.s45)/Math.pow(Math.tan(this.fi0/2+this.s45),this.alfa)*this.g,this.k1=this.k0,this.n0=this.a*Math.sqrt(1-this.e2)/(1-this.e2*Math.pow(Math.sin(this.fi0),2)),this.s0=1.37008346281555,this.n=Math.sin(this.s0),this.ro0=this.k1*this.n0/Math.tan(this.s0),this.ad=this.s90-this.uq},c.forward=function(a){var b,c,e,f,g,h,i,j=a.x,k=a.y,l=d(j-this.long0);return b=Math.pow((1+this.e*Math.sin(k))/(1-this.e*Math.sin(k)),this.alfa*this.e/2),c=2*(Math.atan(this.k*Math.pow(Math.tan(k/2+this.s45),this.alfa)/b)-this.s45),e=-l*this.alfa,f=Math.asin(Math.cos(this.ad)*Math.sin(c)+Math.sin(this.ad)*Math.cos(c)*Math.cos(e)),g=Math.asin(Math.cos(c)*Math.sin(e)/Math.cos(f)),h=this.n*g,i=this.ro0*Math.pow(Math.tan(this.s0/2+this.s45),this.n)/Math.pow(Math.tan(f/2+this.s45),this.n),a.y=i*Math.cos(h)/1,a.x=i*Math.sin(h)/1,this.czech||(a.y*=-1,a.x*=-1),a},c.inverse=function(a){var b,c,d,e,f,g,h,i,j=a.x;a.x=a.y,a.y=j,this.czech||(a.y*=-1,a.x*=-1),g=Math.sqrt(a.x*a.x+a.y*a.y),f=Math.atan2(a.y,a.x),e=f/Math.sin(this.s0),d=2*(Math.atan(Math.pow(this.ro0/g,1/this.n)*Math.tan(this.s0/2+this.s45))-this.s45),b=Math.asin(Math.cos(this.ad)*Math.sin(d)-Math.sin(this.ad)*Math.cos(d)*Math.cos(e)),c=Math.asin(Math.cos(d)*Math.sin(e)/Math.cos(b)),a.x=this.long0-c/this.alfa,h=b,i=0;var k=0;do a.y=2*(Math.atan(Math.pow(this.k,-1/this.alfa)*Math.pow(Math.tan(b/2+this.s45),1/this.alfa)*Math.pow((1+this.e*Math.sin(h))/(1-this.e*Math.sin(h)),this.e/2))-this.s45),Math.abs(h-a.y)<1e-10&&(i=1),h=a.y,k+=1;while(0===i&&15>k);return k>=15?null:a},c.names=["Krovak","krovak"]},{"../common/adjust_lon":5}],48:[function(a,b,c){var d=Math.PI/2,e=Math.PI/4,f=1e-10,g=a("../common/qsfnz"),h=a("../common/adjust_lon");c.S_POLE=1,c.N_POLE=2,c.EQUIT=3,c.OBLIQ=4,c.init=function(){var a=Math.abs(this.lat0);if(this.mode=Math.abs(a-d)<f?this.lat0<0?this.S_POLE:this.N_POLE:Math.abs(a)<f?this.EQUIT:this.OBLIQ,this.es>0){var b;switch(this.qp=g(this.e,1),this.mmf=.5/(1-this.es),this.apa=this.authset(this.es),this.mode){case this.N_POLE:this.dd=1;break;case this.S_POLE:this.dd=1;break;case this.EQUIT:this.rq=Math.sqrt(.5*this.qp),this.dd=1/this.rq,this.xmf=1,this.ymf=.5*this.qp;break;case this.OBLIQ:this.rq=Math.sqrt(.5*this.qp),b=Math.sin(this.lat0),this.sinb1=g(this.e,b)/this.qp,this.cosb1=Math.sqrt(1-this.sinb1*this.sinb1),this.dd=Math.cos(this.lat0)/(Math.sqrt(1-this.es*b*b)*this.rq*this.cosb1),this.ymf=(this.xmf=this.rq)/this.dd,this.xmf*=this.dd}}else this.mode===this.OBLIQ&&(this.sinph0=Math.sin(this.lat0),this.cosph0=Math.cos(this.lat0))},c.forward=function(a){var b,c,i,j,k,l,m,n,o,p,q=a.x,r=a.y;if(q=h(q-this.long0),this.sphere){if(k=Math.sin(r),p=Math.cos(r),i=Math.cos(q),this.mode===this.OBLIQ||this.mode===this.EQUIT){if(c=this.mode===this.EQUIT?1+p*i:1+this.sinph0*k+this.cosph0*p*i,f>=c)return null;c=Math.sqrt(2/c),b=c*p*Math.sin(q),c*=this.mode===this.EQUIT?k:this.cosph0*k-this.sinph0*p*i}else if(this.mode===this.N_POLE||this.mode===this.S_POLE){if(this.mode===this.N_POLE&&(i=-i),Math.abs(r+this.phi0)<f)return null;c=e-.5*r,c=2*(this.mode===this.S_POLE?Math.cos(c):Math.sin(c)),b=c*Math.sin(q),c*=i}}else{switch(m=0,n=0,o=0,i=Math.cos(q),j=Math.sin(q),k=Math.sin(r),l=g(this.e,k),(this.mode===this.OBLIQ||this.mode===this.EQUIT)&&(m=l/this.qp,n=Math.sqrt(1-m*m)),this.mode){case this.OBLIQ:o=1+this.sinb1*m+this.cosb1*n*i;break;case this.EQUIT:o=1+n*i;break;case this.N_POLE:o=d+r,l=this.qp-l;break;case this.S_POLE:o=r-d,l=this.qp+l}if(Math.abs(o)<f)return null;switch(this.mode){case this.OBLIQ:case this.EQUIT:o=Math.sqrt(2/o),c=this.mode===this.OBLIQ?this.ymf*o*(this.cosb1*m-this.sinb1*n*i):(o=Math.sqrt(2/(1+n*i)))*m*this.ymf,b=this.xmf*o*n*j;break;case this.N_POLE:case this.S_POLE:l>=0?(b=(o=Math.sqrt(l))*j,c=i*(this.mode===this.S_POLE?o:-o)):b=c=0}}return a.x=this.a*b+this.x0,a.y=this.a*c+this.y0,a},c.inverse=function(a){a.x-=this.x0,a.y-=this.y0;var b,c,e,g,i,j,k,l=a.x/this.a,m=a.y/this.a;if(this.sphere){var n,o=0,p=0;if(n=Math.sqrt(l*l+m*m),c=.5*n,c>1)return null;switch(c=2*Math.asin(c),(this.mode===this.OBLIQ||this.mode===this.EQUIT)&&(p=Math.sin(c),o=Math.cos(c)),this.mode){case this.EQUIT:c=Math.abs(n)<=f?0:Math.asin(m*p/n),l*=p,m=o*n;break;case this.OBLIQ:c=Math.abs(n)<=f?this.phi0:Math.asin(o*this.sinph0+m*p*this.cosph0/n),l*=p*this.cosph0,m=(o-Math.sin(c)*this.sinph0)*n;break;case this.N_POLE:m=-m,c=d-c;break;case this.S_POLE:c-=d}b=0!==m||this.mode!==this.EQUIT&&this.mode!==this.OBLIQ?Math.atan2(l,m):0}else{if(k=0,this.mode===this.OBLIQ||this.mode===this.EQUIT){if(l/=this.dd,m*=this.dd,j=Math.sqrt(l*l+m*m),f>j)return a.x=0,a.y=this.phi0,a;g=2*Math.asin(.5*j/this.rq),e=Math.cos(g),l*=g=Math.sin(g),this.mode===this.OBLIQ?(k=e*this.sinb1+m*g*this.cosb1/j,i=this.qp*k,m=j*this.cosb1*e-m*this.sinb1*g):(k=m*g/j,i=this.qp*k,m=j*e)}else if(this.mode===this.N_POLE||this.mode===this.S_POLE){if(this.mode===this.N_POLE&&(m=-m),i=l*l+m*m,!i)return a.x=0,a.y=this.phi0,a;k=1-i/this.qp,this.mode===this.S_POLE&&(k=-k)}b=Math.atan2(l,m),c=this.authlat(Math.asin(k),this.apa)}return a.x=h(this.long0+b),a.y=c,a},c.P00=.3333333333333333,c.P01=.17222222222222222,c.P02=.10257936507936508,c.P10=.06388888888888888,c.P11=.0664021164021164,c.P20=.016415012942191543,c.authset=function(a){var b,c=[];return c[0]=a*this.P00,b=a*a,c[0]+=b*this.P01,c[1]=b*this.P10,b*=a,c[0]+=b*this.P02,c[1]+=b*this.P11,c[2]=b*this.P20,c},c.authlat=function(a,b){var c=a+a;return a+b[0]*Math.sin(c)+b[1]*Math.sin(c+c)+b[2]*Math.sin(c+c+c)},c.names=["Lambert Azimuthal Equal Area","Lambert_Azimuthal_Equal_Area","laea"]},{"../common/adjust_lon":5,"../common/qsfnz":20}],49:[function(a,b,c){var d=1e-10,e=a("../common/msfnz"),f=a("../common/tsfnz"),g=Math.PI/2,h=a("../common/sign"),i=a("../common/adjust_lon"),j=a("../common/phi2z");c.init=function(){if(this.lat2||(this.lat2=this.lat1),this.k0||(this.k0=1),this.x0=this.x0||0,this.y0=this.y0||0,!(Math.abs(this.lat1+this.lat2)<d)){var a=this.b/this.a;this.e=Math.sqrt(1-a*a);var b=Math.sin(this.lat1),c=Math.cos(this.lat1),g=e(this.e,b,c),h=f(this.e,this.lat1,b),i=Math.sin(this.lat2),j=Math.cos(this.lat2),k=e(this.e,i,j),l=f(this.e,this.lat2,i),m=f(this.e,this.lat0,Math.sin(this.lat0));this.ns=Math.abs(this.lat1-this.lat2)>d?Math.log(g/k)/Math.log(h/l):b,isNaN(this.ns)&&(this.ns=b),this.f0=g/(this.ns*Math.pow(h,this.ns)),this.rh=this.a*this.f0*Math.pow(m,this.ns),this.title||(this.title="Lambert Conformal Conic")}},c.forward=function(a){var b=a.x,c=a.y;Math.abs(2*Math.abs(c)-Math.PI)<=d&&(c=h(c)*(g-2*d));var e,j,k=Math.abs(Math.abs(c)-g);if(k>d)e=f(this.e,c,Math.sin(c)),j=this.a*this.f0*Math.pow(e,this.ns);else{if(k=c*this.ns,0>=k)return null;j=0}var l=this.ns*i(b-this.long0);return a.x=this.k0*j*Math.sin(l)+this.x0,a.y=this.k0*(this.rh-j*Math.cos(l))+this.y0,a},c.inverse=function(a){var b,c,d,e,f,h=(a.x-this.x0)/this.k0,k=this.rh-(a.y-this.y0)/this.k0;this.ns>0?(b=Math.sqrt(h*h+k*k),c=1):(b=-Math.sqrt(h*h+k*k),c=-1);var l=0;if(0!==b&&(l=Math.atan2(c*h,c*k)),0!==b||this.ns>0){if(c=1/this.ns,d=Math.pow(b/(this.a*this.f0),c),e=j(this.e,d),-9999===e)return null}else e=-g;return f=i(l/this.ns+this.long0),a.x=f,a.y=e,a},c.names=["Lambert Tangential Conformal Conic Projection","Lambert_Conformal_Conic","Lambert_Conformal_Conic_2SP","lcc"]},{"../common/adjust_lon":5,"../common/msfnz":15,"../common/phi2z":16,"../common/sign":21,"../common/tsfnz":24}],50:[function(a,b,c){function d(a){return a}c.init=function(){},c.forward=d,c.inverse=d,c.names=["longlat","identity"]},{}],51:[function(a,b,c){var d=a("../common/msfnz"),e=Math.PI/2,f=1e-10,g=57.29577951308232,h=a("../common/adjust_lon"),i=Math.PI/4,j=a("../common/tsfnz"),k=a("../common/phi2z");c.init=function(){var a=this.b/this.a;this.es=1-a*a,"x0"in this||(this.x0=0),"y0"in this||(this.y0=0),this.e=Math.sqrt(this.es),this.lat_ts?this.k0=this.sphere?Math.cos(this.lat_ts):d(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts)):this.k0||(this.k0=this.k?this.k:1)},c.forward=function(a){var b=a.x,c=a.y;if(c*g>90&&-90>c*g&&b*g>180&&-180>b*g)return null;var d,k;if(Math.abs(Math.abs(c)-e)<=f)return null;if(this.sphere)d=this.x0+this.a*this.k0*h(b-this.long0),k=this.y0+this.a*this.k0*Math.log(Math.tan(i+.5*c));else{var l=Math.sin(c),m=j(this.e,c,l);d=this.x0+this.a*this.k0*h(b-this.long0),k=this.y0-this.a*this.k0*Math.log(m)}return a.x=d,a.y=k,a},c.inverse=function(a){var b,c,d=a.x-this.x0,f=a.y-this.y0;if(this.sphere)c=e-2*Math.atan(Math.exp(-f/(this.a*this.k0)));else{var g=Math.exp(-f/(this.a*this.k0));if(c=k(this.e,g),-9999===c)return null}return b=h(this.long0+d/(this.a*this.k0)),a.x=b,a.y=c,a},c.names=["Mercator","Popular Visualisation Pseudo Mercator","Mercator_1SP","Mercator_Auxiliary_Sphere","merc"]},{"../common/adjust_lon":5,"../common/msfnz":15,"../common/phi2z":16,"../common/tsfnz":24}],52:[function(a,b,c){var d=a("../common/adjust_lon");c.init=function(){},c.forward=function(a){var b=a.x,c=a.y,e=d(b-this.long0),f=this.x0+this.a*e,g=this.y0+this.a*Math.log(Math.tan(Math.PI/4+c/2.5))*1.25;return a.x=f,a.y=g,a},c.inverse=function(a){a.x-=this.x0,a.y-=this.y0;var b=d(this.long0+a.x/this.a),c=2.5*(Math.atan(Math.exp(.8*a.y/this.a))-Math.PI/4);return a.x=b,a.y=c,a},c.names=["Miller_Cylindrical","mill"]},{"../common/adjust_lon":5}],53:[function(a,b,c){var d=a("../common/adjust_lon"),e=1e-10;c.init=function(){},c.forward=function(a){for(var b=a.x,c=a.y,f=d(b-this.long0),g=c,h=Math.PI*Math.sin(c),i=0;!0;i++){var j=-(g+Math.sin(g)-h)/(1+Math.cos(g));if(g+=j,Math.abs(j)<e)break}g/=2,Math.PI/2-Math.abs(c)<e&&(f=0);var k=.900316316158*this.a*f*Math.cos(g)+this.x0,l=1.4142135623731*this.a*Math.sin(g)+this.y0;return a.x=k,a.y=l,a},c.inverse=function(a){var b,c;a.x-=this.x0,a.y-=this.y0,c=a.y/(1.4142135623731*this.a),Math.abs(c)>.999999999999&&(c=.999999999999),b=Math.asin(c);var e=d(this.long0+a.x/(.900316316158*this.a*Math.cos(b)));e<-Math.PI&&(e=-Math.PI),e>Math.PI&&(e=Math.PI),c=(2*b+Math.sin(2*b))/Math.PI,Math.abs(c)>1&&(c=1);var f=Math.asin(c);return a.x=e,a.y=f,a},c.names=["Mollweide","moll"]},{"../common/adjust_lon":5}],54:[function(a,b,c){var d=484813681109536e-20;c.iterations=1,c.init=function(){this.A=[],this.A[1]=.6399175073,this.A[2]=-.1358797613,this.A[3]=.063294409,this.A[4]=-.02526853,this.A[5]=.0117879,this.A[6]=-.0055161,this.A[7]=.0026906,this.A[8]=-.001333,this.A[9]=67e-5,this.A[10]=-34e-5,this.B_re=[],this.B_im=[],this.B_re[1]=.7557853228,this.B_im[1]=0,this.B_re[2]=.249204646,this.B_im[2]=.003371507,this.B_re[3]=-.001541739,this.B_im[3]=.04105856,this.B_re[4]=-.10162907,this.B_im[4]=.01727609,this.B_re[5]=-.26623489,this.B_im[5]=-.36249218,this.B_re[6]=-.6870983,this.B_im[6]=-1.1651967,this.C_re=[],this.C_im=[],this.C_re[1]=1.3231270439,this.C_im[1]=0,this.C_re[2]=-.577245789,this.C_im[2]=-.007809598,this.C_re[3]=.508307513,this.C_im[3]=-.112208952,this.C_re[4]=-.15094762,this.C_im[4]=.18200602,this.C_re[5]=1.01418179,this.C_im[5]=1.64497696,this.C_re[6]=1.9660549,this.C_im[6]=2.5127645,this.D=[],this.D[1]=1.5627014243,this.D[2]=.5185406398,this.D[3]=-.03333098,this.D[4]=-.1052906,this.D[5]=-.0368594,this.D[6]=.007317,this.D[7]=.0122,this.D[8]=.00394,this.D[9]=-.0013},c.forward=function(a){var b,c=a.x,e=a.y,f=e-this.lat0,g=c-this.long0,h=f/d*1e-5,i=g,j=1,k=0;for(b=1;10>=b;b++)j*=h,k+=this.A[b]*j;var l,m,n=k,o=i,p=1,q=0,r=0,s=0;for(b=1;6>=b;b++)l=p*n-q*o,m=q*n+p*o,p=l,q=m,r=r+this.B_re[b]*p-this.B_im[b]*q,s=s+this.B_im[b]*p+this.B_re[b]*q;return a.x=s*this.a+this.x0,a.y=r*this.a+this.y0,a},c.inverse=function(a){var b,c,e,f=a.x,g=a.y,h=f-this.x0,i=g-this.y0,j=i/this.a,k=h/this.a,l=1,m=0,n=0,o=0;for(b=1;6>=b;b++)c=l*j-m*k,e=m*j+l*k,l=c,m=e,n=n+this.C_re[b]*l-this.C_im[b]*m,o=o+this.C_im[b]*l+this.C_re[b]*m;for(var p=0;p<this.iterations;p++){var q,r,s=n,t=o,u=j,v=k;for(b=2;6>=b;b++)q=s*n-t*o,r=t*n+s*o,s=q,t=r,u+=(b-1)*(this.B_re[b]*s-this.B_im[b]*t),v+=(b-1)*(this.B_im[b]*s+this.B_re[b]*t);s=1,t=0;var w=this.B_re[1],x=this.B_im[1];for(b=2;6>=b;b++)q=s*n-t*o,r=t*n+s*o,s=q,t=r,w+=b*(this.B_re[b]*s-this.B_im[b]*t),x+=b*(this.B_im[b]*s+this.B_re[b]*t);var y=w*w+x*x;n=(u*w+v*x)/y,o=(v*w-u*x)/y}var z=n,A=o,B=1,C=0;for(b=1;9>=b;b++)B*=z,C+=this.D[b]*B;var D=this.lat0+C*d*1e5,E=this.long0+A;return a.x=E,a.y=D,a},c.names=["New_Zealand_Map_Grid","nzmg"]},{}],55:[function(a,b,c){var d=a("../common/tsfnz"),e=a("../common/adjust_lon"),f=a("../common/phi2z"),g=Math.PI/2,h=Math.PI/4,i=1e-10;c.init=function(){this.no_off=this.no_off||!1,this.no_rot=this.no_rot||!1,isNaN(this.k0)&&(this.k0=1);var a=Math.sin(this.lat0),b=Math.cos(this.lat0),c=this.e*a;this.bl=Math.sqrt(1+this.es/(1-this.es)*Math.pow(b,4)),this.al=this.a*this.bl*this.k0*Math.sqrt(1-this.es)/(1-c*c);var f=d(this.e,this.lat0,a),g=this.bl/b*Math.sqrt((1-this.es)/(1-c*c));1>g*g&&(g=1);var h,i;if(isNaN(this.longc)){var j=d(this.e,this.lat1,Math.sin(this.lat1)),k=d(this.e,this.lat2,Math.sin(this.lat2));this.el=this.lat0>=0?(g+Math.sqrt(g*g-1))*Math.pow(f,this.bl):(g-Math.sqrt(g*g-1))*Math.pow(f,this.bl);var l=Math.pow(j,this.bl),m=Math.pow(k,this.bl);h=this.el/l,i=.5*(h-1/h);var n=(this.el*this.el-m*l)/(this.el*this.el+m*l),o=(m-l)/(m+l),p=e(this.long1-this.long2);this.long0=.5*(this.long1+this.long2)-Math.atan(n*Math.tan(.5*this.bl*p)/o)/this.bl,this.long0=e(this.long0);var q=e(this.long1-this.long0);this.gamma0=Math.atan(Math.sin(this.bl*q)/i),this.alpha=Math.asin(g*Math.sin(this.gamma0))}else h=this.lat0>=0?g+Math.sqrt(g*g-1):g-Math.sqrt(g*g-1),this.el=h*Math.pow(f,this.bl),i=.5*(h-1/h),this.gamma0=Math.asin(Math.sin(this.alpha)/g),this.long0=this.longc-Math.asin(i*Math.tan(this.gamma0))/this.bl;this.uc=this.no_off?0:this.lat0>=0?this.al/this.bl*Math.atan2(Math.sqrt(g*g-1),Math.cos(this.alpha)):-1*this.al/this.bl*Math.atan2(Math.sqrt(g*g-1),Math.cos(this.alpha))},c.forward=function(a){var b,c,f,j=a.x,k=a.y,l=e(j-this.long0);if(Math.abs(Math.abs(k)-g)<=i)f=k>0?-1:1,c=this.al/this.bl*Math.log(Math.tan(h+f*this.gamma0*.5)),b=-1*f*g*this.al/this.bl;else{var m=d(this.e,k,Math.sin(k)),n=this.el/Math.pow(m,this.bl),o=.5*(n-1/n),p=.5*(n+1/n),q=Math.sin(this.bl*l),r=(o*Math.sin(this.gamma0)-q*Math.cos(this.gamma0))/p;c=Math.abs(Math.abs(r)-1)<=i?Number.POSITIVE_INFINITY:.5*this.al*Math.log((1-r)/(1+r))/this.bl,b=Math.abs(Math.cos(this.bl*l))<=i?this.al*this.bl*l:this.al*Math.atan2(o*Math.cos(this.gamma0)+q*Math.sin(this.gamma0),Math.cos(this.bl*l))/this.bl}return this.no_rot?(a.x=this.x0+b,a.y=this.y0+c):(b-=this.uc,a.x=this.x0+c*Math.cos(this.alpha)+b*Math.sin(this.alpha),a.y=this.y0+b*Math.cos(this.alpha)-c*Math.sin(this.alpha)),a},c.inverse=function(a){var b,c;this.no_rot?(c=a.y-this.y0,b=a.x-this.x0):(c=(a.x-this.x0)*Math.cos(this.alpha)-(a.y-this.y0)*Math.sin(this.alpha),b=(a.y-this.y0)*Math.cos(this.alpha)+(a.x-this.x0)*Math.sin(this.alpha),b+=this.uc);var d=Math.exp(-1*this.bl*c/this.al),h=.5*(d-1/d),j=.5*(d+1/d),k=Math.sin(this.bl*b/this.al),l=(k*Math.cos(this.gamma0)+h*Math.sin(this.gamma0))/j,m=Math.pow(this.el/Math.sqrt((1+l)/(1-l)),1/this.bl);return Math.abs(l-1)<i?(a.x=this.long0,a.y=g):Math.abs(l+1)<i?(a.x=this.long0,a.y=-1*g):(a.y=f(this.e,m),a.x=e(this.long0-Math.atan2(h*Math.cos(this.gamma0)-k*Math.sin(this.gamma0),Math.cos(this.bl*b/this.al))/this.bl)),a},c.names=["Hotine_Oblique_Mercator","Hotine Oblique Mercator","Hotine_Oblique_Mercator_Azimuth_Natural_Origin","Hotine_Oblique_Mercator_Azimuth_Center","omerc"]},{"../common/adjust_lon":5,"../common/phi2z":16,"../common/tsfnz":24}],56:[function(a,b,c){var d=a("../common/e0fn"),e=a("../common/e1fn"),f=a("../common/e2fn"),g=a("../common/e3fn"),h=a("../common/adjust_lon"),i=a("../common/adjust_lat"),j=a("../common/mlfn"),k=1e-10,l=a("../common/gN"),m=20;c.init=function(){this.temp=this.b/this.a,this.es=1-Math.pow(this.temp,2),this.e=Math.sqrt(this.es),this.e0=d(this.es),this.e1=e(this.es),this.e2=f(this.es),this.e3=g(this.es),this.ml0=this.a*j(this.e0,this.e1,this.e2,this.e3,this.lat0)},c.forward=function(a){var b,c,d,e=a.x,f=a.y,g=h(e-this.long0);if(d=g*Math.sin(f),this.sphere)Math.abs(f)<=k?(b=this.a*g,c=-1*this.a*this.lat0):(b=this.a*Math.sin(d)/Math.tan(f),c=this.a*(i(f-this.lat0)+(1-Math.cos(d))/Math.tan(f)));else if(Math.abs(f)<=k)b=this.a*g,c=-1*this.ml0;else{var m=l(this.a,this.e,Math.sin(f))/Math.tan(f);b=m*Math.sin(d),c=this.a*j(this.e0,this.e1,this.e2,this.e3,f)-this.ml0+m*(1-Math.cos(d))}return a.x=b+this.x0,a.y=c+this.y0,a},c.inverse=function(a){var b,c,d,e,f,g,i,l,n;if(d=a.x-this.x0,e=a.y-this.y0,this.sphere)if(Math.abs(e+this.a*this.lat0)<=k)b=h(d/this.a+this.long0),c=0;else{g=this.lat0+e/this.a,i=d*d/this.a/this.a+g*g,l=g;var o;for(f=m;f;--f)if(o=Math.tan(l),n=-1*(g*(l*o+1)-l-.5*(l*l+i)*o)/((l-g)/o-1),l+=n,Math.abs(n)<=k){c=l;break}b=h(this.long0+Math.asin(d*Math.tan(l)/this.a)/Math.sin(c))}else if(Math.abs(e+this.ml0)<=k)c=0,b=h(this.long0+d/this.a);else{g=(this.ml0+e)/this.a,i=d*d/this.a/this.a+g*g,l=g;var p,q,r,s,t;for(f=m;f;--f)if(t=this.e*Math.sin(l),p=Math.sqrt(1-t*t)*Math.tan(l),q=this.a*j(this.e0,this.e1,this.e2,this.e3,l),r=this.e0-2*this.e1*Math.cos(2*l)+4*this.e2*Math.cos(4*l)-6*this.e3*Math.cos(6*l),s=q/this.a,n=(g*(p*s+1)-s-.5*p*(s*s+i))/(this.es*Math.sin(2*l)*(s*s+i-2*g*s)/(4*p)+(g-s)*(p*r-2/Math.sin(2*l))-r),l-=n,Math.abs(n)<=k){c=l;break}p=Math.sqrt(1-this.es*Math.pow(Math.sin(c),2))*Math.tan(c),b=h(this.long0+Math.asin(d*p/this.a)/Math.sin(c))}return a.x=b,a.y=c,a},c.names=["Polyconic","poly"]},{"../common/adjust_lat":4,"../common/adjust_lon":5,"../common/e0fn":7,"../common/e1fn":8,"../common/e2fn":9,"../common/e3fn":10,"../common/gN":11,"../common/mlfn":14}],57:[function(a,b,c){var d=a("../common/adjust_lon"),e=a("../common/adjust_lat"),f=a("../common/pj_enfn"),g=20,h=a("../common/pj_mlfn"),i=a("../common/pj_inv_mlfn"),j=Math.PI/2,k=1e-10,l=a("../common/asinz");c.init=function(){this.sphere?(this.n=1,this.m=0,this.es=0,this.C_y=Math.sqrt((this.m+1)/this.n),this.C_x=this.C_y/(this.m+1)):this.en=f(this.es)},c.forward=function(a){var b,c,e=a.x,f=a.y;if(e=d(e-this.long0),this.sphere){if(this.m)for(var i=this.n*Math.sin(f),j=g;j;--j){var l=(this.m*f+Math.sin(f)-i)/(this.m+Math.cos(f));if(f-=l,Math.abs(l)<k)break}else f=1!==this.n?Math.asin(this.n*Math.sin(f)):f;b=this.a*this.C_x*e*(this.m+Math.cos(f)),c=this.a*this.C_y*f}else{var m=Math.sin(f),n=Math.cos(f);c=this.a*h(f,m,n,this.en),b=this.a*e*n/Math.sqrt(1-this.es*m*m)}return a.x=b,a.y=c,a},c.inverse=function(a){var b,c,f,g;return a.x-=this.x0,f=a.x/this.a,a.y-=this.y0,b=a.y/this.a,this.sphere?(b/=this.C_y,f/=this.C_x*(this.m+Math.cos(b)),this.m?b=l((this.m*b+Math.sin(b))/this.n):1!==this.n&&(b=l(Math.sin(b)/this.n)),f=d(f+this.long0),b=e(b)):(b=i(a.y/this.a,this.es,this.en),g=Math.abs(b),j>g?(g=Math.sin(b),c=this.long0+a.x*Math.sqrt(1-this.es*g*g)/(this.a*Math.cos(b)),f=d(c)):j>g-k&&(f=this.long0)),a.x=f,a.y=b,a},c.names=["Sinusoidal","sinu"]},{"../common/adjust_lat":4,"../common/adjust_lon":5,"../common/asinz":6,"../common/pj_enfn":17,"../common/pj_inv_mlfn":18,"../common/pj_mlfn":19}],58:[function(a,b,c){c.init=function(){var a=this.lat0;this.lambda0=this.long0;var b=Math.sin(a),c=this.a,d=this.rf,e=1/d,f=2*e-Math.pow(e,2),g=this.e=Math.sqrt(f);this.R=this.k0*c*Math.sqrt(1-f)/(1-f*Math.pow(b,2)),this.alpha=Math.sqrt(1+f/(1-f)*Math.pow(Math.cos(a),4)),this.b0=Math.asin(b/this.alpha);var h=Math.log(Math.tan(Math.PI/4+this.b0/2)),i=Math.log(Math.tan(Math.PI/4+a/2)),j=Math.log((1+g*b)/(1-g*b));this.K=h-this.alpha*i+this.alpha*g/2*j},c.forward=function(a){var b=Math.log(Math.tan(Math.PI/4-a.y/2)),c=this.e/2*Math.log((1+this.e*Math.sin(a.y))/(1-this.e*Math.sin(a.y))),d=-this.alpha*(b+c)+this.K,e=2*(Math.atan(Math.exp(d))-Math.PI/4),f=this.alpha*(a.x-this.lambda0),g=Math.atan(Math.sin(f)/(Math.sin(this.b0)*Math.tan(e)+Math.cos(this.b0)*Math.cos(f))),h=Math.asin(Math.cos(this.b0)*Math.sin(e)-Math.sin(this.b0)*Math.cos(e)*Math.cos(f));return a.y=this.R/2*Math.log((1+Math.sin(h))/(1-Math.sin(h)))+this.y0,a.x=this.R*g+this.x0,a},c.inverse=function(a){for(var b=a.x-this.x0,c=a.y-this.y0,d=b/this.R,e=2*(Math.atan(Math.exp(c/this.R))-Math.PI/4),f=Math.asin(Math.cos(this.b0)*Math.sin(e)+Math.sin(this.b0)*Math.cos(e)*Math.cos(d)),g=Math.atan(Math.sin(d)/(Math.cos(this.b0)*Math.cos(d)-Math.sin(this.b0)*Math.tan(e))),h=this.lambda0+g/this.alpha,i=0,j=f,k=-1e3,l=0;Math.abs(j-k)>1e-7;){if(++l>20)return;i=1/this.alpha*(Math.log(Math.tan(Math.PI/4+f/2))-this.K)+this.e*Math.log(Math.tan(Math.PI/4+Math.asin(this.e*Math.sin(j))/2)),k=j,j=2*Math.atan(Math.exp(i))-Math.PI/2}return a.x=h,a.y=j,a},c.names=["somerc"]},{}],59:[function(a,b,c){var d=Math.PI/2,e=1e-10,f=a("../common/sign"),g=a("../common/msfnz"),h=a("../common/tsfnz"),i=a("../common/phi2z"),j=a("../common/adjust_lon");c.ssfn_=function(a,b,c){return b*=c,Math.tan(.5*(d+a))*Math.pow((1-b)/(1+b),.5*c)},c.init=function(){this.coslat0=Math.cos(this.lat0),this.sinlat0=Math.sin(this.lat0),this.sphere?1===this.k0&&!isNaN(this.lat_ts)&&Math.abs(this.coslat0)<=e&&(this.k0=.5*(1+f(this.lat0)*Math.sin(this.lat_ts))):(Math.abs(this.coslat0)<=e&&(this.con=this.lat0>0?1:-1),this.cons=Math.sqrt(Math.pow(1+this.e,1+this.e)*Math.pow(1-this.e,1-this.e)),1===this.k0&&!isNaN(this.lat_ts)&&Math.abs(this.coslat0)<=e&&(this.k0=.5*this.cons*g(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts))/h(this.e,this.con*this.lat_ts,this.con*Math.sin(this.lat_ts))),this.ms1=g(this.e,this.sinlat0,this.coslat0),this.X0=2*Math.atan(this.ssfn_(this.lat0,this.sinlat0,this.e))-d,this.cosX0=Math.cos(this.X0),this.sinX0=Math.sin(this.X0))},c.forward=function(a){var b,c,f,g,i,k,l=a.x,m=a.y,n=Math.sin(m),o=Math.cos(m),p=j(l-this.long0);return Math.abs(Math.abs(l-this.long0)-Math.PI)<=e&&Math.abs(m+this.lat0)<=e?(a.x=0/0,a.y=0/0,a):this.sphere?(b=2*this.k0/(1+this.sinlat0*n+this.coslat0*o*Math.cos(p)),a.x=this.a*b*o*Math.sin(p)+this.x0,a.y=this.a*b*(this.coslat0*n-this.sinlat0*o*Math.cos(p))+this.y0,a):(c=2*Math.atan(this.ssfn_(m,n,this.e))-d,g=Math.cos(c),f=Math.sin(c),Math.abs(this.coslat0)<=e?(i=h(this.e,m*this.con,this.con*n),k=2*this.a*this.k0*i/this.cons,a.x=this.x0+k*Math.sin(l-this.long0),a.y=this.y0-this.con*k*Math.cos(l-this.long0),a):(Math.abs(this.sinlat0)<e?(b=2*this.a*this.k0/(1+g*Math.cos(p)),a.y=b*f):(b=2*this.a*this.k0*this.ms1/(this.cosX0*(1+this.sinX0*f+this.cosX0*g*Math.cos(p))),a.y=b*(this.cosX0*f-this.sinX0*g*Math.cos(p))+this.y0),a.x=b*g*Math.sin(p)+this.x0,a))},c.inverse=function(a){a.x-=this.x0,a.y-=this.y0;var b,c,f,g,h,k=Math.sqrt(a.x*a.x+a.y*a.y);if(this.sphere){var l=2*Math.atan(k/(.5*this.a*this.k0));return b=this.long0,c=this.lat0,e>=k?(a.x=b,a.y=c,a):(c=Math.asin(Math.cos(l)*this.sinlat0+a.y*Math.sin(l)*this.coslat0/k),b=j(Math.abs(this.coslat0)<e?this.lat0>0?this.long0+Math.atan2(a.x,-1*a.y):this.long0+Math.atan2(a.x,a.y):this.long0+Math.atan2(a.x*Math.sin(l),k*this.coslat0*Math.cos(l)-a.y*this.sinlat0*Math.sin(l))),a.x=b,a.y=c,a)}if(Math.abs(this.coslat0)<=e){if(e>=k)return c=this.lat0,b=this.long0,a.x=b,a.y=c,a;a.x*=this.con,a.y*=this.con,f=k*this.cons/(2*this.a*this.k0),c=this.con*i(this.e,f),b=this.con*j(this.con*this.long0+Math.atan2(a.x,-1*a.y))}else g=2*Math.atan(k*this.cosX0/(2*this.a*this.k0*this.ms1)),b=this.long0,e>=k?h=this.X0:(h=Math.asin(Math.cos(g)*this.sinX0+a.y*Math.sin(g)*this.cosX0/k),b=j(this.long0+Math.atan2(a.x*Math.sin(g),k*this.cosX0*Math.cos(g)-a.y*this.sinX0*Math.sin(g)))),c=-1*i(this.e,Math.tan(.5*(d+h)));return a.x=b,a.y=c,a},c.names=["stere"]},{"../common/adjust_lon":5,"../common/msfnz":15,"../common/phi2z":16,"../common/sign":21,"../common/tsfnz":24}],60:[function(a,b,c){var d=a("./gauss"),e=a("../common/adjust_lon");c.init=function(){d.init.apply(this),this.rc&&(this.sinc0=Math.sin(this.phic0),this.cosc0=Math.cos(this.phic0),this.R2=2*this.rc,this.title||(this.title="Oblique Stereographic Alternative"))},c.forward=function(a){var b,c,f,g;return a.x=e(a.x-this.long0),d.forward.apply(this,[a]),b=Math.sin(a.y),c=Math.cos(a.y),f=Math.cos(a.x),g=this.k0*this.R2/(1+this.sinc0*b+this.cosc0*c*f),a.x=g*c*Math.sin(a.x),a.y=g*(this.cosc0*b-this.sinc0*c*f),a.x=this.a*a.x+this.x0,a.y=this.a*a.y+this.y0,a},c.inverse=function(a){var b,c,f,g,h;if(a.x=(a.x-this.x0)/this.a,a.y=(a.y-this.y0)/this.a,a.x/=this.k0,a.y/=this.k0,h=Math.sqrt(a.x*a.x+a.y*a.y)){var i=2*Math.atan2(h,this.R2);b=Math.sin(i),c=Math.cos(i),g=Math.asin(c*this.sinc0+a.y*b*this.cosc0/h),f=Math.atan2(a.x*b,h*this.cosc0*c-a.y*this.sinc0*b)}else g=this.phic0,f=0;return a.x=f,a.y=g,d.inverse.apply(this,[a]),a.x=e(a.x+this.long0),a},c.names=["Stereographic_North_Pole","Oblique_Stereographic","Polar_Stereographic","sterea","Oblique Stereographic Alternative"]},{"../common/adjust_lon":5,"./gauss":45}],61:[function(a,b,c){var d=a("../common/e0fn"),e=a("../common/e1fn"),f=a("../common/e2fn"),g=a("../common/e3fn"),h=a("../common/mlfn"),i=a("../common/adjust_lon"),j=Math.PI/2,k=1e-10,l=a("../common/sign"),m=a("../common/asinz");c.init=function(){this.e0=d(this.es),this.e1=e(this.es),this.e2=f(this.es),this.e3=g(this.es),this.ml0=this.a*h(this.e0,this.e1,this.e2,this.e3,this.lat0)},c.forward=function(a){var b,c,d,e=a.x,f=a.y,g=i(e-this.long0),j=Math.sin(f),k=Math.cos(f);if(this.sphere){var l=k*Math.sin(g);if(Math.abs(Math.abs(l)-1)<1e-10)return 93;c=.5*this.a*this.k0*Math.log((1+l)/(1-l)),b=Math.acos(k*Math.cos(g)/Math.sqrt(1-l*l)),0>f&&(b=-b),d=this.a*this.k0*(b-this.lat0)}else{var m=k*g,n=Math.pow(m,2),o=this.ep2*Math.pow(k,2),p=Math.tan(f),q=Math.pow(p,2);b=1-this.es*Math.pow(j,2);var r=this.a/Math.sqrt(b),s=this.a*h(this.e0,this.e1,this.e2,this.e3,f);c=this.k0*r*m*(1+n/6*(1-q+o+n/20*(5-18*q+Math.pow(q,2)+72*o-58*this.ep2)))+this.x0,d=this.k0*(s-this.ml0+r*p*n*(.5+n/24*(5-q+9*o+4*Math.pow(o,2)+n/30*(61-58*q+Math.pow(q,2)+600*o-330*this.ep2))))+this.y0}return a.x=c,a.y=d,a},c.inverse=function(a){var b,c,d,e,f,g,h=6;if(this.sphere){var n=Math.exp(a.x/(this.a*this.k0)),o=.5*(n-1/n),p=this.lat0+a.y/(this.a*this.k0),q=Math.cos(p);b=Math.sqrt((1-q*q)/(1+o*o)),f=m(b),0>p&&(f=-f),g=0===o&&0===q?this.long0:i(Math.atan2(o,q)+this.long0)}else{var r=a.x-this.x0,s=a.y-this.y0;for(b=(this.ml0+s/this.k0)/this.a,c=b,e=0;!0&&(d=(b+this.e1*Math.sin(2*c)-this.e2*Math.sin(4*c)+this.e3*Math.sin(6*c))/this.e0-c,c+=d,!(Math.abs(d)<=k));e++)if(e>=h)return 95;if(Math.abs(c)<j){var t=Math.sin(c),u=Math.cos(c),v=Math.tan(c),w=this.ep2*Math.pow(u,2),x=Math.pow(w,2),y=Math.pow(v,2),z=Math.pow(y,2);b=1-this.es*Math.pow(t,2);var A=this.a/Math.sqrt(b),B=A*(1-this.es)/b,C=r/(A*this.k0),D=Math.pow(C,2);f=c-A*v*D/B*(.5-D/24*(5+3*y+10*w-4*x-9*this.ep2-D/30*(61+90*y+298*w+45*z-252*this.ep2-3*x))),g=i(this.long0+C*(1-D/6*(1+2*y+w-D/20*(5-2*w+28*y-3*x+8*this.ep2+24*z)))/u)}else f=j*l(s),g=this.long0}return a.x=g,a.y=f,a},c.names=["Transverse_Mercator","Transverse Mercator","tmerc"]},{"../common/adjust_lon":5,"../common/asinz":6,"../common/e0fn":7,"../common/e1fn":8,"../common/e2fn":9,"../common/e3fn":10,"../common/mlfn":14,"../common/sign":21}],62:[function(a,b,c){var d=.017453292519943295,e=a("./tmerc");c.dependsOn="tmerc",c.init=function(){this.zone&&(this.lat0=0,this.long0=(6*Math.abs(this.zone)-183)*d,this.x0=5e5,this.y0=this.utmSouth?1e7:0,this.k0=.9996,e.init.apply(this),this.forward=e.forward,this.inverse=e.inverse)},c.names=["Universal Transverse Mercator System","utm"]},{"./tmerc":61}],63:[function(a,b,c){var d=a("../common/adjust_lon"),e=Math.PI/2,f=1e-10,g=a("../common/asinz");c.init=function(){this.R=this.a},c.forward=function(a){var b,c,h=a.x,i=a.y,j=d(h-this.long0);Math.abs(i)<=f&&(b=this.x0+this.R*j,c=this.y0);var k=g(2*Math.abs(i/Math.PI));(Math.abs(j)<=f||Math.abs(Math.abs(i)-e)<=f)&&(b=this.x0,c=i>=0?this.y0+Math.PI*this.R*Math.tan(.5*k):this.y0+Math.PI*this.R*-Math.tan(.5*k));var l=.5*Math.abs(Math.PI/j-j/Math.PI),m=l*l,n=Math.sin(k),o=Math.cos(k),p=o/(n+o-1),q=p*p,r=p*(2/n-1),s=r*r,t=Math.PI*this.R*(l*(p-s)+Math.sqrt(m*(p-s)*(p-s)-(s+m)*(q-s)))/(s+m);0>j&&(t=-t),b=this.x0+t;var u=m+p;return t=Math.PI*this.R*(r*u-l*Math.sqrt((s+m)*(m+1)-u*u))/(s+m),c=i>=0?this.y0+t:this.y0-t,a.x=b,a.y=c,a},c.inverse=function(a){var b,c,e,g,h,i,j,k,l,m,n,o,p;return a.x-=this.x0,a.y-=this.y0,n=Math.PI*this.R,e=a.x/n,g=a.y/n,h=e*e+g*g,i=-Math.abs(g)*(1+h),j=i-2*g*g+e*e,k=-2*i+1+2*g*g+h*h,p=g*g/k+(2*j*j*j/k/k/k-9*i*j/k/k)/27,l=(i-j*j/3/k)/k,m=2*Math.sqrt(-l/3),n=3*p/l/m,Math.abs(n)>1&&(n=n>=0?1:-1),o=Math.acos(n)/3,c=a.y>=0?(-m*Math.cos(o+Math.PI/3)-j/3/k)*Math.PI:-(-m*Math.cos(o+Math.PI/3)-j/3/k)*Math.PI,b=Math.abs(e)<f?this.long0:d(this.long0+Math.PI*(h-1+Math.sqrt(1+2*(e*e-g*g)+h*h))/2/e),a.x=b,a.y=c,a},c.names=["Van_der_Grinten_I","VanDerGrinten","vandg"]},{"../common/adjust_lon":5,"../common/asinz":6}],64:[function(a,b){var c=.017453292519943295,d=57.29577951308232,e=1,f=2,g=a("./datum_transform"),h=a("./adjust_axis"),i=a("./Proj"),j=a("./common/toPoint");b.exports=function k(a,b,l){function m(a,b){return(a.datum.datum_type===e||a.datum.datum_type===f)&&"WGS84"!==b.datumCode}var n;return Array.isArray(l)&&(l=j(l)),a.datum&&b.datum&&(m(a,b)||m(b,a))&&(n=new i("WGS84"),k(a,n,l),a=n),"enu"!==a.axis&&h(a,!1,l),"longlat"===a.projName?(l.x*=c,l.y*=c):(a.to_meter&&(l.x*=a.to_meter,l.y*=a.to_meter),a.inverse(l)),a.from_greenwich&&(l.x+=a.from_greenwich),l=g(a.datum,b.datum,l),b.from_greenwich&&(l.x-=b.from_greenwich),"longlat"===b.projName?(l.x*=d,l.y*=d):(b.forward(l),b.to_meter&&(l.x/=b.to_meter,l.y/=b.to_meter)),"enu"!==b.axis&&h(b,!0,l),l}},{"./Proj":2,"./adjust_axis":3,"./common/toPoint":23,"./datum_transform":30}],65:[function(a,b){function c(a,b,c){a[b]=c.map(function(a){var b={};return d(a,b),b}).reduce(function(a,b){return i(a,b)},{})}function d(a,b){var e;return Array.isArray(a)?(e=a.shift(),"PARAMETER"===e&&(e=a.shift()),1===a.length?Array.isArray(a[0])?(b[e]={},d(a[0],b[e])):b[e]=a[0]:a.length?"TOWGS84"===e?b[e]=a:(b[e]={},["UNIT","PRIMEM","VERT_DATUM"].indexOf(e)>-1?(b[e]={name:a[0].toLowerCase(),convert:a[1]},3===a.length&&(b[e].auth=a[2])):"SPHEROID"===e?(b[e]={name:a[0],a:a[1],rf:a[2]},4===a.length&&(b[e].auth=a[3])):["GEOGCS","GEOCCS","DATUM","VERT_CS","COMPD_CS","LOCAL_CS","FITTED_CS","LOCAL_DATUM"].indexOf(e)>-1?(a[0]=["name",a[0]],c(b,e,a)):a.every(function(a){return Array.isArray(a)})?c(b,e,a):d(a,b[e])):b[e]=!0,void 0):void(b[a]=!0)}function e(a,b){var c=b[0],d=b[1];!(c in a)&&d in a&&(a[c]=a[d],3===b.length&&(a[c]=b[2](a[c])))}function f(a){return a*h}function g(a){function b(b){var c=a.to_meter||1;return parseFloat(b,10)*c}"GEOGCS"===a.type?a.projName="longlat":"LOCAL_CS"===a.type?(a.projName="identity",a.local=!0):a.projName="object"==typeof a.PROJECTION?Object.keys(a.PROJECTION)[0]:a.PROJECTION,a.UNIT&&(a.units=a.UNIT.name.toLowerCase(),"metre"===a.units&&(a.units="meter"),a.UNIT.convert&&(a.to_meter=parseFloat(a.UNIT.convert,10))),a.GEOGCS&&(a.datumCode=a.GEOGCS.DATUM?a.GEOGCS.DATUM.name.toLowerCase():a.GEOGCS.name.toLowerCase(),"d_"===a.datumCode.slice(0,2)&&(a.datumCode=a.datumCode.slice(2)),("new_zealand_geodetic_datum_1949"===a.datumCode||"new_zealand_1949"===a.datumCode)&&(a.datumCode="nzgd49"),"wgs_1984"===a.datumCode&&("Mercator_Auxiliary_Sphere"===a.PROJECTION&&(a.sphere=!0),a.datumCode="wgs84"),"_ferro"===a.datumCode.slice(-6)&&(a.datumCode=a.datumCode.slice(0,-6)),"_jakarta"===a.datumCode.slice(-8)&&(a.datumCode=a.datumCode.slice(0,-8)),~a.datumCode.indexOf("belge")&&(a.datumCode="rnb72"),a.GEOGCS.DATUM&&a.GEOGCS.DATUM.SPHEROID&&(a.ellps=a.GEOGCS.DATUM.SPHEROID.name.replace("_19","").replace(/[Cc]larke\_18/,"clrk"),"international"===a.ellps.toLowerCase().slice(0,13)&&(a.ellps="intl"),a.a=a.GEOGCS.DATUM.SPHEROID.a,a.rf=parseFloat(a.GEOGCS.DATUM.SPHEROID.rf,10)),~a.datumCode.indexOf("osgb_1936")&&(a.datumCode="osgb36")),a.b&&!isFinite(a.b)&&(a.b=a.a);
var c=function(b){return e(a,b)},d=[["standard_parallel_1","Standard_Parallel_1"],["standard_parallel_2","Standard_Parallel_2"],["false_easting","False_Easting"],["false_northing","False_Northing"],["central_meridian","Central_Meridian"],["latitude_of_origin","Latitude_Of_Origin"],["scale_factor","Scale_Factor"],["k0","scale_factor"],["latitude_of_center","Latitude_of_center"],["lat0","latitude_of_center",f],["longitude_of_center","Longitude_Of_Center"],["longc","longitude_of_center",f],["x0","false_easting",b],["y0","false_northing",b],["long0","central_meridian",f],["lat0","latitude_of_origin",f],["lat0","standard_parallel_1",f],["lat1","standard_parallel_1",f],["lat2","standard_parallel_2",f],["alpha","azimuth",f],["srsCode","name"]];d.forEach(c),a.long0||!a.longc||"Albers_Conic_Equal_Area"!==a.PROJECTION&&"Lambert_Azimuthal_Equal_Area"!==a.PROJECTION||(a.long0=a.longc)}var h=.017453292519943295,i=a("./extend");b.exports=function(a,b){var c=JSON.parse((","+a).replace(/\s*\,\s*([A-Z_0-9]+?)(\[)/g,',["$1",').slice(1).replace(/\s*\,\s*([A-Z_0-9]+?)\]/g,',"$1"]')),e=c.shift(),f=c.shift();c.unshift(["name",f]),c.unshift(["type",e]),c.unshift("output");var h={};return d(c,h),g(h.output),i(b,h.output)}},{"./extend":33}],66:[function(a,b,c){function d(a){return a*(Math.PI/180)}function e(a){return 180*(a/Math.PI)}function f(a){var b,c,e,f,g,i,j,k,l,m=a.lat,n=a.lon,o=6378137,p=.00669438,q=.9996,r=d(m),s=d(n);l=Math.floor((n+180)/6)+1,180===n&&(l=60),m>=56&&64>m&&n>=3&&12>n&&(l=32),m>=72&&84>m&&(n>=0&&9>n?l=31:n>=9&&21>n?l=33:n>=21&&33>n?l=35:n>=33&&42>n&&(l=37)),b=6*(l-1)-180+3,k=d(b),c=p/(1-p),e=o/Math.sqrt(1-p*Math.sin(r)*Math.sin(r)),f=Math.tan(r)*Math.tan(r),g=c*Math.cos(r)*Math.cos(r),i=Math.cos(r)*(s-k),j=o*((1-p/4-3*p*p/64-5*p*p*p/256)*r-(3*p/8+3*p*p/32+45*p*p*p/1024)*Math.sin(2*r)+(15*p*p/256+45*p*p*p/1024)*Math.sin(4*r)-35*p*p*p/3072*Math.sin(6*r));var t=q*e*(i+(1-f+g)*i*i*i/6+(5-18*f+f*f+72*g-58*c)*i*i*i*i*i/120)+5e5,u=q*(j+e*Math.tan(r)*(i*i/2+(5-f+9*g+4*g*g)*i*i*i*i/24+(61-58*f+f*f+600*g-330*c)*i*i*i*i*i*i/720));return 0>m&&(u+=1e7),{northing:Math.round(u),easting:Math.round(t),zoneNumber:l,zoneLetter:h(m)}}function g(a){var b=a.northing,c=a.easting,d=a.zoneLetter,f=a.zoneNumber;if(0>f||f>60)return null;var h,i,j,k,l,m,n,o,p,q,r=.9996,s=6378137,t=.00669438,u=(1-Math.sqrt(1-t))/(1+Math.sqrt(1-t)),v=c-5e5,w=b;"N">d&&(w-=1e7),o=6*(f-1)-180+3,h=t/(1-t),n=w/r,p=n/(s*(1-t/4-3*t*t/64-5*t*t*t/256)),q=p+(3*u/2-27*u*u*u/32)*Math.sin(2*p)+(21*u*u/16-55*u*u*u*u/32)*Math.sin(4*p)+151*u*u*u/96*Math.sin(6*p),i=s/Math.sqrt(1-t*Math.sin(q)*Math.sin(q)),j=Math.tan(q)*Math.tan(q),k=h*Math.cos(q)*Math.cos(q),l=s*(1-t)/Math.pow(1-t*Math.sin(q)*Math.sin(q),1.5),m=v/(i*r);var x=q-i*Math.tan(q)/l*(m*m/2-(5+3*j+10*k-4*k*k-9*h)*m*m*m*m/24+(61+90*j+298*k+45*j*j-252*h-3*k*k)*m*m*m*m*m*m/720);x=e(x);var y=(m-(1+2*j+k)*m*m*m/6+(5-2*k+28*j-3*k*k+8*h+24*j*j)*m*m*m*m*m/120)/Math.cos(q);y=o+e(y);var z;if(a.accuracy){var A=g({northing:a.northing+a.accuracy,easting:a.easting+a.accuracy,zoneLetter:a.zoneLetter,zoneNumber:a.zoneNumber});z={top:A.lat,right:A.lon,bottom:x,left:y}}else z={lat:x,lon:y};return z}function h(a){var b="Z";return 84>=a&&a>=72?b="X":72>a&&a>=64?b="W":64>a&&a>=56?b="V":56>a&&a>=48?b="U":48>a&&a>=40?b="T":40>a&&a>=32?b="S":32>a&&a>=24?b="R":24>a&&a>=16?b="Q":16>a&&a>=8?b="P":8>a&&a>=0?b="N":0>a&&a>=-8?b="M":-8>a&&a>=-16?b="L":-16>a&&a>=-24?b="K":-24>a&&a>=-32?b="J":-32>a&&a>=-40?b="H":-40>a&&a>=-48?b="G":-48>a&&a>=-56?b="F":-56>a&&a>=-64?b="E":-64>a&&a>=-72?b="D":-72>a&&a>=-80&&(b="C"),b}function i(a,b){var c=""+a.easting,d=""+a.northing;return a.zoneNumber+a.zoneLetter+j(a.easting,a.northing,a.zoneNumber)+c.substr(c.length-5,b)+d.substr(d.length-5,b)}function j(a,b,c){var d=k(c),e=Math.floor(a/1e5),f=Math.floor(b/1e5)%20;return l(e,f,d)}function k(a){var b=a%q;return 0===b&&(b=q),b}function l(a,b,c){var d=c-1,e=r.charCodeAt(d),f=s.charCodeAt(d),g=e+a-1,h=f+b,i=!1;g>x&&(g=g-x+t-1,i=!0),(g===u||u>e&&g>u||(g>u||u>e)&&i)&&g++,(g===v||v>e&&g>v||(g>v||v>e)&&i)&&(g++,g===u&&g++),g>x&&(g=g-x+t-1),h>w?(h=h-w+t-1,i=!0):i=!1,(h===u||u>f&&h>u||(h>u||u>f)&&i)&&h++,(h===v||v>f&&h>v||(h>v||v>f)&&i)&&(h++,h===u&&h++),h>w&&(h=h-w+t-1);var j=String.fromCharCode(g)+String.fromCharCode(h);return j}function m(a){if(a&&0===a.length)throw"MGRSPoint coverting from nothing";for(var b,c=a.length,d=null,e="",f=0;!/[A-Z]/.test(b=a.charAt(f));){if(f>=2)throw"MGRSPoint bad conversion from: "+a;e+=b,f++}var g=parseInt(e,10);if(0===f||f+3>c)throw"MGRSPoint bad conversion from: "+a;var h=a.charAt(f++);if("A">=h||"B"===h||"Y"===h||h>="Z"||"I"===h||"O"===h)throw"MGRSPoint zone letter "+h+" not handled: "+a;d=a.substring(f,f+=2);for(var i=k(g),j=n(d.charAt(0),i),l=o(d.charAt(1),i);l<p(h);)l+=2e6;var m=c-f;if(m%2!==0)throw"MGRSPoint has to have an even number \nof digits after the zone letter and two 100km letters - front \nhalf for easting meters, second half for \nnorthing meters"+a;var q,r,s,t,u,v=m/2,w=0,x=0;return v>0&&(q=1e5/Math.pow(10,v),r=a.substring(f,f+v),w=parseFloat(r)*q,s=a.substring(f+v),x=parseFloat(s)*q),t=w+j,u=x+l,{easting:t,northing:u,zoneLetter:h,zoneNumber:g,accuracy:q}}function n(a,b){for(var c=r.charCodeAt(b-1),d=1e5,e=!1;c!==a.charCodeAt(0);){if(c++,c===u&&c++,c===v&&c++,c>x){if(e)throw"Bad character: "+a;c=t,e=!0}d+=1e5}return d}function o(a,b){if(a>"V")throw"MGRSPoint given invalid Northing "+a;for(var c=s.charCodeAt(b-1),d=0,e=!1;c!==a.charCodeAt(0);){if(c++,c===u&&c++,c===v&&c++,c>w){if(e)throw"Bad character: "+a;c=t,e=!0}d+=1e5}return d}function p(a){var b;switch(a){case"C":b=11e5;break;case"D":b=2e6;break;case"E":b=28e5;break;case"F":b=37e5;break;case"G":b=46e5;break;case"H":b=55e5;break;case"J":b=64e5;break;case"K":b=73e5;break;case"L":b=82e5;break;case"M":b=91e5;break;case"N":b=0;break;case"P":b=8e5;break;case"Q":b=17e5;break;case"R":b=26e5;break;case"S":b=35e5;break;case"T":b=44e5;break;case"U":b=53e5;break;case"V":b=62e5;break;case"W":b=7e6;break;case"X":b=79e5;break;default:b=-1}if(b>=0)return b;throw"Invalid zone letter: "+a}var q=6,r="AJSAJS",s="AFAFAF",t=65,u=73,v=79,w=86,x=90;c.forward=function(a,b){return b=b||5,i(f({lat:a[1],lon:a[0]}),b)},c.inverse=function(a){var b=g(m(a.toUpperCase()));return[b.left,b.bottom,b.right,b.top]},c.toPoint=function(a){var b=c.inverse(a);return[(b[2]+b[0])/2,(b[3]+b[1])/2]}},{}],67:[function(a,b){b.exports={name:"proj4",version:"2.2.2",description:"Proj4js is a JavaScript library to transform point coordinates from one coordinate system to another, including datum transformations.",main:"lib/index.js",directories:{test:"test",doc:"docs"},scripts:{test:"./node_modules/istanbul/lib/cli.js test ./node_modules/mocha/bin/_mocha test/test.js"},repository:{type:"git",url:"git://github.com/proj4js/proj4js.git"},author:"",license:"MIT",jam:{main:"dist/proj4.js",include:["dist/proj4.js","README.md","AUTHORS","LICENSE.md"]},devDependencies:{"grunt-cli":"~0.1.13",grunt:"~0.4.2","grunt-contrib-connect":"~0.6.0","grunt-contrib-jshint":"~0.8.0",chai:"~1.8.1",mocha:"~1.17.1","grunt-mocha-phantomjs":"~0.4.0",browserify:"~3.24.5","grunt-browserify":"~1.3.0","grunt-contrib-uglify":"~0.3.2",curl:"git://github.com/cujojs/curl.git",istanbul:"~0.2.4",tin:"~0.4.0"},dependencies:{mgrs:"0.0.0"}}},{}],"./includedProjections":[function(a,b){b.exports=a("gWUPNW")},{}],gWUPNW:[function(a,b){var c=[a("./lib/projections/tmerc"),a("./lib/projections/utm"),a("./lib/projections/sterea"),a("./lib/projections/stere"),a("./lib/projections/somerc"),a("./lib/projections/omerc"),a("./lib/projections/lcc"),a("./lib/projections/krovak"),a("./lib/projections/cass"),a("./lib/projections/laea"),a("./lib/projections/aea"),a("./lib/projections/gnom"),a("./lib/projections/cea"),a("./lib/projections/eqc"),a("./lib/projections/poly"),a("./lib/projections/nzmg"),a("./lib/projections/mill"),a("./lib/projections/sinu"),a("./lib/projections/moll"),a("./lib/projections/eqdc"),a("./lib/projections/vandg"),a("./lib/projections/aeqd")];b.exports=function(proj4){c.forEach(function(a){proj4.Proj.projections.add(a)})}},{"./lib/projections/aea":39,"./lib/projections/aeqd":40,"./lib/projections/cass":41,"./lib/projections/cea":42,"./lib/projections/eqc":43,"./lib/projections/eqdc":44,"./lib/projections/gnom":46,"./lib/projections/krovak":47,"./lib/projections/laea":48,"./lib/projections/lcc":49,"./lib/projections/mill":52,"./lib/projections/moll":53,"./lib/projections/nzmg":54,"./lib/projections/omerc":55,"./lib/projections/poly":56,"./lib/projections/sinu":57,"./lib/projections/somerc":58,"./lib/projections/stere":59,"./lib/projections/sterea":60,"./lib/projections/tmerc":61,"./lib/projections/utm":62,"./lib/projections/vandg":63}]},{},[35])(35)});;(function (root, factory) {
  if (typeof exports === "object") {
    module.exports = factory();
  } else if (typeof define === "function" && define.amd) {
    define([], factory);
  } else {
    root.routo = factory();
  }
}(this, function () {
  var OPENLAYERS = {};
  var k,aa=this;function t(a,b){var c=OPENLAYERS;a=a.split(".");c=c||aa;a[0]in c||!c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===b?c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}:c[d]=b};var ba,ca;function w(a,b){a.prototype=Object.create(b.prototype);a.prototype.constructor=a}function da(){}function x(a){return a.Jq||(a.Jq=++ea)}var ea=0;function fa(a){this.message="Assertion failed. See https://openlayers.org/en/latest/doc/errors/#"+a+" for details.";this.code=a;this.name="AssertionError"}w(fa,Error);function ia(a,b){if(!a)throw new fa(b);};function ja(a,b,c){return Math.min(Math.max(a,b),c)}var la=function(){var a;"cosh"in Math?a=Math.cosh:a=function(a){a=Math.exp(a);return(a+1/a)/2};return a}();function na(a){ia(0<a,29);return Math.pow(2,Math.ceil(Math.log(a)/Math.LN2))}function oa(a,b,c,d,e,f){var g=e-c,h=f-d;if(0!==g||0!==h){var l=((a-c)*g+(b-d)*h)/(g*g+h*h);1<l?(c=e,d=f):0<l&&(c+=g*l,d+=h*l)}return pa(a,b,c,d)}function pa(a,b,c,d){a=c-a;b=d-b;return a*a+b*b}function qa(a){return a*Math.PI/180}
function sa(a,b){a%=b;return 0>a*b?a+b:a}function ta(a,b,c){return a+c*(b-a)};/*

 Latitude/longitude spherical geodesy formulae taken from
 http://www.movable-type.co.uk/scripts/latlong.html
 Licensed under CC-BY-3.0.
*/
function ua(a){this.radius=a}ua.prototype.a=function(a){return va(a,this.radius)};ua.prototype.b=function(a,b){return xa(a,b,this.radius)};ua.prototype.offset=function(a,b,c){var d=qa(a[1]);b/=this.radius;var e=Math.asin(Math.sin(d)*Math.cos(b)+Math.cos(d)*Math.sin(b)*Math.cos(c));return[180*(qa(a[0])+Math.atan2(Math.sin(c)*Math.sin(b)*Math.cos(d),Math.cos(b)-Math.sin(d)*Math.sin(e)))/Math.PI,180*e/Math.PI]};
function ya(a,b){var c=b||{},d=c.radius||6371008.8;c=c.projection||"EPSG:3857";a=a.clone().transform(c,"EPSG:4326");var e=a.U();c=0;var f;switch(e){case "Point":case "MultiPoint":break;case "LineString":case "LinearRing":b=a.ca();c=za(b,d);break;case "MultiLineString":case "Polygon":b=a.ca();a=0;for(e=b.length;a<e;++a)c+=za(b[a],d);break;case "MultiPolygon":b=a.ca();a=0;for(e=b.length;a<e;++a){var g=b[a];var h=0;for(f=g.length;h<f;++h)c+=za(g[h],d)}break;case "GeometryCollection":d=a.te();a=0;for(e=
d.length;a<e;++a)c+=ya(d[a],b);break;default:throw Error("Unsupported geometry type: "+e);}return c}function za(a,b){for(var c=0,d=0,e=a.length;d<e-1;++d)c+=xa(a[d],a[d+1],b);return c}function xa(a,b,c){var d=qa(a[1]),e=qa(b[1]),f=(e-d)/2;a=qa(b[0]-a[0])/2;d=Math.sin(f)*Math.sin(f)+Math.sin(a)*Math.sin(a)*Math.cos(d)*Math.cos(e);return 2*c*Math.atan2(Math.sqrt(d),Math.sqrt(1-d))}
function Ba(a,b){var c=b||{},d=c.radius||6371008.8;c=c.projection||"EPSG:3857";a=a.clone().transform(c,"EPSG:4326");var e=a.U();c=0;var f;switch(e){case "Point":case "MultiPoint":case "LineString":case "MultiLineString":case "LinearRing":break;case "Polygon":b=a.ca();c=Math.abs(va(b[0],d));a=1;for(e=b.length;a<e;++a)c-=Math.abs(va(b[a],d));break;case "MultiPolygon":b=a.ca();a=0;for(e=b.length;a<e;++a){var g=b[a];c+=Math.abs(va(g[0],d));var h=1;for(f=g.length;h<f;++h)c-=Math.abs(va(g[h],d))}break;
case "GeometryCollection":d=a.te();a=0;for(e=d.length;a<e;++a)c+=Ba(d[a],b);break;default:throw Error("Unsupported geometry type: "+e);}return c}function va(a,b){for(var c=0,d=a.length,e=a[d-1][0],f=a[d-1][1],g=0;g<d;g++){var h=a[g][0],l=a[g][1];c+=qa(h-e)*(2+Math.sin(qa(f))+Math.sin(qa(l)));e=h;f=l}return c*b*b/2};function Ca(a){for(var b=Da(),c=0,d=a.length;c<d;++c)Ea(b,a[c]);return b}function Fa(a,b,c){return c?(c[0]=a[0]-b,c[1]=a[1]-b,c[2]=a[2]+b,c[3]=a[3]+b,c):[a[0]-b,a[1]-b,a[2]+b,a[3]+b]}function Ga(a,b){return b?(b[0]=a[0],b[1]=a[1],b[2]=a[2],b[3]=a[3],b):a.slice()}function Ha(a,b,c){b=b<a[0]?a[0]-b:a[2]<b?b-a[2]:0;a=c<a[1]?a[1]-c:a[3]<c?c-a[3]:0;return b*b+a*a}function Ia(a,b){return Ja(a,b[0],b[1])}function Ka(a,b){return a[0]<=b[0]&&b[2]<=a[2]&&a[1]<=b[1]&&b[3]<=a[3]}
function Ja(a,b,c){return a[0]<=b&&b<=a[2]&&a[1]<=c&&c<=a[3]}function La(a,b){var c=a[1],d=a[2],e=a[3],f=b[0];b=b[1];var g=0;f<a[0]?g|=16:f>d&&(g|=4);b<c?g|=8:b>e&&(g|=2);0===g&&(g=1);return g}function Da(){return[Infinity,Infinity,-Infinity,-Infinity]}function Ma(a,b,c,d,e){return e?(e[0]=a,e[1]=b,e[2]=c,e[3]=d,e):[a,b,c,d]}function Na(a){return Ma(Infinity,Infinity,-Infinity,-Infinity,a)}function Oa(a,b){var c=a[0];a=a[1];return Ma(c,a,c,a,b)}
function Pa(a,b,c,d,e){e=Na(e);return Qa(e,a,b,c,d)}function Ra(a,b){return a[0]==b[0]&&a[2]==b[2]&&a[1]==b[1]&&a[3]==b[3]}function Sa(a,b){b[0]<a[0]&&(a[0]=b[0]);b[2]>a[2]&&(a[2]=b[2]);b[1]<a[1]&&(a[1]=b[1]);b[3]>a[3]&&(a[3]=b[3]);return a}function Ea(a,b){b[0]<a[0]&&(a[0]=b[0]);b[0]>a[2]&&(a[2]=b[0]);b[1]<a[1]&&(a[1]=b[1]);b[1]>a[3]&&(a[3]=b[1])}
function Qa(a,b,c,d,e){for(;c<d;c+=e){var f=a,g=b[c],h=b[c+1];f[0]=Math.min(f[0],g);f[1]=Math.min(f[1],h);f[2]=Math.max(f[2],g);f[3]=Math.max(f[3],h)}return a}function Ta(a,b,c){var d;return(d=b.call(c,Ua(a)))||(d=b.call(c,Va(a)))||(d=b.call(c,Wa(a)))?d:(d=b.call(c,Ya(a)))?d:!1}function Za(a){var b=0;$a(a)||(b=ab(a)*bb(a));return b}function Ua(a){return[a[0],a[1]]}function Va(a){return[a[2],a[1]]}function cb(a){return[(a[0]+a[2])/2,(a[1]+a[3])/2]}
function db(a,b,c,d,e){var f=b*d[0]/2;d=b*d[1]/2;b=Math.cos(c);var g=Math.sin(c);c=f*b;f*=g;b*=d;var h=d*g,l=a[0],m=a[1];a=l-c+h;d=l-c-h;g=l+c-h;c=l+c+h;h=m-f-b;l=m-f+b;var n=m+f+b;f=m+f-b;return Ma(Math.min(a,d,g,c),Math.min(h,l,n,f),Math.max(a,d,g,c),Math.max(h,l,n,f),e)}function bb(a){return a[3]-a[1]}function eb(a,b,c){c=c?c:Da();fb(a,b)&&(c[0]=a[0]>b[0]?a[0]:b[0],c[1]=a[1]>b[1]?a[1]:b[1],c[2]=a[2]<b[2]?a[2]:b[2],c[3]=a[3]<b[3]?a[3]:b[3]);return c}function Ya(a){return[a[0],a[3]]}
function Wa(a){return[a[2],a[3]]}function ab(a){return a[2]-a[0]}function fb(a,b){return a[0]<=b[2]&&a[2]>=b[0]&&a[1]<=b[3]&&a[3]>=b[1]}function $a(a){return a[2]<a[0]||a[3]<a[1]}function gb(a,b){var c=(a[2]-a[0])/2*(b-1);b=(a[3]-a[1])/2*(b-1);a[0]-=c;a[2]+=c;a[1]-=b;a[3]+=b}
function hb(a,b,c){a=[a[0],a[1],a[0],a[3],a[2],a[1],a[2],a[3]];b(a,a,2);var d=[a[0],a[2],a[4],a[6]],e=[a[1],a[3],a[5],a[7]];b=Math.min.apply(null,d);a=Math.min.apply(null,e);d=Math.max.apply(null,d);e=Math.max.apply(null,e);return Ma(b,a,d,e,c)};var ib={};ib.degrees=12741994*Math.PI/360;ib.ft=.3048;ib.m=1;ib["us-ft"]=1200/3937;var jb=null;function kb(a){this.Zb=a.code;this.a=a.units;this.g=void 0!==a.extent?a.extent:null;this.sf=void 0!==a.worldExtent?a.worldExtent:null;this.b=void 0!==a.axisOrientation?a.axisOrientation:"enu";this.c=void 0!==a.global?a.global:!1;this.l=!(!this.c||!this.g);this.s=a.getPointResolution;this.j=null;this.o=a.metersPerUnit;var b=a.code,c=jb||window.proj4;"function"==typeof c&&(b=c.defs(b),void 0!==b&&(void 0!==b.axis&&void 0===a.axisOrientation&&(this.b=b.axis),void 0===a.metersPerUnit&&(this.o=b.to_meter),
void 0===a.units&&(this.a=b.units)))}k=kb.prototype;k.Cm=function(){return this.Zb};k.G=function(){return this.g};k.Sp=function(){return this.a};k.fd=function(){return this.o||ib[this.a]};k.vn=function(){return this.sf};k.xm=function(){return this.b};k.ko=function(){return this.c};k.js=function(a){this.c=a;this.l=!(!a||!this.g)};k.gk=function(a){this.g=a;this.l=!(!this.c||!a)};k.hl=function(a){this.sf=a};k.hs=function(a){this.s=a};function mb(a){kb.call(this,{code:a,units:"m",extent:ob,global:!0,worldExtent:pb,getPointResolution:function(a,c){return a/la(c[1]/6378137)}})}w(mb,kb);var qb=6378137*Math.PI,ob=[-qb,-qb,qb,qb],pb=[-180,-85,180,85],rb=[new mb("EPSG:3857"),new mb("EPSG:102100"),new mb("EPSG:102113"),new mb("EPSG:900913"),new mb("urn:ogc:def:crs:EPSG:6.18:3:3857"),new mb("urn:ogc:def:crs:EPSG::3857"),new mb("http://www.opengis.net/gml/srs/epsg.xml#3857")];
function sb(a,b,c){var d=a.length;c=1<c?c:2;void 0===b&&(2<c?b=a.slice():b=Array(d));for(var e=0;e<d;e+=c){b[e]=qb*a[e]/180;var f=6378137*Math.log(Math.tan(Math.PI*(a[e+1]+90)/360));f>qb?f=qb:f<-qb&&(f=-qb);b[e+1]=f}return b}function tb(a,b,c){var d=a.length;c=1<c?c:2;void 0===b&&(2<c?b=a.slice():b=Array(d));for(var e=0;e<d;e+=c)b[e]=180*a[e]/qb,b[e+1]=360*Math.atan(Math.exp(a[e+1]/6378137))/Math.PI-90;return b};function ub(a,b){kb.call(this,{code:a,units:"degrees",extent:vb,axisOrientation:b,global:!0,metersPerUnit:wb,worldExtent:vb})}w(ub,kb);var vb=[-180,-90,180,90],wb=6378137*Math.PI/180,xb=[new ub("CRS:84"),new ub("EPSG:4326","neu"),new ub("urn:ogc:def:crs:EPSG::4326","neu"),new ub("urn:ogc:def:crs:EPSG:6.6:4326","neu"),new ub("urn:ogc:def:crs:OGC:1.3:CRS84"),new ub("urn:ogc:def:crs:OGC:2:84"),new ub("http://www.opengis.net/gml/srs/epsg.xml#4326","neu"),new ub("urn:x-ogc:def:crs:EPSG:4326","neu")];var yb={};var zb="function"===typeof Object.assign?Object.assign:function(a,b){if(void 0===a||null===a)throw new TypeError("Cannot convert undefined or null to object");for(var c=Object(a),d=1,e=arguments.length;d<e;++d){var f=arguments[d];if(void 0!==f&&null!==f)for(var g in f)f.hasOwnProperty(g)&&(c[g]=f[g])}return c};function Ab(a){for(var b in a)delete a[b]}function Bb(a){var b=[],c;for(c in a)b.push(a[c]);return b}function Cb(a){for(var b in a)return!1;return!b};var Db={};function Eb(a,b,c){a=a.Zb;b=b.Zb;a in Db||(Db[a]={});Db[a][b]=c}function Fb(a,b){var c;a in Db&&b in Db[a]&&(c=Db[a][b]);return c};var Gb=new ua(6371008.8);function Hb(a,b,c,d){a=Ib(a);var e=a.s;e?b=e(b,c):"degrees"==a.a&&!d||"degrees"==d||(e=Jb(a,Ib("EPSG:4326")),b=[c[0]-b/2,c[1],c[0]+b/2,c[1],c[0],c[1]-b/2,c[0],c[1]+b/2],b=e(b,b,2),b=(Gb.b(b.slice(0,2),b.slice(2,4))+Gb.b(b.slice(4,6),b.slice(6,8)))/2,a=d?ib[d]:a.fd(),void 0!==a&&(b/=a));return b}function Kb(a){a.forEach(Lb);a.forEach(function(b){a.forEach(function(a){b!==a&&Eb(b,a,Mb)})})}
function Nb(){xb.forEach(function(a){rb.forEach(function(b){Eb(a,b,sb);Eb(b,a,tb)})})}function Lb(a){yb[a.Zb]=a;Eb(a,a,Mb)}function Ob(a){return a?"string"===typeof a?Ib(a):a:Ib("EPSG:3857")}function Pb(a,b,c,d){a=Ib(a);b=Ib(b);Eb(a,b,Qb(c));Eb(b,a,Qb(d))}function Qb(a){return function(b,c,d){var e=b.length;d=void 0!==d?d:2;c=void 0!==c?c:Array(e);var f;for(f=0;f<e;f+=d){var g=a([b[f],b[f+1]]);c[f]=g[0];c[f+1]=g[1];for(g=d-1;2<=g;--g)c[f+g]=b[f+g]}return c}}
function Rb(a,b){return Sb(a,"EPSG:4326",void 0!==b?b:"EPSG:3857")}function Tb(a,b){a=Sb(a,void 0!==b?b:"EPSG:3857","EPSG:4326");b=a[0];if(-180>b||180<b)a[0]=sa(b+180,360)-180;return a}function Ib(a){var b=null;if(a instanceof kb)b=a;else if("string"===typeof a&&(b=yb[a]||null,!b)){var c=jb||window.proj4;"function"==typeof c&&void 0!==c.defs(a)&&(b=new kb({code:a}),Lb(b))}return b}function Ub(a,b){if(a===b)return!0;var c=a.a===b.a;return a.Zb===b.Zb?c:Jb(a,b)===Mb&&c}
function Vb(a,b){a=Ib(a);b=Ib(b);return Jb(a,b)}function Jb(a,b){var c=a.Zb,d=b.Zb,e=Fb(c,d);if(!e){var f=jb||window.proj4;if("function"==typeof f){var g=f.defs(c),h=f.defs(d);void 0!==g&&void 0!==h&&(g===h?Kb([b,a]):(e=f(d,c),Pb(b,a,e.forward,e.inverse)),e=Fb(c,d))}}e||(e=Wb);return e}function Wb(a,b){if(void 0!==b&&a!==b){for(var c=0,d=a.length;c<d;++c)b[c]=a[c];a=b}return a}function Mb(a,b){if(void 0!==b){for(var c=0,d=a.length;c<d;++c)b[c]=a[c];a=b}else a=a.slice();return a}
function Sb(a,b,c){return Vb(b,c)(a,void 0,a.length)}function Xb(a,b,c){b=Vb(b,c);return hb(a,b)}function Yb(){Kb(rb);Kb(xb);Nb()}Yb();function Zb(a){function b(b){var c=a.listener,e=a.Ti||a.target;a.Vi&&$b(a);return c.call(e,b)}return a.Ui=b}function ac(a,b,c,d){for(var e,f=0,g=a.length;f<g;++f)if(e=a[f],e.listener===b&&e.Ti===c)return d&&(e.deleteIndex=f),e}function bc(a,b){return(a=a.zb)?a[b]:void 0}function cc(a){var b=a.zb;b||(b=a.zb={});return b}
function dc(a,b){var c=bc(a,b);if(c){for(var d=0,e=c.length;d<e;++d)a.removeEventListener(b,c[d].Ui),Ab(c[d]);c.length=0;if(c=a.zb)delete c[b],0===Object.keys(c).length&&delete a.zb}}function A(a,b,c,d,e){var f=cc(a),g=f[b];g||(g=f[b]=[]);(f=ac(g,c,d,!1))?e||(f.Vi=!1):(f={Ti:d,Vi:!!e,listener:c,target:a,type:b},a.addEventListener(b,Zb(f)),g.push(f));return f}function ec(a,b,c,d){return A(a,b,c,d,!0)}function fc(a,b,c,d){(a=bc(a,b))&&(c=ac(a,c,d,!0))&&$b(c)}
function $b(a){if(a&&a.target){a.target.removeEventListener(a.type,a.Ui);var b=bc(a.target,a.type);if(b){var c="deleteIndex"in a?a.deleteIndex:b.indexOf(a);-1!==c&&b.splice(c,1);0===b.length&&dc(a.target,a.type)}Ab(a)}}function gc(a){var b=cc(a),c;for(c in b)dc(a,c)};function hc(){}hc.prototype.bd=!1;hc.prototype.Ab=function(){this.bd||(this.bd=!0,this.sa())};hc.prototype.sa=da;function jc(a){this.type=a;this.target=null}jc.prototype.preventDefault=jc.prototype.stopPropagation=function(){this.Ik=!0};function kc(a){a.stopPropagation()};function lc(){this.rb={};this.oa={};this.ja={}}w(lc,hc);lc.prototype.addEventListener=function(a,b){var c=this.ja[a];c||(c=this.ja[a]=[]);-1===c.indexOf(b)&&c.push(b)};
lc.prototype.b=function(a){var b="string"===typeof a?new jc(a):a;a=b.type;b.target=this;var c=this.ja[a];if(c){a in this.oa||(this.oa[a]=0,this.rb[a]=0);++this.oa[a];for(var d=0,e=c.length;d<e;++d)if(!1===c[d].call(this,b)||b.Ik){var f=!1;break}--this.oa[a];if(0===this.oa[a]){b=this.rb[a];for(delete this.rb[a];b--;)this.removeEventListener(a,da);delete this.oa[a]}return f}};lc.prototype.sa=function(){gc(this)};function mc(a,b){return b?b in a.ja:0<Object.keys(a.ja).length}
lc.prototype.removeEventListener=function(a,b){var c=this.ja[a];c&&(b=c.indexOf(b),a in this.rb?(c[b]=da,++this.rb[a]):(c.splice(b,1),0===c.length&&delete this.ja[a]))};function nc(){lc.call(this);this.l=0}w(nc,lc);k=nc.prototype;k.A=function(){++this.l;this.b("change")};k.N=function(){return this.l};k.J=function(a,b,c){if(Array.isArray(a)){for(var d=a.length,e=Array(d),f=0;f<d;++f)e[f]=A(this,a[f],b,c);return e}return A(this,a,b,c)};k.once=function(a,b,c){if(Array.isArray(a)){for(var d=a.length,e=Array(d),f=0;f<d;++f)e[f]=ec(this,a[f],b,c);return e}return ec(this,a,b,c)};
k.M=function(a,b,c){if(Array.isArray(a))for(var d=0,e=a.length;d<e;++d)fc(this,a[d],b,c);else fc(this,a,b,c)};function oc(a){nc.call(this);x(this);this.H={};void 0!==a&&this.I(a)}w(oc,nc);var pc={};function qc(a){return pc.hasOwnProperty(a)?pc[a]:pc[a]="change:"+a}k=oc.prototype;k.get=function(a){var b;this.H.hasOwnProperty(a)&&(b=this.H[a]);return b};k.P=function(){return Object.keys(this.H)};k.K=function(){return zb({},this.H)};function rc(a,b,c){var d=qc(b);a.b(new sc(d,b,c));a.b(new sc("propertychange",b,c))}k.set=function(a,b,c){c?this.H[a]=b:(c=this.H[a],this.H[a]=b,c!==b&&rc(this,a,c))};
k.I=function(a,b){for(var c in a)this.set(c,a[c],b)};k.S=function(a,b){if(a in this.H){var c=this.H[a];delete this.H[a];b||rc(this,a,c)}};function sc(a,b,c){jc.call(this,a);this.key=b;this.oldValue=c}w(sc,jc);function tc(){return!0}function uc(){return!1};function vc(a,b,c,d,e,f){for(var g=f?f:[],h=0;b<c;b+=d){var l=a[b],m=a[b+1];g[h++]=e[0]*l+e[2]*m+e[4];g[h++]=e[1]*l+e[3]*m+e[5]}f&&g.length!=h&&(g.length=h);return g}function wc(a,b,c,d,e,f,g){for(var h=g?g:[],l=0,m;b<c;b+=d)for(h[l++]=a[b]+e,h[l++]=a[b+1]+f,m=b+2;m<b+d;++m)h[l++]=a[m];g&&h.length!=l&&(h.length=l);return h};var xc=Array(6);function yc(){return[1,0,0,1,0,0]}function zc(a){return Ac(a,1,0,0,1,0,0)}function Bc(a,b){var c=a[0],d=a[1],e=a[2],f=a[3],g=a[4],h=a[5],l=b[0],m=b[1],n=b[2],p=b[3],q=b[4];b=b[5];a[0]=c*l+e*m;a[1]=d*l+f*m;a[2]=c*n+e*p;a[3]=d*n+f*p;a[4]=c*q+e*b+g;a[5]=d*q+f*b+h;return a}function Ac(a,b,c,d,e,f,g){a[0]=b;a[1]=c;a[2]=d;a[3]=e;a[4]=f;a[5]=g;return a}function Cc(a,b){a[0]=b[0];a[1]=b[1];a[2]=b[2];a[3]=b[3];a[4]=b[4];a[5]=b[5];return a}
function Dc(a,b){var c=b[0],d=b[1];b[0]=a[0]*c+a[2]*d+a[4];b[1]=a[1]*c+a[3]*d+a[5];return b}function Ec(a,b){var c=Math.cos(b);b=Math.sin(b);Bc(a,Ac(xc,c,b,-b,c,0,0))}function Fc(a,b,c){return Bc(a,Ac(xc,b,0,0,c,0,0))}function Gc(a,b,c){Bc(a,Ac(xc,1,0,0,1,b,c))}function Ic(a,b,c,d,e,f,g,h){var l=Math.sin(f);f=Math.cos(f);a[0]=d*f;a[1]=e*l;a[2]=-d*l;a[3]=e*f;a[4]=g*d*f-h*d*l+b;a[5]=g*e*l+h*e*f+c;return a}
function Jc(a){var b=a[0]*a[3]-a[1]*a[2];ia(0!==b,32);var c=a[0],d=a[1],e=a[2],f=a[3],g=a[4],h=a[5];a[0]=f/b;a[1]=-d/b;a[2]=-e/b;a[3]=c/b;a[4]=(e*h-f*g)/b;a[5]=-(c*h-d*g)/b;return a};function Kc(){oc.call(this);this.u=Da();this.C=-1;this.g={};this.o=this.j=0;this.$=yc()}w(Kc,oc);k=Kc.prototype;k.$b=function(a,b){b=b?b:[NaN,NaN];this.wc(a[0],a[1],b,Infinity);return b};k.Eb=function(a){return this.Ud(a[0],a[1])};k.Ud=uc;k.G=function(a){this.C!=this.l&&(this.u=this.Ff(this.u),this.C=this.l);var b=this.u;a?(a[0]=b[0],a[1]=b[1],a[2]=b[2],a[3]=b[3]):a=b;return a};k.nc=function(a){return this.Ue(a*a)};
k.transform=function(a,b){var c=this.$;a=Ib(a);var d="tile-pixels"==a.a?function(d,f,g){var e=a.G(),l=a.sf;e=bb(l)/bb(e);Ic(c,l[0],l[3],e,-e,0,0,0);vc(d,0,d.length,g,c,f);return Vb(a,b)(d,f,g)}:Vb(a,b);this.Hd(d);return this};var Lc=/^#(?:[0-9a-f]{3,4}){1,2}$/i,Mc=/^([a-z]*)$/i;function Nc(a){return Array.isArray(a)?a:Oc(a)}function Pc(a){if("string"!==typeof a){var b=a[0];b!=(b|0)&&(b=b+.5|0);var c=a[1];c!=(c|0)&&(c=c+.5|0);var d=a[2];d!=(d|0)&&(d=d+.5|0);a="rgba("+b+","+c+","+d+","+(void 0===a[3]?1:a[3])+")"}return a}
var Oc=function(){var a={},b=0;return function(c){if(a.hasOwnProperty(c))var d=a[c];else{if(1024<=b){d=0;for(var e in a)0===(d++&3)&&(delete a[e],--b)}d=c;Mc.exec(d)&&(e=document.createElement("div"),e.style.color=d,document.body.appendChild(e),d=getComputedStyle(e).color,document.body.removeChild(e));if(Lc.exec(d)){e=d.length-1;var f=4>=e?1:2;var g=4===e||8===e;e=parseInt(d.substr(1+0*f,f),16);var h=parseInt(d.substr(1+1*f,f),16);var l=parseInt(d.substr(1+2*f,f),16);d=g?parseInt(d.substr(1+3*f,f),
16):255;1==f&&(e=(e<<4)+e,h=(h<<4)+h,l=(l<<4)+l,g&&(d=(d<<4)+d));f=[e,h,l,d/255]}else 0==d.indexOf("rgba(")?(d=d.slice(5,-1).split(",").map(Number),f=Qc(d)):0==d.indexOf("rgb(")?(d=d.slice(4,-1).split(",").map(Number),d.push(1),f=Qc(d)):ia(!1,14);d=f;a[c]=d;++b}return d}}();function Qc(a){var b=[];b[0]=ja(a[0]+.5|0,0,255);b[1]=ja(a[1]+.5|0,0,255);b[2]=ja(a[2]+.5|0,0,255);b[3]=ja(a[3],0,1);return b};function Rc(a){return"string"===typeof a||a instanceof CanvasPattern||a instanceof CanvasGradient?a:Pc(a)};function Sc(a,b){var c=document.createElement("CANVAS");a&&(c.width=a);b&&(c.height=b);return c.getContext("2d")}function Tc(a,b){var c=b.parentNode;c&&c.replaceChild(a,b)}function Uc(a){a&&a.parentNode&&a.parentNode.removeChild(a)};var Vc=["experimental-webgl","webgl","webkit-3d","moz-webgl"];function Wc(a,b){var c,d,e=Vc.length;for(d=0;d<e;++d)try{if(c=a.getContext(Vc[d],b))return c}catch(f){}return null};var Xc,Yc="undefined"!==typeof navigator?navigator.userAgent.toLowerCase():"",Zc=-1!==Yc.indexOf("firefox"),$c=-1!==Yc.indexOf("safari")&&-1==Yc.indexOf("chrom"),ad=-1!==Yc.indexOf("webkit")&&-1==Yc.indexOf("edge"),bd=-1!==Yc.indexOf("macintosh"),cd=window.devicePixelRatio||1,dd=!1,ed=function(){if(!("HTMLCanvasElement"in window))return!1;try{var a=document.createElement("CANVAS").getContext("2d");return a?(void 0!==a.setLineDash&&(dd=!0),!0):!1}catch(b){return!1}}(),fd="DeviceOrientationEvent"in
window,gd="geolocation"in navigator,hd="ontouchstart"in window,id="PointerEvent"in window,jd=!!navigator.msPointerEnabled,kd=!1,ld,md=[];if("WebGLRenderingContext"in window)try{var nd=Wc(document.createElement("CANVAS"),{failIfMajorPerformanceCaveat:!0});nd&&(kd=!0,ld=nd.getParameter(nd.MAX_TEXTURE_SIZE),md=nd.getSupportedExtensions())}catch(a){}Xc=kd;ca=md;ba=ld;var od=function(){var a,b={};return function(c){a||(a=document.createElement("div").style);if(!(c in b)){a.font=c;var d=a.fontFamily;a.font="";if(!d)return null;b[c]=d.split(/,\s?/)}return b[c]}}();function pd(a){lc.call(this);this.highWaterMark=void 0!==a?a:2048;this.g=0;this.a={};this.c=this.l=null}w(pd,lc);function qd(a){return a.g>a.highWaterMark}k=pd.prototype;k.clear=function(){this.g=0;this.a={};this.c=this.l=null;this.b("clear")};k.forEach=function(a,b){for(var c=this.l;c;)a.call(b,c.Fd,c.gd,this),c=c.Lb};
k.get=function(a){a=this.a[a];ia(void 0!==a,15);if(a===this.c)return a.Fd;a===this.l?(this.l=this.l.Lb,this.l.Dc=null):(a.Lb.Dc=a.Dc,a.Dc.Lb=a.Lb);a.Lb=null;a.Dc=this.c;this.c=this.c.Lb=a;return a.Fd};k.remove=function(a){var b=this.a[a];ia(void 0!==b,15);if(b===this.c){if(this.c=b.Dc)this.c.Lb=null}else if(b===this.l){if(this.l=b.Lb)this.l.Dc=null}else b.Lb.Dc=b.Dc,b.Dc.Lb=b.Lb;delete this.a[a];--this.g;return b.Fd};
k.pop=function(){var a=this.l;delete this.a[a.gd];a.Lb&&(a.Lb.Dc=null);this.l=a.Lb;this.l||(this.c=null);--this.g;return a.Fd};k.replace=function(a,b){this.get(a);this.a[a].Fd=b};k.set=function(a,b){ia(!(a in this.a),16);b={gd:a,Lb:null,Dc:this.c,Fd:b};this.c?this.c.Lb=b:this.l=b;this.c=b;this.a[a]=b;++this.g};var rd=[0,0,0,1],sd=[],td=[0,0,0,1],ud=[0,0,0,0],vd=new pd,wd={},xd=null,yd={},Ad=function(){function a(a){var b=zd();b.font="32px monospace";f=b.measureText("wmytzilWMYTZIL@#/&?$%10").width;var c=!0;"monospace"!=a&&(b.font="32px "+a+",monospace",c=b.measureText("wmytzilWMYTZIL@#/&?$%10").width!=f);return c}function b(){var b=!0,f;for(f in c)60>c[f]&&(a(f)?(c[f]=60,Ab(yd),xd=null,d.clear()):(++c[f],b=!1));b&&(window.clearInterval(e),e=void 0)}var c=wd,d=vd,e,f;return function(d){if(d=od(d))for(var f=
0,g=d.length;f<g;++f){var m=d[f];m in c||(c[m]=60,a(m)||(c[m]=0,void 0===e&&(e=window.setInterval(b,32))))}}}();function zd(){var a=xd;a||(a=xd=Sc(1,1));return a}
var Bd=function(){var a;return function(b){var c=yd[b];void 0==c&&(a||(a=document.createElement("span"),a.textContent="M",a.style.margin=a.style.padding="0 !important",a.style.position="absolute !important",a.style.left="-99999px !important"),a.style.font=b,document.body.appendChild(a),c=yd[b]=a.offsetHeight,document.body.removeChild(a));return c}}();function Cd(a,b){var c=zd();a!=c.font&&(c.font=a);return c.measureText(b).width}
function Dd(a,b,c,d){0!==b&&(a.translate(c,d),a.rotate(b),a.translate(-c,-d))}var Ed=yc();function Fd(a,b,c,d,e,f,g,h,l,m,n){if(1!=c){var p=a.globalAlpha;a.globalAlpha=p*c}b&&a.setTransform.apply(a,b);a.drawImage(d,e,f,g,h,l,m,g*n,h*n);p&&(a.globalAlpha=p);b&&a.setTransform.apply(a,Ed)};function Gd(a){this.j=a.opacity;this.H=a.rotateWithView;this.s=a.rotation;this.l=a.scale;this.C=a.snapToPixel}k=Gd.prototype;k.sg=function(){return this.j};k.tg=function(){return this.H};k.ug=function(){return this.s};k.vg=function(){return this.l};k.Wf=function(){return this.C};k.Yd=function(a){this.j=a};k.Zd=function(a){this.s=a};k.Fe=function(a){this.l=a};function Hd(a){this.ja=this.B=this.g=null;this.tb=void 0!==a.fill?a.fill:null;this.O=[0,0];this.u=a.points;this.b=void 0!==a.radius?a.radius:a.radius1;this.c=a.radius2;this.o=void 0!==a.angle?a.angle:0;this.vb=void 0!==a.stroke?a.stroke:null;this.R=this.aa=this.oa=null;this.L=a.atlasManager;Id(this,this.L);Gd.call(this,{opacity:1,rotateWithView:void 0!==a.rotateWithView?a.rotateWithView:!1,rotation:void 0!==a.rotation?a.rotation:0,scale:1,snapToPixel:void 0!==a.snapToPixel?a.snapToPixel:!0})}
w(Hd,Gd);k=Hd.prototype;k.clone=function(){var a=new Hd({fill:this.Ya()?this.Ya().clone():void 0,points:this.u,radius:this.b,radius2:this.c,angle:this.o,snapToPixel:this.C,stroke:this.ab()?this.ab().clone():void 0,rotation:this.s,rotateWithView:this.H,atlasManager:this.L});a.Yd(this.j);a.Fe(this.l);return a};k.Ld=function(){return this.oa};k.xk=function(){return this.o};k.Ya=function(){return this.tb};k.Sh=function(){return this.ja};k.fa=function(){return this.B};k.Rf=function(){return this.R};
k.rg=function(){return 2};k.Xd=function(){return this.O};k.yk=function(){return this.u};k.zk=function(){return this.b};k.kj=function(){return this.c};k.La=function(){return this.aa};k.ab=function(){return this.vb};k.sj=function(){};k.load=function(){};k.nl=function(){};
function Id(a,b){var c="",d="",e=0,f=null,g=0,h=0;if(a.vb){var l=a.vb.a;null===l&&(l=td);l=Rc(l);h=a.vb.c;void 0===h&&(h=1);f=a.vb.l;g=a.vb.g;dd||(f=null,g=0);d=a.vb.s;void 0===d&&(d="round");c=a.vb.j;void 0===c&&(c="round");e=a.vb.o;void 0===e&&(e=10)}var m=2*(a.b+h)+1;c={strokeStyle:l,kl:h,size:m,lineCap:c,lineDash:f,lineDashOffset:g,lineJoin:d,miterLimit:e};if(void 0===b){var n=Sc(m,m);a.B=n.canvas;b=m=a.B.width;a.aj(c,n,0,0);a.tb?a.ja=a.B:(n=Sc(c.size,c.size),a.ja=n.canvas,a.$i(c,n,0,0))}else m=
Math.round(m),(d=!a.tb)&&(n=a.$i.bind(a,c)),a.vb?(e=a.vb,void 0===e.b&&(e.b="s",e.b=e.a?"string"===typeof e.a?e.b+e.a:e.b+x(e.a).toString():e.b+"-",e.b+=","+(void 0!==e.j?e.j.toString():"-")+","+(e.l?e.l.toString():"-")+","+(void 0!==e.g?e.g:"-")+","+(void 0!==e.s?e.s:"-")+","+(void 0!==e.o?e.o.toString():"-")+","+(void 0!==e.c?e.c.toString():"-")),e=e.b):e="-",a.tb?(f=a.tb,void 0===f.a&&(f.a=f.b instanceof CanvasPattern||f.b instanceof CanvasGradient?x(f.b).toString():"f"+(f.b?Pc(f.b):"-")),f=f.a):
f="-",a.g&&e==a.g[1]&&f==a.g[2]&&a.b==a.g[3]&&a.c==a.g[4]&&a.o==a.g[5]&&a.u==a.g[6]||(a.g=["r"+e+f+(void 0!==a.b?a.b.toString():"-")+(void 0!==a.c?a.c.toString():"-")+(void 0!==a.o?a.o.toString():"-")+(void 0!==a.u?a.u.toString():"-"),e,f,a.b,a.c,a.o,a.u]),n=b.add(a.g[0],m,m,a.aj.bind(a,c),n),a.B=n.image,a.O=[n.offsetX,n.offsetY],b=n.image.width,a.ja=d?n.bo:a.B;a.oa=[m/2,m/2];a.aa=[m,m];a.R=[b,b]}
k.aj=function(a,b,c,d){b.setTransform(1,0,0,1,0,0);b.translate(c,d);b.beginPath();var e=this.u;if(Infinity===e)b.arc(a.size/2,a.size/2,this.b,0,2*Math.PI,!0);else{var f=void 0!==this.c?this.c:this.b;f!==this.b&&(e*=2);for(c=0;c<=e;c++){d=2*c*Math.PI/e-Math.PI/2+this.o;var g=0===c%2?this.b:f;b.lineTo(a.size/2+g*Math.cos(d),a.size/2+g*Math.sin(d))}}this.tb&&(c=this.tb.b,null===c&&(c=rd),b.fillStyle=Rc(c),b.fill());this.vb&&(b.strokeStyle=a.strokeStyle,b.lineWidth=a.kl,a.lineDash&&(b.setLineDash(a.lineDash),
b.lineDashOffset=a.lineDashOffset),b.lineCap=a.lineCap,b.lineJoin=a.lineJoin,b.miterLimit=a.miterLimit,b.stroke());b.closePath()};
k.$i=function(a,b,c,d){b.setTransform(1,0,0,1,0,0);b.translate(c,d);b.beginPath();c=this.u;if(Infinity===c)b.arc(a.size/2,a.size/2,this.b,0,2*Math.PI,!0);else{d=void 0!==this.c?this.c:this.b;d!==this.b&&(c*=2);var e;for(e=0;e<=c;e++){var f=2*e*Math.PI/c-Math.PI/2+this.o;var g=0===e%2?this.b:d;b.lineTo(a.size/2+g*Math.cos(f),a.size/2+g*Math.sin(f))}}b.fillStyle=rd;b.fill();this.vb&&(b.strokeStyle=a.strokeStyle,b.lineWidth=a.kl,a.lineDash&&(b.setLineDash(a.lineDash),b.lineDashOffset=a.lineDashOffset),
b.stroke());b.closePath()};function Jd(a){a=a||{};Hd.call(this,{points:Infinity,fill:a.fill,radius:a.radius,snapToPixel:a.snapToPixel,stroke:a.stroke,atlasManager:a.atlasManager})}w(Jd,Hd);Jd.prototype.clone=function(){var a=new Jd({fill:this.Ya()?this.Ya().clone():void 0,stroke:this.ab()?this.ab().clone():void 0,radius:this.b,snapToPixel:this.C,atlasManager:this.L});a.Yd(this.j);a.Fe(this.l);return a};Jd.prototype.ee=function(a){this.b=a;Id(this,this.L)};function Kd(a){a=a||{};this.b=void 0!==a.color?a.color:null;this.a=void 0}Kd.prototype.clone=function(){var a=this.b;return new Kd({color:a&&a.slice?a.slice():a||void 0})};Kd.prototype.l=function(){return this.b};Kd.prototype.c=function(a){this.b=a;this.a=void 0};function Ld(a){a=a||{};this.a=void 0!==a.color?a.color:null;this.j=a.lineCap;this.l=void 0!==a.lineDash?a.lineDash:null;this.g=a.lineDashOffset;this.s=a.lineJoin;this.o=a.miterLimit;this.c=a.width;this.b=void 0}k=Ld.prototype;k.clone=function(){var a=this.a;return new Ld({color:a&&a.slice?a.slice():a||void 0,lineCap:this.j,lineDash:this.l?this.l.slice():void 0,lineDashOffset:this.g,lineJoin:this.s,miterLimit:this.o,width:this.c})};k.Cq=function(){return this.a};k.Pm=function(){return this.j};
k.Dq=function(){return this.l};k.Qm=function(){return this.g};k.Rm=function(){return this.s};k.Zm=function(){return this.o};k.Eq=function(){return this.c};k.Th=function(a){this.a=a;this.b=void 0};k.de=function(a){this.j=a;this.b=void 0};k.setLineDash=function(a){this.l=a;this.b=void 0};k.os=function(a){this.g=a;this.b=void 0};k.ps=function(a){this.s=a;this.b=void 0};k.ts=function(a){this.o=a;this.b=void 0};k.wi=function(a){this.c=a;this.b=void 0};function B(a){a=a||{};this.Kd=null;this.Bb=Md;void 0!==a.geometry&&this.Qa(a.geometry);this.tb=void 0!==a.fill?a.fill:null;this.V=void 0!==a.image?a.image:null;this.hd=void 0!==a.renderer?a.renderer:null;this.vb=void 0!==a.stroke?a.stroke:null;this.Ka=void 0!==a.text?a.text:null;this.rl=a.zIndex}k=B.prototype;
k.clone=function(){var a=this.W();a&&a.clone&&(a=a.clone());return new B({geometry:a,fill:this.Ya()?this.Ya().clone():void 0,image:this.fa()?this.fa().clone():void 0,stroke:this.ab()?this.ab().clone():void 0,text:this.Pa()?this.Pa().clone():void 0,zIndex:this.Ia()})};k.Vf=function(){return this.hd};k.vs=function(a){this.hd=a};k.W=function(){return this.Kd};k.Lm=function(){return this.Bb};k.Ya=function(){return this.tb};k.lc=function(a){this.tb=a};k.fa=function(){return this.V};
k.ce=function(a){this.V=a};k.ab=function(){return this.vb};k.cc=function(a){this.vb=a};k.Pa=function(){return this.Ka};k.Hb=function(a){this.Ka=a};k.Ia=function(){return this.rl};k.Qa=function(a){"function"===typeof a?this.Bb=a:"string"===typeof a?this.Bb=function(b){return b.get(a)}:a?void 0!==a&&(this.Bb=function(){return a}):this.Bb=Md;this.Kd=a};k.Ra=function(a){this.rl=a};
function Nd(a){if("function"!==typeof a){if(Array.isArray(a))var b=a;else ia(a instanceof B,41),b=[a];a=function(){return b}}return a}var Od=null;function Pd(){if(!Od){var a=new Kd({color:"rgba(255,255,255,0.4)"}),b=new Ld({color:"#3399CC",width:1.25});Od=[new B({image:new Jd({fill:a,stroke:b,radius:5}),fill:a,stroke:b})]}return Od}
function Qd(){var a={},b=[255,255,255,1],c=[0,153,255,1];a.Polygon=[new B({fill:new Kd({color:[255,255,255,.5]})})];a.MultiPolygon=a.Polygon;a.LineString=[new B({stroke:new Ld({color:b,width:5})}),new B({stroke:new Ld({color:c,width:3})})];a.MultiLineString=a.LineString;a.Circle=a.Polygon.concat(a.LineString);a.Point=[new B({image:new Jd({radius:6,fill:new Kd({color:c}),stroke:new Ld({color:b,width:1.5})}),zIndex:Infinity})];a.MultiPoint=a.Point;a.GeometryCollection=a.Polygon.concat(a.LineString,
a.Point);return a}function Md(a){return a.W()};function C(a){oc.call(this);this.j=void 0;this.a="geometry";this.o=null;this.s=void 0;this.g=null;this.draggable=!1;this.da={};A(this,qc(this.a),this.$f,this);void 0!==a&&(a instanceof Kc||!a?this.Qa(a):this.I(a))}w(C,oc);k=C.prototype;k.clone=function(){var a=new C(this.K());a.bc(this.a);var b=this.W();b&&a.Qa(b.clone());(b=this.Ga())&&a.nb(b);return a};k.W=function(){return this.get(this.a)};k.Ta=function(){return this.j};k.Nd=function(){return this.a};k.Ga=function(){return this.o};k.gb=function(){return this.s};
k.Cn=function(){this.A()};k.$f=function(){this.g&&($b(this.g),this.g=null);var a=this.W();a&&(this.g=A(a,"change",this.Cn,this));this.A()};k.Qa=function(a){this.set(this.a,a)};k.nb=function(a){this.s=(this.o=a)?Rd(a):void 0;this.A()};k.Ub=function(a){this.j=a;this.A()};k.bc=function(a){fc(this,qc(this.a),this.$f,this);this.a=a;A(this,qc(this.a),this.$f,this);this.$f()};
function Rd(a){var b;if("function"===typeof a)2==a.length?b=function(b){return a(this,b)}:b=a;else{if(Array.isArray(a))var c=a;else ia(a instanceof B,41),c=[a];b=function(){return c}}return b}k.Ec=function(a){this.draggable=a};k.ud=function(){return this.draggable};function Sd(){this.g=this.defaultDataProjection=null}function Td(a,b,c){var d;c&&(d={dataProjection:c.dataProjection?c.dataProjection:a.yb(b),featureProjection:c.featureProjection});return Ud(a,d)}function Ud(a,b){return zb({dataProjection:a.defaultDataProjection,featureProjection:a.g},b)}Sd.prototype.ph=function(){return null};
function Vd(a,b,c){var d=c?Ib(c.featureProjection):null,e=c?Ib(c.dataProjection):null,f;d&&e&&!Ub(d,e)?a instanceof Kc?f=(b?a.clone():a).transform(b?d:e,b?e:d):f=Xb(a,e,d):f=a;if(b&&c&&void 0!==c.decimals){var g=Math.pow(10,c.decimals);f===a&&(f=f.clone());f.Hd(function(a){for(var b=0,c=a.length;b<c;++b)a[b]=Math.round(a[b]*g)/g;return a})}return f};function Wd(){Kc.call(this);this.xa="XY";this.a=2;this.D=null}w(Wd,Kc);function Xd(a){var b;"XY"==a?b=2:"XYZ"==a||"XYM"==a?b=3:"XYZM"==a&&(b=4);return b}k=Wd.prototype;k.Ud=uc;k.Ff=function(a){return Pa(this.D,0,this.D.length,this.a,a)};k.Qc=function(){return this.D.slice(0,this.a)};k.na=function(){return this.D};k.Rc=function(){return this.D.slice(this.D.length-this.a)};k.Tc=function(){return this.xa};
k.Ue=function(a){this.o!=this.l&&(Ab(this.g),this.j=0,this.o=this.l);if(0>a||0!==this.j&&a<=this.j)return this;var b=a.toString();if(this.g.hasOwnProperty(b))return this.g[b];var c=this.we(a);if(c.na().length<this.D.length)return this.g[b]=c;this.j=a;return this};k.we=function(){return this};k.Ea=function(){return this.a};function Yd(a,b,c){a.a=Xd(b);a.xa=b;a.D=c}
function Zd(a,b,c,d){if(b)c=Xd(b);else{for(b=0;b<d;++b){if(0===c.length){a.xa="XY";a.a=2;return}c=c[0]}c=c.length;var e;2==c?e="XY":3==c?e="XYZ":4==c&&(e="XYZM");b=e}a.xa=b;a.a=c}k.Hd=function(a){this.D&&(a(this.D,this.D,this.a),this.A())};
k.rotate=function(a,b){var c=this.na();if(c){var d=c.length,e=this.Ea(),f=c?c:[],g=Math.cos(a);a=Math.sin(a);var h=b[0];b=b[1];for(var l=0,m=0;m<d;m+=e){var n=c[m]-h,p=c[m+1]-b;f[l++]=h+n*g-p*a;f[l++]=b+n*a+p*g;for(n=m+2;n<m+e;++n)f[l++]=c[n]}c&&f.length!=l&&(f.length=l);this.A()}};
k.scale=function(a,b,c){var d=b;void 0===d&&(d=a);var e=c;e||(e=cb(this.G()));if(c=this.na()){b=c.length;var f=this.Ea(),g=c?c:[],h=e[0];e=e[1];for(var l=0,m=0;m<b;m+=f){var n=c[m]-h,p=c[m+1]-e;g[l++]=h+a*n;g[l++]=e+d*p;for(n=m+2;n<m+f;++n)g[l++]=c[n]}c&&g.length!=l&&(g.length=l);this.A()}};k.translate=function(a,b){var c=this.na();c&&(wc(c,0,c.length,this.Ea(),a,b,c),this.A())};function $d(a,b){var c=0,d;var e=0;for(d=b.length;e<d;++e)a[c++]=b[e];return c}function ae(a,b,c,d){var e;var f=0;for(e=c.length;f<e;++f){var g=c[f],h;for(h=0;h<d;++h)a[b++]=g[h]}return b}function be(a,b,c,d,e){e=e?e:[];var f=0,g;var h=0;for(g=c.length;h<g;++h)b=ae(a,b,c[h],d),e[f++]=b;e.length=f;return e};function D(a,b){Wd.call(this);this.Ba(a,b)}w(D,Wd);k=D.prototype;k.clone=function(){var a=new D(null);a.ka(this.xa,this.D.slice());return a};k.wc=function(a,b,c,d){var e=this.D;a=pa(a,b,e[0],e[1]);if(a<d){d=this.a;for(b=0;b<d;++b)c[b]=e[b];c.length=d;return a}return d};k.ca=function(){return this.D?this.D.slice():[]};k.Ff=function(a){return Oa(this.D,a)};k.U=function(){return"Point"};k.xb=function(a){return Ja(a,this.D[0],this.D[1])};
k.Ba=function(a,b){a?(Zd(this,b,a,0),this.D||(this.D=[]),this.D.length=$d(this.D,a),this.A()):this.ka("XY",null)};k.ka=function(a,b){Yd(this,a,b);this.A()};function ce(a){a=a?a:{};Sd.call(this);this.defaultDataProjection=Ib(a.defaultDataProjection?a.defaultDataProjection:"EPSG:3857")}w(ce,Sd);k=ce.prototype;k.U=function(){};k.ac=function(){};k.$a=function(){};k.Xc=function(){};k.yb=function(){};k.ld=function(){};k.ec=function(){};k.ad=function(){};function de(a){a=a?a:{};Sd.call(this);this.defaultDataProjection=Ib(a.defaultDataProjection?a.defaultDataProjection:"EPSG:3857")}w(de,Sd);k=de.prototype;k.U=function(){};k.ac=function(){};k.$a=function(){};k.Xc=function(){};k.yb=function(){};k.ld=function(){};k.ec=function(){};k.ad=function(){};function ee(a){a=a?a:{};Sd.call(this);this.defaultDataProjection=Ib(a.defaultDataProjection?a.defaultDataProjection:"EPSG:3857")}w(ee,Sd);k=ee.prototype;k.U=function(){};k.ac=function(){};k.$a=function(){};k.Xc=function(){};k.yb=function(){};k.ld=function(){};k.ec=function(){};k.ad=function(){};function fe(a,b,c,d){this.qa=a;this.za=b;this.pa=c;this.ya=d}function ge(a,b,c,d,e){return void 0!==e?(e.qa=a,e.za=b,e.pa=c,e.ya=d,e):new fe(a,b,c,d)}function he(a,b,c){return a.qa<=b&&b<=a.za&&a.pa<=c&&c<=a.ya}function ie(a,b){return a.qa==b.qa&&a.pa==b.pa&&a.za==b.za&&a.ya==b.ya}fe.prototype.La=function(){return[this.za-this.qa+1,this.ya-this.pa+1]};function je(a,b,c){void 0===c&&(c=[0,0]);c[0]=a[0]+2*b;c[1]=a[1]+2*b;return c}function ke(a,b,c){void 0===c&&(c=[0,0]);c[0]=a[0]*b+.5|0;c[1]=a[1]*b+.5|0;return c}function le(a,b){if(Array.isArray(a))return a;void 0===b?b=[a,a]:b[0]=b[1]=a;return b};function me(a,b){return a>b?1:a<b?-1:0}function ne(a,b){return 0<=a.indexOf(b)}function oe(a,b,c){var d=a.length;if(a[0]<=b)return 0;if(!(b<=a[d-1]))if(0<c)for(c=1;c<d;++c){if(a[c]<b)return c-1}else if(0>c)for(c=1;c<d;++c){if(a[c]<=b)return c}else for(c=1;c<d;++c){if(a[c]==b)return c;if(a[c]<b)return a[c-1]-b<b-a[c]?c-1:c}return d-1}function qe(a,b){var c=Array.isArray(b)?b:[b],d=c.length;for(b=0;b<d;b++)a[a.length]=c[b]}
function re(a,b){for(var c=a.length>>>0,d,e=0;e<c;e++)if(d=a[e],b(d,e,a))return d;return null}function se(a,b){var c=a.length;if(c!==b.length)return!1;for(var d=0;d<c;d++)if(a[d]!==b[d])return!1;return!0}function te(a){var b=ue,c=a.length,d=Array(a.length),e;for(e=0;e<c;e++)d[e]={index:e,value:a[e]};d.sort(function(a,c){return b(a.value,c.value)||a.index-c.index});for(e=0;e<a.length;e++)a[e]=d[e].value}function ve(a,b){var c;return a.every(function(d,e){c=e;return!b(d,e,a)})?-1:c}
function we(a,b){var c=b||me;return a.every(function(b,e){if(0===e)return!0;b=c(a[e-1],b);return!(0<b||0===b)})};function xe(a,b,c,d){return void 0!==d?(d[0]=a,d[1]=b,d[2]=c,d):[a,b,c]}function ye(a){var b=a[0],c=Array(b),d=1<<b-1,e;for(e=0;e<b;++e){var f=48;a[1]&d&&(f+=1);a[2]&d&&(f+=2);c[e]=String.fromCharCode(f);d>>=1}return c.join("")};function ze(a){this.minZoom=void 0!==a.minZoom?a.minZoom:0;this.b=a.resolutions;ia(we(this.b,function(a,b){return b-a}),17);if(!a.origins)for(var b=0,c=this.b.length-1;b<c;++b)if(!d)var d=this.b[b]/this.b[b+1];else if(this.b[b]/this.b[b+1]!==d){d=void 0;break}this.o=d;this.maxZoom=this.b.length-1;this.l=void 0!==a.origin?a.origin:null;this.c=null;void 0!==a.origins&&(this.c=a.origins,ia(this.c.length==this.b.length,20));d=a.extent;void 0===d||this.l||this.c||(this.l=Ya(d));ia(!this.l&&this.c||this.l&&
!this.c,18);this.g=null;void 0!==a.tileSizes&&(this.g=a.tileSizes,ia(this.g.length==this.b.length,19));this.s=void 0!==a.tileSize?a.tileSize:this.g?null:256;ia(!this.s&&this.g||this.s&&!this.g,22);this.C=void 0!==d?d:null;this.a=null;this.j=[0,0];void 0!==a.sizes?this.a=a.sizes.map(function(a){return new fe(Math.min(0,a[0]),Math.max(a[0]-1,-1),Math.min(0,a[1]),Math.max(a[1]-1,-1))},this):d&&Ae(this,d)}var Be=[0,0,0];k=ze.prototype;
k.gh=function(a,b,c){a=Ce(this,a,b);for(var d=a.qa,e=a.za;d<=e;++d)for(var f=a.pa,g=a.ya;f<=g;++f)c([b,d,f])};function De(a,b,c,d,e){var f=null,g=b[0]-1;if(2===a.o){var h=b[1];var l=b[2]}else f=a.ib(b,e);for(;g>=a.minZoom;){2===a.o?(h=Math.floor(h/2),l=Math.floor(l/2),b=ge(h,h,l,l,d)):b=Ce(a,f,g,d);if(c.call(null,g,b))return!0;--g}return!1}k.G=function(){return this.C};k.Bk=function(){return this.maxZoom};k.Ck=function(){return this.minZoom};k.Bd=function(a){return this.l?this.l:this.c[a]};k.la=function(a){return this.b[a]};
k.Dk=function(){return this.b};function Ee(a,b,c,d){if(b[0]<a.maxZoom){if(2===a.o)return a=2*b[1],b=2*b[2],ge(a,a+1,b,b+1,c);d=a.ib(b,d);return Ce(a,d,b[0]+1,c)}return null}function Fe(a,b,c){var d=a.Bd(b),e=a.la(b);a=le(a.wb(b),a.j);return Ma(d[0]+c.qa*a[0]*e,d[1]+c.pa*a[1]*e,d[0]+(c.za+1)*a[0]*e,d[1]+(c.ya+1)*a[1]*e,void 0)}function Ce(a,b,c,d){Ge(a,b[0],b[1],c,!1,Be);var e=Be[1],f=Be[2];Ge(a,b[2],b[3],c,!0,Be);return ge(e,Be[1],f,Be[2],d)}
function He(a,b){var c=a.Bd(b[0]),d=a.la(b[0]);a=le(a.wb(b[0]),a.j);return[c[0]+(b[1]+.5)*a[0]*d,c[1]+(b[2]+.5)*a[1]*d]}k.ib=function(a,b){var c=this.Bd(a[0]),d=this.la(a[0]),e=le(this.wb(a[0]),this.j),f=c[0]+a[1]*e[0]*d;a=c[1]+a[2]*e[1]*d;return Ma(f,a,f+e[0]*d,a+e[1]*d,b)};
k.Xf=function(a,b,c){var d=a[0],e=a[1];a=this.wd(b);var f=b/this.la(a),g=this.Bd(a),h=le(this.wb(a),this.j);d=f*Math.floor((d-g[0])/b+0)/h[0];b=f*Math.floor((e-g[1])/b+.5)/h[1];d=Math.floor(d);b=Math.floor(b);return xe(a,d,b,c)};function Ge(a,b,c,d,e,f){var g=a.Bd(d),h=a.la(d);a=le(a.wb(d),a.j);b=Math.floor((b-g[0])/h+(e?.5:0))/a[0];c=Math.floor((c-g[1])/h+(e?0:.5))/a[1];e?(b=Math.ceil(b)-1,c=Math.ceil(c)-1):(b=Math.floor(b),c=Math.floor(c));return xe(d,b,c,f)}
k.xh=function(a,b,c){return Ge(this,a[0],a[1],b,!1,c)};k.wb=function(a){return this.s?this.s:this.g[a]};k.wd=function(a,b){return ja(oe(this.b,a,b||0),this.minZoom,this.maxZoom)};function Ae(a,b){for(var c=a.b.length,d=Array(c),e=a.minZoom;e<c;++e)d[e]=Ce(a,b,e);a.a=d};function Ie(a){var b=a.j;b||(b=Je(a),a.j=b);return b}function Ke(a){var b={};zb(b,void 0!==a?a:{});void 0===b.extent&&(b.extent=Ib("EPSG:3857").G());b.resolutions=Le(b.extent,b.maxZoom,b.tileSize);delete b.maxZoom;return new ze(b)}function Le(a,b,c){b=void 0!==b?b:42;var d=bb(a);a=ab(a);c=le(void 0!==c?c:256);c=Math.max(a/c[0],d/c[1]);b+=1;d=Array(b);for(a=0;a<b;++a)d[a]=c/Math.pow(2,a);return d}
function Je(a,b,c){a=Me(a);b=Le(a,b,c);return new ze({extent:a,origin:Ya(a),resolutions:b,tileSize:c})}function Me(a){a=Ib(a);var b=a.G();b||(a=180*ib.degrees/a.fd(),b=Ma(-a,-a,a,a));return b};function Ne(a){this.Ah=a.html}Ne.prototype.b=function(){return this.Ah};function Pe(a,b){oc.call(this);this.c=!!(b||{}).unique;this.a=a?a:[];if(this.c)for(a=0,b=this.a.length;a<b;++a)Qe(this,this.a[a],a);Re(this)}w(Pe,oc);k=Pe.prototype;k.clear=function(){for(;0<this.Cb();)this.pop()};k.Dh=function(a){var b;var c=0;for(b=a.length;c<b;++c)this.push(a[c]);return this};k.forEach=function(a,b){a=b?a.bind(b):a;b=this.a;for(var c=0,d=b.length;c<d;++c)a(b[c],c,b)};k.Go=function(){return this.a};k.item=function(a){return this.a[a]};k.Cb=function(){return this.get(Se)};
k.dg=function(a,b){this.c&&Qe(this,b);this.a.splice(a,0,b);Re(this);this.b(new Te("add",b))};k.pop=function(){return this.li(this.Cb()-1)};k.push=function(a){this.c&&Qe(this,a);var b=this.Cb();this.dg(b,a);return this.Cb()};k.remove=function(a){var b=this.a,c;var d=0;for(c=b.length;d<c;++d)if(b[d]===a)return this.li(d)};k.li=function(a){var b=this.a[a];this.a.splice(a,1);Re(this);this.b(new Te("remove",b));return b};
k.$r=function(a,b){var c=this.Cb();if(a<c)this.c&&Qe(this,b,a),c=this.a[a],this.a[a]=b,this.b(new Te("remove",c)),this.b(new Te("add",b));else{for(;c<a;++c)this.dg(c,void 0);this.dg(a,b)}};function Re(a){a.set(Se,a.a.length)}function Qe(a,b,c){for(var d=0,e=a.a.length;d<e;++d)if(a.a[d]===b&&d!==c)throw new fa(58);}var Se="length";function Te(a,b){jc.call(this,a);this.element=b}w(Te,jc);function Ue(a,b,c){jc.call(this,a);this.map=b;this.frameState=void 0!==c?c:null}w(Ue,jc);function Ve(a,b,c,d,e){Ue.call(this,a,b,e);this.originalEvent=c;this.pixel=b.Md(c);this.coordinate=b.hb(this.pixel);this.dragging=void 0!==d?d:!1}w(Ve,Ue);Ve.prototype.preventDefault=function(){Ue.prototype.preventDefault.call(this);this.originalEvent.preventDefault()};Ve.prototype.stopPropagation=function(){Ue.prototype.stopPropagation.call(this);this.originalEvent.stopPropagation()};var We={Us:"singleclick",Js:"click",Ks:"dblclick",Ns:"pointerdrag",Qs:"pointermove",Ms:"pointerdown",Ts:"pointerup",Ss:"pointerover",Rs:"pointerout",Os:"pointerenter",Ps:"pointerleave",Ls:"pointercancel"};function Xe(a,b,c,d,e){Ve.call(this,a,b,c.originalEvent,d,e);this.b=c}w(Xe,Ve);function Ye(a,b){this.b=a;this.g=b};function Ze(a){Ye.call(this,a,{mousedown:this.qo,mousemove:this.ro,mouseup:this.vo,mouseover:this.uo,mouseout:this.to});this.a=a.l;this.l=[]}w(Ze,Ye);function $e(a,b){a=a.l;var c=b.clientX;b=b.clientY;for(var d=0,e=a.length,f;d<e&&(f=a[d]);d++){var g=Math.abs(b-f[1]);if(25>=Math.abs(c-f[0])&&25>=g)return!0}return!1}function af(a){var b=cf(a,a),c=b.preventDefault;b.preventDefault=function(){a.preventDefault();c()};b.pointerId=1;b.isPrimary=!0;b.pointerType="mouse";return b}k=Ze.prototype;
k.qo=function(a){if(!$e(this,a)){(1).toString()in this.a&&this.cancel(a);var b=af(a);this.a[(1).toString()]=a;ef(this.b,"pointerdown",b,a)}};k.ro=function(a){if(!$e(this,a)){var b=af(a);ef(this.b,"pointermove",b,a)}};k.vo=function(a){if(!$e(this,a)){var b=this.a[(1).toString()];b&&b.button===a.button&&(b=af(a),ef(this.b,"pointerup",b,a),delete this.a[(1).toString()])}};k.uo=function(a){if(!$e(this,a)){var b=af(a);ff(this.b,b,a)}};k.to=function(a){if(!$e(this,a)){var b=af(a);gf(this.b,b,a)}};
k.cancel=function(a){var b=af(a);this.b.cancel(b,a);delete this.a[(1).toString()]};function hf(a){Ye.call(this,a,{MSPointerDown:this.Ao,MSPointerMove:this.Bo,MSPointerUp:this.Eo,MSPointerOut:this.Co,MSPointerOver:this.Do,MSPointerCancel:this.zo,MSGotPointerCapture:this.xo,MSLostPointerCapture:this.yo});this.a=a.l;this.l=["","unavailable","touch","pen","mouse"]}w(hf,Ye);function jf(a,b){var c=b;"number"===typeof b.pointerType&&(c=cf(b,b),c.pointerType=a.l[b.pointerType]);return c}k=hf.prototype;
k.Ao=function(a){this.a[a.pointerId.toString()]=a;var b=jf(this,a);ef(this.b,"pointerdown",b,a)};k.Bo=function(a){var b=jf(this,a);ef(this.b,"pointermove",b,a)};k.Eo=function(a){var b=jf(this,a);ef(this.b,"pointerup",b,a);delete this.a[a.pointerId.toString()]};k.Co=function(a){var b=jf(this,a);gf(this.b,b,a)};k.Do=function(a){var b=jf(this,a);ff(this.b,b,a)};k.zo=function(a){var b=jf(this,a);this.b.cancel(b,a);delete this.a[a.pointerId.toString()]};
k.yo=function(a){this.b.b(new kf("lostpointercapture",a,a))};k.xo=function(a){this.b.b(new kf("gotpointercapture",a,a))};function lf(a){Ye.call(this,a,{pointerdown:this.Wq,pointermove:this.Xq,pointerup:this.$q,pointerout:this.Yq,pointerover:this.Zq,pointercancel:this.Vq,gotpointercapture:this.wn,lostpointercapture:this.no})}w(lf,Ye);k=lf.prototype;k.Wq=function(a){mf(this.b,a)};k.Xq=function(a){mf(this.b,a)};k.$q=function(a){mf(this.b,a)};k.Yq=function(a){mf(this.b,a)};k.Zq=function(a){mf(this.b,a)};k.Vq=function(a){mf(this.b,a)};k.no=function(a){mf(this.b,a)};k.wn=function(a){mf(this.b,a)};function kf(a,b,c){jc.call(this,a);this.originalEvent=b;a=c?c:{};this.buttons=nf(a);this.pressure=of(a,this.buttons);this.bubbles="bubbles"in a?a.bubbles:!1;this.cancelable="cancelable"in a?a.cancelable:!1;this.view="view"in a?a.view:null;this.detail="detail"in a?a.detail:null;this.screenX="screenX"in a?a.screenX:0;this.screenY="screenY"in a?a.screenY:0;this.clientX="clientX"in a?a.clientX:0;this.clientY="clientY"in a?a.clientY:0;this.ctrlKey="ctrlKey"in a?a.ctrlKey:!1;this.altKey="altKey"in a?a.altKey:
!1;this.shiftKey="shiftKey"in a?a.shiftKey:!1;this.metaKey="metaKey"in a?a.metaKey:!1;this.button="button"in a?a.button:0;this.relatedTarget="relatedTarget"in a?a.relatedTarget:null;this.pointerId="pointerId"in a?a.pointerId:0;this.width="width"in a?a.width:0;this.height="height"in a?a.height:0;this.tiltX="tiltX"in a?a.tiltX:0;this.tiltY="tiltY"in a?a.tiltY:0;this.pointerType="pointerType"in a?a.pointerType:"";this.isPrimary="isPrimary"in a?a.isPrimary:!1;b.preventDefault&&(this.preventDefault=function(){b.preventDefault()})}
w(kf,jc);function nf(a){if(a.buttons||pf)a=a.buttons;else switch(a.which){case 1:a=1;break;case 2:a=4;break;case 3:a=2;break;default:a=0}return a}function of(a,b){var c=0;a.pressure?c=a.pressure:c=b?.5:0;return c}var pf=!1;try{pf=1===(new MouseEvent("click",{buttons:1})).buttons}catch(a){};function qf(a,b){Ye.call(this,a,{touchstart:this.Cs,touchmove:this.Bs,touchend:this.As,touchcancel:this.zs});this.a=a.l;this.s=b;this.l=void 0;this.j=0;this.c=void 0}w(qf,Ye);k=qf.prototype;k.Uk=function(){this.j=0;this.c=void 0};
function rf(a,b,c){b=cf(b,c);b.pointerId=c.identifier+2;b.bubbles=!0;b.cancelable=!0;b.detail=a.j;b.button=0;b.buttons=1;b.width=c.webkitRadiusX||c.radiusX||0;b.height=c.webkitRadiusY||c.radiusY||0;b.pressure=c.webkitForce||c.force||.5;b.isPrimary=a.l===c.identifier;b.pointerType="touch";b.clientX=c.clientX;b.clientY=c.clientY;b.screenX=c.screenX;b.screenY=c.screenY;return b}
function sf(a,b,c){function d(){b.preventDefault()}var e=Array.prototype.slice.call(b.changedTouches),f=e.length,g;for(g=0;g<f;++g){var h=rf(a,b,e[g]);h.preventDefault=d;c.call(a,b,h)}}
k.Cs=function(a){var b=a.touches,c=Object.keys(this.a),d=c.length;if(d>=b.length){var e=[],f;for(f=0;f<d;++f){var g=c[f];var h=this.a[g];var l;if(!(l=1==g))a:{for(var m=b.length,n=0;n<m;n++)if(l=b[n],l.identifier===g-2){l=!0;break a}l=!1}l||e.push(h.out)}for(f=0;f<e.length;++f)this.Vg(a,e[f])}b=a.changedTouches[0];c=Object.keys(this.a).length;if(0===c||1===c&&(1).toString()in this.a)this.l=b.identifier,void 0!==this.c&&clearTimeout(this.c);tf(this,a);this.j++;sf(this,a,this.Rq)};
k.Rq=function(a,b){this.a[b.pointerId]={target:b.target,out:b,Ek:b.target};var c=this.b;b.bubbles=!0;ef(c,"pointerover",b,a);c=this.b;b.bubbles=!1;ef(c,"pointerenter",b,a);ef(this.b,"pointerdown",b,a)};k.Bs=function(a){a.preventDefault();sf(this,a,this.wo)};
k.wo=function(a,b){var c=this.a[b.pointerId];if(c){var d=c.out,e=c.Ek;ef(this.b,"pointermove",b,a);d&&e!==b.target&&(d.relatedTarget=b.target,b.relatedTarget=e,d.target=e,b.target?(gf(this.b,d,a),ff(this.b,b,a)):(b.target=e,b.relatedTarget=null,this.Vg(a,b)));c.out=b;c.Ek=b.target}};k.As=function(a){tf(this,a);sf(this,a,this.Ds)};
k.Ds=function(a,b){ef(this.b,"pointerup",b,a);this.b.out(b,a);uf(this.b,b,a);delete this.a[b.pointerId];b.isPrimary&&(this.l=void 0,this.c=setTimeout(this.Uk.bind(this),200))};k.zs=function(a){sf(this,a,this.Vg)};k.Vg=function(a,b){this.b.cancel(b,a);this.b.out(b,a);uf(this.b,b,a);delete this.a[b.pointerId];b.isPrimary&&(this.l=void 0,this.c=setTimeout(this.Uk.bind(this),200))};
function tf(a,b){var c=a.s.l;b=b.changedTouches[0];if(a.l===b.identifier){var d=[b.clientX,b.clientY];c.push(d);setTimeout(function(){var a=c.indexOf(d);-1<a&&c.splice(a,1)},2500)}};function vf(a){lc.call(this);this.j=a;this.l={};this.g={};this.a=[];id?xf(this,new lf(this)):jd?xf(this,new hf(this)):(a=new Ze(this),xf(this,a),hd&&xf(this,new qf(this,a)));a=this.a.length;for(var b,c=0;c<a;c++)b=this.a[c],zf(this,Object.keys(b.g))}w(vf,lc);function xf(a,b){var c=Object.keys(b.g);c&&(c.forEach(function(a){var c=b.g[a];c&&(this.g[a]=c.bind(b))},a),a.a.push(b))}vf.prototype.c=function(a){var b=this.g[a.type];b&&b(a)};
function zf(a,b){b.forEach(function(a){A(this.j,a,this.c,this)},a)}function Af(a,b){b.forEach(function(a){fc(this.j,a,this.c,this)},a)}function cf(a,b){for(var c={},d,e=0,f=Bf.length;e<f;e++)d=Bf[e][0],c[d]=a[d]||b[d]||Bf[e][1];return c}function uf(a,b,c){b.bubbles=!1;ef(a,"pointerleave",b,c)}vf.prototype.out=function(a,b){a.bubbles=!0;ef(this,"pointerout",a,b)};vf.prototype.cancel=function(a,b){ef(this,"pointercancel",a,b)};
function gf(a,b,c){a.out(b,c);var d=b.target,e=b.relatedTarget;d&&e&&d.contains(e)||uf(a,b,c)}function ff(a,b,c){b.bubbles=!0;ef(a,"pointerover",b,c);var d=b.target,e=b.relatedTarget;d&&e&&d.contains(e)||(b.bubbles=!1,ef(a,"pointerenter",b,c))}function ef(a,b,c,d){a.b(new kf(b,d,c))}function mf(a,b){a.b(new kf(b.type,b,b))}vf.prototype.sa=function(){for(var a=this.a.length,b,c=0;c<a;c++)b=this.a[c],Af(this,Object.keys(b.g));lc.prototype.sa.call(this)};
var Bf=[["bubbles",!1],["cancelable",!1],["view",null],["detail",null],["screenX",0],["screenY",0],["clientX",0],["clientY",0],["ctrlKey",!1],["altKey",!1],["shiftKey",!1],["metaKey",!1],["button",0],["relatedTarget",null],["buttons",0],["pointerId",0],["width",0],["height",0],["pressure",0],["tiltX",0],["tiltY",0],["pointerType",""],["hwTimestamp",0],["isPrimary",!1],["type",""],["target",null],["currentTarget",null],["which",0]];function Cf(a,b){lc.call(this);this.l=a;this.s=0;this.o=!1;this.g=[];this.L=b?b*cd:cd;this.c=null;a=this.l.Ca;this.B=0;this.C={};this.j=new vf(a);this.a=null;this.u=A(this.j,"pointerdown",this.Qn,this);this.H=A(this.j,"pointermove",this.zr,this)}w(Cf,lc);function Df(a,b){var c=new Xe("click",a.l,b);a.b(c);0!==a.s?(clearTimeout(a.s),a.s=0,c=new Xe("dblclick",a.l,b),a.b(c)):a.s=setTimeout(function(){this.s=0;var a=new Xe("singleclick",this.l,b);this.b(a)}.bind(a),250)}
function Ef(a,b){"pointerup"==b.type||"pointercancel"==b.type?delete a.C[b.pointerId]:"pointerdown"==b.type&&(a.C[b.pointerId]=!0);a.B=Object.keys(a.C).length}k=Cf.prototype;k.oj=function(a){Ef(this,a);var b=new Xe("pointerup",this.l,a);this.b(b);b.Ik||this.o||0!==a.button||Df(this,this.c);0===this.B&&(this.g.forEach($b),this.g.length=0,this.o=!1,this.c=null,this.a.Ab(),this.a=null)};
k.Qn=function(a){Ef(this,a);var b=new Xe("pointerdown",this.l,a);this.b(b);this.c=a;0===this.g.length&&(this.a=new vf(document),this.g.push(A(this.a,"pointermove",this.Ro,this),A(this.a,"pointerup",this.oj,this),A(this.j,"pointercancel",this.oj,this)))};k.Ro=function(a){if(Ff(this,a)){this.o=!0;var b=new Xe("pointerdrag",this.l,a,this.o);this.b(b)}a.preventDefault()};k.zr=function(a){this.b(new Xe(a.type,this.l,a,!(!this.c||!Ff(this,a))))};
function Ff(a,b){return Math.abs(b.clientX-a.c.clientX)>a.L||Math.abs(b.clientY-a.c.clientY)>a.L}k.sa=function(){this.H&&($b(this.H),this.H=null);this.u&&($b(this.u),this.u=null);this.g.forEach($b);this.g.length=0;this.a&&(this.a.Ab(),this.a=null);this.j&&(this.j.Ab(),this.j=null);lc.prototype.sa.call(this)};function Gf(a,b){this.u=a;this.c=b;this.b=[];this.l=[];this.a={}}Gf.prototype.clear=function(){this.b.length=0;this.l.length=0;Ab(this.a)};function Hf(a){var b=a.b,c=a.l,d=b[0];1==b.length?(b.length=0,c.length=0):(b[0]=b.pop(),c[0]=c.pop(),If(a,0));b=a.c(d);delete a.a[b];return d}Gf.prototype.g=function(a){ia(!(this.c(a)in this.a),31);var b=this.u(a);return Infinity!=b?(this.b.push(a),this.l.push(b),this.a[this.c(a)]=!0,Jf(this,0,this.b.length-1),!0):!1};
function If(a,b){for(var c=a.b,d=a.l,e=c.length,f=c[b],g=d[b],h=b;b<e>>1;){var l=2*b+1,m=2*b+2;l=m<e&&d[m]<d[l]?m:l;c[b]=c[l];d[b]=d[l];b=l}c[b]=f;d[b]=g;Jf(a,h,b)}function Jf(a,b,c){var d=a.b;a=a.l;for(var e=d[c],f=a[c];c>b;){var g=c-1>>1;if(a[g]>f)d[c]=d[g],a[c]=a[g],c=g;else break}d[c]=e;a[c]=f}
function Kf(a){var b=a.u,c=a.b,d=a.l,e=0,f=c.length,g;for(g=0;g<f;++g){var h=c[g];var l=b(h);Infinity==l?delete a.a[a.c(h)]:(d[e]=l,c[e++]=h)}c.length=e;d.length=e;for(b=(a.b.length>>1)-1;0<=b;b--)If(a,b)};function Lf(a,b){Gf.call(this,function(b){return a.apply(null,b)},function(a){return a[0].Mb()});this.H=b;this.s=0;this.j={}}w(Lf,Gf);Lf.prototype.g=function(a){var b=Gf.prototype.g.call(this,a);b&&A(a[0],"change",this.o,this);return b};Lf.prototype.o=function(a){a=a.target;var b=a.getState();if(2===b||3===b||4===b||5===b)fc(a,"change",this.o,this),a=a.Mb(),a in this.j&&(delete this.j[a],--this.s),this.H()};
function Mf(a,b,c){for(var d=0,e=!1,f,g,h;a.s<b&&d<c&&0<a.b.length;)g=Hf(a)[0],h=g.Mb(),f=g.getState(),5===f?e=!0:0!==f||h in a.j||(a.j[h]=!0,++a.s,++d,g.load());0===d&&e&&a.H()};function Nf(a){return function(b){if(b)return[ja(b[0],a[0],a[2]),ja(b[1],a[1],a[3])]}}function Of(a){return a};function Pf(a){return function(b,c,d){if(void 0!==b)return b=oe(a,b,d),b=ja(b+c,0,a.length-1),c=Math.floor(b),b!=c&&c<a.length-1?a[c]/Math.pow(a[c]/a[c+1],b-c):a[c]}}function Qf(a,b,c){return function(d,e,f){if(void 0!==d)return d=Math.max(Math.floor(Math.log(b/d)/Math.log(a)+(-f/2+.5))+e,0),void 0!==c&&(d=Math.min(d,c)),b/Math.pow(a,d)}};function Rf(a){if(void 0!==a)return 0}function Sf(a,b){if(void 0!==a)return a+b}function Tf(a){var b=2*Math.PI/a;return function(a,d){if(void 0!==a)return a=Math.floor((a+d)/b+.5)*b}}function Uf(){var a=qa(5);return function(b,c){if(void 0!==b)return Math.abs(b+c)<=a?0:b+c}};function Vf(a,b){a=void 0!==b?a.toFixed(b):""+a;b=a.indexOf(".");b=-1===b?a.length:b;return 2<b?a:Array(3-b).join("0")+a}function Wf(a){a=(""+a).split(".");for(var b=["1","3"],c=0;c<Math.max(a.length,b.length);c++){var d=parseInt(a[c]||"0",10),e=parseInt(b[c]||"0",10);if(d>e)return 1;if(e>d)return-1}return 0};function Xf(a,b){a[0]+=b[0];a[1]+=b[1];return a}function Yf(a,b){var c=b.Ce(),d=b.Da();b=d[0];d=d[1];var e=a[0]-b;a=a[1]-d;0===e&&0===a&&(e=1);var f=Math.sqrt(e*e+a*a);return[b+c*e/f,d+c*a/f]}function Zf(a,b){var c=a[0];a=a[1];var d=b[0],e=b[1];b=d[0];d=d[1];var f=e[0];e=e[1];var g=f-b,h=e-d;c=0===g&&0===h?0:(g*(c-b)+h*(a-d))/(g*g+h*h||0);0>=c?(a=b,c=d):1<=c?(a=f,c=e):(a=b+c*g,c=d+c*h);return[a,c]}
function $f(a,b,c){b=sa(b+180,360)-180;var d=Math.abs(3600*b);c=c||0;var e=Math.pow(10,c),f=Math.floor(d/3600),g=Math.floor((d-3600*f)/60);d=Math.ceil((d-3600*f-60*g)*e)/e;60<=d&&(d=0,g+=1);60<=g&&(g=0,f+=1);return f+"\u00b0 "+Vf(g)+"\u2032 "+Vf(d,c)+"\u2033"+(0==b?"":" "+a.charAt(0>b?1:0))}function ag(a,b,c){return a?b.replace("{x}",a[0].toFixed(c)).replace("{y}",a[1].toFixed(c)):""}function bg(a,b){for(var c=!0,d=a.length-1;0<=d;--d)if(a[d]!=b[d]){c=!1;break}return c}
function cg(a,b){var c=Math.cos(b);b=Math.sin(b);var d=a[1]*c+a[0]*b;a[0]=a[0]*c-a[1]*b;a[1]=d;return a}function fg(a,b){a[0]*=b;a[1]*=b}function gg(a,b){var c=a[0]-b[0];a=a[1]-b[1];return c*c+a*a}function hg(a,b){return Math.sqrt(gg(a,b))}function ig(a,b){return gg(a,Zf(a,b))}function jg(a,b){return ag(a,"{x}, {y}",b)};function kg(a){return Math.pow(a,3)}function lg(a){return 1-kg(1-a)}function mg(a){return 3*a*a-2*a*a*a}function ng(a){return a};function og(a,b,c,d){for(var e=0,f=a[c-d],g=a[c-d+1];b<c;b+=d){var h=a[b],l=a[b+1];e+=g*h-f*l;f=h;g=l}return e/2}function pg(a,b,c,d){var e=0,f;var g=0;for(f=c.length;g<f;++g){var h=c[g];e+=og(a,b,h,d);b=h}return e};function qg(a,b,c,d,e,f,g){var h=a[b],l=a[b+1],m=a[c]-h,n=a[c+1]-l;if(0!==m||0!==n)if(f=((e-h)*m+(f-l)*n)/(m*m+n*n),1<f)b=c;else if(0<f){for(e=0;e<d;++e)g[e]=ta(a[b+e],a[c+e],f);g.length=d;return}for(e=0;e<d;++e)g[e]=a[b+e];g.length=d}function rg(a,b,c,d,e){var f=a[b],g=a[b+1];for(b+=d;b<c;b+=d){var h=a[b],l=a[b+1];f=pa(f,g,h,l);f>e&&(e=f);f=h;g=l}return e}function sg(a,b,c,d,e){var f;var g=0;for(f=c.length;g<f;++g){var h=c[g];e=rg(a,b,h,d,e);b=h}return e}
function tg(a,b,c,d,e,f,g,h,l,m,n){if(b==c)return m;if(0===e){var p=pa(g,h,a[b],a[b+1]);if(p<m){for(n=0;n<d;++n)l[n]=a[b+n];l.length=d;return p}return m}for(var q=n?n:[NaN,NaN],r=b+d;r<c;)if(qg(a,r-d,r,d,g,h,q),p=pa(g,h,q[0],q[1]),p<m){m=p;for(n=0;n<d;++n)l[n]=q[n];l.length=d;r+=d}else r+=d*Math.max((Math.sqrt(p)-Math.sqrt(m))/e|0,1);if(f&&(qg(a,c-d,b,d,g,h,q),p=pa(g,h,q[0],q[1]),p<m)){m=p;for(n=0;n<d;++n)l[n]=q[n];l.length=d}return m}
function ug(a,b,c,d,e,f,g,h,l,m,n){n=n?n:[NaN,NaN];var p;var q=0;for(p=c.length;q<p;++q){var r=c[q];m=tg(a,b,r,d,e,f,g,h,l,m,n);b=r}return m};function vg(a,b,c,d,e){e=void 0!==e?e:[];for(var f=0;b<c;b+=d)e[f++]=a.slice(b,b+d);e.length=f;return e}function wg(a,b,c,d,e){e=void 0!==e?e:[];var f=0,g;var h=0;for(g=c.length;h<g;++h){var l=c[h];e[f++]=vg(a,b,l,d,e[f]);b=l}e.length=f;return e}function xg(a,b,c,d,e){e=void 0!==e?e:[];var f=0,g;var h=0;for(g=c.length;h<g;++h){var l=c[h];e[f++]=wg(a,b,l,d,e[f]);b=l[l.length-1]}e.length=f;return e};function yg(a,b,c,d,e,f,g){var h=(c-b)/d;if(3>h){for(;b<c;b+=d)f[g++]=a[b],f[g++]=a[b+1];return g}var l=Array(h);l[0]=1;l[h-1]=1;c=[b,c-d];for(var m=0,n;0<c.length;){var p=c.pop(),q=c.pop(),r=0,u=a[q],v=a[q+1],y=a[p],z=a[p+1];for(n=q+d;n<p;n+=d){var E=oa(a[n],a[n+1],u,v,y,z);E>r&&(m=n,r=E)}r>e&&(l[(m-b)/d]=1,q+d<m&&c.push(q,m),m+d<p&&c.push(m,p))}for(n=0;n<h;++n)l[n]&&(f[g++]=a[b+n*d],f[g++]=a[b+n*d+1]);return g}
function zg(a,b,c,d,e,f,g,h){var l;var m=0;for(l=c.length;m<l;++m){var n=c[m];a:{var p=a,q=n,r=d,u=e,v=f,y=g;if(b!=q){var z=u*Math.round(p[b]/u),E=u*Math.round(p[b+1]/u);b+=r;v[y++]=z;v[y++]=E;do{var M=u*Math.round(p[b]/u);g=u*Math.round(p[b+1]/u);b+=r;if(b==q){v[y++]=M;v[y++]=g;g=y;break a}}while(M==z&&g==E);for(;b<q;){var Xa=u*Math.round(p[b]/u);var ra=u*Math.round(p[b+1]/u);b+=r;if(Xa!=M||ra!=g){var wa=M-z,ka=g-E,ma=Xa-z,Aa=ra-E;wa*Aa==ka*ma&&(0>wa&&ma<wa||wa==ma||0<wa&&ma>wa)&&(0>ka&&Aa<ka||ka==
Aa||0<ka&&Aa>ka)||(v[y++]=M,v[y++]=g,z=M,E=g);M=Xa;g=ra}}v[y++]=M;v[y++]=g}g=y}h.push(g);b=n}return g};function Ag(a,b){Wd.call(this);this.c=this.s=-1;this.Ba(a,b)}w(Ag,Wd);k=Ag.prototype;k.clone=function(){var a=new Ag(null);Bg(a,this.xa,this.D.slice());return a};k.wc=function(a,b,c,d){if(d<Ha(this.G(),a,b))return d;this.c!=this.l&&(this.s=Math.sqrt(rg(this.D,0,this.D.length,this.a,0)),this.c=this.l);return tg(this.D,0,this.D.length,this.a,this.s,!0,a,b,c,d)};k.rp=function(){return og(this.D,0,this.D.length,this.a)};k.ca=function(){return vg(this.D,0,this.D.length,this.a)};
k.we=function(a){var b=[];b.length=yg(this.D,0,this.D.length,this.a,a,b,0);a=new Ag(null);Bg(a,"XY",b);return a};k.U=function(){return"LinearRing"};k.xb=function(){};k.Ba=function(a,b){a?(Zd(this,b,a,1),this.D||(this.D=[]),this.D.length=ae(this.D,0,a,this.a),this.A()):Bg(this,"XY",null)};function Bg(a,b,c){Yd(a,b,c);a.A()};function Cg(a,b,c,d,e){return!Ta(e,function(e){return!Dg(a,b,c,d,e[0],e[1])})}function Dg(a,b,c,d,e,f){for(var g=0,h=a[c-d],l=a[c-d+1];b<c;b+=d){var m=a[b],n=a[b+1];l<=f?n>f&&0<(m-h)*(f-l)-(e-h)*(n-l)&&g++:n<=f&&0>(m-h)*(f-l)-(e-h)*(n-l)&&g--;h=m;l=n}return 0!==g}function Eg(a,b,c,d,e,f){if(0===c.length||!Dg(a,b,c[0],d,e,f))return!1;var g;b=1;for(g=c.length;b<g;++b)if(Dg(a,c[b-1],c[b],d,e,f))return!1;return!0};function Fg(a,b,c,d,e,f,g){for(var h,l,m,n,p,q=e[f+1],r=[],u=0,v=c.length;u<v;++u){var y=c[u];m=a[y-d];p=a[y-d+1];for(h=b;h<y;h+=d){n=a[h];l=a[h+1];if(q<=p&&l<=q||p<=q&&q<=l)m=(q-p)/(l-p)*(n-m)+m,r.push(m);m=n;p=l}}u=NaN;v=-Infinity;r.sort(me);m=r[0];h=1;for(l=r.length;h<l;++h)n=r[h],y=Math.abs(n-m),y>v&&(m=(m+n)/2,Eg(a,b,c,d,m,q)&&(u=m,v=y)),m=n;isNaN(u)&&(u=e[f]);return g?(g.push(u,q,v),g):[u,q,v]};function Hg(a,b,c,d,e,f){for(var g=[a[b],a[b+1]],h=[],l;b+d<c;b+=d){h[0]=a[b+d];h[1]=a[b+d+1];if(l=e.call(f,g,h))return l;g[0]=h[0];g[1]=h[1]}return!1};function Mg(a,b,c,d,e){var f=Qa(Da(),a,b,c,d);return fb(e,f)?Ka(e,f)||f[0]>=e[0]&&f[2]<=e[2]||f[1]>=e[1]&&f[3]<=e[3]?!0:Hg(a,b,c,d,function(a,b){var c=!1,d=La(e,a),f=La(e,b);if(1===d||1===f)c=!0;else{var g=e[0],h=e[1],r=e[2],u=e[3],v=b[0];b=b[1];a=(b-a[1])/(v-a[0]);f&2&&!(d&2)&&(c=v-(b-u)/a,c=c>=g&&c<=r);c||!(f&4)||d&4||(c=b-(v-r)*a,c=c>=h&&c<=u);c||!(f&8)||d&8||(c=v-(b-h)/a,c=c>=g&&c<=r);c||!(f&16)||d&16||(c=b-(v-g)*a,c=c>=h&&c<=u)}return c}):!1}
function Ng(a,b,c,d,e){var f=c[0];if(!(Mg(a,b,f,d,e)||Dg(a,b,f,d,e[0],e[1])||Dg(a,b,f,d,e[0],e[3])||Dg(a,b,f,d,e[2],e[1])||Dg(a,b,f,d,e[2],e[3])))return!1;if(1===c.length)return!0;b=1;for(f=c.length;b<f;++b)if(Cg(a,c[b-1],c[b],d,e))return!1;return!0};function Og(a,b,c,d){for(var e=0,f=a[c-d],g=a[c-d+1];b<c;b+=d){var h=a[b],l=a[b+1];e+=(h-f)*(l+g);f=h;g=l}return 0<e}function Pg(a,b,c,d){var e=0;d=void 0!==d?d:!1;var f;var g=0;for(f=b.length;g<f;++g){var h=b[g];e=Og(a,e,h,c);if(0===g){if(d&&e||!d&&!e)return!1}else if(d&&!e||!d&&e)return!1;e=h}return!0}
function Qg(a,b,c,d,e){e=void 0!==e?e:!1;var f;var g=0;for(f=c.length;g<f;++g){var h=c[g],l=Og(a,b,h,d);if(0===g?e&&l||!e&&!l:e&&!l||!e&&l){l=a;for(var m=h,n=d;b<m-n;){var p;for(p=0;p<n;++p){var q=l[b+p];l[b+p]=l[m-n+p];l[m-n+p]=q}b+=n;m-=n}}b=h}return b}function Rg(a,b,c,d){var e=0,f;var g=0;for(f=b.length;g<f;++g)e=Qg(a,e,b[g],c,d);return e};function F(a,b){Wd.call(this);this.c=[];this.B=-1;this.L=null;this.aa=this.R=this.O=-1;this.s=null;this.Ba(a,b)}w(F,Wd);k=F.prototype;k.Qi=function(a){this.D?qe(this.D,a.na()):this.D=a.na().slice();this.c.push(this.D.length);this.A()};k.clone=function(){var a=new F(null);a.ka(this.xa,this.D.slice(),this.c.slice());return a};
k.wc=function(a,b,c,d){if(d<Ha(this.G(),a,b))return d;this.R!=this.l&&(this.O=Math.sqrt(sg(this.D,0,this.c,this.a,0)),this.R=this.l);return ug(this.D,0,this.c,this.a,this.O,!0,a,b,c,d)};k.Ud=function(a,b){return Eg(this.Wc(),0,this.c,this.a,a,b)};k.Yj=function(){return pg(this.Wc(),0,this.c,this.a)};k.ca=function(a){if(void 0!==a){var b=this.Wc().slice();Qg(b,0,this.c,this.a,a)}else b=this.D;return wg(b,0,this.c,this.a)};k.Jb=function(){return this.c};
k.Re=function(){if(this.B!=this.l){var a=cb(this.G());this.L=Fg(this.Wc(),0,this.c,this.a,a,0);this.B=this.l}return this.L};k.hj=function(){return new D(this.Re(),"XYM")};k.ij=function(){return this.c.length};k.rh=function(a){if(0>a||this.c.length<=a)return null;var b=new Ag(null);Bg(b,this.xa,this.D.slice(0===a?0:this.c[a-1],this.c[a]));return b};k.ve=function(){var a=this.xa,b=this.D,c=this.c,d=[],e=0,f;var g=0;for(f=c.length;g<f;++g){var h=c[g],l=new Ag(null);Bg(l,a,b.slice(e,h));d.push(l);e=h}return d};
k.Wc=function(){if(this.aa!=this.l){var a=this.D;Pg(a,this.c,this.a)?this.s=a:(this.s=a.slice(),this.s.length=Qg(this.s,0,this.c,this.a));this.aa=this.l}return this.s};k.we=function(a){var b=[],c=[];b.length=zg(this.D,0,this.c,this.a,Math.sqrt(a),b,0,c);a=new F(null);a.ka("XY",b,c);return a};k.U=function(){return"Polygon"};k.xb=function(a){return Ng(this.Wc(),0,this.c,this.a,a)};
k.Ba=function(a,b){a?(Zd(this,b,a,2),this.D||(this.D=[]),a=be(this.D,0,a,this.a,this.c),this.D.length=0===a.length?0:a[a.length-1],this.A()):this.ka("XY",null,this.c)};k.ka=function(a,b,c){Yd(this,a,b);this.c=c;this.A()};function Sg(a,b,c,d){var e=d?d:32;d=[];var f;for(f=0;f<e;++f)qe(d,a.offset(b,c,2*Math.PI*f/e));d.push(d[0],d[1]);a=new F(null);a.ka("XY",d,[d.length]);return a}function Tg(a){var b=a[0],c=a[1],d=a[2];a=a[3];b=[b,c,b,a,d,a,d,c,b,c];c=new F(null);c.ka("XY",b,[b.length]);return c}
function Ug(a,b,c){var d=b?b:32,e=a.Ea();b=a.xa;var f=new F(null,b);d=e*(d+1);e=Array(d);for(var g=0;g<d;g++)e[g]=0;f.ka(b,e,[e.length]);Vg(f,a.Da(),a.Ce(),c);return f}function Vg(a,b,c,d){var e=a.na(),f=a.xa,g=a.Ea(),h=a.Jb(),l=e.length/g-1;d=d?d:0;for(var m,n,p=0;p<=l;++p)n=p*g,m=d+2*sa(p,l)*Math.PI/l,e[n]=b[0]+c*Math.cos(m),e[n+1]=b[1]+c*Math.sin(m);a.ka(f,e,h)};function G(a){oc.call(this);a=zb({},a);this.j=[0,0];this.c=[];this.Pg=this.Pg.bind(this);this.u=Ob(a.projection);Wg(this,a)}w(G,oc);
function Wg(a,b){var c={};c.center=void 0!==b.center?b.center:null;var d=void 0!==b.minZoom?b.minZoom:0;var e=void 0!==b.maxZoom?b.maxZoom:28;var f=void 0!==b.zoomFactor?b.zoomFactor:2;if(void 0!==b.resolutions){var g=b.resolutions;var h=g[d];var l=void 0!==g[e]?g[e]:g[g.length-1];e=Pf(g)}else{h=Ob(b.projection);l=h.G();g=(l?Math.max(ab(l),bb(l)):360*ib.degrees/h.fd())/256/Math.pow(2,0);var m=g/Math.pow(2,28);h=b.maxResolution;void 0!==h?d=0:h=g/Math.pow(f,d);l=b.minResolution;void 0===l&&(l=void 0!==
b.maxZoom?void 0!==b.maxResolution?h/Math.pow(f,e):g/Math.pow(f,e):m);e=d+Math.floor(Math.log(h/l)/Math.log(f));l=h/Math.pow(f,e-d);e=Qf(f,h,e-d)}a.a=h;a.g=l;a.L=f;a.s=b.resolutions;a.C=d;(void 0!==b.enableRotation?b.enableRotation:1)?(d=b.constrainRotation,d=void 0===d||!0===d?Uf():!1===d?Sf:"number"===typeof d?Tf(d):Sf):d=Rf;a.o={center:void 0!==b.extent?Nf(b.extent):Of,resolution:e,rotation:d};void 0!==b.resolution?c.resolution=b.resolution:void 0!==b.zoom&&(c.resolution=a.constrainResolution(a.a,
b.zoom-a.C),a.s&&(c.resolution=ja(Number(a.la()||c.resolution),a.g,a.a)));c.rotation=void 0!==b.rotation?b.rotation:0;a.I(c);a.R=b}function Xg(a,b){var c=zb({},a.R);void 0!==c.resolution?c.resolution=a.la():c.zoom=a.zc();c.center=a.Da();c.rotation=a.ob();return zb({},c,b)}k=G.prototype;
k.animate=function(a){var b=arguments.length;if(1<b&&"function"===typeof arguments[b-1]){var c=arguments[b-1];--b}if(Yg(this)){for(var d=Date.now(),e=this.Da().slice(),f=this.la(),g=this.ob(),h=[],l=0;l<b;++l){var m=arguments[l],n={start:d,complete:!1,anchor:m.anchor,duration:void 0!==m.duration?m.duration:1E3,easing:m.easing||mg};m.center&&(n.lf=e,n.qf=m.center,e=n.qf);void 0!==m.zoom?(n.nf=f,n.ke=this.constrainResolution(this.a,m.zoom-this.C,0),f=n.ke):m.resolution&&(n.nf=f,n.ke=m.resolution,f=
n.ke);void 0!==m.rotation&&(n.Ng=g,n.rf=g+(sa(m.rotation-g+Math.PI,2*Math.PI)-Math.PI),g=n.rf);n.callback=c;n.lf&&n.qf&&!bg(n.lf,n.qf)||n.nf!==n.ke||n.Ng!==n.rf?d+=n.duration:n.complete=!0;h.push(n)}this.c.push(h);Zg(this,0,1);this.Pg()}else b=arguments[b-1],b.center&&this.ub(b.center),void 0!==b.zoom&&this.ge(b.zoom),void 0!==b.rotation&&this.af(b.rotation),c&&c(!0)};k.td=function(){return 0<this.j[0]};k.gj=function(){return 0<this.j[1]};
k.pe=function(){Zg(this,0,-this.j[0]);for(var a=0,b=this.c.length;a<b;++a){var c=this.c[a];c[0].callback&&c[0].callback(!1)}this.c.length=0};
k.Pg=function(){void 0!==this.B&&(cancelAnimationFrame(this.B),this.B=void 0);if(this.td()){for(var a=Date.now(),b=!1,c=this.c.length-1;0<=c;--c){for(var d=this.c[c],e=!0,f=0,g=d.length;f<g;++f){var h=d[f];if(!h.complete){b=a-h.start;b=0<h.duration?b/h.duration:1;1<=b?(h.complete=!0,b=1):e=!1;b=h.easing(b);if(h.lf){var l=h.lf[0],m=h.lf[1];this.set("center",[l+b*(h.qf[0]-l),m+b*(h.qf[1]-m)])}h.nf&&h.ke&&(l=1===b?h.ke:h.nf+b*(h.ke-h.nf),h.anchor&&this.set("center",$g(this,l,h.anchor)),this.set("resolution",
l));void 0!==h.Ng&&void 0!==h.rf&&(b=1===b?sa(h.rf+Math.PI,2*Math.PI)-Math.PI:h.Ng+b*(h.rf-h.Ng),h.anchor&&this.set("center",ah(this,b,h.anchor)),this.set("rotation",b));b=!0;if(!h.complete)break}}e&&(this.c[c]=null,Zg(this,0,-1),(d=d[0].callback)&&d(!0))}this.c=this.c.filter(Boolean);b&&void 0===this.B&&(this.B=requestAnimationFrame(this.Pg))}};function ah(a,b,c){var d=a.Da();if(void 0!==d){var e=[d[0]-c[0],d[1]-c[1]];cg(e,b-a.ob());Xf(e,c)}return e}
function $g(a,b,c){var d,e=a.Da();a=a.la();void 0!==e&&void 0!==a&&(d=[c[0]-b*(c[0]-e[0])/a,c[1]-b*(c[1]-e[1])/a]);return d}function bh(a){var b=[100,100];a='.ol-viewport[data-view="'+x(a)+'"]';if(a=document.querySelector(a))a=getComputedStyle(a),b[0]=parseInt(a.width,10),b[1]=parseInt(a.height,10);return b}k.Jd=function(a){return this.o.center(a)};k.constrainResolution=function(a,b,c){return this.o.resolution(a,b||0,c||0)};k.constrainRotation=function(a,b){return this.o.rotation(a,b||0)};k.Da=function(){return this.get("center")};
k.Id=function(a){a=a||bh(this);var b=this.Da();ia(b,1);var c=this.la();ia(void 0!==c,2);var d=this.ob();ia(void 0!==d,3);return db(b,c,d,a)};k.Uo=function(){return this.a};k.Wo=function(){return this.g};k.Vo=function(){return this.Xe(this.g)};k.rs=function(a){Wg(this,Xg(this,{maxZoom:a}))};k.Xo=function(){return this.Xe(this.a)};k.ss=function(a){Wg(this,Xg(this,{minZoom:a}))};k.Yo=function(){return this.u};k.la=function(){return this.get("resolution")};k.Zo=function(){return this.s};
k.Te=function(a,b){b=b||bh(this);return Math.max(ab(a)/b[0],bb(a)/b[1])};function ch(a){var b=a.a,c=Math.log(b/a.g)/Math.log(2);return function(a){return b/Math.pow(2,a*c)}}k.ob=function(){return this.get("rotation")};function dh(a){var b=a.a,c=Math.log(b/a.g)/Math.log(2);return function(a){return Math.log(b/a)/Math.log(2)/c}}k.getState=function(){var a=this.Da(),b=this.u,c=this.la(),d=this.ob();return{center:a.slice(),projection:void 0!==b?b:null,resolution:c,rotation:d,zoom:this.zc()}};
k.zc=function(){var a,b=this.la();void 0!==b&&(a=this.Xe(b));return a};k.Xe=function(a){var b=this.C||0,c;if(this.s){b=c=oe(this.s,a,1);var d=this.s[c];c=c==this.s.length-1?2:d/this.s[c+1]}else d=this.a,c=this.L;return b+Math.log(d/a)/Math.log(c)};k.lj=function(a){return this.constrainResolution(this.a,a-this.C,0)};
k.dh=function(a,b){b=b||{};var c=b.size;c||(c=bh(this));if(a instanceof Wd)if("Circle"===a.U()){a=a.G();var d=Tg(a);d.rotate(this.ob(),cb(a))}else d=a;else ia(Array.isArray(a),24),ia(!$a(a),25),d=Tg(a);var e=void 0!==b.padding?b.padding:[0,0,0,0],f=void 0!==b.constrainResolution?b.constrainResolution:!0,g=void 0!==b.nearest?b.nearest:!1,h;void 0!==b.minResolution?h=b.minResolution:void 0!==b.maxZoom?h=this.constrainResolution(this.a,b.maxZoom-this.C,0):h=0;var l=d.na(),m=this.ob();a=Math.cos(-m);
m=Math.sin(-m);var n=Infinity,p=Infinity,q=-Infinity,r=-Infinity;d=d.Ea();for(var u=0,v=l.length;u<v;u+=d){var y=l[u]*a-l[u+1]*m,z=l[u]*m+l[u+1]*a;n=Math.min(n,y);p=Math.min(p,z);q=Math.max(q,y);r=Math.max(r,z)}c=this.Te([n,p,q,r],[c[0]-e[1]-e[3],c[1]-e[0]-e[2]]);c=isNaN(c)?h:Math.max(c,h);f&&(h=this.constrainResolution(c,0,0),!g&&h<c&&(h=this.constrainResolution(h,-1,0)),c=h);m=-m;h=(n+q)/2+(e[1]-e[3])/2*c;e=(p+r)/2+(e[0]-e[2])/2*c;a=[h*a-e*m,e*a+h*m];e=b.callback?b.callback:da;void 0!==b.duration?
this.animate({resolution:c,center:a,duration:b.duration,easing:b.easing},e):(this.fe(c),this.ub(a),setTimeout(e.bind(void 0,!0),0))};k.$l=function(a,b,c){var d=this.ob(),e=Math.cos(-d);d=Math.sin(-d);var f=a[0]*e-a[1]*d;a=a[1]*e+a[0]*d;var g=this.la();f+=(b[0]/2-c[0])*g;a+=(c[1]-b[1]/2)*g;d=-d;this.ub([f*e-a*d,a*e+f*d])};function Yg(a){return!!a.Da()&&void 0!==a.la()}k.rotate=function(a,b){void 0!==b&&(b=ah(this,a,b),this.ub(b));this.af(a)};k.ub=function(a){this.set("center",a);this.td()&&this.pe()};
function Zg(a,b,c){a.j[b]+=c;a.A()}k.fe=function(a){this.set("resolution",a);this.td()&&this.pe()};k.af=function(a){this.set("rotation",a);this.td()&&this.pe()};k.ge=function(a){this.fe(this.lj(a))};function eh(a){oc.call(this);var b=zb({},a);b.opacity=void 0!==a.opacity?a.opacity:1;b.visible=void 0!==a.visible?a.visible:!0;b.zIndex=void 0!==a.zIndex?a.zIndex:0;b.maxResolution=void 0!==a.maxResolution?a.maxResolution:Infinity;b.minResolution=void 0!==a.minResolution?a.minResolution:0;this.I(b);this.s={layer:this,fg:!0}}w(eh,oc);k=eh.prototype;k.U=function(){return this.type};
function fh(a){a.s.opacity=ja(a.tc(),0,1);a.s.jl=a.vh();a.s.visible=a.Qb();a.s.extent=a.G();a.s.zIndex=a.Ia();a.s.maxResolution=a.qc();a.s.minResolution=Math.max(a.rc(),0);return a.s}k.G=function(){return this.get("extent")};k.qc=function(){return this.get("maxResolution")};k.rc=function(){return this.get("minResolution")};k.tc=function(){return this.get("opacity")};k.Qb=function(){return this.get("visible")};k.Ia=function(){return this.get("zIndex")};k.Ac=function(a){this.set("extent",a)};
k.Fc=function(a){this.set("maxResolution",a)};k.Gc=function(a){this.set("minResolution",a)};k.Bc=function(a){this.set("opacity",a)};k.Cc=function(a){this.set("visible",a)};k.Ra=function(a){this.set("zIndex",a)};function gh(a){var b=a||{};a=zb({},b);delete a.layers;b=b.layers;eh.call(this,a);this.c=[];this.a={};A(this,qc(hh),this.Jn,this);b?Array.isArray(b)?b=new Pe(b.slice(),{unique:!0}):ia(b instanceof Pe,43):b=new Pe(void 0,{unique:!0});this.ek(b)}w(gh,eh);k=gh.prototype;k.ag=function(){this.A()};
k.Jn=function(){this.c.forEach($b);this.c.length=0;var a=this.De();this.c.push(A(a,"add",this.In,this),A(a,"remove",this.Kn,this));for(var b in this.a)this.a[b].forEach($b);Ab(this.a);a=a.a;var c;b=0;for(c=a.length;b<c;b++){var d=a[b];this.a[x(d).toString()]=[A(d,"propertychange",this.ag,this),A(d,"change",this.ag,this)]}this.A()};k.In=function(a){a=a.element;var b=x(a).toString();this.a[b]=[A(a,"propertychange",this.ag,this),A(a,"change",this.ag,this)];this.A()};
k.Kn=function(a){a=x(a.element).toString();this.a[a].forEach($b);delete this.a[a];this.A()};k.De=function(){return this.get(hh)};k.ek=function(a){this.set(hh,a)};
k.qh=function(a){var b=void 0!==a?a:[],c=b.length;this.De().forEach(function(a){a.qh(b)});a=fh(this);var d;for(d=b.length;c<d;c++){var e=b[c];e.opacity*=a.opacity;e.visible=e.visible&&a.visible;e.maxResolution=Math.min(e.maxResolution,a.maxResolution);e.minResolution=Math.max(e.minResolution,a.minResolution);void 0!==a.extent&&(e.extent=void 0!==e.extent?eb(e.extent,a.extent):a.extent)}return b};k.vh=function(){return"ready"};var hh="layers";var ih=[],jh=[];function kh(a,b){switch(a){case "MAP_RENDERER":a=ih;a.push(b);break;case "LAYER_RENDERER":a=jh;a.push(b);break;default:throw Error("Unsupported plugin type: "+a);}}function lh(a){for(var b=0,c=a.length;b<c;++b)kh("LAYER_RENDERER",a[b])};function H(a){oc.call(this);var b=mh(a);this.yh=void 0!==a.loadTilesWhileAnimating?a.loadTilesWhileAnimating:!1;this.Bh=void 0!==a.loadTilesWhileInteracting?a.loadTilesWhileInteracting:!1;this.Df=void 0!==a.pixelRatio?a.pixelRatio:cd;this.lo=b.logos;this.sb=function(){this.C=void 0;this.Dr.call(this)}.bind(this);this.ah=yc();this.mo=yc();this.hh=0;this.ma=this.Ma=this.Ha=this.o=this.a=null;this.Ca=document.createElement("DIV");this.Ca.className="ol-viewport"+(hd?" ol-touch":"");this.Ca.style.position=
"relative";this.Ca.style.overflow="hidden";this.Ca.style.width="100%";this.Ca.style.height="100%";this.Ca.style.msTouchAction="none";this.Ca.style.touchAction="none";this.$=document.createElement("DIV");this.$.className="ol-overlaycontainer";this.Ca.appendChild(this.$);this.aa=document.createElement("DIV");this.aa.className="ol-overlaycontainer-stopevent";for(var c="click dblclick mousedown touchstart MSPointerDown pointerdown mousewheel wheel".split(" "),d=0,e=c.length;d<e;++d)A(this.aa,c[d],kc);
this.Ca.appendChild(this.aa);this.Bf=new Cf(this,a.moveTolerance);for(var f in We)A(this.Bf,We[f],this.nj,this);this.qb=b.keyboardEventTarget;this.O=null;A(this.Ca,"wheel",this.ye,this);A(this.Ca,"mousewheel",this.ye,this);this.controls=b.controls||new Pe;this.interactions=b.interactions||new Pe;this.B=b.overlays;this.Uh={};this.hd=b.po.create(this.Ca,this);this.Na=null;this.Lf=[];this.Gf=new Lf(this.sn.bind(this),this.$n.bind(this));this.Xa={};A(this,qc("layergroup"),this.Gn,this);A(this,qc("view"),
this.ao,this);A(this,qc("size"),this.Vn,this);A(this,qc("target"),this.Zn,this);this.I(b.values);this.controls.forEach(function(a){a.setMap(this)},this);A(this.controls,"add",function(a){a.element.setMap(this)},this);A(this.controls,"remove",function(a){a.element.setMap(null)},this);this.interactions.forEach(function(a){a.setMap(this)},this);A(this.interactions,"add",function(a){a.element.setMap(this)},this);A(this.interactions,"remove",function(a){a.element.setMap(null)},this);this.B.forEach(this.Pi,
this);A(this.B,"add",function(a){this.Pi(a.element)},this);A(this.B,"remove",function(a){var b=a.element.Ta();void 0!==b&&delete this.Uh[b.toString()];a.element.setMap(null)},this)}w(H,oc);k=H.prototype;k.Ne=function(a){this.controls.push(a)};k.Gd=function(a){this.interactions.push(a)};k.Ob=function(a){this.Sc().De().push(a)};k.ne=function(a){this.B.push(a)};k.Pi=function(a){var b=a.Ta();void 0!==b&&(this.Uh[b.toString()]=a);a.setMap(this)};
k.sa=function(){this.Bf.Ab();fc(this.Ca,"wheel",this.ye,this);fc(this.Ca,"mousewheel",this.ye,this);void 0!==this.s&&(window.removeEventListener("resize",this.s,!1),this.s=void 0);this.C&&(cancelAnimationFrame(this.C),this.C=void 0);this.Sd(null);oc.prototype.sa.call(this)};k.Oc=function(a,b,c){if(this.a)return a=this.hb(a),c=void 0!==c?c:{},this.hd.Oa(a,this.a,void 0!==c.hitTolerance?c.hitTolerance*this.a.pixelRatio:0,b,null,void 0!==c.layerFilter?c.layerFilter:tc,null)};
k.ed=function(a,b){var c=null;this.Oc(a,function(a){c||(c=[]);c.push(a)},b);return c};k.hg=function(a,b,c,d,e){if(this.a)return this.hd.hk(a,this.a,b,void 0!==c?c:null,void 0!==d?d:tc,void 0!==e?e:null)};k.cg=function(a,b){if(!this.a)return!1;a=this.hb(a);b=void 0!==b?b:{};return this.hd.ik(a,this.a,void 0!==b.hitTolerance?b.hitTolerance*this.a.pixelRatio:0,void 0!==b.layerFilter?b.layerFilter:tc,null)};k.se=function(a){return this.hb(this.Md(a))};
k.Md=function(a){var b=this.Ca.getBoundingClientRect();a=a.changedTouches?a.changedTouches[0]:a;return[a.clientX-b.left,a.clientY-b.top]};k.xe=function(){return this.get("target")};k.Uc=function(){var a=this.xe();return void 0!==a?"string"===typeof a?document.getElementById(a):a:null};k.hb=function(a){var b=this.a;return b?Dc(b.pixelToCoordinateTransform,a.slice()):null};k.Nf=function(){return this.controls};k.Uf=function(){return this.B};
k.Tf=function(a){a=this.Uh[a.toString()];return void 0!==a?a:null};k.Sf=function(){return this.interactions};k.Sc=function(){return this.get("layergroup")};k.Ae=function(){return this.Sc().De()};k.cb=function(a){var b=this.a;return b?Dc(b.coordinateToPixelTransform,a.slice(0,2)):null};k.Vf=function(){return this.hd};k.La=function(){return this.get("size")};k.ba=function(){return this.get("view")};k.Yf=function(){return this.Ca};
k.sn=function(a,b,c,d){var e=this.a;if(!(e&&b in e.wantedTiles&&e.wantedTiles[b][a.Mb()]))return Infinity;a=c[0]-e.focus[0];c=c[1]-e.focus[1];return 65536*Math.log(d)+Math.sqrt(a*a+c*c)/d};k.ye=function(a,b){a=new Ve(b||a.type,this,a);this.nj(a)};k.nj=function(a){if(this.a){this.Na=a.coordinate;a.frameState=this.a;var b=this.interactions.a,c;if(!1!==this.b(a))for(c=b.length-1;0<=c;c--){var d=b[c];if(d.a()&&!d.handleEvent(a))break}}};
k.Tn=function(){var a=this.a,b=this.Gf;if(0!==b.b.length){var c=16,d=c;if(a){var e=a.viewHints;e[0]&&(c=this.yh?8:0,d=2);e[1]&&(c=this.Bh?8:0,d=2)}b.s<c&&(Kf(b),Mf(b,c,d))}b=this.Lf;c=0;for(d=b.length;c<d;++c)b[c](this,a);b.length=0};k.Vn=function(){this.render()};
k.Zn=function(){var a;this.xe()&&(a=this.Uc());if(this.O){for(var b=0,c=this.O.length;b<c;++b)$b(this.O[b]);this.O=null}if(a){a.appendChild(this.Ca);var d=this.qb?this.qb:a;this.O=[A(d,"keydown",this.ye,this),A(d,"keypress",this.ye,this)];this.s||(this.s=this.kd.bind(this),window.addEventListener("resize",this.s,!1))}else{a=this.hd;for(d in a.c)nh(a,d).Ab();Uc(this.Ca);void 0!==this.s&&(window.removeEventListener("resize",this.s,!1),this.s=void 0)}this.kd()};k.$n=function(){this.render()};k.qj=function(){this.render()};
k.ao=function(){this.Ha&&($b(this.Ha),this.Ha=null);this.Ma&&($b(this.Ma),this.Ma=null);var a=this.ba();a&&(this.Ca.setAttribute("data-view",x(a)),this.Ha=A(a,"propertychange",this.qj,this),this.Ma=A(a,"change",this.qj,this));this.render()};k.Gn=function(){this.ma&&(this.ma.forEach($b),this.ma=null);var a=this.Sc();a&&(this.ma=[A(a,"propertychange",this.render,this),A(a,"change",this.render,this)]);this.render()};k.ef=function(){this.C&&cancelAnimationFrame(this.C);this.sb()};
k.render=function(){void 0===this.C&&(this.C=requestAnimationFrame(this.sb))};k.Eg=function(a){return this.controls.remove(a)};k.Vc=function(a){return this.interactions.remove(a)};k.be=function(a){return this.Sc().De().remove(a)};k.Fg=function(a){return this.B.remove(a)};
k.Dr=function(){var a=Date.now(),b,c=this.La(),d=this.ba(),e=Da(),f=this.a,g=null;if(void 0!==c&&0<c[0]&&0<c[1]&&d&&Yg(d)){g=this.a?this.a.viewHints:void 0;void 0!==g?(g[0]=d.j[0],g[1]=d.j[1]):g=d.j.slice();var h=this.Sc().qh(),l={};var m=0;for(b=h.length;m<b;++m)l[x(h[m].layer)]=h[m];m=d.getState();d=m.center;b=m.resolution/this.Df;d[0]=Math.round(d[0]/b)*b;d[1]=Math.round(d[1]/b)*b;g={animate:!1,coordinateToPixelTransform:this.ah,extent:e,focus:this.Na?this.Na:d,index:this.hh++,layerStates:l,layerStatesArray:h,
logos:zb({},this.lo),pixelRatio:this.Df,pixelToCoordinateTransform:this.mo,postRenderFunctions:[],size:c,skippedFeatureUids:this.Xa,tileQueue:this.Gf,time:a,usedTiles:{},viewState:m,viewHints:g,wantedTiles:{}}}g&&(g.extent=db(m.center,m.resolution,m.rotation,g.size,e));this.a=g;this.hd.oi(g);g&&(g.animate&&this.render(),Array.prototype.push.apply(this.Lf,g.postRenderFunctions),!f||this.o&&($a(this.o)||Ra(g.extent,this.o))||(this.b(new Ue("movestart",this,f)),this.o=Na(this.o)),!this.o||g.viewHints[0]||
g.viewHints[1]||Ra(g.extent,this.o)||(this.b(new Ue("moveend",this,g)),Ga(g.extent,this.o)));this.b(new Ue("postrender",this,g));setTimeout(this.Tn.bind(this),0)};k.gf=function(a){this.set("layergroup",a)};k.Be=function(a){this.set("size",a)};k.Sd=function(a){this.set("target",a)};k.Lg=function(a){this.set("view",a)};k.il=function(a){a=x(a).toString();this.Xa[a]=!0;this.render()};
k.kd=function(){var a=this.Uc();if(a){var b=getComputedStyle(a);this.Be([a.offsetWidth-parseFloat(b.borderLeftWidth)-parseFloat(b.paddingLeft)-parseFloat(b.paddingRight)-parseFloat(b.borderRightWidth),a.offsetHeight-parseFloat(b.borderTopWidth)-parseFloat(b.paddingTop)-parseFloat(b.paddingBottom)-parseFloat(b.borderBottomWidth)])}else this.Be(void 0)};k.ol=function(a){a=x(a).toString();delete this.Xa[a];this.render()};var oh=["canvas","webgl"];
function mh(a){var b=null;void 0!==a.keyboardEventTarget&&(b="string"===typeof a.keyboardEventTarget?document.getElementById(a.keyboardEventTarget):a.keyboardEventTarget);var c={},d={};if(void 0===a.logo||"boolean"===typeof a.logo&&a.logo)d["data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAAHGAAABxgEXwfpGAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAhNQTFRF////AP//AICAgP//AFVVQECA////K1VVSbbbYL/fJ05idsTYJFtbbcjbJllmZszWWMTOIFhoHlNiZszTa9DdUcHNHlNlV8XRIVdiasrUHlZjIVZjaMnVH1RlIFRkH1RkH1ZlasvYasvXVsPQH1VkacnVa8vWIVZjIFRjVMPQa8rXIVVkXsXRsNveIFVkIFZlIVVj3eDeh6GmbMvXH1ZkIFRka8rWbMvXIFVkIFVjIFVkbMvWH1VjbMvWIFVlbcvWIFVla8vVIFVkbMvWbMvVH1VkbMvWIFVlbcvWIFVkbcvVbMvWjNPbIFVkU8LPwMzNIFVkbczWIFVkbsvWbMvXIFVkRnB8bcvW2+TkW8XRIFVkIlZlJVloJlpoKlxrLl9tMmJwOWd0Omh1RXF8TneCT3iDUHiDU8LPVMLPVcLPVcPQVsPPVsPQV8PQWMTQWsTQW8TQXMXSXsXRX4SNX8bSYMfTYcfTYsfTY8jUZcfSZsnUaIqTacrVasrVa8jTa8rWbI2VbMvWbcvWdJObdcvUdszUd8vVeJaee87Yfc3WgJyjhqGnitDYjaarldPZnrK2oNbborW5o9bbo9fbpLa6q9ndrL3ArtndscDDutzfu8fJwN7gwt7gxc/QyuHhy+HizeHi0NfX0+Pj19zb1+Tj2uXk29/e3uLg3+Lh3+bl4uXj4ufl4+fl5Ofl5ufl5ujm5+jmySDnBAAAAFp0Uk5TAAECAgMEBAYHCA0NDg4UGRogIiMmKSssLzU7PkJJT1JTVFliY2hrdHZ3foSFhYeJjY2QkpugqbG1tre5w8zQ09XY3uXn6+zx8vT09vf4+Pj5+fr6/P39/f3+gz7SsAAAAVVJREFUOMtjYKA7EBDnwCPLrObS1BRiLoJLnte6CQy8FLHLCzs2QUG4FjZ5GbcmBDDjxJBXDWxCBrb8aM4zbkIDzpLYnAcE9VXlJSWlZRU13koIeW57mGx5XjoMZEUqwxWYQaQbSzLSkYGfKFSe0QMsX5WbjgY0YS4MBplemI4BdGBW+DQ11eZiymfqQuXZIjqwyadPNoSZ4L+0FVM6e+oGI6g8a9iKNT3o8kVzNkzRg5lgl7p4wyRUL9Yt2jAxVh6mQCogae6GmflI8p0r13VFWTHBQ0rWPW7ahgWVcPm+9cuLoyy4kCJDzCm6d8PSFoh0zvQNC5OjDJhQopPPJqph1doJBUD5tnkbZiUEqaCnB3bTqLTFG1bPn71kw4b+GFdpLElKIzRxxgYgWNYc5SCENVHKeUaltHdXx0dZ8uBI1hJ2UUDgq82CM2MwKeibqAvSO7MCABq0wXEPiqWEAAAAAElFTkSuQmCC"]=
"https://openlayers.org/";else{var e=a.logo;"string"===typeof e?d[e]="":e instanceof HTMLElement?d[x(e).toString()]=e:e&&(ia("string"==typeof e.href,44),ia("string"==typeof e.src,45),d[e.src]=e.href)}e=a.layers instanceof gh?a.layers:new gh({layers:a.layers});c.layergroup=e;c.target=a.target;c.view=void 0!==a.view?a.view:new G;var f;void 0!==a.renderer?(Array.isArray(a.renderer)?f=a.renderer:"string"===typeof a.renderer?f=[a.renderer]:ia(!1,46),0<=f.indexOf("dom")&&(f=f.concat(oh))):f=oh;e=0;var g=
f.length;a:for(;e<g;++e)for(var h=f[e],l=0,m=ih.length;l<m;++l){var n=ih[l];if(n.handles(h)){var p=n;break a}}if(!p)throw Error("Unable to create a map renderer for types: "+f.join(", "));if(void 0!==a.controls)if(Array.isArray(a.controls))var q=new Pe(a.controls.slice());else ia(a.controls instanceof Pe,47),q=a.controls;if(void 0!==a.interactions)if(Array.isArray(a.interactions))var r=new Pe(a.interactions.slice());else ia(a.interactions instanceof Pe,48),r=a.interactions;void 0!==a.overlays?Array.isArray(a.overlays)?
a=new Pe(a.overlays.slice()):(ia(a.overlays instanceof Pe,49),a=a.overlays):a=new Pe;return{controls:q,interactions:r,keyboardEventTarget:b,logos:d,overlays:a,po:p,values:c}};function ph(a){oc.call(this);this.element=a.element?a.element:null;this.L=this.O=null;this.j=[];this.render=a.render?a.render:da;a.target&&this.a(a.target)}w(ph,oc);ph.prototype.sa=function(){Uc(this.element);oc.prototype.sa.call(this)};ph.prototype.T=function(){return this.L};
ph.prototype.setMap=function(a){this.L&&Uc(this.element);for(var b=0,c=this.j.length;b<c;++b)$b(this.j[b]);this.j.length=0;if(this.L=a)(this.O?this.O:a.aa).appendChild(this.element),this.render!==da&&this.j.push(A(a,"postrender",this.render,this)),a.render()};ph.prototype.a=function(a){this.O="string"===typeof a?document.getElementById(a):a};function qh(a){var b=zb({},a);delete b.source;eh.call(this,b);this.$=this.L=this.B=null;a.map&&this.setMap(a.map);A(this,qc("source"),this.Xn,this);this.Zc(a.source?a.source:null)}w(qh,eh);function rh(a,b){return a.visible&&b>=a.minResolution&&b<a.maxResolution}k=qh.prototype;k.qh=function(a){a=a?a:[];a.push(fh(this));return a};k.Z=function(){return this.get("source")||null};k.vh=function(){var a=this.Z();return a?a.getState():"undefined"};k.Rp=function(){this.A()};
k.Xn=function(){this.$&&($b(this.$),this.$=null);var a=this.Z();a&&(this.$=A(a,"change",this.Rp,this));this.A()};k.setMap=function(a){this.B&&($b(this.B),this.B=null);a||this.A();this.L&&($b(this.L),this.L=null);a&&(this.B=A(a,"precompose",function(a){var b=fh(this);b.fg=!1;b.zIndex=Infinity;a.frameState.layerStatesArray.push(b);a.frameState.layerStates[x(this)]=b},this),this.L=A(this,"change",a.render,a),this.A())};k.Zc=function(a){this.set("source",a)};function sh(a){a=a?a:{};this.o=document.createElement("UL");this.s=document.createElement("LI");this.o.appendChild(this.s);this.s.style.display="none";this.c=void 0!==a.collapsed?a.collapsed:!0;this.g=void 0!==a.collapsible?a.collapsible:!0;this.g||(this.c=!1);var b=void 0!==a.className?a.className:"ol-attribution",c=void 0!==a.tipLabel?a.tipLabel:"Attributions",d=void 0!==a.collapseLabel?a.collapseLabel:"\u00bb";"string"===typeof d?(this.u=document.createElement("span"),this.u.textContent=d):this.u=
d;d=void 0!==a.label?a.label:"i";"string"===typeof d?(this.C=document.createElement("span"),this.C.textContent=d):this.C=d;var e=this.g&&!this.c?this.u:this.C;d=document.createElement("button");d.setAttribute("type","button");d.title=c;d.appendChild(e);A(d,"click",this.$o,this);c=document.createElement("div");c.className=b+" ol-unselectable ol-control"+(this.c&&this.g?" ol-collapsed":"")+(this.g?"":" ol-uncollapsible");c.appendChild(this.o);c.appendChild(d);ph.call(this,{element:c,render:a.render?
a.render:th,target:a.target});this.R=[];this.B=!0;this.aa={}}w(sh,ph);function th(a){uh(this,a.frameState)}
function uh(a,b){if(b){for(var c={},d=[],e=b.layerStatesArray,f=b.viewState.resolution,g=0,h=e.length;g<h;++g){var l=e[g];if(rh(l,f)&&(l=l.layer.Z())&&(l=l.R)&&(l=l(b)))if(Array.isArray(l))for(var m=0,n=l.length;m<n;++m)l[m]in c||(d.push(l[m]),c[l[m]]=!0);else l in c||(d.push(l),c[l]=!0)}if(!se(d,a.R)){for(;a.o.lastChild!==a.s;)a.o.removeChild(a.o.lastChild);c=0;for(e=d.length;c<e;++c)f=document.createElement("LI"),f.innerHTML=d[c],a.o.appendChild(f);0===d.length&&0<a.R.length?a.element.classList.add("ol-logo-only"):
0===a.R.length&&0<d.length&&a.element.classList.remove("ol-logo-only");c=0<d.length||!Cb(b.logos);a.B!=c&&(a.element.style.display=c?"":"none",a.B=c);a.R=d;b=b.logos;d=a.aa;for(q in d)q in b||(Uc(d[q]),delete d[q]);for(var p in b)if(e=b[p],e instanceof HTMLElement&&(a.s.appendChild(e),d[p]=e),!(p in d)){var q=new Image;q.src=p;""===e?c=q:(c=document.createElement("a"),c.href=e,c.appendChild(q));a.s.appendChild(c);d[p]=c}a.s.style.display=Cb(b)?"none":""}}else a.B&&(a.element.style.display="none",
a.B=!1)}k=sh.prototype;k.$o=function(a){a.preventDefault();vh(this)};function vh(a){a.element.classList.toggle("ol-collapsed");a.c?Tc(a.u,a.C):Tc(a.C,a.u);a.c=!a.c}k.Dj=function(){return this.g};k.Fj=function(a){this.g!==a&&(this.g=a,this.element.classList.toggle("ol-uncollapsible"),!a&&this.c&&vh(this))};k.Ej=function(a){this.g&&this.c!==a&&vh(this)};k.Cj=function(){return this.c};function wh(a){a=a?a:{};var b=void 0!==a.className?a.className:"ol-rotate",c=void 0!==a.label?a.label:"\u21e7";this.c=null;"string"===typeof c?(this.c=document.createElement("span"),this.c.className="ol-compass",this.c.textContent=c):(this.c=c,this.c.classList.add("ol-compass"));var d=a.tipLabel?a.tipLabel:"Reset rotation";c=document.createElement("button");c.className=b+"-reset";c.setAttribute("type","button");c.title=d;c.appendChild(this.c);A(c,"click",wh.prototype.C,this);d=document.createElement("div");
d.className=b+" ol-unselectable ol-control";d.appendChild(c);b=a.render?a.render:Eh;this.s=a.resetNorth?a.resetNorth:void 0;ph.call(this,{element:d,render:b,target:a.target});this.o=void 0!==a.duration?a.duration:250;this.g=void 0!==a.autoHide?a.autoHide:!0;this.u=void 0;this.g&&this.element.classList.add("ol-hidden")}w(wh,ph);wh.prototype.C=function(a){a.preventDefault();void 0!==this.s?this.s():(a=this.T().ba())&&void 0!==a.ob()&&(0<this.o?a.animate({rotation:0,duration:this.o,easing:lg}):a.af(0))};
function Eh(a){if(a=a.frameState){a=a.viewState.rotation;if(a!=this.u){var b="rotate("+a+"rad)";if(this.g){var c=this.element.classList.contains("ol-hidden");c||0!==a?c&&0!==a&&this.element.classList.remove("ol-hidden"):this.element.classList.add("ol-hidden")}this.c.style.msTransform=b;this.c.style.webkitTransform=b;this.c.style.transform=b}this.u=a}};function Fh(a){a=a?a:{};var b=void 0!==a.className?a.className:"ol-zoom",c=void 0!==a.delta?a.delta:1,d=void 0!==a.zoomInLabel?a.zoomInLabel:"+",e=void 0!==a.zoomOutLabel?a.zoomOutLabel:"\u2212",f=void 0!==a.zoomInTipLabel?a.zoomInTipLabel:"Zoom in",g=void 0!==a.zoomOutTipLabel?a.zoomOutTipLabel:"Zoom out",h=document.createElement("button");h.className=b+"-in";h.setAttribute("type","button");h.title=f;h.appendChild("string"===typeof d?document.createTextNode(d):d);A(h,"click",Fh.prototype.g.bind(this,
c));d=document.createElement("button");d.className=b+"-out";d.setAttribute("type","button");d.title=g;d.appendChild("string"===typeof e?document.createTextNode(e):e);A(d,"click",Fh.prototype.g.bind(this,-c));c=document.createElement("div");c.className=b+" ol-unselectable ol-control";c.appendChild(h);c.appendChild(d);ph.call(this,{element:c,target:a.target});this.c=void 0!==a.duration?a.duration:250}w(Fh,ph);
Fh.prototype.g=function(a,b){b.preventDefault();if(b=this.T().ba()){var c=b.la();c&&(a=b.constrainResolution(c,a),0<this.c?(b.td()&&b.pe(),b.animate({resolution:a,duration:this.c,easing:lg})):b.fe(a))}};function Gh(a){a=a?a:{};var b=new Pe;(void 0!==a.zoom?a.zoom:1)&&b.push(new Fh(a.zoomOptions));(void 0!==a.rotate?a.rotate:1)&&b.push(new wh(a.rotateOptions));(void 0!==a.attribution?a.attribution:1)&&b.push(new sh(a.attributionOptions));return b};function Hh(a,b,c){this.g=a;this.c=b;this.j=c;this.b=[];this.a=this.l=0}function Ih(a){a.b.length=0;a.l=0;a.a=0}function Jh(a){if(6>a.b.length)return!1;var b=Date.now()-a.j,c=a.b.length-3;if(a.b[c+2]<b)return!1;for(var d=c-3;0<d&&a.b[d+2]>b;)d-=3;b=a.b[c+2]-a.b[d+2];if(b<1E3/60)return!1;var e=a.b[c]-a.b[d];c=a.b[c+1]-a.b[d+1];a.l=Math.atan2(c,e);a.a=Math.sqrt(e*e+c*c)/b;return a.a>a.c};function Kh(a){oc.call(this);this.sb=null;this.bb(!0);this.handleEvent=a.handleEvent}w(Kh,oc);Kh.prototype.a=function(){return this.get("active")};Kh.prototype.T=function(){return this.sb};Kh.prototype.bb=function(a){this.set("active",a)};Kh.prototype.setMap=function(a){this.sb=a};function Lh(a,b,c,d){if(void 0!==b){var e=a.ob(),f=a.Da();void 0!==e&&f&&0<d?a.animate({rotation:b,anchor:c,duration:d,easing:lg}):a.rotate(b,c)}}
function Mh(a,b,c,d){var e=a.la();b=a.constrainResolution(e,b,0);if(void 0!==b){var f=a.s;b=ja(b,a.g||f[f.length-1],a.a||f[0])}c&&void 0!==b&&b!==e&&(f=a.Da(),c=$g(a,b,c),c=a.Jd(c),c=[(b*f[0]-e*c[0])/(b-e),(b*f[1]-e*c[1])/(b-e)]);Nh(a,b,c,d)}function Nh(a,b,c,d){if(b){var e=a.la(),f=a.Da();void 0!==e&&f&&b!==e&&d?a.animate({resolution:b,anchor:c,duration:d,easing:lg}):(c&&(c=$g(a,b,c),a.ub(c)),a.fe(b))}};function Oh(a){a=a?a:{};this.c=a.delta?a.delta:1;Kh.call(this,{handleEvent:Ph});this.g=void 0!==a.duration?a.duration:250}w(Oh,Kh);function Ph(a){var b=!1,c=a.originalEvent;if("dblclick"==a.type){b=a.coordinate;c=c.shiftKey?-this.c:this.c;var d=a.map.ba();Mh(d,c,b,this.g);a.preventDefault();b=!0}return!b};function Qh(a){a=a.originalEvent;return a.altKey&&!(a.metaKey||a.ctrlKey)&&!a.shiftKey}function Rh(a){a=a.originalEvent;return a.altKey&&!(a.metaKey||a.ctrlKey)&&a.shiftKey}function Sh(a){a=a.originalEvent;return 0==a.button&&!(ad&&bd&&a.ctrlKey)}function Th(a){return"pointermove"==a.type}function Uh(a){return"singleclick"==a.type}function Vh(a){a=a.originalEvent;return!a.altKey&&!(a.metaKey||a.ctrlKey)&&!a.shiftKey}
function Wh(a){a=a.originalEvent;return!a.altKey&&!(a.metaKey||a.ctrlKey)&&a.shiftKey}function Xh(a){a=a.originalEvent.target.tagName;return"INPUT"!==a&&"SELECT"!==a&&"TEXTAREA"!==a}function Yh(a){ia(a.b,56);return"mouse"==a.b.pointerType}function Zh(a){a=a.b;return a.isPrimary&&0===a.button};function $h(a){a=a?a:{};Kh.call(this,{handleEvent:a.handleEvent?a.handleEvent:ai});this.Df=a.handleDownEvent?a.handleDownEvent:uc;this.Gf=a.handleDragEvent?a.handleDragEvent:da;this.Lf=a.handleMoveEvent?a.handleMoveEvent:da;this.ah=a.handleUpEvent?a.handleUpEvent:uc;this.C=!1;this.$={};this.s=[]}w($h,Kh);function bi(a){for(var b=a.length,c=0,d=0,e=0;e<b;e++)c+=a[e].clientX,d+=a[e].clientY;return[c/b,d/b]}
function ai(a){if(!(a instanceof Xe))return!0;var b=!1,c=a.type;if("pointerdown"===c||"pointerdrag"===c||"pointerup"===c){c=a.b;var d=c.pointerId.toString();"pointerup"==a.type?delete this.$[d]:"pointerdown"==a.type?this.$[d]=c:d in this.$&&(this.$[d]=c);this.s=Bb(this.$)}this.C?"pointerdrag"==a.type?this.Gf(a):"pointerup"==a.type&&(this.C=this.ah(a)&&0<this.s.length):"pointerdown"==a.type?(this.C=a=this.Df(a),b=this.he(a)):"pointermove"==a.type&&this.Lf(a);return!b}$h.prototype.he=function(a){return a};function ci(a){$h.call(this,{handleDownEvent:di,handleDragEvent:ei,handleUpEvent:fi});a=a?a:{};this.c=a.kinetic;this.g=null;this.u=a.condition?a.condition:Vh;this.j=!1}w(ci,$h);function ei(a){var b=this.s,c=bi(b);if(b.length==this.o){if(this.c&&this.c.b.push(c[0],c[1],Date.now()),this.g){var d=this.g[0]-c[0],e=c[1]-this.g[1];a=a.map.ba();var f=a.getState();d=[d,e];fg(d,f.resolution);cg(d,f.rotation);Xf(d,f.center);d=a.Jd(d);a.ub(d)}}else this.c&&Ih(this.c);this.g=c;this.o=b.length}
function fi(a){var b=a.map;a=b.ba();if(0===this.s.length){if(!this.j&&this.c&&Jh(this.c)){var c=this.c;c=(c.c-c.a)/c.g;var d=this.c.l,e=a.Da();e=b.cb(e);b=b.hb([e[0]-c*Math.cos(d),e[1]-c*Math.sin(d)]);a.animate({center:a.Jd(b),duration:500,easing:lg})}Zg(a,1,-1);return!1}this.c&&Ih(this.c);this.g=null;return!0}
function di(a){if(0<this.s.length&&this.u(a)){var b=a.map.ba();this.g=null;this.C||Zg(b,1,1);b.td()&&b.ub(a.frameState.viewState.center);this.c&&Ih(this.c);this.j=1<this.s.length;return!0}return!1}ci.prototype.he=uc;function gi(a){a=a?a:{};$h.call(this,{handleDownEvent:hi,handleDragEvent:ii,handleUpEvent:ji});this.g=a.condition?a.condition:Rh;this.c=void 0;this.j=void 0!==a.duration?a.duration:250}w(gi,$h);function ii(a){if(Yh(a)){var b=a.map,c=b.ba();if(c.o.rotation!==Rf){b=b.La();a=a.pixel;a=Math.atan2(b[1]/2-a[1],a[0]-b[0]/2);if(void 0!==this.c){b=a-this.c;var d=c.ob();Lh(c,d-b)}this.c=a}}}
function ji(a){if(!Yh(a))return!0;a=a.map.ba();Zg(a,1,-1);var b=a.ob(),c=this.j;b=a.constrainRotation(b,0);Lh(a,b,void 0,c);return!1}function hi(a){return Yh(a)&&Sh(a)&&this.g(a)?(Zg(a.map.ba(),1,1),this.c=void 0,!0):!1}gi.prototype.he=uc;function ki(a){this.Kd=null;this.a=document.createElement("div");this.a.style.position="absolute";this.a.className="ol-box "+a;this.l=this.c=this.b=null}w(ki,hc);ki.prototype.sa=function(){this.setMap(null)};function li(a){var b=a.c,c=a.l;a=a.a.style;a.left=Math.min(b[0],c[0])+"px";a.top=Math.min(b[1],c[1])+"px";a.width=Math.abs(c[0]-b[0])+"px";a.height=Math.abs(c[1]-b[1])+"px"}
ki.prototype.setMap=function(a){if(this.b){this.b.$.removeChild(this.a);var b=this.a.style;b.left=b.top=b.width=b.height="inherit"}(this.b=a)&&this.b.$.appendChild(this.a)};function mi(a){var b=a.c,c=a.l;b=[b,[b[0],c[1]],c,[c[0],b[1]]].map(a.b.hb,a.b);b[4]=b[0].slice();a.Kd?a.Kd.Ba([b]):a.Kd=new F([b])}ki.prototype.W=function(){return this.Kd};function ni(a){$h.call(this,{handleDownEvent:oi,handleDragEvent:pi,handleUpEvent:qi});a=a?a:{};this.c=new ki(a.className||"ol-dragbox");this.u=void 0!==a.minArea?a.minArea:64;this.g=null;this.B=a.condition?a.condition:tc;this.o=a.boxEndCondition?a.boxEndCondition:ri}w(ni,$h);function ri(a,b,c){a=c[0]-b[0];b=c[1]-b[1];return a*a+b*b>=this.u}function pi(a){if(Yh(a)){var b=this.c,c=a.pixel;b.c=this.g;b.l=c;mi(b);li(b);this.b(new si(ti,a.coordinate,a))}}ni.prototype.W=function(){return this.c.W()};
ni.prototype.j=da;function qi(a){if(!Yh(a))return!0;this.c.setMap(null);this.o(a,this.g,a.pixel)&&(this.j(a),this.b(new si(ui,a.coordinate,a)));return!1}function oi(a){if(Yh(a)&&Sh(a)&&this.B(a)){this.g=a.pixel;this.c.setMap(a.map);var b=this.c,c=this.g;b.c=this.g;b.l=c;mi(b);li(b);this.b(new si(vi,a.coordinate,a));return!0}return!1}var vi="boxstart",ti="boxdrag",ui="boxend";function si(a,b,c){jc.call(this,a);this.coordinate=b;this.mapBrowserEvent=c}w(si,jc);function wi(a){a=a?a:{};var b=a.condition?a.condition:Wh;this.L=void 0!==a.duration?a.duration:200;this.R=void 0!==a.out?a.out:!1;ni.call(this,{condition:b,className:a.className||"ol-dragzoom"})}w(wi,ni);
wi.prototype.j=function(){var a=this.T(),b=a.ba(),c=a.La(),d=this.W().G();if(this.R){var e=b.Id(c);d=[a.cb(Ua(d)),a.cb(Wa(d))];a=Na(void 0);var f;var g=0;for(f=d.length;g<f;++g)Ea(a,d[g]);d=b.Te(a,c);gb(e,1/d);d=e}c=b.constrainResolution(b.Te(d,c));e=cb(d);e=b.Jd(e);b.animate({resolution:c,center:e,duration:this.L,easing:lg})};function xi(a){Kh.call(this,{handleEvent:Ei});a=a||{};this.c=function(a){return Vh(a)&&Xh(a)};this.g=void 0!==a.condition?a.condition:this.c;this.j=void 0!==a.duration?a.duration:100;this.s=void 0!==a.pixelDelta?a.pixelDelta:128}w(xi,Kh);
function Ei(a){var b=!1;if("keydown"==a.type){var c=a.originalEvent.keyCode;if(this.g(a)&&(40==c||37==c||39==c||38==c)){b=a.map.ba();var d=b.la()*this.s,e=0,f=0;40==c?f=-d:37==c?e=-d:39==c?e=d:f=d;d=[e,f];cg(d,b.ob());c=this.j;if(e=b.Da())d=b.Jd([e[0]+d[0],e[1]+d[1]]),c?b.animate({duration:c,easing:ng,center:d}):b.ub(d);a.preventDefault();b=!0}}return!b};function Fi(a){Kh.call(this,{handleEvent:Gi});a=a?a:{};this.g=a.condition?a.condition:Xh;this.c=a.delta?a.delta:1;this.j=void 0!==a.duration?a.duration:100}w(Fi,Kh);function Gi(a){var b=!1;if("keydown"==a.type||"keypress"==a.type){var c=a.originalEvent.charCode;!this.g(a)||43!=c&&45!=c||(b=43==c?this.c:-this.c,c=a.map.ba(),Mh(c,b,void 0,this.j),a.preventDefault(),b=!0)}return!b};function Hi(a){Kh.call(this,{handleEvent:Ii});a=a||{};this.j=0;this.C=void 0!==a.duration?a.duration:250;this.$=void 0!==a.timeout?a.timeout:80;this.B=void 0!==a.useAnchor?a.useAnchor:!0;this.O=a.constrainResolution||!1;this.c=null;this.o=this.s=this.u=this.g=void 0}w(Hi,Kh);
function Ii(a){var b=a.type;if("wheel"!==b&&"mousewheel"!==b)return!0;a.preventDefault();b=a.map;var c=a.originalEvent;this.B&&(this.c=a.coordinate);if("wheel"==a.type){var d=c.deltaY;Zc&&c.deltaMode===WheelEvent.DOM_DELTA_PIXEL&&(d/=cd);c.deltaMode===WheelEvent.DOM_DELTA_LINE&&(d*=40)}else"mousewheel"==a.type&&(d=-c.wheelDeltaY,$c&&(d/=3));if(0===d)return!1;a=Date.now();void 0===this.g&&(this.g=a);if(!this.s||400<a-this.g)this.s=4>Math.abs(d)?Ji:Ki;if(this.s===Ji){b=b.ba();this.o?clearTimeout(this.o):
Zg(b,1,1);this.o=setTimeout(this.L.bind(this),400);c=b.la()*Math.pow(2,d/300);var e=b.g,f=b.a,g=0;c<e?(c=Math.max(c,e/1.5),g=1):c>f&&(c=Math.min(c,1.5*f),g=-1);if(this.c){var h=$g(b,c,this.c);b.ub(b.Jd(h))}b.fe(c);0===g&&this.O&&b.animate({resolution:b.constrainResolution(c,0<d?-1:1),easing:lg,anchor:this.c,duration:this.C});0<g?b.animate({resolution:e,easing:lg,anchor:this.c,duration:500}):0>g&&b.animate({resolution:f,easing:lg,anchor:this.c,duration:500});this.g=a;return!1}this.j+=d;d=Math.max(this.$-
(a-this.g),0);clearTimeout(this.u);this.u=setTimeout(this.R.bind(this,b),d);return!1}Hi.prototype.L=function(){this.o=void 0;Zg(this.T().ba(),1,-1)};Hi.prototype.R=function(a){a=a.ba();a.td()&&a.pe();Mh(a,-ja(this.j,-1,1),this.c,this.C);this.s=void 0;this.j=0;this.c=null;this.u=this.g=void 0};Hi.prototype.aa=function(a){this.B=a;a||(this.c=null)};var Ji="trackpad",Ki="wheel";function Li(a){$h.call(this,{handleDownEvent:Mi,handleDragEvent:Ni,handleUpEvent:Oi});a=a||{};this.g=null;this.j=void 0;this.c=!1;this.o=0;this.B=void 0!==a.threshold?a.threshold:.3;this.u=void 0!==a.duration?a.duration:250}w(Li,$h);
function Ni(a){var b=0,c=this.s[0],d=this.s[1];c=Math.atan2(d.clientY-c.clientY,d.clientX-c.clientX);void 0!==this.j&&(b=c-this.j,this.o+=b,!this.c&&Math.abs(this.o)>this.B&&(this.c=!0));this.j=c;a=a.map;c=a.ba();if(c.o.rotation!==Rf){d=a.Ca.getBoundingClientRect();var e=bi(this.s);e[0]-=d.left;e[1]-=d.top;this.g=a.hb(e);this.c&&(d=c.ob(),a.render(),Lh(c,d+b,this.g))}}
function Oi(a){if(2>this.s.length){a=a.map.ba();Zg(a,1,-1);if(this.c){var b=a.ob(),c=this.g,d=this.u;b=a.constrainRotation(b,0);Lh(a,b,c,d)}return!1}return!0}function Mi(a){return 2<=this.s.length?(a=a.map,this.g=null,this.j=void 0,this.c=!1,this.o=0,this.C||Zg(a.ba(),1,1),!0):!1}Li.prototype.he=uc;function Pi(a){$h.call(this,{handleDownEvent:Qi,handleDragEvent:Ri,handleUpEvent:Si});a=a?a:{};this.o=a.constrainResolution||!1;this.g=null;this.u=void 0!==a.duration?a.duration:400;this.c=void 0;this.j=1}w(Pi,$h);
function Ri(a){var b=1,c=this.s[0],d=this.s[1],e=c.clientX-d.clientX;c=c.clientY-d.clientY;e=Math.sqrt(e*e+c*c);void 0!==this.c&&(b=this.c/e);this.c=e;a=a.map;e=a.ba();d=e.la();var f=e.a,g=e.g;c=d*b;c>f?(b=f/d,c=f):c<g&&(b=g/d,c=g);1!=b&&(this.j=b);b=a.Ca.getBoundingClientRect();d=bi(this.s);d[0]-=b.left;d[1]-=b.top;this.g=a.hb(d);a.render();Nh(e,c,this.g)}
function Si(a){if(2>this.s.length){a=a.map.ba();Zg(a,1,-1);var b=a.la();if(this.o||b<a.g||b>a.a){var c=this.g,d=this.u;b=a.constrainResolution(b,0,this.j-1);Nh(a,b,c,d)}return!1}return!0}function Qi(a){return 2<=this.s.length?(a=a.map,this.g=null,this.c=void 0,this.j=1,this.C||Zg(a.ba(),1,1),!0):!1}Pi.prototype.he=uc;function Ti(a){a=a?a:{};var b=new Pe,c=new Hh(-.005,.05,100);(void 0!==a.altShiftDragRotate?a.altShiftDragRotate:1)&&b.push(new gi);(void 0!==a.doubleClickZoom?a.doubleClickZoom:1)&&b.push(new Oh({delta:a.zoomDelta,duration:a.zoomDuration}));(void 0!==a.dragPan?a.dragPan:1)&&b.push(new ci({kinetic:c}));(void 0!==a.pinchRotate?a.pinchRotate:1)&&b.push(new Li);(void 0!==a.pinchZoom?a.pinchZoom:1)&&b.push(new Pi({constrainResolution:a.constrainResolution,duration:a.zoomDuration}));if(void 0!==a.keyboard?
a.keyboard:1)b.push(new xi),b.push(new Fi({delta:a.zoomDelta,duration:a.zoomDuration}));(void 0!==a.mouseWheelZoom?a.mouseWheelZoom:1)&&b.push(new Hi({constrainResolution:a.constrainResolution,duration:a.zoomDuration}));(void 0!==a.shiftDragZoom?a.shiftDragZoom:1)&&b.push(new wi({duration:a.zoomDuration}));return b};function Ui(a,b,c,d){lc.call(this);this.extent=a;this.a=c;this.resolution=b;this.state=d}w(Ui,lc);Ui.prototype.A=function(){this.b("change")};Ui.prototype.G=function(){return this.extent};Ui.prototype.la=function(){return this.resolution};Ui.prototype.getState=function(){return this.state};function Vi(a,b,c,d,e){this.c=void 0!==e?e:null;Ui.call(this,a,b,c,void 0!==e?0:2);this.l=d}w(Vi,Ui);Vi.prototype.g=function(a){this.state=a?3:2;this.A()};Vi.prototype.load=function(){0==this.state&&(this.state=1,this.A(),this.c(this.g.bind(this)))};Vi.prototype.fa=function(){return this.l};function Wi(a,b,c,d,e){jc.call(this,a);this.vectorContext=b;this.frameState=c;this.context=d;this.glContext=e}w(Wi,jc);function Xi(){}k=Xi.prototype;k.Zi=function(){};k.oc=function(){};k.Ee=function(){};k.cd=function(){};k.If=function(){};k.Jf=function(){};k.yd=function(){};k.pd=function(){};k.qd=function(){};k.rd=function(){};k.zd=function(){};k.Ad=function(){};k.Nc=function(){};k.mb=function(){};k.Yc=function(){};k.Nb=function(){};function Yi(a,b,c,d,e){this.l=a;this.j=b;this.c=c;this.B=d;this.qb=e;this.V=this.b=this.a=this.rb=this.$=this.aa=null;this.ha=this.ea=this.H=this.oa=this.ja=this.L=0;this.ma=!1;this.g=this.zb=0;this.Ma=!1;this.R=0;this.Ka="";this.Na=this.Ha=0;this.Xa=!1;this.u=this.sb=0;this.O=this.o=this.s=null;this.C=[];this.bd=yc()}w(Yi,Xi);
function Zi(a,b,c){if(a.V){b=vc(b,0,c,2,a.B,a.C);c=a.l;var d=a.bd,e=c.globalAlpha;1!=a.H&&(c.globalAlpha=e*a.H);var f=a.zb;a.ma&&(f+=a.qb);var g;var h=0;for(g=b.length;h<g;h+=2){var l=b[h]-a.L,m=b[h+1]-a.ja;a.Ma&&(l=Math.round(l),m=Math.round(m));if(0!==f||1!=a.g){var n=l+a.L,p=m+a.ja;Ic(d,n,p,a.g,a.g,f,-n,-p);c.setTransform.apply(c,d)}c.drawImage(a.V,a.ea,a.ha,a.R,a.oa,l,m,a.R,a.oa)}0===f&&1==a.g||c.setTransform(1,0,0,1,0,0);1!=a.H&&(c.globalAlpha=e)}}
function $i(a,b,c,d){var e=0;if(a.O&&""!==a.Ka){a.s&&aj(a,a.s);a.o&&bj(a,a.o);var f=a.O,g=a.l,h=a.rb,l=f.textAlign?f.textAlign:"center";h?(h.font!=f.font&&(h.font=g.font=f.font),h.textAlign!=l&&(h.textAlign=l),h.textBaseline!=f.textBaseline&&(h.textBaseline=g.textBaseline=f.textBaseline)):(g.font=f.font,g.textAlign=l,g.textBaseline=f.textBaseline,a.rb={font:f.font,textAlign:l,textBaseline:f.textBaseline});b=vc(b,e,c,d,a.B,a.C);f=a.l;g=a.sb;for(a.Xa&&(g+=a.qb);e<c;e+=d){h=b[e]+a.Ha;l=b[e+1]+a.Na;if(0!==
g||1!=a.u){var m=Ic(a.bd,h,l,a.u,a.u,g,-h,-l);f.setTransform.apply(f,m)}a.o&&f.strokeText(a.Ka,h,l);a.s&&f.fillText(a.Ka,h,l)}0===g&&1==a.u||f.setTransform(1,0,0,1,0,0)}}function cj(a,b,c,d,e,f){var g=a.l;a=vc(b,c,d,e,a.B,a.C);g.moveTo(a[0],a[1]);b=a.length;f&&(b-=2);for(c=2;c<b;c+=2)g.lineTo(a[c],a[c+1]);f&&g.closePath();return d}function dj(a,b,c,d,e){var f;var g=0;for(f=d.length;g<f;++g)c=cj(a,b,c,d[g],e,!0);return c}k=Yi.prototype;
k.cd=function(a){if(fb(this.c,a.G())){if(this.a||this.b){this.a&&aj(this,this.a);this.b&&bj(this,this.b);var b=this.B;var c=this.C,d=a.na();b=d?vc(d,0,d.length,a.Ea(),b,c):null;c=b[2]-b[0];d=b[3]-b[1];c=Math.sqrt(c*c+d*d);d=this.l;d.beginPath();d.arc(b[0],b[1],c,0,2*Math.PI);this.a&&d.fill();this.b&&d.stroke()}""!==this.Ka&&$i(this,a.Da(),2,2)}};k.Ee=function(a){this.mb(a.Ya(),a.ab());this.Yc(a.fa());this.Nb(a.Pa())};
k.oc=function(a){switch(a.U()){case "Point":this.zd(a);break;case "LineString":this.yd(a);break;case "Polygon":this.Ad(a);break;case "MultiPoint":this.qd(a);break;case "MultiLineString":this.pd(a);break;case "MultiPolygon":this.rd(a);break;case "GeometryCollection":this.Jf(a);break;case "Circle":this.cd(a)}};k.If=function(a,b){(a=(0,b.Bb)(a))&&fb(this.c,a.G())&&(this.Ee(b),this.oc(a))};k.Jf=function(a){a=a.a;var b;var c=0;for(b=a.length;c<b;++c)this.oc(a[c])};
k.zd=function(a){var b=a.na();a=a.Ea();this.V&&Zi(this,b,b.length);""!==this.Ka&&$i(this,b,b.length,a)};k.qd=function(a){var b=a.na();a=a.Ea();this.V&&Zi(this,b,b.length);""!==this.Ka&&$i(this,b,b.length,a)};k.yd=function(a){if(fb(this.c,a.G())){if(this.b){bj(this,this.b);var b=this.l,c=a.na();b.beginPath();cj(this,c,0,c.length,a.Ea(),!1);b.stroke()}""!==this.Ka&&(a=a.Pf(),$i(this,a,2,2))}};
k.pd=function(a){var b=a.G();if(fb(this.c,b)){if(this.b){bj(this,this.b);b=this.l;var c=a.na(),d=0,e=a.Jb(),f=a.Ea();b.beginPath();var g;var h=0;for(g=e.length;h<g;++h)d=cj(this,c,d,e[h],f,!1);b.stroke()}""!==this.Ka&&(a=a.Qf(),$i(this,a,a.length,2))}};k.Ad=function(a){if(fb(this.c,a.G())){if(this.b||this.a){this.a&&aj(this,this.a);this.b&&bj(this,this.b);var b=this.l;b.beginPath();dj(this,a.Wc(),0,a.Jb(),a.Ea());this.a&&b.fill();this.b&&b.stroke()}""!==this.Ka&&(a=a.Re(),$i(this,a,2,2))}};
k.rd=function(a){if(fb(this.c,a.G())){if(this.b||this.a){this.a&&aj(this,this.a);this.b&&bj(this,this.b);var b=this.l,c=ej(a),d=0,e=a.re(),f=a.Ea(),g;b.beginPath();var h=0;for(g=e.length;h<g;++h)d=dj(this,c,d,e[h],f);this.a&&b.fill();this.b&&b.stroke()}""!==this.Ka&&(a=fj(a),$i(this,a,a.length,2))}};function aj(a,b){var c=a.l,d=a.aa;d?d.fillStyle!=b.fillStyle&&(d.fillStyle=c.fillStyle=b.fillStyle):(c.fillStyle=b.fillStyle,a.aa={fillStyle:b.fillStyle})}
function bj(a,b){var c=a.l,d=a.$;d?(d.lineCap!=b.lineCap&&(d.lineCap=c.lineCap=b.lineCap),dd&&(se(d.lineDash,b.lineDash)||c.setLineDash(d.lineDash=b.lineDash),d.lineDashOffset!=b.lineDashOffset&&(d.lineDashOffset=c.lineDashOffset=b.lineDashOffset)),d.lineJoin!=b.lineJoin&&(d.lineJoin=c.lineJoin=b.lineJoin),d.lineWidth!=b.lineWidth&&(d.lineWidth=c.lineWidth=b.lineWidth),d.miterLimit!=b.miterLimit&&(d.miterLimit=c.miterLimit=b.miterLimit),d.strokeStyle!=b.strokeStyle&&(d.strokeStyle=c.strokeStyle=b.strokeStyle)):
(c.lineCap=b.lineCap,dd&&(c.setLineDash(b.lineDash),c.lineDashOffset=b.lineDashOffset),c.lineJoin=b.lineJoin,c.lineWidth=b.lineWidth,c.miterLimit=b.miterLimit,c.strokeStyle=b.strokeStyle,a.$={lineCap:b.lineCap,lineDash:b.lineDash,lineDashOffset:b.lineDashOffset,lineJoin:b.lineJoin,lineWidth:b.lineWidth,miterLimit:b.miterLimit,strokeStyle:b.strokeStyle})}
k.mb=function(a,b){a?(a=a.b,this.a={fillStyle:Rc(a?a:rd)}):this.a=null;if(b){a=b.a;var c=b.j,d=b.l,e=b.g,f=b.s,g=b.c;b=b.o;this.b={lineCap:void 0!==c?c:"round",lineDash:d?d:sd,lineDashOffset:e?e:0,lineJoin:void 0!==f?f:"round",lineWidth:this.j*(void 0!==g?g:1),miterLimit:void 0!==b?b:10,strokeStyle:Rc(a?a:td)}}else this.b=null};
k.Yc=function(a){if(a){var b=a.Ld(),c=a.fa(1),d=a.Xd(),e=a.La();this.L=b[0];this.ja=b[1];this.oa=e[1];this.V=c;this.H=a.j;this.ea=d[0];this.ha=d[1];this.ma=a.H;this.zb=a.s;this.g=a.l*this.j;this.Ma=a.C;this.R=e[0]}else this.V=null};
k.Nb=function(a){if(a){var b=a.Ya();b?(b=b.b,this.s={fillStyle:Rc(b?b:rd)}):this.s=null;var c=a.ab();if(c){b=c.a;var d=c.j,e=c.l,f=c.g,g=c.s,h=c.c;c=c.o;this.o={lineCap:void 0!==d?d:"round",lineDash:e?e:sd,lineDashOffset:f?f:0,lineJoin:void 0!==g?g:"round",lineWidth:void 0!==h?h:1,miterLimit:void 0!==c?c:10,strokeStyle:Rc(b?b:td)}}else this.o=null;b=a.b;d=a.l;e=a.c;f=a.o;g=a.g;h=a.a;c=a.Pa();var l=a.j;a=a.s;this.O={font:void 0!==b?b:"10px sans-serif",textAlign:void 0!==l?l:"center",textBaseline:void 0!==
a?a:"middle"};this.Ka=void 0!==c?c:"";this.Ha=void 0!==d?this.j*d:0;this.Na=void 0!==e?this.j*e:0;this.Xa=void 0!==f?f:!1;this.sb=void 0!==g?g:0;this.u=this.j*(void 0!==h?h:1)}else this.Ka=""};function gj(a){nc.call(this);this.a=a}w(gj,nc);gj.prototype.Oa=da;gj.prototype.ng=uc;gj.prototype.Yg=function(a,b,c){return function(d,e){return hj(a,b,d,e,function(a){c[d]||(c[d]={});c[d][a.Wa.toString()]=a})}};gj.prototype.ha=function(a){2===a.target.getState()&&ij(this)};function jj(a,b){var c=b.getState();2!=c&&3!=c&&A(b,"change",a.ha,a);0==c&&(b.load(),c=b.getState());return 2==c}function ij(a){var b=a.a;b.Qb()&&"ready"==b.vh()&&a.A()}
function kj(a,b){b.tk()&&a.postRenderFunctions.push(function(a,b,e){b=x(a).toString();b in e.usedTiles&&a.qe(e.viewState.projection,e.usedTiles[b])}.bind(null,b))}function lj(a,b){b=b.aa;void 0!==b&&("string"===typeof b?a.logos[b]="":b&&(ia("string"==typeof b.href,44),ia("string"==typeof b.src,45),a.logos[b.src]=b.href))}
function mj(a,b,c,d){b=x(b).toString();c=c.toString();b in a?c in a[b]?(a=a[b][c],d.qa<a.qa&&(a.qa=d.qa),d.za>a.za&&(a.za=d.za),d.pa<a.pa&&(a.pa=d.pa),d.ya>a.ya&&(a.ya=d.ya)):a[b][c]=d:(a[b]={},a[b][c]=d)}
function nj(a,b,c,d,e,f,g,h,l,m){var n=x(b).toString();n in a.wantedTiles||(a.wantedTiles[n]={});var p=a.wantedTiles[n];a=a.tileQueue;var q,r,u;for(u=c.minZoom;u<=g;++u){var v=Ce(c,f,u,v);var y=c.la(u);for(q=v.qa;q<=v.za;++q)for(r=v.pa;r<=v.ya;++r)if(g-u<=h){var z=b.Wd(u,q,r,d,e);0==z.getState()&&(p[z.Mb()]=!0,z.Mb()in a.a||a.g([z,n,He(c,z.Wa),y]));void 0!==l&&l.call(m,z)}else b.zi(u,q,r,e)}};function oj(a){gj.call(this,a);this.ea=yc()}w(oj,gj);function pj(a,b,c){var d=b.pixelRatio,e=b.size[0]*d,f=b.size[1]*d,g=b.viewState.rotation,h=Ya(c),l=Wa(c),m=Va(c);c=Ua(c);Dc(b.coordinateToPixelTransform,h);Dc(b.coordinateToPixelTransform,l);Dc(b.coordinateToPixelTransform,m);Dc(b.coordinateToPixelTransform,c);a.save();Dd(a,-g,e/2,f/2);a.beginPath();a.moveTo(h[0]*d,h[1]*d);a.lineTo(l[0]*d,l[1]*d);a.lineTo(m[0]*d,m[1]*d);a.lineTo(c[0]*d,c[1]*d);a.clip();Dd(a,g,e/2,f/2)}
function qj(a,b,c,d,e){var f=a.a;if(mc(f,b)){var g=d.size[0]*d.pixelRatio,h=d.size[1]*d.pixelRatio,l=d.viewState.rotation;Dd(c,-l,g/2,h/2);a=void 0!==e?e:rj(a,d,0);f.b(new Wi(b,new Yi(c,d.pixelRatio,d.extent,a,d.viewState.rotation),d,c,null));Dd(c,l,g/2,h/2)}}oj.prototype.u=function(a,b,c,d){if(this.Oa(a,b,0,tc,this))return c.call(d,this.a,null)};oj.prototype.xg=function(a,b,c,d){qj(this,"postcompose",a,b,d)};
function rj(a,b,c){var d=b.viewState,e=b.pixelRatio,f=e/d.resolution;return Ic(a.ea,e*b.size[0]/2,e*b.size[1]/2,f,-f,-d.rotation,-d.center[0]+c,-d.center[1])};function sj(a){oj.call(this,a);this.o=yc();this.s=null}w(sj,oj);sj.prototype.og=function(a,b,c){qj(this,"precompose",c,a,void 0);var d=this.fa();if(d){var e=b.extent,f=void 0!==e&&!Ka(e,a.extent)&&fb(e,a.extent);f&&pj(c,a,e);e=this.H();var g=c.globalAlpha;c.globalAlpha=b.opacity;c.drawImage(d,0,0,+d.width,+d.height,Math.round(e[4]),Math.round(e[5]),Math.round(d.width*e[0]),Math.round(d.height*e[3]));c.globalAlpha=g;f&&c.restore()}this.xg(c,a,b)};
sj.prototype.Oa=function(a,b,c,d,e){var f=this.a;return f.Z().Oa(a,b.viewState.resolution,b.viewState.rotation,c,b.skippedFeatureUids,function(a){return d.call(e,a,f)})};
sj.prototype.u=function(a,b,c,d){if(this.fa()){if(this.a.Z().Oa!==da)return oj.prototype.u.apply(this,arguments);var e=Dc(this.o,a.slice());fg(e,b.viewState.resolution/this.g);this.s||(this.s=Sc(1,1));this.s.clearRect(0,0,1,1);this.s.drawImage(this.fa(),e[0],e[1],1,1,0,0,1,1);e=this.s.getImageData(0,0,1,1).data;if(0<e[3])return c.call(d,this.a,e)}};function tj(a){sj.call(this,a);this.V=null;this.j=yc();this.C=[];this.c=null}w(tj,sj);tj.handles=function(a,b){return"canvas"===a&&("IMAGE"===b.U()||"VECTOR"===b.U()&&"image"===b.C)};tj.create=function(a,b){var c=new tj(b);if("VECTOR"===b.U())for(var d=0,e=jh.length;d<e;++d){var f=jh[d];f!==tj&&f.handles("canvas",b)&&(f=f.create(a,b),c.c=f)}return c};tj.prototype.fa=function(){return this.V?this.V.fa():null};tj.prototype.H=function(){return this.j};
tj.prototype.Vd=function(a,b){var c=a.pixelRatio,d=a.size,e=a.viewState,f=e.center,g=e.resolution,h=this.a.Z(),l=a.viewHints,m=a.extent;void 0!==b.extent&&(m=eb(m,b.extent));if(!l[0]&&!l[1]&&!$a(m))if(l=e.projection,e=this.c){l=e.context;var n=zb({},a,{size:[ab(m)/g,bb(m)/g],viewState:zb({},a.viewState,{rotation:0})}),p=Object.keys(n.skippedFeatureUids).sort();!e.Vd(n,b)||!e.s&&se(p,this.C)||(l.canvas.width=n.size[0]*c,l.canvas.height=n.size[1]*c,e.og(n,b,l),this.V=new Vi(m,g,c,l.canvas),this.C=p)}else(e=
h.fa(m,g,c,l))&&jj(this,e)&&(this.V=e);this.V&&(e=this.V,m=e.G(),b=e.la(),e=e.a,l=c*b/(g*e),m=Ic(this.j,c*d[0]/2,c*d[1]/2,l,l,0,e*(m[0]-f[0])/b,e*(f[1]-m[3])/b),Ic(this.o,c*d[0]/2-m[4],c*d[1]/2-m[5],c/g,-c/g,0,-f[0],-f[1]),lj(a,h),this.g=b*c/e);return!!this.V};tj.prototype.Oa=function(a,b,c,d,e){return this.c?this.c.Oa(a,b,c,d,e):sj.prototype.Oa.call(this,a,b,c,d,e)};function uj(){this.b={};this.a=0;this.l=32}uj.prototype.clear=function(){this.b={};this.a=0};function vj(a){if(a.a>a.l){var b=0,c;for(c in a.b){var d=a.b[c];0!==(b++&3)||mc(d)||(delete a.b[c],--a.a)}}}uj.prototype.get=function(a,b,c){a=b+":"+a+":"+(c?Pc(c):"null");return a in this.b?this.b[a]:null};uj.prototype.set=function(a,b,c,d){this.b[b+":"+a+":"+(c?Pc(c):"null")]=d;++this.a};uj.prototype.c=function(a){this.l=a;vj(this)};var wj=new uj;function xj(a,b){this.ja=b;this.c={};this.u={}}w(xj,hc);function yj(a){var b=a.viewState,c=a.coordinateToPixelTransform,d=a.pixelToCoordinateTransform;Ic(c,a.size[0]/2,a.size[1]/2,1/b.resolution,-1/b.resolution,-b.rotation,-b.center[0],-b.center[1]);Jc(Cc(d,c))}function zj(){vj(wj)}k=xj.prototype;
k.Oa=function(a,b,c,d,e,f,g){function h(a,c){var f=x(a).toString(),g=b.layerStates[x(c)].fg;if(!(f in b.skippedFeatureUids)||g)return d.call(e,a,g?c:null)}var l,m=b.viewState,n=m.resolution,p=m.projection;m=a;if(p.l){p=p.G();var q=ab(p),r=a[0];if(r<p[0]||r>p[2])m=[r+q*Math.ceil((p[0]-r)/q),a[1]]}p=b.layerStatesArray;for(q=p.length-1;0<=q;--q){var u=p[q];r=u.layer;if(rh(u,n)&&f.call(g,r)&&(u=Fj(this,r),r.Z()&&(l=u.Oa(r.Z().L?m:a,b,c,h,e)),l))return l}};
k.ik=function(a,b,c,d,e){return void 0!==this.Oa(a,b,c,tc,this,d,e)};function Fj(a,b){var c=x(b).toString();if(c in a.c)return a.c[c];for(var d,e=a.U(),f=0,g=jh.length;f<g;++f){var h=jh[f];if(h.handles(e,b)){d=h.create(a,b);break}}if(d)a.c[c]=d,a.u[c]=A(d,"change",a.Hn,a);else throw Error("Unable to create renderer for layer: "+b.U());return d}k.T=function(){return this.ja};k.Hn=function(){this.ja.render()};function nh(a,b){var c=a.c[b];delete a.c[b];$b(a.u[b]);delete a.u[b];return c}k.oi=da;
k.Cr=function(a,b){for(var c in this.c)b&&c in b.layerStates||nh(this,c).Ab()};function Gj(a,b){for(var c in a.c)if(!(c in b.layerStates)){b.postRenderFunctions.push(a.Cr.bind(a));break}}function ue(a,b){return a.zIndex-b.zIndex};function Hj(a,b){xj.call(this,a,b);this.l=Sc();this.b=this.l.canvas;this.b.style.width="100%";this.b.style.height="100%";this.b.style.display="block";this.b.className="ol-unselectable";a.insertBefore(this.b,a.childNodes[0]||null);this.a=!0;this.g=yc()}w(Hj,xj);Hj.handles=function(a){return"canvas"===a};Hj.create=function(a,b){return new Hj(a,b)};
function Ij(a,b,c){var d=a.T(),e=a.l;if(mc(d,b)){var f=c.extent,g=c.pixelRatio,h=c.viewState.rotation,l=c.viewState,m=c.pixelRatio/l.resolution;a=Ic(a.g,a.b.width/2,a.b.height/2,m,-m,-l.rotation,-l.center[0],-l.center[1]);d.b(new Wi(b,new Yi(e,g,f,a,h),c,e,null))}}Hj.prototype.U=function(){return"canvas"};
Hj.prototype.oi=function(a){if(a){var b=this.l,c=a.pixelRatio,d=Math.round(a.size[0]*c),e=Math.round(a.size[1]*c);this.b.width!=d||this.b.height!=e?(this.b.width=d,this.b.height=e):b.clearRect(0,0,d,e);c=a.viewState.rotation;yj(a);Ij(this,"precompose",a);var f=a.layerStatesArray;te(f);c&&(b.save(),Dd(b,c,d/2,e/2));d=a.viewState.resolution;var g;e=0;for(g=f.length;e<g;++e){var h=f[e];var l=h.layer;l=Fj(this,l);rh(h,d)&&"ready"==h.jl&&l.Vd(a,h)&&l.og(a,h,b)}c&&b.restore();Ij(this,"postcompose",a);this.a||
(this.b.style.display="",this.a=!0);Gj(this,a);a.postRenderFunctions.push(zj)}else this.a&&(this.b.style.display="none",this.a=!1)};Hj.prototype.hk=function(a,b,c,d,e,f){var g=b.viewState.resolution,h=b.layerStatesArray,l=h.length;a=Dc(b.pixelToCoordinateTransform,a.slice());for(--l;0<=l;--l){var m=h[l];var n=m.layer;if(rh(m,g)&&e.call(f,n)&&(m=Fj(this,n).u(a,b,c,d)))return m}};function Jj(a){sj.call(this,a);this.context=null===this.context?null:Sc();this.c=null;this.j=[];this.aa=Da();this.Ma=new fe(0,0,0,0);this.C=yc();this.$=0}w(Jj,sj);Jj.handles=function(a,b){return"canvas"===a&&"TILE"===b.U()};Jj.create=function(a,b){return new Jj(b)};function Kj(a,b){b=b.getState();a=a.a.g();return 2==b||4==b||3==b&&!a}
Jj.prototype.Vd=function(a,b){var c=a.pixelRatio,d=a.size,e=a.viewState,f=e.projection,g=e.resolution;e=e.center;var h=this.a,l=h.Z(),m=l.l,n=l.Db(f),p=n.wd(g,this.$),q=n.la(p),r=Math.round(g/q)||1,u=a.extent;void 0!==b.extent&&(u=eb(u,b.extent));if($a(u))return!1;var v=Ce(n,u,p),y=Fe(n,p,v),z=l.Pd(c),E={};E[p]={};var M=this.Yg(l,f,E),Xa=this.aa,ra=this.Ma,wa=!1,ka,ma;for(ka=v.qa;ka<=v.za;++ka)for(ma=v.pa;ma<=v.ya;++ma){var Aa=l.Wd(p,ka,ma,c,f);3==Aa.getState()&&(h.g()?0<h.c()&&(wa=!0):Lj(Aa,2));
Kj(this,Aa)||(Aa=Mj(Aa));if(Kj(this,Aa)){var lb=x(this);if(2==Aa.getState()){E[p][Aa.Wa.toString()]=Aa;var Hc=Aa.s?-1!==Aa.u[lb]:!1;wa||!Hc&&-1!==this.j.indexOf(Aa)||(wa=!0)}if(1===Nj(Aa,lb,a.time))continue}lb=Ee(n,Aa.Wa,ra,Xa);Hc=!1;lb&&(Hc=M(p+1,lb));Hc||De(n,Aa.Wa,M,ra,Xa)}Aa=a.viewHints;Aa=Aa[0]||Aa[1];if(!(this.g&&16<Date.now()-a.time&&Aa||!wa&&this.c&&Ka(this.c,u)&&this.Gg==m&&r==this.R&&(Aa||q*c/z*r==this.g))){if(Aa=this.context)ma=l.We(p,c,f),ka=Math.round((v.za-v.qa+1)*ma[0]/r),ma=Math.round((v.ya-
v.pa+1)*ma[1]/r),wa=Aa.canvas,wa.width!=ka||wa.height!=ma?(this.R=r,wa.width=ka,wa.height=ma):(this.c&&!Ra(y,this.c)&&Aa.clearRect(0,0,ka,ma),r=this.R);this.j.length=0;wa=Object.keys(E).map(Number);wa.sort(function(a,b){return a===p?1:b===p?-1:a>b?1:a<b?-1:0});lb=0;for(Hc=wa.length;lb<Hc;++lb){ra=wa[lb];M=l.We(ra,c,f);Aa=n.la(ra);var nb=Aa/q;var ha=z*l.mh(f);var ic=E[ra];for(var wf in ic){Aa=ic[wf];ma=n.ib(Aa.Wa,Xa);ka=(ma[0]-y[0])/q*z/r;ma=(y[3]-ma[3])/q*z/r;var Gg=M[0]*nb/r;var pe=M[1]*nb/r;this.Zg(Aa,
a,b,ka,ma,Gg,pe,ha,p===ra);this.j.push(Aa)}}this.Gg=m;this.g=q*c/z*r;this.c=y}b=this.g/g;b=Ic(this.C,c*d[0]/2,c*d[1]/2,b,b,0,(this.c[0]-e[0])/this.g*c,(e[1]-this.c[3])/this.g*c);Ic(this.o,c*d[0]/2-b[4],c*d[1]/2-b[5],c/g,-c/g,0,-e[0],-e[1]);mj(a.usedTiles,l,p,v);nj(a,l,n,c,f,u,p,h.c());kj(a,l);lj(a,l);return 0<this.j.length};
Jj.prototype.Zg=function(a,b,c,d,e,f,g,h,l){if(c=a.fa(this.a)){var m=x(this),n=l?Nj(a,m,b.time):1;1!==n||this.a.Z().th(b.viewState.projection)||this.context.clearRect(d,e,f,g);var p=n!==this.context.globalAlpha;p&&(this.context.save(),this.context.globalAlpha=n);this.context.drawImage(c,h,h,c.width-2*h,c.height-2*h,d,e,f,g);p&&this.context.restore();1!==n?b.animate=!0:l&&a.s&&(a.u[m]=-1)}};Jj.prototype.fa=function(){var a=this.context;return a?a.canvas:null};Jj.prototype.H=function(){return this.C};var Oj={Cd:function(){}};
(function(a){function b(a,c){if(!(this instanceof b))return new b(a,c);this.Ug=Math.max(4,a||9);this.Li=Math.max(2,Math.ceil(.4*this.Ug));c&&this.Ol(c);this.clear()}function c(a,b){d(a,0,a.children.length,b,a)}function d(a,b,c,d,f){f||(f=p(null));f.qa=Infinity;f.pa=Infinity;f.za=-Infinity;f.ya=-Infinity;for(var g;b<c;b++)g=a.children[b],e(f,a.Fb?d(g):g);return f}function e(a,b){a.qa=Math.min(a.qa,b.qa);a.pa=Math.min(a.pa,b.pa);a.za=Math.max(a.za,b.za);a.ya=Math.max(a.ya,b.ya);return a}function f(a,
b){return a.qa-b.qa}function g(a,b){return a.pa-b.pa}function h(a){return(a.za-a.qa)*(a.ya-a.pa)}function l(a){return a.za-a.qa+(a.ya-a.pa)}function m(a,b){return a.qa<=b.qa&&a.pa<=b.pa&&b.za<=a.za&&b.ya<=a.ya}function n(a,b){return b.qa<=a.za&&b.pa<=a.ya&&b.za>=a.qa&&b.ya>=a.pa}function p(a){return{children:a,height:1,Fb:!0,qa:Infinity,pa:Infinity,za:-Infinity,ya:-Infinity}}function q(a,b,c,d,e){for(var f=[b,c],g;f.length;)c=f.pop(),b=f.pop(),c-b<=d||(g=b+Math.ceil((c-b)/d/2)*d,u(a,g,b,c,e),f.push(b,
g,g,c))}var r="undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{},u=function(a,b){return b={$g:{}},a(b,b.$g),b.$g}(function(a){(function(b,c){a.$g=c()})(r,function(){function a(c,d,e,f,g){for(;f>e;){if(600<f-e){var h=f-e+1,l=d-e+1,m=Math.log(h),n=.5*Math.exp(2*m/3);m=.5*Math.sqrt(m*n*(h-n)/h)*(0>l-h/2?-1:1);a(c,d,Math.max(e,Math.floor(d-l*n/h+m)),Math.min(f,Math.floor(d+(h-l)*n/h+m)),g)}h=c[d];l=e;n=f;b(c,e,d);for(0<g(c[f],h)&&b(c,e,f);l<n;){b(c,
l,n);l++;for(n--;0>g(c[l],h);)l++;for(;0<g(c[n],h);)n--}0===g(c[e],h)?b(c,e,n):(n++,b(c,n,f));n<=d&&(e=n+1);d<=n&&(f=n-1)}}function b(a,b,c){var d=a[b];a[b]=a[c];a[c]=d}function c(a,b){return a<b?-1:a>b?1:0}return function(b,d,e,f,g){a(b,d,e||0,f||b.length-1,g||c)}})});b.prototype={all:function(){return this.Gi(this.data,[])},search:function(a){var b=this.data,c=[],d=this.dc;if(!n(a,b))return c;for(var e=[],f,g,h,l;b;){f=0;for(g=b.children.length;f<g;f++)h=b.children[f],l=b.Fb?d(h):h,n(a,l)&&(b.Fb?
c.push(h):m(a,l)?this.Gi(h,c):e.push(h));b=e.pop()}return c},cm:function(a){var b=this.data,c=this.dc;if(!n(a,b))return!1;for(var d=[],e,f,g,h;b;){e=0;for(f=b.children.length;e<f;e++)if(g=b.children[e],h=b.Fb?c(g):g,n(a,h)){if(b.Fb||m(a,h))return!0;d.push(g)}b=d.pop()}return!1},load:function(a){if(!a||!a.length)return this;if(a.length<this.Li){for(var b=0,c=a.length;b<c;b++)this.Za(a[b]);return this}a=this.Ii(a.slice(),0,a.length-1,0);this.data.children.length?this.data.height===a.height?this.Ni(this.data,
a):(this.data.height<a.height&&(b=this.data,this.data=a,a=b),this.Ki(a,this.data.height-a.height-1,!0)):this.data=a;return this},Za:function(a){a&&this.Ki(a,this.data.height-1);return this},clear:function(){this.data=p([]);return this},remove:function(a,b){if(!a)return this;for(var c=this.data,d=this.dc(a),e=[],f=[],g,h,l,n;c||e.length;){c||(c=e.pop(),h=e[e.length-1],g=f.pop(),n=!0);if(c.Fb){a:{l=a;var p=c.children,q=b;if(q){for(var r=0;r<p.length;r++)if(q(l,p[r])){l=r;break a}l=-1}else l=p.indexOf(l)}if(-1!==
l){c.children.splice(l,1);e.push(c);this.Ml(e);break}}n||c.Fb||!m(c,d)?h?(g++,c=h.children[g],n=!1):c=null:(e.push(c),f.push(g),g=0,h=c,c=c.children[0])}return this},dc:function(a){return a},Wg:f,Xg:g,toJSON:function(){return this.data},Gi:function(a,b){for(var c=[];a;)a.Fb?b.push.apply(b,a.children):c.push.apply(c,a.children),a=c.pop();return b},Ii:function(a,b,d,e){var f=d-b+1,g=this.Ug;if(f<=g){var h=p(a.slice(b,d+1));c(h,this.dc);return h}e||(e=Math.ceil(Math.log(f)/Math.log(g)),g=Math.ceil(f/
Math.pow(g,e-1)));h=p([]);h.Fb=!1;h.height=e;f=Math.ceil(f/g);g=f*Math.ceil(Math.sqrt(g));var l;for(q(a,b,d,g,this.Wg);b<=d;b+=g){var m=Math.min(b+g-1,d);q(a,b,m,f,this.Xg);for(l=b;l<=m;l+=f){var n=Math.min(l+f-1,m);h.children.push(this.Ii(a,l,n,e-1))}}c(h,this.dc);return h},Ll:function(a,b,c,d){for(var e,f,g,l,m,n,p,q;;){d.push(b);if(b.Fb||d.length-1===c)break;p=q=Infinity;e=0;for(f=b.children.length;e<f;e++)g=b.children[e],m=h(g),n=(Math.max(g.za,a.za)-Math.min(g.qa,a.qa))*(Math.max(g.ya,a.ya)-
Math.min(g.pa,a.pa))-m,n<q?(q=n,p=m<p?m:p,l=g):n===q&&m<p&&(p=m,l=g);b=l||b.children[0]}return b},Ki:function(a,b,c){var d=this.dc;c=c?a:d(a);d=[];var f=this.Ll(c,this.data,b,d);f.children.push(a);for(e(f,c);0<=b;)if(d[b].children.length>this.Ug)this.Rl(d,b),b--;else break;this.Il(c,d,b)},Rl:function(a,b){var d=a[b],e=d.children.length,f=this.Li;this.Jl(d,f,e);e=this.Kl(d,f,e);e=p(d.children.splice(e,d.children.length-e));e.height=d.height;e.Fb=d.Fb;c(d,this.dc);c(e,this.dc);b?a[b-1].children.push(e):
this.Ni(d,e)},Ni:function(a,b){this.data=p([a,b]);this.data.height=a.height+1;this.data.Fb=!1;c(this.data,this.dc)},Kl:function(a,b,c){var e,f;var g=f=Infinity;for(e=b;e<=c-b;e++){var l=d(a,0,e,this.dc);var m=d(a,e,c,this.dc);var n=Math.max(0,Math.min(l.za,m.za)-Math.max(l.qa,m.qa))*Math.max(0,Math.min(l.ya,m.ya)-Math.max(l.pa,m.pa));l=h(l)+h(m);if(n<g){g=n;var p=e;f=l<f?l:f}else n===g&&l<f&&(f=l,p=e)}return p},Jl:function(a,b,c){var d=a.Fb?this.Wg:f,e=a.Fb?this.Xg:g,h=this.Hi(a,b,c,d);b=this.Hi(a,
b,c,e);h<b&&a.children.sort(d)},Hi:function(a,b,c,f){a.children.sort(f);f=this.dc;var g=d(a,0,b,f),h=d(a,c-b,c,f),m=l(g)+l(h),n;for(n=b;n<c-b;n++){var p=a.children[n];e(g,a.Fb?f(p):p);m+=l(g)}for(n=c-b-1;n>=b;n--)p=a.children[n],e(h,a.Fb?f(p):p),m+=l(h);return m},Il:function(a,b,c){for(;0<=c;c--)e(b[c],a)},Ml:function(a){for(var b=a.length-1,d;0<=b;b--)0===a[b].children.length?0<b?(d=a[b-1].children,d.splice(d.indexOf(a[b]),1)):this.clear():c(a[b],this.dc)},Ol:function(a){var b=["return a"," - b",
";"];this.Wg=new Function("a","b",b.join(a[0]));this.Xg=new Function("a","b",b.join(a[1]));this.dc=new Function("a","return {minX: a"+a[0]+", minY: a"+a[1]+", maxX: a"+a[2]+", maxY: a"+a[3]+"};")}};a["default"]=b})(Oj.Cd=Oj.Cd||{});Oj.Cd=Oj.Cd.default;function Pj(){};function Qj(a,b,c,d){var e=a[b],f=a[b+1],g=0;for(b+=d;b<c;b+=d){var h=a[b],l=a[b+1];g+=Math.sqrt((h-e)*(h-e)+(l-f)*(l-f));e=h;f=l}return g};var Rj="Polygon Circle LineString Image Text Default".split(" "),Sj={left:0,end:0,center:.5,right:1,start:1,top:0,middle:.5,hanging:.2,alphabetic:.8,ideographic:.8,bottom:1};function Tj(a,b,c,d,e,f){this.Ma=f;this.sb=Da();this.qb=a;this.Xa=b;this.overlaps=e;this.pixelRatio=d;this.rb=0;this.resolution=c;this.g=this.aa=this.O=null;this.a=[];this.coordinates=[];this.Na={};this.ma=yc();this.b=[];this.R=null;this.state={};this.ha=0;this.bd=yc()}w(Tj,Xi);function Uj(a,b,c,d,e,f,g,h){b.beginPath();b.moveTo.apply(b,c);b.lineTo.apply(b,d);b.lineTo.apply(b,e);b.lineTo.apply(b,f);b.lineTo.apply(b,c);g&&(a.$=g[2],a.tb(b));h&&(Vj(b,h),b.stroke())}
function Wj(a,b,c,d,e,f,g,h,l,m,n,p,q,r,u,v,y,z,E){var M=z||E,Xa=a.bd;f*=r;g*=r;c-=f;d-=g;u&&(c=Math.round(c),d=Math.round(d));u=v+n>e.width?e.width-n:v;l=l+p>e.height?e.height-p:l;v=a.sb;var ra=y[3]+u*r+y[1],wa=y[0]+l*r+y[2],ka=c-y[3],ma=d-y[0];if(M||0!==q){var Aa=[ka,ma];var lb=[ka+ra,ma];var Hc=[ka+ra,ma+wa];var nb=[ka,ma+wa]}y=null;0!==q?(f=c+f,g=d+g,y=Ic(Xa,f,g,1,1,q,-f,-g),Na(v),Ea(v,Dc(Xa,Aa)),Ea(v,Dc(Xa,lb)),Ea(v,Dc(Xa,Hc)),Ea(v,Dc(Xa,nb))):Ma(ka,ma,ka+ra,ma+wa,v);q=b.canvas;q=v[0]<=q.width&&
0<=v[2]&&v[1]<=q.height&&0<=v[3];if(h){if(q||1!=h[4])Sa(h,v),(a=q?[b,y?y.slice(0):null,m,e,n,p,u,l,c,d,r]:null)&&M&&a.push(z,E,Aa,lb,Hc,nb),h.push(a)}else q&&(M&&Uj(a,b,Aa,lb,Hc,nb,z,E),Fd(b,y,m,e,n,p,u,l,c,d,r))}function Xj(a,b){var c=a.pixelRatio;return 1==c?b:b.map(function(a){return a*c})}
function Yj(a,b,c,d,e,f,g){var h=a.coordinates.length,l=Zj(a);g&&(c+=e);g=[b[c],b[c+1]];var m=[NaN,NaN],n=!0,p;for(p=c+e;p<d;p+=e){m[0]=b[p];m[1]=b[p+1];var q=La(l,m);q!==r?(n&&(a.coordinates[h++]=g[0],a.coordinates[h++]=g[1]),a.coordinates[h++]=m[0],a.coordinates[h++]=m[1],n=!1):1===q?(a.coordinates[h++]=m[0],a.coordinates[h++]=m[1],n=!1):n=!0;g[0]=m[0];g[1]=m[1];var r=q}if(f&&n||p===c+e)a.coordinates[h++]=g[0],a.coordinates[h++]=g[1];return h}
function ak(a,b,c,d,e,f){for(var g=0,h=d.length;g<h;++g){var l=d[g];c=Yj(a,b,c,l,e,!1,!1);f.push(c);c=l}return c}k=Tj.prototype;
k.Zi=function(a,b,c){bk(this,b);var d=a.U(),e=a.Ea(),f=this.coordinates.length,g;if("MultiPolygon"==d){d=ej(a);var h=[];for(var l=a.re(),m=g=0,n=l.length;m<n;++m){var p=[];g=ak(this,d,g,l[m],e,p);h.push(p)}this.a.push([4,f,h,a,c,xg])}else"Polygon"==d||"MultiLineString"==d?(h=[],d="Polygon"==d?a.Wc():a.na(),ak(this,d,0,a.Jb(),e,h),this.a.push([4,f,h,a,c,wg])):"LineString"==d||"MultiPoint"==d?(d=a.na(),e=Yj(this,d,0,d.length,e,!1,!1),this.a.push([4,f,e,a,c,vg])):"Point"==d&&(d=a.na(),this.coordinates.push(d[0],
d[1]),e=this.coordinates.length,this.a.push([4,f,e,a,c]));ck(this,b)};function bk(a,b){a.O=[0,b,0];a.a.push(a.O);a.aa=[0,b,0];a.b.push(a.aa)}k.tb=function(a){if(this.$){var b=Dc(this.ma,this.$.slice());a.translate(b[0],b[1]);a.rotate(this.ha)}a.fill();this.$&&a.setTransform.apply(a,Ed)};function Vj(a,b){a.strokeStyle=b[1];a.lineWidth=b[2];a.lineCap=b[3];a.lineJoin=b[4];a.miterLimit=b[5];dd&&(a.lineDashOffset=b[7],a.setLineDash(b[6]))}
function dk(a,b,c){if(b&&5<b.length){var d=b[4];if(1==d||d==b.length-5){c={qa:b[0],pa:b[1],za:b[2],ya:b[3],value:c};if(!a.Ma.cm(c))for(a.Ma.Za(c),c=5,d=b.length;c<d;++c){var e=b[c];e&&(11<e.length&&Uj(a,e[0],e[13],e[14],e[15],e[16],e[11],e[12]),Fd.apply(void 0,e))}b.length=5;Na(b)}}}
function ek(a,b,c,d,e,f,g){if(a.R&&se(c,a.ma))var h=a.R;else a.R||(a.R=[]),h=vc(a.coordinates,0,a.coordinates.length,2,c,a.R),Cc(a.ma,c);for(var l=!Cb(d),m=0,n=e.length,p=0,q,r,u,v,y,z,E,M,Xa,ra=0,wa=0,ka=null,ma=null,Aa=a.Na,lb=a.ha,Hc={context:b,pixelRatio:a.pixelRatio,resolution:a.resolution,rotation:lb},nb=a.a!=e||a.overlaps?0:200;m<n;){var ha=e[m];switch(ha[0]){case 0:var ic=ha[1];l&&d[x(ic).toString()]||!ic.W()?m=ha[2]:void 0===g||fb(g,ic.W().G())?++m:m=ha[2]+1;break;case 1:ra>nb&&(a.tb(b),
ra=0);wa>nb&&(b.stroke(),wa=0);ra||wa||(b.beginPath(),v=y=NaN);++m;break;case 2:p=ha[1];var wf=h[p],Gg=h[p+1],pe=h[p+2]-wf,bf=h[p+3]-Gg,yi=Math.sqrt(pe*pe+bf*bf);b.moveTo(wf+yi,Gg);b.arc(wf,Gg,yi,0,2*Math.PI,!0);++m;break;case 3:b.closePath();++m;break;case 4:p=ha[1];q=ha[2];var xh=ha[4],yh=6==ha.length?ha[5]:void 0;Hc.geometry=ha[3];Hc.feature=ic;m in Aa||(Aa[m]=[]);var Ig=Aa[m];yh?yh(h,p,q,2,Ig):(Ig[0]=h[p],Ig[1]=h[p+1],Ig.length=2);xh(Ig,Hc);++m;break;case 6:p=ha[1];q=ha[2];Xa=ha[3];r=ha[4];u=
ha[5];M=f?null:ha[6];var dg=ha[7],Nv=ha[8],Ov=ha[9],Pv=ha[10],Qv=ha[11],nq=ha[12],Rv=ha[13],Sv=ha[14],Tv=ha[15];if(16<ha.length){var oq=ha[16];var pq=ha[17];var qq=ha[18]}else oq=ud,pq=qq=!1;for(Qv&&(nq+=lb);p<q;p+=2)Wj(a,b,h[p],h[p+1],Xa,r,u,M,dg,Nv,Ov,Pv,nq,Rv,Sv,Tv,oq,pq?ka:null,qq?ma:null);dk(a,M,ic);++m;break;case 5:var rq=ha[1],sq=ha[2],Jl=ha[3];M=f?null:ha[4];var Uv=ha[5],tq=ha[6],Vv=ha[7],uq=ha[8],vq=ha[9],wq=ha[10],xq=ha[11],yq=ha[12],Kl=ha[13],zq=ha[14],Aq=Qj(h,rq,sq,2),Bq=uq(yq);if(Uv||
Bq<=Aq){a:{var Aj=void 0,Cq=void 0,Jg=void 0,eg=h,df=rq,Dq=sq,Eq=yq,Wv=uq,Fq=(Aq-Bq)*Sj[a.u[Kl].textAlign],Xv=Vv,Ll=[],zi=eg[df]>eg[Dq-2],Gq=Eq.length,Ai=eg[df],Bi=eg[df+1];df+=2;for(var zh=eg[df],Ah=eg[df+1],Ml=0,Bj=Math.sqrt(Math.pow(zh-Ai,2)+Math.pow(Ah-Bi,2)),Kg="",Nl=0,Cj=0;Cj<Gq;++Cj){Cq=zi?Gq-Cj-1:Cj;var Ol=Eq.charAt(Cq);Kg=zi?Ol+Kg:Kg+Ol;var Bh=Wv(Kg)-Nl;Nl+=Bh;for(var Hq=Fq+Bh/2;df<Dq-2&&Ml+Bj<Hq;)Ai=zh,Bi=Ah,df+=2,zh=eg[df],Ah=eg[df+1],Ml+=Bj,Bj=Math.sqrt(Math.pow(zh-Ai,2)+Math.pow(Ah-Bi,
2));var Yv=Hq-Ml,Ch=Math.atan2(Ah-Bi,zh-Ai);zi&&(Ch+=0<Ch?-Math.PI:Math.PI);if(void 0!==Aj){var Dj=Ch-Aj;Dj+=Dj>Math.PI?-2*Math.PI:Dj<-Math.PI?2*Math.PI:0;if(Math.abs(Dj)>Xv){var Dh=null;break a}}var Iq=Yv/Bj,Jq=ta(Ai,zh,Iq),Kq=ta(Bi,Ah,Iq);Aj==Ch?(zi&&(Jg[0]=Jq,Jg[1]=Kq,Jg[2]=Bh/2),Jg[4]=Kg):(Kg=Ol,Nl=Bh,Jg=[Jq,Kq,Bh/2,Ch,Kg],zi?Ll.unshift(Jg):Ll.push(Jg),Aj=Ch);Fq+=Bh}Dh=Ll}if(Dh){var Ej;if(wq){var Lg=0;for(Ej=Dh.length;Lg<Ej;++Lg){var Oe=Dh[Lg];var Pl=Oe[4];var yf=a.fa(Pl,Kl,"",wq);r=Oe[2]+xq;
u=Jl*yf.height+2*(.5-Jl)*xq-vq;Wj(a,b,Oe[0],Oe[1],yf,r,u,M,yf.height,1,0,0,Oe[3],zq,!1,yf.width,ud,null,null)}}if(tq)for(Lg=0,Ej=Dh.length;Lg<Ej;++Lg)Oe=Dh[Lg],Pl=Oe[4],yf=a.fa(Pl,Kl,tq,""),r=Oe[2],u=Jl*yf.height-vq,Wj(a,b,Oe[0],Oe[1],yf,r,u,M,yf.height,1,0,0,Oe[3],zq,!1,yf.width,ud,null,null)}}dk(a,M,ic);++m;break;case 7:if(void 0!==f){ic=ha[1];var Lq=f(ic);if(Lq)return Lq}++m;break;case 8:nb?ra++:a.tb(b);++m;break;case 9:p=ha[1];q=ha[2];var Ci=h[p];var Di=h[p+1];z=Ci+.5|0;E=Di+.5|0;if(z!==v||E!==
y)b.moveTo(Ci,Di),v=z,y=E;for(p+=2;p<q;p+=2)if(Ci=h[p],Di=h[p+1],z=Ci+.5|0,E=Di+.5|0,p==q-2||z!==v||E!==y)b.lineTo(Ci,Di),v=z,y=E;++m;break;case 10:ka=ha;a.$=ha[2];ra&&(a.tb(b),ra=0,wa&&(b.stroke(),wa=0));b.fillStyle=ha[1];++m;break;case 11:ma=ha;wa&&(b.stroke(),wa=0);Vj(b,ha);++m;break;case 12:nb?wa++:b.stroke();++m;break;default:++m}}ra&&a.tb(b);wa&&b.stroke()}k.kb=function(a,b,c,d){this.ha=c;ek(this,a,b,d,this.a,void 0,void 0)};function fk(a,b,c,d,e,f,g){a.ha=d;return ek(a,b,c,e,a.b,f,g)}
function gk(a){var b=a.b;b.reverse();var c,d=b.length,e=-1;for(c=0;c<d;++c){var f=b[c];var g=f[0];if(7==g)e=c;else if(0==g){f[2]=c;f=a.b;for(g=c;e<g;){var h=f[e];f[e]=f[g];f[g]=h;++e;--g}e=-1}}}
k.mb=function(a,b){var c=this.state;a?(a=a.b,c.fillStyle=Rc(a?a:rd)):c.fillStyle=void 0;b?(a=b.a,c.strokeStyle=Rc(a?a:td),a=b.j,c.lineCap=void 0!==a?a:"round",a=b.l,c.lineDash=a?a.slice():sd,a=b.g,c.lineDashOffset=a?a:0,a=b.s,c.lineJoin=void 0!==a?a:"round",a=b.c,c.lineWidth=void 0!==a?a:1,b=b.o,c.miterLimit=void 0!==b?b:10,c.lineWidth>this.rb&&(this.rb=c.lineWidth,this.g=null)):(c.strokeStyle=void 0,c.lineCap=void 0,c.lineDash=null,c.lineDashOffset=void 0,c.lineJoin=void 0,c.lineWidth=void 0,c.miterLimit=
void 0)};k.Ri=function(a,b){var c=a.fillStyle;a=[10,c];"string"!==typeof c&&(b=b.G(),a.push([b[0],b[3]]));this.a.push(a)};k.oe=function(a){this.a.push([11,a.strokeStyle,a.lineWidth*this.pixelRatio,a.lineCap,a.lineJoin,a.miterLimit,Xj(this,a.lineDash),a.lineDashOffset*this.pixelRatio])};function hk(a,b,c,d){var e=b.fillStyle;if("string"!==typeof e||b.dm!=e)c.call(a,b,d),b.dm=e}
function ik(a,b,c){var d=b.strokeStyle,e=b.lineCap,f=b.lineDash,g=b.lineDashOffset,h=b.lineJoin,l=b.lineWidth,m=b.miterLimit;if(b.jm!=d||b.em!=e||f!=b.Xi&&!se(b.Xi,f)||b.fm!=g||b.gm!=h||b.hm!=l||b.im!=m)c.call(a,b),b.jm=d,b.em=e,b.Xi=f,b.fm=g,b.gm=h,b.hm=l,b.im=m}function ck(a,b){a.O[2]=a.a.length;a.O=null;a.aa[2]=a.b.length;a.aa=null;b=[7,b];a.a.push(b);a.b.push(b)}k.mg=da;function Zj(a){a.g||(a.g=Ga(a.Xa),0<a.rb&&Fa(a.g,a.resolution*(a.rb+1)/2,a.g));return a.g};function jk(a,b,c,d,e,f){Tj.call(this,a,b,c,d,e,f);this.V=this.ea=this.oa=null;this.B=this.C=this.H=this.u=this.o=this.ja=this.L=this.s=this.j=this.c=this.l=void 0}w(jk,Tj);
jk.prototype.zd=function(a,b){if(this.V){bk(this,b);var c=a.na(),d=this.coordinates.length;a=Yj(this,c,0,c.length,a.Ea(),!1,!1);this.a.push([6,d,a,this.V,this.l,this.c,this.oa,this.j,this.s,this.L,this.ja,this.o,this.u,this.H*this.pixelRatio,this.C,this.B]);this.b.push([6,d,a,this.ea,this.l,this.c,this.oa,this.j,this.s,this.L,this.ja,this.o,this.u,this.H,this.C,this.B]);ck(this,b)}};
jk.prototype.qd=function(a,b){if(this.V){bk(this,b);var c=a.na(),d=this.coordinates.length;a=Yj(this,c,0,c.length,a.Ea(),!1,!1);this.a.push([6,d,a,this.V,this.l,this.c,this.oa,this.j,this.s,this.L,this.ja,this.o,this.u,this.H*this.pixelRatio,this.C,this.B]);this.b.push([6,d,a,this.ea,this.l,this.c,this.oa,this.j,this.s,this.L,this.ja,this.o,this.u,this.H,this.C,this.B]);ck(this,b)}};
jk.prototype.mg=function(){gk(this);this.c=this.l=void 0;this.V=this.ea=null;this.B=this.C=this.u=this.o=this.ja=this.L=this.s=this.H=this.j=void 0};jk.prototype.Yc=function(a,b){var c=a.Ld(),d=a.La(),e=a.Sh(),f=a.fa(1),g=a.Xd();this.l=c[0];this.c=c[1];this.oa=b;this.ea=e;this.V=f;this.j=d[1];this.s=a.j;this.L=g[0];this.ja=g[1];this.o=a.H;this.u=a.s;this.H=a.l;this.C=a.C;this.B=d[0]};function kk(a,b,c,d,e,f){Tj.call(this,a,b,c,d,e,f)}w(kk,Tj);function lk(a,b,c,d,e){var f=a.coordinates.length;b=Yj(a,b,c,d,e,!1,!1);f=[9,f,b];a.a.push(f);a.b.push(f);return d}kk.prototype.yd=function(a,b){var c=this.state,d=c.lineWidth;void 0!==c.strokeStyle&&void 0!==d&&(ik(this,c,this.oe),bk(this,b),this.b.push([11,c.strokeStyle,c.lineWidth,c.lineCap,c.lineJoin,c.miterLimit,c.lineDash,c.lineDashOffset],[1]),c=a.na(),lk(this,c,0,c.length,a.Ea()),this.b.push([12]),ck(this,b))};
kk.prototype.pd=function(a,b){var c=this.state,d=c.lineWidth;if(void 0!==c.strokeStyle&&void 0!==d){ik(this,c,this.oe);bk(this,b);this.b.push([11,c.strokeStyle,c.lineWidth,c.lineCap,c.lineJoin,c.miterLimit,c.lineDash,c.lineDashOffset],[1]);c=a.Jb();d=a.na();a=a.Ea();var e=0,f;var g=0;for(f=c.length;g<f;++g)e=lk(this,d,e,c[g],a);this.b.push([12]);ck(this,b)}};kk.prototype.mg=function(){var a=this.state;void 0!=a.Ye&&a.Ye!=this.coordinates.length&&this.a.push([12]);gk(this);this.state=null};
kk.prototype.oe=function(a){void 0!=a.Ye&&a.Ye!=this.coordinates.length&&(this.a.push([12]),a.Ye=this.coordinates.length);a.Ye=0;Tj.prototype.oe.call(this,a);this.a.push([1])};function mk(a,b,c,d,e,f){Tj.call(this,a,b,c,d,e,f)}w(mk,Tj);function nk(a,b,c,d,e){var f=a.state,g=void 0!==f.fillStyle;f=void 0!=f.strokeStyle;var h=d.length,l=[1];a.a.push(l);a.b.push(l);for(l=0;l<h;++l){var m=d[l],n=a.coordinates.length;c=Yj(a,b,c,m,e,!0,!f);c=[9,n,c];a.a.push(c);a.b.push(c);f&&(c=[3],a.a.push(c),a.b.push(c));c=m}b=[8];a.b.push(b);g&&a.a.push(b);f&&(g=[12],a.a.push(g),a.b.push(g));return c}
mk.prototype.cd=function(a,b){var c=this.state,d=c.strokeStyle;if(void 0!==c.fillStyle||void 0!==d){ok(this,a);bk(this,b);this.b.push([10,Pc(rd)]);void 0!==c.strokeStyle&&this.b.push([11,c.strokeStyle,c.lineWidth,c.lineCap,c.lineJoin,c.miterLimit,c.lineDash,c.lineDashOffset]);var e=a.na();d=this.coordinates.length;Yj(this,e,0,e.length,a.Ea(),!1,!1);a=[1];d=[2,d];this.a.push(a,d);this.b.push(a,d);a=[8];this.b.push(a);void 0!==c.fillStyle&&this.a.push(a);void 0!==c.strokeStyle&&(c=[12],this.a.push(c),
this.b.push(c));ck(this,b)}};mk.prototype.Ad=function(a,b){var c=this.state;ok(this,a);bk(this,b);this.b.push([10,Pc(rd)]);void 0!==c.strokeStyle&&this.b.push([11,c.strokeStyle,c.lineWidth,c.lineCap,c.lineJoin,c.miterLimit,c.lineDash,c.lineDashOffset]);c=a.Jb();var d=a.Wc();nk(this,d,0,c,a.Ea());ck(this,b)};
mk.prototype.rd=function(a,b){var c=this.state,d=c.strokeStyle;if(void 0!==c.fillStyle||void 0!==d){ok(this,a);bk(this,b);this.b.push([10,Pc(rd)]);void 0!==c.strokeStyle&&this.b.push([11,c.strokeStyle,c.lineWidth,c.lineCap,c.lineJoin,c.miterLimit,c.lineDash,c.lineDashOffset]);c=a.re();d=ej(a);a=a.Ea();var e=0,f;var g=0;for(f=c.length;g<f;++g)e=nk(this,d,e,c[g],a);ck(this,b)}};
mk.prototype.mg=function(){gk(this);this.state=null;var a=this.qb;if(0!==a){var b=this.coordinates,c;var d=0;for(c=b.length;d<c;++d)b[d]=a*Math.round(b[d]/a)}};function ok(a,b){var c=a.state;void 0!==c.fillStyle&&hk(a,c,a.Ri,b);void 0!==c.strokeStyle&&ik(a,c,a.oe)};function pk(a,b,c,d,e,f){Tj.call(this,a,b,c,d,e,f);this.Ka="";this.o=this.L=0;this.ja=void 0;this.oa=0;this.c=null;this.C={};this.l=null;this.zb={};this.j={};this.u={};this.ea=this.H=this.s="";for(this.Ha={};qd(vd);)vd.pop()}w(pk,Tj);
pk.prototype.Nc=function(a,b){var c=this.c,d=this.l,e=this.j;if(""!==this.Ka&&e&&(c||d)){c=this.coordinates.length;var f=a.U();d=null;var g=2,h=2;if("line"===e.placement){if(!fb(Zj(this),a.G()))return;d=a.na();h=a.Ea();if("LineString"==f)var l=[d.length];else if("MultiLineString"==f)l=a.Jb();else if("Polygon"==f)l=a.Jb().slice(0,1);else if("MultiPolygon"==f)for(a=a.re(),l=[],g=0,f=a.length;g<f;++g)l.push(a[g][0]);bk(this,b);a=e.textAlign;var m=0,n;f=0;for(var p=l.length;f<p;++f){if(void 0==a){for(var q,
r,u=void 0,v=void 0,y=g=r=q=void 0,z=n=m,E=0,M=0,Xa=m;m<l[f];m+=h){var ra=d[m],wa=d[m+1];void 0!==r&&(r=ra-r,q=wa-q,g=Math.sqrt(r*r+q*q),void 0!==v&&(M+=y,u=Math.acos((v*r+u*q)/(y*g)),u>e.maxAngle&&(M>E&&(E=M,n=Xa,z=m),M=0,Xa=m-h)),y=g,v=r,u=q);r=ra;q=wa}g=M+g>E?[Xa,m]:[n,z];m=g[0];n=g[1]}else n=l[f];for(g=m;g<n;g+=h)this.coordinates.push(d[g],d[g+1]);g=this.coordinates.length;m=l[f];qk(this,c,g,this.B);c=g}}else{l=this.fa(this.Ka,this.s,this.H,this.ea);p=l.width/this.pixelRatio;switch(f){case "Point":case "MultiPoint":d=
a.na();g=d.length;break;case "LineString":d=a.Pf();break;case "Circle":d=a.Da();break;case "MultiLineString":d=a.Qf();g=d.length;break;case "Polygon":d=a.Re();if(!e.overflow&&d[2]/this.resolution<p)return;h=3;break;case "MultiPolygon":n=fj(a);d=[];g=0;for(f=n.length;g<f;g+=3)(e.overflow||n[g+2]/this.resolution>=p)&&d.push(n[g],n[g+1]);g=d.length;if(0==g)return}g=Yj(this,d,0,g,h,!1,!1);bk(this,b);if(e.backgroundFill||e.backgroundStroke)this.mb(e.backgroundFill,e.backgroundStroke),hk(this,this.state,
this.Ri,a),ik(this,this.state,this.oe);rk(this,l,c,g)}ck(this,b)}};
pk.prototype.fa=function(a,b,c,d){var e=d+b+a+c+this.pixelRatio;if(!vd.a.hasOwnProperty(e)){var f=d?this.zb[d]||this.l:null,g=c?this.C[c]||this.c:null,h=this.u[b]||this.j,l=h.scale*this.pixelRatio,m=Sj[h.textAlign||"center"];b=d&&f.lineWidth?f.lineWidth:0;a=a.split("\n");var n=a.length,p=[],q=h.font;var r=a.length;var u=0;var v;for(v=0;v<r;++v){var y=Cd(q,a[v]);u=Math.max(u,y);p.push(y)}r=u;q=Bd(h.font);r=Sc(Math.ceil((r+b)*l),Math.ceil((q*n+b)*l));u=r.canvas;vd.set(e,u);1!=l&&r.scale(l,l);r.font=
h.font;d&&(r.strokeStyle=f.strokeStyle,r.lineWidth=b*($c?l:1),r.lineCap=f.lineCap,r.lineJoin=f.lineJoin,r.miterLimit=f.miterLimit,dd&&f.lineDash.length&&(r.setLineDash(f.lineDash),r.lineDashOffset=f.lineDashOffset));c&&(r.fillStyle=g.fillStyle);r.textBaseline="middle";r.textAlign="center";f=.5-m;g=m*u.width/l+f*b;if(d)for(d=0;d<n;++d)r.strokeText(a[d],g+f*p[d],.5*(b+q)+d*q);if(c)for(d=0;d<n;++d)r.fillText(a[d],g+f*p[d],.5*(b+q)+d*q)}return vd.get(e)};
function rk(a,b,c,d){var e=a.j,f=a.l,g=a.pixelRatio,h=Sj[e.textAlign||"center"],l=Sj[e.textBaseline];f=f&&f.lineWidth?f.lineWidth:0;h=h*b.width/g+2*(.5-h)*f;l=l*b.height/g+2*(.5-l)*f;a.a.push([6,c,d,b,(h-a.L)*g,(l-a.o)*g,a.B,b.height,1,0,0,a.ja,a.oa,1,!0,b.width,e.padding==ud?ud:e.padding.map(function(a){return a*g}),!!e.backgroundFill,!!e.backgroundStroke]);a.b.push([6,c,d,b,(h-a.L)*g,(l-a.o)*g,a.B,b.height,1,0,0,a.ja,a.oa,1/g,!0,b.width,e.padding,!!e.backgroundFill,!!e.backgroundStroke])}
function qk(a,b,c,d){var e=a.l,f=a.j,g=a.c,h=a.ea;e&&(h in a.zb||(a.zb[h]={strokeStyle:e.strokeStyle,lineCap:e.lineCap,lineDashOffset:e.lineDashOffset,lineWidth:e.lineWidth,lineJoin:e.lineJoin,miterLimit:e.miterLimit,lineDash:e.lineDash}));var l=a.s;a.s in a.u||(a.u[a.s]={font:f.font,textAlign:f.textAlign||"center",scale:f.scale});var m=a.H;g&&(m in a.C||(a.C[m]={fillStyle:g.fillStyle}));var n=a.pixelRatio;g=Sj[f.textBaseline];var p=a.o*n,q=a.Ka,r=f.font,u=f.scale;e=e?e.lineWidth*u/2:0;var v=a.Ha[r];
v||(a.Ha[r]=v={});a.a.push([5,b,c,g,d,f.overflow,m,f.maxAngle,function(a){var b=v[a];b||(b=v[a]=Cd(r,a));return b*u*n},p,h,e*n,q,l,1]);a.b.push([5,b,c,g,d,f.overflow,m,f.maxAngle,function(a){var b=v[a];b||(b=v[a]=Cd(r,a));return b*u},p,h,e,q,l,1/n])}
pk.prototype.Nb=function(a,b){var c,d;if(a){this.B=b;(d=a.Ya())?(b=this.c,b||(b=this.c={}),b.fillStyle=Rc(d.b||rd)):b=this.c=null;if(c=a.ab()){d=this.l;d||(d=this.l={});var e=c.l,f=c.g,g=c.c,h=c.o;d.lineCap=c.j||"round";d.lineDash=e?e.slice():sd;d.lineDashOffset=void 0===f?0:f;d.lineJoin=c.s||"round";d.lineWidth=void 0===g?1:g;d.miterLimit=void 0===h?10:h;d.strokeStyle=Rc(c.a||td)}else d=this.l=null;c=this.j;e=a.b||"10px sans-serif";Ad(e);f=a.a;c.overflow=a.H;c.font=e;c.maxAngle=a.u;c.placement=a.C;
c.textAlign=a.j;c.textBaseline=a.s||"middle";c.backgroundFill=a.B;c.backgroundStroke=a.L;c.padding=a.ja||ud;c.scale=void 0===f?1:f;e=a.l;f=a.c;g=a.o;h=a.g;this.Ka=a.Pa()||"";this.L=void 0===e?0:e;this.o=void 0===f?0:f;this.ja=void 0===g?!1:g;this.oa=void 0===h?0:h;this.ea=d?("string"==typeof d.strokeStyle?d.strokeStyle:x(d.strokeStyle))+d.lineCap+d.lineDashOffset+"|"+d.lineWidth+d.lineJoin+d.miterLimit+"["+d.lineDash.join()+"]":"";this.s=c.font+c.scale+(c.textAlign||"?");this.H=b?"string"==typeof b.fillStyle?
b.fillStyle:"|"+x(b.fillStyle):""}else this.Ka=""};function sk(a,b,c,d,e,f,g){this.a=f;this.l=null;this.C=a;this.c=b;this.o=e;this.u=d;this.H=c;this.g=g;this.b={};this.j=Sc(1,1);this.s=yc()}w(sk,Pj);var tk={0:[[!0]]};function uk(a,b,c){var d,e=Math.floor(a.length/2);if(b>=e)for(d=e;d<b;d++)a[d][c]=!0;else if(b<e)for(d=b+1;d<e;d++)a[d][c]=!0}
function vk(a){if(void 0!==tk[a])return tk[a];for(var b=2*a+1,c=Array(b),d=0;d<b;d++)c[d]=Array(b);b=a;for(var e=d=0;b>=d;)uk(c,a+b,a+d),uk(c,a+d,a+b),uk(c,a-d,a+b),uk(c,a-b,a+d),uk(c,a-b,a-d),uk(c,a-d,a-b),uk(c,a+d,a-b),uk(c,a+b,a-d),d++,e+=1+2*d,0<2*(e-b)+1&&(--b,e+=1-2*b);return tk[a]=c}k=sk.prototype;k.Kc=function(a){var b=null;this.a&&(a?(b=this.l,b[4]++):(b=this.l=Da(),b.push(1)));return b};function wk(a){for(var b in a.b){var c=a.b[b],d;for(d in c)c[d].mg()}}
k.Oa=function(a,b,c,d,e,f,g){function h(a){for(var b=n.getImageData(0,0,l,l).data,c=0;c<l;c++)for(var d=0;d<l;d++)if(q[c][d]&&0<b[4*(d*l+c)+3]){if(!r||"Image"!=y&&"Text"!=y||-1!==r.indexOf(a))var e=f(a);if(e)return e;n.clearRect(0,0,l,l);return}}d=Math.round(d);var l=2*d+1,m=Ic(this.s,d+.5,d+.5,1/b,-1/b,-c,-a[0],-a[1]),n=this.j;n.canvas.width!==l||n.canvas.height!==l?(n.canvas.width=l,n.canvas.height=l):n.clearRect(0,0,l,l);if(void 0!==this.g){var p=Da();Ea(p,a);Fa(p,b*(this.g+d),p)}var q=vk(d),r;
this.a&&(r=this.a.all().map(function(a){return a.value}));a=Object.keys(this.b).map(Number);a.sort(me);for(b=a.length-1;0<=b;--b){var u=a[b].toString();var v=this.b[u];for(d=Rj.length-1;0<=d;--d){var y=Rj[d];var z=v[y];if(void 0!==z)if(!g||"Image"!=y&&"Text"!=y){if(z=fk(z,n,m,c,e,h,p))return z}else{var E=g[u];E?E.push(z,m.slice(0)):g[u]=[z,m.slice(0)]}}}};function xk(a,b){var c=a.c;a=c[0];var d=c[1],e=c[2];c=c[3];a=[a,d,a,c,e,c,e,d];vc(a,0,8,2,b,a);return a}
k.fb=function(a,b){var c=void 0!==a?a.toString():"0";a=this.b[c];void 0===a&&(a={},this.b[c]=a);c=a[b];void 0===c&&(c=new yk[b](this.C,this.c,this.H,this.u,this.o,this.a),a[b]=c);return c};k.Jh=function(){return Cb(this.b)};
k.kb=function(a,b,c,d,e,f){var g=Object.keys(this.b).map(Number);g.sort(me);a.save();var h=xk(this,b);a.beginPath();a.moveTo(h[0],h[1]);a.lineTo(h[2],h[3]);a.lineTo(h[4],h[5]);a.lineTo(h[6],h[7]);a.clip();e=e?e:Rj;var l,m;h=0;for(l=g.length;h<l;++h){var n=g[h].toString();var p=this.b[n];var q=0;for(m=e.length;q<m;++q){var r=e[q];var u=p[r];void 0!==u&&(!f||"Image"!=r&&"Text"!=r?u.kb(a,b,c,d):(r=f[n])?r.push(u,b.slice(0)):f[n]=[u,b.slice(0)])}}a.restore()};
var yk={Circle:mk,Default:Tj,Image:jk,LineString:kk,Polygon:mk,Text:pk};function zk(a,b){return x(a)-x(b)}function Ak(a,b){a=.5*a/b;return a*a}function Bk(a,b,c,d,e,f){var g=!1,h;if(h=c.fa()){var l=h.rg();2==l||3==l?h.nl(e,f):(0==l&&h.load(),h.sj(e,f),g=!0)}if(e=(0,c.Bb)(b))if(d=e.Ue(d),c.Vf())Ck(a,d,c,b);else(0,Dk[d.U()])(a,d,c,b);return g}function Ck(a,b,c,d){if("GeometryCollection"==b.U()){b=b.te();for(var e=0,f=b.length;e<f;++e)Ck(a,b[e],c,d)}else a.fb(c.Ia(),"Default").Zi(b,d,c.Vf())}
var Dk={Point:function(a,b,c,d){var e=c.fa();if(e){if(2!=e.rg())return;var f=a.fb(c.Ia(),"Image");f.Yc(e,a.Kc(!1));f.zd(b,d)}if(f=c.Pa())c=a.fb(c.Ia(),"Text"),c.Nb(f,a.Kc(!!e)),c.Nc(b,d)},LineString:function(a,b,c,d){var e=c.ab();if(e){var f=a.fb(c.Ia(),"LineString");f.mb(null,e);f.yd(b,d)}if(e=c.Pa())c=a.fb(c.Ia(),"Text"),c.Nb(e,a.Kc(!1)),c.Nc(b,d)},Polygon:function(a,b,c,d){var e=c.Ya(),f=c.ab();if(e||f){var g=a.fb(c.Ia(),"Polygon");g.mb(e,f);g.Ad(b,d)}if(e=c.Pa())c=a.fb(c.Ia(),"Text"),c.Nb(e,a.Kc(!1)),
c.Nc(b,d)},MultiPoint:function(a,b,c,d){var e=c.fa();if(e){if(2!=e.rg())return;var f=a.fb(c.Ia(),"Image");f.Yc(e,a.Kc(!1));f.qd(b,d)}if(f=c.Pa())c=a.fb(c.Ia(),"Text"),c.Nb(f,a.Kc(!!e)),c.Nc(b,d)},MultiLineString:function(a,b,c,d){var e=c.ab();if(e){var f=a.fb(c.Ia(),"LineString");f.mb(null,e);f.pd(b,d)}if(e=c.Pa())c=a.fb(c.Ia(),"Text"),c.Nb(e,a.Kc(!1)),c.Nc(b,d)},MultiPolygon:function(a,b,c,d){var e=c.Ya(),f=c.ab();if(f||e){var g=a.fb(c.Ia(),"Polygon");g.mb(e,f);g.rd(b,d)}if(e=c.Pa())c=a.fb(c.Ia(),
"Text"),c.Nb(e,a.Kc(!1)),c.Nc(b,d)},GeometryCollection:function(a,b,c,d){b=b.a;var e;var f=0;for(e=b.length;f<e;++f)(0,Dk[b[f].U()])(a,b[f],c,d)},Circle:function(a,b,c,d){var e=c.Ya(),f=c.ab();if(e||f){var g=a.fb(c.Ia(),"Circle");g.mb(e,f);g.cd(b,d)}if(e=c.Pa())c=a.fb(c.Ia(),"Text"),c.Nb(e,a.Kc(!1)),c.Nc(b,d)}};function Ek(a){oj.call(this,a);this.j=a.ea?Oj.Cd(9):null;this.g=!1;this.B=-1;this.C=NaN;this.o=Da();this.c=this.H=null;this.s=!0;this.context=Sc();A(vd,"clear",this.jk,this)}w(Ek,oj);Ek.handles=function(a,b){return"canvas"===a&&"VECTOR"===b.U()};Ek.create=function(a,b){return new Ek(b)};k=Ek.prototype;k.sa=function(){fc(vd,"clear",this.jk,this);oj.prototype.sa.call(this)};
k.og=function(a,b,c){var d=a.extent,e=a.pixelRatio,f=b.fg?a.skippedFeatureUids:{},g=a.viewState,h=g.projection,l=g.rotation,m=h.G(),n=this.a.Z(),p=rj(this,a,0);qj(this,"precompose",c,a,p);var q=b.extent;(g=void 0!==q)&&pj(c,a,q);var r=this.c;if(r&&!r.Jh()){this.j&&this.j.clear();var u=q=0,v=1!==b.opacity,y=mc(this.a,"render");if(v||y){var z=c.canvas.width;var E=c.canvas.height;if(l){var M=Math.round(Math.sqrt(z*z+E*E));q=(M-z)/2;u=(M-E)/2;z=E=M}this.context.canvas.width=z;this.context.canvas.height=
E;z=this.context}else z=c;E=z.globalAlpha;v||(z.globalAlpha=b.opacity);z!=c&&z.translate(q,u);M=a.size[0]*e;e*=a.size[1];Dd(z,-l,M/2,e/2);r.kb(z,p,l,f);if(n.L&&h.l&&!Ka(m,d)){h=d[0];n=ab(m);for(var Xa=0;h<m[0];)--Xa,p=n*Xa,p=rj(this,a,p),r.kb(z,p,l,f),h+=n;Xa=0;for(h=d[2];h>m[2];)++Xa,p=n*Xa,p=rj(this,a,p),r.kb(z,p,l,f),h-=n;p=rj(this,a,0)}Dd(z,l,M/2,e/2);z!=c&&(y&&qj(this,"render",z,a,p),v?(d=c.globalAlpha,c.globalAlpha=b.opacity,c.drawImage(z.canvas,-q,-u),c.globalAlpha=d):c.drawImage(z.canvas,
-q,-u),z.translate(-q,-u));v||(z.globalAlpha=E)}g&&c.restore();this.xg(c,a,b,p)};k.Oa=function(a,b,c,d,e){if(this.c){var f=this.a,g={};return this.c.Oa(a,b.viewState.resolution,b.viewState.rotation,c,{},function(a){var b=x(a).toString();if(!(b in g))return g[b]=!0,d.call(e,a,f)},null)}};k.jk=function(){var a=this.a;a.Qb()&&this.c&&a.A()};k.kk=function(){ij(this)};
k.Vd=function(a){var b=this.a,c=b.Z();lj(a,c);var d=a.viewHints[0],e=a.viewHints[1],f=b.Ha,g=b.Na;if(!this.g&&!f&&d||!g&&e)return!0;f=a.extent;var h=a.viewState;g=h.projection;var l=h.resolution,m=a.pixelRatio;d=b.l;var n=b.u;e=b.get(Fk);void 0===e&&(e=zk);f=Fa(f,n*l);n=h.projection.G();c.L&&h.projection.l&&!Ka(n,a.extent)&&(a=Math.max(ab(f)/2,ab(n)),f[0]=n[0]-a,f[2]=n[2]+a);if(!this.g&&this.C==l&&this.B==d&&this.H==e&&Ka(this.o,f))return this.s=!1,!0;this.c=null;this.g=!1;var p=new sk(.5*l/m,f,l,
m,c.ha,this.j,b.u);c.Ze(f,l,g);a=function(a){var c=a.gb();if(c)var d=c.call(a,l);else(c=b.gb())&&(d=c(a,l));if(d){if(d){c=!1;if(Array.isArray(d))for(var e=0,f=d.length;e<f;++e)c=Bk(p,a,d[e],Ak(l,m),this.kk,this)||c;else c=Bk(p,a,d,Ak(l,m),this.kk,this);a=c}else a=!1;this.g=this.g||a}}.bind(this);if(e){var q=[];c.Pc(f,function(a){q.push(a)},this);q.sort(e);c=0;for(g=q.length;c<g;++c)a(q[c])}else c.Pc(f,a,this);wk(p);this.C=l;this.B=d;this.H=e;this.o=f;this.c=p;return this.s=!0};function Gk(a){this.context=null;Jj.call(this,a);this.B=a.ea?Oj.Cd(9):null;this.L=!1;this.ma=yc();this.$="vector"==a.C?1:0;A(vd,"clear",this.lk,this)}w(Gk,Jj);Gk.handles=function(a,b){return"canvas"===a&&"VECTOR_TILE"===b.U()};Gk.create=function(a,b){return new Gk(b)};var Hk={image:["Polygon","Circle","LineString","Image","Text"],hybrid:["Polygon","LineString"]},Ik={image:["Default"],hybrid:["Image","Text","Default"],vector:Rj};k=Gk.prototype;k.sa=function(){fc(vd,"clear",this.lk,this);Jj.prototype.sa.call(this)};
k.Vd=function(a,b){var c=this.a,d=c.l;this.O!=d&&(this.j.length=0,c=c.C,this.context||"vector"==c||(this.context=Sc()),this.context&&"vector"==c&&(this.context=null));this.O=d;return Jj.prototype.Vd.apply(this,arguments)};
k.Zg=function(a,b,c,d,e,f,g,h,l){var m=a,n=this.a,p=b.pixelRatio,q=b.viewState.projection,r=n.l,u=n.get(Fk)||null,v=Jk(m,n);if(v.Hf||v.Gg!=r||v.pi!=u){var y=n.Z(),z=y.tileGrid,E=y.Db(q),M=E.la(m.Wa[0]);E=E.ib(m.o);for(var Xa=0,ra=m.a.length;Xa<ra;++Xa){var wa=m.c[m.a[Xa]];if(3!=wa.getState()){var ka=z.ib(wa.Wa),ma=eb(E,ka),Aa=Ra(ka,ma)?null:Fa(ma,n.u*M),lb=wa.C,Hc=!1;Ub(q,lb)||(Hc=!0,wa.Gh(q));v.Hf=!1;ma=new sk(0,ma,M,p,y.u,this.B,n.u);var nb=Ak(M,p),ha=wa.Pb();u&&u!==v.pi&&ha.sort(u);for(var ic,
wf=0,Gg=ha.length;wf<Gg;++wf)if(ic=ha[wf],Hc&&("tile-pixels"==lb.a&&(lb.hl(ka),lb.gk(wa.G())),ic.W().transform(lb,q)),!Aa||fb(Aa,ic.W().G())){var pe=void 0,bf=ic.gb();bf?pe=bf.call(ic,M):(bf=n.gb())&&(pe=bf(ic,M));if(pe){bf=nb;var yi=ma;if(pe){var xh=!1;if(Array.isArray(pe))for(var yh=0,Ig=pe.length;yh<Ig;++yh)xh=Bk(yi,ic,pe[yh],bf,this.mk,this)||xh;else xh=Bk(yi,ic,pe,bf,this.mk,this);ic=xh}else ic=!1;this.L=this.L||ic;v.Hf=v.Hf||ic}}wk(ma);for(var dg in ma.b);ka=m.Wa.toString();Aa=ma;wa.j[x(n)+
","+ka]=Aa}}v.Gg=r;v.pi=u}if(this.context){v=b;n=this.a;q=Jk(m,n);r=n.l;if((p=Hk[n.C])&&q.ri!==r)for(q.ri=r,y=m.o,M=y[0],q=v.pixelRatio,dg=n.Z(),z=dg.Db(v.viewState.projection),r=z.la(M),u=Kk(m,n),v=dg.We(M,q,v.viewState.projection),u.canvas.width=v[0],u.canvas.height=v[1],v=z.ib(y),y=0,z=m.a.length;y<z;++y)M=m.c[m.a[y]],3!=M.getState()&&(dg=q/r,E=zc(this.ma),Fc(E,dg,-dg),Gc(E,-v[0],-v[3]),Lk(M,n,m.Wa.toString()).kb(u,E,0,{},p));Jj.prototype.Zg.apply(this,arguments)}};
k.Oa=function(a,b,c,d,e){var f=b.viewState.resolution,g=b.viewState.rotation;c=void 0==c?0:c;var h=this.a,l={},m=this.j;b=h.Z().Db(b.viewState.projection);var n;var p=0;for(n=m.length;p<n;++p){var q=m[p];var r=q.o;r=b.ib(r,this.aa);var u=Fa(r,c*f,u);if(Ia(u,a)){r=0;for(var v=q.a.length;r<v;++r){var y=q.c[q.a[r]];if(3!=y.getState()){y=Lk(y,h,q.Wa.toString());var z=z||y.Oa(a,f,g,c,{},function(a){var b=x(a).toString();if(!(b in l))return l[b]=!0,d.call(e,a,h)},null)}}}}return z};
k.lk=function(){var a=this.a;a.Qb()&&void 0!==this.O&&a.A()};k.mk=function(){ij(this)};
k.xg=function(a,b,c){var d=this.a,e=d.ea?{}:null,f=d.Z(),g=d.C,h=Ik[g],l=b.pixelRatio,m=b.viewState.rotation,n=b.size;if(m){var p=Math.round(l*n[0]/2);var q=Math.round(l*n[1]/2);Dd(a,-m,p,q)}e&&this.B.clear();l=this.j;f=f.Db(b.viewState.projection);n=[];for(var r=[],u=l.length-1;0<=u;--u){var v=l[u];if(5!=v.getState())for(var y=v.Wa,z=f.ib(y)[0]-f.ib(v.o)[0],E=void 0,M=0,Xa=v.a.length;M<Xa;++M){var ra=v.c[v.a[M]];if(3!=ra.getState()){var wa=Lk(ra,d,y.toString()),ka;if(!(ka="vector"==g))a:{ka=void 0;
for(ka in wa.b)for(var ma=wa.b[ka],Aa=0,lb=h.length;Aa<lb;++Aa)if(h[Aa]in ma){ka=!0;break a}ka=!1}if(ka){E||(E=rj(this,b,z));ra=ra.Wa[0];ka=xk(wa,E);a.save();a.globalAlpha=c.opacity;ma=0;for(Aa=n.length;ma<Aa;++ma)lb=n[ma],ra<r[ma]&&(a.beginPath(),a.moveTo(ka[0],ka[1]),a.lineTo(ka[2],ka[3]),a.lineTo(ka[4],ka[5]),a.lineTo(ka[6],ka[7]),a.moveTo(lb[6],lb[7]),a.lineTo(lb[4],lb[5]),a.lineTo(lb[2],lb[3]),a.lineTo(lb[0],lb[1]),a.clip());wa.kb(a,E,m,{},h,e);a.restore();n.push(ka);r.push(ra)}}}}if(e)for(d=
a,g=Object.keys(e).map(Number).sort(me),h={},l=0,f=g.length;l<f;++l)for(n=e[g[l].toString()],r=0,u=n.length;r<u;)v=n[r++],y=n[r++],v.kb(d,y,m,h);m&&Dd(a,m,p,q);Jj.prototype.xg.apply(this,arguments)};kh("MAP_RENDERER",Hj);lh([tj,Jj,Ek,Gk]);function I(a){a=zb({},a);delete a.renderer;a.controls||(a.controls=Gh());a.interactions||(a.interactions=Ti());H.call(this,a)}w(I,H);function Mk(a){oc.call(this);a=a?a:{};this.a=null;A(this,qc(Nk),this.Jo,this);this.Eh(void 0!==a.tracking?a.tracking:!1)}w(Mk,oc);k=Mk.prototype;k.sa=function(){this.Eh(!1);oc.prototype.sa.call(this)};
k.Pq=function(a){if(null!==a.alpha){var b=qa(a.alpha);this.set(Ok,b);"boolean"===typeof a.absolute&&a.absolute?this.set(Pk,b):"number"===typeof a.webkitCompassHeading&&-1!=a.webkitCompassAccuracy&&this.set(Pk,qa(a.webkitCompassHeading))}null!==a.beta&&this.set(Qk,qa(a.beta));null!==a.gamma&&this.set(Rk,qa(a.gamma));this.A()};k.Ho=function(){return this.get(Ok)};k.Am=function(){return this.get(Qk)};k.Km=function(){return this.get(Rk)};k.Io=function(){return this.get(Pk)};k.xj=function(){return this.get(Nk)};
k.Jo=function(){if(fd){var a=this.xj();a&&!this.a?this.a=A(window,"deviceorientation",this.Pq,this):a||null===this.a||($b(this.a),this.a=null)}};k.Eh=function(a){this.set(Nk,a)};var Ok="alpha",Qk="beta",Rk="gamma",Pk="heading",Nk="tracking";function Sk(a){oc.call(this);a=a||{};this.a=null;this.g=Wb;this.j=new ua(6378137);this.c=void 0;A(this,qc("projection"),this.Lo,this);A(this,qc("tracking"),this.Mo,this);void 0!==a.projection&&this.Aj(a.projection);void 0!==a.trackingOptions&&this.gl(a.trackingOptions);this.gg(void 0!==a.tracking?a.tracking:!1)}w(Sk,oc);k=Sk.prototype;k.sa=function(){this.gg(!1);oc.prototype.sa.call(this)};k.Lo=function(){var a=this.yj();a&&(this.g=Jb(Ib("EPSG:4326"),a),this.a&&this.set("position",this.g(this.a)))};
k.Mo=function(){if(gd){var a=this.zj();a&&void 0===this.c?this.c=navigator.geolocation.watchPosition(this.ar.bind(this),this.br.bind(this),this.mj()):a||void 0===this.c||(navigator.geolocation.clearWatch(this.c),this.c=void 0)}};
k.ar=function(a){a=a.coords;this.set("accuracy",a.accuracy);this.set("altitude",null===a.altitude?void 0:a.altitude);this.set("altitudeAccuracy",null===a.altitudeAccuracy?void 0:a.altitudeAccuracy);this.set("heading",null===a.heading?void 0:qa(a.heading));this.a?(this.a[0]=a.longitude,this.a[1]=a.latitude):this.a=[a.longitude,a.latitude];var b=this.g(this.a);this.set("position",b);this.set("speed",null===a.speed?void 0:a.speed);a=Sg(this.j,this.a,a.accuracy);a.Hd(this.g);this.set("accuracyGeometry",
a);this.A()};k.br=function(a){a.type="error";this.gg(!1);this.b(a)};k.tm=function(){return this.get("accuracy")};k.um=function(){return this.get("accuracyGeometry")||null};k.vm=function(){return this.get("altitude")};k.wm=function(){return this.get("altitudeAccuracy")};k.Ko=function(){return this.get("heading")};k.vd=function(){return this.get("position")};k.yj=function(){return this.get("projection")};k.mn=function(){return this.get("speed")};k.zj=function(){return this.get("tracking")};k.mj=function(){return this.get("trackingOptions")};
k.Aj=function(a){this.set("projection",Ib(a))};k.gg=function(a){this.set("tracking",a)};k.gl=function(a){this.set("trackingOptions",a)};function Tk(a,b,c,d,e,f){var g=NaN,h=NaN,l=(c-b)/d;if(1===l)g=a[b],h=a[b+1];else if(2==l)g=(1-e)*a[b]+e*a[b+d],h=(1-e)*a[b+1]+e*a[b+d+1];else if(0!==l){h=a[b];l=a[b+1];var m=0;g=[0];var n;for(n=b+d;n<c;n+=d){var p=a[n],q=a[n+1];m+=Math.sqrt((p-h)*(p-h)+(q-l)*(q-l));g.push(m);h=p;l=q}c=e*m;l=0;m=g.length;for(n=!1;l<m;)e=l+(m-l>>1),h=+me(g[e],c),0>h?l=e+1:(m=e,n=!h);e=n?l:~l;0>e?(c=(c-g[-e-2])/(g[-e-1]-g[-e-2]),b+=(-e-2)*d,g=ta(a[b],a[b+d],c),h=ta(a[b+1],a[b+d+1],c)):(g=a[b+e*d],h=a[b+e*d+1])}return f?
(f[0]=g,f[1]=h,f):[g,h]}function Uk(a,b,c,d,e,f){if(c==b)return null;if(e<a[b+d-1])return f?(c=a.slice(b,b+d),c[d-1]=e,c):null;if(a[c-1]<e)return f?(c=a.slice(c-d,c),c[d-1]=e,c):null;if(e==a[b+d-1])return a.slice(b,b+d);b/=d;for(c/=d;b<c;)f=b+c>>1,e<a[(f+1)*d-1]?c=f:b=f+1;c=a[b*d-1];if(e==c)return a.slice((b-1)*d,(b-1)*d+d);f=(e-c)/(a[(b+1)*d-1]-c);c=[];var g;for(g=0;g<d-1;++g)c.push(ta(a[(b-1)*d+g],a[b*d+g],f));c.push(e);return c}
function Vk(a,b,c,d,e,f){var g=0;if(f)return Uk(a,g,b[b.length-1],c,d,e);if(d<a[c-1])return e?(a=a.slice(0,c),a[c-1]=d,a):null;if(a[a.length-1]<d)return e?(a=a.slice(a.length-c),a[c-1]=d,a):null;e=0;for(f=b.length;e<f;++e){var h=b[e];if(g!=h){if(d<a[g+c-1])break;else if(d<=a[h-1])return Uk(a,g,h,c,d,!1);g=h}}return null};function J(a,b){Wd.call(this);this.c=null;this.B=this.L=this.s=-1;this.Ba(a,b)}w(J,Wd);k=J.prototype;k.Ul=function(a){this.D?qe(this.D,a):this.D=a.slice();this.A()};k.clone=function(){var a=new J(null);a.ka(this.xa,this.D.slice());return a};k.wc=function(a,b,c,d){if(d<Ha(this.G(),a,b))return d;this.B!=this.l&&(this.L=Math.sqrt(rg(this.D,0,this.D.length,this.a,0)),this.B=this.l);return tg(this.D,0,this.D.length,this.a,this.L,!1,a,b,c,d)};
k.Mf=function(a,b){return Hg(this.D,0,this.D.length,this.a,a,b)};k.qp=function(a,b){return"XYM"!=this.xa&&"XYZM"!=this.xa?null:Uk(this.D,0,this.D.length,this.a,a,void 0!==b?b:!1)};k.ca=function(){return vg(this.D,0,this.D.length,this.a)};k.dj=function(a,b){return Tk(this.D,0,this.D.length,this.a,a,b)};k.Cb=function(){return Qj(this.D,0,this.D.length,this.a)};k.Pf=function(){this.s!=this.l&&(this.c=this.dj(.5,this.c),this.s=this.l);return this.c};
k.we=function(a){var b=[];b.length=yg(this.D,0,this.D.length,this.a,a,b,0);a=new J(null);a.ka("XY",b);return a};k.U=function(){return"LineString"};k.xb=function(a){return Mg(this.D,0,this.D.length,this.a,a)};k.Ba=function(a,b){a?(Zd(this,b,a,1),this.D||(this.D=[]),this.D.length=ae(this.D,0,a,this.a),this.A()):this.ka("XY",null)};k.ka=function(a,b){Yd(this,a,b);this.A()};function Wk(a,b,c){for(var d=[],e=a(0),f=a(1),g=b(e),h=b(f),l=[f,e],m=[h,g],n=[1,0],p={},q=1E5,r,u,v,y,z;0<--q&&0<n.length;)v=n.pop(),e=l.pop(),g=m.pop(),f=v.toString(),f in p||(d.push(g[0],g[1]),p[f]=!0),y=n.pop(),f=l.pop(),h=m.pop(),z=(v+y)/2,r=a(z),u=b(r),oa(u[0],u[1],g[0],g[1],h[0],h[1])<c?(d.push(h[0],h[1]),f=y.toString(),p[f]=!0):(n.push(y,z,z,v),m.push(h,u,u,g),l.push(f,r,r,e));return d}function Xk(a,b,c,d,e){var f=Ib("EPSG:4326");return Wk(function(d){return[a,b+(c-b)*d]},Vb(f,d),e)}
function Yk(a,b,c,d,e){var f=Ib("EPSG:4326");return Wk(function(d){return[b+(c-b)*d,a]},Vb(f,d),e)};function K(a){a=a||{};this.b=a.font;this.g=a.rotation;this.o=a.rotateWithView;this.a=a.scale;this.Ka=a.text;this.j=a.textAlign;this.s=a.textBaseline;this.tb=void 0!==a.fill?a.fill:new Kd({color:"#333"});this.u=void 0!==a.maxAngle?a.maxAngle:Math.PI/4;this.C=void 0!==a.placement?a.placement:"point";var b=void 0===a.overflow?a.exceedLength:a.overflow;this.H=void 0!==b?b:!1;this.vb=void 0!==a.stroke?a.stroke:null;this.l=void 0!==a.offsetX?a.offsetX:0;this.c=void 0!==a.offsetY?a.offsetY:0;this.B=a.backgroundFill?
a.backgroundFill:null;this.L=a.backgroundStroke?a.backgroundStroke:null;this.ja=void 0===a.padding?null:a.padding}k=K.prototype;k.clone=function(){return new K({font:this.b,placement:this.C,maxAngle:this.u,overflow:this.H,rotation:this.g,rotateWithView:this.o,scale:this.a,text:this.Pa(),textAlign:this.j,textBaseline:this.s,fill:this.Ya()?this.Ya().clone():void 0,stroke:this.ab()?this.ab().clone():void 0,offsetX:this.l,offsetY:this.c})};k.bn=function(){return this.H};k.Jm=function(){return this.b};
k.Xm=function(){return this.u};k.hn=function(){return this.C};k.$m=function(){return this.l};k.an=function(){return this.c};k.Ya=function(){return this.tb};k.Fq=function(){return this.o};k.Gq=function(){return this.g};k.Hq=function(){return this.a};k.ab=function(){return this.vb};k.Pa=function(){return this.Ka};k.pn=function(){return this.j};k.qn=function(){return this.s};k.ym=function(){return this.B};k.zm=function(){return this.L};k.dn=function(){return this.ja};k.jf=function(a){this.H=a};
k.Ed=function(a){this.b=a};k.qs=function(a){this.u=a};k.cl=function(a){this.l=a};k.He=function(a){this.c=a};k.Ie=function(a){this.C=a};k.lc=function(a){this.tb=a};k.Iq=function(a){this.g=a};k.Ak=function(a){this.a=a};k.cc=function(a){this.vb=a};k.Hb=function(a){this.Ka=a};k.fl=function(a){this.j=a};k.kf=function(a){this.s=a};k.bs=function(a){this.B=a};k.cs=function(a){this.L=a};k.us=function(a){this.ja=a};function Zk(a){a=a||{};this.g=this.H=null;this.s=this.j=Infinity;this.u=this.o=-Infinity;this.O=this.R=Infinity;this.$=this.aa=-Infinity;this.Ha=void 0!==a.targetSize?a.targetSize:100;this.zb=void 0!==a.maxLines?a.maxLines:100;this.l=[];this.c=[];this.Ma=void 0!==a.strokeStyle?a.strokeStyle:$k;this.L=this.C=void 0;this.a=this.b=this.B=null;1==a.showLabels&&(this.ha=void 0==a.lonLabelFormatter?$f.bind(this,"EW"):a.lonLabelFormatter,this.rb=void 0==a.latLabelFormatter?$f.bind(this,"NS"):a.latLabelFormatter,
this.ma=void 0==a.lonLabelPosition?0:a.lonLabelPosition,this.ea=void 0==a.latLabelPosition?1:a.latLabelPosition,this.oa=void 0!==a.lonLabelStyle?a.lonLabelStyle:new K({font:"12px Calibri,sans-serif",textBaseline:"bottom",fill:new Kd({color:"rgba(0,0,0,1)"}),stroke:new Ld({color:"rgba(255,255,255,1)",width:3})}),this.ja=void 0!==a.latLabelStyle?a.latLabelStyle:new K({font:"12px Calibri,sans-serif",textAlign:"end",fill:new Kd({color:"rgba(0,0,0,1)"}),stroke:new Ld({color:"rgba(255,255,255,1)",width:3})}),
this.b=[],this.a=[]);this.setMap(void 0!==a.map?a.map:null)}var $k=new Ld({color:"rgba(0,0,0,0.2)"}),al=[90,45,30,20,10,5,2,1,.5,.2,.1,.05,.01,.005,.002,.001];function bl(a,b,c,d,e,f,g){var h=g;c=Xk(b,c,d,a.g,e);h=void 0!==a.l[h]?a.l[h]:new J(null);h.ka("XY",c);fb(h.G(),f)&&(a.b&&(c=g,d=h.na(),f=[d[0],ja(f[1]+Math.abs(f[1]-f[3])*a.ma,Math.max(f[1],d[1]),Math.min(f[3],d[d.length-1]))],c=void 0!==a.b[c]?a.b[c].Qe:new D(null),c.Ba(f),a.b[g]={Qe:c,text:a.ha(b)}),a.l[g++]=h);return g}
function cl(a,b,c,d,e,f,g){var h=g;c=Yk(b,c,d,a.g,e);h=void 0!==a.c[h]?a.c[h]:new J(null);h.ka("XY",c);fb(h.G(),f)&&(a.a&&(c=g,d=h.na(),f=[ja(f[0]+Math.abs(f[0]-f[2])*a.ea,Math.max(f[0],d[0]),Math.min(f[2],d[d.length-2])),d[1]],c=void 0!==a.a[c]?a.a[c].Qe:new D(null),c.Ba(f),a.a[g]={Qe:c,text:a.rb(b)}),a.c[g++]=h);return g}k=Zk.prototype;k.T=function(){return this.H};k.Ym=function(){return this.l};k.en=function(){return this.c};
k.pj=function(a){var b=a.vectorContext,c=a.frameState;a=c.extent;var d=c.viewState,e=d.center,f=d.projection;d=d.resolution;c=c.pixelRatio;c=d*d/(4*c*c);if(!this.g||!Ub(this.g,f)){var g=Ib("EPSG:4326"),h=f.G(),l=f.sf,m=Xb(l,g,f),n=l[2],p=l[1],q=l[0],r=m[3],u=m[2],v=m[1];m=m[0];this.j=l[3];this.s=n;this.o=p;this.u=q;this.R=r;this.O=u;this.aa=v;this.$=m;this.C=Vb(g,f);this.L=Vb(f,g);this.B=this.L(cb(h));this.g=f}f=this.B[0];g=this.B[1];h=-1;n=Math.pow(this.Ha*d,2);p=[];q=[];d=0;for(l=al.length;d<l;++d){r=
al[d]/2;p[0]=f-r;p[1]=g-r;q[0]=f+r;q[1]=g+r;this.C(p,p);this.C(q,q);r=Math.pow(q[0]-p[0],2)+Math.pow(q[1]-p[1],2);if(r<=n)break;h=al[d]}d=h;if(-1==d)this.l.length=this.c.length=0,this.b&&(this.b.length=0),this.a&&(this.a.length=0);else{f=this.L(e);e=f[0];f=f[1];g=this.zb;l=[Math.max(a[0],this.$),Math.max(a[1],this.aa),Math.min(a[2],this.O),Math.min(a[3],this.R)];l=Xb(l,this.g,"EPSG:4326");p=l[3];h=l[2];q=l[1];r=l[0];e=Math.floor(e/d)*d;u=ja(e,this.u,this.s);n=bl(this,u,q,p,c,a,0);for(l=0;u!=this.u&&
l++<g;)u=Math.max(u-d,this.u),n=bl(this,u,q,p,c,a,n);u=ja(e,this.u,this.s);for(l=0;u!=this.s&&l++<g;)u=Math.min(u+d,this.s),n=bl(this,u,q,p,c,a,n);this.l.length=n;this.b&&(this.b.length=n);f=Math.floor(f/d)*d;e=ja(f,this.o,this.j);n=cl(this,e,r,h,c,a,0);for(l=0;e!=this.o&&l++<g;)e=Math.max(e-d,this.o),n=cl(this,e,r,h,c,a,n);e=ja(f,this.o,this.j);for(l=0;e!=this.j&&l++<g;)e=Math.min(e+d,this.j),n=cl(this,e,r,h,c,a,n);this.c.length=n;this.a&&(this.a.length=n)}b.mb(null,this.Ma);a=0;for(c=this.l.length;a<
c;++a)e=this.l[a],b.oc(e);a=0;for(c=this.c.length;a<c;++a)e=this.c[a],b.oc(e);if(this.b)for(a=0,c=this.b.length;a<c;++a)e=this.b[a],this.oa.Hb(e.text),b.Nb(this.oa),b.oc(e.Qe);if(this.a)for(a=0,c=this.a.length;a<c;++a)e=this.a[a],this.ja.Hb(e.text),b.Nb(this.ja),b.oc(e.Qe)};k.setMap=function(a){this.H&&(this.H.M("postcompose",this.pj,this),this.H.render());a&&(a.J("postcompose",this.pj,this),a.render());this.H=a};function dl(a,b,c,d,e,f){Ui.call(this,a,b,c,0);this.g=d;this.V=new Image;null!==e&&(this.V.crossOrigin=e);this.l=null;this.state=0;this.c=f}w(dl,Ui);k=dl.prototype;k.fa=function(){return this.V};k.Po=function(){this.state=3;this.l.forEach($b);this.l=null;this.A()};k.Qo=function(){void 0===this.resolution&&(this.resolution=bb(this.extent)/this.V.height);this.state=2;this.l.forEach($b);this.l=null;this.A()};
k.load=function(){if(0==this.state||3==this.state)this.state=1,this.A(),this.l=[ec(this.V,"error",this.Po,this),ec(this.V,"load",this.Qo,this)],this.c(this,this.g)};k.ce=function(a){this.V=a};function el(a,b,c){lc.call(this);c=c?c:{};this.Wa=a;this.state=b;this.l=null;this.key="";this.s=void 0===c.transition?250:c.transition;this.u={}}w(el,lc);el.prototype.A=function(){this.b("change")};el.prototype.Mb=function(){return this.key+"/"+this.Wa};function Mj(a){if(!a.l)return a;var b=a.l;do{if(2==b.getState())return b;b=b.l}while(b);return a}function fl(a){if(a.l){var b=a.l;do{if(2==b.getState()){b.l=null;break}else 1==b.getState()?a=b:0==b.getState()?a.l=b.l:a=b;b=a.l}while(b)}}
el.prototype.g=function(){return this.Wa};el.prototype.getState=function(){return this.state};function Lj(a,b){a.state=b;a.A()}function Nj(a,b,c){if(!a.s)return 1;var d=a.u[b];if(!d)d=c,a.u[b]=d;else if(-1===d)return 1;b=c-d+1E3/60;return b>=a.s?1:kg(b/a.s)};function gl(a,b,c,d,e,f){el.call(this,a,b,f);this.j=d;this.o=c;this.V=new Image;null!==d&&(this.V.crossOrigin=d);this.c=null;this.H=e}w(gl,el);k=gl.prototype;k.sa=function(){1==this.state&&(hl(this),this.V=il());this.l&&this.l.Ab();this.state=5;this.A();el.prototype.sa.call(this)};k.fa=function(){return this.V};k.Mb=function(){return this.o};k.No=function(){this.state=3;hl(this);this.V=il();this.A()};k.Oo=function(){this.state=this.V.naturalWidth&&this.V.naturalHeight?2:4;hl(this);this.A()};
k.load=function(){3==this.state&&(this.state=0,this.V=new Image,null!==this.j&&(this.V.crossOrigin=this.j));0==this.state&&(this.state=1,this.A(),this.c=[ec(this.V,"error",this.No,this),ec(this.V,"load",this.Oo,this)],this.H(this,this.o))};function hl(a){a.c.forEach($b);a.c=null}function il(){var a=Sc(1,1);a.fillStyle="rgba(0,0,0,0)";a.fillRect(0,0,1,1);return a.canvas};function jl(a){this.b=a}jl.prototype.Z=function(){return this.b};function kl(a){this.b=a}w(kl,jl);kl.prototype.U=function(){return 35632};function ll(a){this.b=a}w(ll,jl);ll.prototype.U=function(){return 35633};var ml=new kl("precision mediump float;varying vec2 a;varying vec2 b;varying float c;varying float d;uniform float m;uniform vec4 n;uniform vec4 o;uniform vec2 p;void main(void){vec2 windowCenter=vec2((a.x+1.0)/2.0*p.x*d,(a.y+1.0)/2.0*p.y*d);vec2 windowOffset=vec2((b.x+1.0)/2.0*p.x*d,(b.y+1.0)/2.0*p.y*d);float radius=length(windowCenter-windowOffset);float dist=length(windowCenter-gl_FragCoord.xy);if(dist>radius+c){if(o.a==0.0){gl_FragColor=n;}else{gl_FragColor=o;}gl_FragColor.a=gl_FragColor.a-(dist-(radius+c));}else if(n.a==0.0){gl_FragColor=o;if(dist<radius-c){gl_FragColor.a=gl_FragColor.a-(radius-c-dist);}} else{gl_FragColor=n;float strokeDist=radius-c;float antialias=2.0*d;if(dist>strokeDist){gl_FragColor=o;}else if(dist>=strokeDist-antialias){float step=smoothstep(strokeDist-antialias,strokeDist,dist);gl_FragColor=mix(n,o,step);}} gl_FragColor.a=gl_FragColor.a*m;if(gl_FragColor.a<=0.0){discard;}}"),
nl=new ll("varying vec2 a;varying vec2 b;varying float c;varying float d;attribute vec2 e;attribute float f;attribute float g;uniform mat4 h;uniform mat4 i;uniform mat4 j;uniform float k;uniform float l;void main(void){mat4 offsetMatrix=i*j;a=vec4(h*vec4(e,0.0,1.0)).xy;d=l;float lineWidth=k*l;c=lineWidth/2.0;if(lineWidth==0.0){lineWidth=2.0*l;}vec2 offset;float radius=g+3.0*l;//Until we get gl_VertexID in WebGL,we store an instruction.if(f==0.0){//Offsetting the edges of the triangle by lineWidth/2 is necessary,however//we should also leave some space for the antialiasing,thus we offset by lineWidth.offset=vec2(-1.0,1.0);}else if(f==1.0){offset=vec2(-1.0,-1.0);}else if(f==2.0){offset=vec2(1.0,-1.0);}else{offset=vec2(1.0,1.0);}gl_Position=h*vec4(e+offset*radius,0.0,1.0)+offsetMatrix*vec4(offset*lineWidth,0.0,0.0);b=vec4(h*vec4(e.x+g,e.y,0.0,1.0)).xy;if(distance(a,b)>20000.0){gl_Position=vec4(a,0.0,1.0);}}");function pl(a,b){this.l=a.getUniformLocation(b,"h");this.g=a.getUniformLocation(b,"i");this.c=a.getUniformLocation(b,"j");this.R=a.getUniformLocation(b,"k");this.O=a.getUniformLocation(b,"l");this.a=a.getUniformLocation(b,"m");this.ja=a.getUniformLocation(b,"n");this.$=a.getUniformLocation(b,"o");this.aa=a.getUniformLocation(b,"p");this.b=a.getAttribLocation(b,"e");this.s=a.getAttribLocation(b,"f");this.B=a.getAttribLocation(b,"g")};function ql(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function rl(a,b){a[0]=b[0];a[1]=b[1];a[4]=b[2];a[5]=b[3];a[12]=b[4];a[13]=b[5];return a};function sl(a,b){this.origin=cb(b);this.bd=yc();this.Xa=yc();this.sb=yc();this.ea=ql();this.b=[];this.s=null;this.l=[];this.g=[];this.a=[];this.u=null;this.j=void 0}w(sl,Xi);
sl.prototype.kb=function(a,b,c,d,e,f,g,h,l,m,n){var p=a.b;if(this.j){var q=p.isEnabled(p.STENCIL_TEST);var r=p.getParameter(p.STENCIL_FUNC);var u=p.getParameter(p.STENCIL_VALUE_MASK);var v=p.getParameter(p.STENCIL_REF);var y=p.getParameter(p.STENCIL_WRITEMASK);var z=p.getParameter(p.STENCIL_FAIL);var E=p.getParameter(p.STENCIL_PASS_DEPTH_PASS);var M=p.getParameter(p.STENCIL_PASS_DEPTH_FAIL);p.enable(p.STENCIL_TEST);p.clear(p.STENCIL_BUFFER_BIT);p.stencilMask(255);p.stencilFunc(p.ALWAYS,1,255);p.stencilOp(p.KEEP,
p.KEEP,p.REPLACE);this.j.kb(a,b,c,d,e,f,g,h,l,m,n);p.stencilMask(0);p.stencilFunc(p.NOTEQUAL,1,255)}tl(a,34962,this.u);tl(a,34963,this.s);f=this.Kg(p,a,e,f);var Xa=zc(this.bd);Fc(Xa,2/(c*e[0]),2/(c*e[1]));Ec(Xa,-d);Gc(Xa,-(b[0]-this.origin[0]),-(b[1]-this.origin[1]));b=zc(this.sb);Fc(b,2/e[0],2/e[1]);e=zc(this.Xa);0!==d&&Ec(e,-d);p.uniformMatrix4fv(f.l,!1,rl(this.ea,Xa));p.uniformMatrix4fv(f.g,!1,rl(this.ea,b));p.uniformMatrix4fv(f.c,!1,rl(this.ea,e));p.uniform1f(f.a,g);if(void 0===l)this.Oe(p,a,
h,!1);else{m?a=this.Kf(p,a,h,l,n):(p.clear(p.COLOR_BUFFER_BIT|p.DEPTH_BUFFER_BIT),this.Oe(p,a,h,!0),a=(a=l(null))?a:void 0);var ra=a}this.Mg(p,f);this.j&&(q||p.disable(p.STENCIL_TEST),p.clear(p.STENCIL_BUFFER_BIT),p.stencilFunc(r,v,u),p.stencilMask(y),p.stencilOp(z,M,E));return ra};function ul(a,b,c,d){a.drawElements(4,d-c,b.j?5125:5123,c*(b.j?4:2))};var vl=[0,0,0,1],wl=[],xl=[0,0,0,1];function yl(a,b,c,d,e,f){a=(c-a)*(f-b)-(e-a)*(d-b);return a<=zl&&a>=-zl?void 0:0<a}var zl=Number.EPSILON||2.220446049250313E-16;function Al(a){this.b=void 0!==a?a:[];this.a=Bl}var Bl=35044;function Cl(a,b){sl.call(this,a,b);this.H=null;this.o=[];this.C=[];this.B=0;this.c={fillColor:null,strokeColor:null,lineDash:null,lineDashOffset:void 0,lineWidth:void 0,A:!1}}w(Cl,sl);k=Cl.prototype;
k.cd=function(a,b){var c=a.Ce(),d=a.Ea();if(c){this.l.push(this.b.length);this.g.push(b);this.c.A&&(this.C.push(this.b.length),this.c.A=!1);this.B=c;a=a.na();a=wc(a,0,2,d,-this.origin[0],-this.origin[1]);b=this.a.length;c=this.b.length;var e=b/4,f;for(f=0;2>f;f+=d)this.a[b++]=a[f],this.a[b++]=a[f+1],this.a[b++]=0,this.a[b++]=this.B,this.a[b++]=a[f],this.a[b++]=a[f+1],this.a[b++]=1,this.a[b++]=this.B,this.a[b++]=a[f],this.a[b++]=a[f+1],this.a[b++]=2,this.a[b++]=this.B,this.a[b++]=a[f],this.a[b++]=
a[f+1],this.a[b++]=3,this.a[b++]=this.B,this.b[c++]=e,this.b[c++]=e+1,this.b[c++]=e+2,this.b[c++]=e+2,this.b[c++]=e+3,this.b[c++]=e,e+=4}else this.c.A&&(this.o.pop(),this.o.length&&(d=this.o[this.o.length-1],this.c.fillColor=d[0],this.c.strokeColor=d[1],this.c.lineWidth=d[2],this.c.A=!1))};k.Gb=function(){this.u=new Al(this.a);this.s=new Al(this.b);this.l.push(this.b.length);0===this.C.length&&0<this.o.length&&(this.o=[]);this.b=this.a=null};
k.jc=function(a){var b=this.u,c=this.s;return function(){Dl(a,b);Dl(a,c)}};k.Kg=function(a,b,c,d){var e=El(b,ml,nl);if(this.H)var f=this.H;else this.H=f=new pl(a,e);b.$d(e);a.enableVertexAttribArray(f.b);a.vertexAttribPointer(f.b,2,5126,!1,16,0);a.enableVertexAttribArray(f.s);a.vertexAttribPointer(f.s,1,5126,!1,16,8);a.enableVertexAttribArray(f.B);a.vertexAttribPointer(f.B,1,5126,!1,16,12);a.uniform2fv(f.aa,c);a.uniform1f(f.O,d);return f};
k.Mg=function(a,b){a.disableVertexAttribArray(b.b);a.disableVertexAttribArray(b.s);a.disableVertexAttribArray(b.B)};
k.Oe=function(a,b,c){if(Cb(c)){var d=this.l[this.l.length-1];for(c=this.C.length-1;0<=c;--c){var e=this.C[c];var f=this.o[c];a.uniform4fv(this.H.ja,f[0]);Fl(this,a,f[1],f[2]);ul(a,b,e,d);d=e}}else{var g=this.l.length-2;f=d=this.l[g+1];for(e=this.C.length-1;0<=e;--e){var h=this.o[e];a.uniform4fv(this.H.ja,h[0]);Fl(this,a,h[1],h[2]);for(h=this.C[e];0<=g&&this.l[g]>=h;){var l=this.l[g];var m=this.g[g];m=x(m).toString();c[m]&&(d!==f&&ul(a,b,d,f),f=l);g--;d=l}d!==f&&ul(a,b,d,f);d=f=h}}};
k.Kf=function(a,b,c,d,e){var f,g;var h=this.l.length-2;var l=this.l[h+1];for(f=this.C.length-1;0<=f;--f){var m=this.o[f];a.uniform4fv(this.H.ja,m[0]);Fl(this,a,m[1],m[2]);for(g=this.C[f];0<=h&&this.l[h]>=g;){m=this.l[h];var n=this.g[h];var p=x(n).toString();if(void 0===c[p]&&n.W()&&(void 0===e||fb(e,n.W().G()))&&(a.clear(a.COLOR_BUFFER_BIT|a.DEPTH_BUFFER_BIT),ul(a,b,m,l),l=d(n)))return l;h--;l=m}}};function Fl(a,b,c,d){b.uniform4fv(a.H.$,c);b.uniform1f(a.H.R,d)}
k.mb=function(a,b){if(b){var c=b.l;this.c.lineDash=c?c:wl;c=b.g;this.c.lineDashOffset=c?c:0;c=b.a;c instanceof CanvasGradient||c instanceof CanvasPattern?c=xl:c=Nc(c).map(function(a,b){return 3!=b?a/255:a})||xl;b=b.c;b=void 0!==b?b:1}else c=[0,0,0,0],b=0;a=a?a.b:[0,0,0,0];a instanceof CanvasGradient||a instanceof CanvasPattern?a=vl:a=Nc(a).map(function(a,b){return 3!=b?a/255:a})||vl;this.c.strokeColor&&se(this.c.strokeColor,c)&&this.c.fillColor&&se(this.c.fillColor,a)&&this.c.lineWidth===b||(this.c.A=
!0,this.c.fillColor=a,this.c.strokeColor=c,this.c.lineWidth=b,this.o.push([a,c,b]))};var Gl=new kl("precision mediump float;varying vec2 a;varying float b;uniform float k;uniform sampler2D l;void main(void){vec4 texColor=texture2D(l,a);gl_FragColor.rgb=texColor.rgb;float alpha=texColor.a*b*k;if(alpha==0.0){discard;}gl_FragColor.a=alpha;}"),Hl=new ll("varying vec2 a;varying float b;attribute vec2 c;attribute vec2 d;attribute vec2 e;attribute float f;attribute float g;uniform mat4 h;uniform mat4 i;uniform mat4 j;void main(void){mat4 offsetMatrix=i;if(g==1.0){offsetMatrix=i*j;}vec4 offsets=offsetMatrix*vec4(e,0.0,0.0);gl_Position=h*vec4(c,0.0,1.0)+offsets;a=d;b=f;}");function Il(a,b){this.l=a.getUniformLocation(b,"h");this.g=a.getUniformLocation(b,"i");this.c=a.getUniformLocation(b,"j");this.a=a.getUniformLocation(b,"k");this.b=a.getAttribLocation(b,"c");this.oa=a.getAttribLocation(b,"d");this.H=a.getAttribLocation(b,"e");this.C=a.getAttribLocation(b,"f");this.L=a.getAttribLocation(b,"g")};function Ql(a,b){this.s=a;this.b=b;this.a={};this.c={};this.l={};this.u=this.H=this.g=this.o=null;(this.j=ne(ca,"OES_element_index_uint"))&&b.getExtension("OES_element_index_uint");A(this.s,"webglcontextlost",this.Lq,this);A(this.s,"webglcontextrestored",this.Mq,this)}w(Ql,hc);
function tl(a,b,c){var d=a.b,e=c.b,f=String(x(c));if(f in a.a)d.bindBuffer(b,a.a[f].buffer);else{var g=d.createBuffer();d.bindBuffer(b,g);var h;34962==b?h=new Float32Array(e):34963==b&&(h=a.j?new Uint32Array(e):new Uint16Array(e));d.bufferData(b,h,c.a);a.a[f]={od:c,buffer:g}}}function Dl(a,b){var c=a.b;b=String(x(b));var d=a.a[b];c.isContextLost()||c.deleteBuffer(d.buffer);delete a.a[b]}k=Ql.prototype;
k.sa=function(){gc(this.s);var a=this.b;if(!a.isContextLost()){for(var b in this.a)a.deleteBuffer(this.a[b].buffer);for(b in this.l)a.deleteProgram(this.l[b]);for(b in this.c)a.deleteShader(this.c[b]);a.deleteFramebuffer(this.g);a.deleteRenderbuffer(this.u);a.deleteTexture(this.H)}};k.Kq=function(){return this.b};
function Rl(a){if(!a.g){var b=a.b,c=b.createFramebuffer();b.bindFramebuffer(b.FRAMEBUFFER,c);var d=Sl(b,1,1),e=b.createRenderbuffer();b.bindRenderbuffer(b.RENDERBUFFER,e);b.renderbufferStorage(b.RENDERBUFFER,b.DEPTH_COMPONENT16,1,1);b.framebufferTexture2D(b.FRAMEBUFFER,b.COLOR_ATTACHMENT0,b.TEXTURE_2D,d,0);b.framebufferRenderbuffer(b.FRAMEBUFFER,b.DEPTH_ATTACHMENT,b.RENDERBUFFER,e);b.bindTexture(b.TEXTURE_2D,null);b.bindRenderbuffer(b.RENDERBUFFER,null);b.bindFramebuffer(b.FRAMEBUFFER,null);a.g=c;
a.H=d;a.u=e}return a.g}function Tl(a,b){var c=String(x(b));if(c in a.c)return a.c[c];var d=a.b,e=d.createShader(b.U());d.shaderSource(e,b.Z());d.compileShader(e);return a.c[c]=e}function El(a,b,c){var d=x(b)+"/"+x(c);if(d in a.l)return a.l[d];var e=a.b,f=e.createProgram();e.attachShader(f,Tl(a,b));e.attachShader(f,Tl(a,c));e.linkProgram(f);return a.l[d]=f}k.Lq=function(){Ab(this.a);Ab(this.c);Ab(this.l);this.u=this.H=this.g=this.o=null};k.Mq=function(){};
k.$d=function(a){if(a==this.o)return!1;this.b.useProgram(a);this.o=a;return!0};function Ul(a,b,c){var d=a.createTexture();a.bindTexture(a.TEXTURE_2D,d);a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MAG_FILTER,a.LINEAR);a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MIN_FILTER,a.LINEAR);void 0!==b&&a.texParameteri(3553,10242,b);void 0!==c&&a.texParameteri(3553,10243,c);return d}function Sl(a,b,c){var d=Ul(a,void 0,void 0);a.texImage2D(a.TEXTURE_2D,0,a.RGBA,b,c,0,a.RGBA,a.UNSIGNED_BYTE,null);return d}
function Vl(a,b){var c=Ul(a,33071,33071);a.texImage2D(a.TEXTURE_2D,0,a.RGBA,a.RGBA,a.UNSIGNED_BYTE,b);return c};function Wl(a,b){sl.call(this,a,b);this.ja=this.L=void 0;this.H=[];this.C=[];this.O=this.R=this.height=void 0;this.rb=null;this.width=this.scale=this.rotation=this.rotateWithView=this.$=this.aa=this.opacity=void 0}w(Wl,sl);k=Wl.prototype;k.jc=function(a){var b=this.u,c=this.s,d=this.wh(!0),e=a.b;return function(){if(!e.isContextLost()){var f;var g=0;for(f=d.length;g<f;++g)e.deleteTexture(d[g])}Dl(a,b);Dl(a,c)}};
function Xl(a,b,c,d){var e=a.L,f=a.ja,g=a.height,h=a.R,l=a.O,m=a.opacity,n=a.aa,p=a.$,q=a.rotateWithView?1:0,r=-a.rotation,u=a.scale,v=a.width,y=Math.cos(r);r=Math.sin(r);var z=a.b.length,E=a.a.length,M;for(M=0;M<c;M+=d){var Xa=b[M]-a.origin[0];var ra=b[M+1]-a.origin[1];var wa=E/8;var ka=-u*e;var ma=-u*(g-f);a.a[E++]=Xa;a.a[E++]=ra;a.a[E++]=ka*y-ma*r;a.a[E++]=ka*r+ma*y;a.a[E++]=n/l;a.a[E++]=(p+g)/h;a.a[E++]=m;a.a[E++]=q;ka=u*(v-e);ma=-u*(g-f);a.a[E++]=Xa;a.a[E++]=ra;a.a[E++]=ka*y-ma*r;a.a[E++]=ka*
r+ma*y;a.a[E++]=(n+v)/l;a.a[E++]=(p+g)/h;a.a[E++]=m;a.a[E++]=q;ka=u*(v-e);ma=u*f;a.a[E++]=Xa;a.a[E++]=ra;a.a[E++]=ka*y-ma*r;a.a[E++]=ka*r+ma*y;a.a[E++]=(n+v)/l;a.a[E++]=p/h;a.a[E++]=m;a.a[E++]=q;ka=-u*e;ma=u*f;a.a[E++]=Xa;a.a[E++]=ra;a.a[E++]=ka*y-ma*r;a.a[E++]=ka*r+ma*y;a.a[E++]=n/l;a.a[E++]=p/h;a.a[E++]=m;a.a[E++]=q;a.b[z++]=wa;a.b[z++]=wa+1;a.b[z++]=wa+2;a.b[z++]=wa;a.b[z++]=wa+2;a.b[z++]=wa+3}}
function Yl(a,b,c,d){var e,f=b.length;for(e=0;e<f;++e){var g=b[e];var h=x(g).toString();h in c?g=c[h]:(g=Vl(d,g),c[h]=g);a[e]=g}}
k.Kg=function(a,b){var c=El(b,Gl,Hl);if(this.rb)var d=this.rb;else this.rb=d=new Il(a,c);b.$d(c);a.enableVertexAttribArray(d.b);a.vertexAttribPointer(d.b,2,5126,!1,32,0);a.enableVertexAttribArray(d.H);a.vertexAttribPointer(d.H,2,5126,!1,32,8);a.enableVertexAttribArray(d.oa);a.vertexAttribPointer(d.oa,2,5126,!1,32,16);a.enableVertexAttribArray(d.C);a.vertexAttribPointer(d.C,1,5126,!1,32,24);a.enableVertexAttribArray(d.L);a.vertexAttribPointer(d.L,1,5126,!1,32,28);return d};
k.Mg=function(a,b){a.disableVertexAttribArray(b.b);a.disableVertexAttribArray(b.H);a.disableVertexAttribArray(b.oa);a.disableVertexAttribArray(b.C);a.disableVertexAttribArray(b.L)};
k.Oe=function(a,b,c,d){var e=d?this.oh():this.wh();d=d?this.C:this.H;if(Cb(c)){var f;c=0;var g=e.length;for(f=0;c<g;++c){a.bindTexture(3553,e[c]);var h=d[c];ul(a,b,f,h);f=h}}else for(f=g=0,h=e.length;f<h;++f){a.bindTexture(3553,e[f]);for(var l=0<f?d[f-1]:0,m=d[f],n=l;g<this.l.length&&this.l[g]<=m;){var p=x(this.g[g]).toString();void 0!==c[p]?(n!==l&&ul(a,b,n,l),l=n=g===this.l.length-1?m:this.l[g+1]):l=g===this.l.length-1?m:this.l[g+1];g++}n!==l&&ul(a,b,n,l)}};
k.Kf=function(a,b,c,d,e){var f,g,h=this.l.length-1,l=this.oh();for(f=l.length-1;0<=f;--f){a.bindTexture(3553,l[f]);var m=0<f?this.C[f-1]:0;for(g=this.C[f];0<=h&&this.l[h]>=m;){var n=this.l[h];var p=this.g[h];var q=x(p).toString();if(void 0===c[q]&&p.W()&&(void 0===e||fb(e,p.W().G()))&&(a.clear(a.COLOR_BUFFER_BIT|a.DEPTH_BUFFER_BIT),ul(a,b,n,g),g=d(p)))return g;g=n;h--}}};
k.Gb=function(){this.O=this.R=this.height=this.ja=this.L=void 0;this.b=null;this.scale=this.rotation=this.rotateWithView=this.$=this.aa=this.opacity=void 0;this.a=null;this.width=void 0};function Zl(a,b){Wl.call(this,a,b);this.o=[];this.c=[];this.oa=[];this.B=[]}w(Zl,Wl);k=Zl.prototype;k.qd=function(a,b){this.l.push(this.b.length);this.g.push(b);b=a.na();Xl(this,b,b.length,a.Ea())};k.zd=function(a,b){this.l.push(this.b.length);this.g.push(b);b=a.na();Xl(this,b,b.length,a.Ea())};
k.Gb=function(a){var b=a.b;this.H.push(this.b.length);this.C.push(this.b.length);this.u=new Al(this.a);this.s=new Al(this.b);var c={};Yl(this.oa,this.o,c,b);Yl(this.B,this.c,c,b);this.c=this.o=null;Wl.prototype.Gb.call(this,a)};
k.Yc=function(a){var b=a.Ld(),c=a.fa(1),d=a.Rf(),e=a.Sh(),f=a.j,g=a.Xd(),h=a.H,l=a.s,m=a.La();a=a.l;if(0===this.o.length)this.o.push(c);else{var n=this.o[this.o.length-1];x(n)!=x(c)&&(this.H.push(this.b.length),this.o.push(c))}0===this.c.length?this.c.push(e):(n=this.c[this.c.length-1],x(n)!=x(e)&&(this.C.push(this.b.length),this.c.push(e)));this.L=b[0];this.ja=b[1];this.height=m[1];this.R=d[1];this.O=d[0];this.opacity=f;this.aa=g[0];this.$=g[1];this.rotation=l;this.rotateWithView=h;this.scale=a;
this.width=m[0]};k.wh=function(a){return a?this.oa.concat(this.B):this.oa};k.oh=function(){return this.B};function $l(a,b,c){var d=b-c;return a[0]===a[d]&&a[1]===a[d+1]&&3<(b-0)/c?!!og(a,0,b,c):!1};var am=new kl("precision mediump float;varying float a;varying vec2 aVertex;varying float c;uniform float m;uniform vec4 n;uniform vec2 o;uniform float p;void main(void){if(a>0.0){vec2 windowCoords=vec2((aVertex.x+1.0)/2.0*o.x*p,(aVertex.y+1.0)/2.0*o.y*p);if(length(windowCoords-gl_FragCoord.xy)>c*p){discard;}} gl_FragColor=n;float alpha=n.a*m;if(alpha==0.0){discard;}gl_FragColor.a=alpha;}"),bm=new ll("varying float a;varying vec2 aVertex;varying float c;attribute vec2 d;attribute vec2 e;attribute vec2 f;attribute float g;uniform mat4 h;uniform mat4 i;uniform mat4 j;uniform float k;uniform float l;bool nearlyEquals(in float value,in float ref){float epsilon=0.000000000001;return value>=ref-epsilon&&value<=ref+epsilon;}void alongNormal(out vec2 offset,in vec2 nextP,in float turnDir,in float direction){vec2 dirVect=nextP-e;vec2 normal=normalize(vec2(-turnDir*dirVect.y,turnDir*dirVect.x));offset=k/2.0*normal*direction;}void miterUp(out vec2 offset,out float round,in bool isRound,in float direction){float halfWidth=k/2.0;vec2 tangent=normalize(normalize(f-e)+normalize(e-d));vec2 normal=vec2(-tangent.y,tangent.x);vec2 dirVect=f-e;vec2 tmpNormal=normalize(vec2(-dirVect.y,dirVect.x));float miterLength=abs(halfWidth/dot(normal,tmpNormal));offset=normal*direction*miterLength;round=0.0;if(isRound){round=1.0;}else if(miterLength>l+k){offset=halfWidth*tmpNormal*direction;}} bool miterDown(out vec2 offset,in vec4 projPos,in mat4 offsetMatrix,in float direction){bool degenerate=false;vec2 tangent=normalize(normalize(f-e)+normalize(e-d));vec2 normal=vec2(-tangent.y,tangent.x);vec2 dirVect=d-e;vec2 tmpNormal=normalize(vec2(-dirVect.y,dirVect.x));vec2 longOffset,shortOffset,longVertex;vec4 shortProjVertex;float halfWidth=k/2.0;if(length(f-e)>length(d-e)){longOffset=tmpNormal*direction*halfWidth;shortOffset=normalize(vec2(dirVect.y,-dirVect.x))*direction*halfWidth;longVertex=f;shortProjVertex=h*vec4(d,0.0,1.0);}else{shortOffset=tmpNormal*direction*halfWidth;longOffset=normalize(vec2(dirVect.y,-dirVect.x))*direction*halfWidth;longVertex=d;shortProjVertex=h*vec4(f,0.0,1.0);}vec4 p1=h*vec4(longVertex,0.0,1.0)+offsetMatrix*vec4(longOffset,0.0,0.0);vec4 p2=projPos+offsetMatrix*vec4(longOffset,0.0,0.0);vec4 p3=shortProjVertex+offsetMatrix*vec4(-shortOffset,0.0,0.0);vec4 p4=shortProjVertex+offsetMatrix*vec4(shortOffset,0.0,0.0);float denom=(p4.y-p3.y)*(p2.x-p1.x)-(p4.x-p3.x)*(p2.y-p1.y);float firstU=((p4.x-p3.x)*(p1.y-p3.y)-(p4.y-p3.y)*(p1.x-p3.x))/denom;float secondU=((p2.x-p1.x)*(p1.y-p3.y)-(p2.y-p1.y)*(p1.x-p3.x))/denom;float epsilon=0.000000000001;if(firstU>epsilon&&firstU<1.0-epsilon&&secondU>epsilon&&secondU<1.0-epsilon){shortProjVertex.x=p1.x+firstU*(p2.x-p1.x);shortProjVertex.y=p1.y+firstU*(p2.y-p1.y);offset=shortProjVertex.xy;degenerate=true;}else{float miterLength=abs(halfWidth/dot(normal,tmpNormal));offset=normal*direction*miterLength;}return degenerate;}void squareCap(out vec2 offset,out float round,in bool isRound,in vec2 nextP,in float turnDir,in float direction){round=0.0;vec2 dirVect=e-nextP;vec2 firstNormal=normalize(dirVect);vec2 secondNormal=vec2(turnDir*firstNormal.y*direction,-turnDir*firstNormal.x*direction);vec2 hypotenuse=normalize(firstNormal-secondNormal);vec2 normal=vec2(turnDir*hypotenuse.y*direction,-turnDir*hypotenuse.x*direction);float length=sqrt(c*c*2.0);offset=normal*length;if(isRound){round=1.0;}} void main(void){bool degenerate=false;float direction=float(sign(g));mat4 offsetMatrix=i*j;vec2 offset;vec4 projPos=h*vec4(e,0.0,1.0);bool round=nearlyEquals(mod(g,2.0),0.0);a=0.0;c=k/2.0;aVertex=projPos.xy;if(nearlyEquals(mod(g,3.0),0.0)||nearlyEquals(mod(g,17.0),0.0)){alongNormal(offset,f,1.0,direction);}else if(nearlyEquals(mod(g,5.0),0.0)||nearlyEquals(mod(g,13.0),0.0)){alongNormal(offset,d,-1.0,direction);}else if(nearlyEquals(mod(g,23.0),0.0)){miterUp(offset,a,round,direction);}else if(nearlyEquals(mod(g,19.0),0.0)){degenerate=miterDown(offset,projPos,offsetMatrix,direction);}else if(nearlyEquals(mod(g,7.0),0.0)){squareCap(offset,a,round,f,1.0,direction);}else if(nearlyEquals(mod(g,11.0),0.0)){squareCap(offset,a,round,d,-1.0,direction);}if(!degenerate){vec4 offsets=offsetMatrix*vec4(offset,0.0,0.0);gl_Position=projPos+offsets;}else{gl_Position=vec4(offset,0.0,1.0);}}");function cm(a,b){this.l=a.getUniformLocation(b,"h");this.g=a.getUniformLocation(b,"i");this.c=a.getUniformLocation(b,"j");this.R=a.getUniformLocation(b,"k");this.$=a.getUniformLocation(b,"l");this.a=a.getUniformLocation(b,"m");this.ja=a.getUniformLocation(b,"n");this.aa=a.getUniformLocation(b,"o");this.O=a.getUniformLocation(b,"p");this.o=a.getAttribLocation(b,"d");this.b=a.getAttribLocation(b,"e");this.u=a.getAttribLocation(b,"f");this.j=a.getAttribLocation(b,"g")};function dm(a,b){sl.call(this,a,b);this.H=null;this.C=[];this.o=[];this.c={strokeColor:null,lineCap:void 0,lineDash:null,lineDashOffset:void 0,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0,A:!1}}w(dm,sl);
function em(a,b,c,d){var e,f=a.a.length,g=a.b.length,h="bevel"===a.c.lineJoin?0:"miter"===a.c.lineJoin?1:2,l="butt"===a.c.lineCap?0:"square"===a.c.lineCap?1:2,m=$l(b,c,d),n=g,p=1;for(e=0;e<c;e+=d){var q=f/7;var r=u;var u=v||[b[e],b[e+1]];if(0===e){var v=[b[e+d],b[e+d+1]];if(c-0===2*d&&se(u,v))break;if(m){r=[b[c-2*d],b[c-2*d+1]];var y=v}else{l&&(f=fm(a,[0,0],u,v,p*gm*l,f),f=fm(a,[0,0],u,v,-p*gm*l,f),a.b[g++]=q+2,a.b[g++]=q,a.b[g++]=q+1,a.b[g++]=q+1,a.b[g++]=q+3,a.b[g++]=q+2);f=fm(a,[0,0],u,v,p*hm*
(l||1),f);f=fm(a,[0,0],u,v,-p*hm*(l||1),f);n=f/7-1;continue}}else if(e===c-d){m?v=y:(r=r||[0,0],f=fm(a,r,u,[0,0],p*im*(l||1),f),f=fm(a,r,u,[0,0],-p*im*(l||1),f),a.b[g++]=q,a.b[g++]=n-1,a.b[g++]=n,a.b[g++]=n,a.b[g++]=q+1,a.b[g++]=q,l&&(f=fm(a,r,u,[0,0],p*jm*l,f),f=fm(a,r,u,[0,0],-p*jm*l,f),a.b[g++]=q+2,a.b[g++]=q,a.b[g++]=q+1,a.b[g++]=q+1,a.b[g++]=q+3,a.b[g++]=q+2));break}else v=[b[e+d],b[e+d+1]];var z=yl(r[0],r[1],u[0],u[1],v[0],v[1])?-1:1;f=fm(a,r,u,v,z*km*(h||1),f);f=fm(a,r,u,v,z*lm*(h||1),f);f=
fm(a,r,u,v,-z*mm*(h||1),f);0<e&&(a.b[g++]=q,a.b[g++]=n-1,a.b[g++]=n,a.b[g++]=q+2,a.b[g++]=q,a.b[g++]=0<p*z?n:n-1);a.b[g++]=q;a.b[g++]=q+2;a.b[g++]=q+1;n=q+2;p=z;h&&(f=fm(a,r,u,v,z*nm*h,f),a.b[g++]=q+1,a.b[g++]=q+3,a.b[g++]=q)}m&&(q=q||f/7,z=Og([r[0],r[1],u[0],u[1],v[0],v[1]],0,6,2)?1:-1,f=fm(a,r,u,v,z*km*(h||1),f),fm(a,r,u,v,-z*mm*(h||1),f),a.b[g++]=q,a.b[g++]=n-1,a.b[g++]=n,a.b[g++]=q+1,a.b[g++]=q,a.b[g++]=0<p*z?n:n-1)}
function fm(a,b,c,d,e,f){a.a[f++]=b[0];a.a[f++]=b[1];a.a[f++]=c[0];a.a[f++]=c[1];a.a[f++]=d[0];a.a[f++]=d[1];a.a[f++]=e;return f}function om(a,b,c,d){c-=b;return c<2*d?!1:c===2*d?!se([a[b],a[b+1]],[a[b+d],a[b+d+1]]):!0}k=dm.prototype;k.yd=function(a,b){var c=a.na();a=a.Ea();om(c,0,c.length,a)&&(c=wc(c,0,c.length,a,-this.origin[0],-this.origin[1]),this.c.A&&(this.o.push(this.b.length),this.c.A=!1),this.l.push(this.b.length),this.g.push(b),em(this,c,c.length,a))};
k.pd=function(a,b){var c=this.b.length,d=a.Jb();d.unshift(0);var e=a.na();a=a.Ea();var f;if(1<d.length){var g=1;for(f=d.length;g<f;++g)if(om(e,d[g-1],d[g],a)){var h=wc(e,d[g-1],d[g],a,-this.origin[0],-this.origin[1]);em(this,h,h.length,a)}}this.b.length>c&&(this.l.push(c),this.g.push(b),this.c.A&&(this.o.push(c),this.c.A=!1))};
function pm(a,b,c,d){$l(b,b.length,d)||(b.push(b[0]),b.push(b[1]));em(a,b,b.length,d);if(c.length){var e;b=0;for(e=c.length;b<e;++b)$l(c[b],c[b].length,d)||(c[b].push(c[b][0]),c[b].push(c[b][1])),em(a,c[b],c[b].length,d)}}function qm(a,b,c){c=void 0===c?a.b.length:c;a.l.push(c);a.g.push(b);a.c.A&&(a.o.push(c),a.c.A=!1)}k.Gb=function(){this.u=new Al(this.a);this.s=new Al(this.b);this.l.push(this.b.length);0===this.o.length&&0<this.C.length&&(this.C=[]);this.b=this.a=null};
k.jc=function(a){var b=this.u,c=this.s;return function(){Dl(a,b);Dl(a,c)}};
k.Kg=function(a,b,c,d){var e=El(b,am,bm);if(this.H)var f=this.H;else this.H=f=new cm(a,e);b.$d(e);a.enableVertexAttribArray(f.o);a.vertexAttribPointer(f.o,2,5126,!1,28,0);a.enableVertexAttribArray(f.b);a.vertexAttribPointer(f.b,2,5126,!1,28,8);a.enableVertexAttribArray(f.u);a.vertexAttribPointer(f.u,2,5126,!1,28,16);a.enableVertexAttribArray(f.j);a.vertexAttribPointer(f.j,1,5126,!1,28,24);a.uniform2fv(f.aa,c);a.uniform1f(f.O,d);return f};
k.Mg=function(a,b){a.disableVertexAttribArray(b.o);a.disableVertexAttribArray(b.b);a.disableVertexAttribArray(b.u);a.disableVertexAttribArray(b.j)};
k.Oe=function(a,b,c,d){var e=a.getParameter(a.DEPTH_FUNC),f=a.getParameter(a.DEPTH_WRITEMASK);d||(a.enable(a.DEPTH_TEST),a.depthMask(!0),a.depthFunc(a.NOTEQUAL));if(Cb(c)){var g=this.l[this.l.length-1];for(c=this.o.length-1;0<=c;--c){var h=this.o[c];var l=this.C[c];rm(this,a,l[0],l[1],l[2]);ul(a,b,h,g);a.clear(a.DEPTH_BUFFER_BIT);g=h}}else{var m=this.l.length-2;l=g=this.l[m+1];for(h=this.o.length-1;0<=h;--h){var n=this.C[h];rm(this,a,n[0],n[1],n[2]);for(n=this.o[h];0<=m&&this.l[m]>=n;){var p=this.l[m];
var q=this.g[m];q=x(q).toString();c[q]&&(g!==l&&(ul(a,b,g,l),a.clear(a.DEPTH_BUFFER_BIT)),l=p);m--;g=p}g!==l&&(ul(a,b,g,l),a.clear(a.DEPTH_BUFFER_BIT));g=l=n}}d||(a.disable(a.DEPTH_TEST),a.clear(a.DEPTH_BUFFER_BIT),a.depthMask(f),a.depthFunc(e))};
k.Kf=function(a,b,c,d,e){var f,g;var h=this.l.length-2;var l=this.l[h+1];for(f=this.o.length-1;0<=f;--f){var m=this.C[f];rm(this,a,m[0],m[1],m[2]);for(g=this.o[f];0<=h&&this.l[h]>=g;){m=this.l[h];var n=this.g[h];var p=x(n).toString();if(void 0===c[p]&&n.W()&&(void 0===e||fb(e,n.W().G()))&&(a.clear(a.COLOR_BUFFER_BIT|a.DEPTH_BUFFER_BIT),ul(a,b,m,l),l=d(n)))return l;h--;l=m}}};function rm(a,b,c,d,e){b.uniform4fv(a.H.ja,c);b.uniform1f(a.H.R,d);b.uniform1f(a.H.$,e)}
k.mb=function(a,b){a=b.j;this.c.lineCap=void 0!==a?a:"round";a=b.l;this.c.lineDash=a?a:wl;a=b.g;this.c.lineDashOffset=a?a:0;a=b.s;this.c.lineJoin=void 0!==a?a:"round";a=b.a;a instanceof CanvasGradient||a instanceof CanvasPattern?a=xl:a=Nc(a).map(function(a,b){return 3!=b?a/255:a})||xl;var c=b.c;c=void 0!==c?c:1;b=b.o;b=void 0!==b?b:10;this.c.strokeColor&&se(this.c.strokeColor,a)&&this.c.lineWidth===c&&this.c.miterLimit===b||(this.c.A=!0,this.c.strokeColor=a,this.c.lineWidth=c,this.c.miterLimit=b,
this.C.push([a,c,b]))};var hm=3,im=5,gm=7,jm=11,km=13,lm=17,mm=19,nm=23;var sm=new kl("precision mediump float;uniform vec4 e;uniform float f;void main(void){gl_FragColor=e;float alpha=e.a*f;if(alpha==0.0){discard;}gl_FragColor.a=alpha;}"),tm=new ll("attribute vec2 a;uniform mat4 b;uniform mat4 c;uniform mat4 d;void main(void){gl_Position=b*vec4(a,0.0,1.0);}");function um(a,b){this.l=a.getUniformLocation(b,"b");this.g=a.getUniformLocation(b,"c");this.c=a.getUniformLocation(b,"d");this.ja=a.getUniformLocation(b,"e");this.a=a.getUniformLocation(b,"f");this.b=a.getAttribLocation(b,"a")};function vm(){this.b=this.a=this.l=void 0;this.c=0}function wm(a){var b=a.b;if(b){var c=b.next,d=b.kc;c&&(c.kc=d);d&&(d.next=c);a.b=c||d;a.l===a.a?(a.b=void 0,a.l=void 0,a.a=void 0):a.l===b?a.l=a.b:a.a===b&&(a.a=d?a.b.kc:a.b);a.c--}}function xm(a){a.b=a.l;if(a.b)return a.b.data}function ym(a){if(a.b&&a.b.next)return a.b=a.b.next,a.b.data}function zm(a){if(a.b&&a.b.next)return a.b.next.data}function Am(a){if(a.b&&a.b.kc)return a.b=a.b.kc,a.b.data}function Bm(a){if(a.b&&a.b.kc)return a.b.kc.data}
function Cm(a){if(a.b)return a.b.data}vm.prototype.concat=function(a){if(a.b){if(this.b){var b=this.b.next;this.b.next=a.l;a.l.kc=this.b;b.kc=a.a;a.a.next=b;this.c+=a.c}else this.b=a.b,this.l=a.l,this.a=a.a,this.c=a.c;a.b=void 0;a.l=void 0;a.a=void 0;a.c=0}};vm.prototype.Cb=function(){return this.c};function Dm(){this.a=Oj.Cd(void 0);this.b={}}k=Dm.prototype;k.Za=function(a,b){a={qa:a[0],pa:a[1],za:a[2],ya:a[3],value:b};this.a.Za(a);this.b[x(b)]=a};k.load=function(a,b){for(var c=Array(b.length),d=0,e=b.length;d<e;d++){var f=a[d],g=b[d];f={qa:f[0],pa:f[1],za:f[2],ya:f[3],value:g};c[d]=f;this.b[x(g)]=f}this.a.load(c)};k.remove=function(a){a=x(a);var b=this.b[a];delete this.b[a];return null!==this.a.remove(b)};
function Em(a,b,c){var d=a.b[x(c)];Ra([d.qa,d.pa,d.za,d.ya],b)||(a.remove(c),a.Za(b,c))}function Fm(a){return a.a.all().map(function(a){return a.value})}function Gm(a,b){return a.a.search({qa:b[0],pa:b[1],za:b[2],ya:b[3]}).map(function(a){return a.value})}k.forEach=function(a,b){return Hm(Fm(this),a,b)};function Im(a,b,c,d){return Hm(Gm(a,b),c,d)}function Hm(a,b,c){for(var d,e=0,f=a.length;e<f&&!(d=b.call(c,a[e]));e++);return d}k.clear=function(){this.a.clear();this.b={}};
k.G=function(a){var b=this.a.data;return Ma(b.qa,b.pa,b.za,b.ya,a)};k.concat=function(a){this.a.load(a.a.all());for(var b in a.b)this.b[b|0]=a.b[b|0]};function Jm(a,b){sl.call(this,a,b);this.j=new dm(a,b);this.H=null;this.C=[];this.c=[];this.o={fillColor:null,A:!1}}w(Jm,sl);
function Km(a,b,c,d){var e=new vm,f=new Dm;Lm(a,b,d,e,f,!0);b=Mm(e);if(c.length){var g,h=[];var l=0;for(g=c.length;l<g;++l){var m={list:new vm,xd:void 0,si:new Dm};h.push(m);Lm(a,c[l],d,m.list,m.si,!1);Nm(m.list,m.si,!0);m.xd=Mm(m.list)}h.sort(function(a,b){return b.xd[0]===a.xd[0]?a.xd[1]-b.xd[1]:b.xd[0]-a.xd[0]});for(l=0;l<h.length;++l){c=h[l].list;g=d=xm(c);do{if(Om(g,f).length){var n=!0;break}g=ym(c)}while(d!==g);!n&&Pm(c,h[l].xd[0],e,b[0],f)&&(f.concat(h[l].si),Nm(e,f,!1))}}else Nm(e,f,!1);Qm(a,
e,f)}
function Lm(a,b,c,d,e,f){var g,h=a.a.length/2,l=[],m=[];if(f===Og(b,0,b.length,c)){var n=f=Rm(a,b[0],b[1],h++);var p=c;for(g=b.length;p<g;p+=c){var q=Rm(a,b[p],b[p+1],h++);m.push(Sm(n,q,d));l.push([Math.min(n.x,q.x),Math.min(n.y,q.y),Math.max(n.x,q.x),Math.max(n.y,q.y)]);n=q}}else for(p=b.length-c,n=f=Rm(a,b[p],b[p+1],h++),p-=c,g=0;p>=g;p-=c)q=Rm(a,b[p],b[p+1],h++),m.push(Sm(n,q,d)),l.push([Math.min(n.x,q.x),Math.min(n.y,q.y),Math.max(n.x,q.x),Math.max(n.y,q.y)]),n=q;m.push(Sm(q,f,d));l.push([Math.min(n.x,q.x),
Math.min(n.y,q.y),Math.max(n.x,q.x),Math.max(n.y,q.y)]);e.load(l,m)}function Mm(a){var b=xm(a),c=b,d=[c.ia.x,c.ia.y];do c=ym(a),c.ia.x>d[0]&&(d=[c.ia.x,c.ia.y]);while(c!==b);return d}function Nm(a,b,c){var d=xm(a),e=d,f=ym(a),g=!1;do{var h=c?yl(f.ga.x,f.ga.y,e.ga.x,e.ga.y,e.ia.x,e.ia.y):yl(e.ia.x,e.ia.y,e.ga.x,e.ga.y,f.ga.x,f.ga.y);void 0===h?(Tm(e,f,a,b),g=!0,f===d&&(d=zm(a)),f=e,Am(a)):e.ga.uc!==h&&(e.ga.uc=h,g=!0);e=f;f=ym(a)}while(e!==d);return g}
function Pm(a,b,c,d,e){for(var f=xm(a);f.ga.x!==b;)f=ym(a);b=f.ga;d={x:d,y:b.y,Rb:-1};var g=Infinity,h;var l=Om({ia:b,ga:d},e,!0);var m=0;for(h=l.length;m<h;++m){var n=l[m],p=Um(b,d,n.ia,n.ga,!0),q=Math.abs(b.x-p[0]);if(q<g&&void 0!==yl(b.x,b.y,n.ia.x,n.ia.y,n.ga.x,n.ga.y)){g=q;var r={x:p[0],y:p[1],Rb:-1};f=n}}if(Infinity===g)return!1;l=f.ga;if(0<g&&(f=Vm(b,r,f.ga,e),f.length))for(r=Infinity,m=0,h=f.length;m<h;++m)if(g=f[m],n=Math.atan2(b.y-g.y,d.x-g.x),n<r||n===r&&g.x<l.x)r=n,l=g;for(f=xm(c);f.ga.x!==
l.x||f.ga.y!==l.y;)f=ym(c);d={x:b.x,y:b.y,Rb:b.Rb,uc:void 0};m={x:f.ga.x,y:f.ga.y,Rb:f.ga.Rb,uc:void 0};zm(a).ia=d;Sm(b,f.ga,a,e);Sm(m,d,a,e);f.ga=m;a.b&&(a.l=a.b,a.a=a.b.kc);c.concat(a);return!0}
function Qm(a,b,c){for(var d=!1,e=Wm(b,c);3<b.Cb();)if(e){if(!Xm(a,b,c,e,d)&&!Nm(b,c,d)&&!Ym(a,b,c,!0))break}else if(!Xm(a,b,c,e,d)&&!Nm(b,c,d)&&!Ym(a,b,c))if(e=Wm(b,c)){d=b;var f=2*d.Cb(),g=Array(f),h=xm(d),l=h,m=0;do g[m++]=l.ia.x,g[m++]=l.ia.y,l=ym(d);while(l!==h);d=!Og(g,0,f,2);Nm(b,c,d)}else{e=a;d=b;f=g=xm(d);do{h=Om(f,c);if(h.length){g=h[0];h=Um(f.ia,f.ga,g.ia,g.ga);h=Rm(e,h[0],h[1],e.a.length/2);l=new vm;m=new Dm;Sm(h,f.ga,l,m);f.ga=h;Em(c,[Math.min(f.ia.x,h.x),Math.min(f.ia.y,h.y),Math.max(f.ia.x,
h.x),Math.max(f.ia.y,h.y)],f);for(f=ym(d);f!==g;)Sm(f.ia,f.ga,l,m),c.remove(f),wm(d),f=Cm(d);Sm(g.ia,h,l,m);g.ia=h;Em(c,[Math.min(g.ga.x,h.x),Math.min(g.ga.y,h.y),Math.max(g.ga.x,h.x),Math.max(g.ga.y,h.y)],g);Nm(d,c,!1);Qm(e,d,c);Nm(l,m,!1);Qm(e,l,m);break}f=ym(d)}while(f!==g);break}3===b.Cb()&&(e=a.b.length,a.b[e++]=Bm(b).ia.Rb,a.b[e++]=Cm(b).ia.Rb,a.b[e++]=zm(b).ia.Rb)}
function Xm(a,b,c,d,e){var f=a.b.length,g=xm(b),h=Bm(b),l=g,m=ym(b),n=zm(b),p=!1;do{var q=l.ia;var r=l.ga;var u=m.ga;if(!1===r.uc){var v=d?0===Vm(q,r,u,c,!0).length:e?Zm(n.ga,u,r,q,h.ia):Zm(h.ia,q,r,u,n.ga);!d&&0!==Om({ia:q,ga:u},c).length||!v||!d&&!1!==q.uc&&!1!==u.uc&&Og([h.ia.x,h.ia.y,q.x,q.y,r.x,r.y,u.x,u.y,n.ga.x,n.ga.y],0,10,2)!==!e||(a.b[f++]=q.Rb,a.b[f++]=r.Rb,a.b[f++]=u.Rb,Tm(l,m,b,c),m===g&&(g=n),p=!0)}h=Bm(b);l=Cm(b);m=ym(b);n=zm(b)}while(l!==g&&3<b.Cb());return p}
function Ym(a,b,c,d){var e=xm(b);ym(b);var f=e,g=ym(b),h=!1;do{var l=Um(f.ia,f.ga,g.ia,g.ga,d);if(l){h=a.b.length;var m=a.a.length/2,n=Am(b);wm(b);c.remove(n);var p=n===e;d?(l[0]===f.ia.x&&l[1]===f.ia.y?(Am(b),l=f.ia,g.ia=l,c.remove(f),p=p||f===e):(l=g.ga,f.ga=l,c.remove(g),p=p||g===e),wm(b)):(l=Rm(a,l[0],l[1],m),f.ga=l,g.ia=l,Em(c,[Math.min(f.ia.x,f.ga.x),Math.min(f.ia.y,f.ga.y),Math.max(f.ia.x,f.ga.x),Math.max(f.ia.y,f.ga.y)],f),Em(c,[Math.min(g.ia.x,g.ga.x),Math.min(g.ia.y,g.ga.y),Math.max(g.ia.x,
g.ga.x),Math.max(g.ia.y,g.ga.y)],g));a.b[h++]=n.ia.Rb;a.b[h++]=n.ga.Rb;a.b[h++]=l.Rb;h=!0;if(p)break}f=Bm(b);g=ym(b)}while(f!==e);return h}function Wm(a,b){var c=xm(a),d=c;do{if(Om(d,b).length)return!1;d=ym(a)}while(d!==c);return!0}function Rm(a,b,c,d){var e=a.a.length;a.a[e++]=b;a.a[e++]=c;return{x:b,y:c,Rb:d,uc:void 0}}
function Sm(a,b,c,d){var e={ia:a,ga:b},f={kc:void 0,next:void 0,data:e},g=c.b;if(g){var h=g.next;f.kc=g;f.next=h;g.next=f;h&&(h.kc=f);g===c.a&&(c.a=f)}else c.l=f,c.a=f,f.next=f,f.kc=f;c.b=f;c.c++;d&&d.Za([Math.min(a.x,b.x),Math.min(a.y,b.y),Math.max(a.x,b.x),Math.max(a.y,b.y)],e);return e}function Tm(a,b,c,d){Cm(c)===b&&(wm(c),a.ga=b.ga,d.remove(b),Em(d,[Math.min(a.ia.x,a.ga.x),Math.min(a.ia.y,a.ga.y),Math.max(a.ia.x,a.ga.x),Math.max(a.ia.y,a.ga.y)],a))}
function Vm(a,b,c,d,e){var f,g,h=[],l=Gm(d,[Math.min(a.x,b.x,c.x),Math.min(a.y,b.y,c.y),Math.max(a.x,b.x,c.x),Math.max(a.y,b.y,c.y)]);d=0;for(f=l.length;d<f;++d)for(g in l[d]){var m=l[d][g];"object"!==typeof m||e&&!m.uc||m.x===a.x&&m.y===a.y||m.x===b.x&&m.y===b.y||m.x===c.x&&m.y===c.y||-1!==h.indexOf(m)||!Dg([a.x,a.y,b.x,b.y,c.x,c.y],0,6,2,m.x,m.y)||h.push(m)}return h}
function Om(a,b,c){var d=a.ia,e=a.ga;b=Gm(b,[Math.min(d.x,e.x),Math.min(d.y,e.y),Math.max(d.x,e.x),Math.max(d.y,e.y)]);var f=[],g;var h=0;for(g=b.length;h<g;++h){var l=b[h];a!==l&&(c||l.ia!==e||l.ga!==d)&&Um(d,e,l.ia,l.ga,c)&&f.push(l)}return f}
function Um(a,b,c,d,e){var f=(d.y-c.y)*(b.x-a.x)-(d.x-c.x)*(b.y-a.y);if(0!==f&&(d=((d.x-c.x)*(a.y-c.y)-(d.y-c.y)*(a.x-c.x))/f,c=((b.x-a.x)*(a.y-c.y)-(b.y-a.y)*(a.x-c.x))/f,!e&&d>zl&&d<1-zl&&c>zl&&c<1-zl||e&&0<=d&&1>=d&&0<=c&&1>=c))return[a.x+d*(b.x-a.x),a.y+d*(b.y-a.y)]}
function Zm(a,b,c,d,e){if(void 0===b.uc||void 0===d.uc)return!1;var f=(c.x-d.x)*(b.y-d.y)>(c.y-d.y)*(b.x-d.x);e=(e.x-d.x)*(b.y-d.y)<(e.y-d.y)*(b.x-d.x);a=(a.x-b.x)*(d.y-b.y)>(a.y-b.y)*(d.x-b.x);c=(c.x-b.x)*(d.y-b.y)<(c.y-b.y)*(d.x-b.x);b=b.uc?c||a:c&&a;return(d.uc?e||f:e&&f)&&b}k=Jm.prototype;
k.rd=function(a,b){var c=a.re(),d=a.Ea(),e=this.b.length,f=this.j.b.length;a=a.na();var g,h,l;var m=h=0;for(g=c.length;m<g;++m){var n=c[m];if(0<n.length){var p=wc(a,h,n[0],d,-this.origin[0],-this.origin[1]);if(p.length){var q=[];h=1;for(l=n.length;h<l;++h)if(n[h]!==n[h-1]){var r=wc(a,n[h-1],n[h],d,-this.origin[0],-this.origin[1]);q.push(r)}pm(this.j,p,q,d);Km(this,p,q,d)}}h=n[n.length-1]}this.b.length>e&&(this.l.push(e),this.g.push(b),this.o.A&&(this.c.push(e),this.o.A=!1));this.j.b.length>f&&qm(this.j,
b,f)};k.Ad=function(a,b){var c=a.Jb(),d=a.Ea();if(0<c.length){a=a.na().map(Number);var e=wc(a,0,c[0],d,-this.origin[0],-this.origin[1]);if(e.length){var f=[],g;var h=1;for(g=c.length;h<g;++h)if(c[h]!==c[h-1]){var l=wc(a,c[h-1],c[h],d,-this.origin[0],-this.origin[1]);f.push(l)}this.l.push(this.b.length);this.g.push(b);this.o.A&&(this.c.push(this.b.length),this.o.A=!1);qm(this.j,b);pm(this.j,e,f,d);Km(this,e,f,d)}}};
k.Gb=function(a){this.u=new Al(this.a);this.s=new Al(this.b);this.l.push(this.b.length);this.j.Gb(a);0===this.c.length&&0<this.C.length&&(this.C=[]);this.b=this.a=null};k.jc=function(a){var b=this.u,c=this.s,d=this.j.jc(a);return function(){Dl(a,b);Dl(a,c);d()}};k.Kg=function(a,b){var c=El(b,sm,tm);if(this.H)var d=this.H;else this.H=d=new um(a,c);b.$d(c);a.enableVertexAttribArray(d.b);a.vertexAttribPointer(d.b,2,5126,!1,8,0);return d};k.Mg=function(a,b){a.disableVertexAttribArray(b.b)};
k.Oe=function(a,b,c,d){var e=a.getParameter(a.DEPTH_FUNC),f=a.getParameter(a.DEPTH_WRITEMASK);d||(a.enable(a.DEPTH_TEST),a.depthMask(!0),a.depthFunc(a.NOTEQUAL));if(Cb(c)){var g=this.l[this.l.length-1];for(c=this.c.length-1;0<=c;--c){var h=this.c[c];var l=this.C[c];a.uniform4fv(this.H.ja,l);ul(a,b,h,g);g=h}}else{var m=this.l.length-2;l=g=this.l[m+1];for(h=this.c.length-1;0<=h;--h){var n=this.C[h];a.uniform4fv(this.H.ja,n);for(n=this.c[h];0<=m&&this.l[m]>=n;){var p=this.l[m];var q=this.g[m];q=x(q).toString();
c[q]&&(g!==l&&(ul(a,b,g,l),a.clear(a.DEPTH_BUFFER_BIT)),l=p);m--;g=p}g!==l&&(ul(a,b,g,l),a.clear(a.DEPTH_BUFFER_BIT));g=l=n}}d||(a.disable(a.DEPTH_TEST),a.clear(a.DEPTH_BUFFER_BIT),a.depthMask(f),a.depthFunc(e))};
k.Kf=function(a,b,c,d,e){var f,g;var h=this.l.length-2;var l=this.l[h+1];for(f=this.c.length-1;0<=f;--f){var m=this.C[f];a.uniform4fv(this.H.ja,m);for(g=this.c[f];0<=h&&this.l[h]>=g;){m=this.l[h];var n=this.g[h];var p=x(n).toString();if(void 0===c[p]&&n.W()&&(void 0===e||fb(e,n.W().G()))&&(a.clear(a.COLOR_BUFFER_BIT|a.DEPTH_BUFFER_BIT),ul(a,b,m,l),l=d(n)))return l;h--;l=m}}};
k.mb=function(a,b){a=a?a.b:[0,0,0,0];a instanceof CanvasGradient||a instanceof CanvasPattern?a=vl:a=Nc(a).map(function(a,b){return 3!=b?a/255:a})||vl;this.o.fillColor&&se(a,this.o.fillColor)||(this.o.fillColor=a,this.o.A=!0,this.C.push(a));b?this.j.mb(null,b):this.j.mb(null,new Ld({color:[0,0,0,0],lineWidth:0}))};function $m(a,b){this.b=b;this.a=[{x:0,y:0,width:a,height:a}];this.c={};this.l=Sc(a,a);this.g=this.l.canvas}$m.prototype.get=function(a){return this.c[a]||null};
$m.prototype.add=function(a,b,c,d,e){var f;var g=0;for(f=this.a.length;g<f;++g){var h=this.a[g];if(h.width>=b+this.b&&h.height>=c+this.b)return f={offsetX:h.x+this.b,offsetY:h.y+this.b,image:this.g},this.c[a]=f,d.call(e,this.l,h.x+this.b,h.y+this.b),a=g,b+=this.b,d=c+this.b,h.width-b>h.height-d?(c={x:h.x+b,y:h.y,width:h.width-b,height:h.height},b={x:h.x,y:h.y+d,width:b,height:h.height-d},an(this,a,c,b)):(c={x:h.x+b,y:h.y,width:h.width-b,height:d},b={x:h.x,y:h.y+d,width:h.width,height:h.height-d},
an(this,a,c,b)),f}return null};function an(a,b,c,d){b=[b,1];0<c.width&&0<c.height&&b.push(c);0<d.width&&0<d.height&&b.push(d);a.a.splice.apply(a.a,b)};function bn(a){a=a||{};this.a=void 0!==a.initialSize?a.initialSize:256;this.l=void 0!==a.maxSize?a.maxSize:void 0!==ba?ba:2048;this.b=void 0!==a.space?a.space:1;this.j=[new $m(this.a,this.b)];this.c=this.a;this.g=[new $m(this.c,this.b)]}function cn(a,b){var c;var d=0;for(c=a.length;d<c;++d){var e=a[d];if(e=e.get(b))return e}return null}function dn(a,b){return{offsetX:a.offsetX,offsetY:a.offsetY,image:a.image,bo:b.image}}
bn.prototype.add=function(a,b,c,d,e,f){if(b+this.b>this.l||c+this.b>this.l)return null;d=en(this,!1,a,b,c,d,f);if(!d)return null;a=en(this,!0,a,b,c,void 0!==e?e:da,f);return dn(d,a)};function en(a,b,c,d,e,f,g){var h=b?a.g:a.j,l;var m=0;for(l=h.length;m<l;++m){var n=h[m];if(n=n.add(c,d,e,f,g))return n;n||m!==l-1||(b?(n=Math.min(2*a.c,a.l),a.c=n):(n=Math.min(2*a.a,a.l),a.a=n),n=new $m(n,a.b),h.push(n),++l)}return null};function fn(a,b){Wl.call(this,a,b);this.c=[];this.Ha=[];this.Na=Sc(0,0).canvas;this.B={strokeColor:null,lineCap:void 0,lineDash:null,lineDashOffset:void 0,lineJoin:void 0,lineWidth:0,miterLimit:void 0,fillColor:null,font:void 0,scale:void 0};this.Ka="";this.ma=this.ha=this.Ma=this.zb=void 0;this.oa={};this.o=void 0;this.opacity=this.scale=1}w(fn,Wl);k=fn.prototype;
k.Nc=function(a,b){if(this.Ka){var c=null,d=2,e=2;switch(a.U()){case "Point":case "MultiPoint":c=a.na();d=c.length;e=a.Ea();break;case "Circle":c=a.Da();break;case "LineString":c=a.Pf();break;case "MultiLineString":c=a.Qf();d=c.length;break;case "Polygon":c=a.Re();break;case "MultiPolygon":c=fj(a),d=c.length}this.l.push(this.b.length);this.g.push(b);a=this.o;b=this.Ka.split("\n");var f=gn(this,b),g,h,l=Math.round(f[0]*this.zb-this.ha),m=Math.round(f[1]*this.Ma-this.ma),n=this.B.lineWidth/2*this.B.scale;
f=0;for(g=b.length;f<g;++f){var p=0;var q=a.height*f;var r=b[f].split("");var u=0;for(h=r.length;u<h;++u){var v=a.Si;var y=r[u],z=cn(v.j,y);z?(v=cn(v.g,y),v=dn(z,v)):v=null;if(v){z=v.image;this.L=l-p;this.ja=m-q;this.aa=0===u?v.offsetX-n:v.offsetX;this.$=v.offsetY;this.height=a.height;this.width=0===u||u===r.length-1?a.width[r[u]]+n:a.width[r[u]];this.R=z.height;this.O=z.width;0===this.c.length?this.c.push(z):(v=this.c[this.c.length-1],x(v)!=x(z)&&(this.H.push(this.b.length),this.c.push(z)));v=c;
y=d;var E=e;for(z=0;z<y;z+=E)Xl(this,v,y,E)}p+=this.width}}}};function gn(a,b){var c=a.o,d=b.length*c.height;return[b.map(function(b){var d=0,e;var h=0;for(e=b.length;h<e;++h){var l=b[h];c.width[l]||hn(a,l);d+=c.width[l]?c.width[l]:0}return d}).reduce(function(a,b){return Math.max(a,b)}),d]}
function hn(a,b){if(1===b.length){var c=a.o,d=a.B;a=a.Na.getContext("2d");a.font=d.font;a=Math.ceil(a.measureText(b).width*d.scale);c.Si.add(b,a,c.height,function(a,c,g){a.font=d.font;a.fillStyle=d.fillColor;a.strokeStyle=d.strokeColor;a.lineWidth=d.lineWidth;a.lineCap=d.lineCap;a.lineJoin=d.lineJoin;a.miterLimit=d.miterLimit;a.textAlign="left";a.textBaseline="top";dd&&d.lineDash&&(a.setLineDash(d.lineDash),a.lineDashOffset=d.lineDashOffset);1!==d.scale&&a.setTransform(d.scale,0,0,d.scale,0,0);d.strokeColor&&
a.strokeText(b,c,g);d.fillColor&&a.fillText(b,c,g)})&&(c.width[b]=a)}}k.Gb=function(a){var b=a.b;this.H.push(this.b.length);this.C=this.H;this.u=new Al(this.a);this.s=new Al(this.b);Yl(this.Ha,this.c,{},b);this.B={strokeColor:null,lineCap:void 0,lineDash:null,lineDashOffset:void 0,lineJoin:void 0,lineWidth:0,miterLimit:void 0,fillColor:null,font:void 0,scale:void 0};this.Ka="";this.ma=this.ha=this.Ma=this.zb=void 0;this.c=null;this.oa={};this.o=void 0;Wl.prototype.Gb.call(this,a)};
k.Nb=function(a){var b=this.B,c=a.Ya(),d=a.ab();if(a&&a.Pa()&&(c||d)){c?(c=c.b,b.fillColor=Rc(c?c:vl)):b.fillColor=null;d?(c=d.a,b.strokeColor=Rc(c?c:xl),b.lineWidth=d.c||1,b.lineCap=d.j||"round",b.lineDashOffset=d.g||0,b.lineJoin=d.s||"round",b.miterLimit=d.o||10,d=d.l,b.lineDash=d?d.slice():wl):(b.strokeColor=null,b.lineWidth=0);b.font=a.b||"10px sans-serif";b.scale=a.a||1;this.Ka=a.Pa();d=Sj[a.j];c=Sj[a.s];this.zb=void 0===d?.5:d;this.Ma=void 0===c?.5:c;this.ha=a.l||0;this.ma=a.c||0;this.rotateWithView=
!!a.o;this.rotation=a.g||0;a=[];for(var e in b)if(b[e]||0===b[e])Array.isArray(b[e])?a=a.concat(b[e]):a.push(b[e]);c="";e=0;for(d=a.length;e<d;++e)c+=a[e];e=c;this.oa[e]||(a=this.Na.getContext("2d"),a.font=b.font,a=Math.ceil((1.5*a.measureText("M").width+b.lineWidth/2)*b.scale),this.oa[e]={Si:new bn({space:b.lineWidth+1}),width:{},height:a});this.o=this.oa[e]}else this.Ka=""};k.wh=function(){return this.Ha};k.oh=function(){return this.Ha};function jn(a,b,c){this.c=b;this.g=a;this.l=c;this.a={}}w(jn,Pj);k=jn.prototype;k.Kc=function(){};function kn(a,b){var c=[],d;for(d in a.a){var e=a.a[d],f;for(f in e)c.push(e[f].jc(b))}return function(){for(var a=c.length,b,d=0;d<a;d++)b=c[d].apply(this,arguments);return b}}function ln(a,b){for(var c in a.a){var d=a.a[c],e;for(e in d)d[e].Gb(b)}}k.fb=function(a,b){var c=void 0!==a?a.toString():"0";a=this.a[c];void 0===a&&(a={},this.a[c]=a);c=a[b];void 0===c&&(c=new mn[b](this.g,this.c),a[b]=c);return c};
k.Jh=function(){return Cb(this.a)};k.kb=function(a,b,c,d,e,f,g,h){var l=Object.keys(this.a).map(Number);l.sort(me);var m,n;var p=0;for(m=l.length;p<m;++p){var q=this.a[l[p].toString()];var r=0;for(n=Rj.length;r<n;++r){var u=q[Rj[r]];void 0!==u&&u.kb(a,b,c,d,e,f,g,h,void 0,!1)}}};
function nn(a,b,c,d,e,f,g,h,l,m,n){var p=on,q=Object.keys(a.a).map(Number);q.sort(function(a,b){return b-a});var r,u;var v=0;for(r=q.length;v<r;++v){var y=a.a[q[v].toString()];for(u=Rj.length-1;0<=u;--u){var z=y[Rj[u]];if(void 0!==z&&(z=z.kb(b,c,d,e,p,f,g,h,l,m,n)))return z}}}
k.Oa=function(a,b,c,d,e,f,g,h,l,m){var n=b.b;n.bindFramebuffer(n.FRAMEBUFFER,Rl(b));var p;void 0!==this.l&&(p=Fa(Oa(a),d*this.l));return nn(this,b,a,d,e,g,h,l,function(a){var b=new Uint8Array(4);n.readPixels(0,0,1,1,n.RGBA,n.UNSIGNED_BYTE,b);if(0<b[3]&&(a=m(a)))return a},!0,p)};function pn(a,b,c,d,e,f,g,h){var l=c.b;l.bindFramebuffer(l.FRAMEBUFFER,Rl(c));return void 0!==nn(a,c,b,d,e,f,g,h,function(){var a=new Uint8Array(4);l.readPixels(0,0,1,1,l.RGBA,l.UNSIGNED_BYTE,a);return 0<a[3]},!1)}
var on=[1,1],mn={Circle:Cl,Image:Zl,LineString:dm,Polygon:Jm,Text:fn};function qn(a,b,c,d,e,f,g){this.b=a;this.l=b;this.c=f;this.g=g;this.o=e;this.s=d;this.j=c;this.a=this.u=this.H=this.C=null}w(qn,Xi);function rn(a,b,c){var d=a.b;b=b.fb(0,"Text");b.Nb(a.a);b.Nc(c,null);b.Gb(d);b.kb(a.b,a.l,a.j,a.s,a.o,a.g,1,{},void 0,!1);b.jc(d)()}k=qn.prototype;k.Ee=function(a){this.mb(a.Ya(),a.ab());this.Yc(a.fa());this.Nb(a.Pa())};
k.oc=function(a){switch(a.U()){case "Point":this.zd(a,null);break;case "LineString":this.yd(a,null);break;case "Polygon":this.Ad(a,null);break;case "MultiPoint":this.qd(a,null);break;case "MultiLineString":this.pd(a,null);break;case "MultiPolygon":this.rd(a,null);break;case "GeometryCollection":this.Jf(a);break;case "Circle":this.cd(a,null)}};k.If=function(a,b){(a=(0,b.Bb)(a))&&fb(this.c,a.G())&&(this.Ee(b),this.oc(a))};k.Jf=function(a){a=a.a;var b;var c=0;for(b=a.length;c<b;++c)this.oc(a[c])};
k.zd=function(a,b){var c=this.b,d=new jn(1,this.c),e=d.fb(0,"Image");e.Yc(this.C);e.zd(a,b);e.Gb(c);e.kb(this.b,this.l,this.j,this.s,this.o,this.g,1,{},void 0,!1);e.jc(c)();this.a&&rn(this,d,a)};k.qd=function(a,b){var c=this.b,d=new jn(1,this.c),e=d.fb(0,"Image");e.Yc(this.C);e.qd(a,b);e.Gb(c);e.kb(this.b,this.l,this.j,this.s,this.o,this.g,1,{},void 0,!1);e.jc(c)();this.a&&rn(this,d,a)};
k.yd=function(a,b){var c=this.b,d=new jn(1,this.c),e=d.fb(0,"LineString");e.mb(null,this.u);e.yd(a,b);e.Gb(c);e.kb(this.b,this.l,this.j,this.s,this.o,this.g,1,{},void 0,!1);e.jc(c)();this.a&&rn(this,d,a)};k.pd=function(a,b){var c=this.b,d=new jn(1,this.c),e=d.fb(0,"LineString");e.mb(null,this.u);e.pd(a,b);e.Gb(c);e.kb(this.b,this.l,this.j,this.s,this.o,this.g,1,{},void 0,!1);e.jc(c)();this.a&&rn(this,d,a)};
k.Ad=function(a,b){var c=this.b,d=new jn(1,this.c),e=d.fb(0,"Polygon");e.mb(this.H,this.u);e.Ad(a,b);e.Gb(c);e.kb(this.b,this.l,this.j,this.s,this.o,this.g,1,{},void 0,!1);e.jc(c)();this.a&&rn(this,d,a)};k.rd=function(a,b){var c=this.b,d=new jn(1,this.c),e=d.fb(0,"Polygon");e.mb(this.H,this.u);e.rd(a,b);e.Gb(c);e.kb(this.b,this.l,this.j,this.s,this.o,this.g,1,{},void 0,!1);e.jc(c)();this.a&&rn(this,d,a)};
k.cd=function(a,b){var c=this.b,d=new jn(1,this.c),e=d.fb(0,"Circle");e.mb(this.H,this.u);e.cd(a,b);e.Gb(c);e.kb(this.b,this.l,this.j,this.s,this.o,this.g,1,{},void 0,!1);e.jc(c)();this.a&&rn(this,d,a)};k.Yc=function(a){this.C=a};k.mb=function(a,b){this.H=a;this.u=b};k.Nb=function(a){this.a=a};var sn=new kl("precision mediump float;varying vec2 a;uniform float f;uniform sampler2D g;void main(void){vec4 texColor=texture2D(g,a);gl_FragColor.rgb=texColor.rgb;gl_FragColor.a=texColor.a*f;}"),tn=new ll("varying vec2 a;attribute vec2 b;attribute vec2 c;uniform mat4 d;uniform mat4 e;void main(void){gl_Position=e*vec4(b,0.,1.);a=(d*vec4(c,0.,1.)).st;}");function un(a,b){this.j=a.getUniformLocation(b,"d");this.c=a.getUniformLocation(b,"e");this.l=a.getUniformLocation(b,"f");this.g=a.getUniformLocation(b,"g");this.b=a.getAttribLocation(b,"b");this.a=a.getAttribLocation(b,"c")};function vn(a,b){gj.call(this,b);this.c=a;this.ea=new Al([-1,-1,0,0,1,-1,1,0,-1,1,0,1,1,1,1,1]);this.j=this.vc=null;this.s=void 0;this.H=yc();this.B=yc();this.R=ql();this.C=null}w(vn,gj);
function wn(a,b,c){var d=a.c.l;if(void 0===a.s||a.s!=c){b.postRenderFunctions.push(function(a,b,c){a.isContextLost()||(a.deleteFramebuffer(b),a.deleteTexture(c))}.bind(null,d,a.j,a.vc));b=Sl(d,c,c);var e=d.createFramebuffer();d.bindFramebuffer(36160,e);d.framebufferTexture2D(36160,36064,3553,b,0);a.vc=b;a.j=e;a.s=c}else d.bindFramebuffer(36160,a.j)}
vn.prototype.nk=function(a,b,c){xn(this,"precompose",c,a);tl(c,34962,this.ea);var d=c.b,e=El(c,sn,tn);if(this.C)var f=this.C;else this.C=f=new un(d,e);c.$d(e)&&(d.enableVertexAttribArray(f.b),d.vertexAttribPointer(f.b,2,5126,!1,16,0),d.enableVertexAttribArray(f.a),d.vertexAttribPointer(f.a,2,5126,!1,16,8),d.uniform1i(f.g,0));d.uniformMatrix4fv(f.j,!1,rl(this.R,this.H));d.uniformMatrix4fv(f.c,!1,rl(this.R,this.B));d.uniform1f(f.l,b.opacity);d.bindTexture(3553,this.vc);d.drawArrays(5,0,4);xn(this,"postcompose",
c,a)};function xn(a,b,c,d){a=a.a;if(mc(a,b)){var e=d.viewState;a.b(new Wi(b,new qn(c,e.center,e.resolution,e.rotation,d.size,d.extent,d.pixelRatio),d,null,c))}}vn.prototype.Lh=function(){this.j=this.vc=null;this.s=void 0};function yn(a,b){vn.call(this,a,b);this.o=this.g=this.V=null}w(yn,vn);yn.handles=function(a,b){return"webgl"===a&&"IMAGE"===b.U()};yn.create=function(a,b){return new yn(a,b)};function zn(a,b){b=b.fa();return Vl(a.c.l,b)}yn.prototype.Oa=function(a,b,c,d,e){var f=this.a;return f.Z().Oa(a,b.viewState.resolution,b.viewState.rotation,c,b.skippedFeatureUids,function(a){return d.call(e,a,f)})};
yn.prototype.Mh=function(a,b){var c=this.c.l,d=a.pixelRatio,e=a.viewState,f=e.center,g=e.resolution,h=e.rotation,l=this.V,m=this.vc,n=this.a.Z(),p=a.viewHints,q=a.extent;void 0!==b.extent&&(q=eb(q,b.extent));p[0]||p[1]||$a(q)||(b=n.fa(q,g,d,e.projection))&&jj(this,b)&&(l=b,m=zn(this,b),this.vc&&a.postRenderFunctions.push(function(a,b){a.isContextLost()||a.deleteTexture(b)}.bind(null,c,this.vc)));l&&(c=this.c.g.s,An(this,c.width,c.height,d,f,g,h,l.G()),this.o=null,d=this.H,zc(d),Fc(d,1,-1),Gc(d,0,
-1),this.V=l,this.vc=m,lj(a,n));return!!l};function An(a,b,c,d,e,f,g,h){b*=f;c*=f;a=a.B;zc(a);Fc(a,2*d/b,2*d/c);Ec(a,-g);Gc(a,h[0]-e[0],h[1]-e[1]);Fc(a,(h[2]-h[0])/2,(h[3]-h[1])/2);Gc(a,1,1)}yn.prototype.ng=function(a,b){return void 0!==this.Oa(a,b,0,tc,this)};
yn.prototype.Kh=function(a,b,c,d){if(this.V&&this.V.fa())if(this.a.Z().Oa!==da){var e=Dc(b.pixelToCoordinateTransform,a.slice());if(this.Oa(e,b,0,tc,this))return c.call(d,this.a,null)}else{e=[this.V.fa().width,this.V.fa().height];if(!this.o){var f=b.size;b=yc();Gc(b,-1,-1);Fc(b,2/f[0],2/f[1]);Gc(b,0,f[1]);Fc(b,1,-1);f=Jc(this.B.slice());var g=yc();Gc(g,0,e[1]);Fc(g,1,-1);Fc(g,e[0]/2,e[1]/2);Gc(g,1,1);Bc(g,f);Bc(g,b);this.o=g}a=Dc(this.o,a.slice());if(!(0>a[0]||a[0]>e[0]||0>a[1]||a[1]>e[1])&&(this.g||
(this.g=Sc(1,1)),this.g.clearRect(0,0,1,1),this.g.drawImage(this.V.fa(),a[0],a[1],1,1,0,0,1,1),e=this.g.getImageData(0,0,1,1).data,0<e[3]))return c.call(d,this.a,e)}};function Bn(a,b){xj.call(this,a,b);this.b=document.createElement("CANVAS");this.b.style.width="100%";this.b.style.height="100%";this.b.style.display="block";this.b.className="ol-unselectable";a.insertBefore(this.b,a.childNodes[0]||null);this.C=this.B=0;this.L=Sc();this.o=!0;this.l=Wc(this.b,{antialias:!0,depth:!0,failIfMajorPerformanceCaveat:!0,preserveDrawingBuffer:!1,stencil:!0});this.g=new Ql(this.b,this.l);A(this.b,"webglcontextlost",this.Tp,this);A(this.b,"webglcontextrestored",this.Up,this);
this.a=new pd;this.H=null;this.s=new Gf(function(a){var b=a[1];a=a[2];var c=b[0]-this.H[0];b=b[1]-this.H[1];return 65536*Math.log(a)+Math.sqrt(c*c+b*b)/a}.bind(this),function(a){return a[0].Mb()});this.oa=function(){if(0!==this.s.b.length){Kf(this.s);var a=Hf(this.s);Cn(this,a[0],a[3],a[4])}return!1}.bind(this);this.j=0;Dn(this)}w(Bn,xj);Bn.handles=function(a){return Xc&&"webgl"===a};Bn.create=function(a,b){return new Bn(a,b)};
function Cn(a,b,c,d){var e=a.l,f=b.Mb();if(a.a.a.hasOwnProperty(f))a=a.a.get(f),e.bindTexture(3553,a.vc),9729!=a.tj&&(e.texParameteri(3553,10240,9729),a.tj=9729),9729!=a.vj&&(e.texParameteri(3553,10241,9729),a.vj=9729);else{var g=e.createTexture();e.bindTexture(3553,g);if(0<d){var h=a.L.canvas,l=a.L;a.B!==c[0]||a.C!==c[1]?(h.width=c[0],h.height=c[1],a.B=c[0],a.C=c[1]):l.clearRect(0,0,c[0],c[1]);l.drawImage(b.fa(),d,d,c[0],c[1],0,0,c[0],c[1]);e.texImage2D(3553,0,6408,6408,5121,h)}else e.texImage2D(3553,
0,6408,6408,5121,b.fa());e.texParameteri(3553,10240,9729);e.texParameteri(3553,10241,9729);e.texParameteri(3553,10242,33071);e.texParameteri(3553,10243,33071);a.a.set(f,{vc:g,tj:9729,vj:9729})}}function En(a,b,c){var d=a.T();if(mc(d,b)){a=a.g;var e=c.viewState;d.b(new Wi(b,new qn(a,e.center,e.resolution,e.rotation,c.size,c.extent,c.pixelRatio),c,null,a))}}k=Bn.prototype;k.sa=function(){var a=this.l;a.isContextLost()||this.a.forEach(function(b){b&&a.deleteTexture(b.vc)});this.g.Ab();xj.prototype.sa.call(this)};
k.mm=function(a,b){a=this.l;for(var c;1024<this.a.g-this.j;){if(c=this.a.l.Fd)a.deleteTexture(c.vc);else if(+this.a.l.gd==b.index)break;else--this.j;this.a.pop()}};k.U=function(){return"webgl"};k.Tp=function(a){a.preventDefault();this.a.clear();this.j=0;a=this.c;for(var b in a)a[b].Lh()};k.Up=function(){Dn(this);this.T().render()};function Dn(a){a=a.l;a.activeTexture(33984);a.blendFuncSeparate(770,771,1,771);a.disable(2884);a.disable(2929);a.disable(3089);a.disable(2960)}
k.oi=function(a){var b=this.g,c=this.l;if(c.isContextLost())return!1;if(!a)return this.o&&(this.b.style.display="none",this.o=!1),!1;this.H=a.focus;this.a.set((-a.index).toString(),null);++this.j;En(this,"precompose",a);var d=[],e=a.layerStatesArray;te(e);var f=a.viewState.resolution,g;var h=0;for(g=e.length;h<g;++h){var l=e[h];if(rh(l,f)&&"ready"==l.jl){var m=Fj(this,l.layer);m.Mh(a,l,b)&&d.push(l)}}e=a.size[0]*a.pixelRatio;f=a.size[1]*a.pixelRatio;if(this.b.width!=e||this.b.height!=f)this.b.width=
e,this.b.height=f;c.bindFramebuffer(36160,null);c.clearColor(0,0,0,0);c.clear(16384);c.enable(3042);c.viewport(0,0,this.b.width,this.b.height);h=0;for(g=d.length;h<g;++h)l=d[h],m=Fj(this,l.layer),m.nk(a,l,b);this.o||(this.b.style.display="",this.o=!0);yj(a);1024<this.a.g-this.j&&a.postRenderFunctions.push(this.mm.bind(this));0!==this.s.b.length&&(a.postRenderFunctions.push(this.oa),a.animate=!0);En(this,"postcompose",a);Gj(this,a);a.postRenderFunctions.push(zj)};
k.Oa=function(a,b,c,d,e,f,g){if(this.l.isContextLost())return!1;var h=b.viewState,l=b.layerStatesArray,m;for(m=l.length-1;0<=m;--m){var n=l[m];var p=n.layer;if(rh(n,h.resolution)&&f.call(g,p)&&(n=Fj(this,p).Oa(a,b,c,d,e)))return n}};k.ik=function(a,b,c,d,e){c=!1;if(this.l.isContextLost())return!1;var f=b.viewState,g=b.layerStatesArray,h;for(h=g.length-1;0<=h;--h){var l=g[h],m=l.layer;if(rh(l,f.resolution)&&d.call(e,m)&&(c=Fj(this,m).ng(a,b)))return!0}return c};
k.hk=function(a,b,c,d,e){if(this.l.isContextLost())return!1;var f=b.viewState,g=b.layerStatesArray,h;for(h=g.length-1;0<=h;--h){var l=g[h];var m=l.layer;if(rh(l,f.resolution)&&e.call(d,m)&&(l=Fj(this,m).Kh(a,b,c,d)))return l}};var Fn=new kl("precision mediump float;varying vec2 a;uniform sampler2D e;void main(void){gl_FragColor=texture2D(e,a);}"),Gn=new ll("varying vec2 a;attribute vec2 b;attribute vec2 c;uniform vec4 d;void main(void){gl_Position=vec4(b*d.xy+d.zw,0.,1.);a=c;}");function Hn(a,b){this.c=a.getUniformLocation(b,"d");this.l=a.getUniformLocation(b,"e");this.b=a.getAttribLocation(b,"b");this.a=a.getAttribLocation(b,"c")};function In(a,b){vn.call(this,a,b);this.aa=Fn;this.ma=Gn;this.g=null;this.O=new Al([0,0,0,1,1,0,1,1,0,1,0,0,1,1,1,0]);this.L=this.o=null;this.u=-1;this.$=[0,0]}w(In,vn);In.handles=function(a,b){return"webgl"===a&&"TILE"===b.U()};In.create=function(a,b){return new In(a,b)};k=In.prototype;k.sa=function(){Dl(this.c.g,this.O);vn.prototype.sa.call(this)};
k.Yg=function(a,b,c){var d=this.c;return function(e,f){return hj(a,b,e,f,function(a){var b=d.a.a.hasOwnProperty(a.Mb());b&&(c[e]||(c[e]={}),c[e][a.Wa.toString()]=a);return b})}};k.Lh=function(){vn.prototype.Lh.call(this);this.g=null};
k.Mh=function(a,b,c){var d=this.c,e=c.b,f=a.viewState,g=f.projection,h=this.a,l=h.Z(),m=l.Db(g),n=m.wd(f.resolution),p=m.la(n),q=l.We(n,a.pixelRatio,g),r=q[0]/le(m.wb(n),this.$)[0],u=p/r,v=l.Pd(r)*l.mh(g),y=f.center,z=a.extent,E=Ce(m,z,n);if(this.o&&ie(this.o,E)&&this.u==l.l)u=this.L;else{var M=E.La(),Xa=na(Math.max(M[0]*q[0],M[1]*q[1]));M=u*Xa;var ra=m.Bd(n),wa=ra[0]+E.qa*q[0]*u;u=ra[1]+E.pa*q[1]*u;u=[wa,u,wa+M,u+M];wn(this,a,Xa);e.viewport(0,0,Xa,Xa);e.clearColor(0,0,0,0);e.clear(16384);e.disable(3042);
Xa=El(c,this.aa,this.ma);c.$d(Xa);this.g||(this.g=new Hn(e,Xa));tl(c,34962,this.O);e.enableVertexAttribArray(this.g.b);e.vertexAttribPointer(this.g.b,2,5126,!1,16,0);e.enableVertexAttribArray(this.g.a);e.vertexAttribPointer(this.g.a,2,5126,!1,16,8);e.uniform1i(this.g.l,0);c={};c[n]={};var ka=this.Yg(l,g,c),ma=h.g();Xa=!0;wa=Da();var Aa=new fe(0,0,0,0),lb,Hc;for(lb=E.qa;lb<=E.za;++lb)for(Hc=E.pa;Hc<=E.ya;++Hc){ra=l.Wd(n,lb,Hc,r,g);if(void 0!==b.extent){var nb=m.ib(ra.Wa,wa);if(!fb(nb,b.extent))continue}nb=
ra.getState();(nb=2==nb||4==nb||3==nb&&!ma)||(ra=Mj(ra));nb=ra.getState();if(2==nb){if(d.a.a.hasOwnProperty(ra.Mb())){c[n][ra.Wa.toString()]=ra;continue}}else if(4==nb||3==nb&&!ma)continue;Xa=!1;nb=De(m,ra.Wa,ka,Aa,wa);nb||(ra=Ee(m,ra.Wa,Aa,wa))&&ka(n+1,ra)}b=Object.keys(c).map(Number);b.sort(me);ka=new Float32Array(4);var ha;ma=0;for(Aa=b.length;ma<Aa;++ma)for(ha in lb=c[b[ma]],lb)ra=lb[ha],nb=m.ib(ra.Wa,wa),ka[0]=2*(nb[2]-nb[0])/M,ka[1]=2*(nb[3]-nb[1])/M,ka[2]=2*(nb[0]-u[0])/M-1,ka[3]=2*(nb[1]-
u[1])/M-1,e.uniform4fv(this.g.c,ka),Cn(d,ra,q,v*r),e.drawArrays(5,0,4);Xa?(this.o=E,this.L=u,this.u=l.l):(this.L=this.o=null,this.u=-1,a.animate=!0)}mj(a.usedTiles,l,n,E);var ic=d.s;nj(a,l,m,r,g,z,n,h.c(),function(a){2!=a.getState()||d.a.a.hasOwnProperty(a.Mb())||a.Mb()in ic.a||ic.g([a,He(m,a.Wa),m.la(a.Wa[0]),q,v*r])},this);kj(a,l);lj(a,l);e=this.H;zc(e);Gc(e,(Math.round(y[0]/p)*p-u[0])/(u[2]-u[0]),(Math.round(y[1]/p)*p-u[1])/(u[3]-u[1]));0!==f.rotation&&Ec(e,f.rotation);Fc(e,a.size[0]*f.resolution/
(u[2]-u[0]),a.size[1]*f.resolution/(u[3]-u[1]));Gc(e,-.5,-.5);return!0};k.Kh=function(a,b,c,d){if(this.j){a=Dc(this.H,[a[0]/b.size[0],(b.size[1]-a[1])/b.size[1]].slice());a=[a[0]*this.s,a[1]*this.s];b=this.c.g.b;b.bindFramebuffer(b.FRAMEBUFFER,this.j);var e=new Uint8Array(4);b.readPixels(a[0],a[1],1,1,b.RGBA,b.UNSIGNED_BYTE,e);if(0<e[3])return c.call(d,this.a,e)}};function Jn(a,b){vn.call(this,a,b);this.u=!1;this.$=-1;this.aa=NaN;this.L=Da();this.o=this.g=this.O=null}w(Jn,vn);Jn.handles=function(a,b){return"webgl"===a&&"VECTOR"===b.U()};Jn.create=function(a,b){return new Jn(a,b)};k=Jn.prototype;k.nk=function(a,b,c){this.o=b;var d=a.viewState,e=this.g,f=a.size,g=a.pixelRatio,h=this.c.l;e&&!e.Jh()&&(h.enable(h.SCISSOR_TEST),h.scissor(0,0,f[0]*g,f[1]*g),e.kb(c,d.center,d.resolution,d.rotation,f,g,b.opacity,b.fg?a.skippedFeatureUids:{}),h.disable(h.SCISSOR_TEST))};
k.sa=function(){var a=this.g;a&&(kn(a,this.c.g)(),this.g=null);vn.prototype.sa.call(this)};k.Oa=function(a,b,c,d,e){if(this.g&&this.o){c=b.viewState;var f=this.a,g={};return this.g.Oa(a,this.c.g,c.center,c.resolution,c.rotation,b.size,b.pixelRatio,this.o.opacity,{},function(a){var b=x(a).toString();if(!(b in g))return g[b]=!0,d.call(e,a,f)})}};k.ng=function(a,b){if(this.g&&this.o){var c=b.viewState;return pn(this.g,a,this.c.g,c.resolution,c.rotation,b.pixelRatio,this.o.opacity,b.skippedFeatureUids)}return!1};
k.Kh=function(a,b,c,d){a=Dc(b.pixelToCoordinateTransform,a.slice());if(this.ng(a,b))return c.call(d,this.a,null)};k.pk=function(){ij(this)};
k.Mh=function(a,b,c){function d(a){var b=a.gb();if(b)var c=b.call(a,m);else(b=e.gb())&&(c=b(a,m));if(c){if(c){b=!1;if(Array.isArray(c))for(var d=c.length-1;0<=d;--d)b=Bk(q,a,c[d],Ak(m,n),this.pk,this)||b;else b=Bk(q,a,c,Ak(m,n),this.pk,this)||b;a=b}else a=!1;this.u=this.u||a}}var e=this.a;b=e.Z();lj(a,b);var f=a.viewHints[0],g=a.viewHints[1],h=e.Ha,l=e.Na;if(!this.u&&!h&&f||!l&&g)return!0;g=a.extent;h=a.viewState;f=h.projection;var m=h.resolution,n=a.pixelRatio;h=e.l;var p=e.u;l=e.get(Fk);void 0===
l&&(l=zk);g=Fa(g,p*m);if(!this.u&&this.aa==m&&this.$==h&&this.O==l&&Ka(this.L,g))return!0;this.g&&a.postRenderFunctions.push(kn(this.g,c));this.u=!1;var q=new jn(.5*m/n,g,e.u);b.Ze(g,m,f);if(l){var r=[];b.Pc(g,function(a){r.push(a)},this);r.sort(l);r.forEach(d,this)}else b.Pc(g,d,this);ln(q,c);this.aa=m;this.$=h;this.O=l;this.L=g;this.g=q;return!0};kh("MAP_RENDERER",Hj);lh([tj,Jj,Ek,Gk]);kh("MAP_RENDERER",Bn);lh([yn,In,Jn]);function L(a){a=zb({},a);a.controls||(a.controls=Gh());a.interactions||(a.interactions=Ti());H.call(this,a)}w(L,H);function Kn(a){oc.call(this);this.id=a.id;this.insertFirst=void 0!==a.insertFirst?a.insertFirst:!0;this.stopEvent=void 0!==a.stopEvent?a.stopEvent:!0;this.element=document.createElement("DIV");this.element.className=void 0!==a.className?a.className:"ol-overlay-container ol-selectable";this.element.style.position="absolute";this.autoPan=void 0!==a.autoPan?a.autoPan:!1;this.autoPanAnimation=a.autoPanAnimation||{};this.autoPanMargin=void 0!==a.autoPanMargin?a.autoPanMargin:20;this.a={Cf:"",eg:"",Hg:"",
Og:"",visible:!0};this.c=null;A(this,qc(Ln),this.Bn,this);A(this,qc(Mn),this.Ln,this);A(this,qc(Nn),this.Pn,this);A(this,qc(On),this.Rn,this);A(this,qc(Pn),this.Sn,this);void 0!==a.element&&this.Ig(a.element);this.Jg(void 0!==a.offset?a.offset:[0,0]);this.vi(void 0!==a.positioning?a.positioning:"top-left");void 0!==a.position&&this.Rd(a.position)}w(Kn,oc);k=Kn.prototype;k.Qd=function(){return this.get(Ln)};k.Ta=function(){return this.id};k.T=function(){return this.get(Mn)};k.sh=function(){return this.get(Nn)};
k.vd=function(){return this.get(On)};k.uh=function(){return this.get(Pn)};k.Bn=function(){for(var a=this.element;a.lastChild;)a.removeChild(a.lastChild);(a=this.Qd())&&this.element.appendChild(a)};k.Ln=function(){this.c&&(Uc(this.element),$b(this.c),this.c=null);var a=this.T();a&&(this.c=A(a,"postrender",this.render,this),Qn(this),a=this.stopEvent?a.aa:a.$,this.insertFirst?a.insertBefore(this.element,a.childNodes[0]||null):a.appendChild(this.element))};k.render=function(){Qn(this)};k.Pn=function(){Qn(this)};
k.Rn=function(){Qn(this);if(this.get(On)&&this.autoPan){var a=this.T();if(a&&a.Uc()){var b=Rn(a.Uc(),a.La()),c=this.Qd(),d=c.offsetWidth,e=getComputedStyle(c);d+=parseInt(e.marginLeft,10)+parseInt(e.marginRight,10);e=c.offsetHeight;var f=getComputedStyle(c);e+=parseInt(f.marginTop,10)+parseInt(f.marginBottom,10);var g=Rn(c,[d,e]);c=this.autoPanMargin;Ka(b,g)||(d=g[0]-b[0],e=b[2]-g[2],f=g[1]-b[1],g=b[3]-g[3],b=[0,0],0>d?b[0]=d-c:0>e&&(b[0]=Math.abs(e)+c),0>f?b[1]=f-c:0>g&&(b[1]=Math.abs(g)+c),0===
b[0]&&0===b[1])||(c=a.ba().Da(),c=a.cb(c),b=[c[0]+b[0],c[1]+b[1]],a.ba().animate({center:a.hb(b),duration:this.autoPanAnimation.duration,easing:this.autoPanAnimation.easing}))}}};k.Sn=function(){Qn(this)};k.Ig=function(a){this.set(Ln,a)};k.setMap=function(a){this.set(Mn,a)};k.Jg=function(a){this.set(Nn,a)};k.Rd=function(a){this.set(On,a)};function Rn(a,b){var c=a.getBoundingClientRect();a=c.left+window.pageXOffset;c=c.top+window.pageYOffset;return[a,c,a+b[0],c+b[1]]}k.vi=function(a){this.set(Pn,a)};
function Sn(a,b){a.a.visible!==b&&(a.element.style.display=b?"":"none",a.a.visible=b)}
function Qn(a){var b=a.T(),c=a.vd();if(b&&b.a&&c){c=b.cb(c);var d=b.La();b=a.element.style;var e=a.sh(),f=a.uh();Sn(a,!0);var g=e[0];e=e[1];if("bottom-right"==f||"center-right"==f||"top-right"==f)""!==a.a.eg&&(a.a.eg=b.left=""),g=Math.round(d[0]-c[0]-g)+"px",a.a.Hg!=g&&(a.a.Hg=b.right=g);else{""!==a.a.Hg&&(a.a.Hg=b.right="");if("bottom-center"==f||"center-center"==f||"top-center"==f)g-=a.element.offsetWidth/2;g=Math.round(c[0]+g)+"px";a.a.eg!=g&&(a.a.eg=b.left=g)}if("bottom-left"==f||"bottom-center"==
f||"bottom-right"==f)""!==a.a.Og&&(a.a.Og=b.top=""),c=Math.round(d[1]-c[1]-e)+"px",a.a.Cf!=c&&(a.a.Cf=b.bottom=c);else{""!==a.a.Cf&&(a.a.Cf=b.bottom="");if("center-left"==f||"center-center"==f||"center-right"==f)e-=a.element.offsetHeight/2;c=Math.round(c[1]+e)+"px";a.a.Og!=c&&(a.a.Og=b.top=c)}}else Sn(a,!1)}var Ln="element",Mn="map",Nn="offset",On="position",Pn="positioning";function Tn(a,b,c,d,e,f){el.call(this,a,b,f);this.a=0;this.o=null;this.H=d;this.c=null;this.j={};this.R=e;this.B=c}w(Tn,el);k=Tn.prototype;k.sa=function(){this.c=null;this.j={};this.state=5;this.A();el.prototype.sa.call(this)};k.G=function(){return this.o||Un};k.So=function(){return this.H};k.Pb=function(){return this.c};k.Mb=function(){return this.B};k.To=function(){return this.C};function Lk(a,b,c){return a.j[x(b)+","+c]}
k.load=function(){0==this.state&&(Lj(this,1),this.R(this,this.B),this.L(null,NaN,null))};k.Oq=function(a,b,c){this.Gh(b);this.Zk(a);this.Bj(c)};k.Nq=function(){Lj(this,3)};k.Bj=function(a){this.o=a};k.Zk=function(a){this.c=a;Lj(this,2)};k.Gh=function(a){this.C=a};k.Fh=function(a){this.L=a};var Un=[0,0,4096,4096];function Vn(a){a=a?a:{};this.c=void 0!==a.className?a.className:"ol-full-screen";var b=void 0!==a.label?a.label:"\u2922";this.s="string"===typeof b?document.createTextNode(b):b;b=void 0!==a.labelActive?a.labelActive:"\u00d7";this.o="string"===typeof b?document.createTextNode(b):b;var c=a.tipLabel?a.tipLabel:"Toggle full-screen";b=document.createElement("button");b.className=this.c+"-"+Wn();b.setAttribute("type","button");b.title=c;b.appendChild(this.s);A(b,"click",this.B,this);c=document.createElement("div");
c.className=this.c+" ol-unselectable ol-control "+(Xn()?"":"ol-unsupported");c.appendChild(b);ph.call(this,{element:c,target:a.target});this.C=void 0!==a.keys?a.keys:!1;this.g=a.source}w(Vn,ph);
Vn.prototype.B=function(a){a.preventDefault();Xn()&&(a=this.T())&&(Wn()?document.exitFullscreen?document.exitFullscreen():document.msExitFullscreen?document.msExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen():(a=this.g?"string"===typeof this.g?document.getElementById(this.g):this.g:a.Uc(),this.C?a.mozRequestFullScreenWithKeys?a.mozRequestFullScreenWithKeys():a.webkitRequestFullscreen?a.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT):
Yn(a):Yn(a)))};Vn.prototype.u=function(){var a=this.element.firstElementChild,b=this.T();Wn()?(a.className=this.c+"-true",Tc(this.o,this.s)):(a.className=this.c+"-false",Tc(this.s,this.o));b&&b.kd()};Vn.prototype.setMap=function(a){ph.prototype.setMap.call(this,a);a&&this.j.push(A(document,Zn(),this.u,this))};
function Xn(){var a=document.body;return!!(a.webkitRequestFullscreen||a.mozRequestFullScreen&&document.mozFullScreenEnabled||a.msRequestFullscreen&&document.msFullscreenEnabled||a.requestFullscreen&&document.fullscreenEnabled)}function Wn(){return!!(document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||document.fullscreenElement)}
function Yn(a){a.requestFullscreen?a.requestFullscreen():a.msRequestFullscreen?a.msRequestFullscreen():a.mozRequestFullScreen?a.mozRequestFullScreen():a.webkitRequestFullscreen&&a.webkitRequestFullscreen()}var Zn=function(){var a;return function(){if(!a){var b=document.body;b.webkitRequestFullscreen?a="webkitfullscreenchange":b.mozRequestFullScreen?a="mozfullscreenchange":b.msRequestFullscreen?a="MSFullscreenChange":b.requestFullscreen&&(a="fullscreenchange")}return a}}();function $n(a){a=a?a:{};var b=document.createElement("DIV");b.className=void 0!==a.className?a.className:"ol-mouse-position";ph.call(this,{element:b,render:a.render?a.render:ao,target:a.target});A(this,qc(bo),this.ap,this);a.coordinateFormat&&this.Xk(a.coordinateFormat);a.projection&&this.Hj(a.projection);this.u=void 0!==a.undefinedHTML?a.undefinedHTML:"";this.o=b.innerHTML;this.s=this.g=this.c=null}w($n,ph);
function ao(a){a=a.frameState;a?this.c!=a.viewState.projection&&(this.c=a.viewState.projection,this.g=null):this.c=null;co(this,this.s)}k=$n.prototype;k.ap=function(){this.g=null};k.ej=function(){return this.get(eo)};k.Gj=function(){return this.get(bo)};k.Nn=function(a){this.s=this.T().Md(a);co(this,this.s)};k.On=function(){co(this,null);this.s=null};k.setMap=function(a){ph.prototype.setMap.call(this,a);a&&(a=a.Ca,this.j.push(A(a,"mousemove",this.Nn,this),A(a,"mouseout",this.On,this)))};
k.Xk=function(a){this.set(eo,a)};k.Hj=function(a){this.set(bo,Ib(a))};function co(a,b){var c=a.u;if(b&&a.c){if(!a.g){var d=a.Gj();a.g=d?Jb(a.c,d):Wb}if(b=a.T().hb(b))a.g(b,b),c=(c=a.ej())?c(b):b.toString()}a.o&&c==a.o||(a.element.innerHTML=c,a.o=c)}var bo="projection",eo="coordinateFormat";function fo(a){function b(a){a=h.se(a);l.T().ba().ub(a);window.removeEventListener("mousemove",c);window.removeEventListener("mouseup",b)}function c(a){a=h.se({clientX:a.clientX-n.offsetWidth/2,clientY:a.clientY+n.offsetHeight/2});m.Rd(a)}a=a?a:{};this.g=void 0!==a.collapsed?a.collapsed:!0;this.s=void 0!==a.collapsible?a.collapsible:!0;this.s||(this.g=!1);var d=void 0!==a.className?a.className:"ol-overviewmap",e=void 0!==a.tipLabel?a.tipLabel:"Overview map",f=void 0!==a.collapseLabel?a.collapseLabel:
"\u00ab";"string"===typeof f?(this.u=document.createElement("span"),this.u.textContent=f):this.u=f;f=void 0!==a.label?a.label:"\u00bb";"string"===typeof f?(this.C=document.createElement("span"),this.C.textContent=f):this.C=f;var g=this.s&&!this.g?this.u:this.C;f=document.createElement("button");f.setAttribute("type","button");f.title=e;f.appendChild(g);A(f,"click",this.ep,this);this.B=document.createElement("DIV");this.B.className="ol-overviewmap-map";var h=this.c=new H({controls:new Pe,interactions:new Pe,
view:a.view});a.layers&&a.layers.forEach(function(a){h.Ob(a)},this);e=document.createElement("DIV");e.className="ol-overviewmap-box";e.style.boxSizing="border-box";this.o=new Kn({position:[0,0],positioning:"bottom-left",element:e});this.c.ne(this.o);e=document.createElement("div");e.className=d+" ol-unselectable ol-control"+(this.g&&this.s?" ol-collapsed":"")+(this.s?"":" ol-uncollapsible");e.appendChild(this.B);e.appendChild(f);ph.call(this,{element:e,render:a.render?a.render:go,target:a.target});
var l=this,m=this.o,n=this.o.Qd();n.addEventListener("mousedown",function(){window.addEventListener("mousemove",c);window.addEventListener("mouseup",b)})}w(fo,ph);k=fo.prototype;k.setMap=function(a){var b=this.T();a!==b&&(b&&((b=b.ba())&&fc(b,qc("rotation"),this.bg,this),this.c.Sd(null)),ph.prototype.setMap.call(this,a),a&&(this.c.Sd(this.B),this.j.push(A(a,"propertychange",this.Mn,this)),0===this.c.Ae().Cb()&&this.c.gf(a.Sc()),a=a.ba()))&&(A(a,qc("rotation"),this.bg,this),Yg(a)&&(this.c.kd(),ho(this)))};
k.Mn=function(a){"view"===a.key&&((a=a.oldValue)&&fc(a,qc("rotation"),this.bg,this),a=this.T().ba(),A(a,qc("rotation"),this.bg,this))};k.bg=function(){this.c.ba().af(this.T().ba().ob())};function go(){var a=this.T(),b=this.c;if(a.a&&b.a){var c=a.La();a=a.ba().Id(c);var d=b.La();c=b.ba().Id(d);var e=b.cb(Ya(a)),f=b.cb(Va(a));b=Math.abs(e[0]-f[0]);e=Math.abs(e[1]-f[1]);f=d[0];d=d[1];b<.1*f||e<.1*d||b>.75*f||e>.75*d?ho(this):Ka(c,a)||(c=this.T(),a=this.c,c=c.ba(),a.ba().ub(c.Da()))}io(this)}
function ho(a){var b=a.T();a=a.c;var c=b.La();b=b.ba().Id(c);a=a.ba();gb(b,1/(.1*Math.pow(2,Math.log(7.5)/Math.LN2/2)));a.dh(b)}function io(a){var b=a.T(),c=a.c;if(b.a&&c.a){var d=b.La(),e=b.ba(),f=c.ba();c=e.ob();b=a.o;var g=a.o.Qd(),h=e.Id(d);d=f.la();e=Ua(h);f=Wa(h);if(a=a.T().ba().Da()){var l=[e[0]-a[0],e[1]-a[1]];cg(l,c);Xf(l,a)}b.Rd(l);g&&(g.style.width=Math.abs((e[0]-f[0])/d)+"px",g.style.height=Math.abs((f[1]-e[1])/d)+"px")}}k.ep=function(a){a.preventDefault();jo(this)};
function jo(a){a.element.classList.toggle("ol-collapsed");a.g?Tc(a.u,a.C):Tc(a.C,a.u);a.g=!a.g;var b=a.c;a.g||b.a||(b.kd(),ho(a),ec(b,"postrender",function(){io(this)},a))}k.cp=function(){return this.s};k.gp=function(a){this.s!==a&&(this.s=a,this.element.classList.toggle("ol-uncollapsible"),!a&&this.g&&jo(this))};k.fp=function(a){this.s&&this.g!==a&&jo(this)};k.bp=function(){return this.g};k.cn=function(){return this.c};function ko(a){a=a?a:{};var b=void 0!==a.className?a.className:"ol-scale-line";this.s=document.createElement("DIV");this.s.className=b+"-inner";this.c=document.createElement("DIV");this.c.className=b+" ol-unselectable";this.c.appendChild(this.s);this.u=null;this.o=void 0!==a.minWidth?a.minWidth:64;this.g=!1;this.B=void 0;this.C="";ph.call(this,{element:this.c,render:a.render?a.render:lo,target:a.target});A(this,qc(mo),this.$,this);this.aa(a.units||"metric")}w(ko,ph);var no=[1,2,5];
ko.prototype.R=function(){return this.get(mo)};function lo(a){(a=a.frameState)?this.u=a.viewState:this.u=null;oo(this)}ko.prototype.$=function(){oo(this)};ko.prototype.aa=function(a){this.set(mo,a)};
function oo(a){var b=a.u;if(b){var c=b.center,d=b.projection,e=a.R();b=Hb(d,b.resolution,c,"degrees"==e?"degrees":"m");"degrees"!=e&&(b*=d.fd());var f=a.o*b;c="";"degrees"==e?(c=ib.degrees,"degrees"==d.a?f*=c:b/=c,f<c/60?(c="\u2033",b*=3600):f<c?(c="\u2032",b*=60):c="\u00b0"):"imperial"==e?.9144>f?(c="in",b/=.0254):1609.344>f?(c="ft",b/=.3048):(c="mi",b/=1609.344):"nautical"==e?(b/=1852,c="nm"):"metric"==e?.001>f?(c="\u03bcm",b*=1E6):1>f?(c="mm",b*=1E3):1E3>f?c="m":(c="km",b/=1E3):"us"==e?.9144>f?
(c="in",b*=39.37):1609.344>f?(c="ft",b/=.30480061):(c="mi",b/=1609.3472):ia(!1,33);for(e=3*Math.floor(Math.log(a.o*b)/Math.log(10));;){f=no[(e%3+3)%3]*Math.pow(10,Math.floor(e/3));d=Math.round(f/b);if(isNaN(d)){a.c.style.display="none";a.g=!1;return}if(d>=a.o)break;++e}b=f+" "+c;a.C!=b&&(a.s.innerHTML=b,a.C=b);a.B!=d&&(a.s.style.width=d+"px",a.B=d);a.g||(a.c.style.display="",a.g=!0)}else a.g&&(a.c.style.display="none",a.g=!1)}var mo="units";function po(a){a=a?a:{};this.c=void 0;this.g=qo;this.C=this.o=0;this.aa=null;this.ea=!1;this.$=void 0!==a.duration?a.duration:200;var b=void 0!==a.className?a.className:"ol-zoomslider",c=document.createElement("button");c.setAttribute("type","button");c.className=b+"-thumb ol-unselectable";var d=document.createElement("div");d.className=b+" ol-unselectable ol-control";d.appendChild(c);this.s=new vf(d);A(this.s,"pointerdown",this.An,this);A(this.s,"pointermove",this.yn,this);A(this.s,"pointerup",this.zn,
this);A(d,"click",this.xn,this);A(c,"click",kc);ph.call(this,{element:d,render:a.render?a.render:ro})}w(po,ph);po.prototype.sa=function(){this.s.Ab();ph.prototype.sa.call(this)};var qo=0;k=po.prototype;k.setMap=function(a){ph.prototype.setMap.call(this,a);a&&a.render()};
function ro(a){if(a.frameState){if(!this.ea){var b=this.element,c=b.offsetWidth,d=b.offsetHeight,e=b.firstElementChild,f=getComputedStyle(e);b=e.offsetWidth+parseFloat(f.marginRight)+parseFloat(f.marginLeft);e=e.offsetHeight+parseFloat(f.marginTop)+parseFloat(f.marginBottom);this.aa=[b,e];c>d?(this.g=1,this.C=c-b):(this.g=qo,this.o=d-e);this.ea=!0}a=a.frameState.viewState.resolution;a!==this.c&&(this.c=a,so(this,a))}}
k.xn=function(a){var b=this.T().ba();a=to(this,ja(1===this.g?(a.offsetX-this.aa[0]/2)/this.C:(a.offsetY-this.aa[1]/2)/this.o,0,1));b.animate({resolution:b.constrainResolution(a),duration:this.$,easing:lg})};k.An=function(a){this.u||a.originalEvent.target!==this.element.firstElementChild||(Zg(this.T().ba(),1,1),this.B=a.clientX,this.R=a.clientY,this.u=!0)};
k.yn=function(a){if(this.u){var b=this.element.firstElementChild;this.c=to(this,ja(1===this.g?(a.clientX-this.B+parseInt(b.style.left,10))/this.C:(a.clientY-this.R+parseInt(b.style.top,10))/this.o,0,1));this.T().ba().fe(this.c);so(this,this.c);this.B=a.clientX;this.R=a.clientY}};k.zn=function(){if(this.u){var a=this.T().ba();Zg(a,1,-1);a.animate({resolution:a.constrainResolution(this.c),duration:this.$,easing:lg});this.u=!1;this.R=this.B=void 0}};
function so(a,b){b=1-dh(a.T().ba())(b);var c=a.element.firstElementChild;1==a.g?c.style.left=a.C*b+"px":c.style.top=a.o*b+"px"}function to(a,b){return ch(a.T().ba())(1-b)};function uo(a){a=a?a:{};this.extent=a.extent?a.extent:null;var b=void 0!==a.className?a.className:"ol-zoom-extent",c=void 0!==a.label?a.label:"E",d=void 0!==a.tipLabel?a.tipLabel:"Fit to extent",e=document.createElement("button");e.setAttribute("type","button");e.title=d;e.appendChild("string"===typeof c?document.createTextNode(c):c);A(e,"click",this.c,this);c=document.createElement("div");c.className=b+" ol-unselectable ol-control";c.appendChild(e);ph.call(this,{element:c,target:a.target})}
w(uo,ph);uo.prototype.c=function(a){a.preventDefault();a=this.T().ba();var b=this.extent?this.extent:a.u.G();a.dh(b)};var vo=document.implementation.createDocument("","",null);function wo(a,b){return vo.createElementNS(a,b)}function xo(a,b){return yo(a,b,[]).join("")}function yo(a,b,c){if(a.nodeType==Node.CDATA_SECTION_NODE||a.nodeType==Node.TEXT_NODE)b?c.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):c.push(a.nodeValue);else for(a=a.firstChild;a;a=a.nextSibling)yo(a,b,c);return c}function zo(a){return a instanceof Document}function Ao(a){return a instanceof Node}
function Bo(a){return(new DOMParser).parseFromString(a,"application/xml")}function Co(a,b){return function(c,d){c=a.call(b,c,d);void 0!==c&&qe(d[d.length-1],c)}}function Do(a,b){return function(c,d){c=a.call(void 0!==b?b:this,c,d);void 0!==c&&d[d.length-1].push(c)}}function Eo(a,b){return function(c,d){c=a.call(void 0!==b?b:this,c,d);void 0!==c&&(d[d.length-1]=c)}}
function Fo(a){return function(b,c){var d=a.call(this,b,c);if(void 0!==d){c=c[c.length-1];b=b.localName;var e;b in c?e=c[b]:e=c[b]=[];e.push(d)}}}function N(a,b){return function(c,d){var e=a.call(this,c,d);void 0!==e&&(d[d.length-1][void 0!==b?b:c.localName]=e)}}function O(a,b){return function(c,d,e){a.call(void 0!==b?b:this,c,d,e);e[e.length-1].node.appendChild(c)}}
function Go(a){var b,c;return function(d,e,f){if(void 0===b){b={};var g={};g[d.localName]=a;b[d.namespaceURI]=g;c=Ho(d.localName)}Io(b,c,e,f)}}function Ho(a,b){return function(c,d,e){c=d[d.length-1].node;d=a;void 0===d&&(d=e);e=b;void 0===b&&(e=c.namespaceURI);return wo(e,d)}}var Jo=Ho();function Ko(a,b){for(var c=b.length,d=Array(c),e=0;e<c;++e)d[e]=a[b[e]];return d}function P(a,b,c){c=void 0!==c?c:{};var d;var e=0;for(d=a.length;e<d;++e)c[a[e]]=b;return c}
function Lo(a,b,c,d){for(b=b.firstElementChild;b;b=b.nextElementSibling){var e=a[b.namespaceURI];void 0!==e&&(e=e[b.localName],void 0!==e&&e.call(d,b,c))}}function Q(a,b,c,d,e){d.push(a);Lo(b,c,d,e);return d.pop()}function Io(a,b,c,d,e,f){for(var g=(void 0!==e?e:c).length,h,l,m=0;m<g;++m)h=c[m],void 0!==h&&(l=b.call(f,h,d,void 0!==e?e[m]:void 0),void 0!==l&&a[l.namespaceURI][l.localName].call(f,l,h,d))}function Mo(a,b,c,d,e,f,g){e.push(a);Io(b,c,d,e,f,g);e.pop()};function No(a,b,c,d){return function(e,f,g){var h=new XMLHttpRequest;h.open("GET","function"===typeof a?a(e,f,g):a,!0);"arraybuffer"==b.U()&&(h.responseType="arraybuffer");h.onload=function(){if(!h.status||200<=h.status&&300>h.status){var a=b.U();if("json"==a||"text"==a)var e=h.responseText;else"xml"==a?(e=h.responseXML)||(e=Bo(h.responseText)):"arraybuffer"==a&&(e=h.response);e?c.call(this,b.$a(e,{featureProjection:g}),b.yb(e),b.ph()):d.call(this)}else d.call(this)}.bind(this);h.onerror=function(){d.call(this)}.bind(this);
h.send()}}function Oo(a,b){return No(a,b,function(a){this.Lc(a)},da)};function Po(){Sd.call(this)}w(Po,Sd);function Qo(a){return"string"===typeof a?(a=JSON.parse(a))?a:null:null!==a?a:null}k=Po.prototype;k.U=function(){return"json"};k.ac=function(a,b){return this.ae(Qo(a),Td(this,a,b))};k.$a=function(a,b){return this.ai(Qo(a),Td(this,a,b))};k.Xc=function(a,b){return this.ei(Qo(a),Td(this,a,b))};k.yb=function(a){return this.hi(Qo(a))};k.ld=function(a,b){return JSON.stringify(this.le(a,b))};k.ec=function(a,b){return JSON.stringify(this.uf(a,b))};
k.ad=function(a,b){return JSON.stringify(this.wf(a,b))};function R(a,b){Wd.call(this);this.c=[];this.s=this.B=-1;this.Ba(a,b)}w(R,Wd);k=R.prototype;k.Vl=function(a){this.D?qe(this.D,a.na().slice()):this.D=a.na().slice();this.c.push(this.D.length);this.A()};k.clone=function(){var a=new R(null);a.ka(this.xa,this.D.slice(),this.c.slice());return a};k.wc=function(a,b,c,d){if(d<Ha(this.G(),a,b))return d;this.s!=this.l&&(this.B=Math.sqrt(sg(this.D,0,this.c,this.a,0)),this.s=this.l);return ug(this.D,0,this.c,this.a,this.B,!1,a,b,c,d)};
k.sp=function(a,b,c){return"XYM"!=this.xa&&"XYZM"!=this.xa||0===this.D.length?null:Vk(this.D,this.c,this.a,a,void 0!==b?b:!1,void 0!==c?c:!1)};k.ca=function(){return wg(this.D,0,this.c,this.a)};k.Jb=function(){return this.c};k.Sm=function(a){if(0>a||this.c.length<=a)return null;var b=new J(null);b.ka(this.xa,this.D.slice(0===a?0:this.c[a-1],this.c[a]));return b};
k.ue=function(){var a=this.D,b=this.c,c=this.xa,d=[],e=0,f;var g=0;for(f=b.length;g<f;++g){var h=b[g],l=new J(null);l.ka(c,a.slice(e,h));d.push(l);e=h}return d};k.Qf=function(){var a=[],b=this.D,c=0,d=this.c,e=this.a,f;var g=0;for(f=d.length;g<f;++g){var h=d[g];c=Tk(b,c,h,e,.5);qe(a,c);c=h}return a};k.we=function(a){var b=[],c=[],d=this.D,e=this.c,f=this.a,g=0,h=0,l;var m=0;for(l=e.length;m<l;++m){var n=e[m];h=yg(d,g,n,f,a,b,h);c.push(h);g=n}b.length=h;a=new R(null);a.ka("XY",b,c);return a};k.U=function(){return"MultiLineString"};
k.xb=function(a){a:{var b=this.D,c=this.c,d=this.a,e=0,f;var g=0;for(f=c.length;g<f;++g){if(Mg(b,e,c[g],d,a)){a=!0;break a}e=c[g]}a=!1}return a};k.Ba=function(a,b){a?(Zd(this,b,a,2),this.D||(this.D=[]),a=be(this.D,0,a,this.a,this.c),this.D.length=0===a.length?0:a[a.length-1],this.A()):this.ka("XY",null,this.c)};k.ka=function(a,b,c){Yd(this,a,b);this.c=c;this.A()};
function Ro(a,b){var c=a.xa,d=[],e=[],f;var g=0;for(f=b.length;g<f;++g){var h=b[g];0===g&&(c=h.xa);qe(d,h.na());e.push(d.length)}a.ka(c,d,e)};function So(a,b){Wd.call(this);this.Ba(a,b)}w(So,Wd);k=So.prototype;k.Wl=function(a){this.D?qe(this.D,a.na()):this.D=a.na().slice();this.A()};k.clone=function(){var a=new So(null);a.ka(this.xa,this.D.slice());return a};k.wc=function(a,b,c,d){if(d<Ha(this.G(),a,b))return d;var e=this.D,f=this.a,g;var h=0;for(g=e.length;h<g;h+=f){var l=pa(a,b,e[h],e[h+1]);if(l<d){d=l;for(l=0;l<f;++l)c[l]=e[h+l];c.length=f}}return d};k.ca=function(){return vg(this.D,0,this.D.length,this.a)};
k.jn=function(a){var b=this.D?this.D.length/this.a:0;if(0>a||b<=a)return null;b=new D(null);b.ka(this.xa,this.D.slice(a*this.a,(a+1)*this.a));return b};k.bf=function(){var a=this.D,b=this.xa,c=this.a,d=[],e;var f=0;for(e=a.length;f<e;f+=c){var g=new D(null);g.ka(b,a.slice(f,f+c));d.push(g)}return d};k.U=function(){return"MultiPoint"};k.xb=function(a){var b=this.D,c=this.a,d;var e=0;for(d=b.length;e<d;e+=c){var f=b[e];var g=b[e+1];if(Ja(a,f,g))return!0}return!1};
k.Ba=function(a,b){a?(Zd(this,b,a,1),this.D||(this.D=[]),this.D.length=ae(this.D,0,a,this.a),this.A()):this.ka("XY",null)};k.ka=function(a,b){Yd(this,a,b);this.A()};function S(a,b){Wd.call(this);this.c=[];this.B=-1;this.L=null;this.aa=this.R=this.O=-1;this.s=null;this.Ba(a,b)}w(S,Wd);k=S.prototype;k.Xl=function(a){if(this.D){var b=this.D.length;qe(this.D,a.na());a=a.Jb().slice();var c;var d=0;for(c=a.length;d<c;++d)a[d]+=b}else this.D=a.na().slice(),a=a.Jb().slice(),this.c.push();this.c.push(a);this.A()};k.clone=function(){for(var a=new S(null),b=this.c.length,c=Array(b),d=0;d<b;++d)c[d]=this.c[d].slice();a.ka(this.xa,this.D.slice(),c);return a};
k.wc=function(a,b,c,d){if(d<Ha(this.G(),a,b))return d;if(this.R!=this.l){var e=this.c,f=0,g=0,h;var l=0;for(h=e.length;l<h;++l){var m=e[l];g=sg(this.D,f,m,this.a,g);f=m[m.length-1]}this.O=Math.sqrt(g);this.R=this.l}e=ej(this);f=this.c;g=this.a;l=this.O;h=0;m=[NaN,NaN];var n;var p=0;for(n=f.length;p<n;++p){var q=f[p];d=ug(e,h,q,g,l,!0,a,b,c,d,m);h=q[q.length-1]}return d};
k.Ud=function(a,b){a:{var c=ej(this),d=this.c,e=0;if(0!==d.length){var f;var g=0;for(f=d.length;g<f;++g){var h=d[g];if(Eg(c,e,h,this.a,a,b)){a=!0;break a}e=h[h.length-1]}}a=!1}return a};k.tp=function(){var a=ej(this),b=this.c,c=0,d=0,e;var f=0;for(e=b.length;f<e;++f){var g=b[f];d+=pg(a,c,g,this.a);c=g[g.length-1]}return d};k.ca=function(a){if(void 0!==a){var b=ej(this).slice();Rg(b,this.c,this.a,a)}else b=this.D;return xg(b,0,this.c,this.a)};k.re=function(){return this.c};
function fj(a){if(a.B!=a.l){var b=a.D,c=a.c,d=a.a,e=0,f=[],g;var h=0;for(g=c.length;h<g;++h){var l=c[h];e=Pa(b,e,l[0],d);f.push((e[0]+e[2])/2,(e[1]+e[3])/2);e=l[l.length-1]}b=ej(a);c=a.c;d=a.a;h=0;g=[];l=0;for(e=c.length;l<e;++l){var m=c[l];g=Fg(b,h,m,d,f,2*l,g);h=m[m.length-1]}a.L=g;a.B=a.l}return a.L}k.Nm=function(){var a=new So(null);a.ka("XYM",fj(this).slice());return a};
function ej(a){if(a.aa!=a.l){var b=a.D;a:{var c=a.c;var d;var e=0;for(d=c.length;e<d;++e)if(!Pg(b,c[e],a.a,void 0)){c=!1;break a}c=!0}c?a.s=b:(a.s=b.slice(),a.s.length=Rg(a.s,a.c,a.a));a.aa=a.l}return a.s}k.we=function(a){var b=[],c=[],d=this.D,e=this.c,f=this.a;a=Math.sqrt(a);var g=0,h=0,l;var m=0;for(l=e.length;m<l;++m){var n=e[m],p=[];h=zg(d,g,n,f,a,b,h,p);c.push(p);g=n[n.length-1]}b.length=h;d=new S(null);d.ka("XY",b,c);return d};
k.kn=function(a){if(0>a||this.c.length<=a)return null;if(0===a)var b=0;else b=this.c[a-1],b=b[b.length-1];a=this.c[a].slice();var c=a[a.length-1];if(0!==b){var d;var e=0;for(d=a.length;e<d;++e)a[e]-=b}e=new F(null);e.ka(this.xa,this.D.slice(b,c),a);return e};k.Se=function(){var a=this.xa,b=this.D,c=this.c,d=[],e=0,f,g;var h=0;for(f=c.length;h<f;++h){var l=c[h].slice(),m=l[l.length-1];if(0!==e){var n=0;for(g=l.length;n<g;++n)l[n]-=e}n=new F(null);n.ka(a,b.slice(e,m),l);d.push(n);e=m}return d};
k.U=function(){return"MultiPolygon"};k.xb=function(a){a:{var b=ej(this),c=this.c,d=this.a,e=0,f;var g=0;for(f=c.length;g<f;++g){var h=c[g];if(Ng(b,e,h,d,a)){a=!0;break a}e=h[h.length-1]}a=!1}return a};
k.Ba=function(a,b){if(a){Zd(this,b,a,3);this.D||(this.D=[]);b=this.D;var c=this.a,d=this.c,e=0;d=d?d:[];var f=0,g;var h=0;for(g=a.length;h<g;++h)e=be(b,e,a[h],c,d[f]),d[f++]=e,e=e[e.length-1];d.length=f;0===d.length?this.D.length=0:(a=d[d.length-1],this.D.length=0===a.length?0:a[a.length-1]);this.A()}else this.ka("XY",null,this.c)};k.ka=function(a,b,c){Yd(this,a,b);this.c=c;this.A()};
function To(a,b){var c=a.xa,d=[],e=[],f;var g=0;for(f=b.length;g<f;++g){var h=b[g];0===g&&(c=h.xa);var l=d.length;var m=h.Jb();var n;var p=0;for(n=m.length;p<n;++p)m[p]+=l;qe(d,h.na());e.push(m)}a.ka(c,d,e)};function Uo(a){a=a?a:{};Sd.call(this);this.b=a.geometryName}w(Uo,Po);
function Vo(a,b){if(!a)return null;if("number"===typeof a.x&&"number"===typeof a.y)var c="Point";else if(a.points)c="MultiPoint";else if(a.paths)c=1===a.paths.length?"LineString":"MultiLineString";else if(a.rings){var d=a.rings,e=Wo(a),f=[],g=[];c=[];var h;var l=0;for(h=d.length;l<h;++l)f.length=0,ae(f,0,d[l],e.length),Og(f,0,f.length,e.length)?g.push([d[l]]):c.push(d[l]);for(;c.length;){d=c.shift();e=!1;for(l=g.length-1;0<=l;l--)if(Ka((new Ag(g[l][0])).G(),(new Ag(d)).G())){g[l].push(d);e=!0;break}e||
g.push([d.reverse()])}a=zb({},a);1===g.length?(c="Polygon",a.rings=g[0]):(c="MultiPolygon",a.rings=g)}return Vd((0,Xo[c])(a),!1,b)}function Wo(a){var b="XY";!0===a.hasZ&&!0===a.hasM?b="XYZM":!0===a.hasZ?b="XYZ":!0===a.hasM&&(b="XYM");return b}function Yo(a){a=a.xa;return{hasZ:"XYZ"===a||"XYZM"===a,hasM:"XYM"===a||"XYZM"===a}}
var Xo={Point:function(a){return void 0!==a.m&&void 0!==a.z?new D([a.x,a.y,a.z,a.m],"XYZM"):void 0!==a.z?new D([a.x,a.y,a.z],"XYZ"):void 0!==a.m?new D([a.x,a.y,a.m],"XYM"):new D([a.x,a.y])},LineString:function(a){return new J(a.paths[0],Wo(a))},Polygon:function(a){return new F(a.rings,Wo(a))},MultiPoint:function(a){return new So(a.points,Wo(a))},MultiLineString:function(a){return new R(a.paths,Wo(a))},MultiPolygon:function(a){return new S(a.rings,Wo(a))}},Zo={Point:function(a){var b=a.ca(),c;a=a.xa;
"XYZ"===a?c={x:b[0],y:b[1],z:b[2]}:"XYM"===a?c={x:b[0],y:b[1],m:b[2]}:"XYZM"===a?c={x:b[0],y:b[1],z:b[2],m:b[3]}:"XY"===a?c={x:b[0],y:b[1]}:ia(!1,34);return c},LineString:function(a){var b=Yo(a);return{hasZ:b.hasZ,hasM:b.hasM,paths:[a.ca()]}},Polygon:function(a){var b=Yo(a);return{hasZ:b.hasZ,hasM:b.hasM,rings:a.ca(!1)}},MultiPoint:function(a){var b=Yo(a);return{hasZ:b.hasZ,hasM:b.hasM,points:a.ca()}},MultiLineString:function(a){var b=Yo(a);return{hasZ:b.hasZ,hasM:b.hasM,paths:a.ca()}},MultiPolygon:function(a){var b=
Yo(a);a=a.ca(!1);for(var c=[],d=0;d<a.length;d++)for(var e=a[d].length-1;0<=e;e--)c.push(a[d][e]);return{hasZ:b.hasZ,hasM:b.hasM,rings:c}}};k=Uo.prototype;k.ae=function(a,b){var c=Vo(a.geometry,b),d=new C;this.b&&d.bc(this.b);d.Qa(c);b&&b.Ch&&a.attributes[b.Ch]&&d.Ub(a.attributes[b.Ch]);a.attributes&&d.I(a.attributes);return d};k.ai=function(a,b){b=b?b:{};if(a.features){var c=[],d=a.features,e;b.Ch=a.objectIdFieldName;a=0;for(e=d.length;a<e;++a)c.push(this.ae(d[a],b));return c}return[this.ae(a,b)]};
k.ei=function(a,b){return Vo(a,b)};k.hi=function(a){return a.spatialReference&&a.spatialReference.wkid?Ib("EPSG:"+a.spatialReference.wkid):null};function $o(a,b){return(0,Zo[a.U()])(Vd(a,!0,b),b)}k.wf=function(a,b){return $o(a,Ud(this,b))};k.le=function(a,b){b=Ud(this,b);var c={},d=a.W();d&&(c.geometry=$o(d,b),b&&b.featureProjection&&(c.geometry.spatialReference={wkid:Ib(b.featureProjection).Zb.split(":").pop()}));b=a.K();delete b[a.a];c.attributes=Cb(b)?{}:b;return c};
k.uf=function(a,b){b=Ud(this,b);var c=[],d;var e=0;for(d=a.length;e<d;++e)c.push(this.le(a[e],b));return{features:c}};function ap(){this.l=new XMLSerializer;Sd.call(this)}w(ap,Sd);k=ap.prototype;k.U=function(){return"xml"};k.ac=function(a,b){return zo(a)?bp(this,a,b):Ao(a)?this.$h(a,b):"string"===typeof a?(a=Bo(a),bp(this,a,b)):null};function bp(a,b,c){a=cp(a,b,c);return 0<a.length?a[0]:null}k.$h=function(){return null};k.$a=function(a,b){return zo(a)?cp(this,a,b):Ao(a)?this.Dd(a,b):"string"===typeof a?(a=Bo(a),cp(this,a,b)):[]};
function cp(a,b,c){var d=[];for(b=b.firstChild;b;b=b.nextSibling)b.nodeType==Node.ELEMENT_NODE&&qe(d,a.Dd(b,c));return d}k.Xc=function(a,b){if(zo(a))return null;if(Ao(a))return this.Lk(a,b);"string"===typeof a&&Bo(a);return null};k.Lk=function(){return null};k.yb=function(a){return zo(a)?this.gi(a):Ao(a)?this.Cg(a):"string"===typeof a?(a=Bo(a),this.gi(a)):null};k.gi=function(){return this.defaultDataProjection};k.Cg=function(){return this.defaultDataProjection};k.ld=function(){return this.l.serializeToString(this.Bi())};
k.Bi=function(){return null};k.ec=function(a,b){a=this.$c(a,b);return this.l.serializeToString(a)};k.$c=function(){return null};k.ad=function(a,b){a=this.vf(a,b);return this.l.serializeToString(a)};k.vf=function(){return null};function dp(a){a=a?a:{};this.featureType=a.featureType;this.featureNS=a.featureNS;this.srsName=a.srsName;this.schemaLocation="";this.b={};this.b["http://www.opengis.net/gml"]={featureMember:Eo(dp.prototype.df),featureMembers:Eo(dp.prototype.df)};ap.call(this)}w(dp,ap);var ep=/^[\s\xa0]*$/;k=dp.prototype;
k.df=function(a,b){var c=a.localName,d=null;if("FeatureCollection"==c)"http://www.opengis.net/wfs"===a.namespaceURI?d=Q([],this.b,a,b,this):d=Q(null,this.b,a,b,this);else if("featureMembers"==c||"featureMember"==c){var e=b[0],f=e.featureType,g=e.featureNS,h;if(!f&&a.childNodes){f=[];g={};var l=0;for(h=a.childNodes.length;l<h;++l){var m=a.childNodes[l];if(1===m.nodeType){var n=m.nodeName.split(":").pop();if(-1===f.indexOf(n)){var p="",q=0;m=m.namespaceURI;for(var r in g){if(g[r]===m){p=r;break}++q}p||
(p="p"+q,g[p]=m);f.push(p+":"+n)}}}"featureMember"!=c&&(e.featureType=f,e.featureNS=g)}"string"===typeof g&&(l=g,g={},g.p0=l);e={};f=Array.isArray(f)?f:[f];for(var u in g){n={};l=0;for(h=f.length;l<h;++l)(-1===f[l].indexOf(":")?"p0":f[l].split(":")[0])===u&&(n[f[l].split(":").pop()]="featureMembers"==c?Do(this.Zh,this):Eo(this.Zh,this));e[g[u]]=n}"featureMember"==c?d=Q(void 0,e,a,b):d=Q([],e,a,b)}null===d&&(d=[]);return d};
k.zg=function(a,b){var c=b[0];c.srsName=a.firstElementChild.getAttribute("srsName");c.srsDimension=a.firstElementChild.getAttribute("srsDimension");if(a=Q(null,this.Fi,a,b,this))return Vd(a,!1,c)};
k.Zh=function(a,b){var c;(c=a.getAttribute("fid"))||(c=a.getAttributeNS("http://www.opengis.net/gml","id")||"");var d={},e;for(a=a.firstElementChild;a;a=a.nextElementSibling){var f=a.localName;if(0===a.childNodes.length||1===a.childNodes.length&&(3===a.firstChild.nodeType||4===a.firstChild.nodeType)){var g=xo(a,!1);ep.test(g)&&(g=void 0);d[f]=g}else"boundedBy"!==f&&(e=f),d[f]=this.zg(a,b)}b=new C(d);e&&b.bc(e);c&&b.Ub(c);return b};
k.Qk=function(a,b){if(a=this.yg(a,b))return b=new D(null),b.ka("XYZ",a),b};k.Ok=function(a,b){if(a=Q([],this.zl,a,b,this))return new So(a)};k.Nk=function(a,b){if(a=Q([],this.yl,a,b,this))return b=new R(null),Ro(b,a),b};k.Pk=function(a,b){if(a=Q([],this.Al,a,b,this))return b=new S(null),To(b,a),b};k.Fk=function(a,b){Lo(this.Dl,a,b,this)};k.rj=function(a,b){Lo(this.wl,a,b,this)};k.Gk=function(a,b){Lo(this.El,a,b,this)};k.Ag=function(a,b){if(a=this.yg(a,b))return b=new J(null),b.ka("XYZ",a),b};
k.ir=function(a,b){if(a=Q(null,this.xf,a,b,this))return a};k.Mk=function(a,b){if(a=this.yg(a,b))return b=new Ag(null),Bg(b,"XYZ",a),b};k.Bg=function(a,b){if((a=Q([null],this.Qg,a,b,this))&&a[0]){b=new F(null);var c=a[0],d=[c.length],e;var f=1;for(e=a.length;f<e;++f)qe(c,a[f]),d.push(c.length);b.ka("XYZ",c,d);return b}};k.yg=function(a,b){return Q(null,this.xf,a,b,this)};k.zl={"http://www.opengis.net/gml":{pointMember:Do(dp.prototype.Fk),pointMembers:Do(dp.prototype.Fk)}};
k.yl={"http://www.opengis.net/gml":{lineStringMember:Do(dp.prototype.rj),lineStringMembers:Do(dp.prototype.rj)}};k.Al={"http://www.opengis.net/gml":{polygonMember:Do(dp.prototype.Gk),polygonMembers:Do(dp.prototype.Gk)}};k.Dl={"http://www.opengis.net/gml":{Point:Do(dp.prototype.yg)}};k.wl={"http://www.opengis.net/gml":{LineString:Do(dp.prototype.Ag)}};k.El={"http://www.opengis.net/gml":{Polygon:Do(dp.prototype.Bg)}};k.yf={"http://www.opengis.net/gml":{LinearRing:Eo(dp.prototype.ir)}};
k.Lk=function(a,b){return(a=this.zg(a,[Td(this,a,b?b:{})]))?a:null};k.Dd=function(a,b){var c={featureType:this.featureType,featureNS:this.featureNS};b&&zb(c,Td(this,a,b));return this.df(a,[c])||[]};k.Cg=function(a){return Ib(this.srsName?this.srsName:a.firstElementChild.getAttribute("srsName"))};function fp(a){a=xo(a,!1);return gp(a)}function gp(a){if(a=/^\s*(true|1)|(false|0)\s*$/.exec(a))return void 0!==a[1]||!1}function hp(a){a=xo(a,!1);a=Date.parse(a);return isNaN(a)?void 0:a/1E3}function ip(a){a=xo(a,!1);return jp(a)}function jp(a){if(a=/^\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)\s*$/i.exec(a))return parseFloat(a[1])}function kp(a){a=xo(a,!1);return lp(a)}function lp(a){if(a=/^\s*(\d+)\s*$/.exec(a))return parseInt(a[1],10)}function T(a){return xo(a,!1).trim()}
function mp(a,b){np(a,b?"1":"0")}function op(a,b){a.appendChild(vo.createTextNode(b.toPrecision()))}function pp(a,b){a.appendChild(vo.createTextNode(b.toString()))}function np(a,b){a.appendChild(vo.createTextNode(b))};function qp(a){a=a?a:{};dp.call(this,a);this.u=void 0!==a.surface?a.surface:!1;this.c=void 0!==a.curve?a.curve:!1;this.j=void 0!==a.multiCurve?a.multiCurve:!0;this.s=void 0!==a.multiSurface?a.multiSurface:!0;this.schemaLocation=a.schemaLocation?a.schemaLocation:"http://www.opengis.net/gml http://schemas.opengis.net/gml/3.1.1/profiles/gmlsfProfile/1.0.0/gmlsf.xsd";this.hasZ=void 0!==a.hasZ?a.hasZ:!1}w(qp,dp);k=qp.prototype;
k.mr=function(a,b){if(a=Q([],this.xl,a,b,this))return b=new R(null),Ro(b,a),b};k.nr=function(a,b){if(a=Q([],this.Bl,a,b,this))return b=new S(null),To(b,a),b};k.Yi=function(a,b){Lo(this.tl,a,b,this)};k.ml=function(a,b){Lo(this.Gl,a,b,this)};k.rr=function(a,b){return Q([null],this.Cl,a,b,this)};k.ur=function(a,b){return Q([null],this.Fl,a,b,this)};k.sr=function(a,b){return Q([null],this.Qg,a,b,this)};k.lr=function(a,b){return Q([null],this.xf,a,b,this)};
k.jo=function(a,b){(a=Q(void 0,this.yf,a,b,this))&&b[b.length-1].push(a)};k.om=function(a,b){(a=Q(void 0,this.yf,a,b,this))&&(b[b.length-1][0]=a)};k.Rk=function(a,b){if((a=Q([null],this.Hl,a,b,this))&&a[0]){b=new F(null);var c=a[0],d=[c.length],e;var f=1;for(e=a.length;f<e;++f)qe(c,a[f]),d.push(c.length);b.ka("XYZ",c,d);return b}};k.Jk=function(a,b){if(a=Q([null],this.ul,a,b,this))return b=new J(null),b.ka("XYZ",a),b};
k.hr=function(a,b){a=Q([null],this.vl,a,b,this);return Ma(a[1][0],a[1][1],a[2][0],a[2][1])};k.jr=function(a,b){var c=xo(a,!1),d=/^\s*([+\-]?\d*\.?\d+(?:[eE][+\-]?\d+)?)\s*/;a=[];for(var e;e=d.exec(c);)a.push(parseFloat(e[1])),c=c.substr(e[0].length);if(""===c){b=b[0].srsName;c="enu";b&&(c=Ib(b).b);if("neu"===c)for(b=0,c=a.length;b<c;b+=3)d=a[b],a[b]=a[b+1],a[b+1]=d;b=a.length;2==b&&a.push(0);if(0!==b)return a}};
k.di=function(a,b){var c=xo(a,!1).replace(/^\s*|\s*$/g,"");b=b[0];var d=b.srsName,e=b.srsDimension;b="enu";d&&(b=Ib(d).b);c=c.split(/\s+/);d=2;a.getAttribute("srsDimension")?d=lp(a.getAttribute("srsDimension")):a.getAttribute("dimension")?d=lp(a.getAttribute("dimension")):a.parentNode.getAttribute("srsDimension")?d=lp(a.parentNode.getAttribute("srsDimension")):e&&(d=lp(e));for(var f,g=[],h=0,l=c.length;h<l;h+=d)a=parseFloat(c[h]),e=parseFloat(c[h+1]),f=3===d?parseFloat(c[h+2]):0,"en"===b.substr(0,
2)?g.push(a,e,f):g.push(e,a,f);return g};k.xf={"http://www.opengis.net/gml":{pos:Eo(qp.prototype.jr),posList:Eo(qp.prototype.di)}};k.Qg={"http://www.opengis.net/gml":{interior:qp.prototype.jo,exterior:qp.prototype.om}};
k.Fi={"http://www.opengis.net/gml":{Point:Eo(dp.prototype.Qk),MultiPoint:Eo(dp.prototype.Ok),LineString:Eo(dp.prototype.Ag),MultiLineString:Eo(dp.prototype.Nk),LinearRing:Eo(dp.prototype.Mk),Polygon:Eo(dp.prototype.Bg),MultiPolygon:Eo(dp.prototype.Pk),Surface:Eo(qp.prototype.Rk),MultiSurface:Eo(qp.prototype.nr),Curve:Eo(qp.prototype.Jk),MultiCurve:Eo(qp.prototype.mr),Envelope:Eo(qp.prototype.hr)}};k.xl={"http://www.opengis.net/gml":{curveMember:Do(qp.prototype.Yi),curveMembers:Do(qp.prototype.Yi)}};
k.Bl={"http://www.opengis.net/gml":{surfaceMember:Do(qp.prototype.ml),surfaceMembers:Do(qp.prototype.ml)}};k.tl={"http://www.opengis.net/gml":{LineString:Do(dp.prototype.Ag),Curve:Do(qp.prototype.Jk)}};k.Gl={"http://www.opengis.net/gml":{Polygon:Do(dp.prototype.Bg),Surface:Do(qp.prototype.Rk)}};k.Hl={"http://www.opengis.net/gml":{patches:Eo(qp.prototype.rr)}};k.ul={"http://www.opengis.net/gml":{segments:Eo(qp.prototype.ur)}};k.vl={"http://www.opengis.net/gml":{lowerCorner:Do(qp.prototype.di),upperCorner:Do(qp.prototype.di)}};
k.Cl={"http://www.opengis.net/gml":{PolygonPatch:Eo(qp.prototype.sr)}};k.Fl={"http://www.opengis.net/gml":{LineStringSegment:Eo(qp.prototype.lr)}};function rp(a,b,c){var d=c[c.length-1];c=d.hasZ;a.setAttribute("srsDimension",c?3:2);d=d.srsName;b=b.ca();for(var e=b.length,f=Array(e),g,h=0;h<e;++h){g=b[h];var l=h,m=c,n="enu";d&&(n=Ib(d).b);n="en"===n.substr(0,2)?g[0]+" "+g[1]:g[1]+" "+g[0];m&&(n+=" "+(g[2]||0));f[l]=n}np(a,f.join(" "))}
k.Vj=function(a,b,c){var d=c[c.length-1].srsName;d&&a.setAttribute("srsName",d);d=wo(a.namespaceURI,"pos");a.appendChild(d);c=c[c.length-1];a=c.hasZ;d.setAttribute("srsDimension",a?3:2);var e=c.srsName;c="enu";e&&(c=Ib(e).b);b=b.ca();c="en"===c.substr(0,2)?b[0]+" "+b[1]:b[1]+" "+b[0];a&&(c+=" "+(b[2]||0));np(d,c)};var sp={"http://www.opengis.net/gml":{lowerCorner:O(np),upperCorner:O(np)}};k=qp.prototype;
k.mp=function(a,b,c){var d=c[c.length-1].srsName;d&&a.setAttribute("srsName",d);Mo({node:a},sp,Jo,[b[0]+" "+b[1],b[2]+" "+b[3]],c,["lowerCorner","upperCorner"],this)};k.Sj=function(a,b,c){var d=c[c.length-1].srsName;d&&a.setAttribute("srsName",d);d=wo(a.namespaceURI,"posList");a.appendChild(d);rp(d,b,c)};k.lp=function(a,b){a=b[b.length-1];b=a.node;var c=a.exteriorWritten;void 0===c&&(a.exteriorWritten=!0);return wo(b.namespaceURI,void 0!==c?"interior":"exterior")};
k.lg=function(a,b,c){var d=c[c.length-1],e=d.hasZ;d=d.srsName;"PolygonPatch"!==a.nodeName&&d&&a.setAttribute("srsName",d);"Polygon"===a.nodeName||"PolygonPatch"===a.nodeName?(b=b.ve(),Mo({node:a,hasZ:e,srsName:d},tp,this.lp,b,c,void 0,this)):"Surface"===a.nodeName&&(e=wo(a.namespaceURI,"patches"),a.appendChild(e),a=wo(e.namespaceURI,"PolygonPatch"),e.appendChild(a),this.lg(a,b,c))};
k.kg=function(a,b,c){var d=c[c.length-1].srsName;"LineStringSegment"!==a.nodeName&&d&&a.setAttribute("srsName",d);"LineString"===a.nodeName||"LineStringSegment"===a.nodeName?(d=wo(a.namespaceURI,"posList"),a.appendChild(d),rp(d,b,c)):"Curve"===a.nodeName&&(d=wo(a.namespaceURI,"segments"),a.appendChild(d),a=wo(d.namespaceURI,"LineStringSegment"),d.appendChild(a),this.kg(a,b,c))};
k.Uj=function(a,b,c){var d=c[c.length-1],e=d.hasZ,f=d.srsName;d=d.surface;f&&a.setAttribute("srsName",f);b=b.Se();Mo({node:a,hasZ:e,srsName:f,surface:d},up,this.o,b,c,void 0,this)};k.np=function(a,b,c){var d=c[c.length-1],e=d.srsName;d=d.hasZ;e&&a.setAttribute("srsName",e);b=b.bf();Mo({node:a,hasZ:d,srsName:e},vp,Ho("pointMember"),b,c,void 0,this)};
k.Tj=function(a,b,c){var d=c[c.length-1],e=d.hasZ,f=d.srsName;d=d.curve;f&&a.setAttribute("srsName",f);b=b.ue();Mo({node:a,hasZ:e,srsName:f,curve:d},wp,this.o,b,c,void 0,this)};k.Wj=function(a,b,c){var d=wo(a.namespaceURI,"LinearRing");a.appendChild(d);this.Sj(d,b,c)};k.Xj=function(a,b,c){var d=this.a(b,c);d&&(a.appendChild(d),this.lg(d,b,c))};k.op=function(a,b,c){var d=wo(a.namespaceURI,"Point");a.appendChild(d);this.Vj(d,b,c)};
k.Rj=function(a,b,c){var d=this.a(b,c);d&&(a.appendChild(d),this.kg(d,b,c))};k.Td=function(a,b,c){var d=c[c.length-1],e=zb({},d);e.node=a;var f;Array.isArray(b)?d.dataProjection?f=Xb(b,d.featureProjection,d.dataProjection):f=b:f=Vd(b,!0,d);Mo(e,xp,this.a,[f],c,void 0,this)};
k.Qj=function(a,b,c){var d=b.Ta();d&&a.setAttribute("fid",d);d=c[c.length-1];var e=d.featureNS,f=b.a;d.Tb||(d.Tb={},d.Tb[e]={});var g=b.K();b=[];var h=[];for(m in g){var l=g[m];null!==l&&(b.push(m),h.push(l),m==f||l instanceof Kc?m in d.Tb[e]||(d.Tb[e][m]=O(this.Td,this)):m in d.Tb[e]||(d.Tb[e][m]=O(np)))}var m=zb({},d);m.node=a;Mo(m,d.Tb,Ho(void 0,e),h,c,b)};
var up={"http://www.opengis.net/gml":{surfaceMember:O(qp.prototype.Xj),polygonMember:O(qp.prototype.Xj)}},vp={"http://www.opengis.net/gml":{pointMember:O(qp.prototype.op)}},wp={"http://www.opengis.net/gml":{lineStringMember:O(qp.prototype.Rj),curveMember:O(qp.prototype.Rj)}},tp={"http://www.opengis.net/gml":{exterior:O(qp.prototype.Wj),interior:O(qp.prototype.Wj)}},xp={"http://www.opengis.net/gml":{Curve:O(qp.prototype.kg),MultiCurve:O(qp.prototype.Tj),Point:O(qp.prototype.Vj),MultiPoint:O(qp.prototype.np),
LineString:O(qp.prototype.kg),MultiLineString:O(qp.prototype.Tj),LinearRing:O(qp.prototype.Sj),Polygon:O(qp.prototype.lg),MultiPolygon:O(qp.prototype.Uj),Surface:O(qp.prototype.lg),MultiSurface:O(qp.prototype.Uj),Envelope:O(qp.prototype.mp)}},yp={MultiLineString:"lineStringMember",MultiCurve:"curveMember",MultiPolygon:"polygonMember",MultiSurface:"surfaceMember"};qp.prototype.o=function(a,b){return wo("http://www.opengis.net/gml",yp[b[b.length-1].node.nodeName])};
qp.prototype.a=function(a,b){var c=b[b.length-1];b=c.multiSurface;var d=c.surface,e=c.curve;c=c.multiCurve;Array.isArray(a)?a="Envelope":(a=a.U(),"MultiPolygon"===a&&!0===b?a="MultiSurface":"Polygon"===a&&!0===d?a="Surface":"LineString"===a&&!0===e?a="Curve":"MultiLineString"===a&&!0===c&&(a="MultiCurve"));return wo("http://www.opengis.net/gml",a)};
qp.prototype.vf=function(a,b){b=Ud(this,b);var c=wo("http://www.opengis.net/gml","geom"),d={node:c,hasZ:this.hasZ,srsName:this.srsName,curve:this.c,surface:this.u,multiSurface:this.s,multiCurve:this.j};b&&zb(d,b);this.Td(c,a,[d]);return c};
qp.prototype.$c=function(a,b){b=Ud(this,b);var c=wo("http://www.opengis.net/gml","featureMembers");c.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",this.schemaLocation);var d={srsName:this.srsName,hasZ:this.hasZ,curve:this.c,surface:this.u,multiSurface:this.s,multiCurve:this.j,featureNS:this.featureNS,featureType:this.featureType};b&&zb(d,b);b=[d];var e=b[b.length-1];d=e.featureType;var f=e.featureNS,g={};g[f]={};g[f][d]=O(this.Qj,this);e=zb({},e);e.node=c;Mo(e,g,
Ho(d,f),a,b);return c};function zp(a){a=a?a:{};dp.call(this,a);this.b["http://www.opengis.net/gml"].featureMember=Do(dp.prototype.df);this.schemaLocation=a.schemaLocation?a.schemaLocation:"http://www.opengis.net/gml http://schemas.opengis.net/gml/2.1.2/feature.xsd"}w(zp,dp);k=zp.prototype;
k.Kk=function(a,b){a=xo(a,!1).replace(/^\s*|\s*$/g,"");var c=b[0].srsName;b="enu";c&&(c=Ib(c))&&(b=c.b);a=a.trim().split(/\s+/);for(var d,e,f=[],g=0,h=a.length;g<h;g++)e=a[g].split(/,+/),c=parseFloat(e[0]),d=parseFloat(e[1]),e=3===e.length?parseFloat(e[2]):0,"en"===b.substr(0,2)?f.push(c,d,e):f.push(d,c,e);return f};k.fr=function(a,b){a=Q([null],this.sl,a,b,this);return Ma(a[1][0],a[1][1],a[1][3],a[1][4])};k.ho=function(a,b){(a=Q(void 0,this.yf,a,b,this))&&b[b.length-1].push(a)};
k.Qq=function(a,b){(a=Q(void 0,this.yf,a,b,this))&&(b[b.length-1][0]=a)};k.xf={"http://www.opengis.net/gml":{coordinates:Eo(zp.prototype.Kk)}};k.Qg={"http://www.opengis.net/gml":{innerBoundaryIs:zp.prototype.ho,outerBoundaryIs:zp.prototype.Qq}};k.sl={"http://www.opengis.net/gml":{coordinates:Do(zp.prototype.Kk)}};
k.Fi={"http://www.opengis.net/gml":{Point:Eo(dp.prototype.Qk),MultiPoint:Eo(dp.prototype.Ok),LineString:Eo(dp.prototype.Ag),MultiLineString:Eo(dp.prototype.Nk),LinearRing:Eo(dp.prototype.Mk),Polygon:Eo(dp.prototype.Bg),MultiPolygon:Eo(dp.prototype.Pk),Box:Eo(zp.prototype.fr)}};
k.Hh=function(a,b){var c=b[b.length-1];b=c.multiSurface;var d=c.surface;c=c.multiCurve;Array.isArray(a)?a="Envelope":(a=a.U(),"MultiPolygon"===a&&!0===b?a="MultiSurface":"Polygon"===a&&!0===d?a="Surface":"MultiLineString"===a&&!0===c&&(a="MultiCurve"));return wo("http://www.opengis.net/gml",a)};k.Ij=function(a,b,c){var d=c[c.length-1],e=zb({},d);e.node=a;var f;Array.isArray(b)?d.dataProjection?f=Xb(b,d.featureProjection,d.dataProjection):f=b:f=Vd(b,!0,d);Mo(e,Ap,this.Hh,[f],c,void 0,this)};
k.ig=function(a,b,c){var d=c[c.length-1].srsName;"LineStringSegment"!==a.nodeName&&d&&a.setAttribute("srsName",d);"LineString"===a.nodeName||"LineStringSegment"===a.nodeName?(d=Bp(a.namespaceURI),a.appendChild(d),Cp(d,b,c)):"Curve"===a.nodeName&&(d=wo(a.namespaceURI,"segments"),a.appendChild(d),a=wo(d.namespaceURI,"LineStringSegment"),d.appendChild(a),this.ig(a,b,c))};function Bp(a){a=wo(a,"coordinates");a.setAttribute("decimal",".");a.setAttribute("cs",",");a.setAttribute("ts"," ");return a}
function Cp(a,b,c){var d=c[c.length-1];c=d.hasZ;d=d.srsName;b=b.ca();for(var e=b.length,f=Array(e),g,h=0;h<e;++h)g=b[h],f[h]=Dp(g,d,c);np(a,f.join(" "))}
k.jg=function(a,b,c){var d=c[c.length-1],e=d.hasZ;d=d.srsName;"PolygonPatch"!==a.nodeName&&d&&a.setAttribute("srsName",d);"Polygon"===a.nodeName||"PolygonPatch"===a.nodeName?(b=b.ve(),Mo({node:a,hasZ:e,srsName:d},Ep,this.hp,b,c,void 0,this)):"Surface"===a.nodeName&&(e=wo(a.namespaceURI,"patches"),a.appendChild(e),a=wo(e.namespaceURI,"PolygonPatch"),e.appendChild(a),this.jg(a,b,c))};
k.hp=function(a,b){a=b[b.length-1];b=a.node;var c=a.exteriorWritten;void 0===c&&(a.exteriorWritten=!0);return wo(b.namespaceURI,void 0!==c?"innerBoundaryIs":"outerBoundaryIs")};k.Oj=function(a,b,c){var d=wo(a.namespaceURI,"LinearRing");a.appendChild(d);this.Kj(d,b,c)};function Dp(a,b,c){var d="enu";b&&(d=Ib(b).b);b="en"===d.substr(0,2)?a[0]+","+a[1]:a[1]+","+a[0];c&&(b+=","+(a[2]||0));return b}
k.Lj=function(a,b,c){var d=c[c.length-1],e=d.hasZ,f=d.srsName;d=d.curve;f&&a.setAttribute("srsName",f);b=b.ue();Mo({node:a,hasZ:e,srsName:f,curve:d},Fp,this.a,b,c,void 0,this)};k.Nj=function(a,b,c){var d=c[c.length-1];c=d.hasZ;var e=d.srsName;e&&a.setAttribute("srsName",e);d=Bp(a.namespaceURI);a.appendChild(d);a=b.ca();a=Dp(a,e,c);np(d,a)};
k.jp=function(a,b,c){var d=c[c.length-1],e=d.hasZ;(d=d.srsName)&&a.setAttribute("srsName",d);b=b.bf();Mo({node:a,hasZ:e,srsName:d},Gp,Ho("pointMember"),b,c,void 0,this)};k.kp=function(a,b,c){var d=wo(a.namespaceURI,"Point");a.appendChild(d);this.Nj(d,b,c)};k.Jj=function(a,b,c){var d=this.Hh(b,c);d&&(a.appendChild(d),this.ig(d,b,c))};k.Kj=function(a,b,c){var d=c[c.length-1].srsName;d&&a.setAttribute("srsName",d);d=Bp(a.namespaceURI);a.appendChild(d);Cp(d,b,c)};
k.Mj=function(a,b,c){var d=c[c.length-1],e=d.hasZ,f=d.srsName;d=d.surface;f&&a.setAttribute("srsName",f);b=b.Se();Mo({node:a,hasZ:e,srsName:f,surface:d},Hp,this.a,b,c,void 0,this)};k.Pj=function(a,b,c){var d=this.Hh(b,c);d&&(a.appendChild(d),this.jg(d,b,c))};k.ip=function(a,b,c){var d=c[c.length-1].srsName;d&&a.setAttribute("srsName",d);Mo({node:a},Ip,Jo,[b[0]+" "+b[1],b[2]+" "+b[3]],c,["lowerCorner","upperCorner"],this)};
var Ap={"http://www.opengis.net/gml":{Curve:O(zp.prototype.ig),MultiCurve:O(zp.prototype.Lj),Point:O(zp.prototype.Nj),MultiPoint:O(zp.prototype.jp),LineString:O(zp.prototype.ig),MultiLineString:O(zp.prototype.Lj),LinearRing:O(zp.prototype.Kj),Polygon:O(zp.prototype.jg),MultiPolygon:O(zp.prototype.Mj),Surface:O(zp.prototype.jg),MultiSurface:O(zp.prototype.Mj),Envelope:O(zp.prototype.ip)}},Ep={"http://www.opengis.net/gml":{outerBoundaryIs:O(zp.prototype.Oj),innerBoundaryIs:O(zp.prototype.Oj)}},Gp={"http://www.opengis.net/gml":{pointMember:O(zp.prototype.kp)}},
Fp={"http://www.opengis.net/gml":{lineStringMember:O(zp.prototype.Jj),curveMember:O(zp.prototype.Jj)}};zp.prototype.a=function(a,b){return wo("http://www.opengis.net/gml",Jp[b[b.length-1].node.nodeName])};var Jp={MultiLineString:"lineStringMember",MultiCurve:"curveMember",MultiPolygon:"polygonMember",MultiSurface:"surfaceMember"},Hp={"http://www.opengis.net/gml":{surfaceMember:O(zp.prototype.Pj),polygonMember:O(zp.prototype.Pj)}},Ip={"http://www.opengis.net/gml":{lowerCorner:O(np),upperCorner:O(np)}};function Kp(a){a=a?a:{};ap.call(this);this.defaultDataProjection=Ib("EPSG:4326");this.b=a.readExtensions}w(Kp,ap);var Lp=[null,"http://www.topografix.com/GPX/1/0","http://www.topografix.com/GPX/1/1"];function Mp(a,b,c,d){a.push(parseFloat(c.getAttribute("lon")),parseFloat(c.getAttribute("lat")));"ele"in d?(a.push(d.ele),delete d.ele,b.hasZ=!0):a.push(0);"time"in d?(a.push(d.time),delete d.time,b.hasM=!0):a.push(0);return a}
function Np(a,b,c){var d="XY",e=2;a.hasZ&&a.hasM?(d="XYZM",e=4):a.hasZ?(d="XYZ",e=3):a.hasM&&(d="XYM",e=3);if(4!==e){var f;var g=0;for(f=b.length/4;g<f;g++)b[g*e]=b[4*g],b[g*e+1]=b[4*g+1],a.hasZ&&(b[g*e+2]=b[4*g+2]),a.hasM&&(b[g*e+2]=b[4*g+3]);b.length=b.length/4*e;if(c)for(g=0,f=c.length;g<f;g++)c[g]=c[g]/4*e}return d}function Op(a,b){var c=b[b.length-1],d=a.getAttribute("href");null!==d&&(c.link=d);Lo(Pp,a,b)}function Qp(a,b){b[b.length-1].extensionsNode_=a}
function Rp(a,b){var c=b[0];if(a=Q({flatCoordinates:[],layoutOptions:{}},Sp,a,b)){b=a.flatCoordinates;delete a.flatCoordinates;var d=a.layoutOptions;delete a.layoutOptions;d=Np(d,b);var e=new J(null);e.ka(d,b);Vd(e,!1,c);c=new C(e);c.I(a);return c}}
function Tp(a,b){var c=b[0];if(a=Q({flatCoordinates:[],ends:[],layoutOptions:{}},Up,a,b)){b=a.flatCoordinates;delete a.flatCoordinates;var d=a.ends;delete a.ends;var e=a.layoutOptions;delete a.layoutOptions;e=Np(e,b,d);var f=new R(null);f.ka(e,b,d);Vd(f,!1,c);c=new C(f);c.I(a);return c}}function Vp(a,b){var c=b[0];if(b=Q({},Wp,a,b)){var d={};a=Mp([],d,a,b);d=Np(d,a);a=new D(a,d);Vd(a,!1,c);c=new C(a);c.I(b);return c}}
var Xp={rte:Rp,trk:Tp,wpt:Vp},Yp=P(Lp,{rte:Do(Rp),trk:Do(Tp),wpt:Do(Vp)}),Pp=P(Lp,{text:N(T,"linkText"),type:N(T,"linkType")}),Sp=P(Lp,{name:N(T),cmt:N(T),desc:N(T),src:N(T),link:Op,number:N(kp),extensions:Qp,type:N(T),rtept:function(a,b){var c=Q({},Zp,a,b);c&&(b=b[b.length-1],Mp(b.flatCoordinates,b.layoutOptions,a,c))}}),Zp=P(Lp,{ele:N(ip),time:N(hp)}),Up=P(Lp,{name:N(T),cmt:N(T),desc:N(T),src:N(T),link:Op,number:N(kp),type:N(T),extensions:Qp,trkseg:function(a,b){var c=b[b.length-1];Lo($p,a,b);c.ends.push(c.flatCoordinates.length)}}),
$p=P(Lp,{trkpt:function(a,b){var c=Q({},aq,a,b);c&&(b=b[b.length-1],Mp(b.flatCoordinates,b.layoutOptions,a,c))}}),aq=P(Lp,{ele:N(ip),time:N(hp)}),Wp=P(Lp,{ele:N(ip),time:N(hp),magvar:N(ip),geoidheight:N(ip),name:N(T),cmt:N(T),desc:N(T),src:N(T),link:Op,sym:N(T),type:N(T),fix:N(T),sat:N(kp),hdop:N(ip),vdop:N(ip),pdop:N(ip),ageofdgpsdata:N(ip),dgpsid:N(kp),extensions:Qp});
function bq(a,b){b||(b=[]);for(var c=0,d=b.length;c<d;++c){var e=b[c];if(a.b){var f=e.get("extensionsNode_")||null;a.b(e,f)}e.set("extensionsNode_",void 0)}}Kp.prototype.$h=function(a,b){if(!ne(Lp,a.namespaceURI))return null;var c=Xp[a.localName];if(!c)return null;a=c(a,[Td(this,a,b)]);if(!a)return null;bq(this,[a]);return a};Kp.prototype.Dd=function(a,b){return ne(Lp,a.namespaceURI)?"gpx"==a.localName&&(a=Q([],Yp,a,[Td(this,a,b)]))?(bq(this,a),a):[]:[]};
function cq(a,b,c){a.setAttribute("href",b);b=c[c.length-1].properties;Mo({node:a},dq,Jo,[b.linkText,b.linkType],c,eq)}function fq(a,b,c){var d=c[c.length-1],e=d.node.namespaceURI,f=d.properties;a.setAttributeNS(null,"lat",b[1]);a.setAttributeNS(null,"lon",b[0]);switch(d.geometryLayout){case "XYZM":0!==b[3]&&(f.time=b[3]);case "XYZ":0!==b[2]&&(f.ele=b[2]);break;case "XYM":0!==b[2]&&(f.time=b[2])}b="rtept"==a.nodeName?gq[e]:hq[e];d=Ko(f,b);Mo({node:a,properties:f},iq,Jo,d,c,b)}
var eq=["text","type"],dq=P(Lp,{text:O(np),type:O(np)}),jq=P(Lp,"name cmt desc src link number type rtept".split(" ")),kq=P(Lp,{name:O(np),cmt:O(np),desc:O(np),src:O(np),link:O(cq),number:O(pp),type:O(np),rtept:Go(O(fq))}),gq=P(Lp,["ele","time"]),lq=P(Lp,"name cmt desc src link number type trkseg".split(" ")),Nq=P(Lp,{name:O(np),cmt:O(np),desc:O(np),src:O(np),link:O(cq),number:O(pp),type:O(np),trkseg:Go(O(function(a,b,c){Mo({node:a,geometryLayout:b.xa,properties:{}},mq,Mq,b.ca(),c)}))}),Mq=Ho("trkpt"),
mq=P(Lp,{trkpt:O(fq)}),hq=P(Lp,"ele time magvar geoidheight name cmt desc src link sym type fix sat hdop vdop pdop ageofdgpsdata dgpsid".split(" ")),iq=P(Lp,{ele:O(op),time:O(function(a,b){b=new Date(1E3*b);a.appendChild(vo.createTextNode(b.getUTCFullYear()+"-"+Vf(b.getUTCMonth()+1)+"-"+Vf(b.getUTCDate())+"T"+Vf(b.getUTCHours())+":"+Vf(b.getUTCMinutes())+":"+Vf(b.getUTCSeconds())+"Z"))}),magvar:O(op),geoidheight:O(op),name:O(np),cmt:O(np),desc:O(np),src:O(np),link:O(cq),sym:O(np),type:O(np),fix:O(np),
sat:O(pp),hdop:O(op),vdop:O(op),pdop:O(op),ageofdgpsdata:O(op),dgpsid:O(pp)}),Oq={Point:"wpt",LineString:"rte",MultiLineString:"trk"};function Pq(a,b){if(a=a.W())if(a=Oq[a.U()])return wo(b[b.length-1].node.namespaceURI,a)}
var Qq=P(Lp,{rte:O(function(a,b,c){var d=c[0],e=b.K();a={node:a,properties:e};if(b=b.W())b=Vd(b,!0,d),a.geometryLayout=b.xa,e.rtept=b.ca();d=jq[c[c.length-1].node.namespaceURI];e=Ko(e,d);Mo(a,kq,Jo,e,c,d)}),trk:O(function(a,b,c){var d=c[0],e=b.K();a={node:a,properties:e};if(b=b.W())b=Vd(b,!0,d),e.trkseg=b.ue();d=lq[c[c.length-1].node.namespaceURI];e=Ko(e,d);Mo(a,Nq,Jo,e,c,d)}),wpt:O(function(a,b,c){var d=c[0],e=c[c.length-1];e.properties=b.K();if(b=b.W())b=Vd(b,!0,d),e.geometryLayout=b.xa,fq(a,b.ca(),
c)})});Kp.prototype.$c=function(a,b){b=Ud(this,b);var c=wo("http://www.topografix.com/GPX/1/1","gpx");c.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xsi","http://www.w3.org/2001/XMLSchema-instance");c.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation","http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd");c.setAttribute("version","1.1");c.setAttribute("creator","OpenLayers");Mo({node:c},Qq,Pq,a,[b]);return c};function Rq(a){Kc.call(this);this.a=a?a:null;Sq(this)}w(Rq,Kc);function Tq(a){var b=[],c;var d=0;for(c=a.length;d<c;++d)b.push(a[d].clone());return b}function Uq(a){var b;if(a.a){var c=0;for(b=a.a.length;c<b;++c)fc(a.a[c],"change",a.A,a)}}function Sq(a){var b;if(a.a){var c=0;for(b=a.a.length;c<b;++c)A(a.a[c],"change",a.A,a)}}k=Rq.prototype;k.clone=function(){var a=new Rq(null);a.$k(this.a);return a};
k.wc=function(a,b,c,d){if(d<Ha(this.G(),a,b))return d;var e=this.a,f;var g=0;for(f=e.length;g<f;++g)d=e[g].wc(a,b,c,d);return d};k.Ud=function(a,b){var c=this.a,d;var e=0;for(d=c.length;e<d;++e)if(c[e].Ud(a,b))return!0;return!1};k.Ff=function(a){Na(a);for(var b=this.a,c=0,d=b.length;c<d;++c)Sa(a,b[c].G());return a};k.te=function(){return Tq(this.a)};
k.Ue=function(a){this.o!=this.l&&(Ab(this.g),this.j=0,this.o=this.l);if(0>a||0!==this.j&&a<this.j)return this;var b=a.toString();if(this.g.hasOwnProperty(b))return this.g[b];var c=[],d=this.a,e=!1,f;var g=0;for(f=d.length;g<f;++g){var h=d[g],l=h.Ue(a);c.push(l);l!==h&&(e=!0)}if(e)return a=new Rq(null),Uq(a),a.a=c,Sq(a),a.A(),this.g[b]=a;this.j=a;return this};k.U=function(){return"GeometryCollection"};k.xb=function(a){var b=this.a,c;var d=0;for(c=b.length;d<c;++d)if(b[d].xb(a))return!0;return!1};
k.rotate=function(a,b){for(var c=this.a,d=0,e=c.length;d<e;++d)c[d].rotate(a,b);this.A()};k.scale=function(a,b,c){c||(c=cb(this.G()));for(var d=this.a,e=0,f=d.length;e<f;++e)d[e].scale(a,b,c);this.A()};k.$k=function(a){a=Tq(a);Uq(this);this.a=a;Sq(this);this.A()};k.Hd=function(a){var b=this.a,c;var d=0;for(c=b.length;d<c;++d)b[d].Hd(a);this.A()};k.translate=function(a,b){var c=this.a,d;var e=0;for(d=c.length;e<d;++e)c[e].translate(a,b);this.A()};k.sa=function(){Uq(this);Kc.prototype.sa.call(this)};function Vq(a){a=a?a:{};Sd.call(this);this.defaultDataProjection=Ib(a.defaultDataProjection?a.defaultDataProjection:"EPSG:4326");a.featureProjection&&(this.g=Ib(a.featureProjection));this.b=a.geometryName;this.a=a.extractGeometryName}w(Vq,Po);function Wq(a,b){return a?Vd((0,Xq[a.type])(a),!1,b):null}function Yq(a,b){return(0,Zq[a.U()])(Vd(a,!0,b),b)}
var Xq={Point:function(a){return new D(a.coordinates)},LineString:function(a){return new J(a.coordinates)},Polygon:function(a){return new F(a.coordinates)},MultiPoint:function(a){return new So(a.coordinates)},MultiLineString:function(a){return new R(a.coordinates)},MultiPolygon:function(a){return new S(a.coordinates)},GeometryCollection:function(a,b){a=a.geometries.map(function(a){return Wq(a,b)});return new Rq(a)}},Zq={Point:function(a){return{type:"Point",coordinates:a.ca()}},LineString:function(a){return{type:"LineString",
coordinates:a.ca()}},Polygon:function(a,b){if(b)var c=b.rightHanded;return{type:"Polygon",coordinates:a.ca(c)}},MultiPoint:function(a){return{type:"MultiPoint",coordinates:a.ca()}},MultiLineString:function(a){return{type:"MultiLineString",coordinates:a.ca()}},MultiPolygon:function(a,b){if(b)var c=b.rightHanded;return{type:"MultiPolygon",coordinates:a.ca(c)}},GeometryCollection:function(a,b){return{type:"GeometryCollection",geometries:a.a.map(function(a){var c=zb({},b);delete c.featureProjection;return Yq(a,
c)})}},Circle:function(){return{type:"GeometryCollection",geometries:[]}}};k=Vq.prototype;k.ae=function(a,b){a="Feature"===a.type?a:{type:"Feature",geometry:a};b=Wq(a.geometry,b);var c=new C;this.b?c.bc(this.b):this.a&&void 0!==a.geometry_name&&c.bc(a.geometry_name);c.Qa(b);void 0!==a.id&&c.Ub(a.id);a.properties&&c.I(a.properties);return c};k.ai=function(a,b){if("FeatureCollection"===a.type){var c=[];a=a.features;var d;var e=0;for(d=a.length;e<d;++e)c.push(this.ae(a[e],b))}else c=[this.ae(a,b)];return c};
k.ei=function(a,b){return Wq(a,b)};k.hi=function(a){a=a.crs;var b;a?"name"==a.type?b=Ib(a.properties.name):ia(!1,36):b=this.defaultDataProjection;return b};k.le=function(a,b){b=Ud(this,b);var c={type:"Feature"},d=a.Ta();void 0!==d&&(c.id=d);(d=a.W())?c.geometry=Yq(d,b):c.geometry=null;b=a.K();delete b[a.a];Cb(b)?c.properties=null:c.properties=b;return c};k.uf=function(a,b){b=Ud(this,b);var c=[],d;var e=0;for(d=a.length;e<d;++e)c.push(this.le(a[e],b));return{type:"FeatureCollection",features:c}};
k.wf=function(a,b){return Yq(a,Ud(this,b))};function $q(){Sd.call(this)}w($q,Sd);function ar(a){return"string"===typeof a?a:""}k=$q.prototype;k.U=function(){return"text"};k.ac=function(a,b){return this.cf(ar(a),Ud(this,b))};k.$a=function(a,b){return this.bi(ar(a),Ud(this,b))};k.Xc=function(a,b){return this.Ge(ar(a),Ud(this,b))};k.yb=function(){return this.defaultDataProjection};k.ld=function(a,b){return this.tf(a,Ud(this,b))};k.ec=function(a,b){return this.Ci(a,Ud(this,b))};k.ad=function(a,b){return this.Ke(a,Ud(this,b))};function br(a){a=a?a:{};Sd.call(this);this.defaultDataProjection=Ib("EPSG:4326");this.b=a.altitudeMode?a.altitudeMode:"none"}w(br,$q);var cr=/^B(\d{2})(\d{2})(\d{2})(\d{2})(\d{5})([NS])(\d{3})(\d{5})([EW])([AV])(\d{5})(\d{5})/,dr=/^H.([A-Z]{3}).*?:(.*)/,er=/^HFDTE(\d{2})(\d{2})(\d{2})/,fr=/\r\n|\r|\n/;k=br.prototype;
k.cf=function(a,b){var c=this.b,d=a.split(fr);a={};var e=[],f=2E3,g=0,h=1,l=-1,m;var n=0;for(m=d.length;n<m;++n){var p=d[n],q;if("B"==p.charAt(0)){if(q=cr.exec(p)){p=parseInt(q[1],10);var r=parseInt(q[2],10),u=parseInt(q[3],10),v=parseInt(q[4],10)+parseInt(q[5],10)/6E4;"S"==q[6]&&(v=-v);var y=parseInt(q[7],10)+parseInt(q[8],10)/6E4;"W"==q[9]&&(y=-y);e.push(y,v);"none"!=c&&e.push("gps"==c?parseInt(q[11],10):"barometric"==c?parseInt(q[12],10):0);q=Date.UTC(f,g,h,p,r,u);q<l&&(q=Date.UTC(f,g,h+1,p,r,
u));e.push(q/1E3);l=q}}else"H"==p.charAt(0)&&((q=er.exec(p))?(h=parseInt(q[1],10),g=parseInt(q[2],10)-1,f=2E3+parseInt(q[3],10)):(q=dr.exec(p))&&(a[q[1]]=q[2].trim()))}if(0===e.length)return null;d=new J(null);d.ka("none"==c?"XYM":"XYZM",e);b=new C(Vd(d,!1,b));b.I(a);return b};k.bi=function(a,b){return(a=this.cf(a,b))?[a]:[]};k.tf=function(){};k.Ci=function(){};k.Ke=function(){};k.Ge=function(){};function gr(a,b,c,d,e,f){lc.call(this);this.o=null;this.V=a?a:new Image;null!==d&&(this.V.crossOrigin=d);this.c=f?document.createElement("CANVAS"):null;this.s=f;this.g=null;this.l=e;this.a=c;this.j=b;this.u=!1;2==this.l&&hr(this)}w(gr,lc);function hr(a){var b=Sc(1,1);try{b.drawImage(a.V,0,0),b.getImageData(0,0,1,1)}catch(c){a.u=!0}}k=gr.prototype;k.wk=function(){this.l=3;this.g.forEach($b);this.g=null;this.b("change")};
k.zq=function(){this.l=2;this.a&&(this.V.width=this.a[0],this.V.height=this.a[1]);this.a=[this.V.width,this.V.height];this.g.forEach($b);this.g=null;hr(this);if(!this.u&&null!==this.s){this.c.width=this.V.width;this.c.height=this.V.height;var a=this.c.getContext("2d");a.drawImage(this.V,0,0);for(var b=a.getImageData(0,0,this.V.width,this.V.height),c=b.data,d=this.s[0]/255,e=this.s[1]/255,f=this.s[2]/255,g=0,h=c.length;g<h;g+=4)c[g]*=d,c[g+1]*=e,c[g+2]*=f;a.putImageData(b,0,0)}this.b("change")};
k.fa=function(){return this.c?this.c:this.V};k.La=function(){return this.a};k.load=function(){if(0==this.l){this.l=1;this.g=[ec(this.V,"error",this.wk,this),ec(this.V,"load",this.zq,this)];try{this.V.src=this.j}catch(a){this.wk()}}};function ir(a){a=a||{};this.o=void 0!==a.anchor?a.anchor:[.5,.5];this.u=null;this.b=void 0!==a.anchorOrigin?a.anchorOrigin:"top-left";this.ja=void 0!==a.anchorXUnits?a.anchorXUnits:"fraction";this.oa=void 0!==a.anchorYUnits?a.anchorYUnits:"fraction";this.O=void 0!==a.crossOrigin?a.crossOrigin:null;var b=void 0!==a.img?a.img:null,c=void 0!==a.imgSize?a.imgSize:null,d=a.src;ia(!(void 0!==d&&b),4);ia(!b||b&&c,5);void 0!==d&&0!==d.length||!b||(d=b.src||x(b).toString());ia(void 0!==d&&0<d.length,6);var e=
void 0!==a.src?0:2;this.g=void 0!==a.color?Nc(a.color):null;var f=this.O,g=this.g,h=wj.get(d,f,g);h||(h=new gr(b,d,c,f,e,g),wj.set(d,f,g,h));this.a=h;this.R=void 0!==a.offset?a.offset:[0,0];this.c=void 0!==a.offsetOrigin?a.offsetOrigin:"top-left";this.B=null;this.L=void 0!==a.size?a.size:null;Gd.call(this,{opacity:void 0!==a.opacity?a.opacity:1,rotation:void 0!==a.rotation?a.rotation:0,scale:void 0!==a.scale?a.scale:1,snapToPixel:void 0!==a.snapToPixel?a.snapToPixel:!0,rotateWithView:void 0!==a.rotateWithView?
a.rotateWithView:!1})}w(ir,Gd);k=ir.prototype;k.clone=function(){return new ir({anchor:this.o.slice(),anchorOrigin:this.b,anchorXUnits:this.ja,anchorYUnits:this.oa,crossOrigin:this.O,color:this.g&&this.g.slice?this.g.slice():this.g||void 0,src:this.a.j,offset:this.R.slice(),offsetOrigin:this.c,size:null!==this.L?this.L.slice():void 0,opacity:this.j,scale:this.l,snapToPixel:this.C,rotation:this.s,rotateWithView:this.H})};
k.Ld=function(){if(this.u)return this.u;var a=this.o,b=this.La();if("fraction"==this.ja||"fraction"==this.oa){if(!b)return null;a=this.o.slice();"fraction"==this.ja&&(a[0]*=b[0]);"fraction"==this.oa&&(a[1]*=b[1])}if("top-left"!=this.b){if(!b)return null;a===this.o&&(a=this.o.slice());if("top-right"==this.b||"bottom-right"==this.b)a[0]=-a[0]+b[0];if("bottom-left"==this.b||"bottom-right"==this.b)a[1]=-a[1]+b[1]}return this.u=a};k.Aq=function(){return this.g};k.fa=function(a){return this.a.fa(a)};
k.Rf=function(){return this.a.La()};k.rg=function(){return this.a.l};k.Sh=function(){var a=this.a;if(!a.o)if(a.u){var b=a.a[0],c=a.a[1],d=Sc(b,c);d.fillRect(0,0,b,c);a.o=d.canvas}else a.o=a.V;return a.o};k.Xd=function(){if(this.B)return this.B;var a=this.R;if("top-left"!=this.c){var b=this.La(),c=this.a.La();if(!b||!c)return null;a=a.slice();if("top-right"==this.c||"bottom-right"==this.c)a[0]=c[0]-b[0]-a[0];if("bottom-left"==this.c||"bottom-right"==this.c)a[1]=c[1]-b[1]-a[1]}return this.B=a};
k.Bq=function(){return this.a.j};k.La=function(){return this.L?this.L:this.a.La()};k.sj=function(a,b){A(this.a,"change",a,b)};k.load=function(){this.a.load()};k.nl=function(a,b){fc(this.a,"change",a,b)};function jr(a){a=a?a:{};ap.call(this);kr||(lr=[255,255,255,1],mr=new Kd({color:lr}),nr=[20,2],or=pr="pixels",qr=[64,64],rr="https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png",sr=.5,tr=new ir({anchor:nr,anchorOrigin:"bottom-left",anchorXUnits:pr,anchorYUnits:or,crossOrigin:"anonymous",rotation:0,scale:sr,size:qr,src:rr}),ur="NO_IMAGE",vr=new Ld({color:lr,width:1}),wr=new Ld({color:[51,51,51,1],width:2}),xr=new K({font:"bold 16px Helvetica",fill:mr,stroke:wr,scale:.8}),yr=new B({fill:mr,
image:tr,text:xr,stroke:vr,zIndex:0}),kr=[yr]);this.defaultDataProjection=Ib("EPSG:4326");this.a=a.defaultStyle?a.defaultStyle:kr;this.c=void 0!==a.extractStyles?a.extractStyles:!0;this.s=void 0!==a.writeStyles?a.writeStyles:!0;this.b={};this.j=void 0!==a.showPointNames?a.showPointNames:!0}var kr,lr,mr,nr,pr,or,qr,rr,sr,tr,ur,vr,wr,xr,yr;w(jr,ap);
var zr=["http://www.google.com/kml/ext/2.2"],Ar=[null,"http://earth.google.com/kml/2.0","http://earth.google.com/kml/2.1","http://earth.google.com/kml/2.2","http://www.opengis.net/kml/2.2"],Br={fraction:"fraction",pixels:"pixels",insetPixels:"pixels"};
function Cr(a,b){var c=[0,0],d="start";if(a.fa()){var e=a.fa().Rf();null===e&&(e=qr);2==e.length&&(d=a.fa().l,c[0]=d*e[0]/2,c[1]=-d*e[1]/2,d="left")}null!==a.Pa()?(e=a.Pa(),a=e.clone(),a.Ed(e.b||xr.b),a.Ak(e.a||xr.a),a.lc(e.Ya()||xr.Ya()),a.cc(e.ab()||wr)):a=xr.clone();a.Hb(b);a.cl(c[0]);a.He(c[1]);a.fl(d);return new B({text:a})}
function Dr(a,b,c,d,e){return function(){var f=e,g="";f&&this.W()&&(f="Point"===this.W().U());f&&(g=this.get("name"),f=f&&g);if(a)return f?(f=Cr(a[0],g),a.concat(f)):a;if(b){var h=Er(b,c,d);return f?(f=Cr(h[0],g),h.concat(f)):h}return f?(f=Cr(c[0],g),c.concat(f)):c}}function Er(a,b,c){return Array.isArray(a)?a:"string"===typeof a?(!(a in c)&&"#"+a in c&&(a="#"+a),Er(c[a],b,c)):b}
function Fr(a){a=xo(a,!1);if(a=/^\s*#?\s*([0-9A-Fa-f]{8})\s*$/.exec(a))return a=a[1],[parseInt(a.substr(6,2),16),parseInt(a.substr(4,2),16),parseInt(a.substr(2,2),16),parseInt(a.substr(0,2),16)/255]}function Gr(a){a=xo(a,!1);for(var b=[],c=/^\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)\s*,\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)(?:\s*,\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?))?\s*/i,d;d=c.exec(a);)b.push(parseFloat(d[1]),parseFloat(d[2]),d[3]?parseFloat(d[3]):0),a=a.substr(d[0].length);if(""===a)return b}
function Hr(a){var b=xo(a,!1).trim();a=a.baseURI;a&&"about:blank"!=a||(a=window.location.href);return a?(new URL(b,a)).href:b}function Ir(a){return ip(a)}function Jr(a,b){return Q(null,Kr,a,b)}function Lr(a,b){if(b=Q({D:[],ql:[]},Mr,a,b)){a=b.D;b=b.ql;var c;var d=0;for(c=Math.min(a.length,b.length);d<c;++d)a[4*d+3]=b[d];b=new J(null);b.ka("XYZM",a);return b}}function Nr(a,b){var c=Q({},Or,a,b);if(a=Q(null,Pr,a,b))return b=new J(null),b.ka("XYZ",a),b.I(c),b}
function Qr(a,b){var c=Q({},Or,a,b);if(a=Q(null,Pr,a,b))return b=new F(null),b.ka("XYZ",a,[a.length]),b.I(c),b}
function Rr(a,b){a=Q([],Sr,a,b);if(!a)return null;if(0===a.length)return new Rq(a);var c=!0,d=a[0].U(),e;var f=1;for(e=a.length;f<e;++f)if(b=a[f],b.U()!=d){c=!1;break}if(c)if("Point"==d){var g=a[0];c=g.xa;d=g.na();f=1;for(e=a.length;f<e;++f)b=a[f],qe(d,b.na());g=new So(null);g.ka(c,d);Tr(g,a)}else"LineString"==d?(g=new R(null),Ro(g,a),Tr(g,a)):"Polygon"==d?(g=new S(null),To(g,a),Tr(g,a)):"GeometryCollection"==d?g=new Rq(a):ia(!1,37);else g=new Rq(a);return g}
function Ur(a,b){var c=Q({},Or,a,b);if(a=Q(null,Pr,a,b))return b=new D(null),b.ka("XYZ",a),b.I(c),b}function Vr(a,b){var c=Q({},Or,a,b);if((a=Q([null],Wr,a,b))&&a[0]){b=new F(null);var d=a[0],e=[d.length],f;var g=1;for(f=a.length;g<f;++g)qe(d,a[g]),e.push(d.length);b.ka("XYZ",d,e);b.I(c);return b}}
function Xr(a,b){b=Q({},Yr,a,b);if(!b)return null;a="fillStyle"in b?b.fillStyle:mr;var c=b.fill;void 0===c||c||(a=null);c="imageStyle"in b?b.imageStyle:tr;c==ur&&(c=void 0);var d="textStyle"in b?b.textStyle:xr,e="strokeStyle"in b?b.strokeStyle:vr;b=b.outline;void 0===b||b||(e=null);return[new B({fill:a,image:c,stroke:e,text:d,zIndex:void 0})]}
function Tr(a,b){var c=b.length,d=Array(b.length),e=Array(b.length),f=Array(b.length),g,h,l;var m=h=l=!1;for(g=0;g<c;++g){var n=b[g];d[g]=n.get("extrude");e[g]=n.get("tessellate");f[g]=n.get("altitudeMode");m=m||void 0!==d[g];h=h||void 0!==e[g];l=l||f[g]}m&&a.set("extrude",d);h&&a.set("tessellate",e);l&&a.set("altitudeMode",f)}function Zr(a,b){Lo($r,a,b)}function as(a,b){Lo(bs,a,b)}
var cs=P(Ar,{displayName:N(T),value:N(T)}),$r=P(Ar,{Data:function(a,b){var c=a.getAttribute("name");Lo(cs,a,b);a=b[b.length-1];null!==c?a[c]=a.value:null!==a.displayName&&(a[a.displayName]=a.value);delete a.value},SchemaData:function(a,b){Lo(ds,a,b)}}),bs=P(Ar,{LatLonAltBox:function(a,b){if(a=Q({},es,a,b))b=b[b.length-1],b.extent=[parseFloat(a.west),parseFloat(a.south),parseFloat(a.east),parseFloat(a.north)],b.altitudeMode=a.altitudeMode,b.minAltitude=parseFloat(a.minAltitude),b.maxAltitude=parseFloat(a.maxAltitude)},
Lod:function(a,b){if(a=Q({},fs,a,b))b=b[b.length-1],b.minLodPixels=parseFloat(a.minLodPixels),b.maxLodPixels=parseFloat(a.maxLodPixels),b.minFadeExtent=parseFloat(a.minFadeExtent),b.maxFadeExtent=parseFloat(a.maxFadeExtent)}}),es=P(Ar,{altitudeMode:N(T),minAltitude:N(ip),maxAltitude:N(ip),north:N(ip),south:N(ip),east:N(ip),west:N(ip)}),fs=P(Ar,{minLodPixels:N(ip),maxLodPixels:N(ip),minFadeExtent:N(ip),maxFadeExtent:N(ip)}),Or=P(Ar,{extrude:N(fp),tessellate:N(fp),altitudeMode:N(T)}),Kr=P(Ar,{coordinates:Eo(Gr)}),
Wr=P(Ar,{innerBoundaryIs:function(a,b){(a=Q(void 0,gs,a,b))&&b[b.length-1].push(a)},outerBoundaryIs:function(a,b){(a=Q(void 0,hs,a,b))&&(b[b.length-1][0]=a)}}),Mr=P(Ar,{when:function(a,b){b=b[b.length-1].ql;a=xo(a,!1);a=Date.parse(a);b.push(isNaN(a)?0:a)}},P(zr,{coord:function(a,b){b=b[b.length-1].D;a=xo(a,!1);(a=/^\s*([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s+([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s+([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s*$/i.exec(a))?b.push(parseFloat(a[1]),parseFloat(a[2]),parseFloat(a[3]),
0):b.push(0,0,0,0)}})),Pr=P(Ar,{coordinates:Eo(Gr)}),is=P(Ar,{href:N(Hr)},P(zr,{x:N(ip),y:N(ip),w:N(ip),h:N(ip)})),js=P(Ar,{Icon:N(function(a,b){return(a=Q({},is,a,b))?a:null}),heading:N(ip),hotSpot:N(function(a){var b=a.getAttribute("xunits"),c=a.getAttribute("yunits");var d="insetPixels"!==b?"insetPixels"!==c?"bottom-left":"top-left":"insetPixels"!==c?"bottom-right":"top-right";return{x:parseFloat(a.getAttribute("x")),Di:Br[b],y:parseFloat(a.getAttribute("y")),Ei:Br[c],origin:d}}),scale:N(Ir)}),
gs=P(Ar,{LinearRing:Eo(Jr)}),ks=P(Ar,{color:N(Fr),scale:N(Ir)}),ls=P(Ar,{color:N(Fr),width:N(ip)}),Sr=P(Ar,{LineString:Do(Nr),LinearRing:Do(Qr),MultiGeometry:Do(Rr),Point:Do(Ur),Polygon:Do(Vr)}),ms=P(zr,{Track:Do(Lr)}),os=P(Ar,{ExtendedData:Zr,Region:as,Link:function(a,b){Lo(ns,a,b)},address:N(T),description:N(T),name:N(T),open:N(fp),phoneNumber:N(T),visibility:N(fp)}),ns=P(Ar,{href:N(Hr)}),hs=P(Ar,{LinearRing:Eo(Jr)}),ps=P(Ar,{Style:N(Xr),key:N(T),styleUrl:N(Hr)}),rs=P(Ar,{ExtendedData:Zr,Region:as,
MultiGeometry:N(Rr,"geometry"),LineString:N(Nr,"geometry"),LinearRing:N(Qr,"geometry"),Point:N(Ur,"geometry"),Polygon:N(Vr,"geometry"),Style:N(Xr),StyleMap:function(a,b){if(a=Q(void 0,qs,a,b))b=b[b.length-1],Array.isArray(a)?b.Style=a:"string"===typeof a?b.styleUrl=a:ia(!1,38)},address:N(T),description:N(T),name:N(T),open:N(fp),phoneNumber:N(T),styleUrl:N(Hr),visibility:N(fp)},P(zr,{MultiTrack:N(function(a,b){if(a=Q([],ms,a,b))return b=new R(null),Ro(b,a),b},"geometry"),Track:N(Lr,"geometry")})),
ss=P(Ar,{color:N(Fr),fill:N(fp),outline:N(fp)}),ds=P(Ar,{SimpleData:function(a,b){var c=a.getAttribute("name");null!==c&&(a=T(a),b[b.length-1][c]=a)}}),Yr=P(Ar,{IconStyle:function(a,b){if(a=Q({},js,a,b)){b=b[b.length-1];var c="Icon"in a?a.Icon:{},d=!("Icon"in a)||0<Object.keys(c).length,e,f=c.href;f?e=f:d&&(e=rr);f="bottom-left";var g=a.hotSpot;if(g){var h=[g.x,g.y];var l=g.Di;var m=g.Ei;f=g.origin}else e===rr?(h=nr,l=pr,m=or):/^http:\/\/maps\.(?:google|gstatic)\.com\//.test(e)&&(h=[.5,0],m=l="fraction");
var n;g=c.x;var p=c.y;void 0!==g&&void 0!==p&&(n=[g,p]);var q;g=c.w;c=c.h;void 0!==g&&void 0!==c&&(q=[g,c]);var r;c=a.heading;void 0!==c&&(r=qa(c));a=a.scale;d?(e==rr&&(q=qr,void 0===a&&(a=sr)),e=new ir({anchor:h,anchorOrigin:f,anchorXUnits:l,anchorYUnits:m,crossOrigin:"anonymous",offset:n,offsetOrigin:"bottom-left",rotation:r,scale:a,size:q,src:e}),b.imageStyle=e):b.imageStyle=ur}},LabelStyle:function(a,b){(a=Q({},ks,a,b))&&(b[b.length-1].textStyle=new K({fill:new Kd({color:"color"in a?a.color:lr}),
scale:a.scale}))},LineStyle:function(a,b){(a=Q({},ls,a,b))&&(b[b.length-1].strokeStyle=new Ld({color:"color"in a?a.color:lr,width:"width"in a?a.width:1}))},PolyStyle:function(a,b){if(a=Q({},ss,a,b)){b=b[b.length-1];b.fillStyle=new Kd({color:"color"in a?a.color:lr});var c=a.fill;void 0!==c&&(b.fill=c);a=a.outline;void 0!==a&&(b.outline=a)}}}),qs=P(Ar,{Pair:function(a,b){if(a=Q({},ps,a,b)){var c=a.key;c&&"normal"==c&&((c=a.styleUrl)&&(b[b.length-1]=c),(a=a.Style)&&(b[b.length-1]=a))}}});k=jr.prototype;
k.Yh=function(a,b){var c=P(Ar,{Document:Co(this.Yh,this),Folder:Co(this.Yh,this),Placemark:Do(this.fi,this),Style:this.wr.bind(this),StyleMap:this.vr.bind(this)});if(a=Q([],c,a,b,this))return a};k.fi=function(a,b){var c=Q({geometry:null},rs,a,b);if(c){var d=new C;a=a.getAttribute("id");null!==a&&d.Ub(a);b=b[0];(a=c.geometry)&&Vd(a,!1,b);d.Qa(a);delete c.geometry;this.c&&d.nb(Dr(c.Style,c.styleUrl,this.a,this.b,this.j));delete c.Style;d.I(c);return d}};
k.wr=function(a,b){var c=a.getAttribute("id");null!==c&&(b=Xr(a,b))&&(a=a.baseURI,a&&"about:blank"!=a||(a=window.location.href),c=a?(new URL("#"+c,a)).href:"#"+c,this.b[c]=b)};k.vr=function(a,b){var c=a.getAttribute("id");null!==c&&(b=Q(void 0,qs,a,b))&&(a=a.baseURI,a&&"about:blank"!=a||(a=window.location.href),c=a?(new URL("#"+c,a)).href:"#"+c,this.b[c]=b)};k.$h=function(a,b){return ne(Ar,a.namespaceURI)?(a=this.fi(a,[Td(this,a,b)]))?a:null:null};
k.Dd=function(a,b){if(!ne(Ar,a.namespaceURI))return[];var c=a.localName;if("Document"==c||"Folder"==c)return(c=this.Yh(a,[Td(this,a,b)]))?c:[];if("Placemark"==c)return(b=this.fi(a,[Td(this,a,b)]))?[b]:[];if("kml"==c){c=[];for(a=a.firstElementChild;a;a=a.nextElementSibling){var d=this.Dd(a,b);d&&qe(c,d)}return c}return[]};k.pr=function(a){if(zo(a))return ts(this,a);if(Ao(a))return us(this,a);if("string"===typeof a)return a=Bo(a),ts(this,a)};
function ts(a,b){for(b=b.firstChild;b;b=b.nextSibling)if(b.nodeType==Node.ELEMENT_NODE){var c=us(a,b);if(c)return c}}function us(a,b){var c;for(c=b.firstElementChild;c;c=c.nextElementSibling)if(ne(Ar,c.namespaceURI)&&"name"==c.localName)return T(c);for(c=b.firstElementChild;c;c=c.nextElementSibling)if(b=c.localName,ne(Ar,c.namespaceURI)&&("Document"==b||"Folder"==b||"Placemark"==b||"kml"==b)&&(b=us(a,c)))return b}
k.qr=function(a){var b=[];zo(a)?qe(b,vs(this,a)):Ao(a)?qe(b,ws(this,a)):"string"===typeof a&&(a=Bo(a),qe(b,vs(this,a)));return b};function vs(a,b){var c=[];for(b=b.firstChild;b;b=b.nextSibling)b.nodeType==Node.ELEMENT_NODE&&qe(c,ws(a,b));return c}
function ws(a,b){var c,d=[];for(c=b.firstElementChild;c;c=c.nextElementSibling)if(ne(Ar,c.namespaceURI)&&"NetworkLink"==c.localName){var e=Q({},os,c,[]);d.push(e)}for(c=b.firstElementChild;c;c=c.nextElementSibling)b=c.localName,!ne(Ar,c.namespaceURI)||"Document"!=b&&"Folder"!=b&&"kml"!=b||qe(d,ws(a,c));return d}k.tr=function(a){var b=[];zo(a)?qe(b,xs(this,a)):Ao(a)?qe(b,this.Dg(a)):"string"===typeof a&&(a=Bo(a),qe(b,xs(this,a)));return b};
function xs(a,b){var c=[];for(b=b.firstChild;b;b=b.nextSibling)b.nodeType==Node.ELEMENT_NODE&&qe(c,a.Dg(b));return c}k.Dg=function(a){var b,c=[];for(b=a.firstElementChild;b;b=b.nextElementSibling)if(ne(Ar,b.namespaceURI)&&"Region"==b.localName){var d=Q({},bs,b,[]);c.push(d)}for(b=a.firstElementChild;b;b=b.nextElementSibling)a=b.localName,!ne(Ar,b.namespaceURI)||"Document"!=a&&"Folder"!=a&&"kml"!=a||qe(c,this.Dg(b));return c};
function ys(a,b){b=Nc(b);b=[255*(4==b.length?b[3]:1),b[2],b[1],b[0]];var c;for(c=0;4>c;++c){var d=parseInt(b[c],10).toString(16);b[c]=1==d.length?"0"+d:d}np(a,b.join(""))}function zs(a,b,c){a={node:a};var d=b.U();if("GeometryCollection"==d){var e=b.te();var f=As}else"MultiPoint"==d?(e=b.bf(),f=Bs):"MultiLineString"==d?(e=b.ue(),f=Cs):"MultiPolygon"==d?(e=b.Se(),f=Ds):ia(!1,39);Mo(a,Es,f,e,c)}function Fs(a,b,c){Mo({node:a},Gs,Hs,[b],c)}
function Is(a,b,c){var d={node:a};b.Ta()&&a.setAttribute("id",b.Ta());a=b.K();var e={address:1,description:1,name:1,open:1,phoneNumber:1,styleUrl:1,visibility:1};e[b.a]=1;var f=Object.keys(a||{}).sort().filter(function(a){return!e[a]});if(0<f.length){var g=Ko(a,f);Mo(d,Js,Ks,[{names:f,values:g}],c)}if(f=b.gb())if(f=f.call(b,0))f=Array.isArray(f)?f[0]:f,this.s&&(a.Style=f),(f=f.Pa())&&(a.name=f.Pa());f=Ls[c[c.length-1].node.namespaceURI];a=Ko(a,f);Mo(d,Js,Jo,a,c,f);a=c[0];(b=b.W())&&(b=Vd(b,!0,a));
Mo(d,Js,As,[b],c)}function Ms(a,b,c){var d=b.na();a={node:a};a.layout=b.xa;a.stride=b.Ea();b=b.K();b.coordinates=d;d=Ns[c[c.length-1].node.namespaceURI];b=Ko(b,d);Mo(a,Os,Jo,b,c,d)}function Ps(a,b,c){b=b.ve();var d=b.shift();a={node:a};Mo(a,Qs,Rs,b,c);Mo(a,Qs,Ss,[d],c)}function Ts(a,b){op(a,Math.round(1E6*b)/1E6)}
var Us=P(Ar,["Document","Placemark"]),Xs=P(Ar,{Document:O(function(a,b,c){Mo({node:a},Vs,Ws,b,c,void 0,this)}),Placemark:O(Is)}),Vs=P(Ar,{Placemark:O(Is)}),Ys=P(Ar,{Data:O(function(a,b,c){a.setAttribute("name",b.name);a={node:a};b=b.value;"object"==typeof b?(null!==b&&b.displayName&&Mo(a,Ys,Jo,[b.displayName],c,["displayName"]),null!==b&&b.value&&Mo(a,Ys,Jo,[b.value],c,["value"])):Mo(a,Ys,Jo,[b],c,["value"])}),value:O(function(a,b){np(a,b)}),displayName:O(function(a,b){a.appendChild(vo.createCDATASection(b))})}),
Zs={Point:"Point",LineString:"LineString",LinearRing:"LinearRing",Polygon:"Polygon",MultiPoint:"MultiGeometry",MultiLineString:"MultiGeometry",MultiPolygon:"MultiGeometry",GeometryCollection:"MultiGeometry"},$s=P(Ar,["href"],P(zr,["x","y","w","h"])),at=P(Ar,{href:O(np)},P(zr,{x:O(op),y:O(op),w:O(op),h:O(op)})),bt=P(Ar,["scale","heading","Icon","hotSpot"]),dt=P(Ar,{Icon:O(function(a,b,c){a={node:a};var d=$s[c[c.length-1].node.namespaceURI],e=Ko(b,d);Mo(a,at,Jo,e,c,d);d=$s[zr[0]];e=Ko(b,d);Mo(a,at,
ct,e,c,d)}),heading:O(op),hotSpot:O(function(a,b){a.setAttribute("x",b.x);a.setAttribute("y",b.y);a.setAttribute("xunits",b.Di);a.setAttribute("yunits",b.Ei)}),scale:O(Ts)}),et=P(Ar,["color","scale"]),ft=P(Ar,{color:O(ys),scale:O(Ts)}),gt=P(Ar,["color","width"]),ht=P(Ar,{color:O(ys),width:O(op)}),Gs=P(Ar,{LinearRing:O(Ms)}),Es=P(Ar,{LineString:O(Ms),Point:O(Ms),Polygon:O(Ps),GeometryCollection:O(zs)}),Ls=P(Ar,"name open visibility address phoneNumber description styleUrl Style".split(" ")),Js=P(Ar,
{ExtendedData:O(function(a,b,c){a={node:a};var d=b.names;b=b.values;for(var e=d.length,f=0;f<e;f++)Mo(a,Ys,it,[{name:d[f],value:b[f]}],c)}),MultiGeometry:O(zs),LineString:O(Ms),LinearRing:O(Ms),Point:O(Ms),Polygon:O(Ps),Style:O(function(a,b,c){a={node:a};var d={},e=b.Ya(),f=b.ab(),g=b.fa();b=b.Pa();g instanceof ir&&(d.IconStyle=g);b&&(d.LabelStyle=b);f&&(d.LineStyle=f);e&&(d.PolyStyle=e);b=jt[c[c.length-1].node.namespaceURI];d=Ko(d,b);Mo(a,kt,Jo,d,c,b)}),address:O(np),description:O(np),name:O(np),
open:O(mp),phoneNumber:O(np),styleUrl:O(np),visibility:O(mp)}),Ns=P(Ar,["extrude","tessellate","altitudeMode","coordinates"]),Os=P(Ar,{extrude:O(mp),tessellate:O(mp),altitudeMode:O(np),coordinates:O(function(a,b,c){c=c[c.length-1];var d=c.layout;c=c.stride;var e;"XY"==d||"XYM"==d?e=2:"XYZ"==d||"XYZM"==d?e=3:ia(!1,34);var f,g=b.length,h="";if(0<g){h+=b[0];for(d=1;d<e;++d)h+=","+b[d];for(f=c;f<g;f+=c)for(h+=" "+b[f],d=1;d<e;++d)h+=","+b[f+d]}np(a,h)})}),Qs=P(Ar,{outerBoundaryIs:O(Fs),innerBoundaryIs:O(Fs)}),
lt=P(Ar,{color:O(ys)}),jt=P(Ar,["IconStyle","LabelStyle","LineStyle","PolyStyle"]),kt=P(Ar,{IconStyle:O(function(a,b,c){a={node:a};var d={},e=b.a.j,f=b.La(),g=b.Rf();e={href:e};if(f){e.w=f[0];e.h=f[1];var h=b.Ld(),l=b.Xd();l&&g&&0!==l[0]&&l[1]!==f[1]&&(e.x=l[0],e.y=g[1]-(l[1]+f[1]));!h||h[0]===f[0]/2&&h[1]===f[1]/2||(d.hotSpot={x:h[0],Di:"pixels",y:f[1]-h[1],Ei:"pixels"})}d.Icon=e;f=b.l;1!==f&&(d.scale=f);b=b.s;0!==b&&(d.heading=b);b=bt[c[c.length-1].node.namespaceURI];d=Ko(d,b);Mo(a,dt,Jo,d,c,b)}),
LabelStyle:O(function(a,b,c){a={node:a};var d={},e=b.Ya();e&&(d.color=e.b);(b=b.a)&&1!==b&&(d.scale=b);b=et[c[c.length-1].node.namespaceURI];d=Ko(d,b);Mo(a,ft,Jo,d,c,b)}),LineStyle:O(function(a,b,c){a={node:a};var d=gt[c[c.length-1].node.namespaceURI];b=Ko({color:b.a,width:b.c},d);Mo(a,ht,Jo,b,c,d)}),PolyStyle:O(function(a,b,c){Mo({node:a},lt,mt,[b.b],c)})});function ct(a,b,c){return wo(zr[0],"gx:"+c)}function Ws(a,b){return wo(b[b.length-1].node.namespaceURI,"Placemark")}
function As(a,b){if(a)return wo(b[b.length-1].node.namespaceURI,Zs[a.U()])}var mt=Ho("color"),it=Ho("Data"),Ks=Ho("ExtendedData"),Rs=Ho("innerBoundaryIs"),Bs=Ho("Point"),Cs=Ho("LineString"),Hs=Ho("LinearRing"),Ds=Ho("Polygon"),Ss=Ho("outerBoundaryIs");
jr.prototype.$c=function(a,b){b=Ud(this,b);var c=wo(Ar[4],"kml");c.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:gx",zr[0]);c.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xsi","http://www.w3.org/2001/XMLSchema-instance");c.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation","http://www.opengis.net/kml/2.2 https://developers.google.com/kml/schema/kml22gx.xsd");var d={node:c},e={};1<a.length?e.Document=a:1==a.length&&(e.Placemark=a[0]);a=Us[c.namespaceURI];
e=Ko(e,a);Mo(d,Xs,Jo,e,[b],a,this);return c};Oj.Le=function(){};
(function(a){function b(a){this.od=ArrayBuffer.isView&&ArrayBuffer.isView(a)?a:new Uint8Array(a||0);this.type=this.ra=0;this.length=this.od.length}function c(a,b,c){var e=c.od;var f=e[c.ra++];var g=(f&112)>>4;if(128>f)return d(a,g,b);f=e[c.ra++];g|=(f&127)<<3;if(128>f)return d(a,g,b);f=e[c.ra++];g|=(f&127)<<10;if(128>f)return d(a,g,b);f=e[c.ra++];g|=(f&127)<<17;if(128>f)return d(a,g,b);f=e[c.ra++];g|=(f&127)<<24;if(128>f)return d(a,g,b);f=e[c.ra++];if(128>f)return d(a,g|(f&1)<<31,b);throw Error("Expected varint not more than 10 bytes");
}function d(a,b,c){return c?4294967296*b+(a>>>0):4294967296*(b>>>0)+(a>>>0)}var e={read:function(a,b,c,d,e){var f=8*e-d-1;var g=(1<<f)-1,h=g>>1,l=-7;e=c?e-1:0;var m=c?-1:1,v=a[b+e];e+=m;c=v&(1<<-l)-1;v>>=-l;for(l+=f;0<l;c=256*c+a[b+e],e+=m,l-=8);f=c&(1<<-l)-1;c>>=-l;for(l+=d;0<l;f=256*f+a[b+e],e+=m,l-=8);if(0===c)c=1-h;else{if(c===g)return f?NaN:Infinity*(v?-1:1);f+=Math.pow(2,d);c-=h}return(v?-1:1)*f*Math.pow(2,c-d)},write:function(a,b,c,d,e,n){var f,g=8*n-e-1,h=(1<<g)-1,l=h>>1,m=23===e?Math.pow(2,
-24)-Math.pow(2,-77):0;n=d?0:n-1;var y=d?1:-1,z=0>b||0===b&&0>1/b?1:0;b=Math.abs(b);isNaN(b)||Infinity===b?(b=isNaN(b)?1:0,d=h):(d=Math.floor(Math.log(b)/Math.LN2),1>b*(f=Math.pow(2,-d))&&(d--,f*=2),b=1<=d+l?b+m/f:b+m*Math.pow(2,1-l),2<=b*f&&(d++,f/=2),d+l>=h?(b=0,d=h):1<=d+l?(b=(b*f-1)*Math.pow(2,e),d+=l):(b=b*Math.pow(2,l-1)*Math.pow(2,e),d=0));for(;8<=e;a[c+n]=b&255,n+=y,b/=256,e-=8);d=d<<e|b;for(g+=e;0<g;a[c+n]=d&255,n+=y,d/=256,g-=8);a[c+n-y]|=128*z}};b.c=0;b.l=1;b.b=2;b.a=5;b.prototype={ci:function(a,
b,c){for(c=c||this.length;this.ra<c;){var d=this.pb(),e=d>>3,f=this.ra;this.type=d&7;a(e,b,this);this.ra===f&&this.ws(d)}return b},kr:function(){var a=e.read(this.od,this.ra,!0,23,4);this.ra+=4;return a},gr:function(){var a=e.read(this.od,this.ra,!0,52,8);this.ra+=8;return a},pb:function(a){var b=this.od;var d=b[this.ra++];var e=d&127;if(128>d)return e;d=b[this.ra++];e|=(d&127)<<7;if(128>d)return e;d=b[this.ra++];e|=(d&127)<<14;if(128>d)return e;d=b[this.ra++];e|=(d&127)<<21;if(128>d)return e;d=b[this.ra];
return c(e|(d&15)<<28,a,this)},xr:function(){return this.pb(!0)},ii:function(){var a=this.pb();return 1===a%2?(a+1)/-2:a/2},er:function(){return!!this.pb()},ki:function(){for(var a=this.pb()+this.ra,b=this.od,c="",d=this.ra;d<a;){var e=b[d],n=null,p=239<e?4:223<e?3:191<e?2:1;if(d+p>a)break;if(1===p)128>e&&(n=e);else if(2===p){var q=b[d+1];128===(q&192)&&(n=(e&31)<<6|q&63,127>=n&&(n=null))}else if(3===p){q=b[d+1];var r=b[d+2];128===(q&192)&&128===(r&192)&&(n=(e&15)<<12|(q&63)<<6|r&63,2047>=n||55296<=
n&&57343>=n)&&(n=null)}else if(4===p){q=b[d+1];r=b[d+2];var u=b[d+3];128===(q&192)&&128===(r&192)&&128===(u&192)&&(n=(e&15)<<18|(q&63)<<12|(r&63)<<6|u&63,65535>=n||1114112<=n)&&(n=null)}null===n?(n=65533,p=1):65535<n&&(n-=65536,c+=String.fromCharCode(n>>>10&1023|55296),n=56320|n&1023);c+=String.fromCharCode(n);d+=p}this.ra=a;return c},ws:function(a){a&=7;if(a===b.c)for(;127<this.od[this.ra++];);else if(a===b.b)this.ra=this.pb()+this.ra;else if(a===b.a)this.ra+=4;else if(a===b.l)this.ra+=8;else throw Error("Unimplemented type: "+
a);}};a["default"]=b})(Oj.Le=Oj.Le||{});Oj.Le=Oj.Le.default;function nt(a,b,c,d,e){this.o=e;this.j=a;this.b=b;this.a=this.c=null;this.l=c;this.s=d;this.u=yc()}k=nt.prototype;k.get=function(a){return this.s[a]};k.Jb=nt.prototype.re=function(){return this.l};k.G=function(){this.g||(this.g="Point"===this.j?Oa(this.b):Pa(this.b,0,this.b.length,2));return this.g};k.Re=function(){if(!this.c){var a=cb(this.G());this.c=Fg(this.b,0,this.l,2,a,0)}return this.c};k.Pf=function(){this.a||(this.a=Tk(this.b,0,this.b.length,2,.5));return this.a};
k.Qf=function(){if(!this.a){this.a=[];for(var a=this.b,b=0,c=this.l,d=0,e=c.length;d<e;++d){var f=c[d];b=Tk(a,b,f,2,.5);qe(this.a,b);b=f}}return this.a};k.Ta=function(){return this.o};k.Wc=function(){return this.b};k.na=nt.prototype.Wc;k.W=function(){return this};k.K=function(){return this.s};k.Ue=nt.prototype.W;k.Ea=function(){return 2};k.gb=da;k.U=function(){return this.j};
k.transform=function(a){var b=a.G();a=a.sf;b=bb(a)/bb(b);var c=this.u;Ic(c,a[0],a[3],b,-b,0,0,0);vc(this.b,0,this.b.length,2,c,this.b)};function ot(a){Sd.call(this);a=a?a:{};this.defaultDataProjection=new kb({code:"EPSG:3857",units:"tile-pixels"});this.b=a.featureClass?a.featureClass:nt;this.l=a.geometryName;this.j=a.layerName?a.layerName:"layer";this.c=a.layers?a.layers:null;this.a=null}w(ot,Sd);function pt(a,b,c){if(3===a){a={keys:[],values:[],features:[]};var d=c.pb()+c.ra;c.ci(qt,a,d);a.length=a.features.length;a.length&&(b[a.name]=a)}}
function qt(a,b,c){if(15===a)b.version=c.pb();else if(1===a)b.name=c.ki();else if(5===a)b.extent=c.pb();else if(2===a)b.features.push(c.ra);else if(3===a)b.keys.push(c.ki());else if(4===a){a=null;for(var d=c.pb()+c.ra;c.ra<d;)a=c.pb()>>3,a=1===a?c.ki():2===a?c.kr():3===a?c.gr():4===a?c.xr():5===a?c.pb():6===a?c.ii():7===a?c.er():null;b.values.push(a)}}
function rt(a,b,c){if(1==a)b.id=c.pb();else if(2==a)for(a=c.pb()+c.ra;c.ra<a;){var d=b.layer.keys[c.pb()],e=b.layer.values[c.pb()];b.properties[d]=e}else 3==a?b.type=c.pb():4==a&&(b.geometry=c.ra)}
function st(a,b,c){var d=c.type;if(0===d)return null;var e=c.id,f=c.properties;f[a.j]=c.layer.name;var g=[];var h=[],l=h;b.ra=c.geometry;c=b.pb()+b.ra;for(var m=1,n=0,p=0,q=0,r=0,u=0;b.ra<c;)n||(n=b.pb(),m=n&7,n>>=3),n--,1===m||2===m?(p+=b.ii(),q+=b.ii(),1===m&&r>u&&(l.push(r),u=r),g.push(p,q),r+=2):7===m?r>u&&(g.push(g[u],g[u+1]),r+=2):ia(!1,59);r>u&&l.push(r);b=h.length;var v;1===d?v=1===b?"Point":"MultiPoint":2===d?v=1===b?"LineString":"MultiLineString":3===d&&(v="Polygon");d=v;if(a.b===nt)g=new a.b(d,
g,h,f,e);else{if("Polygon"==d){d=[];l=b=v=0;for(c=h.length;l<c;++l)m=h[l],Og(g,v,m,2)||(d.push(h.slice(b,l)),b=l),v=m;1<d.length?(h=d,d=new S(null)):d=new F(null)}else d="Point"===d?new D(null):"LineString"===d?new J(null):"Polygon"===d?new F(null):"MultiPoint"===d?new So(null):"MultiLineString"===d?new R(null):null;d.ka("XY",g,h);g=new a.b;a.l&&g.bc(a.l);a=Vd(d,!1,Ud(a,void 0));g.Qa(a);g.Ub(e);g.I(f)}return g}k=ot.prototype;k.ph=function(){return this.a};k.U=function(){return"arraybuffer"};
k.$a=function(a){var b=this.c;a=new Oj.Le(a);var c=a.ci(pt,{}),d=[],e;for(e in c)if(!b||-1!=b.indexOf(e)){var f=c[e];for(var g,h=0,l=f.length;h<l;++h){g=a;var m=f;g.ra=m.features[h];var n=g.pb()+g.ra;m={layer:m,type:0,properties:{}};g.ci(rt,m,n);g=m;d.push(st(this,a,g))}this.a=f?[0,0,f.extent,f.extent]:null}return d};k.yb=function(){return this.defaultDataProjection};k.pp=function(a){this.c=a};k.ac=function(){};k.Xc=function(){};k.ld=function(){};k.ad=function(){};k.ec=function(){};function tt(){ap.call(this);this.defaultDataProjection=Ib("EPSG:4326")}w(tt,ap);function ut(a,b){b[b.length-1].pf[a.getAttribute("k")]=a.getAttribute("v")}
var vt=[null],wt=P(vt,{nd:function(a,b){b[b.length-1].ze.push(a.getAttribute("ref"))},tag:ut}),yt=P(vt,{node:function(a,b){var c=b[0],d=b[b.length-1],e=a.getAttribute("id"),f=[parseFloat(a.getAttribute("lon")),parseFloat(a.getAttribute("lat"))];d.wj[e]=f;a=Q({pf:{}},xt,a,b);Cb(a.pf)||(f=new D(f),Vd(f,!1,c),c=new C(f),c.Ub(e),c.I(a.pf),d.features.push(c))},way:function(a,b){var c=a.getAttribute("id");a=Q({id:c,ze:[],pf:{}},wt,a,b);b[b.length-1].Ai.push(a)}}),xt=P(vt,{tag:ut});
tt.prototype.Dd=function(a,b){b=Td(this,a,b);if("osm"==a.localName){a=Q({wj:{},Ai:[],features:[]},yt,a,[b]);for(var c=0;c<a.Ai.length;c++){for(var d=a.Ai[c],e=[],f=0,g=d.ze.length;f<g;f++)qe(e,a.wj[d.ze[f]]);d.ze[0]==d.ze[d.ze.length-1]?(f=new F(null),f.ka("XY",e,[e.length])):(f=new J(null),f.ka("XY",e));Vd(f,!1,b);e=new C(f);e.Ub(d.id);e.I(d.pf);a.features.push(e)}if(a.features)return a.features}return[]};tt.prototype.Bi=function(){};tt.prototype.$c=function(){};tt.prototype.vf=function(){};function zt(a,b,c,d){var e;void 0!==d?e=d:e=[];for(var f=d=0;f<b;){var g=a[f++];e[d++]=a[f++];e[d++]=g;for(g=2;g<c;++g)e[d++]=a[f++]}e.length=d};function At(a){a=a?a:{};Sd.call(this);this.defaultDataProjection=Ib("EPSG:4326");this.b=a.factor?a.factor:1E5;this.a=a.geometryLayout?a.geometryLayout:"XY"}w(At,$q);function Bt(a,b,c){var d,e=Array(b);for(d=0;d<b;++d)e[d]=0;var f;var g=0;for(f=a.length;g<f;)for(d=0;d<b;++d,++g){var h=a[g],l=h-e[d];e[d]=h;a[g]=l}return Ct(a,c?c:1E5)}function Dt(a,b,c){var d,e=Array(b);for(d=0;d<b;++d)e[d]=0;a=Et(a,c?c:1E5);var f;c=0;for(f=a.length;c<f;)for(d=0;d<b;++d,++c)e[d]+=a[c],a[c]=e[d];return a}
function Ct(a,b){b=b?b:1E5;var c;var d=0;for(c=a.length;d<c;++d)a[d]=Math.round(a[d]*b);b=0;for(d=a.length;b<d;++b)c=a[b],a[b]=0>c?~(c<<1):c<<1;b="";d=0;for(c=a.length;d<c;++d){for(var e,f=a[d],g="";32<=f;)e=(32|f&31)+63,g+=String.fromCharCode(e),f>>=5;g+=String.fromCharCode(f+63);b+=g}return b}
function Et(a,b){b=b?b:1E5;var c=[],d=0,e=0,f;var g=0;for(f=a.length;g<f;++g){var h=a.charCodeAt(g)-63;d|=(h&31)<<e;32>h?(c.push(d),e=d=0):e+=5}a=0;for(d=c.length;a<d;++a)e=c[a],c[a]=e&1?~(e>>1):e>>1;a=0;for(d=c.length;a<d;++a)c[a]/=b;return c}k=At.prototype;k.cf=function(a,b){a=this.Ge(a,b);return new C(a)};k.bi=function(a,b){return[this.cf(a,b)]};k.Ge=function(a,b){var c=Xd(this.a);a=Dt(a,c,this.b);zt(a,a.length,c,a);c=vg(a,0,a.length,c);return Vd(new J(c,this.a),!1,Ud(this,b))};
k.tf=function(a,b){if(a=a.W())return this.Ke(a,b);ia(!1,40);return""};k.Ci=function(a,b){return this.tf(a[0],b)};k.Ke=function(a,b){a=Vd(a,!0,Ud(this,b));b=a.na();a=a.Ea();zt(b,b.length,a,b);return Bt(b,a,this.b)};function Ft(a){a=a?a:{};Sd.call(this);this.a=a.layerName;this.b=a.layers?a.layers:null;this.defaultDataProjection=Ib(a.defaultDataProjection?a.defaultDataProjection:"EPSG:4326")}w(Ft,Po);function Gt(a,b){var c=[],d,e;var f=0;for(e=a.length;f<e;++f){var g=a[f];0<f&&c.pop();0<=g?d=b[g]:d=b[~g].slice().reverse();c.push.apply(c,d)}a=0;for(b=c.length;a<b;++a)c[a]=c[a].slice();return c}
function Ht(a,b,c,d,e,f,g){a=a.geometries;var h=[],l;var m=0;for(l=a.length;m<l;++m)h[m]=It(a[m],b,c,d,e,f,g);return h}function It(a,b,c,d,e,f,g){var h=a.type,l=Jt[h];c="Point"===h||"MultiPoint"===h?l(a,c,d):l(a,b);b=new C;b.Qa(Vd(c,!1,g));void 0!==a.id&&b.Ub(a.id);a=a.properties;e&&(a||(a={}),a[e]=f);a&&b.I(a);return b}
Ft.prototype.ai=function(a,b){if("Topology"==a.type){var c=null,d=null;if(a.transform){var e=a.transform;c=e.scale;d=e.translate}var f=a.arcs;if(e){e=c;var g=d,h;var l=0;for(h=f.length;l<h;++l){var m,n=f[l],p=e,q=g,r=0,u=0;var v=0;for(m=n.length;v<m;++v){var y=n[v];r+=y[0];u+=y[1];y[0]=r;y[1]=u;Kt(y,p,q)}}}e=[];a=a.objects;g=this.a;for(var z in a)this.b&&-1==this.b.indexOf(z)||("GeometryCollection"===a[z].type?(l=a[z],e.push.apply(e,Ht(l,f,c,d,g,z,b))):(l=a[z],e.push(It(l,f,c,d,g,z,b))));return e}return[]};
function Kt(a,b,c){a[0]=a[0]*b[0]+c[0];a[1]=a[1]*b[1]+c[1]}Ft.prototype.hi=function(){return this.defaultDataProjection};
var Jt={Point:function(a,b,c){a=a.coordinates;b&&c&&Kt(a,b,c);return new D(a)},LineString:function(a,b){a=Gt(a.arcs,b);return new J(a)},Polygon:function(a,b){var c=[],d;var e=0;for(d=a.arcs.length;e<d;++e)c[e]=Gt(a.arcs[e],b);return new F(c)},MultiPoint:function(a,b,c){a=a.coordinates;var d;if(b&&c){var e=0;for(d=a.length;e<d;++e)Kt(a[e],b,c)}return new So(a)},MultiLineString:function(a,b){var c=[],d;var e=0;for(d=a.arcs.length;e<d;++e)c[e]=Gt(a.arcs[e],b);return new R(c)},MultiPolygon:function(a,
b){var c=[],d,e;var f=0;for(e=a.arcs.length;f<e;++f){var g=a.arcs[f];var h=[];var l=0;for(d=g.length;l<d;++l)h[l]=Gt(g[l],b);c[f]=h}return new S(c)}};k=Ft.prototype;k.le=function(){};k.uf=function(){};k.wf=function(){};k.ei=function(){};k.ae=function(){};function Lt(a){this.jd=a};function Mt(a,b){this.jd=a;this.b=Array.prototype.slice.call(arguments,1);ia(2<=this.b.length,57)}w(Mt,Lt);function Nt(a){var b=["And"].concat(Array.prototype.slice.call(arguments));Mt.apply(this,b)}w(Nt,Mt);function Ot(a,b,c){this.jd="BBOX";this.geometryName=a;this.extent=b;this.srsName=c}w(Ot,Lt);function Pt(a,b,c,d){this.jd=a;this.geometryName=b||"the_geom";this.geometry=c;this.srsName=d}w(Pt,Lt);function Qt(a,b,c){Pt.call(this,"Contains",a,b,c)}w(Qt,Pt);function Rt(a,b){this.jd=a;this.b=b}w(Rt,Lt);function St(a,b,c){Rt.call(this,"During",a);this.a=b;this.l=c}w(St,Rt);function Tt(a,b,c,d){Rt.call(this,a,b);this.l=c;this.a=d}w(Tt,Rt);function Ut(a,b,c){Tt.call(this,"PropertyIsEqualTo",a,b,c)}w(Ut,Tt);function Vt(a,b){Tt.call(this,"PropertyIsGreaterThan",a,b)}w(Vt,Tt);function Wt(a,b){Tt.call(this,"PropertyIsGreaterThanOrEqualTo",a,b)}w(Wt,Tt);function Xt(a,b,c){Pt.call(this,"Intersects",a,b,c)}w(Xt,Pt);function Yt(a,b,c){Rt.call(this,"PropertyIsBetween",a);this.a=b;this.l=c}w(Yt,Rt);function Zt(a,b,c,d,e,f){Rt.call(this,"PropertyIsLike",a);this.c=b;this.j=void 0!==c?c:"*";this.g=void 0!==d?d:".";this.l=void 0!==e?e:"!";this.a=f}w(Zt,Rt);function $t(a){Rt.call(this,"PropertyIsNull",a)}w($t,Rt);function au(a,b){Tt.call(this,"PropertyIsLessThan",a,b)}w(au,Tt);function bu(a,b){Tt.call(this,"PropertyIsLessThanOrEqualTo",a,b)}w(bu,Tt);function cu(a){this.jd="Not";this.condition=a}w(cu,Lt);function du(a,b,c){Tt.call(this,"PropertyIsNotEqualTo",a,b,c)}w(du,Tt);function eu(a){var b=["Or"].concat(Array.prototype.slice.call(arguments));Mt.apply(this,b)}w(eu,Mt);function fu(a,b,c){Pt.call(this,"Within",a,b,c)}w(fu,Pt);function gu(a){var b=[null].concat(Array.prototype.slice.call(arguments));return new (Function.prototype.bind.apply(Nt,b))}function hu(a,b,c){return new Ot(a,b,c)};function iu(a){a=a?a:{};this.c=a.featureType;this.a=a.featureNS;this.b=a.gmlFormat?a.gmlFormat:new qp;this.o=a.schemaLocation?a.schemaLocation:ju["1.1.0"];ap.call(this)}w(iu,ap);var ju={"1.1.0":"http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd","1.0.0":"http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.0.0/wfs.xsd"};
iu.prototype.Dd=function(a,b){var c={featureType:this.c,featureNS:this.a};zb(c,Td(this,a,b?b:{}));b=[c];this.b.b["http://www.opengis.net/gml"].featureMember=Do(dp.prototype.df);(a=Q([],this.b.b,a,b,this.b))||(a=[]);return a};iu.prototype.s=function(a){if(zo(a))return ku(a);if(Ao(a))return Q({},lu,a,[]);if("string"===typeof a)return a=Bo(a),ku(a)};iu.prototype.j=function(a){if(zo(a))return mu(this,a);if(Ao(a))return nu(this,a);if("string"===typeof a)return a=Bo(a),mu(this,a)};
function mu(a,b){for(b=b.firstChild;b;b=b.nextSibling)if(b.nodeType==Node.ELEMENT_NODE)return nu(a,b)}var ou={"http://www.opengis.net/gml":{boundedBy:N(dp.prototype.zg,"bounds")}};function nu(a,b){var c={},d=lp(b.getAttribute("numberOfFeatures"));c.numberOfFeatures=d;return Q(c,ou,b,[],a.b)}
var pu={"http://www.opengis.net/wfs":{totalInserted:N(kp),totalUpdated:N(kp),totalDeleted:N(kp)}},qu={"http://www.opengis.net/ogc":{FeatureId:Do(function(a){return a.getAttribute("fid")})}},ru={"http://www.opengis.net/wfs":{Feature:function(a,b){Lo(qu,a,b)}}},lu={"http://www.opengis.net/wfs":{TransactionSummary:N(function(a,b){return Q({},pu,a,b)},"transactionSummary"),InsertResults:N(function(a,b){return Q([],ru,a,b)},"insertIds")}};
function ku(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType==Node.ELEMENT_NODE)return Q({},lu,a,[])}var su={"http://www.opengis.net/wfs":{PropertyName:O(np)}};function tu(a,b){var c=wo("http://www.opengis.net/ogc","Filter"),d=wo("http://www.opengis.net/ogc","FeatureId");c.appendChild(d);d.setAttribute("fid",b);a.appendChild(c)}function uu(a,b){a=(a?a:"feature")+":";return 0===b.indexOf(a)?b:a+b}
var vu={"http://www.opengis.net/wfs":{Insert:O(function(a,b,c){var d=c[c.length-1],e=d.gmlVersion;d=wo(d.featureNS,d.featureType);a.appendChild(d);if(2===e){a=zp.prototype;(e=b.Ta())&&d.setAttribute("fid",e);e=c[c.length-1];var f=e.featureNS,g=b.a;e.Tb||(e.Tb={},e.Tb[f]={});var h=b.K();b=[];var l=[];for(n in h){var m=h[n];null!==m&&(b.push(n),l.push(m),n==g||m instanceof Kc?n in e.Tb[f]||(e.Tb[f][n]=O(a.Ij,a)):n in e.Tb[f]||(e.Tb[f][n]=O(np)))}var n=zb({},e);n.node=d;Mo(n,e.Tb,Ho(void 0,f),l,c,b)}else qp.prototype.Qj(d,
b,c)}),Update:O(function(a,b,c){var d=c[c.length-1];ia(void 0!==b.Ta(),27);var e=d.featurePrefix,f=d.featureNS,g=b.a;a.setAttribute("typeName",uu(e,d.featureType));a.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:"+e,f);e=b.Ta();if(void 0!==e){f=b.P();for(var h=[],l=0,m=f.length;l<m;l++){var n=b.get(f[l]);if(void 0!==n){var p=f[l];n instanceof Kc&&(p=g);h.push({name:p,value:n})}}Mo({gmlVersion:d.gmlVersion,node:a,hasZ:d.hasZ,srsName:d.srsName},vu,Ho("Property"),h,c);tu(a,e)}}),Delete:O(function(a,
b,c){c=c[c.length-1];ia(void 0!==b.Ta(),26);var d=c.featurePrefix,e=c.featureNS;a.setAttribute("typeName",uu(d,c.featureType));a.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:"+d,e);b=b.Ta();void 0!==b&&tu(a,b)}),Property:O(function(a,b,c){var d=wo("http://www.opengis.net/wfs","Name"),e=c[c.length-1].gmlVersion;a.appendChild(d);np(d,b.name);void 0!==b.value&&null!==b.value&&(d=wo("http://www.opengis.net/wfs","Value"),a.appendChild(d),b.value instanceof Kc?2===e?zp.prototype.Ij(d,b.value,c):
qp.prototype.Td(d,b.value,c):np(d,b.value))}),Native:O(function(a,b){b.Gs&&a.setAttribute("vendorId",b.Gs);void 0!==b.Yr&&a.setAttribute("safeToIgnore",b.Yr);void 0!==b.value&&np(a,b.value)})}};function wu(a,b,c){a={node:a};b=b.b;for(var d=0,e=b.length;d<e;++d){var f=b[d];Mo(a,xu,Ho(f.jd),[f],c)}}function yu(a,b){void 0!==b.a&&a.setAttribute("matchCase",b.a.toString());zu(a,b.b);Au(a,""+b.l)}function Bu(a,b,c){a=wo("http://www.opengis.net/ogc",a);np(a,c);b.appendChild(a)}
function zu(a,b){Bu("PropertyName",a,b)}function Au(a,b){Bu("Literal",a,b)}function Cu(a,b){var c=wo("http://www.opengis.net/gml","TimeInstant");a.appendChild(c);a=wo("http://www.opengis.net/gml","timePosition");c.appendChild(a);np(a,b)}
var xu={"http://www.opengis.net/wfs":{Query:O(function(a,b,c){var d=c[c.length-1],e=d.featurePrefix,f=d.featureNS,g=d.propertyNames,h=d.srsName;a.setAttribute("typeName",e?uu(e,b):b);h&&a.setAttribute("srsName",h);f&&a.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:"+e,f);b=zb({},d);b.node=a;Mo(b,su,Ho("PropertyName"),g,c);if(d=d.filter)g=wo("http://www.opengis.net/ogc","Filter"),a.appendChild(g),Mo({node:g},xu,Ho(d.jd),[d],c)})},"http://www.opengis.net/ogc":{During:O(function(a,b){var c=wo("http://www.opengis.net/fes",
"ValueReference");np(c,b.b);a.appendChild(c);c=wo("http://www.opengis.net/gml","TimePeriod");a.appendChild(c);a=wo("http://www.opengis.net/gml","begin");c.appendChild(a);Cu(a,b.a);a=wo("http://www.opengis.net/gml","end");c.appendChild(a);Cu(a,b.l)}),And:O(wu),Or:O(wu),Not:O(function(a,b,c){b=b.condition;Mo({node:a},xu,Ho(b.jd),[b],c)}),BBOX:O(function(a,b,c){c[c.length-1].srsName=b.srsName;zu(a,b.geometryName);qp.prototype.Td(a,b.extent,c)}),Contains:O(function(a,b,c){c[c.length-1].srsName=b.srsName;
zu(a,b.geometryName);qp.prototype.Td(a,b.geometry,c)}),Intersects:O(function(a,b,c){c[c.length-1].srsName=b.srsName;zu(a,b.geometryName);qp.prototype.Td(a,b.geometry,c)}),Within:O(function(a,b,c){c[c.length-1].srsName=b.srsName;zu(a,b.geometryName);qp.prototype.Td(a,b.geometry,c)}),PropertyIsEqualTo:O(yu),PropertyIsNotEqualTo:O(yu),PropertyIsLessThan:O(yu),PropertyIsLessThanOrEqualTo:O(yu),PropertyIsGreaterThan:O(yu),PropertyIsGreaterThanOrEqualTo:O(yu),PropertyIsNull:O(function(a,b){zu(a,b.b)}),
PropertyIsBetween:O(function(a,b){zu(a,b.b);var c=wo("http://www.opengis.net/ogc","LowerBoundary");a.appendChild(c);Au(c,""+b.a);c=wo("http://www.opengis.net/ogc","UpperBoundary");a.appendChild(c);Au(c,""+b.l)}),PropertyIsLike:O(function(a,b){a.setAttribute("wildCard",b.j);a.setAttribute("singleChar",b.g);a.setAttribute("escapeChar",b.l);void 0!==b.a&&a.setAttribute("matchCase",b.a.toString());zu(a,b.b);Au(a,""+b.c)})}};
iu.prototype.u=function(a){var b=wo("http://www.opengis.net/wfs","GetFeature");b.setAttribute("service","WFS");b.setAttribute("version","1.1.0");if(a){a.handle&&b.setAttribute("handle",a.handle);a.outputFormat&&b.setAttribute("outputFormat",a.outputFormat);void 0!==a.maxFeatures&&b.setAttribute("maxFeatures",a.maxFeatures);a.resultType&&b.setAttribute("resultType",a.resultType);void 0!==a.startIndex&&b.setAttribute("startIndex",a.startIndex);void 0!==a.count&&b.setAttribute("count",a.count);var c=
a.filter;if(a.bbox){ia(a.geometryName,12);var d=hu(a.geometryName,a.bbox,a.srsName);c?c=gu(c,d):c=d}}b.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",this.o);c={node:b,srsName:a.srsName,featureNS:a.featureNS?a.featureNS:this.a,featurePrefix:a.featurePrefix,geometryName:a.geometryName,filter:c,propertyNames:a.propertyNames?a.propertyNames:[]};ia(Array.isArray(a.featureTypes),11);a=a.featureTypes;c=[c];d=zb({},c[c.length-1]);d.node=b;Mo(d,xu,Ho("Query"),a,c);return b};
iu.prototype.H=function(a,b,c,d){var e=[],f=wo("http://www.opengis.net/wfs","Transaction"),g=d.version?d.version:"1.1.0",h="1.0.0"===g?2:3;f.setAttribute("service","WFS");f.setAttribute("version",g);if(d){var l=d.gmlOptions?d.gmlOptions:{};d.handle&&f.setAttribute("handle",d.handle)}f.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",ju[g]);var m=d.featurePrefix?d.featurePrefix:"feature";a&&(g={node:f,featureNS:d.featureNS,featureType:d.featureType,featurePrefix:m,gmlVersion:h,
hasZ:d.hasZ,srsName:d.srsName},zb(g,l),Mo(g,vu,Ho("Insert"),a,e));b&&(g={node:f,featureNS:d.featureNS,featureType:d.featureType,featurePrefix:m,gmlVersion:h,hasZ:d.hasZ,srsName:d.srsName},zb(g,l),Mo(g,vu,Ho("Update"),b,e));c&&Mo({node:f,featureNS:d.featureNS,featureType:d.featureType,featurePrefix:m,gmlVersion:h,srsName:d.srsName},vu,Ho("Delete"),c,e);d.nativeElements&&Mo({node:f,featureNS:d.featureNS,featureType:d.featureType,featurePrefix:m,gmlVersion:h,srsName:d.srsName},vu,Ho("Native"),d.nativeElements,
e);return f};iu.prototype.gi=function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType==Node.ELEMENT_NODE)return this.Cg(a);return null};iu.prototype.Cg=function(a){if(a.firstElementChild&&a.firstElementChild.firstElementChild)for(a=a.firstElementChild.firstElementChild,a=a.firstElementChild;a;a=a.nextElementSibling)if(0!==a.childNodes.length&&(1!==a.childNodes.length||3!==a.firstChild.nodeType)){var b=[{}];this.b.zg(a,b);return Ib(b.pop().srsName)}return null};function Du(a){a=a?a:{};Sd.call(this);this.b=void 0!==a.splitCollection?a.splitCollection:!1}w(Du,$q);function Eu(a){a=a.ca();return 0===a.length?"":a.join(" ")}function Fu(a){a=a.ca();for(var b=[],c=0,d=a.length;c<d;++c)b.push(a[c].join(" "));return b.join(",")}function Gu(a){var b=[];a=a.ve();for(var c=0,d=a.length;c<d;++c)b.push("("+Fu(a[c])+")");return b.join(",")}
function Hu(a){var b=a.U(),c=(0,Iu[b])(a);b=b.toUpperCase();if(a instanceof Wd){a=a.xa;var d="";if("XYZ"===a||"XYZM"===a)d+="Z";if("XYM"===a||"XYZM"===a)d+="M";a=d;0<a.length&&(b+=" "+a)}return 0===c.length?b+" EMPTY":b+"("+c+")"}
var Iu={Point:Eu,LineString:Fu,Polygon:Gu,MultiPoint:function(a){var b=[];a=a.bf();for(var c=0,d=a.length;c<d;++c)b.push("("+Eu(a[c])+")");return b.join(",")},MultiLineString:function(a){var b=[];a=a.ue();for(var c=0,d=a.length;c<d;++c)b.push("("+Fu(a[c])+")");return b.join(",")},MultiPolygon:function(a){var b=[];a=a.Se();for(var c=0,d=a.length;c<d;++c)b.push("("+Gu(a[c])+")");return b.join(",")},GeometryCollection:function(a){var b=[];a=a.te();for(var c=0,d=a.length;c<d;++c)b.push(Hu(a[c]));return b.join(",")}};
k=Du.prototype;k.cf=function(a,b){return(a=this.Ge(a,b))?(b=new C,b.Qa(a),b):null};k.bi=function(a,b){var c=[];a=this.Ge(a,b);this.b&&"GeometryCollection"==a.U()?c=a.a:c=[a];b=[];for(var d=0,e=c.length;d<e;++d)a=new C,a.Qa(c[d]),b.push(a);return b};k.Ge=function(a,b){a=new Ju(new Ku(a));Lu(a);return(a=Mu(a))?Vd(a,!1,b):null};k.tf=function(a,b){return(a=a.W())?this.Ke(a,b):""};
k.Ci=function(a,b){if(1==a.length)return this.tf(a[0],b);for(var c=[],d=0,e=a.length;d<e;++d)c.push(a[d].W());a=new Rq(c);return this.Ke(a,b)};k.Ke=function(a,b){return Hu(Vd(a,!0,b))};function Ku(a){this.a=a;this.b=-1}
function Nu(a){var b=a.a.charAt(++a.b),c={position:a.b,value:b};if("("==b)c.type=2;else if(","==b)c.type=5;else if(")"==b)c.type=3;else if("0"<=b&&"9">=b||"."==b||"-"==b){c.type=4;b=a.b;var d=!1,e=!1;do{if("."==f)d=!0;else if("e"==f||"E"==f)e=!0;var f=a.a.charAt(++a.b)}while("0"<=f&&"9">=f||"."==f&&(void 0===d||!d)||!e&&("e"==f||"E"==f)||e&&("-"==f||"+"==f));a=parseFloat(a.a.substring(b,a.b--));c.value=a}else if("a"<=b&&"z">=b||"A"<=b&&"Z">=b){c.type=1;b=a.b;do f=a.a.charAt(++a.b);while("a"<=f&&"z">=
f||"A"<=f&&"Z">=f);a=a.a.substring(b,a.b--).toUpperCase();c.value=a}else{if(" "==b||"\t"==b||"\r"==b||"\n"==b)return Nu(a);if(""===b)c.type=6;else throw Error("Unexpected character: "+b);}return c}function Ju(a){this.l=a;this.a="XY"}function Lu(a){a.b=Nu(a.l)}function Ou(a,b){(b=a.b.type==b)&&Lu(a);return b}
function Mu(a){var b=a.b;if(Ou(a,1)){b=b.value;var c="XY",d=a.b;1==a.b.type&&(d=d.value,"Z"===d?c="XYZ":"M"===d?c="XYM":"ZM"===d&&(c="XYZM"),"XY"!==c&&Lu(a));a.a=c;if("GEOMETRYCOLLECTION"==b){a:{if(Ou(a,2)){b=[];do b.push(Mu(a));while(Ou(a,5));if(Ou(a,3)){a=b;break a}}else if(Pu(a)){a=[];break a}throw Error(Qu(a));}return new Rq(a)}d=Ru[b];c=Su[b];if(!d||!c)throw Error("Invalid geometry type: "+b);b=d.call(a);return new c(b,a.a)}throw Error(Qu(a));}k=Ju.prototype;
k.Wh=function(){if(Ou(this,2)){var a=Tu(this);if(Ou(this,3))return a}else if(Pu(this))return null;throw Error(Qu(this));};k.Vh=function(){if(Ou(this,2)){var a=Uu(this);if(Ou(this,3))return a}else if(Pu(this))return[];throw Error(Qu(this));};k.Xh=function(){if(Ou(this,2)){var a=Vu(this);if(Ou(this,3))return a}else if(Pu(this))return[];throw Error(Qu(this));};
k.Tq=function(){if(Ou(this,2)){var a;if(2==this.b.type)for(a=[this.Wh()];Ou(this,5);)a.push(this.Wh());else a=Uu(this);if(Ou(this,3))return a}else if(Pu(this))return[];throw Error(Qu(this));};k.Sq=function(){if(Ou(this,2)){var a=Vu(this);if(Ou(this,3))return a}else if(Pu(this))return[];throw Error(Qu(this));};k.Uq=function(){if(Ou(this,2)){for(var a=[this.Xh()];Ou(this,5);)a.push(this.Xh());if(Ou(this,3))return a}else if(Pu(this))return[];throw Error(Qu(this));};
function Tu(a){for(var b=[],c=a.a.length,d=0;d<c;++d){var e=a.b;if(Ou(a,4))b.push(e.value);else break}if(b.length==c)return b;throw Error(Qu(a));}function Uu(a){for(var b=[Tu(a)];Ou(a,5);)b.push(Tu(a));return b}function Vu(a){for(var b=[a.Vh()];Ou(a,5);)b.push(a.Vh());return b}function Pu(a){var b=1==a.b.type&&"EMPTY"==a.b.value;b&&Lu(a);return b}function Qu(a){return"Unexpected `"+a.b.value+"` at position "+a.b.position+" in `"+a.l.a+"`"}
var Su={POINT:D,LINESTRING:J,POLYGON:F,MULTIPOINT:So,MULTILINESTRING:R,MULTIPOLYGON:S},Ru={POINT:Ju.prototype.Wh,LINESTRING:Ju.prototype.Vh,POLYGON:Ju.prototype.Xh,MULTIPOINT:Ju.prototype.Tq,MULTILINESTRING:Ju.prototype.Sq,MULTIPOLYGON:Ju.prototype.Uq};function Wu(a){return a.getAttributeNS("http://www.w3.org/1999/xlink","href")};function Xu(){}Xu.prototype.read=function(a){return zo(a)?this.a(a):Ao(a)?this.b(a):"string"===typeof a?(a=Bo(a),this.a(a)):null};function Yu(){this.version=void 0}w(Yu,Xu);Yu.prototype.a=function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType==Node.ELEMENT_NODE)return this.b(a);return null};Yu.prototype.b=function(a){this.version=a.getAttribute("version").trim();return(a=Q({version:this.version},Zu,a,[]))?a:null};function $u(a,b){return Q({},av,a,b)}function bv(a,b){return Q({},cv,a,b)}function dv(a,b){if(b=$u(a,b))return a=[lp(a.getAttribute("width")),lp(a.getAttribute("height"))],b.size=a,b}
function ev(a,b){return Q([],fv,a,b)}
var gv=[null,"http://www.opengis.net/wms"],Zu=P(gv,{Service:N(function(a,b){return Q({},hv,a,b)}),Capability:N(function(a,b){return Q({},iv,a,b)})}),iv=P(gv,{Request:N(function(a,b){return Q({},jv,a,b)}),Exception:N(function(a,b){return Q([],kv,a,b)}),Layer:N(function(a,b){return Q({},lv,a,b)})}),hv=P(gv,{Name:N(T),Title:N(T),Abstract:N(T),KeywordList:N(ev),OnlineResource:N(Wu),ContactInformation:N(function(a,b){return Q({},mv,a,b)}),Fees:N(T),AccessConstraints:N(T),LayerLimit:N(kp),MaxWidth:N(kp),
MaxHeight:N(kp)}),mv=P(gv,{ContactPersonPrimary:N(function(a,b){return Q({},nv,a,b)}),ContactPosition:N(T),ContactAddress:N(function(a,b){return Q({},ov,a,b)}),ContactVoiceTelephone:N(T),ContactFacsimileTelephone:N(T),ContactElectronicMailAddress:N(T)}),nv=P(gv,{ContactPerson:N(T),ContactOrganization:N(T)}),ov=P(gv,{AddressType:N(T),Address:N(T),City:N(T),StateOrProvince:N(T),PostCode:N(T),Country:N(T)}),kv=P(gv,{Format:Do(T)}),lv=P(gv,{Name:N(T),Title:N(T),Abstract:N(T),KeywordList:N(ev),CRS:Fo(T),
EX_GeographicBoundingBox:N(function(a,b){var c=Q({},pv,a,b);if(c){a=c.westBoundLongitude;b=c.southBoundLatitude;var d=c.eastBoundLongitude;c=c.northBoundLatitude;if(void 0!==a&&void 0!==b&&void 0!==d&&void 0!==c)return[a,b,d,c]}}),BoundingBox:Fo(function(a){var b=[jp(a.getAttribute("minx")),jp(a.getAttribute("miny")),jp(a.getAttribute("maxx")),jp(a.getAttribute("maxy"))],c=[jp(a.getAttribute("resx")),jp(a.getAttribute("resy"))];return{crs:a.getAttribute("CRS"),extent:b,res:c}}),Dimension:Fo(function(a){return{name:a.getAttribute("name"),
units:a.getAttribute("units"),unitSymbol:a.getAttribute("unitSymbol"),"default":a.getAttribute("default"),multipleValues:gp(a.getAttribute("multipleValues")),nearestValue:gp(a.getAttribute("nearestValue")),current:gp(a.getAttribute("current")),values:T(a)}}),Attribution:N(function(a,b){return Q({},qv,a,b)}),AuthorityURL:Fo(function(a,b){if(b=$u(a,b))return b.name=a.getAttribute("name"),b}),Identifier:Fo(T),MetadataURL:Fo(function(a,b){if(b=$u(a,b))return b.type=a.getAttribute("type"),b}),DataURL:Fo($u),
FeatureListURL:Fo($u),Style:Fo(function(a,b){return Q({},rv,a,b)}),MinScaleDenominator:N(ip),MaxScaleDenominator:N(ip),Layer:Fo(function(a,b){var c=b[b.length-1],d=Q({},lv,a,b);if(d)return b=gp(a.getAttribute("queryable")),void 0===b&&(b=c.queryable),d.queryable=void 0!==b?b:!1,b=lp(a.getAttribute("cascaded")),void 0===b&&(b=c.cascaded),d.cascaded=b,b=gp(a.getAttribute("opaque")),void 0===b&&(b=c.opaque),d.opaque=void 0!==b?b:!1,b=gp(a.getAttribute("noSubsets")),void 0===b&&(b=c.noSubsets),d.noSubsets=
void 0!==b?b:!1,(b=jp(a.getAttribute("fixedWidth")))||(b=c.fixedWidth),d.fixedWidth=b,(a=jp(a.getAttribute("fixedHeight")))||(a=c.fixedHeight),d.fixedHeight=a,["Style","CRS","AuthorityURL"].forEach(function(a){a in c&&(d[a]=(d[a]||[]).concat(c[a]))}),"EX_GeographicBoundingBox BoundingBox Dimension Attribution MinScaleDenominator MaxScaleDenominator".split(" ").forEach(function(a){a in d||(d[a]=c[a])}),d})}),qv=P(gv,{Title:N(T),OnlineResource:N(Wu),LogoURL:N(dv)}),pv=P(gv,{westBoundLongitude:N(ip),
eastBoundLongitude:N(ip),southBoundLatitude:N(ip),northBoundLatitude:N(ip)}),jv=P(gv,{GetCapabilities:N(bv),GetMap:N(bv),GetFeatureInfo:N(bv)}),cv=P(gv,{Format:Fo(T),DCPType:Fo(function(a,b){return Q({},sv,a,b)})}),sv=P(gv,{HTTP:N(function(a,b){return Q({},tv,a,b)})}),tv=P(gv,{Get:N($u),Post:N($u)}),rv=P(gv,{Name:N(T),Title:N(T),Abstract:N(T),LegendURL:Fo(dv),StyleSheetURL:N($u),StyleURL:N($u)}),av=P(gv,{Format:N(T),OnlineResource:N(Wu)}),fv=P(gv,{Keyword:Do(T)});function uv(a){a=a?a:{};this.a="http://mapserver.gis.umn.edu/mapserver";this.b=new zp;this.c=a.layers?a.layers:null;ap.call(this)}w(uv,ap);
uv.prototype.Dd=function(a,b){var c={};b&&zb(c,Td(this,a,b));c=[c];a.setAttribute("namespaceURI",this.a);var d=a.localName;b=[];if(0!==a.childNodes.length){if("msGMLOutput"==d)for(var e=0,f=a.childNodes.length;e<f;e++){var g=a.childNodes[e];if(g.nodeType===Node.ELEMENT_NODE){var h=c[0],l=g.localName.replace("_layer","");if(!this.c||ne(this.c,l)){l+="_feature";h.featureType=l;h.featureNS=this.a;var m={};m[l]=Do(this.b.Zh,this.b);h=P([h.featureNS,null],m);g.setAttribute("namespaceURI",this.a);(g=Q([],
h,g,c,this.b))&&qe(b,g)}}}"FeatureCollection"==d&&(a=Q([],this.b.b,a,[{}],this.b))&&(b=a)}return b};uv.prototype.Bi=function(){};uv.prototype.$c=function(){};uv.prototype.vf=function(){};function vv(){}w(vv,Xu);vv.prototype.a=function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType==Node.ELEMENT_NODE)return this.b(a);return null};vv.prototype.b=function(a){return(a=Q({},wv,a,[]))?a:null};
var xv=[null,"http://www.opengis.net/ows/1.1"],wv=P(xv,{ServiceIdentification:N(function(a,b){return Q({},yv,a,b)}),ServiceProvider:N(function(a,b){return Q({},zv,a,b)}),OperationsMetadata:N(function(a,b){return Q({},Av,a,b)})}),Bv=P(xv,{DeliveryPoint:N(T),City:N(T),AdministrativeArea:N(T),PostalCode:N(T),Country:N(T),ElectronicMailAddress:N(T)}),Cv=P(xv,{Value:Fo(function(a){return T(a)})}),Dv=P(xv,{AllowedValues:N(function(a,b){return Q({},Cv,a,b)})}),Fv=P(xv,{Phone:N(function(a,b){return Q({},
Ev,a,b)}),Address:N(function(a,b){return Q({},Bv,a,b)})}),Hv=P(xv,{HTTP:N(function(a,b){return Q({},Gv,a,b)})}),Gv=P(xv,{Get:Fo(function(a,b){var c=Wu(a);if(c)return Q({href:c},Iv,a,b)}),Post:void 0}),Jv=P(xv,{DCP:N(function(a,b){return Q({},Hv,a,b)})}),Av=P(xv,{Operation:function(a,b){var c=a.getAttribute("name");(a=Q({},Jv,a,b))&&(b[b.length-1][c]=a)}}),Ev=P(xv,{Voice:N(T),Facsimile:N(T)}),Iv=P(xv,{Constraint:Fo(function(a,b){var c=a.getAttribute("name");if(c)return Q({name:c},Dv,a,b)})}),Kv=P(xv,
{IndividualName:N(T),PositionName:N(T),ContactInfo:N(function(a,b){return Q({},Fv,a,b)})}),yv=P(xv,{Abstract:N(T),AccessConstraints:N(T),Fees:N(T),Title:N(T),ServiceTypeVersion:N(T),ServiceType:N(T)}),zv=P(xv,{ProviderName:N(T),ProviderSite:N(Wu),ServiceContact:N(function(a,b){return Q({},Kv,a,b)})});function Lv(){this.l=new vv}w(Lv,Xu);Lv.prototype.a=function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType==Node.ELEMENT_NODE)return this.b(a);return null};Lv.prototype.b=function(a){var b=a.getAttribute("version").trim(),c=this.l.b(a);if(!c)return null;c.version=b;return(c=Q(c,Mv,a,[]))?c:null};function Zv(a){var b=T(a).split(" ");if(b&&2==b.length&&(a=+b[0],b=+b[1],!isNaN(a)&&!isNaN(b)))return[a,b]}
var $v=[null,"http://www.opengis.net/wmts/1.0"],aw=[null,"http://www.opengis.net/ows/1.1"],Mv=P($v,{Contents:N(function(a,b){return Q({},bw,a,b)})}),bw=P($v,{Layer:Fo(function(a,b){return Q({},cw,a,b)}),TileMatrixSet:Fo(function(a,b){return Q({},dw,a,b)})}),cw=P($v,{Style:Fo(function(a,b){if(b=Q({},ew,a,b))return a="true"===a.getAttribute("isDefault"),b.isDefault=a,b}),Format:Fo(T),TileMatrixSetLink:Fo(function(a,b){return Q({},fw,a,b)}),Dimension:Fo(function(a,b){return Q({},gw,a,b)}),ResourceURL:Fo(function(a){var b=
a.getAttribute("format"),c=a.getAttribute("template");a=a.getAttribute("resourceType");var d={};b&&(d.format=b);c&&(d.template=c);a&&(d.resourceType=a);return d})},P(aw,{Title:N(T),Abstract:N(T),WGS84BoundingBox:N(function(a,b){a=Q([],hw,a,b);if(2==a.length)return Ca(a)}),Identifier:N(T)})),ew=P($v,{LegendURL:Fo(function(a){var b={};b.format=a.getAttribute("format");b.href=Wu(a);return b})},P(aw,{Title:N(T),Identifier:N(T)})),fw=P($v,{TileMatrixSet:N(T),TileMatrixSetLimits:N(function(a,b){return Q([],
iw,a,b)})}),iw=P($v,{TileMatrixLimits:Do(function(a,b){return Q({},jw,a,b)})}),jw=P($v,{TileMatrix:N(T),MinTileRow:N(kp),MaxTileRow:N(kp),MinTileCol:N(kp),MaxTileCol:N(kp)}),gw=P($v,{Default:N(T),Value:Fo(T)},P(aw,{Identifier:N(T)})),hw=P(aw,{LowerCorner:Do(Zv),UpperCorner:Do(Zv)}),dw=P($v,{WellKnownScaleSet:N(T),TileMatrix:Fo(function(a,b){return Q({},kw,a,b)})},P(aw,{SupportedCRS:N(T),Identifier:N(T)})),kw=P($v,{TopLeftCorner:N(Zv),ScaleDenominator:N(ip),TileWidth:N(kp),TileHeight:N(kp),MatrixWidth:N(kp),
MatrixHeight:N(kp)},P(aw,{Identifier:N(T)}));function lw(a,b,c){Wd.call(this);this.ti(a,b?b:0,c)}w(lw,Wd);k=lw.prototype;k.clone=function(){var a=new lw(null);Yd(a,this.xa,this.D.slice());a.A();return a};k.wc=function(a,b,c,d){var e=this.D;a-=e[0];var f=b-e[1];b=a*a+f*f;if(b<d){if(0===b)for(d=0;d<this.a;++d)c[d]=e[d];else for(d=this.Ce()/Math.sqrt(b),c[0]=e[0]+d*a,c[1]=e[1]+d*f,d=2;d<this.a;++d)c[d]=e[d];c.length=this.a;return b}return d};k.Ud=function(a,b){var c=this.D;a-=c[0];b-=c[1];return a*a+b*b<=mw(this)};
k.Da=function(){return this.D.slice(0,this.a)};k.Ff=function(a){var b=this.D,c=b[this.a]-b[0];return Ma(b[0]-c,b[1]-c,b[0]+c,b[1]+c,a)};k.Ce=function(){return Math.sqrt(mw(this))};function mw(a){var b=a.D[a.a]-a.D[0];a=a.D[a.a+1]-a.D[1];return b*b+a*a}k.U=function(){return"Circle"};k.xb=function(a){var b=this.G();return fb(a,b)?(b=this.Da(),a[0]<=b[0]&&a[2]>=b[0]||a[1]<=b[1]&&a[3]>=b[1]?!0:Ta(a,this.Eb,this)):!1};
k.ub=function(a){var b=this.a,c=a.slice();c[b]=c[0]+(this.D[b]-this.D[0]);var d;for(d=1;d<b;++d)c[b+d]=a[d];Yd(this,this.xa,c);this.A()};k.ti=function(a,b,c){if(a){Zd(this,c,a,0);this.D||(this.D=[]);c=this.D;a=$d(c,a);c[a++]=c[0]+b;var d;b=1;for(d=this.a;b<d;++b)c[a++]=c[b];c.length=a}else Yd(this,"XY",null);this.A()};k.ca=function(){};k.Ba=function(){};k.ee=function(a){this.D[this.a]=this.D[0]+a;this.A()};function nw(a){a=a?a:{};Kh.call(this,{handleEvent:tc});this.j=a.formatConstructors?a.formatConstructors:[];this.o=a.projection?Ib(a.projection):null;this.c=null;this.g=a.source||null;this.target=a.target?a.target:null}w(nw,Kh);function ow(a){a=a.dataTransfer.files;var b;var c=0;for(b=a.length;c<b;++c){var d=a.item(c);var e=new FileReader;e.addEventListener("load",this.s.bind(this,d));e.readAsText(d)}}function pw(a){a.stopPropagation();a.preventDefault();a.dataTransfer.dropEffect="copy"}
nw.prototype.s=function(a,b){b=b.target.result;var c=this.T(),d=this.o;d||(d=c.ba().u);c=this.j;var e=[],f;var g=0;for(f=c.length;g<f;++g){var h=new c[g];var l={featureProjection:d};try{e=h.$a(b,l)}catch(m){e=null}if(e&&0<e.length)break}this.g&&(this.g.clear(),this.g.Lc(e));this.b(new qw(rw,a,e,d))};function sw(a){var b=a.T();b&&(b=a.target?a.target:b.Ca,a.c=[A(b,"drop",ow,a),A(b,"dragenter",pw,a),A(b,"dragover",pw,a),A(b,"drop",pw,a)])}
nw.prototype.bb=function(a){Kh.prototype.bb.call(this,a);a?sw(this):tw(this)};nw.prototype.setMap=function(a){tw(this);Kh.prototype.setMap.call(this,a);this.a()&&sw(this)};function tw(a){a.c&&(a.c.forEach($b),a.c=null)}var rw="addfeatures";function qw(a,b,c,d){jc.call(this,a);this.features=c;this.file=b;this.projection=d}w(qw,jc);function uw(a){a=a?a:{};$h.call(this,{handleDownEvent:vw,handleDragEvent:ww,handleUpEvent:xw});this.o=a.condition?a.condition:Wh;this.c=this.g=void 0;this.j=0;this.u=void 0!==a.duration?a.duration:400}w(uw,$h);
function ww(a){if(Yh(a)){var b=a.map,c=b.La(),d=a.pixel;a=d[0]-c[0]/2;d=c[1]/2-d[1];c=Math.atan2(d,a);a=Math.sqrt(a*a+d*d);b=b.ba();b.o.rotation!==Rf&&void 0!==this.g&&(d=c-this.g,Lh(b,b.ob()-d));this.g=c;void 0!==this.c&&(c=this.c*(b.la()/a),Nh(b,c));void 0!==this.c&&(this.j=this.c/a);this.c=a}}
function xw(a){if(!Yh(a))return!0;a=a.map.ba();Zg(a,1,-1);var b=this.j-1,c=a.ob();c=a.constrainRotation(c,0);Lh(a,c,void 0,void 0);c=a.la();var d=this.u;c=a.constrainResolution(c,0,b);Nh(a,c,void 0,d);this.j=0;return!1}function vw(a){return Yh(a)&&this.o(a)?(Zg(a.map.ba(),1,1),this.c=this.g=void 0,!0):!1};function yw(a){a=a?a:{};var b=zb({},a);delete b.style;delete b.renderBuffer;delete b.updateWhileAnimating;delete b.updateWhileInteracting;qh.call(this,b);this.ea=void 0!==a.declutter?a.declutter:!1;this.u=void 0!==a.renderBuffer?a.renderBuffer:100;this.ha=null;this.ma=void 0;this.j(a.style);this.Ha=void 0!==a.updateWhileAnimating?a.updateWhileAnimating:!1;this.Na=void 0!==a.updateWhileInteracting?a.updateWhileInteracting:!1;this.C=a.renderMode||"vector";this.type="VECTOR"}w(yw,qh);
yw.prototype.Ga=function(){return this.ha};yw.prototype.gb=function(){return this.ma};yw.prototype.j=function(a){this.ha=void 0!==a?a:Pd;this.ma=null===a?void 0:Nd(this.ha);this.A()};var Fk="renderOrder";function zw(){return[[-Infinity,-Infinity,Infinity,Infinity]]}function Aw(a){return[a]};function Bw(a){oc.call(this);this.c=Ib(a.projection);this.C=null;this.R=Cw(this,a.attributions);this.aa=a.logo;this.Ma=void 0!==a.state?a.state:"ready";this.L=void 0!==a.wrapX?a.wrapX:!1}w(Bw,oc);
function Cw(a,b){if(!b)return null;if(b instanceof Ne)return a.C=[b],function(){return[b.Ah]};if(Array.isArray(b)){if(b[0]instanceof Ne){a.C=b;var c=b.map(function(a){return a.Ah});return function(){return c}}a.C=b.map(function(a){return new Ne({html:a})});return function(){return b}}if("function"===typeof b)return b;a.C=[new Ne({html:b})];return function(){return[b]}}k=Bw.prototype;k.Oa=da;k.Sa=function(){return this.C};k.Ua=function(){return this.aa};k.Va=function(){return this.c};k.getState=function(){return this.Ma};
k.Fa=function(){this.A()};k.Ja=function(a){this.R=Cw(this,a);this.A()};function Dw(a,b){a.Ma=b;a.A()};function U(a){a=a||{};Bw.call(this,{attributions:a.attributions,logo:a.logo,projection:void 0,state:"ready",wrapX:void 0!==a.wrapX?a.wrapX:!0});this.B=da;this.$=a.format;this.ha=void 0==a.overlaps?!0:a.overlaps;this.ea=a.url;void 0!==a.loader?this.B=a.loader:void 0!==this.ea&&(ia(this.$,7),this.B=Oo(this.ea,this.$));this.ma=void 0!==a.strategy?a.strategy:zw;var b=void 0!==a.useSpatialIndex?a.useSpatialIndex:!0;this.a=b?new Dm:null;this.O=new Dm;this.j={};this.s={};this.o={};this.u={};this.g=null;
if(a.features instanceof Pe){var c=a.features;var d=c.a}else Array.isArray(a.features)&&(d=a.features);b||void 0!==c||(c=new Pe(d));void 0!==d&&Ew(this,d);void 0!==c&&Fw(this,c)}w(U,Bw);k=U.prototype;k.eb=function(a){var b=x(a).toString();if(Gw(this,b,a)){Hw(this,b,a);var c=a.W();c?(b=c.G(),this.a&&this.a.Za(b,a)):this.j[b]=a;this.b(new Iw("addfeature",a))}this.A()};function Hw(a,b,c){a.u[b]=[A(c,"change",a.vk,a),A(c,"propertychange",a.vk,a)]}
function Gw(a,b,c){var d=!0,e=c.Ta();void 0!==e?e.toString()in a.s?d=!1:a.s[e.toString()]=c:(ia(!(b in a.o),30),a.o[b]=c);return d}k.Lc=function(a){Ew(this,a);this.A()};function Ew(a,b){var c,d=[],e=[],f=[];var g=0;for(c=b.length;g<c;g++){var h=b[g];var l=x(h).toString();Gw(a,l,h)&&e.push(h)}g=0;for(c=e.length;g<c;g++)h=e[g],l=x(h).toString(),Hw(a,l,h),(b=h.W())?(l=b.G(),d.push(l),f.push(h)):a.j[l]=h;a.a&&a.a.load(d,f);g=0;for(c=e.length;g<c;g++)a.b(new Iw("addfeature",e[g]))}
function Fw(a,b){var c=!1;A(a,"addfeature",function(a){c||(c=!0,b.push(a.feature),c=!1)});A(a,"removefeature",function(a){c||(c=!0,b.remove(a.feature),c=!1)});A(b,"add",function(a){c||(c=!0,this.eb(a.element),c=!1)},a);A(b,"remove",function(a){c||(c=!0,this.jb(a.element),c=!1)},a);a.g=b}
k.clear=function(a){if(a){for(var b in this.u)this.u[b].forEach($b);this.g||(this.u={},this.s={},this.o={})}else if(this.a){this.a.forEach(this.mi,this);for(var c in this.j)this.mi(this.j[c])}this.g&&this.g.clear();this.a&&this.a.clear();this.O.clear();this.j={};this.b(new Iw("clear"));this.A()};k.eh=function(a,b){if(this.a)return this.a.forEach(a,b);if(this.g)return this.g.forEach(a,b)};function Jw(a,b,c){a.Pc([b[0],b[1],b[0],b[1]],function(a){if(a.W().Eb(b))return c.call(void 0,a)})}
k.Pc=function(a,b,c){if(this.a)return Im(this.a,a,b,c);if(this.g)return this.g.forEach(b,c)};k.fh=function(a,b,c){return this.Pc(a,function(d){if(d.W().xb(a)&&(d=b.call(c,d)))return d})};k.lh=function(){return this.g};k.Pb=function(){if(this.g)var a=this.g.a;else this.a&&(a=Fm(this.a),Cb(this.j)||qe(a,Bb(this.j)));return a};k.kh=function(a){var b=[];Jw(this,a,function(a){b.push(a)});return b};k.Of=function(a){return Gm(this.a,a)};
k.ih=function(a,b){var c=a[0],d=a[1],e=null,f=[NaN,NaN],g=Infinity,h=[-Infinity,-Infinity,Infinity,Infinity],l=b?b:tc;Im(this.a,h,function(a){if(l(a)){var b=a.W(),m=g;g=b.wc(c,d,f,g);g<m&&(e=a,a=Math.sqrt(g),h[0]=c-a,h[1]=d-a,h[2]=c+a,h[3]=d+a)}});return e};k.G=function(a){return this.a.G(a)};k.jh=function(a){a=this.s[a.toString()];return void 0!==a?a:null};k.Ph=function(){return this.$};k.Qh=function(){return this.ea};
k.vk=function(a){a=a.target;var b=x(a).toString(),c=a.W();c?(c=c.G(),b in this.j?(delete this.j[b],this.a&&this.a.Za(c,a)):this.a&&Em(this.a,c,a)):b in this.j||(this.a&&this.a.remove(a),this.j[b]=a);c=a.Ta();void 0!==c?(c=c.toString(),b in this.o?(delete this.o[b],this.s[c]=a):this.s[c]!==a&&(Kw(this,a),this.s[c]=a)):b in this.o||(Kw(this,a),this.o[b]=a);this.A();this.b(new Iw("changefeature",a))};
k.Ze=function(a,b,c){var d=this.O;a=this.ma(a,b);var e;var f=0;for(e=a.length;f<e;++f){var g=a[f];Im(d,g,function(a){return Ka(a.extent,g)})||(this.B.call(this,g,b,c),d.Za(g,{extent:g.slice()}))}};k.ni=function(a){var b=this.O,c;Im(b,a,function(b){if(Ra(b.extent,a))return c=b,!0});c&&b.remove(c)};k.jb=function(a){var b=x(a).toString();b in this.j?delete this.j[b]:this.a&&this.a.remove(a);this.mi(a);this.A()};
k.mi=function(a){var b=x(a).toString();this.u[b].forEach($b);delete this.u[b];var c=a.Ta();void 0!==c?delete this.s[c.toString()]:delete this.o[b];this.b(new Iw("removefeature",a))};function Kw(a,b){for(var c in a.s)if(a.s[c]===b){delete a.s[c];break}}k.Rh=function(a){this.B=a};function Iw(a,b){jc.call(this,a);this.feature=b}w(Iw,jc);function Lw(a){$h.call(this,{handleDownEvent:Mw,handleEvent:Nw,handleUpEvent:Ow});this.aa=!1;this.ea=null;this.u=!1;this.Xa=a.source?a.source:null;this.Ha=a.features?a.features:null;this.yh=a.snapTolerance?a.snapTolerance:12;this.O=a.type;this.g=Pw(this.O);this.Bh=!!a.stopClick;this.Ma=a.minPoints?a.minPoints:this.g===Qw?3:2;this.ma=a.maxPoints?a.maxPoints:Infinity;this.md=a.finishCondition?a.finishCondition:tc;var b=a.geometryFunction;if(!b)if("Circle"===this.O)b=function(a,b){b=b?b:new lw([NaN,
NaN]);b.ti(a[0],Math.sqrt(gg(a[0],a[1])));return b};else{var c,d=this.g;d===Rw?c=D:d===Sw?c=J:d===Qw&&(c=F);b=function(a,b){b?d===Qw?a[0].length?b.Ba([a[0].concat([a[0][0]])]):b.Ba([]):b.Ba(a):b=new c(a);return b}}this.Bb=b;this.R=this.B=this.c=this.L=this.j=this.o=null;this.qb=a.clickTolerance?a.clickTolerance*a.clickTolerance:36;this.ha=new yw({source:new U({useSpatialIndex:!1,wrapX:a.wrapX?a.wrapX:!1}),style:a.style?a.style:Tw()});this.Na=a.geometryName;this.hh=a.condition?a.condition:Vh;this.Bf=
a.freehand?tc:a.freehandCondition?a.freehandCondition:Wh;A(this,qc("active"),this.Zj,this)}w(Lw,$h);function Tw(){var a=Qd();return function(b){return a[b.W().U()]}}k=Lw.prototype;k.setMap=function(a){$h.prototype.setMap.call(this,a);this.Zj()};function Nw(a){this.u=this.g!==Rw&&this.Bf(a);var b=!0;this.u&&"pointerdrag"===a.type&&null!==this.j?(Uw(this,a),b=!1):this.u&&"pointerdown"===a.type?b=!1:"pointermove"===a.type?b=Vw(this,a):"dblclick"===a.type&&(b=!1);return ai.call(this,a)&&b}
function Mw(a){this.aa=!this.u;return this.u?(this.ea=a.pixel,this.o||Ww(this,a),!0):this.hh(a)?(this.ea=a.pixel,!0):!1}function Ow(a){var b=!0;Vw(this,a);var c=this.g===Xw;this.aa?(this.o?this.u||c?this.Pe():Yw(this,a)?this.md(a)&&this.Pe():Uw(this,a):(Ww(this,a),this.g===Rw&&this.Pe()),b=!1):this.u&&(this.o=null,Zw(this));!b&&this.Bh&&a.stopPropagation();return b}
function Vw(a,b){if(a.ea&&(!a.u&&a.aa||a.u&&!a.aa)){var c=a.ea,d=b.pixel,e=c[0]-d[0];c=c[1]-d[1];e=e*e+c*c;a.aa=a.u?e>a.qb:e<=a.qb}a.o?(e=b.coordinate,c=a.j.W(),a.g===Rw?d=a.c:a.g===Qw?(d=a.c[0],d=d[d.length-1],Yw(a,b)&&(e=a.o.slice())):(d=a.c,d=d[d.length-1]),d[0]=e[0],d[1]=e[1],a.Bb(a.c,c),a.L&&a.L.W().Ba(e),c instanceof F&&a.g!==Qw?(a.B||(a.B=new C(new J(null))),e=c.rh(0),b=a.B.W(),b.ka(e.xa,e.na())):a.R&&(b=a.B.W(),b.Ba(a.R)),$w(a)):(b=b.coordinate.slice(),a.L?a.L.W().Ba(b):(a.L=new C(new D(b)),
$w(a)));return!0}function Yw(a,b){var c=!1;if(a.j){var d=!1,e=[a.o];a.g===Sw?d=a.c.length>a.Ma:a.g===Qw&&(d=a.c[0].length>a.Ma,e=[a.c[0][0],a.c[0][a.c[0].length-2]]);if(d){d=b.map;for(var f=0,g=e.length;f<g;f++){var h=e[f],l=d.cb(h),m=b.pixel;c=m[0]-l[0];l=m[1]-l[1];if(c=Math.sqrt(c*c+l*l)<=(a.u?1:a.yh)){a.o=h;break}}}}return c}
function Ww(a,b){b=b.coordinate;a.o=b;a.g===Rw?a.c=b.slice():a.g===Qw?(a.c=[[b.slice(),b.slice()]],a.R=a.c[0]):(a.c=[b.slice(),b.slice()],a.g===Xw&&(a.R=a.c));a.R&&(a.B=new C(new J(a.R)));b=a.Bb(a.c);a.j=new C;a.Na&&a.j.bc(a.Na);a.j.Qa(b);$w(a);a.b(new ax("drawstart",a.j))}
function Uw(a,b){b=b.coordinate;var c=a.j.W(),d;if(a.g===Sw){a.o=b.slice();var e=a.c;e.length>=a.ma&&(a.u?e.pop():d=!0);e.push(b.slice());a.Bb(e,c)}else a.g===Qw&&(e=a.c[0],e.length>=a.ma&&(a.u?e.pop():d=!0),e.push(b.slice()),d&&(a.o=e[0]),a.Bb(a.c,c));$w(a);d&&a.Pe()}
k.Ar=function(){if(this.j){var a=this.j.W();if(this.g===Sw){var b=this.c;b.splice(-2,1);this.Bb(b,a);2<=b.length&&(this.o=b[b.length-2].slice())}else if(this.g===Qw){b=this.c[0];b.splice(-2,1);var c=this.B.W();c.Ba(b);this.Bb(this.c,a)}0===b.length&&(this.o=null);$w(this)}};
k.Pe=function(){var a=Zw(this),b=this.c,c=a.W();this.g===Sw?(b.pop(),this.Bb(b,c)):this.g===Qw&&(b[0].pop(),this.Bb(b,c),b=c.ca());"MultiPoint"===this.O?a.Qa(new So([b])):"MultiLineString"===this.O?a.Qa(new R([b])):"MultiPolygon"===this.O&&a.Qa(new S([b]));this.b(new ax("drawend",a));this.Ha&&this.Ha.push(a);this.Xa&&this.Xa.eb(a)};function Zw(a){a.o=null;var b=a.j;b&&(a.j=null,a.L=null,a.B=null,a.ha.Z().clear(!0));return b}
k.up=function(a){var b=a.W();this.j=a;this.c=b.ca();a=this.c[this.c.length-1];this.o=a.slice();this.c.push(a.slice());$w(this);this.b(new ax("drawstart",this.j))};k.he=uc;function $w(a){var b=[];a.j&&b.push(a.j);a.B&&b.push(a.B);a.L&&b.push(a.L);a=a.ha.Z();a.clear(!0);a.Lc(b)}k.Zj=function(){var a=this.T(),b=this.a();a&&b||Zw(this);this.ha.setMap(b?a:null)};
function bx(a,b){return function(c,d){var e=c[0];c=c[1];var f=Math.sqrt(gg(e,c));d=d?d:Ug(new lw(e),a);Vg(d,e,f,b?b:Math.atan((c[1]-e[1])/(c[0]-e[0])));return d}}function cx(){return function(a,b){a=Ca(a);b=b||new F(null);b.Ba([[Ua(a),Va(a),Wa(a),Ya(a),Ua(a)]]);return b}}function Pw(a){var b;"Point"===a||"MultiPoint"===a?b=Rw:"LineString"===a||"MultiLineString"===a?b=Sw:"Polygon"===a||"MultiPolygon"===a?b=Qw:"Circle"===a&&(b=Xw);return b}var Rw="Point",Sw="LineString",Qw="Polygon",Xw="Circle";
function ax(a,b){jc.call(this,a);this.feature=b}w(ax,jc);function dx(a){var b=a||{};this.c=this.j=null;this.B=void 0!==b.pixelTolerance?b.pixelTolerance:10;this.L=!1;this.R=this.o=null;a||(a={});$h.call(this,{handleDownEvent:ex,handleDragEvent:fx,handleEvent:gx,handleUpEvent:hx});this.u=new yw({source:new U({useSpatialIndex:!1,wrapX:!!a.wrapX}),style:a.boxStyle?a.boxStyle:ix(),updateWhileAnimating:!0,updateWhileInteracting:!0});this.O=new yw({source:new U({useSpatialIndex:!1,wrapX:!!a.wrapX}),style:a.pointerStyle?a.pointerStyle:jx(),updateWhileAnimating:!0,
updateWhileInteracting:!0});a.extent&&this.g(a.extent)}w(dx,$h);function gx(a){if(!(a instanceof Xe))return!0;if("pointermove"==a.type&&!this.C){var b=a.pixel,c=a.map,d=kx(this,b,c);d||(d=c.hb(b));lx(this,d)}ai.call(this,a);return!1}
function ex(a){function b(a){var b=null,c=null;a[0]==e[0]?b=e[2]:a[0]==e[2]&&(b=e[0]);a[1]==e[1]?c=e[3]:a[1]==e[3]&&(c=e[1]);return null!==b&&null!==c?[b,c]:null}var c=a.pixel,d=a.map,e=this.G();(a=kx(this,c,d))&&e?(c=a[0]==e[0]||a[0]==e[2]?a[0]:null,d=a[1]==e[1]||a[1]==e[3]?a[1]:null,null!==c&&null!==d?this.c=mx(b(a)):null!==c?this.c=nx(b([c,e[1]]),b([c,e[3]])):null!==d&&(this.c=nx(b([e[0],d]),b([e[2],d])))):(a=d.hb(c),this.g([a[0],a[1],a[0],a[1]]),this.c=mx(a));return!0}
function fx(a){this.c&&(a=a.coordinate,this.g(this.c(a)),lx(this,a));return!0}function hx(){this.c=null;var a=this.G();a&&0!==Za(a)||this.g(null);return!1}function ix(){var a=Qd();return function(){return a.Polygon}}function jx(){var a=Qd();return function(){return a.Point}}function mx(a){return function(b){return Ca([a,b])}}function nx(a,b){return a[0]==b[0]?function(c){return Ca([a,[c[0],b[1]]])}:a[1]==b[1]?function(c){return Ca([a,[b[0],c[1]]])}:null}
function kx(a,b,c){function d(a,b){return ig(e,a)-ig(e,b)}var e=c.hb(b),f=a.G();if(f){f=[[[f[0],f[1]],[f[0],f[3]]],[[f[0],f[3]],[f[2],f[3]]],[[f[2],f[3]],[f[2],f[1]]],[[f[2],f[1]],[f[0],f[1]]]];f.sort(d);f=f[0];var g=Zf(e,f),h=c.cb(g);if(hg(b,h)<=a.B)return b=c.cb(f[0]),c=c.cb(f[1]),b=gg(h,b),c=gg(h,c),a.L=Math.sqrt(Math.min(b,c))<=a.B,a.L&&(g=b>c?f[1]:f[0]),g}return null}function lx(a,b){var c=a.R;c?c.W().Ba(b):(c=new C(new D(b)),a.R=c,a.O.Z().eb(c))}
dx.prototype.setMap=function(a){this.u.setMap(a);this.O.setMap(a);$h.prototype.setMap.call(this,a)};dx.prototype.G=function(){return this.j};dx.prototype.g=function(a){this.j=a?a:null;var b=this.o;b?a?b.Qa(Tg(a)):b.Qa(void 0):(this.o=b=a?new C(Tg(a)):new C({}),this.u.Z().eb(b));this.b(new ox(this.j))};function ox(a){jc.call(this,"extentchanged");this.extent=a}w(ox,jc);function px(a){$h.call(this,{handleDownEvent:qx,handleDragEvent:rx,handleEvent:sx,handleUpEvent:tx});this.md=a.condition?a.condition:Zh;this.Na=function(a){return Qh(a)&&Uh(a)};this.Xa=a.deleteCondition?a.deleteCondition:this.Na;this.qb=a.insertVertexCondition?a.insertVertexCondition:tc;this.Ha=this.g=null;this.Ma=[0,0];this.B=this.R=!1;this.c=new Dm;this.ha=void 0!==a.pixelTolerance?a.pixelTolerance:10;this.o=this.ma=!1;this.j=[];this.L=new yw({source:new U({useSpatialIndex:!1,wrapX:!!a.wrapX}),
style:a.style?a.style:ux(),updateWhileAnimating:!0,updateWhileInteracting:!0});this.ea={Point:this.Cp,LineString:this.ak,LinearRing:this.ak,Polygon:this.Dp,MultiPoint:this.Ap,MultiLineString:this.zp,MultiPolygon:this.Bp,Circle:this.xp,GeometryCollection:this.yp};this.aa=null;a.source?(this.aa=a.source,a=new Pe(this.aa.Pb()),A(this.aa,"addfeature",this.Wn,this),A(this.aa,"removefeature",this.Yn,this)):a=a.features;if(!a)throw Error("The modify interaction requires features or a source");this.u=a;this.u.forEach(this.Ih,
this);A(this.u,"add",this.vp,this);A(this.u,"remove",this.wp,this);this.O=null}w(px,$h);k=px.prototype;k.Ih=function(a){var b=a.W();b&&b.U()in this.ea&&this.ea[b.U()].call(this,a,b);(b=this.T())&&b.a&&this.a()&&vx(this,this.Ma,b);A(a,"change",this.$j,this)};function wx(a,b){a.B||(a.B=!0,a.b(new xx("modifystart",a.u,b)))}function yx(a,b){zx(a,b);a.g&&0===a.u.Cb()&&(a.L.Z().jb(a.g),a.g=null);fc(b,"change",a.$j,a)}
function zx(a,b){a=a.c;var c=[];a.forEach(function(a){b===a.feature&&c.push(a)});for(var d=c.length-1;0<=d;--d)a.remove(c[d])}k.bb=function(a){this.g&&!a&&(this.L.Z().jb(this.g),this.g=null);$h.prototype.bb.call(this,a)};k.setMap=function(a){this.L.setMap(a);$h.prototype.setMap.call(this,a)};k.Wn=function(a){a.feature&&this.u.push(a.feature)};k.Yn=function(a){a.feature&&this.u.remove(a.feature)};k.vp=function(a){this.Ih(a.element)};k.$j=function(a){this.o||(a=a.target,yx(this,a),this.Ih(a))};
k.wp=function(a){yx(this,a.element)};k.Cp=function(a,b){var c=b.ca();a={feature:a,geometry:b,Aa:[c,c]};this.c.Za(b.G(),a)};k.Ap=function(a,b){var c=b.ca(),d;var e=0;for(d=c.length;e<d;++e){var f=c[e];f={feature:a,geometry:b,depth:[e],index:e,Aa:[f,f]};this.c.Za(b.G(),f)}};k.ak=function(a,b){var c=b.ca(),d;var e=0;for(d=c.length-1;e<d;++e){var f=c.slice(e,e+2);var g={feature:a,geometry:b,index:e,Aa:f};this.c.Za(Ca(f),g)}};
k.zp=function(a,b){var c=b.ca(),d,e;var f=0;for(e=c.length;f<e;++f){var g=c[f];var h=0;for(d=g.length-1;h<d;++h){var l=g.slice(h,h+2);var m={feature:a,geometry:b,depth:[f],index:h,Aa:l};this.c.Za(Ca(l),m)}}};k.Dp=function(a,b){var c=b.ca(),d,e;var f=0;for(e=c.length;f<e;++f){var g=c[f];var h=0;for(d=g.length-1;h<d;++h){var l=g.slice(h,h+2);var m={feature:a,geometry:b,depth:[f],index:h,Aa:l};this.c.Za(Ca(l),m)}}};
k.Bp=function(a,b){var c=b.ca(),d,e,f;var g=0;for(f=c.length;g<f;++g){var h=c[g];var l=0;for(e=h.length;l<e;++l){var m=h[l];var n=0;for(d=m.length-1;n<d;++n){var p=m.slice(n,n+2);var q={feature:a,geometry:b,depth:[l,g],index:n,Aa:p};this.c.Za(Ca(p),q)}}}};k.xp=function(a,b){var c=b.Da(),d={feature:a,geometry:b,index:0,Aa:[c,c]};a={feature:a,geometry:b,index:1,Aa:[c,c]};d.bh=a.bh=[d,a];this.c.Za(Oa(c),d);this.c.Za(b.G(),a)};
k.yp=function(a,b){var c=b.a;for(b=0;b<c.length;++b)this.ea[c[b].U()].call(this,a,c[b])};function Ax(a,b){var c=a.g;c?c.W().Ba(b):(c=new C(new D(b)),a.g=c,a.L.Z().eb(c))}function Bx(a,b){return a.index-b.index}
function qx(a){if(!this.md(a))return!1;vx(this,a.pixel,a.map);var b=a.map.hb(a.pixel);this.j.length=0;this.B=!1;var c=this.g;if(c){var d=[];c=c.W().ca();var e=Ca([c]);e=Gm(this.c,e);var f={};e.sort(Bx);for(var g=0,h=e.length;g<h;++g){var l=e[g],m=l.Aa,n=x(l.feature),p=l.depth;p&&(n+="-"+p.join("-"));f[n]||(f[n]=Array(2));if("Circle"===l.geometry.U()&&1===l.index)m=Cx(b,l),bg(m,c)&&!f[n][0]&&(this.j.push([l,0]),f[n][0]=l);else if(bg(m[0],c)&&!f[n][0])this.j.push([l,0]),f[n][0]=l;else if(bg(m[1],c)&&
!f[n][1]){if("LineString"!==l.geometry.U()&&"MultiLineString"!==l.geometry.U()||!f[n][0]||0!==f[n][0].index)this.j.push([l,1]),f[n][1]=l}else this.qb(a)&&x(m)in this.Ha&&!f[n][0]&&!f[n][1]&&d.push([l,c])}d.length&&wx(this,a);for(a=d.length-1;0<=a;--a)this.io.apply(this,d[a])}return!!this.g}
function rx(a){this.R=!1;wx(this,a);a=a.coordinate;for(var b=0,c=this.j.length;b<c;++b){var d=this.j[b],e=d[0],f=e.depth,g=e.geometry,h=e.Aa;for(d=d[1];a.length<g.Ea();)a.push(h[d][a.length]);switch(g.U()){case "Point":var l=a;h[0]=h[1]=a;break;case "MultiPoint":l=g.ca();l[e.index]=a;h[0]=h[1]=a;break;case "LineString":l=g.ca();l[e.index+d]=a;h[d]=a;break;case "MultiLineString":l=g.ca();l[f[0]][e.index+d]=a;h[d]=a;break;case "Polygon":l=g.ca();l[f[0]][e.index+d]=a;h[d]=a;break;case "MultiPolygon":l=
g.ca();l[f[1]][f[0]][e.index+d]=a;h[d]=a;break;case "Circle":h[0]=h[1]=a,0===e.index?(this.o=!0,g.ub(a)):(this.o=!0,g.ee(hg(g.Da(),a))),this.o=!1}l&&(e=g,f=l,this.o=!0,e.Ba(f),this.o=!1)}Ax(this,a)}
function tx(a){for(var b,c,d=this.j.length-1;0<=d;--d)if(b=this.j[d][0],c=b.geometry,"Circle"===c.U()){var e=c.Da(),f=b.bh[0];b=b.bh[1];f.Aa[0]=f.Aa[1]=e;b.Aa[0]=b.Aa[1]=e;Em(this.c,Oa(e),f);Em(this.c,c.G(),b)}else Em(this.c,Ca(b.Aa),b);this.B&&(this.b(new xx("modifyend",this.u,a)),this.B=!1);return!1}
function sx(a){if(!(a instanceof Xe))return!0;this.O=a;var b;a.map.ba().gj()||"pointermove"!=a.type||this.C||(this.Ma=a.pixel,vx(this,a.pixel,a.map));this.g&&this.Xa(a)&&(b="singleclick"==a.type&&this.R?!0:this.Tk());"singleclick"==a.type&&(this.R=!1);return ai.call(this,a)&&!b}
function vx(a,b,c){function d(a,b){return Dx(e,a)-Dx(e,b)}var e=c.hb(b),f=Fa(Oa(e),c.ba().la()*a.ha);f=Gm(a.c,f);if(0<f.length){f.sort(d);var g=f[0],h=g.Aa,l=Cx(e,g),m=c.cb(l),n=hg(b,m);if(n<=a.ha){b={};if("Circle"===g.geometry.U()&&1===g.index)a.ma=!0,Ax(a,l);else for(n=c.cb(h[0]),g=c.cb(h[1]),c=gg(m,n),m=gg(m,g),n=Math.sqrt(Math.min(c,m)),a.ma=n<=a.ha,a.ma&&(l=c>m?h[1]:h[0]),Ax(a,l),m=1,c=f.length;m<c;++m)if(l=f[m].Aa,bg(h[0],l[0])&&bg(h[1],l[1])||bg(h[0],l[1])&&bg(h[1],l[0]))b[x(l)]=!0;else break;
b[x(h)]=!0;a.Ha=b;return}}a.g&&(a.L.Z().jb(a.g),a.g=null)}function Dx(a,b){var c=b.geometry;return"Circle"===c.U()&&1===b.index?(a=gg(c.Da(),a),c=Math.sqrt(a)-c.Ce(),c*c):ig(a,b.Aa)}function Cx(a,b){var c=b.geometry;return"Circle"===c.U()&&1===b.index?c.$b(a):Zf(a,b.Aa)}
k.io=function(a,b){for(var c=a.Aa,d=a.feature,e=a.geometry,f=a.depth,g=a.index,h;b.length<e.Ea();)b.push(0);switch(e.U()){case "MultiLineString":h=e.ca();h[f[0]].splice(g+1,0,b);break;case "Polygon":h=e.ca();h[f[0]].splice(g+1,0,b);break;case "MultiPolygon":h=e.ca();h[f[1]][f[0]].splice(g+1,0,b);break;case "LineString":h=e.ca();h.splice(g+1,0,b);break;default:return}this.o=!0;e.Ba(h);this.o=!1;h=this.c;h.remove(a);Ex(this,e,g,f,1);a={Aa:[c[0],b],feature:d,geometry:e,depth:f,index:g};h.Za(Ca(a.Aa),
a);this.j.push([a,1]);b={Aa:[b,c[1]],feature:d,geometry:e,depth:f,index:g+1};h.Za(Ca(b.Aa),b);this.j.push([b,0]);this.R=!0};
k.Tk=function(){if(this.O&&"pointerdrag"!=this.O.type){var a=this.O;wx(this,a);var b=this.j,c={},d,e;for(e=b.length-1;0<=e;--e){var f=b[e];var g=f[0];var h=x(g.feature);g.depth&&(h+="-"+g.depth.join("-"));h in c||(c[h]={});0===f[1]?(c[h].right=g,c[h].index=g.index):1==f[1]&&(c[h].left=g,c[h].index=g.index+1)}for(h in c){var l=c[h].right;var m=c[h].left;e=c[h].index;var n=e-1;g=void 0!==m?m:l;0>n&&(n=0);f=g.geometry;var p=d=f.ca();var q=!1;switch(f.U()){case "MultiLineString":2<d[g.depth[0]].length&&
(d[g.depth[0]].splice(e,1),q=!0);break;case "LineString":2<d.length&&(d.splice(e,1),q=!0);break;case "MultiPolygon":p=p[g.depth[1]];case "Polygon":p=p[g.depth[0]],4<p.length&&(e==p.length-1&&(e=0),p.splice(e,1),q=!0,0===e&&(p.pop(),p.push(p[0]),n=p.length-1))}q&&(q=f,this.o=!0,q.Ba(d),this.o=!1,d=[],void 0!==m&&(this.c.remove(m),d.push(m.Aa[0])),void 0!==l&&(this.c.remove(l),d.push(l.Aa[1])),void 0!==m&&void 0!==l&&(m={depth:g.depth,feature:g.feature,geometry:g.geometry,index:n,Aa:d},this.c.Za(Ca(m.Aa),
m)),Ex(this,f,e,g.depth,-1),this.g&&(this.L.Z().jb(this.g),this.g=null),b.length=0)}this.b(new xx("modifyend",this.u,a));this.B=!1;return!0}return!1};function Ex(a,b,c,d,e){Im(a.c,b.G(),function(a){a.geometry===b&&(void 0===d||void 0===a.depth||se(a.depth,d))&&a.index>c&&(a.index+=e)})}function ux(){var a=Qd();return function(){return a.Point}}function xx(a,b,c){jc.call(this,a);this.features=b;this.mapBrowserEvent=c}w(xx,jc);function Fx(a){Kh.call(this,{handleEvent:Gx});a=a?a:{};this.B=a.condition?a.condition:Uh;this.C=a.addCondition?a.addCondition:uc;this.L=a.removeCondition?a.removeCondition:uc;this.R=a.toggleCondition?a.toggleCondition:Wh;this.o=a.multi?a.multi:!1;this.s=a.filter?a.filter:tc;this.j=a.hitTolerance?a.hitTolerance:0;this.g=new yw({source:new U({useSpatialIndex:!1,features:a.features,wrapX:a.wrapX}),style:a.style?a.style:Hx(),updateWhileAnimating:!0,updateWhileInteracting:!0});if(a.layers)if("function"===
typeof a.layers)a=a.layers;else{var b=a.layers;a=function(a){return ne(b,a)}}else a=tc;this.u=a;this.c={};a=this.g.Z().g;A(a,"add",this.Ep,this);A(a,"remove",this.Hp,this)}w(Fx,Kh);k=Fx.prototype;k.Pb=function(){return this.g.Z().g};k.Fp=function(){return this.j};k.Gp=function(a){a=x(a);return this.c[a]};
function Gx(a){if(!this.B(a))return!0;var b=this.C(a),c=this.L(a),d=this.R(a),e=!b&&!c&&!d,f=a.map,g=this.g.Z().g,h=[],l=[];if(e){Ab(this.c);f.Oc(a.pixel,function(a,b){if(this.s(a,b))return l.push(a),a=x(a),this.c[a]=b,!this.o}.bind(this),{layerFilter:this.u,hitTolerance:this.j});for(e=g.Cb()-1;0<=e;--e){f=g.item(e);var m=l.indexOf(f);-1<m?l.splice(m,1):(g.remove(f),h.push(f))}0!==l.length&&g.Dh(l)}else{f.Oc(a.pixel,function(a,e){if(this.s(a,e))return!b&&!d||ne(g.a,a)?(c||d)&&ne(g.a,a)&&(h.push(a),
e=x(a),delete this.c[e]):(l.push(a),a=x(a),this.c[a]=e),!this.o}.bind(this),{layerFilter:this.u,hitTolerance:this.j});for(e=h.length-1;0<=e;--e)g.remove(h[e]);g.Dh(l)}(0<l.length||0<h.length)&&this.b(new Ix(Jx,l,h,a));return Th(a)}k.Ip=function(a){this.j=a};k.setMap=function(a){var b=this.T(),c=this.g.Z().g;b&&c.forEach(b.ol,b);Kh.prototype.setMap.call(this,a);this.g.setMap(a);a&&c.forEach(a.il,a)};
function Hx(){var a=Qd();qe(a.Polygon,a.LineString);qe(a.GeometryCollection,a.LineString);return function(b){return b.W()?a[b.W().U()]:null}}k.Ep=function(a){var b=this.T();b&&b.il(a.element)};k.Hp=function(a){var b=this.T();b&&b.ol(a.element)};function Ix(a,b,c,d){jc.call(this,a);this.selected=b;this.deselected=c;this.mapBrowserEvent=d}w(Ix,jc);var Jx="select";function Kx(a){$h.call(this,{handleEvent:Lx,handleDownEvent:tc,handleUpEvent:Mx});a=a?a:{};this.o=a.source?a.source:null;this.O=void 0!==a.vertex?a.vertex:!0;this.B=void 0!==a.edge?a.edge:!0;this.j=a.features?a.features:null;this.ha=[];this.L={};this.aa={};this.u={};this.R=null;this.g=void 0!==a.pixelTolerance?a.pixelTolerance:10;this.ma=Nx.bind(this);this.c=new Dm;this.ea={Point:this.Pp,LineString:this.dk,LinearRing:this.dk,Polygon:this.Qp,MultiPoint:this.Np,MultiLineString:this.Mp,MultiPolygon:this.Op,
GeometryCollection:this.Lp,Circle:this.Kp}}w(Kx,$h);k=Kx.prototype;k.eb=function(a,b){b=void 0!==b?b:!0;var c=x(a),d=a.W();if(d){var e=this.ea[d.U()];e&&(this.aa[c]=d.G(Da()),e.call(this,a,d))}b&&(this.L[c]=A(a,"change",this.Jp,this))};k.rm=function(a){this.eb(a)};k.sm=function(a){this.jb(a)};k.bk=function(a){if(a instanceof Iw)var b=a.feature;else a instanceof Te&&(b=a.element);this.eb(b)};k.ck=function(a){if(a instanceof Iw)var b=a.feature;else a instanceof Te&&(b=a.element);this.jb(b)};
k.Jp=function(a){a=a.target;if(this.C){var b=x(a);b in this.u||(this.u[b]=a)}else this.pl(a)};k.jb=function(a,b){b=void 0!==b?b:!0;var c=x(a),d=this.aa[c];if(d){var e=this.c,f=[];Im(e,d,function(b){a===b.feature&&f.push(b)});for(d=f.length-1;0<=d;--d)e.remove(f[d])}b&&($b(this.L[c]),delete this.L[c])};
k.setMap=function(a){var b=this.T(),c=this.ha,d;this.j?d=this.j:this.o&&(d=this.o.Pb());b&&(c.forEach($b),c.length=0,d.forEach(this.sm,this));$h.prototype.setMap.call(this,a);a&&(this.j?c.push(A(this.j,"add",this.bk,this),A(this.j,"remove",this.ck,this)):this.o&&c.push(A(this.o,"addfeature",this.bk,this),A(this.o,"removefeature",this.ck,this)),d.forEach(this.rm,this))};k.he=uc;
function Ox(a,b,c,d){var e=d.hb([b[0]-a.g,b[1]+a.g]),f=d.hb([b[0]+a.g,b[1]-a.g]);e=Ca([e,f]);var g=Gm(a.c,e);a.O&&!a.B&&(g=g.filter(function(a){return"Circle"!==a.feature.W().U()}));var h=!1;e=!1;var l=f=null;if(0<g.length){a.R=c;g.sort(a.ma);var m=g[0].Aa;h="Circle"===g[0].feature.W().U();if(a.O&&!a.B){if(c=d.cb(m[0]),h=d.cb(m[1]),c=gg(b,c),b=gg(b,h),h=Math.sqrt(Math.min(c,b)),h=h<=a.g)e=!0,f=c>b?m[1]:m[0],l=d.cb(f)}else a.B&&(f=h?Yf(c,g[0].feature.W()):Zf(c,m),l=d.cb(f),hg(b,l)<=a.g&&(e=!0,a.O&&
!h&&(c=d.cb(m[0]),h=d.cb(m[1]),c=gg(l,c),b=gg(l,h),h=Math.sqrt(Math.min(c,b)),h=h<=a.g)))&&(f=c>b?m[1]:m[0],l=d.cb(f));e&&(l=[Math.round(l[0]),Math.round(l[1])])}return{xs:e,vertex:f,Hs:l}}k.pl=function(a){this.jb(a,!1);this.eb(a,!1)};k.Kp=function(a,b){b=Ug(b).ca()[0];var c;var d=0;for(c=b.length-1;d<c;++d){var e=b.slice(d,d+2);var f={feature:a,Aa:e};this.c.Za(Ca(e),f)}};k.Lp=function(a,b){var c=b.a;for(b=0;b<c.length;++b){var d=this.ea[c[b].U()];d&&d.call(this,a,c[b])}};
k.dk=function(a,b){b=b.ca();var c;var d=0;for(c=b.length-1;d<c;++d){var e=b.slice(d,d+2);var f={feature:a,Aa:e};this.c.Za(Ca(e),f)}};k.Mp=function(a,b){b=b.ca();var c,d;var e=0;for(d=b.length;e<d;++e){var f=b[e];var g=0;for(c=f.length-1;g<c;++g){var h=f.slice(g,g+2);var l={feature:a,Aa:h};this.c.Za(Ca(h),l)}}};k.Np=function(a,b){var c=b.ca(),d;var e=0;for(d=c.length;e<d;++e){var f=c[e];f={feature:a,Aa:[f,f]};this.c.Za(b.G(),f)}};
k.Op=function(a,b){b=b.ca();var c,d,e;var f=0;for(e=b.length;f<e;++f){var g=b[f];var h=0;for(d=g.length;h<d;++h){var l=g[h];var m=0;for(c=l.length-1;m<c;++m){var n=l.slice(m,m+2);var p={feature:a,Aa:n};this.c.Za(Ca(n),p)}}}};k.Pp=function(a,b){var c=b.ca();a={feature:a,Aa:[c,c]};this.c.Za(b.G(),a)};k.Qp=function(a,b){b=b.ca();var c,d;var e=0;for(d=b.length;e<d;++e){var f=b[e];var g=0;for(c=f.length-1;g<c;++g){var h=f.slice(g,g+2);var l={feature:a,Aa:h};this.c.Za(Ca(h),l)}}};
function Lx(a){var b=Ox(this,a.pixel,a.coordinate,a.map);b.xs&&(a.coordinate=b.vertex.slice(0,2),a.pixel=b.Hs);return ai.call(this,a)}function Mx(){var a=Bb(this.u);a.length&&(a.forEach(this.pl,this),this.u={});return!1}function Nx(a,b){return ig(this.R,a.Aa)-ig(this.R,b.Aa)};function Px(a){$h.call(this,{handleDownEvent:Qx,handleDragEvent:Rx,handleMoveEvent:Sx,handleUpEvent:Tx});a=a?a:{};this.c=null;this.j=void 0!==a.features?a.features:null;if(a.layers)if("function"===typeof a.layers)var b=a.layers;else{var c=a.layers;b=function(a){return ne(c,a)}}else b=tc;this.B=b;this.o=a.hitTolerance?a.hitTolerance:0;this.g=null;A(this,qc("active"),this.u,this)}w(Px,$h);
function Qx(a){this.g=Ux(this,a.pixel,a.map);if(!this.c&&this.g){this.c=a.coordinate;Sx.call(this,a);var b=this.j||new Pe([this.g]);this.b(new Vx("translatestart",b,a.coordinate));return!0}return!1}function Tx(a){if(this.c){this.c=null;Sx.call(this,a);var b=this.j||new Pe([this.g]);this.b(new Vx("translateend",b,a.coordinate));return!0}return!1}
function Rx(a){if(this.c){a=a.coordinate;var b=a[0]-this.c[0],c=a[1]-this.c[1],d=this.j||new Pe([this.g]);d.forEach(function(a){var d=a.W();d.translate(b,c);a.Qa(d)});this.c=a;this.b(new Vx("translating",d,a))}}function Sx(a){var b=a.map.Ca;Ux(this,a.pixel,a.map)?(b.classList.remove(this.c?"ol-grab":"ol-grabbing"),b.classList.add(this.c?"ol-grabbing":"ol-grab")):b.classList.remove("ol-grab","ol-grabbing")}
function Ux(a,b,c){return c.Oc(b,function(a){if(!this.j||ne(this.j.a,a))return a}.bind(a),{layerFilter:a.B,hitTolerance:a.o})}Px.prototype.L=function(){return this.o};Px.prototype.R=function(a){this.o=a};Px.prototype.setMap=function(a){var b=this.T();$h.prototype.setMap.call(this,a);Wx(this,b)};Px.prototype.u=function(){Wx(this,null)};function Wx(a,b){var c=a.T();a=a.a();c&&a||(c=c||b)&&c.Ca.classList.remove("ol-grab","ol-grabbing")}
function Vx(a,b,c){jc.call(this,a);this.features=b;this.coordinate=c}w(Vx,jc);function Xx(a){a=a?a:{};var b=zb({},a);delete b.gradient;delete b.radius;delete b.blur;delete b.shadow;delete b.weight;yw.call(this,b);this.a=null;this.R=void 0!==a.shadow?a.shadow:250;this.o=void 0;this.c=null;A(this,qc(Yx),this.Dn,this);this.al(a.gradient?a.gradient:Zx);this.Wk(void 0!==a.blur?a.blur:15);this.ee(void 0!==a.radius?a.radius:8);A(this,qc($x),this.zh,this);A(this,qc(ay),this.zh,this);this.zh();var c=a.weight?a.weight:"weight",d;"string"===typeof c?d=function(a){return a.get(c)}:d=c;
this.j(function(a){a=d(a);a=void 0!==a?ja(a,0,1):1;var b=255*a|0,c=this.c[b];c||(c=[new B({image:new ir({opacity:a,src:this.o})})],this.c[b]=c);return c}.bind(this));this.set(Fk,null);A(this,"render",this.Un,this)}w(Xx,yw);var Zx=["#00f","#0ff","#0f0","#ff0","#f00"];k=Xx.prototype;k.cj=function(){return this.get($x)};k.fj=function(){return this.get(Yx)};k.fk=function(){return this.get(ay)};
k.Dn=function(){for(var a=this.fj(),b=Sc(1,256),c=b.createLinearGradient(0,0,1,256),d=1/(a.length-1),e=0,f=a.length;e<f;++e)c.addColorStop(e*d,a[e]);b.fillStyle=c;b.fillRect(0,0,1,256);this.a=b.getImageData(0,0,1,256).data};k.zh=function(){var a=this.fk(),b=this.cj(),c=a+b+1,d=2*c;d=Sc(d,d);d.shadowOffsetX=d.shadowOffsetY=this.R;d.shadowBlur=b;d.shadowColor="#000";d.beginPath();b=c-this.R;d.arc(b,b,a,0,2*Math.PI,!0);d.fill();this.o=d.canvas.toDataURL();this.c=Array(256);this.A()};
k.Un=function(a){a=a.context;var b=a.canvas;b=a.getImageData(0,0,b.width,b.height);var c=b.data,d,e;var f=0;for(d=c.length;f<d;f+=4)if(e=4*c[f+3])c[f]=this.a[e],c[f+1]=this.a[e+1],c[f+2]=this.a[e+2];a.putImageData(b,0,0)};k.Wk=function(a){this.set($x,a)};k.al=function(a){this.set(Yx,a)};k.ee=function(a){this.set(ay,a)};var $x="blur",Yx="gradient",ay="radius";function by(a){qh.call(this,a?a:{});this.type="IMAGE"}w(by,qh);function cy(a){a=a?a:{};var b=zb({},a);delete b.preload;delete b.useInterimTilesOnError;qh.call(this,b);this.a(void 0!==a.preload?a.preload:0);this.j(void 0!==a.useInterimTilesOnError?a.useInterimTilesOnError:!0);this.type="TILE"}w(cy,qh);cy.prototype.c=function(){return this.get("preload")};cy.prototype.a=function(a){this.set("preload",a)};cy.prototype.g=function(){return this.get("useInterimTilesOnError")};cy.prototype.j=function(a){this.set("useInterimTilesOnError",a)};function V(a){a=a?a:{};var b=a.renderMode||"hybrid";ia(void 0==b||"image"==b||"hybrid"==b||"vector"==b,28);a.declutter&&"image"==b&&(b="hybrid");a.renderMode=b;b=zb({},a);delete b.preload;delete b.useInterimTilesOnError;yw.call(this,b);this.R(a.preload?a.preload:0);this.O(a.useInterimTilesOnError?a.useInterimTilesOnError:!0);this.type="VECTOR_TILE"}w(V,yw);V.prototype.c=function(){return this.get("preload")};V.prototype.g=function(){return this.get("useInterimTilesOnError")};
V.prototype.R=function(a){this.set("preload",a)};V.prototype.O=function(a){this.set("useInterimTilesOnError",a)};function dy(a,b){var c=/\{z\}/g,d=/\{x\}/g,e=/\{y\}/g,f=/\{-y\}/g;return function(g){if(g)return a.replace(c,g[0].toString()).replace(d,g[1].toString()).replace(e,function(){return(-g[2]-1).toString()}).replace(f,function(){var a=b.a?b.a[g[0]]:null;ia(a,55);return(a.ya-a.pa+1+g[2]).toString()})}}function ey(a,b){for(var c=a.length,d=Array(c),e=0;e<c;++e)d[e]=dy(a[e],b);return fy(d)}function fy(a){return 1===a.length?a[0]:function(b,c,d){if(b)return a[sa((b[1]<<b[0])+b[2],a.length)](b,c,d)}}
function gy(){}function hy(a){var b=[],c=/\{([a-z])-([a-z])\}/.exec(a);if(c){var d=c[2].charCodeAt(0),e;for(e=c[1].charCodeAt(0);e<=d;++e)b.push(a.replace(c[0],String.fromCharCode(e)));return b}if(c=c=/\{(\d+)-(\d+)\}/.exec(a)){d=parseInt(c[2],10);for(e=parseInt(c[1],10);e<=d;e++)b.push(a.replace(c[0],e.toString()));return b}b.push(a);return b};function iy(a,b,c,d){function e(){delete window[g];f.parentNode.removeChild(f)}var f=document.createElement("script"),g="olc_"+x(b);f.async=!0;f.src=a+(-1==a.indexOf("?")?"?":"&")+(d||"callback")+"="+g;var h=setTimeout(function(){e();c&&c()},1E4);window[g]=function(a){clearTimeout(h);e();b(a)};document.getElementsByTagName("head")[0].appendChild(f)};function jy(a){pd.call(this,a)}w(jy,pd);jy.prototype.qe=function(a){for(var b,c;qd(this);){b=this.l.Fd;c=b.Wa[0].toString();var d;if(d=c in a)b=b.Wa,d=he(a[c],b[1],b[2]);if(d)break;else this.pop().Ab()}};function ky(a){if(0!==a.g){var b=a.c.gd.split("/").map(Number)[0];a.forEach(function(a){if(a.Wa[0]!==b){var c=a.Wa;this.remove(c[0]+"/"+c[1]+"/"+c[2]);a.Ab()}},a)}};function ly(a,b,c,d){var e=Sb(c,b,a);c=Hb(b,d,c);b=b.fd();void 0!==b&&(c*=b);b=a.fd();void 0!==b&&(c/=b);b=a.G();if(!b||Ia(b,e))a=Hb(a,c,e)/c,isFinite(a)&&0<a&&(c/=a);return c}function my(a,b,c,d){a=c-a;b=d-b;var e=Math.sqrt(a*a+b*b);return[Math.round(c+a/e),Math.round(d+b/e)]}
function ny(a,b,c,d,e,f,g,h,l,m,n){var p=Sc(Math.round(c*a),Math.round(c*b));if(0===l.length)return p.canvas;p.scale(c,c);var q=Da();l.forEach(function(a){Sa(q,a.extent)});var r=Sc(Math.round(c*ab(q)/d),Math.round(c*bb(q)/d)),u=c/d;l.forEach(function(a){r.drawImage(a.image,m,m,a.image.width-2*m,a.image.height-2*m,(a.extent[0]-q[0])*u,-(a.extent[3]-q[3])*u,ab(a.extent)*u,bb(a.extent)*u)});var v=Ya(g);h.c.forEach(function(a){var b=a.source,e=a.target,g=b[1][0],h=b[1][1],l=b[2][0],m=b[2][1];a=(e[0][0]-
v[0])/f;var n=-(e[0][1]-v[1])/f,u=(e[1][0]-v[0])/f,y=-(e[1][1]-v[1])/f,lb=(e[2][0]-v[0])/f,Hc=-(e[2][1]-v[1])/f;e=b[0][0];b=b[0][1];g-=e;h-=b;l-=e;m-=b;a:{g=[[g,h,0,0,u-a],[l,m,0,0,lb-a],[0,0,g,h,y-n],[0,0,l,m,Hc-n]];h=g.length;for(l=0;l<h;l++){m=l;for(var nb=Math.abs(g[l][l]),ha=l+1;ha<h;ha++){var ic=Math.abs(g[ha][l]);ic>nb&&(nb=ic,m=ha)}if(0===nb){g=null;break a}nb=g[m];g[m]=g[l];g[l]=nb;for(m=l+1;m<h;m++)for(nb=-g[m][l]/g[l][l],ha=l;ha<h+1;ha++)g[m][ha]=l==ha?0:g[m][ha]+nb*g[l][ha]}l=Array(h);
for(m=h-1;0<=m;m--)for(l[m]=g[m][h]/g[m][m],nb=m-1;0<=nb;nb--)g[nb][h]-=g[nb][m]*l[m];g=l}g&&(p.save(),p.beginPath(),l=(a+u+lb)/3,m=(n+y+Hc)/3,h=my(l,m,a,n),u=my(l,m,u,y),lb=my(l,m,lb,Hc),p.moveTo(u[0],u[1]),p.lineTo(h[0],h[1]),p.lineTo(lb[0],lb[1]),p.clip(),p.transform(g[0],g[2],g[1],g[3],a,n),p.translate(q[0]-e,q[3]-b),p.scale(d/c,-d/c),p.drawImage(r.canvas,0,0),p.restore())});n&&(p.save(),p.strokeStyle="black",p.lineWidth=1,h.c.forEach(function(a){var b=a.target;a=(b[0][0]-v[0])/f;var c=-(b[0][1]-
v[1])/f,d=(b[1][0]-v[0])/f,e=-(b[1][1]-v[1])/f,g=(b[2][0]-v[0])/f;b=-(b[2][1]-v[1])/f;p.beginPath();p.moveTo(d,e);p.lineTo(a,c);p.lineTo(g,b);p.closePath();p.stroke()}),p.restore());return p.canvas};function oy(a,b,c,d,e){this.l=a;this.g=b;var f={},g=Vb(this.g,this.l);this.a=function(a){var b=a[0]+"/"+a[1];f[b]||(f[b]=g(a));return f[b]};this.j=d;this.H=e*e;this.c=[];this.o=!1;this.u=this.l.l&&!!d&&!!this.l.G()&&ab(d)==ab(this.l.G());this.b=this.l.G()?ab(this.l.G()):null;this.s=this.g.G()?ab(this.g.G()):null;a=Ya(c);b=Wa(c);d=Va(c);c=Ua(c);e=this.a(a);var h=this.a(b),l=this.a(d),m=this.a(c);py(this,a,b,d,c,e,h,l,m,10);if(this.o){var n=Infinity;this.c.forEach(function(a){n=Math.min(n,a.source[0][0],
a.source[1][0],a.source[2][0])});this.c.forEach(function(a){if(Math.max(a.source[0][0],a.source[1][0],a.source[2][0])-n>this.b/2){var b=[[a.source[0][0],a.source[0][1]],[a.source[1][0],a.source[1][1]],[a.source[2][0],a.source[2][1]]];b[0][0]-n>this.b/2&&(b[0][0]-=this.b);b[1][0]-n>this.b/2&&(b[1][0]-=this.b);b[2][0]-n>this.b/2&&(b[2][0]-=this.b);Math.max(b[0][0],b[1][0],b[2][0])-Math.min(b[0][0],b[1][0],b[2][0])<this.b/2&&(a.source=b)}},this)}f={}}
function py(a,b,c,d,e,f,g,h,l,m){var n=Ca([f,g,h,l]),p=a.b?ab(n)/a.b:null,q=a.b,r=a.l.l&&.5<p&&1>p,u=!1;if(0<m){if(a.g.c&&a.s){var v=Ca([b,c,d,e]);u|=.25<ab(v)/a.s}!r&&a.l.c&&p&&(u|=.25<p)}if(u||!a.j||fb(n,a.j)){if(!(u||isFinite(f[0])&&isFinite(f[1])&&isFinite(g[0])&&isFinite(g[1])&&isFinite(h[0])&&isFinite(h[1])&&isFinite(l[0])&&isFinite(l[1])))if(0<m)u=!0;else return;if(0<m&&(u||(n=a.a([(b[0]+d[0])/2,(b[1]+d[1])/2]),q=r?(sa(f[0],q)+sa(h[0],q))/2-sa(n[0],q):(f[0]+h[0])/2-n[0],n=(f[1]+h[1])/2-n[1],
u=q*q+n*n>a.H),u)){Math.abs(b[0]-d[0])<=Math.abs(b[1]-d[1])?(r=[(c[0]+d[0])/2,(c[1]+d[1])/2],q=a.a(r),n=[(e[0]+b[0])/2,(e[1]+b[1])/2],p=a.a(n),py(a,b,c,r,n,f,g,q,p,m-1),py(a,n,r,d,e,p,q,h,l,m-1)):(r=[(b[0]+c[0])/2,(b[1]+c[1])/2],q=a.a(r),n=[(d[0]+e[0])/2,(d[1]+e[1])/2],p=a.a(n),py(a,b,r,n,e,f,q,p,l,m-1),py(a,r,c,d,n,q,g,h,p,m-1));return}if(r){if(!a.u)return;a.o=!0}a.c.push({source:[f,h,l],target:[b,d,e]});a.c.push({source:[f,g,h],target:[b,c,d]})}}
function qy(a){var b=Da();a.c.forEach(function(a){a=a.source;Ea(b,a[0]);Ea(b,a[1]);Ea(b,a[2])});return b};function ry(a,b,c,d,e,f,g,h,l,m,n){el.call(this,e,0);this.O=void 0!==n?n:!1;this.R=g;this.L=h;this.B=null;this.c=b;this.o=d;this.H=f?f:e;this.a=[];this.Je=null;this.j=0;f=d.ib(this.H);h=this.o.G();e=this.c.G();f=h?eb(f,h):f;if(0===Za(f))this.state=4;else if((h=a.G())&&(e?e=eb(e,h):e=h),d=d.la(this.H[0]),d=ly(a,c,cb(f),d),!isFinite(d)||0>=d)this.state=4;else if(this.C=new oy(a,c,f,e,d*(void 0!==m?m:.5)),0===this.C.c.length)this.state=4;else if(this.j=b.wd(d),c=qy(this.C),e&&(a.l?(c[1]=ja(c[1],e[1],
e[3]),c[3]=ja(c[3],e[1],e[3])):c=eb(c,e)),Za(c)){a=Ce(b,c,this.j);for(b=a.qa;b<=a.za;b++)for(c=a.pa;c<=a.ya;c++)(m=l(this.j,b,c,g))&&this.a.push(m);0===this.a.length&&(this.state=4)}else this.state=4}w(ry,el);ry.prototype.sa=function(){1==this.state&&(this.Je.forEach($b),this.Je=null);el.prototype.sa.call(this)};ry.prototype.fa=function(){return this.B};
ry.prototype.ff=function(){var a=[];this.a.forEach(function(b){b&&2==b.getState()&&a.push({extent:this.c.ib(b.Wa),image:b.fa()})},this);this.a.length=0;if(0===a.length)this.state=3;else{var b=this.H[0],c=this.o.wb(b),d="number"===typeof c?c:c[0];c="number"===typeof c?c:c[1];b=this.o.la(b);var e=this.c.la(this.j),f=this.o.ib(this.H);this.B=ny(d,c,this.R,e,this.c.G(),b,f,this.C,a,this.L,this.O);this.state=2}this.A()};
ry.prototype.load=function(){if(0==this.state){this.state=1;this.A();var a=0;this.Je=[];this.a.forEach(function(b){var c=b.getState();if(0==c||1==c){a++;var d=A(b,"change",function(){var c=b.getState();if(2==c||3==c||4==c)$b(d),a--,0===a&&(this.Je.forEach($b),this.Je=null,this.ff())},this);this.Je.push(d)}},this);this.a.forEach(function(a){0==a.getState()&&a.load()});0===a&&setTimeout(this.ff.bind(this),0)}};function sy(a){Bw.call(this,{attributions:a.attributions,extent:a.extent,logo:a.logo,projection:a.projection,state:a.state,wrapX:a.wrapX});this.sb=void 0!==a.opaque?a.opaque:!1;this.md=void 0!==a.tilePixelRatio?a.tilePixelRatio:1;this.tileGrid=void 0!==a.tileGrid?a.tileGrid:null;this.a=new jy(a.cacheSize);this.s=[0,0];this.gd="";this.Na={transition:a.transition}}w(sy,Bw);k=sy.prototype;k.tk=function(){return qd(this.a)};k.qe=function(a,b){(a=this.Ve(a))&&a.qe(b)};
function hj(a,b,c,d,e){a=a.Ve(b);if(!a)return!1;b=!0;for(var f,g,h=d.qa;h<=d.za;++h)for(var l=d.pa;l<=d.ya;++l)f=c+"/"+h+"/"+l,g=!1,a.a.hasOwnProperty(f)&&(f=a.get(f),(g=2===f.getState())&&(g=!1!==e(f))),g||(b=!1);return b}k.mh=function(){return 0};function ty(a,b){a.gd!==b&&(a.gd=b,a.A())}k.th=function(){return this.sb};k.Kb=function(){return this.tileGrid};k.Db=function(a){return this.tileGrid?this.tileGrid:Ie(a)};k.Ve=function(a){var b=this.c;return b&&!Ub(b,a)?null:this.a};k.Pd=function(){return this.md};
k.We=function(a,b,c){c=this.Db(c);b=this.Pd(b);a=le(c.wb(a),this.s);return 1==b?a:ke(a,b,this.s)};function uy(a,b,c){var d=void 0!==c?c:a.c;c=a.Db(d);if(a.L&&d.c){var e=b;b=e[0];a=He(c,e);d=Me(d);Ia(d,a)?b=e:(e=ab(d),a[0]+=e*Math.ceil((d[0]-a[0])/e),b=c.xh(a,b))}e=b[0];d=b[1];a=b[2];if(c.minZoom>e||e>c.maxZoom)c=!1;else{var f=c.G();c=(c=f?Ce(c,f,e):c.a?c.a[e]:null)?he(c,d,a):!0}return c?b:null}k.Fa=function(){this.a.clear();this.A()};k.zi=da;function vy(a,b){jc.call(this,a);this.tile=b}w(vy,jc);function wy(a){sy.call(this,{attributions:a.attributions,cacheSize:a.cacheSize,extent:a.extent,logo:a.logo,opaque:a.opaque,projection:a.projection,state:a.state,tileGrid:a.tileGrid,tilePixelRatio:a.tilePixelRatio,wrapX:a.wrapX,transition:a.transition});this.tileLoadFunction=a.tileLoadFunction;this.tileUrlFunction=this.dd?this.dd.bind(this):gy;this.urls=null;a.urls?this.Wb(a.urls):a.url&&this.Sb(a.url);a.tileUrlFunction&&this.Ib(a.tileUrlFunction);this.ea={}}w(wy,sy);k=wy.prototype;k.gc=function(){return this.tileLoadFunction};
k.hc=function(){return this.tileUrlFunction};k.ic=function(){return this.urls};k.uk=function(a){a=a.target;var b=x(a),c=a.getState();if(1==c){this.ea[b]=!0;var d="tileloadstart"}else b in this.ea&&(delete this.ea[b],d=3==c?"tileloaderror":2==c||5==c?"tileloadend":void 0);void 0!=d&&this.b(new vy(d,a))};k.mc=function(a){this.a.clear();this.tileLoadFunction=a;this.A()};k.Ib=function(a,b){this.tileUrlFunction=a;ky(this.a);"undefined"!==typeof b?ty(this,b):this.A()};
k.Sb=function(a){var b=this.urls=hy(a);this.Ib(this.dd?this.dd.bind(this):ey(b,this.tileGrid),a)};k.Wb=function(a){this.urls=a;var b=a.join("\n");this.Ib(this.dd?this.dd.bind(this):ey(a,this.tileGrid),b)};k.zi=function(a,b,c){a=a+"/"+b+"/"+c;this.a.a.hasOwnProperty(a)&&this.a.get(a)};function xy(a){wy.call(this,{attributions:a.attributions,cacheSize:a.cacheSize,extent:a.extent,logo:a.logo,opaque:a.opaque,projection:a.projection,state:a.state,tileGrid:a.tileGrid,tileLoadFunction:a.tileLoadFunction?a.tileLoadFunction:yy,tilePixelRatio:a.tilePixelRatio,tileUrlFunction:a.tileUrlFunction,url:a.url,urls:a.urls,wrapX:a.wrapX,transition:a.transition});this.crossOrigin=void 0!==a.crossOrigin?a.crossOrigin:null;this.tileClass=void 0!==a.tileClass?a.tileClass:gl;this.j={};this.u={};this.qb=
a.reprojectionErrorThreshold;this.$=!1}w(xy,wy);k=xy.prototype;k.tk=function(){if(qd(this.a))return!0;for(var a in this.j)if(qd(this.j[a]))return!0;return!1};k.qe=function(a,b){a=this.Ve(a);this.a.qe(this.a==a?b:{});for(var c in this.j){var d=this.j[c];d.qe(d==a?b:{})}};k.mh=function(a){return this.c&&a&&!Ub(this.c,a)?0:this.nh()};k.nh=function(){return 0};k.th=function(a){return this.c&&a&&!Ub(this.c,a)?!1:wy.prototype.th.call(this,a)};
k.Db=function(a){var b=this.c;return!this.tileGrid||b&&!Ub(b,a)?(b=x(a).toString(),b in this.u||(this.u[b]=Ie(a)),this.u[b]):this.tileGrid};k.Ve=function(a){var b=this.c;if(!b||Ub(b,a))return this.a;a=x(a).toString();a in this.j||(this.j[a]=new jy(this.a.highWaterMark));return this.j[a]};
function zy(a,b,c,d,e,f,g){b=[b,c,d];e=(c=uy(a,b,f))?a.tileUrlFunction(c,e,f):void 0;e=new a.tileClass(b,void 0!==e?0:4,void 0!==e?e:"",a.crossOrigin,a.tileLoadFunction,a.Na);e.key=g;A(e,"change",a.uk,a);return e}
k.Wd=function(a,b,c,d,e){var f=this.c;if(f&&e&&!Ub(f,e)){var g=this.Ve(e);c=[a,b,c];var h;a=c[0]+"/"+c[1]+"/"+c[2];g.a.hasOwnProperty(a)&&(h=g.get(a));b=this.gd;if(h&&h.key==b)return h;var l=this.Db(f),m=this.Db(e),n=uy(this,c,e);d=new ry(f,l,e,m,c,n,this.Pd(d),this.nh(),function(a,b,c,d){return Ay(this,a,b,c,d,f)}.bind(this),this.qb,this.$);d.key=b;h?(d.l=h,fl(d),g.replace(a,d)):g.set(a,d);return d}return Ay(this,a,b,c,d,f||e)};
function Ay(a,b,c,d,e,f){var g=b+"/"+c+"/"+d,h=a.gd;if(a.a.a.hasOwnProperty(g)){var l=a.a.get(g);if(l.key!=h){var m=l;l=zy(a,b,c,d,e,f,h);0==m.getState()?l.l=m.l:l.l=m;fl(l);a.a.replace(g,l)}}else l=zy(a,b,c,d,e,f,h),a.a.set(g,l);return l}k.Hc=function(a){if(this.$!=a){this.$=a;for(var b in this.j)this.j[b].clear();this.A()}};k.Ic=function(a,b){if(a=Ib(a))a=x(a).toString(),a in this.u||(this.u[a]=b)};function yy(a,b){a.fa().src=b};function By(a){this.g=void 0!==a.hidpi?a.hidpi:!1;xy.call(this,{cacheSize:a.cacheSize,crossOrigin:"anonymous",opaque:!0,projection:Ib("EPSG:3857"),reprojectionErrorThreshold:a.reprojectionErrorThreshold,state:"loading",tileLoadFunction:a.tileLoadFunction,tilePixelRatio:this.g?2:1,wrapX:void 0!==a.wrapX?a.wrapX:!0,transition:a.transition});this.B=void 0!==a.culture?a.culture:"en-us";this.ha=void 0!==a.maxZoom?a.maxZoom:-1;this.o=a.key;this.O=a.imagerySet;iy("https://dev.virtualearth.net/REST/v1/Imagery/Metadata/"+
this.O+"?uriScheme=https&include=ImageryProviders&key="+this.o+"&c="+this.B,this.Xa.bind(this),void 0,"jsonp")}w(By,xy);By.prototype.ma=function(){return this.o};By.prototype.Ha=function(){return this.O};
By.prototype.Xa=function(a){if(200!=a.statusCode||"OK"!=a.statusDescription||"ValidCredentials"!=a.authenticationResultCode||1!=a.resourceSets.length||1!=a.resourceSets[0].resources.length)Dw(this,"error");else{var b=a.brandLogoUri;-1==b.indexOf("https")&&(b=b.replace("http","https"));var c=a.resourceSets[0].resources[0];a=-1==this.ha?c.zoomMax:this.ha;var d=Me(this.c);this.tileGrid=Ke({extent:d,minZoom:c.zoomMin,maxZoom:a,tileSize:(c.imageWidth==c.imageHeight?c.imageWidth:[c.imageWidth,c.imageHeight])/
(this.g?2:1)});var e=this.B,f=this.g;this.tileUrlFunction=fy(c.imageUrlSubdomains.map(function(a){var b=[0,0,0],d=c.imageUrl.replace("{subdomain}",a).replace("{culture}",e);return function(a){if(a)return xe(a[0],a[1],-a[2]-1,b),a=d,f&&(a+="&dpi=d1&device=mobile"),a.replace("{quadkey}",ye(b))}}));if(c.imageryProviders){var g=Jb(Ib("EPSG:4326"),this.c);this.Ja(function(a){var b=[],d=a.viewState.zoom;c.imageryProviders.map(function(c){for(var e=!1,f=c.coverageAreas,h=0,l=f.length;h<l;++h){var m=f[h];
if(d>=m.zoomMin&&d<=m.zoomMax&&(m=m.bbox,m=hb([m[1],m[0],m[3],m[2]],g),fb(m,a.extent))){e=!0;break}}e&&b.push(c.attribution)});b.push('<a class="ol-attribution-bing-tos" href="https://www.microsoft.com/maps/product/terms.html">Terms of Use</a>');return b})}this.aa=b;Dw(this,"ready")}};function Cy(a){a=a||{};var b=void 0!==a.projection?a.projection:"EPSG:3857",c=void 0!==a.tileGrid?a.tileGrid:Ke({extent:Me(b),maxZoom:a.maxZoom,minZoom:a.minZoom,tileSize:a.tileSize});xy.call(this,{attributions:a.attributions,cacheSize:a.cacheSize,crossOrigin:a.crossOrigin,logo:a.logo,opaque:a.opaque,projection:b,reprojectionErrorThreshold:a.reprojectionErrorThreshold,tileGrid:c,tileLoadFunction:a.tileLoadFunction,tilePixelRatio:a.tilePixelRatio,tileUrlFunction:a.tileUrlFunction,url:a.url,urls:a.urls,
wrapX:void 0!==a.wrapX?a.wrapX:!0,transition:a.transition})}w(Cy,xy);function Dy(a){this.B=a.account;this.O=a.map||"";this.g=a.config||{};this.o={};Cy.call(this,{attributions:a.attributions,cacheSize:a.cacheSize,crossOrigin:a.crossOrigin,logo:a.logo,maxZoom:void 0!==a.maxZoom?a.maxZoom:18,minZoom:a.minZoom,projection:a.projection,state:"loading",wrapX:a.wrapX});Ey(this)}w(Dy,Cy);k=Dy.prototype;k.Dm=function(){return this.g};k.Es=function(a){zb(this.g,a);Ey(this)};k.es=function(a){this.g=a||{};Ey(this)};
function Ey(a){var b=JSON.stringify(a.g);if(a.o[b])Fy(a,a.o[b]);else{var c="https://"+a.B+".carto.com/api/v1/map";a.O&&(c+="/named/"+a.O);var d=new XMLHttpRequest;d.addEventListener("load",a.Fn.bind(a,b));d.addEventListener("error",a.En.bind(a));d.open("POST",c);d.setRequestHeader("Content-type","application/json");d.send(JSON.stringify(a.g))}}
k.Fn=function(a,b){b=b.target;if(!b.status||200<=b.status&&300>b.status){try{var c=JSON.parse(b.responseText)}catch(d){Dw(this,"error");return}Fy(this,c);this.o[a]=c;Dw(this,"ready")}else Dw(this,"error")};k.En=function(){Dw(this,"error")};function Fy(a,b){a.Sb("https://"+b.cdn_url.https+"/"+a.B+"/api/v1/map/"+b.layergroupid+"/{z}/{x}/{y}.png")};function W(a){U.call(this,{attributions:a.attributions,extent:a.extent,logo:a.logo,projection:a.projection,wrapX:a.wrapX});this.resolution=void 0;this.distance=void 0!==a.distance?a.distance:20;this.features=[];this.geometryFunction=a.geometryFunction||function(a){a=a.W();ia(a instanceof D,10);return a};this.source=a.source;this.source.J("change",W.prototype.Fa,this)}w(W,U);k=W.prototype;k.qk=function(){return this.distance};k.Z=function(){return this.source};
k.Ze=function(a,b,c){this.source.Ze(a,b,c);b!==this.resolution&&(this.clear(),this.resolution=b,this.Ef(),this.Lc(this.features))};k.Yk=function(a){this.distance=a;this.Fa()};k.Fa=function(){this.clear();this.Ef();this.Lc(this.features);U.prototype.Fa.call(this)};
k.Ef=function(){if(void 0!==this.resolution){this.features.length=0;for(var a=Da(),b=this.distance*this.resolution,c=this.source.Pb(),d={},e=0,f=c.length;e<f;e++){var g=c[e];x(g).toString()in d||!(g=this.geometryFunction(g))||(g=g.ca(),Oa(g,a),Fa(a,b,a),g=this.source.Of(a),g=g.filter(function(a){a=x(a).toString();return a in d?!1:d[a]=!0}),this.features.push(Gy(this,g)))}}};
function Gy(a,b){for(var c=[0,0],d=b.length-1;0<=d;--d){var e=a.geometryFunction(b[d]);e?Xf(c,e.ca()):b.splice(d,1)}fg(c,1/b.length);a=new C(new D(c));a.set("features",b);return a};function Hy(a,b,c,d,e,f){this.u=b;this.o=a.G();var g=b.G(),h=g?eb(c,g):c;g=ly(a,b,cb(h),d);this.j=new oy(a,b,h,this.o,.5*g);this.c=d;this.l=c;a=qy(this.j);this.s=(this.Jc=f(a,g,e))?this.Jc.a:1;this.mf=this.g=null;e=2;this.Jc&&(e=0);Ui.call(this,c,d,this.s,e)}w(Hy,Ui);Hy.prototype.sa=function(){1==this.state&&($b(this.mf),this.mf=null);Ui.prototype.sa.call(this)};Hy.prototype.fa=function(){return this.g};
Hy.prototype.ff=function(){var a=this.Jc.getState();2==a&&(this.g=ny(ab(this.l)/this.c,bb(this.l)/this.c,this.s,this.Jc.la(),0,this.c,this.l,this.j,[{extent:this.Jc.G(),image:this.Jc.fa()}],0));this.state=a;this.A()};Hy.prototype.load=function(){if(0==this.state){this.state=1;this.A();var a=this.Jc.getState();2==a||3==a?this.ff():(this.mf=A(this.Jc,"change",function(){var a=this.Jc.getState();if(2==a||3==a)$b(this.mf),this.mf=null,this.ff()},this),this.Jc.load())}};function Iy(a){Bw.call(this,{attributions:a.attributions,extent:a.extent,logo:a.logo,projection:a.projection,state:a.state});this.B=void 0!==a.resolutions?a.resolutions:null;this.g=null;this.Ha=0}w(Iy,Bw);function Jy(a,b){a.B&&(b=a.B[oe(a.B,b,0)]);return b}
Iy.prototype.fa=function(a,b,c,d){var e=this.c;if(e&&d&&!Ub(e,d)){if(this.g){if(this.Ha==this.l&&Ub(this.g.u,d)&&this.g.la()==b&&Ra(this.g.G(),a))return this.g;this.g.Ab();this.g=null}this.g=new Hy(e,d,a,b,c,function(a,b,c){return this.Od(a,b,c,e)}.bind(this));this.Ha=this.l;return this.g}e&&(d=e);return this.Od(a,b,c,d)};Iy.prototype.s=function(a){a=a.target;switch(a.getState()){case 1:this.b(new Ky(Ly,a));break;case 2:this.b(new Ky(My,a));break;case 3:this.b(new Ky(Ny,a))}};
function Oy(a,b){a.fa().src=b}function Ky(a,b){jc.call(this,a);this.image=b}w(Ky,jc);var Ly="imageloadstart",My="imageloadend",Ny="imageloaderror";function Py(a,b){var c=[];Object.keys(b).forEach(function(a){null!==b[a]&&void 0!==b[a]&&c.push(a+"="+encodeURIComponent(b[a]))});var d=c.join("&");a=a.replace(/[?&]$/,"");a=-1===a.indexOf("?")?a+"?":a+"&";return a+d};function Qy(a){a=a||{};Iy.call(this,{attributions:a.attributions,logo:a.logo,projection:a.projection,resolutions:a.resolutions});this.ea=void 0!==a.crossOrigin?a.crossOrigin:null;this.ha=void 0!==a.hidpi?a.hidpi:!0;this.a=a.url;this.j=void 0!==a.imageLoadFunction?a.imageLoadFunction:Oy;this.u=a.params||{};this.V=null;this.o=[0,0];this.$=0;this.O=void 0!==a.ratio?a.ratio:1.5}w(Qy,Iy);k=Qy.prototype;k.Wp=function(){return this.u};
k.Od=function(a,b,c,d){if(void 0===this.a)return null;b=Jy(this,b);c=this.ha?c:1;var e=this.V;if(e&&this.$==this.l&&e.la()==b&&e.a==c&&Ka(e.G(),a))return e;e={F:"image",FORMAT:"PNG32",TRANSPARENT:!0};zb(e,this.u);a=a.slice();var f=(a[0]+a[2])/2,g=(a[1]+a[3])/2;if(1!=this.O){var h=this.O*ab(a)/2,l=this.O*bb(a)/2;a[0]=f-h;a[1]=g-l;a[2]=f+h;a[3]=g+l}h=b/c;l=Math.ceil(ab(a)/h);var m=Math.ceil(bb(a)/h);a[0]=f-h*l/2;a[2]=f+h*l/2;a[1]=g-h*m/2;a[3]=g+h*m/2;this.o[0]=l;this.o[1]=m;f=a;g=this.o;h=c;d=d.Zb.split(":").pop();
e.SIZE=g[0]+","+g[1];e.BBOX=f.join(",");e.BBOXSR=d;e.IMAGESR=d;e.DPI=Math.round(90*h);d=this.a;f=d.replace(/MapServer\/?$/,"MapServer/export").replace(/ImageServer\/?$/,"ImageServer/exportImage");f==d&&ia(!1,50);e=Py(f,e);this.V=new dl(a,b,c,e,this.ea,this.j);this.$=this.l;A(this.V,"change",this.s,this);return this.V};k.Vp=function(){return this.j};k.Xp=function(){return this.a};k.Yp=function(a){this.V=null;this.j=a;this.A()};k.Zp=function(a){a!=this.a&&(this.a=a,this.V=null,this.A())};
k.$p=function(a){zb(this.u,a);this.V=null;this.A()};function Ry(a){Iy.call(this,{attributions:a.attributions,logo:a.logo,projection:a.projection,resolutions:a.resolutions,state:a.state});this.Na=a.canvasFunction;this.ea=null;this.ha=0;this.Xa=void 0!==a.ratio?a.ratio:1.5}w(Ry,Iy);Ry.prototype.Od=function(a,b,c,d){b=Jy(this,b);var e=this.ea;if(e&&this.ha==this.l&&e.la()==b&&e.a==c&&Ka(e.G(),a))return e;a=a.slice();gb(a,this.Xa);(d=this.Na(a,b,c,[ab(a)/b*c,bb(a)/b*c],d))&&(e=new Vi(a,b,c,d));this.ea=e;this.ha=this.l;return e};function Sy(a){Iy.call(this,{projection:a.projection,resolutions:a.resolutions});this.ea=void 0!==a.crossOrigin?a.crossOrigin:null;this.o=void 0!==a.displayDpi?a.displayDpi:96;this.j=a.params||{};this.$=a.url;this.a=void 0!==a.imageLoadFunction?a.imageLoadFunction:Oy;this.ha=void 0!==a.hidpi?a.hidpi:!0;this.ma=void 0!==a.metersPerUnit?a.metersPerUnit:1;this.u=void 0!==a.ratio?a.ratio:1;this.Na=void 0!==a.useOverlay?a.useOverlay:!1;this.V=null;this.O=0}w(Sy,Iy);k=Sy.prototype;k.bq=function(){return this.j};
k.Od=function(a,b,c){b=Jy(this,b);c=this.ha?c:1;var d=this.V;if(d&&this.O==this.l&&d.la()==b&&d.a==c&&Ka(d.G(),a))return d;1!=this.u&&(a=a.slice(),gb(a,this.u));var e=[ab(a)/b*c,bb(a)/b*c];if(void 0!==this.$){d=this.$;var f=cb(a),g=this.ma,h=ab(a),l=bb(a),m=e[0],n=e[1],p=.0254/this.o;e={OPERATION:this.Na?"GETDYNAMICMAPOVERLAYIMAGE":"GETMAPIMAGE",VERSION:"2.0.0",LOCALE:"en",CLIENTAGENT:"ol.source.ImageMapGuide source",CLIP:"1",SETDISPLAYDPI:this.o,SETDISPLAYWIDTH:Math.round(e[0]),SETDISPLAYHEIGHT:Math.round(e[1]),
SETVIEWSCALE:n*h>m*l?h*g/(m*p):l*g/(n*p),SETVIEWCENTERX:f[0],SETVIEWCENTERY:f[1]};zb(e,this.j);d=Py(d,e);d=new dl(a,b,c,d,this.ea,this.a);A(d,"change",this.s,this)}else d=null;this.V=d;this.O=this.l;return d};k.aq=function(){return this.a};k.eq=function(a){zb(this.j,a);this.A()};k.cq=function(a){this.V=null;this.a=a;this.A()};function Ty(a){var b=a.imageExtent,c=void 0!==a.crossOrigin?a.crossOrigin:null,d=void 0!==a.imageLoadFunction?a.imageLoadFunction:Oy;Iy.call(this,{attributions:a.attributions,logo:a.logo,projection:Ib(a.projection)});this.V=new dl(b,void 0,1,a.url,c,d);this.a=a.imageSize?a.imageSize:null;A(this.V,"change",this.s,this)}w(Ty,Iy);Ty.prototype.Od=function(a){return fb(a,this.V.G())?this.V:null};
Ty.prototype.s=function(a){if(2==this.V.getState()){var b=this.V.G(),c=this.V.fa();if(this.a){var d=this.a[0];var e=this.a[1]}else d=c.width,e=c.height;b=Math.ceil(ab(b)/(bb(b)/e));if(b!=d){b=Sc(b,e);var f=b.canvas;b.drawImage(c,0,0,d,e,0,0,f.width,f.height);this.V.ce(f)}}Iy.prototype.s.call(this,a)};function Uy(a){this.a=a.source;this.qb=yc();this.j=Sc();this.o=[0,0];this.ma=Oj.Cd(9);this.sb=void 0==a.renderBuffer?100:a.renderBuffer;this.O=null;Ry.call(this,{attributions:a.attributions,canvasFunction:this.Zl.bind(this),logo:a.logo,projection:a.projection,ratio:a.ratio,resolutions:a.resolutions,state:this.a.getState()});this.$=null;this.u=void 0;this.rk(a.style);A(this.a,"change",this.gq,this)}w(Uy,Ry);k=Uy.prototype;
k.Zl=function(a,b,c,d,e){var f=new sk(.5*b/c,a,b,c,this.a.ha,this.ma,this.sb);this.a.Ze(a,b,e);var g=!1;this.a.Pc(a,function(a){var d;if(!(d=g)){var e;(d=a.gb())?e=d.call(a,b):this.u&&(e=this.u(a,b));if(e){var h,p=!1;Array.isArray(e)||(e=[e]);d=0;for(h=e.length;d<h;++d)p=Bk(f,a,e[d],Ak(b,c),this.fq,this)||p;d=p}else d=!1}g=d},this);wk(f);if(g)return null;this.o[0]!=d[0]||this.o[1]!=d[1]?(this.j.canvas.width=d[0],this.j.canvas.height=d[1],this.o[0]=d[0],this.o[1]=d[1]):this.j.clearRect(0,0,d[0],d[1]);
this.ma.clear();a=Vy(this,cb(a),b,c,d);f.kb(this.j,a,0,{});this.O=f;return this.j.canvas};k.Oa=function(a,b,c,d,e,f){if(this.O){var g={};return this.O.Oa(a,b,0,d,e,function(a){var b=x(a).toString();if(!(b in g))return g[b]=!0,f(a)},null)}};k.Z=function(){return this.a};k.Ga=function(){return this.$};k.gb=function(){return this.u};function Vy(a,b,c,d,e){c=d/c;return Ic(a.qb,e[0]/2,e[1]/2,c,-c,0,-b[0],-b[1])}k.fq=function(){this.A()};k.gq=function(){Dw(this,this.a.getState())};
k.rk=function(a){this.$=void 0!==a?a:Pd;this.u=a?Nd(this.$):void 0;this.A()};function Wy(a){a=a||{};Iy.call(this,{attributions:a.attributions,logo:a.logo,projection:a.projection,resolutions:a.resolutions});this.ma=void 0!==a.crossOrigin?a.crossOrigin:null;this.j=a.url;this.u=void 0!==a.imageLoadFunction?a.imageLoadFunction:Oy;this.a=a.params||{};this.o=!0;Xy(this);this.ha=a.serverType;this.Na=void 0!==a.hidpi?a.hidpi:!0;this.V=null;this.O=[0,0];this.ea=0;this.$=void 0!==a.ratio?a.ratio:1.5}w(Wy,Iy);var Yy=[101,101];k=Wy.prototype;
k.hq=function(a,b,c,d){if(void 0!==this.j){c=Ib(c);var e=this.c;e&&e!==c&&(b=ly(e,c,a,b),a=Sb(a,c,e));var f=db(a,b,0,Yy),g={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetFeatureInfo",FORMAT:"image/png",TRANSPARENT:!0,QUERY_LAYERS:this.a.LAYERS};zb(g,this.a,d);d=Math.floor((f[3]-a[1])/b);g[this.o?"I":"X"]=Math.floor((a[0]-f[0])/b);g[this.o?"J":"Y"]=d;return Zy(this,f,Yy,1,e||c,g)}};k.jq=function(){return this.a};
k.Od=function(a,b,c,d){if(void 0===this.j)return null;b=Jy(this,b);1==c||this.Na&&void 0!==this.ha||(c=1);var e=b/c,f=cb(a),g=db(f,e,0,[Math.ceil(ab(a)/e),Math.ceil(bb(a)/e)]);a=db(f,e,0,[Math.ceil(this.$*ab(a)/e),Math.ceil(this.$*bb(a)/e)]);if((f=this.V)&&this.ea==this.l&&f.la()==b&&f.a==c&&Ka(f.G(),g))return f;g={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0};zb(g,this.a);this.O[0]=Math.round(ab(a)/e);this.O[1]=Math.round(bb(a)/e);d=Zy(this,a,this.O,c,d,g);this.V=
new dl(a,b,c,d,this.ma,this.u);this.ea=this.l;A(this.V,"change",this.s,this);return this.V};k.iq=function(){return this.u};
function Zy(a,b,c,d,e,f){ia(void 0!==a.j,9);f[a.o?"CRS":"SRS"]=e.Zb;"STYLES"in a.a||(f.STYLES="");if(1!=d)switch(a.ha){case "geoserver":d=90*d+.5|0;f.FORMAT_OPTIONS="FORMAT_OPTIONS"in f?f.FORMAT_OPTIONS+(";dpi:"+d):"dpi:"+d;break;case "mapserver":f.MAP_RESOLUTION=90*d;break;case "carmentaserver":case "qgis":f.DPI=90*d;break;default:ia(!1,8)}f.WIDTH=c[0];f.HEIGHT=c[1];c=e.b;var g;a.o&&"ne"==c.substr(0,2)?g=[b[1],b[0],b[3],b[2]]:g=b;f.BBOX=g.join(",");return Py(a.j,f)}k.kq=function(){return this.j};
k.lq=function(a){this.V=null;this.u=a;this.A()};k.mq=function(a){a!=this.j&&(this.j=a,this.V=null,this.A())};k.nq=function(a){zb(this.a,a);Xy(this);this.V=null;this.A()};function Xy(a){a.o=0<=Wf(a.a.VERSION||"1.3.0")};function $y(a){a=a||{};var b;void 0!==a.attributions?b=a.attributions:b=['&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors.'];Cy.call(this,{attributions:b,cacheSize:a.cacheSize,crossOrigin:void 0!==a.crossOrigin?a.crossOrigin:"anonymous",opaque:void 0!==a.opaque?a.opaque:!0,maxZoom:void 0!==a.maxZoom?a.maxZoom:19,reprojectionErrorThreshold:a.reprojectionErrorThreshold,tileLoadFunction:a.tileLoadFunction,url:void 0!==a.url?a.url:"https://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png",
wrapX:a.wrapX})}w($y,Cy);Oj.wg={};Oj.wg.Rg=function(){};
(function(a){function b(a,b,c){if(g)return new ImageData(a,b,c);b=h.createImageData(b,c);b.data.set(a);return b}function c(a){var b=!0;try{new ImageData(10,10)}catch(n){b=!1}return function(c){var d=c.buffers,e=c.meta,f=c.width,g=c.height,h=d.length,l=d[0].byteLength;if(c.imageOps){l=Array(h);for(c=0;c<h;++c){var m=c;var n=new Uint8ClampedArray(d[c]);var M=f,Xa=g;n=b?new ImageData(n,M,Xa):{data:n,width:M,height:Xa};l[m]=n}f=a(l,e).data}else{f=new Uint8ClampedArray(l);g=Array(h);m=Array(h);for(c=0;c<
h;++c)g[c]=new Uint8ClampedArray(d[c]),m[c]=[0,0,0,0];for(d=0;d<l;d+=4){for(c=0;c<h;++c)n=g[c],m[c][0]=n[d],m[c][1]=n[d+1],m[c][2]=n[d+2],m[c][3]=n[d+3];c=a(m,e);f[d]=c[0];f[d+1]=c[1];f[d+2]=c[2];f[d+3]=c[3]}}return f.buffer}}function d(a,b){var d=Object.keys(a.lib||{}).map(function(b){return"var "+b+" = "+a.lib[b].toString()+";"}).concat(["var __minion__ = ("+c.toString()+")(",a.operation.toString(),");",'self.addEventListener("message", function(event) {',"  var buffer = __minion__(event.data);",
"  self.postMessage({buffer: buffer, meta: event.data.meta}, [buffer]);","});"]);d=URL.createObjectURL(new Blob(d,{type:"text/javascript"}));d=new Worker(d);d.addEventListener("message",b);return d}function e(a,b){var d=c(a.operation);return{postMessage:function(a){setTimeout(function(){b({data:{buffer:d(a),meta:a.meta}})},0)}}}function f(a){this.Sg=!!a.co;var b;0===a.threads?b=0:this.Sg?b=1:b=a.threads||1;var c=[];if(b)for(var f=0;f<b;++f)c[f]=d(a,this.Mi.bind(this,f));else c[0]=e(a,this.Mi.bind(this,
0));this.Af=c;this.Me=[];this.Pl=a.dr||Infinity;this.zf=0;this.me={};this.Tg=null}var g=!0;try{new ImageData(10,10)}catch(l){g=!1}var h=document.createElement("canvas").getContext("2d");f.prototype.cr=function(a,b,c){this.Nl({inputs:a,uj:b,callback:c});this.Ji()};f.prototype.Nl=function(a){for(this.Me.push(a);this.Me.length>this.Pl;)this.Me.shift().callback(null,null)};f.prototype.Ji=function(){if(0===this.zf&&0<this.Me.length){var a=this.Tg=this.Me.shift(),b=a.inputs[0].width,c=a.inputs[0].height,
d=a.inputs.map(function(a){return a.data.buffer}),e=this.Af.length;this.zf=e;if(1===e)this.Af[0].postMessage({buffers:d,meta:a.uj,imageOps:this.Sg,width:b,height:c},d);else for(var f=4*Math.ceil(a.inputs[0].data.length/4/e),g=0;g<e;++g){for(var h=g*f,y=[],z=0,E=d.length;z<E;++z)y.push(d[g].slice(h,h+f));this.Af[g].postMessage({buffers:y,meta:a.uj,imageOps:this.Sg,width:b,height:c},y)}}};f.prototype.Mi=function(a,b){this.Vs||(this.me[a]=b.data,--this.zf,0===this.zf&&this.Ql())};f.prototype.Ql=function(){var a=
this.Tg,c=this.Af.length;if(1===c){var d=new Uint8ClampedArray(this.me[0].buffer);var e=this.me[0].meta}else{var f=a.inputs[0].data.length;d=new Uint8ClampedArray(f);e=Array(f);f=4*Math.ceil(f/4/c);for(var g=0;g<c;++g){var h=g*f;d.set(new Uint8ClampedArray(this.me[g].buffer),h);e[g]=this.me[g].meta}}this.Tg=null;this.me={};a.callback(null,b(d,a.inputs[0].width,a.inputs[0].height),e);this.Ji()};a["default"]={Rg:f};a.Rg=f})(Oj.wg=Oj.wg||{});function az(a){this.O=null;this.Na=void 0!==a.operationType?a.operationType:"pixel";this.Xa=void 0!==a.threads?a.threads:1;this.j=bz(a.sources);for(var b=0,c=this.j.length;b<c;++b)A(this.j[b],"change",this.A,this);this.ha=new Lf(function(){return 1},this.A.bind(this));b=cz(this.j);c={};for(var d=0,e=b.length;d<e;++d)c[x(b[d].layer)]=b[d];this.a=null;this.$={animate:!1,coordinateToPixelTransform:yc(),extent:null,focus:null,index:0,layerStates:c,layerStatesArray:b,logos:{},pixelRatio:1,pixelToCoordinateTransform:yc(),
postRenderFunctions:[],size:[0,0],skippedFeatureUids:{},tileQueue:this.ha,time:Date.now(),usedTiles:{},viewState:{rotation:0},viewHints:[],wantedTiles:{}};Iy.call(this,{});void 0!==a.operation&&this.u(a.operation,a.lib)}w(az,Iy);az.prototype.u=function(a,b){this.O=new Oj.wg.Rg({operation:a,co:"image"===this.Na,dr:1,lib:b,threads:this.Xa});this.A()};
az.prototype.fa=function(a,b,c,d){c=!0;for(var e,f=0,g=this.j.length;f<g;++f)if(e=this.j[f].a.Z(),"ready"!==e.getState()){c=!1;break}if(!c)return null;c=zb({},this.$);c.viewState=zb({},c.viewState);e=cb(a);c.extent=a.slice();c.focus=e;c.size[0]=Math.round(ab(a)/b);c.size[1]=Math.round(bb(a)/b);c.time=Date.now();c.animate=!1;f=c.viewState;f.center=e;f.projection=d;f.resolution=b;this.o=c;this.a&&(d=this.a.la(),e=this.a.G(),b===d&&Ra(a,e)||(this.a=null));if(!this.a||this.l!==this.ea)a:{a=this.o;d=this.j.length;
b=Array(d);for(e=0;e<d;++e){f=this.j[e];g=a;var h=a.layerStatesArray[e];if(f.Vd(g,h)){var l=g.size[0],m=g.size[1];if(dz){var n=dz.canvas;n.width!==l||n.height!==m?dz=Sc(l,m):dz.clearRect(0,0,l,m)}else dz=Sc(l,m);f.og(g,h,dz);f=dz.getImageData(0,0,l,m)}else f=null;if(f)b[e]=f;else break a}d={};this.b(new ez(fz,a,d));this.O.cr(b,d,this.ma.bind(this,a))}Mf(c.tileQueue,16,16);c.animate&&requestAnimationFrame(this.A.bind(this));return this.a};
az.prototype.ma=function(a,b,c,d){if(!b&&c){b=a.extent;var e=a.viewState.resolution;if(e===this.o.viewState.resolution&&Ra(b,this.o.extent)){if(this.a)var f=this.a.fa().getContext("2d");else f=Sc(Math.round(ab(b)/e),Math.round(bb(b)/e)),this.a=new Vi(b,e,1,f.canvas);f.putImageData(c,0,0);this.A();this.ea=this.l;this.b(new ez(gz,a,d))}}};var dz=null;function cz(a){return a.map(function(a){return fh(a.a)})}
function bz(a){for(var b=a.length,c=Array(b),d=0;d<b;++d){var e=d,f=a[d],g=null;f instanceof sy?(f=new cy({source:f}),g=new Jj(f)):f instanceof Iy&&(f=new by({source:f}),g=new tj(f));c[e]=g}return c}function ez(a,b,c){jc.call(this,a);this.extent=b.extent;this.resolution=b.viewState.resolution/b.pixelRatio;this.data=c}w(ez,jc);az.prototype.Od=function(){return null};var fz="beforeoperations",gz="afteroperations";function hz(a){var b=a.layer.indexOf("-");b=iz[-1==b?a.layer:a.layer.slice(0,b)];var c=jz[a.layer];Cy.call(this,{attributions:kz,cacheSize:a.cacheSize,crossOrigin:"anonymous",maxZoom:void 0!=a.maxZoom?a.maxZoom:b.maxZoom,minZoom:void 0!=a.minZoom?a.minZoom:b.minZoom,opaque:c.opaque,reprojectionErrorThreshold:a.reprojectionErrorThreshold,tileLoadFunction:a.tileLoadFunction,url:void 0!==a.url?a.url:"https://stamen-tiles-{a-d}.a.ssl.fastly.net/"+a.layer+"/{z}/{x}/{y}."+c.yc,wrapX:a.wrapX})}w(hz,Cy);
var kz=['Map tiles by <a href="https://stamen.com/">Stamen Design</a>, under <a href="https://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.','&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors.'],jz={terrain:{yc:"jpg",opaque:!0},"terrain-background":{yc:"jpg",opaque:!0},"terrain-labels":{yc:"png",opaque:!1},"terrain-lines":{yc:"png",opaque:!1},"toner-background":{yc:"png",opaque:!0},toner:{yc:"png",opaque:!0},"toner-hybrid":{yc:"png",opaque:!1},"toner-labels":{yc:"png",
opaque:!1},"toner-lines":{yc:"png",opaque:!1},"toner-lite":{yc:"png",opaque:!0},watercolor:{yc:"jpg",opaque:!0}},iz={terrain:{minZoom:4,maxZoom:18},toner:{minZoom:0,maxZoom:20},watercolor:{minZoom:1,maxZoom:16}};function lz(a){a=a||{};xy.call(this,{attributions:a.attributions,cacheSize:a.cacheSize,crossOrigin:a.crossOrigin,logo:a.logo,projection:a.projection,reprojectionErrorThreshold:a.reprojectionErrorThreshold,tileGrid:a.tileGrid,tileLoadFunction:a.tileLoadFunction,url:a.url,urls:a.urls,wrapX:void 0!==a.wrapX?a.wrapX:!0,transition:a.transition});this.g=a.params||{};this.o=Da();ty(this,mz(this))}w(lz,xy);function mz(a){var b=0,c=[],d;for(d in a.g)c[b++]=d+"-"+a.g[d];return c.join("/")}lz.prototype.B=function(){return this.g};
lz.prototype.Pd=function(a){return a};
lz.prototype.dd=function(a,b,c){var d=this.tileGrid;d||(d=this.Db(c));if(!(d.b.length<=a[0])){var e=d.ib(a,this.o),f=le(d.wb(a[0]),this.s);1!=b&&(f=ke(f,b,this.s));d={F:"image",FORMAT:"PNG32",TRANSPARENT:!0};zb(d,this.g);var g=this.urls;g?(c=c.Zb.split(":").pop(),d.SIZE=f[0]+","+f[1],d.BBOX=e.join(","),d.BBOXSR=c,d.IMAGESR=c,d.DPI=Math.round(d.DPI?d.DPI*b:90*b),a=(1==g.length?g[0]:g[sa((a[1]<<a[0])+a[2],g.length)]).replace(/MapServer\/?$/,"MapServer/export").replace(/ImageServer\/?$/,"ImageServer/exportImage"),
a=Py(a,d)):a=void 0;return a}};lz.prototype.O=function(a){zb(this.g,a);ty(this,mz(this))};function nz(a){sy.call(this,{opaque:!1,projection:a.projection,tileGrid:a.tileGrid,wrapX:void 0!==a.wrapX?a.wrapX:!0})}w(nz,sy);nz.prototype.Wd=function(a,b,c){var d=a+"/"+b+"/"+c;if(this.a.a.hasOwnProperty(d))return this.a.get(d);var e=le(this.tileGrid.wb(a));a=[a,b,c];b=(b=uy(this,a))?uy(this,b).toString():"";e=new oz(a,e,b);this.a.set(d,e);return e};function oz(a,b,c){el.call(this,a,2);this.c=b;this.Ka=c;this.a=null}w(oz,el);
oz.prototype.fa=function(){if(this.a)return this.a;var a=this.c,b=Sc(a[0],a[1]);b.strokeStyle="black";b.strokeRect(.5,.5,a[0]+.5,a[1]+.5);b.fillStyle="black";b.textAlign="center";b.textBaseline="middle";b.font="24px sans-serif";b.fillText(this.Ka,a[0]/2,a[1]/2);return this.a=b.canvas};oz.prototype.load=function(){};function pz(a){this.g=null;xy.call(this,{attributions:a.attributions,cacheSize:a.cacheSize,crossOrigin:a.crossOrigin,projection:Ib("EPSG:3857"),reprojectionErrorThreshold:a.reprojectionErrorThreshold,state:"loading",tileLoadFunction:a.tileLoadFunction,wrapX:void 0!==a.wrapX?a.wrapX:!0,transition:a.transition});if(a.url)if(a.jsonp)iy(a.url,this.Nh.bind(this),this.pg.bind(this));else{var b=new XMLHttpRequest;b.addEventListener("load",this.pq.bind(this));b.addEventListener("error",this.oq.bind(this));
b.open("GET",a.url);b.send()}else a.tileJSON?this.Nh(a.tileJSON):ia(!1,51)}w(pz,xy);k=pz.prototype;k.pq=function(a){a=a.target;if(!a.status||200<=a.status&&300>a.status){try{var b=JSON.parse(a.responseText)}catch(c){this.pg();return}this.Nh(b)}else this.pg()};k.oq=function(){this.pg()};k.rn=function(){return this.g};
k.Nh=function(a){var b=Ib("EPSG:4326"),c=this.c;if(void 0!==a.bounds){var d=Jb(b,c);d=hb(a.bounds,d)}var e=a.minzoom||0,f=a.maxzoom||22;this.tileGrid=c=Ke({extent:Me(c),maxZoom:f,minZoom:e});this.tileUrlFunction=ey(a.tiles,c);if(void 0!==a.attribution&&!this.R){var g=void 0!==d?d:b.G();this.Ja(function(b){return fb(g,b.extent)?[a.attribution]:null})}this.g=a;Dw(this,"ready")};k.pg=function(){Dw(this,"error")};function qz(a){sy.call(this,{projection:Ib("EPSG:3857"),state:"loading"});this.u=void 0!==a.preemptive?a.preemptive:!0;this.o=gy;this.j=void 0;this.g=a.jsonp||!1;if(a.url)if(this.g)iy(a.url,this.Oh.bind(this),this.qg.bind(this));else{var b=new XMLHttpRequest;b.addEventListener("load",this.tq.bind(this));b.addEventListener("error",this.sq.bind(this));b.open("GET",a.url);b.send()}else a.tileJSON?this.Oh(a.tileJSON):ia(!1,51)}w(qz,sy);k=qz.prototype;
k.tq=function(a){a=a.target;if(!a.status||200<=a.status&&300>a.status){try{var b=JSON.parse(a.responseText)}catch(c){this.qg();return}this.Oh(b)}else this.qg()};k.sq=function(){this.qg()};k.nn=function(){return this.j};k.qm=function(a,b,c,d,e){this.tileGrid?(b=this.tileGrid.Xf(a,b),rz(this.Wd(b[0],b[1],b[2],1,this.c),a,c,d,e)):!0===e?setTimeout(function(){c.call(d,null)},0):c.call(d,null)};k.qg=function(){Dw(this,"error")};
k.Oh=function(a){var b=Ib("EPSG:4326"),c=this.c;if(void 0!==a.bounds){var d=Jb(b,c);d=hb(a.bounds,d)}var e=a.minzoom||0,f=a.maxzoom||22;this.tileGrid=c=Ke({extent:Me(c),maxZoom:f,minZoom:e});this.j=a.template;if(e=a.grids){this.o=ey(e,c);if(void 0!==a.attribution){var g=void 0!==d?d:b.G();this.Ja(function(b){return fb(g,b.extent)?[a.attribution]:null})}Dw(this,"ready")}else Dw(this,"error")};
k.Wd=function(a,b,c,d,e){var f=a+"/"+b+"/"+c;if(this.a.a.hasOwnProperty(f))return this.a.get(f);a=[a,b,c];b=uy(this,a,e);d=this.o(b,d,e);d=new sz(a,void 0!==d?0:4,void 0!==d?d:"",this.tileGrid.ib(a),this.u,this.g);this.a.set(f,d);return d};k.zi=function(a,b,c){a=a+"/"+b+"/"+c;this.a.a.hasOwnProperty(a)&&this.a.get(a)};function sz(a,b,c,d,e,f){el.call(this,a,b);this.H=c;this.a=d;this.B=e;this.c=this.o=this.j=null;this.C=f}w(sz,el);k=sz.prototype;k.fa=function(){return null};
k.getData=function(a){if(!this.j||!this.o)return null;var b=this.j[Math.floor((1-(a[1]-this.a[1])/(this.a[3]-this.a[1]))*this.j.length)];if("string"!==typeof b)return null;b=b.charCodeAt(Math.floor((a[0]-this.a[0])/(this.a[2]-this.a[0])*b.length));93<=b&&b--;35<=b&&b--;b-=32;a=null;b in this.o&&(b=this.o[b],this.c&&b in this.c?a=this.c[b]:a=b);return a};
function rz(a,b,c,d,e){0==a.state&&!0===e?(ec(a,"change",function(){c.call(d,this.getData(b))},a),tz(a)):!0===e?setTimeout(function(){c.call(d,this.getData(b))}.bind(a),0):c.call(d,a.getData(b))}k.Mb=function(){return this.H};k.Zf=function(){this.state=3;this.A()};k.sk=function(a){this.j=a.grid;this.o=a.keys;this.c=a.data;this.state=4;this.A()};
function tz(a){if(0==a.state)if(a.state=1,a.C)iy(a.H,a.sk.bind(a),a.Zf.bind(a));else{var b=new XMLHttpRequest;b.addEventListener("load",a.rq.bind(a));b.addEventListener("error",a.qq.bind(a));b.open("GET",a.H);b.send()}}k.rq=function(a){a=a.target;if(!a.status||200<=a.status&&300>a.status){try{var b=JSON.parse(a.responseText)}catch(c){this.Zf();return}this.sk(b)}else this.Zf()};k.qq=function(){this.Zf()};k.load=function(){this.B&&tz(this)};function uz(a){a=a||{};var b=a.params||{};xy.call(this,{attributions:a.attributions,cacheSize:a.cacheSize,crossOrigin:a.crossOrigin,logo:a.logo,opaque:!("TRANSPARENT"in b?b.TRANSPARENT:1),projection:a.projection,reprojectionErrorThreshold:a.reprojectionErrorThreshold,tileClass:a.tileClass,tileGrid:a.tileGrid,tileLoadFunction:a.tileLoadFunction,url:a.url,urls:a.urls,wrapX:void 0!==a.wrapX?a.wrapX:!0,transition:a.transition});this.B=void 0!==a.gutter?a.gutter:0;this.g=b;this.o=!0;this.O=a.serverType;
this.ha=void 0!==a.hidpi?a.hidpi:!0;this.ma=Da();vz(this);ty(this,wz(this))}w(uz,xy);k=uz.prototype;
k.uq=function(a,b,c,d){c=Ib(c);var e=this.c,f=this.tileGrid;f||(f=this.Db(c));b=f.Xf(a,b);if(!(f.b.length<=b[0])){var g=f.la(b[0]),h=f.ib(b,this.ma);f=le(f.wb(b[0]),this.s);var l=this.B;0!==l&&(f=je(f,l,this.s),h=Fa(h,g*l,h));e&&e!==c&&(g=ly(e,c,a,g),h=Xb(h,c,e),a=Sb(a,c,e));l={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetFeatureInfo",FORMAT:"image/png",TRANSPARENT:!0,QUERY_LAYERS:this.g.LAYERS};zb(l,this.g,d);d=Math.floor((h[3]-a[1])/g);l[this.o?"I":"X"]=Math.floor((a[0]-h[0])/g);l[this.o?"J":"Y"]=
d;return xz(this,b,f,h,1,e||c,l)}};k.nh=function(){return this.B};k.vq=function(){return this.g};
function xz(a,b,c,d,e,f,g){var h=a.urls;if(h){g.WIDTH=c[0];g.HEIGHT=c[1];g[a.o?"CRS":"SRS"]=f.Zb;"STYLES"in a.g||(g.STYLES="");if(1!=e)switch(a.O){case "geoserver":c=90*e+.5|0;g.FORMAT_OPTIONS="FORMAT_OPTIONS"in g?g.FORMAT_OPTIONS+(";dpi:"+c):"dpi:"+c;break;case "mapserver":g.MAP_RESOLUTION=90*e;break;case "carmentaserver":case "qgis":g.DPI=90*e;break;default:ia(!1,52)}f=f.b;a.o&&"ne"==f.substr(0,2)&&(a=d[0],d[0]=d[1],d[1]=a,a=d[2],d[2]=d[3],d[3]=a);g.BBOX=d.join(",");return Py(1==h.length?h[0]:h[sa((b[1]<<
b[0])+b[2],h.length)],g)}}k.Pd=function(a){return this.ha&&void 0!==this.O?a:1};function wz(a){var b=0,c=[],d;for(d in a.g)c[b++]=d+"-"+a.g[d];return c.join("/")}
k.dd=function(a,b,c){var d=this.tileGrid;d||(d=this.Db(c));if(!(d.b.length<=a[0])){1==b||this.ha&&void 0!==this.O||(b=1);var e=d.la(a[0]),f=d.ib(a,this.ma);d=le(d.wb(a[0]),this.s);var g=this.B;0!==g&&(d=je(d,g,this.s),f=Fa(f,e*g,f));1!=b&&(d=ke(d,b,this.s));e={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0};zb(e,this.g);return xz(this,a,d,f,b,c,e)}};k.wq=function(a){zb(this.g,a);vz(this);ty(this,wz(this))};function vz(a){a.o=0<=Wf(a.g.VERSION||"1.3.0")};function yz(a,b,c,d,e,f,g,h,l,m,n,p,q,r,u){el.call(this,a,b,u);this.H={};this.C={};this.c=m;this.a=[];this.L=c;this.o=f;this.j=[];this.B=[];if(f){var v=l.ib(f),y=l.la(a[0]);h.gh(v,h.wd(y),function(a){var b=eb(v,h.ib(a)),c=h.G();c&&(b=eb(b,c));.5<=ab(b)/y&&.5<=bb(b)/y&&(b=a.toString(),c=m[b],c||(c=g(a,n,p),c=m[b]=new q(a,void 0==c?4:0,void 0==c?"":c,d,e),this.B.push(A(c,"change",r))),c.a++,this.a.push(b))}.bind(this))}}w(yz,el);k=yz.prototype;
k.sa=function(){for(var a=0,b=this.a.length;a<b;++a){var c=this.a[a],d=this.c[c];d.a--;0==d.a&&(delete this.c[c],d.Ab())}this.a.length=0;this.c=null;this.j.forEach($b);this.j.length=0;this.l&&this.l.Ab();this.state=5;this.A();this.B.forEach($b);this.B.length=0;el.prototype.sa.call(this)};function Kk(a,b){b=x(b).toString();b in a.H||(a.H[b]=Sc());return a.H[b]}k.fa=function(a){return-1==Jk(this,a).ri?null:Kk(this,a).canvas};
function Jk(a,b){b=x(b).toString();b in a.C||(a.C[b]={Hf:!1,pi:null,Gg:-1,ri:-1});return a.C[b]}k.Mb=function(){return this.a.join("/")+"-"+this.L};
k.load=function(){var a=0,b={};0==this.state&&Lj(this,1);1==this.state&&this.a.forEach(function(c){var d=this.c[c];0==d.state&&(d.Fh(this.R),d.load());1==d.state&&(c=A(d,"change",function(){var c=d.getState();if(2==c||3==c){var f=x(d);3==c?b[f]=!0:(--a,delete b[f]);0==a-Object.keys(b).length&&this.bj()}}.bind(this)),this.j.push(c),++a)}.bind(this));0==a-Object.keys(b).length&&setTimeout(this.bj.bind(this),0)};
k.bj=function(){for(var a=this.a.length,b=0,c=a-1;0<=c;--c){var d=this.c[this.a[c]].getState();2!=d&&--a;4==d&&++b}a==this.a.length?(this.j.forEach($b),this.j.length=0,Lj(this,2)):Lj(this,b==this.a.length?4:3)};function zz(a,b){a.Fh(No(b,a.H,a.Oq.bind(a),a.Nq.bind(a)))};function Az(a){var b=a.projection||"EPSG:3857",c=a.extent||Me(b),d=a.tileGrid||Ke({extent:c,maxZoom:a.maxZoom||22,minZoom:a.minZoom,tileSize:a.tileSize||512});wy.call(this,{attributions:a.attributions,cacheSize:void 0!==a.cacheSize?a.cacheSize:128,extent:c,logo:a.logo,opaque:!1,projection:b,state:a.state,tileGrid:d,tileLoadFunction:a.tileLoadFunction?a.tileLoadFunction:zz,tileUrlFunction:a.tileUrlFunction,url:a.url,urls:a.urls,wrapX:void 0===a.wrapX?!0:a.wrapX,transition:a.transition});this.o=a.format?
a.format:null;this.g={};this.u=void 0==a.overlaps?!0:a.overlaps;this.tileClass=a.tileClass?a.tileClass:Tn;this.j={}}w(Az,wy);k=Az.prototype;k.clear=function(){this.a.clear();this.g={}};k.Wd=function(a,b,c,d,e){var f=a+"/"+b+"/"+c;if(this.a.a.hasOwnProperty(f))return this.a.get(f);a=[a,b,c];b=uy(this,a,e);d=new yz(a,null!==b?0:4,this.l,this.o,this.tileLoadFunction,b,this.tileUrlFunction,this.tileGrid,this.Db(e),this.g,d,e,this.tileClass,this.uk.bind(this),this.Na);this.a.set(f,d);return d};
k.Db=function(a){var b=a.Zb,c=this.j[b];c||(c=this.tileGrid,c=this.j[b]=Je(a,void 0,c?c.wb(c.minZoom):void 0));return c};k.Pd=function(a){return a};k.We=function(a,b,c){a=le(this.Db(c).wb(a));return[Math.round(a[0]*b),Math.round(a[1]*b)]};function Bz(a){this.u=a.matrixIds;ze.call(this,{extent:a.extent,origin:a.origin,origins:a.origins,resolutions:a.resolutions,tileSize:a.tileSize,tileSizes:a.tileSizes,sizes:a.sizes})}w(Bz,ze);Bz.prototype.H=function(){return this.u};
function Cz(a,b,c){var d=[],e=[],f=[],g=[],h=[],l=void 0!==c?c:[];c=a.SupportedCRS;c=Ib(c.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3"))||Ib(c);var m=c.fd(),n="ne"==c.b.substr(0,2);a.TileMatrix.sort(function(a,b){return b.ScaleDenominator-a.ScaleDenominator});a.TileMatrix.forEach(function(a){var b;0<l.length?b=re(l,function(b){return a.Identifier==b.TileMatrix}):b=!0;if(b){e.push(a.Identifier);b=2.8E-4*a.ScaleDenominator/m;var c=a.TileWidth,p=a.TileHeight;n?f.push([a.TopLeftCorner[1],a.TopLeftCorner[0]]):
f.push(a.TopLeftCorner);d.push(b);g.push(c==p?c:[c,p]);h.push([a.MatrixWidth,-a.MatrixHeight])}});return new Bz({extent:b,origins:f,resolutions:d,matrixIds:e,tileSizes:g,sizes:h})};function Dz(a){this.Xa=void 0!==a.version?a.version:"1.0.0";this.O=void 0!==a.format?a.format:"image/jpeg";this.g=void 0!==a.dimensions?a.dimensions:{};this.ha=a.layer;this.B=a.matrixSet;this.ma=a.style;var b=a.urls;void 0===b&&void 0!==a.url&&(b=hy(a.url));var c=this.Ha=void 0!==a.requestEncoding?a.requestEncoding:"KVP",d=a.tileGrid,e={layer:this.ha,style:this.ma,tilematrixset:this.B};"KVP"==c&&zb(e,{Service:"WMTS",Request:"GetTile",Version:this.Xa,Format:this.O});var f=this.g;this.o=function(a){a=
"KVP"==c?Py(a,e):a.replace(/\{(\w+?)\}/g,function(a,b){return b.toLowerCase()in e?e[b.toLowerCase()]:a});return function(b){if(b){var e={TileMatrix:d.u[b[0]],TileCol:b[1],TileRow:-b[2]-1};zb(e,f);b=a;return b="KVP"==c?Py(b,e):b.replace(/\{(\w+?)\}/g,function(a,b){return e[b]})}}};var g=b&&0<b.length?fy(b.map(this.o)):gy;xy.call(this,{attributions:a.attributions,cacheSize:a.cacheSize,crossOrigin:a.crossOrigin,logo:a.logo,projection:a.projection,reprojectionErrorThreshold:a.reprojectionErrorThreshold,
tileClass:a.tileClass,tileGrid:d,tileLoadFunction:a.tileLoadFunction,tilePixelRatio:a.tilePixelRatio,tileUrlFunction:g,urls:b,wrapX:void 0!==a.wrapX?a.wrapX:!1,transition:a.transition});ty(this,Ez(this))}w(Dz,xy);k=Dz.prototype;k.Wb=function(a){this.urls=a;var b=a.join("\n");this.Ib(this.dd?this.dd.bind(this):fy(a.map(this.o.bind(this))),b)};k.Gm=function(){return this.g};k.xq=function(){return this.O};k.yq=function(){return this.ha};k.Wm=function(){return this.B};k.ln=function(){return this.Ha};
k.Ga=function(){return this.ma};k.tn=function(){return this.Xa};function Ez(a){var b=0,c=[],d;for(d in a.g)c[b++]=d+"-"+a.g[d];return c.join("/")}k.Fs=function(a){zb(this.g,a);ty(this,Ez(this))};function Fz(a){a=a||{};var b=a.size,c=b[0],d=b[1];b=a.extent||[0,-b[1],b[0],0];var e=[],f=a.tileSize||256,g=f;switch(void 0!==a.tierSizeCalculation?a.tierSizeCalculation:Gz){case Gz:for(;c>g||d>g;)e.push([Math.ceil(c/g),Math.ceil(d/g)]),g+=g;break;case Hz:for(;c>g||d>g;)e.push([Math.ceil(c/g),Math.ceil(d/g)]),c>>=1,d>>=1;break;default:ia(!1,53)}e.push([1,1]);e.reverse();d=[1];var h=[0];g=1;for(c=e.length;g<c;g++)d.push(1<<g),h.push(e[g-1][0]*e[g-1][1]+h[g-1]);d.reverse();var l=new ze({tileSize:f,
extent:b,origin:Ya(b),resolutions:d});(b=a.url)&&-1==b.indexOf("{TileGroup}")&&-1==b.indexOf("{tileIndex}")&&(b+="{TileGroup}/{z}-{x}-{y}.jpg");b=hy(b);b=fy(b.map(function(a){return function(b){if(b){var c=b[0],d=b[1];b=-b[2]-1;var f=d+b*e[c][0],g={z:c,x:d,y:b,tileIndex:f,TileGroup:"TileGroup"+((f+h[c])/l.wb(c)|0)};return a.replace(/\{(\w+?)\}/g,function(a,b){return g[b]})}}}));xy.call(this,{attributions:a.attributions,cacheSize:a.cacheSize,crossOrigin:a.crossOrigin,logo:a.logo,projection:a.projection,
reprojectionErrorThreshold:a.reprojectionErrorThreshold,tileClass:Iz.bind(null,l),tileGrid:l,tileUrlFunction:b,transition:a.transition})}w(Fz,xy);function Iz(a,b,c,d,e,f,g){gl.call(this,b,c,d,e,f,g);this.a=null;this.C=le(a.wb(b[0]))}w(Iz,gl);Iz.prototype.fa=function(){if(this.a)return this.a;var a=gl.prototype.fa.call(this);if(2==this.state){var b=this.C;if(a.width==b[0]&&a.height==b[1])return this.a=a;b=Sc(b[0],b[1]);b.drawImage(a,0,0);return this.a=b.canvas}return a};var Gz="default",Hz="truncated";var Jz="OBN_20201001 OBN_20200901 OBN_20200801 OBN_20200701 OBN_20200601 OBN_20200502 OBN_20200501 OBN_20200402 OBN_20200401 OBN_20200302 OBN_20191202 OBN_20191201 OBN_20191102 OBN_20190602 OEM_20200601 OEM_20191202 OEM_20190201".split(" ");function Kz(a){a=a?a:{};sh.call(this,{collapsible:!1,render:a.render?a.render:Lz})}w(Kz,sh);function Lz(a){uh(this,a.frameState);this.element.style.width="auto"}Kz.prototype.$=function(){return this.element};function Mz(){};function Nz(a){a=String(a).replace(/^\s+|\s+$/g,"");return/^[+\-]?(([1-9][0-9]{0,2}(,[0-9]{3})*)|[0-9]+){1}(\.[0-9]+)?$/g.test(a)?(a=a.replace(/,/g,""),isNaN(a)?!1:!0):!1}function Oz(a){a=a.replace("#","");3==a.length&&(a=a.match(/.{1,1}/g),a=a[0]+a[0]+a[1]+a[1]+a[2]+a[2]);a=a.match(/.{1,2}/g);return[parseInt(a[0],16),parseInt(a[1],16),parseInt(a[2],16)]}
function Pz(a){a=a.replace(/rgba\(|\)/g,"").split(",");for(var b="",c=0;3>c;c++)b+=Number(a[c]).toString(16);b+=Math.round(255*Number(a[3])).toString(16);return"#"+b};function Qz(a){var b=a.radius||0,c=a.center.lng,d=a.center.lat,e=new ua(6378137),f=Rb([c,d]);b=Rb(e.offset([c,d],b,0));b=[f[0],f[1],b[0],b[1]];this.geometry=new lw(f,Qj(b,0,b.length,2),void 0);C.call(this,this.geometry);var g=a.strokeWeight||2,h=a.strokeColor||"#1eb4e8";f=a.strokeOpacity||1;var l=a.fillColor||"#1eb4e8";b=a.fillOpacity||1;"string"==typeof h&&(h=Oz(h));h.push(f);"string"==typeof l&&(l=Oz(l));l.push(b);this.nb(function(){return[new B({stroke:new Ld({width:g,color:h}),fill:new Kd({color:l})})]});
a.properties&&this.I(a.properties);a.map&&(this.map=a.map,this.map.c.Z().eb(this));this.Yb=a.Yb||!0;this.Ec(a.draggable||!1);this.cursor=a.cursor||"pointer"}w(Qz,C);Qz.prototype.T=function(){return this.map};Qz.prototype.setMap=function(a){a?(this.map=a,this.map.c.Z().eb(this)):this.map.c.Z().jb(this)};Qz.prototype.Da=function(){var a=Tb(this.geometry.Da());return{lat:Number(a[1].toFixed(5)),lng:Number(a[0].toFixed(5))}};
Qz.prototype.c=function(a,b){"center_changed"==a?console.log("\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc774\ubca4\ud2b8 \uc785\ub2c8\ub2e4."):"click"==a?this.da.click=b:"contextmenu"==a?console.log("\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc774\ubca4\ud2b8 \uc785\ub2c8\ub2e4."):"dblclick"==a?this.da.dblclick=b:"drag"==a?this.da.drag=b:"dragend"==a?this.da.dragend=b:"dragstart"==a?this.da.dragstart=b:"mousedown"==a?console.log("\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc774\ubca4\ud2b8 \uc785\ub2c8\ub2e4."):
"mousemove"==a?console.log("\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc774\ubca4\ud2b8 \uc785\ub2c8\ub2e4."):"mouseout"==a?console.log("\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc774\ubca4\ud2b8 \uc785\ub2c8\ub2e4."):"mouseover"==a?console.log("\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc774\ubca4\ud2b8 \uc785\ub2c8\ub2e4."):"mouseup"==a?console.log("\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc774\ubca4\ud2b8 \uc785\ub2c8\ub2e4."):"radius_changed"==a?console.log("\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc774\ubca4\ud2b8 \uc785\ub2c8\ub2e4."):
"rightclick"==a&&console.log("\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc774\ubca4\ud2b8 \uc785\ub2c8\ub2e4.")};function Rz(a){C.call(this,a)}w(Rz,C);function Sz(a){a=a||{};this.layer=new yw({source:new U,style:this.ll,zIndex:4E3});ph.call(this,{element:document.createElement("div")});this.onDrawEnd=this.xc=null;a&&a.onDrawEnd&&(this.onDrawEnd=a.onDrawEnd)}w(Sz,ph);Sz.prototype.setMap=function(a){ph.prototype.setMap.call(this,a);a&&(this.xc&&a.Vc(this.xc),a.be(this.layer));a&&a.Ob(this.layer)};Sz.prototype.Ab=function(){ph.prototype.sa.call(this);this.xc&&this.xc.Ab();this.layer&&this.layer.Ab()};Sz.prototype.c=function(){return this.layer};
Sz.prototype.Ga=function(a){var b=a.style;a=void 0;switch(b.type){case "point":a={image:new Jd({radius:b.radius,stroke:Tz(b),fill:Uz(b)})};break;case "image":a={image:new ir({src:b.src,opacity:b.opacity})};break;case "lineString":a={stroke:Tz(b)};break;case "polygon":a={fill:Uz(b),stroke:Tz(b)};break;case "label":a={text:new K({text:b.text,textAlign:b.textAlign,textBaseline:b.textBaseline,font:b.font,fill:Uz({color:b.fillColor}),placement:"point",backgroundFill:new Kd({color:Vz("#ffffff",.5)}),backgroundStroke:new Ld({color:Vz("#cccccc",
1),width:2,lineDash:null}),padding:[10,10,10,10]})}}b=[];b.push(new B(a));return b};var Wz={};k=Sz.prototype;
k.ll=function(a,b){var c=Wz.style,d=c.type;a=a.W();var e=void 0;switch(d){case "point":e={image:new Jd({radius:c.radius,stroke:new Ld({color:c.strokeColor,width:c.width,lineDash:c.lineDash,lineDashOffset:1}),fill:new Kd({color:c.fillColor})})};break;case "image":e={image:new ir({src:c.src,opacity:c.opacity})};break;case "lineString":e={stroke:new Ld({color:c.strokeColor,width:c.width,lineDash:c.lineDash,lineDashOffset:1})};break;case "polygon":e={fill:new Kd({color:c.fillColor}),stroke:new Ld({color:c.strokeColor,
width:c.width,lineDash:c.lineDash,lineDashOffset:1})};break;case "label":e={text:new K({text:c.text,textAlign:c.textAlign,textBaseline:c.textBaseline,font:c.font,fill:Uz(c),placement:"point",backgroundFill:new Kd({color:Vz("#ffffff",.5)}),backgroundStroke:new Ld({color:Vz("#cccccc",1),width:2,lineDash:null}),padding:[10,10,10,10]})}}var f=[];f.push(new B(e));Wz.style.Yl&&a instanceof J&&a.Mf(function(a,d){a=Math.atan2(d[1]-a[1],d[0]-a[0]);var e=3*c.width*b,g=new Ld({color:c.strokeColor,width:c.width}),
h=new J([d,[d[0]-e,d[1]+e]]);h.rotate(a,d);e=new J([d,[d[0]-e,d[1]-e]]);e.rotate(a,d);f=f.concat(new B({geometry:h,stroke:g}));f=f.concat(new B({geometry:e,stroke:g}))});return f};function Tz(a){return new Ld({color:a.strokeColor,width:a.width,lineDash:a.lineDash,lineDashOffset:1})}function Uz(a){return new Kd({color:a.fillColor})}function Vz(a,b){a=Nc(a).slice();b&&(a[3]=b);return a}
function Xz(a,b){var c=a.T();Wz=b=b||{};a.xc&&c.Vc(a.xc);var d;"Circle"===b.value&&(d=bx(40));"Box"===b.value&&(b.value="Circle",d=cx());var e={style:b.style},f=a.ll;a.xc=new Lw({source:a.layer.Z(),type:b.value,stopClick:!0,geometryFunction:d,style:f});a.xc.J("drawend",function(a){a.feature.I(e);c.Vc(this.xc);if(this.onDrawEnd)this.onDrawEnd(a.feature)},a);c.Gd(a.xc)}
k.Hr=function(a,b,c,d,e){Xz(this,{value:"Point",style:{type:"point",radius:a?a:10,fillColor:b||"#00ffff",width:c||1,strokeColor:d||"#00ffff",lineDash:e}})};k.Gr=function(a,b,c,d,e){Xz(this,{value:"LineString",style:{type:"lineString",width:a||4,strokeColor:b||"#00ffff",lineDash:c||[7,3],Ws:e||!1,Yl:d||!1}})};k.Ir=function(a,b,c,d,e){Xz(this,{value:e||"Polygon",style:{type:"polygon",width:a||4,strokeColor:b||"#00ffff",lineDash:c||void 0,fillColor:d||"#00ffff",shape:e||"Polygon"}})};
k.drawImage=function(a,b){Xz(this,{value:"Point",style:{type:"image",anchor:[.5,.5],anchorXUnits:"fraction",anchorYUnits:"fraction",crossOrigin:"anonymous",src:a||Yz.je+"/images/marker/none.png",opacity:b||1}})};k.lm=function(a,b,c,d){a={type:"label",overflow:!0,fill:d||"#00ffff",pm:1,textAlign:"left",textBaseline:"top",text:a||"",xi:1};a.font=(c?c+"px":"20px ")+(b?+b:"HDharmonyL");Xz(this,{value:"Point",style:a})};k.Fr=function(){this.T().Vc(this.xc)};
k.yr=function(){var a=this.layer.Z(),b=a.Pb();0<b.length&&a.jb(b[b.length-1])};k.clear=function(){this.layer.Z().clear()};k.jb=function(a){this.layer.Z().jb(a)};k.nm=function(){return(new Vq).ec(this.layer.Z().Pb())};k.eo=function(a){var b=new Vq;this.layer.Z().Lc(b.$a(a))};function Zz(a,b){this.x=a||0;this.y=b||-0};function $z(a,b,c){var d=void 0,e=void 0;isNaN(a)?a instanceof Object&&(a.lat&&(d=a.lat),a.lng&&(e=a.lng),1!=b&&1!=c&&(d=aA(d),e=bA(e))):(d=a,isNaN(b)||(e=b,c||(d=aA(d),e=bA(e))));this.lat=function(){return d};this.lng=function(){return e}}function aA(a){var b=[-90,90];return a<b[0]?b[0]:a>b[1]?b[1]:a}function bA(a){var b=[-180,180];return a<b[0]?b[0]:a>b[1]?b[1]:a}$z.prototype.b=function(a){var b=!0;0==a instanceof $z?b=!1:this.lat()!=a.lat()?b=!1:this.lng()!=a.lng()&&(b=!1);return b};
$z.prototype.toJSON=function(){return{lat:this.lat(),lng:this.lng()}};$z.prototype.toString=function(){return"("+this.lat()+", "+this.lng()+")"};$z.prototype.a=function(){return this.lat()+","+this.lng()};function cA(a,b,c,d){this.Vb=a||void 0;this.domEvent=b||void 0;this.latLng=c||void 0;this.pixel=d||new Zz(0,-0)};function dA(){};function eA(a){var b=document.createElement("div");b.innerHTML=a.content;this.map=null;this.position={};a.position&&(this.position={lat:a.position.lat,lng:a.position.lng});b={position:Rb([this.position.lng,this.position.lat]),element:b,offset:Object.keys(a).includes("offset")?a.offset:[0,0],stopEvent:Object.keys(a).includes("stopEvent")?a.stopEvent:!0};0==a.b&&(b.autoPan=!0,b.autoPanAnimation={duration:250});Kn.call(this,b)}w(eA,Kn);k=eA.prototype;
k.Jr=function(a){a.map&&(this.map=a.map);a.anchor&&(this.Jg([0,-45]),this.Rd(a.anchor.vd()),this.map=a.anchor.T());this.map.ne(this)};k.close=function(){this.setMap(null)};k.Rd=function(a){Array.isArray(a)?this.set(On,a):a instanceof Object&&(this.position={lat:a.lat,lng:a.lng},this.set(On,Rb([this.position.lng,this.position.lat])))};k.Em=function(){return this.Qd()};k.fs=function(a){var b=document.createElement("div");b.innerHTML=a;this.Ig(b)};function fA(a){var b=this,c=document.createElement("DIV");this.c=!1;this.interaction=this.layer=this.map=null;this.g=function(){var c=b.interaction.Pb();if(c&&0<c.Cb()){c=c.item(0).K();var e="";c.poi_id?e=c.poi_id:e="\uc815\ubcf4\uc5c6\uc74c";a(e)}};ph.call(this,{element:c})}w(fA,ph);fA.prototype.setMap=function(a){this.map=a};
function gA(a){a.layer=a.map.Ae().a.filter(function(a){return"vectorTile"==a.get("name")});var b=new B({image:new Jd({radius:10,fill:new Kd({color:"rgba(64,213,68,0)"}),stroke:new Ld({color:"rgba(64,213,68,0)",width:1})})});a.interaction=new Fx({layers:[a.layer[0]],style:b,condition:function(a){return"pointermove"==a.type}});a.interaction.J("select",function(a){a.target.T().Ca.style.cursor=0<a.selected.length?"pointer":"default"})}
function hA(a,b){b?a.c||(a.interaction||gA(a),a.map.Gd(a.interaction),a.map.J("click",a.g,a.interaction),a.c=!0):a.c&&a.interaction&&(a.map.Vc(a.interaction),a.map.M("click",a.g,a.interaction),a.map.Ca.style.cursor="default",a.c=!1)}fA.prototype.s=function(){hA(this,!0)};fA.prototype.o=function(){hA(this,!1)};fA.prototype.u=function(){return this.element};function iA(a){var b=new XMLHttpRequest;b.open("GET","https://api.routo.com/v1/maps/meta",!1);b.onload=function(){if(!b.status||200<=b.status&&300>b.status){var c=null;b.responseText&&(c=JSON.parse(b.responseText));a(c)}};b.send()}function jA(a,b,c){var d=new XMLHttpRequest;d.open("GET",a,!0);d.onload=function(){if(!d.status||200<=d.status&&300>d.status){var a=null;d.responseText&&(a=d.responseText);b(a)}else c.call()};d.onerror=function(){c.call()};d.send()};function kA(a){var b="https://tile.routo.com/webgis_tile01/Tile/Jugi/20211001/{z}/{x}/{y}.pbf";if(Yz.Xb&&0<Yz.Xb.length)for(var c=0,d=Yz.Xb.length;c<d;c++){var e=Yz.Xb[c];if(e.theme.toLowerCase()==a){b=e.vectorTileUrl;break}}c={declutter:!0,style:null,source:new Az({cacheSize:64,crossOrigin:"anonymous",format:new ot({featureClass:C}),tileSize:256,tileUrlFunction:function(a){return b.replace(/\{z\}/g,a[0].toString()).replace(/\{x\}/g,a[1].toString()).replace(/\{y\}/g,function(){return(-a[2]-1).toString()})}}),
zIndex:1E3,name:"vectorTile"};V.call(this,c);this.aa=this.o=this.a=this.Xa=this.sb=this.qb=null;this.Ma(a||"roadmap_half_basic");this.Xb=a}w(kA,V);
kA.prototype.Ma=function(a){var b=this;b.j(null);var c="https://tile.routo.com/webgis_tile01/Static/vectorStyle/20211001/jugi_lv_style_milk.json",d="https://tile.routo.com/webgis_tile01/Static/vectorStyle/20211001/jugi_style_milk.json",e="https://tile.routo.com/webgis_tile01/Static/vectorStyle/20211001/jugi_milk.json",f="https://tile.routo.com/webgis_tile01/Static/vectorStyle/20211001/jugi_milk.png";if(Yz.Xb&&0<Yz.Xb.length)for(var g=0,h=Yz.Xb.length;g<h;g++){var l=Yz.Xb[g];if(l.theme.toLowerCase()==
a){c=l.vectorStyleExceptionUrl;d=l.vectorStyleUrl;e=l.vectorIconPositionUrl;f=l.vectorIconImageUrl;break}}"roadmap_half_basic"==a||"roadmap_half_black"==a||"hybrid"==a?jA(c,function(c){jA(d,function(d){jA(e,function(e){jA(Yz.je+"/vector/jugi_check.json?nocache="+Math.random(),function(g){b.qb=JSON.parse(c);b.sb=JSON.parse(d);b.Xa=JSON.parse(e);b.aa=JSON.parse(g);b.j(function(c,d){a:{var e=b.qb,g=b.sb,h=b.Xa,l=f,m=c.K();c=m.layer;var n=m.class_code,p=null,q=null,r=null;if("BUILDING_NO"==c)l="roadmap_half_black"==
a?"#A6A498":"#464542",m=m.label.replace(/\r/g,""),p=new K,p.Hb(m),p.Ed("10pxYD_YGO540"),p.lc(new Kd({color:l})),r={max:.4};else if("JUGI"==c||"JUGI_BACKGROUND"==c){if(e[n]&&d>=e[n].minResolution&&d<=e[n].maxResolution)if(b.o&&0<b.o.length){if(b.o.includes(n)){d=null;break a}}else if(b.a&&0<b.a.length){e=0;for(var u=b.a.length;e<u;e++){var Aa=b.a[e];if(b.aa[Aa].includes(n)){d=null;break a}}}else n=e[n].lvClassCode;if(b.o&&0<b.o.length){if(b.o.includes(n)){d=null;break a}}else if(b.a&&0<b.a.length)for(e=
0,u=b.a.length;e<u;e++)if(Aa=b.a[e],b.aa[Aa]&&b.aa[Aa].includes(n)){d=null;break a}m=m.sname.replace(/\r/g,"");if(g=g[n])if(1!=g.jugiType&&(p=new K,p.Hb(m),p.jf(!0),g.fontSize?p.Ed(g.fontSize+"px YD_YGO540"):p.Ed("YD_YGO540"),g.fillColor?p.lc(new Kd({color:g.fillColor})):p.lc(new Kd({color:"#D26E64"})),m=new Ld,g.strokeColor?m.Th(g.strokeColor):m.Th("#FDFDF8"),g.strokeWidth?m.wi(2*parseInt(g.strokeWidth,10)):m.wi(2),p.cc(m)),2!=g.jugiType){m=g.imageName;if(!h[m]){d=null;break a}n=h[m];h=n.x;m=n.width;
n=n.height;e=g.imageOpacity;3==g.jugiType&&(q=new ir({anchor:[.5,.5],crossOrigin:"anonymous",scale:.5,offset:[h,0],size:[m,n],src:l,opacity:e}),p.kf("top"),p.He(n/4+3));if(1==g.jugiType||4==g.jugiType)q=new ir({anchor:[.5,.5],crossOrigin:"anonymous",scale:.5,offset:[h,0],size:[m,n],src:l,opacity:e})}}l=new B;if(p&&"BUILDING_NO"!=c)l.Hb(p);else if(p&&"BUILDING_NO"==c){if(d>r.max){d=null;break a}l.Hb(p)}q&&l.ce(q);d=l}return d})})})})}):console.log("roadmap_half_basic, roadmap_half_black, hybrid\ub9cc \uc9c0\uc6d0\ub429\ub2c8\ub2e4.")};function lA(a){a=a?a:{};var b=document.createElement("DIV");b.className=void 0!==a.className?a.className:"routo-layer";ph.call(this,{element:b,target:a.target})}w(lA,ph);lA.prototype.setMap=function(a){ph.prototype.setMap.call(this,a);a=a.lb[0].Z();this.j.push(A(a,"change:name",this.c,this));a.set("name","");a.set("name","default")};lA.prototype.c=function(a){a=a.target.get("name");this.element.innerHTML="VERSION : "+("default"==a||"grayscale"==a?Jz[0]:a.toUpperCase())};function mA(){$h.call(this,{handleDownEvent:mA.prototype.handleDownEvent,handleDragEvent:mA.prototype.handleDragEvent,handleMoveEvent:mA.prototype.handleMoveEvent,handleUpEvent:mA.prototype.handleUpEvent});this.g=null;this.o="pointer";this.c=null;this.j=void 0}w(mA,$h);
mA.prototype.handleDownEvent=function(a){var b=a.map.Oc(a.pixel,function(a){if(a&&a.ud&&a.draggable)return a});if(b&&(this.g=a.coordinate,(this.c=b)&&this.c.da&&this.c.da.dragstart)){var c=Tb(this.g);this.c.da.dragstart(new cA(void 0,a.originalEvent,new $z(c[1],c[0],!0),void 0))}return!!b};
mA.prototype.handleDragEvent=function(a){var b=a.coordinate[0]-this.g[0],c=a.coordinate[1]-this.g[1];this.c.W().translate(b,c);this.g[0]=a.coordinate[0];this.g[1]=a.coordinate[1];this.c&&this.c.da&&this.c.da.drag&&(b=Tb(this.g),this.c.da.drag(new cA(void 0,a.originalEvent,new $z(b[1],b[0],!0),void 0)))};
mA.prototype.handleMoveEvent=function(a){if(this.o){var b=a.map.Oc(a.pixel,function(a){return a});a=a.map.Uc();b?a.style.cursor!=this.o&&(this.j=a.style.cursor,a.style.cursor=this.o):void 0!==this.j&&(a.style.cursor=this.j,this.j=void 0)}};mA.prototype.handleUpEvent=function(a){if(this.c&&this.c.da&&this.c.da.dragend){var b=Tb(this.g);this.c.da.dragend(new cA(void 0,a.originalEvent,new $z(b[1],b[0],!0),void 0))}this.c=this.g=null;return!1};var Yz={version:"1_0_0",Zr:"https://api.routo.com",ys:"https://tile.routo.com/webgis_tile01/Tile/MILK_BG/v2/{z}/{x}/{y}.png",$e:"https://tile.routo.com/webgis_tile01/Tile/Common/NotSupported_routo.png",Hk:"https://tile.routo.com/webgis_tile01/Tile/Common/preTile_routo.png",je:"https://tile.routo.com/webgis_tile01/Static",Mc:"https://tile.routo.com/webgis_tile01/Static/custom",Is:"http://10.206.78.39:9999",Xb:[],load:function(){iA(function(a){for(var b in a)if("theme"==b)for(var c=0,d=a[b].length;c<
d;c++)Yz.Xb.push(a[b][c]);else Yz[b]=a[b];document.getElementsByTagName("head")[0].insertAdjacentHTML("beforeend",'<link rel="stylesheet" href="https://tile.routo.com/webgis_tile01/Static/css/routo.css" />')})}};var nA=[{level:4,ua:13,va:6,ta:14,wa:5},{level:5,ua:26,va:12,ta:28,wa:11},{level:6,ua:52,va:26,ta:57,wa:23},{level:7,ua:104,va:52,ta:115,wa:46},{level:8,ua:208,va:106,ta:231,wa:92},{level:9,ua:420,va:211,ta:463,wa:184},{level:10,ua:840,va:423,ta:927,wa:368},{level:11,ua:1680,va:847,ta:1859,wa:736},{level:12,ua:3360,va:1695,ta:3715,wa:1472},{level:13,ua:6720,va:3991,ta:7427,wa:2944},{level:14,ua:13440,va:6783,ta:14851,wa:5888},{level:15,ua:27648,va:13311,ta:28415,wa:12024},{level:16,ua:55296,va:26623,
ta:56831,wa:24048},{level:17,ua:110592,va:53247,ta:113552,wa:48096},{level:18,ua:221441,va:104808,ta:226418,wa:96200},{level:19,ua:442892,va:209617,ta:452837,wa:192408},{level:18,ua:221794,va:101373,ta:221949,wa:101114},{level:19,ua:443589,va:202747,ta:443899,wa:202229},{level:18,ua:222548,va:101501,ta:222651,wa:101406},{level:19,ua:445099,va:321284,ta:445303,wa:202813},{level:18,ua:222150,va:104682,ta:222470,wa:104040},{level:19,ua:444301,va:209364,ta:444927,wa:208080},{level:18,ua:222480,va:102400,
ta:222530,wa:102348},{level:19,ua:444950,va:204800,ta:445050,wa:204700},{level:18,ua:222915,va:105494,ta:223540,wa:105097},{level:19,ua:445840,va:210988,ta:447080,wa:210196},{level:18,ua:226310,va:101817,ta:227108,wa:101530},{level:19,ua:452620,va:203635,ta:454207,wa:203060}];function oA(){}oA.prototype.markerZIndex=90;proj4.defs("EPSG:360000","+proj=eqc +lat_ts=0 +lat_0=0 +lon_0=0 +x_0=0 +y_0=0 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +to_meter=0.3092208077590933 +no_defs");proj4.defs("EPSG:5181","+proj=tmerc +lat_0=38 +lon_0=127 +k=1 +x_0=200000 +y_0=500000 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs");
function X(a,b){b=b||{center:{lat:37.507009,lng:127.0586339},blockRotation:!0,markerZIndex:5E3,constrainResolution:!0,Er:{$s:124.6,Zs:33.114,Xs:131.875,Ys:42.59}};b.restriction&&b.restriction.west&&b.restriction.south&&b.restriction.east&&b.restriction.north&&(b.restrictExtent=[b.restriction.west,b.restriction.south,b.restriction.east,b.restriction.north]);a={interactions:pA(b),loadTilesWhileAnimating:!0,loadTilesWhileInteracting:!0,keyboardEventTarget:b.keyboardEventTarget||document,target:a,controls:[],
layers:[],view:new G({center:Rb([b.center.lng,b.center.lat]),zoom:b.zoom||13,maxZoom:b.maxZoom||19,minZoom:b.minZoom||6,extent:Xb(b.restrictExtent||[124.6,33.114,131.875,42.59],"EPSG:4326","EPSG:900913"),constrainResolution:b.constrainResolution||!0})};L.call(this,a);this.L=b.prefix||null;this.ha=b.roomKey||null;this.u=b.styleKey||null;this.ea=this.R=null;this.yi=[];var c=b.mapTypeId||"default";this.g=null;this.lb=[];var d=this;this.L&&(this.u||this.ha)?jA(Yz.Mc+"/workspace.json",function(a){a=JSON.parse(a);
d.R=a.operationVersion;d.ha?jA(Yz.Mc+"/"+d.L+"/room/"+d.ha+".json?nocache="+Math.random(),function(a){d.ea=JSON.parse(a);!d.u&&d.ea.styleKey&&(d.u=d.ea.styleKey);d.hf(c);a=0;for(var b=d.ea.layers.length;a<b;a++){var e=d.ea.layers[a],f={style:JSON.parse(e.style)};e.data&&e.data.dataKey&&d.Oi(e.data.dataKey,f.style,{zIndex:e.ordr})}}):d.hf(c)}):this.hf(c);this.c=qA(4E3);this.Ob(this.c);this.j=qA(b.markerZIndex);this.Ob(this.j);rA(this,this.j);this.md=new Kz;this.Ne(this.md);this.bl(b.logoPosition,b.logoPositionMargin);
sA(this,c);tA(this)}w(X,L);
function uA(a){return new Cy({attributions:'<img src="'+Yz.je+'/images/routo-attribution.png" title="Routo" />',crossOrigin:"anonymous",tilePixelRatio:2,cacheSize:256,transition:0,minZoom:0,maxZoom:19,tileUrlFunction:function(b){if(b)return 0===nA.filter(function(a){return a.level===b[0]&&a.ua<=b[1]&&b[1]<=a.ta&&a.wa<=-b[2]-1&&-b[2]-1<=a.va}).length?Yz.$e?Yz.$e.replace(/\{z\}/g,b[0].toString()).replace(/\{x\}/g,b[1].toString()).replace(/\{y\}/g,function(){return(-b[2]-1).toString()}):Yz.$e:a.replace(/\{z\}/g,
b[0].toString()).replace(/\{x\}/g,b[1].toString()).replace(/\{y\}/g,function(){return(-b[2]-1).toString()})}})}function vA(a){switch(a){case "roadmap_half_basic":a="MILK_BG";break;case "roadmap_half_black":a="BLACK_BG";break;case "roadmap_image_basic":a="MILK";break;case "satellite":a="SKY";break;case "hybrid":a="SKY";break;default:a="MILK_BG"}return a}k=X.prototype;
k.hf=function(a){var b=this,c=null;a=a||"default";if("roadmap_vector_basic"==a||"roadmap_vector_black"==a||this.L&&"default"==a&&(this.u||this.ha))if(b.R){var d="https://tile.hyundai-mnsoft.com/webgis_tile01/Tile/MVT/"+b.R+"/{z}/{x}/{y}.pbf";c=wA(d)}else{jA(Yz.Mc+"/workspace.json",function(c){c=JSON.parse(c);b.R=c.operationVersion;b.hf(a)});return}else{a="default"==a?"roadmap_half_basic":a;d="";if(Yz.Xb&&0<Yz.Xb.length){for(var e=0,f=Yz.Xb.length;e<f;e++){var g=Yz.Xb[e];if(g.theme.toLowerCase()==
a){d=g.imageTileUrl;this.Ca&&(this.Ca.style.background="url('"+g.preImageUrl+"')");Yz.$e=g.notSupportedTileUrl;break}}""==d&&(d=vA(a),d="SKY"==d?"https://tile.routo.com/webgis_tile01/Tile/"+d+"/v3/{z}/{x}/{y}.jpg":"https://tile.routo.com/webgis_tile01/Tile/"+d+"/v2/{z}/{x}/{y}.png")}c=uA(d)}for(e=this.lb.length-1;0<=e;e--)d=this.lb[e],this.be(d);this.lb=[];this.g&&(this.be(this.g),this.g=null);if("roadmap_vector_basic"==a||"roadmap_vector_black"==a||this.L&&"default"==a&&(this.u||this.ha)){var h=
d="";this.u?(d=Yz.Mc+"/"+this.L+"/style/"+this.u+".json?nocache="+Math.random(),h=Yz.Mc+"/"+this.L+"/style/"+this.u+".png?nocache="+Math.random()):(e="roadmap_vector_black"==a?"black":"milk",d=Yz.Mc+"/style/"+this.R+"/"+e+".json?nocache="+Math.random(),h=Yz.Mc+"/style/"+this.R+"/"+e+".png?nocache="+Math.random());jA(d,function(a){var d={},e=JSON.parse(a);a=e.fontFamily||"YD_YGO540";if("YD_YGO540"==a||"HDharmony"==a||"NanumSquareB"==a||"NanumSquareRoundB"==a){var f=document.getElementsByTagName("head")[0],
g=document.createElement("link");g.rel="stylesheet";g.type="text/css";g.href=Yz.Mc+"/fonts/"+a+".css";f.appendChild(g)}var l=new Image;l.src=h;l.crossOrigin="Anonymous";l.setAttribute("crossOrigin","anonymous");l.onload=function(){for(var a in e.polygon)for(var f=e.polygon[a],g=0,m=f.length;g<m;g++){var n=f[g];if(n.fc&&!(n.fc instanceof Object)&&0==n.fc.indexOf("url")){n.fc=n.fc.replace(".png","");var p=n.fc.substring(n.fc.indexOf("(")+1,n.fc.indexOf(")")),q=e.images[p];if(q){n=q.x;var r=q.y,u=q.width;
q=q.height;var ma=document.createElement("canvas");ma.width=u;ma.height=q;ma.getContext("2d").drawImage(l,n,r,u,q,0,0,u,q);ma.toBlob(function(a){var b=document.createElement("img");b.src=URL.createObjectURL(a);b.id="map_polygon_pattern_"+p;d[p]=b})}else console.log("["+p+"] \uc774\ubbf8\uc9c0\uac00 \uc5c6\uc2b5\ub2c8\ub2e4.")}}b.lb.push(new V({declutter:!0,source:c,style:function(a){var c=b.ba().zc(),f=a.U(),g=a.K().layer;if("Background_EastAsia"==g||"Background_NorthKorea"==g||"gis_osm_water_polygons"==
g)return xA(a,e.north,d,c,!0);if(0==g.indexOf("gis_")&&"Background_EastAsia"!=g&&"Background_NorthKorea"!=g&&"gis_osm_water_polygons"!=g){if("Polygon"==f)return xA(a,e.north,d,c,!1)}else return yA(a,e.polygon,d,c)},zIndex:100}));b.lb.push(new V({declutter:!0,source:c,style:function(a){var c=b.ba().zc(),d=a.U(),f=a.K().layer;if(0==f.indexOf("gis_")&&"Background_EastAsia"!=f&&"Background_NorthKorea"!=f&&"gis_osm_water_polygons"!=f){if("LineString"==d){a:{var g=e.north;a=a.K();d=a.layer;if(0==d.indexOf("gis_")){var h=
d+"_"+a.class_code;a=[];d=g[h];for(f=h.length-1;2<f;f--){var l=g[h.substring(0,f)];l&&(d=d?d.concat(l):l)}if(d){f=0;for(g=d.length;f<g;f++){h=d[f];l=h.t;var m=h.v;h.f<=c&&l>=c&&(null==m||1==m)&&(l=new B,isNaN(h.r)||l.Ra(h.r),h.sc&&h.sw&&(null!=h.so?(m=Nc(h.sc),m[3]=h.so):m=h.sc,m=new Ld({color:m,width:Number(h.sw)||0}),h.sd&&m.setLineDash(h.sd.split(" ")),m.de(h.scp||"butt"),l.cc(m)),a.push(l))}c=a;break a}}c=null}return c}}else return zA(a,e.line,c)},zIndex:500}));b.lb.push(new V({declutter:!0,source:c,
style:function(a){var c=b.ba().zc();return AA(a,e.jugi,e.font,e.images,h,c)},zIndex:1E3}));g=0;for(m=b.lb.length;g<m;g++)b.Ob(b.lb[g])}})}else if(b.lb.push(new cy({useInterimTilesOnError:!1,source:c,zIndex:0})),"default"==a||"roadmap_half_basic"==a||"roadmap_half_black"==a||"hybrid"==a)if(a="default"==a?"roadmap_half_basic":a,this.g=new kA("hybrid"==a?"roadmap_half_basic":a),this.Ob(this.g),"hybrid"==a){d=Yz.Mc+"/hybrid/hybrid.json?nocache="+Math.random();var l=this.g.Z();jA(d,function(a){var c={},
d=JSON.parse(a);b.lb.push(new V({declutter:!0,source:l,style:function(a){var e=Math.round(b.ba().zc());return yA(a,d.polygon,c,e)},zIndex:100}));b.lb.push(new V({declutter:!0,source:l,style:function(a){var c=Math.round(b.ba().zc());return zA(a,d.line,c)},zIndex:500}));b.lb.push(new V({declutter:!0,source:l,style:function(a){var c=Math.round(b.ba().zc());return AA(a,d.jugi,"",{},"",c)},zIndex:1E3}));a=0;for(var e=b.lb.length;a<e;a++)b.Ob(b.lb[a])})}else for(e=0,f=b.lb.length;e<f;e++)d=b.lb[e],b.Ob(d);
else for(e=0,f=b.lb.length;e<f;e++)d=b.lb[e],b.Ob(d);this.set("name",a);sA(this,a)};
function wA(a){return new Az({attributions:'<img src="'+Yz.je+'/images/routo-attribution.png" title="Routo" />',cacheSize:256,crossOrigin:"anonymous",format:new ot,tileSize:256,minZoom:6,maxZoom:19,tileUrlFunction:function(b){return[a,a.replace("https://tile.hyundai-mnsoft.com","https://tile1.hyundai-mnsoft.com"),a.replace("https://tile.hyundai-mnsoft.com","https://tile2.hyundai-mnsoft.com"),a.replace("https://tile.hyundai-mnsoft.com","https://tile3.hyundai-mnsoft.com")][Math.floor(4*Math.random())].replace(/\{z\}/g,
b[0].toString()).replace(/\{x\}/g,b[1].toString()).replace(/\{y\}/g,function(){return(-b[2]-1).toString()})}})}k.jj=function(){return""+this.get("name")};function sA(a,b){a.Ca&&(a.Ca.style.background="black"==b?"url('https://tile.routo.com/webgis_tile01/Tile/Common/preTile_black.png')":"url('"+Yz.Hk+"')")}
k.Oi=function(a,b,c){var d=this,e=Yz.Is||"http://10.206.78.39:9999",f=e+"/rest/data/"+a,g=e+"/gis/MNSOFT/wfs";jA(f,function(a){var e=null,h=JSON.parse(a);if(h){if(h.largeAt)e=new U({format:new Vq,url:function(a){a={service:"WFS",version:"1.1.0",request:"GetFeature",dataKey:h.key,outputFormat:"application/json",bbox:a.join(",")+",EPSG:3857",srsname:"EPSG:3857"};var b="",c;for(c in a)b+="&",b+=c,b+="=",b+=a[c];return g+"?"+b.substring(1)},strategy:Aw});else{a=(new Vq).$a(h.data);for(var n=0,p=a.length;n<
p;n++)a[n].W().transform(h.cntm,"EPSG:3857");e=new U({features:a})}if(e){var q={};n=0;for(p=b.polygon.length;n<p;n++){var r=b.polygon[n];if(r.fc&&!(r.fc instanceof Object)&&0==r.fc.indexOf("url")){r.fc=r.fc.replace(".png","");var u=r.fc.substring(r.fc.indexOf("(")+1,r.fc.indexOf(")")),v=new Image;v.src="data:image/png;base64,"+r.i;v.onload=function(){var a=document.createElement("canvas");a.width=r.w/2;a.height=r.h/2;a.getContext("2d").drawImage(v,0,0,r.w,r.h,0,0,r.w/2,r.h/2);a.toBlob(function(a){var b=
document.createElement("img");b.src=URL.createObjectURL(a);b.id="map_polygon_pattern_"+u;q[u]=b;e.A()})}}}a=300;c&&c.zIndex&&(a=c.zIndex);a=new yw({source:e,style:function(a){var c=a.W().U();if(b){var e=d.ba().zc();if("Point"==c||"MultiPoint"==c){c=b.jugi;var f=b.fontFamily,g=a.K(),h=[];if(c){for(var l=0,m=c.length;l<m;l++){var n=c[l],p=n.t,r=n.v,u=null,v=null;if(n.f<=e&&p>=e&&(null==r||1==r)){p=new B;r=n.jt;if(1!=r){u=new K;(a.W()instanceof J||a.W()instanceof R)&&u.Ie("line");u.Hb("");u.jf(!1);f||
(f="YD_YGO540");u.Ed((n.jsw||"")+" "+n.jsz+"px "+f);if(null!=n.fo){var y=Nc(n.fc||"#D26E64");y[3]=n.fo}else y=n.fc;u.lc(new Kd({color:y}));null!=n.so?(y=Nc(n.sc||"#FDFDF8"),y[3]=n.so):y=n.sc;u.cc(new Ld({color:y,width:2*parseInt(n.sw,10)||2}))}if(2!=r){y=n.w||24;var ic=n.h||24;n=n.i;"0"!=n.indexOf("http")&&(n="data:image/png;base64,"+n);3==r&&(v=new ir({anchor:[.5,.5],scale:.5,size:[y,ic],src:n,opacity:1}),u.kf("top"),u.He(ic/4+3));if(1==r||4==r)v=new ir({anchor:[.5,.5],scale:.5,size:[y,ic],src:n,
opacity:1}),g.angle&&v.Zd(Math.PI/180*parseFloat(g.angle))}u&&p.Hb(u);v&&p.ce(v);h.push(p)}}e=h}else e=null;return e}if("LineString"==c||"MultiLineString"==c){a=b.line;c=[];if(a){f=0;for(g=a.length;f<g;f++)h=a[f],l=h.t,m=h.v,h.f<=e&&l>=e&&(null==m||1==m)&&(l=new B,h.sc&&(null!=h.so?(m=Nc(h.sc),m[3]=h.so):m=h.sc,m=new Ld({color:m,width:Number(h.sw)||0}),h.sd&&(m.setLineDash(h.sd.split(" ")),m.de(h.scp||"butt")),l.cc(m)),c.push(l));e=c}else e=null;return e}if("Polygon"==c||"MultiPolygon"==c)return BA(b.polygon,
q,e)}},zIndex:a});d.Ob(a)}}else console.log("["+f+"] MY DATA \uac00 \uc5c6\uc2b5\ub2c8\ub2e4.")})};
function tA(a){var b=(new Du).ac("MULTIPOLYGON (((126.669 37.95236, 126.6707 37.95963, 126.6787 37.95702, 126.6886 37.96048, 126.7043 37.95435, 126.721 37.95649, 126.7326 37.9612, 126.7352 37.96596, 126.7478 37.97328, 126.7577 37.97368, 126.7714 37.98325, 126.7798 37.98145, 126.7906 37.99833, 126.8117 38.00069, 126.8178 38.00454, 126.8221 38.00842, 126.823 38.01695, 126.8398 38.03491, 126.8492 38.03543, 126.8502 38.03878, 126.8548 38.04083, 126.8605 38.06748, 126.8659 38.07052, 126.8673 38.08629, 126.8768 38.10255, 126.8814 38.1052, 126.8974 38.10207, 126.908 38.11698, 126.922 38.12085, 126.936 38.12871, 126.9392 38.13513, 126.9582 38.13413, 126.9636 38.1367, 126.9683 38.14359, 126.9673 38.14615, 126.9474 38.15847, 126.9508 38.16373, 126.9631 38.17002, 126.9675 38.18476, 126.9616 38.19049, 126.9749 38.20035, 126.9848 38.21547, 126.988 38.21773, 126.9993 38.21783, 127.0134 38.23577, 127.0572 38.25535, 127.1099 38.29056, 127.1093 38.29679, 127.1246 38.30085, 127.1325 38.31676, 127.1407 38.31679, 127.1525 38.30709, 127.2424 38.33414, 127.2513 38.3297, 127.2918 38.32196, 127.2996 38.31446, 127.3059 38.319, 127.3245 38.32176, 127.3299 38.31915, 127.3485 38.33101, 127.3618 38.32652, 127.3853 38.33873, 127.4122 38.33134, 127.4177 38.32658, 127.4507 38.31437, 127.4599 38.31897, 127.4749 38.31047, 127.5052 38.30291, 127.5238 38.31005, 127.5461 38.32595, 127.5733 38.33521, 127.6166 38.33527, 127.619 38.32633, 127.6319 38.327, 127.6378 38.32451, 127.6437 38.32781, 127.6598 38.32629, 127.664 38.32845, 127.6693 38.32476, 127.6889 38.32591, 127.6943 38.33481, 127.6998 38.33831, 127.7142 38.33685, 127.7158 38.33107, 127.7353 38.34162, 127.7421 38.34253, 127.7528 38.33657, 127.7618 38.33905, 127.769 38.33717, 127.7789 38.34946, 127.783 38.35056, 127.7874 38.34757, 127.7981 38.32423, 127.8228 38.30578, 127.847 38.3162, 127.8664 38.3142, 127.8775 38.31799, 127.882 38.33255, 127.8971 38.33188, 127.9011 38.32665, 127.9337 38.32246, 127.9547 38.31471, 127.9618 38.31426, 127.9725 38.32102, 127.9856 38.32222, 127.9883 38.31743, 127.9943 38.31632, 128.0336 38.31676, 128.0351 38.31493, 128.0328 38.31209, 128.0408 38.30983, 128.0615 38.30896, 128.088 38.32045, 128.1134 38.33911, 128.1177 38.33926, 128.1273 38.33345, 128.1347 38.33436, 128.1437 38.34313, 128.1532 38.34604, 128.1563 38.34459, 128.1579 38.3493, 128.1852 38.35756, 128.2425 38.39655, 128.2784 38.43136, 128.2973 38.46319, 128.3089 38.50205, 128.3119 38.53177, 128.3048 38.56978, 128.3108 38.57533, 128.3069 38.58932, 128.3102 38.59588, 128.3252 38.59828, 128.345 38.61209, 128.3657 38.62874, 128.6491 38.64966, 132.2649 37.79738, 132.3386 36.88045, 129.1532 34.65635, 128.0222 32.96471, 124.4013 32.36076, 124.3188 38.08004, 124.7703 38.07776, 124.9209 37.89969, 124.9792 37.75651, 125.0809 37.67613, 125.43 37.65757, 125.8495 37.74621, 126.1379 37.71138, 126.1605 37.71941, 126.1861 37.7486, 126.1895 37.79722, 126.1937 37.81716, 126.2223 37.83134, 126.2373 37.83334, 126.276 37.82725, 126.2934 37.82712, 126.4131 37.8454, 126.4273 37.84295, 126.4483 37.83378, 126.4619 37.81733, 126.522 37.79589, 126.5409 37.78685, 126.5671 37.76901, 126.5786 37.76485, 126.6015 37.76681, 126.6202 37.78109, 126.6304 37.78358, 126.6573 37.78361, 126.6613 37.78863, 126.6602 37.79866, 126.6661 37.82762, 126.6725 37.83377, 126.6869 37.83923, 126.6875 37.84853, 126.6816 37.87335, 126.6816 37.90034, 126.6868 37.91211, 126.6861 37.91559, 126.6772 37.91914, 126.6727 37.92684, 126.6677 37.94405, 126.669 37.95236)))").W().transform("EPSG:4326","EPSG:3857");
a.J("moveend",function(){var a=this.ba().Da();0<this.lb.length&&(b.Eb(a)?this.lb[0].Z().Ja('<img src="https://tile.routo.com/webgis_tile01/Tile/Common/routo-attribution.png" title="Routo" />'):this.lb[0].Z().Ja('<img src="https://tile.routo.com/webgis_tile01/Tile/Common/routo-attribution.png" title="Routo" /> / \u00a9 <a href="https://www.openstreetmap.org/copyright" target="_blank">OpenStreetMap</a> contributors.'))})}
function pA(a){var b=a.allowKinetic?{kinetic:new Hh(-.005,.05,100)}:{};b=[new Pi({constrainResolution:a.constrainResolution||!1,duration:250}),new xi({duration:250}),new Fi({duration:250}),new Hi({constrainResolution:!1,duration:250}),new ci(b)];a.blockRotation||(b.push(new Li({duration:250})),b.push(new gi));b.push(new mA);return b}function qA(a){return new yw({source:new U,zIndex:a||5E3})}
function rA(a,b){a.J("pointermove",function(c){var d="default";if(c=a.ed(c.pixel,{layerFilter:function(a){return a==b}}))for(var e=0,f=c.length;e<f;e++){var g=c[e];g.Yb&&(g.cursor?d=g.cursor:d="pointer")}a.Ca.style.cursor=d});a.J("singleclick",function(c){var d=a.ed(c.pixel,{layerFilter:function(a){return a==b}});if(d)for(var e=0,f=d.length;e<f;e++){var g=d[e];if(g.Yb&&g.da&&g.da.click){var h=Tb(c.coordinate);g.da.click(new cA(void 0,c.originalEvent,new $z(h[1],h[0],!0),void 0))}}});a.J("dblclick",
function(c){var d=a.ed(c.pixel,{layerFilter:function(a){return a==b}});if(d)for(var e=0,f=d.length;e<f;e++){var g=d[e];if(g.Yb&&g.da&&g.da.dblclick){var h=Tb(c.coordinate);g.da.dblclick(new cA(void 0,c.originalEvent,new $z(h[1],h[0],!0),void 0))}}})}
k.bl=function(a,b){b=parseInt(b,10)||0;b-=2;var c=this.md.element;c.style.width="88px";c.style.height="20px";switch(a||"rightBottom"){case "leftTop":c.style.bottom&&c.style.removeProperty("bottom");c.style.left="0px";c.style.top=b+"px";break;case "leftBottom":c.style.top&&c.style.removeProperty("top");c.style.left="0px";c.style.bottom=b+"px";break;case "rightTop":c.style.bottom&&c.style.removeProperty("bottom");c.style.left&&c.style.removeProperty("left");c.style.top=b+"px";break;case "rightBottom":c.style.top&&
c.style.removeProperty("top"),c.style.left&&c.style.removeProperty("left"),c.style.bottom=b+"px"}};k.ub=function(a,b,c){c||(c="EPSG:4326");var d=this.ba().u;a=[a.lng,a.lat];var e=null;c==d?e=a:e=Sb(a,c,d);this.ba().ub(e);b&&this.ba().ge(b)};k.Da=function(){var a=this.ba().Da();return void 0!=a?(a=Tb(a),{lat:Number(a[1]),lng:Number(a[0])}):null};k.G=function(){return Xb(this.ba().Id(),"EPSG:3857","EPSG:4326")};
k.Lr=function(a){a=a||this.ba().la();var b=this.ba().u.a;return a*{m:39.37,km:39370}[b]*96};k.ge=function(a){this.ba().ge(a)};k.Mr=function(){return this.ba().zc()};k.oo=function(a){a=a||"export.png";this.once("postcompose",function(b){b=b.context.canvas;navigator.msSaveBlob&&b.Fo?navigator.msSaveBlob(b.Fo(),a):b.toBlob(function(b){var c=document.createElement("a");c.href=URL.createObjectURL(b);c.download=a;c.click();URL.revokeObjectURL(c.href)})});this.ef()};k.am=function(){this.j.Z().clear()};
k.Tm=function(){return this.j.Z().G()};k.Um=function(){return this.j.Z().Pb()};k.Vm=function(){return this.j};k.Hm=function(){return this.c};k.ms=function(a){this.g.o=a;this.g.Z().Fa()};k.ls=function(a){this.g.a=a;this.g.Z().Fa()};
function yA(a,b,c,d){var e=a.K();a=e.layer;var f=e.kind;if(0==a.indexOf("BASEMAP_POLYGON")||"HYBRID_POLYGON"==a){a=[];e=b[f];for(var g=f.length-1;2<g;g--){var h=b[f.substring(0,g)];h&&(e=e?e.concat(h):h)}if(e){g=0;for(b=e.length;g<b;g++){var l=e[g];f=l.t;h=l.v;l.f<=d&&f>=d&&(null==h||1==h)&&(f=new B,l.r&&f.Ra(l.r),l.sc&&0<Number(l.sw)&&(h=null,null!=l.so?(h=Nc(l.sc),h[3]=l.so):h=l.sc,h=new Ld({color:h,width:Number(l.sw)||0}),l.sd&&(h.setLineDash(l.sd.split(" ")),h.de(l.scp||"butt")),f.cc(h)),l.fc&&
0<l.fo&&(h=null,l.fc instanceof Object?h=function(){var a=l.fc.w,b=document.createElement("canvas"),c=16*a,d=8*a;b.width=c;b.height=d;var e=b.getContext("2d"),f=l.fc.p;if("DL"==f){var g=c+2*a;var h=-(2*a);var z=-a;var E=d+a;var M=c}else"DR"==f?(g=c+2*a,h=-(2*a),z=d+a,E=-a,M=c):"H"==f?(g=c+2*a,h=-(2*a),z=d/2,E=d/2,M=c):"V"==f&&(g=c/2,h=c/2,z=d+a,E=-a,M=d);e.strokeStyle=l.fc.fc;e.globalAlpha=l.fc.fo;e.lineWidth=a;e.beginPath();e.moveTo(g,z);e.lineTo(h,E);e.moveTo(g-M,z);e.lineTo(h-M,E);e.moveTo(g+M,
z);e.lineTo(h+M,E);e.stroke();return e.createPattern(b,"repeat")}():l.fc.startsWith("url")?h=function(){var a=document.createElement("canvas").getContext("2d");l.fc=l.fc.replace(".png","");var b=c[l.fc.substring(l.fc.indexOf("(")+1,l.fc.indexOf(")"))];return b?a.createPattern(b,"repeat"):"rgba(0, 0, 0, 0)"}():null!=l.fo?(h=Nc(l.fc),h[3]=l.fo):h=l.fc,f.lc(new Kd({color:h}))),a.push(f))}return a}}return null}
function zA(a,b,c){var d=a.K();a=d.layer;var e=d.kind;if(0==a.indexOf("BASEMAP_LINE")||"HYBRID_LINE"==a){a=[];d=b[e];for(var f=e.length-1;2<f;f--){var g=b[e.substring(0,f)];g&&(d=d?d.concat(g):g)}if(d){f=0;for(b=d.length;f<b;f++){e=d[f];g=e.t;var h=e.v;e.f<=c&&g>=c&&(null==h||1==h)&&(g=new B,e.r&&g.Ra(e.r),e.sc&&e.sw&&(null!=e.so?(h=Nc(e.sc),h[3]=e.so):h=e.sc,h=new Ld({color:h,width:Number(e.sw)||0}),e.sd&&(h.setLineDash(e.sd.split(" ")),h.de(e.scp||"butt")),g.cc(h)),a.push(g))}return a}}return null}
function AA(a,b,c,d,e,f){var g=a.K(),h=g.layer,l=g.kind,m=g.sname?g.sname.replace(/\r/g,""):"";if(0==h.indexOf("BASEMAP_JUGI")||"HYBRID_JUGI_LINE"==h){var n=[];if(b=b[l]){h=0;for(var p=b.length;h<p;h++){var q=b[h],r=q.f,u=q.t,v=q.v,y=null,z=null;if(r<=f&&u>=f&&(null==v||1==v)){if(1==g.ie&&g.web_from&&g.web_to&&(r=parseInt(g.web_to,10),!(parseInt(g.web_from,10)<=f&&r>=f)))continue;r=new B;r.Ra(q.r);u=q.jt;1!=u&&(y=new K,"LineString"==a.W().U()||"MultiLineString"==a.W().U()?(y.Ie("line"),r.Ra(1E4)):
a instanceof nt&&("LineString"==a.U()||"MultiLineString"==a.U())&&(y.Ie("line"),r.Ra(1E4)),y.Hb(m),y.jf(!1),c||(c="YD_YGO540"),v=q.jsw||"",v=v+" "+q.jsz+"px "+c,y.Ed(v),null!=q.fo?(v=Nc(q.fc||"#D26E64"),v[3]=q.fo):v=q.fc,v=new Kd({color:v}),y.lc(v),null!=q.so?(v=Nc(q.sc||"#FDFDF8"),v[3]=q.so):v=q.sc,v=new Ld({color:v,width:2*parseInt(q.sw,10)||2}),y.cc(v));if(2!=u)if(z=q.ji,d[z])q=d[z],z=new ir({anchor:[.5,.5],crossOrigin:"anonymous",scale:.5,offset:[q.x,q.y],size:[q.width,q.height],src:e,opacity:1}),
3==u&&(y.kf("top"),y.He(q.height/4+3)),g.angle&&z.Zd(Math.PI/180*parseFloat(g.angle));else return console.log("imageLoadError - code : "+l),null;y&&r.Hb(y);z&&r.ce(z);n.push(r)}}return n}}else if(0==h.indexOf("gis_")&&(n=[],l=h+"_"+g.class_code,b=b[l])){h=0;for(p=b.length;h<p;h++)if(q=b[h],r=q.f,u=q.t,v=q.v,z=y=null,r<=f&&u>=f&&(null==v||1==v)&&(1!=g.ie||parseInt(g.web_from,10)<=f&&parseInt(g.web_to,10)>=f)){r=new B;r.Ra(q.r);u=q.jt;1!=u&&(y=new K,"LineString"==a.W().U()||"MultiLineString"==a.W().U()?
(y.Ie("line"),r.Ra(1E4)):a instanceof nt&&("LineString"==a.U()||"MultiLineString"==a.U())&&(y.Ie("line"),r.Ra(1E4)),y.Hb(m),y.jf(!1),c||(c="YD_YGO540"),v=q.jsw||"",v="gis_osm_places_free_town"==l&&7<=f&&11>f?v+" 12px "+c:v+" "+q.jsz+"px "+c,y.Ed(v),null!=q.fo?(v=Nc(q.fc||"#D26E64"),v[3]=q.fo):v=q.fc,v=new Kd({color:v}),y.lc(v),null!=q.so?(v=Nc(q.sc||"#FDFDF8"),v[3]=q.so):v=q.sc,v=new Ld({color:v,width:2*parseInt(q.sw,10)||2}),y.cc(v));if(2!=u)if(z=q.ji,d[z])q=d[z],z=new ir({anchor:[.5,.5],crossOrigin:"anonymous",
scale:.5,offset:[q.x,q.y],size:[q.width,q.height],src:e,opacity:1}),3==u&&(y.kf("top"),y.He(q.height/4+3)),g.angle&&z.Zd(Math.PI/180*parseFloat(g.angle));else return console.log("imageLoadError - code : "+l),null;y&&r.Hb(y);z&&r.ce(z);n.push(r)}return n}return null}
function BA(a,b,c){var d=[];if(a){for(var e=0,f=a.length;e<f;e++){var g=a[e],h=g.t,l=g.v;g.f<=c&&h>=c&&(null==l||1==l)&&(h=new B,g.sc&&0<Number(g.sw)&&(l=null,null!=g.so?(l=Nc(g.sc),l[3]=g.so):l=g.sc,l=new Ld({color:l,width:Number(g.sw)||0}),g.sd&&(l.setLineDash(g.sd.split(" ")),l.de(g.scp||"butt")),h.cc(l)),g.fc&&0<g.fo&&(l=null,g.fc instanceof Object?l=function(){var a=g.fc.w,b=document.createElement("canvas"),c=16*a,d=8*a;b.width=c;b.height=d;var e=b.getContext("2d"),f=g.fc.p;if("DL"==f){var h=
c+2*a;var l=-(2*a);var z=-a;var E=d+a;var M=c}else"DR"==f?(h=c+2*a,l=-(2*a),z=d+a,E=-a,M=c):"H"==f?(h=c+2*a,l=-(2*a),z=d/2,E=d/2,M=c):"V"==f&&(h=c/2,l=c/2,z=d+a,E=-a,M=d);e.strokeStyle=g.fc.fc;e.globalAlpha=g.fc.fo;e.lineWidth=a;e.beginPath();e.moveTo(h,z);e.lineTo(l,E);e.moveTo(h-M,z);e.lineTo(l-M,E);e.moveTo(h+M,z);e.lineTo(l+M,E);e.stroke();return e.createPattern(b,"repeat")}():g.fc.startsWith("url")?l=function(){var a=document.createElement("canvas").getContext("2d");g.fc=g.fc.replace(".png",
"");var c=b[g.fc.substring(g.fc.indexOf("(")+1,g.fc.indexOf(")"))];return c?a.createPattern(c,"repeat"):"rgba(0, 0, 0, 0)"}():null!=g.fo?(l=Nc(g.fc),l[3]=g.fo):l=g.fc,h.lc(new Kd({color:l}))),d.push(h))}return d}return null}
function xA(a,b,c,d,e){var f=a.K();a=f.layer;var g="";if(0==a.indexOf("gis_")||"Background_EastAsia"==a||"Background_NorthKorea"==a||"gis_osm_water_polygons"==a){"Background_EastAsia"==a||"Background_NorthKorea"==a||"gis_osm_water_polygons"==a?g=a:g=a+"_"+f.class_code;f=[];for(var h=b[g],l=g.length-1;2<l;l--){var m=b[g.substring(0,l)];m&&(h=h?h.concat(m):m)}if(h){l=0;for(b=h.length;l<b;l++){var n=h[l];g=n.t;m=n.v;n.f<=d&&g>=d&&(null==m||1==m)&&(g=new B,isNaN(n.r)||g.Ra(n.r),e&&("Background_EastAsia"==
a?g.Ra(-1):"Background_NorthKorea"==a?g.Ra(0):"gis_osm_water_polygons"==a&&g.Ra(1)),n.sc&&0<Number(n.sw)&&(m=null,null!=n.so?(m=Nc(n.sc),m[3]=n.so):m=n.sc,m=new Ld({color:m,width:Number(n.sw)||0}),n.sd&&m.setLineDash(n.sd.split(" ")),m.de(n.scp||"butt"),g.cc(m)),n.fc&&0<n.fo&&(m=null,n.fc instanceof Object?m=function(){var a=n.fc.w,b=document.createElement("canvas"),c=16*a,d=8*a;b.width=c;b.height=d;var e=b.getContext("2d"),f=n.fc.p;if("DL"==f){var g=c+2*a;var h=-(2*a);var l=-a;var m=d+a;var ra=c}else"DR"==
f?(g=c+2*a,h=-(2*a),l=d+a,m=-a,ra=c):"H"==f?(g=c+2*a,h=-(2*a),l=d/2,m=d/2,ra=c):"V"==f&&(g=c/2,h=c/2,l=d+a,m=-a,ra=d);e.strokeStyle=n.fc.fc;e.globalAlpha=n.fc.fo;e.lineWidth=a;e.beginPath();e.moveTo(g,l);e.lineTo(h,m);e.moveTo(g-ra,l);e.lineTo(h-ra,m);e.moveTo(g+ra,l);e.lineTo(h+ra,m);e.stroke();return e.createPattern(b,"repeat")}():n.fc.startsWith("url")?m=function(){var a=document.createElement("canvas").getContext("2d");n.fc=n.fc.replace(".png","");var b=c[n.fc.substring(n.fc.indexOf("(")+1,n.fc.indexOf(")"))];
return b?a.createPattern(b,"repeat"):"rgba(0, 0, 0, 0)"}():null!=n.fo?(m=Nc(n.fc),m[3]=n.fo):m=n.fc,g.lc(new Kd({color:m}))),f.push(g))}return f}}return null}
k.Kr=function(a,b){var c=this,d="";if("bounds_changed"==a)d="";else if("center_changed"==a)d="";else if("click"==a)d="singleclick";else if("contextmenu"==a)d="singleclick";else if("dblclick"==a)d="dblclick";else if("drag"==a)d="pointerdrag";else if("dragend"==a)d="moveend";else if("dragstart"==a)d="movestart";else if("heading_changed"==a)d="";else if("idle"==a)d="";else if("isfractionalzoomenabled_changed"==a)d="";else if("maptypeid_changed"==a)d="";else if("mousemove"==a)d="pointermove";else if("mouseout"==
a)d="";else if("mouseover"==a)d="";else if("projection_change"==a)d="";else if("renderingtype_changed"==a)d="";else if("rightclick"==a)d="";else if("tilesloaded"==a)d="";else if("zoom_changed"==a)d="";else if("longpress"===a){var e=this.Ca,f=null;e.addEventListener("touchstart",function(a){0<a.changedTouches.length&&(a.preventDefault(),console.log(a),f=setTimeout(function(){var d=c.hb([a.changedTouches[0].clientX,a.changedTouches[0].clientY]);c.yi=[a.changedTouches[0].clientX,a.changedTouches[0].clientY];
d=Tb(d);b(new cA(void 0,a,new $z(d[1],d[0],!0),new Zz(a.x,a.y)));f=null},1E3))});e.addEventListener("touchmove",function(){f&&(clearTimeout(f),f=null)});e.addEventListener("touchend",function(a){console.log(a);f&&(clearTimeout(f),f=null)})}else console.log("\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc774\ubca4\ud2b8 \uc785\ub2c8\ub2e4.");var g=this;d&&("contextmenu"==a?this.Ca.addEventListener("contextmenu",function(a){a.preventDefault();var c=g.hb([a.x,a.y]);c=Tb(c);b(new cA(void 0,a,new $z(c[1],c[0],
!0),new Zz(a.x,a.y)))}):"longpress"!=a&&this.J(d,function(c){if("click"==a&&this.yi[0]==c.originalEvent.clientX&&this.yi[1]==c.originalEvent.clientY)return!1;if("click"==a||"dblclick"==a||"mousemove"==a){var d=Tb(c.coordinate);b(new cA(void 0,c.originalEvent,new $z(d[1],d[0],!0),new Zz(c.pixel[0],c.pixel[1])))}else b(null)}))};function Y(a){C.call(this,new D(Rb([a.position.lng,a.position.lat])));var b={anchor:a.anchor||[.5,1],anchorXUnits:"fraction",anchorYUnits:"fraction",src:a.icon||Yz.je+"/images/marker/"+(a.num||"none")+".png",opacity:a.opacity||1,scale:a.scale||1,rotation:a.rotation/180*Math.PI||0};a.crossOrigin?b.crossOrigin=a.crossOrigin:a.b||(b.crossOrigin="anonymous");b=new B({image:new ir(b)});a.label&&b.Hb(new K({font:(a.label.fontWeight+" "||"")+(a.label.fontSize+" "||"12px ")+a.label.font||" 'Malgun Gothic'",
overflow:!0,fill:new Kd({color:a.label.color||"#000"}),stroke:new Ld({color:"#fff",width:3}),textAlign:"center",textBaseline:a.label.textBaseline||"middle",offsetX:a.label.offsetX||0,offsetY:a.label.offsetY||10,text:a.label.text||a.label||""}));this.nb(b);a.properties&&this.I(a.properties);a.map&&(this.map=a.map,this.map.j.Z().eb(this));this.Yb=a.Yb||!0;this.Ec(a.draggable||!1);this.cursor=a.cursor||"pointer"}w(Y,C);k=Y.prototype;k.T=function(){return this.map};
k.setMap=function(a){a?(this.map=a,this.map.j.Z().eb(this)):this.map.j.Z().jb(this)};k.vd=function(){var a=Tb(cb(this.W().G()));return{lat:Number(a[1]),lng:Number(a[0])}};k.Rr=function(a){this.Qa(new D(Rb([a.lng,a.lat])));this.da.position_changed&&this.da.position_changed()};k.Om=function(){for(var a=this.Ga().Pa().Pa(),b=this.Ga().Pa().b.split(" "),c=b[0],d=b[1],e=b[2],f=3,g=b.length;f<g;f++)e+=" "+b[f];b=this.Ga().Pa().Ya().b;return{text:a,font:e,fontWeight:c,fontSize:d,color:b}};
k.ns=function(a){this.nb(new B({image:this.Ga().fa(),text:new K({font:(a.fontWeight+" "||"")+(a.fontSize+" "||"12px ")+a.font||" 'Malgun Gothic'",overflow:!0,fill:new Kd({color:a.color||"#000"}),stroke:new Ld({color:"#fff",width:3}),textAlign:"center",textBaseline:a.textBaseline||"middle",offsetX:a.offsetX||0,offsetY:a.offsetY||0,text:a.text||""})}))};k.Vk=function(){return this.Ga().fa().j};k.Qr=function(a){this.Ga().fa().Yd(a);this.nb(this.Ga())};k.Ia=function(){return this.Ga().Ia()};
k.Ra=function(a){this.Ga().Ra(a);this.nb(this.Ga());this.da.zindex_changed&&this.da.zindex_changed()};k.Mm=function(){return this.Ga().fa().a.j};k.ks=function(a){var b=this.Vk(),c=this.Ga().fa().l,d=this.Ga().fa().s;this.nb(new B({image:new ir({anchor:[.5,1],anchorXUnits:"fraction",anchorYUnits:"fraction",opacity:b,scale:c,rotation:d,src:a}),text:this.Ga().Pa()}));this.da.icon_changed&&this.da.icon_changed()};k.ds=function(a){this.Yb=a;this.da.clickable_changed&&this.da.clickable_changed()};
k.Bm=function(){return this.Yb};k.gs=function(a){this.cursor=a;this.da.cursor_changed&&this.da.cursor_changed()};k.Fm=function(){return this.cursor};
k.Pr=function(a,b){"animation_changed"==a?console.log("\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc774\ubca4\ud2b8 \uc785\ub2c8\ub2e4."):"click"==a?this.da.click=b:"clickable_changed"==a?this.da.clickable_changed=b:"contextmenu"==a?console.log("\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc774\ubca4\ud2b8 \uc785\ub2c8\ub2e4."):"cursor_changed"==a?this.da.cursor_changed=b:"dblclick"==a?this.da.dblclick=b:"drag"==a?this.da.drag=b:"dragend"==a?this.da.dragend=b:"draggable_changed"==a?console.log("\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc774\ubca4\ud2b8 \uc785\ub2c8\ub2e4."):
"dragstart"==a?this.da.dragstart=b:"flat_changed"==a?console.log("\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc774\ubca4\ud2b8 \uc785\ub2c8\ub2e4."):"icon_changed"==a?this.da.icon_changed=b:"mousedown"==a?console.log("\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc774\ubca4\ud2b8 \uc785\ub2c8\ub2e4."):"mouseover"==a?console.log("\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc774\ubca4\ud2b8 \uc785\ub2c8\ub2e4."):"mouseup"==a?console.log("\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc774\ubca4\ud2b8 \uc785\ub2c8\ub2e4."):
"position_changed"==a?this.da.position_changed=b:"rightclick"==a?console.log("\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc774\ubca4\ud2b8 \uc785\ub2c8\ub2e4."):"shape_changed"==a?console.log("\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc774\ubca4\ud2b8 \uc785\ub2c8\ub2e4."):"title_changed"==a?console.log("\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc774\ubca4\ud2b8 \uc785\ub2c8\ub2e4."):"visible_changed"==a?console.log("\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc774\ubca4\ud2b8 \uc785\ub2c8\ub2e4."):"zindex_changed"==
a&&(this.da.zindex_changed=b)};function CA(){}CA.prototype.b=100;function Z(a){W.call(this,a)}w(Z,W);Z.prototype.Ef=function(){this.b(new jc("clusteringbegin"));W.prototype.Ef.call(this);this.b(new jc("clusteringend"))};function DA(a){function b(a,b,c){a=c.ba();var d=null;b.get("features").forEach(function(a){a=a.W().G();d?d=Sa(d,a):d=a});b=3*a.la();d=Fa(d,b);c=a.Xe(a.Te(d,c.La()));a.ub(cb(d));a.ge(c)}this.b=a||{};a=this.b.markers||[];this.a=[10,30,100,300];this.l=[{size:[52,52],offset:[0,0]},{size:[56,56],offset:[0,90]},{size:[66,66],offset:[0,180]},{size:[78,78],offset:[0,270]},{size:[90,90],offset:[0,360]}];this.source=new U({features:a});a=new Z({distance:this.b.gridSize||100,source:this.source});this.layer=
new yw({source:a,style:this.Wi.bind(this)});this.b.map&&this.b.map.Ob(this.layer);this.da={};a.J("clusteringbegin",function(){this.da.clusteringbegin&&this.da.clusteringbegin()},this);a.J("clusteringend",function(){this.da.clusteringend&&this.da.clusteringend()},this);var c=this.layer;this.b.map&&(this.b.map.J("pointermove",function(a){var b="default";a.target.ed(a.pixel,{layerFilter:function(a){return a==c}})&&(b="pointer");a.target.Ca.style.cursor=b}),this.b.map.J("singleclick",function(a){var d=
a.target.ed(a.pixel,{layerFilter:function(a){return a==c}});if(d)for(var f=0,g=d.length;f<g;f++){var h=d[f];this.da.click&&this.da.click();b(a.originalEvent,h,a.target)}},this))}k=DA.prototype;
k.Wi=function(a){var b=a.get("features").length;if(1<b){a=this.a.length;for(var c=0,d=this.a.length;c<d;c++)if(b<this.a[c]){a=c;break}b=new B({image:new ir({crossOrigin:"anonymous",scale:1,offset:this.l[a].offset,size:this.l[a].size,src:Yz.je+"/images/icon/cluster.png"}),text:new K({text:b.toString(),stroke:new Ld({color:"#ffffff",width:3}),fill:new Kd({color:"#777777"})})})}else b=a.get("features")[0].Ga().clone();return b};k.Sl=function(a){this.source.eb(a)};k.Tl=function(a){this.source.Lc(a)};
k.Sk=function(a){this.source.jb(a)};k.Br=function(a){var b=this;a.forEach(function(a){b.Sk(a)})};k.bm=function(){this.source.clear()};k.render=function(){this.layer.A()};k.Nr=function(a,b){"clusteringbegin"==a?this.da.clusteringbegin=b:"click"==a?this.da.click=b:"clusteringend"==a&&(this.da.clusteringend=b)};function EA(){};function FA(){};function GA(a){var b=[];a.paths.forEach(function(a){b.push(a.map(function(a){return[a.lng,a.lat]}))});C.call(this,(new F(b)).transform("EPSG:4326","EPSG:3857"));var c=a.strokeWeight||2,d=a.strokeColor||"#1eb4e8",e=a.strokeOpacity||1,f=a.fillColor||"#1eb4e8",g=a.fillOpacity||1;"string"==typeof d&&(d=Oz(d));d.push(e);"string"==typeof f&&(f=Oz(f));f.push(g);this.nb(function(){return[new B({stroke:new Ld({width:c,color:d}),fill:new Kd({color:f})})]});a.properties&&this.I(a.properties);a.map&&(this.map=
a.map,this.map.c.Z().eb(this));this.Yb=a.Yb||!0;this.Ec(a.draggable||!1);this.cursor=a.cursor||"pointer"}w(GA,C);k=GA.prototype;k.T=function(){return this.map};k.setMap=function(a){a?(this.map=a,this.map.c.Z().eb(this)):this.map.c.Z().jb(this)};k.gn=function(){for(var a=this.K().geometry.ca(),b=[],c=0,d=a.length;c<d;c++){for(var e=a[c],f=[],g=0,h=e.length;g<h;g++){var l=Tb(e[g]);f.push({lat:Number(l[1].toFixed(6)),lng:Number(l[0].toFixed(6))})}b.push(f)}return b};
k.el=function(a){var b=[];a.forEach(function(a){b.push(a.map(function(a){return[a.lng,a.lat]}))});this.Qa((new F(b)).transform("EPSG:4326","EPSG:3857"))};k.Tr=function(a){this.el(a.paths);var b=a.strokeWeight||2,c=a.strokeColor||"#1eb4e8",d=a.strokeOpacity||1,e=a.fillColor||"#1eb4e8",f=a.fillOpacity||1;"string"==typeof c&&(c=Oz(c));c.push(d);"string"==typeof e&&(e=Oz(e));e.push(f);this.nb(function(){return[new B({stroke:new Ld({width:b,color:c}),fill:new Kd({color:e})})]});a.properties&&this.I(a.properties)};
k.Sr=function(a,b){"click"==a?this.da.click=b:"contextmenu"==a?console.log("\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc774\ubca4\ud2b8 \uc785\ub2c8\ub2e4."):"dblclick"==a?this.da.dblclick=b:"drag"==a?this.da.drag=b:"dragend"==a?this.da.dragend=b:"dragstart"==a?this.da.dragstart=b:"mousedown"==a?console.log("\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc774\ubca4\ud2b8 \uc785\ub2c8\ub2e4."):"mousemove"==a?console.log("\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc774\ubca4\ud2b8 \uc785\ub2c8\ub2e4."):"mouseout"==
a?console.log("\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc774\ubca4\ud2b8 \uc785\ub2c8\ub2e4."):"mouseover"==a?console.log("\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc774\ubca4\ud2b8 \uc785\ub2c8\ub2e4."):"mouseup"==a?console.log("\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc774\ubca4\ud2b8 \uc785\ub2c8\ub2e4."):"rightclick"==a&&console.log("\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc774\ubca4\ud2b8 \uc785\ub2c8\ub2e4.")};function HA(){};function IA(a){var b=a.path.map(function(a){return[a.lng,a.lat]});C.call(this,(new J(b)).transform("EPSG:4326","EPSG:3857"));var c=a.arrow||!1,d=a.strokeWeight||2,e=a.strokeColor||"#1eb4e8";b=a.strokeOpacity||1;var f=a.lineDash||[],g=a.lineDashOffset||0;"string"==typeof e&&(e=Oz(e));e.push(b);this.nb(function(b){var h=[new B({stroke:new Ld({width:d,color:e,lineDash:f,lineDashOffset:g})})];if(c){var m=a.arrowLength||2;this.W().Mf(function(a,c){a=Math.atan2(c[1]-a[1],c[0]-a[0]);var f=d*m*b,g=new Ld({color:e,
width:d}),l=new J([c,[c[0]-f,c[1]+f]]);l.rotate(a,c);f=new J([c,[c[0]-f,c[1]-f]]);f.rotate(a,c);h=h.concat(new B({geometry:l,stroke:g}));h=h.concat(new B({geometry:f,stroke:g}))})}return h});a.properties&&this.I(a.properties);a.map&&(this.map=a.map,this.map.c.Z().eb(this));this.Yb=a.Yb||!0;this.Ec(a.draggable||!1);this.cursor=a.cursor||"pointer"}w(IA,C);k=IA.prototype;k.T=function(){return this.map};k.setMap=function(a){a?(this.map=a,this.map.c.Z().eb(this)):this.map.c.Z().jb(this)};
k.fn=function(){for(var a=this.K().geometry.ca(),b=[],c=0,d=a.length;c<d;c++){var e=Tb(a[c]);b.push({lat:Number(e[1].toFixed(6)),lng:Number(e[0].toFixed(6))})}return b};k.dl=function(a){a=a.map(function(a){return[a.lng,a.lat]});this.Qa((new J(a)).transform("EPSG:4326","EPSG:3857"))};
k.Vr=function(a){this.dl(a.path);var b=a.arrow||!1,c=a.strokeWeight||2,d=a.strokeColor||"#1eb4e8",e=a.strokeOpacity||1,f=a.lineDash||[],g=a.lineDashOffset||0;"string"==typeof d&&(d=Oz(d));d.push(e);this.nb(function(e){var h=[new B({stroke:new Ld({width:c,color:d,lineDash:f,lineDashOffset:g})})];if(b){var m=a.arrowLength||2;this.W().Mf(function(a,b){a=Math.atan2(b[1]-a[1],b[0]-a[0]);var f=c*m*e,g=new Ld({color:d,width:c}),l=new J([b,[b[0]-f,b[1]+f]]);l.rotate(a,b);f=new J([b,[b[0]-f,b[1]-f]]);f.rotate(a,
b);h=h.concat(new B({geometry:l,stroke:g}));h=h.concat(new B({geometry:f,stroke:g}))})}return h});a.properties&&this.I(a.properties)};
k.Ur=function(a,b){"click"==a?this.da.click=b:"contextmenu"==a?console.log("\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc774\ubca4\ud2b8 \uc785\ub2c8\ub2e4."):"dblclick"==a?this.da.dblclick=b:"drag"==a?this.da.drag=b:"dragend"==a?this.da.dragend=b:"dragstart"==a?this.da.dragstart=b:"mousedown"==a?console.log("\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc774\ubca4\ud2b8 \uc785\ub2c8\ub2e4."):"mousemove"==a?console.log("\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc774\ubca4\ud2b8 \uc785\ub2c8\ub2e4."):"mouseout"==
a?console.log("\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc774\ubca4\ud2b8 \uc785\ub2c8\ub2e4."):"mouseover"==a?console.log("\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc774\ubca4\ud2b8 \uc785\ub2c8\ub2e4."):"mouseup"==a?console.log("\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc774\ubca4\ud2b8 \uc785\ub2c8\ub2e4."):"rightclick"==a&&console.log("\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc774\ubca4\ud2b8 \uc785\ub2c8\ub2e4.")};function JA(){};function KA(a){this.c=a||{};a=this.c.bounds;C.call(this,Tg([a.west,a.south,a.east,a.north]).transform("EPSG:4326","EPSG:3857"));var b=this.c.strokeWeight||2,c=this.c.strokeColor||"#1eb4e8";a=this.c.strokeOpacity||1;var d=this.c.fillColor||"#1eb4e8",e=this.c.fillOpacity||1;"string"==typeof c&&(c=Oz(c));c.push(a);"string"==typeof d&&(d=Oz(d));d.push(e);this.nb(function(){return[new B({stroke:new Ld({width:b,color:c}),fill:new Kd({color:d})})]});this.c.properties&&this.I(this.c.properties);this.c.map&&
(this.map=this.c.map,this.map.c.Z().eb(this));this.Yb=this.c.Yb||!0;this.cursor=this.c.cursor||"pointer";this.da={}}w(KA,C);KA.prototype.u=function(){var a=this.W().clone().transform("EPSG:3857","EPSG:4326").G();return{west:a[0],south:a[1],east:a[2],north:a[3]}};KA.prototype.T=function(){return this.map};KA.prototype.setMap=function(a){a?(this.map=a,this.map.c.Z().eb(this)):this.map.c.Z().jb(this)};
KA.prototype.C=function(a,b){"bounds_changed"==a?this.da.bounds_changed=b:"click"==a?this.da.click=b:"contextmenu"==a?console.log("\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc774\ubca4\ud2b8 \uc785\ub2c8\ub2e4."):"dblclick"==a?this.da.dblclick=b:"drag"==a?console.log("\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc774\ubca4\ud2b8 \uc785\ub2c8\ub2e4."):"dragend"==a?console.log("\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc774\ubca4\ud2b8 \uc785\ub2c8\ub2e4."):"dragstart"==a?console.log("\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc774\ubca4\ud2b8 \uc785\ub2c8\ub2e4."):
"mousedown"==a?console.log("\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc774\ubca4\ud2b8 \uc785\ub2c8\ub2e4."):"mousemove"==a?console.log("\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc774\ubca4\ud2b8 \uc785\ub2c8\ub2e4."):"mouseout"==a?console.log("\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc774\ubca4\ud2b8 \uc785\ub2c8\ub2e4."):"mouseover"==a?console.log("\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc774\ubca4\ud2b8 \uc785\ub2c8\ub2e4."):"mouseup"==a?console.log("\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc774\ubca4\ud2b8 \uc785\ub2c8\ub2e4."):
"rightclick"==a&&console.log("\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc774\ubca4\ud2b8 \uc785\ub2c8\ub2e4.")};function LA(a){a=a?a:{};var b=void 0!==a.className?a.className:"routo-scale-line";this.s=document.createElement("DIV");this.s.className=b+"-inner";this.c=document.createElement("DIV");this.c.className=b+" ol-unselectable";this.c.appendChild(this.s);this.u=null;this.o=void 0!==a.minWidth?a.minWidth:64;this.g=!1;this.B=void 0;this.C="";ph.call(this,{element:this.c,render:a.render?a.render:MA,target:a.target});A(this,qc(NA),this.ea,this);this.aa(a.units||"metric")}w(LA,ph);LA.prototype.$=function(){return this.element};
var OA=[1,2,3,5];LA.prototype.R=function(){return this.get(NA)};function MA(a){(a=a.frameState)?this.u=a.viewState:this.u=null;PA(this)}LA.prototype.ea=function(){PA(this)};LA.prototype.aa=function(a){this.set(NA,a)};
function PA(a){var b=a.u;if(b){var c=b.center,d=b.projection,e=a.R();b=Hb(d,b.resolution,c,"degrees"==e?"degrees":"m");"degrees"!=e&&(b*=d.fd());var f=a.o*b;c="";"degrees"==e?(c=ib.degrees,"degrees"==d.a?f*=c:b/=c,f<c/60?(c="\u2033",b*=3600):f<c?(c="\u2032",b*=60):c="\u00b0"):"imperial"==e?.9144>f?(c="in",b/=.0254):1609.344>f?(c="ft",b/=.3048):(c="mi",b/=1609.344):"nautical"==e?(b/=1852,c="nm"):"metric"==e?.001>f?(c="\u03bcm",b*=1E6):1>f?(c="mm",b*=1E3):900>f?c="m":(c="km",b/=1E3):"us"==e?.9144>f?
(c="in",b*=39.37):1609.344>f?(c="ft",b/=.30480061):(c="mi",b/=1609.3472):ia(!1,33);for(e=3*Math.floor(Math.log(a.o*b)/Math.log(10));;){f=OA[(e%4+4)%4]*Math.pow(10,Math.floor(e/4));d=Math.round(f/b);if(isNaN(d)){a.c.style.display="none";a.g=!1;return}if(d>=a.o)break;++e}b=f+" "+c;a.C!=b&&(a.s.innerHTML=b,a.C=b);a.B!=d&&(a.s.style.width=d+"px",a.B=d);a.g||(a.c.style.display="",a.g=!0)}else a.g&&(a.c.style.display="none",a.g=!1)}var NA="units";function QA(){Fh.call(this)}w(QA,Fh);function RA(){};function SA(a){this.b=a||this.b;this.interaction=this.source=this.map=this.pc=void 0;this.setMap(this.b.map);this.ui(this.b.pc);this.da={}}k=SA.prototype;k.Im=function(){return this.pc};k.T=function(){return this.map};k.ui=function(a){this.pc=a;this.map&&(this.interaction&&(this.map.Vc(this.interaction),this.interaction=null),this.pc&&TA(this))};k.setMap=function(a){this.source=(this.map=a||void 0)?this.map.j.Z():void 0};k.Xr=function(a){for(var b in a)this.b[b]=a[b];this.setMap(this.b.map);this.ui(this.b.pc)};
function TA(a){var b=null,c=void 0;"marker"==a.pc?b="Point":"polygon"==a.pc?b="Polygon":"polyline"==a.pc?b="LineString":"rectangle"==a.pc?(b="Circle",c=cx()):"circle"==a.pc?(b="Circle",c=bx(40)):b="Point";a.interaction=new Lw({type:b,geometryFunction:c,style:new B({stroke:new Ld({color:"rgba(0, 0, 0, 0.8)",width:3}),fill:new Kd({color:"rgba(0, 0, 0, 0.2)"})})});a.map.Gd(a.interaction);var d=a.map,e=a.b,f=a.pc,g=a.da;a.interaction.J("drawend",function(a){var b=a.feature.W().clone().transform("EPSG:3857",
"EPSG:4326");if("marker"==f){a=new EA;for(var c in e.markerOptions)a[c]=e.markerOptions[c];b=b.ca();a.position={lat:b[1],lng:b[0]};a.map=d;new Y(a);g.markercomplete&&g.markercomplete()}else if("polygon"==f){if(a=b.ca(),0<a.length){for(var h=[],p=0,q=a[0].length;p<q;p++)b=a[0][p],h.push({lat:b[1],lng:b[0]});a=new FA;for(c in e.polygonOptions)a[c]=e.polygonOptions[c];a.paths=[h];a.map=d;new GA(a);g.polygoncomplete&&g.polygoncomplete()}}else if("polyline"==f){a=b.ca();h=[];p=0;for(q=a.length;p<q;p++)b=
a[p],h.push({lat:b[1],lng:b[0]});a=new HA;for(c in e.polylineOptions)a[c]=e.polylineOptions[c];a.path=h;a.map=d;new IA(a);g.polylinecomplete&&g.polylinecomplete()}else if("rectangle"==f){a=b.G();b={west:a[0],south:a[1],east:a[2],north:a[3]};a=new JA;for(c in e.rectangleOptions)a[c]=e.rectangleOptions[c];a.bounds=b;a.map=d;new KA(a);g.rectanglecomplete&&g.rectanglecomplete()}else if("circle"==f){b=cb(b.G());h=ab(a.feature.W().G())/2;a=new Mz;for(c in e.circleOptions)a[c]=e.circleOptions[c];a.center=
{lat:b[1],lng:b[0]};a.radius=h;a.map=d;new Qz(a);g.circlecomplete&&g.circlecomplete()}})}k.Wr=function(a,b){"circlecomplete"==a?this.da.circlecomplete=b:"markercomplete"==a?this.da.markercomplete=b:"overlaycomplete"==a?console.log("\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc774\ubca4\ud2b8 \uc785\ub2c8\ub2e4."):"polygoncomplete"==a?this.da.polygoncomplete=b:"polylinecomplete"==a?this.da.polylinecomplete=b:"rectanglecomplete"==a&&(this.da.rectanglecomplete=b)};function UA(){Kc.call(this)}w(UA,Kc);function VA(a){F.call(this,a)}w(VA,F);function WA(a){var b=new Cy({url:a.url,crossOrigin:"anonymous",tilePixelRatio:2,cacheSize:256,transition:0,minZoom:a.minZoom||6,maxZoom:a.maxZoom||19,zIndex:a.zIndex||5,tileUrlFunction:a.tileUrlFunction});a=a?a:{useInterimTilesOnError:!1};a.source=a.source||b;cy.call(this,a)}w(WA,cy);function XA(a){var b={maxResolution:2446,minResolution:0,source:new Az({projection:"EPSG:3857",transition:0,format:new ot({featureClass:C}),tileSize:256,tileUrlFunction:function(a){return"https://tile.routo.com/api/traffic/{z}/{x}/{y}".replace(/\{z\}/g,a[0].toString()).replace(/\{x\}/g,a[1].toString()).replace(/\{y\}/g,function(){return(-a[2]-1).toString()})}})};b.style=this.a;a&&a.zIndex&&(b.zIndex=a.zIndex);V.call(this,b)}w(XA,V);
XA.prototype.a=function(a,b){var c=a.get("speed"),d=a.get("road_kind"),e=a.W();c=1==d?70<=c?"rgba(57,215,41,0.8)":70>c&&30<=c?"rgba(255,182,41,0.8)":30>c?"rgba(255,56,41,0.8)":"rgba(136,136,136,0.8)":2==d?60<=c?"rgba(57,215,41,0.8)":60>c&&30<=c?"rgba(255,182,41,0.8)":30>c?"rgba(255,56,41,0.8)":"rgba(136,136,136,0.8)":40<=c?"rgba(57,215,41,0.8)":40>c&&20<=c?"rgba(255,182,41,0.8)":20>c?"rgba(255,56,41,0.8)":"rgba(136,136,136,0.8)";d=[new B({stroke:new Ld({color:c,width:3})})];if(2>b){var f=e.U();a=
e.na();var g;"MultiLineString"==f?g=e.Jb():"LineString"==f&&(g=[a.length]);for(e=0;e<g.length;e++)if(a[g[e]-4]){var h=[a[g[e]-4],a[g[e]-3]];f=[a[g[e]-2],a[g[e]-1]];var l=d;h=Math.atan2(f[1]-h[1],f[0]-h[0]);var m=8*b,n=new Ld({color:c,width:1.8}),p=new J([f,[f[0]-m,f[1]+m]]);p.rotate(h+.35,f);m=new J([f,[f[0]-m,f[1]-m]]);m.rotate(h-.35,f);l.push(new B({geometry:p,stroke:n}));l.push(new B({geometry:m,stroke:n}))}}return d};function YA(a,b,c){return a<=c?1:b<=c?2:0<=c?3:0};fa.prototype.code=fa.prototype.code;t("ol.Attribution",Ne);Ne.prototype.getHTML=Ne.prototype.b;t("ol.CanvasMap",I);t("ol.Collection",Pe);Pe.prototype.clear=Pe.prototype.clear;Pe.prototype.extend=Pe.prototype.Dh;Pe.prototype.forEach=Pe.prototype.forEach;Pe.prototype.getArray=Pe.prototype.Go;Pe.prototype.item=Pe.prototype.item;Pe.prototype.getLength=Pe.prototype.Cb;Pe.prototype.insertAt=Pe.prototype.dg;Pe.prototype.pop=Pe.prototype.pop;Pe.prototype.push=Pe.prototype.push;Pe.prototype.remove=Pe.prototype.remove;
Pe.prototype.removeAt=Pe.prototype.li;Pe.prototype.setAt=Pe.prototype.$r;Te.prototype.element=Te.prototype.element;t("ol.color.asArray",Nc);t("ol.color.asString",Pc);t("ol.colorlike.asColorLike",Rc);t("ol.control.Attribution",sh);t("ol.control.Attribution.render",th);sh.prototype.getCollapsible=sh.prototype.Dj;sh.prototype.setCollapsible=sh.prototype.Fj;sh.prototype.setCollapsed=sh.prototype.Ej;sh.prototype.getCollapsed=sh.prototype.Cj;t("ol.control.Control",ph);ph.prototype.getMap=ph.prototype.T;
ph.prototype.setMap=ph.prototype.setMap;ph.prototype.setTarget=ph.prototype.a;t("ol.control.FullScreen",Vn);t("ol.control.MousePosition",$n);t("ol.control.MousePosition.render",ao);$n.prototype.getCoordinateFormat=$n.prototype.ej;$n.prototype.getProjection=$n.prototype.Gj;$n.prototype.setCoordinateFormat=$n.prototype.Xk;$n.prototype.setProjection=$n.prototype.Hj;t("ol.control.OverviewMap",fo);t("ol.control.OverviewMap.render",go);fo.prototype.getCollapsible=fo.prototype.cp;
fo.prototype.setCollapsible=fo.prototype.gp;fo.prototype.setCollapsed=fo.prototype.fp;fo.prototype.getCollapsed=fo.prototype.bp;fo.prototype.getOverviewMap=fo.prototype.cn;t("ol.control.Rotate",wh);t("ol.control.Rotate.render",Eh);t("ol.control.ScaleLine",ko);ko.prototype.getUnits=ko.prototype.R;t("ol.control.ScaleLine.render",lo);ko.prototype.setUnits=ko.prototype.aa;t("ol.control.Zoom",Fh);t("ol.control.ZoomSlider",po);t("ol.control.ZoomSlider.render",ro);t("ol.control.ZoomToExtent",uo);
t("ol.control.defaults",Gh);t("ol.coordinate.add",Xf);t("ol.coordinate.createStringXY",function(a){return function(b){return jg(b,a)}});t("ol.coordinate.format",ag);t("ol.coordinate.rotate",cg);t("ol.coordinate.toStringHDMS",function(a,b){return a?$f("NS",a[1],b)+" "+$f("EW",a[0],b):""});t("ol.coordinate.toStringXY",jg);t("ol.DeviceOrientation",Mk);Mk.prototype.getAlpha=Mk.prototype.Ho;Mk.prototype.getBeta=Mk.prototype.Am;Mk.prototype.getGamma=Mk.prototype.Km;Mk.prototype.getHeading=Mk.prototype.Io;
Mk.prototype.getTracking=Mk.prototype.xj;Mk.prototype.setTracking=Mk.prototype.Eh;t("ol.easing.easeIn",kg);t("ol.easing.easeOut",lg);t("ol.easing.inAndOut",mg);t("ol.easing.linear",ng);t("ol.easing.upAndDown",function(a){return.5>a?mg(2*a):1-mg(2*(a-.5))});t("ol.events.condition.altKeyOnly",Qh);t("ol.events.condition.altShiftKeysOnly",Rh);t("ol.events.condition.always",tc);t("ol.events.condition.click",function(a){return"click"==a.type});t("ol.events.condition.never",uc);
t("ol.events.condition.pointerMove",Th);t("ol.events.condition.singleClick",Uh);t("ol.events.condition.doubleClick",function(a){return"dblclick"==a.type});t("ol.events.condition.noModifierKeys",Vh);t("ol.events.condition.platformModifierKeyOnly",function(a){a=a.originalEvent;return!a.altKey&&(bd?a.metaKey:a.ctrlKey)&&!a.shiftKey});t("ol.events.condition.shiftKeyOnly",Wh);t("ol.events.condition.targetNotEditable",Xh);t("ol.events.condition.mouseOnly",Yh);t("ol.events.condition.primaryAction",Zh);
jc.prototype.type=jc.prototype.type;jc.prototype.target=jc.prototype.target;jc.prototype.preventDefault=jc.prototype.preventDefault;jc.prototype.stopPropagation=jc.prototype.stopPropagation;t("ol.extent.boundingExtent",Ca);t("ol.extent.buffer",Fa);t("ol.extent.containsCoordinate",Ia);t("ol.extent.containsExtent",Ka);t("ol.extent.containsXY",Ja);t("ol.extent.createEmpty",Da);t("ol.extent.equals",Ra);t("ol.extent.extend",Sa);t("ol.extent.getArea",Za);t("ol.extent.getBottomLeft",Ua);
t("ol.extent.getBottomRight",Va);t("ol.extent.getCenter",cb);t("ol.extent.getHeight",bb);t("ol.extent.getIntersection",eb);t("ol.extent.getSize",function(a){return[a[2]-a[0],a[3]-a[1]]});t("ol.extent.getTopLeft",Ya);t("ol.extent.getTopRight",Wa);t("ol.extent.getWidth",ab);t("ol.extent.intersects",fb);t("ol.extent.isEmpty",$a);t("ol.extent.applyTransform",hb);t("ol.Feature",C);C.prototype.clone=C.prototype.clone;C.prototype.getGeometry=C.prototype.W;C.prototype.getId=C.prototype.Ta;
C.prototype.getGeometryName=C.prototype.Nd;C.prototype.getStyle=C.prototype.Ga;C.prototype.getStyleFunction=C.prototype.gb;C.prototype.setGeometry=C.prototype.Qa;C.prototype.setStyle=C.prototype.nb;C.prototype.setId=C.prototype.Ub;C.prototype.setGeometryName=C.prototype.bc;C.prototype.setDraggable=C.prototype.Ec;C.prototype.getDraggable=C.prototype.ud;t("ol.featureloader.xhr",Oo);t("ol.format.EsriJSON",Uo);Uo.prototype.readFeature=Uo.prototype.ac;Uo.prototype.readFeatures=Uo.prototype.$a;
Uo.prototype.readGeometry=Uo.prototype.Xc;Uo.prototype.readProjection=Uo.prototype.yb;Uo.prototype.writeGeometry=Uo.prototype.ad;Uo.prototype.writeGeometryObject=Uo.prototype.wf;Uo.prototype.writeFeature=Uo.prototype.ld;Uo.prototype.writeFeatureObject=Uo.prototype.le;Uo.prototype.writeFeatures=Uo.prototype.ec;Uo.prototype.writeFeaturesObject=Uo.prototype.uf;t("ol.format.Feature",Sd);t("ol.format.filter.And",Nt);t("ol.format.filter.Bbox",Ot);t("ol.format.filter.Comparison",Rt);
t("ol.format.filter.ComparisonBinary",Tt);t("ol.format.filter.Contains",Qt);t("ol.format.filter.During",St);t("ol.format.filter.EqualTo",Ut);t("ol.format.filter.Filter",Lt);t("ol.format.filter.GreaterThan",Vt);t("ol.format.filter.GreaterThanOrEqualTo",Wt);t("ol.format.filter.Intersects",Xt);t("ol.format.filter.IsBetween",Yt);t("ol.format.filter.IsLike",Zt);t("ol.format.filter.IsNull",$t);t("ol.format.filter.LessThan",au);t("ol.format.filter.LessThanOrEqualTo",bu);t("ol.format.filter.Not",cu);
t("ol.format.filter.NotEqualTo",du);t("ol.format.filter.Or",eu);t("ol.format.filter.Spatial",Pt);t("ol.format.filter.Within",fu);t("ol.format.filter.and",gu);t("ol.format.filter.or",function(a){var b=[null].concat(Array.prototype.slice.call(arguments));return new (Function.prototype.bind.apply(eu,b))});t("ol.format.filter.not",function(a){return new cu(a)});t("ol.format.filter.bbox",hu);t("ol.format.filter.contains",function(a,b,c){return new Qt(a,b,c)});
t("ol.format.filter.intersects",function(a,b,c){return new Xt(a,b,c)});t("ol.format.filter.within",function(a,b,c){return new fu(a,b,c)});t("ol.format.filter.equalTo",function(a,b,c){return new Ut(a,b,c)});t("ol.format.filter.notEqualTo",function(a,b,c){return new du(a,b,c)});t("ol.format.filter.lessThan",function(a,b){return new au(a,b)});t("ol.format.filter.lessThanOrEqualTo",function(a,b){return new bu(a,b)});t("ol.format.filter.greaterThan",function(a,b){return new Vt(a,b)});
t("ol.format.filter.greaterThanOrEqualTo",function(a,b){return new Wt(a,b)});t("ol.format.filter.isNull",function(a){return new $t(a)});t("ol.format.filter.between",function(a,b,c){return new Yt(a,b,c)});t("ol.format.filter.like",function(a,b,c,d,e,f){return new Zt(a,b,c,d,e,f)});t("ol.format.filter.during",function(a,b,c){return new St(a,b,c)});t("ol.format.GeoJSON",Vq);Vq.prototype.readFeature=Vq.prototype.ac;Vq.prototype.readFeatures=Vq.prototype.$a;Vq.prototype.readGeometry=Vq.prototype.Xc;
Vq.prototype.readProjection=Vq.prototype.yb;Vq.prototype.writeFeature=Vq.prototype.ld;Vq.prototype.writeFeatureObject=Vq.prototype.le;Vq.prototype.writeFeatures=Vq.prototype.ec;Vq.prototype.writeFeaturesObject=Vq.prototype.uf;Vq.prototype.writeGeometry=Vq.prototype.ad;Vq.prototype.writeGeometryObject=Vq.prototype.wf;t("ol.format.GML",qp);qp.prototype.writeFeatures=qp.prototype.ec;qp.prototype.writeFeaturesNode=qp.prototype.$c;t("ol.format.GML2",zp);t("ol.format.GML3",qp);
qp.prototype.writeGeometryNode=qp.prototype.vf;qp.prototype.writeFeatures=qp.prototype.ec;qp.prototype.writeFeaturesNode=qp.prototype.$c;dp.prototype.readFeatures=dp.prototype.$a;t("ol.format.GPX",Kp);Kp.prototype.readFeature=Kp.prototype.ac;Kp.prototype.readFeatures=Kp.prototype.$a;Kp.prototype.readProjection=Kp.prototype.yb;Kp.prototype.writeFeatures=Kp.prototype.ec;Kp.prototype.writeFeaturesNode=Kp.prototype.$c;t("ol.format.IGC",br);br.prototype.readFeature=br.prototype.ac;
br.prototype.readFeatures=br.prototype.$a;br.prototype.readProjection=br.prototype.yb;t("ol.format.KML",jr);jr.prototype.readFeature=jr.prototype.ac;jr.prototype.readFeatures=jr.prototype.$a;jr.prototype.readName=jr.prototype.pr;jr.prototype.readNetworkLinks=jr.prototype.qr;jr.prototype.readRegion=jr.prototype.tr;jr.prototype.readRegionFromNode=jr.prototype.Dg;jr.prototype.readProjection=jr.prototype.yb;jr.prototype.writeFeatures=jr.prototype.ec;jr.prototype.writeFeaturesNode=jr.prototype.$c;
t("ol.format.MVT",ot);ot.prototype.getLastExtent=ot.prototype.ph;ot.prototype.readFeatures=ot.prototype.$a;ot.prototype.readProjection=ot.prototype.yb;ot.prototype.setLayers=ot.prototype.pp;t("ol.format.OSMXML",tt);tt.prototype.readFeatures=tt.prototype.$a;tt.prototype.readProjection=tt.prototype.yb;t("ol.format.Polyline",At);t("ol.format.Polyline.encodeDeltas",Bt);t("ol.format.Polyline.decodeDeltas",Dt);t("ol.format.Polyline.encodeFloats",Ct);t("ol.format.Polyline.decodeFloats",Et);
At.prototype.readFeature=At.prototype.ac;At.prototype.readFeatures=At.prototype.$a;At.prototype.readGeometry=At.prototype.Xc;At.prototype.readProjection=At.prototype.yb;At.prototype.writeGeometry=At.prototype.ad;t("ol.format.TopoJSON",Ft);Ft.prototype.readFeatures=Ft.prototype.$a;Ft.prototype.readProjection=Ft.prototype.yb;t("ol.format.WFS",iu);iu.prototype.readFeatures=iu.prototype.$a;iu.prototype.readTransactionResponse=iu.prototype.s;iu.prototype.readFeatureCollectionMetadata=iu.prototype.j;
t("ol.format.WFS.writeFilter",function(a){var b=wo("http://www.opengis.net/ogc","Filter");Mo({node:b},xu,Ho(a.jd),[a],[]);return b});iu.prototype.writeGetFeature=iu.prototype.u;iu.prototype.writeTransaction=iu.prototype.H;iu.prototype.readProjection=iu.prototype.yb;t("ol.format.WKT",Du);Du.prototype.readFeature=Du.prototype.ac;Du.prototype.readFeatures=Du.prototype.$a;Du.prototype.readGeometry=Du.prototype.Xc;Du.prototype.writeFeature=Du.prototype.ld;Du.prototype.writeFeatures=Du.prototype.ec;
Du.prototype.writeGeometry=Du.prototype.ad;t("ol.format.WMSCapabilities",Yu);Yu.prototype.read=Yu.prototype.read;t("ol.format.WMSGetFeatureInfo",uv);uv.prototype.readFeatures=uv.prototype.$a;t("ol.format.WMTSCapabilities",Lv);Lv.prototype.read=Lv.prototype.read;t("ol.Geolocation",Sk);Sk.prototype.getAccuracy=Sk.prototype.tm;Sk.prototype.getAccuracyGeometry=Sk.prototype.um;Sk.prototype.getAltitude=Sk.prototype.vm;Sk.prototype.getAltitudeAccuracy=Sk.prototype.wm;Sk.prototype.getHeading=Sk.prototype.Ko;
Sk.prototype.getPosition=Sk.prototype.vd;Sk.prototype.getProjection=Sk.prototype.yj;Sk.prototype.getSpeed=Sk.prototype.mn;Sk.prototype.getTracking=Sk.prototype.zj;Sk.prototype.getTrackingOptions=Sk.prototype.mj;Sk.prototype.setProjection=Sk.prototype.Aj;Sk.prototype.setTracking=Sk.prototype.gg;Sk.prototype.setTrackingOptions=Sk.prototype.gl;t("ol.geom.Circle",lw);lw.prototype.clone=lw.prototype.clone;lw.prototype.getCenter=lw.prototype.Da;lw.prototype.getRadius=lw.prototype.Ce;
lw.prototype.getType=lw.prototype.U;lw.prototype.intersectsExtent=lw.prototype.xb;lw.prototype.setCenter=lw.prototype.ub;lw.prototype.setCenterAndRadius=lw.prototype.ti;lw.prototype.setRadius=lw.prototype.ee;lw.prototype.transform=lw.prototype.transform;t("ol.geom.Geometry",Kc);Kc.prototype.getClosestPoint=Kc.prototype.$b;Kc.prototype.intersectsCoordinate=Kc.prototype.Eb;Kc.prototype.getExtent=Kc.prototype.G;Kc.prototype.rotate=Kc.prototype.rotate;Kc.prototype.scale=Kc.prototype.scale;
Kc.prototype.simplify=Kc.prototype.nc;Kc.prototype.transform=Kc.prototype.transform;t("ol.geom.GeometryCollection",Rq);Rq.prototype.clone=Rq.prototype.clone;Rq.prototype.getGeometries=Rq.prototype.te;Rq.prototype.getType=Rq.prototype.U;Rq.prototype.intersectsExtent=Rq.prototype.xb;Rq.prototype.setGeometries=Rq.prototype.$k;Rq.prototype.applyTransform=Rq.prototype.Hd;Rq.prototype.translate=Rq.prototype.translate;t("ol.geom.LinearRing",Ag);Ag.prototype.clone=Ag.prototype.clone;
Ag.prototype.getArea=Ag.prototype.rp;Ag.prototype.getCoordinates=Ag.prototype.ca;Ag.prototype.getType=Ag.prototype.U;Ag.prototype.setCoordinates=Ag.prototype.Ba;t("ol.geom.LineString",J);J.prototype.appendCoordinate=J.prototype.Ul;J.prototype.clone=J.prototype.clone;J.prototype.forEachSegment=J.prototype.Mf;J.prototype.getCoordinateAtM=J.prototype.qp;J.prototype.getCoordinates=J.prototype.ca;J.prototype.getCoordinateAt=J.prototype.dj;J.prototype.getLength=J.prototype.Cb;J.prototype.getType=J.prototype.U;
J.prototype.intersectsExtent=J.prototype.xb;J.prototype.setCoordinates=J.prototype.Ba;t("ol.geom.MultiLineString",R);R.prototype.appendLineString=R.prototype.Vl;R.prototype.clone=R.prototype.clone;R.prototype.getCoordinateAtM=R.prototype.sp;R.prototype.getCoordinates=R.prototype.ca;R.prototype.getLineString=R.prototype.Sm;R.prototype.getLineStrings=R.prototype.ue;R.prototype.getType=R.prototype.U;R.prototype.intersectsExtent=R.prototype.xb;R.prototype.setCoordinates=R.prototype.Ba;
t("ol.geom.MultiPoint",So);So.prototype.appendPoint=So.prototype.Wl;So.prototype.clone=So.prototype.clone;So.prototype.getCoordinates=So.prototype.ca;So.prototype.getPoint=So.prototype.jn;So.prototype.getPoints=So.prototype.bf;So.prototype.getType=So.prototype.U;So.prototype.intersectsExtent=So.prototype.xb;So.prototype.setCoordinates=So.prototype.Ba;t("ol.geom.MultiPolygon",S);S.prototype.appendPolygon=S.prototype.Xl;S.prototype.clone=S.prototype.clone;S.prototype.getArea=S.prototype.tp;
S.prototype.getCoordinates=S.prototype.ca;S.prototype.getInteriorPoints=S.prototype.Nm;S.prototype.getPolygon=S.prototype.kn;S.prototype.getPolygons=S.prototype.Se;S.prototype.getType=S.prototype.U;S.prototype.intersectsExtent=S.prototype.xb;S.prototype.setCoordinates=S.prototype.Ba;t("ol.geom.Point",D);D.prototype.clone=D.prototype.clone;D.prototype.getCoordinates=D.prototype.ca;D.prototype.getType=D.prototype.U;D.prototype.intersectsExtent=D.prototype.xb;D.prototype.setCoordinates=D.prototype.Ba;
t("ol.geom.Polygon",F);F.prototype.appendLinearRing=F.prototype.Qi;F.prototype.clone=F.prototype.clone;F.prototype.getArea=F.prototype.Yj;F.prototype.getCoordinates=F.prototype.ca;F.prototype.getInteriorPoint=F.prototype.hj;F.prototype.getLinearRingCount=F.prototype.ij;F.prototype.getLinearRing=F.prototype.rh;F.prototype.getLinearRings=F.prototype.ve;F.prototype.getType=F.prototype.U;F.prototype.intersectsExtent=F.prototype.xb;F.prototype.setCoordinates=F.prototype.Ba;
t("ol.geom.Polygon.circular",Sg);t("ol.geom.Polygon.fromExtent",Tg);t("ol.geom.Polygon.fromCircle",Ug);t("ol.geom.SimpleGeometry",Wd);Wd.prototype.getFirstCoordinate=Wd.prototype.Qc;Wd.prototype.getLastCoordinate=Wd.prototype.Rc;Wd.prototype.getLayout=Wd.prototype.Tc;Wd.prototype.applyTransform=Wd.prototype.Hd;Wd.prototype.translate=Wd.prototype.translate;t("ol.Graticule",Zk);Zk.prototype.getMap=Zk.prototype.T;Zk.prototype.getMeridians=Zk.prototype.Ym;Zk.prototype.getParallels=Zk.prototype.en;
Zk.prototype.setMap=Zk.prototype.setMap;t("ol.has.DEVICE_PIXEL_RATIO",cd);t("ol.has.CANVAS",ed);t("ol.has.DEVICE_ORIENTATION",fd);t("ol.has.GEOLOCATION",gd);t("ol.has.TOUCH",hd);t("ol.has.WEBGL",Xc);dl.prototype.getImage=dl.prototype.fa;dl.prototype.load=dl.prototype.load;gl.prototype.getImage=gl.prototype.fa;t("ol.inherits",w);t("ol.interaction.DoubleClickZoom",Oh);t("ol.interaction.DoubleClickZoom.handleEvent",Ph);t("ol.interaction.DragAndDrop",nw);t("ol.interaction.DragAndDrop.handleEvent",tc);
qw.prototype.features=qw.prototype.features;qw.prototype.file=qw.prototype.file;qw.prototype.projection=qw.prototype.projection;t("ol.interaction.DragBox",ni);ni.prototype.getGeometry=ni.prototype.W;si.prototype.coordinate=si.prototype.coordinate;si.prototype.mapBrowserEvent=si.prototype.mapBrowserEvent;t("ol.interaction.DragPan",ci);t("ol.interaction.DragRotate",gi);t("ol.interaction.DragRotateAndZoom",uw);t("ol.interaction.DragZoom",wi);t("ol.interaction.Draw",Lw);
t("ol.interaction.Draw.handleEvent",Nw);Lw.prototype.removeLastPoint=Lw.prototype.Ar;Lw.prototype.finishDrawing=Lw.prototype.Pe;Lw.prototype.extend=Lw.prototype.up;t("ol.interaction.Draw.createRegularPolygon",bx);t("ol.interaction.Draw.createBox",cx);ax.prototype.feature=ax.prototype.feature;t("ol.interaction.Extent",dx);dx.prototype.getExtent=dx.prototype.G;dx.prototype.setExtent=dx.prototype.g;ox.prototype.extent=ox.prototype.extent;t("ol.interaction.Interaction",Kh);Kh.prototype.getActive=Kh.prototype.a;
Kh.prototype.getMap=Kh.prototype.T;Kh.prototype.setActive=Kh.prototype.bb;t("ol.interaction.KeyboardPan",xi);t("ol.interaction.KeyboardPan.handleEvent",Ei);t("ol.interaction.KeyboardZoom",Fi);t("ol.interaction.KeyboardZoom.handleEvent",Gi);t("ol.interaction.Modify",px);t("ol.interaction.Modify.handleEvent",sx);px.prototype.removePoint=px.prototype.Tk;xx.prototype.features=xx.prototype.features;xx.prototype.mapBrowserEvent=xx.prototype.mapBrowserEvent;t("ol.interaction.MouseWheelZoom",Hi);
t("ol.interaction.MouseWheelZoom.handleEvent",Ii);Hi.prototype.setMouseAnchor=Hi.prototype.aa;t("ol.interaction.PinchRotate",Li);t("ol.interaction.PinchZoom",Pi);t("ol.interaction.Pointer",$h);t("ol.interaction.Pointer.handleEvent",ai);t("ol.interaction.Select",Fx);Fx.prototype.getFeatures=Fx.prototype.Pb;Fx.prototype.getHitTolerance=Fx.prototype.Fp;Fx.prototype.getLayer=Fx.prototype.Gp;t("ol.interaction.Select.handleEvent",Gx);Fx.prototype.setHitTolerance=Fx.prototype.Ip;Fx.prototype.setMap=Fx.prototype.setMap;
Ix.prototype.selected=Ix.prototype.selected;Ix.prototype.deselected=Ix.prototype.deselected;Ix.prototype.mapBrowserEvent=Ix.prototype.mapBrowserEvent;t("ol.interaction.Snap",Kx);Kx.prototype.addFeature=Kx.prototype.eb;Kx.prototype.removeFeature=Kx.prototype.jb;t("ol.interaction.Translate",Px);Px.prototype.getHitTolerance=Px.prototype.L;Px.prototype.setHitTolerance=Px.prototype.R;Vx.prototype.features=Vx.prototype.features;Vx.prototype.coordinate=Vx.prototype.coordinate;
t("ol.interaction.defaults",Ti);t("ol.Kinetic",Hh);t("ol.layer.Base",eh);eh.prototype.getExtent=eh.prototype.G;eh.prototype.getMaxResolution=eh.prototype.qc;eh.prototype.getMinResolution=eh.prototype.rc;eh.prototype.getOpacity=eh.prototype.tc;eh.prototype.getVisible=eh.prototype.Qb;eh.prototype.getZIndex=eh.prototype.Ia;eh.prototype.setExtent=eh.prototype.Ac;eh.prototype.setMaxResolution=eh.prototype.Fc;eh.prototype.setMinResolution=eh.prototype.Gc;eh.prototype.setOpacity=eh.prototype.Bc;
eh.prototype.setVisible=eh.prototype.Cc;eh.prototype.setZIndex=eh.prototype.Ra;t("ol.layer.Group",gh);gh.prototype.getLayers=gh.prototype.De;gh.prototype.setLayers=gh.prototype.ek;t("ol.layer.Heatmap",Xx);Xx.prototype.getBlur=Xx.prototype.cj;Xx.prototype.getGradient=Xx.prototype.fj;Xx.prototype.getRadius=Xx.prototype.fk;Xx.prototype.setBlur=Xx.prototype.Wk;Xx.prototype.setGradient=Xx.prototype.al;Xx.prototype.setRadius=Xx.prototype.ee;t("ol.layer.Image",by);by.prototype.getSource=by.prototype.Z;
t("ol.layer.Layer",qh);qh.prototype.getSource=qh.prototype.Z;qh.prototype.setMap=qh.prototype.setMap;qh.prototype.setSource=qh.prototype.Zc;t("ol.layer.Tile",cy);cy.prototype.getPreload=cy.prototype.c;cy.prototype.getSource=cy.prototype.Z;cy.prototype.setPreload=cy.prototype.a;cy.prototype.getUseInterimTilesOnError=cy.prototype.g;cy.prototype.setUseInterimTilesOnError=cy.prototype.j;t("ol.layer.Vector",yw);yw.prototype.getSource=yw.prototype.Z;yw.prototype.getStyle=yw.prototype.Ga;
yw.prototype.getStyleFunction=yw.prototype.gb;yw.prototype.setStyle=yw.prototype.j;t("ol.layer.VectorTile",V);V.prototype.getPreload=V.prototype.c;V.prototype.getUseInterimTilesOnError=V.prototype.g;V.prototype.setPreload=V.prototype.R;V.prototype.setUseInterimTilesOnError=V.prototype.O;V.prototype.getSource=V.prototype.Z;t("ol.loadingstrategy.all",zw);t("ol.loadingstrategy.bbox",Aw);
t("ol.loadingstrategy.tile",function(a){return function(b,c){c=a.wd(c);b=Ce(a,b,c);var d=[];c=[c,0,0];for(c[1]=b.qa;c[1]<=b.za;++c[1])for(c[2]=b.pa;c[2]<=b.ya;++c[2])d.push(a.ib(c));return d}});t("ol.Map",L);Ve.prototype.originalEvent=Ve.prototype.originalEvent;Ve.prototype.pixel=Ve.prototype.pixel;Ve.prototype.coordinate=Ve.prototype.coordinate;Ve.prototype.dragging=Ve.prototype.dragging;Ue.prototype.map=Ue.prototype.map;Ue.prototype.frameState=Ue.prototype.frameState;t("ol.Object",oc);
oc.prototype.get=oc.prototype.get;oc.prototype.getKeys=oc.prototype.P;oc.prototype.getProperties=oc.prototype.K;oc.prototype.set=oc.prototype.set;oc.prototype.setProperties=oc.prototype.I;oc.prototype.unset=oc.prototype.S;sc.prototype.key=sc.prototype.key;sc.prototype.oldValue=sc.prototype.oldValue;t("ol.Observable",nc);t("ol.Observable.unByKey",function(a){if(Array.isArray(a))for(var b=0,c=a.length;b<c;++b)$b(a[b]);else $b(a)});nc.prototype.changed=nc.prototype.A;nc.prototype.dispatchEvent=nc.prototype.b;
nc.prototype.getRevision=nc.prototype.N;nc.prototype.on=nc.prototype.J;nc.prototype.once=nc.prototype.once;nc.prototype.un=nc.prototype.M;t("ol.Overlay",Kn);Kn.prototype.getElement=Kn.prototype.Qd;Kn.prototype.getId=Kn.prototype.Ta;Kn.prototype.getMap=Kn.prototype.T;Kn.prototype.getOffset=Kn.prototype.sh;Kn.prototype.getPosition=Kn.prototype.vd;Kn.prototype.getPositioning=Kn.prototype.uh;Kn.prototype.setElement=Kn.prototype.Ig;Kn.prototype.setMap=Kn.prototype.setMap;Kn.prototype.setOffset=Kn.prototype.Jg;
Kn.prototype.setPosition=Kn.prototype.Rd;Kn.prototype.setPositioning=Kn.prototype.vi;t("ol.PluggableMap",H);H.prototype.addControl=H.prototype.Ne;H.prototype.addInteraction=H.prototype.Gd;H.prototype.addLayer=H.prototype.Ob;H.prototype.addOverlay=H.prototype.ne;H.prototype.forEachFeatureAtPixel=H.prototype.Oc;H.prototype.getFeaturesAtPixel=H.prototype.ed;H.prototype.forEachLayerAtPixel=H.prototype.hg;H.prototype.hasFeatureAtPixel=H.prototype.cg;H.prototype.getEventCoordinate=H.prototype.se;
H.prototype.getEventPixel=H.prototype.Md;H.prototype.getTarget=H.prototype.xe;H.prototype.getTargetElement=H.prototype.Uc;H.prototype.getCoordinateFromPixel=H.prototype.hb;H.prototype.getControls=H.prototype.Nf;H.prototype.getOverlays=H.prototype.Uf;H.prototype.getOverlayById=H.prototype.Tf;H.prototype.getInteractions=H.prototype.Sf;H.prototype.getLayerGroup=H.prototype.Sc;H.prototype.getLayers=H.prototype.Ae;H.prototype.getPixelFromCoordinate=H.prototype.cb;H.prototype.getSize=H.prototype.La;
H.prototype.getView=H.prototype.ba;H.prototype.getViewport=H.prototype.Yf;H.prototype.renderSync=H.prototype.ef;H.prototype.render=H.prototype.render;H.prototype.removeControl=H.prototype.Eg;H.prototype.removeInteraction=H.prototype.Vc;H.prototype.removeLayer=H.prototype.be;H.prototype.removeOverlay=H.prototype.Fg;H.prototype.setLayerGroup=H.prototype.gf;H.prototype.setSize=H.prototype.Be;H.prototype.setTarget=H.prototype.Sd;H.prototype.setView=H.prototype.Lg;H.prototype.updateSize=H.prototype.kd;
t("ol.proj.common.add",Yb);t("ol.proj.Projection",kb);kb.prototype.getCode=kb.prototype.Cm;kb.prototype.getExtent=kb.prototype.G;kb.prototype.getUnits=kb.prototype.Sp;kb.prototype.getMetersPerUnit=kb.prototype.fd;kb.prototype.getWorldExtent=kb.prototype.vn;kb.prototype.getAxisOrientation=kb.prototype.xm;kb.prototype.isGlobal=kb.prototype.ko;kb.prototype.setGlobal=kb.prototype.js;kb.prototype.setExtent=kb.prototype.gk;kb.prototype.setWorldExtent=kb.prototype.hl;kb.prototype.setGetPointResolution=kb.prototype.hs;
t("ol.proj.Units.METERS_PER_UNIT",ib);t("ol.proj.METERS_PER_UNIT",ib);t("ol.proj.setProj4",function(a){jb=a});t("ol.proj.getPointResolution",Hb);t("ol.proj.addEquivalentProjections",Kb);t("ol.proj.addProjection",Lb);t("ol.proj.addCoordinateTransforms",Pb);t("ol.proj.fromLonLat",Rb);t("ol.proj.toLonLat",Tb);t("ol.proj.get",Ib);t("ol.proj.equivalent",Ub);t("ol.proj.getTransform",Vb);t("ol.proj.transform",Sb);t("ol.proj.transformExtent",Xb);Yi.prototype.drawCircle=Yi.prototype.cd;
Yi.prototype.setStyle=Yi.prototype.Ee;Yi.prototype.drawGeometry=Yi.prototype.oc;Yi.prototype.drawFeature=Yi.prototype.If;Wi.prototype.vectorContext=Wi.prototype.vectorContext;Wi.prototype.frameState=Wi.prototype.frameState;Wi.prototype.context=Wi.prototype.context;Wi.prototype.glContext=Wi.prototype.glContext;nt.prototype.get=nt.prototype.get;nt.prototype.getExtent=nt.prototype.G;nt.prototype.getId=nt.prototype.Ta;nt.prototype.getGeometry=nt.prototype.W;nt.prototype.getProperties=nt.prototype.K;
nt.prototype.getType=nt.prototype.U;t("ol.render.VectorContext",Xi);qn.prototype.setStyle=qn.prototype.Ee;qn.prototype.drawGeometry=qn.prototype.oc;qn.prototype.drawFeature=qn.prototype.If;t("ol.render.toContext",function(a,b){var c=a.canvas,d=b?b:{};b=d.pixelRatio||cd;if(d=d.size)c.width=d[0]*b,c.height=d[1]*b,c.style.width=d[0]+"px",c.style.height=d[1]+"px";c=[0,0,c.width,c.height];d=Fc(yc(),b,b);return new Yi(a,b,c,d,0)});t("ol.renderer.canvas.ImageLayer",tj);t("ol.renderer.canvas.Map",Hj);
t("ol.renderer.canvas.TileLayer",Jj);t("ol.renderer.canvas.VectorLayer",Ek);t("ol.renderer.canvas.VectorTileLayer",Gk);t("ol.renderer.webgl.ImageLayer",yn);t("ol.renderer.webgl.Map",Bn);t("ol.renderer.webgl.TileLayer",In);t("ol.renderer.webgl.VectorLayer",Jn);t("ol.size.toSize",le);t("ol.source.BingMaps",By);t("ol.source.BingMaps.TOS_ATTRIBUTION",'<a class="ol-attribution-bing-tos" href="https://www.microsoft.com/maps/product/terms.html">Terms of Use</a>');By.prototype.getApiKey=By.prototype.ma;
By.prototype.getImagerySet=By.prototype.Ha;t("ol.source.CartoDB",Dy);Dy.prototype.getConfig=Dy.prototype.Dm;Dy.prototype.updateConfig=Dy.prototype.Es;Dy.prototype.setConfig=Dy.prototype.es;t("ol.source.Cluster",W);W.prototype.getDistance=W.prototype.qk;W.prototype.getSource=W.prototype.Z;W.prototype.setDistance=W.prototype.Yk;t("ol.source.Image",Iy);Ky.prototype.image=Ky.prototype.image;t("ol.source.ImageArcGISRest",Qy);Qy.prototype.getParams=Qy.prototype.Wp;Qy.prototype.getImageLoadFunction=Qy.prototype.Vp;
Qy.prototype.getUrl=Qy.prototype.Xp;Qy.prototype.setImageLoadFunction=Qy.prototype.Yp;Qy.prototype.setUrl=Qy.prototype.Zp;Qy.prototype.updateParams=Qy.prototype.$p;t("ol.source.ImageCanvas",Ry);t("ol.source.ImageMapGuide",Sy);Sy.prototype.getParams=Sy.prototype.bq;Sy.prototype.getImageLoadFunction=Sy.prototype.aq;Sy.prototype.updateParams=Sy.prototype.eq;Sy.prototype.setImageLoadFunction=Sy.prototype.cq;t("ol.source.ImageStatic",Ty);t("ol.source.ImageVector",Uy);Uy.prototype.getSource=Uy.prototype.Z;
Uy.prototype.getStyle=Uy.prototype.Ga;Uy.prototype.getStyleFunction=Uy.prototype.gb;Uy.prototype.setStyle=Uy.prototype.rk;t("ol.source.ImageWMS",Wy);Wy.prototype.getGetFeatureInfoUrl=Wy.prototype.hq;Wy.prototype.getParams=Wy.prototype.jq;Wy.prototype.getImageLoadFunction=Wy.prototype.iq;Wy.prototype.getUrl=Wy.prototype.kq;Wy.prototype.setImageLoadFunction=Wy.prototype.lq;Wy.prototype.setUrl=Wy.prototype.mq;Wy.prototype.updateParams=Wy.prototype.nq;t("ol.source.OSM",$y);
t("ol.source.OSM.ATTRIBUTION",'&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors.');t("ol.source.Raster",az);az.prototype.setOperation=az.prototype.u;ez.prototype.extent=ez.prototype.extent;ez.prototype.resolution=ez.prototype.resolution;ez.prototype.data=ez.prototype.data;t("ol.source.Source",Bw);Bw.prototype.getAttributions=Bw.prototype.Sa;Bw.prototype.getLogo=Bw.prototype.Ua;Bw.prototype.getProjection=Bw.prototype.Va;Bw.prototype.getState=Bw.prototype.getState;
Bw.prototype.refresh=Bw.prototype.Fa;Bw.prototype.setAttributions=Bw.prototype.Ja;t("ol.source.Stamen",hz);t("ol.source.Tile",sy);sy.prototype.getTileGrid=sy.prototype.Kb;vy.prototype.tile=vy.prototype.tile;t("ol.source.TileArcGISRest",lz);lz.prototype.getParams=lz.prototype.B;lz.prototype.updateParams=lz.prototype.O;t("ol.source.TileDebug",nz);t("ol.source.TileImage",xy);xy.prototype.setRenderReprojectionEdges=xy.prototype.Hc;xy.prototype.setTileGridForProjection=xy.prototype.Ic;
t("ol.source.TileJSON",pz);pz.prototype.getTileJSON=pz.prototype.rn;t("ol.source.TileUTFGrid",qz);qz.prototype.getTemplate=qz.prototype.nn;qz.prototype.forDataAtCoordinateAndResolution=qz.prototype.qm;t("ol.source.TileWMS",uz);uz.prototype.getGetFeatureInfoUrl=uz.prototype.uq;uz.prototype.getParams=uz.prototype.vq;uz.prototype.updateParams=uz.prototype.wq;wy.prototype.getTileLoadFunction=wy.prototype.gc;wy.prototype.getTileUrlFunction=wy.prototype.hc;wy.prototype.getUrls=wy.prototype.ic;
wy.prototype.setTileLoadFunction=wy.prototype.mc;wy.prototype.setTileUrlFunction=wy.prototype.Ib;wy.prototype.setUrl=wy.prototype.Sb;wy.prototype.setUrls=wy.prototype.Wb;t("ol.source.Vector",U);U.prototype.addFeature=U.prototype.eb;U.prototype.addFeatures=U.prototype.Lc;U.prototype.clear=U.prototype.clear;U.prototype.forEachFeature=U.prototype.eh;U.prototype.forEachFeatureInExtent=U.prototype.Pc;U.prototype.forEachFeatureIntersectingExtent=U.prototype.fh;U.prototype.getFeaturesCollection=U.prototype.lh;
U.prototype.getFeatures=U.prototype.Pb;U.prototype.getFeaturesAtCoordinate=U.prototype.kh;U.prototype.getFeaturesInExtent=U.prototype.Of;U.prototype.getClosestFeatureToCoordinate=U.prototype.ih;U.prototype.getExtent=U.prototype.G;U.prototype.getFeatureById=U.prototype.jh;U.prototype.getFormat=U.prototype.Ph;U.prototype.getUrl=U.prototype.Qh;U.prototype.removeLoadedExtent=U.prototype.ni;U.prototype.removeFeature=U.prototype.jb;U.prototype.setLoader=U.prototype.Rh;Iw.prototype.feature=Iw.prototype.feature;
t("ol.source.VectorTile",Az);Az.prototype.clear=Az.prototype.clear;t("ol.source.WMTS",Dz);Dz.prototype.getDimensions=Dz.prototype.Gm;Dz.prototype.getFormat=Dz.prototype.xq;Dz.prototype.getLayer=Dz.prototype.yq;Dz.prototype.getMatrixSet=Dz.prototype.Wm;Dz.prototype.getRequestEncoding=Dz.prototype.ln;Dz.prototype.getStyle=Dz.prototype.Ga;Dz.prototype.getVersion=Dz.prototype.tn;Dz.prototype.updateDimensions=Dz.prototype.Fs;
t("ol.source.WMTS.optionsFromCapabilities",function(a,b){var c=re(a.Contents.Layer,function(a){return a.Identifier==b.layer});if(null===c)return null;var d=a.Contents.TileMatrixSet;var e=1<c.TileMatrixSetLink.length?"projection"in b?ve(c.TileMatrixSetLink,function(a){var c=re(d,function(b){return b.Identifier==a.TileMatrixSet}).SupportedCRS,e=Ib(c.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3"))||Ib(c),f=Ib(b.projection);return e&&f?Ub(e,f):c==b.projection}):ve(c.TileMatrixSetLink,function(a){return a.TileMatrixSet==
b.matrixSet}):0;0>e&&(e=0);var f=c.TileMatrixSetLink[e].TileMatrixSet;var g=c.TileMatrixSetLink[e].TileMatrixSetLimits;var h=c.Format[0];"format"in b&&(h=b.format);e=ve(c.Style,function(a){return"style"in b?a.Title==b.style:a.isDefault});0>e&&(e=0);e=c.Style[e].Identifier;var l={};"Dimension"in c&&c.Dimension.forEach(function(a){var b=a.Identifier,c=a.Default;void 0===c&&(c=a.Value[0]);l[b]=c});var m=re(a.Contents.TileMatrixSet,function(a){return a.Identifier==f}),n,p=m.SupportedCRS;p&&(n=Ib(p.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,
"$1:$3"))||Ib(p));"projection"in b&&(p=Ib(b.projection),!p||n&&!Ub(p,n)||(n=p));p=c.WGS84BoundingBox;if(void 0!==p){var q=Ib("EPSG:4326").G();q=p[0]==q[0]&&p[2]==q[2];var r=Xb(p,"EPSG:4326",n);(p=n.G())&&(Ka(p,r)||(r=void 0))}g=Cz(m,r,g);var u=[];m=b.requestEncoding;m=void 0!==m?m:"";if("OperationsMetadata"in a&&"GetTile"in a.OperationsMetadata)for(a=a.OperationsMetadata.GetTile.DCP.HTTP.Get,r=0,p=a.length;r<p;++r)if(a[r].Constraint){var v=re(a[r].Constraint,function(a){return"GetEncoding"==a.name}).AllowedValues.Value;
""===m&&(m=v[0]);if("KVP"===m)ne(v,"KVP")&&u.push(a[r].href);else break}else a[r].href&&(m="KVP",u.push(a[r].href));0===u.length&&(m="REST",c.ResourceURL.forEach(function(a){"tile"===a.resourceType&&(h=a.format,u.push(a.template))}));return{urls:u,layer:b.layer,matrixSet:f,format:h,projection:n,requestEncoding:m,tileGrid:g,style:e,dimensions:l,wrapX:q,crossOrigin:b.crossOrigin}});t("ol.source.XYZ",Cy);t("ol.source.Zoomify",Fz);t("ol.Sphere",ua);ua.prototype.geodesicArea=ua.prototype.a;
ua.prototype.haversineDistance=ua.prototype.b;t("ol.Sphere.getLength",ya);t("ol.Sphere.getArea",Ba);t("ol.style.AtlasManager",bn);t("ol.style.Circle",Jd);Jd.prototype.setRadius=Jd.prototype.ee;t("ol.style.Fill",Kd);Kd.prototype.clone=Kd.prototype.clone;Kd.prototype.getColor=Kd.prototype.l;Kd.prototype.setColor=Kd.prototype.c;t("ol.style.Icon",ir);ir.prototype.clone=ir.prototype.clone;ir.prototype.getAnchor=ir.prototype.Ld;ir.prototype.getColor=ir.prototype.Aq;ir.prototype.getImage=ir.prototype.fa;
ir.prototype.getOrigin=ir.prototype.Xd;ir.prototype.getSrc=ir.prototype.Bq;ir.prototype.getSize=ir.prototype.La;ir.prototype.load=ir.prototype.load;uj.prototype.setSize=uj.prototype.c;t("ol.style.Image",Gd);Gd.prototype.getOpacity=Gd.prototype.sg;Gd.prototype.getRotateWithView=Gd.prototype.tg;Gd.prototype.getRotation=Gd.prototype.ug;Gd.prototype.getScale=Gd.prototype.vg;Gd.prototype.getSnapToPixel=Gd.prototype.Wf;Gd.prototype.setOpacity=Gd.prototype.Yd;Gd.prototype.setRotation=Gd.prototype.Zd;
Gd.prototype.setScale=Gd.prototype.Fe;t("ol.style.RegularShape",Hd);Hd.prototype.clone=Hd.prototype.clone;Hd.prototype.getAnchor=Hd.prototype.Ld;Hd.prototype.getAngle=Hd.prototype.xk;Hd.prototype.getFill=Hd.prototype.Ya;Hd.prototype.getImage=Hd.prototype.fa;Hd.prototype.getOrigin=Hd.prototype.Xd;Hd.prototype.getPoints=Hd.prototype.yk;Hd.prototype.getRadius=Hd.prototype.zk;Hd.prototype.getRadius2=Hd.prototype.kj;Hd.prototype.getSize=Hd.prototype.La;Hd.prototype.getStroke=Hd.prototype.ab;
t("ol.style.Stroke",Ld);Ld.prototype.clone=Ld.prototype.clone;Ld.prototype.getColor=Ld.prototype.Cq;Ld.prototype.getLineCap=Ld.prototype.Pm;Ld.prototype.getLineDash=Ld.prototype.Dq;Ld.prototype.getLineDashOffset=Ld.prototype.Qm;Ld.prototype.getLineJoin=Ld.prototype.Rm;Ld.prototype.getMiterLimit=Ld.prototype.Zm;Ld.prototype.getWidth=Ld.prototype.Eq;Ld.prototype.setColor=Ld.prototype.Th;Ld.prototype.setLineCap=Ld.prototype.de;Ld.prototype.setLineDash=Ld.prototype.setLineDash;
Ld.prototype.setLineDashOffset=Ld.prototype.os;Ld.prototype.setLineJoin=Ld.prototype.ps;Ld.prototype.setMiterLimit=Ld.prototype.ts;Ld.prototype.setWidth=Ld.prototype.wi;t("ol.style.Style",B);B.prototype.clone=B.prototype.clone;B.prototype.getRenderer=B.prototype.Vf;B.prototype.setRenderer=B.prototype.vs;B.prototype.getGeometry=B.prototype.W;B.prototype.getGeometryFunction=B.prototype.Lm;B.prototype.getFill=B.prototype.Ya;B.prototype.setFill=B.prototype.lc;B.prototype.getImage=B.prototype.fa;
B.prototype.setImage=B.prototype.ce;B.prototype.getStroke=B.prototype.ab;B.prototype.setStroke=B.prototype.cc;B.prototype.getText=B.prototype.Pa;B.prototype.setText=B.prototype.Hb;B.prototype.getZIndex=B.prototype.Ia;B.prototype.setGeometry=B.prototype.Qa;B.prototype.setZIndex=B.prototype.Ra;t("ol.style.Text",K);K.prototype.clone=K.prototype.clone;K.prototype.getOverflow=K.prototype.bn;K.prototype.getFont=K.prototype.Jm;K.prototype.getMaxAngle=K.prototype.Xm;K.prototype.getPlacement=K.prototype.hn;
K.prototype.getOffsetX=K.prototype.$m;K.prototype.getOffsetY=K.prototype.an;K.prototype.getFill=K.prototype.Ya;K.prototype.getRotateWithView=K.prototype.Fq;K.prototype.getRotation=K.prototype.Gq;K.prototype.getScale=K.prototype.Hq;K.prototype.getStroke=K.prototype.ab;K.prototype.getText=K.prototype.Pa;K.prototype.getTextAlign=K.prototype.pn;K.prototype.getTextBaseline=K.prototype.qn;K.prototype.getBackgroundFill=K.prototype.ym;K.prototype.getBackgroundStroke=K.prototype.zm;
K.prototype.getPadding=K.prototype.dn;K.prototype.setOverflow=K.prototype.jf;K.prototype.setFont=K.prototype.Ed;K.prototype.setMaxAngle=K.prototype.qs;K.prototype.setOffsetX=K.prototype.cl;K.prototype.setOffsetY=K.prototype.He;K.prototype.setPlacement=K.prototype.Ie;K.prototype.setFill=K.prototype.lc;K.prototype.setRotation=K.prototype.Iq;K.prototype.setScale=K.prototype.Ak;K.prototype.setStroke=K.prototype.cc;K.prototype.setText=K.prototype.Hb;K.prototype.setTextAlign=K.prototype.fl;
K.prototype.setTextBaseline=K.prototype.kf;K.prototype.setBackgroundFill=K.prototype.bs;K.prototype.setBackgroundStroke=K.prototype.cs;K.prototype.setPadding=K.prototype.us;t("ol.style.iconImageCache",wj);el.prototype.getTileCoord=el.prototype.g;el.prototype.load=el.prototype.load;t("ol.tilegrid.TileGrid",ze);ze.prototype.forEachTileCoord=ze.prototype.gh;ze.prototype.getMaxZoom=ze.prototype.Bk;ze.prototype.getMinZoom=ze.prototype.Ck;ze.prototype.getOrigin=ze.prototype.Bd;
ze.prototype.getResolution=ze.prototype.la;ze.prototype.getResolutions=ze.prototype.Dk;ze.prototype.getTileCoordExtent=ze.prototype.ib;ze.prototype.getTileCoordForCoordAndResolution=ze.prototype.Xf;ze.prototype.getTileCoordForCoordAndZ=ze.prototype.xh;ze.prototype.getTileSize=ze.prototype.wb;ze.prototype.getZForResolution=ze.prototype.wd;t("ol.tilegrid.WMTS",Bz);Bz.prototype.getMatrixIds=Bz.prototype.H;t("ol.tilegrid.WMTS.createFromCapabilitiesMatrixSet",Cz);t("ol.tilegrid.createXYZ",Ke);
Tn.prototype.getExtent=Tn.prototype.G;Tn.prototype.getFormat=Tn.prototype.So;Tn.prototype.getFeatures=Tn.prototype.Pb;Tn.prototype.getProjection=Tn.prototype.To;Tn.prototype.setExtent=Tn.prototype.Bj;Tn.prototype.setFeatures=Tn.prototype.Zk;Tn.prototype.setProjection=Tn.prototype.Gh;Tn.prototype.setLoader=Tn.prototype.Fh;t("ol.View",G);G.prototype.animate=G.prototype.animate;G.prototype.getAnimating=G.prototype.td;G.prototype.getInteracting=G.prototype.gj;G.prototype.cancelAnimations=G.prototype.pe;
G.prototype.constrainCenter=G.prototype.Jd;G.prototype.constrainResolution=G.prototype.constrainResolution;G.prototype.constrainRotation=G.prototype.constrainRotation;G.prototype.getCenter=G.prototype.Da;G.prototype.calculateExtent=G.prototype.Id;G.prototype.getMaxResolution=G.prototype.Uo;G.prototype.getMinResolution=G.prototype.Wo;G.prototype.getMaxZoom=G.prototype.Vo;G.prototype.setMaxZoom=G.prototype.rs;G.prototype.getMinZoom=G.prototype.Xo;G.prototype.setMinZoom=G.prototype.ss;
G.prototype.getProjection=G.prototype.Yo;G.prototype.getResolution=G.prototype.la;G.prototype.getResolutions=G.prototype.Zo;G.prototype.getResolutionForExtent=G.prototype.Te;G.prototype.getRotation=G.prototype.ob;G.prototype.getZoom=G.prototype.zc;G.prototype.getZoomForResolution=G.prototype.Xe;G.prototype.getResolutionForZoom=G.prototype.lj;G.prototype.fit=G.prototype.dh;G.prototype.centerOn=G.prototype.$l;G.prototype.rotate=G.prototype.rotate;G.prototype.setCenter=G.prototype.ub;
G.prototype.setResolution=G.prototype.fe;G.prototype.setRotation=G.prototype.af;G.prototype.setZoom=G.prototype.ge;Ql.prototype.getGL=Ql.prototype.Kq;Ql.prototype.useProgram=Ql.prototype.$d;t("ol.xml.getAllTextContent",xo);t("ol.xml.parse",Bo);t("routo.maps.AttributionControl.render",Lz);Kz.prototype.getElement=Kz.prototype.$;t("routo.maps.Circle",Qz);Qz.prototype.getMap=Qz.prototype.T;Qz.prototype.setMap=Qz.prototype.setMap;Qz.prototype.getCenter=Qz.prototype.Da;Qz.prototype.addListener=Qz.prototype.c;
t("routo.maps.DrawControl",Sz);Sz.prototype.getLayer=Sz.prototype.c;t("routo.maps.DrawControl.options",Wz);Sz.prototype.drawPoint=Sz.prototype.Hr;Sz.prototype.drawLineString=Sz.prototype.Gr;Sz.prototype.drawPolygon=Sz.prototype.Ir;Sz.prototype.drawImage=Sz.prototype.drawImage;Sz.prototype.drawLabel=Sz.prototype.lm;Sz.prototype.deactivate=Sz.prototype.Fr;Sz.prototype.redo=Sz.prototype.yr;Sz.prototype.clear=Sz.prototype.clear;Sz.prototype.removeFeature=Sz.prototype.jb;Sz.prototype.exportGeoJSON=Sz.prototype.nm;
Sz.prototype.importGeoJSON=Sz.prototype.eo;t("routo.maps.drawing.DrawingManager",SA);SA.prototype.getDrawingMode=SA.prototype.Im;SA.prototype.getMap=SA.prototype.T;SA.prototype.setDrawingMode=SA.prototype.ui;SA.prototype.setMap=SA.prototype.setMap;SA.prototype.setOptions=SA.prototype.Xr;SA.prototype.addListener=SA.prototype.Wr;t("routo.maps.drawing.DrawingManagerOptions",RA);RA.prototype.circleOptions=RA.prototype.b;RA.prototype.drawingMode=RA.prototype.pc;RA.prototype.map=RA.prototype.map;
RA.prototype.markerOptions=RA.prototype.a;RA.prototype.polygonOptions=RA.prototype.l;RA.prototype.polylineOptions=RA.prototype.c;t("routo.maps.EventResponse",cA);t("routo.maps.Feature",Rz);t("hmns.maps.format.CSV",ce);t("hmns.maps.format.Shape",de);t("hmns.maps.format.ZipShape",ee);t("routo.maps.geom.Geometry",UA);t("routo.maps.geom.Polygon",VA);t("routo.maps.InfoWindow",eA);eA.prototype.open=eA.prototype.Jr;eA.prototype.close=eA.prototype.close;eA.prototype.getContent=eA.prototype.Em;
eA.prototype.setContent=eA.prototype.fs;t("routo.maps.InfoWindowOptions",dA);dA.prototype.content=dA.prototype.a;dA.prototype.position=dA.prototype.position;dA.prototype.zIndex=dA.prototype.zIndex;dA.prototype.disableAutoPan=dA.prototype.b;t("routo.maps.interaction.Drag",mA);t("routo.maps.JugiPickingControl",fA);fA.prototype.activate=fA.prototype.s;fA.prototype.deactivate=fA.prototype.o;fA.prototype.getElement=fA.prototype.u;t("routo.maps.JugiVectorTile",kA);kA.prototype.setTheme=kA.prototype.Ma;
t("routo.maps.LatLng",$z);$z.prototype.equals=$z.prototype.b;$z.prototype.toJSON=$z.prototype.toJSON;$z.prototype.toString=$z.prototype.toString;$z.prototype.toUrlValue=$z.prototype.a;t("routo.maps.layer.CustomLayer",WA);t("routo.maps.layer.Traffic",XA);t("routo.maps.LayerControl",lA);t("routo.maps.Map",X);X.prototype.setMapTypeId=X.prototype.hf;X.prototype.getMapTypeId=X.prototype.jj;X.prototype.addCustomLayer=X.prototype.Oi;X.prototype.setLogoPosition=X.prototype.bl;X.prototype.setCenter=X.prototype.ub;
X.prototype.getCenter=X.prototype.Da;X.prototype.getExtent=X.prototype.G;X.prototype.getScale=X.prototype.Lr;X.prototype.setZoom=X.prototype.ge;X.prototype.getZoom=X.prototype.Mr;X.prototype.mapCapture=X.prototype.oo;X.prototype.clearMarker=X.prototype.am;X.prototype.getMarkerExtent=X.prototype.Tm;X.prototype.getMarkerFeatures=X.prototype.Um;X.prototype.getMarkerLayer=X.prototype.Vm;X.prototype.getDrawLayer=X.prototype.Hm;X.prototype.setJugiVectorInternal=X.prototype.ms;
X.prototype.setJugiVectorExcludes=X.prototype.ls;X.prototype.addListener=X.prototype.Kr;t("routo.maps.MapOptions",oA);oA.prototype.mapTypeId=oA.prototype.mapTypeId;oA.prototype.allowKinetic=oA.prototype.allowKinetic;oA.prototype.constrainResolution=oA.prototype.constrainResolution;oA.prototype.blockRotation=oA.prototype.blockRotation;oA.prototype.center=oA.prototype.center;oA.prototype.zoom=oA.prototype.zoom;oA.prototype.maxZoom=oA.prototype.maxZoom;oA.prototype.minZoom=oA.prototype.minZoom;
oA.prototype.restriction=oA.prototype.Er;oA.prototype.markerZIndex=oA.prototype.markerZIndex;oA.prototype.onSelectMarker=oA.prototype.onSelectMarker;oA.prototype.logoPosition=oA.prototype.logoPosition;oA.prototype.logoPositionMargin=oA.prototype.logoPositionMargin;t("routo.maps.MapTypeId.ROADMAP_IMAGE_BASIC","roadmap_image_basic");t("routo.maps.MapTypeId.ROADMAP_HALF_BASIC","roadmap_half_basic");t("routo.maps.MapTypeId.ROADMAP_HALF_BLACK","roadmap_half_black");
t("routo.maps.MapTypeId.ROADMAP_VECTOR_BASIC","roadmap_vector_basic");t("routo.maps.MapTypeId.ROADMAP_VECTOR_BLACK","roadmap_vector_black");t("routo.maps.MapTypeId.SATELLITE","satellite");t("routo.maps.MapTypeId.HYBRID","hybrid");t("routo.maps.Marker",Y);Y.prototype.getMap=Y.prototype.T;Y.prototype.setMap=Y.prototype.setMap;Y.prototype.getPosition=Y.prototype.vd;Y.prototype.setPosition=Y.prototype.Rr;Y.prototype.getLabel=Y.prototype.Om;Y.prototype.setLabel=Y.prototype.ns;Y.prototype.getOpacity=Y.prototype.Vk;
Y.prototype.setOpacity=Y.prototype.Qr;Y.prototype.getZIndex=Y.prototype.Ia;Y.prototype.setZIndex=Y.prototype.Ra;Y.prototype.getIcon=Y.prototype.Mm;Y.prototype.setIcon=Y.prototype.ks;Y.prototype.setClickable=Y.prototype.ds;Y.prototype.getClickable=Y.prototype.Bm;Y.prototype.setCursor=Y.prototype.gs;Y.prototype.getCursor=Y.prototype.Fm;Y.prototype.addListener=Y.prototype.Pr;t("routo.maps.MarkerClusterer",DA);DA.prototype.createStyle=DA.prototype.Wi;DA.prototype.addMarker=DA.prototype.Sl;
DA.prototype.addMarkers=DA.prototype.Tl;DA.prototype.removeMarker=DA.prototype.Sk;DA.prototype.removeMarkers=DA.prototype.Br;DA.prototype.clearMarkers=DA.prototype.bm;DA.prototype.render=DA.prototype.render;DA.prototype.addListener=DA.prototype.Nr;t("routo.maps.MarkerClustererOptions",CA);CA.prototype.markers=CA.prototype.a;CA.prototype.gridSize=CA.prototype.b;CA.prototype.map=CA.prototype.map;CA.prototype.onClusterClick=CA.prototype.l;t("routo.maps.MarkerOptions",EA);EA.prototype.position=EA.prototype.position;
EA.prototype.map=EA.prototype.map;EA.prototype.num=EA.prototype.l;EA.prototype.icon=EA.prototype.b;EA.prototype.anchorPoint=EA.prototype.a;EA.prototype.opacity=EA.prototype.opacity;EA.prototype.scale=EA.prototype.scale;EA.prototype.rotation=EA.prototype.rotation;EA.prototype.crossOrigin=EA.prototype.crossOrigin;EA.prototype.label=EA.prototype.label;EA.prototype.zIndex=EA.prototype.zIndex;t("routo.maps.meta.version",Yz.version);t("routo.maps.meta.serverUrl",Yz.Zr);t("routo.maps.meta.tileUrl",Yz.ys);
t("routo.maps.meta.notSupportedTileUrl",Yz.$e);t("routo.maps.meta.preImageUrl",Yz.Hk);t("routo.maps.meta.staticResourceUrl",Yz.je);t("routo.maps.meta.customUrl",Yz.Mc);t("routo.maps.meta.theme",Yz.Xb);t("routo.maps.meta.load",Yz.load);t("routo.maps.Pixel",Zz);t("routo.maps.Polygon",GA);GA.prototype.getMap=GA.prototype.T;GA.prototype.setMap=GA.prototype.setMap;GA.prototype.getPaths=GA.prototype.gn;GA.prototype.setPaths=GA.prototype.el;GA.prototype.setOptions=GA.prototype.Tr;
GA.prototype.addListener=GA.prototype.Sr;FA.prototype.paths=FA.prototype.b;FA.prototype.map=FA.prototype.map;FA.prototype.strokeColor=FA.prototype.strokeColor;FA.prototype.strokeOpacity=FA.prototype.xi;FA.prototype.strokeWeight=FA.prototype.a;t("routo.maps.Polyline",IA);IA.prototype.getMap=IA.prototype.T;IA.prototype.setMap=IA.prototype.setMap;IA.prototype.getPath=IA.prototype.fn;IA.prototype.setPath=IA.prototype.dl;IA.prototype.setOptions=IA.prototype.Vr;IA.prototype.addListener=IA.prototype.Ur;
t("routo.maps.PolylineOptions",HA);HA.prototype.path=HA.prototype.b;HA.prototype.map=HA.prototype.map;HA.prototype.arrow=HA.prototype.arrow;HA.prototype.strokeColor=HA.prototype.strokeColor;HA.prototype.strokeOpacity=HA.prototype.xi;HA.prototype.strokeWeight=HA.prototype.a;HA.prototype.lineDash=HA.prototype.lineDash;HA.prototype.lineDashOffset=HA.prototype.lineDashOffset;t("routo.maps.Rectangle",KA);KA.prototype.getBounds=KA.prototype.u;KA.prototype.getMap=KA.prototype.T;KA.prototype.setMap=KA.prototype.setMap;
KA.prototype.addListener=KA.prototype.C;t("routo.maps.RectangleOptions",JA);JA.prototype.bounds=JA.prototype.b;FA.prototype.fillColor=FA.prototype.fillColor;FA.prototype.fillOpacity=FA.prototype.pm;JA.prototype.map=JA.prototype.map;JA.prototype.strokeColor=JA.prototype.strokeColor;JA.prototype.strokeOpacity=JA.prototype.xi;JA.prototype.strokeWeight=JA.prototype.a;JA.prototype.visible=JA.prototype.visible;JA.prototype.zIndex=JA.prototype.zIndex;t("routo.maps.rest.meta",iA);
t("routo.maps.rest.locationName",function(a,b,c){if(Nz(a)&&Nz(b)&&Ja([124.605370881196,33.10469566414,131.878323292564,38.6012627342581],a,b)){var d=new XMLHttpRequest;d.addEventListener("load",function(a){a=a.target;if(!a.status||200<=a.status&&300>a.status)try{c(a.responseText)}catch(f){c("")}else c("")});d.open("GET","https://tile.routo.com/api/locationNameFindByLonLat?lon="+a.toFixed(6)+"&lat="+b.toFixed(6));d.send()}});
t("routo.maps.rest.sdMap",function(a,b,c,d){var e=b||[];if(a){a=Rb(a);var f=new XMLHttpRequest;f.open("GET","https://tile.routo.com/api/sdMap?coordX="+a[0]+"&coordY="+a[1]);f.onload=function(){if(!f.status||200<=f.status&&300>f.status)if(f.response){for(var a=(new Vq).$a(f.responseText),b=0,l=a.length;b<l;b++){for(var m=a[b],n=!1,p=0,q=e.length;p<q;p++)if(m.Ta()==e[p].Ta()){n=!0;break}n||e.push(m)}console.log("merge features : "+e.length);c(e)}else d();else d()};f.onerror=function(){d()};f.send()}else alert("\uc88c\ud45c \ud30c\ub77c\ubbf8\ud130\ub97c \uc785\ub825\ud574\uc57c \ud569\ub2c8\ub2e4.")});
t("routo.maps.ScaleLineControl",LA);LA.prototype.getElement=LA.prototype.$;LA.prototype.getUnits=LA.prototype.R;t("routo.maps.ScaleLineControl.render",MA);LA.prototype.setUnits=LA.prototype.aa;t("routo.maps.source.Cluster",Z);t("routo.maps.tileExtent",nA);
t("routo.maps.tileNorthExtent",[{level:7,ua:105,va:49,ta:115,wa:46},{level:8,ua:208,va:98,ta:231,wa:92},{level:9,ua:420,va:197,ta:463,wa:184},{level:10,ua:840,va:395,ta:927,wa:368},{level:11,ua:1680,va:791,ta:1859,wa:736},{level:12,ua:3360,va:1583,ta:3715,wa:1472},{level:13,ua:3167,va:3991,ta:7427,wa:2944},{level:14,ua:13440,va:6334,ta:14851,wa:5888},{level:15,ua:27648,va:12669,ta:28415,wa:12024},{level:16,ua:55296,va:25339,ta:56831,wa:24048},{level:17,ua:110592,va:50677,ta:113552,wa:48096},{level:18,
ua:221441,va:101354,ta:226418,wa:96200},{level:19,ua:442892,va:202709,ta:452837,wa:192408}]);
t("routo.maps.traffic.trafficRead",function(a){var b=a[0];a=b.TraInfo;b=b.PosList;for(var c=[],d=0;d<a.length;d++){var e=a[d].EndIndex;var f=void 0;var g=a[d].Speed;switch(a[d].RoadType){case 1:f=1;break;case 2:f=2;break;case 3:case 4:case 5:f=3;break;case 6:case 7:case 8:case 9:case 10:case 11:f=4}f=1===f?YA(70,30,g):2===f?YA(60,30,g):3===f?YA(40,20,g):4===f?YA(20,10,g):0;for(g=a[d].StartIndex;g<e;g++)c.push({lng:b[g].X,lat:b[g].Y,trafficType:f});d===a.length-1&&c.push({lng:b[e].X,lat:b[e].Y,trafficType:f})}return c});
t("routo.maps.traffic.drawRouteLineByTraffic",function(a,b,c){jA("https://tile.routo.com/webgis_tile01/Static/realLinkStyle/reallink_style.json?nocache="+Math.random(),function(d){var e=JSON.parse(d),f="roadmap_half_black"===a.jj()?"black":"milk";d=Pz("rgba(147,147,147,1.0)");var g=Pz(e[f+"_green"].color),h=Pz(e[f+"_yellow"].color);e=Pz(e[f+"_red"].color);c&&(d=c.trafficDefaultColor||d,g=c.trafficType1Color||g,h=c.trafficType2Color||h,e=c.trafficType3Color||e);d=[d,g,h,e];g=0;h=[];e=new HA;e.map=
a;e.strokeWeight=5;for(f=0;f<b.length;f++){var l=b[f].trafficType;h.push({lng:b[f].lng,lat:b[f].lat});0<f&&g!==l&&(e.path=h,e.strokeColor=d[g],new IA(e),h=[{lng:b[f].lng,lat:b[f].lat}]);g=l}e.path=h;e.strokeColor=d[g];new IA(e)},function(){alert("\uc0c9\uc0c1 \ud638\ucd9c\uc5d0 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4.")})});t("routo.maps.utils.getDistance",function(a,b){return xa(a,b,6371008.8)});t("routo.maps.utils.lonlatInPolygon",function(a,b){a=Rb(a);return b.Eb(a)});t("routo.maps.ZoomControl",QA);
t("routo.proj.transform",function(a,b,c){return Sb(a,b,c)});t("routo.proj.transformExtent",function(a,b,c){return Xb(a,b,c)});t("routo.proj.toLonLat",function(a,b){return Tb(a,b)});t("routo.proj.fromLonLat",function(a,b){return Rb(a,b)});oc.prototype.changed=oc.prototype.A;oc.prototype.dispatchEvent=oc.prototype.b;oc.prototype.getRevision=oc.prototype.N;oc.prototype.on=oc.prototype.J;oc.prototype.once=oc.prototype.once;oc.prototype.un=oc.prototype.M;H.prototype.get=H.prototype.get;
H.prototype.getKeys=H.prototype.P;H.prototype.getProperties=H.prototype.K;H.prototype.set=H.prototype.set;H.prototype.setProperties=H.prototype.I;H.prototype.unset=H.prototype.S;H.prototype.changed=H.prototype.A;H.prototype.dispatchEvent=H.prototype.b;H.prototype.getRevision=H.prototype.N;H.prototype.on=H.prototype.J;H.prototype.once=H.prototype.once;H.prototype.un=H.prototype.M;I.prototype.addControl=I.prototype.Ne;I.prototype.addInteraction=I.prototype.Gd;I.prototype.addLayer=I.prototype.Ob;
I.prototype.addOverlay=I.prototype.ne;I.prototype.forEachFeatureAtPixel=I.prototype.Oc;I.prototype.getFeaturesAtPixel=I.prototype.ed;I.prototype.forEachLayerAtPixel=I.prototype.hg;I.prototype.hasFeatureAtPixel=I.prototype.cg;I.prototype.getEventCoordinate=I.prototype.se;I.prototype.getEventPixel=I.prototype.Md;I.prototype.getTarget=I.prototype.xe;I.prototype.getTargetElement=I.prototype.Uc;I.prototype.getCoordinateFromPixel=I.prototype.hb;I.prototype.getControls=I.prototype.Nf;
I.prototype.getOverlays=I.prototype.Uf;I.prototype.getOverlayById=I.prototype.Tf;I.prototype.getInteractions=I.prototype.Sf;I.prototype.getLayerGroup=I.prototype.Sc;I.prototype.getLayers=I.prototype.Ae;I.prototype.getPixelFromCoordinate=I.prototype.cb;I.prototype.getSize=I.prototype.La;I.prototype.getView=I.prototype.ba;I.prototype.getViewport=I.prototype.Yf;I.prototype.renderSync=I.prototype.ef;I.prototype.render=I.prototype.render;I.prototype.removeControl=I.prototype.Eg;
I.prototype.removeInteraction=I.prototype.Vc;I.prototype.removeLayer=I.prototype.be;I.prototype.removeOverlay=I.prototype.Fg;I.prototype.setLayerGroup=I.prototype.gf;I.prototype.setSize=I.prototype.Be;I.prototype.setTarget=I.prototype.Sd;I.prototype.setView=I.prototype.Lg;I.prototype.updateSize=I.prototype.kd;I.prototype.get=I.prototype.get;I.prototype.getKeys=I.prototype.P;I.prototype.getProperties=I.prototype.K;I.prototype.set=I.prototype.set;I.prototype.setProperties=I.prototype.I;
I.prototype.unset=I.prototype.S;I.prototype.changed=I.prototype.A;I.prototype.dispatchEvent=I.prototype.b;I.prototype.getRevision=I.prototype.N;I.prototype.on=I.prototype.J;I.prototype.once=I.prototype.once;I.prototype.un=I.prototype.M;Pe.prototype.get=Pe.prototype.get;Pe.prototype.getKeys=Pe.prototype.P;Pe.prototype.getProperties=Pe.prototype.K;Pe.prototype.set=Pe.prototype.set;Pe.prototype.setProperties=Pe.prototype.I;Pe.prototype.unset=Pe.prototype.S;Pe.prototype.changed=Pe.prototype.A;
Pe.prototype.dispatchEvent=Pe.prototype.b;Pe.prototype.getRevision=Pe.prototype.N;Pe.prototype.on=Pe.prototype.J;Pe.prototype.once=Pe.prototype.once;Pe.prototype.un=Pe.prototype.M;Te.prototype.type=Te.prototype.type;Te.prototype.target=Te.prototype.target;Te.prototype.preventDefault=Te.prototype.preventDefault;Te.prototype.stopPropagation=Te.prototype.stopPropagation;ph.prototype.get=ph.prototype.get;ph.prototype.getKeys=ph.prototype.P;ph.prototype.getProperties=ph.prototype.K;ph.prototype.set=ph.prototype.set;
ph.prototype.setProperties=ph.prototype.I;ph.prototype.unset=ph.prototype.S;ph.prototype.changed=ph.prototype.A;ph.prototype.dispatchEvent=ph.prototype.b;ph.prototype.getRevision=ph.prototype.N;ph.prototype.on=ph.prototype.J;ph.prototype.once=ph.prototype.once;ph.prototype.un=ph.prototype.M;sh.prototype.getMap=sh.prototype.T;sh.prototype.setMap=sh.prototype.setMap;sh.prototype.setTarget=sh.prototype.a;sh.prototype.get=sh.prototype.get;sh.prototype.getKeys=sh.prototype.P;
sh.prototype.getProperties=sh.prototype.K;sh.prototype.set=sh.prototype.set;sh.prototype.setProperties=sh.prototype.I;sh.prototype.unset=sh.prototype.S;sh.prototype.changed=sh.prototype.A;sh.prototype.dispatchEvent=sh.prototype.b;sh.prototype.getRevision=sh.prototype.N;sh.prototype.on=sh.prototype.J;sh.prototype.once=sh.prototype.once;sh.prototype.un=sh.prototype.M;Vn.prototype.getMap=Vn.prototype.T;Vn.prototype.setMap=Vn.prototype.setMap;Vn.prototype.setTarget=Vn.prototype.a;Vn.prototype.get=Vn.prototype.get;
Vn.prototype.getKeys=Vn.prototype.P;Vn.prototype.getProperties=Vn.prototype.K;Vn.prototype.set=Vn.prototype.set;Vn.prototype.setProperties=Vn.prototype.I;Vn.prototype.unset=Vn.prototype.S;Vn.prototype.changed=Vn.prototype.A;Vn.prototype.dispatchEvent=Vn.prototype.b;Vn.prototype.getRevision=Vn.prototype.N;Vn.prototype.on=Vn.prototype.J;Vn.prototype.once=Vn.prototype.once;Vn.prototype.un=Vn.prototype.M;$n.prototype.getMap=$n.prototype.T;$n.prototype.setMap=$n.prototype.setMap;
$n.prototype.setTarget=$n.prototype.a;$n.prototype.get=$n.prototype.get;$n.prototype.getKeys=$n.prototype.P;$n.prototype.getProperties=$n.prototype.K;$n.prototype.set=$n.prototype.set;$n.prototype.setProperties=$n.prototype.I;$n.prototype.unset=$n.prototype.S;$n.prototype.changed=$n.prototype.A;$n.prototype.dispatchEvent=$n.prototype.b;$n.prototype.getRevision=$n.prototype.N;$n.prototype.on=$n.prototype.J;$n.prototype.once=$n.prototype.once;$n.prototype.un=$n.prototype.M;fo.prototype.getMap=fo.prototype.T;
fo.prototype.setMap=fo.prototype.setMap;fo.prototype.setTarget=fo.prototype.a;fo.prototype.get=fo.prototype.get;fo.prototype.getKeys=fo.prototype.P;fo.prototype.getProperties=fo.prototype.K;fo.prototype.set=fo.prototype.set;fo.prototype.setProperties=fo.prototype.I;fo.prototype.unset=fo.prototype.S;fo.prototype.changed=fo.prototype.A;fo.prototype.dispatchEvent=fo.prototype.b;fo.prototype.getRevision=fo.prototype.N;fo.prototype.on=fo.prototype.J;fo.prototype.once=fo.prototype.once;
fo.prototype.un=fo.prototype.M;wh.prototype.getMap=wh.prototype.T;wh.prototype.setMap=wh.prototype.setMap;wh.prototype.setTarget=wh.prototype.a;wh.prototype.get=wh.prototype.get;wh.prototype.getKeys=wh.prototype.P;wh.prototype.getProperties=wh.prototype.K;wh.prototype.set=wh.prototype.set;wh.prototype.setProperties=wh.prototype.I;wh.prototype.unset=wh.prototype.S;wh.prototype.changed=wh.prototype.A;wh.prototype.dispatchEvent=wh.prototype.b;wh.prototype.getRevision=wh.prototype.N;wh.prototype.on=wh.prototype.J;
wh.prototype.once=wh.prototype.once;wh.prototype.un=wh.prototype.M;ko.prototype.getMap=ko.prototype.T;ko.prototype.setMap=ko.prototype.setMap;ko.prototype.setTarget=ko.prototype.a;ko.prototype.get=ko.prototype.get;ko.prototype.getKeys=ko.prototype.P;ko.prototype.getProperties=ko.prototype.K;ko.prototype.set=ko.prototype.set;ko.prototype.setProperties=ko.prototype.I;ko.prototype.unset=ko.prototype.S;ko.prototype.changed=ko.prototype.A;ko.prototype.dispatchEvent=ko.prototype.b;
ko.prototype.getRevision=ko.prototype.N;ko.prototype.on=ko.prototype.J;ko.prototype.once=ko.prototype.once;ko.prototype.un=ko.prototype.M;Fh.prototype.getMap=Fh.prototype.T;Fh.prototype.setMap=Fh.prototype.setMap;Fh.prototype.setTarget=Fh.prototype.a;Fh.prototype.get=Fh.prototype.get;Fh.prototype.getKeys=Fh.prototype.P;Fh.prototype.getProperties=Fh.prototype.K;Fh.prototype.set=Fh.prototype.set;Fh.prototype.setProperties=Fh.prototype.I;Fh.prototype.unset=Fh.prototype.S;Fh.prototype.changed=Fh.prototype.A;
Fh.prototype.dispatchEvent=Fh.prototype.b;Fh.prototype.getRevision=Fh.prototype.N;Fh.prototype.on=Fh.prototype.J;Fh.prototype.once=Fh.prototype.once;Fh.prototype.un=Fh.prototype.M;po.prototype.getMap=po.prototype.T;po.prototype.setMap=po.prototype.setMap;po.prototype.setTarget=po.prototype.a;po.prototype.get=po.prototype.get;po.prototype.getKeys=po.prototype.P;po.prototype.getProperties=po.prototype.K;po.prototype.set=po.prototype.set;po.prototype.setProperties=po.prototype.I;po.prototype.unset=po.prototype.S;
po.prototype.changed=po.prototype.A;po.prototype.dispatchEvent=po.prototype.b;po.prototype.getRevision=po.prototype.N;po.prototype.on=po.prototype.J;po.prototype.once=po.prototype.once;po.prototype.un=po.prototype.M;uo.prototype.getMap=uo.prototype.T;uo.prototype.setMap=uo.prototype.setMap;uo.prototype.setTarget=uo.prototype.a;uo.prototype.get=uo.prototype.get;uo.prototype.getKeys=uo.prototype.P;uo.prototype.getProperties=uo.prototype.K;uo.prototype.set=uo.prototype.set;
uo.prototype.setProperties=uo.prototype.I;uo.prototype.unset=uo.prototype.S;uo.prototype.changed=uo.prototype.A;uo.prototype.dispatchEvent=uo.prototype.b;uo.prototype.getRevision=uo.prototype.N;uo.prototype.on=uo.prototype.J;uo.prototype.once=uo.prototype.once;uo.prototype.un=uo.prototype.M;Mk.prototype.get=Mk.prototype.get;Mk.prototype.getKeys=Mk.prototype.P;Mk.prototype.getProperties=Mk.prototype.K;Mk.prototype.set=Mk.prototype.set;Mk.prototype.setProperties=Mk.prototype.I;Mk.prototype.unset=Mk.prototype.S;
Mk.prototype.changed=Mk.prototype.A;Mk.prototype.dispatchEvent=Mk.prototype.b;Mk.prototype.getRevision=Mk.prototype.N;Mk.prototype.on=Mk.prototype.J;Mk.prototype.once=Mk.prototype.once;Mk.prototype.un=Mk.prototype.M;C.prototype.get=C.prototype.get;C.prototype.getKeys=C.prototype.P;C.prototype.getProperties=C.prototype.K;C.prototype.set=C.prototype.set;C.prototype.setProperties=C.prototype.I;C.prototype.unset=C.prototype.S;C.prototype.changed=C.prototype.A;C.prototype.dispatchEvent=C.prototype.b;
C.prototype.getRevision=C.prototype.N;C.prototype.on=C.prototype.J;C.prototype.once=C.prototype.once;C.prototype.un=C.prototype.M;qp.prototype.readFeatures=qp.prototype.$a;zp.prototype.readFeatures=zp.prototype.$a;qp.prototype.readFeatures=qp.prototype.$a;Sk.prototype.get=Sk.prototype.get;Sk.prototype.getKeys=Sk.prototype.P;Sk.prototype.getProperties=Sk.prototype.K;Sk.prototype.set=Sk.prototype.set;Sk.prototype.setProperties=Sk.prototype.I;Sk.prototype.unset=Sk.prototype.S;Sk.prototype.changed=Sk.prototype.A;
Sk.prototype.dispatchEvent=Sk.prototype.b;Sk.prototype.getRevision=Sk.prototype.N;Sk.prototype.on=Sk.prototype.J;Sk.prototype.once=Sk.prototype.once;Sk.prototype.un=Sk.prototype.M;Kc.prototype.get=Kc.prototype.get;Kc.prototype.getKeys=Kc.prototype.P;Kc.prototype.getProperties=Kc.prototype.K;Kc.prototype.set=Kc.prototype.set;Kc.prototype.setProperties=Kc.prototype.I;Kc.prototype.unset=Kc.prototype.S;Kc.prototype.changed=Kc.prototype.A;Kc.prototype.dispatchEvent=Kc.prototype.b;
Kc.prototype.getRevision=Kc.prototype.N;Kc.prototype.on=Kc.prototype.J;Kc.prototype.once=Kc.prototype.once;Kc.prototype.un=Kc.prototype.M;Wd.prototype.getClosestPoint=Wd.prototype.$b;Wd.prototype.intersectsCoordinate=Wd.prototype.Eb;Wd.prototype.getExtent=Wd.prototype.G;Wd.prototype.rotate=Wd.prototype.rotate;Wd.prototype.scale=Wd.prototype.scale;Wd.prototype.simplify=Wd.prototype.nc;Wd.prototype.transform=Wd.prototype.transform;Wd.prototype.get=Wd.prototype.get;Wd.prototype.getKeys=Wd.prototype.P;
Wd.prototype.getProperties=Wd.prototype.K;Wd.prototype.set=Wd.prototype.set;Wd.prototype.setProperties=Wd.prototype.I;Wd.prototype.unset=Wd.prototype.S;Wd.prototype.changed=Wd.prototype.A;Wd.prototype.dispatchEvent=Wd.prototype.b;Wd.prototype.getRevision=Wd.prototype.N;Wd.prototype.on=Wd.prototype.J;Wd.prototype.once=Wd.prototype.once;Wd.prototype.un=Wd.prototype.M;lw.prototype.getFirstCoordinate=lw.prototype.Qc;lw.prototype.getLastCoordinate=lw.prototype.Rc;lw.prototype.getLayout=lw.prototype.Tc;
lw.prototype.rotate=lw.prototype.rotate;lw.prototype.scale=lw.prototype.scale;lw.prototype.getClosestPoint=lw.prototype.$b;lw.prototype.intersectsCoordinate=lw.prototype.Eb;lw.prototype.getExtent=lw.prototype.G;lw.prototype.simplify=lw.prototype.nc;lw.prototype.get=lw.prototype.get;lw.prototype.getKeys=lw.prototype.P;lw.prototype.getProperties=lw.prototype.K;lw.prototype.set=lw.prototype.set;lw.prototype.setProperties=lw.prototype.I;lw.prototype.unset=lw.prototype.S;lw.prototype.changed=lw.prototype.A;
lw.prototype.dispatchEvent=lw.prototype.b;lw.prototype.getRevision=lw.prototype.N;lw.prototype.on=lw.prototype.J;lw.prototype.once=lw.prototype.once;lw.prototype.un=lw.prototype.M;Rq.prototype.getClosestPoint=Rq.prototype.$b;Rq.prototype.intersectsCoordinate=Rq.prototype.Eb;Rq.prototype.getExtent=Rq.prototype.G;Rq.prototype.rotate=Rq.prototype.rotate;Rq.prototype.scale=Rq.prototype.scale;Rq.prototype.simplify=Rq.prototype.nc;Rq.prototype.transform=Rq.prototype.transform;Rq.prototype.get=Rq.prototype.get;
Rq.prototype.getKeys=Rq.prototype.P;Rq.prototype.getProperties=Rq.prototype.K;Rq.prototype.set=Rq.prototype.set;Rq.prototype.setProperties=Rq.prototype.I;Rq.prototype.unset=Rq.prototype.S;Rq.prototype.changed=Rq.prototype.A;Rq.prototype.dispatchEvent=Rq.prototype.b;Rq.prototype.getRevision=Rq.prototype.N;Rq.prototype.on=Rq.prototype.J;Rq.prototype.once=Rq.prototype.once;Rq.prototype.un=Rq.prototype.M;Ag.prototype.getFirstCoordinate=Ag.prototype.Qc;Ag.prototype.getLastCoordinate=Ag.prototype.Rc;
Ag.prototype.getLayout=Ag.prototype.Tc;Ag.prototype.rotate=Ag.prototype.rotate;Ag.prototype.scale=Ag.prototype.scale;Ag.prototype.getClosestPoint=Ag.prototype.$b;Ag.prototype.intersectsCoordinate=Ag.prototype.Eb;Ag.prototype.getExtent=Ag.prototype.G;Ag.prototype.simplify=Ag.prototype.nc;Ag.prototype.transform=Ag.prototype.transform;Ag.prototype.get=Ag.prototype.get;Ag.prototype.getKeys=Ag.prototype.P;Ag.prototype.getProperties=Ag.prototype.K;Ag.prototype.set=Ag.prototype.set;
Ag.prototype.setProperties=Ag.prototype.I;Ag.prototype.unset=Ag.prototype.S;Ag.prototype.changed=Ag.prototype.A;Ag.prototype.dispatchEvent=Ag.prototype.b;Ag.prototype.getRevision=Ag.prototype.N;Ag.prototype.on=Ag.prototype.J;Ag.prototype.once=Ag.prototype.once;Ag.prototype.un=Ag.prototype.M;J.prototype.getFirstCoordinate=J.prototype.Qc;J.prototype.getLastCoordinate=J.prototype.Rc;J.prototype.getLayout=J.prototype.Tc;J.prototype.rotate=J.prototype.rotate;J.prototype.scale=J.prototype.scale;
J.prototype.getClosestPoint=J.prototype.$b;J.prototype.intersectsCoordinate=J.prototype.Eb;J.prototype.getExtent=J.prototype.G;J.prototype.simplify=J.prototype.nc;J.prototype.transform=J.prototype.transform;J.prototype.get=J.prototype.get;J.prototype.getKeys=J.prototype.P;J.prototype.getProperties=J.prototype.K;J.prototype.set=J.prototype.set;J.prototype.setProperties=J.prototype.I;J.prototype.unset=J.prototype.S;J.prototype.changed=J.prototype.A;J.prototype.dispatchEvent=J.prototype.b;
J.prototype.getRevision=J.prototype.N;J.prototype.on=J.prototype.J;J.prototype.once=J.prototype.once;J.prototype.un=J.prototype.M;R.prototype.getFirstCoordinate=R.prototype.Qc;R.prototype.getLastCoordinate=R.prototype.Rc;R.prototype.getLayout=R.prototype.Tc;R.prototype.rotate=R.prototype.rotate;R.prototype.scale=R.prototype.scale;R.prototype.getClosestPoint=R.prototype.$b;R.prototype.intersectsCoordinate=R.prototype.Eb;R.prototype.getExtent=R.prototype.G;R.prototype.simplify=R.prototype.nc;
R.prototype.transform=R.prototype.transform;R.prototype.get=R.prototype.get;R.prototype.getKeys=R.prototype.P;R.prototype.getProperties=R.prototype.K;R.prototype.set=R.prototype.set;R.prototype.setProperties=R.prototype.I;R.prototype.unset=R.prototype.S;R.prototype.changed=R.prototype.A;R.prototype.dispatchEvent=R.prototype.b;R.prototype.getRevision=R.prototype.N;R.prototype.on=R.prototype.J;R.prototype.once=R.prototype.once;R.prototype.un=R.prototype.M;So.prototype.getFirstCoordinate=So.prototype.Qc;
So.prototype.getLastCoordinate=So.prototype.Rc;So.prototype.getLayout=So.prototype.Tc;So.prototype.rotate=So.prototype.rotate;So.prototype.scale=So.prototype.scale;So.prototype.getClosestPoint=So.prototype.$b;So.prototype.intersectsCoordinate=So.prototype.Eb;So.prototype.getExtent=So.prototype.G;So.prototype.simplify=So.prototype.nc;So.prototype.transform=So.prototype.transform;So.prototype.get=So.prototype.get;So.prototype.getKeys=So.prototype.P;So.prototype.getProperties=So.prototype.K;
So.prototype.set=So.prototype.set;So.prototype.setProperties=So.prototype.I;So.prototype.unset=So.prototype.S;So.prototype.changed=So.prototype.A;So.prototype.dispatchEvent=So.prototype.b;So.prototype.getRevision=So.prototype.N;So.prototype.on=So.prototype.J;So.prototype.once=So.prototype.once;So.prototype.un=So.prototype.M;S.prototype.getFirstCoordinate=S.prototype.Qc;S.prototype.getLastCoordinate=S.prototype.Rc;S.prototype.getLayout=S.prototype.Tc;S.prototype.rotate=S.prototype.rotate;
S.prototype.scale=S.prototype.scale;S.prototype.getClosestPoint=S.prototype.$b;S.prototype.intersectsCoordinate=S.prototype.Eb;S.prototype.getExtent=S.prototype.G;S.prototype.simplify=S.prototype.nc;S.prototype.transform=S.prototype.transform;S.prototype.get=S.prototype.get;S.prototype.getKeys=S.prototype.P;S.prototype.getProperties=S.prototype.K;S.prototype.set=S.prototype.set;S.prototype.setProperties=S.prototype.I;S.prototype.unset=S.prototype.S;S.prototype.changed=S.prototype.A;
S.prototype.dispatchEvent=S.prototype.b;S.prototype.getRevision=S.prototype.N;S.prototype.on=S.prototype.J;S.prototype.once=S.prototype.once;S.prototype.un=S.prototype.M;D.prototype.getFirstCoordinate=D.prototype.Qc;D.prototype.getLastCoordinate=D.prototype.Rc;D.prototype.getLayout=D.prototype.Tc;D.prototype.rotate=D.prototype.rotate;D.prototype.scale=D.prototype.scale;D.prototype.getClosestPoint=D.prototype.$b;D.prototype.intersectsCoordinate=D.prototype.Eb;D.prototype.getExtent=D.prototype.G;
D.prototype.simplify=D.prototype.nc;D.prototype.transform=D.prototype.transform;D.prototype.get=D.prototype.get;D.prototype.getKeys=D.prototype.P;D.prototype.getProperties=D.prototype.K;D.prototype.set=D.prototype.set;D.prototype.setProperties=D.prototype.I;D.prototype.unset=D.prototype.S;D.prototype.changed=D.prototype.A;D.prototype.dispatchEvent=D.prototype.b;D.prototype.getRevision=D.prototype.N;D.prototype.on=D.prototype.J;D.prototype.once=D.prototype.once;D.prototype.un=D.prototype.M;
F.prototype.getFirstCoordinate=F.prototype.Qc;F.prototype.getLastCoordinate=F.prototype.Rc;F.prototype.getLayout=F.prototype.Tc;F.prototype.rotate=F.prototype.rotate;F.prototype.scale=F.prototype.scale;F.prototype.getClosestPoint=F.prototype.$b;F.prototype.intersectsCoordinate=F.prototype.Eb;F.prototype.getExtent=F.prototype.G;F.prototype.simplify=F.prototype.nc;F.prototype.transform=F.prototype.transform;F.prototype.get=F.prototype.get;F.prototype.getKeys=F.prototype.P;
F.prototype.getProperties=F.prototype.K;F.prototype.set=F.prototype.set;F.prototype.setProperties=F.prototype.I;F.prototype.unset=F.prototype.S;F.prototype.changed=F.prototype.A;F.prototype.dispatchEvent=F.prototype.b;F.prototype.getRevision=F.prototype.N;F.prototype.on=F.prototype.J;F.prototype.once=F.prototype.once;F.prototype.un=F.prototype.M;gl.prototype.getTileCoord=gl.prototype.g;gl.prototype.load=gl.prototype.load;Kh.prototype.get=Kh.prototype.get;Kh.prototype.getKeys=Kh.prototype.P;
Kh.prototype.getProperties=Kh.prototype.K;Kh.prototype.set=Kh.prototype.set;Kh.prototype.setProperties=Kh.prototype.I;Kh.prototype.unset=Kh.prototype.S;Kh.prototype.changed=Kh.prototype.A;Kh.prototype.dispatchEvent=Kh.prototype.b;Kh.prototype.getRevision=Kh.prototype.N;Kh.prototype.on=Kh.prototype.J;Kh.prototype.once=Kh.prototype.once;Kh.prototype.un=Kh.prototype.M;Oh.prototype.getActive=Oh.prototype.a;Oh.prototype.getMap=Oh.prototype.T;Oh.prototype.setActive=Oh.prototype.bb;Oh.prototype.get=Oh.prototype.get;
Oh.prototype.getKeys=Oh.prototype.P;Oh.prototype.getProperties=Oh.prototype.K;Oh.prototype.set=Oh.prototype.set;Oh.prototype.setProperties=Oh.prototype.I;Oh.prototype.unset=Oh.prototype.S;Oh.prototype.changed=Oh.prototype.A;Oh.prototype.dispatchEvent=Oh.prototype.b;Oh.prototype.getRevision=Oh.prototype.N;Oh.prototype.on=Oh.prototype.J;Oh.prototype.once=Oh.prototype.once;Oh.prototype.un=Oh.prototype.M;nw.prototype.getActive=nw.prototype.a;nw.prototype.getMap=nw.prototype.T;nw.prototype.setActive=nw.prototype.bb;
nw.prototype.get=nw.prototype.get;nw.prototype.getKeys=nw.prototype.P;nw.prototype.getProperties=nw.prototype.K;nw.prototype.set=nw.prototype.set;nw.prototype.setProperties=nw.prototype.I;nw.prototype.unset=nw.prototype.S;nw.prototype.changed=nw.prototype.A;nw.prototype.dispatchEvent=nw.prototype.b;nw.prototype.getRevision=nw.prototype.N;nw.prototype.on=nw.prototype.J;nw.prototype.once=nw.prototype.once;nw.prototype.un=nw.prototype.M;qw.prototype.type=qw.prototype.type;qw.prototype.target=qw.prototype.target;
qw.prototype.preventDefault=qw.prototype.preventDefault;qw.prototype.stopPropagation=qw.prototype.stopPropagation;$h.prototype.getActive=$h.prototype.a;$h.prototype.getMap=$h.prototype.T;$h.prototype.setActive=$h.prototype.bb;$h.prototype.get=$h.prototype.get;$h.prototype.getKeys=$h.prototype.P;$h.prototype.getProperties=$h.prototype.K;$h.prototype.set=$h.prototype.set;$h.prototype.setProperties=$h.prototype.I;$h.prototype.unset=$h.prototype.S;$h.prototype.changed=$h.prototype.A;
$h.prototype.dispatchEvent=$h.prototype.b;$h.prototype.getRevision=$h.prototype.N;$h.prototype.on=$h.prototype.J;$h.prototype.once=$h.prototype.once;$h.prototype.un=$h.prototype.M;ni.prototype.getActive=ni.prototype.a;ni.prototype.getMap=ni.prototype.T;ni.prototype.setActive=ni.prototype.bb;ni.prototype.get=ni.prototype.get;ni.prototype.getKeys=ni.prototype.P;ni.prototype.getProperties=ni.prototype.K;ni.prototype.set=ni.prototype.set;ni.prototype.setProperties=ni.prototype.I;ni.prototype.unset=ni.prototype.S;
ni.prototype.changed=ni.prototype.A;ni.prototype.dispatchEvent=ni.prototype.b;ni.prototype.getRevision=ni.prototype.N;ni.prototype.on=ni.prototype.J;ni.prototype.once=ni.prototype.once;ni.prototype.un=ni.prototype.M;si.prototype.type=si.prototype.type;si.prototype.target=si.prototype.target;si.prototype.preventDefault=si.prototype.preventDefault;si.prototype.stopPropagation=si.prototype.stopPropagation;ci.prototype.getActive=ci.prototype.a;ci.prototype.getMap=ci.prototype.T;
ci.prototype.setActive=ci.prototype.bb;ci.prototype.get=ci.prototype.get;ci.prototype.getKeys=ci.prototype.P;ci.prototype.getProperties=ci.prototype.K;ci.prototype.set=ci.prototype.set;ci.prototype.setProperties=ci.prototype.I;ci.prototype.unset=ci.prototype.S;ci.prototype.changed=ci.prototype.A;ci.prototype.dispatchEvent=ci.prototype.b;ci.prototype.getRevision=ci.prototype.N;ci.prototype.on=ci.prototype.J;ci.prototype.once=ci.prototype.once;ci.prototype.un=ci.prototype.M;gi.prototype.getActive=gi.prototype.a;
gi.prototype.getMap=gi.prototype.T;gi.prototype.setActive=gi.prototype.bb;gi.prototype.get=gi.prototype.get;gi.prototype.getKeys=gi.prototype.P;gi.prototype.getProperties=gi.prototype.K;gi.prototype.set=gi.prototype.set;gi.prototype.setProperties=gi.prototype.I;gi.prototype.unset=gi.prototype.S;gi.prototype.changed=gi.prototype.A;gi.prototype.dispatchEvent=gi.prototype.b;gi.prototype.getRevision=gi.prototype.N;gi.prototype.on=gi.prototype.J;gi.prototype.once=gi.prototype.once;gi.prototype.un=gi.prototype.M;
uw.prototype.getActive=uw.prototype.a;uw.prototype.getMap=uw.prototype.T;uw.prototype.setActive=uw.prototype.bb;uw.prototype.get=uw.prototype.get;uw.prototype.getKeys=uw.prototype.P;uw.prototype.getProperties=uw.prototype.K;uw.prototype.set=uw.prototype.set;uw.prototype.setProperties=uw.prototype.I;uw.prototype.unset=uw.prototype.S;uw.prototype.changed=uw.prototype.A;uw.prototype.dispatchEvent=uw.prototype.b;uw.prototype.getRevision=uw.prototype.N;uw.prototype.on=uw.prototype.J;
uw.prototype.once=uw.prototype.once;uw.prototype.un=uw.prototype.M;wi.prototype.getGeometry=wi.prototype.W;wi.prototype.getActive=wi.prototype.a;wi.prototype.getMap=wi.prototype.T;wi.prototype.setActive=wi.prototype.bb;wi.prototype.get=wi.prototype.get;wi.prototype.getKeys=wi.prototype.P;wi.prototype.getProperties=wi.prototype.K;wi.prototype.set=wi.prototype.set;wi.prototype.setProperties=wi.prototype.I;wi.prototype.unset=wi.prototype.S;wi.prototype.changed=wi.prototype.A;
wi.prototype.dispatchEvent=wi.prototype.b;wi.prototype.getRevision=wi.prototype.N;wi.prototype.on=wi.prototype.J;wi.prototype.once=wi.prototype.once;wi.prototype.un=wi.prototype.M;Lw.prototype.getActive=Lw.prototype.a;Lw.prototype.getMap=Lw.prototype.T;Lw.prototype.setActive=Lw.prototype.bb;Lw.prototype.get=Lw.prototype.get;Lw.prototype.getKeys=Lw.prototype.P;Lw.prototype.getProperties=Lw.prototype.K;Lw.prototype.set=Lw.prototype.set;Lw.prototype.setProperties=Lw.prototype.I;Lw.prototype.unset=Lw.prototype.S;
Lw.prototype.changed=Lw.prototype.A;Lw.prototype.dispatchEvent=Lw.prototype.b;Lw.prototype.getRevision=Lw.prototype.N;Lw.prototype.on=Lw.prototype.J;Lw.prototype.once=Lw.prototype.once;Lw.prototype.un=Lw.prototype.M;ax.prototype.type=ax.prototype.type;ax.prototype.target=ax.prototype.target;ax.prototype.preventDefault=ax.prototype.preventDefault;ax.prototype.stopPropagation=ax.prototype.stopPropagation;dx.prototype.getActive=dx.prototype.a;dx.prototype.getMap=dx.prototype.T;
dx.prototype.setActive=dx.prototype.bb;dx.prototype.get=dx.prototype.get;dx.prototype.getKeys=dx.prototype.P;dx.prototype.getProperties=dx.prototype.K;dx.prototype.set=dx.prototype.set;dx.prototype.setProperties=dx.prototype.I;dx.prototype.unset=dx.prototype.S;dx.prototype.changed=dx.prototype.A;dx.prototype.dispatchEvent=dx.prototype.b;dx.prototype.getRevision=dx.prototype.N;dx.prototype.on=dx.prototype.J;dx.prototype.once=dx.prototype.once;dx.prototype.un=dx.prototype.M;ox.prototype.type=ox.prototype.type;
ox.prototype.target=ox.prototype.target;ox.prototype.preventDefault=ox.prototype.preventDefault;ox.prototype.stopPropagation=ox.prototype.stopPropagation;xi.prototype.getActive=xi.prototype.a;xi.prototype.getMap=xi.prototype.T;xi.prototype.setActive=xi.prototype.bb;xi.prototype.get=xi.prototype.get;xi.prototype.getKeys=xi.prototype.P;xi.prototype.getProperties=xi.prototype.K;xi.prototype.set=xi.prototype.set;xi.prototype.setProperties=xi.prototype.I;xi.prototype.unset=xi.prototype.S;
xi.prototype.changed=xi.prototype.A;xi.prototype.dispatchEvent=xi.prototype.b;xi.prototype.getRevision=xi.prototype.N;xi.prototype.on=xi.prototype.J;xi.prototype.once=xi.prototype.once;xi.prototype.un=xi.prototype.M;Fi.prototype.getActive=Fi.prototype.a;Fi.prototype.getMap=Fi.prototype.T;Fi.prototype.setActive=Fi.prototype.bb;Fi.prototype.get=Fi.prototype.get;Fi.prototype.getKeys=Fi.prototype.P;Fi.prototype.getProperties=Fi.prototype.K;Fi.prototype.set=Fi.prototype.set;
Fi.prototype.setProperties=Fi.prototype.I;Fi.prototype.unset=Fi.prototype.S;Fi.prototype.changed=Fi.prototype.A;Fi.prototype.dispatchEvent=Fi.prototype.b;Fi.prototype.getRevision=Fi.prototype.N;Fi.prototype.on=Fi.prototype.J;Fi.prototype.once=Fi.prototype.once;Fi.prototype.un=Fi.prototype.M;px.prototype.getActive=px.prototype.a;px.prototype.getMap=px.prototype.T;px.prototype.setActive=px.prototype.bb;px.prototype.get=px.prototype.get;px.prototype.getKeys=px.prototype.P;
px.prototype.getProperties=px.prototype.K;px.prototype.set=px.prototype.set;px.prototype.setProperties=px.prototype.I;px.prototype.unset=px.prototype.S;px.prototype.changed=px.prototype.A;px.prototype.dispatchEvent=px.prototype.b;px.prototype.getRevision=px.prototype.N;px.prototype.on=px.prototype.J;px.prototype.once=px.prototype.once;px.prototype.un=px.prototype.M;xx.prototype.type=xx.prototype.type;xx.prototype.target=xx.prototype.target;xx.prototype.preventDefault=xx.prototype.preventDefault;
xx.prototype.stopPropagation=xx.prototype.stopPropagation;Hi.prototype.getActive=Hi.prototype.a;Hi.prototype.getMap=Hi.prototype.T;Hi.prototype.setActive=Hi.prototype.bb;Hi.prototype.get=Hi.prototype.get;Hi.prototype.getKeys=Hi.prototype.P;Hi.prototype.getProperties=Hi.prototype.K;Hi.prototype.set=Hi.prototype.set;Hi.prototype.setProperties=Hi.prototype.I;Hi.prototype.unset=Hi.prototype.S;Hi.prototype.changed=Hi.prototype.A;Hi.prototype.dispatchEvent=Hi.prototype.b;Hi.prototype.getRevision=Hi.prototype.N;
Hi.prototype.on=Hi.prototype.J;Hi.prototype.once=Hi.prototype.once;Hi.prototype.un=Hi.prototype.M;Li.prototype.getActive=Li.prototype.a;Li.prototype.getMap=Li.prototype.T;Li.prototype.setActive=Li.prototype.bb;Li.prototype.get=Li.prototype.get;Li.prototype.getKeys=Li.prototype.P;Li.prototype.getProperties=Li.prototype.K;Li.prototype.set=Li.prototype.set;Li.prototype.setProperties=Li.prototype.I;Li.prototype.unset=Li.prototype.S;Li.prototype.changed=Li.prototype.A;Li.prototype.dispatchEvent=Li.prototype.b;
Li.prototype.getRevision=Li.prototype.N;Li.prototype.on=Li.prototype.J;Li.prototype.once=Li.prototype.once;Li.prototype.un=Li.prototype.M;Pi.prototype.getActive=Pi.prototype.a;Pi.prototype.getMap=Pi.prototype.T;Pi.prototype.setActive=Pi.prototype.bb;Pi.prototype.get=Pi.prototype.get;Pi.prototype.getKeys=Pi.prototype.P;Pi.prototype.getProperties=Pi.prototype.K;Pi.prototype.set=Pi.prototype.set;Pi.prototype.setProperties=Pi.prototype.I;Pi.prototype.unset=Pi.prototype.S;Pi.prototype.changed=Pi.prototype.A;
Pi.prototype.dispatchEvent=Pi.prototype.b;Pi.prototype.getRevision=Pi.prototype.N;Pi.prototype.on=Pi.prototype.J;Pi.prototype.once=Pi.prototype.once;Pi.prototype.un=Pi.prototype.M;Fx.prototype.getActive=Fx.prototype.a;Fx.prototype.getMap=Fx.prototype.T;Fx.prototype.setActive=Fx.prototype.bb;Fx.prototype.get=Fx.prototype.get;Fx.prototype.getKeys=Fx.prototype.P;Fx.prototype.getProperties=Fx.prototype.K;Fx.prototype.set=Fx.prototype.set;Fx.prototype.setProperties=Fx.prototype.I;Fx.prototype.unset=Fx.prototype.S;
Fx.prototype.changed=Fx.prototype.A;Fx.prototype.dispatchEvent=Fx.prototype.b;Fx.prototype.getRevision=Fx.prototype.N;Fx.prototype.on=Fx.prototype.J;Fx.prototype.once=Fx.prototype.once;Fx.prototype.un=Fx.prototype.M;Ix.prototype.type=Ix.prototype.type;Ix.prototype.target=Ix.prototype.target;Ix.prototype.preventDefault=Ix.prototype.preventDefault;Ix.prototype.stopPropagation=Ix.prototype.stopPropagation;Kx.prototype.getActive=Kx.prototype.a;Kx.prototype.getMap=Kx.prototype.T;
Kx.prototype.setActive=Kx.prototype.bb;Kx.prototype.get=Kx.prototype.get;Kx.prototype.getKeys=Kx.prototype.P;Kx.prototype.getProperties=Kx.prototype.K;Kx.prototype.set=Kx.prototype.set;Kx.prototype.setProperties=Kx.prototype.I;Kx.prototype.unset=Kx.prototype.S;Kx.prototype.changed=Kx.prototype.A;Kx.prototype.dispatchEvent=Kx.prototype.b;Kx.prototype.getRevision=Kx.prototype.N;Kx.prototype.on=Kx.prototype.J;Kx.prototype.once=Kx.prototype.once;Kx.prototype.un=Kx.prototype.M;Px.prototype.getActive=Px.prototype.a;
Px.prototype.getMap=Px.prototype.T;Px.prototype.setActive=Px.prototype.bb;Px.prototype.get=Px.prototype.get;Px.prototype.getKeys=Px.prototype.P;Px.prototype.getProperties=Px.prototype.K;Px.prototype.set=Px.prototype.set;Px.prototype.setProperties=Px.prototype.I;Px.prototype.unset=Px.prototype.S;Px.prototype.changed=Px.prototype.A;Px.prototype.dispatchEvent=Px.prototype.b;Px.prototype.getRevision=Px.prototype.N;Px.prototype.on=Px.prototype.J;Px.prototype.once=Px.prototype.once;Px.prototype.un=Px.prototype.M;
Vx.prototype.type=Vx.prototype.type;Vx.prototype.target=Vx.prototype.target;Vx.prototype.preventDefault=Vx.prototype.preventDefault;Vx.prototype.stopPropagation=Vx.prototype.stopPropagation;eh.prototype.get=eh.prototype.get;eh.prototype.getKeys=eh.prototype.P;eh.prototype.getProperties=eh.prototype.K;eh.prototype.set=eh.prototype.set;eh.prototype.setProperties=eh.prototype.I;eh.prototype.unset=eh.prototype.S;eh.prototype.changed=eh.prototype.A;eh.prototype.dispatchEvent=eh.prototype.b;
eh.prototype.getRevision=eh.prototype.N;eh.prototype.on=eh.prototype.J;eh.prototype.once=eh.prototype.once;eh.prototype.un=eh.prototype.M;gh.prototype.getExtent=gh.prototype.G;gh.prototype.getMaxResolution=gh.prototype.qc;gh.prototype.getMinResolution=gh.prototype.rc;gh.prototype.getOpacity=gh.prototype.tc;gh.prototype.getVisible=gh.prototype.Qb;gh.prototype.getZIndex=gh.prototype.Ia;gh.prototype.setExtent=gh.prototype.Ac;gh.prototype.setMaxResolution=gh.prototype.Fc;
gh.prototype.setMinResolution=gh.prototype.Gc;gh.prototype.setOpacity=gh.prototype.Bc;gh.prototype.setVisible=gh.prototype.Cc;gh.prototype.setZIndex=gh.prototype.Ra;gh.prototype.get=gh.prototype.get;gh.prototype.getKeys=gh.prototype.P;gh.prototype.getProperties=gh.prototype.K;gh.prototype.set=gh.prototype.set;gh.prototype.setProperties=gh.prototype.I;gh.prototype.unset=gh.prototype.S;gh.prototype.changed=gh.prototype.A;gh.prototype.dispatchEvent=gh.prototype.b;gh.prototype.getRevision=gh.prototype.N;
gh.prototype.on=gh.prototype.J;gh.prototype.once=gh.prototype.once;gh.prototype.un=gh.prototype.M;qh.prototype.getExtent=qh.prototype.G;qh.prototype.getMaxResolution=qh.prototype.qc;qh.prototype.getMinResolution=qh.prototype.rc;qh.prototype.getOpacity=qh.prototype.tc;qh.prototype.getVisible=qh.prototype.Qb;qh.prototype.getZIndex=qh.prototype.Ia;qh.prototype.setExtent=qh.prototype.Ac;qh.prototype.setMaxResolution=qh.prototype.Fc;qh.prototype.setMinResolution=qh.prototype.Gc;
qh.prototype.setOpacity=qh.prototype.Bc;qh.prototype.setVisible=qh.prototype.Cc;qh.prototype.setZIndex=qh.prototype.Ra;qh.prototype.get=qh.prototype.get;qh.prototype.getKeys=qh.prototype.P;qh.prototype.getProperties=qh.prototype.K;qh.prototype.set=qh.prototype.set;qh.prototype.setProperties=qh.prototype.I;qh.prototype.unset=qh.prototype.S;qh.prototype.changed=qh.prototype.A;qh.prototype.dispatchEvent=qh.prototype.b;qh.prototype.getRevision=qh.prototype.N;qh.prototype.on=qh.prototype.J;
qh.prototype.once=qh.prototype.once;qh.prototype.un=qh.prototype.M;yw.prototype.setMap=yw.prototype.setMap;yw.prototype.setSource=yw.prototype.Zc;yw.prototype.getExtent=yw.prototype.G;yw.prototype.getMaxResolution=yw.prototype.qc;yw.prototype.getMinResolution=yw.prototype.rc;yw.prototype.getOpacity=yw.prototype.tc;yw.prototype.getVisible=yw.prototype.Qb;yw.prototype.getZIndex=yw.prototype.Ia;yw.prototype.setExtent=yw.prototype.Ac;yw.prototype.setMaxResolution=yw.prototype.Fc;
yw.prototype.setMinResolution=yw.prototype.Gc;yw.prototype.setOpacity=yw.prototype.Bc;yw.prototype.setVisible=yw.prototype.Cc;yw.prototype.setZIndex=yw.prototype.Ra;yw.prototype.get=yw.prototype.get;yw.prototype.getKeys=yw.prototype.P;yw.prototype.getProperties=yw.prototype.K;yw.prototype.set=yw.prototype.set;yw.prototype.setProperties=yw.prototype.I;yw.prototype.unset=yw.prototype.S;yw.prototype.changed=yw.prototype.A;yw.prototype.dispatchEvent=yw.prototype.b;yw.prototype.getRevision=yw.prototype.N;
yw.prototype.on=yw.prototype.J;yw.prototype.once=yw.prototype.once;yw.prototype.un=yw.prototype.M;Xx.prototype.getSource=Xx.prototype.Z;Xx.prototype.getStyle=Xx.prototype.Ga;Xx.prototype.getStyleFunction=Xx.prototype.gb;Xx.prototype.setStyle=Xx.prototype.j;Xx.prototype.setMap=Xx.prototype.setMap;Xx.prototype.setSource=Xx.prototype.Zc;Xx.prototype.getExtent=Xx.prototype.G;Xx.prototype.getMaxResolution=Xx.prototype.qc;Xx.prototype.getMinResolution=Xx.prototype.rc;Xx.prototype.getOpacity=Xx.prototype.tc;
Xx.prototype.getVisible=Xx.prototype.Qb;Xx.prototype.getZIndex=Xx.prototype.Ia;Xx.prototype.setExtent=Xx.prototype.Ac;Xx.prototype.setMaxResolution=Xx.prototype.Fc;Xx.prototype.setMinResolution=Xx.prototype.Gc;Xx.prototype.setOpacity=Xx.prototype.Bc;Xx.prototype.setVisible=Xx.prototype.Cc;Xx.prototype.setZIndex=Xx.prototype.Ra;Xx.prototype.get=Xx.prototype.get;Xx.prototype.getKeys=Xx.prototype.P;Xx.prototype.getProperties=Xx.prototype.K;Xx.prototype.set=Xx.prototype.set;
Xx.prototype.setProperties=Xx.prototype.I;Xx.prototype.unset=Xx.prototype.S;Xx.prototype.changed=Xx.prototype.A;Xx.prototype.dispatchEvent=Xx.prototype.b;Xx.prototype.getRevision=Xx.prototype.N;Xx.prototype.on=Xx.prototype.J;Xx.prototype.once=Xx.prototype.once;Xx.prototype.un=Xx.prototype.M;by.prototype.setMap=by.prototype.setMap;by.prototype.setSource=by.prototype.Zc;by.prototype.getExtent=by.prototype.G;by.prototype.getMaxResolution=by.prototype.qc;by.prototype.getMinResolution=by.prototype.rc;
by.prototype.getOpacity=by.prototype.tc;by.prototype.getVisible=by.prototype.Qb;by.prototype.getZIndex=by.prototype.Ia;by.prototype.setExtent=by.prototype.Ac;by.prototype.setMaxResolution=by.prototype.Fc;by.prototype.setMinResolution=by.prototype.Gc;by.prototype.setOpacity=by.prototype.Bc;by.prototype.setVisible=by.prototype.Cc;by.prototype.setZIndex=by.prototype.Ra;by.prototype.get=by.prototype.get;by.prototype.getKeys=by.prototype.P;by.prototype.getProperties=by.prototype.K;by.prototype.set=by.prototype.set;
by.prototype.setProperties=by.prototype.I;by.prototype.unset=by.prototype.S;by.prototype.changed=by.prototype.A;by.prototype.dispatchEvent=by.prototype.b;by.prototype.getRevision=by.prototype.N;by.prototype.on=by.prototype.J;by.prototype.once=by.prototype.once;by.prototype.un=by.prototype.M;cy.prototype.setMap=cy.prototype.setMap;cy.prototype.setSource=cy.prototype.Zc;cy.prototype.getExtent=cy.prototype.G;cy.prototype.getMaxResolution=cy.prototype.qc;cy.prototype.getMinResolution=cy.prototype.rc;
cy.prototype.getOpacity=cy.prototype.tc;cy.prototype.getVisible=cy.prototype.Qb;cy.prototype.getZIndex=cy.prototype.Ia;cy.prototype.setExtent=cy.prototype.Ac;cy.prototype.setMaxResolution=cy.prototype.Fc;cy.prototype.setMinResolution=cy.prototype.Gc;cy.prototype.setOpacity=cy.prototype.Bc;cy.prototype.setVisible=cy.prototype.Cc;cy.prototype.setZIndex=cy.prototype.Ra;cy.prototype.get=cy.prototype.get;cy.prototype.getKeys=cy.prototype.P;cy.prototype.getProperties=cy.prototype.K;cy.prototype.set=cy.prototype.set;
cy.prototype.setProperties=cy.prototype.I;cy.prototype.unset=cy.prototype.S;cy.prototype.changed=cy.prototype.A;cy.prototype.dispatchEvent=cy.prototype.b;cy.prototype.getRevision=cy.prototype.N;cy.prototype.on=cy.prototype.J;cy.prototype.once=cy.prototype.once;cy.prototype.un=cy.prototype.M;V.prototype.getStyle=V.prototype.Ga;V.prototype.getStyleFunction=V.prototype.gb;V.prototype.setStyle=V.prototype.j;V.prototype.setMap=V.prototype.setMap;V.prototype.setSource=V.prototype.Zc;
V.prototype.getExtent=V.prototype.G;V.prototype.getMaxResolution=V.prototype.qc;V.prototype.getMinResolution=V.prototype.rc;V.prototype.getOpacity=V.prototype.tc;V.prototype.getVisible=V.prototype.Qb;V.prototype.getZIndex=V.prototype.Ia;V.prototype.setExtent=V.prototype.Ac;V.prototype.setMaxResolution=V.prototype.Fc;V.prototype.setMinResolution=V.prototype.Gc;V.prototype.setOpacity=V.prototype.Bc;V.prototype.setVisible=V.prototype.Cc;V.prototype.setZIndex=V.prototype.Ra;V.prototype.get=V.prototype.get;
V.prototype.getKeys=V.prototype.P;V.prototype.getProperties=V.prototype.K;V.prototype.set=V.prototype.set;V.prototype.setProperties=V.prototype.I;V.prototype.unset=V.prototype.S;V.prototype.changed=V.prototype.A;V.prototype.dispatchEvent=V.prototype.b;V.prototype.getRevision=V.prototype.N;V.prototype.on=V.prototype.J;V.prototype.once=V.prototype.once;V.prototype.un=V.prototype.M;L.prototype.addControl=L.prototype.Ne;L.prototype.addInteraction=L.prototype.Gd;L.prototype.addLayer=L.prototype.Ob;
L.prototype.addOverlay=L.prototype.ne;L.prototype.forEachFeatureAtPixel=L.prototype.Oc;L.prototype.getFeaturesAtPixel=L.prototype.ed;L.prototype.forEachLayerAtPixel=L.prototype.hg;L.prototype.hasFeatureAtPixel=L.prototype.cg;L.prototype.getEventCoordinate=L.prototype.se;L.prototype.getEventPixel=L.prototype.Md;L.prototype.getTarget=L.prototype.xe;L.prototype.getTargetElement=L.prototype.Uc;L.prototype.getCoordinateFromPixel=L.prototype.hb;L.prototype.getControls=L.prototype.Nf;
L.prototype.getOverlays=L.prototype.Uf;L.prototype.getOverlayById=L.prototype.Tf;L.prototype.getInteractions=L.prototype.Sf;L.prototype.getLayerGroup=L.prototype.Sc;L.prototype.getLayers=L.prototype.Ae;L.prototype.getPixelFromCoordinate=L.prototype.cb;L.prototype.getSize=L.prototype.La;L.prototype.getView=L.prototype.ba;L.prototype.getViewport=L.prototype.Yf;L.prototype.renderSync=L.prototype.ef;L.prototype.render=L.prototype.render;L.prototype.removeControl=L.prototype.Eg;
L.prototype.removeInteraction=L.prototype.Vc;L.prototype.removeLayer=L.prototype.be;L.prototype.removeOverlay=L.prototype.Fg;L.prototype.setLayerGroup=L.prototype.gf;L.prototype.setSize=L.prototype.Be;L.prototype.setTarget=L.prototype.Sd;L.prototype.setView=L.prototype.Lg;L.prototype.updateSize=L.prototype.kd;L.prototype.get=L.prototype.get;L.prototype.getKeys=L.prototype.P;L.prototype.getProperties=L.prototype.K;L.prototype.set=L.prototype.set;L.prototype.setProperties=L.prototype.I;
L.prototype.unset=L.prototype.S;L.prototype.changed=L.prototype.A;L.prototype.dispatchEvent=L.prototype.b;L.prototype.getRevision=L.prototype.N;L.prototype.on=L.prototype.J;L.prototype.once=L.prototype.once;L.prototype.un=L.prototype.M;Ue.prototype.type=Ue.prototype.type;Ue.prototype.target=Ue.prototype.target;Ue.prototype.preventDefault=Ue.prototype.preventDefault;Ue.prototype.stopPropagation=Ue.prototype.stopPropagation;Ve.prototype.map=Ve.prototype.map;Ve.prototype.frameState=Ve.prototype.frameState;
Ve.prototype.type=Ve.prototype.type;Ve.prototype.target=Ve.prototype.target;Ve.prototype.preventDefault=Ve.prototype.preventDefault;Ve.prototype.stopPropagation=Ve.prototype.stopPropagation;Xe.prototype.originalEvent=Xe.prototype.originalEvent;Xe.prototype.pixel=Xe.prototype.pixel;Xe.prototype.coordinate=Xe.prototype.coordinate;Xe.prototype.dragging=Xe.prototype.dragging;Xe.prototype.preventDefault=Xe.prototype.preventDefault;Xe.prototype.stopPropagation=Xe.prototype.stopPropagation;
Xe.prototype.map=Xe.prototype.map;Xe.prototype.frameState=Xe.prototype.frameState;Xe.prototype.type=Xe.prototype.type;Xe.prototype.target=Xe.prototype.target;sc.prototype.type=sc.prototype.type;sc.prototype.target=sc.prototype.target;sc.prototype.preventDefault=sc.prototype.preventDefault;sc.prototype.stopPropagation=sc.prototype.stopPropagation;Kn.prototype.get=Kn.prototype.get;Kn.prototype.getKeys=Kn.prototype.P;Kn.prototype.getProperties=Kn.prototype.K;Kn.prototype.set=Kn.prototype.set;
Kn.prototype.setProperties=Kn.prototype.I;Kn.prototype.unset=Kn.prototype.S;Kn.prototype.changed=Kn.prototype.A;Kn.prototype.dispatchEvent=Kn.prototype.b;Kn.prototype.getRevision=Kn.prototype.N;Kn.prototype.on=Kn.prototype.J;Kn.prototype.once=Kn.prototype.once;Kn.prototype.un=Kn.prototype.M;kf.prototype.type=kf.prototype.type;kf.prototype.target=kf.prototype.target;kf.prototype.preventDefault=kf.prototype.preventDefault;kf.prototype.stopPropagation=kf.prototype.stopPropagation;Wi.prototype.type=Wi.prototype.type;
Wi.prototype.target=Wi.prototype.target;Wi.prototype.preventDefault=Wi.prototype.preventDefault;Wi.prototype.stopPropagation=Wi.prototype.stopPropagation;gj.prototype.changed=gj.prototype.A;gj.prototype.dispatchEvent=gj.prototype.b;gj.prototype.getRevision=gj.prototype.N;gj.prototype.on=gj.prototype.J;gj.prototype.once=gj.prototype.once;gj.prototype.un=gj.prototype.M;oj.prototype.changed=oj.prototype.A;oj.prototype.dispatchEvent=oj.prototype.b;oj.prototype.getRevision=oj.prototype.N;
oj.prototype.on=oj.prototype.J;oj.prototype.once=oj.prototype.once;oj.prototype.un=oj.prototype.M;sj.prototype.changed=sj.prototype.A;sj.prototype.dispatchEvent=sj.prototype.b;sj.prototype.getRevision=sj.prototype.N;sj.prototype.on=sj.prototype.J;sj.prototype.once=sj.prototype.once;sj.prototype.un=sj.prototype.M;tj.prototype.changed=tj.prototype.A;tj.prototype.dispatchEvent=tj.prototype.b;tj.prototype.getRevision=tj.prototype.N;tj.prototype.on=tj.prototype.J;tj.prototype.once=tj.prototype.once;
tj.prototype.un=tj.prototype.M;Jj.prototype.changed=Jj.prototype.A;Jj.prototype.dispatchEvent=Jj.prototype.b;Jj.prototype.getRevision=Jj.prototype.N;Jj.prototype.on=Jj.prototype.J;Jj.prototype.once=Jj.prototype.once;Jj.prototype.un=Jj.prototype.M;Ek.prototype.changed=Ek.prototype.A;Ek.prototype.dispatchEvent=Ek.prototype.b;Ek.prototype.getRevision=Ek.prototype.N;Ek.prototype.on=Ek.prototype.J;Ek.prototype.once=Ek.prototype.once;Ek.prototype.un=Ek.prototype.M;Gk.prototype.changed=Gk.prototype.A;
Gk.prototype.dispatchEvent=Gk.prototype.b;Gk.prototype.getRevision=Gk.prototype.N;Gk.prototype.on=Gk.prototype.J;Gk.prototype.once=Gk.prototype.once;Gk.prototype.un=Gk.prototype.M;vn.prototype.changed=vn.prototype.A;vn.prototype.dispatchEvent=vn.prototype.b;vn.prototype.getRevision=vn.prototype.N;vn.prototype.on=vn.prototype.J;vn.prototype.once=vn.prototype.once;vn.prototype.un=vn.prototype.M;yn.prototype.changed=yn.prototype.A;yn.prototype.dispatchEvent=yn.prototype.b;yn.prototype.getRevision=yn.prototype.N;
yn.prototype.on=yn.prototype.J;yn.prototype.once=yn.prototype.once;yn.prototype.un=yn.prototype.M;In.prototype.changed=In.prototype.A;In.prototype.dispatchEvent=In.prototype.b;In.prototype.getRevision=In.prototype.N;In.prototype.on=In.prototype.J;In.prototype.once=In.prototype.once;In.prototype.un=In.prototype.M;Jn.prototype.changed=Jn.prototype.A;Jn.prototype.dispatchEvent=Jn.prototype.b;Jn.prototype.getRevision=Jn.prototype.N;Jn.prototype.on=Jn.prototype.J;Jn.prototype.once=Jn.prototype.once;
Jn.prototype.un=Jn.prototype.M;ry.prototype.getTileCoord=ry.prototype.g;ry.prototype.load=ry.prototype.load;Bw.prototype.get=Bw.prototype.get;Bw.prototype.getKeys=Bw.prototype.P;Bw.prototype.getProperties=Bw.prototype.K;Bw.prototype.set=Bw.prototype.set;Bw.prototype.setProperties=Bw.prototype.I;Bw.prototype.unset=Bw.prototype.S;Bw.prototype.changed=Bw.prototype.A;Bw.prototype.dispatchEvent=Bw.prototype.b;Bw.prototype.getRevision=Bw.prototype.N;Bw.prototype.on=Bw.prototype.J;Bw.prototype.once=Bw.prototype.once;
Bw.prototype.un=Bw.prototype.M;sy.prototype.getAttributions=sy.prototype.Sa;sy.prototype.getLogo=sy.prototype.Ua;sy.prototype.getProjection=sy.prototype.Va;sy.prototype.getState=sy.prototype.getState;sy.prototype.refresh=sy.prototype.Fa;sy.prototype.setAttributions=sy.prototype.Ja;sy.prototype.get=sy.prototype.get;sy.prototype.getKeys=sy.prototype.P;sy.prototype.getProperties=sy.prototype.K;sy.prototype.set=sy.prototype.set;sy.prototype.setProperties=sy.prototype.I;sy.prototype.unset=sy.prototype.S;
sy.prototype.changed=sy.prototype.A;sy.prototype.dispatchEvent=sy.prototype.b;sy.prototype.getRevision=sy.prototype.N;sy.prototype.on=sy.prototype.J;sy.prototype.once=sy.prototype.once;sy.prototype.un=sy.prototype.M;wy.prototype.getTileGrid=wy.prototype.Kb;wy.prototype.refresh=wy.prototype.Fa;wy.prototype.getAttributions=wy.prototype.Sa;wy.prototype.getLogo=wy.prototype.Ua;wy.prototype.getProjection=wy.prototype.Va;wy.prototype.getState=wy.prototype.getState;wy.prototype.setAttributions=wy.prototype.Ja;
wy.prototype.get=wy.prototype.get;wy.prototype.getKeys=wy.prototype.P;wy.prototype.getProperties=wy.prototype.K;wy.prototype.set=wy.prototype.set;wy.prototype.setProperties=wy.prototype.I;wy.prototype.unset=wy.prototype.S;wy.prototype.changed=wy.prototype.A;wy.prototype.dispatchEvent=wy.prototype.b;wy.prototype.getRevision=wy.prototype.N;wy.prototype.on=wy.prototype.J;wy.prototype.once=wy.prototype.once;wy.prototype.un=wy.prototype.M;xy.prototype.getTileLoadFunction=xy.prototype.gc;
xy.prototype.getTileUrlFunction=xy.prototype.hc;xy.prototype.getUrls=xy.prototype.ic;xy.prototype.setTileLoadFunction=xy.prototype.mc;xy.prototype.setTileUrlFunction=xy.prototype.Ib;xy.prototype.setUrl=xy.prototype.Sb;xy.prototype.setUrls=xy.prototype.Wb;xy.prototype.getTileGrid=xy.prototype.Kb;xy.prototype.refresh=xy.prototype.Fa;xy.prototype.getAttributions=xy.prototype.Sa;xy.prototype.getLogo=xy.prototype.Ua;xy.prototype.getProjection=xy.prototype.Va;xy.prototype.getState=xy.prototype.getState;
xy.prototype.setAttributions=xy.prototype.Ja;xy.prototype.get=xy.prototype.get;xy.prototype.getKeys=xy.prototype.P;xy.prototype.getProperties=xy.prototype.K;xy.prototype.set=xy.prototype.set;xy.prototype.setProperties=xy.prototype.I;xy.prototype.unset=xy.prototype.S;xy.prototype.changed=xy.prototype.A;xy.prototype.dispatchEvent=xy.prototype.b;xy.prototype.getRevision=xy.prototype.N;xy.prototype.on=xy.prototype.J;xy.prototype.once=xy.prototype.once;xy.prototype.un=xy.prototype.M;
By.prototype.setRenderReprojectionEdges=By.prototype.Hc;By.prototype.setTileGridForProjection=By.prototype.Ic;By.prototype.getTileLoadFunction=By.prototype.gc;By.prototype.getTileUrlFunction=By.prototype.hc;By.prototype.getUrls=By.prototype.ic;By.prototype.setTileLoadFunction=By.prototype.mc;By.prototype.setTileUrlFunction=By.prototype.Ib;By.prototype.setUrl=By.prototype.Sb;By.prototype.setUrls=By.prototype.Wb;By.prototype.getTileGrid=By.prototype.Kb;By.prototype.refresh=By.prototype.Fa;
By.prototype.getAttributions=By.prototype.Sa;By.prototype.getLogo=By.prototype.Ua;By.prototype.getProjection=By.prototype.Va;By.prototype.getState=By.prototype.getState;By.prototype.setAttributions=By.prototype.Ja;By.prototype.get=By.prototype.get;By.prototype.getKeys=By.prototype.P;By.prototype.getProperties=By.prototype.K;By.prototype.set=By.prototype.set;By.prototype.setProperties=By.prototype.I;By.prototype.unset=By.prototype.S;By.prototype.changed=By.prototype.A;By.prototype.dispatchEvent=By.prototype.b;
By.prototype.getRevision=By.prototype.N;By.prototype.on=By.prototype.J;By.prototype.once=By.prototype.once;By.prototype.un=By.prototype.M;Cy.prototype.setRenderReprojectionEdges=Cy.prototype.Hc;Cy.prototype.setTileGridForProjection=Cy.prototype.Ic;Cy.prototype.getTileLoadFunction=Cy.prototype.gc;Cy.prototype.getTileUrlFunction=Cy.prototype.hc;Cy.prototype.getUrls=Cy.prototype.ic;Cy.prototype.setTileLoadFunction=Cy.prototype.mc;Cy.prototype.setTileUrlFunction=Cy.prototype.Ib;Cy.prototype.setUrl=Cy.prototype.Sb;
Cy.prototype.setUrls=Cy.prototype.Wb;Cy.prototype.getTileGrid=Cy.prototype.Kb;Cy.prototype.refresh=Cy.prototype.Fa;Cy.prototype.getAttributions=Cy.prototype.Sa;Cy.prototype.getLogo=Cy.prototype.Ua;Cy.prototype.getProjection=Cy.prototype.Va;Cy.prototype.getState=Cy.prototype.getState;Cy.prototype.setAttributions=Cy.prototype.Ja;Cy.prototype.get=Cy.prototype.get;Cy.prototype.getKeys=Cy.prototype.P;Cy.prototype.getProperties=Cy.prototype.K;Cy.prototype.set=Cy.prototype.set;
Cy.prototype.setProperties=Cy.prototype.I;Cy.prototype.unset=Cy.prototype.S;Cy.prototype.changed=Cy.prototype.A;Cy.prototype.dispatchEvent=Cy.prototype.b;Cy.prototype.getRevision=Cy.prototype.N;Cy.prototype.on=Cy.prototype.J;Cy.prototype.once=Cy.prototype.once;Cy.prototype.un=Cy.prototype.M;Dy.prototype.setRenderReprojectionEdges=Dy.prototype.Hc;Dy.prototype.setTileGridForProjection=Dy.prototype.Ic;Dy.prototype.getTileLoadFunction=Dy.prototype.gc;Dy.prototype.getTileUrlFunction=Dy.prototype.hc;
Dy.prototype.getUrls=Dy.prototype.ic;Dy.prototype.setTileLoadFunction=Dy.prototype.mc;Dy.prototype.setTileUrlFunction=Dy.prototype.Ib;Dy.prototype.setUrl=Dy.prototype.Sb;Dy.prototype.setUrls=Dy.prototype.Wb;Dy.prototype.getTileGrid=Dy.prototype.Kb;Dy.prototype.refresh=Dy.prototype.Fa;Dy.prototype.getAttributions=Dy.prototype.Sa;Dy.prototype.getLogo=Dy.prototype.Ua;Dy.prototype.getProjection=Dy.prototype.Va;Dy.prototype.getState=Dy.prototype.getState;Dy.prototype.setAttributions=Dy.prototype.Ja;
Dy.prototype.get=Dy.prototype.get;Dy.prototype.getKeys=Dy.prototype.P;Dy.prototype.getProperties=Dy.prototype.K;Dy.prototype.set=Dy.prototype.set;Dy.prototype.setProperties=Dy.prototype.I;Dy.prototype.unset=Dy.prototype.S;Dy.prototype.changed=Dy.prototype.A;Dy.prototype.dispatchEvent=Dy.prototype.b;Dy.prototype.getRevision=Dy.prototype.N;Dy.prototype.on=Dy.prototype.J;Dy.prototype.once=Dy.prototype.once;Dy.prototype.un=Dy.prototype.M;U.prototype.getAttributions=U.prototype.Sa;
U.prototype.getLogo=U.prototype.Ua;U.prototype.getProjection=U.prototype.Va;U.prototype.getState=U.prototype.getState;U.prototype.refresh=U.prototype.Fa;U.prototype.setAttributions=U.prototype.Ja;U.prototype.get=U.prototype.get;U.prototype.getKeys=U.prototype.P;U.prototype.getProperties=U.prototype.K;U.prototype.set=U.prototype.set;U.prototype.setProperties=U.prototype.I;U.prototype.unset=U.prototype.S;U.prototype.changed=U.prototype.A;U.prototype.dispatchEvent=U.prototype.b;
U.prototype.getRevision=U.prototype.N;U.prototype.on=U.prototype.J;U.prototype.once=U.prototype.once;U.prototype.un=U.prototype.M;W.prototype.addFeature=W.prototype.eb;W.prototype.addFeatures=W.prototype.Lc;W.prototype.clear=W.prototype.clear;W.prototype.forEachFeature=W.prototype.eh;W.prototype.forEachFeatureInExtent=W.prototype.Pc;W.prototype.forEachFeatureIntersectingExtent=W.prototype.fh;W.prototype.getFeaturesCollection=W.prototype.lh;W.prototype.getFeatures=W.prototype.Pb;
W.prototype.getFeaturesAtCoordinate=W.prototype.kh;W.prototype.getFeaturesInExtent=W.prototype.Of;W.prototype.getClosestFeatureToCoordinate=W.prototype.ih;W.prototype.getExtent=W.prototype.G;W.prototype.getFeatureById=W.prototype.jh;W.prototype.getFormat=W.prototype.Ph;W.prototype.getUrl=W.prototype.Qh;W.prototype.removeLoadedExtent=W.prototype.ni;W.prototype.removeFeature=W.prototype.jb;W.prototype.setLoader=W.prototype.Rh;W.prototype.getAttributions=W.prototype.Sa;W.prototype.getLogo=W.prototype.Ua;
W.prototype.getProjection=W.prototype.Va;W.prototype.getState=W.prototype.getState;W.prototype.refresh=W.prototype.Fa;W.prototype.setAttributions=W.prototype.Ja;W.prototype.get=W.prototype.get;W.prototype.getKeys=W.prototype.P;W.prototype.getProperties=W.prototype.K;W.prototype.set=W.prototype.set;W.prototype.setProperties=W.prototype.I;W.prototype.unset=W.prototype.S;W.prototype.changed=W.prototype.A;W.prototype.dispatchEvent=W.prototype.b;W.prototype.getRevision=W.prototype.N;W.prototype.on=W.prototype.J;
W.prototype.once=W.prototype.once;W.prototype.un=W.prototype.M;Iy.prototype.getAttributions=Iy.prototype.Sa;Iy.prototype.getLogo=Iy.prototype.Ua;Iy.prototype.getProjection=Iy.prototype.Va;Iy.prototype.getState=Iy.prototype.getState;Iy.prototype.refresh=Iy.prototype.Fa;Iy.prototype.setAttributions=Iy.prototype.Ja;Iy.prototype.get=Iy.prototype.get;Iy.prototype.getKeys=Iy.prototype.P;Iy.prototype.getProperties=Iy.prototype.K;Iy.prototype.set=Iy.prototype.set;Iy.prototype.setProperties=Iy.prototype.I;
Iy.prototype.unset=Iy.prototype.S;Iy.prototype.changed=Iy.prototype.A;Iy.prototype.dispatchEvent=Iy.prototype.b;Iy.prototype.getRevision=Iy.prototype.N;Iy.prototype.on=Iy.prototype.J;Iy.prototype.once=Iy.prototype.once;Iy.prototype.un=Iy.prototype.M;Ky.prototype.type=Ky.prototype.type;Ky.prototype.target=Ky.prototype.target;Ky.prototype.preventDefault=Ky.prototype.preventDefault;Ky.prototype.stopPropagation=Ky.prototype.stopPropagation;Qy.prototype.getAttributions=Qy.prototype.Sa;
Qy.prototype.getLogo=Qy.prototype.Ua;Qy.prototype.getProjection=Qy.prototype.Va;Qy.prototype.getState=Qy.prototype.getState;Qy.prototype.refresh=Qy.prototype.Fa;Qy.prototype.setAttributions=Qy.prototype.Ja;Qy.prototype.get=Qy.prototype.get;Qy.prototype.getKeys=Qy.prototype.P;Qy.prototype.getProperties=Qy.prototype.K;Qy.prototype.set=Qy.prototype.set;Qy.prototype.setProperties=Qy.prototype.I;Qy.prototype.unset=Qy.prototype.S;Qy.prototype.changed=Qy.prototype.A;Qy.prototype.dispatchEvent=Qy.prototype.b;
Qy.prototype.getRevision=Qy.prototype.N;Qy.prototype.on=Qy.prototype.J;Qy.prototype.once=Qy.prototype.once;Qy.prototype.un=Qy.prototype.M;Ry.prototype.getAttributions=Ry.prototype.Sa;Ry.prototype.getLogo=Ry.prototype.Ua;Ry.prototype.getProjection=Ry.prototype.Va;Ry.prototype.getState=Ry.prototype.getState;Ry.prototype.refresh=Ry.prototype.Fa;Ry.prototype.setAttributions=Ry.prototype.Ja;Ry.prototype.get=Ry.prototype.get;Ry.prototype.getKeys=Ry.prototype.P;Ry.prototype.getProperties=Ry.prototype.K;
Ry.prototype.set=Ry.prototype.set;Ry.prototype.setProperties=Ry.prototype.I;Ry.prototype.unset=Ry.prototype.S;Ry.prototype.changed=Ry.prototype.A;Ry.prototype.dispatchEvent=Ry.prototype.b;Ry.prototype.getRevision=Ry.prototype.N;Ry.prototype.on=Ry.prototype.J;Ry.prototype.once=Ry.prototype.once;Ry.prototype.un=Ry.prototype.M;Sy.prototype.getAttributions=Sy.prototype.Sa;Sy.prototype.getLogo=Sy.prototype.Ua;Sy.prototype.getProjection=Sy.prototype.Va;Sy.prototype.getState=Sy.prototype.getState;
Sy.prototype.refresh=Sy.prototype.Fa;Sy.prototype.setAttributions=Sy.prototype.Ja;Sy.prototype.get=Sy.prototype.get;Sy.prototype.getKeys=Sy.prototype.P;Sy.prototype.getProperties=Sy.prototype.K;Sy.prototype.set=Sy.prototype.set;Sy.prototype.setProperties=Sy.prototype.I;Sy.prototype.unset=Sy.prototype.S;Sy.prototype.changed=Sy.prototype.A;Sy.prototype.dispatchEvent=Sy.prototype.b;Sy.prototype.getRevision=Sy.prototype.N;Sy.prototype.on=Sy.prototype.J;Sy.prototype.once=Sy.prototype.once;
Sy.prototype.un=Sy.prototype.M;Ty.prototype.getAttributions=Ty.prototype.Sa;Ty.prototype.getLogo=Ty.prototype.Ua;Ty.prototype.getProjection=Ty.prototype.Va;Ty.prototype.getState=Ty.prototype.getState;Ty.prototype.refresh=Ty.prototype.Fa;Ty.prototype.setAttributions=Ty.prototype.Ja;Ty.prototype.get=Ty.prototype.get;Ty.prototype.getKeys=Ty.prototype.P;Ty.prototype.getProperties=Ty.prototype.K;Ty.prototype.set=Ty.prototype.set;Ty.prototype.setProperties=Ty.prototype.I;Ty.prototype.unset=Ty.prototype.S;
Ty.prototype.changed=Ty.prototype.A;Ty.prototype.dispatchEvent=Ty.prototype.b;Ty.prototype.getRevision=Ty.prototype.N;Ty.prototype.on=Ty.prototype.J;Ty.prototype.once=Ty.prototype.once;Ty.prototype.un=Ty.prototype.M;Uy.prototype.getAttributions=Uy.prototype.Sa;Uy.prototype.getLogo=Uy.prototype.Ua;Uy.prototype.getProjection=Uy.prototype.Va;Uy.prototype.getState=Uy.prototype.getState;Uy.prototype.refresh=Uy.prototype.Fa;Uy.prototype.setAttributions=Uy.prototype.Ja;Uy.prototype.get=Uy.prototype.get;
Uy.prototype.getKeys=Uy.prototype.P;Uy.prototype.getProperties=Uy.prototype.K;Uy.prototype.set=Uy.prototype.set;Uy.prototype.setProperties=Uy.prototype.I;Uy.prototype.unset=Uy.prototype.S;Uy.prototype.changed=Uy.prototype.A;Uy.prototype.dispatchEvent=Uy.prototype.b;Uy.prototype.getRevision=Uy.prototype.N;Uy.prototype.on=Uy.prototype.J;Uy.prototype.once=Uy.prototype.once;Uy.prototype.un=Uy.prototype.M;Wy.prototype.getAttributions=Wy.prototype.Sa;Wy.prototype.getLogo=Wy.prototype.Ua;
Wy.prototype.getProjection=Wy.prototype.Va;Wy.prototype.getState=Wy.prototype.getState;Wy.prototype.refresh=Wy.prototype.Fa;Wy.prototype.setAttributions=Wy.prototype.Ja;Wy.prototype.get=Wy.prototype.get;Wy.prototype.getKeys=Wy.prototype.P;Wy.prototype.getProperties=Wy.prototype.K;Wy.prototype.set=Wy.prototype.set;Wy.prototype.setProperties=Wy.prototype.I;Wy.prototype.unset=Wy.prototype.S;Wy.prototype.changed=Wy.prototype.A;Wy.prototype.dispatchEvent=Wy.prototype.b;Wy.prototype.getRevision=Wy.prototype.N;
Wy.prototype.on=Wy.prototype.J;Wy.prototype.once=Wy.prototype.once;Wy.prototype.un=Wy.prototype.M;$y.prototype.setRenderReprojectionEdges=$y.prototype.Hc;$y.prototype.setTileGridForProjection=$y.prototype.Ic;$y.prototype.getTileLoadFunction=$y.prototype.gc;$y.prototype.getTileUrlFunction=$y.prototype.hc;$y.prototype.getUrls=$y.prototype.ic;$y.prototype.setTileLoadFunction=$y.prototype.mc;$y.prototype.setTileUrlFunction=$y.prototype.Ib;$y.prototype.setUrl=$y.prototype.Sb;$y.prototype.setUrls=$y.prototype.Wb;
$y.prototype.getTileGrid=$y.prototype.Kb;$y.prototype.refresh=$y.prototype.Fa;$y.prototype.getAttributions=$y.prototype.Sa;$y.prototype.getLogo=$y.prototype.Ua;$y.prototype.getProjection=$y.prototype.Va;$y.prototype.getState=$y.prototype.getState;$y.prototype.setAttributions=$y.prototype.Ja;$y.prototype.get=$y.prototype.get;$y.prototype.getKeys=$y.prototype.P;$y.prototype.getProperties=$y.prototype.K;$y.prototype.set=$y.prototype.set;$y.prototype.setProperties=$y.prototype.I;$y.prototype.unset=$y.prototype.S;
$y.prototype.changed=$y.prototype.A;$y.prototype.dispatchEvent=$y.prototype.b;$y.prototype.getRevision=$y.prototype.N;$y.prototype.on=$y.prototype.J;$y.prototype.once=$y.prototype.once;$y.prototype.un=$y.prototype.M;az.prototype.getAttributions=az.prototype.Sa;az.prototype.getLogo=az.prototype.Ua;az.prototype.getProjection=az.prototype.Va;az.prototype.getState=az.prototype.getState;az.prototype.refresh=az.prototype.Fa;az.prototype.setAttributions=az.prototype.Ja;az.prototype.get=az.prototype.get;
az.prototype.getKeys=az.prototype.P;az.prototype.getProperties=az.prototype.K;az.prototype.set=az.prototype.set;az.prototype.setProperties=az.prototype.I;az.prototype.unset=az.prototype.S;az.prototype.changed=az.prototype.A;az.prototype.dispatchEvent=az.prototype.b;az.prototype.getRevision=az.prototype.N;az.prototype.on=az.prototype.J;az.prototype.once=az.prototype.once;az.prototype.un=az.prototype.M;ez.prototype.type=ez.prototype.type;ez.prototype.target=ez.prototype.target;
ez.prototype.preventDefault=ez.prototype.preventDefault;ez.prototype.stopPropagation=ez.prototype.stopPropagation;hz.prototype.setRenderReprojectionEdges=hz.prototype.Hc;hz.prototype.setTileGridForProjection=hz.prototype.Ic;hz.prototype.getTileLoadFunction=hz.prototype.gc;hz.prototype.getTileUrlFunction=hz.prototype.hc;hz.prototype.getUrls=hz.prototype.ic;hz.prototype.setTileLoadFunction=hz.prototype.mc;hz.prototype.setTileUrlFunction=hz.prototype.Ib;hz.prototype.setUrl=hz.prototype.Sb;
hz.prototype.setUrls=hz.prototype.Wb;hz.prototype.getTileGrid=hz.prototype.Kb;hz.prototype.refresh=hz.prototype.Fa;hz.prototype.getAttributions=hz.prototype.Sa;hz.prototype.getLogo=hz.prototype.Ua;hz.prototype.getProjection=hz.prototype.Va;hz.prototype.getState=hz.prototype.getState;hz.prototype.setAttributions=hz.prototype.Ja;hz.prototype.get=hz.prototype.get;hz.prototype.getKeys=hz.prototype.P;hz.prototype.getProperties=hz.prototype.K;hz.prototype.set=hz.prototype.set;
hz.prototype.setProperties=hz.prototype.I;hz.prototype.unset=hz.prototype.S;hz.prototype.changed=hz.prototype.A;hz.prototype.dispatchEvent=hz.prototype.b;hz.prototype.getRevision=hz.prototype.N;hz.prototype.on=hz.prototype.J;hz.prototype.once=hz.prototype.once;hz.prototype.un=hz.prototype.M;vy.prototype.type=vy.prototype.type;vy.prototype.target=vy.prototype.target;vy.prototype.preventDefault=vy.prototype.preventDefault;vy.prototype.stopPropagation=vy.prototype.stopPropagation;
lz.prototype.setRenderReprojectionEdges=lz.prototype.Hc;lz.prototype.setTileGridForProjection=lz.prototype.Ic;lz.prototype.getTileLoadFunction=lz.prototype.gc;lz.prototype.getTileUrlFunction=lz.prototype.hc;lz.prototype.getUrls=lz.prototype.ic;lz.prototype.setTileLoadFunction=lz.prototype.mc;lz.prototype.setTileUrlFunction=lz.prototype.Ib;lz.prototype.setUrl=lz.prototype.Sb;lz.prototype.setUrls=lz.prototype.Wb;lz.prototype.getTileGrid=lz.prototype.Kb;lz.prototype.refresh=lz.prototype.Fa;
lz.prototype.getAttributions=lz.prototype.Sa;lz.prototype.getLogo=lz.prototype.Ua;lz.prototype.getProjection=lz.prototype.Va;lz.prototype.getState=lz.prototype.getState;lz.prototype.setAttributions=lz.prototype.Ja;lz.prototype.get=lz.prototype.get;lz.prototype.getKeys=lz.prototype.P;lz.prototype.getProperties=lz.prototype.K;lz.prototype.set=lz.prototype.set;lz.prototype.setProperties=lz.prototype.I;lz.prototype.unset=lz.prototype.S;lz.prototype.changed=lz.prototype.A;lz.prototype.dispatchEvent=lz.prototype.b;
lz.prototype.getRevision=lz.prototype.N;lz.prototype.on=lz.prototype.J;lz.prototype.once=lz.prototype.once;lz.prototype.un=lz.prototype.M;nz.prototype.getTileGrid=nz.prototype.Kb;nz.prototype.refresh=nz.prototype.Fa;nz.prototype.getAttributions=nz.prototype.Sa;nz.prototype.getLogo=nz.prototype.Ua;nz.prototype.getProjection=nz.prototype.Va;nz.prototype.getState=nz.prototype.getState;nz.prototype.setAttributions=nz.prototype.Ja;nz.prototype.get=nz.prototype.get;nz.prototype.getKeys=nz.prototype.P;
nz.prototype.getProperties=nz.prototype.K;nz.prototype.set=nz.prototype.set;nz.prototype.setProperties=nz.prototype.I;nz.prototype.unset=nz.prototype.S;nz.prototype.changed=nz.prototype.A;nz.prototype.dispatchEvent=nz.prototype.b;nz.prototype.getRevision=nz.prototype.N;nz.prototype.on=nz.prototype.J;nz.prototype.once=nz.prototype.once;nz.prototype.un=nz.prototype.M;pz.prototype.setRenderReprojectionEdges=pz.prototype.Hc;pz.prototype.setTileGridForProjection=pz.prototype.Ic;
pz.prototype.getTileLoadFunction=pz.prototype.gc;pz.prototype.getTileUrlFunction=pz.prototype.hc;pz.prototype.getUrls=pz.prototype.ic;pz.prototype.setTileLoadFunction=pz.prototype.mc;pz.prototype.setTileUrlFunction=pz.prototype.Ib;pz.prototype.setUrl=pz.prototype.Sb;pz.prototype.setUrls=pz.prototype.Wb;pz.prototype.getTileGrid=pz.prototype.Kb;pz.prototype.refresh=pz.prototype.Fa;pz.prototype.getAttributions=pz.prototype.Sa;pz.prototype.getLogo=pz.prototype.Ua;pz.prototype.getProjection=pz.prototype.Va;
pz.prototype.getState=pz.prototype.getState;pz.prototype.setAttributions=pz.prototype.Ja;pz.prototype.get=pz.prototype.get;pz.prototype.getKeys=pz.prototype.P;pz.prototype.getProperties=pz.prototype.K;pz.prototype.set=pz.prototype.set;pz.prototype.setProperties=pz.prototype.I;pz.prototype.unset=pz.prototype.S;pz.prototype.changed=pz.prototype.A;pz.prototype.dispatchEvent=pz.prototype.b;pz.prototype.getRevision=pz.prototype.N;pz.prototype.on=pz.prototype.J;pz.prototype.once=pz.prototype.once;
pz.prototype.un=pz.prototype.M;qz.prototype.getTileGrid=qz.prototype.Kb;qz.prototype.refresh=qz.prototype.Fa;qz.prototype.getAttributions=qz.prototype.Sa;qz.prototype.getLogo=qz.prototype.Ua;qz.prototype.getProjection=qz.prototype.Va;qz.prototype.getState=qz.prototype.getState;qz.prototype.setAttributions=qz.prototype.Ja;qz.prototype.get=qz.prototype.get;qz.prototype.getKeys=qz.prototype.P;qz.prototype.getProperties=qz.prototype.K;qz.prototype.set=qz.prototype.set;qz.prototype.setProperties=qz.prototype.I;
qz.prototype.unset=qz.prototype.S;qz.prototype.changed=qz.prototype.A;qz.prototype.dispatchEvent=qz.prototype.b;qz.prototype.getRevision=qz.prototype.N;qz.prototype.on=qz.prototype.J;qz.prototype.once=qz.prototype.once;qz.prototype.un=qz.prototype.M;uz.prototype.setRenderReprojectionEdges=uz.prototype.Hc;uz.prototype.setTileGridForProjection=uz.prototype.Ic;uz.prototype.getTileLoadFunction=uz.prototype.gc;uz.prototype.getTileUrlFunction=uz.prototype.hc;uz.prototype.getUrls=uz.prototype.ic;
uz.prototype.setTileLoadFunction=uz.prototype.mc;uz.prototype.setTileUrlFunction=uz.prototype.Ib;uz.prototype.setUrl=uz.prototype.Sb;uz.prototype.setUrls=uz.prototype.Wb;uz.prototype.getTileGrid=uz.prototype.Kb;uz.prototype.refresh=uz.prototype.Fa;uz.prototype.getAttributions=uz.prototype.Sa;uz.prototype.getLogo=uz.prototype.Ua;uz.prototype.getProjection=uz.prototype.Va;uz.prototype.getState=uz.prototype.getState;uz.prototype.setAttributions=uz.prototype.Ja;uz.prototype.get=uz.prototype.get;
uz.prototype.getKeys=uz.prototype.P;uz.prototype.getProperties=uz.prototype.K;uz.prototype.set=uz.prototype.set;uz.prototype.setProperties=uz.prototype.I;uz.prototype.unset=uz.prototype.S;uz.prototype.changed=uz.prototype.A;uz.prototype.dispatchEvent=uz.prototype.b;uz.prototype.getRevision=uz.prototype.N;uz.prototype.on=uz.prototype.J;uz.prototype.once=uz.prototype.once;uz.prototype.un=uz.prototype.M;Iw.prototype.type=Iw.prototype.type;Iw.prototype.target=Iw.prototype.target;
Iw.prototype.preventDefault=Iw.prototype.preventDefault;Iw.prototype.stopPropagation=Iw.prototype.stopPropagation;Az.prototype.getTileLoadFunction=Az.prototype.gc;Az.prototype.getTileUrlFunction=Az.prototype.hc;Az.prototype.getUrls=Az.prototype.ic;Az.prototype.setTileLoadFunction=Az.prototype.mc;Az.prototype.setTileUrlFunction=Az.prototype.Ib;Az.prototype.setUrl=Az.prototype.Sb;Az.prototype.setUrls=Az.prototype.Wb;Az.prototype.getTileGrid=Az.prototype.Kb;Az.prototype.refresh=Az.prototype.Fa;
Az.prototype.getAttributions=Az.prototype.Sa;Az.prototype.getLogo=Az.prototype.Ua;Az.prototype.getProjection=Az.prototype.Va;Az.prototype.getState=Az.prototype.getState;Az.prototype.setAttributions=Az.prototype.Ja;Az.prototype.get=Az.prototype.get;Az.prototype.getKeys=Az.prototype.P;Az.prototype.getProperties=Az.prototype.K;Az.prototype.set=Az.prototype.set;Az.prototype.setProperties=Az.prototype.I;Az.prototype.unset=Az.prototype.S;Az.prototype.changed=Az.prototype.A;Az.prototype.dispatchEvent=Az.prototype.b;
Az.prototype.getRevision=Az.prototype.N;Az.prototype.on=Az.prototype.J;Az.prototype.once=Az.prototype.once;Az.prototype.un=Az.prototype.M;Dz.prototype.setRenderReprojectionEdges=Dz.prototype.Hc;Dz.prototype.setTileGridForProjection=Dz.prototype.Ic;Dz.prototype.getTileLoadFunction=Dz.prototype.gc;Dz.prototype.getTileUrlFunction=Dz.prototype.hc;Dz.prototype.getUrls=Dz.prototype.ic;Dz.prototype.setTileLoadFunction=Dz.prototype.mc;Dz.prototype.setTileUrlFunction=Dz.prototype.Ib;Dz.prototype.setUrl=Dz.prototype.Sb;
Dz.prototype.setUrls=Dz.prototype.Wb;Dz.prototype.getTileGrid=Dz.prototype.Kb;Dz.prototype.refresh=Dz.prototype.Fa;Dz.prototype.getAttributions=Dz.prototype.Sa;Dz.prototype.getLogo=Dz.prototype.Ua;Dz.prototype.getProjection=Dz.prototype.Va;Dz.prototype.getState=Dz.prototype.getState;Dz.prototype.setAttributions=Dz.prototype.Ja;Dz.prototype.get=Dz.prototype.get;Dz.prototype.getKeys=Dz.prototype.P;Dz.prototype.getProperties=Dz.prototype.K;Dz.prototype.set=Dz.prototype.set;
Dz.prototype.setProperties=Dz.prototype.I;Dz.prototype.unset=Dz.prototype.S;Dz.prototype.changed=Dz.prototype.A;Dz.prototype.dispatchEvent=Dz.prototype.b;Dz.prototype.getRevision=Dz.prototype.N;Dz.prototype.on=Dz.prototype.J;Dz.prototype.once=Dz.prototype.once;Dz.prototype.un=Dz.prototype.M;Fz.prototype.setRenderReprojectionEdges=Fz.prototype.Hc;Fz.prototype.setTileGridForProjection=Fz.prototype.Ic;Fz.prototype.getTileLoadFunction=Fz.prototype.gc;Fz.prototype.getTileUrlFunction=Fz.prototype.hc;
Fz.prototype.getUrls=Fz.prototype.ic;Fz.prototype.setTileLoadFunction=Fz.prototype.mc;Fz.prototype.setTileUrlFunction=Fz.prototype.Ib;Fz.prototype.setUrl=Fz.prototype.Sb;Fz.prototype.setUrls=Fz.prototype.Wb;Fz.prototype.getTileGrid=Fz.prototype.Kb;Fz.prototype.refresh=Fz.prototype.Fa;Fz.prototype.getAttributions=Fz.prototype.Sa;Fz.prototype.getLogo=Fz.prototype.Ua;Fz.prototype.getProjection=Fz.prototype.Va;Fz.prototype.getState=Fz.prototype.getState;Fz.prototype.setAttributions=Fz.prototype.Ja;
Fz.prototype.get=Fz.prototype.get;Fz.prototype.getKeys=Fz.prototype.P;Fz.prototype.getProperties=Fz.prototype.K;Fz.prototype.set=Fz.prototype.set;Fz.prototype.setProperties=Fz.prototype.I;Fz.prototype.unset=Fz.prototype.S;Fz.prototype.changed=Fz.prototype.A;Fz.prototype.dispatchEvent=Fz.prototype.b;Fz.prototype.getRevision=Fz.prototype.N;Fz.prototype.on=Fz.prototype.J;Fz.prototype.once=Fz.prototype.once;Fz.prototype.un=Fz.prototype.M;Hd.prototype.getOpacity=Hd.prototype.sg;
Hd.prototype.getRotateWithView=Hd.prototype.tg;Hd.prototype.getRotation=Hd.prototype.ug;Hd.prototype.getScale=Hd.prototype.vg;Hd.prototype.getSnapToPixel=Hd.prototype.Wf;Hd.prototype.setOpacity=Hd.prototype.Yd;Hd.prototype.setRotation=Hd.prototype.Zd;Hd.prototype.setScale=Hd.prototype.Fe;Jd.prototype.clone=Jd.prototype.clone;Jd.prototype.getAngle=Jd.prototype.xk;Jd.prototype.getFill=Jd.prototype.Ya;Jd.prototype.getPoints=Jd.prototype.yk;Jd.prototype.getRadius=Jd.prototype.zk;
Jd.prototype.getRadius2=Jd.prototype.kj;Jd.prototype.getStroke=Jd.prototype.ab;Jd.prototype.getOpacity=Jd.prototype.sg;Jd.prototype.getRotateWithView=Jd.prototype.tg;Jd.prototype.getRotation=Jd.prototype.ug;Jd.prototype.getScale=Jd.prototype.vg;Jd.prototype.getSnapToPixel=Jd.prototype.Wf;Jd.prototype.setOpacity=Jd.prototype.Yd;Jd.prototype.setRotation=Jd.prototype.Zd;Jd.prototype.setScale=Jd.prototype.Fe;ir.prototype.getOpacity=ir.prototype.sg;ir.prototype.getRotateWithView=ir.prototype.tg;
ir.prototype.getRotation=ir.prototype.ug;ir.prototype.getScale=ir.prototype.vg;ir.prototype.getSnapToPixel=ir.prototype.Wf;ir.prototype.setOpacity=ir.prototype.Yd;ir.prototype.setRotation=ir.prototype.Zd;ir.prototype.setScale=ir.prototype.Fe;Bz.prototype.forEachTileCoord=Bz.prototype.gh;Bz.prototype.getMaxZoom=Bz.prototype.Bk;Bz.prototype.getMinZoom=Bz.prototype.Ck;Bz.prototype.getOrigin=Bz.prototype.Bd;Bz.prototype.getResolution=Bz.prototype.la;Bz.prototype.getResolutions=Bz.prototype.Dk;
Bz.prototype.getTileCoordExtent=Bz.prototype.ib;Bz.prototype.getTileCoordForCoordAndResolution=Bz.prototype.Xf;Bz.prototype.getTileCoordForCoordAndZ=Bz.prototype.xh;Bz.prototype.getTileSize=Bz.prototype.wb;Bz.prototype.getZForResolution=Bz.prototype.wd;yz.prototype.getTileCoord=yz.prototype.g;yz.prototype.load=yz.prototype.load;Tn.prototype.getTileCoord=Tn.prototype.g;Tn.prototype.load=Tn.prototype.load;G.prototype.get=G.prototype.get;G.prototype.getKeys=G.prototype.P;G.prototype.getProperties=G.prototype.K;
G.prototype.set=G.prototype.set;G.prototype.setProperties=G.prototype.I;G.prototype.unset=G.prototype.S;G.prototype.changed=G.prototype.A;G.prototype.dispatchEvent=G.prototype.b;G.prototype.getRevision=G.prototype.N;G.prototype.on=G.prototype.J;G.prototype.once=G.prototype.once;G.prototype.un=G.prototype.M;Kz.prototype.getCollapsible=Kz.prototype.Dj;Kz.prototype.setCollapsible=Kz.prototype.Fj;Kz.prototype.setCollapsed=Kz.prototype.Ej;Kz.prototype.getCollapsed=Kz.prototype.Cj;Kz.prototype.getMap=Kz.prototype.T;
Kz.prototype.setMap=Kz.prototype.setMap;Kz.prototype.setTarget=Kz.prototype.a;Kz.prototype.get=Kz.prototype.get;Kz.prototype.getKeys=Kz.prototype.P;Kz.prototype.getProperties=Kz.prototype.K;Kz.prototype.set=Kz.prototype.set;Kz.prototype.setProperties=Kz.prototype.I;Kz.prototype.unset=Kz.prototype.S;Kz.prototype.changed=Kz.prototype.A;Kz.prototype.dispatchEvent=Kz.prototype.b;Kz.prototype.getRevision=Kz.prototype.N;Kz.prototype.on=Kz.prototype.J;Kz.prototype.once=Kz.prototype.once;
Kz.prototype.un=Kz.prototype.M;Qz.prototype.clone=Qz.prototype.clone;Qz.prototype.getGeometry=Qz.prototype.W;Qz.prototype.getId=Qz.prototype.Ta;Qz.prototype.getGeometryName=Qz.prototype.Nd;Qz.prototype.getStyle=Qz.prototype.Ga;Qz.prototype.getStyleFunction=Qz.prototype.gb;Qz.prototype.setGeometry=Qz.prototype.Qa;Qz.prototype.setStyle=Qz.prototype.nb;Qz.prototype.setId=Qz.prototype.Ub;Qz.prototype.setGeometryName=Qz.prototype.bc;Qz.prototype.setDraggable=Qz.prototype.Ec;Qz.prototype.getDraggable=Qz.prototype.ud;
Qz.prototype.get=Qz.prototype.get;Qz.prototype.getKeys=Qz.prototype.P;Qz.prototype.getProperties=Qz.prototype.K;Qz.prototype.set=Qz.prototype.set;Qz.prototype.setProperties=Qz.prototype.I;Qz.prototype.unset=Qz.prototype.S;Qz.prototype.changed=Qz.prototype.A;Qz.prototype.dispatchEvent=Qz.prototype.b;Qz.prototype.getRevision=Qz.prototype.N;Qz.prototype.on=Qz.prototype.J;Qz.prototype.once=Qz.prototype.once;Qz.prototype.un=Qz.prototype.M;Sz.prototype.getMap=Sz.prototype.T;Sz.prototype.setMap=Sz.prototype.setMap;
Sz.prototype.setTarget=Sz.prototype.a;Sz.prototype.get=Sz.prototype.get;Sz.prototype.getKeys=Sz.prototype.P;Sz.prototype.getProperties=Sz.prototype.K;Sz.prototype.set=Sz.prototype.set;Sz.prototype.setProperties=Sz.prototype.I;Sz.prototype.unset=Sz.prototype.S;Sz.prototype.changed=Sz.prototype.A;Sz.prototype.dispatchEvent=Sz.prototype.b;Sz.prototype.getRevision=Sz.prototype.N;Sz.prototype.on=Sz.prototype.J;Sz.prototype.once=Sz.prototype.once;Sz.prototype.un=Sz.prototype.M;Rz.prototype.clone=Rz.prototype.clone;
Rz.prototype.getGeometry=Rz.prototype.W;Rz.prototype.getId=Rz.prototype.Ta;Rz.prototype.getGeometryName=Rz.prototype.Nd;Rz.prototype.getStyle=Rz.prototype.Ga;Rz.prototype.getStyleFunction=Rz.prototype.gb;Rz.prototype.setGeometry=Rz.prototype.Qa;Rz.prototype.setStyle=Rz.prototype.nb;Rz.prototype.setId=Rz.prototype.Ub;Rz.prototype.setGeometryName=Rz.prototype.bc;Rz.prototype.setDraggable=Rz.prototype.Ec;Rz.prototype.getDraggable=Rz.prototype.ud;Rz.prototype.get=Rz.prototype.get;
Rz.prototype.getKeys=Rz.prototype.P;Rz.prototype.getProperties=Rz.prototype.K;Rz.prototype.set=Rz.prototype.set;Rz.prototype.setProperties=Rz.prototype.I;Rz.prototype.unset=Rz.prototype.S;Rz.prototype.changed=Rz.prototype.A;Rz.prototype.dispatchEvent=Rz.prototype.b;Rz.prototype.getRevision=Rz.prototype.N;Rz.prototype.on=Rz.prototype.J;Rz.prototype.once=Rz.prototype.once;Rz.prototype.un=Rz.prototype.M;UA.prototype.getClosestPoint=UA.prototype.$b;UA.prototype.intersectsCoordinate=UA.prototype.Eb;
UA.prototype.getExtent=UA.prototype.G;UA.prototype.rotate=UA.prototype.rotate;UA.prototype.scale=UA.prototype.scale;UA.prototype.simplify=UA.prototype.nc;UA.prototype.transform=UA.prototype.transform;UA.prototype.get=UA.prototype.get;UA.prototype.getKeys=UA.prototype.P;UA.prototype.getProperties=UA.prototype.K;UA.prototype.set=UA.prototype.set;UA.prototype.setProperties=UA.prototype.I;UA.prototype.unset=UA.prototype.S;UA.prototype.changed=UA.prototype.A;UA.prototype.dispatchEvent=UA.prototype.b;
UA.prototype.getRevision=UA.prototype.N;UA.prototype.on=UA.prototype.J;UA.prototype.once=UA.prototype.once;UA.prototype.un=UA.prototype.M;VA.prototype.appendLinearRing=VA.prototype.Qi;VA.prototype.getArea=VA.prototype.Yj;VA.prototype.getInteriorPoint=VA.prototype.hj;VA.prototype.getLinearRingCount=VA.prototype.ij;VA.prototype.getLinearRing=VA.prototype.rh;VA.prototype.getLinearRings=VA.prototype.ve;VA.prototype.getFirstCoordinate=VA.prototype.Qc;VA.prototype.getLastCoordinate=VA.prototype.Rc;
VA.prototype.getLayout=VA.prototype.Tc;VA.prototype.rotate=VA.prototype.rotate;VA.prototype.scale=VA.prototype.scale;VA.prototype.getClosestPoint=VA.prototype.$b;VA.prototype.intersectsCoordinate=VA.prototype.Eb;VA.prototype.getExtent=VA.prototype.G;VA.prototype.simplify=VA.prototype.nc;VA.prototype.transform=VA.prototype.transform;VA.prototype.get=VA.prototype.get;VA.prototype.getKeys=VA.prototype.P;VA.prototype.getProperties=VA.prototype.K;VA.prototype.set=VA.prototype.set;
VA.prototype.setProperties=VA.prototype.I;VA.prototype.unset=VA.prototype.S;VA.prototype.changed=VA.prototype.A;VA.prototype.dispatchEvent=VA.prototype.b;VA.prototype.getRevision=VA.prototype.N;VA.prototype.on=VA.prototype.J;VA.prototype.once=VA.prototype.once;VA.prototype.un=VA.prototype.M;eA.prototype.getElement=eA.prototype.Qd;eA.prototype.getId=eA.prototype.Ta;eA.prototype.getMap=eA.prototype.T;eA.prototype.getOffset=eA.prototype.sh;eA.prototype.getPosition=eA.prototype.vd;
eA.prototype.getPositioning=eA.prototype.uh;eA.prototype.setElement=eA.prototype.Ig;eA.prototype.setMap=eA.prototype.setMap;eA.prototype.setOffset=eA.prototype.Jg;eA.prototype.setPosition=eA.prototype.Rd;eA.prototype.setPositioning=eA.prototype.vi;eA.prototype.get=eA.prototype.get;eA.prototype.getKeys=eA.prototype.P;eA.prototype.getProperties=eA.prototype.K;eA.prototype.set=eA.prototype.set;eA.prototype.setProperties=eA.prototype.I;eA.prototype.unset=eA.prototype.S;eA.prototype.changed=eA.prototype.A;
eA.prototype.dispatchEvent=eA.prototype.b;eA.prototype.getRevision=eA.prototype.N;eA.prototype.on=eA.prototype.J;eA.prototype.once=eA.prototype.once;eA.prototype.un=eA.prototype.M;mA.prototype.getActive=mA.prototype.a;mA.prototype.getMap=mA.prototype.T;mA.prototype.setActive=mA.prototype.bb;mA.prototype.get=mA.prototype.get;mA.prototype.getKeys=mA.prototype.P;mA.prototype.getProperties=mA.prototype.K;mA.prototype.set=mA.prototype.set;mA.prototype.setProperties=mA.prototype.I;mA.prototype.unset=mA.prototype.S;
mA.prototype.changed=mA.prototype.A;mA.prototype.dispatchEvent=mA.prototype.b;mA.prototype.getRevision=mA.prototype.N;mA.prototype.on=mA.prototype.J;mA.prototype.once=mA.prototype.once;mA.prototype.un=mA.prototype.M;fA.prototype.getMap=fA.prototype.T;fA.prototype.setMap=fA.prototype.setMap;fA.prototype.setTarget=fA.prototype.a;fA.prototype.get=fA.prototype.get;fA.prototype.getKeys=fA.prototype.P;fA.prototype.getProperties=fA.prototype.K;fA.prototype.set=fA.prototype.set;
fA.prototype.setProperties=fA.prototype.I;fA.prototype.unset=fA.prototype.S;fA.prototype.changed=fA.prototype.A;fA.prototype.dispatchEvent=fA.prototype.b;fA.prototype.getRevision=fA.prototype.N;fA.prototype.on=fA.prototype.J;fA.prototype.once=fA.prototype.once;fA.prototype.un=fA.prototype.M;kA.prototype.getPreload=kA.prototype.c;kA.prototype.getUseInterimTilesOnError=kA.prototype.g;kA.prototype.setPreload=kA.prototype.R;kA.prototype.setUseInterimTilesOnError=kA.prototype.O;
kA.prototype.getSource=kA.prototype.Z;kA.prototype.getStyle=kA.prototype.Ga;kA.prototype.getStyleFunction=kA.prototype.gb;kA.prototype.setStyle=kA.prototype.j;kA.prototype.setMap=kA.prototype.setMap;kA.prototype.setSource=kA.prototype.Zc;kA.prototype.getExtent=kA.prototype.G;kA.prototype.getMaxResolution=kA.prototype.qc;kA.prototype.getMinResolution=kA.prototype.rc;kA.prototype.getOpacity=kA.prototype.tc;kA.prototype.getVisible=kA.prototype.Qb;kA.prototype.getZIndex=kA.prototype.Ia;
kA.prototype.setExtent=kA.prototype.Ac;kA.prototype.setMaxResolution=kA.prototype.Fc;kA.prototype.setMinResolution=kA.prototype.Gc;kA.prototype.setOpacity=kA.prototype.Bc;kA.prototype.setVisible=kA.prototype.Cc;kA.prototype.setZIndex=kA.prototype.Ra;kA.prototype.get=kA.prototype.get;kA.prototype.getKeys=kA.prototype.P;kA.prototype.getProperties=kA.prototype.K;kA.prototype.set=kA.prototype.set;kA.prototype.setProperties=kA.prototype.I;kA.prototype.unset=kA.prototype.S;kA.prototype.changed=kA.prototype.A;
kA.prototype.dispatchEvent=kA.prototype.b;kA.prototype.getRevision=kA.prototype.N;kA.prototype.on=kA.prototype.J;kA.prototype.once=kA.prototype.once;kA.prototype.un=kA.prototype.M;WA.prototype.getPreload=WA.prototype.c;WA.prototype.getSource=WA.prototype.Z;WA.prototype.setPreload=WA.prototype.a;WA.prototype.getUseInterimTilesOnError=WA.prototype.g;WA.prototype.setUseInterimTilesOnError=WA.prototype.j;WA.prototype.setMap=WA.prototype.setMap;WA.prototype.setSource=WA.prototype.Zc;
WA.prototype.getExtent=WA.prototype.G;WA.prototype.getMaxResolution=WA.prototype.qc;WA.prototype.getMinResolution=WA.prototype.rc;WA.prototype.getOpacity=WA.prototype.tc;WA.prototype.getVisible=WA.prototype.Qb;WA.prototype.getZIndex=WA.prototype.Ia;WA.prototype.setExtent=WA.prototype.Ac;WA.prototype.setMaxResolution=WA.prototype.Fc;WA.prototype.setMinResolution=WA.prototype.Gc;WA.prototype.setOpacity=WA.prototype.Bc;WA.prototype.setVisible=WA.prototype.Cc;WA.prototype.setZIndex=WA.prototype.Ra;
WA.prototype.get=WA.prototype.get;WA.prototype.getKeys=WA.prototype.P;WA.prototype.getProperties=WA.prototype.K;WA.prototype.set=WA.prototype.set;WA.prototype.setProperties=WA.prototype.I;WA.prototype.unset=WA.prototype.S;WA.prototype.changed=WA.prototype.A;WA.prototype.dispatchEvent=WA.prototype.b;WA.prototype.getRevision=WA.prototype.N;WA.prototype.on=WA.prototype.J;WA.prototype.once=WA.prototype.once;WA.prototype.un=WA.prototype.M;XA.prototype.getPreload=XA.prototype.c;
XA.prototype.getUseInterimTilesOnError=XA.prototype.g;XA.prototype.setPreload=XA.prototype.R;XA.prototype.setUseInterimTilesOnError=XA.prototype.O;XA.prototype.getSource=XA.prototype.Z;XA.prototype.getStyle=XA.prototype.Ga;XA.prototype.getStyleFunction=XA.prototype.gb;XA.prototype.setStyle=XA.prototype.j;XA.prototype.setMap=XA.prototype.setMap;XA.prototype.setSource=XA.prototype.Zc;XA.prototype.getExtent=XA.prototype.G;XA.prototype.getMaxResolution=XA.prototype.qc;XA.prototype.getMinResolution=XA.prototype.rc;
XA.prototype.getOpacity=XA.prototype.tc;XA.prototype.getVisible=XA.prototype.Qb;XA.prototype.getZIndex=XA.prototype.Ia;XA.prototype.setExtent=XA.prototype.Ac;XA.prototype.setMaxResolution=XA.prototype.Fc;XA.prototype.setMinResolution=XA.prototype.Gc;XA.prototype.setOpacity=XA.prototype.Bc;XA.prototype.setVisible=XA.prototype.Cc;XA.prototype.setZIndex=XA.prototype.Ra;XA.prototype.get=XA.prototype.get;XA.prototype.getKeys=XA.prototype.P;XA.prototype.getProperties=XA.prototype.K;XA.prototype.set=XA.prototype.set;
XA.prototype.setProperties=XA.prototype.I;XA.prototype.unset=XA.prototype.S;XA.prototype.changed=XA.prototype.A;XA.prototype.dispatchEvent=XA.prototype.b;XA.prototype.getRevision=XA.prototype.N;XA.prototype.on=XA.prototype.J;XA.prototype.once=XA.prototype.once;XA.prototype.un=XA.prototype.M;lA.prototype.getMap=lA.prototype.T;lA.prototype.setMap=lA.prototype.setMap;lA.prototype.setTarget=lA.prototype.a;lA.prototype.get=lA.prototype.get;lA.prototype.getKeys=lA.prototype.P;
lA.prototype.getProperties=lA.prototype.K;lA.prototype.set=lA.prototype.set;lA.prototype.setProperties=lA.prototype.I;lA.prototype.unset=lA.prototype.S;lA.prototype.changed=lA.prototype.A;lA.prototype.dispatchEvent=lA.prototype.b;lA.prototype.getRevision=lA.prototype.N;lA.prototype.on=lA.prototype.J;lA.prototype.once=lA.prototype.once;lA.prototype.un=lA.prototype.M;X.prototype.addControl=X.prototype.Ne;X.prototype.addInteraction=X.prototype.Gd;X.prototype.addLayer=X.prototype.Ob;
X.prototype.addOverlay=X.prototype.ne;X.prototype.forEachFeatureAtPixel=X.prototype.Oc;X.prototype.getFeaturesAtPixel=X.prototype.ed;X.prototype.forEachLayerAtPixel=X.prototype.hg;X.prototype.hasFeatureAtPixel=X.prototype.cg;X.prototype.getEventCoordinate=X.prototype.se;X.prototype.getEventPixel=X.prototype.Md;X.prototype.getTarget=X.prototype.xe;X.prototype.getTargetElement=X.prototype.Uc;X.prototype.getCoordinateFromPixel=X.prototype.hb;X.prototype.getControls=X.prototype.Nf;
X.prototype.getOverlays=X.prototype.Uf;X.prototype.getOverlayById=X.prototype.Tf;X.prototype.getInteractions=X.prototype.Sf;X.prototype.getLayerGroup=X.prototype.Sc;X.prototype.getLayers=X.prototype.Ae;X.prototype.getPixelFromCoordinate=X.prototype.cb;X.prototype.getSize=X.prototype.La;X.prototype.getView=X.prototype.ba;X.prototype.getViewport=X.prototype.Yf;X.prototype.renderSync=X.prototype.ef;X.prototype.render=X.prototype.render;X.prototype.removeControl=X.prototype.Eg;
X.prototype.removeInteraction=X.prototype.Vc;X.prototype.removeLayer=X.prototype.be;X.prototype.removeOverlay=X.prototype.Fg;X.prototype.setLayerGroup=X.prototype.gf;X.prototype.setSize=X.prototype.Be;X.prototype.setTarget=X.prototype.Sd;X.prototype.setView=X.prototype.Lg;X.prototype.updateSize=X.prototype.kd;X.prototype.get=X.prototype.get;X.prototype.getKeys=X.prototype.P;X.prototype.getProperties=X.prototype.K;X.prototype.set=X.prototype.set;X.prototype.setProperties=X.prototype.I;
X.prototype.unset=X.prototype.S;X.prototype.changed=X.prototype.A;X.prototype.dispatchEvent=X.prototype.b;X.prototype.getRevision=X.prototype.N;X.prototype.on=X.prototype.J;X.prototype.once=X.prototype.once;X.prototype.un=X.prototype.M;Y.prototype.clone=Y.prototype.clone;Y.prototype.getGeometry=Y.prototype.W;Y.prototype.getId=Y.prototype.Ta;Y.prototype.getGeometryName=Y.prototype.Nd;Y.prototype.getStyle=Y.prototype.Ga;Y.prototype.getStyleFunction=Y.prototype.gb;Y.prototype.setGeometry=Y.prototype.Qa;
Y.prototype.setStyle=Y.prototype.nb;Y.prototype.setId=Y.prototype.Ub;Y.prototype.setGeometryName=Y.prototype.bc;Y.prototype.setDraggable=Y.prototype.Ec;Y.prototype.getDraggable=Y.prototype.ud;Y.prototype.get=Y.prototype.get;Y.prototype.getKeys=Y.prototype.P;Y.prototype.getProperties=Y.prototype.K;Y.prototype.set=Y.prototype.set;Y.prototype.setProperties=Y.prototype.I;Y.prototype.unset=Y.prototype.S;Y.prototype.changed=Y.prototype.A;Y.prototype.dispatchEvent=Y.prototype.b;Y.prototype.getRevision=Y.prototype.N;
Y.prototype.on=Y.prototype.J;Y.prototype.once=Y.prototype.once;Y.prototype.un=Y.prototype.M;GA.prototype.clone=GA.prototype.clone;GA.prototype.getGeometry=GA.prototype.W;GA.prototype.getId=GA.prototype.Ta;GA.prototype.getGeometryName=GA.prototype.Nd;GA.prototype.getStyle=GA.prototype.Ga;GA.prototype.getStyleFunction=GA.prototype.gb;GA.prototype.setGeometry=GA.prototype.Qa;GA.prototype.setStyle=GA.prototype.nb;GA.prototype.setId=GA.prototype.Ub;GA.prototype.setGeometryName=GA.prototype.bc;
GA.prototype.setDraggable=GA.prototype.Ec;GA.prototype.getDraggable=GA.prototype.ud;GA.prototype.get=GA.prototype.get;GA.prototype.getKeys=GA.prototype.P;GA.prototype.getProperties=GA.prototype.K;GA.prototype.set=GA.prototype.set;GA.prototype.setProperties=GA.prototype.I;GA.prototype.unset=GA.prototype.S;GA.prototype.changed=GA.prototype.A;GA.prototype.dispatchEvent=GA.prototype.b;GA.prototype.getRevision=GA.prototype.N;GA.prototype.on=GA.prototype.J;GA.prototype.once=GA.prototype.once;
GA.prototype.un=GA.prototype.M;IA.prototype.clone=IA.prototype.clone;IA.prototype.getGeometry=IA.prototype.W;IA.prototype.getId=IA.prototype.Ta;IA.prototype.getGeometryName=IA.prototype.Nd;IA.prototype.getStyle=IA.prototype.Ga;IA.prototype.getStyleFunction=IA.prototype.gb;IA.prototype.setGeometry=IA.prototype.Qa;IA.prototype.setStyle=IA.prototype.nb;IA.prototype.setId=IA.prototype.Ub;IA.prototype.setGeometryName=IA.prototype.bc;IA.prototype.setDraggable=IA.prototype.Ec;IA.prototype.getDraggable=IA.prototype.ud;
IA.prototype.get=IA.prototype.get;IA.prototype.getKeys=IA.prototype.P;IA.prototype.getProperties=IA.prototype.K;IA.prototype.set=IA.prototype.set;IA.prototype.setProperties=IA.prototype.I;IA.prototype.unset=IA.prototype.S;IA.prototype.changed=IA.prototype.A;IA.prototype.dispatchEvent=IA.prototype.b;IA.prototype.getRevision=IA.prototype.N;IA.prototype.on=IA.prototype.J;IA.prototype.once=IA.prototype.once;IA.prototype.un=IA.prototype.M;KA.prototype.clone=KA.prototype.clone;
KA.prototype.getGeometry=KA.prototype.W;KA.prototype.getId=KA.prototype.Ta;KA.prototype.getGeometryName=KA.prototype.Nd;KA.prototype.getStyle=KA.prototype.Ga;KA.prototype.getStyleFunction=KA.prototype.gb;KA.prototype.setGeometry=KA.prototype.Qa;KA.prototype.setStyle=KA.prototype.nb;KA.prototype.setId=KA.prototype.Ub;KA.prototype.setGeometryName=KA.prototype.bc;KA.prototype.setDraggable=KA.prototype.Ec;KA.prototype.getDraggable=KA.prototype.ud;KA.prototype.get=KA.prototype.get;
KA.prototype.getKeys=KA.prototype.P;KA.prototype.getProperties=KA.prototype.K;KA.prototype.set=KA.prototype.set;KA.prototype.setProperties=KA.prototype.I;KA.prototype.unset=KA.prototype.S;KA.prototype.changed=KA.prototype.A;KA.prototype.dispatchEvent=KA.prototype.b;KA.prototype.getRevision=KA.prototype.N;KA.prototype.on=KA.prototype.J;KA.prototype.once=KA.prototype.once;KA.prototype.un=KA.prototype.M;LA.prototype.getMap=LA.prototype.T;LA.prototype.setMap=LA.prototype.setMap;
LA.prototype.setTarget=LA.prototype.a;LA.prototype.get=LA.prototype.get;LA.prototype.getKeys=LA.prototype.P;LA.prototype.getProperties=LA.prototype.K;LA.prototype.set=LA.prototype.set;LA.prototype.setProperties=LA.prototype.I;LA.prototype.unset=LA.prototype.S;LA.prototype.changed=LA.prototype.A;LA.prototype.dispatchEvent=LA.prototype.b;LA.prototype.getRevision=LA.prototype.N;LA.prototype.on=LA.prototype.J;LA.prototype.once=LA.prototype.once;LA.prototype.un=LA.prototype.M;Z.prototype.getDistance=Z.prototype.qk;
Z.prototype.getSource=Z.prototype.Z;Z.prototype.setDistance=Z.prototype.Yk;Z.prototype.refresh=Z.prototype.Fa;Z.prototype.addFeature=Z.prototype.eb;Z.prototype.addFeatures=Z.prototype.Lc;Z.prototype.clear=Z.prototype.clear;Z.prototype.forEachFeature=Z.prototype.eh;Z.prototype.forEachFeatureInExtent=Z.prototype.Pc;Z.prototype.forEachFeatureIntersectingExtent=Z.prototype.fh;Z.prototype.getFeaturesCollection=Z.prototype.lh;Z.prototype.getFeatures=Z.prototype.Pb;Z.prototype.getFeaturesAtCoordinate=Z.prototype.kh;
Z.prototype.getFeaturesInExtent=Z.prototype.Of;Z.prototype.getClosestFeatureToCoordinate=Z.prototype.ih;Z.prototype.getExtent=Z.prototype.G;Z.prototype.getFeatureById=Z.prototype.jh;Z.prototype.getFormat=Z.prototype.Ph;Z.prototype.getUrl=Z.prototype.Qh;Z.prototype.removeLoadedExtent=Z.prototype.ni;Z.prototype.removeFeature=Z.prototype.jb;Z.prototype.setLoader=Z.prototype.Rh;Z.prototype.getAttributions=Z.prototype.Sa;Z.prototype.getLogo=Z.prototype.Ua;Z.prototype.getProjection=Z.prototype.Va;
Z.prototype.getState=Z.prototype.getState;Z.prototype.setAttributions=Z.prototype.Ja;Z.prototype.get=Z.prototype.get;Z.prototype.getKeys=Z.prototype.P;Z.prototype.getProperties=Z.prototype.K;Z.prototype.set=Z.prototype.set;Z.prototype.setProperties=Z.prototype.I;Z.prototype.unset=Z.prototype.S;Z.prototype.changed=Z.prototype.A;Z.prototype.dispatchEvent=Z.prototype.b;Z.prototype.getRevision=Z.prototype.N;Z.prototype.on=Z.prototype.J;Z.prototype.once=Z.prototype.once;Z.prototype.un=Z.prototype.M;
QA.prototype.getMap=QA.prototype.T;QA.prototype.setMap=QA.prototype.setMap;QA.prototype.setTarget=QA.prototype.a;QA.prototype.get=QA.prototype.get;QA.prototype.getKeys=QA.prototype.P;QA.prototype.getProperties=QA.prototype.K;QA.prototype.set=QA.prototype.set;QA.prototype.setProperties=QA.prototype.I;QA.prototype.unset=QA.prototype.S;QA.prototype.changed=QA.prototype.A;QA.prototype.dispatchEvent=QA.prototype.b;QA.prototype.getRevision=QA.prototype.N;QA.prototype.on=QA.prototype.J;
QA.prototype.once=QA.prototype.once;QA.prototype.un=QA.prototype.M;
  return OPENLAYERS.routo;
}));

routo.maps.meta.load();