function initRallyMap(n){var e,i,r,c;if(n||gmap)try{e=7;geocoder=new google.maps.Geocoder;view=new ol.View({maxZoom:21});i=new ol.layer.Vector({projection:"EPSG:3857",source:new ol.source.Vector});r=document.getElementById(n);map=new ol.Map({layers:[],interactions:ol.interaction.defaults({altShiftDragRotate:!1,dragPan:!1,rotate:!1}).extend([new ol.interaction.DragPan({kinetic:null})]),controls:ol.control.defaults().extend([new ol.control.ScaleLine,new ol.control.MousePosition({coordinateFormat:ol.coordinate.createStringXY(4),projection:"EPSG:3826",target:document.getElementById("corxy"),undefinedHTML:"&nbsp;"}),new app.RotateNorthControl({imgsrc:rootsite+"images/btn_compass2.png"})]),target:r,view:view});view.setCenter(ol.proj.transform([301773,2769492],"EPSG:3826","EPSG:3857"));view.setZoom(15);map.addLayer(i);var u={},f={},o={},s={},h=function(n,t,i){var h=ol.proj.get(t),e=h.getExtent(),c=ol.extent.getWidth(e)/256,r;for(u[t]=[],f[t]=[],o[t]=ol.extent.getTopLeft(e),s[t]=n,r=0;r<i;++r)u[t][r]=c/Math.pow(2,r),f[t][r]=n+":"+r};h("EPSG:3857","EPSG:3857",19);c=[];taipeilayer=new ol.layer.Tile({source:new ol.source.XYZ({url:"https://www.historygis.udd.gov.taipei/arcgis/rest/services/Urban/EMap/MapServer/WMTS/tile/1.0.0/Urban_EMap/default/GoogleMapsCompatible/{z}/{y}/{x}"})});map.addLayer(taipeilayer);taipeilayer.setVisible(!0);markerLayer=new ol.layer.Vector({name:"markerLayer",source:new ol.source.Vector({features:[],projection:"EPSG:4326"})});markerLayer.setProperties({show:!0,id:"marker"});map.addLayer(markerLayer)}catch(t){window.console&&window.console.log&&(window.console.log(t.message),window.console.log(t.lineNumber||t.line),window.console.log(t.stackTrace||t.stack))}}function LocateMapAddress(n){var t;geocoder.geocode({address:n},function(n,i){if(i===google.maps.GeocoderStatus.OK){view.setCenter(ol.proj.transform([n[0].geometry.location.lng(),n[0].geometry.location.lat()],"EPSG:4326","EPSG:3857"));t=new ol.geom.Point(ol.proj.transform([n[0].geometry.location.lng(),n[0].geometry.location.lat()],"EPSG:4326","EPSG:3857"));var r=new ol.Feature(t);r.setStyle([new ol.style.Style({image:new ol.style.Icon({anchor:[.5,1],anchorXUnits:"pixels",anchorYUnits:"pixels",opacity:.75,scale:.05,src:rootsite+"images/locate.png"})})]);view.setZoom(18);markerLayer.getSource().clear();markerLayer.getSource().addFeature(r)}else RallyPeople.showMessageBox("error","請輸入正確門牌地址，例：台北市信義區市府路1號。",1e4)})}function LocateMapByEPSG(n,t){var r=ol.proj.transform(n,t,"EPSG:3857"),i;view.setCenter(r);geom=new ol.geom.Point(r);i=new ol.Feature(geom);i.setStyle([new ol.style.Style({image:new ol.style.Icon({anchor:[.5,1],anchorXUnits:"pixels",anchorYUnits:"pixels",opacity:.75,scale:.05,src:rootsite+"images/locate.png"})})]);view.setZoom(18);markerLayer.getSource().clear();markerLayer.getSource().addFeature(i)}!function(n){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=n();else if("function"==typeof define&&define.amd)define([],n);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this;t.proj4=n()}}(function(){return function n(t,i,r){function u(f,o){var h,c,s;if(!i[f]){if(!t[f]){if(h="function"==typeof require&&require,!o&&h)return h(f,!0);if(e)return e(f,!0);c=new Error("Cannot find module '"+f+"'");throw c.code="MODULE_NOT_FOUND",c;}s=i[f]={exports:{}};t[f][0].call(s.exports,function(n){var i=t[f][1][n];return u(i?i:n)},s,s.exports,n,t,i,r)}return i[f].exports}for(var e="function"==typeof require&&require,f=0;f<r.length;f++)u(r[f]);return u}({"./includedProjections":[function(n,t){var i=[n("./lib/projections/tmerc"),n("./lib/projections/utm"),n("./lib/projections/sterea"),n("./lib/projections/stere"),n("./lib/projections/somerc"),n("./lib/projections/omerc"),n("./lib/projections/lcc"),n("./lib/projections/krovak"),n("./lib/projections/cass"),n("./lib/projections/laea"),n("./lib/projections/aea"),n("./lib/projections/gnom"),n("./lib/projections/cea"),n("./lib/projections/eqc"),n("./lib/projections/poly"),n("./lib/projections/nzmg"),n("./lib/projections/mill"),n("./lib/projections/sinu"),n("./lib/projections/moll"),n("./lib/projections/eqdc"),n("./lib/projections/vandg"),n("./lib/projections/aeqd"),n("./lib/projections/ortho")];t.exports=function(n){i.forEach(function(t){n.Proj.projections.add(t)})}},{"./lib/projections/aea":40,"./lib/projections/aeqd":41,"./lib/projections/cass":42,"./lib/projections/cea":43,"./lib/projections/eqc":44,"./lib/projections/eqdc":45,"./lib/projections/gnom":47,"./lib/projections/krovak":48,"./lib/projections/laea":49,"./lib/projections/lcc":50,"./lib/projections/mill":53,"./lib/projections/moll":54,"./lib/projections/nzmg":55,"./lib/projections/omerc":56,"./lib/projections/ortho":57,"./lib/projections/poly":58,"./lib/projections/sinu":59,"./lib/projections/somerc":60,"./lib/projections/stere":61,"./lib/projections/sterea":62,"./lib/projections/tmerc":63,"./lib/projections/utm":64,"./lib/projections/vandg":65}],1:[function(n,t){function i(n,t,r){if(!(this instanceof i))return new i(n,t,r);if(Array.isArray(n))this.x=n[0],this.y=n[1],this.z=n[2]||0;else if("object"==typeof n)this.x=n.x,this.y=n.y,this.z=n.z||0;else if("string"==typeof n&&"undefined"==typeof t){var u=n.split(",");this.x=parseFloat(u[0],10);this.y=parseFloat(u[1],10);this.z=parseFloat(u[2],10)||0}else this.x=n,this.y=t,this.z=r||0;console.warn("proj4.Point will be removed in version 3, use proj4.toPoint")}var r=n("mgrs");i.fromMGRS=function(n){return new i(r.toPoint(n))};i.prototype.toMGRS=function(n){return r.forward([this.x,this.y],n)};t.exports=i},{mgrs:68}],2:[function(n,t){function i(n,t){var f,o,s;if(!(this instanceof i))return new i(n);if(t=t||function(n){if(n)throw n;},f=u(n),"object"!=typeof f)return void t(n);o=e(f);s=i.projections.get(o.projName);s?(r(this,o),r(this,s),this.init(),t(null,this)):t(n)}var u=n("./parseCode"),r=n("./extend"),f=n("./projections"),e=n("./deriveConstants");i.projections=f;i.projections.start();t.exports=i},{"./deriveConstants":33,"./extend":34,"./parseCode":37,"./projections":39}],3:[function(n,t){t.exports=function(n,t,i){for(var r,u,e=i.x,o=i.y,s=i.z||0,f=0;3>f;f++)if(!t||2!==f||void 0!==i.z)switch(0===f?(r=e,u="x"):1===f?(r=o,u="y"):(r=s,u="z"),n.axis[f]){case"e":i[u]=r;break;case"w":i[u]=-r;break;case"n":i[u]=r;break;case"s":i[u]=-r;break;case"u":void 0!==i[u]&&(i.z=r);break;case"d":void 0!==i[u]&&(i.z=-r);break;default:return null}return i}},{}],4:[function(n,t){var i=Math.PI/2,r=n("./sign");t.exports=function(n){return Math.abs(n)<i?n:n-r(n)*Math.PI}},{"./sign":21}],5:[function(n,t){var i=2*Math.PI,r=3.14159265359,u=n("./sign");t.exports=function(n){return Math.abs(n)<=r?n:n-u(n)*i}},{"./sign":21}],6:[function(n,t){t.exports=function(n){return Math.abs(n)>1&&(n=n>1?1:-1),Math.asin(n)}},{}],7:[function(n,t){t.exports=function(n){return 1-.25*n*(1+n/16*(3+1.25*n))}},{}],8:[function(n,t){t.exports=function(n){return.375*n*(1+.25*n*(1+.46875*n))}},{}],9:[function(n,t){t.exports=function(n){return.05859375*n*n*(1+.75*n)}},{}],10:[function(n,t){t.exports=function(n){return n*n*n*(35/3072)}},{}],11:[function(n,t){t.exports=function(n,t,i){var r=t*i;return n/Math.sqrt(1-r*r)}},{}],12:[function(n,t){t.exports=function(n,t,i,r,u){for(var e,f=n/t,o=0;15>o;o++)if(e=(n-(t*f-i*Math.sin(2*f)+r*Math.sin(4*f)-u*Math.sin(6*f)))/(t-2*i*Math.cos(2*f)+4*r*Math.cos(4*f)-6*u*Math.cos(6*f)),f+=e,Math.abs(e)<=1e-10)return f;return NaN}},{}],13:[function(n,t){var i=Math.PI/2;t.exports=function(n,t){var h=1-(1-n*n)/(2*n)*Math.log((1-n)/(1+n)),f,e,s,r,u,o;if(Math.abs(Math.abs(t)-h)<1e-6)return 0>t?-1*i:i;for(u=Math.asin(.5*t),o=0;30>o;o++)if(e=Math.sin(u),s=Math.cos(u),r=n*e,f=Math.pow(1-r*r,2)/(2*s)*(t/(1-n*n)-e/(1-r*r)+.5/n*Math.log((1-r)/(1+r))),u+=f,Math.abs(f)<=1e-10)return u;return NaN}},{}],14:[function(n,t){t.exports=function(n,t,i,r,u){return n*u-t*Math.sin(2*u)+i*Math.sin(4*u)-r*Math.sin(6*u)}},{}],15:[function(n,t){t.exports=function(n,t,i){var r=n*t;return i/Math.sqrt(1-r*r)}},{}],16:[function(n,t){var i=Math.PI/2;t.exports=function(n,t){for(var u,f,o=.5*n,r=i-2*Math.atan(t),e=0;15>=e;e++)if(u=n*Math.sin(r),f=i-2*Math.atan(t*Math.pow((1-u)/(1+u),o))-r,r+=f,Math.abs(f)<=1e-10)return r;return-9999}},{}],17:[function(n,t){var f=1,e=.25,i=.046875,r=.01953125,u=.01068115234375,o=.75,s=.46875,h=.013020833333333334,c=.007120768229166667,l=.36458333333333331,a=.005696614583333333,v=.3076171875;t.exports=function(n){var t=[],y;return t[0]=f-n*(e+n*(i+n*(r+n*u))),t[1]=n*(o-n*(i+n*(r+n*u))),y=n*n,t[2]=y*(s-n*(h+n*c)),y*=n,t[3]=y*(l-n*a),t[4]=y*n*v,t}},{}],18:[function(n,t){var i=n("./pj_mlfn"),r=1e-10,u=20;t.exports=function(n,t,f){for(var s,o,c=1/(1-t),e=n,h=u;h;--h)if(s=Math.sin(e),o=1-t*s*s,o=(i(e,s,Math.cos(e),f)-n)*o*Math.sqrt(o)*c,e-=o,Math.abs(o)<r)return e;return e}},{"./pj_mlfn":19}],19:[function(n,t){t.exports=function(n,t,i,r){return i*=t,t*=t,r[0]*n-i*(r[1]+t*(r[2]+t*(r[3]+t*r[4])))}},{}],20:[function(n,t){t.exports=function(n,t){var i;return n>1e-7?(i=n*t,(1-n*n)*(t/(1-i*i)-.5/n*Math.log((1-i)/(1+i)))):2*t}},{}],21:[function(n,t){t.exports=function(n){return 0>n?-1:1}},{}],22:[function(n,t){t.exports=function(n,t){return Math.pow((1-n)/(1+n),t)}},{}],23:[function(n,t){t.exports=function(n){var t={x:n[0],y:n[1]};return n.length>2&&(t.z=n[2]),n.length>3&&(t.m=n[3]),t}},{}],24:[function(n,t){var i=Math.PI/2;t.exports=function(n,t,r){var u=n*r,f=.5*n;return u=Math.pow((1-u)/(1+u),f),Math.tan(.5*(i-t))/u}},{}],25:[function(n,t,i){i.wgs84={towgs84:"0,0,0",ellipse:"WGS84",datumName:"WGS84"};i.ch1903={towgs84:"674.374,15.056,405.346",ellipse:"bessel",datumName:"swiss"};i.ggrs87={towgs84:"-199.87,74.79,246.62",ellipse:"GRS80",datumName:"Greek_Geodetic_Reference_System_1987"};i.nad83={towgs84:"0,0,0",ellipse:"GRS80",datumName:"North_American_Datum_1983"};i.nad27={nadgrids:"@conus,@alaska,@ntv2_0.gsb,@ntv1_can.dat",ellipse:"clrk66",datumName:"North_American_Datum_1927"};i.potsdam={towgs84:"606.0,23.0,413.0",ellipse:"bessel",datumName:"Potsdam Rauenberg 1950 DHDN"};i.carthage={towgs84:"-263.0,6.0,431.0",ellipse:"clark80",datumName:"Carthage 1934 Tunisia"};i.hermannskogel={towgs84:"653.0,-212.0,449.0",ellipse:"bessel",datumName:"Hermannskogel"};i.ire65={towgs84:"482.530,-130.596,564.557,-1.042,-0.214,-0.631,8.15",ellipse:"mod_airy",datumName:"Ireland 1965"};i.rassadiran={towgs84:"-133.63,-157.5,-158.62",ellipse:"intl",datumName:"Rassadiran"};i.nzgd49={towgs84:"59.47,-5.04,187.44,0.47,-0.1,1.024,-4.5993",ellipse:"intl",datumName:"New Zealand Geodetic Datum 1949"};i.osgb36={towgs84:"446.448,-125.157,542.060,0.1502,0.2470,0.8421,-20.4894",ellipse:"airy",datumName:"Airy 1830"};i.s_jtsk={towgs84:"589,76,480",ellipse:"bessel",datumName:"S-JTSK (Ferro)"};i.beduaram={towgs84:"-106,-87,188",ellipse:"clrk80",datumName:"Beduaram"};i.gunung_segara={towgs84:"-403,684,41",ellipse:"bessel",datumName:"Gunung Segara Jakarta"};i.rnb72={towgs84:"106.869,-52.2978,103.724,-0.33657,0.456955,-1.84218,1",ellipse:"intl",datumName:"Reseau National Belge 1972"}},{}],26:[function(n,t,i){i.MERIT={a:6378137,rf:298.257,ellipseName:"MERIT 1983"};i.SGS85={a:6378136,rf:298.257,ellipseName:"Soviet Geodetic System 85"};i.GRS80={a:6378137,rf:298.257222101,ellipseName:"GRS 1980(IUGG, 1980)"};i.IAU76={a:6378140,rf:298.257,ellipseName:"IAU 1976"};i.airy={a:6377563.396,b:6356256.91,ellipseName:"Airy 1830"};i.APL4={a:6378137,rf:298.25,ellipseName:"Appl. Physics. 1965"};i.NWL9D={a:6378145,rf:298.25,ellipseName:"Naval Weapons Lab., 1965"};i.mod_airy={a:6377340.189,b:6356034.446,ellipseName:"Modified Airy"};i.andrae={a:6377104.43,rf:300,ellipseName:"Andrae 1876 (Den., Iclnd.)"};i.aust_SA={a:6378160,rf:298.25,ellipseName:"Australian Natl & S. Amer. 1969"};i.GRS67={a:6378160,rf:298.247167427,ellipseName:"GRS 67(IUGG 1967)"};i.bessel={a:6377397.155,rf:299.1528128,ellipseName:"Bessel 1841"};i.bess_nam={a:6377483.865,rf:299.1528128,ellipseName:"Bessel 1841 (Namibia)"};i.clrk66={a:6378206.4,b:6356583.8,ellipseName:"Clarke 1866"};i.clrk80={a:6378249.145,rf:293.4663,ellipseName:"Clarke 1880 mod."};i.clrk58={a:6378293.6452087592,rf:294.26067636926541,ellipseName:"Clarke 1858"};i.CPM={a:6375738.7,rf:334.29,ellipseName:"Comm. des Poids et Mesures 1799"};i.delmbr={a:6376428,rf:311.5,ellipseName:"Delambre 1810 (Belgium)"};i.engelis={a:6378136.05,rf:298.2566,ellipseName:"Engelis 1985"};i.evrst30={a:6377276.345,rf:300.8017,ellipseName:"Everest 1830"};i.evrst48={a:6377304.063,rf:300.8017,ellipseName:"Everest 1948"};i.evrst56={a:6377301.243,rf:300.8017,ellipseName:"Everest 1956"};i.evrst69={a:6377295.664,rf:300.8017,ellipseName:"Everest 1969"};i.evrstSS={a:6377298.556,rf:300.8017,ellipseName:"Everest (Sabah & Sarawak)"};i.fschr60={a:6378166,rf:298.3,ellipseName:"Fischer (Mercury Datum) 1960"};i.fschr60m={a:6378155,rf:298.3,ellipseName:"Fischer 1960"};i.fschr68={a:6378150,rf:298.3,ellipseName:"Fischer 1968"};i.helmert={a:6378200,rf:298.3,ellipseName:"Helmert 1906"};i.hough={a:6378270,rf:297,ellipseName:"Hough"};i.intl={a:6378388,rf:297,ellipseName:"International 1909 (Hayford)"};i.kaula={a:6378163,rf:298.24,ellipseName:"Kaula 1961"};i.lerch={a:6378139,rf:298.257,ellipseName:"Lerch 1979"};i.mprts={a:6397300,rf:191,ellipseName:"Maupertius 1738"};i.new_intl={a:6378157.5,b:6356772.2,ellipseName:"New International 1967"};i.plessis={a:6376523,rf:6355863,ellipseName:"Plessis 1817 (France)"};i.krass={a:6378245,rf:298.3,ellipseName:"Krassovsky, 1942"};i.SEasia={a:6378155,b:6356773.3205,ellipseName:"Southeast Asia"};i.walbeck={a:6376896,b:6355834.8467,ellipseName:"Walbeck"};i.WGS60={a:6378165,rf:298.3,ellipseName:"WGS 60"};i.WGS66={a:6378145,rf:298.25,ellipseName:"WGS 66"};i.WGS7={a:6378135,rf:298.26,ellipseName:"WGS 72"};i.WGS84={a:6378137,rf:298.257223563,ellipseName:"WGS 84"};i.sphere={a:6370997,b:6370997,ellipseName:"Normal Sphere (r=6370997)"}},{}],27:[function(n,t,i){i.greenwich=0;i.lisbon=-9.131906111111;i.paris=2.337229166667;i.bogota=-74.080916666667;i.madrid=-3.687938888889;i.rome=12.452333333333;i.bern=7.439583333333;i.jakarta=106.807719444444;i.ferro=-17.666666666667;i.brussels=4.367975;i.stockholm=18.058277777778;i.athens=23.7163375;i.oslo=10.722916666667},{}],28:[function(n,t,i){i.ft={to_meter:.3048};i["us-ft"]={to_meter:1200/3937}},{}],29:[function(n,t){function i(n,t,i){var r;return Array.isArray(i)?(r=f(n,t,i),3===i.length?[r.x,r.y,r.z]:[r.x,r.y]):f(n,t,i)}function u(n){return n instanceof r?n:n.oProj?n.oProj:r(n)}function o(n,t,r){n=u(n);var f,o=!1;return"undefined"==typeof t?(t=n,n=e,o=!0):("undefined"!=typeof t.x||Array.isArray(t))&&(r=t,t=n,n=e,o=!0),t=u(t),r?i(n,t,r):(f={forward:function(r){return i(n,t,r)},inverse:function(r){return i(t,n,r)}},o&&(f.oProj=t),f)}var r=n("./Proj"),f=n("./transform"),e=r("WGS84");t.exports=o},{"./Proj":2,"./transform":66}],30:[function(n,t){var i=Math.PI/2,r=1,u=2,f=3,h=4,c=5,o=484813681109536e-20,l=1.0026,s=.38268343236508978,e=function(n){return this instanceof e?(this.datum_type=h,void(n&&(n.datumCode&&"none"===n.datumCode&&(this.datum_type=c),n.datum_params&&(this.datum_params=n.datum_params.map(parseFloat),0===this.datum_params[0]&&0===this.datum_params[1]&&0===this.datum_params[2]||(this.datum_type=r),this.datum_params.length>3&&(0===this.datum_params[3]&&0===this.datum_params[4]&&0===this.datum_params[5]&&0===this.datum_params[6]||(this.datum_type=u,this.datum_params[3]*=o,this.datum_params[4]*=o,this.datum_params[5]*=o,this.datum_params[6]=this.datum_params[6]/1e6+1))),this.datum_type=n.grids?f:this.datum_type,this.a=n.a,this.b=n.b,this.es=n.es,this.ep2=n.ep2,this.datum_type===f&&(this.grids=n.grids)))):new e(n)};e.prototype={compare_datums:function(n){return this.datum_type!==n.datum_type?!1:this.a!==n.a||Math.abs(this.es-n.es)>5e-11?!1:this.datum_type===r?this.datum_params[0]===n.datum_params[0]&&this.datum_params[1]===n.datum_params[1]&&this.datum_params[2]===n.datum_params[2]:this.datum_type===u?this.datum_params[0]===n.datum_params[0]&&this.datum_params[1]===n.datum_params[1]&&this.datum_params[2]===n.datum_params[2]&&this.datum_params[3]===n.datum_params[3]&&this.datum_params[4]===n.datum_params[4]&&this.datum_params[5]===n.datum_params[5]&&this.datum_params[6]===n.datum_params[6]:this.datum_type===f||n.datum_type===f?this.nadgrids===n.nadgrids:!0},geodetic_to_geocentric:function(n){var s,h,c,r,u,l,e,f=n.x,t=n.y,o=n.z?n.z:0;if(-i>t&&t>-1.001*i)t=-i;else if(t>i&&1.001*i>t)t=i;else if(-i>t||t>i)return null;return f>Math.PI&&(f-=2*Math.PI),u=Math.sin(t),e=Math.cos(t),l=u*u,r=this.a/Math.sqrt(1-this.es*l),s=(r+o)*e*Math.cos(f),h=(r+o)*e*Math.sin(f),c=(r*(1-this.es)+o)*u,n.x=s,n.y=h,n.z=c,0},geocentric_to_geodetic:function(n){var o,s,b,r,u,h,c,l,t,a,v,k,tt,d,g,nt,y,p=1e-12,it=p*p,f=n.x,e=n.y,w=n.z?n.z:0;if(tt=!1,o=Math.sqrt(f*f+e*e),s=Math.sqrt(f*f+e*e+w*w),o/this.a<p){if(tt=!0,g=0,s/this.a<p)return nt=i,void(y=-this.b)}else g=Math.atan2(e,f);b=w/s;r=o/s;u=1/Math.sqrt(1-this.es*(2-this.es)*r*r);l=r*(1-this.es)*u;t=b*u;d=0;do d++,c=this.a/Math.sqrt(1-this.es*t*t),y=o*l+w*t-c*(1-this.es*t*t),h=this.es*c/(c+y),u=1/Math.sqrt(1-h*(2-h)*r*r),a=r*(1-h)*u,v=b*u,k=v*l-a*t,l=a,t=v;while(k*k>it&&30>d);return nt=Math.atan(v/Math.abs(a)),n.x=g,n.y=nt,n.z=y,n},geocentric_to_geodetic_noniter:function(n){var e,o,k,h,d,a,v,g,nt,y,it,p,c,u,w,b,tt,f=n.x,t=n.y,r=n.z?n.z:0;if(f=parseFloat(f),t=parseFloat(t),r=parseFloat(r),tt=!1,0!==f)e=Math.atan2(t,f);else if(t>0)e=i;else if(0>t)e=-i;else if(tt=!0,e=0,r>0)o=i;else{if(!(0>r))return o=i,void(k=-this.b);o=-i}return d=f*f+t*t,h=Math.sqrt(d),a=r*l,g=Math.sqrt(a*a+d),y=a/g,p=h/g,it=y*y*y,v=r+this.b*this.ep2*it,b=h-this.a*this.es*p*p*p,nt=Math.sqrt(v*v+b*b),c=v/nt,u=b/nt,w=this.a/Math.sqrt(1-this.es*c*c),k=u>=s?h/u-w:-s>=u?h/-u-w:r/c+w*(this.es-1),tt===!1&&(o=Math.atan(c/u)),n.x=e,n.y=o,n.z=k,n},geocentric_to_wgs84:function(n){if(this.datum_type===r)n.x+=this.datum_params[0],n.y+=this.datum_params[1],n.z+=this.datum_params[2];else if(this.datum_type===u){var o=this.datum_params[0],s=this.datum_params[1],h=this.datum_params[2],i=this.datum_params[3],f=this.datum_params[4],e=this.datum_params[5],t=this.datum_params[6],c=t*(n.x-e*n.y+f*n.z)+o,l=t*(e*n.x+n.y-i*n.z)+s,a=t*(-f*n.x+i*n.y+n.z)+h;n.x=c;n.y=l;n.z=a}},geocentric_from_wgs84:function(n){if(this.datum_type===r)n.x-=this.datum_params[0],n.y-=this.datum_params[1],n.z-=this.datum_params[2];else if(this.datum_type===u){var c=this.datum_params[0],l=this.datum_params[1],a=this.datum_params[2],o=this.datum_params[3],s=this.datum_params[4],h=this.datum_params[5],t=this.datum_params[6],i=(n.x-c)/t,f=(n.y-l)/t,e=(n.z-a)/t;n.x=i+h*f-s*e;n.y=-h*i+f+o*e;n.z=s*i-o*f+e}}};t.exports=e},{}],31:[function(n,t){var r=1,u=2,i=3,f=5,e=6378137,o=.0066943799901413156;t.exports=function(n,t,s){function h(n){return n===r||n===u}var l,c,y;if(n.compare_datums(t)||n.datum_type===f||t.datum_type===f)return s;var a=n.a,p=n.es,w=t.a,b=t.es,v=n.datum_type;if(v===i)if(0===this.apply_gridshift(n,0,s))n.a=e,n.es=o;else{if(!n.datum_params)return n.a=a,n.es=n.es,s;for(l=1,c=0,y=n.datum_params.length;y>c;c++)l*=n.datum_params[c];if(0===l)return n.a=a,n.es=n.es,s;v=n.datum_params.length>3?u:r}return t.datum_type===i&&(t.a=e,t.es=o),(n.es!==t.es||n.a!==t.a||h(v)||h(t.datum_type))&&(n.geodetic_to_geocentric(s),h(n.datum_type)&&n.geocentric_to_wgs84(s),h(t.datum_type)&&t.geocentric_from_wgs84(s),t.geocentric_to_geodetic(s)),t.datum_type===i&&this.apply_gridshift(t,1,s),n.a=a,n.es=p,t.a=w,t.es=b,s}},{}],32:[function(n,t){function i(n){var r=this,t;if(2===arguments.length)t=arguments[1],i[n]="string"==typeof t?"+"===t.charAt(0)?u(arguments[1]):f(arguments[1]):t;else if(1===arguments.length){if(Array.isArray(n))return n.map(function(n){Array.isArray(n)?i.apply(r,n):i(n)});if("string"==typeof n){if(n in i)return i[n]}else"EPSG"in n?i["EPSG:"+n.EPSG]=n:"ESRI"in n?i["ESRI:"+n.ESRI]=n:"IAU2000"in n?i["IAU2000:"+n.IAU2000]=n:console.log(n);return}}var r=n("./global"),u=n("./projString"),f=n("./wkt");r(i);t.exports=i},{"./global":35,"./projString":38,"./wkt":67}],33:[function(n,t){var r=n("./constants/Datum"),i=n("./constants/Ellipsoid"),u=n("./extend"),f=n("./datum"),e=1e-10,o=.16666666666666666,s=.047222222222222221,h=.022156084656084655;t.exports=function(n){var t,c;return n.datumCode&&"none"!==n.datumCode&&(t=r[n.datumCode],t&&(n.datum_params=t.towgs84?t.towgs84.split(","):null,n.ellps=t.ellipse,n.datumName=t.datumName?t.datumName:n.datumCode)),n.a||(c=i[n.ellps]?i[n.ellps]:i.WGS84,u(n,c)),n.rf&&!n.b&&(n.b=(1-1/n.rf)*n.a),(0===n.rf||Math.abs(n.a-n.b)<e)&&(n.sphere=!0,n.b=n.a),n.a2=n.a*n.a,n.b2=n.b*n.b,n.es=(n.a2-n.b2)/n.a2,n.e=Math.sqrt(n.es),n.R_A&&(n.a*=1-n.es*(o+n.es*(s+n.es*h)),n.a2=n.a*n.a,n.b2=n.b*n.b,n.es=0),n.ep2=(n.a2-n.b2)/n.b2,n.k0||(n.k0=1),n.axis||(n.axis="enu"),n.datum||(n.datum=f(n)),n}},{"./constants/Datum":25,"./constants/Ellipsoid":26,"./datum":30,"./extend":34}],34:[function(n,t){t.exports=function(n,t){n=n||{};var i,r;if(!t)return n;for(r in t)i=t[r],void 0!==i&&(n[r]=i);return n}},{}],35:[function(n,t){t.exports=function(n){n("EPSG:4326","+title=WGS 84 (long/lat) +proj=longlat +ellps=WGS84 +datum=WGS84 +units=degrees");n("EPSG:4269","+title=NAD83 (long/lat) +proj=longlat +a=6378137.0 +b=6356752.31414036 +ellps=GRS80 +datum=NAD83 +units=degrees");n("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");n.WGS84=n["EPSG:4326"];n["EPSG:3785"]=n["EPSG:3857"];n.GOOGLE=n["EPSG:3857"];n["EPSG:900913"]=n["EPSG:3857"];n["EPSG:102113"]=n["EPSG:3857"]}},{}],36:[function(n,t){var i=n("./core");i.defaultDatum="WGS84";i.Proj=n("./Proj");i.WGS84=new i.Proj("WGS84");i.Point=n("./Point");i.toPoint=n("./common/toPoint");i.defs=n("./defs");i.transform=n("./transform");i.mgrs=n("mgrs");i.version=n("../package.json").version;n("./includedProjections")(i);t.exports=i},{"../package.json":69,"./Point":1,"./Proj":2,"./common/toPoint":23,"./core":29,"./defs":32,"./includedProjections":"./includedProjections","./transform":66,mgrs:68}],37:[function(n,t){function r(n){return"string"==typeof n}function u(n){return n in i}function f(n){return["GEOGCS","GEOCCS","PROJCS","LOCAL_CS"].reduce(function(t,i){return t+1+n.indexOf(i)},0)}function e(n){return"+"===n[0]}function o(n){return r(n)?u(n)?i[n]:f(n)?s(n):e(n)?h(n):void 0:n}var i=n("./defs"),s=n("./wkt"),h=n("./projString");t.exports=o},{"./defs":32,"./projString":38,"./wkt":67}],38:[function(n,t){var i=.017453292519943295,r=n("./constants/PrimeMeridian"),u=n("./constants/units");t.exports=function(n){var t={},s={},f,e,o,h;n.split("+").map(function(n){return n.trim()}).filter(function(n){return n}).forEach(function(n){var t=n.split("=");t.push(!0);s[t[0].toLowerCase()]=t[1]});h={proj:"projName",datum:"datumCode",rf:function(n){t.rf=parseFloat(n)},lat_0:function(n){t.lat0=n*i},lat_1:function(n){t.lat1=n*i},lat_2:function(n){t.lat2=n*i},lat_ts:function(n){t.lat_ts=n*i},lon_0:function(n){t.long0=n*i},lon_1:function(n){t.long1=n*i},lon_2:function(n){t.long2=n*i},alpha:function(n){t.alpha=parseFloat(n)*i},lonc:function(n){t.longc=n*i},x_0:function(n){t.x0=parseFloat(n)},y_0:function(n){t.y0=parseFloat(n)},k_0:function(n){t.k0=parseFloat(n)},k:function(n){t.k0=parseFloat(n)},a:function(n){t.a=parseFloat(n)},b:function(n){t.b=parseFloat(n)},r_a:function(){t.R_A=!0},zone:function(n){t.zone=parseInt(n,10)},south:function(){t.utmSouth=!0},towgs84:function(n){t.datum_params=n.split(",").map(function(n){return parseFloat(n)})},to_meter:function(n){t.to_meter=parseFloat(n)},units:function(n){t.units=n;u[n]&&(t.to_meter=u[n].to_meter)},from_greenwich:function(n){t.from_greenwich=n*i},pm:function(n){t.from_greenwich=(r[n]?r[n]:parseFloat(n))*i},nadgrids:function(n){"@null"===n?t.datumCode="none":t.nadgrids=n},axis:function(n){var i="ewnsud";3===n.length&&-1!==i.indexOf(n.substr(0,1))&&-1!==i.indexOf(n.substr(1,1))&&-1!==i.indexOf(n.substr(2,1))&&(t.axis=n)}};for(f in s)e=s[f],f in h?(o=h[f],"function"==typeof o?o(e):t[o]=e):t[f]=e;return"string"==typeof t.datumCode&&"WGS84"!==t.datumCode&&(t.datumCode=t.datumCode.toLowerCase()),t}},{"./constants/PrimeMeridian":27,"./constants/units":28}],39:[function(n,t,i){function f(n,t){var i=u.length;return n.names?(u[i]=n,n.names.forEach(function(n){r[n.toLowerCase()]=i}),this):(console.log(t),!0)}var e=[n("./projections/merc"),n("./projections/longlat")],r={},u=[];i.add=f;i.get=function(n){if(!n)return!1;var t=n.toLowerCase();if("undefined"!=typeof r[t]&&u[r[t]])return u[r[t]]};i.start=function(){e.forEach(f)}},{"./projections/longlat":51,"./projections/merc":52}],40:[function(n,t,i){var u=1e-10,f=n("../common/msfnz"),r=n("../common/qsfnz"),e=n("../common/adjust_lon"),o=n("../common/asinz");i.init=function(){Math.abs(this.lat1+this.lat2)<u||(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=f(this.e3,this.sin_po,this.cos_po),this.qs1=r(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=f(this.e3,this.sin_po,this.cos_po),this.qs2=r(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=r(this.e3,this.sin_po,this.cos_po),this.ns0=Math.abs(this.lat1-this.lat2)>u?(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)};i.forward=function(n){var f=n.x,t=n.y;this.sin_phi=Math.sin(t);this.cos_phi=Math.cos(t);var o=r(this.e3,this.sin_phi,this.cos_phi),i=this.a*Math.sqrt(this.c-this.ns0*o)/this.ns0,u=this.ns0*e(f-this.long0),s=i*Math.sin(u)+this.x0,h=this.rh-i*Math.cos(u)+this.y0;return n.x=s,n.y=h,n};i.inverse=function(n){var i,f,t,r,o,u;return n.x-=this.x0,n.y=this.rh-n.y+this.y0,this.ns0>=0?(i=Math.sqrt(n.x*n.x+n.y*n.y),t=1):(i=-Math.sqrt(n.x*n.x+n.y*n.y),t=-1),r=0,0!==i&&(r=Math.atan2(t*n.x,t*n.y)),t=i*this.ns0/this.a,this.sphere?u=Math.asin((this.c-t*t)/(2*this.ns0)):(f=(this.c-t*t)/this.ns0,u=this.phi1z(this.e3,f)),o=e(r/this.ns0+this.long0),n.x=o,n.y=u,n};i.phi1z=function(n,t){var e,c,i,f,s,r=o(.5*t),l,h;if(u>n)return r;for(l=n*n,h=1;25>=h;h++)if(e=Math.sin(r),c=Math.cos(r),i=n*e,f=1-i*i,s=.5*f*f/c*(t/(1-l)-e/f+.5/n*Math.log((1-i)/(1+i))),r+=s,Math.abs(s)<=1e-7)return r;return null};i.names=["Albers_Conic_Equal_Area","Albers","aea"]},{"../common/adjust_lon":5,"../common/asinz":6,"../common/msfnz":15,"../common/qsfnz":20}],41:[function(n,t,i){var e=n("../common/adjust_lon"),r=Math.PI/2,u=1e-10,f=n("../common/mlfn"),s=n("../common/e0fn"),h=n("../common/e1fn"),c=n("../common/e2fn"),l=n("../common/e3fn"),o=n("../common/gN"),v=n("../common/asinz"),a=n("../common/imlfn");i.init=function(){this.sin_p12=Math.sin(this.lat0);this.cos_p12=Math.cos(this.lat0)};i.forward=function(n){var d,g,nt,tt,p,w,at,et,vt,i,a,rt,ut,ot,v,b,st,yt,y,ht,ct,lt,pt,wt=n.x,k=n.y,ft=Math.sin(n.y),it=Math.cos(n.y),t=e(wt-this.long0);return this.sphere?Math.abs(this.sin_p12-1)<=u?(n.x=this.x0+this.a*(r-k)*Math.sin(t),n.y=this.y0-this.a*(r-k)*Math.cos(t),n):Math.abs(this.sin_p12+1)<=u?(n.x=this.x0+this.a*(r+k)*Math.sin(t),n.y=this.y0+this.a*(r+k)*Math.cos(t),n):(yt=this.sin_p12*ft+this.cos_p12*it*Math.cos(t),b=Math.acos(yt),st=b/Math.sin(b),n.x=this.x0+this.a*st*it*Math.sin(t),n.y=this.y0+this.a*st*(this.cos_p12*ft-this.sin_p12*it*Math.cos(t)),n):(d=s(this.es),g=h(this.es),nt=c(this.es),tt=l(this.es),Math.abs(this.sin_p12-1)<=u?(p=this.a*f(d,g,nt,tt,r),w=this.a*f(d,g,nt,tt,k),n.x=this.x0+(p-w)*Math.sin(t),n.y=this.y0-(p-w)*Math.cos(t),n):Math.abs(this.sin_p12+1)<=u?(p=this.a*f(d,g,nt,tt,r),w=this.a*f(d,g,nt,tt,k),n.x=this.x0+(p+w)*Math.sin(t),n.y=this.y0+(p+w)*Math.cos(t),n):(at=ft/it,et=o(this.a,this.e,this.sin_p12),vt=o(this.a,this.e,ft),i=Math.atan((1-this.es)*at+this.es*et*this.sin_p12/(vt*it)),a=Math.atan2(Math.sin(t),this.cos_p12*Math.tan(i)-this.sin_p12*Math.cos(t)),y=0===a?Math.asin(this.cos_p12*Math.sin(i)-this.sin_p12*Math.cos(i)):Math.abs(Math.abs(a)-Math.PI)<=u?-Math.asin(this.cos_p12*Math.sin(i)-this.sin_p12*Math.cos(i)):Math.asin(Math.sin(t)*Math.cos(i)/Math.sin(a)),rt=this.e*this.sin_p12/Math.sqrt(1-this.es),ut=this.e*this.cos_p12*Math.cos(a)/Math.sqrt(1-this.es),ot=rt*ut,v=ut*ut,ht=y*y,ct=ht*y,lt=ct*y,pt=lt*y,b=et*y*(1-ht*v*(1-v)/6+ct/8*ot*(1-2*v)+lt/120*(v*(4-7*v)-3*rt*rt*(1-7*v))-pt/48*ot),n.x=this.x0+b*Math.sin(a),n.y=this.y0+b*Math.cos(a),n))};i.inverse=function(n){n.x-=this.x0;n.y-=this.y0;var t,et,tt,ot,i,y,ct,b,k,d,g,it,rt,lt,ut,st,ft,ht,w,at,nt,p,vt;return this.sphere?(t=Math.sqrt(n.x*n.x+n.y*n.y),t>2*r*this.a)?void 0:(et=t/this.a,tt=Math.sin(et),ot=Math.cos(et),i=this.long0,Math.abs(t)<=u?y=this.lat0:(y=v(ot*this.sin_p12+n.y*tt*this.cos_p12/t),ct=Math.abs(this.lat0)-r,i=e(Math.abs(ct)<=u?this.lat0>=0?this.long0+Math.atan2(n.x,-n.y):this.long0-Math.atan2(-n.x,n.y):this.long0+Math.atan2(n.x*tt,t*this.cos_p12*ot-n.y*this.sin_p12*tt))),n.x=i,n.y=y,n):(b=s(this.es),k=h(this.es),d=c(this.es),g=l(this.es),Math.abs(this.sin_p12-1)<=u?(it=this.a*f(b,k,d,g,r),t=Math.sqrt(n.x*n.x+n.y*n.y),rt=it-t,y=a(rt/this.a,b,k,d,g),i=e(this.long0+Math.atan2(n.x,-1*n.y)),n.x=i,n.y=y,n):Math.abs(this.sin_p12+1)<=u?(it=this.a*f(b,k,d,g,r),t=Math.sqrt(n.x*n.x+n.y*n.y),rt=t-it,y=a(rt/this.a,b,k,d,g),i=e(this.long0+Math.atan2(n.x,n.y)),n.x=i,n.y=y,n):(t=Math.sqrt(n.x*n.x+n.y*n.y),st=Math.atan2(n.x,n.y),lt=o(this.a,this.e,this.sin_p12),ft=Math.cos(st),ht=this.e*this.cos_p12*ft,w=-ht*ht/(1-this.es),at=3*this.es*(1-w)*this.sin_p12*this.cos_p12*ft/(1-this.es),nt=t/lt,p=nt-w*(1+w)*Math.pow(nt,3)/6-at*(1+3*w)*Math.pow(nt,4)/24,vt=1-w*p*p/2-nt*p*p*p/6,ut=Math.asin(this.sin_p12*Math.cos(p)+this.cos_p12*Math.sin(p)*ft),i=e(this.long0+Math.asin(Math.sin(st)*Math.sin(p)/Math.cos(ut))),y=Math.atan((1-this.es*vt*this.sin_p12/Math.sin(ut))*Math.tan(ut)/(1-this.es)),n.x=i,n.y=y,n))};i.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}],42:[function(n,t,i){var r=n("../common/mlfn"),o=n("../common/e0fn"),s=n("../common/e1fn"),h=n("../common/e2fn"),c=n("../common/e3fn"),u=n("../common/gN"),f=n("../common/adjust_lon"),l=n("../common/adjust_lat"),a=n("../common/imlfn"),e=Math.PI/2,v=1e-10;i.init=function(){this.sphere||(this.e0=o(this.es),this.e1=s(this.es),this.e2=h(this.es),this.e3=c(this.es),this.ml0=this.a*r(this.e0,this.e1,this.e2,this.e3,this.lat0))};i.forward=function(n){var o,s,i=n.x,t=n.y;if(i=f(i-this.long0),this.sphere)o=this.a*Math.asin(Math.cos(t)*Math.sin(i)),s=this.a*(Math.atan2(Math.tan(t),Math.cos(i))-this.lat0);else{var a=Math.sin(t),h=Math.cos(t),v=u(this.a,this.e,a),c=Math.tan(t)*Math.tan(t),l=i*Math.cos(t),e=l*l,y=this.es*h*h/(1-this.es),p=this.a*r(this.e0,this.e1,this.e2,this.e3,t);o=v*l*(1-e*c*(1/6-(8-c+8*y)*e/120));s=p-this.ml0+v*a/h*e*(.5+(5-c+6*y)*e/24)}return n.x=o+this.x0,n.y=s+this.y0,n};i.inverse=function(n){var c,y,o,s,p,w,t;if(n.x-=this.x0,n.y-=this.y0,o=n.x/this.a,s=n.y/this.a,this.sphere)p=s+this.lat0,c=Math.asin(Math.sin(p)*Math.cos(o)),y=Math.atan2(Math.tan(o),Math.cos(p));else{if(w=this.ml0/this.a+s,t=a(w,this.e0,this.e1,this.e2,this.e3),Math.abs(Math.abs(t)-e)<=v)return n.x=this.long0,n.y=e,0>s&&(n.y*=-1),n;var r=u(this.a,this.e,Math.sin(t)),k=r*r*r/this.a/this.a*(1-this.es),h=Math.pow(Math.tan(t),2),i=o*this.a/r,b=i*i;c=t-r*Math.tan(t)/k*i*i*(.5-(1+3*h)*i*i/24);y=i*(1-b*(h/3+(1+3*h)*h*b/15))/Math.cos(t)}return n.x=f(y+this.long0),n.y=l(c),n};i.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}],43:[function(n,t,i){var r=n("../common/adjust_lon"),u=n("../common/qsfnz"),f=n("../common/msfnz"),e=n("../common/iqsfnz");i.init=function(){this.sphere||(this.k0=f(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts)))};i.forward=function(n){var t,i,s=n.x,f=n.y,e=r(s-this.long0),o;return this.sphere?(t=this.x0+this.a*e*Math.cos(this.lat_ts),i=this.y0+this.a*Math.sin(f)/Math.cos(this.lat_ts)):(o=u(this.e,Math.sin(f)),t=this.x0+this.a*this.k0*e,i=this.y0+this.a*o*.5/this.k0),n.x=t,n.y=i,n};i.inverse=function(n){n.x-=this.x0;n.y-=this.y0;var t,i;return this.sphere?(t=r(this.long0+n.x/this.a/Math.cos(this.lat_ts)),i=Math.asin(n.y/this.a*Math.cos(this.lat_ts))):(i=e(this.e,2*n.y*this.k0/this.a),t=r(this.long0+n.x/(this.a*this.k0))),n.x=t,n.y=i,n};i.names=["cea"]},{"../common/adjust_lon":5,"../common/iqsfnz":13,"../common/msfnz":15,"../common/qsfnz":20}],44:[function(n,t,i){var r=n("../common/adjust_lon"),u=n("../common/adjust_lat");i.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)};i.forward=function(n){var t=n.x,i=n.y,f=r(t-this.long0),e=u(i-this.lat0);return n.x=this.x0+this.a*f*this.rc,n.y=this.y0+this.a*e,n};i.inverse=function(n){var t=n.x,i=n.y;return n.x=r(this.long0+(t-this.x0)/(this.a*this.rc)),n.y=u(this.lat0+(i-this.y0)/this.a),n};i.names=["Equirectangular","Equidistant_Cylindrical","eqc"]},{"../common/adjust_lat":4,"../common/adjust_lon":5}],45:[function(n,t,i){var o=n("../common/e0fn"),s=n("../common/e1fn"),h=n("../common/e2fn"),c=n("../common/e3fn"),f=n("../common/msfnz"),r=n("../common/mlfn"),u=n("../common/adjust_lon"),l=n("../common/adjust_lat"),a=n("../common/imlfn"),e=1e-10;i.init=function(){Math.abs(this.lat1+this.lat2)<e||(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=o(this.es),this.e1=s(this.es),this.e2=h(this.es),this.e3=c(this.es),this.sinphi=Math.sin(this.lat1),this.cosphi=Math.cos(this.lat1),this.ms1=f(this.e,this.sinphi,this.cosphi),this.ml1=r(this.e0,this.e1,this.e2,this.e3,this.lat1),Math.abs(this.lat1-this.lat2)<e?this.ns=this.sinphi:(this.sinphi=Math.sin(this.lat2),this.cosphi=Math.cos(this.lat2),this.ms2=f(this.e,this.sinphi,this.cosphi),this.ml2=r(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=r(this.e0,this.e1,this.e2,this.e3,this.lat0),this.rh=this.a*(this.g-this.ml0))};i.forward=function(n){var t,o=n.x,i=n.y,f;this.sphere?t=this.a*(this.g-i):(f=r(this.e0,this.e1,this.e2,this.e3,i),t=this.a*(this.g-f));var e=this.ns*u(o-this.long0),s=this.x0+t*Math.sin(e),h=this.y0+this.rh-t*Math.cos(e);return n.x=s,n.y=h,n};i.inverse=function(n){var i,t,r,f,e,o;return(n.x-=this.x0,n.y=this.rh-n.y+this.y0,this.ns>=0?(t=Math.sqrt(n.x*n.x+n.y*n.y),i=1):(t=-Math.sqrt(n.x*n.x+n.y*n.y),i=-1),e=0,0!==t&&(e=Math.atan2(i*n.x,i*n.y)),this.sphere)?(f=u(this.long0+e/this.ns),r=l(this.g-t/this.a),n.x=f,n.y=r,n):(o=this.g-t/this.a,r=a(o,this.e0,this.e1,this.e2,this.e3),f=u(this.long0+e/this.ns),n.x=f,n.y=r,n)};i.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}],46:[function(n,t,i){var r=Math.PI/4,u=n("../common/srat"),f=Math.PI/2,e=20;i.init=function(){var n=Math.sin(this.lat0),t=Math.cos(this.lat0);t*=t;this.rc=Math.sqrt(1-this.es)/(1-this.es*n*n);this.C=Math.sqrt(1+this.es*t*t/(1-this.es));this.phic0=Math.asin(n/this.C);this.ratexp=.5*this.C*this.e;this.K=Math.tan(.5*this.phic0+r)/(Math.pow(Math.tan(.5*this.lat0+r),this.C)*u(this.e*n,this.ratexp))};i.forward=function(n){var i=n.x,t=n.y;return n.y=2*Math.atan(this.K*Math.pow(Math.tan(.5*t+r),this.C)*u(this.e*Math.sin(t),this.ratexp))-f,n.x=this.C*i,n};i.inverse=function(n){for(var o=n.x/this.C,t=n.y,s=Math.pow(Math.tan(.5*t+r)/this.K,1/this.C),i=e;i>0&&(t=2*Math.atan(s*u(this.e*Math.sin(n.y),-.5*this.e))-f,!(Math.abs(t-n.y)<1e-14));--i)n.y=t;return i?(n.x=o,n.y=t,n):null};i.names=["gauss"]},{"../common/srat":22}],47:[function(n,t,i){var r=n("../common/adjust_lon"),u=1e-10,f=n("../common/asinz");i.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};i.forward=function(n){var f,t,e,o,s,i,h,c,a=n.x,l=n.y;return e=r(a-this.long0),f=Math.sin(l),t=Math.cos(l),o=Math.cos(e),i=this.sin_p14*f+this.cos_p14*t*o,s=1,i>0||Math.abs(i)<=u?(h=this.x0+this.a*s*t*Math.sin(e)/i,c=this.y0+this.a*s*(this.cos_p14*f-this.sin_p14*t*o)/i):(h=this.x0+this.infinity_dist*t*Math.sin(e),c=this.y0+this.infinity_dist*(this.cos_p14*f-this.sin_p14*t*o)),n.x=h,n.y=c,n};i.inverse=function(n){var i,u,e,o,t,s;return n.x=(n.x-this.x0)/this.a,n.y=(n.y-this.y0)/this.a,n.x/=this.k0,n.y/=this.k0,(i=Math.sqrt(n.x*n.x+n.y*n.y))?(o=Math.atan2(i,this.rc),u=Math.sin(o),e=Math.cos(o),s=f(e*this.sin_p14+n.y*u*this.cos_p14/i),t=Math.atan2(n.x*u,i*this.cos_p14*e-n.y*this.sin_p14*u),t=r(this.long0+t)):(s=this.phic0,t=0),n.x=t,n.y=s,n};i.names=["gnom"]},{"../common/adjust_lon":5,"../common/asinz":6}],48:[function(n,t,i){var r=n("../common/adjust_lon");i.init=function(){this.a=6377397.155;this.es=.006674372230614;this.e=Math.sqrt(this.es);this.lat0||(this.lat0=.863937979737193);this.long0||(this.long0=.43342343091192509);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};i.forward=function(n){var s,t,i,u,h,f,e,c=n.x,o=n.y,l=r(c-this.long0);return s=Math.pow((1+this.e*Math.sin(o))/(1-this.e*Math.sin(o)),this.alfa*this.e/2),t=2*(Math.atan(this.k*Math.pow(Math.tan(o/2+this.s45),this.alfa)/s)-this.s45),i=-l*this.alfa,u=Math.asin(Math.cos(this.ad)*Math.sin(t)+Math.sin(this.ad)*Math.cos(t)*Math.cos(i)),h=Math.asin(Math.cos(t)*Math.sin(i)/Math.cos(u)),f=this.n*h,e=this.ro0*Math.pow(Math.tan(this.s0/2+this.s45),this.n)/Math.pow(Math.tan(u/2+this.s45),this.n),n.y=e*Math.cos(f)/1,n.x=e*Math.sin(f)/1,this.czech||(n.y*=-1,n.x*=-1),n};i.inverse=function(n){var i,o,r,f,s,h,t,e,c=n.x,u;n.x=n.y;n.y=c;this.czech||(n.y*=-1,n.x*=-1);h=Math.sqrt(n.x*n.x+n.y*n.y);s=Math.atan2(n.y,n.x);f=s/Math.sin(this.s0);r=2*(Math.atan(Math.pow(this.ro0/h,1/this.n)*Math.tan(this.s0/2+this.s45))-this.s45);i=Math.asin(Math.cos(this.ad)*Math.sin(r)-Math.sin(this.ad)*Math.cos(r)*Math.cos(f));o=Math.asin(Math.cos(r)*Math.sin(f)/Math.cos(i));n.x=this.long0-o/this.alfa;t=i;e=0;u=0;do n.y=2*(Math.atan(Math.pow(this.k,-1/this.alfa)*Math.pow(Math.tan(i/2+this.s45),1/this.alfa)*Math.pow((1+this.e*Math.sin(t))/(1-this.e*Math.sin(t)),this.e/2))-this.s45),Math.abs(t-n.y)<1e-10&&(e=1),t=n.y,u+=1;while(0===e&&15>u);return u>=15?null:n};i.names=["Krovak","krovak"]},{"../common/adjust_lon":5}],49:[function(n,t,i){var u=Math.PI/2,o=Math.PI/4,r=1e-10,f=n("../common/qsfnz"),e=n("../common/adjust_lon");i.S_POLE=1;i.N_POLE=2;i.EQUIT=3;i.OBLIQ=4;i.init=function(){var t=Math.abs(this.lat0),n;if(this.mode=Math.abs(t-u)<r?this.lat0<0?this.S_POLE:this.N_POLE:Math.abs(t)<r?this.EQUIT:this.OBLIQ,this.es>0)switch(this.qp=f(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);n=Math.sin(this.lat0);this.sinb1=f(this.e,n)/this.qp;this.cosb1=Math.sqrt(1-this.sinb1*this.sinb1);this.dd=Math.cos(this.lat0)/(Math.sqrt(1-this.es*n*n)*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))};i.forward=function(n){var y,t,s,b,p,h,c,l,i,w,a=n.x,v=n.y;if(a=e(a-this.long0),this.sphere){if(p=Math.sin(v),w=Math.cos(v),s=Math.cos(a),this.mode===this.OBLIQ||this.mode===this.EQUIT){if(t=this.mode===this.EQUIT?1+w*s:1+this.sinph0*p+this.cosph0*w*s,r>=t)return null;t=Math.sqrt(2/t);y=t*w*Math.sin(a);t*=this.mode===this.EQUIT?p:this.cosph0*p-this.sinph0*w*s}else if(this.mode===this.N_POLE||this.mode===this.S_POLE){if(this.mode===this.N_POLE&&(s=-s),Math.abs(v+this.phi0)<r)return null;t=o-.5*v;t=2*(this.mode===this.S_POLE?Math.cos(t):Math.sin(t));y=t*Math.sin(a);t*=s}}else{switch(c=0,l=0,i=0,s=Math.cos(a),b=Math.sin(a),p=Math.sin(v),h=f(this.e,p),this.mode!==this.OBLIQ&&this.mode!==this.EQUIT||(c=h/this.qp,l=Math.sqrt(1-c*c)),this.mode){case this.OBLIQ:i=1+this.sinb1*c+this.cosb1*l*s;break;case this.EQUIT:i=1+l*s;break;case this.N_POLE:i=u+v;h=this.qp-h;break;case this.S_POLE:i=v-u;h=this.qp+h}if(Math.abs(i)<r)return null;switch(this.mode){case this.OBLIQ:case this.EQUIT:i=Math.sqrt(2/i);t=this.mode===this.OBLIQ?this.ymf*i*(this.cosb1*c-this.sinb1*l*s):(i=Math.sqrt(2/(1+l*s)))*c*this.ymf;y=this.xmf*i*l*b;break;case this.N_POLE:case this.S_POLE:h>=0?(y=(i=Math.sqrt(h))*b,t=s*(this.mode===this.S_POLE?i:-i)):y=t=0}}return n.x=this.a*y+this.x0,n.y=this.a*t+this.y0,n};i.inverse=function(n){var p,i,y,h,a,c,o,f,t,s,v,l;if(n.x-=this.x0,n.y-=this.y0,f=n.x/this.a,t=n.y/this.a,this.sphere){if(v=0,l=0,s=Math.sqrt(f*f+t*t),i=.5*s,i>1)return null;switch(i=2*Math.asin(i),this.mode!==this.OBLIQ&&this.mode!==this.EQUIT||(l=Math.sin(i),v=Math.cos(i)),this.mode){case this.EQUIT:i=Math.abs(s)<=r?0:Math.asin(t*l/s);f*=l;t=v*s;break;case this.OBLIQ:i=Math.abs(s)<=r?this.phi0:Math.asin(v*this.sinph0+t*l*this.cosph0/s);f*=l*this.cosph0;t=(v-Math.sin(i)*this.sinph0)*s;break;case this.N_POLE:t=-t;i=u-i;break;case this.S_POLE:i-=u}p=0!==t||this.mode!==this.EQUIT&&this.mode!==this.OBLIQ?Math.atan2(f,t):0}else{if(o=0,this.mode===this.OBLIQ||this.mode===this.EQUIT){if(f/=this.dd,t*=this.dd,c=Math.sqrt(f*f+t*t),r>c)return n.x=0,n.y=this.phi0,n;h=2*Math.asin(.5*c/this.rq);y=Math.cos(h);f*=h=Math.sin(h);this.mode===this.OBLIQ?(o=y*this.sinb1+t*h*this.cosb1/c,a=this.qp*o,t=c*this.cosb1*y-t*this.sinb1*h):(o=t*h/c,a=this.qp*o,t=c*y)}else if(this.mode===this.N_POLE||this.mode===this.S_POLE){if(this.mode===this.N_POLE&&(t=-t),a=f*f+t*t,!a)return n.x=0,n.y=this.phi0,n;o=1-a/this.qp;this.mode===this.S_POLE&&(o=-o)}p=Math.atan2(f,t);i=this.authlat(Math.asin(o),this.apa)}return n.x=e(this.long0+p),n.y=i,n};i.P00=.33333333333333331;i.P01=.17222222222222222;i.P02=.10257936507936508;i.P10=.063888888888888884;i.P11=.0664021164021164;i.P20=.016415012942191543;i.authset=function(n){var t,i=[];return i[0]=n*this.P00,t=n*n,i[0]+=t*this.P01,i[1]=t*this.P10,t*=n,i[0]+=t*this.P02,i[1]+=t*this.P11,i[2]=t*this.P20,i};i.authlat=function(n,t){var i=n+n;return n+t[0]*Math.sin(i)+t[1]*Math.sin(i+i)+t[2]*Math.sin(i+i+i)};i.names=["Lambert Azimuthal Equal Area","Lambert_Azimuthal_Equal_Area","laea"]},{"../common/adjust_lon":5,"../common/qsfnz":20}],50:[function(n,t,i){var r=1e-10,e=n("../common/msfnz"),u=n("../common/tsfnz"),f=Math.PI/2,s=n("../common/sign"),o=n("../common/adjust_lon"),h=n("../common/phi2z");i.init=function(){var t;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)<r)){t=this.b/this.a;this.e=Math.sqrt(1-t*t);var n=Math.sin(this.lat1),s=Math.cos(this.lat1),i=e(this.e,n,s),f=u(this.e,this.lat1,n),o=Math.sin(this.lat2),h=Math.cos(this.lat2),c=e(this.e,o,h),l=u(this.e,this.lat2,o),a=u(this.e,this.lat0,Math.sin(this.lat0));this.ns=Math.abs(this.lat1-this.lat2)>r?Math.log(i/c)/Math.log(f/l):n;isNaN(this.ns)&&(this.ns=n);this.f0=i/(this.ns*Math.pow(f,this.ns));this.rh=this.a*this.f0*Math.pow(a,this.ns);this.title||(this.title="Lambert Conformal Conic")}};i.forward=function(n){var l=n.x,t=n.y,c,i,e,h;if(Math.abs(2*Math.abs(t)-Math.PI)<=r&&(t=s(t)*(f-2*r)),e=Math.abs(Math.abs(t)-f),e>r)c=u(this.e,t,Math.sin(t)),i=this.a*this.f0*Math.pow(c,this.ns);else{if(e=t*this.ns,0>=e)return null;i=0}return h=this.ns*o(l-this.long0),n.x=this.k0*i*Math.sin(h)+this.x0,n.y=this.k0*(this.rh-i*Math.cos(h))+this.y0,n};i.inverse=function(n){var i,t,c,e,l,r=(n.x-this.x0)/this.k0,u=this.rh-(n.y-this.y0)/this.k0,s;if(this.ns>0?(i=Math.sqrt(r*r+u*u),t=1):(i=-Math.sqrt(r*r+u*u),t=-1),s=0,0!==i&&(s=Math.atan2(t*r,t*u)),0!==i||this.ns>0){if(t=1/this.ns,c=Math.pow(i/(this.a*this.f0),t),e=h(this.e,c),-9999===e)return null}else e=-f;return l=o(s/this.ns+this.long0),n.x=l,n.y=e,n};i.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}],51:[function(n,t,i){function r(n){return n}i.init=function(){};i.forward=r;i.inverse=r;i.names=["longlat","identity"]},{}],52:[function(n,t,i){var e=n("../common/msfnz"),f=Math.PI/2,o=1e-10,r=57.295779513082323,u=n("../common/adjust_lon"),s=Math.PI/4,h=n("../common/tsfnz"),c=n("../common/phi2z");i.init=function(){var n=this.b/this.a;this.es=1-n*n;"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):e(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts)):this.k0||(this.k0=this.k?this.k:1)};i.forward=function(n){var i=n.x,t=n.y,e,c,l,a;return t*r>90&&-90>t*r&&i*r>180&&-180>i*r?null:Math.abs(Math.abs(t)-f)<=o?null:(this.sphere?(e=this.x0+this.a*this.k0*u(i-this.long0),c=this.y0+this.a*this.k0*Math.log(Math.tan(s+.5*t))):(l=Math.sin(t),a=h(this.e,t,l),e=this.x0+this.a*this.k0*u(i-this.long0),c=this.y0-this.a*this.k0*Math.log(a)),n.x=e,n.y=c,n)};i.inverse=function(n){var i,t,o=n.x-this.x0,r=n.y-this.y0,e;if(this.sphere)t=f-2*Math.atan(Math.exp(-r/(this.a*this.k0)));else if(e=Math.exp(-r/(this.a*this.k0)),t=c(this.e,e),-9999===t)return null;return i=u(this.long0+o/(this.a*this.k0)),n.x=i,n.y=t,n};i.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}],53:[function(n,t,i){var r=n("../common/adjust_lon");i.init=function(){};i.forward=function(n){var t=n.x,i=n.y,u=r(t-this.long0),f=this.x0+this.a*u,e=this.y0+this.a*Math.log(Math.tan(Math.PI/4+i/2.5))*1.25;return n.x=f,n.y=e,n};i.inverse=function(n){n.x-=this.x0;n.y-=this.y0;var t=r(this.long0+n.x/this.a),i=2.5*(Math.atan(Math.exp(.8*n.y/this.a))-Math.PI/4);return n.x=t,n.y=i,n};i.names=["Miller_Cylindrical","mill"]},{"../common/adjust_lon":5}],54:[function(n,t,i){var r=n("../common/adjust_lon"),u=1e-10;i.init=function(){};i.forward=function(n){for(var f,o,s,h=n.x,i=n.y,e=r(h-this.long0),t=i,c=Math.PI*Math.sin(i),l=0;;l++)if(f=-(t+Math.sin(t)-c)/(1+Math.cos(t)),t+=f,Math.abs(f)<u)break;return t/=2,Math.PI/2-Math.abs(i)<u&&(e=0),o=.900316316158*this.a*e*Math.cos(t)+this.x0,s=1.4142135623731*this.a*Math.sin(t)+this.y0,n.x=o,n.y=s,n};i.inverse=function(n){var u,t,i,f;return n.x-=this.x0,n.y-=this.y0,t=n.y/(1.4142135623731*this.a),Math.abs(t)>.999999999999&&(t=.999999999999),u=Math.asin(t),i=r(this.long0+n.x/(.900316316158*this.a*Math.cos(u))),i<-Math.PI&&(i=-Math.PI),i>Math.PI&&(i=Math.PI),t=(2*u+Math.sin(2*u))/Math.PI,Math.abs(t)>1&&(t=1),f=Math.asin(t),n.x=i,n.y=f,n};i.names=["Mollweide","moll"]},{"../common/adjust_lon":5}],55:[function(n,t,i){var r=484813681109536e-20;i.iterations=1;i.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]=.00067;this.A[10]=-.00034;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};i.forward=function(n){for(var v=n.x,y=n.y,p=y-this.lat0,w=v-this.long0,b=p/r*1e-5,k=w,o=1,s=0,t=1;10>=t;t++)o*=b,s+=this.A[t]*o;var h,c,l=s,a=k,i=1,u=0,f=0,e=0;for(t=1;6>=t;t++)h=i*l-u*a,c=u*l+i*a,i=h,u=c,f=f+this.B_re[t]*i-this.B_im[t]*u,e=e+this.B_im[t]*i+this.B_re[t]*u;return n.x=e*this.a+this.x0,n.y=f*this.a+this.y0,n};i.inverse=function(n){for(var d,g,ut=n.x,ft=n.y,et=ut-this.x0,ot=ft-this.y0,v=ot/this.a,y=et/this.a,h=1,c=0,f=0,e=0,p,o,s,k,it,rt,t=1;6>=t;t++)d=h*v-c*y,g=c*v+h*y,h=d,c=g,f=f+this.C_re[t]*h-this.C_im[t]*c,e=e+this.C_im[t]*h+this.C_re[t]*c;for(p=0;p<this.iterations;p++){var l,a,i=f,u=e,w=v,b=y;for(t=2;6>=t;t++)l=i*f-u*e,a=u*f+i*e,i=l,u=a,w+=(t-1)*(this.B_re[t]*i-this.B_im[t]*u),b+=(t-1)*(this.B_im[t]*i+this.B_re[t]*u);for(i=1,u=0,o=this.B_re[1],s=this.B_im[1],t=2;6>=t;t++)l=i*f-u*e,a=u*f+i*e,i=l,u=a,o+=t*(this.B_re[t]*i-this.B_im[t]*u),s+=t*(this.B_im[t]*i+this.B_re[t]*u);k=o*o+s*s;f=(w*o+b*s)/k;e=(b*o-w*s)/k}var st=f,ht=e,nt=1,tt=0;for(t=1;9>=t;t++)nt*=st,tt+=this.D[t]*nt;return it=this.lat0+tt*r*1e5,rt=this.long0+ht,n.x=rt,n.y=it,n};i.names=["New_Zealand_Map_Grid","nzmg"]},{}],56:[function(n,t,i){var f=n("../common/tsfnz"),r=n("../common/adjust_lon"),o=n("../common/phi2z"),e=Math.PI/2,s=Math.PI/4,u=1e-10;i.init=function(){var o,n,t,s,l,a,i,u,v;this.no_off=this.no_off||!1;this.no_rot=this.no_rot||!1;isNaN(this.k0)&&(this.k0=1);var h=Math.sin(this.lat0),c=Math.cos(this.lat0),e=this.e*h;if(this.bl=Math.sqrt(1+this.es/(1-this.es)*Math.pow(c,4)),this.al=this.a*this.bl*this.k0*Math.sqrt(1-this.es)/(1-e*e),o=f(this.e,this.lat0,h),n=this.bl/c*Math.sqrt((1-this.es)/(1-e*e)),1>n*n&&(n=1),isNaN(this.longc)){l=f(this.e,this.lat1,Math.sin(this.lat1));a=f(this.e,this.lat2,Math.sin(this.lat2));this.el=this.lat0>=0?(n+Math.sqrt(n*n-1))*Math.pow(o,this.bl):(n-Math.sqrt(n*n-1))*Math.pow(o,this.bl);i=Math.pow(l,this.bl);u=Math.pow(a,this.bl);t=this.el/i;s=.5*(t-1/t);var y=(this.el*this.el-u*i)/(this.el*this.el+u*i),p=(u-i)/(u+i),w=r(this.long1-this.long2);this.long0=.5*(this.long1+this.long2)-Math.atan(y*Math.tan(.5*this.bl*w)/p)/this.bl;this.long0=r(this.long0);v=r(this.long1-this.long0);this.gamma0=Math.atan(Math.sin(this.bl*v)/s);this.alpha=Math.asin(n*Math.sin(this.gamma0))}else t=this.lat0>=0?n+Math.sqrt(n*n-1):n-Math.sqrt(n*n-1),this.el=t*Math.pow(o,this.bl),s=.5*(t-1/t),this.gamma0=Math.asin(Math.sin(this.alpha)/n),this.long0=this.longc-Math.asin(s*Math.tan(this.gamma0))/this.bl;this.uc=this.no_off?0:this.lat0>=0?this.al/this.bl*Math.atan2(Math.sqrt(n*n-1),Math.cos(this.alpha)):-1*this.al/this.bl*Math.atan2(Math.sqrt(n*n-1),Math.cos(this.alpha))};i.forward=function(n){var t,i,l,p=n.x,o=n.y,h=r(p-this.long0);if(Math.abs(Math.abs(o)-e)<=u)l=o>0?-1:1,i=this.al/this.bl*Math.log(Math.tan(s+l*this.gamma0*.5)),t=-1*l*e*this.al/this.bl;else{var w=f(this.e,o,Math.sin(o)),c=this.el/Math.pow(w,this.bl),v=.5*(c-1/c),b=.5*(c+1/c),y=Math.sin(this.bl*h),a=(v*Math.sin(this.gamma0)-y*Math.cos(this.gamma0))/b;i=Math.abs(Math.abs(a)-1)<=u?Number.POSITIVE_INFINITY:.5*this.al*Math.log((1-a)/(1+a))/this.bl;t=Math.abs(Math.cos(this.bl*h))<=u?this.al*this.bl*h:this.al*Math.atan2(v*Math.cos(this.gamma0)+y*Math.sin(this.gamma0),Math.cos(this.bl*h))/this.bl}return this.no_rot?(n.x=this.x0+t,n.y=this.y0+i):(t-=this.uc,n.x=this.x0+i*Math.cos(this.alpha)+t*Math.sin(this.alpha),n.y=this.y0+t*Math.cos(this.alpha)-i*Math.sin(this.alpha)),n};i.inverse=function(n){var t,s;this.no_rot?(s=n.y-this.y0,t=n.x-this.x0):(s=(n.x-this.x0)*Math.cos(this.alpha)-(n.y-this.y0)*Math.sin(this.alpha),t=(n.y-this.y0)*Math.cos(this.alpha)+(n.x-this.x0)*Math.sin(this.alpha),t+=this.uc);var i=Math.exp(-1*this.bl*s/this.al),h=.5*(i-1/i),l=.5*(i+1/i),c=Math.sin(this.bl*t/this.al),f=(c*Math.cos(this.gamma0)+h*Math.sin(this.gamma0))/l,a=Math.pow(this.el/Math.sqrt((1+f)/(1-f)),1/this.bl);return Math.abs(f-1)<u?(n.x=this.long0,n.y=e):Math.abs(f+1)<u?(n.x=this.long0,n.y=-1*e):(n.y=o(this.e,a),n.x=r(this.long0-Math.atan2(h*Math.cos(this.gamma0)-c*Math.sin(this.gamma0),Math.cos(this.bl*t/this.al))/this.bl)),n};i.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}],57:[function(n,t,i){var r=n("../common/adjust_lon"),u=1e-10,f=n("../common/asinz"),e=Math.PI/2;i.init=function(){this.sin_p14=Math.sin(this.lat0);this.cos_p14=Math.cos(this.lat0)};i.forward=function(n){var i,t,f,e,o,s,h,c,a=n.x,l=n.y;return f=r(a-this.long0),i=Math.sin(l),t=Math.cos(l),e=Math.cos(f),s=this.sin_p14*i+this.cos_p14*t*e,o=1,(s>0||Math.abs(s)<=u)&&(h=this.a*o*t*Math.sin(f),c=this.y0+this.a*o*(this.cos_p14*i-this.sin_p14*t*e)),n.x=h,n.y=c,n};i.inverse=function(n){var i,h,s,c,l,t,o;return n.x-=this.x0,n.y-=this.y0,i=Math.sqrt(n.x*n.x+n.y*n.y),h=f(i/this.a),s=Math.sin(h),c=Math.cos(h),t=this.long0,Math.abs(i)<=u?(o=this.lat0,n.x=t,n.y=o,n):(o=f(c*this.sin_p14+n.y*s*this.cos_p14/i),l=Math.abs(this.lat0)-e,Math.abs(l)<=u?(t=r(this.lat0>=0?this.long0+Math.atan2(n.x,-n.y):this.long0-Math.atan2(-n.x,n.y)),n.x=t,n.y=o,n):(t=r(this.long0+Math.atan2(n.x*s,i*this.cos_p14*c-n.y*this.sin_p14*s)),n.x=t,n.y=o,n))};i.names=["ortho"]},{"../common/adjust_lon":5,"../common/asinz":6}],58:[function(n,t,i){var o=n("../common/e0fn"),s=n("../common/e1fn"),h=n("../common/e2fn"),c=n("../common/e3fn"),u=n("../common/adjust_lon"),l=n("../common/adjust_lat"),f=n("../common/mlfn"),r=1e-10,a=n("../common/gN"),e=20;i.init=function(){this.temp=this.b/this.a;this.es=1-Math.pow(this.temp,2);this.e=Math.sqrt(this.es);this.e0=o(this.es);this.e1=s(this.es);this.e2=h(this.es);this.e3=c(this.es);this.ml0=this.a*f(this.e0,this.e1,this.e2,this.e3,this.lat0)};i.forward=function(n){var i,e,o,c=n.x,t=n.y,s=u(c-this.long0),h;return(o=s*Math.sin(t),this.sphere)?Math.abs(t)<=r?(i=this.a*s,e=-1*this.a*this.lat0):(i=this.a*Math.sin(o)/Math.tan(t),e=this.a*(l(t-this.lat0)+(1-Math.cos(o))/Math.tan(t))):Math.abs(t)<=r?(i=this.a*s,e=-1*this.ml0):(h=a(this.a,this.e,Math.sin(t))/Math.tan(t),i=h*Math.sin(o),e=this.a*f(this.e0,this.e1,this.e2,this.e3,t)-this.ml0+h*(1-Math.cos(o))),n.x=i+this.x0,n.y=e+this.y0,n};i.inverse=function(n){var v,o,s,y,l,i,p,t,a,w,c,d,b,h,k;if(s=n.x-this.x0,y=n.y-this.y0,this.sphere)if(Math.abs(y+this.a*this.lat0)<=r)v=u(s/this.a+this.long0),o=0;else{for(i=this.lat0+y/this.a,p=s*s/this.a/this.a+i*i,t=i,l=e;l;--l)if(w=Math.tan(t),a=-1*(i*(t*w+1)-t-.5*(t*t+p)*w)/((t-i)/w-1),t+=a,Math.abs(a)<=r){o=t;break}v=u(this.long0+Math.asin(s*Math.tan(t)/this.a)/Math.sin(o))}else if(Math.abs(y+this.ml0)<=r)o=0,v=u(this.long0+s/this.a);else{for(i=(this.ml0+y)/this.a,p=s*s/this.a/this.a+i*i,t=i,l=e;l;--l)if(k=this.e*Math.sin(t),c=Math.sqrt(1-k*k)*Math.tan(t),d=this.a*f(this.e0,this.e1,this.e2,this.e3,t),b=this.e0-2*this.e1*Math.cos(2*t)+4*this.e2*Math.cos(4*t)-6*this.e3*Math.cos(6*t),h=d/this.a,a=(i*(c*h+1)-h-.5*c*(h*h+p))/(this.es*Math.sin(2*t)*(h*h+p-2*i*h)/(4*c)+(i-h)*(c*b-2/Math.sin(2*t))-b),t-=a,Math.abs(a)<=r){o=t;break}c=Math.sqrt(1-this.es*Math.pow(Math.sin(o),2))*Math.tan(o);v=u(this.long0+Math.asin(s*c/this.a)/Math.sin(o))}return n.x=v,n.y=o,n};i.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}],59:[function(n,t,i){var r=n("../common/adjust_lon"),o=n("../common/adjust_lat"),s=n("../common/pj_enfn"),h=20,c=n("../common/pj_mlfn"),l=n("../common/pj_inv_mlfn"),u=Math.PI/2,f=1e-10,e=n("../common/asinz");i.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=s(this.es)};i.forward=function(n){var e,o,i=n.x,t=n.y,v,s,l,u,a;if(i=r(i-this.long0),this.sphere){if(this.m){for(v=this.n*Math.sin(t),s=h;s;--s)if(l=(this.m*t+Math.sin(t)-v)/(this.m+Math.cos(t)),t-=l,Math.abs(l)<f)break}else t=1!==this.n?Math.asin(this.n*Math.sin(t)):t;e=this.a*this.C_x*i*(this.m+Math.cos(t));o=this.a*this.C_y*t}else u=Math.sin(t),a=Math.cos(t),o=this.a*c(t,u,a,this.en),e=this.a*i*a/Math.sqrt(1-this.es*u*u);return n.x=e,n.y=o,n};i.inverse=function(n){var t,h,i,s;return n.x-=this.x0,i=n.x/this.a,n.y-=this.y0,t=n.y/this.a,this.sphere?(t/=this.C_y,i/=this.C_x*(this.m+Math.cos(t)),this.m?t=e((this.m*t+Math.sin(t))/this.n):1!==this.n&&(t=e(Math.sin(t)/this.n)),i=r(i+this.long0),t=o(t)):(t=l(n.y/this.a,this.es,this.en),s=Math.abs(t),u>s?(s=Math.sin(t),h=this.long0+n.x*Math.sqrt(1-this.es*s*s)/(this.a*Math.cos(t)),i=r(h)):u>s-f&&(i=this.long0)),n.x=i,n.y=t,n};i.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}],60:[function(n,t,i){i.init=function(){var i=this.lat0;this.lambda0=this.long0;var t=Math.sin(i),f=this.a,e=this.rf,u=1/e,n=2*u-Math.pow(u,2),r=this.e=Math.sqrt(n);this.R=this.k0*f*Math.sqrt(1-n)/(1-n*Math.pow(t,2));this.alpha=Math.sqrt(1+n/(1-n)*Math.pow(Math.cos(i),4));this.b0=Math.asin(t/this.alpha);var o=Math.log(Math.tan(Math.PI/4+this.b0/2)),s=Math.log(Math.tan(Math.PI/4+i/2)),h=Math.log((1+r*t)/(1-r*t));this.K=o-this.alpha*s+this.alpha*r/2*h};i.forward=function(n){var u=Math.log(Math.tan(Math.PI/4-n.y/2)),f=this.e/2*Math.log((1+this.e*Math.sin(n.y))/(1-this.e*Math.sin(n.y))),e=-this.alpha*(u+f)+this.K,t=2*(Math.atan(Math.exp(e))-Math.PI/4),i=this.alpha*(n.x-this.lambda0),o=Math.atan(Math.sin(i)/(Math.sin(this.b0)*Math.tan(t)+Math.cos(this.b0)*Math.cos(i))),r=Math.asin(Math.cos(this.b0)*Math.sin(t)-Math.sin(this.b0)*Math.cos(t)*Math.cos(i));return n.y=this.R/2*Math.log((1+Math.sin(r))/(1-Math.sin(r)))+this.y0,n.x=this.R*o+this.x0,n};i.inverse=function(n){for(var o=n.x-this.x0,s=n.y-this.y0,i=o/this.R,r=2*(Math.atan(Math.exp(s/this.R))-Math.PI/4),u=Math.asin(Math.cos(this.b0)*Math.sin(r)+Math.sin(this.b0)*Math.cos(r)*Math.cos(i)),h=Math.atan(Math.sin(i)/(Math.cos(this.b0)*Math.cos(i)-Math.sin(this.b0)*Math.tan(r))),c=this.lambda0+h/this.alpha,f=0,t=u,e=-1e3,l=0;Math.abs(t-e)>1e-7;){if(++l>20)return;f=1/this.alpha*(Math.log(Math.tan(Math.PI/4+u/2))-this.K)+this.e*Math.log(Math.tan(Math.PI/4+Math.asin(this.e*Math.sin(t))/2));e=t;t=2*Math.atan(Math.exp(f))-Math.PI/2}return n.x=c,n.y=t,n};i.names=["somerc"]},{}],61:[function(n,t,i){var u=Math.PI/2,r=1e-10,h=n("../common/sign"),e=n("../common/msfnz"),o=n("../common/tsfnz"),s=n("../common/phi2z"),f=n("../common/adjust_lon");i.ssfn_=function(n,t,i){return t*=i,Math.tan(.5*(u+n))*Math.pow((1-t)/(1+t),.5*i)};i.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)<=r&&(this.k0=.5*(1+h(this.lat0)*Math.sin(this.lat_ts))):(Math.abs(this.coslat0)<=r&&(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)<=r&&(this.k0=.5*this.cons*e(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts))/o(this.e,this.con*this.lat_ts,this.con*Math.sin(this.lat_ts))),this.ms1=e(this.e,this.sinlat0,this.coslat0),this.X0=2*Math.atan(this.ssfn_(this.lat0,this.sinlat0,this.e))-u,this.cosX0=Math.cos(this.X0),this.sinX0=Math.sin(this.X0))};i.forward=function(n){var t,a,h,e,p,v,c=n.x,s=n.y,l=Math.sin(s),y=Math.cos(s),i=f(c-this.long0);return Math.abs(Math.abs(c-this.long0)-Math.PI)<=r&&Math.abs(s+this.lat0)<=r?(n.x=NaN,n.y=NaN,n):this.sphere?(t=2*this.k0/(1+this.sinlat0*l+this.coslat0*y*Math.cos(i)),n.x=this.a*t*y*Math.sin(i)+this.x0,n.y=this.a*t*(this.coslat0*l-this.sinlat0*y*Math.cos(i))+this.y0,n):(a=2*Math.atan(this.ssfn_(s,l,this.e))-u,e=Math.cos(a),h=Math.sin(a),Math.abs(this.coslat0)<=r?(p=o(this.e,s*this.con,this.con*l),v=2*this.a*this.k0*p/this.cons,n.x=this.x0+v*Math.sin(c-this.long0),n.y=this.y0-this.con*v*Math.cos(c-this.long0),n):(Math.abs(this.sinlat0)<r?(t=2*this.a*this.k0/(1+e*Math.cos(i)),n.y=t*h):(t=2*this.a*this.k0*this.ms1/(this.cosX0*(1+this.sinX0*h+this.cosX0*e*Math.cos(i))),n.y=t*(this.cosX0*h-this.sinX0*e*Math.cos(i))+this.y0),n.x=t*e*Math.sin(i)+this.x0,n))};i.inverse=function(n){var i,e,l,o,c,t,h;if(n.x-=this.x0,n.y-=this.y0,t=Math.sqrt(n.x*n.x+n.y*n.y),this.sphere)return h=2*Math.atan(t/(.5*this.a*this.k0)),i=this.long0,e=this.lat0,r>=t?(n.x=i,n.y=e,n):(e=Math.asin(Math.cos(h)*this.sinlat0+n.y*Math.sin(h)*this.coslat0/t),i=f(Math.abs(this.coslat0)<r?this.lat0>0?this.long0+Math.atan2(n.x,-1*n.y):this.long0+Math.atan2(n.x,n.y):this.long0+Math.atan2(n.x*Math.sin(h),t*this.coslat0*Math.cos(h)-n.y*this.sinlat0*Math.sin(h))),n.x=i,n.y=e,n);if(Math.abs(this.coslat0)<=r){if(r>=t)return e=this.lat0,i=this.long0,n.x=i,n.y=e,n;n.x*=this.con;n.y*=this.con;l=t*this.cons/(2*this.a*this.k0);e=this.con*s(this.e,l);i=this.con*f(this.con*this.long0+Math.atan2(n.x,-1*n.y))}else o=2*Math.atan(t*this.cosX0/(2*this.a*this.k0*this.ms1)),i=this.long0,r>=t?c=this.X0:(c=Math.asin(Math.cos(o)*this.sinX0+n.y*Math.sin(o)*this.cosX0/t),i=f(this.long0+Math.atan2(n.x*Math.sin(o),t*this.cosX0*Math.cos(o)-n.y*this.sinX0*Math.sin(o)))),e=-1*s(this.e,Math.tan(.5*(u+c)));return n.x=i,n.y=e,n};i.names=["stere","Stereographic_South_Pole","Polar Stereographic (variant B)"]},{"../common/adjust_lon":5,"../common/msfnz":15,"../common/phi2z":16,"../common/sign":21,"../common/tsfnz":24}],62:[function(n,t,i){var r=n("./gauss"),u=n("../common/adjust_lon");i.init=function(){r.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"))};i.forward=function(n){var i,t,f,e;return n.x=u(n.x-this.long0),r.forward.apply(this,[n]),i=Math.sin(n.y),t=Math.cos(n.y),f=Math.cos(n.x),e=this.k0*this.R2/(1+this.sinc0*i+this.cosc0*t*f),n.x=e*t*Math.sin(n.x),n.y=e*(this.cosc0*i-this.sinc0*t*f),n.x=this.a*n.x+this.x0,n.y=this.a*n.y+this.y0,n};i.inverse=function(n){var t,f,e,o,i,s;return(n.x=(n.x-this.x0)/this.a,n.y=(n.y-this.y0)/this.a,n.x/=this.k0,n.y/=this.k0,i=Math.sqrt(n.x*n.x+n.y*n.y))?(s=2*Math.atan2(i,this.R2),t=Math.sin(s),f=Math.cos(s),o=Math.asin(f*this.sinc0+n.y*t*this.cosc0/i),e=Math.atan2(n.x*t,i*this.cosc0*f-n.y*this.sinc0*t)):(o=this.phic0,e=0),n.x=e,n.y=o,r.inverse.apply(this,[n]),n.x=u(n.x+this.long0),n};i.names=["Stereographic_North_Pole","Oblique_Stereographic","Polar_Stereographic","sterea","Oblique Stereographic Alternative"]},{"../common/adjust_lon":5,"./gauss":46}],63:[function(n,t,i){var e=n("../common/e0fn"),o=n("../common/e1fn"),s=n("../common/e2fn"),h=n("../common/e3fn"),u=n("../common/mlfn"),r=n("../common/adjust_lon"),f=Math.PI/2,c=1e-10,l=n("../common/sign"),a=n("../common/asinz");i.init=function(){this.e0=e(this.es);this.e1=o(this.es);this.e2=s(this.es);this.e3=h(this.es);this.ml0=this.a*u(this.e0,this.e1,this.e2,this.e3,this.lat0)};i.forward=function(n){var t,c,l,b=n.x,e=n.y,a=r(b-this.long0),k=Math.sin(e),h=Math.cos(e),i,v,w;if(this.sphere){if(i=h*Math.sin(a),Math.abs(Math.abs(i)-1)<1e-10)return 93;c=.5*this.a*this.k0*Math.log((1+i)/(1-i));t=Math.acos(h*Math.cos(a)/Math.sqrt(1-i*i));0>e&&(t=-t);l=this.a*this.k0*(t-this.lat0)}else{var y=h*a,o=Math.pow(y,2),s=this.ep2*Math.pow(h,2),p=Math.tan(e),f=Math.pow(p,2);t=1-this.es*Math.pow(k,2);v=this.a/Math.sqrt(t);w=this.a*u(this.e0,this.e1,this.e2,this.e3,e);c=this.k0*v*y*(1+o/6*(1-f+s+o/20*(5-18*f+Math.pow(f,2)+72*s-58*this.ep2)))+this.x0;l=this.k0*(w-this.ml0+v*p*o*(.5+o/24*(5-f+9*s+4*Math.pow(s,2)+o/30*(61-58*f+Math.pow(f,2)+600*s-330*this.ep2))))+this.y0}return n.x=c,n.y=l,n};i.inverse=function(n){var i,t,p,w,u,h,tt,b;if(this.sphere){var g=Math.exp(n.x/(this.a*this.k0)),v=.5*(g-1/g),nt=this.lat0+n.y/(this.a*this.k0),y=Math.cos(nt);i=Math.sqrt((1-y*y)/(1+v*v));u=a(i);0>nt&&(u=-u);h=0===v&&0===y?this.long0:r(Math.atan2(v,y)+this.long0)}else{for(tt=n.x-this.x0,b=n.y-this.y0,i=(this.ml0+b/this.k0)/this.a,t=i,w=0;!0&&(p=(i+this.e1*Math.sin(2*t)-this.e2*Math.sin(4*t)+this.e3*Math.sin(6*t))/this.e0-t,t+=p,!(Math.abs(p)<=c));w++)if(w>=6)return 95;if(Math.abs(t)<f){var et=Math.sin(t),it=Math.cos(t),rt=Math.tan(t),e=this.ep2*Math.pow(it,2),k=Math.pow(e,2),o=Math.pow(rt,2),ut=Math.pow(o,2);i=1-this.es*Math.pow(et,2);var d=this.a/Math.sqrt(i),ot=d*(1-this.es)/i,ft=tt/(d*this.k0),s=Math.pow(ft,2);u=t-d*rt*s/ot*(.5-s/24*(5+3*o+10*e-4*k-9*this.ep2-s/30*(61+90*o+298*e+45*ut-252*this.ep2-3*k)));h=r(this.long0+ft*(1-s/6*(1+2*o+e-s/20*(5-2*e+28*o-3*k+8*this.ep2+24*ut)))/it)}else u=f*l(b),h=this.long0}return n.x=h,n.y=u,n};i.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}],64:[function(n,t,i){var u=.017453292519943295,r=n("./tmerc");i.dependsOn="tmerc";i.init=function(){this.zone&&(this.lat0=0,this.long0=(6*Math.abs(this.zone)-183)*u,this.x0=5e5,this.y0=this.utmSouth?1e7:0,this.k0=.9996,r.init.apply(this),this.forward=r.forward,this.inverse=r.inverse)};i.names=["Universal Transverse Mercator System","utm"]},{"./tmerc":63}],65:[function(n,t,i){var u=n("../common/adjust_lon"),f=Math.PI/2,r=1e-10,e=n("../common/asinz");i.init=function(){this.R=this.a};i.forward=function(n){var a,v,d=n.x,h=n.y,c=u(d-this.long0),l,p;Math.abs(h)<=r&&(a=this.x0+this.R*c,v=this.y0);l=e(2*Math.abs(h/Math.PI));(Math.abs(c)<=r||Math.abs(Math.abs(h)-f)<=r)&&(a=this.x0,v=h>=0?this.y0+Math.PI*this.R*Math.tan(.5*l):this.y0+Math.PI*this.R*-Math.tan(.5*l));var y=.5*Math.abs(Math.PI/c-c/Math.PI),i=y*y,b=Math.sin(l),k=Math.cos(l),o=k/(b+k-1),g=o*o,w=o*(2/b-1),t=w*w,s=Math.PI*this.R*(y*(o-t)+Math.sqrt(i*(o-t)*(o-t)-(t+i)*(g-t)))/(t+i);return 0>c&&(s=-s),a=this.x0+s,p=i+o,s=Math.PI*this.R*(w*p-y*Math.sqrt((t+i)*(i+1)-p*p))/(t+i),v=h>=0?this.y0+s:this.y0-s,n.x=a,n.y=v,n};i.inverse=function(n){var v,y,f,t,s,h,e,i,l,c,o,a,p;return n.x-=this.x0,n.y-=this.y0,o=Math.PI*this.R,f=n.x/o,t=n.y/o,s=f*f+t*t,h=-Math.abs(t)*(1+s),e=h-2*t*t+f*f,i=-2*h+1+2*t*t+s*s,p=t*t/i+(2*e*e*e/i/i/i-9*h*e/i/i)/27,l=(h-e*e/3/i)/i,c=2*Math.sqrt(-l/3),o=3*p/l/c,Math.abs(o)>1&&(o=o>=0?1:-1),a=Math.acos(o)/3,y=n.y>=0?(-c*Math.cos(a+Math.PI/3)-e/3/i)*Math.PI:-(-c*Math.cos(a+Math.PI/3)-e/3/i)*Math.PI,v=Math.abs(f)<r?this.long0:u(this.long0+Math.PI*(s-1+Math.sqrt(1+2*(f*f-t*t)+s*s))/2/f),n.x=v,n.y=y,n};i.names=["Van_der_Grinten_I","VanDerGrinten","vandg"]},{"../common/adjust_lon":5,"../common/asinz":6}],66:[function(n,t){var i=.017453292519943295,r=57.295779513082323,f=1,e=2,o=n("./datum_transform"),u=n("./adjust_axis"),s=n("./Proj"),h=n("./common/toPoint");t.exports=function c(n,t,l){function v(n,t){return(n.datum.datum_type===f||n.datum.datum_type===e)&&"WGS84"!==t.datumCode}var a;return Array.isArray(l)&&(l=h(l)),n.datum&&t.datum&&(v(n,t)||v(t,n))&&(a=new s("WGS84"),c(n,a,l),n=a),"enu"!==n.axis&&u(n,!1,l),"longlat"===n.projName?(l.x*=i,l.y*=i):(n.to_meter&&(l.x*=n.to_meter,l.y*=n.to_meter),n.inverse(l)),n.from_greenwich&&(l.x+=n.from_greenwich),l=o(n.datum,t.datum,l),t.from_greenwich&&(l.x-=t.from_greenwich),"longlat"===t.projName?(l.x*=r,l.y*=r):(t.forward(l),t.to_meter&&(l.x/=t.to_meter,l.y/=t.to_meter)),"enu"!==t.axis&&u(t,!0,l),l}},{"./Proj":2,"./adjust_axis":3,"./common/toPoint":23,"./datum_transform":31}],67:[function(n,t){function u(n,t,i){n[t]=i.map(function(n){var t={};return r(n,t),t}).reduce(function(n,t){return f(n,t)},{})}function r(n,t){var i;return Array.isArray(n)?(i=n.shift(),"PARAMETER"===i&&(i=n.shift()),1===n.length?Array.isArray(n[0])?(t[i]={},r(n[0],t[i])):t[i]=n[0]:n.length?"TOWGS84"===i?t[i]=n:(t[i]={},["UNIT","PRIMEM","VERT_DATUM"].indexOf(i)>-1?(t[i]={name:n[0].toLowerCase(),convert:n[1]},3===n.length&&(t[i].auth=n[2])):"SPHEROID"===i?(t[i]={name:n[0],a:n[1],rf:n[2]},4===n.length&&(t[i].auth=n[3])):["GEOGCS","GEOCCS","DATUM","VERT_CS","COMPD_CS","LOCAL_CS","FITTED_CS","LOCAL_DATUM"].indexOf(i)>-1?(n[0]=["name",n[0]],u(t,i,n)):n.every(function(n){return Array.isArray(n)})?u(t,i,n):r(n,t[i])):t[i]=!0,void 0):void(t[n]=!0)}function e(n,t){var i=t[0],r=t[1];!(i in n)&&r in n&&(n[i]=n[r],3===t.length&&(n[i]=t[2](n[i])))}function i(n){return n*s}function o(n){function t(t){var i=n.to_meter||1;return parseFloat(t,10)*i}"GEOGCS"===n.type?n.projName="longlat":"LOCAL_CS"===n.type?(n.projName="identity",n.local=!0):n.projName="object"==typeof n.PROJECTION?Object.keys(n.PROJECTION)[0]:n.PROJECTION;n.UNIT&&(n.units=n.UNIT.name.toLowerCase(),"metre"===n.units&&(n.units="meter"),n.UNIT.convert&&("GEOGCS"===n.type?n.DATUM&&n.DATUM.SPHEROID&&(n.to_meter=parseFloat(n.UNIT.convert,10)*n.DATUM.SPHEROID.a):n.to_meter=parseFloat(n.UNIT.convert,10)));n.GEOGCS&&(n.datumCode=n.GEOGCS.DATUM?n.GEOGCS.DATUM.name.toLowerCase():n.GEOGCS.name.toLowerCase(),"d_"===n.datumCode.slice(0,2)&&(n.datumCode=n.datumCode.slice(2)),"new_zealand_geodetic_datum_1949"!==n.datumCode&&"new_zealand_1949"!==n.datumCode||(n.datumCode="nzgd49"),"wgs_1984"===n.datumCode&&("Mercator_Auxiliary_Sphere"===n.PROJECTION&&(n.sphere=!0),n.datumCode="wgs84"),"_ferro"===n.datumCode.slice(-6)&&(n.datumCode=n.datumCode.slice(0,-6)),"_jakarta"===n.datumCode.slice(-8)&&(n.datumCode=n.datumCode.slice(0,-8)),~n.datumCode.indexOf("belge")&&(n.datumCode="rnb72"),n.GEOGCS.DATUM&&n.GEOGCS.DATUM.SPHEROID&&(n.ellps=n.GEOGCS.DATUM.SPHEROID.name.replace("_19","").replace(/[Cc]larke\_18/,"clrk"),"international"===n.ellps.toLowerCase().slice(0,13)&&(n.ellps="intl"),n.a=n.GEOGCS.DATUM.SPHEROID.a,n.rf=parseFloat(n.GEOGCS.DATUM.SPHEROID.rf,10)),~n.datumCode.indexOf("osgb_1936")&&(n.datumCode="osgb36"));n.b&&!isFinite(n.b)&&(n.b=n.a);var r=function(t){return e(n,t)},u=[["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"],["latitude_of_origin","Central_Parallel"],["scale_factor","Scale_Factor"],["k0","scale_factor"],["latitude_of_center","Latitude_of_center"],["lat0","latitude_of_center",i],["longitude_of_center","Longitude_Of_Center"],["longc","longitude_of_center",i],["x0","false_easting",t],["y0","false_northing",t],["long0","central_meridian",i],["lat0","latitude_of_origin",i],["lat0","standard_parallel_1",i],["lat1","standard_parallel_1",i],["lat2","standard_parallel_2",i],["alpha","azimuth",i],["srsCode","name"]];u.forEach(r);n.long0||!n.longc||"Albers_Conic_Equal_Area"!==n.projName&&"Lambert_Azimuthal_Equal_Area"!==n.projName||(n.long0=n.longc);n.lat_ts||!n.lat1||"Stereographic_South_Pole"!==n.projName&&"Polar Stereographic (variant B)"!==n.projName||(n.lat0=i(n.lat1>0?90:-90),n.lat_ts=n.lat1)}var s=.017453292519943295,f=n("./extend");t.exports=function(n,t){var i=JSON.parse((","+n).replace(/\s*\,\s*([A-Z_0-9]+?)(\[)/g,',["$1",').slice(1).replace(/\s*\,\s*([A-Z_0-9]+?)\]/g,',"$1"]').replace(/,\["VERTCS".+/,"")),e=i.shift(),s=i.shift(),u;return i.unshift(["name",s]),i.unshift(["type",e]),i.unshift("output"),u={},r(i,u),o(u.output),f(t,u.output)}},{"./extend":34}],68:[function(n,t,i){function s(n){return n*(Math.PI/180)}function c(n){return 180*(n/Math.PI)}function w(n){var v,c,l,f,o,i,y,p,e,h=n.lat,r=n.lon,w=6378137,t=.00669438,k=.9996,u=s(h),g=s(r),d,a;return e=Math.floor((r+180)/6)+1,180===r&&(e=60),h>=56&&64>h&&r>=3&&12>r&&(e=32),h>=72&&84>h&&(r>=0&&9>r?e=31:r>=9&&21>r?e=33:r>=21&&33>r?e=35:r>=33&&42>r&&(e=37)),v=6*(e-1)-177,p=s(v),c=t/(1-t),l=w/Math.sqrt(1-t*Math.sin(u)*Math.sin(u)),f=Math.tan(u)*Math.tan(u),o=c*Math.cos(u)*Math.cos(u),i=Math.cos(u)*(g-p),y=w*((1-t/4-3*t*t/64-5*t*t*t/256)*u-(3*t/8+3*t*t/32+45*t*t*t/1024)*Math.sin(2*u)+(15*t*t/256+45*t*t*t/1024)*Math.sin(4*u)-35*t*t*t/3072*Math.sin(6*u)),d=k*l*(i+(1-f+o)*i*i*i/6+(5-18*f+f*f+72*o-58*c)*i*i*i*i*i/120)+5e5,a=k*(y+l*Math.tan(u)*(i*i/2+(5-f+9*o+4*o*o)*i*i*i*i/24+(61-58*f+f*f+600*o-330*c)*i*i*i*i*i*i/720)),0>h&&(a+=1e7),{northing:Math.round(a),easting:Math.round(d),zoneNumber:e,zoneLetter:b(h)}}function h(n){var it=n.northing,rt=n.easting,ut=n.zoneLetter,v=n.zoneNumber,l,a,w,b;if(0>v||v>60)return null;var o,y,e,f,k,t,d,g,s,u,nt=.9996,p=6378137,i=.00669438,r=(1-Math.sqrt(1-i))/(1+Math.sqrt(1-i)),ft=rt-5e5,tt=it;return"N">ut&&(tt-=1e7),g=6*(v-1)-177,o=i/(1-i),d=tt/nt,s=d/(p*(1-i/4-3*i*i/64-5*i*i*i/256)),u=s+(3*r/2-27*r*r*r/32)*Math.sin(2*s)+(21*r*r/16-55*r*r*r*r/32)*Math.sin(4*s)+151*r*r*r/96*Math.sin(6*s),y=p/Math.sqrt(1-i*Math.sin(u)*Math.sin(u)),e=Math.tan(u)*Math.tan(u),f=o*Math.cos(u)*Math.cos(u),k=p*(1-i)/Math.pow(1-i*Math.sin(u)*Math.sin(u),1.5),t=ft/(y*nt),l=u-y*Math.tan(u)/k*(t*t/2-(5+3*e+10*f-4*f*f-9*o)*t*t*t*t/24+(61+90*e+298*f+45*e*e-252*o-3*f*f)*t*t*t*t*t*t/720),l=c(l),a=(t-(1+2*e+f)*t*t*t/6+(5-2*f+28*e-3*f*f+8*o+24*e*e)*t*t*t*t*t/120)/Math.cos(u),a=g+c(a),n.accuracy?(b=h({northing:n.northing+n.accuracy,easting:n.easting+n.accuracy,zoneLetter:n.zoneLetter,zoneNumber:n.zoneNumber}),w={top:b.lat,right:b.lon,bottom:l,left:a}):w={lat:l,lon:a},w}function b(n){var t="Z";return 84>=n&&n>=72?t="X":72>n&&n>=64?t="W":64>n&&n>=56?t="V":56>n&&n>=48?t="U":48>n&&n>=40?t="T":40>n&&n>=32?t="S":32>n&&n>=24?t="R":24>n&&n>=16?t="Q":16>n&&n>=8?t="P":8>n&&n>=0?t="N":0>n&&n>=-8?t="M":-8>n&&n>=-16?t="L":-16>n&&n>=-24?t="K":-24>n&&n>=-32?t="J":-32>n&&n>=-40?t="H":-40>n&&n>=-48?t="G":-48>n&&n>=-56?t="F":-56>n&&n>=-64?t="E":-64>n&&n>=-72?t="D":-72>n&&n>=-80&&(t="C"),t}function k(n,t){var i="00000"+n.easting,r="00000"+n.northing;return n.zoneNumber+n.zoneLetter+d(n.easting,n.northing,n.zoneNumber)+i.substr(i.length-5,t)+r.substr(r.length-5,t)}function d(n,t,i){var r=l(i),u=Math.floor(n/1e5),f=Math.floor(t/1e5)%20;return g(u,f,r)}function l(n){var t=n%v;return 0===t&&(t=v),t}function g(n,t,i){var v=i-1,l=y.charCodeAt(v),a=p.charCodeAt(v),s=l+n-1,h=a+t,c=!1;return s>o&&(s=s-o+f-1,c=!0),(s===r||r>l&&s>r||(s>r||r>l)&&c)&&s++,(s===u||u>l&&s>u||(s>u||u>l)&&c)&&(s++,s===r&&s++),s>o&&(s=s-o+f-1),h>e?(h=h-e+f-1,c=!0):c=!1,(h===r||r>a&&h>r||(h>r||r>a)&&c)&&h++,(h===u||u>a&&h>u||(h>u||u>a)&&c)&&(h++,h===r&&h++),h>e&&(h=h-e+f-1),String.fromCharCode(s)+String.fromCharCode(h)}function a(n){var e,i,s;if(n&&0===n.length)throw"MGRSPoint coverting from nothing";for(var h,c=n.length,f=null,a="",t=0;!/[A-Z]/.test(h=n.charAt(t));){if(t>=2)throw"MGRSPoint bad conversion from: "+n;a+=h;t++}if(e=parseInt(a,10),0===t||t+3>c)throw"MGRSPoint bad conversion from: "+n;if(i=n.charAt(t++),"A">=i||"B"===i||"Y"===i||i>="Z"||"I"===i||"O"===i)throw"MGRSPoint zone letter "+i+" not handled: "+n;f=n.substring(t,t+=2);for(var v=l(e),g=nt(f.charAt(0),v),o=tt(f.charAt(1),v);o<it(i);)o+=2e6;if(s=c-t,s%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"+n;var r,y,p,w,b,u=s/2,k=0,d=0;return u>0&&(r=1e5/Math.pow(10,u),y=n.substring(t,t+u),k=parseFloat(y)*r,p=n.substring(t+u),d=parseFloat(p)*r),w=k+g,b=d+o,{easting:w,northing:b,zoneLetter:i,zoneNumber:e,accuracy:r}}function nt(n,t){for(var i=y.charCodeAt(t-1),e=1e5,s=!1;i!==n.charCodeAt(0);){if(i++,i===r&&i++,i===u&&i++,i>o){if(s)throw"Bad character: "+n;i=f;s=!0}e+=1e5}return e}function tt(n,t){if(n>"V")throw"MGRSPoint given invalid Northing "+n;for(var i=p.charCodeAt(t-1),o=0,s=!1;i!==n.charCodeAt(0);){if(i++,i===r&&i++,i===u&&i++,i>e){if(s)throw"Bad character: "+n;i=f;s=!0}o+=1e5}return o}function it(n){var t;switch(n){case"C":t=11e5;break;case"D":t=2e6;break;case"E":t=28e5;break;case"F":t=37e5;break;case"G":t=46e5;break;case"H":t=55e5;break;case"J":t=64e5;break;case"K":t=73e5;break;case"L":t=82e5;break;case"M":t=91e5;break;case"N":t=0;break;case"P":t=8e5;break;case"Q":t=17e5;break;case"R":t=26e5;break;case"S":t=35e5;break;case"T":t=44e5;break;case"U":t=53e5;break;case"V":t=62e5;break;case"W":t=7e6;break;case"X":t=79e5;break;default:t=-1}if(t>=0)return t;throw"Invalid zone letter: "+n;}var v=6,y="AJSAJS",p="AFAFAF",f=65,r=73,u=79,e=86,o=90;i.forward=function(n,t){return t=t||5,k(w({lat:n[1],lon:n[0]}),t)};i.inverse=function(n){var t=h(a(n.toUpperCase()));return t.lat&&t.lon?[t.lon,t.lat,t.lon,t.lat]:[t.left,t.bottom,t.right,t.top]};i.toPoint=function(n){var t=h(a(n.toUpperCase()));return t.lat&&t.lon?[t.lon,t.lat]:[(t.left+t.right)/2,(t.top+t.bottom)/2]}},{}],69:[function(n,t){t.exports={name:"proj4",version:"2.3.15",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:"~12.0.1","grunt-browserify":"~4.0.1","grunt-contrib-uglify":"~0.11.1",curl:"git://github.com/cujojs/curl.git",istanbul:"~0.2.4",tin:"~0.4.0"},dependencies:{mgrs:"~0.0.2"}}},{}]},{},[36])(36)}),function(n,t){typeof exports=="object"?module.exports=t():typeof define=="function"&&define.amd?define([],t):n.ol=t()}(this,function(){function t(n,t){var r=n.split("."),i=rlt||ioi,u;for((r[0]in i)||!i.execScript||i.execScript("var "+r[0]);r.length&&(u=r.shift());)r.length||void 0===t?i=i[u]?i[u]:i[u]={}:i[u]=t}function i(n,t){n.prototype=Object.create(t.prototype);n.prototype.constructor=n}function ve(){}function tt(n){return n.ao||(n.ao=++roi)}function kd(n){this.message="Assertion failed. See https://openlayers.org/en/v3.20.1/doc/errors/#"+n+" for details.";this.code=n;this.name="AssertionError"}function li(n,t){if(!n)throw new kd(t);}function eo(n,t,i){return Math.min(Math.max(n,t),i)}function uoi(n){return li(0<n,29),Math.pow(2,Math.ceil(Math.log(n)/Math.LN2))}function elt(n,t,i,r,u,f){var e=u-i,o=f-r,s;return(0!==e||0!==o)&&(s=((n-i)*e+(t-r)*o)/(e*e+o*o),1<s?(i=u,r=f):0<s&&(i+=e*s,r+=o*s)),ty(n,t,i,r)}function ty(n,t,i,r){return n=i-n,t=r-t,n*n+t*t}function as(n){return n*Math.PI/180}function el(n,t){var i=n%t;return 0>i*t?i+t:i}function dd(n,t,i){return n+i*(t-n)}function foi(n){return function(t){if(t)return[eo(t[0],n[0],n[2]),eo(t[1],n[1],n[3])]}}function eoi(n){return n}function ooi(n,t,i){this.center=n;this.resolution=t;this.rotation=i}function ol(n){for(var t in n)delete n[t]}function gd(n){var t=[],i;for(i in n)t.push(n[i]);return t}function us(n){for(var t in n)return!1;return!t}function soi(n){function t(t){var i=n.listener,r=n.xg||n.target;return n.zg&&au(n),i.call(r,t)}return n.yg=t}function olt(n,t,i,r){for(var u,f=0,e=n.length;f<e;++f)if(u=n[f],u.listener===t&&u.xg===i)return r&&(u.deleteIndex=f),u}function vit(n,t){var i=n.eb;if(i)return i[t]}function slt(n){var t=n.eb;return t||(t=n.eb={}),t}function hlt(n,t){var i=vit(n,t),r,u;if(i){for(r=0,u=i.length;r<u;++r)n.removeEventListener(t,i[r].yg),ol(i[r]);i.length=0;(i=n.eb)&&(delete i[t],0===Object.keys(i).length&&delete n.eb)}}function f(n,t,i,r,u){var f=slt(n),e=f[t];return e||(e=f[t]=[]),(f=olt(e,i,r,!1))?u||(f.zg=!1):(f={xg:r,zg:!!u,listener:i,target:n,type:t},n.addEventListener(t,soi(f)),e.push(f)),f}function sl(n,t,i,r){return f(n,t,i,r,!0)}function uc(n,t,i,r){(n=vit(n,t))&&(i=olt(n,i,r,!0))&&au(i)}function au(n){var t,i;n&&n.target&&(n.target.removeEventListener(n.type,n.yg),t=vit(n.target,n.type),t&&(i="deleteIndex"in n?n.deleteIndex:t.indexOf(n),-1!==i&&t.splice(i,1),0===t.length&&hlt(n.target,n.type)),ol(n))}function clt(n){var i=slt(n),t;for(t in i)hlt(n,t)}function vp(){}function fc(n){n.zb||(n.zb=!0,n.oa())}function lr(n){this.type=n;this.target=null}function llt(n){n.stopPropagation()}function oo(){this.Qa={};this.va={};this.ra={}}function yp(n,t){return t?t in n.ra:0<Object.keys(n.ra).length}function ye(){oo.call(this);this.g=0}function nk(n){if(Array.isArray(n))for(var t=0,i=n.length;t<i;++t)au(n[t]);else au(n)}function oi(n){ye.call(this);tt(this);this.H={};void 0!==n&&this.I(n)}function vf(n){return ng.hasOwnProperty(n)?ng[n]:ng[n]="change:"+n}function alt(n,t,i){var r;r=vf(t);n.b(new vs(r,t,i));r=wa;n.b(new vs(r,t,i))}function vs(n,t,i){lr.call(this,n);this.key=t;this.oldValue=i}function iy(n,t){return n>t?1:n<t?-1:0}function co(n,t){return 0<=n.indexOf(t)}function tg(n,t,i){var r=n.length;if(n[0]<=t)return 0;if(!(t<=n[r-1]))if(0<i){for(i=1;i<r;++i)if(n[i]<t)return i-1}else if(0>i){for(i=1;i<r;++i)if(n[i]<=t)return i}else for(i=1;i<r;++i){if(n[i]==t)return i;if(n[i]<t)return n[i-1]-t<t-n[i]?i-1:i}return r-1}function vlt(n){return n.reduce(function(n,t){return Array.isArray(t)?n.concat(vlt(t)):n.concat(t)},[])}function cf(n,t){for(var r=Array.isArray(t)?t:[t],u=r.length,i=0;i<u;i++)n[n.length]=r[i]}function tk(n,t){for(var u=n.length>>>0,r,i=0;i<u;i++)if(r=n[i],t(r,i,n))return r;return null}function kc(n,t){var r=n.length,i;if(r!==t.length)return!1;for(i=0;i<r;i++)if(n[i]!==t[i])return!1;return!0}function ylt(n){for(var r=whi,u=n.length,i=Array(n.length),t=0;t<u;t++)i[t]={index:t,value:n[t]};for(i.sort(function(n,t){return r(n.value,t.value)||n.index-t.index}),t=0;t<n.length;t++)n[t]=i[t].value}function yit(n,t){var i;return n.every(function(r,u){return i=u,!t(r,u,n)})?-1:i}function hoi(n,t){var i=t||iy;return n.every(function(t,r){if(0===r)return!0;var u=i(n[r-1],t);return!(0<u||0===u)})}function coi(n){return function(t,i,r){if(void 0!==t)return t=tg(n,t,r),t=eo(t+i,0,n.length-1),i=Math.floor(t),t!=i&&i<n.length-1?n[i]/Math.pow(n[i]/n[i+1],t-i):n[i]}}function loi(n,t,i){return function(r,u,f){if(void 0!==r)return r=Math.max(Math.floor(Math.log(t/r)/Math.log(n)+(-f/2+.5))+u,0),void 0!==i&&(r=Math.min(r,i)),t/Math.pow(n,r)}}function aoi(n){if(void 0!==n)return 0}function plt(n,t){if(void 0!==n)return n+t}function voi(n){var t=2*Math.PI/n;return function(n,i){if(void 0!==n)return Math.floor((n+i)/t+.5)*t}}function yoi(){var n=as(5);return function(t,i){if(void 0!==t)return Math.abs(t+i)<=n?0:t+i}}function ry(n,t){var r=void 0!==t?n.toFixed(t):""+n,i=r.indexOf("."),i=-1===i?r.length:i;return 2<i?r:Array(3-i).join("0")+r}function wlt(n){var i,t,r,u;for(n=(""+n).split("."),i=["1","3"],t=0;t<Math.max(n.length,i.length);t++){if(r=parseInt(n[t]||"0",10),u=parseInt(i[t]||"0",10),r>u)return 1;if(u>r)return-1}return 0}function pp(n,t){return n[0]+=t[0],n[1]+=t[1],n}function ig(n,t){var r=n[0],h=n[1],i=t[0],u=t[1],f=i[0],i=i[1],s=u[0],u=u[1],e=s-f,o=u-i,r=0===e&&0===o?0:(e*(r-f)+o*(h-i))/(e*e+o*o||0);return 0>=r||(1<=r?(f=s,i=u):(f+=r*e,i+=r*o)),[f,i]}function blt(n,t,i){n=el(n+180,360)-180;var r=Math.abs(3600*n);return Math.floor(r/3600)+"° "+ry(Math.floor(r/60%60))+"′ "+ry(r%60,i||0)+"″ "+t.charAt(0>n?1:0)}function klt(n,t,i){return n?t.replace("{x}",n[0].toFixed(i)).replace("{y}",n[1].toFixed(i)):""}function wp(n,t){for(var r=!0,i=n.length-1;0<=i;--i)if(n[i]!=t[i]){r=!1;break}return r}function bp(n,t){var i=Math.cos(t),r=Math.sin(t),u=n[1]*i+n[0]*r;return n[0]=n[0]*i-n[1]*r,n[1]=u,n}function pit(n,t){n[0]*=t;n[1]*=t}function gs(n,t){var i=n[0]-t[0],r=n[1]-t[1];return i*i+r*r}function kp(n,t){return gs(n,ig(n,t))}function dlt(n,t){return klt(n,"{x}, {y}",t)}function glt(n){return Math.pow(n,3)}function dc(n){return 1-glt(1-n)}function uy(n){return 3*n*n-2*n*n*n}function nat(n){return n}function tat(n){return.5>n?uy(2*n):1-uy(2*(n-.5))}function se(n){for(var i=lo(),t=0,r=n.length;t<r;++t)gp(i,n[t]);return i}function ec(n,t,i){return i?(i[0]=n[0]-t,i[1]=n[1]-t,i[2]=n[2]+t,i[3]=n[3]+t,i):[n[0]-t,n[1]-t,n[2]+t,n[3]+t]}function wit(n,t){return t?(t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t):n.slice()}function fy(n,t,i){return t=t<n[0]?n[0]-t:n[2]<t?t-n[2]:0,n=i<n[1]?n[1]-i:n[3]<i?i-n[3]:0,t*t+n*n}function bit(n,t){return rg(n,t[0],t[1])}function ys(n,t){return n[0]<=t[0]&&t[2]<=n[2]&&n[1]<=t[1]&&t[3]<=n[3]}function rg(n,t,i){return n[0]<=t&&t<=n[2]&&n[1]<=i&&i<=n[3]}function kit(n,t){var f=n[1],e=n[2],o=n[3],r=t[0],u=t[1],i=0;return r<n[0]?i|=16:r>e&&(i|=4),u<f?i|=8:u>o&&(i|=2),0===i&&(i=1),i}function lo(){return[Infinity,Infinity,-Infinity,-Infinity]}function oc(n,t,i,r,u){return u?(u[0]=n,u[1]=t,u[2]=i,u[3]=r,u):[n,t,i,r]}function ik(n,t){var i=n[0],r=n[1];return oc(i,r,i,r,t)}function dit(n,t,i,r,u){return u=oc(Infinity,Infinity,-Infinity,-Infinity,u),iat(u,n,t,i,r)}function dp(n,t){return n[0]==t[0]&&n[2]==t[2]&&n[1]==t[1]&&n[3]==t[3]}function git(n,t){return t[0]<n[0]&&(n[0]=t[0]),t[2]>n[2]&&(n[2]=t[2]),t[1]<n[1]&&(n[1]=t[1]),t[3]>n[3]&&(n[3]=t[3]),n}function gp(n,t){t[0]<n[0]&&(n[0]=t[0]);t[0]>n[2]&&(n[2]=t[0]);t[1]<n[1]&&(n[1]=t[1]);t[1]>n[3]&&(n[3]=t[1])}function iat(n,t,i,r,u){for(;i<r;i+=u){var f=n,e=t[i],o=t[i+1];f[0]=Math.min(f[0],e);f[1]=Math.min(f[1],o);f[2]=Math.max(f[2],e);f[3]=Math.max(f[3],o)}return n}function rat(n,t,i){var r;return(r=t.call(i,ba(n)))||(r=t.call(i,nw(n)))||(r=t.call(i,ey(n)))?r:(r=t.call(i,sc(n)))?r:!1}function nrt(n){var t=0;return tw(n)||(t=af(n)*so(n)),t}function ba(n){return[n[0],n[1]]}function nw(n){return[n[2],n[1]]}function ah(n){return[(n[0]+n[2])/2,(n[1]+n[3])/2]}function trt(n,t,i,r,u){var f=t*r[0]/2,s;r=t*r[1]/2;t=Math.cos(i);s=Math.sin(i);i=f*t;f*=s;t*=r;var e=r*s,o=n[0],h=n[1];n=o-i+e;r=o-i-e;s=o+i-e;i=o+i+e;var e=h-f-t,o=h-f+t,c=h+f+t,f=h+f-t;return oc(Math.min(n,r,s,i),Math.min(e,o,c,f),Math.max(n,r,s,i),Math.max(e,o,c,f),u)}function so(n){return n[3]-n[1]}function fa(n,t,i){return i=i?i:lo(),pe(n,t)&&(i[0]=n[0]>t[0]?n[0]:t[0],i[1]=n[1]>t[1]?n[1]:t[1],i[2]=n[2]<t[2]?n[2]:t[2],i[3]=n[3]<t[3]?n[3]:t[3]),i}function sc(n){return[n[0],n[3]]}function ey(n){return[n[2],n[3]]}function af(n){return n[2]-n[0]}function pe(n,t){return n[0]<=t[2]&&n[2]>=t[0]&&n[1]<=t[3]&&n[3]>=t[1]}function tw(n){return n[2]<n[0]||n[3]<n[1]}function ug(n,t){var i=(n[2]-n[0])/2*(t-1),r=(n[3]-n[1])/2*(t-1);n[0]-=i;n[2]+=i;n[1]-=r;n[3]+=r}function rk(n,t,i){n=[n[0],n[1],n[0],n[3],n[2],n[1],n[2],n[3]];t(n,n,2);var r=[n[0],n[2],n[4],n[6]],u=[n[1],n[3],n[5],n[7]];return t=Math.min.apply(null,r),n=Math.min.apply(null,u),r=Math.max.apply(null,r),u=Math.max.apply(null,u),oc(t,n,r,u,i)}function ao(){return!0}function nh(){return!1}function hl(n){this.radius=n}function yf(n){this.hb=n.code;this.c=n.units;this.f=void 0!==n.extent?n.extent:null;this.i=void 0!==n.worldExtent?n.worldExtent:null;this.b=void 0!==n.axisOrientation?n.axisOrientation:"enu";this.g=void 0!==n.global?n.global:!1;this.a=!(!this.g||!this.f);this.l=n.getPointResolution;this.j=null;this.o=n.metersPerUnit;var t=n.code,i=uk||window.proj4;"function"==typeof i&&(t=i.defs(t),void 0!==t&&(void 0!==t.axis&&void 0===n.axisOrientation&&(this.b=t.axis),void 0===n.metersPerUnit&&(this.o=t.to_meter),void 0===n.units&&(this.c=t.units)))}function iw(n,t,i){n=n.hb;t=t.hb;n in oy||(oy[n]={});oy[n][t]=i}function uat(n,t){var i;return n in oy&&t in oy[n]&&(i=oy[n][t]),i}function eg(n,t,i){var r=n.l;return r?t=r(t,i):"degrees"!=n.Eb()&&(r=ka(n,ai("EPSG:4326")),t=[i[0]-t/2,i[1],i[0]+t/2,i[1],i[0],i[1]-t/2,i[0],i[1]+t/2],t=r(t,t,2),t=(fg.b(t.slice(0,2),t.slice(2,4))+fg.b(t.slice(4,6),t.slice(6,8)))/2,n=n.ic(),void 0!==n&&(t/=n)),t}function og(n){woi(n);n.forEach(function(t){n.forEach(function(n){t!==n&&iw(t,n,frt)})})}function poi(){var n=hpt,t=vhi,i=yhi;lpt.forEach(function(r){n.forEach(function(n){iw(r,n,t);iw(n,r,i)})})}function rrt(n){irt[n.hb]=n;iw(n,n,frt)}function woi(n){var t=[];n.forEach(function(n){t.push(rrt(n))})}function fat(n){return n?"string"==typeof n?ai(n):n:ai("EPSG:3857")}function eat(n,t,i,r){n=ai(n);t=ai(t);iw(n,t,oat(i));iw(t,n,oat(r))}function oat(n){return function(t,i,r){var e=t.length,f,u;for(r=void 0!==r?r:2,i=void 0!==i?i:Array(e),u=0;u<e;u+=r)for(f=n([t[u],t[u+1]]),i[u]=f[0],i[u+1]=f[1],f=r-1;2<=f;--f)i[u+f]=t[u+f];return i}}function ai(n){var t=null,i;return n instanceof yf?t=n:"string"==typeof n&&(t=irt[n]||null,i=uk||window.proj4,t||"function"!=typeof i||void 0===i.defs(n)||(t=new yf({code:n}),rrt(t))),t}function vh(n,t){if(n===t)return!0;var i=n.Eb()===t.Eb();return n.hb===t.hb?i:ka(n,t)===frt&&i}function ea(n,t){var i=ai(n),r=ai(t);return ka(i,r)}function ka(n,t){var u=n.hb,f=t.hb,i=uat(u,f),r,e,o;return i||(r=uk||window.proj4,"function"==typeof r&&(e=r.defs(u),o=r.defs(f),void 0!==e&&void 0!==o&&(e===o?og([t,n]):(i=r(f,u),eat(t,n,i.forward,i.inverse)),i=uat(u,f)))),i||(i=urt),i}function urt(n,t){if(void 0!==t&&n!==t){for(var i=0,r=n.length;i<r;++i)t[i]=n[i];n=t}return n}function frt(n,t){var i,r;if(void 0!==t){for(i=0,r=n.length;i<r;++i)t[i]=n[i];i=t}else i=n.slice();return i}function sg(n,t,i){return ea(t,i)(n,void 0,n.length)}function rw(n,t,i){return t=ea(t,i),rk(n,t)}function bi(){oi.call(this);this.v=lo();this.u=-1;this.i={};this.o=this.j=0}function uw(n,t,i,r,u,f){for(var s,h,e=f?f:[],o=0;t<i;t+=r)s=n[t],h=n[t+1],e[o++]=u[0]*s+u[2]*h+u[4],e[o++]=u[1]*s+u[3]*h+u[5];return f&&e.length!=o&&(e.length=o),e}function da(n,t,i,r,u,f){for(var o=f?f:[],s=0,h,e=0;e<t;e+=i)for(o[s++]=n[e]+r,o[s++]=n[e+1]+u,h=e+2;h<e+i;++h)o[s++]=n[h];return f&&o.length!=s&&(o.length=s),o}function et(){bi.call(this);this.ka="XY";this.a=2;this.B=null}function ert(n){var t;return"XY"==n?t=2:"XYZ"==n||"XYM"==n?t=3:"XYZM"==n&&(t=4),t}function cl(n,t,i){n.a=ert(t);n.ka=t;n.B=i}function ga(n,t,i,r){if(t)i=ert(t);else{for(t=0;t<r;++t){if(0===i.length){n.ka="XY";n.a=2;return}i=i[0]}i=i.length;var u;2==i?u="XY":3==i?u="XYZ":4==i&&(u="XYZM");t=u}n.ka=t;n.a=i}function ort(n,t,i,r){for(var u=0,f=n[i-r],e=n[i-r+1];t<i;t+=r)var o=n[t],s=n[t+1],u=u+(e*o-f*s),f=o,e=s;return u/2}function sat(n,t,i,r){for(var u=0,e,f=0,o=i.length;f<o;++f)e=i[f],u=u+ort(n,t,e,r),t=e;return u}function hat(n,t,i,r,u,f,e){var h=n[t],c=n[t+1],o=n[i]-h,s=n[i+1]-c;if(0!==o||0!==s)if(f=((u-h)*o+(f-c)*s)/(o*o+s*s),1<f)t=i;else if(0<f){for(u=0;u<r;++u)e[u]=dd(n[t+u],n[i+u],f);e.length=r;return}for(u=0;u<r;++u)e[u]=n[t+u];e.length=r}function srt(n,t,i,r,u){var f=n[t],e=n[t+1];for(t+=r;t<i;t+=r){var o=n[t],s=n[t+1],f=ty(f,e,o,s);f>u&&(u=f);f=o;e=s}return u}function hrt(n,t,i,r,u){for(var e,f=0,o=i.length;f<o;++f)e=i[f],u=srt(n,t,e,r,u),t=e;return u}function crt(n,t,i,r,u,f,e,o,s,h,c){var l,a,v;if(t==i)return h;if(0===u){if(l=ty(e,o,n[t],n[t+1]),l<h){for(c=0;c<r;++c)s[c]=n[t+c];return s.length=r,l}return h}for(a=c?c:[NaN,NaN],v=t+r;v<i;)if(hat(n,v-r,v,r,e,o,a),l=ty(e,o,a[0],a[1]),l<h){for(h=l,c=0;c<r;++c)s[c]=a[c];s.length=r;v+=r}else v+=r*Math.max((Math.sqrt(l)-Math.sqrt(h))/u|0,1);if(f&&(hat(n,i-r,t,r,e,o,a),l=ty(e,o,a[0],a[1]),l<h)){for(h=l,c=0;c<r;++c)s[c]=a[c];s.length=r}return h}function lrt(n,t,i,r,u,f,e,o,s,h,c){var l,v,a;for(c=c?c:[NaN,NaN],l=0,v=i.length;l<v;++l)a=i[l],h=crt(n,t,a,r,u,f,e,o,s,h,c),t=a;return h}function cat(n,t){for(var r=0,i=0,u=t.length;i<u;++i)n[r++]=t[i];return r}function hg(n,t,i,r){for(var o,f,u=0,e=i.length;u<e;++u)for(o=i[u],f=0;f<r;++f)n[t++]=o[f];return t}function art(n,t,i,r,u){u=u?u:[];for(var e=0,f=0,o=i.length;f<o;++f)t=hg(n,t,i[f],r),u[e++]=t;return u.length=e,u}function fk(n,t,i,r,u){u=void 0!==u?u:[];for(var f=0;t<i;t+=r)u[f++]=n.slice(t,t+r);return u.length=f,u}function vrt(n,t,i,r,u){var f,e,s,o;for(u=void 0!==u?u:[],f=0,e=0,s=i.length;e<s;++e)o=i[e],u[f++]=fk(n,t,o,r,u[f]),t=o;return u.length=f,u}function yrt(n,t,i,r,u,f,e){var a=(i-t)/r,h,s,o,y;if(3>a){for(;t<i;t+=r)f[e++]=n[t],f[e++]=n[t+1];return e}for(h=Array(a),h[0]=1,h[a-1]=1,i=[t,i-r],s=0;0<i.length;){var c=i.pop(),l=i.pop(),v=0,p=n[l],w=n[l+1],b=n[c],k=n[c+1];for(o=l+r;o<c;o+=r)y=elt(n[o],n[o+1],p,w,b,k),y>v&&(s=o,v=y);v>u&&(h[(s-t)/r]=1,l+r<s&&i.push(l,s),s+r<c&&i.push(s,c))}for(o=0;o<a;++o)h[o]&&(f[e++]=n[t+o*r],f[e++]=n[t+o*r+1]);return e}function lat(n,t,i,r,u,f,e,o){for(var tt,v,y,h,c,k,d,b=0,ut=i.length;b<ut;++b){tt=i[b];n:{var a=n,it=tt,rt=r,s=u,l=f;if(t!=it){v=s*Math.round(a[t]/s);y=s*Math.round(a[t+1]/s);t+=rt;l[e++]=v;l[e++]=y;do if(h=s*Math.round(a[t]/s),c=s*Math.round(a[t+1]/s),t+=rt,t==it){l[e++]=h;l[e++]=c;break n}while(h==v&&c==y);for(;t<it;)if(k=s*Math.round(a[t]/s),d=s*Math.round(a[t+1]/s),t+=rt,k!=h||d!=c){var p=h-v,w=c-y,g=k-v,nt=d-y;p*nt==w*g&&(0>p&&g<p||p==g||0<p&&g>p)&&(0>w&&nt<w||w==nt||0<w&&nt>w)||(l[e++]=h,l[e++]=c,v=h,y=c);h=k;c=d}l[e++]=h;l[e++]=c}}o.push(e);t=tt}return e}function yt(n,t){et.call(this);this.c=this.l=-1;this.qa(n,t)}function fw(n,t,i){cl(n,t,i);n.s()}function a(n,t){et.call(this);this.qa(n,t)}function boi(n,t,i,r,u){return!rat(u,function(u){return!nv(n,t,i,r,u[0],u[1])})}function nv(n,t,i,r,u,f){for(var h,o,c=0,s=n[i-r],e=n[i-r+1];t<i;t+=r)h=n[t],o=n[t+1],e<=f?o>f&&0<(h-s)*(f-e)-(u-s)*(o-e)&&c++:o<=f&&0>(h-s)*(f-e)-(u-s)*(o-e)&&c--,s=h,e=o;return 0!==c}function prt(n,t,i,r,u,f){if(0===i.length||!nv(n,t,i[0],r,u,f))return!1;var e;for(t=1,e=i.length;t<e;++t)if(nv(n,i[t-1],i[t],r,u,f))return!1;return!0}function aat(n,t,i,r,u,f,e){var s,a,o,v,h,l=u[f+1],y=[],c=i[0],p;for(o=n[c-r],h=n[c-r+1],s=t;s<c;s+=r)v=n[s],a=n[s+1],(l<=h&&a<=l||h<=l&&l<=a)&&(o=(l-h)/(a-h)*(v-o)+o,y.push(o)),o=v,h=a;for(c=NaN,h=-Infinity,y.sort(iy),o=y[0],s=1,a=y.length;s<a;++s)v=y[s],p=Math.abs(v-o),p>h&&(o=(o+v)/2,prt(n,t,i,r,o,l)&&(c=o,h=p)),o=v;return isNaN(c)&&(c=u[f]),e?(e.push(c,l),e):[c,l]}function vat(n,t,i,r,u,f){for(var o=[n[t],n[t+1]],e=[],s;t+r<i;t+=r){if(e[0]=n[t+r],e[1]=n[t+r+1],s=u.call(f,o,e))return s;o[0]=e[0];o[1]=e[1]}return!1}function wrt(n,t,i,r,u){var f=iat(lo(),n,t,i,r);return pe(u,f)?ys(u,f)||f[0]>=u[0]&&f[2]<=u[2]||f[1]>=u[1]&&f[3]<=u[3]?!0:vat(n,t,i,r,function(n,t){var i=!1,r=kit(u,n),f=kit(u,t);if(1===r||1===f)i=!0;else{var h=u[0],c=u[1],l=u[2],a=u[3],e=t[0],o=t[1],s=(o-n[1])/(e-n[0]);f&2&&!(r&2)&&(i=e-(o-a)/s,i=i>=h&&i<=l);i||!(f&4)||r&4||(i=o-(e-l)*s,i=i>=c&&i<=a);i||!(f&8)||r&8||(i=e-(o-c)/s,i=i>=h&&i<=l);i||!(f&16)||r&16||(i=o-(e-h)*s,i=i>=c&&i<=a)}return i}):!1}function yat(n,t,i,r,u){var f=i[0];if(!(wrt(n,t,f,r,u)||nv(n,t,f,r,u[0],u[1])||nv(n,t,f,r,u[0],u[3])||nv(n,t,f,r,u[2],u[1])||nv(n,t,f,r,u[2],u[3])))return!1;if(1===i.length)return!0;for(t=1,f=i.length;t<f;++t)if(boi(n,i[t-1],i[t],r,u))return!1;return!0}function sy(n,t,i,r){for(var u=0,f=n[i-r],e=n[i-r+1];t<i;t+=r)var o=n[t],s=n[t+1],u=u+(o-f)*(s+e),f=o,e=s;return 0<u}function pat(n,t,i,r){var u=0,f,o,e;for(r=void 0!==r?r:!1,f=0,o=t.length;f<o;++f){if(e=t[f],u=sy(n,u,e,i),0===f){if(r&&u||!r&&!u)return!1}else if(r&&!u||!r&&u)return!1;u=e}return!0}function brt(n,t,i,r,u){var s,l,h,f,e,a;for(u=void 0!==u?u:!1,s=0,l=i.length;s<l;++s){if(h=i[s],f=sy(n,t,h,r),0===s?u&&f||!u&&!f:u&&!f||!u&&f)for(var f=n,c=h,o=r;t<c-o;){for(e=0;e<o;++e)a=f[t+e],f[t+e]=f[c-o+e],f[c-o+e]=a;t+=o;c-=o}t=h}return t}function wat(n,t,i,r){for(var f=0,u=0,e=t.length;u<e;++u)f=brt(n,f,t[u],i,r);return f}function c(n,t){et.call(this);this.c=[];this.A=-1;this.C=null;this.P=this.D=this.L=-1;this.l=null;this.qa(n,t)}function krt(n){if(n.A!=n.g){var t=ah(n.G());n.C=aat(n.Vb(),0,n.c,n.a,t,0);n.A=n.g}return n.C}function bat(n,t,i,r){var f=r?r:32,u;for(r=[],u=0;u<f;++u)cf(r,n.offset(t,i,2*Math.PI*u/f));return r.push(r[0],r[1]),n=new c(null),n.da("XY",r,[r.length]),n}function cg(n){var t=n[0],i=n[1],r=n[2];return n=n[3],t=[t,i,t,n,r,n,r,i,t,i],i=new c(null),i.da("XY",t,[t.length]),i}function kat(n,t,i){var u=t?t:32,r=n.pa();t=n.ka;for(var f=new c(null,t),u=r*(u+1),r=Array(u),e=0;e<u;e++)r[e]=0;return f.da(t,r,[r.length]),dat(f,n.Fd(),n.qe(),i),f}function dat(n,t,i,r){var f=n.ia(),c=n.ka,h=n.pa(),l=n.Kb(),e=f.length/h-1,o,s,u;for(r=r?r:0,u=0;u<=e;++u)s=u*h,o=r+2*el(u,e)*Math.PI/e,f[s]=t[0]+i*Math.cos(o),f[s+1]=t[1]+i*Math.sin(o);n.da(c,f,l)}function ot(n){var e,i,r,u,f,t,o,s;oi.call(this);n=n||{};this.i=[0,0];this.f=[];this.Pe=this.Pe.bind(this);e={};e[ew]=void 0!==n.center?n.center:null;this.o=fat(n.projection);f=void 0!==n.minZoom?n.minZoom:0;i=void 0!==n.maxZoom?n.maxZoom:28;t=void 0!==n.zoomFactor?n.zoomFactor:2;void 0!==n.resolutions?(i=n.resolutions,r=i[0],u=i[i.length-1],i=coi(i)):(r=fat(n.projection),u=r.G(),o=(u?Math.max(af(u),so(u)):360*gc.degrees/r.ic())/256/Math.pow(2,0),s=o/Math.pow(2,28),r=n.maxResolution,void 0!==r?f=0:r=o/Math.pow(t,f),u=n.minResolution,void 0===u&&(u=void 0!==n.maxZoom?void 0!==n.maxResolution?r/Math.pow(t,i):o/Math.pow(t,i):s),i=f+Math.floor(Math.log(r/u)/Math.log(t)),u=r/Math.pow(t,i-f),i=loi(t,r,i-f));this.a=r;this.j=u;this.A=t;this.c=n.resolutions;this.l=f;f=void 0!==n.extent?foi(n.extent):eoi;(void 0!==n.enableRotation?n.enableRotation:1)?(t=n.constrainRotation,t=void 0===t||!0===t?yoi():!1===t?plt:"number"==typeof t?voi(t):plt):t=aoi;this.u=new ooi(f,i,t);void 0!==n.resolution?e[ok]=n.resolution:void 0!==n.zoom&&(e[ok]=this.constrainResolution(this.a,n.zoom-this.l));e[tv]=void 0!==n.rotation?n.rotation:0;this.I(e)}function ek(n){var t,r,i;for(ko(n,ne,-oa(n)[ne]),t=0,r=n.f.length;t<r;++t)i=n.f[t],i[0].Vc&&i[0].Vc(!1);n.f.length=0}function gat(n,t,i){var r,u=n.fb();return void 0!==u&&(r=[u[0]-i[0],u[1]-i[1]],bp(r,t-n.Ra()),pp(r,i)),r}function drt(n,t,i){var u,r=n.fb();return n=n.Oa(),void 0!==r&&void 0!==n&&(u=[i[0]-t*(i[0]-r[0])/n,i[1]-t*(i[1]-r[1])/n]),u}function oa(n,t){return void 0!==t?(t[0]=n.i[0],t[1]=n.i[1],t):n.i.slice()}function grt(n,t){return Math.max(af(n)/t[0],so(n)/t[1])}function koi(n){var t=n.a,i=Math.log(t/n.j)/Math.log(2);return function(n){return t/Math.pow(2,n*i)}}function doi(n){var t=n.a,i=Math.log(t/n.j)/Math.log(2);return function(n){return Math.log(t/n)/Math.log(2)/i}}function nvt(n){return!!n.fb()&&void 0!==n.Oa()}function ko(n,t,i){n.i[t]+=i;n.s()}function sk(n,t,i,r){this.ea=n;this.ca=t;this.ga=i;this.ja=r}function tvt(n,t,i){return n.ea<=t&&t<=n.ca&&n.ga<=i&&i<=n.ja}function goi(n,t){return n.ea==t.ea&&n.ga==t.ga&&n.ca==t.ca&&n.ja==t.ja}function nut(n,t){return n.ea<=t.ca&&n.ca>=t.ea&&n.ga<=t.ja&&n.ja>=t.ga}function ivt(n,t,i){return void 0===i&&(i=[0,0]),i[0]=n[0]+2*t,i[1]=n[1]+2*t,i}function tut(n,t,i){return void 0===i&&(i=[0,0]),i[0]=n[0]*t+.5|0,i[1]=n[1]*t+.5|0,i}function th(n,t){return Array.isArray(n)?n:(void 0===t?t=[n,n]:t[0]=t[1]=n,t)}function rvt(n,t,i,r){return void 0!==r?(r[0]=n,r[1]=t,r[2]=i,r):[n,t,i]}function nsi(n){for(var r=n[0],f=Array(r),u=1<<r-1,i,t=0;t<r;++t)i=48,n[1]&u&&(i+=1),n[2]&u&&(i+=2),f[t]=String.fromCharCode(i),u>>=1;return f.join("")}function pf(n){this.minZoom=void 0!==n.minZoom?n.minZoom:0;this.b=n.resolutions;li(hoi(this.b,function(n,t){return t-n}),17);this.maxZoom=this.b.length-1;this.g=void 0!==n.origin?n.origin:null;this.f=null;void 0!==n.origins&&(this.f=n.origins,li(this.f.length==this.b.length,20));var t=n.extent;void 0===t||this.g||this.f||(this.g=sc(t));li(!this.g&&this.f||this.g&&!this.f,18);this.c=null;void 0!==n.tileSizes&&(this.c=n.tileSizes,li(this.c.length==this.b.length,19));this.i=void 0!==n.tileSize?n.tileSize:this.c?null:256;li(!this.i&&this.c||this.i&&!this.c,22);this.v=void 0!==t?t:null;this.a=null;this.j=[0,0];void 0!==n.sizes?this.a=n.sizes.map(function(n){return new sk(Math.min(0,n[0]),Math.max(n[0]-1,-1),Math.min(0,n[1]),Math.max(n[1]-1,-1))},this):t&&tsi(this,t)}function uvt(n,t,i,r,u){for(u=n.Na(t,u),t=t[0]-1;t>=n.minZoom;){if(i.call(null,t,hc(n,u,t,r)))return!0;--t}return!1}function fvt(n,t,i,r){return t[0]<n.maxZoom?(r=n.Na(t,r),hc(n,r,t[0]+1,i)):null}function iut(n,t,i,r){lg(n,t[0],t[1],i,!1,hy);var u=hy[1],f=hy[2];return lg(n,t[2],t[3],i,!0,hy),n=hy[1],t=hy[2],void 0!==r?(r.ea=u,r.ca=n,r.ga=f,r.ja=t):r=new sk(u,n,f,t),r}function hc(n,t,i,r){return i=n.Ha(i),iut(n,t,i,r)}function rut(n,t){var i=n.Kc(t[0]),r=n.Ha(t[0]),u=th(n.Za(t[0]),n.j);return[i[0]+(t[1]+.5)*u[0]*r,i[1]+(t[2]+.5)*u[1]*r]}function lg(n,t,i,r,u,f){var e=n.Ec(r),o=r/n.Ha(e),s=n.Kc(e);return n=th(n.Za(e),n.j),t=o*Math.floor((t-s[0])/r+(u?.5:0))/n[0],i=o*Math.floor((i-s[1])/r+(u?0:.5))/n[1],u?(t=Math.ceil(t)-1,i=Math.ceil(i)-1):(t=Math.floor(t),i=Math.floor(i)),rvt(e,t,i,f)}function tsi(n,t){for(var r=n.b.length,u=Array(r),i=n.minZoom;i<r;++i)u[i]=hc(n,t,i);n.a=u}function evt(n){var t=n.j;if(!t){var t=cy(n),i=ovt(t,void 0,void 0),t=new pf({extent:t,origin:sc(t),resolutions:i,tileSize:void 0});n.j=t}return t}function hk(n){var t={};return er(t,void 0!==n?n:{}),void 0===t.extent&&(t.extent=ai("EPSG:3857").G()),t.resolutions=ovt(t.extent,t.maxZoom,t.tileSize),delete t.maxZoom,new pf(t)}function ovt(n,t,i){t=void 0!==t?t:42;var r=so(n);for(n=af(n),i=th(void 0!==i?i:256),i=Math.max(n/i[0],r/i[1]),t+=1,r=Array(t),n=0;n<t;++n)r[n]=i/Math.pow(2,n);return r}function cy(n){n=ai(n);var t=n.G();return t||(n=180*gc.degrees/n.ic(),t=oc(-n,-n,n,n)),t}function yh(n){this.b=n.html;this.a=n.tileRanges?n.tileRanges:null}function ft(n){oi.call(this);this.a=n?n:[];uut(this)}function uut(n){n.set(svt,n.a.length)}function go(n,t){lr.call(this,n);this.element=t}function ly(n){return Array.isArray(n)?n:lvt(n)}function iv(n){var t,i,r;return"string"!=typeof n&&(t=n[0],t!=(t|0)&&(t=t+.5|0),i=n[1],i!=(i|0)&&(i=i+.5|0),r=n[2],r!=(r|0)&&(r=r+.5|0),n="rgba("+t+","+i+","+r+","+(void 0===n[3]?1:n[3])+")"),n}function avt(n){var t=[];return t[0]=eo(n[0]+.5|0,0,255),t[1]=eo(n[1]+.5|0,0,255),t[2]=eo(n[2]+.5|0,0,255),t[3]=eo(n[3],0,1),t}function cc(n){return"string"==typeof n||n instanceof CanvasPattern||n instanceof CanvasGradient?n:iv(n)}function ie(n,t){var i=document.createElement("CANVAS");return n&&(i.width=n),t&&(i.height=t),i.getContext("2d")}function ow(n,t){var i=t.parentNode;i&&i.replaceChild(n,t)}function sw(n){n&&n.parentNode&&n.parentNode.removeChild(n)}function ho(n,t,i){lr.call(this,n);this.map=t;this.frameState=void 0!==i?i:null}function ni(n){oi.call(this);this.element=n.element?n.element:null;this.a=this.P=null;this.v=[];this.render=n.render?n.render:ve;n.target&&this.c(n.target)}function hr(n){var r,t;n=n?n:{};this.L=document.createElement("UL");this.u=document.createElement("LI");this.L.appendChild(this.u);this.u.style.display="none";this.f=void 0!==n.collapsed?n.collapsed:!0;this.l=void 0!==n.collapsible?n.collapsible:!0;this.l||(this.f=!1);var u=void 0!==n.className?n.className:"ol-attribution",i=void 0!==n.tipLabel?n.tipLabel:"Attributions",t=void 0!==n.collapseLabel?n.collapseLabel:"»";"string"==typeof t?(this.A=document.createElement("span"),this.A.textContent=t):this.A=t;t=void 0!==n.label?n.label:"i";"string"==typeof t?(this.C=document.createElement("span"),this.C.textContent=t):this.C=t;r=this.l&&!this.f?this.A:this.C;t=document.createElement("button");t.setAttribute("type","button");t.title=i;t.appendChild(r);f(t,"click",this.em,this);i=document.createElement("div");i.className=u+" ol-unselectable ol-control"+(this.f&&this.l?" ol-collapsed":"")+(this.l?"":" ol-uncollapsible");i.appendChild(this.L);i.appendChild(t);ni.call(this,{element:i,render:n.render?n.render:vvt,target:n.target});this.D=!0;this.o={};this.j={};this.U={}}function vvt(n){var et,ot,p,st,e,s,w,l,b,t,o,a;if(n=n.frameState){for(var f,nt,k,v,h,c,d,it,u,rt=n.layerStatesArray,g=er({},n.attributions),y={},ut={},ft=n.viewState.projection,r=0,i=rt.length;r<i;r++)if((v=rt[r].layer.la())&&(it=tt(v).toString(),d=v.j))for(f=0,nt=d.length;f<nt;f++)if(h=d[f],c=tt(h).toString(),!(c in g)){if(k=n.usedTiles[it]){et=v.Db(ft);n:{if(u=h,ot=ft,u.a){s=void 0;for(s in k)if(s in u.a)for(e=k[s],p=0,st=u.a[s].length;p<st;++p){if(w=u.a[s][p],nut(w,e)){u=!0;break n}if(l=hc(et,cy(ot),parseInt(s,10)),b=l.ca-l.ea+1,(e.ea<l.ea||e.ca>l.ca)&&(nut(w,new sk(el(e.ea,b),el(e.ca,b),e.ga,e.ja))||e.ca-e.ea+1>b&&nut(w,l))){u=!0;break n}}u=!1}else u=!0}}else u=!1;u?(c in y&&delete y[c],u=h.b,u in ut||(ut[u]=!0,g[c]=h)):y[c]=h}i=[g,y];r=i[0];i=i[1];for(t in this.o)t in r?(this.j[t]||(this.o[t].style.display="",this.j[t]=!0),delete r[t]):t in i?(this.j[t]&&(this.o[t].style.display="none",delete this.j[t]),delete i[t]):(sw(this.o[t]),delete this.o[t],delete this.j[t]);for(t in r)f=document.createElement("LI"),f.innerHTML=r[t].b,this.L.appendChild(f),this.o[t]=f,this.j[t]=!0;for(t in i)f=document.createElement("LI"),f.innerHTML=i[t].b,f.style.display="none",this.L.appendChild(f),this.o[t]=f;t=!us(this.j)||!us(n.logos);this.D!=t&&(this.element.style.display=t?"":"none",this.D=t);t&&us(this.j)?this.element.classList.add("ol-logo-only"):this.element.classList.remove("ol-logo-only");n=n.logos;t=this.U;for(o in t)o in n||(sw(t[o]),delete t[o]);for(a in n)i=n[a],i instanceof HTMLElement&&(this.u.appendChild(i),t[a]=i),a in t||(o=new Image,o.src=a,""===i?r=o:(r=document.createElement("a"),r.href=i,r.appendChild(o)),this.u.appendChild(r),t[a]=r);this.u.style.display=us(n)?"none":""}else this.D&&(this.element.style.display="none",this.D=!1)}function fut(n){n.element.classList.toggle("ol-collapsed");n.f?ow(n.A,n.C):ow(n.C,n.A);n.f=!n.f}function vu(n){var i,t;n=n?n:{};this.f=void 0!==n.className?n.className:"ol-full-screen";t=void 0!==n.label?n.label:"⤢";this.l="string"==typeof t?document.createTextNode(t):t;t=void 0!==n.labelActive?n.labelActive:"×";this.o="string"==typeof t?document.createTextNode(t):t;i=n.tipLabel?n.tipLabel:"Toggle full-screen";t=document.createElement("button");t.className=this.f+"-"+eut();t.setAttribute("type","button");t.title=i;t.appendChild(this.l);f(t,"click",this.C,this);i=document.createElement("div");i.className=this.f+" ol-unselectable ol-control "+(yvt()?"":"ol-unsupported");i.appendChild(t);ni.call(this,{element:i,target:n.target});this.A=void 0!==n.keys?n.keys:!1;this.j=n.source}function yvt(){var n=document.body;return!!(n.webkitRequestFullscreen||n.mozRequestFullScreen&&document.mozFullScreenEnabled||n.msRequestFullscreen&&document.msFullscreenEnabled||n.requestFullscreen&&document.fullscreenEnabled)}function eut(){return!!(document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||document.fullscreenElement)}function pvt(n){n.requestFullscreen?n.requestFullscreen():n.msRequestFullscreen?n.msRequestFullscreen():n.mozRequestFullScreen?n.mozRequestFullScreen():n.webkitRequestFullscreen&&n.webkitRequestFullscreen()}function yu(n){var r,i,t;n=n?n:{};r=void 0!==n.className?n.className:"ol-rotate";t=void 0!==n.label?n.label:"⇧";this.f=null;"string"==typeof t?(this.f=document.createElement("span"),this.f.className="ol-compass",this.f.textContent=t):(this.f=t,this.f.classList.add("ol-compass"));i=n.tipLabel?n.tipLabel:"Reset rotation";t=document.createElement("button");t.className=r+"-reset";t.setAttribute("type","button");t.title=i;t.appendChild(this.f);f(t,"click",yu.prototype.A,this);i=document.createElement("div");i.className=r+" ol-unselectable ol-control";i.appendChild(t);r=n.render?n.render:bvt;this.l=n.resetNorth?n.resetNorth:void 0;ni.call(this,{element:i,render:r,target:n.target});this.o=void 0!==n.duration?n.duration:250;this.j=void 0!==n.autoHide?n.autoHide:!0;this.u=void 0;this.j&&this.element.classList.add("ol-hidden")}function bvt(n){var t,i;(n=n.frameState)&&(n=n.viewState.rotation,n!=this.u&&(t="rotate("+n+"rad)",this.j&&(i=this.element.classList.contains("ol-hidden"),i||0!==n?i&&0!==n&&this.element.classList.remove("ol-hidden"):this.element.classList.add("ol-hidden")),this.f.style.msTransform=t,this.f.style.webkitTransform=t,this.f.style.transform=t),this.u=n)}function hu(n){n=n?n:{};var u=void 0!==n.className?n.className:"ol-zoom",i=void 0!==n.delta?n.delta:1,t=void 0!==n.zoomInLabel?n.zoomInLabel:"+",e=void 0!==n.zoomOutLabel?n.zoomOutLabel:"−",o=void 0!==n.zoomInTipLabel?n.zoomInTipLabel:"Zoom in",s=void 0!==n.zoomOutTipLabel?n.zoomOutTipLabel:"Zoom out",r=document.createElement("button");r.className=u+"-in";r.setAttribute("type","button");r.title=o;r.appendChild("string"==typeof t?document.createTextNode(t):t);f(r,"click",hu.prototype.j.bind(this,i));t=document.createElement("button");t.className=u+"-out";t.setAttribute("type","button");t.title=s;t.appendChild("string"==typeof e?document.createTextNode(e):e);f(t,"click",hu.prototype.j.bind(this,-i));i=document.createElement("div");i.className=u+" ol-unselectable ol-control";i.appendChild(r);i.appendChild(t);ni.call(this,{element:i,target:n.target});this.f=void 0!==n.duration?n.duration:250}function kvt(n){n=n?n:{};var t=new ft;return(void 0!==n.zoom?n.zoom:1)&&t.push(new hu(n.zoomOptions)),(void 0!==n.rotate?n.rotate:1)&&t.push(new yu(n.rotateOptions)),(void 0!==n.attribution?n.attribution:1)&&t.push(new hr(n.attributionOptions)),t}function ar(n){n=n?n:{};var t=document.createElement("DIV");t.className=void 0!==n.className?n.className:"ol-mouse-position";ni.call(this,{element:t,render:n.render?n.render:dvt,target:n.target});f(this,vf(ag),this.hm,this);n.coordinateFormat&&this.oi(n.coordinateFormat);n.projection&&this.sh(ai(n.projection));this.u=void 0!==n.undefinedHTML?n.undefinedHTML:"";this.o=t.innerHTML;this.l=this.j=this.f=null}function dvt(n){n=n.frameState;n?this.f!=n.viewState.projection&&(this.f=n.viewState.projection,this.j=null):this.f=null;out(this,this.l)}function out(n,t){var r=n.u,i;t&&n.f&&(n.j||(i=n.rh(),n.j=i?ka(n.f,i):urt),(i=n.a.Sa(t))&&(n.j(i,i),r=(r=n.Lg())?r(i):i.toString()));n.o&&r==n.o||(n.element.innerHTML=r,n.o=r)}function kf(n,t,i,r,u){ho.call(this,n,t,u);this.originalEvent=i;this.pixel=t.ce(i);this.coordinate=t.Sa(this.pixel);this.dragging=void 0!==r?r:!1}function lf(n,t,i,r,u){kf.call(this,n,t,i.b,r,u);this.b=i}function gvt(n,t){for(var r,u=cut.length,i=0;i<u;++i)try{if(r=n.getContext(cut[i],t))return r}catch(f){}return null}function rv(n,t){this.b=n;this.c=t}function vut(n){rv.call(this,n,{mousedown:this.tl,mousemove:this.ul,mouseup:this.xl,mouseover:this.wl,mouseout:this.vl});this.a=n.g;this.g=[]}function ak(n,t){for(var f,u=n.g,e=t.clientX,o=t.clientY,i=0,s=u.length,r;i<s&&(r=u[i]);i++)if(f=Math.abs(o-r[1]),25>=Math.abs(e-r[0])&&25>=f)return!0;return!1}function cw(n){var t=kut(n,n),i=t.preventDefault;return t.preventDefault=function(){n.preventDefault();i()},t.pointerId=1,t.isPrimary=!0,t.pointerType="mouse",t}function yut(n){rv.call(this,n,{MSPointerDown:this.Cl,MSPointerMove:this.Dl,MSPointerUp:this.Gl,MSPointerOut:this.El,MSPointerOver:this.Fl,MSPointerCancel:this.Bl,MSGotPointerCapture:this.zl,MSLostPointerCapture:this.Al});this.a=n.g;this.g=["","unavailable","touch","pen","mouse"]}function lw(n,t){var i=t;return"number"==typeof t.pointerType&&(i=kut(t,t),i.pointerType=n.g[t.pointerType]),i}function put(n){rv.call(this,n,{pointerdown:this.po,pointermove:this.qo,pointerup:this.to,pointerout:this.ro,pointerover:this.so,pointercancel:this.oo,gotpointercapture:this.Lk,lostpointercapture:this.sl})}function ph(n,t,i){lr.call(this,n);this.b=t;n=i?i:{};this.buttons=osi(n);this.pressure=ssi(n,this.buttons);this.bubbles="bubbles"in n?n.bubbles:!1;this.cancelable="cancelable"in n?n.cancelable:!1;this.view="view"in n?n.view:null;this.detail="detail"in n?n.detail:null;this.screenX="screenX"in n?n.screenX:0;this.screenY="screenY"in n?n.screenY:0;this.clientX="clientX"in n?n.clientX:0;this.clientY="clientY"in n?n.clientY:0;this.button="button"in n?n.button:0;this.relatedTarget="relatedTarget"in n?n.relatedTarget:null;this.pointerId="pointerId"in n?n.pointerId:0;this.width="width"in n?n.width:0;this.height="height"in n?n.height:0;this.pointerType="pointerType"in n?n.pointerType:"";this.isPrimary="isPrimary"in n?n.isPrimary:!1;t.preventDefault&&(this.preventDefault=function(){t.preventDefault()})}function osi(n){if(n.buttons||wut)n=n.buttons;else switch(n.which){case 1:n=1;break;case 2:n=4;break;case 3:n=2;break;default:n=0}return n}function ssi(n,t){return n.pressure?n.pressure:t?.5:0}function but(n,t){rv.call(this,n,{touchstart:this.up,touchmove:this.tp,touchend:this.sp,touchcancel:this.rp});this.a=n.g;this.j=t;this.g=void 0;this.i=0;this.f=void 0}function hsi(n,t,i){return t=kut(t,i),t.pointerId=i.identifier+2,t.bubbles=!0,t.cancelable=!0,t.detail=n.i,t.button=0,t.buttons=1,t.width=i.webkitRadiusX||i.radiusX||0,t.height=i.webkitRadiusY||i.radiusY||0,t.pressure=i.webkitForce||i.force||.5,t.isPrimary=n.g===i.identifier,t.pointerType="touch",t.clientX=i.clientX,t.clientY=i.clientY,t.screenX=i.screenX,t.screenY=i.screenY,t}function yg(n,t,i){function e(){t.preventDefault()}for(var f=Array.prototype.slice.call(t.changedTouches),o=f.length,u,r=0;r<o;++r)u=hsi(n,t,f[r]),u.preventDefault=e,i.call(n,t,u)}function oyt(n,t){var i=n.j.g,r=t.changedTouches[0],u;n.g===r.identifier&&(u=[r.clientX,r.clientY],i.push(u),setTimeout(function(){var n=i.indexOf(u);-1<n&&i.splice(n,1)},2500))}function ay(n){oo.call(this);this.i=n;this.g={};this.c={};this.a=[];fsi?pg(this,new put(this)):esi?pg(this,new yut(this)):(n=new vut(this),pg(this,n),aut&&pg(this,new but(this,n)));n=this.a.length;for(var i,t=0;t<n;t++)i=this.a[t],csi(this,Object.keys(i.c))}function pg(n,t){var i=Object.keys(t.c);i&&(i.forEach(function(n){var i=t.c[n];i&&(this.c[n]=i.bind(t))},n),n.a.push(t))}function csi(n,t){t.forEach(function(n){f(this.i,n,this.f,this)},n)}function lsi(n,t){t.forEach(function(n){uc(this.i,n,this.f,this)},n)}function kut(n,t){for(var u={},i,r=0,f=wg.length;r<f;r++)i=wg[r][0],u[i]=n[i]||t[i]||wg[r][1];return u}function dut(n,t,i){t.bubbles=!1;vo(n,"pointerleave",t,i)}function gut(n,t,i){n.out(t,i);var r=t.target,u=t.relatedTarget;r&&u&&r.contains(u)||dut(n,t,i)}function nft(n,t,i){t.bubbles=!0;vo(n,"pointerover",t,i);var r=t.target,u=t.relatedTarget;r&&u&&r.contains(u)||(t.bubbles=!1,vo(n,"pointerenter",t,i))}function vo(n,t,i,r){n.b(new ph(t,r,i))}function uv(n,t){n.b(new ph(t.type,t,t))}function tft(n){oo.call(this);this.f=n;this.j=0;this.l=!1;this.c=[];this.g=null;n=this.f.f;this.u=0;this.H={};this.i=new ay(n);this.a=null;this.o=f(this.i,"pointerdown",this.cl,this);this.v=f(this.i,"pointermove",this.So,this)}function asi(n,t){var i=new lf("click",n.f,t);n.b(i);0!==n.j?(clearTimeout(n.j),n.j=0,i=new lf("dblclick",n.f,t),n.b(i)):n.j=setTimeout(function(){this.j=0;var n=new lf("singleclick",this.f,t);this.b(n)}.bind(n),250)}function syt(n,t){"pointerup"==t.type||"pointercancel"==t.type?delete n.H[t.pointerId]:"pointerdown"==t.type&&(n.H[t.pointerId]=!0);n.u=Object.keys(n.H).length}function we(n,t){oo.call(this);this.Ca=n;this.state=t;this.a=null;this.key=""}function hyt(n){if(!n.a)return n;var t=n.a;do{if(t.W()==yo)return t;t=t.a}while(t);return n}function aw(n,t){this.o=n;this.f=t;this.b=[];this.g=[];this.a={}}function cyt(n){var t=n.b,i=n.g,r=t[0];return 1==t.length?(t.length=0,i.length=0):(t[0]=t.pop(),i[0]=i.pop(),lyt(n,0)),t=n.f(r),delete n.a[t],r}function lyt(n,t){for(var u=n.b,i=n.g,e=u.length,o=u[t],s=i[t],h=t;t<e>>1;){var r=2*t+1,f=2*t+2,r=f<e&&i[f]<i[r]?f:r;u[t]=u[r];i[t]=i[r];t=r}u[t]=o;i[t]=s;ayt(n,h,t)}function ayt(n,t,i){var u=n.b,e,f,r;for(n=n.g,e=u[i],f=n[i];i>t;)if(r=i-1>>1,n[r]>f)u[i]=u[r],n[i]=n[r],i=r;else break;u[i]=e;n[i]=f}function vyt(n){for(var t=n.o,i=n.b,o=n.g,r=0,s=i.length,u,e,f=0;f<s;++f)u=i[f],e=t(u),Infinity==e?delete n.a[n.f(u)]:(o[r]=e,i[r++]=u);for(i.length=r,o.length=r,t=(n.b.length>>1)-1;0<=t;t--)lyt(n,t)}function vk(n,t){aw.call(this,function(t){return n.apply(null,t)},function(n){return n[0].bb()});this.v=t;this.j=0;this.i={}}function yyt(n,t,i){for(var f=0,r,u;n.j<t&&f<i&&0<n.b.length;)r=cyt(n)[0],u=r.bb(),0!==r.W()||u in n.i||(n.i[u]=!0,++n.j,++f,r.load())}function pyt(n,t,i){this.c=n;this.f=t;this.i=i;this.b=[];this.a=this.g=0}function pi(n){oi.call(this);this.v=null;this.Ea(!0);this.handleEvent=n.handleEvent}function vw(n,t,i,r){if(void 0!==t){var u=n.Ra(),f=n.fb();void 0!==u&&f&&0<r?n.animate({rotation:t,anchor:i,duration:r,easing:dc}):n.rotate(t,i)}}function ift(n,t,i,r){var u=n.Oa();t=n.constrainResolution(u,t,0);yk(n,t,i,r)}function yk(n,t,i,r){if(t){var u=n.Oa(),f=n.fb();void 0!==u&&f&&t!==u&&r?n.animate({resolution:t,anchor:i,duration:r,easing:dc}):(i&&(i=drt(n,t,i),n.Mb(i)),n.Oc(t))}}function tf(n){n=n?n:{};this.a=n.delta?n.delta:1;pi.call(this,{handleEvent:wyt});this.i=void 0!==n.duration?n.duration:250}function wyt(n){var t=!1,i=n.originalEvent;if("dblclick"==n.type){var t=n.coordinate,i=i.shiftKey?-this.a:this.a,r=n.map.aa();ift(r,i,t,this.i);n.preventDefault();t=!0}return!t}function byt(n){return n=n.originalEvent,n.altKey&&!(n.metaKey||n.ctrlKey)&&n.shiftKey}function kyt(n){return n=n.originalEvent,0==n.button&&!(usi&&nyt&&n.ctrlKey)}function dyt(n){return"pointermove"==n.type}function rft(n){return"singleclick"==n.type}function pk(n){return n=n.originalEvent,!n.altKey&&!(n.metaKey||n.ctrlKey)&&!n.shiftKey}function wk(n){return n=n.originalEvent,!n.altKey&&!(n.metaKey||n.ctrlKey)&&n.shiftKey}function uft(n){return n=n.originalEvent.target.tagName,"INPUT"!==n&&"SELECT"!==n&&"TEXTAREA"!==n}function vl(n){return li(n.b,56),"mouse"==n.b.pointerType}function gyt(n){return n=n.b,n.isPrimary&&0===n.button}function dt(n){n=n?n:{};pi.call(this,{handleEvent:n.handleEvent?n.handleEvent:yw});this.Ve=n.handleDownEvent?n.handleDownEvent:nh;this.bf=n.handleDragEvent?n.handleDragEvent:ve;this.cf=n.handleMoveEvent?n.handleMoveEvent:ve;this.df=n.handleUpEvent?n.handleUpEvent:nh;this.A=!1;this.Z={};this.l=[]}function fft(n){for(var i=n.length,r=0,u=0,t=0;t<i;t++)r+=n[t].clientX,u+=n[t].clientY;return[r/i,u/i]}function yw(n){if(!(n instanceof lf))return!0;var i=!1,t=n.type;return("pointerdown"===t||"pointerdrag"===t||"pointerup"===t)&&(t=n.b,"pointerup"==n.type?delete this.Z[t.pointerId]:"pointerdown"==n.type?this.Z[t.pointerId]=t:t.pointerId in this.Z&&(this.Z[t.pointerId]=t),this.l=gd(this.Z)),this.A&&("pointerdrag"==n.type?this.bf(n):"pointerup"==n.type&&(this.A=this.df(n))),"pointerdown"==n.type?(this.A=n=this.Ve(n),i=this.Qc(n)):"pointermove"==n.type&&this.cf(n),!i}function wu(n){dt.call(this,{handleDownEvent:psi,handleDragEvent:vsi,handleUpEvent:ysi});n=n?n:{};this.a=n.kinetic;this.i=null;this.o=n.condition?n.condition:pk;this.j=!1}function vsi(n){var i=fft(this.l),u,r,t;this.a&&this.a.b.push(i[0],i[1],Date.now());this.i&&(t=this.i[0]-i[0],u=i[1]-this.i[1],n=n.map.aa(),r=n.W(),t=[t,u],pit(t,r.resolution),bp(t,r.rotation),pp(t,r.center),t=n.Zd(t),n.Mb(t));this.i=i}function ysi(n){var u=n.map,t,f,i,r;if(n=u.aa(),0===this.l.length){if(t=!this.j&&this.a)if(t=this.a,6>t.b.length)t=!1;else if(f=Date.now()-t.i,i=t.b.length-3,t.b[i+2]<f)t=!1;else{for(r=i-3;0<r&&t.b[r+2]>f;)r-=3;var f=t.b[i+2]-t.b[r+2],e=t.b[i]-t.b[r],i=t.b[i+1]-t.b[r+1];t.g=Math.atan2(i,e);t.a=Math.sqrt(e*e+i*i)/f;t=t.a>t.f}return t&&(t=this.a,t=(t.f-t.a)/t.c,i=this.a.g,r=n.fb(),r=u.Ga(r),u=u.Sa([r[0]-t*Math.cos(i),r[1]-t*Math.sin(i)]),n.animate({center:n.Zd(u),duration:500,easing:dc})),ko(n,1,-1),!1}return this.i=null,!0}function psi(n){if(0<this.l.length&&this.o(n)){var t=n.map.aa();return this.i=null,this.A||ko(t,1,1),t.Mb(n.frameState.viewState.center),this.a&&(n=this.a,n.b.length=0,n.g=0,n.a=0),this.j=1<this.l.length,!0}return!1}function bu(n){n=n?n:{};dt.call(this,{handleDownEvent:ksi,handleDragEvent:wsi,handleUpEvent:bsi});this.i=n.condition?n.condition:byt;this.a=void 0;this.j=void 0!==n.duration?n.duration:250}function wsi(n){var i,t,r;vl(n)&&(t=n.map,i=t.nb(),n=n.pixel,i=Math.atan2(i[1]/2-n[1],n[0]-i[0]/2),void 0!==this.a&&(n=i-this.a,t=t.aa(),r=t.Ra(),vw(t,r-n)),this.a=i)}function bsi(n){if(!vl(n))return!0;n=n.map.aa();ko(n,1,-1);var t=n.Ra(),i=this.j,t=n.constrainRotation(t,0);return vw(n,t,void 0,i),!1}function ksi(n){return vl(n)&&kyt(n)&&this.i(n)?(ko(n.map.aa(),1,1),this.a=void 0,!0):!1}function bk(n){this.f=null;this.a=document.createElement("div");this.a.style.position="absolute";this.a.className="ol-box "+n;this.g=this.c=this.b=null}function npt(n){var t=n.c,i=n.g;n=n.a.style;n.left=Math.min(t[0],i[0])+"px";n.top=Math.min(t[1],i[1])+"px";n.width=Math.abs(i[0]-t[0])+"px";n.height=Math.abs(i[1]-t[1])+"px"}function tpt(n){var t=n.c,i=n.g,t=[t,[t[0],i[1]],i,[i[0],t[1]]].map(n.b.Sa,n.b);t[4]=t[0].slice();n.f?n.f.qa([t]):n.f=new c([t])}function nu(n){dt.call(this,{handleDownEvent:thi,handleDragEvent:gsi,handleUpEvent:nhi});n=n?n:{};this.a=new bk(n.className||"ol-dragbox");this.i=null;this.u=n.condition?n.condition:ao;this.o=n.boxEndCondition?n.boxEndCondition:dsi}function dsi(n,t,i){return n=i[0]-t[0],t=i[1]-t[1],64<=n*n+t*t}function gsi(n){if(vl(n)){var t=this.a,i=n.pixel;t.c=this.i;t.g=i;tpt(t);npt(t);this.b(new fs(rhi,n.coordinate,n))}}function nhi(n){return vl(n)?(this.a.setMap(null),this.o(n,this.i,n.pixel)&&(this.j(n),this.b(new fs(uhi,n.coordinate,n))),!1):!0}function thi(n){if(vl(n)&&kyt(n)&&this.u(n)){this.i=n.pixel;this.a.setMap(n.map);var t=this.a,i=this.i;return t.c=this.i,t.g=i,tpt(t),npt(t),this.b(new fs(ihi,n.coordinate,n)),!0}return!1}function fs(n,t,i){lr.call(this,n);this.coordinate=t;this.mapBrowserEvent=i}function cu(n){n=n?n:{};var t=n.condition?n.condition:wk;this.C=void 0!==n.duration?n.duration:200;this.D=void 0!==n.out?n.out:!1;nu.call(this,{condition:t,className:n.className||"ol-dragzoom"})}function rf(n){pi.call(this,{handleEvent:ipt});n=n||{};this.a=function(n){return pk(n)&&uft(n)};this.i=void 0!==n.condition?n.condition:this.a;this.j=void 0!==n.duration?n.duration:100;this.l=void 0!==n.pixelDelta?n.pixelDelta:128}function ipt(n){var r=!1,t;if("keydown"==n.type&&(t=n.originalEvent.keyCode,this.i(n)&&(40==t||37==t||39==t||38==t))){var r=n.map.aa(),i=r.Oa()*this.l,u=0,f=0;40==t?f=-i:37==t?u=-i:39==t?u=i:f=i;i=[u,f];bp(i,r.Ra());t=this.j;(u=r.fb())&&(i=r.Zd([u[0]+i[0],u[1]+i[1]]),t?r.animate({duration:t,easing:nat,center:i}):r.Mb(i));n.preventDefault();r=!0}return!r}function uf(n){pi.call(this,{handleEvent:rpt});n=n?n:{};this.i=n.condition?n.condition:uft;this.a=n.delta?n.delta:1;this.j=void 0!==n.duration?n.duration:100}function rpt(n){var i=!1,t;return("keydown"==n.type||"keypress"==n.type)&&(t=n.originalEvent.charCode,this.i(n)&&(43==t||45==t)&&(i=43==t?this.a:-this.a,t=n.map.aa(),ift(t,i,void 0,this.j),n.preventDefault(),i=!0)),!i}function tu(n){pi.call(this,{handleEvent:upt});n=n||{};this.j=0;this.L=void 0!==n.duration?n.duration:250;this.U=void 0!==n.timeout?n.timeout:80;this.A=void 0!==n.useAnchor?n.useAnchor:!0;this.a=null;this.o=this.l=this.u=this.i=void 0}function upt(n){var i=n.type,r,t,e;if("wheel"!==i&&"mousewheel"!==i)return!0;if(n.preventDefault(),i=n.map,r=n.originalEvent,this.A&&(this.a=n.coordinate),"wheel"==n.type?(t=r.deltaY,isi&&r.deltaMode===WheelEvent.DOM_DELTA_PIXEL&&(t/=vg),r.deltaMode===WheelEvent.DOM_DELTA_LINE&&(t*=40)):"mousewheel"==n.type&&(t=-r.wheelDeltaY,rsi&&(t/=3)),0===t)return!1;if(n=Date.now(),void 0===this.i&&(this.i=n),(!this.l||400<n-this.i)&&(this.l=4>Math.abs(t)?eft:fpt),this.l===eft){i=i.aa();this.o?clearTimeout(this.o):ko(i,1,1);this.o=setTimeout(this.C.bind(this),400);t=i.Oa()*Math.pow(2,t/300);var r=i.j,f=i.a,u=0;return t<r?(t=Math.max(t,r/1.5),u=1):t>f&&(t=Math.min(t,1.5*f),u=-1),this.a&&(e=drt(i,t,this.a),i.Mb(e)),i.Oc(t),0<u?i.animate({resolution:r,easing:dc,anchor:this.a,duration:500}):0>u&&i.animate({resolution:f,easing:dc,anchor:this.a,duration:500}),this.i=n,!1}return this.j+=t,n=Math.max(this.U-(n-this.i),0),clearTimeout(this.u),this.u=setTimeout(this.D.bind(this,i),n),!1}function ku(n){dt.call(this,{handleDownEvent:ohi,handleDragEvent:fhi,handleUpEvent:ehi});n=n||{};this.i=null;this.j=void 0;this.a=!1;this.o=0;this.C=void 0!==n.threshold?n.threshold:.3;this.u=void 0!==n.duration?n.duration:250}function fhi(n){var r=0,t=this.l[0],i=this.l[1],t=Math.atan2(i.clientY-t.clientY,i.clientX-t.clientX);void 0!==this.j&&(r=t-this.j,this.o+=r,!this.a&&Math.abs(this.o)>this.C&&(this.a=!0));this.j=t;n=n.map;t=n.f.getBoundingClientRect();i=fft(this.l);i[0]-=t.left;i[1]-=t.top;this.i=n.Sa(i);this.a&&(t=n.aa(),i=t.Ra(),n.render(),vw(t,i+r,this.i))}function ehi(n){if(2>this.l.length){if(n=n.map.aa(),ko(n,1,-1),this.a){var t=n.Ra(),i=this.i,r=this.u,t=n.constrainRotation(t,0);vw(n,t,i,r)}return!1}return!0}function ohi(n){return 2<=this.l.length?(n=n.map,this.i=null,this.j=void 0,this.a=!1,this.o=0,this.A||ko(n.aa(),1,1),!0):!1}function du(n){dt.call(this,{handleDownEvent:chi,handleDragEvent:shi,handleUpEvent:hhi});n=n?n:{};this.o=n.constrainResolution||!1;this.i=null;this.u=void 0!==n.duration?n.duration:400;this.a=void 0;this.j=1}function shi(n){var u=1,i=this.l[0],r=this.l[1],t=i.clientX-r.clientX,i=i.clientY-r.clientY,t=Math.sqrt(t*t+i*i);void 0!==this.a&&(u=this.a/t);this.a=t;1!=u&&(this.j=u);n=n.map;var t=n.aa(),i=t.Oa(),r=n.f.getBoundingClientRect(),f=fft(this.l);f[0]-=r.left;f[1]-=r.top;this.i=n.Sa(f);n.render();yk(t,i*u,this.i)}function hhi(n){if(2>this.l.length){if(n=n.map.aa(),ko(n,1,-1),this.o){var t=n.Oa(),i=this.i,r=this.u,t=n.constrainResolution(t,0,this.j-1);yk(n,t,i,r)}return!1}return!0}function chi(n){return 2<=this.l.length?(n=n.map,this.i=null,this.a=void 0,this.j=1,this.A||ko(n.aa(),1,1),!0):!1}function ept(n){n=n?n:{};var t=new ft,i=new pyt(-.005,.05,100);return(void 0!==n.altShiftDragRotate?n.altShiftDragRotate:1)&&t.push(new bu),(void 0!==n.doubleClickZoom?n.doubleClickZoom:1)&&t.push(new tf({delta:n.zoomDelta,duration:n.zoomDuration})),(void 0!==n.dragPan?n.dragPan:1)&&t.push(new wu({kinetic:i})),(void 0!==n.pinchRotate?n.pinchRotate:1)&&t.push(new ku),(void 0!==n.pinchZoom?n.pinchZoom:1)&&t.push(new du({duration:n.zoomDuration})),(void 0!==n.keyboard?n.keyboard:1)&&(t.push(new rf),t.push(new uf({delta:n.zoomDelta,duration:n.zoomDuration}))),(void 0!==n.mouseWheelZoom?n.mouseWheelZoom:1)&&t.push(new tu({duration:n.zoomDuration})),(void 0!==n.shiftDragZoom?n.shiftDragZoom:1)&&t.push(new cu({duration:n.zoomDuration})),t}function si(n){oi.call(this);var t=er({},n);t[oft]=void 0!==n.opacity?n.opacity:1;t[sft]=void 0!==n.visible?n.visible:!0;t[hft]=void 0!==n.zIndex?n.zIndex:0;t[cft]=void 0!==n.maxResolution?n.maxResolution:Infinity;t[lft]=void 0!==n.minResolution?n.minResolution:0;this.I(t);this.a={layer:this,me:!0}}function kg(n){return n.a.opacity=eo(n.Yb(),0,1),n.a.Ei=n.uf(),n.a.visible=n.Fb(),n.a.extent=n.G(),n.a.zIndex=n.Zb(),n.a.maxResolution=n.Wb(),n.a.minResolution=Math.max(n.Xb(),0),n.a}function fi(n){var t=n||{};n=er({},t);delete n.layers;t=t.layers;si.call(this,n);this.c=[];this.f={};f(this,vf(dg),this.Wk,this);t?Array.isArray(t)?t=new ft(t.slice()):li(t instanceof ft,43):t=new ft;this.yh(t)}function spt(n){yf.call(this,{code:n,units:"m",extent:lhi,global:!0,worldExtent:ahi,getPointResolution:function(n,t){return n/flt(t[1]/6378137)}})}function vhi(n,t,i){var f=n.length,r,u;for(i=1<i?i:2,void 0===t&&(t=2<i?n.slice():Array(f)),r=0;r<f;r+=i)t[r]=yl*n[r]/180,u=6378137*Math.log(Math.tan(Math.PI*(n[r+1]+90)/360)),u>yl?u=yl:u<-yl&&(u=-yl),t[r+1]=u;return t}function yhi(n,t,i){var u=n.length,r;for(i=1<i?i:2,void 0===t&&(t=2<i?n.slice():Array(u)),r=0;r<u;r+=i)t[r]=180*n[r]/yl,t[r+1]=360*Math.atan(Math.exp(n[r+1]/6378137))/Math.PI-90;return t}function sa(n,t){yf.call(this,{code:n,units:"degrees",extent:cpt,axisOrientation:t,global:!0,metersPerUnit:phi,worldExtent:cpt})}function apt(){og(hpt);og(lpt);poi()}function be(n,t,i,r,u){lr.call(this,n);this.vectorContext=t;this.frameState=i;this.context=r;this.glContext=u}function wt(n){var t=er({},n);delete t.source;si.call(this,t);this.A=this.v=this.o=null;n.map&&this.setMap(n.map);f(this,vf("source"),this.il,this);this.Pc(n.source?n.source:null)}function vy(n,t){return n.visible&&t>=n.minResolution&&t<n.maxResolution}function gg(){this.b={};this.a=0}function re(){return[1,0,0,1,0,0]}function yy(n){return tn(n,1,0,0,1,0,0)}function kk(n,t){var i=n[0],r=n[1],u=n[2],f=n[3],a=n[4],v=n[5],e=t[0],o=t[1],s=t[2],h=t[3],c=t[4],l=t[5];return n[0]=i*e+u*o,n[1]=r*e+f*o,n[2]=i*s+u*h,n[3]=r*s+f*h,n[4]=i*c+u*l+a,n[5]=r*c+f*l+v,n}function tn(n,t,i,r,u,f,e){return n[0]=t,n[1]=i,n[2]=r,n[3]=u,n[4]=f,n[5]=e,n}function vpt(n,t){return n[0]=t[0],n[1]=t[1],n[2]=t[2],n[3]=t[3],n[4]=t[4],n[5]=t[5],n}function wh(n,t){var i=t[0],r=t[1];return t[0]=n[0]*i+n[2]*r+n[4],t[1]=n[1]*i+n[3]*r+n[5],t}function rn(n,t){var i=Math.cos(t),r=Math.sin(t);kk(n,tn(nn,i,r,-r,i,0,0))}function bh(n,t,i){return kk(n,tn(nn,t,0,0,i,0,0))}function nl(n,t,i){kk(n,tn(nn,1,0,0,1,t,i))}function ih(n,t,i,r,u,f,e,o){var s=Math.sin(f);return f=Math.cos(f),n[0]=r*f,n[1]=u*s,n[2]=-r*s,n[3]=u*f,n[4]=e*r*f-o*r*s+t,n[5]=e*u*s+o*u*f+i,n}function ypt(n){var t=n[0]*n[3]-n[1]*n[2];li(0!==t,32);var i=n[0],r=n[1],u=n[2],f=n[3],e=n[4],o=n[5];return n[0]=f/t,n[1]=-r/t,n[2]=-u/t,n[3]=i/t,n[4]=(u*o-f*e)/t,n[5]=-(i*o-r*e)/t,n}function ev(n,t){this.l=t;this.f={};this.v={}}function ppt(n){var t=n.viewState,i=n.coordinateToPixelTransform,r=n.pixelToCoordinateTransform;ih(i,n.size[0]/2,n.size[1]/2,1/t.resolution,-1/t.resolution,-t.rotation,-t.center[0],-t.center[1]);ypt(vpt(r,i))}function wpt(){if(32<fv.a){var i=0,n,t;for(n in fv.b)t=fv.b[n],0!=(i++&3)||yp(t)||(delete fv.b[n],--fv.a)}}function ov(n,t){var i=tt(t).toString(),r;return i in n.f?n.f[i]:(r=n.Ag(t),n.f[i]=r,n.v[i]=f(r,"change",n.Uk,n),r)}function bpt(n,t){for(var i in n.f)if(!(i in t.layerStates)){t.postRenderFunctions.push(n.Yo.bind(n));break}}function whi(n,t){return n.zIndex-t.zIndex}function ti(n){wt.call(this,n?n:{})}function rt(n){n=n?n:{};var t=er({},n);delete t.preload;delete t.useInterimTilesOnError;wt.call(this,t);this.l(void 0!==n.preload?n.preload:0);this.C(void 0!==n.useInterimTilesOnError?n.useInterimTilesOnError:!0)}function tl(n,t,i,r,u){oo.call(this);this.j=u;this.extent=n;this.f=i;this.resolution=t;this.state=r}function kh(n,t,i,r,u,f,e){tl.call(this,n,t,i,il,r);this.o=u;this.g=new Image;null!==f&&(this.g.crossOrigin=f);this.i={};this.c=null;this.state=il;this.l=e}function ca(n,t,i,r){0!==t&&(n.translate(i,r),n.rotate(t),n.translate(-i,-r))}function he(n){this.l=n.opacity;this.H=n.rotateWithView;this.o=n.rotation;this.i=n.scale;this.u=n.snapToPixel}function cr(n){this.C=this.A=this.j=null;this.f=void 0!==n.fill?n.fill:null;this.P=[0,0];this.b=n.points;this.a=void 0!==n.radius?n.radius:n.radius1;this.c=void 0!==n.radius2?n.radius2:this.a;this.v=void 0!==n.angle?n.angle:0;this.g=void 0!==n.stroke?n.stroke:null;this.L=this.va=this.U=this.ra=null;this.D=n.atlasManager;kpt(this,this.D);he.call(this,{opacity:1,rotateWithView:void 0!==n.rotateWithView?n.rotateWithView:!1,rotation:void 0!==n.rotation?n.rotation:0,scale:1,snapToPixel:void 0!==n.snapToPixel?n.snapToPixel:!0})}function kpt(n,t){var o,r="",e="",i=0,u=null,h,s=0,f;n.g&&(h=cc(n.g.b),s=n.g.f,void 0===s&&(s=1),u=n.g.g,ck||(u=null),e=n.g.i,void 0===e&&(e="round"),r=n.g.c,void 0===r&&(r="round"),i=n.g.j,void 0===i&&(i=10));f=2*(n.a+s)+1;r={strokeStyle:h,Fi:s,size:f,lineCap:r,lineDash:u,lineJoin:e,miterLimit:i};void 0===t?(e=ie(f,f),n.A=e.canvas,o=f=n.A.width,n.Eg(r,e,0,0),n.L=[r.size,r.size],n.f?n.C=n.A:(e=ie(r.size,r.size),n.C=e.canvas,n.Dg(r,e,0,0))):(f=Math.round(f),(e=!n.f)&&(o=n.Dg.bind(n,r)),n.g?(i=n.g,void 0===i.a&&(i.a="s",i.a=i.b?"string"==typeof i.b?i.a+i.b:i.a+tt(i.b).toString():i.a+"-",i.a+=","+(void 0!==i.c?i.c.toString():"-")+","+(i.g?i.g.toString():"-")+","+(void 0!==i.i?i.i:"-")+","+(void 0!==i.j?i.j.toString():"-")+","+(void 0!==i.f?i.f.toString():"-")),i=i.a):i="-",n.f?(u=n.f,void 0===u.a&&(u.a=u.b instanceof CanvasPattern||u.b instanceof CanvasGradient?tt(u.b).toString():"f"+(u.b?iv(u.b):"-")),u=u.a):u="-",n.j&&i==n.j[1]&&u==n.j[2]&&n.a==n.j[3]&&n.c==n.j[4]&&n.v==n.j[5]&&n.b==n.j[6]||(n.j=["r"+i+u+(void 0!==n.a?n.a.toString():"-")+(void 0!==n.c?n.c.toString():"-")+(void 0!==n.v?n.v.toString():"-")+(void 0!==n.b?n.b.toString():"-"),i,u,n.a,n.c,n.v,n.b]),r=t.add(n.j[0],f,f,n.Eg.bind(n,r),o),n.A=r.image,n.P=[r.offsetX,r.offsetY],o=r.image.width,e?(n.C=r.yf,n.L=[r.yf.width,r.yf.height]):(n.C=n.A,n.L=[o,o]));n.ra=[f/2,f/2];n.U=[f,f];n.va=[o,o]}function fu(n){n=n||{};cr.call(this,{points:Infinity,fill:n.fill,radius:n.radius,snapToPixel:n.snapToPixel,stroke:n.stroke,atlasManager:n.atlasManager})}function po(n){n=n||{};this.b=void 0!==n.color?n.color:null;this.a=void 0}function lu(n){n=n||{};this.b=void 0!==n.color?n.color:null;this.c=n.lineCap;this.g=void 0!==n.lineDash?n.lineDash:null;this.i=n.lineJoin;this.j=n.miterLimit;this.f=n.width;this.a=void 0}function pr(n){n=n||{};this.i=null;this.c=nwt;void 0!==n.geometry&&this.Pa(n.geometry);this.f=void 0!==n.fill?n.fill:null;this.a=void 0!==n.image?n.image:null;this.g=void 0!==n.stroke?n.stroke:null;this.j=void 0!==n.text?n.text:null;this.b=n.zIndex}function dpt(n){if("function"!=typeof n){var t;Array.isArray(n)?t=n:(li(n instanceof pr,41),t=[n]);n=function(){return t}}return n}function gpt(){if(!en){var n=new po({color:"rgba(255,255,255,0.4)"}),t=new lu({color:"#3399CC",width:1.25});en=[new pr({image:new fu({fill:n,stroke:t,radius:5}),fill:n,stroke:t})]}return en}function nd(){var n={},t=[255,255,255,1],i=[0,153,255,1];return n.Polygon=[new pr({fill:new po({color:[255,255,255,.5]})})],n.MultiPolygon=n.Polygon,n.LineString=[new pr({stroke:new lu({color:t,width:5})}),new pr({stroke:new lu({color:i,width:3})})],n.MultiLineString=n.LineString,n.Circle=n.Polygon.concat(n.LineString),n.Point=[new pr({image:new fu({radius:6,fill:new po({color:i}),stroke:new lu({color:t,width:1.5})}),zIndex:Infinity})],n.MultiPoint=n.Point,n.GeometryCollection=n.Polygon.concat(n.LineString,n.Point),n}function nwt(n){return n.V()}function b(n){n=n?n:{};var t=er({},n);delete t.style;delete t.renderBuffer;delete t.updateWhileAnimating;delete t.updateWhileInteracting;wt.call(this,t);this.i=void 0!==n.renderBuffer?n.renderBuffer:100;this.C=null;this.j=void 0;this.l(n.style);this.Z=void 0!==n.updateWhileAnimating?n.updateWhileAnimating:!1;this.fa=void 0!==n.updateWhileInteracting?n.updateWhileInteracting:!1}function k(n){n=n?n:{};var t=er({},n);delete t.preload;delete t.useInterimTilesOnError;b.call(this,t);this.P(n.preload?n.preload:0);this.U(n.useInterimTilesOnError?n.useInterimTilesOnError:!0);li(void 0==n.renderMode||n.renderMode==dhi||n.renderMode==twt||n.renderMode==vft,28);this.u=n.renderMode||twt}function td(){}function dh(n,t,i,r,u){this.f=n;this.A=t;this.c=i;this.C=r;this.fc=u;this.i=this.b=this.a=this.Z=this.Qa=this.U=null;this.fa=this.eb=this.H=this.ra=this.L=this.D=0;this.sa=!1;this.j=this.zb=0;this.na=!1;this.va=0;this.g="";this.xa=this.Fa=0;this.Ja=!1;this.o=this.Ua=0;this.P=this.v=this.l=null;this.u=[];this.Ob=re()}function iwt(n,t,i){var o,s,r,u,l,f,e,h,c;if(n.i){for(t=uw(t,0,i,2,n.C,n.u),i=n.f,o=n.Ob,s=i.globalAlpha,1!=n.H&&(i.globalAlpha=s*n.H),r=n.zb,n.sa&&(r+=n.fc),u=0,l=t.length;u<l;u+=2)f=t[u]-n.D,e=t[u+1]-n.L,n.na&&(f=Math.round(f),e=Math.round(e)),(0!==r||1!=n.j)&&(h=f+n.D,c=e+n.L,ih(o,h,c,n.j,n.j,r,-h,-c),i.setTransform.apply(i,o)),i.drawImage(n.i,n.eb,n.fa,n.va,n.ra,f,e,n.va,n.ra);0===r&&1==n.j||i.setTransform(1,0,0,1,0,0);1!=n.H&&(i.globalAlpha=s)}}function py(n,t,i,r){var o=0,f,s,h;if(n.P&&""!==n.g){n.l&&on(n,n.l);n.v&&ww(n,n.v);var u=n.P,e=n.f,f=n.Z;for(f?(f.font!=u.font&&(f.font=e.font=u.font),f.textAlign!=u.textAlign&&(f.textAlign=e.textAlign=u.textAlign),f.textBaseline!=u.textBaseline&&(f.textBaseline=e.textBaseline=u.textBaseline)):(e.font=u.font,e.textAlign=u.textAlign,e.textBaseline=u.textBaseline,n.Z={font:u.font,textAlign:u.textAlign,textBaseline:u.textBaseline}),t=uw(t,o,i,r,n.C,n.u),u=n.f,e=n.Ua,n.Ja&&(e+=n.fc);o<i;o+=r)f=t[o]+n.Fa,s=t[o+1]+n.xa,(0!==e||1!=n.o)&&(h=ih(n.Ob,f,s,n.o,n.o,e,-f,-s),u.setTransform.apply(u,h)),n.v&&u.strokeText(n.g,f,s),n.l&&u.fillText(n.g,f,s);0===e&&1==n.o||u.setTransform(1,0,0,1,0,0)}}function yft(n,t,i,r,u,f){var e=n.f;for(n=uw(t,i,r,u,n.C,n.u),e.moveTo(n[0],n[1]),t=n.length,f&&(t-=2),i=2;i<t;i+=2)e.lineTo(n[i],n[i+1]);return f&&e.closePath(),r}function rwt(n,t,i,r,u){for(var f=0,e=r.length;f<e;++f)i=yft(n,t,i,r[f],u,!0);return i}function on(n,t){var r=n.f,i=n.U;i?i.fillStyle!=t.fillStyle&&(i.fillStyle=r.fillStyle=t.fillStyle):(r.fillStyle=t.fillStyle,n.U={fillStyle:t.fillStyle})}function ww(n,t){var r=n.f,i=n.Qa;i?(i.lineCap!=t.lineCap&&(i.lineCap=r.lineCap=t.lineCap),ck&&!kc(i.lineDash,t.lineDash)&&r.setLineDash(i.lineDash=t.lineDash),i.lineJoin!=t.lineJoin&&(i.lineJoin=r.lineJoin=t.lineJoin),i.lineWidth!=t.lineWidth&&(i.lineWidth=r.lineWidth=t.lineWidth),i.miterLimit!=t.miterLimit&&(i.miterLimit=r.miterLimit=t.miterLimit),i.strokeStyle!=t.strokeStyle&&(i.strokeStyle=r.strokeStyle=t.strokeStyle)):(r.lineCap=t.lineCap,ck&&r.setLineDash(t.lineDash),r.lineJoin=t.lineJoin,r.lineWidth=t.lineWidth,r.miterLimit=t.miterLimit,r.strokeStyle=t.strokeStyle,n.Qa={lineCap:t.lineCap,lineDash:t.lineDash,lineJoin:t.lineJoin,lineWidth:t.lineWidth,miterLimit:t.miterLimit,strokeStyle:t.strokeStyle})}function ue(n){ye.call(this);this.a=n}function uwt(n,t){var i=t.W();return i!=no&&i!=ha&&f(t,"change",n.Fa,n),i==il&&(t.load(),i=t.W()),i==no}function sn(n){var t=n.a;t.Fb()&&"ready"==t.uf()&&n.s()}function fwt(n,t){t.Ih()&&n.postRenderFunctions.push(function(n,t,i){t=tt(n).toString();n.Wc(i.viewState.projection,i.usedTiles[t])}.bind(null,t))}function hn(n,t){if(t)for(var r,i=0,u=t.length;i<u;++i)r=t[i],n[tt(r).toString()]=r}function bw(n,t){var i=t.L;void 0!==i&&("string"==typeof i?n.logos[i]="":i&&(li("string"==typeof i.href,44),li("string"==typeof i.src,45),n.logos[i.src]=i.href))}function ewt(n,t,i,r){t=tt(t).toString();i=i.toString();t in n?i in n[t]?(n=n[t][i],r.ea<n.ea&&(n.ea=r.ea),r.ca>n.ca&&(n.ca=r.ca),r.ga<n.ga&&(n.ga=r.ga),r.ja>n.ja&&(n.ja=r.ja)):n[t][i]=r:(n[t]={},n[t][i]=r)}function owt(n,t,i,r,u,f,e,o,s,h){var p=tt(t).toString(),w,b,l,a,k,v,y,c;for((p in n.wantedTiles)||(n.wantedTiles[p]={}),w=n.wantedTiles[p],n=n.tileQueue,b=i.minZoom,c=e;c>=b;--c)for(a=hc(i,f,c,a),k=i.Ha(c),v=a.ea;v<=a.ca;++v)for(y=a.ga;y<=a.ja;++y)e-c<=o?(l=t.Dc(c,v,y,r,u),0==l.W()&&(w[l.bb()]=!0,l.bb()in n.a||n.c([l,p,rut(i,l.Ca),k])),void 0!==s&&s.call(h,l)):t.ig(c,v,y,u)}function ce(n){ue.call(this,n);this.xa=re()}function swt(n,t,i){var r=t.pixelRatio,o=t.size[0]*r,s=t.size[1]*r,h=t.viewState.rotation,u=sc(i),f=ey(i),e=nw(i);i=ba(i);wh(t.coordinateToPixelTransform,u);wh(t.coordinateToPixelTransform,f);wh(t.coordinateToPixelTransform,e);wh(t.coordinateToPixelTransform,i);n.save();ca(n,-h,o/2,s/2);n.beginPath();n.moveTo(u[0]*r,u[1]*r);n.lineTo(f[0]*r,f[1]*r);n.lineTo(e[0]*r,e[1]*r);n.lineTo(i[0]*r,i[1]*r);n.clip();ca(n,h,o/2,s/2)}function cn(n,t,i,r,u){var f=n.a;if(yp(f,t)){var e=r.size[0]*r.pixelRatio,o=r.size[1]*r.pixelRatio,s=r.viewState.rotation;ca(i,-s,e/2,o/2);n=void 0!==u?u:kw(n,r,0);f.b(new be(t,new dh(i,r.pixelRatio,r.extent,n,r.viewState.rotation),r,i,null));ca(i,s,e/2,o/2)}}function kw(n,t,i){var r=t.viewState,u=t.pixelRatio,f=u/r.resolution;return ih(n.xa,u*t.size[0]/2,u*t.size[1]/2,f,-f,-r.rotation,-r.center[0]+i,-r.center[1])}function le(n){ce.call(this,n);this.u=re();this.i=null}function to(n){le.call(this,n);this.f=null;this.j=re()}function te(n){le.call(this,n);this.L=ie();this.j=null;this.f=[];this.H=lo();this.Ua=new sk(0,0,0,0);this.U=re();this.na=0}function hwt(){}function lc(n,t,i,r){this.zb=n;this.Qa=t;this.overlaps=r;this.c=0;this.resolution=i;this.va=this.ra=null;this.a=[];this.coordinates=[];this.Z=re();this.b=[];this.eb=[];this.sa=re();this.fa=re()}function dw(n,t,i,r,u,f,e){var s=n.coordinates.length,v=n.mf(),o,h,c,a,l;for(e&&(i+=u),e=[t[i],t[i+1]],o=[NaN,NaN],h=!0,c=i+u;c<r;c+=u)o[0]=t[c],o[1]=t[c+1],l=kit(v,o),l!==a?(h&&(n.coordinates[s++]=e[0],n.coordinates[s++]=e[1]),n.coordinates[s++]=o[0],n.coordinates[s++]=o[1],h=!1):1===l?(n.coordinates[s++]=o[0],n.coordinates[s++]=o[1],h=!1):h=!0,e[0]=o[0],e[1]=o[1],a=l;return(f&&h||c===i+u)&&(n.coordinates[s++]=e[0],n.coordinates[s++]=e[1]),s}function hv(n,t){n.ra=[0,t,0];n.a.push(n.ra);n.va=[0,t,0];n.b.push(n.va)}function ln(n,t,i){if(n.U){var r=wh(n.Z,n.U.slice());t.translate(r[0],r[1]);t.rotate(i)}t.fill();n.U&&t.setTransform.apply(t,n.fa)}function cwt(n,t,i,r,u,f,e,o,s){var p,h,g,st,ht,l,ot,ut,k,ft,yt,pt;kc(r,n.Z)?p=n.eb:(p=uw(n.coordinates,0,n.coordinates.length,2,r,n.eb),vpt(n.Z,r));r=!us(f);for(var v=0,bt=e.length,c=0,b,lt=n.sa,wt=n.fa,d,w,a,y,nt=0,it=0,at=n.a!=e||n.overlaps?0:200;v<bt;){h=e[v];switch(h[0]){case 0:c=h[1];r&&f[tt(c).toString()]||!c.V()?v=h[2]:void 0===s||pe(s,c.V().G())?++v:v=h[2]+1;break;case 1:nt>at&&(ln(n,t,u),nt=0);it>at&&(t.stroke(),it=0);nt||it||t.beginPath();++v;break;case 2:c=h[1];b=p[c];h=p[c+1];a=p[c+2]-b;c=p[c+3]-h;c=Math.sqrt(a*a+c*c);t.moveTo(b+c,h);t.arc(b,h,c,0,2*Math.PI,!0);++v;break;case 3:t.closePath();++v;break;case 4:c=h[1];b=h[2];g=h[3];st=h[4]*i;ht=h[5]*i;var vt=h[6],ct=h[7],et=h[8],rt=h[9];for(l=h[10],a=h[11],y=h[12],ot=h[13],ut=h[14],l&&(a+=u);c<b;c+=2)h=p[c]-st,l=p[c+1]-ht,ot&&(h=Math.round(h),l=Math.round(l)),(1!=y||0!==a)&&(k=h+st,ft=l+ht,ih(lt,k,ft,y,y,a,-k,-ft),t.setTransform.apply(t,lt)),k=t.globalAlpha,1!=ct&&(t.globalAlpha=k*ct),ft=ut+et>g.width?g.width-et:ut,yt=vt+rt>g.height?g.height-rt:vt,t.drawImage(g,et,rt,ft,yt,h,l,ft*i,yt*i),1!=ct&&(t.globalAlpha=k),1==y&&0===a||t.setTransform.apply(t,wt);++v;break;case 5:for(c=h[1],b=h[2],ht=h[3],vt=h[4]*i,ct=h[5]*i,a=h[6],y=h[7]*i,g=h[8],st=h[9],(l=h[10])&&(a+=u);c<b;c+=2){for(h=p[c]+vt,l=p[c+1]+ct,(1!=y||0!==a)&&(ih(lt,h,l,y,y,a,-h,-l),t.setTransform.apply(t,lt)),et=ht.split("\n"),rt=et.length,1<rt?(ot=Math.round(1.5*t.measureText("M").width),l-=(rt-1)/2*ot):ot=0,ut=0;ut<rt;ut++)k=et[ut],st&&t.strokeText(k,h,l),g&&t.fillText(k,h,l),l+=ot;1==y&&0===a||t.setTransform.apply(t,wt)}++v;break;case 6:if(void 0!==o&&(c=h[1],c=o(c)))return c;++v;break;case 7:at?nt++:ln(n,t,u);++v;break;case 8:for(c=h[1],b=h[2],h=p[c],l=p[c+1],a=h+.5|0,y=l+.5|0,(a!==d||y!==w)&&(t.moveTo(h,l),d=a,w=y),c+=2;c<b;c+=2)(h=p[c],l=p[c+1],a=h+.5|0,y=l+.5|0,c==b-2||a!==d||y!==w)&&(t.lineTo(h,l),d=a,w=y);++v;break;case 9:n.U=h[2];nt&&(ln(n,t,u),nt=0);t.fillStyle=h[1];++v;break;case 10:d=void 0!==h[7]?h[7]:!0;pt=h[8];w=h[2];it&&(t.stroke(),it=0);t.strokeStyle=h[1];t.lineWidth=d?w*i:w;t.lineCap=h[3];t.lineJoin=h[4];t.miterLimit=h[5];ck&&(w=h[6],d&&i!==pt&&(w=w.map(function(n){return n*i/pt}),h[6]=w,h[8]=i),t.setLineDash(w));w=d=NaN;++v;break;case 11:t.font=h[1];t.textAlign=h[2];t.textBaseline=h[3];++v;break;case 12:at?it++:t.stroke();++v;break;default:++v}}nt&&ln(n,t,u);it&&t.stroke()}function pft(n){var f=n.b,r,e,t,i,u,o;for(f.reverse(),e=f.length,u=-1,r=0;r<e;++r)if(t=f[r],i=t[0],6==i)u=r;else if(0==i){for(t[2]=r,t=n.b,i=r;u<i;)o=t[u],t[u]=t[i],t[i]=o,++u,--i;u=-1}}function cv(n,t){n.ra[2]=n.a.length;n.ra=null;n.va[2]=n.b.length;n.va=null;var i=[6,t];n.a.push(i);n.b.push(i)}function gw(n,t,i,r){lc.call(this,n,t,i,r);this.l=this.P=null;this.L=this.D=this.C=this.A=this.u=this.H=this.v=this.o=this.j=this.i=this.g=void 0}function wft(n,t,i,r){lc.call(this,n,t,i,r);this.i=null;this.g={wd:void 0,rd:void 0,sd:null,td:void 0,ud:void 0,vd:void 0,Af:0,strokeStyle:void 0,lineCap:void 0,lineDash:null,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0}}function lwt(n,t,i,r,u){var f=n.coordinates.length;return t=dw(n,t,i,r,u,!1,!1),f=[8,f,t],n.a.push(f),n.b.push(f),r}function awt(n){var t=n.g,i=t.strokeStyle,r=t.lineCap,u=t.lineDash,f=t.lineJoin,e=t.lineWidth,o=t.miterLimit;t.wd==i&&t.rd==r&&kc(t.sd,u)&&t.td==f&&t.ud==e&&t.vd==o||(t.Af!=n.coordinates.length&&(n.a.push([12]),t.Af=n.coordinates.length),n.a.push([10,i,e,r,f,o,u,!0,1],[1]),t.wd=i,t.rd=r,t.sd=u,t.td=f,t.ud=e,t.vd=o)}function an(n,t,i,r){lc.call(this,n,t,i,r);this.i=null;this.g={Bg:void 0,wd:void 0,rd:void 0,sd:null,td:void 0,ud:void 0,vd:void 0,fillStyle:void 0,strokeStyle:void 0,lineCap:void 0,lineDash:null,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0}}function vwt(n,t,i,r,u){var f=n.g,o=void 0!==f.fillStyle,f=void 0!=f.strokeStyle,c=r.length,e=[1],s,h;for(n.a.push(e),n.b.push(e),e=0;e<c;++e)s=r[e],h=n.coordinates.length,i=dw(n,t,i,s,u,!0,!f),i=[8,h,i],n.a.push(i),n.b.push(i),f&&(i=[3],n.a.push(i),n.b.push(i)),i=s;return t=[7],n.b.push(t),o&&n.a.push(t),f&&(o=[12],n.a.push(o),n.b.push(o)),i}function bft(n,t){var i=n.g,r=i.fillStyle,u=i.strokeStyle,f=i.lineCap,e=i.lineDash,o=i.lineJoin,s=i.lineWidth,h=i.miterLimit,c;void 0!==r&&("string"!=typeof r||i.Bg!=r)&&(c=[9,r],"string"!=typeof r&&(r=t.G(),c.push([r[0],r[3]])),n.a.push(c),i.Bg=i.fillStyle);void 0===u||i.wd==u&&i.rd==f&&kc(i.sd,e)&&i.td==o&&i.ud==s&&i.vd==h||(n.a.push([10,u,s,f,o,h,e,!0,1]),i.wd=u,i.rd=f,i.sd=e,i.td=o,i.ud=s,i.vd=h)}function kft(n,t,i,r){lc.call(this,n,t,i,r);this.L=this.D=this.C=null;this.l="";this.v=this.o=0;this.H=void 0;this.A=this.u=0;this.j=this.i=this.g=null}function wy(n,t,i,r,u){var f,e,o;""!==n.l&&n.j&&(n.g||n.i)&&(n.g&&(f=n.g,e=n.C,e&&e.fillStyle==f.fillStyle||(o=[9,f.fillStyle],n.a.push(o),n.b.push(o),e?e.fillStyle=f.fillStyle:n.C={fillStyle:f.fillStyle})),n.i&&(f=n.i,e=n.D,e&&e.lineCap==f.lineCap&&e.lineDash==f.lineDash&&e.lineJoin==f.lineJoin&&e.lineWidth==f.lineWidth&&e.miterLimit==f.miterLimit&&e.strokeStyle==f.strokeStyle||(o=[10,f.strokeStyle,f.lineWidth,f.lineCap,f.lineJoin,f.miterLimit,f.lineDash,!1,1],n.a.push(o),n.b.push(o),e?(e.lineCap=f.lineCap,e.lineDash=f.lineDash,e.lineJoin=f.lineJoin,e.lineWidth=f.lineWidth,e.miterLimit=f.miterLimit,e.strokeStyle=f.strokeStyle):n.D={lineCap:f.lineCap,lineDash:f.lineDash,lineJoin:f.lineJoin,lineWidth:f.lineWidth,miterLimit:f.miterLimit,strokeStyle:f.strokeStyle})),f=n.j,e=n.L,e&&e.font==f.font&&e.textAlign==f.textAlign&&e.textBaseline==f.textBaseline||(o=[11,f.font,f.textAlign,f.textBaseline],n.a.push(o),n.b.push(o),e?(e.font=f.font,e.textAlign=f.textAlign,e.textBaseline=f.textBaseline):n.L={font:f.font,textAlign:f.textAlign,textBaseline:f.textBaseline}),hv(n,u),f=n.coordinates.length,t=dw(n,t,0,i,r,!1,!1),t=[5,f,t,n.l,n.o,n.v,n.u,n.A,!!n.g,!!n.i,n.H],n.a.push(t),n.b.push(t),cv(n,u))}function lv(n,t,i,r,u){this.H=n;this.c=t;this.o=r;this.v=i;this.i=u;this.a={};this.j=ie(1,1);this.l=re()}function av(n,t,i){var r,u=Math.floor(n.length/2);if(t>=u)for(r=u;r<t;r++)n[r][i]=!0;else if(t<u)for(r=t+1;r<u;r++)n[r][i]=!0}function ghi(n){var t,u;if(void 0!==vn[n])return vn[n];for(var t=2*n+1,r=Array(t),i=0;i<t;i++)r[i]=Array(t);for(t=n,u=i=0;t>=i;)av(r,n+t,n+i),av(r,n+i,n+t),av(r,n-i,n+t),av(r,n-t,n+i),av(r,n-t,n-i),av(r,n-i,n-t),av(r,n+i,n-t),av(r,n+t,n-i),i++,u+=1+2*i,0<2*(u-t)+1&&(--t,u+=1-2*t);return vn[n]=r}function dft(n){var i,t,r;for(i in n.a){t=n.a[i];for(r in t)t[r].se()}}function ywt(n,t){var i=n.c,r=i[0],u=i[1],f=i[2],i=i[3],r=[r,u,r,i,f,i,f,u];return uw(r,0,8,2,t,r),r}function nci(n,t,i,r,u,f,e){var c=Object.keys(n.a).map(Number),s,l,h,a,o;for(c.sort(function(n,t){return t-n}),s=0,l=c.length;s<l;++s)for(a=n.a[c[s].toString()],h=pl.length-1;0<=h;--h)if(o=a[pl[h]],void 0!==o&&(o=cwt(o,t,1,i,r,u,o.b,f,e)))return o}function wwt(n,t){return tt(n)-tt(t)}function nb(n,t){var i=.5*n/t;return i*i}function by(n,t,i,r,u,f){var s=!1,e,o;return(e=i.a)&&(o=e.xe(),o==no||o==ha?e.Ii(u,f):(o==il&&e.load(),e.eh(u,f),s=!0)),(u=i.c(t))&&(r=u.Bd(r),gft[r.Y()](n,r,i,t)),s}function io(n){ce.call(this,n);this.f=!1;this.u=-1;this.H=NaN;this.j=lo();this.c=this.l=null;this.i=ie()}function ro(n){te.call(this,n);this.Z=!1;this.sa=re();this.na=n.u==vft?1:0}function tci(n,t,i){function k(n){var t,i=n.Gc(),e,u,f,o;if(i?t=i.call(n,y):(i=s.j)&&(t=i(n,y)),t){if(Array.isArray(t)||(t=[t]),i=b,e=l,t){if(u=!1,Array.isArray(t))for(f=0,o=t.length;f<o;++f)u=by(e,n,t[f],i,this.fa,this)||u;else u=by(e,n,t,i,this.fa,this)||u;n=u}else n=!1;this.Z=this.Z||n;r.xd=r.xd||n}}var s=n.a,c=i.pixelRatio,l,b;i=i.viewState.projection;var p=s.g,h=s.get("renderOrder")||null,r=t.g;if(r.xd||r.li!=p||r.bg!=h){r.jd=null;r.xd=!1;var u=s.la(),f=u.tileGrid,a=t.Ca,v=t.j,y=f.Ha(a[0]),e,w,o;for("tile-pixels"==v.Eb()?(e=o=u.jb(),f=th(f.Za(a[0])),e=[0,0,f[0]*e,f[1]*e]):(o=y,e=f.Na(a),vh(i,v)||(w=!0,t.Ff(i))),r.xd=!1,l=new lv(0,e,o,u.i,s.i),b=nb(o,c),t=t.i,h&&h!==r.bg&&t.sort(h),u=0,o=t.length;u<o;++u)c=t[u],w&&c.V().ob(v,i),k.call(n,c);dft(l);r.li=p;r.bg=h;r.jd=l;r.resolution=NaN}}function tb(n,t){ev.call(this,0,t);this.g=ie();this.b=this.g.canvas;this.b.style.width="100%";this.b.style.height="100%";this.b.className="ol-unselectable";n.insertBefore(this.b,n.childNodes[0]||null);this.a=!0;this.c=re()}function dwt(n,t,i){var u=n.l,f=n.g;if(yp(u,t)){var o=i.extent,s=i.pixelRatio,h=i.viewState.rotation,r=i.viewState,e=i.pixelRatio/r.resolution;n=ih(n.c,n.b.width/2,n.b.height/2,e,-e,-r.rotation,-r.center[0],-r.center[1]);u.b(new be(t,new dh(f,s,o,n,h),i,f,null))}}function net(n,t,i,r,u,f){return n=(i-n)*(f-t)-(u-n)*(r-t),n<=ky&&n>=-ky?void 0:0<n}function nbt(n){this.b=n}function vv(n){this.b=n}function yv(n){this.b=n}function tbt(){this.b="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;}}"}function rbt(){this.b="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;if(f==0.0){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 ici(n,t){this.D=n.getUniformLocation(t,"n");this.L=n.getUniformLocation(t,"k");this.f=n.getUniformLocation(t,"j");this.c=n.getUniformLocation(t,"i");this.a=n.getUniformLocation(t,"m");this.ra=n.getUniformLocation(t,"l");this.g=n.getUniformLocation(t,"h");this.va=n.getUniformLocation(t,"p");this.P=n.getUniformLocation(t,"o");this.j=n.getAttribLocation(t,"f");this.b=n.getAttribLocation(t,"e");this.u=n.getAttribLocation(t,"g")}function fbt(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function id(n,t){return n[0]=t[0],n[1]=t[1],n[4]=t[2],n[5]=t[3],n[12]=t[4],n[13]=t[5],n}function wl(n,t){this.origin=ah(t);this.Ua=re();this.xa=re();this.Ja=re();this.na=fbt();this.b=[];this.o=null;this.g=[];this.i=[];this.a=[];this.v=null;this.j=void 0}function es(n,t,i,r){n.drawElements(4,r-i,t.i?5125:5123,i*(t.i?4:2))}function bl(n){this.b=void 0!==n?n:[];this.a=ebt}function tet(n,t){wl.call(this,0,t);this.H=null;this.l=[];this.u=[];this.A=0;this.c={fillColor:null,strokeColor:null,lineDash:null,lineWidth:void 0,s:!1}}function iet(n,t,i,r){t.uniform4fv(n.H.P,i);t.uniform1f(n.H.L,r)}function obt(){this.b="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;}"}function hbt(){this.b="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 rci(n,t){this.f=n.getUniformLocation(t,"j");this.c=n.getUniformLocation(t,"i");this.a=n.getUniformLocation(t,"k");this.g=n.getUniformLocation(t,"h");this.v=n.getAttribLocation(t,"e");this.H=n.getAttribLocation(t,"f");this.b=n.getAttribLocation(t,"c");this.A=n.getAttribLocation(t,"g");this.C=n.getAttribLocation(t,"d")}function dy(n,t){this.j=n;this.b=t;this.a={};this.f={};this.g={};this.o=this.v=this.c=this.l=null;(this.i=co(ult,"OES_element_index_uint"))&&t.getExtension("OES_element_index_uint");f(this.j,"webglcontextlost",this.co,this);f(this.j,"webglcontextrestored",this.eo,this)}function wn(n,t,i){var r=n.b,u=i.b,f=String(tt(i)),e,o;f in n.a?r.bindBuffer(t,n.a[f].buffer):(e=r.createBuffer(),r.bindBuffer(t,e),34962==t?o=new Float32Array(u):34963==t&&(o=n.i?new Uint32Array(u):new Uint16Array(u)),r.bufferData(t,o,i.a),n.a[f]={gc:i,buffer:e})}function la(n,t){var i=n.b,r=String(tt(t)),u=n.a[r];i.isContextLost()||i.deleteBuffer(u.buffer);delete n.a[r]}function lbt(n){var t,r,u,i;return n.c||(t=n.b,r=t.createFramebuffer(),t.bindFramebuffer(t.FRAMEBUFFER,r),u=ybt(t,1,1),i=t.createRenderbuffer(),t.bindRenderbuffer(t.RENDERBUFFER,i),t.renderbufferStorage(t.RENDERBUFFER,t.DEPTH_COMPONENT16,1,1),t.framebufferTexture2D(t.FRAMEBUFFER,t.COLOR_ATTACHMENT0,t.TEXTURE_2D,u,0),t.framebufferRenderbuffer(t.FRAMEBUFFER,t.DEPTH_ATTACHMENT,t.RENDERBUFFER,i),t.bindTexture(t.TEXTURE_2D,null),t.bindRenderbuffer(t.RENDERBUFFER,null),t.bindFramebuffer(t.FRAMEBUFFER,null),n.c=r,n.v=u,n.o=i),n.c}function abt(n,t){var u=String(tt(t)),i,r;return u in n.f?n.f[u]:(i=n.b,r=i.createShader(t.Y()),i.shaderSource(r,t.b),i.compileShader(r),n.f[u]=r)}function ib(n,t,i){var f=tt(t)+"/"+tt(i),r,u;return f in n.g?n.g[f]:(r=n.b,u=r.createProgram(),r.attachShader(u,abt(n,t)),r.attachShader(u,abt(n,i)),r.linkProgram(u),n.g[f]=u)}function vbt(n,t,i){var r=n.createTexture();return n.bindTexture(n.TEXTURE_2D,r),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MAG_FILTER,n.LINEAR),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MIN_FILTER,n.LINEAR),void 0!==t&&n.texParameteri(3553,10242,t),void 0!==i&&n.texParameteri(3553,10243,i),r}function ybt(n,t,i){var r=vbt(n,void 0,void 0);return n.texImage2D(n.TEXTURE_2D,0,n.RGBA,t,i,0,n.RGBA,n.UNSIGNED_BYTE,null),r}function pbt(n,t){var i=vbt(n,33071,33071);return n.texImage2D(n.TEXTURE_2D,0,n.RGBA,n.RGBA,n.UNSIGNED_BYTE,t),i}function ret(n,t){wl.call(this,0,t);this.D=this.C=void 0;this.A=[];this.H=[];this.ra=void 0;this.l=[];this.c=[];this.P=this.va=void 0;this.L=null;this.sa=this.fa=this.eb=this.Z=this.Qa=this.U=void 0;this.Fa=[];this.u=[];this.zb=void 0}function wbt(n,t,i,r){for(var p=n.C,w=n.D,b=n.ra,k=n.va,d=n.P,g=n.U,nt=n.Qa,tt=n.Z,it=n.eb?1:0,o=-n.fa,s=n.sa,rt=n.zb,h=Math.cos(o),o=Math.sin(o),l=n.b.length,u=n.a.length,c,f,e,v,y,a=0;a<i;a+=r)v=t[a]-n.origin[0],y=t[a+1]-n.origin[1],c=u/8,f=-s*p,e=-s*(b-w),n.a[u++]=v,n.a[u++]=y,n.a[u++]=f*h-e*o,n.a[u++]=f*o+e*h,n.a[u++]=nt/d,n.a[u++]=(tt+b)/k,n.a[u++]=g,n.a[u++]=it,f=s*(rt-p),e=-s*(b-w),n.a[u++]=v,n.a[u++]=y,n.a[u++]=f*h-e*o,n.a[u++]=f*o+e*h,n.a[u++]=(nt+rt)/d,n.a[u++]=(tt+b)/k,n.a[u++]=g,n.a[u++]=it,f=s*(rt-p),e=s*w,n.a[u++]=v,n.a[u++]=y,n.a[u++]=f*h-e*o,n.a[u++]=f*o+e*h,n.a[u++]=(nt+rt)/d,n.a[u++]=tt/k,n.a[u++]=g,n.a[u++]=it,f=-s*p,e=s*w,n.a[u++]=v,n.a[u++]=y,n.a[u++]=f*h-e*o,n.a[u++]=f*o+e*h,n.a[u++]=nt/d,n.a[u++]=tt/k,n.a[u++]=g,n.a[u++]=it,n.b[l++]=c,n.b[l++]=c+1,n.b[l++]=c+2,n.b[l++]=c,n.b[l++]=c+2,n.b[l++]=c+3}function bbt(n,t,i,r){for(var u,e,o=t.length,f=0;f<o;++f)u=t[f],e=tt(u).toString(),e in i?u=i[e]:(u=pbt(r,u),i[e]=u),n[f]=u}function uet(n,t,i){var r=t-i;return n[0]===n[r]&&n[1]===n[r+1]&&3<(+t)/i?!!ort(n,0,t,i):!1}function kbt(){this.b="precision mediump float;varying float a;varying vec2 b;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((b.x+1.0)/2.0*o.x*p,(b.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;}"}function gbt(){this.b="varying float a;varying vec2 b;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;b=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 uci(n,t){this.D=n.getUniformLocation(t,"n");this.L=n.getUniformLocation(t,"k");this.P=n.getUniformLocation(t,"l");this.f=n.getUniformLocation(t,"j");this.c=n.getUniformLocation(t,"i");this.a=n.getUniformLocation(t,"m");this.ra=n.getUniformLocation(t,"p");this.g=n.getUniformLocation(t,"h");this.va=n.getUniformLocation(t,"o");this.i=n.getAttribLocation(t,"g");this.l=n.getAttribLocation(t,"d");this.o=n.getAttribLocation(t,"f");this.b=n.getAttribLocation(t,"e")}function bn(n,t){wl.call(this,0,t);this.H=null;this.u=[];this.l=[];this.c={strokeColor:null,lineCap:void 0,lineDash:null,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0,s:!1}}function kn(n,t,i,r){for(var e=n.a.length,u=n.b.length,p="bevel"===n.c.lineJoin?0:"miter"===n.c.lineJoin?1:2,y="butt"===n.c.lineCap?0:"square"===n.c.lineCap?1:2,w=uet(t,i,r),b,a,f,c=u,v=1,h,o,s,l=0;l<i;l+=r){if(f=e/7,h=o,o=s||[t[l],t[l+1]],0===l){if(s=[t[l+r],t[l+r+1]],+i==2*r&&kc(o,s))break;if(w)h=[t[i-2*r],t[i-2*r+1]],b=s;else{y&&(e=rh(n,[0,0],o,s,7*v*y,e),e=rh(n,[0,0],o,s,7*-v*y,e),n.b[u++]=f+2,n.b[u++]=f,n.b[u++]=f+1,n.b[u++]=f+1,n.b[u++]=f+3,n.b[u++]=f+2);e=rh(n,[0,0],o,s,3*v*(y||1),e);e=rh(n,[0,0],o,s,3*-v*(y||1),e);c=e/7-1;continue}}else if(l===i-r){w?s=b:(h=h||[0,0],e=rh(n,h,o,[0,0],5*v*(y||1),e),e=rh(n,h,o,[0,0],5*-v*(y||1),e),n.b[u++]=f,n.b[u++]=c-1,n.b[u++]=c,n.b[u++]=c,n.b[u++]=f+1,n.b[u++]=f,y&&(e=rh(n,h,o,[0,0],11*v*y,e),e=rh(n,h,o,[0,0],11*-v*y,e),n.b[u++]=f+2,n.b[u++]=f,n.b[u++]=f+1,n.b[u++]=f+1,n.b[u++]=f+3,n.b[u++]=f+2));break}else s=[t[l+r],t[l+r+1]];a=net(h[0],h[1],o[0],o[1],s[0],s[1])?-1:1;e=rh(n,h,o,s,13*a*(p||1),e);e=rh(n,h,o,s,17*a*(p||1),e);e=rh(n,h,o,s,19*-a*(p||1),e);0<l&&(n.b[u++]=f,n.b[u++]=c-1,n.b[u++]=c,n.b[u++]=f+2,n.b[u++]=f,n.b[u++]=0<v*a?c:c-1);n.b[u++]=f;n.b[u++]=f+2;n.b[u++]=f+1;c=f+2;v=a;p&&(e=rh(n,h,o,s,23*a*p,e),n.b[u++]=f+1,n.b[u++]=f+3,n.b[u++]=f)}w&&(f=f||e/7,a=sy([h[0],h[1],o[0],o[1],s[0],s[1]],0,6,2)?1:-1,e=rh(n,h,o,s,13*a*(p||1),e),rh(n,h,o,s,19*-a*(p||1),e),n.b[u++]=f,n.b[u++]=c-1,n.b[u++]=c,n.b[u++]=f+1,n.b[u++]=f,n.b[u++]=0<v*a?c:c-1)}function rh(n,t,i,r,u,f){return n.a[f++]=t[0],n.a[f++]=t[1],n.a[f++]=i[0],n.a[f++]=i[1],n.a[f++]=r[0],n.a[f++]=r[1],n.a[f++]=u,f}function tkt(n,t,i){return t-=0,t<2*i?!1:t===2*i?!kc([n[0],n[1]],[n[0+i],n[i+1]]):!0}function ikt(n,t,i,r){if(uet(t,t.length,r)||(t.push(t[0]),t.push(t[1])),kn(n,t,t.length,r),i.length){var u;for(t=0,u=i.length;t<u;++t)uet(i[t],i[t].length,r)||(i[t].push(i[t][0]),i[t].push(i[t][1])),kn(n,i[t],i[t].length,r)}}function rkt(n,t,i){i=void 0===i?n.b.length:i;n.g.push(i);n.i.push(t);n.c.s&&(n.l.push(i),n.c.s=!1)}function fet(n,t,i,r,u){t.uniform4fv(n.H.D,i);t.uniform1f(n.H.L,r);t.uniform1f(n.H.P,u)}function ukt(){this.b="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;}"}function ekt(){this.b="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 fci(n,t){this.D=n.getUniformLocation(t,"e");this.f=n.getUniformLocation(t,"d");this.c=n.getUniformLocation(t,"c");this.a=n.getUniformLocation(t,"f");this.g=n.getUniformLocation(t,"b");this.b=n.getAttribLocation(t,"a")}function dn(n){this.b=this.a=this.g=void 0;this.c=void 0===n?!0:n;this.f=0}function gn(n){var i=n.b,r,t;i&&(r=i.next,t=i.pb,r&&(r.pb=t),t&&(t.next=r),n.b=r||t,n.g===n.a?(n.b=void 0,n.g=void 0,n.a=void 0):n.g===i?n.g=n.b:n.a===i&&(n.a=t?n.b.pb:n.b),n.f--)}function pv(n){return n.b=n.g,n.b?n.b.data:void 0}function gh(n){if(n.b&&n.b.next)return n.b=n.b.next,n.b.data}function rd(n){if(n.b&&n.b.next)return n.b.next.data}function eet(n){if(n.b&&n.b.pb)return n.b=n.b.pb,n.b.data}function ntt(n){if(n.b&&n.b.pb)return n.b.pb.data}function ttt(n){if(n.b)return n.b.data}function gy(n){this.b=skt(n);this.a={}}function np(n,t,i){var r=n.a[tt(i)];dp([r.ea,r.ga,r.ca,r.ja],t)||(n.remove(i),n.Da(t,i))}function akt(n){return n.b.all().map(function(n){return n.value})}function tp(n,t){return n.b.search({ea:t[0],ga:t[1],ca:t[2],ja:t[3]}).map(function(n){return n.value})}function ud(n,t,i,r){return vkt(tp(n,t),i,r)}function vkt(n,t,i){for(var u,r=0,f=n.length;r<f&&!(u=t.call(i,n[r]));r++);return u}function oet(n,t){wl.call(this,0,t);this.j=new bn(0,t);this.H=null;this.u=[];this.c=[];this.l={fillColor:null,s:!1}}function ykt(n,t,i,r){var o=new dn,e=new gy,u,h,f,s;if(t=pkt(n,t,r,o,e,!0),i.length){for(f=[],u=0,h=i.length;u<h;++u)s={list:new dn,ca:void 0},f.push(s),s.ca=pkt(n,i[u],r,s.list,e,!1);for(f.sort(function(n,t){return t.ca-n.ca}),u=0;u<f.length;++u)eci(f[u].list,f[u].ca,o,t,e)}ip(o,e,!1);set(n,o,e)}function pkt(n,t,i,r,u,f){var o,h,c=n.a.length/2,v,s,e,l=[],a=[];if(f===sy(t,0,t.length,i))for(s=v=rb(n,t[0],t[1],c++),f=t[0],o=i,h=t.length;o<h;o+=i)e=rb(n,t[o],t[o+1],c++),a.push(wv(s,e,r)),l.push([Math.min(s.x,e.x),Math.min(s.y,e.y),Math.max(s.x,e.x),Math.max(s.y,e.y)]),f=t[o]>f?t[o]:f,s=e;else for(o=t.length-i,s=v=rb(n,t[o],t[o+1],c++),f=t[o],o-=i,h=0;o>=h;o-=i)e=rb(n,t[o],t[o+1],c++),a.push(wv(s,e,r)),l.push([Math.min(s.x,e.x),Math.min(s.y,e.y),Math.max(s.x,e.x),Math.max(s.y,e.y)]),f=t[o]>f?t[o]:f,s=e;return a.push(wv(e,v,r)),l.push([Math.min(s.x,e.x),Math.min(s.y,e.y),Math.max(s.x,e.x),Math.max(s.y,e.y)]),u.load(l,a),f}function ip(n,t,i){var f=pv(n),r=f,u=gh(n),o=!1,e;do e=i?net(u.X.x,u.X.y,r.X.x,r.X.y,r.ba.x,r.ba.y):net(r.ba.x,r.ba.y,r.X.x,r.X.y,u.X.x,u.X.y),void 0===e?(dkt(r,u,n,t),o=!0,u===f&&(f=rd(n)),u=r,eet(n)):r.X.qb!==e&&(r.X.qb=e,o=!0),r=u,u=gh(n);while(r!==f);return o}function eci(n,t,i,r,u){var f,o,e,l,h,c,s,a,v;for(ip(n,u,!0),f=pv(n);f.X.x!==t;)f=gh(n);for(t=f.X,r={x:r,y:t.y,$a:-1},o=Infinity,h=itt({ba:t,X:r},u,!0),e=0,l=h.length;e<l;++e)s=h[e],void 0===s.ba.qb&&(a=rtt(t,r,s.ba,s.X,!0),v=Math.abs(t.x-a[0]),v<o&&(o=v,c={x:a[0],y:a[1],$a:-1},f=s));if(Infinity!==o){if(h=f.X,0<o&&(f=gkt(t,c,f.X,u),f.length))for(c=Infinity,e=0,l=f.length;e<l;++e)(o=f[e],s=Math.atan2(t.y-o.y,r.x-o.x),s<c||s===c&&o.x<h.x)&&(c=s,h=o);for(f=pv(i);f.X!==h;)f=gh(i);r={x:t.x,y:t.y,$a:t.$a,qb:void 0};e={x:f.X.x,y:f.X.y,$a:f.X.$a,qb:void 0};rd(n).ba=r;wv(t,f.X,n,u);wv(e,r,n,u);f.X=e;n.c&&n.b&&(n.g=n.b,n.a=n.b.pb);i.concat(n)}}function set(n,t,i){for(var f=!1,o=kkt(t,i);3<t.f;)if(o){if(!wkt(n,t,i,o,f)&&!ip(t,i,f)&&!bkt(n,t,i,!0))break}else if(!wkt(n,t,i,o,f)&&!ip(t,i,f)&&!bkt(n,t,i))if(o=kkt(t,i)){var f=t,r=2*f.f,e=Array(r),u=pv(f),s=u,h=0;do e[h++]=s.ba.x,e[h++]=s.ba.y,s=gh(f);while(s!==u);f=!sy(e,0,r,2);ip(t,i,f)}else{o=n;f=t;r=e=pv(f);do{if(u=itt(r,i),u.length){for(e=u[0],u=rtt(r.ba,r.X,e.ba,e.X),u=rb(o,u[0],u[1],o.a.length/2),s=new dn,h=new gy,wv(u,r.X,s,h),r.X=u,np(i,[Math.min(r.ba.x,u.x),Math.min(r.ba.y,u.y),Math.max(r.ba.x,u.x),Math.max(r.ba.y,u.y)],r),r=gh(f);r!==e;)wv(r.ba,r.X,s,h),i.remove(r),gn(f),r=ttt(f);wv(e.ba,u,s,h);e.ba=u;np(i,[Math.min(e.X.x,u.x),Math.min(e.X.y,u.y),Math.max(e.X.x,u.x),Math.max(e.X.y,u.y)],e);ip(f,i,!1);set(o,f,i);ip(s,h,!1);set(o,s,h);break}r=gh(f)}while(r!==e);break}3===t.f&&(o=n.b.length,n.b[o++]=ntt(t).ba.$a,n.b[o++]=ttt(t).ba.$a,n.b[o++]=rd(t).ba.$a)}function wkt(n,t,i,r,u){var v=n.b.length,l=pv(t),h=ntt(t),c=l,a=gh(t),s=rd(t),f,o,e,y=!1,p;do f=c.ba,o=c.X,e=a.X,!1===o.qb&&(p=u?ndt(s.X,e,o,f,h.ba):ndt(h.ba,f,o,e,s.X),(r||0===itt({ba:f,X:e},i).length)&&p&&0===gkt(f,o,e,i,!0).length&&(r||!1===f.qb||!1===e.qb||sy([h.ba.x,h.ba.y,f.x,f.y,o.x,o.y,e.x,e.y,s.X.x,s.X.y],0,10,2)===!u)&&(n.b[v++]=f.$a,n.b[v++]=o.$a,n.b[v++]=e.$a,dkt(c,a,t,i),a===l&&(l=s),y=!0)),h=ntt(t),c=ttt(t),a=gh(t),s=rd(t);while(c!==l&&3<t.f);return y}function bkt(n,t,i,r){var h=pv(t),e;gh(t);var u=h,f=gh(t),o=!1;do{if(e=rtt(u.ba,u.X,f.ba,f.X,r),e){var s,o=n.b.length,l=n.a.length/2,c=eet(t);if(gn(t),i.remove(c),s=c===h,r?(e[0]===u.ba.x&&e[1]===u.ba.y?(eet(t),e=u.ba,f.ba=e,i.remove(u),s=s||u===h):(e=f.X,u.X=e,i.remove(f),s=s||f===h),gn(t)):(e=rb(n,e[0],e[1],l),u.X=e,f.ba=e,np(i,[Math.min(u.ba.x,u.X.x),Math.min(u.ba.y,u.X.y),Math.max(u.ba.x,u.X.x),Math.max(u.ba.y,u.X.y)],u),np(i,[Math.min(f.ba.x,f.X.x),Math.min(f.ba.y,f.X.y),Math.max(f.ba.x,f.X.x),Math.max(f.ba.y,f.X.y)],f)),n.b[o++]=c.ba.$a,n.b[o++]=c.X.$a,n.b[o++]=e.$a,o=!0,s)break}u=ntt(t);f=gh(t)}while(u!==h);return o}function kkt(n,t){var r=pv(n),i=r;do{if(itt(i,t).length)return!1;i=gh(n)}while(i!==r);return!0}function rb(n,t,i,r){var u=n.a.length;return n.a[u++]=t,n.a[u++]=i,{x:t,y:i,$a:r,qb:void 0}}function wv(n,t,i,r){var o={ba:n,X:t},u={pb:void 0,next:void 0,data:o},f=i.b,e;return f?(e=f.next,u.pb=f,u.next=e,f.next=u,e&&(e.pb=u),f===i.a&&(i.a=u)):(i.g=u,i.a=u,i.c&&(u.next=u,u.pb=u)),i.b=u,i.f++,r&&r.Da([Math.min(n.x,t.x),Math.min(n.y,t.y),Math.max(n.x,t.x),Math.max(n.y,t.y)],o),o}function dkt(n,t,i,r){ttt(i)===t&&(gn(i),n.X=t.X,r.remove(t),np(r,[Math.min(n.ba.x,n.X.x),Math.min(n.ba.y,n.X.y),Math.max(n.ba.x,n.X.x),Math.max(n.ba.y,n.X.y)],n))}function gkt(n,t,i,r,u){var s,h,f,e=[],o=tp(r,[Math.min(n.x,t.x,i.x),Math.min(n.y,t.y,i.y),Math.max(n.x,t.x,i.x),Math.max(n.y,t.y,i.y)]);for(r=0,s=o.length;r<s;++r)for(h in o[r])f=o[r][h],"object"==typeof f&&(!u||f.qb)&&(f.x!==n.x||f.y!==n.y)&&(f.x!==t.x||f.y!==t.y)&&(f.x!==i.x||f.y!==i.y)&&-1===e.indexOf(f)&&nv([n.x,n.y,t.x,t.y,i.x,i.y],0,6,2,f.x,f.y)&&e.push(f);return e}function itt(n,t,i){var u=n.ba,f=n.X,o,e,s,r;for(t=tp(t,[Math.min(u.x,f.x),Math.min(u.y,f.y),Math.max(u.x,f.x),Math.max(u.y,f.y)]),o=[],e=0,s=t.length;e<s;++e)r=t[e],n!==r&&(i||r.ba!==f||r.X!==u)&&rtt(u,f,r.ba,r.X,i)&&o.push(r);return o}function rtt(n,t,i,r,u){var f=(r.y-i.y)*(t.x-n.x)-(r.x-i.x)*(t.y-n.y);if(0!==f&&(r=((r.x-i.x)*(n.y-i.y)-(r.y-i.y)*(n.x-i.x))/f,i=((t.x-n.x)*(n.y-i.y)-(t.y-n.y)*(n.x-i.x))/f,!u&&r>ky&&r<1-ky&&i>ky&&i<1-ky||u&&0<=r&&1>=r&&0<=i&&1>=i))return[n.x+r*(t.x-n.x),n.y+r*(t.y-n.y)]}function ndt(n,t,i,r,u){if(void 0===t.qb||void 0===r.qb)return!1;var f=(i.x-r.x)*(t.y-r.y)>(i.y-r.y)*(t.x-r.x);return u=(u.x-r.x)*(t.y-r.y)<(u.y-r.y)*(t.x-r.x),n=(n.x-t.x)*(r.y-t.y)>(n.y-t.y)*(r.x-t.x),i=(i.x-t.x)*(r.y-t.y)<(i.y-t.y)*(r.x-t.x),t=t.qb?i||n:i&&n,(r.qb?u||f:u&&f)&&t}function tdt(){}function nc(n,t,i){this.i=t;this.j=n;this.c=i;this.a={}}function idt(n,t){var i=[],u,r,f;for(u in n.a){r=n.a[u];for(f in r)i.push(r[f].wb(t))}return function(){for(var r=i.length,t,n=0;n<r;n++)t=i[n].apply(this,arguments);return t}}function oci(n,t){var r,i,u;for(r in n.a){i=n.a[r];for(u in i)i[u].vb(t)}}function rdt(n,t,i,r,u,f,e,o,s,h,c){var b=udt,y=Object.keys(n.a).map(Number),a,p,v,w,l;for(y.sort(function(n,t){return t-n}),a=0,p=y.length;a<p;++a)for(w=n.a[y[a].toString()],v=pl.length-1;0<=v;--v)if(l=w[pl[v]],void 0!==l&&(l=l.f(t,i,r,u,b,f,e,o,s,h,c)))return l}function sci(n,t,i,r,u,f,e,o){var s=i.b;return s.bindFramebuffer(s.FRAMEBUFFER,lbt(i)),void 0!==rdt(n,i,t,r,u,f,e,o,function(){var n=new Uint8Array(4);return s.readPixels(0,0,1,1,s.RGBA,s.UNSIGNED_BYTE,n),0<n[3]},!1)}function kl(n,t,i,r,u,f,e){this.b=n;this.g=t;this.a=f;this.f=e;this.j=u;this.i=r;this.c=i;this.l=this.o=this.v=null}function edt(){this.b="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;}"}function sdt(){this.b="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 hci(n,t){this.g=n.getUniformLocation(t,"f");this.f=n.getUniformLocation(t,"e");this.i=n.getUniformLocation(t,"d");this.c=n.getUniformLocation(t,"g");this.b=n.getAttribLocation(t,"b");this.a=n.getAttribLocation(t,"c")}function df(n,t){ue.call(this,t);this.f=n;this.U=new bl([-1,-1,0,0,1,-1,1,0,-1,1,0,1,1,1,1,1]);this.i=this.yb=null;this.j=void 0;this.v=re();this.u=re();this.C=fbt();this.H=null}function cci(n,t,i){var r=n.f.g,u;void 0===n.j||n.j!=i?(t.postRenderFunctions.push(function(n,t,i){n.isContextLost()||(n.deleteFramebuffer(t),n.deleteTexture(i))}.bind(null,r,n.i,n.yb)),t=ybt(r,i,i),u=r.createFramebuffer(),r.bindFramebuffer(36160,u),r.framebufferTexture2D(36160,36064,3553,t,0),n.yb=t,n.i=u,n.j=i):r.bindFramebuffer(36160,n.i)}function cdt(n,t,i,r){if(n=n.a,yp(n,t)){var u=r.viewState;n.b(new be(t,new kl(i,u.center,u.resolution,u.rotation,r.size,r.extent,r.pixelRatio),r,null,i))}}function ub(n,t,i,r,u,f){this.c=void 0!==f?f:null;tl.call(this,n,t,i,void 0!==f?il:no,r);this.g=u}function ydt(n,t,i,r){var u=sg(i,t,n);return i=eg(t,r,i),t=t.ic(),void 0!==t&&(i*=t),t=n.ic(),void 0!==t&&(i/=t),n=eg(n,i,u)/i,isFinite(n)&&0<n&&(i/=n),i}function het(n,t,i,r){n=i-n;t=r-t;var u=Math.sqrt(n*n+t*t);return[Math.round(i+n/u),Math.round(r+t/u)]}function pdt(n,t,i,r,u,f,e,o,s,h,c){var l=ie(Math.round(i*n),Math.round(i*t)),v,p,y,a;return 0===s.length?l.canvas:(l.scale(i,i),v=lo(),s.forEach(function(n){git(v,n.extent)}),p=ie(Math.round(i*af(v)/r),Math.round(i*so(v)/r)),y=i/r,s.forEach(function(n){p.drawImage(n.image,h,h,n.image.width-2*h,n.image.height-2*h,(n.extent[0]-v[0])*y,-(n.extent[3]-v[3])*y,af(n.extent)*y,so(n.extent)*y)}),a=sc(e),o.f.forEach(function(n){var c=n.source,y=n.target,u=c[1][0],o=c[1][1],t=c[2][0],e=c[2][1],nt;n=(y[0][0]-a[0])/f;var k=-(y[0][1]-a[1])/f,w=(y[1][0]-a[0])/f,d=-(y[1][1]-a[1])/f,b=(y[2][0]-a[0])/f,g=-(y[2][1]-a[1])/f,y=c[0][0],c=c[0][1],u=u-y,o=o-c,t=t-y,e=e-c;n:{for(u=[[u,o,0,0,w-n],[t,e,0,0,b-n],[0,0,u,o,d-k],[0,0,t,e,g-k]],o=u.length,t=0;t<o;t++){for(var e=t,s=Math.abs(u[t][t]),h=t+1;h<o;h++)nt=Math.abs(u[h][t]),nt>s&&(s=nt,e=h);if(0===s){u=null;break n}for(s=u[e],u[e]=u[t],u[t]=s,e=t+1;e<o;e++)for(s=-u[e][t]/u[t][t],h=t;h<o+1;h++)u[e][h]=t==h?0:u[e][h]+s*u[t][h]}for(t=Array(o),e=o-1;0<=e;e--)for(t[e]=u[e][o]/u[e][e],s=e-1;0<=s;s--)u[s][o]-=u[s][e]*t[e];u=t}u&&(l.save(),l.beginPath(),ldt?(t=(n+w+b)/3,e=(k+d+g)/3,o=het(t,e,n,k),w=het(t,e,w,d),b=het(t,e,b,g),l.moveTo(w[0],w[1]),l.lineTo(o[0],o[1]),l.lineTo(b[0],b[1])):(l.moveTo(w,d),l.lineTo(n,k),l.lineTo(b,g)),l.clip(),l.transform(u[0],u[2],u[1],u[3],n,k),l.translate(v[0]-y,v[3]-c),l.scale(r/i,-r/i),l.drawImage(p.canvas,0,0),l.restore())}),c&&(l.save(),l.strokeStyle="black",l.lineWidth=1,o.f.forEach(function(n){var t=n.target;n=(t[0][0]-a[0])/f;var i=-(t[0][1]-a[1])/f,r=(t[1][0]-a[0])/f,u=-(t[1][1]-a[1])/f,e=(t[2][0]-a[0])/f,t=-(t[2][1]-a[1])/f;l.beginPath();l.moveTo(r,u);l.lineTo(n,i);l.lineTo(e,t);l.closePath();l.stroke()}),l.restore()),l.canvas)}function wdt(n,t,i,r,u){var e,o,f;this.g=n;this.c=t;e={};o=ea(this.c,this.g);this.a=function(n){var t=n[0]+"/"+n[1];return e[t]||(e[t]=o(n)),e[t]};this.i=r;this.v=u*u;this.f=[];this.l=!1;this.o=this.g.a&&!!r&&!!this.g.G()&&af(r)==af(this.g.G());this.b=this.g.G()?af(this.g.G()):null;this.j=this.c.G()?af(this.c.G()):null;n=sc(i);t=ey(i);r=nw(i);i=ba(i);u=this.a(n);var s=this.a(t),h=this.a(r),c=this.a(i);fd(this,n,t,r,i,u,s,h,c,10);this.l&&(f=Infinity,this.f.forEach(function(n){f=Math.min(f,n.source[0][0],n.source[1][0],n.source[2][0])}),this.f.forEach(function(n){if(Math.max(n.source[0][0],n.source[1][0],n.source[2][0])-f>this.b/2){var t=[[n.source[0][0],n.source[0][1]],[n.source[1][0],n.source[1][1]],[n.source[2][0],n.source[2][1]]];t[0][0]-f>this.b/2&&(t[0][0]-=this.b);t[1][0]-f>this.b/2&&(t[1][0]-=this.b);t[2][0]-f>this.b/2&&(t[2][0]-=this.b);Math.max(t[0][0],t[1][0],t[2][0])-Math.min(t[0][0],t[1][0],t[2][0])<this.b/2&&(n.source=t)}},this));e={}}function fd(n,t,i,r,u,f,e,o,s,h){var c=se([f,e,o,s]),v=n.b?af(c)/n.b:null,l=n.b,a=n.g.a&&.5<v&&1>v,y=!1,p;if(0<h&&(n.c.g&&n.j&&(p=se([t,i,r,u]),y=y|.25<af(p)/n.j),!a&&n.g.g&&v&&(y|=.25<v)),y||!n.i||pe(c,n.i)){if(!(y||isFinite(f[0])&&isFinite(f[1])&&isFinite(e[0])&&isFinite(e[1])&&isFinite(o[0])&&isFinite(o[1])&&isFinite(s[0])&&isFinite(s[1])))if(0<h)y=!0;else return;if(0<h&&(y||(c=n.a([(t[0]+r[0])/2,(t[1]+r[1])/2]),l=a?(el(f[0],l)+el(o[0],l))/2-el(c[0],l):(f[0]+o[0])/2-c[0],c=(f[1]+o[1])/2-c[1],y=l*l+c*c>n.v),y)){Math.abs(t[0]-r[0])<=Math.abs(t[1]-r[1])?(a=[(i[0]+r[0])/2,(i[1]+r[1])/2],l=n.a(a),c=[(u[0]+t[0])/2,(u[1]+t[1])/2],v=n.a(c),fd(n,t,i,a,c,f,e,l,v,h-1),fd(n,c,a,r,u,v,l,o,s,h-1)):(a=[(t[0]+i[0])/2,(t[1]+i[1])/2],l=n.a(a),c=[(r[0]+u[0])/2,(r[1]+u[1])/2],v=n.a(c),fd(n,t,a,c,u,f,l,v,s,h-1),fd(n,a,i,r,c,l,e,o,v,h-1));return}if(a){if(!n.o)return;n.l=!0}n.f.push({source:[f,o,s],target:[t,r,u]});n.f.push({source:[f,e,o],target:[t,i,r]})}}function bdt(n){var t=lo();return n.f.forEach(function(n){n=n.source;gp(t,n[0]);gp(t,n[1]);gp(t,n[2])}),t}function fb(n,t,i,r,u,f){this.H=t;this.v=n.G();var e=t.G(),o=e?fa(i,e):i,e=ydt(n,t,ah(o),r);this.l=new wdt(n,t,o,this.v,.5*e);this.c=r;this.g=i;n=bdt(this.l);this.o=(this.xb=f(n,e,u))?this.xb.f:1;this.Md=this.i=null;u=no;f=[];this.xb&&(u=il,f=this.xb.j);tl.call(this,i,r,this.o,u,f)}function ir(n){oi.call(this);this.f=ai(n.projection);this.j=kdt(n.attributions);this.L=n.logo;this.Fa=void 0!==n.state?n.state:"ready";this.D=void 0!==n.wrapX?n.wrapX:!1}function kdt(n){var i;if("string"==typeof n)return[new yh({html:n})];if(n instanceof yh)return[n];if(Array.isArray(n)){for(var r=n.length,u=Array(r),t=0;t<r;t++)i=n[t],u[t]="string"==typeof i?new yh({html:i}):i;return u}return null}function ac(n,t){n.Fa=t;n.s()}function hi(n){ir.call(this,{attributions:n.attributions,extent:n.extent,logo:n.logo,projection:n.projection,state:n.state});this.A=void 0!==n.resolutions?n.resolutions:null;this.a=null;this.sa=0}function utt(n,t){return n.A&&(t=n.A[tg(n.A,t,0)]),t}function ftt(n,t){n.a().src=t}function uh(n,t){lr.call(this,n);this.image=t}function vr(n){hi.call(this,{attributions:n.attributions,logo:n.logo,projection:n.projection,resolutions:n.resolutions,state:n.state});this.fa=n.canvasFunction;this.P=null;this.Z=0;this.na=void 0!==n.ratio?n.ratio:1.5}function di(n){this.c=n.source;this.Ja=re();this.i=ie();this.l=[0,0];this.xa=void 0==n.renderBuffer?100:n.renderBuffer;this.u=null;vr.call(this,{attributions:n.attributions,canvasFunction:this.Jj.bind(this),logo:n.logo,projection:n.projection,ratio:n.ratio,resolutions:n.resolutions,state:this.c.W()});this.C=null;this.v=void 0;this.Fh(n.style);f(this.c,"change",this.kn,this)}function yci(n,t,i,r,u){return i=r/i,ih(n.Ja,u[0]/2,u[1]/2,i,-i,0,-t[0],-t[1])}function uo(n,t){df.call(this,n,t);this.o=this.l=this.c=null}function pci(n,t){var i=t.a();return pbt(n.f.g,i)}function wci(n,t,i,r,u,f,e,o){t*=f;i*=f;n=n.u;yy(n);bh(n,2*r/t,2*r/i);rn(n,-e);nl(n,o[0]-u[0],o[1]-u[1]);bh(n,(o[2]-o[0])/2,(o[3]-o[1])/2);nl(n,1,1)}function ddt(){this.b="precision mediump float;varying vec2 a;uniform sampler2D e;void main(void){gl_FragColor=texture2D(e,a);}"}function ngt(){this.b="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 bci(n,t){this.g=n.getUniformLocation(t,"e");this.f=n.getUniformLocation(t,"d");this.b=n.getAttribLocation(t,"b");this.a=n.getAttribLocation(t,"c")}function ns(n,t){df.call(this,n,t);this.L=gdt;this.Z=tgt;this.c=null;this.D=new bl([0,0,0,1,1,0,1,1,0,1,0,0,1,1,1,0]);this.A=this.l=null;this.o=-1;this.P=[0,0]}function ts(n,t){df.call(this,n,t);this.o=!1;this.P=-1;this.L=NaN;this.A=lo();this.l=this.c=this.D=null}function ett(){this.f=0;this.b={};this.g=this.a=null}function cet(n,t){ev.call(this,0,t);this.b=document.createElement("CANVAS");this.b.style.width="100%";this.b.style.height="100%";this.b.className="ol-unselectable";n.insertBefore(this.b,n.childNodes[0]||null);this.u=this.A=0;this.C=ie();this.o=!0;this.g=gvt(this.b,{antialias:!0,depth:!0,failIfMajorPerformanceCaveat:!0,preserveDrawingBuffer:!1,stencil:!0});this.c=new dy(this.b,this.g);f(this.b,"webglcontextlost",this.Um,this);f(this.b,"webglcontextrestored",this.Vm,this);this.a=new ett;this.H=null;this.j=new aw(function(n){var t=n[1],i;return n=n[2],i=t[0]-this.H[0],t=t[1]-this.H[1],65536*Math.log(n)+Math.sqrt(i*i+t*t)/n}.bind(this),function(n){return n[0].bb()});this.D=function(){if(0!==this.j.b.length){vyt(this.j);var n=cyt(this.j);igt(this,n[0],n[3],n[4])}return!1}.bind(this);this.i=0;ugt(this)}function igt(n,t,i,r){var u=n.g,e=t.bb(),o,f,s;n.a.b.hasOwnProperty(e)?(n=n.a.get(e),u.bindTexture(3553,n.yb),9729!=n.gh&&(u.texParameteri(3553,10240,9729),n.gh=9729),9729!=n.ih&&(u.texParameteri(3553,10241,9729),n.ih=9729)):(o=u.createTexture(),u.bindTexture(3553,o),0<r?(f=n.C.canvas,s=n.C,n.A!==i[0]||n.u!==i[1]?(f.width=i[0],f.height=i[1],n.A=i[0],n.u=i[1]):s.clearRect(0,0,i[0],i[1]),s.drawImage(t.ub(),r,r,i[0],i[1],0,0,i[0],i[1]),u.texImage2D(3553,0,6408,6408,5121,f)):u.texImage2D(3553,0,6408,6408,5121,t.ub()),u.texParameteri(3553,10240,9729),u.texParameteri(3553,10241,9729),u.texParameteri(3553,10242,33071),u.texParameteri(3553,10243,33071),n.a.set(e,{yb:o,gh:9729,ih:9729}))}function rgt(n,t,i){var u=n.l,r;yp(u,t)&&(n=n.c,r=i.viewState,u.b(new be(t,new kl(n,r.center,r.resolution,r.rotation,i.size,i.extent,i.pixelRatio),i,null,n)))}function ugt(n){n=n.g;n.activeTexture(33984);n.blendFuncSeparate(770,771,1,771);n.disable(2884);n.disable(2929);n.disable(3089);n.disable(2960)}function s(n){var t,i,r,u;for(oi.call(this),t=kci(n),this.Xe=void 0!==n.loadTilesWhileAnimating?n.loadTilesWhileAnimating:!1,this.Ve=void 0!==n.loadTilesWhileInteracting?n.loadTilesWhileInteracting:!1,this.cf=void 0!==n.pixelRatio?n.pixelRatio:vg,this.bf=t.logos,this.sa=function(){this.i=void 0;this.Zo.call(this,Date.now())}.bind(this),this.Ob=re(),this.df=re(),this.fc=0,this.a=null,this.Ua=lo(),this.D=this.L=this.P=null,this.f=document.createElement("DIV"),this.f.className="ol-viewport"+(aut?" ol-touch":""),this.f.style.position="relative",this.f.style.overflow="hidden",this.f.style.width="100%",this.f.style.height="100%",this.f.style.msTouchAction="none",this.f.style.touchAction="none",this.A=document.createElement("DIV"),this.A.className="ol-overlaycontainer",this.f.appendChild(this.A),this.u=document.createElement("DIV"),this.u.className="ol-overlaycontainer-stopevent",n="click dblclick mousedown touchstart mspointerdown pointerdown mousewheel wheel".split(" "),i=0,r=n.length;i<r;++i)f(this.u,n[i],llt);this.f.appendChild(this.u);this.Fa=new tft(this);for(u in hut)f(this.Fa,hut[u],this.Zg,this);this.na=t.keyboardEventTarget;this.v=null;f(this.f,"wheel",this.ad,this);f(this.f,"mousewheel",this.ad,this);this.l=t.controls;this.j=t.interactions;this.o=t.overlays;this.Mf={};this.C=new t.ap(this.f,this);this.U=null;this.Z=[];this.Ja=[];this.xa=new vk(this.Gk.bind(this),this.kl.bind(this));this.fa={};f(this,vf(ott),this.Tk,this);f(this,vf(ed),this.ll,this);f(this,vf(vet),this.hl,this);f(this,vf(stt),this.jl,this);this.I(t.values);this.l.forEach(function(n){n.setMap(this)},this);f(this.l,ll,function(n){n.element.setMap(this)},this);f(this.l,al,function(n){n.element.setMap(null)},this);this.j.forEach(function(n){n.setMap(this)},this);f(this.j,ll,function(n){n.element.setMap(this)},this);f(this.j,al,function(n){n.element.setMap(null)},this);this.o.forEach(this.wg,this);f(this.o,ll,function(n){this.wg(n.element)},this);f(this.o,al,function(n){var t=n.element.i;void 0!==t&&delete this.Mf[t.toString()];n.element.setMap(null)},this)}function kci(n){var o=null,f,u,t,i,r,s,e;for(void 0!==n.keyboardEventTarget&&(o="string"==typeof n.keyboardEventTarget?document.getElementById(n.keyboardEventTarget):n.keyboardEventTarget),f={},u={},void 0===n.logo||"boolean"==typeof n.logo&&n.logo?u["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/":(t=n.logo,"string"==typeof t?u[t]="":t instanceof HTMLElement?u[tt(t).toString()]=t:t&&(li("string"==typeof t.href,44),li("string"==typeof t.src,45),u[t.src]=t.href)),t=n.layers instanceof fi?n.layers:new fi({layers:n.layers}),f[ott]=t,f[stt]=n.target,f[ed]=void 0!==n.view?n.view:new ot,t=ev,void 0!==n.renderer?(Array.isArray(n.renderer)?i=n.renderer:"string"==typeof n.renderer?i=[n.renderer]:li(!1,46),0<=i.indexOf("dom")&&(i=i.concat(aet))):i=aet,r=0,s=i.length;r<s;++r)if(e=i[r],"canvas"==e){if(tyt){t=tb;break}}else if("webgl"==e&&lut){t=cet;break}return void 0!==n.controls?Array.isArray(n.controls)?i=new ft(n.controls.slice()):(li(n.controls instanceof ft,47),i=n.controls):i=kvt(),void 0!==n.interactions?Array.isArray(n.interactions)?r=new ft(n.interactions.slice()):(li(n.interactions instanceof ft,48),r=n.interactions):r=ept(),void 0!==n.overlays?Array.isArray(n.overlays)?n=new ft(n.overlays.slice()):(li(n.overlays instanceof ft,49),n=n.overlays):n=new ft,{controls:i,interactions:r,keyboardEventTarget:o,logos:u,overlays:n,ap:t,values:f}}function ki(n){oi.call(this);this.i=n.id;this.o=void 0!==n.insertFirst?n.insertFirst:!0;this.v=void 0!==n.stopEvent?n.stopEvent:!0;this.f=document.createElement("DIV");this.f.className="ol-overlay-container";this.f.style.position="absolute";this.autoPan=void 0!==n.autoPan?n.autoPan:!1;this.j=n.autoPanAnimation||{};this.l=void 0!==n.autoPanMargin?n.autoPanMargin:20;this.a={Xd:"",le:"",Je:"",Oe:"",visible:!0};this.c=null;f(this,vf(yet),this.Ok,this);f(this,vf(pet),this.Yk,this);f(this,vf(wet),this.bl,this);f(this,vf(htt),this.dl,this);f(this,vf(bet),this.el,this);void 0!==n.element&&this.pi(n.element);this.xi(void 0!==n.offset?n.offset:[0,0]);this.Ai(void 0!==n.positioning?n.positioning:gci);void 0!==n.position&&this.Ef(n.position)}function fgt(n,t){var i=n.getBoundingClientRect(),r=i.left+window.pageXOffset,i=i.top+window.pageYOffset;return[r,i,r+t[0],i+t[1]]}function egt(n,t){n.a.visible!==t&&(n.f.style.display=t?"":"none",n.a.visible=t)}function od(n){var t=n.oe(),i=n.qh();if(void 0!==t&&t.a&&void 0!==i){var i=t.Ga(i),e=t.nb(),t=n.f.style,f=n.Tg(),r=n.Ug(),u=f[0],f=f[1];r==hgt||r==lgt||r==tli?(""!==n.a.le&&(n.a.le=t.left=""),u=Math.round(e[0]-i[0]-u)+"px",n.a.Je!=u&&(n.a.Je=t.right=u)):(""!==n.a.Je&&(n.a.Je=t.right=""),(r==sgt||r==cgt||r==nli)&&(u-=n.f.offsetWidth/2),u=Math.round(i[0]+u)+"px",n.a.le!=u&&(n.a.le=t.left=u));r==ogt||r==sgt||r==hgt?(""!==n.a.Oe&&(n.a.Oe=t.top=""),i=Math.round(e[1]-i[1]-f)+"px",n.a.Xd!=i&&(n.a.Xd=t.bottom=i)):(""!==n.a.Xd&&(n.a.Xd=t.bottom=""),(r==dci||r==cgt||r==lgt)&&(f-=n.f.offsetHeight/2),i=Math.round(i[1]+f)+"px",n.a.Oe!=i&&(n.a.Oe=t.top=i));egt(n,!0)}else egt(n,!1)}function or(n){var i,t,u;n=n?n:{};this.j=void 0!==n.collapsed?n.collapsed:!0;this.l=void 0!==n.collapsible?n.collapsible:!0;this.l||(this.j=!1);var e=void 0!==n.className?n.className:"ol-overviewmap",r=void 0!==n.tipLabel?n.tipLabel:"Overview map",t=void 0!==n.collapseLabel?n.collapseLabel:"«";"string"==typeof t?(this.o=document.createElement("span"),this.o.textContent=t):this.o=t;t=void 0!==n.label?n.label:"»";"string"==typeof t?(this.u=document.createElement("span"),this.u.textContent=t):this.u=t;i=this.l&&!this.j?this.o:this.u;t=document.createElement("button");t.setAttribute("type","button");t.title=r;t.appendChild(i);f(t,"click",this.km,this);r=document.createElement("DIV");r.className="ol-overviewmap-map";u=this.f=new s({controls:new ft,interactions:new ft,target:r,view:n.view});n.layers&&n.layers.forEach(function(n){u.ug(n)},this);i=document.createElement("DIV");i.className="ol-overviewmap-box";i.style.boxSizing="border-box";this.A=new ki({position:[0,0],positioning:ogt,element:i});this.f.vg(this.A);i=document.createElement("div");i.className=e+" ol-unselectable ol-control"+(this.j&&this.l?" ol-collapsed":"")+(this.l?"":" ol-uncollapsible");i.appendChild(r);i.appendChild(t);ni.call(this,{element:i,render:n.render?n.render:agt,target:n.target})}function agt(){var n=this.a,t=this.f;if(n.a&&t.a){var r=n.nb(),n=n.aa().Uc(r),i=t.nb(),r=t.aa().Uc(i),u=t.Ga(sc(n)),f=t.Ga(nw(n)),t=Math.abs(u[0]-f[0]),u=Math.abs(u[1]-f[1]),f=i[0],i=i[1];t<.1*f||u<.1*i||t>.75*f||u>.75*i?ket(this):ys(r,n)||(n=this.f,r=this.a.aa(),n.aa().Mb(r.fb()))}vgt(this)}function ket(n){var t=n.a;n=n.f;var i=t.nb(),t=t.aa().Uc(i),i=n.nb();n=n.aa();ug(t,1/(.1*Math.pow(2,Math.log(7.5)/Math.LN2/2)));n.lf(t,i)}function vgt(n){var i=n.a,r=n.f;if(i.a&&r.a){var u=i.nb(),t=i.aa(),f=r.aa(),r=t.Ra(),i=n.A,o=n.A.be(),s=t.Uc(u),u=f.Oa(),t=ba(s),f=ey(s),e;(n=n.a.aa().fb())&&(e=[t[0]-n[0],t[1]-n[1]],bp(e,r),pp(e,n));i.Ef(e);o&&(o.style.width=Math.abs((t[0]-f[0])/u)+"px",o.style.height=Math.abs((f[1]-t[1])/u)+"px")}}function det(n){n.element.classList.toggle("ol-collapsed");n.j?ow(n.o,n.u):ow(n.u,n.o);n.j=!n.j;var t=n.f;n.j||t.a||(t.ld(),ket(n),sl(t,"postrender",function(){vgt(this)},n))}function br(n){n=n?n:{};var t=void 0!==n.className?n.className:"ol-scale-line";this.l=document.createElement("DIV");this.l.className=t+"-inner";this.f=document.createElement("DIV");this.f.className=t+" ol-unselectable";this.f.appendChild(this.l);this.u=null;this.o=void 0!==n.minWidth?n.minWidth:64;this.j=!1;this.C=void 0;this.A="";ni.call(this,{element:this.f,render:n.render?n.render:pgt,target:n.target});f(this,vf(get),this.L,this);this.D(n.units||bgt)}function pgt(n){this.u=(n=n.frameState)?n.viewState:null;wgt(this)}function wgt(n){var t=n.u,u,f;if(t){var i=t.projection,r=i.ic(),t=eg(i,t.resolution,t.center)*r,r=n.o*t,i="",u=n.Eb();for(u==ili?(i=gc.degrees,t/=i,r<i/60?(i="″",t*=3600):r<i?(i="′",t*=60):i="°"):u==rli?.9144>r?(i="in",t/=.0254):1609.344>r?(i="ft",t/=.3048):(i="mi",t/=1609.344):u==uli?(t/=1852,i="nm"):u==bgt?1>r?(i="mm",t*=1e3):1e3>r?i="m":(i="km",t/=1e3):u==fli?.9144>r?(i="in",t*=39.37):1609.344>r?(i="ft",t/=.30480061):(i="mi",t/=1609.3472):li(!1,33),u=3*Math.floor(Math.log(n.o*t)/Math.log(10));;){if(f=ygt[(u%3+3)%3]*Math.pow(10,Math.floor(u/3)),r=Math.round(f/t),isNaN(r)){n.f.style.display="none";n.j=!1;return}if(r>=n.o)break;++u}t=f+" "+i;n.A!=t&&(n.l.innerHTML=t,n.A=t);n.C!=r&&(n.l.style.width=r+"px",n.C=r);n.j||(n.f.style.display="",n.j=!0)}else n.j&&(n.f.style.display="none",n.j=!1)}function gu(n){var r,i,t;n=n?n:{};this.f=void 0;this.j=not;this.u=[];this.C=this.o=0;this.U=null;this.fa=!1;this.Z=void 0!==n.duration?n.duration:200;r=void 0!==n.className?n.className:"ol-zoomslider";i=document.createElement("button");i.setAttribute("type","button");i.className=r+"-thumb ol-unselectable";t=document.createElement("div");t.className=r+" ol-unselectable ol-control";t.appendChild(i);this.l=new ay(t);f(this.l,"pointerdown",this.Nk,this);f(this.l,"pointermove",this.Xg,this);f(this.l,"pointerup",this.Yg,this);f(t,"click",this.Mk,this);f(i,"click",llt);ni.call(this,{element:t,render:n.render?n.render:kgt})}function kgt(n){if(n.frameState){if(!this.fa){var t=this.element,u=t.offsetWidth,f=t.offsetHeight,i=t.firstElementChild,r=getComputedStyle(i),t=i.offsetWidth+parseFloat(r.marginRight)+parseFloat(r.marginLeft),i=i.offsetHeight+parseFloat(r.marginTop)+parseFloat(r.marginBottom);this.U=[t,i];u>f?(this.j=1,this.C=u-t):(this.j=not,this.o=f-i);this.fa=!0}n=n.frameState.viewState.resolution;n!==this.f&&(this.f=n,dgt(this,n))}}function dgt(n,t){var i,r;i=1-doi(n.a.aa())(t);r=n.element.firstElementChild;1==n.j?r.style.left=n.C*i+"px":r.style.top=n.o*i+"px"}function ggt(n,t){return koi(n.a.aa())(1-t)}function ff(n){n=n?n:{};this.f=n.extent?n.extent:null;var r=void 0!==n.className?n.className:"ol-zoom-extent",t=void 0!==n.label?n.label:"E",u=void 0!==n.tipLabel?n.tipLabel:"Fit to extent",i=document.createElement("button");i.setAttribute("type","button");i.title=u;i.appendChild("string"==typeof t?document.createTextNode(t):t);f(i,"click",this.j,this);t=document.createElement("div");t.className=r+" ol-unselectable ol-control";t.appendChild(i);ni.call(this,{element:t,target:n.target})}function kr(n){oi.call(this);n=n?n:{};this.a=null;f(this,vf(iot),this.Kl,this);this.Cf(void 0!==n.tracking?n.tracking:!1)}function ut(n){oi.call(this);this.f=void 0;this.a="geometry";this.i=null;this.j=void 0;this.c=null;f(this,vf(this.a),this.he,this);void 0!==n&&(n instanceof bi||!n?this.Pa(n):this.I(n))}function eli(n){if("function"!=typeof n){var t;Array.isArray(n)?t=n:(li(n instanceof pr,41),t=[n]);n=function(){return t}}return n}function hf(n,t){return rp.createElementNS(n,t)}function ps(n,t){return rnt(n,t,[]).join("")}function rnt(n,t,i){if(n.nodeType==Node.CDATA_SECTION_NODE||n.nodeType==Node.TEXT_NODE)t?i.push(String(n.nodeValue).replace(/(\r\n|\r|\n)/g,"")):i.push(n.nodeValue);else for(n=n.firstChild;n;n=n.nextSibling)rnt(n,t,i);return i}function dl(n){return n instanceof Document}function gl(n){return n instanceof Node}function vc(n){return(new DOMParser).parseFromString(n,"application/xml")}function unt(n,t){return function(i,r){var u=n.call(t,i,r);void 0!==u&&cf(r[r.length-1],u)}}function iu(n,t){return function(i,r){var u=n.call(void 0!==t?t:this,i,r);void 0!==u&&r[r.length-1].push(u)}}function ef(n,t){return function(i,r){var u=n.call(void 0!==t?t:this,i,r);void 0!==u&&(r[r.length-1]=u)}}function gf(n){return function(t,i){var f=n.call(this,t,i),r,u,e;void 0!==f&&(r=i[i.length-1],u=t.localName,e=u in r?r[u]:r[u]=[],e.push(f))}}function r(n,t){return function(i,r){var u=n.call(this,i,r);void 0!==u&&(r[r.length-1][void 0!==t?t:i.localName]=u)}}function u(n,t){return function(i,r,u){n.call(void 0!==t?t:this,i,r,u);u[u.length-1].node.appendChild(i)}}function fnt(n){var t,i;return function(r,u,f){if(!t){t={};var e={};e[r.localName]=n;t[r.namespaceURI]=e;i=bf(r.localName)}ent(t,i,u,f)}}function bf(n,t){return function(i,r,u){return i=r[r.length-1].node,r=n,void 0===r&&(r=u),u=t,void 0===t&&(u=i.namespaceURI),hf(u,r)}}function yc(n,t){for(var r=t.length,u=Array(r),i=0;i<r;++i)u[i]=n[t[i]];return u}function e(n,t,i){i=void 0!==i?i:{};for(var r=0,u=n.length;r<u;++r)i[n[r]]=t;return i}function fh(n,t,i,r){for(t=t.firstElementChild;t;t=t.nextElementSibling){var u=n[t.namespaceURI];void 0!==u&&(u=u[t.localName])&&u.call(r,t,i)}}function o(n,t,i,r,u){return r.push(n),fh(t,i,r,u),r.pop()}function ent(n,t,i,r,u,f){for(var h=(void 0!==u?u:i).length,o,e,s=0;s<h;++s)o=i[s],void 0!==o&&(e=t.call(f,o,r,void 0!==u?u[s]:void 0),void 0!==e&&n[e.namespaceURI][e.localName].call(f,e,o,r))}function ur(n,t,i,r,u,f,e){u.push(n);ent(t,i,r,u,f,e);u.pop()}function ont(n,t,i,r){return function(u,f,e){var o=new XMLHttpRequest;o.open("GET","function"==typeof n?n(u,f,e):n,!0);"arraybuffer"==t.Y()&&(o.responseType="arraybuffer");o.onload=function(){if(!o.status||200<=o.status&&300>o.status){var u=t.Y(),n;"json"==u||"text"==u?n=o.responseText:"xml"==u?(n=o.responseXML)||(n=vc(o.responseText)):"arraybuffer"==u&&(n=o.response);n?i.call(this,t.La(n,{featureProjection:e}),t.Wa(n)):r.call(this)}else r.call(this)}.bind(this);o.send()}}function snt(n,t){return ont(n,t,function(n){this.Tc(n)},ve)}function ws(){this.j=this.defaultDataProjection=null}function tc(n,t,i){var r;return i&&(r={dataProjection:i.dataProjection?i.dataProjection:n.Wa(t),featureProjection:i.featureProjection}),fo(n,r)}function fo(n,t){return er({dataProjection:n.defaultDataProjection,featureProjection:n.j},t)}function fe(n,t,i){var r=i?ai(i.featureProjection):null,u=i?ai(i.dataProjection):null,f,e;return f=r&&u&&!vh(r,u)?n instanceof bi?(t?n.clone():n).ob(t?r:u,t?u:r):rw(t?n.slice():n,t?r:u,t?u:r):n,t&&i&&i.decimals&&(e=Math.pow(10,i.decimals),n=function(n){for(var t=0,i=n.length;t<i;++t)n[t]=Math.round(n[t]*e)/e;return n},Array.isArray(f)?n(f):f.sc(n)),f}function sd(){ws.call(this)}function ctt(n){return"string"==typeof n?(n=JSON.parse(n))?n:null:null!==n?n:null}function hnt(n,t,i,r,u,f){var o=NaN,s=NaN,e=(i-t)/r;if(0!==e)if(1==e)o=n[t],s=n[t+1];else if(2==e)o=(1-u)*n[t]+u*n[t+r],s=(1-u)*n[t+1]+u*n[t+r+1];else{for(var s=n[t],e=n[t+1],h=0,o=[0],c=t+r;c<i;c+=r){var l=n[c],a=n[c+1],h=h+Math.sqrt((l-s)*(l-s)+(a-e)*(a-e));o.push(h);s=l;e=a}for(i=u*h,e=0,h=o.length,c=!1;e<h;)u=e+(h-e>>1),s=+iy(o[u],i),0>s?e=u+1:(h=u,c=!s);u=c?e:~e;0>u?(i=(i-o[-u-2])/(o[-u-1]-o[-u-2]),t+=(-u-2)*r,o=dd(n[t],n[t+r],i),s=dd(n[t+1],n[t+r+1],i)):(o=n[t+u*r],s=n[t+u*r+1])}return f?(f[0]=o,f[1]=s,f):[o,s]}function rot(n,t,i,r,u,f){if(i==t)return null;if(u<n[t+r-1])return f?(i=n.slice(t,t+r),i[r-1]=u,i):null;if(n[i-1]<u)return f?(i=n.slice(i-r,i),i[r-1]=u,i):null;if(u==n[t+r-1])return n.slice(t,t+r);for(t/=r,i/=r;t<i;)f=t+i>>1,u<n[(f+1)*r-1]?i=f:t=f+1;if(i=n[t*r-1],u==i)return n.slice((t-1)*r,(t-1)*r+r);f=(u-i)/(n[(t+1)*r-1]-i);i=[];for(var e=0;e<r-1;++e)i.push(dd(n[(t-1)*r+e],n[t*r+e],f));return i.push(u),i}function oli(n,t,i,r,u,f){var e=0,o;if(f)return rot(n,e,t[t.length-1],i,r,u);if(r<n[i-1])return u?(n=n.slice(0,i),n[i-1]=r,n):null;if(n[n.length-1]<r)return u?(n=n.slice(n.length-i),n[i-1]=r,n):null;for(u=0,f=t.length;u<f;++u)if(o=t[u],e!=o){if(r<n[e+i-1])break;if(r<=n[o-1])return rot(n,e,o,i,r,!1);e=o}return null}function l(n,t){et.call(this);this.c=null;this.A=this.C=this.l=-1;this.qa(n,t)}function cnt(n){return n.l!=n.g&&(n.c=n.Kg(.5,n.c),n.l=n.g),n.c}function y(n,t){et.call(this);this.c=[];this.l=this.A=-1;this.qa(n,t)}function lnt(n){var u=[],o=n.B,t=0,f=n.c,i,e,r;for(n=n.a,i=0,e=f.length;i<e;++i)r=f[i],t=hnt(o,t,r,n,.5),cf(u,t),t=r;return u}function ltt(n,t){for(var f=n.ka,r=[],e=[],u,i=0,o=t.length;i<o;++i)u=t[i],0===i&&(f=u.ka),cf(r,u.ia()),e.push(r.length);n.da(f,r,e)}function it(n,t){et.call(this);this.qa(n,t)}function w(n,t){et.call(this);this.c=[];this.A=-1;this.C=null;this.P=this.D=this.L=-1;this.l=null;this.qa(n,t)}function uot(n){var i,t,e;if(n.A!=n.g){for(var o=n.B,f=n.c,s=n.a,t=0,h=[],r=0,u=f.length;r<u;++r)i=f[r],t=dit(o,t,i[0],s),h.push((t[0]+t[2])/2,(t[1]+t[3])/2),t=i[i.length-1];for(o=bv(n),f=n.c,s=n.a,r=0,u=[],i=0,t=f.length;i<t;++i)e=f[i],u=aat(o,r,e,s,h,2*i,u),r=e[e.length-1];n.C=u;n.A=n.g}return n.C}function bv(n){var i,t,r,u;if(n.P!=n.g){i=n.B;n:{for(t=n.c,r=0,u=t.length;r<u;++r)if(!pat(i,t[r],n.a,void 0)){t=!1;break n}t=!0}t?n.l=i:(n.l=i.slice(),n.l.length=wat(n.l,n.c,n.a));n.P=n.g}return n.l}function att(n,t,i,r){cl(n,t,i);n.c=r;n.s()}function fot(n,t){for(var o=n.ka,e=[],s=[],r,u,c,f,l,i=0,h=t.length;i<h;++i){for(u=t[i],0===i&&(o=u.ka),c=e.length,r=u.Kb(),f=0,l=r.length;f<l;++f)r[f]+=c;cf(e,u.ia());s.push(r)}att(n,o,e,s)}function ee(n){n=n?n:{};ws.call(this);this.b=n.geometryName}function ant(n,t){var r,i,s,o;if(!n)return null;if("number"==typeof n.x&&"number"==typeof n.y)r="Point";else if(n.points)r="MultiPoint";else if(n.paths)r=1===n.paths.length?"LineString":"MultiLineString";else if(n.rings){var u=n.rings,e=eb(n),f=[];for(r=[],i=0,s=u.length;i<s;++i)o=vlt(u[i]),sy(o,0,o.length,e.length)?f.push([u[i]]):r.push(u[i]);for(;r.length;){for(u=r.shift(),e=!1,i=f.length-1;0<=i;i--)if(ys(new yt(f[i][0]).G(),new yt(u).G())){f[i].push(u);e=!0;break}e||f.push([u.reverse()])}n=er({},n);1===f.length?(r="Polygon",n.rings=f[0]):(r="MultiPolygon",n.rings=f)}return fe(vnt[r](n),!1,t)}function eb(n){var t="XY";return!0===n.hasZ&&!0===n.hasM?t="XYZM":!0===n.hasZ?t="XYZ":!0===n.hasM&&(t="XYM"),t}function hd(n){return n=n.ka,{hasZ:"XYZ"===n||"XYZM"===n,hasM:"XYM"===n||"XYZM"===n}}function pnt(n,t){return ynt[n.Y()](fe(n,!0,t),t)}function cd(n){this.Nb=n}function eot(n){this.Nb=n}function ld(n,t,i){this.Nb=n;this.b=t;this.a=i}function oot(n,t){ld.call(this,"And",n,t)}function sot(n,t,i){this.Nb="BBOX";this.geometryName=n;this.extent=t;this.srsName=i}function na(n,t){this.Nb=n;this.b=t}function eh(n,t,i,r){na.call(this,n,t);this.g=i;this.a=r}function hot(n,t,i){eh.call(this,"PropertyIsEqualTo",n,t,i)}function cot(n,t){eh.call(this,"PropertyIsGreaterThan",n,t)}function lot(n,t){eh.call(this,"PropertyIsGreaterThanOrEqualTo",n,t)}function ob(n,t,i,r){this.Nb=n;this.geometryName=t||"the_geom";this.geometry=i;this.srsName=r}function aot(n,t,i){ob.call(this,"Intersects",n,t,i)}function vot(n,t,i){na.call(this,"PropertyIsBetween",n);this.a=t;this.g=i}function yot(n,t,i,r,u,f){na.call(this,"PropertyIsLike",n);this.f=t;this.i=void 0!==i?i:"*";this.c=void 0!==r?r:".";this.g=void 0!==u?u:"!";this.a=f}function pot(n){na.call(this,"PropertyIsNull",n)}function wot(n,t){eh.call(this,"PropertyIsLessThan",n,t)}function bot(n,t){eh.call(this,"PropertyIsLessThanOrEqualTo",n,t)}function kot(n){this.Nb="Not";this.condition=n}function dot(n,t,i){eh.call(this,"PropertyIsNotEqualTo",n,t,i)}function got(n,t){ld.call(this,"Or",n,t)}function nst(n,t,i){ob.call(this,"Within",n,t,i)}function wnt(n,t){return new oot(n,t)}function bnt(n,t,i){return new sot(n,t,i)}function bt(n){bi.call(this);this.f=n?n:null;ist(this)}function knt(n){for(var i=[],t=0,r=n.length;t<r;++t)i.push(n[t].clone());return i}function tst(n){var t,i;if(n.f)for(t=0,i=n.f.length;t<i;++t)uc(n.f[t],"change",n.s,n)}function ist(n){var t,i;if(n.f)for(t=0,i=n.f.length;t<i;++t)f(n.f[t],"change",n.s,n)}function oe(n){n=n?n:{};ws.call(this);this.defaultDataProjection=ai(n.defaultDataProjection?n.defaultDataProjection:"EPSG:4326");n.featureProjection&&(this.j=ai(n.featureProjection));this.b=n.geometryName}function rst(n,t){return n?fe(dnt[n.type](n),!1,t):null}function ust(n,t){return gnt[n.Y()](fe(n,!0,t),t)}function oh(){this.f=new XMLSerializer;ws.call(this)}function nti(n,t,i){return n=fst(n,t,i),0<n.length?n[0]:null}function fst(n,t,i){var r=[];for(t=t.firstChild;t;t=t.nextSibling)t.nodeType==Node.ELEMENT_NODE&&cf(r,n.oc(t,i));return r}function eu(n){n=n?n:{};this.featureType=n.featureType;this.featureNS=n.featureNS;this.srsName=n.srsName;this.schemaLocation="";this.b={};this.b["http://www.opengis.net/gml"]={featureMember:ef(eu.prototype.Id),featureMembers:ef(eu.prototype.Id)};oh.call(this)}function up(n){return n=ps(n,!1),fp(n)}function fp(n){if(n=/^\s*(true|1)|(false|0)\s*$/.exec(n))return void 0!==n[1]||!1}function est(n){return n=ps(n,!1),n=Date.parse(n),isNaN(n)?void 0:n/1e3}function sf(n){return n=ps(n,!1),aa(n)}function aa(n){if(n=/^\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)\s*$/i.exec(n))return parseFloat(n[1])}function wo(n){return n=ps(n,!1),rl(n)}function rl(n){if(n=/^\s*(\d+)\s*$/.exec(n))return parseInt(n[1],10)}function h(n){return ps(n,!1).trim()}function iti(n,t){ou(n,t?"1":"0")}function sh(n,t){n.appendChild(rp.createTextNode(t.toPrecision()))}function vtt(n,t){n.appendChild(rp.createTextNode(t.toString()))}function ou(n,t){n.appendChild(rp.createTextNode(t))}function st(n){n=n?n:{};eu.call(this,n);this.v=void 0!==n.surface?n.surface:!1;this.i=void 0!==n.curve?n.curve:!1;this.l=void 0!==n.multiCurve?n.multiCurve:!0;this.o=void 0!==n.multiSurface?n.multiSurface:!0;this.schemaLocation=n.schemaLocation?n.schemaLocation:"http://www.opengis.net/gml http://schemas.opengis.net/gml/3.1.1/profiles/gmlsfProfile/1.0.0/gmlsf.xsd"}function rti(n,t,i){var s,f;i=i[i.length-1].srsName;t=t.$();for(var e=t.length,o=Array(e),r,u=0;u<e;++u)r=t[u],s=u,f="enu",i&&(f=ai(i).b),o[s]="en"===f.substr(0,2)?r[0]+" "+r[1]:r[1]+" "+r[0];ou(n,o.join(" "))}function ul(n){n=n?n:{};eu.call(this,n);this.b["http://www.opengis.net/gml"].featureMember=iu(eu.prototype.Id);this.schemaLocation=n.schemaLocation?n.schemaLocation:"http://www.opengis.net/gml http://schemas.opengis.net/gml/2.1.2/feature.xsd"}function bs(n){n=n?n:{};oh.call(this);this.defaultDataProjection=ai("EPSG:4326");this.b=n.readExtensions}function ost(n,t,i,r){return n.push(parseFloat(i.getAttribute("lon")),parseFloat(i.getAttribute("lat"))),"ele"in r?(n.push(r.ele),delete r.ele,t.hasZ=!0):n.push(0),"time"in r?(n.push(r.time),delete r.time,t.hasM=!0):n.push(0),n}function sst(n,t,i){var f="XY",u=2,r,e;if(n.hasZ&&n.hasM?(f="XYZM",u=4):n.hasZ?(f="XYZ",u=3):n.hasM&&(f="XYM",u=3),4!==u){for(r=0,e=t.length/4;r<e;r++)t[r*u]=t[4*r],t[r*u+1]=t[4*r+1],n.hasZ&&(t[r*u+2]=t[4*r+2]),n.hasM&&(t[r*u+2]=t[4*r+3]);if(t.length=t.length/4*u,i)for(r=0,e=i.length;r<e;r++)i[r]=i[r]/4*u}return f}function hst(n,t){var r=t[t.length-1],i=n.getAttribute("href");null!==i&&(r.link=i);fh(wli,n,t)}function cst(n,t){t[t.length-1].extensionsNode_=n}function fti(n,t){var u=t[0],i=o({flatCoordinates:[],layoutOptions:{}},bli,n,t),e,r,f;if(i)return e=i.flatCoordinates,delete i.flatCoordinates,r=i.layoutOptions,delete i.layoutOptions,r=sst(r,e),f=new l(null),f.da(r,e),fe(f,!1,u),u=new ut(f),u.I(i),u}function eti(n,t){var u=t[0],i=o({flatCoordinates:[],ends:[],layoutOptions:{}},dli,n,t),e,s,r,f;if(i)return e=i.flatCoordinates,delete i.flatCoordinates,s=i.ends,delete i.ends,r=i.layoutOptions,delete i.layoutOptions,r=sst(r,e,s),f=new y(null),f.da(r,e,s),fe(f,!1,u),u=new ut(f),u.I(i),u}function oti(n,t){var r=t[0],f=o({},tai,n,t);if(f){var u={},i=ost([],u,n,f),u=sst(u,i),i=new a(i,u);return fe(i,!1,r),r=new ut(i),r.I(f),r}}function sti(n,t){var i,u,r,f;for(t||(t=[]),i=0,u=t.length;i<u;++i)r=t[i],n.b&&(f=r.get("extensionsNode_")||null,n.b(r,f)),r.set("extensionsNode_",void 0)}function lst(n,t,i){n.setAttribute("href",t);t=i[i.length-1].properties;ur({node:n},rai,os,[t.linkText,t.linkType],i,iai)}function ast(n,t,i){var r=i[i.length-1],f=r.node.namespaceURI,u=r.properties;n.setAttributeNS(null,"lat",t[1]);n.setAttributeNS(null,"lon",t[0]);switch(r.geometryLayout){case"XYZM":0!==t[3]&&(u.time=t[3]);case"XYZ":0!==t[2]&&(u.ele=t[2]);break;case"XYM":0!==t[2]&&(u.time=t[2])}t="rtept"==n.nodeName?eai[f]:lai[f];r=yc(u,t);ur({node:n,properties:u},aai,os,r,i,t)}function yai(n,t){var i=n.V();if(i&&(i=vai[i.Y()]))return hf(t[t.length-1].node.namespaceURI,i)}function ad(){ws.call(this)}function vst(n){return"string"==typeof n?n:""}function ta(n){n=n?n:{};ws.call(this);this.defaultDataProjection=ai("EPSG:4326");this.b=n.altitudeMode?n.altitudeMode:yst}function vd(n,t,i,r,u,f){oo.call(this);this.l=null;this.a=n?n:new Image;null!==r&&(this.a.crossOrigin=r);this.c=f?document.createElement("CANVAS"):null;this.j=f;this.i=null;this.f=u;this.g=i;this.o=t;this.v=!1;this.f==no&&cti(this)}function cti(n){var t=ie(1,1);try{t.drawImage(n.a,0,0);t.getImageData(0,0,1,1)}catch(i){n.v=!0}}function ru(n){var o;n=n||{};this.c=void 0!==n.anchor?n.anchor:[.5,.5];this.j=null;this.a=void 0!==n.anchorOrigin?n.anchorOrigin:ptt;this.C=void 0!==n.anchorXUnits?n.anchorXUnits:kv;this.D=void 0!==n.anchorYUnits?n.anchorYUnits:kv;this.ra=void 0!==n.crossOrigin?n.crossOrigin:null;var i=void 0!==n.img?n.img:null,e=void 0!==n.imgSize?n.imgSize:null,t=n.src;li(!(void 0!==t&&i),4);li(!i||i&&e,5);(void 0===t||0===t.length)&&i&&(t=i.src||tt(i).toString());li(void 0!==t&&0<t.length,6);o=void 0!==n.src?il:no;this.f=void 0!==n.color?ly(n.color):null;var u=this.ra,f=this.f,r=fv.get(t,u,f);r||(r=new vd(i,t,e,u,o,f),fv.set(t,u,f,r));this.b=r;this.L=void 0!==n.offset?n.offset:[0,0];this.g=void 0!==n.offsetOrigin?n.offsetOrigin:ptt;this.v=null;this.A=void 0!==n.size?n.size:null;he.call(this,{opacity:void 0!==n.opacity?n.opacity:1,rotation:void 0!==n.rotation?n.rotation:0,scale:void 0!==n.scale?n.scale:1,snapToPixel:void 0!==n.snapToPixel?n.snapToPixel:!0,rotateWithView:void 0!==n.rotateWithView?n.rotateWithView:!1})}function nr(n){n=n||{};this.g=n.font;this.j=n.rotation;this.v=n.rotateWithView;this.a=n.scale;this.H=n.text;this.l=n.textAlign;this.o=n.textBaseline;this.b=void 0!==n.fill?n.fill:new po({color:"#333"});this.f=void 0!==n.stroke?n.stroke:null;this.c=void 0!==n.offsetX?n.offsetX:0;this.i=void 0!==n.offsetY?n.offsetY:0}function ae(n){n=n?n:{};oh.call(this);pst||(sb=[255,255,255,1],wtt=new po({color:sb}),wst=[20,2],kst=bst="pixels",btt=[64,64],pd="https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png",dst=.5,gst=new ru({anchor:wst,anchorOrigin:yd,anchorXUnits:bst,anchorYUnits:kst,crossOrigin:"anonymous",rotation:0,scale:dst,size:btt,src:pd}),nht="NO_IMAGE",tht=new lu({color:sb,width:1}),iht=new lu({color:[51,51,51,1],width:2}),ep=new nr({font:"bold 16px Helvetica",fill:wtt,stroke:iht,scale:.8}),ati=new pr({fill:wtt,image:gst,text:ep,stroke:tht,zIndex:0}),pst=[ati]);this.defaultDataProjection=ai("EPSG:4326");this.g=n.defaultStyle?n.defaultStyle:pst;this.c=void 0!==n.extractStyles?n.extractStyles:!0;this.l=void 0!==n.writeStyles?n.writeStyles:!0;this.b={};this.i=void 0!==n.showPointNames?n.showPointNames:!0}function rht(n,t){var i,f=[0,0],u="start",r;return n.a&&(i=n.a.de(),null===i&&(i=btt),2==i.length&&(u=n.a.i,f[0]=u*i[0]/2,f[1]=-u*i[1]/2,u="left")),null!==n.Ka()?(r=n.Ka(),i=r.clone(),i.si(r.g||ep.g),i.Th(r.a||ep.a),i.Sh(r.b||ep.b),i.Uh(r.f||iht)):i=ep.clone(),i.Vh(t),i.yi(f[0]),i.zi(f[1]),i.Bi(u),new pr({text:i})}function nvi(n,t,i,r,u){return function(){var f=u,e="",o;return(f&&this.V()&&(f="Point"===this.V().Y()),f&&(e=this.get("name"),f=f&&e),n)?f?(f=rht(n[0],e),n.concat(f)):n:t?(o=yti(t,i,r),f?(f=rht(o[0],e),o.concat(f)):o):f?(f=rht(i[0],e),i.concat(f)):i}}function yti(n,t,i){return Array.isArray(n)?n:"string"==typeof n?(!(n in i)&&"#"+n in i&&(n="#"+n),yti(i[n],t,i)):t}function uht(n){return n=ps(n,!1),(n=/^\s*#?\s*([0-9A-Fa-f]{8})\s*$/.exec(n))?(n=n[1],[parseInt(n.substr(6,2),16),parseInt(n.substr(4,2),16),parseInt(n.substr(2,2),16),parseInt(n.substr(0,2),16)/255]):void 0}function pti(n){n=ps(n,!1);for(var i=[],t;t=/^\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)\s*,\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)(?:\s*,\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?))?\s*/i.exec(n);)i.push(parseFloat(t[1]),parseFloat(t[2]),t[3]?parseFloat(t[3]):0),n=n.substr(t[0].length);if(""===n)return i}function ktt(n){var t=ps(n,!1).trim();return n.baseURI?new URL(t,n.baseURI).href:t}function wti(n){return sf(n)}function bti(n,t){return o(null,fvi,n,t)}function kti(n,t){var i=o({B:[],Mi:[]},ovi,n,t),u,r,f;if(i){for(u=i.B,i=i.Mi,r=0,f=Math.min(u.length,i.length);r<f;++r)u[4*r+3]=i[r];return i=new l(null),i.da("XYZM",u),i}}function dti(n,t){var u=o({},dtt,n,t),r=o(null,oht,n,t),i;if(r)return i=new l(null),i.da("XYZ",r),i.I(u),i}function gti(n,t){var u=o({},dtt,n,t),r=o(null,oht,n,t),i;if(r)return i=new c(null),i.da("XYZ",r,[r.length]),i.I(u),i}function nii(n,t){var i=o([],vvi,n,t),r,e,u,s,f,h;if(!i)return null;if(0===i.length)return new bt(i);for(e=!0,u=i[0].Y(),f=1,h=i.length;f<h;++f)if(s=i[f],s.Y()!=u){e=!1;break}if(e)if("Point"==u){for(r=i[0],e=r.ka,u=r.ia(),f=1,h=i.length;f<h;++f)s=i[f],cf(u,s.ia());r=new it(null);r.da(e,u);eht(r,i)}else"LineString"==u?(r=new y(null),ltt(r,i),eht(r,i)):"Polygon"==u?(r=new w(null),fot(r,i),eht(r,i)):"GeometryCollection"==u?r=new bt(i):li(!1,37);else r=new bt(i);return r}function tii(n,t){var u=o({},dtt,n,t),r=o(null,oht,n,t),i;if(r)return i=new a(null),i.da("XYZ",r),i.I(u),i}function iii(n,t){var h=o({},dtt,n,t),i=o([null],evi,n,t);if(i&&i[0]){for(var f=new c(null),r=i[0],e=[r.length],u=1,s=i.length;u<s;++u)cf(r,i[u]),e.push(r.length);return f.da("XYZ",r,e),f.I(h),f}}function fht(n,t){var i=o({},tyi,n,t),u,r;if(!i)return null;u="fillStyle"in i?i.fillStyle:wtt;r=i.fill;void 0===r||r||(u=null);r="imageStyle"in i?i.imageStyle:gst;r==nht&&(r=void 0);var e="textStyle"in i?i.textStyle:ep,f="strokeStyle"in i?i.strokeStyle:tht,i=i.outline;return void 0===i||i||(f=null),[new pr({fill:u,image:r,stroke:f,text:e,zIndex:void 0})]}function eht(n,t){for(var s=t.length,f=Array(t.length),e=Array(t.length),o,u,r=u=!1,i=0;i<s;++i)o=t[i],f[i]=o.get("extrude"),e[i]=o.get("altitudeMode"),r=r||void 0!==f[i],u=u||e[i];r&&n.set("extrude",f);u&&n.set("altitudeMode",e)}function rii(n,t){fh(ivi,n,t)}function uii(n,t){fh(fii,n,t)}function oii(n,t){for(var r,i=t.firstChild;i;i=i.nextSibling)if(i.nodeType==Node.ELEMENT_NODE&&(r=sht(n,i),r))return r}function sht(n,t){for(var r,i=t.firstElementChild;i;i=i.nextElementSibling)if(co(ci,i.namespaceURI)&&"name"==i.localName)return h(i);for(i=t.firstElementChild;i;i=i.nextElementSibling)if(r=i.localName,co(ci,i.namespaceURI)&&("Document"==r||"Folder"==r||"Placemark"==r||"kml"==r)&&(r=sht(n,i)))return r}function sii(n,t){for(var r=[],i=t.firstChild;i;i=i.nextSibling)i.nodeType==Node.ELEMENT_NODE&&cf(r,hht(n,i));return r}function hht(n,t){for(var u=[],r,i=t.firstElementChild;i;i=i.nextElementSibling)co(ci,i.namespaceURI)&&"NetworkLink"==i.localName&&(r=o({},pvi,i,[]),u.push(r));for(i=t.firstElementChild;i;i=i.nextElementSibling)r=i.localName,co(ci,i.namespaceURI)&&("Document"==r||"Folder"==r||"kml"==r)&&cf(u,hht(n,i));return u}function hii(n,t){for(var r=[],i=t.firstChild;i;i=i.nextSibling)i.nodeType==Node.ELEMENT_NODE&&cf(r,n.Ie(i));return r}function cht(n,t){for(var i=ly(t),i=[255*(4==i.length?i[3]:1),i[2],i[1],i[0]],u,r=0;4>r;++r)u=parseInt(i[r],10).toString(16),i[r]=1==u.length?"0"+u:u;ou(n,i.join(""))}function cii(n,t,i){n={node:n};var f=t.Y(),r,u;"GeometryCollection"==f?(r=t.pf(),u=kii):"MultiPoint"==f?(r=t.re(),u=fpi):"MultiLineString"==f?(r=t.Yc(),u=epi):"MultiPolygon"==f?(r=t.Ad(),u=spi):li(!1,39);ur(n,vyi,u,r,i)}function lii(n,t,i){ur({node:n},ayi,opi,[t],i)}function aii(n,t,i){var u={node:n},f,r,e;t.f&&n.setAttribute("id",t.f);n=t.R();f={address:1,description:1,name:1,open:1,phoneNumber:1,styleUrl:1,visibility:1};f[t.a]=1;r=Object.keys(n||{}).sort().filter(function(n){return!f[n]});0<r.length&&(e=yc(n,r),ur(u,lht,rpi,[{names:r,values:e}],i));(r=t.Gc())&&(r=r.call(t,0))&&(r=Array.isArray(r)?r[0]:r,this.l&&(n.Style=r),(r=r.Ka())&&(n.name=r.Ka()));r=yyi[i[i.length-1].node.namespaceURI];n=yc(n,r);ur(u,lht,os,n,i,r);n=i[0];(t=t.V())&&(t=fe(t,!0,n));ur(u,lht,kii,[t],i)}function hb(n,t,i){var r=t.ia();n={node:n};n.layout=t.ka;n.stride=t.pa();ur(n,pyi,tpi,[r],i)}function vii(n,t,i){t=t.Zc();var r=t.shift();n={node:n};ur(n,bii,upi,t,i);ur(n,bii,hpi,[r],i)}function yii(n,t){sh(n,Math.round(1e6*t)/1e6)}function dyi(n,t,i){return hf(va[0],"gx:"+i)}function gyi(n,t){return hf(t[t.length-1].node.namespaceURI,"Placemark")}function kii(n,t){if(n)return hf(t[t.length-1].node.namespaceURI,fyi[n.Y()])}function ks(n,t,i,r){this.g=n;this.b=t;this.c=i;this.f=r}function pc(n){ws.call(this);n=n?n:{};this.defaultDataProjection=new yf({code:"",units:"tile-pixels"});this.b=n.featureClass?n.featureClass:ks;this.g=n.geometryName?n.geometryName:"geometry";this.a=n.layerName?n.layerName:"layer";this.f=n.layers?n.layers:null}function dii(n,t,i){for(var f,r,s,e,o=0,u=0,h=n.length;u<h;++u){for(f=n[u],r=0,s=f.length;r<s;++r)e=f[r],t.push(e.x,e.y);o+=2*r;i.push(o)}}function op(){oh.call(this);this.defaultDataProjection=ai("EPSG:4326")}function gii(n,t){t[t.length-1].Nd[n.getAttribute("k")]=n.getAttribute("v")}function cb(n){return n.getAttributeNS("http://www.w3.org/1999/xlink","href")}function nit(){}function tit(){}function nri(n,t,i,r){for(var e,u=void 0!==r?r:[],f=r=0;f<t;)for(e=n[f++],u[r++]=n[f++],u[r++]=e,e=2;e<i;++e)u[r++]=n[f++];u.length=r}function ic(n){n=n?n:{};ws.call(this);this.defaultDataProjection=ai("EPSG:4326");this.b=n.factor?n.factor:1e5;this.a=n.geometryLayout?n.geometryLayout:"XY"}function tri(n,t,i){for(var f=Array(t),u,o,e,s,r=0;r<t;++r)f[r]=0;for(u=0,o=n.length;u<o;)for(r=0;r<t;++r,++u)e=n[u],s=e-f[r],f[r]=e,n[u]=s;return rri(n,i?i:1e5)}function iri(n,t,i){for(var u=Array(t),f,r=0;r<t;++r)u[r]=0;for(n=uri(n,i?i:1e5),i=0,f=n.length;i<f;)for(r=0;r<t;++r,++i)u[r]+=n[i],n[i]=u[r];return n}function rri(n,t){for(var r=t?t:1e5,f,o,e,i=0,u=n.length;i<u;++i)n[i]=Math.round(n[i]*r);for(r=0,i=n.length;r<i;++r)u=n[r],n[r]=0>u?~(u<<1):u<<1;for(r="",i=0,u=n.length;i<u;++i){for(f=n[i],e="";32<=f;)o=(32|f&31)+63,e+=String.fromCharCode(o),f>>=5;e+=String.fromCharCode(f+63);r+=e}return r}function uri(n,t){for(var s=t?t:1e5,u=[],i=0,f=0,e,r=0,o=n.length;r<o;++r)e=n.charCodeAt(r)-63,i=i|(e&31)<<f,32>e?(u.push(i),f=i=0):f+=5;for(i=0,f=u.length;i<f;++i)r=u[i],u[i]=r&1?~(r>>1):r>>1;for(i=0,f=u.length;i<f;++i)u[i]/=s;return u}function dv(n){n=n?n:{};ws.call(this);this.defaultDataProjection=ai(n.defaultDataProjection?n.defaultDataProjection:"EPSG:4326")}function iit(n,t){for(var r=[],i,f,u=0,e=n.length;u<e;++u)i=n[u],0<u&&r.pop(),f=0<=i?t[i]:t[~i].slice().reverse(),r.push.apply(r,f);for(i=0,f=r.length;i<f;++i)r[i]=r[i].slice();return r}function ewi(n,t,i,r,u){n=n.geometries;for(var e=[],f=0,o=n.length;f<o;++f)e[f]=fri(n[f],t,i,r,u);return e}function fri(n,t,i,r,u){var f=n.type,e=eri[f];return t="Point"===f||"MultiPoint"===f?e(n,i,r):e(n,t),i=new ut,i.Pa(fe(t,!1,u)),void 0!==n.id&&i.cc(n.id),n.properties&&i.I(n.properties),i}function vht(n,t,i){n[0]=n[0]*t[0]+i[0];n[1]=n[1]*t[1]+i[1]}function de(n){n=n?n:{};this.i=n.featureType;this.g=n.featureNS;this.b=n.gmlFormat?n.gmlFormat:new st;this.c=n.schemaLocation?n.schemaLocation:"http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd";oh.call(this)}function ori(n,t){for(var i=t.firstChild;i;i=i.nextSibling)if(i.nodeType==Node.ELEMENT_NODE)return hri(n,i)}function hri(n,t){var i={},r=rl(t.getAttribute("numberOfFeatures"));return i.numberOfFeatures=r,o(i,sri,t,[],n.b)}function lri(n){for(n=n.firstChild;n;n=n.nextSibling)if(n.nodeType==Node.ELEMENT_NODE)return o({},cri,n,[])}function vri(n,t){var i=hf("http://www.opengis.net/ogc","Filter"),r=hf("http://www.opengis.net/ogc","FeatureId");i.appendChild(r);r.setAttribute("fid",t);n.appendChild(i)}function yri(n,t,i){n={node:n};var r=t.b;ur(n,vb,bf(r.Nb),[r],i);t=t.a;ur(n,vb,bf(t.Nb),[t],i)}function ab(n,t){void 0!==t.a&&n.setAttribute("matchCase",t.a.toString());sp(n,t.b);rit(n,""+t.g)}function pri(n,t,i){n=hf("http://www.opengis.net/ogc",n);ou(n,i);t.appendChild(n)}function sp(n,t){pri("PropertyName",n,t)}function rit(n,t){pri("Literal",n,t)}function ds(n){n=n?n:{};ws.call(this);this.b=void 0!==n.splitCollection?n.splitCollection:!1}function wri(n){return n=n.$(),0===n.length?"":n.join(" ")}function yht(n){n=n.$();for(var i=[],t=0,r=n.length;t<r;++t)i.push(n[t].join(" "));return i.join(",")}function bri(n){var i=[],t,r;for(n=n.Zc(),t=0,r=n.length;t<r;++t)i.push("("+yht(n[t])+")");return i.join(",")}function kri(n){var t=n.Y(),r=dri[t](n),t=t.toUpperCase(),i;return n instanceof et&&(n=n.ka,i="",("XYZ"===n||"XYZM"===n)&&(i+="Z"),("XYM"===n||"XYZM"===n)&&(i+="M"),n=i,0<n.length&&(t+=" "+n)),0===r.length?t+" EMPTY":t+"("+r+")"}function cwi(n){this.a=n;this.b=-1}function gri(n){var t=n.a.charAt(++n.b),r={position:n.b,value:t};if("("==t)r.type=2;else if(","==t)r.type=5;else if(")"==t)r.type=3;else if("0"<=t&&"9">=t||"."==t||"-"==t){r.type=4;var i,t=n.b,u=!1,f=!1;do"."==i?u=!0:("e"==i||"E"==i)&&(f=!0),i=n.a.charAt(++n.b);while("0"<=i&&"9">=i||"."==i&&(void 0===u||!u)||!f&&("e"==i||"E"==i)||f&&("-"==i||"+"==i));n=parseFloat(n.a.substring(t,n.b--));r.value=n}else if("a"<=t&&"z">=t||"A"<=t&&"Z">=t){r.type=1;t=n.b;do i=n.a.charAt(++n.b);while("a"<=i&&"z">=i||"A"<=i&&"Z">=i);n=n.a.substring(t,n.b--).toUpperCase();r.value=n}else{if(" "==t||"\t"==t||"\r"==t||"\n"==t)return gri(n);if(""===t)r.type=6;else throw Error("Unexpected character: "+t);}return r}function gv(n){this.g=n;this.a="XY"}function uit(n){n.b=gri(n.g)}function ge(n,t){var i=n.b.type==t;return i&&uit(n),i}function nui(n){var t=n.b;if(ge(n,1)){var t=t.value,i="XY",r=n.b;if(1==n.b.type&&(r=r.value,"Z"===r?i="XYZ":"M"===r?i="XYM":"ZM"===r&&(i="XYZM"),"XY"!==i&&uit(n)),n.a=i,"GEOMETRYCOLLECTION"==t){n:{if(ge(n,2)){t=[];do t.push(nui(n));while(ge(n,5));if(ge(n,3)){n=t;break n}}else if(hp(n)){n=[];break n}throw Error(ya(n));}return new bt(n)}if(r=uui[t],i=rui[t],!r||!i)throw Error("Invalid geometry type: "+t);return t=r.call(n),new i(t,n.a)}throw Error(ya(n));}function pht(n){for(var u,t=[],i=n.a.length,r=0;r<i;++r)if(u=n.b,ge(n,4))t.push(u.value);else break;if(t.length==i)return t;throw Error(ya(n));}function tui(n){for(var t=[pht(n)];ge(n,5);)t.push(pht(n));return t}function iui(n){for(var t=[n.Nf()];ge(n,5);)t.push(n.Nf());return t}function hp(n){var t=1==n.b.type&&"EMPTY"==n.b.value;return t&&uit(n),t}function ya(n){return"Unexpected `"+n.b.value+"` at position "+n.b.position+" in `"+n.g.a+"`"}function yb(){this.version=void 0}function pa(n,t){return o({},ubi,n,t)}function wht(n,t){return o({},nbi,n,t)}function fui(n,t){var i=pa(n,t),r;if(i)return r=[rl(n.getAttribute("width")),rl(n.getAttribute("height"))],i.size=r,i}function eui(n,t){return o([],fbi,n,t)}function wd(n){n=n?n:{};this.g="http://mapserver.gis.umn.edu/mapserver";this.b=new ul;this.c=n.layers?n.layers:null;oh.call(this)}function pb(){this.g=new tit}function bht(n){var t=h(n).split(" ");if(t&&2==t.length)return n=+t[0],t=+t[1],isNaN(n)||isNaN(t)?void 0:[n,t]}function vi(n){oi.call(this);n=n||{};this.a=null;this.c=urt;this.f=void 0;f(this,vf(dht),this.Ql,this);f(this,vf(ght),this.Rl,this);void 0!==n.projection&&this.nh(ai(n.projection));void 0!==n.trackingOptions&&this.Ci(n.trackingOptions);this.ne(void 0!==n.tracking?n.tracking:!1)}function ht(n,t,i){et.call(this);this.dg(n,t?t:0,i)}function pui(n){var t=n.B[n.a]-n.B[0];return n=n.B[n.a+1]-n.B[1],t*t+n*n}function wui(n,t,i){for(var v=[],o=n(0),r=n(1),u=t(o),f=t(r),y=[r,o],p=[f,u],s=[1,0],w={},b=1e5,h,e,c,l,a;0<--b&&0<s.length;)c=s.pop(),o=y.pop(),u=p.pop(),r=c.toString(),r in w||(v.push(u[0],u[1]),w[r]=!0),l=s.pop(),r=y.pop(),f=p.pop(),a=(c+l)/2,h=n(a),e=t(h),elt(e[0],e[1],u[0],u[1],f[0],f[1])<i?(v.push(f[0],f[1]),r=l.toString(),w[r]=!0):(s.push(l,a,a,c),p.push(f,e,e,u),y.push(r,h,h,o));return v}function bbi(n,t,i,r,u){var f=ai("EPSG:4326");return wui(function(r){return[n,t+(i-t)*r]},ea(f,r),u)}function kbi(n,t,i,r,u){var f=ai("EPSG:4326");return wui(function(r){return[t+(i-t)*r,n]},ea(f,r),u)}function ra(n){n=n||{};this.c=this.l=null;this.g=this.i=Infinity;this.f=this.j=-Infinity;this.A=this.u=Infinity;this.D=this.C=-Infinity;this.va=void 0!==n.targetSize?n.targetSize:100;this.L=void 0!==n.maxLines?n.maxLines:100;this.b=[];this.a=[];this.ra=void 0!==n.strokeStyle?n.strokeStyle:bui;this.H=this.o=void 0;this.v=null;this.setMap(void 0!==n.map?n.map:null)}function nct(n,t,i,r,u,f,e){var o=e;return t=bbi(t,i,r,n.c,u),o=void 0!==n.b[o]?n.b[o]:new l(null),o.da("XY",t),pe(o.G(),f)&&(n.b[e++]=o),e}function tct(n,t,i,r,u){var f=u;return t=kbi(t,n.f,n.g,n.c,i),f=void 0!==n.a[f]?n.a[f]:new l(null),f.da("XY",t),pe(f.G(),r)&&(n.a[u++]=f),u}function wc(n,t,i,r,u){we.call(this,n,t);this.l=i;this.g=new Image;null!==r&&(this.g.crossOrigin=r);this.i=null;this.o=u}function ict(n){n.i.forEach(au);n.i=null}function nf(n){n=n?n:{};pi.call(this,{handleEvent:ao});this.i=n.formatConstructors?n.formatConstructors:[];this.l=n.projection?ai(n.projection):null;this.a=null;this.target=n.target?n.target:null}function dbi(n){var t,u,i,r;for(n=n.dataTransfer.files,t=0,u=n.length;t<u;++t)i=n.item(t),r=new FileReader,r.addEventListener("load",this.j.bind(this,i)),r.readAsText(i)}function rct(n){n.stopPropagation();n.preventDefault();n.dataTransfer.dropEffect="copy"}function ss(n,t,i,r){lr.call(this,n);this.features=i;this.file=t;this.projection=r}function of(n){n=n?n:{};dt.call(this,{handleDownEvent:tki,handleDragEvent:gbi,handleUpEvent:nki});this.o=n.condition?n.condition:wk;this.a=this.i=void 0;this.j=0;this.u=void 0!==n.duration?n.duration:400}function gbi(n){if(vl(n)){var i=n.map,r=i.nb(),t=n.pixel;n=t[0]-r[0]/2;t=r[1]/2-t[1];r=Math.atan2(t,n);n=Math.sqrt(n*n+t*t);i=i.aa();void 0!==this.i&&(t=r-this.i,vw(i,i.Ra()-t));this.i=r;void 0!==this.a&&(r=this.a*(i.Oa()/n),yk(i,r));void 0!==this.a&&(this.j=this.a/n);this.a=n}}function nki(n){if(!vl(n))return!0;n=n.map.aa();ko(n,1,-1);var i=this.j-1,t=n.Ra(),t=n.constrainRotation(t,0);vw(n,t,void 0,void 0);var t=n.Oa(),r=this.u,t=n.constrainResolution(t,0,i);return yk(n,t,void 0,r),this.j=0,!1}function tki(n){return vl(n)&&this.o(n)?(ko(n.map.aa(),1,1),this.a=this.i=void 0,!0):!1}function dui(){return[[-Infinity,-Infinity,Infinity,Infinity]]}function p(n){var r,t,i;n=n||{};ir.call(this,{attributions:n.attributions,logo:n.logo,projection:void 0,state:"ready",wrapX:void 0!==n.wrapX?n.wrapX:!0});this.U=ve;this.P=n.format;this.xa=void 0==n.overlaps?!0:n.overlaps;this.Z=n.url;void 0!==n.loader?this.U=n.loader:void 0!==this.Z&&(li(this.P,7),this.U=snt(this.Z,this.P));this.fc=void 0!==n.strategy?n.strategy:dui;r=void 0!==n.useSpatialIndex?n.useSpatialIndex:!0;this.a=r?new gy:null;this.sa=new gy;this.i={};this.l={};this.o={};this.v={};this.c=null;n.features instanceof ft?(t=n.features,i=t.a):Array.isArray(n.features)&&(i=n.features);r||void 0!==t||(t=new ft(i));void 0!==i&&tfi(this,i);void 0!==t&&iki(this,t)}function gui(n,t,i){n.v[t]=[f(i,"change",n.Mh,n),f(i,wa,n.Mh,n)]}function nfi(n,t,i){var u=!0,r=i.f;return void 0!==r?r.toString()in n.l?u=!1:n.l[r.toString()]=i:(li(!(t in n.o),30),n.o[t]=i),u}function tfi(n,t){for(var u,r,s=[],e=[],h=[],o,i=0,f=t.length;i<f;i++)r=t[i],u=tt(r).toString(),nfi(n,u,r)&&e.push(r);for(i=0,f=e.length;i<f;i++)r=e[i],u=tt(r).toString(),gui(n,u,r),o=r.V(),o?(u=o.G(),s.push(u),h.push(r)):n.i[u]=r;for(n.a&&n.a.load(s,h),i=0,f=e.length;i<f;i++)n.b(new bo(eit,e[i]))}function iki(n,t){var i=!1;f(n,eit,function(n){i||(i=!0,t.push(n.feature),i=!1)});f(n,uct,function(n){i||(i=!0,t.remove(n.feature),i=!1)});f(t,ll,function(n){i||(i=!0,this.gb(n.element),i=!1)},n);f(t,al,function(n){i||(i=!0,this.rb(n.element),i=!1)},n);n.c=t}function rki(n,t,i){n.Qb([t[0],t[1],t[0],t[1]],function(n){if(n.V().mb(t))return i.call(void 0,n)})}function ifi(n,t){for(var i in n.l)if(n.l[i]===t){delete n.l[i];break}}function bo(n,t){lr.call(this,n);this.feature=t}function dr(n){var t,r,i;dt.call(this,{handleDownEvent:oki,handleEvent:rfi,handleUpEvent:ski});this.fa=null;this.u=!1;this.Ua=n.source?n.source:null;this.xa=n.features?n.features:null;this.Mj=n.snapTolerance?n.snapTolerance:12;this.U=n.type;this.i=hki(this.U);this.Fa=n.minPoints?n.minPoints:this.i===fl?3:2;this.na=n.maxPoints?n.maxPoints:Infinity;this.fc=n.finishCondition?n.finishCondition:ao;t=n.geometryFunction;t||("Circle"===this.U?t=function(n,t){var i=t?t:new ht([NaN,NaN]);return i.dg(n[0],Math.sqrt(gs(n[0],n[1]))),i}:(i=this.i,i===kb?r=a:i===db?r=l:i===fl&&(r=c),t=function(n,t){var u=t;return u?i===fl?u.qa([n[0].concat([n[0][0]])]):u.qa(n):u=new r(n),u}));this.D=t;this.P=this.C=this.a=this.L=this.j=this.o=null;this.Ob=n.clickTolerance?n.clickTolerance*n.clickTolerance:36;this.sa=new b({source:new p({useSpatialIndex:!1,wrapX:n.wrapX?n.wrapX:!1}),style:n.style?n.style:eki()});this.Ja=n.geometryName;this.Lj=n.condition?n.condition:pk;this.Xe=n.freehand?ao:n.freehandCondition?n.freehandCondition:wk;f(this,vf(bg),this.Li,this)}function eki(){var n=nd();return function(t){return n[t.V().Y()]}}function rfi(n){this.u=this.i!==kb&&this.Xe(n);var t=!this.u;return this.u&&"pointerdrag"===n.type&&null!==this.j?(ofi(this,n),t=!1):"pointermove"===n.type?t=ufi(this,n):"dblclick"===n.type&&(t=!1),yw.call(this,n)&&t}function oki(n){return this.u?(this.fa=n.pixel,this.o||efi(this,n),!0):this.Lj(n)?(this.fa=n.pixel,!0):!1}function ski(n){var t=this.fa,i=n.pixel,r=t[0]-i[0],t=t[1]-i[1],r=r*r+t*t,t=!0,i=this.i===fct;return(this.u?r>this.Ob:r<=this.Ob)?(ufi(this,n),this.o?this.u||i?this.zd():ffi(this,n)?this.fc(n)&&this.zd():ofi(this,n):(efi(this,n),this.i===kb&&this.zd()),t=!1):i&&(this.o=null),t}function ufi(n,t){if(n.o){var i=t.coordinate,u=n.j.V(),r;n.i===kb?r=n.a:n.i===fl?(r=n.a[0],r=r[r.length-1],ffi(n,t)&&(i=n.o.slice())):(r=n.a,r=r[r.length-1]);r[0]=i[0];r[1]=i[1];n.D(n.a,u);n.L&&n.L.V().qa(i);u instanceof c&&n.i!==fl?(n.C||(n.C=new ut(new l(null))),u=u.Qg(0),i=n.C.V(),i.da(u.ka,u.ia())):n.P&&(i=n.C.V(),i.qa(n.P));bb(n)}else i=t.coordinate.slice(),n.L?n.L.V().qa(i):(n.L=new ut(new a(i)),bb(n));return!0}function ffi(n,t){var r=!1,i,f;if(n.j&&(i=!1,f=[n.o],n.i===db?i=n.a.length>n.Fa:n.i===fl&&(i=n.a[0].length>n.Fa,f=[n.a[0][0],n.a[0][n.a[0].length-2]]),i))for(var i=t.map,e=0,h=f.length;e<h;e++){var o=f[e],u=i.Ga(o),s=t.pixel,r=s[0]-u[0],u=s[1]-u[1];if(r=Math.sqrt(r*r+u*u)<=(n.u?1:n.Mj)){n.o=o;break}}return r}function efi(n,t){var i=t.coordinate;n.o=i;n.i===kb?n.a=i.slice():n.i===fl?(n.a=[[i.slice(),i.slice()]],n.P=n.a[0]):(n.a=[i.slice(),i.slice()],n.i===fct&&(n.P=n.a));n.P&&(n.C=new ut(new l(n.P)));i=n.D(n.a);n.j=new ut;n.Ja&&n.j.Nc(n.Ja);n.j.Pa(i);bb(n);n.b(new ch(ect,n.j))}function ofi(n,t){var u=t.coordinate,f=n.j.V(),r,i;n.i===db?(n.o=u.slice(),i=n.a,i.length>=n.na&&(n.u?i.pop():r=!0),i.push(u.slice()),n.D(i,f)):n.i===fl&&(i=n.a[0],i.length>=n.na&&(n.u?i.pop():r=!0),i.push(u.slice()),r&&(n.o=i[0]),n.D(n.a,f));bb(n);r&&n.zd()}function sfi(n){n.o=null;var t=n.j;return t&&(n.j=null,n.L=null,n.C=null,n.sa.la().clear(!0)),t}function bb(n){var t=[];n.j&&t.push(n.j);n.C&&t.push(n.C);n.L&&t.push(n.L);n=n.sa.la();n.clear(!0);n.Tc(t)}function hki(n){var t;return"Point"===n||"MultiPoint"===n?t=kb:"LineString"===n||"MultiLineString"===n?t=db:"Polygon"===n||"MultiPolygon"===n?t=fl:"Circle"===n&&(t=fct),t}function ch(n,t){lr.call(this,n);this.feature=t}function gr(n){this.a=this.j=null;this.C=!1;this.D=this.o=null;n||(n={});n.extent&&this.i(n.extent);dt.call(this,{handleDownEvent:lki,handleDragEvent:aki,handleEvent:cki,handleUpEvent:vki});this.u=new b({source:new p({useSpatialIndex:!1,wrapX:!!n.wrapX}),style:n.boxStyle?n.boxStyle:yki(),updateWhileAnimating:!0,updateWhileInteracting:!0});this.L=new b({source:new p({useSpatialIndex:!1,wrapX:!!n.wrapX}),style:n.pointerStyle?n.pointerStyle:pki(),updateWhileAnimating:!0,updateWhileInteracting:!0})}function cki(n){if(!(n instanceof lf))return!0;if("pointermove"==n.type&&!this.A){var i=n.pixel,r=n.map,t=afi(this,i,r);t||(t=r.Sa(i));vfi(this,t)}return yw.call(this,n),!1}function lki(n){function u(n){var i=null,r=null;return n[0]==t[0]?i=t[2]:n[0]==t[2]&&(i=t[0]),n[1]==t[1]?r=t[3]:n[1]==t[3]&&(r=t[1]),null!==i&&null!==r?[i,r]:null}var i=n.pixel,r=n.map,t=this.G();return(n=afi(this,i,r))&&t?(i=n[0]==t[0]||n[0]==t[2]?n[0]:null,r=n[1]==t[1]||n[1]==t[3]?n[1]:null,null!==i&&null!==r?this.a=cfi(u(n)):null!==i?this.a=lfi(u([i,t[1]]),u([i,t[3]])):null!==r&&(this.a=lfi(u([t[0],r]),u([t[2],r])))):(n=r.Sa(i),this.i([n[0],n[1],n[0],n[1]]),this.a=cfi(n)),!0}function aki(n){return this.a&&(n=n.coordinate,this.i(this.a(n)),vfi(this,n)),!0}function vki(){this.a=null;var n=this.G();return n&&0!==nrt(n)||this.i(null),!1}function yki(){var n=nd();return function(){return n.Polygon}}function pki(){var n=nd();return function(){return n.Point}}function cfi(n){return function(t){return se([n,t])}}function lfi(n,t){return n[0]==t[0]?function(i){return se([n,[i[0],t[1]]])}:n[1]==t[1]?function(i){return se([n,[t[0],i[1]]])}:null}function afi(n,t,i){function o(n,t){return kp(u,n)-kp(u,t)}var u=i.Sa(t),r=n.G();if(r){r=[[[r[0],r[1]],[r[0],r[3]]],[[r[0],r[3]],[r[2],r[3]]],[[r[2],r[3]],[r[2],r[1]]],[[r[2],r[1]],[r[0],r[1]]]];r.sort(o);var r=r[0],f=ig(u,r),e=i.Ga(f);if(10>=Math.sqrt(gs(t,e)))return t=i.Ga(r[0]),i=i.Ga(r[1]),t=gs(e,t),i=gs(e,i),n.C=10>=Math.sqrt(Math.min(t,i)),n.C&&(f=t>i?r[1]:r[0]),f}return null}function vfi(n,t){var i=n.D;i?i.V().qa(t):(i=new ut(new a(t)),n.D=i,n.L.la().gb(i))}function bc(n){lr.call(this,yfi);this.b=n}function pu(n){dt.call(this,{handleDownEvent:kki,handleDragEvent:dki,handleEvent:bfi,handleUpEvent:gki});this.Ua=n.condition?n.condition:gyt;this.xa=function(n){return pk(n)&&rft(n)};this.Ja=n.deleteCondition?n.deleteCondition:this.xa;this.Fa=this.a=null;this.sa=[0,0];this.C=this.L=!1;this.i=new gy;this.fa=void 0!==n.pixelTolerance?n.pixelTolerance:10;this.o=this.na=!1;this.j=[];this.D=new b({source:new p({useSpatialIndex:!1,wrapX:!!n.wrapX}),style:n.style?n.style:ndi(),updateWhileAnimating:!0,updateWhileInteracting:!0});this.U={Point:this.Cm,LineString:this.uh,LinearRing:this.uh,Polygon:this.Dm,MultiPoint:this.Am,MultiLineString:this.zm,MultiPolygon:this.Bm,GeometryCollection:this.ym};this.u=n.features;this.u.forEach(this.Gf,this);f(this.u,ll,this.wm,this);f(this.u,al,this.xm,this);this.P=null}function oct(n,t){n.C||(n.C=!0,n.b(new hs(dfi,n.u,t)))}function pfi(n,t){wki(n,t);n.a&&0===n.u.Ub()&&(n.D.la().rb(n.a),n.a=null);uc(t,"change",n.th,n)}function wki(n,t){var u=n.i,r=[],i;for(u.forEach(function(n){t===n.feature&&r.push(n)}),i=r.length-1;0<=i;--i)u.remove(r[i])}function wfi(n,t){var i=n.a;i?i.V().qa(t):(i=new ut(new a(t)),n.a=i,n.D.la().gb(i))}function bki(n,t){return n.index-t.index}function kki(n){var u,o,h;if(!this.Ua(n))return!1;if(sct(this,n.pixel,n.map),this.j.length=0,this.C=!1,u=this.a,u){var e=[],u=u.V().$(),f=se([u]),f=tp(this.i,f),i={};for(f.sort(bki),o=0,h=f.length;o<h;++o){var r=f[o],s=r.ta,t=tt(r.feature),c=r.depth;c&&(t+="-"+c.join("-"));i[t]||(i[t]=Array(2));wp(s[0],u)&&!i[t][0]?(this.j.push([r,0]),i[t][0]=r):wp(s[1],u)&&!i[t][1]?("LineString"===r.geometry.Y()||"MultiLineString"===r.geometry.Y())&&i[t][0]&&0===i[t][0].index||(this.j.push([r,1]),i[t][1]=r):tt(s)in this.Fa&&!i[t][0]&&!i[t][1]&&e.push([r,u])}for(e.length&&oct(this,n),n=e.length-1;0<=n;--n)this.pl.apply(this,e[n])}return!!this.a}function dki(n){var f,s;for(this.L=!1,oct(this,n),n=n.coordinate,f=0,s=this.j.length;f<s;++f){for(var t=this.j[f],i=t[0],e=i.depth,o=i.geometry,u=o.$(),r=i.ta,t=t[1];n.length<o.pa();)n.push(r[t][n.length]);switch(o.Y()){case"Point":u=n;r[0]=r[1]=n;break;case"MultiPoint":u[i.index]=n;r[0]=r[1]=n;break;case"LineString":u[i.index+t]=n;r[t]=n;break;case"MultiLineString":u[e[0]][i.index+t]=n;r[t]=n;break;case"Polygon":u[e[0]][i.index+t]=n;r[t]=n;break;case"MultiPolygon":u[e[1]][e[0]][i.index+t]=n;r[t]=n}i=o;this.o=!0;i.qa(u);this.o=!1}wfi(this,n)}function gki(n){for(var t,i=this.j.length-1;0<=i;--i)t=this.j[i][0],np(this.i,se(t.ta),t);return this.C&&(this.b(new hs(hct,this.u,n)),this.C=!1),!1}function bfi(n){if(!(n instanceof lf))return!0;this.P=n;var t;return oa(n.map.aa())[1]||"pointermove"!=n.type||this.A||(this.sa=n.pixel,sct(this,n.pixel,n.map)),this.a&&this.Ja(n)&&(t="singleclick"==n.type&&this.L?!0:this.ki()),"singleclick"==n.type&&(this.L=!1),yw.call(this,n)&&!t}function sct(n,t,i){function s(n,t){return kp(o,n.ta)-kp(o,t.ta)}var o=i.Sa(t),f=ec(ik(o),i.aa().Oa()*n.fa),f=tp(n.i,f);if(0<f.length){f.sort(s);var u=f[0].ta,e=ig(o,u),r=i.Ga(e);if(Math.sqrt(gs(t,r))<=n.fa){for(t=i.Ga(u[0]),i=i.Ga(u[1]),t=gs(r,t),r=gs(r,i),n.na=Math.sqrt(Math.min(t,r))<=n.fa,n.na&&(e=t>r?u[1]:u[0]),wfi(n,e),e={},e[tt(u)]=!0,i=1,t=f.length;i<t;++i)if(r=f[i].ta,wp(u[0],r[0])&&wp(u[1],r[1])||wp(u[0],r[1])&&wp(u[1],r[0]))e[tt(r)]=!0;else break;n.Fa=e;return}}n.a&&(n.D.la().rb(n.a),n.a=null)}function kfi(n,t,i,r,u){ud(n.i,t.G(),function(n){n.geometry===t&&(void 0===r||void 0===n.depth||kc(n.depth,r))&&n.index>i&&(n.index+=u)})}function ndi(){var n=nd();return function(){return n.Point}}function hs(n,t,i){lr.call(this,n);this.features=t;this.mapBrowserEvent=i}function sr(n){if(pi.call(this,{handleEvent:gfi}),n=n?n:{},this.C=n.condition?n.condition:rft,this.A=n.addCondition?n.addCondition:nh,this.D=n.removeCondition?n.removeCondition:nh,this.L=n.toggleCondition?n.toggleCondition:wk,this.o=n.multi?n.multi:!1,this.l=n.filter?n.filter:ao,this.j=n.hitTolerance?n.hitTolerance:0,this.i=new b({source:new p({useSpatialIndex:!1,features:n.features,wrapX:n.wrapX}),style:n.style?n.style:tdi(),updateWhileAnimating:!0,updateWhileInteracting:!0}),n.layers)if("function"==typeof n.layers)n=n.layers;else{var t=n.layers;n=function(n){return co(t,n)}}else n=ao;this.u=n;this.a={};n=this.i.la().c;f(n,ll,this.Em,this);f(n,al,this.Im,this)}function gfi(n){var u,o;if(!this.C(n))return!0;var s=this.A(n),h=this.D(n),e=this.L(n),t=!s&&!h&&!e,u=n.map,r=this.i.la().c,f=[],i=[];if(t){for(ol(this.a),u.ae(n.pixel,function(n,t){if(this.l(n,t)){i.push(n);var r=tt(n);return this.a[r]=t,!this.o}}.bind(this),{layerFilter:this.u,hitTolerance:this.j}),t=r.Ub()-1;0<=t;--t)u=r.item(t),o=i.indexOf(u),-1<o?i.splice(o,1):(r.remove(u),f.push(u));0!==i.length&&r.Bf(i)}else{for(u.ae(n.pixel,function(n,t){if(this.l(n,t)){if((s||e)&&!co(r.a,n)){i.push(n);var u=tt(n);this.a[u]=t}else(h||e)&&co(r.a,n)&&(f.push(n),u=tt(n),delete this.a[u]);return!this.o}}.bind(this),{layerFilter:this.u,hitTolerance:this.j}),t=f.length-1;0<=t;--t)r.remove(f[t]);r.Bf(i)}return(0<i.length||0<f.length)&&this.b(new cs(nei,i,f,n)),dyt(n)}function tdi(){var n=nd();return cf(n.Polygon,n.LineString),cf(n.GeometryCollection,n.LineString),function(t){return t.V()?n[t.V().Y()]:null}}function cs(n,t,i,r){lr.call(this,n);this.selected=t;this.deselected=i;this.mapBrowserEvent=r}function su(n){dt.call(this,{handleEvent:idi,handleDownEvent:ao,handleUpEvent:rdi});n=n?n:{};this.o=n.source?n.source:null;this.sa=void 0!==n.vertex?n.vertex:!0;this.P=void 0!==n.edge?n.edge:!0;this.j=n.features?n.features:null;this.na=[];this.C={};this.D={};this.U={};this.u={};this.L=null;this.i=void 0!==n.pixelTolerance?n.pixelTolerance:10;this.Fa=udi.bind(this);this.a=new gy;this.fa={Point:this.Pm,LineString:this.xh,LinearRing:this.xh,Polygon:this.Qm,MultiPoint:this.Nm,MultiLineString:this.Mm,MultiPolygon:this.Om,GeometryCollection:this.Lm}}function idi(n){var u,t,i=n.pixel,f=n.coordinate,o;u=n.map;o=u.Sa([i[0]-this.i,i[1]+this.i]);t=u.Sa([i[0]+this.i,i[1]-this.i]);var o=se([o,t]),r=tp(this.a,o),e,o=!1,s=null;return t=null,0<r.length&&(this.L=f,r.sort(this.Fa),r=r[0].ta,this.sa&&!this.P?(f=u.Ga(r[0]),e=u.Ga(r[1]),f=gs(i,f),i=gs(i,e),e=Math.sqrt(Math.min(f,i)),e=e<=this.i)&&(o=!0,s=f>i?r[1]:r[0],t=u.Ga(s)):this.P&&(s=ig(f,r),t=u.Ga(s),Math.sqrt(gs(i,t))<=this.i&&(o=!0,this.sa&&(f=u.Ga(r[0]),e=u.Ga(r[1]),f=gs(t,f),i=gs(t,e),e=Math.sqrt(Math.min(f,i)),e=e<=this.i)))&&(s=f>i?r[1]:r[0],t=u.Ga(s)),o&&(t=[Math.round(t[0]),Math.round(t[1])])),u=s,o&&(n.coordinate=u.slice(0,2),n.pixel=t),yw.call(this,n)}function rdi(){var n=gd(this.u);return n.length&&(n.forEach(this.Ki,this),this.u={}),!1}function udi(n,t){return kp(this.L,n.ta)-kp(this.L,t.ta)}function uu(n){var t,i;dt.call(this,{handleDownEvent:fdi,handleDragEvent:odi,handleMoveEvent:cct,handleUpEvent:edi});n=n?n:{};this.o=void 0;this.a=null;this.j=void 0!==n.features?n.features:null;n.layers?"function"==typeof n.layers?t=n.layers:(i=n.layers,t=function(n){return co(i,n)}):t=ao;this.C=t;this.u=n.hitTolerance?n.hitTolerance:0;this.i=null}function fdi(n){if(this.i=tei(this,n.pixel,n.map),!this.a&&this.i){this.a=n.coordinate;cct.call(this,n);var t=this.j||new ft([this.i]);return this.b(new ls(sdi,t,n.coordinate)),!0}return!1}function edi(n){if(this.a){this.a=null;cct.call(this,n);var t=this.j||new ft([this.i]);return this.b(new ls(cdi,t,n.coordinate)),!0}return!1}function odi(n){if(this.a){n=n.coordinate;var i=n[0]-this.a[0],r=n[1]-this.a[1],t=this.j||new ft([this.i]);t.forEach(function(n){var t=n.V();t.translate(i,r);n.Pa(t)});this.a=n;this.b(new ls(hdi,t,n))}}function cct(n){var t=n.map.Cc();tei(this,n.pixel,n.map)?(this.o=t.style.cursor,t.style.cursor=this.a?"-webkit-grabbing":"-webkit-grab",t.style.cursor=this.a?"grabbing":"grab"):(t.style.cursor=void 0!==this.o?this.o:"",this.o=void 0)}function tei(n,t,i){return i.ae(t,function(n){if(!this.j||co(this.j.a,n))return n}.bind(n),{layerFilter:n.C,hitTolerance:n.u})}function ls(n,t,i){lr.call(this,n);this.features=t;this.coordinate=i}function d(n){var t,i,r;n=n?n:{};t=er({},n);delete t.gradient;delete t.radius;delete t.blur;delete t.shadow;delete t.weight;b.call(this,t);this.f=null;this.U=void 0!==n.shadow?n.shadow:250;this.P=void 0;this.c=null;f(this,vf(act),this.Qk,this);this.ui(n.gradient?n.gradient:iei);this.ni(void 0!==n.blur?n.blur:15);this.Ah(void 0!==n.radius?n.radius:8);f(this,vf(lct),this.xf,this);f(this,vf(vct),this.xf,this);this.xf();i=n.weight?n.weight:"weight";r="string"==typeof i?function(n){return n.get(i)}:i;this.l(function(n){n=r(n);n=void 0!==n?eo(n,0,1):1;var i=255*n|0,t=this.c[i];return t||(t=[new pr({image:new ru({opacity:n,src:this.P})})],this.c[i]=t),t}.bind(this));this.set("renderOrder",null);f(this,"render",this.gl,this)}function oit(n,t,i,r){function e(){delete window[f];u.parentNode.removeChild(u)}var u=document.createElement("script"),f="olc_"+tt(t),o;u.async=!0;u.src=n+(-1==n.indexOf("?")?"?":"&")+(r||"callback")+"="+f;o=setTimeout(function(){e();i&&i()},1e4);window[f]=function(n){clearTimeout(o);e();t(n)};document.getElementsByTagName("head")[0].appendChild(u)}function ua(n,t,i,r,u,f,e,o,s,h,c){if(we.call(this,u,0),this.C=void 0!==c?c:!1,this.A=e,this.u=o,this.H=null,this.f=t,this.l=r,this.o=f?f:u,this.g=[],this.kd=null,this.i=0,f=r.Na(this.o),o=this.l.G(),u=this.f.G(),f=o?fa(f,o):f,0===nrt(f))this.state=4;else if((o=n.G())&&(u=u?fa(u,o):o),r=r.Ha(this.o[0]),r=ydt(n,i,ah(f),r),!isFinite(r)||0>=r)this.state=4;else if(this.v=new wdt(n,i,f,u,r*(void 0!==h?h:.5)),0===this.v.f.length)this.state=4;else if(this.i=t.Ec(r),i=bdt(this.v),u&&(n.a?(i[1]=eo(i[1],u[1],u[3]),i[3]=eo(i[3],u[1],u[3])):i=fa(i,u)),nrt(i)){for(n=hc(t,i,this.i),t=n.ea;t<=n.ca;t++)for(i=n.ga;i<=n.ja;i++)(h=s(this.i,t,i,e))&&this.g.push(h);0===this.g.length&&(this.state=4)}else this.state=4}function ldi(n,t){var i=/\{z\}/g,r=/\{x\}/g,u=/\{y\}/g,f=/\{-y\}/g;return function(e){if(e)return n.replace(i,e[0].toString()).replace(r,e[1].toString()).replace(u,function(){return(-e[2]-1).toString()}).replace(f,function(){var n=t.a?t.a[e[0]]:null;return li(n,55),(n.ja-n.ga+1+e[2]).toString()})}}function sit(n,t){for(var r=n.length,u=Array(r),i=0;i<r;++i)u[i]=ldi(n[i],t);return yct(u)}function yct(n){return 1===n.length?n[0]:function(t,i,r){if(t)return n[el((t[1]<<t[0])+t[2],n.length)](t,i,r)}}function pct(){}function rei(n){var r=[],t=/\{([a-z])-([a-z])\}/.exec(n),u,i;if(t){for(u=t[2].charCodeAt(0),i=t[1].charCodeAt(0);i<=u;++i)r.push(n.replace(t[0],String.fromCharCode(i)));return r}if(t=t=/\{(\d+)-(\d+)\}/.exec(n)){for(u=parseInt(t[2],10),i=parseInt(t[1],10);i<=u;i++)r.push(n.replace(t[0],i.toString()));return r}return r.push(n),r}function hit(n){ett.call(this);this.c=void 0!==n?n:2048}function cit(n){return n.f>n.c}function gi(n){ir.call(this,{attributions:n.attributions,extent:n.extent,logo:n.logo,projection:n.projection,state:n.state,wrapX:n.wrapX});this.sa=void 0!==n.opaque?n.opaque:!1;this.xa=void 0!==n.tilePixelRatio?n.tilePixelRatio:1;this.tileGrid=void 0!==n.tileGrid?n.tileGrid:null;this.a=new hit(n.cacheSize);this.l=[0,0];this.jc=""}function uei(n,t,i,r,u){var h,f,e,o,s;if(t=n.Cd(t),!t)return!1;for(h=!0,o=r.ea;o<=r.ca;++o)for(s=r.ga;s<=r.ja;++s)f=n.Lb(i,o,s),e=!1,t.b.hasOwnProperty(f)&&(f=t.get(f),(e=f.W()===yo)&&(e=!1!==u(f))),e||(h=!1);return h}function cp(n,t){n.jc!==t&&(n.jc=t,n.s())}function gb(n,t,i){var u=void 0!==i?i:n.f,r,f;return i=n.Db(u),n.D&&u.g&&(r=t,t=r[0],n=rut(i,r),u=cy(u),bit(u,n)?t=r:(r=af(u),n[0]+=r*Math.ceil((u[0]-n[0])/r),t=i.wf(n,t))),r=t[0],u=t[1],n=t[2],i.minZoom>r||r>i.maxZoom?i=!1:(f=i.G(),i=(i=f?hc(i,f,r):i.a?i.a[r]:null)?tvt(i,u,n):!0),i?t:null}function lh(n,t){lr.call(this,n);this.tile=t}function gt(n){gi.call(this,{attributions:n.attributions,cacheSize:n.cacheSize,extent:n.extent,logo:n.logo,opaque:n.opaque,projection:n.projection,state:n.state,tileGrid:n.tileGrid,tilePixelRatio:n.tilePixelRatio,wrapX:n.wrapX});this.tileLoadFunction=n.tileLoadFunction;this.tileUrlFunction=this.zc?this.zc.bind(this):pct;this.urls=null;n.urls?this.Ya(n.urls):n.url&&this.cb(n.url);n.tileUrlFunction&&this.Xa(n.tileUrlFunction)}function g(n){gt.call(this,{attributions:n.attributions,cacheSize:n.cacheSize,extent:n.extent,logo:n.logo,opaque:n.opaque,projection:n.projection,state:n.state,tileGrid:n.tileGrid,tileLoadFunction:n.tileLoadFunction?n.tileLoadFunction:adi,tilePixelRatio:n.tilePixelRatio,tileUrlFunction:n.tileUrlFunction,url:n.url,urls:n.urls,wrapX:n.wrapX});this.crossOrigin=void 0!==n.crossOrigin?n.crossOrigin:null;this.tileClass=void 0!==n.tileClass?n.tileClass:wc;this.i={};this.v={};this.na=n.reprojectionErrorThreshold;this.C=!1}function fei(n,t,i,r,u,e,o){return t=[t,i,r],u=(i=gb(n,t,e))?n.tileUrlFunction(i,u,e):void 0,u=new n.tileClass(t,void 0!==u?0:4,void 0!==u?u:"",n.crossOrigin,n.tileLoadFunction),u.key=o,f(u,"change",n.Jh,n),u}function eei(n,t,i,r,u,f){var e,o=n.Lb(t,i,r),h=n.jc,s;if(n.a.b.hasOwnProperty(o)){if(e=n.a.get(o),e.key!=h){if(s=e,e=fei(n,t,i,r,u,f,h),e.a=0==s.W()?s.a:s,e.a){t=e.a;i=e;do{if(t.W()==yo){t.a=null;break}else 1==t.W()?i=t:0==t.W()?i.a=t.a:i=t;t=i.a}while(t)}n.a.replace(o,e)}}else e=fei(n,t,i,r,u,f,h),n.a.set(o,e);return e}function adi(n,t){n.ub().src=t}function lt(n){this.A=void 0!==n.hidpi?n.hidpi:!1;g.call(this,{cacheSize:n.cacheSize,crossOrigin:"anonymous",opaque:!0,projection:ai("EPSG:3857"),reprojectionErrorThreshold:n.reprojectionErrorThreshold,state:"loading",tileLoadFunction:n.tileLoadFunction,tilePixelRatio:this.A?2:1,wrapX:void 0!==n.wrapX?n.wrapX:!0});this.P=void 0!==n.culture?n.culture:"en-us";this.u=void 0!==n.maxZoom?n.maxZoom:-1;this.c=n.key;this.o=n.imagerySet;oit("https://dev.virtualearth.net/REST/v1/Imagery/Metadata/"+this.o+"?uriScheme=https&include=ImageryProviders&key="+this.c,this.fa.bind(this),void 0,"jsonp")}function pt(n){n=n||{};var t=void 0!==n.projection?n.projection:"EPSG:3857",i=void 0!==n.tileGrid?n.tileGrid:hk({extent:cy(t),maxZoom:n.maxZoom,minZoom:n.minZoom,tileSize:n.tileSize});g.call(this,{attributions:n.attributions,cacheSize:n.cacheSize,crossOrigin:n.crossOrigin,logo:n.logo,opaque:n.opaque,projection:t,reprojectionErrorThreshold:n.reprojectionErrorThreshold,tileGrid:i,tileLoadFunction:n.tileLoadFunction,tilePixelRatio:n.tilePixelRatio,tileUrlFunction:n.tileUrlFunction,url:n.url,urls:n.urls,wrapX:void 0!==n.wrapX?n.wrapX:!0})}function at(n){this.u=n.account;this.A=n.map||"";this.c=n.config||{};this.o={};pt.call(this,{attributions:n.attributions,cacheSize:n.cacheSize,crossOrigin:n.crossOrigin,logo:n.logo,maxZoom:void 0!==n.maxZoom?n.maxZoom:18,minZoom:n.minZoom,projection:n.projection,state:"loading",wrapX:n.wrapX});bct(this)}function bct(n){var i=JSON.stringify(n.c),r,t;n.o[i]?oei(n,n.o[i]):(r="https://"+n.u+".cartodb.com/api/v1/map",n.A&&(r+="/named/"+n.A),t=new XMLHttpRequest,t.addEventListener("load",n.Sk.bind(n,i)),t.addEventListener("error",n.Rk.bind(n)),t.open("POST",r),t.setRequestHeader("Content-type","application/json"),t.send(JSON.stringify(n.c)))}function oei(n,t){n.cb("https://"+t.cdn_url.https+"/"+n.u+"/api/v1/map/"+t.layergroupid+"/{z}/{x}/{y}.png")}function v(n){p.call(this,{attributions:n.attributions,extent:n.extent,logo:n.logo,projection:n.projection,wrapX:n.wrapX});this.C=void 0;this.fa=void 0!==n.distance?n.distance:20;this.A=[];this.na=n.geometryFunction||function(n){return n=n.V(),li(n instanceof a,10),n};this.u=n.source;this.u.J("change",v.prototype.Ja,this)}function sei(n){var t;if(void 0!==n.C){n.A.length=0;for(var i=lo(),e=n.fa*n.C,f=n.u.we(),r={},u=0,o=f.length;u<o;u++)t=f[u],tt(t).toString()in r||!(t=n.na(t))||(t=t.$(),ik(t,i),ec(i,e,i),t=n.u.nf(i),t=t.filter(function(n){return n=tt(n).toString(),n in r?!1:r[n]=!0}),n.A.push(vdi(n,t)))}}function vdi(n,t){for(var u,i=[0,0],r=t.length-1;0<=r;--r)u=n.na(t[r]),u?pp(i,u.$()):t.splice(r,1);return pit(i,1/t.length),i=new ut(new a(i)),i.set("features",t),i}function lp(n,t){var i=[],r;return Object.keys(t).forEach(function(n){null!==t[n]&&void 0!==t[n]&&i.push(n+"="+encodeURIComponent(t[n]))}),r=i.join("&"),n=n.replace(/[?&]$/,""),n=-1===n.indexOf("?")?n+"?":n+"&",n+r}function wi(n){n=n||{};hi.call(this,{attributions:n.attributions,logo:n.logo,projection:n.projection,resolutions:n.resolutions});this.Z=void 0!==n.crossOrigin?n.crossOrigin:null;this.i=n.url;this.l=void 0!==n.imageLoadFunction?n.imageLoadFunction:ftt;this.u=n.params||{};this.c=null;this.v=[0,0];this.P=0;this.C=void 0!==n.ratio?n.ratio:1.5}function tr(n){hi.call(this,{projection:n.projection,resolutions:n.resolutions});this.Z=void 0!==n.crossOrigin?n.crossOrigin:null;this.v=void 0!==n.displayDpi?n.displayDpi:96;this.l=n.params||{};this.P=n.url;this.c=void 0!==n.imageLoadFunction?n.imageLoadFunction:ftt;this.fa=void 0!==n.hidpi?n.hidpi:!0;this.na=void 0!==n.metersPerUnit?n.metersPerUnit:1;this.u=void 0!==n.ratio?n.ratio:1;this.xa=void 0!==n.useOverlay?n.useOverlay:!1;this.i=null;this.C=0}function wr(n){var t=n.imageExtent,i=void 0!==n.crossOrigin?n.crossOrigin:null,r=void 0!==n.imageLoadFunction?n.imageLoadFunction:ftt;hi.call(this,{attributions:n.attributions,logo:n.logo,projection:ai(n.projection)});this.c=new kh(t,void 0,1,this.j,n.url,i,r);this.i=n.imageSize?n.imageSize:null;f(this.c,"change",this.o,this)}function yi(n){n=n||{};hi.call(this,{attributions:n.attributions,logo:n.logo,projection:n.projection,resolutions:n.resolutions});this.na=void 0!==n.crossOrigin?n.crossOrigin:null;this.l=n.url;this.C=void 0!==n.imageLoadFunction?n.imageLoadFunction:ftt;this.i=n.params||{};this.u=!0;cei(this);this.fa=n.serverType;this.xa=void 0!==n.hidpi?n.hidpi:!0;this.c=null;this.P=[0,0];this.Z=0;this.v=void 0!==n.ratio?n.ratio:1.5}function hei(n,t,i,r,u,f){if(li(void 0!==n.l,9),f[n.u?"CRS":"SRS"]=u.hb,"STYLES"in n.i||(f.STYLES=""),1!=r)switch(n.fa){case"geoserver":r=90*r+.5|0;f.FORMAT_OPTIONS="FORMAT_OPTIONS"in f?f.FORMAT_OPTIONS+(";dpi:"+r):"dpi:"+r;break;case"mapserver":f.MAP_RESOLUTION=90*r;break;case"carmentaserver":case"qgis":f.DPI=90*r;break;default:li(!1,8)}f.WIDTH=i[0];f.HEIGHT=i[1];i=u.b;var e;return e=n.u&&"ne"==i.substr(0,2)?[t[1],t[0],t[3],t[2]]:t,f.BBOX=e.join(","),lp(n.l,f)}function cei(n){n.u=0<=wlt(n.i.VERSION||"1.3.0")}function ii(n){n=n||{};var t;t=void 0!==n.attributions?n.attributions:[lit];pt.call(this,{attributions:t,cacheSize:n.cacheSize,crossOrigin:void 0!==n.crossOrigin?n.crossOrigin:"anonymous",opaque:void 0!==n.opaque?n.opaque:!0,maxZoom:void 0!==n.maxZoom?n.maxZoom:19,reprojectionErrorThreshold:n.reprojectionErrorThreshold,tileLoadFunction:n.tileLoadFunction,url:void 0!==n.url?n.url:"https://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png",wrapX:n.wrapX})}function fr(n){var t,i;for(this.C=null,this.xa=void 0!==n.operationType?n.operationType:kdi,this.Ja=void 0!==n.threads?n.threads:1,this.c=pdi(n.sources),t=0,i=this.c.length;t<i;++t)f(this.c[t],"change",this.s,this);this.i=ie();this.fa=new vk(function(){return 1},this.s.bind(this));for(var t=ydi(this.c),i={},r=0,u=t.length;r<u;++r)i[tt(t[r].layer)]=t[r];this.l=this.v=null;this.Z={animate:!1,attributions:{},coordinateToPixelTransform:re(),extent:null,focus:null,index:0,layerStates:i,layerStatesArray:t,logos:{},pixelRatio:1,pixelToCoordinateTransform:re(),postRenderFunctions:[],size:[0,0],skippedFeatureUids:{},tileQueue:this.fa,time:Date.now(),usedTiles:{},viewState:{rotation:0},viewHints:[],wantedTiles:{}};hi.call(this,{});void 0!==n.operation&&this.u(n.operation,n.lib)}function lei(n,t,i){var r=n.v;return!r||n.g!==r.bp||i!==r.resolution||!dp(t,r.extent)}function ydi(n){return n.map(function(n){return kg(n.a)})}function pdi(n){for(var u=n.length,f=Array(u),i=0;i<u;++i){var e=i,t=n[i],r=null;t instanceof gi?(t=new rt({source:t}),r=new te(t)):t instanceof hi&&(t=new ti({source:t}),r=new to(t));f[e]=r}return f}function rs(n,t,i){lr.call(this,n);this.extent=t.extent;this.resolution=t.viewState.resolution/t.pixelRatio;this.data=i}function ri(n){var t=n.layer.indexOf("-"),t=tgi[-1==t?n.layer:n.layer.slice(0,t)],i=ngi[n.layer];pt.call(this,{attributions:gdi,cacheSize:n.cacheSize,crossOrigin:"anonymous",maxZoom:void 0!=n.maxZoom?n.maxZoom:t.maxZoom,minZoom:void 0!=n.minZoom?n.minZoom:t.minZoom,opaque:i.opaque,reprojectionErrorThreshold:n.reprojectionErrorThreshold,tileLoadFunction:n.tileLoadFunction,url:void 0!==n.url?n.url:"https://stamen-tiles-{a-d}.a.ssl.fastly.net/"+n.layer+"/{z}/{x}/{y}."+i.Bb})}function ct(n){n=n||{};g.call(this,{attributions:n.attributions,cacheSize:n.cacheSize,crossOrigin:n.crossOrigin,logo:n.logo,projection:n.projection,reprojectionErrorThreshold:n.reprojectionErrorThreshold,tileGrid:n.tileGrid,tileLoadFunction:n.tileLoadFunction,url:n.url,urls:n.urls,wrapX:void 0!==n.wrapX?n.wrapX:!0});this.c=n.params||{};this.o=lo();cp(this,aei(this))}function aei(n){var r=0,i=[],t;for(t in n.c)i[r++]=t+"-"+n.c[t];return i.join("/")}function yr(n){gi.call(this,{opaque:!1,projection:n.projection,tileGrid:n.tileGrid,wrapX:void 0!==n.wrapX?n.wrapX:!0})}function dct(n,t,i){we.call(this,n,yo);this.i=t;this.f=i;this.g=null}function kt(n){if(this.c=null,g.call(this,{attributions:n.attributions,cacheSize:n.cacheSize,crossOrigin:n.crossOrigin,projection:ai("EPSG:3857"),reprojectionErrorThreshold:n.reprojectionErrorThreshold,state:"loading",tileLoadFunction:n.tileLoadFunction,wrapX:void 0!==n.wrapX?n.wrapX:!0}),n.jsonp)oit(n.url,this.Gh.bind(this),this.ue.bind(this));else{var t=new XMLHttpRequest;t.addEventListener("load",this.vn.bind(this));t.addEventListener("error",this.tn.bind(this));t.open("GET",n.url);t.send()}}function rr(n){if(gi.call(this,{projection:ai("EPSG:3857"),state:"loading"}),this.v=void 0!==n.preemptive?n.preemptive:!0,this.o=pct,this.i=void 0,this.c=n.jsonp||!1,n.url)if(this.c)oit(n.url,this.Kf.bind(this),this.ve.bind(this));else{var t=new XMLHttpRequest;t.addEventListener("load",this.zn.bind(this));t.addEventListener("error",this.yn.bind(this));t.open("GET",n.url);t.send()}else n.tileJSON?this.Kf(n.tileJSON):li(!1,51)}function gct(n,t,i,r,u,f){we.call(this,n,t);this.o=i;this.g=r;this.H=u;this.f=this.l=this.i=null;this.v=f}function igi(n,t,i,r,u){0==n.state&&!0===u?(sl(n,"change",function(){i.call(r,this.getData(t))},n),vei(n)):!0===u?setTimeout(function(){i.call(r,this.getData(t))}.bind(n),0):i.call(r,n.getData(t))}function vei(n){if(0==n.state)if(n.state=1,n.v)oit(n.o,n.Hh.bind(n),n.ge.bind(n));else{var t=new XMLHttpRequest;t.addEventListener("load",n.xn.bind(n));t.addEventListener("error",n.wn.bind(n));t.open("GET",n.o);t.send()}}function vt(n){n=n||{};var t=n.params||{};g.call(this,{attributions:n.attributions,cacheSize:n.cacheSize,crossOrigin:n.crossOrigin,logo:n.logo,opaque:!("TRANSPARENT"in t?t.TRANSPARENT:1),projection:n.projection,reprojectionErrorThreshold:n.reprojectionErrorThreshold,tileGrid:n.tileGrid,tileLoadFunction:n.tileLoadFunction,url:n.url,urls:n.urls,wrapX:void 0!==n.wrapX?n.wrapX:!0});this.u=void 0!==n.gutter?n.gutter:0;this.c=t;this.o=!0;this.A=n.serverType;this.U=void 0!==n.hidpi?n.hidpi:!0;this.P="";nlt(this);this.Z=lo();wei(this);cp(this,pei(this))}function yei(n,t,i,r,u,f,e){var o=n.urls;if(o){if(e.WIDTH=i[0],e.HEIGHT=i[1],e[n.o?"CRS":"SRS"]=f.hb,"STYLES"in n.c||(e.STYLES=""),1!=u)switch(n.A){case"geoserver":i=90*u+.5|0;e.FORMAT_OPTIONS="FORMAT_OPTIONS"in e?e.FORMAT_OPTIONS+(";dpi:"+i):"dpi:"+i;break;case"mapserver":e.MAP_RESOLUTION=90*u;break;case"carmentaserver":case"qgis":e.DPI=90*u;break;default:li(!1,52)}return f=f.b,n.o&&"ne"==f.substr(0,2)&&(n=r[0],r[0]=r[1],r[1]=n,n=r[2],r[2]=r[3],r[3]=n),e.BBOX=r.join(","),lp(1==o.length?o[0]:o[el((t[1]<<t[0])+t[2],o.length)],e)}}function nlt(n){var u=0,i=[],t,r;if(n.urls)for(t=0,r=n.urls.length;t<r;++t)i[u++]=n.urls[t];n.P=i.join("#")}function pei(n){var r=0,i=[],t;for(t in n.c)i[r++]=t+"-"+n.c[t];return i.join("/")}function wei(n){n.o=0<=wlt(n.c.VERSION||"1.3.0")}function rc(n,t,i,r,u){we.call(this,n,t);this.f=ie();this.l=r;this.i=null;this.g={xd:!1,bg:null,li:-1,cg:-1,jd:null};this.H=u;this.o=i}function rgi(n,t){n.wi(ont(t,n.l,n.ho.bind(n),n.fo.bind(n)))}function ei(n){gt.call(this,{attributions:n.attributions,cacheSize:void 0!==n.cacheSize?n.cacheSize:128,extent:n.extent,logo:n.logo,opaque:!1,projection:n.projection,state:n.state,tileGrid:n.tileGrid,tileLoadFunction:n.tileLoadFunction?n.tileLoadFunction:rgi,tileUrlFunction:n.tileUrlFunction,tilePixelRatio:n.tilePixelRatio,url:n.url,urls:n.urls,wrapX:void 0===n.wrapX?!0:n.wrapX});this.c=n.format?n.format:null;this.i=void 0==n.overlaps?!0:n.overlaps;this.tileClass=n.tileClass?n.tileClass:rc}function wf(n){this.l=n.matrixIds;pf.call(this,{extent:n.extent,origin:n.origin,origins:n.origins,resolutions:n.resolutions,tileSize:n.tileSize,tileSizes:n.tileSizes,sizes:n.sizes})}function bei(n,t,i){var u=[],f=[],r=[],e=[],o=[],s=void 0!==i?i:[],h,c;return i=ai(n.SupportedCRS.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3")),h=i.ic(),c="ne"==i.b.substr(0,2),n.TileMatrix.sort(function(n,t){return t.ScaleDenominator-n.ScaleDenominator}),n.TileMatrix.forEach(function(n){var t,i,l;t=0<s.length?tk(s,function(t){return n.Identifier==t.TileMatrix}):!0;t&&(f.push(n.Identifier),t=.00028*n.ScaleDenominator/h,i=n.TileWidth,l=n.TileHeight,c?r.push([n.TopLeftCorner[1],n.TopLeftCorner[0]]):r.push(n.TopLeftCorner),u.push(t),e.push(i==l?i:[i,l]),o.push([n.MatrixWidth,-n.MatrixHeight]))}),new wf({extent:t,origins:r,resolutions:u,matrixIds:f,tileSizes:e,sizes:o})}function nt(n){function o(n){return n=r==ap?lp(n,i):n.replace(/\{(\w+?)\}/g,function(n,t){return t.toLowerCase()in i?i[t.toLowerCase()]:n}),function(t){if(t){var i={TileMatrix:u.l[t[0]],TileCol:t[1],TileRow:-t[2]-1};return er(i,f),t=n,r==ap?lp(t,i):t.replace(/\{(\w+?)\}/g,function(n,t){return i[t]})}}}var t,f,e;this.Z=void 0!==n.version?n.version:"1.0.0";this.u=void 0!==n.format?n.format:"image/jpeg";this.c=void 0!==n.dimensions?n.dimensions:{};this.A=n.layer;this.o=n.matrixSet;this.P=n.style;t=n.urls;void 0===t&&void 0!==n.url&&(t=rei(n.url));var r=this.U=void 0!==n.requestEncoding?n.requestEncoding:ap,u=n.tileGrid,i={layer:this.A,style:this.P,tilematrixset:this.o};r==ap&&er(i,{Service:"WMTS",Request:"GetTile",Version:this.Z,Format:this.u});f=this.c;e=t&&0<t.length?yct(t.map(o)):pct;g.call(this,{attributions:n.attributions,cacheSize:n.cacheSize,crossOrigin:n.crossOrigin,logo:n.logo,projection:n.projection,reprojectionErrorThreshold:n.reprojectionErrorThreshold,tileClass:n.tileClass,tileGrid:u,tileLoadFunction:n.tileLoadFunction,tilePixelRatio:n.tilePixelRatio,tileUrlFunction:e,urls:t,wrapX:void 0!==n.wrapX?n.wrapX:!1});cp(this,kei(this))}function kei(n){var r=0,i=[],t;for(t in n.c)i[r++]=t+"-"+n.c[t];return i.join("/")}function ui(n){n=n||{};var r=n.size,f=r[0],i=r[1],u=[],t=256;switch(void 0!==n.tierSizeCalculation?n.tierSizeCalculation:ilt){case ilt:for(;f>t||i>t;)u.push([Math.ceil(f/t),Math.ceil(i/t)]),t+=t;break;case dei:for(;f>t||i>t;)u.push([Math.ceil(f/t),Math.ceil(i/t)]),f>>=1,i>>=1;break;default:li(!1,53)}u.push([1,1]);u.reverse();for(var t=[1],e=[0],i=1,f=u.length;i<f;i++)t.push(1<<i),e.push(u[i-1][0]*u[i-1][1]+e[i-1]);t.reverse();var r=[0,-r[1],r[0],0],r=new pf({extent:r,origin:sc(r),resolutions:t}),o=n.url;g.call(this,{attributions:n.attributions,cacheSize:n.cacheSize,crossOrigin:n.crossOrigin,logo:n.logo,reprojectionErrorThreshold:n.reprojectionErrorThreshold,tileClass:tlt,tileGrid:r,tileUrlFunction:function(n){if(n){var t=n[0],i=n[1];return n=-n[2]-1,o+"TileGroup"+((i+n*u[t][0]+e[t])/256|0)+"/"+t+"-"+i+"-"+n+".jpg"}}})}function tlt(n,t,i,r,u){wc.call(this,n,t,i,r,u);this.f=null}function bd(n,t){this.b=t;this.a=[{x:0,y:0,width:n,height:n}];this.f={};this.g=ie(n,n);this.c=this.g.canvas}function gei(n,t,i,r){t=[t,1];0<i.width&&0<i.height&&t.push(i);0<r.width&&0<r.height&&t.push(r);n.a.splice.apply(n.a,t)}function noi(n){n=n||{};this.a=void 0!==n.initialSize?n.initialSize:256;this.g=void 0!==n.maxSize?n.maxSize:void 0!==ait?ait:2048;this.b=void 0!==n.space?n.space:1;this.c=[new bd(this.a,this.b)];this.f=this.a;this.i=[new bd(this.f,this.b)]}function toi(n,t,i,r,u,f,e){for(var c=t?n.i:n.c,o,s=0,h=c.length;s<h;++s){if(o=c[s],o=o.add(i,r,u,f,e))return o;o||s!==h-1||(t?(o=Math.min(2*n.f,n.g),n.f=o):(o=Math.min(2*n.a,n.g),n.a=o),o=new bd(o,n.b),c.push(o),++h)}return null}var rlt={},n,ioi=this,ait,ult,roi=0,flt,er,ng,wa,fg,gc,uk,irt,oy,hy,hvt,cvt,lvt,wvt,ag,sut,hut,cut,lk,wut,wg,yo,bg,eft,fpt,dg,aft,fv,nn,un,fn,en,pl,vn,pwt,gft,bwt,kwt,ky,ibt,ubt,ebt,sbt,cbt,dbt,nkt,fkt,okt,skt,hkt,ckt,lkt,udt,fdt,odt,hdt,ldt,adt,vdt,gdt,tgt,aet,ygt,not,rp,os,vnt,ynt,dnt,gnt,tti,uti,ke,hti,pst,sb,wtt,wst,bst,kst,btt,pd,dst,gst,nht,tht,iht,ep,ati,eri,sri,ari,lb,vb,dri,rui,uui,bui,fit,kui,ect,hfi,yfi,dfi,hct,nei,iei,wct,kct,lit,ny,ap,ilt,dei;i(kd,Error);flt=function(){return"cosh"in Math?Math.cosh:function(n){return n=Math.exp(n),(n+1/n)/2}}();er="function"==typeof Object.assign?Object.assign:function(n){var t,i;if(!n||!n)throw new TypeError("Cannot convert undefined or null to object");for(var u=Object(n),r=1,f=arguments.length;r<f;++r)if(t=arguments[r],void 0!==t&&null!==t)for(i in t)t.hasOwnProperty(i)&&(u[i]=t[i]);return u};vp.prototype.zb=!1;vp.prototype.oa=ve;lr.prototype.preventDefault=lr.prototype.stopPropagation=function(){this.xo=!0};i(oo,vp);oo.prototype.addEventListener=function(n,t){var i=this.ra[n];i||(i=this.ra[n]=[]);-1===i.indexOf(t)&&i.push(t)};oo.prototype.b=function(n){var t="string"==typeof n?new lr(n):n,i,u,r,f;if(n=t.type,t.target=this,i=this.ra[n],i){for((n in this.va)||(this.va[n]=0,this.Qa[n]=0),++this.va[n],r=0,f=i.length;r<f;++r)if(!1===i[r].call(this,t)||t.xo){u=!1;break}if(--this.va[n],0===this.va[n]){for(t=this.Qa[n],delete this.Qa[n];t--;)this.removeEventListener(n,ve);delete this.va[n]}return u}};oo.prototype.oa=function(){clt(this)};oo.prototype.removeEventListener=function(n,t){var i=this.ra[n],r;i&&(r=i.indexOf(t),n in this.Qa?(i[r]=ve,++this.Qa[n]):(i.splice(r,1),0===i.length&&delete this.ra[n]))};i(ye,oo);n=ye.prototype;n.s=function(){++this.g;this.b("change")};n.M=function(){return this.g};n.J=function(n,t,i){if(Array.isArray(n)){for(var u=n.length,e=Array(u),r=0;r<u;++r)e[r]=f(this,n[r],t,i);return e}return f(this,n,t,i)};n.N=function(n,t,i){if(Array.isArray(n)){for(var u=n.length,f=Array(u),r=0;r<u;++r)f[r]=sl(this,n[r],t,i);return f}return sl(this,n,t,i)};n.K=function(n,t,i){if(Array.isArray(n))for(var r=0,u=n.length;r<u;++r)uc(this,n[r],t,i);else uc(this,n,t,i)};n.O=nk;i(oi,ye);ng={};n=oi.prototype;n.get=function(n){var t;return this.H.hasOwnProperty(n)&&(t=this.H[n]),t};n.S=function(){return Object.keys(this.H)};n.R=function(){return er({},this.H)};n.set=function(n,t,i){i?this.H[n]=t:(i=this.H[n],this.H[n]=t,i!==t&&alt(this,n,i))};n.I=function(n,t){for(var i in n)this.set(i,n[i],t)};n.T=function(n,t){if(n in this.H){var i=this.H[n];delete this.H[n];t||alt(this,n,i)}};wa="propertychange";i(vs,lr);hl.prototype.a=function(n){for(var i=0,r=n.length,u=n[r-1][0],f=n[r-1][1],t=0;t<r;t++)var e=n[t][0],o=n[t][1],i=i+as(e-u)*(2+Math.sin(as(f))+Math.sin(as(o))),u=e,f=o;return i*this.radius*this.radius/2};hl.prototype.b=function(n,t){var i=as(n[1]),r=as(t[1]),u=(r-i)/2,f=as(t[0]-n[0])/2,i=Math.sin(u)*Math.sin(u)+Math.sin(f)*Math.sin(f)*Math.cos(i)*Math.cos(r);return 2*this.radius*Math.atan2(Math.sqrt(i),Math.sqrt(1-i))};hl.prototype.offset=function(n,t,i){var r=as(n[1]),u;return t/=this.radius,u=Math.asin(Math.sin(r)*Math.cos(t)+Math.cos(r)*Math.sin(t)*Math.cos(i)),[180*(as(n[0])+Math.atan2(Math.sin(i)*Math.sin(t)*Math.cos(r),Math.cos(t)-Math.sin(r)*Math.sin(u)))/Math.PI,180*u/Math.PI]};fg=new hl(6370997);gc={};gc.degrees=2*Math.PI*fg.radius/360;gc.ft=.3048;gc.m=1;gc["us-ft"]=1200/3937;uk=null;n=yf.prototype;n.Zj=function(){return this.hb};n.G=function(){return this.f};n.Eb=function(){return this.c};n.ic=function(){return this.o||gc[this.c]};n.Jk=function(){return this.i};n.rl=function(){return this.g};n.hp=function(n){this.g=n;this.a=!(!n||!this.f)};n.Sm=function(n){this.f=n;this.a=!(!this.g||!n)};n.op=function(n){this.i=n};n.gp=function(n){this.l=n};irt={};oy={};i(bi,oi);n=bi.prototype;n.Cb=function(n,t){var i=t?t:[NaN,NaN];return this.Ab(n[0],n[1],i,Infinity),i};n.mb=function(n){return this.Hc(n[0],n[1])};n.Hc=nh;n.G=function(n){this.u!=this.g&&(this.v=this.Yd(this.v),this.u=this.g);var t=this.v;return n?(n[0]=t[0],n[1]=t[1],n[2]=t[2],n[3]=t[3]):n=t,n};n.Jb=function(n){return this.Bd(n*n)};n.ob=function(n,t){return this.sc(ea(n,t)),this};i(et,bi);n=et.prototype;n.Hc=nh;n.Yd=function(n){return dit(this.B,0,this.B.length,this.a,n)};n.Rb=function(){return this.B.slice(0,this.a)};n.ia=function(){return this.B};n.Sb=function(){return this.B.slice(this.B.length-this.a)};n.Tb=function(){return this.ka};n.Bd=function(n){var t,i;return(this.o!=this.g&&(ol(this.i),this.j=0,this.o=this.g),0>n||0!==this.j&&n<=this.j)?this:(t=n.toString(),this.i.hasOwnProperty(t))?this.i[t]:(i=this.$c(n),i.ia().length<this.B.length)?this.i[t]=i:(this.j=n,this)};n.$c=function(){return this};n.pa=function(){return this.a};n.sc=function(n){this.B&&(n(this.B,this.B,this.a),this.s())};n.rotate=function(n,t){var i=this.ia(),r,o;if(i){for(var v=i.length,s=this.pa(),f=i?i:[],h=Math.cos(n),c=Math.sin(n),l=t[0],a=t[1],e=0,u=0;u<v;u+=s)for(r=i[u]-l,o=i[u+1]-a,f[e++]=l+r*h-o*c,f[e++]=a+r*c+o*h,r=u+2;r<u+s;++r)f[e++]=i[r];i&&f.length!=e&&(f.length=e);this.s()}};n.scale=function(n,t,i){var s=t,r,f,l;if(void 0===s&&(s=n),r=i,r||(r=ah(this.G())),i=this.ia()){t=i.length;for(var h=this.pa(),e=i?i:[],c=r[0],r=r[1],o=0,u=0;u<t;u+=h)for(f=i[u]-c,l=i[u+1]-r,e[o++]=c+n*f,e[o++]=r+s*l,f=u+2;f<u+h;++f)e[o++]=i[f];i&&e.length!=o&&(e.length=o);this.s()}};n.translate=function(n,t){var i=this.ia();i&&(da(i,i.length,this.pa(),n,t,i),this.s())};i(yt,et);n=yt.prototype;n.clone=function(){var n=new yt(null);return fw(n,this.ka,this.B.slice()),n};n.Ab=function(n,t,i,r){return r<fy(this.G(),n,t)?r:(this.c!=this.g&&(this.l=Math.sqrt(srt(this.B,0,this.B.length,this.a,0)),this.c=this.g),crt(this.B,0,this.B.length,this.a,this.l,!0,n,t,i,r))};n.rm=function(){return ort(this.B,0,this.B.length,this.a)};n.$=function(){return fk(this.B,0,this.B.length,this.a)};n.$c=function(n){var t=[];return t.length=yrt(this.B,0,this.B.length,this.a,n,t,0),n=new yt(null),fw(n,"XY",t),n};n.Y=function(){return"LinearRing"};n.qa=function(n,t){n?(ga(this,t,n,1),this.B||(this.B=[]),this.B.length=hg(this.B,0,n,this.a),this.s()):fw(this,"XY",null)};i(a,et);n=a.prototype;n.clone=function(){var n=new a(null);return n.da(this.ka,this.B.slice()),n};n.Ab=function(n,t,i,r){var u=this.B;if(n=ty(n,t,u[0],u[1]),n<r){for(r=this.a,t=0;t<r;++t)i[t]=u[t];return i.length=r,n}return r};n.$=function(){return this.B?this.B.slice():[]};n.Yd=function(n){return ik(this.B,n)};n.Y=function(){return"Point"};n.Ta=function(n){return rg(n,this.B[0],this.B[1])};n.qa=function(n,t){n?(ga(this,t,n,0),this.B||(this.B=[]),this.B.length=cat(this.B,n),this.s()):this.da("XY",null)};n.da=function(n,t){cl(this,n,t);this.s()};i(c,et);n=c.prototype;n.Fj=function(n){this.B?cf(this.B,n.ia()):this.B=n.ia().slice();this.c.push(this.B.length);this.s()};n.clone=function(){var n=new c(null);return n.da(this.ka,this.B.slice(),this.c.slice()),n};n.Ab=function(n,t,i,r){return r<fy(this.G(),n,t)?r:(this.D!=this.g&&(this.L=Math.sqrt(hrt(this.B,0,this.c,this.a,0)),this.D=this.g),lrt(this.B,0,this.c,this.a,this.L,!0,n,t,i,r))};n.Hc=function(n,t){return prt(this.Vb(),0,this.c,this.a,n,t)};n.um=function(){return sat(this.Vb(),0,this.c,this.a)};n.$=function(n){var t;return void 0!==n?(t=this.Vb().slice(),brt(t,0,this.c,this.a,n)):t=this.B,vrt(t,0,this.c,this.a)};n.Kb=function(){return this.c};n.ik=function(){return new a(krt(this))};n.nk=function(){return this.c.length};n.Qg=function(n){if(0>n||this.c.length<=n)return null;var t=new yt(null);return fw(t,this.ka,this.B.slice(0===n?0:this.c[n-1],this.c[n])),t};n.Zc=function(){for(var o=this.ka,s=this.B,r=this.c,u=[],f=0,t,i,n=0,e=r.length;n<e;++n)t=r[n],i=new yt(null),fw(i,o,s.slice(f,t)),u.push(i),f=t;return u};n.Vb=function(){if(this.P!=this.g){var n=this.B;pat(n,this.c,this.a)?this.l=n:(this.l=n.slice(),this.l.length=brt(this.l,0,this.c,this.a));this.P=this.g}return this.l};n.$c=function(n){var t=[],i=[];return t.length=lat(this.B,0,this.c,this.a,Math.sqrt(n),t,0,i),n=new c(null),n.da("XY",t,i),n};n.Y=function(){return"Polygon"};n.Ta=function(n){return yat(this.Vb(),0,this.c,this.a,n)};n.qa=function(n,t){if(n){ga(this,t,n,2);this.B||(this.B=[]);var i=art(this.B,0,n,this.a,this.c);this.B.length=0===i.length?0:i[i.length-1];this.s()}else this.da("XY",null,this.c)};n.da=function(n,t,i){cl(this,n,t);this.c=i;this.s()};i(ot,oi);n=ot.prototype;n.animate=function(){var e=Date.now(),o=this.fb().slice(),r=this.Oa(),s=this.Ra(),i=arguments.length,h,f,u,t,n;for(1<i&&"function"==typeof arguments[i-1]&&(h=arguments[i-1],--i),f=[],u=0;u<i;++u)t=arguments[u],n={start:e,complete:!1,anchor:t.anchor,duration:void 0!==t.duration?t.duration:1e3,easing:t.easing||uy},t.center&&(n.fg=o,n.hg=t.center,o=n.hg),void 0!==t.zoom?(n.Me=r,n.Ne=this.constrainResolution(this.a,t.zoom-this.l,0),r=n.Ne):t.resolution&&(n.Me=r,n.Ne=t.resolution,r=n.Ne),void 0!==t.rotation&&(n.gg=s,n.Hi=t.rotation,s=n.Hi),n.Vc=h,e+=n.duration,f.push(n);this.f.push(f);ko(this,ne,1);this.Pe()};n.Pe=function(){var n,i,e;if(void 0!==this.v&&(cancelAnimationFrame(this.v),this.v=void 0),0<oa(this)[ne]){for(var s=Date.now(),t=!1,u=this.f.length-1;0<=u;--u){for(var r=this.f[u],o=!0,f=0,h=r.length;f<h;++f)if(n=r[f],!n.complete&&(t=s-n.start,t=0<n.duration?t/n.duration:1,1<=t?(n.complete=!0,t=1):o=!1,t=n.easing(t),n.fg&&(i=n.fg[0],e=n.fg[1],this.set(ew,[i+t*(n.hg[0]-i),e+t*(n.hg[1]-e)])),n.Me&&(i=n.Me+t*(n.Ne-n.Me),n.anchor&&this.set(ew,drt(this,i,n.anchor)),this.set(ok,i)),void 0!==n.gg&&(t=n.gg+t*(n.Hi-n.gg),n.anchor&&this.set(ew,gat(this,t,n.anchor)),this.set(tv,t)),t=!0,!n.complete))break;o&&(this.f[u]=null,ko(this,ne,-1),(r=r[0].Vc)&&r(!0))}this.f=this.f.filter(Boolean);t&&void 0===this.v&&(this.v=requestAnimationFrame(this.Pe))}};n.Zd=function(n){return this.u.center(n)};n.constrainResolution=function(n,t,i){return this.u.resolution(n,t||0,i||0)};n.constrainRotation=function(n,t){return this.u.rotation(n,t||0)};n.fb=function(){return this.get(ew)};n.Uc=function(n){var r=this.fb(),t,i;return li(r,1),t=this.Oa(),li(void 0!==t,2),i=this.Ra(),li(void 0!==i,3),trt(r,t,i,n)};n.Zl=function(){return this.a};n.$l=function(){return this.j};n.am=function(){return this.o};n.Oa=function(){return this.get(ok)};n.bm=function(){return this.c};n.Ra=function(){return this.get(tv)};n.W=function(){var t=this.fb(),n=this.o,i=this.Oa(),r=this.Ra();return{center:t.slice(),projection:void 0!==n?n:null,resolution:i,rotation:r}};n.Kk=function(){var t,i=this.Oa(),r,n;if(void 0!==i&&i>=this.j&&i<=this.a){if(t=this.l||0,this.c){if(n=tg(this.c,i,1),t+=n,n==this.c.length-1)return t;r=this.c[n];n=r/this.c[n+1]}else r=this.a,n=this.A;t+=Math.log(r/i)/Math.log(n)}return t};n.lf=function(n,t,i){var o,y;n instanceof et||(li(Array.isArray(n),24),li(!tw(n),25),n=cg(n));i=i||{};var r=void 0!==i.padding?i.padding:[0,0,0,0],b=void 0!==i.constrainResolution?i.constrainResolution:!0,h=void 0!==i.nearest?i.nearest:!1,f=void 0!==i.minResolution?i.minResolution:void 0!==i.maxZoom?this.constrainResolution(this.a,i.maxZoom-this.l,0):0;var s=n.ia(),u=this.Ra(),e=Math.cos(-u),u=Math.sin(-u),c=Infinity,l=Infinity,a=-Infinity,v=-Infinity;for(n=n.pa(),o=0,y=s.length;o<y;o+=n)var p=s[o]*e-s[o+1]*u,w=s[o]*u+s[o+1]*e,c=Math.min(c,p),l=Math.min(l,w),a=Math.max(a,p),v=Math.max(v,w);t=grt([c,l,a,v],[t[0]-r[1]-r[3],t[1]-r[0]-r[2]]);t=isNaN(t)?f:Math.max(t,f);b&&(f=this.constrainResolution(t,0,0),!h&&f<t&&(f=this.constrainResolution(f,-1,0)),t=f);u=-u;h=(c+a)/2+(r[1]-r[3])/2*t;r=(l+v)/2+(r[0]-r[2])/2*t;e=[h*e-r*u,r*e+h*u];void 0!==i.duration?this.animate({resolution:t,center:e,duration:i.duration,easing:i.easing}):(this.Oc(t),this.Mb(e))};n.Kj=function(n,t,i){var r=this.Ra(),f=Math.cos(-r),r=Math.sin(-r),u=n[0]*f-n[1]*r,e;n=n[1]*f+n[0]*r;e=this.Oa();u=u+(t[0]/2-i[0])*e;n+=(i[1]-t[1]/2)*e;r=-r;this.Mb([u*f-n*r,n*f+u*r])};n.rotate=function(n,t){if(void 0!==t){var i=gat(this,n,t);this.Mb(i)}this.pe(n)};n.Mb=function(n){this.set(ew,n);0<oa(this)[ne]&&ek(this)};n.Oc=function(n){this.set(ok,n);0<oa(this)[ne]&&ek(this)};n.pe=function(n){this.set(tv,n);0<oa(this)[ne]&&ek(this)};n.pp=function(n){n=this.constrainResolution(this.a,n-this.l,0);this.Oc(n)};var ew="center",ok="resolution",tv="rotation",ne=0;hy=[0,0,0];n=pf.prototype;n.Hg=function(n,t,i){var r,f,u,e;for(n=hc(this,n,t),r=n.ea,f=n.ca;r<=f;++r)for(u=n.ga,e=n.ja;u<=e;++u)i([t,r,u])};n.G=function(){return this.v};n.Rg=function(){return this.maxZoom};n.Sg=function(){return this.minZoom};n.Kc=function(n){return this.g?this.g:this.f[n]};n.Ha=function(n){return this.b[n]};n.Wh=function(){return this.b};n.Na=function(n,t){var i=this.Kc(n[0]),r=this.Ha(n[0]),u=th(this.Za(n[0]),this.j),f=i[0]+n[1]*u[0]*r,i=i[1]+n[2]*u[1]*r;return oc(f,i,f+u[0]*r,i+u[1]*r,t)};n.fe=function(n,t,i){return lg(this,n[0],n[1],t,!1,i)};n.wf=function(n,t,i){return t=this.Ha(t),lg(this,n[0],n[1],t,!1,i)};n.Za=function(n){return this.i?this.i:this.c[n]};n.Ec=function(n,t){return eo(tg(this.b,n,t||0),this.minZoom,this.maxZoom)};yh.prototype.g=function(){return this.b};i(ft,oi);n=ft.prototype;n.clear=function(){for(;0<this.Ub();)this.pop()};n.Bf=function(n){for(var t=0,i=n.length;t<i;++t)this.push(n[t]);return this};n.forEach=function(n,t){this.a.forEach(n,t)};n.Il=function(){return this.a};n.item=function(n){return this.a[n]};n.Ub=function(){return this.get(svt)};n.ke=function(n,t){this.a.splice(n,0,t);uut(this);this.b(new go(ll,t))};n.pop=function(){return this.Zf(this.Ub()-1)};n.push=function(n){var t=this.Ub();return this.ke(t,n),this.Ub()};n.remove=function(n){for(var i=this.a,t=0,r=i.length;t<r;++t)if(i[t]===n)return this.Zf(t)};n.Zf=function(n){var t=this.a[n];return this.a.splice(n,1),uut(this),this.b(new go(al,t)),t};n.ep=function(n,t){var i=this.Ub();if(n<i)i=this.a[n],this.a[n]=t,this.b(new go(al,i)),this.b(new go(ll,t));else{for(;i<n;++i)this.ke(i,void 0);this.ke(n,t)}};var svt="length",ll="add",al="remove";i(go,lr);hvt=/^#(?:[0-9a-f]{3}){1,2}$/i;cvt=/^([a-z]*)$/i;lvt=function(){var n={},t=0;return function(i){var r,f,u,e;if(n.hasOwnProperty(i))r=n[i];else{if(1024<=t){r=0;for(f in n)0==(r++&3)&&(delete n[f],--t)}r=i;cvt.exec(r)&&(f=document.createElement("div"),f.style.color=r,document.body.appendChild(f),r=getComputedStyle(f).color,document.body.removeChild(f));hvt.exec(r)?(u=r.length-1,li(3==u||6==u,54),e=3==u?1:2,u=parseInt(r.substr(1+0*e,e),16),f=parseInt(r.substr(1+1*e,e),16),r=parseInt(r.substr(1+2*e,e),16),1==e&&(u=(u<<4)+u,f=(f<<4)+f,r=(r<<4)+r),u=[u,f,r,1]):0==r.indexOf("rgba(")?(r=r.slice(5,-1).split(",").map(Number),u=avt(r)):0==r.indexOf("rgb(")?(r=r.slice(4,-1).split(",").map(Number),r.push(1),u=avt(r)):li(!1,14);r=u;n[i]=r;++t}return r}}();i(ho,lr);i(ni,oi);ni.prototype.oa=function(){sw(this.element);oi.prototype.oa.call(this)};ni.prototype.i=function(){return this.a};ni.prototype.setMap=function(n){this.a&&sw(this.element);for(var t=0,i=this.v.length;t<i;++t)au(this.v[t]);this.v.length=0;(this.a=n)&&((this.P?this.P:n.u).appendChild(this.element),this.render!==ve&&this.v.push(f(n,"postrender",this.render,this)),n.render())};ni.prototype.c=function(n){this.P="string"==typeof n?document.getElementById(n):n};i(hr,ni);n=hr.prototype;n.em=function(n){n.preventDefault();fut(this)};n.dm=function(){return this.l};n.gm=function(n){this.l!==n&&(this.l=n,this.element.classList.toggle("ol-uncollapsible"),!n&&this.f&&fut(this))};n.fm=function(n){this.l&&this.f!==n&&fut(this)};n.cm=function(){return this.f};i(vu,ni);vu.prototype.C=function(n){n.preventDefault();yvt()&&(n=this.a)&&(eut()?document.exitFullscreen?document.exitFullscreen():document.msExitFullscreen?document.msExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen():(n=this.j?"string"==typeof this.j?document.getElementById(this.j):this.j:n.Cc(),this.A?n.mozRequestFullScreenWithKeys?n.mozRequestFullScreenWithKeys():n.webkitRequestFullscreen?n.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT):pvt(n):pvt(n)))};vu.prototype.u=function(){var n=this.element.firstElementChild,t=this.a;eut()?(n.className=this.f+"-true",ow(this.o,this.l)):(n.className=this.f+"-false",ow(this.l,this.o));t&&t.ld()};vu.prototype.setMap=function(n){ni.prototype.setMap.call(this,n);n&&this.v.push(f(document,wvt(),this.u,this))};wvt=function(){var n;return function(){if(!n){var t=document.body;t.webkitRequestFullscreen?n="webkitfullscreenchange":t.mozRequestFullScreen?n="mozfullscreenchange":t.msRequestFullscreen?n="MSFullscreenChange":t.requestFullscreen&&(n="fullscreenchange")}return n}}();i(yu,ni);yu.prototype.A=function(n){n.preventDefault();void 0!==this.l?this.l():(n=this.a.aa())&&void 0!==n.Ra()&&(0<this.o?n.animate({rotation:0,duration:this.o,easing:dc}):n.pe(0))};i(hu,ni);hu.prototype.j=function(n,t){var i,r;t.preventDefault();i=this.a.aa();i&&(r=i.Oa(),r&&(r=i.constrainResolution(r,n),0<this.f?(0<oa(i)[ne]&&ek(i),i.animate({resolution:r,duration:this.f,easing:dc})):i.Oc(r)))};i(ar,ni);n=ar.prototype;n.hm=function(){this.j=null};n.Lg=function(){return this.get(sut)};n.rh=function(){return this.get(ag)};n.$k=function(n){this.l=this.a.ce(n);out(this,this.l)};n.al=function(){out(this,null);this.l=null};n.setMap=function(n){ni.prototype.setMap.call(this,n);n&&(n=n.f,this.v.push(f(n,"mousemove",this.$k,this),f(n,"mouseout",this.al,this)))};n.oi=function(n){this.set(sut,n)};n.sh=function(n){this.set(ag,n)};ag="projection";sut="coordinateFormat";i(kf,ho);kf.prototype.preventDefault=function(){ho.prototype.preventDefault.call(this);this.originalEvent.preventDefault()};kf.prototype.stopPropagation=function(){ho.prototype.stopPropagation.call(this);this.originalEvent.stopPropagation()};hut={Np:"singleclick",Cp:"click",Dp:"dblclick",Gp:"pointerdrag",Jp:"pointermove",Fp:"pointerdown",Mp:"pointerup",Lp:"pointerover",Kp:"pointerout",Hp:"pointerenter",Ip:"pointerleave",Ep:"pointercancel"};i(lf,kf);cut=["experimental-webgl","webgl","webkit-3d","moz-webgl"];var lut,hw="undefined"!=typeof navigator?navigator.userAgent.toLowerCase():"",isi=-1!==hw.indexOf("firefox"),rsi=-1!==hw.indexOf("safari")&&-1==hw.indexOf("chrom"),usi=-1!==hw.indexOf("webkit")&&-1==hw.indexOf("edge"),nyt=-1!==hw.indexOf("macintosh"),vg=window.devicePixelRatio||1,ck=!1,tyt=function(){if(!("HTMLCanvasElement"in window))return!1;try{var n=document.createElement("CANVAS").getContext("2d");return n?(void 0!==n.setLineDash&&(ck=!0),!0):!1}catch(t){return!1}}(),iyt="DeviceOrientationEvent"in window,ryt="geolocation"in navigator,aut="ontouchstart"in window,fsi="PointerEvent"in window,esi=!!navigator.msPointerEnabled,uyt=!1,fyt,eyt=[];if("WebGLRenderingContext"in window)try{lk=gvt(document.createElement("CANVAS"),{failIfMajorPerformanceCaveat:!0});lk&&(uyt=!0,fyt=lk.getParameter(lk.MAX_TEXTURE_SIZE),eyt=lk.getSupportedExtensions())}catch(ugi){}lut=uyt;ult=eyt;ait=fyt;i(vut,rv);n=vut.prototype;n.tl=function(n){if(!ak(this,n)){if(1..toString()in this.a){var t=cw(n);vo(this.b,"pointercancel",t,n);delete this.a[1..toString()]}t=cw(n);this.a[1..toString()]=n;vo(this.b,"pointerdown",t,n)}};n.ul=function(n){if(!ak(this,n)){var t=cw(n);vo(this.b,"pointermove",t,n)}};n.xl=function(n){if(!ak(this,n)){var t=this.a[1..toString()];t&&t.button===n.button&&(t=cw(n),vo(this.b,"pointerup",t,n),delete this.a[1..toString()])}};n.wl=function(n){if(!ak(this,n)){var t=cw(n);nft(this.b,t,n)}};n.vl=function(n){if(!ak(this,n)){var t=cw(n);gut(this.b,t,n)}};i(yut,rv);n=yut.prototype;n.Cl=function(n){this.a[n.pointerId.toString()]=n;var t=lw(this,n);vo(this.b,"pointerdown",t,n)};n.Dl=function(n){var t=lw(this,n);vo(this.b,"pointermove",t,n)};n.Gl=function(n){var t=lw(this,n);vo(this.b,"pointerup",t,n);delete this.a[n.pointerId.toString()]};n.El=function(n){var t=lw(this,n);gut(this.b,t,n)};n.Fl=function(n){var t=lw(this,n);nft(this.b,t,n)};n.Bl=function(n){var t=lw(this,n);vo(this.b,"pointercancel",t,n);delete this.a[n.pointerId.toString()]};n.Al=function(n){this.b.b(new ph("lostpointercapture",n,n))};n.zl=function(n){this.b.b(new ph("gotpointercapture",n,n))};i(put,rv);n=put.prototype;n.po=function(n){uv(this.b,n)};n.qo=function(n){uv(this.b,n)};n.to=function(n){uv(this.b,n)};n.ro=function(n){uv(this.b,n)};n.so=function(n){uv(this.b,n)};n.oo=function(n){uv(this.b,n)};n.sl=function(n){uv(this.b,n)};n.Lk=function(n){uv(this.b,n)};i(ph,lr);wut=!1;try{wut=1===new MouseEvent("click",{buttons:1}).buttons}catch(ugi){}i(but,rv);n=but.prototype;n.mi=function(){this.i=0;this.f=void 0};n.up=function(n){var r=n.touches,u=Object.keys(this.a),s=u.length,f,t,e,h,i,c,o;if(s>=r.length){for(f=[],t=0;t<s;++t){if(e=u[t],h=this.a[e],!(i=1==e))n:{for(i=r.length,o=0;o<i;o++)if(c=r[o],c.identifier===e-2){i=!0;break n}i=!1}i||f.push(h.out)}for(t=0;t<f.length;++t)this.ef(n,f[t])}r=n.changedTouches[0];u=Object.keys(this.a).length;(0===u||1===u&&1..toString()in this.a)&&(this.g=r.identifier,void 0!==this.f&&clearTimeout(this.f));oyt(this,n);this.i++;yg(this,n,this.ko)};n.ko=function(n,t){this.a[t.pointerId]={target:t.target,out:t,Xh:t.target};var i=this.b;t.bubbles=!0;vo(i,"pointerover",t,n);i=this.b;t.bubbles=!1;vo(i,"pointerenter",t,n);vo(this.b,"pointerdown",t,n)};n.tp=function(n){n.preventDefault();yg(this,n,this.yl)};n.yl=function(n,t){var i=this.a[t.pointerId],r,u;i&&(r=i.out,u=i.Xh,vo(this.b,"pointermove",t,n),r&&u!==t.target&&(r.relatedTarget=t.target,t.relatedTarget=u,r.target=u,t.target?(gut(this.b,r,n),nft(this.b,t,n)):(t.target=u,t.relatedTarget=null,this.ef(n,t))),i.out=t,i.Xh=t.target)};n.sp=function(n){oyt(this,n);yg(this,n,this.vp)};n.vp=function(n,t){vo(this.b,"pointerup",t,n);this.b.out(t,n);dut(this.b,t,n);delete this.a[t.pointerId];t.isPrimary&&(this.g=void 0,this.f=setTimeout(this.mi.bind(this),200))};n.rp=function(n){yg(this,n,this.ef)};n.ef=function(n,t){vo(this.b,"pointercancel",t,n);this.b.out(t,n);dut(this.b,t,n);delete this.a[t.pointerId];t.isPrimary&&(this.g=void 0,this.f=setTimeout(this.mi.bind(this),200))};i(ay,oo);ay.prototype.f=function(n){var t=this.c[n.type];t&&t(n)};ay.prototype.out=function(n,t){n.bubbles=!0;vo(this,"pointerout",n,t)};ay.prototype.oa=function(){for(var i=this.a.length,t,n=0;n<i;n++)t=this.a[n],lsi(this,Object.keys(t.c));oo.prototype.oa.call(this)};wg=[["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]];i(tft,oo);n=tft.prototype;n.$g=function(n){syt(this,n);var t=new lf("pointerup",this.f,n);this.b(t);this.l||0!==n.button||asi(this,this.g);0===this.u&&(this.c.forEach(au),this.c.length=0,this.l=!1,this.g=null,fc(this.a),this.a=null)};n.cl=function(n){syt(this,n);var t=new lf("pointerdown",this.f,n);this.b(t);this.g=n;0===this.c.length&&(this.a=new ay(document),this.c.push(f(this.a,"pointermove",this.Vl,this),f(this.a,"pointerup",this.$g,this),f(this.i,"pointercancel",this.$g,this)))};n.Vl=function(n){if(n.clientX!=this.g.clientX||n.clientY!=this.g.clientY){this.l=!0;var t=new lf("pointerdrag",this.f,n,this.l);this.b(t)}n.preventDefault()};n.So=function(n){this.b(new lf(n.type,this.f,n,!(!this.g||n.clientX==this.g.clientX&&n.clientY==this.g.clientY)))};n.oa=function(){this.v&&(au(this.v),this.v=null);this.o&&(au(this.o),this.o=null);this.c.forEach(au);this.c.length=0;this.a&&(fc(this.a),this.a=null);this.i&&(fc(this.i),this.i=null);oo.prototype.oa.call(this)};i(we,oo);we.prototype.s=function(){this.b("change")};we.prototype.bb=function(){return this.key+"/"+this.Ca};we.prototype.c=function(){return this.Ca};we.prototype.W=function(){return this.state};yo=2;aw.prototype.clear=function(){this.b.length=0;this.g.length=0;ol(this.a)};aw.prototype.c=function(n){li(!(this.f(n)in this.a),31);var t=this.o(n);return Infinity!=t?(this.b.push(n),this.g.push(t),this.a[this.f(n)]=!0,ayt(this,0,this.b.length-1),!0):!1};i(vk,aw);vk.prototype.c=function(n){var t=aw.prototype.c.call(this,n);return t&&f(n[0],"change",this.l,this),t};vk.prototype.l=function(n){n=n.target;var t=n.W();(t===yo||3===t||4===t||5===t)&&(uc(n,"change",this.l,this),n=n.bb(),n in this.i&&(delete this.i[n],--this.j),this.v())};i(pi,oi);pi.prototype.f=function(){return this.get(bg)};pi.prototype.c=function(){return this.v};pi.prototype.Ea=function(n){this.set(bg,n)};pi.prototype.setMap=function(n){this.v=n};bg="active";i(tf,pi);i(dt,pi);dt.prototype.Qc=function(n){return n};i(wu,dt);wu.prototype.Qc=nh;i(bu,dt);bu.prototype.Qc=nh;i(bk,vp);bk.prototype.oa=function(){this.setMap(null)};bk.prototype.setMap=function(n){if(this.b){this.b.A.removeChild(this.a);var t=this.a.style;t.left=t.top=t.width=t.height="inherit"}(this.b=n)&&this.b.A.appendChild(this.a)};bk.prototype.V=function(){return this.f};i(nu,dt);nu.prototype.V=function(){return this.a.V()};nu.prototype.j=ve;var ihi="boxstart",rhi="boxdrag",uhi="boxend";i(fs,lr);i(cu,nu);cu.prototype.j=function(){var t=this.v,u=t.aa(),i=t.nb(),n=this.V().G();if(this.D){for(var f=u.Uc(i),n=[t.Ga(ba(n)),t.Ga(ey(n))],t=oc(Infinity,Infinity,-Infinity,-Infinity,void 0),r=0,e=n.length;r<e;++r)gp(t,n[r]);ug(f,1/grt(t,i));n=f}i=u.constrainResolution(grt(n,i));u.animate({resolution:i,center:ah(n),duration:this.C,easing:dc})};i(rf,pi);i(uf,pi);i(tu,pi);tu.prototype.C=function(){this.o=void 0;ko(this.v.aa(),1,-1)};tu.prototype.D=function(n){n=n.aa();0<oa(n)[ne]&&ek(n);ift(n,-eo(this.j,-1,1),this.a,this.L);this.l=void 0;this.j=0;this.a=null;this.u=this.i=void 0};tu.prototype.P=function(n){this.A=n;n||(this.a=null)};eft="trackpad";fpt="wheel";i(ku,dt);ku.prototype.Qc=nh;i(du,dt);du.prototype.Qc=nh;i(si,oi);n=si.prototype;n.G=function(){return this.get(opt)};n.Wb=function(){return this.get(cft)};n.Xb=function(){return this.get(lft)};n.Yb=function(){return this.get(oft)};n.Fb=function(){return this.get(sft)};n.Zb=function(){return this.get(hft)};n.kc=function(n){this.set(opt,n)};n.pc=function(n){this.set(cft,n)};n.qc=function(n){this.set(lft,n)};n.lc=function(n){this.set(oft,n)};n.mc=function(n){this.set(sft,n)};n.nc=function(n){this.set(hft,n)};var oft="opacity",sft="visible",opt="extent",hft="zIndex",cft="maxResolution",lft="minResolution";i(fi,si);n=fi.prototype;n.ie=function(){this.Fb()&&this.s()};n.Wk=function(){var t,n,r,i;this.c.forEach(au);this.c.length=0;n=this.cd();this.c.push(f(n,ll,this.Vk,this),f(n,al,this.Xk,this));for(t in this.f)this.f[t].forEach(au);for(ol(this.f),n=n.a,t=0,r=n.length;t<r;t++)i=n[t],this.f[tt(i).toString()]=[f(i,wa,this.ie,this),f(i,"change",this.ie,this)];this.s()};n.Vk=function(n){n=n.element;var t=tt(n).toString();this.f[t]=[f(n,wa,this.ie,this),f(n,"change",this.ie,this)];this.s()};n.Xk=function(n){n=tt(n.element).toString();this.f[n].forEach(au);delete this.f[n];this.s()};n.cd=function(){return this.get(dg)};n.yh=function(n){this.set(dg,n)};n.sf=function(n){var i=void 0!==n?n:[],r=i.length,u,t;for(this.cd().forEach(function(n){n.sf(i)}),n=kg(this),u=i.length;r<u;r++)t=i[r],t.opacity*=n.opacity,t.visible=t.visible&&n.visible,t.maxResolution=Math.min(t.maxResolution,n.maxResolution),t.minResolution=Math.max(t.minResolution,n.minResolution),void 0!==n.extent&&(t.extent=void 0!==t.extent?fa(t.extent,n.extent):n.extent);return i};n.uf=function(){return"ready"};dg="layers";i(spt,yf);var yl=6378137*Math.PI,lhi=[-yl,-yl,yl,yl],ahi=[-180,-85,180,85],hpt="EPSG:3857 EPSG:102100 EPSG:102113 EPSG:900913 urn:ogc:def:crs:EPSG:6.18:3:3857 urn:ogc:def:crs:EPSG::3857 http://www.opengis.net/gml/srs/epsg.xml#3857".split(" ").map(function(n){return new spt(n)});aft=new hl(6378137);i(sa,yf);var cpt=[-180,-90,180,90],phi=Math.PI*aft.radius/180,lpt=[new sa("CRS:84"),new sa("EPSG:4326","neu"),new sa("urn:ogc:def:crs:EPSG::4326","neu"),new sa("urn:ogc:def:crs:EPSG:6.6:4326","neu"),new sa("urn:ogc:def:crs:OGC:1.3:CRS84"),new sa("urn:ogc:def:crs:OGC:2:84"),new sa("http://www.opengis.net/gml/srs/epsg.xml#4326","neu"),new sa("urn:x-ogc:def:crs:EPSG:4326","neu")];i(be,lr);i(wt,si);n=wt.prototype;n.sf=function(n){return n=n?n:[],n.push(kg(this)),n};n.la=function(){return this.get("source")||null};n.uf=function(){var n=this.la();return n?n.W():"undefined"};n.Rm=function(){this.s()};n.il=function(){this.A&&(au(this.A),this.A=null);var n=this.la();n&&(this.A=f(n,"change",this.Rm,this));this.s()};n.setMap=function(n){this.o&&(au(this.o),this.o=null);n||this.s();this.v&&(au(this.v),this.v=null);n&&(this.o=f(n,"precompose",function(n){var t=kg(this);t.me=!1;t.zIndex=Infinity;n.frameState.layerStatesArray.push(t);n.frameState.layerStates[tt(this)]=t},this),this.v=f(this,"change",n.render,n),this.s())};n.Pc=function(n){this.set("source",n)};gg.prototype.clear=function(){this.b={};this.a=0};gg.prototype.get=function(n,t,i){return n=t+":"+n+":"+(i?iv(i):"null"),n in this.b?this.b[n]:null};gg.prototype.set=function(n,t,i,r){this.b[t+":"+n+":"+(i?iv(i):"null")]=r;++this.a};fv=new gg;nn=Array(6);i(ev,vp);n=ev.prototype;n.oa=function(){for(var n in this.f)fc(this.f[n])};n.Ba=function(n,t,i,r,u,f,e){function v(n,i){var e=tt(n).toString(),f=t.layerStates[tt(i)].me;if(!(e in t.skippedFeatureUids)||f)return r.call(u,n,f?i:null)}var a,c=t.viewState,y=c.resolution,o=c.projection,c=n,l,s;if(o.a){var o=o.G(),h=af(o),s=n[0];(s<o[0]||s>o[2])&&(c=[s+h*Math.ceil((o[0]-s)/h),n[1]])}for(o=t.layerStatesArray,h=o.length-1;0<=h;--h)if(l=o[h],s=l.layer,vy(l,y)&&f.call(e,s)&&(l=ov(this,s),s.la()&&(a=l.Ba(s.la().D?c:n,t,i,v,u)),a))return a};n.Ch=function(n,t,i,r,u){return void 0!==this.Ba(n,t,i,ao,this,r,u)};n.Uk=function(){this.l.render()};n.ag=ve;n.Yo=function(n,t){var r,i,u;for(r in this.f)t&&r in t.layerStates||(i=r,u=this.f[i],delete this.f[i],au(this.v[i]),delete this.v[i],fc(u))};i(ti,wt);i(rt,wt);rt.prototype.f=function(){return this.get(un)};rt.prototype.l=function(n){this.set(un,n)};rt.prototype.c=function(){return this.get(fn)};rt.prototype.C=function(n){this.set(fn,n)};un="preload";fn="useInterimTilesOnError";i(tl,oo);tl.prototype.s=function(){this.b("change")};tl.prototype.G=function(){return this.extent};tl.prototype.W=function(){return this.state};i(kh,tl);kh.prototype.a=function(n){if(void 0!==n){var t;return(n=tt(n),n in this.i)?this.i[n]:(t=us(this.i)?this.g:this.g.cloneNode(!1),this.i[n]=t)}return this.g};kh.prototype.v=function(){this.state=ha;this.c.forEach(au);this.c=null;this.s()};kh.prototype.H=function(){void 0===this.resolution&&(this.resolution=so(this.extent)/this.g.height);this.state=no;this.c.forEach(au);this.c=null;this.s()};kh.prototype.load=function(){(this.state==il||this.state==ha)&&(this.state=pw,this.s(),this.c=[sl(this.g,"error",this.v,this),sl(this.g,"load",this.H,this)],this.l(this,this.o))};var il=0,pw=1,no=2,ha=3,sv=[0,0,0,1],dk=[],gk=[0,0,0,1];n=he.prototype;n.ye=function(){return this.l};n.ze=function(){return this.H};n.Ae=function(){return this.o};n.Be=function(){return this.i};n.ee=function(){return this.u};n.dd=function(n){this.l=n};n.Ce=function(n){this.o=n};n.ed=function(n){this.i=n};i(cr,he);n=cr.prototype;n.clone=function(){var n=new cr({fill:this.f?this.f.clone():void 0,points:this.c!==this.a?this.b/2:this.b,radius:this.a,radius2:this.c,angle:this.v,snapToPixel:this.u,stroke:this.g?this.g.clone():void 0,rotation:this.o,rotateWithView:this.H,atlasManager:this.D});return n.dd(this.l),n.ed(this.i),n};n.Ac=function(){return this.ra};n.Nh=function(){return this.v};n.Oh=function(){return this.f};n.Lf=function(){return this.C};n.Ic=function(){return this.A};n.de=function(){return this.va};n.xe=function(){return no};n.Jc=function(){return this.P};n.Ph=function(){return this.b};n.Qh=function(){return this.a};n.Vg=function(){return this.c};n.ac=function(){return this.U};n.Rh=function(){return this.g};n.eh=ve;n.load=ve;n.Ii=ve;n.Eg=function(n,t,i,r){var u;if(t.setTransform(1,0,0,1,0,0),t.translate(i,r),t.beginPath(),Infinity===this.b)t.arc(n.size/2,n.size/2,this.a,0,2*Math.PI,!0);else for(this.c!==this.a&&(this.b*=2),i=0;i<=this.b;i++)r=2*i*Math.PI/this.b-Math.PI/2+this.v,u=0==i%2?this.a:this.c,t.lineTo(n.size/2+u*Math.cos(r),n.size/2+u*Math.sin(r));this.f&&(t.fillStyle=cc(this.f.b),t.fill());this.g&&(t.strokeStyle=n.strokeStyle,t.lineWidth=n.Fi,n.lineDash&&t.setLineDash(n.lineDash),t.lineCap=n.lineCap,t.lineJoin=n.lineJoin,t.miterLimit=n.miterLimit,t.stroke());t.closePath()};n.Dg=function(n,t,i,r){if(t.setTransform(1,0,0,1,0,0),t.translate(i,r),t.beginPath(),Infinity===this.b)t.arc(n.size/2,n.size/2,this.a,0,2*Math.PI,!0);else{this.c!==this.a&&(this.b*=2);var u;for(i=0;i<=this.b;i++)u=2*i*Math.PI/this.b-Math.PI/2+this.v,r=0==i%2?this.a:this.c,t.lineTo(n.size/2+r*Math.cos(u),n.size/2+r*Math.sin(u))}t.fillStyle=sv;t.fill();this.g&&(t.strokeStyle=n.strokeStyle,t.lineWidth=n.Fi,n.lineDash&&t.setLineDash(n.lineDash),t.stroke());t.closePath()};i(fu,cr);fu.prototype.clone=function(){var n=new fu({fill:this.f?this.f.clone():void 0,stroke:this.g?this.g.clone():void 0,radius:this.a,snapToPixel:this.u,atlasManager:this.D});return n.dd(this.l),n.ed(this.i),n};fu.prototype.Qa=function(n){this.a=n;kpt(this,this.D)};po.prototype.clone=function(){var n=this.b;return new po({color:n&&n.slice?n.slice():n||void 0})};po.prototype.g=function(){return this.b};po.prototype.f=function(n){this.b=n;this.a=void 0};n=lu.prototype;n.clone=function(){var n=this.b;return new lu({color:n&&n.slice?n.slice():n||void 0,lineCap:this.c,lineDash:this.g?this.g.slice():void 0,lineJoin:this.i,miterLimit:this.j,width:this.f})};n.In=function(){return this.b};n.kk=function(){return this.c};n.Jn=function(){return this.g};n.lk=function(){return this.i};n.rk=function(){return this.j};n.Kn=function(){return this.f};n.Ln=function(n){this.b=n;this.a=void 0};n.ip=function(n){this.c=n;this.a=void 0};n.setLineDash=function(n){this.g=n;this.a=void 0};n.jp=function(n){this.i=n;this.a=void 0};n.kp=function(n){this.j=n;this.a=void 0};n.np=function(n){this.f=n;this.a=void 0};n=pr.prototype;n.clone=function(){var n=this.V();return n&&n.clone&&(n=n.clone()),new pr({geometry:n,fill:this.f?this.f.clone():void 0,image:this.a?this.a.clone():void 0,stroke:this.g?this.g.clone():void 0,text:this.Ka()?this.Ka().clone():void 0,zIndex:this.b})};n.V=function(){return this.i};n.fk=function(){return this.c};n.Mn=function(){return this.f};n.Qn=function(n){this.f=n};n.Nn=function(){return this.a};n.Rn=function(n){this.a=n};n.On=function(){return this.g};n.Sn=function(n){this.g=n};n.Ka=function(){return this.j};n.Tn=function(n){this.j=n};n.Pn=function(){return this.b};n.Pa=function(n){"function"==typeof n?this.c=n:"string"==typeof n?this.c=function(t){return t.get(n)}:n?n&&(this.c=function(){return n}):this.c=nwt;this.i=n};n.Un=function(n){this.b=n};en=null;i(b,wt);b.prototype.D=function(){return this.C};b.prototype.L=function(){return this.j};b.prototype.l=function(n){this.C=void 0!==n?n:gpt;this.j=null===n?void 0:dpt(this.C);this.s()};i(k,b);k.prototype.f=function(){return this.get(bhi)};k.prototype.c=function(){return this.get(khi)};k.prototype.P=function(n){this.set(un,n)};k.prototype.U=function(n){this.set(fn,n)};var bhi="preload",khi="useInterimTilesOnError",dhi="image",twt="hybrid",vft="vector";i(dh,td);n=dh.prototype;n.hc=function(n){var i,r,t;pe(this.c,n.G())&&((this.a||this.b)&&(this.a&&on(this,this.a),this.b&&ww(this,this.b),i=this.C,r=this.u,t=n.ia(),i=t?uw(t,0,t.length,n.pa(),i,r):null,r=i[2]-i[0],t=i[3]-i[1],r=Math.sqrt(r*r+t*t),t=this.f,t.beginPath(),t.arc(i[0],i[1],r,0,2*Math.PI),this.a&&t.fill(),this.b&&t.stroke()),""!==this.g&&py(this,n.Fd(),2,2))};n.Gd=function(n){this.Ma(n.f,n.g);this.dc(n.a);this.$b(n.Ka())};n.tc=function(n){switch(n.Y()){case"Point":this.xc(n);break;case"LineString":this.Pb(n);break;case"Polygon":this.yc(n);break;case"MultiPoint":this.vc(n);break;case"MultiLineString":this.uc(n);break;case"MultiPolygon":this.wc(n);break;case"GeometryCollection":this.kf(n);break;case"Circle":this.hc(n)}};n.jf=function(n,t){var i=t.c(n);i&&pe(this.c,i.G())&&(this.Gd(t),this.tc(i))};n.kf=function(n){n=n.f;for(var t=0,i=n.length;t<i;++t)this.tc(n[t])};n.xc=function(n){var t=n.ia();n=n.pa();this.i&&iwt(this,t,t.length);""!==this.g&&py(this,t,t.length,n)};n.vc=function(n){var t=n.ia();n=n.pa();this.i&&iwt(this,t,t.length);""!==this.g&&py(this,t,t.length,n)};n.Pb=function(n){if(pe(this.c,n.G())){if(this.b){ww(this,this.b);var t=this.f,i=n.ia();t.beginPath();yft(this,i,0,i.length,n.pa(),!1);t.stroke()}""!==this.g&&(n=cnt(n),py(this,n,2,2))}};n.uc=function(n){var t=n.G(),i,f;if(pe(this.c,t)){if(this.b){ww(this,this.b);var t=this.f,e=n.ia(),r=0,u=n.Kb(),o=n.pa();for(t.beginPath(),i=0,f=u.length;i<f;++i)r=yft(this,e,r,u[i],o,!1);t.stroke()}""!==this.g&&(n=lnt(n),py(this,n,n.length,2))}};n.yc=function(n){if(pe(this.c,n.G())){if(this.b||this.a){this.a&&on(this,this.a);this.b&&ww(this,this.b);var t=this.f;t.beginPath();rwt(this,n.Vb(),0,n.Kb(),n.pa());this.a&&t.fill();this.b&&t.stroke()}""!==this.g&&(n=krt(n),py(this,n,2,2))}};n.wc=function(n){if(pe(this.c,n.G())){if(this.b||this.a){this.a&&on(this,this.a);this.b&&ww(this,this.b);var i=this.f,e=bv(n),r=0,u=n.c,o=n.pa(),t,f;for(i.beginPath(),t=0,f=u.length;t<f;++t)r=rwt(this,e,r,u[t],o);this.a&&i.fill();this.b&&i.stroke()}""!==this.g&&(n=uot(n),py(this,n,n.length,2))}};n.Ma=function(n,t){var i;if(n?(i=n.b,this.a={fillStyle:cc(i?i:sv)}):this.a=null,t){var i=t.b,r=t.c,u=t.g,f=t.i,e=t.f,o=t.j;this.b={lineCap:void 0!==r?r:"round",lineDash:u?u:dk,lineJoin:void 0!==f?f:"round",lineWidth:this.A*(void 0!==e?e:1),miterLimit:void 0!==o?o:10,strokeStyle:cc(i?i:gk)}}else this.b=null};n.dc=function(n){if(n){var t=n.Ac(),u=n.Ic(1),i=n.Jc(),r=n.ac();this.D=t[0];this.L=t[1];this.ra=r[1];this.i=u;this.H=n.l;this.eb=i[0];this.fa=i[1];this.sa=n.H;this.zb=n.o;this.j=n.i;this.na=n.u;this.va=r[0]}else this.i=null};n.$b=function(n){var i,t;if(n){if(i=n.b,i?(i=i.b,this.l={fillStyle:cc(i?i:sv)}):this.l=null,t=n.f,t){var i=t.b,r=t.c,u=t.g,f=t.i,e=t.f,t=t.j;this.v={lineCap:void 0!==r?r:"round",lineDash:u?u:dk,lineJoin:void 0!==f?f:"round",lineWidth:void 0!==e?e:1,miterLimit:void 0!==t?t:10,strokeStyle:cc(i?i:gk)}}else this.v=null;var i=n.g,r=n.c,u=n.i,f=n.v,e=n.j,t=n.a,o=n.Ka(),s=n.l;n=n.o;this.P={font:void 0!==i?i:"10px sans-serif",textAlign:void 0!==s?s:"center",textBaseline:void 0!==n?n:"middle"};this.g=void 0!==o?o:"";this.Fa=void 0!==r?this.A*r:0;this.xa=void 0!==u?this.A*u:0;this.Ja=void 0!==f?f:!1;this.Ua=void 0!==e?e:0;this.o=this.A*(void 0!==t?t:1)}else this.g=""};i(ue,ye);ue.prototype.Ba=ve;ue.prototype.te=nh;ue.prototype.hf=function(n,t,i){return function(r,u){return uei(n,t,r,u,function(n){i[r]||(i[r]={});i[r][n.Ca.toString()]=n})}};ue.prototype.Fa=function(n){n.target.W()===no&&sn(this)};i(ce,ue);ce.prototype.C=function(n,t,i,r){if(this.Ba(n,t,0,ao,this))return i.call(r,this.a,null)};ce.prototype.v=function(n,t,i,r){cn(this,"postcompose",n,t,r)};i(le,ce);le.prototype.D=function(n,t,i){var u,f,r,e;cn(this,"precompose",i,n,void 0);u=this.l();u&&(r=t.extent,f=void 0!==r,f&&swt(i,n,r),r=this.P(),e=i.globalAlpha,i.globalAlpha=t.opacity,i.drawImage(u,0,0,+u.width,+u.height,Math.round(r[4]),Math.round(r[5]),Math.round(u.width*r[0]),Math.round(u.height*r[3])),i.globalAlpha=e,f&&i.restore());this.v(i,n,t)};le.prototype.Ba=function(n,t,i,r,u){var f=this.a;return f.la().Ba(n,t.viewState.resolution,t.viewState.rotation,i,t.skippedFeatureUids,function(n){return r.call(u,n,f)})};le.prototype.C=function(n,t,i,r){if(this.l()){if(this.a.la().Ba!==ve)return ce.prototype.C.apply(this,arguments);var u=wh(this.u,n.slice());if(pit(u,t.viewState.resolution/this.c),this.i||(this.i=ie(1,1)),this.i.clearRect(0,0,1,1),this.i.drawImage(this.l(),u[0],u[1],1,1,0,0,1,1),u=this.i.getImageData(0,0,1,1).data,0<u[3])return i.call(r,this.a,u)}};i(to,le);to.prototype.l=function(){return this.f?this.f.a():null};to.prototype.P=function(){return this.j};to.prototype.o=function(n,t){var r=n.pixelRatio,o=n.size,i=n.viewState,s=i.center,e=i.resolution,c=this.a.la(),u=n.viewHints,f=n.extent;if(void 0!==t.extent&&(f=fa(f,t.extent)),u[ne]||u[1]||tw(f)||(i=c.U(f,e,r,i.projection))&&uwt(this,i)&&(this.f=i,this.c=e),this.f){var i=this.f,u=i.G(),f=i.resolution,h=i.f,l=r*f/(e*h),u=ih(this.j,r*o[0]/2,r*o[1]/2,l,l,0,h*(u[0]-s[0])/f,h*(s[1]-u[3])/f);ih(this.u,r*o[0]/2-u[4],r*o[1]/2-u[5],r/e,-r/e,0,-s[0],-s[1]);hn(n.attributions,i.j);bw(n,c)}return!!this.f};i(te,le);te.prototype.o=function(n,t){var o=n.pixelRatio,tt=n.size,y=n.viewState,p=y.projection,it=y.resolution,y=y.center,ut=this.a,e=ut.la(),ct=e.g,s=e.Db(p),c=s.Ec(it,this.na),k=s.Ha(c),d=n.extent,f,a,h,l,et,lt,at,ot,st,ht,v,w;if(void 0!==t.extent&&(d=fa(d,t.extent)),tw(d))return!1;f=iut(s,d,k);h=s.Kc(c);a=s.Ha(c);l=th(s.Za(c),s.j);a=oc(h[0]+f.ea*l[0]*a,h[1]+f.ga*l[1]*a,h[0]+(f.ca+1)*l[0]*a,h[1]+(f.ja+1)*l[1]*a,void 0);h=e.jb(o);l={};l[c]={};for(var rt=this.hf(e,p,l),g=ut.c(),ft=this.H,nt=this.Ua,b=!1,i,u,r=f.ea;r<=f.ca;++r)for(u=f.ga;u<=f.ja;++u)i=e.Dc(c,r,u,o,p),v=i.W(),v==yo||4==v||3==v&&!g?v==yo&&(l[c][i.Ca.toString()]=i,b||-1!=this.f.indexOf(i)||(b=!0)):(i=hyt(i),uvt(s,i.Ca,rt,nt,ft)||(i=fvt(s,i.Ca,nt,ft))&&rt(c+1,i));if(r=n.viewHints,!(this.c&&16<Date.now()-n.time&&(r[ne]||r[1])||!b&&this.j&&dp(this.j,a)&&this.Ja==ct)){for(i=e.Dd(c,o,p),r=(f.ca-f.ea+1)*i[0],i=(f.ja-f.ga+1)*i[0],b=this.L,u=b.canvas,rt=e.tf(p),u.width!=r||u.height!=i?(u.width=r,u.height=i):b.clearRect(0,0,r,i),this.f.length=0,g=Object.keys(l).map(Number),g.sort(iy),v=0,lt=g.length;v<lt;++v){r=g[v];nt=e.Dd(r,o,p);i=s.Ha(r);et=i/k;at=h*e.qf(p);ot=l[r];for(w in ot)i=ot[w],u=s.Na(i.Ca,ft),r=(u[0]-a[0])/k*h,u=(a[3]-u[3])/k*h,st=nt[0]*et,ht=nt[1]*et,rt||b.clearRect(r,u,st,ht),this.A(i,n,t,r,u,st,ht,at),this.f.push(i)}this.Ja=ct;this.c=k;this.j=a}return w=o/h*this.c/it,w=ih(this.U,o*tt[0]/2,o*tt[1]/2,w,w,0,h*(this.j[0]-y[0])/this.c,h*(y[1]-this.j[3])/this.c),ih(this.u,o*tt[0]/2-w[4],o*tt[1]/2-w[5],o/it,-o/it,0,-y[0],-y[1]),ewt(n.usedTiles,e,c,f),owt(n,e,s,o,p,d,c,ut.f()),fwt(n,e),bw(n,e),0<this.f.length};te.prototype.A=function(n,t,i,r,u,f,e,o){(n=n.ub())&&this.L.drawImage(n,o,o,n.width-2*o,n.height-2*o,r,u,f,e)};te.prototype.l=function(){return this.L.canvas};te.prototype.P=function(){return this.U};i(lc,td);lc.prototype.f=function(n,t,i,r,u){cwt(this,n,t,i,r,u,this.a,void 0,void 0)};lc.prototype.se=ve;lc.prototype.mf=function(){return this.Qa};i(gw,lc);gw.prototype.xc=function(n,t){if(this.l){hv(this,t);var i=n.ia(),r=this.coordinates.length,i=dw(this,i,0,i.length,n.pa(),!1,!1);this.a.push([4,r,i,this.l,this.g,this.i,this.j,this.o,this.v,this.H,this.u,this.A,this.C,this.D,this.L]);this.b.push([4,r,i,this.P,this.g,this.i,this.j,this.o,this.v,this.H,this.u,this.A,this.C,this.D,this.L]);cv(this,t)}};gw.prototype.vc=function(n,t){if(this.l){hv(this,t);var i=n.ia(),r=this.coordinates.length,i=dw(this,i,0,i.length,n.pa(),!1,!1);this.a.push([4,r,i,this.l,this.g,this.i,this.j,this.o,this.v,this.H,this.u,this.A,this.C,this.D,this.L]);this.b.push([4,r,i,this.P,this.g,this.i,this.j,this.o,this.v,this.H,this.u,this.A,this.C,this.D,this.L]);cv(this,t)}};gw.prototype.se=function(){pft(this);this.i=this.g=void 0;this.l=this.P=null;this.L=this.D=this.A=this.u=this.H=this.v=this.o=this.C=this.j=void 0};gw.prototype.dc=function(n){var t=n.Ac(),i=n.ac(),u=n.Lf(1),f=n.Ic(1),r=n.Jc();this.g=t[0];this.i=t[1];this.P=u;this.l=f;this.j=i[1];this.o=n.l;this.v=r[0];this.H=r[1];this.u=n.H;this.A=n.o;this.C=n.i;this.D=n.u;this.L=i[0]};i(wft,lc);n=wft.prototype;n.mf=function(){return this.i||(this.i=wit(this.Qa),0<this.c&&ec(this.i,this.resolution*(this.c+1)/2,this.i)),this.i};n.Pb=function(n,t){var i=this.g,r=i.lineWidth;void 0!==i.strokeStyle&&void 0!==r&&(awt(this),hv(this,t),this.b.push([10,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,i.lineDash,!0,1],[1]),i=n.ia(),lwt(this,i,0,i.length,n.pa()),this.b.push([12]),cv(this,t))};n.uc=function(n,t){var i=this.g,u=i.lineWidth;if(void 0!==i.strokeStyle&&void 0!==u){awt(this);hv(this,t);this.b.push([10,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,i.lineDash,!0,1],[1]);for(var i=n.Kb(),u=n.ia(),o=n.pa(),f=0,r=0,e=i.length;r<e;++r)f=lwt(this,u,f,i[r],o);this.b.push([12]);cv(this,t)}};n.se=function(){this.g.Af!=this.coordinates.length&&this.a.push([12]);pft(this);this.g=null};n.Ma=function(n,t){var i=t.b;this.g.strokeStyle=cc(i?i:gk);i=t.c;this.g.lineCap=void 0!==i?i:"round";i=t.g;this.g.lineDash=i?i:dk;i=t.i;this.g.lineJoin=void 0!==i?i:"round";i=t.f;this.g.lineWidth=void 0!==i?i:1;i=t.j;this.g.miterLimit=void 0!==i?i:10;this.g.lineWidth>this.c&&(this.c=this.g.lineWidth,this.i=null)};i(an,lc);n=an.prototype;n.hc=function(n,t){var i=this.g,r=i.strokeStyle,u;(void 0!==i.fillStyle||void 0!==r)&&(bft(this,n),hv(this,t),this.b.push([9,iv(sv)]),void 0!==i.strokeStyle&&this.b.push([10,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,i.lineDash,!0,1]),u=n.ia(),r=this.coordinates.length,dw(this,u,0,u.length,n.pa(),!1,!1),u=[1],r=[2,r],this.a.push(u,r),this.b.push(u,r),r=[7],this.b.push(r),void 0!==i.fillStyle&&this.a.push(r),void 0!==i.strokeStyle&&(i=[12],this.a.push(i),this.b.push(i)),cv(this,t))};n.yc=function(n,t){var i=this.g,r;bft(this,n);hv(this,t);this.b.push([9,iv(sv)]);void 0!==i.strokeStyle&&this.b.push([10,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,i.lineDash,!0,1]);i=n.Kb();r=n.Vb();vwt(this,r,0,i,n.pa());cv(this,t)};n.wc=function(n,t){var i=this.g,u=i.strokeStyle;if(void 0!==i.fillStyle||void 0!==u){bft(this,n);hv(this,t);this.b.push([9,iv(sv)]);void 0!==i.strokeStyle&&this.b.push([10,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,i.lineDash,!0,1]);for(var i=n.c,u=bv(n),o=n.pa(),f=0,r=0,e=i.length;r<e;++r)f=vwt(this,u,f,i[r],o);cv(this,t)}};n.se=function(){var t,i,n,r;if(pft(this),this.g=null,t=this.zb,0!==t)for(i=this.coordinates,n=0,r=i.length;n<r;++n)i[n]=t*Math.round(i[n]/t)};n.mf=function(){return this.i||(this.i=wit(this.Qa),0<this.c&&ec(this.i,this.resolution*(this.c+1)/2,this.i)),this.i};n.Ma=function(n,t){var r=this.g,i;n?(i=n.b,r.fillStyle=cc(i?i:sv)):r.fillStyle=void 0;t?(i=t.b,r.strokeStyle=cc(i?i:gk),i=t.c,r.lineCap=void 0!==i?i:"round",i=t.g,r.lineDash=i?i.slice():dk,i=t.i,r.lineJoin=void 0!==i?i:"round",i=t.f,r.lineWidth=void 0!==i?i:1,i=t.j,r.miterLimit=void 0!==i?i:10,r.lineWidth>this.c&&(this.c=r.lineWidth,this.i=null)):(r.strokeStyle=void 0,r.lineCap=void 0,r.lineDash=null,r.lineJoin=void 0,r.lineWidth=void 0,r.miterLimit=void 0)};i(kft,lc);kft.prototype.$b=function(n){var t,i,r;if(n){if(t=n.b,t?(t=t.b,t=cc(t?t:sv),this.g?this.g.fillStyle=t:this.g={fillStyle:t}):this.g=null,i=n.f,i){var t=i.b,u=i.c,f=i.g,e=i.i,o=i.f,i=i.j,u=void 0!==u?u:"round",f=f?f.slice():dk,e=void 0!==e?e:"round",o=void 0!==o?o:1,i=void 0!==i?i:10,t=cc(t?t:gk);this.i?(r=this.i,r.lineCap=u,r.lineDash=f,r.lineJoin=e,r.lineWidth=o,r.miterLimit=i,r.strokeStyle=t):this.i={lineCap:u,lineDash:f,lineJoin:e,lineWidth:o,miterLimit:i,strokeStyle:t}}else this.i=null;var s=n.g,t=n.c,u=n.i,f=n.v,o=n.j,i=n.a,e=n.Ka(),r=n.l,h=n.o;n=void 0!==s?s:"10px sans-serif";r=void 0!==r?r:"center";h=void 0!==h?h:"middle";this.j?(s=this.j,s.font=n,s.textAlign=r,s.textBaseline=h):this.j={font:n,textAlign:r,textBaseline:h};this.l=void 0!==e?e:"";this.o=void 0!==t?t:0;this.v=void 0!==u?u:0;this.H=void 0!==f?f:!1;this.u=void 0!==o?o:0;this.A=void 0!==i?i:1}else this.l=""};pl=["Polygon","Circle","LineString","Image","Text"];i(lv,hwt);vn={0:[[!0]]};lv.prototype.Ba=function(n,t,i,r,u,f){var s,h;r=Math.round(r);var e=2*r+1,c=ih(this.l,r+.5,r+.5,1/t,-1/t,-i,-n[0],-n[1]),o=this.j;return o.canvas.width!==e||o.canvas.height!==e?(o.canvas.width=e,o.canvas.height=e):o.clearRect(0,0,e,e),void 0!==this.i&&(s=lo(),gp(s,n),ec(s,t*(this.i+r),s)),h=ghi(r),nci(this,o,c,i,u,function(n){for(var i,r=o.getImageData(0,0,e,e).data,t=0;t<e;t++)for(i=0;i<e;i++)if(h[t][i]&&0<r[4*(i*e+t)+3]){if(n=f(n))return n;o.clearRect(0,0,e,e);return}},s)};lv.prototype.b=function(n,t){var i=void 0!==n?n.toString():"0",r=this.a[i];return void 0===r&&(r={},this.a[i]=r),i=r[t],void 0===i&&(i=new pwt[t](this.H,this.c,this.v,this.o),r[t]=i),i};lv.prototype.g=function(){return us(this.a)};lv.prototype.f=function(n,t,i,r,u,f){var s=Object.keys(this.a).map(Number),c,o,l,a,h,e;for(s.sort(iy),e=ywt(this,i),n.save(),n.beginPath(),n.moveTo(e[0],e[1]),n.lineTo(e[2],e[3]),n.lineTo(e[4],e[5]),n.lineTo(e[6],e[7]),n.clip(),f=f?f:pl,e=0,c=s.length;e<c;++e)for(a=this.a[s[e].toString()],o=0,l=f.length;o<l;++o)h=a[f[o]],void 0!==h&&h.f(n,t,i,r,u);n.restore()};pwt={Circle:an,Image:gw,LineString:wft,Polygon:an,Text:kft};gft={Point:function(n,t,i,r){var u=i.a,f;if(u){if(u.xe()!=no)return;f=n.b(i.b,"Image");f.dc(u);f.xc(t,r)}(u=i.Ka())&&(n=n.b(i.b,"Text"),n.$b(u),wy(n,t.ia(),2,2,r))},LineString:function(n,t,i,r){var u=i.g,f;u&&(f=n.b(i.b,"LineString"),f.Ma(null,u),f.Pb(t,r));(u=i.Ka())&&(n=n.b(i.b,"Text"),n.$b(u),wy(n,cnt(t),2,2,r))},Polygon:function(n,t,i,r){var u=i.f,e=i.g,f;(u||e)&&(f=n.b(i.b,"Polygon"),f.Ma(u,e),f.yc(t,r));(u=i.Ka())&&(n=n.b(i.b,"Text"),n.$b(u),wy(n,krt(t),2,2,r))},MultiPoint:function(n,t,i,r){var u=i.a,f;if(u){if(u.xe()!=no)return;f=n.b(i.b,"Image");f.dc(u);f.vc(t,r)}(u=i.Ka())&&(n=n.b(i.b,"Text"),n.$b(u),i=t.ia(),wy(n,i,i.length,t.pa(),r))},MultiLineString:function(n,t,i,r){var u=i.g,f;u&&(f=n.b(i.b,"LineString"),f.Ma(null,u),f.uc(t,r));(u=i.Ka())&&(n=n.b(i.b,"Text"),n.$b(u),t=lnt(t),wy(n,t,t.length,2,r))},MultiPolygon:function(n,t,i,r){var u=i.f,e=i.g,f;(e||u)&&(f=n.b(i.b,"Polygon"),f.Ma(u,e),f.wc(t,r));(u=i.Ka())&&(n=n.b(i.b,"Text"),n.$b(u),t=uot(t),wy(n,t,t.length,2,r))},GeometryCollection:function(n,t,i,r){t=t.f;for(var u=0,f=t.length;u<f;++u)gft[t[u].Y()](n,t[u],i,r)},Circle:function(n,t,i,r){var u=i.f,e=i.g,f;(u||e)&&(f=n.b(i.b,"Circle"),f.Ma(u,e),f.hc(t,r));(u=i.Ka())&&(n=n.b(i.b,"Text"),n.$b(u),wy(n,t.Fd(),2,2,r))}};i(io,ce);io.prototype.D=function(n,t,i){var w=n.extent,l=n.pixelRatio,b=t.me?n.skippedFeatureUids:{},f=n.viewState,e=f.projection,f=f.rotation,p=e.G(),c=this.a.la(),u=kw(this,n,0),o,k,a,v,r,s,h,d;if(cn(this,"precompose",i,n,u),o=t.extent,k=void 0!==o,k&&swt(i,n,o),(o=this.c)&&!o.g()){if(a=0,v=0,yp(this.a,"render")){if(r=i.canvas.width,s=i.canvas.height,f){var h=Math.round(Math.sqrt(r*r+s*s)),a=(h-r)/2,v=(h-s)/2;r=s=h}this.i.canvas.width=r;this.i.canvas.height=s;r=this.i}else r=i;if(s=r.globalAlpha,r.globalAlpha=t.opacity,r!=i&&r.translate(a,v),h=n.size[0]*l,d=n.size[1]*l,ca(r,-f,h/2,d/2),o.f(r,l,u,f,b),c.D&&e.a&&!ys(p,w)){for(var e=w[0],c=af(p),y=0;e<p[0];)--y,u=c*y,u=kw(this,n,u),o.f(r,l,u,f,b),e+=c;for(y=0,e=w[2];e>p[2];)++y,u=c*y,u=kw(this,n,u),o.f(r,l,u,f,b),e-=c;u=kw(this,n,0)}ca(r,f,h/2,d/2);r!=i&&(cn(this,"render",r,n,u),i.drawImage(r.canvas,-a,-v),r.translate(-a,-v));r.globalAlpha=s}k&&i.restore();this.v(i,n,t,u)};io.prototype.Ba=function(n,t,i,r,u){if(this.c){var e=this.a,f={};return this.c.Ba(n,t.viewState.resolution,t.viewState.rotation,i,{},function(n){var t=tt(n).toString();if(!(t in f))return f[t]=!0,r.call(u,n,e)})}};io.prototype.A=function(){sn(this)};io.prototype.o=function(n){function v(n){var u,t=n.Gc(),f,e;if(t?u=t.call(n,i):(t=r.j)&&(u=t(n,i)),u){if(u){if(t=!1,Array.isArray(u))for(f=0,e=u.length;f<e;++f)t=by(s,n,u[f],nb(i,a),this.A,this)||t;else t=by(s,n,u,nb(i,a),this.A,this)||t;n=t}else n=!1;this.f=this.f||n}}var r=this.a,f=r.la(),s,c;hn(n.attributions,f.j);bw(n,f);var l=n.viewHints[ne],h=n.viewHints[1],u=r.Z,e=r.fa;if(!this.f&&!u&&l||!e&&h)return!0;var t=n.extent,e=n.viewState,l=e.projection,i=e.resolution,a=n.pixelRatio,h=r.g,o=r.i,u=r.get("renderOrder");return(void 0===u&&(u=wwt),t=ec(t,o*i),o=e.projection.G(),f.D&&e.projection.a&&!ys(o,n.extent)&&(n=Math.max(af(t)/2,af(o)),t[0]=o[0]-n,t[2]=o[2]+n),!this.f&&this.H==i&&this.u==h&&this.l==u&&ys(this.j,t))?!0:(this.c=null,this.f=!1,s=new lv(.5*i/a,t,i,f.xa,r.i),f.Ed(t,i,l),u?(c=[],f.Qb(t,function(n){c.push(n)},this),c.sort(u),c.forEach(v,this)):f.Qb(t,v,this),dft(s),this.H=i,this.u=h,this.l=u,this.j=t,this.c=s,!0)};i(ro,te);bwt={image:pl,hybrid:["Polygon","LineString"]};kwt={hybrid:["Image","Text"],vector:pl};ro.prototype.A=function(n,t){var e=n;if(tci(this,e,t),this.a.u!=vft){var i=e,s=t,r=this.a,e=i.g,u=r.g,c=bwt[r.u];if(c&&e.cg!==u){e.cg=u;var f=i.Ca,l=i.Ca[0],u=s.pixelRatio,h=r.la(),a=h.tileGrid,o=h.jb(),r=yy(this.sa);"tile-pixels"==i.j.Eb()?(f=u/o,bh(r,f,f)):(o=a.Ha(l),o=u/o,f=a.Na(f,this.H),bh(r,o,-o),nl(r,-f[0],-f[3]));i=i.f;s=h.Dd(l,u,s.viewState.projection);i.canvas.width=s[0];i.canvas.height=s[1];e.jd.f(i,u,r,0,{},c)}}te.prototype.A.apply(this,arguments)};ro.prototype.Ba=function(n,t,i,r,u){var s=t.viewState.resolution;t=t.viewState.rotation;i=void 0==i?0:i;for(var a=this.a,v={},y=this.f,c=a.la(),w=c.tileGrid,l,f,e,o,h=0,p=y.length;h<p;++h)o=y[h],f=o.Ca,e=c.tileGrid.Na(f,this.H),bit(ec(e,i*s),n)&&("tile-pixels"===o.j.Eb()?(e=sc(e),s=c.jb(),f=w.Ha(f[0])/s,f=[(n[0]-e[0])/f,(e[1]-n[1])/f]):f=n,o=o.g.jd,l=l||o.Ba(f,s,t,i,{},function(n){var t=tt(n).toString();if(!(t in v))return v[t]=!0,r.call(u,n,a)}));return l};ro.prototype.fa=function(){sn(this)};ro.prototype.v=function(n,t,i){var p=kwt[this.a.u],h,f,e;if(p)for(var a=t.pixelRatio,w=t.viewState.rotation,c=t.size,d=Math.round(a*c[0]/2),c=Math.round(a*c[1]/2),b=this.f,v=[],k=[],y=b.length-1;0<=y;--y){if(h=b[y],e=h,f=t,"tile-pixels"==e.j.Eb()){var r=this.a.la(),u=r.tileGrid,s=e.Ca,r=u.Ha(s[0])/r.jb(),e=f.viewState,o=f.pixelRatio,l=e.resolution/o,s=u.Na(s,this.H),u=e.center,s=sc(s);f=f.size;f=ih(this.sa,Math.round(o*f[0]/2),Math.round(o*f[1]/2),r/l,r/l,e.rotation,(s[0]-u[0])/r,(u[1]-s[1])/r)}else f=kw(this,f,0);for(r=ywt(h.g.jd,f),e=h.Ca[0],n.save(),n.globalAlpha=i.opacity,ca(n,-w,d,c),o=0,l=v.length;o<l;++o)u=v[o],e<k[o]&&(n.beginPath(),n.moveTo(r[0],r[1]),n.lineTo(r[2],r[3]),n.lineTo(r[4],r[5]),n.lineTo(r[6],r[7]),n.moveTo(u[6],u[7]),n.lineTo(u[4],u[5]),n.lineTo(u[2],u[3]),n.lineTo(u[0],u[1]),n.clip());h.g.jd.f(n,a,f,w,{},p);n.restore();v.push(r);k.push(e)}te.prototype.v.apply(this,arguments)};i(tb,ev);tb.prototype.Ag=function(n){return n instanceof ti?new to(n):n instanceof rt?new te(n):n instanceof k?new ro(n):n instanceof b?new io(n):null};tb.prototype.Y=function(){return"canvas"};tb.prototype.ag=function(n){var s,e,h,o,c,u,i;if(n){var f=this.g,t=n.pixelRatio,r=Math.round(n.size[0]*t),t=Math.round(n.size[1]*t);for(this.b.width!=r||this.b.height!=t?(this.b.width=r,this.b.height=t):f.clearRect(0,0,r,t),s=n.viewState.rotation,ppt(n),dwt(this,"precompose",n),e=n.layerStatesArray,ylt(e),ca(f,s,r/2,t/2),h=n.viewState.resolution,o=0,c=e.length;o<c;++o)i=e[o],u=i.layer,u=ov(this,u),vy(i,h)&&"ready"==i.Ei&&u.o(n,i)&&u.D(n,i,f);ca(f,-s,r/2,t/2);dwt(this,"postcompose",n);this.a||(this.b.style.display="",this.a=!0);bpt(this,n);n.postRenderFunctions.push(wpt)}else this.a&&(this.b.style.display="none",this.a=!1)};tb.prototype.Bh=function(n,t,i,r,u,f){var e,c=t.viewState.resolution,h=t.layerStatesArray,o=h.length,s;for(n=wh(t.pixelToCoordinateTransform,n.slice()),--o;0<=o;--o)if(e=h[o],s=e.layer,vy(e,c)&&u.call(f,s)&&(e=ov(this,s).C(n,t,i,r)))return e};var yn=[0,0,0,1],gwt=[],pn=[0,0,0,1];ky=Number.EPSILON||22204460492503131e-32;i(vv,nbt);vv.prototype.Y=function(){return 35632};i(yv,nbt);yv.prototype.Y=function(){return 35633};i(tbt,vv);ibt=new tbt;i(rbt,yv);ubt=new rbt;i(wl,td);wl.prototype.f=function(n,t,i,r,u,f,e,o,s,h,c){var l=n.b,v,y,p,w,b,k,d,g,a,nt;return this.j&&(v=l.isEnabled(l.STENCIL_TEST),y=l.getParameter(l.STENCIL_FUNC),p=l.getParameter(l.STENCIL_VALUE_MASK),w=l.getParameter(l.STENCIL_REF),b=l.getParameter(l.STENCIL_WRITEMASK),k=l.getParameter(l.STENCIL_FAIL),d=l.getParameter(l.STENCIL_PASS_DEPTH_PASS),g=l.getParameter(l.STENCIL_PASS_DEPTH_FAIL),l.enable(l.STENCIL_TEST),l.clear(l.STENCIL_BUFFER_BIT),l.stencilMask(255),l.stencilFunc(l.ALWAYS,1,255),l.stencilOp(l.KEEP,l.KEEP,l.REPLACE),this.j.f(n,t,i,r,u,f,e,o,s,h,c),l.stencilMask(0),l.stencilFunc(l.NOTEQUAL,1,255)),wn(n,34962,this.v),wn(n,34963,this.o),f=this.Ke(l,n,u,f),a=yy(this.Ua),bh(a,2/(i*u[0]),2/(i*u[1])),rn(a,-r),nl(a,-(t[0]-this.origin[0]),-(t[1]-this.origin[1])),t=yy(this.Ja),bh(t,2/u[0],2/u[1]),u=yy(this.xa),0!==r&&rn(u,-r),l.uniformMatrix4fv(f.g,!1,id(this.na,a)),l.uniformMatrix4fv(f.c,!1,id(this.na,t)),l.uniformMatrix4fv(f.f,!1,id(this.na,u)),l.uniform1f(f.a,e),void 0===s?this.yd(l,n,o,!1):(h?n=this.$d(l,n,o,s,c):(l.clear(l.COLOR_BUFFER_BIT|l.DEPTH_BUFFER_BIT),this.yd(l,n,o,!0),n=(n=s(null))?n:void 0),nt=n),this.Le(l,f),this.j&&(v||l.disable(l.STENCIL_TEST),l.clear(l.STENCIL_BUFFER_BIT),l.stencilFunc(y,w,p),l.stencilMask(b),l.stencilOp(k,g,d)),nt};ebt=35044;i(tet,wl);n=tet.prototype;n.hc=function(n,t){var r=n.qe(),e=n.pa();if(r){this.g.push(this.b.length);this.i.push(t);this.c.s&&(this.u.push(this.b.length),this.c.s=!1);this.A=r;for(var r=n.ia(),r=da(r,2,e,-this.origin[0],-this.origin[1]),i=this.a.length,o=this.b.length,f=i/4,u=0;2>u;u+=e)this.a[i++]=r[u],this.a[i++]=r[u+1],this.a[i++]=0,this.a[i++]=this.A,this.a[i++]=r[u],this.a[i++]=r[u+1],this.a[i++]=1,this.a[i++]=this.A,this.a[i++]=r[u],this.a[i++]=r[u+1],this.a[i++]=2,this.a[i++]=this.A,this.a[i++]=r[u],this.a[i++]=r[u+1],this.a[i++]=3,this.a[i++]=this.A,this.b[o++]=f,this.b[o++]=f+1,this.b[o++]=f+2,this.b[o++]=f+2,this.b[o++]=f+3,this.b[o++]=f,f+=4}else this.c.s&&(this.l.pop(),this.l.length&&(e=this.l[this.l.length-1],this.c.fillColor=e[0],this.c.strokeColor=e[1],this.c.lineWidth=e[2],this.c.s=!1))};n.vb=function(){this.v=new bl(this.a);this.o=new bl(this.b);this.g.push(this.b.length);0===this.u.length&&0<this.l.length&&(this.l=[]);this.b=this.a=null};n.wb=function(n){var t=this.v,i=this.o;return function(){la(n,t);la(n,i)}};n.Ke=function(n,t,i,r){var f=ib(t,ibt,ubt),u;return this.H?u=this.H:this.H=u=new ici(n,f),t.Lc(f),n.enableVertexAttribArray(u.b),n.vertexAttribPointer(u.b,2,5126,!1,16,0),n.enableVertexAttribArray(u.j),n.vertexAttribPointer(u.j,1,5126,!1,16,8),n.enableVertexAttribArray(u.u),n.vertexAttribPointer(u.u,1,5126,!1,16,12),n.uniform2fv(u.va,i),n.uniform1f(u.ra,r),u};n.Le=function(n,t){n.disableVertexAttribArray(t.b);n.disableVertexAttribArray(t.j);n.disableVertexAttribArray(t.u)};n.yd=function(n,t,i){var f,u,r,e,s,o,h;if(us(i))for(u=this.g[this.g.length-1],i=this.u.length-1;0<=i;--i)f=this.u[i],r=this.l[i],n.uniform4fv(this.H.D,r[0]),iet(this,n,r[1],r[2]),es(n,t,f,u),u=f;else for(o=this.g.length-2,r=u=this.g[o+1],f=this.u.length-1;0<=f;--f){for(e=this.l[f],n.uniform4fv(this.H.D,e[0]),iet(this,n,e[1],e[2]),e=this.u[f];0<=o&&this.g[o]>=e;)h=this.g[o],s=this.i[o],s=tt(s).toString(),i[s]&&(u!==r&&es(n,t,u,r),r=h),o--,u=h;u!==r&&es(n,t,u,r);u=r=e}};n.$d=function(n,t,i,r,u){var o,f,s,c,h,l,e;for(e=this.g.length-2,s=this.g[e+1],o=this.u.length-1;0<=o;--o)for(f=this.l[o],n.uniform4fv(this.H.D,f[0]),iet(this,n,f[1],f[2]),c=this.u[o];0<=e&&this.g[e]>=c;){if(f=this.g[e],h=this.i[e],l=tt(h).toString(),void 0===i[l]&&h.V()&&(void 0===u||pe(u,h.V().G()))&&(n.clear(n.COLOR_BUFFER_BIT|n.DEPTH_BUFFER_BIT),es(n,t,f,s),s=r(h)))return s;e--;s=f}};n.Ma=function(n,t){var i,r,u;t?(i=t.g,this.c.lineDash=i?i:gwt,i=t.b,i=i instanceof CanvasGradient||i instanceof CanvasPattern?pn:ly(i).map(function(n,t){return 3!=t?n/255:n})||pn,r=t.f,r=void 0!==r?r:1):(i=[0,0,0,0],r=0);u=n?n.b:[0,0,0,0];u=u instanceof CanvasGradient||u instanceof CanvasPattern?yn:ly(u).map(function(n,t){return 3!=t?n/255:n})||yn;this.c.strokeColor&&kc(this.c.strokeColor,i)&&this.c.fillColor&&kc(this.c.fillColor,u)&&this.c.lineWidth===r||(this.c.s=!0,this.c.fillColor=u,this.c.strokeColor=i,this.c.lineWidth=r,this.l.push([u,i,r]))};i(obt,vv);sbt=new obt;i(hbt,yv);cbt=new hbt;i(dy,vp);n=dy.prototype;n.oa=function(){var n,t;if(clt(this.j),n=this.b,!n.isContextLost()){for(t in this.a)n.deleteBuffer(this.a[t].buffer);for(t in this.g)n.deleteProgram(this.g[t]);for(t in this.f)n.deleteShader(this.f[t]);n.deleteFramebuffer(this.c);n.deleteRenderbuffer(this.o);n.deleteTexture(this.v)}};n.bo=function(){return this.b};n.co=function(){ol(this.a);ol(this.f);ol(this.g);this.o=this.v=this.c=this.l=null};n.eo=function(){};n.Lc=function(n){return n==this.l?!1:(this.b.useProgram(n),this.l=n,!0)};i(ret,wl);n=ret.prototype;n.wb=function(n){var u=this.v,f=this.o,i=this.Fa,r=this.u,t=n.b;return function(){if(!t.isContextLost()){for(var e=0,o=i.length;e<o;++e)t.deleteTexture(i[e]);for(e=0,o=r.length;e<o;++e)t.deleteTexture(r[e])}la(n,u);la(n,f)}};n.vc=function(n,t){this.g.push(this.b.length);this.i.push(t);var i=n.ia();wbt(this,i,i.length,n.pa())};n.xc=function(n,t){this.g.push(this.b.length);this.i.push(t);var i=n.ia();wbt(this,i,i.length,n.pa())};n.vb=function(n){n=n.b;this.A.push(this.b.length);this.H.push(this.b.length);this.v=new bl(this.a);this.o=new bl(this.b);var t={};bbt(this.Fa,this.l,t,n);bbt(this.u,this.c,t,n);this.ra=this.D=this.C=void 0;this.c=this.l=null;this.P=this.va=void 0;this.b=null;this.sa=this.fa=this.eb=this.Z=this.Qa=this.U=void 0;this.a=null;this.zb=void 0};n.Ke=function(n,t){var r=ib(t,sbt,cbt),i;return this.L?i=this.L:this.L=i=new rci(n,r),t.Lc(r),n.enableVertexAttribArray(i.b),n.vertexAttribPointer(i.b,2,5126,!1,32,0),n.enableVertexAttribArray(i.v),n.vertexAttribPointer(i.v,2,5126,!1,32,8),n.enableVertexAttribArray(i.C),n.vertexAttribPointer(i.C,2,5126,!1,32,16),n.enableVertexAttribArray(i.H),n.vertexAttribPointer(i.H,1,5126,!1,32,24),n.enableVertexAttribArray(i.A),n.vertexAttribPointer(i.A,1,5126,!1,32,28),i};n.Le=function(n,t){n.disableVertexAttribArray(t.b);n.disableVertexAttribArray(t.v);n.disableVertexAttribArray(t.C);n.disableVertexAttribArray(t.H);n.disableVertexAttribArray(t.A)};n.yd=function(n,t,i,r){var h=r?this.u:this.Fa,u,f,o,l;if(r=r?this.H:this.A,us(i))for(i=0,u=h.length,f=0;i<u;++i)n.bindTexture(3553,h[i]),o=r[i],es(n,t,f,o),f=o;else for(f=u=0,o=h.length;f<o;++f){n.bindTexture(3553,h[f]);for(var e=0<f?r[f-1]:0,c=r[f],s=e;u<this.g.length&&this.g[u]<=c;)l=tt(this.i[u]).toString(),void 0!==i[l]?(s!==e&&es(n,t,s,e),e=s=u===this.g.length-1?c:this.g[u+1]):e=u===this.g.length-1?c:this.g[u+1],u++;s!==e&&es(n,t,s,e)}};n.$d=function(n,t,i,r,u){for(var c,h,e,o,l,s=this.g.length-1,f=this.u.length-1;0<=f;--f)for(n.bindTexture(3553,this.u[f]),c=0<f?this.H[f-1]:0,e=this.H[f];0<=s&&this.g[s]>=c;){if(h=this.g[s],o=this.i[s],l=tt(o).toString(),void 0===i[l]&&o.V()&&(void 0===u||pe(u,o.V().G()))&&(n.clear(n.COLOR_BUFFER_BIT|n.DEPTH_BUFFER_BIT),es(n,t,h,e),e=r(o)))return e;e=h;s--}};n.dc=function(n){var u=n.Ac(),i=n.Ic(1),f=n.de(),r=n.Lf(1),s=n.l,e=n.Jc(),h=n.H,c=n.o,o=n.ac(),t;n=n.i;0===this.l.length?this.l.push(i):(t=this.l[this.l.length-1],tt(t)!=tt(i)&&(this.A.push(this.b.length),this.l.push(i)));0===this.c.length?this.c.push(r):(t=this.c[this.c.length-1],tt(t)!=tt(r)&&(this.H.push(this.b.length),this.c.push(r)));this.C=u[0];this.D=u[1];this.ra=o[1];this.va=f[1];this.P=f[0];this.U=s;this.Qa=e[0];this.Z=e[1];this.fa=c;this.eb=h;this.sa=n;this.zb=o[0]};i(kbt,vv);dbt=new kbt;i(gbt,yv);nkt=new gbt;i(bn,wl);n=bn.prototype;n.Pb=function(n,t){var i=n.ia(),r=n.pa();tkt(i,i.length,r)&&(i=da(i,i.length,r,-this.origin[0],-this.origin[1]),this.c.s&&(this.l.push(this.b.length),this.c.s=!1),this.g.push(this.b.length),this.i.push(t),kn(this,i,i.length,r))};n.uc=function(n,t){for(var f=this.b.length,e=n.Yc(),i,u,r=0,o=e.length;r<o;++r)i=e[r].ia(),u=e[r].pa(),tkt(i,i.length,u)&&(i=da(i,i.length,u,-this.origin[0],-this.origin[1]),kn(this,i,i.length,u));this.b.length>f&&(this.g.push(f),this.i.push(t),this.c.s&&(this.l.push(f),this.c.s=!1))};n.vb=function(){this.v=new bl(this.a);this.o=new bl(this.b);this.g.push(this.b.length);0===this.l.length&&0<this.u.length&&(this.u=[]);this.b=this.a=null};n.wb=function(n){var t=this.v,i=this.o;return function(){la(n,t);la(n,i)}};n.Ke=function(n,t,i,r){var f=ib(t,dbt,nkt),u;return this.H?u=this.H:this.H=u=new uci(n,f),t.Lc(f),n.enableVertexAttribArray(u.l),n.vertexAttribPointer(u.l,2,5126,!1,28,0),n.enableVertexAttribArray(u.b),n.vertexAttribPointer(u.b,2,5126,!1,28,8),n.enableVertexAttribArray(u.o),n.vertexAttribPointer(u.o,2,5126,!1,28,16),n.enableVertexAttribArray(u.i),n.vertexAttribPointer(u.i,1,5126,!1,28,24),n.uniform2fv(u.va,i),n.uniform1f(u.ra,r),u};n.Le=function(n,t){n.disableVertexAttribArray(t.l);n.disableVertexAttribArray(t.b);n.disableVertexAttribArray(t.o);n.disableVertexAttribArray(t.i)};n.yd=function(n,t,i,r){var l=n.getParameter(n.DEPTH_FUNC),a=n.getParameter(n.DEPTH_WRITEMASK),e,f,u,o,h,s,c;if(r||(n.enable(n.DEPTH_TEST),n.depthMask(!0),n.depthFunc(n.NOTEQUAL)),us(i))for(f=this.g[this.g.length-1],i=this.l.length-1;0<=i;--i)e=this.l[i],u=this.u[i],fet(this,n,u[0],u[1],u[2]),es(n,t,e,f),n.clear(n.DEPTH_BUFFER_BIT),f=e;else for(s=this.g.length-2,u=f=this.g[s+1],e=this.l.length-1;0<=e;--e){for(o=this.u[e],fet(this,n,o[0],o[1],o[2]),o=this.l[e];0<=s&&this.g[s]>=o;)c=this.g[s],h=this.i[s],h=tt(h).toString(),i[h]&&(f!==u&&(es(n,t,f,u),n.clear(n.DEPTH_BUFFER_BIT)),u=c),s--,f=c;f!==u&&(es(n,t,f,u),n.clear(n.DEPTH_BUFFER_BIT));f=u=o}r||(n.disable(n.DEPTH_TEST),n.clear(n.DEPTH_BUFFER_BIT),n.depthMask(a),n.depthFunc(l))};n.$d=function(n,t,i,r,u){var o,f,s,c,h,l,e;for(e=this.g.length-2,s=this.g[e+1],o=this.l.length-1;0<=o;--o)for(f=this.u[o],fet(this,n,f[0],f[1],f[2]),c=this.l[o];0<=e&&this.g[e]>=c;){if(f=this.g[e],h=this.i[e],l=tt(h).toString(),void 0===i[l]&&h.V()&&(void 0===u||pe(u,h.V().G()))&&(n.clear(n.COLOR_BUFFER_BIT|n.DEPTH_BUFFER_BIT),es(n,t,f,s),s=r(h)))return s;e--;s=f}};n.Ma=function(n,t){var i=t.c;this.c.lineCap=void 0!==i?i:"round";i=t.g;this.c.lineDash=i?i:gwt;i=t.i;this.c.lineJoin=void 0!==i?i:"round";i=t.b;i=i instanceof CanvasGradient||i instanceof CanvasPattern?pn:ly(i).map(function(n,t){return 3!=t?n/255:n})||pn;var r=t.f,r=void 0!==r?r:1,u=t.j,u=void 0!==u?u:10;this.c.strokeColor&&kc(this.c.strokeColor,i)&&this.c.lineWidth===r&&this.c.miterLimit===u||(this.c.s=!0,this.c.strokeColor=i,this.c.lineWidth=r,this.c.miterLimit=u,this.u.push([i,r,u]))};i(ukt,vv);fkt=new ukt;i(ekt,yv);okt=new ekt;dn.prototype.concat=function(n){if(n.b){if(this.b){var t=this.b.next;this.b.next=n.g;n.g.pb=this.b;t.pb=n.a;n.a.next=t;this.f+=n.f}else this.b=n.b,this.g=n.g,this.a=n.a,this.f=n.f;n.b=void 0;n.g=void 0;n.a=void 0;n.f=0}},function(){var t={},n={ma:t};(function(i){if("object"==typeof t&&"undefined"!=typeof n)n.ma=i();else{var r;r="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this;r.Tp=i()}})(function(){return function n(t,i,r){function u(f,o){if(!i[f]){if(!t[f]){var s="function"==typeof require&&require;if(!o&&s)return s(f,!0);if(e)return e(f,!0);s=Error("Cannot find module '"+f+"'");throw s.code="MODULE_NOT_FOUND",s;}s=i[f]={ma:{}};t[f][0].call(s.ma,function(n){var i=t[f][1][n];return u(i?i:n)},s,s.ma,n,t,i,r)}return i[f].ma}for(var e="function"==typeof require&&require,f=0;f<r.length;f++)u(r[f]);return u}({1:[function(n,t){function r(n,t,f,e,o){for(f=f||0,e=e||n.length-1,o=o||u;e>f;){if(600<e-f){var h=e-f+1,c=t-f+1,l=Math.log(h),s=.5*Math.exp(2*l/3),l=.5*Math.sqrt(l*s*(h-s)/h)*(0>c-h/2?-1:1);r(n,t,Math.max(f,Math.floor(t-c*s/h+l)),Math.min(e,Math.floor(t+(h-c)*s/h+l)),o)}for(h=n[t],c=f,s=e,i(n,f,t),0<o(n[e],h)&&i(n,f,e);c<s;){for(i(n,c,s),c++,s--;0>o(n[c],h);)c++;for(;0<o(n[s],h);)s--}0===o(n[f],h)?i(n,f,s):(s++,i(n,s,e));s<=t&&(f=s+1);t<=s&&(e=s-1)}}function i(n,t,i){var r=n[t];n[t]=n[i];n[i]=r}function u(n,t){return n<t?-1:n>t?1:0}t.ma=r},{}],2:[function(n,t){function e(n,t){if(!(this instanceof e))return new e(n,t);this.af=Math.max(4,n||9);this.rg=Math.max(2,Math.ceil(.4*this.af));t&&this.vj(t);this.clear()}function i(n,t){u(n,0,n.children.length,t,n)}function u(n,t,i,u,e){e||(e=r(null));e.ea=Infinity;e.ga=Infinity;e.ca=-Infinity;e.ja=-Infinity;for(var o;t<i;t++)o=n.children[t],f(e,n.ab?u(o):o);return e}function f(n,t){n.ea=Math.min(n.ea,t.ea);n.ga=Math.min(n.ga,t.ga);n.ca=Math.max(n.ca,t.ca);n.ja=Math.max(n.ja,t.ja)}function h(n,t){return n.ea-t.ea}function c(n,t){return n.ga-t.ga}function s(n){return(n.ca-n.ea)*(n.ja-n.ga)}function o(n){return n.ca-n.ea+(n.ja-n.ga)}function l(n,t){return n.ea<=t.ea&&n.ga<=t.ga&&t.ca<=n.ca&&t.ja<=n.ja}function a(n,t){return t.ea<=n.ca&&t.ga<=n.ja&&t.ca>=n.ea&&t.ja>=n.ga}function r(n){return{children:n,height:1,ab:!0,ea:Infinity,ga:Infinity,ca:-Infinity,ja:-Infinity}}function v(n,t,i,r,u){for(var f=[t,i],e;f.length;)i=f.pop(),t=f.pop(),i-t<=r||(e=t+Math.ceil((i-t)/r/2)*r,y(n,e,t,i,u),f.push(t,e,e,i))}t.ma=e;var y=n("quickselect");e.prototype={all:function(){return this.mg(this.data,[])},search:function(n){var t=this.data,r=[],s=this.tb,f,u,o,i,e;if(!a(n,t))return r;for(f=[];t;){for(u=0,o=t.children.length;u<o;u++)i=t.children[u],e=t.ab?s(i):i,a(n,e)&&(t.ab?r.push(i):l(n,e)?this.mg(i,r):f.push(i));t=f.pop()}return r},load:function(n){if(!n||!n.length)return this;if(n.length<this.rg){for(var t=0,i=n.length;t<i;t++)this.Da(n[t]);return this}return n=this.og(n.slice(),0,n.length-1,0),this.data.children.length?this.data.height===n.height?this.tg(this.data,n):(this.data.height<n.height&&(t=this.data,this.data=n,n=t),this.qg(n,this.data.height-n.height-1,!0)):this.data=n,this},Da:function(n){return n&&this.qg(n,this.data.height-1),this},clear:function(){return this.data=r([]),this},remove:function(n,t){var s,c,e;if(!n)return this;for(var i=this.data,v=this.tb(n),u=[],a=[],f,o,r,h;i||u.length;){if(i||(i=u.pop(),o=u[u.length-1],f=a.pop(),h=!0),i.ab){n:{if(r=n,s=i.children,c=t,c){for(e=0;e<s.length;e++)if(c(r,s[e])){r=e;break n}r=-1}else r=s.indexOf(r)};if(-1!==r){i.children.splice(r,1);u.push(i);this.tj(u);break}}h||i.ab||!l(i,v)?o?(f++,i=o.children[f],h=!1):i=null:(u.push(i),a.push(f),f=0,o=i,i=i.children[0])}return this},tb:function(n){return n},ff:h,gf:c,toJSON:function(){return this.data},mg:function(n,t){for(var i=[];n;)n.ab?t.push.apply(t,n.children):i.push.apply(i,n.children),n=i.pop();return t},og:function(n,t,u,f){var o=u-t+1,e=this.af,s,h,c,l;if(o<=e)return s=r(n.slice(t,u+1)),i(s,this.tb),s;for(f||(f=Math.ceil(Math.log(o)/Math.log(e)),e=Math.ceil(o/Math.pow(e,f-1))),s=r([]),s.ab=!1,s.height=f,o=Math.ceil(o/e),e=o*Math.ceil(Math.sqrt(e)),v(n,t,u,e,this.ff);t<=u;t+=e)for(c=Math.min(t+e-1,u),v(n,t,c,o,this.gf),h=t;h<=c;h+=o)l=Math.min(h+o-1,c),s.children.push(this.og(n,h,l,f-1));return i(s,this.tb),s},sj:function(n,t,i,r){for(var o,a,u,l,f,h,e,c;;){if(r.push(t),t.ab||r.length-1===i)break;for(e=c=Infinity,o=0,a=t.children.length;o<a;o++)u=t.children[o],f=s(u),h=(Math.max(u.ca,n.ca)-Math.min(u.ea,n.ea))*(Math.max(u.ja,n.ja)-Math.min(u.ga,n.ga))-f,h<c?(c=h,e=f<e?f:e,l=u):h===c&&f<e&&(e=f,l=u);t=l||t.children[0]}return t},qg:function(n,t,i){var r=this.tb,u;for(i=i?n:r(n),r=[],u=this.sj(i,this.data,t,r),u.children.push(n),f(u,i);0<=t;)if(r[t].children.length>this.af)this.Aj(r,t),t--;else break;this.pj(i,r,t)},Aj:function(n,t){var f=n[t],u=f.children.length,e=this.rg;this.qj(f,e,u);u=this.rj(f,e,u);u=r(f.children.splice(u,f.children.length-u));u.height=f.height;u.ab=f.ab;i(f,this.tb);i(u,this.tb);t?n[t-1].children.push(u):this.tg(f,u)},tg:function(n,t){this.data=r([n,t]);this.data.height=n.height+1;this.data.ab=!1;i(this.data,this.tb)},rj:function(n,t,i){for(var r,e,h,o,l,c=o=Infinity,f=t;f<=i-t;f++)r=u(n,0,f,this.tb),e=u(n,f,i,this.tb),h=Math.max(0,Math.min(r.ca,e.ca)-Math.max(r.ea,e.ea))*Math.max(0,Math.min(r.ja,e.ja)-Math.max(r.ga,e.ga)),r=s(r)+s(e),h<c?(c=h,l=f,o=r<o?r:o):h===c&&r<o&&(o=r,l=f);return l},qj:function(n,t,i){var r=n.ab?this.ff:h,u=n.ab?this.gf:c,f=this.ng(n,t,i,r);t=this.ng(n,t,i,u);f<t&&n.children.sort(r)},ng:function(n,t,i,r){n.children.sort(r);r=this.tb;for(var h=u(n,0,t,r),c=u(n,i-t,i,r),l=o(h)+o(c),s,e=t;e<i-t;e++)s=n.children[e],f(h,n.ab?r(s):s),l+=o(h);for(e=i-t-1;e>=t;e--)s=n.children[e],f(c,n.ab?r(s):s),l+=o(c);return l},pj:function(n,t,i){for(;0<=i;i--)f(t[i],n)},tj:function(n){for(var t=n.length-1,r;0<=t;t--)0===n[t].children.length?0<t?(r=n[t-1].children,r.splice(r.indexOf(n[t]),1)):this.clear():i(n[t],this.tb)},vj:function(n){var t=["return a"," - b",";"];this.ff=new Function("a","b",t.join(n[0]));this.gf=new Function("a","b",t.join(n[1]));this.tb=new Function("a","return {minX: a"+n[0]+", minY: a"+n[1]+", maxX: a"+n[2]+", maxY: a"+n[3]+"};")}}},{quickselect:1}]},{},[2])(2)});skt=n.ma}();n=gy.prototype;n.Da=function(n,t){var i={ea:n[0],ga:n[1],ca:n[2],ja:n[3],value:t};this.b.Da(i);this.a[tt(t)]=i};n.load=function(n,t){for(var u=Array(t.length),r=0,e=t.length;r<e;r++){var i=n[r],f=t[r],i={ea:i[0],ga:i[1],ca:i[2],ja:i[3],value:f};u[r]=i;this.a[tt(f)]=i}this.b.load(u)};n.remove=function(n){n=tt(n);var t=this.a[n];return delete this.a[n],null!==this.b.remove(t)};n.forEach=function(n,t){return vkt(akt(this),n,t)};n.clear=function(){this.b.clear();this.a={}};n.G=function(){var n=this.b.data;return[n.ea,n.ga,n.ca,n.ja]};i(oet,wl);n=oet.prototype;n.wc=function(n,t){for(var c=n.Ad(),f=n.pa(),s=this.b.length,l=this.j.b.length,o,v,i,e=0,a=c.length;e<a;++e)if(i=c[e].Zc(),0<i.length){var r=i[0].ia(),r=da(r,r.length,f,-this.origin[0],-this.origin[1]),h=[],u;for(o=1,v=i.length;o<v;++o)u=i[o].ia(),u=da(u,u.length,f,-this.origin[0],-this.origin[1]),h.push(u);ikt(this.j,r,h,f);ykt(this,r,h,f)}this.b.length>s&&(this.g.push(s),this.i.push(t),this.l.s&&(this.c.push(s),this.l.s=!1));this.j.b.length>l&&rkt(this.j,t,l)};n.yc=function(n,t){var u=n.Zc(),f=n.pa();if(0<u.length){this.g.push(this.b.length);this.i.push(t);this.l.s&&(this.c.push(this.b.length),this.l.s=!1);rkt(this.j,t);for(var i=u[0].ia(),i=da(i,i.length,f,-this.origin[0],-this.origin[1]),o=[],r,e=1,s=u.length;e<s;++e)r=u[e].ia(),r=da(r,r.length,f,-this.origin[0],-this.origin[1]),o.push(r);ikt(this.j,i,o,f);ykt(this,i,o,f)}};n.vb=function(n){this.v=new bl(this.a);this.o=new bl(this.b);this.g.push(this.b.length);this.j.vb(n);0===this.c.length&&0<this.u.length&&(this.u=[]);this.b=this.a=null};n.wb=function(n){var t=this.v,i=this.o,r=this.j.wb(n);return function(){la(n,t);la(n,i);r()}};n.Ke=function(n,t){var r=ib(t,fkt,okt),i;return this.H?i=this.H:this.H=i=new fci(n,r),t.Lc(r),n.enableVertexAttribArray(i.b),n.vertexAttribPointer(i.b,2,5126,!1,8,0),i};n.Le=function(n,t){n.disableVertexAttribArray(t.b)};n.yd=function(n,t,i,r){var l=n.getParameter(n.DEPTH_FUNC),a=n.getParameter(n.DEPTH_WRITEMASK),e,u,f,s,h,o,c;if(r||(n.enable(n.DEPTH_TEST),n.depthMask(!0),n.depthFunc(n.NOTEQUAL)),us(i))for(u=this.g[this.g.length-1],i=this.c.length-1;0<=i;--i)e=this.c[i],f=this.u[i],n.uniform4fv(this.H.D,f),es(n,t,e,u),u=e;else for(o=this.g.length-2,f=u=this.g[o+1],e=this.c.length-1;0<=e;--e){for(s=this.u[e],n.uniform4fv(this.H.D,s),s=this.c[e];0<=o&&this.g[o]>=s;)c=this.g[o],h=this.i[o],h=tt(h).toString(),i[h]&&(u!==f&&(es(n,t,u,f),n.clear(n.DEPTH_BUFFER_BIT)),f=c),o--,u=c;u!==f&&(es(n,t,u,f),n.clear(n.DEPTH_BUFFER_BIT));u=f=s}r||(n.disable(n.DEPTH_TEST),n.clear(n.DEPTH_BUFFER_BIT),n.depthMask(a),n.depthFunc(l))};n.$d=function(n,t,i,r,u){var e,o,s,c,h,l,f;for(f=this.g.length-2,s=this.g[f+1],e=this.c.length-1;0<=e;--e)for(o=this.u[e],n.uniform4fv(this.H.D,o),c=this.c[e];0<=f&&this.g[f]>=c;){if(o=this.g[f],h=this.i[f],l=tt(h).toString(),void 0===i[l]&&h.V()&&(void 0===u||pe(u,h.V().G()))&&(n.clear(n.COLOR_BUFFER_BIT|n.DEPTH_BUFFER_BIT),es(n,t,o,s),s=r(h)))return s;f--;s=o}};n.Ma=function(n,t){var i=n?n.b:[0,0,0,0];i=i instanceof CanvasGradient||i instanceof CanvasPattern?yn:ly(i).map(function(n,t){return 3!=t?n/255:n})||yn;this.l.fillColor&&kc(i,this.l.fillColor)||(this.l.fillColor=i,this.l.s=!0,this.u.push(i));t?this.j.Ma(null,t):this.j.Ma(null,new lu({color:[0,0,0,0],lineWidth:0}))};tdt.prototype.f=function(){};i(nc,hwt);nc.prototype.b=function(n,t){var i=void 0!==n?n.toString():"0",r=this.a[i];return void 0===r&&(r={},this.a[i]=r),i=r[t],void 0===i&&(i=new fdt[t](this.j,this.i),r[t]=i),i};nc.prototype.g=function(){return us(this.a)};nc.prototype.f=function(n,t,i,r,u,f,e,o){var c=Object.keys(this.a).map(Number),s,a,h,v,y,l;for(c.sort(iy),s=0,a=c.length;s<a;++s)for(y=this.a[c[s].toString()],h=0,v=pl.length;h<v;++h)l=y[pl[h]],void 0!==l&&l.f(n,t,i,r,u,f,e,o,void 0,!1)};nc.prototype.Ba=function(n,t,i,r,u,f,e,o,s,h){var c=t.b,l;return c.bindFramebuffer(c.FRAMEBUFFER,lbt(t)),void 0!==this.c&&(l=ec(ik(n),r*this.c)),rdt(this,t,n,r,u,e,o,s,function(n){var t=new Uint8Array(4);return c.readPixels(0,0,1,1,c.RGBA,c.UNSIGNED_BYTE,t),0<t[3]&&(n=h(n))?n:void 0},!0,l)};udt=[1,1];fdt={Circle:tet,Image:ret,LineString:bn,Polygon:oet,Text:tdt};i(kl,td);n=kl.prototype;n.Gd=function(n){this.Ma(n.f,n.g);this.dc(n.a)};n.tc=function(n){switch(n.Y()){case"Point":this.xc(n,null);break;case"LineString":this.Pb(n,null);break;case"Polygon":this.yc(n,null);break;case"MultiPoint":this.vc(n,null);break;case"MultiLineString":this.uc(n,null);break;case"MultiPolygon":this.wc(n,null);break;case"GeometryCollection":this.kf(n,null);break;case"Circle":this.hc(n,null)}};n.jf=function(n,t){var i=t.c(n);i&&pe(this.a,i.G())&&(this.Gd(t),this.tc(i))};n.kf=function(n){n=n.f;for(var t=0,i=n.length;t<i;++t)this.tc(n[t])};n.xc=function(n,t){var r=this.b,i=new nc(1,this.a).b(0,"Image");i.dc(this.v);i.xc(n,t);i.vb(r);i.f(this.b,this.g,this.c,this.i,this.j,this.f,1,{},void 0,!1);i.wb(r)()};n.vc=function(n,t){var r=this.b,i=new nc(1,this.a).b(0,"Image");i.dc(this.v);i.vc(n,t);i.vb(r);i.f(this.b,this.g,this.c,this.i,this.j,this.f,1,{},void 0,!1);i.wb(r)()};n.Pb=function(n,t){var r=this.b,i=new nc(1,this.a).b(0,"LineString");i.Ma(null,this.l);i.Pb(n,t);i.vb(r);i.f(this.b,this.g,this.c,this.i,this.j,this.f,1,{},void 0,!1);i.wb(r)()};n.uc=function(n,t){var r=this.b,i=new nc(1,this.a).b(0,"LineString");i.Ma(null,this.l);i.uc(n,t);i.vb(r);i.f(this.b,this.g,this.c,this.i,this.j,this.f,1,{},void 0,!1);i.wb(r)()};n.yc=function(n,t){var r=this.b,i=new nc(1,this.a).b(0,"Polygon");i.Ma(this.o,this.l);i.yc(n,t);i.vb(r);i.f(this.b,this.g,this.c,this.i,this.j,this.f,1,{},void 0,!1);i.wb(r)()};n.wc=function(n,t){var r=this.b,i=new nc(1,this.a).b(0,"Polygon");i.Ma(this.o,this.l);i.wc(n,t);i.vb(r);i.f(this.b,this.g,this.c,this.i,this.j,this.f,1,{},void 0,!1);i.wb(r)()};n.hc=function(n,t){var r=this.b,i=new nc(1,this.a).b(0,"Circle");i.Ma(this.o,this.l);i.hc(n,t);i.vb(r);i.f(this.b,this.g,this.c,this.i,this.j,this.f,1,{},void 0,!1);i.wb(r)()};n.dc=function(n){this.v=n};n.Ma=function(n,t){this.o=n;this.l=t};i(edt,vv);odt=new edt;i(sdt,yv);hdt=new sdt;i(df,ue);df.prototype.Dh=function(n,t,i){cdt(this,"precompose",i,n);wn(i,34962,this.U);var r=i.b,f=ib(i,odt,hdt),u;this.H?u=this.H:this.H=u=new hci(r,f);i.Lc(f)&&(r.enableVertexAttribArray(u.b),r.vertexAttribPointer(u.b,2,5126,!1,16,0),r.enableVertexAttribArray(u.a),r.vertexAttribPointer(u.a,2,5126,!1,16,8),r.uniform1i(u.c,0));r.uniformMatrix4fv(u.i,!1,id(this.C,this.v));r.uniformMatrix4fv(u.f,!1,id(this.C,this.u));r.uniform1f(u.g,t.opacity);r.bindTexture(3553,this.yb);r.drawArrays(5,0,4);cdt(this,"postcompose",i,n)};df.prototype.If=function(){this.i=this.yb=null;this.j=void 0};i(ub,tl);ub.prototype.i=function(n){this.state=n?ha:no;this.s()};ub.prototype.load=function(){this.state==il&&(this.state=pw,this.s(),this.c(this.i.bind(this)))};ub.prototype.a=function(){return this.g};adt=-1<navigator.userAgent.indexOf("OPR");vdt=-1<navigator.userAgent.indexOf("Edge");ldt=!(!navigator.userAgent.match("CriOS")&&"chrome"in window&&"Google Inc."===navigator.vendor&&0==adt&&0==vdt);i(fb,tl);fb.prototype.oa=function(){this.state==pw&&(au(this.Md),this.Md=null);tl.prototype.oa.call(this)};fb.prototype.a=function(){return this.i};fb.prototype.Ld=function(){var n=this.xb.W();n==no&&(this.i=pdt(af(this.g)/this.c,so(this.g)/this.c,this.o,this.xb.resolution,0,this.c,this.g,this.l,[{extent:this.xb.G(),image:this.xb.a()}],0));this.state=n;this.s()};fb.prototype.load=function(){if(this.state==il){this.state=pw;this.s();var n=this.xb.W();n==no||n==ha?this.Ld():(this.Md=f(this.xb,"change",function(){var n=this.xb.W();(n==no||n==ha)&&(au(this.Md),this.Md=null,this.Ld())},this),this.xb.load())}};i(ir,oi);n=ir.prototype;n.Ba=ve;n.za=function(){return this.j};n.ya=function(){return this.L};n.Aa=function(){return this.f};n.W=function(){return this.Fa};n.wa=function(){this.s()};n.ua=function(n){this.j=kdt(n);this.s()};i(hi,ir);hi.prototype.U=function(n,t,i,r){var u=this.f;if(u&&r&&!vh(u,r)){if(this.a){if(this.sa==this.g&&vh(this.a.H,r)&&this.a.resolution==t&&this.a.f==i&&dp(this.a.G(),n))return this.a;fc(this.a);this.a=null}return this.a=new fb(u,r,n,t,i,function(n,t,i){return this.Xc(n,t,i,u)}.bind(this)),this.sa=this.g,this.a}return u&&(r=u),this.Xc(n,t,i,r)};hi.prototype.o=function(n){n=n.target;switch(n.W()){case pw:this.b(new uh(lci,n));break;case no:this.b(new uh(aci,n));break;case ha:this.b(new uh(vci,n))}};i(uh,lr);var lci="imageloadstart",aci="imageloadend",vci="imageloaderror";i(vr,hi);vr.prototype.Xc=function(n,t,i,r){t=utt(this,t);var u=this.P;return u&&this.Z==this.g&&u.resolution==t&&u.f==i&&ys(u.G(),n)?u:(n=n.slice(),ug(n,this.na),(r=this.fa(n,t,i,[af(n)/t*i,so(n)/t*i],r))&&(u=new ub(n,t,i,this.j,r)),this.P=u,this.Z=this.g,u)};i(di,vr);n=di.prototype;n.Jj=function(n,t,i,r,u){var f=new lv(.5*t/i,n,t,this.c.xa,this.xa),e;return(this.c.Ed(n,t,u),e=!1,this.c.Qb(n,function(n){var r,u,s,o;if(!(r=e))if((r=n.Gc())?u=r.call(n,t):this.v&&(u=this.v(n,t)),u){for(o=!1,Array.isArray(u)||(u=[u]),r=0,s=u.length;r<s;++r)o=by(f,n,u[r],nb(t,i),this.jn,this)||o;r=o}else r=!1;e=r},this),dft(f),e)?null:(this.l[0]!=r[0]||this.l[1]!=r[1]?(this.i.canvas.width=r[0],this.i.canvas.height=r[1],this.l[0]=r[0],this.l[1]=r[1]):this.i.clearRect(0,0,r[0],r[1]),n=yci(this,ah(n),t,i,r),f.f(this.i,i,n,0,{}),this.u=f,this.i.canvas)};n.Ba=function(n,t,i,r,u,f){if(this.u){var e={};return this.u.Ba(n,t,0,r,u,function(n){var t=tt(n).toString();if(!(t in e))return e[t]=!0,f(n)})}};n.fn=function(){return this.c};n.gn=function(){return this.C};n.hn=function(){return this.v};n.jn=function(){this.s()};n.kn=function(){ac(this,this.c.W())};n.Fh=function(n){this.C=void 0!==n?n:gpt;this.v=n?dpt(this.C):void 0;this.s()};i(uo,df);uo.prototype.Ba=function(n,t,i,r,u){var f=this.a;return f.la().Ba(n,t.viewState.resolution,t.viewState.rotation,i,t.skippedFeatureUids,function(n){return r.call(u,n,f)})};uo.prototype.Jf=function(n,t){var f=this.f.g,r=n.pixelRatio,i=n.viewState,l=i.center,o=i.resolution,a=i.rotation,u=this.c,s=this.yb,h=this.a.la(),c=n.viewHints,e=n.extent;return void 0!==t.extent&&(e=fa(e,t.extent)),c[ne]||c[1]||tw(e)||(i=h.U(e,o,r,i.projection))&&uwt(this,i)&&(u=i,s=pci(this,i),this.yb&&n.postRenderFunctions.push(function(n,t){n.isContextLost()||n.deleteTexture(t)}.bind(null,f,this.yb))),u&&(f=this.f.c.j,wci(this,f.width,f.height,r,l,o,a,u.G()),this.o=null,r=this.v,yy(r),bh(r,1,-1),nl(r,0,-1),this.c=u,this.yb=s,hn(n.attributions,u.j),bw(n,h)),!!u};uo.prototype.te=function(n,t){return void 0!==this.Ba(n,t,0,ao,this)};uo.prototype.Hf=function(n,t,i,r){var u,e,f;if(this.c&&this.c.a())if(this.a.la()instanceof di){if(u=wh(t.pixelToCoordinateTransform,n.slice()),this.Ba(u,t,0,ao,this))return i.call(r,this.a,null)}else if(u=[this.c.a().width,this.c.a().height],this.o||(e=t.size,t=re(),nl(t,-1,-1),bh(t,2/e[0],2/e[1]),nl(t,0,e[1]),bh(t,1,-1),e=ypt(this.u.slice()),f=re(),nl(f,0,u[1]),bh(f,1,-1),bh(f,u[0]/2,u[1]/2),nl(f,1,1),kk(f,e),kk(f,t),this.o=f),n=wh(this.o,n.slice()),!(0>n[0]||n[0]>u[0]||0>n[1]||n[1]>u[1])&&(this.l||(this.l=ie(1,1)),this.l.clearRect(0,0,1,1),this.l.drawImage(this.c.a(),n[0],n[1],1,1,0,0,1,1),u=this.l.getImageData(0,0,1,1).data,0<u[3]))return i.call(r,this.a,u)};i(ddt,vv);gdt=new ddt;i(ngt,yv);tgt=new ngt;i(ns,df);n=ns.prototype;n.oa=function(){la(this.f.c,this.D);df.prototype.oa.call(this)};n.hf=function(n,t,i){var r=this.f;return function(u,f){return uei(n,t,u,f,function(n){var t=r.a.b.hasOwnProperty(n.bb());return t&&(i[u]||(i[u]={}),i[u][n.Ca.toString()]=n),t})}};n.If=function(){df.prototype.If.call(this);this.c=null};n.Jf=function(n,t,i){var tt=this.f,f=i.b,y=n.viewState,k=y.projection,ut=this.a,s=ut.la(),h=s.Db(k),c=h.Ec(y.resolution),d=h.Ha(c),p=s.Dd(c,n.pixelRatio,k),g=p[0]/th(h.Za(c),this.P)[0],r=d/g,et=s.jb(g)*s.qf(k),ot=y.center,st=n.extent,o=iut(h,st,d),ft;if(this.l&&goi(this.l,o)&&this.o==s.g)r=this.A;else{var a=[o.ca-o.ea+1,o.ja-o.ga+1],l=uoi(Math.max(a[0]*p[0],a[1]*p[1])),a=r*l,e=h.Kc(c),w=e[0]+o.ea*p[0]*r,r=e[1]+o.ga*p[1]*r,r=[w,r,w+a,r+a];cci(this,n,l);f.viewport(0,0,l,l);f.clearColor(0,0,0,0);f.clear(16384);f.disable(3042);l=ib(i,this.L,this.Z);i.Lc(l);this.c||(this.c=new bci(f,l));wn(i,34962,this.D);f.enableVertexAttribArray(this.c.b);f.vertexAttribPointer(this.c.b,2,5126,!1,16,0);f.enableVertexAttribArray(this.c.a);f.vertexAttribPointer(this.c.a,2,5126,!1,16,8);f.uniform1i(this.c.g,0);i={};i[c]={};for(var v=this.hf(s,k,i),nt=ut.c(),l=!0,w=lo(),it=new sk(0,0,0,0),u,rt,b=o.ea;b<=o.ca;++b)for(rt=o.ga;rt<=o.ja;++rt)if(e=s.Dc(c,b,rt,g,k),void 0===t.extent||(u=h.Na(e.Ca,w),pe(u,t.extent))){if(u=e.W(),(u=u==yo||4==u||3==u&&!nt)||(e=hyt(e)),u=e.W(),u==yo){if(tt.a.b.hasOwnProperty(e.bb())){i[c][e.Ca.toString()]=e;continue}}else if(4==u||3==u&&!nt)continue;l=!1;u=uvt(h,e.Ca,v,it,w);u||(e=fvt(h,e.Ca,it,w))&&v(c+1,e)}t=Object.keys(i).map(Number);t.sort(iy);for(var v=new Float32Array(4),ht,nt=0,it=t.length;nt<it;++nt)for(ht in b=i[t[nt]],b)e=b[ht],u=h.Na(e.Ca,w),v[0]=2*(u[2]-u[0])/a,v[1]=2*(u[3]-u[1])/a,v[2]=2*(u[0]-r[0])/a-1,v[3]=2*(u[1]-r[1])/a-1,f.uniform4fv(this.c.f,v),igt(tt,e,p,et*g),f.drawArrays(5,0,4);l?(this.l=o,this.A=r,this.o=s.g):(this.A=this.l=null,this.o=-1,n.animate=!0)}return ewt(n.usedTiles,s,c,o),ft=tt.j,owt(n,s,h,g,k,st,c,ut.f(),function(n){n.W()!=yo||tt.a.b.hasOwnProperty(n.bb())||n.bb()in ft.a||ft.c([n,rut(h,n.Ca),h.Ha(n.Ca[0]),p,et*g])},this),fwt(n,s),bw(n,s),f=this.v,yy(f),nl(f,(Math.round(ot[0]/d)*d-r[0])/(r[2]-r[0]),(Math.round(ot[1]/d)*d-r[1])/(r[3]-r[1])),0!==y.rotation&&rn(f,y.rotation),bh(f,n.size[0]*y.resolution/(r[2]-r[0]),n.size[1]*y.resolution/(r[3]-r[1])),nl(f,-.5,-.5),!0};n.Hf=function(n,t,i,r){if(this.i){n=wh(this.v,[n[0]/t.size[0],(t.size[1]-n[1])/t.size[1]].slice());n=[n[0]*this.j,n[1]*this.j];t=this.f.c.b;t.bindFramebuffer(t.FRAMEBUFFER,this.i);var u=new Uint8Array(4);if(t.readPixels(n[0],n[1],1,1,t.RGBA,t.UNSIGNED_BYTE,u),0<u[3])return i.call(r,this.a,u)}};i(ts,df);n=ts.prototype;n.Dh=function(n,t,i){this.l=t;var u=n.viewState,f=this.c,e=n.size,o=n.pixelRatio,r=this.f.g;f&&!f.g()&&(r.enable(r.SCISSOR_TEST),r.scissor(0,0,e[0]*o,e[1]*o),f.f(i,u.center,u.resolution,u.rotation,e,o,t.opacity,t.me?n.skippedFeatureUids:{}),r.disable(r.SCISSOR_TEST))};n.oa=function(){var n=this.c;n&&(idt(n,this.f.c)(),this.c=null);df.prototype.oa.call(this)};n.Ba=function(n,t,i,r,u){if(this.c&&this.l){i=t.viewState;var e=this.a,f={};return this.c.Ba(n,this.f.c,i.center,i.resolution,i.rotation,t.size,t.pixelRatio,this.l.opacity,{},function(n){var t=tt(n).toString();if(!(t in f))return f[t]=!0,r.call(u,n,e)})}};n.te=function(n,t){if(this.c&&this.l){var i=t.viewState;return sci(this.c,n,this.f.c,i.resolution,i.rotation,t.pixelRatio,this.l.opacity,t.skippedFeatureUids)}return!1};n.Hf=function(n,t,i,r){return n=wh(t.pixelToCoordinateTransform,n.slice()),this.te(n,t)?i.call(r,this.a,null):void 0};n.Eh=function(){sn(this)};n.Jf=function(n,t,i){function a(n){var i,t=n.Gc(),r;if(t?i=t.call(n,u):(t=f.j)&&(i=t(n,u)),i){if(i){if(t=!1,Array.isArray(i))for(r=i.length-1;0<=r;--r)t=by(s,n,i[r],nb(u,l),this.Eh,this)||t;else t=by(s,n,i,nb(u,l),this.Eh,this)||t;n=t}else n=!1;this.o=this.o||n}}var f=this.a,s,h;t=f.la();hn(n.attributions,t.j);bw(n,t);var c=n.viewHints[ne],r=n.viewHints[1],o=f.Z,e=f.fa;if(!this.o&&!o&&c||!e&&r)return!0;var r=n.extent,o=n.viewState,c=o.projection,u=o.resolution,l=n.pixelRatio,o=f.g,v=f.i,e=f.get("renderOrder");return(void 0===e&&(e=wwt),r=ec(r,v*u),!this.o&&this.L==u&&this.P==o&&this.D==e&&ys(this.A,r))?!0:(this.c&&n.postRenderFunctions.push(idt(this.c,i)),this.o=!1,s=new nc(.5*u/l,r,f.i),t.Ed(r,u,c),e?(h=[],t.Qb(r,function(n){h.push(n)},this),h.sort(e),h.forEach(a,this)):t.Qb(r,a,this),oci(s,i),this.L=u,this.P=o,this.D=e,this.A=r,this.c=s,!0)};n=ett.prototype;n.clear=function(){this.f=0;this.b={};this.g=this.a=null};n.forEach=function(n,t){for(var i=this.a;i;)n.call(t,i.Rc,i.jc,this),i=i.Gb};n.get=function(n){return(n=this.b[n],li(void 0!==n,15),n===this.g)?n.Rc:(n===this.a?(this.a=this.a.Gb,this.a.fd=null):(n.Gb.fd=n.fd,n.fd.Gb=n.Gb),n.Gb=null,n.fd=this.g,this.g=this.g.Gb=n,n.Rc)};n.pop=function(){var n=this.a;return delete this.b[n.jc],n.Gb&&(n.Gb.fd=null),this.a=n.Gb,this.a||(this.g=null),--this.f,n.Rc};n.replace=function(n,t){this.get(n);this.b[n].Rc=t};n.set=function(n,t){li(!(n in this.b),16);var i={jc:n,Gb:null,fd:this.g,Rc:t};this.g?this.g.Gb=i:this.a=i;this.g=i;this.b[n]=i;++this.f};i(cet,ev);n=cet.prototype;n.Ag=function(n){return n instanceof ti?new uo(this,n):n instanceof rt?new ns(this,n):n instanceof b?new ts(this,n):null};n.oa=function(){var n=this.g;n.isContextLost()||this.a.forEach(function(t){t&&n.deleteTexture(t.yb)});fc(this.c);ev.prototype.oa.call(this)};n.Nj=function(n,t){for(var r=this.g,i;1024<this.a.f-this.i;){if(i=this.a.a.Rc)r.deleteTexture(i.yb);else if(+this.a.a.jc==t.index)break;else--this.i;this.a.pop()}};n.Y=function(){return"webgl"};n.Um=function(n){n.preventDefault();this.a.clear();this.i=0;n=this.f;for(var t in n)n[t].If()};n.Vm=function(){ugt(this);this.l.render()};n.ag=function(n){var h=this.c,u=this.g,e,r,f,i,o,s,t;if(u.isContextLost())return!1;if(!n)return this.o&&(this.b.style.display="none",this.o=!1),!1;for(this.H=n.focus,this.a.set((-n.index).toString(),null),++this.i,rgt(this,"precompose",n),e=[],r=n.layerStatesArray,ylt(r),f=n.viewState.resolution,i=0,o=r.length;i<o;++i)t=r[i],vy(t,f)&&"ready"==t.Ei&&(s=ov(this,t.layer),s.Jf(n,t,h)&&e.push(t));for(r=n.size[0]*n.pixelRatio,f=n.size[1]*n.pixelRatio,(this.b.width!=r||this.b.height!=f)&&(this.b.width=r,this.b.height=f),u.bindFramebuffer(36160,null),u.clearColor(0,0,0,0),u.clear(16384),u.enable(3042),u.viewport(0,0,this.b.width,this.b.height),i=0,o=e.length;i<o;++i)t=e[i],s=ov(this,t.layer),s.Dh(n,t,h);this.o||(this.b.style.display="",this.o=!0);ppt(n);1024<this.a.f-this.i&&n.postRenderFunctions.push(this.Nj.bind(this));0!==this.j.b.length&&(n.postRenderFunctions.push(this.D),n.animate=!0);rgt(this,"postcompose",n);bpt(this,n);n.postRenderFunctions.push(wpt)};n.Ba=function(n,t,i,r,u,f,e){var o,l,h,s,c;if(this.g.isContextLost())return!1;for(l=t.viewState,h=t.layerStatesArray,s=h.length-1;0<=s;--s)if(o=h[s],c=o.layer,vy(o,l.resolution)&&f.call(e,c)&&(o=ov(this,c).Ba(n,t,i,r,u)))return o};n.Ch=function(n,t,i,r,u){var h,e,f,o,s;if(i=!1,this.g.isContextLost())return!1;for(h=t.viewState,e=t.layerStatesArray,f=e.length-1;0<=f;--f)if(o=e[f],s=o.layer,vy(o,h.resolution)&&r.call(u,s)&&(i=ov(this,s).te(n,t)))return!0;return i};n.Bh=function(n,t,i,r,u){var h,f,o,e,s;if(this.g.isContextLost())return!1;for(h=t.viewState,o=t.layerStatesArray,e=o.length-1;0<=e;--e)if(f=o[e],s=f.layer,vy(f,h.resolution)&&u.call(r,s)&&(f=ov(this,s).Hf(n,t,i,r)))return f};aet=["canvas","webgl"];i(s,oi);n=s.prototype;n.Bj=function(n){this.l.push(n)};n.Cj=function(n){this.j.push(n)};n.ug=function(n){this.Bc().cd().push(n)};n.vg=function(n){this.o.push(n)};n.wg=function(n){var t=n.i;void 0!==t&&(this.Mf[t.toString()]=n);n.setMap(this)};n.Ij=function(){this.render();Array.prototype.push.apply(this.Z,arguments)};n.oa=function(){fc(this.Fa);fc(this.C);uc(this.f,"wheel",this.ad,this);uc(this.f,"mousewheel",this.ad,this);void 0!==this.c&&(window.removeEventListener("resize",this.c,!1),this.c=void 0);this.i&&(cancelAnimationFrame(this.i),this.i=void 0);this.ph(null);oi.prototype.oa.call(this)};n.ae=function(n,t,i){if(this.a)return n=this.Sa(n),i=void 0!==i?i:{},this.C.Ba(n,this.a,void 0!==i.hitTolerance?i.hitTolerance*this.a.pixelRatio:0,t,null,void 0!==i.layerFilter?i.layerFilter:ao,null)};n.Wl=function(n,t,i,r,u){if(this.a)return this.C.Bh(n,this.a,t,void 0!==i?i:null,void 0!==r?r:ao,void 0!==u?u:null)};n.ml=function(n,t){if(!this.a)return!1;var i=this.Sa(n);return t=void 0!==t?t:{},this.C.Ch(i,this.a,void 0!==t.hitTolerance?t.hitTolerance*this.a.pixelRatio:0,void 0!==t.layerFilter?t.layerFilter:ao,null)};n.ck=function(n){return this.Sa(this.ce(n))};n.ce=function(n){var t=this.f.getBoundingClientRect();return n=n.changedTouches?n.changedTouches[0]:n,[n.clientX-t.left,n.clientY-t.top]};n.vf=function(){return this.get(stt)};n.Cc=function(){var n=this.vf();return void 0!==n?"string"==typeof n?document.getElementById(n):n:null};n.Sa=function(n){var t=this.a;return t?wh(t.pixelToCoordinateTransform,n.slice()):null};n.ak=function(){return this.l};n.vk=function(){return this.o};n.uk=function(n){return n=this.Mf[n.toString()],void 0!==n?n:null};n.hk=function(){return this.j};n.Bc=function(){return this.get(ott)};n.oh=function(){return this.Bc().cd()};n.Ga=function(n){var t=this.a;return t?wh(t.coordinateToPixelTransform,n.slice(0,2)):null};n.nb=function(){return this.get(vet)};n.aa=function(){return this.get(ed)};n.Ik=function(){return this.f};n.Gk=function(n,t,i,r){var u=this.a;return(u&&t in u.wantedTiles&&u.wantedTiles[t][n.bb()])?(n=i[0]-u.focus[0],i=i[1]-u.focus[1],65536*Math.log(r)+Math.sqrt(n*n+i*i)/r):Infinity};n.ad=function(n,t){var i=new kf(t||n.type,this,n);this.Zg(i)};n.Zg=function(n){var i,t,r;if(this.a&&(this.U=n.coordinate,n.frameState=this.a,i=this.j.a,!1!==this.b(n)))for(t=i.length-1;0<=t;t--)if(r=i[t],r.f()&&!r.handleEvent(n))break};n.fl=function(){var r=this.a,t=this.xa,n,i,u;for(0!==t.b.length&&(n=16,i=n,r&&(u=r.viewHints,u[ne]&&(n=this.Xe?8:0,i=2),u[1]&&(n=this.Ve?8:0,i=2)),t.j<n&&(vyt(t),yyt(t,n,i))),t=this.Ja,n=0,i=t.length;n<i;++n)t[n](this,r);t.length=0};n.hl=function(){this.render()};n.jl=function(){var n,t,i;if(this.vf()&&(n=this.Cc()),this.v){for(t=0,i=this.v.length;t<i;++t)au(this.v[t]);this.v=null}n?(n.appendChild(this.f),n=this.na?this.na:n,this.v=[f(n,"keydown",this.ad,this),f(n,"keypress",this.ad,this)],this.c||(this.c=this.ld.bind(this),window.addEventListener("resize",this.c,!1))):(sw(this.f),void 0!==this.c&&(window.removeEventListener("resize",this.c,!1),this.c=void 0));this.ld()};n.kl=function(){this.render()};n.bh=function(){this.render()};n.ll=function(){this.P&&(au(this.P),this.P=null);this.L&&(au(this.L),this.L=null);var n=this.aa();n&&(this.P=f(n,wa,this.bh,this),this.L=f(n,"change",this.bh,this));this.render()};n.Tk=function(){this.D&&(this.D.forEach(au),this.D=null);var n=this.Bc();n&&(this.D=[f(n,wa,this.render,this),f(n,"change",this.render,this)]);this.render()};n.$o=function(){this.i&&cancelAnimationFrame(this.i);this.sa()};n.render=function(){void 0===this.i&&(this.i=requestAnimationFrame(this.sa))};n.To=function(n){return this.l.remove(n)};n.Uo=function(n){return this.j.remove(n)};n.Wo=function(n){return this.Bc().cd().remove(n)};n.Xo=function(n){return this.o.remove(n)};n.Zo=function(n){var i,e,f,r=this.nb(),u=this.aa(),s=lo(),t=null;if(void 0!==r&&0<r[0]&&0<r[1]&&u&&nvt(u)){var t=oa(u,this.a?this.a.viewHints:void 0),o=this.Bc().sf(),h={};for(i=0,e=o.length;i<e;++i)h[tt(o[i].layer)]=o[i];f=u.W();t={animate:!1,attributions:{},coordinateToPixelTransform:this.Ob,extent:s,focus:this.U?this.U:f.center,index:this.fc++,layerStates:h,layerStatesArray:o,logos:er({},this.bf),pixelRatio:this.cf,pixelToCoordinateTransform:this.df,postRenderFunctions:[],size:r,skippedFeatureUids:this.fa,tileQueue:this.xa,time:n,usedTiles:{},viewState:f,viewHints:t,wantedTiles:{}}}if(t){for(n=this.Z,i=r=0,e=n.length;i<e;++i)u=n[i],u(this,t)&&(n[r++]=u);n.length=r;t.extent=trt(f.center,f.resolution,f.rotation,t.size,s)}this.a=t;this.C.ag(t);t&&(t.animate&&this.render(),Array.prototype.push.apply(this.Ja,t.postRenderFunctions),0!==this.Z.length||t.viewHints[ne]||t.viewHints[1]||dp(t.extent,this.Ua)||(this.b(new ho("moveend",this,t)),wit(t.extent,this.Ua)));this.b(new ho("postrender",this,t));setTimeout(this.fl.bind(this),0)};n.vi=function(n){this.set(ott,n)};n.eg=function(n){this.set(vet,n)};n.ph=function(n){this.set(stt,n)};n.mp=function(n){this.set(ed,n)};n.Di=function(n){n=tt(n).toString();this.fa[n]=!0;this.render()};n.ld=function(){var t=this.Cc(),n;t?(n=getComputedStyle(t),this.eg([t.offsetWidth-parseFloat(n.borderLeftWidth)-parseFloat(n.paddingLeft)-parseFloat(n.paddingRight)-parseFloat(n.borderRightWidth),t.offsetHeight-parseFloat(n.borderTopWidth)-parseFloat(n.paddingTop)-parseFloat(n.paddingBottom)-parseFloat(n.borderBottomWidth)])):this.eg(void 0)};n.Ji=function(n){n=tt(n).toString();delete this.fa[n];this.render()};var ott="layergroup",vet="size",stt="target",ed="view";apt();i(ki,oi);n=ki.prototype;n.be=function(){return this.get(yet)};n.Xl=function(){return this.i};n.oe=function(){return this.get(pet)};n.Tg=function(){return this.get(wet)};n.qh=function(){return this.get(htt)};n.Ug=function(){return this.get(bet)};n.Ok=function(){for(var n=this.f;n.lastChild;)n.removeChild(n.lastChild);(n=this.be())&&this.f.appendChild(n)};n.Yk=function(){this.c&&(sw(this.f),au(this.c),this.c=null);var n=this.oe();n&&(this.c=f(n,"postrender",this.render,this),od(this),n=this.v?n.u:n.A,this.o?n.insertBefore(this.f,n.childNodes[0]||null):n.appendChild(this.f))};n.render=function(){od(this)};n.bl=function(){od(this)};n.dl=function(){var i;if(od(this),void 0!==this.get(htt)&&this.autoPan&&(i=this.oe(),void 0!==i&&i.Cc())){var t=fgt(i.Cc(),i.nb()),n=this.be(),f=n.offsetWidth,r=n.currentStyle||getComputedStyle(n),f=f+(parseInt(r.marginLeft,10)+parseInt(r.marginRight,10)),r=n.offsetHeight,e=n.currentStyle||getComputedStyle(n),r=r+(parseInt(e.marginTop,10)+parseInt(e.marginBottom,10)),u=fgt(n,[f,r]),n=this.l;ys(t,u)||(f=u[0]-t[0],r=t[2]-u[2],e=u[1]-t[1],u=t[3]-u[3],t=[0,0],0>f?t[0]=f-n:0>r&&(t[0]=Math.abs(r)+n),0>e?t[1]=e-n:0>u&&(t[1]=Math.abs(u)+n),0===t[0]&&0===t[1])||(n=i.aa().fb(),n=i.Ga(n),t=[n[0]+t[0],n[1]+t[1]],i.aa().animate({center:i.Sa(t),duration:this.j.duration,easing:this.j.easing}))}};n.el=function(){od(this)};n.pi=function(n){this.set(yet,n)};n.setMap=function(n){this.set(pet,n)};n.xi=function(n){this.set(wet,n)};n.Ef=function(n){this.set(htt,n)};n.Ai=function(n){this.set(bet,n)};var ogt="bottom-left",sgt="bottom-center",hgt="bottom-right",dci="center-left",cgt="center-center",lgt="center-right",gci="top-left",nli="top-center",tli="top-right",yet="element",pet="map",wet="offset",htt="position",bet="positioning";i(or,ni);n=or.prototype;n.setMap=function(n){var t=this.a;n!==t&&(t&&(t=t.aa())&&uc(t,vf(tv),this.je,this),ni.prototype.setMap.call(this,n),n&&(this.v.push(f(n,wa,this.Zk,this)),0===this.f.oh().Ub()&&this.f.vi(n.Bc()),n=n.aa()))&&(f(n,vf(tv),this.je,this),nvt(n)&&(this.f.ld(),ket(this)))};n.Zk=function(n){n.key===ed&&((n=n.oldValue)&&uc(n,vf(tv),this.je,this),n=this.a.aa(),f(n,vf(tv),this.je,this))};n.je=function(){this.f.aa().pe(this.a.aa().Ra())};n.km=function(n){n.preventDefault();det(this)};n.jm=function(){return this.l};n.mm=function(n){this.l!==n&&(this.l=n,this.element.classList.toggle("ol-uncollapsible"),!n&&this.j&&det(this))};n.lm=function(n){this.l&&this.j!==n&&det(this)};n.im=function(){return this.j};n.wk=function(){return this.f};i(br,ni);ygt=[1,2,5];br.prototype.Eb=function(){return this.get(get)};br.prototype.L=function(){wgt(this)};br.prototype.D=function(n){this.set(get,n)};var get="units",ili="degrees",rli="imperial",uli="nautical",bgt="metric",fli="us";i(gu,ni);gu.prototype.oa=function(){fc(this.l);ni.prototype.oa.call(this)};not=0;n=gu.prototype;n.setMap=function(n){ni.prototype.setMap.call(this,n);n&&n.render()};n.Mk=function(n){var t=this.a.aa();n=ggt(this,eo(1===this.j?(n.offsetX-this.U[0]/2)/this.C:(n.offsetY-this.U[1]/2)/this.o,0,1));t.animate({resolution:t.constrainResolution(n),duration:this.Z,easing:dc})};n.Nk=function(n){if(!this.A&&n.b.target===this.element.firstElementChild&&(ko(this.a.aa(),1,1),this.D=n.clientX,this.L=n.clientY,this.A=!0,0===this.u.length)){n=this.Xg;var t=this.Yg;this.u.push(f(document,"mousemove",n,this),f(document,"touchmove",n,this),f(document,"pointermove",n,this),f(document,"mouseup",t,this),f(document,"touchend",t,this),f(document,"pointerup",t,this))}};n.Xg=function(n){if(this.A){var t=this.element.firstElementChild;this.f=ggt(this,eo(1===this.j?(n.clientX-this.D+parseInt(t.style.left,10))/this.C:(n.clientY-this.L+parseInt(t.style.top,10))/this.o,0,1));this.a.aa().Oc(this.f);dgt(this,this.f);this.D=n.clientX;this.L=n.clientY}};n.Yg=function(){if(this.A){var n=this.a.aa();ko(n,1,-1);n.animate({resolution:n.constrainResolution(this.f),duration:this.Z,easing:dc});this.A=!1;this.L=this.D=void 0;this.u.forEach(au);this.u.length=0}};i(ff,ni);ff.prototype.j=function(n){var i,t;n.preventDefault();t=this.a;n=t.aa();i=this.f?this.f:n.o.G();t=t.nb();n.lf(i,t)};i(kr,oi);n=kr.prototype;n.oa=function(){this.Cf(!1);oi.prototype.oa.call(this)};n.io=function(n){if(null!==n.alpha){var t=as(n.alpha);this.set(nnt,t);"boolean"==typeof n.absolute&&n.absolute?this.set(tot,t):"number"==typeof n.webkitCompassHeading&&-1!=n.webkitCompassAccuracy&&this.set(tot,as(n.webkitCompassHeading))}null!==n.beta&&this.set(tnt,as(n.beta));null!==n.gamma&&this.set(int,as(n.gamma));this.s()};n.Vj=function(){return this.get(nnt)};n.Yj=function(){return this.get(tnt)};n.ek=function(){return this.get(int)};n.Jl=function(){return this.get(tot)};n.kh=function(){return this.get(iot)};n.Kl=function(){if(iyt){var n=this.kh();n&&!this.a?this.a=f(window,"deviceorientation",this.io,this):n||null===this.a||(au(this.a),this.a=null)}};n.Cf=function(n){this.set(iot,n)};var nnt="alpha",tnt="beta",int="gamma",tot="heading",iot="tracking";i(ut,oi);n=ut.prototype;n.clone=function(){var t=new ut(this.R()),n;return t.Nc(this.a),n=this.V(),n&&t.Pa(n.clone()),(n=this.i)&&t.Df(n),t};n.V=function(){return this.get(this.a)};n.Ll=function(){return this.f};n.gk=function(){return this.a};n.Ml=function(){return this.i};n.Gc=function(){return this.j};n.Nl=function(){this.s()};n.he=function(){this.c&&(au(this.c),this.c=null);var n=this.V();n&&(this.c=f(n,"change",this.Nl,this));this.s()};n.Pa=function(n){this.set(this.a,n)};n.Df=function(n){this.j=(this.i=n)?eli(n):void 0;this.s()};n.cc=function(n){this.f=n;this.s()};n.Nc=function(n){uc(this,vf(this.a),this.he,this);this.a=n;f(this,vf(this.a),this.he,this);this.he()};rp=document.implementation.createDocument("","",null);os=bf();i(sd,ws);n=sd.prototype;n.Y=function(){return"json"};n.bc=function(n,t){return this.gd(ctt(n),tc(this,n,t))};n.La=function(n,t){return this.Sf(ctt(n),tc(this,n,t))};n.hd=function(n,t){return this.ci(ctt(n),tc(this,n,t))};n.Wa=function(n){return this.ii(ctt(n))};n.Od=function(n,t){return JSON.stringify(this.md(n,t))};n.ec=function(n,t){return JSON.stringify(this.Se(n,t))};n.od=function(n,t){return JSON.stringify(this.Te(n,t))};i(l,et);n=l.prototype;n.Dj=function(n){this.B?cf(this.B,n):this.B=n.slice();this.s()};n.clone=function(){var n=new l(null);return n.da(this.ka,this.B.slice()),n};n.Ab=function(n,t,i,r){return r<fy(this.G(),n,t)?r:(this.A!=this.g&&(this.C=Math.sqrt(srt(this.B,0,this.B.length,this.a,0)),this.A=this.g),crt(this.B,0,this.B.length,this.a,this.C,!1,n,t,i,r))};n.Sj=function(n,t){return vat(this.B,0,this.B.length,this.a,n,t)};n.pm=function(n,t){return"XYM"!=this.ka&&"XYZM"!=this.ka?null:rot(this.B,0,this.B.length,this.a,n,void 0!==t?t:!1)};n.$=function(){return fk(this.B,0,this.B.length,this.a)};n.Kg=function(n,t){return hnt(this.B,0,this.B.length,this.a,n,t)};n.qm=function(){for(var t=this.B,o=this.a,i=t[0],r=t[1],u=0,n=0+o;n<this.B.length;n+=o)var f=t[n],e=t[n+1],u=u+Math.sqrt((f-i)*(f-i)+(e-r)*(e-r)),i=f,r=e;return u};n.$c=function(n){var t=[];return t.length=yrt(this.B,0,this.B.length,this.a,n,t,0),n=new l(null),n.da("XY",t),n};n.Y=function(){return"LineString"};n.Ta=function(n){return wrt(this.B,0,this.B.length,this.a,n)};n.qa=function(n,t){n?(ga(this,t,n,1),this.B||(this.B=[]),this.B.length=hg(this.B,0,n,this.a),this.s()):this.da("XY",null)};n.da=function(n,t){cl(this,n,t);this.s()};i(y,et);n=y.prototype;n.Ej=function(n){this.B?cf(this.B,n.ia().slice()):this.B=n.ia().slice();this.c.push(this.B.length);this.s()};n.clone=function(){var n=new y(null);return n.da(this.ka,this.B.slice(),this.c.slice()),n};n.Ab=function(n,t,i,r){return r<fy(this.G(),n,t)?r:(this.l!=this.g&&(this.A=Math.sqrt(hrt(this.B,0,this.c,this.a,0)),this.l=this.g),lrt(this.B,0,this.c,this.a,this.A,!1,n,t,i,r))};n.sm=function(n,t,i){return"XYM"!=this.ka&&"XYZM"!=this.ka||0===this.B.length?null:oli(this.B,this.c,this.a,n,void 0!==t?t:!1,void 0!==i?i:!1)};n.$=function(){return vrt(this.B,0,this.c,this.a)};n.Kb=function(){return this.c};n.mk=function(n){if(0>n||this.c.length<=n)return null;var t=new l(null);return t.da(this.ka,this.B.slice(0===n?0:this.c[n-1],this.c[n])),t};n.Yc=function(){for(var o=this.B,r=this.c,s=this.ka,u=[],f=0,t,i,n=0,e=r.length;n<e;++n)t=r[n],i=new l(null),i.da(s,o.slice(f,t)),u.push(i),f=t;return u};n.$c=function(n){for(var r=[],f=[],h=this.B,e=this.c,c=this.a,o=0,t=0,u,i=0,s=e.length;i<s;++i)u=e[i],t=yrt(h,o,u,c,n,r,t),f.push(t),o=u;return r.length=t,n=new y(null),n.da("XY",r,f),n};n.Y=function(){return"MultiLineString"};n.Ta=function(n){n:{for(var f=this.B,i=this.c,e=this.a,r=0,t=0,u=i.length;t<u;++t){if(wrt(f,r,i[t],e,n)){n=!0;break n}r=i[t]}n=!1}return n};n.qa=function(n,t){if(n){ga(this,t,n,2);this.B||(this.B=[]);var i=art(this.B,0,n,this.a,this.c);this.B.length=0===i.length?0:i[i.length-1];this.s()}else this.da("XY",null,this.c)};n.da=function(n,t,i){cl(this,n,t);this.c=i;this.s()};i(it,et);n=it.prototype;n.Gj=function(n){this.B?cf(this.B,n.ia()):this.B=n.ia().slice();this.s()};n.clone=function(){var n=new it(null);return n.da(this.ka,this.B.slice()),n};n.Ab=function(n,t,i,r){if(r<fy(this.G(),n,t))return r;for(var e=this.B,o=this.a,u,f=0,s=e.length;f<s;f+=o)if(u=ty(n,t,e[f],e[f+1]),u<r){for(r=u,u=0;u<o;++u)i[u]=e[f+u];i.length=o}return r};n.$=function(){return fk(this.B,0,this.B.length,this.a)};n.yk=function(n){var t=this.B?this.B.length/this.a:0;return 0>n||t<=n?null:(t=new a(null),t.da(this.ka,this.B.slice(n*this.a,(n+1)*this.a)),t)};n.re=function(){for(var i=this.B,e=this.ka,r=this.a,u=[],t,n=0,f=i.length;n<f;n+=r)t=new a(null),t.da(e,i.slice(n,n+r)),u.push(t);return u};n.Y=function(){return"MultiPoint"};n.Ta=function(n){for(var i=this.B,e=this.a,u,f,t=0,r=i.length;t<r;t+=e)if(u=i[t],f=i[t+1],rg(n,u,f))return!0;return!1};n.qa=function(n,t){n?(ga(this,t,n,1),this.B||(this.B=[]),this.B.length=hg(this.B,0,n,this.a),this.s()):this.da("XY",null)};n.da=function(n,t){cl(this,n,t);this.s()};i(w,et);n=w.prototype;n.Hj=function(n){var i,t,r;if(this.B)for(i=this.B.length,cf(this.B,n.ia()),n=n.Kb().slice(),t=0,r=n.length;t<r;++t)n[t]+=i;else this.B=n.ia().slice(),n=n.Kb().slice(),this.c.push();this.c.push(n);this.s()};n.clone=function(){for(var t=new w(null),i=this.c.length,r=Array(i),n=0;n<i;++n)r[n]=this.c[n].slice();return att(t,this.ka,this.B.slice(),r),t};n.Ab=function(n,t,i,r){var f,c,a,l;if(r<fy(this.G(),n,t))return r;if(this.D!=this.g){for(var h=this.c,e=0,o=0,u=0,s=h.length;u<s;++u)var f=h[u],o=hrt(this.B,e,f,this.a,o),e=f[f.length-1];this.L=Math.sqrt(o);this.D=this.g}for(h=bv(this),e=this.c,o=this.a,u=this.L,s=0,f=[NaN,NaN],c=0,a=e.length;c<a;++c)l=e[c],r=lrt(h,s,l,o,u,!0,n,t,i,r,f),s=l[l.length-1];return r};n.Hc=function(n,t){var i,r,o,u;n:{i=bv(this);var f=this.c,s=this.a,e=0;if(0!==f.length)for(r=0,o=f.length;r<o;++r){if(u=f[r],prt(i,e,u,s,n,t)){i=!0;break n}e=u[u.length-1]}i=!1}return i};n.tm=function(){for(var e=bv(this),r=this.c,u=0,t=0,n=0,f=r.length;n<f;++n)var i=r[n],t=t+sat(e,u,i,this.a),u=i[i.length-1];return t};n.$=function(n){var t,u;void 0!==n?(t=bv(this).slice(),wat(t,this.c,this.a,n)):t=this.B;n=t;t=this.c;for(var s=this.a,e=0,i=[],f=0,r=0,o=t.length;r<o;++r)u=t[r],i[f++]=vrt(n,e,u,s,i[f]),e=u[u.length-1];return i.length=f,i};n.jk=function(){var n=new it(null);return n.da("XY",uot(this).slice()),n};n.$c=function(n){var u=[],o=[],t=this.B,s=this.c,l=this.a,f,i,r,h;for(n=Math.sqrt(n),f=0,i=0,r=0,h=s.length;r<h;++r){var e=s[r],c=[],i=lat(t,f,e,l,n,u,i,c);o.push(c);f=e[e.length-1]}return u.length=i,t=new w(null),att(t,"XY",u,o),t};n.zk=function(n){var t,r,i,u;if(0>n||this.c.length<=n)return null;if(0===n?t=0:(t=this.c[n-1],t=t[t.length-1]),n=this.c[n].slice(),r=n[n.length-1],0!==t)for(i=0,u=n.length;i<u;++i)n[i]-=t;return i=new c(null),i.da(this.ka,this.B.slice(t,r),n),i};n.Ad=function(){for(var h=this.ka,l=this.B,f=this.c,e=[],i=0,n,s,t,u,r=0,o=f.length;r<o;++r){if(t=f[r].slice(),u=t[t.length-1],0!==i)for(n=0,s=t.length;n<s;++n)t[n]-=i;n=new c(null);n.da(h,l.slice(i,u),t);e.push(n);i=u}return e};n.Y=function(){return"MultiPolygon"};n.Ta=function(n){var i;n:{for(var e=bv(this),r=this.c,o=this.a,u=0,t=0,f=r.length;t<f;++t){if(i=r[t],yat(e,u,i,o,n)){n=!0;break n}u=i[i.length-1]}n=!1}return n};n.qa=function(n,t){if(n){ga(this,t,n,3);this.B||(this.B=[]);for(var u=this.B,s=this.a,i=this.c,r=0,i=i?i:[],e=0,f=0,o=n.length;f<o;++f)r=art(u,r,n[f],s,i[e]),i[e++]=r,r=r[r.length-1];i.length=e;0===i.length?this.B.length=0:(u=i[i.length-1],this.B.length=0===u.length?0:u[u.length-1]);this.s()}else att(this,"XY",null,this.c)};i(ee,sd);vnt={Point:function(n){return void 0!==n.m&&void 0!==n.z?new a([n.x,n.y,n.z,n.m],"XYZM"):void 0!==n.z?new a([n.x,n.y,n.z],"XYZ"):void 0!==n.m?new a([n.x,n.y,n.m],"XYM"):new a([n.x,n.y])},LineString:function(n){return new l(n.paths[0],eb(n))},Polygon:function(n){return new c(n.rings,eb(n))},MultiPoint:function(n){return new it(n.points,eb(n))},MultiLineString:function(n){return new y(n.paths,eb(n))},MultiPolygon:function(n){return new w(n.rings,eb(n))}};ynt={Point:function(n){var t=n.$(),i;return n=n.ka,"XYZ"===n?i={x:t[0],y:t[1],z:t[2]}:"XYM"===n?i={x:t[0],y:t[1],m:t[2]}:"XYZM"===n?i={x:t[0],y:t[1],z:t[2],m:t[3]}:"XY"===n?i={x:t[0],y:t[1]}:li(!1,34),i},LineString:function(n){var t=hd(n);return{hasZ:t.hasZ,hasM:t.hasM,paths:[n.$()]}},Polygon:function(n){var t=hd(n);return{hasZ:t.hasZ,hasM:t.hasM,rings:n.$(!1)}},MultiPoint:function(n){var t=hd(n);return{hasZ:t.hasZ,hasM:t.hasM,points:n.$()}},MultiLineString:function(n){var t=hd(n);return{hasZ:t.hasZ,hasM:t.hasM,paths:n.$()}},MultiPolygon:function(n){var u=hd(n),r,t,i;for(n=n.$(!1),r=[],t=0;t<n.length;t++)for(i=n[t].length-1;0<=i;i--)r.push(n[t][i]);return{hasZ:u.hasZ,hasM:u.hasM,rings:r}}};n=ee.prototype;n.gd=function(n,t){var r=ant(n.geometry,t),i=new ut;return this.b&&i.Nc(this.b),i.Pa(r),t&&t.zf&&n.attributes[t.zf]&&i.cc(n.attributes[t.zf]),n.attributes&&i.I(n.attributes),i};n.Sf=function(n,t){var r=t?t:{},u,f,i,e;if(n.features){for(u=[],f=n.features,r.zf=n.objectIdFieldName,i=0,e=f.length;i<e;++i)u.push(this.gd(f[i],r));return u}return[this.gd(n,r)]};n.ci=function(n,t){return ant(n,t)};n.ii=function(n){return n.spatialReference&&n.spatialReference.wkid?ai("EPSG:"+n.spatialReference.wkid):null};n.Te=function(n,t){return pnt(n,fo(this,t))};n.md=function(n,t){t=fo(this,t);var r={},i=n.V();return i&&(r.geometry=pnt(i,t)),i=n.R(),delete i[n.a],r.attributes=us(i)?{}:i,t&&t.featureProjection&&(r.spatialReference={wkid:ai(t.featureProjection).hb.split(":").pop()}),r};n.Se=function(n,t){t=fo(this,t);for(var r=[],i=0,u=n.length;i<u;++i)r.push(this.md(n[i],t));return{features:r}};i(eot,cd);i(ld,eot);i(oot,ld);i(sot,cd);i(na,cd);i(eh,na);i(hot,eh);i(cot,eh);i(lot,eh);i(ob,cd);i(aot,ob);i(vot,na);i(yot,na);i(pot,na);i(wot,eh);i(bot,eh);i(kot,eot);i(dot,eh);i(got,ld);i(nst,ob);i(bt,bi);n=bt.prototype;n.clone=function(){var n=new bt(null);return n.ti(this.f),n};n.Ab=function(n,t,i,r){if(r<fy(this.G(),n,t))return r;for(var f=this.f,u=0,e=f.length;u<e;++u)r=f[u].Ab(n,t,i,r);return r};n.Hc=function(n,t){for(var r=this.f,i=0,u=r.length;i<u;++i)if(r[i].Hc(n,t))return!0;return!1};n.Yd=function(n){oc(Infinity,Infinity,-Infinity,-Infinity,n);for(var i=this.f,t=0,r=i.length;t<r;++t)git(n,i[t].G());return n};n.pf=function(){return knt(this.f)};n.Bd=function(n){var t,r,u;if(this.o!=this.g&&(ol(this.i),this.j=0,this.o=this.g),0>n||0!==this.j&&n<this.j)return this;if(t=n.toString(),this.i.hasOwnProperty(t))return this.i[t];for(var f=[],e=this.f,o=!1,i=0,s=e.length;i<s;++i)r=e[i],u=r.Bd(n),f.push(u),u!==r&&(o=!0);return o?(n=new bt(null),tst(n),n.f=f,ist(n),n.s(),this.i[t]=n):(this.j=n,this)};n.Y=function(){return"GeometryCollection"};n.Ta=function(n){for(var i=this.f,t=0,r=i.length;t<r;++t)if(i[t].Ta(n))return!0;return!1};n.rotate=function(n,t){for(var r=this.f,i=0,u=r.length;i<u;++i)r[i].rotate(n,t);this.s()};n.scale=function(n,t,i){i||(i=ah(this.G()));for(var u=this.f,r=0,f=u.length;r<f;++r)u[r].scale(n,t,i);this.s()};n.ti=function(n){n=knt(n);tst(this);this.f=n;ist(this);this.s()};n.sc=function(n){for(var i=this.f,t=0,r=i.length;t<r;++t)i[t].sc(n);this.s()};n.translate=function(n,t){for(var r=this.f,i=0,u=r.length;i<u;++i)r[i].translate(n,t);this.s()};n.oa=function(){tst(this);bi.prototype.oa.call(this)};i(oe,sd);dnt={Point:function(n){return new a(n.coordinates)},LineString:function(n){return new l(n.coordinates)},Polygon:function(n){return new c(n.coordinates)},MultiPoint:function(n){return new it(n.coordinates)},MultiLineString:function(n){return new y(n.coordinates)},MultiPolygon:function(n){return new w(n.coordinates)},GeometryCollection:function(n,t){var i=n.geometries.map(function(n){return rst(n,t)});return new bt(i)}};gnt={Point:function(n){return{type:"Point",coordinates:n.$()}},LineString:function(n){return{type:"LineString",coordinates:n.$()}},Polygon:function(n,t){var i;return t&&(i=t.rightHanded),{type:"Polygon",coordinates:n.$(i)}},MultiPoint:function(n){return{type:"MultiPoint",coordinates:n.$()}},MultiLineString:function(n){return{type:"MultiLineString",coordinates:n.$()}},MultiPolygon:function(n,t){var i;return t&&(i=t.rightHanded),{type:"MultiPolygon",coordinates:n.$(i)}},GeometryCollection:function(n,t){return{type:"GeometryCollection",geometries:n.f.map(function(n){var i=er({},t);return delete i.featureProjection,ust(n,i)})}},Circle:function(){return{type:"GeometryCollection",geometries:[]}}};n=oe.prototype;n.gd=function(n,t){var i,u,r;return i="Feature"===n.type?n:{type:"Feature",geometry:n},u=rst(i.geometry,t),r=new ut,this.b&&r.Nc(this.b),r.Pa(u),void 0!==i.id&&r.cc(i.id),i.properties&&r.I(i.properties),r};n.Sf=function(n,t){var i,u,r,f;if("FeatureCollection"===n.type)for(i=[],u=n.features,r=0,f=u.length;r<f;++r)i.push(this.gd(u[r],t));else i=[this.gd(n,t)];return i};n.ci=function(n,t){return rst(n,t)};n.ii=function(n){n=n.crs;var t;return n?"name"==n.type?t=ai(n.properties.name):"EPSG"==n.type?t=ai("EPSG:"+n.properties.code):li(!1,36):t=this.defaultDataProjection,t};n.md=function(n,t){t=fo(this,t);var r={type:"Feature"},i=n.f;return void 0!==i&&(r.id=i),r.geometry=(i=n.V())?ust(i,t):null,i=n.R(),delete i[n.a],r.properties=us(i)?null:i,r};n.Se=function(n,t){t=fo(this,t);for(var r=[],i=0,u=n.length;i<u;++i)r.push(this.md(n[i],t));return{type:"FeatureCollection",features:r}};n.Te=function(n,t){return ust(n,fo(this,t))};i(oh,ws);n=oh.prototype;n.Y=function(){return"xml"};n.bc=function(n,t){if(dl(n))return nti(this,n,t);if(gl(n))return this.ai(n,t);if("string"==typeof n){var i=vc(n);return nti(this,i,t)}return null};n.La=function(n,t){if(dl(n))return fst(this,n,t);if(gl(n))return this.oc(n,t);if("string"==typeof n){var i=vc(n);return fst(this,i,t)}return[]};n.hd=function(n,t){if(dl(n))return this.u(n,t);if(gl(n)){var i=this.Ee(n,[tc(this,n,t?t:{})]);return i?i:null}return"string"==typeof n?(i=vc(n),this.u(i,t)):null};n.Wa=function(n){return dl(n)?this.Xf(n):gl(n)?this.He(n):"string"==typeof n?(n=vc(n),this.Xf(n)):null};n.Xf=function(){return this.defaultDataProjection};n.He=function(){return this.defaultDataProjection};n.Od=function(n,t){var i=this.C(n,t);return this.f.serializeToString(i)};n.ec=function(n,t){var i=this.a(n,t);return this.f.serializeToString(i)};n.od=function(n,t){var i=this.H(n,t);return this.f.serializeToString(i)};i(eu,oh);tti=/^[\s\xa0]*$/;n=eu.prototype;n.Id=function(n,t){var s=n.localName,c=null,e,h,f,i,y;if("FeatureCollection"==s)c="http://www.opengis.net/wfs"===n.namespaceURI?o([],this.b,n,t,this):o(null,this.b,n,t,this);else if("featureMembers"==s||"featureMember"==s){var f=t[0],i=f.featureType,u=f.featureNS,r,a;if(!i&&n.childNodes){for(i=[],u={},r=0,a=n.childNodes.length;r<a;++r)if(e=n.childNodes[r],1===e.nodeType&&(h=e.nodeName.split(":").pop(),-1===i.indexOf(h))){var l="",p=0,e=e.namespaceURI,v;for(v in u){if(u[v]===e){l=v;break}++p}l||(l="p"+p,u[l]=e);i.push(l+":"+h)}"featureMember"!=s&&(f.featureType=i,f.featureNS=u)}"string"==typeof u&&(r=u,u={},u.p0=r);f={};i=Array.isArray(i)?i:[i];for(y in u){for(h={},r=0,a=i.length;r<a;++r)(-1===i[r].indexOf(":")?"p0":i[r].split(":")[0])===y&&(h[i[r].split(":").pop()]="featureMembers"==s?iu(this.Rf,this):ef(this.Rf,this));f[u[y]]=h}c="featureMember"==s?o(void 0,f,n,t):o([],f,n,t)}return null===c&&(c=[]),c};n.Ee=function(n,t){var r=t[0],i;return r.srsName=n.firstElementChild.getAttribute("srsName"),i=o(null,this.lg,n,t,this),i?fe(i,!1,r):void 0};n.Rf=function(n,t){var i,u,f,o,r,e;for((u=n.getAttribute("fid"))||(u=n.getAttributeNS("http://www.opengis.net/gml","id")||""),f={},i=n.firstElementChild;i;i=i.nextElementSibling)r=i.localName,0===i.childNodes.length||1===i.childNodes.length&&(3===i.firstChild.nodeType||4===i.firstChild.nodeType)?(e=ps(i,!1),tti.test(e)&&(e=void 0),f[r]=e):("boundedBy"!==r&&(o=r),f[r]=this.Ee(i,t));return i=new ut(f),o&&i.Nc(o),u&&i.cc(u),i};n.hi=function(n,t){var r=this.De(n,t),i;if(r)return i=new a(null),i.da("XYZ",r),i};n.fi=function(n,t){var i=o([],this.cj,n,t,this);if(i)return new it(i)};n.ei=function(n,t){var r=o([],this.bj,n,t,this),i;if(r)return i=new y(null),ltt(i,r),i};n.gi=function(n,t){var r=o([],this.dj,n,t,this),i;if(r)return i=new w(null),fot(i,r),i};n.Yh=function(n,t){fh(this.gj,n,t,this)};n.dh=function(n,t){fh(this.$i,n,t,this)};n.Zh=function(n,t){fh(this.hj,n,t,this)};n.Fe=function(n,t){var r=this.De(n,t),i;if(r)return i=new l(null),i.da("XYZ",r),i};n.Do=function(n,t){var i=o(null,this.Qd,n,t,this);if(i)return i};n.di=function(n,t){var r=this.De(n,t),i;if(r)return i=new yt(null),fw(i,"XYZ",r),i};n.Ge=function(n,t){var i=o([null],this.We,n,t,this);if(i&&i[0]){for(var f=new c(null),r=i[0],e=[r.length],u=1,s=i.length;u<s;++u)cf(r,i[u]),e.push(r.length);return f.da("XYZ",r,e),f}};n.De=function(n,t){return o(null,this.Qd,n,t,this)};n.cj={"http://www.opengis.net/gml":{pointMember:iu(eu.prototype.Yh),pointMembers:iu(eu.prototype.Yh)}};n.bj={"http://www.opengis.net/gml":{lineStringMember:iu(eu.prototype.dh),lineStringMembers:iu(eu.prototype.dh)}};n.dj={"http://www.opengis.net/gml":{polygonMember:iu(eu.prototype.Zh),polygonMembers:iu(eu.prototype.Zh)}};n.gj={"http://www.opengis.net/gml":{Point:iu(eu.prototype.De)}};n.$i={"http://www.opengis.net/gml":{LineString:iu(eu.prototype.Fe)}};n.hj={"http://www.opengis.net/gml":{Polygon:iu(eu.prototype.Ge)}};n.Rd={"http://www.opengis.net/gml":{LinearRing:ef(eu.prototype.Do)}};n.oc=function(n,t){var i={featureType:this.featureType,featureNS:this.featureNS};return t&&er(i,tc(this,n,t)),this.Id(n,[i])||[]};n.He=function(n){return ai(this.srsName?this.srsName:n.firstElementChild.getAttribute("srsName"))};i(st,eu);n=st.prototype;n.Ho=function(n,t){var r=o([],this.aj,n,t,this),i;if(r)return i=new y(null),ltt(i,r),i};n.Io=function(n,t){var r=o([],this.ej,n,t,this),i;if(r)return i=new w(null),fot(i,r),i};n.Cg=function(n,t){fh(this.Xi,n,t,this)};n.Gi=function(n,t){fh(this.lj,n,t,this)};n.Lo=function(n,t){return o([null],this.fj,n,t,this)};n.Oo=function(n,t){return o([null],this.kj,n,t,this)};n.Mo=function(n,t){return o([null],this.We,n,t,this)};n.Go=function(n,t){return o([null],this.Qd,n,t,this)};n.ql=function(n,t){var i=o(void 0,this.Rd,n,t,this);i&&t[t.length-1].push(i)};n.Oj=function(n,t){var i=o(void 0,this.Rd,n,t,this);i&&(t[t.length-1][0]=i)};n.ji=function(n,t){var i=o([null],this.mj,n,t,this);if(i&&i[0]){for(var f=new c(null),r=i[0],e=[r.length],u=1,s=i.length;u<s;++u)cf(r,i[u]),e.push(r.length);return f.da("XYZ",r,e),f}};n.$h=function(n,t){var r=o([null],this.Yi,n,t,this),i;if(r)return i=new l(null),i.da("XYZ",r),i};n.Co=function(n,t){var i=o([null],this.Zi,n,t,this);return oc(i[1][0],i[1][1],i[2][0],i[2][1])};n.Eo=function(n,t){for(var i=ps(n,!1),u=/^\s*([+\-]?\d*\.?\d+(?:[eE][+\-]?\d+)?)\s*/,r=[],f;f=u.exec(i);)r.push(parseFloat(f[1])),i=i.substr(f[0].length);if(""===i){if(i=t[0].srsName,u="enu",i&&(u=ai(i).b),"neu"===u)for(i=0,u=r.length;i<u;i+=3)f=r[i],r[i]=r[i+1],r[i+1]=f;return i=r.length,2==i&&r.push(0),0===i?void 0:r}};n.Vf=function(n,t){var r=ps(n,!1).replace(/^\s*|\s*$/g,""),i=t[0].srsName,u=n.parentNode.getAttribute("srsDimension"),h="enu";i&&(h=ai(i).b);r=r.split(/\s+/);i=2;n.getAttribute("srsDimension")?i=rl(n.getAttribute("srsDimension")):n.getAttribute("dimension")?i=rl(n.getAttribute("dimension")):u&&(i=rl(u));for(var e,o,s=[],f=0,c=r.length;f<c;f+=i)u=parseFloat(r[f]),e=parseFloat(r[f+1]),o=3===i?parseFloat(r[f+2]):0,"en"===h.substr(0,2)?s.push(u,e,o):s.push(e,u,o);return s};n.Qd={"http://www.opengis.net/gml":{pos:ef(st.prototype.Eo),posList:ef(st.prototype.Vf)}};n.We={"http://www.opengis.net/gml":{interior:st.prototype.ql,exterior:st.prototype.Oj}};n.lg={"http://www.opengis.net/gml":{Point:ef(eu.prototype.hi),MultiPoint:ef(eu.prototype.fi),LineString:ef(eu.prototype.Fe),MultiLineString:ef(eu.prototype.ei),LinearRing:ef(eu.prototype.di),Polygon:ef(eu.prototype.Ge),MultiPolygon:ef(eu.prototype.gi),Surface:ef(st.prototype.ji),MultiSurface:ef(st.prototype.Io),Curve:ef(st.prototype.$h),MultiCurve:ef(st.prototype.Ho),Envelope:ef(st.prototype.Co)}};n.aj={"http://www.opengis.net/gml":{curveMember:iu(st.prototype.Cg),curveMembers:iu(st.prototype.Cg)}};n.ej={"http://www.opengis.net/gml":{surfaceMember:iu(st.prototype.Gi),surfaceMembers:iu(st.prototype.Gi)}};n.Xi={"http://www.opengis.net/gml":{LineString:iu(eu.prototype.Fe),Curve:iu(st.prototype.$h)}};n.lj={"http://www.opengis.net/gml":{Polygon:iu(eu.prototype.Ge),Surface:iu(st.prototype.ji)}};n.mj={"http://www.opengis.net/gml":{patches:ef(st.prototype.Lo)}};n.Yi={"http://www.opengis.net/gml":{segments:ef(st.prototype.Oo)}};n.Zi={"http://www.opengis.net/gml":{lowerCorner:iu(st.prototype.Vf),upperCorner:iu(st.prototype.Vf)}};n.fj={"http://www.opengis.net/gml":{PolygonPatch:ef(st.prototype.Mo)}};n.kj={"http://www.opengis.net/gml":{LineStringSegment:ef(st.prototype.Go)}};n.Ti=function(n,t,i){var r=i[i.length-1].srsName;r&&n.setAttribute("srsName",r);r=hf(n.namespaceURI,"pos");n.appendChild(r);i=i[i.length-1].srsName;n="enu";i&&(n=ai(i).b);t=t.$();ou(r,"en"===n.substr(0,2)?t[0]+" "+t[1]:t[1]+" "+t[0])};uti={"http://www.opengis.net/gml":{lowerCorner:u(ou),upperCorner:u(ou)}};n=st.prototype;n.zp=function(n,t,i){var r=i[i.length-1].srsName;r&&n.setAttribute("srsName",r);ur({node:n},uti,os,[t[0]+" "+t[1],t[2]+" "+t[3]],i,["lowerCorner","upperCorner"],this)};n.Qi=function(n,t,i){var r=i[i.length-1].srsName;r&&n.setAttribute("srsName",r);r=hf(n.namespaceURI,"posList");n.appendChild(r);rti(r,t,i)};n.jj=function(n,t){var i=t[t.length-1],u=i.node,r=i.exteriorWritten;return void 0===r&&(i.exteriorWritten=!0),hf(u.namespaceURI,void 0!==r?"interior":"exterior")};n.Ue=function(n,t,i){var r=i[i.length-1].srsName;"PolygonPatch"!==n.nodeName&&r&&n.setAttribute("srsName",r);"Polygon"===n.nodeName||"PolygonPatch"===n.nodeName?(t=t.Zc(),ur({node:n,srsName:r},lli,this.jj,t,i,void 0,this)):"Surface"===n.nodeName&&(r=hf(n.namespaceURI,"patches"),n.appendChild(r),n=hf(r.namespaceURI,"PolygonPatch"),r.appendChild(n),this.Ue(n,t,i))};n.Qe=function(n,t,i){var r=i[i.length-1].srsName;"LineStringSegment"!==n.nodeName&&r&&n.setAttribute("srsName",r);"LineString"===n.nodeName||"LineStringSegment"===n.nodeName?(r=hf(n.namespaceURI,"posList"),n.appendChild(r),rti(r,t,i)):"Curve"===n.nodeName&&(r=hf(n.namespaceURI,"segments"),n.appendChild(r),n=hf(r.namespaceURI,"LineStringSegment"),r.appendChild(n),this.Qe(n,t,i))};n.Si=function(n,t,i){var r=i[i.length-1],u=r.srsName,r=r.surface;u&&n.setAttribute("srsName",u);t=t.Ad();ur({node:n,srsName:u,surface:r},sli,this.c,t,i,void 0,this)};n.Ap=function(n,t,i){var r=i[i.length-1].srsName;r&&n.setAttribute("srsName",r);t=t.re();ur({node:n,srsName:r},hli,bf("pointMember"),t,i,void 0,this)};n.Ri=function(n,t,i){var r=i[i.length-1],u=r.srsName,r=r.curve;u&&n.setAttribute("srsName",u);t=t.Yc();ur({node:n,srsName:u,curve:r},cli,this.c,t,i,void 0,this)};n.Ui=function(n,t,i){var r=hf(n.namespaceURI,"LinearRing");n.appendChild(r);this.Qi(r,t,i)};n.Vi=function(n,t,i){var r=this.g(t,i);r&&(n.appendChild(r),this.Ue(r,t,i))};n.Bp=function(n,t,i){var r=hf(n.namespaceURI,"Point");n.appendChild(r);this.Ti(r,t,i)};n.Pi=function(n,t,i){var r=this.g(t,i);r&&(n.appendChild(r),this.Qe(r,t,i))};n.pd=function(n,t,i){var r=i[i.length-1],u=er({},r),f;u.node=n;f=Array.isArray(t)?r.dataProjection?rw(t,r.featureProjection,r.dataProjection):t:fe(t,!0,r);ur(u,ali,this.g,[f],i,void 0,this)};n.Ni=function(n,t,i){var r=t.f,s,h,f,o;r&&n.setAttribute("fid",r);var r=i[i.length-1],e=r.featureNS,c=t.a;r.Mc||(r.Mc={},r.Mc[e]={});s=t.R();t=[];h=[];for(f in s)o=s[f],null!==o&&(t.push(f),h.push(o),f==c||o instanceof bi?f in r.Mc[e]||(r.Mc[e][f]=u(this.pd,this)):f in r.Mc[e]||(r.Mc[e][f]=u(ou)));f=er({},r);f.node=n;ur(f,r.Mc,bf(void 0,e),h,i,t)};var sli={"http://www.opengis.net/gml":{surfaceMember:u(st.prototype.Vi),polygonMember:u(st.prototype.Vi)}},hli={"http://www.opengis.net/gml":{pointMember:u(st.prototype.Bp)}},cli={"http://www.opengis.net/gml":{lineStringMember:u(st.prototype.Pi),curveMember:u(st.prototype.Pi)}},lli={"http://www.opengis.net/gml":{exterior:u(st.prototype.Ui),interior:u(st.prototype.Ui)}},ali={"http://www.opengis.net/gml":{Curve:u(st.prototype.Qe),MultiCurve:u(st.prototype.Ri),Point:u(st.prototype.Ti),MultiPoint:u(st.prototype.Ap),LineString:u(st.prototype.Qe),MultiLineString:u(st.prototype.Ri),LinearRing:u(st.prototype.Qi),Polygon:u(st.prototype.Ue),MultiPolygon:u(st.prototype.Si),Surface:u(st.prototype.Ue),MultiSurface:u(st.prototype.Si),Envelope:u(st.prototype.zp)}},vli={MultiLineString:"lineStringMember",MultiCurve:"curveMember",MultiPolygon:"polygonMember",MultiSurface:"surfaceMember"};st.prototype.c=function(n,t){return hf("http://www.opengis.net/gml",vli[t[t.length-1].node.nodeName])};st.prototype.g=function(n,t){var r=t[t.length-1],u=r.multiSurface,f=r.surface,e=r.curve,r=r.multiCurve,i;return Array.isArray(n)?i="Envelope":(i=n.Y(),"MultiPolygon"===i&&!0===u?i="MultiSurface":"Polygon"===i&&!0===f?i="Surface":"LineString"===i&&!0===e?i="Curve":"MultiLineString"===i&&!0===r&&(i="MultiCurve")),hf("http://www.opengis.net/gml",i)};st.prototype.H=function(n,t){t=fo(this,t);var i=hf("http://www.opengis.net/gml","geom"),r={node:i,srsName:this.srsName,curve:this.i,surface:this.v,multiSurface:this.o,multiCurve:this.l};return t&&er(r,t),this.pd(i,n,[r]),i};st.prototype.a=function(n,t){var f,i;t=fo(this,t);f=hf("http://www.opengis.net/gml","featureMembers");f.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",this.schemaLocation);i={srsName:this.srsName,curve:this.i,surface:this.v,multiSurface:this.o,multiCurve:this.l,featureNS:this.featureNS,featureType:this.featureType};t&&er(i,t);var i=[i],r=i[i.length-1],s=r.featureType,e=r.featureNS,o={};return o[e]={},o[e][s]=u(this.Ni,this),r=er({},r),r.node=f,ur(r,o,bf(s,e),n,i),f};i(ul,eu);n=ul.prototype;n.bi=function(n,t){var r=ps(n,!1).replace(/^\s*|\s*$/g,""),i=t[0].srsName,u=n.parentNode.getAttribute("srsDimension"),h="enu";i&&(i=ai(i))&&(h=i.b);r=r.split(/[\s,]+/);i=2;n.getAttribute("srsDimension")?i=rl(n.getAttribute("srsDimension")):n.getAttribute("dimension")?i=rl(n.getAttribute("dimension")):u&&(i=rl(u));for(var e,o,s=[],f=0,c=r.length;f<c;f+=i)u=parseFloat(r[f]),e=parseFloat(r[f+1]),o=3===i?parseFloat(r[f+2]):0,"en"===h.substr(0,2)?s.push(u,e,o):s.push(e,u,o);return s};n.Ao=function(n,t){var i=o([null],this.Wi,n,t,this);return oc(i[1][0],i[1][1],i[1][3],i[1][4])};n.ol=function(n,t){var i=o(void 0,this.Rd,n,t,this);i&&t[t.length-1].push(i)};n.jo=function(n,t){var i=o(void 0,this.Rd,n,t,this);i&&(t[t.length-1][0]=i)};n.Qd={"http://www.opengis.net/gml":{coordinates:ef(ul.prototype.bi)}};n.We={"http://www.opengis.net/gml":{innerBoundaryIs:ul.prototype.ol,outerBoundaryIs:ul.prototype.jo}};n.Wi={"http://www.opengis.net/gml":{coordinates:iu(ul.prototype.bi)}};n.lg={"http://www.opengis.net/gml":{Point:ef(eu.prototype.hi),MultiPoint:ef(eu.prototype.fi),LineString:ef(eu.prototype.Fe),MultiLineString:ef(eu.prototype.ei),LinearRing:ef(eu.prototype.di),Polygon:ef(eu.prototype.Ge),MultiPolygon:ef(eu.prototype.gi),Box:ef(ul.prototype.Ao)}};i(bs,oh);ke=[null,"http://www.topografix.com/GPX/1/0","http://www.topografix.com/GPX/1/1"];var yli={rte:fti,trk:eti,wpt:oti},pli=e(ke,{rte:iu(fti),trk:iu(eti),wpt:iu(oti)}),wli=e(ke,{text:r(h,"linkText"),type:r(h,"linkType")}),bli=e(ke,{name:r(h),cmt:r(h),desc:r(h),src:r(h),link:hst,number:r(wo),extensions:cst,type:r(h),rtept:function(n,t){var r=o({},kli,n,t),i;r&&(i=t[t.length-1],ost(i.flatCoordinates,i.layoutOptions,n,r))}}),kli=e(ke,{ele:r(sf),time:r(est)}),dli=e(ke,{name:r(h),cmt:r(h),desc:r(h),src:r(h),link:hst,number:r(wo),type:r(h),extensions:cst,trkseg:function(n,t){var i=t[t.length-1];fh(gli,n,t);i.ends.push(i.flatCoordinates.length)}}),gli=e(ke,{trkpt:function(n,t){var r=o({},nai,n,t),i;r&&(i=t[t.length-1],ost(i.flatCoordinates,i.layoutOptions,n,r))}}),nai=e(ke,{ele:r(sf),time:r(est)}),tai=e(ke,{ele:r(sf),time:r(est),magvar:r(sf),geoidheight:r(sf),name:r(h),cmt:r(h),desc:r(h),src:r(h),link:hst,sym:r(h),type:r(h),fix:r(h),sat:r(wo),hdop:r(sf),vdop:r(sf),pdop:r(sf),ageofdgpsdata:r(sf),dgpsid:r(wo),extensions:cst});bs.prototype.ai=function(n,t){if(!co(ke,n.namespaceURI))return null;var i=yli[n.localName];return i?(i=i(n,[tc(this,n,t)]),!i)?null:(sti(this,[i]),i):null};bs.prototype.oc=function(n,t){if(!co(ke,n.namespaceURI))return[];if("gpx"==n.localName){var i=o([],pli,n,[tc(this,n,t)]);if(i)return sti(this,i),i}return[]};var iai=["text","type"],rai=e(ke,{text:u(ou),type:u(ou)}),uai=e(ke,"name cmt desc src link number type rtept".split(" ")),fai=e(ke,{name:u(ou),cmt:u(ou),desc:u(ou),src:u(ou),link:u(lst),number:u(vtt),type:u(ou),rtept:fnt(u(ast))}),eai=e(ke,["ele","time"]),oai=e(ke,"name cmt desc src link number type trkseg".split(" ")),sai=e(ke,{name:u(ou),cmt:u(ou),desc:u(ou),src:u(ou),link:u(lst),number:u(vtt),type:u(ou),trkseg:fnt(u(function(n,t,i){ur({node:n,geometryLayout:t.ka,properties:{}},cai,hai,t.$(),i)}))}),hai=bf("trkpt"),cai=e(ke,{trkpt:u(ast)}),lai=e(ke,"ele time magvar geoidheight name cmt desc src link sym type fix sat hdop vdop pdop ageofdgpsdata dgpsid".split(" ")),aai=e(ke,{ele:u(sh),time:u(function(n,t){var i=new Date(1e3*t);n.appendChild(rp.createTextNode(i.getUTCFullYear()+"-"+ry(i.getUTCMonth()+1)+"-"+ry(i.getUTCDate())+"T"+ry(i.getUTCHours())+":"+ry(i.getUTCMinutes())+":"+ry(i.getUTCSeconds())+"Z"))}),magvar:u(sh),geoidheight:u(sh),name:u(ou),cmt:u(ou),desc:u(ou),src:u(ou),link:u(lst),sym:u(ou),type:u(ou),fix:u(ou),sat:u(vtt),hdop:u(sh),vdop:u(sh),pdop:u(sh),ageofdgpsdata:u(sh),dgpsid:u(vtt)}),vai={Point:"wpt",LineString:"rte",MultiLineString:"trk"};hti=e(ke,{rte:u(function(n,t,i){var u=i[0],r=t.R();n={node:n,properties:r};(t=t.V())&&(t=fe(t,!0,u),n.geometryLayout=t.ka,r.rtept=t.$());u=uai[i[i.length-1].node.namespaceURI];r=yc(r,u);ur(n,fai,os,r,i,u)}),trk:u(function(n,t,i){var u=i[0],r=t.R();n={node:n,properties:r};(t=t.V())&&(t=fe(t,!0,u),r.trkseg=t.Yc());u=oai[i[i.length-1].node.namespaceURI];r=yc(r,u);ur(n,sai,os,r,i,u)}),wpt:u(function(n,t,i){var u=i[0],r=i[i.length-1];r.properties=t.R();(t=t.V())&&(t=fe(t,!0,u),r.geometryLayout=t.ka,ast(n,t.$(),i))})});bs.prototype.a=function(n,t){t=fo(this,t);var i=hf("http://www.topografix.com/GPX/1/1","gpx");return i.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xsi","http://www.w3.org/2001/XMLSchema-instance"),i.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"),i.setAttribute("version","1.1"),i.setAttribute("creator","OpenLayers 3"),ur({node:i},hti,yai,n,[t]),i};i(ad,ws);n=ad.prototype;n.Y=function(){return"text"};n.bc=function(n,t){return this.Hd(vst(n),fo(this,t))};n.La=function(n,t){return this.Tf(vst(n),fo(this,t))};n.hd=function(n,t){return this.Jd(vst(n),fo(this,t))};n.Wa=function(){return this.defaultDataProjection};n.Od=function(n,t){return this.Re(n,fo(this,t))};n.ec=function(n,t){return this.Oi(n,fo(this,t))};n.od=function(n,t){return this.Pd(n,fo(this,t))};i(ta,ad);var pai=/^B(\d{2})(\d{2})(\d{2})(\d{2})(\d{5})([NS])(\d{3})(\d{5})([EW])([AV])(\d{5})(\d{5})/,wai=/^H.([A-Z]{3}).*?:(.*)/,bai=/^HFDTE(\d{2})(\d{2})(\d{2})/,kai=/\r\n|\r|\n/;ta.prototype.Hd=function(n,t){for(var u=this.b,f=n.split(kai),y={},e=[],h=2e3,c=0,a=1,p=-1,r,i,s,o=0,w=f.length;o<w;++o)if(r=f[o],"B"==r.charAt(0)){if(i=pai.exec(r)){var r=parseInt(i[1],10),b=parseInt(i[2],10),k=parseInt(i[3],10),v=parseInt(i[4],10)+parseInt(i[5],10)/6e4;"S"==i[6]&&(v=-v);s=parseInt(i[7],10)+parseInt(i[8],10)/6e4;"W"==i[9]&&(s=-s);e.push(s,v);u!=yst&&e.push(u==gai?parseInt(i[11],10):u==dai?parseInt(i[12],10):0);i=Date.UTC(h,c,a,r,b,k);i<p&&(i=Date.UTC(h,c,a+1,r,b,k));e.push(i/1e3);p=i}}else"H"==r.charAt(0)&&((i=bai.exec(r))?(a=parseInt(i[1],10),c=parseInt(i[2],10)-1,h=2e3+parseInt(i[3],10)):(i=wai.exec(r))&&(y[i[1]]=i[2].trim()));return 0===e.length?null:(f=new l(null),f.da(u==yst?"XYM":"XYZM",e),u=new ut(fe(f,!1,t)),u.I(y),u)};ta.prototype.Tf=function(n,t){var i=this.Hd(n,t);return i?[i]:[]};var dai="barometric",gai="gps",yst="none";i(vd,oo);vd.prototype.H=function(){this.f=ha;this.i.forEach(au);this.i=null;this.b("change")};vd.prototype.u=function(){var t;if(this.f=no,this.g&&(this.a.width=this.g[0],this.a.height=this.g[1]),this.g=[this.a.width,this.a.height],this.i.forEach(au),this.i=null,cti(this),!this.v&&null!==this.j){this.c.width=this.a.width;this.c.height=this.a.height;t=this.c.getContext("2d");t.drawImage(this.a,0,0);for(var r=t.getImageData(0,0,this.a.width,this.a.height),i=r.data,u=this.j[0]/255,f=this.j[1]/255,e=this.j[2]/255,n=0,o=i.length;n<o;n+=4)i[n]*=u,i[n+1]*=f,i[n+2]*=e;t.putImageData(r,0,0)}this.b("change")};vd.prototype.load=function(){if(this.f==il){this.f=pw;this.i=[sl(this.a,"error",this.H,this),sl(this.a,"load",this.u,this)];try{this.a.src=this.o}catch(n){this.H()}}};i(ru,he);n=ru.prototype;n.clone=function(){var t=this.Ic(1),n,i;return this.b.f===no&&("IMG"===t.tagName.toUpperCase()?n=t.cloneNode(!0):(n=document.createElement("canvas"),i=n.getContext("2d"),n.width=t.width,n.height=t.height,i.drawImage(t,0,0))),new ru({anchor:this.c.slice(),anchorOrigin:this.a,anchorXUnits:this.C,anchorYUnits:this.D,crossOrigin:this.ra,color:this.f&&this.f.slice?this.f.slice():this.f||void 0,img:n?n:void 0,imgSize:n?this.b.g.slice():void 0,src:n?void 0:this.b.o,offset:this.L.slice(),offsetOrigin:this.g,size:null!==this.A?this.A.slice():void 0,opacity:this.l,scale:this.i,snapToPixel:this.u,rotation:this.o,rotateWithView:this.H})};n.Ac=function(){if(this.j)return this.j;var n=this.c,t=this.ac();if(this.C==kv||this.D==kv){if(!t)return null;n=this.c.slice();this.C==kv&&(n[0]*=t[0]);this.D==kv&&(n[1]*=t[1])}if(this.a!=ptt){if(!t)return null;n===this.c&&(n=this.c.slice());(this.a==lti||this.a==ytt)&&(n[0]=-n[0]+t[0]);(this.a==yd||this.a==ytt)&&(n[1]=-n[1]+t[1])}return this.j=n};n.Gn=function(){return this.f};n.Ic=function(){var n=this.b;return n.c?n.c:n.a};n.de=function(){return this.b.g};n.xe=function(){return this.b.f};n.Lf=function(){var n=this.b;if(!n.l)if(n.v){var t=n.g[0],i=n.g[1],r=ie(t,i);r.fillRect(0,0,t,i);n.l=r.canvas}else n.l=n.a;return n.l};n.Jc=function(){var n,t,i;if(this.v)return this.v;if(n=this.L,this.g!=ptt){if(t=this.ac(),i=this.b.g,!t||!i)return null;n=n.slice();(this.g==lti||this.g==ytt)&&(n[0]=i[0]-t[0]-n[0]);(this.g==yd||this.g==ytt)&&(n[1]=i[1]-t[1]-n[1])}return this.v=n};n.Hn=function(){return this.b.o};n.ac=function(){return this.A?this.A:this.b.g};n.eh=function(n,t){return f(this.b,"change",n,t)};n.load=function(){this.b.load()};n.Ii=function(n,t){uc(this.b,"change",n,t)};var kv="fraction",yd="bottom-left",ytt="bottom-right",ptt="top-left",lti="top-right";n=nr.prototype;n.clone=function(){return new nr({font:this.g,rotation:this.j,rotateWithView:this.v,scale:this.a,text:this.Ka(),textAlign:this.l,textBaseline:this.o,fill:this.b?this.b.clone():void 0,stroke:this.f?this.f.clone():void 0,offsetX:this.c,offsetY:this.i})};n.dk=function(){return this.g};n.sk=function(){return this.c};n.tk=function(){return this.i};n.Vn=function(){return this.b};n.Wn=function(){return this.v};n.Xn=function(){return this.j};n.Yn=function(){return this.a};n.Zn=function(){return this.f};n.Ka=function(){return this.H};n.Dk=function(){return this.l};n.Ek=function(){return this.o};n.si=function(n){this.g=n};n.yi=function(n){this.c=n};n.zi=function(n){this.i=n};n.Sh=function(n){this.b=n};n.$n=function(n){this.j=n};n.Th=function(n){this.a=n};n.Uh=function(n){this.f=n};n.Vh=function(n){this.H=n};n.Bi=function(n){this.l=n};n.lp=function(n){this.o=n};i(ae,oh);var va=["http://www.google.com/kml/ext/2.2"],ci=[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"],vti={fraction:kv,pixels:"pixels"};var tvi=e(ci,{displayName:r(h),value:r(h)}),ivi=e(ci,{Data:function(n,t){var r=n.getAttribute("name"),i;fh(tvi,n,t);i=t[t.length-1];null!==r?i[r]=i.value:null!==i.displayName&&(i[i.displayName]=i.value)},SchemaData:function(n,t){fh(nyi,n,t)}}),fii=e(ci,{LatLonAltBox:function(n,t){var i=o({},rvi,n,t),r;i&&(r=t[t.length-1],r.extent=[parseFloat(i.west),parseFloat(i.south),parseFloat(i.east),parseFloat(i.north)],r.altitudeMode=i.altitudeMode,r.minAltitude=parseFloat(i.minAltitude),r.maxAltitude=parseFloat(i.maxAltitude))},Lod:function(n,t){var i=o({},uvi,n,t),r;i&&(r=t[t.length-1],r.minLodPixels=parseFloat(i.minLodPixels),r.maxLodPixels=parseFloat(i.maxLodPixels),r.minFadeExtent=parseFloat(i.minFadeExtent),r.maxFadeExtent=parseFloat(i.maxFadeExtent))}}),rvi=e(ci,{altitudeMode:r(h),minAltitude:r(sf),maxAltitude:r(sf),north:r(sf),south:r(sf),east:r(sf),west:r(sf)}),uvi=e(ci,{minLodPixels:r(sf),maxLodPixels:r(sf),minFadeExtent:r(sf),maxFadeExtent:r(sf)}),dtt=e(ci,{extrude:r(up),altitudeMode:r(h)}),fvi=e(ci,{coordinates:ef(pti)}),evi=e(ci,{innerBoundaryIs:function(n,t){var i=o(void 0,cvi,n,t);i&&t[t.length-1].push(i)},outerBoundaryIs:function(n,t){var i=o(void 0,bvi,n,t);i&&(t[t.length-1][0]=i)}}),ovi=e(ci,{when:function(n,t){var r=t[t.length-1].Mi,i=ps(n,!1),i=Date.parse(i);r.push(isNaN(i)?0:i)}},e(va,{coord:function(n,t){var r=t[t.length-1].B,i=ps(n,!1);(i=/^\s*([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s+([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s+([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s*$/i.exec(i))?r.push(parseFloat(i[1]),parseFloat(i[2]),parseFloat(i[3]),0):r.push(0,0,0,0)}})),oht=e(ci,{coordinates:ef(pti)}),svi=e(ci,{href:r(ktt)},e(va,{x:r(sf),y:r(sf),w:r(sf),h:r(sf)})),hvi=e(ci,{Icon:r(function(n,t){var i=o({},svi,n,t);return i?i:null}),heading:r(sf),hotSpot:r(function(n){var t=n.getAttribute("xunits"),i=n.getAttribute("yunits");return{x:parseFloat(n.getAttribute("x")),jg:vti[t],y:parseFloat(n.getAttribute("y")),kg:vti[i]}}),scale:r(wti)}),cvi=e(ci,{LinearRing:ef(bti)}),lvi=e(ci,{color:r(uht),scale:r(wti)}),avi=e(ci,{color:r(uht),width:r(sf)}),vvi=e(ci,{LineString:iu(dti),LinearRing:iu(gti),MultiGeometry:iu(nii),Point:iu(tii),Polygon:iu(iii)}),yvi=e(va,{Track:iu(kti)}),pvi=e(ci,{ExtendedData:rii,Region:uii,Link:function(n,t){fh(wvi,n,t)},address:r(h),description:r(h),name:r(h),open:r(up),phoneNumber:r(h),visibility:r(up)}),wvi=e(ci,{href:r(ktt)}),bvi=e(ci,{LinearRing:ef(bti)}),kvi=e(ci,{Style:r(fht),key:r(h),styleUrl:r(ktt)}),dvi=e(ci,{ExtendedData:rii,Region:uii,MultiGeometry:r(nii,"geometry"),LineString:r(dti,"geometry"),LinearRing:r(gti,"geometry"),Point:r(tii,"geometry"),Polygon:r(iii,"geometry"),Style:r(fht),StyleMap:function(n,t){var i=o(void 0,eii,n,t),r;i&&(r=t[t.length-1],Array.isArray(i)?r.Style=i:"string"==typeof i?r.styleUrl=i:li(!1,38))},address:r(h),description:r(h),name:r(h),open:r(up),phoneNumber:r(h),styleUrl:r(ktt),visibility:r(up)},e(va,{MultiTrack:r(function(n,t){var r=o([],yvi,n,t),i;if(r)return i=new y(null),ltt(i,r),i},"geometry"),Track:r(kti,"geometry")})),gvi=e(ci,{color:r(uht),fill:r(up),outline:r(up)}),nyi=e(ci,{SimpleData:function(n,t){var i=n.getAttribute("name"),r;null!==i&&(r=h(n),t[t.length-1][i]=r)}}),tyi=e(ci,{IconStyle:function(n,t){var u=o({},hvi,n,t),s,h,c,y,l,a,i,p,r;if(u){var v=t[t.length-1],r="Icon"in u?u.Icon:{},e=!("Icon"in u)||0<Object.keys(r).length,f,i=r.href;i?f=i:e&&(f=pd);(i=u.hotSpot)?(s=[i.x,i.y],h=i.jg,c=i.kg):f===pd?(s=wst,h=bst,c=kst):/^http:\/\/maps\.(?:google|gstatic)\.com\//.test(f)&&(s=[.5,0],c=h=kv);i=r.x;l=r.y;void 0!==i&&void 0!==l&&(y=[i,l]);i=r.w;r=r.h;void 0!==i&&void 0!==r&&(a=[i,r]);r=u.heading;void 0!==r&&(p=as(r));u=u.scale;e?(f==pd&&(a=btt,void 0===u&&(u=dst)),e=new ru({anchor:s,anchorOrigin:yd,anchorXUnits:h,anchorYUnits:c,crossOrigin:"anonymous",offset:y,offsetOrigin:yd,rotation:p,scale:u,size:a,src:f}),v.imageStyle=e):v.imageStyle=nht}},LabelStyle:function(n,t){var i=o({},lvi,n,t);i&&(t[t.length-1].textStyle=new nr({fill:new po({color:"color"in i?i.color:sb}),scale:i.scale}))},LineStyle:function(n,t){var i=o({},avi,n,t);i&&(t[t.length-1].strokeStyle=new lu({color:"color"in i?i.color:sb,width:"width"in i?i.width:1}))},PolyStyle:function(n,t){var i=o({},gvi,n,t),r,u;i&&(r=t[t.length-1],r.fillStyle=new po({color:"color"in i?i.color:sb}),u=i.fill,void 0!==u&&(r.fill=u),i=i.outline,void 0!==i&&(r.outline=i))}}),eii=e(ci,{Pair:function(n,t){var i=o({},kvi,n,t),r;i&&(r=i.key,r&&"normal"==r&&((r=i.styleUrl)&&(t[t.length-1]=r),(i=i.Style)&&(t[t.length-1]=i)))}});n=ae.prototype;n.Qf=function(n,t){var i=e(ci,{Document:unt(this.Qf,this),Folder:unt(this.Qf,this),Placemark:iu(this.Wf,this),Style:this.Qo.bind(this),StyleMap:this.Po.bind(this)});if(i=o([],i,n,t,this))return i};n.Wf=function(n,t){var i=o({geometry:null},dvi,n,t),r,u,f;if(i)return r=new ut,u=n.getAttribute("id"),null!==u&&r.cc(u),u=t[0],f=i.geometry,f&&fe(f,!1,u),r.Pa(f),delete i.geometry,this.c&&r.Df(nvi(i.Style,i.styleUrl,this.g,this.b,this.i)),delete i.Style,r.I(i),r};n.Qo=function(n,t){var i=n.getAttribute("id"),r;null!==i&&(r=fht(n,t),r&&(i=n.baseURI?new URL("#"+i,n.baseURI).href:"#"+i,this.b[i]=r))};n.Po=function(n,t){var i=n.getAttribute("id"),r;null!==i&&(r=o(void 0,eii,n,t),r&&(i=n.baseURI?new URL("#"+i,n.baseURI).href:"#"+i,this.b[i]=r))};n.ai=function(n,t){if(!co(ci,n.namespaceURI))return null;var i=this.Wf(n,[tc(this,n,t)]);return i?i:null};n.oc=function(n,t){var i,r,u;if(!co(ci,n.namespaceURI))return[];if(i=n.localName,"Document"==i||"Folder"==i)return(i=this.Qf(n,[tc(this,n,t)]))?i:[];if("Placemark"==i)return(i=this.Wf(n,[tc(this,n,t)]))?[i]:[];if("kml"==i){for(i=[],r=n.firstElementChild;r;r=r.nextElementSibling)u=this.oc(r,t),u&&cf(i,u);return i}return[]};n.Jo=function(n){return dl(n)?oii(this,n):gl(n)?sht(this,n):"string"==typeof n?(n=vc(n),oii(this,n)):void 0};n.Ko=function(n){var t=[];return dl(n)?cf(t,sii(this,n)):gl(n)?cf(t,hht(this,n)):"string"==typeof n&&(n=vc(n),cf(t,sii(this,n))),t};n.No=function(n){var t=[];return dl(n)?cf(t,hii(this,n)):gl(n)?cf(t,this.Ie(n)):"string"==typeof n&&(n=vc(n),cf(t,hii(this,n))),t};n.Ie=function(n){for(var i=[],r,t=n.firstElementChild;t;t=t.nextElementSibling)co(ci,t.namespaceURI)&&"Region"==t.localName&&(r=o({},fii,t,[]),i.push(r));for(t=n.firstElementChild;t;t=t.nextElementSibling)n=t.localName,co(ci,t.namespaceURI)&&("Document"==n||"Folder"==n||"kml"==n)&&cf(i,this.Ie(t));return i};var iyi=e(ci,["Document","Placemark"]),ryi=e(ci,{Document:u(function(n,t,i){ur({node:n},uyi,gyi,t,i,void 0,this)}),Placemark:u(aii)}),uyi=e(ci,{Placemark:u(aii)}),gtt=e(ci,{Data:u(function(n,t,i){n.setAttribute("name",t.name);n={node:n};t=t.value;"object"==typeof t?(null!==t&&t.displayName&&ur(n,gtt,os,[t.displayName],i,["displayName"]),null!==t&&t.value&&ur(n,gtt,os,[t.value],i,["value"])):ur(n,gtt,os,[t],i,["value"])}),value:u(function(n,t){ou(n,t)}),displayName:u(function(n,t){n.appendChild(rp.createCDATASection(t))})}),fyi={Point:"Point",LineString:"LineString",LinearRing:"LinearRing",Polygon:"Polygon",MultiPoint:"MultiGeometry",MultiLineString:"MultiGeometry",MultiPolygon:"MultiGeometry",GeometryCollection:"MultiGeometry"},pii=e(ci,["href"],e(va,["x","y","w","h"])),wii=e(ci,{href:u(ou)},e(va,{x:u(sh),y:u(sh),w:u(sh),h:u(sh)})),eyi=e(ci,["scale","heading","Icon","hotSpot"]),oyi=e(ci,{Icon:u(function(n,t,i){n={node:n};var r=pii[i[i.length-1].node.namespaceURI],u=yc(t,r);ur(n,wii,os,u,i,r);r=pii[va[0]];u=yc(t,r);ur(n,wii,dyi,u,i,r)}),heading:u(sh),hotSpot:u(function(n,t){n.setAttribute("x",t.x);n.setAttribute("y",t.y);n.setAttribute("xunits",t.jg);n.setAttribute("yunits",t.kg)}),scale:u(yii)}),syi=e(ci,["color","scale"]),hyi=e(ci,{color:u(cht),scale:u(yii)}),cyi=e(ci,["color","width"]),lyi=e(ci,{color:u(cht),width:u(sh)}),ayi=e(ci,{LinearRing:u(hb)}),vyi=e(ci,{LineString:u(hb),Point:u(hb),Polygon:u(vii),GeometryCollection:u(cii)}),yyi=e(ci,"name open visibility address phoneNumber description styleUrl Style".split(" ")),lht=e(ci,{ExtendedData:u(function(n,t,i){var u,f,r;for(n={node:n},u=t.names,t=t.values,f=u.length,r=0;r<f;r++)ur(n,gtt,ipi,[{name:u[r],value:t[r]}],i)}),MultiGeometry:u(cii),LineString:u(hb),LinearRing:u(hb),Point:u(hb),Polygon:u(vii),Style:u(function(n,t,i){n={node:n};var r={},u=t.f,f=t.g,e=t.a;t=t.Ka();e instanceof ru&&(r.IconStyle=e);t&&(r.LabelStyle=t);f&&(r.LineStyle=f);u&&(r.PolyStyle=u);t=byi[i[i.length-1].node.namespaceURI];r=yc(r,t);ur(n,kyi,os,r,i,t)}),address:u(ou),description:u(ou),name:u(ou),open:u(iti),phoneNumber:u(ou),styleUrl:u(ou),visibility:u(iti)}),pyi=e(ci,{coordinates:u(function(n,t,i){var r,e,f,o,u;if(i=i[i.length-1],r=i.layout,i=i.stride,"XY"==r||"XYM"==r?e=2:"XYZ"==r||"XYZM"==r?e=3:li(!1,34),o=t.length,u="",0<o){for(u+=t[0],r=1;r<e;++r)u+=","+t[r];for(f=i;f<o;f+=i)for(u+=" "+t[f],r=1;r<e;++r)u+=","+t[f+r]}ou(n,u)})}),bii=e(ci,{outerBoundaryIs:u(lii),innerBoundaryIs:u(lii)}),wyi=e(ci,{color:u(cht)}),byi=e(ci,["IconStyle","LabelStyle","LineStyle","PolyStyle"]),kyi=e(ci,{IconStyle:u(function(n,t,i){var f,e;n={node:n};var u={},r=t.ac(),s=t.de(),o={href:t.b.o};r&&(o.w=r[0],o.h=r[1],f=t.Ac(),e=t.Jc(),e&&s&&0!==e[0]&&e[1]!==r[1]&&(o.x=e[0],o.y=s[1]-(e[1]+r[1])),f&&0!==f[0]&&f[1]!==r[1]&&(u.hotSpot={x:f[0],jg:"pixels",y:r[1]-f[1],kg:"pixels"}));u.Icon=o;r=t.i;1!==r&&(u.scale=r);t=t.o;0!==t&&(u.heading=t);t=eyi[i[i.length-1].node.namespaceURI];u=yc(u,t);ur(n,oyi,os,u,i,t)}),LabelStyle:u(function(n,t,i){n={node:n};var r={},u=t.b;u&&(r.color=u.b);(t=t.a)&&1!==t&&(r.scale=t);t=syi[i[i.length-1].node.namespaceURI];r=yc(r,t);ur(n,hyi,os,r,i,t)}),LineStyle:u(function(n,t,i){n={node:n};var r=cyi[i[i.length-1].node.namespaceURI];t=yc({color:t.b,width:t.f},r);ur(n,lyi,os,t,i,r)}),PolyStyle:u(function(n,t,i){ur({node:n},wyi,npi,[t.b],i)})});var npi=bf("color"),tpi=bf("coordinates"),ipi=bf("Data"),rpi=bf("ExtendedData"),upi=bf("innerBoundaryIs"),fpi=bf("Point"),epi=bf("LineString"),opi=bf("LinearRing"),spi=bf("Polygon"),hpi=bf("outerBoundaryIs");ae.prototype.a=function(n,t){var i,f,u,r;return t=fo(this,t),i=hf(ci[4],"kml"),i.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:gx",va[0]),i.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xsi","http://www.w3.org/2001/XMLSchema-instance"),i.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"),f={node:i},r={},1<n.length?r.Document=n:1==n.length&&(r.Placemark=n[0]),u=iyi[i.namespaceURI],r=yc(r,u),ur(f,ryi,os,r,[t],u,this),i},function(){var t={},n={ma:t};(function(i){if("object"==typeof t&&"undefined"!=typeof n)n.ma=i();else{var r;r="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this;r.Rp=i()}})(function(){return function n(t,i,r){function u(f,o){if(!i[f]){if(!t[f]){var s="function"==typeof require&&require;if(!o&&s)return s(f,!0);if(e)return e(f,!0);s=Error("Cannot find module '"+f+"'");throw s.code="MODULE_NOT_FOUND",s;}s=i[f]={ma:{}};t[f][0].call(s.ma,function(n){var i=t[f][1][n];return u(i?i:n)},s,s.ma,n,t,i,r)}return i[f].ma}for(var e="function"==typeof require&&require,f=0;f<r.length;f++)u(r[f]);return u}({1:[function(n,t,i){i.read=function(n,t,i,r,u){var e,s,o;e=8*u-r-1;var h=(1<<e)-1,c=h>>1,f=-7;for(u=i?u-1:0,s=i?-1:1,o=n[t+u],u+=s,i=o&(1<<-f)-1,o>>=-f,f+=e;0<f;i=256*i+n[t+u],u+=s,f-=8);for(e=i&(1<<-f)-1,i>>=-f,f+=r;0<f;e=256*e+n[t+u],u+=s,f-=8);if(0===i)i=1-c;else{if(i===h)return e?NaN:Infinity*(o?-1:1);e+=Math.pow(2,r);i-=c}return(o?-1:1)*e*Math.pow(2,i-r)};i.write=function(n,t,i,r,u,f){var e,s=8*f-u-1,h=(1<<s)-1,o=h>>1,l=23===u?Math.pow(2,-24)-Math.pow(2,-77):0,c,a;for(f=r?0:f-1,c=r?1:-1,a=0>t||0===t&&0>1/t?1:0,t=Math.abs(t),isNaN(t)||Infinity===t?(t=isNaN(t)?1:0,r=h):(r=Math.floor(Math.log(t)/Math.LN2),1>t*(e=Math.pow(2,-r))&&(r--,e*=2),t=1<=r+o?t+l/e:t+l*Math.pow(2,1-o),2<=t*e&&(r++,e/=2),r+o>=h?(t=0,r=h):1<=r+o?(t=(t*e-1)*Math.pow(2,u),r+=o):(t=t*Math.pow(2,o-1)*Math.pow(2,u),r=0));8<=u;n[i+f]=t&255,f+=c,t/=256,u-=8);for(r=r<<u|t,s+=u;0<s;n[i+f]=r&255,f+=c,r/=256,s-=8);n[i+f-c]|=128*a}},{}],2:[function(n,t){function i(n){this.gc=ArrayBuffer.isView&&ArrayBuffer.isView(n)?n:new Uint8Array(n||0);this.type=this.ha=0;this.length=this.gc.length}function f(n,t,i){var e=i.gc,f,u;if((u=e[i.ha++],f=(u&112)>>4,128>u)||(u=e[i.ha++],f|=(u&127)<<3,128>u)||(u=e[i.ha++],f|=(u&127)<<10,128>u)||(u=e[i.ha++],f|=(u&127)<<17,128>u)||(u=e[i.ha++],f|=(u&127)<<24,128>u))return r(n,f,t);if(u=e[i.ha++],128>u)return r(n,f|(u&1)<<31,t);throw Error("Expected varint not more than 10 bytes");}function r(n,t,i){return i?4294967296*t+(n>>>0):4294967296*(t>>>0)+(n>>>0)}t.ma=i;var u=n("ieee754");i.f=0;i.g=1;i.b=2;i.a=5;i.prototype={Uf:function(n,t,i){for(i=i||this.length;this.ha<i;){var r=this.Ia(),u=r>>3,f=this.ha;this.type=r&7;n(u,t,this);this.ha===f&&this.qp(r)}return t},Fo:function(){var n=u.read(this.gc,this.ha,!0,23,4);return this.ha+=4,n},Bo:function(){var n=u.read(this.gc,this.ha,!0,52,8);return this.ha+=8,n},Ia:function(n){var r=this.gc,i,t;return(t=r[this.ha++],i=t&127,128>t)?i:(t=r[this.ha++],i|=(t&127)<<7,128>t)?i:(t=r[this.ha++],i|=(t&127)<<14,128>t)?i:(t=r[this.ha++],i|=(t&127)<<21,128>t)?i:(t=r[this.ha],f(i|(t&15)<<28,n,this))},Ro:function(){return this.Ia(!0)},Kd:function(){var n=this.Ia();return 1==n%2?(n+1)/-2:n/2},zo:function(){return!!this.Ia()},Yf:function(){for(var i,e,h,o=this.Ia()+this.ha,u=this.gc,s="",t=this.ha;t<o;){var r=u[t],n=null,f=239<r?4:223<r?3:191<r?2:1;if(t+f>o)break;1===f?128>r&&(n=r):2===f?(i=u[t+1],128==(i&192)&&(n=(r&31)<<6|i&63,127>=n&&(n=null))):3===f?(i=u[t+1],e=u[t+2],128==(i&192)&&128==(e&192)&&(n=(r&15)<<12|(i&63)<<6|e&63,2047>=n||55296<=n&&57343>=n))&&(n=null):4===f&&(i=u[t+1],e=u[t+2],h=u[t+3],128==(i&192)&&128==(e&192)&&128==(h&192)&&(n=(r&15)<<18|(i&63)<<12|(e&63)<<6|h&63,65535>=n||1114112<=n))&&(n=null);null===n?(n=65533,f=1):65535<n&&(n-=65536,s+=String.fromCharCode(n>>>10&1023|55296),n=56320|n&1023);s+=String.fromCharCode(n);t+=f}return this.ha=o,s},qp:function(n){if(n&=7,n===i.f)for(;127<this.gc[this.ha++];);else if(n===i.b)this.ha=this.Ia()+this.ha;else if(n===i.a)this.ha+=4;else if(n===i.g)this.ha+=8;else throw Error("Unimplemented type: "+n);}}},{ieee754:1}]},{},[2])(2)});hkt=n.ma}(),function(){var t={},n={ma:t};(function(i){if("object"==typeof t&&"undefined"!=typeof n)n.ma=i();else{var r;r="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this;r.Up=i()}})(function(){return function n(t,i,r){function u(f,o){if(!i[f]){if(!t[f]){var s="function"==typeof require&&require;if(!o&&s)return s(f,!0);if(e)return e(f,!0);s=Error("Cannot find module '"+f+"'");throw s.code="MODULE_NOT_FOUND",s;}s=i[f]={ma:{}};t[f][0].call(s.ma,function(n){var i=t[f][1][n];return u(i?i:n)},s,s.ma,n,t,i,r)}return i[f].ma}for(var e="function"==typeof require&&require,f=0;f<r.length;f++)u(r[f]);return u}({1:[function(n,t){function i(n,t){this.x=n;this.y=t}t.ma=i;i.prototype={clone:function(){return new i(this.x,this.y)},add:function(n){return this.clone().oj(n)},rotate:function(n){return this.clone().yj(n)},round:function(){return this.clone().zj()},angle:function(){return Math.atan2(this.y,this.x)},oj:function(n){return this.x+=n.x,this.y+=n.y,this},yj:function(n){var t=Math.cos(n),i;return n=Math.sin(n),i=n*this.x+t*this.y,this.x=t*this.x-n*this.y,this.y=i,this},zj:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}};i.b=function(n){return n instanceof i?n:Array.isArray(n)?new i(n[0],n[1]):n}},{}],2:[function(n,t){t.ma.nj=n("./lib/vectortile.js");t.ma.Op=n("./lib/vectortilefeature.js");t.ma.Pp=n("./lib/vectortilelayer.js")},{"./lib/vectortile.js":3,"./lib/vectortilefeature.js":4,"./lib/vectortilelayer.js":5}],3:[function(n,t){function i(n,t,i){3===n&&(n=new r(i,i.Ia()+i.ha),n.length&&(t[n.name]=n))}var r=n("./vectortilelayer");t.ma=function(n,t){this.layers=n.Uf(i,{},t)}},{"./vectortilelayer":5}],4:[function(n,t){function i(n,t,i,u,f){this.properties={};this.extent=i;this.type=0;this.rc=n;this.Ye=-1;this.Td=u;this.Vd=f;n.Uf(r,this,t)}function r(n,t,i){if(1==n)t.id=i.Ia();else if(2==n)for(n=i.Ia()+i.ha;i.ha<n;){var r=t.Td[i.Ia()],u=t.Vd[i.Ia()];t.properties[r]=u}else 3==n?t.type=i.Ia():4==n&&(t.Ye=i.ha)}var u=n("point-geometry");t.ma=i;i.b=["Unknown","Point","LineString","Polygon"];i.prototype.fh=function(){var t=this.rc;t.ha=this.Ye;for(var s=t.Ia()+t.ha,i=1,r=0,e=0,o=0,f=[],n;t.ha<s;)if(r||(r=t.Ia(),i=r&7,r>>=3),r--,1===i||2===i)e+=t.Kd(),o+=t.Kd(),1===i&&(n&&f.push(n),n=[]),n.push(new u(e,o));else if(7===i)n&&n.push(n[0].clone());else throw Error("unknown command "+i);return n&&f.push(n),f};i.prototype.bbox=function(){var n=this.rc;n.ha=this.Ye;for(var h=n.Ia()+n.ha,t=1,i=0,r=0,u=0,f=Infinity,e=-Infinity,o=Infinity,s=-Infinity;n.ha<h;)if(i||(i=n.Ia(),t=i&7,i>>=3),i--,1===t||2===t)r+=n.Kd(),u+=n.Kd(),r<f&&(f=r),r>e&&(e=r),u<o&&(o=u),u>s&&(s=u);else if(7!==t)throw Error("unknown command "+t);return[f,o,e,s]}},{"point-geometry":1}],5:[function(n,t){function i(n,t){this.version=1;this.name=null;this.extent=4096;this.length=0;this.rc=n;this.Td=[];this.Vd=[];this.Sd=[];n.Uf(r,this,t);this.length=this.Sd.length}function r(n,t,i){15===n?t.version=i.Ia():1===n?t.name=i.Yf():5===n?t.extent=i.Ia():2===n?t.Sd.push(i.ha):3===n?t.Td.push(i.Yf()):4===n&&t.Vd.push(u(i))}function u(n){for(var t=null,i=n.Ia()+n.ha;n.ha<i;)t=n.Ia()>>3,t=1===t?n.Yf():2===t?n.Fo():3===t?n.Bo():4===t?n.Ro():5===t?n.Ia():6===t?n.Kd():7===t?n.zo():null;return t}var f=n("./vectortilefeature.js");t.ma=i;i.prototype.feature=function(n){if(0>n||n>=this.Sd.length)throw Error("feature index out of bounds");return this.rc.ha=this.Sd[n],n=this.rc.Ia()+this.rc.ha,new f(this.rc,n,this.extent,this.Td,this.Vd)}},{"./vectortilefeature.js":4}]},{},[2])(2)});ckt=n.ma}();n=ks.prototype;n.get=function(n){return this.f[n]};n.Kb=function(){return this.c};n.G=function(){return this.a||(this.a="Point"===this.g?ik(this.b):dit(this.b,0,this.b.length,2)),this.a};n.Vb=function(){return this.b};n.ia=ks.prototype.Vb;n.V=function(){return this};n.Tm=function(){return this.f};n.Bd=ks.prototype.V;n.pa=function(){return 2};n.Gc=ve;n.Y=function(){return this.g};i(pc,ws);pc.prototype.Y=function(){return"arraybuffer"};pc.prototype.La=function(n,t){var k=this.f,p=new hkt(n),p=new ckt.nj(p),d=[],tt=this.b,w,f,h,v,g,i,e,u,s;for(h in p.layers)if(!k||-1!=k.indexOf(h))for(w=p.layers[h],v=0,g=w.length;v<g;++v){if(tt===ks){i=w.feature(v);f=h;var r=i.fh(),b=[],o=[];dii(r,o,b);e=i.type;u=void 0;1===e?u=1===r.length?"Point":"MultiPoint":2===e?u=1===r.length?"LineString":"MultiLineString":3===e&&(u="Polygon");i=i.properties;i[this.a]=f;f=new this.b(u,o,b,i)}else{if(r=w.feature(v),i=h,u=t,f=new this.b,b=r.id,o=r.properties,o[this.a]=i,i=r.type,0===i)i=null;else{var r=r.fh(),e=[],nt=[];dii(r,nt,e);s=void 0;1===i?s=1===r.length?new a(null):new it(null):2===i?s=1===r.length?new l(null):new y(null):3===i&&(s=new c(null));s.da("XY",nt,e);i=s}(u=fe(i,!1,fo(this,u)))&&(o[this.g]=u);f.cc(b);f.I(o);f.Nc(this.g)}d.push(f)}return d};pc.prototype.Wa=function(){return this.defaultDataProjection};pc.prototype.c=function(n){this.f=n};i(op,oh);var aht=[null],cpi=e(aht,{nd:function(n,t){t[t.length-1].bd.push(n.getAttribute("ref"))},tag:gii}),lpi=e(aht,{node:function(n,t){var i=t[0],f=t[t.length-1],e=n.getAttribute("id"),r=[parseFloat(n.getAttribute("lon")),parseFloat(n.getAttribute("lat"))],u;f.jh[e]=r;u=o({Nd:{}},api,n,t);us(u.Nd)||(r=new a(r),fe(r,!1,i),i=new ut(r),i.cc(e),i.I(u.Nd),f.features.push(i))},way:function(n,t){for(var u=t[0],s=n.getAttribute("id"),r=o({bd:[],Nd:{}},cpi,n,t),e=t[t.length-1],f=[],i=0,h=r.bd.length;i<h;i++)cf(f,e.jh[r.bd[i]]);r.bd[0]==r.bd[r.bd.length-1]?(i=new c(null),i.da("XY",f,[f.length])):(i=new l(null),i.da("XY",f));fe(i,!1,u);u=new ut(i);u.cc(s);u.I(r.Nd);e.features.push(u)}}),api=e(aht,{tag:gii});op.prototype.oc=function(n,t){var i=tc(this,n,t);return"osm"==n.localName&&(i=o({jh:{},features:[]},lpi,n,[i]),i.features)?i.features:[]};nit.prototype.read=function(n){return dl(n)?this.a(n):gl(n)?this.b(n):"string"==typeof n?(n=vc(n),this.a(n)):null};i(tit,nit);tit.prototype.a=function(n){for(n=n.firstChild;n;n=n.nextSibling)if(n.nodeType==Node.ELEMENT_NODE)return this.b(n);return null};tit.prototype.b=function(n){return(n=o({},vpi,n,[]))?n:null};var hh=[null,"http://www.opengis.net/ows/1.1"],vpi=e(hh,{ServiceIdentification:r(function(n,t){return o({},uwi,n,t)}),ServiceProvider:r(function(n,t){return o({},fwi,n,t)}),OperationsMetadata:r(function(n,t){return o({},nwi,n,t)})}),ypi=e(hh,{DeliveryPoint:r(h),City:r(h),AdministrativeArea:r(h),PostalCode:r(h),Country:r(h),ElectronicMailAddress:r(h)}),ppi=e(hh,{Value:gf(function(n){return h(n)})}),wpi=e(hh,{AllowedValues:r(function(n,t){return o({},ppi,n,t)})}),bpi=e(hh,{Phone:r(function(n,t){return o({},twi,n,t)}),Address:r(function(n,t){return o({},ypi,n,t)})}),kpi=e(hh,{HTTP:r(function(n,t){return o({},dpi,n,t)})}),dpi=e(hh,{Get:gf(function(n,t){var i=cb(n);if(i)return o({href:i},iwi,n,t)}),Post:void 0}),gpi=e(hh,{DCP:r(function(n,t){return o({},kpi,n,t)})}),nwi=e(hh,{Operation:function(n,t){var r=n.getAttribute("name"),i=o({},gpi,n,t);i&&(t[t.length-1][r]=i)}}),twi=e(hh,{Voice:r(h),Facsimile:r(h)}),iwi=e(hh,{Constraint:gf(function(n,t){var i=n.getAttribute("name");if(i)return o({name:i},wpi,n,t)})}),rwi=e(hh,{IndividualName:r(h),PositionName:r(h),ContactInfo:r(function(n,t){return o({},bpi,n,t)})}),uwi=e(hh,{Title:r(h),ServiceTypeVersion:r(h),ServiceType:r(h)}),fwi=e(hh,{ProviderName:r(h),ProviderSite:r(cb),ServiceContact:r(function(n,t){return o({},rwi,n,t)})});i(ic,ad);n=ic.prototype;n.Hd=function(n,t){var i=this.Jd(n,t);return new ut(i)};n.Tf=function(n,t){return[this.Hd(n,t)]};n.Jd=function(n,t){var i=ert(this.a),r=iri(n,i,this.b);return nri(r,r.length,i,r),i=fk(r,0,r.length,i),fe(new l(i,this.a),!1,fo(this,t))};n.Re=function(n,t){var i=n.V();return i?this.Pd(i,t):(li(!1,40),"")};n.Oi=function(n,t){return this.Re(n[0],t)};n.Pd=function(n,t){n=fe(n,!0,fo(this,t));var i=n.ia(),r=n.pa();return nri(i,i.length,r,i),tri(i,r,this.b)};i(dv,sd);dv.prototype.Sf=function(n,t){var i,o,s,h,u,r,c;if("Topology"==n.type){if(o=null,s=null,n.transform&&(i=n.transform,o=i.scale,s=i.translate),h=n.arcs,i)for(i=o,u=s,r=0,c=h.length;r<c;++r)for(var f=h[r],p=i,w=u,a=0,v=0,e,l=0,y=f.length;l<y;++l)e=f[l],a+=e[0],v+=e[1],e[0]=a,e[1]=v,vht(e,p,w);for(i=[],u=gd(n.objects),r=0,c=u.length;r<c;++r)"GeometryCollection"===u[r].type?(f=u[r],i.push.apply(i,ewi(f,h,o,s,t))):(f=u[r],i.push(fri(f,h,o,s,t)));return i}return[]};dv.prototype.Wa=function(){return this.defaultDataProjection};eri={Point:function(n,t,i){return n=n.coordinates,t&&i&&vht(n,t,i),new a(n)},LineString:function(n,t){var i=iit(n.arcs,t);return new l(i)},Polygon:function(n,t){for(var r=[],i=0,u=n.arcs.length;i<u;++i)r[i]=iit(n.arcs[i],t);return new c(r)},MultiPoint:function(n,t,i){n=n.coordinates;var r,u;if(t&&i)for(r=0,u=n.length;r<u;++r)vht(n[r],t,i);return new it(n)},MultiLineString:function(n,t){for(var r=[],i=0,u=n.arcs.length;i<u;++i)r[i]=iit(n.arcs[i],t);return new y(r)},MultiPolygon:function(n,t){for(var e=[],u,f,i,o,r=0,s=n.arcs.length;r<s;++r){for(u=n.arcs[r],f=[],i=0,o=u.length;i<o;++i)f[i]=iit(u[i],t);e[r]=f}return new w(e)}};i(de,oh);de.prototype.oc=function(n,t){var i={featureType:this.i,featureNS:this.g};return er(i,tc(this,n,t?t:{})),i=[i],this.b.b["http://www.opengis.net/gml"].featureMember=iu(eu.prototype.Id),(i=o([],this.b.b,n,i,this.b))||(i=[]),i};de.prototype.o=function(n){return dl(n)?lri(n):gl(n)?o({},cri,n,[]):"string"==typeof n?(n=vc(n),lri(n)):void 0};de.prototype.l=function(n){return dl(n)?ori(this,n):gl(n)?hri(this,n):"string"==typeof n?(n=vc(n),ori(this,n)):void 0};sri={"http://www.opengis.net/gml":{boundedBy:r(eu.prototype.Ee,"bounds")}};var owi={"http://www.opengis.net/wfs":{totalInserted:r(wo),totalUpdated:r(wo),totalDeleted:r(wo)}},swi={"http://www.opengis.net/ogc":{FeatureId:iu(function(n){return n.getAttribute("fid")})}},hwi={"http://www.opengis.net/wfs":{Feature:function(n,t){fh(swi,n,t)}}},cri={"http://www.opengis.net/wfs":{TransactionSummary:r(function(n,t){return o({},owi,n,t)},"transactionSummary"),InsertResults:r(function(n,t){return o([],hwi,n,t)},"insertIds")}};ari={"http://www.opengis.net/wfs":{PropertyName:u(ou)}};lb={"http://www.opengis.net/wfs":{Insert:u(function(n,t,i){var r=i[i.length-1],r=hf(r.featureNS,r.featureType);n.appendChild(r);st.prototype.Ni(r,t,i)}),Update:u(function(n,t,i){var u=i[i.length-1],s;li(void 0!==t.f,27);var f=u.featureType,r=u.featurePrefix,r=r?r:"feature",e=u.featureNS;if(n.setAttribute("typeName",r+":"+f),n.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:"+r,e),f=t.f,void 0!==f){for(var r=t.S(),e=[],o=0,h=r.length;o<h;o++)s=t.get(r[o]),void 0!==s&&e.push({name:r[o],value:s});ur({node:n,srsName:u.srsName},lb,bf("Property"),e,i);vri(n,f)}}),Delete:u(function(n,t,i){var r=i[i.length-1];li(void 0!==t.f,26);i=r.featureType;var u=r.featurePrefix,u=u?u:"feature",r=r.featureNS;n.setAttribute("typeName",u+":"+i);n.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:"+u,r);t=t.f;void 0!==t&&vri(n,t)}),Property:u(function(n,t,i){var r=hf("http://www.opengis.net/wfs","Name");n.appendChild(r);ou(r,t.name);void 0!==t.value&&null!==t.value&&(r=hf("http://www.opengis.net/wfs","Value"),n.appendChild(r),t.value instanceof bi?st.prototype.pd(r,t.value,i):ou(r,t.value))}),Native:u(function(n,t){t.yp&&n.setAttribute("vendorId",t.yp);void 0!==t.cp&&n.setAttribute("safeToIgnore",t.cp);void 0!==t.value&&ou(n,t.value)})}};vb={"http://www.opengis.net/wfs":{Query:u(function(n,t,i){var r=i[i.length-1],f=r.featurePrefix,e=r.featureNS,u=r.propertyNames,o=r.srsName;n.setAttribute("typeName",(f?f+":":"")+t);o&&n.setAttribute("srsName",o);e&&n.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:"+f,e);t=er({},r);t.node=n;ur(t,ari,bf("PropertyName"),u,i);(r=r.filter)&&(u=hf("http://www.opengis.net/ogc","Filter"),n.appendChild(u),ur({node:u},vb,bf(r.Nb),[r],i))})},"http://www.opengis.net/ogc":{And:u(yri),Or:u(yri),Not:u(function(n,t,i){t=t.condition;ur({node:n},vb,bf(t.Nb),[t],i)}),BBOX:u(function(n,t,i){i[i.length-1].srsName=t.srsName;sp(n,t.geometryName);st.prototype.pd(n,t.extent,i)}),Intersects:u(function(n,t,i){i[i.length-1].srsName=t.srsName;sp(n,t.geometryName);st.prototype.pd(n,t.geometry,i)}),Within:u(function(n,t,i){i[i.length-1].srsName=t.srsName;sp(n,t.geometryName);st.prototype.pd(n,t.geometry,i)}),PropertyIsEqualTo:u(ab),PropertyIsNotEqualTo:u(ab),PropertyIsLessThan:u(ab),PropertyIsLessThanOrEqualTo:u(ab),PropertyIsGreaterThan:u(ab),PropertyIsGreaterThanOrEqualTo:u(ab),PropertyIsNull:u(function(n,t){sp(n,t.b)}),PropertyIsBetween:u(function(n,t){sp(n,t.b);var i=hf("http://www.opengis.net/ogc","LowerBoundary");n.appendChild(i);rit(i,""+t.a);i=hf("http://www.opengis.net/ogc","UpperBoundary");n.appendChild(i);rit(i,""+t.g)}),PropertyIsLike:u(function(n,t){n.setAttribute("wildCard",t.i);n.setAttribute("singleChar",t.c);n.setAttribute("escapeChar",t.g);void 0!==t.a&&n.setAttribute("matchCase",t.a.toString());sp(n,t.b);rit(n,""+t.f)})}};de.prototype.v=function(n){var t=hf("http://www.opengis.net/wfs","GetFeature"),i,r;return t.setAttribute("service","WFS"),t.setAttribute("version","1.1.0"),n&&(n.handle&&t.setAttribute("handle",n.handle),n.outputFormat&&t.setAttribute("outputFormat",n.outputFormat),void 0!==n.maxFeatures&&t.setAttribute("maxFeatures",n.maxFeatures),n.resultType&&t.setAttribute("resultType",n.resultType),void 0!==n.startIndex&&t.setAttribute("startIndex",n.startIndex),void 0!==n.count&&t.setAttribute("count",n.count),i=n.filter,n.bbox)&&(li(n.geometryName,12),r=bnt(n.geometryName,n.bbox,n.srsName),i=i?wnt(i,r):r),t.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",this.c),i={node:t,srsName:n.srsName,featureNS:n.featureNS?n.featureNS:this.g,featurePrefix:n.featurePrefix,geometryName:n.geometryName,filter:i,propertyNames:n.propertyNames?n.propertyNames:[]},li(Array.isArray(n.featureTypes),11),n=n.featureTypes,i=[i],r=er({},i[i.length-1]),r.node=t,ur(r,vb,bf("Query"),n,i),t};de.prototype.A=function(n,t,i,r){var e=[],u=hf("http://www.opengis.net/wfs","Transaction"),o,f;return u.setAttribute("service","WFS"),u.setAttribute("version","1.1.0"),r&&(o=r.gmlOptions?r.gmlOptions:{},r.handle&&u.setAttribute("handle",r.handle)),u.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",this.c),n&&(f={node:u,featureNS:r.featureNS,featureType:r.featureType,featurePrefix:r.featurePrefix,srsName:r.srsName},er(f,o),ur(f,lb,bf("Insert"),n,e)),t&&(f={node:u,featureNS:r.featureNS,featureType:r.featureType,featurePrefix:r.featurePrefix,srsName:r.srsName},er(f,o),ur(f,lb,bf("Update"),t,e)),i&&ur({node:u,featureNS:r.featureNS,featureType:r.featureType,featurePrefix:r.featurePrefix,srsName:r.srsName},lb,bf("Delete"),i,e),r.nativeElements&&ur({node:u,featureNS:r.featureNS,featureType:r.featureType,featurePrefix:r.featurePrefix,srsName:r.srsName},lb,bf("Native"),r.nativeElements,e),u};de.prototype.Xf=function(n){for(n=n.firstChild;n;n=n.nextSibling)if(n.nodeType==Node.ELEMENT_NODE)return this.He(n);return null};de.prototype.He=function(n){if(n.firstElementChild&&n.firstElementChild.firstElementChild)for(n=n.firstElementChild.firstElementChild,n=n.firstElementChild;n;n=n.nextElementSibling)if(0!==n.childNodes.length&&(1!==n.childNodes.length||3!==n.firstChild.nodeType)){var t=[{}];return this.b.Ee(n,t),ai(t.pop().srsName)}return null};i(ds,ad);dri={Point:wri,LineString:yht,Polygon:bri,MultiPoint:function(n){var i=[],t,r;for(n=n.re(),t=0,r=n.length;t<r;++t)i.push("("+wri(n[t])+")");return i.join(",")},MultiLineString:function(n){var i=[],t,r;for(n=n.Yc(),t=0,r=n.length;t<r;++t)i.push("("+yht(n[t])+")");return i.join(",")},MultiPolygon:function(n){var i=[],t,r;for(n=n.Ad(),t=0,r=n.length;t<r;++t)i.push("("+bri(n[t])+")");return i.join(",")},GeometryCollection:function(n){var i=[],t,r;for(n=n.pf(),t=0,r=n.length;t<r;++t)i.push(kri(n[t]));return i.join(",")}};n=ds.prototype;n.Hd=function(n,t){var r=this.Jd(n,t),i;return r?(i=new ut,i.Pa(r),i):null};n.Tf=function(n,t){var r=[],i=this.Jd(n,t);r=this.b&&"GeometryCollection"==i.Y()?i.f:[i];for(var f=[],u=0,e=r.length;u<e;++u)i=new ut,i.Pa(r[u]),f.push(i);return f};n.Jd=function(n,t){var i;return i=new gv(new cwi(n)),uit(i),(i=nui(i))?fe(i,!1,t):null};n.Re=function(n,t){var i=n.V();return i?this.Pd(i,t):""};n.Oi=function(n,t){if(1==n.length)return this.Re(n[0],t);for(var i=[],r=0,u=n.length;r<u;++r)i.push(n[r].V());return i=new bt(i),this.Pd(i,t)};n.Pd=function(n,t){return kri(fe(n,!0,t))};n=gv.prototype;n.Of=function(){if(ge(this,2)){var n=pht(this);if(ge(this,3))return n}else if(hp(this))return null;throw Error(ya(this));};n.Nf=function(){if(ge(this,2)){var n=tui(this);if(ge(this,3))return n}else if(hp(this))return[];throw Error(ya(this));};n.Pf=function(){if(ge(this,2)){var n=iui(this);if(ge(this,3))return n}else if(hp(this))return[];throw Error(ya(this));};n.mo=function(){if(ge(this,2)){var n;if(2==this.b.type)for(n=[this.Of()];ge(this,5);)n.push(this.Of());else n=tui(this);if(ge(this,3))return n}else if(hp(this))return[];throw Error(ya(this));};n.lo=function(){if(ge(this,2)){var n=iui(this);if(ge(this,3))return n}else if(hp(this))return[];throw Error(ya(this));};n.no=function(){if(ge(this,2)){for(var n=[this.Pf()];ge(this,5);)n.push(this.Pf());if(ge(this,3))return n}else if(hp(this))return[];throw Error(ya(this));};rui={POINT:a,LINESTRING:l,POLYGON:c,MULTIPOINT:it,MULTILINESTRING:y,MULTIPOLYGON:w};uui={POINT:gv.prototype.Of,LINESTRING:gv.prototype.Nf,POLYGON:gv.prototype.Pf,MULTIPOINT:gv.prototype.mo,MULTILINESTRING:gv.prototype.lo,MULTIPOLYGON:gv.prototype.no};i(yb,nit);yb.prototype.a=function(n){for(n=n.firstChild;n;n=n.nextSibling)if(n.nodeType==Node.ELEMENT_NODE)return this.b(n);return null};yb.prototype.b=function(n){return this.version=n.getAttribute("version").trim(),(n=o({version:this.version},lwi,n,[]))?n:null};var is=[null,"http://www.opengis.net/wms"],lwi=e(is,{Service:r(function(n,t){return o({},vwi,n,t)}),Capability:r(function(n,t){return o({},awi,n,t)})}),awi=e(is,{Request:r(function(n,t){return o({},gwi,n,t)}),Exception:r(function(n,t){return o([],bwi,n,t)}),Layer:r(function(n,t){return o({},oui,n,t)})}),vwi=e(is,{Name:r(h),Title:r(h),Abstract:r(h),KeywordList:r(eui),OnlineResource:r(cb),ContactInformation:r(function(n,t){return o({},ywi,n,t)}),Fees:r(h),AccessConstraints:r(h),LayerLimit:r(wo),MaxWidth:r(wo),MaxHeight:r(wo)}),ywi=e(is,{ContactPersonPrimary:r(function(n,t){return o({},pwi,n,t)}),ContactPosition:r(h),ContactAddress:r(function(n,t){return o({},wwi,n,t)}),ContactVoiceTelephone:r(h),ContactFacsimileTelephone:r(h),ContactElectronicMailAddress:r(h)}),pwi=e(is,{ContactPerson:r(h),ContactOrganization:r(h)}),wwi=e(is,{AddressType:r(h),Address:r(h),City:r(h),StateOrProvince:r(h),PostCode:r(h),Country:r(h)}),bwi=e(is,{Format:iu(h)}),oui=e(is,{Name:r(h),Title:r(h),Abstract:r(h),KeywordList:r(eui),CRS:gf(h),EX_GeographicBoundingBox:r(function(n,t){var i=o({},dwi,n,t);if(i){var r=i.westBoundLongitude,u=i.southBoundLatitude,f=i.eastBoundLongitude,i=i.northBoundLatitude;return void 0===r||void 0===u||void 0===f||void 0===i?void 0:[r,u,f,i]}}),BoundingBox:gf(function(n){var t=[aa(n.getAttribute("minx")),aa(n.getAttribute("miny")),aa(n.getAttribute("maxx")),aa(n.getAttribute("maxy"))],i=[aa(n.getAttribute("resx")),aa(n.getAttribute("resy"))];return{crs:n.getAttribute("CRS"),extent:t,res:i}}),Dimension:gf(function(n){return{name:n.getAttribute("name"),units:n.getAttribute("units"),unitSymbol:n.getAttribute("unitSymbol"),"default":n.getAttribute("default"),multipleValues:fp(n.getAttribute("multipleValues")),nearestValue:fp(n.getAttribute("nearestValue")),current:fp(n.getAttribute("current")),values:h(n)}}),Attribution:r(function(n,t){return o({},kwi,n,t)}),AuthorityURL:gf(function(n,t){var i=pa(n,t);if(i)return i.name=n.getAttribute("name"),i}),Identifier:gf(h),MetadataURL:gf(function(n,t){var i=pa(n,t);if(i)return i.type=n.getAttribute("type"),i}),DataURL:gf(pa),FeatureListURL:gf(pa),Style:gf(function(n,t){return o({},rbi,n,t)}),MinScaleDenominator:r(sf),MaxScaleDenominator:r(sf),Layer:gf(function(n,t){var u=t[t.length-1],r=o({},oui,n,t),i;if(r)return i=fp(n.getAttribute("queryable")),void 0===i&&(i=u.queryable),r.queryable=void 0!==i?i:!1,i=rl(n.getAttribute("cascaded")),void 0===i&&(i=u.cascaded),r.cascaded=i,i=fp(n.getAttribute("opaque")),void 0===i&&(i=u.opaque),r.opaque=void 0!==i?i:!1,i=fp(n.getAttribute("noSubsets")),void 0===i&&(i=u.noSubsets),r.noSubsets=void 0!==i?i:!1,(i=aa(n.getAttribute("fixedWidth")))||(i=u.fixedWidth),r.fixedWidth=i,(i=aa(n.getAttribute("fixedHeight")))||(i=u.fixedHeight),r.fixedHeight=i,["Style","CRS","AuthorityURL"].forEach(function(n){n in u&&(r[n]=(r[n]||[]).concat(u[n]))}),"EX_GeographicBoundingBox BoundingBox Dimension Attribution MinScaleDenominator MaxScaleDenominator".split(" ").forEach(function(n){n in r||(r[n]=u[n])}),r})}),kwi=e(is,{Title:r(h),OnlineResource:r(cb),LogoURL:r(fui)}),dwi=e(is,{westBoundLongitude:r(sf),eastBoundLongitude:r(sf),southBoundLatitude:r(sf),northBoundLatitude:r(sf)}),gwi=e(is,{GetCapabilities:r(wht),GetMap:r(wht),GetFeatureInfo:r(wht)}),nbi=e(is,{Format:gf(h),DCPType:gf(function(n,t){return o({},tbi,n,t)})}),tbi=e(is,{HTTP:r(function(n,t){return o({},ibi,n,t)})}),ibi=e(is,{Get:r(pa),Post:r(pa)}),rbi=e(is,{Name:r(h),Title:r(h),Abstract:r(h),LegendURL:gf(fui),StyleSheetURL:r(pa),StyleURL:r(pa)}),ubi=e(is,{Format:r(h),OnlineResource:r(cb)}),fbi=e(is,{Keyword:iu(h)});i(wd,oh);wd.prototype.oc=function(n,t){var i={},f,c,h,a,r,u,s,l;if(t&&er(i,tc(this,n,t)),f=[i],n.setAttribute("namespaceURI",this.g),c=n.localName,i=[],0!==n.childNodes.length){if("msGMLOutput"==c)for(h=0,a=n.childNodes.length;h<a;h++)r=n.childNodes[h],r.nodeType===Node.ELEMENT_NODE&&(u=f[0],s=r.localName.replace("_layer",""),(!this.c||co(this.c,s))&&(s+="_feature",u.featureType=s,u.featureNS=this.g,l={},l[s]=iu(this.b.Rf,this.b),u=e([u.featureNS,null],l),r.setAttribute("namespaceURI",this.g),(r=o([],u,r,f,this.b))&&cf(i,r)));"FeatureCollection"==c&&(f=o([],this.b.b,n,[{}],this.b))&&(i=f)}return i};i(pb,nit);pb.prototype.a=function(n){for(n=n.firstChild;n;n=n.nextSibling)if(n.nodeType==Node.ELEMENT_NODE)return this.b(n);return null};pb.prototype.b=function(n){var i=n.getAttribute("version").trim(),t=this.g.b(n);return t?(t.version=i,(t=o(t,ebi,n,[]))?t:null):null};var ia=[null,"http://www.opengis.net/wmts/1.0"],wb=[null,"http://www.opengis.net/ows/1.1"],ebi=e(ia,{Contents:r(function(n,t){return o({},obi,n,t)})}),obi=e(ia,{Layer:gf(function(n,t){return o({},sbi,n,t)}),TileMatrixSet:gf(function(n,t){return o({},pbi,n,t)})}),sbi=e(ia,{Style:gf(function(n,t){var i=o({},hbi,n,t),r;if(i)return r="true"===n.getAttribute("isDefault"),i.isDefault=r,i}),Format:gf(h),TileMatrixSetLink:gf(function(n,t){return o({},cbi,n,t)}),Dimension:gf(function(n,t){return o({},vbi,n,t)}),ResourceURL:gf(function(n){var i=n.getAttribute("format"),r=n.getAttribute("template"),t;return n=n.getAttribute("resourceType"),t={},i&&(t.format=i),r&&(t.template=r),n&&(t.resourceType=n),t})},e(wb,{Title:r(h),Abstract:r(h),WGS84BoundingBox:r(function(n,t){var i=o([],ybi,n,t);if(2==i.length)return se(i)}),Identifier:r(h)})),hbi=e(ia,{LegendURL:gf(function(n){var t={};return t.format=n.getAttribute("format"),t.href=cb(n),t})},e(wb,{Title:r(h),Identifier:r(h)})),cbi=e(ia,{TileMatrixSet:r(h),TileMatrixSetLimits:r(function(n,t){return o([],lbi,n,t)})}),lbi=e(ia,{TileMatrixLimits:iu(function(n,t){return o({},abi,n,t)})}),abi=e(ia,{TileMatrix:r(h),MinTileRow:r(wo),MaxTileRow:r(wo),MinTileCol:r(wo),MaxTileCol:r(wo)}),vbi=e(ia,{Default:r(h),Value:gf(h)},e(wb,{Identifier:r(h)})),ybi=e(wb,{LowerCorner:iu(bht),UpperCorner:iu(bht)}),pbi=e(ia,{WellKnownScaleSet:r(h),TileMatrix:gf(function(n,t){return o({},wbi,n,t)})},e(wb,{SupportedCRS:r(h),Identifier:r(h)})),wbi=e(ia,{TopLeftCorner:r(bht),ScaleDenominator:r(sf),TileWidth:r(wo),TileHeight:r(wo),MatrixWidth:r(wo),MatrixHeight:r(wo)},e(wb,{Identifier:r(h)}));i(vi,oi);n=vi.prototype;n.oa=function(){this.ne(!1);oi.prototype.oa.call(this)};n.Ql=function(){var n=this.lh();n&&(this.c=ka(ai("EPSG:4326"),n),this.a&&this.set(kht,this.c(this.a)))};n.Rl=function(){if(ryt){var n=this.mh();n&&void 0===this.f?this.f=navigator.geolocation.watchPosition(this.uo.bind(this),this.vo.bind(this),this.Wg()):n||void 0===this.f||(navigator.geolocation.clearWatch(this.f),this.f=void 0)}};n.uo=function(n){n=n.coords;this.set(sui,n.accuracy);this.set(cui,null===n.altitude?void 0:n.altitude);this.set(lui,null===n.altitudeAccuracy?void 0:n.altitudeAccuracy);this.set(aui,null===n.heading?void 0:as(n.heading));this.a?(this.a[0]=n.longitude,this.a[1]=n.latitude):this.a=[n.longitude,n.latitude];var t=this.c(this.a);this.set(kht,t);this.set(vui,null===n.speed?void 0:n.speed);n=bat(aft,this.a,n.accuracy);n.sc(this.c);this.set(hui,n);this.s()};n.vo=function(n){n.type="error";this.ne(!1);this.b(n)};n.Tj=function(){return this.get(sui)};n.Uj=function(){return this.get(hui)||null};n.Wj=function(){return this.get(cui)};n.Xj=function(){return this.get(lui)};n.Ol=function(){return this.get(aui)};n.Pl=function(){return this.get(kht)};n.lh=function(){return this.get(dht)};n.Bk=function(){return this.get(vui)};n.mh=function(){return this.get(ght)};n.Wg=function(){return this.get(yui)};n.nh=function(n){this.set(dht,n)};n.ne=function(n){this.set(ght,n)};n.Ci=function(n){this.set(yui,n)};var sui="accuracy",hui="accuracyGeometry",cui="altitude",lui="altitudeAccuracy",aui="heading",kht="position",dht="projection",vui="speed",ght="tracking",yui="trackingOptions";i(ht,et);n=ht.prototype;n.clone=function(){var n=new ht(null);return cl(n,this.ka,this.B.slice()),n.s(),n};n.Ab=function(n,t,i,r){var u=this.B,f;if(n-=u[0],f=t-u[1],t=n*n+f*f,t<r){if(0===t)for(r=0;r<this.a;++r)i[r]=u[r];else for(r=this.qe()/Math.sqrt(t),i[0]=u[0]+r*n,i[1]=u[1]+r*f,r=2;r<this.a;++r)i[r]=u[r];return i.length=this.a,t}return r};n.Hc=function(n,t){var i=this.B,r=n-i[0],i=t-i[1];return r*r+i*i<=pui(this)};n.Fd=function(){return this.B.slice(0,this.a)};n.Yd=function(n){var t=this.B,i=t[this.a]-t[0];return oc(t[0]-i,t[1]-i,t[0]+i,t[1]+i,n)};n.qe=function(){return Math.sqrt(pui(this))};n.Y=function(){return"Circle"};n.Ta=function(n){var t=this.G();return pe(n,t)?(t=this.Fd(),n[0]<=t[0]&&n[2]>=t[0]||n[1]<=t[1]&&n[3]>=t[1]?!0:rat(n,this.mb,this)):!1};n.nm=function(n){var i=this.a,r=n.slice(),t;for(r[i]=r[0]+(this.B[i]-this.B[0]),t=1;t<i;++t)r[i+t]=n[t];cl(this,this.ka,r);this.s()};n.dg=function(n,t,i){if(n){ga(this,i,n,0);this.B||(this.B=[]);i=this.B;n=cat(i,n);i[n++]=i[0]+t;var r;for(t=1,r=this.a;t<r;++t)i[n++]=i[t];i.length=n}else cl(this,"XY",null);this.s()};n.om=function(n){this.B[this.a]=this.B[0]+n;this.s()};bui=new lu({color:"rgba(0,0,0,0.2)"});fit=[90,45,30,20,10,5,2,1,.5,.2,.1,.05,.01,.005,.002,.001];n=ra.prototype;n.Sl=function(){return this.l};n.qk=function(){return this.b};n.xk=function(){return this.a};n.ah=function(n){var v=n.vectorContext,t=n.frameState,o=t.extent;n=t.viewState;var f=n.center,i=n.projection,r=n.resolution;if(n=t.pixelRatio,n=r*r/(4*n*n),!this.c||!vh(this.c,i)){var u=ai("EPSG:4326"),s=i.G(),c=i.i,a=rw(c,u,i),e=c[2],h=c[1],l=c[0],y=a[3],p=a[2],w=a[1],a=a[0];this.i=c[3];this.g=e;this.j=h;this.f=l;this.u=y;this.A=p;this.C=w;this.D=a;this.o=ea(u,i);this.H=ea(i,u);this.v=this.H(ah(s));this.c=i}for(i.a&&(i=i.G(),u=af(i),t=t.focus[0],t<i[0]||t>i[2])&&(t=u*Math.ceil((i[0]-t)/u),o=[o[0]+t,o[1],o[2]+t,o[3]]),t=this.v[0],i=this.v[1],u=-1,c=Math.pow(this.va*r,2),e=[],h=[],r=0,s=fit.length;r<s;++r){if(l=fit[r]/2,e[0]=t-l,e[1]=i-l,h[0]=t+l,h[1]=i+l,this.o(e,e),this.o(h,h),l=Math.pow(h[0]-e[0],2)+Math.pow(h[1]-e[1],2),l<=c)break;u=fit[r]}if(r=u,-1==r)this.b.length=this.a.length=0;else{for(t=this.H(f),f=t[0],t=t[1],i=this.L,u=[Math.max(o[0],this.D),Math.max(o[1],this.C),Math.min(o[2],this.A),Math.min(o[3],this.u)],u=rw(u,this.c,"EPSG:4326"),c=u[3],h=u[1],f=Math.floor(f/r)*r,e=eo(f,this.f,this.g),s=nct(this,e,h,c,n,o,0),u=0;e!=this.f&&u++<i;)e=Math.max(e-r,this.f),s=nct(this,e,h,c,n,o,s);for(e=eo(f,this.f,this.g),u=0;e!=this.g&&u++<i;)e=Math.min(e+r,this.g),s=nct(this,e,h,c,n,o,s);for(this.b.length=s,t=Math.floor(t/r)*r,f=eo(t,this.j,this.i),s=tct(this,f,n,o,0),u=0;f!=this.j&&u++<i;)f=Math.max(f-r,this.j),s=tct(this,f,n,o,s);for(f=eo(t,this.j,this.i),u=0;f!=this.i&&u++<i;)f=Math.min(f+r,this.i),s=tct(this,f,n,o,s);this.a.length=s}for(v.Ma(null,this.ra),n=0,f=this.b.length;n<f;++n)r=this.b[n],v.Pb(r,null);for(n=0,f=this.a.length;n<f;++n)r=this.a[n],v.Pb(r,null)};n.setMap=function(n){this.l&&(this.l.K("postcompose",this.ah,this),this.l.render());n&&(n.J("postcompose",this.ah,this),n.render());this.l=n};i(wc,we);n=wc.prototype;n.oa=function(){1==this.state&&ict(this);this.a&&fc(this.a);this.state=5;this.s();we.prototype.oa.call(this)};n.ub=function(){return this.g};n.bb=function(){return this.l};n.Tl=function(){this.state=3;ict(this);this.s()};n.Ul=function(){this.state=this.g.naturalWidth&&this.g.naturalHeight?yo:4;ict(this);this.s()};n.load=function(){(0==this.state||3==this.state)&&(this.state=1,this.s(),this.i=[sl(this.g,"error",this.Tl,this),sl(this.g,"load",this.Ul,this)],this.o(this,this.l))};i(nf,pi);nf.prototype.j=function(n,t){var h=t.target.result,r=this.v,u=this.l,i,f,e,o,s;for(u||(u=r.aa().o),r=this.i,i=[],f=0,e=r.length;f<e;++f){o=new r[f];s={featureProjection:u};try{i=o.La(h,s)}catch(c){i=null}if(i&&0<i.length)break}this.b(new ss(kui,n,i,u))};nf.prototype.setMap=function(n){this.a&&(this.a.forEach(au),this.a=null);pi.prototype.setMap.call(this,n);n&&(n=this.target?this.target:n.f,this.a=[f(n,"drop",dbi,this),f(n,"dragenter",rct,this),f(n,"dragover",rct,this),f(n,"drop",rct,this)])};kui="addfeatures";i(ss,lr);i(of,dt);i(p,ir);n=p.prototype;n.gb=function(n){var t=tt(n).toString(),i;nfi(this,t,n)&&(gui(this,t,n),i=n.V(),i?(t=i.G(),this.a&&this.a.Da(t,n)):this.i[t]=n,this.b(new bo(eit,n)));this.s()};n.Tc=function(n){tfi(this,n);this.s()};n.clear=function(n){var t,i;if(n){for(t in this.v)this.v[t].forEach(au);this.c||(this.v={},this.l={},this.o={})}else if(this.a){this.a.forEach(this.$f,this);for(i in this.i)this.$f(this.i[i])}this.c&&this.c.clear();this.a&&this.a.clear();this.sa.clear();this.i={};this.b(new bo(fki));this.s()};n.Fg=function(n,t){return this.a?this.a.forEach(n,t):this.c?this.c.forEach(n,t):void 0};n.Qb=function(n,t,i){return this.a?ud(this.a,n,t,i):this.c?this.c.forEach(t,i):void 0};n.Gg=function(n,t,i){return this.Qb(n,function(r){if(r.V().Ta(n)&&(r=t.call(i,r)))return r})};n.Og=function(){return this.c};n.we=function(){var n;return this.c?n=this.c.a:this.a&&(n=akt(this.a),us(this.i)||cf(n,gd(this.i))),n};n.Ng=function(n){var t=[];return rki(this,n,function(n){t.push(n)}),t};n.nf=function(n){return tp(this.a,n)};n.Jg=function(n,t){var u=n[0],f=n[1],e=null,o=[NaN,NaN],i=Infinity,r=[-Infinity,-Infinity,Infinity,Infinity],s=t?t:ao;return ud(this.a,r,function(n){if(s(n)){var t=n.V(),h=i;i=t.Ab(u,f,o,i);i<h&&(e=n,n=Math.sqrt(i),r[0]=u-n,r[1]=f-n,r[2]=u+n,r[3]=f+n)}}),e};n.G=function(){return this.a.G()};n.Mg=function(n){return n=this.l[n.toString()],void 0!==n?n:null};n.Kh=function(){return this.P};n.Lh=function(){return this.Z};n.Mh=function(n){n=n.target;var i=tt(n).toString(),t=n.V();t?(t=t.G(),i in this.i?(delete this.i[i],this.a&&this.a.Da(t,n)):this.a&&np(this.a,t,n)):i in this.i||(this.a&&this.a.remove(n),this.i[i]=n);t=n.f;void 0!==t?(t=t.toString(),i in this.o?(delete this.o[i],this.l[t]=n):this.l[t]!==n&&(ifi(this,n),this.l[t]=n)):i in this.o||(ifi(this,n),this.o[i]=n);this.s();this.b(new bo(uki,n))};n.Ed=function(n,t,i){var f=this.sa,u,e,r;for(n=this.fc(n,t),u=0,e=n.length;u<e;++u)r=n[u],ud(f,r,function(n){return ys(n.extent,r)})||(this.U.call(this,r,t,i),f.Da(r,{extent:r.slice()}))};n.rb=function(n){var t=tt(n).toString();t in this.i?delete this.i[t]:this.a&&this.a.remove(n);this.$f(n);this.s()};n.$f=function(n){var t=tt(n).toString(),i;this.v[t].forEach(au);delete this.v[t];i=n.f;void 0!==i?delete this.l[i.toString()]:delete this.o[t];this.b(new bo(uct,n))};i(bo,lr);var eit="addfeature",uki="changefeature",fki="clear",uct="removefeature";i(dr,dt);n=dr.prototype;n.setMap=function(n){dt.prototype.setMap.call(this,n);this.Li()};n.Vo=function(){var t=this.j.V(),n,i;this.i===db?(n=this.a,n.splice(-2,1),this.D(n,t)):this.i===fl&&(n=this.a[0],n.splice(-2,1),i=this.C.V(),i.qa(n),this.D(this.a,t));0===n.length&&(this.o=null);bb(this)};n.zd=function(){var t=sfi(this),n=this.a,i=t.V();this.i===db?(n.pop(),this.D(n,i)):this.i===fl&&(n[0].pop(),this.D(n,i),n=i.$());"MultiPoint"===this.U?t.Pa(new it([n])):"MultiLineString"===this.U?t.Pa(new y([n])):"MultiPolygon"===this.U&&t.Pa(new w([n]));this.b(new ch(hfi,t));this.xa&&this.xa.push(t);this.Ua&&this.Ua.gb(t)};n.vm=function(n){var t=n.V();this.j=n;this.a=t.$();n=this.a[this.a.length-1];this.o=n.slice();this.a.push(n.slice());bb(this);this.b(new ch(ect,this.j))};n.Qc=nh;n.Li=function(){var n=this.v,t=this.f();n&&t||sfi(this);this.sa.setMap(t?n:null)};var kb="Point",db="LineString",fl="Polygon",fct="Circle";i(ch,lr);ect="drawstart";hfi="drawend";i(gr,dt);gr.prototype.setMap=function(n){this.u.setMap(n);this.L.setMap(n);dt.prototype.setMap.call(this,n)};gr.prototype.G=function(){return this.j};gr.prototype.i=function(n){this.j=n?n:null;var t=this.o;t?n?t.Pa(cg(n)):t.Pa(void 0):(this.o=t=n?new ut(cg(n)):new ut({}),this.u.la().gb(t));this.b(new bc(this.j))};i(bc,lr);yfi="extentchanged";i(pu,dt);n=pu.prototype;n.Gf=function(n){var t=n.V();t&&t.Y()in this.U&&this.U[t.Y()].call(this,n,t);(t=this.v)&&t.a&&sct(this,this.sa,t);f(n,"change",this.th,this)};n.Ea=function(n){this.a&&!n&&(this.D.la().rb(this.a),this.a=null);dt.prototype.Ea.call(this,n)};n.setMap=function(n){this.D.setMap(n);dt.prototype.setMap.call(this,n)};n.wm=function(n){this.Gf(n.element)};n.th=function(n){this.o||(n=n.target,pfi(this,n),this.Gf(n))};n.xm=function(n){pfi(this,n.element)};n.Cm=function(n,t){var i=t.$(),i={feature:n,geometry:t,ta:[i,i]};this.i.Da(t.G(),i)};n.Am=function(n,t){for(var u=t.$(),r,i=0,f=u.length;i<f;++i)r=u[i],r={feature:n,geometry:t,depth:[i],index:i,ta:[r,r]},this.i.Da(t.G(),r)};n.uh=function(n,t){for(var u=t.$(),r,e,i=0,f=u.length-1;i<f;++i)r=u.slice(i,i+2),e={feature:n,geometry:t,index:i,ta:r},this.i.Da(se(r),e)};n.zm=function(n,t){for(var e=t.$(),u,i,o,f,h,r=0,s=e.length;r<s;++r)for(u=e[r],i=0,o=u.length-1;i<o;++i)f=u.slice(i,i+2),h={feature:n,geometry:t,depth:[r],index:i,ta:f},this.i.Da(se(f),h)};n.Dm=function(n,t){for(var e=t.$(),u,i,o,f,h,r=0,s=e.length;r<s;++r)for(u=e[r],i=0,o=u.length-1;i<o;++i)f=u.slice(i,i+2),h={feature:n,geometry:t,depth:[r],index:i,ta:f},this.i.Da(se(f),h)};n.Bm=function(n,t){for(var s=t.$(),f,i,h,r,c,e,o,a,u=0,l=s.length;u<l;++u)for(e=s[u],r=0,c=e.length;r<c;++r)for(f=e[r],i=0,h=f.length-1;i<h;++i)o=f.slice(i,i+2),a={feature:n,geometry:t,depth:[r,u],index:i,ta:o},this.i.Da(se(o),a)};n.ym=function(n,t){for(var r=t.f,i=0;i<r.length;++i)this.U[r[i].Y()].call(this,n,r[i])};n.pl=function(n,t){for(var o,e=n.ta,s=n.feature,r=n.geometry,u=n.depth,f=n.index,i;t.length<r.pa();)t.push(0);switch(r.Y()){case"MultiLineString":i=r.$();i[u[0]].splice(f+1,0,t);break;case"Polygon":i=r.$();i[u[0]].splice(f+1,0,t);break;case"MultiPolygon":i=r.$();i[u[1]][u[0]].splice(f+1,0,t);break;case"LineString":i=r.$();i.splice(f+1,0,t);break;default:return}this.o=!0;r.qa(i);this.o=!1;i=this.i;i.remove(n);kfi(this,r,f,u,1);o={ta:[e[0],t],feature:s,geometry:r,depth:u,index:f};i.Da(se(o.ta),o);this.j.push([o,1]);e={ta:[t,e[1]],feature:s,geometry:r,depth:u,index:f+1};i.Da(se(e.ta),e);this.j.push([e,0]);this.L=!0};n.ki=function(){var l,o,f,s,r,e,i,t,c,h,n,u;if(this.P&&"pointerdrag"!=this.P.type){for(l=this.P,oct(this,l),o=this.j,f={},t=o.length-1;0<=t;--t)i=o[t],n=i[0],u=tt(n.feature),n.depth&&(u+="-"+n.depth.join("-")),u in f||(f[u]={}),0===i[1]?(f[u].right=n,f[u].index=n.index):1==i[1]&&(f[u].left=n,f[u].index=n.index+1);for(u in f){h=f[u].right;t=f[u].left;i=f[u].index;c=i-1;n=void 0!==t?t:h;0>c&&(c=0);o=n.geometry;r=e=o.$();s=!1;switch(o.Y()){case"MultiLineString":2<e[n.depth[0]].length&&(e[n.depth[0]].splice(i,1),s=!0);break;case"LineString":2<e.length&&(e.splice(i,1),s=!0);break;case"MultiPolygon":r=r[n.depth[1]];case"Polygon":r=r[n.depth[0]];4<r.length&&(i==r.length-1&&(i=0),r.splice(i,1),s=!0,0===i&&(r.pop(),r.push(r[0]),c=r.length-1))}s&&(s=o,this.o=!0,s.qa(e),this.o=!1,e=[],void 0!==t&&(this.i.remove(t),e.push(t.ta[0])),void 0!==h&&(this.i.remove(h),e.push(h.ta[1])),void 0!==t&&void 0!==h&&(t={depth:n.depth,feature:n.feature,geometry:n.geometry,index:c,ta:e},this.i.Da(se(t.ta),t)),kfi(this,o,i,n.depth,-1),this.a&&(this.D.la().rb(this.a),this.a=null))}return this.b(new hs(hct,this.u,l)),this.C=!1,!0}return!1};i(hs,lr);dfi="modifystart";hct="modifyend";i(sr,pi);n=sr.prototype;n.Fm=function(){return this.i.la().c};n.Gm=function(){return this.j};n.Hm=function(n){return n=tt(n),this.a[n]};n.Jm=function(n){this.j=n};n.setMap=function(n){var t=this.v,i=this.i.la().c;t&&i.forEach(t.Ji,t);pi.prototype.setMap.call(this,n);this.i.setMap(n);n&&i.forEach(n.Di,n)};n.Em=function(n){var t=this.v;t&&t.Di(n.element)};n.Im=function(n){var t=this.v;t&&t.Ji(n.element)};i(cs,lr);nei="select";i(su,dt);n=su.prototype;n.gb=function(n,t){var e=void 0!==t?t:!0,r=tt(n),i=n.V(),u;i&&(u=this.fa[i.Y()],u&&(this.U[r]=i.G(lo()),u.call(this,n,i),e&&(this.D[r]=f(i,"change",this.Pk.bind(this,n),this))));e&&(this.C[r]=f(n,vf(n.a),this.Km,this))};n.Qj=function(n){this.gb(n)};n.Rj=function(n){this.rb(n)};n.vh=function(n){var t;n instanceof bo?t=n.feature:n instanceof go&&(t=n.element);this.gb(t)};n.wh=function(n){var t;n instanceof bo?t=n.feature:n instanceof go&&(t=n.element);this.rb(t)};n.Km=function(n){n=n.target;this.rb(n,!0);this.gb(n,!0)};n.Pk=function(n){if(this.A){var t=tt(n);t in this.u||(this.u[t]=n)}else this.Ki(n)};n.rb=function(n,t){var e=void 0!==t?t:!0,r=tt(n),i=this.U[r],f,u;if(i){for(f=this.a,u=[],ud(f,i,function(t){n===t.feature&&u.push(t)}),i=u.length-1;0<=i;--i)f.remove(u[i]);e&&(nk(this.D[r]),delete this.D[r])}e&&(nk(this.C[r]),delete this.C[r])};n.setMap=function(n){var r=this.v,t=this.na,i;this.j?i=this.j:this.o&&(i=this.o.we());r&&(t.forEach(nk),t.length=0,i.forEach(this.Rj,this));dt.prototype.setMap.call(this,n);n&&(this.j?t.push(f(this.j,ll,this.vh,this),f(this.j,al,this.wh,this)):this.o&&t.push(f(this.o,eit,this.vh,this),f(this.o,uct,this.wh,this)),i.forEach(this.Qj,this))};n.Qc=nh;n.Ki=function(n){this.rb(n,!1);this.gb(n,!1)};n.Lm=function(n,t){for(var r=t.f,i=0;i<r.length;++i)this.fa[r[i].Y()].call(this,n,r[i])};n.xh=function(n,t){for(var u=t.$(),r,e,i=0,f=u.length-1;i<f;++i)r=u.slice(i,i+2),e={feature:n,ta:r},this.a.Da(se(r),e)};n.Mm=function(n,t){for(var e=t.$(),u,i,o,f,h,r=0,s=e.length;r<s;++r)for(u=e[r],i=0,o=u.length-1;i<o;++i)f=u.slice(i,i+2),h={feature:n,ta:f},this.a.Da(se(f),h)};n.Nm=function(n,t){for(var u=t.$(),i,r=0,f=u.length;r<f;++r)i=u[r],i={feature:n,ta:[i,i]},this.a.Da(t.G(),i)};n.Om=function(n,t){for(var s=t.$(),f,i,h,r,c,e,o,a,u=0,l=s.length;u<l;++u)for(e=s[u],r=0,c=e.length;r<c;++r)for(f=e[r],i=0,h=f.length-1;i<h;++i)o=f.slice(i,i+2),a={feature:n,ta:o},this.a.Da(se(o),a)};n.Pm=function(n,t){var i=t.$(),i={feature:n,ta:[i,i]};this.a.Da(t.G(),i)};n.Qm=function(n,t){for(var e=t.$(),u,i,o,f,h,r=0,s=e.length;r<s;++r)for(u=e[r],i=0,o=u.length-1;i<o;++i)f=u.slice(i,i+2),h={feature:n,ta:f},this.a.Da(se(f),h)};i(uu,dt);uu.prototype.D=function(){return this.u};uu.prototype.L=function(n){this.u=n};i(ls,lr);var sdi="translatestart",hdi="translating",cdi="translateend";i(d,b);iei=["#00f","#0ff","#0f0","#ff0","#f00"];n=d.prototype;n.Ig=function(){return this.get(lct)};n.Pg=function(){return this.get(act)};n.zh=function(){return this.get(vct)};n.Qk=function(){for(var i=this.Pg(),n=ie(1,256),r=n.createLinearGradient(0,0,1,256),u=1/(i.length-1),t=0,f=i.length;t<f;++t)r.addColorStop(t*u,i[t]);n.fillStyle=r;n.fillRect(0,0,1,256);this.f=n.getImageData(0,0,1,256).data};n.xf=function(){var i=this.zh(),t=this.Ig(),r=i+t+1,n=2*r,n=ie(n,n);n.shadowOffsetX=n.shadowOffsetY=this.U;n.shadowBlur=t;n.shadowColor="#000";n.beginPath();t=r-this.U;n.arc(t,t,i,0,2*Math.PI,!0);n.fill();this.P=n.canvas.toDataURL();this.c=Array(256);this.s()};n.gl=function(n){n=n.context;for(var i=n.canvas,i=n.getImageData(0,0,i.width,i.height),r=i.data,u,t=0,f=r.length;t<f;t+=4)(u=4*r[t+3])&&(r[t]=this.f[u],r[t+1]=this.f[u+1],r[t+2]=this.f[u+2]);n.putImageData(i,0,0)};n.ni=function(n){this.set(lct,n)};n.ui=function(n){this.set(act,n)};n.Ah=function(n){this.set(vct,n)};var lct="blur",act="gradient",vct="radius";i(ua,we);ua.prototype.oa=function(){1==this.state&&(this.kd.forEach(au),this.kd=null);we.prototype.oa.call(this)};ua.prototype.ub=function(){return this.H};ua.prototype.Ld=function(){var i=[];if(this.g.forEach(function(n){n&&n.W()==yo&&i.push({extent:this.f.Na(n.Ca),image:n.ub()})},this),this.g.length=0,0===i.length)this.state=3;else{var t=this.o[0],n=this.l.Za(t),r="number"==typeof n?n:n[0],n="number"==typeof n?n:n[1],t=this.l.Ha(t),u=this.f.Ha(this.i),f=this.l.Na(this.o);this.H=pdt(r,n,this.A,u,this.f.G(),t,f,this.v,i,this.u,this.C);this.state=yo}this.s()};ua.prototype.load=function(){if(0==this.state){this.state=1;this.s();var n=0;this.kd=[];this.g.forEach(function(t){var r=t.W(),i;(0==r||1==r)&&(n++,i=f(t,"change",function(){var r=t.W();(r==yo||3==r||4==r)&&(au(i),n--,0===n&&(this.kd.forEach(au),this.kd=null,this.Ld()))},this),this.kd.push(i))},this);this.g.forEach(function(n){0==n.W()&&n.load()});0===n&&setTimeout(this.Ld.bind(this),0)}};i(hit,ett);hit.prototype.Wc=function(n){for(var t,i,r;cit(this);)if(t=this.a.Rc,i=t.Ca[0].toString(),(r=i in n)&&(t=t.Ca,r=tvt(n[i],t[1],t[2])),r)break;else fc(this.pop())};i(gi,ir);n=gi.prototype;n.Ih=function(){return cit(this.a)};n.Wc=function(n,t){var i=this.Cd(n);i&&i.Wc(t)};n.qf=function(){return 0};n.Lb=function(n,t,i){return n+"/"+t+"/"+i};n.tf=function(){return this.sa};n.Va=function(){return this.tileGrid};n.Db=function(n){return this.tileGrid?this.tileGrid:evt(n)};n.Cd=function(n){var t=this.f;return t&&!vh(t,n)?null:this.a};n.jb=function(){return this.xa};n.Dd=function(n,t,i){return i=this.Db(i),t=this.jb(t),n=th(i.Za(n),this.l),1==t?n:tut(n,t,this.l)};n.wa=function(){this.a.clear();this.s()};n.ig=ve;i(lh,lr);i(gt,gi);n=gt.prototype;n.ib=function(){return this.tileLoadFunction};n.kb=function(){return this.tileUrlFunction};n.lb=function(){return this.urls};n.Jh=function(n){n=n.target;switch(n.W()){case 1:this.b(new lh("tileloadstart",n));break;case yo:this.b(new lh("tileloadend",n));break;case 3:this.b(new lh("tileloaderror",n))}};n.sb=function(n){this.a.clear();this.tileLoadFunction=n;this.s()};n.Xa=function(n,t){this.tileUrlFunction=n;"undefined"!=typeof t?cp(this,t):this.s()};n.cb=function(n){var t=this.urls=rei(n);this.Xa(this.zc?this.zc.bind(this):sit(t,this.tileGrid),n)};n.Ya=function(n){this.urls=n;var t=n.join("\n");this.Xa(this.zc?this.zc.bind(this):sit(n,this.tileGrid),t)};n.ig=function(n,t,i){n=this.Lb(n,t,i);this.a.b.hasOwnProperty(n)&&this.a.get(n)};i(g,gt);n=g.prototype;n.Ih=function(){if(cit(this.a))return!0;for(var n in this.i)if(cit(this.i[n]))return!0;return!1};n.Wc=function(n,t){var r=this.Cd(n),u,i;this.a.Wc(this.a==r?t:{});for(u in this.i)i=this.i[u],i.Wc(i==r?t:{})};n.qf=function(n){return this.f&&n&&!vh(this.f,n)?0:this.rf()};n.rf=function(){return 0};n.tf=function(n){return this.f&&n&&!vh(this.f,n)?!1:gt.prototype.tf.call(this,n)};n.Db=function(n){var t=this.f;return!this.tileGrid||t&&!vh(t,n)?(t=tt(n).toString(),t in this.v||(this.v[t]=evt(n)),this.v[t]):this.tileGrid};n.Cd=function(n){var t=this.f;return!t||vh(t,n)?this.a:(n=tt(n).toString(),n in this.i||(this.i[n]=new hit),this.i[n])};n.Dc=function(n,t,i,r,u){var e,f;if(this.f&&u&&!vh(this.f,u)){if(e=this.Cd(u),i=[n,t,i],n=this.Lb.apply(this,i),e.b.hasOwnProperty(n)&&(f=e.get(n)),t=this.jc,f&&f.key==t)return f;var o=this.f,s=this.Db(o),h=this.Db(u),c=gb(this,i,u);return r=new ua(o,s,u,h,i,c,this.jb(r),this.rf(),function(n,t,i,r){return eei(this,n,t,i,r,o)}.bind(this),this.na,this.C),r.key=t,f?(r.a=f,e.replace(n,r)):e.set(n,r),r}return eei(this,n,t,i,r,u)};n.Hb=function(n){if(this.C!=n){this.C=n;for(var t in this.i)this.i[t].clear();this.s()}};n.Ib=function(n,t){var i=ai(n);i&&(i=tt(i).toString(),i in this.v||(this.v[i]=t))};i(lt,g);wct=new yh({html:'<a class="ol-attribution-bing-tos" href="http://www.microsoft.com/maps/product/terms.html">Terms of Use<\/a>'});lt.prototype.U=function(){return this.c};lt.prototype.Z=function(){return this.o};lt.prototype.fa=function(n){var i,t,r,u,f,e,o;200!=n.statusCode||"OK"!=n.statusDescription||"ValidCredentials"!=n.authenticationResultCode||1!=n.resourceSets.length||1!=n.resourceSets[0].resources.length?ac(this,"error"):(i=n.brandLogoUri,-1==i.indexOf("https")&&(i=i.replace("http","https")),t=n.resourceSets[0].resources[0],r=-1==this.u?t.zoomMax:this.u,n=cy(this.f),u=hk({extent:n,minZoom:t.zoomMin,maxZoom:r,tileSize:(t.imageWidth==t.imageHeight?t.imageWidth:[t.imageWidth,t.imageHeight])/this.jb()}),this.tileGrid=u,f=this.P,e=this.A,this.tileUrlFunction=yct(t.imageUrlSubdomains.map(function(n){var i=[0,0,0],r=t.imageUrl.replace("{subdomain}",n).replace("{culture}",f);return function(n){if(n)return rvt(n[0],n[1],-n[2]-1,i),n=r,e&&(n+="&dpi=d1&device=mobile"),n.replace("{quadkey}",nsi(i))}})),t.imageryProviders&&(o=ka(ai("EPSG:4326"),this.f),n=t.imageryProviders.map(function(n){var i=n.attribution,t={};return n.coverageAreas.forEach(function(n){var f=n.zoomMin,s=Math.min(n.zoomMax,r),i,e;for(n=n.bbox,n=rk([n[1],n[0],n[3],n[2]],o),i=f;i<=s;++i)e=i.toString(),f=hc(u,n,i),e in t?t[e].push(f):t[e]=[f]}),new yh({html:i,tileRanges:t})}),n.push(wct),this.ua(n)),this.L=i,ac(this,"ready"))};i(pt,g);i(at,pt);n=at.prototype;n.$j=function(){return this.c};n.wp=function(n){er(this.c,n);bct(this)};n.fp=function(n){this.c=n||{};bct(this)};n.Sk=function(n,t){var i=t.target,r;if(!i.status||200<=i.status&&300>i.status){try{r=JSON.parse(i.responseText)}catch(u){ac(this,"error");return}oei(this,r);this.o[n]=r;ac(this,"ready")}else ac(this,"error")};n.Rk=function(){ac(this,"error")};i(v,p);v.prototype.Ua=function(){return this.u};v.prototype.Ed=function(n,t,i){this.u.Ed(n,t,i);t!==this.C&&(this.clear(),this.C=t,sei(this),this.Tc(this.A))};v.prototype.Ob=function(n){this.fa=n;this.Ja()};v.prototype.Ja=function(){this.clear();sei(this);this.Tc(this.A);this.s()};i(wi,hi);n=wi.prototype;n.Xm=function(){return this.u};n.Xc=function(n,t,i,r){var u,e,s,o,h;if(void 0===this.i)return null;if(t=utt(this,t),u=this.c,u&&this.P==this.g&&u.resolution==t&&u.f==i&&ys(u.G(),n))return u;u={F:"image",FORMAT:"PNG32",TRANSPARENT:!0};er(u,this.u);n=n.slice();e=(n[0]+n[2])/2;s=(n[1]+n[3])/2;1!=this.C&&(o=this.C*af(n)/2,h=this.C*so(n)/2,n[0]=e-o,n[1]=s-h,n[2]=e+o,n[3]=s+h);var o=t/i,h=Math.ceil(af(n)/o),c=Math.ceil(so(n)/o);return n[0]=e-o*h/2,n[2]=e+o*h/2,n[1]=s-o*c/2,n[3]=s+o*c/2,this.v[0]=h,this.v[1]=c,e=n,s=this.v,r=r.hb.split(":").pop(),u.SIZE=s[0]+","+s[1],u.BBOX=e.join(","),u.BBOXSR=r,u.IMAGESR=r,u.DPI=90*i,r=this.i,e=r.replace(/MapServer\/?$/,"MapServer/export").replace(/ImageServer\/?$/,"ImageServer/exportImage"),e==r&&li(!1,50),u=lp(e,u),this.c=new kh(n,t,i,this.j,u,this.Z,this.l),this.P=this.g,f(this.c,"change",this.o,this),this.c};n.Wm=function(){return this.l};n.Ym=function(){return this.i};n.Zm=function(n){this.c=null;this.l=n;this.s()};n.$m=function(n){n!=this.i&&(this.i=n,this.c=null,this.s())};n.an=function(n){er(this.u,n);this.c=null;this.s()};i(tr,hi);n=tr.prototype;n.cn=function(){return this.l};n.Xc=function(n,t,i){var r,u;if(t=utt(this,t),i=this.fa?i:1,r=this.i,r&&this.C==this.g&&r.resolution==t&&r.f==i&&ys(r.G(),n))return r;if(1!=this.u&&(n=n.slice(),ug(n,this.u)),u=[af(n)/t*i,so(n)/t*i],void 0!==this.P){var r=this.P,e=ah(n),o=this.na,s=af(n),h=so(n),c=u[0],l=u[1],a=.0254/this.v,u={OPERATION:this.xa?"GETDYNAMICMAPOVERLAYIMAGE":"GETMAPIMAGE",VERSION:"2.0.0",LOCALE:"en",CLIENTAGENT:"ol.source.ImageMapGuide source",CLIP:"1",SETDISPLAYDPI:this.v,SETDISPLAYWIDTH:Math.round(u[0]),SETDISPLAYHEIGHT:Math.round(u[1]),SETVIEWSCALE:l*s>c*h?s*o/(c*a):h*o/(l*a),SETVIEWCENTERX:e[0],SETVIEWCENTERY:e[1]};er(u,this.l);r=lp(r,u);r=new kh(n,t,i,this.j,r,this.Z,this.c);f(r,"change",this.o,this)}else r=null;return this.i=r,this.C=this.g,r};n.bn=function(){return this.c};n.en=function(n){er(this.l,n);this.s()};n.dn=function(n){this.i=null;this.c=n;this.s()};i(wr,hi);wr.prototype.Xc=function(n){return pe(n,this.c.G())?this.c:null};wr.prototype.o=function(n){var r,u,i,t,f;this.c.W()==no&&(t=this.c.G(),r=this.c.a(),this.i?(u=this.i[0],i=this.i[1]):(u=r.width,i=r.height),t=Math.ceil(af(t)/(so(t)/i)),t!=u&&(t=ie(t,i),f=t.canvas,t.drawImage(r,0,0,u,i,0,0,f.width,f.height),this.c.g=f));hi.prototype.o.call(this,n)};i(yi,hi);kct=[101,101];n=yi.prototype;n.ln=function(n,t,i,r){if(void 0!==this.l){var f=trt(n,t,0,kct),u={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetFeatureInfo",FORMAT:"image/png",TRANSPARENT:!0,QUERY_LAYERS:this.i.LAYERS};return er(u,this.i,r),r=Math.floor((f[3]-n[1])/t),u[this.u?"I":"X"]=Math.floor((n[0]-f[0])/t),u[this.u?"J":"Y"]=r,hei(this,f,kct,1,ai(i),u)}};n.nn=function(){return this.i};n.Xc=function(n,t,i,r){var u,s;if(void 0===this.l)return null;t=utt(this,t);1==i||this.xa&&void 0!==this.fa||(i=1);n=n.slice();var e=(n[0]+n[2])/2,h=(n[1]+n[3])/2,o=t/i,c=af(n)/o,o=so(n)/o,u=this.c;return u&&this.Z==this.g&&u.resolution==t&&u.f==i&&ys(u.G(),n)?u:(1!=this.v&&(u=this.v*af(n)/2,s=this.v*so(n)/2,n[0]=e-u,n[1]=h-s,n[2]=e+u,n[3]=h+s),e={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0},er(e,this.i),this.P[0]=Math.ceil(c*this.v),this.P[1]=Math.ceil(o*this.v),r=hei(this,n,this.P,i,r,e),this.c=new kh(n,t,i,this.j,r,this.na,this.C),this.Z=this.g,f(this.c,"change",this.o,this),this.c)};n.mn=function(){return this.C};n.pn=function(){return this.l};n.qn=function(n){this.c=null;this.C=n;this.s()};n.rn=function(n){n!=this.l&&(this.l=n,this.c=null,this.s())};n.sn=function(n){er(this.i,n);cei(this);this.c=null;this.s()};i(ii,pt);lit=new yh({html:'&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap<\/a> contributors.'}),function(){var t={},n={ma:t};(function(i){if("object"==typeof t&&"undefined"!=typeof n)n.ma=i();else{var r;r="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this;r.Sp=i()}})(function(){return function n(t,i,r){function u(f,o){if(!i[f]){if(!t[f]){var s="function"==typeof require&&require;if(!o&&s)return s(f,!0);if(e)return e(f,!0);s=Error("Cannot find module '"+f+"'");throw s.code="MODULE_NOT_FOUND",s;}s=i[f]={ma:{}};t[f][0].call(s.ma,function(n){var i=t[f][1][n];return u(i?i:n)},s,s.ma,n,t,i,r)}return i[f].ma}for(var e="function"==typeof require&&require,f=0;f<r.length;f++)u(r[f]);return u}({1:[function(n,t,i){n=n("./processor");i.ij=n},{"./processor":2}],2:[function(n,t){function r(n){var t=!0;try{new ImageData(10,10)}catch(i){t=!1}return function(i){var r=i.buffers,v=i.meta,f=i.width,c=i.height,o=r.length,s=r[0].byteLength,u,e,h,l,a;if(i.imageOps){for(s=Array(o),i=0;i<o;++i)u=s,e=i,h=new Uint8ClampedArray(r[i]),l=f,a=c,h=t?new ImageData(h,l,a):{data:h,width:l,height:a},u[e]=h;f=n(s,v).data}else{for(f=new Uint8ClampedArray(s),c=Array(o),u=Array(o),i=0;i<o;++i)c[i]=new Uint8ClampedArray(r[i]),u[i]=[0,0,0,0];for(r=0;r<s;r+=4){for(i=0;i<o;++i)e=c[i],u[i][0]=e[r],u[i][1]=e[r+1],u[i][2]=e[r+2],u[i][3]=e[r+3];i=n(u,v);f[r]=i[0];f[r+1]=i[1];f[r+2]=i[2];f[r+3]=i[3]}}return f.buffer}}function u(n,t){var i=Object.keys(n.lib||{}).map(function(t){return"var "+t+" = "+n.lib[t].toString()+";"}).concat(["var __minion__ = ("+r.toString()+")(",n.operation.toString(),");",'self.addEventListener("message", function(event) {',"  var buffer = __minion__(event.data);","  self.postMessage({buffer: buffer, meta: event.data.meta}, [buffer]);","});"]),i=URL.createObjectURL(new Blob(i,{type:"text/javascript"})),i=new Worker(i);return i.addEventListener("message",t),i}function f(n,t){var i=r(n.operation);return{postMessage:function(n){setTimeout(function(){t({data:{buffer:i(n),meta:n.meta}})},0)}}}function i(n){var r,i,t;if(this.Ze=!!n.nl,r=0===n.threads?0:this.Ze?1:n.threads||1,i=[],r)for(t=0;t<r;++t)i[t]=u(n,this.sg.bind(this,t));else i[0]=f(n,this.sg.bind(this,0));this.Wd=i;this.qd=[];this.wj=n.yo||Infinity;this.Ud=0;this.Sc={};this.$e=null}var e=n("./util").Hl;i.prototype.wo=function(n,t,i){this.uj({Fc:n,hh:t,Vc:i});this.pg()};i.prototype.uj=function(n){for(this.qd.push(n);this.qd.length>this.wj;)this.qd.shift().Vc(null,null)};i.prototype.pg=function(){var u,t;if(0===this.Ud&&0<this.qd.length){var n=this.$e=this.qd.shift(),e=n.Fc[0].width,o=n.Fc[0].height,i=n.Fc.map(function(n){return n.data.buffer}),r=this.Wd.length;if(this.Ud=r,1===r)this.Wd[0].postMessage({buffers:i,meta:n.hh,imageOps:this.Ze,width:e,height:o},i);else for(u=4*Math.ceil(n.Fc[0].data.length/4/r),t=0;t<r;++t){for(var s=t*u,f=[],h=0,c=i.length;h<c;++h)f.push(i[t].slice(s,s+u));this.Wd[t].postMessage({buffers:f,meta:n.hh,imageOps:this.Ze,width:e,height:o},f)}}};i.prototype.sg=function(n,t){this.Qp||(this.Sc[n]=t.data,--this.Ud,0===this.Ud&&this.xj())};i.prototype.xj=function(){var i=this.$e,f=this.Wd.length,r,u,n,t,o;if(1===f)r=new Uint8ClampedArray(this.Sc[0].buffer),u=this.Sc[0].meta;else for(n=i.Fc[0].data.length,r=new Uint8ClampedArray(n),u=Array(n),n=4*Math.ceil(n/4/f),t=0;t<f;++t)o=t*n,r.set(new Uint8ClampedArray(this.Sc[t].buffer),o),u[t]=this.Sc[t].meta;this.$e=null;this.Sc={};i.Vc(null,e(r,i.Fc[0].width,i.Fc[0].height),u);this.pg()};t.ma=i},{"./util":3}],3:[function(n,t,i){var r=!0,u;try{new ImageData(10,10)}catch(f){r=!1}u=document.createElement("canvas").getContext("2d");i.Hl=function(n,t,i){return r?new ImageData(n,t,i):(t=u.createImageData(t,i),t.data.set(n),t)}},{}]},{},[1])(1)});lkt=n.ma}();i(fr,hi);fr.prototype.u=function(n,t){this.C=new lkt.ij({operation:n,nl:this.xa===ddi,yo:1,lib:t,threads:this.Ja});this.s()};fr.prototype.U=function(n,t,i,r){var u,f,e;for(i=!0,f=0,e=this.c.length;f<e;++f)if(u=this.c[f].a.la(),"ready"!==u.W()){i=!1;break}if(!i)return null;if(n=n.slice(),!lei(this,n,t))return this.l;i=this.i.canvas;u=Math.round(af(n)/t);f=Math.round(so(n)/t);(u!==i.width||f!==i.height)&&(i.width=u,i.height=f);u=er({},this.Z);u.viewState=er({},u.viewState);var f=ah(n),e=Math.round(af(n)/t),o=Math.round(so(n)/t);return u.extent=n,u.focus=ah(n),u.size[0]=e,u.size[1]=o,e=u.viewState,e.center=f,e.projection=r,e.resolution=t,this.l=r=new ub(n,t,1,this.j,i,this.P.bind(this,u)),this.v={extent:n,resolution:t,bp:this.g},r};fr.prototype.P=function(n,t){for(var i,o,h,r,u,c,f=this.c.length,s=Array(f),e=0;e<f;++e)if(i=this.c[e],o=n,h=n.layerStatesArray[e],i.o(o,h)?(r=o.size[0],u=o.size[1],ny?(c=ny.canvas,c.width!==r||c.height!==u?ny=ie(r,u):ny.clearRect(0,0,r,u)):ny=ie(r,u),i.D(o,h,ny),i=ny.getImageData(0,0,r,u)):i=null,i)s[e]=i;else{s=null;break}s&&(f={},this.b(new rs(wdi,n,f)),this.C.wo(s,f,this.na.bind(this,n,t)));yyt(n.tileQueue,16,16)};fr.prototype.na=function(n,t,i,r,u){i?t(i):r&&(this.b(new rs(bdi,n,u)),lei(this,n.extent,n.viewState.resolution/n.pixelRatio)||this.i.putImageData(r,0,0),t(null))};ny=null;i(rs,lr);var wdi="beforeoperations",bdi="afteroperations",kdi="pixel",ddi="image";i(ri,pt);var gdi=[new yh({html:'Map tiles by <a href="http://stamen.com/">Stamen Design<\/a>, under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0<\/a>.'}),lit],ngi={terrain:{Bb:"jpg",opaque:!0},"terrain-background":{Bb:"jpg",opaque:!0},"terrain-labels":{Bb:"png",opaque:!1},"terrain-lines":{Bb:"png",opaque:!1},"toner-background":{Bb:"png",opaque:!0},toner:{Bb:"png",opaque:!0},"toner-hybrid":{Bb:"png",opaque:!1},"toner-labels":{Bb:"png",opaque:!1},"toner-lines":{Bb:"png",opaque:!1},"toner-lite":{Bb:"png",opaque:!0},watercolor:{Bb:"jpg",opaque:!0}},tgi={terrain:{minZoom:4,maxZoom:18},toner:{minZoom:0,maxZoom:20},watercolor:{minZoom:1,maxZoom:16}};return i(ct,g),ct.prototype.u=function(){return this.c},ct.prototype.jb=function(n){return n},ct.prototype.zc=function(n,t,i){var r=this.tileGrid,e,f,u;return r||(r=this.Db(i)),(r.b.length<=n[0])?void 0:(e=r.Na(n,this.o),f=th(r.Za(n[0]),this.l),1!=t&&(f=tut(f,t,this.l)),r={F:"image",FORMAT:"PNG32",TRANSPARENT:!0},er(r,this.c),u=this.urls,u?(i=i.hb.split(":").pop(),r.SIZE=f[0]+","+f[1],r.BBOX=e.join(","),r.BBOXSR=i,r.IMAGESR=i,r.DPI=Math.round(r.DPI?r.DPI*t:90*t),n=(1==u.length?u[0]:u[el((n[1]<<n[0])+n[2],u.length)]).replace(/MapServer\/?$/,"MapServer/export").replace(/ImageServer\/?$/,"ImageServer/exportImage"),n=lp(n,r)):n=void 0,n)},ct.prototype.A=function(n){er(this.c,n);cp(this,aei(this))},i(yr,gi),yr.prototype.Dc=function(n,t,i){var u=this.Lb(n,t,i),r;return this.a.b.hasOwnProperty(u)?this.a.get(u):(r=th(this.tileGrid.Za(n)),n=[n,t,i],t=(t=gb(this,n))?gb(this,t).toString():"",r=new dct(n,r,t),this.a.set(u,r),r)},i(dct,we),dct.prototype.ub=function(){if(this.g)return this.g;var t=this.i,n=ie(t[0],t[1]);return n.strokeStyle="black",n.strokeRect(.5,.5,t[0]+.5,t[1]+.5),n.fillStyle="black",n.textAlign="center",n.textBaseline="middle",n.font="24px sans-serif",n.fillText(this.f,t[0]/2,t[1]/2),this.g=n.canvas},i(kt,g),n=kt.prototype,n.vn=function(n){if(n=n.target,!n.status||200<=n.status&&300>n.status){var t;try{t=JSON.parse(n.responseText)}catch(i){this.ue();return}this.Gh(t)}else this.ue()},n.tn=function(){this.ue()},n.Fk=function(){return this.c},n.Gh=function(n){var f=ai("EPSG:4326"),u=this.f,t,r,i,e;if(void 0!==n.bounds&&(i=ka(f,u),t=rk(n.bounds,i)),r=n.minzoom||0,i=n.maxzoom||22,this.tileGrid=u=hk({extent:cy(u),maxZoom:i,minZoom:r}),this.tileUrlFunction=sit(n.tiles,u),void 0!==n.attribution&&!this.j){for(f=void 0!==t?t:f.G(),t={};r<=i;++r)e=r.toString(),t[e]=[hc(u,f,r)];this.ua([new yh({html:n.attribution,tileRanges:t})])}this.c=n;ac(this,"ready")},n.ue=function(){ac(this,"error")},i(rr,gi),n=rr.prototype,n.zn=function(n){if(n=n.target,!n.status||200<=n.status&&300>n.status){var t;try{t=JSON.parse(n.responseText)}catch(i){this.ve();return}this.Kf(t)}else this.ve()},n.yn=function(){this.ve()},n.Ck=function(){return this.i},n.Pj=function(n,t,i,r,u){this.tileGrid?(t=this.tileGrid.fe(n,t),igi(this.Dc(t[0],t[1],t[2],1,this.f),n,i,r,u)):!0===u?setTimeout(function(){i.call(r,null)},0):i.call(r,null)},n.ve=function(){ac(this,"error")},n.Kf=function(n){var e=ai("EPSG:4326"),u=this.f,t,r,i,f;if(void 0!==n.bounds&&(i=ka(e,u),t=rk(n.bounds,i)),r=n.minzoom||0,i=n.maxzoom||22,this.tileGrid=u=hk({extent:cy(u),maxZoom:i,minZoom:r}),this.i=n.template,f=n.grids,f){if(this.o=sit(f,u),void 0!==n.attribution){for(e=void 0!==t?t:e.G(),t={};r<=i;++r)f=r.toString(),t[f]=[hc(u,e,r)];this.ua([new yh({html:n.attribution,tileRanges:t})])}ac(this,"ready")}else ac(this,"error")},n.Dc=function(n,t,i,r,u){var f=this.Lb(n,t,i);return this.a.b.hasOwnProperty(f)?this.a.get(f):(n=[n,t,i],t=gb(this,n,u),r=this.o(t,r,u),r=new gct(n,void 0!==r?0:4,void 0!==r?r:"",this.tileGrid.Na(n),this.v,this.c),this.a.set(f,r),r)},n.ig=function(n,t,i){n=this.Lb(n,t,i);this.a.b.hasOwnProperty(n)&&this.a.get(n)},i(gct,we),n=gct.prototype,n.ub=function(){return null},n.getData=function(n){if(!this.i||!this.l)return null;var t=this.i[Math.floor((1-(n[1]-this.g[1])/(this.g[3]-this.g[1]))*this.i.length)];return"string"!=typeof t?null:(t=t.charCodeAt(Math.floor((n[0]-this.g[0])/(this.g[2]-this.g[0])*t.length)),93<=t&&t--,35<=t&&t--,t-=32,n=null,t in this.l&&(t=this.l[t],n=this.f&&t in this.f?this.f[t]:t),n)},n.bb=function(){return this.o},n.ge=function(){this.state=3;this.s()},n.Hh=function(n){this.i=n.grid;this.l=n.keys;this.f=n.data;this.state=4;this.s()},n.xn=function(n){if(n=n.target,!n.status||200<=n.status&&300>n.status){var t;try{t=JSON.parse(n.responseText)}catch(i){this.ge();return}this.Hh(t)}else this.ge()},n.wn=function(){this.ge()},n.load=function(){this.H&&vei(this)},i(vt,g),n=vt.prototype,n.An=function(n,t,i,r){var u;if(i=ai(i),u=this.tileGrid,u||(u=this.Db(i)),t=u.fe(n,t),!(u.b.length<=t[0])){var o=u.Ha(t[0]),e=u.Na(t,this.Z),u=th(u.Za(t[0]),this.l),f=this.u;return 0!==f&&(u=ivt(u,f,this.l),e=ec(e,o*f,e)),f={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetFeatureInfo",FORMAT:"image/png",TRANSPARENT:!0,QUERY_LAYERS:this.c.LAYERS},er(f,this.c,r),r=Math.floor((e[3]-n[1])/o),f[this.o?"I":"X"]=Math.floor((n[0]-e[0])/o),f[this.o?"J":"Y"]=r,yei(this,t,u,e,1,i,f)}},n.rf=function(){return this.u},n.Lb=function(n,t,i){return this.P+g.prototype.Lb.call(this,n,t,i)},n.Bn=function(){return this.c},n.jb=function(n){return this.U&&void 0!==this.A?n:1},n.zc=function(n,t,i){var r=this.tileGrid;if(r||(r=this.Db(i)),!(r.b.length<=n[0])){1==t||this.U&&void 0!==this.A||(t=1);var u=r.Ha(n[0]),f=r.Na(n,this.Z),r=th(r.Za(n[0]),this.l),e=this.u;return 0!==e&&(r=ivt(r,e,this.l),f=ec(f,u*e,f)),1!=t&&(r=tut(r,t,this.l)),u={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0},er(u,this.c),yei(this,n,r,f,t,i,u)}},n.Ya=function(n){g.prototype.Ya.call(this,n);nlt(this)},n.Cn=function(n){er(this.c,n);nlt(this);wei(this);cp(this,pei(this))},i(rc,we),n=rc.prototype,n.ub=function(){return-1==this.g.cg?null:this.f.canvas},n.Yl=function(){return this.l},n.bb=function(){return this.o},n.load=function(){0==this.state&&(this.state=1,this.s(),this.H(this,this.o),this.v(null,NaN,null))},n.ho=function(n,t){this.Ff(t);this.ri(n)},n.fo=function(){this.state=3;this.s()},n.ri=function(n){this.i=n;this.state=yo;this.s()},n.Ff=function(n){this.j=n},n.wi=function(n){this.v=n},i(ei,gt),ei.prototype.Dc=function(n,t,i,r,u){var e=this.Lb(n,t,i);return this.a.b.hasOwnProperty(e)?this.a.get(e):(n=[n,t,i],r=(t=gb(this,n,u))?this.tileUrlFunction(t,r,u):void 0,r=new this.tileClass(n,void 0!==r?0:4,void 0!==r?r:"",this.c,this.tileLoadFunction),f(r,"change",this.Jh,this),this.a.set(e,r),r)},ei.prototype.jb=function(n){return void 0==n?gt.prototype.jb.call(this,n):n},ei.prototype.Dd=function(n,t){var i=th(this.tileGrid.Za(n));return[Math.round(i[0]*t),Math.round(i[1]*t)]},i(wf,pf),wf.prototype.o=function(){return this.l},i(nt,g),n=nt.prototype,n.bk=function(){return this.c},n.Dn=function(){return this.u},n.En=function(){return this.A},n.pk=function(){return this.o},n.Ak=function(){return this.U},n.Fn=function(){return this.P},n.Hk=function(){return this.Z},n.xp=function(n){er(this.c,n);cp(this,kei(this))},ap="KVP",i(ui,g),i(tlt,wc),tlt.prototype.ub=function(){var n,t;return this.f?this.f:(n=wc.prototype.ub.call(this),this.state==yo)?256==n.width&&256==n.height?this.f=n:(t=ie(256,256),t.drawImage(n,0,0),this.f=t.canvas):n},ilt="default",dei="truncated",bd.prototype.get=function(n){return this.f[n]||null},bd.prototype.add=function(n,t,i,r,u){for(var f,e=0,o=this.a.length;e<o;++e)if(f=this.a[e],f.width>=t+this.b&&f.height>=i+this.b)return o={offsetX:f.x+this.b,offsetY:f.y+this.b,image:this.c},this.f[n]=o,r.call(u,this.g,f.x+this.b,f.y+this.b),n=e,t+=this.b,r=i+this.b,f.width-t>f.height-r?(i={x:f.x+t,y:f.y,width:f.width-t,height:f.height},t={x:f.x,y:f.y+r,width:t,height:f.height-r},gei(this,n,i,t)):(i={x:f.x+t,y:f.y,width:f.width-t,height:r},t={x:f.x,y:f.y+r,width:f.width,height:f.height-r},gei(this,n,i,t)),o;return null},noi.prototype.add=function(n,t,i,r,u,f){return t+this.b>this.g||i+this.b>this.g?null:(r=toi(this,!1,n,t,i,r,f),!r)?null:(n=toi(this,!0,n,t,i,void 0!==u?u:ve,f),{offsetX:r.offsetX,offsetY:r.offsetY,image:r.image,yf:n.image})},t("ol.animation.bounce",function(n){var r=n.resolution,t=n.start?n.start:Date.now(),i=void 0!==n.duration?n.duration:1e3,u=n.easing?n.easing:tat;return function(n,f){if(f.time<t)return f.animate=!0,f.viewHints[ne]+=1,!0;if(f.time<t+i){var e=u((f.time-t)/i),o=r-f.viewState.resolution;return f.animate=!0,f.viewState.resolution+=e*o,f.viewHints[ne]+=1,!0}return!1}}),t("ol.animation.pan",function(n){var i=n.source,t=n.start?n.start:Date.now(),u=i[0],f=i[1],r=void 0!==n.duration?n.duration:1e3,e=n.easing?n.easing:uy;return function(n,i){if(i.time<t)return i.animate=!0,i.viewHints[ne]+=1,!0;if(i.time<t+r){var o=1-e((i.time-t)/r),s=u-i.viewState.center[0],h=f-i.viewState.center[1];return i.animate=!0,i.viewState.center[0]+=o*s,i.viewState.center[1]+=o*h,i.viewHints[ne]+=1,!0}return!1}}),t("ol.animation.rotate",function(n){var u=n.rotation?n.rotation:0,i=n.start?n.start:Date.now(),r=void 0!==n.duration?n.duration:1e3,f=n.easing?n.easing:uy,t=n.anchor?n.anchor:null;return function(n,e){var o,s;return e.time<i?(e.animate=!0,e.viewHints[ne]+=1,!0):e.time<i+r?(o=1-f((e.time-i)/r),o=(u-e.viewState.rotation)*o,e.animate=!0,e.viewState.rotation+=o,t&&(s=e.viewState.center,s[0]-=t[0],s[1]-=t[1],bp(s,o),pp(s,t)),e.viewHints[ne]+=1,!0):!1}}),t("ol.animation.zoom",function(n){var r=n.resolution,t=n.start?n.start:Date.now(),i=void 0!==n.duration?n.duration:1e3,u=n.easing?n.easing:uy;return function(n,f){if(f.time<t)return f.animate=!0,f.viewHints[ne]+=1,!0;if(f.time<t+i){var e=1-u((f.time-t)/i),o=r-f.viewState.resolution;return f.animate=!0,f.viewState.resolution+=e*o,f.viewHints[ne]+=1,!0}return!1}}),kd.prototype.code=kd.prototype.code,t("ol.Attribution",yh),yh.prototype.getHTML=yh.prototype.g,t("ol.Collection",ft),ft.prototype.clear=ft.prototype.clear,ft.prototype.extend=ft.prototype.Bf,ft.prototype.forEach=ft.prototype.forEach,ft.prototype.getArray=ft.prototype.Il,ft.prototype.item=ft.prototype.item,ft.prototype.getLength=ft.prototype.Ub,ft.prototype.insertAt=ft.prototype.ke,ft.prototype.pop=ft.prototype.pop,ft.prototype.push=ft.prototype.push,ft.prototype.remove=ft.prototype.remove,ft.prototype.removeAt=ft.prototype.Zf,ft.prototype.setAt=ft.prototype.ep,go.prototype.element=go.prototype.element,t("ol.color.asArray",ly),t("ol.color.asString",iv),t("ol.colorlike.asColorLike",cc),t("ol.coordinate.add",pp),t("ol.coordinate.createStringXY",function(n){return function(t){return dlt(t,n)}}),t("ol.coordinate.format",klt),t("ol.coordinate.rotate",bp),t("ol.coordinate.toStringHDMS",function(n,t){return n?blt(n[1],"NS",t)+" "+blt(n[0],"EW",t):""}),t("ol.coordinate.toStringXY",dlt),t("ol.DeviceOrientation",kr),kr.prototype.getAlpha=kr.prototype.Vj,kr.prototype.getBeta=kr.prototype.Yj,kr.prototype.getGamma=kr.prototype.ek,kr.prototype.getHeading=kr.prototype.Jl,kr.prototype.getTracking=kr.prototype.kh,kr.prototype.setTracking=kr.prototype.Cf,t("ol.easing.easeIn",glt),t("ol.easing.easeOut",dc),t("ol.easing.inAndOut",uy),t("ol.easing.linear",nat),t("ol.easing.upAndDown",tat),t("ol.Feature",ut),ut.prototype.clone=ut.prototype.clone,ut.prototype.getGeometry=ut.prototype.V,ut.prototype.getId=ut.prototype.Ll,ut.prototype.getGeometryName=ut.prototype.gk,ut.prototype.getStyle=ut.prototype.Ml,ut.prototype.getStyleFunction=ut.prototype.Gc,ut.prototype.setGeometry=ut.prototype.Pa,ut.prototype.setStyle=ut.prototype.Df,ut.prototype.setId=ut.prototype.cc,ut.prototype.setGeometryName=ut.prototype.Nc,t("ol.featureloader.xhr",snt),t("ol.Geolocation",vi),vi.prototype.getAccuracy=vi.prototype.Tj,vi.prototype.getAccuracyGeometry=vi.prototype.Uj,vi.prototype.getAltitude=vi.prototype.Wj,vi.prototype.getAltitudeAccuracy=vi.prototype.Xj,vi.prototype.getHeading=vi.prototype.Ol,vi.prototype.getPosition=vi.prototype.Pl,vi.prototype.getProjection=vi.prototype.lh,vi.prototype.getSpeed=vi.prototype.Bk,vi.prototype.getTracking=vi.prototype.mh,vi.prototype.getTrackingOptions=vi.prototype.Wg,vi.prototype.setProjection=vi.prototype.nh,vi.prototype.setTracking=vi.prototype.ne,vi.prototype.setTrackingOptions=vi.prototype.Ci,t("ol.Graticule",ra),ra.prototype.getMap=ra.prototype.Sl,ra.prototype.getMeridians=ra.prototype.qk,ra.prototype.getParallels=ra.prototype.xk,ra.prototype.setMap=ra.prototype.setMap,t("ol.has.DEVICE_PIXEL_RATIO",vg),t("ol.has.CANVAS",tyt),t("ol.has.DEVICE_ORIENTATION",iyt),t("ol.has.GEOLOCATION",ryt),t("ol.has.TOUCH",aut),t("ol.has.WEBGL",lut),kh.prototype.getImage=kh.prototype.a,kh.prototype.load=kh.prototype.load,wc.prototype.getImage=wc.prototype.ub,wc.prototype.load=wc.prototype.load,t("ol.inherits",i),t("ol.Kinetic",pyt),t("ol.loadingstrategy.all",dui),t("ol.loadingstrategy.bbox",function(n){return[n]}),t("ol.loadingstrategy.tile",function(n){return function(t,i){var r=n.Ec(i),u=hc(n,t,r),f=[],r=[r,0,0];for(r[1]=u.ea;r[1]<=u.ca;++r[1])for(r[2]=u.ga;r[2]<=u.ja;++r[2])f.push(n.Na(r));return f}}),t("ol.Map",s),s.prototype.addControl=s.prototype.Bj,s.prototype.addInteraction=s.prototype.Cj,s.prototype.addLayer=s.prototype.ug,s.prototype.addOverlay=s.prototype.vg,s.prototype.beforeRender=s.prototype.Ij,s.prototype.forEachFeatureAtPixel=s.prototype.ae,s.prototype.forEachLayerAtPixel=s.prototype.Wl,s.prototype.hasFeatureAtPixel=s.prototype.ml,s.prototype.getEventCoordinate=s.prototype.ck,s.prototype.getEventPixel=s.prototype.ce,s.prototype.getTarget=s.prototype.vf,s.prototype.getTargetElement=s.prototype.Cc,s.prototype.getCoordinateFromPixel=s.prototype.Sa,s.prototype.getControls=s.prototype.ak,s.prototype.getOverlays=s.prototype.vk,s.prototype.getOverlayById=s.prototype.uk,s.prototype.getInteractions=s.prototype.hk,s.prototype.getLayerGroup=s.prototype.Bc,s.prototype.getLayers=s.prototype.oh,s.prototype.getPixelFromCoordinate=s.prototype.Ga,s.prototype.getSize=s.prototype.nb,s.prototype.getView=s.prototype.aa,s.prototype.getViewport=s.prototype.Ik,s.prototype.renderSync=s.prototype.$o,s.prototype.render=s.prototype.render,s.prototype.removeControl=s.prototype.To,s.prototype.removeInteraction=s.prototype.Uo,s.prototype.removeLayer=s.prototype.Wo,s.prototype.removeOverlay=s.prototype.Xo,s.prototype.setLayerGroup=s.prototype.vi,s.prototype.setSize=s.prototype.eg,s.prototype.setTarget=s.prototype.ph,s.prototype.setView=s.prototype.mp,s.prototype.updateSize=s.prototype.ld,kf.prototype.originalEvent=kf.prototype.originalEvent,kf.prototype.pixel=kf.prototype.pixel,kf.prototype.coordinate=kf.prototype.coordinate,kf.prototype.dragging=kf.prototype.dragging,ho.prototype.map=ho.prototype.map,ho.prototype.frameState=ho.prototype.frameState,t("ol.Object",oi),oi.prototype.get=oi.prototype.get,oi.prototype.getKeys=oi.prototype.S,oi.prototype.getProperties=oi.prototype.R,oi.prototype.set=oi.prototype.set,oi.prototype.setProperties=oi.prototype.I,oi.prototype.unset=oi.prototype.T,vs.prototype.key=vs.prototype.key,vs.prototype.oldValue=vs.prototype.oldValue,t("ol.Observable",ye),t("ol.Observable.unByKey",nk),ye.prototype.changed=ye.prototype.s,ye.prototype.dispatchEvent=ye.prototype.b,ye.prototype.getRevision=ye.prototype.M,ye.prototype.on=ye.prototype.J,ye.prototype.once=ye.prototype.N,ye.prototype.un=ye.prototype.K,ye.prototype.unByKey=ye.prototype.O,t("ol.Overlay",ki),ki.prototype.getElement=ki.prototype.be,ki.prototype.getId=ki.prototype.Xl,ki.prototype.getMap=ki.prototype.oe,ki.prototype.getOffset=ki.prototype.Tg,ki.prototype.getPosition=ki.prototype.qh,ki.prototype.getPositioning=ki.prototype.Ug,ki.prototype.setElement=ki.prototype.pi,ki.prototype.setMap=ki.prototype.setMap,ki.prototype.setOffset=ki.prototype.xi,ki.prototype.setPosition=ki.prototype.Ef,ki.prototype.setPositioning=ki.prototype.Ai,t("ol.render.toContext",function(n,t){var r=n.canvas,i=t?t:{},u=i.pixelRatio||vg;return(i=i.size)&&(r.width=i[0]*u,r.height=i[1]*u,r.style.width=i[0]+"px",r.style.height=i[1]+"px"),r=[0,0,r.width,r.height],i=bh(re(),u,u),new dh(n,u,r,i,0)}),t("ol.size.toSize",th),we.prototype.getTileCoord=we.prototype.c,we.prototype.load=we.prototype.load,rc.prototype.getFormat=rc.prototype.Yl,rc.prototype.setFeatures=rc.prototype.ri,rc.prototype.setProjection=rc.prototype.Ff,rc.prototype.setLoader=rc.prototype.wi,t("ol.View",ot),ot.prototype.animate=ot.prototype.animate,ot.prototype.constrainCenter=ot.prototype.Zd,ot.prototype.constrainResolution=ot.prototype.constrainResolution,ot.prototype.constrainRotation=ot.prototype.constrainRotation,ot.prototype.getCenter=ot.prototype.fb,ot.prototype.calculateExtent=ot.prototype.Uc,ot.prototype.getMaxResolution=ot.prototype.Zl,ot.prototype.getMinResolution=ot.prototype.$l,ot.prototype.getProjection=ot.prototype.am,ot.prototype.getResolution=ot.prototype.Oa,ot.prototype.getResolutions=ot.prototype.bm,ot.prototype.getRotation=ot.prototype.Ra,ot.prototype.getZoom=ot.prototype.Kk,ot.prototype.fit=ot.prototype.lf,ot.prototype.centerOn=ot.prototype.Kj,ot.prototype.rotate=ot.prototype.rotate,ot.prototype.setCenter=ot.prototype.Mb,ot.prototype.setResolution=ot.prototype.Oc,ot.prototype.setRotation=ot.prototype.pe,ot.prototype.setZoom=ot.prototype.pp,t("ol.xml.getAllTextContent",ps),t("ol.xml.parse",vc),dy.prototype.getGL=dy.prototype.bo,dy.prototype.useProgram=dy.prototype.Lc,t("ol.tilegrid.createXYZ",hk),t("ol.tilegrid.TileGrid",pf),pf.prototype.forEachTileCoord=pf.prototype.Hg,pf.prototype.getMaxZoom=pf.prototype.Rg,pf.prototype.getMinZoom=pf.prototype.Sg,pf.prototype.getOrigin=pf.prototype.Kc,pf.prototype.getResolution=pf.prototype.Ha,pf.prototype.getResolutions=pf.prototype.Wh,pf.prototype.getTileCoordExtent=pf.prototype.Na,pf.prototype.getTileCoordForCoordAndResolution=pf.prototype.fe,pf.prototype.getTileCoordForCoordAndZ=pf.prototype.wf,pf.prototype.getTileSize=pf.prototype.Za,pf.prototype.getZForResolution=pf.prototype.Ec,t("ol.tilegrid.WMTS",wf),wf.prototype.getMatrixIds=wf.prototype.o,t("ol.tilegrid.WMTS.createFromCapabilitiesMatrixSet",bei),t("ol.style.AtlasManager",noi),t("ol.style.Circle",fu),fu.prototype.clone=fu.prototype.clone,fu.prototype.setRadius=fu.prototype.Qa,t("ol.style.Fill",po),po.prototype.clone=po.prototype.clone,po.prototype.getColor=po.prototype.g,po.prototype.setColor=po.prototype.f,t("ol.style.Icon",ru),ru.prototype.clone=ru.prototype.clone,ru.prototype.getAnchor=ru.prototype.Ac,ru.prototype.getColor=ru.prototype.Gn,ru.prototype.getImage=ru.prototype.Ic,ru.prototype.getOrigin=ru.prototype.Jc,ru.prototype.getSrc=ru.prototype.Hn,ru.prototype.getSize=ru.prototype.ac,ru.prototype.load=ru.prototype.load,t("ol.style.Image",he),he.prototype.getOpacity=he.prototype.ye,he.prototype.getRotateWithView=he.prototype.ze,he.prototype.getRotation=he.prototype.Ae,he.prototype.getScale=he.prototype.Be,he.prototype.getSnapToPixel=he.prototype.ee,he.prototype.setOpacity=he.prototype.dd,he.prototype.setRotation=he.prototype.Ce,he.prototype.setScale=he.prototype.ed,t("ol.style.RegularShape",cr),cr.prototype.clone=cr.prototype.clone,cr.prototype.getAnchor=cr.prototype.Ac,cr.prototype.getAngle=cr.prototype.Nh,cr.prototype.getFill=cr.prototype.Oh,cr.prototype.getImage=cr.prototype.Ic,cr.prototype.getOrigin=cr.prototype.Jc,cr.prototype.getPoints=cr.prototype.Ph,cr.prototype.getRadius=cr.prototype.Qh,cr.prototype.getRadius2=cr.prototype.Vg,cr.prototype.getSize=cr.prototype.ac,cr.prototype.getStroke=cr.prototype.Rh,t("ol.style.Stroke",lu),lu.prototype.clone=lu.prototype.clone,lu.prototype.getColor=lu.prototype.In,lu.prototype.getLineCap=lu.prototype.kk,lu.prototype.getLineDash=lu.prototype.Jn,lu.prototype.getLineJoin=lu.prototype.lk,lu.prototype.getMiterLimit=lu.prototype.rk,lu.prototype.getWidth=lu.prototype.Kn,lu.prototype.setColor=lu.prototype.Ln,lu.prototype.setLineCap=lu.prototype.ip,lu.prototype.setLineDash=lu.prototype.setLineDash,lu.prototype.setLineJoin=lu.prototype.jp,lu.prototype.setMiterLimit=lu.prototype.kp,lu.prototype.setWidth=lu.prototype.np,t("ol.style.Style",pr),pr.prototype.clone=pr.prototype.clone,pr.prototype.getGeometry=pr.prototype.V,pr.prototype.getGeometryFunction=pr.prototype.fk,pr.prototype.getFill=pr.prototype.Mn,pr.prototype.setFill=pr.prototype.Qn,pr.prototype.getImage=pr.prototype.Nn,pr.prototype.setImage=pr.prototype.Rn,pr.prototype.getStroke=pr.prototype.On,pr.prototype.setStroke=pr.prototype.Sn,pr.prototype.getText=pr.prototype.Ka,pr.prototype.setText=pr.prototype.Tn,pr.prototype.getZIndex=pr.prototype.Pn,pr.prototype.setGeometry=pr.prototype.Pa,pr.prototype.setZIndex=pr.prototype.Un,t("ol.style.Text",nr),nr.prototype.clone=nr.prototype.clone,nr.prototype.getFont=nr.prototype.dk,nr.prototype.getOffsetX=nr.prototype.sk,nr.prototype.getOffsetY=nr.prototype.tk,nr.prototype.getFill=nr.prototype.Vn,nr.prototype.getRotateWithView=nr.prototype.Wn,nr.prototype.getRotation=nr.prototype.Xn,nr.prototype.getScale=nr.prototype.Yn,nr.prototype.getStroke=nr.prototype.Zn,nr.prototype.getText=nr.prototype.Ka,nr.prototype.getTextAlign=nr.prototype.Dk,nr.prototype.getTextBaseline=nr.prototype.Ek,nr.prototype.setFont=nr.prototype.si,nr.prototype.setOffsetX=nr.prototype.yi,nr.prototype.setOffsetY=nr.prototype.zi,nr.prototype.setFill=nr.prototype.Sh,nr.prototype.setRotation=nr.prototype.$n,nr.prototype.setScale=nr.prototype.Th,nr.prototype.setStroke=nr.prototype.Uh,nr.prototype.setText=nr.prototype.Vh,nr.prototype.setTextAlign=nr.prototype.Bi,nr.prototype.setTextBaseline=nr.prototype.lp,t("ol.Sphere",hl),hl.prototype.geodesicArea=hl.prototype.a,hl.prototype.haversineDistance=hl.prototype.b,t("ol.source.BingMaps",lt),t("ol.source.BingMaps.TOS_ATTRIBUTION",wct),lt.prototype.getApiKey=lt.prototype.U,lt.prototype.getImagerySet=lt.prototype.Z,t("ol.source.CartoDB",at),at.prototype.getConfig=at.prototype.$j,at.prototype.updateConfig=at.prototype.wp,at.prototype.setConfig=at.prototype.fp,t("ol.source.Cluster",v),v.prototype.getSource=v.prototype.Ua,v.prototype.setDistance=v.prototype.Ob,t("ol.source.Image",hi),uh.prototype.image=uh.prototype.image,t("ol.source.ImageArcGISRest",wi),wi.prototype.getParams=wi.prototype.Xm,wi.prototype.getImageLoadFunction=wi.prototype.Wm,wi.prototype.getUrl=wi.prototype.Ym,wi.prototype.setImageLoadFunction=wi.prototype.Zm,wi.prototype.setUrl=wi.prototype.$m,wi.prototype.updateParams=wi.prototype.an,t("ol.source.ImageCanvas",vr),t("ol.source.ImageMapGuide",tr),tr.prototype.getParams=tr.prototype.cn,tr.prototype.getImageLoadFunction=tr.prototype.bn,tr.prototype.updateParams=tr.prototype.en,tr.prototype.setImageLoadFunction=tr.prototype.dn,t("ol.source.ImageStatic",wr),t("ol.source.ImageVector",di),di.prototype.getSource=di.prototype.fn,di.prototype.getStyle=di.prototype.gn,di.prototype.getStyleFunction=di.prototype.hn,di.prototype.setStyle=di.prototype.Fh,t("ol.source.ImageWMS",yi),yi.prototype.getGetFeatureInfoUrl=yi.prototype.ln,yi.prototype.getParams=yi.prototype.nn,yi.prototype.getImageLoadFunction=yi.prototype.mn,yi.prototype.getUrl=yi.prototype.pn,yi.prototype.setImageLoadFunction=yi.prototype.qn,yi.prototype.setUrl=yi.prototype.rn,yi.prototype.updateParams=yi.prototype.sn,t("ol.source.OSM",ii),t("ol.source.OSM.ATTRIBUTION",lit),t("ol.source.Raster",fr),fr.prototype.setOperation=fr.prototype.u,rs.prototype.extent=rs.prototype.extent,rs.prototype.resolution=rs.prototype.resolution,rs.prototype.data=rs.prototype.data,t("ol.source.Source",ir),ir.prototype.getAttributions=ir.prototype.za,ir.prototype.getLogo=ir.prototype.ya,ir.prototype.getProjection=ir.prototype.Aa,ir.prototype.getState=ir.prototype.W,ir.prototype.refresh=ir.prototype.wa,ir.prototype.setAttributions=ir.prototype.ua,t("ol.source.Stamen",ri),t("ol.source.Tile",gi),gi.prototype.getTileGrid=gi.prototype.Va,lh.prototype.tile=lh.prototype.tile,t("ol.source.TileArcGISRest",ct),ct.prototype.getParams=ct.prototype.u,ct.prototype.updateParams=ct.prototype.A,t("ol.source.TileDebug",yr),t("ol.source.TileImage",g),g.prototype.setRenderReprojectionEdges=g.prototype.Hb,g.prototype.setTileGridForProjection=g.prototype.Ib,t("ol.source.TileJSON",kt),kt.prototype.getTileJSON=kt.prototype.Fk,t("ol.source.TileUTFGrid",rr),rr.prototype.getTemplate=rr.prototype.Ck,rr.prototype.forDataAtCoordinateAndResolution=rr.prototype.Pj,t("ol.source.TileWMS",vt),vt.prototype.getGetFeatureInfoUrl=vt.prototype.An,vt.prototype.getParams=vt.prototype.Bn,vt.prototype.updateParams=vt.prototype.Cn,gt.prototype.getTileLoadFunction=gt.prototype.ib,gt.prototype.getTileUrlFunction=gt.prototype.kb,gt.prototype.getUrls=gt.prototype.lb,gt.prototype.setTileLoadFunction=gt.prototype.sb,gt.prototype.setTileUrlFunction=gt.prototype.Xa,gt.prototype.setUrl=gt.prototype.cb,gt.prototype.setUrls=gt.prototype.Ya,t("ol.source.Vector",p),p.prototype.addFeature=p.prototype.gb,p.prototype.addFeatures=p.prototype.Tc,p.prototype.clear=p.prototype.clear,p.prototype.forEachFeature=p.prototype.Fg,p.prototype.forEachFeatureInExtent=p.prototype.Qb,p.prototype.forEachFeatureIntersectingExtent=p.prototype.Gg,p.prototype.getFeaturesCollection=p.prototype.Og,p.prototype.getFeatures=p.prototype.we,p.prototype.getFeaturesAtCoordinate=p.prototype.Ng,p.prototype.getFeaturesInExtent=p.prototype.nf,p.prototype.getClosestFeatureToCoordinate=p.prototype.Jg,p.prototype.getExtent=p.prototype.G,p.prototype.getFeatureById=p.prototype.Mg,p.prototype.getFormat=p.prototype.Kh,p.prototype.getUrl=p.prototype.Lh,p.prototype.removeFeature=p.prototype.rb,bo.prototype.feature=bo.prototype.feature,t("ol.source.VectorTile",ei),t("ol.source.WMTS",nt),nt.prototype.getDimensions=nt.prototype.bk,nt.prototype.getFormat=nt.prototype.Dn,nt.prototype.getLayer=nt.prototype.En,nt.prototype.getMatrixSet=nt.prototype.pk,nt.prototype.getRequestEncoding=nt.prototype.Ak,nt.prototype.getStyle=nt.prototype.Fn,nt.prototype.getVersion=nt.prototype.Hk,nt.prototype.updateDimensions=nt.prototype.xp,t("ol.source.WMTS.optionsFromCapabilities",function(n,t){var r=tk(n.Contents.Layer,function(n){return n.Identifier==t.layer}),w=n.Contents.TileMatrixSet,f,a,s,h,v,u,c,e,o,i,p,y;f=1<r.TileMatrixSetLink.length?"projection"in t?yit(r.TileMatrixSetLink,function(n){var i=tk(w,function(t){return t.Identifier==n.TileMatrixSet}).SupportedCRS.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3"),r=ai(i),u=ai(t.projection);return r&&u?vh(r,u):i==t.projection}):yit(r.TileMatrixSetLink,function(n){return n.TileMatrixSet==t.matrixSet}):0;0>f&&(f=0);a=r.TileMatrixSetLink[f].TileMatrixSet;s=r.TileMatrixSetLink[f].TileMatrixSetLimits;h=r.Format[0];"format"in t&&(h=t.format);f=yit(r.Style,function(n){return"style"in t?n.Title==t.style:n.isDefault});0>f&&(f=0);f=r.Style[f].Identifier;v={};"Dimension"in r&&r.Dimension.forEach(function(n){var i=n.Identifier,t=n.Default;void 0===t&&(t=n.Value[0]);v[i]=t});u=tk(n.Contents.TileMatrixSet,function(n){return n.Identifier==a});c="projection"in t?ai(t.projection):ai(u.SupportedCRS.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3"));i=r.WGS84BoundingBox;void 0!==i&&(o=ai("EPSG:4326").G(),o=i[0]==o[0]&&i[2]==o[2],e=rw(i,"EPSG:4326",c),(i=c.G())&&(ys(i,e)||(e=void 0)));s=bei(u,e,s);var l=[],u=t.requestEncoding,u=void 0!==u?u:"";if("OperationsMetadata"in n&&"GetTile"in n.OperationsMetadata)for(e=n.OperationsMetadata.GetTile.DCP.HTTP.Get,i=0,p=e.length;i<p;++i)if(y=tk(e[i].Constraint,function(n){return"GetEncoding"==n.name}).AllowedValues.Value,""===u&&(u=y[0]),u===ap)co(y,ap)&&l.push(e[i].href);else break;return 0===l.length&&(u="REST",r.ResourceURL.forEach(function(n){"tile"===n.resourceType&&(h=n.format,l.push(n.template))})),{urls:l,layer:t.layer,matrixSet:a,format:h,projection:c,requestEncoding:u,tileGrid:s,style:f,dimensions:v,wrapX:o}}),t("ol.source.XYZ",pt),t("ol.source.Zoomify",ui),be.prototype.vectorContext=be.prototype.vectorContext,be.prototype.frameState=be.prototype.frameState,be.prototype.context=be.prototype.context,be.prototype.glContext=be.prototype.glContext,ks.prototype.get=ks.prototype.get,ks.prototype.getExtent=ks.prototype.G,ks.prototype.getGeometry=ks.prototype.V,ks.prototype.getProperties=ks.prototype.Tm,ks.prototype.getType=ks.prototype.Y,t("ol.render.VectorContext",td),kl.prototype.setStyle=kl.prototype.Gd,kl.prototype.drawGeometry=kl.prototype.tc,kl.prototype.drawFeature=kl.prototype.jf,dh.prototype.drawCircle=dh.prototype.hc,dh.prototype.setStyle=dh.prototype.Gd,dh.prototype.drawGeometry=dh.prototype.tc,dh.prototype.drawFeature=dh.prototype.jf,t("ol.proj.common.add",apt),t("ol.proj.METERS_PER_UNIT",gc),t("ol.proj.setProj4",function(n){uk=n}),t("ol.proj.getPointResolution",eg),t("ol.proj.addEquivalentProjections",og),t("ol.proj.addProjection",rrt),t("ol.proj.addCoordinateTransforms",eat),t("ol.proj.fromLonLat",function(n,t){return sg(n,"EPSG:4326",void 0!==t?t:"EPSG:3857")}),t("ol.proj.toLonLat",function(n,t){return sg(n,void 0!==t?t:"EPSG:3857","EPSG:4326")}),t("ol.proj.get",ai),t("ol.proj.equivalent",vh),t("ol.proj.getTransform",ea),t("ol.proj.transform",sg),t("ol.proj.transformExtent",rw),t("ol.proj.Projection",yf),yf.prototype.getCode=yf.prototype.Zj,yf.prototype.getExtent=yf.prototype.G,yf.prototype.getUnits=yf.prototype.Eb,yf.prototype.getMetersPerUnit=yf.prototype.ic,yf.prototype.getWorldExtent=yf.prototype.Jk,yf.prototype.isGlobal=yf.prototype.rl,yf.prototype.setGlobal=yf.prototype.hp,yf.prototype.setExtent=yf.prototype.Sm,yf.prototype.setWorldExtent=yf.prototype.op,yf.prototype.setGetPointResolution=yf.prototype.gp,t("ol.proj.Units.METERS_PER_UNIT",gc),t("ol.layer.Base",si),si.prototype.getExtent=si.prototype.G,si.prototype.getMaxResolution=si.prototype.Wb,si.prototype.getMinResolution=si.prototype.Xb,si.prototype.getOpacity=si.prototype.Yb,si.prototype.getVisible=si.prototype.Fb,si.prototype.getZIndex=si.prototype.Zb,si.prototype.setExtent=si.prototype.kc,si.prototype.setMaxResolution=si.prototype.pc,si.prototype.setMinResolution=si.prototype.qc,si.prototype.setOpacity=si.prototype.lc,si.prototype.setVisible=si.prototype.mc,si.prototype.setZIndex=si.prototype.nc,t("ol.layer.Group",fi),fi.prototype.getLayers=fi.prototype.cd,fi.prototype.setLayers=fi.prototype.yh,t("ol.layer.Heatmap",d),d.prototype.getBlur=d.prototype.Ig,d.prototype.getGradient=d.prototype.Pg,d.prototype.getRadius=d.prototype.zh,d.prototype.setBlur=d.prototype.ni,d.prototype.setGradient=d.prototype.ui,d.prototype.setRadius=d.prototype.Ah,t("ol.layer.Image",ti),ti.prototype.getSource=ti.prototype.la,t("ol.layer.Layer",wt),wt.prototype.getSource=wt.prototype.la,wt.prototype.setMap=wt.prototype.setMap,wt.prototype.setSource=wt.prototype.Pc,t("ol.layer.Tile",rt),rt.prototype.getPreload=rt.prototype.f,rt.prototype.getSource=rt.prototype.la,rt.prototype.setPreload=rt.prototype.l,rt.prototype.getUseInterimTilesOnError=rt.prototype.c,rt.prototype.setUseInterimTilesOnError=rt.prototype.C,t("ol.layer.Vector",b),b.prototype.getSource=b.prototype.la,b.prototype.getStyle=b.prototype.D,b.prototype.getStyleFunction=b.prototype.L,b.prototype.setStyle=b.prototype.l,t("ol.layer.VectorTile",k),k.prototype.getPreload=k.prototype.f,k.prototype.getUseInterimTilesOnError=k.prototype.c,k.prototype.setPreload=k.prototype.P,k.prototype.setUseInterimTilesOnError=k.prototype.U,t("ol.interaction.DoubleClickZoom",tf),t("ol.interaction.DoubleClickZoom.handleEvent",wyt),t("ol.interaction.DragAndDrop",nf),t("ol.interaction.DragAndDrop.handleEvent",ao),ss.prototype.features=ss.prototype.features,ss.prototype.file=ss.prototype.file,ss.prototype.projection=ss.prototype.projection,t("ol.interaction.DragBox",nu),nu.prototype.getGeometry=nu.prototype.V,fs.prototype.coordinate=fs.prototype.coordinate,fs.prototype.mapBrowserEvent=fs.prototype.mapBrowserEvent,t("ol.interaction.DragPan",wu),t("ol.interaction.DragRotate",bu),t("ol.interaction.DragRotateAndZoom",of),t("ol.interaction.DragZoom",cu),t("ol.interaction.Draw",dr),t("ol.interaction.Draw.handleEvent",rfi),dr.prototype.removeLastPoint=dr.prototype.Vo,dr.prototype.finishDrawing=dr.prototype.zd,dr.prototype.extend=dr.prototype.vm,t("ol.interaction.Draw.createRegularPolygon",function(n,t){return function(i,r){var u=i[0],f=i[1],o=Math.sqrt(gs(u,f)),e=r?r:kat(new ht(u),n);return dat(e,u,o,t?t:Math.atan((f[1]-u[1])/(f[0]-u[0]))),e}}),t("ol.interaction.Draw.createBox",function(){return function(n,t){var i=se(n),r=t||new c(null);return r.qa([[ba(i),nw(i),ey(i),sc(i),ba(i)]]),r}}),ch.prototype.feature=ch.prototype.feature,t("ol.interaction.Extent",gr),gr.prototype.getExtent=gr.prototype.G,gr.prototype.setExtent=gr.prototype.i,bc.prototype.extent_=bc.prototype.b,t("ol.interaction.defaults",ept),t("ol.interaction.Interaction",pi),pi.prototype.getActive=pi.prototype.f,pi.prototype.getMap=pi.prototype.c,pi.prototype.setActive=pi.prototype.Ea,t("ol.interaction.KeyboardPan",rf),t("ol.interaction.KeyboardPan.handleEvent",ipt),t("ol.interaction.KeyboardZoom",uf),t("ol.interaction.KeyboardZoom.handleEvent",rpt),t("ol.interaction.Modify",pu),t("ol.interaction.Modify.handleEvent",bfi),pu.prototype.removePoint=pu.prototype.ki,hs.prototype.features=hs.prototype.features,hs.prototype.mapBrowserEvent=hs.prototype.mapBrowserEvent,t("ol.interaction.MouseWheelZoom",tu),t("ol.interaction.MouseWheelZoom.handleEvent",upt),tu.prototype.setMouseAnchor=tu.prototype.P,t("ol.interaction.PinchRotate",ku),t("ol.interaction.PinchZoom",du),t("ol.interaction.Pointer",dt),t("ol.interaction.Pointer.handleEvent",yw),t("ol.interaction.Select",sr),sr.prototype.getFeatures=sr.prototype.Fm,sr.prototype.getHitTolerance=sr.prototype.Gm,sr.prototype.getLayer=sr.prototype.Hm,t("ol.interaction.Select.handleEvent",gfi),sr.prototype.setHitTolerance=sr.prototype.Jm,sr.prototype.setMap=sr.prototype.setMap,cs.prototype.selected=cs.prototype.selected,cs.prototype.deselected=cs.prototype.deselected,cs.prototype.mapBrowserEvent=cs.prototype.mapBrowserEvent,t("ol.interaction.Snap",su),su.prototype.addFeature=su.prototype.gb,su.prototype.removeFeature=su.prototype.rb,t("ol.interaction.Translate",uu),uu.prototype.getHitTolerance=uu.prototype.D,uu.prototype.setHitTolerance=uu.prototype.L,ls.prototype.features=ls.prototype.features,ls.prototype.coordinate=ls.prototype.coordinate,t("ol.geom.Circle",ht),ht.prototype.clone=ht.prototype.clone,ht.prototype.getCenter=ht.prototype.Fd,ht.prototype.getRadius=ht.prototype.qe,ht.prototype.getType=ht.prototype.Y,ht.prototype.intersectsExtent=ht.prototype.Ta,ht.prototype.setCenter=ht.prototype.nm,ht.prototype.setCenterAndRadius=ht.prototype.dg,ht.prototype.setRadius=ht.prototype.om,ht.prototype.transform=ht.prototype.ob,t("ol.geom.Geometry",bi),bi.prototype.getClosestPoint=bi.prototype.Cb,bi.prototype.intersectsCoordinate=bi.prototype.mb,bi.prototype.getExtent=bi.prototype.G,bi.prototype.rotate=bi.prototype.rotate,bi.prototype.scale=bi.prototype.scale,bi.prototype.simplify=bi.prototype.Jb,bi.prototype.transform=bi.prototype.ob,t("ol.geom.GeometryCollection",bt),bt.prototype.clone=bt.prototype.clone,bt.prototype.getGeometries=bt.prototype.pf,bt.prototype.getType=bt.prototype.Y,bt.prototype.intersectsExtent=bt.prototype.Ta,bt.prototype.setGeometries=bt.prototype.ti,bt.prototype.applyTransform=bt.prototype.sc,bt.prototype.translate=bt.prototype.translate,t("ol.geom.LinearRing",yt),yt.prototype.clone=yt.prototype.clone,yt.prototype.getArea=yt.prototype.rm,yt.prototype.getCoordinates=yt.prototype.$,yt.prototype.getType=yt.prototype.Y,yt.prototype.setCoordinates=yt.prototype.qa,t("ol.geom.LineString",l),l.prototype.appendCoordinate=l.prototype.Dj,l.prototype.clone=l.prototype.clone,l.prototype.forEachSegment=l.prototype.Sj,l.prototype.getCoordinateAtM=l.prototype.pm,l.prototype.getCoordinates=l.prototype.$,l.prototype.getCoordinateAt=l.prototype.Kg,l.prototype.getLength=l.prototype.qm,l.prototype.getType=l.prototype.Y,l.prototype.intersectsExtent=l.prototype.Ta,l.prototype.setCoordinates=l.prototype.qa,t("ol.geom.MultiLineString",y),y.prototype.appendLineString=y.prototype.Ej,y.prototype.clone=y.prototype.clone,y.prototype.getCoordinateAtM=y.prototype.sm,y.prototype.getCoordinates=y.prototype.$,y.prototype.getLineString=y.prototype.mk,y.prototype.getLineStrings=y.prototype.Yc,y.prototype.getType=y.prototype.Y,y.prototype.intersectsExtent=y.prototype.Ta,y.prototype.setCoordinates=y.prototype.qa,t("ol.geom.MultiPoint",it),it.prototype.appendPoint=it.prototype.Gj,it.prototype.clone=it.prototype.clone,it.prototype.getCoordinates=it.prototype.$,it.prototype.getPoint=it.prototype.yk,it.prototype.getPoints=it.prototype.re,it.prototype.getType=it.prototype.Y,it.prototype.intersectsExtent=it.prototype.Ta,it.prototype.setCoordinates=it.prototype.qa,t("ol.geom.MultiPolygon",w),w.prototype.appendPolygon=w.prototype.Hj,w.prototype.clone=w.prototype.clone,w.prototype.getArea=w.prototype.tm,w.prototype.getCoordinates=w.prototype.$,w.prototype.getInteriorPoints=w.prototype.jk,w.prototype.getPolygon=w.prototype.zk,w.prototype.getPolygons=w.prototype.Ad,w.prototype.getType=w.prototype.Y,w.prototype.intersectsExtent=w.prototype.Ta,w.prototype.setCoordinates=w.prototype.qa,t("ol.geom.Point",a),a.prototype.clone=a.prototype.clone,a.prototype.getCoordinates=a.prototype.$,a.prototype.getType=a.prototype.Y,a.prototype.intersectsExtent=a.prototype.Ta,a.prototype.setCoordinates=a.prototype.qa,t("ol.geom.Polygon",c),c.prototype.appendLinearRing=c.prototype.Fj,c.prototype.clone=c.prototype.clone,c.prototype.getArea=c.prototype.um,c.prototype.getCoordinates=c.prototype.$,c.prototype.getInteriorPoint=c.prototype.ik,c.prototype.getLinearRingCount=c.prototype.nk,c.prototype.getLinearRing=c.prototype.Qg,c.prototype.getLinearRings=c.prototype.Zc,c.prototype.getType=c.prototype.Y,c.prototype.intersectsExtent=c.prototype.Ta,c.prototype.setCoordinates=c.prototype.qa,t("ol.geom.Polygon.circular",bat),t("ol.geom.Polygon.fromExtent",cg),t("ol.geom.Polygon.fromCircle",kat),t("ol.geom.SimpleGeometry",et),et.prototype.getFirstCoordinate=et.prototype.Rb,et.prototype.getLastCoordinate=et.prototype.Sb,et.prototype.getLayout=et.prototype.Tb,et.prototype.applyTransform=et.prototype.sc,et.prototype.translate=et.prototype.translate,t("ol.format.EsriJSON",ee),ee.prototype.readFeature=ee.prototype.bc,ee.prototype.readFeatures=ee.prototype.La,ee.prototype.readGeometry=ee.prototype.hd,ee.prototype.readProjection=ee.prototype.Wa,ee.prototype.writeGeometry=ee.prototype.od,ee.prototype.writeGeometryObject=ee.prototype.Te,ee.prototype.writeFeature=ee.prototype.Od,ee.prototype.writeFeatureObject=ee.prototype.md,ee.prototype.writeFeatures=ee.prototype.ec,ee.prototype.writeFeaturesObject=ee.prototype.Se,t("ol.format.Feature",ws),t("ol.format.GeoJSON",oe),oe.prototype.readFeature=oe.prototype.bc,oe.prototype.readFeatures=oe.prototype.La,oe.prototype.readGeometry=oe.prototype.hd,oe.prototype.readProjection=oe.prototype.Wa,oe.prototype.writeFeature=oe.prototype.Od,oe.prototype.writeFeatureObject=oe.prototype.md,oe.prototype.writeFeatures=oe.prototype.ec,oe.prototype.writeFeaturesObject=oe.prototype.Se,oe.prototype.writeGeometry=oe.prototype.od,oe.prototype.writeGeometryObject=oe.prototype.Te,t("ol.format.GML",st),st.prototype.writeFeatures=st.prototype.ec,st.prototype.writeFeaturesNode=st.prototype.a,t("ol.format.GML2",ul),t("ol.format.GML3",st),st.prototype.writeGeometryNode=st.prototype.H,st.prototype.writeFeatures=st.prototype.ec,st.prototype.writeFeaturesNode=st.prototype.a,eu.prototype.readFeatures=eu.prototype.La,t("ol.format.GPX",bs),bs.prototype.readFeature=bs.prototype.bc,bs.prototype.readFeatures=bs.prototype.La,bs.prototype.readProjection=bs.prototype.Wa,bs.prototype.writeFeatures=bs.prototype.ec,bs.prototype.writeFeaturesNode=bs.prototype.a,t("ol.format.IGC",ta),ta.prototype.readFeature=ta.prototype.bc,ta.prototype.readFeatures=ta.prototype.La,ta.prototype.readProjection=ta.prototype.Wa,t("ol.format.KML",ae),ae.prototype.readFeature=ae.prototype.bc,ae.prototype.readFeatures=ae.prototype.La,ae.prototype.readName=ae.prototype.Jo,ae.prototype.readNetworkLinks=ae.prototype.Ko,ae.prototype.readRegion=ae.prototype.No,ae.prototype.readRegionFromNode=ae.prototype.Ie,ae.prototype.readProjection=ae.prototype.Wa,ae.prototype.writeFeatures=ae.prototype.ec,ae.prototype.writeFeaturesNode=ae.prototype.a,t("ol.format.MVT",pc),pc.prototype.readFeatures=pc.prototype.La,pc.prototype.readProjection=pc.prototype.Wa,pc.prototype.setLayers=pc.prototype.c,t("ol.format.OSMXML",op),op.prototype.readFeatures=op.prototype.La,op.prototype.readProjection=op.prototype.Wa,t("ol.format.Polyline",ic),t("ol.format.Polyline.encodeDeltas",tri),t("ol.format.Polyline.decodeDeltas",iri),t("ol.format.Polyline.encodeFloats",rri),t("ol.format.Polyline.decodeFloats",uri),ic.prototype.readFeature=ic.prototype.bc,ic.prototype.readFeatures=ic.prototype.La,ic.prototype.readGeometry=ic.prototype.hd,ic.prototype.readProjection=ic.prototype.Wa,ic.prototype.writeGeometry=ic.prototype.od,t("ol.format.TopoJSON",dv),dv.prototype.readFeatures=dv.prototype.La,dv.prototype.readProjection=dv.prototype.Wa,t("ol.format.WFS",de),de.prototype.readFeatures=de.prototype.La,de.prototype.readTransactionResponse=de.prototype.o,de.prototype.readFeatureCollectionMetadata=de.prototype.l,de.prototype.writeGetFeature=de.prototype.v,de.prototype.writeTransaction=de.prototype.A,de.prototype.readProjection=de.prototype.Wa,t("ol.format.WKT",ds),ds.prototype.readFeature=ds.prototype.bc,ds.prototype.readFeatures=ds.prototype.La,ds.prototype.readGeometry=ds.prototype.hd,ds.prototype.writeFeature=ds.prototype.Od,ds.prototype.writeFeatures=ds.prototype.ec,ds.prototype.writeGeometry=ds.prototype.od,t("ol.format.WMSCapabilities",yb),yb.prototype.read=yb.prototype.read,t("ol.format.WMSGetFeatureInfo",wd),wd.prototype.readFeatures=wd.prototype.La,t("ol.format.WMTSCapabilities",pb),pb.prototype.read=pb.prototype.read,t("ol.format.filter.And",oot),t("ol.format.filter.Bbox",sot),t("ol.format.filter.Comparison",na),t("ol.format.filter.ComparisonBinary",eh),t("ol.format.filter.EqualTo",hot),t("ol.format.filter.Filter",cd),t("ol.format.filter.GreaterThan",cot),t("ol.format.filter.GreaterThanOrEqualTo",lot),t("ol.format.filter.and",wnt),t("ol.format.filter.or",function(n,t){return new got(n,t)}),t("ol.format.filter.not",function(n){return new kot(n)}),t("ol.format.filter.bbox",bnt),t("ol.format.filter.intersects",function(n,t,i){return new aot(n,t,i)}),t("ol.format.filter.within",function(n,t,i){return new nst(n,t,i)}),t("ol.format.filter.equalTo",function(n,t,i){return new hot(n,t,i)}),t("ol.format.filter.notEqualTo",function(n,t,i){return new dot(n,t,i)}),t("ol.format.filter.lessThan",function(n,t){return new wot(n,t)}),t("ol.format.filter.lessThanOrEqualTo",function(n,t){return new bot(n,t)}),t("ol.format.filter.greaterThan",function(n,t){return new cot(n,t)}),t("ol.format.filter.greaterThanOrEqualTo",function(n,t){return new lot(n,t)}),t("ol.format.filter.isNull",function(n){return new pot(n)}),t("ol.format.filter.between",function(n,t,i){return new vot(n,t,i)}),t("ol.format.filter.like",function(n,t,i,r,u,f){return new yot(n,t,i,r,u,f)}),t("ol.format.filter.Intersects",aot),t("ol.format.filter.IsBetween",vot),t("ol.format.filter.IsLike",yot),t("ol.format.filter.IsNull",pot),t("ol.format.filter.LessThan",wot),t("ol.format.filter.LessThanOrEqualTo",bot),t("ol.format.filter.Not",kot),t("ol.format.filter.NotEqualTo",dot),t("ol.format.filter.Or",got),t("ol.format.filter.Spatial",ob),t("ol.format.filter.Within",nst),t("ol.extent.boundingExtent",se),t("ol.extent.buffer",ec),t("ol.extent.containsCoordinate",bit),t("ol.extent.containsExtent",ys),t("ol.extent.containsXY",rg),t("ol.extent.createEmpty",lo),t("ol.extent.equals",dp),t("ol.extent.extend",git),t("ol.extent.getBottomLeft",ba),t("ol.extent.getBottomRight",nw),t("ol.extent.getCenter",ah),t("ol.extent.getHeight",so),t("ol.extent.getIntersection",fa),t("ol.extent.getSize",function(n){return[n[2]-n[0],n[3]-n[1]]}),t("ol.extent.getTopLeft",sc),t("ol.extent.getTopRight",ey),t("ol.extent.getWidth",af),t("ol.extent.intersects",pe),t("ol.extent.isEmpty",tw),t("ol.extent.applyTransform",rk),t("ol.events.condition.altKeyOnly",function(n){return n=n.originalEvent,n.altKey&&!(n.metaKey||n.ctrlKey)&&!n.shiftKey}),t("ol.events.condition.altShiftKeysOnly",byt),t("ol.events.condition.always",ao),t("ol.events.condition.click",function(n){return"click"==n.type}),t("ol.events.condition.never",nh),t("ol.events.condition.pointerMove",dyt),t("ol.events.condition.singleClick",rft),t("ol.events.condition.doubleClick",function(n){return"dblclick"==n.type}),t("ol.events.condition.noModifierKeys",pk),t("ol.events.condition.platformModifierKeyOnly",function(n){return n=n.originalEvent,!n.altKey&&(nyt?n.metaKey:n.ctrlKey)&&!n.shiftKey}),t("ol.events.condition.shiftKeyOnly",wk),t("ol.events.condition.targetNotEditable",uft),t("ol.events.condition.mouseOnly",vl),t("ol.events.condition.primaryAction",gyt),lr.prototype.type=lr.prototype.type,lr.prototype.target=lr.prototype.target,lr.prototype.preventDefault=lr.prototype.preventDefault,lr.prototype.stopPropagation=lr.prototype.stopPropagation,t("ol.control.Attribution",hr),t("ol.control.Attribution.render",vvt),hr.prototype.getCollapsible=hr.prototype.dm,hr.prototype.setCollapsible=hr.prototype.gm,hr.prototype.setCollapsed=hr.prototype.fm,hr.prototype.getCollapsed=hr.prototype.cm,t("ol.control.Control",ni),ni.prototype.getMap=ni.prototype.i,ni.prototype.setMap=ni.prototype.setMap,ni.prototype.setTarget=ni.prototype.c,t("ol.control.FullScreen",vu),t("ol.control.defaults",kvt),t("ol.control.MousePosition",ar),t("ol.control.MousePosition.render",dvt),ar.prototype.getCoordinateFormat=ar.prototype.Lg,ar.prototype.getProjection=ar.prototype.rh,ar.prototype.setCoordinateFormat=ar.prototype.oi,ar.prototype.setProjection=ar.prototype.sh,t("ol.control.OverviewMap",or),t("ol.control.OverviewMap.render",agt),or.prototype.getCollapsible=or.prototype.jm,or.prototype.setCollapsible=or.prototype.mm,or.prototype.setCollapsed=or.prototype.lm,or.prototype.getCollapsed=or.prototype.im,or.prototype.getOverviewMap=or.prototype.wk,t("ol.control.Rotate",yu),t("ol.control.Rotate.render",bvt),t("ol.control.ScaleLine",br),br.prototype.getUnits=br.prototype.Eb,t("ol.control.ScaleLine.render",pgt),br.prototype.setUnits=br.prototype.D,t("ol.control.Zoom",hu),t("ol.control.ZoomSlider",gu),t("ol.control.ZoomSlider.render",kgt),t("ol.control.ZoomToExtent",ff),oi.prototype.changed=oi.prototype.s,oi.prototype.dispatchEvent=oi.prototype.b,oi.prototype.getRevision=oi.prototype.M,oi.prototype.on=oi.prototype.J,oi.prototype.once=oi.prototype.N,oi.prototype.un=oi.prototype.K,oi.prototype.unByKey=oi.prototype.O,ft.prototype.get=ft.prototype.get,ft.prototype.getKeys=ft.prototype.S,ft.prototype.getProperties=ft.prototype.R,ft.prototype.set=ft.prototype.set,ft.prototype.setProperties=ft.prototype.I,ft.prototype.unset=ft.prototype.T,ft.prototype.changed=ft.prototype.s,ft.prototype.dispatchEvent=ft.prototype.b,ft.prototype.getRevision=ft.prototype.M,ft.prototype.on=ft.prototype.J,ft.prototype.once=ft.prototype.N,ft.prototype.un=ft.prototype.K,ft.prototype.unByKey=ft.prototype.O,go.prototype.type=go.prototype.type,go.prototype.target=go.prototype.target,go.prototype.preventDefault=go.prototype.preventDefault,go.prototype.stopPropagation=go.prototype.stopPropagation,kr.prototype.get=kr.prototype.get,kr.prototype.getKeys=kr.prototype.S,kr.prototype.getProperties=kr.prototype.R,kr.prototype.set=kr.prototype.set,kr.prototype.setProperties=kr.prototype.I,kr.prototype.unset=kr.prototype.T,kr.prototype.changed=kr.prototype.s,kr.prototype.dispatchEvent=kr.prototype.b,kr.prototype.getRevision=kr.prototype.M,kr.prototype.on=kr.prototype.J,kr.prototype.once=kr.prototype.N,kr.prototype.un=kr.prototype.K,kr.prototype.unByKey=kr.prototype.O,ut.prototype.get=ut.prototype.get,ut.prototype.getKeys=ut.prototype.S,ut.prototype.getProperties=ut.prototype.R,ut.prototype.set=ut.prototype.set,ut.prototype.setProperties=ut.prototype.I,ut.prototype.unset=ut.prototype.T,ut.prototype.changed=ut.prototype.s,ut.prototype.dispatchEvent=ut.prototype.b,ut.prototype.getRevision=ut.prototype.M,ut.prototype.on=ut.prototype.J,ut.prototype.once=ut.prototype.N,ut.prototype.un=ut.prototype.K,ut.prototype.unByKey=ut.prototype.O,vi.prototype.get=vi.prototype.get,vi.prototype.getKeys=vi.prototype.S,vi.prototype.getProperties=vi.prototype.R,vi.prototype.set=vi.prototype.set,vi.prototype.setProperties=vi.prototype.I,vi.prototype.unset=vi.prototype.T,vi.prototype.changed=vi.prototype.s,vi.prototype.dispatchEvent=vi.prototype.b,vi.prototype.getRevision=vi.prototype.M,vi.prototype.on=vi.prototype.J,vi.prototype.once=vi.prototype.N,vi.prototype.un=vi.prototype.K,vi.prototype.unByKey=vi.prototype.O,wc.prototype.getTileCoord=wc.prototype.c,s.prototype.get=s.prototype.get,s.prototype.getKeys=s.prototype.S,s.prototype.getProperties=s.prototype.R,s.prototype.set=s.prototype.set,s.prototype.setProperties=s.prototype.I,s.prototype.unset=s.prototype.T,s.prototype.changed=s.prototype.s,s.prototype.dispatchEvent=s.prototype.b,s.prototype.getRevision=s.prototype.M,s.prototype.on=s.prototype.J,s.prototype.once=s.prototype.N,s.prototype.un=s.prototype.K,s.prototype.unByKey=s.prototype.O,ho.prototype.type=ho.prototype.type,ho.prototype.target=ho.prototype.target,ho.prototype.preventDefault=ho.prototype.preventDefault,ho.prototype.stopPropagation=ho.prototype.stopPropagation,kf.prototype.map=kf.prototype.map,kf.prototype.frameState=kf.prototype.frameState,kf.prototype.type=kf.prototype.type,kf.prototype.target=kf.prototype.target,kf.prototype.preventDefault=kf.prototype.preventDefault,kf.prototype.stopPropagation=kf.prototype.stopPropagation,lf.prototype.originalEvent=lf.prototype.originalEvent,lf.prototype.pixel=lf.prototype.pixel,lf.prototype.coordinate=lf.prototype.coordinate,lf.prototype.dragging=lf.prototype.dragging,lf.prototype.preventDefault=lf.prototype.preventDefault,lf.prototype.stopPropagation=lf.prototype.stopPropagation,lf.prototype.map=lf.prototype.map,lf.prototype.frameState=lf.prototype.frameState,lf.prototype.type=lf.prototype.type,lf.prototype.target=lf.prototype.target,vs.prototype.type=vs.prototype.type,vs.prototype.target=vs.prototype.target,vs.prototype.preventDefault=vs.prototype.preventDefault,vs.prototype.stopPropagation=vs.prototype.stopPropagation,ki.prototype.get=ki.prototype.get,ki.prototype.getKeys=ki.prototype.S,ki.prototype.getProperties=ki.prototype.R,ki.prototype.set=ki.prototype.set,ki.prototype.setProperties=ki.prototype.I,ki.prototype.unset=ki.prototype.T,ki.prototype.changed=ki.prototype.s,ki.prototype.dispatchEvent=ki.prototype.b,ki.prototype.getRevision=ki.prototype.M,ki.prototype.on=ki.prototype.J,ki.prototype.once=ki.prototype.N,ki.prototype.un=ki.prototype.K,ki.prototype.unByKey=ki.prototype.O,rc.prototype.getTileCoord=rc.prototype.c,ot.prototype.get=ot.prototype.get,ot.prototype.getKeys=ot.prototype.S,ot.prototype.getProperties=ot.prototype.R,ot.prototype.set=ot.prototype.set,ot.prototype.setProperties=ot.prototype.I,ot.prototype.unset=ot.prototype.T,ot.prototype.changed=ot.prototype.s,ot.prototype.dispatchEvent=ot.prototype.b,ot.prototype.getRevision=ot.prototype.M,ot.prototype.on=ot.prototype.J,ot.prototype.once=ot.prototype.N,ot.prototype.un=ot.prototype.K,ot.prototype.unByKey=ot.prototype.O,wf.prototype.forEachTileCoord=wf.prototype.Hg,wf.prototype.getMaxZoom=wf.prototype.Rg,wf.prototype.getMinZoom=wf.prototype.Sg,wf.prototype.getOrigin=wf.prototype.Kc,wf.prototype.getResolution=wf.prototype.Ha,wf.prototype.getResolutions=wf.prototype.Wh,wf.prototype.getTileCoordExtent=wf.prototype.Na,wf.prototype.getTileCoordForCoordAndResolution=wf.prototype.fe,wf.prototype.getTileCoordForCoordAndZ=wf.prototype.wf,wf.prototype.getTileSize=wf.prototype.Za,wf.prototype.getZForResolution=wf.prototype.Ec,cr.prototype.getOpacity=cr.prototype.ye,cr.prototype.getRotateWithView=cr.prototype.ze,cr.prototype.getRotation=cr.prototype.Ae,cr.prototype.getScale=cr.prototype.Be,cr.prototype.getSnapToPixel=cr.prototype.ee,cr.prototype.setOpacity=cr.prototype.dd,cr.prototype.setRotation=cr.prototype.Ce,cr.prototype.setScale=cr.prototype.ed,fu.prototype.getAngle=fu.prototype.Nh,fu.prototype.getFill=fu.prototype.Oh,fu.prototype.getPoints=fu.prototype.Ph,fu.prototype.getRadius=fu.prototype.Qh,fu.prototype.getRadius2=fu.prototype.Vg,fu.prototype.getStroke=fu.prototype.Rh,fu.prototype.getOpacity=fu.prototype.ye,fu.prototype.getRotateWithView=fu.prototype.ze,fu.prototype.getRotation=fu.prototype.Ae,fu.prototype.getScale=fu.prototype.Be,fu.prototype.getSnapToPixel=fu.prototype.ee,fu.prototype.setOpacity=fu.prototype.dd,fu.prototype.setRotation=fu.prototype.Ce,fu.prototype.setScale=fu.prototype.ed,ru.prototype.getOpacity=ru.prototype.ye,ru.prototype.getRotateWithView=ru.prototype.ze,ru.prototype.getRotation=ru.prototype.Ae,ru.prototype.getScale=ru.prototype.Be,ru.prototype.getSnapToPixel=ru.prototype.ee,ru.prototype.setOpacity=ru.prototype.dd,ru.prototype.setRotation=ru.prototype.Ce,ru.prototype.setScale=ru.prototype.ed,ir.prototype.get=ir.prototype.get,ir.prototype.getKeys=ir.prototype.S,ir.prototype.getProperties=ir.prototype.R,ir.prototype.set=ir.prototype.set,ir.prototype.setProperties=ir.prototype.I,ir.prototype.unset=ir.prototype.T,ir.prototype.changed=ir.prototype.s,ir.prototype.dispatchEvent=ir.prototype.b,ir.prototype.getRevision=ir.prototype.M,ir.prototype.on=ir.prototype.J,ir.prototype.once=ir.prototype.N,ir.prototype.un=ir.prototype.K,ir.prototype.unByKey=ir.prototype.O,gi.prototype.getAttributions=gi.prototype.za,gi.prototype.getLogo=gi.prototype.ya,gi.prototype.getProjection=gi.prototype.Aa,gi.prototype.getState=gi.prototype.W,gi.prototype.refresh=gi.prototype.wa,gi.prototype.setAttributions=gi.prototype.ua,gi.prototype.get=gi.prototype.get,gi.prototype.getKeys=gi.prototype.S,gi.prototype.getProperties=gi.prototype.R,gi.prototype.set=gi.prototype.set,gi.prototype.setProperties=gi.prototype.I,gi.prototype.unset=gi.prototype.T,gi.prototype.changed=gi.prototype.s,gi.prototype.dispatchEvent=gi.prototype.b,gi.prototype.getRevision=gi.prototype.M,gi.prototype.on=gi.prototype.J,gi.prototype.once=gi.prototype.N,gi.prototype.un=gi.prototype.K,gi.prototype.unByKey=gi.prototype.O,gt.prototype.getTileGrid=gt.prototype.Va,gt.prototype.refresh=gt.prototype.wa,gt.prototype.getAttributions=gt.prototype.za,gt.prototype.getLogo=gt.prototype.ya,gt.prototype.getProjection=gt.prototype.Aa,gt.prototype.getState=gt.prototype.W,gt.prototype.setAttributions=gt.prototype.ua,gt.prototype.get=gt.prototype.get,gt.prototype.getKeys=gt.prototype.S,gt.prototype.getProperties=gt.prototype.R,gt.prototype.set=gt.prototype.set,gt.prototype.setProperties=gt.prototype.I,gt.prototype.unset=gt.prototype.T,gt.prototype.changed=gt.prototype.s,gt.prototype.dispatchEvent=gt.prototype.b,gt.prototype.getRevision=gt.prototype.M,gt.prototype.on=gt.prototype.J,gt.prototype.once=gt.prototype.N,gt.prototype.un=gt.prototype.K,gt.prototype.unByKey=gt.prototype.O,g.prototype.getTileLoadFunction=g.prototype.ib,g.prototype.getTileUrlFunction=g.prototype.kb,g.prototype.getUrls=g.prototype.lb,g.prototype.setTileLoadFunction=g.prototype.sb,g.prototype.setTileUrlFunction=g.prototype.Xa,g.prototype.setUrl=g.prototype.cb,g.prototype.setUrls=g.prototype.Ya,g.prototype.getTileGrid=g.prototype.Va,g.prototype.refresh=g.prototype.wa,g.prototype.getAttributions=g.prototype.za,g.prototype.getLogo=g.prototype.ya,g.prototype.getProjection=g.prototype.Aa,g.prototype.getState=g.prototype.W,g.prototype.setAttributions=g.prototype.ua,g.prototype.get=g.prototype.get,g.prototype.getKeys=g.prototype.S,g.prototype.getProperties=g.prototype.R,g.prototype.set=g.prototype.set,g.prototype.setProperties=g.prototype.I,g.prototype.unset=g.prototype.T,g.prototype.changed=g.prototype.s,g.prototype.dispatchEvent=g.prototype.b,g.prototype.getRevision=g.prototype.M,g.prototype.on=g.prototype.J,g.prototype.once=g.prototype.N,g.prototype.un=g.prototype.K,g.prototype.unByKey=g.prototype.O,lt.prototype.setRenderReprojectionEdges=lt.prototype.Hb,lt.prototype.setTileGridForProjection=lt.prototype.Ib,lt.prototype.getTileLoadFunction=lt.prototype.ib,lt.prototype.getTileUrlFunction=lt.prototype.kb,lt.prototype.getUrls=lt.prototype.lb,lt.prototype.setTileLoadFunction=lt.prototype.sb,lt.prototype.setTileUrlFunction=lt.prototype.Xa,lt.prototype.setUrl=lt.prototype.cb,lt.prototype.setUrls=lt.prototype.Ya,lt.prototype.getTileGrid=lt.prototype.Va,lt.prototype.refresh=lt.prototype.wa,lt.prototype.getAttributions=lt.prototype.za,lt.prototype.getLogo=lt.prototype.ya,lt.prototype.getProjection=lt.prototype.Aa,lt.prototype.getState=lt.prototype.W,lt.prototype.setAttributions=lt.prototype.ua,lt.prototype.get=lt.prototype.get,lt.prototype.getKeys=lt.prototype.S,lt.prototype.getProperties=lt.prototype.R,lt.prototype.set=lt.prototype.set,lt.prototype.setProperties=lt.prototype.I,lt.prototype.unset=lt.prototype.T,lt.prototype.changed=lt.prototype.s,lt.prototype.dispatchEvent=lt.prototype.b,lt.prototype.getRevision=lt.prototype.M,lt.prototype.on=lt.prototype.J,lt.prototype.once=lt.prototype.N,lt.prototype.un=lt.prototype.K,lt.prototype.unByKey=lt.prototype.O,pt.prototype.setRenderReprojectionEdges=pt.prototype.Hb,pt.prototype.setTileGridForProjection=pt.prototype.Ib,pt.prototype.getTileLoadFunction=pt.prototype.ib,pt.prototype.getTileUrlFunction=pt.prototype.kb,pt.prototype.getUrls=pt.prototype.lb,pt.prototype.setTileLoadFunction=pt.prototype.sb,pt.prototype.setTileUrlFunction=pt.prototype.Xa,pt.prototype.setUrl=pt.prototype.cb,pt.prototype.setUrls=pt.prototype.Ya,pt.prototype.getTileGrid=pt.prototype.Va,pt.prototype.refresh=pt.prototype.wa,pt.prototype.getAttributions=pt.prototype.za,pt.prototype.getLogo=pt.prototype.ya,pt.prototype.getProjection=pt.prototype.Aa,pt.prototype.getState=pt.prototype.W,pt.prototype.setAttributions=pt.prototype.ua,pt.prototype.get=pt.prototype.get,pt.prototype.getKeys=pt.prototype.S,pt.prototype.getProperties=pt.prototype.R,pt.prototype.set=pt.prototype.set,pt.prototype.setProperties=pt.prototype.I,pt.prototype.unset=pt.prototype.T,pt.prototype.changed=pt.prototype.s,pt.prototype.dispatchEvent=pt.prototype.b,pt.prototype.getRevision=pt.prototype.M,pt.prototype.on=pt.prototype.J,pt.prototype.once=pt.prototype.N,pt.prototype.un=pt.prototype.K,pt.prototype.unByKey=pt.prototype.O,at.prototype.setRenderReprojectionEdges=at.prototype.Hb,at.prototype.setTileGridForProjection=at.prototype.Ib,at.prototype.getTileLoadFunction=at.prototype.ib,at.prototype.getTileUrlFunction=at.prototype.kb,at.prototype.getUrls=at.prototype.lb,at.prototype.setTileLoadFunction=at.prototype.sb,at.prototype.setTileUrlFunction=at.prototype.Xa,at.prototype.setUrl=at.prototype.cb,at.prototype.setUrls=at.prototype.Ya,at.prototype.getTileGrid=at.prototype.Va,at.prototype.refresh=at.prototype.wa,at.prototype.getAttributions=at.prototype.za,at.prototype.getLogo=at.prototype.ya,at.prototype.getProjection=at.prototype.Aa,at.prototype.getState=at.prototype.W,at.prototype.setAttributions=at.prototype.ua,at.prototype.get=at.prototype.get,at.prototype.getKeys=at.prototype.S,at.prototype.getProperties=at.prototype.R,at.prototype.set=at.prototype.set,at.prototype.setProperties=at.prototype.I,at.prototype.unset=at.prototype.T,at.prototype.changed=at.prototype.s,at.prototype.dispatchEvent=at.prototype.b,at.prototype.getRevision=at.prototype.M,at.prototype.on=at.prototype.J,at.prototype.once=at.prototype.N,at.prototype.un=at.prototype.K,at.prototype.unByKey=at.prototype.O,p.prototype.getAttributions=p.prototype.za,p.prototype.getLogo=p.prototype.ya,p.prototype.getProjection=p.prototype.Aa,p.prototype.getState=p.prototype.W,p.prototype.refresh=p.prototype.wa,p.prototype.setAttributions=p.prototype.ua,p.prototype.get=p.prototype.get,p.prototype.getKeys=p.prototype.S,p.prototype.getProperties=p.prototype.R,p.prototype.set=p.prototype.set,p.prototype.setProperties=p.prototype.I,p.prototype.unset=p.prototype.T,p.prototype.changed=p.prototype.s,p.prototype.dispatchEvent=p.prototype.b,p.prototype.getRevision=p.prototype.M,p.prototype.on=p.prototype.J,p.prototype.once=p.prototype.N,p.prototype.un=p.prototype.K,p.prototype.unByKey=p.prototype.O,v.prototype.addFeature=v.prototype.gb,v.prototype.addFeatures=v.prototype.Tc,v.prototype.clear=v.prototype.clear,v.prototype.forEachFeature=v.prototype.Fg,v.prototype.forEachFeatureInExtent=v.prototype.Qb,v.prototype.forEachFeatureIntersectingExtent=v.prototype.Gg,v.prototype.getFeaturesCollection=v.prototype.Og,v.prototype.getFeatures=v.prototype.we,v.prototype.getFeaturesAtCoordinate=v.prototype.Ng,v.prototype.getFeaturesInExtent=v.prototype.nf,v.prototype.getClosestFeatureToCoordinate=v.prototype.Jg,v.prototype.getExtent=v.prototype.G,v.prototype.getFeatureById=v.prototype.Mg,v.prototype.getFormat=v.prototype.Kh,v.prototype.getUrl=v.prototype.Lh,v.prototype.removeFeature=v.prototype.rb,v.prototype.getAttributions=v.prototype.za,v.prototype.getLogo=v.prototype.ya,v.prototype.getProjection=v.prototype.Aa,v.prototype.getState=v.prototype.W,v.prototype.refresh=v.prototype.wa,v.prototype.setAttributions=v.prototype.ua,v.prototype.get=v.prototype.get,v.prototype.getKeys=v.prototype.S,v.prototype.getProperties=v.prototype.R,v.prototype.set=v.prototype.set,v.prototype.setProperties=v.prototype.I,v.prototype.unset=v.prototype.T,v.prototype.changed=v.prototype.s,v.prototype.dispatchEvent=v.prototype.b,v.prototype.getRevision=v.prototype.M,v.prototype.on=v.prototype.J,v.prototype.once=v.prototype.N,v.prototype.un=v.prototype.K,v.prototype.unByKey=v.prototype.O,hi.prototype.getAttributions=hi.prototype.za,hi.prototype.getLogo=hi.prototype.ya,hi.prototype.getProjection=hi.prototype.Aa,hi.prototype.getState=hi.prototype.W,hi.prototype.refresh=hi.prototype.wa,hi.prototype.setAttributions=hi.prototype.ua,hi.prototype.get=hi.prototype.get,hi.prototype.getKeys=hi.prototype.S,hi.prototype.getProperties=hi.prototype.R,hi.prototype.set=hi.prototype.set,hi.prototype.setProperties=hi.prototype.I,hi.prototype.unset=hi.prototype.T,hi.prototype.changed=hi.prototype.s,hi.prototype.dispatchEvent=hi.prototype.b,hi.prototype.getRevision=hi.prototype.M,hi.prototype.on=hi.prototype.J,hi.prototype.once=hi.prototype.N,hi.prototype.un=hi.prototype.K,hi.prototype.unByKey=hi.prototype.O,uh.prototype.type=uh.prototype.type,uh.prototype.target=uh.prototype.target,uh.prototype.preventDefault=uh.prototype.preventDefault,uh.prototype.stopPropagation=uh.prototype.stopPropagation,wi.prototype.getAttributions=wi.prototype.za,wi.prototype.getLogo=wi.prototype.ya,wi.prototype.getProjection=wi.prototype.Aa,wi.prototype.getState=wi.prototype.W,wi.prototype.refresh=wi.prototype.wa,wi.prototype.setAttributions=wi.prototype.ua,wi.prototype.get=wi.prototype.get,wi.prototype.getKeys=wi.prototype.S,wi.prototype.getProperties=wi.prototype.R,wi.prototype.set=wi.prototype.set,wi.prototype.setProperties=wi.prototype.I,wi.prototype.unset=wi.prototype.T,wi.prototype.changed=wi.prototype.s,wi.prototype.dispatchEvent=wi.prototype.b,wi.prototype.getRevision=wi.prototype.M,wi.prototype.on=wi.prototype.J,wi.prototype.once=wi.prototype.N,wi.prototype.un=wi.prototype.K,wi.prototype.unByKey=wi.prototype.O,vr.prototype.getAttributions=vr.prototype.za,vr.prototype.getLogo=vr.prototype.ya,vr.prototype.getProjection=vr.prototype.Aa,vr.prototype.getState=vr.prototype.W,vr.prototype.refresh=vr.prototype.wa,vr.prototype.setAttributions=vr.prototype.ua,vr.prototype.get=vr.prototype.get,vr.prototype.getKeys=vr.prototype.S,vr.prototype.getProperties=vr.prototype.R,vr.prototype.set=vr.prototype.set,vr.prototype.setProperties=vr.prototype.I,vr.prototype.unset=vr.prototype.T,vr.prototype.changed=vr.prototype.s,vr.prototype.dispatchEvent=vr.prototype.b,vr.prototype.getRevision=vr.prototype.M,vr.prototype.on=vr.prototype.J,vr.prototype.once=vr.prototype.N,vr.prototype.un=vr.prototype.K,vr.prototype.unByKey=vr.prototype.O,tr.prototype.getAttributions=tr.prototype.za,tr.prototype.getLogo=tr.prototype.ya,tr.prototype.getProjection=tr.prototype.Aa,tr.prototype.getState=tr.prototype.W,tr.prototype.refresh=tr.prototype.wa,tr.prototype.setAttributions=tr.prototype.ua,tr.prototype.get=tr.prototype.get,tr.prototype.getKeys=tr.prototype.S,tr.prototype.getProperties=tr.prototype.R,tr.prototype.set=tr.prototype.set,tr.prototype.setProperties=tr.prototype.I,tr.prototype.unset=tr.prototype.T,tr.prototype.changed=tr.prototype.s,tr.prototype.dispatchEvent=tr.prototype.b,tr.prototype.getRevision=tr.prototype.M,tr.prototype.on=tr.prototype.J,tr.prototype.once=tr.prototype.N,tr.prototype.un=tr.prototype.K,tr.prototype.unByKey=tr.prototype.O,wr.prototype.getAttributions=wr.prototype.za,wr.prototype.getLogo=wr.prototype.ya,wr.prototype.getProjection=wr.prototype.Aa,wr.prototype.getState=wr.prototype.W,wr.prototype.refresh=wr.prototype.wa,wr.prototype.setAttributions=wr.prototype.ua,wr.prototype.get=wr.prototype.get,wr.prototype.getKeys=wr.prototype.S,wr.prototype.getProperties=wr.prototype.R,wr.prototype.set=wr.prototype.set,wr.prototype.setProperties=wr.prototype.I,wr.prototype.unset=wr.prototype.T,wr.prototype.changed=wr.prototype.s,wr.prototype.dispatchEvent=wr.prototype.b,wr.prototype.getRevision=wr.prototype.M,wr.prototype.on=wr.prototype.J,wr.prototype.once=wr.prototype.N,wr.prototype.un=wr.prototype.K,wr.prototype.unByKey=wr.prototype.O,di.prototype.getAttributions=di.prototype.za,di.prototype.getLogo=di.prototype.ya,di.prototype.getProjection=di.prototype.Aa,di.prototype.getState=di.prototype.W,di.prototype.refresh=di.prototype.wa,di.prototype.setAttributions=di.prototype.ua,di.prototype.get=di.prototype.get,di.prototype.getKeys=di.prototype.S,di.prototype.getProperties=di.prototype.R,di.prototype.set=di.prototype.set,di.prototype.setProperties=di.prototype.I,di.prototype.unset=di.prototype.T,di.prototype.changed=di.prototype.s,di.prototype.dispatchEvent=di.prototype.b,di.prototype.getRevision=di.prototype.M,di.prototype.on=di.prototype.J,di.prototype.once=di.prototype.N,di.prototype.un=di.prototype.K,di.prototype.unByKey=di.prototype.O,yi.prototype.getAttributions=yi.prototype.za,yi.prototype.getLogo=yi.prototype.ya,yi.prototype.getProjection=yi.prototype.Aa,yi.prototype.getState=yi.prototype.W,yi.prototype.refresh=yi.prototype.wa,yi.prototype.setAttributions=yi.prototype.ua,yi.prototype.get=yi.prototype.get,yi.prototype.getKeys=yi.prototype.S,yi.prototype.getProperties=yi.prototype.R,yi.prototype.set=yi.prototype.set,yi.prototype.setProperties=yi.prototype.I,yi.prototype.unset=yi.prototype.T,yi.prototype.changed=yi.prototype.s,yi.prototype.dispatchEvent=yi.prototype.b,yi.prototype.getRevision=yi.prototype.M,yi.prototype.on=yi.prototype.J,yi.prototype.once=yi.prototype.N,yi.prototype.un=yi.prototype.K,yi.prototype.unByKey=yi.prototype.O,ii.prototype.setRenderReprojectionEdges=ii.prototype.Hb,ii.prototype.setTileGridForProjection=ii.prototype.Ib,ii.prototype.getTileLoadFunction=ii.prototype.ib,ii.prototype.getTileUrlFunction=ii.prototype.kb,ii.prototype.getUrls=ii.prototype.lb,ii.prototype.setTileLoadFunction=ii.prototype.sb,ii.prototype.setTileUrlFunction=ii.prototype.Xa,ii.prototype.setUrl=ii.prototype.cb,ii.prototype.setUrls=ii.prototype.Ya,ii.prototype.getTileGrid=ii.prototype.Va,ii.prototype.refresh=ii.prototype.wa,ii.prototype.getAttributions=ii.prototype.za,ii.prototype.getLogo=ii.prototype.ya,ii.prototype.getProjection=ii.prototype.Aa,ii.prototype.getState=ii.prototype.W,ii.prototype.setAttributions=ii.prototype.ua,ii.prototype.get=ii.prototype.get,ii.prototype.getKeys=ii.prototype.S,ii.prototype.getProperties=ii.prototype.R,ii.prototype.set=ii.prototype.set,ii.prototype.setProperties=ii.prototype.I,ii.prototype.unset=ii.prototype.T,ii.prototype.changed=ii.prototype.s,ii.prototype.dispatchEvent=ii.prototype.b,ii.prototype.getRevision=ii.prototype.M,ii.prototype.on=ii.prototype.J,ii.prototype.once=ii.prototype.N,ii.prototype.un=ii.prototype.K,ii.prototype.unByKey=ii.prototype.O,fr.prototype.getAttributions=fr.prototype.za,fr.prototype.getLogo=fr.prototype.ya,fr.prototype.getProjection=fr.prototype.Aa,fr.prototype.getState=fr.prototype.W,fr.prototype.refresh=fr.prototype.wa,fr.prototype.setAttributions=fr.prototype.ua,fr.prototype.get=fr.prototype.get,fr.prototype.getKeys=fr.prototype.S,fr.prototype.getProperties=fr.prototype.R,fr.prototype.set=fr.prototype.set,fr.prototype.setProperties=fr.prototype.I,fr.prototype.unset=fr.prototype.T,fr.prototype.changed=fr.prototype.s,fr.prototype.dispatchEvent=fr.prototype.b,fr.prototype.getRevision=fr.prototype.M,fr.prototype.on=fr.prototype.J,fr.prototype.once=fr.prototype.N,fr.prototype.un=fr.prototype.K,fr.prototype.unByKey=fr.prototype.O,rs.prototype.type=rs.prototype.type,rs.prototype.target=rs.prototype.target,rs.prototype.preventDefault=rs.prototype.preventDefault,rs.prototype.stopPropagation=rs.prototype.stopPropagation,ri.prototype.setRenderReprojectionEdges=ri.prototype.Hb,ri.prototype.setTileGridForProjection=ri.prototype.Ib,ri.prototype.getTileLoadFunction=ri.prototype.ib,ri.prototype.getTileUrlFunction=ri.prototype.kb,ri.prototype.getUrls=ri.prototype.lb,ri.prototype.setTileLoadFunction=ri.prototype.sb,ri.prototype.setTileUrlFunction=ri.prototype.Xa,ri.prototype.setUrl=ri.prototype.cb,ri.prototype.setUrls=ri.prototype.Ya,ri.prototype.getTileGrid=ri.prototype.Va,ri.prototype.refresh=ri.prototype.wa,ri.prototype.getAttributions=ri.prototype.za,ri.prototype.getLogo=ri.prototype.ya,ri.prototype.getProjection=ri.prototype.Aa,ri.prototype.getState=ri.prototype.W,ri.prototype.setAttributions=ri.prototype.ua,ri.prototype.get=ri.prototype.get,ri.prototype.getKeys=ri.prototype.S,ri.prototype.getProperties=ri.prototype.R,ri.prototype.set=ri.prototype.set,ri.prototype.setProperties=ri.prototype.I,ri.prototype.unset=ri.prototype.T,ri.prototype.changed=ri.prototype.s,ri.prototype.dispatchEvent=ri.prototype.b,ri.prototype.getRevision=ri.prototype.M,ri.prototype.on=ri.prototype.J,ri.prototype.once=ri.prototype.N,ri.prototype.un=ri.prototype.K,ri.prototype.unByKey=ri.prototype.O,lh.prototype.type=lh.prototype.type,lh.prototype.target=lh.prototype.target,lh.prototype.preventDefault=lh.prototype.preventDefault,lh.prototype.stopPropagation=lh.prototype.stopPropagation,ct.prototype.setRenderReprojectionEdges=ct.prototype.Hb,ct.prototype.setTileGridForProjection=ct.prototype.Ib,ct.prototype.getTileLoadFunction=ct.prototype.ib,ct.prototype.getTileUrlFunction=ct.prototype.kb,ct.prototype.getUrls=ct.prototype.lb,ct.prototype.setTileLoadFunction=ct.prototype.sb,ct.prototype.setTileUrlFunction=ct.prototype.Xa,ct.prototype.setUrl=ct.prototype.cb,ct.prototype.setUrls=ct.prototype.Ya,ct.prototype.getTileGrid=ct.prototype.Va,ct.prototype.refresh=ct.prototype.wa,ct.prototype.getAttributions=ct.prototype.za,ct.prototype.getLogo=ct.prototype.ya,ct.prototype.getProjection=ct.prototype.Aa,ct.prototype.getState=ct.prototype.W,ct.prototype.setAttributions=ct.prototype.ua,ct.prototype.get=ct.prototype.get,ct.prototype.getKeys=ct.prototype.S,ct.prototype.getProperties=ct.prototype.R,ct.prototype.set=ct.prototype.set,ct.prototype.setProperties=ct.prototype.I,ct.prototype.unset=ct.prototype.T,ct.prototype.changed=ct.prototype.s,ct.prototype.dispatchEvent=ct.prototype.b,ct.prototype.getRevision=ct.prototype.M,ct.prototype.on=ct.prototype.J,ct.prototype.once=ct.prototype.N,ct.prototype.un=ct.prototype.K,ct.prototype.unByKey=ct.prototype.O,yr.prototype.getTileGrid=yr.prototype.Va,yr.prototype.refresh=yr.prototype.wa,yr.prototype.getAttributions=yr.prototype.za,yr.prototype.getLogo=yr.prototype.ya,yr.prototype.getProjection=yr.prototype.Aa,yr.prototype.getState=yr.prototype.W,yr.prototype.setAttributions=yr.prototype.ua,yr.prototype.get=yr.prototype.get,yr.prototype.getKeys=yr.prototype.S,yr.prototype.getProperties=yr.prototype.R,yr.prototype.set=yr.prototype.set,yr.prototype.setProperties=yr.prototype.I,yr.prototype.unset=yr.prototype.T,yr.prototype.changed=yr.prototype.s,yr.prototype.dispatchEvent=yr.prototype.b,yr.prototype.getRevision=yr.prototype.M,yr.prototype.on=yr.prototype.J,yr.prototype.once=yr.prototype.N,yr.prototype.un=yr.prototype.K,yr.prototype.unByKey=yr.prototype.O,kt.prototype.setRenderReprojectionEdges=kt.prototype.Hb,kt.prototype.setTileGridForProjection=kt.prototype.Ib,kt.prototype.getTileLoadFunction=kt.prototype.ib,kt.prototype.getTileUrlFunction=kt.prototype.kb,kt.prototype.getUrls=kt.prototype.lb,kt.prototype.setTileLoadFunction=kt.prototype.sb,kt.prototype.setTileUrlFunction=kt.prototype.Xa,kt.prototype.setUrl=kt.prototype.cb,kt.prototype.setUrls=kt.prototype.Ya,kt.prototype.getTileGrid=kt.prototype.Va,kt.prototype.refresh=kt.prototype.wa,kt.prototype.getAttributions=kt.prototype.za,kt.prototype.getLogo=kt.prototype.ya,kt.prototype.getProjection=kt.prototype.Aa,kt.prototype.getState=kt.prototype.W,kt.prototype.setAttributions=kt.prototype.ua,kt.prototype.get=kt.prototype.get,kt.prototype.getKeys=kt.prototype.S,kt.prototype.getProperties=kt.prototype.R,kt.prototype.set=kt.prototype.set,kt.prototype.setProperties=kt.prototype.I,kt.prototype.unset=kt.prototype.T,kt.prototype.changed=kt.prototype.s,kt.prototype.dispatchEvent=kt.prototype.b,kt.prototype.getRevision=kt.prototype.M,kt.prototype.on=kt.prototype.J,kt.prototype.once=kt.prototype.N,kt.prototype.un=kt.prototype.K,kt.prototype.unByKey=kt.prototype.O,rr.prototype.getTileGrid=rr.prototype.Va,rr.prototype.refresh=rr.prototype.wa,rr.prototype.getAttributions=rr.prototype.za,rr.prototype.getLogo=rr.prototype.ya,rr.prototype.getProjection=rr.prototype.Aa,rr.prototype.getState=rr.prototype.W,rr.prototype.setAttributions=rr.prototype.ua,rr.prototype.get=rr.prototype.get,rr.prototype.getKeys=rr.prototype.S,rr.prototype.getProperties=rr.prototype.R,rr.prototype.set=rr.prototype.set,rr.prototype.setProperties=rr.prototype.I,rr.prototype.unset=rr.prototype.T,rr.prototype.changed=rr.prototype.s,rr.prototype.dispatchEvent=rr.prototype.b,rr.prototype.getRevision=rr.prototype.M,rr.prototype.on=rr.prototype.J,rr.prototype.once=rr.prototype.N,rr.prototype.un=rr.prototype.K,rr.prototype.unByKey=rr.prototype.O,vt.prototype.setRenderReprojectionEdges=vt.prototype.Hb,vt.prototype.setTileGridForProjection=vt.prototype.Ib,vt.prototype.getTileLoadFunction=vt.prototype.ib,vt.prototype.getTileUrlFunction=vt.prototype.kb,vt.prototype.getUrls=vt.prototype.lb,vt.prototype.setTileLoadFunction=vt.prototype.sb,vt.prototype.setTileUrlFunction=vt.prototype.Xa,vt.prototype.setUrl=vt.prototype.cb,vt.prototype.setUrls=vt.prototype.Ya,vt.prototype.getTileGrid=vt.prototype.Va,vt.prototype.refresh=vt.prototype.wa,vt.prototype.getAttributions=vt.prototype.za,vt.prototype.getLogo=vt.prototype.ya,vt.prototype.getProjection=vt.prototype.Aa,vt.prototype.getState=vt.prototype.W,vt.prototype.setAttributions=vt.prototype.ua,vt.prototype.get=vt.prototype.get,vt.prototype.getKeys=vt.prototype.S,vt.prototype.getProperties=vt.prototype.R,vt.prototype.set=vt.prototype.set,vt.prototype.setProperties=vt.prototype.I,vt.prototype.unset=vt.prototype.T,vt.prototype.changed=vt.prototype.s,vt.prototype.dispatchEvent=vt.prototype.b,vt.prototype.getRevision=vt.prototype.M,vt.prototype.on=vt.prototype.J,vt.prototype.once=vt.prototype.N,vt.prototype.un=vt.prototype.K,vt.prototype.unByKey=vt.prototype.O,bo.prototype.type=bo.prototype.type,bo.prototype.target=bo.prototype.target,bo.prototype.preventDefault=bo.prototype.preventDefault,bo.prototype.stopPropagation=bo.prototype.stopPropagation,ei.prototype.getTileLoadFunction=ei.prototype.ib,ei.prototype.getTileUrlFunction=ei.prototype.kb,ei.prototype.getUrls=ei.prototype.lb,ei.prototype.setTileLoadFunction=ei.prototype.sb,ei.prototype.setTileUrlFunction=ei.prototype.Xa,ei.prototype.setUrl=ei.prototype.cb,ei.prototype.setUrls=ei.prototype.Ya,ei.prototype.getTileGrid=ei.prototype.Va,ei.prototype.refresh=ei.prototype.wa,ei.prototype.getAttributions=ei.prototype.za,ei.prototype.getLogo=ei.prototype.ya,ei.prototype.getProjection=ei.prototype.Aa,ei.prototype.getState=ei.prototype.W,ei.prototype.setAttributions=ei.prototype.ua,ei.prototype.get=ei.prototype.get,ei.prototype.getKeys=ei.prototype.S,ei.prototype.getProperties=ei.prototype.R,ei.prototype.set=ei.prototype.set,ei.prototype.setProperties=ei.prototype.I,ei.prototype.unset=ei.prototype.T,ei.prototype.changed=ei.prototype.s,ei.prototype.dispatchEvent=ei.prototype.b,ei.prototype.getRevision=ei.prototype.M,ei.prototype.on=ei.prototype.J,ei.prototype.once=ei.prototype.N,ei.prototype.un=ei.prototype.K,ei.prototype.unByKey=ei.prototype.O,nt.prototype.setRenderReprojectionEdges=nt.prototype.Hb,nt.prototype.setTileGridForProjection=nt.prototype.Ib,nt.prototype.getTileLoadFunction=nt.prototype.ib,nt.prototype.getTileUrlFunction=nt.prototype.kb,nt.prototype.getUrls=nt.prototype.lb,nt.prototype.setTileLoadFunction=nt.prototype.sb,nt.prototype.setTileUrlFunction=nt.prototype.Xa,nt.prototype.setUrl=nt.prototype.cb,nt.prototype.setUrls=nt.prototype.Ya,nt.prototype.getTileGrid=nt.prototype.Va,nt.prototype.refresh=nt.prototype.wa,nt.prototype.getAttributions=nt.prototype.za,nt.prototype.getLogo=nt.prototype.ya,nt.prototype.getProjection=nt.prototype.Aa,nt.prototype.getState=nt.prototype.W,nt.prototype.setAttributions=nt.prototype.ua,nt.prototype.get=nt.prototype.get,nt.prototype.getKeys=nt.prototype.S,nt.prototype.getProperties=nt.prototype.R,nt.prototype.set=nt.prototype.set,nt.prototype.setProperties=nt.prototype.I,nt.prototype.unset=nt.prototype.T,nt.prototype.changed=nt.prototype.s,nt.prototype.dispatchEvent=nt.prototype.b,nt.prototype.getRevision=nt.prototype.M,nt.prototype.on=nt.prototype.J,nt.prototype.once=nt.prototype.N,nt.prototype.un=nt.prototype.K,nt.prototype.unByKey=nt.prototype.O,ui.prototype.setRenderReprojectionEdges=ui.prototype.Hb,ui.prototype.setTileGridForProjection=ui.prototype.Ib,ui.prototype.getTileLoadFunction=ui.prototype.ib,ui.prototype.getTileUrlFunction=ui.prototype.kb,ui.prototype.getUrls=ui.prototype.lb,ui.prototype.setTileLoadFunction=ui.prototype.sb,ui.prototype.setTileUrlFunction=ui.prototype.Xa,ui.prototype.setUrl=ui.prototype.cb,ui.prototype.setUrls=ui.prototype.Ya,ui.prototype.getTileGrid=ui.prototype.Va,ui.prototype.refresh=ui.prototype.wa,ui.prototype.getAttributions=ui.prototype.za,ui.prototype.getLogo=ui.prototype.ya,ui.prototype.getProjection=ui.prototype.Aa,ui.prototype.getState=ui.prototype.W,ui.prototype.setAttributions=ui.prototype.ua,ui.prototype.get=ui.prototype.get,ui.prototype.getKeys=ui.prototype.S,ui.prototype.getProperties=ui.prototype.R,ui.prototype.set=ui.prototype.set,ui.prototype.setProperties=ui.prototype.I,ui.prototype.unset=ui.prototype.T,ui.prototype.changed=ui.prototype.s,ui.prototype.dispatchEvent=ui.prototype.b,ui.prototype.getRevision=ui.prototype.M,ui.prototype.on=ui.prototype.J,ui.prototype.once=ui.prototype.N,ui.prototype.un=ui.prototype.K,ui.prototype.unByKey=ui.prototype.O,ua.prototype.getTileCoord=ua.prototype.c,ua.prototype.load=ua.prototype.load,ue.prototype.changed=ue.prototype.s,ue.prototype.dispatchEvent=ue.prototype.b,ue.prototype.getRevision=ue.prototype.M,ue.prototype.on=ue.prototype.J,ue.prototype.once=ue.prototype.N,ue.prototype.un=ue.prototype.K,ue.prototype.unByKey=ue.prototype.O,df.prototype.changed=df.prototype.s,df.prototype.dispatchEvent=df.prototype.b,df.prototype.getRevision=df.prototype.M,df.prototype.on=df.prototype.J,df.prototype.once=df.prototype.N,df.prototype.un=df.prototype.K,df.prototype.unByKey=df.prototype.O,uo.prototype.changed=uo.prototype.s,uo.prototype.dispatchEvent=uo.prototype.b,uo.prototype.getRevision=uo.prototype.M,uo.prototype.on=uo.prototype.J,uo.prototype.once=uo.prototype.N,uo.prototype.un=uo.prototype.K,uo.prototype.unByKey=uo.prototype.O,ns.prototype.changed=ns.prototype.s,ns.prototype.dispatchEvent=ns.prototype.b,ns.prototype.getRevision=ns.prototype.M,ns.prototype.on=ns.prototype.J,ns.prototype.once=ns.prototype.N,ns.prototype.un=ns.prototype.K,ns.prototype.unByKey=ns.prototype.O,ts.prototype.changed=ts.prototype.s,ts.prototype.dispatchEvent=ts.prototype.b,ts.prototype.getRevision=ts.prototype.M,ts.prototype.on=ts.prototype.J,ts.prototype.once=ts.prototype.N,ts.prototype.un=ts.prototype.K,ts.prototype.unByKey=ts.prototype.O,ce.prototype.changed=ce.prototype.s,ce.prototype.dispatchEvent=ce.prototype.b,ce.prototype.getRevision=ce.prototype.M,ce.prototype.on=ce.prototype.J,ce.prototype.once=ce.prototype.N,ce.prototype.un=ce.prototype.K,ce.prototype.unByKey=ce.prototype.O,le.prototype.changed=le.prototype.s,le.prototype.dispatchEvent=le.prototype.b,le.prototype.getRevision=le.prototype.M,le.prototype.on=le.prototype.J,le.prototype.once=le.prototype.N,le.prototype.un=le.prototype.K,le.prototype.unByKey=le.prototype.O,to.prototype.changed=to.prototype.s,to.prototype.dispatchEvent=to.prototype.b,to.prototype.getRevision=to.prototype.M,to.prototype.on=to.prototype.J,to.prototype.once=to.prototype.N,to.prototype.un=to.prototype.K,to.prototype.unByKey=to.prototype.O,te.prototype.changed=te.prototype.s,te.prototype.dispatchEvent=te.prototype.b,te.prototype.getRevision=te.prototype.M,te.prototype.on=te.prototype.J,te.prototype.once=te.prototype.N,te.prototype.un=te.prototype.K,te.prototype.unByKey=te.prototype.O,io.prototype.changed=io.prototype.s,io.prototype.dispatchEvent=io.prototype.b,io.prototype.getRevision=io.prototype.M,io.prototype.on=io.prototype.J,io.prototype.once=io.prototype.N,io.prototype.un=io.prototype.K,io.prototype.unByKey=io.prototype.O,ro.prototype.changed=ro.prototype.s,ro.prototype.dispatchEvent=ro.prototype.b,ro.prototype.getRevision=ro.prototype.M,ro.prototype.on=ro.prototype.J,ro.prototype.once=ro.prototype.N,ro.prototype.un=ro.prototype.K,ro.prototype.unByKey=ro.prototype.O,be.prototype.type=be.prototype.type,be.prototype.target=be.prototype.target,be.prototype.preventDefault=be.prototype.preventDefault,be.prototype.stopPropagation=be.prototype.stopPropagation,ph.prototype.type=ph.prototype.type,ph.prototype.target=ph.prototype.target,ph.prototype.preventDefault=ph.prototype.preventDefault,ph.prototype.stopPropagation=ph.prototype.stopPropagation,si.prototype.get=si.prototype.get,si.prototype.getKeys=si.prototype.S,si.prototype.getProperties=si.prototype.R,si.prototype.set=si.prototype.set,si.prototype.setProperties=si.prototype.I,si.prototype.unset=si.prototype.T,si.prototype.changed=si.prototype.s,si.prototype.dispatchEvent=si.prototype.b,si.prototype.getRevision=si.prototype.M,si.prototype.on=si.prototype.J,si.prototype.once=si.prototype.N,si.prototype.un=si.prototype.K,si.prototype.unByKey=si.prototype.O,fi.prototype.getExtent=fi.prototype.G,fi.prototype.getMaxResolution=fi.prototype.Wb,fi.prototype.getMinResolution=fi.prototype.Xb,fi.prototype.getOpacity=fi.prototype.Yb,fi.prototype.getVisible=fi.prototype.Fb,fi.prototype.getZIndex=fi.prototype.Zb,fi.prototype.setExtent=fi.prototype.kc,fi.prototype.setMaxResolution=fi.prototype.pc,fi.prototype.setMinResolution=fi.prototype.qc,fi.prototype.setOpacity=fi.prototype.lc,fi.prototype.setVisible=fi.prototype.mc,fi.prototype.setZIndex=fi.prototype.nc,fi.prototype.get=fi.prototype.get,fi.prototype.getKeys=fi.prototype.S,fi.prototype.getProperties=fi.prototype.R,fi.prototype.set=fi.prototype.set,fi.prototype.setProperties=fi.prototype.I,fi.prototype.unset=fi.prototype.T,fi.prototype.changed=fi.prototype.s,fi.prototype.dispatchEvent=fi.prototype.b,fi.prototype.getRevision=fi.prototype.M,fi.prototype.on=fi.prototype.J,fi.prototype.once=fi.prototype.N,fi.prototype.un=fi.prototype.K,fi.prototype.unByKey=fi.prototype.O,wt.prototype.getExtent=wt.prototype.G,wt.prototype.getMaxResolution=wt.prototype.Wb,wt.prototype.getMinResolution=wt.prototype.Xb,wt.prototype.getOpacity=wt.prototype.Yb,wt.prototype.getVisible=wt.prototype.Fb,wt.prototype.getZIndex=wt.prototype.Zb,wt.prototype.setExtent=wt.prototype.kc,wt.prototype.setMaxResolution=wt.prototype.pc,wt.prototype.setMinResolution=wt.prototype.qc,wt.prototype.setOpacity=wt.prototype.lc,wt.prototype.setVisible=wt.prototype.mc,wt.prototype.setZIndex=wt.prototype.nc,wt.prototype.get=wt.prototype.get,wt.prototype.getKeys=wt.prototype.S,wt.prototype.getProperties=wt.prototype.R,wt.prototype.set=wt.prototype.set,wt.prototype.setProperties=wt.prototype.I,wt.prototype.unset=wt.prototype.T,wt.prototype.changed=wt.prototype.s,wt.prototype.dispatchEvent=wt.prototype.b,wt.prototype.getRevision=wt.prototype.M,wt.prototype.on=wt.prototype.J,wt.prototype.once=wt.prototype.N,wt.prototype.un=wt.prototype.K,wt.prototype.unByKey=wt.prototype.O,b.prototype.setMap=b.prototype.setMap,b.prototype.setSource=b.prototype.Pc,b.prototype.getExtent=b.prototype.G,b.prototype.getMaxResolution=b.prototype.Wb,b.prototype.getMinResolution=b.prototype.Xb,b.prototype.getOpacity=b.prototype.Yb,b.prototype.getVisible=b.prototype.Fb,b.prototype.getZIndex=b.prototype.Zb,b.prototype.setExtent=b.prototype.kc,b.prototype.setMaxResolution=b.prototype.pc,b.prototype.setMinResolution=b.prototype.qc,b.prototype.setOpacity=b.prototype.lc,b.prototype.setVisible=b.prototype.mc,b.prototype.setZIndex=b.prototype.nc,b.prototype.get=b.prototype.get,b.prototype.getKeys=b.prototype.S,b.prototype.getProperties=b.prototype.R,b.prototype.set=b.prototype.set,b.prototype.setProperties=b.prototype.I,b.prototype.unset=b.prototype.T,b.prototype.changed=b.prototype.s,b.prototype.dispatchEvent=b.prototype.b,b.prototype.getRevision=b.prototype.M,b.prototype.on=b.prototype.J,b.prototype.once=b.prototype.N,b.prototype.un=b.prototype.K,b.prototype.unByKey=b.prototype.O,d.prototype.getSource=d.prototype.la,d.prototype.getStyle=d.prototype.D,d.prototype.getStyleFunction=d.prototype.L,d.prototype.setStyle=d.prototype.l,d.prototype.setMap=d.prototype.setMap,d.prototype.setSource=d.prototype.Pc,d.prototype.getExtent=d.prototype.G,d.prototype.getMaxResolution=d.prototype.Wb,d.prototype.getMinResolution=d.prototype.Xb,d.prototype.getOpacity=d.prototype.Yb,d.prototype.getVisible=d.prototype.Fb,d.prototype.getZIndex=d.prototype.Zb,d.prototype.setExtent=d.prototype.kc,d.prototype.setMaxResolution=d.prototype.pc,d.prototype.setMinResolution=d.prototype.qc,d.prototype.setOpacity=d.prototype.lc,d.prototype.setVisible=d.prototype.mc,d.prototype.setZIndex=d.prototype.nc,d.prototype.get=d.prototype.get,d.prototype.getKeys=d.prototype.S,d.prototype.getProperties=d.prototype.R,d.prototype.set=d.prototype.set,d.prototype.setProperties=d.prototype.I,d.prototype.unset=d.prototype.T,d.prototype.changed=d.prototype.s,d.prototype.dispatchEvent=d.prototype.b,d.prototype.getRevision=d.prototype.M,d.prototype.on=d.prototype.J,d.prototype.once=d.prototype.N,d.prototype.un=d.prototype.K,d.prototype.unByKey=d.prototype.O,ti.prototype.setMap=ti.prototype.setMap,ti.prototype.setSource=ti.prototype.Pc,ti.prototype.getExtent=ti.prototype.G,ti.prototype.getMaxResolution=ti.prototype.Wb,ti.prototype.getMinResolution=ti.prototype.Xb,ti.prototype.getOpacity=ti.prototype.Yb,ti.prototype.getVisible=ti.prototype.Fb,ti.prototype.getZIndex=ti.prototype.Zb,ti.prototype.setExtent=ti.prototype.kc,ti.prototype.setMaxResolution=ti.prototype.pc,ti.prototype.setMinResolution=ti.prototype.qc,ti.prototype.setOpacity=ti.prototype.lc,ti.prototype.setVisible=ti.prototype.mc,ti.prototype.setZIndex=ti.prototype.nc,ti.prototype.get=ti.prototype.get,ti.prototype.getKeys=ti.prototype.S,ti.prototype.getProperties=ti.prototype.R,ti.prototype.set=ti.prototype.set,ti.prototype.setProperties=ti.prototype.I,ti.prototype.unset=ti.prototype.T,ti.prototype.changed=ti.prototype.s,ti.prototype.dispatchEvent=ti.prototype.b,ti.prototype.getRevision=ti.prototype.M,ti.prototype.on=ti.prototype.J,ti.prototype.once=ti.prototype.N,ti.prototype.un=ti.prototype.K,ti.prototype.unByKey=ti.prototype.O,rt.prototype.setMap=rt.prototype.setMap,rt.prototype.setSource=rt.prototype.Pc,rt.prototype.getExtent=rt.prototype.G,rt.prototype.getMaxResolution=rt.prototype.Wb,rt.prototype.getMinResolution=rt.prototype.Xb,rt.prototype.getOpacity=rt.prototype.Yb,rt.prototype.getVisible=rt.prototype.Fb,rt.prototype.getZIndex=rt.prototype.Zb,rt.prototype.setExtent=rt.prototype.kc,rt.prototype.setMaxResolution=rt.prototype.pc,rt.prototype.setMinResolution=rt.prototype.qc,rt.prototype.setOpacity=rt.prototype.lc,rt.prototype.setVisible=rt.prototype.mc,rt.prototype.setZIndex=rt.prototype.nc,rt.prototype.get=rt.prototype.get,rt.prototype.getKeys=rt.prototype.S,rt.prototype.getProperties=rt.prototype.R,rt.prototype.set=rt.prototype.set,rt.prototype.setProperties=rt.prototype.I,rt.prototype.unset=rt.prototype.T,rt.prototype.changed=rt.prototype.s,rt.prototype.dispatchEvent=rt.prototype.b,rt.prototype.getRevision=rt.prototype.M,rt.prototype.on=rt.prototype.J,rt.prototype.once=rt.prototype.N,rt.prototype.un=rt.prototype.K,rt.prototype.unByKey=rt.prototype.O,k.prototype.getSource=k.prototype.la,k.prototype.getStyle=k.prototype.D,k.prototype.getStyleFunction=k.prototype.L,k.prototype.setStyle=k.prototype.l,k.prototype.setMap=k.prototype.setMap,k.prototype.setSource=k.prototype.Pc,k.prototype.getExtent=k.prototype.G,k.prototype.getMaxResolution=k.prototype.Wb,k.prototype.getMinResolution=k.prototype.Xb,k.prototype.getOpacity=k.prototype.Yb,k.prototype.getVisible=k.prototype.Fb,k.prototype.getZIndex=k.prototype.Zb,k.prototype.setExtent=k.prototype.kc,k.prototype.setMaxResolution=k.prototype.pc,k.prototype.setMinResolution=k.prototype.qc,k.prototype.setOpacity=k.prototype.lc,k.prototype.setVisible=k.prototype.mc,k.prototype.setZIndex=k.prototype.nc,k.prototype.get=k.prototype.get,k.prototype.getKeys=k.prototype.S,k.prototype.getProperties=k.prototype.R,k.prototype.set=k.prototype.set,k.prototype.setProperties=k.prototype.I,k.prototype.unset=k.prototype.T,k.prototype.changed=k.prototype.s,k.prototype.dispatchEvent=k.prototype.b,k.prototype.getRevision=k.prototype.M,k.prototype.on=k.prototype.J,k.prototype.once=k.prototype.N,k.prototype.un=k.prototype.K,k.prototype.unByKey=k.prototype.O,pi.prototype.get=pi.prototype.get,pi.prototype.getKeys=pi.prototype.S,pi.prototype.getProperties=pi.prototype.R,pi.prototype.set=pi.prototype.set,pi.prototype.setProperties=pi.prototype.I,pi.prototype.unset=pi.prototype.T,pi.prototype.changed=pi.prototype.s,pi.prototype.dispatchEvent=pi.prototype.b,pi.prototype.getRevision=pi.prototype.M,pi.prototype.on=pi.prototype.J,pi.prototype.once=pi.prototype.N,pi.prototype.un=pi.prototype.K,pi.prototype.unByKey=pi.prototype.O,tf.prototype.getActive=tf.prototype.f,tf.prototype.getMap=tf.prototype.c,tf.prototype.setActive=tf.prototype.Ea,tf.prototype.get=tf.prototype.get,tf.prototype.getKeys=tf.prototype.S,tf.prototype.getProperties=tf.prototype.R,tf.prototype.set=tf.prototype.set,tf.prototype.setProperties=tf.prototype.I,tf.prototype.unset=tf.prototype.T,tf.prototype.changed=tf.prototype.s,tf.prototype.dispatchEvent=tf.prototype.b,tf.prototype.getRevision=tf.prototype.M,tf.prototype.on=tf.prototype.J,tf.prototype.once=tf.prototype.N,tf.prototype.un=tf.prototype.K,tf.prototype.unByKey=tf.prototype.O,nf.prototype.getActive=nf.prototype.f,nf.prototype.getMap=nf.prototype.c,nf.prototype.setActive=nf.prototype.Ea,nf.prototype.get=nf.prototype.get,nf.prototype.getKeys=nf.prototype.S,nf.prototype.getProperties=nf.prototype.R,nf.prototype.set=nf.prototype.set,nf.prototype.setProperties=nf.prototype.I,nf.prototype.unset=nf.prototype.T,nf.prototype.changed=nf.prototype.s,nf.prototype.dispatchEvent=nf.prototype.b,nf.prototype.getRevision=nf.prototype.M,nf.prototype.on=nf.prototype.J,nf.prototype.once=nf.prototype.N,nf.prototype.un=nf.prototype.K,nf.prototype.unByKey=nf.prototype.O,ss.prototype.type=ss.prototype.type,ss.prototype.target=ss.prototype.target,ss.prototype.preventDefault=ss.prototype.preventDefault,ss.prototype.stopPropagation=ss.prototype.stopPropagation,dt.prototype.getActive=dt.prototype.f,dt.prototype.getMap=dt.prototype.c,dt.prototype.setActive=dt.prototype.Ea,dt.prototype.get=dt.prototype.get,dt.prototype.getKeys=dt.prototype.S,dt.prototype.getProperties=dt.prototype.R,dt.prototype.set=dt.prototype.set,dt.prototype.setProperties=dt.prototype.I,dt.prototype.unset=dt.prototype.T,dt.prototype.changed=dt.prototype.s,dt.prototype.dispatchEvent=dt.prototype.b,dt.prototype.getRevision=dt.prototype.M,dt.prototype.on=dt.prototype.J,dt.prototype.once=dt.prototype.N,dt.prototype.un=dt.prototype.K,dt.prototype.unByKey=dt.prototype.O,nu.prototype.getActive=nu.prototype.f,nu.prototype.getMap=nu.prototype.c,nu.prototype.setActive=nu.prototype.Ea,nu.prototype.get=nu.prototype.get,nu.prototype.getKeys=nu.prototype.S,nu.prototype.getProperties=nu.prototype.R,nu.prototype.set=nu.prototype.set,nu.prototype.setProperties=nu.prototype.I,nu.prototype.unset=nu.prototype.T,nu.prototype.changed=nu.prototype.s,nu.prototype.dispatchEvent=nu.prototype.b,nu.prototype.getRevision=nu.prototype.M,nu.prototype.on=nu.prototype.J,nu.prototype.once=nu.prototype.N,nu.prototype.un=nu.prototype.K,nu.prototype.unByKey=nu.prototype.O,fs.prototype.type=fs.prototype.type,fs.prototype.target=fs.prototype.target,fs.prototype.preventDefault=fs.prototype.preventDefault,fs.prototype.stopPropagation=fs.prototype.stopPropagation,wu.prototype.getActive=wu.prototype.f,wu.prototype.getMap=wu.prototype.c,wu.prototype.setActive=wu.prototype.Ea,wu.prototype.get=wu.prototype.get,wu.prototype.getKeys=wu.prototype.S,wu.prototype.getProperties=wu.prototype.R,wu.prototype.set=wu.prototype.set,wu.prototype.setProperties=wu.prototype.I,wu.prototype.unset=wu.prototype.T,wu.prototype.changed=wu.prototype.s,wu.prototype.dispatchEvent=wu.prototype.b,wu.prototype.getRevision=wu.prototype.M,wu.prototype.on=wu.prototype.J,wu.prototype.once=wu.prototype.N,wu.prototype.un=wu.prototype.K,wu.prototype.unByKey=wu.prototype.O,bu.prototype.getActive=bu.prototype.f,bu.prototype.getMap=bu.prototype.c,bu.prototype.setActive=bu.prototype.Ea,bu.prototype.get=bu.prototype.get,bu.prototype.getKeys=bu.prototype.S,bu.prototype.getProperties=bu.prototype.R,bu.prototype.set=bu.prototype.set,bu.prototype.setProperties=bu.prototype.I,bu.prototype.unset=bu.prototype.T,bu.prototype.changed=bu.prototype.s,bu.prototype.dispatchEvent=bu.prototype.b,bu.prototype.getRevision=bu.prototype.M,bu.prototype.on=bu.prototype.J,bu.prototype.once=bu.prototype.N,bu.prototype.un=bu.prototype.K,bu.prototype.unByKey=bu.prototype.O,of.prototype.getActive=of.prototype.f,of.prototype.getMap=of.prototype.c,of.prototype.setActive=of.prototype.Ea,of.prototype.get=of.prototype.get,of.prototype.getKeys=of.prototype.S,of.prototype.getProperties=of.prototype.R,of.prototype.set=of.prototype.set,of.prototype.setProperties=of.prototype.I,of.prototype.unset=of.prototype.T,of.prototype.changed=of.prototype.s,of.prototype.dispatchEvent=of.prototype.b,of.prototype.getRevision=of.prototype.M,of.prototype.on=of.prototype.J,of.prototype.once=of.prototype.N,of.prototype.un=of.prototype.K,of.prototype.unByKey=of.prototype.O,cu.prototype.getGeometry=cu.prototype.V,cu.prototype.getActive=cu.prototype.f,cu.prototype.getMap=cu.prototype.c,cu.prototype.setActive=cu.prototype.Ea,cu.prototype.get=cu.prototype.get,cu.prototype.getKeys=cu.prototype.S,cu.prototype.getProperties=cu.prototype.R,cu.prototype.set=cu.prototype.set,cu.prototype.setProperties=cu.prototype.I,cu.prototype.unset=cu.prototype.T,cu.prototype.changed=cu.prototype.s,cu.prototype.dispatchEvent=cu.prototype.b,cu.prototype.getRevision=cu.prototype.M,cu.prototype.on=cu.prototype.J,cu.prototype.once=cu.prototype.N,cu.prototype.un=cu.prototype.K,cu.prototype.unByKey=cu.prototype.O,dr.prototype.getActive=dr.prototype.f,dr.prototype.getMap=dr.prototype.c,dr.prototype.setActive=dr.prototype.Ea,dr.prototype.get=dr.prototype.get,dr.prototype.getKeys=dr.prototype.S,dr.prototype.getProperties=dr.prototype.R,dr.prototype.set=dr.prototype.set,dr.prototype.setProperties=dr.prototype.I,dr.prototype.unset=dr.prototype.T,dr.prototype.changed=dr.prototype.s,dr.prototype.dispatchEvent=dr.prototype.b,dr.prototype.getRevision=dr.prototype.M,dr.prototype.on=dr.prototype.J,dr.prototype.once=dr.prototype.N,dr.prototype.un=dr.prototype.K,dr.prototype.unByKey=dr.prototype.O,ch.prototype.type=ch.prototype.type,ch.prototype.target=ch.prototype.target,ch.prototype.preventDefault=ch.prototype.preventDefault,ch.prototype.stopPropagation=ch.prototype.stopPropagation,gr.prototype.getActive=gr.prototype.f,gr.prototype.getMap=gr.prototype.c,gr.prototype.setActive=gr.prototype.Ea,gr.prototype.get=gr.prototype.get,gr.prototype.getKeys=gr.prototype.S,gr.prototype.getProperties=gr.prototype.R,gr.prototype.set=gr.prototype.set,gr.prototype.setProperties=gr.prototype.I,gr.prototype.unset=gr.prototype.T,gr.prototype.changed=gr.prototype.s,gr.prototype.dispatchEvent=gr.prototype.b,gr.prototype.getRevision=gr.prototype.M,gr.prototype.on=gr.prototype.J,gr.prototype.once=gr.prototype.N,gr.prototype.un=gr.prototype.K,gr.prototype.unByKey=gr.prototype.O,bc.prototype.type=bc.prototype.type,bc.prototype.target=bc.prototype.target,bc.prototype.preventDefault=bc.prototype.preventDefault,bc.prototype.stopPropagation=bc.prototype.stopPropagation,rf.prototype.getActive=rf.prototype.f,rf.prototype.getMap=rf.prototype.c,rf.prototype.setActive=rf.prototype.Ea,rf.prototype.get=rf.prototype.get,rf.prototype.getKeys=rf.prototype.S,rf.prototype.getProperties=rf.prototype.R,rf.prototype.set=rf.prototype.set,rf.prototype.setProperties=rf.prototype.I,rf.prototype.unset=rf.prototype.T,rf.prototype.changed=rf.prototype.s,rf.prototype.dispatchEvent=rf.prototype.b,rf.prototype.getRevision=rf.prototype.M,rf.prototype.on=rf.prototype.J,rf.prototype.once=rf.prototype.N,rf.prototype.un=rf.prototype.K,rf.prototype.unByKey=rf.prototype.O,uf.prototype.getActive=uf.prototype.f,uf.prototype.getMap=uf.prototype.c,uf.prototype.setActive=uf.prototype.Ea,uf.prototype.get=uf.prototype.get,uf.prototype.getKeys=uf.prototype.S,uf.prototype.getProperties=uf.prototype.R,uf.prototype.set=uf.prototype.set,uf.prototype.setProperties=uf.prototype.I,uf.prototype.unset=uf.prototype.T,uf.prototype.changed=uf.prototype.s,uf.prototype.dispatchEvent=uf.prototype.b,uf.prototype.getRevision=uf.prototype.M,uf.prototype.on=uf.prototype.J,uf.prototype.once=uf.prototype.N,uf.prototype.un=uf.prototype.K,uf.prototype.unByKey=uf.prototype.O,pu.prototype.getActive=pu.prototype.f,pu.prototype.getMap=pu.prototype.c,pu.prototype.setActive=pu.prototype.Ea,pu.prototype.get=pu.prototype.get,pu.prototype.getKeys=pu.prototype.S,pu.prototype.getProperties=pu.prototype.R,pu.prototype.set=pu.prototype.set,pu.prototype.setProperties=pu.prototype.I,pu.prototype.unset=pu.prototype.T,pu.prototype.changed=pu.prototype.s,pu.prototype.dispatchEvent=pu.prototype.b,pu.prototype.getRevision=pu.prototype.M,pu.prototype.on=pu.prototype.J,pu.prototype.once=pu.prototype.N,pu.prototype.un=pu.prototype.K,pu.prototype.unByKey=pu.prototype.O,hs.prototype.type=hs.prototype.type,hs.prototype.target=hs.prototype.target,hs.prototype.preventDefault=hs.prototype.preventDefault,hs.prototype.stopPropagation=hs.prototype.stopPropagation,tu.prototype.getActive=tu.prototype.f,tu.prototype.getMap=tu.prototype.c,tu.prototype.setActive=tu.prototype.Ea,tu.prototype.get=tu.prototype.get,tu.prototype.getKeys=tu.prototype.S,tu.prototype.getProperties=tu.prototype.R,tu.prototype.set=tu.prototype.set,tu.prototype.setProperties=tu.prototype.I,tu.prototype.unset=tu.prototype.T,tu.prototype.changed=tu.prototype.s,tu.prototype.dispatchEvent=tu.prototype.b,tu.prototype.getRevision=tu.prototype.M,tu.prototype.on=tu.prototype.J,tu.prototype.once=tu.prototype.N,tu.prototype.un=tu.prototype.K,tu.prototype.unByKey=tu.prototype.O,ku.prototype.getActive=ku.prototype.f,ku.prototype.getMap=ku.prototype.c,ku.prototype.setActive=ku.prototype.Ea,ku.prototype.get=ku.prototype.get,ku.prototype.getKeys=ku.prototype.S,ku.prototype.getProperties=ku.prototype.R,ku.prototype.set=ku.prototype.set,ku.prototype.setProperties=ku.prototype.I,ku.prototype.unset=ku.prototype.T,ku.prototype.changed=ku.prototype.s,ku.prototype.dispatchEvent=ku.prototype.b,ku.prototype.getRevision=ku.prototype.M,ku.prototype.on=ku.prototype.J,ku.prototype.once=ku.prototype.N,ku.prototype.un=ku.prototype.K,ku.prototype.unByKey=ku.prototype.O,du.prototype.getActive=du.prototype.f,du.prototype.getMap=du.prototype.c,du.prototype.setActive=du.prototype.Ea,du.prototype.get=du.prototype.get,du.prototype.getKeys=du.prototype.S,du.prototype.getProperties=du.prototype.R,du.prototype.set=du.prototype.set,du.prototype.setProperties=du.prototype.I,du.prototype.unset=du.prototype.T,du.prototype.changed=du.prototype.s,du.prototype.dispatchEvent=du.prototype.b,du.prototype.getRevision=du.prototype.M,du.prototype.on=du.prototype.J,du.prototype.once=du.prototype.N,du.prototype.un=du.prototype.K,du.prototype.unByKey=du.prototype.O,sr.prototype.getActive=sr.prototype.f,sr.prototype.getMap=sr.prototype.c,sr.prototype.setActive=sr.prototype.Ea,sr.prototype.get=sr.prototype.get,sr.prototype.getKeys=sr.prototype.S,sr.prototype.getProperties=sr.prototype.R,sr.prototype.set=sr.prototype.set,sr.prototype.setProperties=sr.prototype.I,sr.prototype.unset=sr.prototype.T,sr.prototype.changed=sr.prototype.s,sr.prototype.dispatchEvent=sr.prototype.b,sr.prototype.getRevision=sr.prototype.M,sr.prototype.on=sr.prototype.J,sr.prototype.once=sr.prototype.N,sr.prototype.un=sr.prototype.K,sr.prototype.unByKey=sr.prototype.O,cs.prototype.type=cs.prototype.type,cs.prototype.target=cs.prototype.target,cs.prototype.preventDefault=cs.prototype.preventDefault,cs.prototype.stopPropagation=cs.prototype.stopPropagation,su.prototype.getActive=su.prototype.f,su.prototype.getMap=su.prototype.c,su.prototype.setActive=su.prototype.Ea,su.prototype.get=su.prototype.get,su.prototype.getKeys=su.prototype.S,su.prototype.getProperties=su.prototype.R,su.prototype.set=su.prototype.set,su.prototype.setProperties=su.prototype.I,su.prototype.unset=su.prototype.T,su.prototype.changed=su.prototype.s,su.prototype.dispatchEvent=su.prototype.b,su.prototype.getRevision=su.prototype.M,su.prototype.on=su.prototype.J,su.prototype.once=su.prototype.N,su.prototype.un=su.prototype.K,su.prototype.unByKey=su.prototype.O,uu.prototype.getActive=uu.prototype.f,uu.prototype.getMap=uu.prototype.c,uu.prototype.setActive=uu.prototype.Ea,uu.prototype.get=uu.prototype.get,uu.prototype.getKeys=uu.prototype.S,uu.prototype.getProperties=uu.prototype.R,uu.prototype.set=uu.prototype.set,uu.prototype.setProperties=uu.prototype.I,uu.prototype.unset=uu.prototype.T,uu.prototype.changed=uu.prototype.s,uu.prototype.dispatchEvent=uu.prototype.b,uu.prototype.getRevision=uu.prototype.M,uu.prototype.on=uu.prototype.J,uu.prototype.once=uu.prototype.N,uu.prototype.un=uu.prototype.K,uu.prototype.unByKey=uu.prototype.O,ls.prototype.type=ls.prototype.type,ls.prototype.target=ls.prototype.target,ls.prototype.preventDefault=ls.prototype.preventDefault,ls.prototype.stopPropagation=ls.prototype.stopPropagation,bi.prototype.get=bi.prototype.get,bi.prototype.getKeys=bi.prototype.S,bi.prototype.getProperties=bi.prototype.R,bi.prototype.set=bi.prototype.set,bi.prototype.setProperties=bi.prototype.I,bi.prototype.unset=bi.prototype.T,bi.prototype.changed=bi.prototype.s,bi.prototype.dispatchEvent=bi.prototype.b,bi.prototype.getRevision=bi.prototype.M,bi.prototype.on=bi.prototype.J,bi.prototype.once=bi.prototype.N,bi.prototype.un=bi.prototype.K,bi.prototype.unByKey=bi.prototype.O,et.prototype.getClosestPoint=et.prototype.Cb,et.prototype.intersectsCoordinate=et.prototype.mb,et.prototype.getExtent=et.prototype.G,et.prototype.rotate=et.prototype.rotate,et.prototype.scale=et.prototype.scale,et.prototype.simplify=et.prototype.Jb,et.prototype.transform=et.prototype.ob,et.prototype.get=et.prototype.get,et.prototype.getKeys=et.prototype.S,et.prototype.getProperties=et.prototype.R,et.prototype.set=et.prototype.set,et.prototype.setProperties=et.prototype.I,et.prototype.unset=et.prototype.T,et.prototype.changed=et.prototype.s,et.prototype.dispatchEvent=et.prototype.b,et.prototype.getRevision=et.prototype.M,et.prototype.on=et.prototype.J,et.prototype.once=et.prototype.N,et.prototype.un=et.prototype.K,et.prototype.unByKey=et.prototype.O,ht.prototype.getFirstCoordinate=ht.prototype.Rb,ht.prototype.getLastCoordinate=ht.prototype.Sb,ht.prototype.getLayout=ht.prototype.Tb,ht.prototype.rotate=ht.prototype.rotate,ht.prototype.scale=ht.prototype.scale,ht.prototype.getClosestPoint=ht.prototype.Cb,ht.prototype.intersectsCoordinate=ht.prototype.mb,ht.prototype.getExtent=ht.prototype.G,ht.prototype.simplify=ht.prototype.Jb,ht.prototype.get=ht.prototype.get,ht.prototype.getKeys=ht.prototype.S,ht.prototype.getProperties=ht.prototype.R,ht.prototype.set=ht.prototype.set,ht.prototype.setProperties=ht.prototype.I,ht.prototype.unset=ht.prototype.T,ht.prototype.changed=ht.prototype.s,ht.prototype.dispatchEvent=ht.prototype.b,ht.prototype.getRevision=ht.prototype.M,ht.prototype.on=ht.prototype.J,ht.prototype.once=ht.prototype.N,ht.prototype.un=ht.prototype.K,ht.prototype.unByKey=ht.prototype.O,bt.prototype.getClosestPoint=bt.prototype.Cb,bt.prototype.intersectsCoordinate=bt.prototype.mb,bt.prototype.getExtent=bt.prototype.G,bt.prototype.rotate=bt.prototype.rotate,bt.prototype.scale=bt.prototype.scale,bt.prototype.simplify=bt.prototype.Jb,bt.prototype.transform=bt.prototype.ob,bt.prototype.get=bt.prototype.get,bt.prototype.getKeys=bt.prototype.S,bt.prototype.getProperties=bt.prototype.R,bt.prototype.set=bt.prototype.set,bt.prototype.setProperties=bt.prototype.I,bt.prototype.unset=bt.prototype.T,bt.prototype.changed=bt.prototype.s,bt.prototype.dispatchEvent=bt.prototype.b,bt.prototype.getRevision=bt.prototype.M,bt.prototype.on=bt.prototype.J,bt.prototype.once=bt.prototype.N,bt.prototype.un=bt.prototype.K,bt.prototype.unByKey=bt.prototype.O,yt.prototype.getFirstCoordinate=yt.prototype.Rb,yt.prototype.getLastCoordinate=yt.prototype.Sb,yt.prototype.getLayout=yt.prototype.Tb,yt.prototype.rotate=yt.prototype.rotate,yt.prototype.scale=yt.prototype.scale,yt.prototype.getClosestPoint=yt.prototype.Cb,yt.prototype.intersectsCoordinate=yt.prototype.mb,yt.prototype.getExtent=yt.prototype.G,yt.prototype.simplify=yt.prototype.Jb,yt.prototype.transform=yt.prototype.ob,yt.prototype.get=yt.prototype.get,yt.prototype.getKeys=yt.prototype.S,yt.prototype.getProperties=yt.prototype.R,yt.prototype.set=yt.prototype.set,yt.prototype.setProperties=yt.prototype.I,yt.prototype.unset=yt.prototype.T,yt.prototype.changed=yt.prototype.s,yt.prototype.dispatchEvent=yt.prototype.b,yt.prototype.getRevision=yt.prototype.M,yt.prototype.on=yt.prototype.J,yt.prototype.once=yt.prototype.N,yt.prototype.un=yt.prototype.K,yt.prototype.unByKey=yt.prototype.O,l.prototype.getFirstCoordinate=l.prototype.Rb,l.prototype.getLastCoordinate=l.prototype.Sb,l.prototype.getLayout=l.prototype.Tb,l.prototype.rotate=l.prototype.rotate,l.prototype.scale=l.prototype.scale,l.prototype.getClosestPoint=l.prototype.Cb,l.prototype.intersectsCoordinate=l.prototype.mb,l.prototype.getExtent=l.prototype.G,l.prototype.simplify=l.prototype.Jb,l.prototype.transform=l.prototype.ob,l.prototype.get=l.prototype.get,l.prototype.getKeys=l.prototype.S,l.prototype.getProperties=l.prototype.R,l.prototype.set=l.prototype.set,l.prototype.setProperties=l.prototype.I,l.prototype.unset=l.prototype.T,l.prototype.changed=l.prototype.s,l.prototype.dispatchEvent=l.prototype.b,l.prototype.getRevision=l.prototype.M,l.prototype.on=l.prototype.J,l.prototype.once=l.prototype.N,l.prototype.un=l.prototype.K,l.prototype.unByKey=l.prototype.O,y.prototype.getFirstCoordinate=y.prototype.Rb,y.prototype.getLastCoordinate=y.prototype.Sb,y.prototype.getLayout=y.prototype.Tb,y.prototype.rotate=y.prototype.rotate,y.prototype.scale=y.prototype.scale,y.prototype.getClosestPoint=y.prototype.Cb,y.prototype.intersectsCoordinate=y.prototype.mb,y.prototype.getExtent=y.prototype.G,y.prototype.simplify=y.prototype.Jb,y.prototype.transform=y.prototype.ob,y.prototype.get=y.prototype.get,y.prototype.getKeys=y.prototype.S,y.prototype.getProperties=y.prototype.R,y.prototype.set=y.prototype.set,y.prototype.setProperties=y.prototype.I,y.prototype.unset=y.prototype.T,y.prototype.changed=y.prototype.s,y.prototype.dispatchEvent=y.prototype.b,y.prototype.getRevision=y.prototype.M,y.prototype.on=y.prototype.J,y.prototype.once=y.prototype.N,y.prototype.un=y.prototype.K,y.prototype.unByKey=y.prototype.O,it.prototype.getFirstCoordinate=it.prototype.Rb,it.prototype.getLastCoordinate=it.prototype.Sb,it.prototype.getLayout=it.prototype.Tb,it.prototype.rotate=it.prototype.rotate,it.prototype.scale=it.prototype.scale,it.prototype.getClosestPoint=it.prototype.Cb,it.prototype.intersectsCoordinate=it.prototype.mb,it.prototype.getExtent=it.prototype.G,it.prototype.simplify=it.prototype.Jb,it.prototype.transform=it.prototype.ob,it.prototype.get=it.prototype.get,it.prototype.getKeys=it.prototype.S,it.prototype.getProperties=it.prototype.R,it.prototype.set=it.prototype.set,it.prototype.setProperties=it.prototype.I,it.prototype.unset=it.prototype.T,it.prototype.changed=it.prototype.s,it.prototype.dispatchEvent=it.prototype.b,it.prototype.getRevision=it.prototype.M,it.prototype.on=it.prototype.J,it.prototype.once=it.prototype.N,it.prototype.un=it.prototype.K,it.prototype.unByKey=it.prototype.O,w.prototype.getFirstCoordinate=w.prototype.Rb,w.prototype.getLastCoordinate=w.prototype.Sb,w.prototype.getLayout=w.prototype.Tb,w.prototype.rotate=w.prototype.rotate,w.prototype.scale=w.prototype.scale,w.prototype.getClosestPoint=w.prototype.Cb,w.prototype.intersectsCoordinate=w.prototype.mb,w.prototype.getExtent=w.prototype.G,w.prototype.simplify=w.prototype.Jb,w.prototype.transform=w.prototype.ob,w.prototype.get=w.prototype.get,w.prototype.getKeys=w.prototype.S,w.prototype.getProperties=w.prototype.R,w.prototype.set=w.prototype.set,w.prototype.setProperties=w.prototype.I,w.prototype.unset=w.prototype.T,w.prototype.changed=w.prototype.s,w.prototype.dispatchEvent=w.prototype.b,w.prototype.getRevision=w.prototype.M,w.prototype.on=w.prototype.J,w.prototype.once=w.prototype.N,w.prototype.un=w.prototype.K,w.prototype.unByKey=w.prototype.O,a.prototype.getFirstCoordinate=a.prototype.Rb,a.prototype.getLastCoordinate=a.prototype.Sb,a.prototype.getLayout=a.prototype.Tb,a.prototype.rotate=a.prototype.rotate,a.prototype.scale=a.prototype.scale,a.prototype.getClosestPoint=a.prototype.Cb,a.prototype.intersectsCoordinate=a.prototype.mb,a.prototype.getExtent=a.prototype.G,a.prototype.simplify=a.prototype.Jb,a.prototype.transform=a.prototype.ob,a.prototype.get=a.prototype.get,a.prototype.getKeys=a.prototype.S,a.prototype.getProperties=a.prototype.R,a.prototype.set=a.prototype.set,a.prototype.setProperties=a.prototype.I,a.prototype.unset=a.prototype.T,a.prototype.changed=a.prototype.s,a.prototype.dispatchEvent=a.prototype.b,a.prototype.getRevision=a.prototype.M,a.prototype.on=a.prototype.J,a.prototype.once=a.prototype.N,a.prototype.un=a.prototype.K,a.prototype.unByKey=a.prototype.O,c.prototype.getFirstCoordinate=c.prototype.Rb,c.prototype.getLastCoordinate=c.prototype.Sb,c.prototype.getLayout=c.prototype.Tb,c.prototype.rotate=c.prototype.rotate,c.prototype.scale=c.prototype.scale,c.prototype.getClosestPoint=c.prototype.Cb,c.prototype.intersectsCoordinate=c.prototype.mb,c.prototype.getExtent=c.prototype.G,c.prototype.simplify=c.prototype.Jb,c.prototype.transform=c.prototype.ob,c.prototype.get=c.prototype.get,c.prototype.getKeys=c.prototype.S,c.prototype.getProperties=c.prototype.R,c.prototype.set=c.prototype.set,c.prototype.setProperties=c.prototype.I,c.prototype.unset=c.prototype.T,c.prototype.changed=c.prototype.s,c.prototype.dispatchEvent=c.prototype.b,c.prototype.getRevision=c.prototype.M,c.prototype.on=c.prototype.J,c.prototype.once=c.prototype.N,c.prototype.un=c.prototype.K,c.prototype.unByKey=c.prototype.O,st.prototype.readFeatures=st.prototype.La,ul.prototype.readFeatures=ul.prototype.La,st.prototype.readFeatures=st.prototype.La,ni.prototype.get=ni.prototype.get,ni.prototype.getKeys=ni.prototype.S,ni.prototype.getProperties=ni.prototype.R,ni.prototype.set=ni.prototype.set,ni.prototype.setProperties=ni.prototype.I,ni.prototype.unset=ni.prototype.T,ni.prototype.changed=ni.prototype.s,ni.prototype.dispatchEvent=ni.prototype.b,ni.prototype.getRevision=ni.prototype.M,ni.prototype.on=ni.prototype.J,ni.prototype.once=ni.prototype.N,ni.prototype.un=ni.prototype.K,ni.prototype.unByKey=ni.prototype.O,hr.prototype.getMap=hr.prototype.i,hr.prototype.setMap=hr.prototype.setMap,hr.prototype.setTarget=hr.prototype.c,hr.prototype.get=hr.prototype.get,hr.prototype.getKeys=hr.prototype.S,hr.prototype.getProperties=hr.prototype.R,hr.prototype.set=hr.prototype.set,hr.prototype.setProperties=hr.prototype.I,hr.prototype.unset=hr.prototype.T,hr.prototype.changed=hr.prototype.s,hr.prototype.dispatchEvent=hr.prototype.b,hr.prototype.getRevision=hr.prototype.M,hr.prototype.on=hr.prototype.J,hr.prototype.once=hr.prototype.N,hr.prototype.un=hr.prototype.K,hr.prototype.unByKey=hr.prototype.O,vu.prototype.getMap=vu.prototype.i,vu.prototype.setMap=vu.prototype.setMap,vu.prototype.setTarget=vu.prototype.c,vu.prototype.get=vu.prototype.get,vu.prototype.getKeys=vu.prototype.S,vu.prototype.getProperties=vu.prototype.R,vu.prototype.set=vu.prototype.set,vu.prototype.setProperties=vu.prototype.I,vu.prototype.unset=vu.prototype.T,vu.prototype.changed=vu.prototype.s,vu.prototype.dispatchEvent=vu.prototype.b,vu.prototype.getRevision=vu.prototype.M,vu.prototype.on=vu.prototype.J,vu.prototype.once=vu.prototype.N,vu.prototype.un=vu.prototype.K,vu.prototype.unByKey=vu.prototype.O,ar.prototype.getMap=ar.prototype.i,ar.prototype.setMap=ar.prototype.setMap,ar.prototype.setTarget=ar.prototype.c,ar.prototype.get=ar.prototype.get,ar.prototype.getKeys=ar.prototype.S,ar.prototype.getProperties=ar.prototype.R,ar.prototype.set=ar.prototype.set,ar.prototype.setProperties=ar.prototype.I,ar.prototype.unset=ar.prototype.T,ar.prototype.changed=ar.prototype.s,ar.prototype.dispatchEvent=ar.prototype.b,ar.prototype.getRevision=ar.prototype.M,ar.prototype.on=ar.prototype.J,ar.prototype.once=ar.prototype.N,ar.prototype.un=ar.prototype.K,ar.prototype.unByKey=ar.prototype.O,or.prototype.getMap=or.prototype.i,or.prototype.setMap=or.prototype.setMap,or.prototype.setTarget=or.prototype.c,or.prototype.get=or.prototype.get,or.prototype.getKeys=or.prototype.S,or.prototype.getProperties=or.prototype.R,or.prototype.set=or.prototype.set,or.prototype.setProperties=or.prototype.I,or.prototype.unset=or.prototype.T,or.prototype.changed=or.prototype.s,or.prototype.dispatchEvent=or.prototype.b,or.prototype.getRevision=or.prototype.M,or.prototype.on=or.prototype.J,or.prototype.once=or.prototype.N,or.prototype.un=or.prototype.K,or.prototype.unByKey=or.prototype.O,yu.prototype.getMap=yu.prototype.i,yu.prototype.setMap=yu.prototype.setMap,yu.prototype.setTarget=yu.prototype.c,yu.prototype.get=yu.prototype.get,yu.prototype.getKeys=yu.prototype.S,yu.prototype.getProperties=yu.prototype.R,yu.prototype.set=yu.prototype.set,yu.prototype.setProperties=yu.prototype.I,yu.prototype.unset=yu.prototype.T,yu.prototype.changed=yu.prototype.s,yu.prototype.dispatchEvent=yu.prototype.b,yu.prototype.getRevision=yu.prototype.M,yu.prototype.on=yu.prototype.J,yu.prototype.once=yu.prototype.N,yu.prototype.un=yu.prototype.K,yu.prototype.unByKey=yu.prototype.O,br.prototype.getMap=br.prototype.i,br.prototype.setMap=br.prototype.setMap,br.prototype.setTarget=br.prototype.c,br.prototype.get=br.prototype.get,br.prototype.getKeys=br.prototype.S,br.prototype.getProperties=br.prototype.R,br.prototype.set=br.prototype.set,br.prototype.setProperties=br.prototype.I,br.prototype.unset=br.prototype.T,br.prototype.changed=br.prototype.s,br.prototype.dispatchEvent=br.prototype.b,br.prototype.getRevision=br.prototype.M,br.prototype.on=br.prototype.J,br.prototype.once=br.prototype.N,br.prototype.un=br.prototype.K,br.prototype.unByKey=br.prototype.O,hu.prototype.getMap=hu.prototype.i,hu.prototype.setMap=hu.prototype.setMap,hu.prototype.setTarget=hu.prototype.c,hu.prototype.get=hu.prototype.get,hu.prototype.getKeys=hu.prototype.S,hu.prototype.getProperties=hu.prototype.R,hu.prototype.set=hu.prototype.set,hu.prototype.setProperties=hu.prototype.I,hu.prototype.unset=hu.prototype.T,hu.prototype.changed=hu.prototype.s,hu.prototype.dispatchEvent=hu.prototype.b,hu.prototype.getRevision=hu.prototype.M,hu.prototype.on=hu.prototype.J,hu.prototype.once=hu.prototype.N,hu.prototype.un=hu.prototype.K,hu.prototype.unByKey=hu.prototype.O,gu.prototype.getMap=gu.prototype.i,gu.prototype.setMap=gu.prototype.setMap,gu.prototype.setTarget=gu.prototype.c,gu.prototype.get=gu.prototype.get,gu.prototype.getKeys=gu.prototype.S,gu.prototype.getProperties=gu.prototype.R,gu.prototype.set=gu.prototype.set,gu.prototype.setProperties=gu.prototype.I,gu.prototype.unset=gu.prototype.T,gu.prototype.changed=gu.prototype.s,gu.prototype.dispatchEvent=gu.prototype.b,gu.prototype.getRevision=gu.prototype.M,gu.prototype.on=gu.prototype.J,gu.prototype.once=gu.prototype.N,gu.prototype.un=gu.prototype.K,gu.prototype.unByKey=gu.prototype.O,ff.prototype.getMap=ff.prototype.i,ff.prototype.setMap=ff.prototype.setMap,ff.prototype.setTarget=ff.prototype.c,ff.prototype.get=ff.prototype.get,ff.prototype.getKeys=ff.prototype.S,ff.prototype.getProperties=ff.prototype.R,ff.prototype.set=ff.prototype.set,ff.prototype.setProperties=ff.prototype.I,ff.prototype.unset=ff.prototype.T,ff.prototype.changed=ff.prototype.s,ff.prototype.dispatchEvent=ff.prototype.b,ff.prototype.getRevision=ff.prototype.M,ff.prototype.on=ff.prototype.J,ff.prototype.once=ff.prototype.N,ff.prototype.un=ff.prototype.K,ff.prototype.unByKey=ff.prototype.O,rlt.ol});window.DefaultFireInitGEOMap=!0;window.app={};var app=window.app,map,taipeilayer,nation_Layer,markerLayer,gmap,geocoder,view,runasProxy=!0,sitename="/MapHelp";$(document).ready(function(){window.DefaultFireInitGEOMap&&(proj4.defs("EPSG:3826",'PROJCS["TWD97 / TM2 zone 121",GEOGCS["TWD97", DATUM["Taiwan_Datum_1997", SPHEROID["GRS 1980",6378137,298.257222101, AUTHORITY["EPSG","7019"]],TOWGS84[0,0,0,0,0,0,0], AUTHORITY["EPSG","1026"]],PRIMEM["Greenwich",0, AUTHORITY["EPSG","8901"]], UNIT["degree",0.0174532925199433, AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","3824"]], PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0], PARAMETER["central_meridian",121], PARAMETER["scale_factor",0.9999], PARAMETER["false_easting",250000], PARAMETER["false_northing",0], UNIT["metre",1, AUTHORITY["EPSG","9001"]],AXIS["X",EAST], AXIS["Y",NORTH], AUTHORITY["EPSG","3826"]]'),initRallyMap("omap","gmap"))});app.RotateNorthControl=function(n){var r=n||{},i=document.createElement("IMG"),t;i.src=typeof n=="undefined"||typeof n.imgsrc=="undefined"?rootsite+"images/btn_compass1.png":n.imgsrc;t=document.createElement("div");t.className="rotate-north";t.appendChild(i);ol.control.Control.call(this,{element:t,target:r.target})};ol.inherits(app.RotateNorthControl,ol.control.Control)