mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-30 17:13:19 -05:00
1 line
499 KiB
JavaScript
1 line
499 KiB
JavaScript
!function(t,e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define([],e):t.ol=e()}(this,function(){var t,e,o,r={},n=this;function i(t,e){var o,i=r;t=t.split("."),i=i||n,t[0]in i||!i.execScript||i.execScript("var "+t[0]);for(;t.length&&(o=t.shift());)t.length||void 0===e?i=i[o]&&i[o]!==Object.prototype[o]?i[o]:i[o]={}:i[o]=e}function N(t,e){return e<t?1:t<e?-1:0}function d(t,e){return 0<=t.indexOf(e)}function l(t,e,o){var i=t.length;if(t[0]<=e)return 0;if(!(e<=t[i-1]))if(0<o){for(o=1;o<i;++o)if(t[o]<e)return o-1}else if(o<0){for(o=1;o<i;++o)if(t[o]<=e)return o}else for(o=1;o<i;++o){if(t[o]==e)return o;if(t[o]<e)return t[o-1]-e<e-t[o]?o-1:o}return i-1}function c(t,e){var o=Array.isArray(e)?e:[e],i=o.length;for(e=0;e<i;e++)t[t.length]=o[e]}function p(t,e){-1<(e=t.indexOf(e))&&t.splice(e,1)}function v(t,e){for(var o,i=t.length>>>0,r=0;r<i;r++)if(e(o=t[r],r,t))return o;return null}function U(t,e){var o=t.length;if(o!==e.length)return!1;for(var i=0;i<o;i++)if(t[i]!==e[i])return!1;return!0}function u(t){var e,o=cp,i=t.length,r=Array(t.length);for(e=0;e<i;e++)r[e]={index:e,value:t[e]};for(r.sort(function(t,e){return o(t.value,e.value)||t.index-e.index}),e=0;e<t.length;e++)t[e]=r[e].value}function b(o,i){var r;return o.every(function(t,e){return!i(t,r=e,o)})?-1:r}function s(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t}function m(){}function G(t){return t.Vo||(t.Vo=++a)}var a=0;function h(t){this.message="Assertion failed. See https://openlayers.org/en/v4.2.0/doc/errors/#"+t+" for details.",this.code=t,this.name="AssertionError"}function R(t,e){if(!t)throw new h(e)}function I(t,e,o,i){this.ca=t,this.$=e,this.da=o,this.ia=i}function y(t,e,o){return t.ca<=e&&e<=t.$&&t.da<=o&&o<=t.ia}function C(t,e){return t.ca<=e.$&&t.$>=e.ca&&t.da<=e.ia&&t.ia>=e.da}function w(t,e,o){return Math.min(Math.max(t,e),o)}s(h,Error);var f="cosh"in Math?Math.cosh:function(t){return((t=Math.exp(t))+1/t)/2};function x(t,e,o,i,r,n){var p=r-o,s=n-i;if(p||s){var a=((t-o)*p+(e-i)*s)/(p*p+s*s);1<a?(o=r,i=n):0<a&&(o+=p*a,i+=s*a)}return g(t,e,o,i)}function g(t,e,o,i){return(t=o-t)*t+(e=i-e)*e}function S(t){return t*Math.PI/180}function L(t,e){return(t%=e)*e<0?t+e:t}function M(t,e,o){return t+o*(e-t)}function P(t,e,o){return void 0===o&&(o=[0,0]),o[0]=t[0]+2*e,o[1]=t[1]+2*e,o}function A(t,e,o){return void 0===o&&(o=[0,0]),o[0]=t[0]*e+.5|0,o[1]=t[1]*e+.5|0,o}function F(t,e){return Array.isArray(t)?t:(void 0===e?e=[t,t]:e[0]=e[1]=t,e)}function E(t){for(var e=V(),o=0,i=t.length;o<i;++o)q(e,t[o]);return e}function T(t,e,o){return o?(o[0]=t[0]-e,o[1]=t[1]-e,o[2]=t[2]+e,o[3]=t[3]+e,o):[t[0]-e,t[1]-e,t[2]+e,t[3]+e]}function j(t,e){return e?(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e):t.slice()}function k(t,e,o){return(e=e<t[0]?t[0]-e:t[2]<e?e-t[2]:0)*e+(t=o<t[1]?t[1]-o:t[3]<o?o-t[3]:0)*t}function D(t,e){return B(t,e[0],e[1])}function O(t,e){return t[0]<=e[0]&&e[2]<=t[2]&&t[1]<=e[1]&&e[3]<=t[3]}function B(t,e,o){return t[0]<=e&&e<=t[2]&&t[1]<=o&&o<=t[3]}function X(t,e){var o=t[1],i=t[2],r=t[3],n=e[0];e=e[1];var p=0;return n<t[0]?p|=16:i<n&&(p|=4),e<o?p|=8:r<e&&(p|=2),p=p||1}function V(){return[1/0,1/0,-1/0,-1/0]}function W(t,e,o,i,r){return r?(r[0]=t,r[1]=e,r[2]=o,r[3]=i,r):[t,e,o,i]}function Z(t){return W(1/0,1/0,-1/0,-1/0,t)}function K(t,e){var o=t[0];return W(o,t=t[1],o,t,e)}function z(t,e,o,i,r){return J(r=Z(r),t,e,o,i)}function Y(t,e){return t[0]==e[0]&&t[2]==e[2]&&t[1]==e[1]&&t[3]==e[3]}function H(t,e){return e[0]<t[0]&&(t[0]=e[0]),e[2]>t[2]&&(t[2]=e[2]),e[1]<t[1]&&(t[1]=e[1]),e[3]>t[3]&&(t[3]=e[3]),t}function q(t,e){e[0]<t[0]&&(t[0]=e[0]),e[0]>t[2]&&(t[2]=e[0]),e[1]<t[1]&&(t[1]=e[1]),e[1]>t[3]&&(t[3]=e[1])}function J(t,e,o,i,r){for(;o<i;o+=r){var n=t,p=e[o],s=e[o+1];n[0]=Math.min(n[0],p),n[1]=Math.min(n[1],s),n[2]=Math.max(n[2],p),n[3]=Math.max(n[3],s)}return t}function _(t,e,o){var i;return(i=e.call(o,Q(t)))||(i=e.call(o,tt(t)))||(i=e.call(o,pt(t)))?i:!!(i=e.call(o,nt(t)))&&i}function $(t){var e=0;return ht(t)||(e=st(t)*it(t)),e}function Q(t){return[t[0],t[1]]}function tt(t){return[t[2],t[1]]}function et(t){return[(t[0]+t[2])/2,(t[1]+t[3])/2]}function ot(t,e,o,i,r){var n=e*i[0]/2;i=e*i[1]/2,e=Math.cos(o);var p=Math.sin(o);o=n*e,n*=p,e*=i;var s=i*p,a=t[0],h=t[1];t=a-o+s,i=a-o-s,p=a+o-s,o=a+o+s;s=h-n-e,a=h-n+e;var l=h+n+e;n=h+n-e;return W(Math.min(t,i,p,o),Math.min(s,a,l,n),Math.max(t,i,p,o),Math.max(s,a,l,n),r)}function it(t){return t[3]-t[1]}function rt(t,e,o){return o=o||[1/0,1/0,-1/0,-1/0],at(t,e)&&(o[0]=t[0]>e[0]?t[0]:e[0],o[1]=t[1]>e[1]?t[1]:e[1],o[2]=t[2]<e[2]?t[2]:e[2],o[3]=t[3]<e[3]?t[3]:e[3]),o}function nt(t){return[t[0],t[3]]}function pt(t){return[t[2],t[3]]}function st(t){return t[2]-t[0]}function at(t,e){return t[0]<=e[2]&&t[2]>=e[0]&&t[1]<=e[3]&&t[3]>=e[1]}function ht(t){return t[2]<t[0]||t[3]<t[1]}function lt(t,e){var o=(t[2]-t[0])/2*(e-1);e=(t[3]-t[1])/2*(e-1),t[0]-=o,t[2]+=o,t[1]-=e,t[3]+=e}function ut(t,e,o){e(t=[t[0],t[1],t[0],t[3],t[2],t[1],t[2],t[3]],t,2);var i=[t[0],t[2],t[4],t[6]],r=[t[1],t[3],t[5],t[7]];return W(e=Math.min.apply(null,i),t=Math.min.apply(null,r),i=Math.max.apply(null,i),r=Math.max.apply(null,r),o)}var ct="function"==typeof Object.assign?Object.assign:function(t,e){if(!t||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var o=Object(t),i=1,r=arguments.length;i<r;++i){var n=arguments[i];if(null!=n)for(var p in n)n.hasOwnProperty(p)&&(o[p]=n[p])}return o};function yt(t){for(var e in t)delete t[e]}function ft(t){var e,o=[];for(e in t)o.push(t[e]);return o}function gt(t){for(var e in t)return!1;return!e}function dt(t){this.radius=t}dt.prototype.a=function(t){for(var e=0,o=t.length,i=t[o-1][0],r=t[o-1][1],n=0;n<o;n++){var p=t[n][0],s=t[n][1];e=e+S(p-i)*(2+Math.sin(S(r))+Math.sin(S(s))),i=p,r=s}return e*this.radius*this.radius/2},dt.prototype.b=function(t,e){var o=S(t[1]),i=S(e[1]),r=(i-o)/2;return t=S(e[0]-t[0])/2,o=Math.sin(r)*Math.sin(r)+Math.sin(t)*Math.sin(t)*Math.cos(o)*Math.cos(i),2*this.radius*Math.atan2(Math.sqrt(o),Math.sqrt(1-o))},dt.prototype.offset=function(t,e,o){var i=S(t[1]);e/=this.radius;var r=Math.asin(Math.sin(i)*Math.cos(e)+Math.cos(i)*Math.sin(e)*Math.cos(o));return[180*(S(t[0])+Math.atan2(Math.sin(o)*Math.sin(e)*Math.cos(i),Math.cos(e)-Math.sin(i)*Math.sin(r)))/Math.PI,180*r/Math.PI]};var vt=new dt(6370997),bt={};bt.degrees=2*Math.PI*vt.radius/360,bt.ft=.3048,bt.m=1,bt["us-ft"]=1200/3937;var mt=null;function wt(t){this.mb=t.code,this.a=t.units,this.f=void 0!==t.extent?t.extent:null,this.g=void 0!==t.worldExtent?t.worldExtent:null,this.b=void 0!==t.axisOrientation?t.axisOrientation:"enu",this.c=void 0!==t.global&&t.global,this.i=!(!this.c||!this.f),this.o=t.getPointResolution,this.j=null,this.l=t.metersPerUnit;var e=t.code,o=mt||window.proj4;"function"!=typeof o||void 0!==(e=o.defs(e))&&(void 0!==e.axis&&void 0===t.axisOrientation&&(this.b=e.axis),void 0===t.metersPerUnit&&(this.l=e.to_meter),void 0===t.units&&(this.a=e.units))}function xt(t){wt.call(this,{code:t,units:"m",extent:Mt,global:!0,worldExtent:Pt,getPointResolution:function(t,e){return t/f(e[1]/6378137)}})}(t=wt.prototype).Jk=function(){return this.mb},t.G=function(){return this.f},t.Un=function(){return this.a},t.sc=function(){return this.l||bt[this.a]},t.tl=function(){return this.g},t.dm=function(){return this.c},t.$p=function(t){this.c=t,this.i=!(!t||!this.f)},t.Vn=function(t){this.f=t,this.i=!(!this.c||!t)},t.kq=function(t){this.g=t},t.Zp=function(t){this.o=t},s(xt,wt);var St=6378137*Math.PI,Mt=[-St,-St,St,St],Pt=[-180,-85,180,85],At="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(t){return new xt(t)});function Et(t,e,o){var i=t.length;o=1<o?o:2,void 0===e&&(e=2<o?t.slice():Array(i));for(var r=0;r<i;r+=o){e[r]=St*t[r]/180;var n=6378137*Math.log(Math.tan(Math.PI*(t[r+1]+90)/360));St<n?n=St:n<-St&&(n=-St),e[r+1]=n}return e}function Tt(t,e,o){var i=t.length;o=1<o?o:2,void 0===e&&(e=2<o?t.slice():Array(i));for(var r=0;r<i;r+=o)e[r]=180*t[r]/St,e[r+1]=360*Math.atan(Math.exp(t[r+1]/6378137))/Math.PI-90;return e}var jt=new dt(6378137);function Ct(t,e){wt.call(this,{code:t,units:"degrees",extent:Lt,axisOrientation:e,global:!0,metersPerUnit:Rt,worldExtent:Lt})}s(Ct,wt);var Lt=[-180,-90,180,90],Rt=Math.PI*jt.radius/180,It=[new Ct("CRS:84"),new Ct("EPSG:4326","neu"),new Ct("urn:ogc:def:crs:EPSG::4326","neu"),new Ct("urn:ogc:def:crs:EPSG:6.6:4326","neu"),new Ct("urn:ogc:def:crs:OGC:1.3:CRS84"),new Ct("urn:ogc:def:crs:OGC:2:84"),new Ct("http://www.opengis.net/gml/srs/epsg.xml#4326","neu"),new Ct("urn:x-ogc:def:crs:EPSG:4326","neu")],Nt={},Ft={};function kt(t,e,o){t=t.mb,e=e.mb,t in Ft||(Ft[t]={}),Ft[t][e]=o}function Dt(t,e){var o;return t in Ft&&e in Ft[t]&&(o=Ft[t][e]),o}function Ot(t,e,o){var i=(t=Wt(t)).o;return i?e=i(e,o):"degrees"!=t.a&&(e=(i=zt(t,Wt("EPSG:4326")))(e=[o[0]-e/2,o[1],o[0]+e/2,o[1],o[0],o[1]-e/2,o[0],o[1]+e/2],e,2),e=(vt.b(e.slice(0,2),e.slice(2,4))+vt.b(e.slice(4,6),e.slice(6,8)))/2,void 0!==(t=t.sc())&&(e/=t)),e}function Ut(t){t.forEach(Gt),t.forEach(function(e){t.forEach(function(t){e!==t&&kt(e,t,Ht)})})}function Gt(t){kt(Nt[t.mb]=t,t,Ht)}function Bt(t){return t?"string"==typeof t?Wt(t):t:Wt("EPSG:3857")}function Xt(t,e,o,i){kt(t=Wt(t),e=Wt(e),Vt(o)),kt(e,t,Vt(i))}function Vt(p){return function(t,e,o){var i,r=t.length;for(o=void 0!==o?o:2,e=void 0!==e?e:Array(r),i=0;i<r;i+=o){var n=p([t[i],t[i+1]]);for(e[i]=n[0],e[i+1]=n[1],n=o-1;2<=n;--n)e[i+n]=t[i+n]}return e}}function Wt(t){var e=null;if(t instanceof wt)e=t;else if("string"==typeof t){e=Nt[t]||null;var o=mt||window.proj4;e||"function"!=typeof o||void 0===o.defs(t)||Gt(e=new wt({code:t}))}return e}function Zt(t,e){if(t===e)return!0;var o=t.a===e.a;return t.mb===e.mb?o:zt(t,e)===Ht&&o}function Kt(t,e){return zt(t=Wt(t),e=Wt(e))}function zt(t,e){var o=t.mb,i=e.mb,r=Dt(o,i);if(!r){var n=mt||window.proj4;if("function"==typeof n){var p=n.defs(o),s=n.defs(i);void 0!==p&&void 0!==s&&(p===s?Ut([e,t]):Xt(e,t,(r=n(i,o)).forward,r.inverse),r=Dt(o,i))}}return r=r||Yt}function Yt(t,e){if(void 0!==e&&t!==e){for(var o=0,i=t.length;o<i;++o)e[o]=t[o];t=e}return t}function Ht(t,e){if(void 0!==e){for(var o=0,i=t.length;o<i;++o)e[o]=t[o];t=e}else t=t.slice();return t}function qt(t,e,o){return Kt(e,o)(t,void 0,t.length)}function Jt(t,e,o){return ut(t,e=Kt(e,o))}function _t(){Ut(At),Ut(It),It.forEach(function(e){At.forEach(function(t){kt(e,t,Et),kt(t,e,Tt)})})}function $t(t,e,o,i){return void 0!==i?(i[0]=t,i[1]=e,i[2]=o,i):[t,e,o]}function Qt(t){this.minZoom=void 0!==t.minZoom?t.minZoom:0,this.b=t.resolutions,R(function(o,t){var i=t||N;return o.every(function(t,e){return!e||!(0<(t=i(o[e-1],t))||0===t)})}(this.b,function(t,e){return e-t}),17),this.maxZoom=this.b.length-1,this.i=void 0!==t.origin?t.origin:null,this.c=null,void 0!==t.origins&&(this.c=t.origins,R(this.c.length==this.b.length,20));var e=t.extent;void 0===e||this.i||this.c||(this.i=nt(e)),R(!this.i&&this.c||this.i&&!this.c,18),this.f=null,void 0!==t.tileSizes&&(this.f=t.tileSizes,R(this.f.length==this.b.length,19)),this.g=void 0!==t.tileSize?t.tileSize:this.f?null:256,R(!this.g&&this.f||this.g&&!this.f,22),this.v=void 0!==e?e:null,this.a=null,this.j=[0,0],void 0!==t.sizes?this.a=t.sizes.map(function(t){return new I(Math.min(0,t[0]),Math.max(t[0]-1,-1),Math.min(0,t[1]),Math.max(t[1]-1,-1))},this):e&&function(t,e){for(var o=t.b.length,i=Array(o),r=t.minZoom;r<o;++r)i[r]=re(t,e,r);t.a=i}(this,e)}_t();var te=[0,0,0];function ee(t,e,o,i,r){for(r=t.Aa(e,r),e=e[0]-1;e>=t.minZoom;){if(o.call(null,e,re(t,r,e,i)))return!0;--e}return!1}function oe(t,e,o,i){return e[0]<t.maxZoom?(i=t.Aa(e,i),re(t,i,e[0]+1,o)):null}function ie(t,e,o,i){pe(t,e[0],e[1],o,!1,te);var r=te[1],n=te[2];return pe(t,e[2],e[3],o,!0,te),t=te[1],e=te[2],void 0!==i?(i.ca=r,i.$=t,i.da=n,i.ia=e):i=new I(r,t,n,e),i}function re(t,e,o,i){return ie(t,e,t.Da(o),i)}function ne(t,e){var o=t.Pc(e[0]),i=t.Da(e[0]);return t=F(t.gb(e[0]),t.j),[o[0]+(e[1]+.5)*t[0]*i,o[1]+(e[2]+.5)*t[1]*i]}function pe(t,e,o,i,r,n){var p=t.tc(i),s=i/t.Da(p),a=t.Pc(p);return t=F(t.gb(p),t.j),e=s*Math.floor((e-a[0])/i+(r?.5:0))/t[0],o=s*Math.floor((o-a[1])/i+(r?0:.5))/t[1],o=r?(e=Math.ceil(e)-1,Math.ceil(o)-1):(e=Math.floor(e),Math.floor(o)),$t(p,e,o,n)}function se(t){var e=t.j;return e||(e=le(t),t.j=e),e}function ae(t){var e={};return ct(e,t||{}),void 0===e.extent&&(e.extent=Wt("EPSG:3857").G()),e.resolutions=he(e.extent,e.maxZoom,e.tileSize),delete e.maxZoom,new Qt(e)}function he(t,e,o){e=void 0!==e?e:42;var i=it(t);for(t=st(t),o=F(void 0!==o?o:256),o=Math.max(t/o[0],i/o[1]),e+=1,i=Array(e),t=0;t<e;++t)i[t]=o/Math.pow(2,t);return i}function le(t,e,o){return e=he(t=ue(t),e,o),new Qt({extent:t,origin:nt(t),resolutions:e,tileSize:o})}function ue(t){var e=(t=Wt(t)).G();return e||(e=W(-(t=180*bt.degrees/t.sc()),-t,t,t)),e}function ce(t){this.b=t.html,this.a=t.tileRanges?t.tileRanges:null}function ye(t){return t}function fe(i){return i.mh=function(t){var e=i.listener,o=i.lh||i.target;return i.nh&&Se(i),e.call(o,t)}}function ge(t,e,o,i){for(var r,n=0,p=t.length;n<p;++n)if((r=t[n]).listener===e&&r.lh===o)return i&&(r.deleteIndex=n),r}function de(t,e){return(t=t.fb)?t[e]:void 0}function ve(t){var e=t.fb;return e=e||(t.fb={})}function be(t,e){var o=de(t,e);if(o){for(var i=0,r=o.length;i<r;++i)t.removeEventListener(e,o[i].mh),yt(o[i]);o.length=0,(o=t.fb)&&(delete o[e],Object.keys(o).length||delete t.fb)}}function me(t,e,o,i,r){var n=ve(t),p=n[e];return(n=ge(p=p||(n[e]=[]),o,i,!1))?r||(n.nh=!1):(n={lh:i,nh:!!r,listener:o,target:t,type:e},t.addEventListener(e,fe(n)),p.push(n)),n}function we(t,e,o,i){return me(t,e,o,i,!0)}function xe(t,e,o,i){(t=de(t,e))&&(o=ge(t,o,i,!0))&&Se(o)}function Se(t){if(t&&t.target){t.target.removeEventListener(t.type,t.mh);var e=de(t.target,t.type);if(e){var o="deleteIndex"in t?t.deleteIndex:e.indexOf(t);-1!==o&&e.splice(o,1),e.length||be(t.target,t.type)}yt(t)}}function Me(t){var e,o=ve(t);for(e in o)be(t,e)}function Pe(){}function Ae(t){t.Jb||(t.Jb=!0,t.ka())}function Ee(t){this.type=t,this.target=null}function Te(t){t.stopPropagation()}function je(){this.Ua={},this.ra={},this.oa={}}function Ce(t,e){return e?e in t.oa:0<Object.keys(t.oa).length}function Le(){je.call(this),this.i=0}function Re(t){Le.call(this),G(this),this.S={},void 0!==t&&this.H(t)}(t=Qt.prototype).Rf=function(t,e,o){for(var i=(t=re(this,t,e)).ca,r=t.$;i<=r;++i)for(var n=t.da,p=t.ia;n<=p;++n)o([e,i,n])},t.G=function(){return this.v},t.Ti=function(){return this.maxZoom},t.Ui=function(){return this.minZoom},t.Pc=function(t){return this.i?this.i:this.c[t]},t.Da=function(t){return this.b[t]},t.Vi=function(){return this.b},t.Aa=function(t,e){var o=this.Pc(t[0]),i=this.Da(t[0]),r=F(this.gb(t[0]),this.j),n=o[0]+t[1]*r[0]*i;return W(n,t=o[1]+t[2]*r[1]*i,n+r[0]*i,t+r[1]*i,e)},t.Be=function(t,e,o){return pe(this,t[0],t[1],e,!1,o)},t.bg=function(t,e,o){return pe(this,t[0],t[1],this.Da(e),!1,o)},t.gb=function(t){return this.g?this.g:this.f[t]},t.tc=function(t,e){return w(l(this.b,t,e||0),this.minZoom,this.maxZoom)},Pe.prototype.Jb=!(ce.prototype.i=function(){return this.b}),Pe.prototype.ka=m,Ee.prototype.preventDefault=Ee.prototype.stopPropagation=function(){this.qp=!0},s(je,Pe),je.prototype.addEventListener=function(t,e){var o=this.oa[t];-1===(o=o||(this.oa[t]=[])).indexOf(e)&&o.push(e)},je.prototype.b=function(t){var e="string"==typeof t?new Ee(t):t;t=e.type;var o=(e.target=this).oa[t];if(o){t in this.ra||(this.ra[t]=0,this.Ua[t]=0),++this.ra[t];for(var i=0,r=o.length;i<r;++i)if(!1===o[i].call(this,e)||e.qp){var n=!1;break}if(--this.ra[t],!this.ra[t]){for(e=this.Ua[t],delete this.Ua[t];e--;)this.removeEventListener(t,m);delete this.ra[t]}return n}},je.prototype.ka=function(){Me(this)},je.prototype.removeEventListener=function(t,e){var o=this.oa[t];o&&(e=o.indexOf(e),t in this.Ua?(o[e]=m,++this.Ua[t]):(o.splice(e,1),o.length||delete this.oa[t]))},s(Le,je),(t=Le.prototype).s=function(){++this.i,this.b("change")},t.L=function(){return this.i},t.J=function(t,e,o){if(Array.isArray(t)){for(var i=t.length,r=Array(i),n=0;n<i;++n)r[n]=me(this,t[n],e,o);return r}return me(this,t,e,o)},t.once=function(t,e,o){if(Array.isArray(t)){for(var i=t.length,r=Array(i),n=0;n<i;++n)r[n]=we(this,t[n],e,o);return r}return we(this,t,e,o)},t.K=function(t,e,o){if(Array.isArray(t))for(var i=0,r=t.length;i<r;++i)xe(this,t[i],e,o);else xe(this,t,e,o)},s(Re,Le);var Ie={};function Ne(t){return Ie.hasOwnProperty(t)?Ie[t]:Ie[t]="change:"+t}function Fe(t,e,o){var i=Ne(e);t.b(new ke(i,e,o)),t.b(new ke("propertychange",e,o))}function ke(t,e,o){Ee.call(this,t),this.key=e,this.oldValue=o}function De(t,e){if(Re.call(this),this.c=!!(e||{}).unique,this.a=t||[],this.c)for(t=0,e=this.a.length;t<e;++t)Ue(this,this.a[t],t);Oe(this)}function Oe(t){t.set(Ge,t.a.length)}function Ue(t,e,o){for(var i=0,r=t.a.length;i<r;++i)if(t.a[i]===e&&i!==o)throw new h(58)}(t=Re.prototype).get=function(t){var e;return this.S.hasOwnProperty(t)&&(e=this.S[t]),e},t.O=function(){return Object.keys(this.S)},t.N=function(){return ct({},this.S)},t.set=function(t,e,o){o?this.S[t]=e:(o=this.S[t])!==(this.S[t]=e)&&Fe(this,t,o)},t.H=function(t,e){for(var o in t)this.set(o,t[o],e)},t.P=function(t,e){if(t in this.S){var o=this.S[t];delete this.S[t],e||Fe(this,t,o)}},s(ke,Ee),s(De,Re),(t=De.prototype).clear=function(){for(;0<this.dc();)this.pop()},t.fg=function(t){var e,o=0;for(e=t.length;o<e;++o)this.push(t[o]);return this},t.forEach=function(t,e){this.a.forEach(t,e)},t.tm=function(){return this.a},t.item=function(t){return this.a[t]},t.dc=function(){return this.get(Ge)},t.He=function(t,e){this.c&&Ue(this,e),this.a.splice(t,0,e),Oe(this),this.b(new Be("add",e))},t.pop=function(){return this.Hg(this.dc()-1)},t.push=function(t){this.c&&Ue(this,t);var e=this.dc();return this.He(e,t),this.dc()},t.remove=function(t){var e,o=this.a,i=0;for(e=o.length;i<e;++i)if(o[i]===t)return this.Hg(i)},t.Hg=function(t){var e=this.a[t];return this.a.splice(t,1),Oe(this),this.b(new Be("remove",e)),e},t.Wp=function(t,e){var o=this.dc();if(t<o)this.c&&Ue(this,e,t),o=this.a[t],this.a[t]=e,this.b(new Be("remove",o)),this.b(new Be("add",e));else{for(;o<t;++o)this.He(o,void 0);this.He(t,e)}};var Ge="length";function Be(t,e){Ee.call(this,t),this.element=e}s(Be,Ee);var Xe=/^#(?:[0-9a-f]{3}){1,2}$/i,Ve=/^([a-z]*)$/i;function We(t){return Array.isArray(t)?t:Ye(t)}function Ze(t){if("string"!=typeof t){var e=t[0];e!=(0|e)&&(e=e+.5|0);var o=t[1];o!=(0|o)&&(o=o+.5|0);var i=t[2];i!=(0|i)&&(i=i+.5|0),t="rgba("+e+","+o+","+i+","+(void 0===t[3]?1:t[3])+")"}return t}var Ke,ze,Ye=(Ke={},ze=0,function(t){if(Ke.hasOwnProperty(t))var e=Ke[t];else{if(1024<=ze)for(var o in e=0,Ke)3&e++||(delete Ke[o],--ze);if(e=t,Ve.exec(e)&&((o=document.createElement("div")).style.color=e,document.body.appendChild(o),e=getComputedStyle(o).color,document.body.removeChild(o)),Xe.exec(e)){var i=e.length-1;R(3==i||6==i,54);var r=3==i?1:2;i=parseInt(e.substr(1+0*r,r),16),o=parseInt(e.substr(1+1*r,r),16),e=parseInt(e.substr(1+2*r,r),16),1==r&&(i=(i<<4)+i,o=(o<<4)+o,e=(e<<4)+e),i=[i,o,e,1]}else e.indexOf("rgba(")?e.indexOf("rgb(")?R(!1,14):((e=e.slice(4,-1).split(",").map(Number)).push(1),i=He(e)):i=He(e=e.slice(5,-1).split(",").map(Number));e=i,Ke[t]=e,++ze}return e});function He(t){var e=[];return e[0]=w(t[0]+.5|0,0,255),e[1]=w(t[1]+.5|0,0,255),e[2]=w(t[2]+.5|0,0,255),e[3]=w(t[3],0,1),e}function qe(t){return"string"==typeof t||t instanceof CanvasPattern||t instanceof CanvasGradient?t:Ze(t)}function Je(t,e){var o=document.createElement("CANVAS");return t&&(o.width=t),e&&(o.height=e),o.getContext("2d")}function _e(t,e){var o=e.parentNode;o&&o.replaceChild(t,e)}function $e(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function Qe(t){Re.call(this),this.element=t.element?t.element:null,this.a=this.R=null,this.v=[],this.render=t.render?t.render:m,t.target&&this.f(t.target)}function to(t){t=t||{},this.I=document.createElement("UL"),this.u=document.createElement("LI"),this.I.appendChild(this.u),this.u.style.display="none",this.c=void 0===t.collapsed||t.collapsed,this.o=void 0===t.collapsible||t.collapsible,this.o||(this.c=!1);var e=void 0!==t.className?t.className:"ol-attribution",o=void 0!==t.tipLabel?t.tipLabel:"Attributions";"string"==typeof(i=void 0!==t.collapseLabel?t.collapseLabel:"»")?(this.D=document.createElement("span"),this.D.textContent=i):this.D=i,"string"==typeof(i=void 0!==t.label?t.label:"i")?(this.C=document.createElement("span"),this.C.textContent=i):this.C=i;var i,r=this.o&&!this.c?this.D:this.C;(i=document.createElement("button")).setAttribute("type","button"),i.title=o,i.appendChild(r),me(i,"click",this.Vm,this),(o=document.createElement("div")).className=e+" ol-unselectable ol-control"+(this.c&&this.o?" ol-collapsed":"")+(this.o?"":" ol-uncollapsible"),o.appendChild(this.I),o.appendChild(i),Qe.call(this,{element:o,render:t.render?t.render:eo,target:t.target}),this.B=!0,this.l={},this.j={},this.T={}}function eo(t){if(t=t.frameState){var e,o,i,r,n,p=t.layerStatesArray,s=ct({},t.attributions),a={},h={},l=t.viewState.projection,u=0;for(e=p.length;u<e;u++)if(r=p[u].layer.ha()){var c=G(r).toString();if(n=r.j){var y=0;for(o=n.length;y<o;y++){var f=n[y],g=G(f).toString();if(!(g in s)){if(i=t.usedTiles[c])t:{var d,v=void 0,b=f,m=x=r.Ta(l),w=l;if(b.a){for(v in i)if(v in b.a){var x=i[v],S=0;for(d=b.a[v].length;S<d;++S){var M=b.a[v][S];if(C(M,x)){v=!0;break t}var P=re(m,ue(w),parseInt(v,10)),A=P.$-P.ca+1;if((x.ca<P.ca||x.$>P.$)&&(C(M,new I(L(x.ca,A),L(x.$,A),x.da,x.ia))||x.$-x.ca+1>A&&C(M,P))){v=!0;break t}}}v=!1}else v=!0}else v=!1;v?(g in a&&delete a[g],(v=f.b)in h||(h[v]=!0,s[g]=f)):a[g]=f}}}}for(var E in u=(e=[s,a])[0],e=e[1],this.l)E in u?(this.j[E]||(this.l[E].style.display="",this.j[E]=!0),delete u[E]):E in e?(this.j[E]&&(this.l[E].style.display="none",delete this.j[E]),delete e[E]):($e(this.l[E]),delete this.l[E],delete this.j[E]);for(E in u)(y=document.createElement("LI")).innerHTML=u[E].b,this.I.appendChild(y),this.l[E]=y,this.j[E]=!0;for(E in e)(y=document.createElement("LI")).innerHTML=e[E].b,y.style.display="none",this.I.appendChild(y),this.l[E]=y;for(j in E=!gt(this.j)||!gt(t.logos),this.B!=E&&(this.element.style.display=E?"":"none",this.B=E),E&>(this.j)?this.element.classList.add("ol-logo-only"):this.element.classList.remove("ol-logo-only"),t=t.logos,E=this.T)j in t||($e(E[j]),delete E[j]);for(var T in t)if((e=t[T])instanceof HTMLElement&&(this.u.appendChild(e),E[T]=e),!(T in E)){var j=new Image;j.src=T,""===e?u=j:((u=document.createElement("a")).href=e,u.appendChild(j)),this.u.appendChild(u),E[T]=u}this.u.style.display=gt(t)?"none":""}else this.B&&(this.element.style.display="none",this.B=!1)}function oo(t){t.element.classList.toggle("ol-collapsed"),t.c?_e(t.D,t.C):_e(t.C,t.D),t.c=!t.c}function io(t){return Math.pow(t,3)}function ro(t){return 1-io(1-t)}function no(t){return 3*t*t-2*t*t*t}function po(t){return t}function so(t){var e=void 0!==(t=t||{}).className?t.className:"ol-rotate",o=void 0!==t.label?t.label:"⇧";this.c=null,"string"==typeof o?(this.c=document.createElement("span"),this.c.className="ol-compass",this.c.textContent=o):(this.c=o,this.c.classList.add("ol-compass"));var i=t.tipLabel?t.tipLabel:"Reset rotation";(o=document.createElement("button")).className=e+"-reset",o.setAttribute("type","button"),o.title=i,o.appendChild(this.c),me(o,"click",so.prototype.D,this),(i=document.createElement("div")).className=e+" ol-unselectable ol-control",i.appendChild(o),e=t.render?t.render:ao,this.o=t.resetNorth?t.resetNorth:void 0,Qe.call(this,{element:i,render:e,target:t.target}),this.l=void 0!==t.duration?t.duration:250,this.j=void 0===t.autoHide||t.autoHide,this.u=void 0,this.j&&this.element.classList.add("ol-hidden")}function ao(t){if(t=t.frameState){if((t=t.viewState.rotation)!=this.u){var e="rotate("+t+"rad)";if(this.j){var o=this.element.classList.contains("ol-hidden");o||t?o&&t&&this.element.classList.remove("ol-hidden"):this.element.classList.add("ol-hidden")}this.c.style.msTransform=e,this.c.style.webkitTransform=e,this.c.style.transform=e}this.u=t}}function ho(t){var e=void 0!==(t=t||{}).className?t.className:"ol-zoom",o=void 0!==t.delta?t.delta:1,i=void 0!==t.zoomInLabel?t.zoomInLabel:"+",r=void 0!==t.zoomOutLabel?t.zoomOutLabel:"−",n=void 0!==t.zoomInTipLabel?t.zoomInTipLabel:"Zoom in",p=void 0!==t.zoomOutTipLabel?t.zoomOutTipLabel:"Zoom out",s=document.createElement("button");s.className=e+"-in",s.setAttribute("type","button"),s.title=n,s.appendChild("string"==typeof i?document.createTextNode(i):i),me(s,"click",ho.prototype.j.bind(this,o)),(i=document.createElement("button")).className=e+"-out",i.setAttribute("type","button"),i.title=p,i.appendChild("string"==typeof r?document.createTextNode(r):r),me(i,"click",ho.prototype.j.bind(this,-o)),(o=document.createElement("div")).className=e+" ol-unselectable ol-control",o.appendChild(s),o.appendChild(i),Qe.call(this,{element:o,target:t.target}),this.c=void 0!==t.duration?t.duration:250}function lo(t){t=t||{};var e=new De;return void 0!==t.zoom&&!t.zoom||e.push(new ho(t.zoomOptions)),void 0!==t.rotate&&!t.rotate||e.push(new so(t.rotateOptions)),void 0!==t.attribution&&!t.attribution||e.push(new to(t.attributionOptions)),e}function uo(t){t=t||{},this.c=void 0!==t.className?t.className:"ol-full-screen";var e=void 0!==t.label?t.label:"⤢";this.o="string"==typeof e?document.createTextNode(e):e,e=void 0!==t.labelActive?t.labelActive:"×",this.l="string"==typeof e?document.createTextNode(e):e;var o=t.tipLabel?t.tipLabel:"Toggle full-screen";(e=document.createElement("button")).className=this.c+"-"+yo(),e.setAttribute("type","button"),e.title=o,e.appendChild(this.o),me(e,"click",this.C,this),(o=document.createElement("div")).className=this.c+" ol-unselectable ol-control "+(co()?"":"ol-unsupported"),o.appendChild(e),Qe.call(this,{element:o,target:t.target}),this.D=void 0!==t.keys&&t.keys,this.j=t.source}function co(){var t=document.body;return!!(t.webkitRequestFullscreen||t.mozRequestFullScreen&&document.mozFullScreenEnabled||t.msRequestFullscreen&&document.msFullscreenEnabled||t.requestFullscreen&&document.fullscreenEnabled)}function yo(){return!!(document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||document.fullscreenElement)}function fo(t){t.requestFullscreen?t.requestFullscreen():t.msRequestFullscreen?t.msRequestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.webkitRequestFullscreen&&t.webkitRequestFullscreen()}s(Qe,Re),Qe.prototype.ka=function(){$e(this.element),Re.prototype.ka.call(this)},Qe.prototype.g=function(){return this.a},Qe.prototype.setMap=function(t){this.a&&$e(this.element);for(var e=0,o=this.v.length;e<o;++e)Se(this.v[e]);this.v.length=0,(this.a=t)&&((this.R?this.R:t.D).appendChild(this.element),this.render!==m&&this.v.push(me(t,"postrender",this.render,this)),t.render())},Qe.prototype.f=function(t){this.R="string"==typeof t?document.getElementById(t):t},s(to,Qe),(t=to.prototype).Vm=function(t){t.preventDefault(),oo(this)},t.Um=function(){return this.o},t.Xm=function(t){this.o!==t&&(this.o=t,this.element.classList.toggle("ol-uncollapsible"),!t&&this.c&&oo(this))},t.Wm=function(t){this.o&&this.c!==t&&oo(this)},t.Tm=function(){return this.c},s(so,Qe),so.prototype.D=function(t){t.preventDefault(),this.o?this.o():(t=this.a.Z())&&void 0!==t.Qa()&&(0<this.l?t.animate({rotation:0,duration:this.l,easing:ro}):t.Oe(0))},s(ho,Qe),ho.prototype.j=function(t,e){if(e.preventDefault(),e=this.a.Z()){var o=e.Pa();o&&(t=e.constrainResolution(o,t),0<this.c?(e.Ic()&&e.ed(),e.animate({resolution:t,duration:this.c,easing:ro})):e.Vc(t))}},s(uo,Qe),uo.prototype.C=function(t){t.preventDefault(),co()&&(t=this.a)&&(yo()?document.exitFullscreen?document.exitFullscreen():document.msExitFullscreen?document.msExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen():(t=this.j?"string"==typeof this.j?document.getElementById(this.j):this.j:t.jd(),this.D?t.mozRequestFullScreenWithKeys?t.mozRequestFullScreenWithKeys():t.webkitRequestFullscreen?t.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT):fo(t):fo(t)))},uo.prototype.u=function(){var t=this.element.firstElementChild,e=this.a;yo()?(t.className=this.c+"-true",_e(this.l,this.o)):(t.className=this.c+"-false",_e(this.o,this.l)),e&&e.Ad()},uo.prototype.setMap=function(t){Qe.prototype.setMap.call(this,t),t&&this.v.push(me(document,vo(),this.u,this))};var go,vo=function(){if(!go){var t=document.body;t.webkitRequestFullscreen?go="webkitfullscreenchange":t.mozRequestFullScreen?go="mozfullscreenchange":t.msRequestFullscreen?go="MSFullscreenChange":t.requestFullscreen&&(go="fullscreenchange")}return go};function bo(t){t=t||{};var e=document.createElement("DIV");e.className=void 0!==t.className?t.className:"ol-mouse-position",Qe.call(this,{element:e,render:t.render?t.render:mo,target:t.target}),me(this,Ne(xo),this.Ym,this),t.coordinateFormat&&this.kj(t.coordinateFormat),t.projection&&this.$h(t.projection),this.u=void 0!==t.undefinedHTML?t.undefinedHTML:"",this.l=e.innerHTML,this.o=this.j=this.c=null}function mo(t){(t=t.frameState)?this.c!=t.viewState.projection&&(this.c=t.viewState.projection,this.j=null):this.c=null,wo(this,this.o)}function wo(t,e){var o=t.u;if(e&&t.c){if(!t.j){var i=t.Zh();t.j=i?zt(t.c,i):Yt}(e=t.a.Wa(e))&&(t.j(e,e),o=(o=t.xh())?o(e):e.toString())}t.l&&o==t.l||(t.element.innerHTML=o,t.l=o)}s(bo,Qe),(t=bo.prototype).Ym=function(){this.j=null},t.xh=function(){return this.get(So)},t.Zh=function(){return this.get(xo)},t.Ll=function(t){this.o=this.a.xe(t),wo(this,this.o)},t.Ml=function(){wo(this,null),this.o=null},t.setMap=function(t){Qe.prototype.setMap.call(this,t),t&&(t=t.a,this.v.push(me(t,"mousemove",this.Ll,this),me(t,"mouseout",this.Ml,this)))},t.kj=function(t){this.set(So,t)},t.$h=function(t){this.set(xo,Wt(t))};var xo="projection",So="coordinateFormat";function Mo(t,e,o){Ee.call(this,t),this.map=e,this.frameState=void 0!==o?o:null}function Po(t,e,o,i,r){Mo.call(this,t,e,r),this.originalEvent=o,this.pixel=e.xe(o),this.coordinate=e.Wa(this.pixel),this.dragging=void 0!==i&&i}s(Mo,Ee),s(Po,Mo),Po.prototype.preventDefault=function(){Mo.prototype.preventDefault.call(this),this.originalEvent.preventDefault()},Po.prototype.stopPropagation=function(){Mo.prototype.stopPropagation.call(this),this.originalEvent.stopPropagation()};var Ao=["experimental-webgl","webgl","webkit-3d","moz-webgl"];function Eo(t,e){var o,i,r=Ao.length;for(i=0;i<r;++i)try{if(o=t.getContext(Ao[i],e))return o}catch(t){}return null}var To,jo,Co="undefined"!=typeof navigator?navigator.userAgent.toLowerCase():"",Lo=-1!==Co.indexOf("firefox"),Ro=-1!==Co.indexOf("safari")&&-1==Co.indexOf("chrom"),Io=-1!==Co.indexOf("webkit")&&-1==Co.indexOf("edge"),No=-1!==Co.indexOf("macintosh"),Fo=window.devicePixelRatio||1,ko=!1,Do=function(){if(!("HTMLCanvasElement"in window))return!1;try{var t=document.createElement("CANVAS").getContext("2d");return!!t&&(void 0!==t.setLineDash&&(ko=!0),!0)}catch(t){return!1}}(),Oo="DeviceOrientationEvent"in window,Uo="geolocation"in navigator,Go="ontouchstart"in window,Bo="PointerEvent"in window,Xo=!!navigator.msPointerEnabled,Vo=!1,Wo=[];if("WebGLRenderingContext"in window)try{var Zo=Eo(document.createElement("CANVAS"),{failIfMajorPerformanceCaveat:!0});Zo&&(Vo=!0,jo=Zo.getParameter(Zo.MAX_TEXTURE_SIZE),Wo=Zo.getSupportedExtensions())}catch(t){}To=Vo,o=Wo,e=jo;var Ko={Iq:"singleclick",xq:"click",yq:"dblclick",Bq:"pointerdrag",Eq:"pointermove",Aq:"pointerdown",Hq:"pointerup",Gq:"pointerover",Fq:"pointerout",Cq:"pointerenter",Dq:"pointerleave",zq:"pointercancel"};function zo(t,e,o,i,r){Po.call(this,t,e,o.b,i,r),this.b=o}function Yo(t,e){this.b=t,this.f=e}function Ho(t){Yo.call(this,t,{mousedown:this.fm,mousemove:this.gm,mouseup:this.jm,mouseover:this.im,mouseout:this.hm}),this.a=t.i,this.i=[]}function qo(t,e){t=t.i;var o=e.clientX;e=e.clientY;for(var i,r=0,n=t.length;r<n&&(i=t[r]);r++){var p=Math.abs(e-i[1]);if(Math.abs(o-i[0])<=25&&p<=25)return!0}return!1}function Jo(t){var e=si(t,t),o=e.preventDefault;return e.preventDefault=function(){t.preventDefault(),o()},e.pointerId=1,e.isPrimary=!0,e.pointerType="mouse",e}function _o(t){Yo.call(this,t,{MSPointerDown:this.om,MSPointerMove:this.pm,MSPointerUp:this.sm,MSPointerOut:this.qm,MSPointerOver:this.rm,MSPointerCancel:this.nm,MSGotPointerCapture:this.lm,MSLostPointerCapture:this.mm}),this.a=t.i,this.i=["","unavailable","touch","pen","mouse"]}function $o(t,e){var o=e;return"number"==typeof e.pointerType&&((o=si(e,e)).pointerType=t.i[e.pointerType]),o}function Qo(t){Yo.call(this,t,{pointerdown:this.ip,pointermove:this.jp,pointerup:this.mp,pointerout:this.kp,pointerover:this.lp,pointercancel:this.hp,gotpointercapture:this.ul,lostpointercapture:this.em})}function ti(t,e,o){Ee.call(this,t),this.b=e,t=o||{},this.buttons=function(t){if(t.buttons||ei)t=t.buttons;else switch(t.which){case 1:t=1;break;case 2:t=4;break;case 3:t=2;break;default:t=0}return t}(t),this.pressure=function(t,e){return t.pressure?t.pressure:e?.5:0}(t,this.buttons),this.bubbles="bubbles"in t&&t.bubbles,this.cancelable="cancelable"in t&&t.cancelable,this.view="view"in t?t.view:null,this.detail="detail"in t?t.detail:null,this.screenX="screenX"in t?t.screenX:0,this.screenY="screenY"in t?t.screenY:0,this.clientX="clientX"in t?t.clientX:0,this.clientY="clientY"in t?t.clientY:0,this.ctrlKey="ctrlKey"in t&&t.ctrlKey,this.altKey="altKey"in t&&t.altKey,this.shiftKey="shiftKey"in t&&t.shiftKey,this.metaKey="metaKey"in t&&t.metaKey,this.button="button"in t?t.button:0,this.relatedTarget="relatedTarget"in t?t.relatedTarget:null,this.pointerId="pointerId"in t?t.pointerId:0,this.width="width"in t?t.width:0,this.height="height"in t?t.height:0,this.tiltX="tiltX"in t?t.tiltX:0,this.tiltY="tiltY"in t?t.tiltY:0,this.pointerType="pointerType"in t?t.pointerType:"",this.isPrimary="isPrimary"in t&&t.isPrimary,e.preventDefault&&(this.preventDefault=function(){e.preventDefault()})}s(zo,Po),s(Ho,Yo),(t=Ho.prototype).fm=function(t){if(!qo(this,t)){1..toString()in this.a&&this.cancel(t);var e=Jo(t);this.a[1..toString()]=t,ui(this.b,"pointerdown",e,t)}},t.gm=function(t){if(!qo(this,t)){var e=Jo(t);ui(this.b,"pointermove",e,t)}},t.jm=function(t){if(!qo(this,t)){var e=this.a[1..toString()];e&&e.button===t.button&&(e=Jo(t),ui(this.b,"pointerup",e,t),delete this.a[1..toString()])}},t.im=function(t){if(!qo(this,t)){var e=Jo(t);li(this.b,e,t)}},t.hm=function(t){if(!qo(this,t)){var e=Jo(t);hi(this.b,e,t)}},t.cancel=function(t){var e=Jo(t);this.b.cancel(e,t),delete this.a[1..toString()]},s(_o,Yo),(t=_o.prototype).om=function(t){this.a[t.pointerId.toString()]=t;var e=$o(this,t);ui(this.b,"pointerdown",e,t)},t.pm=function(t){var e=$o(this,t);ui(this.b,"pointermove",e,t)},t.sm=function(t){var e=$o(this,t);ui(this.b,"pointerup",e,t),delete this.a[t.pointerId.toString()]},t.qm=function(t){var e=$o(this,t);hi(this.b,e,t)},t.rm=function(t){var e=$o(this,t);li(this.b,e,t)},t.nm=function(t){var e=$o(this,t);this.b.cancel(e,t),delete this.a[t.pointerId.toString()]},t.mm=function(t){this.b.b(new ti("lostpointercapture",t,t))},t.lm=function(t){this.b.b(new ti("gotpointercapture",t,t))},s(Qo,Yo),(t=Qo.prototype).ip=function(t){ci(this.b,t)},t.jp=function(t){ci(this.b,t)},t.mp=function(t){ci(this.b,t)},t.kp=function(t){ci(this.b,t)},t.lp=function(t){ci(this.b,t)},t.hp=function(t){ci(this.b,t)},t.em=function(t){ci(this.b,t)},t.ul=function(t){ci(this.b,t)},s(ti,Ee);var ei=!1;try{ei=1===new MouseEvent("click",{buttons:1}).buttons}catch(t){}function oi(t,e){Yo.call(this,t,{touchstart:this.rq,touchmove:this.qq,touchend:this.pq,touchcancel:this.oq}),this.a=t.i,this.j=e,this.i=void 0,this.g=0,this.c=void 0}function ii(t,e,o){function i(){e.preventDefault()}var r,n,p,s,a=Array.prototype.slice.call(e.changedTouches),h=a.length;for(r=0;r<h;++r){var l=(n=t,p=e,s=a[r],(p=si(p,s)).pointerId=s.identifier+2,p.bubbles=!0,p.cancelable=!0,p.detail=n.g,p.button=0,p.buttons=1,p.width=s.webkitRadiusX||s.radiusX||0,p.height=s.webkitRadiusY||s.radiusY||0,p.pressure=s.webkitForce||s.force||.5,p.isPrimary=n.i===s.identifier,p.pointerType="touch",p.clientX=s.clientX,p.clientY=s.clientY,p.screenX=s.screenX,p.screenY=s.screenY,p);l.preventDefault=i,o.call(t,e,l)}}function ri(t,e){var o=t.j.i;if(e=e.changedTouches[0],t.i===e.identifier){var i=[e.clientX,e.clientY];o.push(i),setTimeout(function(){p(o,i)},2500)}}function ni(t){je.call(this),this.g=t,this.i={},this.f={},this.a=[],Bo?pi(this,new Qo(this)):Xo?pi(this,new _o(this)):(pi(this,t=new Ho(this)),Go&&pi(this,new oi(this,t))),t=this.a.length;for(var e,o=0;o<t;o++)e=this.a[o],i=this,Object.keys(e.f).forEach(function(t){me(this.g,t,this.c,this)},i);var i}function pi(t,o){var e=Object.keys(o.f);e&&(e.forEach(function(t){var e=o.f[t];e&&(this.f[t]=e.bind(o))},t),t.a.push(o))}function si(t,e){for(var o,i={},r=0,n=yi.length;r<n;r++)i[o=yi[r][0]]=t[o]||e[o]||yi[r][1];return i}function ai(t,e,o){e.bubbles=!1,ui(t,"pointerleave",e,o)}function hi(t,e,o){t.out(e,o);var i=e.target,r=e.relatedTarget;i&&r&&i.contains(r)||ai(t,e,o)}function li(t,e,o){e.bubbles=!0,ui(t,"pointerover",e,o);var i=e.target,r=e.relatedTarget;i&&r&&i.contains(r)||(e.bubbles=!1,ui(t,"pointerenter",e,o))}function ui(t,e,o,i){t.b(new ti(e,i,o))}function ci(t,e){t.b(new ti(e.type,e,e))}s(oi,Yo),(t=oi.prototype).ij=function(){this.g=0,this.c=void 0},t.rq=function(t){var e=t.touches,o=Object.keys(this.a),i=o.length;if(i>=e.length){var r,n=[];for(r=0;r<i;++r){var p,s=o[r],a=this.a[s];if(!(p=1==s))t:{for(var h=e.length,l=0;l<h;l++)if((p=e[l]).identifier===s-2){p=!0;break t}p=!1}p||n.push(a.out)}for(r=0;r<n.length;++r)this.Kf(t,n[r])}e=t.changedTouches[0],(!(o=Object.keys(this.a).length)||1===o&&1..toString()in this.a)&&(this.i=e.identifier,void 0!==this.c&&clearTimeout(this.c)),ri(this,t),this.g++,ii(this,t,this.cp)},t.cp=function(t,e){this.a[e.pointerId]={target:e.target,out:e,Wi:e.target};var o=this.b;e.bubbles=!0,ui(o,"pointerover",e,t),o=this.b,e.bubbles=!1,ui(o,"pointerenter",e,t),ui(this.b,"pointerdown",e,t)},t.qq=function(t){t.preventDefault(),ii(this,t,this.km)},t.km=function(t,e){var o=this.a[e.pointerId];if(o){var i=o.out,r=o.Wi;ui(this.b,"pointermove",e,t),i&&r!==e.target&&(i.relatedTarget=e.target,e.relatedTarget=r,i.target=r,e.target?(hi(this.b,i,t),li(this.b,e,t)):(e.target=r,e.relatedTarget=null,this.Kf(t,e))),o.out=e,o.Wi=e.target}},t.pq=function(t){ri(this,t),ii(this,t,this.sq)},t.sq=function(t,e){ui(this.b,"pointerup",e,t),this.b.out(e,t),ai(this.b,e,t),delete this.a[e.pointerId],e.isPrimary&&(this.i=void 0,this.c=setTimeout(this.ij.bind(this),200))},t.oq=function(t){ii(this,t,this.Kf)},t.Kf=function(t,e){this.b.cancel(e,t),this.b.out(e,t),ai(this.b,e,t),delete this.a[e.pointerId],e.isPrimary&&(this.i=void 0,this.c=setTimeout(this.ij.bind(this),200))},s(ni,je),ni.prototype.c=function(t){var e=this.f[t.type];e&&e(t)},ni.prototype.out=function(t,e){t.bubbles=!0,ui(this,"pointerout",t,e)},ni.prototype.cancel=function(t,e){ui(this,"pointercancel",t,e)};var yi=[["bubbles",!(ni.prototype.ka=function(){for(var t,e=this.a.length,o=0;o<e;o++)t=this.a[o],i=this,Object.keys(t.f).forEach(function(t){xe(this.g,t,this.c,this)},i);var i;je.prototype.ka.call(this)})],["cancelable",!1],["view",null],["detail",null],["screenX",0],["screenY",0],["clientX",0],["clientY",0],["ctrlKey",!1],["altKey",!1],["shiftKey",!1],["metaKey",!1],["button",0],["relatedTarget",null],["buttons",0],["pointerId",0],["width",0],["height",0],["pressure",0],["tiltX",0],["tiltY",0],["pointerType",""],["hwTimestamp",0],["isPrimary",!1],["type",""],["target",null],["currentTarget",null],["which",0]];function fi(t,e){je.call(this),this.i=t,this.j=0,this.o=!1,this.f=[],this.D=e?e*Fo:Fo,this.c=null,t=this.i.a,this.S=0,this.u={},this.g=new ni(t),this.a=null,this.l=me(this.g,"pointerdown",this.Ol,this),this.v=me(this.g,"pointermove",this.Lp,this)}function gi(t,e){"pointerup"==e.type||"pointercancel"==e.type?delete t.u[e.pointerId]:"pointerdown"==e.type&&(t.u[e.pointerId]=!0),t.S=Object.keys(t.u).length}function di(t,e){return Math.abs(e.clientX-t.c.clientX)>t.D||Math.abs(e.clientY-t.c.clientY)>t.D}function vi(t,e){this.l=t,this.c=e,this.b=[],this.i=[],this.a={}}function bi(t){var e=t.b,o=t.i,i=e[0];return 1==e.length?(e.length=0,o.length=0):(e[0]=e.pop(),o[0]=o.pop(),mi(t,0)),e=t.c(i),delete t.a[e],i}function mi(t,e){for(var o=t.b,i=t.i,r=o.length,n=o[e],p=i[e],s=e;e<r>>1;){var a=2*e+1,h=2*e+2;a=h<r&&i[h]<i[a]?h:a;o[e]=o[a],i[e]=i[a],e=a}o[e]=n,i[e]=p,wi(t,s,e)}function wi(t,e,o){var i=t.b;t=t.i;for(var r=i[o],n=t[o];e<o;){var p=o-1>>1;if(!(t[p]>n))break;i[o]=i[p],t[o]=t[p],o=p}i[o]=r,t[o]=n}function xi(t){var e,o=t.l,i=t.b,r=t.i,n=0,p=i.length;for(e=0;e<p;++e){var s=i[e],a=o(s);1/0==a?delete t.a[t.c(s)]:(r[n]=a,i[n++]=s)}for(i.length=n,r.length=n,o=(t.b.length>>1)-1;0<=o;o--)mi(t,o)}function Si(e,t){vi.call(this,function(t){return e.apply(null,t)},function(t){return t[0].bb()}),this.v=t,this.j=0,this.g={}}function Mi(t,e,o){for(var i,r,n=0;t.j<e&&n<o&&0<t.b.length;)r=(i=bi(t)[0]).bb(),0!==i.getState()||r in t.g||(t.g[r]=!0,++t.j,++n,i.load())}function Pi(t){if(void 0!==t)return 0}function Ai(t,e){if(void 0!==t)return t+e}function Ei(t,e){return 2<(e=-1===(e=(t=void 0!==e?t.toFixed(e):""+t).indexOf("."))?t.length:e)?t:Array(3-e).join("0")+t}function Ti(t){t=(""+t).split(".");for(var e=["1","3"],o=0;o<Math.max(t.length,e.length);o++){var i=parseInt(t[o]||"0",10),r=parseInt(e[o]||"0",10);if(r<i)return 1;if(i<r)return-1}return 0}function ji(t,e){return t[0]+=e[0],t[1]+=e[1],t}function Ci(t,e){var o=t[0];t=t[1];var i=e[0],r=e[1];e=i[0];i=i[1];var n=r[0],p=n-e,s=(r=r[1])-i;return o=(o=p||s?(p*(o-e)+s*(t-i))/(p*p+s*s||0):0)<=0?(t=e,i):1<=o?(t=n,r):(t=e+o*p,i+o*s),[t,o]}function Li(t,e,o){e=L(e+180,360)-180;var i=Math.abs(3600*e);o=o||0;var r=Math.pow(10,o),n=Math.floor(i/3600),p=Math.floor((i-3600*n)/60);return 60<=(i=Math.ceil((i-3600*n-60*p)*r)/r)&&(i=0,p+=1),60<=p&&(p=0,n+=1),n+"° "+Ei(p)+"′ "+Ei(i,o)+"″"+(e?" "+t.charAt(e<0?1:0):"")}function Ri(t,e,o){return t?e.replace("{x}",t[0].toFixed(o)).replace("{y}",t[1].toFixed(o)):""}function Ii(t,e){for(var o=!0,i=t.length-1;0<=i;--i)if(t[i]!=e[i]){o=!1;break}return o}function Ni(t,e){var o=Math.cos(e);e=Math.sin(e);var i=t[1]*o+t[0]*e;return t[0]=t[0]*o-t[1]*e,t[1]=i,t}function Fi(t,e){t[0]*=e,t[1]*=e}function ki(t,e){var o=t[0]-e[0];return o*o+(t=t[1]-e[1])*t}function Di(t,e){return Math.sqrt(ki(t,e))}function Oi(t,e){return ki(t,Ci(t,e))}function Ui(t,e){return Ri(t,"{x}, {y}",e)}function Gi(){return!0}function Bi(){return!1}function Xi(){Re.call(this),this.l=[1/0,1/0,-1/0,-1/0],this.v=-1,this.f={},this.o=this.g=0}function Vi(t,e,o,i,r,n){for(var p=n||[],s=0;e<o;e+=i){var a=t[e],h=t[e+1];p[s++]=r[0]*a+r[2]*h+r[4],p[s++]=r[1]*a+r[3]*h+r[5]}return n&&p.length!=s&&(p.length=s),p}function Wi(t,e,o,i,r,n,p){for(var s,a=p||[],h=0;e<o;e+=i)for(a[h++]=t[e]+r,a[h++]=t[e+1]+n,s=e+2;s<e+i;++s)a[h++]=t[s];return p&&a.length!=h&&(a.length=h),a}function Zi(){Xi.call(this),this.ja="XY",this.a=2,this.A=null}function Ki(t){var e;return"XY"==t?e=2:"XYZ"==t||"XYM"==t?e=3:"XYZM"==t&&(e=4),e}function zi(t,e,o){t.a=Ki(e),t.ja=e,t.A=o}function Yi(t,e,o,i){if(e)o=Ki(e);else{for(e=0;e<i;++e){if(!o.length)return t.ja="XY",void(t.a=2);o=o[0]}var r;2==(o=o.length)?r="XY":3==o?r="XYZ":4==o&&(r="XYZM"),e=r}t.ja=e,t.a=o}function Hi(t,e,o,i){for(var r=0,n=t[o-i],p=t[o-i+1];e<o;e+=i){var s=t[e],a=t[e+1];r=r+(p*s-n*a),n=s,p=a}return r/2}function qi(t,e,o,i){var r,n=0,p=0;for(r=o.length;p<r;++p){var s=o[p];n=n+Hi(t,e,s,i);e=s}return n}function Ji(t,e,o,i,r,n,p){var s=t[e],a=t[e+1],h=t[o]-s,l=t[o+1]-a;if(h||l)if(1<(n=((r-s)*h+(n-a)*l)/(h*h+l*l)))e=o;else if(0<n){for(r=0;r<i;++r)p[r]=M(t[e+r],t[o+r],n);return void(p.length=i)}for(r=0;r<i;++r)p[r]=t[e+r];p.length=i}function _i(t,e,o,i,r){var n=t[e],p=t[e+1];for(e+=i;e<o;e+=i){var s=t[e],a=t[e+1];r<(n=g(n,p,s,a))&&(r=n),n=s,p=a}return r}function $i(t,e,o,i,r){var n,p=0;for(n=o.length;p<n;++p){var s=o[p];r=_i(t,e,s,i,r),e=s}return r}function Qi(t,e,o,i,r,n,p,s,a,h,l){if(e==o)return h;if(!r){var u=g(p,s,t[e],t[e+1]);if(u<h){for(l=0;l<i;++l)a[l]=t[e+l];return a.length=i,u}return h}for(var c=l||[NaN,NaN],y=e+i;y<o;)if(Ji(t,y-i,y,i,p,s,c),(u=g(p,s,c[0],c[1]))<h){for(h=u,l=0;l<i;++l)a[l]=c[l];y+=a.length=i}else y+=i*Math.max((Math.sqrt(u)-Math.sqrt(h))/r|0,1);if(n&&(Ji(t,o-i,e,i,p,s,c),(u=g(p,s,c[0],c[1]))<h)){for(h=u,l=0;l<i;++l)a[l]=c[l];a.length=i}return h}function tr(t,e,o,i,r,n,p,s,a,h,l){var u;l=l||[NaN,NaN];var c=0;for(u=o.length;c<u;++c){var y=o[c];h=Qi(t,e,y,i,r,n,p,s,a,h,l),e=y}return h}function er(t,e){var o,i=0,r=0;for(o=e.length;r<o;++r)t[i++]=e[r];return i}function or(t,e,o,i){var r,n=0;for(r=o.length;n<r;++n){var p,s=o[n];for(p=0;p<i;++p)t[e++]=s[p]}return e}function ir(t,e,o,i,r){r=r||[];var n,p=0,s=0;for(n=o.length;s<n;++s)e=or(t,e,o[s],i),r[p++]=e;return r.length=p,r}function rr(t,e,o,i,r){r=void 0!==r?r:[];for(var n=0;e<o;e+=i)r[n++]=t.slice(e,e+i);return r.length=n,r}function nr(t,e,o,i,r){r=void 0!==r?r:[];var n,p=0,s=0;for(n=o.length;s<n;++s){var a=o[s];r[p++]=rr(t,e,a,i,r[p]),e=a}return r.length=p,r}function pr(t,e,o,i,r,n,p){var s=(o-e)/i;if(s<3){for(;e<o;e+=i)n[p++]=t[e],n[p++]=t[e+1];return p}var a=Array(s);a[0]=1,a[s-1]=1,o=[e,o-i];for(var h,l=0;0<o.length;){var u=o.pop(),c=o.pop(),y=0,f=t[c],g=t[c+1],d=t[u],v=t[u+1];for(h=c+i;h<u;h+=i){var b=x(t[h],t[h+1],f,g,d,v);y<b&&(l=h,y=b)}r<y&&(a[(l-e)/i]=1,c+i<l&&o.push(c,l),l+i<u&&o.push(l,u))}for(h=0;h<s;++h)a[h]&&(n[p++]=t[e+h*i],n[p++]=t[e+h*i+1]);return p}function sr(t,e,o,i,r,n,p,s){var a,h=0;for(a=o.length;h<a;++h){var l=o[h];t:{var u=t,c=l,y=i,f=r,g=n,d=p;if(e!=c){var v=f*Math.round(u[e]/f),b=f*Math.round(u[e+1]/f);e+=y,g[d++]=v,g[d++]=b;do{var m=f*Math.round(u[e]/f);if(p=f*Math.round(u[e+1]/f),(e+=y)==c){g[d++]=m,g[d++]=p,p=d;break t}}while(m==v&&p==b);for(;e<c;){var w=f*Math.round(u[e]/f),x=f*Math.round(u[e+1]/f);if(e+=y,w!=m||x!=p){var S=m-v,M=p-b,P=w-v,A=x-b;S*A==M*P&&(S<0&&P<S||S==P||0<S&&S<P)&&(M<0&&A<M||M==A||0<M&&M<A)||(v=g[d++]=m,b=g[d++]=p),m=w,p=x}}g[d++]=m,g[d++]=p}p=d}s.push(p),e=l}return p}function ar(t,e){Zi.call(this),this.c=this.j=-1,this.ma(t,e)}function hr(t,e,o){zi(t,e,o),t.s()}function lr(t,e){Zi.call(this),this.ma(t,e)}function ur(e,o,i,r,t){return!_(t,function(t){return!cr(e,o,i,r,t[0],t[1])})}function cr(t,e,o,i,r,n){for(var p=0,s=t[o-i],a=t[o-i+1];e<o;e+=i){var h=t[e],l=t[e+1];a<=n?n<l&&0<(h-s)*(n-a)-(r-s)*(l-a)&&p++:l<=n&&(h-s)*(n-a)-(r-s)*(l-a)<0&&p--,s=h,a=l}return!!p}function yr(t,e,o,i,r,n){if(!o.length||!cr(t,e,o[0],i,r,n))return!1;var p;for(e=1,p=o.length;e<p;++e)if(cr(t,o[e-1],o[e],i,r,n))return!1;return!0}function fr(t,e,o,i,r,n,p){var s,a=r[n+1],h=[],l=o[0],u=t[l-i],c=t[l-i+1];for(s=e;s<l;s+=i){var y=t[s],f=t[s+1];(a<=c&&f<=a||c<=a&&a<=f)&&(u=(a-c)/(f-c)*(y-u)+u,h.push(u)),u=y,c=f}for(l=NaN,c=-1/0,h.sort(N),u=h[0],s=1,f=h.length;s<f;++s){y=h[s];var g=Math.abs(y-u);c<g&&(yr(t,e,o,i,u=(u+y)/2,a)&&(l=u,c=g)),u=y}return isNaN(l)&&(l=r[n]),p?(p.push(l,a),p):[l,a]}function gr(t,e,o,i,r,n){for(var p,s=[t[e],t[e+1]],a=[];e+i<o;e+=i){if(a[0]=t[e+i],a[1]=t[e+i+1],p=r.call(n,s,a))return p;s[0]=a[0],s[1]=a[1]}return!1}function dr(t,e,o,i,l){var r=J([1/0,1/0,-1/0,-1/0],t,e,o,i);return!!at(l,r)&&(!!(O(l,r)||r[0]>=l[0]&&r[2]<=l[2]||r[1]>=l[1]&&r[3]<=l[3])||gr(t,e,o,i,function(t,e){var o=!1,i=X(l,t),r=X(l,e);if(1===i||1===r)o=!0;else{var n=l[0],p=l[1],s=l[2],a=l[3],h=e[0];t=((e=e[1])-t[1])/(h-t[0]),2&r&&!(2&i)&&(o=n<=(o=h-(e-a)/t)&&o<=s),o||!(4&r)||4&i||(o=p<=(o=e-(h-s)*t)&&o<=a),o||!(8&r)||8&i||(o=n<=(o=h-(e-p)/t)&&o<=s),o||!(16&r)||16&i||(o=p<=(o=e-(h-n)*t)&&o<=a)}return o}))}function vr(t,e,o,i,r){var n=o[0];if(!(dr(t,e,n,i,r)||cr(t,e,n,i,r[0],r[1])||cr(t,e,n,i,r[0],r[3])||cr(t,e,n,i,r[2],r[1])||cr(t,e,n,i,r[2],r[3])))return!1;if(1===o.length)return!0;for(e=1,n=o.length;e<n;++e)if(ur(t,o[e-1],o[e],i,r))return!1;return!0}function br(t,e,o,i){for(var r=0,n=t[o-i],p=t[o-i+1];e<o;e+=i){var s=t[e],a=t[e+1];r=r+(s-n)*(a+p),n=s,p=a}return 0<r}function mr(t,e,o,i){var r,n=0;i=void 0!==i&&i;var p=0;for(r=e.length;p<r;++p){var s=e[p];n=br(t,n,s,o);if(p){if(i&&!n||!i&&n)return!1}else if(i&&n||!i&&!n)return!1;n=s}return!0}function wr(t,e,o,i,r){var n;r=void 0!==r&&r;var p=0;for(n=o.length;p<n;++p){var s=o[p],a=br(t,e,s,i);if(p?r&&!a||!r&&a:r&&a||!r&&!a){a=t;for(var h=s,l=i;e<h-l;){var u;for(u=0;u<l;++u){var c=a[e+u];a[e+u]=a[h-l+u],a[h-l+u]=c}e+=l,h-=l}}e=s}return e}function xr(t,e,o,i){var r,n=0,p=0;for(r=e.length;p<r;++p)n=wr(t,n,e[p],o,i);return n}function Sr(t,e){Zi.call(this),this.c=[],this.u=-1,this.D=null,this.I=this.C=this.B=-1,this.j=null,this.ma(t,e)}function Mr(t){if(t.u!=t.i){var e=et(t.G());t.D=fr(t.ec(),0,t.c,t.a,e,0),t.u=t.i}return t.D}function Pr(t,e,o,i){var r,n=i||32;for(i=[],r=0;r<n;++r)c(i,t.offset(e,o,2*Math.PI*r/n));return i.push(i[0],i[1]),(t=new Sr(null)).ba("XY",i,[i.length]),t}function Ar(t){var e=t[0],o=t[1],i=t[2];return e=[e,o,e,t=t[3],i,t,i,o,e,o],(o=new Sr(null)).ba("XY",e,[e.length]),o}function Er(t,e,o){for(var i=e||32,r=t.qa(),n=new Sr(null,e=t.ja),p=(i=r*(i+1),r=Array(i),0);p<i;p++)r[p]=0;return n.ba(e,r,[r.length]),Tr(n,t.wa(),t.pd(),o),n}function Tr(t,e,o,i){var r=t.ga(),n=t.ja,p=t.qa(),s=t.Bb(),a=r.length/p-1;i=i||0;for(var h,l,u=0;u<=a;++u)l=u*p,h=i+2*L(u,a)*Math.PI/a,r[l]=e[0]+o*Math.cos(h),r[1+l]=e[1]+o*Math.sin(h);t.ba(n,r,s)}function jr(t){Re.call(this),t=ct({},t),this.o=[0,0],this.c=[],this.wf=this.wf.bind(this),this.v=Bt(t.projection),Cr(this,t)}function Cr(t,e){var o={};o.center=void 0!==e.center?e.center:null;var i=void 0!==e.minZoom?e.minZoom:0,r=void 0!==e.maxZoom?e.maxZoom:28,n=void 0!==e.zoomFactor?e.zoomFactor:2;if(void 0!==e.resolutions){var p=(r=e.resolutions)[0],s=r[r.length-1];r=function(i){return function(t,e,o){if(void 0!==t)return(t=w((t=l(i,t,o))+e,0,i.length-1))!=(e=Math.floor(t))&&e<i.length-1?i[e]/Math.pow(i[e]/i[e+1],t-e):i[e]}}(r)}else{var a=((s=(p=Bt(e.projection)).G())?Math.max(st(s),it(s)):360*bt.degrees/p.sc())/256/Math.pow(2,0),h=a/Math.pow(2,28);void 0!==(p=e.maxResolution)?i=0:p=a/Math.pow(n,i),void 0===(s=e.minResolution)&&(s=void 0!==e.maxZoom?void 0!==e.maxResolution?p/Math.pow(n,r):a/Math.pow(n,r):h),r=i+Math.floor(Math.log(p/s)/Math.log(n)),s=p/Math.pow(n,r-i),r=function(i,r,n){return function(t,e,o){if(void 0!==t)return t=Math.max(Math.floor(Math.log(r/t)/Math.log(i)+(-o/2+.5))+e,0),void 0!==n&&(t=Math.min(t,n)),r/Math.pow(i,t)}}(n,p,r-i)}t.a=p,t.f=s,t.C=n,t.j=e.resolutions,t.l=i,i=void 0===e.enableRotation||e.enableRotation?void 0===(i=e.constrainRotation)||!0===i?function(){var o=S(5);return function(t,e){if(void 0!==t)return Math.abs(t+e)<=o?0:t+e}}():!1===i?Ai:"number"==typeof i?function(t){var o=2*Math.PI/t;return function(t,e){if(void 0!==t)return Math.floor((t+e)/o+.5)*o}}(i):Ai:Pi,t.g={center:void 0!==e.extent?function(e){return function(t){if(t)return[w(t[0],e[0],e[2]),w(t[1],e[1],e[3])]}}(e.extent):ye,resolution:r,rotation:i},void 0!==e.resolution?o.resolution=e.resolution:void 0!==e.zoom&&(o.resolution=t.constrainResolution(t.a,e.zoom-t.l)),o.rotation=void 0!==e.rotation?e.rotation:0,t.H(o),t.D=e}function Lr(t,e){var o=ct({},t.D);return void 0!==o.resolution?o.resolution=t.Pa():o.zoom=t.Hh(),o.center=t.wa(),o.rotation=t.Qa(),ct({},o,e)}function Rr(t,e,o){var i=t.wa();if(void 0!==i){var r=[i[0]-o[0],i[1]-o[1]];Ni(r,e-t.Qa()),ji(r,o)}return r}function Ir(t,e,o){var i,r=t.wa();return t=t.Pa(),void 0!==r&&void 0!==t&&(i=[o[0]-e*(o[0]-r[0])/t,o[1]-e*(o[1]-r[1])/t]),i}function Nr(t){var e=[100,100];return t='.ol-viewport[data-view="'+G(t)+'"]',(t=document.querySelector(t))&&(t=getComputedStyle(t),e[0]=parseInt(t.width,10),e[1]=parseInt(t.height,10)),e}function Fr(t,e){return void 0!==e?(e[0]=t.o[0],e[1]=t.o[1],e):t.o.slice()}function kr(t){return!!t.wa()&&void 0!==t.Pa()}function Dr(t,e,o){t.o[e]+=o,t.s()}function Or(t,e,o){this.f=t,this.c=e,this.g=o,this.b=[],this.a=this.i=0}function Ur(t){t.b.length=0,t.i=0,t.a=0}function Gr(t){Re.call(this),this.v=null,this.Ha(!0),this.handleEvent=t.handleEvent}function Br(t,e,o,i){if(void 0!==e){var r=t.Qa(),n=t.wa();void 0!==r&&n&&0<i?t.animate({rotation:e,anchor:o,duration:i,easing:ro}):t.rotate(e,o)}}function Xr(t,e,o,i){var r=t.Pa();if(e=t.constrainResolution(r,e,0),o&&void 0!==e&&e!==r){var n=t.wa();o=Ir(t,e,o),o=t.Ec(o),o=[(e*n[0]-r*o[0])/(e-r),(e*n[1]-r*o[1])/(e-r)]}Vr(t,e,o,i)}function Vr(t,e,o,i){if(e){var r=t.Pa(),n=t.wa();void 0!==r&&n&&e!==r&&i?t.animate({resolution:e,anchor:o,duration:i,easing:ro}):(o&&(o=Ir(t,e,o),t.ob(o)),t.Vc(e))}}function Wr(t){t=t||{},this.a=t.delta?t.delta:1,Gr.call(this,{handleEvent:Zr}),this.g=void 0!==t.duration?t.duration:250}function Zr(t){var e=!1,o=t.originalEvent;if("dblclick"==t.type){e=t.coordinate,o=o.shiftKey?-this.a:this.a;Xr(t.map.Z(),o,e,this.g),t.preventDefault(),e=!0}return!e}function Kr(t){return(t=t.originalEvent).altKey&&!(t.metaKey||t.ctrlKey)&&t.shiftKey}function zr(t){return!((t=t.originalEvent).button||Io&&No&&t.ctrlKey)}function Yr(t){return"pointermove"==t.type}function Hr(t){return"singleclick"==t.type}function qr(t){return!(t=t.originalEvent).altKey&&!(t.metaKey||t.ctrlKey)&&!t.shiftKey}function Jr(t){return!(t=t.originalEvent).altKey&&!(t.metaKey||t.ctrlKey)&&t.shiftKey}function _r(t){return"INPUT"!==(t=t.originalEvent.target.tagName)&&"SELECT"!==t&&"TEXTAREA"!==t}function $r(t){return R(t.b,56),"mouse"==t.b.pointerType}function Qr(t){return(t=t.b).isPrimary&&0===t.button}function tn(t){Gr.call(this,{handleEvent:(t=t||{}).handleEvent?t.handleEvent:on}),this.yf=t.handleDownEvent?t.handleDownEvent:Bi,this.If=t.handleDragEvent?t.handleDragEvent:m,this.Jf=t.handleMoveEvent?t.handleMoveEvent:m,this.sk=t.handleUpEvent?t.handleUpEvent:Bi,this.D=!1,this.na={},this.o=[]}function en(t){for(var e=t.length,o=0,i=0,r=0;r<e;r++)o+=t[r].clientX,i+=t[r].clientY;return[o/e,i/e]}function on(t){if(!(t instanceof zo))return!0;var e=!1,o=t.type;return"pointerdown"!==o&&"pointerdrag"!==o&&"pointerup"!==o||(o=t.b,"pointerup"==t.type?delete this.na[o.pointerId]:"pointerdown"==t.type?this.na[o.pointerId]=o:o.pointerId in this.na&&(this.na[o.pointerId]=o),this.o=ft(this.na)),this.D?"pointerdrag"==t.type?this.If(t):"pointerup"==t.type&&(this.D=this.sk(t)&&0<this.o.length):"pointerdown"==t.type?(this.D=t=this.yf(t),e=this.Xc(t)):"pointermove"==t.type&&this.Jf(t),!e}function rn(t){tn.call(this,{handleDownEvent:sn,handleDragEvent:nn,handleUpEvent:pn}),t=t||{},this.a=t.kinetic,this.g=null,this.u=t.condition?t.condition:qr,this.j=!1}function nn(t){var e=this.o,o=en(e);if(e.length==this.l){if(this.a&&this.a.b.push(o[0],o[1],Date.now()),this.g){var i=this.g[0]-o[0],r=o[1]-this.g[1],n=(t=t.map.Z()).getState();Fi(i=[i,r],n.resolution),Ni(i,n.rotation),ji(i,n.center),i=t.Ec(i),t.ob(i)}}else this.a&&Ur(this.a);this.g=o,this.l=e.length}function pn(t){if(t=(r=t.map).Z(),this.o.length)return this.a&&Ur(this.a),!(this.g=null);if(!this.j&&this.a&&function(t){if(t.b.length<6)return!1;var e=Date.now()-t.g,o=t.b.length-3;if(t.b[o+2]<e)return!1;for(var i=o-3;0<i&&t.b[i+2]>e;)i-=3;if((e=t.b[o+2]-t.b[i+2])<1e3/60)return!1;var r=t.b[o]-t.b[i];return o=t.b[o+1]-t.b[i+1],t.i=Math.atan2(o,r),t.a=Math.sqrt(r*r+o*o)/e,t.a>t.c}(this.a)){var e=this.a;e=(e.c-e.a)/e.f;var o=this.a.i,i=t.wa(),r=(i=r.Ja(i),r.Wa([i[0]-e*Math.cos(o),i[1]-e*Math.sin(o)]));t.animate({center:t.Ec(r),duration:500,easing:ro})}return Dr(t,1,-1),!1}function sn(t){if(0<this.o.length&&this.u(t)){var e=t.map.Z();return this.g=null,this.D||Dr(e,1,1),Fr(e)[0]&&e.ob(t.frameState.viewState.center),this.a&&Ur(this.a),this.j=1<this.o.length,!0}return!1}function an(t){t=t||{},tn.call(this,{handleDownEvent:un,handleDragEvent:hn,handleUpEvent:ln}),this.g=t.condition?t.condition:Kr,this.a=void 0,this.j=void 0!==t.duration?t.duration:250}function hn(t){if($r(t)){var e=(o=t.map).Z();if(e.g.rotation!==Pi){if(o=o.Ob(),t=t.pixel,t=Math.atan2(o[1]/2-t[1],t[0]-o[0]/2),void 0!==this.a){var o=t-this.a,i=e.Qa();Br(e,i-o)}this.a=t}}}function ln(t){if(!$r(t))return!0;Dr(t=t.map.Z(),1,-1);var e=t.Qa(),o=this.j;e=t.constrainRotation(e,0);return Br(t,e,void 0,o),!1}function un(t){return!!($r(t)&&zr(t)&&this.g(t))&&(Dr(t.map.Z(),1,1),!(this.a=void 0))}function cn(t){this.Gc=null,this.a=document.createElement("div"),this.a.style.position="absolute",this.a.className="ol-box "+t,this.i=this.c=this.b=null}function yn(t){var e=t.c,o=t.i;(t=t.a.style).left=Math.min(e[0],o[0])+"px",t.top=Math.min(e[1],o[1])+"px",t.width=Math.abs(o[0]-e[0])+"px",t.height=Math.abs(o[1]-e[1])+"px"}function fn(t){var e=t.c,o=t.i;(e=[e,[e[0],o[1]],o,[o[0],e[1]]].map(t.b.Wa,t.b))[4]=e[0].slice(),t.Gc?t.Gc.ma([e]):t.Gc=new Sr([e])}function gn(t){tn.call(this,{handleDownEvent:mn,handleDragEvent:vn,handleUpEvent:bn}),t=t||{},this.a=new cn(t.className||"ol-dragbox"),this.u=void 0!==t.minArea?t.minArea:64,this.g=null,this.C=t.condition?t.condition:Gi,this.l=t.boxEndCondition?t.boxEndCondition:dn}function dn(t,e,o){return(t=o[0]-e[0])*t+(e=o[1]-e[1])*e>=this.u}function vn(t){if($r(t)){var e=this.a,o=t.pixel;e.c=this.g,e.i=o,fn(e),yn(e),this.b(new Mn(xn,t.coordinate,t))}}function bn(t){return!$r(t)||(this.a.setMap(null),this.l(t,this.g,t.pixel)&&(this.j(t),this.b(new Mn(Sn,t.coordinate,t))),!1)}function mn(t){if($r(t)&&zr(t)&&this.C(t)){this.g=t.pixel,this.a.setMap(t.map);var e=this.a,o=this.g;return e.c=this.g,e.i=o,fn(e),yn(e),this.b(new Mn(wn,t.coordinate,t)),!0}return!1}s(fi,je),(t=fi.prototype).Jh=function(t){gi(this,t);var e=new zo("pointerup",this.i,t);this.b(e),this.o||t.button||function(t,e){var o=new zo("click",t.i,e);t.b(o),t.j?(clearTimeout(t.j),t.j=0,o=new zo("dblclick",t.i,e),t.b(o)):t.j=setTimeout(function(){this.j=0;var t=new zo("singleclick",this.i,e);this.b(t)}.bind(t),250)}(this,this.c),this.S||(this.f.forEach(Se),this.f.length=0,this.o=!1,this.c=null,Ae(this.a),this.a=null)},t.Ol=function(t){gi(this,t);var e=new zo("pointerdown",this.i,t);this.b(e),this.c=t,this.f.length||(this.a=new ni(document),this.f.push(me(this.a,"pointermove",this.Hm,this),me(this.a,"pointerup",this.Jh,this),me(this.g,"pointercancel",this.Jh,this)))},t.Hm=function(t){if(di(this,t)){this.o=!0;var e=new zo("pointerdrag",this.i,t,this.o);this.b(e)}t.preventDefault()},t.Lp=function(t){this.b(new zo(t.type,this.i,t,!(!this.c||!di(this,t))))},t.ka=function(){this.v&&(Se(this.v),this.v=null),this.l&&(Se(this.l),this.l=null),this.f.forEach(Se),this.f.length=0,this.a&&(Ae(this.a),this.a=null),this.g&&(Ae(this.g),this.g=null),je.prototype.ka.call(this)},vi.prototype.clear=function(){this.b.length=0,this.i.length=0,yt(this.a)},vi.prototype.f=function(t){R(!(this.c(t)in this.a),31);var e=this.l(t);return 1/0!=e&&(this.b.push(t),this.i.push(e),this.a[this.c(t)]=!0,wi(this,0,this.b.length-1),!0)},s(Si,vi),Si.prototype.f=function(t){var e=vi.prototype.f.call(this,t);return e&&me(t[0],"change",this.o,this),e},Si.prototype.o=function(t){var e=(t=t.target).getState();2!==e&&3!==e&&4!==e&&5!==e||(xe(t,"change",this.o,this),(t=t.bb())in this.g&&(delete this.g[t],--this.j),this.v())},s(Xi,Re),(t=Xi.prototype).Ab=function(t,e){return e=e||[NaN,NaN],this.Kb(t[0],t[1],e,1/0),e},t.sb=function(t){return this.Mc(t[0],t[1])},t.Mc=Bi,t.G=function(t){this.v!=this.i&&(this.l=this.se(this.l),this.v=this.i);var e=this.l;return t?(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3]):t=e,t},t.Rb=function(t){return this.Vd(t*t)},t.tb=function(t,e){return this.Dc(Kt(t,e)),this},s(Zi,Xi),(t=Zi.prototype).Mc=Bi,t.se=function(t){return z(this.A,0,this.A.length,this.a,t)},t.ac=function(){return this.A.slice(0,this.a)},t.ga=function(){return this.A},t.bc=function(){return this.A.slice(this.A.length-this.a)},t.cc=function(){return this.ja},t.Vd=function(t){if(this.o!=this.i&&(yt(this.f),this.g=0,this.o=this.i),t<0||this.g&&t<=this.g)return this;var e=t.toString();if(this.f.hasOwnProperty(e))return this.f[e];var o=this.hd(t);return o.ga().length<this.A.length?this.f[e]=o:(this.g=t,this)},t.hd=function(){return this},t.qa=function(){return this.a},t.Dc=function(t){this.A&&(t(this.A,this.A,this.a),this.s())},t.rotate=function(t,e){var o=this.ga();if(o){var i=o.length,r=this.qa(),n=o||[],p=Math.cos(t);t=Math.sin(t);var s=e[0];e=e[1];for(var a=0,h=0;h<i;h+=r){var l=o[h]-s,u=o[h+1]-e;for(n[a++]=s+l*p-u*t,n[a++]=e+l*t+u*p,l=h+2;l<h+r;++l)n[a++]=o[l]}o&&n.length!=a&&(n.length=a),this.s()}},t.scale=function(t,e,o){var i=e;if(void 0===i&&(i=t),s=(s=o)||et(this.G()),o=this.ga()){e=o.length;for(var r=this.qa(),n=o||[],p=s[0],s=s[1],a=0,h=0;h<e;h+=r){var l=o[h]-p,u=o[h+1]-s;for(n[a++]=p+t*l,n[a++]=s+i*u,l=h+2;l<h+r;++l)n[a++]=o[l]}o&&n.length!=a&&(n.length=a),this.s()}},t.translate=function(t,e){var o=this.ga();o&&(Wi(o,0,o.length,this.qa(),t,e,o),this.s())},s(ar,Zi),(t=ar.prototype).clone=function(){var t=new ar(null);return hr(t,this.ja,this.A.slice()),t},t.Kb=function(t,e,o,i){return i<k(this.G(),t,e)?i:(this.c!=this.i&&(this.j=Math.sqrt(_i(this.A,0,this.A.length,this.a,0)),this.c=this.i),Qi(this.A,0,this.A.length,this.a,this.j,!0,t,e,o,i))},t.qn=function(){return Hi(this.A,0,this.A.length,this.a)},t.X=function(){return rr(this.A,0,this.A.length,this.a)},t.hd=function(t){var e=[];return e.length=pr(this.A,0,this.A.length,this.a,t,e,0),hr(t=new ar(null),"XY",e),t},t.U=function(){return"LinearRing"},t.Xa=function(){},t.ma=function(t,e){t?(Yi(this,e,t,1),this.A||(this.A=[]),this.A.length=or(this.A,0,t,this.a),this.s()):hr(this,"XY",null)},s(lr,Zi),(t=lr.prototype).clone=function(){var t=new lr(null);return t.ba(this.ja,this.A.slice()),t},t.Kb=function(t,e,o,i){var r=this.A;if((t=g(t,e,r[0],r[1]))<i){for(i=this.a,e=0;e<i;++e)o[e]=r[e];return o.length=i,t}return i},t.X=function(){return this.A?this.A.slice():[]},t.se=function(t){return K(this.A,t)},t.U=function(){return"Point"},t.Xa=function(t){return B(t,this.A[0],this.A[1])},t.ma=function(t,e){t?(Yi(this,e,t,0),this.A||(this.A=[]),this.A.length=er(this.A,t),this.s()):this.ba("XY",null)},t.ba=function(t,e){zi(this,t,e),this.s()},s(Sr,Zi),(t=Sr.prototype).pk=function(t){this.A?c(this.A,t.ga()):this.A=t.ga().slice(),this.c.push(this.A.length),this.s()},t.clone=function(){var t=new Sr(null);return t.ba(this.ja,this.A.slice(),this.c.slice()),t},t.Kb=function(t,e,o,i){return i<k(this.G(),t,e)?i:(this.C!=this.i&&(this.B=Math.sqrt($i(this.A,0,this.c,this.a,0)),this.C=this.i),tr(this.A,0,this.c,this.a,this.B,!0,t,e,o,i))},t.Mc=function(t,e){return yr(this.ec(),0,this.c,this.a,t,e)},t.tn=function(){return qi(this.ec(),0,this.c,this.a)},t.X=function(t){if(void 0!==t){var e=this.ec().slice();wr(e,0,this.c,this.a,t)}else e=this.A;return nr(e,0,this.c,this.a)},t.Bb=function(){return this.c},t.Tk=function(){return new lr(Mr(this))},t.Zk=function(){return this.c.length},t.Ch=function(t){if(t<0||this.c.length<=t)return null;var e=new ar(null);return hr(e,this.ja,this.A.slice(t?this.c[t-1]:0,this.c[t])),e},t.Sd=function(){var t,e=this.ja,o=this.A,i=this.c,r=[],n=0,p=0;for(t=i.length;p<t;++p){var s=i[p],a=new ar(null);hr(a,e,o.slice(n,s)),r.push(a),n=s}return r},t.ec=function(){if(this.I!=this.i){var t=this.A;mr(t,this.c,this.a)?this.j=t:(this.j=t.slice(),this.j.length=wr(this.j,0,this.c,this.a)),this.I=this.i}return this.j},t.hd=function(t){var e=[],o=[];return e.length=sr(this.A,0,this.c,this.a,Math.sqrt(t),e,0,o),(t=new Sr(null)).ba("XY",e,o),t},t.U=function(){return"Polygon"},t.Xa=function(t){return vr(this.ec(),0,this.c,this.a,t)},t.ma=function(t,e){t?(Yi(this,e,t,2),this.A||(this.A=[]),t=ir(this.A,0,t,this.a,this.c),this.A.length=t.length?t[t.length-1]:0,this.s()):this.ba("XY",null,this.c)},t.ba=function(t,e,o){zi(this,t,e),this.c=o,this.s()},s(jr,Re),(t=jr.prototype).animate=function(t){var e=Date.now(),o=this.wa().slice(),i=this.Pa(),r=this.Qa(),n=arguments.length;if(1<n&&"function"==typeof arguments[n-1]){var p=arguments[n-1];--n}for(var s=[],a=0;a<n;++a){var h=arguments[a],l={start:e,complete:!1,anchor:h.anchor,duration:void 0!==h.duration?h.duration:1e3,easing:h.easing||no};h.center&&(l.Rg=o,l.Tg=h.center,o=l.Tg),void 0!==h.zoom?(l.tf=i,l.zd=this.constrainResolution(this.a,h.zoom-this.l,0),i=l.zd):h.resolution&&(l.tf=i,l.zd=h.resolution,i=l.zd),void 0!==h.rotation&&(l.Sg=r,l.uf=h.rotation,r=l.uf),l.callback=p,e+=l.duration,s.push(l)}this.c.push(s),Dr(this,0,1),this.wf()},t.Ic=function(){return 0<Fr(this)[0]},t.Rk=function(){return 0<Fr(this)[1]},t.ed=function(){Dr(this,0,-Fr(this)[0]);for(var t=0,e=this.c.length;t<e;++t){var o=this.c[t];o[0].callback&&o[0].callback(!1)}this.c.length=0},t.wf=function(){if(void 0!==this.u&&(cancelAnimationFrame(this.u),this.u=void 0),this.Ic()){for(var t=Date.now(),e=!1,o=this.c.length-1;0<=o;--o){for(var i=this.c[o],r=!0,n=0,p=i.length;n<p;++n){var s=i[n];if(!s.complete){if(e=t-s.start,1<=(e=0<s.duration?e/s.duration:1)?(s.complete=!0,e=1):r=!1,e=s.easing(e),s.Rg){var a=s.Rg[0],h=s.Rg[1];this.set("center",[a+e*(s.Tg[0]-a),h+e*(s.Tg[1]-h)])}if(s.tf&&s.zd&&(a=1===e?s.zd:s.tf+e*(s.zd-s.tf),s.anchor&&this.set("center",Ir(this,a,s.anchor)),this.set("resolution",a)),void 0!==s.Sg&&void 0!==s.uf&&(e=1===e?s.uf:s.Sg+e*(s.uf-s.Sg),s.anchor&&this.set("center",Rr(this,e,s.anchor)),this.set("rotation",e)),e=!0,!s.complete)break}}r&&(this.c[o]=null,Dr(this,0,-1),(i=i[0].callback)&&i(!0))}this.c=this.c.filter(Boolean),e&&void 0===this.u&&(this.u=requestAnimationFrame(this.wf))}},t.Ec=function(t){return this.g.center(t)},t.constrainResolution=function(t,e,o){return this.g.resolution(t,e||0,o||0)},t.constrainRotation=function(t,e){return this.g.rotation(t,e||0)},t.wa=function(){return this.get("center")},t.dd=function(t){t=t||Nr(this);var e=this.wa();R(e,1);var o=this.Pa();R(void 0!==o,2);var i=this.Qa();return R(void 0!==i,3),ot(e,o,i,t)},t.Nm=function(){return this.a},t.Pm=function(){return this.f},t.Om=function(){return this.Ce(this.f)},t.eq=function(t){Cr(this,Lr(this,{maxZoom:t}))},t.Qm=function(){return this.Ce(this.a)},t.fq=function(t){Cr(this,Lr(this,{minZoom:t}))},t.Rm=function(){return this.v},t.Pa=function(){return this.get("resolution")},t.Sm=function(){return this.j},t.ze=function(t,e){return e=e||Nr(this),Math.max(st(t)/e[0],it(t)/e[1])},t.Qa=function(){return this.get("rotation")},t.getState=function(){var t=this.wa(),e=this.v,o=this.Pa(),i=this.Qa();return{center:t.slice(),projection:void 0!==e?e:null,resolution:o,rotation:i}},t.Hh=function(){var t,e=this.Pa();return void 0!==e&&(t=this.Ce(e)),t},t.Ce=function(t){if(t>=this.f&&t<=this.a){var e=this.l||0;if(this.j){var o=l(this.j,t,1);if(e+=o,o==this.j.length-1)return e;var i=this.j[o];o=i/this.j[o+1]}else i=this.a,o=this.C;e+=Math.log(i/t)/Math.log(o)}return e},t.Qf=function(t,e){var o=(e=e||{}).size;if(o=o||Nr(this),t instanceof Zi)if("Circle"===t.U()){var i=Ar(t=t.G());i.rotate(this.Qa(),et(t))}else i=t;else R(Array.isArray(t),24),R(!ht(t),25),i=Ar(t);var r,n=e.padding?e.padding:[0,0,0,0],p=void 0===e.constrainResolution||e.constrainResolution,s=void 0!==e.nearest&&e.nearest;r=void 0!==e.minResolution?e.minResolution:void 0!==e.maxZoom?this.constrainResolution(this.a,e.maxZoom-this.l,0):0;var a=i.ga(),h=this.Qa();t=Math.cos(-h);h=Math.sin(-h);var l=1/0,u=1/0,c=-1/0,y=-1/0;i=i.qa();for(var f=0,g=a.length;f<g;f+=i){var d=a[f]*t-a[f+1]*h,v=a[f]*h+a[f+1]*t;l=Math.min(l,d),u=Math.min(u,v),c=Math.max(c,d),y=Math.max(y,v)}o=this.ze([l,u,c,y],[o[0]-n[1]-n[3],o[1]-n[0]-n[2]]),o=isNaN(o)?r:Math.max(o,r),p&&(r=this.constrainResolution(o,0,0),!s&&r<o&&(r=this.constrainResolution(r,-1,0)),o=r),h=-h,t=[(r=(l+c)/2+(n[1]-n[3])/2*o)*t-(n=(u+y)/2+(n[0]-n[2])/2*o)*h,n*t+r*h],n=e.callback?e.callback:m,void 0!==e.duration?this.animate({resolution:o,center:t,duration:e.duration,easing:e.easing},n):(this.Vc(o),this.ob(t),setTimeout(n.bind(void 0,!0),0))},t.uk=function(t,e,o){var i=this.Qa(),r=Math.cos(-i),n=(i=Math.sin(-i),t[0]*r-t[1]*i);t=t[1]*r+t[0]*i;var p=this.Pa();n+=(e[0]/2-o[0])*p;t+=(o[1]-e[1]/2)*p,i=-i,this.ob([n*r-t*i,t*r+n*i])},t.rotate=function(t,e){void 0!==e&&(e=Rr(this,t,e),this.ob(e)),this.Oe(t)},t.ob=function(t){this.set("center",t),this.Ic()&&this.ed()},t.Vc=function(t){this.set("resolution",t),this.Ic()&&this.ed()},t.Oe=function(t){this.set("rotation",t),this.Ic()&&this.ed()},t.lq=function(t){t=this.constrainResolution(this.a,t-this.l,0),this.Vc(t)},s(Gr,Re),Gr.prototype.c=function(){return this.get("active")},Gr.prototype.f=function(){return this.v},Gr.prototype.Ha=function(t){this.set("active",t)},Gr.prototype.setMap=function(t){this.v=t},s(Wr,Gr),s(tn,Gr),tn.prototype.Xc=function(t){return t},s(rn,tn),rn.prototype.Xc=Bi,s(an,tn),an.prototype.Xc=Bi,s(cn,Pe),cn.prototype.ka=function(){this.setMap(null)},cn.prototype.setMap=function(t){if(this.b){this.b.C.removeChild(this.a);var e=this.a.style;e.left=e.top=e.width=e.height="inherit"}(this.b=t)&&this.b.C.appendChild(this.a)},cn.prototype.V=function(){return this.Gc},s(gn,tn),gn.prototype.V=function(){return this.a.V()},gn.prototype.j=m;var wn="boxstart",xn="boxdrag",Sn="boxend";function Mn(t,e,o){Ee.call(this,t),this.coordinate=e,this.mapBrowserEvent=o}function Pn(t){var e=(t=t||{}).condition?t.condition:Jr;this.B=void 0!==t.duration?t.duration:200,this.I=void 0!==t.out&&t.out,gn.call(this,{condition:e,className:t.className||"ol-dragzoom"})}function An(t){Gr.call(this,{handleEvent:En}),t=t||{},this.a=function(t){return qr(t)&&_r(t)},this.g=t.condition?t.condition:this.a,this.j=void 0!==t.duration?t.duration:100,this.o=void 0!==t.pixelDelta?t.pixelDelta:128}function En(t){var e=!1;if("keydown"==t.type){var o=t.originalEvent.keyCode;if(this.g(t)&&(40==o||37==o||39==o||38==o)){var i=(e=t.map.Z()).Pa()*this.o,r=0,n=0;40==o?n=-i:37==o?r=-i:39==o?r=i:n=i,Ni(i=[r,n],e.Qa()),o=this.j,(r=e.wa())&&(i=e.Ec([r[0]+i[0],r[1]+i[1]]),o?e.animate({duration:o,easing:po,center:i}):e.ob(i)),t.preventDefault(),e=!0}}return!e}function Tn(t){Gr.call(this,{handleEvent:jn}),t=t||{},this.g=t.condition?t.condition:_r,this.a=t.delta?t.delta:1,this.j=void 0!==t.duration?t.duration:100}function jn(t){var e=!1;if("keydown"==t.type||"keypress"==t.type){var o=t.originalEvent.charCode;!this.g(t)||43!=o&&45!=o||(e=43==o?this.a:-this.a,Xr(o=t.map.Z(),e,void 0,this.j),t.preventDefault(),e=!0)}return!e}function Cn(t){Gr.call(this,{handleEvent:Ln}),t=t||{},this.j=0,this.D=void 0!==t.duration?t.duration:250,this.na=void 0!==t.timeout?t.timeout:80,this.C=void 0===t.useAnchor||t.useAnchor,this.R=t.constrainResolution||!1,this.a=null,this.l=this.o=this.u=this.g=void 0}function Ln(t){if("wheel"!==(e=t.type)&&"mousewheel"!==e)return!0;t.preventDefault();var e=t.map,o=t.originalEvent;if(this.C&&(this.a=t.coordinate),"wheel"==t.type){var i=o.deltaY;Lo&&o.deltaMode===WheelEvent.DOM_DELTA_PIXEL&&(i/=Fo),o.deltaMode===WheelEvent.DOM_DELTA_LINE&&(i*=40)}else"mousewheel"==t.type&&(i=-o.wheelDeltaY,Ro&&(i/=3));if(0===i)return!1;if(t=Date.now(),void 0===this.g&&(this.g=t),(!this.o||400<t-this.g)&&(this.o=Math.abs(i)<4?Rn:In),this.o!==Rn)return this.j+=i,i=Math.max(this.na-(t-this.g),0),clearTimeout(this.u),this.u=setTimeout(this.I.bind(this,e),i),!1;e=e.Z(),this.l?clearTimeout(this.l):Dr(e,1,1),this.l=setTimeout(this.B.bind(this),400);o=e.Pa()*Math.pow(2,i/300);var r=e.f,n=e.a,p=0;if(o<r?(o=Math.max(o,r/1.5),p=1):n<o&&(o=Math.min(o,1.5*n),p=-1),this.a){var s=Ir(e,o,this.a);e.ob(e.Ec(s))}return e.Vc(o),!p&&this.R&&e.animate({resolution:e.constrainResolution(o,0<i?-1:1),easing:ro,anchor:this.a,duration:this.D}),0<p?e.animate({resolution:r,easing:ro,anchor:this.a,duration:500}):p<0&&e.animate({resolution:n,easing:ro,anchor:this.a,duration:500}),this.g=t,!1}s(Mn,Ee),s(Pn,gn),Pn.prototype.j=function(){var t=(n=this.v).Z(),e=n.Ob(),o=this.V().G();if(this.I){var i,r=t.dd(e),n=(o=[n.Ja(Q(o)),n.Ja(pt(o))],Z(void 0)),p=0;for(i=o.length;p<i;++p)q(n,o[p]);lt(r,1/(o=t.ze(n,e))),o=r}e=t.constrainResolution(t.ze(o,e)),r=et(o),r=t.Ec(r),t.animate({resolution:e,center:r,duration:this.B,easing:ro})},s(An,Gr),s(Tn,Gr),s(Cn,Gr),Cn.prototype.B=function(){this.l=void 0,Dr(this.v.Z(),1,-1)},Cn.prototype.I=function(t){(t=t.Z()).Ic()&&t.ed(),Xr(t,-w(this.j,-1,1),this.a,this.D),this.o=void 0,this.j=0,this.a=null,this.u=this.g=void 0},Cn.prototype.T=function(t){(this.C=t)||(this.a=null)};var Rn="trackpad",In="wheel";function Nn(t){tn.call(this,{handleDownEvent:Dn,handleDragEvent:Fn,handleUpEvent:kn}),t=t||{},this.g=null,this.j=void 0,this.a=!1,this.l=0,this.C=void 0!==t.threshold?t.threshold:.3,this.u=void 0!==t.duration?t.duration:250}function Fn(t){var e=0,o=this.o[0],i=this.o[1];o=Math.atan2(i.clientY-o.clientY,i.clientX-o.clientX);if(void 0!==this.j&&(e=o-this.j,this.l+=e,!this.a&&Math.abs(this.l)>this.C&&(this.a=!0)),this.j=o,(o=(t=t.map).Z()).g.rotation!==Pi){i=t.a.getBoundingClientRect();var r=en(this.o);r[0]-=i.left,r[1]-=i.top,this.g=t.Wa(r),this.a&&(i=o.Qa(),t.render(),Br(o,i+e,this.g))}}function kn(t){if(this.o.length<2){if(Dr(t=t.map.Z(),1,-1),this.a){var e=t.Qa(),o=this.g,i=this.u;e=t.constrainRotation(e,0);Br(t,e,o,i)}return!1}return!0}function Dn(t){return 2<=this.o.length&&(t=t.map,this.g=null,this.j=void 0,this.a=!1,this.l=0,this.D||Dr(t.Z(),1,1),!0)}function On(t){tn.call(this,{handleDownEvent:Bn,handleDragEvent:Un,handleUpEvent:Gn}),t=t||{},this.l=t.constrainResolution||!1,this.g=null,this.u=void 0!==t.duration?t.duration:400,this.a=void 0,this.j=1}function Un(t){var e=1,o=this.o[0],i=this.o[1],r=o.clientX-i.clientX;o=o.clientY-i.clientY,r=Math.sqrt(r*r+o*o);void 0!==this.a&&(e=this.a/r),this.a=r;i=(r=(t=t.map).Z()).Pa();var n=r.a,p=r.f;n<(o=i*e)?(e=n/i,o=n):o<p&&(e=p/i,o=p),1!=e&&(this.j=e),e=t.a.getBoundingClientRect(),(i=en(this.o))[0]-=e.left,i[1]-=e.top,this.g=t.Wa(i),t.render(),Vr(r,o,this.g)}function Gn(t){if(this.o.length<2){Dr(t=t.map.Z(),1,-1);var e=t.Pa();if(this.l||e<t.f||e>t.a){var o=this.g,i=this.u;e=t.constrainResolution(e,0,this.j-1);Vr(t,e,o,i)}return!1}return!0}function Bn(t){return 2<=this.o.length&&(t=t.map,this.g=null,this.a=void 0,this.j=1,this.D||Dr(t.Z(),1,1),!0)}function Xn(t){t=t||{};var e=new De,o=new Or(-.005,.05,100);return void 0!==t.altShiftDragRotate&&!t.altShiftDragRotate||e.push(new an),void 0!==t.doubleClickZoom&&!t.doubleClickZoom||e.push(new Wr({delta:t.zoomDelta,duration:t.zoomDuration})),void 0!==t.dragPan&&!t.dragPan||e.push(new rn({kinetic:o})),void 0!==t.pinchRotate&&!t.pinchRotate||e.push(new Nn),void 0!==t.pinchZoom&&!t.pinchZoom||e.push(new On({constrainResolution:t.constrainResolution,duration:t.zoomDuration})),void 0!==t.keyboard&&!t.keyboard||(e.push(new An),e.push(new Tn({delta:t.zoomDelta,duration:t.zoomDuration}))),void 0!==t.mouseWheelZoom&&!t.mouseWheelZoom||e.push(new Cn({constrainResolution:t.constrainResolution,duration:t.zoomDuration})),void 0!==t.shiftDragZoom&&!t.shiftDragZoom||e.push(new Pn({duration:t.zoomDuration})),e}function Vn(t){Re.call(this);var e=ct({},t);e.opacity=void 0!==t.opacity?t.opacity:1,e.visible=void 0===t.visible||t.visible,e.zIndex=void 0!==t.zIndex?t.zIndex:0,e.maxResolution=void 0!==t.maxResolution?t.maxResolution:1/0,e.minResolution=void 0!==t.minResolution?t.minResolution:0,this.H(e),this.a={layer:this,Je:!0}}function Wn(t){return t.a.opacity=w(t.hc(),0,1),t.a.yj=t.$f(),t.a.visible=t.Mb(),t.a.extent=t.G(),t.a.zIndex=t.Ba(),t.a.maxResolution=t.fc(),t.a.minResolution=Math.max(t.gc(),0),t.a}function Zn(t){var e=t||{};delete(t=ct({},e)).layers,e=e.layers,Vn.call(this,t),this.f=[],this.c={},me(this,Ne(Kn),this.Hl,this),e?Array.isArray(e)?e=new De(e.slice(),{unique:!0}):R(e instanceof De,43):e=new De(void 0,{unique:!0}),this.xi(e)}s(Nn,tn),Nn.prototype.Xc=Bi,s(On,tn),On.prototype.Xc=Bi,s(Vn,Re),(t=Vn.prototype).G=function(){return this.get("extent")},t.fc=function(){return this.get("maxResolution")},t.gc=function(){return this.get("minResolution")},t.hc=function(){return this.get("opacity")},t.Mb=function(){return this.get("visible")},t.Ba=function(){return this.get("zIndex")},t.vc=function(t){this.set("extent",t)},t.Ac=function(t){this.set("maxResolution",t)},t.Bc=function(t){this.set("minResolution",t)},t.wc=function(t){this.set("opacity",t)},t.xc=function(t){this.set("visible",t)},t.Vb=function(t){this.set("zIndex",t)},s(Zn,Vn),(t=Zn.prototype).Fd=function(){},t.Fe=function(){this.Mb()&&this.s()},t.Hl=function(){this.f.forEach(Se),this.f.length=0;var t,e=this.qd();for(var o in this.f.push(me(e,"add",this.Gl,this),me(e,"remove",this.Il,this)),this.c)this.c[o].forEach(Se);for(yt(this.c),o=0,t=(e=e.a).length;o<t;o++){var i=e[o];this.c[G(i).toString()]=[me(i,"propertychange",this.Fe,this),me(i,"change",this.Fe,this)]}this.s()},t.Gl=function(t){var e=G(t=t.element).toString();this.c[e]=[me(t,"propertychange",this.Fe,this),me(t,"change",this.Fe,this)],this.s()},t.Il=function(t){t=G(t.element).toString(),this.c[t].forEach(Se),delete this.c[t],this.s()},t.qd=function(){return this.get(Kn)},t.xi=function(t){this.set(Kn,t)},t.Yf=function(t){var e,o=void 0!==t?t:[],i=o.length;for(this.qd().forEach(function(t){t.Yf(o)}),t=Wn(this),e=o.length;i<e;i++){var r=o[i];r.opacity*=t.opacity,r.visible=r.visible&&t.visible,r.maxResolution=Math.min(r.maxResolution,t.maxResolution),r.minResolution=Math.max(r.minResolution,t.minResolution),void 0!==t.extent&&(r.extent=void 0!==r.extent?rt(r.extent,t.extent):t.extent)}return o},t.$f=function(){return"ready"};var Kn="layers";function zn(t){var e=ct({},t);delete e.source,Vn.call(this,e),this.v=this.l=this.o=null,t.map&&this.setMap(t.map),me(this,Ne("source"),this.Ul,this),this.Wc(t.source?t.source:null)}function Yn(t,e){return t.visible&&e>=t.minResolution&&e<t.maxResolution}function Hn(){this.b={},this.a=0}s(zn,Vn),(t=zn.prototype).Yf=function(t){return(t=t||[]).push(Wn(this)),t},t.ha=function(){return this.get("source")||null},t.$f=function(){var t=this.ha();return t?t.getState():"undefined"},t.Tn=function(){this.s()},t.Ul=function(){this.v&&(Se(this.v),this.v=null);var t=this.ha();t&&(this.v=me(t,"change",this.Tn,this)),this.s()},t.setMap=function(t){this.o&&(Se(this.o),this.o=null),t||this.s(),this.l&&(Se(this.l),this.l=null),t&&(this.o=me(t,"precompose",function(t){var e=Wn(this);e.Je=!1,e.zIndex=1/0,t.frameState.layerStatesArray.push(e),t.frameState.layerStates[G(this)]=e},this),this.l=me(this,"change",t.render,t),this.s())},t.Wc=function(t){this.set("source",t)},Hn.prototype.clear=function(){this.b={},this.a=0},Hn.prototype.get=function(t,e,o){return(t=e+":"+t+":"+(o?Ze(o):"null"))in this.b?this.b[t]:null},Hn.prototype.set=function(t,e,o,i){this.b[e+":"+t+":"+(o?Ze(o):"null")]=i,++this.a};var qn=new Hn,Jn=Array(6);function _n(t){return Qn(t,1,0,0,1,0,0)}function $n(t,e){var o=t[0],i=t[1],r=t[2],n=t[3],p=t[4],s=t[5],a=e[0],h=e[1],l=e[2],u=e[3],c=e[4];return e=e[5],t[0]=o*a+r*h,t[1]=i*a+n*h,t[2]=o*l+r*u,t[3]=i*l+n*u,t[4]=o*c+r*e+p,t[5]=i*c+n*e+s,t}function Qn(t,e,o,i,r,n,p){return t[0]=e,t[1]=o,t[2]=i,t[3]=r,t[4]=n,t[5]=p,t}function tp(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function ep(t,e){var o=e[0],i=e[1];return e[0]=t[0]*o+t[2]*i+t[4],e[1]=t[1]*o+t[3]*i+t[5],e}function op(t,e){var o=Math.cos(e);e=Math.sin(e),$n(t,Qn(Jn,o,e,-e,o,0,0))}function ip(t,e,o){return $n(t,Qn(Jn,e,0,0,o,0,0))}function rp(t,e,o){$n(t,Qn(Jn,1,0,0,1,e,o))}function np(t,e,o,i,r,n,p,s){var a=Math.sin(n);return n=Math.cos(n),t[0]=i*n,t[1]=r*a,t[2]=-i*a,t[3]=r*n,t[4]=p*i*n-s*i*a+e,t[5]=p*r*a+s*r*n+o,t}function pp(t){var e=t[0]*t[3]-t[1]*t[2];R(!!e,32);var o=t[0],i=t[1],r=t[2],n=t[3],p=t[4],s=t[5];return t[0]=n/e,t[1]=-i/e,t[2]=-r/e,t[3]=o/e,t[4]=(r*s-n*p)/e,t[5]=-(o*s-i*p)/e,t}function sp(t,e){this.o=e,this.c={},this.v={}}function ap(t){var e=t.viewState,o=t.coordinateToPixelTransform,i=t.pixelToCoordinateTransform;np(o,t.size[0]/2,t.size[1]/2,1/e.resolution,-1/e.resolution,-e.rotation,-e.center[0],-e.center[1]),pp(tp(i,o))}function hp(){if(32<qn.a){var t,e=0;for(t in qn.b){var o=qn.b[t];3&e++||Ce(o)||(delete qn.b[t],--qn.a)}}}function lp(t,e){var o=G(e).toString();return o in t.c?t.c[o]:(e=e.Fd(t),t.c[o]=e,t.v[o]=me(e,"change",t.Fl,t),e)}function up(t,e){for(var o in t.c)if(!(o in e.layerStates)){e.postRenderFunctions.push(t.Rp.bind(t));break}}function cp(t,e){return t.zIndex-e.zIndex}function yp(t,e,o,i,r){Ee.call(this,t),this.vectorContext=e,this.frameState=o,this.context=i,this.glContext=r}s(sp,Pe),(t=sp.prototype).ka=function(){for(var t in this.c)Ae(this.c[t])},t.Ea=function(t,r,e,n,p,o,i){function s(t,e){var o=G(t).toString(),i=r.layerStates[G(e)].Je;if(!(o in r.skippedFeatureUids)||i)return n.call(p,t,i?e:null)}var a,h=(u=r.viewState).resolution,l=u.projection,u=t;if(l.i){var c=st(l=l.G());((f=t[0])<l[0]||f>l[2])&&(u=[f+c*Math.ceil((l[0]-f)/c),t[1]])}for(c=(l=r.layerStatesArray).length-1;0<=c;--c){var y=l[c],f=y.layer;if(Yn(y,h)&&o.call(i,f)&&(y=lp(this,f),f.ha()&&(a=y.Ea(f.ha().u?u:t,r,e,s,p)),a))return a}},t.Ei=function(t,e,o,i,r){return void 0!==this.Ea(t,e,o,Gi,this,i,r)},t.Fl=function(){this.o.render()},t.Jg=m,t.Rp=function(t,e){for(var o in this.c)if(!(e&&o in e.layerStates)){t=o;var i=this.c[t];delete this.c[t],Se(this.v[t]),delete this.v[t],Ae(i)}},s(yp,Ee);var fp=[0,0,0,1],gp=[],dp=[0,0,0,1];function vp(t,e,o,i){e&&(t.translate(o,i),t.rotate(e),t.translate(-o,-i))}function bp(){}function mp(t,e,o,i,r){this.i=t,this.u=e,this.c=o,this.S=i,this.Yb=r,this.M=this.b=this.a=this.Ua=this.R=this.I=null,this.na=this.T=this.l=this.B=this.C=this.D=0,this.fa=!1,this.f=this.fb=0,this.pa=!1,this.oa=0,this.Ia="",this.va=this.Jb=0,this.Sa=!1,this.j=this.$a=0,this.ra=this.o=this.g=null,this.v=[],this.xb=[1,0,0,1,0,0]}function wp(t,e,o){if(t.M){e=Vi(e,0,o,2,t.S,t.v),o=t.i;var i=t.xb,r=o.globalAlpha;1!=t.l&&(o.globalAlpha=r*t.l);var n,p=t.fb;t.fa&&(p+=t.Yb);var s=0;for(n=e.length;s<n;s+=2){var a=e[s]-t.D,h=e[s+1]-t.C;if(t.pa&&(a=Math.round(a),h=Math.round(h)),p||1!=t.f){var l=a+t.D,u=h+t.C;np(i,l,u,t.f,t.f,p,-l,-u),o.setTransform.apply(o,i)}o.drawImage(t.M,t.T,t.na,t.oa,t.B,a,h,t.oa,t.B)}!p&&1==t.f||o.setTransform(1,0,0,1,0,0),1!=t.l&&(o.globalAlpha=r)}}function xp(t,e,o,i){var r=0;if(t.ra&&""!==t.Ia){t.g&&Pp(t,t.g),t.o&&Ap(t,t.o);var n=t.ra,p=t.i;for((s=t.Ua)?(s.font!=n.font&&(s.font=p.font=n.font),s.textAlign!=n.textAlign&&(s.textAlign=p.textAlign=n.textAlign),s.textBaseline!=n.textBaseline&&(s.textBaseline=p.textBaseline=n.textBaseline)):(p.font=n.font,p.textAlign=n.textAlign,p.textBaseline=n.textBaseline,t.Ua={font:n.font,textAlign:n.textAlign,textBaseline:n.textBaseline}),e=Vi(e,r,o,i,t.S,t.v),n=t.i,p=t.$a,t.Sa&&(p+=t.Yb);r<o;r+=i){var s=e[r]+t.Jb,a=e[r+1]+t.va;if(p||1!=t.j){var h=np(t.xb,s,a,t.j,t.j,p,-s,-a);n.setTransform.apply(n,h)}t.o&&n.strokeText(t.Ia,s,a),t.g&&n.fillText(t.Ia,s,a)}!p&&1==t.j||n.setTransform(1,0,0,1,0,0)}}function Sp(t,e,o,i,r,n){var p=t.i;for(t=Vi(e,o,i,r,t.S,t.v),p.moveTo(t[0],t[1]),e=t.length,n&&(e-=2),o=2;o<e;o+=2)p.lineTo(t[o],t[o+1]);return n&&p.closePath(),i}function Mp(t,e,o,i,r){var n,p=0;for(n=i.length;p<n;++p)o=Sp(t,e,o,i[p],r,!0);return o}function Pp(t,e){var o=t.i,i=t.I;i?i.fillStyle!=e.fillStyle&&(i.fillStyle=o.fillStyle=e.fillStyle):(o.fillStyle=e.fillStyle,t.I={fillStyle:e.fillStyle})}function Ap(t,e){var o=t.i,i=t.R;i?(i.lineCap!=e.lineCap&&(i.lineCap=o.lineCap=e.lineCap),ko&&!U(i.lineDash,e.lineDash)&&o.setLineDash(i.lineDash=e.lineDash),i.lineJoin!=e.lineJoin&&(i.lineJoin=o.lineJoin=e.lineJoin),i.lineWidth!=e.lineWidth&&(i.lineWidth=o.lineWidth=e.lineWidth),i.miterLimit!=e.miterLimit&&(i.miterLimit=o.miterLimit=e.miterLimit),i.strokeStyle!=e.strokeStyle&&(i.strokeStyle=o.strokeStyle=e.strokeStyle)):(o.lineCap=e.lineCap,ko&&o.setLineDash(e.lineDash),o.lineJoin=e.lineJoin,o.lineWidth=e.lineWidth,o.miterLimit=e.miterLimit,o.strokeStyle=e.strokeStyle,t.R={lineCap:e.lineCap,lineDash:e.lineDash,lineJoin:e.lineJoin,lineWidth:e.lineWidth,miterLimit:e.miterLimit,strokeStyle:e.strokeStyle})}function Ep(t,e){sp.call(this,0,e),this.i=Je(),this.b=this.i.canvas,this.b.style.width="100%",this.b.style.height="100%",this.b.style.display="block",this.b.className="ol-unselectable",t.insertBefore(this.b,t.childNodes[0]||null),this.a=!0,this.f=[1,0,0,1,0,0]}function Tp(t,e,o){var i=t.o,r=t.i;if(Ce(i,e)){var n=o.extent,p=o.pixelRatio,s=o.viewState.rotation,a=o.viewState,h=o.pixelRatio/a.resolution;t=np(t.f,t.b.width/2,t.b.height/2,h,-h,-a.rotation,-a.center[0],-a.center[1]),i.b(new yp(e,new mp(r,p,n,t,s),o,r,null))}}(t=bp.prototype).zb=function(){},t.rd=function(){},t.Zb=function(){},t.te=function(){},t.ue=function(){},t.mc=function(){},t.nc=function(){},t.oc=function(){},t.pc=function(){},t.qc=function(){},t.rc=function(){},t.yc=function(){},t.Ma=function(){},t.Ub=function(){},t.Cb=function(){},s(mp,bp),(t=mp.prototype).Zb=function(t){if(at(this.c,t.G())){if(this.a||this.b){this.a&&Pp(this,this.a),this.b&&Ap(this,this.b);var e=this.S,o=this.v,i=t.ga();o=(e=i?Vi(i,0,i.length,t.qa(),e,o):null)[2]-e[0],i=e[3]-e[1],o=Math.sqrt(o*o+i*i),(i=this.i).beginPath(),i.arc(e[0],e[1],o,0,2*Math.PI),this.a&&i.fill(),this.b&&i.stroke()}""!==this.Ia&&xp(this,t.wa(),2,2)}},t.rd=function(t){this.Ma(t.Fa(),t.Ga()),this.Ub(t.Y()),this.Cb(t.Na())},t.zb=function(t){switch(t.U()){case"Point":this.qc(t);break;case"LineString":this.mc(t);break;case"Polygon":this.rc(t);break;case"MultiPoint":this.oc(t);break;case"MultiLineString":this.nc(t);break;case"MultiPolygon":this.pc(t);break;case"GeometryCollection":this.ue(t);break;case"Circle":this.Zb(t)}},t.te=function(t,e){(t=(0,e.Za)(t))&&at(this.c,t.G())&&(this.rd(e),this.zb(t))},t.ue=function(t){var e,o=0;for(e=(t=t.a).length;o<e;++o)this.zb(t[o])},t.qc=function(t){var e=t.ga();t=t.qa(),this.M&&wp(this,e,e.length),""!==this.Ia&&xp(this,e,e.length,t)},t.oc=function(t){var e=t.ga();t=t.qa(),this.M&&wp(this,e,e.length),""!==this.Ia&&xp(this,e,e.length,t)},t.mc=function(t){if(at(this.c,t.G())){if(this.b){Ap(this,this.b);var e=this.i,o=t.ga();e.beginPath(),Sp(this,o,0,o.length,t.qa(),!1),e.stroke()}""!==this.Ia&&xp(this,t=yl(t),2,2)}},t.nc=function(t){var e=t.G();if(at(this.c,e)){if(this.b){Ap(this,this.b);e=this.i;var o,i=t.ga(),r=0,n=t.Bb(),p=t.qa();e.beginPath();var s=0;for(o=n.length;s<o;++s)r=Sp(this,i,r,n[s],p,!1);e.stroke()}""!==this.Ia&&xp(this,t=gl(t),t.length,2)}},t.rc=function(t){if(at(this.c,t.G())){if(this.b||this.a){this.a&&Pp(this,this.a),this.b&&Ap(this,this.b);var e=this.i;e.beginPath(),Mp(this,t.ec(),0,t.Bb(),t.qa()),this.a&&e.fill(),this.b&&e.stroke()}""!==this.Ia&&xp(this,t=Mr(t),2,2)}},t.pc=function(t){if(at(this.c,t.G())){if(this.b||this.a){this.a&&Pp(this,this.a),this.b&&Ap(this,this.b);var e,o=this.i,i=wl(t),r=0,n=t.c,p=t.qa();o.beginPath();var s=0;for(e=n.length;s<e;++s)r=Mp(this,i,r,n[s],p);this.a&&o.fill(),this.b&&o.stroke()}""!==this.Ia&&xp(this,t=ml(t),t.length,2)}},t.Ma=function(t,e){if(t?(t=t.b,this.a={fillStyle:qe(t||fp)}):this.a=null,e){t=e.a;var o=e.f,i=e.i,r=e.g,n=e.j,p=e.c;e=e.o,this.b={lineCap:void 0!==o?o:"round",lineDash:i||gp,lineDashOffset:r||0,lineJoin:void 0!==n?n:"round",lineWidth:this.u*(void 0!==p?p:1),miterLimit:void 0!==e?e:10,strokeStyle:qe(t||dp)}}else this.b=null},t.Ub=function(t){if(t){var e=t.Hc(),o=t.Y(1),i=t.Oc(),r=t.ic();this.D=e[0],this.C=e[1],this.B=r[1],this.M=o,this.l=t.f,this.T=i[0],this.na=i[1],this.fa=t.l,this.fb=t.g,this.f=t.a,this.pa=t.v,this.oa=r[0]}else this.M=null},t.Cb=function(t){if(t){if((e=t.Fa())?(e=e.b,this.g={fillStyle:qe(e||fp)}):this.g=null,s=t.Ga()){var e=s.a,o=s.f,i=s.i,r=s.g,n=s.j,p=s.c,s=s.o;this.o={lineCap:void 0!==o?o:"round",lineDash:i||gp,lineDashOffset:r||0,lineJoin:void 0!==n?n:"round",lineWidth:void 0!==p?p:1,miterLimit:void 0!==s?s:10,strokeStyle:qe(e||dp)}}else this.o=null;e=t.a,o=t.i,i=t.c,r=t.o,n=t.f,p=t.b,s=t.Na();var a=t.g;t=t.j,this.ra={font:void 0!==e?e:"10px sans-serif",textAlign:void 0!==a?a:"center",textBaseline:void 0!==t?t:"middle"},this.Ia=void 0!==s?s:"",this.Jb=void 0!==o?this.u*o:0,this.va=void 0!==i?this.u*i:0,this.Sa=void 0!==r&&r,this.$a=void 0!==n?n:0,this.j=this.u*(void 0!==p?p:1)}else this.Ia=""},s(Ep,sp),Ep.prototype.U=function(){return"canvas"},Ep.prototype.Jg=function(t){if(t){var e=this.i,o=t.pixelRatio,i=Math.round(t.size[0]*o),r=Math.round(t.size[1]*o);this.b.width!=i||this.b.height!=r?(this.b.width=i,this.b.height=r):e.clearRect(0,0,i,r),o=t.viewState.rotation,ap(t),Tp(this,"precompose",t);var n=t.layerStatesArray;u(n),o&&(e.save(),vp(e,o,i/2,r/2));var p;i=t.viewState.resolution,r=0;for(p=n.length;r<p;++r){var s=n[r],a=s.layer;a=lp(this,a),Yn(s,i)&&"ready"==s.yj&&a.sd(t,s)&&a.S(t,s,e)}o&&e.restore(),Tp(this,"postcompose",t),this.a||(this.b.style.display="",this.a=!0),up(this,t),t.postRenderFunctions.push(hp)}else this.a&&(this.b.style.display="none",this.a=!1)},Ep.prototype.Di=function(t,e,o,i,r,n){var p=e.viewState.resolution,s=e.layerStatesArray,a=s.length;for(t=ep(e.pixelToCoordinateTransform,t.slice()),--a;0<=a;--a){var h=s[a],l=h.layer;if(Yn(h,p)&&r.call(n,l)&&(h=lp(this,l).u(t,e,o,i)))return h}};var jp=["Polygon","Circle","LineString","Image","Text"];function Cp(){}function Lp(t){this.b=t}function Rp(t){this.b=t}function Ip(t){this.b=t}function Np(){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;}}"}s(Rp,Lp),Rp.prototype.U=function(){return 35632},s(Ip,Lp),Ip.prototype.U=function(){return 35633},s(Np,Rp);var Fp=new Np;function kp(){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);}}"}s(kp,Ip);var Dp=new kp;function Op(t,e){this.B=t.getUniformLocation(e,"n"),this.oa=t.getUniformLocation(e,"k"),this.c=t.getUniformLocation(e,"j"),this.f=t.getUniformLocation(e,"i"),this.a=t.getUniformLocation(e,"m"),this.ra=t.getUniformLocation(e,"l"),this.i=t.getUniformLocation(e,"h"),this.I=t.getUniformLocation(e,"p"),this.R=t.getUniformLocation(e,"o"),this.j=t.getAttribLocation(e,"f"),this.b=t.getAttribLocation(e,"e"),this.S=t.getAttribLocation(e,"g")}function Up(t,e){return t[0]=e[0],t[1]=e[1],t[4]=e[2],t[5]=e[3],t[12]=e[4],t[13]=e[5],t}function Gp(t,e){this.origin=et(e),this.xb=[1,0,0,1,0,0],this.Sa=[1,0,0,1,0,0],this.$a=[1,0,0,1,0,0],this.Jb=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],this.b=[],this.o=null,this.i=[],this.f=[],this.a=[],this.l=null,this.g=void 0}function Bp(t,e,o,i){t.drawElements(4,i-o,e.g?5125:5123,o*(e.g?4:2))}s(Gp,bp),Gp.prototype.La=function(t,e,o,i,r,n,p,s,a,h,l){var u=t.b;if(this.g){var c=u.isEnabled(u.STENCIL_TEST),y=u.getParameter(u.STENCIL_FUNC),f=u.getParameter(u.STENCIL_VALUE_MASK),g=u.getParameter(u.STENCIL_REF),d=u.getParameter(u.STENCIL_WRITEMASK),v=u.getParameter(u.STENCIL_FAIL),b=u.getParameter(u.STENCIL_PASS_DEPTH_PASS),m=u.getParameter(u.STENCIL_PASS_DEPTH_FAIL);u.enable(u.STENCIL_TEST),u.clear(u.STENCIL_BUFFER_BIT),u.stencilMask(255),u.stencilFunc(u.ALWAYS,1,255),u.stencilOp(u.KEEP,u.KEEP,u.REPLACE),this.g.La(t,e,o,i,r,n,p,s,a,h,l),u.stencilMask(0),u.stencilFunc(u.NOTEQUAL,1,255)}os(t,34962,this.l),os(t,34963,this.o),n=this.rf(u,t,r,n);var w=_n(this.xb);if(ip(w,2/(o*r[0]),2/(o*r[1])),op(w,-i),rp(w,-(e[0]-this.origin[0]),-(e[1]-this.origin[1])),ip(e=_n(this.$a),2/r[0],2/r[1]),r=_n(this.Sa),i&&op(r,-i),u.uniformMatrix4fv(n.i,!1,Up(this.Jb,w)),u.uniformMatrix4fv(n.f,!1,Up(this.Jb,e)),u.uniformMatrix4fv(n.c,!1,Up(this.Jb,r)),u.uniform1f(n.a,p),a)var x=t=h?this.ve(u,t,s,a,l):(u.clear(u.COLOR_BUFFER_BIT|u.DEPTH_BUFFER_BIT),this.Od(u,t,s,!0),(t=a(null))?t:void 0);else this.Od(u,t,s,!1);return this.sf(u,n),this.g&&(c||u.disable(u.STENCIL_TEST),u.clear(u.STENCIL_BUFFER_BIT),u.stencilFunc(y,g,f),u.stencilMask(d),u.stencilOp(v,m,b)),x};var Xp=[0,0,0,1],Vp=[],Wp=[0,0,0,1];function Zp(t,e,o,i,r,n){return(t=(o-t)*(n-e)-(r-t)*(i-e))<=Kp&&-Kp<=t?void 0:0<t}var Kp=Number.EPSILON||2220446049250313e-31;function zp(t){this.b=void 0!==t?t:[],this.a=Yp}var Yp=35044;function Hp(t,e){Gp.call(this,0,e),this.v=null,this.j=[],this.u=[],this.S=0,this.c={fillColor:null,strokeColor:null,lineDash:null,lineDashOffset:void 0,lineWidth:void 0,s:!1}}function qp(t,e,o,i){e.uniform4fv(t.v.R,o),e.uniform1f(t.v.oa,i)}function Jp(){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;}"}s(Hp,Gp),(t=Hp.prototype).Zb=function(t,e){var o=t.pd(),i=t.qa();if(o){this.i.push(this.b.length),this.f.push(e),this.c.s&&(this.u.push(this.b.length),this.c.s=!1),this.S=o,t=Wi(t=t.ga(),0,2,i,-this.origin[0],-this.origin[1]),e=this.a.length;o=this.b.length;var r,n=e/4;for(r=0;r<2;r+=i)this.a[e++]=t[r],this.a[e++]=t[r+1],this.a[e++]=0,this.a[e++]=this.S,this.a[e++]=t[r],this.a[e++]=t[r+1],this.a[e++]=1,this.a[e++]=this.S,this.a[e++]=t[r],this.a[e++]=t[r+1],this.a[e++]=2,this.a[e++]=this.S,this.a[e++]=t[r],this.a[e++]=t[r+1],this.a[e++]=3,this.a[e++]=this.S,this.b[o++]=n,this.b[o++]=n+1,this.b[o++]=n+2,this.b[o++]=n+2,this.b[o++]=n+3,this.b[o++]=n,n+=4}else this.c.s&&(this.j.pop(),this.j.length&&(i=this.j[this.j.length-1],this.c.fillColor=i[0],this.c.strokeColor=i[1],this.c.lineWidth=i[2],this.c.s=!1))},t.Db=function(){this.l=new zp(this.a),this.o=new zp(this.b),this.i.push(this.b.length),!this.u.length&&0<this.j.length&&(this.j=[]),this.b=this.a=null},t.Eb=function(t){var e=this.l,o=this.o;return function(){is(t,e),is(t,o)}},t.rf=function(t,e,o,i){var r=ps(e,Fp,Dp);if(this.v)var n=this.v;else this.v=n=new Op(t,r);return e.Qc(r),t.enableVertexAttribArray(n.b),t.vertexAttribPointer(n.b,2,5126,!1,16,0),t.enableVertexAttribArray(n.j),t.vertexAttribPointer(n.j,1,5126,!1,16,8),t.enableVertexAttribArray(n.S),t.vertexAttribPointer(n.S,1,5126,!1,16,12),t.uniform2fv(n.I,o),t.uniform1f(n.ra,i),n},t.sf=function(t,e){t.disableVertexAttribArray(e.b),t.disableVertexAttribArray(e.j),t.disableVertexAttribArray(e.S)},t.Od=function(t,e,o){if(gt(o)){var i=this.i[this.i.length-1];for(o=this.u.length-1;0<=o;--o){var r=this.u[o],n=this.j[o];t.uniform4fv(this.v.B,n[0]),qp(this,t,n[1],n[2]),Bp(t,e,r,i),i=r}}else{var p=this.i.length-2;for(n=i=this.i[p+1],r=this.u.length-1;0<=r;--r){var s=this.j[r];for(t.uniform4fv(this.v.B,s[0]),qp(this,t,s[1],s[2]),s=this.u[r];0<=p&&this.i[p]>=s;){var a=this.i[p],h=this.f[p];o[h=G(h).toString()]&&(i!==n&&Bp(t,e,i,n),n=a),p--,i=a}i!==n&&Bp(t,e,i,n),i=n=s}}},t.ve=function(t,e,o,i,r){var n,p,s=this.i.length-2,a=this.i[s+1];for(n=this.u.length-1;0<=n;--n){var h=this.j[n];for(t.uniform4fv(this.v.B,h[0]),qp(this,t,h[1],h[2]),p=this.u[n];0<=s&&this.i[s]>=p;){h=this.i[s];var l=this.f[s];if(void 0===o[G(l).toString()]&&l.V()&&(void 0===r||at(r,l.V().G()))&&(t.clear(t.COLOR_BUFFER_BIT|t.DEPTH_BUFFER_BIT),Bp(t,e,h,a),a=i(l)))return a;s--,a=h}}},t.Ma=function(t,e){if(e){var o=e.i;this.c.lineDash=o||Vp,o=e.g,this.c.lineDashOffset=o||0,o=(o=e.a)instanceof CanvasGradient||o instanceof CanvasPattern?Wp:We(o).map(function(t,e){return 3!=e?t/255:t})||Wp,e=void 0!==(e=e.c)?e:1}else o=[0,0,0,0],e=0;t=(t=t?t.b:[0,0,0,0])instanceof CanvasGradient||t instanceof CanvasPattern?Xp:We(t).map(function(t,e){return 3!=e?t/255:t})||Xp,this.c.strokeColor&&U(this.c.strokeColor,o)&&this.c.fillColor&&U(this.c.fillColor,t)&&this.c.lineWidth===e||(this.c.s=!0,this.c.fillColor=t,this.c.strokeColor=o,this.c.lineWidth=e,this.j.push([t,o,e]))},s(Jp,Rp);var _p=new Jp;function $p(){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;}"}s($p,Ip);var Qp=new $p;function ts(t,e){this.c=t.getUniformLocation(e,"j"),this.f=t.getUniformLocation(e,"i"),this.a=t.getUniformLocation(e,"k"),this.i=t.getUniformLocation(e,"h"),this.v=t.getAttribLocation(e,"e"),this.u=t.getAttribLocation(e,"f"),this.b=t.getAttribLocation(e,"c"),this.D=t.getAttribLocation(e,"g"),this.C=t.getAttribLocation(e,"d")}function es(t,e){this.j=t,this.b=e,this.a={},this.c={},this.i={},this.l=this.v=this.f=this.o=null,(this.g=d(o,"OES_element_index_uint"))&&e.getExtension("OES_element_index_uint"),me(this.j,"webglcontextlost",this.Xo,this),me(this.j,"webglcontextrestored",this.Yo,this)}function os(t,e,o){var i=t.b,r=o.b,n=String(G(o));if(n in t.a)i.bindBuffer(e,t.a[n].buffer);else{var p,s=i.createBuffer();i.bindBuffer(e,s),34962==e?p=new Float32Array(r):34963==e&&(p=t.g?new Uint32Array(r):new Uint16Array(r)),i.bufferData(e,p,o.a),t.a[n]={lc:o,buffer:s}}}function is(t,e){var o=t.b;e=String(G(e));var i=t.a[e];o.isContextLost()||o.deleteBuffer(i.buffer),delete t.a[e]}function rs(t){if(!t.f){var e=t.b,o=e.createFramebuffer();e.bindFramebuffer(e.FRAMEBUFFER,o);var i=as(e,1,1),r=e.createRenderbuffer();e.bindRenderbuffer(e.RENDERBUFFER,r),e.renderbufferStorage(e.RENDERBUFFER,e.DEPTH_COMPONENT16,1,1),e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,i,0),e.framebufferRenderbuffer(e.FRAMEBUFFER,e.DEPTH_ATTACHMENT,e.RENDERBUFFER,r),e.bindTexture(e.TEXTURE_2D,null),e.bindRenderbuffer(e.RENDERBUFFER,null),e.bindFramebuffer(e.FRAMEBUFFER,null),t.f=o,t.v=i,t.l=r}return t.f}function ns(t,e){var o=String(G(e));if(o in t.c)return t.c[o];var i=t.b,r=i.createShader(e.U());return i.shaderSource(r,e.b),i.compileShader(r),t.c[o]=r}function ps(t,e,o){var i=G(e)+"/"+G(o);if(i in t.i)return t.i[i];var r=t.b,n=r.createProgram();return r.attachShader(n,ns(t,e)),r.attachShader(n,ns(t,o)),r.linkProgram(n),t.i[i]=n}function ss(t,e,o){var i=t.createTexture();return t.bindTexture(t.TEXTURE_2D,i),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MAG_FILTER,t.LINEAR),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MIN_FILTER,t.LINEAR),void 0!==e&&t.texParameteri(3553,10242,e),void 0!==o&&t.texParameteri(3553,10243,o),i}function as(t,e,o){var i=ss(t,void 0,void 0);return t.texImage2D(t.TEXTURE_2D,0,t.RGBA,e,o,0,t.RGBA,t.UNSIGNED_BYTE,null),i}function hs(t,e){var o=ss(t,33071,33071);return t.texImage2D(t.TEXTURE_2D,0,t.RGBA,t.RGBA,t.UNSIGNED_BYTE,e),o}function ls(t,e){Gp.call(this,0,e),this.C=this.D=void 0,this.S=[],this.v=[],this.oa=void 0,this.j=[],this.c=[],this.I=this.ra=void 0,this.B=null,this.fb=this.fa=this.na=this.T=this.Ua=this.R=void 0,this.va=[],this.u=[],this.pa=void 0}function us(t,e,o,i){var r,n=t.D,p=t.C,s=t.oa,a=t.ra,h=t.I,l=t.R,u=t.Ua,c=t.T,y=t.na?1:0,f=-t.fa,g=t.fb,d=t.pa,v=Math.cos(f),b=(f=Math.sin(f),t.b.length),m=t.a.length;for(r=0;r<o;r+=i){var w=e[r]-t.origin[0],x=e[r+1]-t.origin[1],S=m/8,M=-g*n,P=-g*(s-p);t.a[m++]=w,t.a[m++]=x,t.a[m++]=M*v-P*f,t.a[m++]=M*f+P*v,t.a[m++]=u/h,t.a[m++]=(c+s)/a,t.a[m++]=l,t.a[m++]=y,M=g*(d-n),P=-g*(s-p),t.a[m++]=w,t.a[m++]=x,t.a[m++]=M*v-P*f,t.a[m++]=M*f+P*v,t.a[m++]=(u+d)/h,t.a[m++]=(c+s)/a,t.a[m++]=l,t.a[m++]=y,M=g*(d-n),P=g*p,t.a[m++]=w,t.a[m++]=x,t.a[m++]=M*v-P*f,t.a[m++]=M*f+P*v,t.a[m++]=(u+d)/h,t.a[m++]=c/a,t.a[m++]=l,t.a[m++]=y,M=-g*n,P=g*p,t.a[m++]=w,t.a[m++]=x,t.a[m++]=M*v-P*f,t.a[m++]=M*f+P*v,t.a[m++]=u/h,t.a[m++]=c/a,t.a[m++]=l,t.a[m++]=y,t.b[b++]=S,t.b[b++]=1+S,t.b[b++]=2+S,t.b[b++]=S,t.b[b++]=2+S,t.b[b++]=3+S}}function cs(t,e,o,i){var r,n=e.length;for(r=0;r<n;++r){var p=e[r],s=G(p).toString();s in o?p=o[s]:(p=hs(i,p),o[s]=p),t[r]=p}}function ys(t,e,o){var i=e-o;return t[0]===t[i]&&t[1]===t[1+i]&&3<(e-0)/o&&!!Hi(t,0,e,o)}function fs(){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;}"}s(es,Pe),(t=es.prototype).ka=function(){Me(this.j);var t=this.b;if(!t.isContextLost()){for(var e in this.a)t.deleteBuffer(this.a[e].buffer);for(e in this.i)t.deleteProgram(this.i[e]);for(e in this.c)t.deleteShader(this.c[e]);t.deleteFramebuffer(this.f),t.deleteRenderbuffer(this.l),t.deleteTexture(this.v)}},t.Wo=function(){return this.b},t.Xo=function(){yt(this.a),yt(this.c),yt(this.i),this.l=this.v=this.f=this.o=null},t.Yo=function(){},t.Qc=function(t){return t!=this.o&&(this.b.useProgram(t),this.o=t,!0)},s(ls,Gp),(t=ls.prototype).Eb=function(o){var i=this.l,r=this.o,n=this.va,p=this.u,s=o.b;return function(){if(!s.isContextLost()){var t,e=0;for(t=n.length;e<t;++e)s.deleteTexture(n[e]);for(e=0,t=p.length;e<t;++e)s.deleteTexture(p[e])}is(o,i),is(o,r)}},t.oc=function(t,e){this.i.push(this.b.length),this.f.push(e),us(this,e=t.ga(),e.length,t.qa())},t.qc=function(t,e){this.i.push(this.b.length),this.f.push(e),us(this,e=t.ga(),e.length,t.qa())},t.Db=function(t){t=t.b,this.S.push(this.b.length),this.v.push(this.b.length),this.l=new zp(this.a),this.o=new zp(this.b);var e={};cs(this.va,this.j,e,t),cs(this.u,this.c,e,t),this.oa=this.C=this.D=void 0,this.c=this.j=null,this.I=this.ra=void 0,this.b=null,this.fb=this.fa=this.na=this.T=this.Ua=this.R=void 0,this.a=null,this.pa=void 0},t.rf=function(t,e){var o=ps(e,_p,Qp);if(this.B)var i=this.B;else this.B=i=new ts(t,o);return e.Qc(o),t.enableVertexAttribArray(i.b),t.vertexAttribPointer(i.b,2,5126,!1,32,0),t.enableVertexAttribArray(i.v),t.vertexAttribPointer(i.v,2,5126,!1,32,8),t.enableVertexAttribArray(i.C),t.vertexAttribPointer(i.C,2,5126,!1,32,16),t.enableVertexAttribArray(i.u),t.vertexAttribPointer(i.u,1,5126,!1,32,24),t.enableVertexAttribArray(i.D),t.vertexAttribPointer(i.D,1,5126,!1,32,28),i},t.sf=function(t,e){t.disableVertexAttribArray(e.b),t.disableVertexAttribArray(e.v),t.disableVertexAttribArray(e.C),t.disableVertexAttribArray(e.u),t.disableVertexAttribArray(e.D)},t.Od=function(t,e,o,i){var r=i?this.u:this.va;if(i=i?this.v:this.S,gt(o)){var n;o=0;var p=r.length;for(n=0;o<p;++o){t.bindTexture(3553,r[o]);var s=i[o];Bp(t,e,n,s),n=s}}else for(n=p=0,s=r.length;n<s;++n){t.bindTexture(3553,r[n]);for(var a=0<n?i[n-1]:0,h=i[n],l=a;p<this.i.length&&this.i[p]<=h;){a=void 0!==o[G(this.f[p]).toString()]?(l!==a&&Bp(t,e,l,a),l=p===this.i.length-1?h:this.i[p+1]):p===this.i.length-1?h:this.i[p+1],p++}l!==a&&Bp(t,e,l,a)}},t.ve=function(t,e,o,i,r){var n,p,s=this.i.length-1;for(n=this.u.length-1;0<=n;--n){t.bindTexture(3553,this.u[n]);var a=0<n?this.v[n-1]:0;for(p=this.v[n];0<=s&&this.i[s]>=a;){var h=this.i[s],l=this.f[s];if(void 0===o[G(l).toString()]&&l.V()&&(void 0===r||at(r,l.V().G()))&&(t.clear(t.COLOR_BUFFER_BIT|t.DEPTH_BUFFER_BIT),Bp(t,e,h,p),p=i(l)))return p;p=h,s--}}},t.Ub=function(t){var e=t.Hc(),o=t.Y(1),i=t.ye(),r=t.qg(1),n=t.f,p=t.Oc(),s=t.l,a=t.g,h=t.ic();if(t=t.a,this.j.length){var l=this.j[this.j.length-1];G(l)!=G(o)&&(this.S.push(this.b.length),this.j.push(o))}else this.j.push(o);this.c.length?G(l=this.c[this.c.length-1])!=G(r)&&(this.v.push(this.b.length),this.c.push(r)):this.c.push(r),this.D=e[0],this.C=e[1],this.oa=h[1],this.ra=i[1],this.I=i[0],this.R=n,this.Ua=p[0],this.T=p[1],this.fa=a,this.na=s,this.fb=t,this.pa=h[0]},s(fs,Rp);var gs=new fs;function ds(){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);}}"}s(ds,Ip);var vs=new ds;function bs(t,e){this.B=t.getUniformLocation(e,"n"),this.oa=t.getUniformLocation(e,"k"),this.R=t.getUniformLocation(e,"l"),this.c=t.getUniformLocation(e,"j"),this.f=t.getUniformLocation(e,"i"),this.a=t.getUniformLocation(e,"m"),this.ra=t.getUniformLocation(e,"p"),this.i=t.getUniformLocation(e,"h"),this.I=t.getUniformLocation(e,"o"),this.g=t.getAttribLocation(e,"g"),this.o=t.getAttribLocation(e,"d"),this.l=t.getAttribLocation(e,"f"),this.b=t.getAttribLocation(e,"e")}function ms(t,e){Gp.call(this,0,e),this.v=null,this.u=[],this.j=[],this.c={strokeColor:null,lineCap:void 0,lineDash:null,lineDashOffset:void 0,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0,s:!1}}function ws(t,e,o,i){var r,n=t.a.length,p=t.b.length,s="bevel"===t.c.lineJoin?0:"miter"===t.c.lineJoin?1:2,a="butt"===t.c.lineCap?0:"square"===t.c.lineCap?1:2,h=ys(e,o,i),l=p,u=1;for(r=0;r<o;r+=i){var c=n/7,y=f,f=g||[e[r],e[r+1]];if(r){if(r===o-i){if(h)var g=d;else n=xs(t,y=y||[0,0],f,[0,0],u*Ts*(a||1),n),n=xs(t,y,f,[0,0],-u*Ts*(a||1),n),t.b[p++]=c,t.b[p++]=l-1,t.b[p++]=l,t.b[p++]=l,t.b[p++]=c+1,t.b[p++]=c,a&&(n=xs(t,y,f,[0,0],u*Cs*a,n),n=xs(t,y,f,[0,0],-u*Cs*a,n),t.b[p++]=c+2,t.b[p++]=c,t.b[p++]=c+1,t.b[p++]=c+1,t.b[p++]=c+3,t.b[p++]=c+2);break}g=[e[r+i],e[r+i+1]]}else{if(g=[e[r+i],e[r+i+1]],o-0==2*i&&U(f,g))break;if(!h){a&&(n=xs(t,[0,0],f,g,u*js*a,n),n=xs(t,[0,0],f,g,-u*js*a,n),t.b[p++]=c+2,t.b[p++]=c,t.b[p++]=c+1,t.b[p++]=c+1,t.b[p++]=c+3,t.b[p++]=c+2),n=xs(t,[0,0],f,g,u*Es*(a||1),n),l=(n=xs(t,[0,0],f,g,-u*Es*(a||1),n))/7-1;continue}y=[e[o-2*i],e[o-2*i+1]];var d=g}var v=Zp(y[0],y[1],f[0],f[1],g[0],g[1])?-1:1;n=xs(t,y,f,g,v*Ls*(s||1),n),n=xs(t,y,f,g,v*Rs*(s||1),n),n=xs(t,y,f,g,-v*Is*(s||1),n),0<r&&(t.b[p++]=c,t.b[p++]=l-1,t.b[p++]=l,t.b[p++]=c+2,t.b[p++]=c,t.b[p++]=0<u*v?l:l-1),t.b[p++]=c,t.b[p++]=c+2,t.b[p++]=c+1,l=c+2,u=v,s&&(n=xs(t,y,f,g,v*Ns*s,n),t.b[p++]=c+1,t.b[p++]=c+3,t.b[p++]=c)}h&&(c=c||n/7,n=xs(t,y,f,g,(v=br([y[0],y[1],f[0],f[1],g[0],g[1]],0,6,2)?1:-1)*Ls*(s||1),n),xs(t,y,f,g,-v*Is*(s||1),n),t.b[p++]=c,t.b[p++]=l-1,t.b[p++]=l,t.b[p++]=c+1,t.b[p++]=c,t.b[p++]=0<u*v?l:l-1)}function xs(t,e,o,i,r,n){return t.a[n++]=e[0],t.a[n++]=e[1],t.a[n++]=o[0],t.a[n++]=o[1],t.a[n++]=i[0],t.a[n++]=i[1],t.a[n++]=r,n}function Ss(t,e,o,i){return!((o-=e)<2*i)&&(o!==2*i||!U([t[e],t[e+1]],[t[e+i],t[e+i+1]]))}function Ms(t,e,o,i){var r;if(ys(e,e.length,i)||(e.push(e[0]),e.push(e[1])),ws(t,e,e.length,i),o.length)for(e=0,r=o.length;e<r;++e)ys(o[e],o[e].length,i)||(o[e].push(o[e][0]),o[e].push(o[e][1])),ws(t,o[e],o[e].length,i)}function Ps(t,e,o){o=void 0===o?t.b.length:o,t.i.push(o),t.f.push(e),t.c.s&&(t.j.push(o),t.c.s=!1)}function As(t,e,o,i,r){e.uniform4fv(t.v.B,o),e.uniform1f(t.v.oa,i),e.uniform1f(t.v.R,r)}s(ms,Gp),(t=ms.prototype).mc=function(t,e){var o=t.ga();t=t.qa(),Ss(o,0,o.length,t)&&(o=Wi(o,0,o.length,t,-this.origin[0],-this.origin[1]),this.c.s&&(this.j.push(this.b.length),this.c.s=!1),this.i.push(this.b.length),this.f.push(e),ws(this,o,o.length,t))},t.nc=function(t,e){var o=this.b.length,i=t.Bb();i.unshift(0);var r,n=t.ga();if(t=t.qa(),1<i.length){var p=1;for(r=i.length;p<r;++p)if(Ss(n,i[p-1],i[p],t)){var s=Wi(n,i[p-1],i[p],t,-this.origin[0],-this.origin[1]);ws(this,s,s.length,t)}}this.b.length>o&&(this.i.push(o),this.f.push(e),this.c.s&&(this.j.push(o),this.c.s=!1))},t.Db=function(){this.l=new zp(this.a),this.o=new zp(this.b),this.i.push(this.b.length),!this.j.length&&0<this.u.length&&(this.u=[]),this.b=this.a=null},t.Eb=function(t){var e=this.l,o=this.o;return function(){is(t,e),is(t,o)}},t.rf=function(t,e,o,i){var r=ps(e,gs,vs);if(this.v)var n=this.v;else this.v=n=new bs(t,r);return e.Qc(r),t.enableVertexAttribArray(n.o),t.vertexAttribPointer(n.o,2,5126,!1,28,0),t.enableVertexAttribArray(n.b),t.vertexAttribPointer(n.b,2,5126,!1,28,8),t.enableVertexAttribArray(n.l),t.vertexAttribPointer(n.l,2,5126,!1,28,16),t.enableVertexAttribArray(n.g),t.vertexAttribPointer(n.g,1,5126,!1,28,24),t.uniform2fv(n.I,o),t.uniform1f(n.ra,i),n},t.sf=function(t,e){t.disableVertexAttribArray(e.o),t.disableVertexAttribArray(e.b),t.disableVertexAttribArray(e.l),t.disableVertexAttribArray(e.g)},t.Od=function(t,e,o,i){var r=t.getParameter(t.DEPTH_FUNC),n=t.getParameter(t.DEPTH_WRITEMASK);if(i||(t.enable(t.DEPTH_TEST),t.depthMask(!0),t.depthFunc(t.NOTEQUAL)),gt(o)){var p=this.i[this.i.length-1];for(o=this.j.length-1;0<=o;--o){var s=this.j[o],a=this.u[o];As(this,t,a[0],a[1],a[2]),Bp(t,e,s,p),t.clear(t.DEPTH_BUFFER_BIT),p=s}}else{var h=this.i.length-2;for(a=p=this.i[h+1],s=this.j.length-1;0<=s;--s){var l=this.u[s];for(As(this,t,l[0],l[1],l[2]),l=this.j[s];0<=h&&this.i[h]>=l;){var u=this.i[h],c=this.f[h];o[c=G(c).toString()]&&(p!==a&&(Bp(t,e,p,a),t.clear(t.DEPTH_BUFFER_BIT)),a=u),h--,p=u}p!==a&&(Bp(t,e,p,a),t.clear(t.DEPTH_BUFFER_BIT)),p=a=l}}i||(t.disable(t.DEPTH_TEST),t.clear(t.DEPTH_BUFFER_BIT),t.depthMask(n),t.depthFunc(r))},t.ve=function(t,e,o,i,r){var n,p,s=this.i.length-2,a=this.i[s+1];for(n=this.j.length-1;0<=n;--n){var h=this.u[n];for(As(this,t,h[0],h[1],h[2]),p=this.j[n];0<=s&&this.i[s]>=p;){h=this.i[s];var l=this.f[s];if(void 0===o[G(l).toString()]&&l.V()&&(void 0===r||at(r,l.V().G()))&&(t.clear(t.COLOR_BUFFER_BIT|t.DEPTH_BUFFER_BIT),Bp(t,e,h,a),a=i(l)))return a;s--,a=h}}},t.Ma=function(t,e){t=e.f,this.c.lineCap=void 0!==t?t:"round",t=e.i,this.c.lineDash=t||Vp,t=e.g,this.c.lineDashOffset=t||0,t=e.j,this.c.lineJoin=void 0!==t?t:"round",t=(t=e.a)instanceof CanvasGradient||t instanceof CanvasPattern?Wp:We(t).map(function(t,e){return 3!=e?t/255:t})||Wp;var o=void 0!==(o=e.c)?o:1;e=void 0!==(e=e.o)?e:10,this.c.strokeColor&&U(this.c.strokeColor,t)&&this.c.lineWidth===o&&this.c.miterLimit===e||(this.c.s=!0,this.c.strokeColor=t,this.c.lineWidth=o,this.c.miterLimit=e,this.u.push([t,o,e]))};var Es=3,Ts=5,js=7,Cs=11,Ls=13,Rs=17,Is=19,Ns=23;function Fs(){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;}"}s(Fs,Rp);var ks=new Fs;function Ds(){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);}"}s(Ds,Ip);var Os=new Ds;function Us(t,e){this.B=t.getUniformLocation(e,"e"),this.c=t.getUniformLocation(e,"d"),this.f=t.getUniformLocation(e,"c"),this.a=t.getUniformLocation(e,"f"),this.i=t.getUniformLocation(e,"b"),this.b=t.getAttribLocation(e,"a")}function Gs(t){t=t||{},this.a=void 0!==t.color?t.color:null,this.f=t.lineCap,this.i=void 0!==t.lineDash?t.lineDash:null,this.g=t.lineDashOffset,this.j=t.lineJoin,this.o=t.miterLimit,this.c=t.width,this.b=void 0}function Bs(t){this.b=this.a=this.i=void 0,this.f=void 0===t||t,this.c=0}function Xs(t){var e=t.b;if(e){var o=e.next,i=e.ub;o&&(o.ub=i),i&&(i.next=o),t.b=o||i,t.i===t.a?(t.b=void 0,t.i=void 0,t.a=void 0):t.i===e?t.i=t.b:t.a===e&&(t.a=i?t.b.ub:t.b),t.c--}}function Vs(t){if(t.b=t.i,t.b)return t.b.data}function Ws(t){if(t.b&&t.b.next)return t.b=t.b.next,t.b.data}function Zs(t){if(t.b&&t.b.next)return t.b.next.data}function Ks(t){if(t.b&&t.b.ub)return t.b=t.b.ub,t.b.data}function zs(t){if(t.b&&t.b.ub)return t.b.ub.data}function Ys(t){if(t.b)return t.b.data}(t=Gs.prototype).clone=function(){var t=this.a;return new Gs({color:t&&t.slice?t.slice():t||void 0,lineCap:this.f,lineDash:this.i?this.i.slice():void 0,lineDashOffset:this.g,lineJoin:this.j,miterLimit:this.o,width:this.c})},t.No=function(){return this.a},t.Vk=function(){return this.f},t.Oo=function(){return this.i},t.Wk=function(){return this.g},t.Xk=function(){return this.j},t.bl=function(){return this.o},t.Po=function(){return this.c},t.Qo=function(t){this.a=t,this.b=void 0},t.aq=function(t){this.f=t,this.b=void 0},t.setLineDash=function(t){this.i=t,this.b=void 0},t.bq=function(t){this.g=t,this.b=void 0},t.cq=function(t){this.j=t,this.b=void 0},t.gq=function(t){this.o=t,this.b=void 0},t.jq=function(t){this.c=t,this.b=void 0},Bs.prototype.concat=function(t){if(t.b){if(this.b){var e=this.b.next;this.b.next=t.i,t.i.ub=this.b,e.ub=t.a,t.a.next=e,this.c+=t.c}else this.b=t.b,this.i=t.i,this.a=t.a,this.c=t.c;t.b=void 0,t.i=void 0,t.a=void 0,t.c=0}};var Hs,qs,Js={$d:function(){}};function _s(t,e,o){var i=t[e];t[e]=t[o],t[o]=i}function $s(t,e){return t<e?-1:e<t?1:0}function Qs(t,e){if(!(this instanceof Qs))return new Qs(t,e);this.Hf=Math.max(4,t||9),this.fh=Math.max(2,Math.ceil(.4*this.Hf)),e&&this.ek(e),this.clear()}function ta(t,e){ea(t,0,t.children.length,e,t)}function ea(t,e,o,i,r){(r=r||ha(null)).ca=1/0,r.da=1/0,r.$=-1/0,r.ia=-1/0;for(var n;e<o;e++)n=t.children[e],oa(r,t.ib?i(n):n);return r}function oa(t,e){t.ca=Math.min(t.ca,e.ca),t.da=Math.min(t.da,e.da),t.$=Math.max(t.$,e.$),t.ia=Math.max(t.ia,e.ia)}function ia(t,e){return t.ca-e.ca}function ra(t,e){return t.da-e.da}function na(t){return(t.$-t.ca)*(t.ia-t.da)}function pa(t){return t.$-t.ca+(t.ia-t.da)}function sa(t,e){return t.ca<=e.ca&&t.da<=e.da&&e.$<=t.$&&e.ia<=t.ia}function aa(t,e){return e.ca<=t.$&&e.da<=t.ia&&e.$>=t.ca&&e.ia>=t.da}function ha(t){return{children:t,height:1,ib:!0,ca:1/0,da:1/0,$:-1/0,ia:-1/0}}function la(t,e,o,i,r){for(var n,p=[e,o];p.length;)(o=p.pop())-(e=p.pop())<=i||(n=e+Math.ceil((o-e)/i/2)*i,qs(t,n,e,o,r),p.push(e,n,n,o))}function ua(t){this.a=Js.$d(t),this.b={}}function ca(t,e,o){var i=t.b[G(o)];Y([i.ca,i.da,i.$,i.ia],e)||(t.remove(o),t.Ca(e,o))}function ya(t){return t.a.all().map(function(t){return t.value})}function fa(t,e){return t.a.search({ca:e[0],da:e[1],$:e[2],ia:e[3]}).map(function(t){return t.value})}function ga(t,e,o,i){return da(fa(t,e),o,i)}function da(t,e,o){for(var i,r=0,n=t.length;r<n&&!(i=e.call(o,t[r]));r++);return i}function va(t,e){Gp.call(this,0,e),this.g=new ms(0,e),this.v=null,this.u=[],this.c=[],this.j={fillColor:null,s:!1}}function ba(t,e,o,i){var r=new Bs,n=new ua;if(e=ma(t,e,i,r,n,!0),o.length){var p,s=[],a=0;for(p=o.length;a<p;++a){var h={list:new Bs,$:void 0,Mg:new ua};s.push(h),h.$=ma(t,o[a],i,h.list,h.Mg,!1)}for(s.sort(function(t,e){return e.$[0]===t.$[0]?t.$[1]-e.$[1]:e.$[0]-t.$[0]}),a=0;a<s.length;++a){p=i=Vs(o=s[a].list);do{if(Ca(p,n).length){var l=!0;break}p=Ws(o)}while(i!==p);l||(wa(o,s[a].Mg,!0),xa(o,s[a].$[0],r,e[0],n)&&(n.concat(s[a].Mg),wa(r,n,!1)))}}else wa(r,n,!1);!function t(e,o,i){for(var r=!1,n=Pa(o,i);3<o.c;)if(n){if(!Sa(e,o,i,n,r)&&!wa(o,i,r)&&!Ma(e,o,i,!0))break}else if(!Sa(e,o,i,n,r)&&!wa(o,i,r)&&!Ma(e,o,i)){if(!(n=Pa(o,i))){n=e,p=s=Vs(r=o);do{if((a=Ca(p,i)).length){for(s=a[0],a=La(p.aa,p.W,s.aa,s.W),a=Aa(n,a[0],a[1],n.a.length/2),h=new Bs,l=new ua,Ea(a,p.W,h,l),p.W=a,ca(i,[Math.min(p.aa.x,a.x),Math.min(p.aa.y,a.y),Math.max(p.aa.x,a.x),Math.max(p.aa.y,a.y)],p),p=Ws(r);p!==s;)Ea(p.aa,p.W,h,l),i.remove(p),Xs(r),p=Ys(r);Ea(s.aa,a,h,l),s.aa=a,ca(i,[Math.min(s.W.x,a.x),Math.min(s.W.y,a.y),Math.max(s.W.x,a.x),Math.max(s.W.y,a.y)],s),wa(r,i,!1),t(n,r,i),wa(h,l,!1),t(n,h,l);break}p=Ws(r)}while(p!==s);break}for(var r=o,p=2*r.c,s=Array(p),a=Vs(r),h=a,l=0;s[l++]=h.aa.x,s[l++]=h.aa.y,(h=Ws(r))!==a;);r=!br(s,0,p,2),wa(o,i,r)}3===o.c&&(n=e.b.length,e.b[n++]=zs(o).aa.hb,e.b[n++]=Ys(o).aa.hb,e.b[n++]=Zs(o).aa.hb)}(t,r,n)}function ma(t,e,o,i,r,n){var p,s,a=t.a.length/2,h=[],l=[];if(n===br(e,0,e.length,o)){var u=s=Aa(t,e[0],e[1],a++);n=e[0];var c=e[1],y=o;for(p=e.length;y<p;y+=o){var f=Aa(t,e[y],e[y+1],a++);l.push(Ea(u,f,i)),h.push([Math.min(u.x,f.x),Math.min(u.y,f.y),Math.max(u.x,f.x),Math.max(u.y,f.y)]),e[y]>n&&(n=e[y],c=e[y+1]),u=f}}else for(u=s=Aa(t,e[y=e.length-o],e[y+1],a++),n=e[y],c=e[y+1],y-=o,p=0;p<=y;y-=o)f=Aa(t,e[y],e[y+1],a++),l.push(Ea(u,f,i)),h.push([Math.min(u.x,f.x),Math.min(u.y,f.y),Math.max(u.x,f.x),Math.max(u.y,f.y)]),e[y]>n&&(n=e[y],c=e[y+1]),u=f;return l.push(Ea(f,s,i)),h.push([Math.min(u.x,f.x),Math.min(u.y,f.y),Math.max(u.x,f.x),Math.max(u.y,f.y)]),r.load(h,l),[n,c]}function wa(t,e,o){var i=Vs(t),r=i,n=Ws(t),p=!1;do{var s=o?Zp(n.W.x,n.W.y,r.W.x,r.W.y,r.aa.x,r.aa.y):Zp(r.aa.x,r.aa.y,r.W.x,r.W.y,n.W.x,n.W.y);void 0===s?(Ta(r,n,t,e),p=!0,n===i&&(i=Zs(t)),n=r,Ks(t)):r.W.Fb!==s&&(r.W.Fb=s,p=!0),r=n,n=Ws(t)}while(r!==i);return p}function xa(t,e,o,i,r){for(var n=Vs(t);n.W.x!==e;)n=Ws(t);var p,s=1/0,a=Ca({aa:e=n.W,W:i={x:i,y:e.y,hb:-1}},r,!0),h=0;for(p=a.length;h<p;++h){var l=a[h],u=La(e,i,l.aa,l.W,!0),c=Math.abs(e.x-u[0]);if(c<s&&void 0!==Zp(e.x,e.y,l.aa.x,l.aa.y,l.W.x,l.W.y)){s=c;var y={x:u[0],y:u[1],hb:-1};n=l}}if(1/0===s)return!1;if(a=n.W,0<s&&(n=ja(e,y,n.W,r)).length)for(y=1/0,h=0,p=n.length;h<p;++h)s=n[h],((l=Math.atan2(e.y-s.y,i.x-s.x))<y||l===y&&s.x<a.x)&&(y=l,a=s);for(n=Vs(o);n.W.x!==a.x||n.W.y!==a.y;)n=Ws(o);return i={x:e.x,y:e.y,hb:e.hb,Fb:void 0},h={x:n.W.x,y:n.W.y,hb:n.W.hb,Fb:void 0},Zs(t).aa=i,Ea(e,n.W,t,r),Ea(h,i,t,r),n.W=h,t.f&&t.b&&(t.i=t.b,t.a=t.b.ub),o.concat(t),!0}function Sa(t,e,o,i,r){var n=t.b.length,p=Vs(e),s=zs(e),a=p,h=Ws(e),l=Zs(e),u=!1;do{var c=a.aa,y=a.W,f=h.W;if(!1===y.Fb){var g=r?Ra(l.W,f,y,c,s.aa):Ra(s.aa,c,y,f,l.W);!i&&Ca({aa:c,W:f},o).length||!g||ja(c,y,f,o,!0).length||!i&&!1!==c.Fb&&!1!==f.Fb&&br([s.aa.x,s.aa.y,c.x,c.y,y.x,y.y,f.x,f.y,l.W.x,l.W.y],0,10,2)!==!r||(t.b[n++]=c.hb,t.b[n++]=y.hb,t.b[n++]=f.hb,Ta(a,h,e,o),h===p&&(p=l),u=!0)}s=zs(e),a=Ys(e),h=Ws(e),l=Zs(e)}while(a!==p&&3<e.c);return u}function Ma(t,e,o,i){var r=Vs(e);Ws(e);var n=r,p=Ws(e),s=!1;do{var a=La(n.aa,n.W,p.aa,p.W,i);if(a){s=t.b.length;var h=t.a.length/2,l=Ks(e);Xs(e),o.remove(l);var u=l===r;if(i?(u=a[0]===n.aa.x&&a[1]===n.aa.y?(Ks(e),a=n.aa,p.aa=a,o.remove(n),u||n===r):(a=p.W,n.W=a,o.remove(p),u||p===r),Xs(e)):(a=Aa(t,a[0],a[1],h),n.W=a,p.aa=a,ca(o,[Math.min(n.aa.x,n.W.x),Math.min(n.aa.y,n.W.y),Math.max(n.aa.x,n.W.x),Math.max(n.aa.y,n.W.y)],n),ca(o,[Math.min(p.aa.x,p.W.x),Math.min(p.aa.y,p.W.y),Math.max(p.aa.x,p.W.x),Math.max(p.aa.y,p.W.y)],p)),t.b[s++]=l.aa.hb,t.b[s++]=l.W.hb,t.b[s++]=a.hb,s=!0,u)break}n=zs(e),p=Ws(e)}while(n!==r);return s}function Pa(t,e){var o=Vs(t),i=o;do{if(Ca(i,e).length)return!1;i=Ws(t)}while(i!==o);return!0}function Aa(t,e,o,i){var r=t.a.length;return{x:t.a[r++]=e,y:t.a[r++]=o,hb:i,Fb:void 0}}function Ea(t,e,o,i){var r={aa:t,W:e},n={ub:void 0,next:void 0,data:r},p=o.b;if(p){var s=p.next;n.ub=p,n.next=s,p.next=n,s&&(s.ub=n),p===o.a&&(o.a=n)}else o.i=n,o.a=n,o.f&&((n.next=n).ub=n);return o.b=n,o.c++,i&&i.Ca([Math.min(t.x,e.x),Math.min(t.y,e.y),Math.max(t.x,e.x),Math.max(t.y,e.y)],r),r}function Ta(t,e,o,i){Ys(o)===e&&(Xs(o),t.W=e.W,i.remove(e),ca(i,[Math.min(t.aa.x,t.W.x),Math.min(t.aa.y,t.W.y),Math.max(t.aa.x,t.W.x),Math.max(t.aa.y,t.W.y)],t))}function ja(t,e,o,i,r){var n,p,s=[],a=fa(i,[Math.min(t.x,e.x,o.x),Math.min(t.y,e.y,o.y),Math.max(t.x,e.x,o.x),Math.max(t.y,e.y,o.y)]);for(i=0,n=a.length;i<n;++i)for(p in a[i]){var h=a[i][p];"object"!=typeof h||r&&!h.Fb||h.x===t.x&&h.y===t.y||h.x===e.x&&h.y===e.y||h.x===o.x&&h.y===o.y||-1!==s.indexOf(h)||!cr([t.x,t.y,e.x,e.y,o.x,o.y],0,6,2,h.x,h.y)||s.push(h)}return s}function Ca(t,e,o){var i,r=t.aa,n=t.W,p=[],s=0;for(i=(e=fa(e,[Math.min(r.x,n.x),Math.min(r.y,n.y),Math.max(r.x,n.x),Math.max(r.y,n.y)])).length;s<i;++s){var a=e[s];t!==a&&(o||a.aa!==n||a.W!==r)&&La(r,n,a.aa,a.W,o)&&p.push(a)}return p}function La(t,e,o,i,r){var n=(i.y-o.y)*(e.x-t.x)-(i.x-o.x)*(e.y-t.y);if(n&&(i=((i.x-o.x)*(t.y-o.y)-(i.y-o.y)*(t.x-o.x))/n,o=((e.x-t.x)*(t.y-o.y)-(e.y-t.y)*(t.x-o.x))/n,!r&&Kp<i&&i<1-Kp&&Kp<o&&o<1-Kp||r&&0<=i&&i<=1&&0<=o&&o<=1))return[t.x+i*(e.x-t.x),t.y+i*(e.y-t.y)]}function Ra(t,e,o,i,r){if(void 0===e.Fb||void 0===i.Fb)return!1;var n=(o.x-i.x)*(e.y-i.y)>(o.y-i.y)*(e.x-i.x);return r=(r.x-i.x)*(e.y-i.y)<(r.y-i.y)*(e.x-i.x),t=(t.x-e.x)*(i.y-e.y)>(t.y-e.y)*(i.x-e.x),o=(o.x-e.x)*(i.y-e.y)<(o.y-e.y)*(i.x-e.x),e=e.Fb?o||t:o&&t,(i.Fb?r||n:r&&n)&&e}function Ia(){}function Na(t,e,o){this.f=e,this.g=t,this.c=o,this.a={}}function Fa(t,e){var o,i=[];for(o in t.a){var r,n=t.a[o];for(r in n)i.push(n[r].Eb(e))}return function(){for(var t,e=i.length,o=0;o<e;o++)t=i[o].apply(this,arguments);return t}}function ka(t,e,o,i,r,n,p,s,a,h,l){var u,c,y=Da,f=Object.keys(t.a).map(Number);f.sort(function(t,e){return e-t});var g=0;for(u=f.length;g<u;++g){var d=t.a[f[g].toString()];for(c=jp.length-1;0<=c;--c){var v=d[jp[c]];if(void 0!==v&&(v=v.La(e,o,i,r,y,n,p,s,a,h,l)))return v}}}Hs=Js.$d=Js.$d||{},qs=function t(e,o,i,r,n){for(i=i||0,r=r||e.length-1,n=n||$s;i<r;){if(600<r-i){var p=r-i+1,s=o-i+1,a=Math.log(p),h=.5*Math.exp(2*a/3);a=.5*Math.sqrt(a*h*(p-h)/p)*(s-p/2<0?-1:1),t(e,o,Math.max(i,Math.floor(o-s*h/p+a)),Math.min(r,Math.floor(o+(p-s)*h/p+a)),n)}for(p=e[o],h=r,_s(e,s=i,o),0<n(e[r],p)&&_s(e,i,r);s<h;){for(_s(e,s,h),s++,h--;n(e[s],p)<0;)s++;for(;0<n(e[h],p);)h--}0===n(e[i],p)?_s(e,i,h):_s(e,++h,r),h<=o&&(i=h+1),o<=h&&(r=h-1)}},Qs.prototype={all:function(){return this.$g(this.data,[])},search:function(t){var e=this.data,o=[],i=this.wb;if(!aa(t,e))return o;for(var r,n,p,s,a=[];e;){for(r=0,n=e.children.length;r<n;r++)p=e.children[r],aa(t,s=e.ib?i(p):p)&&(e.ib?o.push(p):sa(t,s)?this.$g(p,o):a.push(p));e=a.pop()}return o},load:function(t){if(!t||!t.length)return this;if(t.length<this.fh){for(var e=0,o=t.length;e<o;e++)this.Ca(t[e]);return this}return t=this.bh(t.slice(),0,t.length-1,0),this.data.children.length?this.data.height===t.height?this.hh(this.data,t):(this.data.height<t.height&&(e=this.data,this.data=t,t=e),this.eh(t,this.data.height-t.height-1,!0)):this.data=t,this},Ca:function(t){return t&&this.eh(t,this.data.height-1),this},clear:function(){return this.data=ha([]),this},remove:function(t,e){if(!t)return this;for(var o,i,r,n,p=this.data,s=this.wb(t),a=[],h=[];p||a.length;){if(p||(p=a.pop(),i=a[a.length-1],o=h.pop(),n=!0),p.ib){t:{r=t;var l=p.children,u=e;if(u){for(var c=0;c<l.length;c++)if(u(r,l[c])){r=c;break t}r=-1}else r=l.indexOf(r)}if(-1!==r){p.children.splice(r,1),a.push(p),this.ck(a);break}}n||p.ib||!sa(p,s)?i?(o++,p=i.children[o],n=!1):p=null:(a.push(p),h.push(o),o=0,p=(i=p).children[0])}return this},wb:function(t){return t},Lf:ia,Mf:ra,toJSON:function(){return this.data},$g:function(t,e){for(var o=[];t;)t.ib?e.push.apply(e,t.children):o.push.apply(o,t.children),t=o.pop();return e},bh:function(t,e,o,i){var r,n,p;if((r=o-e+1)<=(n=this.Hf)){var s=ha(t.slice(e,o+1));return ta(s,this.wb),s}for(i||(i=Math.ceil(Math.log(r)/Math.log(n)),n=Math.ceil(r/Math.pow(n,i-1))),(s=ha([])).ib=!1,s.height=i,la(t,e,o,n=(r=Math.ceil(r/n))*Math.ceil(Math.sqrt(n)),this.Lf);e<=o;e+=n){var a=Math.min(e+n-1,o);for(la(t,e,a,r,this.Mf),p=e;p<=a;p+=r){var h=Math.min(p+r-1,a);s.children.push(this.bh(t,p,h,i-1))}}return ta(s,this.wb),s},bk:function(t,e,o,i){for(var r,n,p,s,a,h,l,u;i.push(e),!e.ib&&i.length-1!==o;){for(l=u=1/0,r=0,n=e.children.length;r<n;r++)a=na(p=e.children[r]),(h=(Math.max(p.$,t.$)-Math.min(p.ca,t.ca))*(Math.max(p.ia,t.ia)-Math.min(p.da,t.da))-a)<u?(u=h,l=a<l?a:l,s=p):h===u&&a<l&&(l=a,s=p);e=s||e.children[0]}return e},eh:function(t,e,o){var i=this.wb;o=o?t:i(t);i=[];var r=this.bk(o,this.data,e,i);for(r.children.push(t),oa(r,o);0<=e&&i[e].children.length>this.Hf;)this.jk(i,e),e--;this.Zj(o,i,e)},jk:function(t,e){var o=t[e],i=o.children.length,r=this.fh;this.$j(o,r,i),i=this.ak(o,r,i),(i=ha(o.children.splice(i,o.children.length-i))).height=o.height,i.ib=o.ib,ta(o,this.wb),ta(i,this.wb),e?t[e-1].children.push(i):this.hh(o,i)},hh:function(t,e){this.data=ha([t,e]),this.data.height=t.height+1,this.data.ib=!1,ta(this.data,this.wb)},ak:function(t,e,o){var i,r,n=r=1/0;for(i=e;i<=o-e;i++){var p=ea(t,0,i,this.wb),s=ea(t,i,o,this.wb),a=Math.max(0,Math.min(p.$,s.$)-Math.max(p.ca,s.ca))*Math.max(0,Math.min(p.ia,s.ia)-Math.max(p.da,s.da));if(p=na(p)+na(s),a<n){n=a;var h=i;r=p<r?p:r}else a===n&&p<r&&(r=p,h=i)}return h},$j:function(t,e,o){var i=t.ib?this.Lf:ia,r=t.ib?this.Mf:ra;this.ah(t,e,o,i)<(e=this.ah(t,e,o,r))&&t.children.sort(i)},ah:function(t,e,o,i){t.children.sort(i);var r,n=ea(t,0,e,i=this.wb),p=ea(t,o-e,o,i),s=pa(n)+pa(p);for(r=e;r<o-e;r++){var a=t.children[r];oa(n,t.ib?i(a):a),s+=pa(n)}for(r=o-e-1;e<=r;r--)a=t.children[r],oa(p,t.ib?i(a):a),s+=pa(p);return s},Zj:function(t,e,o){for(;0<=o;o--)oa(e[o],t)},ck:function(t){for(var e,o=t.length-1;0<=o;o--)0===t[o].children.length?0<o?(e=t[o-1].children).splice(e.indexOf(t[o]),1):this.clear():ta(t[o],this.wb)},ek:function(t){var e=["return a"," - b",";"];this.Lf=new Function("a","b",e.join(t[0])),this.Mf=new Function("a","b",e.join(t[1])),this.wb=new Function("a","return {minX: a"+t[0]+", minY: a"+t[1]+", maxX: a"+t[2]+", maxY: a"+t[3]+"};")}},Hs.default=Qs,Js.$d=Js.$d.default,(t=ua.prototype).Ca=function(t,e){t={ca:t[0],da:t[1],$:t[2],ia:t[3],value:e},this.a.Ca(t),this.b[G(e)]=t},t.load=function(t,e){for(var o=Array(e.length),i=0,r=e.length;i<r;i++){var n=t[i],p=e[i];n={ca:n[0],da:n[1],$:n[2],ia:n[3],value:p};o[i]=n,this.b[G(p)]=n}this.a.load(o)},t.remove=function(t){t=G(t);var e=this.b[t];return delete this.b[t],null!==this.a.remove(e)},t.forEach=function(t,e){return da(ya(this),t,e)},t.clear=function(){this.a.clear(),this.b={}},t.G=function(t){var e=this.a.data;return W(e.ca,e.da,e.$,e.ia,t)},t.concat=function(t){for(var e in this.a.load(t.a.all()),t.b)this.b[0|e]=t.b[0|e]},s(va,Gp),(t=va.prototype).pc=function(t,e){var o,i,r,n=t.c,p=t.qa(),s=this.b.length,a=this.g.b.length;t=t.ga();var h=i=0;for(o=n.length;h<o;++h){var l=n[h];if(0<l.length){var u=Wi(t,i,l[0],p,-this.origin[0],-this.origin[1]);if(u.length){var c=[];for(i=1,r=l.length;i<r;++i)if(l[i]!==l[i-1]){var y=Wi(t,l[i-1],l[i],p,-this.origin[0],-this.origin[1]);c.push(y)}Ms(this.g,u,c,p),ba(this,u,c,p)}}i=l[l.length-1]}this.b.length>s&&(this.i.push(s),this.f.push(e),this.j.s&&(this.c.push(s),this.j.s=!1)),this.g.b.length>a&&Ps(this.g,e,a)},t.rc=function(t,e){var o=t.Bb(),i=t.qa();if(0<o.length){var r=Wi(t=t.ga().map(Number),0,o[0],i,-this.origin[0],-this.origin[1]);if(r.length){var n,p=[],s=1;for(n=o.length;s<n;++s)if(o[s]!==o[s-1]){var a=Wi(t,o[s-1],o[s],i,-this.origin[0],-this.origin[1]);p.push(a)}this.i.push(this.b.length),this.f.push(e),this.j.s&&(this.c.push(this.b.length),this.j.s=!1),Ps(this.g,e),Ms(this.g,r,p,i),ba(this,r,p,i)}}},t.Db=function(t){this.l=new zp(this.a),this.o=new zp(this.b),this.i.push(this.b.length),this.g.Db(t),!this.c.length&&0<this.u.length&&(this.u=[]),this.b=this.a=null},t.Eb=function(t){var e=this.l,o=this.o,i=this.g.Eb(t);return function(){is(t,e),is(t,o),i()}},t.rf=function(t,e){var o=ps(e,ks,Os);if(this.v)var i=this.v;else this.v=i=new Us(t,o);return e.Qc(o),t.enableVertexAttribArray(i.b),t.vertexAttribPointer(i.b,2,5126,!1,8,0),i},t.sf=function(t,e){t.disableVertexAttribArray(e.b)},t.Od=function(t,e,o,i){var r=t.getParameter(t.DEPTH_FUNC),n=t.getParameter(t.DEPTH_WRITEMASK);if(i||(t.enable(t.DEPTH_TEST),t.depthMask(!0),t.depthFunc(t.NOTEQUAL)),gt(o)){var p=this.i[this.i.length-1];for(o=this.c.length-1;0<=o;--o){var s=this.c[o],a=this.u[o];t.uniform4fv(this.v.B,a),Bp(t,e,s,p),p=s}}else{var h=this.i.length-2;for(a=p=this.i[h+1],s=this.c.length-1;0<=s;--s){var l=this.u[s];for(t.uniform4fv(this.v.B,l),l=this.c[s];0<=h&&this.i[h]>=l;){var u=this.i[h],c=this.f[h];o[c=G(c).toString()]&&(p!==a&&(Bp(t,e,p,a),t.clear(t.DEPTH_BUFFER_BIT)),a=u),h--,p=u}p!==a&&(Bp(t,e,p,a),t.clear(t.DEPTH_BUFFER_BIT)),p=a=l}}i||(t.disable(t.DEPTH_TEST),t.clear(t.DEPTH_BUFFER_BIT),t.depthMask(n),t.depthFunc(r))},t.ve=function(t,e,o,i,r){var n,p,s=this.i.length-2,a=this.i[s+1];for(n=this.c.length-1;0<=n;--n){var h=this.u[n];for(t.uniform4fv(this.v.B,h),p=this.c[n];0<=s&&this.i[s]>=p;){h=this.i[s];var l=this.f[s];if(void 0===o[G(l).toString()]&&l.V()&&(void 0===r||at(r,l.V().G()))&&(t.clear(t.COLOR_BUFFER_BIT|t.DEPTH_BUFFER_BIT),Bp(t,e,h,a),a=i(l)))return a;s--,a=h}}},t.Ma=function(t,e){t=(t=t?t.b:[0,0,0,0])instanceof CanvasGradient||t instanceof CanvasPattern?Xp:We(t).map(function(t,e){return 3!=e?t/255:t})||Xp,this.j.fillColor&&U(t,this.j.fillColor)||(this.j.fillColor=t,this.j.s=!0,this.u.push(t)),e?this.g.Ma(null,e):this.g.Ma(null,new Gs({color:[0,0,0,0],lineWidth:0}))},Ia.prototype.La=function(){},s(Na,Cp),Na.prototype.b=function(t,e){var o=void 0!==t?t.toString():"0";return void 0===(t=this.a[o])&&(t={},this.a[o]=t),void 0===(o=t[e])&&(o=new Oa[e](this.g,this.f),t[e]=o),o},Na.prototype.i=function(){return gt(this.a)},Na.prototype.La=function(t,e,o,i,r,n,p,s){var a,h,l=Object.keys(this.a).map(Number);l.sort(N);var u=0;for(a=l.length;u<a;++u){var c=this.a[l[u].toString()],y=0;for(h=jp.length;y<h;++y){var f=c[jp[y]];void 0!==f&&f.La(t,e,o,i,r,n,p,s,void 0,!1)}}},Na.prototype.Ea=function(t,e,o,i,r,n,p,s,a,h){var l,u=e.b;return u.bindFramebuffer(u.FRAMEBUFFER,rs(e)),void 0!==this.c&&(l=T(K(t),i*this.c)),ka(this,e,t,i,r,p,s,a,function(t){var e=new Uint8Array(4);if(u.readPixels(0,0,1,1,u.RGBA,u.UNSIGNED_BYTE,e),0<e[3]&&(t=h(t)))return t},!0,l)};var Da=[1,1],Oa={Circle:Hp,Image:ls,LineString:ms,Polygon:va,Text:Ia};function Ua(t,e,o,i,r,n,p){this.b=t,this.i=e,this.a=n,this.c=p,this.j=r,this.g=i,this.f=o,this.o=this.l=this.v=null}function Ga(){this.c=0,this.b={},this.i=this.a=null}function Ba(t,e){sp.call(this,0,e),this.b=document.createElement("CANVAS"),this.b.style.width="100%",this.b.style.height="100%",this.b.style.display="block",this.b.className="ol-unselectable",t.insertBefore(this.b,t.childNodes[0]||null),this.S=this.D=0,this.C=Je(),this.l=!0,this.i=Eo(this.b,{antialias:!0,depth:!0,failIfMajorPerformanceCaveat:!0,preserveDrawingBuffer:!1,stencil:!0}),this.f=new es(this.b,this.i),me(this.b,"webglcontextlost",this.Yn,this),me(this.b,"webglcontextrestored",this.Zn,this),this.a=new Ga,this.u=null,this.j=new vi(function(t){var e=t[1];t=t[2];var o=e[0]-this.u[0];e=e[1]-this.u[1];return 65536*Math.log(t)+Math.sqrt(o*o+e*e)/t}.bind(this),function(t){return t[0].bb()}),this.B=function(){if(this.j.b.length){xi(this.j);var t=bi(this.j);Xa(this,t[0],t[3],t[4])}return!1}.bind(this),this.g=0,Wa(this)}function Xa(t,e,o,i){var r=t.i,n=e.bb();if(t.a.b.hasOwnProperty(n))t=t.a.get(n),r.bindTexture(3553,t.Ib),9729!=t.Ph&&(r.texParameteri(3553,10240,9729),t.Ph=9729),9729!=t.Rh&&(r.texParameteri(3553,10241,9729),t.Rh=9729);else{var p=r.createTexture();if(r.bindTexture(3553,p),0<i){var s=t.C.canvas,a=t.C;t.D!==o[0]||t.S!==o[1]?(s.width=o[0],s.height=o[1],t.D=o[0],t.S=o[1]):a.clearRect(0,0,o[0],o[1]),a.drawImage(e.Y(),i,i,o[0],o[1],0,0,o[0],o[1]),r.texImage2D(3553,0,6408,6408,5121,s)}else r.texImage2D(3553,0,6408,6408,5121,e.Y());r.texParameteri(3553,10240,9729),r.texParameteri(3553,10241,9729),r.texParameteri(3553,10242,33071),r.texParameteri(3553,10243,33071),t.a.set(n,{Ib:p,Ph:9729,Rh:9729})}}function Va(t,e,o){var i=t.o;if(Ce(i,e)){t=t.f;var r=o.viewState;i.b(new yp(e,new Ua(t,r.center,r.resolution,r.rotation,o.size,o.extent,o.pixelRatio),o,null,t))}}function Wa(t){(t=t.i).activeTexture(33984),t.blendFuncSeparate(770,771,1,771),t.disable(2884),t.disable(2929),t.disable(3089),t.disable(2960)}s(Ua,bp),(t=Ua.prototype).rd=function(t){this.Ma(t.Fa(),t.Ga()),this.Ub(t.Y())},t.zb=function(t){switch(t.U()){case"Point":this.qc(t,null);break;case"LineString":this.mc(t,null);break;case"Polygon":this.rc(t,null);break;case"MultiPoint":this.oc(t,null);break;case"MultiLineString":this.nc(t,null);break;case"MultiPolygon":this.pc(t,null);break;case"GeometryCollection":this.ue(t,null);break;case"Circle":this.Zb(t,null)}},t.te=function(t,e){(t=(0,e.Za)(t))&&at(this.a,t.G())&&(this.rd(e),this.zb(t))},t.ue=function(t){var e,o=0;for(e=(t=t.a).length;o<e;++o)this.zb(t[o])},t.qc=function(t,e){var o=this.b,i=new Na(1,this.a).b(0,"Image");i.Ub(this.v),i.qc(t,e),i.Db(o),i.La(this.b,this.i,this.f,this.g,this.j,this.c,1,{},void 0,!1),i.Eb(o)()},t.oc=function(t,e){var o=this.b,i=new Na(1,this.a).b(0,"Image");i.Ub(this.v),i.oc(t,e),i.Db(o),i.La(this.b,this.i,this.f,this.g,this.j,this.c,1,{},void 0,!1),i.Eb(o)()},t.mc=function(t,e){var o=this.b,i=new Na(1,this.a).b(0,"LineString");i.Ma(null,this.o),i.mc(t,e),i.Db(o),i.La(this.b,this.i,this.f,this.g,this.j,this.c,1,{},void 0,!1),i.Eb(o)()},t.nc=function(t,e){var o=this.b,i=new Na(1,this.a).b(0,"LineString");i.Ma(null,this.o),i.nc(t,e),i.Db(o),i.La(this.b,this.i,this.f,this.g,this.j,this.c,1,{},void 0,!1),i.Eb(o)()},t.rc=function(t,e){var o=this.b,i=new Na(1,this.a).b(0,"Polygon");i.Ma(this.l,this.o),i.rc(t,e),i.Db(o),i.La(this.b,this.i,this.f,this.g,this.j,this.c,1,{},void 0,!1),i.Eb(o)()},t.pc=function(t,e){var o=this.b,i=new Na(1,this.a).b(0,"Polygon");i.Ma(this.l,this.o),i.pc(t,e),i.Db(o),i.La(this.b,this.i,this.f,this.g,this.j,this.c,1,{},void 0,!1),i.Eb(o)()},t.Zb=function(t,e){var o=this.b,i=new Na(1,this.a).b(0,"Circle");i.Ma(this.l,this.o),i.Zb(t,e),i.Db(o),i.La(this.b,this.i,this.f,this.g,this.j,this.c,1,{},void 0,!1),i.Eb(o)()},t.Ub=function(t){this.v=t},t.Ma=function(t,e){this.l=t,this.o=e},(t=Ga.prototype).clear=function(){this.c=0,this.b={},this.i=this.a=null},t.forEach=function(t,e){for(var o=this.a;o;)t.call(e,o.Yc,o.uc,this),o=o.Nb},t.get=function(t){return R(!!(t=this.b[t]),15),t===this.i||(t===this.a?(this.a=this.a.Nb,this.a.vd=null):(t.Nb.vd=t.vd,t.vd.Nb=t.Nb),t.Nb=null,t.vd=this.i,this.i=this.i.Nb=t),t.Yc},t.pop=function(){var t=this.a;return delete this.b[t.uc],t.Nb&&(t.Nb.vd=null),this.a=t.Nb,this.a||(this.i=null),--this.c,t.Yc},t.replace=function(t,e){this.get(t),this.b[t].Yc=e},t.set=function(t,e){R(!(t in this.b),16),e={uc:t,Nb:null,vd:this.i,Yc:e},this.i?this.i.Nb=e:this.a=e,this.i=e,this.b[t]=e,++this.c},s(Ba,sp),(t=Ba.prototype).ka=function(){var e=this.i;e.isContextLost()||this.a.forEach(function(t){t&&e.deleteTexture(t.Ib)}),Ae(this.f),sp.prototype.ka.call(this)},t.xk=function(t,e){t=this.i;for(var o;1024<this.a.c-this.g;){if(o=this.a.a.Yc)t.deleteTexture(o.Ib);else{if(+this.a.a.uc==e.index)break;--this.g}this.a.pop()}},t.U=function(){return"webgl"},t.Yn=function(t){for(var e in t.preventDefault(),this.a.clear(),this.g=0,t=this.c)t[e].mg()},t.Zn=function(){Wa(this),this.o.render()},t.Jg=function(t){var e=this.f,o=this.i;if(o.isContextLost())return!1;if(!t)return this.l&&(this.b.style.display="none",this.l=!1),!1;this.u=t.focus,this.a.set((-t.index).toString(),null),++this.g,Va(this,"precompose",t);var i=[],r=t.layerStatesArray;u(r);var n,p=t.viewState.resolution,s=0;for(n=r.length;s<n;++s){var a=r[s];if(Yn(a,p)&&"ready"==a.yj){var h=lp(this,a.layer);h.ng(t,a,e)&&i.push(a)}}for(r=t.size[0]*t.pixelRatio,p=t.size[1]*t.pixelRatio,this.b.width==r&&this.b.height==p||(this.b.width=r,this.b.height=p),o.bindFramebuffer(36160,null),o.clearColor(0,0,0,0),o.clear(16384),o.enable(3042),o.viewport(0,0,this.b.width,this.b.height),s=0,n=i.length;s<n;++s)(h=lp(this,(a=i[s]).layer)).Gi(t,a,e);this.l||(this.b.style.display="",this.l=!0),ap(t),1024<this.a.c-this.g&&t.postRenderFunctions.push(this.xk.bind(this)),this.j.b.length&&(t.postRenderFunctions.push(this.B),t.animate=!0),Va(this,"postcompose",t),up(this,t),t.postRenderFunctions.push(hp)},t.Ea=function(t,e,o,i,r,n,p){if(this.i.isContextLost())return!1;var s,a=e.viewState,h=e.layerStatesArray;for(s=h.length-1;0<=s;--s){var l=h[s],u=l.layer;if(Yn(l,a.resolution)&&n.call(p,u)&&(l=lp(this,u).Ea(t,e,o,i,r)))return l}},t.Ei=function(t,e,o,i,r){if(o=!1,this.i.isContextLost())return!1;var n,p=e.viewState,s=e.layerStatesArray;for(n=s.length-1;0<=n;--n){var a=s[n],h=a.layer;if(Yn(a,p.resolution)&&i.call(r,h)&&(o=lp(this,h).Ue(t,e)))return!0}return o},t.Di=function(t,e,o,i,r){if(this.i.isContextLost())return!1;var n,p=e.viewState,s=e.layerStatesArray;for(n=s.length-1;0<=n;--n){var a=s[n],h=a.layer;if(Yn(a,p.resolution)&&r.call(i,h)&&(a=lp(this,h).lg(t,e,o,i)))return a}};var Za=["canvas","webgl"];function Ka(t){Re.call(this);var e=function(t){var e=null;void 0!==t.keyboardEventTarget&&(e="string"==typeof t.keyboardEventTarget?document.getElementById(t.keyboardEventTarget):t.keyboardEventTarget);var o={},i={};if(void 0===t.logo||"boolean"==typeof t.logo&&t.logo)i["data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAAHGAAABxgEXwfpGAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAhNQTFRF////AP//AICAgP//AFVVQECA////K1VVSbbbYL/fJ05idsTYJFtbbcjbJllmZszWWMTOIFhoHlNiZszTa9DdUcHNHlNlV8XRIVdiasrUHlZjIVZjaMnVH1RlIFRkH1RkH1ZlasvYasvXVsPQH1VkacnVa8vWIVZjIFRjVMPQa8rXIVVkXsXRsNveIFVkIFZlIVVj3eDeh6GmbMvXH1ZkIFRka8rWbMvXIFVkIFVjIFVkbMvWH1VjbMvWIFVlbcvWIFVla8vVIFVkbMvWbMvVH1VkbMvWIFVlbcvWIFVkbcvVbMvWjNPbIFVkU8LPwMzNIFVkbczWIFVkbsvWbMvXIFVkRnB8bcvW2+TkW8XRIFVkIlZlJVloJlpoKlxrLl9tMmJwOWd0Omh1RXF8TneCT3iDUHiDU8LPVMLPVcLPVcPQVsPPVsPQV8PQWMTQWsTQW8TQXMXSXsXRX4SNX8bSYMfTYcfTYsfTY8jUZcfSZsnUaIqTacrVasrVa8jTa8rWbI2VbMvWbcvWdJObdcvUdszUd8vVeJaee87Yfc3WgJyjhqGnitDYjaarldPZnrK2oNbborW5o9bbo9fbpLa6q9ndrL3ArtndscDDutzfu8fJwN7gwt7gxc/QyuHhy+HizeHi0NfX0+Pj19zb1+Tj2uXk29/e3uLg3+Lh3+bl4uXj4ufl4+fl5Ofl5ufl5ujm5+jmySDnBAAAAFp0Uk5TAAECAgMEBAYHCA0NDg4UGRogIiMmKSssLzU7PkJJT1JTVFliY2hrdHZ3foSFhYeJjY2QkpugqbG1tre5w8zQ09XY3uXn6+zx8vT09vf4+Pj5+fr6/P39/f3+gz7SsAAAAVVJREFUOMtjYKA7EBDnwCPLrObS1BRiLoJLnte6CQy8FLHLCzs2QUG4FjZ5GbcmBDDjxJBXDWxCBrb8aM4zbkIDzpLYnAcE9VXlJSWlZRU13koIeW57mGx5XjoMZEUqwxWYQaQbSzLSkYGfKFSe0QMsX5WbjgY0YS4MBplemI4BdGBW+DQ11eZiymfqQuXZIjqwyadPNoSZ4L+0FVM6e+oGI6g8a9iKNT3o8kVzNkzRg5lgl7p4wyRUL9Yt2jAxVh6mQCogae6GmflI8p0r13VFWTHBQ0rWPW7ahgWVcPm+9cuLoyy4kCJDzCm6d8PSFoh0zvQNC5OjDJhQopPPJqph1doJBUD5tnkbZiUEqaCnB3bTqLTFG1bPn71kw4b+GFdpLElKIzRxxgYgWNYc5SCENVHKeUaltHdXx0dZ8uBI1hJ2UUDgq82CM2MwKeibqAvSO7MCABq0wXEPiqWEAAAAAElFTkSuQmCC"]="https://openlayers.org/";else{"string"==typeof(p=t.logo)?i[p]="":p instanceof HTMLElement?i[G(p).toString()]=p:p&&(R("string"==typeof p.href,44),R("string"==typeof p.src,45),i[p.src]=p.href)}p=t.layers instanceof Zn?t.layers:new Zn({layers:t.layers}),o.layergroup=p,o.target=t.target,o.view=void 0!==t.view?t.view:new jr;var r,n,p=sp;void 0!==t.renderer?(Array.isArray(t.renderer)?r=t.renderer:"string"==typeof t.renderer?r=[t.renderer]:R(!1,46),0<=r.indexOf("dom")&&(r=r.concat(Za))):r=Za;var s=0;for(n=r.length;s<n;++s){var a=r[s];if("canvas"==a){if(Do){p=Ep;break}}else if("webgl"==a&&To){p=Ba;break}}return r=void 0!==t.controls?Array.isArray(t.controls)?new De(t.controls.slice()):(R(t.controls instanceof De,47),t.controls):lo(),s=void 0!==t.interactions?Array.isArray(t.interactions)?new De(t.interactions.slice()):(R(t.interactions instanceof De,48),t.interactions):Xn(),t=void 0!==t.overlays?Array.isArray(t.overlays)?new De(t.overlays.slice()):(R(t.overlays instanceof De,49),t.overlays):new De,{controls:r,interactions:s,keyboardEventTarget:e,logos:i,overlays:t,Up:p,values:o}}(t);this.Cf=void 0!==t.loadTilesWhileAnimating&&t.loadTilesWhileAnimating,this.Df=void 0!==t.loadTilesWhileInteracting&&t.loadTilesWhileInteracting,this.If=void 0!==t.pixelRatio?t.pixelRatio:Fo,this.yf=e.logos,this.pa=function(){this.j=void 0,this.Sp.call(this,Date.now())}.bind(this),this.Yb=[1,0,0,1,0,0],this.Jf=[1,0,0,1,0,0],this.ad=0,this.I=this.R=this.T=this.g=this.c=null,this.a=document.createElement("DIV"),this.a.className="ol-viewport"+(Go?" ol-touch":""),this.a.style.position="relative",this.a.style.overflow="hidden",this.a.style.width="100%",this.a.style.height="100%",this.a.style.msTouchAction="none",this.a.style.touchAction="none",this.C=document.createElement("DIV"),this.C.className="ol-overlaycontainer",this.a.appendChild(this.C),this.D=document.createElement("DIV"),this.D.className="ol-overlaycontainer-stopevent";for(var o="click dblclick mousedown touchstart MSPointerDown pointerdown mousewheel wheel".split(" "),i=0,r=o.length;i<r;++i)me(this.D,o[i],Te);for(var n in this.a.appendChild(this.D),this.Sa=new fi(this,t.moveTolerance),Ko)me(this.Sa,Ko[n],this.Ih,this);this.va=e.keyboardEventTarget,this.u=null,me(this.a,"wheel",this.ld,this),me(this.a,"mousewheel",this.ld,this),this.l=e.controls,this.o=e.interactions,this.v=e.overlays,this.rg={},this.B=new e.Up(this.a,this),this.na=null,this.xb=[],this.$a=new Si(this.ql.bind(this),this.Wl.bind(this)),this.fa={},me(this,Ne("layergroup"),this.El,this),me(this,Ne("view"),this.Xl,this),me(this,Ne("size"),this.Tl,this),me(this,Ne("target"),this.Vl,this),this.H(e.values),this.l.forEach(function(t){t.setMap(this)},this),me(this.l,"add",function(t){t.element.setMap(this)},this),me(this.l,"remove",function(t){t.element.setMap(null)},this),this.o.forEach(function(t){t.setMap(this)},this),me(this.o,"add",function(t){t.element.setMap(this)},this),me(this.o,"remove",function(t){t.element.setMap(null)},this),this.v.forEach(this.kh,this),me(this.v,"add",function(t){this.kh(t.element)},this),me(this.v,"remove",function(t){var e=t.element.g;void 0!==e&&delete this.rg[e.toString()],t.element.setMap(null)},this)}function za(t){Re.call(this),this.g=t.id,this.l=void 0===t.insertFirst||t.insertFirst,this.v=void 0===t.stopEvent||t.stopEvent,this.c=document.createElement("DIV"),this.c.className="ol-overlay-container ol-selectable",this.c.style.position="absolute",this.autoPan=void 0!==t.autoPan&&t.autoPan,this.j=t.autoPanAnimation||{},this.o=void 0!==t.autoPanMargin?t.autoPanMargin:20,this.a={re:"",Ie:"",nf:"",vf:"",visible:!0},this.f=null,me(this,Ne(Ja),this.zl,this),me(this,Ne(_a),this.Jl,this),me(this,Ne($a),this.Nl,this),me(this,Ne(Qa),this.Pl,this),me(this,Ne(th),this.Ql,this),void 0!==t.element&&this.lj(t.element),this.rj(void 0!==t.offset?t.offset:[0,0]),this.uj(void 0!==t.positioning?t.positioning:"top-left"),void 0!==t.position&&this.Ne(t.position)}function Ya(t,e){var o=t.getBoundingClientRect();return[t=o.left+window.pageXOffset,o=o.top+window.pageYOffset,t+e[0],o+e[1]]}function Ha(t,e){t.a.visible!==e&&(t.c.style.display=e?"":"none",t.a.visible=e)}function qa(t){var e=t.Me(),o=t.Yh();if(e&&e.c&&o){o=e.Ja(o);var i=e.Ob(),r=(e=t.c.style,t.Dh()),n=t.Eh();Ha(t,!0);var p=r[0];r=r[1];"bottom-right"==n||"center-right"==n||"top-right"==n?(""!==t.a.Ie&&(t.a.Ie=e.left=""),p=Math.round(i[0]-o[0]-p)+"px",t.a.nf!=p&&(t.a.nf=e.right=p)):(""!==t.a.nf&&(t.a.nf=e.right=""),"bottom-center"!=n&&"center-center"!=n&&"top-center"!=n||(p-=t.c.offsetWidth/2),p=Math.round(o[0]+p)+"px",t.a.Ie!=p&&(t.a.Ie=e.left=p)),"bottom-left"==n||"bottom-center"==n||"bottom-right"==n?(""!==t.a.vf&&(t.a.vf=e.top=""),o=Math.round(i[1]-o[1]-r)+"px",t.a.re!=o&&(t.a.re=e.bottom=o)):(""!==t.a.re&&(t.a.re=e.bottom=""),"center-left"!=n&&"center-center"!=n&&"center-right"!=n||(r-=t.c.offsetHeight/2),o=Math.round(o[1]+r)+"px",t.a.vf!=o&&(t.a.vf=e.top=o))}else Ha(t,!1)}s(Ka,Re),(t=Ka.prototype).kk=function(t){this.l.push(t)},t.lk=function(t){this.o.push(t)},t.ih=function(t){this.Kc().qd().push(t)},t.jh=function(t){this.v.push(t)},t.kh=function(t){var e=t.g;void 0!==e&&(this.rg[e.toString()]=t),t.setMap(this)},t.ka=function(){Ae(this.Sa),Ae(this.B),xe(this.a,"wheel",this.ld,this),xe(this.a,"mousewheel",this.ld,this),this.f&&(window.removeEventListener("resize",this.f,!1),this.f=void 0),this.j&&(cancelAnimationFrame(this.j),this.j=void 0),this.Le(null),Re.prototype.ka.call(this)},t.we=function(t,e,o){if(this.c)return t=this.Wa(t),o=o||{},this.B.Ea(t,this.c,void 0!==o.hitTolerance?o.hitTolerance*this.c.pixelRatio:0,e,null,o.layerFilter?o.layerFilter:Gi,null)},t.Im=function(t,e,o,i,r){if(this.c)return this.B.Di(t,this.c,e,void 0!==o?o:null,i||Gi,void 0!==r?r:null)},t.Yl=function(t,e){return!!this.c&&(t=this.Wa(t),e=e||{},this.B.Ei(t,this.c,void 0!==e.hitTolerance?e.hitTolerance*this.c.pixelRatio:0,e.layerFilter?e.layerFilter:Gi,null))},t.Tf=function(t){return this.Wa(this.xe(t))},t.xe=function(t){var e=this.a.getBoundingClientRect();return[(t=t.changedTouches?t.changedTouches[0]:t).clientX-e.left,t.clientY-e.top]},t.ag=function(){return this.get("target")},t.jd=function(){var t=this.ag();return void 0!==t?"string"==typeof t?document.getElementById(t):t:null},t.Wa=function(t){var e=this.c;return e?ep(e.pixelToCoordinateTransform,t.slice()):null},t.Lk=function(){return this.l},t.fl=function(){return this.v},t.el=function(t){return void 0!==(t=this.rg[t.toString()])?t:null},t.Sk=function(){return this.o},t.Kc=function(){return this.get("layergroup")},t.Xh=function(){return this.Kc().qd()},t.Ja=function(t){var e=this.c;return e?ep(e.coordinateToPixelTransform,t.slice(0,2)):null},t.Ob=function(){return this.get("size")},t.Z=function(){return this.get("view")},t.sl=function(){return this.a},t.ql=function(t,e,o,i){var r=this.c;return r&&e in r.wantedTiles&&r.wantedTiles[e][t.bb()]?(t=o[0]-r.focus[0],o=o[1]-r.focus[1],65536*Math.log(i)+Math.sqrt(t*t+o*o)/i):1/0},t.ld=function(t,e){t=new Po(e||t.type,this,t),this.Ih(t)},t.Ih=function(t){if(this.c){this.na=t.coordinate,t.frameState=this.c;var e,o=this.o.a;if(!1!==this.b(t))for(e=o.length-1;0<=e;e--){var i=o[e];if(i.c()&&!i.handleEvent(t))break}}},t.Rl=function(){var t=this.c,e=this.$a;if(e.b.length){var o=16,i=o;if(t){var r=t.viewHints;r[0]&&(o=this.Cf?8:0,i=2),r[1]&&(o=this.Df?8:0,i=2)}e.j<o&&(xi(e),Mi(e,o,i))}for(o=0,i=(e=this.xb).length;o<i;++o)e[o](this,t);e.length=0},t.Tl=function(){this.render()},t.Vl=function(){var t;if(this.ag()&&(t=this.jd()),this.u){for(var e=0,o=this.u.length;e<o;++e)Se(this.u[e]);this.u=null}t?(t.appendChild(this.a),t=this.va?this.va:t,this.u=[me(t,"keydown",this.ld,this),me(t,"keypress",this.ld,this)],this.f||(this.f=this.Ad.bind(this),window.addEventListener("resize",this.f,!1))):($e(this.a),this.f&&(window.removeEventListener("resize",this.f,!1),this.f=void 0)),this.Ad()},t.Wl=function(){this.render()},t.Lh=function(){this.render()},t.Xl=function(){this.T&&(Se(this.T),this.T=null),this.R&&(Se(this.R),this.R=null);var t=this.Z();t&&(this.a.setAttribute("data-view",G(t)),this.T=me(t,"propertychange",this.Lh,this),this.R=me(t,"change",this.Lh,this)),this.render()},t.El=function(){this.I&&(this.I.forEach(Se),this.I=null);var t=this.Kc();t&&(this.I=[me(t,"propertychange",this.render,this),me(t,"change",this.render,this)]),this.render()},t.Tp=function(){this.j&&cancelAnimationFrame(this.j),this.pa()},t.render=function(){void 0===this.j&&(this.j=requestAnimationFrame(this.pa))},t.Mp=function(t){return this.l.remove(t)},t.Np=function(t){return this.o.remove(t)},t.Pp=function(t){return this.Kc().qd().remove(t)},t.Qp=function(t){return this.v.remove(t)},t.Sp=function(t){var e,o=this.Ob(),i=this.Z(),r=[1/0,1/0,-1/0,-1/0],n=this.c,p=null;if(void 0!==o&&0<o[0]&&0<o[1]&&i&&kr(i)){p=Fr(i,this.c?this.c.viewHints:void 0);var s=this.Kc().Yf(),a={},h=0;for(e=s.length;h<e;++h)a[G(s[h].layer)]=s[h];h=i.getState(),p={animate:!1,attributions:{},coordinateToPixelTransform:this.Yb,extent:r,focus:this.na?this.na:h.center,index:this.ad++,layerStates:a,layerStatesArray:s,logos:ct({},this.yf),pixelRatio:this.If,pixelToCoordinateTransform:this.Jf,postRenderFunctions:[],size:o,skippedFeatureUids:this.fa,tileQueue:this.$a,time:t,usedTiles:{},viewState:h,viewHints:p,wantedTiles:{}}}p&&(p.extent=ot(h.center,h.resolution,h.rotation,p.size,r)),this.c=p,this.B.Jg(p),p&&(p.animate&&this.render(),Array.prototype.push.apply(this.xb,p.postRenderFunctions),!n||this.g&&(ht(this.g)||Y(p.extent,this.g))||(this.b(new Mo("movestart",this,n)),this.g=Z(this.g)),!this.g||p.viewHints[0]||p.viewHints[1]||Y(p.extent,this.g)||(this.b(new Mo("moveend",this,p)),j(p.extent,this.g))),this.b(new Mo("postrender",this,p)),setTimeout(this.Rl.bind(this),0)},t.qj=function(t){this.set("layergroup",t)},t.Qg=function(t){this.set("size",t)},t.Le=function(t){this.set("target",t)},t.iq=function(t){this.set("view",t)},t.xj=function(t){t=G(t).toString(),this.fa[t]=!0,this.render()},t.Ad=function(){var t=this.jd();if(t){var e=getComputedStyle(t);this.Qg([t.offsetWidth-parseFloat(e.borderLeftWidth)-parseFloat(e.paddingLeft)-parseFloat(e.paddingRight)-parseFloat(e.borderRightWidth),t.offsetHeight-parseFloat(e.borderTopWidth)-parseFloat(e.paddingTop)-parseFloat(e.paddingBottom)-parseFloat(e.borderBottomWidth)])}else this.Qg(void 0)},t.Cj=function(t){t=G(t).toString(),delete this.fa[t],this.render()},s(za,Re),(t=za.prototype).Rd=function(){return this.get(Ja)},t.Jm=function(){return this.g},t.Me=function(){return this.get(_a)},t.Dh=function(){return this.get($a)},t.Yh=function(){return this.get(Qa)},t.Eh=function(){return this.get(th)},t.zl=function(){for(var t=this.c;t.lastChild;)t.removeChild(t.lastChild);(t=this.Rd())&&this.c.appendChild(t)},t.Jl=function(){this.f&&($e(this.c),Se(this.f),this.f=null);var t=this.Me();t&&(this.f=me(t,"postrender",this.render,this),qa(this),t=this.v?t.D:t.C,this.l?t.insertBefore(this.c,t.childNodes[0]||null):t.appendChild(this.c))},t.render=function(){qa(this)},t.Nl=function(){qa(this)},t.Pl=function(){if(qa(this),this.get(Qa)&&this.autoPan){var t=this.Me();if(t&&t.jd()){var e=Ya(t.jd(),t.Ob()),o=(p=this.Rd()).offsetWidth,i=getComputedStyle(p),r=(o=o+(parseInt(i.marginLeft,10)+parseInt(i.marginRight,10)),i=p.offsetHeight,getComputedStyle(p)),n=Ya(p,[o,i=i+(parseInt(r.marginTop,10)+parseInt(r.marginBottom,10))]),p=this.o;O(e,n)||(o=n[0]-e[0],i=e[2]-n[2],r=n[1]-e[1],n=e[3]-n[3],e=[0,0],o<0?e[0]=o-p:i<0&&(e[0]=Math.abs(i)+p),r<0?e[1]=r-p:n<0&&(e[1]=Math.abs(n)+p),0===e[0]&&0===e[1])||(p=t.Z().wa(),e=[(p=t.Ja(p))[0]+e[0],p[1]+e[1]],t.Z().animate({center:t.Wa(e),duration:this.j.duration,easing:this.j.easing}))}}},t.Ql=function(){qa(this)},t.lj=function(t){this.set(Ja,t)},t.setMap=function(t){this.set(_a,t)},t.rj=function(t){this.set($a,t)},t.Ne=function(t){this.set(Qa,t)},t.uj=function(t){this.set(th,t)};var Ja="element",_a="map",$a="offset",Qa="position",th="positioning";function eh(t){function e(t){t=s.Tf(t),a.a.Z().ob(t),window.removeEventListener("mousemove",o),window.removeEventListener("mouseup",e)}function o(t){t=s.Tf({clientX:t.clientX-l.offsetWidth/2,clientY:t.clientY+l.offsetHeight/2}),h.Ne(t)}t=t||{},this.j=void 0===t.collapsed||t.collapsed,this.o=void 0===t.collapsible||t.collapsible,this.o||(this.j=!1);var i=void 0!==t.className?t.className:"ol-overviewmap",r=void 0!==t.tipLabel?t.tipLabel:"Overview map";"string"==typeof(n=void 0!==t.collapseLabel?t.collapseLabel:"«")?(this.u=document.createElement("span"),this.u.textContent=n):this.u=n,"string"==typeof(n=void 0!==t.label?t.label:"»")?(this.D=document.createElement("span"),this.D.textContent=n):this.D=n;var n,p=this.o&&!this.j?this.u:this.D;(n=document.createElement("button")).setAttribute("type","button"),n.title=r,n.appendChild(p),me(n,"click",this.an,this),this.C=document.createElement("DIV"),this.C.className="ol-overviewmap-map";var s=this.c=new Ka({controls:new De,interactions:new De,view:t.view});t.layers&&t.layers.forEach(function(t){s.ih(t)},this),(r=document.createElement("DIV")).className="ol-overviewmap-box",r.style.boxSizing="border-box",this.l=new za({position:[0,0],positioning:"bottom-left",element:r}),this.c.jh(this.l),(r=document.createElement("div")).className=i+" ol-unselectable ol-control"+(this.j&&this.o?" ol-collapsed":"")+(this.o?"":" ol-uncollapsible"),r.appendChild(this.C),r.appendChild(n),Qe.call(this,{element:r,render:t.render?t.render:oh,target:t.target});var a=this,h=this.l,l=this.l.Rd();l.addEventListener("mousedown",function(){window.addEventListener("mousemove",o),window.addEventListener("mouseup",e)})}function oh(){var t=this.a,e=this.c;if(t.c&&e.c){var o=t.Ob(),i=(t=t.Z().dd(o),e.Ob()),r=(o=e.Z().dd(i),e.Ja(nt(t))),n=e.Ja(tt(t));e=Math.abs(r[0]-n[0]),r=Math.abs(r[1]-n[1]),n=i[0],i=i[1];e<.1*n||r<.1*i||.75*n<e||.75*i<r?ih(this):O(o,t)||(t=this.c,o=this.a.Z(),t.Z().ob(o.wa()))}rh(this)}function ih(t){var e=t.a;t=t.c;var o=e.Ob();e=e.Z().dd(o);t=t.Z(),lt(e,1/(.1*Math.pow(2,Math.log(7.5)/Math.LN2/2))),t.Qf(e)}function rh(t){var e=t.a,o=t.c;if(e.c&&o.c){var i=e.Ob(),r=e.Z(),n=o.Z(),p=(o=r.Qa(),e=t.l,t.l.Rd()),s=r.dd(i);i=n.Pa(),r=Q(s),n=pt(s);if(t=t.a.Z().wa()){var a=[r[0]-t[0],r[1]-t[1]];Ni(a,o),ji(a,t)}e.Ne(a),p&&(p.style.width=Math.abs((r[0]-n[0])/i)+"px",p.style.height=Math.abs((n[1]-r[1])/i)+"px")}}function nh(t){t.element.classList.toggle("ol-collapsed"),t.j?_e(t.u,t.D):_e(t.D,t.u),t.j=!t.j;var e=t.c;t.j||e.c||(e.Ad(),ih(t),we(e,"postrender",function(){rh(this)},t))}function ph(t){var e=void 0!==(t=t||{}).className?t.className:"ol-scale-line";this.o=document.createElement("DIV"),this.o.className=e+"-inner",this.c=document.createElement("DIV"),this.c.className=e+" ol-unselectable",this.c.appendChild(this.o),this.u=null,this.l=void 0!==t.minWidth?t.minWidth:64,this.j=!1,this.B=void 0,this.D="",Qe.call(this,{element:this.c,render:t.render?t.render:ah,target:t.target}),me(this,Ne(lh),this.T,this),this.I(t.units||"metric")}s(eh,Qe),(t=eh.prototype).setMap=function(t){var e=this.a;t!==e&&(e&&((e=e.Z())&&xe(e,Ne("rotation"),this.Ge,this),this.c.Le(null)),Qe.prototype.setMap.call(this,t),t&&(this.c.Le(this.C),this.v.push(me(t,"propertychange",this.Kl,this)),this.c.Xh().dc()||this.c.qj(t.Kc()),t=t.Z()))&&(me(t,Ne("rotation"),this.Ge,this),kr(t)&&(this.c.Ad(),ih(this)))},t.Kl=function(t){"view"===t.key&&((t=t.oldValue)&&xe(t,Ne("rotation"),this.Ge,this),me(t=this.a.Z(),Ne("rotation"),this.Ge,this))},t.Ge=function(){this.c.Z().Oe(this.a.Z().Qa())},t.an=function(t){t.preventDefault(),nh(this)},t.$m=function(){return this.o},t.cn=function(t){this.o!==t&&(this.o=t,this.element.classList.toggle("ol-uncollapsible"),!t&&this.j&&nh(this))},t.bn=function(t){this.o&&this.j!==t&&nh(this)},t.Zm=function(){return this.j},t.gl=function(){return this.c},s(ph,Qe);var sh=[1,2,5];function ah(t){(t=t.frameState)?this.u=t.viewState:this.u=null,hh(this)}function hh(t){if(o=t.u){var e=(i=o.projection).sc(),o=Ot(i,o.resolution,o.center)*e,i=(e=t.l*o,"");"degrees"==(n=t.C())?(o/=i=bt.degrees,e<i/60?(i="″",o*=3600):e<i?(i="′",o*=60):i="°"):"imperial"==n?e<.9144?(i="in",o/=.0254):e<1609.344?(i="ft",o/=.3048):(i="mi",o/=1609.344):"nautical"==n?(o/=1852,i="nm"):"metric"==n?e<.001?(i="μm",o*=1e6):e<1?(i="mm",o*=1e3):e<1e3?i="m":(i="km",o/=1e3):"us"==n?e<.9144?(i="in",o*=39.37):e<1609.344?(i="ft",o/=.30480061):(i="mi",o/=1609.3472):R(!1,33);for(var r,n=3*Math.floor(Math.log(t.l*o)/Math.log(10));;){if(r=sh[(n%3+3)%3]*Math.pow(10,Math.floor(n/3)),e=Math.round(r/o),isNaN(e))return t.c.style.display="none",void(t.j=!1);if(e>=t.l)break;++n}o=r+" "+i,t.D!=o&&(t.o.innerHTML=o,t.D=o),t.B!=e&&(t.o.style.width=e+"px",t.B=e),t.j||(t.c.style.display="",t.j=!0)}else t.j&&(t.c.style.display="none",t.j=!1)}ph.prototype.C=function(){return this.get(lh)},ph.prototype.T=function(){hh(this)},ph.prototype.I=function(t){this.set(lh,t)};var lh="units";function uh(t){t=t||{},this.c=void 0,this.j=ch,this.D=this.l=0,this.I=null,this.na=!1,this.T=void 0!==t.duration?t.duration:200;var e=void 0!==t.className?t.className:"ol-zoomslider",o=document.createElement("button");o.setAttribute("type","button"),o.className=e+"-thumb ol-unselectable";var i=document.createElement("div");i.className=e+" ol-unselectable ol-control",i.appendChild(o),this.o=new ni(i),me(this.o,"pointerdown",this.yl,this),me(this.o,"pointermove",this.wl,this),me(this.o,"pointerup",this.xl,this),me(i,"click",this.vl,this),me(o,"click",Te),Qe.call(this,{element:i,render:t.render?t.render:yh})}s(uh,Qe),uh.prototype.ka=function(){Ae(this.o),Qe.prototype.ka.call(this)};var ch=0;function yh(t){if(t.frameState){if(!this.na){var e=(n=this.element).offsetWidth,o=n.offsetHeight,i=n.firstElementChild,r=getComputedStyle(i),n=i.offsetWidth+parseFloat(r.marginRight)+parseFloat(r.marginLeft);i=i.offsetHeight+parseFloat(r.marginTop)+parseFloat(r.marginBottom);this.I=[n,i],o<e?(this.j=1,this.D=e-n):(this.j=ch,this.l=o-i),this.na=!0}(t=t.frameState.viewState.resolution)!==this.c&&(this.c=t,fh(this,t))}}function fh(t,e){e=1-function(t){var e=t.a,o=Math.log(e/t.f)/Math.log(2);return function(t){return Math.log(e/t)/Math.log(2)/o}}(t.a.Z())(e);var o=t.element.firstElementChild;1==t.j?o.style.left=t.D*e+"px":o.style.top=t.l*e+"px"}function gh(t,e){return function(t){var e=t.a,o=Math.log(e/t.f)/Math.log(2);return function(t){return e/Math.pow(2,t*o)}}(t.a.Z())(1-e)}function dh(t){t=t||{},this.c=t.extent?t.extent:null;var e=void 0!==t.className?t.className:"ol-zoom-extent",o=void 0!==t.label?t.label:"E",i=void 0!==t.tipLabel?t.tipLabel:"Fit to extent",r=document.createElement("button");r.setAttribute("type","button"),r.title=i,r.appendChild("string"==typeof o?document.createTextNode(o):o),me(r,"click",this.j,this),(o=document.createElement("div")).className=e+" ol-unselectable ol-control",o.appendChild(r),Qe.call(this,{element:o,target:t.target})}function vh(t){Re.call(this),t=t||{},this.a=null,me(this,Ne(Sh),this.vm,this),this.gg(void 0!==t.tracking&&t.tracking)}(t=uh.prototype).setMap=function(t){Qe.prototype.setMap.call(this,t),t&&t.render()},t.vl=function(t){var e=this.a.Z();t=gh(this,w(1===this.j?(t.offsetX-this.I[0]/2)/this.D:(t.offsetY-this.I[1]/2)/this.l,0,1)),e.animate({resolution:e.constrainResolution(t),duration:this.T,easing:ro})},t.yl=function(t){this.u||t.b.target!==this.element.firstElementChild||(Dr(this.a.Z(),1,1),this.C=t.clientX,this.B=t.clientY,this.u=!0)},t.wl=function(t){if(this.u){var e=this.element.firstElementChild;this.c=gh(this,w(1===this.j?(t.clientX-this.C+parseInt(e.style.left,10))/this.D:(t.clientY-this.B+parseInt(e.style.top,10))/this.l,0,1)),this.a.Z().Vc(this.c),fh(this,this.c),this.C=t.clientX,this.B=t.clientY}},t.xl=function(){if(this.u){var t=this.a.Z();Dr(t,1,-1),t.animate({resolution:t.constrainResolution(this.c),duration:this.T,easing:ro}),this.u=!1,this.B=this.C=void 0}},s(dh,Qe),dh.prototype.j=function(t){t.preventDefault(),t=this.a.Z();var e=this.c?this.c:t.v.G();t.Qf(e)},s(vh,Re),(t=vh.prototype).ka=function(){this.gg(!1),Re.prototype.ka.call(this)},t.ap=function(t){if(null!==t.alpha){var e=S(t.alpha);this.set(bh,e),"boolean"==typeof t.absolute&&t.absolute?this.set(xh,e):"number"==typeof t.webkitCompassHeading&&-1!=t.webkitCompassAccuracy&&this.set(xh,S(t.webkitCompassHeading))}null!==t.beta&&this.set(mh,S(t.beta)),null!==t.gamma&&this.set(wh,S(t.gamma)),this.s()},t.Fk=function(){return this.get(bh)},t.Ik=function(){return this.get(mh)},t.Ok=function(){return this.get(wh)},t.um=function(){return this.get(xh)},t.Th=function(){return this.get(Sh)},t.vm=function(){if(Oo){var t=this.Th();t&&!this.a?this.a=me(window,"deviceorientation",this.ap,this):t||null===this.a||(Se(this.a),this.a=null)}},t.gg=function(t){this.set(Sh,t)};var bh="alpha",mh="beta",wh="gamma",xh="heading",Sh="tracking";function Mh(t){this.f=t.opacity,this.l=t.rotateWithView,this.g=t.rotation,this.a=t.scale,this.v=t.snapToPixel}function Ph(t){this.D=this.u=this.c=null,this.Va=void 0!==t.fill?t.fill:null,this.oa=[0,0],this.o=t.points,this.b=void 0!==t.radius?t.radius:t.radius1,this.i=t.radius2,this.j=void 0!==t.angle?t.angle:0,this.Ya=void 0!==t.stroke?t.stroke:null,this.B=this.ra=this.C=null,this.S=t.atlasManager,Ah(this,this.S),Mh.call(this,{opacity:1,rotateWithView:void 0!==t.rotateWithView&&t.rotateWithView,rotation:void 0!==t.rotation?t.rotation:0,scale:1,snapToPixel:void 0===t.snapToPixel||t.snapToPixel})}function Ah(t,e){var o="",i="",r=0,n=null,p=0;if(t.Ya){var s=t.Ya.a;null===s&&(s=dp),s=qe(s),void 0===(p=t.Ya.c)&&(p=1),n=t.Ya.i,ko||(n=null),void 0===(i=t.Ya.j)&&(i="round"),void 0===(o=t.Ya.f)&&(o="round"),void 0===(r=t.Ya.o)&&(r=10)}var a=2*(t.b+p)+1;o={strokeStyle:s,zj:p,size:a,lineCap:o,lineDash:n,lineJoin:i,miterLimit:r};if(void 0===e){var h=Je(a,a);t.u=h.canvas,e=a=t.u.width,t.rh(o,h,0,0),t.Va?t.D=t.u:(h=Je(o.size,o.size),t.D=h.canvas,t.qh(o,h,0,0))}else a=Math.round(a),(i=!t.Va)&&(h=t.qh.bind(t,o)),r=t.Ya?(void 0===(r=t.Ya).b&&(r.b="s",r.b=r.a?"string"==typeof r.a?r.b+r.a:r.b+G(r.a).toString():r.b+"-",r.b+=","+(void 0!==r.f?r.f.toString():"-")+","+(r.i?r.i.toString():"-")+","+(void 0!==r.g?r.g:"-")+","+(void 0!==r.j?r.j:"-")+","+(void 0!==r.o?r.o.toString():"-")+","+(void 0!==r.c?r.c.toString():"-")),r.b):"-",n=t.Va?(void 0===(n=t.Va).a&&(n.a=n.b instanceof CanvasPattern||n.b instanceof CanvasGradient?G(n.b).toString():"f"+(n.b?Ze(n.b):"-")),n.a):"-",t.c&&r==t.c[1]&&n==t.c[2]&&t.b==t.c[3]&&t.i==t.c[4]&&t.j==t.c[5]&&t.o==t.c[6]||(t.c=["r"+r+n+(void 0!==t.b?t.b.toString():"-")+(void 0!==t.i?t.i.toString():"-")+(void 0!==t.j?t.j.toString():"-")+(void 0!==t.o?t.o.toString():"-"),r,n,t.b,t.i,t.j,t.o]),h=e.add(t.c[0],a,a,t.rh.bind(t,o),h),t.u=h.image,t.oa=[h.offsetX,h.offsetY],e=h.image.width,t.D=i?h.Zl:t.u;t.C=[a/2,a/2],t.ra=[a,a],t.B=[e,e]}function Eh(t){Ph.call(this,{points:1/0,fill:(t=t||{}).fill,radius:t.radius,snapToPixel:t.snapToPixel,stroke:t.stroke,atlasManager:t.atlasManager})}function Th(t){t=t||{},this.b=void 0!==t.color?t.color:null,this.a=void 0}function jh(t){t=t||{},this.Gc=null,this.Za=Nh,void 0!==t.geometry&&this.Ra(t.geometry),this.Va=void 0!==t.fill?t.fill:null,this.M=void 0!==t.image?t.image:null,this.Ya=void 0!==t.stroke?t.stroke:null,this.Ia=void 0!==t.text?t.text:null,this.Fj=t.zIndex}function Ch(t){if("function"!=typeof t){if(Array.isArray(t))var e=t;else R(t instanceof jh,41),e=[t];t=function(){return e}}return t}(t=Mh.prototype).Ze=function(){return this.f},t.$e=function(){return this.l},t.af=function(){return this.g},t.bf=function(){return this.a},t.Ae=function(){return this.v},t.td=function(t){this.f=t},t.cf=function(t){this.g=t},t.ud=function(t){this.a=t},s(Ph,Mh),(t=Ph.prototype).clone=function(){var t=new Ph({fill:this.Fa()?this.Fa().clone():void 0,points:this.o,radius:this.b,radius2:this.i,angle:this.j,snapToPixel:this.v,stroke:this.Ga()?this.Ga().clone():void 0,rotation:this.g,rotateWithView:this.l,atlasManager:this.S});return t.td(this.f),t.ud(this.a),t},t.Hc=function(){return this.C},t.Pi=function(){return this.j},t.Fa=function(){return this.Va},t.qg=function(){return this.D},t.Y=function(){return this.u},t.ye=function(){return this.B},t.Ye=function(){return 2},t.Oc=function(){return this.oa},t.Qi=function(){return this.o},t.Ri=function(){return this.b},t.Fh=function(){return this.i},t.ic=function(){return this.ra},t.Ga=function(){return this.Ya},t.Nh=function(){},t.load=function(){},t.Bj=function(){},t.rh=function(t,e,o,i){e.setTransform(1,0,0,1,0,0),e.translate(o,i),e.beginPath();var r=this.o;if(1/0===r)e.arc(t.size/2,t.size/2,this.b,0,2*Math.PI,!0);else{var n=void 0!==this.i?this.i:this.b;for(n!==this.b&&(r*=2),o=0;o<=r;o++){i=2*o*Math.PI/r-Math.PI/2+this.j;var p=o%2?n:this.b;e.lineTo(t.size/2+p*Math.cos(i),t.size/2+p*Math.sin(i))}}this.Va&&(null===(o=this.Va.b)&&(o=fp),e.fillStyle=qe(o),e.fill()),this.Ya&&(e.strokeStyle=t.strokeStyle,e.lineWidth=t.zj,t.lineDash&&e.setLineDash(t.lineDash),e.lineCap=t.lineCap,e.lineJoin=t.lineJoin,e.miterLimit=t.miterLimit,e.stroke()),e.closePath()},t.qh=function(t,e,o,i){var r;if(e.setTransform(1,0,0,1,0,0),e.translate(o,i),e.beginPath(),1/0===(o=this.o))e.arc(t.size/2,t.size/2,this.b,0,2*Math.PI,!0);else for((i=void 0!==this.i?this.i:this.b)!==this.b&&(o*=2),r=0;r<=o;r++){var n=2*r*Math.PI/o-Math.PI/2+this.j,p=r%2?i:this.b;e.lineTo(t.size/2+p*Math.cos(n),t.size/2+p*Math.sin(n))}e.fillStyle=fp,e.fill(),this.Ya&&(e.strokeStyle=t.strokeStyle,e.lineWidth=t.zj,t.lineDash&&e.setLineDash(t.lineDash),e.stroke()),e.closePath()},s(Eh,Ph),Eh.prototype.clone=function(){var t=new Eh({fill:this.Fa()?this.Fa().clone():void 0,stroke:this.Ga()?this.Ga().clone():void 0,radius:this.b,snapToPixel:this.v,atlasManager:this.S});return t.td(this.f),t.ud(this.a),t},Eh.prototype.Uc=function(t){this.b=t,Ah(this,this.S)},Th.prototype.clone=function(){var t=this.b;return new Th({color:t&&t.slice?t.slice():t||void 0})},Th.prototype.i=function(){return this.b},Th.prototype.c=function(t){this.b=t,this.a=void 0},(t=jh.prototype).clone=function(){var t=this.V();return t&&t.clone&&(t=t.clone()),new jh({geometry:t,fill:this.Fa()?this.Fa().clone():void 0,image:this.Y()?this.Y().clone():void 0,stroke:this.Ga()?this.Ga().clone():void 0,text:this.Na()?this.Na().clone():void 0,zIndex:this.Ba()})},t.V=function(){return this.Gc},t.Pk=function(){return this.Za},t.Fa=function(){return this.Va},t.pf=function(t){this.Va=t},t.Y=function(){return this.M},t.Og=function(t){this.M=t},t.Ga=function(){return this.Ya},t.qf=function(t){this.Ya=t},t.Na=function(){return this.Ia},t.xd=function(t){this.Ia=t},t.Ba=function(){return this.Fj},t.Ra=function(e){"function"==typeof e?this.Za=e:"string"==typeof e?this.Za=function(t){return t.get(e)}:e?e&&(this.Za=function(){return e}):this.Za=Nh,this.Gc=e},t.Vb=function(t){this.Fj=t};var Lh=null;function Rh(){if(!Lh){var t=new Th({color:"rgba(255,255,255,0.4)"}),e=new Gs({color:"#3399CC",width:1.25});Lh=[new jh({image:new Eh({fill:t,stroke:e,radius:5}),fill:t,stroke:e})]}return Lh}function Ih(){var t={},e=[255,255,255,1],o=[0,153,255,1];return t.Polygon=[new jh({fill:new Th({color:[255,255,255,.5]})})],t.MultiPolygon=t.Polygon,t.LineString=[new jh({stroke:new Gs({color:e,width:5})}),new jh({stroke:new Gs({color:o,width:3})})],t.MultiLineString=t.LineString,t.Circle=t.Polygon.concat(t.LineString),t.Point=[new jh({image:new Eh({radius:6,fill:new Th({color:o}),stroke:new Gs({color:e,width:1.5})}),zIndex:1/0})],t.MultiPoint=t.Point,t.GeometryCollection=t.Polygon.concat(t.LineString,t.Point),t}function Nh(t){return t.V()}function Fh(t){Re.call(this),this.a=void 0,this.c="geometry",this.g=null,this.j=void 0,this.f=null,me(this,Ne(this.c),this.Ee,this),void 0!==t&&(t instanceof Xi||!t?this.Ra(t):this.H(t))}s(Fh,Re),(t=Fh.prototype).clone=function(){var t=new Fh(this.N());t.Tc(this.c);var e=this.V();return e&&t.Ra(e.clone()),(e=this.g)&&t.hg(e),t},t.V=function(){return this.get(this.c)},t.wm=function(){return this.a},t.Qk=function(){return this.c},t.xm=function(){return this.g},t.Lc=function(){return this.j},t.Al=function(){this.s()},t.Ee=function(){this.f&&(Se(this.f),this.f=null);var t=this.V();t&&(this.f=me(t,"change",this.Al,this)),this.s()},t.Ra=function(t){this.set(this.c,t)},t.hg=function(t){this.j=(this.g=t)?function(e){var t;if("function"==typeof e)t=2==e.length?function(t){return e(this,t)}:e;else{if(Array.isArray(e))var o=e;else R(e instanceof jh,41),o=[e];t=function(){return o}}return t}(t):void 0,this.s()},t.jc=function(t){this.a=t,this.s()},t.Tc=function(t){xe(this,Ne(this.c),this.Ee,this),this.c=t,me(this,Ne(this.c),this.Ee,this),this.Ee()};var kh=document.implementation.createDocument("","",null);function Dh(t,e){return kh.createElementNS(t,e)}function Oh(t,e){return function t(e,o,i){if(e.nodeType==Node.CDATA_SECTION_NODE||e.nodeType==Node.TEXT_NODE)o?i.push(String(e.nodeValue).replace(/(\r\n|\r|\n)/g,"")):i.push(e.nodeValue);else for(e=e.firstChild;e;e=e.nextSibling)t(e,o,i);return i}(t,e,[]).join("")}function Uh(t){return t instanceof Document}function Gh(t){return t instanceof Node}function Bh(t){return(new DOMParser).parseFromString(t,"application/xml")}function Xh(o,i){return function(t,e){void 0!==(t=o.call(i,t,e))&&c(e[e.length-1],t)}}function Vh(o,i){return function(t,e){void 0!==(t=o.call(void 0!==i?i:this,t,e))&&e[e.length-1].push(t)}}function Wh(o,i){return function(t,e){void 0!==(t=o.call(void 0!==i?i:this,t,e))&&(e[e.length-1]=t)}}function Zh(i){return function(t,e){var o=i.call(this,t,e);void 0!==o&&(e=e[e.length-1],((t=t.localName)in e?e[t]:e[t]=[]).push(o))}}function Kh(i,r){return function(t,e){var o=i.call(this,t,e);void 0!==o&&(e[e.length-1][void 0!==r?r:t.localName]=o)}}function zh(i,r){return function(t,e,o){i.call(void 0!==r?r:this,t,e,o),o[o.length-1].node.appendChild(t)}}function Yh(r){var n,p;return function(t,e,o){if(!n){n={};var i={};i[t.localName]=r,n[t.namespaceURI]=i,p=Hh(t.localName)}tl(n,p,e,o)}}function Hh(i,r){return function(t,e,o){return t=e[e.length-1].node,void 0===(e=i)&&(e=o),void 0===(o=r)&&(o=t.namespaceURI),Dh(o,e)}}var qh=Hh();function Jh(t,e){for(var o=e.length,i=Array(o),r=0;r<o;++r)i[r]=t[e[r]];return i}function _h(t,e,o){var i;o=void 0!==o?o:{};var r=0;for(i=t.length;r<i;++r)o[t[r]]=e;return o}function $h(t,e,o,i){for(e=e.firstElementChild;e;e=e.nextElementSibling){var r=t[e.namespaceURI];void 0!==r&&(r=r[e.localName])&&r.call(i,e,o)}}function Qh(t,e,o,i,r){return i.push(t),$h(e,o,i,r),i.pop()}function tl(t,e,o,i,r,n){for(var p,s,a=(void 0!==r?r:o).length,h=0;h<a;++h)void 0!==(p=o[h])&&(void 0!==(s=e.call(n,p,i,void 0!==r?r[h]:void 0))&&t[s.namespaceURI][s.localName].call(n,s,p,i))}function el(t,e,o,i,r,n,p){r.push(t),tl(e,o,i,r,n,p),r.pop()}function ol(r,n,p,s){return function(t,e,o){var i=new XMLHttpRequest;i.open("GET","function"==typeof r?r(t,e,o):r,!0),"arraybuffer"==n.U()&&(i.responseType="arraybuffer"),i.onload=function(){if(!i.status||200<=i.status&&i.status<300){var t=n.U();if("json"==t||"text"==t)var e=i.responseText;else"xml"==t?(e=i.responseXML)||(e=Bh(i.responseText)):"arraybuffer"==t&&(e=i.response);e?p.call(this,n.Oa(e,{featureProjection:o}),n.kb(e)):s.call(this)}else s.call(this)}.bind(this),i.onerror=function(){s.call(this)}.bind(this),i.send()}}function il(t,e){return ol(t,e,function(t){this.cd(t)},m)}function rl(){this.f=this.defaultDataProjection=null}function nl(t,e,o){var i;return o&&(i={dataProjection:o.dataProjection?o.dataProjection:t.kb(e),featureProjection:o.featureProjection}),pl(t,i)}function pl(t,e){return ct({dataProjection:t.defaultDataProjection,featureProjection:t.f},e)}function sl(t,e,o){var i,r=o?Wt(o.featureProjection):null,n=o?Wt(o.dataProjection):null;if(i=r&&n&&!Zt(r,n)?t instanceof Xi?(e?t.clone():t).tb(e?r:n,e?n:r):Jt(t,n,r):t,e&&o&&void 0!==o.decimals){var p=Math.pow(10,o.decimals);i===t&&(i=i.clone()),i.Dc(function(t){for(var e=0,o=t.length;e<o;++e)t[e]=Math.round(t[e]*p)/p;return t})}return i}function al(){rl.call(this)}function hl(t){return"string"==typeof t?(t=JSON.parse(t))?t:null:null!==t?t:null}function ll(t,e,o,i,r,n){var p=NaN,s=NaN;if(1===(h=(o-e)/i))p=t[e],s=t[e+1];else if(2==h)p=(1-r)*t[e]+r*t[e+i],s=(1-r)*t[e+1]+r*t[e+i+1];else if(h){s=t[e];var a,h=t[e+1],l=0;p=[0];for(a=e+i;a<o;a+=i){var u=t[a],c=t[a+1];l=l+Math.sqrt((u-s)*(u-s)+(c-h)*(c-h));p.push(l),s=u,h=c}for(o=r*l,h=0,l=p.length,a=!1;h<l;)(s=+N(p[r=h+(l-h>>1)],o))<0?h=r+1:(l=r,a=!s);s=(r=a?h:~h)<0?(o=(o-p[-r-2])/(p[-r-1]-p[-r-2]),p=M(t[e+=(-r-2)*i],t[e+i],o),M(t[e+1],t[e+i+1],o)):(p=t[e+r*i],t[e+r*i+1])}return n?(n[0]=p,n[1]=s,n):[p,s]}function ul(t,e,o,i,r,n){if(o==e)return null;if(r<t[e+i-1])return n?((o=t.slice(e,e+i))[i-1]=r,o):null;if(t[o-1]<r)return n?((o=t.slice(o-i,o))[i-1]=r,o):null;if(r==t[e+i-1])return t.slice(e,e+i);for(e/=i,o/=i;e<o;)r<t[((n=e+o>>1)+1)*i-1]?o=n:e=n+1;if(r==(o=t[e*i-1]))return t.slice((e-1)*i,(e-1)*i+i);var p;for(n=(r-o)/(t[(e+1)*i-1]-o),o=[],p=0;p<i-1;++p)o.push(M(t[(e-1)*i+p],t[e*i+p],n));return o.push(r),o}function cl(t,e){Zi.call(this),this.c=null,this.u=this.D=this.j=-1,this.ma(t,e)}function yl(t){return t.j!=t.i&&(t.c=t.wh(.5,t.c),t.j=t.i),t.c}function fl(t,e){Zi.call(this),this.c=[],this.j=this.u=-1,this.ma(t,e)}function gl(t){var e,o=[],i=t.A,r=0,n=t.c;t=t.a;var p=0;for(e=n.length;p<e;++p){var s=n[p];c(o,r=ll(i,r,s,t,.5)),r=s}return o}function dl(t,e){var o,i=t.ja,r=[],n=[],p=0;for(o=e.length;p<o;++p){var s=e[p];p||(i=s.ja),c(r,s.ga()),n.push(r.length)}t.ba(i,r,n)}function vl(t,e){Zi.call(this),this.ma(t,e)}function bl(t,e){Zi.call(this),this.c=[],this.u=-1,this.D=null,this.I=this.C=this.B=-1,this.j=null,this.ma(t,e)}function ml(t){if(t.u!=t.i){var e,o=t.A,i=t.c,r=t.a,n=0,p=[],s=0;for(e=i.length;s<e;++s){var a=i[s];n=z(o,n,a[0],r);p.push((n[0]+n[2])/2,(n[1]+n[3])/2),n=a[a.length-1]}for(o=wl(t),i=t.c,r=t.a,e=[],a=s=0,n=i.length;a<n;++a){var h=i[a];e=fr(o,s,h,r,p,2*a,e),s=h[h.length-1]}t.D=e,t.u=t.i}return t.D}function wl(t){if(t.I!=t.i){var e=t.A;t:{var o,i=t.c,r=0;for(o=i.length;r<o;++r)if(!mr(e,i[r],t.a,void 0)){i=!1;break t}i=!0}i?t.j=e:(t.j=e.slice(),t.j.length=xr(t.j,t.c,t.a)),t.I=t.i}return t.j}function xl(t,e,o,i){zi(t,e,o),t.c=i,t.s()}function Sl(t,e){var o,i=t.ja,r=[],n=[],p=0;for(o=e.length;p<o;++p){var s=e[p];p||(i=s.ja);var a,h=r.length,l=s.Bb(),u=0;for(a=l.length;u<a;++u)l[u]+=h;c(r,s.ga()),n.push(l)}xl(t,i,r,n)}function Ml(t){t=t||{},rl.call(this),this.b=t.geometryName}function Pl(t,e){if(!t)return null;if("number"==typeof t.x&&"number"==typeof t.y)var o="Point";else if(t.points)o="MultiPoint";else if(t.paths)o=1===t.paths.length?"LineString":"MultiLineString";else if(t.rings){var i,r=t.rings,n=Al(t),p=[],s=[];o=[];var a=0;for(i=r.length;a<i;++a)p.length=0,or(p,0,r[a],n.length),br(p,0,p.length,n.length)?s.push([r[a]]):o.push(r[a]);for(;o.length;){for(r=o.shift(),n=!1,a=s.length-1;0<=a;a--)if(O(new ar(s[a][0]).G(),new ar(r).G())){s[a].push(r),n=!0;break}n||s.push([r.reverse()])}t=ct({},t),1===s.length?(o="Polygon",t.rings=s[0]):(o="MultiPolygon",t.rings=s)}return sl((0,Tl[o])(t),!1,e)}function Al(t){var e="XY";return!0===t.hasZ&&!0===t.hasM?e="XYZM":!0===t.hasZ?e="XYZ":!0===t.hasM&&(e="XYM"),e}function El(t){return{hasZ:"XYZ"===(t=t.ja)||"XYZM"===t,hasM:"XYM"===t||"XYZM"===t}}s(al,rl),(t=al.prototype).U=function(){return"json"},t.Tb=function(t,e){return this.Rc(hl(t),nl(this,t,e))},t.Oa=function(t,e){return this.yg(hl(t),nl(this,t,e))},t.Sc=function(t,e){return this.Cg(hl(t),nl(this,t,e))},t.kb=function(t){return this.Fg(hl(t))},t.Bd=function(t,e){return JSON.stringify(this.Zc(t,e))},t.Wb=function(t,e){return JSON.stringify(this.he(t,e))},t.$c=function(t,e){return JSON.stringify(this.je(t,e))},s(cl,Zi),(t=cl.prototype).mk=function(t){this.A?c(this.A,t):this.A=t.slice(),this.s()},t.clone=function(){var t=new cl(null);return t.ba(this.ja,this.A.slice()),t},t.Kb=function(t,e,o,i){return i<k(this.G(),t,e)?i:(this.u!=this.i&&(this.D=Math.sqrt(_i(this.A,0,this.A.length,this.a,0)),this.u=this.i),Qi(this.A,0,this.A.length,this.a,this.D,!1,t,e,o,i))},t.Ck=function(t,e){return gr(this.A,0,this.A.length,this.a,t,e)},t.nn=function(t,e){return"XYM"!=this.ja&&"XYZM"!=this.ja?null:ul(this.A,0,this.A.length,this.a,t,void 0!==e&&e)},t.X=function(){return rr(this.A,0,this.A.length,this.a)},t.wh=function(t,e){return ll(this.A,0,this.A.length,this.a,t,e)},t.pn=function(){var t,e=this.A,o=this.a,i=e[0],r=e[1],n=0;for(t=0+o;t<this.A.length;t+=o){var p=e[t],s=e[t+1];n=n+Math.sqrt((p-i)*(p-i)+(s-r)*(s-r)),i=p,r=s}return n},t.hd=function(t){var e=[];return e.length=pr(this.A,0,this.A.length,this.a,t,e,0),(t=new cl(null)).ba("XY",e),t},t.U=function(){return"LineString"},t.Xa=function(t){return dr(this.A,0,this.A.length,this.a,t)},t.ma=function(t,e){t?(Yi(this,e,t,1),this.A||(this.A=[]),this.A.length=or(this.A,0,t,this.a),this.s()):this.ba("XY",null)},t.ba=function(t,e){zi(this,t,e),this.s()},s(fl,Zi),(t=fl.prototype).nk=function(t){this.A?c(this.A,t.ga().slice()):this.A=t.ga().slice(),this.c.push(this.A.length),this.s()},t.clone=function(){var t=new fl(null);return t.ba(this.ja,this.A.slice(),this.c.slice()),t},t.Kb=function(t,e,o,i){return i<k(this.G(),t,e)?i:(this.j!=this.i&&(this.u=Math.sqrt($i(this.A,0,this.c,this.a,0)),this.j=this.i),tr(this.A,0,this.c,this.a,this.u,!1,t,e,o,i))},t.rn=function(t,e,o){return"XYM"!=this.ja&&"XYZM"!=this.ja||!this.A.length?null:function(t,e,o,i,r,n){var p=0;if(n)return ul(t,p,e[e.length-1],o,i,r);if(i<t[o-1])return r?((t=t.slice(0,o))[o-1]=i,t):null;if(t[t.length-1]<i)return r?((t=t.slice(t.length-o))[o-1]=i,t):null;for(r=0,n=e.length;r<n;++r){var s=e[r];if(p!=s){if(i<t[p+o-1])break;if(i<=t[s-1])return ul(t,p,s,o,i,!1);p=s}}return null}(this.A,this.c,this.a,t,void 0!==e&&e,void 0!==o&&o)},t.X=function(){return nr(this.A,0,this.c,this.a)},t.Bb=function(){return this.c},t.Yk=function(t){if(t<0||this.c.length<=t)return null;var e=new cl(null);return e.ba(this.ja,this.A.slice(t?this.c[t-1]:0,this.c[t])),e},t.gd=function(){var t,e=this.A,o=this.c,i=this.ja,r=[],n=0,p=0;for(t=o.length;p<t;++p){var s=o[p],a=new cl(null);a.ba(i,e.slice(n,s)),r.push(a),n=s}return r},t.hd=function(t){var e,o=[],i=[],r=this.A,n=this.c,p=this.a,s=0,a=0,h=0;for(e=n.length;h<e;++h){var l=n[h];a=pr(r,s,l,p,t,o,a);i.push(a),s=l}return o.length=a,(t=new fl(null)).ba("XY",o,i),t},t.U=function(){return"MultiLineString"},t.Xa=function(t){t:{var e,o=this.A,i=this.c,r=this.a,n=0,p=0;for(e=i.length;p<e;++p){if(dr(o,n,i[p],r,t)){t=!0;break t}n=i[p]}t=!1}return t},t.ma=function(t,e){t?(Yi(this,e,t,2),this.A||(this.A=[]),t=ir(this.A,0,t,this.a,this.c),this.A.length=t.length?t[t.length-1]:0,this.s()):this.ba("XY",null,this.c)},t.ba=function(t,e,o){zi(this,t,e),this.c=o,this.s()},s(vl,Zi),(t=vl.prototype).qk=function(t){this.A?c(this.A,t.ga()):this.A=t.ga().slice(),this.s()},t.clone=function(){var t=new vl(null);return t.ba(this.ja,this.A.slice()),t},t.Kb=function(t,e,o,i){if(i<k(this.G(),t,e))return i;var r,n=this.A,p=this.a,s=0;for(r=n.length;s<r;s+=p){var a=g(t,e,n[s],n[s+1]);if(a<i){for(i=a,a=0;a<p;++a)o[a]=n[s+a];o.length=p}}return i},t.X=function(){return rr(this.A,0,this.A.length,this.a)},t.il=function(t){var e=this.A?this.A.length/this.a:0;return t<0||e<=t?null:((e=new lr(null)).ba(this.ja,this.A.slice(t*this.a,(t+1)*this.a)),e)},t.Zd=function(){var t,e=this.A,o=this.ja,i=this.a,r=[],n=0;for(t=e.length;n<t;n+=i){var p=new lr(null);p.ba(o,e.slice(n,n+i)),r.push(p)}return r},t.U=function(){return"MultiPoint"},t.Xa=function(t){var e,o=this.A,i=this.a,r=0;for(e=o.length;r<e;r+=i){if(B(t,o[r],o[r+1]))return!0}return!1},t.ma=function(t,e){t?(Yi(this,e,t,1),this.A||(this.A=[]),this.A.length=or(this.A,0,t,this.a),this.s()):this.ba("XY",null)},t.ba=function(t,e){zi(this,t,e),this.s()},s(bl,Zi),(t=bl.prototype).rk=function(t){if(this.A){var e,o=this.A.length;c(this.A,t.ga());var i=0;for(e=(t=t.Bb().slice()).length;i<e;++i)t[i]+=o}else this.A=t.ga().slice(),t=t.Bb().slice(),this.c.push();this.c.push(t),this.s()},t.clone=function(){for(var t=new bl(null),e=this.c.length,o=Array(e),i=0;i<e;++i)o[i]=this.c[i].slice();return xl(t,this.ja,this.A.slice(),o),t},t.Kb=function(t,e,o,i){if(i<k(this.G(),t,e))return i;if(this.C!=this.i){var r,n=this.c,p=0,s=0,a=0;for(r=n.length;a<r;++a){var h=n[a];s=$i(this.A,p,h,this.a,s),p=h[h.length-1]}this.B=Math.sqrt(s),this.C=this.i}n=wl(this),p=this.c,s=this.a,a=this.B;h=[NaN,NaN];var l,u=r=0;for(l=p.length;u<l;++u){var c=p[u];i=tr(n,r,c,s,a,!0,t,e,o,i,h),r=c[c.length-1]}return i},t.Mc=function(t,e){t:{var o=wl(this),i=this.c,r=0;if(i.length){var n,p=0;for(n=i.length;p<n;++p){var s=i[p];if(yr(o,r,s,this.a,t,e)){t=!0;break t}r=s[s.length-1]}}t=!1}return t},t.sn=function(){var t,e=wl(this),o=this.c,i=0,r=0,n=0;for(t=o.length;n<t;++n){var p=o[n];r=r+qi(e,i,p,this.a),i=p[p.length-1]}return r},t.X=function(t){if(void 0!==t){var e=wl(this).slice();xr(e,this.c,this.a,t)}else e=this.A;t=e,e=this.c;var o,i=this.a,r=0,n=[],p=0,s=0;for(o=e.length;s<o;++s){var a=e[s];n[p++]=nr(t,r,a,i,n[p]),r=a[a.length-1]}return n.length=p,n},t.Uk=function(){var t=new vl(null);return t.ba("XY",ml(this).slice()),t},t.hd=function(t){var e=[],o=[],i=this.A,r=this.c,n=this.a;t=Math.sqrt(t);var p,s=0,a=0,h=0;for(p=r.length;h<p;++h){var l=r[h],u=[];a=sr(i,s,l,n,t,e,a,u);o.push(u),s=l[l.length-1]}return e.length=a,xl(i=new bl(null),"XY",e,o),i},t.jl=function(t){if(t<0||this.c.length<=t)return null;if(t){var e=this.c[t-1];e=e[e.length-1]}else e=0;var o=(t=this.c[t].slice())[t.length-1];if(e){var i,r=0;for(i=t.length;r<i;++r)t[r]-=e}return(r=new Sr(null)).ba(this.ja,this.A.slice(e,o),t),r},t.Td=function(){var t,e,o=this.ja,i=this.A,r=this.c,n=[],p=0,s=0;for(t=r.length;s<t;++s){var a=r[s].slice(),h=a[a.length-1];if(p){var l=0;for(e=a.length;l<e;++l)a[l]-=p}(l=new Sr(null)).ba(o,i.slice(p,h),a),n.push(l),p=h}return n},t.U=function(){return"MultiPolygon"},t.Xa=function(t){t:{var e,o=wl(this),i=this.c,r=this.a,n=0,p=0;for(e=i.length;p<e;++p){var s=i[p];if(vr(o,n,s,r,t)){t=!0;break t}n=s[s.length-1]}t=!1}return t},t.ma=function(t,e){if(t){Yi(this,e,t,3),this.A||(this.A=[]),e=this.A;var o,i=this.a,r=0,n=(n=this.c)||[],p=0,s=0;for(o=t.length;s<o;++s)r=ir(e,r,t[s],i,n[p]),r=(n[p++]=r)[r.length-1];n.length=p,n.length?(t=n[n.length-1],this.A.length=t.length?t[t.length-1]:0):this.A.length=0,this.s()}else xl(this,"XY",null,this.c)},s(Ml,al);var Tl={Point:function(t){return void 0!==t.m&&void 0!==t.z?new lr([t.x,t.y,t.z,t.m],"XYZM"):void 0!==t.z?new lr([t.x,t.y,t.z],"XYZ"):void 0!==t.m?new lr([t.x,t.y,t.m],"XYM"):new lr([t.x,t.y])},LineString:function(t){return new cl(t.paths[0],Al(t))},Polygon:function(t){return new Sr(t.rings,Al(t))},MultiPoint:function(t){return new vl(t.points,Al(t))},MultiLineString:function(t){return new fl(t.paths,Al(t))},MultiPolygon:function(t){return new bl(t.rings,Al(t))}},jl={Point:function(t){var e,o=t.X();return"XYZ"===(t=t.ja)?e={x:o[0],y:o[1],z:o[2]}:"XYM"===t?e={x:o[0],y:o[1],m:o[2]}:"XYZM"===t?e={x:o[0],y:o[1],z:o[2],m:o[3]}:"XY"===t?e={x:o[0],y:o[1]}:R(!1,34),e},LineString:function(t){var e=El(t);return{hasZ:e.hasZ,hasM:e.hasM,paths:[t.X()]}},Polygon:function(t){var e=El(t);return{hasZ:e.hasZ,hasM:e.hasM,rings:t.X(!1)}},MultiPoint:function(t){var e=El(t);return{hasZ:e.hasZ,hasM:e.hasM,points:t.X()}},MultiLineString:function(t){var e=El(t);return{hasZ:e.hasZ,hasM:e.hasM,paths:t.X()}},MultiPolygon:function(t){var e=El(t);t=t.X(!1);for(var o=[],i=0;i<t.length;i++)for(var r=t[i].length-1;0<=r;r--)o.push(t[i][r]);return{hasZ:e.hasZ,hasM:e.hasM,rings:o}}};function Cl(t,e){return(0,jl[t.U()])(sl(t,!0,e),e)}function Ll(t){this.kc=t}function Rl(t,e){this.kc=t,this.b=Array.prototype.slice.call(arguments,1),R(2<=this.b.length,57)}function Il(t){var e=["And"].concat(Array.prototype.slice.call(arguments));Rl.apply(this,e)}function Nl(t,e,o){this.kc="BBOX",this.geometryName=t,this.extent=e,this.srsName=o}function Fl(t,e){this.kc=t,this.b=e}function kl(t,e,o){Fl.call(this,"During",t),this.a=e,this.i=o}function Dl(t,e,o,i){Fl.call(this,t,e),this.i=o,this.a=i}function Ol(t,e,o){Dl.call(this,"PropertyIsEqualTo",t,e,o)}function Ul(t,e){Dl.call(this,"PropertyIsGreaterThan",t,e)}function Gl(t,e){Dl.call(this,"PropertyIsGreaterThanOrEqualTo",t,e)}function Bl(t,e,o,i){this.kc=t,this.geometryName=e||"the_geom",this.geometry=o,this.srsName=i}function Xl(t,e,o){Bl.call(this,"Intersects",t,e,o)}function Vl(t,e,o){Fl.call(this,"PropertyIsBetween",t),this.a=e,this.i=o}function Wl(t,e,o,i,r,n){Fl.call(this,"PropertyIsLike",t),this.c=e,this.g=void 0!==o?o:"*",this.f=void 0!==i?i:".",this.i=void 0!==r?r:"!",this.a=n}function Zl(t){Fl.call(this,"PropertyIsNull",t)}function Kl(t,e){Dl.call(this,"PropertyIsLessThan",t,e)}function zl(t,e){Dl.call(this,"PropertyIsLessThanOrEqualTo",t,e)}function Yl(t){this.kc="Not",this.condition=t}function Hl(t,e,o){Dl.call(this,"PropertyIsNotEqualTo",t,e,o)}function ql(t){var e=["Or"].concat(Array.prototype.slice.call(arguments));Rl.apply(this,e)}function Jl(t,e,o){Bl.call(this,"Within",t,e,o)}function _l(t){var e=[null].concat(Array.prototype.slice.call(arguments));return new(Function.prototype.bind.apply(Il,e))}function $l(t,e,o){return new Nl(t,e,o)}function Ql(t){Xi.call(this),this.a=t||null,ou(this)}function tu(t){var e,o=[],i=0;for(e=t.length;i<e;++i)o.push(t[i].clone());return o}function eu(t){var e;if(t.a){var o=0;for(e=t.a.length;o<e;++o)xe(t.a[o],"change",t.s,t)}}function ou(t){var e;if(t.a){var o=0;for(e=t.a.length;o<e;++o)me(t.a[o],"change",t.s,t)}}function iu(t){t=t||{},rl.call(this),this.defaultDataProjection=Wt(t.defaultDataProjection?t.defaultDataProjection:"EPSG:4326"),t.featureProjection&&(this.f=Wt(t.featureProjection)),this.b=t.geometryName}function ru(t,e){return t?sl((0,pu[t.type])(t),!1,e):null}function nu(t,e){return(0,su[t.U()])(sl(t,!0,e),e)}(t=Ml.prototype).Rc=function(t,e){var o=Pl(t.geometry,e),i=new Fh;return this.b&&i.Tc(this.b),i.Ra(o),e&&e.dg&&t.attributes[e.dg]&&i.jc(t.attributes[e.dg]),t.attributes&&i.H(t.attributes),i},t.yg=function(t,e){if(e=e||{},t.features){var o,i=[],r=t.features;for(e.dg=t.objectIdFieldName,t=0,o=r.length;t<o;++t)i.push(this.Rc(r[t],e));return i}return[this.Rc(t,e)]},t.Cg=function(t,e){return Pl(t,e)},t.Fg=function(t){return t.spatialReference&&t.spatialReference.wkid?Wt("EPSG:"+t.spatialReference.wkid):null},t.je=function(t,e){return Cl(t,pl(this,e))},t.Zc=function(t,e){e=pl(this,e);var o={},i=t.V();return i&&(o.geometry=Cl(i,e)),delete(i=t.N())[t.c],o.attributes=gt(i)?{}:i,e&&e.featureProjection&&(o.spatialReference={wkid:Wt(e.featureProjection).mb.split(":").pop()}),o},t.he=function(t,e){e=pl(this,e);var o,i=[],r=0;for(o=t.length;r<o;++r)i.push(this.Zc(t[r],e));return{features:i}},s(Rl,Ll),s(Il,Rl),s(Nl,Ll),s(Fl,Ll),s(kl,Fl),s(Dl,Fl),s(Ol,Dl),s(Ul,Dl),s(Gl,Dl),s(Bl,Ll),s(Xl,Bl),s(Vl,Fl),s(Wl,Fl),s(Zl,Fl),s(Kl,Dl),s(zl,Dl),s(Yl,Ll),s(Hl,Dl),s(ql,Rl),s(Jl,Bl),s(Ql,Xi),(t=Ql.prototype).clone=function(){var t=new Ql(null);return t.oj(this.a),t},t.Kb=function(t,e,o,i){if(i<k(this.G(),t,e))return i;var r,n=this.a,p=0;for(r=n.length;p<r;++p)i=n[p].Kb(t,e,o,i);return i},t.Mc=function(t,e){var o,i=this.a,r=0;for(o=i.length;r<o;++r)if(i[r].Mc(t,e))return!0;return!1},t.se=function(t){Z(t);for(var e=this.a,o=0,i=e.length;o<i;++o)H(t,e[o].G());return t},t.Vf=function(){return tu(this.a)},t.Vd=function(t){if(this.o!=this.i&&(yt(this.f),this.g=0,this.o=this.i),t<0||this.g&&t<this.g)return this;var e=t.toString();if(this.f.hasOwnProperty(e))return this.f[e];var o,i=[],r=this.a,n=!1,p=0;for(o=r.length;p<o;++p){var s=r[p],a=s.Vd(t);i.push(a),a!==s&&(n=!0)}return n?(eu(t=new Ql(null)),t.a=i,ou(t),t.s(),this.f[e]=t):(this.g=t,this)},t.U=function(){return"GeometryCollection"},t.Xa=function(t){var e,o=this.a,i=0;for(e=o.length;i<e;++i)if(o[i].Xa(t))return!0;return!1},t.rotate=function(t,e){for(var o=this.a,i=0,r=o.length;i<r;++i)o[i].rotate(t,e);this.s()},t.scale=function(t,e,o){o=o||et(this.G());for(var i=this.a,r=0,n=i.length;r<n;++r)i[r].scale(t,e,o);this.s()},t.oj=function(t){t=tu(t),eu(this),this.a=t,ou(this),this.s()},t.Dc=function(t){var e,o=this.a,i=0;for(e=o.length;i<e;++i)o[i].Dc(t);this.s()},t.translate=function(t,e){var o,i=this.a,r=0;for(o=i.length;r<o;++r)i[r].translate(t,e);this.s()},t.ka=function(){eu(this),Xi.prototype.ka.call(this)},s(iu,al);var pu={Point:function(t){return new lr(t.coordinates)},LineString:function(t){return new cl(t.coordinates)},Polygon:function(t){return new Sr(t.coordinates)},MultiPoint:function(t){return new vl(t.coordinates)},MultiLineString:function(t){return new fl(t.coordinates)},MultiPolygon:function(t){return new bl(t.coordinates)},GeometryCollection:function(t,e){return new Ql(t=t.geometries.map(function(t){return ru(t,e)}))}},su={Point:function(t){return{type:"Point",coordinates:t.X()}},LineString:function(t){return{type:"LineString",coordinates:t.X()}},Polygon:function(t,e){if(e)var o=e.rightHanded;return{type:"Polygon",coordinates:t.X(o)}},MultiPoint:function(t){return{type:"MultiPoint",coordinates:t.X()}},MultiLineString:function(t){return{type:"MultiLineString",coordinates:t.X()}},MultiPolygon:function(t,e){if(e)var o=e.rightHanded;return{type:"MultiPolygon",coordinates:t.X(o)}},GeometryCollection:function(t,o){return{type:"GeometryCollection",geometries:t.a.map(function(t){var e=ct({},o);return delete e.featureProjection,nu(t,e)})}},Circle:function(){return{type:"GeometryCollection",geometries:[]}}};function au(){this.i=new XMLSerializer,rl.call(this)}function hu(t,e,o){return 0<(t=lu(t,e,o)).length?t[0]:null}function lu(t,e,o){var i=[];for(e=e.firstChild;e;e=e.nextSibling)e.nodeType==Node.ELEMENT_NODE&&c(i,t.zc(e,o));return i}function uu(t){t=t||{},this.featureType=t.featureType,this.featureNS=t.featureNS,this.srsName=t.srsName,this.schemaLocation="",this.b={},this.b["http://www.opengis.net/gml"]={featureMember:Wh(uu.prototype.be),featureMembers:Wh(uu.prototype.be)},au.call(this)}(t=iu.prototype).Rc=function(t,e){e=ru((t="Feature"===t.type?t:{type:"Feature",geometry:t}).geometry,e);var o=new Fh;return this.b&&o.Tc(this.b),o.Ra(e),void 0!==t.id&&o.jc(t.id),t.properties&&o.H(t.properties),o},t.yg=function(t,e){if("FeatureCollection"===t.type){var o,i=[],r=0;for(o=(t=t.features).length;r<o;++r)i.push(this.Rc(t[r],e))}else i=[this.Rc(t,e)];return i},t.Cg=function(t,e){return ru(t,e)},t.Fg=function(t){var e;return(t=t.crs)?"name"==t.type?e=Wt(t.properties.name):"EPSG"==t.type?e=Wt("EPSG:"+t.properties.code):R(!1,36):e=this.defaultDataProjection,e},t.Zc=function(t,e){e=pl(this,e);var o={type:"Feature"},i=t.a;return void 0!==i&&(o.id=i),(i=t.V())?o.geometry=nu(i,e):o.geometry=null,delete(e=t.N())[t.c],gt(e)?o.properties=null:o.properties=e,o},t.he=function(t,e){e=pl(this,e);var o,i=[],r=0;for(o=t.length;r<o;++r)i.push(this.Zc(t[r],e));return{type:"FeatureCollection",features:i}},t.je=function(t,e){return nu(t,pl(this,e))},s(au,rl),(t=au.prototype).U=function(){return"xml"},t.Tb=function(t,e){return Uh(t)?hu(this,t,e):Gh(t)?this.xg(t,e):"string"==typeof t?hu(this,t=Bh(t),e):null},t.xg=function(){return null},t.Oa=function(t,e){return Uh(t)?lu(this,t,e):Gh(t)?this.zc(t,e):"string"==typeof t?lu(this,t=Bh(t),e):[]},t.Sc=function(t,e){return Uh(t)?null:Gh(t)?this.aj(t,e):("string"==typeof t&&Bh(t),null)},t.aj=function(){return null},t.kb=function(t){return Uh(t)?this.Eg(t):Gh(t)?this.kf(t):"string"==typeof t?(t=Bh(t),this.Eg(t)):null},t.Eg=function(){return this.defaultDataProjection},t.kf=function(){return this.defaultDataProjection},t.Bd=function(t,e){return this.i.serializeToString(this.Vg(t,e))},t.Vg=function(){return null},t.Wb=function(t,e){return t=this.Xb(t,e),this.i.serializeToString(t)},t.Xb=function(){return null},t.$c=function(t,e){return t=this.ie(t,e),this.i.serializeToString(t)},t.ie=function(){return null},s(uu,au);var cu=/^[\s\xa0]*$/;function yu(t){return fu(t=Oh(t,!1))}function fu(t){if(t=/^\s*(true|1)|(false|0)\s*$/.exec(t))return void 0!==t[1]||!1}function gu(t){return t=Oh(t,!1),t=Date.parse(t),isNaN(t)?void 0:t/1e3}function du(t){return vu(t=Oh(t,!1))}function vu(t){if(t=/^\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)\s*$/i.exec(t))return parseFloat(t[1])}function bu(t){return mu(t=Oh(t,!1))}function mu(t){if(t=/^\s*(\d+)\s*$/.exec(t))return parseInt(t[1],10)}function wu(t){return Oh(t,!1).trim()}function xu(t,e){Pu(t,e?"1":"0")}function Su(t,e){t.appendChild(kh.createTextNode(e.toPrecision()))}function Mu(t,e){t.appendChild(kh.createTextNode(e.toString()))}function Pu(t,e){t.appendChild(kh.createTextNode(e))}function Au(t){uu.call(this,t=t||{}),this.l=void 0!==t.surface&&t.surface,this.c=void 0!==t.curve&&t.curve,this.g=void 0===t.multiCurve||t.multiCurve,this.j=void 0===t.multiSurface||t.multiSurface,this.schemaLocation=t.schemaLocation?t.schemaLocation:"http://www.opengis.net/gml http://schemas.opengis.net/gml/3.1.1/profiles/gmlsfProfile/1.0.0/gmlsf.xsd"}function Eu(t,e,o){var i=o[o.length-1];o=i.hasZ,i=i.srsName;for(var r,n=(e=e.X()).length,p=Array(n),s=0;s<n;++s){r=e[s];var a=s,h=o,l="enu";i&&(l=Wt(i).b),l="en"===l.substr(0,2)?r[0]+" "+r[1]:r[1]+" "+r[0],h&&(l+=" "+(r[2]||0)),p[a]=l}Pu(t,p.join(" "))}(t=uu.prototype).be=function(t,e){var o=t.localName,i=null;if("FeatureCollection"==o)i="http://www.opengis.net/wfs"===t.namespaceURI?Qh([],this.b,t,e,this):Qh(null,this.b,t,e,this);else if("featureMembers"==o||"featureMember"==o){var r,n=(f=e[0]).featureType,p=f.featureNS;if(!n&&t.childNodes){n=[],p={};var s=0;for(r=t.childNodes.length;s<r;++s){if(1===(c=t.childNodes[s]).nodeType){var a=c.nodeName.split(":").pop();if(-1===n.indexOf(a)){var h,l="",u=0,c=c.namespaceURI;for(h in p){if(p[h]===c){l=h;break}++u}l||(p[l="p"+u]=c),n.push(l+":"+a)}}}"featureMember"!=o&&(f.featureType=n,f.featureNS=p)}"string"==typeof p&&(s=p,(p={}).p0=s);var y,f={};n=Array.isArray(n)?n:[n];for(y in p){for(a={},s=0,r=n.length;s<r;++s)(-1===n[s].indexOf(":")?"p0":n[s].split(":")[0])===y&&(a[n[s].split(":").pop()]="featureMembers"==o?Vh(this.wg,this):Wh(this.wg,this));f[p[y]]=a}i=Qh("featureMember"==o?void 0:[],f,t,e)}return null===i&&(i=[]),i},t.gf=function(t,e){var o=e[0];if(o.srsName=t.firstElementChild.getAttribute("srsName"),t=Qh(null,this.Zg,t,e,this))return sl(t,!1,o)},t.wg=function(t,e){var o;(o=t.getAttribute("fid"))||(o=t.getAttributeNS("http://www.opengis.net/gml","id")||"");var i,r={};for(t=t.firstElementChild;t;t=t.nextElementSibling){var n=t.localName;if(0===t.childNodes.length||1===t.childNodes.length&&(3===t.firstChild.nodeType||4===t.firstChild.nodeType)){var p=Oh(t,!1);cu.test(p)&&(p=void 0),r[n]=p}else"boundedBy"!==n&&(i=n),r[n]=this.gf(t,e)}return e=new Fh(r),i&&e.Tc(i),o&&e.jc(o),e},t.fj=function(t,e){if(t=this.ff(t,e))return(e=new lr(null)).ba("XYZ",t),e},t.dj=function(t,e){if(t=Qh([],this.Nj,t,e,this))return new vl(t)},t.cj=function(t,e){if(t=Qh([],this.Mj,t,e,this))return dl(e=new fl(null),t),e},t.ej=function(t,e){if(t=Qh([],this.Oj,t,e,this))return Sl(e=new bl(null),t),e},t.Xi=function(t,e){$h(this.Rj,t,e,this)},t.Mh=function(t,e){$h(this.Kj,t,e,this)},t.Yi=function(t,e){$h(this.Sj,t,e,this)},t.hf=function(t,e){if(t=this.ff(t,e))return(e=new cl(null)).ba("XYZ",t),e},t.wp=function(t,e){if(t=Qh(null,this.ke,t,e,this))return t},t.bj=function(t,e){if(t=this.ff(t,e))return hr(e=new ar(null),"XYZ",t),e},t.jf=function(t,e){if((t=Qh([null],this.zf,t,e,this))&&t[0]){e=new Sr(null);var o,i=t[0],r=[i.length],n=1;for(o=t.length;n<o;++n)c(i,t[n]),r.push(i.length);return e.ba("XYZ",i,r),e}},t.ff=function(t,e){return Qh(null,this.ke,t,e,this)},t.Nj={"http://www.opengis.net/gml":{pointMember:Vh(uu.prototype.Xi),pointMembers:Vh(uu.prototype.Xi)}},t.Mj={"http://www.opengis.net/gml":{lineStringMember:Vh(uu.prototype.Mh),lineStringMembers:Vh(uu.prototype.Mh)}},t.Oj={"http://www.opengis.net/gml":{polygonMember:Vh(uu.prototype.Yi),polygonMembers:Vh(uu.prototype.Yi)}},t.Rj={"http://www.opengis.net/gml":{Point:Vh(uu.prototype.ff)}},t.Kj={"http://www.opengis.net/gml":{LineString:Vh(uu.prototype.hf)}},t.Sj={"http://www.opengis.net/gml":{Polygon:Vh(uu.prototype.jf)}},t.le={"http://www.opengis.net/gml":{LinearRing:Wh(uu.prototype.wp)}},t.aj=function(t,e){return(t=this.gf(t,[nl(this,t,e||{})]))?t:null},t.zc=function(t,e){var o={featureType:this.featureType,featureNS:this.featureNS};return e&&ct(o,nl(this,t,e)),this.be(t,[o])||[]},t.kf=function(t){return Wt(this.srsName?this.srsName:t.firstElementChild.getAttribute("srsName"))},s(Au,uu),(t=Au.prototype).Ap=function(t,e){if(t=Qh([],this.Lj,t,e,this))return dl(e=new fl(null),t),e},t.Bp=function(t,e){if(t=Qh([],this.Pj,t,e,this))return Sl(e=new bl(null),t),e},t.ph=function(t,e){$h(this.Hj,t,e,this)},t.Aj=function(t,e){$h(this.Uj,t,e,this)},t.Ep=function(t,e){return Qh([null],this.Qj,t,e,this)},t.Hp=function(t,e){return Qh([null],this.Tj,t,e,this)},t.Fp=function(t,e){return Qh([null],this.zf,t,e,this)},t.zp=function(t,e){return Qh([null],this.ke,t,e,this)},t.cm=function(t,e){(t=Qh(void 0,this.le,t,e,this))&&e[e.length-1].push(t)},t.yk=function(t,e){(t=Qh(void 0,this.le,t,e,this))&&(e[e.length-1][0]=t)},t.gj=function(t,e){if((t=Qh([null],this.Vj,t,e,this))&&t[0]){e=new Sr(null);var o,i=t[0],r=[i.length],n=1;for(o=t.length;n<o;++n)c(i,t[n]),r.push(i.length);return e.ba("XYZ",i,r),e}},t.Zi=function(t,e){if(t=Qh([null],this.Ij,t,e,this))return(e=new cl(null)).ba("XYZ",t),e},t.vp=function(t,e){return W((t=Qh([null],this.Jj,t,e,this))[1][0],t[1][1],t[2][0],t[2][1])},t.xp=function(t,e){var o,i=Oh(t,!1),r=/^\s*([+\-]?\d*\.?\d+(?:[eE][+\-]?\d+)?)\s*/;for(t=[];o=r.exec(i);)t.push(parseFloat(o[1])),i=i.substr(o[0].length);if(""===i){if(i="enu",(e=e[0].srsName)&&(i=Wt(e).b),"neu"===i)for(e=0,i=t.length;e<i;e+=3)r=t[e],t[e]=t[e+1],t[e+1]=r;if(2==(e=t.length)&&t.push(0),e)return t}},t.Bg=function(t,e){var o=Oh(t,!1).replace(/^\s*|\s*$/g,""),i=e[0].srsName,r=t.parentNode.getAttribute("srsDimension");e="enu",i&&(e=Wt(i).b),o=o.split(/\s+/),i=2,t.getAttribute("srsDimension")?i=mu(t.getAttribute("srsDimension")):t.getAttribute("dimension")?i=mu(t.getAttribute("dimension")):r&&(i=mu(r));for(var n,p=[],s=0,a=o.length;s<a;s+=i)t=parseFloat(o[s]),r=parseFloat(o[s+1]),n=3===i?parseFloat(o[s+2]):0,"en"===e.substr(0,2)?p.push(t,r,n):p.push(r,t,n);return p},t.ke={"http://www.opengis.net/gml":{pos:Wh(Au.prototype.xp),posList:Wh(Au.prototype.Bg)}},t.zf={"http://www.opengis.net/gml":{interior:Au.prototype.cm,exterior:Au.prototype.yk}},t.Zg={"http://www.opengis.net/gml":{Point:Wh(uu.prototype.fj),MultiPoint:Wh(uu.prototype.dj),LineString:Wh(uu.prototype.hf),MultiLineString:Wh(uu.prototype.cj),LinearRing:Wh(uu.prototype.bj),Polygon:Wh(uu.prototype.jf),MultiPolygon:Wh(uu.prototype.ej),Surface:Wh(Au.prototype.gj),MultiSurface:Wh(Au.prototype.Bp),Curve:Wh(Au.prototype.Zi),MultiCurve:Wh(Au.prototype.Ap),Envelope:Wh(Au.prototype.vp)}},t.Lj={"http://www.opengis.net/gml":{curveMember:Vh(Au.prototype.ph),curveMembers:Vh(Au.prototype.ph)}},t.Pj={"http://www.opengis.net/gml":{surfaceMember:Vh(Au.prototype.Aj),surfaceMembers:Vh(Au.prototype.Aj)}},t.Hj={"http://www.opengis.net/gml":{LineString:Vh(uu.prototype.hf),Curve:Vh(Au.prototype.Zi)}},t.Uj={"http://www.opengis.net/gml":{Polygon:Vh(uu.prototype.jf),Surface:Vh(Au.prototype.gj)}},t.Vj={"http://www.opengis.net/gml":{patches:Wh(Au.prototype.Ep)}},t.Ij={"http://www.opengis.net/gml":{segments:Wh(Au.prototype.Hp)}},t.Jj={"http://www.opengis.net/gml":{lowerCorner:Vh(Au.prototype.Bg),upperCorner:Vh(Au.prototype.Bg)}},t.Qj={"http://www.opengis.net/gml":{PolygonPatch:Wh(Au.prototype.Fp)}},t.Tj={"http://www.opengis.net/gml":{LineStringSegment:Wh(Au.prototype.zp)}},t.ni=function(t,e,o){var i=o[o.length-1].srsName;i&&t.setAttribute("srsName",i),i=Dh(t.namespaceURI,"pos"),t.appendChild(i),t=(o=o[o.length-1]).hasZ;var r=o.srsName;o="enu",r&&(o=Wt(r).b),e=e.X(),o="en"===o.substr(0,2)?e[0]+" "+e[1]:e[1]+" "+e[0],t&&(o+=" "+(e[2]||0)),Pu(i,o)};var Tu={"http://www.opengis.net/gml":{lowerCorner:zh(Pu),upperCorner:zh(Pu)}};(t=Au.prototype).jn=function(t,e,o){var i=o[o.length-1].srsName;i&&t.setAttribute("srsName",i),el({node:t},Tu,qh,[e[0]+" "+e[1],e[2]+" "+e[3]],o,["lowerCorner","upperCorner"],this)},t.ki=function(t,e,o){var i=o[o.length-1].srsName;i&&t.setAttribute("srsName",i),i=Dh(t.namespaceURI,"posList"),t.appendChild(i),Eu(i,e,o)},t.hn=function(t,e){e=(t=e[e.length-1]).node;var o=t.exteriorWritten;return void 0===o&&(t.exteriorWritten=!0),Dh(e.namespaceURI,void 0!==o?"interior":"exterior")},t.Se=function(t,e,o){var i=(r=o[o.length-1]).hasZ,r=r.srsName;"PolygonPatch"!==t.nodeName&&r&&t.setAttribute("srsName",r),"Polygon"===t.nodeName||"PolygonPatch"===t.nodeName?(e=e.Sd(),el({node:t,hasZ:i,srsName:r},Ru,this.hn,e,o,void 0,this)):"Surface"===t.nodeName&&(i=Dh(t.namespaceURI,"patches"),t.appendChild(i),t=Dh(i.namespaceURI,"PolygonPatch"),i.appendChild(t),this.Se(t,e,o))},t.Re=function(t,e,o){var i=o[o.length-1].srsName;"LineStringSegment"!==t.nodeName&&i&&t.setAttribute("srsName",i),"LineString"===t.nodeName||"LineStringSegment"===t.nodeName?(i=Dh(t.namespaceURI,"posList"),t.appendChild(i),Eu(i,e,o)):"Curve"===t.nodeName&&(i=Dh(t.namespaceURI,"segments"),t.appendChild(i),t=Dh(i.namespaceURI,"LineStringSegment"),i.appendChild(t),this.Re(t,e,o))},t.mi=function(t,e,o){var i=(n=o[o.length-1]).hasZ,r=n.srsName,n=n.surface;r&&t.setAttribute("srsName",r),e=e.Td(),el({node:t,hasZ:i,srsName:r,surface:n},ju,this.o,e,o,void 0,this)},t.kn=function(t,e,o){var i=(r=o[o.length-1]).srsName,r=r.hasZ;i&&t.setAttribute("srsName",i),e=e.Zd(),el({node:t,hasZ:r,srsName:i},Cu,Hh("pointMember"),e,o,void 0,this)},t.li=function(t,e,o){var i=(n=o[o.length-1]).hasZ,r=n.srsName,n=n.curve;r&&t.setAttribute("srsName",r),e=e.gd(),el({node:t,hasZ:i,srsName:r,curve:n},Lu,this.o,e,o,void 0,this)},t.oi=function(t,e,o){var i=Dh(t.namespaceURI,"LinearRing");t.appendChild(i),this.ki(i,e,o)},t.pi=function(t,e,o){var i=this.a(e,o);i&&(t.appendChild(i),this.Se(i,e,o))},t.ln=function(t,e,o){var i=Dh(t.namespaceURI,"Point");t.appendChild(i),this.ni(i,e,o)},t.ji=function(t,e,o){var i=this.a(e,o);i&&(t.appendChild(i),this.Re(i,e,o))},t.od=function(t,e,o){var i,r=o[o.length-1],n=ct({},r);n.node=t,i=Array.isArray(e)?r.dataProjection?Jt(e,r.featureProjection,r.dataProjection):e:sl(e,!0,r),el(n,Iu,this.a,[i],o,void 0,this)},t.ii=function(t,e,o){(i=e.a)&&t.setAttribute("fid",i);var i,r=(i=o[o.length-1]).featureNS,n=e.c;i.lb||(i.lb={},i.lb[r]={});var p=e.N();e=[];var s=[];for(h in p){var a=p[h];null!==a&&(e.push(h),s.push(a),h==n||a instanceof Xi?h in i.lb[r]||(i.lb[r][h]=zh(this.od,this)):h in i.lb[r]||(i.lb[r][h]=zh(Pu)))}var h=ct({},i);h.node=t,el(h,i.lb,Hh(void 0,r),s,o,e)};var ju={"http://www.opengis.net/gml":{surfaceMember:zh(Au.prototype.pi),polygonMember:zh(Au.prototype.pi)}},Cu={"http://www.opengis.net/gml":{pointMember:zh(Au.prototype.ln)}},Lu={"http://www.opengis.net/gml":{lineStringMember:zh(Au.prototype.ji),curveMember:zh(Au.prototype.ji)}},Ru={"http://www.opengis.net/gml":{exterior:zh(Au.prototype.oi),interior:zh(Au.prototype.oi)}},Iu={"http://www.opengis.net/gml":{Curve:zh(Au.prototype.Re),MultiCurve:zh(Au.prototype.li),Point:zh(Au.prototype.ni),MultiPoint:zh(Au.prototype.kn),LineString:zh(Au.prototype.Re),MultiLineString:zh(Au.prototype.li),LinearRing:zh(Au.prototype.ki),Polygon:zh(Au.prototype.Se),MultiPolygon:zh(Au.prototype.mi),Surface:zh(Au.prototype.Se),MultiSurface:zh(Au.prototype.mi),Envelope:zh(Au.prototype.jn)}},Nu={MultiLineString:"lineStringMember",MultiCurve:"curveMember",MultiPolygon:"polygonMember",MultiSurface:"surfaceMember"};function Fu(t){uu.call(this,t=t||{}),this.b["http://www.opengis.net/gml"].featureMember=Vh(uu.prototype.be),this.schemaLocation=t.schemaLocation?t.schemaLocation:"http://www.opengis.net/gml http://schemas.opengis.net/gml/2.1.2/feature.xsd"}function ku(t){return(t=Dh(t,"coordinates")).setAttribute("decimal","."),t.setAttribute("cs",","),t.setAttribute("ts"," "),t}function Du(t,e,o){var i=o[o.length-1];o=i.hasZ,i=i.srsName;for(var r,n=(e=e.X()).length,p=Array(n),s=0;s<n;++s)r=e[s],p[s]=Ou(r,i,o);Pu(t,p.join(" "))}function Ou(t,e,o){var i="enu";return e&&(i=Wt(e).b),e="en"===i.substr(0,2)?t[0]+","+t[1]:t[1]+","+t[0],o&&(e+=","+(t[2]||0)),e}Au.prototype.o=function(t,e){return Dh("http://www.opengis.net/gml",Nu[e[e.length-1].node.nodeName])},Au.prototype.a=function(t,e){e=(r=e[e.length-1]).multiSurface;var o=r.surface,i=r.curve,r=r.multiCurve;return Array.isArray(t)?t="Envelope":"MultiPolygon"===(t=t.U())&&!0===e?t="MultiSurface":"Polygon"===t&&!0===o?t="Surface":"LineString"===t&&!0===i?t="Curve":"MultiLineString"===t&&!0===r&&(t="MultiCurve"),Dh("http://www.opengis.net/gml",t)},Au.prototype.ie=function(t,e){e=pl(this,e);var o=Dh("http://www.opengis.net/gml","geom"),i={node:o,hasZ:this.hasZ,srsName:this.srsName,curve:this.c,surface:this.l,multiSurface:this.j,multiCurve:this.g};return e&&ct(i,e),this.od(o,t,[i]),o},Au.prototype.Xb=function(t,e){e=pl(this,e);var o=Dh("http://www.opengis.net/gml","featureMembers");o.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",this.schemaLocation);var i={srsName:this.srsName,hasZ:this.hasZ,curve:this.c,surface:this.l,multiSurface:this.j,multiCurve:this.g,featureNS:this.featureNS,featureType:this.featureType};e&&ct(i,e);var r=(e=[i])[e.length-1],n=(i=r.featureType,r.featureNS),p={};return p[n]={},p[n][i]=zh(this.ii,this),(r=ct({},r)).node=o,el(r,p,Hh(i,n),t,e),o},s(Fu,uu),(t=Fu.prototype).$i=function(t,e){t=Oh(t,!1).replace(/^\s*|\s*$/g,"");var o=e[0].srsName;e="enu",(o=o&&Wt(o))&&(e=o.b);for(var i,r,n=[],p=0,s=(t=t.trim().split(/\s+/)).length;p<s;p++)r=t[p].split(/,+/),o=parseFloat(r[0]),i=parseFloat(r[1]),r=3===r.length?parseFloat(r[2]):0,"en"===e.substr(0,2)?n.push(o,i,r):n.push(i,o,r);return n},t.tp=function(t,e){return W((t=Qh([null],this.Gj,t,e,this))[1][0],t[1][1],t[1][3],t[1][4])},t.am=function(t,e){(t=Qh(void 0,this.le,t,e,this))&&e[e.length-1].push(t)},t.bp=function(t,e){(t=Qh(void 0,this.le,t,e,this))&&(e[e.length-1][0]=t)},t.ke={"http://www.opengis.net/gml":{coordinates:Wh(Fu.prototype.$i)}},t.zf={"http://www.opengis.net/gml":{innerBoundaryIs:Fu.prototype.am,outerBoundaryIs:Fu.prototype.bp}},t.Gj={"http://www.opengis.net/gml":{coordinates:Vh(Fu.prototype.$i)}},t.Zg={"http://www.opengis.net/gml":{Point:Wh(uu.prototype.fj),MultiPoint:Wh(uu.prototype.dj),LineString:Wh(uu.prototype.hf),MultiLineString:Wh(uu.prototype.cj),LinearRing:Wh(uu.prototype.bj),Polygon:Wh(uu.prototype.jf),MultiPolygon:Wh(uu.prototype.ej),Box:Wh(Fu.prototype.tp)}},t.jg=function(t,e){e=(i=e[e.length-1]).multiSurface;var o=i.surface,i=i.multiCurve;return Array.isArray(t)?t="Envelope":"MultiPolygon"===(t=t.U())&&!0===e?t="MultiSurface":"Polygon"===t&&!0===o?t="Surface":"MultiLineString"===t&&!0===i&&(t="MultiCurve"),Dh("http://www.opengis.net/gml",t)},t.ai=function(t,e,o){var i,r=o[o.length-1],n=ct({},r);n.node=t,i=Array.isArray(e)?r.dataProjection?Jt(e,r.featureProjection,r.dataProjection):e:sl(e,!0,r),el(n,Uu,this.jg,[i],o,void 0,this)},t.Pe=function(t,e,o){var i=o[o.length-1].srsName;"LineStringSegment"!==t.nodeName&&i&&t.setAttribute("srsName",i),"LineString"===t.nodeName||"LineStringSegment"===t.nodeName?(i=ku(t.namespaceURI),t.appendChild(i),Du(i,e,o)):"Curve"===t.nodeName&&(i=Dh(t.namespaceURI,"segments"),t.appendChild(i),t=Dh(i.namespaceURI,"LineStringSegment"),i.appendChild(t),this.Pe(t,e,o))},t.Qe=function(t,e,o){var i=(r=o[o.length-1]).hasZ,r=r.srsName;"PolygonPatch"!==t.nodeName&&r&&t.setAttribute("srsName",r),"Polygon"===t.nodeName||"PolygonPatch"===t.nodeName?(e=e.Sd(),el({node:t,hasZ:i,srsName:r},Gu,this.dn,e,o,void 0,this)):"Surface"===t.nodeName&&(i=Dh(t.namespaceURI,"patches"),t.appendChild(i),t=Dh(i.namespaceURI,"PolygonPatch"),i.appendChild(t),this.Qe(t,e,o))},t.dn=function(t,e){e=(t=e[e.length-1]).node;var o=t.exteriorWritten;return void 0===o&&(t.exteriorWritten=!0),Dh(e.namespaceURI,void 0!==o?"innerBoundaryIs":"outerBoundaryIs")},t.gi=function(t,e,o){var i=Dh(t.namespaceURI,"LinearRing");t.appendChild(i),this.ci(i,e,o)},t.di=function(t,e,o){var i=(n=o[o.length-1]).hasZ,r=n.srsName,n=n.curve;r&&t.setAttribute("srsName",r),e=e.gd(),el({node:t,hasZ:i,srsName:r,curve:n},Xu,this.a,e,o,void 0,this)},t.fi=function(t,e,o){var i=o[o.length-1];o=i.hasZ;var r=i.srsName;r&&t.setAttribute("srsName",r),i=ku(t.namespaceURI),t.appendChild(i),Pu(i,t=Ou(t=e.X(),r,o))},t.fn=function(t,e,o){var i=o[o.length-1],r=i.hasZ;(i=i.srsName)&&t.setAttribute("srsName",i),e=e.Zd(),el({node:t,hasZ:r,srsName:i},Bu,Hh("pointMember"),e,o,void 0,this)},t.gn=function(t,e,o){var i=Dh(t.namespaceURI,"Point");t.appendChild(i),this.fi(i,e,o)},t.bi=function(t,e,o){var i=this.jg(e,o);i&&(t.appendChild(i),this.Pe(i,e,o))},t.ci=function(t,e,o){var i=o[o.length-1].srsName;i&&t.setAttribute("srsName",i),i=ku(t.namespaceURI),t.appendChild(i),Du(i,e,o)},t.ei=function(t,e,o){var i=(n=o[o.length-1]).hasZ,r=n.srsName,n=n.surface;r&&t.setAttribute("srsName",r),e=e.Td(),el({node:t,hasZ:i,srsName:r,surface:n},Wu,this.a,e,o,void 0,this)},t.hi=function(t,e,o){var i=this.jg(e,o);i&&(t.appendChild(i),this.Qe(i,e,o))},t.en=function(t,e,o){var i=o[o.length-1].srsName;i&&t.setAttribute("srsName",i),el({node:t},Zu,qh,[e[0]+" "+e[1],e[2]+" "+e[3]],o,["lowerCorner","upperCorner"],this)};var Uu={"http://www.opengis.net/gml":{Curve:zh(Fu.prototype.Pe),MultiCurve:zh(Fu.prototype.di),Point:zh(Fu.prototype.fi),MultiPoint:zh(Fu.prototype.fn),LineString:zh(Fu.prototype.Pe),MultiLineString:zh(Fu.prototype.di),LinearRing:zh(Fu.prototype.ci),Polygon:zh(Fu.prototype.Qe),MultiPolygon:zh(Fu.prototype.ei),Surface:zh(Fu.prototype.Qe),MultiSurface:zh(Fu.prototype.ei),Envelope:zh(Fu.prototype.en)}},Gu={"http://www.opengis.net/gml":{outerBoundaryIs:zh(Fu.prototype.gi),innerBoundaryIs:zh(Fu.prototype.gi)}},Bu={"http://www.opengis.net/gml":{pointMember:zh(Fu.prototype.gn)}},Xu={"http://www.opengis.net/gml":{lineStringMember:zh(Fu.prototype.bi),curveMember:zh(Fu.prototype.bi)}};Fu.prototype.a=function(t,e){return Dh("http://www.opengis.net/gml",Vu[e[e.length-1].node.nodeName])};var Vu={MultiLineString:"lineStringMember",MultiCurve:"curveMember",MultiPolygon:"polygonMember",MultiSurface:"surfaceMember"},Wu={"http://www.opengis.net/gml":{surfaceMember:zh(Fu.prototype.hi),polygonMember:zh(Fu.prototype.hi)}},Zu={"http://www.opengis.net/gml":{lowerCorner:zh(Pu),upperCorner:zh(Pu)}};function Ku(t){t=t||{},au.call(this),this.defaultDataProjection=Wt("EPSG:4326"),this.b=t.readExtensions}s(Ku,au);var zu=[null,"http://www.topografix.com/GPX/1/0","http://www.topografix.com/GPX/1/1"];function Yu(t,e,o,i){return t.push(parseFloat(o.getAttribute("lon")),parseFloat(o.getAttribute("lat"))),"ele"in i?(t.push(i.ele),delete i.ele,e.hasZ=!0):t.push(0),"time"in i?(t.push(i.time),delete i.time,e.hasM=!0):t.push(0),t}function Hu(t,e,o){var i="XY",r=2;if(t.hasZ&&t.hasM?(i="XYZM",r=4):t.hasZ?(i="XYZ",r=3):t.hasM&&(i="XYM",r=3),4!==r){var n,p=0;for(n=e.length/4;p<n;p++)e[p*r]=e[4*p],e[p*r+1]=e[4*p+1],t.hasZ&&(e[p*r+2]=e[4*p+2]),t.hasM&&(e[p*r+2]=e[4*p+3]);if(e.length=e.length/4*r,o)for(p=0,n=o.length;p<n;p++)o[p]=o[p]/4*r}return i}function qu(t,e){var o=e[e.length-1],i=t.getAttribute("href");null!==i&&(o.link=i),$h(oc,t,e)}function Ju(t,e){e[e.length-1].extensionsNode_=t}function _u(t,e){var o=e[0];if(t=Qh({flatCoordinates:[],layoutOptions:{}},ic,t,e)){e=t.flatCoordinates,delete t.flatCoordinates;var i=t.layoutOptions;delete t.layoutOptions;i=Hu(i,e);var r=new cl(null);return r.ba(i,e),sl(r,!1,o),(o=new Fh(r)).H(t),o}}function $u(t,e){var o=e[0];if(t=Qh({flatCoordinates:[],ends:[],layoutOptions:{}},nc,t,e)){e=t.flatCoordinates,delete t.flatCoordinates;var i=t.ends;delete t.ends;var r=t.layoutOptions;delete t.layoutOptions;r=Hu(r,e,i);var n=new fl(null);return n.ba(r,e,i),sl(n,!1,o),(o=new Fh(n)).H(t),o}}function Qu(t,e){var o=e[0];if(e=Qh({},ac,t,e)){var i={};return sl(t=new lr(t=Yu([],i,t,e),i=Hu(i,t)),!1,o),(o=new Fh(t)).H(e),o}}var tc={rte:_u,trk:$u,wpt:Qu},ec=_h(zu,{rte:Vh(_u),trk:Vh($u),wpt:Vh(Qu)}),oc=_h(zu,{text:Kh(wu,"linkText"),type:Kh(wu,"linkType")}),ic=_h(zu,{name:Kh(wu),cmt:Kh(wu),desc:Kh(wu),src:Kh(wu),link:qu,number:Kh(bu),extensions:Ju,type:Kh(wu),rtept:function(t,e){var o=Qh({},rc,t,e);o&&Yu((e=e[e.length-1]).flatCoordinates,e.layoutOptions,t,o)}}),rc=_h(zu,{ele:Kh(du),time:Kh(gu)}),nc=_h(zu,{name:Kh(wu),cmt:Kh(wu),desc:Kh(wu),src:Kh(wu),link:qu,number:Kh(bu),type:Kh(wu),extensions:Ju,trkseg:function(t,e){var o=e[e.length-1];$h(pc,t,e),o.ends.push(o.flatCoordinates.length)}}),pc=_h(zu,{trkpt:function(t,e){var o=Qh({},sc,t,e);o&&Yu((e=e[e.length-1]).flatCoordinates,e.layoutOptions,t,o)}}),sc=_h(zu,{ele:Kh(du),time:Kh(gu)}),ac=_h(zu,{ele:Kh(du),time:Kh(gu),magvar:Kh(du),geoidheight:Kh(du),name:Kh(wu),cmt:Kh(wu),desc:Kh(wu),src:Kh(wu),link:qu,sym:Kh(wu),type:Kh(wu),fix:Kh(wu),sat:Kh(bu),hdop:Kh(du),vdop:Kh(du),pdop:Kh(du),ageofdgpsdata:Kh(du),dgpsid:Kh(bu),extensions:Ju});function hc(t,e){for(var o=0,i=(e=e||[]).length;o<i;++o){var r=e[o];if(t.b){var n=r.get("extensionsNode_")||null;t.b(r,n)}r.set("extensionsNode_",void 0)}}function lc(t,e,o){t.setAttribute("href",e),e=o[o.length-1].properties,el({node:t},yc,qh,[e.linkText,e.linkType],o,cc)}function uc(t,e,o){var i=o[o.length-1],r=i.node.namespaceURI,n=i.properties;switch(t.setAttributeNS(null,"lat",e[1]),t.setAttributeNS(null,"lon",e[0]),i.geometryLayout){case"XYZM":e[3]&&(n.time=e[3]);case"XYZ":e[2]&&(n.ele=e[2]);break;case"XYM":e[2]&&(n.time=e[2])}i=Jh(n,e="rtept"==t.nodeName?dc[r]:xc[r]),el({node:t,properties:n},Sc,qh,i,o,e)}Ku.prototype.xg=function(t,e){if(!d(zu,t.namespaceURI))return null;var o=tc[t.localName];return o&&(t=o(t,[nl(this,t,e)]))?(hc(this,[t]),t):null},Ku.prototype.zc=function(t,e){return d(zu,t.namespaceURI)&&"gpx"==t.localName&&(t=Qh([],ec,t,[nl(this,t,e)]))?(hc(this,t),t):[]};var cc=["text","type"],yc=_h(zu,{text:zh(Pu),type:zh(Pu)}),fc=_h(zu,"name cmt desc src link number type rtept".split(" ")),gc=_h(zu,{name:zh(Pu),cmt:zh(Pu),desc:zh(Pu),src:zh(Pu),link:zh(lc),number:zh(Mu),type:zh(Pu),rtept:Yh(zh(uc))}),dc=_h(zu,["ele","time"]),vc=_h(zu,"name cmt desc src link number type trkseg".split(" ")),bc=_h(zu,{name:zh(Pu),cmt:zh(Pu),desc:zh(Pu),src:zh(Pu),link:zh(lc),number:zh(Mu),type:zh(Pu),trkseg:Yh(zh(function(t,e,o){el({node:t,geometryLayout:e.ja,properties:{}},wc,mc,e.X(),o)}))}),mc=Hh("trkpt"),wc=_h(zu,{trkpt:zh(uc)}),xc=_h(zu,"ele time magvar geoidheight name cmt desc src link sym type fix sat hdop vdop pdop ageofdgpsdata dgpsid".split(" ")),Sc=_h(zu,{ele:zh(Su),time:zh(function(t,e){e=new Date(1e3*e),t.appendChild(kh.createTextNode(e.getUTCFullYear()+"-"+Ei(e.getUTCMonth()+1)+"-"+Ei(e.getUTCDate())+"T"+Ei(e.getUTCHours())+":"+Ei(e.getUTCMinutes())+":"+Ei(e.getUTCSeconds())+"Z"))}),magvar:zh(Su),geoidheight:zh(Su),name:zh(Pu),cmt:zh(Pu),desc:zh(Pu),src:zh(Pu),link:zh(lc),sym:zh(Pu),type:zh(Pu),fix:zh(Pu),sat:zh(Mu),hdop:zh(Su),vdop:zh(Su),pdop:zh(Su),ageofdgpsdata:zh(Su),dgpsid:zh(Mu)}),Mc={Point:"wpt",LineString:"rte",MultiLineString:"trk"};function Pc(t,e){if((t=t.V())&&(t=Mc[t.U()]))return Dh(e[e.length-1].node.namespaceURI,t)}var Ac=_h(zu,{rte:zh(function(t,e,o){var i=o[0],r=e.N();t={node:t,properties:r},(e=e.V())&&(e=sl(e,!0,i),t.geometryLayout=e.ja,r.rtept=e.X()),r=Jh(r,i=fc[o[o.length-1].node.namespaceURI]),el(t,gc,qh,r,o,i)}),trk:zh(function(t,e,o){var i=o[0],r=e.N();t={node:t,properties:r},(e=e.V())&&(e=sl(e,!0,i),r.trkseg=e.gd()),r=Jh(r,i=vc[o[o.length-1].node.namespaceURI]),el(t,bc,qh,r,o,i)}),wpt:zh(function(t,e,o){var i=o[0],r=o[o.length-1];r.properties=e.N(),(e=e.V())&&(e=sl(e,!0,i),r.geometryLayout=e.ja,uc(t,e.X(),o))})});function Ec(){rl.call(this)}function Tc(t){return"string"==typeof t?t:""}function jc(t){t=t||{},rl.call(this),this.defaultDataProjection=Wt("EPSG:4326"),this.b=t.altitudeMode?t.altitudeMode:"none"}Ku.prototype.Xb=function(t,e){e=pl(this,e);var o=Dh("http://www.topografix.com/GPX/1/1","gpx");return o.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xsi","http://www.w3.org/2001/XMLSchema-instance"),o.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"),o.setAttribute("version","1.1"),o.setAttribute("creator","OpenLayers"),el({node:o},Ac,Pc,t,[e]),o},s(Ec,rl),(t=Ec.prototype).U=function(){return"text"},t.Tb=function(t,e){return this.ae(Tc(t),pl(this,e))},t.Oa=function(t,e){return this.zg(Tc(t),pl(this,e))},t.Sc=function(t,e){return this.wd(Tc(t),pl(this,e))},t.kb=function(){return this.defaultDataProjection},t.Bd=function(t,e){return this.ge(t,pl(this,e))},t.Wb=function(t,e){return this.Wg(t,pl(this,e))},t.$c=function(t,e){return this.Cd(t,pl(this,e))},s(jc,Ec);var Cc,Lc,Rc,Ic,Nc,Fc,kc,Dc,Oc,Uc,Gc,Bc,Xc,Vc,Wc,Zc=/^B(\d{2})(\d{2})(\d{2})(\d{2})(\d{5})([NS])(\d{3})(\d{5})([EW])([AV])(\d{5})(\d{5})/,Kc=/^H.([A-Z]{3}).*?:(.*)/,zc=/^HFDTE(\d{2})(\d{2})(\d{2})/,Yc=/\r\n|\r|\n/;function Hc(t,e,o,i,r,n){je.call(this),this.j=null,this.M=t||new Image,null!==i&&(this.M.crossOrigin=i),this.c=n?document.createElement("CANVAS"):null,this.g=n,this.f=null,this.i=r,this.a=o,this.o=e,this.l=!1,2==this.i&&qc(this)}function qc(e){var t=Je(1,1);try{t.drawImage(e.M,0,0),t.getImageData(0,0,1,1)}catch(t){e.l=!0}}function Jc(t){t=t||{},this.o=void 0!==t.anchor?t.anchor:[.5,.5],this.u=null,this.i=void 0!==t.anchorOrigin?t.anchorOrigin:"top-left",this.C=void 0!==t.anchorXUnits?t.anchorXUnits:"fraction",this.B=void 0!==t.anchorYUnits?t.anchorYUnits:"fraction",this.ra=void 0!==t.crossOrigin?t.crossOrigin:null;var e=void 0!==t.img?t.img:null,o=void 0!==t.imgSize?t.imgSize:null,i=t.src;R(!(void 0!==i&&e),4),R(!e||e&&o,5),void 0!==i&&i.length||!e||(i=e.src||G(e).toString()),R(void 0!==i&&0<i.length,6);var r=void 0!==t.src?0:2;this.j=void 0!==t.color?We(t.color):null;var n=this.ra,p=this.j,s=qn.get(i,n,p);s||(s=new Hc(e,i,o,n,r,p),qn.set(i,n,p,s)),this.b=s,this.oa=void 0!==t.offset?t.offset:[0,0],this.c=void 0!==t.offsetOrigin?t.offsetOrigin:"top-left",this.S=null,this.D=void 0!==t.size?t.size:null,Mh.call(this,{opacity:void 0!==t.opacity?t.opacity:1,rotation:void 0!==t.rotation?t.rotation:0,scale:void 0!==t.scale?t.scale:1,snapToPixel:void 0===t.snapToPixel||t.snapToPixel,rotateWithView:void 0!==t.rotateWithView&&t.rotateWithView})}function _c(t){t=t||{},this.a=t.font,this.f=t.rotation,this.o=t.rotateWithView,this.b=t.scale,this.Ia=t.text,this.g=t.textAlign,this.j=t.textBaseline,this.Va=void 0!==t.fill?t.fill:new Th({color:"#333"}),this.Ya=void 0!==t.stroke?t.stroke:null,this.i=void 0!==t.offsetX?t.offsetX:0,this.c=void 0!==t.offsetY?t.offsetY:0}function $c(t){t=t||{},au.call(this),Cc||(Rc=new Th({color:Lc=[255,255,255,1]}),Fc=Nc="pixels",Uc=new Jc({anchor:Ic=[20,2],anchorOrigin:"bottom-left",anchorXUnits:Nc,anchorYUnits:Fc,crossOrigin:"anonymous",rotation:0,scale:Oc=.5,size:kc=[64,64],src:Dc="https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png"}),Gc="NO_IMAGE",Bc=new Gs({color:Lc,width:1}),Xc=new Gs({color:[51,51,51,1],width:2}),Vc=new _c({font:"bold 16px Helvetica",fill:Rc,stroke:Xc,scale:.8}),Wc=new jh({fill:Rc,image:Uc,text:Vc,stroke:Bc,zIndex:0}),Cc=[Wc]),this.defaultDataProjection=Wt("EPSG:4326"),this.a=t.defaultStyle?t.defaultStyle:Cc,this.c=void 0===t.extractStyles||t.extractStyles,this.j=void 0===t.writeStyles||t.writeStyles,this.b={},this.g=void 0===t.showPointNames||t.showPointNames}(t=jc.prototype).ae=function(t,e){var o=this.b,i=t.split(Yc);t={};var r,n=[],p=2e3,s=0,a=1,h=-1,l=0;for(r=i.length;l<r;++l){var u;if("B"==(c=i[l]).charAt(0)){if(u=Zc.exec(c)){var c=parseInt(u[1],10),y=parseInt(u[2],10),f=parseInt(u[3],10),g=parseInt(u[4],10)+parseInt(u[5],10)/6e4;"S"==u[6]&&(g=-g);var d=parseInt(u[7],10)+parseInt(u[8],10)/6e4;"W"==u[9]&&(d=-d),n.push(d,g),"none"!=o&&n.push("gps"==o?parseInt(u[11],10):"barometric"==o?parseInt(u[12],10):0),(u=Date.UTC(p,s,a,c,y,f))<h&&(u=Date.UTC(p,s,a+1,c,y,f)),n.push(u/1e3),h=u}}else"H"==c.charAt(0)&&((u=zc.exec(c))?(a=parseInt(u[1],10),s=parseInt(u[2],10)-1,p=2e3+parseInt(u[3],10)):(u=Kc.exec(c))&&(t[u[1]]=u[2].trim()))}return n.length?((i=new cl(null)).ba("none"==o?"XYM":"XYZM",n),(e=new Fh(sl(i,!1,e))).H(t),e):null},t.zg=function(t,e){return(t=this.ae(t,e))?[t]:[]},t.ge=function(){},t.Wg=function(){},t.Cd=function(){},t.wd=function(){},s(Hc,je),Hc.prototype.v=function(){this.i=3,this.f.forEach(Se),this.f=null,this.b("change")},Hc.prototype.u=function(){if(this.i=2,this.a&&(this.M.width=this.a[0],this.M.height=this.a[1]),this.a=[this.M.width,this.M.height],this.f.forEach(Se),this.f=null,qc(this),!this.l&&null!==this.g){this.c.width=this.M.width,this.c.height=this.M.height;var t=this.c.getContext("2d");t.drawImage(this.M,0,0);for(var e=t.getImageData(0,0,this.M.width,this.M.height),o=e.data,i=this.g[0]/255,r=this.g[1]/255,n=this.g[2]/255,p=0,s=o.length;p<s;p+=4)o[p]*=i,o[p+1]*=r,o[p+2]*=n;t.putImageData(e,0,0)}this.b("change")},Hc.prototype.Y=function(){return this.c?this.c:this.M},Hc.prototype.load=function(){if(0==this.i){this.i=1,this.f=[we(this.M,"error",this.v,this),we(this.M,"load",this.u,this)];try{this.M.src=this.o}catch(t){this.v()}}},s(Jc,Mh),(t=Jc.prototype).clone=function(){var t=this.Y(1);if(2===this.b.i)if("IMG"===t.tagName.toUpperCase())var e=t.cloneNode(!0);else{var o=(e=document.createElement("canvas")).getContext("2d");e.width=t.width,e.height=t.height,o.drawImage(t,0,0)}return new Jc({anchor:this.o.slice(),anchorOrigin:this.i,anchorXUnits:this.C,anchorYUnits:this.B,crossOrigin:this.ra,color:this.j&&this.j.slice?this.j.slice():this.j||void 0,img:e||void 0,imgSize:e?this.b.a.slice():void 0,src:e?void 0:this.b.o,offset:this.oa.slice(),offsetOrigin:this.c,size:null!==this.D?this.D.slice():void 0,opacity:this.f,scale:this.a,snapToPixel:this.v,rotation:this.g,rotateWithView:this.l})},t.Hc=function(){if(this.u)return this.u;var t=this.o,e=this.ic();if("fraction"==this.C||"fraction"==this.B){if(!e)return null;t=this.o.slice(),"fraction"==this.C&&(t[0]*=e[0]),"fraction"==this.B&&(t[1]*=e[1])}if("top-left"!=this.i){if(!e)return null;t===this.o&&(t=this.o.slice()),"top-right"!=this.i&&"bottom-right"!=this.i||(t[0]=-t[0]+e[0]),"bottom-left"!=this.i&&"bottom-right"!=this.i||(t[1]=-t[1]+e[1])}return this.u=t},t.Lo=function(){return this.j},t.Y=function(t){return this.b.Y(t)},t.ye=function(){return this.b.a},t.Ye=function(){return this.b.i},t.qg=function(){var t=this.b;if(!t.j)if(t.l){var e=t.a[0],o=t.a[1],i=Je(e,o);i.fillRect(0,0,e,o),t.j=i.canvas}else t.j=t.M;return t.j},t.Oc=function(){if(this.S)return this.S;var t=this.oa;if("top-left"!=this.c){var e=this.ic(),o=this.b.a;if(!e||!o)return null;t=t.slice(),"top-right"!=this.c&&"bottom-right"!=this.c||(t[0]=o[0]-e[0]-t[0]),"bottom-left"!=this.c&&"bottom-right"!=this.c||(t[1]=o[1]-e[1]-t[1])}return this.S=t},t.Mo=function(){return this.b.o},t.ic=function(){return this.D?this.D:this.b.a},t.Nh=function(t,e){return me(this.b,"change",t,e)},t.load=function(){this.b.load()},t.Bj=function(t,e){xe(this.b,"change",t,e)},(t=_c.prototype).clone=function(){return new _c({font:this.a,rotation:this.f,rotateWithView:this.o,scale:this.b,text:this.Na(),textAlign:this.g,textBaseline:this.j,fill:this.Fa()?this.Fa().clone():void 0,stroke:this.Ga()?this.Ga().clone():void 0,offsetX:this.i,offsetY:this.c})},t.Nk=function(){return this.a},t.cl=function(){return this.i},t.dl=function(){return this.c},t.Fa=function(){return this.Va},t.Ro=function(){return this.o},t.So=function(){return this.f},t.To=function(){return this.b},t.Ga=function(){return this.Ya},t.Na=function(){return this.Ia},t.nl=function(){return this.g},t.ol=function(){return this.j},t.nj=function(t){this.a=t},t.sj=function(t){this.i=t},t.tj=function(t){this.c=t},t.pf=function(t){this.Va=t},t.Uo=function(t){this.f=t},t.Si=function(t){this.b=t},t.qf=function(t){this.Ya=t},t.xd=function(t){this.Ia=t},t.vj=function(t){this.g=t},t.hq=function(t){this.j=t},s($c,au);var Qc=["http://www.google.com/kml/ext/2.2"],ty=[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"],ey={fraction:"fraction",pixels:"pixels",insetPixels:"pixels"};function oy(t,e){var o=[0,0],i="start";if(t.Y()){var r=t.Y().ye();null===r&&(r=kc),2==r.length&&(i=t.Y().a,o[0]=i*r[0]/2,o[1]=-i*r[1]/2,i="left")}return null!==t.Na()?((t=(r=t.Na()).clone()).nj(r.a||Vc.a),t.Si(r.b||Vc.b),t.pf(r.Fa()||Vc.Fa()),t.qf(r.Ga()||Xc)):t=Vc.clone(),t.xd(e),t.sj(o[0]),t.tj(o[1]),t.vj(i),new jh({text:t})}function iy(i,r,n,p,s){return function(){var t=s,e="";if(t&&this.V()&&(t="Point"===this.V().U()),t&&(e=this.get("name"),t=t&&e),i)return t?(t=oy(i[0],e),i.concat(t)):i;if(r){var o=function t(e,o,i){return Array.isArray(e)?e:"string"==typeof e?(!(e in i)&&"#"+e in i&&(e="#"+e),t(i[e],o,i)):o}(r,n,p);return t?(t=oy(o[0],e),o.concat(t)):o}return t?(t=oy(n[0],e),n.concat(t)):n}}function ry(t){if(t=Oh(t,!1),t=/^\s*#?\s*([0-9A-Fa-f]{8})\s*$/.exec(t))return t=t[1],[parseInt(t.substr(6,2),16),parseInt(t.substr(4,2),16),parseInt(t.substr(2,2),16),parseInt(t.substr(0,2),16)/255]}function ny(t){t=Oh(t,!1);for(var e,o=[],i=/^\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)\s*,\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)(?:\s*,\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?))?\s*/i;e=i.exec(t);)o.push(parseFloat(e[1]),parseFloat(e[2]),e[3]?parseFloat(e[3]):0),t=t.substr(e[0].length);if(""===t)return o}function py(t){var e=Oh(t,!1).trim();return t.baseURI&&"about:blank"!==t.baseURI?new URL(e,t.baseURI).href:e}function sy(t){return du(t)}function ay(t,e){return Qh(null,Ay,t,e)}function hy(t,e){if(e=Qh({A:[],Ej:[]},Ty,t,e)){var o;t=e.A,e=e.Ej;var i=0;for(o=Math.min(t.length,e.length);i<o;++i)t[4*i+3]=e[i];return(e=new cl(null)).ba("XYZM",t),e}}function ly(t,e){var o=Qh({},Py,t,e);if(t=Qh(null,jy,t,e))return(e=new cl(null)).ba("XYZ",t),e.H(o),e}function uy(t,e){var o=Qh({},Py,t,e);if(t=Qh(null,jy,t,e))return(e=new Sr(null)).ba("XYZ",t,[t.length]),e.H(o),e}function cy(t,e){if(!(t=Qh([],Fy,t,e)))return null;if(!t.length)return new Ql(t);var o,i=!0,r=t[0].U(),n=1;for(o=t.length;n<o;++n)if((e=t[n]).U()!=r){i=!1;break}if(i)if("Point"==r){var p=t[0];for(i=p.ja,r=p.ga(),n=1,o=t.length;n<o;++n)c(r,(e=t[n]).ga());(p=new vl(null)).ba(i,r),dy(p,t)}else"LineString"==r?(dl(p=new fl(null),t),dy(p,t)):"Polygon"==r?(Sl(p=new bl(null),t),dy(p,t)):"GeometryCollection"==r?p=new Ql(t):R(!1,37);else p=new Ql(t);return p}function yy(t,e){var o=Qh({},Py,t,e);if(t=Qh(null,jy,t,e))return(e=new lr(null)).ba("XYZ",t),e.H(o),e}function fy(t,e){var o=Qh({},Py,t,e);if((t=Qh([null],Ey,t,e))&&t[0]){e=new Sr(null);var i,r=t[0],n=[r.length],p=1;for(i=t.length;p<i;++p)c(r,t[p]),n.push(r.length);return e.ba("XYZ",r,n),e.H(o),e}}function gy(t,e){if(!(e=Qh({},Wy,t,e)))return null;t="fillStyle"in e?e.fillStyle:Rc;var o=e.fill;void 0===o||o||(t=null),(o="imageStyle"in e?e.imageStyle:Uc)==Gc&&(o=void 0);var i="textStyle"in e?e.textStyle:Vc,r="strokeStyle"in e?e.strokeStyle:Bc;return void 0===(e=e.outline)||e||(r=null),[new jh({fill:t,image:o,stroke:r,text:i,zIndex:void 0})]}function dy(t,e){var o,i,r=e.length,n=Array(e.length),p=Array(e.length),s=i=!1;for(o=0;o<r;++o){var a=e[o];n[o]=a.get("extrude"),p[o]=a.get("altitudeMode"),s=s||void 0!==n[o],i=i||p[o]}s&&t.set("extrude",n),i&&t.set("altitudeMode",p)}function vy(t,e){$h(wy,t,e)}function by(t,e){$h(xy,t,e)}var my=_h(ty,{displayName:Kh(wu),value:Kh(wu)}),wy=_h(ty,{Data:function(t,e){var o=t.getAttribute("name");$h(my,t,e),t=e[e.length-1],null!==o?t[o]=t.value:null!==t.displayName&&(t[t.displayName]=t.value)},SchemaData:function(t,e){$h(Vy,t,e)}}),xy=_h(ty,{LatLonAltBox:function(t,e){(t=Qh({},Sy,t,e))&&((e=e[e.length-1]).extent=[parseFloat(t.west),parseFloat(t.south),parseFloat(t.east),parseFloat(t.north)],e.altitudeMode=t.altitudeMode,e.minAltitude=parseFloat(t.minAltitude),e.maxAltitude=parseFloat(t.maxAltitude))},Lod:function(t,e){(t=Qh({},My,t,e))&&((e=e[e.length-1]).minLodPixels=parseFloat(t.minLodPixels),e.maxLodPixels=parseFloat(t.maxLodPixels),e.minFadeExtent=parseFloat(t.minFadeExtent),e.maxFadeExtent=parseFloat(t.maxFadeExtent))}}),Sy=_h(ty,{altitudeMode:Kh(wu),minAltitude:Kh(du),maxAltitude:Kh(du),north:Kh(du),south:Kh(du),east:Kh(du),west:Kh(du)}),My=_h(ty,{minLodPixels:Kh(du),maxLodPixels:Kh(du),minFadeExtent:Kh(du),maxFadeExtent:Kh(du)}),Py=_h(ty,{extrude:Kh(yu),altitudeMode:Kh(wu)}),Ay=_h(ty,{coordinates:Wh(ny)}),Ey=_h(ty,{innerBoundaryIs:function(t,e){(t=Qh(void 0,Ry,t,e))&&e[e.length-1].push(t)},outerBoundaryIs:function(t,e){(t=Qh(void 0,Uy,t,e))&&(e[e.length-1][0]=t)}}),Ty=_h(ty,{when:function(t,e){e=e[e.length-1].Ej,t=Oh(t,!1),t=Date.parse(t),e.push(isNaN(t)?0:t)}},_h(Qc,{coord:function(t,e){e=e[e.length-1].A,t=Oh(t,!1),(t=/^\s*([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s+([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s+([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s*$/i.exec(t))?e.push(parseFloat(t[1]),parseFloat(t[2]),parseFloat(t[3]),0):e.push(0,0,0,0)}})),jy=_h(ty,{coordinates:Wh(ny)}),Cy=_h(ty,{href:Kh(py)},_h(Qc,{x:Kh(du),y:Kh(du),w:Kh(du),h:Kh(du)})),Ly=_h(ty,{Icon:Kh(function(t,e){return(t=Qh({},Cy,t,e))?t:null}),heading:Kh(du),hotSpot:Kh(function(t){var e=t.getAttribute("xunits"),o=t.getAttribute("yunits"),i="insetPixels"!==e?"insetPixels"!==o?"bottom-left":"top-left":"insetPixels"!==o?"bottom-right":"top-right";return{x:parseFloat(t.getAttribute("x")),Xg:ey[e],y:parseFloat(t.getAttribute("y")),Yg:ey[o],origin:i}}),scale:Kh(sy)}),Ry=_h(ty,{LinearRing:Wh(ay)}),Iy=_h(ty,{color:Kh(ry),scale:Kh(sy)}),Ny=_h(ty,{color:Kh(ry),width:Kh(du)}),Fy=_h(ty,{LineString:Vh(ly),LinearRing:Vh(uy),MultiGeometry:Vh(cy),Point:Vh(yy),Polygon:Vh(fy)}),ky=_h(Qc,{Track:Vh(hy)}),Dy=_h(ty,{ExtendedData:vy,Region:by,Link:function(t,e){$h(Oy,t,e)},address:Kh(wu),description:Kh(wu),name:Kh(wu),open:Kh(yu),phoneNumber:Kh(wu),visibility:Kh(yu)}),Oy=_h(ty,{href:Kh(py)}),Uy=_h(ty,{LinearRing:Wh(ay)}),Gy=_h(ty,{Style:Kh(gy),key:Kh(wu),styleUrl:Kh(py)}),By=_h(ty,{ExtendedData:vy,Region:by,MultiGeometry:Kh(cy,"geometry"),LineString:Kh(ly,"geometry"),LinearRing:Kh(uy,"geometry"),Point:Kh(yy,"geometry"),Polygon:Kh(fy,"geometry"),Style:Kh(gy),StyleMap:function(t,e){(t=Qh(void 0,Zy,t,e))&&(e=e[e.length-1],Array.isArray(t)?e.Style=t:"string"==typeof t?e.styleUrl=t:R(!1,38))},address:Kh(wu),description:Kh(wu),name:Kh(wu),open:Kh(yu),phoneNumber:Kh(wu),styleUrl:Kh(py),visibility:Kh(yu)},_h(Qc,{MultiTrack:Kh(function(t,e){if(t=Qh([],ky,t,e))return dl(e=new fl(null),t),e},"geometry"),Track:Kh(hy,"geometry")})),Xy=_h(ty,{color:Kh(ry),fill:Kh(yu),outline:Kh(yu)}),Vy=_h(ty,{SimpleData:function(t,e){var o=t.getAttribute("name");null!==o&&(t=wu(t),e[e.length-1][o]=t)}}),Wy=_h(ty,{IconStyle:function(t,e){if(t=Qh({},Ly,t,e)){e=e[e.length-1];var o,i="Icon"in t?t.Icon:{},r=!("Icon"in t)||0<Object.keys(i).length;(n=i.href)?o=n:r&&(o=Dc);var n="bottom-left";if(l=t.hotSpot){var p=[l.x,l.y],s=l.Xg,a=l.Yg;n=l.origin}else o===Dc?(p=Ic,s=Nc,a=Fc):/^http:\/\/maps\.(?:google|gstatic)\.com\//.test(o)&&(p=[.5,0],a=s="fraction");var h,l=i.x,u=i.y;void 0!==l&&void 0!==u&&(h=[l,u]);var c,y;l=i.w,i=i.h;void 0!==l&&void 0!==i&&(c=[l,i]),void 0!==(i=t.heading)&&(y=S(i)),t=t.scale,r?(o==Dc&&(c=kc,void 0===t&&(t=Oc)),o=new Jc({anchor:p,anchorOrigin:n,anchorXUnits:s,anchorYUnits:a,crossOrigin:"anonymous",offset:h,offsetOrigin:"bottom-left",rotation:y,scale:t,size:c,src:o}),e.imageStyle=o):e.imageStyle=Gc}},LabelStyle:function(t,e){(t=Qh({},Iy,t,e))&&(e[e.length-1].textStyle=new _c({fill:new Th({color:"color"in t?t.color:Lc}),scale:t.scale}))},LineStyle:function(t,e){(t=Qh({},Ny,t,e))&&(e[e.length-1].strokeStyle=new Gs({color:"color"in t?t.color:Lc,width:"width"in t?t.width:1}))},PolyStyle:function(t,e){if(t=Qh({},Xy,t,e)){(e=e[e.length-1]).fillStyle=new Th({color:"color"in t?t.color:Lc});var o=t.fill;void 0!==o&&(e.fill=o),void 0!==(t=t.outline)&&(e.outline=t)}}}),Zy=_h(ty,{Pair:function(t,e){if(t=Qh({},Gy,t,e)){var o=t.key;o&&"normal"==o&&((o=t.styleUrl)&&(e[e.length-1]=o),(t=t.Style)&&(e[e.length-1]=t))}}});function Ky(t,e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType==Node.ELEMENT_NODE){var o=zy(t,e);if(o)return o}}function zy(t,e){var o;for(o=e.firstElementChild;o;o=o.nextElementSibling)if(d(ty,o.namespaceURI)&&"name"==o.localName)return wu(o);for(o=e.firstElementChild;o;o=o.nextElementSibling)if(e=o.localName,d(ty,o.namespaceURI)&&("Document"==e||"Folder"==e||"Placemark"==e||"kml"==e)&&(e=zy(t,o)))return e}function Yy(t,e){var o=[];for(e=e.firstChild;e;e=e.nextSibling)e.nodeType==Node.ELEMENT_NODE&&c(o,Hy(t,e));return o}function Hy(t,e){var o,i=[];for(o=e.firstElementChild;o;o=o.nextElementSibling)if(d(ty,o.namespaceURI)&&"NetworkLink"==o.localName){var r=Qh({},Dy,o,[]);i.push(r)}for(o=e.firstElementChild;o;o=o.nextElementSibling)e=o.localName,!d(ty,o.namespaceURI)||"Document"!=e&&"Folder"!=e&&"kml"!=e||c(i,Hy(t,o));return i}function qy(t,e){var o=[];for(e=e.firstChild;e;e=e.nextSibling)e.nodeType==Node.ELEMENT_NODE&&c(o,t.lf(e));return o}function Jy(t,e){var o;for(e=[255*(4==(e=We(e)).length?e[3]:1),e[2],e[1],e[0]],o=0;o<4;++o){var i=parseInt(e[o],10).toString(16);e[o]=1==i.length?"0"+i:i}Pu(t,e.join(""))}function _y(t,e,o){t={node:t};var i=e.U();if("GeometryCollection"==i)var r=e.Vf(),n=jf;else"MultiPoint"==i?(r=e.Zd(),n=Df):"MultiLineString"==i?(r=e.gd(),n=Of):"MultiPolygon"==i?(r=e.Td(),n=Gf):R(!1,39);el(t,bf,n,r,o)}function $y(t,e,o){el({node:t},vf,Uf,[e],o)}function Qy(t,e,o){var i={node:t};e.a&&t.setAttribute("id",e.a),t=e.N();var r={address:1,description:1,name:1,open:1,phoneNumber:1,styleUrl:1,visibility:1};r[e.c]=1;var n=Object.keys(t||{}).sort().filter(function(t){return!r[t]});if(0<n.length){var p=Jh(t,n);el(i,wf,Ff,[{names:n,values:p}],o)}(n=e.Lc())&&(n=n.call(e,0))&&(n=Array.isArray(n)?n[0]:n,this.j&&(t.Style=n),(n=n.Na())&&(t.name=n.Na())),t=Jh(t,n=mf[o[o.length-1].node.namespaceURI]),el(i,wf,qh,t,o,n),t=o[0],(e=e.V())&&(e=sl(e,!0,t)),el(i,wf,jf,[e],o)}function tf(t,e,o){var i=e.ga();(t={node:t}).layout=e.ja,t.stride=e.qa(),el(t,xf,If,[i],o)}function ef(t,e,o){var i=(e=e.Sd()).shift();el(t={node:t},Sf,kf,e,o),el(t,Sf,Bf,[i],o)}function of(t,e){Su(t,Math.round(1e6*e)/1e6)}(t=$c.prototype).vg=function(t,e){if(t=Qh([],_h(ty,{Document:Xh(this.vg,this),Folder:Xh(this.vg,this),Placemark:Vh(this.Dg,this),Style:this.Jp.bind(this),StyleMap:this.Ip.bind(this)}),t,e,this))return t},t.Dg=function(t,e){var o=Qh({geometry:null},By,t,e);if(o){var i=new Fh;return null!==(t=t.getAttribute("id"))&&i.jc(t),e=e[0],(t=o.geometry)&&sl(t,!1,e),i.Ra(t),delete o.geometry,this.c&&i.hg(iy(o.Style,o.styleUrl,this.a,this.b,this.g)),delete o.Style,i.H(o),i}},t.Jp=function(t,e){var o=t.getAttribute("id");null!==o&&(e=gy(t,e))&&(t=t.baseURI&&"about:blank"!==t.baseURI?new URL("#"+o,t.baseURI).href:"#"+o,this.b[t]=e)},t.Ip=function(t,e){var o=t.getAttribute("id");null!==o&&(e=Qh(void 0,Zy,t,e))&&(t=t.baseURI&&"about:blank"!==t.baseURI?new URL("#"+o,t.baseURI).href:"#"+o,this.b[t]=e)},t.xg=function(t,e){return d(ty,t.namespaceURI)&&(t=this.Dg(t,[nl(this,t,e)]))?t:null},t.zc=function(t,e){if(!d(ty,t.namespaceURI))return[];var o=t.localName;if("Document"==o||"Folder"==o)return(o=this.vg(t,[nl(this,t,e)]))?o:[];if("Placemark"==o)return(e=this.Dg(t,[nl(this,t,e)]))?[e]:[];if("kml"!=o)return[];for(o=[],t=t.firstElementChild;t;t=t.nextElementSibling){var i=this.zc(t,e);i&&c(o,i)}return o},t.Cp=function(t){return Uh(t)?Ky(this,t):Gh(t)?zy(this,t):"string"==typeof t?Ky(this,t=Bh(t)):void 0},t.Dp=function(t){var e=[];return Uh(t)?c(e,Yy(this,t)):Gh(t)?c(e,Hy(this,t)):"string"==typeof t&&c(e,Yy(this,t=Bh(t))),e},t.Gp=function(t){var e=[];return Uh(t)?c(e,qy(this,t)):Gh(t)?c(e,this.lf(t)):"string"==typeof t&&c(e,qy(this,t=Bh(t))),e},t.lf=function(t){var e,o=[];for(e=t.firstElementChild;e;e=e.nextElementSibling)if(d(ty,e.namespaceURI)&&"Region"==e.localName){var i=Qh({},xy,e,[]);o.push(i)}for(e=t.firstElementChild;e;e=e.nextElementSibling)t=e.localName,!d(ty,e.namespaceURI)||"Document"!=t&&"Folder"!=t&&"kml"!=t||c(o,this.lf(e));return o};var rf=_h(ty,["Document","Placemark"]),nf=_h(ty,{Document:zh(function(t,e,o){el({node:t},pf,Tf,e,o,void 0,this)}),Placemark:zh(Qy)}),pf=_h(ty,{Placemark:zh(Qy)}),sf=_h(ty,{Data:zh(function(t,e,o){t.setAttribute("name",e.name),t={node:t},"object"==typeof(e=e.value)?(null!==e&&e.displayName&&el(t,sf,qh,[e.displayName],o,["displayName"]),null!==e&&e.value&&el(t,sf,qh,[e.value],o,["value"])):el(t,sf,qh,[e],o,["value"])}),value:zh(function(t,e){Pu(t,e)}),displayName:zh(function(t,e){t.appendChild(kh.createCDATASection(e))})}),af={Point:"Point",LineString:"LineString",LinearRing:"LinearRing",Polygon:"Polygon",MultiPoint:"MultiGeometry",MultiLineString:"MultiGeometry",MultiPolygon:"MultiGeometry",GeometryCollection:"MultiGeometry"},hf=_h(ty,["href"],_h(Qc,["x","y","w","h"])),lf=_h(ty,{href:zh(Pu)},_h(Qc,{x:zh(Su),y:zh(Su),w:zh(Su),h:zh(Su)})),uf=_h(ty,["scale","heading","Icon","hotSpot"]),cf=_h(ty,{Icon:zh(function(t,e,o){t={node:t};var i=hf[o[o.length-1].node.namespaceURI],r=Jh(e,i);el(t,lf,qh,r,o,i),r=Jh(e,i=hf[Qc[0]]),el(t,lf,Ef,r,o,i)}),heading:zh(Su),hotSpot:zh(function(t,e){t.setAttribute("x",e.x),t.setAttribute("y",e.y),t.setAttribute("xunits",e.Xg),t.setAttribute("yunits",e.Yg)}),scale:zh(of)}),yf=_h(ty,["color","scale"]),ff=_h(ty,{color:zh(Jy),scale:zh(of)}),gf=_h(ty,["color","width"]),df=_h(ty,{color:zh(Jy),width:zh(Su)}),vf=_h(ty,{LinearRing:zh(tf)}),bf=_h(ty,{LineString:zh(tf),Point:zh(tf),Polygon:zh(ef),GeometryCollection:zh(_y)}),mf=_h(ty,"name open visibility address phoneNumber description styleUrl Style".split(" ")),wf=_h(ty,{ExtendedData:zh(function(t,e,o){t={node:t};var i=e.names;e=e.values;for(var r=i.length,n=0;n<r;n++)el(t,sf,Nf,[{name:i[n],value:e[n]}],o)}),MultiGeometry:zh(_y),LineString:zh(tf),LinearRing:zh(tf),Point:zh(tf),Polygon:zh(ef),Style:zh(function(t,e,o){t={node:t};var i={},r=e.Fa(),n=e.Ga(),p=e.Y();e=e.Na(),p instanceof Jc&&(i.IconStyle=p),e&&(i.LabelStyle=e),n&&(i.LineStyle=n),r&&(i.PolyStyle=r),i=Jh(i,e=Pf[o[o.length-1].node.namespaceURI]),el(t,Af,qh,i,o,e)}),address:zh(Pu),description:zh(Pu),name:zh(Pu),open:zh(xu),phoneNumber:zh(Pu),styleUrl:zh(Pu),visibility:zh(xu)}),xf=_h(ty,{coordinates:zh(function(t,e,o){var i,r=(o=o[o.length-1]).layout;o=o.stride,"XY"==r||"XYM"==r?i=2:"XYZ"==r||"XYZM"==r?i=3:R(!1,34);var n,p=e.length,s="";if(0<p){for(s+=e[0],r=1;r<i;++r)s+=","+e[r];for(n=o;n<p;n+=o)for(s+=" "+e[n],r=1;r<i;++r)s+=","+e[n+r]}Pu(t,s)})}),Sf=_h(ty,{outerBoundaryIs:zh($y),innerBoundaryIs:zh($y)}),Mf=_h(ty,{color:zh(Jy)}),Pf=_h(ty,["IconStyle","LabelStyle","LineStyle","PolyStyle"]),Af=_h(ty,{IconStyle:zh(function(t,e,o){t={node:t};var i={},r=e.ic(),n=e.ye(),p={href:e.b.o};if(r){p.w=r[0],p.h=r[1];var s=e.Hc(),a=e.Oc();a&&n&&a[0]&&a[1]!==r[1]&&(p.x=a[0],p.y=n[1]-(a[1]+r[1])),s&&s[0]&&s[1]!==r[1]&&(i.hotSpot={x:s[0],Xg:"pixels",y:r[1]-s[1],Yg:"pixels"})}i.Icon=p,1!==(r=e.a)&&(i.scale=r),(e=e.g)&&(i.heading=e),i=Jh(i,e=uf[o[o.length-1].node.namespaceURI]),el(t,cf,qh,i,o,e)}),LabelStyle:zh(function(t,e,o){t={node:t};var i={},r=e.Fa();r&&(i.color=r.b),(e=e.b)&&1!==e&&(i.scale=e),i=Jh(i,e=yf[o[o.length-1].node.namespaceURI]),el(t,ff,qh,i,o,e)}),LineStyle:zh(function(t,e,o){t={node:t};var i=gf[o[o.length-1].node.namespaceURI];e=Jh({color:e.a,width:e.c},i),el(t,df,qh,e,o,i)}),PolyStyle:zh(function(t,e,o){el({node:t},Mf,Rf,[e.b],o)})});function Ef(t,e,o){return Dh(Qc[0],"gx:"+o)}function Tf(t,e){return Dh(e[e.length-1].node.namespaceURI,"Placemark")}function jf(t,e){if(t)return Dh(e[e.length-1].node.namespaceURI,af[t.U()])}var Cf,Lf,Rf=Hh("color"),If=Hh("coordinates"),Nf=Hh("Data"),Ff=Hh("ExtendedData"),kf=Hh("innerBoundaryIs"),Df=Hh("Point"),Of=Hh("LineString"),Uf=Hh("LinearRing"),Gf=Hh("Polygon"),Bf=Hh("outerBoundaryIs");function Xf(t){this.lc=ArrayBuffer.isView&&ArrayBuffer.isView(t)?t:new Uint8Array(t||0),this.type=this.ea=0,this.length=this.lc.length}function Vf(t,e,o){return o?4294967296*e+(t>>>0):4294967296*(e>>>0)+(t>>>0)}function Wf(t,e,o,i,r){this.g=r,this.i=t,this.b=e,this.f=o,this.c=i}function Zf(t){rl.call(this),t=t||{},this.defaultDataProjection=new wt({code:"",units:"tile-pixels"}),this.b=t.featureClass?t.featureClass:Wf,this.a=t.geometryName,this.i=t.layerName?t.layerName:"layer",this.c=t.layers?t.layers:null}function Kf(t,e,o){for(var i=0,r=0,n=t.length;r<n;++r){var p,s=t[r],a=0;for(p=s.length;a<p;++a){var h=s[a];e.push(h.x,h.y)}i+=2*a,o.push(i)}}function zf(){au.call(this),this.defaultDataProjection=Wt("EPSG:4326")}function Yf(t,e){e[e.length-1].fe[t.getAttribute("k")]=t.getAttribute("v")}$c.prototype.Xb=function(t,e){e=pl(this,e);var o=Dh(ty[4],"kml");o.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:gx",Qc[0]),o.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xsi","http://www.w3.org/2001/XMLSchema-instance"),o.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation","http://www.opengis.net/kml/2.2 https://developers.google.com/kml/schema/kml22gx.xsd");var i={node:o},r={};return 1<t.length?r.Document=t:1==t.length&&(r.Placemark=t[0]),r=Jh(r,t=rf[o.namespaceURI]),el(i,nf,qh,r,[e],t,this),o},Js.Dd=function(){},Cf=Js.Dd=Js.Dd||{},Lf=function(t,e,o,i,r){var n=8*r-i-1,p=(1<<n)-1,s=p>>1,a=-7,h=o?-1:1,l=t[e+(r=o?r-1:0)];for(r+=h,o=l&(1<<-a)-1,l>>=-a,a+=n;0<a;o=256*o+t[e+r],r+=h,a-=8);for(n=o&(1<<-a)-1,o>>=-a,a+=i;0<a;n=256*n+t[e+r],r+=h,a-=8);if(0===o)o=1-s;else{if(o===p)return n?NaN:1/0*(l?-1:1);n+=Math.pow(2,i),o-=s}return(l?-1:1)*n*Math.pow(2,o-i)},Xf.c=0,Xf.i=1,Xf.b=2,Xf.a=5,Xf.prototype={Ag:function(t,e,o){for(o=o||this.length;this.ea<o;){var i=this.Ka(),r=i>>3,n=this.ea;this.type=7&i,t(r,e,this),this.ea===n&&this.mq(i)}return e},yp:function(){var t=Lf(this.lc,this.ea,!0,23,4);return this.ea+=4,t},up:function(){var t=Lf(this.lc,this.ea,!0,52,8);return this.ea+=8,t},Ka:function(t){var e=this.lc,o=e[this.ea++],i=127&o;return o<128?i:(i|=(127&(o=e[this.ea++]))<<7,o<128?i:(i|=(127&(o=e[this.ea++]))<<14,o<128?i:(i|=(127&(o=e[this.ea++]))<<21,o<128?i:function(t,e,o){var i=o.lc,r=i[o.ea++],n=(112&r)>>4;if(r<128)return Vf(t,n,e);if(n|=(127&(r=i[o.ea++]))<<3,r<128)return Vf(t,n,e);if(n|=(127&(r=i[o.ea++]))<<10,r<128)return Vf(t,n,e);if(n|=(127&(r=i[o.ea++]))<<17,r<128)return Vf(t,n,e);if(n|=(127&(r=i[o.ea++]))<<24,r<128)return Vf(t,n,e);if((r=i[o.ea++])<128)return Vf(t,n|(1&r)<<31,e);throw Error("Expected varint not more than 10 bytes")}(i|(15&(o=e[this.ea]))<<28,t,this))))},Kp:function(){return this.Ka(!0)},ce:function(){var t=this.Ka();return 1==t%2?(t+1)/-2:t/2},sp:function(){return!!this.Ka()},Gg:function(){for(var t=this.Ka()+this.ea,e=this.lc,o="",i=this.ea;i<t;){var r=e[i],n=null,p=239<r?4:223<r?3:191<r?2:1;if(t<i+p)break;if(1===p)r<128&&(n=r);else if(2===p){var s=e[i+1];128==(192&s)&&((n=(31&r)<<6|63&s)<=127&&(n=null))}else if(3===p){s=e[i+1];var a=e[i+2];128==(192&s)&&128==(192&a)&&((n=(15&r)<<12|(63&s)<<6|63&a)<=2047||55296<=n&&n<=57343)&&(n=null)}else if(4===p){s=e[i+1],a=e[i+2];var h=e[i+3];128==(192&s)&&128==(192&a)&&128==(192&h)&&((n=(15&r)<<18|(63&s)<<12|(63&a)<<6|63&h)<=65535||1114112<=n)&&(n=null)}null===n?(n=65533,p=1):65535<n&&(n-=65536,o+=String.fromCharCode(n>>>10&1023|55296),n=56320|1023&n),o+=String.fromCharCode(n),i+=p}return this.ea=t,o},mq:function(t){if((t&=7)===Xf.c)for(;127<this.lc[this.ea++];);else if(t===Xf.b)this.ea=this.Ka()+this.ea;else if(t===Xf.a)this.ea+=4;else{if(t!==Xf.i)throw Error("Unimplemented type: "+t);this.ea+=8}}},Cf.default=Xf,Js.Dd=Js.Dd.default,Js.xf={},Js.xf.Bf=function(){},function(t){function e(t,e){this.layers=t.Ag(p,{},e)}function a(t,e){this.x=t,this.y=e}function o(t,e,o,i,r){this.properties={},this.extent=o,this.type=0,this.Cc=t,this.Ef=-1,this.ne=i,this.pe=r,t.Ag(n,this,e)}function n(t,e,o){if(1==t)e.id=o.Ka();else if(2==t)for(t=o.Ka()+o.ea;o.ea<t;){var i=e.ne[o.Ka()],r=e.pe[o.Ka()];e.properties[i]=r}else 3==t?e.type=o.Ka():4==t&&(e.Ef=o.ea)}function i(t,e){this.version=1,this.name=null,this.extent=4096,this.length=0,this.Cc=t,this.ne=[],this.pe=[],this.me=[],t.Ag(r,this,e),this.length=this.me.length}function r(t,e,o){15===t?e.version=o.Ka():1===t?e.name=o.Gg():5===t?e.extent=o.Ka():2===t?e.me.push(o.ea):3===t?e.ne.push(o.Gg()):4===t&&e.pe.push(function(t){for(var e=null,o=t.Ka()+t.ea;t.ea<o;)e=1==(e=t.Ka()>>3)?t.Gg():2===e?t.yp():3===e?t.up():4===e?t.Kp():5===e?t.Ka():6===e?t.ce():7===e?t.sp():null;return e}(o))}function p(t,e,o){3===t&&((t=new s(o,o.Ka()+o.ea)).length&&(e[t.name]=t))}a.prototype={clone:function(){return new a(this.x,this.y)},add:function(t){return this.clone().Yj(t)},rotate:function(t){return this.clone().hk(t)},round:function(){return this.clone().ik()},angle:function(){return Math.atan2(this.y,this.x)},Yj:function(t){return this.x+=t.x,this.y+=t.y,this},hk:function(t){var e=Math.cos(t),o=(t=Math.sin(t))*this.x+e*this.y;return this.x=e*this.x-t*this.y,this.y=o,this},ik:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},a.Kq=function(t){return t instanceof a?t:Array.isArray(t)?new a(t[0],t[1]):t},o.b=["Unknown","Point","LineString","Polygon"],o.prototype.Oh=function(){var t=this.Cc;t.ea=this.Ef;for(var e,o=t.Ka()+t.ea,i=1,r=0,n=0,p=0,s=[];t.ea<o;)if(r||(i=7&(r=t.Ka()),r>>=3),r--,1===i||2===i)n+=t.ce(),p+=t.ce(),1===i&&(e&&s.push(e),e=[]),e.push(new a(n,p));else{if(7!==i)throw Error("unknown command "+i);e&&e.push(e[0].clone())}return e&&s.push(e),s},o.prototype.bbox=function(){var t=this.Cc;t.ea=this.Ef;for(var e=t.Ka()+t.ea,o=1,i=0,r=0,n=0,p=1/0,s=-1/0,a=1/0,h=-1/0;t.ea<e;)if(i||(o=7&(i=t.Ka()),i>>=3),i--,1===o||2===o)(r+=t.ce())<p&&(p=r),s<r&&(s=r),(n+=t.ce())<a&&(a=n),h<n&&(h=n);else if(7!==o)throw Error("unknown command "+o);return[p,a,s,h]};var s=i;i.prototype.feature=function(t){if(t<0||t>=this.me.length)throw Error("feature index out of bounds");return this.Cc.ea=this.me[t],t=this.Cc.Ka()+this.Cc.ea,new o(this.Cc,t,this.extent,this.ne,this.pe)};var h=s;t.default={Bf:e,Wj:o,Xj:h},t.Bf=e,t.Wj=o,t.Xj=h}(Js.xf=Js.xf||{}),(t=Wf.prototype).get=function(t){return this.c[t]},t.Bb=function(){return this.f},t.G=function(){return this.a||(this.a="Point"===this.i?K(this.b):z(this.b,0,this.b.length,2)),this.a},t.Wn=function(){return this.g},t.ec=function(){return this.b},t.ga=Wf.prototype.ec,t.V=function(){return this},t.Xn=function(){return this.c},t.Vd=Wf.prototype.V,t.qa=function(){return 2},t.Lc=m,t.U=function(){return this.i},s(Zf,rl),(t=Zf.prototype).U=function(){return"arraybuffer"},t.Oa=function(t,e){var o=this.c;t=new Js.Dd(t),t=new Js.xf.Bf(t);var i,r=[],n=this.b;for(i in t.layers)if(!o||-1!=o.indexOf(i))for(var p=t.layers[i],s=0,a=p.length;s<a;++s){if(n===Wf){var h=void 0,l=p.feature(s),u=i,c=l.Oh(),y=[],f=[];Kf(c,f,y),1===(g=l.type)?h=1===c.length?"Point":"MultiPoint":2===g?h=1===c.length?"LineString":"MultiLineString":3===g&&(h="Polygon"),(c=l.properties)[this.i]=u,h=new this.b(h,f,y,c,l.id)}else{if(g=p.feature(s),f=i,y=e,h=new this.b,l=g.id,(u=g.properties)[this.i]=f,this.a&&h.Tc(this.a),f=void 0,0===(c=g.type))f=null;else{var g,d=[],v=[];Kf(g=g.Oh(),v,d),1===c?f=1===g.length?new lr(null):new vl(null):2===c?f=1===g.length?new cl(null):new fl(null):3===c&&(f=new Sr(null)),f.ba("XY",v,d)}y=sl(f,!1,pl(this,y)),h.Ra(y),h.jc(l),h.H(u)}r.push(h)}return r},t.kb=function(){return this.defaultDataProjection},t.mn=function(t){this.c=t},t.Tb=function(){},t.Sc=function(){},t.Bd=function(){},t.$c=function(){},t.Wb=function(){},s(zf,au);var Hf=[null],qf=_h(Hf,{nd:function(t,e){e[e.length-1].md.push(t.getAttribute("ref"))},tag:Yf}),Jf=_h(Hf,{node:function(t,e){var o=e[0],i=e[e.length-1],r=t.getAttribute("id"),n=[parseFloat(t.getAttribute("lon")),parseFloat(t.getAttribute("lat"))];i.Sh[r]=n,gt((t=Qh({fe:{}},_f,t,e)).fe)||(sl(n=new lr(n),!1,o),(o=new Fh(n)).jc(r),o.H(t.fe),i.features.push(o))},way:function(t,e){var o=e[0],i=t.getAttribute("id");t=Qh({md:[],fe:{}},qf,t,e),e=e[e.length-1];for(var r=[],n=0,p=t.md.length;n<p;n++)c(r,e.Sh[t.md[n]]);t.md[0]==t.md[t.md.length-1]?(n=new Sr(null)).ba("XY",r,[r.length]):(n=new cl(null)).ba("XY",r),sl(n,!1,o),(o=new Fh(n)).jc(i),o.H(t.fe),e.features.push(o)}}),_f=_h(Hf,{tag:Yf});function $f(t){return t.getAttributeNS("http://www.w3.org/1999/xlink","href")}function Qf(){}function tg(){}zf.prototype.zc=function(t,e){return e=nl(this,t,e),"osm"==t.localName&&(t=Qh({Sh:{},features:[]},Jf,t,[e])).features?t.features:[]},zf.prototype.Vg=function(){},zf.prototype.Xb=function(){},zf.prototype.ie=function(){},Qf.prototype.read=function(t){return Uh(t)?this.a(t):Gh(t)?this.b(t):"string"==typeof t?(t=Bh(t),this.a(t)):null},s(tg,Qf),tg.prototype.a=function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType==Node.ELEMENT_NODE)return this.b(t);return null},tg.prototype.b=function(t){return(t=Qh({},og,t,[]))?t:null};var eg=[null,"http://www.opengis.net/ows/1.1"],og=_h(eg,{ServiceIdentification:Kh(function(t,e){return Qh({},fg,t,e)}),ServiceProvider:Kh(function(t,e){return Qh({},gg,t,e)}),OperationsMetadata:Kh(function(t,e){return Qh({},lg,t,e)})}),ig=_h(eg,{DeliveryPoint:Kh(wu),City:Kh(wu),AdministrativeArea:Kh(wu),PostalCode:Kh(wu),Country:Kh(wu),ElectronicMailAddress:Kh(wu)}),rg=_h(eg,{Value:Zh(function(t){return wu(t)})}),ng=_h(eg,{AllowedValues:Kh(function(t,e){return Qh({},rg,t,e)})}),pg=_h(eg,{Phone:Kh(function(t,e){return Qh({},ug,t,e)}),Address:Kh(function(t,e){return Qh({},ig,t,e)})}),sg=_h(eg,{HTTP:Kh(function(t,e){return Qh({},ag,t,e)})}),ag=_h(eg,{Get:Zh(function(t,e){var o=$f(t);if(o)return Qh({href:o},cg,t,e)}),Post:void 0}),hg=_h(eg,{DCP:Kh(function(t,e){return Qh({},sg,t,e)})}),lg=_h(eg,{Operation:function(t,e){var o=t.getAttribute("name");(t=Qh({},hg,t,e))&&(e[e.length-1][o]=t)}}),ug=_h(eg,{Voice:Kh(wu),Facsimile:Kh(wu)}),cg=_h(eg,{Constraint:Zh(function(t,e){var o=t.getAttribute("name");if(o)return Qh({name:o},ng,t,e)})}),yg=_h(eg,{IndividualName:Kh(wu),PositionName:Kh(wu),ContactInfo:Kh(function(t,e){return Qh({},pg,t,e)})}),fg=_h(eg,{Title:Kh(wu),ServiceTypeVersion:Kh(wu),ServiceType:Kh(wu)}),gg=_h(eg,{ProviderName:Kh(wu),ProviderSite:Kh($f),ServiceContact:Kh(function(t,e){return Qh({},yg,t,e)})});function dg(t,e,o,i){var r;r=void 0!==i?i:[];for(var n=i=0;n<e;){var p=t[n++];for(r[i++]=t[n++],r[i++]=p,p=2;p<o;++p)r[i++]=t[n++]}r.length=i}function vg(t){t=t||{},rl.call(this),this.defaultDataProjection=Wt("EPSG:4326"),this.b=t.factor?t.factor:1e5,this.a=t.geometryLayout?t.geometryLayout:"XY"}function bg(t,e,o){var i,r,n=Array(e);for(i=0;i<e;++i)n[i]=0;var p=0;for(r=t.length;p<r;)for(i=0;i<e;++i,++p){var s=t[p],a=s-n[i];n[i]=s,t[p]=a}return wg(t,o||1e5)}function mg(t,e,o){var i,r,n=Array(e);for(i=0;i<e;++i)n[i]=0;for(t=xg(t,o||1e5),o=0,r=t.length;o<r;)for(i=0;i<e;++i,++o)n[i]+=t[o],t[o]=n[i];return t}function wg(t,e){var o;e=e||1e5;var i=0;for(o=t.length;i<o;++i)t[i]=Math.round(t[i]*e);for(e=0,i=t.length;e<i;++e)o=t[e],t[e]=o<0?~(o<<1):o<<1;for(e="",i=0,o=t.length;i<o;++i){for(var r,n=t[i],p="";32<=n;)r=63+(32|31&n),p+=String.fromCharCode(r),n>>=5;e+=p+=String.fromCharCode(n+63)}return e}function xg(t,e){e=e||1e5;var o,i=[],r=0,n=0,p=0;for(o=t.length;p<o;++p){var s=t.charCodeAt(p)-63;r=r|(31&s)<<n;s<32?(i.push(r),n=r=0):n+=5}for(t=0,r=i.length;t<r;++t)n=i[t],i[t]=1&n?~(n>>1):n>>1;for(t=0,r=i.length;t<r;++t)i[t]/=e;return i}function Sg(t){t=t||{},rl.call(this),this.a=t.layerName,this.b=t.layers?t.layers:null,this.defaultDataProjection=Wt(t.defaultDataProjection?t.defaultDataProjection:"EPSG:4326")}function Mg(t,e){var o,i,r=[],n=0;for(i=t.length;n<i;++n){var p=t[n];0<n&&r.pop(),o=0<=p?e[p]:e[~p].slice().reverse(),r.push.apply(r,o)}for(t=0,e=r.length;t<e;++t)r[t]=r[t].slice();return r}function Pg(t,e,o,i,r,n,p){var s,a=[],h=0;for(s=(t=t.geometries).length;h<s;++h)a[h]=Ag(t[h],e,o,i,r,n,p);return a}function Ag(t,e,o,i,r,n,p){var s=t.type,a=Tg[s];return o="Point"===s||"MultiPoint"===s?a(t,o,i):a(t,e),(e=new Fh).Ra(sl(o,!1,p)),void 0!==t.id&&e.jc(t.id),t=t.properties,r&&((t=t||{})[r]=n),t&&e.H(t),e}function Eg(t,e,o){t[0]=t[0]*e[0]+o[0],t[1]=t[1]*e[1]+o[1]}s(vg,Ec),(t=vg.prototype).ae=function(t,e){return new Fh(t=this.wd(t,e))},t.zg=function(t,e){return[this.ae(t,e)]},t.wd=function(t,e){var o=Ki(this.a);return dg(t=mg(t,o,this.b),t.length,o,t),sl(new cl(o=rr(t,0,t.length,o),this.a),!1,pl(this,e))},t.ge=function(t,e){return(t=t.V())?this.Cd(t,e):(R(!1,40),"")},t.Wg=function(t,e){return this.ge(t[0],e)},t.Cd=function(t,e){return e=(t=sl(t,!0,pl(this,e))).ga(),t=t.qa(),dg(e,e.length,t,e),bg(e,t,this.b)},s(Sg,al),Sg.prototype.yg=function(t,e){if("Topology"!=t.type)return[];var o=null,i=null;if(t.transform){var r=t.transform;o=r.scale,i=r.translate}var n=t.arcs;if(r){r=o;var p,s=i,a=0;for(p=n.length;a<p;++a){var h,l=n[a],u=r,c=s,y=0,f=0,g=0;for(h=l.length;g<h;++g){var d=l[g];y+=d[0],f+=d[1],d[0]=y,d[1]=f,Eg(d,u,c)}}}r=[],t=t.objects;var v;s=this.a;for(v in t)this.b&&-1==this.b.indexOf(v)||("GeometryCollection"===t[v].type?(a=t[v],r.push.apply(r,Pg(a,n,o,i,s,v,e))):(a=t[v],r.push(Ag(a,n,o,i,s,v,e))));return r},Sg.prototype.Fg=function(){return this.defaultDataProjection};var Tg={Point:function(t,e,o){return t=t.coordinates,e&&o&&Eg(t,e,o),new lr(t)},LineString:function(t,e){return new cl(t=Mg(t.arcs,e))},Polygon:function(t,e){var o,i=[],r=0;for(o=t.arcs.length;r<o;++r)i[r]=Mg(t.arcs[r],e);return new Sr(i)},MultiPoint:function(t,e,o){var i;if(t=t.coordinates,e&&o){var r=0;for(i=t.length;r<i;++r)Eg(t[r],e,o)}return new vl(t)},MultiLineString:function(t,e){var o,i=[],r=0;for(o=t.arcs.length;r<o;++r)i[r]=Mg(t.arcs[r],e);return new fl(i)},MultiPolygon:function(t,e){var o,i,r=[],n=0;for(i=t.arcs.length;n<i;++n){var p=t.arcs[n],s=[],a=0;for(o=p.length;a<o;++a)s[a]=Mg(p[a],e);r[n]=s}return new bl(r)}};function jg(t){t=t||{},this.c=t.featureType,this.a=t.featureNS,this.b=t.gmlFormat?t.gmlFormat:new Au,this.o=t.schemaLocation?t.schemaLocation:Cg["1.1.0"],au.call(this)}(t=Sg.prototype).Zc=function(){},t.he=function(){},t.je=function(){},t.Cg=function(){},t.Rc=function(){},s(jg,au);var Cg={"1.1.0":"http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd","1.0.0":"http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.0.0/wfs.xsd"};function Lg(t,e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType==Node.ELEMENT_NODE)return Ig(t,e)}jg.prototype.zc=function(t,e){var o={featureType:this.c,featureNS:this.a};return ct(o,nl(this,t,e||{})),e=[o],this.b.b["http://www.opengis.net/gml"].featureMember=Vh(uu.prototype.be),(t=Qh([],this.b.b,t,e,this.b))||(t=[]),t},jg.prototype.j=function(t){return Uh(t)?Og(t):Gh(t)?Qh({},Dg,t,[]):"string"==typeof t?Og(t=Bh(t)):void 0},jg.prototype.g=function(t){return Uh(t)?Lg(this,t):Gh(t)?Ig(this,t):"string"==typeof t?Lg(this,t=Bh(t)):void 0};var Rg={"http://www.opengis.net/gml":{boundedBy:Kh(uu.prototype.gf,"bounds")}};function Ig(t,e){var o={},i=mu(e.getAttribute("numberOfFeatures"));return o.numberOfFeatures=i,Qh(o,Rg,e,[],t.b)}var Ng={"http://www.opengis.net/wfs":{totalInserted:Kh(bu),totalUpdated:Kh(bu),totalDeleted:Kh(bu)}},Fg={"http://www.opengis.net/ogc":{FeatureId:Vh(function(t){return t.getAttribute("fid")})}},kg={"http://www.opengis.net/wfs":{Feature:function(t,e){$h(Fg,t,e)}}},Dg={"http://www.opengis.net/wfs":{TransactionSummary:Kh(function(t,e){return Qh({},Ng,t,e)},"transactionSummary"),InsertResults:Kh(function(t,e){return Qh([],kg,t,e)},"insertIds")}};function Og(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType==Node.ELEMENT_NODE)return Qh({},Dg,t,[])}var Ug={"http://www.opengis.net/wfs":{PropertyName:zh(Pu)}};function Gg(t,e){var o=Dh("http://www.opengis.net/ogc","Filter"),i=Dh("http://www.opengis.net/ogc","FeatureId");o.appendChild(i),i.setAttribute("fid",e),t.appendChild(o)}function Bg(t,e){return t=(t||"feature")+":",e.indexOf(t)?t+e:e}var Xg={"http://www.opengis.net/wfs":{Insert:zh(function(t,e,o){var i=(r=o[o.length-1]).gmlVersion,r=Dh(r.featureNS,r.featureType);if(t.appendChild(r),2===i){t=Fu.prototype,(i=e.a)&&r.setAttribute("fid",i);var n=(i=o[o.length-1]).featureNS,p=e.c;i.lb||(i.lb={},i.lb[n]={});var s=e.N();e=[];var a=[];for(l in s){var h=s[l];null!==h&&(e.push(l),a.push(h),l==p||h instanceof Xi?l in i.lb[n]||(i.lb[n][l]=zh(t.ai,t)):l in i.lb[n]||(i.lb[n][l]=zh(Pu)))}var l=ct({},i);l.node=r,el(l,i.lb,Hh(void 0,n),a,o,e)}else Au.prototype.ii(r,e,o)}),Update:zh(function(t,e,o){var i=o[o.length-1];R(void 0!==e.a,27);var r=i.featurePrefix,n=i.featureNS;if(t.setAttribute("typeName",Bg(r,i.featureType)),t.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:"+r,n),void 0!==(r=e.a)){for(var p=[],s=0,a=(n=e.O()).length;s<a;s++){var h=e.get(n[s]);void 0!==h&&p.push({name:n[s],value:h})}el({gmlVersion:i.gmlVersion,node:t,hasZ:i.hasZ,srsName:i.srsName},Xg,Hh("Property"),p,o),Gg(t,r)}}),Delete:zh(function(t,e,o){o=o[o.length-1],R(void 0!==e.a,26);var i=o.featurePrefix,r=o.featureNS;t.setAttribute("typeName",Bg(i,o.featureType)),t.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:"+i,r),void 0!==(e=e.a)&&Gg(t,e)}),Property:zh(function(t,e,o){var i=Dh("http://www.opengis.net/wfs","Name"),r=o[o.length-1].gmlVersion;t.appendChild(i),Pu(i,e.name),void 0!==e.value&&null!==e.value&&(i=Dh("http://www.opengis.net/wfs","Value"),t.appendChild(i),e.value instanceof Xi?2===r?Fu.prototype.ai(i,e.value,o):Au.prototype.od(i,e.value,o):Pu(i,e.value))}),Native:zh(function(t,e){e.vq&&t.setAttribute("vendorId",e.vq),void 0!==e.Vp&&t.setAttribute("safeToIgnore",e.Vp),void 0!==e.value&&Pu(t,e.value)})}};function Vg(t,e,o){var i={node:t};e.b.forEach(function(t){el(i,Hg,Hh(t.kc),[t],o)})}function Wg(t,e){void 0!==e.a&&t.setAttribute("matchCase",e.a.toString()),Kg(t,e.b),zg(t,""+e.i)}function Zg(t,e,o){Pu(t=Dh("http://www.opengis.net/ogc",t),o),e.appendChild(t)}function Kg(t,e){Zg("PropertyName",t,e)}function zg(t,e){Zg("Literal",t,e)}function Yg(t,e){var o=Dh("http://www.opengis.net/gml","TimeInstant");t.appendChild(o),t=Dh("http://www.opengis.net/gml","timePosition"),o.appendChild(t),Pu(t,e)}var Hg={"http://www.opengis.net/wfs":{Query:zh(function(t,e,o){var i=o[o.length-1],r=i.featurePrefix,n=i.featureNS,p=i.propertyNames,s=i.srsName;t.setAttribute("typeName",r?Bg(r,e):e),s&&t.setAttribute("srsName",s),n&&t.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:"+r,n),(e=ct({},i)).node=t,el(e,Ug,Hh("PropertyName"),p,o),(i=i.filter)&&(p=Dh("http://www.opengis.net/ogc","Filter"),t.appendChild(p),el({node:p},Hg,Hh(i.kc),[i],o))})},"http://www.opengis.net/ogc":{During:zh(function(t,e){var o=Dh("http://www.opengis.net/fes","ValueReference");Pu(o,e.b),t.appendChild(o),o=Dh("http://www.opengis.net/gml","TimePeriod"),t.appendChild(o),t=Dh("http://www.opengis.net/gml","begin"),o.appendChild(t),Yg(t,e.a),t=Dh("http://www.opengis.net/gml","end"),o.appendChild(t),Yg(t,e.i)}),And:zh(Vg),Or:zh(Vg),Not:zh(function(t,e,o){e=e.condition,el({node:t},Hg,Hh(e.kc),[e],o)}),BBOX:zh(function(t,e,o){o[o.length-1].srsName=e.srsName,Kg(t,e.geometryName),Au.prototype.od(t,e.extent,o)}),Intersects:zh(function(t,e,o){o[o.length-1].srsName=e.srsName,Kg(t,e.geometryName),Au.prototype.od(t,e.geometry,o)}),Within:zh(function(t,e,o){o[o.length-1].srsName=e.srsName,Kg(t,e.geometryName),Au.prototype.od(t,e.geometry,o)}),PropertyIsEqualTo:zh(Wg),PropertyIsNotEqualTo:zh(Wg),PropertyIsLessThan:zh(Wg),PropertyIsLessThanOrEqualTo:zh(Wg),PropertyIsGreaterThan:zh(Wg),PropertyIsGreaterThanOrEqualTo:zh(Wg),PropertyIsNull:zh(function(t,e){Kg(t,e.b)}),PropertyIsBetween:zh(function(t,e){Kg(t,e.b);var o=Dh("http://www.opengis.net/ogc","LowerBoundary");t.appendChild(o),zg(o,""+e.a),o=Dh("http://www.opengis.net/ogc","UpperBoundary"),t.appendChild(o),zg(o,""+e.i)}),PropertyIsLike:zh(function(t,e){t.setAttribute("wildCard",e.g),t.setAttribute("singleChar",e.f),t.setAttribute("escapeChar",e.i),void 0!==e.a&&t.setAttribute("matchCase",e.a.toString()),Kg(t,e.b),zg(t,""+e.c)})}};function qg(t){t=t||{},rl.call(this),this.b=void 0!==t.splitCollection&&t.splitCollection}function Jg(t){return(t=t.X()).length?t.join(" "):""}function _g(t){for(var e=[],o=0,i=(t=t.X()).length;o<i;++o)e.push(t[o].join(" "));return e.join(",")}function $g(t){for(var e=[],o=0,i=(t=t.Sd()).length;o<i;++o)e.push("("+_g(t[o])+")");return e.join(",")}function Qg(t){var e=t.U(),o=(0,td[e])(t);e=e.toUpperCase();if(t instanceof Zi){var i="";"XYZ"!==(t=t.ja)&&"XYZM"!==t||(i+="Z"),"XYM"!==t&&"XYZM"!==t||(i+="M"),0<(t=i).length&&(e+=" "+t)}return o.length?e+"("+o+")":e+" EMPTY"}jg.prototype.l=function(t){var e=Dh("http://www.opengis.net/wfs","GetFeature");if(e.setAttribute("service","WFS"),e.setAttribute("version","1.1.0"),t){t.handle&&e.setAttribute("handle",t.handle),t.outputFormat&&e.setAttribute("outputFormat",t.outputFormat),void 0!==t.maxFeatures&&e.setAttribute("maxFeatures",t.maxFeatures),t.resultType&&e.setAttribute("resultType",t.resultType),void 0!==t.startIndex&&e.setAttribute("startIndex",t.startIndex),void 0!==t.count&&e.setAttribute("count",t.count);var o=t.filter;if(t.bbox){R(t.geometryName,12);var i=$l(t.geometryName,t.bbox,t.srsName);o=o?_l(o,i):i}}return e.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",this.o),o={node:e,srsName:t.srsName,featureNS:t.featureNS?t.featureNS:this.a,featurePrefix:t.featurePrefix,geometryName:t.geometryName,filter:o,propertyNames:t.propertyNames?t.propertyNames:[]},R(Array.isArray(t.featureTypes),11),t=t.featureTypes,(i=ct({},(o=[o])[o.length-1])).node=e,el(i,Hg,Hh("Query"),t,o),e},jg.prototype.v=function(t,e,o,i){var r=[],n=Dh("http://www.opengis.net/wfs","Transaction"),p=i.version?i.version:"1.1.0",s="1.0.0"===p?2:3;if(n.setAttribute("service","WFS"),n.setAttribute("version",p),i){var a=i.gmlOptions?i.gmlOptions:{};i.handle&&n.setAttribute("handle",i.handle)}return n.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",Cg[p]),t&&(p={node:n,featureNS:i.featureNS,featureType:i.featureType,featurePrefix:i.featurePrefix,gmlVersion:s,hasZ:i.hasZ,srsName:i.srsName},ct(p,a),el(p,Xg,Hh("Insert"),t,r)),e&&(p={node:n,featureNS:i.featureNS,featureType:i.featureType,featurePrefix:i.featurePrefix,gmlVersion:s,hasZ:i.hasZ,srsName:i.srsName},ct(p,a),el(p,Xg,Hh("Update"),e,r)),o&&el({node:n,featureNS:i.featureNS,featureType:i.featureType,featurePrefix:i.featurePrefix,gmlVersion:s,srsName:i.srsName},Xg,Hh("Delete"),o,r),i.nativeElements&&el({node:n,featureNS:i.featureNS,featureType:i.featureType,featurePrefix:i.featurePrefix,gmlVersion:s,srsName:i.srsName},Xg,Hh("Native"),i.nativeElements,r),n},jg.prototype.Eg=function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType==Node.ELEMENT_NODE)return this.kf(t);return null},jg.prototype.kf=function(t){if(t.firstElementChild&&t.firstElementChild.firstElementChild)for(t=(t=t.firstElementChild.firstElementChild).firstElementChild;t;t=t.nextElementSibling)if(0!==t.childNodes.length&&(1!==t.childNodes.length||3!==t.firstChild.nodeType)){var e=[{}];return this.b.gf(t,e),Wt(e.pop().srsName)}return null},s(qg,Ec);var td={Point:Jg,LineString:_g,Polygon:$g,MultiPoint:function(t){for(var e=[],o=0,i=(t=t.Zd()).length;o<i;++o)e.push("("+Jg(t[o])+")");return e.join(",")},MultiLineString:function(t){for(var e=[],o=0,i=(t=t.gd()).length;o<i;++o)e.push("("+_g(t[o])+")");return e.join(",")},MultiPolygon:function(t){for(var e=[],o=0,i=(t=t.Td()).length;o<i;++o)e.push("("+$g(t[o])+")");return e.join(",")},GeometryCollection:function(t){for(var e=[],o=0,i=(t=t.Vf()).length;o<i;++o)e.push(Qg(t[o]));return e.join(",")}};function ed(t){this.a=t,this.b=-1}function od(t){this.i=t,this.a="XY"}function id(t){t.b=function t(e){var o=e.a.charAt(++e.b),i={position:e.b,value:o};if("("==o)i.type=2;else if(","==o)i.type=5;else if(")"==o)i.type=3;else if("0"<=o&&o<="9"||"."==o||"-"==o){i.type=4,o=e.b;var r=!1,n=!1;do{"."==p?r=!0:"e"!=p&&"E"!=p||(n=!0);var p=e.a.charAt(++e.b)}while("0"<=p&&p<="9"||"."==p&&(void 0===r||!r)||!n&&("e"==p||"E"==p)||n&&("-"==p||"+"==p));e=parseFloat(e.a.substring(o,e.b--)),i.value=e}else if("a"<=o&&o<="z"||"A"<=o&&o<="Z"){for(i.type=1,o=e.b;"a"<=(p=e.a.charAt(++e.b))&&p<="z"||"A"<=p&&p<="Z";);e=e.a.substring(o,e.b--).toUpperCase(),i.value=e}else{if(" "==o||"\t"==o||"\r"==o||"\n"==o)return t(e);if(""!==o)throw Error("Unexpected character: "+o);i.type=6}return i}(t.i)}function rd(t,e){return(e=t.b.type==e)&&id(t),e}function nd(t){for(var e=[],o=t.a.length,i=0;i<o;++i){var r=t.b;if(!rd(t,4))break;e.push(r.value)}if(e.length==o)return e;throw Error(hd(t))}function pd(t){for(var e=[nd(t)];rd(t,5);)e.push(nd(t));return e}function sd(t){for(var e=[t.sg()];rd(t,5);)e.push(t.sg());return e}function ad(t){var e=1==t.b.type&&"EMPTY"==t.b.value;return e&&id(t),e}function hd(t){return"Unexpected `"+t.b.value+"` at position "+t.b.position+" in `"+t.i.a+"`"}(t=qg.prototype).ae=function(t,e){return(t=this.wd(t,e))?((e=new Fh).Ra(t),e):null},t.zg=function(t,e){var o=[];t=this.wd(t,e),e=[];for(var i=0,r=(o=this.b&&"GeometryCollection"==t.U()?t.a:[t]).length;i<r;++i)(t=new Fh).Ra(o[i]),e.push(t);return e},t.wd=function(t,e){return id(t=new od(new ed(t))),(t=function t(e){var o=e.b;if(rd(e,1)){var o=o.value,i="XY",r=e.b;if(1==e.b.type&&("Z"===(r=r.value)?i="XYZ":"M"===r?i="XYM":"ZM"===r&&(i="XYZM"),"XY"!==i&&id(e)),e.a=i,"GEOMETRYCOLLECTION"==o){t:{if(rd(e,2)){for(o=[];o.push(t(e)),rd(e,5););if(rd(e,3)){e=o;break t}}else if(ad(e)){e=[];break t}throw Error(hd(e))}return new Ql(e)}if(r=ud[o],i=ld[o],!r||!i)throw Error("Invalid geometry type: "+o);return o=r.call(e),new i(o,e.a)}throw Error(hd(e))}(t))?sl(t,!1,e):null},t.ge=function(t,e){return(t=t.V())?this.Cd(t,e):""},t.Wg=function(t,e){if(1==t.length)return this.ge(t[0],e);for(var o=[],i=0,r=t.length;i<r;++i)o.push(t[i].V());return t=new Ql(o),this.Cd(t,e)},t.Cd=function(t,e){return Qg(sl(t,!0,e))},(t=od.prototype).tg=function(){if(rd(this,2)){var t=nd(this);if(rd(this,3))return t}else if(ad(this))return null;throw Error(hd(this))},t.sg=function(){if(rd(this,2)){var t=pd(this);if(rd(this,3))return t}else if(ad(this))return[];throw Error(hd(this))},t.ug=function(){if(rd(this,2)){var t=sd(this);if(rd(this,3))return t}else if(ad(this))return[];throw Error(hd(this))},t.fp=function(){if(rd(this,2)){var t;if(2==this.b.type)for(t=[this.tg()];rd(this,5);)t.push(this.tg());else t=pd(this);if(rd(this,3))return t}else if(ad(this))return[];throw Error(hd(this))},t.ep=function(){if(rd(this,2)){var t=sd(this);if(rd(this,3))return t}else if(ad(this))return[];throw Error(hd(this))},t.gp=function(){if(rd(this,2)){for(var t=[this.ug()];rd(this,5);)t.push(this.ug());if(rd(this,3))return t}else if(ad(this))return[];throw Error(hd(this))};var ld={POINT:lr,LINESTRING:cl,POLYGON:Sr,MULTIPOINT:vl,MULTILINESTRING:fl,MULTIPOLYGON:bl},ud={POINT:od.prototype.tg,LINESTRING:od.prototype.sg,POLYGON:od.prototype.ug,MULTIPOINT:od.prototype.fp,MULTILINESTRING:od.prototype.ep,MULTIPOLYGON:od.prototype.gp};function cd(){this.version=void 0}function yd(t,e){return Qh({},Nd,t,e)}function fd(t,e){return Qh({},Cd,t,e)}function gd(t,e){if(e=yd(t,e))return t=[mu(t.getAttribute("width")),mu(t.getAttribute("height"))],e.size=t,e}function dd(t,e){return Qh([],Fd,t,e)}s(cd,Qf),cd.prototype.a=function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType==Node.ELEMENT_NODE)return this.b(t);return null},cd.prototype.b=function(t){return this.version=t.getAttribute("version").trim(),(t=Qh({version:this.version},bd,t,[]))?t:null};var vd=[null,"http://www.opengis.net/wms"],bd=_h(vd,{Service:Kh(function(t,e){return Qh({},wd,t,e)}),Capability:Kh(function(t,e){return Qh({},md,t,e)})}),md=_h(vd,{Request:Kh(function(t,e){return Qh({},jd,t,e)}),Exception:Kh(function(t,e){return Qh([],Pd,t,e)}),Layer:Kh(function(t,e){return Qh({},Ad,t,e)})}),wd=_h(vd,{Name:Kh(wu),Title:Kh(wu),Abstract:Kh(wu),KeywordList:Kh(dd),OnlineResource:Kh($f),ContactInformation:Kh(function(t,e){return Qh({},xd,t,e)}),Fees:Kh(wu),AccessConstraints:Kh(wu),LayerLimit:Kh(bu),MaxWidth:Kh(bu),MaxHeight:Kh(bu)}),xd=_h(vd,{ContactPersonPrimary:Kh(function(t,e){return Qh({},Sd,t,e)}),ContactPosition:Kh(wu),ContactAddress:Kh(function(t,e){return Qh({},Md,t,e)}),ContactVoiceTelephone:Kh(wu),ContactFacsimileTelephone:Kh(wu),ContactElectronicMailAddress:Kh(wu)}),Sd=_h(vd,{ContactPerson:Kh(wu),ContactOrganization:Kh(wu)}),Md=_h(vd,{AddressType:Kh(wu),Address:Kh(wu),City:Kh(wu),StateOrProvince:Kh(wu),PostCode:Kh(wu),Country:Kh(wu)}),Pd=_h(vd,{Format:Vh(wu)}),Ad=_h(vd,{Name:Kh(wu),Title:Kh(wu),Abstract:Kh(wu),KeywordList:Kh(dd),CRS:Zh(wu),EX_GeographicBoundingBox:Kh(function(t,e){if(i=Qh({},Td,t,e)){t=i.westBoundLongitude,e=i.southBoundLatitude;var o=i.eastBoundLongitude,i=i.northBoundLatitude;if(void 0!==t&&void 0!==e&&void 0!==o&&void 0!==i)return[t,e,o,i]}}),BoundingBox:Zh(function(t){var e=[vu(t.getAttribute("minx")),vu(t.getAttribute("miny")),vu(t.getAttribute("maxx")),vu(t.getAttribute("maxy"))],o=[vu(t.getAttribute("resx")),vu(t.getAttribute("resy"))];return{crs:t.getAttribute("CRS"),extent:e,res:o}}),Dimension:Zh(function(t){return{name:t.getAttribute("name"),units:t.getAttribute("units"),unitSymbol:t.getAttribute("unitSymbol"),default:t.getAttribute("default"),multipleValues:fu(t.getAttribute("multipleValues")),nearestValue:fu(t.getAttribute("nearestValue")),current:fu(t.getAttribute("current")),values:wu(t)}}),Attribution:Kh(function(t,e){return Qh({},Ed,t,e)}),AuthorityURL:Zh(function(t,e){if(e=yd(t,e))return e.name=t.getAttribute("name"),e}),Identifier:Zh(wu),MetadataURL:Zh(function(t,e){if(e=yd(t,e))return e.type=t.getAttribute("type"),e}),DataURL:Zh(yd),FeatureListURL:Zh(yd),Style:Zh(function(t,e){return Qh({},Id,t,e)}),MinScaleDenominator:Kh(du),MaxScaleDenominator:Kh(du),Layer:Zh(function(t,e){var o=e[e.length-1],i=Qh({},Ad,t,e);if(i)return void 0===(e=fu(t.getAttribute("queryable")))&&(e=o.queryable),i.queryable=void 0!==e&&e,void 0===(e=mu(t.getAttribute("cascaded")))&&(e=o.cascaded),i.cascaded=e,void 0===(e=fu(t.getAttribute("opaque")))&&(e=o.opaque),i.opaque=void 0!==e&&e,void 0===(e=fu(t.getAttribute("noSubsets")))&&(e=o.noSubsets),i.noSubsets=void 0!==e&&e,(e=vu(t.getAttribute("fixedWidth")))||(e=o.fixedWidth),i.fixedWidth=e,(t=vu(t.getAttribute("fixedHeight")))||(t=o.fixedHeight),i.fixedHeight=t,["Style","CRS","AuthorityURL"].forEach(function(t){t in o&&(i[t]=(i[t]||[]).concat(o[t]))}),"EX_GeographicBoundingBox BoundingBox Dimension Attribution MinScaleDenominator MaxScaleDenominator".split(" ").forEach(function(t){t in i||(i[t]=o[t])}),i})}),Ed=_h(vd,{Title:Kh(wu),OnlineResource:Kh($f),LogoURL:Kh(gd)}),Td=_h(vd,{westBoundLongitude:Kh(du),eastBoundLongitude:Kh(du),southBoundLatitude:Kh(du),northBoundLatitude:Kh(du)}),jd=_h(vd,{GetCapabilities:Kh(fd),GetMap:Kh(fd),GetFeatureInfo:Kh(fd)}),Cd=_h(vd,{Format:Zh(wu),DCPType:Zh(function(t,e){return Qh({},Ld,t,e)})}),Ld=_h(vd,{HTTP:Kh(function(t,e){return Qh({},Rd,t,e)})}),Rd=_h(vd,{Get:Kh(yd),Post:Kh(yd)}),Id=_h(vd,{Name:Kh(wu),Title:Kh(wu),Abstract:Kh(wu),LegendURL:Zh(gd),StyleSheetURL:Kh(yd),StyleURL:Kh(yd)}),Nd=_h(vd,{Format:Kh(wu),OnlineResource:Kh($f)}),Fd=_h(vd,{Keyword:Vh(wu)});function kd(t){t=t||{},this.a="http://mapserver.gis.umn.edu/mapserver",this.b=new Fu,this.c=t.layers?t.layers:null,au.call(this)}function Dd(){this.i=new tg}function Od(t){var e=wu(t).split(" ");if(e&&2==e.length&&(t=+e[0],e=+e[1],!isNaN(t)&&!isNaN(e)))return[t,e]}s(kd,au),kd.prototype.zc=function(t,e){var o={};e&&ct(o,nl(this,t,e)),o=[o],t.setAttribute("namespaceURI",this.a);var i=t.localName;if(e=[],t.childNodes.length){if("msGMLOutput"==i)for(var r=0,n=t.childNodes.length;r<n;r++){var p=t.childNodes[r];if(p.nodeType===Node.ELEMENT_NODE){var s=o[0],a=p.localName.replace("_layer","");if(!this.c||d(this.c,a)){a+="_feature",s.featureType=a,s.featureNS=this.a;var h={};h[a]=Vh(this.b.wg,this.b),s=_h([s.featureNS,null],h),p.setAttribute("namespaceURI",this.a),(p=Qh([],s,p,o,this.b))&&c(e,p)}}}"FeatureCollection"==i&&(t=Qh([],this.b.b,t,[{}],this.b))&&(e=t)}return e},kd.prototype.Vg=function(){},kd.prototype.Xb=function(){},kd.prototype.ie=function(){},s(Dd,Qf),Dd.prototype.a=function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType==Node.ELEMENT_NODE)return this.b(t);return null},Dd.prototype.b=function(t){var e=t.getAttribute("version").trim(),o=this.i.b(t);return o?(o.version=e,(o=Qh(o,Bd,t,[]))?o:null):null};var Ud=[null,"http://www.opengis.net/wmts/1.0"],Gd=[null,"http://www.opengis.net/ows/1.1"],Bd=_h(Ud,{Contents:Kh(function(t,e){return Qh({},Xd,t,e)})}),Xd=_h(Ud,{Layer:Zh(function(t,e){return Qh({},Vd,t,e)}),TileMatrixSet:Zh(function(t,e){return Qh({},qd,t,e)})}),Vd=_h(Ud,{Style:Zh(function(t,e){if(e=Qh({},Wd,t,e))return t="true"===t.getAttribute("isDefault"),e.isDefault=t,e}),Format:Zh(wu),TileMatrixSetLink:Zh(function(t,e){return Qh({},Zd,t,e)}),Dimension:Zh(function(t,e){return Qh({},Yd,t,e)}),ResourceURL:Zh(function(t){var e=t.getAttribute("format"),o=t.getAttribute("template");t=t.getAttribute("resourceType");var i={};return e&&(i.format=e),o&&(i.template=o),t&&(i.resourceType=t),i})},_h(Gd,{Title:Kh(wu),Abstract:Kh(wu),WGS84BoundingBox:Kh(function(t,e){if(2==(t=Qh([],Hd,t,e)).length)return E(t)}),Identifier:Kh(wu)})),Wd=_h(Ud,{LegendURL:Zh(function(t){var e={};return e.format=t.getAttribute("format"),e.href=$f(t),e})},_h(Gd,{Title:Kh(wu),Identifier:Kh(wu)})),Zd=_h(Ud,{TileMatrixSet:Kh(wu),TileMatrixSetLimits:Kh(function(t,e){return Qh([],Kd,t,e)})}),Kd=_h(Ud,{TileMatrixLimits:Vh(function(t,e){return Qh({},zd,t,e)})}),zd=_h(Ud,{TileMatrix:Kh(wu),MinTileRow:Kh(bu),MaxTileRow:Kh(bu),MinTileCol:Kh(bu),MaxTileCol:Kh(bu)}),Yd=_h(Ud,{Default:Kh(wu),Value:Zh(wu)},_h(Gd,{Identifier:Kh(wu)})),Hd=_h(Gd,{LowerCorner:Vh(Od),UpperCorner:Vh(Od)}),qd=_h(Ud,{WellKnownScaleSet:Kh(wu),TileMatrix:Zh(function(t,e){return Qh({},Jd,t,e)})},_h(Gd,{SupportedCRS:Kh(wu),Identifier:Kh(wu)})),Jd=_h(Ud,{TopLeftCorner:Kh(Od),ScaleDenominator:Kh(du),TileWidth:Kh(bu),TileHeight:Kh(bu),MatrixWidth:Kh(bu),MatrixHeight:Kh(bu)},_h(Gd,{Identifier:Kh(wu)}));function _d(t){Re.call(this),t=t||{},this.a=null,this.f=Yt,this.c=void 0,me(this,Ne("projection"),this.Am,this),me(this,Ne("tracking"),this.Bm,this),void 0!==t.projection&&this.Wh(t.projection),void 0!==t.trackingOptions&&this.wj(t.trackingOptions),this.Ke(void 0!==t.tracking&&t.tracking)}function $d(t,e,o){Zi.call(this),this.Ng(t,e||0,o)}function Qd(t){var e=t.A[t.a]-t.A[0];return e*e+(t=t.A[t.a+1]-t.A[1])*t}function tv(t,e,o){for(var i,r,n,p,s,a=[],h=t(0),l=t(1),u=e(h),c=e(l),y=[l,h],f=[c,u],g=[1,0],d={},v=1e5;0<--v&&0<g.length;)n=g.pop(),h=y.pop(),u=f.pop(),(l=n.toString())in d||(a.push(u[0],u[1]),d[l]=!0),p=g.pop(),l=y.pop(),c=f.pop(),x((r=e(i=t(s=(n+p)/2)))[0],r[1],u[0],u[1],c[0],c[1])<o?(a.push(c[0],c[1]),d[l=p.toString()]=!0):(g.push(p,s,s,n),f.push(c,r,r,u),y.push(l,i,i,h));return a}function ev(t){t=t||{},this.j=this.v=null,this.f=this.o=1/0,this.g=this.l=-1/0,this.ra=this.oa=1/0,this.R=this.I=-1/0,this.Jb=void 0!==t.targetSize?t.targetSize:100,this.fb=void 0!==t.maxLines?t.maxLines:100,this.i=[],this.c=[],this.pa=void 0!==t.strokeStyle?t.strokeStyle:ov,this.D=this.u=void 0,this.a=this.b=this.S=null,1==t.showLabels&&(this.na=t.lonLabelFormatter?t.lonLabelFormatter:Li.bind(this,"EW"),this.Ua=t.latLabelFormatter?t.latLabelFormatter:Li.bind(this,"NS"),this.fa=null==t.lonLabelPosition?0:t.lonLabelPosition,this.T=null==t.latLabelPosition?1:t.latLabelPosition,this.B=void 0!==t.lonLabelStyle?t.lonLabelStyle:new _c({font:"12px Calibri,sans-serif",textBaseline:"bottom",fill:new Th({color:"rgba(0,0,0,1)"}),stroke:new Gs({color:"rgba(255,255,255,1)",width:3})}),this.C=void 0!==t.latLabelStyle?t.latLabelStyle:new _c({font:"12px Calibri,sans-serif",textAlign:"end",fill:new Th({color:"rgba(0,0,0,1)"}),stroke:new Gs({color:"rgba(255,255,255,1)",width:3})}),this.b=[],this.a=[]),this.setMap(void 0!==t.map?t.map:null)}s(_d,Re),(t=_d.prototype).ka=function(){this.Ke(!1),Re.prototype.ka.call(this)},t.Am=function(){var t=this.Uh();t&&(this.f=zt(Wt("EPSG:4326"),t),this.a&&this.set("position",this.f(this.a)))},t.Bm=function(){if(Uo){var t=this.Vh();t&&void 0===this.c?this.c=navigator.geolocation.watchPosition(this.np.bind(this),this.op.bind(this),this.Gh()):t||void 0===this.c||(navigator.geolocation.clearWatch(this.c),this.c=void 0)}},t.np=function(t){t=t.coords,this.set("accuracy",t.accuracy),this.set("altitude",null===t.altitude?void 0:t.altitude),this.set("altitudeAccuracy",null===t.altitudeAccuracy?void 0:t.altitudeAccuracy),this.set("heading",null===t.heading?void 0:S(t.heading)),this.a?(this.a[0]=t.longitude,this.a[1]=t.latitude):this.a=[t.longitude,t.latitude];var e=this.f(this.a);this.set("position",e),this.set("speed",null===t.speed?void 0:t.speed),(t=Pr(jt,this.a,t.accuracy)).Dc(this.f),this.set("accuracyGeometry",t),this.s()},t.op=function(t){t.type="error",this.Ke(!1),this.b(t)},t.Dk=function(){return this.get("accuracy")},t.Ek=function(){return this.get("accuracyGeometry")||null},t.Gk=function(){return this.get("altitude")},t.Hk=function(){return this.get("altitudeAccuracy")},t.ym=function(){return this.get("heading")},t.zm=function(){return this.get("position")},t.Uh=function(){return this.get("projection")},t.ll=function(){return this.get("speed")},t.Vh=function(){return this.get("tracking")},t.Gh=function(){return this.get("trackingOptions")},t.Wh=function(t){this.set("projection",Wt(t))},t.Ke=function(t){this.set("tracking",t)},t.wj=function(t){this.set("trackingOptions",t)},s($d,Zi),(t=$d.prototype).clone=function(){var t=new $d(null);return zi(t,this.ja,this.A.slice()),t.s(),t},t.Kb=function(t,e,o,i){var r=this.A;t-=r[0];var n=e-r[1];if((e=t*t+n*n)<i){if(e)for(i=this.pd()/Math.sqrt(e),o[0]=r[0]+i*t,o[1]=r[1]+i*n,i=2;i<this.a;++i)o[i]=r[i];else for(i=0;i<this.a;++i)o[i]=r[i];return o.length=this.a,e}return i},t.Mc=function(t,e){var o=this.A;return(t-=o[0])*t+(e-=o[1])*e<=Qd(this)},t.wa=function(){return this.A.slice(0,this.a)},t.se=function(t){var e=this.A,o=e[this.a]-e[0];return W(e[0]-o,e[1]-o,e[0]+o,e[1]+o,t)},t.pd=function(){return Math.sqrt(Qd(this))},t.U=function(){return"Circle"},t.Xa=function(t){var e=this.G();return!!at(t,e)&&(e=this.wa(),t[0]<=e[0]&&t[2]>=e[0]||t[1]<=e[1]&&t[3]>=e[1]||_(t,this.sb,this))},t.ob=function(t){var e,o=this.a,i=t.slice();for(i[o]=i[0]+(this.A[o]-this.A[0]),e=1;e<o;++e)i[o+e]=t[e];zi(this,this.ja,i),this.s()},t.Ng=function(t,e,o){if(t){var i;for(Yi(this,o,t,0),this.A||(this.A=[]),t=er(o=this.A,t),o[t++]=o[0]+e,e=1,i=this.a;e<i;++e)o[t++]=o[e];o.length=t}else zi(this,"XY",null);this.s()},t.X=function(){},t.ma=function(){},t.Uc=function(t){this.A[this.a]=this.A[0]+t,this.s()};var ov=new Gs({color:"rgba(0,0,0,0.2)"}),iv=[90,45,30,20,10,5,2,1,.5,.2,.1,.05,.01,.005,.002,.001];function rv(t,e,o,i,r,n,p){var s=p;return o=function(e,o,i,t,r){return tv(function(t){return[e,o+(i-o)*t]},Kt(Wt("EPSG:4326"),t),r)}(e,o,i,t.j,r),(s=void 0!==t.i[s]?t.i[s]:new cl(null)).ba("XY",o),at(s.G(),n)&&(t.b&&(o=p,n=[(i=s.ga())[0],w(n[1]+Math.abs(n[1]-n[3])*t.fa,Math.max(n[1],i[1]),Math.min(n[3],i[i.length-1]))],(o=t.b[o]?t.b[o].Qd:new lr(null)).ma(n),t.b[p]={Qd:o,text:t.na(e)}),t.i[p++]=s),p}function nv(t,e,o,i,r){var n=r;if(o=function(e,o,i,t,r){return tv(function(t){return[o+(i-o)*t,e]},Kt(Wt("EPSG:4326"),t),r)}(e,t.g,t.f,t.j,o),(n=void 0!==t.c[n]?t.c[n]:new cl(null)).ba("XY",o),at(n.G(),i)){if(t.a){o=r;var p=n.ga();i=[w(i[0]+Math.abs(i[0]-i[2])*t.T,Math.max(i[0],p[0]),Math.min(i[2],p[p.length-2])),p[1]],(o=t.a[o]?t.a[o].Qd:new lr(null)).ma(i),t.a[r]={Qd:o,text:t.Ua(e)}}t.c[r++]=n}return r}function pv(t,e,o,i,r){je.call(this),this.f=r,this.extent=t,this.a=o,this.resolution=e,this.state=i}function sv(t,e,o,i,r,n,p){pv.call(this,t,e,o,0,i),this.j=r,this.M=new Image,null!==n&&(this.M.crossOrigin=n),this.c={},this.i=null,this.state=0,this.g=p}function av(t,e,o,i,r,n){this.c=n||null,pv.call(this,t,e,o,n?0:2,i),this.i=r}function hv(t,e){je.call(this),this.ta=t,this.state=e,this.i=null,this.key=""}function lv(t){if(!t.i)return t;var e=t.i;do{if(2==e.getState())return e;e=e.i}while(e);return t}function uv(t,e){t.state=e,t.s()}function cv(t,e,o,i,r){hv.call(this,t,e),this.g=o,this.M=new Image,null!==i&&(this.M.crossOrigin=i),this.c=null,this.j=r}function yv(t){t.c.forEach(Se),t.c=null}(t=ev.prototype).Cm=function(){return this.v},t.al=function(){return this.i},t.hl=function(){return this.c},t.Kh=function(t){var e=t.vectorContext,o=t.frameState,i=o.extent,r=(t=o.viewState).center,n=t.projection,p=t.resolution;if(t=p*p/(4*(t=o.pixelRatio)*t),!this.j||!Zt(this.j,n)){var s=Wt("EPSG:4326"),a=n.G(),h=n.g,l=Jt(h,s,n),u=h[2],c=h[1],y=h[0],f=l[3],g=l[2],d=l[1];l=l[0];this.o=h[3],this.f=u,this.l=c,this.g=y,this.oa=f,this.ra=g,this.I=d,this.R=l,this.u=Kt(s,n),this.D=Kt(n,s),this.S=this.D(et(a)),this.j=n}for(n.i&&(s=st(n=n.G()),(o=o.focus[0])<n[0]||o>n[2])&&(o=s*Math.ceil((n[0]-o)/s),i=[i[0]+o,i[1],i[2]+o,i[3]]),o=this.S[0],n=this.S[1],s=-1,h=Math.pow(this.Jb*p,2),u=[],c=[],p=0,a=iv.length;p<a&&(y=iv[p]/2,u[0]=o-y,u[1]=n-y,c[0]=o+y,c[1]=n+y,this.u(u,u),this.u(c,c),!((y=Math.pow(c[0]-u[0],2)+Math.pow(c[1]-u[1],2))<=h));++p)s=iv[p];if(-1==(p=s))this.i.length=this.c.length=0,this.b&&(this.b.length=0),this.a&&(this.a.length=0);else{for(r=(o=this.D(r))[0],o=o[1],n=this.fb,h=(s=Jt(s=[Math.max(i[0],this.R),Math.max(i[1],this.I),Math.min(i[2],this.ra),Math.min(i[3],this.oa)],this.j,"EPSG:4326"))[3],c=s[1],a=rv(this,u=w(r=Math.floor(r/p)*p,this.g,this.f),c,h,t,i,0),s=0;u!=this.g&&s++<n;)a=rv(this,u=Math.max(u-p,this.g),c,h,t,i,a);for(u=w(r,this.g,this.f),s=0;u!=this.f&&s++<n;)a=rv(this,u=Math.min(u+p,this.f),c,h,t,i,a);for(this.i.length=a,this.b&&(this.b.length=a),a=nv(this,r=w(o=Math.floor(o/p)*p,this.l,this.o),t,i,0),s=0;r!=this.l&&s++<n;)a=nv(this,r=Math.max(r-p,this.l),t,i,a);for(r=w(o,this.l,this.o),s=0;r!=this.o&&s++<n;)a=nv(this,r=Math.min(r+p,this.o),t,i,a);this.c.length=a,this.a&&(this.a.length=a)}for(e.Ma(null,this.pa),t=0,r=this.i.length;t<r;++t)p=this.i[t],e.zb(p);for(t=0,r=this.c.length;t<r;++t)p=this.c[t],e.zb(p);if(this.b)for(t=0,r=this.b.length;t<r;++t)p=this.b[t],this.B.xd(p.text),e.Cb(this.B),e.zb(p.Qd);if(this.a)for(t=0,r=this.a.length;t<r;++t)p=this.a[t],this.C.xd(p.text),e.Cb(this.C),e.zb(p.Qd)},t.setMap=function(t){this.v&&(this.v.K("postcompose",this.Kh,this),this.v.render()),t&&(t.J("postcompose",this.Kh,this),t.render()),this.v=t},s(pv,je),pv.prototype.s=function(){this.b("change")},pv.prototype.G=function(){return this.extent},pv.prototype.getState=function(){return this.state},s(sv,pv),(t=sv.prototype).Y=function(t){return void 0===t?this.M:(t=G(t))in this.c?this.c[t]:(e=gt(this.c)?this.M:this.M.cloneNode(!1),this.c[t]=e);var e},t.Fm=function(){this.state=3,this.i.forEach(Se),this.i=null,this.s()},t.Gm=function(){void 0===this.resolution&&(this.resolution=it(this.extent)/this.M.height),this.state=2,this.i.forEach(Se),this.i=null,this.s()},t.load=function(){0!=this.state&&3!=this.state||(this.state=1,this.s(),this.i=[we(this.M,"error",this.Fm,this),we(this.M,"load",this.Gm,this)],this.g(this,this.j))},t.Og=function(t){this.M=t},s(av,pv),av.prototype.g=function(t){this.state=t?3:2,this.s()},av.prototype.load=function(){0==this.state&&(this.state=1,this.s(),this.c(this.g.bind(this)))},av.prototype.Y=function(){return this.i},s(hv,je),hv.prototype.s=function(){this.b("change")},hv.prototype.bb=function(){return this.key+"/"+this.ta},hv.prototype.f=function(){return this.ta},hv.prototype.getState=function(){return this.state},s(cv,hv),(t=cv.prototype).ka=function(){1==this.state&&yv(this),this.i&&Ae(this.i),this.state=5,this.s(),hv.prototype.ka.call(this)},t.Y=function(){return this.M},t.bb=function(){return this.g},t.Dm=function(){this.state=3,this.M=fv,yv(this),this.s()},t.Em=function(){this.state=this.M.naturalWidth&&this.M.naturalHeight?2:4,yv(this),this.s()},t.load=function(){0!=this.state&&3!=this.state||(this.state=1,this.s(),this.c=[we(this.M,"error",this.Dm,this),we(this.M,"load",this.Em,this)],this.j(this,this.g))};var fv=new Image;function gv(t){t=t||{},Gr.call(this,{handleEvent:Gi}),this.g=t.formatConstructors?t.formatConstructors:[],this.o=t.projection?Wt(t.projection):null,this.a=null,this.target=t.target?t.target:null}function dv(t){var e,o=0;for(e=(t=t.dataTransfer.files).length;o<e;++o){var i=t.item(o),r=new FileReader;r.addEventListener("load",this.j.bind(this,i)),r.readAsText(i)}}function vv(t){t.stopPropagation(),t.preventDefault(),t.dataTransfer.dropEffect="copy"}function bv(t){var e=t.v;e&&(e=t.target?t.target:e.a,t.a=[me(e,"drop",dv,t),me(e,"dragenter",vv,t),me(e,"dragover",vv,t),me(e,"drop",vv,t)])}function mv(t){t.a&&(t.a.forEach(Se),t.a=null)}fv.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",s(gv,Gr),gv.prototype.j=function(t,e){e=e.target.result;var o=this.v,i=this.o;i=i||o.Z().v;var r,n=[],p=0;for(r=(o=this.g).length;p<r;++p){var s=new o[p],a={featureProjection:i};try{n=s.Oa(e,a)}catch(t){n=null}if(n&&0<n.length)break}this.b(new xv(wv,t,n,i))},gv.prototype.Ha=function(t){Gr.prototype.Ha.call(this,t),t?bv(this):mv(this)},gv.prototype.setMap=function(t){mv(this),Gr.prototype.setMap.call(this,t),this.c()&&bv(this)};var wv="addfeatures";function xv(t,e,o,i){Ee.call(this,t),this.features=o,this.file=e,this.projection=i}function Sv(t){t=t||{},tn.call(this,{handleDownEvent:Av,handleDragEvent:Mv,handleUpEvent:Pv}),this.l=t.condition?t.condition:Jr,this.a=this.g=void 0,this.j=0,this.u=void 0!==t.duration?t.duration:400}function Mv(t){if($r(t)){var e=t.map,o=e.Ob(),i=t.pixel;t=i[0]-o[0]/2,i=o[1]/2-i[1],o=Math.atan2(i,t),t=Math.sqrt(t*t+i*i),(e=e.Z()).g.rotation!==Pi&&void 0!==this.g&&(i=o-this.g,Br(e,e.Qa()-i)),this.g=o,void 0!==this.a&&(o=this.a*(e.Pa()/t),Vr(e,o)),void 0!==this.a&&(this.j=this.a/t),this.a=t}}function Pv(t){if(!$r(t))return!0;Dr(t=t.map.Z(),1,-1);var e=this.j-1,o=t.Qa();o=t.constrainRotation(o,0);Br(t,o,void 0,void 0);o=t.Pa();var i=this.u;o=t.constrainResolution(o,0,e);return Vr(t,o,void 0,i),this.j=0,!1}function Av(t){return!(!$r(t)||!this.l(t))&&(Dr(t.map.Z(),1,1),this.a=this.g=void 0,!0)}function Ev(t,e,o,i){this.fb=t,this.Ua=e,this.overlaps=i,this.c=0,this.resolution=o,this.ra=this.oa=null,this.a=[],this.coordinates=[],this.T=[1,0,0,1,0,0],this.b=[],this.B=null,this.fa=[1,0,0,1,0,0],this.na=[1,0,0,1,0,0]}function Tv(t,e,o,i,r,n,p){var s=t.coordinates.length,a=t.Sf();p&&(o+=r),p=[e[o],e[o+1]];var h,l=[NaN,NaN],u=!0;for(h=o+r;h<i;h+=r){l[0]=e[h],l[1]=e[h+1];var c=X(a,l);u=c!==y?(u&&(t.coordinates[s++]=p[0],t.coordinates[s++]=p[1]),t.coordinates[s++]=l[0],t.coordinates[s++]=l[1],!1):1!==c||(t.coordinates[s++]=l[0],t.coordinates[s++]=l[1],!1),p[0]=l[0],p[1]=l[1];var y=c}return(n&&u||h===o+r)&&(t.coordinates[s++]=p[0],t.coordinates[s++]=p[1]),s}function jv(t,e){t.oa=[0,e,0],t.a.push(t.oa),t.ra=[0,e,0],t.b.push(t.ra)}function Cv(t,e,o,i,r,n,p,s,a){if(t.B&&U(i,t.T))var h=t.B;else t.B||(t.B=[]),h=Vi(t.coordinates,0,t.coordinates.length,2,i,t.B),tp(t.T,i);i=!gt(n);for(var l,u,c,y,f,g=0,d=p.length,v=0,b=t.fa,m=t.na,w=0,x=0,S=t.a!=p||t.overlaps?0:200;g<d;){var M=p[g];switch(M[0]){case 0:v=M[1],i&&n[G(v).toString()]||!v.V()?g=M[2]:void 0===a||at(a,v.V().G())?++g:g=M[2]+1;break;case 1:S<w&&(t.Va(e,r),w=0),S<x&&(e.stroke(),x=0),w||x||(e.beginPath(),u=c=NaN),++g;break;case 2:l=h[v=M[1]],M=h[v+1],y=h[v+2]-l,v=h[v+3]-M,v=Math.sqrt(y*y+v*v),e.moveTo(l+v,M),e.arc(l,M,v,0,2*Math.PI,!0),++g;break;case 3:e.closePath(),++g;break;case 4:v=M[1],l=M[2];var P=M[3],A=M[4]*o,E=M[5]*o,T=M[6],j=M[7],C=M[8],L=M[9],R=M[10];y=M[11],f=M[12];var I=M[13],N=M[14];for(R&&(y+=r);v<l;v+=2){if(M=h[v]-A,R=h[v+1]-E,I&&(M=Math.round(M),R=Math.round(R)),1!=f||y){var F=M+A;np(b,F,k=R+E,f,f,y,-F,-k),e.setTransform.apply(e,b)}F=e.globalAlpha,1!=j&&(e.globalAlpha=F*j);var k=N+C>P.width?P.width-C:N,D=T+L>P.height?P.height-L:T;e.drawImage(P,C,L,k,D,M,R,k*o,D*o),1!=j&&(e.globalAlpha=F),1==f&&!y||e.setTransform.apply(e,m)}++g;break;case 5:for(v=M[1],l=M[2],E=M[3],T=M[4]*o,j=M[5]*o,y=M[6],f=M[7]*o,P=M[8],A=M[9],(R=M[10])&&(y+=r);v<l;v+=2){for(M=h[v]+T,R=h[v+1]+j,1==f&&!y||(np(b,M,R,f,f,y,-M,-R),e.setTransform.apply(e,b)),1<(L=(C=E.split("\n")).length)?R-=(L-1)/2*(I=Math.round(1.5*e.measureText("M").width)):I=0,N=0;N<L;N++)F=C[N],A&&e.strokeText(F,M,R),P&&e.fillText(F,M,R),R+=I;1==f&&!y||e.setTransform.apply(e,m)}++g;break;case 6:if(s&&(v=s(v=M[1])))return v;++g;break;case 7:S?w++:t.Va(e,r),++g;break;case 8:for(v=M[1],l=M[2],M=h[v],f=(R=h[v+1])+.5|0,(y=M+.5|0)===u&&f===c||(e.moveTo(M,R),u=y,c=f),v+=2;v<l;v+=2)y=(M=h[v])+.5|0,f=(R=h[v+1])+.5|0,v!=l-2&&y===u&&f===c||(e.lineTo(M,R),u=y,c=f);++g;break;case 9:t.R=M[2],w&&(t.Va(e,r),w=0,x&&(e.stroke(),x=0)),e.fillStyle=M[1],++g;break;case 10:v=void 0===M[8]||M[8];var O=M[9];l=M[2],x&&(e.stroke(),x=0),e.strokeStyle=M[1],e.lineWidth=v?l*o:l,e.lineCap=M[3],e.lineJoin=M[4],e.miterLimit=M[5],ko&&(l=M[6],y=M[7],v&&o!==O&&(l=l.map(function(t){return t*o/O}),y*=o/O,M[6]=l,M[7]=y,M[9]=o),e.lineDashOffset=y,e.setLineDash(l)),++g;break;case 11:e.font=M[1],e.textAlign=M[2],e.textBaseline=M[3],++g;break;case 12:S?x++:e.stroke(),++g;break;default:++g}}w&&t.Va(e,r),x&&e.stroke()}function Lv(t){var e=t.b;e.reverse();var o,i=e.length,r=-1;for(o=0;o<i;++o){var n=e[o],p=n[0];if(6==p)r=o;else if(0==p){for(n[2]=o,n=t.b,p=o;r<p;){var s=n[r];n[r]=n[p],n[p]=s,++r,--p}r=-1}}}function Rv(t,e){t.oa[2]=t.a.length,t.oa=null,t.ra[2]=t.b.length,t.ra=null,e=[6,e],t.a.push(e),t.b.push(e)}function Iv(t,e,o,i){Ev.call(this,t,e,o,i),this.M=this.I=null,this.C=this.D=this.S=this.u=this.v=this.l=this.o=this.j=this.g=this.f=this.i=void 0}function Nv(t,e,o,i){Ev.call(this,t,e,o,i),this.f=null,this.i={Md:void 0,Gd:void 0,Hd:null,Id:void 0,Jd:void 0,Kd:void 0,Ld:void 0,eg:0,strokeStyle:void 0,lineCap:void 0,lineDash:null,lineDashOffset:void 0,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0}}function Fv(t,e,o,i,r){var n=t.coordinates.length;return n=[8,n,e=Tv(t,e,o,i,r,!1,!1)],t.a.push(n),t.b.push(n),i}function kv(t){var e=t.i,o=e.strokeStyle,i=e.lineCap,r=e.lineDash,n=e.lineDashOffset,p=e.lineJoin,s=e.lineWidth,a=e.miterLimit;e.Md==o&&e.Gd==i&&U(e.Hd,r)&&e.Id==n&&e.Jd==p&&e.Kd==s&&e.Ld==a||(e.eg!=t.coordinates.length&&(t.a.push([12]),e.eg=t.coordinates.length),t.a.push([10,o,s,i,p,a,r,n,!0,1],[1]),e.Md=o,e.Gd=i,e.Hd=r,e.Id=n,e.Jd=p,e.Kd=s,e.Ld=a)}function Dv(t,e,o,i){Ev.call(this,t,e,o,i),this.f=null,this.i={oh:void 0,Md:void 0,Gd:void 0,Hd:null,Id:void 0,Jd:void 0,Kd:void 0,Ld:void 0,fillStyle:void 0,strokeStyle:void 0,lineCap:void 0,lineDash:null,lineDashOffset:void 0,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0}}function Ov(t,e,o,i,r){var n=void 0!==(p=t.i).fillStyle,p=null!=p.strokeStyle,s=i.length,a=[1];for(t.a.push(a),t.b.push(a),a=0;a<s;++a){var h=i[a];o=[8,t.coordinates.length,o=Tv(t,e,o,h,r,!0,!p)],t.a.push(o),t.b.push(o),p&&(o=[3],t.a.push(o),t.b.push(o)),o=h}return e=[7],t.b.push(e),n&&t.a.push(e),p&&(n=[12],t.a.push(n),t.b.push(n)),o}function Uv(t,e){var o=t.i,i=o.fillStyle,r=o.strokeStyle,n=o.lineCap,p=o.lineDash,s=o.lineDashOffset,a=o.lineJoin,h=o.lineWidth,l=o.miterLimit;if(void 0!==i&&("string"!=typeof i||o.oh!=i)){var u=[9,i];"string"!=typeof i&&(e=e.G(),u.push([e[0],e[3]])),t.a.push(u),o.oh=o.fillStyle}void 0===r||o.Md==r&&o.Gd==n&&U(o.Hd,p)&&o.Id==s&&o.Jd==a&&o.Kd==h&&o.Ld==l||(t.a.push([10,r,h,n,a,l,p,s,!0,1]),o.Md=r,o.Gd=n,o.Hd=p,o.Id=s,o.Jd=a,o.Kd=h,o.Ld=l)}function Gv(t,e,o,i){Ev.call(this,t,e,o,i),this.C=this.D=this.S=null,this.Ia="",this.o=this.j=0,this.l=void 0,this.u=this.v=0,this.g=this.f=this.i=null}function Bv(t,e,o,i,r){this.v=t,this.c=e,this.o=i,this.l=o,this.f=r,this.a={},this.g=Je(1,1),this.j=[1,0,0,1,0,0]}s(xv,Ee),s(Sv,tn),s(Ev,bp),Ev.prototype.Va=function(t,e){if(this.R){var o=ep(this.T,this.R.slice());t.translate(o[0],o[1]),t.rotate(e)}t.fill(),this.R&&t.setTransform.apply(t,this.na)},Ev.prototype.La=function(t,e,o,i,r){Cv(this,t,e,o,i,r,this.a,void 0,void 0)},Ev.prototype.Te=m,Ev.prototype.Sf=function(){return this.Ua},s(Iv,Ev),Iv.prototype.qc=function(t,e){if(this.M){jv(this,e);var o=t.ga(),i=this.coordinates.length;t=Tv(this,o,0,o.length,t.qa(),!1,!1),this.a.push([4,i,t,this.M,this.i,this.f,this.g,this.j,this.o,this.l,this.v,this.u,this.S,this.D,this.C]),this.b.push([4,i,t,this.I,this.i,this.f,this.g,this.j,this.o,this.l,this.v,this.u,this.S,this.D,this.C]),Rv(this,e)}},Iv.prototype.oc=function(t,e){if(this.M){jv(this,e);var o=t.ga(),i=this.coordinates.length;t=Tv(this,o,0,o.length,t.qa(),!1,!1),this.a.push([4,i,t,this.M,this.i,this.f,this.g,this.j,this.o,this.l,this.v,this.u,this.S,this.D,this.C]),this.b.push([4,i,t,this.I,this.i,this.f,this.g,this.j,this.o,this.l,this.v,this.u,this.S,this.D,this.C]),Rv(this,e)}},Iv.prototype.Te=function(){Lv(this),this.f=this.i=void 0,this.M=this.I=null,this.C=this.D=this.u=this.v=this.l=this.o=this.j=this.S=this.g=void 0},Iv.prototype.Ub=function(t){var e=t.Hc(),o=t.ic(),i=t.qg(1),r=t.Y(1),n=t.Oc();this.i=e[0],this.f=e[1],this.I=i,this.M=r,this.g=o[1],this.j=t.f,this.o=n[0],this.l=n[1],this.v=t.l,this.u=t.g,this.S=t.a,this.D=t.v,this.C=o[0]},s(Nv,Ev),(t=Nv.prototype).Sf=function(){return this.f||(this.f=j(this.Ua),0<this.c&&T(this.f,this.resolution*(this.c+1)/2,this.f)),this.f},t.mc=function(t,e){var o=this.i,i=o.lineWidth;void 0!==o.strokeStyle&&void 0!==i&&(kv(this),jv(this,e),this.b.push([10,o.strokeStyle,o.lineWidth,o.lineCap,o.lineJoin,o.miterLimit,o.lineDash,o.lineDashOffset,!0,1],[1]),Fv(this,o=t.ga(),0,o.length,t.qa()),this.b.push([12]),Rv(this,e))},t.nc=function(t,e){var o=this.i,i=o.lineWidth;if(void 0!==o.strokeStyle&&void 0!==i){kv(this),jv(this,e),this.b.push([10,o.strokeStyle,o.lineWidth,o.lineCap,o.lineJoin,o.miterLimit,o.lineDash,o.lineDashOffset,!0,1],[1]),o=t.Bb(),i=t.ga(),t=t.qa();var r,n=0,p=0;for(r=o.length;p<r;++p)n=Fv(this,i,n,o[p],t);this.b.push([12]),Rv(this,e)}},t.Te=function(){this.i.eg!=this.coordinates.length&&this.a.push([12]),Lv(this),this.i=null},t.Ma=function(t,e){t=e.a,this.i.strokeStyle=qe(t||dp),t=e.f,this.i.lineCap=void 0!==t?t:"round",t=e.i,this.i.lineDash=t||gp,t=e.g,this.i.lineDashOffset=t||0,t=e.j,this.i.lineJoin=void 0!==t?t:"round",t=e.c,this.i.lineWidth=void 0!==t?t:1,e=e.o,this.i.miterLimit=void 0!==e?e:10,this.i.lineWidth>this.c&&(this.c=this.i.lineWidth,this.f=null)},s(Dv,Ev),(t=Dv.prototype).Zb=function(t,e){var o=this.i,i=o.strokeStyle;if(void 0!==o.fillStyle||void 0!==i){Uv(this,t),jv(this,e),this.b.push([9,Ze(fp)]),void 0!==o.strokeStyle&&this.b.push([10,o.strokeStyle,o.lineWidth,o.lineCap,o.lineJoin,o.miterLimit,o.lineDash,o.lineDashOffset,!0,1]);var r=t.ga();i=this.coordinates.length;Tv(this,r,0,r.length,t.qa(),!1,!1),t=[1],i=[2,i],this.a.push(t,i),this.b.push(t,i),t=[7],this.b.push(t),void 0!==o.fillStyle&&this.a.push(t),void 0!==o.strokeStyle&&(o=[12],this.a.push(o),this.b.push(o)),Rv(this,e)}},t.rc=function(t,e){var o=this.i;Uv(this,t),jv(this,e),this.b.push([9,Ze(fp)]),void 0!==o.strokeStyle&&this.b.push([10,o.strokeStyle,o.lineWidth,o.lineCap,o.lineJoin,o.miterLimit,o.lineDash,o.lineDashOffset,!0,1]);o=t.Bb();Ov(this,t.ec(),0,o,t.qa()),Rv(this,e)},t.pc=function(t,e){var o=this.i,i=o.strokeStyle;if(void 0!==o.fillStyle||void 0!==i){Uv(this,t),jv(this,e),this.b.push([9,Ze(fp)]),void 0!==o.strokeStyle&&this.b.push([10,o.strokeStyle,o.lineWidth,o.lineCap,o.lineJoin,o.miterLimit,o.lineDash,o.lineDashOffset,!0,1]),o=t.c,i=wl(t),t=t.qa();var r,n=0,p=0;for(r=o.length;p<r;++p)n=Ov(this,i,n,o[p],t);Rv(this,e)}},t.Te=function(){Lv(this),this.i=null;var t=this.fb;if(t){var e,o=this.coordinates,i=0;for(e=o.length;i<e;++i)o[i]=t*Math.round(o[i]/t)}},t.Sf=function(){return this.f||(this.f=j(this.Ua),0<this.c&&T(this.f,this.resolution*(this.c+1)/2,this.f)),this.f},t.Ma=function(t,e){var o=this.i;t?(t=t.b,o.fillStyle=qe(t||fp)):o.fillStyle=void 0,e?(t=e.a,o.strokeStyle=qe(t||dp),t=e.f,o.lineCap=void 0!==t?t:"round",t=e.i,o.lineDash=t?t.slice():gp,t=e.g,o.lineDashOffset=t||0,t=e.j,o.lineJoin=void 0!==t?t:"round",t=e.c,o.lineWidth=void 0!==t?t:1,e=e.o,o.miterLimit=void 0!==e?e:10,o.lineWidth>this.c&&(this.c=o.lineWidth,this.f=null)):(o.strokeStyle=void 0,o.lineCap=void 0,o.lineDash=null,o.lineDashOffset=void 0,o.lineJoin=void 0,o.lineWidth=void 0,o.miterLimit=void 0)},s(Gv,Ev),Gv.prototype.yc=function(t,e,o,i,r,n){if(""!==this.Ia&&this.g&&(this.i||this.f)){if(this.i){r=this.i;var p=this.S;if(!p||p.fillStyle!=r.fillStyle){var s=[9,r.fillStyle];this.a.push(s),this.b.push(s),p?p.fillStyle=r.fillStyle:this.S={fillStyle:r.fillStyle}}}this.f&&(r=this.f,(p=this.D)&&p.lineCap==r.lineCap&&p.lineDash==r.lineDash&&p.lineDashOffset==r.lineDashOffset&&p.lineJoin==r.lineJoin&&p.lineWidth==r.lineWidth&&p.miterLimit==r.miterLimit&&p.strokeStyle==r.strokeStyle||(s=[10,r.strokeStyle,r.lineWidth,r.lineCap,r.lineJoin,r.miterLimit,r.lineDash,r.lineDashOffset,!1,1],this.a.push(s),this.b.push(s),p?(p.lineCap=r.lineCap,p.lineDash=r.lineDash,p.lineDashOffset=r.lineDashOffset,p.lineJoin=r.lineJoin,p.lineWidth=r.lineWidth,p.miterLimit=r.miterLimit,p.strokeStyle=r.strokeStyle):this.D={lineCap:r.lineCap,lineDash:r.lineDash,lineDashOffset:r.lineDashOffset,lineJoin:r.lineJoin,lineWidth:r.lineWidth,miterLimit:r.miterLimit,strokeStyle:r.strokeStyle})),r=this.g,(p=this.C)&&p.font==r.font&&p.textAlign==r.textAlign&&p.textBaseline==r.textBaseline||(s=[11,r.font,r.textAlign,r.textBaseline],this.a.push(s),this.b.push(s),p?(p.font=r.font,p.textAlign=r.textAlign,p.textBaseline=r.textBaseline):this.C={font:r.font,textAlign:r.textAlign,textBaseline:r.textBaseline}),jv(this,n),t=[5,r=this.coordinates.length,t=Tv(this,t,e,o,i,!1,!1),this.Ia,this.j,this.o,this.v,this.u,!!this.i,!!this.f,this.l],this.a.push(t),this.b.push(t),Rv(this,n)}},Gv.prototype.Cb=function(t){if(t){if((e=t.Fa())?(e=qe((e=e.b)||fp),this.i?this.i.fillStyle=e:this.i={fillStyle:e}):this.i=null,s=t.Ga()){var e=s.a,o=s.f,i=s.i,r=s.g,n=s.j,p=s.c,s=s.o;o=void 0!==o?o:"round",i=i?i.slice():gp,r=void 0!==r?r:0,n=void 0!==n?n:"round",p=void 0!==p?p:1,s=void 0!==s?s:10,e=qe(e||dp);if(this.f)(h=this.f).lineCap=o,h.lineDash=i,h.lineDashOffset=r,h.lineJoin=n,h.lineWidth=p,h.miterLimit=s,h.strokeStyle=e;else this.f={lineCap:o,lineDash:i,lineDashOffset:r,lineJoin:n,lineWidth:p,miterLimit:s,strokeStyle:e}}else this.f=null;var a=t.a,h=(e=t.i,o=t.c,i=t.o,p=t.f,s=t.b,r=t.Na(),n=t.g,t.j);t=void 0!==a?a:"10px sans-serif",n=void 0!==n?n:"center",h=void 0!==h?h:"middle",this.g?((a=this.g).font=t,a.textAlign=n,a.textBaseline=h):this.g={font:t,textAlign:n,textBaseline:h},this.Ia=void 0!==r?r:"",this.j=void 0!==e?e:0,this.o=void 0!==o?o:0,this.l=void 0!==i&&i,this.v=void 0!==p?p:0,this.u=void 0!==s?s:1}else this.Ia=""},s(Bv,Cp);var Xv={0:[[!0]]};function Vv(t,e,o){var i,r=Math.floor(t.length/2);if(r<=e)for(i=r;i<e;i++)t[i][o]=!0;else if(e<r)for(i=e+1;i<r;i++)t[i][o]=!0}function Wv(t){for(var e in t.a){var o,i=t.a[e];for(o in i)i[o].Te()}}function Zv(t,e){t=(o=t.c)[0];var o,i=o[1],r=o[2];return Vi(t=[t,i,t,o=o[3],r,o,r,i],0,8,2,e,t),t}Bv.prototype.Ea=function(t,e,o,i,r,n){var p=2*(i=Math.round(i))+1,s=np(this.j,i+.5,i+.5,1/e,-1/e,-o,-t[0],-t[1]),a=this.g;if(a.canvas.width!==p||a.canvas.height!==p?(a.canvas.width=p,a.canvas.height=p):a.clearRect(0,0,p,p),void 0!==this.f){var h=[1/0,1/0,-1/0,-1/0];q(h,t),T(h,e*(this.f+i),h)}var l=function(t){if(void 0!==Xv[t])return Xv[t];for(var e=2*t+1,o=Array(e),i=0;i<e;i++)o[i]=Array(e);e=t;for(var r=i=0;i<=e;)Vv(o,t+e,t+i),Vv(o,t+i,t+e),Vv(o,t-i,t+e),Vv(o,t-e,t+i),Vv(o,t-e,t-i),Vv(o,t-i,t-e),Vv(o,t+i,t-e),Vv(o,t+e,t-i),0<2*((r+=1+2*++i)-e)+1&&(r+=1-2*--e);return Xv[t]=o}(i);return function(t,e,o,i,r,n,p){var s,a,h=Object.keys(t.a).map(Number);h.sort(function(t,e){return e-t});var l=0;for(s=h.length;l<s;++l){var u=t.a[h[l].toString()];for(a=jp.length-1;0<=a;--a){var c=u[jp[a]];if(void 0!==c&&(c=Cv(c,e,1,o,i,r,c.b,n,p)))return c}}}(this,a,s,o,r,function(t){for(var e=a.getImageData(0,0,p,p).data,o=0;o<p;o++)for(var i=0;i<p;i++)if(l[o][i]&&0<e[4*(i*p+o)+3])return(t=n(t))?t:void a.clearRect(0,0,p,p)},h)},Bv.prototype.b=function(t,e){var o=void 0!==t?t.toString():"0";return void 0===(t=this.a[o])&&(t={},this.a[o]=t),void 0===(o=t[e])&&(o=new Kv[e](this.v,this.c,this.l,this.o),t[e]=o),o},Bv.prototype.i=function(){return gt(this.a)},Bv.prototype.La=function(t,e,o,i,r,n){var p=Object.keys(this.a).map(Number);p.sort(N);var s=Zv(this,o);t.save(),t.beginPath(),t.moveTo(s[0],s[1]),t.lineTo(s[2],s[3]),t.lineTo(s[4],s[5]),t.lineTo(s[6],s[7]),t.clip(),n=n||jp;var a,h;s=0;for(a=p.length;s<a;++s){var l=this.a[p[s].toString()],u=0;for(h=n.length;u<h;++u){var c=l[n[u]];void 0!==c&&c.La(t,e,o,i,r)}}t.restore()};var Kv={Circle:Dv,Image:Iv,LineString:Nv,Polygon:Dv,Text:Gv};function zv(t){Le.call(this),this.a=t}function Yv(t,e){var o=e.getState();return 2!=o&&3!=o&&me(e,"change",t.na,t),0==o&&(e.load(),o=e.getState()),2==o}function Hv(t){var e=t.a;e.Mb()&&"ready"==e.$f()&&t.s()}function qv(t,e){e.Ki()&&t.postRenderFunctions.push(function(t,e,o){e=G(t).toString(),t.fd(o.viewState.projection,o.usedTiles[e])}.bind(null,e))}function Jv(t,e){if(e){var o,i=0;for(o=e.length;i<o;++i){var r=e[i];t[G(r).toString()]=r}}}function _v(t,e){void 0!==(e=e.D)&&("string"==typeof e?t.logos[e]="":e&&(R("string"==typeof e.href,44),R("string"==typeof e.src,45),t.logos[e.src]=e.href))}function $v(t,e,o,i){e=G(e).toString(),o=o.toString(),e in t?o in t[e]?(t=t[e][o],i.ca<t.ca&&(t.ca=i.ca),i.$>t.$&&(t.$=i.$),i.da<t.da&&(t.da=i.da),i.ia>t.ia&&(t.ia=i.ia)):t[e][o]=i:(t[e]={},t[e][o]=i)}function Qv(t,e,o,i,r,n,p,s,a,h){var l=G(e).toString();l in t.wantedTiles||(t.wantedTiles[l]={});var u=t.wantedTiles[l];t=t.tileQueue;var c,y,f,g=o.minZoom;for(f=p;g<=f;--f){var d=re(o,n,f,d),v=o.Da(f);for(c=d.ca;c<=d.$;++c)for(y=d.da;y<=d.ia;++y)if(p-f<=s){var b=e.Nc(f,c,y,i,r);0==b.getState()&&(u[b.bb()]=!0,b.bb()in t.a||t.f([b,l,ne(o,b.ta),v])),a&&a.call(h,b)}else e.Ug(f,c,y,r)}}function tb(t){zv.call(this,t),this.fa=[1,0,0,1,0,0]}function eb(t,e,o){var i=e.pixelRatio,r=e.size[0]*i,n=e.size[1]*i,p=e.viewState.rotation,s=nt(o),a=pt(o),h=tt(o);o=Q(o),ep(e.coordinateToPixelTransform,s),ep(e.coordinateToPixelTransform,a),ep(e.coordinateToPixelTransform,h),ep(e.coordinateToPixelTransform,o),t.save(),vp(t,-p,r/2,n/2),t.beginPath(),t.moveTo(s[0]*i,s[1]*i),t.lineTo(a[0]*i,a[1]*i),t.lineTo(h[0]*i,h[1]*i),t.lineTo(o[0]*i,o[1]*i),t.clip(),vp(t,p,r/2,n/2)}function ob(t,e,o,i,r){var n=t.a;if(Ce(n,e)){var p=i.size[0]*i.pixelRatio,s=i.size[1]*i.pixelRatio,a=i.viewState.rotation;vp(o,-a,p/2,s/2),t=r||ib(t,i,0),n.b(new yp(e,new mp(o,i.pixelRatio,i.extent,t,i.viewState.rotation),i,o,null)),vp(o,a,p/2,s/2)}}function ib(t,e,o){var i=e.viewState,r=e.pixelRatio,n=r/i.resolution;return np(t.fa,r*e.size[0]/2,r*e.size[1]/2,n,-n,-i.rotation,-i.center[0]+o,-i.center[1])}function rb(t,e){return G(t)-G(e)}function nb(t,e){return(t=.5*t/e)*t}function pb(t,e,o,i,r,n){var p,s=!1;if(p=o.Y()){var a=p.Ye();2==a||3==a?p.Bj(r,n):(0==a&&p.load(),p.Nh(r,n),s=!0)}return(r=(0,o.Za)(e))&&(i=r.Vd(i),(0,sb[i.U()])(t,i,o,e)),s}s(zv,Le),zv.prototype.Ea=m,zv.prototype.Ue=Bi,zv.prototype.Nf=function(o,i,r){return function(e,t){return Pw(o,i,e,t,function(t){r[e]||(r[e]={}),r[e][t.ta.toString()]=t})}},zv.prototype.na=function(t){2===t.target.getState()&&Hv(this)},s(tb,zv),tb.prototype.u=function(t,e,o,i){if(this.Ea(t,e,0,Gi,this))return o.call(i,this.a,null)},tb.prototype.ef=function(t,e,o,i){ob(this,"postcompose",t,e,i)};var sb={Point:function(t,e,o,i){var r=o.Y();if(r){if(2!=r.Ye())return;var n=t.b(o.Ba(),"Image");n.Ub(r),n.qc(e,i)}(r=o.Na())&&((t=t.b(o.Ba(),"Text")).Cb(r),t.yc(e.ga(),0,2,2,e,i))},LineString:function(t,e,o,i){var r=o.Ga();if(r){var n=t.b(o.Ba(),"LineString");n.Ma(null,r),n.mc(e,i)}(r=o.Na())&&((t=t.b(o.Ba(),"Text")).Cb(r),t.yc(yl(e),0,2,2,e,i))},Polygon:function(t,e,o,i){var r=o.Fa(),n=o.Ga();if(r||n){var p=t.b(o.Ba(),"Polygon");p.Ma(r,n),p.rc(e,i)}(r=o.Na())&&((t=t.b(o.Ba(),"Text")).Cb(r),t.yc(Mr(e),0,2,2,e,i))},MultiPoint:function(t,e,o,i){var r=o.Y();if(r){if(2!=r.Ye())return;var n=t.b(o.Ba(),"Image");n.Ub(r),n.oc(e,i)}(r=o.Na())&&((t=t.b(o.Ba(),"Text")).Cb(r),o=e.ga(),t.yc(o,0,o.length,e.qa(),e,i))},MultiLineString:function(t,e,o,i){var r=o.Ga();if(r){var n=t.b(o.Ba(),"LineString");n.Ma(null,r),n.nc(e,i)}(r=o.Na())&&((t=t.b(o.Ba(),"Text")).Cb(r),o=gl(e),t.yc(o,0,o.length,2,e,i))},MultiPolygon:function(t,e,o,i){var r=o.Fa(),n=o.Ga();if(n||r){var p=t.b(o.Ba(),"Polygon");p.Ma(r,n),p.pc(e,i)}(r=o.Na())&&((t=t.b(o.Ba(),"Text")).Cb(r),o=ml(e),t.yc(o,0,o.length,2,e,i))},GeometryCollection:function(t,e,o,i){var r,n=0;for(r=(e=e.a).length;n<r;++n)(0,sb[e[n].U()])(t,e[n],o,i)},Circle:function(t,e,o,i){var r=o.Fa(),n=o.Ga();if(r||n){var p=t.b(o.Ba(),"Circle");p.Ma(r,n),p.Zb(e,i)}(r=o.Na())&&((t=t.b(o.Ba(),"Text")).Cb(r),t.yc(e.wa(),0,2,2,e,i))}};function ab(t){tb.call(this,t),this.c=!1,this.v=-1,this.l=NaN,this.j=[1/0,1/0,-1/0,-1/0],this.f=this.o=null,this.g=Je()}function hb(){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;}"}s(ab,tb),ab.prototype.S=function(t,e,o){var i=t.extent,r=t.pixelRatio,n=e.Je?t.skippedFeatureUids:{},p=(s=t.viewState).projection,s=s.rotation,a=p.G(),h=this.a.ha(),l=ib(this,t,0);ob(this,"precompose",o,t,l);var u=e.extent,c=void 0!==u;if(c&&eb(o,t,u),(u=this.f)&&!u.i()){var y=0,f=0;if(Ce(this.a,"render")){var g=o.canvas.width,d=o.canvas.height;if(s){y=((v=Math.round(Math.sqrt(g*g+d*d)))-g)/2,f=(v-d)/2;g=d=v}this.g.canvas.width=g,this.g.canvas.height=d,g=this.g}else g=o;d=g.globalAlpha,g.globalAlpha=e.opacity,g!=o&&g.translate(y,f);var v=t.size[0]*r,b=t.size[1]*r;if(vp(g,-s,v/2,b/2),u.La(g,r,l,s,n),h.u&&p.i&&!O(a,i)){p=i[0],h=st(a);for(var m=0;p<a[0];)l=ib(this,t,l=h*--m),u.La(g,r,l,s,n),p+=h;for(m=0,p=i[2];p>a[2];)l=ib(this,t,l=h*++m),u.La(g,r,l,s,n),p-=h;l=ib(this,t,0)}vp(g,s,v/2,b/2),g!=o&&(ob(this,"render",g,t,l),o.drawImage(g.canvas,-y,-f),g.translate(-y,-f)),g.globalAlpha=d}c&&o.restore(),this.ef(o,t,e,l)},ab.prototype.Ea=function(t,e,o,i,r){if(this.f){var n=this.a,p={};return this.f.Ea(t,e.viewState.resolution,e.viewState.rotation,o,{},function(t){var e=G(t).toString();if(!(e in p))return p[e]=!0,i.call(r,t,n)})}},ab.prototype.D=function(){Hv(this)},ab.prototype.sd=function(t){function e(t){var e=t.Lc();if(e)var o=e.call(t,h);else(e=n.f)&&(o=e(t,h));if(o){if(o){if(e=!1,Array.isArray(o))for(var i=0,r=o.length;i<r;++i)e=pb(c,t,o[i],nb(h,l),this.D,this)||e;else e=pb(c,t,o,nb(h,l),this.D,this)||e;t=e}else t=!1;this.c=this.c||t}}var n=this.a,o=n.ha();Jv(t.attributions,o.j),_v(t,o);var i=t.viewHints[0],r=t.viewHints[1],p=n.T,s=n.na;if(!this.c&&!p&&i||!s&&r)return!0;var a=t.extent,h=(i=(s=t.viewState).projection,s.resolution),l=t.pixelRatio,u=(r=n.i,n.c);if(void 0===(p=n.get(bb))&&(p=rb),a=T(a,u*h),u=s.projection.G(),o.u&&s.projection.i&&!O(u,t.extent)&&(t=Math.max(st(a)/2,st(u)),a[0]=u[0]-t,a[2]=u[2]+t),!this.c&&this.l==h&&this.v==r&&this.o==p&&O(this.j,a))return!0;this.f=null,this.c=!1;var c=new Bv(.5*h/l,a,h,o.T,n.c);if(o.Yd(a,h,i),p){var y=[];o.$b(a,function(t){y.push(t)},this),y.sort(p),y.forEach(e,this)}else o.$b(a,e,this);return Wv(c),this.l=h,this.v=r,this.o=p,this.j=a,this.f=c,!0},s(hb,Rp);var lb=new hb;function ub(){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;}"}s(ub,Ip);var cb=new ub;function yb(t,e){this.i=t.getUniformLocation(e,"f"),this.c=t.getUniformLocation(e,"e"),this.g=t.getUniformLocation(e,"d"),this.f=t.getUniformLocation(e,"g"),this.b=t.getAttribLocation(e,"b"),this.a=t.getAttribLocation(e,"c")}function fb(t,e){zv.call(this,e),this.c=t,this.T=new zp([-1,-1,0,0,1,-1,1,0,-1,1,0,1,1,1,1,1]),this.g=this.Ib=null,this.j=void 0,this.v=[1,0,0,1,0,0],this.S=[1,0,0,1,0,0],this.C=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],this.u=null}function gb(t,e,o,i){if(Ce(t=t.a,e)){var r=i.viewState;t.b(new yp(e,new Ua(o,r.center,r.resolution,r.rotation,i.size,i.extent,i.pixelRatio),i,null,o))}}function db(t,e){fb.call(this,t,e),this.l=!1,this.R=-1,this.I=NaN,this.D=[1/0,1/0,-1/0,-1/0],this.o=this.f=this.B=null}function vb(t){var e=ct({},t=t||{});delete e.style,delete e.renderBuffer,delete e.updateWhileAnimating,delete e.updateWhileInteracting,zn.call(this,e),this.c=void 0!==t.renderBuffer?t.renderBuffer:100,this.u=null,this.f=void 0,this.g(t.style),this.T=void 0!==t.updateWhileAnimating&&t.updateWhileAnimating,this.na=void 0!==t.updateWhileInteracting&&t.updateWhileInteracting}s(fb,zv),fb.prototype.Gi=function(t,e,o){gb(this,"precompose",o,t),os(o,34962,this.T);var i=o.b,r=ps(o,lb,cb);if(this.u)var n=this.u;else this.u=n=new yb(i,r);o.Qc(r)&&(i.enableVertexAttribArray(n.b),i.vertexAttribPointer(n.b,2,5126,!1,16,0),i.enableVertexAttribArray(n.a),i.vertexAttribPointer(n.a,2,5126,!1,16,8),i.uniform1i(n.f,0)),i.uniformMatrix4fv(n.g,!1,Up(this.C,this.v)),i.uniformMatrix4fv(n.c,!1,Up(this.C,this.S)),i.uniform1f(n.i,e.opacity),i.bindTexture(3553,this.Ib),i.drawArrays(5,0,4),gb(this,"postcompose",o,t)},fb.prototype.mg=function(){this.g=this.Ib=null,this.j=void 0},s(db,fb),(t=db.prototype).Gi=function(t,e,o){this.o=e;var i=t.viewState,r=this.f,n=t.size,p=t.pixelRatio,s=this.c.i;r&&!r.i()&&(s.enable(s.SCISSOR_TEST),s.scissor(0,0,n[0]*p,n[1]*p),r.La(o,i.center,i.resolution,i.rotation,n,p,e.opacity,e.Je?t.skippedFeatureUids:{}),s.disable(s.SCISSOR_TEST))},t.ka=function(){var t=this.f;t&&(Fa(t,this.c.f)(),this.f=null),fb.prototype.ka.call(this)},t.Ea=function(t,e,o,i,r){if(this.f&&this.o){o=e.viewState;var n=this.a,p={};return this.f.Ea(t,this.c.f,o.center,o.resolution,o.rotation,e.size,e.pixelRatio,this.o.opacity,{},function(t){var e=G(t).toString();if(!(e in p))return p[e]=!0,i.call(r,t,n)})}},t.Ue=function(t,e){if(this.f&&this.o){var o=e.viewState;return function(t,e,o,i,r,n,p,s){var a=o.b;return a.bindFramebuffer(a.FRAMEBUFFER,rs(o)),void 0!==ka(t,o,e,i,r,n,p,s,function(){var t=new Uint8Array(4);return a.readPixels(0,0,1,1,a.RGBA,a.UNSIGNED_BYTE,t),0<t[3]},!1)}(this.f,t,this.c.f,o.resolution,o.rotation,e.pixelRatio,this.o.opacity,e.skippedFeatureUids)}return!1},t.lg=function(t,e,o,i){if(t=ep(e.pixelToCoordinateTransform,t.slice()),this.Ue(t,e))return o.call(i,this.a,null)},t.Hi=function(){Hv(this)},t.ng=function(t,e,o){function i(t){var e=t.Lc();if(e)var o=e.call(t,h);else(e=r.f)&&(o=e(t,h));if(o){if(o){if(e=!1,Array.isArray(o))for(var i=o.length-1;0<=i;--i)e=pb(c,t,o[i],nb(h,l),this.Hi,this)||e;else e=pb(c,t,o,nb(h,l),this.Hi,this)||e;t=e}else t=!1;this.l=this.l||t}}var r=this.a;e=r.ha(),Jv(t.attributions,e.j),_v(t,e);var n=t.viewHints[0],p=t.viewHints[1],s=r.T,a=r.na;if(!this.l&&!s&&n||!a&&p)return!0;p=t.extent,n=(s=t.viewState).projection;var h=s.resolution,l=t.pixelRatio,u=(s=r.i,r.c);if(void 0===(a=r.get(bb))&&(a=rb),p=T(p,u*h),!this.l&&this.I==h&&this.R==s&&this.B==a&&O(this.D,p))return!0;this.f&&t.postRenderFunctions.push(Fa(this.f,o)),this.l=!1;var c=new Na(.5*h/l,p,r.c);if(e.Yd(p,h,n),a){var y=[];e.$b(p,function(t){y.push(t)},this),y.sort(a),y.forEach(i,this)}else e.$b(p,i,this);return function(t,e){for(var o in t.a){var i,r=t.a[o];for(i in r)r[i].Db(e)}}(c,o),this.I=h,this.R=s,this.B=a,this.D=p,this.f=c,!0},s(vb,zn),vb.prototype.Fd=function(t){var e=null,o=t.U();return"canvas"===o?e=new ab(this):"webgl"===o&&(e=new db(t,this)),e},vb.prototype.D=function(){return this.u},vb.prototype.C=function(){return this.f},vb.prototype.g=function(t){this.u=void 0!==t?t:Rh,this.f=null===t?void 0:Ch(this.u),this.s()};var bb="renderOrder";function mb(){return[[-1/0,-1/0,1/0,1/0]]}function wb(t){Re.call(this),this.c=Wt(t.projection),this.j=xb(t.attributions),this.D=t.logo,this.na=void 0!==t.state?t.state:"ready",this.u=void 0!==t.wrapX&&t.wrapX}function xb(t){if("string"==typeof t)return[new ce({html:t})];if(t instanceof ce)return[t];if(Array.isArray(t)){for(var e=t.length,o=Array(e),i=0;i<e;i++){var r=t[i];o[i]="string"==typeof r?new ce({html:r}):r}return o}return null}function Sb(t,e){t.na=e,t.s()}function Mb(t){wb.call(this,{attributions:(t=t||{}).attributions,logo:t.logo,projection:void 0,state:"ready",wrapX:void 0===t.wrapX||t.wrapX}),this.B=m,this.C=t.format,this.T=null==t.overlaps||t.overlaps,this.I=t.url,t.loader?this.B=t.loader:void 0!==this.I&&(R(this.C,7),this.B=il(this.I,this.C)),this.fa=t.strategy?t.strategy:mb;var e=void 0===t.useSpatialIndex||t.useSpatialIndex;if(this.a=e?new ua:null,this.R=new ua,this.g={},this.o={},this.l={},this.v={},this.f=null,t.features instanceof De)var o=t.features,i=o.a;else Array.isArray(t.features)&&(i=t.features);e||o||(o=new De(i)),i&&Eb(this,i),o&&function(t,e){var o=!1;me(t,"addfeature",function(t){o||(o=!0,e.push(t.feature),o=!1)}),me(t,"removefeature",function(t){o||(o=!0,e.remove(t.feature),o=!1)}),me(e,"add",function(t){o||(o=!0,this.yb(t.element),o=!1)},t),me(e,"remove",function(t){o||(o=!0,this.Gb(t.element),o=!1)},t),t.f=e}(this,o)}function Pb(t,e,o){t.v[e]=[me(o,"change",t.Oi,t),me(o,"propertychange",t.Oi,t)]}function Ab(t,e,o){var i=!0,r=o.a;return void 0!==r?r.toString()in t.o?i=!1:t.o[r.toString()]=o:(R(!(e in t.l),30),t.l[e]=o),i}function Eb(t,e){var o,i=[],r=[],n=[],p=0;for(o=e.length;p<o;p++){var s=e[p],a=G(s).toString();Ab(t,a,s)&&r.push(s)}for(p=0,o=r.length;p<o;p++)Pb(t,a=G(s=r[p]).toString(),s),(e=s.V())?(a=e.G(),i.push(a),n.push(s)):t.g[a]=s;for(t.a&&t.a.load(i,n),p=0,o=r.length;p<o;p++)t.b(new jb("addfeature",r[p]))}function Tb(t,e){for(var o in t.o)if(t.o[o]===e){delete t.o[o];break}}function jb(t,e){Ee.call(this,t),this.feature=e}function Cb(t){tn.call(this,{handleDownEvent:Rb,handleEvent:Lb,handleUpEvent:Ib}),this.T=!1,this.fa=null,this.u=!1,this.Yb=t.source?t.source:null,this.$a=t.features?t.features:null,this.wk=t.snapTolerance?t.snapTolerance:12,this.R=t.type,this.g=function(t){var e;return"Point"===t||"MultiPoint"===t?e=Gb:"LineString"===t||"MultiLineString"===t?e=Bb:"Polygon"===t||"MultiPolygon"===t?e=Xb:"Circle"===t&&(e=Vb),e}(this.R),this.Sa=t.minPoints?t.minPoints:this.g===Xb?3:2,this.va=t.maxPoints?t.maxPoints:1/0,this.Cf=t.finishCondition?t.finishCondition:Gi;var e=t.geometryFunction;if(!e)if("Circle"===this.R)e=function(t,e){return(e=e||new $d([NaN,NaN])).Ng(t[0],Math.sqrt(ki(t[0],t[1]))),e};else{var o,i=this.g;i===Gb?o=lr:i===Bb?o=cl:i===Xb&&(o=Sr),e=function(t,e){return e?i===Xb?e.ma([t[0].concat([t[0][0]])]):e.ma(t):e=new o(t),e}}this.Za=e,this.I=this.C=this.a=this.B=this.j=this.l=null,this.ad=t.clickTolerance?t.clickTolerance*t.clickTolerance:36,this.pa=new vb({source:new Mb({useSpatialIndex:!1,wrapX:!!t.wrapX&&t.wrapX}),style:t.style?t.style:function(){var e=Ih();return function(t){return e[t.V().U()]}}()}),this.xb=t.geometryName,this.vk=t.condition?t.condition:qr,this.Df=t.freehand?Gi:t.freehandCondition?t.freehandCondition:Jr,me(this,Ne("active"),this.ri,this)}function Lb(t){this.u=this.g!==Gb&&this.Df(t);var e=!this.u;return this.u&&"pointerdrag"===t.type&&null!==this.j?(Db(this,t),e=!1):"pointermove"===t.type?e=Nb(this,t):"dblclick"===t.type&&(e=!1),on.call(this,t)&&e}function Rb(t){return this.T=!this.u,this.u?(this.fa=t.pixel,this.l||kb(this,t),!0):!!this.vk(t)&&(this.fa=t.pixel,!0)}function Ib(t){var e=!0;Nb(this,t);var o=this.g===Vb;return this.T?(this.l?this.u||o?this.Pd():Fb(this,t)?this.Cf(t)&&this.Pd():Db(this,t):(kb(this,t),this.g===Gb&&this.Pd()),e=!1):this.u&&(this.l=null,Ob(this)),e}function Nb(t,e){if(t.fa&&(!t.u&&t.T||t.u&&!t.T)){var o=t.fa,i=e.pixel,r=(r=o[0]-i[0])*r+(o=o[1]-i[1])*o;t.T=t.u?r>t.ad:r<=t.ad}return t.l?(r=e.coordinate,o=t.j.V(),t.g===Gb?i=t.a:t.g===Xb?(i=(i=t.a[0])[i.length-1],Fb(t,e)&&(r=t.l.slice())):i=(i=t.a)[i.length-1],i[0]=r[0],i[1]=r[1],t.Za(t.a,o),t.B&&t.B.V().ma(r),o instanceof Sr&&t.g!==Xb?(t.C||(t.C=new Fh(new cl(null))),r=o.Ch(0),(e=t.C.V()).ba(r.ja,r.ga())):t.I&&(e=t.C.V()).ma(t.I),Ub(t)):(e=e.coordinate.slice(),t.B?t.B.V().ma(e):(t.B=new Fh(new lr(e)),Ub(t))),!0}function Fb(t,e){var o=!1;if(t.j){var i=!1,r=[t.l];if(t.g===Bb?i=t.a.length>t.Sa:t.g===Xb&&(i=t.a[0].length>t.Sa,r=[t.a[0][0],t.a[0][t.a[0].length-2]]),i){i=e.map;for(var n=0,p=r.length;n<p;n++){var s=r[n],a=i.Ja(s),h=e.pixel;o=h[0]-a[0],a=h[1]-a[1];if(o=Math.sqrt(o*o+a*a)<=(t.u?1:t.wk)){t.l=s;break}}}}return o}function kb(t,e){e=e.coordinate,t.l=e,t.g===Gb?t.a=e.slice():t.g===Xb?(t.a=[[e.slice(),e.slice()]],t.I=t.a[0]):(t.a=[e.slice(),e.slice()],t.g===Vb&&(t.I=t.a)),t.I&&(t.C=new Fh(new cl(t.I))),e=t.Za(t.a),t.j=new Fh,t.xb&&t.j.Tc(t.xb),t.j.Ra(e),Ub(t),t.b(new Wb("drawstart",t.j))}function Db(t,e){e=e.coordinate;var o,i=t.j.V();if(t.g===Bb){t.l=e.slice();var r=t.a;r.length>=t.va&&(t.u?r.pop():o=!0),r.push(e.slice()),t.Za(r,i)}else t.g===Xb&&((r=t.a[0]).length>=t.va&&(t.u?r.pop():o=!0),r.push(e.slice()),o&&(t.l=r[0]),t.Za(t.a,i));Ub(t),o&&t.Pd()}function Ob(t){t.l=null;var e=t.j;return e&&(t.j=null,t.B=null,t.C=null,t.pa.ha().clear(!0)),e}function Ub(t){var e=[];t.j&&e.push(t.j),t.C&&e.push(t.C),t.B&&e.push(t.B),(t=t.pa.ha()).clear(!0),t.cd(e)}s(wb,Re),(t=wb.prototype).Ea=m,t.ya=function(){return this.j},t.xa=function(){return this.D},t.za=function(){return this.c},t.getState=function(){return this.na},t.sa=function(){this.s()},t.ua=function(t){this.j=xb(t),this.s()},s(Mb,wb),(t=Mb.prototype).yb=function(t){var e=G(t).toString();if(Ab(this,e,t)){Pb(this,e,t);var o=t.V();o?(e=o.G(),this.a&&this.a.Ca(e,t)):this.g[e]=t,this.b(new jb("addfeature",t))}this.s()},t.cd=function(t){Eb(this,t),this.s()},t.clear=function(t){if(t){for(var e in this.v)this.v[e].forEach(Se);this.f||(this.v={},this.o={},this.l={})}else if(this.a)for(var o in this.a.forEach(this.Ig,this),this.g)this.Ig(this.g[o]);this.f&&this.f.clear(),this.a&&this.a.clear(),this.R.clear(),this.g={},this.b(new jb("clear")),this.s()},t.sh=function(t,e){return this.a?this.a.forEach(t,e):this.f?this.f.forEach(t,e):void 0},t.$b=function(t,e,o){return this.a?ga(this.a,t,e,o):this.f?this.f.forEach(e,o):void 0},t.th=function(e,o,i){return this.$b(e,function(t){if(t.V().Xa(e)&&(t=o.call(i,t)))return t})},t.Ah=function(){return this.f},t.Xe=function(){if(this.f)var t=this.f.a;else this.a&&(t=ya(this.a),gt(this.g)||c(t,ft(this.g)));return t},t.zh=function(t){var e=[];return function(t,e,o){t.$b([e[0],e[1],e[0],e[1]],function(t){if(t.V().sb(e))return o.call(void 0,t)})}(this,t,function(t){e.push(t)}),e},t.Uf=function(t){return fa(this.a,t)},t.vh=function(t,e){var i=t[0],r=t[1],n=null,p=[NaN,NaN],s=1/0,a=[-1/0,-1/0,1/0,1/0],h=e||Gi;return ga(this.a,a,function(t){if(h(t)){var e=t.V(),o=s;(s=e.Kb(i,r,p,s))<o&&(n=t,t=Math.sqrt(s),a[0]=i-t,a[1]=r-t,a[2]=i+t,a[3]=r+t)}}),n},t.G=function(t){return this.a.G(t)},t.yh=function(t){return void 0!==(t=this.o[t.toString()])?t:null},t.Mi=function(){return this.C},t.Ni=function(){return this.I},t.Oi=function(t){var e=G(t=t.target).toString(),o=t.V();o?(o=o.G(),e in this.g?(delete this.g[e],this.a&&this.a.Ca(o,t)):this.a&&ca(this.a,o,t)):e in this.g||(this.a&&this.a.remove(t),this.g[e]=t),void 0!==(o=t.a)?(o=o.toString(),e in this.l?(delete this.l[e],this.o[o]=t):this.o[o]!==t&&(Tb(this,t),this.o[o]=t)):e in this.l||(Tb(this,t),this.l[e]=t),this.s(),this.b(new jb("changefeature",t))},t.Yd=function(t,e,o){var i,r=this.R,n=0;for(i=(t=this.fa(t,e)).length;n<i;++n){var p=t[n];ga(r,p,function(t){return O(t.extent,p)})||(this.B.call(this,p,e,o),r.Ca(p,{extent:p.slice()}))}},t.Gb=function(t){var e=G(t).toString();e in this.g?delete this.g[e]:this.a&&this.a.remove(t),this.Ig(t),this.s()},t.Ig=function(t){var e=G(t).toString();this.v[e].forEach(Se),delete this.v[e];var o=t.a;void 0!==o?delete this.o[o.toString()]:delete this.l[e],this.b(new jb("removefeature",t))},s(jb,Ee),s(Cb,tn),(t=Cb.prototype).setMap=function(t){tn.prototype.setMap.call(this,t),this.ri()},t.Op=function(){if(this.j){var t=this.j.V();if(this.g===Bb){var e=this.a;e.splice(-2,1),this.Za(e,t),2<=e.length&&(this.l=e[e.length-2].slice())}else if(this.g===Xb){(e=this.a[0]).splice(-2,1),this.C.V().ma(e),this.Za(this.a,t)}0===e.length&&(this.l=null),Ub(this)}},t.Pd=function(){var t=Ob(this),e=this.a,o=t.V();this.g===Bb?(e.pop(),this.Za(e,o)):this.g===Xb&&(e[0].pop(),this.Za(e,o),e=o.X()),"MultiPoint"===this.R?t.Ra(new vl([e])):"MultiLineString"===this.R?t.Ra(new fl([e])):"MultiPolygon"===this.R&&t.Ra(new bl([e])),this.b(new Wb("drawend",t)),this.$a&&this.$a.push(t),this.Yb&&this.Yb.yb(t)},t.vn=function(t){var e=t.V();this.j=t,this.a=e.X(),t=this.a[this.a.length-1],this.l=t.slice(),this.a.push(t.slice()),Ub(this),this.b(new Wb("drawstart",this.j))},t.Xc=Bi,t.ri=function(){var t=this.v,e=this.c();t&&e||Ob(this),this.pa.setMap(e?t:null)};var Gb="Point",Bb="LineString",Xb="Polygon",Vb="Circle";function Wb(t,e){Ee.call(this,t),this.feature=e}function Zb(t){this.a=this.j=null,this.C=!1,this.B=this.l=null,(t=t||{}).extent&&this.g(t.extent),tn.call(this,{handleDownEvent:zb,handleDragEvent:Yb,handleEvent:Kb,handleUpEvent:Hb}),this.u=new vb({source:new Mb({useSpatialIndex:!1,wrapX:!!t.wrapX}),style:t.boxStyle?t.boxStyle:function(){var t=Ih();return function(){return t.Polygon}}(),updateWhileAnimating:!0,updateWhileInteracting:!0}),this.I=new vb({source:new Mb({useSpatialIndex:!1,wrapX:!!t.wrapX}),style:t.pointerStyle?t.pointerStyle:function(){var t=Ih();return function(){return t.Point}}(),updateWhileAnimating:!0,updateWhileInteracting:!0})}function Kb(t){if(!(t instanceof zo))return!0;if("pointermove"==t.type&&!this.D){var e=t.pixel,o=t.map,i=_b(this,e,o);$b(this,i=i||o.Wa(e))}return on.call(this,t),!1}function zb(t){function e(t){var e=null,o=null;return t[0]==r[0]?e=r[2]:t[0]==r[2]&&(e=r[0]),t[1]==r[1]?o=r[3]:t[1]==r[3]&&(o=r[1]),null!==e&&null!==o?[e,o]:null}var o=t.pixel,i=t.map,r=this.G();return(t=_b(this,o,i))&&r?(o=t[0]==r[0]||t[0]==r[2]?t[0]:null,i=t[1]==r[1]||t[1]==r[3]?t[1]:null,null!==o&&null!==i?this.a=qb(e(t)):null!==o?this.a=Jb(e([o,r[1]]),e([o,r[3]])):null!==i&&(this.a=Jb(e([r[0],i]),e([r[2],i])))):(t=i.Wa(o),this.g([t[0],t[1],t[0],t[1]]),this.a=qb(t)),!0}function Yb(t){return this.a&&(t=t.coordinate,this.g(this.a(t)),$b(this,t)),!0}function Hb(){this.a=null;var t=this.G();return t&&$(t)||this.g(null),!1}function qb(e){return function(t){return E([e,t])}}function Jb(e,o){return e[0]==o[0]?function(t){return E([e,[t[0],o[1]]])}:e[1]==o[1]?function(t){return E([e,[o[0],t[1]]])}:null}function _b(t,e,o){var i=o.Wa(e);if(r=t.G()){(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]]]]).sort(function(t,e){return Oi(i,t)-Oi(i,e)});var r=r[0],n=Ci(i,r),p=o.Ja(n);if(Di(e,p)<=10)return e=o.Ja(r[0]),o=o.Ja(r[1]),e=ki(p,e),o=ki(p,o),t.C=Math.sqrt(Math.min(e,o))<=10,t.C&&(n=o<e?r[1]:r[0]),n}return null}function $b(t,e){var o=t.B;o?o.V().ma(e):(o=new Fh(new lr(e)),t.B=o,t.I.ha().yb(o))}function Qb(t){Ee.call(this,tm),this.b=t}s(Wb,Ee),s(Zb,tn),Zb.prototype.setMap=function(t){this.u.setMap(t),this.I.setMap(t),tn.prototype.setMap.call(this,t)},Zb.prototype.G=function(){return this.j},Zb.prototype.g=function(t){this.j=t||null;var e=this.l;e?t?e.Ra(Ar(t)):e.Ra(void 0):(this.l=e=new Fh(t?Ar(t):{}),this.u.ha().yb(e)),this.b(new Qb(this.j))},s(Qb,Ee);var tm="extentchanged";function em(t){tn.call(this,{handleDownEvent:pm,handleDragEvent:sm,handleEvent:hm,handleUpEvent:am}),this.ad=t.condition?t.condition:Qr,this.$a=function(t){return qr(t)&&Hr(t)},this.xb=t.deleteCondition?t.deleteCondition:this.$a,this.Yb=t.insertVertexCondition?t.insertVertexCondition:Gi,this.Sa=this.g=null,this.va=[0,0],this.C=this.I=!1,this.a=new ua,this.fa=void 0!==t.pixelTolerance?t.pixelTolerance:10,this.l=this.pa=!1,this.j=[],this.B=new vb({source:new Mb({useSpatialIndex:!1,wrapX:!!t.wrapX}),style:t.style?t.style:function(){var t=Ih();return function(){return t.Point}}(),updateWhileAnimating:!0,updateWhileInteracting:!0}),this.T={Point:this.Dn,LineString:this.ti,LinearRing:this.ti,Polygon:this.En,MultiPoint:this.Bn,MultiLineString:this.An,MultiPolygon:this.Cn,Circle:this.yn,GeometryCollection:this.zn},this.u=t.features,this.u.forEach(this.kg,this),me(this.u,"add",this.wn,this),me(this.u,"remove",this.xn,this),this.R=null}function om(t,e){t.C||(t.C=!0,t.b(new fm("modifystart",t.u,e)))}function im(t,e){!function(t,e){t=t.a;var o=[];t.forEach(function(t){e===t.feature&&o.push(t)});for(var i=o.length-1;0<=i;--i)t.remove(o[i])}(t,e),t.g&&!t.u.dc()&&(t.B.ha().Gb(t.g),t.g=null),xe(e,"change",t.si,t)}function rm(t,e){var o=t.g;o?o.V().ma(e):(o=new Fh(new lr(e)),t.g=o,t.B.ha().yb(o))}function nm(t,e){return t.index-e.index}function pm(t){if(!this.ad(t))return!1;lm(this,t.pixel,t.map);var e=t.map.Wa(t.pixel);if(this.j.length=0,this.C=!1,o=this.g){var o,i=[],r=E([o=o.V().X()]),n={};(r=fa(this.a,r)).sort(nm);for(var p=0,s=r.length;p<s;++p){var a=r[p],h=a.la,l=G(a.feature),u=a.depth;u&&(l+="-"+u.join("-")),n[l]||(n[l]=Array(2)),"Circle"===a.geometry.U()&&1===a.index?Ii(h=cm(e,a),o)&&!n[l][0]&&(this.j.push([a,0]),n[l][0]=a):Ii(h[0],o)&&!n[l][0]?(this.j.push([a,0]),n[l][0]=a):Ii(h[1],o)&&!n[l][1]?("LineString"===a.geometry.U()||"MultiLineString"===a.geometry.U())&&n[l][0]&&0===n[l][0].index||(this.j.push([a,1]),n[l][1]=a):this.Yb(t)&&G(h)in this.Sa&&!n[l][0]&&!n[l][1]&&i.push([a,o])}for(i.length&&om(this,t),t=i.length-1;0<=t;--t)this.bm.apply(this,i[t])}return!!this.g}function sm(t){this.I=!1,om(this,t),t=t.coordinate;for(var e=0,o=this.j.length;e<o;++e){for(var i,r=(a=this.j[e])[0],n=r.depth,p=r.geometry,s=r.la,a=a[1];t.length<p.qa();)t.push(s[a][t.length]);switch(p.U()){case"Point":i=t,s[0]=s[1]=t;break;case"MultiPoint":(i=p.X())[r.index]=t,s[0]=s[1]=t;break;case"LineString":(i=p.X())[r.index+a]=t,s[a]=t;break;case"MultiLineString":case"Polygon":(i=p.X())[n[0]][r.index+a]=t,s[a]=t;break;case"MultiPolygon":(i=p.X())[n[1]][n[0]][r.index+a]=t,s[a]=t;break;case"Circle":s[0]=s[1]=t,0===r.index?(this.l=!0,p.ob(t)):(this.l=!0,p.Uc(Di(p.wa(),t))),this.l=!1}i&&(r=p,n=i,this.l=!0,r.ma(n),this.l=!1)}rm(this,t)}function am(t){for(var e,o,i=this.j.length-1;0<=i;--i)if("Circle"===(o=(e=this.j[i][0]).geometry).U()){var r=o.wa(),n=e.Pf[0];e=e.Pf[1],n.la[0]=n.la[1]=r,e.la[0]=e.la[1]=r,ca(this.a,K(r),n),ca(this.a,o.G(),e)}else ca(this.a,E(e.la),e);return this.C&&(this.b(new fm("modifyend",this.u,t)),this.C=!1),!1}function hm(t){return!(t instanceof zo)||(Fr((this.R=t).map.Z())[1]||"pointermove"!=t.type||this.D||(this.va=t.pixel,lm(this,t.pixel,t.map)),this.g&&this.xb(t)&&(e=!("singleclick"!=t.type||!this.I)||this.hj()),"singleclick"==t.type&&(this.I=!1),on.call(this,t)&&!e);var e}function lm(t,e,o){var i=o.Wa(e),r=T(K(i),o.Z().Pa()*t.fa);if(0<(r=fa(t.a,r)).length){r.sort(function(t,e){return um(i,t)-um(i,e)});var n=r[0],p=n.la,s=cm(i,n),a=o.Ja(s),h=Di(e,a);if(h<=t.fa){if(e={},"Circle"===n.geometry.U()&&1===n.index)t.pa=!0,rm(t,s);else for(h=o.Ja(p[0]),n=o.Ja(p[1]),o=ki(a,h),a=ki(a,n),h=Math.sqrt(Math.min(o,a)),t.pa=h<=t.fa,t.pa&&(s=a<o?p[1]:p[0]),rm(t,s),a=1,o=r.length;a<o&&(s=r[a].la,Ii(p[0],s[0])&&Ii(p[1],s[1])||Ii(p[0],s[1])&&Ii(p[1],s[0]));++a)e[G(s)]=!0;return e[G(p)]=!0,void(t.Sa=e)}}t.g&&(t.B.ha().Gb(t.g),t.g=null)}function um(t,e){var o=e.geometry;return"Circle"===o.U()&&1===e.index?(t=ki(o.wa(),t),(o=Math.sqrt(t)-o.pd())*o):Oi(t,e.la)}function cm(t,e){var o=e.geometry;return"Circle"===o.U()&&1===e.index?o.Ab(t):Ci(t,e.la)}function ym(t,e,o,i,r){ga(t.a,e.G(),function(t){t.geometry===e&&(void 0===i||void 0===t.depth||U(t.depth,i))&&t.index>o&&(t.index+=r)})}function fm(t,e,o){Ee.call(this,t),this.features=e,this.mapBrowserEvent=o}function gm(t){if(Gr.call(this,{handleEvent:dm}),t=t||{},this.C=t.condition?t.condition:Hr,this.D=t.addCondition?t.addCondition:Bi,this.B=t.removeCondition?t.removeCondition:Bi,this.I=t.toggleCondition?t.toggleCondition:Jr,this.l=!!t.multi&&t.multi,this.o=t.filter?t.filter:Gi,this.j=t.hitTolerance?t.hitTolerance:0,this.g=new vb({source:new Mb({useSpatialIndex:!1,features:t.features,wrapX:t.wrapX}),style:t.style?t.style:function(){var e=Ih();return c(e.Polygon,e.LineString),c(e.GeometryCollection,e.LineString),function(t){return t.V()?e[t.V().U()]:null}}(),updateWhileAnimating:!0,updateWhileInteracting:!0}),t.layers)if("function"==typeof t.layers)t=t.layers;else{var e=t.layers;t=function(t){return d(e,t)}}else t=Gi;this.u=t,this.a={},me(t=this.g.ha().f,"add",this.Fn,this),me(t,"remove",this.Jn,this)}function dm(t){if(!this.C(t))return!0;var o=this.D(t),i=this.B(t),r=this.I(t),e=!o&&!i&&!r,n=t.map,p=this.g.ha().f,s=[],a=[];if(e){for(yt(this.a),n.we(t.pixel,function(t,e){if(this.o(t,e))return a.push(t),t=G(t),this.a[t]=e,!this.l}.bind(this),{layerFilter:this.u,hitTolerance:this.j}),e=p.dc()-1;0<=e;--e){n=p.item(e);var h=a.indexOf(n);-1<h?a.splice(h,1):(p.remove(n),s.push(n))}a.length&&p.fg(a)}else{for(n.we(t.pixel,function(t,e){if(this.o(t,e))return!o&&!r||d(p.a,t)?(i||r)&&d(p.a,t)&&(s.push(t),e=G(t),delete this.a[e]):(a.push(t),t=G(t),this.a[t]=e),!this.l}.bind(this),{layerFilter:this.u,hitTolerance:this.j}),e=s.length-1;0<=e;--e)p.remove(s[e]);p.fg(a)}return(0<a.length||0<s.length)&&this.b(new vm(bm,a,s,t)),Yr(t)}function vm(t,e,o,i){Ee.call(this,t),this.selected=e,this.deselected=o,this.mapBrowserEvent=i}s(em,tn),(t=em.prototype).kg=function(t){var e=t.V();e&&e.U()in this.T&&this.T[e.U()].call(this,t,e),(e=this.v)&&e.c&&this.c()&&lm(this,this.va,e),me(t,"change",this.si,this)},t.Ha=function(t){this.g&&!t&&(this.B.ha().Gb(this.g),this.g=null),tn.prototype.Ha.call(this,t)},t.setMap=function(t){this.B.setMap(t),tn.prototype.setMap.call(this,t)},t.wn=function(t){this.kg(t.element)},t.si=function(t){this.l||(im(this,t=t.target),this.kg(t))},t.xn=function(t){im(this,t.element)},t.Dn=function(t,e){var o=e.X();t={feature:t,geometry:e,la:[o,o]},this.a.Ca(e.G(),t)},t.Bn=function(t,e){var o,i=e.X(),r=0;for(o=i.length;r<o;++r){var n=i[r];n={feature:t,geometry:e,depth:[r],index:r,la:[n,n]},this.a.Ca(e.G(),n)}},t.ti=function(t,e){var o,i=e.X(),r=0;for(o=i.length-1;r<o;++r){var n=i.slice(r,r+2),p={feature:t,geometry:e,index:r,la:n};this.a.Ca(E(n),p)}},t.An=function(t,e){var o,i,r=e.X(),n=0;for(i=r.length;n<i;++n){var p=r[n],s=0;for(o=p.length-1;s<o;++s){var a=p.slice(s,s+2),h={feature:t,geometry:e,depth:[n],index:s,la:a};this.a.Ca(E(a),h)}}},t.En=function(t,e){var o,i,r=e.X(),n=0;for(i=r.length;n<i;++n){var p=r[n],s=0;for(o=p.length-1;s<o;++s){var a=p.slice(s,s+2),h={feature:t,geometry:e,depth:[n],index:s,la:a};this.a.Ca(E(a),h)}}},t.Cn=function(t,e){var o,i,r,n=e.X(),p=0;for(r=n.length;p<r;++p){var s=n[p],a=0;for(i=s.length;a<i;++a){var h=s[a],l=0;for(o=h.length-1;l<o;++l){var u=h.slice(l,l+2),c={feature:t,geometry:e,depth:[a,p],index:l,la:u};this.a.Ca(E(u),c)}}}},t.yn=function(t,e){var o=e.wa(),i={feature:t,geometry:e,index:0,la:[o,o]};t={feature:t,geometry:e,index:1,la:[o,o]},i.Pf=t.Pf=[i,t],this.a.Ca(K(o),i),this.a.Ca(e.G(),t)},t.zn=function(t,e){var o=e.a;for(e=0;e<o.length;++e)this.T[o[e].U()].call(this,t,o[e])},t.bm=function(t,e){for(var o,i=t.la,r=t.feature,n=t.geometry,p=t.depth,s=t.index;e.length<n.qa();)e.push(0);switch(n.U()){case"MultiLineString":case"Polygon":(o=n.X())[p[0]].splice(s+1,0,e);break;case"MultiPolygon":(o=n.X())[p[1]][p[0]].splice(s+1,0,e);break;case"LineString":(o=n.X()).splice(s+1,0,e);break;default:return}this.l=!0,n.ma(o),this.l=!1,(o=this.a).remove(t),ym(this,n,s,p,1),t={la:[i[0],e],feature:r,geometry:n,depth:p,index:s},o.Ca(E(t.la),t),this.j.push([t,1]),e={la:[e,i[1]],feature:r,geometry:n,depth:p,index:s+1},o.Ca(E(e.la),e),this.j.push([e,0]),this.I=!0},t.hj=function(){if(this.R&&"pointerdrag"!=this.R.type){var t=this.R;om(this,t);var e,o,i=this.j,r={};for(o=i.length-1;0<=o;--o){var n=i[o],p=n[0],s=G(p.feature);p.depth&&(s+="-"+p.depth.join("-")),s in r||(r[s]={}),0===n[1]?(r[s].right=p,r[s].index=p.index):1==n[1]&&(r[s].left=p,r[s].index=p.index+1)}for(s in r){var a=r[s].right,h=r[s].left,l=(o=r[s].index)-1;l<0&&(l=0);var u=e=(n=(p=void 0!==h?h:a).geometry).X(),c=!1;switch(n.U()){case"MultiLineString":2<e[p.depth[0]].length&&(e[p.depth[0]].splice(o,1),c=!0);break;case"LineString":2<e.length&&(e.splice(o,1),c=!0);break;case"MultiPolygon":u=u[p.depth[1]];case"Polygon":4<(u=u[p.depth[0]]).length&&(o==u.length-1&&(o=0),u.splice(o,1),c=!0,0===o&&(u.pop(),u.push(u[0]),l=u.length-1))}c&&(c=n,this.l=!0,c.ma(e),this.l=!1,e=[],void 0!==h&&(this.a.remove(h),e.push(h.la[0])),void 0!==a&&(this.a.remove(a),e.push(a.la[1])),void 0!==h&&void 0!==a&&(h={depth:p.depth,feature:p.feature,geometry:p.geometry,index:l,la:e},this.a.Ca(E(h.la),h)),ym(this,n,o,p.depth,-1),this.g&&(this.B.ha().Gb(this.g),this.g=null),i.length=0)}return this.b(new fm("modifyend",this.u,t)),!(this.C=!1)}return!1},s(fm,Ee),s(gm,Gr),(t=gm.prototype).Gn=function(){return this.g.ha().f},t.Hn=function(){return this.j},t.In=function(t){return t=G(t),this.a[t]},t.Kn=function(t){this.j=t},t.setMap=function(t){var e=this.v,o=this.g.ha().f;e&&o.forEach(e.Cj,e),Gr.prototype.setMap.call(this,t),this.g.setMap(t),t&&o.forEach(t.xj,t)},t.Fn=function(t){var e=this.v;e&&e.xj(t.element)},t.Jn=function(t){var e=this.v;e&&e.Cj(t.element)},s(vm,Ee);var bm="select";function mm(t){tn.call(this,{handleEvent:xm,handleDownEvent:Gi,handleUpEvent:Sm}),t=t||{},this.l=t.source?t.source:null,this.R=void 0===t.vertex||t.vertex,this.C=void 0===t.edge||t.edge,this.j=t.features?t.features:null,this.pa=[],this.B={},this.T={},this.u={},this.I=null,this.g=void 0!==t.pixelTolerance?t.pixelTolerance:10,this.va=function(t,e){return Oi(this.I,t.la)-Oi(this.I,e.la)}.bind(this),this.a=new ua,this.fa={Point:this.Rn,LineString:this.wi,LinearRing:this.wi,Polygon:this.Sn,MultiPoint:this.Pn,MultiLineString:this.On,MultiPolygon:this.Qn,GeometryCollection:this.Nn,Circle:this.Mn}}function wm(t,e,o,i){var r=i.Wa([e[0]-t.g,e[1]+t.g]),n=i.Wa([e[0]+t.g,e[1]-t.g]),p=(r=E([r,n]),fa(t.a,r));t.R&&!t.C&&(p=p.filter(function(t){return"Circle"!==t.feature.V().U()}));var s=!1,a=(r=!1,n=null);if(0<p.length){t.I=o,p.sort(t.va);var h=p[0].la;s="Circle"===p[0].feature.V().U();t.R&&!t.C?(o=i.Ja(h[0]),s=i.Ja(h[1]),o=ki(e,o),e=ki(e,s),(s=(s=Math.sqrt(Math.min(o,e)))<=t.g)&&(r=!0,n=e<o?h[1]:h[0],a=i.Ja(n))):t.C&&(n=s?function(t,e){var o=e.pd();e=(i=e.wa())[0];var i=i[1],r=t[0]-e;t=t[1]-i,r||t||(r=1);var n=Math.sqrt(r*r+t*t);return[e+o*r/n,i+o*t/n]}(o,p[0].feature.V()):Ci(o,h),Di(e,a=i.Ja(n))<=t.g&&(r=!0,t.R&&!s&&(o=i.Ja(h[0]),s=i.Ja(h[1]),o=ki(a,o),e=ki(a,s),s=(s=Math.sqrt(Math.min(o,e)))<=t.g)))&&(n=e<o?h[1]:h[0],a=i.Ja(n)),r&&(a=[Math.round(a[0]),Math.round(a[1])])}return{nq:r,vertex:n,wq:a}}function xm(t){var e=wm(this,t.pixel,t.coordinate,t.map);return e.nq&&(t.coordinate=e.vertex.slice(0,2),t.pixel=e.wq),on.call(this,t)}function Sm(){var t=ft(this.u);return t.length&&(t.forEach(this.Dj,this),this.u={}),!1}function Mm(t){if(tn.call(this,{handleDownEvent:Pm,handleDragEvent:Em,handleMoveEvent:Tm,handleUpEvent:Am}),t=t||{},this.a=null,this.j=void 0!==t.features?t.features:null,t.layers)if("function"==typeof t.layers)var e=t.layers;else{var o=t.layers;e=function(t){return d(o,t)}}else e=Gi;this.C=e,this.l=t.hitTolerance?t.hitTolerance:0,this.g=null,me(this,Ne("active"),this.u,this)}function Pm(t){if(this.g=jm(this,t.pixel,t.map),this.a||!this.g)return!1;this.a=t.coordinate,Tm.call(this,t);var e=this.j||new De([this.g]);return this.b(new Lm("translatestart",e,t.coordinate)),!0}function Am(t){if(this.a){this.a=null,Tm.call(this,t);var e=this.j||new De([this.g]);return this.b(new Lm("translateend",e,t.coordinate)),!0}return!1}function Em(t){if(this.a){var o=(t=t.coordinate)[0]-this.a[0],i=t[1]-this.a[1],e=this.j||new De([this.g]);e.forEach(function(t){var e=t.V();e.translate(o,i),t.Ra(e)}),this.a=t,this.b(new Lm("translating",e,t))}}function Tm(t){var e=t.map.a;jm(this,t.pixel,t.map)?(e.classList.remove(this.a?"ol-grab":"ol-grabbing"),e.classList.add(this.a?"ol-grabbing":"ol-grab")):e.classList.remove("ol-grab","ol-grabbing")}function jm(t,e,o){return o.we(e,function(t){if(!this.j||d(this.j.a,t))return t}.bind(t),{layerFilter:t.C,hitTolerance:t.l})}function Cm(t,e){var o=t.v;t=t.c(),o&&t||(o=o||e).a.classList.remove("ol-grab","ol-grabbing")}function Lm(t,e,o){Ee.call(this,t),this.features=e,this.coordinate=o}function Rm(t){var e=ct({},t=t||{});delete e.gradient,delete e.radius,delete e.blur,delete e.shadow,delete e.weight,vb.call(this,e),this.j=null,this.R=void 0!==t.shadow?t.shadow:250,this.I=void 0,this.B=null,me(this,Ne(Fm),this.Bl,this),this.pj(t.gradient?t.gradient:Im),this.jj(void 0!==t.blur?t.blur:15),this.Uc(void 0!==t.radius?t.radius:8),me(this,Ne(Nm),this.cg,this),me(this,Ne(km),this.cg,this),this.cg();var i,o=t.weight?t.weight:"weight";i="string"==typeof o?function(t){return t.get(o)}:o,this.g(function(t){var e=255*(t=void 0!==(t=i(t))?w(t,0,1):1)|0,o=this.B[e];return o||(o=[new jh({image:new Jc({opacity:t,src:this.I})})],this.B[e]=o),o}.bind(this)),this.set(bb,null),me(this,"render",this.Sl,this)}s(mm,tn),(t=mm.prototype).yb=function(t,e){e=void 0===e||e;var o=G(t),i=t.V();if(i){var r=this.fa[i.U()];r&&(this.T[o]=i.G([1/0,1/0,-1/0,-1/0]),r.call(this,t,i))}e&&(this.B[o]=me(t,"change",this.Ln,this))},t.Ak=function(t){this.yb(t)},t.Bk=function(t){this.Gb(t)},t.ui=function(t){if(t instanceof jb)var e=t.feature;else t instanceof Be&&(e=t.element);this.yb(e)},t.vi=function(t){if(t instanceof jb)var e=t.feature;else t instanceof Be&&(e=t.element);this.Gb(e)},t.Ln=function(t){if(t=t.target,this.D){var e=G(t);e in this.u||(this.u[e]=t)}else this.Dj(t)},t.Gb=function(e,t){t=void 0===t||t;var o=G(e),i=this.T[o];if(i){var r=this.a,n=[];for(ga(r,i,function(t){e===t.feature&&n.push(t)}),i=n.length-1;0<=i;--i)r.remove(n[i])}t&&(Se(this.B[o]),delete this.B[o])},t.setMap=function(t){var e,o=this.v,i=this.pa;this.j?e=this.j:this.l&&(e=this.l.Xe()),o&&(i.forEach(Se),i.length=0,e.forEach(this.Bk,this)),tn.prototype.setMap.call(this,t),t&&(this.j?i.push(me(this.j,"add",this.ui,this),me(this.j,"remove",this.vi,this)):this.l&&i.push(me(this.l,"addfeature",this.ui,this),me(this.l,"removefeature",this.vi,this)),e.forEach(this.Ak,this))},t.Xc=Bi,t.Dj=function(t){this.Gb(t,!1),this.yb(t,!1)},t.Mn=function(t,e){var o,i=0;for(o=(e=Er(e).X()[0]).length-1;i<o;++i){var r=e.slice(i,i+2),n={feature:t,la:r};this.a.Ca(E(r),n)}},t.Nn=function(t,e){var o=e.a;for(e=0;e<o.length;++e){var i=this.fa[o[e].U()];i&&i.call(this,t,o[e])}},t.wi=function(t,e){var o,i=0;for(o=(e=e.X()).length-1;i<o;++i){var r=e.slice(i,i+2),n={feature:t,la:r};this.a.Ca(E(r),n)}},t.On=function(t,e){var o,i,r=0;for(i=(e=e.X()).length;r<i;++r){var n=e[r],p=0;for(o=n.length-1;p<o;++p){var s=n.slice(p,p+2),a={feature:t,la:s};this.a.Ca(E(s),a)}}},t.Pn=function(t,e){var o,i=e.X(),r=0;for(o=i.length;r<o;++r){var n=i[r];n={feature:t,la:[n,n]},this.a.Ca(e.G(),n)}},t.Qn=function(t,e){var o,i,r,n=0;for(r=(e=e.X()).length;n<r;++n){var p=e[n],s=0;for(i=p.length;s<i;++s){var a=p[s],h=0;for(o=a.length-1;h<o;++h){var l=a.slice(h,h+2),u={feature:t,la:l};this.a.Ca(E(l),u)}}}},t.Rn=function(t,e){var o=e.X();t={feature:t,la:[o,o]},this.a.Ca(e.G(),t)},t.Sn=function(t,e){var o,i,r=0;for(i=(e=e.X()).length;r<i;++r){var n=e[r],p=0;for(o=n.length-1;p<o;++p){var s=n.slice(p,p+2),a={feature:t,la:s};this.a.Ca(E(s),a)}}},s(Mm,tn),Mm.prototype.B=function(){return this.l},Mm.prototype.I=function(t){this.l=t},Mm.prototype.setMap=function(t){var e=this.v;tn.prototype.setMap.call(this,t),Cm(this,e)},Mm.prototype.u=function(){Cm(this,null)},s(Lm,Ee),s(Rm,vb);var Im=["#00f","#0ff","#0f0","#ff0","#f00"];(t=Rm.prototype).uh=function(){return this.get(Nm)},t.Bh=function(){return this.get(Fm)},t.yi=function(){return this.get(km)},t.Bl=function(){for(var t=this.Bh(),e=Je(1,256),o=e.createLinearGradient(0,0,1,256),i=1/(t.length-1),r=0,n=t.length;r<n;++r)o.addColorStop(r*i,t[r]);e.fillStyle=o,e.fillRect(0,0,1,256),this.j=e.getImageData(0,0,1,256).data},t.cg=function(){var t,e=this.yi(),o=this.uh(),i=e+o+1;(t=Je(t=2*i,t)).shadowOffsetX=t.shadowOffsetY=this.R,t.shadowBlur=o,t.shadowColor="#000",t.beginPath(),o=i-this.R,t.arc(o,o,e,0,2*Math.PI,!0),t.fill(),this.I=t.canvas.toDataURL(),this.B=Array(256),this.s()},t.Sl=function(t){var e,o,i=(t=t.context).canvas,r=(i=t.getImageData(0,0,i.width,i.height)).data,n=0;for(e=r.length;n<e;n+=4)(o=4*r[n+3])&&(r[n]=this.j[o],r[n+1]=this.j[1+o],r[n+2]=this.j[2+o]);t.putImageData(i,0,0)},t.jj=function(t){this.set(Nm,t)},t.pj=function(t){this.set(Fm,t)},t.Uc=function(t){this.set(km,t)};var Nm="blur",Fm="gradient",km="radius";function Dm(t){tb.call(this,t),this.v=[1,0,0,1,0,0],this.j=null}function Om(t){Dm.call(this,t),this.M=null,this.c=[1,0,0,1,0,0]}function Um(t,e,o,i){var r=qt(o,e,t);return o=Ot(e,i,o),void 0!==(e=e.sc())&&(o*=e),void 0!==(e=t.sc())&&(o/=e),t=Ot(t,o,r)/o,isFinite(t)&&0<t&&(o/=t),o}function Gm(t,e,o,i){t=o-t,e=i-e;var r=Math.sqrt(t*t+e*e);return[Math.round(o+t/r),Math.round(i+e/r)]}function Bm(t,e,g,d,o,v,i,r,n,p,s){var b=Je(Math.round(g*t),Math.round(g*e));if(!n.length)return b.canvas;b.scale(g,g);var m=[1/0,1/0,-1/0,-1/0];n.forEach(function(t){H(m,t.extent)});var w=Je(Math.round(g*st(m)/d),Math.round(g*it(m)/d)),a=g/d;n.forEach(function(t){w.drawImage(t.image,p,p,t.image.width-2*p,t.image.height-2*p,(t.extent[0]-m[0])*a,-(t.extent[3]-m[3])*a,st(t.extent)*a,it(t.extent)*a)});var x=nt(i);return r.c.forEach(function(t){var e=t.source,o=t.target,i=e[1][0],r=e[1][1],n=e[2][0],p=e[2][1];t=(o[0][0]-x[0])/v;var s=-(o[0][1]-x[1])/v,a=(o[1][0]-x[0])/v,h=-(o[1][1]-x[1])/v,l=(o[2][0]-x[0])/v,u=-(o[2][1]-x[1])/v;t:{for(r=(i=[[i=i-(o=e[0][0]),r=r-(e=e[0][1]),0,0,a-t],[n=n-o,p=p-e,0,0,l-t],[0,0,i,r,h-s],[0,0,n,p,u-s]]).length,n=0;n<r;n++){p=n;for(var c=Math.abs(i[n][n]),y=n+1;y<r;y++){var f=Math.abs(i[y][n]);c<f&&(c=f,p=y)}if(!c){i=null;break t}for(c=i[p],i[p]=i[n],i[n]=c,p=n+1;p<r;p++)for(c=-i[p][n]/i[n][n],y=n;y<r+1;y++)i[p][y]=n==y?0:i[p][y]+c*i[n][y]}for(n=Array(r),p=r-1;0<=p;p--)for(n[p]=i[p][r]/i[p][p],c=p-1;0<=c;c--)i[c][r]-=i[c][p]*n[p];i=n}i&&(b.save(),b.beginPath(),r=Gm(n=(t+a+l)/3,p=(s+h+u)/3,t,s),a=Gm(n,p,a,h),l=Gm(n,p,l,u),b.moveTo(a[0],a[1]),b.lineTo(r[0],r[1]),b.lineTo(l[0],l[1]),b.clip(),b.transform(i[0],i[2],i[1],i[3],t,s),b.translate(m[0]-o,m[3]-e),b.scale(d/g,-d/g),b.drawImage(w.canvas,0,0),b.restore())}),s&&(b.save(),b.strokeStyle="black",b.lineWidth=1,r.c.forEach(function(t){t=((n=t.target)[0][0]-x[0])/v;var e=-(n[0][1]-x[1])/v,o=(n[1][0]-x[0])/v,i=-(n[1][1]-x[1])/v,r=(n[2][0]-x[0])/v,n=-(n[2][1]-x[1])/v;b.beginPath(),b.moveTo(o,i),b.lineTo(t,e),b.lineTo(r,n),b.closePath(),b.stroke()}),b.restore()),b.canvas}function Xm(t,e,o,i,r){this.i=t,this.f=e;var n={},p=Kt(this.f,this.i);this.a=function(t){var e=t[0]+"/"+t[1];return n[e]||(n[e]=p(t)),n[e]},this.g=i,this.v=r*r,this.c=[],this.o=!1,this.l=this.i.i&&!!i&&!!this.i.G()&&st(i)==st(this.i.G()),this.b=this.i.G()?st(this.i.G()):null,this.j=this.f.G()?st(this.f.G()):null,t=nt(o),e=pt(o),i=tt(o),o=Q(o),r=this.a(t);var s=this.a(e),a=this.a(i),h=this.a(o);if(!function t(e,o,i,r,n,p,s,a,h,l){var u=E([p,s,a,h]),c=e.b?st(u)/e.b:null,y=e.b,f=e.i.i&&.5<c&&c<1,g=!1;if(0<l){if(e.f.c&&e.j)var d=E([o,i,r,n]),g=g|.25<st(d)/e.j;!f&&e.i.c&&c&&(g|=.25<c)}if(g||!e.g||at(u,e.g)){if(!(g||isFinite(p[0])&&isFinite(p[1])&&isFinite(s[0])&&isFinite(s[1])&&isFinite(a[0])&&isFinite(a[1])&&isFinite(h[0])&&isFinite(h[1]))){if(!(0<l))return;g=!0}if(0<l&&(g||(u=e.a([(o[0]+r[0])/2,(o[1]+r[1])/2]),y=f?(L(p[0],y)+L(a[0],y))/2-L(u[0],y):(p[0]+a[0])/2-u[0],u=(p[1]+a[1])/2-u[1],g=y*y+u*u>e.v),g))return void(Math.abs(o[0]-r[0])<=Math.abs(o[1]-r[1])?(f=[(i[0]+r[0])/2,(i[1]+r[1])/2],y=e.a(f),u=[(n[0]+o[0])/2,(n[1]+o[1])/2],c=e.a(u),t(e,o,i,f,u,p,s,y,c,l-1),t(e,u,f,r,n,c,y,a,h,l-1)):(f=[(o[0]+i[0])/2,(o[1]+i[1])/2],y=e.a(f),u=[(r[0]+n[0])/2,(r[1]+n[1])/2],c=e.a(u),t(e,o,f,u,n,p,y,c,h,l-1),t(e,f,i,r,u,y,s,a,c,l-1)));if(f){if(!e.l)return;e.o=!0}e.c.push({source:[p,a,h],target:[o,r,n]}),e.c.push({source:[p,s,a],target:[o,i,r]})}}(this,t,e,i,o,r,s,a,h,10),this.o){var l=1/0;this.c.forEach(function(t){l=Math.min(l,t.source[0][0],t.source[1][0],t.source[2][0])}),this.c.forEach(function(t){if(Math.max(t.source[0][0],t.source[1][0],t.source[2][0])-l>this.b/2){var e=[[t.source[0][0],t.source[0][1]],[t.source[1][0],t.source[1][1]],[t.source[2][0],t.source[2][1]]];e[0][0]-l>this.b/2&&(e[0][0]-=this.b),e[1][0]-l>this.b/2&&(e[1][0]-=this.b),e[2][0]-l>this.b/2&&(e[2][0]-=this.b),Math.max(e[0][0],e[1][0],e[2][0])-Math.min(e[0][0],e[1][0],e[2][0])<this.b/2&&(t.source=e)}},this)}n={}}function Vm(t){var e=[1/0,1/0,-1/0,-1/0];return t.c.forEach(function(t){t=t.source,q(e,t[0]),q(e,t[1]),q(e,t[2])}),e}function Wm(t,e,o,i,r,n){this.v=e,this.l=t.G();var p=(s=e.G())?rt(o,s):o,s=Um(t,e,et(p),i);this.j=new Xm(t,e,p,this.l,.5*s),this.c=i,this.i=o,t=Vm(this.j),this.o=(this.Hb=n(t,s,r))?this.Hb.a:1,this.ee=this.g=null,r=2,n=[],this.Hb&&(r=0,n=this.Hb.f),pv.call(this,o,i,this.o,r,n)}function Zm(t){wb.call(this,{attributions:t.attributions,extent:t.extent,logo:t.logo,projection:t.projection,state:t.state}),this.C=void 0!==t.resolutions?t.resolutions:null,this.a=null,this.fa=0}function Km(t,e){return t.C&&(e=t.C[l(t.C,e,0)]),e}function zm(t,e){t.Y().src=e}function Ym(t,e){Ee.call(this,t),this.image=e}s(Dm,tb),Dm.prototype.S=function(t,e,o){ob(this,"precompose",o,t,void 0);var i=this.Y();if(i){var r=void 0!==(n=e.extent)&&!O(n,t.extent)&&at(n,t.extent);r&&eb(o,t,n);var n=this.C(),p=o.globalAlpha;o.globalAlpha=e.opacity,o.drawImage(i,0,0,+i.width,+i.height,Math.round(n[4]),Math.round(n[5]),Math.round(i.width*n[0]),Math.round(i.height*n[3])),o.globalAlpha=p,r&&o.restore()}this.ef(o,t,e)},Dm.prototype.Ea=function(t,e,o,i,r){var n=this.a;return n.ha().Ea(t,e.viewState.resolution,e.viewState.rotation,o,e.skippedFeatureUids,function(t){return i.call(r,t,n)})},Dm.prototype.u=function(t,e,o,i){if(this.Y()){if(this.a.ha().Ea!==m)return tb.prototype.u.apply(this,arguments);var r=ep(this.v,t.slice());if(Fi(r,e.viewState.resolution/this.f),this.j||(this.j=Je(1,1)),this.j.clearRect(0,0,1,1),this.j.drawImage(this.Y(),r[0],r[1],1,1,0,0,1,1),0<(r=this.j.getImageData(0,0,1,1).data)[3])return o.call(i,this.a,r)}},s(Om,Dm),Om.prototype.Y=function(){return this.M?this.M.Y():null},Om.prototype.C=function(){return this.c},Om.prototype.sd=function(t,e){var o=t.pixelRatio,i=t.size,r=(h=t.viewState).center,n=h.resolution,p=this.a.ha(),s=t.viewHints,a=t.extent;if(void 0!==e.extent&&(a=rt(a,e.extent)),s[0]||s[1]||ht(a)||(e=p.Y(a,n,o,h.projection))&&Yv(this,e)&&(this.M=e),this.M){s=(e=this.M).G();var h,l=o*(a=e.resolution)/(n*(h=e.a));s=np(this.c,o*i[0]/2,o*i[1]/2,l,l,0,h*(s[0]-r[0])/a,h*(r[1]-s[3])/a);np(this.v,o*i[0]/2-s[4],o*i[1]/2-s[5],o/n,-o/n,0,-r[0],-r[1]),Jv(t.attributions,e.f),_v(t,p),this.f=n*o/h}return!!this.M},s(Wm,pv),Wm.prototype.ka=function(){1==this.state&&(Se(this.ee),this.ee=null),pv.prototype.ka.call(this)},Wm.prototype.Y=function(){return this.g},Wm.prototype.de=function(){var t=this.Hb.getState();2==t&&(this.g=Bm(st(this.i)/this.c,it(this.i)/this.c,this.o,this.Hb.resolution,0,this.c,this.i,this.j,[{extent:this.Hb.G(),image:this.Hb.Y()}],0)),this.state=t,this.s()},Wm.prototype.load=function(){if(0==this.state){this.state=1,this.s();var t=this.Hb.getState();2==t||3==t?this.de():(this.ee=me(this.Hb,"change",function(){var t=this.Hb.getState();2!=t&&3!=t||(Se(this.ee),this.ee=null,this.de())},this),this.Hb.load())}},s(Zm,wb),Zm.prototype.Y=function(t,e,o,i){var r=this.c;if(r&&i&&!Zt(r,i)){if(this.a){if(this.fa==this.i&&Zt(this.a.v,i)&&this.a.resolution==e&&this.a.a==o&&Y(this.a.G(),t))return this.a;Ae(this.a),this.a=null}return this.a=new Wm(r,i,t,e,o,function(t,e,o){return this.Jc(t,e,o,r)}.bind(this)),this.fa=this.i,this.a}return r&&(i=r),this.Jc(t,e,o,i)},Zm.prototype.o=function(t){switch((t=t.target).getState()){case 1:this.b(new Ym(Hm,t));break;case 2:this.b(new Ym(qm,t));break;case 3:this.b(new Ym(Jm,t))}},s(Ym,Ee);var Hm="imageloadstart",qm="imageloadend",Jm="imageloaderror";function _m(t){Zm.call(this,{attributions:t.attributions,logo:t.logo,projection:t.projection,resolutions:t.resolutions,state:t.state}),this.pa=t.canvasFunction,this.R=null,this.T=0,this.va=void 0!==t.ratio?t.ratio:1.5}function $m(t){this.f=t.source,this.$a=[1,0,0,1,0,0],this.g=Je(),this.l=[0,0],this.Sa=null==t.renderBuffer?100:t.renderBuffer,this.B=null,_m.call(this,{attributions:t.attributions,canvasFunction:this.tk.bind(this),logo:t.logo,projection:t.projection,ratio:t.ratio,resolutions:t.resolutions,state:this.f.getState()}),this.I=null,this.v=void 0,this.Ii(t.style),me(this.f,"change",this.ro,this)}function Qm(t,e){fb.call(this,t,e),this.o=this.f=this.M=null}function tw(t){zn.call(this,t||{})}function ew(t){Dm.call(this,t),this.c=null===this.c?null:Je(),this.o=null,this.g=[],this.l=[1/0,1/0,-1/0,-1/0],this.va=new I(0,0,0,0),this.B=[1,0,0,1,0,0],this.T=0}function ow(t,e){return e=e.getState(),t=t.a.kd(),2==e||4==e||3==e&&!t}function iw(){this.b="precision mediump float;varying vec2 a;uniform sampler2D e;void main(void){gl_FragColor=texture2D(e,a);}"}s(_m,Zm),_m.prototype.Jc=function(t,e,o,i){e=Km(this,e);var r=this.R;return r&&this.T==this.i&&r.resolution==e&&r.a==o&&O(r.G(),t)||(lt(t=t.slice(),this.va),(i=this.pa(t,e,o,[st(t)/e*o,it(t)/e*o],i))&&(r=new av(t,e,o,this.j,i)),this.R=r,this.T=this.i),r},s($m,_m),(t=$m.prototype).tk=function(t,n,p,e,o){var s=new Bv(.5*n/p,t,n,this.f.T,this.Sa);this.f.Yd(t,n,o);var a=!1;return this.f.$b(t,function(t){var e,o;if(!(e=a))if((e=t.Lc())?o=e.call(t,n):this.v&&(o=this.v(t,n)),o){var i,r=!1;for(Array.isArray(o)||(o=[o]),e=0,i=o.length;e<i;++e)r=pb(s,t,o[e],nb(n,p),this.qo,this)||r;e=r}else e=!1;a=e},this),Wv(s),a?null:(this.l[0]!=e[0]||this.l[1]!=e[1]?(this.g.canvas.width=e[0],this.g.canvas.height=e[1],this.l[0]=e[0],this.l[1]=e[1]):this.g.clearRect(0,0,e[0],e[1]),t=function(t,e,o,i,r){return o=i/o,np(t.$a,r[0]/2,r[1]/2,o,-o,0,-e[0],-e[1])}(this,et(t),n,p,e),s.La(this.g,p,t,0,{}),this.B=s,this.g.canvas)},t.Ea=function(t,e,o,i,r,n){if(this.B){var p={};return this.B.Ea(t,e,0,i,r,function(t){var e=G(t).toString();if(!(e in p))return p[e]=!0,n(t)})}},t.no=function(){return this.f},t.oo=function(){return this.I},t.po=function(){return this.v},t.qo=function(){this.s()},t.ro=function(){Sb(this,this.f.getState())},t.Ii=function(t){this.I=void 0!==t?t:Rh,this.v=t?Ch(this.I):void 0,this.s()},s(Qm,fb),Qm.prototype.Ea=function(t,e,o,i,r){var n=this.a;return n.ha().Ea(t,e.viewState.resolution,e.viewState.rotation,o,e.skippedFeatureUids,function(t){return i.call(r,t,n)})},Qm.prototype.ng=function(t,e){var o=this.c.i,i=t.pixelRatio,r=t.viewState,n=r.center,p=r.resolution,s=r.rotation,a=this.M,h=this.Ib,l=this.a.ha(),u=t.viewHints,c=t.extent;return void 0!==e.extent&&(c=rt(c,e.extent)),u[0]||u[1]||ht(c)||(e=l.Y(c,p,i,r.projection))&&Yv(this,e)&&(h=function(t,e){return e=e.Y(),hs(t.c.i,e)}(this,a=e),this.Ib&&t.postRenderFunctions.push(function(t,e){t.isContextLost()||t.deleteTexture(e)}.bind(null,o,this.Ib))),a&&(function(t,e,o,i,r,n,p,s){e*=n,o*=n,_n(t=t.S),ip(t,2*i/e,2*i/o),op(t,-p),rp(t,s[0]-r[0],s[1]-r[1]),ip(t,(s[2]-s[0])/2,(s[3]-s[1])/2),rp(t,1,1)}(this,(o=this.c.f.j).width,o.height,i,n,p,s,a.G()),this.o=null,_n(i=this.v),ip(i,1,-1),rp(i,0,-1),this.M=a,this.Ib=h,Jv(t.attributions,a.f),_v(t,l)),!!a},Qm.prototype.Ue=function(t,e){return void 0!==this.Ea(t,e,0,Gi,this)},Qm.prototype.lg=function(t,e,o,i){if(this.M&&this.M.Y())if(this.a.ha()instanceof $m){var r=ep(e.pixelToCoordinateTransform,t.slice());if(this.Ea(r,e,0,Gi,this))return o.call(i,this.a,null)}else{if(r=[this.M.Y().width,this.M.Y().height],!this.o){var n=e.size;rp(e=[1,0,0,1,0,0],-1,-1),ip(e,2/n[0],2/n[1]),rp(e,0,n[1]),ip(e,1,-1);n=pp(this.S.slice());var p=[1,0,0,1,0,0];rp(p,0,r[1]),ip(p,1,-1),ip(p,r[0]/2,r[1]/2),rp(p,1,1),$n(p,n),$n(p,e),this.o=p}if(!((t=ep(this.o,t.slice()))[0]<0||t[0]>r[0]||t[1]<0||t[1]>r[1])&&(this.f||(this.f=Je(1,1)),this.f.clearRect(0,0,1,1),this.f.drawImage(this.M.Y(),t[0],t[1],1,1,0,0,1,1),0<(r=this.f.getImageData(0,0,1,1).data)[3]))return o.call(i,this.a,r)}},s(tw,zn),tw.prototype.Fd=function(t){var e=null,o=t.U();return"canvas"===o?e=new Om(this):"webgl"===o&&(e=new Qm(t,this)),e},s(ew,Dm),ew.prototype.sd=function(t,e){var o=t.pixelRatio,i=t.size,r=(p=t.viewState).projection,n=p.resolution,p=p.center,s=this.a,a=s.ha(),h=a.i,l=a.Ta(r),u=l.tc(n,this.T),c=l.Da(u),y=Math.round(n/c)||1,f=t.extent;if(void 0!==e.extent&&(f=rt(f,e.extent)),ht(f))return!1;var g=ie(l,f,c),d=l.Pc(u),v=l.Da(u),b=F(l.gb(u),l.j);d=W(d[0]+g.ca*b[0]*v,d[1]+g.da*b[1]*v,d[0]+(g.$+1)*b[0]*v,d[1]+(g.ia+1)*b[1]*v,void 0),v=a.nb(o),(b={})[u]={};var m,w,x=this.Nf(a,r,b),S=this.l,M=this.va,P=!1;for(m=g.ca;m<=g.$;++m)for(w=g.da;w<=g.ia;++w){var A=a.Nc(u,m,w,o,r);3!=A.getState()||this.a.kd()||uv(A,2),ow(this,A)||(A=lv(A)),ow(this,A)?2==A.getState()&&(b[u][A.ta.toString()]=A,P||-1!=this.g.indexOf(A)||(P=!0)):ee(l,A.ta,x,M,S)||(A=oe(l,A.ta,M,S))&&x(u+1,A)}if(m=(m=t.viewHints)[0]||m[1],!(this.f&&16<Date.now()-t.time&&m||!P&&this.o&&O(this.o,f)&&this.mf==h&&y==this.R&&(m||c*o/v*y==this.f))){(m=this.c)&&(w=a.Xd(u,o,r),A=Math.round((g.$-g.ca+1)*w[0]/y),w=Math.round((g.ia-g.da+1)*w[1]/y),(P=m.canvas).width!=A||P.height!=w?(this.R=y,P.width=A,P.height=w):(m.clearRect(0,0,A,w),y=this.R)),this.g.length=0,(P=Object.keys(b).map(Number)).sort(N);var E;M=0;for(E=P.length;M<E;++M){m=P[M],x=a.Xd(m,o,r);var T=(A=l.Da(m))/c,j=v*a.Wf(r),C=b[m];for(var L in C){A=C[L],m=((w=l.Aa(A.ta,S))[0]-d[0])/c*v/y,w=(d[3]-w[3])/c*v/y;var R=x[0]*T/y,I=x[1]*T/y;this.Of(A,t,e,m,w,R,I,j),this.g.push(A)}}this.mf=h,this.f=c*o/v*y,this.o=d}return e=this.f/n,e=np(this.B,o*i[0]/2,o*i[1]/2,e,e,0,(this.o[0]-p[0])/this.f*o,(p[1]-this.o[3])/this.f*o),np(this.v,o*i[0]/2-e[4],o*i[1]/2-e[5],o/n,-o/n,0,-p[0],-p[1]),$v(t.usedTiles,a,u,g),Qv(t,a,l,o,r,f,u,s.Ud()),qv(t,a),_v(t,a),0<this.g.length},ew.prototype.Of=function(t,e,o,i,r,n,p,s){this.a.ha().Zf(e.viewState.projection)||this.c.clearRect(i,r,n,p),(t=t.Y())&&this.c.drawImage(t,s,s,t.width-2*s,t.height-2*s,i,r,n,p)},ew.prototype.Y=function(){var t=this.c;return t?t.canvas:null},ew.prototype.C=function(){return this.B},s(iw,Rp);var rw=new iw;function nw(){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;}"}s(nw,Ip);var pw=new nw;function sw(t,e){this.i=t.getUniformLocation(e,"e"),this.c=t.getUniformLocation(e,"d"),this.b=t.getAttribLocation(e,"b"),this.a=t.getAttribLocation(e,"c")}function aw(t,e){fb.call(this,t,e),this.I=rw,this.fa=pw,this.f=null,this.B=new zp([0,0,0,1,1,0,1,1,0,1,0,0,1,1,1,0]),this.D=this.o=null,this.l=-1,this.R=[0,0]}function hw(t){var e=ct({},t=t||{});delete e.preload,delete e.useInterimTilesOnError,zn.call(this,e),this.zi(void 0!==t.preload?t.preload:0),this.Ai(void 0===t.useInterimTilesOnError||t.useInterimTilesOnError)}function lw(t){this.c=null,ew.call(this,t),this.I=!1,this.D=[1,0,0,1,0,0],this.T="vector"==t.j?1:0}s(aw,fb),(t=aw.prototype).ka=function(){is(this.c.f,this.B),fb.prototype.ka.call(this)},t.Nf=function(e,i,r){var n=this.c;return function(o,t){return Pw(e,i,o,t,function(t){var e=n.a.b.hasOwnProperty(t.bb());return e&&(r[o]||(r[o]={}),r[o][t.ta.toString()]=t),e})}},t.mg=function(){fb.prototype.mg.call(this),this.f=null},t.ng=function(t,e,o){var i=this.c,r=o.b,n=t.viewState,p=n.projection,s=this.a,a=s.ha(),h=a.Ta(p),l=h.tc(n.resolution),u=h.Da(l),c=a.Xd(l,t.pixelRatio,p),y=c[0]/F(h.gb(l),this.R)[0],f=u/y,g=a.nb(y)*a.Wf(p),d=n.center,v=t.extent,b=ie(h,v,u);if(this.o&&function(t,e){return t.ca==e.ca&&t.da==e.da&&t.$==e.$&&t.ia==e.ia}(this.o,b)&&this.l==a.i)f=this.D;else{var m=[b.$-b.ca+1,b.ia-b.da+1],w=(m=f*(A=function(t){return R(0<t,29),Math.pow(2,Math.ceil(Math.log(t)/Math.LN2))}(Math.max(m[0]*c[0],m[1]*c[1]))),h.Pc(l));f=[E=w[0]+b.ca*c[0]*f,f=w[1]+b.da*c[1]*f,E+m,f+m];!function(t,e,o){var i=t.c.i;if(void 0===t.j||t.j!=o){e.postRenderFunctions.push(function(t,e,o){t.isContextLost()||(t.deleteFramebuffer(e),t.deleteTexture(o))}.bind(null,i,t.g,t.Ib)),e=as(i,o,o);var r=i.createFramebuffer();i.bindFramebuffer(36160,r),i.framebufferTexture2D(36160,36064,3553,e,0),t.Ib=e,t.g=r,t.j=o}else i.bindFramebuffer(36160,t.g)}(this,t,A),r.viewport(0,0,A,A),r.clearColor(0,0,0,0),r.clear(16384),r.disable(3042),A=ps(o,this.I,this.fa),o.Qc(A),this.f||(this.f=new sw(r,A)),os(o,34962,this.B),r.enableVertexAttribArray(this.f.b),r.vertexAttribPointer(this.f.b,2,5126,!1,16,0),r.enableVertexAttribArray(this.f.a),r.vertexAttribPointer(this.f.a,2,5126,!1,16,8),r.uniform1i(this.f.i,0),(o={})[l]={};var x,S,M=this.Nf(a,p,o),P=s.kd(),A=!0,E=[1/0,1/0,-1/0,-1/0],T=new I(0,0,0,0);for(x=b.ca;x<=b.$;++x)for(S=b.da;S<=b.ia;++S){if(w=a.Nc(l,x,S,y,p),void 0!==e.extent){var j=h.Aa(w.ta,E);if(!at(j,e.extent))continue}if((j=2==(j=w.getState())||4==j||3==j&&!P)||(w=lv(w)),2==(j=w.getState())){if(i.a.b.hasOwnProperty(w.bb())){o[l][w.ta.toString()]=w;continue}}else if(4==j||3==j&&!P)continue;A=!1,(j=ee(h,w.ta,M,T,E))||(w=oe(h,w.ta,T,E))&&M(l+1,w)}(e=Object.keys(o).map(Number)).sort(N);var C;for(M=new Float32Array(4),P=0,T=e.length;P<T;++P)for(C in x=o[e[P]])w=x[C],j=h.Aa(w.ta,E),M[0]=2*(j[2]-j[0])/m,M[1]=2*(j[3]-j[1])/m,M[2]=2*(j[0]-f[0])/m-1,M[3]=2*(j[1]-f[1])/m-1,r.uniform4fv(this.f.c,M),Xa(i,w,c,g*y),r.drawArrays(5,0,4);A?(this.o=b,this.D=f,this.l=a.i):(this.D=this.o=null,this.l=-1,t.animate=!0)}$v(t.usedTiles,a,l,b);var L=i.j;return Qv(t,a,h,y,p,v,l,s.Ud(),function(t){2!=t.getState()||i.a.b.hasOwnProperty(t.bb())||t.bb()in L.a||L.f([t,ne(h,t.ta),h.Da(t.ta[0]),c,g*y])},this),qv(t,a),_v(t,a),_n(r=this.v),rp(r,(Math.round(d[0]/u)*u-f[0])/(f[2]-f[0]),(Math.round(d[1]/u)*u-f[1])/(f[3]-f[1])),n.rotation&&op(r,n.rotation),ip(r,t.size[0]*n.resolution/(f[2]-f[0]),t.size[1]*n.resolution/(f[3]-f[1])),rp(r,-.5,-.5),!0},t.lg=function(t,e,o,i){if(this.g){t=[(t=ep(this.v,[t[0]/e.size[0],(e.size[1]-t[1])/e.size[1]].slice()))[0]*this.j,t[1]*this.j],(e=this.c.f.b).bindFramebuffer(e.FRAMEBUFFER,this.g);var r=new Uint8Array(4);if(e.readPixels(t[0],t[1],1,1,e.RGBA,e.UNSIGNED_BYTE,r),0<r[3])return o.call(i,this.a,r)}},s(hw,zn),(t=hw.prototype).Fd=function(t){var e=null,o=t.U();return"canvas"===o?e=new ew(this):"webgl"===o&&(e=new aw(t,this)),e},t.Ud=function(){return this.get("preload")},t.zi=function(t){this.set("preload",t)},t.kd=function(){return this.get("useInterimTilesOnError")},t.Ai=function(t){this.set("useInterimTilesOnError",t)},s(lw,ew);var uw={image:jp,hybrid:["Polygon","LineString"]},cw={hybrid:["Image","Text"],vector:jp};function yw(t){var e=ct({},t=t||{});delete e.preload,delete e.useInterimTilesOnError,vb.call(this,e),this.Bi(t.preload?t.preload:0),this.Ci(!t.useInterimTilesOnError||t.useInterimTilesOnError),R(null==t.renderMode||"image"==t.renderMode||"hybrid"==t.renderMode||"vector"==t.renderMode,28),this.j=t.renderMode||"hybrid"}function fw(t,e,o,i){function r(){delete window[p],n.parentNode.removeChild(n)}var n=document.createElement("script"),p="olc_"+G(e);n.async=!0,n.src=t+(-1==t.indexOf("?")?"?":"&")+(i||"callback")+"="+p;var s=setTimeout(function(){r(),o&&o()},1e4);window[p]=function(t){clearTimeout(s),r(),e(t)},document.getElementsByTagName("head")[0].appendChild(n)}function gw(t,e,o,i,r,n,p,s,a,h,l){if(hv.call(this,r,0),this.D=void 0!==l&&l,this.S=p,this.u=s,this.v=null,this.c=e,this.j=i,this.o=n||r,this.a=[],this.yd=null,this.g=0,n=i.Aa(this.o),s=this.j.G(),r=this.c.G(),$(n=s?rt(n,s):n))if((s=t.G())&&(r=r?rt(r,s):s),i=Um(t,o,et(n),i.Da(this.o[0])),!isFinite(i)||i<=0)this.state=4;else if(this.l=new Xm(t,o,n,r,i*(void 0!==h?h:.5)),this.l.c.length)if(this.g=e.tc(i),o=Vm(this.l),r&&(t.i?(o[1]=w(o[1],r[1],r[3]),o[3]=w(o[3],r[1],r[3])):o=rt(o,r)),$(o)){for(e=(t=re(e,o,this.g)).ca;e<=t.$;e++)for(o=t.da;o<=t.ia;o++)(h=a(this.g,e,o,p))&&this.a.push(h);this.a.length||(this.state=4)}else this.state=4;else this.state=4;else this.state=4}function dw(t,o){var i=/\{z\}/g,r=/\{x\}/g,n=/\{y\}/g,p=/\{-y\}/g;return function(e){if(e)return t.replace(i,e[0].toString()).replace(r,e[1].toString()).replace(n,function(){return(-e[2]-1).toString()}).replace(p,function(){var t=o.a?o.a[e[0]]:null;return R(t,55),(t.ia-t.da+1+e[2]).toString()})}}function vw(t,e){for(var o=t.length,i=Array(o),r=0;r<o;++r)i[r]=dw(t[r],e);return bw(i)}function bw(i){return 1===i.length?i[0]:function(t,e,o){if(t)return i[L((t[1]<<t[0])+t[2],i.length)](t,e,o)}}function mw(){}function ww(t){var e=[],o=/\{([a-z])-([a-z])\}/.exec(t);if(o){var i,r=o[2].charCodeAt(0);for(i=o[1].charCodeAt(0);i<=r;++i)e.push(t.replace(o[0],String.fromCharCode(i)));return e}if(o=/\{(\d+)-(\d+)\}/.exec(t)){for(r=parseInt(o[2],10),i=parseInt(o[1],10);i<=r;i++)e.push(t.replace(o[0],i.toString()));return e}return e.push(t),e}function xw(t){Ga.call(this),this.highWaterMark=void 0!==t?t:2048}function Sw(t){return t.c>t.highWaterMark}function Mw(t){wb.call(this,{attributions:t.attributions,extent:t.extent,logo:t.logo,projection:t.projection,state:t.state,wrapX:t.wrapX}),this.va=void 0!==t.opaque&&t.opaque,this.$a=void 0!==t.tilePixelRatio?t.tilePixelRatio:1,this.tileGrid=void 0!==t.tileGrid?t.tileGrid:null,this.a=new xw(t.cacheSize),this.o=[0,0],this.uc=""}function Pw(t,e,o,i,r){if(!(e=t.Wd(e)))return!1;for(var n,p,s=!0,a=i.ca;a<=i.$;++a)for(var h=i.da;h<=i.ia;++h)n=t.Sb(o,a,h),p=!1,e.b.hasOwnProperty(n)&&((p=2===(n=e.get(n)).getState())&&(p=!1!==r(n))),p||(s=!1);return s}function Aw(t,e){t.uc!==e&&(t.uc=e,t.s())}function Ew(t,e,o){var i=void 0!==o?o:t.c;if(o=t.Ta(i),t.u&&i.c){var r=e;e=r[0],t=ne(o,r),e=D(i=ue(i),t)?r:(r=st(i),t[0]+=r*Math.ceil((i[0]-t[0])/r),o.bg(t,e))}if(r=e[0],i=e[1],t=e[2],o.minZoom>r||r>o.maxZoom)o=!1;else{var n=o.G();o=!(o=n?re(o,n,r):o.a?o.a[r]:null)||y(o,i,t)}return o?e:null}function Tw(t,e){Ee.call(this,t),this.tile=e}function jw(t){Mw.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,extent:t.extent,logo:t.logo,opaque:t.opaque,projection:t.projection,state:t.state,tileGrid:t.tileGrid,tilePixelRatio:t.tilePixelRatio,wrapX:t.wrapX}),this.tileLoadFunction=t.tileLoadFunction,this.tileUrlFunction=this.Fc?this.Fc.bind(this):mw,this.urls=null,t.urls?this.eb(t.urls):t.url&&this.jb(t.url),t.tileUrlFunction&&this.cb(t.tileUrlFunction)}function Cw(t){jw.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,extent:t.extent,logo:t.logo,opaque:t.opaque,projection:t.projection,state:t.state,tileGrid:t.tileGrid,tileLoadFunction:t.tileLoadFunction?t.tileLoadFunction:Iw,tilePixelRatio:t.tilePixelRatio,tileUrlFunction:t.tileUrlFunction,url:t.url,urls:t.urls,wrapX:t.wrapX}),this.crossOrigin=void 0!==t.crossOrigin?t.crossOrigin:null,this.tileClass=t.tileClass?t.tileClass:cv,this.g={},this.v={},this.Sa=t.reprojectionErrorThreshold,this.I=!1}function Lw(t,e,o,i,r,n,p){return r=(o=Ew(t,e=[e,o,i],n))?t.tileUrlFunction(o,r,n):void 0,(r=new t.tileClass(e,void 0!==r?0:4,void 0!==r?r:"",t.crossOrigin,t.tileLoadFunction)).key=p,me(r,"change",t.Li,t),r}function Rw(t,e,o,i,r,n){var p=t.Sb(e,o,i),s=t.uc;if(t.a.b.hasOwnProperty(p)){var a=t.a.get(p);if(a.key!=s){var h=a;if(a=Lw(t,e,o,i,r,n,s),0==h.getState()?a.i=h.i:a.i=h,a.i){e=a.i,o=a;do{if(2==e.getState()){e.i=null;break}1==e.getState()?o=e:0==e.getState()?o.i=e.i:o=e,e=o.i}while(e)}t.a.replace(p,a)}}else a=Lw(t,e,o,i,r,n,s),t.a.set(p,a);return a}function Iw(t,e){t.Y().src=e}function Nw(t){this.B=void 0!==t.hidpi&&t.hidpi,Cw.call(this,{cacheSize:t.cacheSize,crossOrigin:"anonymous",opaque:!0,projection:Wt("EPSG:3857"),reprojectionErrorThreshold:t.reprojectionErrorThreshold,state:"loading",tileLoadFunction:t.tileLoadFunction,tilePixelRatio:this.B?2:1,wrapX:void 0===t.wrapX||t.wrapX}),this.R=void 0!==t.culture?t.culture:"en-us",this.C=void 0!==t.maxZoom?t.maxZoom:-1,this.f=t.key,this.l=t.imagerySet,fw("https://dev.virtualearth.net/REST/v1/Imagery/Metadata/"+this.l+"?uriScheme=https&include=ImageryProviders&key="+this.f,this.pa.bind(this),void 0,"jsonp")}(t=lw.prototype).sd=function(t,e){var o=this.a,i=o.i;return this.pa!=i&&(this.g.length=0,o=o.j,this.c||"vector"==o||(this.c=Je()),this.c&&"vector"==o&&(this.c=null)),this.pa=i,ew.prototype.sd.apply(this,arguments)},t.Of=function(t,e,o,i,r,n,p,s){var a=t,h=this.a,l=e.pixelRatio,u=e.viewState.projection,c=h.i,y=h.get(bb)||null,f=a.o;if(f.Nd||f.mf!=c||f.Kg!=y){for(var g=0,d=a.a.length;g<d;++g){var v=a.c[a.a[g]];v.S=null,f.Nd=!1;var b=h.ha(),m=b.tileGrid,w=v.ta,x=v.a,S=(P=b.Ta(u)).Da(a.ta[0]),M=m.Da(v.ta[0]),P=rt(P=P.Aa(a.v),w=m.Aa(w));if("tile-pixels"==x.a){var A=m=b.nb();M=ep(M=np(this.D,0,0,1/M*A,-1/M*A,0,-w[0],-w[3]),[P[0],P[3]]).concat(ep(M,[P[2],P[1]]))}else if(m=S,M=P,!Zt(u,x)){var E=!0;v.ig(u)}for(f.Nd=!1,b=new Bv(0,M,m,b.l,h.c),M=nb(m,l),m=v.g,y&&y!==f.Kg&&m.sort(y),w=0,P=m.length;w<P;++w){A=m[w],E&&A.V().tb(x,u);var T=void 0;if((j=A.Lc())?T=j.call(A,S):(j=h.f)&&(T=j(A,S)),T){Array.isArray(T)||(T=[T]);var j=M,C=b;if(T){var L=!1;if(Array.isArray(T))for(var R=0,I=T.length;R<I;++R)L=pb(C,A,T[R],j,this.Fi,this)||L;else L=pb(C,A,T,j,this.Fi,this)||L;A=L}else A=!1;this.I=this.I||A,f.Nd=f.Nd||A}}Wv(b),v.c[a.ta.toString()]=b}f.mf=c,f.Kg=y}if(this.c){if(g=e,u=this.a,l=a.o,c=u.i,(h=uw[u.j])&&l.Lg!==c)for(l.Lg=c,v=(d=a.v)[0],l=g.pixelRatio,u=(S=u.ha()).tileGrid,c=(x=S.Ta(g.viewState.projection)).Da(v),y=S.nb(),a.j||(a.j=Je()),f=a.j,g=S.Xd(v,l,g.viewState.projection),f.canvas.width=g[0],f.canvas.height=g[1],g=x.Aa(d),d=0,v=a.a.length;d<v;++d)b=(x=a.c[a.a[d]]).ta,E=l/c,S=_n(this.D),"tile-pixels"==x.a.a?(E=u.Aa(b,this.l),ip(S,M=l/y*(b=u.Da(b[0]))/c,M),rp(S,Math.round((E[0]-g[0])/b*y),Math.round((g[3]-E[3])/b*y))):(ip(S,E,-E),rp(S,-g[0],-g[3])),x.c[a.ta.toString()].La(f,l,S,0,{},h);ew.prototype.Of.apply(this,arguments)}},t.Ea=function(t,e,o,i,r){var n=e.viewState.resolution,p=e.viewState.rotation;o=null==o?0:o;var s=this.a,a={},h=this.g,l=s.ha();e=l.Ta(e.viewState.projection);var u,c=l.tileGrid,y=0;for(u=h.length;y<u;++y){var f=h[y],g=f.ta,d=T(g=e.Aa(g,this.l),o*n,d);if(D(d,t)){g=0;for(var v=f.a.length;g<v;++g){var b=f.c[f.a[g]];if("tile-pixels"===b.a.a){var m=b.ta,w=nt(n=c.Aa(m,this.l));n=l.nb(),m=c.Da(m[0])/n,w=[(t[0]-w[0])/m,(w[1]-t[1])/m]}else w=t;b=b.c[f.ta];var x=x||b.Ea(w,n,p,o,{},function(t){var e=G(t).toString();if(!(e in a))return a[e]=!0,i.call(r,t,s)})}}}return x},t.Fi=function(){Hv(this)},t.ef=function(t,e,o){var i=(l=this.a).ha(),r=cw[l.j];if(r)for(var n=e.pixelRatio,p=e.viewState.rotation,s=e.size,a=Math.round(n*s[0]/2),h=(s=Math.round(n*s[1]/2),this.g),l=l.ha().nb(),u=i.tileGrid,c=(i=i.Ta(e.viewState.projection),[]),y=[],f=h.length-1;0<=f;--f){var g=h[f];if(5!=g.getState())for(var d=g.ta,v=i.Aa(d)[0]-i.Aa(g.v)[0],b=0,m=g.a.length;b<m;++b){var w=g.c[g.a[b]],x=w.ta[0],S=u.Da(x),M=e;if("tile-pixels"==(T=w).a.a){var P=(E=this.a.ha()).tileGrid,A=T.ta,E=P.Da(A[0])/E.nb(),T=M.viewState,j=M.pixelRatio,C=T.resolution/j;A=P.Aa(A,this.l),P=T.center,A=nt(A);M=M.size,M=np(this.D,Math.round(j*M[0]/2),Math.round(j*M[1]/2),E/C,E/C,T.rotation,(A[0]-P[0])/E,(P[1]-A[1])/E)}else M=ib(this,M,0);for(rp(M,v*l/S,0),S=Zv(w=w.c[d.toString()],M),t.save(),t.globalAlpha=o.opacity,vp(t,-p,a,s),E=0,T=c.length;E<T;++E)j=c[E],x<y[E]&&(t.beginPath(),t.moveTo(S[0],S[1]),t.lineTo(S[2],S[3]),t.lineTo(S[4],S[5]),t.lineTo(S[6],S[7]),t.moveTo(j[6],j[7]),t.lineTo(j[4],j[5]),t.lineTo(j[2],j[3]),t.lineTo(j[0],j[1]),t.clip());w.La(t,n,M,p,{},r),t.restore(),c.push(S),y.push(x)}}ew.prototype.ef.apply(this,arguments)},s(yw,vb),(t=yw.prototype).Fd=function(t){var e=null;return"canvas"===t.U()&&(e=new lw(this)),e},t.Ud=function(){return this.get("preload")},t.kd=function(){return this.get("useInterimTilesOnError")},t.Bi=function(t){this.set("preload",t)},t.Ci=function(t){this.set("useInterimTilesOnError",t)},s(gw,hv),gw.prototype.ka=function(){1==this.state&&(this.yd.forEach(Se),this.yd=null),hv.prototype.ka.call(this)},gw.prototype.Y=function(){return this.v},gw.prototype.de=function(){var e=[];if(this.a.forEach(function(t){t&&2==t.getState()&&e.push({extent:this.c.Aa(t.ta),image:t.Y()})},this),this.a.length=0,e.length){var t=this.o[0],o="number"==typeof(i=this.j.gb(t))?i:i[0],i="number"==typeof i?i:i[1],r=(t=this.j.Da(t),this.c.Da(this.g)),n=this.j.Aa(this.o);this.v=Bm(o,i,this.S,r,this.c.G(),t,n,this.l,e,this.u,this.D),this.state=2}else this.state=3;this.s()},gw.prototype.load=function(){if(0==this.state){this.state=1,this.s();var i=0;this.yd=[],this.a.forEach(function(e){var t=e.getState();if(0==t||1==t){i++;var o=me(e,"change",function(){var t=e.getState();2!=t&&3!=t&&4!=t||(Se(o),--i||(this.yd.forEach(Se),this.yd=null,this.de()))},this);this.yd.push(o)}},this),this.a.forEach(function(t){0==t.getState()&&t.load()}),i||setTimeout(this.de.bind(this),0)}},s(xw,Ga),xw.prototype.fd=function(t){for(var e,o;Sw(this);){var i;if((i=(o=(e=this.a.Yc).ta[0].toString())in t)&&(e=e.ta,i=y(t[o],e[1],e[2])),i)break;Ae(this.pop())}},s(Mw,wb),(t=Mw.prototype).Ki=function(){return Sw(this.a)},t.fd=function(t,e){(t=this.Wd(t))&&t.fd(e)},t.Wf=function(){return 0},t.Sb=function(t,e,o){return t+"/"+e+"/"+o},t.Zf=function(){return this.va},t.ab=function(){return this.tileGrid},t.Ta=function(t){return this.tileGrid?this.tileGrid:se(t)},t.Wd=function(t){var e=this.c;return e&&!Zt(e,t)?null:this.a},t.nb=function(){return this.$a},t.Xd=function(t,e,o){return o=this.Ta(o),e=this.nb(e),t=F(o.gb(t),this.o),1==e?t:A(t,e,this.o)},t.sa=function(){this.a.clear(),this.s()},t.Ug=m,s(Tw,Ee),s(jw,Mw),(t=jw.prototype).pb=function(){return this.tileLoadFunction},t.qb=function(){return this.tileUrlFunction},t.rb=function(){return this.urls},t.Li=function(t){switch((t=t.target).getState()){case 1:this.b(new Tw("tileloadstart",t));break;case 2:this.b(new Tw("tileloadend",t));break;case 3:this.b(new Tw("tileloaderror",t))}},t.vb=function(t){this.a.clear(),this.tileLoadFunction=t,this.s()},t.cb=function(t,e){this.tileUrlFunction=t,void 0!==e?Aw(this,e):this.s()},t.jb=function(t){var e=this.urls=ww(t);this.cb(this.Fc?this.Fc.bind(this):vw(e,this.tileGrid),t)},t.eb=function(t){var e=(this.urls=t).join("\n");this.cb(this.Fc?this.Fc.bind(this):vw(t,this.tileGrid),e)},t.Ug=function(t,e,o){t=this.Sb(t,e,o),this.a.b.hasOwnProperty(t)&&this.a.get(t)},s(Cw,jw),(t=Cw.prototype).Ki=function(){if(Sw(this.a))return!0;for(var t in this.g)if(Sw(this.g[t]))return!0;return!1},t.fd=function(t,e){for(var o in t=this.Wd(t),this.a.fd(this.a==t?e:{}),this.g){var i=this.g[o];i.fd(i==t?e:{})}},t.Wf=function(t){return this.c&&t&&!Zt(this.c,t)?0:this.Xf()},t.Xf=function(){return 0},t.Zf=function(t){return!(this.c&&t&&!Zt(this.c,t))&&jw.prototype.Zf.call(this,t)},t.Ta=function(t){var e=this.c;return!this.tileGrid||e&&!Zt(e,t)?((e=G(t).toString())in this.v||(this.v[e]=se(t)),this.v[e]):this.tileGrid},t.Wd=function(t){var e=this.c;return!e||Zt(e,t)?this.a:((t=G(t).toString())in this.g||(this.g[t]=new xw(this.a.highWaterMark)),this.g[t])},t.Nc=function(t,e,o,i,r){if(this.c&&r&&!Zt(this.c,r)){var n,p=this.Wd(r);if(o=[t,e,o],t=this.Sb.apply(this,o),p.b.hasOwnProperty(t)&&(n=p.get(t)),e=this.uc,n&&n.key==e)return n;var s=this.c,a=this.Ta(s),h=this.Ta(r),l=Ew(this,o,r);return(i=new gw(s,a,r,h,o,l,this.nb(i),this.Xf(),function(t,e,o,i){return Rw(this,t,e,o,i,s)}.bind(this),this.Sa,this.I)).key=e,n?(i.i=n,p.replace(t,i)):p.set(t,i),i}return Rw(this,t,e,o,i,r)},t.Pb=function(t){if(this.I!=t){for(var e in this.I=t,this.g)this.g[e].clear();this.s()}},t.Qb=function(t,e){(t=Wt(t))&&((t=G(t).toString())in this.v||(this.v[t]=e))},s(Nw,Cw);var Fw=new ce({html:'<a class="ol-attribution-bing-tos" href="http://www.microsoft.com/maps/product/terms.html">Terms of Use</a>'});function kw(t){var e=void 0!==(t=t||{}).projection?t.projection:"EPSG:3857",o=void 0!==t.tileGrid?t.tileGrid:ae({extent:ue(e),maxZoom:t.maxZoom,minZoom:t.minZoom,tileSize:t.tileSize});Cw.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,logo:t.logo,opaque:t.opaque,projection:e,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileGrid:o,tileLoadFunction:t.tileLoadFunction,tilePixelRatio:t.tilePixelRatio,tileUrlFunction:t.tileUrlFunction,url:t.url,urls:t.urls,wrapX:void 0===t.wrapX||t.wrapX})}function Dw(t){this.C=t.account,this.B=t.map||"",this.f=t.config||{},this.l={},kw.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,logo:t.logo,maxZoom:void 0!==t.maxZoom?t.maxZoom:18,minZoom:t.minZoom,projection:t.projection,state:"loading",wrapX:t.wrapX}),Ow(this)}function Ow(t){var e=JSON.stringify(t.f);if(t.l[e])Uw(t,t.l[e]);else{var o="https://"+t.C+".cartodb.com/api/v1/map";t.B&&(o+="/named/"+t.B);var i=new XMLHttpRequest;i.addEventListener("load",t.Dl.bind(t,e)),i.addEventListener("error",t.Cl.bind(t)),i.open("POST",o),i.setRequestHeader("Content-type","application/json"),i.send(JSON.stringify(t.f))}}function Uw(t,e){t.jb("https://"+e.cdn_url.https+"/"+t.C+"/api/v1/map/"+e.layergroupid+"/{z}/{x}/{y}.png")}function Gw(t){Mb.call(this,{attributions:t.attributions,extent:t.extent,logo:t.logo,projection:t.projection,wrapX:t.wrapX}),this.resolution=void 0,this.distance=void 0!==t.distance?t.distance:20,this.features=[],this.geometryFunction=t.geometryFunction||function(t){return R((t=t.V())instanceof lr,10),t},this.source=t.source,this.source.J("change",Gw.prototype.sa,this)}function Bw(t){if(void 0!==t.resolution)for(var e=[1/(t.features.length=0),1/0,-1/0,-1/0],o=t.distance*t.resolution,i=t.source.Xe(),r={},n=0,p=i.length;n<p;n++){var s=i[n];G(s).toString()in r||!(s=t.geometryFunction(s))||(K(s=s.X(),e),T(e,o,e),s=(s=t.source.Uf(e)).filter(function(t){return!((t=G(t).toString())in r)&&(r[t]=!0)}),t.features.push(Xw(t,s)))}}function Xw(t,e){for(var o=[0,0],i=e.length-1;0<=i;--i){var r=t.geometryFunction(e[i]);r?ji(o,r.X()):e.splice(i,1)}return Fi(o,1/e.length),(t=new Fh(new lr(o))).set("features",e),t}function Vw(t,e){var o=[];Object.keys(e).forEach(function(t){null!==e[t]&&void 0!==e[t]&&o.push(t+"="+encodeURIComponent(e[t]))});var i=o.join("&");return(t=-1===(t=t.replace(/[?&]$/,"")).indexOf("?")?t+"?":t+"&")+i}function Ww(t){Zm.call(this,{attributions:(t=t||{}).attributions,logo:t.logo,projection:t.projection,resolutions:t.resolutions}),this.R=void 0!==t.crossOrigin?t.crossOrigin:null,this.T=void 0===t.hidpi||t.hidpi,this.f=t.url,this.g=t.imageLoadFunction?t.imageLoadFunction:zm,this.v=t.params||{},this.M=null,this.l=[0,0],this.I=0,this.B=void 0!==t.ratio?t.ratio:1.5}function Zw(t){Zm.call(this,{projection:t.projection,resolutions:t.resolutions}),this.R=void 0!==t.crossOrigin?t.crossOrigin:null,this.l=void 0!==t.displayDpi?t.displayDpi:96,this.g=t.params||{},this.I=t.url,this.f=t.imageLoadFunction?t.imageLoadFunction:zm,this.T=void 0===t.hidpi||t.hidpi,this.pa=void 0!==t.metersPerUnit?t.metersPerUnit:1,this.v=void 0!==t.ratio?t.ratio:1,this.va=void 0!==t.useOverlay&&t.useOverlay,this.M=null,this.B=0}function Kw(t){var e=t.imageExtent,o=void 0!==t.crossOrigin?t.crossOrigin:null,i=t.imageLoadFunction?t.imageLoadFunction:zm;Zm.call(this,{attributions:t.attributions,logo:t.logo,projection:Wt(t.projection)}),this.M=new sv(e,void 0,1,this.j,t.url,o,i),this.f=t.imageSize?t.imageSize:null,me(this.M,"change",this.o,this)}function zw(t){Zm.call(this,{attributions:(t=t||{}).attributions,logo:t.logo,projection:t.projection,resolutions:t.resolutions}),this.pa=void 0!==t.crossOrigin?t.crossOrigin:null,this.g=t.url,this.v=t.imageLoadFunction?t.imageLoadFunction:zm,this.f=t.params||{},this.l=!0,qw(this),this.T=t.serverType,this.va=void 0===t.hidpi||t.hidpi,this.M=null,this.B=[0,0],this.R=0,this.I=void 0!==t.ratio?t.ratio:1.5}Nw.prototype.T=function(){return this.f},Nw.prototype.fa=function(){return this.l},Nw.prototype.pa=function(t){if(200!=t.statusCode||"OK"!=t.statusDescription||"ValidCredentials"!=t.authenticationResultCode||1!=t.resourceSets.length||1!=t.resourceSets[0].resources.length)Sb(this,"error");else{var e=t.brandLogoUri;-1==e.indexOf("https")&&(e=e.replace("http","https"));var i=t.resourceSets[0].resources[0],p=-1==this.C?i.zoomMax:this.C,s=ae({extent:t=ue(this.c),minZoom:i.zoomMin,maxZoom:p,tileSize:(i.imageWidth==i.imageHeight?i.imageWidth:[i.imageWidth,i.imageHeight])/this.nb()});this.tileGrid=s;var r=this.R,n=this.B;if(this.tileUrlFunction=bw(i.imageUrlSubdomains.map(function(t){var e=[0,0,0],o=i.imageUrl.replace("{subdomain}",t).replace("{culture}",r);return function(t){if(t)return $t(t[0],t[1],-t[2]-1,e),t=o,n&&(t+="&dpi=d1&device=mobile"),t.replace("{quadkey}",function(t){var e,o=t[0],i=Array(o),r=1<<o-1;for(e=0;e<o;++e){var n=48;t[1]&r&&(n+=1),t[2]&r&&(n+=2),i[e]=String.fromCharCode(n),r>>=1}return i.join("")}(e))}})),i.imageryProviders){var a=zt(Wt("EPSG:4326"),this.c);(t=i.imageryProviders.map(function(t){var e=t.attribution,n={};return t.coverageAreas.forEach(function(t){var e,o=t.zoomMin,i=Math.min(t.zoomMax,p);for(t=ut([(t=t.bbox)[1],t[0],t[3],t[2]],a),e=o;e<=i;++e){var r=e.toString();o=re(s,t,e),r in n?n[r].push(o):n[r]=[o]}}),new ce({html:e,tileRanges:n})})).push(Fw),this.ua(t)}this.D=e,Sb(this,"ready")}},s(kw,Cw),s(Dw,kw),(t=Dw.prototype).Kk=function(){return this.f},t.tq=function(t){ct(this.f,t),Ow(this)},t.Xp=function(t){this.f=t||{},Ow(this)},t.Dl=function(t,e){if(!(e=e.target).status||200<=e.status&&e.status<300){try{var o=JSON.parse(e.responseText)}catch(t){return void Sb(this,"error")}Uw(this,o),this.l[t]=o,Sb(this,"ready")}else Sb(this,"error")},t.Cl=function(){Sb(this,"error")},s(Gw,Mb),(t=Gw.prototype).$n=function(){return this.distance},t.ao=function(){return this.source},t.Yd=function(t,e,o){this.source.Yd(t,e,o),e!==this.resolution&&(this.clear(),this.resolution=e,Bw(this),this.cd(this.features))},t.Yp=function(t){this.distance=t,this.sa()},t.sa=function(){this.clear(),Bw(this),this.cd(this.features),Mb.prototype.sa.call(this)},s(Ww,Zm),(t=Ww.prototype).co=function(){return this.v},t.Jc=function(t,e,o,i){if(void 0===this.f)return null;e=Km(this,e),o=this.T?o:1;var r=this.M;if(r&&this.I==this.i&&r.resolution==e&&r.a==o&&O(r.G(),t))return r;ct(r={F:"image",FORMAT:"PNG32",TRANSPARENT:!0},this.v);var n=((t=t.slice())[0]+t[2])/2,p=(t[1]+t[3])/2;if(1!=this.B){var s=this.B*st(t)/2,a=this.B*it(t)/2;t[0]=n-s,t[1]=p-a,t[2]=n+s,t[3]=p+a}s=e/o,a=Math.ceil(st(t)/s);var h=Math.ceil(it(t)/s);return t[0]=n-s*a/2,t[2]=n+s*a/2,t[1]=p-s*h/2,t[3]=p+s*h/2,this.l[0]=a,this.l[1]=h,n=t,p=this.l,s=o,i=i.mb.split(":").pop(),r.SIZE=p[0]+","+p[1],r.BBOX=n.join(","),r.BBOXSR=i,r.IMAGESR=i,r.DPI=Math.round(90*s),(n=(i=this.f).replace(/MapServer\/?$/,"MapServer/export").replace(/ImageServer\/?$/,"ImageServer/exportImage"))==i&&R(!1,50),r=Vw(n,r),this.M=new sv(t,e,o,this.j,r,this.R,this.g),this.I=this.i,me(this.M,"change",this.o,this),this.M},t.bo=function(){return this.g},t.eo=function(){return this.f},t.fo=function(t){this.M=null,this.g=t,this.s()},t.ho=function(t){t!=this.f&&(this.f=t,this.M=null,this.s())},t.io=function(t){ct(this.v,t),this.M=null,this.s()},s(Zw,Zm),(t=Zw.prototype).ko=function(){return this.g},t.Jc=function(t,e,o){if(e=Km(this,e),o=this.T?o:1,(r=this.M)&&this.B==this.i&&r.resolution==e&&r.a==o&&O(r.G(),t))return r;1!=this.v&<(t=t.slice(),this.v);var i=[st(t)/e*o,it(t)/e*o];if(void 0!==this.I){var r=this.I,n=et(t),p=this.pa,s=st(t),a=it(t),h=i[0],l=i[1],u=.0254/this.l;i={OPERATION:this.va?"GETDYNAMICMAPOVERLAYIMAGE":"GETMAPIMAGE",VERSION:"2.0.0",LOCALE:"en",CLIENTAGENT:"ol.source.ImageMapGuide source",CLIP:"1",SETDISPLAYDPI:this.l,SETDISPLAYWIDTH:Math.round(i[0]),SETDISPLAYHEIGHT:Math.round(i[1]),SETVIEWSCALE:h*a<l*s?s*p/(h*u):a*p/(l*u),SETVIEWCENTERX:n[0],SETVIEWCENTERY:n[1]};ct(i,this.g),r=Vw(r,i),me(r=new sv(t,e,o,this.j,r,this.R,this.f),"change",this.o,this)}else r=null;return this.M=r,this.B=this.i,r},t.jo=function(){return this.f},t.mo=function(t){ct(this.g,t),this.s()},t.lo=function(t){this.M=null,this.f=t,this.s()},s(Kw,Zm),Kw.prototype.Jc=function(t){return at(t,this.M.G())?this.M:null},Kw.prototype.o=function(t){if(2==this.M.getState()){var e=this.M.G(),o=this.M.Y();if(this.f)var i=this.f[0],r=this.f[1];else i=o.width,r=o.height;if((e=Math.ceil(st(e)/(it(e)/r)))!=i){var n=(e=Je(e,r)).canvas;e.drawImage(o,0,0,i,r,0,0,n.width,n.height),this.M.Og(n)}}Zm.prototype.o.call(this,t)},s(zw,Zm);var Yw=[101,101];function Hw(t,e,o,i,r,n){if(R(void 0!==t.g,9),n[t.l?"CRS":"SRS"]=r.mb,"STYLES"in t.f||(n.STYLES=""),1!=i)switch(t.T){case"geoserver":i=90*i+.5|0,n.FORMAT_OPTIONS="FORMAT_OPTIONS"in n?n.FORMAT_OPTIONS+";dpi:"+i:"dpi:"+i;break;case"mapserver":n.MAP_RESOLUTION=90*i;break;case"carmentaserver":case"qgis":n.DPI=90*i;break;default:R(!1,8)}var p;return n.WIDTH=o[0],n.HEIGHT=o[1],o=r.b,p=t.l&&"ne"==o.substr(0,2)?[e[1],e[0],e[3],e[2]]:e,n.BBOX=p.join(","),Vw(t.g,n)}function qw(t){t.l=0<=Ti(t.f.VERSION||"1.3.0")}function Jw(t){var e;e=void 0!==(t=t||{}).attributions?t.attributions:[_w],kw.call(this,{attributions:e,cacheSize:t.cacheSize,crossOrigin:void 0!==t.crossOrigin?t.crossOrigin:"anonymous",opaque:void 0===t.opaque||t.opaque,maxZoom:void 0!==t.maxZoom?t.maxZoom:19,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileLoadFunction:t.tileLoadFunction,url:void 0!==t.url?t.url:"https://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png",wrapX:t.wrapX})}(t=zw.prototype).so=function(t,e,o,i){if(void 0!==this.g){var r=ot(t,e,0,Yw),n={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetFeatureInfo",FORMAT:"image/png",TRANSPARENT:!0,QUERY_LAYERS:this.f.LAYERS};return ct(n,this.f,i),i=Math.floor((r[3]-t[1])/e),n[this.l?"I":"X"]=Math.floor((t[0]-r[0])/e),n[this.l?"J":"Y"]=i,Hw(this,r,Yw,1,Wt(o),n)}},t.uo=function(){return this.f},t.Jc=function(t,e,o,i){if(void 0===this.g)return null;e=Km(this,e),1==o||this.va&&void 0!==this.T||(o=1);var r=e/o,n=et(t),p=ot(n,r,0,[Math.ceil(st(t)/r),Math.ceil(it(t)/r)]);return t=ot(n,r,0,[Math.ceil(this.I*st(t)/r),Math.ceil(this.I*it(t)/r)]),(n=this.M)&&this.R==this.i&&n.resolution==e&&n.a==o&&O(n.G(),p)?n:(ct(p={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0},this.f),this.B[0]=Math.round(st(t)/r),this.B[1]=Math.round(it(t)/r),i=Hw(this,t,this.B,o,i,p),this.M=new sv(t,e,o,this.j,i,this.pa,this.v),this.R=this.i,me(this.M,"change",this.o,this),this.M)},t.to=function(){return this.v},t.vo=function(){return this.g},t.wo=function(t){this.M=null,this.v=t,this.s()},t.xo=function(t){t!=this.g&&(this.g=t,this.M=null,this.s())},t.yo=function(t){ct(this.f,t),qw(this),this.M=null,this.s()},s(Jw,kw);var _w=new ce({html:'© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors.'});function $w(t){this.B=null,this.va=void 0!==t.operationType?t.operationType:"pixel",this.Sa=void 0!==t.threads?t.threads:1,this.g=function(t){for(var e=t.length,o=Array(e),i=0;i<e;++i){var r=i,n=t[i],p=null;n instanceof Mw?(n=new hw({source:n}),p=new ew(n)):n instanceof Zm&&(n=new tw({source:n}),p=new Om(n)),o[r]=p}return o}(t.sources);for(var e=0,o=this.g.length;e<o;++e)me(this.g[e],"change",this.s,this);this.T=new Si(function(){return 1},this.s.bind(this));o={};for(var i=0,r=(e=function(t){return t.map(function(t){return Wn(t.a)})}(this.g)).length;i<r;++i)o[G(e[i].layer)]=e[i];this.f=null,this.I={animate:!1,attributions:{},coordinateToPixelTransform:[1,0,0,1,0,0],extent:null,focus:null,index:0,layerStates:o,layerStatesArray:e,logos:{},pixelRatio:1,pixelToCoordinateTransform:[1,0,0,1,0,0],postRenderFunctions:[],size:[0,0],skippedFeatureUids:{},tileQueue:this.T,time:Date.now(),usedTiles:{},viewState:{rotation:0},viewHints:[],wantedTiles:{}},Zm.call(this,{}),t.operation&&this.v(t.operation,t.lib)}Js.df={},Js.df.Af=function(){},function(t){function r(u){var c=!0;try{new ImageData(10,10)}catch(t){c=!1}return function(t){var e=t.buffers,o=t.meta,i=t.width,r=t.height,n=e.length,p=e[0].byteLength;if(t.imageOps){for(p=Array(n),t=0;t<n;++t){var s=t,a=new Uint8ClampedArray(e[t]),h=i,l=r;a=c?new ImageData(a,h,l):{data:a,width:h,height:l},p[s]=a}i=u(p,o).data}else{for(i=new Uint8ClampedArray(p),r=Array(n),s=Array(n),t=0;t<n;++t)r[t]=new Uint8ClampedArray(e[t]),s[t]=[0,0,0,0];for(e=0;e<p;e+=4){for(t=0;t<n;++t)a=r[t],s[t][0]=a[e],s[t][1]=a[e+1],s[t][2]=a[e+2],s[t][3]=a[e+3];t=u(s,o),i[e]=t[0],i[e+1]=t[1],i[e+2]=t[2],i[e+3]=t[3]}}return i.buffer}}function n(e,t){var o=Object.keys(e.lib||{}).map(function(t){return"var "+t+" = "+e.lib[t].toString()+";"}).concat(["var __minion__ = ("+r.toString()+")(",e.operation.toString(),");",'self.addEventListener("message", function(event) {'," var buffer = __minion__(event.data);"," self.postMessage({buffer: buffer, meta: event.data.meta}, [buffer]);","});"]);o=URL.createObjectURL(new Blob(o,{type:"text/javascript"}));return(o=new Worker(o)).addEventListener("message",t),o}function e(t){var e;this.Ff=!!t.$l;var o=[];if(e=0===t.threads?0:this.Ff?1:t.threads||1)for(var i=0;i<e;++i)o[i]=n(t,this.gh.bind(this,i));else o[0]=function(t,e){var o=r(t.operation);return{postMessage:function(t){setTimeout(function(){e({data:{buffer:o(t),meta:t.meta}})},0)}}}(t,this.gh.bind(this,0));this.qe=o,this.Ed=[],this.fk=t.rp||1/0,this.oe=0,this.bd={},this.Gf=null}var s=!0;try{new ImageData(10,10)}catch(t){s=!1}var a=document.createElement("canvas").getContext("2d");e.prototype.pp=function(t,e,o){this.dk({inputs:t,Qh:e,callback:o}),this.dh()},e.prototype.dk=function(t){for(this.Ed.push(t);this.Ed.length>this.fk;)this.Ed.shift().callback(null,null)},e.prototype.dh=function(){if(0===this.oe&&0<this.Ed.length){var t=this.Gf=this.Ed.shift(),e=t.inputs[0].width,o=t.inputs[0].height,i=t.inputs.map(function(t){return t.data.buffer}),r=this.qe.length;if(1===(this.oe=r))this.qe[0].postMessage({buffers:i,meta:t.Qh,imageOps:this.Ff,width:e,height:o},i);else for(var n=4*Math.ceil(t.inputs[0].data.length/4/r),p=0;p<r;++p){for(var s=p*n,a=[],h=0,l=i.length;h<l;++h)a.push(i[p].slice(s,s+n));this.qe[p].postMessage({buffers:a,meta:t.Qh,imageOps:this.Ff,width:e,height:o},a)}}},e.prototype.gh=function(t,e){this.Jq||(this.bd[t]=e.data,--this.oe,0===this.oe&&this.gk())},e.prototype.gk=function(){var t=this.Gf,e=this.qe.length;if(1===e)var o=new Uint8ClampedArray(this.bd[0].buffer),i=this.bd[0].meta;else{var r=t.inputs[0].data.length;o=new Uint8ClampedArray(r),i=Array(r);r=4*Math.ceil(r/4/e);for(var n=0;n<e;++n){var p=n*r;o.set(new Uint8ClampedArray(this.bd[n].buffer),p),i[n]=this.bd[n].meta}}this.Gf=null,this.bd={},t.callback(null,function(t,e,o){return s?new ImageData(t,e,o):((e=a.createImageData(e,o)).data.set(t),e)}(o,t.inputs[0].width,t.inputs[0].height),i),this.dh()},t.default={Af:e},t.Af=e}(Js.df=Js.df||{}),s($w,Zm),$w.prototype.v=function(t,e){this.B=new Js.df.Af({operation:t,$l:"image"===this.va,rp:1,lib:e,threads:this.Sa}),this.s()},$w.prototype.Y=function(t,e,o,i){o=!0;for(var r,n=0,p=this.g.length;n<p;++n)if("ready"!==(r=this.g[n].a.ha()).getState()){o=!1;break}if(!o)return null;if((o=ct({},this.I)).viewState=ct({},o.viewState),r=et(t),o.extent=t.slice(),o.focus=r,o.size[0]=Math.round(st(t)/e),o.size[1]=Math.round(it(t)/e),(n=o.viewState).center=r,n.projection=i,n.resolution=e,Mi((this.l=o).tileQueue,16,16),this.f&&(i=this.f.resolution,o=this.f.G(),e===i&&Y(t,o)||(this.f=null)),!this.f||this.i!==this.R)t:{for(t=this.l,i=this.g.length,e=Array(i),o=0;o<i;++o){if(r=this.g[o],p=(n=t).layerStatesArray[o],r.sd(n,p)){var s=n.size[0],a=n.size[1];if(Qw){var h=Qw.canvas;h.width!==s||h.height!==a?Qw=Je(s,a):Qw.clearRect(0,0,s,a)}else Qw=Je(s,a);r.S(n,p,Qw),r=Qw.getImageData(0,0,s,a)}else r=null;if(!r)break t;e[o]=r}i={},this.b(new tx(ex,t,i)),this.B.pp(e,i,this.pa.bind(this,t))}return this.f},$w.prototype.pa=function(t,e,o,i){if(!e&&o){e=t.extent;var r=t.viewState.resolution;if(r===this.l.viewState.resolution&&Y(e,this.l.extent)){if(this.f)var n=this.f.Y().getContext("2d");else n=Je(Math.round(st(e)/r),Math.round(it(e)/r)),this.f=new av(e,r,1,this.j,n.canvas);n.putImageData(o,0,0),this.s(),this.R=this.i,this.b(new tx(ox,t,i))}}};var Qw=null;function tx(t,e,o){Ee.call(this,t),this.extent=e.extent,this.resolution=e.viewState.resolution/e.pixelRatio,this.data=o}s(tx,Ee),$w.prototype.Jc=function(){return null};var ex="beforeoperations",ox="afteroperations";function ix(t){var e=t.layer.indexOf("-"),o=(e=px[-1==e?t.layer:t.layer.slice(0,e)],nx[t.layer]);kw.call(this,{attributions:rx,cacheSize:t.cacheSize,crossOrigin:"anonymous",maxZoom:null!=t.maxZoom?t.maxZoom:e.maxZoom,minZoom:null!=t.minZoom?t.minZoom:e.minZoom,opaque:o.opaque,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileLoadFunction:t.tileLoadFunction,url:void 0!==t.url?t.url:"https://stamen-tiles-{a-d}.a.ssl.fastly.net/"+t.layer+"/{z}/{x}/{y}."+o.Lb,wrapX:t.wrapX})}s(ix,kw);var rx=[new ce({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>.'}),_w],nx={terrain:{Lb:"jpg",opaque:!0},"terrain-background":{Lb:"jpg",opaque:!0},"terrain-labels":{Lb:"png",opaque:!1},"terrain-lines":{Lb:"png",opaque:!1},"toner-background":{Lb:"png",opaque:!0},toner:{Lb:"png",opaque:!0},"toner-hybrid":{Lb:"png",opaque:!1},"toner-labels":{Lb:"png",opaque:!1},"toner-lines":{Lb:"png",opaque:!1},"toner-lite":{Lb:"png",opaque:!0},watercolor:{Lb:"jpg",opaque:!0}},px={terrain:{minZoom:4,maxZoom:18},toner:{minZoom:0,maxZoom:20},watercolor:{minZoom:1,maxZoom:16}};function sx(t){Cw.call(this,{attributions:(t=t||{}).attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,logo:t.logo,projection:t.projection,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileGrid:t.tileGrid,tileLoadFunction:t.tileLoadFunction,url:t.url,urls:t.urls,wrapX:void 0===t.wrapX||t.wrapX}),this.f=t.params||{},this.l=[1/0,1/0,-1/0,-1/0],Aw(this,ax(this))}function ax(t){var e,o=0,i=[];for(e in t.f)i[o++]=e+"-"+t.f[e];return i.join("/")}function hx(t){Mw.call(this,{opaque:!1,projection:t.projection,tileGrid:t.tileGrid,wrapX:void 0===t.wrapX||t.wrapX})}function lx(t,e,o){hv.call(this,t,2),this.c=e,this.Ia=o,this.a=null}function ux(t){if(this.f=null,Cw.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,projection:Wt("EPSG:3857"),reprojectionErrorThreshold:t.reprojectionErrorThreshold,state:"loading",tileLoadFunction:t.tileLoadFunction,wrapX:void 0===t.wrapX||t.wrapX}),t.url)if(t.jsonp)fw(t.url,this.og.bind(this),this.Ve.bind(this));else{var e=new XMLHttpRequest;e.addEventListener("load",this.Ao.bind(this)),e.addEventListener("error",this.zo.bind(this)),e.open("GET",t.url),e.send()}else t.tileJSON?this.og(t.tileJSON):R(!1,51)}function cx(t){if(Mw.call(this,{projection:Wt("EPSG:3857"),state:"loading"}),this.v=void 0===t.preemptive||t.preemptive,this.l=mw,this.g=void 0,this.f=t.jsonp||!1,t.url)if(this.f)fw(t.url,this.pg.bind(this),this.We.bind(this));else{var e=new XMLHttpRequest;e.addEventListener("load",this.Eo.bind(this)),e.addEventListener("error",this.Do.bind(this)),e.open("GET",t.url),e.send()}else t.tileJSON?this.pg(t.tileJSON):R(!1,51)}function yx(t,e,o,i,r,n){hv.call(this,t,e),this.o=o,this.a=i,this.v=r,this.c=this.j=this.g=null,this.l=n}function fx(t){if(0==t.state)if(t.state=1,t.l)fw(t.o,t.Ji.bind(t),t.De.bind(t));else{var e=new XMLHttpRequest;e.addEventListener("load",t.Co.bind(t)),e.addEventListener("error",t.Bo.bind(t)),e.open("GET",t.o),e.send()}}function gx(t){var e=(t=t||{}).params||{};Cw.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,logo:t.logo,opaque:!(!("TRANSPARENT"in e)||e.TRANSPARENT),projection:t.projection,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileGrid:t.tileGrid,tileLoadFunction:t.tileLoadFunction,url:t.url,urls:t.urls,wrapX:void 0===t.wrapX||t.wrapX}),this.C=void 0!==t.gutter?t.gutter:0,this.f=e,this.l=!0,this.B=t.serverType,this.T=void 0===t.hidpi||t.hidpi,this.R="",vx(this),this.fa=[1/0,1/0,-1/0,-1/0],mx(this),Aw(this,bx(this))}function dx(t,e,o,i,r,n,p){var s=t.urls;if(s){if(p.WIDTH=o[0],p.HEIGHT=o[1],p[t.l?"CRS":"SRS"]=n.mb,"STYLES"in t.f||(p.STYLES=""),1!=r)switch(t.B){case"geoserver":o=90*r+.5|0,p.FORMAT_OPTIONS="FORMAT_OPTIONS"in p?p.FORMAT_OPTIONS+";dpi:"+o:"dpi:"+o;break;case"mapserver":p.MAP_RESOLUTION=90*r;break;case"carmentaserver":case"qgis":p.DPI=90*r;break;default:R(!1,52)}return n=n.b,t.l&&"ne"==n.substr(0,2)&&(t=i[0],i[0]=i[1],i[1]=t,t=i[2],i[2]=i[3],i[3]=t),p.BBOX=i.join(","),Vw(1==s.length?s[0]:s[L((e[1]<<e[0])+e[2],s.length)],p)}}function vx(t){var e=0,o=[];if(t.urls){var i,r=0;for(i=t.urls.length;r<i;++r)o[e++]=t.urls[r]}t.R=o.join("#")}function bx(t){var e,o=0,i=[];for(e in t.f)i[o++]=e+"-"+t.f[e];return i.join("/")}function mx(t){t.l=0<=Ti(t.f.VERSION||"1.3.0")}function wx(t,e,o,i,r,n,p,s,a,h,l,u,c,y){if(hv.call(this,t,e),this.j=null,this.o={Nd:!1,Kg:null,mf:-1,Lg:-1},this.c=h,this.a=[],this.u=o,this.v=n,this.g=[],this.l=[],n){var f=a.Aa(n),g=a.Da(t[0]);s.Rf(f,s.tc(g),function(t){if(.5<=st(e=rt(f,s.Aa(t)))/g&&.5<=it(e)/g){var e=t.toString(),o=h[e];o||(o=p(t,l,u),o=h[e]=new c(t,null==o?4:0,null==o?"":o,i,r),this.l.push(me(o,"change",y))),o.j++,this.a.push(e)}}.bind(this))}}function xx(t,e){t.Pg(ol(e,t.o,t.$o.bind(t),t.Zo.bind(t)))}function Sx(t,e,o,i,r){hv.call(this,t,e),this.j=0,this.o=i,this.g=null,this.c={},this.u=r,this.l=o}function Mx(t){jw.call(this,{attributions:t.attributions,cacheSize:void 0!==t.cacheSize?t.cacheSize:128,extent:t.extent,logo:t.logo,opaque:!1,projection:t.projection,state:t.state,tileGrid:t.tileGrid,tileLoadFunction:t.tileLoadFunction?t.tileLoadFunction:xx,tileUrlFunction:t.tileUrlFunction,tilePixelRatio:t.tilePixelRatio,url:t.url,urls:t.urls,wrapX:void 0===t.wrapX||t.wrapX}),this.g=t.format?t.format:null,this.v={},this.l=null==t.overlaps||t.overlaps,this.tileClass=t.tileClass?t.tileClass:Sx,this.f={},this.tileGrid||(this.tileGrid=this.Ta(Wt(t.projection||"EPSG:3857")))}function Px(t){this.o=t.matrixIds,Qt.call(this,{extent:t.extent,origin:t.origin,origins:t.origins,resolutions:t.resolutions,tileSize:t.tileSize,tileSizes:t.tileSizes,sizes:t.sizes})}function Ax(t,e,o){var r=[],n=[],p=[],s=[],a=[],h=void 0!==o?o:[],l=(o=Wt(t.SupportedCRS.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3"))).sc(),u="ne"==o.b.substr(0,2);return t.TileMatrix.sort(function(t,e){return e.ScaleDenominator-t.ScaleDenominator}),t.TileMatrix.forEach(function(e){var t;if(t=!(0<h.length)||v(h,function(t){return e.Identifier==t.TileMatrix})){n.push(e.Identifier),t=28e-5*e.ScaleDenominator/l;var o=e.TileWidth,i=e.TileHeight;u?p.push([e.TopLeftCorner[1],e.TopLeftCorner[0]]):p.push(e.TopLeftCorner),r.push(t),s.push(o==i?o:[o,i]),a.push([e.MatrixWidth,-e.MatrixHeight])}}),new Px({extent:e,origins:p,resolutions:r,matrixIds:n,tileSizes:s,sizes:a})}function Ex(t){this.fa=void 0!==t.version?t.version:"1.0.0",this.C=void 0!==t.format?t.format:"image/jpeg",this.f=t.dimensions?t.dimensions:{},this.B=t.layer,this.l=t.matrixSet,this.R=t.style;var e=t.urls;void 0===e&&void 0!==t.url&&(e=ww(t.url));var i=this.T=void 0!==t.requestEncoding?t.requestEncoding:"KVP",r=t.tileGrid,o={layer:this.B,style:this.R,tilematrixset:this.l};"KVP"==i&&ct(o,{Service:"WMTS",Request:"GetTile",Version:this.fa,Format:this.C});var n=this.f,p=e&&0<e.length?bw(e.map(function(e){return e="KVP"==i?Vw(e,o):e.replace(/\{(\w+?)\}/g,function(t,e){return e.toLowerCase()in o?o[e.toLowerCase()]:t}),function(t){if(t){var o={TileMatrix:r.o[t[0]],TileCol:t[1],TileRow:-t[2]-1};return ct(o,n),t=e,"KVP"==i?Vw(t,o):t.replace(/\{(\w+?)\}/g,function(t,e){return o[e]})}}})):mw;Cw.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,logo:t.logo,projection:t.projection,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileClass:t.tileClass,tileGrid:r,tileLoadFunction:t.tileLoadFunction,tilePixelRatio:t.tilePixelRatio,tileUrlFunction:p,urls:e,wrapX:void 0!==t.wrapX&&t.wrapX}),Aw(this,Tx(this))}function Tx(t){var e,o=0,i=[];for(e in t.f)i[o++]=e+"-"+t.f[e];return i.join("/")}function jx(t){var e=(t=t||{}).size,o=e[0],i=e[1],n=[],r=256;switch(void 0!==t.tierSizeCalculation?t.tierSizeCalculation:Lx){case Lx:for(;r<o||r<i;)n.push([Math.ceil(o/r),Math.ceil(i/r)]),r+=r;break;case Rx:for(;r<o||r<i;)n.push([Math.ceil(o/r),Math.ceil(i/r)]),o>>=1,i>>=1;break;default:R(!1,53)}n.push([1,1]),n.reverse();r=[1];var p=[0];for(i=1,o=n.length;i<o;i++)r.push(1<<i),p.push(n[i-1][0]*n[i-1][1]+p[i-1]);r.reverse(),e=new Qt({extent:e=[0,-e[1],e[0],0],origin:nt(e),resolutions:r}),(r=t.url)&&-1==r.indexOf("{TileGroup}")&&(r+="{TileGroup}/{z}-{x}-{y}.jpg"),r=bw((r=ww(r)).map(function(r){return function(t){if(t){var e=t[0],o=t[1],i={z:e,x:o,y:t=-t[2]-1,TileGroup:"TileGroup"+((o+t*n[e][0]+p[e])/256|0)};return r.replace(/\{(\w+?)\}/g,function(t,e){return i[e]})}}})),Cw.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,logo:t.logo,projection:t.projection,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileClass:Cx,tileGrid:e,tileUrlFunction:r})}function Cx(t,e,o,i,r){cv.call(this,t,e,o,i,r),this.a=null}s(sx,Cw),sx.prototype.C=function(){return this.f},sx.prototype.nb=function(t){return t},sx.prototype.Fc=function(t,e,o){var i=this.tileGrid;if(!((i=i||this.Ta(o)).b.length<=t[0])){var r=i.Aa(t,this.l),n=F(i.gb(t[0]),this.o);1!=e&&(n=A(n,e,this.o)),ct(i={F:"image",FORMAT:"PNG32",TRANSPARENT:!0},this.f);var p=this.urls;return t=p?(o=o.mb.split(":").pop(),i.SIZE=n[0]+","+n[1],i.BBOX=r.join(","),i.BBOXSR=o,i.IMAGESR=o,i.DPI=Math.round(i.DPI?i.DPI*e:90*e),Vw(t=(1==p.length?p[0]:p[L((t[1]<<t[0])+t[2],p.length)]).replace(/MapServer\/?$/,"MapServer/export").replace(/ImageServer\/?$/,"ImageServer/exportImage"),i)):void 0}},sx.prototype.B=function(t){ct(this.f,t),Aw(this,ax(this))},s(hx,Mw),hx.prototype.Nc=function(t,e,o){var i=this.Sb(t,e,o);if(this.a.b.hasOwnProperty(i))return this.a.get(i);var r=F(this.tileGrid.gb(t));return r=new lx(t=[t,e,o],r,e=(e=Ew(this,t))?Ew(this,e).toString():""),this.a.set(i,r),r},s(lx,hv),lx.prototype.Y=function(){if(this.a)return this.a;var t=this.c,e=Je(t[0],t[1]);return e.strokeStyle="black",e.strokeRect(.5,.5,t[0]+.5,t[1]+.5),e.fillStyle="black",e.textAlign="center",e.textBaseline="middle",e.font="24px sans-serif",e.fillText(this.Ia,t[0]/2,t[1]/2),this.a=e.canvas},lx.prototype.load=function(){},s(ux,Cw),(t=ux.prototype).Ao=function(t){if(!(t=t.target).status||200<=t.status&&t.status<300){try{var e=JSON.parse(t.responseText)}catch(t){return void this.Ve()}this.og(e)}else this.Ve()},t.zo=function(){this.Ve()},t.pl=function(){return this.f},t.og=function(t){var e=Wt("EPSG:4326"),o=this.c;if(t.bounds)var i=zt(e,o),r=ut(t.bounds,i);var n=t.minzoom||0;i=t.maxzoom||22;if(this.tileGrid=o=ae({extent:ue(o),maxZoom:i,minZoom:n}),this.tileUrlFunction=vw(t.tiles,o),void 0!==t.attribution&&!this.j){e=void 0!==r?r:e.G(),r={};for(;n<=i;++n)r[n.toString()]=[re(o,e,n)];this.ua([new ce({html:t.attribution,tileRanges:r})])}this.f=t,Sb(this,"ready")},t.Ve=function(){Sb(this,"error")},s(cx,Mw),(t=cx.prototype).Eo=function(t){if(!(t=t.target).status||200<=t.status&&t.status<300){try{var e=JSON.parse(t.responseText)}catch(t){return void this.We()}this.pg(e)}else this.We()},t.Do=function(){this.We()},t.ml=function(){return this.g},t.zk=function(t,e,o,i,r){this.tileGrid?(e=this.tileGrid.Be(t,e),function(t,e,o,i,r){0==t.state&&!0===r?(we(t,"change",function(){o.call(i,this.getData(e))},t),fx(t)):!0===r?setTimeout(function(){o.call(i,this.getData(e))}.bind(t),0):o.call(i,t.getData(e))}(this.Nc(e[0],e[1],e[2],1,this.c),t,o,i,r)):!0===r?setTimeout(function(){o.call(i,null)},0):o.call(i,null)},t.We=function(){Sb(this,"error")},t.pg=function(t){var e=Wt("EPSG:4326"),o=this.c;if(t.bounds)var i=zt(e,o),r=ut(t.bounds,i);var n=t.minzoom||0;i=t.maxzoom||22;this.tileGrid=o=ae({extent:ue(o),maxZoom:i,minZoom:n}),this.g=t.template;var p=t.grids;if(p){if(this.l=vw(p,o),void 0!==t.attribution){for(e=void 0!==r?r:e.G(),r={};n<=i;++n)r[p=n.toString()]=[re(o,e,n)];this.ua([new ce({html:t.attribution,tileRanges:r})])}Sb(this,"ready")}else Sb(this,"error")},t.Nc=function(t,e,o,i,r){var n=this.Sb(t,e,o);return this.a.b.hasOwnProperty(n)?this.a.get(n):(e=Ew(this,t=[t,e,o],r),i=new yx(t,void 0!==(i=this.l(e,i,r))?0:4,void 0!==i?i:"",this.tileGrid.Aa(t),this.v,this.f),this.a.set(n,i),i)},t.Ug=function(t,e,o){t=this.Sb(t,e,o),this.a.b.hasOwnProperty(t)&&this.a.get(t)},s(yx,hv),(t=yx.prototype).Y=function(){return null},t.getData=function(t){if(!this.g||!this.j)return null;var e=this.g[Math.floor((1-(t[1]-this.a[1])/(this.a[3]-this.a[1]))*this.g.length)];return"string"!=typeof e?null:(93<=(e=e.charCodeAt(Math.floor((t[0]-this.a[0])/(this.a[2]-this.a[0])*e.length)))&&e--,35<=e&&e--,t=null,(e-=32)in this.j&&(e=this.j[e],t=this.c&&e in this.c?this.c[e]:e),t)},t.bb=function(){return this.o},t.De=function(){this.state=3,this.s()},t.Ji=function(t){this.g=t.grid,this.j=t.keys,this.c=t.data,this.state=4,this.s()},t.Co=function(t){if(!(t=t.target).status||200<=t.status&&t.status<300){try{var e=JSON.parse(t.responseText)}catch(t){return void this.De()}this.Ji(e)}else this.De()},t.Bo=function(){this.De()},t.load=function(){this.v&&fx(this)},s(gx,Cw),(t=gx.prototype).Fo=function(t,e,o,i){if(o=Wt(o),e=(p=(p=this.tileGrid)||this.Ta(o)).Be(t,e),!(p.b.length<=e[0])){var r=p.Da(e[0]),n=p.Aa(e,this.fa),p=F(p.gb(e[0]),this.o),s=this.C;return s&&(p=P(p,s,this.o),n=T(n,r*s,n)),s={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetFeatureInfo",FORMAT:"image/png",TRANSPARENT:!0,QUERY_LAYERS:this.f.LAYERS},ct(s,this.f,i),i=Math.floor((n[3]-t[1])/r),s[this.l?"I":"X"]=Math.floor((t[0]-n[0])/r),s[this.l?"J":"Y"]=i,dx(this,e,p,n,1,o,s)}},t.Xf=function(){return this.C},t.Sb=function(t,e,o){return this.R+Cw.prototype.Sb.call(this,t,e,o)},t.Go=function(){return this.f},t.nb=function(t){return this.T&&void 0!==this.B?t:1},t.Fc=function(t,e,o){if(!((n=(n=this.tileGrid)||this.Ta(o)).b.length<=t[0])){1==e||this.T&&void 0!==this.B||(e=1);var i=n.Da(t[0]),r=n.Aa(t,this.fa),n=F(n.gb(t[0]),this.o),p=this.C;return p&&(n=P(n,p,this.o),r=T(r,i*p,r)),1!=e&&(n=A(n,e,this.o)),ct(i={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0},this.f),dx(this,t,n,r,e,o,i)}},t.eb=function(t){Cw.prototype.eb.call(this,t),vx(this)},t.Ho=function(t){ct(this.f,t),vx(this),mx(this),Aw(this,bx(this))},s(wx,hv),wx.prototype.ka=function(){for(var t=0,e=this.a.length;t<e;++t){var o=this.a[t],i=this.c[o];i.j--,i.j||(delete this.c[o],Ae(i))}this.a.length=0,this.c=null,1==this.state&&(this.g.forEach(Se),this.g.length=0),this.i&&Ae(this.i),this.state=5,this.s(),this.l.forEach(Se),this.l.length=0,hv.prototype.ka.call(this)},wx.prototype.Y=function(){return-1==this.o.Lg?null:this.j.canvas},wx.prototype.bb=function(){return this.a.join("/")+"/"+this.u},wx.prototype.load=function(){var r=0,n=!1;0==this.state&&uv(this,1),1==this.state&&this.a.forEach(function(e){var o=this.c[e];if(0==o.state?(o.Pg(this.S),o.load()):3==o.state?n=!0:4==o.state&&p(this.a,e),1==o.state){var i=me(o,"change",function(){var t=o.getState();2!=t&&3!=t||(--r,Se(i),p(this.g,i),3==t&&(p(this.a,e),n=!0),r||uv(this,0<this.a.length?2:3))}.bind(this));this.g.push(i),++r}}.bind(this)),r||setTimeout(function(){uv(this,0<this.a.length?2:n?3:4)}.bind(this),0)},s(Sx,hv),(t=Sx.prototype).ka=function(){this.g=null,this.c={},this.state=5,this.s(),hv.prototype.ka.call(this)},t.Lm=function(){return this.o},t.Km=function(){return this.g},t.bb=function(){return this.l},t.Mm=function(){return this.a},t.load=function(){0==this.state&&(uv(this,1),this.u(this,this.l),this.v(null,NaN,null))},t.$o=function(t,e){this.ig(e),this.mj(t)},t.Zo=function(){uv(this,3)},t.mj=function(t){this.g=t,uv(this,2)},t.ig=function(t){this.a=t},t.Pg=function(t){this.v=t},s(Mx,jw),Mx.prototype.Nc=function(t,e,o,i,r){var n=this.Sb(t,e,o);return this.a.b.hasOwnProperty(n)?this.a.get(n):(i=new wx(t=[t,e,o],void 0!==(o=(e=Ew(this,t,r))?this.tileUrlFunction(e,i,r):void 0)?0:4,void 0!==o?o:"",this.g,this.tileLoadFunction,e,this.tileUrlFunction,this.tileGrid,this.Ta(r),this.v,i,r,this.tileClass,this.Li.bind(this)),this.a.set(n,i),i)},Mx.prototype.Ta=function(t){var e=t.mb,o=this.f[e];return o||(o=this.tileGrid,o=this.f[e]=le(t,void 0,o?o.gb(o.minZoom):void 0)),o},Mx.prototype.nb=function(t){return null==t?jw.prototype.nb.call(this,t):t},Mx.prototype.Xd=function(t,e,o){return t=F(this.Ta(o).gb(t)),[Math.round(t[0]*e),Math.round(t[1]*e)]},s(Px,Qt),Px.prototype.l=function(){return this.o},s(Ex,Cw),(t=Ex.prototype).Mk=function(){return this.f},t.Io=function(){return this.C},t.Jo=function(){return this.B},t.$k=function(){return this.l},t.kl=function(){return this.T},t.Ko=function(){return this.R},t.rl=function(){return this.fa},t.uq=function(t){ct(this.f,t),Aw(this,Tx(this))},s(jx,Cw),s(Cx,cv),Cx.prototype.Y=function(){if(this.a)return this.a;var t=cv.prototype.Y.call(this);if(2!=this.state)return t;if(256==t.width&&256==t.height)return this.a=t;var e=Je(256,256);return e.drawImage(t,0,0),this.a=e.canvas};var Lx="default",Rx="truncated";function Ix(t,e){this.b=e,this.a=[{x:0,y:0,width:t,height:t}],this.c={},this.i=Je(t,t),this.f=this.i.canvas}function Nx(t,e,o,i){e=[e,1],0<o.width&&0<o.height&&e.push(o),0<i.width&&0<i.height&&e.push(i),t.a.splice.apply(t.a,e)}function Fx(t){t=t||{},this.a=void 0!==t.initialSize?t.initialSize:256,this.i=void 0!==t.maxSize?t.maxSize:void 0!==e?e:2048,this.b=void 0!==t.space?t.space:1,this.f=[new Ix(this.a,this.b)],this.c=this.a,this.g=[new Ix(this.c,this.b)]}function kx(t,e,o,i,r,n,p){var s,a=e?t.g:t.f,h=0;for(s=a.length;h<s;++h){var l=a[h];if(l=l.add(o,i,r,n,p))return l;l||h!==s-1||(e?(l=Math.min(2*t.c,t.i),t.c=l):(l=Math.min(2*t.a,t.i),t.a=l),l=new Ix(l,t.b),a.push(l),++s)}return null}return Ix.prototype.get=function(t){return this.c[t]||null},Ix.prototype.add=function(t,e,o,i,r){var n,p=0;for(n=this.a.length;p<n;++p){var s=this.a[p];if(s.width>=e+this.b&&s.height>=o+this.b)return n={offsetX:s.x+this.b,offsetY:s.y+this.b,image:this.f},this.c[t]=n,i.call(r,this.i,s.x+this.b,s.y+this.b),t=p,e+=this.b,i=o+this.b,e=s.width-e>s.height-i?(o={x:s.x+e,y:s.y,width:s.width-e,height:s.height},{x:s.x,y:s.y+i,width:e,height:s.height-i}):(o={x:s.x+e,y:s.y,width:s.width-e,height:i},{x:s.x,y:s.y+i,width:s.width,height:s.height-i}),Nx(this,t,o,e),n}return null},Fx.prototype.add=function(t,e,o,i,r,n){return e+this.b>this.i||o+this.b>this.i?null:(i=kx(this,!1,t,e,o,i,n))?(t=kx(this,!0,t,e,o,r||m,n),{offsetX:i.offsetX,offsetY:i.offsetY,image:i.image,Zl:t.image}):null},h.prototype.code=h.prototype.code,i("ol.Attribution",ce),ce.prototype.getHTML=ce.prototype.i,i("ol.Collection",De),De.prototype.clear=De.prototype.clear,De.prototype.extend=De.prototype.fg,De.prototype.forEach=De.prototype.forEach,De.prototype.getArray=De.prototype.tm,De.prototype.item=De.prototype.item,De.prototype.getLength=De.prototype.dc,De.prototype.insertAt=De.prototype.He,De.prototype.pop=De.prototype.pop,De.prototype.push=De.prototype.push,De.prototype.remove=De.prototype.remove,De.prototype.removeAt=De.prototype.Hg,De.prototype.setAt=De.prototype.Wp,Be.prototype.element=Be.prototype.element,i("ol.color.asArray",We),i("ol.color.asString",Ze),i("ol.colorlike.asColorLike",qe),i("ol.control.defaults",lo),i("ol.coordinate.add",ji),i("ol.coordinate.createStringXY",function(e){return function(t){return Ui(t,e)}}),i("ol.coordinate.format",Ri),i("ol.coordinate.rotate",Ni),i("ol.coordinate.toStringHDMS",function(t,e){return t?Li("NS",t[1],e)+" "+Li("EW",t[0],e):""}),i("ol.coordinate.toStringXY",Ui),i("ol.DeviceOrientation",vh),vh.prototype.getAlpha=vh.prototype.Fk,vh.prototype.getBeta=vh.prototype.Ik,vh.prototype.getGamma=vh.prototype.Ok,vh.prototype.getHeading=vh.prototype.um,vh.prototype.getTracking=vh.prototype.Th,vh.prototype.setTracking=vh.prototype.gg,i("ol.easing.easeIn",io),i("ol.easing.easeOut",ro),i("ol.easing.inAndOut",no),i("ol.easing.linear",po),i("ol.easing.upAndDown",function(t){return t<.5?no(2*t):1-no(2*(t-.5))}),i("ol.extent.boundingExtent",E),i("ol.extent.buffer",T),i("ol.extent.containsCoordinate",D),i("ol.extent.containsExtent",O),i("ol.extent.containsXY",B),i("ol.extent.createEmpty",V),i("ol.extent.equals",Y),i("ol.extent.extend",H),i("ol.extent.getArea",$),i("ol.extent.getBottomLeft",Q),i("ol.extent.getBottomRight",tt),i("ol.extent.getCenter",et),i("ol.extent.getHeight",it),i("ol.extent.getIntersection",rt),i("ol.extent.getSize",function(t){return[t[2]-t[0],t[3]-t[1]]}),i("ol.extent.getTopLeft",nt),i("ol.extent.getTopRight",pt),i("ol.extent.getWidth",st),i("ol.extent.intersects",at),i("ol.extent.isEmpty",ht),i("ol.extent.applyTransform",ut),i("ol.Feature",Fh),Fh.prototype.clone=Fh.prototype.clone,Fh.prototype.getGeometry=Fh.prototype.V,Fh.prototype.getId=Fh.prototype.wm,Fh.prototype.getGeometryName=Fh.prototype.Qk,Fh.prototype.getStyle=Fh.prototype.xm,Fh.prototype.getStyleFunction=Fh.prototype.Lc,Fh.prototype.setGeometry=Fh.prototype.Ra,Fh.prototype.setStyle=Fh.prototype.hg,Fh.prototype.setId=Fh.prototype.jc,Fh.prototype.setGeometryName=Fh.prototype.Tc,i("ol.featureloader.xhr",il),i("ol.Geolocation",_d),_d.prototype.getAccuracy=_d.prototype.Dk,_d.prototype.getAccuracyGeometry=_d.prototype.Ek,_d.prototype.getAltitude=_d.prototype.Gk,_d.prototype.getAltitudeAccuracy=_d.prototype.Hk,_d.prototype.getHeading=_d.prototype.ym,_d.prototype.getPosition=_d.prototype.zm,_d.prototype.getProjection=_d.prototype.Uh,_d.prototype.getSpeed=_d.prototype.ll,_d.prototype.getTracking=_d.prototype.Vh,_d.prototype.getTrackingOptions=_d.prototype.Gh,_d.prototype.setProjection=_d.prototype.Wh,_d.prototype.setTracking=_d.prototype.Ke,_d.prototype.setTrackingOptions=_d.prototype.wj,i("ol.Graticule",ev),ev.prototype.getMap=ev.prototype.Cm,ev.prototype.getMeridians=ev.prototype.al,ev.prototype.getParallels=ev.prototype.hl,ev.prototype.setMap=ev.prototype.setMap,i("ol.has.DEVICE_PIXEL_RATIO",Fo),i("ol.has.CANVAS",Do),i("ol.has.DEVICE_ORIENTATION",Oo),i("ol.has.GEOLOCATION",Uo),i("ol.has.TOUCH",Go),i("ol.has.WEBGL",To),sv.prototype.getImage=sv.prototype.Y,sv.prototype.load=sv.prototype.load,cv.prototype.getImage=cv.prototype.Y,i("ol.inherits",s),i("ol.interaction.defaults",Xn),i("ol.Kinetic",Or),i("ol.loadingstrategy.all",mb),i("ol.loadingstrategy.bbox",function(t){return[t]}),i("ol.loadingstrategy.tile",function(i){return function(t,e){e=i.tc(e),t=re(i,t,e);var o=[];for((e=[e,0,0])[1]=t.ca;e[1]<=t.$;++e[1])for(e[2]=t.da;e[2]<=t.ia;++e[2])o.push(i.Aa(e));return o}}),i("ol.Map",Ka),Ka.prototype.addControl=Ka.prototype.kk,Ka.prototype.addInteraction=Ka.prototype.lk,Ka.prototype.addLayer=Ka.prototype.ih,Ka.prototype.addOverlay=Ka.prototype.jh,Ka.prototype.forEachFeatureAtPixel=Ka.prototype.we,Ka.prototype.forEachLayerAtPixel=Ka.prototype.Im,Ka.prototype.hasFeatureAtPixel=Ka.prototype.Yl,Ka.prototype.getEventCoordinate=Ka.prototype.Tf,Ka.prototype.getEventPixel=Ka.prototype.xe,Ka.prototype.getTarget=Ka.prototype.ag,Ka.prototype.getTargetElement=Ka.prototype.jd,Ka.prototype.getCoordinateFromPixel=Ka.prototype.Wa,Ka.prototype.getControls=Ka.prototype.Lk,Ka.prototype.getOverlays=Ka.prototype.fl,Ka.prototype.getOverlayById=Ka.prototype.el,Ka.prototype.getInteractions=Ka.prototype.Sk,Ka.prototype.getLayerGroup=Ka.prototype.Kc,Ka.prototype.getLayers=Ka.prototype.Xh,Ka.prototype.getPixelFromCoordinate=Ka.prototype.Ja,Ka.prototype.getSize=Ka.prototype.Ob,Ka.prototype.getView=Ka.prototype.Z,Ka.prototype.getViewport=Ka.prototype.sl,Ka.prototype.renderSync=Ka.prototype.Tp,Ka.prototype.render=Ka.prototype.render,Ka.prototype.removeControl=Ka.prototype.Mp,Ka.prototype.removeInteraction=Ka.prototype.Np,Ka.prototype.removeLayer=Ka.prototype.Pp,Ka.prototype.removeOverlay=Ka.prototype.Qp,Ka.prototype.setLayerGroup=Ka.prototype.qj,Ka.prototype.setSize=Ka.prototype.Qg,Ka.prototype.setTarget=Ka.prototype.Le,Ka.prototype.setView=Ka.prototype.iq,Ka.prototype.updateSize=Ka.prototype.Ad,Po.prototype.originalEvent=Po.prototype.originalEvent,Po.prototype.pixel=Po.prototype.pixel,Po.prototype.coordinate=Po.prototype.coordinate,Po.prototype.dragging=Po.prototype.dragging,Mo.prototype.map=Mo.prototype.map,Mo.prototype.frameState=Mo.prototype.frameState,i("ol.Object",Re),Re.prototype.get=Re.prototype.get,Re.prototype.getKeys=Re.prototype.O,Re.prototype.getProperties=Re.prototype.N,Re.prototype.set=Re.prototype.set,Re.prototype.setProperties=Re.prototype.H,Re.prototype.unset=Re.prototype.P,ke.prototype.key=ke.prototype.key,ke.prototype.oldValue=ke.prototype.oldValue,i("ol.Observable",Le),i("ol.Observable.unByKey",function(t){if(Array.isArray(t))for(var e=0,o=t.length;e<o;++e)Se(t[e]);else Se(t)}),Le.prototype.changed=Le.prototype.s,Le.prototype.dispatchEvent=Le.prototype.b,Le.prototype.getRevision=Le.prototype.L,Le.prototype.on=Le.prototype.J,Le.prototype.once=Le.prototype.once,Le.prototype.un=Le.prototype.K,i("ol.Overlay",za),za.prototype.getElement=za.prototype.Rd,za.prototype.getId=za.prototype.Jm,za.prototype.getMap=za.prototype.Me,za.prototype.getOffset=za.prototype.Dh,za.prototype.getPosition=za.prototype.Yh,za.prototype.getPositioning=za.prototype.Eh,za.prototype.setElement=za.prototype.lj,za.prototype.setMap=za.prototype.setMap,za.prototype.setOffset=za.prototype.rj,za.prototype.setPosition=za.prototype.Ne,za.prototype.setPositioning=za.prototype.uj,i("ol.proj.METERS_PER_UNIT",bt),i("ol.proj.setProj4",function(t){mt=t}),i("ol.proj.getPointResolution",Ot),i("ol.proj.addEquivalentProjections",Ut),i("ol.proj.addProjection",Gt),i("ol.proj.addCoordinateTransforms",Xt),i("ol.proj.fromLonLat",function(t,e){return qt(t,"EPSG:4326",void 0!==e?e:"EPSG:3857")}),i("ol.proj.toLonLat",function(t,e){return qt(t,void 0!==e?e:"EPSG:3857","EPSG:4326")}),i("ol.proj.get",Wt),i("ol.proj.equivalent",Zt),i("ol.proj.getTransform",Kt),i("ol.proj.transform",qt),i("ol.proj.transformExtent",Jt),i("ol.render.toContext",function(t,e){var o=t.canvas,i=e||{};return e=i.pixelRatio||Fo,(i=i.size)&&(o.width=i[0]*e,o.height=i[1]*e,o.style.width=i[0]+"px",o.style.height=i[1]+"px"),new mp(t,e,o=[0,0,o.width,o.height],i=ip([1,0,0,1,0,0],e,e),0)}),i("ol.size.toSize",F),i("ol.Sphere",dt),dt.prototype.geodesicArea=dt.prototype.a,dt.prototype.haversineDistance=dt.prototype.b,hv.prototype.getTileCoord=hv.prototype.f,hv.prototype.load=hv.prototype.load,i("ol.tilegrid.createXYZ",ae),Sx.prototype.getFormat=Sx.prototype.Lm,Sx.prototype.getFeatures=Sx.prototype.Km,Sx.prototype.getProjection=Sx.prototype.Mm,Sx.prototype.setFeatures=Sx.prototype.mj,Sx.prototype.setProjection=Sx.prototype.ig,Sx.prototype.setLoader=Sx.prototype.Pg,i("ol.View",jr),jr.prototype.animate=jr.prototype.animate,jr.prototype.getAnimating=jr.prototype.Ic,jr.prototype.getInteracting=jr.prototype.Rk,jr.prototype.cancelAnimations=jr.prototype.ed,jr.prototype.constrainCenter=jr.prototype.Ec,jr.prototype.constrainResolution=jr.prototype.constrainResolution,jr.prototype.constrainRotation=jr.prototype.constrainRotation,jr.prototype.getCenter=jr.prototype.wa,jr.prototype.calculateExtent=jr.prototype.dd,jr.prototype.getMaxResolution=jr.prototype.Nm,jr.prototype.getMinResolution=jr.prototype.Pm,jr.prototype.getMaxZoom=jr.prototype.Om,jr.prototype.setMaxZoom=jr.prototype.eq,jr.prototype.getMinZoom=jr.prototype.Qm,jr.prototype.setMinZoom=jr.prototype.fq,jr.prototype.getProjection=jr.prototype.Rm,jr.prototype.getResolution=jr.prototype.Pa,jr.prototype.getResolutions=jr.prototype.Sm,jr.prototype.getResolutionForExtent=jr.prototype.ze,jr.prototype.getRotation=jr.prototype.Qa,jr.prototype.getZoom=jr.prototype.Hh,jr.prototype.getZoomForResolution=jr.prototype.Ce,jr.prototype.fit=jr.prototype.Qf,jr.prototype.centerOn=jr.prototype.uk,jr.prototype.rotate=jr.prototype.rotate,jr.prototype.setCenter=jr.prototype.ob,jr.prototype.setResolution=jr.prototype.Vc,jr.prototype.setRotation=jr.prototype.Oe,jr.prototype.setZoom=jr.prototype.lq,i("ol.xml.getAllTextContent",Oh),i("ol.xml.parse",Bh),es.prototype.getGL=es.prototype.Wo,es.prototype.useProgram=es.prototype.Qc,i("ol.tilegrid.TileGrid",Qt),Qt.prototype.forEachTileCoord=Qt.prototype.Rf,Qt.prototype.getMaxZoom=Qt.prototype.Ti,Qt.prototype.getMinZoom=Qt.prototype.Ui,Qt.prototype.getOrigin=Qt.prototype.Pc,Qt.prototype.getResolution=Qt.prototype.Da,Qt.prototype.getResolutions=Qt.prototype.Vi,Qt.prototype.getTileCoordExtent=Qt.prototype.Aa,Qt.prototype.getTileCoordForCoordAndResolution=Qt.prototype.Be,Qt.prototype.getTileCoordForCoordAndZ=Qt.prototype.bg,Qt.prototype.getTileSize=Qt.prototype.gb,Qt.prototype.getZForResolution=Qt.prototype.tc,i("ol.tilegrid.WMTS",Px),Px.prototype.getMatrixIds=Px.prototype.l,i("ol.tilegrid.WMTS.createFromCapabilitiesMatrixSet",Ax),i("ol.style.AtlasManager",Fx),i("ol.style.Circle",Eh),Eh.prototype.setRadius=Eh.prototype.Uc,i("ol.style.Fill",Th),Th.prototype.clone=Th.prototype.clone,Th.prototype.getColor=Th.prototype.i,Th.prototype.setColor=Th.prototype.c,i("ol.style.Icon",Jc),Jc.prototype.clone=Jc.prototype.clone,Jc.prototype.getAnchor=Jc.prototype.Hc,Jc.prototype.getColor=Jc.prototype.Lo,Jc.prototype.getImage=Jc.prototype.Y,Jc.prototype.getOrigin=Jc.prototype.Oc,Jc.prototype.getSrc=Jc.prototype.Mo,Jc.prototype.getSize=Jc.prototype.ic,Jc.prototype.load=Jc.prototype.load,i("ol.style.Image",Mh),Mh.prototype.getOpacity=Mh.prototype.Ze,Mh.prototype.getRotateWithView=Mh.prototype.$e,Mh.prototype.getRotation=Mh.prototype.af,Mh.prototype.getScale=Mh.prototype.bf,Mh.prototype.getSnapToPixel=Mh.prototype.Ae,Mh.prototype.setOpacity=Mh.prototype.td,Mh.prototype.setRotation=Mh.prototype.cf,Mh.prototype.setScale=Mh.prototype.ud,i("ol.style.RegularShape",Ph),Ph.prototype.clone=Ph.prototype.clone,Ph.prototype.getAnchor=Ph.prototype.Hc,Ph.prototype.getAngle=Ph.prototype.Pi,Ph.prototype.getFill=Ph.prototype.Fa,Ph.prototype.getImage=Ph.prototype.Y,Ph.prototype.getOrigin=Ph.prototype.Oc,Ph.prototype.getPoints=Ph.prototype.Qi,Ph.prototype.getRadius=Ph.prototype.Ri,Ph.prototype.getRadius2=Ph.prototype.Fh,Ph.prototype.getSize=Ph.prototype.ic,Ph.prototype.getStroke=Ph.prototype.Ga,i("ol.style.Stroke",Gs),Gs.prototype.clone=Gs.prototype.clone,Gs.prototype.getColor=Gs.prototype.No,Gs.prototype.getLineCap=Gs.prototype.Vk,Gs.prototype.getLineDash=Gs.prototype.Oo,Gs.prototype.getLineDashOffset=Gs.prototype.Wk,Gs.prototype.getLineJoin=Gs.prototype.Xk,Gs.prototype.getMiterLimit=Gs.prototype.bl,Gs.prototype.getWidth=Gs.prototype.Po,Gs.prototype.setColor=Gs.prototype.Qo,Gs.prototype.setLineCap=Gs.prototype.aq,Gs.prototype.setLineDash=Gs.prototype.setLineDash,Gs.prototype.setLineDashOffset=Gs.prototype.bq,Gs.prototype.setLineJoin=Gs.prototype.cq,Gs.prototype.setMiterLimit=Gs.prototype.gq,Gs.prototype.setWidth=Gs.prototype.jq,i("ol.style.Style",jh),jh.prototype.clone=jh.prototype.clone,jh.prototype.getGeometry=jh.prototype.V,jh.prototype.getGeometryFunction=jh.prototype.Pk,jh.prototype.getFill=jh.prototype.Fa,jh.prototype.setFill=jh.prototype.pf,jh.prototype.getImage=jh.prototype.Y,jh.prototype.setImage=jh.prototype.Og,jh.prototype.getStroke=jh.prototype.Ga,jh.prototype.setStroke=jh.prototype.qf,jh.prototype.getText=jh.prototype.Na,jh.prototype.setText=jh.prototype.xd,jh.prototype.getZIndex=jh.prototype.Ba,jh.prototype.setGeometry=jh.prototype.Ra,jh.prototype.setZIndex=jh.prototype.Vb,i("ol.style.Text",_c),_c.prototype.clone=_c.prototype.clone,_c.prototype.getFont=_c.prototype.Nk,_c.prototype.getOffsetX=_c.prototype.cl,_c.prototype.getOffsetY=_c.prototype.dl,_c.prototype.getFill=_c.prototype.Fa,_c.prototype.getRotateWithView=_c.prototype.Ro,_c.prototype.getRotation=_c.prototype.So,_c.prototype.getScale=_c.prototype.To,_c.prototype.getStroke=_c.prototype.Ga,_c.prototype.getText=_c.prototype.Na,_c.prototype.getTextAlign=_c.prototype.nl,_c.prototype.getTextBaseline=_c.prototype.ol,_c.prototype.setFont=_c.prototype.nj,_c.prototype.setOffsetX=_c.prototype.sj,_c.prototype.setOffsetY=_c.prototype.tj,_c.prototype.setFill=_c.prototype.pf,_c.prototype.setRotation=_c.prototype.Uo,_c.prototype.setScale=_c.prototype.Si,_c.prototype.setStroke=_c.prototype.qf,_c.prototype.setText=_c.prototype.xd,_c.prototype.setTextAlign=_c.prototype.vj,_c.prototype.setTextBaseline=_c.prototype.hq,i("ol.source.BingMaps",Nw),i("ol.source.BingMaps.TOS_ATTRIBUTION",Fw),Nw.prototype.getApiKey=Nw.prototype.T,Nw.prototype.getImagerySet=Nw.prototype.fa,i("ol.source.CartoDB",Dw),Dw.prototype.getConfig=Dw.prototype.Kk,Dw.prototype.updateConfig=Dw.prototype.tq,Dw.prototype.setConfig=Dw.prototype.Xp,i("ol.source.Cluster",Gw),Gw.prototype.getDistance=Gw.prototype.$n,Gw.prototype.getSource=Gw.prototype.ao,Gw.prototype.setDistance=Gw.prototype.Yp,i("ol.source.Image",Zm),Ym.prototype.image=Ym.prototype.image,i("ol.source.ImageArcGISRest",Ww),Ww.prototype.getParams=Ww.prototype.co,Ww.prototype.getImageLoadFunction=Ww.prototype.bo,Ww.prototype.getUrl=Ww.prototype.eo,Ww.prototype.setImageLoadFunction=Ww.prototype.fo,Ww.prototype.setUrl=Ww.prototype.ho,Ww.prototype.updateParams=Ww.prototype.io,i("ol.source.ImageCanvas",_m),i("ol.source.ImageMapGuide",Zw),Zw.prototype.getParams=Zw.prototype.ko,Zw.prototype.getImageLoadFunction=Zw.prototype.jo,Zw.prototype.updateParams=Zw.prototype.mo,Zw.prototype.setImageLoadFunction=Zw.prototype.lo,i("ol.source.ImageStatic",Kw),i("ol.source.ImageVector",$m),$m.prototype.getSource=$m.prototype.no,$m.prototype.getStyle=$m.prototype.oo,$m.prototype.getStyleFunction=$m.prototype.po,$m.prototype.setStyle=$m.prototype.Ii,i("ol.source.ImageWMS",zw),zw.prototype.getGetFeatureInfoUrl=zw.prototype.so,zw.prototype.getParams=zw.prototype.uo,zw.prototype.getImageLoadFunction=zw.prototype.to,zw.prototype.getUrl=zw.prototype.vo,zw.prototype.setImageLoadFunction=zw.prototype.wo,zw.prototype.setUrl=zw.prototype.xo,zw.prototype.updateParams=zw.prototype.yo,i("ol.source.OSM",Jw),i("ol.source.OSM.ATTRIBUTION",_w),i("ol.source.Raster",$w),$w.prototype.setOperation=$w.prototype.v,tx.prototype.extent=tx.prototype.extent,tx.prototype.resolution=tx.prototype.resolution,tx.prototype.data=tx.prototype.data,i("ol.source.Source",wb),wb.prototype.getAttributions=wb.prototype.ya,wb.prototype.getLogo=wb.prototype.xa,wb.prototype.getProjection=wb.prototype.za,wb.prototype.getState=wb.prototype.getState,wb.prototype.refresh=wb.prototype.sa,wb.prototype.setAttributions=wb.prototype.ua,i("ol.source.Stamen",ix),i("ol.source.Tile",Mw),Mw.prototype.getTileGrid=Mw.prototype.ab,Tw.prototype.tile=Tw.prototype.tile,i("ol.source.TileArcGISRest",sx),sx.prototype.getParams=sx.prototype.C,sx.prototype.updateParams=sx.prototype.B,i("ol.source.TileDebug",hx),i("ol.source.TileImage",Cw),Cw.prototype.setRenderReprojectionEdges=Cw.prototype.Pb,Cw.prototype.setTileGridForProjection=Cw.prototype.Qb,i("ol.source.TileJSON",ux),ux.prototype.getTileJSON=ux.prototype.pl,i("ol.source.TileUTFGrid",cx),cx.prototype.getTemplate=cx.prototype.ml,cx.prototype.forDataAtCoordinateAndResolution=cx.prototype.zk,i("ol.source.TileWMS",gx),gx.prototype.getGetFeatureInfoUrl=gx.prototype.Fo,gx.prototype.getParams=gx.prototype.Go,gx.prototype.updateParams=gx.prototype.Ho,jw.prototype.getTileLoadFunction=jw.prototype.pb,jw.prototype.getTileUrlFunction=jw.prototype.qb,jw.prototype.getUrls=jw.prototype.rb,jw.prototype.setTileLoadFunction=jw.prototype.vb,jw.prototype.setTileUrlFunction=jw.prototype.cb,jw.prototype.setUrl=jw.prototype.jb,jw.prototype.setUrls=jw.prototype.eb,i("ol.source.Vector",Mb),Mb.prototype.addFeature=Mb.prototype.yb,Mb.prototype.addFeatures=Mb.prototype.cd,Mb.prototype.clear=Mb.prototype.clear,Mb.prototype.forEachFeature=Mb.prototype.sh,Mb.prototype.forEachFeatureInExtent=Mb.prototype.$b,Mb.prototype.forEachFeatureIntersectingExtent=Mb.prototype.th,Mb.prototype.getFeaturesCollection=Mb.prototype.Ah,Mb.prototype.getFeatures=Mb.prototype.Xe,Mb.prototype.getFeaturesAtCoordinate=Mb.prototype.zh,Mb.prototype.getFeaturesInExtent=Mb.prototype.Uf,Mb.prototype.getClosestFeatureToCoordinate=Mb.prototype.vh,Mb.prototype.getExtent=Mb.prototype.G,Mb.prototype.getFeatureById=Mb.prototype.yh,Mb.prototype.getFormat=Mb.prototype.Mi,Mb.prototype.getUrl=Mb.prototype.Ni,Mb.prototype.removeFeature=Mb.prototype.Gb,jb.prototype.feature=jb.prototype.feature,i("ol.source.VectorTile",Mx),i("ol.source.WMTS",Ex),Ex.prototype.getDimensions=Ex.prototype.Mk,Ex.prototype.getFormat=Ex.prototype.Io,Ex.prototype.getLayer=Ex.prototype.Jo,Ex.prototype.getMatrixSet=Ex.prototype.$k,Ex.prototype.getRequestEncoding=Ex.prototype.kl,Ex.prototype.getStyle=Ex.prototype.Ko,Ex.prototype.getVersion=Ex.prototype.rl,Ex.prototype.updateDimensions=Ex.prototype.uq,i("ol.source.WMTS.optionsFromCapabilities",function(t,r){var e=v(t.Contents.Layer,function(t){return t.Identifier==r.layer});if(null===e)return null;var n=t.Contents.TileMatrixSet,o=1<e.TileMatrixSetLink.length?b(e.TileMatrixSetLink,"projection"in r?function(e){var t=v(n,function(t){return t.Identifier==e.TileMatrixSet}).SupportedCRS.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3"),o=Wt(t),i=Wt(r.projection);return o&&i?Zt(o,i):t==r.projection}:function(t){return t.TileMatrixSet==r.matrixSet}):0;o<0&&(o=0);var i=e.TileMatrixSetLink[o].TileMatrixSet,p=e.TileMatrixSetLink[o].TileMatrixSetLimits,s=e.Format[0];"format"in r&&(s=r.format),(o=b(e.Style,function(t){return"style"in r?t.Title==r.style:t.isDefault}))<0&&(o=0),o=e.Style[o].Identifier;var a={};"Dimension"in e&&e.Dimension.forEach(function(t){var e=t.Identifier,o=t.Default;void 0===o&&(o=t.Value[0]),a[e]=o});var h=v(t.Contents.TileMatrixSet,function(t){return t.Identifier==i}),l=Wt("projection"in r?r.projection:h.SupportedCRS.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3")),u=e.WGS84BoundingBox;if(void 0!==u){var c=Wt("EPSG:4326").G();c=u[0]==c[0]&&u[2]==c[2];var y=Jt(u,"EPSG:4326",l);(u=l.G())&&(O(u,y)||(y=void 0))}p=Ax(h,y,p);var f=[];h=void 0!==(h=r.requestEncoding)?h:"";if("OperationsMetadata"in t&&"GetTile"in t.OperationsMetadata)for(y=0,u=(t=t.OperationsMetadata.GetTile.DCP.HTTP.Get).length;y<u;++y){var g=v(t[y].Constraint,function(t){return"GetEncoding"==t.name}).AllowedValues.Value;if(""===h&&(h=g[0]),"KVP"!==h)break;d(g,"KVP")&&f.push(t[y].href)}return f.length||(h="REST",e.ResourceURL.forEach(function(t){"tile"===t.resourceType&&(s=t.format,f.push(t.template))})),{urls:f,layer:r.layer,matrixSet:i,format:s,projection:l,requestEncoding:h,tileGrid:p,style:o,dimensions:a,wrapX:c,crossOrigin:r.crossOrigin}}),i("ol.source.XYZ",kw),i("ol.source.Zoomify",jx),yp.prototype.vectorContext=yp.prototype.vectorContext,yp.prototype.frameState=yp.prototype.frameState,yp.prototype.context=yp.prototype.context,yp.prototype.glContext=yp.prototype.glContext,Wf.prototype.get=Wf.prototype.get,Wf.prototype.getExtent=Wf.prototype.G,Wf.prototype.getId=Wf.prototype.Wn,Wf.prototype.getGeometry=Wf.prototype.V,Wf.prototype.getProperties=Wf.prototype.Xn,Wf.prototype.getType=Wf.prototype.U,i("ol.render.VectorContext",bp),Ua.prototype.setStyle=Ua.prototype.rd,Ua.prototype.drawGeometry=Ua.prototype.zb,Ua.prototype.drawFeature=Ua.prototype.te,mp.prototype.drawCircle=mp.prototype.Zb,mp.prototype.setStyle=mp.prototype.rd,mp.prototype.drawGeometry=mp.prototype.zb,mp.prototype.drawFeature=mp.prototype.te,i("ol.proj.common.add",_t),i("ol.proj.Projection",wt),wt.prototype.getCode=wt.prototype.Jk,wt.prototype.getExtent=wt.prototype.G,wt.prototype.getUnits=wt.prototype.Un,wt.prototype.getMetersPerUnit=wt.prototype.sc,wt.prototype.getWorldExtent=wt.prototype.tl,wt.prototype.isGlobal=wt.prototype.dm,wt.prototype.setGlobal=wt.prototype.$p,wt.prototype.setExtent=wt.prototype.Vn,wt.prototype.setWorldExtent=wt.prototype.kq,wt.prototype.setGetPointResolution=wt.prototype.Zp,i("ol.proj.Units.METERS_PER_UNIT",bt),i("ol.layer.Base",Vn),Vn.prototype.getExtent=Vn.prototype.G,Vn.prototype.getMaxResolution=Vn.prototype.fc,Vn.prototype.getMinResolution=Vn.prototype.gc,Vn.prototype.getOpacity=Vn.prototype.hc,Vn.prototype.getVisible=Vn.prototype.Mb,Vn.prototype.getZIndex=Vn.prototype.Ba,Vn.prototype.setExtent=Vn.prototype.vc,Vn.prototype.setMaxResolution=Vn.prototype.Ac,Vn.prototype.setMinResolution=Vn.prototype.Bc,Vn.prototype.setOpacity=Vn.prototype.wc,Vn.prototype.setVisible=Vn.prototype.xc,Vn.prototype.setZIndex=Vn.prototype.Vb,i("ol.layer.Group",Zn),Zn.prototype.getLayers=Zn.prototype.qd,Zn.prototype.setLayers=Zn.prototype.xi,i("ol.layer.Heatmap",Rm),Rm.prototype.getBlur=Rm.prototype.uh,Rm.prototype.getGradient=Rm.prototype.Bh,Rm.prototype.getRadius=Rm.prototype.yi,Rm.prototype.setBlur=Rm.prototype.jj,Rm.prototype.setGradient=Rm.prototype.pj,Rm.prototype.setRadius=Rm.prototype.Uc,i("ol.layer.Image",tw),tw.prototype.getSource=tw.prototype.ha,i("ol.layer.Layer",zn),zn.prototype.getSource=zn.prototype.ha,zn.prototype.setMap=zn.prototype.setMap,zn.prototype.setSource=zn.prototype.Wc,i("ol.layer.Tile",hw),hw.prototype.getPreload=hw.prototype.Ud,hw.prototype.getSource=hw.prototype.ha,hw.prototype.setPreload=hw.prototype.zi,hw.prototype.getUseInterimTilesOnError=hw.prototype.kd,hw.prototype.setUseInterimTilesOnError=hw.prototype.Ai,i("ol.layer.Vector",vb),vb.prototype.getSource=vb.prototype.ha,vb.prototype.getStyle=vb.prototype.D,vb.prototype.getStyleFunction=vb.prototype.C,vb.prototype.setStyle=vb.prototype.g,i("ol.layer.VectorTile",yw),yw.prototype.getPreload=yw.prototype.Ud,yw.prototype.getUseInterimTilesOnError=yw.prototype.kd,yw.prototype.setPreload=yw.prototype.Bi,yw.prototype.setUseInterimTilesOnError=yw.prototype.Ci,i("ol.interaction.DoubleClickZoom",Wr),i("ol.interaction.DoubleClickZoom.handleEvent",Zr),i("ol.interaction.DragAndDrop",gv),i("ol.interaction.DragAndDrop.handleEvent",Gi),xv.prototype.features=xv.prototype.features,xv.prototype.file=xv.prototype.file,xv.prototype.projection=xv.prototype.projection,i("ol.interaction.DragBox",gn),gn.prototype.getGeometry=gn.prototype.V,Mn.prototype.coordinate=Mn.prototype.coordinate,Mn.prototype.mapBrowserEvent=Mn.prototype.mapBrowserEvent,i("ol.interaction.DragPan",rn),i("ol.interaction.DragRotate",an),i("ol.interaction.DragRotateAndZoom",Sv),i("ol.interaction.DragZoom",Pn),i("ol.interaction.Draw",Cb),i("ol.interaction.Draw.handleEvent",Lb),Cb.prototype.removeLastPoint=Cb.prototype.Op,Cb.prototype.finishDrawing=Cb.prototype.Pd,Cb.prototype.extend=Cb.prototype.vn,i("ol.interaction.Draw.createRegularPolygon",function(r,n){return function(t,e){var o=t[0];t=t[1];var i=Math.sqrt(ki(o,t));return Tr(e=e||Er(new $d(o),r),o,i,n||Math.atan((t[1]-o[1])/(t[0]-o[0]))),e}}),i("ol.interaction.Draw.createBox",function(){return function(t,e){return t=E(t),(e=e||new Sr(null)).ma([[Q(t),tt(t),pt(t),nt(t),Q(t)]]),e}}),Wb.prototype.feature=Wb.prototype.feature,i("ol.interaction.Extent",Zb),Zb.prototype.getExtent=Zb.prototype.G,Zb.prototype.setExtent=Zb.prototype.g,Qb.prototype.extent_=Qb.prototype.b,i("ol.interaction.Interaction",Gr),Gr.prototype.getActive=Gr.prototype.c,Gr.prototype.getMap=Gr.prototype.f,Gr.prototype.setActive=Gr.prototype.Ha,i("ol.interaction.KeyboardPan",An),i("ol.interaction.KeyboardPan.handleEvent",En),i("ol.interaction.KeyboardZoom",Tn),i("ol.interaction.KeyboardZoom.handleEvent",jn),i("ol.interaction.Modify",em),i("ol.interaction.Modify.handleEvent",hm),em.prototype.removePoint=em.prototype.hj,fm.prototype.features=fm.prototype.features,fm.prototype.mapBrowserEvent=fm.prototype.mapBrowserEvent,i("ol.interaction.MouseWheelZoom",Cn),i("ol.interaction.MouseWheelZoom.handleEvent",Ln),Cn.prototype.setMouseAnchor=Cn.prototype.T,i("ol.interaction.PinchRotate",Nn),i("ol.interaction.PinchZoom",On),i("ol.interaction.Pointer",tn),i("ol.interaction.Pointer.handleEvent",on),i("ol.interaction.Select",gm),gm.prototype.getFeatures=gm.prototype.Gn,gm.prototype.getHitTolerance=gm.prototype.Hn,gm.prototype.getLayer=gm.prototype.In,i("ol.interaction.Select.handleEvent",dm),gm.prototype.setHitTolerance=gm.prototype.Kn,gm.prototype.setMap=gm.prototype.setMap,vm.prototype.selected=vm.prototype.selected,vm.prototype.deselected=vm.prototype.deselected,vm.prototype.mapBrowserEvent=vm.prototype.mapBrowserEvent,i("ol.interaction.Snap",mm),mm.prototype.addFeature=mm.prototype.yb,mm.prototype.removeFeature=mm.prototype.Gb,i("ol.interaction.Translate",Mm),Mm.prototype.getHitTolerance=Mm.prototype.B,Mm.prototype.setHitTolerance=Mm.prototype.I,Lm.prototype.features=Lm.prototype.features,Lm.prototype.coordinate=Lm.prototype.coordinate,i("ol.geom.Circle",$d),$d.prototype.clone=$d.prototype.clone,$d.prototype.getCenter=$d.prototype.wa,$d.prototype.getRadius=$d.prototype.pd,$d.prototype.getType=$d.prototype.U,$d.prototype.intersectsExtent=$d.prototype.Xa,$d.prototype.setCenter=$d.prototype.ob,$d.prototype.setCenterAndRadius=$d.prototype.Ng,$d.prototype.setRadius=$d.prototype.Uc,$d.prototype.transform=$d.prototype.tb,i("ol.geom.Geometry",Xi),Xi.prototype.getClosestPoint=Xi.prototype.Ab,Xi.prototype.intersectsCoordinate=Xi.prototype.sb,Xi.prototype.getExtent=Xi.prototype.G,Xi.prototype.rotate=Xi.prototype.rotate,Xi.prototype.scale=Xi.prototype.scale,Xi.prototype.simplify=Xi.prototype.Rb,Xi.prototype.transform=Xi.prototype.tb,i("ol.geom.GeometryCollection",Ql),Ql.prototype.clone=Ql.prototype.clone,Ql.prototype.getGeometries=Ql.prototype.Vf,Ql.prototype.getType=Ql.prototype.U,Ql.prototype.intersectsExtent=Ql.prototype.Xa,Ql.prototype.setGeometries=Ql.prototype.oj,Ql.prototype.applyTransform=Ql.prototype.Dc,Ql.prototype.translate=Ql.prototype.translate,i("ol.geom.LinearRing",ar),ar.prototype.clone=ar.prototype.clone,ar.prototype.getArea=ar.prototype.qn,ar.prototype.getCoordinates=ar.prototype.X,ar.prototype.getType=ar.prototype.U,ar.prototype.setCoordinates=ar.prototype.ma,i("ol.geom.LineString",cl),cl.prototype.appendCoordinate=cl.prototype.mk,cl.prototype.clone=cl.prototype.clone,cl.prototype.forEachSegment=cl.prototype.Ck,cl.prototype.getCoordinateAtM=cl.prototype.nn,cl.prototype.getCoordinates=cl.prototype.X,cl.prototype.getCoordinateAt=cl.prototype.wh,cl.prototype.getLength=cl.prototype.pn,cl.prototype.getType=cl.prototype.U,cl.prototype.intersectsExtent=cl.prototype.Xa,cl.prototype.setCoordinates=cl.prototype.ma,i("ol.geom.MultiLineString",fl),fl.prototype.appendLineString=fl.prototype.nk,fl.prototype.clone=fl.prototype.clone,fl.prototype.getCoordinateAtM=fl.prototype.rn,fl.prototype.getCoordinates=fl.prototype.X,fl.prototype.getLineString=fl.prototype.Yk,fl.prototype.getLineStrings=fl.prototype.gd,fl.prototype.getType=fl.prototype.U,fl.prototype.intersectsExtent=fl.prototype.Xa,fl.prototype.setCoordinates=fl.prototype.ma,i("ol.geom.MultiPoint",vl),vl.prototype.appendPoint=vl.prototype.qk,vl.prototype.clone=vl.prototype.clone,vl.prototype.getCoordinates=vl.prototype.X,vl.prototype.getPoint=vl.prototype.il,vl.prototype.getPoints=vl.prototype.Zd,vl.prototype.getType=vl.prototype.U,vl.prototype.intersectsExtent=vl.prototype.Xa,vl.prototype.setCoordinates=vl.prototype.ma,i("ol.geom.MultiPolygon",bl),bl.prototype.appendPolygon=bl.prototype.rk,bl.prototype.clone=bl.prototype.clone,bl.prototype.getArea=bl.prototype.sn,bl.prototype.getCoordinates=bl.prototype.X,bl.prototype.getInteriorPoints=bl.prototype.Uk,bl.prototype.getPolygon=bl.prototype.jl,bl.prototype.getPolygons=bl.prototype.Td,bl.prototype.getType=bl.prototype.U,bl.prototype.intersectsExtent=bl.prototype.Xa,bl.prototype.setCoordinates=bl.prototype.ma,i("ol.geom.Point",lr),lr.prototype.clone=lr.prototype.clone,lr.prototype.getCoordinates=lr.prototype.X,lr.prototype.getType=lr.prototype.U,lr.prototype.intersectsExtent=lr.prototype.Xa,lr.prototype.setCoordinates=lr.prototype.ma,i("ol.geom.Polygon",Sr),Sr.prototype.appendLinearRing=Sr.prototype.pk,Sr.prototype.clone=Sr.prototype.clone,Sr.prototype.getArea=Sr.prototype.tn,Sr.prototype.getCoordinates=Sr.prototype.X,Sr.prototype.getInteriorPoint=Sr.prototype.Tk,Sr.prototype.getLinearRingCount=Sr.prototype.Zk,Sr.prototype.getLinearRing=Sr.prototype.Ch,Sr.prototype.getLinearRings=Sr.prototype.Sd,Sr.prototype.getType=Sr.prototype.U,Sr.prototype.intersectsExtent=Sr.prototype.Xa,Sr.prototype.setCoordinates=Sr.prototype.ma,i("ol.geom.Polygon.circular",Pr),i("ol.geom.Polygon.fromExtent",Ar),i("ol.geom.Polygon.fromCircle",Er),i("ol.geom.SimpleGeometry",Zi),Zi.prototype.getFirstCoordinate=Zi.prototype.ac,Zi.prototype.getLastCoordinate=Zi.prototype.bc,Zi.prototype.getLayout=Zi.prototype.cc,Zi.prototype.applyTransform=Zi.prototype.Dc,Zi.prototype.translate=Zi.prototype.translate,i("ol.format.EsriJSON",Ml),Ml.prototype.readFeature=Ml.prototype.Tb,Ml.prototype.readFeatures=Ml.prototype.Oa,Ml.prototype.readGeometry=Ml.prototype.Sc,Ml.prototype.readProjection=Ml.prototype.kb,Ml.prototype.writeGeometry=Ml.prototype.$c,Ml.prototype.writeGeometryObject=Ml.prototype.je,Ml.prototype.writeFeature=Ml.prototype.Bd,Ml.prototype.writeFeatureObject=Ml.prototype.Zc,Ml.prototype.writeFeatures=Ml.prototype.Wb,Ml.prototype.writeFeaturesObject=Ml.prototype.he,i("ol.format.Feature",rl),i("ol.format.filter.and",_l),i("ol.format.filter.or",function(t){var e=[null].concat(Array.prototype.slice.call(arguments));return new(Function.prototype.bind.apply(ql,e))}),i("ol.format.filter.not",function(t){return new Yl(t)}),i("ol.format.filter.bbox",$l),i("ol.format.filter.intersects",function(t,e,o){return new Xl(t,e,o)}),i("ol.format.filter.within",function(t,e,o){return new Jl(t,e,o)}),i("ol.format.filter.equalTo",function(t,e,o){return new Ol(t,e,o)}),i("ol.format.filter.notEqualTo",function(t,e,o){return new Hl(t,e,o)}),i("ol.format.filter.lessThan",function(t,e){return new Kl(t,e)}),i("ol.format.filter.lessThanOrEqualTo",function(t,e){return new zl(t,e)}),i("ol.format.filter.greaterThan",function(t,e){return new Ul(t,e)}),i("ol.format.filter.greaterThanOrEqualTo",function(t,e){return new Gl(t,e)}),i("ol.format.filter.isNull",function(t){return new Zl(t)}),i("ol.format.filter.between",function(t,e,o){return new Vl(t,e,o)}),i("ol.format.filter.like",function(t,e,o,i,r,n){return new Wl(t,e,o,i,r,n)}),i("ol.format.filter.during",function(t,e,o){return new kl(t,e,o)}),i("ol.format.GeoJSON",iu),iu.prototype.readFeature=iu.prototype.Tb,iu.prototype.readFeatures=iu.prototype.Oa,iu.prototype.readGeometry=iu.prototype.Sc,iu.prototype.readProjection=iu.prototype.kb,iu.prototype.writeFeature=iu.prototype.Bd,iu.prototype.writeFeatureObject=iu.prototype.Zc,iu.prototype.writeFeatures=iu.prototype.Wb,iu.prototype.writeFeaturesObject=iu.prototype.he,iu.prototype.writeGeometry=iu.prototype.$c,iu.prototype.writeGeometryObject=iu.prototype.je,i("ol.format.GML",Au),Au.prototype.writeFeatures=Au.prototype.Wb,Au.prototype.writeFeaturesNode=Au.prototype.Xb,i("ol.format.GML2",Fu),i("ol.format.GML3",Au),Au.prototype.writeGeometryNode=Au.prototype.ie,Au.prototype.writeFeatures=Au.prototype.Wb,Au.prototype.writeFeaturesNode=Au.prototype.Xb,uu.prototype.readFeatures=uu.prototype.Oa,i("ol.format.GPX",Ku),Ku.prototype.readFeature=Ku.prototype.Tb,Ku.prototype.readFeatures=Ku.prototype.Oa,Ku.prototype.readProjection=Ku.prototype.kb,Ku.prototype.writeFeatures=Ku.prototype.Wb,Ku.prototype.writeFeaturesNode=Ku.prototype.Xb,i("ol.format.IGC",jc),jc.prototype.readFeature=jc.prototype.Tb,jc.prototype.readFeatures=jc.prototype.Oa,jc.prototype.readProjection=jc.prototype.kb,i("ol.format.KML",$c),$c.prototype.readFeature=$c.prototype.Tb,$c.prototype.readFeatures=$c.prototype.Oa,$c.prototype.readName=$c.prototype.Cp,$c.prototype.readNetworkLinks=$c.prototype.Dp,$c.prototype.readRegion=$c.prototype.Gp,$c.prototype.readRegionFromNode=$c.prototype.lf,$c.prototype.readProjection=$c.prototype.kb,$c.prototype.writeFeatures=$c.prototype.Wb,$c.prototype.writeFeaturesNode=$c.prototype.Xb,i("ol.format.MVT",Zf),Zf.prototype.readFeatures=Zf.prototype.Oa,Zf.prototype.readProjection=Zf.prototype.kb,Zf.prototype.setLayers=Zf.prototype.mn,i("ol.format.OSMXML",zf),zf.prototype.readFeatures=zf.prototype.Oa,zf.prototype.readProjection=zf.prototype.kb,i("ol.format.Polyline",vg),i("ol.format.Polyline.encodeDeltas",bg),i("ol.format.Polyline.decodeDeltas",mg),i("ol.format.Polyline.encodeFloats",wg),i("ol.format.Polyline.decodeFloats",xg),vg.prototype.readFeature=vg.prototype.Tb,vg.prototype.readFeatures=vg.prototype.Oa,vg.prototype.readGeometry=vg.prototype.Sc,vg.prototype.readProjection=vg.prototype.kb,vg.prototype.writeGeometry=vg.prototype.$c,i("ol.format.TopoJSON",Sg),Sg.prototype.readFeatures=Sg.prototype.Oa,Sg.prototype.readProjection=Sg.prototype.kb,i("ol.format.WFS",jg),jg.prototype.readFeatures=jg.prototype.Oa,jg.prototype.readTransactionResponse=jg.prototype.j,jg.prototype.readFeatureCollectionMetadata=jg.prototype.g,i("ol.format.WFS.writeFilter",function(t){var e=Dh("http://www.opengis.net/ogc","Filter");return el({node:e},Hg,Hh(t.kc),[t],[]),e}),jg.prototype.writeGetFeature=jg.prototype.l,jg.prototype.writeTransaction=jg.prototype.v,jg.prototype.readProjection=jg.prototype.kb,i("ol.format.WKT",qg),qg.prototype.readFeature=qg.prototype.Tb,qg.prototype.readFeatures=qg.prototype.Oa,qg.prototype.readGeometry=qg.prototype.Sc,qg.prototype.writeFeature=qg.prototype.Bd,qg.prototype.writeFeatures=qg.prototype.Wb,qg.prototype.writeGeometry=qg.prototype.$c,i("ol.format.WMSCapabilities",cd),cd.prototype.read=cd.prototype.read,i("ol.format.WMSGetFeatureInfo",kd),kd.prototype.readFeatures=kd.prototype.Oa,i("ol.format.WMTSCapabilities",Dd),Dd.prototype.read=Dd.prototype.read,i("ol.format.filter.And",Il),i("ol.format.filter.Bbox",Nl),i("ol.format.filter.Comparison",Fl),i("ol.format.filter.ComparisonBinary",Dl),i("ol.format.filter.During",kl),i("ol.format.filter.EqualTo",Ol),i("ol.format.filter.Filter",Ll),i("ol.format.filter.GreaterThan",Ul),i("ol.format.filter.GreaterThanOrEqualTo",Gl),i("ol.format.filter.Intersects",Xl),i("ol.format.filter.IsBetween",Vl),i("ol.format.filter.IsLike",Wl),i("ol.format.filter.IsNull",Zl),i("ol.format.filter.LessThan",Kl),i("ol.format.filter.LessThanOrEqualTo",zl),i("ol.format.filter.Not",Yl),i("ol.format.filter.NotEqualTo",Hl),i("ol.format.filter.Or",ql),i("ol.format.filter.Spatial",Bl),i("ol.format.filter.Within",Jl),i("ol.events.condition.altKeyOnly",function(t){return(t=t.originalEvent).altKey&&!(t.metaKey||t.ctrlKey)&&!t.shiftKey}),i("ol.events.condition.altShiftKeysOnly",Kr),i("ol.events.condition.always",Gi),i("ol.events.condition.click",function(t){return"click"==t.type}),i("ol.events.condition.never",Bi),i("ol.events.condition.pointerMove",Yr),i("ol.events.condition.singleClick",Hr),i("ol.events.condition.doubleClick",function(t){return"dblclick"==t.type}),i("ol.events.condition.noModifierKeys",qr),i("ol.events.condition.platformModifierKeyOnly",function(t){return!(t=t.originalEvent).altKey&&(No?t.metaKey:t.ctrlKey)&&!t.shiftKey}),i("ol.events.condition.shiftKeyOnly",Jr),i("ol.events.condition.targetNotEditable",_r),i("ol.events.condition.mouseOnly",$r),i("ol.events.condition.primaryAction",Qr),Ee.prototype.type=Ee.prototype.type,Ee.prototype.target=Ee.prototype.target,Ee.prototype.preventDefault=Ee.prototype.preventDefault,Ee.prototype.stopPropagation=Ee.prototype.stopPropagation,i("ol.control.Attribution",to),i("ol.control.Attribution.render",eo),to.prototype.getCollapsible=to.prototype.Um,to.prototype.setCollapsible=to.prototype.Xm,to.prototype.setCollapsed=to.prototype.Wm,to.prototype.getCollapsed=to.prototype.Tm,i("ol.control.Control",Qe),Qe.prototype.getMap=Qe.prototype.g,Qe.prototype.setMap=Qe.prototype.setMap,Qe.prototype.setTarget=Qe.prototype.f,i("ol.control.FullScreen",uo),i("ol.control.MousePosition",bo),i("ol.control.MousePosition.render",mo),bo.prototype.getCoordinateFormat=bo.prototype.xh,bo.prototype.getProjection=bo.prototype.Zh,bo.prototype.setCoordinateFormat=bo.prototype.kj,bo.prototype.setProjection=bo.prototype.$h,i("ol.control.OverviewMap",eh),i("ol.control.OverviewMap.render",oh),eh.prototype.getCollapsible=eh.prototype.$m,eh.prototype.setCollapsible=eh.prototype.cn,eh.prototype.setCollapsed=eh.prototype.bn,eh.prototype.getCollapsed=eh.prototype.Zm,eh.prototype.getOverviewMap=eh.prototype.gl,i("ol.control.Rotate",so),i("ol.control.Rotate.render",ao),i("ol.control.ScaleLine",ph),ph.prototype.getUnits=ph.prototype.C,i("ol.control.ScaleLine.render",ah),ph.prototype.setUnits=ph.prototype.I,i("ol.control.Zoom",ho),i("ol.control.ZoomSlider",uh),i("ol.control.ZoomSlider.render",yh),i("ol.control.ZoomToExtent",dh),Re.prototype.changed=Re.prototype.s,Re.prototype.dispatchEvent=Re.prototype.b,Re.prototype.getRevision=Re.prototype.L,Re.prototype.on=Re.prototype.J,Re.prototype.once=Re.prototype.once,Re.prototype.un=Re.prototype.K,De.prototype.get=De.prototype.get,De.prototype.getKeys=De.prototype.O,De.prototype.getProperties=De.prototype.N,De.prototype.set=De.prototype.set,De.prototype.setProperties=De.prototype.H,De.prototype.unset=De.prototype.P,De.prototype.changed=De.prototype.s,De.prototype.dispatchEvent=De.prototype.b,De.prototype.getRevision=De.prototype.L,De.prototype.on=De.prototype.J,De.prototype.once=De.prototype.once,De.prototype.un=De.prototype.K,Be.prototype.type=Be.prototype.type,Be.prototype.target=Be.prototype.target,Be.prototype.preventDefault=Be.prototype.preventDefault,Be.prototype.stopPropagation=Be.prototype.stopPropagation,vh.prototype.get=vh.prototype.get,vh.prototype.getKeys=vh.prototype.O,vh.prototype.getProperties=vh.prototype.N,vh.prototype.set=vh.prototype.set,vh.prototype.setProperties=vh.prototype.H,vh.prototype.unset=vh.prototype.P,vh.prototype.changed=vh.prototype.s,vh.prototype.dispatchEvent=vh.prototype.b,vh.prototype.getRevision=vh.prototype.L,vh.prototype.on=vh.prototype.J,vh.prototype.once=vh.prototype.once,vh.prototype.un=vh.prototype.K,Fh.prototype.get=Fh.prototype.get,Fh.prototype.getKeys=Fh.prototype.O,Fh.prototype.getProperties=Fh.prototype.N,Fh.prototype.set=Fh.prototype.set,Fh.prototype.setProperties=Fh.prototype.H,Fh.prototype.unset=Fh.prototype.P,Fh.prototype.changed=Fh.prototype.s,Fh.prototype.dispatchEvent=Fh.prototype.b,Fh.prototype.getRevision=Fh.prototype.L,Fh.prototype.on=Fh.prototype.J,Fh.prototype.once=Fh.prototype.once,Fh.prototype.un=Fh.prototype.K,_d.prototype.get=_d.prototype.get,_d.prototype.getKeys=_d.prototype.O,_d.prototype.getProperties=_d.prototype.N,_d.prototype.set=_d.prototype.set,_d.prototype.setProperties=_d.prototype.H,_d.prototype.unset=_d.prototype.P,_d.prototype.changed=_d.prototype.s,_d.prototype.dispatchEvent=_d.prototype.b,_d.prototype.getRevision=_d.prototype.L,_d.prototype.on=_d.prototype.J,_d.prototype.once=_d.prototype.once,_d.prototype.un=_d.prototype.K,cv.prototype.getTileCoord=cv.prototype.f,cv.prototype.load=cv.prototype.load,Ka.prototype.get=Ka.prototype.get,Ka.prototype.getKeys=Ka.prototype.O,Ka.prototype.getProperties=Ka.prototype.N,Ka.prototype.set=Ka.prototype.set,Ka.prototype.setProperties=Ka.prototype.H,Ka.prototype.unset=Ka.prototype.P,Ka.prototype.changed=Ka.prototype.s,Ka.prototype.dispatchEvent=Ka.prototype.b,Ka.prototype.getRevision=Ka.prototype.L,Ka.prototype.on=Ka.prototype.J,Ka.prototype.once=Ka.prototype.once,Ka.prototype.un=Ka.prototype.K,Mo.prototype.type=Mo.prototype.type,Mo.prototype.target=Mo.prototype.target,Mo.prototype.preventDefault=Mo.prototype.preventDefault,Mo.prototype.stopPropagation=Mo.prototype.stopPropagation,Po.prototype.map=Po.prototype.map,Po.prototype.frameState=Po.prototype.frameState,Po.prototype.type=Po.prototype.type,Po.prototype.target=Po.prototype.target,Po.prototype.preventDefault=Po.prototype.preventDefault,Po.prototype.stopPropagation=Po.prototype.stopPropagation,zo.prototype.originalEvent=zo.prototype.originalEvent,zo.prototype.pixel=zo.prototype.pixel,zo.prototype.coordinate=zo.prototype.coordinate,zo.prototype.dragging=zo.prototype.dragging,zo.prototype.preventDefault=zo.prototype.preventDefault,zo.prototype.stopPropagation=zo.prototype.stopPropagation,zo.prototype.map=zo.prototype.map,zo.prototype.frameState=zo.prototype.frameState,zo.prototype.type=zo.prototype.type,zo.prototype.target=zo.prototype.target,ke.prototype.type=ke.prototype.type,ke.prototype.target=ke.prototype.target,ke.prototype.preventDefault=ke.prototype.preventDefault,ke.prototype.stopPropagation=ke.prototype.stopPropagation,za.prototype.get=za.prototype.get,za.prototype.getKeys=za.prototype.O,za.prototype.getProperties=za.prototype.N,za.prototype.set=za.prototype.set,za.prototype.setProperties=za.prototype.H,za.prototype.unset=za.prototype.P,za.prototype.changed=za.prototype.s,za.prototype.dispatchEvent=za.prototype.b,za.prototype.getRevision=za.prototype.L,za.prototype.on=za.prototype.J,za.prototype.once=za.prototype.once,za.prototype.un=za.prototype.K,wx.prototype.getTileCoord=wx.prototype.f,wx.prototype.load=wx.prototype.load,Sx.prototype.getTileCoord=Sx.prototype.f,Sx.prototype.load=Sx.prototype.load,jr.prototype.get=jr.prototype.get,jr.prototype.getKeys=jr.prototype.O,jr.prototype.getProperties=jr.prototype.N,jr.prototype.set=jr.prototype.set,jr.prototype.setProperties=jr.prototype.H,jr.prototype.unset=jr.prototype.P,jr.prototype.changed=jr.prototype.s,jr.prototype.dispatchEvent=jr.prototype.b,jr.prototype.getRevision=jr.prototype.L,jr.prototype.on=jr.prototype.J,jr.prototype.once=jr.prototype.once,jr.prototype.un=jr.prototype.K,Px.prototype.forEachTileCoord=Px.prototype.Rf,Px.prototype.getMaxZoom=Px.prototype.Ti,Px.prototype.getMinZoom=Px.prototype.Ui,Px.prototype.getOrigin=Px.prototype.Pc,Px.prototype.getResolution=Px.prototype.Da,Px.prototype.getResolutions=Px.prototype.Vi,Px.prototype.getTileCoordExtent=Px.prototype.Aa,Px.prototype.getTileCoordForCoordAndResolution=Px.prototype.Be,Px.prototype.getTileCoordForCoordAndZ=Px.prototype.bg,Px.prototype.getTileSize=Px.prototype.gb,Px.prototype.getZForResolution=Px.prototype.tc,Ph.prototype.getOpacity=Ph.prototype.Ze,Ph.prototype.getRotateWithView=Ph.prototype.$e,Ph.prototype.getRotation=Ph.prototype.af,Ph.prototype.getScale=Ph.prototype.bf,Ph.prototype.getSnapToPixel=Ph.prototype.Ae,Ph.prototype.setOpacity=Ph.prototype.td,Ph.prototype.setRotation=Ph.prototype.cf,Ph.prototype.setScale=Ph.prototype.ud,Eh.prototype.clone=Eh.prototype.clone,Eh.prototype.getAngle=Eh.prototype.Pi,Eh.prototype.getFill=Eh.prototype.Fa,Eh.prototype.getPoints=Eh.prototype.Qi,Eh.prototype.getRadius=Eh.prototype.Ri,Eh.prototype.getRadius2=Eh.prototype.Fh,Eh.prototype.getStroke=Eh.prototype.Ga,Eh.prototype.getOpacity=Eh.prototype.Ze,Eh.prototype.getRotateWithView=Eh.prototype.$e,Eh.prototype.getRotation=Eh.prototype.af,Eh.prototype.getScale=Eh.prototype.bf,Eh.prototype.getSnapToPixel=Eh.prototype.Ae,Eh.prototype.setOpacity=Eh.prototype.td,Eh.prototype.setRotation=Eh.prototype.cf,Eh.prototype.setScale=Eh.prototype.ud,Jc.prototype.getOpacity=Jc.prototype.Ze,Jc.prototype.getRotateWithView=Jc.prototype.$e,Jc.prototype.getRotation=Jc.prototype.af,Jc.prototype.getScale=Jc.prototype.bf,Jc.prototype.getSnapToPixel=Jc.prototype.Ae,Jc.prototype.setOpacity=Jc.prototype.td,Jc.prototype.setRotation=Jc.prototype.cf,Jc.prototype.setScale=Jc.prototype.ud,wb.prototype.get=wb.prototype.get,wb.prototype.getKeys=wb.prototype.O,wb.prototype.getProperties=wb.prototype.N,wb.prototype.set=wb.prototype.set,wb.prototype.setProperties=wb.prototype.H,wb.prototype.unset=wb.prototype.P,wb.prototype.changed=wb.prototype.s,wb.prototype.dispatchEvent=wb.prototype.b,wb.prototype.getRevision=wb.prototype.L,wb.prototype.on=wb.prototype.J,wb.prototype.once=wb.prototype.once,wb.prototype.un=wb.prototype.K,Mw.prototype.getAttributions=Mw.prototype.ya,Mw.prototype.getLogo=Mw.prototype.xa,Mw.prototype.getProjection=Mw.prototype.za,Mw.prototype.getState=Mw.prototype.getState,Mw.prototype.refresh=Mw.prototype.sa,Mw.prototype.setAttributions=Mw.prototype.ua,Mw.prototype.get=Mw.prototype.get,Mw.prototype.getKeys=Mw.prototype.O,Mw.prototype.getProperties=Mw.prototype.N,Mw.prototype.set=Mw.prototype.set,Mw.prototype.setProperties=Mw.prototype.H,Mw.prototype.unset=Mw.prototype.P,Mw.prototype.changed=Mw.prototype.s,Mw.prototype.dispatchEvent=Mw.prototype.b,Mw.prototype.getRevision=Mw.prototype.L,Mw.prototype.on=Mw.prototype.J,Mw.prototype.once=Mw.prototype.once,Mw.prototype.un=Mw.prototype.K,jw.prototype.getTileGrid=jw.prototype.ab,jw.prototype.refresh=jw.prototype.sa,jw.prototype.getAttributions=jw.prototype.ya,jw.prototype.getLogo=jw.prototype.xa,jw.prototype.getProjection=jw.prototype.za,jw.prototype.getState=jw.prototype.getState,jw.prototype.setAttributions=jw.prototype.ua,jw.prototype.get=jw.prototype.get,jw.prototype.getKeys=jw.prototype.O,jw.prototype.getProperties=jw.prototype.N,jw.prototype.set=jw.prototype.set,jw.prototype.setProperties=jw.prototype.H,jw.prototype.unset=jw.prototype.P,jw.prototype.changed=jw.prototype.s,jw.prototype.dispatchEvent=jw.prototype.b,jw.prototype.getRevision=jw.prototype.L,jw.prototype.on=jw.prototype.J,jw.prototype.once=jw.prototype.once,jw.prototype.un=jw.prototype.K,Cw.prototype.getTileLoadFunction=Cw.prototype.pb,Cw.prototype.getTileUrlFunction=Cw.prototype.qb,Cw.prototype.getUrls=Cw.prototype.rb,Cw.prototype.setTileLoadFunction=Cw.prototype.vb,Cw.prototype.setTileUrlFunction=Cw.prototype.cb,Cw.prototype.setUrl=Cw.prototype.jb,Cw.prototype.setUrls=Cw.prototype.eb,Cw.prototype.getTileGrid=Cw.prototype.ab,Cw.prototype.refresh=Cw.prototype.sa,Cw.prototype.getAttributions=Cw.prototype.ya,Cw.prototype.getLogo=Cw.prototype.xa,Cw.prototype.getProjection=Cw.prototype.za,Cw.prototype.getState=Cw.prototype.getState,Cw.prototype.setAttributions=Cw.prototype.ua,Cw.prototype.get=Cw.prototype.get,Cw.prototype.getKeys=Cw.prototype.O,Cw.prototype.getProperties=Cw.prototype.N,Cw.prototype.set=Cw.prototype.set,Cw.prototype.setProperties=Cw.prototype.H,Cw.prototype.unset=Cw.prototype.P,Cw.prototype.changed=Cw.prototype.s,Cw.prototype.dispatchEvent=Cw.prototype.b,Cw.prototype.getRevision=Cw.prototype.L,Cw.prototype.on=Cw.prototype.J,Cw.prototype.once=Cw.prototype.once,Cw.prototype.un=Cw.prototype.K,Nw.prototype.setRenderReprojectionEdges=Nw.prototype.Pb,Nw.prototype.setTileGridForProjection=Nw.prototype.Qb,Nw.prototype.getTileLoadFunction=Nw.prototype.pb,Nw.prototype.getTileUrlFunction=Nw.prototype.qb,Nw.prototype.getUrls=Nw.prototype.rb,Nw.prototype.setTileLoadFunction=Nw.prototype.vb,Nw.prototype.setTileUrlFunction=Nw.prototype.cb,Nw.prototype.setUrl=Nw.prototype.jb,Nw.prototype.setUrls=Nw.prototype.eb,Nw.prototype.getTileGrid=Nw.prototype.ab,Nw.prototype.refresh=Nw.prototype.sa,Nw.prototype.getAttributions=Nw.prototype.ya,Nw.prototype.getLogo=Nw.prototype.xa,Nw.prototype.getProjection=Nw.prototype.za,Nw.prototype.getState=Nw.prototype.getState,Nw.prototype.setAttributions=Nw.prototype.ua,Nw.prototype.get=Nw.prototype.get,Nw.prototype.getKeys=Nw.prototype.O,Nw.prototype.getProperties=Nw.prototype.N,Nw.prototype.set=Nw.prototype.set,Nw.prototype.setProperties=Nw.prototype.H,Nw.prototype.unset=Nw.prototype.P,Nw.prototype.changed=Nw.prototype.s,Nw.prototype.dispatchEvent=Nw.prototype.b,Nw.prototype.getRevision=Nw.prototype.L,Nw.prototype.on=Nw.prototype.J,Nw.prototype.once=Nw.prototype.once,Nw.prototype.un=Nw.prototype.K,kw.prototype.setRenderReprojectionEdges=kw.prototype.Pb,kw.prototype.setTileGridForProjection=kw.prototype.Qb,kw.prototype.getTileLoadFunction=kw.prototype.pb,kw.prototype.getTileUrlFunction=kw.prototype.qb,kw.prototype.getUrls=kw.prototype.rb,kw.prototype.setTileLoadFunction=kw.prototype.vb,kw.prototype.setTileUrlFunction=kw.prototype.cb,kw.prototype.setUrl=kw.prototype.jb,kw.prototype.setUrls=kw.prototype.eb,kw.prototype.getTileGrid=kw.prototype.ab,kw.prototype.refresh=kw.prototype.sa,kw.prototype.getAttributions=kw.prototype.ya,kw.prototype.getLogo=kw.prototype.xa,kw.prototype.getProjection=kw.prototype.za,kw.prototype.getState=kw.prototype.getState,kw.prototype.setAttributions=kw.prototype.ua,kw.prototype.get=kw.prototype.get,kw.prototype.getKeys=kw.prototype.O,kw.prototype.getProperties=kw.prototype.N,kw.prototype.set=kw.prototype.set,kw.prototype.setProperties=kw.prototype.H,kw.prototype.unset=kw.prototype.P,kw.prototype.changed=kw.prototype.s,kw.prototype.dispatchEvent=kw.prototype.b,kw.prototype.getRevision=kw.prototype.L,kw.prototype.on=kw.prototype.J,kw.prototype.once=kw.prototype.once,kw.prototype.un=kw.prototype.K,Dw.prototype.setRenderReprojectionEdges=Dw.prototype.Pb,Dw.prototype.setTileGridForProjection=Dw.prototype.Qb,Dw.prototype.getTileLoadFunction=Dw.prototype.pb,Dw.prototype.getTileUrlFunction=Dw.prototype.qb,Dw.prototype.getUrls=Dw.prototype.rb,Dw.prototype.setTileLoadFunction=Dw.prototype.vb,Dw.prototype.setTileUrlFunction=Dw.prototype.cb,Dw.prototype.setUrl=Dw.prototype.jb,Dw.prototype.setUrls=Dw.prototype.eb,Dw.prototype.getTileGrid=Dw.prototype.ab,Dw.prototype.refresh=Dw.prototype.sa,Dw.prototype.getAttributions=Dw.prototype.ya,Dw.prototype.getLogo=Dw.prototype.xa,Dw.prototype.getProjection=Dw.prototype.za,Dw.prototype.getState=Dw.prototype.getState,Dw.prototype.setAttributions=Dw.prototype.ua,Dw.prototype.get=Dw.prototype.get,Dw.prototype.getKeys=Dw.prototype.O,Dw.prototype.getProperties=Dw.prototype.N,Dw.prototype.set=Dw.prototype.set,Dw.prototype.setProperties=Dw.prototype.H,Dw.prototype.unset=Dw.prototype.P,Dw.prototype.changed=Dw.prototype.s,Dw.prototype.dispatchEvent=Dw.prototype.b,Dw.prototype.getRevision=Dw.prototype.L,Dw.prototype.on=Dw.prototype.J,Dw.prototype.once=Dw.prototype.once,Dw.prototype.un=Dw.prototype.K,Mb.prototype.getAttributions=Mb.prototype.ya,Mb.prototype.getLogo=Mb.prototype.xa,Mb.prototype.getProjection=Mb.prototype.za,Mb.prototype.getState=Mb.prototype.getState,Mb.prototype.refresh=Mb.prototype.sa,Mb.prototype.setAttributions=Mb.prototype.ua,Mb.prototype.get=Mb.prototype.get,Mb.prototype.getKeys=Mb.prototype.O,Mb.prototype.getProperties=Mb.prototype.N,Mb.prototype.set=Mb.prototype.set,Mb.prototype.setProperties=Mb.prototype.H,Mb.prototype.unset=Mb.prototype.P,Mb.prototype.changed=Mb.prototype.s,Mb.prototype.dispatchEvent=Mb.prototype.b,Mb.prototype.getRevision=Mb.prototype.L,Mb.prototype.on=Mb.prototype.J,Mb.prototype.once=Mb.prototype.once,Mb.prototype.un=Mb.prototype.K,Gw.prototype.addFeature=Gw.prototype.yb,Gw.prototype.addFeatures=Gw.prototype.cd,Gw.prototype.clear=Gw.prototype.clear,Gw.prototype.forEachFeature=Gw.prototype.sh,Gw.prototype.forEachFeatureInExtent=Gw.prototype.$b,Gw.prototype.forEachFeatureIntersectingExtent=Gw.prototype.th,Gw.prototype.getFeaturesCollection=Gw.prototype.Ah,Gw.prototype.getFeatures=Gw.prototype.Xe,Gw.prototype.getFeaturesAtCoordinate=Gw.prototype.zh,Gw.prototype.getFeaturesInExtent=Gw.prototype.Uf,Gw.prototype.getClosestFeatureToCoordinate=Gw.prototype.vh,Gw.prototype.getExtent=Gw.prototype.G,Gw.prototype.getFeatureById=Gw.prototype.yh,Gw.prototype.getFormat=Gw.prototype.Mi,Gw.prototype.getUrl=Gw.prototype.Ni,Gw.prototype.removeFeature=Gw.prototype.Gb,Gw.prototype.getAttributions=Gw.prototype.ya,Gw.prototype.getLogo=Gw.prototype.xa,Gw.prototype.getProjection=Gw.prototype.za,Gw.prototype.getState=Gw.prototype.getState,Gw.prototype.refresh=Gw.prototype.sa,Gw.prototype.setAttributions=Gw.prototype.ua,Gw.prototype.get=Gw.prototype.get,Gw.prototype.getKeys=Gw.prototype.O,Gw.prototype.getProperties=Gw.prototype.N,Gw.prototype.set=Gw.prototype.set,Gw.prototype.setProperties=Gw.prototype.H,Gw.prototype.unset=Gw.prototype.P,Gw.prototype.changed=Gw.prototype.s,Gw.prototype.dispatchEvent=Gw.prototype.b,Gw.prototype.getRevision=Gw.prototype.L,Gw.prototype.on=Gw.prototype.J,Gw.prototype.once=Gw.prototype.once,Gw.prototype.un=Gw.prototype.K,Zm.prototype.getAttributions=Zm.prototype.ya,Zm.prototype.getLogo=Zm.prototype.xa,Zm.prototype.getProjection=Zm.prototype.za,Zm.prototype.getState=Zm.prototype.getState,Zm.prototype.refresh=Zm.prototype.sa,Zm.prototype.setAttributions=Zm.prototype.ua,Zm.prototype.get=Zm.prototype.get,Zm.prototype.getKeys=Zm.prototype.O,Zm.prototype.getProperties=Zm.prototype.N,Zm.prototype.set=Zm.prototype.set,Zm.prototype.setProperties=Zm.prototype.H,Zm.prototype.unset=Zm.prototype.P,Zm.prototype.changed=Zm.prototype.s,Zm.prototype.dispatchEvent=Zm.prototype.b,Zm.prototype.getRevision=Zm.prototype.L,Zm.prototype.on=Zm.prototype.J,Zm.prototype.once=Zm.prototype.once,Zm.prototype.un=Zm.prototype.K,Ym.prototype.type=Ym.prototype.type,Ym.prototype.target=Ym.prototype.target,Ym.prototype.preventDefault=Ym.prototype.preventDefault,Ym.prototype.stopPropagation=Ym.prototype.stopPropagation,Ww.prototype.getAttributions=Ww.prototype.ya,Ww.prototype.getLogo=Ww.prototype.xa,Ww.prototype.getProjection=Ww.prototype.za,Ww.prototype.getState=Ww.prototype.getState,Ww.prototype.refresh=Ww.prototype.sa,Ww.prototype.setAttributions=Ww.prototype.ua,Ww.prototype.get=Ww.prototype.get,Ww.prototype.getKeys=Ww.prototype.O,Ww.prototype.getProperties=Ww.prototype.N,Ww.prototype.set=Ww.prototype.set,Ww.prototype.setProperties=Ww.prototype.H,Ww.prototype.unset=Ww.prototype.P,Ww.prototype.changed=Ww.prototype.s,Ww.prototype.dispatchEvent=Ww.prototype.b,Ww.prototype.getRevision=Ww.prototype.L,Ww.prototype.on=Ww.prototype.J,Ww.prototype.once=Ww.prototype.once,Ww.prototype.un=Ww.prototype.K,_m.prototype.getAttributions=_m.prototype.ya,_m.prototype.getLogo=_m.prototype.xa,_m.prototype.getProjection=_m.prototype.za,_m.prototype.getState=_m.prototype.getState,_m.prototype.refresh=_m.prototype.sa,_m.prototype.setAttributions=_m.prototype.ua,_m.prototype.get=_m.prototype.get,_m.prototype.getKeys=_m.prototype.O,_m.prototype.getProperties=_m.prototype.N,_m.prototype.set=_m.prototype.set,_m.prototype.setProperties=_m.prototype.H,_m.prototype.unset=_m.prototype.P,_m.prototype.changed=_m.prototype.s,_m.prototype.dispatchEvent=_m.prototype.b,_m.prototype.getRevision=_m.prototype.L,_m.prototype.on=_m.prototype.J,_m.prototype.once=_m.prototype.once,_m.prototype.un=_m.prototype.K,Zw.prototype.getAttributions=Zw.prototype.ya,Zw.prototype.getLogo=Zw.prototype.xa,Zw.prototype.getProjection=Zw.prototype.za,Zw.prototype.getState=Zw.prototype.getState,Zw.prototype.refresh=Zw.prototype.sa,Zw.prototype.setAttributions=Zw.prototype.ua,Zw.prototype.get=Zw.prototype.get,Zw.prototype.getKeys=Zw.prototype.O,Zw.prototype.getProperties=Zw.prototype.N,Zw.prototype.set=Zw.prototype.set,Zw.prototype.setProperties=Zw.prototype.H,Zw.prototype.unset=Zw.prototype.P,Zw.prototype.changed=Zw.prototype.s,Zw.prototype.dispatchEvent=Zw.prototype.b,Zw.prototype.getRevision=Zw.prototype.L,Zw.prototype.on=Zw.prototype.J,Zw.prototype.once=Zw.prototype.once,Zw.prototype.un=Zw.prototype.K,Kw.prototype.getAttributions=Kw.prototype.ya,Kw.prototype.getLogo=Kw.prototype.xa,Kw.prototype.getProjection=Kw.prototype.za,Kw.prototype.getState=Kw.prototype.getState,Kw.prototype.refresh=Kw.prototype.sa,Kw.prototype.setAttributions=Kw.prototype.ua,Kw.prototype.get=Kw.prototype.get,Kw.prototype.getKeys=Kw.prototype.O,Kw.prototype.getProperties=Kw.prototype.N,Kw.prototype.set=Kw.prototype.set,Kw.prototype.setProperties=Kw.prototype.H,Kw.prototype.unset=Kw.prototype.P,Kw.prototype.changed=Kw.prototype.s,Kw.prototype.dispatchEvent=Kw.prototype.b,Kw.prototype.getRevision=Kw.prototype.L,Kw.prototype.on=Kw.prototype.J,Kw.prototype.once=Kw.prototype.once,Kw.prototype.un=Kw.prototype.K,$m.prototype.getAttributions=$m.prototype.ya,$m.prototype.getLogo=$m.prototype.xa,$m.prototype.getProjection=$m.prototype.za,$m.prototype.getState=$m.prototype.getState,$m.prototype.refresh=$m.prototype.sa,$m.prototype.setAttributions=$m.prototype.ua,$m.prototype.get=$m.prototype.get,$m.prototype.getKeys=$m.prototype.O,$m.prototype.getProperties=$m.prototype.N,$m.prototype.set=$m.prototype.set,$m.prototype.setProperties=$m.prototype.H,$m.prototype.unset=$m.prototype.P,$m.prototype.changed=$m.prototype.s,$m.prototype.dispatchEvent=$m.prototype.b,$m.prototype.getRevision=$m.prototype.L,$m.prototype.on=$m.prototype.J,$m.prototype.once=$m.prototype.once,$m.prototype.un=$m.prototype.K,zw.prototype.getAttributions=zw.prototype.ya,zw.prototype.getLogo=zw.prototype.xa,zw.prototype.getProjection=zw.prototype.za,zw.prototype.getState=zw.prototype.getState,zw.prototype.refresh=zw.prototype.sa,zw.prototype.setAttributions=zw.prototype.ua,zw.prototype.get=zw.prototype.get,zw.prototype.getKeys=zw.prototype.O,zw.prototype.getProperties=zw.prototype.N,zw.prototype.set=zw.prototype.set,zw.prototype.setProperties=zw.prototype.H,zw.prototype.unset=zw.prototype.P,zw.prototype.changed=zw.prototype.s,zw.prototype.dispatchEvent=zw.prototype.b,zw.prototype.getRevision=zw.prototype.L,zw.prototype.on=zw.prototype.J,zw.prototype.once=zw.prototype.once,zw.prototype.un=zw.prototype.K,Jw.prototype.setRenderReprojectionEdges=Jw.prototype.Pb,Jw.prototype.setTileGridForProjection=Jw.prototype.Qb,Jw.prototype.getTileLoadFunction=Jw.prototype.pb,Jw.prototype.getTileUrlFunction=Jw.prototype.qb,Jw.prototype.getUrls=Jw.prototype.rb,Jw.prototype.setTileLoadFunction=Jw.prototype.vb,Jw.prototype.setTileUrlFunction=Jw.prototype.cb,Jw.prototype.setUrl=Jw.prototype.jb,Jw.prototype.setUrls=Jw.prototype.eb,Jw.prototype.getTileGrid=Jw.prototype.ab,Jw.prototype.refresh=Jw.prototype.sa,Jw.prototype.getAttributions=Jw.prototype.ya,Jw.prototype.getLogo=Jw.prototype.xa,Jw.prototype.getProjection=Jw.prototype.za,Jw.prototype.getState=Jw.prototype.getState,Jw.prototype.setAttributions=Jw.prototype.ua,Jw.prototype.get=Jw.prototype.get,Jw.prototype.getKeys=Jw.prototype.O,Jw.prototype.getProperties=Jw.prototype.N,Jw.prototype.set=Jw.prototype.set,Jw.prototype.setProperties=Jw.prototype.H,Jw.prototype.unset=Jw.prototype.P,Jw.prototype.changed=Jw.prototype.s,Jw.prototype.dispatchEvent=Jw.prototype.b,Jw.prototype.getRevision=Jw.prototype.L,Jw.prototype.on=Jw.prototype.J,Jw.prototype.once=Jw.prototype.once,Jw.prototype.un=Jw.prototype.K,$w.prototype.getAttributions=$w.prototype.ya,$w.prototype.getLogo=$w.prototype.xa,$w.prototype.getProjection=$w.prototype.za,$w.prototype.getState=$w.prototype.getState,$w.prototype.refresh=$w.prototype.sa,$w.prototype.setAttributions=$w.prototype.ua,$w.prototype.get=$w.prototype.get,$w.prototype.getKeys=$w.prototype.O,$w.prototype.getProperties=$w.prototype.N,$w.prototype.set=$w.prototype.set,$w.prototype.setProperties=$w.prototype.H,$w.prototype.unset=$w.prototype.P,$w.prototype.changed=$w.prototype.s,$w.prototype.dispatchEvent=$w.prototype.b,$w.prototype.getRevision=$w.prototype.L,$w.prototype.on=$w.prototype.J,$w.prototype.once=$w.prototype.once,$w.prototype.un=$w.prototype.K,tx.prototype.type=tx.prototype.type,tx.prototype.target=tx.prototype.target,tx.prototype.preventDefault=tx.prototype.preventDefault,tx.prototype.stopPropagation=tx.prototype.stopPropagation,ix.prototype.setRenderReprojectionEdges=ix.prototype.Pb,ix.prototype.setTileGridForProjection=ix.prototype.Qb,ix.prototype.getTileLoadFunction=ix.prototype.pb,ix.prototype.getTileUrlFunction=ix.prototype.qb,ix.prototype.getUrls=ix.prototype.rb,ix.prototype.setTileLoadFunction=ix.prototype.vb,ix.prototype.setTileUrlFunction=ix.prototype.cb,ix.prototype.setUrl=ix.prototype.jb,ix.prototype.setUrls=ix.prototype.eb,ix.prototype.getTileGrid=ix.prototype.ab,ix.prototype.refresh=ix.prototype.sa,ix.prototype.getAttributions=ix.prototype.ya,ix.prototype.getLogo=ix.prototype.xa,ix.prototype.getProjection=ix.prototype.za,ix.prototype.getState=ix.prototype.getState,ix.prototype.setAttributions=ix.prototype.ua,ix.prototype.get=ix.prototype.get,ix.prototype.getKeys=ix.prototype.O,ix.prototype.getProperties=ix.prototype.N,ix.prototype.set=ix.prototype.set,ix.prototype.setProperties=ix.prototype.H,ix.prototype.unset=ix.prototype.P,ix.prototype.changed=ix.prototype.s,ix.prototype.dispatchEvent=ix.prototype.b,ix.prototype.getRevision=ix.prototype.L,ix.prototype.on=ix.prototype.J,ix.prototype.once=ix.prototype.once,ix.prototype.un=ix.prototype.K,Tw.prototype.type=Tw.prototype.type,Tw.prototype.target=Tw.prototype.target,Tw.prototype.preventDefault=Tw.prototype.preventDefault,Tw.prototype.stopPropagation=Tw.prototype.stopPropagation,sx.prototype.setRenderReprojectionEdges=sx.prototype.Pb,sx.prototype.setTileGridForProjection=sx.prototype.Qb,sx.prototype.getTileLoadFunction=sx.prototype.pb,sx.prototype.getTileUrlFunction=sx.prototype.qb,sx.prototype.getUrls=sx.prototype.rb,sx.prototype.setTileLoadFunction=sx.prototype.vb,sx.prototype.setTileUrlFunction=sx.prototype.cb,sx.prototype.setUrl=sx.prototype.jb,sx.prototype.setUrls=sx.prototype.eb,sx.prototype.getTileGrid=sx.prototype.ab,sx.prototype.refresh=sx.prototype.sa,sx.prototype.getAttributions=sx.prototype.ya,sx.prototype.getLogo=sx.prototype.xa,sx.prototype.getProjection=sx.prototype.za,sx.prototype.getState=sx.prototype.getState,sx.prototype.setAttributions=sx.prototype.ua,sx.prototype.get=sx.prototype.get,sx.prototype.getKeys=sx.prototype.O,sx.prototype.getProperties=sx.prototype.N,sx.prototype.set=sx.prototype.set,sx.prototype.setProperties=sx.prototype.H,sx.prototype.unset=sx.prototype.P,sx.prototype.changed=sx.prototype.s,sx.prototype.dispatchEvent=sx.prototype.b,sx.prototype.getRevision=sx.prototype.L,sx.prototype.on=sx.prototype.J,sx.prototype.once=sx.prototype.once,sx.prototype.un=sx.prototype.K,hx.prototype.getTileGrid=hx.prototype.ab,hx.prototype.refresh=hx.prototype.sa,hx.prototype.getAttributions=hx.prototype.ya,hx.prototype.getLogo=hx.prototype.xa,hx.prototype.getProjection=hx.prototype.za,hx.prototype.getState=hx.prototype.getState,hx.prototype.setAttributions=hx.prototype.ua,hx.prototype.get=hx.prototype.get,hx.prototype.getKeys=hx.prototype.O,hx.prototype.getProperties=hx.prototype.N,hx.prototype.set=hx.prototype.set,hx.prototype.setProperties=hx.prototype.H,hx.prototype.unset=hx.prototype.P,hx.prototype.changed=hx.prototype.s,hx.prototype.dispatchEvent=hx.prototype.b,hx.prototype.getRevision=hx.prototype.L,hx.prototype.on=hx.prototype.J,hx.prototype.once=hx.prototype.once,hx.prototype.un=hx.prototype.K,ux.prototype.setRenderReprojectionEdges=ux.prototype.Pb,ux.prototype.setTileGridForProjection=ux.prototype.Qb,ux.prototype.getTileLoadFunction=ux.prototype.pb,ux.prototype.getTileUrlFunction=ux.prototype.qb,ux.prototype.getUrls=ux.prototype.rb,ux.prototype.setTileLoadFunction=ux.prototype.vb,ux.prototype.setTileUrlFunction=ux.prototype.cb,ux.prototype.setUrl=ux.prototype.jb,ux.prototype.setUrls=ux.prototype.eb,ux.prototype.getTileGrid=ux.prototype.ab,ux.prototype.refresh=ux.prototype.sa,ux.prototype.getAttributions=ux.prototype.ya,ux.prototype.getLogo=ux.prototype.xa,ux.prototype.getProjection=ux.prototype.za,ux.prototype.getState=ux.prototype.getState,ux.prototype.setAttributions=ux.prototype.ua,ux.prototype.get=ux.prototype.get,ux.prototype.getKeys=ux.prototype.O,ux.prototype.getProperties=ux.prototype.N,ux.prototype.set=ux.prototype.set,ux.prototype.setProperties=ux.prototype.H,ux.prototype.unset=ux.prototype.P,ux.prototype.changed=ux.prototype.s,ux.prototype.dispatchEvent=ux.prototype.b,ux.prototype.getRevision=ux.prototype.L,ux.prototype.on=ux.prototype.J,ux.prototype.once=ux.prototype.once,ux.prototype.un=ux.prototype.K,cx.prototype.getTileGrid=cx.prototype.ab,cx.prototype.refresh=cx.prototype.sa,cx.prototype.getAttributions=cx.prototype.ya,cx.prototype.getLogo=cx.prototype.xa,cx.prototype.getProjection=cx.prototype.za,cx.prototype.getState=cx.prototype.getState,cx.prototype.setAttributions=cx.prototype.ua,cx.prototype.get=cx.prototype.get,cx.prototype.getKeys=cx.prototype.O,cx.prototype.getProperties=cx.prototype.N,cx.prototype.set=cx.prototype.set,cx.prototype.setProperties=cx.prototype.H,cx.prototype.unset=cx.prototype.P,cx.prototype.changed=cx.prototype.s,cx.prototype.dispatchEvent=cx.prototype.b,cx.prototype.getRevision=cx.prototype.L,cx.prototype.on=cx.prototype.J,cx.prototype.once=cx.prototype.once,cx.prototype.un=cx.prototype.K,gx.prototype.setRenderReprojectionEdges=gx.prototype.Pb,gx.prototype.setTileGridForProjection=gx.prototype.Qb,gx.prototype.getTileLoadFunction=gx.prototype.pb,gx.prototype.getTileUrlFunction=gx.prototype.qb,gx.prototype.getUrls=gx.prototype.rb,gx.prototype.setTileLoadFunction=gx.prototype.vb,gx.prototype.setTileUrlFunction=gx.prototype.cb,gx.prototype.setUrl=gx.prototype.jb,gx.prototype.setUrls=gx.prototype.eb,gx.prototype.getTileGrid=gx.prototype.ab,gx.prototype.refresh=gx.prototype.sa,gx.prototype.getAttributions=gx.prototype.ya,gx.prototype.getLogo=gx.prototype.xa,gx.prototype.getProjection=gx.prototype.za,gx.prototype.getState=gx.prototype.getState,gx.prototype.setAttributions=gx.prototype.ua,gx.prototype.get=gx.prototype.get,gx.prototype.getKeys=gx.prototype.O,gx.prototype.getProperties=gx.prototype.N,gx.prototype.set=gx.prototype.set,gx.prototype.setProperties=gx.prototype.H,gx.prototype.unset=gx.prototype.P,gx.prototype.changed=gx.prototype.s,gx.prototype.dispatchEvent=gx.prototype.b,gx.prototype.getRevision=gx.prototype.L,gx.prototype.on=gx.prototype.J,gx.prototype.once=gx.prototype.once,gx.prototype.un=gx.prototype.K,jb.prototype.type=jb.prototype.type,jb.prototype.target=jb.prototype.target,jb.prototype.preventDefault=jb.prototype.preventDefault,jb.prototype.stopPropagation=jb.prototype.stopPropagation,Mx.prototype.getTileLoadFunction=Mx.prototype.pb,Mx.prototype.getTileUrlFunction=Mx.prototype.qb,Mx.prototype.getUrls=Mx.prototype.rb,Mx.prototype.setTileLoadFunction=Mx.prototype.vb,Mx.prototype.setTileUrlFunction=Mx.prototype.cb,Mx.prototype.setUrl=Mx.prototype.jb,Mx.prototype.setUrls=Mx.prototype.eb,Mx.prototype.getTileGrid=Mx.prototype.ab,Mx.prototype.refresh=Mx.prototype.sa,Mx.prototype.getAttributions=Mx.prototype.ya,Mx.prototype.getLogo=Mx.prototype.xa,Mx.prototype.getProjection=Mx.prototype.za,Mx.prototype.getState=Mx.prototype.getState,Mx.prototype.setAttributions=Mx.prototype.ua,Mx.prototype.get=Mx.prototype.get,Mx.prototype.getKeys=Mx.prototype.O,Mx.prototype.getProperties=Mx.prototype.N,Mx.prototype.set=Mx.prototype.set,Mx.prototype.setProperties=Mx.prototype.H,Mx.prototype.unset=Mx.prototype.P,Mx.prototype.changed=Mx.prototype.s,Mx.prototype.dispatchEvent=Mx.prototype.b,Mx.prototype.getRevision=Mx.prototype.L,Mx.prototype.on=Mx.prototype.J,Mx.prototype.once=Mx.prototype.once,Mx.prototype.un=Mx.prototype.K,Ex.prototype.setRenderReprojectionEdges=Ex.prototype.Pb,Ex.prototype.setTileGridForProjection=Ex.prototype.Qb,Ex.prototype.getTileLoadFunction=Ex.prototype.pb,Ex.prototype.getTileUrlFunction=Ex.prototype.qb,Ex.prototype.getUrls=Ex.prototype.rb,Ex.prototype.setTileLoadFunction=Ex.prototype.vb,Ex.prototype.setTileUrlFunction=Ex.prototype.cb,Ex.prototype.setUrl=Ex.prototype.jb,Ex.prototype.setUrls=Ex.prototype.eb,Ex.prototype.getTileGrid=Ex.prototype.ab,Ex.prototype.refresh=Ex.prototype.sa,Ex.prototype.getAttributions=Ex.prototype.ya,Ex.prototype.getLogo=Ex.prototype.xa,Ex.prototype.getProjection=Ex.prototype.za,Ex.prototype.getState=Ex.prototype.getState,Ex.prototype.setAttributions=Ex.prototype.ua,Ex.prototype.get=Ex.prototype.get,Ex.prototype.getKeys=Ex.prototype.O,Ex.prototype.getProperties=Ex.prototype.N,Ex.prototype.set=Ex.prototype.set,Ex.prototype.setProperties=Ex.prototype.H,Ex.prototype.unset=Ex.prototype.P,Ex.prototype.changed=Ex.prototype.s,Ex.prototype.dispatchEvent=Ex.prototype.b,Ex.prototype.getRevision=Ex.prototype.L,Ex.prototype.on=Ex.prototype.J,Ex.prototype.once=Ex.prototype.once,Ex.prototype.un=Ex.prototype.K,jx.prototype.setRenderReprojectionEdges=jx.prototype.Pb,jx.prototype.setTileGridForProjection=jx.prototype.Qb,jx.prototype.getTileLoadFunction=jx.prototype.pb,jx.prototype.getTileUrlFunction=jx.prototype.qb,jx.prototype.getUrls=jx.prototype.rb,jx.prototype.setTileLoadFunction=jx.prototype.vb,jx.prototype.setTileUrlFunction=jx.prototype.cb,jx.prototype.setUrl=jx.prototype.jb,jx.prototype.setUrls=jx.prototype.eb,jx.prototype.getTileGrid=jx.prototype.ab,jx.prototype.refresh=jx.prototype.sa,jx.prototype.getAttributions=jx.prototype.ya,jx.prototype.getLogo=jx.prototype.xa,jx.prototype.getProjection=jx.prototype.za,jx.prototype.getState=jx.prototype.getState,jx.prototype.setAttributions=jx.prototype.ua,jx.prototype.get=jx.prototype.get,jx.prototype.getKeys=jx.prototype.O,jx.prototype.getProperties=jx.prototype.N,jx.prototype.set=jx.prototype.set,jx.prototype.setProperties=jx.prototype.H,jx.prototype.unset=jx.prototype.P,jx.prototype.changed=jx.prototype.s,jx.prototype.dispatchEvent=jx.prototype.b,jx.prototype.getRevision=jx.prototype.L,jx.prototype.on=jx.prototype.J,jx.prototype.once=jx.prototype.once,jx.prototype.un=jx.prototype.K,gw.prototype.getTileCoord=gw.prototype.f,gw.prototype.load=gw.prototype.load,zv.prototype.changed=zv.prototype.s,zv.prototype.dispatchEvent=zv.prototype.b,zv.prototype.getRevision=zv.prototype.L,zv.prototype.on=zv.prototype.J,zv.prototype.once=zv.prototype.once,zv.prototype.un=zv.prototype.K,fb.prototype.changed=fb.prototype.s,fb.prototype.dispatchEvent=fb.prototype.b,fb.prototype.getRevision=fb.prototype.L,fb.prototype.on=fb.prototype.J,fb.prototype.once=fb.prototype.once,fb.prototype.un=fb.prototype.K,Qm.prototype.changed=Qm.prototype.s,Qm.prototype.dispatchEvent=Qm.prototype.b,Qm.prototype.getRevision=Qm.prototype.L,Qm.prototype.on=Qm.prototype.J,Qm.prototype.once=Qm.prototype.once,Qm.prototype.un=Qm.prototype.K,aw.prototype.changed=aw.prototype.s,aw.prototype.dispatchEvent=aw.prototype.b,aw.prototype.getRevision=aw.prototype.L,aw.prototype.on=aw.prototype.J,aw.prototype.once=aw.prototype.once,aw.prototype.un=aw.prototype.K,db.prototype.changed=db.prototype.s,db.prototype.dispatchEvent=db.prototype.b,db.prototype.getRevision=db.prototype.L,db.prototype.on=db.prototype.J,db.prototype.once=db.prototype.once,db.prototype.un=db.prototype.K,tb.prototype.changed=tb.prototype.s,tb.prototype.dispatchEvent=tb.prototype.b,tb.prototype.getRevision=tb.prototype.L,tb.prototype.on=tb.prototype.J,tb.prototype.once=tb.prototype.once,tb.prototype.un=tb.prototype.K,Dm.prototype.changed=Dm.prototype.s,Dm.prototype.dispatchEvent=Dm.prototype.b,Dm.prototype.getRevision=Dm.prototype.L,Dm.prototype.on=Dm.prototype.J,Dm.prototype.once=Dm.prototype.once,Dm.prototype.un=Dm.prototype.K,Om.prototype.changed=Om.prototype.s,Om.prototype.dispatchEvent=Om.prototype.b,Om.prototype.getRevision=Om.prototype.L,Om.prototype.on=Om.prototype.J,Om.prototype.once=Om.prototype.once,Om.prototype.un=Om.prototype.K,ew.prototype.changed=ew.prototype.s,ew.prototype.dispatchEvent=ew.prototype.b,ew.prototype.getRevision=ew.prototype.L,ew.prototype.on=ew.prototype.J,ew.prototype.once=ew.prototype.once,ew.prototype.un=ew.prototype.K,ab.prototype.changed=ab.prototype.s,ab.prototype.dispatchEvent=ab.prototype.b,ab.prototype.getRevision=ab.prototype.L,ab.prototype.on=ab.prototype.J,ab.prototype.once=ab.prototype.once,ab.prototype.un=ab.prototype.K,lw.prototype.changed=lw.prototype.s,lw.prototype.dispatchEvent=lw.prototype.b,lw.prototype.getRevision=lw.prototype.L,lw.prototype.on=lw.prototype.J,lw.prototype.once=lw.prototype.once,lw.prototype.un=lw.prototype.K,yp.prototype.type=yp.prototype.type,yp.prototype.target=yp.prototype.target,yp.prototype.preventDefault=yp.prototype.preventDefault,yp.prototype.stopPropagation=yp.prototype.stopPropagation,ti.prototype.type=ti.prototype.type,ti.prototype.target=ti.prototype.target,ti.prototype.preventDefault=ti.prototype.preventDefault,ti.prototype.stopPropagation=ti.prototype.stopPropagation,Vn.prototype.get=Vn.prototype.get,Vn.prototype.getKeys=Vn.prototype.O,Vn.prototype.getProperties=Vn.prototype.N,Vn.prototype.set=Vn.prototype.set,Vn.prototype.setProperties=Vn.prototype.H,Vn.prototype.unset=Vn.prototype.P,Vn.prototype.changed=Vn.prototype.s,Vn.prototype.dispatchEvent=Vn.prototype.b,Vn.prototype.getRevision=Vn.prototype.L,Vn.prototype.on=Vn.prototype.J,Vn.prototype.once=Vn.prototype.once,Vn.prototype.un=Vn.prototype.K,Zn.prototype.getExtent=Zn.prototype.G,Zn.prototype.getMaxResolution=Zn.prototype.fc,Zn.prototype.getMinResolution=Zn.prototype.gc,Zn.prototype.getOpacity=Zn.prototype.hc,Zn.prototype.getVisible=Zn.prototype.Mb,Zn.prototype.getZIndex=Zn.prototype.Ba,Zn.prototype.setExtent=Zn.prototype.vc,Zn.prototype.setMaxResolution=Zn.prototype.Ac,Zn.prototype.setMinResolution=Zn.prototype.Bc,Zn.prototype.setOpacity=Zn.prototype.wc,Zn.prototype.setVisible=Zn.prototype.xc,Zn.prototype.setZIndex=Zn.prototype.Vb,Zn.prototype.get=Zn.prototype.get,Zn.prototype.getKeys=Zn.prototype.O,Zn.prototype.getProperties=Zn.prototype.N,Zn.prototype.set=Zn.prototype.set,Zn.prototype.setProperties=Zn.prototype.H,Zn.prototype.unset=Zn.prototype.P,Zn.prototype.changed=Zn.prototype.s,Zn.prototype.dispatchEvent=Zn.prototype.b,Zn.prototype.getRevision=Zn.prototype.L,Zn.prototype.on=Zn.prototype.J,Zn.prototype.once=Zn.prototype.once,Zn.prototype.un=Zn.prototype.K,zn.prototype.getExtent=zn.prototype.G,zn.prototype.getMaxResolution=zn.prototype.fc,zn.prototype.getMinResolution=zn.prototype.gc,zn.prototype.getOpacity=zn.prototype.hc,zn.prototype.getVisible=zn.prototype.Mb,zn.prototype.getZIndex=zn.prototype.Ba,zn.prototype.setExtent=zn.prototype.vc,zn.prototype.setMaxResolution=zn.prototype.Ac,zn.prototype.setMinResolution=zn.prototype.Bc,zn.prototype.setOpacity=zn.prototype.wc,zn.prototype.setVisible=zn.prototype.xc,zn.prototype.setZIndex=zn.prototype.Vb,zn.prototype.get=zn.prototype.get,zn.prototype.getKeys=zn.prototype.O,zn.prototype.getProperties=zn.prototype.N,zn.prototype.set=zn.prototype.set,zn.prototype.setProperties=zn.prototype.H,zn.prototype.unset=zn.prototype.P,zn.prototype.changed=zn.prototype.s,zn.prototype.dispatchEvent=zn.prototype.b,zn.prototype.getRevision=zn.prototype.L,zn.prototype.on=zn.prototype.J,zn.prototype.once=zn.prototype.once,zn.prototype.un=zn.prototype.K,vb.prototype.setMap=vb.prototype.setMap,vb.prototype.setSource=vb.prototype.Wc,vb.prototype.getExtent=vb.prototype.G,vb.prototype.getMaxResolution=vb.prototype.fc,vb.prototype.getMinResolution=vb.prototype.gc,vb.prototype.getOpacity=vb.prototype.hc,vb.prototype.getVisible=vb.prototype.Mb,vb.prototype.getZIndex=vb.prototype.Ba,vb.prototype.setExtent=vb.prototype.vc,vb.prototype.setMaxResolution=vb.prototype.Ac,vb.prototype.setMinResolution=vb.prototype.Bc,vb.prototype.setOpacity=vb.prototype.wc,vb.prototype.setVisible=vb.prototype.xc,vb.prototype.setZIndex=vb.prototype.Vb,vb.prototype.get=vb.prototype.get,vb.prototype.getKeys=vb.prototype.O,vb.prototype.getProperties=vb.prototype.N,vb.prototype.set=vb.prototype.set,vb.prototype.setProperties=vb.prototype.H,vb.prototype.unset=vb.prototype.P,vb.prototype.changed=vb.prototype.s,vb.prototype.dispatchEvent=vb.prototype.b,vb.prototype.getRevision=vb.prototype.L,vb.prototype.on=vb.prototype.J,vb.prototype.once=vb.prototype.once,vb.prototype.un=vb.prototype.K,Rm.prototype.getSource=Rm.prototype.ha,Rm.prototype.getStyle=Rm.prototype.D,Rm.prototype.getStyleFunction=Rm.prototype.C,Rm.prototype.setStyle=Rm.prototype.g,Rm.prototype.setMap=Rm.prototype.setMap,Rm.prototype.setSource=Rm.prototype.Wc,Rm.prototype.getExtent=Rm.prototype.G,Rm.prototype.getMaxResolution=Rm.prototype.fc,Rm.prototype.getMinResolution=Rm.prototype.gc,Rm.prototype.getOpacity=Rm.prototype.hc,Rm.prototype.getVisible=Rm.prototype.Mb,Rm.prototype.getZIndex=Rm.prototype.Ba,Rm.prototype.setExtent=Rm.prototype.vc,Rm.prototype.setMaxResolution=Rm.prototype.Ac,Rm.prototype.setMinResolution=Rm.prototype.Bc,Rm.prototype.setOpacity=Rm.prototype.wc,Rm.prototype.setVisible=Rm.prototype.xc,Rm.prototype.setZIndex=Rm.prototype.Vb,Rm.prototype.get=Rm.prototype.get,Rm.prototype.getKeys=Rm.prototype.O,Rm.prototype.getProperties=Rm.prototype.N,Rm.prototype.set=Rm.prototype.set,Rm.prototype.setProperties=Rm.prototype.H,Rm.prototype.unset=Rm.prototype.P,Rm.prototype.changed=Rm.prototype.s,Rm.prototype.dispatchEvent=Rm.prototype.b,Rm.prototype.getRevision=Rm.prototype.L,Rm.prototype.on=Rm.prototype.J,Rm.prototype.once=Rm.prototype.once,Rm.prototype.un=Rm.prototype.K,tw.prototype.setMap=tw.prototype.setMap,tw.prototype.setSource=tw.prototype.Wc,tw.prototype.getExtent=tw.prototype.G,tw.prototype.getMaxResolution=tw.prototype.fc,tw.prototype.getMinResolution=tw.prototype.gc,tw.prototype.getOpacity=tw.prototype.hc,tw.prototype.getVisible=tw.prototype.Mb,tw.prototype.getZIndex=tw.prototype.Ba,tw.prototype.setExtent=tw.prototype.vc,tw.prototype.setMaxResolution=tw.prototype.Ac,tw.prototype.setMinResolution=tw.prototype.Bc,tw.prototype.setOpacity=tw.prototype.wc,tw.prototype.setVisible=tw.prototype.xc,tw.prototype.setZIndex=tw.prototype.Vb,tw.prototype.get=tw.prototype.get,tw.prototype.getKeys=tw.prototype.O,tw.prototype.getProperties=tw.prototype.N,tw.prototype.set=tw.prototype.set,tw.prototype.setProperties=tw.prototype.H,tw.prototype.unset=tw.prototype.P,tw.prototype.changed=tw.prototype.s,tw.prototype.dispatchEvent=tw.prototype.b,tw.prototype.getRevision=tw.prototype.L,tw.prototype.on=tw.prototype.J,tw.prototype.once=tw.prototype.once,tw.prototype.un=tw.prototype.K,hw.prototype.setMap=hw.prototype.setMap,hw.prototype.setSource=hw.prototype.Wc,hw.prototype.getExtent=hw.prototype.G,hw.prototype.getMaxResolution=hw.prototype.fc,hw.prototype.getMinResolution=hw.prototype.gc,hw.prototype.getOpacity=hw.prototype.hc,hw.prototype.getVisible=hw.prototype.Mb,hw.prototype.getZIndex=hw.prototype.Ba,hw.prototype.setExtent=hw.prototype.vc,hw.prototype.setMaxResolution=hw.prototype.Ac,hw.prototype.setMinResolution=hw.prototype.Bc,hw.prototype.setOpacity=hw.prototype.wc,hw.prototype.setVisible=hw.prototype.xc,hw.prototype.setZIndex=hw.prototype.Vb,hw.prototype.get=hw.prototype.get,hw.prototype.getKeys=hw.prototype.O,hw.prototype.getProperties=hw.prototype.N,hw.prototype.set=hw.prototype.set,hw.prototype.setProperties=hw.prototype.H,hw.prototype.unset=hw.prototype.P,hw.prototype.changed=hw.prototype.s,hw.prototype.dispatchEvent=hw.prototype.b,hw.prototype.getRevision=hw.prototype.L,hw.prototype.on=hw.prototype.J,hw.prototype.once=hw.prototype.once,hw.prototype.un=hw.prototype.K,yw.prototype.getSource=yw.prototype.ha,yw.prototype.getStyle=yw.prototype.D,yw.prototype.getStyleFunction=yw.prototype.C,yw.prototype.setStyle=yw.prototype.g,yw.prototype.setMap=yw.prototype.setMap,yw.prototype.setSource=yw.prototype.Wc,yw.prototype.getExtent=yw.prototype.G,yw.prototype.getMaxResolution=yw.prototype.fc,yw.prototype.getMinResolution=yw.prototype.gc,yw.prototype.getOpacity=yw.prototype.hc,yw.prototype.getVisible=yw.prototype.Mb,yw.prototype.getZIndex=yw.prototype.Ba,yw.prototype.setExtent=yw.prototype.vc,yw.prototype.setMaxResolution=yw.prototype.Ac,yw.prototype.setMinResolution=yw.prototype.Bc,yw.prototype.setOpacity=yw.prototype.wc,yw.prototype.setVisible=yw.prototype.xc,yw.prototype.setZIndex=yw.prototype.Vb,yw.prototype.get=yw.prototype.get,yw.prototype.getKeys=yw.prototype.O,yw.prototype.getProperties=yw.prototype.N,yw.prototype.set=yw.prototype.set,yw.prototype.setProperties=yw.prototype.H,yw.prototype.unset=yw.prototype.P,yw.prototype.changed=yw.prototype.s,yw.prototype.dispatchEvent=yw.prototype.b,yw.prototype.getRevision=yw.prototype.L,yw.prototype.on=yw.prototype.J,yw.prototype.once=yw.prototype.once,yw.prototype.un=yw.prototype.K,Gr.prototype.get=Gr.prototype.get,Gr.prototype.getKeys=Gr.prototype.O,Gr.prototype.getProperties=Gr.prototype.N,Gr.prototype.set=Gr.prototype.set,Gr.prototype.setProperties=Gr.prototype.H,Gr.prototype.unset=Gr.prototype.P,Gr.prototype.changed=Gr.prototype.s,Gr.prototype.dispatchEvent=Gr.prototype.b,Gr.prototype.getRevision=Gr.prototype.L,Gr.prototype.on=Gr.prototype.J,Gr.prototype.once=Gr.prototype.once,Gr.prototype.un=Gr.prototype.K,Wr.prototype.getActive=Wr.prototype.c,Wr.prototype.getMap=Wr.prototype.f,Wr.prototype.setActive=Wr.prototype.Ha,Wr.prototype.get=Wr.prototype.get,Wr.prototype.getKeys=Wr.prototype.O,Wr.prototype.getProperties=Wr.prototype.N,Wr.prototype.set=Wr.prototype.set,Wr.prototype.setProperties=Wr.prototype.H,Wr.prototype.unset=Wr.prototype.P,Wr.prototype.changed=Wr.prototype.s,Wr.prototype.dispatchEvent=Wr.prototype.b,Wr.prototype.getRevision=Wr.prototype.L,Wr.prototype.on=Wr.prototype.J,Wr.prototype.once=Wr.prototype.once,Wr.prototype.un=Wr.prototype.K,gv.prototype.getActive=gv.prototype.c,gv.prototype.getMap=gv.prototype.f,gv.prototype.setActive=gv.prototype.Ha,gv.prototype.get=gv.prototype.get,gv.prototype.getKeys=gv.prototype.O,gv.prototype.getProperties=gv.prototype.N,gv.prototype.set=gv.prototype.set,gv.prototype.setProperties=gv.prototype.H,gv.prototype.unset=gv.prototype.P,gv.prototype.changed=gv.prototype.s,gv.prototype.dispatchEvent=gv.prototype.b,gv.prototype.getRevision=gv.prototype.L,gv.prototype.on=gv.prototype.J,gv.prototype.once=gv.prototype.once,gv.prototype.un=gv.prototype.K,xv.prototype.type=xv.prototype.type,xv.prototype.target=xv.prototype.target,xv.prototype.preventDefault=xv.prototype.preventDefault,xv.prototype.stopPropagation=xv.prototype.stopPropagation,tn.prototype.getActive=tn.prototype.c,tn.prototype.getMap=tn.prototype.f,tn.prototype.setActive=tn.prototype.Ha,tn.prototype.get=tn.prototype.get,tn.prototype.getKeys=tn.prototype.O,tn.prototype.getProperties=tn.prototype.N,tn.prototype.set=tn.prototype.set,tn.prototype.setProperties=tn.prototype.H,tn.prototype.unset=tn.prototype.P,tn.prototype.changed=tn.prototype.s,tn.prototype.dispatchEvent=tn.prototype.b,tn.prototype.getRevision=tn.prototype.L,tn.prototype.on=tn.prototype.J,tn.prototype.once=tn.prototype.once,tn.prototype.un=tn.prototype.K,gn.prototype.getActive=gn.prototype.c,gn.prototype.getMap=gn.prototype.f,gn.prototype.setActive=gn.prototype.Ha,gn.prototype.get=gn.prototype.get,gn.prototype.getKeys=gn.prototype.O,gn.prototype.getProperties=gn.prototype.N,gn.prototype.set=gn.prototype.set,gn.prototype.setProperties=gn.prototype.H,gn.prototype.unset=gn.prototype.P,gn.prototype.changed=gn.prototype.s,gn.prototype.dispatchEvent=gn.prototype.b,gn.prototype.getRevision=gn.prototype.L,gn.prototype.on=gn.prototype.J,gn.prototype.once=gn.prototype.once,gn.prototype.un=gn.prototype.K,Mn.prototype.type=Mn.prototype.type,Mn.prototype.target=Mn.prototype.target,Mn.prototype.preventDefault=Mn.prototype.preventDefault,Mn.prototype.stopPropagation=Mn.prototype.stopPropagation,rn.prototype.getActive=rn.prototype.c,rn.prototype.getMap=rn.prototype.f,rn.prototype.setActive=rn.prototype.Ha,rn.prototype.get=rn.prototype.get,rn.prototype.getKeys=rn.prototype.O,rn.prototype.getProperties=rn.prototype.N,rn.prototype.set=rn.prototype.set,rn.prototype.setProperties=rn.prototype.H,rn.prototype.unset=rn.prototype.P,rn.prototype.changed=rn.prototype.s,rn.prototype.dispatchEvent=rn.prototype.b,rn.prototype.getRevision=rn.prototype.L,rn.prototype.on=rn.prototype.J,rn.prototype.once=rn.prototype.once,rn.prototype.un=rn.prototype.K,an.prototype.getActive=an.prototype.c,an.prototype.getMap=an.prototype.f,an.prototype.setActive=an.prototype.Ha,an.prototype.get=an.prototype.get,an.prototype.getKeys=an.prototype.O,an.prototype.getProperties=an.prototype.N,an.prototype.set=an.prototype.set,an.prototype.setProperties=an.prototype.H,an.prototype.unset=an.prototype.P,an.prototype.changed=an.prototype.s,an.prototype.dispatchEvent=an.prototype.b,an.prototype.getRevision=an.prototype.L,an.prototype.on=an.prototype.J,an.prototype.once=an.prototype.once,an.prototype.un=an.prototype.K,Sv.prototype.getActive=Sv.prototype.c,Sv.prototype.getMap=Sv.prototype.f,Sv.prototype.setActive=Sv.prototype.Ha,Sv.prototype.get=Sv.prototype.get,Sv.prototype.getKeys=Sv.prototype.O,Sv.prototype.getProperties=Sv.prototype.N,Sv.prototype.set=Sv.prototype.set,Sv.prototype.setProperties=Sv.prototype.H,Sv.prototype.unset=Sv.prototype.P,Sv.prototype.changed=Sv.prototype.s,Sv.prototype.dispatchEvent=Sv.prototype.b,Sv.prototype.getRevision=Sv.prototype.L,Sv.prototype.on=Sv.prototype.J,Sv.prototype.once=Sv.prototype.once,Sv.prototype.un=Sv.prototype.K,Pn.prototype.getGeometry=Pn.prototype.V,Pn.prototype.getActive=Pn.prototype.c,Pn.prototype.getMap=Pn.prototype.f,Pn.prototype.setActive=Pn.prototype.Ha,Pn.prototype.get=Pn.prototype.get,Pn.prototype.getKeys=Pn.prototype.O,Pn.prototype.getProperties=Pn.prototype.N,Pn.prototype.set=Pn.prototype.set,Pn.prototype.setProperties=Pn.prototype.H,Pn.prototype.unset=Pn.prototype.P,Pn.prototype.changed=Pn.prototype.s,Pn.prototype.dispatchEvent=Pn.prototype.b,Pn.prototype.getRevision=Pn.prototype.L,Pn.prototype.on=Pn.prototype.J,Pn.prototype.once=Pn.prototype.once,Pn.prototype.un=Pn.prototype.K,Cb.prototype.getActive=Cb.prototype.c,Cb.prototype.getMap=Cb.prototype.f,Cb.prototype.setActive=Cb.prototype.Ha,Cb.prototype.get=Cb.prototype.get,Cb.prototype.getKeys=Cb.prototype.O,Cb.prototype.getProperties=Cb.prototype.N,Cb.prototype.set=Cb.prototype.set,Cb.prototype.setProperties=Cb.prototype.H,Cb.prototype.unset=Cb.prototype.P,Cb.prototype.changed=Cb.prototype.s,Cb.prototype.dispatchEvent=Cb.prototype.b,Cb.prototype.getRevision=Cb.prototype.L,Cb.prototype.on=Cb.prototype.J,Cb.prototype.once=Cb.prototype.once,Cb.prototype.un=Cb.prototype.K,Wb.prototype.type=Wb.prototype.type,Wb.prototype.target=Wb.prototype.target,Wb.prototype.preventDefault=Wb.prototype.preventDefault,Wb.prototype.stopPropagation=Wb.prototype.stopPropagation,Zb.prototype.getActive=Zb.prototype.c,Zb.prototype.getMap=Zb.prototype.f,Zb.prototype.setActive=Zb.prototype.Ha,Zb.prototype.get=Zb.prototype.get,Zb.prototype.getKeys=Zb.prototype.O,Zb.prototype.getProperties=Zb.prototype.N,Zb.prototype.set=Zb.prototype.set,Zb.prototype.setProperties=Zb.prototype.H,Zb.prototype.unset=Zb.prototype.P,Zb.prototype.changed=Zb.prototype.s,Zb.prototype.dispatchEvent=Zb.prototype.b,Zb.prototype.getRevision=Zb.prototype.L,Zb.prototype.on=Zb.prototype.J,Zb.prototype.once=Zb.prototype.once,Zb.prototype.un=Zb.prototype.K,Qb.prototype.type=Qb.prototype.type,Qb.prototype.target=Qb.prototype.target,Qb.prototype.preventDefault=Qb.prototype.preventDefault,Qb.prototype.stopPropagation=Qb.prototype.stopPropagation,An.prototype.getActive=An.prototype.c,An.prototype.getMap=An.prototype.f,An.prototype.setActive=An.prototype.Ha,An.prototype.get=An.prototype.get,An.prototype.getKeys=An.prototype.O,An.prototype.getProperties=An.prototype.N,An.prototype.set=An.prototype.set,An.prototype.setProperties=An.prototype.H,An.prototype.unset=An.prototype.P,An.prototype.changed=An.prototype.s,An.prototype.dispatchEvent=An.prototype.b,An.prototype.getRevision=An.prototype.L,An.prototype.on=An.prototype.J,An.prototype.once=An.prototype.once,An.prototype.un=An.prototype.K,Tn.prototype.getActive=Tn.prototype.c,Tn.prototype.getMap=Tn.prototype.f,Tn.prototype.setActive=Tn.prototype.Ha,Tn.prototype.get=Tn.prototype.get,Tn.prototype.getKeys=Tn.prototype.O,Tn.prototype.getProperties=Tn.prototype.N,Tn.prototype.set=Tn.prototype.set,Tn.prototype.setProperties=Tn.prototype.H,Tn.prototype.unset=Tn.prototype.P,Tn.prototype.changed=Tn.prototype.s,Tn.prototype.dispatchEvent=Tn.prototype.b,Tn.prototype.getRevision=Tn.prototype.L,Tn.prototype.on=Tn.prototype.J,Tn.prototype.once=Tn.prototype.once,Tn.prototype.un=Tn.prototype.K,em.prototype.getActive=em.prototype.c,em.prototype.getMap=em.prototype.f,em.prototype.setActive=em.prototype.Ha,em.prototype.get=em.prototype.get,em.prototype.getKeys=em.prototype.O,em.prototype.getProperties=em.prototype.N,em.prototype.set=em.prototype.set,em.prototype.setProperties=em.prototype.H,em.prototype.unset=em.prototype.P,em.prototype.changed=em.prototype.s,em.prototype.dispatchEvent=em.prototype.b,em.prototype.getRevision=em.prototype.L,em.prototype.on=em.prototype.J,em.prototype.once=em.prototype.once,em.prototype.un=em.prototype.K,fm.prototype.type=fm.prototype.type,fm.prototype.target=fm.prototype.target,fm.prototype.preventDefault=fm.prototype.preventDefault,fm.prototype.stopPropagation=fm.prototype.stopPropagation,Cn.prototype.getActive=Cn.prototype.c,Cn.prototype.getMap=Cn.prototype.f,Cn.prototype.setActive=Cn.prototype.Ha,Cn.prototype.get=Cn.prototype.get,Cn.prototype.getKeys=Cn.prototype.O,Cn.prototype.getProperties=Cn.prototype.N,Cn.prototype.set=Cn.prototype.set,Cn.prototype.setProperties=Cn.prototype.H,Cn.prototype.unset=Cn.prototype.P,Cn.prototype.changed=Cn.prototype.s,Cn.prototype.dispatchEvent=Cn.prototype.b,Cn.prototype.getRevision=Cn.prototype.L,Cn.prototype.on=Cn.prototype.J,Cn.prototype.once=Cn.prototype.once,Cn.prototype.un=Cn.prototype.K,Nn.prototype.getActive=Nn.prototype.c,Nn.prototype.getMap=Nn.prototype.f,Nn.prototype.setActive=Nn.prototype.Ha,Nn.prototype.get=Nn.prototype.get,Nn.prototype.getKeys=Nn.prototype.O,Nn.prototype.getProperties=Nn.prototype.N,Nn.prototype.set=Nn.prototype.set,Nn.prototype.setProperties=Nn.prototype.H,Nn.prototype.unset=Nn.prototype.P,Nn.prototype.changed=Nn.prototype.s,Nn.prototype.dispatchEvent=Nn.prototype.b,Nn.prototype.getRevision=Nn.prototype.L,Nn.prototype.on=Nn.prototype.J,Nn.prototype.once=Nn.prototype.once,Nn.prototype.un=Nn.prototype.K,On.prototype.getActive=On.prototype.c,On.prototype.getMap=On.prototype.f,On.prototype.setActive=On.prototype.Ha,On.prototype.get=On.prototype.get,On.prototype.getKeys=On.prototype.O,On.prototype.getProperties=On.prototype.N,On.prototype.set=On.prototype.set,On.prototype.setProperties=On.prototype.H,On.prototype.unset=On.prototype.P,On.prototype.changed=On.prototype.s,On.prototype.dispatchEvent=On.prototype.b,On.prototype.getRevision=On.prototype.L,On.prototype.on=On.prototype.J,On.prototype.once=On.prototype.once,On.prototype.un=On.prototype.K,gm.prototype.getActive=gm.prototype.c,gm.prototype.getMap=gm.prototype.f,gm.prototype.setActive=gm.prototype.Ha,gm.prototype.get=gm.prototype.get,gm.prototype.getKeys=gm.prototype.O,gm.prototype.getProperties=gm.prototype.N,gm.prototype.set=gm.prototype.set,gm.prototype.setProperties=gm.prototype.H,gm.prototype.unset=gm.prototype.P,gm.prototype.changed=gm.prototype.s,gm.prototype.dispatchEvent=gm.prototype.b,gm.prototype.getRevision=gm.prototype.L,gm.prototype.on=gm.prototype.J,gm.prototype.once=gm.prototype.once,gm.prototype.un=gm.prototype.K,vm.prototype.type=vm.prototype.type,vm.prototype.target=vm.prototype.target,vm.prototype.preventDefault=vm.prototype.preventDefault,vm.prototype.stopPropagation=vm.prototype.stopPropagation,mm.prototype.getActive=mm.prototype.c,mm.prototype.getMap=mm.prototype.f,mm.prototype.setActive=mm.prototype.Ha,mm.prototype.get=mm.prototype.get,mm.prototype.getKeys=mm.prototype.O,mm.prototype.getProperties=mm.prototype.N,mm.prototype.set=mm.prototype.set,mm.prototype.setProperties=mm.prototype.H,mm.prototype.unset=mm.prototype.P,mm.prototype.changed=mm.prototype.s,mm.prototype.dispatchEvent=mm.prototype.b,mm.prototype.getRevision=mm.prototype.L,mm.prototype.on=mm.prototype.J,mm.prototype.once=mm.prototype.once,mm.prototype.un=mm.prototype.K,Mm.prototype.getActive=Mm.prototype.c,Mm.prototype.getMap=Mm.prototype.f,Mm.prototype.setActive=Mm.prototype.Ha,Mm.prototype.get=Mm.prototype.get,Mm.prototype.getKeys=Mm.prototype.O,Mm.prototype.getProperties=Mm.prototype.N,Mm.prototype.set=Mm.prototype.set,Mm.prototype.setProperties=Mm.prototype.H,Mm.prototype.unset=Mm.prototype.P,Mm.prototype.changed=Mm.prototype.s,Mm.prototype.dispatchEvent=Mm.prototype.b,Mm.prototype.getRevision=Mm.prototype.L,Mm.prototype.on=Mm.prototype.J,Mm.prototype.once=Mm.prototype.once,Mm.prototype.un=Mm.prototype.K,Lm.prototype.type=Lm.prototype.type,Lm.prototype.target=Lm.prototype.target,Lm.prototype.preventDefault=Lm.prototype.preventDefault,Lm.prototype.stopPropagation=Lm.prototype.stopPropagation,Xi.prototype.get=Xi.prototype.get,Xi.prototype.getKeys=Xi.prototype.O,Xi.prototype.getProperties=Xi.prototype.N,Xi.prototype.set=Xi.prototype.set,Xi.prototype.setProperties=Xi.prototype.H,Xi.prototype.unset=Xi.prototype.P,Xi.prototype.changed=Xi.prototype.s,Xi.prototype.dispatchEvent=Xi.prototype.b,Xi.prototype.getRevision=Xi.prototype.L,Xi.prototype.on=Xi.prototype.J,Xi.prototype.once=Xi.prototype.once,Xi.prototype.un=Xi.prototype.K,Zi.prototype.getClosestPoint=Zi.prototype.Ab,Zi.prototype.intersectsCoordinate=Zi.prototype.sb,Zi.prototype.getExtent=Zi.prototype.G,Zi.prototype.rotate=Zi.prototype.rotate,Zi.prototype.scale=Zi.prototype.scale,Zi.prototype.simplify=Zi.prototype.Rb,Zi.prototype.transform=Zi.prototype.tb,Zi.prototype.get=Zi.prototype.get,Zi.prototype.getKeys=Zi.prototype.O,Zi.prototype.getProperties=Zi.prototype.N,Zi.prototype.set=Zi.prototype.set,Zi.prototype.setProperties=Zi.prototype.H,Zi.prototype.unset=Zi.prototype.P,Zi.prototype.changed=Zi.prototype.s,Zi.prototype.dispatchEvent=Zi.prototype.b,Zi.prototype.getRevision=Zi.prototype.L,Zi.prototype.on=Zi.prototype.J,Zi.prototype.once=Zi.prototype.once,Zi.prototype.un=Zi.prototype.K,$d.prototype.getFirstCoordinate=$d.prototype.ac,$d.prototype.getLastCoordinate=$d.prototype.bc,$d.prototype.getLayout=$d.prototype.cc,$d.prototype.rotate=$d.prototype.rotate,$d.prototype.scale=$d.prototype.scale,$d.prototype.getClosestPoint=$d.prototype.Ab,$d.prototype.intersectsCoordinate=$d.prototype.sb,$d.prototype.getExtent=$d.prototype.G,$d.prototype.simplify=$d.prototype.Rb,$d.prototype.get=$d.prototype.get,$d.prototype.getKeys=$d.prototype.O,$d.prototype.getProperties=$d.prototype.N,$d.prototype.set=$d.prototype.set,$d.prototype.setProperties=$d.prototype.H,$d.prototype.unset=$d.prototype.P,$d.prototype.changed=$d.prototype.s,$d.prototype.dispatchEvent=$d.prototype.b,$d.prototype.getRevision=$d.prototype.L,$d.prototype.on=$d.prototype.J,$d.prototype.once=$d.prototype.once,$d.prototype.un=$d.prototype.K,Ql.prototype.getClosestPoint=Ql.prototype.Ab,Ql.prototype.intersectsCoordinate=Ql.prototype.sb,Ql.prototype.getExtent=Ql.prototype.G,Ql.prototype.rotate=Ql.prototype.rotate,Ql.prototype.scale=Ql.prototype.scale,Ql.prototype.simplify=Ql.prototype.Rb,Ql.prototype.transform=Ql.prototype.tb,Ql.prototype.get=Ql.prototype.get,Ql.prototype.getKeys=Ql.prototype.O,Ql.prototype.getProperties=Ql.prototype.N,Ql.prototype.set=Ql.prototype.set,Ql.prototype.setProperties=Ql.prototype.H,Ql.prototype.unset=Ql.prototype.P,Ql.prototype.changed=Ql.prototype.s,Ql.prototype.dispatchEvent=Ql.prototype.b,Ql.prototype.getRevision=Ql.prototype.L,Ql.prototype.on=Ql.prototype.J,Ql.prototype.once=Ql.prototype.once,Ql.prototype.un=Ql.prototype.K,ar.prototype.getFirstCoordinate=ar.prototype.ac,ar.prototype.getLastCoordinate=ar.prototype.bc,ar.prototype.getLayout=ar.prototype.cc,ar.prototype.rotate=ar.prototype.rotate,ar.prototype.scale=ar.prototype.scale,ar.prototype.getClosestPoint=ar.prototype.Ab,ar.prototype.intersectsCoordinate=ar.prototype.sb,ar.prototype.getExtent=ar.prototype.G,ar.prototype.simplify=ar.prototype.Rb,ar.prototype.transform=ar.prototype.tb,ar.prototype.get=ar.prototype.get,ar.prototype.getKeys=ar.prototype.O,ar.prototype.getProperties=ar.prototype.N,ar.prototype.set=ar.prototype.set,ar.prototype.setProperties=ar.prototype.H,ar.prototype.unset=ar.prototype.P,ar.prototype.changed=ar.prototype.s,ar.prototype.dispatchEvent=ar.prototype.b,ar.prototype.getRevision=ar.prototype.L,ar.prototype.on=ar.prototype.J,ar.prototype.once=ar.prototype.once,ar.prototype.un=ar.prototype.K,cl.prototype.getFirstCoordinate=cl.prototype.ac,cl.prototype.getLastCoordinate=cl.prototype.bc,cl.prototype.getLayout=cl.prototype.cc,cl.prototype.rotate=cl.prototype.rotate,cl.prototype.scale=cl.prototype.scale,cl.prototype.getClosestPoint=cl.prototype.Ab,cl.prototype.intersectsCoordinate=cl.prototype.sb,cl.prototype.getExtent=cl.prototype.G,cl.prototype.simplify=cl.prototype.Rb,cl.prototype.transform=cl.prototype.tb,cl.prototype.get=cl.prototype.get,cl.prototype.getKeys=cl.prototype.O,cl.prototype.getProperties=cl.prototype.N,cl.prototype.set=cl.prototype.set,cl.prototype.setProperties=cl.prototype.H,cl.prototype.unset=cl.prototype.P,cl.prototype.changed=cl.prototype.s,cl.prototype.dispatchEvent=cl.prototype.b,cl.prototype.getRevision=cl.prototype.L,cl.prototype.on=cl.prototype.J,cl.prototype.once=cl.prototype.once,cl.prototype.un=cl.prototype.K,fl.prototype.getFirstCoordinate=fl.prototype.ac,fl.prototype.getLastCoordinate=fl.prototype.bc,fl.prototype.getLayout=fl.prototype.cc,fl.prototype.rotate=fl.prototype.rotate,fl.prototype.scale=fl.prototype.scale,fl.prototype.getClosestPoint=fl.prototype.Ab,fl.prototype.intersectsCoordinate=fl.prototype.sb,fl.prototype.getExtent=fl.prototype.G,fl.prototype.simplify=fl.prototype.Rb,fl.prototype.transform=fl.prototype.tb,fl.prototype.get=fl.prototype.get,fl.prototype.getKeys=fl.prototype.O,fl.prototype.getProperties=fl.prototype.N,fl.prototype.set=fl.prototype.set,fl.prototype.setProperties=fl.prototype.H,fl.prototype.unset=fl.prototype.P,fl.prototype.changed=fl.prototype.s,fl.prototype.dispatchEvent=fl.prototype.b,fl.prototype.getRevision=fl.prototype.L,fl.prototype.on=fl.prototype.J,fl.prototype.once=fl.prototype.once,fl.prototype.un=fl.prototype.K,vl.prototype.getFirstCoordinate=vl.prototype.ac,vl.prototype.getLastCoordinate=vl.prototype.bc,vl.prototype.getLayout=vl.prototype.cc,vl.prototype.rotate=vl.prototype.rotate,vl.prototype.scale=vl.prototype.scale,vl.prototype.getClosestPoint=vl.prototype.Ab,vl.prototype.intersectsCoordinate=vl.prototype.sb,vl.prototype.getExtent=vl.prototype.G,vl.prototype.simplify=vl.prototype.Rb,vl.prototype.transform=vl.prototype.tb,vl.prototype.get=vl.prototype.get,vl.prototype.getKeys=vl.prototype.O,vl.prototype.getProperties=vl.prototype.N,vl.prototype.set=vl.prototype.set,vl.prototype.setProperties=vl.prototype.H,vl.prototype.unset=vl.prototype.P,vl.prototype.changed=vl.prototype.s,vl.prototype.dispatchEvent=vl.prototype.b,vl.prototype.getRevision=vl.prototype.L,vl.prototype.on=vl.prototype.J,vl.prototype.once=vl.prototype.once,vl.prototype.un=vl.prototype.K,bl.prototype.getFirstCoordinate=bl.prototype.ac,bl.prototype.getLastCoordinate=bl.prototype.bc,bl.prototype.getLayout=bl.prototype.cc,bl.prototype.rotate=bl.prototype.rotate,bl.prototype.scale=bl.prototype.scale,bl.prototype.getClosestPoint=bl.prototype.Ab,bl.prototype.intersectsCoordinate=bl.prototype.sb,bl.prototype.getExtent=bl.prototype.G,bl.prototype.simplify=bl.prototype.Rb,bl.prototype.transform=bl.prototype.tb,bl.prototype.get=bl.prototype.get,bl.prototype.getKeys=bl.prototype.O,bl.prototype.getProperties=bl.prototype.N,bl.prototype.set=bl.prototype.set,bl.prototype.setProperties=bl.prototype.H,bl.prototype.unset=bl.prototype.P,bl.prototype.changed=bl.prototype.s,bl.prototype.dispatchEvent=bl.prototype.b,bl.prototype.getRevision=bl.prototype.L,bl.prototype.on=bl.prototype.J,bl.prototype.once=bl.prototype.once,bl.prototype.un=bl.prototype.K,lr.prototype.getFirstCoordinate=lr.prototype.ac,lr.prototype.getLastCoordinate=lr.prototype.bc,lr.prototype.getLayout=lr.prototype.cc,lr.prototype.rotate=lr.prototype.rotate,lr.prototype.scale=lr.prototype.scale,lr.prototype.getClosestPoint=lr.prototype.Ab,lr.prototype.intersectsCoordinate=lr.prototype.sb,lr.prototype.getExtent=lr.prototype.G,lr.prototype.simplify=lr.prototype.Rb,lr.prototype.transform=lr.prototype.tb,lr.prototype.get=lr.prototype.get,lr.prototype.getKeys=lr.prototype.O,lr.prototype.getProperties=lr.prototype.N,lr.prototype.set=lr.prototype.set,lr.prototype.setProperties=lr.prototype.H,lr.prototype.unset=lr.prototype.P,lr.prototype.changed=lr.prototype.s,lr.prototype.dispatchEvent=lr.prototype.b,lr.prototype.getRevision=lr.prototype.L,lr.prototype.on=lr.prototype.J,lr.prototype.once=lr.prototype.once,lr.prototype.un=lr.prototype.K,Sr.prototype.getFirstCoordinate=Sr.prototype.ac,Sr.prototype.getLastCoordinate=Sr.prototype.bc,Sr.prototype.getLayout=Sr.prototype.cc,Sr.prototype.rotate=Sr.prototype.rotate,Sr.prototype.scale=Sr.prototype.scale,Sr.prototype.getClosestPoint=Sr.prototype.Ab,Sr.prototype.intersectsCoordinate=Sr.prototype.sb,Sr.prototype.getExtent=Sr.prototype.G,Sr.prototype.simplify=Sr.prototype.Rb,Sr.prototype.transform=Sr.prototype.tb,Sr.prototype.get=Sr.prototype.get,Sr.prototype.getKeys=Sr.prototype.O,Sr.prototype.getProperties=Sr.prototype.N,Sr.prototype.set=Sr.prototype.set,Sr.prototype.setProperties=Sr.prototype.H,Sr.prototype.unset=Sr.prototype.P,Sr.prototype.changed=Sr.prototype.s,Sr.prototype.dispatchEvent=Sr.prototype.b,Sr.prototype.getRevision=Sr.prototype.L,Sr.prototype.on=Sr.prototype.J,Sr.prototype.once=Sr.prototype.once,Sr.prototype.un=Sr.prototype.K,Au.prototype.readFeatures=Au.prototype.Oa,Fu.prototype.readFeatures=Fu.prototype.Oa,Au.prototype.readFeatures=Au.prototype.Oa,Qe.prototype.get=Qe.prototype.get,Qe.prototype.getKeys=Qe.prototype.O,Qe.prototype.getProperties=Qe.prototype.N,Qe.prototype.set=Qe.prototype.set,Qe.prototype.setProperties=Qe.prototype.H,Qe.prototype.unset=Qe.prototype.P,Qe.prototype.changed=Qe.prototype.s,Qe.prototype.dispatchEvent=Qe.prototype.b,Qe.prototype.getRevision=Qe.prototype.L,Qe.prototype.on=Qe.prototype.J,Qe.prototype.once=Qe.prototype.once,Qe.prototype.un=Qe.prototype.K,to.prototype.getMap=to.prototype.g,to.prototype.setMap=to.prototype.setMap,to.prototype.setTarget=to.prototype.f,to.prototype.get=to.prototype.get,to.prototype.getKeys=to.prototype.O,to.prototype.getProperties=to.prototype.N,to.prototype.set=to.prototype.set,to.prototype.setProperties=to.prototype.H,to.prototype.unset=to.prototype.P,to.prototype.changed=to.prototype.s,to.prototype.dispatchEvent=to.prototype.b,to.prototype.getRevision=to.prototype.L,to.prototype.on=to.prototype.J,to.prototype.once=to.prototype.once,to.prototype.un=to.prototype.K,uo.prototype.getMap=uo.prototype.g,uo.prototype.setMap=uo.prototype.setMap,uo.prototype.setTarget=uo.prototype.f,uo.prototype.get=uo.prototype.get,uo.prototype.getKeys=uo.prototype.O,uo.prototype.getProperties=uo.prototype.N,uo.prototype.set=uo.prototype.set,uo.prototype.setProperties=uo.prototype.H,uo.prototype.unset=uo.prototype.P,uo.prototype.changed=uo.prototype.s,uo.prototype.dispatchEvent=uo.prototype.b,uo.prototype.getRevision=uo.prototype.L,uo.prototype.on=uo.prototype.J,uo.prototype.once=uo.prototype.once,uo.prototype.un=uo.prototype.K,bo.prototype.getMap=bo.prototype.g,bo.prototype.setMap=bo.prototype.setMap,bo.prototype.setTarget=bo.prototype.f,bo.prototype.get=bo.prototype.get,bo.prototype.getKeys=bo.prototype.O,bo.prototype.getProperties=bo.prototype.N,bo.prototype.set=bo.prototype.set,bo.prototype.setProperties=bo.prototype.H,bo.prototype.unset=bo.prototype.P,bo.prototype.changed=bo.prototype.s,bo.prototype.dispatchEvent=bo.prototype.b,bo.prototype.getRevision=bo.prototype.L,bo.prototype.on=bo.prototype.J,bo.prototype.once=bo.prototype.once,bo.prototype.un=bo.prototype.K,eh.prototype.getMap=eh.prototype.g,eh.prototype.setMap=eh.prototype.setMap,eh.prototype.setTarget=eh.prototype.f,eh.prototype.get=eh.prototype.get,eh.prototype.getKeys=eh.prototype.O,eh.prototype.getProperties=eh.prototype.N,eh.prototype.set=eh.prototype.set,eh.prototype.setProperties=eh.prototype.H,eh.prototype.unset=eh.prototype.P,eh.prototype.changed=eh.prototype.s,eh.prototype.dispatchEvent=eh.prototype.b,eh.prototype.getRevision=eh.prototype.L,eh.prototype.on=eh.prototype.J,eh.prototype.once=eh.prototype.once,eh.prototype.un=eh.prototype.K,so.prototype.getMap=so.prototype.g,so.prototype.setMap=so.prototype.setMap,so.prototype.setTarget=so.prototype.f,so.prototype.get=so.prototype.get,so.prototype.getKeys=so.prototype.O,so.prototype.getProperties=so.prototype.N,so.prototype.set=so.prototype.set,so.prototype.setProperties=so.prototype.H,so.prototype.unset=so.prototype.P,so.prototype.changed=so.prototype.s,so.prototype.dispatchEvent=so.prototype.b,so.prototype.getRevision=so.prototype.L,so.prototype.on=so.prototype.J,so.prototype.once=so.prototype.once,so.prototype.un=so.prototype.K,ph.prototype.getMap=ph.prototype.g,ph.prototype.setMap=ph.prototype.setMap,ph.prototype.setTarget=ph.prototype.f,ph.prototype.get=ph.prototype.get,ph.prototype.getKeys=ph.prototype.O,ph.prototype.getProperties=ph.prototype.N,ph.prototype.set=ph.prototype.set,ph.prototype.setProperties=ph.prototype.H,ph.prototype.unset=ph.prototype.P,ph.prototype.changed=ph.prototype.s,ph.prototype.dispatchEvent=ph.prototype.b,ph.prototype.getRevision=ph.prototype.L,ph.prototype.on=ph.prototype.J,ph.prototype.once=ph.prototype.once,ph.prototype.un=ph.prototype.K,ho.prototype.getMap=ho.prototype.g,ho.prototype.setMap=ho.prototype.setMap,ho.prototype.setTarget=ho.prototype.f,ho.prototype.get=ho.prototype.get,ho.prototype.getKeys=ho.prototype.O,ho.prototype.getProperties=ho.prototype.N,ho.prototype.set=ho.prototype.set,ho.prototype.setProperties=ho.prototype.H,ho.prototype.unset=ho.prototype.P,ho.prototype.changed=ho.prototype.s,ho.prototype.dispatchEvent=ho.prototype.b,ho.prototype.getRevision=ho.prototype.L,ho.prototype.on=ho.prototype.J,ho.prototype.once=ho.prototype.once,ho.prototype.un=ho.prototype.K,uh.prototype.getMap=uh.prototype.g,uh.prototype.setMap=uh.prototype.setMap,uh.prototype.setTarget=uh.prototype.f,uh.prototype.get=uh.prototype.get,uh.prototype.getKeys=uh.prototype.O,uh.prototype.getProperties=uh.prototype.N,uh.prototype.set=uh.prototype.set,uh.prototype.setProperties=uh.prototype.H,uh.prototype.unset=uh.prototype.P,uh.prototype.changed=uh.prototype.s,uh.prototype.dispatchEvent=uh.prototype.b,uh.prototype.getRevision=uh.prototype.L,uh.prototype.on=uh.prototype.J,uh.prototype.once=uh.prototype.once,uh.prototype.un=uh.prototype.K,dh.prototype.getMap=dh.prototype.g,dh.prototype.setMap=dh.prototype.setMap,dh.prototype.setTarget=dh.prototype.f,dh.prototype.get=dh.prototype.get,dh.prototype.getKeys=dh.prototype.O,dh.prototype.getProperties=dh.prototype.N,dh.prototype.set=dh.prototype.set,dh.prototype.setProperties=dh.prototype.H,dh.prototype.unset=dh.prototype.P,dh.prototype.changed=dh.prototype.s,dh.prototype.dispatchEvent=dh.prototype.b,dh.prototype.getRevision=dh.prototype.L,dh.prototype.on=dh.prototype.J,dh.prototype.once=dh.prototype.once,dh.prototype.un=dh.prototype.K,r.ol}) |