(function(n,t){typeof exports=="object"?module.exports=t():typeof define=="function"&&define.amd?define([],t):n.ol=t()})(this,function(){function t(n,t,i){n=n.split(".");i=i||hc;n[0]in i||!i.execScript||i.execScript("var "+n[0]);for(var r;n.length&&(r=n.shift());)n.length||void 0===t?i=i[r]?i[r]:i[r]={}:i[r]=t}function lv(n){n.Zb=function(){return n.Tg?n.Tg:n.Tg=new n}}function pht(n){var t=typeof n,i;if("object"==t)if(n){if(n instanceof Array)return"array";if(n instanceof Object)return t;if(i=Object.prototype.toString.call(n),"[object Window]"==i)return"object";if("[object Array]"==i||"number"==typeof n.length&&"undefined"!=typeof n.splice&&"undefined"!=typeof n.propertyIsEnumerable&&!n.propertyIsEnumerable("splice"))return"array";if("[object Function]"==i||"undefined"!=typeof n.call&&"undefined"!=typeof n.propertyIsEnumerable&&!n.propertyIsEnumerable("call"))return"function"}else return"null";else if("function"==t&&"undefined"==typeof n.call)return"object";return t}function cd(n){return"string"==typeof n}function av(n){return"number"==typeof n}function ftt(n){var t=typeof n;return"object"==t&&null!=n||"function"==t}function nt(n){return n[wht]||(n[wht]=++aii)}function vii(n){return n.call.apply(n.bind,arguments)}function yii(n,t){if(!n)throw Error();if(2<arguments.length){var i=Array.prototype.slice.call(arguments,2);return function(){var r=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(r,i),n.apply(t,r)}}return function(){return n.apply(t,arguments)}}function ld(){return ld=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?vii:yii,ld.apply(null,arguments)}function r(n,t){n.prototype=Object.create(t.prototype);n.prototype.constructor=n}function ne(){}function ott(n,t){return n<t?-1:n>t?1:0}function uo(n,t,i){return Math.min(Math.max(n,t),i)}function dht(n,t,i,r,u,f){var e=u-i,o=f-r,s;return(0!==e||0!==o)&&(s=((n-i)*e+(t-r)*o)/(e*e+o*o),1<s?(i=u,r=f):0<s&&(i+=e*s,r+=o*s)),vv(n,t,i,r)}function vv(n,t,i,r){return n=i-n,t=r-t,n*n+t*t}function as(n){return n*Math.PI/180}function el(n,t){var i=n%t;return 0>i*t?i+t:i}function ad(n,t,i){return n+i*(t-n)}function wii(n){return function(t){if(t)return[uo(t[0],n[0],n[2]),uo(t[1],n[1],n[3])]}}function bii(n){return n}function kii(n,t,i){this.center=n;this.resolution=t;this.rotation=i}function ol(n){for(var t in n)delete n[t]}function vd(n){var t=[],i;for(i in n)t.push(n[i]);return t}function co(n){for(var t in n)return!1;return!t}function dii(n){function t(t){var i=n.listener,r=n.ng||n.target;return n.pg&&cu(n),i.call(r,t)}return n.og=t}function ght(n,t,i,r){for(var u,f=0,e=n.length;f<e;++f)if(u=n[f],u.listener===t&&u.ng===i)return r&&(u.deleteIndex=f),u}function stt(n,t){var i=n[ub];if(i)return i[t]}function nct(n){var t=n[ub];return t||(t=n[ub]={}),t}function tct(n,t){var i=stt(n,t),r,u;if(i){for(r=0,u=i.length;r<u;++r)n.removeEventListener(t,i[r].og),ol(i[r]);i.length=0;(i=n[ub])&&(delete i[t],0===Object.keys(i).length&&delete n[ub])}}function e(n,t,i,r,u){var f=nct(n),e=f[t];return e||(e=f[t]=[]),(f=ght(e,i,r,!1))?u||(f.pg=!1):(f={ng:r,pg:!!u,listener:i,target:n,type:t},n.addEventListener(t,dii(f)),e.push(f)),f}function sl(n,t,i,r){return e(n,t,i,r,!0)}function bh(n,t,i,r){(n=stt(n,t))&&(i=ght(n,i,r,!0))&&cu(i)}function cu(n){var t,i;n&&n.target&&(n.target.removeEventListener(n.type,n.og),t=stt(n.target,n.type),t&&(i="deleteIndex"in n?n.deleteIndex:t.indexOf(n),-1!==i&&t.splice(i,1),0===t.length&&tct(n.target,n.type)),ol(n))}function ict(n){var i=nct(n),t;for(t in i)tct(n,t)}function ky(){}function kh(n){n.Gb||(n.Gb=!0,n.ka())}function vr(n,t){this.type=n;this.target=t||null}function rct(n){n.stopPropagation()}function gii(n){n.preventDefault()}function fo(){this.Ra={};this.Ba={};this.ya={}}function dh(n,t){return t?t in n.ya:0<Object.keys(n.ya).length}function ae(){fo.call(this);this.g=0}function fb(n){if(Array.isArray(n))for(var t=0,i=n.length;t<i;++t)cu(n[t]);else cu(n)}function vs(n,t,i){vr.call(this,n);this.key=t;this.oldValue=i}function si(n){ae.call(this);nt(this);this.U={};void 0!==n&&this.G(n)}function cf(n){return yd.hasOwnProperty(n)?yd[n]:yd[n]="change:"+n}function uct(n,t,i){var r;r=cf(t);n.b(new vs(r,t,i));n.b(new vs("propertychange",t,i))}function yv(n,t){return n>t?1:n<t?-1:0}function po(n,t){return 0<=n.indexOf(t)}function htt(n,t,i){var r=n.length;if(n[0]<=t)return 0;if(!(t<=n[r-1]))if(0<i){for(i=1;i<r;++i)if(n[i]<t)return i-1}else if(0>i){for(i=1;i<r;++i)if(n[i]<=t)return i}else for(i=1;i<r;++i){if(n[i]==t)return i;if(n[i]<t)return n[i-1]-t<t-n[i]?i-1:i}return r-1}function fct(n){return n.reduce(function(n,t){return Array.isArray(t)?n.concat(fct(t)):n.concat(t)},[])}function bf(n,t){var i,r,u;for(i=pht(t),r="array"==i||"object"==i&&"number"==typeof t.length?t:[t],u=r.length,i=0;i<u;i++)n[n.length]=r[i]}function ect(n,t){var i=n.indexOf(t),r=-1<i;return r&&n.splice(i,1),r}function pd(n,t){for(var u=n.length>>>0,r,i=0;i<u;i++)if(r=n[i],t(r,i,n))return r;return null}function wd(n,t){var r=n.length,i;if(r!==t.length)return!1;for(i=0;i<r;i++)if(n[i]!==t[i])return!1;return!0}function ctt(n){for(var r=vui,u=n.length,i=Array(n.length),t=0;t<u;t++)i[t]={index:t,value:n[t]};for(i.sort(function(n,t){return r(n.value,t.value)||n.index-t.index}),t=0;t<n.length;t++)n[t]=i[t].value}function ltt(n,t){var i;return n.every(function(r,u){return i=u,!t(r,u,n)})?-1:i}function nri(n){return function(t,i,r){if(void 0!==t)return t=htt(n,t,r),t=uo(t+i,0,n.length-1),n[t]}}function tri(n,t,i){return function(r,u,f){if(void 0!==r)return r=Math.max(Math.floor(Math.log(t/r)/Math.log(n)+(0<f?0:0>f?1:.5))+u,0),void 0!==i&&(r=Math.min(r,i)),t/Math.pow(n,r)}}function iri(n){if(void 0!==n)return 0}function oct(n,t){if(void 0!==n)return n+t}function rri(n){var t=2*Math.PI/n;return function(n,i){if(void 0!==n)return Math.floor((n+i)/t+.5)*t}}function uri(){var n=as(5);return function(t,i){if(void 0!==t)return Math.abs(t+i)<=n?0:t+i}}function pv(n,t){var r=void 0!==t?n.toFixed(t):""+n,i=r.indexOf("."),i=-1===i?r.length:i;return 2<i?r:Array(3-i).join("0")+r}function sct(n){var i,t,r,u;for(n=(""+n).split("."),i=["1","3"],t=0;t<Math.max(n.length,i.length);t++){if(r=parseInt(n[t]||"0",10),u=parseInt(i[t]||"0",10),r>u)return 1;if(u>r)return-1}return 0}function dy(n,t){return n[0]+=t[0],n[1]+=t[1],n}function att(n,t){var r=n[0],h=n[1],i=t[0],u=t[1],f=i[0],i=i[1],s=u[0],u=u[1],e=s-f,o=u-i,r=0===e&&0===o?0:(e*(r-f)+o*(h-i))/(e*e+o*o||0);return 0>=r||(1<=r?(f=s,i=u):(f+=r*e,i+=r*o)),[f,i]}function hct(n,t,i){n=el(n+180,360)-180;var r=Math.abs(3600*n);return Math.floor(r/3600)+"° "+pv(Math.floor(r/60%60))+"′ "+pv(r%60,i||0)+"″ "+t.charAt(0>n?1:0)}function cct(n,t,i){return n?t.replace("{x}",n[0].toFixed(i)).replace("{y}",n[1].toFixed(i)):""}function gy(n,t){for(var r=!0,i=n.length-1;0<=i;--i)if(n[i]!=t[i]){r=!1;break}return r}function np(n,t){var i=Math.cos(t),r=Math.sin(t),u=n[1]*i+n[0]*r;return n[0]=n[0]*i-n[1]*r,n[1]=u,n}function cc(n,t){var i=n[0]-t[0],r=n[1]-t[1];return i*i+r*r}function bd(n,t){return cc(n,att(n,t))}function lct(n,t){return cct(n,"{x}, {y}",t)}function eo(n){for(var i=ve(),t=0,r=n.length;t<r;++t)tp(i,n[t]);return i}function lc(n,t,i){return i?(i[0]=n[0]-t,i[1]=n[1]-t,i[2]=n[2]+t,i[3]=n[3]+t,i):[n[0]-t,n[1]-t,n[2]+t,n[3]+t]}function vtt(n,t){return t?(t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t):n.slice()}function wv(n,t,i){return t=t<n[0]?n[0]-t:n[2]<t?t-n[2]:0,n=i<n[1]?n[1]-i:n[3]<i?i-n[3]:0,t*t+n*n}function ytt(n,t){return kd(n,t[0],t[1])}function us(n,t){return n[0]<=t[0]&&t[2]<=n[2]&&n[1]<=t[1]&&t[3]<=n[3]}function kd(n,t,i){return n[0]<=t&&t<=n[2]&&n[1]<=i&&i<=n[3]}function ptt(n,t){var f=n[1],e=n[2],o=n[3],r=t[0],u=t[1],i=0;return r<n[0]?i|=16:r>e&&(i|=4),u<f?i|=8:u>o&&(i|=2),0===i&&(i=1),i}function ve(){return[Infinity,Infinity,-Infinity,-Infinity]}function ac(n,t,i,r,u){return u?(u[0]=n,u[1]=t,u[2]=i,u[3]=r,u):[n,t,i,r]}function dd(n,t){var i=n[0],r=n[1];return ac(i,r,i,r,t)}function wtt(n,t,i,r,u){return u=ac(Infinity,Infinity,-Infinity,-Infinity,u),act(u,n,t,i,r)}function eb(n,t){return n[0]==t[0]&&n[2]==t[2]&&n[1]==t[1]&&n[3]==t[3]}function btt(n,t){return t[0]<n[0]&&(n[0]=t[0]),t[2]>n[2]&&(n[2]=t[2]),t[1]<n[1]&&(n[1]=t[1]),t[3]>n[3]&&(n[3]=t[3]),n}function tp(n,t){t[0]<n[0]&&(n[0]=t[0]);t[0]>n[2]&&(n[2]=t[0]);t[1]<n[1]&&(n[1]=t[1]);t[1]>n[3]&&(n[3]=t[1])}function act(n,t,i,r,u){for(;i<r;i+=u){var f=n,e=t[i],o=t[i+1];f[0]=Math.min(f[0],e);f[1]=Math.min(f[1],o);f[2]=Math.max(f[2],e);f[3]=Math.max(f[3],o)}return n}function vct(n,t,i){var r;return(r=t.call(i,aa(n)))||(r=t.call(i,ip(n)))||(r=t.call(i,bv(n)))?r:(r=t.call(i,sh(n)))?r:!1}function yct(n){var t=0;return up(n)||(t=ef(n)*be(n)),t}function aa(n){return[n[0],n[1]]}function ip(n){return[n[2],n[1]]}function gh(n){return[(n[0]+n[2])/2,(n[1]+n[3])/2]}function rp(n,t,i,r,u){var f=t*r[0]/2,s;r=t*r[1]/2;t=Math.cos(i);s=Math.sin(i);i=f*t;f*=s;t*=r;var e=r*s,o=n[0],h=n[1];n=o-i+e;r=o-i-e;s=o+i-e;i=o+i+e;var e=h-f-t,o=h-f+t,c=h+f+t,f=h+f-t;return ac(Math.min(n,r,s,i),Math.min(e,o,c,f),Math.max(n,r,s,i),Math.max(e,o,c,f),u)}function be(n){return n[3]-n[1]}function vc(n,t,i){return i=i?i:ve(),oo(n,t)&&(i[0]=n[0]>t[0]?n[0]:t[0],i[1]=n[1]>t[1]?n[1]:t[1],i[2]=n[2]<t[2]?n[2]:t[2],i[3]=n[3]<t[3]?n[3]:t[3]),i}function sh(n){return[n[0],n[3]]}function bv(n){return[n[2],n[3]]}function ef(n){return n[2]-n[0]}function oo(n,t){return n[0]<=t[2]&&n[2]>=t[0]&&n[1]<=t[3]&&n[3]>=t[1]}function up(n){return n[2]<n[0]||n[3]<n[1]}function gd(n,t){var i=(n[2]-n[0])/2*(t-1),r=(n[3]-n[1])/2*(t-1);n[0]-=i;n[2]+=i;n[1]-=r;n[3]+=r}function ob(n,t,i){n=[n[0],n[1],n[0],n[3],n[2],n[1],n[2],n[3]];t(n,n,2);var r=[n[0],n[2],n[4],n[6]],u=[n[1],n[3],n[5],n[7]];return t=Math.min.apply(null,r),n=Math.min.apply(null,u),r=Math.max.apply(null,r),u=Math.max.apply(null,u),ac(t,n,r,u,i)}function lo(){return!0}function ks(){return!1}function hl(n){this.radius=n}function of(n){var i,u;this.cb=n.code;this.c=n.units;this.f=void 0!==n.extent?n.extent:null;this.i=void 0!==n.worldExtent?n.worldExtent:null;this.b=void 0!==n.axisOrientation?n.axisOrientation:"enu";this.g=void 0!==n.global?n.global:!1;this.a=!(!this.g||!this.f);this.o=void 0!==n.getPointResolution?n.getPointResolution:this.sk;this.l=null;this.j=n.metersPerUnit;var t=ktt,f=n.code,r=dtt||tr.proj4;if("function"==typeof r&&void 0===t[f]&&(i=r.defs(f),void 0!==i)){void 0!==i.axis&&void 0===n.axisOrientation&&(this.b=i.axis);void 0===n.metersPerUnit&&(this.j=i.to_meter);void 0===n.units&&(this.c=i.units);for(u in t)t=r.defs(u),void 0!==t&&(n=yi(u),t===i?tg([n,this]):(t=r(u,f),wct(n,this,t.forward,t.inverse)))}}function tg(n){eri(n);n.forEach(function(t){n.forEach(function(n){t!==n&&ep(t,n,tit)})})}function fri(){var n=eyt,t=afi,i=vfi;syt.forEach(function(r){n.forEach(function(n){ep(r,n,t);ep(n,r,i)})})}function gtt(n){ktt[n.cb]=n;ep(n,n,tit)}function eri(n){var t=[];n.forEach(function(n){t.push(gtt(n))})}function pct(n){return n?"string"==typeof n?yi(n):n:yi("EPSG:3857")}function ep(n,t,i){n=n.cb;t=t.cb;n in fp||(fp[n]={});fp[n][t]=i}function wct(n,t,i,r){n=yi(n);t=yi(t);ep(n,t,bct(i));ep(t,n,bct(r))}function bct(n){return function(t,i,r){var e=t.length,f,u;for(r=void 0!==r?r:2,i=void 0!==i?i:Array(e),u=0;u<e;u+=r)for(f=n([t[u],t[u+1]]),i[u]=f[0],i[u+1]=f[1],f=r-1;2<=f;--f)i[u+f]=t[u+f];return i}}function yi(n){var t,i;return n instanceof of?t=n:"string"==typeof n?(t=ktt[n],i=dtt||tr.proj4,void 0===t&&"function"==typeof i&&void 0!==i.defs(n)&&(t=new of({code:n}),gtt(t))):t=null,t}function nc(n,t){if(n===t)return!0;var i=n.wb()===t.wb();return n.cb===t.cb?i:va(n,t)===tit&&i}function gl(n,t){var i=yi(n),r=yi(t);return va(i,r)}function va(n,t){var r=n.cb,u=t.cb,i;return r in fp&&u in fp[r]&&(i=fp[r][u]),void 0===i&&(i=nit),i}function nit(n,t){if(void 0!==t&&n!==t){for(var i=0,r=n.length;i<r;++i)t[i]=n[i];n=t}return n}function tit(n,t){var i,r;if(void 0!==t){for(i=0,r=n.length;i<r;++i)t[i]=n[i];i=t}else i=n.slice();return i}function ig(n,t,i){return gl(t,i)(n,void 0,n.length)}function op(n,t,i){return t=gl(t,i),ob(n,t)}function nr(){si.call(this);this.v=ve();this.A=-1;this.l={};this.s=this.o=0}function yc(n){this.length=n.length||n;for(var t=0;t<this.length;t++)this[t]=n[t]||0}function pc(n){this.length=n.length||n;for(var t=0;t<this.length;t++)this[t]=n[t]||0}function ori(n,t,i,r,u){n[0]=t;n[1]=i;n[2]=r;n[3]=u}function wf(){var n=Array(16);return iit(n,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0),n}function sp(){var n=Array(16);return iit(n,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1),n}function iit(n,t,i,r,u,f,e,o,s,h,c,l,a,v,y,p,w){n[0]=t;n[1]=i;n[2]=r;n[3]=u;n[4]=f;n[5]=e;n[6]=o;n[7]=s;n[8]=h;n[9]=c;n[10]=l;n[11]=a;n[12]=v;n[13]=y;n[14]=p;n[15]=w}function rit(n,t){n[0]=t[0];n[1]=t[1];n[2]=t[2];n[3]=t[3];n[4]=t[4];n[5]=t[5];n[6]=t[6];n[7]=t[7];n[8]=t[8];n[9]=t[9];n[10]=t[10];n[11]=t[11];n[12]=t[12];n[13]=t[13];n[14]=t[14];n[15]=t[15]}function ya(n){n[0]=1;n[1]=0;n[2]=0;n[3]=0;n[4]=0;n[5]=1;n[6]=0;n[7]=0;n[8]=0;n[9]=0;n[10]=1;n[11]=0;n[12]=0;n[13]=0;n[14]=0;n[15]=1}function kct(n,t,i){var r=n[0],u=n[1],f=n[2],e=n[3],o=n[4],s=n[5],h=n[6],c=n[7],l=n[8],a=n[9],v=n[10],y=n[11],p=n[12],w=n[13],b=n[14];n=n[15];var k=t[0],d=t[1],g=t[2],nt=t[3],tt=t[4],it=t[5],rt=t[6],ut=t[7],ft=t[8],et=t[9],ot=t[10],st=t[11],ht=t[12],ct=t[13],lt=t[14];t=t[15];i[0]=r*k+o*d+l*g+p*nt;i[1]=u*k+s*d+a*g+w*nt;i[2]=f*k+h*d+v*g+b*nt;i[3]=e*k+c*d+y*g+n*nt;i[4]=r*tt+o*it+l*rt+p*ut;i[5]=u*tt+s*it+a*rt+w*ut;i[6]=f*tt+h*it+v*rt+b*ut;i[7]=e*tt+c*it+y*rt+n*ut;i[8]=r*ft+o*et+l*ot+p*st;i[9]=u*ft+s*et+a*ot+w*st;i[10]=f*ft+h*et+v*ot+b*st;i[11]=e*ft+c*et+y*ot+n*st;i[12]=r*ht+o*ct+l*lt+p*t;i[13]=u*ht+s*ct+a*lt+w*t;i[14]=f*ht+h*ct+v*lt+b*t;i[15]=e*ht+c*ct+y*lt+n*t}function sb(n,t){var r=n[0],u=n[1],f=n[2],e=n[3],o=n[4],s=n[5],h=n[6],c=n[7],l=n[8],a=n[9],v=n[10],y=n[11],p=n[12],w=n[13],b=n[14],k=n[15],d=r*s-u*o,g=r*h-f*o,nt=r*c-e*o,tt=u*h-f*s,it=u*c-e*s,rt=f*c-e*h,ut=l*w-a*p,ft=l*b-v*p,et=l*k-y*p,ot=a*b-v*w,st=a*k-y*w,ht=v*k-y*b,i=d*ht-g*st+nt*ot+tt*et-it*ft+rt*ut;0!=i&&(i=1/i,t[0]=(s*ht-h*st+c*ot)*i,t[1]=(-u*ht+f*st-e*ot)*i,t[2]=(w*rt-b*it+k*tt)*i,t[3]=(-a*rt+v*it-y*tt)*i,t[4]=(-o*ht+h*et-c*ft)*i,t[5]=(r*ht-f*et+e*ft)*i,t[6]=(-p*rt+b*nt-k*g)*i,t[7]=(l*rt-v*nt+y*g)*i,t[8]=(o*st-s*et+c*ut)*i,t[9]=(-r*st+u*et-e*ut)*i,t[10]=(p*it-w*nt+k*d)*i,t[11]=(-l*it+a*nt-y*d)*i,t[12]=(-o*ot+s*ft-h*ut)*i,t[13]=(r*ot-u*ft+f*ut)*i,t[14]=(-p*tt+w*g-b*d)*i,t[15]=(l*tt-a*g+v*d)*i)}function wc(n,t,i){var r=n[1]*t+n[5]*i+0*n[9]+n[13],u=n[2]*t+n[6]*i+0*n[10]+n[14],f=n[3]*t+n[7]*i+0*n[11]+n[15];n[12]=n[0]*t+n[4]*i+0*n[8]+n[12];n[13]=r;n[14]=u;n[15]=f}function na(n,t,i){iit(n,n[0]*t,n[1]*t,n[2]*t,n[3]*t,n[4]*i,n[5]*i,n[6]*i,n[7]*i,1*n[8],1*n[9],1*n[10],1*n[11],n[12],n[13],n[14],n[15])}function rg(n,t){var u=n[0],f=n[1],e=n[2],o=n[3],s=n[4],h=n[5],c=n[6],l=n[7],i=Math.cos(t),r=Math.sin(t);n[0]=u*i+s*r;n[1]=f*i+h*r;n[2]=e*i+c*r;n[3]=o*i+l*r;n[4]=u*-r+s*i;n[5]=f*-r+h*i;n[6]=e*-r+c*i;n[7]=o*-r+l*i}function hp(n,t,i,r,u,f){var c=u[0],l=u[1],a=u[4],v=u[5],y=u[12],e,o,s,h;for(u=u[13],e=f?f:[],o=0;t<i;t+=r)s=n[t],h=n[t+1],e[o++]=c*s+a*h+y,e[o++]=l*s+v*h+u;return f&&e.length!=o&&(e.length=o),e}function lt(){nr.call(this);this.f="XY";this.a=2;this.B=null}function uit(n){return"XY"==n?2:"XYZ"==n||"XYM"==n?3:"XYZM"==n?4:void 0}function ll(n,t,i){n.a=uit(t);n.f=t;n.B=i}function pa(n,t,i,r){if(t)i=uit(t);else{for(t=0;t<r;++t){if(0===i.length){n.f="XY";n.a=2;return}i=i[0]}i=i.length;t=2==i?"XY":3==i?"XYZ":4==i?"XYZM":void 0}n.f=t;n.a=i}function dct(n,t,i,r){for(var u=0,f=n[i-r],e=n[i-r+1];t<i;t+=r)var o=n[t],s=n[t+1],u=u+(e*o-f*s),f=o,e=s;return u/2}function gct(n,t,i,r){for(var u=0,e,f=0,o=i.length;f<o;++f)e=i[f],u=u+dct(n,t,e,r),t=e;return u}function nlt(n,t,i,r,u,f,e){var h=n[t],c=n[t+1],o=n[i]-h,s=n[i+1]-c;if(0!==o||0!==s)if(f=((u-h)*o+(f-c)*s)/(o*o+s*s),1<f)t=i;else if(0<f){for(u=0;u<r;++u)e[u]=ad(n[t+u],n[i+u],f);e.length=r;return}for(u=0;u<r;++u)e[u]=n[t+u];e.length=r}function fit(n,t,i,r,u){var f=n[t],e=n[t+1];for(t+=r;t<i;t+=r){var o=n[t],s=n[t+1],f=vv(f,e,o,s);f>u&&(u=f);f=o;e=s}return u}function eit(n,t,i,r,u){for(var e,f=0,o=i.length;f<o;++f)e=i[f],u=fit(n,t,e,r,u),t=e;return u}function oit(n,t,i,r,u,f,e,o,s,h,c){var l,a,v;if(t==i)return h;if(0===u){if(l=vv(e,o,n[t],n[t+1]),l<h){for(c=0;c<r;++c)s[c]=n[t+c];return s.length=r,l}return h}for(a=c?c:[NaN,NaN],v=t+r;v<i;)if(nlt(n,v-r,v,r,e,o,a),l=vv(e,o,a[0],a[1]),l<h){for(h=l,c=0;c<r;++c)s[c]=a[c];s.length=r;v+=r}else v+=r*Math.max((Math.sqrt(l)-Math.sqrt(h))/u|0,1);if(f&&(nlt(n,i-r,t,r,e,o,a),l=vv(e,o,a[0],a[1]),l<h)){for(h=l,c=0;c<r;++c)s[c]=a[c];s.length=r}return h}function sit(n,t,i,r,u,f,e,o,s,h,c){var l,v,a;for(c=c?c:[NaN,NaN],l=0,v=i.length;l<v;++l)a=i[l],h=oit(n,t,a,r,u,f,e,o,s,h,c),t=a;return h}function tlt(n,t){for(var r=0,i=0,u=t.length;i<u;++i)n[r++]=t[i];return r}function ug(n,t,i,r){for(var o,f,u=0,e=i.length;u<e;++u)for(o=i[u],f=0;f<r;++f)n[t++]=o[f];return t}function hit(n,t,i,r,u){u=u?u:[];for(var e=0,f=0,o=i.length;f<o;++f)t=ug(n,t,i[f],r),u[e++]=t;return u.length=e,u}function hb(n,t,i,r,u){u=void 0!==u?u:[];for(var f=0;t<i;t+=r)u[f++]=n.slice(t,t+r);return u.length=f,u}function cit(n,t,i,r,u){var f,e,s,o;for(u=void 0!==u?u:[],f=0,e=0,s=i.length;e<s;++e)o=i[e],u[f++]=hb(n,t,o,r,u[f]),t=o;return u.length=f,u}function lit(n,t,i,r,u,f,e){var a=(i-t)/r,h,s,o,y;if(3>a){for(;t<i;t+=r)f[e++]=n[t],f[e++]=n[t+1];return e}for(h=Array(a),h[0]=1,h[a-1]=1,i=[t,i-r],s=0;0<i.length;){var c=i.pop(),l=i.pop(),v=0,p=n[l],w=n[l+1],b=n[c],k=n[c+1];for(o=l+r;o<c;o+=r)y=dht(n[o],n[o+1],p,w,b,k),y>v&&(s=o,v=y);v>u&&(h[(s-t)/r]=1,l+r<s&&i.push(l,s),s+r<c&&i.push(s,c))}for(o=0;o<a;++o)h[o]&&(f[e++]=n[t+o*r],f[e++]=n[t+o*r+1]);return e}function ilt(n,t,i,r,u,f,e,o){for(var tt,v,y,h,c,k,d,b=0,ut=i.length;b<ut;++b){tt=i[b];n:{var a=n,it=tt,rt=r,s=u,l=f;if(t!=it){v=s*Math.round(a[t]/s);y=s*Math.round(a[t+1]/s);t+=rt;l[e++]=v;l[e++]=y;do if(h=s*Math.round(a[t]/s),c=s*Math.round(a[t+1]/s),t+=rt,t==it){l[e++]=h;l[e++]=c;break n}while(h==v&&c==y);for(;t<it;)if(k=s*Math.round(a[t]/s),d=s*Math.round(a[t+1]/s),t+=rt,k!=h||d!=c){var p=h-v,w=c-y,g=k-v,nt=d-y;p*nt==w*g&&(0>p&&g<p||p==g||0<p&&g>p)&&(0>w&&nt<w||w==nt||0<w&&nt>w)||(l[e++]=h,l[e++]=c,v=h,y=c);h=k;c=d}l[e++]=h;l[e++]=c}}o.push(e);t=tt}return e}function bt(n,t){lt.call(this);this.i=this.j=-1;this.pa(n,t)}function cp(n,t,i){ll(n,t,i);n.u()}function tt(n,t){lt.call(this);this.pa(n,t)}function sri(n,t,i,r,u){return!vct(u,function(u){return!kv(n,t,i,r,u[0],u[1])})}function kv(n,t,i,r,u,f){for(var c,o,s=!1,h=n[i-r],e=n[i-r+1];t<i;t+=r)c=n[t],o=n[t+1],e>f!=o>f&&u<(c-h)*(f-e)/(o-e)+h&&(s=!s),h=c,e=o;return s}function ait(n,t,i,r,u,f){if(0===i.length||!kv(n,t,i[0],r,u,f))return!1;var e;for(t=1,e=i.length;t<e;++t)if(kv(n,i[t-1],i[t],r,u,f))return!1;return!0}function rlt(n,t,i,r,u,f,e){var s,a,o,v,h,l=u[f+1],y=[],c=i[0],p;for(o=n[c-r],h=n[c-r+1],s=t;s<c;s+=r)v=n[s],a=n[s+1],(l<=h&&a<=l||h<=l&&l<=a)&&(o=(l-h)/(a-h)*(v-o)+o,y.push(o)),o=v,h=a;for(c=NaN,h=-Infinity,y.sort(yv),o=y[0],s=1,a=y.length;s<a;++s)v=y[s],p=Math.abs(v-o),p>h&&(o=(o+v)/2,ait(n,t,i,r,o,l)&&(c=o,h=p)),o=v;return isNaN(c)&&(c=u[f]),e?(e.push(c,l),e):[c,l]}function ult(n,t,i,r,u,f){for(var o=[n[t],n[t+1]],e=[],s;t+r<i;t+=r){if(e[0]=n[t+r],e[1]=n[t+r+1],s=u.call(f,o,e))return s;o[0]=e[0];o[1]=e[1]}return!1}function vit(n,t,i,r,u){var f=act(ve(),n,t,i,r);return oo(u,f)?us(u,f)||f[0]>=u[0]&&f[2]<=u[2]||f[1]>=u[1]&&f[3]<=u[3]?!0:ult(n,t,i,r,function(n,t){var i=!1,r=ptt(u,n),f=ptt(u,t);if(1===r||1===f)i=!0;else{var h=u[0],c=u[1],l=u[2],a=u[3],e=t[0],o=t[1],s=(o-n[1])/(e-n[0]);f&2&&!(r&2)&&(i=e-(o-a)/s,i=i>=h&&i<=l);i||!(f&4)||r&4||(i=o-(e-l)*s,i=i>=c&&i<=a);i||!(f&8)||r&8||(i=e-(o-c)/s,i=i>=h&&i<=l);i||!(f&16)||r&16||(i=o-(e-h)*s,i=i>=c&&i<=a)}return i}):!1}function flt(n,t,i,r,u){var f=i[0];if(!(vit(n,t,f,r,u)||kv(n,t,f,r,u[0],u[1])||kv(n,t,f,r,u[0],u[3])||kv(n,t,f,r,u[2],u[1])||kv(n,t,f,r,u[2],u[3])))return!1;if(1===i.length)return!0;for(t=1,f=i.length;t<f;++t)if(sri(n,i[t-1],i[t],r,u))return!1;return!0}function yit(n,t,i,r){for(var u=0,f=n[i-r],e=n[i-r+1];t<i;t+=r)var o=n[t],s=n[t+1],u=u+(o-f)*(s+e),f=o,e=s;return 0<u}function elt(n,t,i,r){var u=0,f,o,e;for(r=void 0!==r?r:!1,f=0,o=t.length;f<o;++f){if(e=t[f],u=yit(n,u,e,i),0===f){if(r&&u||!r&&!u)return!1}else if(r&&!u||!r&&u)return!1;u=e}return!0}function pit(n,t,i,r,u){var s,l,h,f,e,a;for(u=void 0!==u?u:!1,s=0,l=i.length;s<l;++s){if(h=i[s],f=yit(n,t,h,r),0===s?u&&f||!u&&!f:u&&!f||!u&&f)for(var f=n,c=h,o=r;t<c-o;){for(e=0;e<o;++e)a=f[t+e],f[t+e]=f[c-o+e],f[c-o+e]=a;t+=o;c-=o}t=h}return t}function olt(n,t,i,r){for(var f=0,u=0,e=t.length;u<e;++u)f=pit(n,f,t[u],i,r);return f}function l(n,t){lt.call(this);this.i=[];this.C=-1;this.D=null;this.T=this.R=this.S=-1;this.j=null;this.pa(n,t)}function wit(n){if(n.C!=n.g){var t=gh(n.H());n.D=rlt(n.Mb(),0,n.i,n.a,t,0);n.C=n.g}return n.D}function slt(n,t,i,r){var f=r?r:32,u;for(r=[],u=0;u<f;++u)bf(r,n.offset(t,i,2*Math.PI*u/f));return r.push(r[0],r[1]),n=new l(null),n.ba("XY",r,[r.length]),n}function hlt(n){var t=n[0],i=n[1],r=n[2];return n=n[3],t=[t,i,t,n,r,n,r,i,t,i],i=new l(null),i.ba("XY",t,[t.length]),i}function clt(n,t,i){var u=t?t:32,r=n.va();t=n.f;for(var f=new l(null,t),u=r*(u+1),r=Array(u),e=0;e<u;e++)r[e]=0;return f.ba(t,r,[r.length]),llt(f,n.rd(),n.wf(),i),f}function llt(n,t,i,r){var f=n.la(),c=n.f,h=n.va(),l=n.Db(),e=f.length/h-1,o,s,u;for(r=r?r:0,u=0;u<=e;++u)s=u*h,o=r+2*el(u,e)*Math.PI/e,f[s]=t[0]+i*Math.cos(o),f[s+1]=t[1]+i*Math.sin(o);n.ba(c,f,l)}function et(n){var e,i,t,r,u,f,o,s;si.call(this);n=n||{};this.f=[0,0];e={};e.center=void 0!==n.center?n.center:null;this.l=pct(n.projection);u=void 0!==n.minZoom?n.minZoom:0;i=void 0!==n.maxZoom?n.maxZoom:28;f=void 0!==n.zoomFactor?n.zoomFactor:2;void 0!==n.resolutions?(i=n.resolutions,t=i[0],r=i[i.length-1],i=nri(i)):(t=pct(n.projection),r=t.H(),o=(r?Math.max(ef(r),be(r)):360*cl.degrees/t.$b())/256/Math.pow(2,0),s=o/Math.pow(2,28),t=n.maxResolution,void 0!==t?u=0:t=o/Math.pow(f,u),r=n.minResolution,void 0===r&&(r=void 0!==n.maxZoom?void 0!==n.maxResolution?t/Math.pow(f,i):o/Math.pow(f,i):s),i=u+Math.floor(Math.log(t/r)/Math.log(f)),r=t/Math.pow(f,i-u),i=tri(f,t,i-u));this.a=t;this.c=r;this.j=n.resolutions;this.i=u;u=void 0!==n.extent?wii(n.extent):bii;(void 0!==n.enableRotation?n.enableRotation:1)?(t=n.constrainRotation,t=void 0===t||!0===t?uri():!1===t?oct:av(t)?rri(t):oct):t=iri;this.o=new kii(u,i,t);void 0!==n.resolution?e.resolution=n.resolution:void 0!==n.zoom&&(e.resolution=this.constrainResolution(this.a,n.zoom-this.i));e.rotation=void 0!==n.rotation?n.rotation:0;this.G(e)}function alt(n,t){return void 0!==t?(t[0]=n.f[0],t[1]=n.f[1],t):n.f.slice()}function bit(n,t){return Math.max(ef(n)/t[0],be(n)/t[1])}function hri(n){var t=n.a,i=Math.log(t/n.c)/Math.log(2);return function(n){return t/Math.pow(2,n*i)}}function cri(n){var t=n.a,i=Math.log(t/n.c)/Math.log(2);return function(n){return Math.log(t/n)/Math.log(2)/i}}function vlt(n){return!!n.ab()&&void 0!==n.$()}function tc(n,t){n.f[1]+=t}function ylt(n){return Math.pow(n,3)}function bc(n){return 1-ylt(1-n)}function lp(n){return 3*n*n-2*n*n*n}function plt(n){return n}function wlt(n){return.5>n?lp(2*n):1-lp(2*(n-.5))}function dv(n){var i=n.source,t=n.start?n.start:Date.now(),u=i[0],f=i[1],r=void 0!==n.duration?n.duration:1e3,e=n.easing?n.easing:lp;return function(n,i){if(i.time<t)return i.animate=!0,i.viewHints[0]+=1,!0;if(i.time<t+r){var o=1-e((i.time-t)/r),s=u-i.viewState.center[0],h=f-i.viewState.center[1];return i.animate=!0,i.viewState.center[0]+=o*s,i.viewState.center[1]+=o*h,i.viewHints[0]+=1,!0}return!1}}function kit(n){var u=n.rotation?n.rotation:0,i=n.start?n.start:Date.now(),r=void 0!==n.duration?n.duration:1e3,f=n.easing?n.easing:lp,t=n.anchor?n.anchor:null;return function(n,e){var o,s;return e.time<i?(e.animate=!0,e.viewHints[0]+=1,!0):e.time<i+r?(o=1-f((e.time-i)/r),o=(u-e.viewState.rotation)*o,e.animate=!0,e.viewState.rotation+=o,t&&(s=e.viewState.center,s[0]-=t[0],s[1]-=t[1],np(s,o),dy(s,t)),e.viewHints[0]+=1,!0):!1}}function ap(n){var r=n.resolution,t=n.start?n.start:Date.now(),i=void 0!==n.duration?n.duration:1e3,u=n.easing?n.easing:lp;return function(n,f){if(f.time<t)return f.animate=!0,f.viewHints[0]+=1,!0;if(f.time<t+i){var e=1-u((f.time-t)/i),o=r-f.viewState.resolution;return f.animate=!0,f.viewState.resolution+=e*o,f.viewHints[0]+=1,!0}return!1}}function gv(n,t,i,r){this.ca=n;this.ea=t;this.fa=i;this.ga=r}function blt(n,t,i){return n.ca<=t&&t<=n.ea&&n.fa<=i&&i<=n.ga}function lri(n,t){return n.ca==t.ca&&n.fa==t.fa&&n.ea==t.ea&&n.ga==t.ga}function dit(n,t){return n.ca<=t.ea&&n.ea>=t.ca&&n.fa<=t.ga&&n.ga>=t.fa}function hh(n){this.a=n.html;this.b=n.tileRanges?n.tileRanges:null}function wo(n,t,i){vr.call(this,n,i);this.element=t}function vt(n){si.call(this);this.a=n?n:[];git(this)}function git(n){n.set("length",n.a.length)}function klt(){return Array.prototype.concat.apply(Array.prototype,arguments)}function ari(n){var i=n.length,r,t;if(0<i){for(r=Array(i),t=0;t<i;t++)r[t]=n[t];return r}return[]}function vri(n,t,i){return 2>=arguments.length?Array.prototype.slice.call(n,t):Array.prototype.slice.call(n,t,i)}function nrt(n){return Array.isArray(n)?n:dlt(n)}function bo(n){var t,i,r;return"string"!=typeof n&&(t=n[0],t!=(t|0)&&(t=t+.5|0),i=n[1],i!=(i|0)&&(i=i+.5|0),r=n[2],r!=(r|0)&&(r=r+.5|0),n="rgba("+t+","+i+","+r+","+(void 0===n[3]?1:n[3])+")"),n}function glt(n,t){var i=t||[];return i[0]=uo(n[0]+.5|0,0,255),i[1]=uo(n[1]+.5|0,0,255),i[2]=uo(n[2]+.5|0,0,255),i[3]=uo(n[3],0,1),i}function ny(n){return"string"==typeof n||n instanceof CanvasPattern||n instanceof CanvasGradient?n:bo(n)}function ds(n){return-1!=vp.indexOf(n)}function lf(n,t){var i=document.createElement("CANVAS");return n&&(i.width=n),t&&(i.height=t),i.getContext("2d")}function rat(n,t){var i=n.style,r,u;if(i.WebkitTransform=t,i.MozTransform=t,i.b=t,i.msTransform=t,i.transform=t,(i=rrt)&&!(i=ert["9.0"])){for(var i=0,e=kht(String(urt)).split("."),o=kht("9.0").split("."),s=Math.max(e.length,o.length),f=0;0==i&&f<s;f++){var h=e[f]||"",c=o[f]||"",l=RegExp("(\\d*)(\\D*)","g"),a=RegExp("(\\d*)(\\D*)","g");do{if(r=l.exec(h)||["","",""],u=a.exec(c)||["","",""],0==r[0].length&&0==u[0].length)break;i=ott(0==r[1].length?0:parseInt(r[1],10),0==u[1].length?0:parseInt(u[1],10))||ott(0==r[2].length,0==u[2].length)||ott(r[2],u[2])}while(0==i)}i=ert["9.0"]=0<=i}i&&(n.style.transformOrigin="0 0")}function ort(n,t){var i,r,u;if(iat()){for(r=Array(16),i=0;16>i;++i)r[i]=t[i].toFixed(6);rat(n,"matrix3d("+r.join(",")+")")}else if(tat()){for(r=[t[0],t[1],t[4],t[5],t[12],t[13]],u=Array(6),i=0;6>i;++i)u[i]=r[i].toFixed(6);rat(n,"matrix("+u.join(",")+")")}else n.style.left=Math.round(t[12])+"px",n.style.top=Math.round(t[13])+"px"}function yp(n,t){var i=t.parentNode;i&&i.replaceChild(n,t)}function kc(n){n&&n.parentNode&&n.parentNode.removeChild(n)}function sg(n){for(;n.lastChild;)n.removeChild(n.lastChild)}function so(n,t,i){vr.call(this,n);this.map=t;this.frameState=void 0!==i?i:null}function dt(n){si.call(this);this.element=n.element?n.element:null;this.a=this.S=null;this.s=[];this.render=n.render?n.render:ne;n.target&&this.c(n.target)}function hg(){this.g=0;this.f={};this.a=this.b=null}function ic(n,t){return n.f.hasOwnProperty(t)}function uat(n,t,i,r){return void 0!==r?(r[0]=n,r[1]=t,r[2]=i,r):[n,t,i]}function gri(n){for(var r=n[0],f=Array(r),u=1<<r-1,i,t=0;t<r;++t)i=48,n[1]&u&&(i+=1),n[2]&u&&(i+=2),f[t]=String.fromCharCode(i),u>>=1;return f.join("")}function cg(n){hg.call(this);this.c=void 0!==n?n:2048}function lg(n){return n.wc()>n.c}function ke(n,t){fo.call(this);this.ma=n;this.state=t;this.a=null;this.key=""}function dc(n){n.b("change")}function fat(n,t,i){return void 0===i&&(i=[0,0]),i[0]=n[0]+2*t,i[1]=n[1]+2*t,i}function srt(n,t,i){return void 0===i&&(i=[0,0]),i[0]=n[0]*t+.5|0,i[1]=n[1]*t+.5|0,i}function fs(n,t){return Array.isArray(n)?n:(void 0===t?t=[n,n]:(t[0]=n,t[1]=n),t)}function ir(n){si.call(this);this.f=yi(n.projection);this.l=eat(n.attributions);this.R=n.logo;this.za=void 0!==n.state?n.state:"ready";this.D=void 0!==n.wrapX?n.wrapX:!1}function eat(n){var i;if("string"==typeof n)return[new hh({html:n})];if(n instanceof hh)return[n];if(Array.isArray(n)){for(var r=n.length,u=Array(r),t=0;t<r;t++)i=n[t],u[t]="string"==typeof i?new hh({html:i}):i;return u}return null}function rc(n,t){n.za=t;n.u()}function af(n){this.minZoom=void 0!==n.minZoom?n.minZoom:0;this.b=n.resolutions;this.maxZoom=this.b.length-1;this.g=void 0!==n.origin?n.origin:null;this.c=null;void 0!==n.origins&&(this.c=n.origins);var t=n.extent;void 0===t||this.g||this.c||(this.g=sh(t));this.i=null;void 0!==n.tileSizes&&(this.i=n.tileSizes);this.o=void 0!==n.tileSize?n.tileSize:this.i?null:256;this.s=void 0!==t?t:null;this.a=null;this.f=[0,0];void 0!==n.sizes?this.a=n.sizes.map(function(n){return new gv(Math.min(0,n[0]),Math.max(n[0]-1,-1),Math.min(0,n[1]),Math.max(n[1]-1,-1))},this):t&&nui(this,t)}function hrt(n,t,i,r,u){for(u=n.Ea(t,u),t=t[0]-1;t>=n.minZoom;){if(i.call(null,t,ch(n,u,t,r)))return!0;--t}return!1}function crt(n,t,i,r){return t[0]<n.maxZoom?(r=n.Ea(t,r),ch(n,r,t[0]+1,i)):null}function ag(n,t,i,r){vg(n,t[0],t[1],i,!1,ty);var u=ty[1],f=ty[2];return vg(n,t[2],t[3],i,!0,ty),n=ty[1],t=ty[2],void 0!==r?(r.ca=u,r.ea=n,r.fa=f,r.ga=t):r=new gv(u,n,f,t),r}function ch(n,t,i,r){return i=n.$(i),ag(n,t,i,r)}function lrt(n,t){var i=n.Ia(t[0]),r=n.$(t[0]),u=fs(n.Ja(t[0]),n.f);return[i[0]+(t[1]+.5)*u[0]*r,i[1]+(t[2]+.5)*u[1]*r]}function vg(n,t,i,r,u,f){var e=n.Lb(r),o=r/n.$(e),s=n.Ia(e);return n=fs(n.Ja(e),n.f),t=o*Math.floor((t-s[0])/r+(u?.5:0))/n[0],i=o*Math.floor((i-s[1])/r+(u?0:.5))/n[1],u?(t=Math.ceil(t)-1,i=Math.ceil(i)-1):(t=Math.floor(t),i=Math.floor(i)),uat(e,t,i,f)}function nui(n,t){for(var r=n.b.length,u=Array(r),i=n.minZoom;i<r;++i)u[i]=ch(n,t,i);n.a=u}function oat(n){var t=n.l;if(!t){var t=iy(n),i=sat(t,void 0,void 0),t=new af({extent:t,origin:sh(t),resolutions:i,tileSize:void 0});n.l=t}return t}function cb(n){var t={};return sr(t,void 0!==n?n:{}),void 0===t.extent&&(t.extent=yi("EPSG:3857").H()),t.resolutions=sat(t.extent,t.maxZoom,t.tileSize),delete t.maxZoom,new af(t)}function sat(n,t,i){t=void 0!==t?t:42;var r=be(n);for(n=ef(n),i=fs(void 0!==i?i:256),i=Math.max(n/i[0],r/i[1]),t+=1,r=Array(t),n=0;n<t;++n)r[n]=i/Math.pow(2,n);return r}function iy(n){n=yi(n);var t=n.H();return t||(n=180*cl.degrees/n.$b(),t=ac(-n,-n,n,n)),t}function ki(n){ir.call(this,{attributions:n.attributions,extent:n.extent,logo:n.logo,projection:n.projection,state:n.state,wrapX:n.wrapX});this.ia=void 0!==n.opaque?n.opaque:!1;this.ta=void 0!==n.tilePixelRatio?n.tilePixelRatio:1;this.tileGrid=void 0!==n.tileGrid?n.tileGrid:null;this.a=new cg(n.cacheSize);this.o=[0,0];this.cc=""}function hat(n,t,i,r,u){var h,f,e,o,s;if(t=n.pd(t),!t)return!1;for(h=!0,o=r.ca;o<=r.ea;++o)for(s=r.fa;s<=r.ga;++s)f=n.Eb(i,o,s),e=!1,ic(t,f)&&(f=t.get(f),(e=2===f.V())&&(e=!1!==u(f))),e||(h=!1);return h}function lb(n,t){n.cc!==t&&(n.cc=t,n.u())}function pp(n,t,i){var u=void 0!==i?i:n.f,r,f;return i=n.eb(u),n.D&&u.g&&(r=t,t=r[0],n=lrt(i,r),u=iy(u),ytt(u,n)?t=r:(r=ef(u),n[0]+=r*Math.ceil((u[0]-n[0])/r),t=i.qd(n,t))),r=t[0],u=t[1],n=t[2],i.minZoom>r||r>i.maxZoom?i=!1:(f=i.H(),i=(i=f?ch(i,f,r):i.a?i.a[r]:null)?blt(i,u,n):!0),i?t:null}function gs(n,t){vr.call(this,n);this.tile=t}function or(n){var r,t;n=n?n:{};this.R=document.createElement("UL");this.v=document.createElement("LI");this.R.appendChild(this.v);this.v.style.display="none";this.f=void 0!==n.collapsed?n.collapsed:!0;this.o=void 0!==n.collapsible?n.collapsible:!0;this.o||(this.f=!1);var u=void 0!==n.className?n.className:"ol-attribution",i=void 0!==n.tipLabel?n.tipLabel:"Attributions",t=void 0!==n.collapseLabel?n.collapseLabel:"»";"string"==typeof t?(this.A=document.createElement("span"),this.A.textContent=t):this.A=t;t=void 0!==n.label?n.label:"i";"string"==typeof t?(this.C=document.createElement("span"),this.C.textContent=t):this.C=t;r=this.o&&!this.f?this.A:this.C;t=document.createElement("button");t.setAttribute("type","button");t.title=i;t.appendChild(r);e(t,"click",this.am,this);i=document.createElement("div");i.className=u+" ol-unselectable ol-control"+(this.f&&this.o?" ol-collapsed":"")+(this.o?"":" ol-uncollapsible");i.appendChild(this.R);i.appendChild(t);dt.call(this,{element:i,render:n.render?n.render:cat,target:n.target});this.D=!0;this.j={};this.l={};this.T={}}function cat(n){var ft,et,p,ot,e,s,w,c,b,t,o,l;if(n=n.frameState){for(var u,tt,k,v,a,h,d,it,f,rt=n.layerStatesArray,g=sr({},n.attributions),y={},ut=n.viewState.projection,r=0,i=rt.length;r<i;r++)if((v=rt[r].layer.ha())&&(it=nt(v).toString(),d=v.l))for(u=0,tt=d.length;u<tt;u++)if(a=d[u],h=nt(a).toString(),!(h in g)){if(k=n.usedTiles[it]){ft=v.eb(ut);n:{if(f=a,et=ut,f.b){s=void 0;for(s in k)if(s in f.b)for(e=k[s],p=0,ot=f.b[s].length;p<ot;++p){if(w=f.b[s][p],dit(w,e)){f=!0;break n}if(c=ch(ft,iy(et),parseInt(s,10)),b=c.ea-c.ca+1,(e.ca<c.ca||e.ea>c.ea)&&(dit(w,new gv(el(e.ca,b),el(e.ea,b),e.fa,e.ga))||e.ea-e.ca+1>b&&dit(w,c))){f=!0;break n}}f=!1}else f=!0}}else f=!1;f?(h in y&&delete y[h],g[h]=a):y[h]=a}i=[g,y];r=i[0];i=i[1];for(t in this.j)t in r?(this.l[t]||(this.j[t].style.display="",this.l[t]=!0),delete r[t]):t in i?(this.l[t]&&(this.j[t].style.display="none",delete this.l[t]),delete i[t]):(kc(this.j[t]),delete this.j[t],delete this.l[t]);for(t in r)u=document.createElement("LI"),u.innerHTML=r[t].a,this.R.appendChild(u),this.j[t]=u,this.l[t]=!0;for(t in i)u=document.createElement("LI"),u.innerHTML=i[t].a,u.style.display="none",this.R.appendChild(u),this.j[t]=u;t=!co(this.l)||!co(n.logos);this.D!=t&&(this.element.style.display=t?"":"none",this.D=t);t&&co(this.l)?this.element.classList.add("ol-logo-only"):this.element.classList.remove("ol-logo-only");n=n.logos;t=this.T;for(o in t)o in n||(kc(t[o]),delete t[o]);for(l in n)i=n[l],i instanceof HTMLElement&&(this.v.appendChild(i),t[l]=i),l in t||(o=new Image,o.src=l,""===i?r=o:(r=document.createElement("a"),r.href=i,r.appendChild(o)),this.v.appendChild(r),t[l]=r);this.v.style.display=co(n)?"none":""}else this.D&&(this.element.style.display="none",this.D=!1)}function art(n){n.element.classList.toggle("ol-collapsed");n.f?yp(n.A,n.C):yp(n.C,n.A);n.f=!n.f}function ou(n){var r,i,t;n=n?n:{};r=void 0!==n.className?n.className:"ol-rotate";t=void 0!==n.label?n.label:"⇧";this.f=null;"string"==typeof t?(this.f=document.createElement("span"),this.f.className="ol-compass",this.f.textContent=t):(this.f=t,this.f.classList.add("ol-compass"));i=n.tipLabel?n.tipLabel:"Reset rotation";t=document.createElement("button");t.className=r+"-reset";t.setAttribute("type","button");t.title=i;t.appendChild(this.f);e(t,"click",ou.prototype.A,this);i=document.createElement("div");i.className=r+" ol-unselectable ol-control";i.appendChild(t);r=n.render?n.render:lat;this.o=n.resetNorth?n.resetNorth:void 0;dt.call(this,{element:i,render:r,target:n.target});this.j=void 0!==n.duration?n.duration:250;this.l=void 0!==n.autoHide?n.autoHide:!0;this.v=void 0;this.l&&this.element.classList.add("ol-hidden")}function lat(n){var t,i;(n=n.frameState)&&(n=n.viewState.rotation,n!=this.v&&(t="rotate("+n+"rad)",this.l&&(i=this.element.classList.contains("ol-hidden"),i||0!==n?i&&0!==n&&this.element.classList.remove("ol-hidden"):this.element.classList.add("ol-hidden")),this.f.style.msTransform=t,this.f.style.webkitTransform=t,this.f.style.transform=t),this.v=n)}function uu(n){n=n?n:{};var u=void 0!==n.className?n.className:"ol-zoom",i=void 0!==n.delta?n.delta:1,t=void 0!==n.zoomInLabel?n.zoomInLabel:"+",f=void 0!==n.zoomOutLabel?n.zoomOutLabel:"−",o=void 0!==n.zoomInTipLabel?n.zoomInTipLabel:"Zoom in",s=void 0!==n.zoomOutTipLabel?n.zoomOutTipLabel:"Zoom out",r=document.createElement("button");r.className=u+"-in";r.setAttribute("type","button");r.title=o;r.appendChild("string"==typeof t?document.createTextNode(t):t);e(r,"click",uu.prototype.l.bind(this,i));t=document.createElement("button");t.className=u+"-out";t.setAttribute("type","button");t.title=s;t.appendChild("string"==typeof f?document.createTextNode(f):f);e(t,"click",uu.prototype.l.bind(this,-i));i=document.createElement("div");i.className=u+" ol-unselectable ol-control";i.appendChild(r);i.appendChild(t);dt.call(this,{element:i,target:n.target});this.f=void 0!==n.duration?n.duration:250}function aat(n){n=n?n:{};var t=new vt;return(void 0!==n.zoom?n.zoom:1)&&t.push(new uu(n.zoomOptions)),(void 0!==n.rotate?n.rotate:1)&&t.push(new ou(n.rotateOptions)),(void 0!==n.attribution?n.attribution:1)&&t.push(new or(n.attributionOptions)),t}function su(n){var i,t;n=n?n:{};this.f=void 0!==n.className?n.className:"ol-full-screen";t=void 0!==n.label?n.label:"⤢";this.o="string"==typeof t?document.createTextNode(t):t;t=void 0!==n.labelActive?n.labelActive:"×";this.j="string"==typeof t?document.createTextNode(t):t;i=n.tipLabel?n.tipLabel:"Toggle full-screen";t=document.createElement("button");t.className=this.f+"-"+vrt();t.setAttribute("type","button");t.title=i;t.appendChild(this.o);e(t,"click",this.C,this);i=document.createElement("div");i.className=this.f+" ol-unselectable ol-control "+(vat()?"":"ol-unsupported");i.appendChild(t);dt.call(this,{element:i,target:n.target});this.A=void 0!==n.keys?n.keys:!1;this.l=n.source}function vat(){var n=document.body;return!!(n.webkitRequestFullscreen||n.mozRequestFullScreen&&document.mozFullScreenEnabled||n.msRequestFullscreen&&document.msFullscreenEnabled||n.requestFullscreen&&document.fullscreenEnabled)}function vrt(){return!!(document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||document.fullscreenElement)}function yat(n){n.requestFullscreen?n.requestFullscreen():n.msRequestFullscreen?n.msRequestFullscreen():n.mozRequestFullScreen?n.mozRequestFullScreen():n.webkitRequestFullscreen&&n.webkitRequestFullscreen()}function hr(n){n=n?n:{};var t=document.createElement("DIV");t.className=void 0!==n.className?n.className:"ol-mouse-position";dt.call(this,{element:t,render:n.render?n.render:wat,target:n.target});e(this,cf("projection"),this.dm,this);n.coordinateFormat&&this.ei(n.coordinateFormat);n.projection&&this.ih(yi(n.projection));this.v=void 0!==n.undefinedHTML?n.undefinedHTML:"";this.j=t.innerHTML;this.o=this.l=this.f=null}function wat(n){n=n.frameState;n?this.f!=n.viewState.projection&&(this.f=n.viewState.projection,this.l=null):this.f=null;yrt(this,this.o)}function yrt(n,t){var r=n.v,i;t&&n.f&&(n.l||(i=n.hh(),n.l=i?va(n.f,i):nit),(i=n.a.Ma(t))&&(n.l(i,i),r=(r=n.Cg())?r(i):i.toString()));n.j&&r==n.j||(n.element.innerHTML=r,n.j=r)}function prt(n,t){var i=n;t&&(i=ld(n,t));"function"!=pht(hc.setImmediate)||hc.Window&&hc.Window.prototype&&!ds("Edge")&&hc.Window.prototype.setImmediate==hc.setImmediate?(wrt||(wrt=tui()),wrt(i)):hc.setImmediate(i)}function tui(){var t=hc.MessageChannel;if("undefined"==typeof t&&"undefined"!=typeof window&&window.postMessage&&window.addEventListener&&!ds("Presto")&&(t=function(){var n=document.createElement("IFRAME"),t;n.style.display="none";n.src="";document.documentElement.appendChild(n);t=n.contentWindow;n=t.document;n.open();n.write("");n.close();var r="callImmediate"+Math.random(),i="file:"==t.location.protocol?"*":t.location.protocol+"//"+t.location.host,n=ld(function(n){("*"==i||n.origin==i)&&n.data==r&&this.port1.onmessage()},this);t.addEventListener("message",n,!1);this.port1={};this.port2={postMessage:function(){t.postMessage(r,i)}}}),"undefined"!=typeof t&&!ds("Trident")&&!ds("MSIE")){var r=new t,n={},i=n;return r.port1.onmessage=function(){if(void 0!==n.next){n=n.next;var t=n.rg;n.rg=null;t()}},function(n){i.next={rg:n};i=i.next;r.port2.postMessage(0)}}return"undefined"!=typeof document&&"onreadystatechange"in document.createElement("SCRIPT")?function(n){var t=document.createElement("SCRIPT");t.onreadystatechange=function(){t.onreadystatechange=null;t.parentNode.removeChild(t);t=null;n();n=null};document.documentElement.appendChild(t)}:function(n){hc.setTimeout(n,0)}}function lh(n,t,i){vr.call(this,n);this.b=t;n=i?i:{};this.buttons=iui(n);this.pressure=rui(n,this.buttons);this.bubbles="bubbles"in n?n.bubbles:!1;this.cancelable="cancelable"in n?n.cancelable:!1;this.view="view"in n?n.view:null;this.detail="detail"in n?n.detail:null;this.screenX="screenX"in n?n.screenX:0;this.screenY="screenY"in n?n.screenY:0;this.clientX="clientX"in n?n.clientX:0;this.clientY="clientY"in n?n.clientY:0;this.button="button"in n?n.button:0;this.relatedTarget="relatedTarget"in n?n.relatedTarget:null;this.pointerId="pointerId"in n?n.pointerId:0;this.width="width"in n?n.width:0;this.height="height"in n?n.height:0;this.pointerType="pointerType"in n?n.pointerType:"";this.isPrimary="isPrimary"in n?n.isPrimary:!1;t.preventDefault&&(this.preventDefault=function(){t.preventDefault()})}function iui(n){if(n.buttons||brt)n=n.buttons;else switch(n.which){case 1:n=1;break;case 2:n=4;break;case 3:n=2;break;default:n=0}return n}function rui(n,t){return n.pressure?n.pressure:t?.5:0}function bat(n,t){for(var r,u=krt.length,i=0;i<u;++i)try{if(r=n.getContext(krt[i],t))return r}catch(f){}return null}function wa(n,t){this.b=n;this.c=t}function nut(n){wa.call(this,n,{mousedown:this.rl,mousemove:this.sl,mouseup:this.vl,mouseover:this.ul,mouseout:this.tl});this.a=n.g;this.g=[]}function vb(n,t){for(var f,u=n.g,e=t.clientX,o=t.clientY,i=0,s=u.length,r;i<s&&(r=u[i]);i++)if(f=Math.abs(o-r[1]),25>=Math.abs(e-r[0])&&25>=f)return!0;return!1}function bp(n){var t=uut(n,n),i=t.preventDefault;return t.preventDefault=function(){n.preventDefault();i()},t.pointerId=1,t.isPrimary=!0,t.pointerType="mouse",t}function tut(n){wa.call(this,n,{MSPointerDown:this.Al,MSPointerMove:this.Bl,MSPointerUp:this.El,MSPointerOut:this.Cl,MSPointerOver:this.Dl,MSPointerCancel:this.zl,MSGotPointerCapture:this.xl,MSLostPointerCapture:this.yl});this.a=n.g;this.g=["","unavailable","touch","pen","mouse"]}function kp(n,t){var i=t;return av(t.pointerType)&&(i=uut(t,t),i.pointerType=n.g[t.pointerType]),i}function iut(n){wa.call(this,n,{pointerdown:this.lo,pointermove:this.mo,pointerup:this.po,pointerout:this.no,pointerover:this.oo,pointercancel:this.ko,gotpointercapture:this.Gk,lostpointercapture:this.ql})}function rut(n,t){wa.call(this,n,{touchstart:this.sp,touchmove:this.rp,touchend:this.qp,touchcancel:this.pp});this.a=n.g;this.l=t;this.g=void 0;this.i=0;this.f=void 0}function sui(n,t,i){return t=uut(t,i),t.pointerId=i.identifier+2,t.bubbles=!0,t.cancelable=!0,t.detail=n.i,t.button=0,t.buttons=1,t.width=i.webkitRadiusX||i.radiusX||0,t.height=i.webkitRadiusY||i.radiusY||0,t.pressure=i.webkitForce||i.force||.5,t.isPrimary=n.g===i.identifier,t.pointerType="touch",t.clientX=i.clientX,t.clientY=i.clientY,t.screenX=i.screenX,t.screenY=i.screenY,t}function wg(n,t,i){function e(){t.preventDefault()}for(var f=Array.prototype.slice.call(t.changedTouches),o=f.length,u,r=0;r<o;++r)u=sui(n,t,f[r]),u.preventDefault=e,i.call(n,t,u)}function uvt(n,t){var u=n.l.g,i=t.changedTouches[0],r;n.g===i.identifier&&(r=[i.clientX,i.clientY],u.push(r),tr.setTimeout(function(){ect(u,r)},2500))}function ry(n){fo.call(this);this.i=n;this.g={};this.c={};this.a=[];eui?bg(this,new iut(this)):oui?bg(this,new tut(this)):(n=new nut(this),bg(this,n),grt&&bg(this,new rut(this,n)));n=this.a.length;for(var i,t=0;t<n;t++)i=this.a[t],hui(this,Object.keys(i.c))}function bg(n,t){var i=Object.keys(t.c);i&&(i.forEach(function(n){var i=t.c[n];i&&(this.c[n]=i.bind(t))},n),n.a.push(t))}function hui(n,t){t.forEach(function(n){e(this.i,n,this.f,this)},n)}function cui(n,t){t.forEach(function(n){bh(this.i,n,this.f,this)},n)}function uut(n,t){for(var u={},i,r=0,f=hut.length;r<f;r++)i=hut[r][0],u[i]=n[i]||t[i]||hut[r][1];return u}function fut(n,t,i){n.out(t,i);var r=t.target,u=t.relatedTarget;r&&u&&r.contains(u)||(t.bubbles=!1,de(n,out,t,i))}function eut(n,t,i){t.bubbles=!0;de(n,fvt,t,i);var r=t.target,u=t.relatedTarget;r&&u&&r.contains(u)||(t.bubbles=!1,de(n,evt,t,i))}function de(n,t,i,r){n.b(new lh(t,r,i))}function ba(n,t){n.b(new lh(t.type,t,t))}function kf(n,t,i,r,u){so.call(this,n,t,u);this.originalEvent=i;this.pixel=t.Td(i);this.coordinate=t.Ma(this.pixel);this.dragging=void 0!==r?r:!1}function sf(n,t,i,r,u){kf.call(this,n,t,i.b,r,u);this.b=i}function cut(n){fo.call(this);this.f=n;this.l=0;this.o=!1;this.c=[];this.g=null;n=this.f.a;this.U=0;this.v={};this.i=new ry(n);this.a=null;this.j=e(this.i,yb,this.$k,this);this.s=e(this.i,dp,this.No,this)}function aui(n,t){var i;i=new sf(lut,n.f,t);n.b(i);0!==n.l?(tr.clearTimeout(n.l),n.l=0,i=new sf(bb,n.f,t),n.b(i)):n.l=tr.setTimeout(function(){this.l=0;var n=new sf(wb,this.f,t);this.b(n)}.bind(n),250)}function ovt(n,t){t.type==fy||t.type==aut?delete n.v[t.pointerId]:t.type==uy&&(n.v[t.pointerId]=!0);n.U=Object.keys(n.v).length}function hi(n){si.call(this);var t=sr({},n);t.opacity=void 0!==n.opacity?n.opacity:1;t.visible=void 0!==n.visible?n.visible:!0;t.zIndex=void 0!==n.zIndex?n.zIndex:0;t.maxResolution=void 0!==n.maxResolution?n.maxResolution:Infinity;t.minResolution=void 0!==n.minResolution?n.minResolution:0;this.G(t)}function db(n){var t=n.Pb(),i=n.kf(),r=n.xb(),u=n.H(),f=n.Qb(),e=n.Nb(),o=n.Ob();return{layer:n,opacity:uo(t,0,1),R:i,visible:r,Qc:!0,extent:u,zIndex:f,maxResolution:e,minResolution:Math.max(o,0)}}function gb(){}function re(n,t,i,r,u,f){vr.call(this,n,t);this.vectorContext=i;this.frameState=r;this.context=u;this.glContext=f}function yt(n){var t=sr({},n);delete t.source;hi.call(this,t);this.v=this.j=this.o=null;n.map&&this.setMap(n.map);e(this,cf("source"),this.fl,this);this.Fc(n.source?n.source:null)}function ka(n,t){return n.visible&&t>=n.minResolution&&t<n.maxResolution}function gc(n,t,i,r,u){fo.call(this);this.l=u;this.extent=n;this.f=i;this.resolution=t;this.state=r}function ey(n){n.b("change")}function ye(n,t,i,r,u,f,e,o){return ya(n),0===t&&0===i||wc(n,t,i),1==r&&1==u||na(n,r,u),0!==f&&rg(n,f),0===e&&0===o||wc(n,e,o),n}function vut(n,t){return n[0]==t[0]&&n[1]==t[1]&&n[4]==t[4]&&n[5]==t[5]&&n[12]==t[12]&&n[13]==t[13]}function ko(n,t,i){var u=n[1],f=n[5],e=n[13],r=t[0];return t=t[1],i[0]=n[0]*r+n[4]*t+n[12],i[1]=u*r+f*t+e,i}function ce(n){ae.call(this);this.a=n}function yut(n,t){var i=t.V();return 2!=i&&3!=i&&e(t,"change",n.Om,n),0==i&&(t.load(),i=t.V()),2==i}function nk(n){var t=n.a;t.xb()&&"ready"==t.kf()&&n.u()}function put(n,t){t.Ah()&&n.postRenderFunctions.push(function(n,t,i){t=nt(n).toString();n.Lc(i.viewState.projection,i.usedTiles[t])}.bind(null,t))}function nw(n,t){if(t)for(var r,i=0,u=t.length;i<u;++i)r=t[i],n[nt(r).toString()]=r}function ta(n,t){var i=t.R;void 0!==i&&("string"==typeof i?n.logos[i]="":ftt(i)&&(n.logos[i.src]=i.href))}function wut(n,t,i,r){t=nt(t).toString();i=i.toString();t in n?i in n[t]?(n=n[t][i],r.ca<n.ca&&(n.ca=r.ca),r.ea>n.ea&&(n.ea=r.ea),r.fa<n.fa&&(n.fa=r.fa),r.ga>n.ga&&(n.ga=r.ga)):n[t][i]=r:(n[t]={},n[t][i]=r)}function but(n,t,i){return[t*(Math.round(n[0]/t)+i[0]%2/2),t*(Math.round(n[1]/t)+i[1]%2/2)]}function kut(n,t,i,r,u,f,e,o,s,h){var p=nt(t).toString(),w,b,l,a,k,v,y,c;for((p in n.wantedTiles)||(n.wantedTiles[p]={}),w=n.wantedTiles[p],n=n.tileQueue,b=i.minZoom,c=e;c>=b;--c)for(a=ch(i,f,c,a),k=i.$(c),v=a.ca;v<=a.ea;++v)for(y=a.fa;y<=a.ga;++y)e-c<=o?(l=t.ac(c,v,y,r,u),0==l.V()&&(w[l.ma.toString()]=!0,l.ib()in n.g||n.f([l,p,lrt(i,l.ma),k])),void 0!==s&&s.call(h,l)):t.Yf(c,v,y,u)}function ie(n){this.v=n.opacity;this.U=n.rotateWithView;this.j=n.rotation;this.i=n.scale;this.C=n.snapToPixel}function ku(n){n=n||{};this.c=void 0!==n.anchor?n.anchor:[.5,.5];this.f=null;this.a=void 0!==n.anchorOrigin?n.anchorOrigin:"top-left";this.o=void 0!==n.anchorXUnits?n.anchorXUnits:"fraction";this.s=void 0!==n.anchorYUnits?n.anchorYUnits:"fraction";var u=void 0!==n.crossOrigin?n.crossOrigin:null,i=void 0!==n.img?n.img:null,o=void 0!==n.imgSize?n.imgSize:null,t=n.src;(void 0===t||0===t.length)&&i&&(t=i.src||nt(i).toString());var s=void 0!==n.src?0:2,f=void 0!==n.color?nrt(n.color):null,e=tw.Zb(),r=e.get(t,u,f);r||(r=new tk(i,t,o,u,s,f),e.set(t,u,f,r));this.b=r;this.D=void 0!==n.offset?n.offset:[0,0];this.g=void 0!==n.offsetOrigin?n.offsetOrigin:"top-left";this.l=null;this.A=void 0!==n.size?n.size:null;ie.call(this,{opacity:void 0!==n.opacity?n.opacity:1,rotation:void 0!==n.rotation?n.rotation:0,scale:void 0!==n.scale?n.scale:1,snapToPixel:void 0!==n.snapToPixel?n.snapToPixel:!0,rotateWithView:void 0!==n.rotateWithView?n.rotateWithView:!1})}function tk(n,t,i,r,u,f){fo.call(this);this.o=null;this.a=n?n:new Image;null!==r&&(this.a.crossOrigin=r);this.c=f?document.createElement("CANVAS"):null;this.l=f;this.i=null;this.f=u;this.g=i;this.j=t;this.s=!1;2==this.f&&hvt(this)}function hvt(n){var t=lf(1,1);try{t.drawImage(n.a,0,0);t.getImageData(0,0,1,1)}catch(i){n.s=!0}}function tw(){this.b={};this.a=0}function nl(n,t){this.i=t;this.g={};this.s={}}function dut(n){var t=n.viewState,i=n.coordinateToPixelMatrix;ye(i,n.size[0]/2,n.size[1]/2,1/t.resolution,-1/t.resolution,-t.rotation,-t.center[0],-t.center[1]);sb(i,n.pixelToCoordinateMatrix)}function gut(){var n=tw.Zb(),i,t,r;if(32<n.a){i=0;for(t in n.b)r=n.b[t],0!=(i++&3)||dh(r)||(delete n.b[t],--n.a)}}function ia(n,t){var i=nt(t).toString(),r;return i in n.g?n.g[i]:(r=n.Xe(t),n.g[i]=r,n.s[i]=e(r,"change",n.Rk,n),r)}function nft(n,t){for(var i in n.g)if(!(i in t.layerStates)){t.postRenderFunctions.push(n.To.bind(n));break}}function vui(n,t){return n.zIndex-t.zIndex}function da(n,t){this.j=n;this.l=t;this.b=[];this.a=[];this.g={}}function cvt(n){var t=n.b,i=n.a,r=t[0];return 1==t.length?(t.length=0,i.length=0):(t[0]=t.pop(),i[0]=i.pop(),lvt(n,0)),t=n.l(r),delete n.g[t],r}function lvt(n,t){for(var u=n.b,i=n.a,e=u.length,o=u[t],s=i[t],h=t;t<e>>1;){var r=2*t+1,f=2*t+2,r=f<e&&i[f]<i[r]?f:r;u[t]=u[r];i[t]=i[r];t=r}u[t]=o;i[t]=s;avt(n,h,t)}function avt(n,t,i){var u=n.b,e,f,r;for(n=n.a,e=u[i],f=n[i];i>t;)if(r=i-1>>1,n[r]>f)u[i]=u[r],n[i]=n[r],i=r;else break;u[i]=e;n[i]=f}function vvt(n){for(var t=n.j,i=n.b,o=n.a,r=0,s=i.length,u,e,f=0;f<s;++f)u=i[f],e=t(u),Infinity==e?delete n.g[n.l(u)]:(o[r]=e,i[r++]=u);for(i.length=r,o.length=r,t=(n.b.length>>1)-1;0<=t;t--)lvt(n,t)}function ik(n,t){da.call(this,function(t){return n.apply(null,t)},function(n){return n[0].ib()});this.s=t;this.i=0;this.c={}}function yvt(n,t,i){for(var f=0,r,u;n.i<t&&f<i&&0<n.wc();)r=cvt(n)[0],u=r.ib(),0!==r.V()||u in n.c||(n.c[u]=!0,++n.i,++f,r.load())}function pvt(n,t,i){this.f=n;this.g=t;this.i=i;this.b=[];this.a=this.c=0}function yui(n,t){var u=n.f,i=n.a,f=n.g-i,r=Math.log(n.g/n.a)/n.f;return dv({source:t,duration:r,easing:function(n){return i*(Math.exp(u*n*r)-1)/f}})}function vi(n){si.call(this);this.v=null;this.i(!0);this.handleEvent=n.handleEvent}function iw(n,t,i,r,u){if(void 0!==i){var f=t.La(),e=t.ab();void 0!==f&&e&&u&&0<u&&(n.Wa(kit({rotation:f,duration:u,easing:bc})),r&&n.Wa(dv({source:e,duration:u,easing:bc})));t.rotate(i,r)}}function tft(n,t,i,r,u){var f=t.$();i=t.constrainResolution(f,i,0);rk(n,t,i,r,u)}function rk(n,t,i,r,u){var f,e,o;i&&(f=t.$(),e=t.ab(),void 0!==f&&e&&i!==f&&u&&0<u&&(n.Wa(ap({resolution:f,duration:u,easing:bc})),r&&n.Wa(dv({source:e,duration:u,easing:bc}))),r&&(n=t.ab(),u=t.$(),void 0!==n&&void 0!==u&&(o=[r[0]-i*(r[0]-n[0])/u,r[1]-i*(r[1]-n[1])/u]),t.mb(o)),t.Ub(i))}function du(n){n=n?n:{};this.a=n.delta?n.delta:1;vi.call(this,{handleEvent:wvt});this.c=void 0!==n.duration?n.duration:250}function wvt(n){var t=!1,i=n.originalEvent;if(n.type==bb){var t=n.map,r=n.coordinate,i=i.shiftKey?-this.a:this.a,u=t.aa();tft(t,u,i,r,this.c);n.preventDefault();t=!0}return!t}function bvt(n){return n=n.originalEvent,n.altKey&&!(n.metaKey||n.ctrlKey)&&n.shiftKey}function kvt(n){return n=n.originalEvent,0==n.button&&!(nat&&kat&&n.ctrlKey)}function dvt(n){return"pointermove"==n.type}function ift(n){return n.type==wb}function uk(n){return n=n.originalEvent,!n.altKey&&!(n.metaKey||n.ctrlKey)&&!n.shiftKey}function fk(n){return n=n.originalEvent,!n.altKey&&!(n.metaKey||n.ctrlKey)&&n.shiftKey}function rft(n){return n=n.originalEvent.target.tagName,"INPUT"!==n&&"SELECT"!==n&&"TEXTAREA"!==n}function al(n){return"mouse"==n.b.pointerType}function gvt(n){return n=n.b,n.isPrimary&&0===n.button}function ei(n){n=n?n:{};vi.call(this,{handleEvent:n.handleEvent?n.handleEvent:ek});this.Oe=n.handleDownEvent?n.handleDownEvent:ks;this.Pe=n.handleDragEvent?n.handleDragEvent:ne;this.Mi=n.handleMoveEvent?n.handleMoveEvent:ne;this.tj=n.handleUpEvent?n.handleUpEvent:ks;this.C=!1;this.ia={};this.o=[]}function uft(n){for(var i=n.length,r=0,u=0,t=0;t<i;t++)r+=n[t].clientX,u+=n[t].clientY;return[r/i,u/i]}function ek(n){if(!(n instanceof sf))return!0;var i=!1,t=n.type;return(t===uy||t===gp||t===fy)&&(t=n.b,n.type==fy?delete this.ia[t.pointerId]:n.type==uy?this.ia[t.pointerId]=t:t.pointerId in this.ia&&(this.ia[t.pointerId]=t),this.o=vd(this.ia)),this.C&&(n.type==gp?this.Pe(n):n.type==fy&&(this.C=this.tj(n))),n.type==uy?(this.C=n=this.Oe(n),i=this.Gc(n)):n.type==kb&&this.Mi(n),!i}function lu(n){ei.call(this,{handleDownEvent:bui,handleDragEvent:pui,handleUpEvent:wui});n=n?n:{};this.a=n.kinetic;this.c=this.j=null;this.A=n.condition?n.condition:uk;this.s=!1}function pui(n){var i=uft(this.o),t,r;if(this.a&&this.a.b.push(i[0],i[1],Date.now()),this.c){t=this.c[0]-i[0];r=i[1]-this.c[1];n=n.map;var u=n.aa(),f=u.V(),r=t=[t,r],e=f.resolution;r[0]*=e;r[1]*=e;np(t,f.rotation);dy(t,f.center);t=u.Pd(t);n.render();u.mb(t)}this.c=i}function wui(n){var u,t,f,i,r;if(n=n.map,u=n.aa(),0===this.o.length){if(t=!this.s&&this.a)if(t=this.a,6>t.b.length)t=!1;else if(f=Date.now()-t.i,i=t.b.length-3,t.b[i+2]<f)t=!1;else{for(r=i-3;0<r&&t.b[r+2]>f;)r-=3;var f=t.b[i+2]-t.b[r+2],e=t.b[i]-t.b[r],i=t.b[i+1]-t.b[r+1];t.c=Math.atan2(i,e);t.a=Math.sqrt(e*e+i*i)/f;t=t.a>t.g}return t&&(t=this.a,t=(t.g-t.a)/t.f,i=this.a.c,r=u.ab(),this.j=yui(this.a,r),n.Wa(this.j),r=n.Ga(r),t=n.Ma([r[0]-t*Math.cos(i),r[1]-t*Math.sin(i)]),t=u.Pd(t),u.mb(t)),tc(u,-1),n.render(),!1}return this.c=null,!0}function bui(n){if(0<this.o.length&&this.A(n)){var t=n.map,i=t.aa();return this.c=null,this.C||tc(i,1),t.render(),this.j&&ect(t.R,this.j)&&(i.mb(n.frameState.viewState.center),this.j=null),this.a&&(n=this.a,n.b.length=0,n.c=0,n.a=0),this.s=1<this.o.length,!0}return!1}function au(n){n=n?n:{};ei.call(this,{handleDownEvent:gui,handleDragEvent:kui,handleUpEvent:dui});this.c=n.condition?n.condition:bvt;this.a=void 0;this.j=void 0!==n.duration?n.duration:250}function kui(n){var i,t,r,u;al(n)&&(i=n.map,t=i.Za(),n=n.pixel,t=Math.atan2(t[1]/2-n[1],n[0]-t[0]/2),void 0!==this.a&&(n=t-this.a,r=i.aa(),u=r.La(),i.render(),iw(i,r,u-n)),this.a=t)}function dui(n){var t;if(!al(n))return!0;n=n.map;t=n.aa();tc(t,-1);var i=t.La(),r=this.j,i=t.constrainRotation(i,0);return iw(n,t,i,void 0,r),!1}function gui(n){return al(n)&&kvt(n)&&this.c(n)?(n=n.map,tc(n.aa(),1),n.render(),this.a=void 0,!0):!1}function ok(n){this.f=null;this.a=document.createElement("div");this.a.style.position="absolute";this.a.className="ol-box "+n;this.g=this.c=this.b=null}function nyt(n){var t=n.c,i=n.g;n=n.a.style;n.left=Math.min(t[0],i[0])+"px";n.top=Math.min(t[1],i[1])+"px";n.width=Math.abs(i[0]-t[0])+"px";n.height=Math.abs(i[1]-t[1])+"px"}function tyt(n){var t=n.c,i=n.g,t=[t,[t[0],i[1]],i,[i[0],t[1]]].map(n.b.Ma,n.b);t[4]=t[0].slice();n.f?n.f.pa([t]):n.f=new l([t])}function es(n,t,i){vr.call(this,n);this.coordinate=t;this.mapBrowserEvent=i}function dr(n){ei.call(this,{handleDownEvent:rfi,handleDragEvent:tfi,handleUpEvent:ifi});n=n?n:{};this.a=new ok(n.className||"ol-dragbox");this.c=null;this.D=n.condition?n.condition:lo;this.A=n.boxEndCondition?n.boxEndCondition:nfi}function nfi(n,t,i){return n=i[0]-t[0],t=i[1]-t[1],64<=n*n+t*t}function tfi(n){if(al(n)){var t=this.a,i=n.pixel;t.c=this.c;t.g=i;tyt(t);nyt(t);this.b(new es("boxdrag",n.coordinate,n))}}function ifi(n){return al(n)?(this.a.setMap(null),this.A(n,this.c,n.pixel)&&(this.s(n),this.b(new es("boxend",n.coordinate,n))),!1):!0}function rfi(n){if(al(n)&&kvt(n)&&this.D(n)){this.c=n.pixel;this.a.setMap(n.map);var t=this.a,i=this.c;return t.c=this.c,t.g=i,tyt(t),nyt(t),this.b(new es("boxstart",n.coordinate,n)),!0}return!1}function fu(n){n=n?n:{};var t=n.condition?n.condition:fk;this.j=void 0!==n.duration?n.duration:200;this.R=void 0!==n.out?n.out:!1;dr.call(this,{condition:t,className:n.className||"ol-dragzoom"})}function gu(n){vi.call(this,{handleEvent:iyt});n=n||{};this.a=function(n){return uk(n)&&rft(n)};this.c=void 0!==n.condition?n.condition:this.a;this.o=void 0!==n.duration?n.duration:100;this.j=void 0!==n.pixelDelta?n.pixelDelta:128}function iyt(n){var i=!1,t;if("keydown"==n.type&&(t=n.originalEvent.keyCode,this.c(n)&&(40==t||37==t||39==t||38==t))){var f=n.map,i=f.aa(),r=i.$()*this.j,u=0,e=0;40==t?e=-r:37==t?u=-r:39==t?u=r:e=r;t=[u,e];np(t,i.La());r=this.o;(u=i.ab())&&(r&&0<r&&f.Wa(dv({source:u,duration:r,easing:plt})),f=i.Pd([u[0]+t[0],u[1]+t[1]]),i.mb(f));n.preventDefault();i=!0}return!i}function nf(n){vi.call(this,{handleEvent:ryt});n=n?n:{};this.c=n.condition?n.condition:rft;this.a=n.delta?n.delta:1;this.o=void 0!==n.duration?n.duration:100}function ryt(n){var t=!1,i,r;return("keydown"==n.type||"keypress"==n.type)&&(i=n.originalEvent.charCode,this.c(n)&&(43==i||45==i)&&(t=n.map,i=43==i?this.a:-this.a,t.render(),r=t.aa(),tft(t,r,i,void 0,this.o),n.preventDefault(),t=!0)),!t}function gr(n){vi.call(this,{handleEvent:uyt});n=n||{};this.c=0;this.C=void 0!==n.duration?n.duration:250;this.s=void 0!==n.useAnchor?n.useAnchor:!0;this.a=null;this.j=this.o=void 0}function uyt(n){var i=!1,r,t;return("wheel"==n.type||"mousewheel"==n.type)&&(i=n.map,r=n.originalEvent,this.s&&(this.a=n.coordinate),"wheel"==n.type?(t=r.deltaY,uui&&r.deltaMode===tr.WheelEvent.DOM_DELTA_PIXEL&&(t/=pg),r.deltaMode===tr.WheelEvent.DOM_DELTA_LINE&&(t*=40)):"mousewheel"==n.type&&(t=-r.wheelDeltaY,fui&&(t/=3)),this.c+=t,void 0===this.o&&(this.o=Date.now()),t=Math.max(80-(Date.now()-this.o),0),tr.clearTimeout(this.j),this.j=tr.setTimeout(this.A.bind(this,i),t),n.preventDefault(),i=!0),!i}function vu(n){ei.call(this,{handleDownEvent:efi,handleDragEvent:ufi,handleUpEvent:ffi});n=n||{};this.c=null;this.j=void 0;this.a=!1;this.s=0;this.D=void 0!==n.threshold?n.threshold:.3;this.A=void 0!==n.duration?n.duration:250}function ufi(n){var r=0,t=this.o[0],i=this.o[1],t=Math.atan2(i.clientY-t.clientY,i.clientX-t.clientX);void 0!==this.j&&(r=t-this.j,this.s+=r,!this.a&&Math.abs(this.s)>this.D&&(this.a=!0));this.j=t;n=n.map;t=n.a.getBoundingClientRect();i=uft(this.o);i[0]-=t.left;i[1]-=t.top;this.c=n.Ma(i);this.a&&(t=n.aa(),i=t.La(),n.render(),iw(n,t,i+r,this.c))}function ffi(n){var t;if(2>this.o.length){if(n=n.map,t=n.aa(),tc(t,-1),this.a){var i=t.La(),r=this.c,u=this.A,i=t.constrainRotation(i,0);iw(n,t,i,r,u)}return!1}return!0}function efi(n){return 2<=this.o.length?(n=n.map,this.c=null,this.j=void 0,this.a=!1,this.s=0,this.C||tc(n.aa(),1),n.render(),!0):!1}function yu(n){ei.call(this,{handleDownEvent:hfi,handleDragEvent:ofi,handleUpEvent:sfi});n=n?n:{};this.c=null;this.s=void 0!==n.duration?n.duration:400;this.a=void 0;this.j=1}function ofi(n){var u=1,i=this.o[0],r=this.o[1],t=i.clientX-r.clientX,i=i.clientY-r.clientY,t=Math.sqrt(t*t+i*i);void 0!==this.a&&(u=this.a/t);this.a=t;1!=u&&(this.j=u);n=n.map;var t=n.aa(),i=t.$(),r=n.a.getBoundingClientRect(),f=uft(this.o);f[0]-=r.left;f[1]-=r.top;this.c=n.Ma(f);n.render();rk(n,t,i*u,this.c)}function sfi(n){var t;if(2>this.o.length){n=n.map;t=n.aa();tc(t,-1);var i=t.$(),r=this.c,u=this.s,i=t.constrainResolution(i,0,this.j-1);return rk(n,t,i,r,u),!1}return!0}function hfi(n){return 2<=this.o.length?(n=n.map,this.c=null,this.a=void 0,this.j=1,this.C||tc(n.aa(),1),n.render(),!0):!1}function fyt(n){n=n?n:{};var t=new vt,i=new pvt(-.005,.05,100);return(void 0!==n.altShiftDragRotate?n.altShiftDragRotate:1)&&t.push(new au),(void 0!==n.doubleClickZoom?n.doubleClickZoom:1)&&t.push(new du({delta:n.zoomDelta,duration:n.zoomDuration})),(void 0!==n.dragPan?n.dragPan:1)&&t.push(new lu({kinetic:i})),(void 0!==n.pinchRotate?n.pinchRotate:1)&&t.push(new vu),(void 0!==n.pinchZoom?n.pinchZoom:1)&&t.push(new yu({duration:n.zoomDuration})),(void 0!==n.keyboard?n.keyboard:1)&&(t.push(new gu),t.push(new nf({delta:n.zoomDelta,duration:n.zoomDuration}))),(void 0!==n.mouseWheelZoom?n.mouseWheelZoom:1)&&t.push(new gr({duration:n.zoomDuration})),(void 0!==n.shiftDragZoom?n.shiftDragZoom:1)&&t.push(new fu({duration:n.zoomDuration})),t}function fi(n){var t=n||{};n=sr({},t);delete n.layers;t=t.layers;hi.call(this,n);this.f=[];this.a={};e(this,cf("layers"),this.Tk,this);t?Array.isArray(t)&&(t=new vt(t.slice())):t=new vt;this.oh(t)}function fft(n){of.call(this,{code:n,units:"m",extent:cfi,global:!0,worldExtent:lfi})}function afi(n,t,i){var u=n.length,r;for(i=1<i?i:2,void 0===t&&(t=2<i?n.slice():Array(u)),r=0;r<u;r+=i)t[r]=6378137*Math.PI*n[r]/180,t[r+1]=6378137*Math.log(Math.tan(Math.PI*(n[r+1]+90)/360));return t}function vfi(n,t,i){var u=n.length,r;for(i=1<i?i:2,void 0===t&&(t=2<i?n.slice():Array(u)),r=0;r<u;r+=i)t[r]=180*n[r]/(6378137*Math.PI),t[r+1]=360*Math.atan(Math.exp(n[r+1]/6378137))/Math.PI-90;return t}function vl(n,t){of.call(this,{code:n,units:"degrees",extent:oyt,axisOrientation:t,global:!0,metersPerUnit:yfi,worldExtent:oyt})}function hyt(){tg(eyt);tg(syt);fri()}function kt(n){yt.call(this,n?n:{})}function rt(n){n=n?n:{};var t=sr({},n);delete t.preload;delete t.useInterimTilesOnError;yt.call(this,t);this.l(void 0!==n.preload?n.preload:0);this.A(void 0!==n.useInterimTilesOnError?n.useInterimTilesOnError:!0)}function uc(n,t,i,r){0!==t&&(n.translate(i,r),n.rotate(t),n.translate(-i,-r))}function nh(n){n=n||{};this.b=void 0!==n.color?n.color:null;this.a=void 0}function cyt(n){return void 0===n.a&&(n.a=n.b instanceof CanvasPattern||n.b instanceof CanvasGradient?nt(n.b).toString():"f"+(n.b?bo(n.b):"-")),n.a}function oft(){this.a=-1}function rw(){this.a=64;this.b=Array(4);this.c=Array(this.a);this.b[0]=1732584193;this.b[1]=4023233417;this.b[2]=2562383102;this.b[3]=271733878;this.f=this.g=0}function sft(n,t,i){var e,u,f,r;if(i||(i=0),e=Array(16),cd(t))for(u=0;16>u;++u)e[u]=t.charCodeAt(i++)|t.charCodeAt(i++)<<8|t.charCodeAt(i++)<<16|t.charCodeAt(i++)<<24;else for(u=0;16>u;++u)e[u]=t[i++]|t[i++]<<8|t[i++]<<16|t[i++]<<24;t=n.b[0];i=n.b[1];u=n.b[2];f=n.b[3];r=t+(f^i&(u^f))+e[0]+3614090360&4294967295;t=i+(r<<7&4294967295|r>>>25);r=f+(u^t&(i^u))+e[1]+3905402710&4294967295;f=t+(r<<12&4294967295|r>>>20);r=u+(i^f&(t^i))+e[2]+606105819&4294967295;u=f+(r<<17&4294967295|r>>>15);r=i+(t^u&(f^t))+e[3]+3250441966&4294967295;i=u+(r<<22&4294967295|r>>>10);r=t+(f^i&(u^f))+e[4]+4118548399&4294967295;t=i+(r<<7&4294967295|r>>>25);r=f+(u^t&(i^u))+e[5]+1200080426&4294967295;f=t+(r<<12&4294967295|r>>>20);r=u+(i^f&(t^i))+e[6]+2821735955&4294967295;u=f+(r<<17&4294967295|r>>>15);r=i+(t^u&(f^t))+e[7]+4249261313&4294967295;i=u+(r<<22&4294967295|r>>>10);r=t+(f^i&(u^f))+e[8]+1770035416&4294967295;t=i+(r<<7&4294967295|r>>>25);r=f+(u^t&(i^u))+e[9]+2336552879&4294967295;f=t+(r<<12&4294967295|r>>>20);r=u+(i^f&(t^i))+e[10]+4294925233&4294967295;u=f+(r<<17&4294967295|r>>>15);r=i+(t^u&(f^t))+e[11]+2304563134&4294967295;i=u+(r<<22&4294967295|r>>>10);r=t+(f^i&(u^f))+e[12]+1804603682&4294967295;t=i+(r<<7&4294967295|r>>>25);r=f+(u^t&(i^u))+e[13]+4254626195&4294967295;f=t+(r<<12&4294967295|r>>>20);r=u+(i^f&(t^i))+e[14]+2792965006&4294967295;u=f+(r<<17&4294967295|r>>>15);r=i+(t^u&(f^t))+e[15]+1236535329&4294967295;i=u+(r<<22&4294967295|r>>>10);r=t+(u^f&(i^u))+e[1]+4129170786&4294967295;t=i+(r<<5&4294967295|r>>>27);r=f+(i^u&(t^i))+e[6]+3225465664&4294967295;f=t+(r<<9&4294967295|r>>>23);r=u+(t^i&(f^t))+e[11]+643717713&4294967295;u=f+(r<<14&4294967295|r>>>18);r=i+(f^t&(u^f))+e[0]+3921069994&4294967295;i=u+(r<<20&4294967295|r>>>12);r=t+(u^f&(i^u))+e[5]+3593408605&4294967295;t=i+(r<<5&4294967295|r>>>27);r=f+(i^u&(t^i))+e[10]+38016083&4294967295;f=t+(r<<9&4294967295|r>>>23);r=u+(t^i&(f^t))+e[15]+3634488961&4294967295;u=f+(r<<14&4294967295|r>>>18);r=i+(f^t&(u^f))+e[4]+3889429448&4294967295;i=u+(r<<20&4294967295|r>>>12);r=t+(u^f&(i^u))+e[9]+568446438&4294967295;t=i+(r<<5&4294967295|r>>>27);r=f+(i^u&(t^i))+e[14]+3275163606&4294967295;f=t+(r<<9&4294967295|r>>>23);r=u+(t^i&(f^t))+e[3]+4107603335&4294967295;u=f+(r<<14&4294967295|r>>>18);r=i+(f^t&(u^f))+e[8]+1163531501&4294967295;i=u+(r<<20&4294967295|r>>>12);r=t+(u^f&(i^u))+e[13]+2850285829&4294967295;t=i+(r<<5&4294967295|r>>>27);r=f+(i^u&(t^i))+e[2]+4243563512&4294967295;f=t+(r<<9&4294967295|r>>>23);r=u+(t^i&(f^t))+e[7]+1735328473&4294967295;u=f+(r<<14&4294967295|r>>>18);r=i+(f^t&(u^f))+e[12]+2368359562&4294967295;i=u+(r<<20&4294967295|r>>>12);r=t+(i^u^f)+e[5]+4294588738&4294967295;t=i+(r<<4&4294967295|r>>>28);r=f+(t^i^u)+e[8]+2272392833&4294967295;f=t+(r<<11&4294967295|r>>>21);r=u+(f^t^i)+e[11]+1839030562&4294967295;u=f+(r<<16&4294967295|r>>>16);r=i+(u^f^t)+e[14]+4259657740&4294967295;i=u+(r<<23&4294967295|r>>>9);r=t+(i^u^f)+e[1]+2763975236&4294967295;t=i+(r<<4&4294967295|r>>>28);r=f+(t^i^u)+e[4]+1272893353&4294967295;f=t+(r<<11&4294967295|r>>>21);r=u+(f^t^i)+e[7]+4139469664&4294967295;u=f+(r<<16&4294967295|r>>>16);r=i+(u^f^t)+e[10]+3200236656&4294967295;i=u+(r<<23&4294967295|r>>>9);r=t+(i^u^f)+e[13]+681279174&4294967295;t=i+(r<<4&4294967295|r>>>28);r=f+(t^i^u)+e[0]+3936430074&4294967295;f=t+(r<<11&4294967295|r>>>21);r=u+(f^t^i)+e[3]+3572445317&4294967295;u=f+(r<<16&4294967295|r>>>16);r=i+(u^f^t)+e[6]+76029189&4294967295;i=u+(r<<23&4294967295|r>>>9);r=t+(i^u^f)+e[9]+3654602809&4294967295;t=i+(r<<4&4294967295|r>>>28);r=f+(t^i^u)+e[12]+3873151461&4294967295;f=t+(r<<11&4294967295|r>>>21);r=u+(f^t^i)+e[15]+530742520&4294967295;u=f+(r<<16&4294967295|r>>>16);r=i+(u^f^t)+e[2]+3299628645&4294967295;i=u+(r<<23&4294967295|r>>>9);r=t+(u^(i|~f))+e[0]+4096336452&4294967295;t=i+(r<<6&4294967295|r>>>26);r=f+(i^(t|~u))+e[7]+1126891415&4294967295;f=t+(r<<10&4294967295|r>>>22);r=u+(t^(f|~i))+e[14]+2878612391&4294967295;u=f+(r<<15&4294967295|r>>>17);r=i+(f^(u|~t))+e[5]+4237533241&4294967295;i=u+(r<<21&4294967295|r>>>11);r=t+(u^(i|~f))+e[12]+1700485571&4294967295;t=i+(r<<6&4294967295|r>>>26);r=f+(i^(t|~u))+e[3]+2399980690&4294967295;f=t+(r<<10&4294967295|r>>>22);r=u+(t^(f|~i))+e[10]+4293915773&4294967295;u=f+(r<<15&4294967295|r>>>17);r=i+(f^(u|~t))+e[1]+2240044497&4294967295;i=u+(r<<21&4294967295|r>>>11);r=t+(u^(i|~f))+e[8]+1873313359&4294967295;t=i+(r<<6&4294967295|r>>>26);r=f+(i^(t|~u))+e[15]+4264355552&4294967295;f=t+(r<<10&4294967295|r>>>22);r=u+(t^(f|~i))+e[6]+2734768916&4294967295;u=f+(r<<15&4294967295|r>>>17);r=i+(f^(u|~t))+e[13]+1309151649&4294967295;i=u+(r<<21&4294967295|r>>>11);r=t+(u^(i|~f))+e[4]+4149444226&4294967295;t=i+(r<<6&4294967295|r>>>26);r=f+(i^(t|~u))+e[11]+3174756917&4294967295;f=t+(r<<10&4294967295|r>>>22);r=u+(t^(f|~i))+e[2]+718787259&4294967295;u=f+(r<<15&4294967295|r>>>17);r=i+(f^(u|~t))+e[9]+3951481745&4294967295;n.b[0]=n.b[0]+t&4294967295;n.b[1]=n.b[1]+(u+(r<<21&4294967295|r>>>11))&4294967295;n.b[2]=n.b[2]+u&4294967295;n.b[3]=n.b[3]+f&4294967295}function lyt(n,t){var u;void 0===u&&(u=t.length);for(var e=u-n.a,f=n.c,i=n.g,r=0;r<u;){if(0==i)for(;r<=e;)sft(n,t,r),r+=n.a;if(cd(t)){for(;r<u;)if(f[i++]=t.charCodeAt(r++),i==n.a){sft(n,f);i=0;break}}else for(;r<u;)if(f[i++]=t[r++],i==n.a){sft(n,f);i=0;break}}n.g=i;n.f+=u}function rf(n){n=n||{};this.b=void 0!==n.color?n.color:null;this.f=n.lineCap;this.g=void 0!==n.lineDash?n.lineDash:null;this.c=n.lineJoin;this.i=n.miterLimit;this.a=n.width;this.l=void 0}function ayt(n){var i,r,u,t,f;if(void 0===n.l){for(i="s"+(n.b?bo(n.b):"-")+","+(void 0!==n.f?n.f.toString():"-")+","+(n.g?n.g.toString():"-")+","+(void 0!==n.c?n.c:"-")+","+(void 0!==n.i?n.i.toString():"-")+","+(void 0!==n.a?n.a.toString():"-"),r=new rw,lyt(r,i),i=Array((56>r.g?r.a:2*r.a)-r.g),i[0]=128,t=1;t<i.length-8;++t)i[t]=0;for(u=8*r.f,t=i.length-8;t<i.length;++t)i[t]=u&255,u/=256;for(lyt(r,i),i=Array(16),t=u=0;4>t;++t)for(f=0;32>f;f+=8)i[u++]=r.b[t]>>>f&255;if(8192>=i.length)r=String.fromCharCode.apply(null,i);else for(r="",t=0;t<i.length;t+=8192)u=vri(i,t,t+8192),r+=String.fromCharCode.apply(null,u);n.l=r}return n.l}function vf(n){var i,r,o;n=n||{};this.l=this.f=this.c=null;this.g=void 0!==n.fill?n.fill:null;this.b=void 0!==n.stroke?n.stroke:null;this.a=n.radius;this.A=[0,0];this.s=this.D=this.o=null;var t=n.atlasManager,f,e=null,u,r=0;this.b&&(u=bo(this.b.b),r=this.b.a,void 0===r&&(r=1),e=this.b.g,wp||(e=null));i=2*(this.a+r)+1;u={strokeStyle:u,Bd:r,size:i,lineDash:e};void 0===t?(t=lf(i,i),this.f=t.canvas,f=i=this.f.width,this.Gh(u,t,0,0),this.g?this.l=this.f:(t=lf(u.size,u.size),this.l=t.canvas,this.Fh(u,t,0,0))):(i=Math.round(i),(e=!this.g)&&(f=this.Fh.bind(this,u)),r=this.b?ayt(this.b):"-",o=this.g?cyt(this.g):"-",this.c&&r==this.c[1]&&o==this.c[2]&&this.a==this.c[3]||(this.c=["c"+r+o+(void 0!==this.a?this.a.toString():"-"),r,o,this.a]),t=t.add(this.c[0],i,i,this.Gh.bind(this,u),f),this.f=t.image,this.A=[t.offsetX,t.offsetY],f=t.image.width,this.l=e?t.Sg:this.f);this.o=[i/2,i/2];this.D=[i,i];this.s=[f,f];ie.call(this,{opacity:1,rotateWithView:!1,rotation:0,scale:1,snapToPixel:void 0!==n.snapToPixel?n.snapToPixel:!0})}function yf(n){n=n||{};this.i=null;this.g=pyt;void 0!==n.geometry&&this.Jh(n.geometry);this.c=void 0!==n.fill?n.fill:null;this.a=void 0!==n.image?n.image:null;this.f=void 0!==n.stroke?n.stroke:null;this.l=void 0!==n.text?n.text:null;this.b=n.zIndex}function vyt(n){if("function"!=typeof n){var t;t=Array.isArray(n)?n:[n];n=function(){return t}}return n}function yyt(){if(!dg){var n=new nh({color:"rgba(255,255,255,0.4)"}),t=new rf({color:"#3399CC",width:1.25});dg=[new yf({image:new vf({fill:n,stroke:t,radius:5}),fill:n,stroke:t})]}return dg}function hft(){var n={},t=[255,255,255,1],i=[0,153,255,1];return n.Polygon=[new yf({fill:new nh({color:[255,255,255,.5]})})],n.MultiPolygon=n.Polygon,n.LineString=[new yf({stroke:new rf({color:t,width:5})}),new yf({stroke:new rf({color:i,width:3})})],n.MultiLineString=n.LineString,n.Circle=n.Polygon.concat(n.LineString),n.Point=[new yf({image:new vf({radius:6,fill:new nh({color:i}),stroke:new rf({color:t,width:1.5})}),zIndex:Infinity})],n.MultiPoint=n.Point,n.GeometryCollection=n.Polygon.concat(n.LineString,n.Point),n}function pyt(n){return n.W()}function p(n){n=n?n:{};var t=sr({},n);delete t.style;delete t.renderBuffer;delete t.updateWhileAnimating;delete t.updateWhileInteracting;yt.call(this,t);this.a=void 0!==n.renderBuffer?n.renderBuffer:100;this.A=null;this.i=void 0;this.l(n.style);this.S=void 0!==n.updateWhileAnimating?n.updateWhileAnimating:!1;this.T=void 0!==n.updateWhileInteracting?n.updateWhileInteracting:!1}function gg(n){return n.get("renderOrder")}function w(n){n=n?n:{};var t=sr({},n);delete t.preload;delete t.useInterimTilesOnError;p.call(this,t);this.Y(n.preload?n.preload:0);this.ia(n.useInterimTilesOnError?n.useInterimTilesOnError:!0);this.s=n.renderMode||"hybrid"}function ys(n,t,i,r,u){this.f=n;this.A=t;this.c=i;this.D=r;this.Hc=u;this.i=this.b=this.a=this.ia=this.Ra=this.Y=null;this.qa=this.za=this.v=this.Ba=this.ya=this.R=0;this.Gb=!1;this.l=this.ta=0;this.Aa=!1;this.S=0;this.g="";this.j=this.C=this.qb=this.Sa=0;this.T=this.s=this.o=null;this.U=[];this.Hb=wf()}function wyt(n,t,i){var r,s,u,f,l,e,o,h,c;if(n.i){for(t=hp(t,0,i,2,n.D,n.U),i=n.f,r=n.Hb,s=i.globalAlpha,1!=n.v&&(i.globalAlpha=s*n.v),u=n.ta,n.Gb&&(u+=n.Hc),f=0,l=t.length;f<l;f+=2)e=t[f]-n.R,o=t[f+1]-n.ya,n.Aa&&(e=Math.round(e),o=Math.round(o)),(0!==u||1!=n.l)&&(h=e+n.R,c=o+n.ya,ye(r,h,c,n.l,n.l,u,-h,-c),i.setTransform(r[0],r[1],r[4],r[5],r[12],r[13])),i.drawImage(n.i,n.za,n.qa,n.S,n.Ba,e,o,n.S,n.Ba);0===u&&1==n.l||i.setTransform(1,0,0,1,0,0);1!=n.v&&(i.globalAlpha=s)}}function oy(n,t,i,r){var s=0,o;if(n.T&&""!==n.g){n.o&&nn(n,n.o);n.s&&uw(n,n.s);var u=n.T,e=n.f,f=n.ia;for(f?(f.font!=u.font&&(f.font=e.font=u.font),f.textAlign!=u.textAlign&&(f.textAlign=e.textAlign=u.textAlign),f.textBaseline!=u.textBaseline&&(f.textBaseline=e.textBaseline=u.textBaseline)):(e.font=u.font,e.textAlign=u.textAlign,e.textBaseline=u.textBaseline,n.ia={font:u.font,textAlign:u.textAlign,textBaseline:u.textBaseline}),t=hp(t,s,i,r,n.D,n.U),u=n.f;s<i;s+=r)e=t[s]+n.Sa,f=t[s+1]+n.qb,(0!==n.C||1!=n.j)&&(o=ye(n.Hb,e,f,n.j,n.j,n.C,-e,-f),u.setTransform(o[0],o[1],o[4],o[5],o[12],o[13])),n.s&&u.strokeText(n.g,e,f),n.o&&u.fillText(n.g,e,f);0===n.C&&1==n.j||u.setTransform(1,0,0,1,0,0)}}function cft(n,t,i,r,u,f){var e=n.f;for(n=hp(t,i,r,u,n.D,n.U),e.moveTo(n[0],n[1]),t=n.length,f&&(t-=2),i=2;i<t;i+=2)e.lineTo(n[i],n[i+1]);return f&&e.closePath(),r}function byt(n,t,i,r,u){for(var f=0,e=r.length;f<e;++f)i=cft(n,t,i,r[f],u,!0);return i}function nn(n,t){var r=n.f,i=n.Y;i?i.fillStyle!=t.fillStyle&&(i.fillStyle=r.fillStyle=t.fillStyle):(r.fillStyle=t.fillStyle,n.Y={fillStyle:t.fillStyle})}function uw(n,t){var r=n.f,i=n.Ra;i?(i.lineCap!=t.lineCap&&(i.lineCap=r.lineCap=t.lineCap),wp&&!wd(i.lineDash,t.lineDash)&&r.setLineDash(i.lineDash=t.lineDash),i.lineJoin!=t.lineJoin&&(i.lineJoin=r.lineJoin=t.lineJoin),i.lineWidth!=t.lineWidth&&(i.lineWidth=r.lineWidth=t.lineWidth),i.miterLimit!=t.miterLimit&&(i.miterLimit=r.miterLimit=t.miterLimit),i.strokeStyle!=t.strokeStyle&&(i.strokeStyle=r.strokeStyle=t.strokeStyle)):(r.lineCap=t.lineCap,wp&&r.setLineDash(t.lineDash),r.lineJoin=t.lineJoin,r.lineWidth=t.lineWidth,r.miterLimit=t.miterLimit,r.strokeStyle=t.strokeStyle,n.Ra={lineCap:t.lineCap,lineDash:t.lineDash,lineJoin:t.lineJoin,lineWidth:t.lineWidth,miterLimit:t.miterLimit,strokeStyle:t.strokeStyle})}function le(n){ce.call(this,n);this.R=wf()}function ga(n,t,i,r,u){var f=n.a;if(dh(f,t)){var e=r.size[0]*r.pixelRatio,o=r.size[1]*r.pixelRatio,s=r.viewState.rotation;uc(i,-s,e/2,o/2);n=void 0!==u?u:nv(n,r,0);n=new ys(i,r.pixelRatio,r.extent,n,r.viewState.rotation);f.b(new re(t,f,n,r,i,null));uc(i,s,e/2,o/2)}}function tn(n,t,i,r){ga(n,"postcompose",t,i,r)}function nv(n,t,i){var r=t.viewState,u=t.pixelRatio;return ye(n.R,u*t.size[0]/2,u*t.size[1]/2,u/r.resolution,-u/r.resolution,-r.rotation,-r.center[0]+i,-r.center[1])}function fc(n,t,i){this.qa=n;this.T=t;this.f=null;this.c=0;this.resolution=i;this.Ba=this.ya=null;this.a=[];this.coordinates=[];this.Ra=wf();this.b=[];this.Y=[];this.ia=wf();this.za=wf()}function fw(n,t,i,r,u,f){for(var e=n.coordinates.length,v=n.df(),s=[t[i],t[i+1]],o=[NaN,NaN],c=!0,a,l,h=i+u;h<r;h+=u)o[0]=t[h],o[1]=t[h+1],l=ptt(v,o),l!==a?(c&&(n.coordinates[e++]=s[0],n.coordinates[e++]=s[1]),n.coordinates[e++]=o[0],n.coordinates[e++]=o[1],c=!1):1===l?(n.coordinates[e++]=o[0],n.coordinates[e++]=o[1],c=!1):c=!0,s[0]=o[0],s[1]=o[1],a=l;return h===i+u&&(n.coordinates[e++]=s[0],n.coordinates[e++]=s[1]),f&&(n.coordinates[e++]=t[i],n.coordinates[e++]=t[i+1]),e}function tv(n,t){n.ya=[0,t,0];n.a.push(n.ya);n.Ba=[0,t,0];n.b.push(n.Ba)}function kyt(n,t,i,r,u,f,e,o,s){var w,it,d,a,p,h,g,et,st,v,ht,ct,rt,tt,ot,ut,k,ft,lt;vut(r,n.Ra)?w=n.Y:(w=hp(n.coordinates,0,n.coordinates.length,2,r,n.Y),rit(n.Ra,r));r=!co(f);var l=0,at=e.length,c,b,y=n.ia;for(n=n.za;l<at;){h=e[l];switch(h[0]){case 0:c=h[1];r&&f[nt(c).toString()]||!c.W()?l=h[2]:void 0===s||oo(s,c.W().H())?++l:l=h[2];break;case 1:t.beginPath();++l;break;case 2:c=h[1];b=w[c];h=w[c+1];a=w[c+2]-b;c=w[c+3]-h;t.arc(b,h,Math.sqrt(a*a+c*c),0,2*Math.PI,!0);++l;break;case 3:t.closePath();++l;break;case 4:for(c=h[1],b=h[2],g=h[3],st=h[4]*i,ht=h[5]*i,ct=h[6],et=h[7],rt=h[8],tt=h[9],a=h[11],p=h[12],ot=h[13],ut=h[14],h[10]&&(a+=u);c<b;c+=2)h=w[c]-st,v=w[c+1]-ht,ot&&(h=Math.round(h),v=Math.round(v)),(1!=p||0!==a)&&(k=h+st,ft=v+ht,ye(y,k,ft,p,p,a,-k,-ft),t.transform(y[0],y[1],y[4],y[5],y[12],y[13])),k=t.globalAlpha,1!=et&&(t.globalAlpha=k*et),ft=ut+rt>g.width?g.width-rt:ut,lt=ct+tt>g.height?g.height-tt:ct,t.drawImage(g,rt,tt,ft,lt,h,v,ft*i,lt*i),1!=et&&(t.globalAlpha=k),(1!=p||0!==a)&&(sb(y,n),t.transform(n[0],n[1],n[4],n[5],n[12],n[13]));++l;break;case 5:for(c=h[1],b=h[2],st=h[3],ht=h[4]*i,ct=h[5]*i,a=h[6],p=h[7]*i,g=h[8],et=h[9];c<b;c+=2){for(h=w[c]+ht,v=w[c+1]+ct,(1!=p||0!==a)&&(ye(y,h,v,p,p,a,-h,-v),t.transform(y[0],y[1],y[4],y[5],y[12],y[13])),rt=st.split("\n"),tt=rt.length,1<tt?(ot=Math.round(1.5*t.measureText("M").width),v-=(tt-1)/2*ot):ot=0,ut=0;ut<tt;ut++)k=rt[ut],et&&t.strokeText(k,h,v),g&&t.fillText(k,h,v),v+=ot;(1!=p||0!==a)&&(sb(y,n),t.transform(n[0],n[1],n[4],n[5],n[12],n[13]))}++l;break;case 6:if(void 0!==o&&(c=h[1],c=o(c)))return c;++l;break;case 7:t.fill();++l;break;case 8:for(c=h[1],b=h[2],h=w[c],v=w[c+1],a=h+.5|0,p=v+.5|0,(a!==it||p!==d)&&(t.moveTo(h,v),it=a,d=p),c+=2;c<b;c+=2)(h=w[c],v=w[c+1],a=h+.5|0,p=v+.5|0,c==b-2||a!==it||p!==d)&&(t.lineTo(h,v),it=a,d=p);++l;break;case 9:t.fillStyle=h[1];++l;break;case 10:it=void 0!==h[7]?h[7]:!0;d=h[2];t.strokeStyle=h[1];t.lineWidth=it?d*i:d;t.lineCap=h[3];t.lineJoin=h[4];t.miterLimit=h[5];wp&&t.setLineDash(h[6]);d=it=NaN;++l;break;case 11:t.font=h[1];t.textAlign=h[2];t.textBaseline=h[3];++l;break;case 12:t.stroke();++l;break;default:++l}}}function lft(n){var f=n.b,r,e,t,i,u,o;for(f.reverse(),e=f.length,u=-1,r=0;r<e;++r)if(t=f[r],i=t[0],6==i)u=r;else if(0==i){for(t[2]=r,t=n.b,i=r;u<i;)o=t[u],t[u]=t[i],t[i]=o,++u,--i;u=-1}}function iv(n,t){n.ya[2]=n.a.length;n.ya=null;n.Ba[2]=n.b.length;n.Ba=null;var i=[6,t];n.a.push(i);n.b.push(i)}function ew(n,t,i){fc.call(this,n,t,i);this.o=this.S=null;this.R=this.D=this.C=this.A=this.U=this.v=this.s=this.j=this.l=this.i=this.g=void 0}function aft(n,t,i){fc.call(this,n,t,i);this.g={fd:void 0,ad:void 0,bd:null,cd:void 0,dd:void 0,ed:void 0,nf:0,strokeStyle:void 0,lineCap:void 0,lineDash:null,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0}}function dyt(n,t,i,r,u){var f=n.coordinates.length;return t=fw(n,t,i,r,u,!1),f=[8,f,t],n.a.push(f),n.b.push(f),r}function gyt(n){var t=n.g,i=t.strokeStyle,r=t.lineCap,u=t.lineDash,f=t.lineJoin,e=t.lineWidth,o=t.miterLimit;t.fd==i&&t.ad==r&&wd(t.bd,u)&&t.cd==f&&t.dd==e&&t.ed==o||(t.nf!=n.coordinates.length&&(n.a.push([12]),t.nf=n.coordinates.length),n.a.push([10,i,e,r,f,o,u],[1]),t.fd=i,t.ad=r,t.bd=u,t.cd=f,t.dd=e,t.ed=o)}function vft(n,t,i){fc.call(this,n,t,i);this.g={ug:void 0,fd:void 0,ad:void 0,bd:null,cd:void 0,dd:void 0,ed:void 0,fillStyle:void 0,strokeStyle:void 0,lineCap:void 0,lineDash:null,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0}}function npt(n,t,i,r,u){var e=n.g,f=[1],h,s,o;for(n.a.push(f),n.b.push(f),f=0,h=r.length;f<h;++f)s=r[f],o=n.coordinates.length,i=fw(n,t,i,s,u,!0),i=[8,o,i],o=[3],n.a.push(i,o),n.b.push(i,o),i=s;return t=[7],n.b.push(t),void 0!==e.fillStyle&&n.a.push(t),void 0!==e.strokeStyle&&(e=[12],n.a.push(e),n.b.push(e)),i}function yft(n){var t=n.g,r=t.fillStyle,i=t.strokeStyle,u=t.lineCap,f=t.lineDash,e=t.lineJoin,o=t.lineWidth,s=t.miterLimit;void 0!==r&&t.ug!=r&&(n.a.push([9,r]),t.ug=t.fillStyle);void 0===i||t.fd==i&&t.ad==u&&t.bd==f&&t.cd==e&&t.dd==o&&t.ed==s||(n.a.push([10,i,o,u,e,s,f]),t.fd=i,t.ad=u,t.bd=f,t.cd=e,t.dd=o,t.ed=s)}function pft(n,t,i){fc.call(this,n,t,i);this.D=this.C=this.A=null;this.o="";this.U=this.v=this.s=this.j=0;this.l=this.i=this.g=null}function sy(n,t,i,r,u){var f,e,o;""!==n.o&&n.l&&(n.g||n.i)&&(n.g&&(f=n.g,e=n.A,e&&e.fillStyle==f.fillStyle||(o=[9,f.fillStyle],n.a.push(o),n.b.push(o),e?e.fillStyle=f.fillStyle:n.A={fillStyle:f.fillStyle})),n.i&&(f=n.i,e=n.C,e&&e.lineCap==f.lineCap&&e.lineDash==f.lineDash&&e.lineJoin==f.lineJoin&&e.lineWidth==f.lineWidth&&e.miterLimit==f.miterLimit&&e.strokeStyle==f.strokeStyle||(o=[10,f.strokeStyle,f.lineWidth,f.lineCap,f.lineJoin,f.miterLimit,f.lineDash,!1],n.a.push(o),n.b.push(o),e?(e.lineCap=f.lineCap,e.lineDash=f.lineDash,e.lineJoin=f.lineJoin,e.lineWidth=f.lineWidth,e.miterLimit=f.miterLimit,e.strokeStyle=f.strokeStyle):n.C={lineCap:f.lineCap,lineDash:f.lineDash,lineJoin:f.lineJoin,lineWidth:f.lineWidth,miterLimit:f.miterLimit,strokeStyle:f.strokeStyle})),f=n.l,e=n.D,e&&e.font==f.font&&e.textAlign==f.textAlign&&e.textBaseline==f.textBaseline||(o=[11,f.font,f.textAlign,f.textBaseline],n.a.push(o),n.b.push(o),e?(e.font=f.font,e.textAlign=f.textAlign,e.textBaseline=f.textBaseline):n.D={font:f.font,textAlign:f.textAlign,textBaseline:f.textBaseline}),tv(n,u),f=n.coordinates.length,t=fw(n,t,0,i,r,!1),t=[5,f,t,n.o,n.j,n.s,n.v,n.U,!!n.g,!!n.i],n.a.push(t),n.b.push(t),iv(n,u))}function rv(n,t,i,r){this.o=n;this.g=t;this.l=i;this.f=r;this.a={};this.c=lf(1,1);this.i=wf()}function rn(n){var i,t,r;for(i in n.a){t=n.a[i];for(r in t)t[r].ke()}}function pfi(n,t,i,r,u,f,e){var c=Object.keys(n.a).map(Number),s,l,h,a,o;for(c.sort(function(n,t){return t-n}),s=0,l=c.length;s<l;++s)for(a=n.a[c[s].toString()],h=yl.length-1;0<=h;--h)if(o=a[yl[h]],void 0!==o&&(o=kyt(o,t,1,i,r,u,o.b,f,e)))return o}function ps(n,t,i,r){this.g=n;this.b=t;this.c=i;this.f=r}function wft(n,t){return nt(n)-nt(t)}function uv(n,t){var i=.5*n/t;return i*i}function ua(n,t,i,r,u,f){var s=!1,e,o;return(e=i.a)&&(o=e.td(),2==o||3==o?e.Xf(u,f):(0==o&&e.load(),e.pf(u,f),s=!0)),(u=i.g(t))&&(r=u.od(r),bft[r.X()](n,r,i,t)),s}function ow(n,t,i,r,u,f){this.c=void 0!==f?f:null;gc.call(this,n,t,i,void 0!==f?0:2,r);this.g=u}function upt(n,t,i,r){var u=ig(i,t,n);return i=t.getPointResolution(r,i),t=t.$b(),void 0!==t&&(i*=t),t=n.$b(),void 0!==t&&(i/=t),n=n.getPointResolution(i,u)/i,isFinite(n)&&0<n&&(i/=n),i}function kft(n,t,i,r){n=i-n;t=r-t;var u=Math.sqrt(n*n+t*t);return[Math.round(i+n/u),Math.round(r+t/u)]}function fpt(n,t,i,r,u,f,e,o,s,h,c){var l=lf(Math.round(i*n),Math.round(i*t)),v,p,y,a;return 0===s.length?l.canvas:(l.scale(i,i),v=ve(),s.forEach(function(n){btt(v,n.extent)}),p=lf(Math.round(i*ef(v)/r),Math.round(i*be(v)/r)),y=i/r,s.forEach(function(n){p.drawImage(n.image,h,h,n.image.width-2*h,n.image.height-2*h,(n.extent[0]-v[0])*y,-(n.extent[3]-v[3])*y,ef(n.extent)*y,be(n.extent)*y)}),a=sh(e),o.f.forEach(function(n){var c=n.source,y=n.target,u=c[1][0],o=c[1][1],t=c[2][0],e=c[2][1],nt;n=(y[0][0]-a[0])/f;var k=-(y[0][1]-a[1])/f,w=(y[1][0]-a[0])/f,d=-(y[1][1]-a[1])/f,b=(y[2][0]-a[0])/f,g=-(y[2][1]-a[1])/f,y=c[0][0],c=c[0][1],u=u-y,o=o-c,t=t-y,e=e-c;n:{for(u=[[u,o,0,0,w-n],[t,e,0,0,b-n],[0,0,u,o,d-k],[0,0,t,e,g-k]],o=u.length,t=0;t<o;t++){for(var e=t,s=Math.abs(u[t][t]),h=t+1;h<o;h++)nt=Math.abs(u[h][t]),nt>s&&(s=nt,e=h);if(0===s){u=null;break n}for(s=u[e],u[e]=u[t],u[t]=s,e=t+1;e<o;e++)for(s=-u[e][t]/u[t][t],h=t;h<o+1;h++)u[e][h]=t==h?0:u[e][h]+s*u[t][h]}for(t=Array(o),e=o-1;0<=e;e--)for(t[e]=u[e][o]/u[e][e],s=e-1;0<=s;s--)u[s][o]-=u[s][e]*t[e];u=t}u&&(l.save(),l.beginPath(),ipt?(t=(n+w+b)/3,e=(k+d+g)/3,o=kft(t,e,n,k),w=kft(t,e,w,d),b=kft(t,e,b,g),l.moveTo(o[0],o[1]),l.lineTo(w[0],w[1]),l.lineTo(b[0],b[1])):(l.moveTo(n,k),l.lineTo(w,d),l.lineTo(b,g)),l.closePath(),l.clip(),l.transform(u[0],u[2],u[1],u[3],n,k),l.translate(v[0]-y,v[3]-c),l.scale(r/i,-r/i),l.drawImage(p.canvas,0,0),l.restore())}),c&&(l.save(),l.strokeStyle="black",l.lineWidth=1,o.f.forEach(function(n){var t=n.target;n=(t[0][0]-a[0])/f;var i=-(t[0][1]-a[1])/f,r=(t[1][0]-a[0])/f,u=-(t[1][1]-a[1])/f,e=(t[2][0]-a[0])/f,t=-(t[2][1]-a[1])/f;l.beginPath();l.moveTo(n,i);l.lineTo(r,u);l.lineTo(e,t);l.closePath();l.stroke()}),l.restore()),l.canvas)}function ept(n,t,i,r,u){var e,o,f;this.g=n;this.c=t;e={};o=gl(this.c,this.g);this.a=function(n){var t=n[0]+"/"+n[1];return e[t]||(e[t]=o(n)),e[t]};this.i=r;this.s=u*u;this.f=[];this.o=!1;this.j=this.g.a&&!!r&&!!this.g.H()&&ef(r)==ef(this.g.H());this.b=this.g.H()?ef(this.g.H()):null;this.l=this.c.H()?ef(this.c.H()):null;n=sh(i);t=bv(i);r=ip(i);i=aa(i);u=this.a(n);var s=this.a(t),h=this.a(r),c=this.a(i);ck(this,n,t,r,i,u,s,h,c,10);this.o&&(f=Infinity,this.f.forEach(function(n){f=Math.min(f,n.source[0][0],n.source[1][0],n.source[2][0])}),this.f.forEach(function(n){if(Math.max(n.source[0][0],n.source[1][0],n.source[2][0])-f>this.b/2){var t=[[n.source[0][0],n.source[0][1]],[n.source[1][0],n.source[1][1]],[n.source[2][0],n.source[2][1]]];t[0][0]-f>this.b/2&&(t[0][0]-=this.b);t[1][0]-f>this.b/2&&(t[1][0]-=this.b);t[2][0]-f>this.b/2&&(t[2][0]-=this.b);Math.max(t[0][0],t[1][0],t[2][0])-Math.min(t[0][0],t[1][0],t[2][0])<this.b/2&&(n.source=t)}},this));e={}}function ck(n,t,i,r,u,f,e,o,s,h){var a=eo([f,e,o,s]),c=n.b?ef(a)/n.b:null,v=n.g.a&&.5<c&&1>c,l=!1,y;if(0<h&&(n.c.g&&n.l&&(y=eo([t,i,r,u]),l=l|.25<ef(y)/n.l),!v&&n.g.g&&c&&(l|=.25<c)),l||!n.i||oo(a,n.i)){if(!(l||isFinite(f[0])&&isFinite(f[1])&&isFinite(e[0])&&isFinite(e[1])&&isFinite(o[0])&&isFinite(o[1])&&isFinite(s[0])&&isFinite(s[1])))if(0<h)l=!0;else return;if(0<h&&(l||(c=n.a([(t[0]+r[0])/2,(t[1]+r[1])/2]),a=v?(el(f[0],n.b)+el(o[0],n.b))/2-el(c[0],n.b):(f[0]+o[0])/2-c[0],c=(f[1]+o[1])/2-c[1],l=a*a+c*c>n.s),l)){Math.abs(t[0]-r[0])<=Math.abs(t[1]-r[1])?(v=[(i[0]+r[0])/2,(i[1]+r[1])/2],a=n.a(v),c=[(u[0]+t[0])/2,(u[1]+t[1])/2],l=n.a(c),ck(n,t,i,v,c,f,e,a,l,h-1),ck(n,c,v,r,u,l,a,o,s,h-1)):(v=[(t[0]+i[0])/2,(t[1]+i[1])/2],a=n.a(v),c=[(r[0]+u[0])/2,(r[1]+u[1])/2],l=n.a(c),ck(n,t,v,c,u,f,a,l,s,h-1),ck(n,v,i,r,c,a,e,o,l,h-1));return}if(v){if(!n.j)return;n.o=!0}n.f.push({source:[f,o,s],target:[t,r,u]});n.f.push({source:[f,e,o],target:[t,i,r]})}}function opt(n){var t=ve();return n.f.forEach(function(n){n=n.source;tp(t,n[0]);tp(t,n[1]);tp(t,n[2])}),t}function sw(n,t,i,r,u,f){this.v=t;this.s=n.H();var e=t.H(),o=e?vc(i,e):i,e=upt(n,t,gh(o),r);this.o=new ept(n,t,o,this.s,.5*e);this.c=r;this.g=i;n=opt(this.o);this.j=(this.ob=f(n,e,u))?this.ob.f:1;this.Ad=this.i=null;u=2;f=[];this.ob&&(u=0,f=this.ob.l);gc.call(this,i,r,this.j,u,f)}function ci(n){ir.call(this,{attributions:n.attributions,extent:n.extent,logo:n.logo,projection:n.projection,state:n.state});this.C=void 0!==n.resolutions?n.resolutions:null;this.a=null;this.qa=0}function fn(n,t){if(n.C){var i=htt(n.C,t,0);t=n.C[i]}return t}function en(n,t){n.a().src=t}function th(n,t){vr.call(this,n);this.image=t}function cr(n){ci.call(this,{attributions:n.attributions,logo:n.logo,projection:n.projection,resolutions:n.resolutions,state:n.state});this.ia=n.canvasFunction;this.T=null;this.Y=0;this.ta=void 0!==n.ratio?n.ratio:1.5}function ft(n){si.call(this);this.i=void 0;this.a="geometry";this.c=null;this.l=void 0;this.f=null;e(this,cf(this.a),this.be,this);void 0!==n&&(n instanceof nr||!n?this.Ua(n):this.G(n))}function nei(n){if("function"!=typeof n){var t;t=Array.isArray(n)?n:[n];n=function(){return t}}return n}function ah(n,t,i,r,u){ke.call(this,n,t);this.g=lf();this.l=r;this.c=null;this.f={gd:!1,Tf:null,bi:-1,Uf:-1,yd:null,ui:[]};this.v=u;this.j=i}function hf(n,t){return hw.createElementNS(n,t)}function os(n,t){return spt(n,t,[]).join("")}function spt(n,t,i){if(n.nodeType==Node.CDATA_SECTION_NODE||n.nodeType==Node.TEXT_NODE)t?i.push(String(n.nodeValue).replace(/(\r\n|\r|\n)/g,"")):i.push(n.nodeValue);else for(n=n.firstChild;n;n=n.nextSibling)spt(n,t,i);return i}function fa(n){return n instanceof Document}function ea(n){return n instanceof Node}function tl(n){return(new DOMParser).parseFromString(n,"application/xml")}function hpt(n,t){return function(i,r){var u=n.call(t,i,r);void 0!==u&&bf(r[r.length-1],u)}}function nu(n,t){return function(i,r){var u=n.call(void 0!==t?t:this,i,r);void 0!==u&&r[r.length-1].push(u)}}function pu(n,t){return function(i,r){var u=n.call(void 0!==t?t:this,i,r);void 0!==u&&(r[r.length-1]=u)}}function df(n){return function(t,i){var f=n.call(this,t,i),r,u,e;void 0!==f&&(r=i[i.length-1],u=t.localName,e=u in r?r[u]:r[u]=[],e.push(f))}}function u(n,t){return function(i,r){var u=n.call(this,i,r);void 0!==u&&(r[r.length-1][void 0!==t?t:i.localName]=u)}}function f(n,t){return function(i,r,u){n.call(void 0!==t?t:this,i,r,u);u[u.length-1].node.appendChild(i)}}function cpt(n){var t,i;return function(r,u,f){if(!t){t={};var e={};e[r.localName]=n;t[r.namespaceURI]=e;i=te(r.localName)}lpt(t,i,u,f)}}function te(n,t){return function(i,r,u){return i=r[r.length-1].node,r=n,void 0===r&&(r=u),u=t,void 0===t&&(u=i.namespaceURI),hf(u,r)}}function il(n,t){for(var r=t.length,u=Array(r),i=0;i<r;++i)u[i]=n[t[i]];return u}function o(n,t,i){i=void 0!==i?i:{};for(var r=0,u=n.length;r<u;++r)i[n[r]]=t;return i}function ec(n,t,i,r){for(t=t.firstElementChild;t;t=t.nextElementSibling){var u=n[t.namespaceURI];void 0!==u&&(u=u[t.localName])&&u.call(r,t,i)}}function s(n,t,i,r,u){return r.push(n),ec(t,i,r,u),r.pop()}function lpt(n,t,i,r,u,f){for(var h=(void 0!==u?u:i).length,o,e,s=0;s<h;++s)o=i[s],void 0!==o&&(e=t.call(f,o,r,void 0!==u?u[s]:void 0),void 0!==e&&n[e.namespaceURI][e.localName].call(f,e,o,r))}function yr(n,t,i,r,u,f,e){u.push(n);lpt(t,i,r,u,f,e);u.pop()}function apt(n,t,i,r){return function(u,f,e){var o=new XMLHttpRequest;o.open("GET","function"==typeof n?n(u,f,e):n,!0);"arraybuffer"==t.X()&&(o.responseType="arraybuffer");o.onload=function(){if(200<=o.status&&300>o.status){var u=t.X(),n;"json"==u||"text"==u?n=o.responseText:"xml"==u?(n=o.responseXML)||(n=tl(o.responseText)):"arraybuffer"==u&&(n=o.response);n&&i.call(this,t.Fa(n,{featureProjection:e}),t.Oa(n))}else r.call(this)}.bind(this);o.send()}}function vpt(n,t){return apt(n,t,function(n,t){this.vf(t);this.gi(n)},function(){this.state=3;dc(this)})}function ypt(n,t){return apt(n,t,function(n){this.Jc(n)},ne)}function ppt(){return[[-Infinity,-Infinity,Infinity,Infinity]]}function lk(n){this.a=wpt(n);this.b={}}function gpt(n,t,i){var r=nt(i),r=n.b[r];eb([r.ca,r.fa,r.ea,r.ga],t)||(n.remove(i),n.Ca(t,i))}function nwt(n){return n.a.all().map(function(n){return n.value})}function ak(n,t){return n.a.search({ca:t[0],fa:t[1],ea:t[2],ga:t[3]}).map(function(n){return n.value})}function vk(n,t,i,r){return twt(ak(n,t),i,r)}function twt(n,t,i){for(var u,r=0,f=n.length;r<f&&!(u=t.call(i,n[r]));r++);return u}function v(n){var r,t,i;n=n||{};ir.call(this,{attributions:n.attributions,logo:n.logo,projection:void 0,state:"ready",wrapX:void 0!==n.wrapX?n.wrapX:!0});this.S=ne;this.qa=n.format;this.T=n.url;void 0!==n.loader?this.S=n.loader:void 0!==this.T&&(this.S=ypt(this.T,this.qa));this.qb=void 0!==n.strategy?n.strategy:ppt;r=void 0!==n.useSpatialIndex?n.useSpatialIndex:!0;this.a=r?new lk:null;this.Y=new lk;this.i={};this.o={};this.j={};this.s={};this.c=null;n.features instanceof vt?(t=n.features,i=t.a):Array.isArray(n.features)&&(i=n.features);r||void 0!==t||(t=new vt(i));void 0!==i&&uwt(this,i);void 0!==t&&tei(this,t)}function iwt(n,t,i){n.s[t]=[e(i,"change",n.Eh,n),e(i,"propertychange",n.Eh,n)]}function rwt(n,t,i){var u=!0,r=i.Xa();return void 0!==r?r.toString()in n.o?u=!1:n.o[r.toString()]=i:n.j[t]=i,u}function uwt(n,t){for(var u,r,s=[],e=[],h=[],o,i=0,f=t.length;i<f;i++)r=t[i],u=nt(r).toString(),rwt(n,u,r)&&e.push(r);for(i=0,f=e.length;i<f;i++)r=e[i],u=nt(r).toString(),iwt(n,u,r),o=r.W(),o?(u=o.H(),s.push(u),h.push(r)):n.i[u]=r;for(n.a&&n.a.load(s,h),i=0,f=e.length;i<f;i++)n.b(new ao("addfeature",e[i]))}function tei(n,t){var i=!1;e(n,"addfeature",function(n){i||(i=!0,t.push(n.feature),i=!1)});e(n,"removefeature",function(n){i||(i=!0,t.remove(n.feature),i=!1)});e(t,"add",function(n){i||(n=n.element,i=!0,this.rb(n),i=!1)},n);e(t,"remove",function(n){i||(n=n.element,i=!0,this.nb(n),i=!1)},n);n.c=t}function iei(n,t,i){n.ub([t[0],t[1],t[0],t[1]],function(n){if(n.W().sg(t))return i.call(void 0,n)})}function fwt(n,t){for(var i in n.o)if(n.o[i]===t){delete n.o[i];break}}function ao(n,t){vr.call(this,n);this.feature=t}function bi(n){this.c=n.source;this.Aa=wf();this.i=lf();this.j=[0,0];this.v=null;cr.call(this,{attributions:n.attributions,canvasFunction:this.Dj.bind(this),logo:n.logo,projection:n.projection,ratio:n.ratio,resolutions:n.resolutions,state:this.c.V()});this.S=null;this.s=void 0;this.xh(n.style);e(this.c,"change",this.en,this)}function rei(n,t,i,r,u){return ye(n.Aa,u[0]/2,u[1]/2,r/i,-r/i,0,-t[0],-t[1])}function ge(n){le.call(this,n);this.f=null;this.s=wf();this.o=this.c=null}function ue(n){le.call(this,n);this.c=lf();this.o=null;this.j=ve();this.S=[0,0,0];this.D=wf();this.C=0}function ewt(n,t,i,r){var e=i.pixelRatio,a=i.viewState,tt=a.center,d=a.projection,g=a.resolution,a=a.rotation,h=i.size,ft=Math.round(e*h[0]/2),et=Math.round(e*h[1]/2),h=e/g,rt=n.a,ot=rt.ha(),vt=ot.Ud(d),st=ot.eb(d),rt=dh(rt,"render"),u=t,p,w,c,o,ht,ct,lt,f,v,b,k,l,at,yt,y;if((a||rt)&&(u=n.c,p=u.canvas,o=st.Lb(g),c=ot.$d(o,e,d),o=fs(st.Ja(o)),c=c[0]/o[0],g=t.canvas.width*c,w=t.canvas.height*c,o=Math.round(Math.sqrt(g*g+w*w)),p.width!=o?p.width=p.height=o:u.clearRect(0,0,o,o),p=(o-g)/2/c,w=(o-w)/2/c,h*=c,ft=Math.round(c*(ft+p)),et=Math.round(c*(et+w))),g=u.globalAlpha,u.globalAlpha=r.opacity,ht=n.o,lt=ot.jf(d)&&1==r.opacity,lt||(ht.reverse(),ct=[]),f=r.extent,r=void 0!==f){var nt=sh(f),ut=bv(f),it=ip(f),f=aa(f);ko(i.coordinateToPixelMatrix,nt,nt);ko(i.coordinateToPixelMatrix,ut,ut);ko(i.coordinateToPixelMatrix,it,it);ko(i.coordinateToPixelMatrix,f,f);v=p||0;b=w||0;u.save();k=u.canvas.width*e/2;l=u.canvas.height*e/2;uc(u,-a,k,l);u.beginPath();u.moveTo(nt[0]*e+v,nt[1]*e+b);u.lineTo(ut[0]*e+v,ut[1]*e+b);u.lineTo(it[0]*e+v,it[1]*e+b);u.lineTo(f[0]*e+v,f[1]*e+b);u.clip();uc(u,a,k,l)}for(nt=0,ut=ht.length;nt<ut;++nt){var it=ht[nt],f=it.ma,l=st.Ea(f,n.j),k=f[0],s=aa(st.Ea(st.qd(tt,k,n.S))),f=Math.round(ef(l)*h),v=Math.round(be(l)*h),b=Math.round((l[0]-s[0])*h/f)*f+ft+Math.round((s[0]-tt[0])*h),l=Math.round((s[1]-l[3])*h/v)*v+et+Math.round((tt[1]-s[1])*h);if(!lt){for(s=[b,l,b+f,l+v],u.save(),at=0,yt=ct.length;at<yt;++at)y=ct[at],oo(s,y)&&(u.beginPath(),u.moveTo(s[0],s[1]),u.lineTo(s[0],s[3]),u.lineTo(s[2],s[3]),u.lineTo(s[2],s[1]),u.moveTo(y[0],y[1]),u.lineTo(y[2],y[1]),u.lineTo(y[2],y[3]),u.lineTo(y[0],y[3]),u.closePath(),u.clip());ct.push(s)}k=ot.$d(k,e,d);u.drawImage(it.$a(),vt,vt,k[0],k[1],b,l,f,v);lt||u.restore()}r&&u.restore();rt&&(e=p-ft/c+ft,d=w-et/c+et,tt=ye(n.D,o/2-e,o/2-d,h,-h,-a,-tt[0]+e/h,-tt[1]-d/h),ga(n,"render",u,i,tt));(a||rt)&&t.drawImage(u.canvas,-Math.round(p),-Math.round(w),o/c,o/c);u.globalAlpha=g}function no(n){le.call(this,n);this.c=!1;this.C=-1;this.A=NaN;this.v=ve();this.o=this.U=null;this.j=lf()}function uei(n,t){var i=/\{z\}/g,r=/\{x\}/g,u=/\{y\}/g,f=/\{-y\}/g;return function(e){if(e)return n.replace(i,e[0].toString()).replace(r,e[1].toString()).replace(u,function(){return(-e[2]-1).toString()}).replace(f,function(){var n=t.a?t.a[e[0]]:null;return(n.ga-n.fa+1+e[2]).toString()})}}function on(n,t){for(var r=n.length,u=Array(r),i=0;i<r;++i)u[i]=uei(n[i],t);return dft(u)}function dft(n){return 1===n.length?n[0]:function(t,i,r){if(t)return n[el((t[1]<<t[0])+t[2],n.length)](t,i,r)}}function gft(){}function owt(n){var r=[],t=/\{(\d)-(\d)\}/.exec(n)||/\{([a-z])-([a-z])\}/.exec(n),u,i;if(t)for(u=t[2].charCodeAt(0),i=t[1].charCodeAt(0);i<=u;++i)r.push(n.replace(t[0],String.fromCharCode(i)));else r.push(n);return r}function gt(n){ki.call(this,{attributions:n.attributions,cacheSize:n.cacheSize,extent:n.extent,logo:n.logo,opaque:n.opaque,projection:n.projection,state:n.state,tileGrid:n.tileGrid,tilePixelRatio:n.tilePixelRatio,wrapX:n.wrapX});this.tileLoadFunction=n.tileLoadFunction;this.tileUrlFunction=this.vc?this.vc.bind(this):gft;this.urls=null;n.urls?this.bb(n.urls):n.url&&this.Va(n.url);n.tileUrlFunction&&this.Qa(n.tileUrlFunction)}function oi(n){gt.call(this,{attributions:n.attributions,cacheSize:void 0!==n.cacheSize?n.cacheSize:128,extent:n.extent,logo:n.logo,opaque:!1,projection:n.projection,state:n.state,tileGrid:n.tileGrid,tileLoadFunction:n.tileLoadFunction?n.tileLoadFunction:fei,tileUrlFunction:n.tileUrlFunction,tilePixelRatio:n.tilePixelRatio,url:n.url,urls:n.urls,wrapX:void 0===n.wrapX?!0:n.wrapX});this.c=n.format?n.format:null;this.tileClass=n.tileClass?n.tileClass:ah}function fei(n,t){n.ki(vpt(t,n.l))}function to(n){ue.call(this,n);this.U=!1;this.v=wf();this.C="vector"==n.s?1:0}function eei(n,t,i){function b(n){var t,i=n.ec(),o,u,f,s;if(i?t=i.call(n,v):(i=e.i)&&(t=i(n,v)),t){if(Array.isArray(t)||(t=[t]),i=w,o=l,t){if(u=!1,Array.isArray(t))for(f=0,s=t.length;f<s;++f)u=ua(o,n,t[f],i,this.A,this)||u;else u=ua(o,n,t,i,this.A,this)||u;n=u}else n=!1;this.U=this.U||n;r.gd=r.gd||n}}var e=n.a,o=i.pixelRatio,l,w;i=i.viewState.projection;var y=e.g,s=gg(e)||null,r=t.f;if(r.gd||r.bi!=y||r.Tf!=s){r.yd=null;r.gd=!1;var f=e.ha(),u=f.tileGrid,h=t.ma,a=t.o,c="tile-pixels"==a.wb(),v=u.$(h[0]),p;for(c?(c=f=f.bc(o),u=fs(u.Ja(h[0])),u=[0,0,u[0]*c,u[1]*c]):(f=v,u=u.Ea(h),nc(i,a)||(p=!0,t.vf(i))),r.gd=!1,l=new rv(0,u,f,e.a),w=uv(f,o),t=t.c,s&&s!==r.Tf&&t.sort(s),u=0,h=t.length;u<h;++u)o=t[u],p&&o.W().jb(a,i),b.call(n,o);rn(l);r.bi=y;r.Tf=s;r.yd=l;r.resolution=NaN}}function yk(n,t){nl.call(this,0,t);this.f=lf();this.b=this.f.canvas;this.b.style.width="100%";this.b.style.height="100%";this.b.className="ol-unselectable";n.insertBefore(this.b,n.childNodes[0]||null);this.a=!0;this.c=wf()}function cwt(n,t,i){var u=n.i,e=n.f;if(dh(u,t)){var f=i.extent,h=i.pixelRatio,c=i.viewState.rotation,o=i.pixelRatio,r=i.viewState,s=r.resolution;n=ye(n.c,n.b.width/2,n.b.height/2,o/s,-o/s,-r.rotation,-r.center[0],-r.center[1]);f=new ys(e,h,f,n,c);u.b(new re(t,u,f,i,e,null))}}function fe(n,t){ce.call(this,n);this.target=t}function ho(n){var t=document.createElement("DIV");t.style.position="absolute";fe.call(this,n,t);this.f=null;this.c=sp()}function vo(n){var t=document.createElement("DIV");t.style.position="absolute";fe.call(this,n,t);this.c=!0;this.l=1;this.i=0;this.f={}}function sn(n,t){this.target=document.createElement("DIV");this.target.style.position="absolute";this.target.style.width="100%";this.target.style.height="100%";this.c=n;this.g=t;this.i=sh(n.Ea(t));this.l=n.$(t[0]);this.a={};this.b=null;this.f=sp();this.o=[0,0]}function go(n){this.i=lf();var t=this.i.canvas;t.style.maxWidth="none";t.style.position="absolute";fe.call(this,n,t);this.f=!1;this.l=-1;this.s=NaN;this.o=ve();this.c=this.j=null;this.U=wf();this.v=wf()}function net(n,t,i,r){var u=n.i;n=n.a;dh(n,t)&&(r=new ys(u,i.pixelRatio,i.extent,r,i.viewState.rotation),n.b(new re(t,n,r,i,u,null)))}function cw(n,t){nl.call(this,0,t);this.f=lf();var i=this.f.canvas;i.style.position="absolute";i.style.width="100%";i.style.height="100%";i.className="ol-unselectable";n.insertBefore(i,n.childNodes[0]||null);this.c=wf();this.b=document.createElement("DIV");this.b.className="ol-unselectable";i=this.b.style;i.position="absolute";i.width="100%";i.height="100%";e(this.b,"touchstart",gii);n.insertBefore(this.b,n.childNodes[0]||null);this.a=!0}function lwt(n,t,i){var u=n.i;if(dh(u,t)){var s=i.extent,f=i.pixelRatio,r=i.viewState,h=r.rotation,e=n.f,o=e.canvas;ye(n.c,o.width/2,o.height/2,f/r.resolution,-f/r.resolution,-r.rotation,-r.center[0],-r.center[1]);n=new ys(e,f,s,n.c,h);u.b(new re(t,u,n,i,e,null))}}function awt(n){this.b=n}function pk(n){this.b=n}function wk(n){this.b=n}function tet(){this.b="precision mediump float;varying vec2 a;varying float b;uniform float k;uniform sampler2D l;void main(void){vec4 texColor=texture2D(l,a);gl_FragColor.rgb=texColor.rgb;float alpha=texColor.a*b*k;if(alpha==0.0){discard;}gl_FragColor.a=alpha;}"}function iet(){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.);gl_Position=h*vec4(c,0.,1.)+offsets;a=d;b=f;}"}function oei(n,t){this.o=n.getUniformLocation(t,"j");this.j=n.getUniformLocation(t,"i");this.i=n.getUniformLocation(t,"k");this.l=n.getUniformLocation(t,"h");this.b=n.getAttribLocation(t,"e");this.a=n.getAttribLocation(t,"f");this.f=n.getAttribLocation(t,"c");this.g=n.getAttribLocation(t,"g");this.c=n.getAttribLocation(t,"d")}function hn(n){this.b=void 0!==n?n:[]}function hy(n,t){this.l=n;this.b=t;this.a={};this.c={};this.f={};this.j=this.s=this.i=this.o=null;(this.g=po(bht,"OES_element_index_uint"))&&t.getExtension("OES_element_index_uint");e(this.l,"webglcontextlost",this.ao,this);e(this.l,"webglcontextrestored",this.bo,this)}function lw(n,t,i){var r=n.b,u=i.b,f=String(nt(i)),e,o;f in n.a?r.bindBuffer(t,n.a[f].buffer):(e=r.createBuffer(),r.bindBuffer(t,e),34962==t?o=new Float32Array(u):34963==t&&(o=n.g?new Uint32Array(u):new Uint16Array(u)),r.bufferData(t,o,35044),n.a[f]={Cb:i,buffer:e})}function ret(n,t){var i=n.b,r=String(nt(t)),u=n.a[r];i.isContextLost()||i.deleteBuffer(u.buffer);delete n.a[r]}function vwt(n){var t,r,u,i;return n.i||(t=n.b,r=t.createFramebuffer(),t.bindFramebuffer(t.FRAMEBUFFER,r),u=wwt(t,1,1),i=t.createRenderbuffer(),t.bindRenderbuffer(t.RENDERBUFFER,i),t.renderbufferStorage(t.RENDERBUFFER,t.DEPTH_COMPONENT16,1,1),t.framebufferTexture2D(t.FRAMEBUFFER,t.COLOR_ATTACHMENT0,t.TEXTURE_2D,u,0),t.framebufferRenderbuffer(t.FRAMEBUFFER,t.DEPTH_ATTACHMENT,t.RENDERBUFFER,i),t.bindTexture(t.TEXTURE_2D,null),t.bindRenderbuffer(t.RENDERBUFFER,null),t.bindFramebuffer(t.FRAMEBUFFER,null),n.i=r,n.s=u,n.j=i),n.i}function ywt(n,t){var u=String(nt(t)),i,r;return u in n.c?n.c[u]:(i=n.b,r=i.createShader(t.X()),i.shaderSource(r,t.b),i.compileShader(r),n.c[u]=r)}function uet(n,t,i){var f=nt(t)+"/"+nt(i),r,u;return f in n.f?n.f[f]:(r=n.b,u=r.createProgram(),r.attachShader(u,ywt(n,t)),r.attachShader(u,ywt(n,i)),r.linkProgram(u),n.f[f]=u)}function pwt(n,t,i){var r=n.createTexture();return n.bindTexture(n.TEXTURE_2D,r),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MAG_FILTER,n.LINEAR),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MIN_FILTER,n.LINEAR),void 0!==t&&n.texParameteri(3553,10242,t),void 0!==i&&n.texParameteri(3553,10243,i),r}function wwt(n,t,i){var r=pwt(n,void 0,void 0);return n.texImage2D(n.TEXTURE_2D,0,n.RGBA,t,i,0,n.RGBA,n.UNSIGNED_BYTE,null),r}function bwt(n,t){var i=pwt(n,33071,33071);return n.texImage2D(n.TEXTURE_2D,0,n.RGBA,n.RGBA,n.UNSIGNED_BYTE,t),i}function aw(n,t){this.C=this.A=void 0;this.j=gh(t);this.U=[];this.i=[];this.R=void 0;this.c=[];this.f=[];this.Ba=this.ya=void 0;this.a=[];this.D=this.o=null;this.S=void 0;this.ta=sp();this.Aa=sp();this.Y=this.T=void 0;this.Sa=sp();this.za=this.ia=this.Ra=void 0;this.Gb=[];this.l=[];this.b=[];this.v=null;this.g=[];this.s=[];this.qa=void 0}function fet(n,t){var f=n.v,e=n.o,r=n.Gb,u=n.l,i=t.b;return function(){if(!i.isContextLost()){for(var n=0,o=r.length;n<o;++n)i.deleteTexture(r[n]);for(n=0,o=u.length;n<o;++n)i.deleteTexture(u[n])}ret(t,f);ret(t,e)}}function kwt(n,t,i,r){for(var p=n.A,w=n.C,b=n.R,k=n.ya,d=n.Ba,g=n.S,nt=n.T,tt=n.Y,it=n.Ra?1:0,o=n.ia,s=n.za,rt=n.qa,h=Math.cos(o),o=Math.sin(o),l=n.a.length,u=n.b.length,c,f,e,v,y,a=0;a<i;a+=r)v=t[a]-n.j[0],y=t[a+1]-n.j[1],c=u/8,f=-s*p,e=-s*(b-w),n.b[u++]=v,n.b[u++]=y,n.b[u++]=f*h-e*o,n.b[u++]=f*o+e*h,n.b[u++]=nt/d,n.b[u++]=(tt+b)/k,n.b[u++]=g,n.b[u++]=it,f=s*(rt-p),e=-s*(b-w),n.b[u++]=v,n.b[u++]=y,n.b[u++]=f*h-e*o,n.b[u++]=f*o+e*h,n.b[u++]=(nt+rt)/d,n.b[u++]=(tt+b)/k,n.b[u++]=g,n.b[u++]=it,f=s*(rt-p),e=s*w,n.b[u++]=v,n.b[u++]=y,n.b[u++]=f*h-e*o,n.b[u++]=f*o+e*h,n.b[u++]=(nt+rt)/d,n.b[u++]=tt/k,n.b[u++]=g,n.b[u++]=it,f=-s*p,e=s*w,n.b[u++]=v,n.b[u++]=y,n.b[u++]=f*h-e*o,n.b[u++]=f*o+e*h,n.b[u++]=nt/d,n.b[u++]=tt/k,n.b[u++]=g,n.b[u++]=it,n.a[l++]=c,n.a[l++]=c+1,n.a[l++]=c+2,n.a[l++]=c,n.a[l++]=c+2,n.a[l++]=c+3}function eet(n,t){var r=t.b,i;n.U.push(n.a.length);n.i.push(n.a.length);n.v=new hn(n.b);lw(t,34962,n.v);n.o=new hn(n.a);lw(t,34963,n.o);i={};dwt(n.Gb,n.c,i,r);dwt(n.l,n.f,i,r);n.A=void 0;n.C=void 0;n.R=void 0;n.c=null;n.f=null;n.ya=void 0;n.Ba=void 0;n.a=null;n.S=void 0;n.T=void 0;n.Y=void 0;n.Ra=void 0;n.ia=void 0;n.za=void 0;n.b=null;n.qa=void 0}function dwt(n,t,i,r){for(var u,e,o=t.length,f=0;f<o;++f)u=t[f],e=nt(u).toString(),e in i?u=i[e]:(u=bwt(r,u),i[e]=u),n[f]=u}function gwt(n,t,i,r,u,f){var c=i.g?5125:5123,e,a,o,v;if(i=i.g?4:2,co(r))for(n=0,r=u.length,e=0;n<r;++n)t.bindTexture(3553,u[n]),o=f[n],t.drawElements(4,o-e,c,e*i),e=o;else for(e=0,o=0,a=u.length;o<a;++o){t.bindTexture(3553,u[o]);for(var s=0<o?f[o-1]:0,l=f[o],h=s;e<n.g.length&&n.g[e]<=l;)v=nt(n.s[e]).toString(),void 0!==r[v]?(h!==s&&t.drawElements(4,s-h,c,h*i),s=h=e===n.g.length-1?l:n.g[e+1]):s=e===n.g.length-1?l:n.g[e+1],e++;h!==s&&t.drawElements(4,s-h,c,h*i)}}function cy(n,t,i){this.f=t;this.c=n;this.g=i;this.a={}}function nbt(n,t){var i=[],r;for(r in n.a)i.push(fet(n.a[r],t));return function(){for(var r=i.length,t,n=0;n<r;n++)t=i[n].apply(this,arguments);return t}}function sei(n,t){for(var i in n.a)eet(n.a[i],t)}function tbt(n,t,i,r,u,f,e,o,s,h,c){for(var v=rbt,l,a=yl.length-1;0<=a;--a)if(l=n.a[yl[a]],void 0!==l&&(l=l.Pa(t,i,r,u,v,f,e,o,s,h,c)))return l}function hei(n,t,i,r,u,f,e,o){var s=i.b;return s.bindFramebuffer(s.FRAMEBUFFER,vwt(i)),void 0!==tbt(n,i,t,r,u,f,e,o,function(){var n=new Uint8Array(4);return s.readPixels(0,0,1,1,s.RGBA,s.UNSIGNED_BYTE,n),0<n[3]},!1)}function pl(n,t,i,r,u,f,e){this.b=n;this.f=t;this.g=f;this.c=e;this.o=u;this.l=r;this.i=i;this.a=null}function oet(){this.b="precision mediump float;varying vec2 a;uniform float f;uniform sampler2D g;void main(void){vec4 texColor=texture2D(g,a);gl_FragColor.rgb=texColor.rgb;gl_FragColor.a=texColor.a*f;}"}function set(){this.b="varying vec2 a;attribute vec2 b;attribute vec2 c;uniform mat4 d;uniform mat4 e;void main(void){gl_Position=e*vec4(b,0.,1.);a=(d*vec4(c,0.,1.)).st;}"}function cei(n,t){this.g=n.getUniformLocation(t,"f");this.f=n.getUniformLocation(t,"e");this.i=n.getUniformLocation(t,"d");this.c=n.getUniformLocation(t,"g");this.b=n.getAttribLocation(t,"b");this.a=n.getAttribLocation(t,"c")}function gf(n,t){ce.call(this,t);this.f=n;this.S=new hn([-1,-1,0,0,1,-1,1,0,-1,1,0,1,1,1,1,1]);this.i=this.pb=null;this.l=void 0;this.s=wf();this.U=sp();this.v=null}function lei(n,t,i){var r=n.f.f,u;void 0===n.l||n.l!=i?(t.postRenderFunctions.push(function(n,t,i){n.isContextLost()||(n.deleteFramebuffer(t),n.deleteTexture(i))}.bind(null,r,n.i,n.pb)),t=wwt(r,i,i),u=r.createFramebuffer(),r.bindFramebuffer(36160,u),r.framebufferTexture2D(36160,36064,3553,t,0),n.pb=t,n.i=u,n.l=i):r.bindFramebuffer(36160,n.i)}function ubt(n,t,i,r){if(n=n.a,dh(n,t)){var u=r.viewState;n.b(new re(t,n,new pl(i,u.center,u.resolution,u.rotation,r.size,r.extent,r.pixelRatio),r,null,i))}}function io(n,t){gf.call(this,n,t);this.j=this.o=this.c=null}function aei(n,t){var i=t.a();return bwt(n.f.f,i)}function vei(n,t,i,r,u,f,e,o){t*=f;i*=f;n=n.U;ya(n);na(n,2*r/t,2*r/i);rg(n,-e);wc(n,o[0]-u[0],o[1]-u[1]);na(n,(o[2]-o[0])/2,(o[3]-o[1])/2);wc(n,1,1)}function het(){this.b="precision mediump float;varying vec2 a;uniform sampler2D e;void main(void){gl_FragColor=texture2D(e,a);}"}function cet(){this.b="varying vec2 a;attribute vec2 b;attribute vec2 c;uniform vec4 d;void main(void){gl_Position=vec4(b*d.xy+d.zw,0.,1.);a=c;}"}function yei(n,t){this.g=n.getUniformLocation(t,"e");this.f=n.getUniformLocation(t,"d");this.b=n.getAttribLocation(t,"b");this.a=n.getAttribLocation(t,"c")}function ns(n,t){gf.call(this,n,t);this.D=het.Zb();this.T=cet.Zb();this.c=null;this.C=new hn([0,0,0,1,1,0,1,1,0,1,0,0,1,1,1,0]);this.A=this.o=null;this.j=-1;this.R=[0,0]}function ts(n,t){gf.call(this,n,t);this.j=!1;this.R=-1;this.D=NaN;this.A=ve();this.o=this.c=this.C=null}function aet(n,t){nl.call(this,0,t);this.b=document.createElement("CANVAS");this.b.style.width="100%";this.b.style.height="100%";this.b.className="ol-unselectable";n.insertBefore(this.b,n.childNodes[0]||null);this.U=this.A=0;this.C=lf();this.j=!0;this.f=bat(this.b,{antialias:!0,depth:!1,failIfMajorPerformanceCaveat:!0,preserveDrawingBuffer:!1,stencil:!0});this.c=new hy(this.b,this.f);e(this.b,"webglcontextlost",this.Pm,this);e(this.b,"webglcontextrestored",this.Qm,this);this.a=new hg;this.v=null;this.o=new da(function(n){var t=n[1],i;return n=n[2],i=t[0]-this.v[0],t=t[1]-this.v[1],65536*Math.log(n)+Math.sqrt(i*i+t*t)/n}.bind(this),function(n){return n[0].ib()});this.D=function(){if(!this.o.Ya()){vvt(this.o);var n=cvt(this.o);fbt(this,n[0],n[3],n[4])}return!1}.bind(this);this.l=0;obt(this)}function fbt(n,t,i,r){var u=n.f,e=t.ib(),o,f,s;ic(n.a,e)?(n=n.a.get(e),u.bindTexture(3553,n.pb),9729!=n.Wg&&(u.texParameteri(3553,10240,9729),n.Wg=9729),9729!=n.Yg&&(u.texParameteri(3553,10241,9729),n.Yg=9729)):(o=u.createTexture(),u.bindTexture(3553,o),0<r?(f=n.C.canvas,s=n.C,n.A!==i[0]||n.U!==i[1]?(f.width=i[0],f.height=i[1],n.A=i[0],n.U=i[1]):s.clearRect(0,0,i[0],i[1]),s.drawImage(t.$a(),r,r,i[0],i[1],0,0,i[0],i[1]),u.texImage2D(3553,0,6408,6408,5121,f)):u.texImage2D(3553,0,6408,6408,5121,t.$a()),u.texParameteri(3553,10240,9729),u.texParameteri(3553,10241,9729),u.texParameteri(3553,10242,33071),u.texParameteri(3553,10243,33071),n.a.set(e,{pb:o,Wg:9729,Yg:9729}))}function ebt(n,t,i){var u=n.i,r;dh(u,t)&&(n=n.c,r=i.viewState,u.b(new re(t,u,new pl(n,r.center,r.resolution,r.rotation,i.size,i.extent,i.pixelRatio),i,null,n)))}function obt(n){n=n.f;n.activeTexture(33984);n.blendFuncSeparate(770,771,1,771);n.disable(2884);n.disable(2929);n.disable(3089);n.disable(2960)}function h(n){var t,i,r,u;for(si.call(this),t=pei(n),this.Hb=void 0!==n.loadTilesWhileAnimating?n.loadTilesWhileAnimating:!1,this.Hc=void 0!==n.loadTilesWhileInteracting?n.loadTilesWhileInteracting:!1,this.Oe=void 0!==n.pixelRatio?n.pixelRatio:pg,this.Ne=t.logos,this.Y=function(){this.i=void 0;this.Uo.call(this,Date.now())}.bind(this),this.Sa=wf(),this.Pe=wf(),this.qb=0,this.f=null,this.Aa=ve(),this.D=this.S=null,this.a=document.createElement("DIV"),this.a.className="ol-viewport"+(grt?" 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.A=document.createElement("DIV"),this.A.className="ol-overlaycontainer",this.a.appendChild(this.A),this.v=document.createElement("DIV"),this.v.className="ol-overlaycontainer-stopevent",n=["click","dblclick","mousedown","touchstart","mspointerdown",uy,"mousewheel","wheel"],i=0,r=n.length;i<r;++i)e(this.v,n[i],rct);this.a.appendChild(this.v);this.za=new cut(this);for(u in svt)e(this.za,svt[u],this.Pg,this);this.ia=t.keyboardEventTarget;this.s=null;e(this.a,"wheel",this.Oc,this);e(this.a,"mousewheel",this.Oc,this);this.o=t.controls;this.l=t.interactions;this.j=t.overlays;this.Cf={};this.C=new t.Wo(this.a,this);this.T=null;this.R=[];this.ta=[];this.qa=new ik(this.Bk.bind(this),this.hl.bind(this));this.Ee={};e(this,cf("layergroup"),this.Ok,this);e(this,cf("view"),this.il,this);e(this,cf("size"),this.el,this);e(this,cf("target"),this.gl,this);this.G(t.values);this.o.forEach(function(n){n.setMap(this)},this);e(this.o,"add",function(n){n.element.setMap(this)},this);e(this.o,"remove",function(n){n.element.setMap(null)},this);this.l.forEach(function(n){n.setMap(this)},this);e(this.l,"add",function(n){n.element.setMap(this)},this);e(this.l,"remove",function(n){n.element.setMap(null)},this);this.j.forEach(this.mg,this);e(this.j,"add",function(n){this.mg(n.element)},this);e(this.j,"remove",function(n){var t=n.element.Xa();void 0!==t&&delete this.Cf[t.toString()];n.element.setMap(null)},this)}function pei(n){var o=null,r,i,t,u,f,s,e,h,c;for(void 0!==n.keyboardEventTarget&&(o="string"==typeof n.keyboardEventTarget?document.getElementById(n.keyboardEventTarget):n.keyboardEventTarget),r={},i={},void 0===n.logo||"boolean"==typeof n.logo&&n.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"]="http://openlayers.org/":(t=n.logo,"string"==typeof t?i[t]="":t instanceof HTMLElement?i[nt(t).toString()]=t:ftt(t)&&(i[t.src]=t.href)),t=n.layers instanceof fi?n.layers:new fi({layers:n.layers}),r.layergroup=t,r.target=n.target,r.view=void 0!==n.view?n.view:new et,t=nl,void 0!==n.renderer?Array.isArray(n.renderer)?u=n.renderer:"string"==typeof n.renderer&&(u=[n.renderer]):u=sbt,f=0,s=u.length;f<s;++f)if(e=u[f],"canvas"==e){if(dat){t=yk;break}}else if("dom"==e){t=cw;break}else if("webgl"==e&&drt){t=aet;break}return h=void 0!==n.controls?Array.isArray(n.controls)?new vt(n.controls.slice()):n.controls:aat(),c=void 0!==n.interactions?Array.isArray(n.interactions)?new vt(n.interactions.slice()):n.interactions:fyt(),n=void 0!==n.overlays?Array.isArray(n.overlays)?new vt(n.overlays.slice()):n.overlays:new vt,{controls:h,interactions:c,keyboardEventTarget:o,logos:i,overlays:n,Wo:t,values:r}}function wi(n){si.call(this);this.j=n.id;this.o=void 0!==n.insertFirst?n.insertFirst:!0;this.s=void 0!==n.stopEvent?n.stopEvent:!0;this.f=document.createElement("DIV");this.f.className="ol-overlay-container";this.f.style.position="absolute";this.autoPan=void 0!==n.autoPan?n.autoPan:!1;this.i=void 0!==n.autoPanAnimation?n.autoPanAnimation:{};this.l=void 0!==n.autoPanMargin?n.autoPanMargin:20;this.a={Md:"",fe:"",De:"",Fe:"",visible:!0};this.c=null;e(this,cf("element"),this.Jk,this);e(this,cf("map"),this.Vk,this);e(this,cf("offset"),this.Zk,this);e(this,cf("position"),this.al,this);e(this,cf("positioning"),this.bl,this);void 0!==n.element&&this.fi(n.element);this.li(void 0!==n.offset?n.offset:[0,0]);this.oi(void 0!==n.positioning?n.positioning:"top-left");void 0!==n.position&&this.uf(n.position)}function hbt(n,t){var i=n.getBoundingClientRect(),r=i.left+tr.pageXOffset,i=i.top+tr.pageYOffset;return[r,i,r+t[0],i+t[1]]}function cbt(n,t){n.a.visible!==t&&(n.f.style.display=t?"":"none",n.a.visible=t)}function bk(n){var t=n.he(),i=n.gh();if(void 0!==t&&t.f&&void 0!==i){var i=t.Ga(i),e=t.Za(),t=n.f.style,f=n.Kg(),r=n.Lg(),u=f[0],f=f[1];"bottom-right"==r||"center-right"==r||"top-right"==r?(""!==n.a.fe&&(n.a.fe=t.left=""),u=Math.round(e[0]-i[0]-u)+"px",n.a.De!=u&&(n.a.De=t.right=u)):(""!==n.a.De&&(n.a.De=t.right=""),("bottom-center"==r||"center-center"==r||"top-center"==r)&&(u-=n.f.offsetWidth/2),u=Math.round(i[0]+u)+"px",n.a.fe!=u&&(n.a.fe=t.left=u));"bottom-left"==r||"bottom-center"==r||"bottom-right"==r?(""!==n.a.Fe&&(n.a.Fe=t.top=""),i=Math.round(e[1]-i[1]-f)+"px",n.a.Md!=i&&(n.a.Md=t.bottom=i)):(""!==n.a.Md&&(n.a.Md=t.bottom=""),("center-left"==r||"center-center"==r||"center-right"==r)&&(f-=n.f.offsetHeight/2),i=Math.round(i[1]+f)+"px",n.a.Fe!=i&&(n.a.Fe=t.top=i));cbt(n,!0)}else cbt(n,!1)}function fr(n){var i,t,u;n=n?n:{};this.l=void 0!==n.collapsed?n.collapsed:!0;this.o=void 0!==n.collapsible?n.collapsible:!0;this.o||(this.l=!1);var f=void 0!==n.className?n.className:"ol-overviewmap",r=void 0!==n.tipLabel?n.tipLabel:"Overview map",t=void 0!==n.collapseLabel?n.collapseLabel:"«";"string"==typeof t?(this.j=document.createElement("span"),this.j.textContent=t):this.j=t;t=void 0!==n.label?n.label:"»";"string"==typeof t?(this.v=document.createElement("span"),this.v.textContent=t):this.v=t;i=this.o&&!this.l?this.j:this.v;t=document.createElement("button");t.setAttribute("type","button");t.title=r;t.appendChild(i);e(t,"click",this.gm,this);r=document.createElement("DIV");r.className="ol-overviewmap-map";u=this.f=new h({controls:new vt,interactions:new vt,target:r,view:n.view});n.layers&&n.layers.forEach(function(n){u.kg(n)},this);i=document.createElement("DIV");i.className="ol-overviewmap-box";i.style.boxSizing="border-box";this.A=new wi({position:[0,0],positioning:"bottom-left",element:i});this.f.lg(this.A);i=document.createElement("div");i.className=f+" ol-unselectable ol-control"+(this.l&&this.o?" ol-collapsed":"")+(this.o?"":" ol-uncollapsible");i.appendChild(r);i.appendChild(t);dt.call(this,{element:i,render:n.render?n.render:lbt,target:n.target})}function lbt(){var n=this.a,t=this.f;if(n.f&&t.f){var r=n.Za(),n=n.aa().Kc(r),i=t.Za(),r=t.aa().Kc(i),u=t.Ga(sh(n)),f=t.Ga(ip(n)),t=Math.abs(u[0]-f[0]),u=Math.abs(u[1]-f[1]),f=i[0],i=i[1];t<.1*f||u<.1*i||t>.75*f||u>.75*i?vet(this):us(r,n)||(n=this.f,r=this.a.aa(),n.aa().mb(r.ab()))}abt(this)}function vet(n){var t=n.a;n=n.f;var i=t.Za(),t=t.aa().Kc(i),i=n.Za();n=n.aa();gd(t,1/(.1*Math.pow(2,Math.log(7.5)/Math.LN2/2)));n.cf(t,i)}function abt(n){var r=n.a,u=n.f;if(r.f&&u.f){var f=r.Za(),t=r.aa(),i=u.aa();u.Za();var u=t.La(),r=n.A,o=n.A.Sd(),t=t.Kc(f),f=i.$(),i=aa(t),t=bv(t),e;(n=n.a.aa().ab())&&(e=[i[0]-n[0],i[1]-n[1]],np(e,u),dy(e,n));r.uf(e);o&&(o.style.width=Math.abs((i[0]-t[0])/f)+"px",o.style.height=Math.abs((t[1]-i[1])/f)+"px")}}function yet(n){n.element.classList.toggle("ol-collapsed");n.l?yp(n.j,n.v):yp(n.v,n.j);n.l=!n.l;var t=n.f;n.l||t.f||(t.Xc(),vet(n),sl(t,"postrender",function(){abt(this)},n))}function pr(n){n=n?n:{};var t=void 0!==n.className?n.className:"ol-scale-line";this.o=document.createElement("DIV");this.o.className=t+"-inner";this.f=document.createElement("DIV");this.f.className=t+" ol-unselectable";this.f.appendChild(this.o);this.v=null;this.j=void 0!==n.minWidth?n.minWidth:64;this.l=!1;this.C=void 0;this.A="";dt.call(this,{element:this.f,render:n.render?n.render:ybt,target:n.target});e(this,cf("units"),this.R,this);this.D(n.units||"metric")}function ybt(n){this.v=(n=n.frameState)?n.viewState:null;pbt(this)}function pbt(n){var t=n.v,u,f;if(t){var i=t.projection,r=i.$b(),t=i.getPointResolution(t.resolution,t.center)*r,r=n.j*t,i="",u=n.wb();for("degrees"==u?(i=cl.degrees,t/=i,r<i/60?(i="″",t*=3600):r<i?(i="′",t*=60):i="°"):"imperial"==u?.9144>r?(i="in",t/=.0254):1609.344>r?(i="ft",t/=.3048):(i="mi",t/=1609.344):"nautical"==u?(t/=1852,i="nm"):"metric"==u?1>r?(i="mm",t*=1e3):1e3>r?i="m":(i="km",t/=1e3):"us"==u&&(.9144>r?(i="in",t*=39.37):1609.344>r?(i="ft",t/=.30480061):(i="mi",t/=1609.3472)),u=3*Math.floor(Math.log(n.j*t)/Math.log(10));;){if(f=vbt[(u%3+3)%3]*Math.pow(10,Math.floor(u/3)),r=Math.round(f/t),isNaN(r)){n.f.style.display="none";n.l=!1;return}if(r>=n.j)break;++u}t=f+" "+i;n.A!=t&&(n.o.innerHTML=t,n.A=t);n.C!=r&&(n.o.style.width=r+"px",n.C=r);n.l||(n.f.style.display="",n.l=!0)}else n.l&&(n.f.style.display="none",n.l=!1)}function wu(n){var r,i,t;n=n?n:{};this.f=void 0;this.l=pet;this.v=[];this.C=this.j=0;this.T=null;this.ia=!1;this.Y=void 0!==n.duration?n.duration:200;r=void 0!==n.className?n.className:"ol-zoomslider";i=document.createElement("button");i.setAttribute("type","button");i.className=r+"-thumb ol-unselectable";t=document.createElement("div");t.className=r+" ol-unselectable ol-control";t.appendChild(i);this.o=new ry(t);e(this.o,yb,this.Ik,this);e(this.o,dp,this.Ng,this);e(this.o,pb,this.Og,this);e(t,"click",this.Hk,this);e(i,"click",rct);dt.call(this,{element:t,render:n.render?n.render:wbt})}function wbt(n){if(n.frameState){if(!this.ia){var t=this.element,u=t.offsetWidth,f=t.offsetHeight,i=t.firstElementChild,r=tr.getComputedStyle(i),t=i.offsetWidth+parseFloat(r.marginRight)+parseFloat(r.marginLeft),i=i.offsetHeight+parseFloat(r.marginTop)+parseFloat(r.marginBottom);this.T=[t,i];u>f?(this.l=1,this.C=u-t):(this.l=pet,this.j=f-i);this.ia=!0}n=n.frameState.viewState.resolution;n!==this.f&&(this.f=n,bbt(this,n))}}function bbt(n,t){var i,r;i=1-cri(n.a.aa())(t);r=n.element.firstElementChild;1==n.l?r.style.left=n.C*i+"px":r.style.top=n.j*i+"px"}function kbt(n,t){return hri(n.a.aa())(1-t)}function tf(n){n=n?n:{};this.f=n.extent?n.extent:null;var r=void 0!==n.className?n.className:"ol-zoom-extent",t=void 0!==n.label?n.label:"E",u=void 0!==n.tipLabel?n.tipLabel:"Fit to extent",i=document.createElement("button");i.setAttribute("type","button");i.title=u;i.appendChild("string"==typeof t?document.createTextNode(t):t);e(i,"click",this.l,this);t=document.createElement("div");t.className=r+" ol-unselectable ol-control";t.appendChild(i);dt.call(this,{element:t,target:n.target})}function wr(n){si.call(this);n=n?n:{};this.a=null;e(this,cf("tracking"),this.Il,this);this.rf(void 0!==n.tracking?n.tracking:!1)}function kk(){this.defaultDataProjection=null}function yh(n,t,i){var r;return i&&(r={dataProjection:i.dataProjection?i.dataProjection:n.Oa(t),featureProjection:i.featureProjection}),ro(n,r)}function ro(n,t){var i;return t&&(i={featureProjection:t.featureProjection,dataProjection:t.dataProjection?t.dataProjection:n.defaultDataProjection,rightHanded:t.rightHanded},t.decimals&&(i.decimals=t.decimals)),i}function ee(n,t,i){var r=i?yi(i.featureProjection):null,u=i?yi(i.dataProjection):null,f,e;return f=r&&u&&!nc(r,u)?n instanceof nr?(t?n.clone():n).jb(t?r:u,t?u:r):op(t?n.slice():n,t?r:u,t?u:r):n,t&&i&&i.decimals&&(e=Math.pow(10,i.decimals),n=function(n){for(var t=0,i=n.length;t<i;++t)n[t]=Math.round(n[t]*e)/e;return n},Array.isArray(f)?n(f):f.rc(n)),f}function dk(){this.defaultDataProjection=null}function cn(n){return ftt(n)?n:"string"==typeof n?(n=JSON.parse(n))?n:null:null}function dbt(n,t,i,r,u,f){var o=NaN,s=NaN,e=(i-t)/r;if(0!==e)if(1==e)o=n[t],s=n[t+1];else if(2==e)o=(1-u)*n[t]+u*n[t+r],s=(1-u)*n[t+1]+u*n[t+r+1];else{for(var s=n[t],e=n[t+1],h=0,o=[0],c=t+r;c<i;c+=r){var l=n[c],a=n[c+1],h=h+Math.sqrt((l-s)*(l-s)+(a-e)*(a-e));o.push(h);s=l;e=a}for(i=u*h,e=0,h=o.length,c=!1;e<h;)u=e+(h-e>>1),s=+yv(o[u],i),0>s?e=u+1:(h=u,c=!s);u=c?e:~e;0>u?(i=(i-o[-u-2])/(o[-u-1]-o[-u-2]),t+=(-u-2)*r,o=ad(n[t],n[t+r],i),s=ad(n[t+1],n[t+r+1],i)):(o=n[t+u*r],s=n[t+u*r+1])}return f?(f[0]=o,f[1]=s,f):[o,s]}function wet(n,t,i,r,u,f){if(i==t)return null;if(u<n[t+r-1])return f?(i=n.slice(t,t+r),i[r-1]=u,i):null;if(n[i-1]<u)return f?(i=n.slice(i-r,i),i[r-1]=u,i):null;if(u==n[t+r-1])return n.slice(t,t+r);for(t/=r,i/=r;t<i;)f=t+i>>1,u<n[(f+1)*r-1]?i=f:t=f+1;if(i=n[t*r-1],u==i)return n.slice((t-1)*r,(t-1)*r+r);f=(u-i)/(n[(t+1)*r-1]-i);i=[];for(var e=0;e<r-1;++e)i.push(ad(n[(t-1)*r+e],n[t*r+e],f));return i.push(u),i}function wei(n,t,i,r,u,f){var e=0,o;if(f)return wet(n,e,t[t.length-1],i,r,u);if(r<n[i-1])return u?(n=n.slice(0,i),n[i-1]=r,n):null;if(n[n.length-1]<r)return u?(n=n.slice(n.length-i),n[i-1]=r,n):null;for(u=0,f=t.length;u<f;++u)if(o=t[u],e!=o){if(r<n[e+i-1])break;if(r<=n[o-1])return wet(n,e,o,i,r,!1);e=o}return null}function a(n,t){lt.call(this);this.i=null;this.C=this.D=this.j=-1;this.pa(n,t)}function gbt(n){return n.j!=n.g&&(n.i=n.Bg(.5,n.i),n.j=n.g),n.i}function d(n,t){lt.call(this);this.i=[];this.j=this.C=-1;this.pa(n,t)}function nkt(n){var u=[],o=n.B,t=0,f=n.i,i,e,r;for(n=n.a,i=0,e=f.length;i<e;++i)r=f[i],t=dbt(o,t,r,n,.5),bf(u,t),t=r;return u}function ln(n,t){for(var f=n.f,r=[],e=[],u,i=0,o=t.length;i<o;++i)u=t[i],0===i&&(f=u.f),bf(r,u.la()),e.push(r.length);n.ba(f,r,e)}function ut(n,t){lt.call(this);this.pa(n,t)}function it(n,t){lt.call(this);this.i=[];this.C=-1;this.D=null;this.T=this.R=this.S=-1;this.j=null;this.pa(n,t)}function bet(n){var i,t,e;if(n.C!=n.g){for(var o=n.B,f=n.i,s=n.a,t=0,h=[],r=0,u=f.length;r<u;++r)i=f[r],t=wtt(o,t,i[0],s),h.push((t[0]+t[2])/2,(t[1]+t[3])/2),t=i[i.length-1];for(o=fv(n),f=n.i,s=n.a,r=0,u=[],i=0,t=f.length;i<t;++i)e=f[i],u=rlt(o,r,e,s,h,2*i,u),r=e[e.length-1];n.D=u;n.C=n.g}return n.D}function fv(n){var i,t,r,u;if(n.T!=n.g){i=n.B;n:{for(t=n.i,r=0,u=t.length;r<u;++r)if(!elt(i,t[r],n.a,void 0)){t=!1;break n}t=!0}t?n.j=i:(n.j=i.slice(),n.j.length=olt(n.j,n.i,n.a));n.T=n.g}return n.j}function an(n,t,i,r){ll(n,t,i);n.i=r;n.u()}function ket(n,t){for(var o=n.f,e=[],s=[],r,u,c,f,l,i=0,h=t.length;i<h;++i){for(u=t[i],0===i&&(o=u.f),c=e.length,r=u.Db(),f=0,l=r.length;f<l;++f)r[f]+=c;bf(e,u.la());s.push(r)}an(n,o,e,s)}function oe(n){n=n?n:{};this.defaultDataProjection=null;this.b=n.geometryName}function tkt(n,t){var r,i,s,o;if(!n)return null;if(av(n.x)&&av(n.y))r="Point";else if(n.points)r="MultiPoint";else if(n.paths)r=1===n.paths.length?"LineString":"MultiLineString";else if(n.rings){var u=n.rings,e=vw(n),f=[];for(r=[],i=0,s=u.length;i<s;++i)o=fct(u[i]),yit(o,0,o.length,e.length)?f.push([u[i]]):r.push(u[i]);for(;r.length;){for(u=r.shift(),e=!1,i=f.length-1;0<=i;i--)if(us(new bt(f[i][0]).H(),new bt(u).H())){f[i].push(u);e=!0;break}e||f.push([u.reverse()])}n=sr({},n);1===f.length?(r="Polygon",n.rings=f[0]):(r="MultiPolygon",n.rings=f)}return ee(ikt[r](n),!1,t)}function vw(n){var t="XY";return!0===n.hasZ&&!0===n.hasM?t="XYZM":!0===n.hasZ?t="XYZ":!0===n.hasM&&(t="XYM"),t}function gk(n){return n=n.f,{hasZ:"XYZ"===n||"XYZM"===n,hasM:"XYM"===n||"XYZM"===n}}function ukt(n,t){return rkt[n.X()](ee(n,!0,t),t)}function ni(n){nr.call(this);this.c=n?n:null;get(this)}function fkt(n){for(var i=[],t=0,r=n.length;t<r;++t)i.push(n[t].clone());return i}function det(n){var t,i;if(n.c)for(t=0,i=n.c.length;t<i;++t)bh(n.c[t],"change",n.u,n)}function get(n){var t,i;if(n.c)for(t=0,i=n.c.length;t<i;++t)e(n.c[t],"change",n.u,n)}function se(n){n=n?n:{};this.defaultDataProjection=null;this.defaultDataProjection=yi(n.defaultDataProjection?n.defaultDataProjection:"EPSG:4326");this.b=n.geometryName}function not(n,t){return n?ee(ekt[n.type](n),!1,t):null}function tot(n,t){return okt[n.X()](ee(n,!0,t),t)}function ih(){this.f=new XMLSerializer;this.defaultDataProjection=null}function skt(n,t,i){return n=iot(n,t,i),0<n.length?n[0]:null}function iot(n,t,i){var r=[];for(t=t.firstChild;t;t=t.nextSibling)t.nodeType==Node.ELEMENT_NODE&&bf(r,n.lc(t,i));return r}function tu(n){n=n?n:{};this.featureType=n.featureType;this.featureNS=n.featureNS;this.srsName=n.srsName;this.schemaLocation="";this.b={};this.b["http://www.opengis.net/gml"]={featureMember:pu(tu.prototype.vd),featureMembers:pu(tu.prototype.vd)};ih.call(this)}function ly(n){return n=os(n,!1),ay(n)}function ay(n){if(n=/^\s*(true|1)|(false|0)\s*$/.exec(n))return void 0!==n[1]||!1}function rot(n){var i,t;return n=os(n,!1),(n=/^\s*(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(Z|(?:([+\-])(\d{2})(?::(\d{2}))?))\s*$/.exec(n))?(t=Date.UTC(parseInt(n[1],10),parseInt(n[2],10)-1,parseInt(n[3],10),parseInt(n[4],10),parseInt(n[5],10),parseInt(n[6],10))/1e3,"Z"!=n[7]&&(i="-"==n[8]?-1:1,t=t+60*i*parseInt(n[9],10),void 0!==n[10]&&(t+=3600*i*parseInt(n[10],10))),t):void 0}function he(n){return n=os(n,!1),oa(n)}function oa(n){if(n=/^\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)\s*$/i.exec(n))return parseFloat(n[1])}function rh(n){return n=os(n,!1),rl(n)}function rl(n){if(n=/^\s*(\d+)\s*$/.exec(n))return parseInt(n[1],10)}function c(n){return os(n,!1).trim()}function ckt(n,t){eu(n,t?"1":"0")}function uh(n,t){n.appendChild(hw.createTextNode(t.toPrecision()))}function vn(n,t){n.appendChild(hw.createTextNode(t.toString()))}function eu(n,t){n.appendChild(hw.createTextNode(t))}function ul(n){n=n?n:{};tu.call(this,n);this.b["http://www.opengis.net/gml"].featureMember=nu(tu.prototype.vd);this.schemaLocation=n.schemaLocation?n.schemaLocation:"http://www.opengis.net/gml http://schemas.opengis.net/gml/2.1.2/feature.xsd"}function st(n){n=n?n:{};tu.call(this,n);this.j=void 0!==n.surface?n.surface:!1;this.i=void 0!==n.curve?n.curve:!1;this.l=void 0!==n.multiCurve?n.multiCurve:!0;this.o=void 0!==n.multiSurface?n.multiSurface:!0;this.schemaLocation=n.schemaLocation?n.schemaLocation:"http://www.opengis.net/gml http://schemas.opengis.net/gml/3.1.1/profiles/gmlsfProfile/1.0.0/gmlsf.xsd"}function lkt(n,t,i){var s,f;i=i[i.length-1].srsName;t=t.Z();for(var e=t.length,o=Array(e),r,u=0;u<e;++u)r=t[u],s=u,f="enu",i&&(f=yi(i).b),o[s]="en"===f.substr(0,2)?r[0]+" "+r[1]:r[1]+" "+r[0];eu(n,o.join(" "))}function ws(n){n=n?n:{};ih.call(this);this.defaultDataProjection=yi("EPSG:4326");this.b=n.readExtensions}function uot(n,t,i){return n.push(parseFloat(t.getAttribute("lon")),parseFloat(t.getAttribute("lat"))),"ele"in i?(n.push(i.ele),delete i.ele):n.push(0),"time"in i?(n.push(i.time),delete i.time):n.push(0),n}function fot(n,t){var r=t[t.length-1],i=n.getAttribute("href");null!==i&&(r.link=i);ec(uoi,n,t)}function eot(n,t){t[t.length-1].extensionsNode_=n}function vkt(n,t){var i=t[0],r=s({flatCoordinates:[]},foi,n,t),f,u;if(r)return f=r.flatCoordinates,delete r.flatCoordinates,u=new a(null),u.ba("XYZM",f),ee(u,!1,i),i=new ft(u),i.G(r),i}function ykt(n,t){var r=t[0],i=s({flatCoordinates:[],ends:[]},ooi,n,t),f,e,u;if(i)return f=i.flatCoordinates,delete i.flatCoordinates,e=i.ends,delete i.ends,u=new d(null),u.ba("XYZM",f,e),ee(u,!1,r),r=new ft(u),r.G(i),r}function pkt(n,t){var r=t[0],u=s({},coi,n,t),i;if(u)return i=uot([],n,u),i=new tt(i,"XYZM"),ee(i,!1,r),r=new ft(i),r.G(u),r}function wkt(n,t){var i,u,r,f;for(t||(t=[]),i=0,u=t.length;i<u;++i)r=t[i],n.b&&(f=r.get("extensionsNode_")||null,n.b(r,f)),r.set("extensionsNode_",void 0)}function oot(n,t,i){n.setAttribute("href",t);t=i[i.length-1].properties;yr({node:n},aoi,vh,[t.linkText,t.linkType],i,loi)}function sot(n,t,i){var r=i[i.length-1],f=r.node.namespaceURI,u=r.properties;n.setAttributeNS(null,"lat",t[1]);n.setAttributeNS(null,"lon",t[0]);switch(r.geometryLayout){case"XYZM":0!==t[3]&&(u.time=t[3]);case"XYZ":0!==t[2]&&(u.ele=t[2]);break;case"XYM":0!==t[2]&&(u.time=t[2])}t="rtept"==n.nodeName?poi[f]:goi[f];r=il(u,t);yr({node:n,properties:u},nsi,vh,r,i,t)}function isi(n,t){var i=n.W();if(i&&(i=tsi[i.X()]))return hf(t[t.length-1].node.namespaceURI,i)}function nd(){this.defaultDataProjection=null}function yn(n){return"string"==typeof n?n:""}function wl(n){n=n?n:{};this.defaultDataProjection=null;this.defaultDataProjection=yi("EPSG:4326");this.b=n.altitudeMode?n.altitudeMode:"none"}function pn(n){var i,r,t,u;if(this.a={},this.b=[],this.g=0,t=arguments.length,1<t){if(t%2)throw Error("Uneven number of arguments");for(i=0;i<t;i+=2)this.set(arguments[i],arguments[i+1])}else if(n){if(n instanceof pn)r=n.N(),i=n.zc();else{t=[];u=0;for(r in n)t[u++]=r;r=t;t=[];u=0;for(i in n)t[u++]=n[i];i=t}for(t=0;t<r.length;t++)this.set(r[t],i[t])}}function hot(n){var t,r,u,i;if(n.g!=n.b.length){for(t=0,i=0;t<n.b.length;)r=n.b[t],vy(n.a,r)&&(n.b[i++]=r),t++;n.b.length=i}if(n.g!=n.b.length){for(u={},i=t=0;t<n.b.length;)r=n.b[t],vy(u,r)||(n.b[i++]=r,u[r]=1),t++;n.b.length=i}}function vy(n,t){return Object.prototype.hasOwnProperty.call(n,t)}function osi(n,t){var r,i,u,e,f;if(n)for(r=n.split("&"),i=0;i<r.length;i++)u=r[i].indexOf("="),f=null,0<=u?(e=r[i].substring(0,u),f=r[i].substring(u+1)):e=r[i],t(e,f?decodeURIComponent(f.replace(/\+/g," ")):"")}function ev(n,t){this.a=this.l=this.g="";this.o=null;this.f=this.b="";this.c=!1;var i;n instanceof ev?(this.c=void 0!==t?t:n.c,cot(this,n.g),this.l=n.l,this.a=n.a,lot(this,n.o),this.b=n.b,aot(this,n.i.clone()),this.f=n.f):n&&(i=String(n).match(kkt))?(this.c=!!t,cot(this,i[1]||"",!0),this.l=yw(i[2]||""),this.a=yw(i[3]||"",!0),lot(this,i[4]),this.b=yw(i[5]||"",!0),aot(this,i[6]||"",!0),this.f=yw(i[7]||"")):(this.c=!!t,this.i=new id(null,0,this.c))}function cot(n,t,i){n.g=i?yw(t,!0):t;n.g&&(n.g=n.g.replace(/:$/,""))}function lot(n,t){if(t){if(t=Number(t),isNaN(t)||0>t)throw Error("Bad port number "+t);n.o=t}else n.o=null}function aot(n,t,i){t instanceof id?(n.i=t,vsi(n.i,n.c)):(i||(t=td(t,lsi)),n.i=new id(t,0,n.c))}function dkt(n){return n instanceof ev?n.clone():new ev(n,void 0)}function wn(n,t){var r,h;n instanceof ev||(n=dkt(n));t instanceof ev||(t=dkt(t));var i=n,u=t,e=i.clone(),f=!!u.g;if(f?cot(e,u.g):f=!!u.l,f?e.l=u.l:f=!!u.a,f?e.a=u.a:f=null!=u.o,r=u.b,f)lot(e,u.o);else if(f=!!u.b)if("/"!=r.charAt(0)&&(i.a&&!i.b?r="/"+r:(i=e.b.lastIndexOf("/"),-1!=i&&(r=e.b.substr(0,i+1)+r))),i=r,".."==i||"."==i)r="";else if(-1!=i.indexOf("./")||-1!=i.indexOf("/.")){for(var r=0==i.lastIndexOf("/",0),i=i.split("/"),o=[],s=0;s<i.length;)h=i[s++],"."==h?r&&s==i.length&&o.push(""):".."==h?((1<o.length||1==o.length&&""!=o[0])&&o.pop(),r&&s==i.length&&o.push("")):(o.push(h),r=!0);r=o.join("/")}else r=i;return f?e.b=r:f=""!==u.i.toString(),f?aot(e,yw(u.i.toString())):f=!!u.f,f&&(e.f=u.f),e}function yw(n,t){return n?t?decodeURI(n.replace(/%25/g,"%2525")):decodeURIComponent(n):""}function td(n,t,i){return cd(n)?(n=encodeURI(n).replace(t,ssi),i&&(n=n.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),n):null}function ssi(n){return n=n.charCodeAt(0),"%"+(n>>4&15).toString(16)+(n&15).toString(16)}function id(n,t,i){this.a=this.b=null;this.g=n||null;this.f=!!i}function sa(n){n.b||(n.b=new pn,n.a=0,n.g&&osi(n.g,function(t,i){n.add(decodeURIComponent(t.replace(/\+/g," ")),i)}))}function ndt(n,t){return sa(n),t=pw(n,t),vy(n.b.a,t)}function pw(n,t){var i=String(t);return n.f&&(i=i.toLowerCase()),i}function vsi(n,t){t&&!n.f&&(sa(n),n.g=null,n.b.forEach(function(n,t){var i=t.toLowerCase();t!=i&&(this.remove(t),this.remove(i),0<n.length&&(this.g=null,this.b.set(pw(this,i),ari(n)),this.a=this.a+n.length))},n));n.f=t}function er(n){n=n||{};this.g=n.font;this.i=n.rotation;this.a=n.scale;this.s=n.text;this.o=n.textAlign;this.j=n.textBaseline;this.b=void 0!==n.fill?n.fill:new nh({color:"#333"});this.l=void 0!==n.stroke?n.stroke:null;this.f=void 0!==n.offsetX?n.offsetX:0;this.c=void 0!==n.offsetY?n.offsetY:0}function yo(n){n=n?n:{};ih.call(this);this.defaultDataProjection=yi("EPSG:4326");this.g=n.defaultStyle?n.defaultStyle:ysi;this.c=void 0!==n.extractStyles?n.extractStyles:!0;this.l=void 0!==n.writeStyles?n.writeStyles:!0;this.b={};this.i=void 0!==n.showPointNames?n.showPointNames:!0}function yot(n,t){var i,u=[0,0],f="start",r,e;if(n.a&&(r=n.a.ld(),r&&2==r.length&&(u[0]=n.a.i*r[0]/2,u[1]=-n.a.i*r[1]/2,f="left")),co(n.Ha()))i=new er({text:t,offsetX:u[0],offsetY:u[1],textAlign:f});else{r=n.Ha();e={};for(i in r)e[i]=r[i];i=e;i.pi(t);i.ri(f);i.mi(u[0]);i.ni(u[1])}return new yf({text:i})}function psi(n,t,i,r,u){return function(){var f=u,e="",o;return(f&&this.W()&&(f="Point"===this.W().X()),f&&(e=this.get("name"),f=f&&e),n)?f?(f=yot(n[0],e),n.concat(f)):n:t?(o=odt(t,i,r),f?(f=yot(o[0],e),o.concat(f)):o):f?(f=yot(i[0],e),i.concat(f)):i}}function odt(n,t,i){return Array.isArray(n)?n:"string"==typeof n?(!(n in i)&&"#"+n in i&&(n="#"+n),odt(i[n],t,i)):t}function pot(n){return n=os(n,!1),(n=/^\s*#?\s*([0-9A-Fa-f]{8})\s*$/.exec(n))?(n=n[1],[parseInt(n.substr(6,2),16),parseInt(n.substr(4,2),16),parseInt(n.substr(2,2),16),parseInt(n.substr(0,2),16)/255]):void 0}function sdt(n){n=os(n,!1);for(var i=[],t;t=/^\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)\s*,\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)(?:\s*,\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?))?\s*/i.exec(n);)i.push(parseFloat(t[1]),parseFloat(t[2]),t[3]?parseFloat(t[3]):0),n=n.substr(t[0].length);if(""===n)return i}function wot(n){var t=os(n,!1);return n.baseURI?wn(n.baseURI,t.trim()).toString():t.trim()}function hdt(n){return n=he(n),void 0!==n?Math.sqrt(n):void 0}function cdt(n,t){return s(null,ksi,n,t)}function ldt(n,t){var i=s({B:[],zi:[]},gsi,n,t),u,r,f;if(i){for(u=i.B,i=i.zi,r=0,f=Math.min(u.length,i.length);r<f;++r)u[4*r+3]=i[r];return i=new a(null),i.ba("XYZM",u),i}}function adt(n,t){var u=s({},bn,n,t),r=s(null,dot,n,t),i;if(r)return i=new a(null),i.ba("XYZ",r),i.G(u),i}function vdt(n,t){var u=s({},bn,n,t),r=s(null,dot,n,t),i;if(r)return i=new l(null),i.ba("XYZ",r,[r.length]),i.G(u),i}function ydt(n,t){var r=s([],fhi,n,t),e,u,i,f,o;if(!r)return null;if(0===r.length)return new ni(r);for(e=!0,u=r[0].X(),f=1,o=r.length;f<o;++f)if(i=r[f],i.X()!=u){e=!1;break}if(e){if("Point"==u){for(i=r[0],e=i.f,u=i.la(),f=1,o=r.length;f<o;++f)i=r[f],bf(u,i.la());return i=new ut(null),i.ba(e,u),kot(i,r),i}return"LineString"==u?(i=new d(null),ln(i,r),kot(i,r),i):"Polygon"==u?(i=new it(null),ket(i,r),kot(i,r),i):"GeometryCollection"==u?new ni(r):null}return new ni(r)}function pdt(n,t){var u=s({},bn,n,t),r=s(null,dot,n,t),i;if(r)return i=new tt(null),i.ba("XYZ",r),i.G(u),i}function wdt(n,t){var h=s({},bn,n,t),i=s([null],dsi,n,t);if(i&&i[0]){for(var f=new l(null),r=i[0],e=[r.length],u=1,o=i.length;u<o;++u)bf(r,i[u]),e.push(r.length);return f.ba("XYZ",r,e),f.G(h),f}}function bot(n,t){var i=s({},yhi,n,t),u,r;if(!i)return null;u="fillStyle"in i?i.fillStyle:vot;r=i.fill;void 0===r||r||(u=null);var r="imageStyle"in i?i.imageStyle:rdt,e="textStyle"in i?i.textStyle:fdt,f="strokeStyle"in i?i.strokeStyle:udt,i=i.outline;return void 0===i||i||(f=null),[new yf({fill:u,image:r,stroke:f,text:e,zIndex:void 0})]}function kot(n,t){for(var s=t.length,f=Array(t.length),e=Array(t.length),o,u,r=u=!1,i=0;i<s;++i)o=t[i],f[i]=o.get("extrude"),e[i]=o.get("altitudeMode"),r=r||void 0!==f[i],u=u||e[i];r&&n.set("extrude",f);u&&n.set("altitudeMode",e)}function bdt(n,t){ec(bsi,n,t)}function ddt(n,t){for(var r,i=t.firstChild;i;i=i.nextSibling)if(i.nodeType==Node.ELEMENT_NODE&&(r=got(n,i),r))return r}function got(n,t){for(var r,i=t.firstElementChild;i;i=i.nextElementSibling)if(po(di,i.namespaceURI)&&"name"==i.localName)return c(i);for(i=t.firstElementChild;i;i=i.nextElementSibling)if(r=i.localName,po(di,i.namespaceURI)&&("Document"==r||"Folder"==r||"Placemark"==r||"kml"==r)&&(r=got(n,i)))return r}function gdt(n,t){for(var r=[],i=t.firstChild;i;i=i.nextSibling)i.nodeType==Node.ELEMENT_NODE&&bf(r,nst(n,i));return r}function nst(n,t){for(var u=[],r,i=t.firstElementChild;i;i=i.nextElementSibling)po(di,i.namespaceURI)&&"NetworkLink"==i.localName&&(r=s({},ohi,i,[]),u.push(r));for(i=t.firstElementChild;i;i=i.nextElementSibling)r=i.localName,po(di,i.namespaceURI)&&("Document"==r||"Folder"==r||"kml"==r)&&bf(u,nst(n,i));return u}function tst(n,t){for(var i=nrt(t),i=[255*(4==i.length?i[3]:1),i[2],i[1],i[0]],u,r=0;4>r;++r)u=parseInt(i[r],10).toString(16),i[r]=1==u.length?"0"+u:u;eu(n,i.join(""))}function ngt(n,t,i){n={node:n};var f=t.X(),r,u;"GeometryCollection"==f?(r=t.ff(),u=hgt):"MultiPoint"==f?(r=t.je(),u=wci):"MultiLineString"==f?(r=t.md(),u=bci):"MultiPolygon"==f&&(r=t.Wd(),u=dci);yr(n,fci,u,r,i)}function tgt(n,t,i){yr({node:n},uci,kci,[t],i)}function igt(n,t,i){var u={node:n},r;t.Xa()&&n.setAttribute("id",t.Xa());n=t.O();r=t.ec();r&&(r=r.call(t,0))&&(r=Array.isArray(r)?r[0]:r,this.l&&(n.Style=r),(r=r.Ha())&&(n.name=r.Ha()));r=eci[i[i.length-1].node.namespaceURI];n=il(n,r);yr(u,ogt,vh,n,i,r);n=i[0];(t=t.W())&&(t=ee(t,!0,n));yr(u,ogt,hgt,[t],i)}function ww(n,t,i){var r=t.la();n={node:n};n.layout=t.f;n.stride=t.va();yr(n,oci,yci,[r],i)}function rgt(n,t,i){t=t.Vd();var r=t.shift();n={node:n};yr(n,sgt,pci,t,i);yr(n,sgt,gci,[r],i)}function ugt(n,t){uh(n,Math.round(t*t*1e6)/1e6)}function lci(n,t,i){return hf(ha[0],"gx:"+i)}function aci(n,t){return hf(t[t.length-1].node.namespaceURI,"Placemark")}function hgt(n,t){if(n)return hf(t[t.length-1].node.namespaceURI,khi[n.X()])}function oc(n){this.defaultDataProjection=null;n=n?n:{};this.defaultDataProjection=new of({code:"",units:"tile-pixels"});this.b=n.featureClass?n.featureClass:ps;this.g=n.geometryName?n.geometryName:"geometry";this.a=n.layerName?n.layerName:"layer";this.f=n.layers?n.layers:null}function cgt(n,t,i){for(var f,r,s,e,o=0,u=0,h=n.length;u<h;++u){for(f=n[u],r=0,s=f.length;r<s;++r)e=f[r],t.push(e.x,e.y);o+=2*r;i.push(o)}}function lgt(n,t){return new rst(n,t)}function agt(n,t,i){return new est(n,t,i)}function kn(n){this.Wb=n}function ist(n){this.Wb=n}function ud(n,t,i){this.Wb=n;this.b=t;this.a=i}function rst(n,t){ud.call(this,"And",n,t)}function ust(n,t){ud.call(this,"Or",n,t)}function fst(n){this.Wb="Not";this.condition=n}function est(n,t,i){this.Wb="BBOX";this.geometryName=n;this.extent=t;this.srsName=i}function bl(n,t){this.Wb=n;this.b=t}function fh(n,t,i,r){bl.call(this,n,t);this.g=i;this.a=r}function ost(n,t,i){fh.call(this,"PropertyIsEqualTo",n,t,i)}function sst(n,t,i){fh.call(this,"PropertyIsNotEqualTo",n,t,i)}function hst(n,t){fh.call(this,"PropertyIsLessThan",n,t)}function cst(n,t){fh.call(this,"PropertyIsLessThanOrEqualTo",n,t)}function lst(n,t){fh.call(this,"PropertyIsGreaterThan",n,t)}function ast(n,t){fh.call(this,"PropertyIsGreaterThanOrEqualTo",n,t)}function vst(n){bl.call(this,"PropertyIsNull",n)}function yst(n,t,i){bl.call(this,"PropertyIsBetween",n);this.a=t;this.g=i}function pst(n,t,i,r,u,f){bl.call(this,"PropertyIsLike",n);this.f=t;this.i=void 0!==i?i:"*";this.c=void 0!==r?r:".";this.g=void 0!==u?u:"!";this.a=f}function yy(){ih.call(this);this.defaultDataProjection=yi("EPSG:4326")}function vgt(n,t){t[t.length-1].Cd[n.getAttribute("k")]=n.getAttribute("v")}function bw(n){return n.getAttributeNS("http://www.w3.org/1999/xlink","href")}function dn(){}function gn(){}function ygt(n,t,i,r){for(var e,u=void 0!==r?r:[],f=r=0;f<t;)for(e=n[f++],u[r++]=n[f++],u[r++]=e,e=2;e<i;++e)u[r++]=n[f++];u.length=r}function ph(n){n=n?n:{};this.defaultDataProjection=null;this.defaultDataProjection=yi("EPSG:4326");this.b=n.factor?n.factor:1e5;this.a=n.geometryLayout?n.geometryLayout:"XY"}function pgt(n,t,i){for(var f=Array(t),u,o,e,s,r=0;r<t;++r)f[r]=0;for(u=0,o=n.length;u<o;)for(r=0;r<t;++r,++u)e=n[u],s=e-f[r],f[r]=e,n[u]=s;return bgt(n,i?i:1e5)}function wgt(n,t,i){for(var u=Array(t),f,r=0;r<t;++r)u[r]=0;for(n=kgt(n,i?i:1e5),i=0,f=n.length;i<f;)for(r=0;r<t;++r,++i)u[r]+=n[i],n[i]=u[r];return n}function bgt(n,t){for(var r=t?t:1e5,f,o,e,i=0,u=n.length;i<u;++i)n[i]=Math.round(n[i]*r);for(r=0,i=n.length;r<i;++r)u=n[r],n[r]=0>u?~(u<<1):u<<1;for(r="",i=0,u=n.length;i<u;++i){for(f=n[i],e="";32<=f;)o=(32|f&31)+63,e+=String.fromCharCode(o),f>>=5;e+=String.fromCharCode(f+63);r+=e}return r}function kgt(n,t){for(var s=t?t:1e5,u=[],i=0,f=0,e,r=0,o=n.length;r<o;++r)e=n.charCodeAt(r)-63,i=i|(e&31)<<f,32>e?(u.push(i),f=i=0):f+=5;for(i=0,f=u.length;i<f;++i)r=u[i],u[i]=r&1?~(r>>1):r>>1;for(i=0,f=u.length;i<f;++i)u[i]/=s;return u}function ov(n){n=n?n:{};this.defaultDataProjection=null;this.defaultDataProjection=yi(n.defaultDataProjection?n.defaultDataProjection:"EPSG:4326")}function ntt(n,t){for(var r=[],i,f,u=0,e=n.length;u<e;++u)i=n[u],0<u&&r.pop(),f=0<=i?t[i]:t[~i].slice().reverse(),r.push.apply(r,f);for(i=0,f=r.length;i<f;++i)r[i]=r[i].slice();return r}function bli(n,t,i,r,u){n=n.geometries;for(var e=[],f=0,o=n.length;f<o;++f)e[f]=dgt(n[f],t,i,r,u);return e}function dgt(n,t,i,r,u){var f=n.type,e=ggt[f];return t="Point"===f||"MultiPoint"===f?e(n,i,r):e(n,t),i=new ft,i.Ua(ee(t,!1,u)),void 0!==n.id&&i.mc(n.id),n.properties&&i.G(n.properties),i}function bst(n,t,i){n[0]=n[0]*t[0]+i[0];n[1]=n[1]*t[1]+i[1]}function we(n){n=n?n:{};this.i=n.featureType;this.g=n.featureNS;this.b=n.gmlFormat?n.gmlFormat:new st;this.c=n.schemaLocation?n.schemaLocation:"http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd";ih.call(this)}function nnt(n,t){for(var i=t.firstChild;i;i=i.nextSibling)if(i.nodeType==Node.ELEMENT_NODE)return int(n,i)}function int(n,t){var i={},r=rl(t.getAttribute("numberOfFeatures"));return i.numberOfFeatures=r,s(i,tnt,t,[],n.b)}function unt(n){for(n=n.firstChild;n;n=n.nextSibling)if(n.nodeType==Node.ELEMENT_NODE)return s({},rnt,n,[])}function ent(n,t){var i=hf("http://www.opengis.net/ogc","Filter"),r=hf("http://www.opengis.net/ogc","FeatureId");i.appendChild(r);r.setAttribute("fid",t);n.appendChild(i)}function ont(n,t,i){n={node:n};var r=t.b;yr(n,gw,te(r.Wb),[r],i);t=t.a;yr(n,gw,te(t.Wb),[t],i)}function dw(n,t){void 0!==t.a&&n.setAttribute("matchCase",t.a.toString());ed(n,t.b);fd("Literal",n,""+t.g)}function fd(n,t,i){n=hf("http://www.opengis.net/ogc",n);eu(n,i);t.appendChild(n)}function ed(n,t){fd("PropertyName",n,t)}function bs(n){n=n?n:{};this.defaultDataProjection=null;this.b=void 0!==n.splitCollection?n.splitCollection:!1}function snt(n){return n=n.Z(),0===n.length?"":n[0]+" "+n[1]}function kst(n){n=n.Z();for(var i=[],t=0,r=n.length;t<r;++t)i.push(n[t][0]+" "+n[t][1]);return i.join(",")}function hnt(n){var i=[],t,r;for(n=n.Vd(),t=0,r=n.length;t<r;++t)i.push("("+kst(n[t])+")");return i.join(",")}function cnt(n){var t=n.X();return n=lnt[t](n),t=t.toUpperCase(),0===n.length?t+" EMPTY":t+"("+n+")"}function nai(n){this.a=n;this.b=-1}function ttt(n){var t=n.a.charAt(++n.b),r={position:n.b,value:t};if("("==t)r.type=2;else if(","==t)r.type=5;else if(")"==t)r.type=3;else if("0"<=t&&"9">=t||"."==t||"-"==t){r.type=4;var i,t=n.b,u=!1,f=!1;do"."==i?u=!0:("e"==i||"E"==i)&&(f=!0),i=n.a.charAt(++n.b);while("0"<=i&&"9">=i||"."==i&&(void 0===u||!u)||!f&&("e"==i||"E"==i)||f&&("-"==i||"+"==i));n=parseFloat(n.a.substring(t,n.b--));r.value=n}else if("a"<=t&&"z">=t||"A"<=t&&"Z">=t){r.type=1;t=n.b;do i=n.a.charAt(++n.b);while("a"<=i&&"z">=i||"A"<=i&&"Z">=i);n=n.a.substring(t,n.b--).toUpperCase();r.value=n}else{if(" "==t||"\t"==t||"\r"==t||"\n"==t)return ttt(n);if(""===t)r.type=6;else throw Error("Unexpected character: "+t);}return r}function sv(n){this.a=n}function ant(n){var t=n.b,i,r;if(n.match(1)){if(i=t.value,"GEOMETRYCOLLECTION"==i){n:{if(n.match(2)){t=[];do t.push(ant(n));while(n.match(5));if(n.match(3)){n=t;break n}}else if(py(n)){n=[];break n}throw Error(ca(n));}return new ni(n)}if(r=wnt[i],t=pnt[i],!r||!t)throw Error("Invalid geometry type: "+i);return n=r.call(n),new t(n)}throw Error(ca(n));}function dst(n){for(var r,t=[],i=0;2>i;++i)if(r=n.b,n.match(4))t.push(r.value);else break;if(2==t.length)return t;throw Error(ca(n));}function vnt(n){for(var t=[dst(n)];n.match(5);)t.push(dst(n));return t}function ynt(n){for(var t=[n.Df()];n.match(5);)t.push(n.Df());return t}function py(n){var t=1==n.b.type&&"EMPTY"==n.b.value;return t&&(n.b=ttt(n.a)),t}function ca(n){return"Unexpected `"+n.b.value+"` at position "+n.b.position+" in `"+n.a.a+"`"}function nb(){this.version=void 0}function la(n,t){return s({},pai,n,t)}function gst(n,t){return s({},lai,n,t)}function bnt(n,t){var i=la(n,t),r;if(i)return r=[rl(n.getAttribute("width")),rl(n.getAttribute("height"))],i.size=r,i}function knt(n,t){return s([],wai,n,t)}function od(n){n=n?n:{};this.g="http://mapserver.gis.umn.edu/mapserver";this.b=new ul;this.c=n.layers?n.layers:null;ih.call(this)}function tb(){this.g=new gn}function nht(n){var t=c(n).split(" ");if(t&&2==t.length)return n=+t[0],t=+t[1],isNaN(n)||isNaN(t)?void 0:[n,t]}function li(n){si.call(this);n=n||{};this.a=null;this.c=nit;this.f=void 0;e(this,cf("projection"),this.Nl,this);e(this,cf("tracking"),this.Ol,this);void 0!==n.projection&&this.dh(yi(n.projection));void 0!==n.trackingOptions&&this.si(n.trackingOptions);this.ge(void 0!==n.tracking?n.tracking:!1)}function pt(n,t,i){lt.call(this);this.Vf(n,t?t:0,i)}function gnt(n){var t=n.B[n.a]-n.B[0];return n=n.B[n.a+1]-n.B[1],t*t+n*n}function nti(n,t,i){for(var v=[],o=n(0),r=n(1),u=t(o),f=t(r),y=[r,o],p=[f,u],s=[1,0],w={},b=1e5,h,e,c,l,a;0<--b&&0<s.length;)c=s.pop(),o=y.pop(),u=p.pop(),r=c.toString(),r in w||(v.push(u[0],u[1]),w[r]=!0),l=s.pop(),r=y.pop(),f=p.pop(),a=(c+l)/2,h=n(a),e=t(h),dht(e[0],e[1],u[0],u[1],f[0],f[1])<i?(v.push(f[0],f[1]),r=l.toString(),w[r]=!0):(s.push(l,a,a,c),p.push(f,e,e,u),y.push(r,h,h,o));return v}function fvi(n,t,i,r,u){var f=yi("EPSG:4326");return nti(function(r){return[n,t+(i-t)*r]},gl(f,r),u)}function evi(n,t,i,r,u){var f=yi("EPSG:4326");return nti(function(r){return[t+(i-t)*r,n]},gl(f,r),u)}function kl(n){n=n||{};this.c=this.o=null;this.g=this.i=Infinity;this.f=this.l=-Infinity;this.A=this.U=Infinity;this.D=this.C=-Infinity;this.Ba=void 0!==n.targetSize?n.targetSize:100;this.R=void 0!==n.maxLines?n.maxLines:100;this.b=[];this.a=[];this.ya=void 0!==n.strokeStyle?n.strokeStyle:tti;this.v=this.j=void 0;this.s=null;this.setMap(void 0!==n.map?n.map:null)}function tht(n,t,i,r,u,f,e){var o=e;return t=fvi(t,i,r,n.c,u),o=void 0!==n.b[o]?n.b[o]:new a(null),o.ba("XY",t),oo(o.H(),f)&&(n.b[e++]=o),e}function iht(n,t,i,r,u){var f=u;return t=evi(t,n.f,n.g,n.c,i),f=void 0!==n.a[f]?n.a[f]:new a(null),f.ba("XY",t),oo(f.H(),r)&&(n.a[u++]=f),u}function wh(n,t,i,r,u,f,e){gc.call(this,n,t,i,0,r);this.j=u;this.g=new Image;null!==f&&(this.g.crossOrigin=f);this.i={};this.c=null;this.state=0;this.o=e}function sc(n,t,i,r,u){ke.call(this,n,t);this.s=i;this.g=new Image;null!==r&&(this.g.crossOrigin=r);this.c={};this.j=null;this.v=u}function rht(n){n.j.forEach(cu);n.j=null}function bu(n){n=n?n:{};vi.call(this,{handleEvent:lo});this.c=n.formatConstructors?n.formatConstructors:[];this.j=n.projection?yi(n.projection):null;this.a=null;this.target=n.target?n.target:null}function ovi(n){var t,u,i,r;for(n=n.dataTransfer.files,t=0,u=n.length;t<u;++t)i=n.item(t),r=new FileReader,r.addEventListener("load",this.o.bind(this,i)),r.readAsText(i)}function uht(n){n.stopPropagation();n.preventDefault();n.dataTransfer.dropEffect="copy"}function ss(n,t,i,r,u){vr.call(this,n,t);this.features=r;this.file=i;this.projection=u}function uf(n){n=n?n:{};ei.call(this,{handleDownEvent:cvi,handleDragEvent:svi,handleUpEvent:hvi});this.s=n.condition?n.condition:fk;this.a=this.c=void 0;this.j=0;this.A=void 0!==n.duration?n.duration:400}function svi(n){var u;if(al(n)){var r=n.map,i=r.Za(),t=n.pixel;n=t[0]-i[0]/2;t=i[1]/2-t[1];i=Math.atan2(t,n);n=Math.sqrt(n*n+t*t);t=r.aa();r.render();void 0!==this.c&&(u=i-this.c,iw(r,t,t.La()-u));this.c=i;void 0!==this.a&&(i=this.a*(t.$()/n),rk(r,t,i));void 0!==this.a&&(this.j=this.a/n);this.a=n}}function hvi(n){var t;if(!al(n))return!0;n=n.map;t=n.aa();tc(t,-1);var r=this.j-1,i=t.La(),i=t.constrainRotation(i,0);iw(n,t,i,void 0,void 0);var i=t.$(),u=this.A,i=t.constrainResolution(i,0,r);return rk(n,t,i,void 0,u),this.j=0,!1}function cvi(n){return al(n)&&this.s(n)?(tc(n.map.aa(),1),this.a=this.c=void 0,!0):!1}function oh(n,t){vr.call(this,n);this.feature=t}function br(n){var i,t;ei.call(this,{handleDownEvent:avi,handleEvent:rti,handleUpEvent:vvi});this.za=null;this.S=!1;this.Hc=n.source?n.source:null;this.qb=n.features?n.features:null;this.Cj=n.snapTolerance?n.snapTolerance:12;this.Y=n.type;this.c=yvi(this.Y);this.Sa=n.minPoints?n.minPoints:this.c===fl?3:2;this.Aa=n.maxPoints?n.maxPoints:Infinity;this.Ne=n.finishCondition?n.finishCondition:lo;t=n.geometryFunction;t||("Circle"===this.Y?t=function(n,t){var i=t?t:new pt([NaN,NaN]);return i.Vf(n[0],Math.sqrt(cc(n[0],n[1]))),i}:(t=this.c,t===sd?i=tt:t===wy?i=a:t===fl&&(i=l),t=function(n,t){var r=t;return r?r.pa(n):r=new i(n),r}));this.D=t;this.T=this.A=this.a=this.R=this.j=this.s=null;this.Fj=n.clickTolerance?n.clickTolerance*n.clickTolerance:36;this.qa=new p({source:new v({useSpatialIndex:!1,wrapX:n.wrapX?n.wrapX:!1}),style:n.style?n.style:lvi()});this.Hb=n.geometryName;this.Bj=n.condition?n.condition:uk;this.ta=n.freehandCondition?n.freehandCondition:fk;e(this,cf("active"),this.yi,this)}function lvi(){var n=hft();return function(t){return n[t.W().X()]}}function rti(n){(this.c===wy||this.c===fl)&&this.ta(n)&&(this.S=!0);var t=!this.S;return this.S&&n.type===gp?(oti(this,n),t=!1):n.type===kb?t=uti(this,n):n.type===bb&&(t=!1),ek.call(this,n)&&t}function avi(n){return this.Bj(n)?(this.za=n.pixel,!0):this.S?(this.za=n.pixel,this.s||eti(this,n),!0):!1}function vvi(n){this.S=!1;var t=this.za,i=n.pixel,r=t[0]-i[0],t=t[1]-i[1],i=!0;return r*r+t*t<=this.Fj&&(uti(this,n),this.s?this.c===fht?this.jd():fti(this,n)?this.Ne(n)&&this.jd():oti(this,n):(eti(this,n),this.c===sd&&this.jd()),i=!1),i}function uti(n,t){if(n.s){var i=t.coordinate,u=n.j.W(),r;n.c===sd?r=n.a:n.c===fl?(r=n.a[0],r=r[r.length-1],fti(n,t)&&(i=n.s.slice())):(r=n.a,r=r[r.length-1]);r[0]=i[0];r[1]=i[1];n.D(n.a,u);n.R&&n.R.W().pa(i);u instanceof l&&n.c!==fl?(n.A||(n.A=new ft(new a(null))),u=u.Hg(0),i=n.A.W(),i.ba(u.f,u.la())):n.T&&(i=n.A.W(),i.pa(n.T));rb(n)}else i=t.coordinate.slice(),n.R?n.R.W().pa(i):(n.R=new ft(new tt(i)),rb(n));return!0}function fti(n,t){var r=!1,i,f;if(n.j&&(i=!1,f=[n.s],n.c===wy?i=n.a.length>n.Sa:n.c===fl&&(i=n.a[0].length>n.Sa,f=[n.a[0][0],n.a[0][n.a[0].length-2]]),i))for(var i=t.map,o=0,h=f.length;o<h;o++){var s=f[o],u=i.Ga(s),e=t.pixel,r=e[0]-u[0],u=e[1]-u[1],e=n.S&&n.ta(t)?1:n.Cj;if(r=Math.sqrt(r*r+u*u)<=e){n.s=s;break}}return r}function eti(n,t){var i=t.coordinate;n.s=i;n.c===sd?n.a=i.slice():n.c===fl?(n.a=[[i.slice(),i.slice()]],n.T=n.a[0]):(n.a=[i.slice(),i.slice()],n.c===fht&&(n.T=n.a));n.T&&(n.A=new ft(new a(n.T)));i=n.D(n.a);n.j=new ft;n.Hb&&n.j.Ec(n.Hb);n.j.Ua(i);rb(n);n.b(new oh("drawstart",n.j))}function oti(n,t){var r=t.coordinate,f=n.j.W(),u,i;n.c===wy?(n.s=r.slice(),i=n.a,i.push(r.slice()),u=i.length>n.Aa,n.D(i,f)):n.c===fl&&(i=n.a[0],i.push(r.slice()),(u=i.length>n.Aa)&&(n.s=i[0]),n.D(n.a,f));rb(n);u&&n.jd()}function sti(n){n.s=null;var t=n.j;return t&&(n.j=null,n.R=null,n.A=null,n.qa.ha().clear(!0)),t}function rb(n){var t=[];n.j&&t.push(n.j);n.A&&t.push(n.A);n.R&&t.push(n.R);n=n.qa.ha();n.clear(!0);n.Jc(t)}function yvi(n){var t;return"Point"===n||"MultiPoint"===n?t=sd:"LineString"===n||"MultiLineString"===n?t=wy:"Polygon"===n||"MultiPolygon"===n?t=fl:"Circle"===n&&(t=fht),t}function hs(n,t,i){vr.call(this,n);this.features=t;this.mapBrowserEvent=i}function hu(n){ei.call(this,{handleDownEvent:bvi,handleDragEvent:kvi,handleEvent:lti,handleUpEvent:dvi});this.Hb=n.condition?n.condition:gvt;this.Sa=function(n){return uk(n)&&ift(n)};this.qb=n.deleteCondition?n.deleteCondition:this.Sa;this.Aa=this.c=null;this.qa=[0,0];this.D=this.T=!1;this.a=new lk;this.R=void 0!==n.pixelTolerance?n.pixelTolerance:10;this.s=this.ta=!1;this.j=[];this.S=new p({source:new v({useSpatialIndex:!1,wrapX:!!n.wrapX}),style:n.style?n.style:gvi(),updateWhileAnimating:!0,updateWhileInteracting:!0});this.za={Point:this.ym,LineString:this.kh,LinearRing:this.kh,Polygon:this.zm,MultiPoint:this.wm,MultiLineString:this.vm,MultiPolygon:this.xm,GeometryCollection:this.um};this.A=n.features;this.A.forEach(this.xf,this);e(this.A,"add",this.sm,this);e(this.A,"remove",this.tm,this);this.Y=null}function eht(n,t){n.D||(n.D=!0,n.b(new hs("modifystart",n.A,t)))}function hti(n,t){pvi(n,t);n.c&&0===n.A.dc()&&(n.S.ha().nb(n.c),n.c=null);bh(t,"change",n.jh,n)}function pvi(n,t){var u=n.a,r=[],i;for(u.forEach(function(n){t===n.feature&&r.push(n)}),i=r.length-1;0<=i;--i)u.remove(r[i])}function cti(n,t){var i=n.c;i?i.W().pa(t):(i=new ft(new tt(t)),n.c=i,n.S.ha().rb(i))}function wvi(n,t){return n.index-t.index}function bvi(n){var u,o,h;if(!this.Hb(n))return!1;if(oht(this,n.pixel,n.map),this.j.length=0,this.D=!1,u=this.c,u){var e=[],u=u.W().Z(),f=eo([u]),f=ak(this.a,f),i={};for(f.sort(wvi),o=0,h=f.length;o<h;++o){var r=f[o],s=r.na,t=nt(r.feature),c=r.depth;c&&(t+="-"+c.join("-"));i[t]||(i[t]=Array(2));gy(s[0],u)&&!i[t][0]?(this.j.push([r,0]),i[t][0]=r):gy(s[1],u)&&!i[t][1]?("LineString"===r.geometry.X()||"MultiLineString"===r.geometry.X())&&i[t][0]&&0===i[t][0].index||(this.j.push([r,1]),i[t][1]=r):nt(s)in this.Aa&&!i[t][0]&&!i[t][1]&&e.push([r,u])}for(e.length&&eht(this,n),n=e.length-1;0<=n;--n)this.nl.apply(this,e[n])}return!!this.c}function kvi(n){var f,s;for(this.T=!1,eht(this,n),n=n.coordinate,f=0,s=this.j.length;f<s;++f){for(var t=this.j[f],i=t[0],e=i.depth,o=i.geometry,u=o.Z(),r=i.na,t=t[1];n.length<o.va();)n.push(0);switch(o.X()){case"Point":u=n;r[0]=r[1]=n;break;case"MultiPoint":u[i.index]=n;r[0]=r[1]=n;break;case"LineString":u[i.index+t]=n;r[t]=n;break;case"MultiLineString":u[e[0]][i.index+t]=n;r[t]=n;break;case"Polygon":u[e[0]][i.index+t]=n;r[t]=n;break;case"MultiPolygon":u[e[1]][e[0]][i.index+t]=n;r[t]=n}i=o;this.s=!0;i.pa(u);this.s=!1}cti(this,n)}function dvi(n){for(var t,i=this.j.length-1;0<=i;--i)t=this.j[i][0],gpt(this.a,eo(t.na),t);return this.D&&(this.b(new hs("modifyend",this.A,n)),this.D=!1),!1}function lti(n){if(!(n instanceof sf))return!0;this.Y=n;var t;return alt(n.map.aa())[1]||n.type!=kb||this.C||(this.qa=n.pixel,oht(this,n.pixel,n.map)),this.c&&this.qb(n)&&(n.type==wb&&this.T?t=!0:(this.c.W(),t=this.ai())),n.type==wb&&(this.T=!1),ek.call(this,n)&&!t}function oht(n,t,i){function s(n,t){return bd(o,n.na)-bd(o,t.na)}var o=i.Ma(t),u=i.Ma([t[0]-n.R,t[1]+n.R]),r=i.Ma([t[0]+n.R,t[1]-n.R]),u=eo([u,r]),u=ak(n.a,u);if(0<u.length){u.sort(s);var r=u[0].na,f=att(o,r),e=i.Ga(f);if(Math.sqrt(cc(t,e))<=n.R){for(t=i.Ga(r[0]),i=i.Ga(r[1]),t=cc(e,t),i=cc(e,i),n.ta=Math.sqrt(Math.min(t,i))<=n.R,n.ta&&(f=t>i?r[1]:r[0]),cti(n,f),i={},i[nt(r)]=!0,t=1,e=u.length;t<e;++t)if(f=u[t].na,gy(r[0],f[0])&&gy(r[1],f[1])||gy(r[0],f[1])&&gy(r[1],f[0]))i[nt(f)]=!0;else break;n.Aa=i;return}}n.c&&(n.S.ha().nb(n.c),n.c=null)}function ati(n,t,i,r,u){vk(n.a,t.H(),function(n){n.geometry===t&&(void 0===r||void 0===n.depth||wd(n.depth,r))&&n.index>i&&(n.index+=u)})}function gvi(){var n=hft();return function(){return n.Point}}function cs(n,t,i,r){vr.call(this,n);this.selected=t;this.deselected=i;this.mapBrowserEvent=r}function kr(n){var t,i;vi.call(this,{handleEvent:vti});t=n?n:{};this.C=t.condition?t.condition:ift;this.A=t.addCondition?t.addCondition:ks;this.D=t.removeCondition?t.removeCondition:ks;this.R=t.toggleCondition?t.toggleCondition:fk;this.j=t.multi?t.multi:!1;this.o=t.filter?t.filter:lo;this.c=new p({source:new v({useSpatialIndex:!1,features:t.features,wrapX:t.wrapX}),style:t.style?t.style:nyi(),updateWhileAnimating:!0,updateWhileInteracting:!0});t.layers?"function"==typeof t.layers?n=function(n){return t.layers(n)}:(i=t.layers,n=function(n){return po(i,n)}):n=lo;this.s=n;this.a={};n=this.c.ha().c;e(n,"add",this.Am,this);e(n,"remove",this.Dm,this)}function vti(n){if(!this.C(n))return!0;var e=this.A(n),o=this.D(n),f=this.R(n),u=!e&&!o&&!f,s=n.map,t=this.c.ha().c,r=[],i=[];if(u)ol(this.a),s.kd(n.pixel,function(n,t){if(this.o(n,t)){i.push(n);var r=nt(n);return this.a[r]=t,!this.j}},this,this.s),0<i.length&&1==t.dc()&&t.item(0)==i[0]?i.length=0:(0!==t.dc()&&(r=Array.prototype.concat(t.a),t.clear()),t.qf(i));else{for(s.kd(n.pixel,function(n,u){if(this.o(n,u)){if((e||f)&&!po(t.a,n)){i.push(n);var s=nt(n);this.a[s]=u}else(o||f)&&po(t.a,n)&&(r.push(n),s=nt(n),delete this.a[s]);return!this.j}},this,this.s),u=r.length-1;0<=u;--u)t.remove(r[u]);t.qf(i)}return(0<i.length||0<r.length)&&this.b(new cs("select",i,r,n)),dvt(n)}function nyi(){var n=hft();return bf(n.Polygon,n.LineString),bf(n.GeometryCollection,n.LineString),function(t){return n[t.W().X()]}}function iu(n){ei.call(this,{handleEvent:tyi,handleDownEvent:lo,handleUpEvent:iyi});n=n?n:{};this.s=n.source?n.source:null;this.qa=void 0!==n.vertex?n.vertex:!0;this.T=void 0!==n.edge?n.edge:!0;this.j=n.features?n.features:null;this.ta=[];this.D={};this.R={};this.Y={};this.A={};this.S=null;this.c=void 0!==n.pixelTolerance?n.pixelTolerance:10;this.Aa=ryi.bind(this);this.a=new lk;this.za={Point:this.Jm,LineString:this.nh,LinearRing:this.nh,Polygon:this.Km,MultiPoint:this.Hm,MultiLineString:this.Gm,MultiPolygon:this.Im,GeometryCollection:this.Fm}}function tyi(n){var u,t,i=n.pixel,f=n.coordinate,o;u=n.map;o=u.Ma([i[0]-this.c,i[1]+this.c]);t=u.Ma([i[0]+this.c,i[1]-this.c]);var o=eo([o,t]),r=ak(this.a,o),e,o=!1,s=null;return t=null,0<r.length&&(this.S=f,r.sort(this.Aa),r=r[0].na,this.qa&&!this.T?(f=u.Ga(r[0]),e=u.Ga(r[1]),f=cc(i,f),i=cc(i,e),e=Math.sqrt(Math.min(f,i)),e=e<=this.c)&&(o=!0,s=f>i?r[1]:r[0],t=u.Ga(s)):this.T&&(s=att(f,r),t=u.Ga(s),Math.sqrt(cc(i,t))<=this.c&&(o=!0,this.qa&&(f=u.Ga(r[0]),e=u.Ga(r[1]),f=cc(t,f),i=cc(t,e),e=Math.sqrt(Math.min(f,i)),e=e<=this.c)))&&(s=f>i?r[1]:r[0],t=u.Ga(s)),o&&(t=[Math.round(t[0]),Math.round(t[1])])),u=s,o&&(n.coordinate=u.slice(0,2),n.pixel=t),ek.call(this,n)}function iyi(){var n=vd(this.A);return n.length&&(n.forEach(this.xi,this),this.A={}),!1}function ryi(n,t){return bd(this.S,n.na)-bd(this.S,t.na)}function ls(n,t,i){vr.call(this,n);this.features=t;this.coordinate=i}function ff(n){var t,i;ei.call(this,{handleDownEvent:uyi,handleDragEvent:eyi,handleMoveEvent:sht,handleUpEvent:fyi});this.s=void 0;this.a=null;this.c=void 0!==n.features?n.features:null;n.layers?"function"==typeof n.layers?t=function(t){return n.layers(t)}:(i=n.layers,t=function(n){return po(i,n)}):t=lo;this.A=t;this.j=null}function uyi(n){return this.j=oyi(this,n.pixel,n.map),!this.a&&this.j?(this.a=n.coordinate,sht.call(this,n),this.b(new ls("translatestart",this.c,n.coordinate)),!0):!1}function fyi(n){return this.a?(this.a=null,sht.call(this,n),this.b(new ls("translateend",this.c,n.coordinate)),!0):!1}function eyi(n){var t,i,r;this.a&&(n=n.coordinate,t=n[0]-this.a[0],i=n[1]-this.a[1],this.c?this.c.forEach(function(n){var r=n.W();r.Sc(t,i);n.Ua(r)}):this.j&&(r=this.j.W(),r.Sc(t,i),this.j.Ua(r)),this.a=n,this.b(new ls("translating",this.c,n)))}function sht(n){var t=n.map.yc(),i;(n=n.map.kd(n.pixel,function(n){return n}))?(i=!1,this.c&&po(this.c.a,n)&&(i=!0),this.s=t.style.cursor,t.style.cursor=this.a?"-webkit-grabbing":i?"-webkit-grab":"pointer",t.style.cursor=this.a?i?"grab":"pointer":"grabbing"):(t.style.cursor=void 0!==this.s?this.s:"",this.s=void 0)}function oyi(n,t,i){var r=null;return t=i.kd(t,function(n){return n},n,n.A),n.c&&po(n.c.a,t)&&(r=t),r}function b(n){var t,i,r;n=n?n:{};t=sr({},n);delete t.gradient;delete t.radius;delete t.blur;delete t.shadow;delete t.weight;p.call(this,t);this.f=null;this.ia=void 0!==n.shadow?n.shadow:250;this.Y=void 0;this.c=null;e(this,cf("gradient"),this.Lk,this);this.ii(n.gradient?n.gradient:yti);this.di(void 0!==n.blur?n.blur:15);this.qh(void 0!==n.radius?n.radius:8);e(this,cf("blur"),this.lf,this);e(this,cf("radius"),this.lf,this);this.lf();i=n.weight?n.weight:"weight";r="string"==typeof i?function(n){return n.get(i)}:i;this.l(function(n){n=r(n);n=void 0!==n?uo(n,0,1):1;var i=255*n|0,t=this.c[i];return t||(t=[new yf({image:new ku({opacity:n,src:this.Y})})],this.c[i]=t),t}.bind(this));this.set("renderOrder",null);e(this,"render",this.dl,this)}function rtt(n,t,i,r){function e(){delete tr[f];u.parentNode.removeChild(u)}var u=tr.document.createElement("script"),f="olc_"+nt(t),o;u.async=!0;u.src=n+(-1==n.indexOf("?")?"?":"&")+(r||"callback")+"="+f;o=tr.setTimeout(function(){e();i&&i()},1e4);tr[f]=function(n){tr.clearTimeout(o);e();t(n)};tr.document.getElementsByTagName("head")[0].appendChild(u)}function dl(n,t,i,r,u,f,e,o,s,h,c){if(ke.call(this,u,0),this.R=void 0!==c?c:!1,this.D=e,this.C=o,this.l=null,this.c={},this.j=t,this.v=r,this.U=f?f:u,this.g=[],this.Wc=null,this.s=0,f=r.Ea(this.U),o=this.v.H(),u=this.j.H(),f=o?vc(f,o):f,0===yct(f))this.state=4;else if((o=n.H())&&(u=u?vc(u,o):o),r=r.$(this.U[0]),r=upt(n,i,gh(f),r),!isFinite(r)||0>=r)this.state=4;else if(this.A=new ept(n,i,f,u,r*(void 0!==h?h:.5)),0===this.A.f.length)this.state=4;else if(this.s=t.Lb(r),i=opt(this.A),u&&(n.a?(i[1]=uo(i[1],u[1],u[3]),i[3]=uo(i[3],u[1],u[3])):i=vc(i,u)),yct(i))if(n=ch(t,i,this.s),100>(n.ea-n.ca+1)*(n.ga-n.fa+1)){for(t=n.ca;t<=n.ea;t++)for(i=n.fa;i<=n.ga;i++)(h=s(this.s,t,i,e))&&this.g.push(h);0===this.g.length&&(this.state=4)}else this.state=3;else this.state=4}function g(n){gt.call(this,{attributions:n.attributions,cacheSize:n.cacheSize,extent:n.extent,logo:n.logo,opaque:n.opaque,projection:n.projection,state:n.state,tileGrid:n.tileGrid,tileLoadFunction:n.tileLoadFunction?n.tileLoadFunction:syi,tilePixelRatio:n.tilePixelRatio,tileUrlFunction:n.tileUrlFunction,url:n.url,urls:n.urls,wrapX:n.wrapX});this.crossOrigin=void 0!==n.crossOrigin?n.crossOrigin:null;this.tileClass=void 0!==n.tileClass?n.tileClass:sc;this.i={};this.s={};this.qa=n.reprojectionErrorThreshold;this.C=!1}function pti(n,t,i,r,u,f,o){return t=[t,i,r],u=(i=pp(n,t,f))?n.tileUrlFunction(i,u,f):void 0,u=new n.tileClass(t,void 0!==u?0:4,void 0!==u?u:"",n.crossOrigin,n.tileLoadFunction),u.key=o,e(u,"change",n.Bh,n),u}function wti(n,t,i,r,u,f){var e,s=n.Eb(t,i,r),h=n.cc,o;return ic(n.a,s)?(e=n.a.get(s),e.key!=h)&&(o=e,e.a&&e.a.key==h?(e=e.a,2==o.V()&&(e.a=o)):(e=pti(n,t,i,r,u,f,h),2==o.V()?e.a=o:o.a&&2==o.a.V()&&(e.a=o.a,o.a=null)),e.a&&(e.a.a=null),n.a.replace(s,e)):(e=pti(n,t,i,r,u,f,h),n.a.set(s,e)),e}function syi(n,t){n.$a().src=t}function ti(n){g.call(this,{cacheSize:n.cacheSize,crossOrigin:"anonymous",opaque:!0,projection:yi("EPSG:3857"),reprojectionErrorThreshold:n.reprojectionErrorThreshold,state:"loading",tileLoadFunction:n.tileLoadFunction,wrapX:void 0!==n.wrapX?n.wrapX:!0});this.j=void 0!==n.culture?n.culture:"en-us";this.c=void 0!==n.maxZoom?n.maxZoom:-1;rtt("https://dev.virtualearth.net/REST/v1/Imagery/Metadata/"+n.imagerySet+"?uriScheme=https&include=ImageryProviders&key="+n.key,this.v.bind(this),void 0,"jsonp")}function at(n){n=n||{};var t=void 0!==n.projection?n.projection:"EPSG:3857",i=void 0!==n.tileGrid?n.tileGrid:cb({extent:iy(t),maxZoom:n.maxZoom,minZoom:n.minZoom,tileSize:n.tileSize});g.call(this,{attributions:n.attributions,cacheSize:n.cacheSize,crossOrigin:n.crossOrigin,logo:n.logo,opaque:n.opaque,projection:t,reprojectionErrorThreshold:n.reprojectionErrorThreshold,tileGrid:i,tileLoadFunction:n.tileLoadFunction,tilePixelRatio:n.tilePixelRatio,tileUrlFunction:n.tileUrlFunction,url:n.url,urls:n.urls,wrapX:void 0!==n.wrapX?n.wrapX:!0})}function ht(n){this.v=n.account;this.A=n.map||"";this.c=n.config||{};this.j={};at.call(this,{attributions:n.attributions,cacheSize:n.cacheSize,crossOrigin:n.crossOrigin,logo:n.logo,maxZoom:void 0!==n.maxZoom?n.maxZoom:18,minZoom:n.minZoom,projection:n.projection,state:"loading",wrapX:n.wrapX});cht(this)}function cht(n){var i=JSON.stringify(n.c),r,t;n.j[i]?bti(n,n.j[i]):(r="https://"+n.v+".cartodb.com/api/v1/map",n.A&&(r+="/named/"+n.A),t=new XMLHttpRequest,t.addEventListener("load",n.Nk.bind(n,i)),t.addEventListener("error",n.Mk.bind(n)),t.open("POST",r),t.setRequestHeader("Content-type","application/json"),t.send(JSON.stringify(n.c)))}function bti(n,t){n.Va("https://"+t.cdn_url.https+"/"+n.v+"/api/v1/map/"+t.layergroupid+"/{z}/{x}/{y}.png")}function y(n){v.call(this,{attributions:n.attributions,extent:n.extent,logo:n.logo,projection:n.projection,wrapX:n.wrapX});this.C=void 0;this.ta=void 0!==n.distance?n.distance:20;this.A=[];this.ia=n.geometryFunction||function(n){return n.W()};this.v=n.source;this.v.I("change",y.prototype.Sa,this)}function kti(n){var t;if(void 0!==n.C){n.A.length=0;for(var i=ve(),e=n.ta*n.C,f=n.v.oe(),r={},u=0,o=f.length;u<o;u++)t=f[u],nt(t).toString()in r||!(t=n.ia(t))||(t=t.Z(),dd(t,i),lc(i,e,i),t=n.v.ef(i),t=t.filter(function(n){return n=nt(n).toString(),n in r?!1:r[n]=!0}),n.A.push(hyi(n,t)))}}function hyi(n,t){for(var u,i=[0,0],r=t.length-1;0<=r;--r)u=n.ia(t[r]),u?dy(i,u.Z()):t.splice(r,1);return r=1/t.length,i[0]*=r,i[1]*=r,i=new ft(new tt(i)),i.set("features",t),i}function by(n,t){var i=Object.keys(t).map(function(n){return n+"="+encodeURIComponent(t[n])}).join("&");return n=n.replace(/[?&]$/,""),n=-1===n.indexOf("?")?n+"?":n+"&",n+i}function pi(n){n=n||{};ci.call(this,{attributions:n.attributions,logo:n.logo,projection:n.projection,resolutions:n.resolutions});this.Y=void 0!==n.crossOrigin?n.crossOrigin:null;this.i=n.url;this.j=void 0!==n.imageLoadFunction?n.imageLoadFunction:en;this.v=n.params||{};this.c=null;this.s=[0,0];this.T=0;this.S=void 0!==n.ratio?n.ratio:1.5}function gi(n){ci.call(this,{projection:n.projection,resolutions:n.resolutions});this.Y=void 0!==n.crossOrigin?n.crossOrigin:null;this.s=void 0!==n.displayDpi?n.displayDpi:96;this.j=n.params||{};this.T=n.url;this.c=void 0!==n.imageLoadFunction?n.imageLoadFunction:en;this.ia=void 0!==n.hidpi?n.hidpi:!0;this.ta=void 0!==n.metersPerUnit?n.metersPerUnit:1;this.v=void 0!==n.ratio?n.ratio:1;this.Aa=void 0!==n.useOverlay?n.useOverlay:!1;this.i=null;this.S=0}function ar(n){var t=n.imageExtent,i=void 0!==n.crossOrigin?n.crossOrigin:null,r=void 0!==n.imageLoadFunction?n.imageLoadFunction:en;ci.call(this,{attributions:n.attributions,logo:n.logo,projection:yi(n.projection)});this.c=new wh(t,void 0,1,this.l,n.url,i,r);this.i=n.imageSize?n.imageSize:null;e(this.c,"change",this.o,this)}function ai(n){n=n||{};ci.call(this,{attributions:n.attributions,logo:n.logo,projection:n.projection,resolutions:n.resolutions});this.ta=void 0!==n.crossOrigin?n.crossOrigin:null;this.j=n.url;this.S=void 0!==n.imageLoadFunction?n.imageLoadFunction:en;this.i=n.params||{};this.v=!0;gti(this);this.ia=n.serverType;this.Aa=void 0!==n.hidpi?n.hidpi:!0;this.c=null;this.T=[0,0];this.Y=0;this.s=void 0!==n.ratio?n.ratio:1.5}function dti(n,t,i,r,u,f){if(f[n.v?"CRS":"SRS"]=u.cb,"STYLES"in n.i||(f.STYLES=""),1!=r)switch(n.ia){case"geoserver":r=90*r+.5|0;f.FORMAT_OPTIONS="FORMAT_OPTIONS"in f?f.FORMAT_OPTIONS+(";dpi:"+r):"dpi:"+r;break;case"mapserver":f.MAP_RESOLUTION=90*r;break;case"carmentaserver":case"qgis":f.DPI=90*r}f.WIDTH=i[0];f.HEIGHT=i[1];i=u.b;var e;return e=n.v&&"ne"==i.substr(0,2)?[t[1],t[0],t[3],t[2]]:t,f.BBOX=e.join(","),by(n.j,f)}function gti(n){n.v=0<=sct(n.i.VERSION||"1.3.0")}function ii(n){n=n||{};var t;t=void 0!==n.attributions?n.attributions:[utt];at.call(this,{attributions:t,cacheSize:n.cacheSize,crossOrigin:void 0!==n.crossOrigin?n.crossOrigin:"anonymous",opaque:void 0!==n.opaque?n.opaque:!0,maxZoom:void 0!==n.maxZoom?n.maxZoom:19,reprojectionErrorThreshold:n.reprojectionErrorThreshold,tileLoadFunction:n.tileLoadFunction,url:void 0!==n.url?n.url:"https://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png",wrapX:n.wrapX})}function ur(n){var t,i;for(this.S=null,this.Aa=void 0!==n.operationType?n.operationType:"pixel",this.Sa=void 0!==n.threads?n.threads:1,this.c=lyi(n.sources),t=0,i=this.c.length;t<i;++t)e(this.c[t],"change",this.u,this);this.i=lf();this.ia=new ik(function(){return 1},this.u.bind(this));for(var t=cyi(this.c),i={},r=0,u=t.length;r<u;++r)i[nt(t[r].layer)]=t[r];this.j=this.s=null;this.Y={animate:!1,attributions:{},coordinateToPixelMatrix:wf(),extent:null,focus:null,index:0,layerStates:i,layerStatesArray:t,logos:{},pixelRatio:1,pixelToCoordinateMatrix:wf(),postRenderFunctions:[],size:[0,0],skippedFeatureUids:{},tileQueue:this.ia,time:Date.now(),usedTiles:{},viewState:{rotation:0},viewHints:[],wantedTiles:{}};ci.call(this,{});void 0!==n.operation&&this.v(n.operation,n.lib)}function nii(n,t,i){var r=n.s;return!r||n.g!==r.Xo||i!==r.resolution||!eb(t,r.extent)}function cyi(n){return n.map(function(n){return db(n.a)})}function lyi(n){for(var u=n.length,f=Array(u),i=0;i<u;++i){var e=i,t=n[i],r=null;t instanceof ki?(t=new rt({source:t}),r=new ue(t)):t instanceof ci&&(t=new kt({source:t}),r=new ge(t));f[e]=r}return f}function rs(n,t,i){vr.call(this,n);this.extent=t.extent;this.resolution=t.viewState.resolution/t.pixelRatio;this.data=i}function ri(n){var t=n.layer.indexOf("-"),t=-1==t?n.layer:n.layer.slice(0,t),t=pyi[t],i=yyi[n.layer];at.call(this,{attributions:tii,cacheSize:n.cacheSize,crossOrigin:"anonymous",maxZoom:void 0!=n.maxZoom?n.maxZoom:t.maxZoom,minZoom:void 0!=n.minZoom?n.minZoom:t.minZoom,opaque:i.opaque,reprojectionErrorThreshold:n.reprojectionErrorThreshold,tileLoadFunction:n.tileLoadFunction,url:void 0!==n.url?n.url:"https://stamen-tiles-{a-d}.a.ssl.fastly.net/"+n.layer+"/{z}/{x}/{y}."+i.tb})}function ot(n){n=n||{};g.call(this,{attributions:n.attributions,cacheSize:n.cacheSize,crossOrigin:n.crossOrigin,logo:n.logo,projection:n.projection,reprojectionErrorThreshold:n.reprojectionErrorThreshold,tileGrid:n.tileGrid,tileLoadFunction:n.tileLoadFunction,url:n.url,urls:n.urls,wrapX:void 0!==n.wrapX?n.wrapX:!0});this.c=n.params||{};this.j=ve()}function aht(n,t,i){ke.call(this,n,2);this.l=t;this.c=i;this.g={}}function lr(n){ki.call(this,{opaque:!1,projection:n.projection,tileGrid:n.tileGrid,wrapX:void 0!==n.wrapX?n.wrapX:!0})}function wt(n){if(this.c=null,g.call(this,{attributions:n.attributions,cacheSize:n.cacheSize,crossOrigin:n.crossOrigin,projection:yi("EPSG:3857"),reprojectionErrorThreshold:n.reprojectionErrorThreshold,state:"loading",tileLoadFunction:n.tileLoadFunction,wrapX:void 0!==n.wrapX?n.wrapX:!0}),n.jsonp)rtt(n.url,this.yh.bind(this),this.me.bind(this));else{var t=new XMLHttpRequest;t.addEventListener("load",this.pn.bind(this));t.addEventListener("error",this.nn.bind(this));t.open("GET",n.url);t.send()}}function rr(n){if(ki.call(this,{projection:yi("EPSG:3857"),state:"loading"}),this.s=void 0!==n.preemptive?n.preemptive:!0,this.j=gft,this.i=void 0,this.c=n.jsonp||!1,n.url)if(this.c)rtt(n.url,this.Bf.bind(this),this.ne.bind(this));else{var t=new XMLHttpRequest;t.addEventListener("load",this.tn.bind(this));t.addEventListener("error",this.sn.bind(this));t.open("GET",n.url);t.send()}else n.tileJSON&&this.Bf(n.tileJSON)}function vht(n,t,i,r,u,f){ke.call(this,n,t);this.s=i;this.g=r;this.U=u;this.c=this.j=this.l=null;this.v=f}function wyi(n,t,i,r,u){0==n.state&&!0===u?(sl(n,"change",function(){i.call(r,this.getData(t))},n),iii(n)):!0===u?prt(function(){i.call(r,this.getData(t))},n):i.call(r,n.getData(t))}function iii(n){if(0==n.state)if(n.state=1,n.v)rtt(n.s,n.zh.bind(n),n.ae.bind(n));else{var t=new XMLHttpRequest;t.addEventListener("load",n.rn.bind(n));t.addEventListener("error",n.qn.bind(n));t.open("GET",n.s);t.send()}}function ct(n){n=n||{};var t=n.params||{};g.call(this,{attributions:n.attributions,cacheSize:n.cacheSize,crossOrigin:n.crossOrigin,logo:n.logo,opaque:!("TRANSPARENT"in t?t.TRANSPARENT:1),projection:n.projection,reprojectionErrorThreshold:n.reprojectionErrorThreshold,tileGrid:n.tileGrid,tileLoadFunction:n.tileLoadFunction,url:n.url,urls:n.urls,wrapX:void 0!==n.wrapX?n.wrapX:!0});this.v=void 0!==n.gutter?n.gutter:0;this.c=t;this.j=!0;this.A=n.serverType;this.T=void 0!==n.hidpi?n.hidpi:!0;this.S="";uii(this);this.Y=ve();eii(this);lb(this,fii(this))}function rii(n,t,i,r,u,f,e){var o=n.urls;if(o){if(e.WIDTH=i[0],e.HEIGHT=i[1],e[n.j?"CRS":"SRS"]=f.cb,"STYLES"in n.c||(e.STYLES=""),1!=u)switch(n.A){case"geoserver":i=90*u+.5|0;e.FORMAT_OPTIONS="FORMAT_OPTIONS"in e?e.FORMAT_OPTIONS+(";dpi:"+i):"dpi:"+i;break;case"mapserver":e.MAP_RESOLUTION=90*u;break;case"carmentaserver":case"qgis":e.DPI=90*u}return f=f.b,n.j&&"ne"==f.substr(0,2)&&(n=r[0],r[0]=r[1],r[1]=n,n=r[2],r[2]=r[3],r[3]=n),e.BBOX=r.join(","),by(1==o.length?o[0]:o[el((t[1]<<t[0])+t[2],o.length)],e)}}function uii(n){var u=0,i=[],t,r;if(n.urls)for(t=0,r=n.urls.length;t<r;++t)i[u++]=n.urls[t];n.S=i.join("#")}function fii(n){var r=0,i=[],t;for(t in n.c)i[r++]=t+"-"+n.c[t];return i.join("/")}function eii(n){n.j=0<=sct(n.c.VERSION||"1.3.0")}function pf(n){this.l=n.matrixIds;af.call(this,{extent:n.extent,origin:n.origin,origins:n.origins,resolutions:n.resolutions,tileSize:n.tileSize,tileSizes:n.tileSizes,sizes:n.sizes})}function oii(n,t){var u=[],f=[],i=[],e=[],o=[],r,s,h;return r=yi(n.SupportedCRS.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3")),s=r.$b(),h="ne"==r.b.substr(0,2),n.TileMatrix.sort(function(n,t){return t.ScaleDenominator-n.ScaleDenominator}),n.TileMatrix.forEach(function(n){f.push(n.Identifier);var c=.00028*n.ScaleDenominator/s,t=n.TileWidth,r=n.TileHeight;h?i.push([n.TopLeftCorner[1],n.TopLeftCorner[0]]):i.push(n.TopLeftCorner);u.push(c);e.push(t==r?t:[t,r]);o.push([n.MatrixWidth,-n.MatrixHeight])}),new pf({extent:t,origins:i,resolutions:u,matrixIds:f,tileSizes:e,sizes:o})}function k(n){function o(n){return n="KVP"==r?by(n,i):n.replace(/\{(\w+?)\}/g,function(n,t){return t.toLowerCase()in i?i[t.toLowerCase()]:n}),function(t){if(t){var i={TileMatrix:u.l[t[0]],TileCol:t[1],TileRow:-t[2]-1};return sr(i,f),t=n,"KVP"==r?by(t,i):t.replace(/\{(\w+?)\}/g,function(n,t){return i[t]})}}}var t,f,e;this.T=void 0!==n.version?n.version:"1.0.0";this.v=void 0!==n.format?n.format:"image/jpeg";this.c=void 0!==n.dimensions?n.dimensions:{};this.A=n.layer;this.j=n.matrixSet;this.S=n.style;t=n.urls;void 0===t&&void 0!==n.url&&(t=owt(n.url));var r=this.Y=void 0!==n.requestEncoding?n.requestEncoding:"KVP",u=n.tileGrid,i={layer:this.A,style:this.S,tilematrixset:this.j};"KVP"==r&&sr(i,{Service:"WMTS",Request:"GetTile",Version:this.T,Format:this.v});f=this.c;e=t&&0<t.length?dft(t.map(o)):gft;g.call(this,{attributions:n.attributions,cacheSize:n.cacheSize,crossOrigin:n.crossOrigin,logo:n.logo,projection:n.projection,reprojectionErrorThreshold:n.reprojectionErrorThreshold,tileClass:n.tileClass,tileGrid:u,tileLoadFunction:n.tileLoadFunction,tilePixelRatio:n.tilePixelRatio,tileUrlFunction:e,urls:t,wrapX:void 0!==n.wrapX?n.wrapX:!1});lb(this,sii(this))}function sii(n){var r=0,i=[],t;for(t in n.c)i[r++]=t+"-"+n.c[t];return i.join("/")}function ui(n){n=n||{};var r=n.size,f=r[0],i=r[1],u=[],t=256;switch(void 0!==n.tierSizeCalculation?n.tierSizeCalculation:"default"){case"default":for(;f>t||i>t;)u.push([Math.ceil(f/t),Math.ceil(i/t)]),t+=t;break;case"truncated":for(;f>t||i>t;)u.push([Math.ceil(f/t),Math.ceil(i/t)]),f>>=1,i>>=1}u.push([1,1]);u.reverse();for(var t=[1],e=[0],i=1,f=u.length;i<f;i++)t.push(1<<i),e.push(u[i-1][0]*u[i-1][1]+e[i-1]);t.reverse();var r=[0,-r[1],r[0],0],r=new af({extent:r,origin:sh(r),resolutions:t}),o=n.url;g.call(this,{attributions:n.attributions,cacheSize:n.cacheSize,crossOrigin:n.crossOrigin,logo:n.logo,reprojectionErrorThreshold:n.reprojectionErrorThreshold,tileClass:yht,tileGrid:r,tileUrlFunction:function(n){if(n){var t=n[0],i=n[1];return n=-n[2]-1,o+"TileGroup"+((i+n*u[t][0]+e[t])/256|0)+"/"+t+"-"+i+"-"+n+".jpg"}}})}function yht(n,t,i,r,u){sc.call(this,n,t,i,r,u);this.l={}}function hii(n){n=n||{};this.a=void 0!==n.initialSize?n.initialSize:256;this.g=void 0!==n.maxSize?n.maxSize:void 0!==ett?ett:2048;this.b=void 0!==n.space?n.space:1;this.c=[new hd(this.a,this.b)];this.f=this.a;this.i=[new hd(this.f,this.b)]}function cii(n,t,i,r,u,f,e){for(var c=t?n.i:n.c,o,s=0,h=c.length;s<h;++s){if(o=c[s],o=o.add(i,r,u,f,e))return o;o||s!==h-1||(t?(o=Math.min(2*n.f,n.g),n.f=o):(o=Math.min(2*n.a,n.g),n.a=o),o=new hd(o,n.b),c.push(o),++h)}}function hd(n,t){this.b=t;this.a=[{x:0,y:0,width:n,height:n}];this.f={};this.g=lf(n,n);this.c=this.g.canvas}function lii(n,t,i,r){t=[t,1];0<i.width&&0<i.height&&t.push(i);0<r.width&&0<r.height&&t.push(r);n.a.splice.apply(n.a,t)}function ru(n){var i,r,t;this.A=this.s=this.f=null;this.o=void 0!==n.fill?n.fill:null;this.ya=[0,0];this.b=n.points;this.g=void 0!==n.radius?n.radius:n.radius1;this.c=void 0!==n.radius2?n.radius2:this.g;this.l=void 0!==n.angle?n.angle:0;this.a=void 0!==n.stroke?n.stroke:null;this.R=this.Ba=this.D=null;var e=n.atlasManager,r="",o="",u=0,f=null,h,s=0;this.a&&(h=bo(this.a.b),s=this.a.a,void 0===s&&(s=1),f=this.a.g,wp||(f=null),o=this.a.c,void 0===o&&(o="round"),r=this.a.f,void 0===r&&(r="round"),u=this.a.i,void 0===u&&(u=10));i=2*(this.g+s)+1;r={strokeStyle:h,Bd:s,size:i,lineCap:r,lineDash:f,lineJoin:o,miterLimit:u};void 0===e?(t=lf(i,i),this.s=t.canvas,e=i=this.s.width,this.Ih(r,t,0,0),this.o?this.A=this.s:(t=lf(r.size,r.size),this.A=t.canvas,this.Hh(r,t,0,0))):(i=Math.round(i),(o=!this.o)&&(t=this.Hh.bind(this,r)),u=this.a?ayt(this.a):"-",f=this.o?cyt(this.o):"-",this.f&&u==this.f[1]&&f==this.f[2]&&this.g==this.f[3]&&this.c==this.f[4]&&this.l==this.f[5]&&this.b==this.f[6]||(this.f=["r"+u+f+(void 0!==this.g?this.g.toString():"-")+(void 0!==this.c?this.c.toString():"-")+(void 0!==this.l?this.l.toString():"-")+(void 0!==this.b?this.b.toString():"-"),u,f,this.g,this.c,this.l,this.b]),t=e.add(this.f[0],i,i,this.Ih.bind(this,r),t),this.s=t.image,this.ya=[t.offsetX,t.offsetY],e=t.image.width,this.A=o?t.Sg:this.s);this.D=[i/2,i/2];this.Ba=[i,i];this.R=[e,e];ie.call(this,{opacity:1,rotateWithView:void 0!==n.rotateWithView?n.rotateWithView:!1,rotation:void 0!==n.rotation?n.rotation:0,scale:1,snapToPixel:void 0!==n.snapToPixel?n.snapToPixel:!0})}var i={},n,hc=this,wht="closure_uid_"+(1e9*Math.random()>>>0),aii=0,ett,bht,tr=Function("return this")(),kht=String.prototype.trim?function(n){return n.trim()}:function(n){return n.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},pii=function(){return"cosh"in Math?Math.cosh:function(n){return n=Math.exp(n),(n+1/n)/2}}(),sr="function"==typeof Object.assign?Object.assign:function(n){var t,i;if(!n||!n)throw new TypeError("Cannot convert undefined or null to object");for(var u=Object(n),r=1,f=arguments.length;r<f;++r)if(t=arguments[r],void 0!==t&&null!==t)for(i in t)t.hasOwnProperty(i)&&(u[i]=t[i]);return u},ub="olm_"+(1e4*Math.random()|0),yd,ng,cl,dlt,vp,trt,irt,fg,eg,og,frt,ert,tat,iat,ty,pat,wrt,brt,krt,ab,eft,dg,yl,tpt,bft,hw,vh,wpt,bpt,kpt,dpt,swt,hwt,ibt,rbt,sbt,vbt,pet,ikt,rkt,ekt,okt,hkt,akt,pe,bkt,kkt,ggt,tnt,fnt,kw,gw,lnt,pnt,wnt,tti,itt,iti,yti,hht,lht,utt,cv,tii;ky.prototype.Gb=!1;ky.prototype.ka=ne;vr.prototype.preventDefault=vr.prototype.stopPropagation=function(){this.to=!0};r(fo,ky);fo.prototype.addEventListener=function(n,t){var i=this.ya[n];i||(i=this.ya[n]=[]);-1===i.indexOf(t)&&i.push(t)};fo.prototype.b=function(n){var t="string"==typeof n?new vr(n):n,i,u,r,f;if(n=t.type,t.target=this,i=this.ya[n],i){for((n in this.Ba)||(this.Ba[n]=0,this.Ra[n]=0),++this.Ba[n],r=0,f=i.length;r<f;++r)if(!1===i[r].call(this,t)||t.to){u=!1;break}if(--this.Ba[n],0===this.Ba[n]){for(t=this.Ra[n],delete this.Ra[n];t--;)this.removeEventListener(n,ne);delete this.Ba[n]}return u}};fo.prototype.ka=function(){ict(this)};fo.prototype.removeEventListener=function(n,t){var i=this.ya[n],r;i&&(r=i.indexOf(t),n in this.Ra?(i[r]=ne,++this.Ra[n]):(i.splice(r,1),0===i.length&&delete this.ya[n]))};r(ae,fo);n=ae.prototype;n.u=function(){++this.g;this.b("change")};n.K=function(){return this.g};n.I=function(n,t,i){if(Array.isArray(n)){for(var u=n.length,f=Array(u),r=0;r<u;++r)f[r]=e(this,n[r],t,i);return f}return e(this,n,t,i)};n.L=function(n,t,i){if(Array.isArray(n)){for(var u=n.length,f=Array(u),r=0;r<u;++r)f[r]=sl(this,n[r],t,i);return f}return sl(this,n,t,i)};n.J=function(n,t,i){if(Array.isArray(n))for(var r=0,u=n.length;r<u;++r)bh(this,n[r],t,i);else bh(this,n,t,i)};n.M=fb;r(vs,vr);r(si,ae);yd={};n=si.prototype;n.get=function(n){var t;return this.U.hasOwnProperty(n)&&(t=this.U[n]),t};n.N=function(){return Object.keys(this.U)};n.O=function(){return sr({},this.U)};n.set=function(n,t,i){i?this.U[n]=t:(i=this.U[n],this.U[n]=t,i!==t&&uct(this,n,i))};n.G=function(n,t){for(var i in n)this.set(i,n[i],t)};n.P=function(n,t){if(n in this.U){var i=this.U[n];delete this.U[n];t||uct(this,n,i)}};hl.prototype.a=function(n){for(var i=0,r=n.length,u=n[r-1][0],f=n[r-1][1],t=0;t<r;t++)var e=n[t][0],o=n[t][1],i=i+as(e-u)*(2+Math.sin(as(f))+Math.sin(as(o))),u=e,f=o;return i*this.radius*this.radius/2};hl.prototype.b=function(n,t){var i=as(n[1]),r=as(t[1]),u=(r-i)/2,f=as(t[0]-n[0])/2,i=Math.sin(u)*Math.sin(u)+Math.sin(f)*Math.sin(f)*Math.cos(i)*Math.cos(r);return 2*this.radius*Math.atan2(Math.sqrt(i),Math.sqrt(1-i))};hl.prototype.offset=function(n,t,i){var r=as(n[1]),u;return t/=this.radius,u=Math.asin(Math.sin(r)*Math.cos(t)+Math.cos(r)*Math.sin(t)*Math.cos(i)),[180*(as(n[0])+Math.atan2(Math.sin(i)*Math.sin(t)*Math.cos(r),Math.cos(t)-Math.sin(r)*Math.sin(u)))/Math.PI,180*u/Math.PI]};ng=new hl(6370997);cl={};cl.degrees=2*Math.PI*ng.radius/360;cl.ft=.3048;cl.m=1;cl["us-ft"]=1200/3937;n=of.prototype;n.Sj=function(){return this.cb};n.H=function(){return this.f};n.wb=function(){return this.c};n.$b=function(){return this.j||cl[this.c]};n.Ek=function(){return this.i};n.pl=function(){return this.g};n.ep=function(n){this.g=n;this.a=!(!n||!this.f)};n.Mm=function(n){this.f=n;this.a=!(!this.g||!n)};n.mp=function(n){this.i=n};n.cp=function(n){this.o=n};n.sk=function(n,t){if("degrees"==this.wb())return n;var r=va(this,yi("EPSG:4326")),i=[t[0]-n/2,t[1],t[0]+n/2,t[1],t[0],t[1]-n/2,t[0],t[1]+n/2],i=r(i,i,2),r=ng.b(i.slice(0,2),i.slice(2,4)),i=ng.b(i.slice(4,6),i.slice(6,8)),i=(r+i)/2,r=this.$b();return void 0!==r&&(i/=r),i};n.getPointResolution=function(n,t){return this.o(n,t)};var ktt={},fp={},dtt=null;if(r(nr,si),n=nr.prototype,n.vb=function(n,t){var i=t?t:[NaN,NaN];return this.sb(n[0],n[1],i,Infinity),i},n.sg=function(n){return this.Bc(n[0],n[1])},n.Bc=ks,n.H=function(n){this.A!=this.g&&(this.v=this.Od(this.v),this.A=this.g);var t=this.v;return n?(n[0]=t[0],n[1]=t[1],n[2]=t[2],n[3]=t[3]):n=t,n},n.Bb=function(n){return this.od(n*n)},n.jb=function(n,t){return this.rc(gl(n,t)),this},yc.prototype.BYTES_PER_ELEMENT=4,yc.prototype.set=function(n,t){t=t||0;for(var i=0;i<n.length&&t+i<this.length;i++)this[t+i]=n[i]},yc.prototype.toString=Array.prototype.join,"undefined"==typeof Float32Array&&(yc.BYTES_PER_ELEMENT=4,yc.prototype.BYTES_PER_ELEMENT=yc.prototype.BYTES_PER_ELEMENT,yc.prototype.set=yc.prototype.set,yc.prototype.toString=yc.prototype.toString,t("Float32Array",yc,void 0)),pc.prototype.BYTES_PER_ELEMENT=8,pc.prototype.set=function(n,t){t=t||0;for(var i=0;i<n.length&&t+i<this.length;i++)this[t+i]=n[i]},pc.prototype.toString=Array.prototype.join,"undefined"==typeof Float64Array){try{pc.BYTES_PER_ELEMENT=8}catch(byi){}pc.prototype.BYTES_PER_ELEMENT=pc.prototype.BYTES_PER_ELEMENT;pc.prototype.set=pc.prototype.set;pc.prototype.toString=pc.prototype.toString;t("Float64Array",pc,void 0)}new Float64Array(3);new Float64Array(3);new Float64Array(4);new Float64Array(4);new Float64Array(4);new Float64Array(16);r(lt,nr);n=lt.prototype;n.Bc=ks;n.Od=function(n){return wtt(this.B,0,this.B.length,this.a,n)};n.Ib=function(){return this.B.slice(0,this.a)};n.la=function(){return this.B};n.Jb=function(){return this.B.slice(this.B.length-this.a)};n.Kb=function(){return this.f};n.od=function(n){var t,i;return(this.s!=this.g&&(ol(this.l),this.o=0,this.s=this.g),0>n||0!==this.o&&n<=this.o)?this:(t=n.toString(),this.l.hasOwnProperty(t))?this.l[t]:(i=this.Nc(n),i.la().length<this.B.length)?this.l[t]=i:(this.o=n,this)};n.Nc=function(){return this};n.va=function(){return this.a};n.rc=function(n){this.B&&(n(this.B,this.B,this.a),this.u())};n.rotate=function(n,t){var i=this.la(),r,o;if(i){for(var v=i.length,s=this.va(),f=i?i:[],h=Math.cos(n),c=Math.sin(n),l=t[0],a=t[1],e=0,u=0;u<v;u+=s)for(r=i[u]-l,o=i[u+1]-a,f[e++]=l+r*h-o*c,f[e++]=a+r*c+o*h,r=u+2;r<u+s;++r)f[e++]=i[r];i&&f.length!=e&&(f.length=e);this.u()}};n.Sc=function(n,t){var i=this.la();if(i){for(var s=i.length,o=this.va(),u=i?i:[],f=0,e,r=0;r<s;r+=o)for(u[f++]=i[r]+n,u[f++]=i[r+1]+t,e=r+2;e<r+o;++e)u[f++]=i[e];i&&u.length!=f&&(u.length=f);this.u()}};r(bt,lt);n=bt.prototype;n.clone=function(){var n=new bt(null);return cp(n,this.f,this.B.slice()),n};n.sb=function(n,t,i,r){return r<wv(this.H(),n,t)?r:(this.i!=this.g&&(this.j=Math.sqrt(fit(this.B,0,this.B.length,this.a,0)),this.i=this.g),oit(this.B,0,this.B.length,this.a,this.j,!0,n,t,i,r))};n.nm=function(){return dct(this.B,0,this.B.length,this.a)};n.Z=function(){return hb(this.B,0,this.B.length,this.a)};n.Nc=function(n){var t=[];return t.length=lit(this.B,0,this.B.length,this.a,n,t,0),n=new bt(null),cp(n,"XY",t),n};n.X=function(){return"LinearRing"};n.pa=function(n,t){n?(pa(this,t,n,1),this.B||(this.B=[]),this.B.length=ug(this.B,0,n,this.a),this.u()):cp(this,"XY",null)};r(tt,lt);n=tt.prototype;n.clone=function(){var n=new tt(null);return n.ba(this.f,this.B.slice()),n};n.sb=function(n,t,i,r){var u=this.B;if(n=vv(n,t,u[0],u[1]),n<r){for(r=this.a,t=0;t<r;++t)i[t]=u[t];return i.length=r,n}return r};n.Z=function(){return this.B?this.B.slice():[]};n.Od=function(n){return dd(this.B,n)};n.X=function(){return"Point"};n.Ka=function(n){return kd(n,this.B[0],this.B[1])};n.pa=function(n,t){n?(pa(this,t,n,0),this.B||(this.B=[]),this.B.length=tlt(this.B,n),this.u()):this.ba("XY",null)};n.ba=function(n,t){ll(this,n,t);this.u()};r(l,lt);n=l.prototype;n.yj=function(n){this.B?bf(this.B,n.la()):this.B=n.la().slice();this.i.push(this.B.length);this.u()};n.clone=function(){var n=new l(null);return n.ba(this.f,this.B.slice(),this.i.slice()),n};n.sb=function(n,t,i,r){return r<wv(this.H(),n,t)?r:(this.R!=this.g&&(this.S=Math.sqrt(eit(this.B,0,this.i,this.a,0)),this.R=this.g),sit(this.B,0,this.i,this.a,this.S,!0,n,t,i,r))};n.Bc=function(n,t){return ait(this.Mb(),0,this.i,this.a,n,t)};n.qm=function(){return gct(this.Mb(),0,this.i,this.a)};n.Z=function(n){var t;return void 0!==n?(t=this.Mb().slice(),pit(t,0,this.i,this.a,n)):t=this.B,cit(t,0,this.i,this.a)};n.Db=function(){return this.i};n.bk=function(){return new tt(wit(this))};n.gk=function(){return this.i.length};n.Hg=function(n){if(0>n||this.i.length<=n)return null;var t=new bt(null);return cp(t,this.f,this.B.slice(0===n?0:this.i[n-1],this.i[n])),t};n.Vd=function(){for(var o=this.f,s=this.B,r=this.i,u=[],f=0,t,i,n=0,e=r.length;n<e;++n)t=r[n],i=new bt(null),cp(i,o,s.slice(f,t)),u.push(i),f=t;return u};n.Mb=function(){if(this.T!=this.g){var n=this.B;elt(n,this.i,this.a)?this.j=n:(this.j=n.slice(),this.j.length=pit(this.j,0,this.i,this.a));this.T=this.g}return this.j};n.Nc=function(n){var t=[],i=[];return t.length=ilt(this.B,0,this.i,this.a,Math.sqrt(n),t,0,i),n=new l(null),n.ba("XY",t,i),n};n.X=function(){return"Polygon"};n.Ka=function(n){return flt(this.Mb(),0,this.i,this.a,n)};n.pa=function(n,t){if(n){pa(this,t,n,2);this.B||(this.B=[]);var i=hit(this.B,0,n,this.a,this.i);this.B.length=0===i.length?0:i[i.length-1];this.u()}else this.ba("XY",null,this.i)};n.ba=function(n,t,i){ll(this,n,t);this.i=i;this.u()};r(et,si);n=et.prototype;n.Pd=function(n){return this.o.center(n)};n.constrainResolution=function(n,t,i){return this.o.resolution(n,t||0,i||0)};n.constrainRotation=function(n,t){return this.o.rotation(n,t||0)};n.ab=function(){return this.get("center")};n.Kc=function(n){var t=this.ab(),i=this.$(),r=this.La();return rp(t,i,r,n)};n.Vl=function(){return this.a};n.Wl=function(){return this.c};n.Xl=function(){return this.l};n.$=function(){return this.get("resolution")};n.Yl=function(){return this.j};n.La=function(){return this.get("rotation")};n.V=function(){var t=this.ab(),i=this.l,n=this.$(),r=this.La();return{center:[Math.round(t[0]/n)*n,Math.round(t[1]/n)*n],projection:void 0!==i?i:null,resolution:n,rotation:r}};n.Fk=function(){var n,r=this.$(),i,t;if(void 0!==r){t=0;do{if(i=this.constrainResolution(this.a,t),i==r){n=t;break}++t}while(i>this.c)}return void 0!==n?this.i+n:n};n.cf=function(n,t,i){var r,v,o,f,e,y;n instanceof lt||(n=hlt(n));r=i||{};i=void 0!==r.padding?r.padding:[0,0,0,0];v=void 0!==r.constrainResolution?r.constrainResolution:!0;o=void 0!==r.nearest?r.nearest:!1;f=void 0!==r.minResolution?r.minResolution:void 0!==r.maxZoom?this.constrainResolution(this.a,r.maxZoom-this.i,0):0;var s=n.la(),u=this.La(),r=Math.cos(-u),u=Math.sin(-u),h=Infinity,c=Infinity,l=-Infinity,a=-Infinity;for(n=n.va(),e=0,y=s.length;e<y;e+=n)var p=s[e]*r-s[e+1]*u,w=s[e]*u+s[e+1]*r,h=Math.min(h,p),c=Math.min(c,w),l=Math.max(l,p),a=Math.max(a,w);t=bit([h,c,l,a],[t[0]-i[1]-i[3],t[1]-i[0]-i[2]]);t=isNaN(t)?f:Math.max(t,f);v&&(f=this.constrainResolution(t,0,0),!o&&f<t&&(f=this.constrainResolution(f,-1,0)),t=f);this.Ub(t);u=-u;o=(h+l)/2+(i[1]-i[3])/2*t;i=(c+a)/2+(i[0]-i[2])/2*t;this.mb([o*r-i*u,i*r+o*u])};n.Ej=function(n,t,i){var r=this.La(),f=Math.cos(-r),r=Math.sin(-r),u=n[0]*f-n[1]*r,e;n=n[1]*f+n[0]*r;e=this.$();u=u+(t[0]/2-i[0])*e;n+=(i[1]-t[1]/2)*e;r=-r;this.mb([u*f-n*r,n*f+u*r])};n.rotate=function(n,t){if(void 0!==t){var i,r=this.ab();void 0!==r&&(i=[r[0]-t[0],r[1]-t[1]],np(i,n-this.La()),dy(i,t));this.mb(i)}this.ie(n)};n.mb=function(n){this.set("center",n)};n.Ub=function(n){this.set("resolution",n)};n.ie=function(n){this.set("rotation",n)};n.np=function(n){n=this.constrainResolution(this.a,n-this.i,0);this.Ub(n)};gv.prototype.contains=function(n){return blt(this,n[1],n[2])};hh.prototype.g=function(){return this.a};r(wo,vr);r(vt,si);n=vt.prototype;n.clear=function(){for(;0<this.dc();)this.pop()};n.qf=function(n){for(var t=0,i=n.length;t<i;++t)this.push(n[t]);return this};n.forEach=function(n,t){this.a.forEach(n,t)};n.Gl=function(){return this.a};n.item=function(n){return this.a[n]};n.dc=function(){return this.get("length")};n.ee=function(n,t){this.a.splice(n,0,t);git(this);this.b(new wo("add",t,this))};n.pop=function(){return this.Rf(this.dc()-1)};n.push=function(n){var t=this.a.length;return this.ee(t,n),t};n.remove=function(n){for(var i=this.a,t=0,r=i.length;t<r;++t)if(i[t]===n)return this.Rf(t)};n.Rf=function(n){var t=this.a[n];return this.a.splice(n,1),git(this),this.b(new wo("remove",t,this)),t};n.Zo=function(n,t){var i=this.dc();if(n<i)i=this.a[n],this.a[n]=t,this.b(new wo("remove",i,this)),this.b(new wo("add",t,this));else{for(;i<n;++i)this.ee(i,void 0);this.ee(n,t)}};var yri=/^#(?:[0-9a-f]{3}){1,2}$/i,pri=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i,wri=/^(?:rgba)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|1|0\.\d{0,10})\)$/i;dlt=function(){var n={},t=0;return function(i){var r,f,e,u;if(n.hasOwnProperty(i))r=n[i];else{if(1024<=t){r=0;for(f in n)0==(r++&3)&&(delete n[f],--t)}yri.exec(i)?(u=3==i.length-1?1:2,r=parseInt(i.substr(1+0*u,u),16),f=parseInt(i.substr(1+1*u,u),16),e=parseInt(i.substr(1+2*u,u),16),1==u&&(r=(r<<4)+r,f=(f<<4)+f,e=(e<<4)+e),r=[r,f,e,1]):(u=wri.exec(i))?(r=Number(u[1]),f=Number(u[2]),e=Number(u[3]),u=Number(u[4]),r=[r,f,e,u],r=glt(r,r)):(u=pri.exec(i))?(r=Number(u[1]),f=Number(u[2]),e=Number(u[3]),r=[r,f,e,1],r=glt(r,r)):r=void 0;n[i]=r;++t}return r}}();n:{if(trt=hc.navigator,trt&&(irt=trt.userAgent,irt)){vp=irt;break n}vp=""}var bri=ds("Opera"),rrt=ds("Trident")||ds("MSIE"),kri=ds("Edge"),dri=ds("Gecko")&&!(-1!=vp.toLowerCase().indexOf("webkit")&&!ds("Edge"))&&!(ds("Trident")||ds("MSIE"))&&!ds("Edge"),nat=-1!=vp.toLowerCase().indexOf("webkit")&&!ds("Edge"),urt;n:{if(fg="",eg=function(){var n=vp;return dri?/rv\:([^\);]+)(\)|;)/.exec(n):kri?/Edge\/([\d\.]+)/.exec(n):rrt?/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(n):nat?/WebKit\/(\S+)/.exec(n):bri?/(?:Version)[ \/]?(\S+)/.exec(n):void 0}(),eg&&(fg=eg?eg[1]:""),rrt&&(frt=hc.document,og=frt?frt.documentMode:void 0,null!=og&&og>parseFloat(fg))){urt=String(og);break n}urt=fg}ert={};tat=function(){var n;return function(){var t,r,u,i;if(void 0===n){t=document.createElement("P");u={webkitTransform:"-webkit-transform",OTransform:"-o-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",transform:"transform"};document.body.appendChild(t);for(i in u)i in t.style&&(t.style[i]="translate(1px,1px)",r=tr.getComputedStyle(t).getPropertyValue(u[i]));document.body.removeChild(t);n=r&&"none"!==r}return n}}();iat=function(){var n;return function(){var t,r,u,i;if(void 0===n){t=document.createElement("P");u={webkitTransform:"-webkit-transform",OTransform:"-o-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",transform:"transform"};document.body.appendChild(t);for(i in u)i in t.style&&(t.style[i]="translate3d(1px,1px,1px)",r=tr.getComputedStyle(t).getPropertyValue(u[i]));document.body.removeChild(t);n=r&&"none"!==r}return n}}();r(so,vr);r(dt,si);dt.prototype.ka=function(){kc(this.element);si.prototype.ka.call(this)};dt.prototype.i=function(){return this.a};dt.prototype.setMap=function(n){this.a&&kc(this.element);for(var t=0,i=this.s.length;t<i;++t)cu(this.s[t]);this.s.length=0;(this.a=n)&&((this.S?this.S:n.v).appendChild(this.element),this.render!==ne&&this.s.push(e(n,"postrender",this.render,this)),n.render())};dt.prototype.c=function(n){this.S="string"==typeof n?document.getElementById(n):n};n=hg.prototype;n.clear=function(){this.g=0;this.f={};this.a=this.b=null};n.forEach=function(n,t){for(var i=this.b;i;)n.call(t,i.pc,i.cc,this),i=i.yb};n.get=function(n){return(n=this.f[n],n===this.a)?n.pc:(n===this.b?(this.b=this.b.yb,this.b.kc=null):(n.yb.kc=n.kc,n.kc.yb=n.yb),n.yb=null,n.kc=this.a,this.a=this.a.yb=n,n.pc)};n.wc=function(){return this.g};n.N=function(){for(var t=Array(this.g),i=0,n=this.a;n;n=n.kc)t[i++]=n.cc;return t};n.zc=function(){for(var t=Array(this.g),i=0,n=this.a;n;n=n.kc)t[i++]=n.pc;return t};n.pop=function(){var n=this.b;return delete this.f[n.cc],n.yb&&(n.yb.kc=null),this.b=n.yb,this.b||(this.a=null),--this.g,n.pc};n.replace=function(n,t){this.get(n);this.f[n].pc=t};n.set=function(n,t){var i={cc:n,yb:null,kc:this.a,pc:t};this.a?this.a.yb=i:this.b=i;this.a=i;this.f[n]=i;++this.g};r(cg,hg);cg.prototype.Lc=function(n){for(var t,i;lg(this)&&!(t=this.b.pc,i=t.ma[0].toString(),i in n&&n[i].contains(t.ma));)kh(this.pop())};r(ke,fo);ke.prototype.ib=function(){return nt(this).toString()};ke.prototype.i=function(){return this.ma};ke.prototype.V=function(){return this.state};r(ir,si);n=ir.prototype;n.ra=ne;n.wa=function(){return this.l};n.ua=function(){return this.R};n.xa=function(){return this.f};n.V=function(){return this.za};n.sa=function(){this.u()};n.oa=function(n){this.l=eat(n);this.u()};ty=[0,0,0];n=af.prototype;n.yg=function(n,t,i){var r,f,u,e;for(n=ch(this,n,t),r=n.ca,f=n.ea;r<=f;++r)for(u=n.fa,e=n.ga;u<=e;++u)i([t,r,u])};n.H=function(){return this.s};n.Ig=function(){return this.maxZoom};n.Jg=function(){return this.minZoom};n.Ia=function(n){return this.g?this.g:this.c[n]};n.$=function(n){return this.b[n]};n.Kh=function(){return this.b};n.Ea=function(n,t){var i=this.Ia(n[0]),r=this.$(n[0]),u=fs(this.Ja(n[0]),this.f),f=i[0]+n[1]*u[0]*r,i=i[1]+n[2]*u[1]*r;return ac(f,i,f+u[0]*r,i+u[1]*r,t)};n.Zd=function(n,t,i){return vg(this,n[0],n[1],t,!1,i)};n.qd=function(n,t,i){return t=this.$(t),vg(this,n[0],n[1],t,!1,i)};n.Ja=function(n){return this.o?this.o:this.i[n]};n.Lb=function(n,t){var i=htt(this.b,n,t||0);return uo(i,this.minZoom,this.maxZoom)};r(ki,ir);n=ki.prototype;n.Ah=function(){return lg(this.a)};n.Lc=function(n,t){var i=this.pd(n);i&&i.Lc(t)};n.Ud=function(){return 0};n.Eb=function(n,t,i){return n+"/"+t+"/"+i};n.jf=function(){return this.ia};n.Na=function(){return this.tileGrid};n.eb=function(n){return this.tileGrid?this.tileGrid:oat(n)};n.pd=function(n){var t=this.f;return t&&!nc(t,n)?null:this.a};n.bc=function(){return this.ta};n.$d=function(n,t,i){return i=this.eb(i),t=this.bc(t),n=fs(i.Ja(n),this.o),1==t?n:srt(n,t,this.o)};n.sa=function(){this.a.clear();this.u()};n.Yf=ne;r(gs,vr);r(or,dt);n=or.prototype;n.am=function(n){n.preventDefault();art(this)};n.$l=function(){return this.o};n.cm=function(n){this.o!==n&&(this.o=n,this.element.classList.toggle("ol-uncollapsible"),!n&&this.f&&art(this))};n.bm=function(n){this.o&&this.f!==n&&art(this)};n.Zl=function(){return this.f};r(ou,dt);ou.prototype.A=function(n){var i,t;n.preventDefault();void 0!==this.o?this.o():(n=this.a,i=n.aa(),i&&(t=i.La(),void 0!==t&&(0<this.j&&(t%=2*Math.PI,t<-Math.PI&&(t+=2*Math.PI),t>Math.PI&&(t-=2*Math.PI),n.Wa(kit({rotation:t,duration:this.j,easing:bc}))),i.ie(0))))};r(uu,dt);uu.prototype.l=function(n,t){var i,r,u;t.preventDefault();i=this.a;r=i.aa();r&&(u=r.$(),u&&(0<this.f&&i.Wa(ap({resolution:u,duration:this.f,easing:bc})),i=r.constrainResolution(u,n),r.Ub(i)))};r(su,dt);su.prototype.C=function(n){n.preventDefault();vat()&&(n=this.a)&&(vrt()?document.exitFullscreen?document.exitFullscreen():document.msExitFullscreen?document.msExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen():(n=this.l?"string"==typeof this.l?document.getElementById(this.l):this.l:n.yc(),this.A?n.mozRequestFullScreenWithKeys?n.mozRequestFullScreenWithKeys():n.webkitRequestFullscreen?n.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT):yat(n):yat(n)))};su.prototype.v=function(){var n=this.element.firstElementChild,t=this.a;vrt()?(n.className=this.f+"-true",yp(this.j,this.o)):(n.className=this.f+"-false",yp(this.o,this.j));t&&t.Xc()};su.prototype.setMap=function(n){dt.prototype.setMap.call(this,n);n&&this.s.push(e(tr.document,pat(),this.v,this))};pat=function(){var n;return function(){if(!n){var t=document.body;t.webkitRequestFullscreen?n="webkitfullscreenchange":t.mozRequestFullScreen?n="mozfullscreenchange":t.msRequestFullscreen?n="MSFullscreenChange":t.requestFullscreen&&(n="fullscreenchange")}return n}}();r(hr,dt);n=hr.prototype;n.dm=function(){this.l=null};n.Cg=function(){return this.get("coordinateFormat")};n.hh=function(){return this.get("projection")};n.Xk=function(n){this.o=this.a.Td(n);yrt(this,this.o)};n.Yk=function(){yrt(this,null);this.o=null};n.setMap=function(n){dt.prototype.setMap.call(this,n);n&&(n=n.a,this.s.push(e(n,"mousemove",this.Xk,this),e(n,"mouseout",this.Yk,this)))};n.ei=function(n){this.set("coordinateFormat",n)};n.ih=function(n){this.set("projection",n)};r(lh,vr);brt=!1;try{brt=1===new MouseEvent("click",{buttons:1}).buttons}catch(byi){}krt=["experimental-webgl","webgl","webkit-3d","moz-webgl"];var drt,yg="undefined"!=typeof navigator?navigator.userAgent.toLowerCase():"",uui=-1!==yg.indexOf("firefox"),fui=-1!==yg.indexOf("safari")&&-1===yg.indexOf("chrom"),kat=-1!==yg.indexOf("macintosh"),pg=tr.devicePixelRatio||1,wp=!1,dat=function(){if(!("HTMLCanvasElement"in tr))return!1;try{var n=lf();return n?(n.setLineDash&&(wp=!0),!0):!1}catch(t){return!1}}(),gat="DeviceOrientationEvent"in tr,nvt="geolocation"in tr.navigator,grt="ontouchstart"in tr,eui="PointerEvent"in tr,oui=!!tr.navigator.msPointerEnabled,tvt=!1,ivt,rvt=[];if("WebGLRenderingContext"in tr)try{ab=bat(document.createElement("CANVAS"),{failIfMajorPerformanceCaveat:!0});ab&&(tvt=!0,ivt=ab.getParameter(ab.MAX_TEXTURE_SIZE),rvt=ab.getSupportedExtensions())}catch(byi){}drt=tvt;bht=rvt;ett=ivt;r(nut,wa);n=nut.prototype;n.rl=function(n){if(!vb(this,n)){if(1..toString()in this.a){var t=bp(n);de(this.b,sut,t,n);delete this.a[1..toString()]}t=bp(n);this.a[1..toString()]=n;de(this.b,yb,t,n)}};n.sl=function(n){if(!vb(this,n)){var t=bp(n);de(this.b,dp,t,n)}};n.vl=function(n){if(!vb(this,n)){var t=this.a[1..toString()];t&&t.button===n.button&&(t=bp(n),de(this.b,pb,t,n),delete this.a[1..toString()])}};n.ul=function(n){if(!vb(this,n)){var t=bp(n);eut(this.b,t,n)}};n.tl=function(n){if(!vb(this,n)){var t=bp(n);fut(this.b,t,n)}};r(tut,wa);n=tut.prototype;n.Al=function(n){this.a[n.pointerId.toString()]=n;var t=kp(this,n);de(this.b,yb,t,n)};n.Bl=function(n){var t=kp(this,n);de(this.b,dp,t,n)};n.El=function(n){var t=kp(this,n);de(this.b,pb,t,n);delete this.a[n.pointerId.toString()]};n.Cl=function(n){var t=kp(this,n);fut(this.b,t,n)};n.Dl=function(n){var t=kp(this,n);eut(this.b,t,n)};n.zl=function(n){var t=kp(this,n);de(this.b,sut,t,n);delete this.a[n.pointerId.toString()]};n.yl=function(n){this.b.b(new lh("lostpointercapture",n,n))};n.xl=function(n){this.b.b(new lh("gotpointercapture",n,n))};r(iut,wa);n=iut.prototype;n.lo=function(n){ba(this.b,n)};n.mo=function(n){ba(this.b,n)};n.po=function(n){ba(this.b,n)};n.no=function(n){ba(this.b,n)};n.oo=function(n){ba(this.b,n)};n.ko=function(n){ba(this.b,n)};n.ql=function(n){ba(this.b,n)};n.Gk=function(n){ba(this.b,n)};r(rut,wa);n=rut.prototype;n.ci=function(){this.i=0;this.f=void 0};n.sp=function(n){var r=n.touches,u=Object.keys(this.a),s=u.length,f,t,e,h,i,c,o;if(s>=r.length){for(f=[],t=0;t<s;++t){if(e=u[t],h=this.a[e],!(i=1==e))n:{for(i=r.length,o=0;o<i;o++)if(c=r[o],c.identifier===e-2){i=!0;break n}i=!1}i||f.push(h.out)}for(t=0;t<f.length;++t)this.Ue(n,f[t])}r=n.changedTouches[0];u=Object.keys(this.a).length;(0===u||1===u&&1..toString()in this.a)&&(this.g=r.identifier,void 0!==this.f&&tr.clearTimeout(this.f));uvt(this,n);this.i++;wg(this,n,this.fo)};n.fo=function(n,t){this.a[t.pointerId]={target:t.target,out:t,Lh:t.target};var i=this.b;t.bubbles=!0;de(i,fvt,t,n);i=this.b;t.bubbles=!1;de(i,evt,t,n);de(this.b,yb,t,n)};n.rp=function(n){n.preventDefault();wg(this,n,this.wl)};n.wl=function(n,t){var i=this.a[t.pointerId],r,u;i&&(r=i.out,u=i.Lh,de(this.b,dp,t,n),r&&u!==t.target&&(r.relatedTarget=t.target,t.relatedTarget=u,r.target=u,t.target?(fut(this.b,r,n),eut(this.b,t,n)):(t.target=u,t.relatedTarget=null,this.Ue(n,t))),i.out=t,i.Lh=t.target)};n.qp=function(n){uvt(this,n);wg(this,n,this.tp)};n.tp=function(n,t){de(this.b,pb,t,n);this.b.out(t,n);var i=this.b;t.bubbles=!1;de(i,out,t,n);delete this.a[t.pointerId];t.isPrimary&&(this.g=void 0,this.f=tr.setTimeout(this.ci.bind(this),200))};n.pp=function(n){wg(this,n,this.Ue)};n.Ue=function(n,t){de(this.b,sut,t,n);this.b.out(t,n);var i=this.b;t.bubbles=!1;de(i,out,t,n);delete this.a[t.pointerId];t.isPrimary&&(this.g=void 0,this.f=tr.setTimeout(this.ci.bind(this),200))};r(ry,fo);ry.prototype.f=function(n){var t=this.c[n.type];t&&t(n)};ry.prototype.out=function(n,t){n.bubbles=!0;de(this,lui,n,t)};ry.prototype.ka=function(){for(var i=this.a.length,t,n=0;n<i;n++)t=this.a[n],cui(this,Object.keys(t.c));fo.prototype.ka.call(this)};var dp="pointermove",yb="pointerdown",pb="pointerup",fvt="pointerover",lui="pointerout",evt="pointerenter",out="pointerleave",sut="pointercancel",hut=[["bubbles",!1],["cancelable",!1],["view",null],["detail",null],["screenX",0],["screenY",0],["clientX",0],["clientY",0],["ctrlKey",!1],["altKey",!1],["shiftKey",!1],["metaKey",!1],["button",0],["relatedTarget",null],["buttons",0],["pointerId",0],["width",0],["height",0],["pressure",0],["tiltX",0],["tiltY",0],["pointerType",""],["hwTimestamp",0],["isPrimary",!1],["type",""],["target",null],["currentTarget",null],["which",0]];r(kf,so);kf.prototype.preventDefault=function(){so.prototype.preventDefault.call(this);this.originalEvent.preventDefault()};kf.prototype.stopPropagation=function(){so.prototype.stopPropagation.call(this);this.originalEvent.stopPropagation()};r(sf,kf);r(cut,fo);n=cut.prototype;n.Qg=function(n){ovt(this,n);var t=new sf(fy,this.f,n);this.b(t);this.o||0!==n.button||aui(this,this.g);0===this.U&&(this.c.forEach(cu),this.c.length=0,this.o=!1,this.g=null,kh(this.a),this.a=null)};n.$k=function(n){ovt(this,n);var t=new sf(uy,this.f,n);this.b(t);this.g=n;0===this.c.length&&(this.a=new ry(document),this.c.push(e(this.a,kb,this.Sl,this),e(this.a,fy,this.Qg,this),e(this.i,aut,this.Qg,this)))};n.Sl=function(n){if(n.clientX!=this.g.clientX||n.clientY!=this.g.clientY){this.o=!0;var t=new sf(gp,this.f,n,this.o);this.b(t)}n.preventDefault()};n.No=function(n){this.b(new sf(n.type,this.f,n,!(!this.g||n.clientX==this.g.clientX&&n.clientY==this.g.clientY)))};n.ka=function(){this.s&&(cu(this.s),this.s=null);this.j&&(cu(this.j),this.j=null);this.c.forEach(cu);this.c.length=0;this.a&&(kh(this.a),this.a=null);this.i&&(kh(this.i),this.i=null);fo.prototype.ka.call(this)};var wb="singleclick",lut="click",bb="dblclick",gp="pointerdrag",kb="pointermove",uy="pointerdown",fy="pointerup",aut="pointercancel",svt={Mp:wb,Bp:lut,Cp:bb,Fp:gp,Ip:kb,Ep:uy,Lp:fy,Kp:"pointerover",Jp:"pointerout",Gp:"pointerenter",Hp:"pointerleave",Dp:aut};r(hi,si);n=hi.prototype;n.H=function(){return this.get("extent")};n.Nb=function(){return this.get("maxResolution")};n.Ob=function(){return this.get("minResolution")};n.Pb=function(){return this.get("opacity")};n.xb=function(){return this.get("visible")};n.Qb=function(){return this.get("zIndex")};n.fc=function(n){this.set("extent",n)};n.nc=function(n){this.set("maxResolution",n)};n.oc=function(n){this.set("minResolution",n)};n.gc=function(n){this.set("opacity",n)};n.hc=function(n){this.set("visible",n)};n.ic=function(n){this.set("zIndex",n)};r(re,vr);r(yt,hi);n=yt.prototype;n.hf=function(n){return n=n?n:[],n.push(db(this)),n};n.ha=function(){return this.get("source")||null};n.kf=function(){var n=this.ha();return n?n.V():"undefined"};n.Lm=function(){this.u()};n.fl=function(){this.v&&(cu(this.v),this.v=null);var n=this.ha();n&&(this.v=e(n,"change",this.Lm,this));this.u()};n.setMap=function(n){this.o&&(cu(this.o),this.o=null);n||this.u();this.j&&(cu(this.j),this.j=null);n&&(this.o=e(n,"precompose",function(n){var t=db(this);t.Qc=!1;t.zIndex=Infinity;n.frameState.layerStatesArray.push(t);n.frameState.layerStates[nt(this)]=t},this),this.j=e(this,"change",n.render,n),this.u())};n.Fc=function(n){this.set("source",n)};r(gc,fo);gc.prototype.H=function(){return this.extent};gc.prototype.$=function(){return this.resolution};gc.prototype.V=function(){return this.state};r(ce,ae);n=ce.prototype;n.ra=ne;n.Cc=function(n,t,i,r){return n=n.slice(),ko(t.pixelToCoordinateMatrix,n,n),this.ra(n,t,lo,this)?i.call(r,this.a):void 0};n.le=ks;n.Qd=function(n,t,i){return function(r,u){return hat(n,t,r,u,function(n){i[r]||(i[r]={});i[r][n.ma.toString()]=n})}};n.Om=function(n){2===n.target.V()&&nk(this)};n=ie.prototype;n.qe=function(){return this.v};n.Xd=function(){return this.U};n.re=function(){return this.j};n.se=function(){return this.i};n.Yd=function(){return this.C};n.te=function(n){this.v=n};n.ue=function(n){this.j=n};n.ve=function(n){this.i=n};r(ku,ie);n=ku.prototype;n.Yb=function(){if(this.f)return this.f;var n=this.c,t=this.Fb();if("fraction"==this.o||"fraction"==this.s){if(!t)return null;n=this.c.slice();"fraction"==this.o&&(n[0]*=t[0]);"fraction"==this.s&&(n[1]*=t[1])}if("top-left"!=this.a){if(!t)return null;n===this.c&&(n=this.c.slice());("top-right"==this.a||"bottom-right"==this.a)&&(n[0]=-n[0]+t[0]);("bottom-left"==this.a||"bottom-right"==this.a)&&(n[1]=-n[1]+t[1])}return this.f=n};n.jc=function(){var n=this.b;return n.c?n.c:n.a};n.ld=function(){return this.b.g};n.td=function(){return this.b.f};n.pe=function(){var n=this.b;if(!n.o)if(n.s){var t=n.g[0],i=n.g[1],r=lf(t,i);r.fillRect(0,0,t,i);n.o=r.canvas}else n.o=n.a;return n.o};n.Ia=function(){var n,t,i;if(this.l)return this.l;if(n=this.D,"top-left"!=this.g){if(t=this.Fb(),i=this.b.g,!t||!i)return null;n=n.slice();("top-right"==this.g||"bottom-right"==this.g)&&(n[0]=i[0]-t[0]-n[0]);("bottom-left"==this.g||"bottom-right"==this.g)&&(n[1]=i[1]-t[1]-n[1])}return this.l=n};n.En=function(){return this.b.j};n.Fb=function(){return this.A?this.A:this.b.g};n.pf=function(n,t){return e(this.b,"change",n,t)};n.load=function(){this.b.load()};n.Xf=function(n,t){bh(this.b,"change",n,t)};r(tk,fo);tk.prototype.v=function(){this.f=3;this.i.forEach(cu);this.i=null;this.b("change")};tk.prototype.U=function(){var t;if(this.f=2,this.g&&(this.a.width=this.g[0],this.a.height=this.g[1]),this.g=[this.a.width,this.a.height],this.i.forEach(cu),this.i=null,hvt(this),!this.s&&null!==this.l){this.c.width=this.a.width;this.c.height=this.a.height;t=this.c.getContext("2d");t.drawImage(this.a,0,0);for(var r=t.getImageData(0,0,this.a.width,this.a.height),i=r.data,u=this.l[0]/255,f=this.l[1]/255,e=this.l[2]/255,n=0,o=i.length;n<o;n+=4)i[n]*=u,i[n+1]*=f,i[n+2]*=e;t.putImageData(r,0,0)}this.b("change")};tk.prototype.load=function(){if(0==this.f){this.f=1;this.i=[sl(this.a,"error",this.v,this),sl(this.a,"load",this.U,this)];try{this.a.src=this.j}catch(n){this.v()}}};lv(tw);tw.prototype.clear=function(){this.b={};this.a=0};tw.prototype.get=function(n,t,i){return n=t+":"+n+":"+(i?bo(i):"null"),n in this.b?this.b[n]:null};tw.prototype.set=function(n,t,i,r){this.b[t+":"+n+":"+(i?bo(i):"null")]=r;++this.a};r(nl,ky);n=nl.prototype;n.ka=function(){for(var n in this.g)kh(this.g[n])};n.ra=function(n,t,i,r,u,f){function a(n,u){var e=nt(n).toString(),f=t.layerStates[nt(u)].Qc;if(!(e in t.skippedFeatureUids)||f)return i.call(r,n,f?u:null)}var l,h=t.viewState,v=h.resolution,e=h.projection,h=n,c,o;if(e.a){var e=e.H(),s=ef(e),o=n[0];(o<e[0]||o>e[2])&&(h=[o+s*Math.ceil((e[0]-o)/s),n[1]])}for(e=t.layerStatesArray,s=e.length-1;0<=s;--s)if(c=e[s],o=c.layer,ka(c,v)&&u.call(f,o)&&(c=ia(this,o),o.ha()&&(l=c.ra(o.ha().D?h:n,t,a,r)),l))return l};n.rh=function(n,t,i,r,u,f){for(var e,c=t.viewState.resolution,h=t.layerStatesArray,s,o=h.length-1;0<=o;--o)if(e=h[o],s=e.layer,ka(e,c)&&u.call(f,s)&&(e=ia(this,s).Cc(n,t,i,r)))return e};n.sh=function(n,t,i,r){return void 0!==this.ra(n,t,lo,this,i,r)};n.Rk=function(){this.i.render()};n.Ce=ne;n.To=function(n,t){var r,i,u;for(r in this.g)t&&r in t.layerStates||(i=r,u=this.g[i],delete this.g[i],cu(this.s[i]),delete this.s[i],kh(u))};da.prototype.clear=function(){this.b.length=0;this.a.length=0;ol(this.g)};da.prototype.f=function(n){var t=this.j(n);return Infinity!=t?(this.b.push(n),this.a.push(t),this.g[this.l(n)]=!0,avt(this,0,this.b.length-1),!0):!1};da.prototype.wc=function(){return this.b.length};da.prototype.Ya=function(){return 0===this.b.length};r(ik,da);ik.prototype.f=function(n){var t=da.prototype.f.call(this,n);return t&&e(n[0],"change",this.o,this),t};ik.prototype.o=function(n){n=n.target;var t=n.V();(2===t||3===t||4===t||5===t)&&(bh(n,"change",this.o,this),n=n.ib(),n in this.c&&(delete this.c[n],--this.i),this.s())};r(vi,si);vi.prototype.f=function(){return this.get("active")};vi.prototype.l=function(){return this.v};vi.prototype.i=function(n){this.set("active",n)};vi.prototype.setMap=function(n){this.v=n};r(du,vi);r(ei,vi);ei.prototype.Gc=function(n){return n};r(lu,ei);lu.prototype.Gc=ks;r(au,ei);au.prototype.Gc=ks;r(ok,ky);ok.prototype.ka=function(){this.setMap(null)};ok.prototype.setMap=function(n){if(this.b){this.b.A.removeChild(this.a);var t=this.a.style;t.left=t.top=t.width=t.height="inherit"}(this.b=n)&&this.b.A.appendChild(this.a)};ok.prototype.W=function(){return this.f};r(es,vr);r(dr,ei);dr.prototype.W=function(){return this.a.W()};dr.prototype.s=ne;r(fu,dr);fu.prototype.s=function(){var t=this.v,i=t.aa(),r=t.Za(),n=this.W().H();if(this.R){for(var u=i.Kc(r),n=[t.Ga(aa(n)),t.Ga(bv(n))],f=ac(Infinity,Infinity,-Infinity,-Infinity,void 0),e=0,o=n.length;e<o;++e)tp(f,n[e]);gd(u,1/bit(f,r));n=u}r=i.constrainResolution(bit(n,r));u=i.$();f=i.ab();t.Wa(ap({resolution:u,duration:this.j,easing:bc}));t.Wa(dv({source:f,duration:this.j,easing:bc}));i.mb(gh(n));i.Ub(r)};r(gu,vi);r(nf,vi);r(gr,vi);gr.prototype.A=function(n){var t=uo(this.c,-1,1),i=n.aa();n.render();tft(n,i,-t,this.a,this.C);this.c=0;this.a=null;this.j=this.o=void 0};gr.prototype.D=function(n){this.s=n;n||(this.a=null)};r(vu,ei);vu.prototype.Gc=ks;r(yu,ei);yu.prototype.Gc=ks;r(fi,hi);n=fi.prototype;n.ce=function(){this.xb()&&this.u()};n.Tk=function(){var t,n,r,i;this.f.forEach(cu);this.f.length=0;n=this.Tc();this.f.push(e(n,"add",this.Sk,this),e(n,"remove",this.Uk,this));for(t in this.a)this.a[t].forEach(cu);for(ol(this.a),n=n.a,t=0,r=n.length;t<r;t++)i=n[t],this.a[nt(i).toString()]=[e(i,"propertychange",this.ce,this),e(i,"change",this.ce,this)];this.u()};n.Sk=function(n){n=n.element;var t=nt(n).toString();this.a[t]=[e(n,"propertychange",this.ce,this),e(n,"change",this.ce,this)];this.u()};n.Uk=function(n){n=nt(n.element).toString();this.a[n].forEach(cu);delete this.a[n];this.u()};n.Tc=function(){return this.get("layers")};n.oh=function(n){this.set("layers",n)};n.hf=function(n){var i=void 0!==n?n:[],r=i.length,u,t;for(this.Tc().forEach(function(n){n.hf(i)}),n=db(this),u=i.length;r<u;r++)t=i[r],t.opacity*=n.opacity,t.visible=t.visible&&n.visible,t.maxResolution=Math.min(t.maxResolution,n.maxResolution),t.minResolution=Math.max(t.minResolution,n.minResolution),void 0!==n.extent&&(t.extent=void 0!==t.extent?vc(t.extent,n.extent):n.extent);return i};n.kf=function(){return"ready"};r(fft,of);fft.prototype.getPointResolution=function(n,t){return n/pii(t[1]/6378137)};var kg=6378137*Math.PI,cfi=[-kg,-kg,kg,kg],lfi=[-180,-85,180,85],eyt="EPSG:3857 EPSG:102100 EPSG:102113 EPSG:900913 urn:ogc:def:crs:EPSG:6.18:3:3857 urn:ogc:def:crs:EPSG::3857 http://www.opengis.net/gml/srs/epsg.xml#3857".split(" ").map(function(n){return new fft(n)});eft=new hl(6378137);r(vl,of);vl.prototype.getPointResolution=function(n){return n};var oyt=[-180,-90,180,90],yfi=Math.PI*eft.radius/180,syt=[new vl("CRS:84"),new vl("EPSG:4326","neu"),new vl("urn:ogc:def:crs:EPSG::4326","neu"),new vl("urn:ogc:def:crs:EPSG:6.6:4326","neu"),new vl("urn:ogc:def:crs:OGC:1.3:CRS84"),new vl("urn:ogc:def:crs:OGC:2:84"),new vl("http://www.opengis.net/gml/srs/epsg.xml#4326","neu"),new vl("urn:x-ogc:def:crs:EPSG:4326","neu")];r(kt,yt);r(rt,yt);rt.prototype.f=function(){return this.get("preload")};rt.prototype.l=function(n){this.set("preload",n)};rt.prototype.c=function(){return this.get("useInterimTilesOnError")};rt.prototype.A=function(n){this.set("useInterimTilesOnError",n)};var ra=[0,0,0,1],sk=[],hk=[0,0,0,1];nh.prototype.g=function(){return this.b};nh.prototype.f=function(n){this.b=n;this.a=void 0},function(){function n(){}n.prototype=oft.prototype;rw.a=oft.prototype;rw.prototype=new n;rw.prototype.constructor=rw;rw.b=function(n,t){for(var r=Array(arguments.length-2),i=2;i<arguments.length;i++)r[i-2]=arguments[i];return oft.prototype[t].apply(n,r)}}();n=rf.prototype;n.Kn=function(){return this.b};n.dk=function(){return this.f};n.Ln=function(){return this.g};n.ek=function(){return this.c};n.jk=function(){return this.i};n.Mn=function(){return this.a};n.Nn=function(n){this.b=n;this.l=void 0};n.fp=function(n){this.f=n;this.l=void 0};n.On=function(n){this.g=n;this.l=void 0};n.gp=function(n){this.c=n;this.l=void 0};n.hp=function(n){this.i=n;this.l=void 0};n.lp=function(n){this.a=n;this.l=void 0};r(vf,ie);n=vf.prototype;n.Yb=function(){return this.o};n.Bn=function(){return this.g};n.pe=function(){return this.l};n.jc=function(){return this.f};n.td=function(){return 2};n.ld=function(){return this.s};n.Ia=function(){return this.A};n.Cn=function(){return this.a};n.Fb=function(){return this.D};n.Dn=function(){return this.b};n.pf=ne;n.load=ne;n.Xf=ne;n.Gh=function(n,t,i,r){t.setTransform(1,0,0,1,0,0);t.translate(i,r);t.beginPath();t.arc(n.size/2,n.size/2,this.a,0,2*Math.PI,!0);this.g&&(t.fillStyle=ny(this.g.b),t.fill());this.b&&(t.strokeStyle=n.strokeStyle,t.lineWidth=n.Bd,n.lineDash&&t.setLineDash(n.lineDash),t.stroke());t.closePath()};n.Fh=function(n,t,i,r){t.setTransform(1,0,0,1,0,0);t.translate(i,r);t.beginPath();t.arc(n.size/2,n.size/2,this.a,0,2*Math.PI,!0);t.fillStyle=bo(ra);t.fill();this.b&&(t.strokeStyle=n.strokeStyle,t.lineWidth=n.Bd,n.lineDash&&t.setLineDash(n.lineDash),t.stroke());t.closePath()};n=yf.prototype;n.W=function(){return this.i};n.Zj=function(){return this.g};n.Pn=function(){return this.c};n.Qn=function(){return this.a};n.Rn=function(){return this.f};n.Ha=function(){return this.l};n.Sn=function(){return this.b};n.Jh=function(n){"function"==typeof n?this.g=n:"string"==typeof n?this.g=function(t){return t.get(n)}:n?n&&(this.g=function(){return n}):this.g=pyt;this.i=n};n.Tn=function(n){this.b=n};dg=null;r(p,yt);p.prototype.C=function(){return this.A};p.prototype.D=function(){return this.i};p.prototype.l=function(n){this.A=void 0!==n?n:yyt;this.i=null===n?void 0:vyt(this.A);this.u()};r(w,p);w.prototype.f=function(){return this.get("preload")};w.prototype.c=function(){return this.get("useInterimTilesOnError")};w.prototype.Y=function(n){this.set("preload",n)};w.prototype.ia=function(n){this.set("useInterimTilesOnError",n)};r(ys,gb);n=ys.prototype;n.Rd=function(n){var i,r,t;oo(this.c,n.H())&&((this.a||this.b)&&(this.a&&nn(this,this.a),this.b&&uw(this,this.b),i=this.D,r=this.U,t=n.la(),i=t?hp(t,0,t.length,n.va(),i,r):null,r=i[2]-i[0],t=i[3]-i[1],r=Math.sqrt(r*r+t*t),t=this.f,t.beginPath(),t.arc(i[0],i[1],r,0,2*Math.PI),this.a&&t.fill(),this.b&&t.stroke()),""!==this.g&&oy(this,n.rd(),2,2))};n.sd=function(n){this.Sb(n.c,n.f);this.Tb(n.a);this.Vb(n.Ha())};n.sc=function(n){switch(n.X()){case"Point":this.uc(n);break;case"LineString":this.hd(n);break;case"Polygon":this.bf(n);break;case"MultiPoint":this.tc(n);break;case"MultiLineString":this.$e(n);break;case"MultiPolygon":this.af(n);break;case"GeometryCollection":this.Ze(n);break;case"Circle":this.Rd(n)}};n.Ye=function(n,t){var i=t.g(n);i&&oo(this.c,i.H())&&(this.sd(t),this.sc(i))};n.Ze=function(n){n=n.c;for(var t=0,i=n.length;t<i;++t)this.sc(n[t])};n.uc=function(n){var t=n.la();n=n.va();this.i&&wyt(this,t,t.length);""!==this.g&&oy(this,t,t.length,n)};n.tc=function(n){var t=n.la();n=n.va();this.i&&wyt(this,t,t.length);""!==this.g&&oy(this,t,t.length,n)};n.hd=function(n){if(oo(this.c,n.H())){if(this.b){uw(this,this.b);var t=this.f,i=n.la();t.beginPath();cft(this,i,0,i.length,n.va(),!1);t.stroke()}""!==this.g&&(n=gbt(n),oy(this,n,2,2))}};n.$e=function(n){var t=n.H(),i,f;if(oo(this.c,t)){if(this.b){uw(this,this.b);var t=this.f,e=n.la(),r=0,u=n.Db(),o=n.va();for(t.beginPath(),i=0,f=u.length;i<f;++i)r=cft(this,e,r,u[i],o,!1);t.stroke()}""!==this.g&&(n=nkt(n),oy(this,n,n.length,2))}};n.bf=function(n){if(oo(this.c,n.H())){if(this.b||this.a){this.a&&nn(this,this.a);this.b&&uw(this,this.b);var t=this.f;t.beginPath();byt(this,n.Mb(),0,n.Db(),n.va());this.a&&t.fill();this.b&&t.stroke()}""!==this.g&&(n=wit(n),oy(this,n,2,2))}};n.af=function(n){var e;if(oo(this.c,n.H())){if(this.b||this.a){this.a&&nn(this,this.a);this.b&&uw(this,this.b);for(var i=this.f,o=fv(n),r=0,u=n.i,s=n.va(),t=0,f=u.length;t<f;++t)e=u[t],i.beginPath(),r=byt(this,o,r,e,s),this.a&&i.fill(),this.b&&i.stroke()}""!==this.g&&(n=bet(n),oy(this,n,n.length,2))}};n.Sb=function(n,t){var i;if(n?(i=n.b,this.a={fillStyle:ny(i?i:ra)}):this.a=null,t){var i=t.b,r=t.f,u=t.g,f=t.c,e=t.a,o=t.i;this.b={lineCap:void 0!==r?r:"round",lineDash:u?u:sk,lineJoin:void 0!==f?f:"round",lineWidth:this.A*(void 0!==e?e:1),miterLimit:void 0!==o?o:10,strokeStyle:bo(i?i:hk)}}else this.b=null};n.Tb=function(n){if(n){var t=n.Yb(),u=n.jc(1),i=n.Ia(),r=n.Fb();this.R=t[0];this.ya=t[1];this.Ba=r[1];this.i=u;this.v=n.v;this.za=i[0];this.qa=i[1];this.Gb=n.U;this.ta=n.j;this.l=n.i;this.Aa=n.C;this.S=r[0]}else this.i=null};n.Vb=function(n){var i,t;if(n){if(i=n.b,i?(i=i.b,this.o={fillStyle:ny(i?i:ra)}):this.o=null,t=n.l,t){var i=t.b,r=t.f,u=t.g,f=t.c,e=t.a,t=t.i;this.s={lineCap:void 0!==r?r:"round",lineDash:u?u:sk,lineJoin:void 0!==f?f:"round",lineWidth:void 0!==e?e:1,miterLimit:void 0!==t?t:10,strokeStyle:bo(i?i:hk)}}else this.s=null;var i=n.g,r=n.f,u=n.c,f=n.i,e=n.a,t=n.Ha(),o=n.o;n=n.j;this.T={font:void 0!==i?i:"10px sans-serif",textAlign:void 0!==o?o:"center",textBaseline:void 0!==n?n:"middle"};this.g=void 0!==t?t:"";this.Sa=void 0!==r?this.A*r:0;this.qb=void 0!==u?this.A*u:0;this.C=void 0!==f?f:0;this.j=this.A*(void 0!==e?e:1)}else this.g=""};r(le,ce);le.prototype.i=function(n,t,i){var f,u,c;if(ga(this,"precompose",i,n,void 0),f=this.f?this.f.a():null,f){if(u=t.extent,c=void 0!==u,c){var r=n.pixelRatio,e=n.size[0]*r,l=n.size[1]*r,a=n.viewState.rotation,o=sh(u),s=bv(u),h=ip(u),u=aa(u);ko(n.coordinateToPixelMatrix,o,o);ko(n.coordinateToPixelMatrix,s,s);ko(n.coordinateToPixelMatrix,h,h);ko(n.coordinateToPixelMatrix,u,u);i.save();uc(i,-a,e/2,l/2);i.beginPath();i.moveTo(o[0]*r,o[1]*r);i.lineTo(s[0]*r,s[1]*r);i.lineTo(h[0]*r,h[1]*r);i.lineTo(u[0]*r,u[1]*r);i.clip();uc(i,a,e/2,l/2)}r=this.s;e=i.globalAlpha;i.globalAlpha=t.opacity;i.drawImage(f,0,0,+f.width,+f.height,Math.round(r[12]),Math.round(r[13]),Math.round(f.width*r[0]),Math.round(f.height*r[5]));i.globalAlpha=e;c&&i.restore()}tn(this,i,n)};yl=["Polygon","LineString","Image","Text"];r(fc,gb);fc.prototype.Pa=function(n,t,i,r,u){kyt(this,n,t,i,r,u,this.a,void 0)};fc.prototype.ke=ne;fc.prototype.df=function(){return this.T};r(ew,fc);ew.prototype.uc=function(n,t){if(this.o){tv(this,t);var i=n.la(),r=this.coordinates.length,i=fw(this,i,0,i.length,n.va(),!1);this.a.push([4,r,i,this.o,this.g,this.i,this.l,this.j,this.s,this.v,this.U,this.A,this.C,this.D,this.R]);this.b.push([4,r,i,this.S,this.g,this.i,this.l,this.j,this.s,this.v,this.U,this.A,this.C,this.D,this.R]);iv(this,t)}};ew.prototype.tc=function(n,t){if(this.o){tv(this,t);var i=n.la(),r=this.coordinates.length,i=fw(this,i,0,i.length,n.va(),!1);this.a.push([4,r,i,this.o,this.g,this.i,this.l,this.j,this.s,this.v,this.U,this.A,this.C,this.D,this.R]);this.b.push([4,r,i,this.S,this.g,this.i,this.l,this.j,this.s,this.v,this.U,this.A,this.C,this.D,this.R]);iv(this,t)}};ew.prototype.ke=function(){lft(this);this.i=this.g=void 0;this.o=this.S=null;this.R=this.D=this.A=this.U=this.v=this.s=this.j=this.C=this.l=void 0};ew.prototype.Tb=function(n){var t=n.Yb(),i=n.Fb(),u=n.pe(1),f=n.jc(1),r=n.Ia();this.g=t[0];this.i=t[1];this.S=u;this.o=f;this.l=i[1];this.j=n.v;this.s=r[0];this.v=r[1];this.U=n.U;this.A=n.j;this.C=n.i;this.D=n.C;this.R=i[0]};r(aft,fc);n=aft.prototype;n.df=function(){return this.f||(this.f=vtt(this.T),0<this.c&&lc(this.f,this.resolution*(this.c+1)/2,this.f)),this.f};n.hd=function(n,t){var i=this.g,r=i.lineWidth;void 0!==i.strokeStyle&&void 0!==r&&(gyt(this),tv(this,t),this.b.push([10,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,i.lineDash],[1]),i=n.la(),dyt(this,i,0,i.length,n.va()),this.b.push([12]),iv(this,t))};n.$e=function(n,t){var i=this.g,u=i.lineWidth;if(void 0!==i.strokeStyle&&void 0!==u){gyt(this);tv(this,t);this.b.push([10,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,i.lineDash],[1]);for(var i=n.Db(),u=n.la(),o=n.va(),f=0,r=0,e=i.length;r<e;++r)f=dyt(this,u,f,i[r],o);this.b.push([12]);iv(this,t)}};n.ke=function(){this.g.nf!=this.coordinates.length&&this.a.push([12]);lft(this);this.g=null};n.Sb=function(n,t){var i=t.b;this.g.strokeStyle=bo(i?i:hk);i=t.f;this.g.lineCap=void 0!==i?i:"round";i=t.g;this.g.lineDash=i?i:sk;i=t.c;this.g.lineJoin=void 0!==i?i:"round";i=t.a;this.g.lineWidth=void 0!==i?i:1;i=t.i;this.g.miterLimit=void 0!==i?i:10;this.g.lineWidth>this.c&&(this.c=this.g.lineWidth,this.f=null)};r(vft,fc);n=vft.prototype;n.Rd=function(n,t){var i=this.g,r=i.strokeStyle,u;(void 0!==i.fillStyle||void 0!==r)&&(yft(this),tv(this,t),this.b.push([9,bo(ra)]),void 0!==i.strokeStyle&&this.b.push([10,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,i.lineDash]),u=n.la(),r=this.coordinates.length,fw(this,u,0,u.length,n.va(),!1),u=[1],r=[2,r],this.a.push(u,r),this.b.push(u,r),r=[7],this.b.push(r),void 0!==i.fillStyle&&this.a.push(r),void 0!==i.strokeStyle&&(i=[12],this.a.push(i),this.b.push(i)),iv(this,t))};n.bf=function(n,t){var i=this.g,r=i.strokeStyle;(void 0!==i.fillStyle||void 0!==r)&&(yft(this),tv(this,t),this.b.push([9,bo(ra)]),void 0!==i.strokeStyle&&this.b.push([10,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,i.lineDash]),i=n.Db(),r=n.Mb(),npt(this,r,0,i,n.va()),iv(this,t))};n.af=function(n,t){var i=this.g,u=i.strokeStyle;if(void 0!==i.fillStyle||void 0!==u){yft(this);tv(this,t);this.b.push([9,bo(ra)]);void 0!==i.strokeStyle&&this.b.push([10,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,i.lineDash]);for(var i=n.i,u=fv(n),o=n.va(),f=0,r=0,e=i.length;r<e;++r)f=npt(this,u,f,i[r],o);iv(this,t)}};n.ke=function(){var t,i,n,r;if(lft(this),this.g=null,t=this.qa,0!==t)for(i=this.coordinates,n=0,r=i.length;n<r;++n)i[n]=t*Math.round(i[n]/t)};n.df=function(){return this.f||(this.f=vtt(this.T),0<this.c&&lc(this.f,this.resolution*(this.c+1)/2,this.f)),this.f};n.Sb=function(n,t){var r=this.g,i;n?(i=n.b,r.fillStyle=ny(i?i:ra)):r.fillStyle=void 0;t?(i=t.b,r.strokeStyle=bo(i?i:hk),i=t.f,r.lineCap=void 0!==i?i:"round",i=t.g,r.lineDash=i?i.slice():sk,i=t.c,r.lineJoin=void 0!==i?i:"round",i=t.a,r.lineWidth=void 0!==i?i:1,i=t.i,r.miterLimit=void 0!==i?i:10,r.lineWidth>this.c&&(this.c=r.lineWidth,this.f=null)):(r.strokeStyle=void 0,r.lineCap=void 0,r.lineDash=null,r.lineJoin=void 0,r.lineWidth=void 0,r.miterLimit=void 0)};r(pft,fc);pft.prototype.Vb=function(n){var t,i,r;if(n){if(t=n.b,t?(t=t.b,t=ny(t?t:ra),this.g?this.g.fillStyle=t:this.g={fillStyle:t}):this.g=null,i=n.l,i){var t=i.b,f=i.f,e=i.g,u=i.c,o=i.a,i=i.i,f=void 0!==f?f:"round",e=e?e.slice():sk,u=void 0!==u?u:"round",o=void 0!==o?o:1,i=void 0!==i?i:10,t=bo(t?t:hk);this.i?(r=this.i,r.lineCap=f,r.lineDash=e,r.lineJoin=u,r.lineWidth=o,r.miterLimit=i,r.strokeStyle=t):this.i={lineCap:f,lineDash:e,lineJoin:u,lineWidth:o,miterLimit:i,strokeStyle:t}}else this.i=null;var s=n.g,t=n.f,f=n.c,e=n.i,o=n.a,i=n.Ha(),u=n.o,r=n.j;n=void 0!==s?s:"10px sans-serif";u=void 0!==u?u:"center";r=void 0!==r?r:"middle";this.l?(s=this.l,s.font=n,s.textAlign=u,s.textBaseline=r):this.l={font:n,textAlign:u,textBaseline:r};this.o=void 0!==i?i:"";this.j=void 0!==t?t:0;this.s=void 0!==f?f:0;this.v=void 0!==e?e:0;this.U=void 0!==o?o:1}else this.o=""};rv.prototype.ra=function(n,t,i,r,u){var o=this.i,f,e;return ye(o,.5,.5,1/t,-1/t,-i,-n[0],-n[1]),f=this.c,f.clearRect(0,0,1,1),void 0!==this.f&&(e=ve(),tp(e,n),lc(e,t*this.f,e)),pfi(this,f,o,i,r,function(n){if(0<f.getImageData(0,0,1,1).data[3]){if(n=u(n))return n;f.clearRect(0,0,1,1)}},e)};rv.prototype.b=function(n,t){var i=void 0!==n?n.toString():"0",r=this.a[i];return void 0===r&&(r={},this.a[i]=r),i=r[t],void 0===i&&(i=new tpt[t](this.o,this.g,this.l),r[t]=i),i};rv.prototype.Ya=function(){return co(this.a)};rv.prototype.Pa=function(n,t,i,r,u,f){var c=Object.keys(this.a).map(Number),a,l,e,h;c.sort(yv);var o=this.g,e=o[0],h=o[1],s=o[2],o=o[3],e=[e,h,e,o,s,o,s,h];for(hp(e,0,8,2,i,e),n.save(),n.beginPath(),n.moveTo(e[0],e[1]),n.lineTo(e[2],e[3]),n.lineTo(e[4],e[5]),n.lineTo(e[6],e[7]),n.closePath(),n.clip(),f=f?f:yl,e=0,h=c.length;e<h;++e)for(a=this.a[c[e].toString()],s=0,o=f.length;s<o;++s)l=a[f[s]],void 0!==l&&l.Pa(n,t,i,r,u);n.restore()};tpt={Image:ew,LineString:aft,Polygon:vft,Text:pft};n=ps.prototype;n.get=function(n){return this.f[n]};n.Db=function(){return this.c};n.H=function(){return this.a||(this.a="Point"===this.g?dd(this.b):wtt(this.b,0,this.b.length,2)),this.a};n.Mb=function(){return this.b};n.la=ps.prototype.Mb;n.W=function(){return this};n.Nm=function(){return this.f};n.od=ps.prototype.W;n.va=function(){return 2};n.ec=ne;n.X=function(){return this.g};bft={Point:function(n,t,i,r){var u=i.a,f;if(u){if(2!=u.td())return;f=n.b(i.b,"Image");f.Tb(u);f.uc(t,r)}(u=i.Ha())&&(n=n.b(i.b,"Text"),n.Vb(u),sy(n,t.la(),2,2,r))},LineString:function(n,t,i,r){var u=i.f,f;u&&(f=n.b(i.b,"LineString"),f.Sb(null,u),f.hd(t,r));(u=i.Ha())&&(n=n.b(i.b,"Text"),n.Vb(u),sy(n,gbt(t),2,2,r))},Polygon:function(n,t,i,r){var u=i.c,e=i.f,f;(u||e)&&(f=n.b(i.b,"Polygon"),f.Sb(u,e),f.bf(t,r));(u=i.Ha())&&(n=n.b(i.b,"Text"),n.Vb(u),sy(n,wit(t),2,2,r))},MultiPoint:function(n,t,i,r){var u=i.a,f;if(u){if(2!=u.td())return;f=n.b(i.b,"Image");f.Tb(u);f.tc(t,r)}(u=i.Ha())&&(n=n.b(i.b,"Text"),n.Vb(u),i=t.la(),sy(n,i,i.length,t.va(),r))},MultiLineString:function(n,t,i,r){var u=i.f,f;u&&(f=n.b(i.b,"LineString"),f.Sb(null,u),f.$e(t,r));(u=i.Ha())&&(n=n.b(i.b,"Text"),n.Vb(u),t=nkt(t),sy(n,t,t.length,2,r))},MultiPolygon:function(n,t,i,r){var u=i.c,e=i.f,f;(e||u)&&(f=n.b(i.b,"Polygon"),f.Sb(u,e),f.af(t,r));(u=i.Ha())&&(n=n.b(i.b,"Text"),n.Vb(u),t=bet(t),sy(n,t,t.length,2,r))},GeometryCollection:function(n,t,i,r){t=t.c;for(var u=0,f=t.length;u<f;++u)bft[t[u].X()](n,t[u],i,r)},Circle:function(n,t,i,r){var u=i.c,e=i.f,f;(u||e)&&(f=n.b(i.b,"Polygon"),f.Sb(u,e),f.Rd(t,r));(u=i.Ha())&&(n=n.b(i.b,"Text"),n.Vb(u),sy(n,t.rd(),2,2,r))}};r(ow,gc);ow.prototype.i=function(n){this.state=n?3:2;ey(this)};ow.prototype.load=function(){0==this.state&&(this.state=1,ey(this),this.c(this.i.bind(this)))};ow.prototype.a=function(){return this.g};var ipt,un=tr.navigator,rpt=tr.chrome,wfi=-1<un.userAgent.indexOf("OPR"),bfi=-1<un.userAgent.indexOf("Edge");ipt=!(!un.userAgent.match("CriOS")&&null!==rpt&&void 0!==rpt&&"Google Inc."===un.vendor&&0==wfi&&0==bfi);r(sw,gc);sw.prototype.ka=function(){1==this.state&&(cu(this.Ad),this.Ad=null);gc.prototype.ka.call(this)};sw.prototype.a=function(){return this.i};sw.prototype.zd=function(){var n=this.ob.V();2==n&&(this.i=fpt(ef(this.g)/this.c,be(this.g)/this.c,this.j,this.ob.$(),0,this.c,this.g,this.o,[{extent:this.ob.H(),image:this.ob.a()}],0));this.state=n;ey(this)};sw.prototype.load=function(){if(0==this.state){this.state=1;ey(this);var n=this.ob.V();2==n||3==n?this.zd():(this.Ad=e(this.ob,"change",function(){var n=this.ob.V();(2==n||3==n)&&(cu(this.Ad),this.Ad=null,this.zd())},this),this.ob.load())}};r(ci,ir);ci.prototype.A=function(n,t,i,r){var u=this.f;if(u&&r&&!nc(u,r)){if(this.a){if(this.qa==this.g&&nc(this.a.v,r)&&this.a.$()==t&&this.a.f==i&&eb(this.a.H(),n))return this.a;kh(this.a);this.a=null}return this.a=new sw(u,r,n,t,i,function(n,t,i){return this.Mc(n,t,i,u)}.bind(this)),this.qa=this.g,this.a}return u&&(r=u),this.Mc(n,t,i,r)};ci.prototype.o=function(n){n=n.target;switch(n.V()){case 1:this.b(new th(kfi,n));break;case 2:this.b(new th(dfi,n));break;case 3:this.b(new th(gfi,n))}};r(th,vr);var kfi="imageloadstart",dfi="imageloadend",gfi="imageloaderror";r(cr,ci);cr.prototype.Mc=function(n,t,i,r){t=fn(this,t);var u=this.T;return u&&this.Y==this.g&&u.$()==t&&u.f==i&&us(u.H(),n)?u:(n=n.slice(),gd(n,this.ta),(r=this.ia(n,t,i,[ef(n)/t*i,be(n)/t*i],r))&&(u=new ow(n,t,i,this.l,r)),this.T=u,this.Y=this.g,u)};r(ft,si);n=ft.prototype;n.clone=function(){var t=new ft(this.O()),n;return t.Ec(this.a),n=this.W(),n&&t.Ua(n.clone()),(n=this.c)&&t.sf(n),t};n.W=function(){return this.get(this.a)};n.Xa=function(){return this.i};n.$j=function(){return this.a};n.Jl=function(){return this.c};n.ec=function(){return this.l};n.Kl=function(){this.u()};n.be=function(){this.f&&(cu(this.f),this.f=null);var n=this.W();n&&(this.f=e(n,"change",this.Kl,this));this.u()};n.Ua=function(n){this.set(this.a,n)};n.sf=function(n){this.l=(this.c=n)?nei(n):void 0;this.u()};n.mc=function(n){this.i=n;this.u()};n.Ec=function(n){bh(this,cf(this.a),this.be,this);this.a=n;e(this,cf(this.a),this.be,this);this.be()};r(ah,ke);n=ah.prototype;n.$a=function(){return-1==this.f.Uf?null:this.g.canvas};n.Ul=function(){return this.l};n.ib=function(){return this.j};n.load=function(){0==this.state&&(this.state=1,dc(this),this.v(this,this.j),this.s(null,NaN,null))};n.gi=function(n){this.c=n;this.state=2;dc(this)};n.vf=function(n){this.o=n};n.ki=function(n){this.s=n};hw=document.implementation.createDocument("","",null);vh=te(),function(){var t={},n={ja:t};(function(i){if("object"==typeof t&&"undefined"!=typeof n)n.ja=i();else{var r;r="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this;r.Tp=i()}})(function(){return function n(t,i,r){function u(f,o){if(!i[f]){if(!t[f]){var s="function"==typeof require&&require;if(!o&&s)return s(f,!0);if(e)return e(f,!0);s=Error("Cannot find module '"+f+"'");throw s.code="MODULE_NOT_FOUND",s;}s=i[f]={ja:{}};t[f][0].call(s.ja,function(n){var i=t[f][1][n];return u(i?i:n)},s,s.ja,n,t,i,r)}return i[f].ja}for(var e="function"==typeof require&&require,f=0;f<r.length;f++)u(r[f]);return u}({1:[function(n,t){function r(n,t,f,e,o){for(f=f||0,e=e||n.length-1,o=o||u;e>f;){if(600<e-f){var h=e-f+1,c=t-f+1,l=Math.log(h),s=.5*Math.exp(2*l/3),l=.5*Math.sqrt(l*s*(h-s)/h)*(0>c-h/2?-1:1);r(n,t,Math.max(f,Math.floor(t-c*s/h+l)),Math.min(e,Math.floor(t+(h-c)*s/h+l)),o)}for(h=n[t],c=f,s=e,i(n,f,t),0<o(n[e],h)&&i(n,f,e);c<s;){for(i(n,c,s),c++,s--;0>o(n[c],h);)c++;for(;0<o(n[s],h);)s--}0===o(n[f],h)?i(n,f,s):(s++,i(n,s,e));s<=t&&(f=s+1);t<=s&&(e=s-1)}}function i(n,t,i){var r=n[t];n[t]=n[i];n[i]=r}function u(n,t){return n<t?-1:n>t?1:0}t.ja=r},{}],2:[function(n,t){function e(n,t){if(!(this instanceof e))return new e(n,t);this.Te=Math.max(4,n||9);this.hg=Math.max(2,Math.ceil(.4*this.Te));t&&this.mj(t);this.clear()}function i(n,t){u(n,0,n.children.length,t,n)}function u(n,t,i,u,e){e||(e=r(null));e.ca=Infinity;e.fa=Infinity;e.ea=-Infinity;e.ga=-Infinity;for(var o;t<i;t++)o=n.children[t],f(e,n.Ta?u(o):o);return e}function f(n,t){n.ca=Math.min(n.ca,t.ca);n.fa=Math.min(n.fa,t.fa);n.ea=Math.max(n.ea,t.ea);n.ga=Math.max(n.ga,t.ga)}function h(n,t){return n.ca-t.ca}function c(n,t){return n.fa-t.fa}function s(n){return(n.ea-n.ca)*(n.ga-n.fa)}function o(n){return n.ea-n.ca+(n.ga-n.fa)}function l(n,t){return n.ca<=t.ca&&n.fa<=t.fa&&t.ea<=n.ea&&t.ga<=n.ga}function a(n,t){return t.ca<=n.ea&&t.fa<=n.ga&&t.ea>=n.ca&&t.ga>=n.fa}function r(n){return{children:n,height:1,Ta:!0,ca:Infinity,fa:Infinity,ea:-Infinity,ga:-Infinity}}function v(n,t,i,r,u){for(var f=[t,i],e;f.length;)i=f.pop(),t=f.pop(),i-t<=r||(e=t+Math.ceil((i-t)/r/2)*r,y(n,e,t,i,u),f.push(t,e,e,i))}t.ja=e;var y=n("quickselect");e.prototype={all:function(){return this.cg(this.data,[])},search:function(n){var t=this.data,r=[],s=this.lb,f,u,o,i,e;if(!a(n,t))return r;for(f=[];t;){for(u=0,o=t.children.length;u<o;u++)i=t.children[u],e=t.Ta?s(i):i,a(n,e)&&(t.Ta?r.push(i):l(n,e)?this.cg(i,r):f.push(i));t=f.pop()}return r},load:function(n){if(!n||!n.length)return this;if(n.length<this.hg){for(var t=0,i=n.length;t<i;t++)this.Ca(n[t]);return this}return n=this.eg(n.slice(),0,n.length-1,0),this.data.children.length?this.data.height===n.height?this.jg(this.data,n):(this.data.height<n.height&&(t=this.data,this.data=n,n=t),this.gg(n,this.data.height-n.height-1,!0)):this.data=n,this},Ca:function(n){return n&&this.gg(n,this.data.height-1),this},clear:function(){return this.data=r([]),this},remove:function(n,t){var s,c,e;if(!n)return this;for(var i=this.data,v=this.lb(n),u=[],a=[],f,o,r,h;i||u.length;){if(i||(i=u.pop(),o=u[u.length-1],f=a.pop(),h=!0),i.Ta){n:{if(r=n,s=i.children,c=t,c){for(e=0;e<s.length;e++)if(c(r,s[e])){r=e;break n}r=-1}else r=s.indexOf(r)};if(-1!==r){i.children.splice(r,1);u.push(i);this.kj(u);break}}h||i.Ta||!l(i,v)?o?(f++,i=o.children[f],h=!1):i=null:(u.push(i),a.push(f),f=0,o=i,i=i.children[0])}return this},lb:function(n){return n},Ve:h,We:c,toJSON:function(){return this.data},cg:function(n,t){for(var i=[];n;)n.Ta?t.push.apply(t,n.children):i.push.apply(i,n.children),n=i.pop();return t},eg:function(n,t,u,f){var o=u-t+1,e=this.Te,s,h,c,l;if(o<=e)return s=r(n.slice(t,u+1)),i(s,this.lb),s;for(f||(f=Math.ceil(Math.log(o)/Math.log(e)),e=Math.ceil(o/Math.pow(e,f-1))),s=r([]),s.Ta=!1,s.height=f,o=Math.ceil(o/e),e=o*Math.ceil(Math.sqrt(e)),v(n,t,u,e,this.Ve);t<=u;t+=e)for(c=Math.min(t+e-1,u),v(n,t,c,o,this.We),h=t;h<=c;h+=o)l=Math.min(h+o-1,c),s.children.push(this.eg(n,h,l,f-1));return i(s,this.lb),s},jj:function(n,t,i,r){for(var o,a,u,l,f,h,e,c;;){if(r.push(t),t.Ta||r.length-1===i)break;for(e=c=Infinity,o=0,a=t.children.length;o<a;o++)u=t.children[o],f=s(u),h=(Math.max(u.ea,n.ea)-Math.min(u.ca,n.ca))*(Math.max(u.ga,n.ga)-Math.min(u.fa,n.fa))-f,h<c?(c=h,e=f<e?f:e,l=u):h===c&&f<e&&(e=f,l=u);t=l||t.children[0]}return t},gg:function(n,t,i){var r=this.lb,u;for(i=i?n:r(n),r=[],u=this.jj(i,this.data,t,r),u.children.push(n),f(u,i);0<=t;)if(r[t].children.length>this.Te)this.sj(r,t),t--;else break;this.gj(i,r,t)},sj:function(n,t){var f=n[t],u=f.children.length,e=this.hg;this.hj(f,e,u);u=this.ij(f,e,u);u=r(f.children.splice(u,f.children.length-u));u.height=f.height;u.Ta=f.Ta;i(f,this.lb);i(u,this.lb);t?n[t-1].children.push(u):this.jg(f,u)},jg:function(n,t){this.data=r([n,t]);this.data.height=n.height+1;this.data.Ta=!1;i(this.data,this.lb)},ij:function(n,t,i){for(var r,e,h,o,l,c=o=Infinity,f=t;f<=i-t;f++)r=u(n,0,f,this.lb),e=u(n,f,i,this.lb),h=Math.max(0,Math.min(r.ea,e.ea)-Math.max(r.ca,e.ca))*Math.max(0,Math.min(r.ga,e.ga)-Math.max(r.fa,e.fa)),r=s(r)+s(e),h<c?(c=h,l=f,o=r<o?r:o):h===c&&r<o&&(o=r,l=f);return l},hj:function(n,t,i){var r=n.Ta?this.Ve:h,u=n.Ta?this.We:c,f=this.dg(n,t,i,r);t=this.dg(n,t,i,u);f<t&&n.children.sort(r)},dg:function(n,t,i,r){n.children.sort(r);r=this.lb;for(var h=u(n,0,t,r),c=u(n,i-t,i,r),l=o(h)+o(c),s,e=t;e<i-t;e++)s=n.children[e],f(h,n.Ta?r(s):s),l+=o(h);for(e=i-t-1;e>=t;e--)s=n.children[e],f(c,n.Ta?r(s):s),l+=o(c);return l},gj:function(n,t,i){for(;0<=i;i--)f(t[i],n)},kj:function(n){for(var t=n.length-1,r;0<=t;t--)0===n[t].children.length?0<t?(r=n[t-1].children,r.splice(r.indexOf(n[t]),1)):this.clear():i(n[t],this.lb)},mj:function(n){var t=["return a"," - b",";"];this.Ve=new Function("a","b",t.join(n[0]));this.We=new Function("a","b",t.join(n[1]));this.lb=new Function("a","return {minX: a"+n[0]+", minY: a"+n[1]+", maxX: a"+n[2]+", maxY: a"+n[3]+"};")}}},{quickselect:1}]},{},[2])(2)});wpt=n.ja}();n=lk.prototype;n.Ca=function(n,t){var i={ca:n[0],fa:n[1],ea:n[2],ga:n[3],value:t};this.a.Ca(i);this.b[nt(t)]=i};n.load=function(n,t){for(var u=Array(t.length),r=0,e=t.length;r<e;r++){var i=n[r],f=t[r],i={ca:i[0],fa:i[1],ea:i[2],ga:i[3],value:f};u[r]=i;this.b[nt(f)]=i}this.a.load(u)};n.remove=function(n){n=nt(n);var t=this.b[n];return delete this.b[n],null!==this.a.remove(t)};n.forEach=function(n,t){return twt(nwt(this),n,t)};n.Ya=function(){return co(this.b)};n.clear=function(){this.a.clear();this.b={}};n.H=function(){var n=this.a.data;return[n.ca,n.fa,n.ea,n.ga]};r(v,ir);n=v.prototype;n.rb=function(n){var t=nt(n).toString(),i;rwt(this,t,n)&&(iwt(this,t,n),i=n.W(),i?(t=i.H(),this.a&&this.a.Ca(t,n)):this.i[t]=n,this.b(new ao("addfeature",n)));this.u()};n.Jc=function(n){uwt(this,n);this.u()};n.clear=function(n){var t,i;if(n){for(t in this.s)this.s[t].forEach(cu);this.c||(this.s={},this.o={},this.j={})}else if(this.a){this.a.forEach(this.Sf,this);for(i in this.i)this.Sf(this.i[i])}this.c&&this.c.clear();this.a&&this.a.clear();this.Y.clear();this.i={};this.b(new ao("clear"));this.u()};n.wg=function(n,t){return this.a?this.a.forEach(n,t):this.c?this.c.forEach(n,t):void 0};n.ub=function(n,t,i){return this.a?vk(this.a,n,t,i):this.c?this.c.forEach(t,i):void 0};n.xg=function(n,t,i){return this.ub(n,function(r){if(r.W().Ka(n)&&(r=t.call(i,r)))return r})};n.Fg=function(){return this.c};n.oe=function(){var n;return this.c?n=this.c.a:this.a&&(n=nwt(this.a),co(this.i)||bf(n,vd(this.i))),n};n.Eg=function(n){var t=[];return iei(this,n,function(n){t.push(n)}),t};n.ef=function(n){return ak(this.a,n)};n.Ag=function(n,t){var u=n[0],f=n[1],e=null,o=[NaN,NaN],i=Infinity,r=[-Infinity,-Infinity,Infinity,Infinity],s=t?t:lo;return vk(this.a,r,function(n){if(s(n)){var t=n.W(),h=i;i=t.sb(u,f,o,i);i<h&&(e=n,n=Math.sqrt(i),r[0]=u-n,r[1]=f-n,r[2]=u+n,r[3]=f+n)}}),e};n.H=function(){return this.a.H()};n.Dg=function(n){return n=this.o[n.toString()],void 0!==n?n:null};n.Ch=function(){return this.qa};n.Dh=function(){return this.T};n.Eh=function(n){n=n.target;var i=nt(n).toString(),t=n.W();t?(t=t.H(),i in this.i?(delete this.i[i],this.a&&this.a.Ca(t,n)):this.a&&gpt(this.a,t,n)):i in this.i||(this.a&&this.a.remove(n),this.i[i]=n);t=n.Xa();void 0!==t?(t=t.toString(),i in this.j?(delete this.j[i],this.o[t]=n):this.o[t]!==n&&(fwt(this,n),this.o[t]=n)):i in this.j||(fwt(this,n),this.j[i]=n);this.u();this.b(new ao("changefeature",n))};n.Ya=function(){return this.a.Ya()&&co(this.i)};n.Pc=function(n,t,i){var f=this.Y,u,e,r;for(n=this.qb(n,t),u=0,e=n.length;u<e;++u)r=n[u],vk(f,r,function(n){return us(n.extent,r)})||(this.S.call(this,r,t,i),f.Ca(r,{extent:r.slice()}))};n.nb=function(n){var t=nt(n).toString();t in this.i?delete this.i[t]:this.a&&this.a.remove(n);this.Sf(n);this.u()};n.Sf=function(n){var t=nt(n).toString(),i;this.s[t].forEach(cu);delete this.s[t];i=n.Xa();void 0!==i?delete this.o[i.toString()]:delete this.j[t];this.b(new ao("removefeature",n))};r(ao,vr);r(bi,cr);n=bi.prototype;n.Dj=function(n,t,i,r,u){var f=new rv(.5*t/i,n,t),e;return(this.c.Pc(n,t,u),e=!1,this.c.ub(n,function(n){var r,u,s,o;if(!(r=e))if((r=n.ec())?u=r.call(n,t):this.s&&(u=this.s(n,t)),u){for(o=!1,Array.isArray(u)||(u=[u]),r=0,s=u.length;r<s;++r)o=ua(f,n,u[r],uv(t,i),this.dn,this)||o;r=o}else r=!1;e=r},this),rn(f),e)?null:(this.j[0]!=r[0]||this.j[1]!=r[1]?(this.i.canvas.width=r[0],this.i.canvas.height=r[1],this.j[0]=r[0],this.j[1]=r[1]):this.i.clearRect(0,0,r[0],r[1]),n=rei(this,gh(n),t,i,r),f.Pa(this.i,i,n,0,{}),this.v=f,this.i.canvas)};n.ra=function(n,t,i,r,u){if(this.v){var f={};return this.v.ra(n,t,0,r,function(n){var t=nt(n).toString();if(!(t in f))return f[t]=!0,u(n)})}};n.an=function(){return this.c};n.bn=function(){return this.S};n.cn=function(){return this.s};n.dn=function(){this.u()};n.en=function(){rc(this,this.c.V())};n.xh=function(n){this.S=void 0!==n?n:yyt;this.s=n?vyt(this.S):void 0;this.u()};r(ge,le);ge.prototype.ra=function(n,t,i,r){var u=this.a;return u.ha().ra(n,t.viewState.resolution,t.viewState.rotation,t.skippedFeatureUids,function(n){return i.call(r,n,u)})};ge.prototype.Cc=function(n,t,i,r){if(this.f&&this.f.a())if(this.a.ha()instanceof bi){if(n=n.slice(),ko(t.pixelToCoordinateMatrix,n,n),this.ra(n,t,lo,this))return i.call(r,this.a)}else if(this.c||(this.c=wf(),sb(this.s,this.c)),t=[0,0],ko(this.c,n,t),this.o||(this.o=lf(1,1)),this.o.clearRect(0,0,1,1),this.o.drawImage(this.f?this.f.a():null,t[0],t[1],1,1,0,0,1,1),0<this.o.getImageData(0,0,1,1).data[3])return i.call(r,this.a)};ge.prototype.l=function(n,t){var e=n.pixelRatio,i=n.viewState,s=i.center,u=i.resolution,h=this.a.ha(),f=n.viewHints,r=n.extent;if(void 0!==t.extent&&(r=vc(r,t.extent)),f[0]||f[1]||up(r)||(i=h.A(r,u,e,i.projection))&&yut(this,i)&&(this.f=i),this.f){var i=this.f,f=i.H(),r=i.$(),o=i.f,u=e*r/(u*o);ye(this.s,e*n.size[0]/2,e*n.size[1]/2,u,u,0,o*(f[0]-s[0])/r,o*(s[1]-f[3])/r);this.c=null;nw(n.attributions,i.l);ta(n,h)}return!!this.f};r(ue,le);ue.prototype.i=function(n,t,i){var r=nv(this,n,0);ga(this,"precompose",i,n,r);ewt(this,i,n,t);tn(this,i,n,r)};ue.prototype.l=function(n,t){function w(n){return n=n.V(),2==n||4==n||3==n&&!g}var b=n.pixelRatio,r=n.viewState,y=r.projection,p=this.a,e=p.ha(),c=e.eb(y),o=c.Lb(r.resolution,this.C),u=c.$(o),f=r.center,a,d,s;if(u==r.resolution?(f=but(f,u,n.size),r=rp(f,u,r.rotation,n.size)):r=n.extent,void 0!==t.extent&&(r=vc(r,t.extent)),up(r))return!1;u=ag(c,r,u);f={};f[o]={};for(var l=this.Qd(e,y,f),g=p.c(),a=ve(),s=new gv(0,0,0,0),i,k,h,v=u.ca;v<=u.ea;++v)for(h=u.fa;h<=u.ga;++h)i=e.ac(o,v,h,b,y),!w(i)&&i.a&&(i=i.a),w(i)?f[o][i.ma.toString()]=i:(k=hrt(c,i.ma,l,s,a),k||(i=crt(c,i.ma,s,a))&&l(o+1,i));for(l=Object.keys(f).map(Number),l.sort(yv),a=[],s=0,v=l.length;s<v;++s)for(d in i=l[s],h=f[i],h)i=h[d],2==i.V()&&a.push(i);return this.o=a,wut(n.usedTiles,e,o,u),kut(n,e,c,b,y,r,o,p.f()),put(n,e),ta(n,e),!0};ue.prototype.Cc=function(n,t,i,r){var u=this.c.canvas,f=t.size;return u.width=f[0],u.height=f[1],this.i(t,db(this.a),this.c),0<this.c.getImageData(n[0],n[1],1,1).data[3]?i.call(r,this.a):void 0};r(no,le);no.prototype.i=function(n,t,i){var a=n.extent,h=n.pixelRatio,v=t.Qc?n.skippedFeatureUids:{},f=n.viewState,e=f.projection,f=f.rotation,l=e.H(),o=this.a.ha(),r=nv(this,n,0),s,u,p,y;if(ga(this,"precompose",i,n,r),s=this.o,s&&!s.Ya()){if(dh(this.a,"render")?(this.j.canvas.width=i.canvas.width,this.j.canvas.height=i.canvas.height,u=this.j):u=i,p=u.globalAlpha,u.globalAlpha=t.opacity,t=n.size[0]*h,y=n.size[1]*h,uc(u,-f,t/2,y/2),s.Pa(u,h,r,f,v),o.D&&e.a&&!us(l,a)){for(var e=a[0],o=ef(l),c=0;e<l[0];)--c,r=o*c,r=nv(this,n,r),s.Pa(u,h,r,f,v),e+=o;for(c=0,e=a[2];e>l[2];)++c,r=o*c,r=nv(this,n,r),s.Pa(u,h,r,f,v),e-=o;r=nv(this,n,0)}uc(u,f,t/2,y/2);u!=i&&(ga(this,"render",u,n,r),i.drawImage(u.canvas,0,0));u.globalAlpha=p}tn(this,i,n,r)};no.prototype.ra=function(n,t,i,r){if(this.o){var f=this.a,u={};return this.o.ra(n,t.viewState.resolution,t.viewState.rotation,{},function(n){var t=nt(n).toString();if(!(t in u))return u[t]=!0,i.call(r,n,f)})}};no.prototype.D=function(){nk(this)};no.prototype.l=function(n){function v(n){var u,t=n.ec(),f,e;if(t?u=t.call(n,i):(t=r.i)&&(u=t(n,i)),u){if(u){if(t=!1,Array.isArray(u))for(f=0,e=u.length;f<e;++f)t=ua(s,n,u[f],uv(i,a),this.D,this)||t;else t=ua(s,n,u,uv(i,a),this.D,this)||t;n=t}else n=!1;this.c=this.c||n}}var r=this.a,f=r.ha(),s,c;nw(n.attributions,f.l);ta(n,f);var l=n.viewHints[0],h=n.viewHints[1],u=r.S,e=r.T;if(!this.c&&!u&&l||!e&&h)return!0;var t=n.extent,e=n.viewState,l=e.projection,i=e.resolution,a=n.pixelRatio,h=r.g,o=r.a,u=gg(r);return(void 0===u&&(u=wft),t=lc(t,o*i),o=e.projection.H(),f.D&&e.projection.a&&!us(o,n.extent)&&(n=Math.max(ef(t)/2,ef(o)),t[0]=o[0]-n,t[2]=o[2]+n),!this.c&&this.A==i&&this.C==h&&this.U==u&&us(this.v,t))?!0:(this.o=null,this.c=!1,s=new rv(.5*i/a,t,i,r.a),f.Pc(t,i,l),u?(c=[],f.ub(t,function(n){c.push(n)},this),c.sort(u),c.forEach(v,this)):f.ub(t,v,this),rn(s),this.A=i,this.C=h,this.U=u,this.v=t,this.o=s,!0)};r(gt,ki);n=gt.prototype;n.fb=function(){return this.tileLoadFunction};n.gb=function(){return this.tileUrlFunction};n.hb=function(){return this.urls};n.Bh=function(n){n=n.target;switch(n.V()){case 1:this.b(new gs("tileloadstart",n));break;case 2:this.b(new gs("tileloadend",n));break;case 3:this.b(new gs("tileloaderror",n))}};n.kb=function(n){this.a.clear();this.tileLoadFunction=n;this.u()};n.Qa=function(n,t){this.tileUrlFunction=n;"undefined"!=typeof t?lb(this,t):this.u()};n.Va=function(n){var t=this.urls=owt(n);this.Qa(this.vc?this.vc.bind(this):on(t,this.tileGrid),n)};n.bb=function(n){this.urls=n;var t=n.join("\n");this.Qa(this.vc?this.vc.bind(this):on(n,this.tileGrid),t)};n.Yf=function(n,t,i){n=this.Eb(n,t,i);ic(this.a,n)&&this.a.get(n)};r(oi,gt);oi.prototype.ac=function(n,t,i,r,u){var f=this.Eb(n,t,i);return ic(this.a,f)?this.a.get(f):(n=[n,t,i],r=(t=pp(this,n,u))?this.tileUrlFunction(t,r,u):void 0,r=new this.tileClass(n,void 0!==r?0:4,void 0!==r?r:"",this.c,this.tileLoadFunction),e(r,"change",this.Bh,this),this.a.set(f,r),r)};oi.prototype.$d=function(n,t){var i=fs(this.tileGrid.Ja(n));return[i[0]*t,i[1]*t]};swt={image:yl,hybrid:["Polygon","LineString"]};hwt={hybrid:["Image","Text"],vector:yl};r(to,ue);to.prototype.i=function(n,t,i){var y=nv(this,n,0),h,k,s,f,v,d,u,e,g,nt,l;if(ga(this,"precompose",i,n,y),h=this.a.s,"vector"!==h&&ewt(this,i,n,t),"image"!==h){var r=this.a,h=hwt[r.s],c=n.pixelRatio,tt=t.Qc?n.skippedFeatureUids:{},o=n.viewState,p=o.center,a=o.rotation,w=n.size,o=c/o.resolution,s=r.ha(),it=s.bc(c),b=nv(this,n,0);for(dh(r,"render")?(this.c.canvas.width=i.canvas.width,this.c.canvas.height=i.canvas.height,r=this.c):r=i,k=r.globalAlpha,r.globalAlpha=t.opacity,t=this.o,s=s.tileGrid,v=0,d=t.length;v<d;++v)u=t[v],nt=u.f,e=s.Ea(u.ma,this.j),f=u.ma[0],g="tile-pixels"==u.o.wb(),f=s.$(f),l=f/it,f=Math.round(c*w[0]/2),u=Math.round(c*w[1]/2),g?(e=sh(e),e=ye(this.v,f,u,o*l,o*l,a,(e[0]-p[0])/l,(p[1]-e[1])/l)):e=b,uc(r,-a,f,u),nt.yd.Pa(r,c,e,a,tt,h),uc(r,a,f,u);r!=i&&(ga(this,"render",r,n,b),i.drawImage(r.canvas,0,0));r.globalAlpha=k}tn(this,i,n,y)};to.prototype.ra=function(n,t,i,r){var p=t.pixelRatio,s=t.viewState.resolution;t=t.viewState.rotation;for(var l=this.a,a={},v=this.o,h=l.ha(),w=h.tileGrid,c,u,f,e,o=0,y=v.length;o<y;++o)e=v[o],u=e.ma,f=h.tileGrid.Ea(u,this.j),ytt(f,n)&&("tile-pixels"===e.o.wb()?(f=sh(f),s=h.bc(p),u=w.$(u[0])/s,u=[(n[0]-f[0])/u,(f[1]-n[1])/u]):u=n,e=e.f.yd,c=c||e.ra(u,s,t,{},function(n){var t=nt(n).toString();if(!(t in a))return a[t]=!0,i.call(r,n,l)}));return c};to.prototype.A=function(){nk(this)};to.prototype.l=function(n,t){var y=ue.prototype.l.call(this,n,t),s;if(y)for(var p=Object.keys(n.Ee||{}),v=0,d=this.o.length;v<d;++v){s=this.o[v];eei(this,s,n);var i=s,s=n,r=this.a,w=swt[r.s];if(w){var c=s.pixelRatio,l=i.f,u=r.g;if(!wd(l.ui,p)||l.Uf!==u){l.ui=p;l.Uf=u;var u=i.g,h=r.ha(),a=h.tileGrid,f=i.ma[0],o=a.$(f),r=fs(a.Ja(f)),f=a.$(f),e=f/o,b=r[0]*c*e,k=r[1]*c*e;u.canvas.width=b/e+.5;u.canvas.height=k/e+.5;u.scale(1/e,1/e);u.translate(b/2,k/2);e="tile-pixels"==i.o.wb();o=c/o;h=h.bc(c);f/=h;i=a.Ea(i.ma,this.j);e?i=ye(this.v,0,0,o*f,o*f,0,-r[0]*h/2,-r[1]*h/2):(i=gh(i),i=ye(this.v,0,0,o,-o,0,-i[0],-i[1]));l.yd.Pa(u,c,i,0,s.skippedFeatureUids||{},w)}}}return y};r(yk,nl);yk.prototype.Xe=function(n){return n instanceof kt?new ge(n):n instanceof rt?new ue(n):n instanceof w?new to(n):n instanceof p?new no(n):null};yk.prototype.X=function(){return"canvas"};yk.prototype.Ce=function(n){var s,e,h,o,c,u,i;if(n){var f=this.f,t=n.pixelRatio,r=Math.round(n.size[0]*t),t=Math.round(n.size[1]*t);for(this.b.width!=r||this.b.height!=t?(this.b.width=r,this.b.height=t):f.clearRect(0,0,r,t),s=n.viewState.rotation,dut(n),cwt(this,"precompose",n),e=n.layerStatesArray,ctt(e),uc(f,s,r/2,t/2),h=n.viewState.resolution,o=0,c=e.length;o<c;++o)i=e[o],u=i.layer,u=ia(this,u),ka(i,h)&&"ready"==i.R&&u.l(n,i)&&u.i(n,i,f);uc(f,-s,r/2,t/2);cwt(this,"postcompose",n);this.a||(this.b.style.display="",this.a=!0);nft(this,n);n.postRenderFunctions.push(gut)}else this.a&&(this.b.style.display="none",this.a=!1)};r(fe,ce);fe.prototype.Nd=ne;fe.prototype.th=ne;r(ho,fe);ho.prototype.ra=function(n,t,i,r){var u=this.a;return u.ha().ra(n,t.viewState.resolution,t.viewState.rotation,t.skippedFeatureUids,function(n){return i.call(r,n,u)})};ho.prototype.Nd=function(){sg(this.target);this.f=null};ho.prototype.yf=function(n,t){var i=n.viewState,f=i.center,o=i.resolution,h=i.rotation,u=this.f,s=this.a.ha(),e=n.viewHints,r=n.extent;return void 0!==t.extent&&(r=vc(r,t.extent)),e[0]||e[1]||up(r)||(i=s.A(r,o,n.pixelRatio,i.projection))&&yut(this,i)&&(u=i),u&&(e=u.H(),r=u.$(),i=wf(),ye(i,n.size[0]/2,n.size[1]/2,r/o,r/o,h,(e[0]-f[0])/r,(f[1]-e[3])/r),u!=this.f&&(f=u.a(this),f.style.maxWidth="none",f.style.position="absolute",sg(this.target),this.target.appendChild(f),this.f=u),vut(i,this.c)||(ort(this.target,i),rit(this.c,i)),nw(n.attributions,u.l),ta(n,s)),!0};r(vo,fe);vo.prototype.Nd=function(){sg(this.target);this.i=0};vo.prototype.yf=function(n,t){var o,k,r,tt,it,ft,p;if(!t.visible)return this.c&&(this.target.style.display="none",this.c=!1),!0;var ht=n.pixelRatio,a=n.viewState,rt=a.projection,et=this.a,h=et.ha(),v=h.eb(rt),ut=h.Ud(rt),w=v.Lb(a.resolution),o=v.$(w),nt=a.center,b;o==a.resolution?(nt=but(nt,o,n.size),b=rp(nt,o,a.rotation,n.size)):b=n.extent;void 0!==t.extent&&(b=vc(b,t.extent));o=ag(v,b,o);k={};k[w]={};for(var tt=this.Qd(h,rt,k),u=et.c(),y=ve(),ot=new gv(0,0,0,0),i,f,e,s=o.ca;s<=o.ea;++s)for(e=o.fa;e<=o.ga;++e)i=h.ac(w,s,e,ht,rt),f=i.V(),f=2==f||4==f||3==f&&!u,!f&&i.a&&(i=i.a),f=i.V(),2==f?k[w][i.ma.toString()]=i:4==f||3==f&&!u||(f=hrt(v,i.ma,tt,ot,y),f||(i=crt(v,i.ma,ot,y))&&tt(w+1,i));if(this.i!=h.g){for(r in this.f)u=this.f[+r],kc(u.target);this.f={};this.i=h.g}for(y=Object.keys(k).map(Number),y.sort(yv),tt={},s=0,e=y.length;s<e;++s){r=y[s];r in this.f?u=this.f[r]:(u=v.qd(nt,r),u=new sn(v,u),tt[r]=!0,this.f[r]=u);r=k[r];for(it in r){i=u;f=r[it];var d=ut,g=f.ma,c=g[0],ct=g[1],lt=g[2],g=g.toString();if(!(g in i.a)){var c=fs(i.c.Ja(c),i.o),st=f.$a(i),l=st.style;l.maxWidth="none";0<d?(ft=document.createElement("DIV"),p=ft.style,p.overflow="hidden",p.width=c[0]+"px",p.height=c[1]+"px",l.position="absolute",l.left=-d+"px",l.top=-d+"px",l.width=c[0]+2*d+"px",l.height=c[1]+2*d+"px",ft.appendChild(st)):(l.width=c[0]+"px",l.height=c[1]+"px",ft=st,p=l);p.position="absolute";p.left=(ct-i.g[1])*c[0]+"px";p.top=(i.g[2]-lt)*c[1]+"px";i.b||(i.b=document.createDocumentFragment());i.b.appendChild(ft);i.a[g]=f}}u.b&&(u.target.appendChild(u.b),u.b=null)}for(ut=Object.keys(this.f).map(Number),ut.sort(yv),s=wf(),it=0,y=ut.length;it<y;++it)if(r=ut[it],u=this.f[r],r in k){if(i=u.$(),e=u.Ia(),ye(s,n.size[0]/2,n.size[1]/2,i/a.resolution,i/a.resolution,a.rotation,(e[0]-nt[0])/i,(nt[1]-e[1])/i),u.setTransform(s),r in tt){for(--r;0<=r;--r)if(r in this.f){this.f[r].target.parentNode&&this.f[r].target.parentNode.insertBefore(u.target,this.f[r].target.nextSibling);break}0>r&&this.target.insertBefore(u.target,this.target.childNodes[0]||null)}else if(!n.viewHints[0]&&!n.viewHints[1]){f=ch(u.c,b,u.g[0],ot);r=[];i=void 0;for(i in u.a)e=u.a[i],f.contains(e.ma)||r.push(e);for(f=0,d=r.length;f<d;++f)e=r[f],i=e.ma.toString(),kc(e.$a(u)),delete u.a[i]}}else kc(u.target),delete this.f[r];return t.opacity!=this.l&&(this.l=this.target.style.opacity=t.opacity),t.visible&&!this.c&&(this.target.style.display="",this.c=!0),wut(n.usedTiles,h,w,o),kut(n,h,v,ht,rt,b,w,et.f()),put(n,h),ta(n,h),!0};sn.prototype.Ia=function(){return this.i};sn.prototype.$=function(){return this.l};sn.prototype.setTransform=function(n){vut(n,this.f)||(ort(this.target,n),rit(this.f,n))};r(go,fe);n=go.prototype;n.Nd=function(){var n=this.i.canvas;n.width=n.width;this.l=0};n.th=function(n,t){var i=n.viewState,f=i.center,o=i.rotation,r=i.resolution,i=n.pixelRatio,u=n.size[0],e=n.size[1],s=u*i,h=e*i,f=ye(this.U,i*u/2,i*e/2,i/r,-i/r,-o,-f[0],-f[1]),r=this.i;r.canvas.width=s;r.canvas.height=h;u=ye(this.v,0,0,1/i,1/i,0,-(s-u)/2*i,-(h-e)/2*i);ort(r.canvas,u);net(this,"precompose",n,f);(u=this.c)&&!u.Ya()&&(r.globalAlpha=t.opacity,u.Pa(r,i,f,o,t.Qc?n.skippedFeatureUids:{}),net(this,"render",n,f));net(this,"postcompose",n,f)};n.ra=function(n,t,i,r){if(this.c){var f=this.a,u={};return this.c.ra(n,t.viewState.resolution,t.viewState.rotation,{},function(n){var t=nt(n).toString();if(!(t in u))return u[t]=!0,i.call(r,n,f)})}};n.uh=function(){nk(this)};n.yf=function(n){function l(n){var i,t=n.ec(),f,o;if(t?i=t.call(n,r):(t=u.i)&&(i=t(n,r)),i){if(i){if(t=!1,Array.isArray(i))for(f=0,o=i.length;f<o;++f)t=ua(e,n,i[f],uv(r,c),this.uh,this)||t;else t=ua(e,n,i,uv(r,c),this.uh,this)||t;n=t}else n=!1;this.f=this.f||n}}var u=this.a,f=u.ha(),e,o;nw(n.attributions,f.l);ta(n,f);var s=n.viewHints[0],i=n.viewHints[1],t=u.S,h=u.T;if(!this.f&&!t&&s||!h&&i)return!0;var i=n.extent,t=n.viewState,s=t.projection,r=t.resolution,c=n.pixelRatio;return(n=u.g,h=u.a,t=gg(u),void 0===t&&(t=wft),i=lc(i,h*r),!this.f&&this.s==r&&this.l==n&&this.j==t&&us(this.o,i))?!0:(this.c=null,this.f=!1,e=new rv(.5*r/c,i,r,u.a),f.Pc(i,r,s),t?(o=[],f.ub(i,function(n){o.push(n)},this),o.sort(t),o.forEach(l,this)):f.ub(i,l,this),rn(e),this.s=r,this.l=n,this.j=t,this.o=i,this.c=e,!0)};r(cw,nl);cw.prototype.ka=function(){kc(this.b);nl.prototype.ka.call(this)};cw.prototype.Xe=function(n){if(n instanceof kt)n=new ho(n);else if(n instanceof rt)n=new vo(n);else if(n instanceof p)n=new go(n);else return null;return n};cw.prototype.X=function(){return"dom"};cw.prototype.Ce=function(n){var r,f,o,i,u,t,e;if(n){for(t=this.i,(dh(t,"precompose")||dh(t,"postcompose"))&&(t=this.f.canvas,r=n.pixelRatio,t.width=n.size[0]*r,t.height=n.size[1]*r),lwt(this,"precompose",n),t=n.layerStatesArray,ctt(t),r=n.viewState.resolution,f=0,o=t.length;f<o;++f)u=t[f],i=u.layer,i=ia(this,i),this.b.insertBefore(i.target,this.b.childNodes[f]||null),ka(u,r)&&"ready"==u.R?i.yf(n,u)&&i.th(n,u):i.Nd();t=n.layerStates;for(e in this.g)e in t||(i=this.g[e],kc(i.target));this.a||(this.b.style.display="",this.a=!0);dut(n);nft(this,n);n.postRenderFunctions.push(gut);lwt(this,"postcompose",n)}else this.a&&(this.b.style.display="none",this.a=!1)};r(pk,awt);pk.prototype.X=function(){return 35632};r(wk,awt);wk.prototype.X=function(){return 35633};r(tet,pk);lv(tet);r(iet,wk);lv(iet);r(hy,ky);n=hy.prototype;n.ka=function(){var n,t;if(ict(this.l),n=this.b,!n.isContextLost()){for(t in this.a)n.deleteBuffer(this.a[t].buffer);for(t in this.f)n.deleteProgram(this.f[t]);for(t in this.c)n.deleteShader(this.c[t]);n.deleteFramebuffer(this.i);n.deleteRenderbuffer(this.j);n.deleteTexture(this.s)}};n.$n=function(){return this.b};n.ao=function(){ol(this.a);ol(this.c);ol(this.f);this.j=this.s=this.i=this.o=null};n.bo=function(){};n.we=function(n){return n==this.o?!1:(this.b.useProgram(n),this.o=n,!0)};r(aw,gb);aw.prototype.tc=function(n,t){this.g.push(this.a.length);this.s.push(t);var i=n.la();kwt(this,i,i.length,n.va())};aw.prototype.uc=function(n,t){this.g.push(this.a.length);this.s.push(t);var i=n.la();kwt(this,i,i.length,n.va())};aw.prototype.Pa=function(n,t,i,r,u,f,e,o,s,h,c){var v;f=n.b;lw(n,34962,this.v);lw(n,34963,this.o);var l=tet.Zb(),a=iet.Zb(),a=uet(n,l,a);if(this.D?l=this.D:this.D=l=new oei(f,a),n.we(a),f.enableVertexAttribArray(l.f),f.vertexAttribPointer(l.f,2,5126,!1,32,0),f.enableVertexAttribArray(l.b),f.vertexAttribPointer(l.b,2,5126,!1,32,8),f.enableVertexAttribArray(l.c),f.vertexAttribPointer(l.c,2,5126,!1,32,16),f.enableVertexAttribArray(l.a),f.vertexAttribPointer(l.a,1,5126,!1,32,24),f.enableVertexAttribArray(l.g),f.vertexAttribPointer(l.g,1,5126,!1,32,28),a=this.Sa,ye(a,0,0,2/(i*u[0]),2/(i*u[1]),-r,-(t[0]-this.j[0]),-(t[1]-this.j[1])),t=this.Aa,i=2/u[0],u=2/u[1],ya(t),t[0]=i,t[5]=u,t[10]=1,t[15]=1,u=this.ta,ya(u),0!==r&&rg(u,-r),f.uniformMatrix4fv(l.l,!1,a),f.uniformMatrix4fv(l.j,!1,t),f.uniformMatrix4fv(l.o,!1,u),f.uniform1f(l.i,e),void 0===s)gwt(this,f,n,o,this.Gb,this.U);else{if(h)n:{for(r=n.g?5125:5123,n=n.g?4:2,u=this.g.length-1,e=this.l.length-1;0<=e;--e)for(f.bindTexture(3553,this.l[e]),h=0<e?this.i[e-1]:0,t=this.i[e];0<=u&&this.g[u]>=h;){if(v=this.g[u],i=this.s[u],a=nt(i).toString(),void 0===o[a]&&i.W()&&(void 0===c||oo(c,i.W().H()))&&(f.clear(f.COLOR_BUFFER_BIT|f.DEPTH_BUFFER_BIT),f.drawElements(4,t-v,r,v*n),t=s(i))){o=t;break n}t=v;u--}o=void 0}else f.clear(f.COLOR_BUFFER_BIT|f.DEPTH_BUFFER_BIT),gwt(this,f,n,o,this.l,this.i),o=(o=s(null))?o:void 0;v=o}return f.disableVertexAttribArray(l.f),f.disableVertexAttribArray(l.b),f.disableVertexAttribArray(l.c),f.disableVertexAttribArray(l.a),f.disableVertexAttribArray(l.g),v};aw.prototype.Tb=function(n){var u=n.Yb(),i=n.jc(1),f=n.ld(),r=n.pe(1),s=n.v,e=n.Ia(),h=n.U,c=n.j,o=n.Fb(),t;n=n.i;0===this.c.length?this.c.push(i):(t=this.c[this.c.length-1],nt(t)!=nt(i)&&(this.U.push(this.a.length),this.c.push(i)));0===this.f.length?this.f.push(r):(t=this.f[this.f.length-1],nt(t)!=nt(r)&&(this.i.push(this.a.length),this.f.push(r)));this.A=u[0];this.C=u[1];this.R=o[1];this.ya=f[1];this.Ba=f[0];this.S=s;this.T=e[0];this.Y=e[1];this.ia=c;this.Ra=h;this.za=n;this.qa=o[0]};cy.prototype.b=function(n,t){var i=this.a[t];return void 0===i&&(i=new ibt[t](this.c,this.f),this.a[t]=i),i};cy.prototype.Ya=function(){return co(this.a)};cy.prototype.Pa=function(n,t,i,r,u,f,e,o){for(var h,s=0,c=yl.length;s<c;++s)h=this.a[yl[s]],void 0!==h&&h.Pa(n,t,i,r,u,f,e,o,void 0,!1)};cy.prototype.ra=function(n,t,i,r,u,f,e,o,s,h){var c=t.b,l;return c.bindFramebuffer(c.FRAMEBUFFER,vwt(t)),void 0!==this.g&&(l=lc(dd(n),r*this.g)),tbt(this,t,n,r,u,e,o,s,function(n){var t=new Uint8Array(4);return c.readPixels(0,0,1,1,c.RGBA,c.UNSIGNED_BYTE,t),0<t[3]&&(n=h(n))?n:void 0},!0,l)};ibt={Image:aw};rbt=[1,1];r(pl,gb);n=pl.prototype;n.sd=function(n){this.Tb(n.a)};n.sc=function(n){switch(n.X()){case"Point":this.uc(n,null);break;case"MultiPoint":this.tc(n,null);break;case"GeometryCollection":this.Ze(n,null)}};n.Ye=function(n,t){var i=t.g(n);i&&oo(this.g,i.H())&&(this.sd(t),this.sc(i))};n.Ze=function(n){n=n.c;for(var t=0,i=n.length;t<i;++t)this.sc(n[t])};n.uc=function(n,t){var r=this.b,i=new cy(1,this.g).b(0,"Image");i.Tb(this.a);i.uc(n,t);eet(i,r);i.Pa(this.b,this.f,this.i,this.l,this.o,this.c,1,{},void 0,!1);fet(i,r)()};n.tc=function(n,t){var r=this.b,i=new cy(1,this.g).b(0,"Image");i.Tb(this.a);i.tc(n,t);eet(i,r);i.Pa(this.b,this.f,this.i,this.l,this.o,this.c,1,{},void 0,!1);fet(i,r)()};n.Tb=function(n){this.a=n};r(oet,pk);lv(oet);r(set,wk);lv(set);r(gf,ce);gf.prototype.vh=function(n,t,i){ubt(this,"precompose",i,n);lw(i,34962,this.S);var r=i.b,f=oet.Zb(),u=set.Zb(),f=uet(i,f,u);this.v?u=this.v:this.v=u=new cei(r,f);i.we(f)&&(r.enableVertexAttribArray(u.b),r.vertexAttribPointer(u.b,2,5126,!1,16,0),r.enableVertexAttribArray(u.a),r.vertexAttribPointer(u.a,2,5126,!1,16,8),r.uniform1i(u.c,0));r.uniformMatrix4fv(u.i,!1,this.s);r.uniformMatrix4fv(u.f,!1,this.U);r.uniform1f(u.g,t.opacity);r.bindTexture(3553,this.pb);r.drawArrays(5,0,4);ubt(this,"postcompose",i,n)};gf.prototype.zf=function(){this.i=this.pb=null;this.l=void 0};r(io,gf);io.prototype.ra=function(n,t,i,r){var u=this.a;return u.ha().ra(n,t.viewState.resolution,t.viewState.rotation,t.skippedFeatureUids,function(n){return i.call(r,n,u)})};io.prototype.Af=function(n,t){var f=this.f.f,r=n.pixelRatio,i=n.viewState,l=i.center,o=i.resolution,a=i.rotation,u=this.c,s=this.pb,h=this.a.ha(),c=n.viewHints,e=n.extent;return void 0!==t.extent&&(e=vc(e,t.extent)),c[0]||c[1]||up(e)||(i=h.A(e,o,r,i.projection))&&yut(this,i)&&(u=i,s=aei(this,i),this.pb&&n.postRenderFunctions.push(function(n,t){n.isContextLost()||n.deleteTexture(t)}.bind(null,f,this.pb))),u&&(f=this.f.c.l,vei(this,f.width,f.height,r,l,o,a,u.H()),this.j=null,r=this.s,ya(r),na(r,1,-1),wc(r,0,-1),this.c=u,this.pb=s,nw(n.attributions,u.l),ta(n,h)),!0};io.prototype.le=function(n,t){return void 0!==this.ra(n,t,lo,this)};io.prototype.Cc=function(n,t,i,r){var e,u,f,o;if(this.c&&this.c.a())if(this.a.ha()instanceof bi){if(n=n.slice(),ko(t.pixelToCoordinateMatrix,n,n),this.ra(n,t,lo,this))return i.call(r,this.a)}else if(e=[this.c.a().width,this.c.a().height],this.j||(u=t.size,t=wf(),ya(t),wc(t,-1,-1),na(t,2/u[0],2/u[1]),wc(t,0,u[1]),na(t,1,-1),u=wf(),sb(this.U,u),f=wf(),ya(f),wc(f,0,e[1]),na(f,1,-1),na(f,e[0]/2,e[1]/2),wc(f,1,1),o=wf(),kct(f,u,o),kct(o,t,o),this.j=o),t=[0,0],ko(this.j,n,t),!(0>t[0]||t[0]>e[0]||0>t[1]||t[1]>e[1])&&(this.o||(this.o=lf(1,1)),this.o.clearRect(0,0,1,1),this.o.drawImage(this.c.a(),t[0],t[1],1,1,0,0,1,1),0<this.o.getImageData(0,0,1,1).data[3]))return i.call(r,this.a)};r(het,pk);lv(het);r(cet,wk);lv(cet);r(ns,gf);n=ns.prototype;n.ka=function(){ret(this.f.c,this.C);gf.prototype.ka.call(this)};n.Qd=function(n,t,i){var r=this.f;return function(u,f){return hat(n,t,u,f,function(n){var t=ic(r.a,n.ib());return t&&(i[u]||(i[u]={}),i[u][n.ma.toString()]=n),t})}};n.zf=function(){gf.prototype.zf.call(this);this.c=null};n.Af=function(n,t,i){var it=this.f,o=i.b,a=n.viewState,w=a.projection,ft=this.a,h=ft.ha(),s=h.eb(w),c=s.Lb(a.resolution),f=s.$(c),y=h.$d(c,n.pixelRatio,w),g=y[0]/fs(s.Ja(c),this.R)[0],u=f/g,st=h.Ud(w),nt=a.center,rt,ot;if(f==a.resolution?(nt=but(nt,f,n.size),rt=rp(nt,f,a.rotation,n.size)):rt=n.extent,f=ag(s,rt,f),this.o&&lri(this.o,f)&&this.j==h.g)u=this.A;else{var v=[f.ea-f.ca+1,f.ga-f.fa+1],l=Math.pow(2,Math.ceil(Math.log(Math.max(v[0]*y[0],v[1]*y[1]))/Math.LN2)),v=u*l,e=s.Ia(c),p=e[0]+f.ca*y[0]*u,u=e[1]+f.fa*y[1]*u,u=[p,u,p+v,u+v];lei(this,n,l);o.viewport(0,0,l,l);o.clearColor(0,0,0,0);o.clear(16384);o.disable(3042);l=uet(i,this.D,this.T);i.we(l);this.c||(this.c=new yei(o,l));lw(i,34962,this.C);o.enableVertexAttribArray(this.c.b);o.vertexAttribPointer(this.c.b,2,5126,!1,16,0);o.enableVertexAttribArray(this.c.a);o.vertexAttribPointer(this.c.a,2,5126,!1,16,8);o.uniform1i(this.c.g,0);i={};i[c]={};for(var tt=this.Qd(h,w,i),b=ft.c(),l=!0,p=ve(),ut=new gv(0,0,0,0),r,d,k=f.ca;k<=f.ea;++k)for(d=f.fa;d<=f.ga;++d)if(e=h.ac(c,k,d,g,w),void 0===t.extent||(r=s.Ea(e.ma,p),oo(r,t.extent))){if(r=e.V(),r=2==r||4==r||3==r&&!b,!r&&e.a&&(e=e.a),r=e.V(),2==r){if(ic(it.a,e.ib())){i[c][e.ma.toString()]=e;continue}}else if(4==r||3==r&&!b)continue;l=!1;r=hrt(s,e.ma,tt,ut,p);r||(e=crt(s,e.ma,ut,p))&&tt(c+1,e)}t=Object.keys(i).map(Number);t.sort(yv);for(var tt=new Float32Array(4),ht,et,ct,b=0,ut=t.length;b<ut;++b)for(ht in et=i[t[b]],et)e=et[ht],r=s.Ea(e.ma,p),k=2*(r[2]-r[0])/v,d=2*(r[3]-r[1])/v,ct=2*(r[0]-u[0])/v-1,r=2*(r[1]-u[1])/v-1,ori(tt,k,d,ct,r),o.uniform4fv(this.c.f,tt),fbt(it,e,y,st*g),o.drawArrays(5,0,4);l?(this.o=f,this.A=u,this.j=h.g):(this.A=this.o=null,this.j=-1,n.animate=!0)}return wut(n.usedTiles,h,c,f),ot=it.o,kut(n,h,s,g,w,rt,c,ft.f(),function(n){var t;(t=2!=n.V()||ic(it.a,n.ib()))||(t=n.ib()in ot.g);t||ot.f([n,lrt(s,n.ma),s.$(n.ma[0]),y,st*g])},this),put(n,h),ta(n,h),o=this.s,ya(o),wc(o,(nt[0]-u[0])/(u[2]-u[0]),(nt[1]-u[1])/(u[3]-u[1])),0!==a.rotation&&rg(o,a.rotation),na(o,n.size[0]*a.resolution/(u[2]-u[0]),n.size[1]*a.resolution/(u[3]-u[1])),wc(o,-.5,-.5),!0};n.Cc=function(n,t,i,r){if(this.i){var u=[0,0];if(ko(this.s,[n[0]/t.size[0],(t.size[1]-n[1])/t.size[1]],u),n=[u[0]*this.l,u[1]*this.l],t=this.f.c.b,t.bindFramebuffer(t.FRAMEBUFFER,this.i),u=new Uint8Array(4),t.readPixels(n[0],n[1],1,1,t.RGBA,t.UNSIGNED_BYTE,u),0<u[3])return i.call(r,this.a)}};r(ts,gf);n=ts.prototype;n.vh=function(n,t,i){this.o=t;var r=n.viewState,u=this.c;u&&!u.Ya()&&u.Pa(i,r.center,r.resolution,r.rotation,n.size,n.pixelRatio,t.opacity,t.Qc?n.skippedFeatureUids:{})};n.ka=function(){var n=this.c;n&&(nbt(n,this.f.c)(),this.c=null);gf.prototype.ka.call(this)};n.ra=function(n,t,i,r){if(this.c&&this.o){var u=t.viewState,e=this.a,f={};return this.c.ra(n,this.f.c,u.center,u.resolution,u.rotation,t.size,t.pixelRatio,this.o.opacity,{},function(n){var t=nt(n).toString();if(!(t in f))return f[t]=!0,i.call(r,n,e)})}};n.le=function(n,t){if(this.c&&this.o){var i=t.viewState;return hei(this.c,n,this.f.c,i.resolution,i.rotation,t.pixelRatio,this.o.opacity,t.skippedFeatureUids)}return!1};n.Cc=function(n,t,i,r){return n=n.slice(),ko(t.pixelToCoordinateMatrix,n,n),this.le(n,t)?i.call(r,this.a):void 0};n.wh=function(){nk(this)};n.Af=function(n,t,i){function a(n){var i,t=n.ec(),r,e;if(t?i=t.call(n,u):(t=f.i)&&(i=t(n,u)),i){if(i){if(t=!1,Array.isArray(i))for(r=0,e=i.length;r<e;++r)t=ua(s,n,i[r],uv(u,l),this.wh,this)||t;else t=ua(s,n,i,uv(u,l),this.wh,this)||t;n=t}else n=!1;this.j=this.j||n}}var f=this.a,s,h;t=f.ha();nw(n.attributions,t.l);ta(n,t);var c=n.viewHints[0],r=n.viewHints[1],o=f.S,e=f.T;if(!this.j&&!o&&c||!e&&r)return!0;var r=n.extent,o=n.viewState,c=o.projection,u=o.resolution,l=n.pixelRatio,o=f.g,v=f.a,e=gg(f);return(void 0===e&&(e=wft),r=lc(r,v*u),!this.j&&this.D==u&&this.R==o&&this.C==e&&us(this.A,r))?!0:(this.c&&n.postRenderFunctions.push(nbt(this.c,i)),this.j=!1,s=new cy(.5*u/l,r,f.a),t.Pc(r,u,c),e?(h=[],t.ub(r,function(n){h.push(n)},this),h.sort(e),h.forEach(a,this)):t.ub(r,a,this),sei(s,i),this.D=u,this.R=o,this.C=e,this.A=r,this.c=s,!0)};r(aet,nl);n=aet.prototype;n.Xe=function(n){return n instanceof kt?new io(this,n):n instanceof rt?new ns(this,n):n instanceof p?new ts(this,n):null};n.ka=function(){var n=this.f;n.isContextLost()||this.a.forEach(function(t){t&&n.deleteTexture(t.pb)});kh(this.c);nl.prototype.ka.call(this)};n.Gj=function(n,t){for(var r=this.f,i;1024<this.a.wc()-this.l;){if(i=this.a.b.pc)r.deleteTexture(i.pb);else if(+this.a.b.cc==t.index)break;else--this.l;this.a.pop()}};n.X=function(){return"webgl"};n.Pm=function(n){n.preventDefault();this.a.clear();this.l=0;n=this.g;for(var t in n)n[t].zf()};n.Qm=function(){obt(this);this.i.render()};n.Ce=function(n){var h=this.c,u=this.f,e,r,f,i,o,s,t;if(u.isContextLost())return!1;if(!n)return this.j&&(this.b.style.display="none",this.j=!1),!1;for(this.v=n.focus,this.a.set((-n.index).toString(),null),++this.l,ebt(this,"precompose",n),e=[],r=n.layerStatesArray,ctt(r),f=n.viewState.resolution,i=0,o=r.length;i<o;++i)t=r[i],ka(t,f)&&"ready"==t.R&&(s=ia(this,t.layer),s.Af(n,t,h)&&e.push(t));for(r=n.size[0]*n.pixelRatio,f=n.size[1]*n.pixelRatio,(this.b.width!=r||this.b.height!=f)&&(this.b.width=r,this.b.height=f),u.bindFramebuffer(36160,null),u.clearColor(0,0,0,0),u.clear(16384),u.enable(3042),u.viewport(0,0,this.b.width,this.b.height),i=0,o=e.length;i<o;++i)t=e[i],s=ia(this,t.layer),s.vh(n,t,h);this.j||(this.b.style.display="",this.j=!0);dut(n);1024<this.a.wc()-this.l&&n.postRenderFunctions.push(this.Gj.bind(this));this.o.Ya()||(n.postRenderFunctions.push(this.D),n.animate=!0);ebt(this,"postcompose",n);nft(this,n);n.postRenderFunctions.push(gut)};n.ra=function(n,t,i,r,u,f){var e,c,s,o,h;if(this.f.isContextLost())return!1;for(c=t.viewState,s=t.layerStatesArray,o=s.length-1;0<=o;--o)if(e=s[o],h=e.layer,ka(e,c.resolution)&&u.call(f,h)&&(e=ia(this,h).ra(n,t,i,r)))return e};n.sh=function(n,t,i,r){var s=!1,h,f,u,e,o;if(this.f.isContextLost())return!1;for(h=t.viewState,f=t.layerStatesArray,u=f.length-1;0<=u;--u)if(e=f[u],o=e.layer,ka(e,h.resolution)&&i.call(r,o)&&(s=ia(this,o).le(n,t)))return!0;return s};n.rh=function(n,t,i,r,u){var h,f,o,e,s;if(this.f.isContextLost())return!1;for(h=t.viewState,o=t.layerStatesArray,e=o.length-1;0<=e;--e)if(f=o[e],s=f.layer,ka(f,h.resolution)&&u.call(r,s)&&(f=ia(this,s).Cc(n,t,i,r)))return f};sbt=["canvas","webgl","dom"];r(h,si);n=h.prototype;n.uj=function(n){this.o.push(n)};n.vj=function(n){this.l.push(n)};n.kg=function(n){this.xc().Tc().push(n)};n.lg=function(n){this.j.push(n)};n.mg=function(n){var t=n.Xa();void 0!==t&&(this.Cf[t.toString()]=n);n.setMap(this)};n.Wa=function(){this.render();Array.prototype.push.apply(this.R,arguments)};n.ka=function(){kh(this.za);kh(this.C);bh(this.a,"wheel",this.Oc,this);bh(this.a,"mousewheel",this.Oc,this);void 0!==this.c&&(tr.removeEventListener("resize",this.c,!1),this.c=void 0);this.i&&(tr.cancelAnimationFrame(this.i),this.i=void 0);this.fh(null);si.prototype.ka.call(this)};n.kd=function(n,t,i,r,u){if(this.f)return n=this.Ma(n),this.C.ra(n,this.f,t,void 0!==i?i:null,void 0!==r?r:lo,void 0!==u?u:null)};n.Tl=function(n,t,i,r,u){if(this.f)return this.C.rh(n,this.f,t,void 0!==i?i:null,void 0!==r?r:lo,void 0!==u?u:null)};n.kl=function(n,t,i){return this.f?(n=this.Ma(n),this.C.sh(n,this.f,void 0!==t?t:lo,void 0!==i?i:null)):!1};n.Wj=function(n){return this.Ma(this.Td(n))};n.Td=function(n){var t=this.a.getBoundingClientRect();return n=n.changedTouches?n.changedTouches[0]:n,[n.clientX-t.left,n.clientY-t.top]};n.tf=function(){return this.get("target")};n.yc=function(){var n=this.tf();return void 0!==n?"string"==typeof n?document.getElementById(n):n:null};n.Ma=function(n){var t=this.f;return t?(n=n.slice(),ko(t.pixelToCoordinateMatrix,n,n)):null};n.Uj=function(){return this.o};n.nk=function(){return this.j};n.mk=function(n){return n=this.Cf[n.toString()],void 0!==n?n:null};n.ak=function(){return this.l};n.xc=function(){return this.get("layergroup")};n.eh=function(){return this.xc().Tc()};n.Ga=function(n){var t=this.f;return t?(n=n.slice(0,2),ko(t.coordinateToPixelMatrix,n,n)):null};n.Za=function(){return this.get("size")};n.aa=function(){return this.get("view")};n.Dk=function(){return this.a};n.Bk=function(n,t,i,r){var u=this.f;return(u&&t in u.wantedTiles&&u.wantedTiles[t][n.ma.toString()])?(n=i[0]-u.focus[0],i=i[1]-u.focus[1],65536*Math.log(r)+Math.sqrt(n*n+i*i)/r):Infinity};n.Oc=function(n,t){var i=new kf(t||n.type,this,n);this.Pg(i)};n.Pg=function(n){var i,t,r;if(this.f&&(this.T=n.coordinate,n.frameState=this.f,i=this.l.a,!1!==this.b(n)))for(t=i.length-1;0<=t;t--)if(r=i[t],r.f()&&!r.handleEvent(n))break};n.cl=function(){var r=this.f,t=this.qa,n,i,u;for(t.Ya()||(n=16,i=n,r&&(u=r.viewHints,u[0]&&(n=this.Hb?8:0,i=2),u[1]&&(n=this.Hc?8:0,i=2)),t.i<n&&(vvt(t),yvt(t,n,i))),t=this.ta,n=0,i=t.length;n<i;++n)t[n](this,r);t.length=0};n.el=function(){this.render()};n.gl=function(){var n,t,i;if(this.tf()&&(n=this.yc()),this.s){for(t=0,i=this.s.length;t<i;++t)cu(this.s[t]);this.s=null}n?(n.appendChild(this.a),n=this.ia?this.ia:n,this.s=[e(n,"keydown",this.Oc,this),e(n,"keypress",this.Oc,this)],this.c||(this.c=this.Xc.bind(this),tr.addEventListener("resize",this.c,!1))):(kc(this.a),void 0!==this.c&&(tr.removeEventListener("resize",this.c,!1),this.c=void 0));this.Xc()};n.hl=function(){this.render()};n.jl=function(){this.render()};n.il=function(){this.S&&(cu(this.S),this.S=null);var n=this.aa();n&&(this.S=e(n,"propertychange",this.jl,this));this.render()};n.Pk=function(){this.render()};n.Qk=function(){this.render()};n.Ok=function(){this.D&&(this.D.forEach(cu),this.D=null);var n=this.xc();n&&(this.D=[e(n,"propertychange",this.Qk,this),e(n,"change",this.Pk,this)]);this.render()};n.Vo=function(){this.i&&tr.cancelAnimationFrame(this.i);this.Y()};n.render=function(){void 0===this.i&&(this.i=tr.requestAnimationFrame(this.Y))};n.Oo=function(n){return this.o.remove(n)};n.Po=function(n){return this.l.remove(n)};n.Ro=function(n){return this.xc().Tc().remove(n)};n.So=function(n){return this.j.remove(n)};n.Uo=function(n){var i,e,f,r=this.Za(),u=this.aa(),s=ve(),t=null;if(void 0!==r&&0<r[0]&&0<r[1]&&u&&vlt(u)){var t=alt(u,this.f?this.f.viewHints:void 0),o=this.xc().hf(),h={};for(i=0,e=o.length;i<e;++i)h[nt(o[i].layer)]=o[i];f=u.V();t={animate:!1,attributions:{},coordinateToPixelMatrix:this.Sa,extent:s,focus:this.T?this.T:f.center,index:this.qb++,layerStates:h,layerStatesArray:o,logos:sr({},this.Ne),pixelRatio:this.Oe,pixelToCoordinateMatrix:this.Pe,postRenderFunctions:[],size:r,skippedFeatureUids:this.Ee,tileQueue:this.qa,time:n,usedTiles:{},viewState:f,viewHints:t,wantedTiles:{}}}if(t){for(n=this.R,i=r=0,e=n.length;i<e;++i)u=n[i],u(this,t)&&(n[r++]=u);n.length=r;t.extent=rp(f.center,f.resolution,f.rotation,t.size,s)}this.f=t;this.C.Ce(t);t&&(t.animate&&this.render(),Array.prototype.push.apply(this.ta,t.postRenderFunctions),0!==this.R.length||t.viewHints[0]||t.viewHints[1]||eb(t.extent,this.Aa)||(this.b(new so("moveend",this,t)),vtt(t.extent,this.Aa)));this.b(new so("postrender",this,t));prt(this.cl,this)};n.ji=function(n){this.set("layergroup",n)};n.Wf=function(n){this.set("size",n)};n.fh=function(n){this.set("target",n)};n.kp=function(n){this.set("view",n)};n.ti=function(n){n=nt(n).toString();this.Ee[n]=!0;this.render()};n.Xc=function(){var t=this.yc(),n;t?(n=tr.getComputedStyle(t),this.Wf([t.offsetWidth-parseFloat(n.borderLeftWidth)-parseFloat(n.paddingLeft)-parseFloat(n.paddingRight)-parseFloat(n.borderRightWidth),t.offsetHeight-parseFloat(n.borderTopWidth)-parseFloat(n.paddingTop)-parseFloat(n.paddingBottom)-parseFloat(n.borderBottomWidth)])):this.Wf(void 0)};n.wi=function(n){n=nt(n).toString();delete this.Ee[n];this.render()};hyt();r(wi,si);n=wi.prototype;n.Sd=function(){return this.get("element")};n.Xa=function(){return this.j};n.he=function(){return this.get("map")};n.Kg=function(){return this.get("offset")};n.gh=function(){return this.get("position")};n.Lg=function(){return this.get("positioning")};n.Jk=function(){sg(this.f);var n=this.Sd();n&&this.f.appendChild(n)};n.Vk=function(){this.c&&(kc(this.f),cu(this.c),this.c=null);var n=this.he();n&&(this.c=e(n,"postrender",this.render,this),bk(this),n=this.s?n.v:n.A,this.o?n.insertBefore(this.f,n.childNodes[0]||null):n.appendChild(this.f))};n.render=function(){bk(this)};n.Zk=function(){bk(this)};n.al=function(){var i;if(bk(this),void 0!==this.get("position")&&this.autoPan&&(i=this.he(),void 0!==i&&i.yc())){var n=hbt(i.yc(),i.Za()),t=this.Sd(),r=t.offsetWidth,u=t.currentStyle||tr.getComputedStyle(t),r=r+(parseInt(u.marginLeft,10)+parseInt(u.marginRight,10)),u=t.offsetHeight,e=t.currentStyle||tr.getComputedStyle(t),u=u+(parseInt(e.marginTop,10)+parseInt(e.marginBottom,10)),f=hbt(t,[r,u]),t=this.l;us(n,f)||(r=f[0]-n[0],u=n[2]-f[2],e=f[1]-n[1],f=n[3]-f[3],n=[0,0],0>r?n[0]=r-t:0>u&&(n[0]=Math.abs(u)+t),0>e?n[1]=e-t:0>f&&(n[1]=Math.abs(f)+t),0===n[0]&&0===n[1])||(t=i.aa().ab(),r=i.Ga(t),n=[r[0]+n[0],r[1]+n[1]],this.i&&(this.i.source=t,i.Wa(dv(this.i))),i.aa().mb(i.Ma(n)))}};n.bl=function(){bk(this)};n.fi=function(n){this.set("element",n)};n.setMap=function(n){this.set("map",n)};n.li=function(n){this.set("offset",n)};n.uf=function(n){this.set("position",n)};n.oi=function(n){this.set("positioning",n)};r(fr,dt);n=fr.prototype;n.setMap=function(n){var t=this.a;n!==t&&(t&&(t=t.aa())&&bh(t,cf("rotation"),this.de,this),dt.prototype.setMap.call(this,n),n&&(this.s.push(e(n,"propertychange",this.Wk,this)),0===this.f.eh().dc()&&this.f.ji(n.xc()),n=n.aa()))&&(e(n,cf("rotation"),this.de,this),vlt(n)&&(this.f.Xc(),vet(this)))};n.Wk=function(n){"view"===n.key&&((n=n.oldValue)&&bh(n,cf("rotation"),this.de,this),n=this.a.aa(),e(n,cf("rotation"),this.de,this))};n.de=function(){this.f.aa().ie(this.a.aa().La())};n.gm=function(n){n.preventDefault();yet(this)};n.fm=function(){return this.o};n.im=function(n){this.o!==n&&(this.o=n,this.element.classList.toggle("ol-uncollapsible"),!n&&this.l&&yet(this))};n.hm=function(n){this.o&&this.l!==n&&yet(this)};n.em=function(){return this.l};n.pk=function(){return this.f};r(pr,dt);vbt=[1,2,5];pr.prototype.wb=function(){return this.get("units")};pr.prototype.R=function(){pbt(this)};pr.prototype.D=function(n){this.set("units",n)};r(wu,dt);wu.prototype.ka=function(){kh(this.o);dt.prototype.ka.call(this)};pet=0;n=wu.prototype;n.setMap=function(n){dt.prototype.setMap.call(this,n);n&&n.render()};n.Hk=function(n){var i=this.a,t=i.aa(),r=t.$();i.Wa(ap({resolution:r,duration:this.Y,easing:bc}));n=kbt(this,uo(1===this.l?(n.offsetX-this.T[0]/2)/this.C:(n.offsetY-this.T[1]/2)/this.j,0,1));t.Ub(t.constrainResolution(n))};n.Ik=function(n){if(!this.A&&n.b.target===this.element.firstElementChild&&(tc(this.a.aa(),1),this.D=n.clientX,this.R=n.clientY,this.A=!0,0===this.v.length)){n=this.Ng;var t=this.Og;this.v.push(e(document,"mousemove",n,this),e(document,"touchmove",n,this),e(document,dp,n,this),e(document,"mouseup",t,this),e(document,"touchend",t,this),e(document,pb,t,this))}};n.Ng=function(n){if(this.A){var t=this.element.firstElementChild;this.f=kbt(this,uo(1===this.l?(n.clientX-this.D+parseInt(t.style.left,10))/this.C:(n.clientY-this.R+parseInt(t.style.top,10))/this.j,0,1));this.a.aa().Ub(this.f);bbt(this,this.f);this.D=n.clientX;this.R=n.clientY}};n.Og=function(){if(this.A){var n=this.a,t=n.aa();tc(t,-1);n.Wa(ap({resolution:this.f,duration:this.Y,easing:bc}));n=t.constrainResolution(this.f);t.Ub(n);this.A=!1;this.R=this.D=void 0;this.v.forEach(cu);this.v.length=0}};r(tf,dt);tf.prototype.l=function(n){var i,t;n.preventDefault();t=this.a;n=t.aa();i=this.f?this.f:n.l.H();t=t.Za();n.cf(i,t)};r(wr,si);n=wr.prototype;n.ka=function(){this.rf(!1);si.prototype.ka.call(this)};n.co=function(n){if(null!==n.alpha){var t=as(n.alpha);this.set("alpha",t);"boolean"==typeof n.absolute&&n.absolute?this.set("heading",t):av(n.webkitCompassHeading)&&-1!=n.webkitCompassAccuracy&&this.set("heading",as(n.webkitCompassHeading))}null!==n.beta&&this.set("beta",as(n.beta));null!==n.gamma&&this.set("gamma",as(n.gamma));this.u()};n.Oj=function(){return this.get("alpha")};n.Rj=function(){return this.get("beta")};n.Yj=function(){return this.get("gamma")};n.Hl=function(){return this.get("heading")};n.$g=function(){return this.get("tracking")};n.Il=function(){if(gat){var n=this.$g();n&&!this.a?this.a=e(tr,"deviceorientation",this.co,this):n||null===this.a||(cu(this.a),this.a=null)}};n.rf=function(n){this.set("tracking",n)};r(dk,kk);n=dk.prototype;n.X=function(){return"json"};n.Rb=function(n,t){return this.Uc(cn(n),yh(this,n,t))};n.Fa=function(n,t){return this.Jf(cn(n),yh(this,n,t))};n.Vc=function(n,t){return this.Rh(cn(n),yh(this,n,t))};n.Oa=function(n){return this.Yh(cn(n))};n.Dd=function(n,t){return JSON.stringify(this.Yc(n,t))};n.Xb=function(n,t){return JSON.stringify(this.Ie(n,t))};n.Zc=function(n,t){return JSON.stringify(this.Ke(n,t))};r(a,lt);n=a.prototype;n.wj=function(n){this.B?bf(this.B,n):this.B=n.slice();this.u()};n.clone=function(){var n=new a(null);return n.ba(this.f,this.B.slice()),n};n.sb=function(n,t,i,r){return r<wv(this.H(),n,t)?r:(this.C!=this.g&&(this.D=Math.sqrt(fit(this.B,0,this.B.length,this.a,0)),this.C=this.g),oit(this.B,0,this.B.length,this.a,this.D,!1,n,t,i,r))};n.Lj=function(n,t){return ult(this.B,0,this.B.length,this.a,n,t)};n.lm=function(n,t){return"XYM"!=this.f&&"XYZM"!=this.f?null:wet(this.B,0,this.B.length,this.a,n,void 0!==t?t:!1)};n.Z=function(){return hb(this.B,0,this.B.length,this.a)};n.Bg=function(n,t){return dbt(this.B,0,this.B.length,this.a,n,t)};n.mm=function(){for(var t=this.B,o=this.a,i=t[0],r=t[1],u=0,n=0+o;n<this.B.length;n+=o)var f=t[n],e=t[n+1],u=u+Math.sqrt((f-i)*(f-i)+(e-r)*(e-r)),i=f,r=e;return u};n.Nc=function(n){var t=[];return t.length=lit(this.B,0,this.B.length,this.a,n,t,0),n=new a(null),n.ba("XY",t),n};n.X=function(){return"LineString"};n.Ka=function(n){return vit(this.B,0,this.B.length,this.a,n)};n.pa=function(n,t){n?(pa(this,t,n,1),this.B||(this.B=[]),this.B.length=ug(this.B,0,n,this.a),this.u()):this.ba("XY",null)};n.ba=function(n,t){ll(this,n,t);this.u()};r(d,lt);n=d.prototype;n.xj=function(n){this.B?bf(this.B,n.la().slice()):this.B=n.la().slice();this.i.push(this.B.length);this.u()};n.clone=function(){var n=new d(null);return n.ba(this.f,this.B.slice(),this.i.slice()),n};n.sb=function(n,t,i,r){return r<wv(this.H(),n,t)?r:(this.j!=this.g&&(this.C=Math.sqrt(eit(this.B,0,this.i,this.a,0)),this.j=this.g),sit(this.B,0,this.i,this.a,this.C,!1,n,t,i,r))};n.om=function(n,t,i){return"XYM"!=this.f&&"XYZM"!=this.f||0===this.B.length?null:wei(this.B,this.i,this.a,n,void 0!==t?t:!1,void 0!==i?i:!1)};n.Z=function(){return cit(this.B,0,this.i,this.a)};n.Db=function(){return this.i};n.fk=function(n){if(0>n||this.i.length<=n)return null;var t=new a(null);return t.ba(this.f,this.B.slice(0===n?0:this.i[n-1],this.i[n])),t};n.md=function(){for(var o=this.B,r=this.i,s=this.f,u=[],f=0,t,i,n=0,e=r.length;n<e;++n)t=r[n],i=new a(null),i.ba(s,o.slice(f,t)),u.push(i),f=t;return u};n.Nc=function(n){for(var r=[],f=[],h=this.B,e=this.i,c=this.a,o=0,t=0,u,i=0,s=e.length;i<s;++i)u=e[i],t=lit(h,o,u,c,n,r,t),f.push(t),o=u;return r.length=t,n=new d(null),n.ba("XY",r,f),n};n.X=function(){return"MultiLineString"};n.Ka=function(n){n:{for(var f=this.B,i=this.i,e=this.a,r=0,t=0,u=i.length;t<u;++t){if(vit(f,r,i[t],e,n)){n=!0;break n}r=i[t]}n=!1}return n};n.pa=function(n,t){if(n){pa(this,t,n,2);this.B||(this.B=[]);var i=hit(this.B,0,n,this.a,this.i);this.B.length=0===i.length?0:i[i.length-1];this.u()}else this.ba("XY",null,this.i)};n.ba=function(n,t,i){ll(this,n,t);this.i=i;this.u()};r(ut,lt);n=ut.prototype;n.zj=function(n){this.B?bf(this.B,n.la()):this.B=n.la().slice();this.u()};n.clone=function(){var n=new ut(null);return n.ba(this.f,this.B.slice()),n};n.sb=function(n,t,i,r){if(r<wv(this.H(),n,t))return r;for(var e=this.B,o=this.a,u,f=0,s=e.length;f<s;f+=o)if(u=vv(n,t,e[f],e[f+1]),u<r){for(r=u,u=0;u<o;++u)i[u]=e[f+u];i.length=o}return r};n.Z=function(){return hb(this.B,0,this.B.length,this.a)};n.rk=function(n){var t=this.B?this.B.length/this.a:0;return 0>n||t<=n?null:(t=new tt(null),t.ba(this.f,this.B.slice(n*this.a,(n+1)*this.a)),t)};n.je=function(){for(var i=this.B,e=this.f,r=this.a,u=[],t,n=0,f=i.length;n<f;n+=r)t=new tt(null),t.ba(e,i.slice(n,n+r)),u.push(t);return u};n.X=function(){return"MultiPoint"};n.Ka=function(n){for(var i=this.B,e=this.a,u,f,t=0,r=i.length;t<r;t+=e)if(u=i[t],f=i[t+1],kd(n,u,f))return!0;return!1};n.pa=function(n,t){n?(pa(this,t,n,1),this.B||(this.B=[]),this.B.length=ug(this.B,0,n,this.a),this.u()):this.ba("XY",null)};n.ba=function(n,t){ll(this,n,t);this.u()};r(it,lt);n=it.prototype;n.Aj=function(n){var i,t,r;if(this.B)for(i=this.B.length,bf(this.B,n.la()),n=n.Db().slice(),t=0,r=n.length;t<r;++t)n[t]+=i;else this.B=n.la().slice(),n=n.Db().slice(),this.i.push();this.i.push(n);this.u()};n.clone=function(){for(var t=new it(null),i=this.i.length,r=Array(i),n=0;n<i;++n)r[n]=this.i[n].slice();return an(t,this.f,this.B.slice(),r),t};n.sb=function(n,t,i,r){var f,c,a,l;if(r<wv(this.H(),n,t))return r;if(this.R!=this.g){for(var h=this.i,e=0,o=0,u=0,s=h.length;u<s;++u)var f=h[u],o=eit(this.B,e,f,this.a,o),e=f[f.length-1];this.S=Math.sqrt(o);this.R=this.g}for(h=fv(this),e=this.i,o=this.a,u=this.S,s=0,f=[NaN,NaN],c=0,a=e.length;c<a;++c)l=e[c],r=sit(h,s,l,o,u,!0,n,t,i,r,f),s=l[l.length-1];return r};n.Bc=function(n,t){var i,r,e,u,o,f;n:{if(i=fv(this),r=this.i,e=0,0!==r.length)for(u=0,o=r.length;u<o;++u){if(f=r[u],ait(i,e,f,this.a,n,t)){i=!0;break n}e=f[f.length-1]}i=!1}return i};n.pm=function(){for(var e=fv(this),r=this.i,u=0,t=0,n=0,f=r.length;n<f;++n)var i=r[n],t=t+gct(e,u,i,this.a),u=i[i.length-1];return t};n.Z=function(n){var t,u;void 0!==n?(t=fv(this).slice(),olt(t,this.i,this.a,n)):t=this.B;n=t;t=this.i;for(var s=this.a,e=0,i=[],f=0,r=0,o=t.length;r<o;++r)u=t[r],i[f++]=cit(n,e,u,s,i[f]),e=u[u.length-1];return i.length=f,i};n.ck=function(){var n=new ut(null);return n.ba("XY",bet(this).slice()),n};n.Nc=function(n){var u=[],o=[],t=this.B,s=this.i,l=this.a,f,i,r,h;for(n=Math.sqrt(n),f=0,i=0,r=0,h=s.length;r<h;++r){var e=s[r],c=[],i=ilt(t,f,e,l,n,u,i,c);o.push(c);f=e[e.length-1]}return u.length=i,t=new it(null),an(t,"XY",u,o),t};n.tk=function(n){var t,r,i,u;if(0>n||this.i.length<=n)return null;if(0===n?t=0:(t=this.i[n-1],t=t[t.length-1]),n=this.i[n].slice(),r=n[n.length-1],0!==t)for(i=0,u=n.length;i<u;++i)n[i]-=t;return i=new l(null),i.ba(this.f,this.B.slice(t,r),n),i};n.Wd=function(){for(var h=this.f,c=this.B,f=this.i,e=[],i=0,n,s,t,u,r=0,o=f.length;r<o;++r){if(t=f[r].slice(),u=t[t.length-1],0!==i)for(n=0,s=t.length;n<s;++n)t[n]-=i;n=new l(null);n.ba(h,c.slice(i,u),t);e.push(n);i=u}return e};n.X=function(){return"MultiPolygon"};n.Ka=function(n){var i;n:{for(var e=fv(this),r=this.i,o=this.a,u=0,t=0,f=r.length;t<f;++t){if(i=r[t],flt(e,u,i,o,n)){n=!0;break n}u=i[i.length-1]}n=!1}return n};n.pa=function(n,t){if(n){pa(this,t,n,3);this.B||(this.B=[]);for(var u=this.B,s=this.a,i=this.i,r=0,i=i?i:[],e=0,f=0,o=n.length;f<o;++f)r=hit(u,r,n[f],s,i[e]),i[e++]=r,r=r[r.length-1];i.length=e;0===i.length?this.B.length=0:(u=i[i.length-1],this.B.length=0===u.length?0:u[u.length-1]);this.u()}else an(this,"XY",null,this.i)};r(oe,dk);ikt={Point:function(n){return void 0!==n.m&&void 0!==n.z?new tt([n.x,n.y,n.z,n.m],"XYZM"):void 0!==n.z?new tt([n.x,n.y,n.z],"XYZ"):void 0!==n.m?new tt([n.x,n.y,n.m],"XYM"):new tt([n.x,n.y])},LineString:function(n){return new a(n.paths[0],vw(n))},Polygon:function(n){return new l(n.rings,vw(n))},MultiPoint:function(n){return new ut(n.points,vw(n))},MultiLineString:function(n){return new d(n.paths,vw(n))},MultiPolygon:function(n){return new it(n.rings,vw(n))}};rkt={Point:function(n){var t=n.Z();return(n=n.f,"XYZ"===n)?{x:t[0],y:t[1],z:t[2]}:"XYM"===n?{x:t[0],y:t[1],m:t[2]}:"XYZM"===n?{x:t[0],y:t[1],z:t[2],m:t[3]}:"XY"===n?{x:t[0],y:t[1]}:void 0},LineString:function(n){var t=gk(n);return{hasZ:t.hasZ,hasM:t.hasM,paths:[n.Z()]}},Polygon:function(n){var t=gk(n);return{hasZ:t.hasZ,hasM:t.hasM,rings:n.Z(!1)}},MultiPoint:function(n){var t=gk(n);return{hasZ:t.hasZ,hasM:t.hasM,points:n.Z()}},MultiLineString:function(n){var t=gk(n);return{hasZ:t.hasZ,hasM:t.hasM,paths:n.Z()}},MultiPolygon:function(n){var u=gk(n),r,t,i;for(n=n.Z(!1),r=[],t=0;t<n.length;t++)for(i=n[t].length-1;0<=i;i--)r.push(n[t][i]);return{hasZ:u.hasZ,hasM:u.hasM,rings:r}}};n=oe.prototype;n.Uc=function(n,t){var r=tkt(n.geometry,t),i=new ft;return this.b&&i.Ec(this.b),i.Ua(r),t&&t.mf&&n.attributes[t.mf]&&i.mc(n.attributes[t.mf]),n.attributes&&i.G(n.attributes),i};n.Jf=function(n,t){var r=t?t:{},u,f,i,e;if(n.features){for(u=[],f=n.features,r.mf=n.objectIdFieldName,i=0,e=f.length;i<e;++i)u.push(this.Uc(f[i],r));return u}return[this.Uc(n,r)]};n.Rh=function(n,t){return tkt(n,t)};n.Yh=function(n){return n.spatialReference&&n.spatialReference.wkid?yi("EPSG:"+n.spatialReference.wkid):null};n.Ke=function(n,t){return ukt(n,ro(this,t))};n.Yc=function(n,t){t=ro(this,t);var r={},i=n.W();return i&&(r.geometry=ukt(i,t)),i=n.O(),delete i[n.a],r.attributes=co(i)?{}:i,t&&t.featureProjection&&(r.spatialReference={wkid:yi(t.featureProjection).cb.split(":").pop()}),r};n.Ie=function(n,t){t=ro(this,t);for(var r=[],i=0,u=n.length;i<u;++i)r.push(this.Yc(n[i],t));return{features:r}};r(ni,nr);n=ni.prototype;n.clone=function(){var n=new ni(null);return n.hi(this.c),n};n.sb=function(n,t,i,r){if(r<wv(this.H(),n,t))return r;for(var f=this.c,u=0,e=f.length;u<e;++u)r=f[u].sb(n,t,i,r);return r};n.Bc=function(n,t){for(var r=this.c,i=0,u=r.length;i<u;++i)if(r[i].Bc(n,t))return!0;return!1};n.Od=function(n){ac(Infinity,Infinity,-Infinity,-Infinity,n);for(var i=this.c,t=0,r=i.length;t<r;++t)btt(n,i[t].H());return n};n.ff=function(){return fkt(this.c)};n.od=function(n){var t,r,u;if(this.s!=this.g&&(ol(this.l),this.o=0,this.s=this.g),0>n||0!==this.o&&n<this.o)return this;if(t=n.toString(),this.l.hasOwnProperty(t))return this.l[t];for(var f=[],e=this.c,o=!1,i=0,s=e.length;i<s;++i)r=e[i],u=r.od(n),f.push(u),u!==r&&(o=!0);return o?(n=new ni(null),det(n),n.c=f,get(n),n.u(),this.l[t]=n):(this.o=n,this)};n.X=function(){return"GeometryCollection"};n.Ka=function(n){for(var i=this.c,t=0,r=i.length;t<r;++t)if(i[t].Ka(n))return!0;return!1};n.Ya=function(){return 0===this.c.length};n.rotate=function(n,t){for(var r=this.c,i=0,u=r.length;i<u;++i)r[i].rotate(n,t);this.u()};n.hi=function(n){n=fkt(n);det(this);this.c=n;get(this);this.u()};n.rc=function(n){for(var i=this.c,t=0,r=i.length;t<r;++t)i[t].rc(n);this.u()};n.Sc=function(n,t){for(var r=this.c,i=0,u=r.length;i<u;++i)r[i].Sc(n,t);this.u()};n.ka=function(){det(this);nr.prototype.ka.call(this)};r(se,dk);ekt={Point:function(n){return new tt(n.coordinates)},LineString:function(n){return new a(n.coordinates)},Polygon:function(n){return new l(n.coordinates)},MultiPoint:function(n){return new ut(n.coordinates)},MultiLineString:function(n){return new d(n.coordinates)},MultiPolygon:function(n){return new it(n.coordinates)},GeometryCollection:function(n,t){var i=n.geometries.map(function(n){return not(n,t)});return new ni(i)}};okt={Point:function(n){return{type:"Point",coordinates:n.Z()}},LineString:function(n){return{type:"LineString",coordinates:n.Z()}},Polygon:function(n,t){var i;return t&&(i=t.rightHanded),{type:"Polygon",coordinates:n.Z(i)}},MultiPoint:function(n){return{type:"MultiPoint",coordinates:n.Z()}},MultiLineString:function(n){return{type:"MultiLineString",coordinates:n.Z()}},MultiPolygon:function(n,t){var i;return t&&(i=t.rightHanded),{type:"MultiPolygon",coordinates:n.Z(i)}},GeometryCollection:function(n,t){return{type:"GeometryCollection",geometries:n.c.map(function(n){var i=sr({},t);return delete i.featureProjection,tot(n,i)})}},Circle:function(){return{type:"GeometryCollection",geometries:[]}}};n=se.prototype;n.Uc=function(n,t){var r=not(n.geometry,t),i=new ft;return this.b&&i.Ec(this.b),i.Ua(r),void 0!==n.id&&i.mc(n.id),n.properties&&i.G(n.properties),i};n.Jf=function(n,t){if("Feature"==n.type)return[this.Uc(n,t)];if("FeatureCollection"==n.type){for(var r=[],u=n.features,i=0,f=u.length;i<f;++i)r.push(this.Uc(u[i],t));return r}return[]};n.Rh=function(n,t){return not(n,t)};n.Yh=function(n){return(n=n.crs)?"name"==n.type?yi(n.properties.name):"EPSG"==n.type?yi("EPSG:"+n.properties.code):null:this.defaultDataProjection};n.Yc=function(n,t){t=ro(this,t);var r={type:"Feature"},i=n.Xa();return void 0!==i&&(r.id=i),r.geometry=(i=n.W())?tot(i,t):null,i=n.O(),delete i[n.a],r.properties=co(i)?null:i,r};n.Ie=function(n,t){t=ro(this,t);for(var r=[],i=0,u=n.length;i<u;++i)r.push(this.Yc(n[i],t));return{type:"FeatureCollection",features:r}};n.Ke=function(n,t){return tot(n,ro(this,t))};r(ih,kk);n=ih.prototype;n.X=function(){return"xml"};n.Rb=function(n,t){if(fa(n))return skt(this,n,t);if(ea(n))return this.Ph(n,t);if("string"==typeof n){var i=tl(n);return skt(this,i,t)}return null};n.Fa=function(n,t){if(fa(n))return iot(this,n,t);if(ea(n))return this.lc(n,t);if("string"==typeof n){var i=tl(n);return iot(this,i,t)}return[]};n.Vc=function(n,t){if(fa(n))return this.v(n,t);if(ea(n)){var i=this.ye(n,[yh(this,n,t?t:{})]);return i?i:null}return"string"==typeof n?(i=tl(n),this.v(i,t)):null};n.Oa=function(n){return fa(n)?this.Pf(n):ea(n)?this.Be(n):"string"==typeof n?(n=tl(n),this.Pf(n)):null};n.Pf=function(){return this.defaultDataProjection};n.Be=function(){return this.defaultDataProjection};n.Dd=function(n,t){var i=this.A(n,t);return this.f.serializeToString(i)};n.Xb=function(n,t){var i=this.a(n,t);return this.f.serializeToString(i)};n.Zc=function(n,t){var i=this.s(n,t);return this.f.serializeToString(i)};r(tu,ih);hkt=/^[\s\xa0]*$/;n=tu.prototype;n.vd=function(n,t){var o=n.localName,c=null,e,h,f,i,y;if("FeatureCollection"==o)c="http://www.opengis.net/wfs"===n.namespaceURI?s([],this.b,n,t,this):s(null,this.b,n,t,this);else if("featureMembers"==o||"featureMember"==o){var f=t[0],i=f.featureType,u=f.featureNS,r,a;if(!i&&n.childNodes){for(i=[],u={},r=0,a=n.childNodes.length;r<a;++r)if(e=n.childNodes[r],1===e.nodeType&&(h=e.nodeName.split(":").pop(),-1===i.indexOf(h))){var l="",p=0,e=e.namespaceURI,v;for(v in u){if(u[v]===e){l=v;break}++p}l||(l="p"+p,u[l]=e);i.push(l+":"+h)}"featureMember"!=o&&(f.featureType=i,f.featureNS=u)}"string"==typeof u&&(r=u,u={},u.p0=r);f={};i=Array.isArray(i)?i:[i];for(y in u){for(h={},r=0,a=i.length;r<a;++r)(-1===i[r].indexOf(":")?"p0":i[r].split(":")[0])===y&&(h[i[r].split(":").pop()]="featureMembers"==o?nu(this.If,this):pu(this.If,this));f[u[y]]=h}c="featureMember"==o?s(void 0,f,n,t):s([],f,n,t)}return null===c&&(c=[]),c};n.ye=function(n,t){var r=t[0],i;return r.srsName=n.firstElementChild.getAttribute("srsName"),i=s(null,this.bg,n,t,this),i?ee(i,!1,r):void 0};n.If=function(n,t){var i,u,f,o,r,e;for((u=n.getAttribute("fid"))||(u=n.getAttributeNS("http://www.opengis.net/gml","id")||""),f={},i=n.firstElementChild;i;i=i.nextElementSibling)r=i.localName,0===i.childNodes.length||1===i.childNodes.length&&(3===i.firstChild.nodeType||4===i.firstChild.nodeType)?(e=os(i,!1),hkt.test(e)&&(e=void 0),f[r]=e):("boundedBy"!==r&&(o=r),f[r]=this.ye(i,t));return i=new ft(f),o&&i.Ec(o),u&&i.mc(u),i};n.Xh=function(n,t){var r=this.xe(n,t),i;if(r)return i=new tt(null),i.ba("XYZ",r),i};n.Vh=function(n,t){var i=s([],this.Ui,n,t,this);if(i)return new ut(i)};n.Uh=function(n,t){var r=s([],this.Ti,n,t,this),i;if(r)return i=new d(null),ln(i,r),i};n.Wh=function(n,t){var r=s([],this.Vi,n,t,this),i;if(r)return i=new it(null),ket(i,r),i};n.Mh=function(n,t){ec(this.Yi,n,t,this)};n.Ug=function(n,t){ec(this.Ri,n,t,this)};n.Nh=function(n,t){ec(this.Zi,n,t,this)};n.ze=function(n,t){var r=this.xe(n,t),i;if(r)return i=new a(null),i.ba("XYZ",r),i};n.zo=function(n,t){var i=s(null,this.Fd,n,t,this);if(i)return i};n.Th=function(n,t){var r=this.xe(n,t),i;if(r)return i=new bt(null),cp(i,"XYZ",r),i};n.Ae=function(n,t){var i=s([null],this.Me,n,t,this);if(i&&i[0]){for(var f=new l(null),r=i[0],e=[r.length],u=1,o=i.length;u<o;++u)bf(r,i[u]),e.push(r.length);return f.ba("XYZ",r,e),f}};n.xe=function(n,t){return s(null,this.Fd,n,t,this)};n.Ui={"http://www.opengis.net/gml":{pointMember:nu(tu.prototype.Mh),pointMembers:nu(tu.prototype.Mh)}};n.Ti={"http://www.opengis.net/gml":{lineStringMember:nu(tu.prototype.Ug),lineStringMembers:nu(tu.prototype.Ug)}};n.Vi={"http://www.opengis.net/gml":{polygonMember:nu(tu.prototype.Nh),polygonMembers:nu(tu.prototype.Nh)}};n.Yi={"http://www.opengis.net/gml":{Point:nu(tu.prototype.xe)}};n.Ri={"http://www.opengis.net/gml":{LineString:nu(tu.prototype.ze)}};n.Zi={"http://www.opengis.net/gml":{Polygon:nu(tu.prototype.Ae)}};n.Gd={"http://www.opengis.net/gml":{LinearRing:pu(tu.prototype.zo)}};n.lc=function(n,t){var i={featureType:this.featureType,featureNS:this.featureNS};return t&&sr(i,yh(this,n,t)),this.vd(n,[i])||[]};n.Be=function(n){return yi(this.srsName?this.srsName:n.firstElementChild.getAttribute("srsName"))};r(ul,tu);n=ul.prototype;n.Qh=function(n,t){var r=os(n,!1).replace(/^\s*|\s*$/g,""),i=t[0].srsName,u=n.parentNode.getAttribute("srsDimension"),h="enu";i&&(i=yi(i))&&(h=i.b);r=r.split(/[\s,]+/);i=2;n.getAttribute("srsDimension")?i=rl(n.getAttribute("srsDimension")):n.getAttribute("dimension")?i=rl(n.getAttribute("dimension")):u&&(i=rl(u));for(var e,o,s=[],f=0,c=r.length;f<c;f+=i)u=parseFloat(r[f]),e=parseFloat(r[f+1]),o=3===i?parseFloat(r[f+2]):0,"en"===h.substr(0,2)?s.push(u,e,o):s.push(e,u,o);return s};n.wo=function(n,t){var i=s([null],this.Ni,n,t,this);return ac(i[1][0],i[1][1],i[1][3],i[1][4])};n.ml=function(n,t){var i=s(void 0,this.Gd,n,t,this);i&&t[t.length-1].push(i)};n.eo=function(n,t){var i=s(void 0,this.Gd,n,t,this);i&&(t[t.length-1][0]=i)};n.Fd={"http://www.opengis.net/gml":{coordinates:pu(ul.prototype.Qh)}};n.Me={"http://www.opengis.net/gml":{innerBoundaryIs:ul.prototype.ml,outerBoundaryIs:ul.prototype.eo}};n.Ni={"http://www.opengis.net/gml":{coordinates:nu(ul.prototype.Qh)}};n.bg={"http://www.opengis.net/gml":{Point:pu(tu.prototype.Xh),MultiPoint:pu(tu.prototype.Vh),LineString:pu(tu.prototype.ze),MultiLineString:pu(tu.prototype.Uh),LinearRing:pu(tu.prototype.Th),Polygon:pu(tu.prototype.Ae),MultiPolygon:pu(tu.prototype.Wh),Box:pu(ul.prototype.wo)}};r(st,tu);n=st.prototype;n.Do=function(n,t){var r=s([],this.Si,n,t,this),i;if(r)return i=new d(null),ln(i,r),i};n.Eo=function(n,t){var r=s([],this.Wi,n,t,this),i;if(r)return i=new it(null),ket(i,r),i};n.vg=function(n,t){ec(this.Oi,n,t,this)};n.vi=function(n,t){ec(this.cj,n,t,this)};n.Ho=function(n,t){return s([null],this.Xi,n,t,this)};n.Jo=function(n,t){return s([null],this.bj,n,t,this)};n.Io=function(n,t){return s([null],this.Me,n,t,this)};n.Co=function(n,t){return s([null],this.Fd,n,t,this)};n.ol=function(n,t){var i=s(void 0,this.Gd,n,t,this);i&&t[t.length-1].push(i)};n.Hj=function(n,t){var i=s(void 0,this.Gd,n,t,this);i&&(t[t.length-1][0]=i)};n.Zh=function(n,t){var i=s([null],this.dj,n,t,this);if(i&&i[0]){for(var f=new l(null),r=i[0],e=[r.length],u=1,o=i.length;u<o;++u)bf(r,i[u]),e.push(r.length);return f.ba("XYZ",r,e),f}};n.Oh=function(n,t){var r=s([null],this.Pi,n,t,this),i;if(r)return i=new a(null),i.ba("XYZ",r),i};n.yo=function(n,t){var i=s([null],this.Qi,n,t,this);return ac(i[1][0],i[1][1],i[2][0],i[2][1])};n.Ao=function(n,t){for(var i=os(n,!1),u=/^\s*([+\-]?\d*\.?\d+(?:[eE][+\-]?\d+)?)\s*/,r=[],f;f=u.exec(i);)r.push(parseFloat(f[1])),i=i.substr(f[0].length);if(""===i){if(i=t[0].srsName,u="enu",i&&(u=yi(i).b),"neu"===u)for(i=0,u=r.length;i<u;i+=3)f=r[i],r[i]=r[i+1],r[i+1]=f;return i=r.length,2==i&&r.push(0),0===i?void 0:r}};n.Mf=function(n,t){var r=os(n,!1).replace(/^\s*|\s*$/g,""),i=t[0].srsName,u=n.parentNode.getAttribute("srsDimension"),h="enu";i&&(h=yi(i).b);r=r.split(/\s+/);i=2;n.getAttribute("srsDimension")?i=rl(n.getAttribute("srsDimension")):n.getAttribute("dimension")?i=rl(n.getAttribute("dimension")):u&&(i=rl(u));for(var e,o,s=[],f=0,c=r.length;f<c;f+=i)u=parseFloat(r[f]),e=parseFloat(r[f+1]),o=3===i?parseFloat(r[f+2]):0,"en"===h.substr(0,2)?s.push(u,e,o):s.push(e,u,o);return s};n.Fd={"http://www.opengis.net/gml":{pos:pu(st.prototype.Ao),posList:pu(st.prototype.Mf)}};n.Me={"http://www.opengis.net/gml":{interior:st.prototype.ol,exterior:st.prototype.Hj}};n.bg={"http://www.opengis.net/gml":{Point:pu(tu.prototype.Xh),MultiPoint:pu(tu.prototype.Vh),LineString:pu(tu.prototype.ze),MultiLineString:pu(tu.prototype.Uh),LinearRing:pu(tu.prototype.Th),Polygon:pu(tu.prototype.Ae),MultiPolygon:pu(tu.prototype.Wh),Surface:pu(st.prototype.Zh),MultiSurface:pu(st.prototype.Eo),Curve:pu(st.prototype.Oh),MultiCurve:pu(st.prototype.Do),Envelope:pu(st.prototype.yo)}};n.Si={"http://www.opengis.net/gml":{curveMember:nu(st.prototype.vg),curveMembers:nu(st.prototype.vg)}};n.Wi={"http://www.opengis.net/gml":{surfaceMember:nu(st.prototype.vi),surfaceMembers:nu(st.prototype.vi)}};n.Oi={"http://www.opengis.net/gml":{LineString:nu(tu.prototype.ze),Curve:nu(st.prototype.Oh)}};n.cj={"http://www.opengis.net/gml":{Polygon:nu(tu.prototype.Ae),Surface:nu(st.prototype.Zh)}};n.dj={"http://www.opengis.net/gml":{patches:pu(st.prototype.Ho)}};n.Pi={"http://www.opengis.net/gml":{segments:pu(st.prototype.Jo)}};n.Qi={"http://www.opengis.net/gml":{lowerCorner:nu(st.prototype.Mf),upperCorner:nu(st.prototype.Mf)}};n.Xi={"http://www.opengis.net/gml":{PolygonPatch:pu(st.prototype.Io)}};n.bj={"http://www.opengis.net/gml":{LineStringSegment:pu(st.prototype.Co)}};n.Ji=function(n,t,i){var r=i[i.length-1].srsName;r&&n.setAttribute("srsName",r);r=hf(n.namespaceURI,"pos");n.appendChild(r);i=i[i.length-1].srsName;n="enu";i&&(n=yi(i).b);t=t.Z();eu(r,"en"===n.substr(0,2)?t[0]+" "+t[1]:t[1]+" "+t[0])};akt={"http://www.opengis.net/gml":{lowerCorner:f(eu),upperCorner:f(eu)}};n=st.prototype;n.xp=function(n,t,i){var r=i[i.length-1].srsName;r&&n.setAttribute("srsName",r);yr({node:n},akt,vh,[t[0]+" "+t[1],t[2]+" "+t[3]],i,["lowerCorner","upperCorner"],this)};n.Gi=function(n,t,i){var r=i[i.length-1].srsName;r&&n.setAttribute("srsName",r);r=hf(n.namespaceURI,"posList");n.appendChild(r);lkt(r,t,i)};n.aj=function(n,t){var i=t[t.length-1],u=i.node,r=i.exteriorWritten;return void 0===r&&(i.exteriorWritten=!0),hf(u.namespaceURI,void 0!==r?"interior":"exterior")};n.Le=function(n,t,i){var r=i[i.length-1].srsName;"PolygonPatch"!==n.nodeName&&r&&n.setAttribute("srsName",r);"Polygon"===n.nodeName||"PolygonPatch"===n.nodeName?(t=t.Vd(),yr({node:n,srsName:r},gei,this.aj,t,i,void 0,this)):"Surface"===n.nodeName&&(r=hf(n.namespaceURI,"patches"),n.appendChild(r),n=hf(r.namespaceURI,"PolygonPatch"),r.appendChild(n),this.Le(n,t,i))};n.Ge=function(n,t,i){var r=i[i.length-1].srsName;"LineStringSegment"!==n.nodeName&&r&&n.setAttribute("srsName",r);"LineString"===n.nodeName||"LineStringSegment"===n.nodeName?(r=hf(n.namespaceURI,"posList"),n.appendChild(r),lkt(r,t,i)):"Curve"===n.nodeName&&(r=hf(n.namespaceURI,"segments"),n.appendChild(r),n=hf(r.namespaceURI,"LineStringSegment"),r.appendChild(n),this.Ge(n,t,i))};n.Ii=function(n,t,i){var r=i[i.length-1],u=r.srsName,r=r.surface;u&&n.setAttribute("srsName",u);t=t.Wd();yr({node:n,srsName:u,surface:r},bei,this.c,t,i,void 0,this)};n.yp=function(n,t,i){var r=i[i.length-1].srsName;r&&n.setAttribute("srsName",r);t=t.je();yr({node:n,srsName:r},kei,te("pointMember"),t,i,void 0,this)};n.Hi=function(n,t,i){var r=i[i.length-1],u=r.srsName,r=r.curve;u&&n.setAttribute("srsName",u);t=t.md();yr({node:n,srsName:u,curve:r},dei,this.c,t,i,void 0,this)};n.Ki=function(n,t,i){var r=hf(n.namespaceURI,"LinearRing");n.appendChild(r);this.Gi(r,t,i)};n.Li=function(n,t,i){var r=this.g(t,i);r&&(n.appendChild(r),this.Le(r,t,i))};n.zp=function(n,t,i){var r=hf(n.namespaceURI,"Point");n.appendChild(r);this.Ji(r,t,i)};n.Fi=function(n,t,i){var r=this.g(t,i);r&&(n.appendChild(r),this.Ge(r,t,i))};n.Je=function(n,t,i){var r=i[i.length-1],u=sr({},r),f;u.node=n;f=Array.isArray(t)?r.dataProjection?op(t,r.featureProjection,r.dataProjection):t:ee(t,!0,r);yr(u,noi,this.g,[f],i,void 0,this)};n.Bi=function(n,t,i){var r=t.Xa(),s,h,u,o;r&&n.setAttribute("fid",r);var r=i[i.length-1],e=r.featureNS,c=t.a;r.Dc||(r.Dc={},r.Dc[e]={});s=t.O();t=[];h=[];for(u in s)o=s[u],null!==o&&(t.push(u),h.push(o),u==c||o instanceof nr?u in r.Dc[e]||(r.Dc[e][u]=f(this.Je,this)):u in r.Dc[e]||(r.Dc[e][u]=f(eu)));u=sr({},r);u.node=n;yr(u,r.Dc,te(void 0,e),h,i,t)};var bei={"http://www.opengis.net/gml":{surfaceMember:f(st.prototype.Li),polygonMember:f(st.prototype.Li)}},kei={"http://www.opengis.net/gml":{pointMember:f(st.prototype.zp)}},dei={"http://www.opengis.net/gml":{lineStringMember:f(st.prototype.Fi),curveMember:f(st.prototype.Fi)}},gei={"http://www.opengis.net/gml":{exterior:f(st.prototype.Ki),interior:f(st.prototype.Ki)}},noi={"http://www.opengis.net/gml":{Curve:f(st.prototype.Ge),MultiCurve:f(st.prototype.Hi),Point:f(st.prototype.Ji),MultiPoint:f(st.prototype.yp),LineString:f(st.prototype.Ge),MultiLineString:f(st.prototype.Hi),LinearRing:f(st.prototype.Gi),Polygon:f(st.prototype.Le),MultiPolygon:f(st.prototype.Ii),Surface:f(st.prototype.Le),MultiSurface:f(st.prototype.Ii),Envelope:f(st.prototype.xp)}},toi={MultiLineString:"lineStringMember",MultiCurve:"curveMember",MultiPolygon:"polygonMember",MultiSurface:"surfaceMember"};st.prototype.c=function(n,t){return hf("http://www.opengis.net/gml",toi[t[t.length-1].node.nodeName])};st.prototype.g=function(n,t){var r=t[t.length-1],u=r.multiSurface,f=r.surface,e=r.curve,r=r.multiCurve,i;return Array.isArray(n)?i="Envelope":(i=n.X(),"MultiPolygon"===i&&!0===u?i="MultiSurface":"Polygon"===i&&!0===f?i="Surface":"LineString"===i&&!0===e?i="Curve":"MultiLineString"===i&&!0===r&&(i="MultiCurve")),hf("http://www.opengis.net/gml",i)};st.prototype.s=function(n,t){t=ro(this,t);var i=hf("http://www.opengis.net/gml","geom"),r={node:i,srsName:this.srsName,curve:this.i,surface:this.j,multiSurface:this.o,multiCurve:this.l};return t&&sr(r,t),this.Je(i,n,[r]),i};st.prototype.a=function(n,t){var u,i;t=ro(this,t);u=hf("http://www.opengis.net/gml","featureMembers");u.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",this.schemaLocation);i={srsName:this.srsName,curve:this.i,surface:this.j,multiSurface:this.o,multiCurve:this.l,featureNS:this.featureNS,featureType:this.featureType};t&&sr(i,t);var i=[i],r=i[i.length-1],s=r.featureType,e=r.featureNS,o={};return o[e]={},o[e][s]=f(this.Bi,this),r=sr({},r),r.node=u,yr(r,o,te(s,e),n,i),u};r(ws,ih);pe=[null,"http://www.topografix.com/GPX/1/0","http://www.topografix.com/GPX/1/1"];var ioi={rte:vkt,trk:ykt,wpt:pkt},roi=o(pe,{rte:nu(vkt),trk:nu(ykt),wpt:nu(pkt)}),uoi=o(pe,{text:u(c,"linkText"),type:u(c,"linkType")}),foi=o(pe,{name:u(c),cmt:u(c),desc:u(c),src:u(c),link:fot,number:u(rh),extensions:eot,type:u(c),rtept:function(n,t){var i=s({},eoi,n,t);i&&uot(t[t.length-1].flatCoordinates,n,i)}}),eoi=o(pe,{ele:u(he),time:u(rot)}),ooi=o(pe,{name:u(c),cmt:u(c),desc:u(c),src:u(c),link:fot,number:u(rh),type:u(c),extensions:eot,trkseg:function(n,t){var i=t[t.length-1];ec(soi,n,t);i.ends.push(i.flatCoordinates.length)}}),soi=o(pe,{trkpt:function(n,t){var i=s({},hoi,n,t);i&&uot(t[t.length-1].flatCoordinates,n,i)}}),hoi=o(pe,{ele:u(he),time:u(rot)}),coi=o(pe,{ele:u(he),time:u(rot),magvar:u(he),geoidheight:u(he),name:u(c),cmt:u(c),desc:u(c),src:u(c),link:fot,sym:u(c),type:u(c),fix:u(c),sat:u(rh),hdop:u(he),vdop:u(he),pdop:u(he),ageofdgpsdata:u(he),dgpsid:u(rh),extensions:eot});ws.prototype.Ph=function(n,t){if(!po(pe,n.namespaceURI))return null;var i=ioi[n.localName];return i?(i=i(n,[yh(this,n,t)]),!i)?null:(wkt(this,[i]),i):null};ws.prototype.lc=function(n,t){if(!po(pe,n.namespaceURI))return[];if("gpx"==n.localName){var i=s([],roi,n,[yh(this,n,t)]);if(i)return wkt(this,i),i}return[]};var loi=["text","type"],aoi=o(pe,{text:f(eu),type:f(eu)}),voi=o(pe,"name cmt desc src link number type rtept".split(" ")),yoi=o(pe,{name:f(eu),cmt:f(eu),desc:f(eu),src:f(eu),link:f(oot),number:f(vn),type:f(eu),rtept:cpt(f(sot))}),poi=o(pe,["ele","time"]),woi=o(pe,"name cmt desc src link number type trkseg".split(" ")),boi=o(pe,{name:f(eu),cmt:f(eu),desc:f(eu),src:f(eu),link:f(oot),number:f(vn),type:f(eu),trkseg:cpt(f(function(n,t,i){yr({node:n,geometryLayout:t.f,properties:{}},doi,koi,t.Z(),i)}))}),koi=te("trkpt"),doi=o(pe,{trkpt:f(sot)}),goi=o(pe,"ele time magvar geoidheight name cmt desc src link sym type fix sat hdop vdop pdop ageofdgpsdata dgpsid".split(" ")),nsi=o(pe,{ele:f(uh),time:f(function(n,t){var i=new Date(1e3*t);n.appendChild(hw.createTextNode(i.getUTCFullYear()+"-"+pv(i.getUTCMonth()+1)+"-"+pv(i.getUTCDate())+"T"+pv(i.getUTCHours())+":"+pv(i.getUTCMinutes())+":"+pv(i.getUTCSeconds())+"Z"))}),magvar:f(uh),geoidheight:f(uh),name:f(eu),cmt:f(eu),desc:f(eu),src:f(eu),link:f(oot),sym:f(eu),type:f(eu),fix:f(eu),sat:f(vn),hdop:f(uh),vdop:f(uh),pdop:f(uh),ageofdgpsdata:f(uh),dgpsid:f(vn)}),tsi={Point:"wpt",LineString:"rte",MultiLineString:"trk"};bkt=o(pe,{rte:f(function(n,t,i){var u=i[0],r=t.O();n={node:n,properties:r};(t=t.W())&&(t=ee(t,!0,u),n.geometryLayout=t.f,r.rtept=t.Z());u=voi[i[i.length-1].node.namespaceURI];r=il(r,u);yr(n,yoi,vh,r,i,u)}),trk:f(function(n,t,i){var u=i[0],r=t.O();n={node:n,properties:r};(t=t.W())&&(t=ee(t,!0,u),r.trkseg=t.md());u=woi[i[i.length-1].node.namespaceURI];r=il(r,u);yr(n,boi,vh,r,i,u)}),wpt:f(function(n,t,i){var u=i[0],r=i[i.length-1];r.properties=t.O();(t=t.W())&&(t=ee(t,!0,u),r.geometryLayout=t.f,sot(n,t.Z(),i))})});ws.prototype.a=function(n,t){t=ro(this,t);var i=hf("http://www.topografix.com/GPX/1/1","gpx");return i.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xsi","http://www.w3.org/2001/XMLSchema-instance"),i.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation","http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd"),i.setAttribute("version","1.1"),i.setAttribute("creator","OpenLayers 3"),yr({node:i},bkt,isi,n,[t]),i};r(nd,kk);n=nd.prototype;n.X=function(){return"text"};n.Rb=function(n,t){return this.ud(yn(n),ro(this,t))};n.Fa=function(n,t){return this.Kf(yn(n),ro(this,t))};n.Vc=function(n,t){return this.wd(yn(n),ro(this,t))};n.Oa=function(n){return yn(n),this.defaultDataProjection};n.Dd=function(n,t){return this.He(n,ro(this,t))};n.Xb=function(n,t){return this.Ci(n,ro(this,t))};n.Zc=function(n,t){return this.Ed(n,ro(this,t))};r(wl,nd);var rsi=/^B(\d{2})(\d{2})(\d{2})(\d{2})(\d{5})([NS])(\d{3})(\d{5})([EW])([AV])(\d{5})(\d{5})/,usi=/^H.([A-Z]{3}).*?:(.*)/,fsi=/^HFDTE(\d{2})(\d{2})(\d{2})/,esi=/\r\n|\r|\n/;wl.prototype.ud=function(n,t){for(var u=this.b,f=n.split(esi),y={},e=[],h=2e3,c=0,l=1,p=-1,r,i,s,o=0,w=f.length;o<w;++o)if(r=f[o],"B"==r.charAt(0)){if(i=rsi.exec(r)){var r=parseInt(i[1],10),b=parseInt(i[2],10),k=parseInt(i[3],10),v=parseInt(i[4],10)+parseInt(i[5],10)/6e4;"S"==i[6]&&(v=-v);s=parseInt(i[7],10)+parseInt(i[8],10)/6e4;"W"==i[9]&&(s=-s);e.push(s,v);"none"!=u&&e.push("gps"==u?parseInt(i[11],10):"barometric"==u?parseInt(i[12],10):0);i=Date.UTC(h,c,l,r,b,k);i<p&&(i=Date.UTC(h,c,l+1,r,b,k));e.push(i/1e3);p=i}}else"H"==r.charAt(0)&&((i=fsi.exec(r))?(l=parseInt(i[1],10),c=parseInt(i[2],10)-1,h=2e3+parseInt(i[3],10)):(i=usi.exec(r))&&(y[i[1]]=i[2].trim()));return 0===e.length?null:(f=new a(null),f.ba("none"==u?"XYM":"XYZM",e),u=new ft(ee(f,!1,t)),u.G(y),u)};wl.prototype.Kf=function(n,t){var i=this.ud(n,t);return i?[i]:[]};n=pn.prototype;n.wc=function(){return this.g};n.zc=function(){hot(this);for(var t=[],n=0;n<this.b.length;n++)t.push(this.a[this.b[n]]);return t};n.N=function(){return hot(this),this.b.concat()};n.Ya=function(){return 0==this.g};n.clear=function(){this.a={};this.g=this.b.length=0};n.remove=function(n){return vy(this.a,n)?(delete this.a[n],this.g--,this.b.length>2*this.g&&hot(this),!0):!1};n.get=function(n,t){return vy(this.a,n)?this.a[n]:t};n.set=function(n,t){vy(this.a,n)||(this.g++,this.b.push(n));this.a[n]=t};n.forEach=function(n,t){for(var u,f,r=this.N(),i=0;i<r.length;i++)u=r[i],f=this.get(u),n.call(t,f,u,this)};n.clone=function(){return new pn(this)};kkt=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/;ev.prototype.toString=function(){var t=[],i=this.g,n;return i&&t.push(td(i,gkt,!0),":"),n=this.a,(n||"file"==i)&&(t.push("//"),(i=this.l)&&t.push(td(i,gkt,!0),"@"),t.push(encodeURIComponent(String(n)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),n=this.o,null!=n&&t.push(":",String(n))),(n=this.b)&&(this.a&&"/"!=n.charAt(0)&&t.push("/"),t.push(td(n,"/"==n.charAt(0)?csi:hsi,!0))),(n=this.i.toString())&&t.push("?",n),(n=this.f)&&t.push("#",td(n,asi)),t.join("")};ev.prototype.clone=function(){return new ev(this)};var gkt=/[#\/\?@]/g,hsi=/[\#\?:]/g,csi=/[\#\?]/g,lsi=/[\#\?@]/g,asi=/#/g;n=id.prototype;n.wc=function(){return sa(this),this.a};n.add=function(n,t){sa(this);this.g=null;n=pw(this,n);var i=this.b.get(n);return i||this.b.set(n,i=[]),i.push(t),this.a=this.a+1,this};n.remove=function(n){return sa(this),n=pw(this,n),vy(this.b.a,n)?(this.g=null,this.a=this.a-this.b.get(n).length,this.b.remove(n)):!1};n.clear=function(){this.b=this.g=null;this.a=0};n.Ya=function(){return sa(this),0==this.a};n.N=function(){var u,t;sa(this);for(var f=this.b.zc(),i=this.b.N(),r=[],n=0;n<i.length;n++)for(u=f[n],t=0;t<u.length;t++)r.push(i[n]);return r};n.zc=function(n){var t,i;if(sa(this),t=[],cd(n))ndt(this,n)&&(t=klt(t,this.b.get(pw(this,n))));else for(n=this.b.zc(),i=0;i<n.length;i++)t=klt(t,n[i]);return t};n.set=function(n,t){return sa(this),this.g=null,n=pw(this,n),ndt(this,n)&&(this.a=this.a-this.b.get(n).length),this.b.set(n,[t]),this.a=this.a+1,this};n.get=function(n,t){var i=n?this.zc(n):[];return 0<i.length?String(i[0]):t};n.toString=function(){var r;if(this.g)return this.g;if(!this.b)return"";for(var u=[],f=this.b.N(),i=0;i<f.length;i++)for(var n=f[i],e=encodeURIComponent(String(n)),n=this.zc(n),t=0;t<n.length;t++)r=e,""!==n[t]&&(r+="="+encodeURIComponent(String(n[t]))),u.push(r);return this.g=u.join("&")};n.clone=function(){var n=new id;return n.g=this.g,this.b&&(n.b=this.b.clone(),n.a=this.a),n};n=er.prototype;n.Xj=function(){return this.g};n.kk=function(){return this.f};n.lk=function(){return this.c};n.Un=function(){return this.b};n.Vn=function(){return this.i};n.Wn=function(){return this.a};n.Xn=function(){return this.l};n.Ha=function(){return this.s};n.yk=function(){return this.o};n.zk=function(){return this.j};n.bp=function(n){this.g=n};n.mi=function(n){this.f=n};n.ni=function(n){this.c=n};n.ap=function(n){this.b=n};n.Yn=function(n){this.i=n};n.Zn=function(n){this.a=n};n.ip=function(n){this.l=n};n.pi=function(n){this.s=n};n.ri=function(n){this.o=n};n.jp=function(n){this.j=n};r(yo,ih);var ha=["http://www.google.com/kml/ext/2.2"],di=[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"],rd=[255,255,255,1],vot=new nh({color:rd}),tdt=[20,2],idt=[64,64],rdt=new ku({anchor:tdt,anchorOrigin:"bottom-left",anchorXUnits:"pixels",anchorYUnits:"pixels",crossOrigin:"anonymous",rotation:0,scale:.5,size:idt,src:"https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png"}),udt=new rf({color:rd,width:1}),fdt=new er({font:"bold 16px Helvetica",fill:vot,stroke:new rf({color:[51,51,51,1],width:2}),scale:.8}),ysi=[new yf({fill:vot,image:rdt,text:fdt,stroke:udt,zIndex:0})],edt={fraction:"fraction",pixels:"pixels"};var wsi=o(di,{value:pu(c)}),bsi=o(di,{Data:function(n,t){var r=n.getAttribute("name"),i;null!==r&&(i=s(void 0,wsi,n,t),i&&(t[t.length-1][r]=i))},SchemaData:function(n,t){ec(vhi,n,t)}}),bn=o(di,{extrude:u(ly),altitudeMode:u(c)}),ksi=o(di,{coordinates:pu(sdt)}),dsi=o(di,{innerBoundaryIs:function(n,t){var i=s(void 0,ihi,n,t);i&&t[t.length-1].push(i)},outerBoundaryIs:function(n,t){var i=s(void 0,hhi,n,t);i&&(t[t.length-1][0]=i)}}),gsi=o(di,{when:function(n,t){var f=t[t.length-1].zi,i=os(n,!1),u,r;(i=/^\s*(\d{4})($|-(\d{2})($|-(\d{2})($|T(\d{2}):(\d{2}):(\d{2})(Z|(?:([+\-])(\d{2})(?::(\d{2}))?)))))\s*$/.exec(i))?(r=Date.UTC(parseInt(i[1],10),i[3]?parseInt(i[3],10)-1:0,i[5]?parseInt(i[5],10):1,i[7]?parseInt(i[7],10):0,i[8]?parseInt(i[8],10):0,i[9]?parseInt(i[9],10):0),i[10]&&"Z"!=i[10]&&(u="-"==i[11]?-1:1,r=r+60*u*parseInt(i[12],10),i[13]&&(r+=3600*u*parseInt(i[13],10))),f.push(r)):f.push(0)}},o(ha,{coord:function(n,t){var r=t[t.length-1].B,i=os(n,!1);(i=/^\s*([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s+([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s+([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s*$/i.exec(i))?r.push(parseFloat(i[1]),parseFloat(i[2]),parseFloat(i[3]),0):r.push(0,0,0,0)}})),dot=o(di,{coordinates:pu(sdt)}),nhi=o(di,{href:u(wot)},o(ha,{x:u(he),y:u(he),w:u(he),h:u(he)})),thi=o(di,{Icon:u(function(n,t){var i=s({},nhi,n,t);return i?i:null}),heading:u(he),hotSpot:u(function(n){var t=n.getAttribute("xunits"),i=n.getAttribute("yunits");return{x:parseFloat(n.getAttribute("x")),$f:edt[t],y:parseFloat(n.getAttribute("y")),ag:edt[i]}}),scale:u(hdt)}),ihi=o(di,{LinearRing:pu(cdt)}),rhi=o(di,{color:u(pot),scale:u(hdt)}),uhi=o(di,{color:u(pot),width:u(he)}),fhi=o(di,{LineString:nu(adt),LinearRing:nu(vdt),MultiGeometry:nu(ydt),Point:nu(pdt),Polygon:nu(wdt)}),ehi=o(ha,{Track:nu(ldt)}),ohi=o(di,{ExtendedData:bdt,Link:function(n,t){ec(shi,n,t)},address:u(c),description:u(c),name:u(c),open:u(ly),phoneNumber:u(c),visibility:u(ly)}),shi=o(di,{href:u(wot)}),hhi=o(di,{LinearRing:pu(cdt)}),chi=o(di,{Style:u(bot),key:u(c),styleUrl:u(function(n){var t=os(n,!1).trim();return n.baseURI?wn(n.baseURI,t).toString():t})}),lhi=o(di,{ExtendedData:bdt,MultiGeometry:u(ydt,"geometry"),LineString:u(adt,"geometry"),LinearRing:u(vdt,"geometry"),Point:u(pdt,"geometry"),Polygon:u(wdt,"geometry"),Style:u(bot),StyleMap:function(n,t){var i=s(void 0,kdt,n,t),r;i&&(r=t[t.length-1],Array.isArray(i)?r.Style=i:"string"==typeof i&&(r.styleUrl=i))},address:u(c),description:u(c),name:u(c),open:u(ly),phoneNumber:u(c),styleUrl:u(wot),visibility:u(ly)},o(ha,{MultiTrack:u(function(n,t){var r=s([],ehi,n,t),i;if(r)return i=new d(null),ln(i,r),i},"geometry"),Track:u(ldt,"geometry")})),ahi=o(di,{color:u(pot),fill:u(ly),outline:u(ly)}),vhi=o(di,{SimpleData:function(n,t){var i=n.getAttribute("name"),r;null!==i&&(r=c(n),t[t.length-1][i]=r)}}),yhi=o(di,{IconStyle:function(n,t){var u=s({},thi,n,t),a,f,e,o,h,v,c,l,r,y,i;u&&(a=t[t.length-1],i="Icon"in u?u.Icon:{},f=(f=i.href)?f:"https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png",r=u.hotSpot,r?(e=[r.x,r.y],o=r.$f,h=r.ag):"https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png"===f?(e=tdt,h=o="pixels"):/^http:\/\/maps\.(?:google|gstatic)\.com\//.test(f)&&(e=[.5,0],h=o="fraction"),r=i.x,c=i.y,void 0!==r&&void 0!==c&&(v=[r,c]),r=i.w,i=i.h,void 0!==r&&void 0!==i&&(l=[r,i]),i=u.heading,void 0!==i&&(y=as(i)),u=u.scale,"https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png"==f&&(l=idt,void 0===u&&(u=.5)),e=new ku({anchor:e,anchorOrigin:"bottom-left",anchorXUnits:o,anchorYUnits:h,crossOrigin:"anonymous",offset:v,offsetOrigin:"bottom-left",rotation:y,scale:u,size:l,src:f}),a.imageStyle=e)},LabelStyle:function(n,t){var i=s({},rhi,n,t);i&&(t[t.length-1].textStyle=new er({fill:new nh({color:"color"in i?i.color:rd}),scale:i.scale}))},LineStyle:function(n,t){var i=s({},uhi,n,t);i&&(t[t.length-1].strokeStyle=new rf({color:"color"in i?i.color:rd,width:"width"in i?i.width:1}))},PolyStyle:function(n,t){var i=s({},ahi,n,t),r,u;i&&(r=t[t.length-1],r.fillStyle=new nh({color:"color"in i?i.color:rd}),u=i.fill,void 0!==u&&(r.fill=u),i=i.outline,void 0!==i&&(r.outline=i))}}),kdt=o(di,{Pair:function(n,t){var i=s({},chi,n,t),r;i&&(r=i.key,r&&"normal"==r&&((r=i.styleUrl)&&(t[t.length-1]=r),(i=i.Style)&&(t[t.length-1]=i)))}});n=yo.prototype;n.Gf=function(n,t){var i=o(di,{Document:hpt(this.Gf,this),Folder:hpt(this.Gf,this),Placemark:nu(this.Of,this),Style:this.Lo.bind(this),StyleMap:this.Ko.bind(this)});if(i=s([],i,n,t,this))return i};n.Of=function(n,t){var i=s({geometry:null},lhi,n,t),r,u,f;if(i)return r=new ft,u=n.getAttribute("id"),null!==u&&r.mc(u),u=t[0],f=i.geometry,f&&ee(f,!1,u),r.Ua(f),delete i.geometry,this.c&&r.sf(psi(i.Style,i.styleUrl,this.g,this.b,this.i)),delete i.Style,r.G(i),r};n.Lo=function(n,t){var i=n.getAttribute("id"),r;null!==i&&(r=bot(n,t),r&&(i=n.baseURI?wn(n.baseURI,"#"+i).toString():"#"+i,this.b[i]=r))};n.Ko=function(n,t){var i=n.getAttribute("id"),r;null!==i&&(r=s(void 0,kdt,n,t),r&&(i=n.baseURI?wn(n.baseURI,"#"+i).toString():"#"+i,this.b[i]=r))};n.Ph=function(n,t){if(!po(di,n.namespaceURI))return null;var i=this.Of(n,[yh(this,n,t)]);return i?i:null};n.lc=function(n,t){var i,r,u;if(!po(di,n.namespaceURI))return[];if(i=n.localName,"Document"==i||"Folder"==i)return(i=this.Gf(n,[yh(this,n,t)]))?i:[];if("Placemark"==i)return(i=this.Of(n,[yh(this,n,t)]))?[i]:[];if("kml"==i){for(i=[],r=n.firstElementChild;r;r=r.nextElementSibling)u=this.lc(r,t),u&&bf(i,u);return i}return[]};n.Fo=function(n){return fa(n)?ddt(this,n):ea(n)?got(this,n):"string"==typeof n?(n=tl(n),ddt(this,n)):void 0};n.Go=function(n){var t=[];return fa(n)?bf(t,gdt(this,n)):ea(n)?bf(t,nst(this,n)):"string"==typeof n&&(n=tl(n),bf(t,gdt(this,n))),t};var phi=o(di,["Document","Placemark"]),whi=o(di,{Document:f(function(n,t,i){yr({node:n},bhi,aci,t,i,void 0,this)}),Placemark:f(igt)}),bhi=o(di,{Placemark:f(igt)}),khi={Point:"Point",LineString:"LineString",LinearRing:"LinearRing",Polygon:"Polygon",MultiPoint:"MultiGeometry",MultiLineString:"MultiGeometry",MultiPolygon:"MultiGeometry",GeometryCollection:"MultiGeometry"},fgt=o(di,["href"],o(ha,["x","y","w","h"])),egt=o(di,{href:f(eu)},o(ha,{x:f(uh),y:f(uh),w:f(uh),h:f(uh)})),dhi=o(di,["scale","heading","Icon","hotSpot"]),ghi=o(di,{Icon:f(function(n,t,i){n={node:n};var r=fgt[i[i.length-1].node.namespaceURI],u=il(t,r);yr(n,egt,vh,u,i,r);r=fgt[ha[0]];u=il(t,r);yr(n,egt,lci,u,i,r)}),heading:f(uh),hotSpot:f(function(n,t){n.setAttribute("x",t.x);n.setAttribute("y",t.y);n.setAttribute("xunits",t.$f);n.setAttribute("yunits",t.ag)}),scale:f(ugt)}),nci=o(di,["color","scale"]),tci=o(di,{color:f(tst),scale:f(ugt)}),ici=o(di,["color","width"]),rci=o(di,{color:f(tst),width:f(uh)}),uci=o(di,{LinearRing:f(ww)}),fci=o(di,{LineString:f(ww),Point:f(ww),Polygon:f(rgt),GeometryCollection:f(ngt)}),eci=o(di,"name open visibility address phoneNumber description styleUrl Style".split(" ")),ogt=o(di,{MultiGeometry:f(ngt),LineString:f(ww),LinearRing:f(ww),Point:f(ww),Polygon:f(rgt),Style:f(function(n,t,i){n={node:n};var r={},u=t.c,f=t.f,e=t.a;t=t.Ha();e instanceof ku&&(r.IconStyle=e);t&&(r.LabelStyle=t);f&&(r.LineStyle=f);u&&(r.PolyStyle=u);t=hci[i[i.length-1].node.namespaceURI];r=il(r,t);yr(n,cci,vh,r,i,t)}),address:f(eu),description:f(eu),name:f(eu),open:f(ckt),phoneNumber:f(eu),styleUrl:f(eu),visibility:f(ckt)}),oci=o(di,{coordinates:f(function(n,t,i){var r,e,f,o,u;if(i=i[i.length-1],r=i.layout,i=i.stride,"XY"==r||"XYM"==r?e=2:("XYZ"==r||"XYZM"==r)&&(e=3),o=t.length,u="",0<o){for(u+=t[0],r=1;r<e;++r)u+=","+t[r];for(f=i;f<o;f+=i)for(u+=" "+t[f],r=1;r<e;++r)u+=","+t[f+r]}eu(n,u)})}),sgt=o(di,{outerBoundaryIs:f(tgt),innerBoundaryIs:f(tgt)}),sci=o(di,{color:f(tst)}),hci=o(di,["IconStyle","LabelStyle","LineStyle","PolyStyle"]),cci=o(di,{IconStyle:f(function(n,t,i){var f,e;n={node:n};var u={},r=t.Fb(),s=t.ld(),o={href:t.b.j};r&&(o.w=r[0],o.h=r[1],f=t.Yb(),e=t.Ia(),e&&s&&0!==e[0]&&e[1]!==r[1]&&(o.x=e[0],o.y=s[1]-(e[1]+r[1])),f&&0!==f[0]&&f[1]!==r[1]&&(u.hotSpot={x:f[0],$f:"pixels",y:r[1]-f[1],ag:"pixels"}));u.Icon=o;r=t.i;1!==r&&(u.scale=r);t=t.j;0!==t&&(u.heading=t);t=dhi[i[i.length-1].node.namespaceURI];u=il(u,t);yr(n,ghi,vh,u,i,t)}),LabelStyle:f(function(n,t,i){n={node:n};var r={},u=t.b;u&&(r.color=u.b);(t=t.a)&&1!==t&&(r.scale=t);t=nci[i[i.length-1].node.namespaceURI];r=il(r,t);yr(n,tci,vh,r,i,t)}),LineStyle:f(function(n,t,i){n={node:n};var r=ici[i[i.length-1].node.namespaceURI];t=il({color:t.b,width:t.a},r);yr(n,rci,vh,t,i,r)}),PolyStyle:f(function(n,t,i){yr({node:n},sci,vci,[t.b],i)})});var vci=te("color"),yci=te("coordinates"),pci=te("innerBoundaryIs"),wci=te("Point"),bci=te("LineString"),kci=te("LinearRing"),dci=te("Polygon"),gci=te("outerBoundaryIs");yo.prototype.a=function(n,t){var i,f,u,r;return t=ro(this,t),i=hf(di[4],"kml"),i.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:gx",ha[0]),i.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xsi","http://www.w3.org/2001/XMLSchema-instance"),i.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation","http://www.opengis.net/kml/2.2 https://developers.google.com/kml/schema/kml22gx.xsd"),f={node:i},r={},1<n.length?r.Document=n:1==n.length&&(r.Placemark=n[0]),u=phi[i.namespaceURI],r=il(r,u),yr(f,whi,vh,r,[t],u,this),i},function(){var t={},n={ja:t};(function(i){if("object"==typeof t&&"undefined"!=typeof n)n.ja=i();else{var r;r="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this;r.Rp=i()}})(function(){return function n(t,i,r){function u(f,o){if(!i[f]){if(!t[f]){var s="function"==typeof require&&require;if(!o&&s)return s(f,!0);if(e)return e(f,!0);s=Error("Cannot find module '"+f+"'");throw s.code="MODULE_NOT_FOUND",s;}s=i[f]={ja:{}};t[f][0].call(s.ja,function(n){var i=t[f][1][n];return u(i?i:n)},s,s.ja,n,t,i,r)}return i[f].ja}for(var e="function"==typeof require&&require,f=0;f<r.length;f++)u(r[f]);return u}({1:[function(n,t,i){i.read=function(n,t,i,r,u){var e,s,o;e=8*u-r-1;var h=(1<<e)-1,c=h>>1,f=-7;for(u=i?u-1:0,s=i?-1:1,o=n[t+u],u+=s,i=o&(1<<-f)-1,o>>=-f,f+=e;0<f;i=256*i+n[t+u],u+=s,f-=8);for(e=i&(1<<-f)-1,i>>=-f,f+=r;0<f;e=256*e+n[t+u],u+=s,f-=8);if(0===i)i=1-c;else{if(i===h)return e?NaN:Infinity*(o?-1:1);e+=Math.pow(2,r);i-=c}return(o?-1:1)*e*Math.pow(2,i-r)};i.write=function(n,t,i,r,u,f){var e,s=8*f-u-1,h=(1<<s)-1,o=h>>1,l=23===u?Math.pow(2,-24)-Math.pow(2,-77):0,c,a;for(f=r?0:f-1,c=r?1:-1,a=0>t||0===t&&0>1/t?1:0,t=Math.abs(t),isNaN(t)||Infinity===t?(t=isNaN(t)?1:0,r=h):(r=Math.floor(Math.log(t)/Math.LN2),1>t*(e=Math.pow(2,-r))&&(r--,e*=2),t=1<=r+o?t+l/e:t+l*Math.pow(2,1-o),2<=t*e&&(r++,e/=2),r+o>=h?(t=0,r=h):1<=r+o?(t=(t*e-1)*Math.pow(2,u),r+=o):(t=t*Math.pow(2,o-1)*Math.pow(2,u),r=0));8<=u;n[i+f]=t&255,f+=c,t/=256,u-=8);for(r=r<<u|t,s+=u;0<s;n[i+f]=r&255,f+=c,r/=256,s-=8);n[i+f-c]|=128*a}},{}],2:[function(n,t){function u(n){var t;return n&&n.length&&(t=n,n=t.length),n=new Uint8Array(n||0),t&&n.set(t),n.$h=i.$h,n.Zf=i.Zf,n.Sh=i.Sh,n.Ei=i.Ei,n.Nf=i.Nf,n.Di=i.Di,n.Hf=i.Hf,n.Ai=i.Ai,n.toString=i.toString,n.write=i.write,n.slice=i.slice,n.tg=i.tg,n.nj=!0,n}function e(n){for(var f=n.length,i=[],u=0,t,r;u<f;u++){if(t=n.charCodeAt(u),55295<t&&57344>t)if(r)if(56320>t){i.push(239,191,189);r=t;continue}else t=r-55296<<10|t-56320|65536,r=null;else{56319<t||u+1===f?i.push(239,191,189):r=t;continue}else r&&(i.push(239,191,189),r=null);128>t?i.push(t):2048>t?i.push(t>>6|192,t&63|128):65536>t?i.push(t>>12|224,t>>6&63|128,t&63|128):i.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}return i}t.ja=u;var r=n("ieee754"),i,o,f;i={$h:function(n){return(this[n]|this[n+1]<<8|this[n+2]<<16)+16777216*this[n+3]},Zf:function(n,t){this[t]=n;this[t+1]=n>>>8;this[t+2]=n>>>16;this[t+3]=n>>>24},Sh:function(n){return(this[n]|this[n+1]<<8|this[n+2]<<16)+(this[n+3]<<24)},Nf:function(n){return r.read(this,n,!0,23,4)},Hf:function(n){return r.read(this,n,!0,52,8)},Di:function(n,t){return r.write(this,n,t,!0,23,4)},Ai:function(n,t){return r.write(this,n,t,!0,52,8)},toString:function(n,t,i){var r=n="",u;for(i=Math.min(this.length,i||this.length),t=t||0;t<i;t++)u=this[t],127>=u?(n+=decodeURIComponent(r)+String.fromCharCode(u),r=""):r+="%"+u.toString(16);return n+decodeURIComponent(r)},write:function(n,t){for(var r=n===o?f:e(n),i=0;i<r.length;i++)this[t+i]=r[i]},slice:function(n,t){return this.subarray(n,t)},tg:function(n,t){t=t||0;for(var i=0;i<this.length;i++)n[t+i]=this[i]}};i.Ei=i.Zf;u.byteLength=function(n){return o=n,f=e(n),f.length};u.isBuffer=function(n){return!(!n||!n.nj)}},{ieee754:1}],3:[function(n,t){(function(i){function r(n){this.Cb=u.isBuffer(n)?n:new u(n||0);this.da=0;this.length=this.Cb.length}function e(n,t){var r=t.Cb,i;if((i=r[t.da++],n+=268435456*(i&127),128>i)||(i=r[t.da++],n+=34359738368*(i&127),128>i)||(i=r[t.da++],n+=4398046511104*(i&127),128>i)||(i=r[t.da++],n+=562949953421312*(i&127),128>i)||(i=r[t.da++],n+=72057594037927936*(i&127),128>i))return n;if(i=r[t.da++],128>i)return n+0x7fffffffffffffff*(i&127);throw Error("Expected varint not more than 10 bytes");}var u,f;t.ja=r;u=i.Ap||n("./buffer");r.f=0;r.g=1;r.b=2;r.a=5;f=Math.pow(2,63);r.prototype={Lf:function(n,t,i){for(i=i||this.length;this.da<i;){var r=this.Da(),u=this.da;n(r>>3,t,this);this.da===u&&this.op(r)}return t},Bo:function(){var n=this.Cb.Nf(this.da);return this.da+=4,n},xo:function(){var n=this.Cb.Hf(this.da);return this.da+=8,n},Da:function(){var i=this.Cb,t,n;return(n=i[this.da++],t=n&127,128>n)?t:(n=i[this.da++],t|=(n&127)<<7,128>n)?t:(n=i[this.da++],t|=(n&127)<<14,128>n)?t:(n=i[this.da++],t|=(n&127)<<21,128>n?t:e(t,this))},Mo:function(){var r=this.da,n=this.Da(),i,t,u;if(n<f)return n;for(i=this.da-2;255===this.Cb[i];)i--;for(i<r&&(i=r),t=n=0;t<i-r+1;t++)u=~this.Cb[r+t]&127,n=n+(4>t?u<<7*t:u*Math.pow(2,7*t));return-n-1},xd:function(){var n=this.Da();return 1==n%2?(n+1)/-2:n/2},vo:function(){return!!this.Da()},Qf:function(){var n=this.Da()+this.da,t=this.Cb.toString("utf8",this.da,n);return this.da=n,t},op:function(n){if(n&=7,n===r.f)for(;127<this.Cb[this.da++];);else if(n===r.b)this.da=this.Da()+this.da;else if(n===r.a)this.da+=4;else if(n===r.g)this.da+=8;else throw Error("Unimplemented type: "+n);}}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./buffer":2}]},{},[3])(3)});bpt=n.ja}(),function(){var t={},n={ja:t};(function(i){if("object"==typeof t&&"undefined"!=typeof n)n.ja=i();else{var r;r="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this;r.Up=i()}})(function(){return function n(t,i,r){function u(f,o){if(!i[f]){if(!t[f]){var s="function"==typeof require&&require;if(!o&&s)return s(f,!0);if(e)return e(f,!0);s=Error("Cannot find module '"+f+"'");throw s.code="MODULE_NOT_FOUND",s;}s=i[f]={ja:{}};t[f][0].call(s.ja,function(n){var i=t[f][1][n];return u(i?i:n)},s,s.ja,n,t,i,r)}return i[f].ja}for(var e="function"==typeof require&&require,f=0;f<r.length;f++)u(r[f]);return u}({1:[function(n,t){function i(n,t){this.x=n;this.y=t}t.ja=i;i.prototype={clone:function(){return new i(this.x,this.y)},add:function(n){return this.clone().fj(n)},rotate:function(n){return this.clone().qj(n)},round:function(){return this.clone().rj()},angle:function(){return Math.atan2(this.y,this.x)},fj:function(n){return this.x+=n.x,this.y+=n.y,this},qj:function(n){var t=Math.cos(n),i;return n=Math.sin(n),i=n*this.x+t*this.y,this.x=t*this.x-n*this.y,this.y=i,this},rj:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}};i.b=function(n){return n instanceof i?n:Array.isArray(n)?new i(n[0],n[1]):n}},{}],2:[function(n,t){t.ja.ej=n("./lib/vectortile.js");t.ja.Np=n("./lib/vectortilefeature.js");t.ja.Op=n("./lib/vectortilelayer.js")},{"./lib/vectortile.js":3,"./lib/vectortilefeature.js":4,"./lib/vectortilelayer.js":5}],3:[function(n,t){function i(n,t,i){3===n&&(n=new r(i,i.Da()+i.da),n.length&&(t[n.name]=n))}var r=n("./vectortilelayer");t.ja=function(n,t){this.layers=n.Lf(i,{},t)}},{"./vectortilelayer":5}],4:[function(n,t){function i(n,t,i,u,f){this.properties={};this.extent=i;this.type=0;this.qc=n;this.Qe=-1;this.Id=u;this.Kd=f;n.Lf(r,this,t)}function r(n,t,i){if(1==n)t.Qp=i.Da();else if(2==n)for(n=i.Da()+i.da;i.da<n;){var r=t.Id[i.Da()],u=t.Kd[i.Da()];t.properties[r]=u}else 3==n?t.type=i.Da():4==n&&(t.Qe=i.da)}var u=n("point-geometry");t.ja=i;i.b=["Unknown","Point","LineString","Polygon"];i.prototype.Vg=function(){var t=this.qc;t.da=this.Qe;for(var s=t.Da()+t.da,i=1,r=0,e=0,o=0,f=[],n;t.da<s;)if(r||(r=t.Da(),i=r&7,r>>=3),r--,1===i||2===i)e+=t.xd(),o+=t.xd(),1===i&&(n&&f.push(n),n=[]),n.push(new u(e,o));else if(7===i)n&&n.push(n[0].clone());else throw Error("unknown command "+i);return n&&f.push(n),f};i.prototype.bbox=function(){var n=this.qc;n.da=this.Qe;for(var h=n.Da()+n.da,t=1,i=0,r=0,u=0,f=Infinity,e=-Infinity,o=Infinity,s=-Infinity;n.da<h;)if(i||(i=n.Da(),t=i&7,i>>=3),i--,1===t||2===t)r+=n.xd(),u+=n.xd(),r<f&&(f=r),r>e&&(e=r),u<o&&(o=u),u>s&&(s=u);else if(7!==t)throw Error("unknown command "+t);return[f,o,e,s]}},{"point-geometry":1}],5:[function(n,t){function i(n,t){this.version=1;this.name=null;this.extent=4096;this.length=0;this.qc=n;this.Id=[];this.Kd=[];this.Hd=[];n.Lf(r,this,t);this.length=this.Hd.length}function r(n,t,i){15===n?t.version=i.Da():1===n?t.name=i.Qf():5===n?t.extent=i.Da():2===n?t.Hd.push(i.da):3===n?t.Id.push(i.Qf()):4===n&&t.Kd.push(u(i))}function u(n){for(var t=null,i=n.Da()+n.da;n.da<i;)t=n.Da()>>3,t=1===t?n.Qf():2===t?n.Bo():3===t?n.xo():4===t?n.Mo():5===t?n.Da():6===t?n.xd():7===t?n.vo():null;return t}var f=n("./vectortilefeature.js");t.ja=i;i.prototype.feature=function(n){if(0>n||n>=this.Hd.length)throw Error("feature index out of bounds");return this.qc.da=this.Hd[n],n=this.qc.Da()+this.qc.da,new f(this.qc,n,this.extent,this.Id,this.Kd)}},{"./vectortilefeature.js":4}]},{},[2])(2)});kpt=n.ja}();r(oc,kk);oc.prototype.X=function(){return"arraybuffer"};oc.prototype.Fa=function(n,t){var w=this.f,y=new bpt(n),y=new kpt.ej(y),b=[],g=this.b,p,u,c,v,k,i,f,r,h;for(c in y.layers)if(!w||-1!=w.indexOf(c))for(p=y.layers[c],v=0,k=p.length;v<k;++v){if(g===ps){i=p.feature(v);u=c;var e=i.Vg(),o=[],s=[];cgt(e,s,o);f=i.type;r=void 0;1===f?r=1===e.length?"Point":"MultiPoint":2===f?r=1===e.length?"LineString":"MultiLineString":3===f&&(r="Polygon");i=i.properties;i[this.a]=u;u=new this.b(r,s,o,i)}else i=p.feature(v),r=c,s=t,u=new this.b,o=i.properties,o[this.a]=r,r=i.type,0===r?r=null:(i=i.Vg(),e=[],f=[],cgt(i,f,e),h=void 0,1===r?h=1===i.length?new tt(null):new ut(null):2===r?h=1===i.length?new a(null):new d(null):3===r&&(h=new l(null)),h.ba("XY",f,e),r=h),(s=ee(r,!1,ro(this,s)))&&(o[this.g]=s),u.G(o),u.Ec(this.g);b.push(u)}return b};oc.prototype.Oa=function(){return this.defaultDataProjection};oc.prototype.c=function(n){this.f=n};r(ist,kn);r(ud,ist);r(rst,ud);r(ust,ud);r(fst,ist);r(est,kn);r(bl,kn);r(fh,bl);r(ost,fh);r(sst,fh);r(hst,fh);r(cst,fh);r(lst,fh);r(ast,fh);r(vst,bl);r(yst,bl);r(pst,bl);r(yy,ih);var wst=[null],nli=o(wst,{nd:function(n,t){t[t.length-1].Rc.push(n.getAttribute("ref"))},tag:vgt}),tli=o(wst,{node:function(n,t){var i=t[0],f=t[t.length-1],e=n.getAttribute("id"),r=[parseFloat(n.getAttribute("lon")),parseFloat(n.getAttribute("lat"))],u;f.Zg[e]=r;u=s({Cd:{}},ili,n,t);co(u.Cd)||(r=new tt(r),ee(r,!1,i),i=new ft(r),i.mc(e),i.G(u.Cd),f.features.push(i))},way:function(n,t){for(var u=t[0],o=n.getAttribute("id"),r=s({Rc:[],Cd:{}},nli,n,t),e=t[t.length-1],f=[],i=0,h=r.Rc.length;i<h;i++)bf(f,e.Zg[r.Rc[i]]);r.Rc[0]==r.Rc[r.Rc.length-1]?(i=new l(null),i.ba("XY",f,[f.length])):(i=new a(null),i.ba("XY",f));ee(i,!1,u);u=new ft(i);u.mc(o);u.G(r.Cd);e.features.push(u)}}),ili=o(wst,{tag:vgt});yy.prototype.lc=function(n,t){var i=yh(this,n,t);return"osm"==n.localName&&(i=s({Zg:{},features:[]},tli,n,[i]),i.features)?i.features:[]};dn.prototype.read=function(n){return fa(n)?this.a(n):ea(n)?this.b(n):"string"==typeof n?(n=tl(n),this.a(n)):null};r(gn,dn);gn.prototype.a=function(n){for(n=n.firstChild;n;n=n.nextSibling)if(n.nodeType==Node.ELEMENT_NODE)return this.b(n);return null};gn.prototype.b=function(n){return(n=s({},rli,n,[]))?n:null};var eh=[null,"http://www.opengis.net/ows/1.1"],rli=o(eh,{ServiceIdentification:u(function(n,t){return s({},pli,n,t)}),ServiceProvider:u(function(n,t){return s({},wli,n,t)}),OperationsMetadata:u(function(n,t){return s({},lli,n,t)})}),uli=o(eh,{DeliveryPoint:u(c),City:u(c),AdministrativeArea:u(c),PostalCode:u(c),Country:u(c),ElectronicMailAddress:u(c)}),fli=o(eh,{Value:df(function(n){return c(n)})}),eli=o(eh,{AllowedValues:u(function(n,t){return s({},fli,n,t)})}),oli=o(eh,{Phone:u(function(n,t){return s({},ali,n,t)}),Address:u(function(n,t){return s({},uli,n,t)})}),sli=o(eh,{HTTP:u(function(n,t){return s({},hli,n,t)})}),hli=o(eh,{Get:df(function(n,t){var i=bw(n);if(i)return s({href:i},vli,n,t)}),Post:void 0}),cli=o(eh,{DCP:u(function(n,t){return s({},sli,n,t)})}),lli=o(eh,{Operation:function(n,t){var r=n.getAttribute("name"),i=s({},cli,n,t);i&&(t[t.length-1][r]=i)}}),ali=o(eh,{Voice:u(c),Facsimile:u(c)}),vli=o(eh,{Constraint:df(function(n,t){var i=n.getAttribute("name");if(i)return s({name:i},eli,n,t)})}),yli=o(eh,{IndividualName:u(c),PositionName:u(c),ContactInfo:u(function(n,t){return s({},oli,n,t)})}),pli=o(eh,{Title:u(c),ServiceTypeVersion:u(c),ServiceType:u(c)}),wli=o(eh,{ProviderName:u(c),ProviderSite:u(bw),ServiceContact:u(function(n,t){return s({},yli,n,t)})});r(ph,nd);n=ph.prototype;n.ud=function(n,t){var i=this.wd(n,t);return new ft(i)};n.Kf=function(n,t){return[this.ud(n,t)]};n.wd=function(n,t){var i=uit(this.a),r=wgt(n,i,this.b);return ygt(r,r.length,i,r),i=hb(r,0,r.length,i),ee(new a(i,this.a),!1,ro(this,t))};n.He=function(n,t){var i=n.W();return i?this.Ed(i,t):""};n.Ci=function(n,t){return this.He(n[0],t)};n.Ed=function(n,t){n=ee(n,!0,ro(this,t));var i=n.la(),r=n.va();return ygt(i,i.length,r,i),pgt(i,r,this.b)};r(ov,dk);ov.prototype.Jf=function(n,t){var i,o,s,h,u,r,c;if("Topology"==n.type){if(o=null,s=null,n.transform&&(i=n.transform,o=i.scale,s=i.translate),h=n.arcs,i)for(i=o,u=s,r=0,c=h.length;r<c;++r)for(var f=h[r],p=i,w=u,a=0,v=0,e,l=0,y=f.length;l<y;++l)e=f[l],a+=e[0],v+=e[1],e[0]=a,e[1]=v,bst(e,p,w);for(i=[],u=vd(n.objects),r=0,c=u.length;r<c;++r)"GeometryCollection"===u[r].type?(f=u[r],i.push.apply(i,bli(f,h,o,s,t))):(f=u[r],i.push(dgt(f,h,o,s,t)));return i}return[]};ov.prototype.Oa=function(){return this.defaultDataProjection};ggt={Point:function(n,t,i){return n=n.coordinates,t&&i&&bst(n,t,i),new tt(n)},LineString:function(n,t){var i=ntt(n.arcs,t);return new a(i)},Polygon:function(n,t){for(var r=[],i=0,u=n.arcs.length;i<u;++i)r[i]=ntt(n.arcs[i],t);return new l(r)},MultiPoint:function(n,t,i){n=n.coordinates;var r,u;if(t&&i)for(r=0,u=n.length;r<u;++r)bst(n[r],t,i);return new ut(n)},MultiLineString:function(n,t){for(var r=[],i=0,u=n.arcs.length;i<u;++i)r[i]=ntt(n.arcs[i],t);return new d(r)},MultiPolygon:function(n,t){for(var e=[],u,f,i,o,r=0,s=n.arcs.length;r<s;++r){for(u=n.arcs[r],f=[],i=0,o=u.length;i<o;++i)f[i]=ntt(u[i],t);e[r]=f}return new it(e)}};r(we,ih);we.prototype.lc=function(n,t){var i={featureType:this.i,featureNS:this.g};return sr(i,yh(this,n,t?t:{})),i=[i],this.b.b["http://www.opengis.net/gml"].featureMember=nu(tu.prototype.vd),(i=s([],this.b.b,n,i,this.b))||(i=[]),i};we.prototype.o=function(n){return fa(n)?unt(n):ea(n)?s({},rnt,n,[]):"string"==typeof n?(n=tl(n),unt(n)):void 0};we.prototype.l=function(n){return fa(n)?nnt(this,n):ea(n)?int(this,n):"string"==typeof n?(n=tl(n),nnt(this,n)):void 0};tnt={"http://www.opengis.net/gml":{boundedBy:u(tu.prototype.ye,"bounds")}};var kli={"http://www.opengis.net/wfs":{totalInserted:u(rh),totalUpdated:u(rh),totalDeleted:u(rh)}},dli={"http://www.opengis.net/ogc":{FeatureId:nu(function(n){return n.getAttribute("fid")})}},gli={"http://www.opengis.net/wfs":{Feature:function(n,t){ec(dli,n,t)}}},rnt={"http://www.opengis.net/wfs":{TransactionSummary:u(function(n,t){return s({},kli,n,t)},"transactionSummary"),InsertResults:u(function(n,t){return s([],gli,n,t)},"insertIds")}};fnt={"http://www.opengis.net/wfs":{PropertyName:f(eu)}};kw={"http://www.opengis.net/wfs":{Insert:f(function(n,t,i){var r=i[i.length-1],r=hf(r.featureNS,r.featureType);n.appendChild(r);st.prototype.Bi(r,t,i)}),Update:f(function(n,t,i){var u=i[i.length-1],f=u.featureType,r=u.featurePrefix,r=r?r:"feature",e=u.featureNS,s;if(n.setAttribute("typeName",r+":"+f),n.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:"+r,e),f=t.Xa(),void 0!==f){for(var r=t.N(),e=[],o=0,h=r.length;o<h;o++)s=t.get(r[o]),void 0!==s&&e.push({name:r[o],value:s});yr({node:n,srsName:u.srsName},kw,te("Property"),e,i);ent(n,f)}}),Delete:f(function(n,t,i){var r=i[i.length-1];i=r.featureType;var u=r.featurePrefix,u=u?u:"feature",r=r.featureNS;n.setAttribute("typeName",u+":"+i);n.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:"+u,r);t=t.Xa();void 0!==t&&ent(n,t)}),Property:f(function(n,t,i){var r=hf("http://www.opengis.net/wfs","Name");n.appendChild(r);eu(r,t.name);void 0!==t.value&&null!==t.value&&(r=hf("http://www.opengis.net/wfs","Value"),n.appendChild(r),t.value instanceof nr?st.prototype.Je(r,t.value,i):eu(r,t.value))}),Native:f(function(n,t){t.wp&&n.setAttribute("vendorId",t.wp);void 0!==t.Yo&&n.setAttribute("safeToIgnore",t.Yo);void 0!==t.value&&eu(n,t.value)})}};gw={"http://www.opengis.net/wfs":{Query:f(function(n,t,i){var r=i[i.length-1],f=r.featurePrefix,e=r.featureNS,u=r.propertyNames,o=r.srsName;n.setAttribute("typeName",(f?f+":":"")+t);o&&n.setAttribute("srsName",o);e&&n.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:"+f,e);t=sr({},r);t.node=n;yr(t,fnt,te("PropertyName"),u,i);(r=r.filter)&&(u=hf("http://www.opengis.net/ogc","Filter"),n.appendChild(u),yr({node:u},gw,te(r.Wb),[r],i))})},"http://www.opengis.net/ogc":{And:f(ont),Or:f(ont),Not:f(function(n,t,i){t=t.condition;yr({node:n},gw,te(t.Wb),[t],i)}),BBOX:f(function(n,t,i){i[i.length-1].srsName=t.srsName;ed(n,t.geometryName);st.prototype.Je(n,t.extent,i)}),PropertyIsEqualTo:f(dw),PropertyIsNotEqualTo:f(dw),PropertyIsLessThan:f(dw),PropertyIsLessThanOrEqualTo:f(dw),PropertyIsGreaterThan:f(dw),PropertyIsGreaterThanOrEqualTo:f(dw),PropertyIsNull:f(function(n,t){ed(n,t.b)}),PropertyIsBetween:f(function(n,t){ed(n,t.b);fd("LowerBoundary",n,""+t.a);fd("UpperBoundary",n,""+t.g)}),PropertyIsLike:f(function(n,t){n.setAttribute("wildCard",t.i);n.setAttribute("singleChar",t.c);n.setAttribute("escapeChar",t.g);void 0!==t.a&&n.setAttribute("matchCase",t.a.toString());ed(n,t.b);fd("Literal",n,""+t.f)})}};we.prototype.j=function(n){var t=hf("http://www.opengis.net/wfs","GetFeature"),i,r;return t.setAttribute("service","WFS"),t.setAttribute("version","1.1.0"),n&&(n.handle&&t.setAttribute("handle",n.handle),n.outputFormat&&t.setAttribute("outputFormat",n.outputFormat),void 0!==n.maxFeatures&&t.setAttribute("maxFeatures",n.maxFeatures),n.resultType&&t.setAttribute("resultType",n.resultType),void 0!==n.startIndex&&t.setAttribute("startIndex",n.startIndex),void 0!==n.count&&t.setAttribute("count",n.count),i=n.filter,n.bbox)&&(r=agt(n.geometryName,n.bbox,n.srsName),i=i?lgt(i,r):r),t.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",this.c),r=n.featureTypes,n=[{node:t,srsName:n.srsName,featureNS:n.featureNS?n.featureNS:this.g,featurePrefix:n.featurePrefix,geometryName:n.geometryName,filter:i,propertyNames:n.propertyNames?n.propertyNames:[]}],i=sr({},n[n.length-1]),i.node=t,yr(i,gw,te("Query"),r,n),t};we.prototype.U=function(n,t,i,r){var e=[],u=hf("http://www.opengis.net/wfs","Transaction"),o,f;return u.setAttribute("service","WFS"),u.setAttribute("version","1.1.0"),r&&(o=r.gmlOptions?r.gmlOptions:{},r.handle&&u.setAttribute("handle",r.handle)),u.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",this.c),n&&(f={node:u,featureNS:r.featureNS,featureType:r.featureType,featurePrefix:r.featurePrefix,srsName:r.srsName},sr(f,o),yr(f,kw,te("Insert"),n,e)),t&&(f={node:u,featureNS:r.featureNS,featureType:r.featureType,featurePrefix:r.featurePrefix,srsName:r.srsName},sr(f,o),yr(f,kw,te("Update"),t,e)),i&&yr({node:u,featureNS:r.featureNS,featureType:r.featureType,featurePrefix:r.featurePrefix,srsName:r.srsName},kw,te("Delete"),i,e),r.nativeElements&&yr({node:u,featureNS:r.featureNS,featureType:r.featureType,featurePrefix:r.featurePrefix,srsName:r.srsName},kw,te("Native"),r.nativeElements,e),u};we.prototype.Pf=function(n){for(n=n.firstChild;n;n=n.nextSibling)if(n.nodeType==Node.ELEMENT_NODE)return this.Be(n);return null};we.prototype.Be=function(n){if(n.firstElementChild&&n.firstElementChild.firstElementChild)for(n=n.firstElementChild.firstElementChild,n=n.firstElementChild;n;n=n.nextElementSibling)if(0!==n.childNodes.length&&(1!==n.childNodes.length||3!==n.firstChild.nodeType)){var t=[{}];return this.b.ye(n,t),yi(t.pop().srsName)}return null};r(bs,nd);lnt={Point:snt,LineString:kst,Polygon:hnt,MultiPoint:function(n){var i=[],t,r;for(n=n.je(),t=0,r=n.length;t<r;++t)i.push("("+snt(n[t])+")");return i.join(",")},MultiLineString:function(n){var i=[],t,r;for(n=n.md(),t=0,r=n.length;t<r;++t)i.push("("+kst(n[t])+")");return i.join(",")},MultiPolygon:function(n){var i=[],t,r;for(n=n.Wd(),t=0,r=n.length;t<r;++t)i.push("("+hnt(n[t])+")");return i.join(",")},GeometryCollection:function(n){var i=[],t,r;for(n=n.ff(),t=0,r=n.length;t<r;++t)i.push(cnt(n[t]));return i.join(",")}};n=bs.prototype;n.ud=function(n,t){var r=this.wd(n,t),i;return r?(i=new ft,i.Ua(r),i):null};n.Kf=function(n,t){var r=[],i=this.wd(n,t);r=this.b&&"GeometryCollection"==i.X()?i.c:[i];for(var f=[],u=0,e=r.length;u<e;++u)i=new ft,i.Ua(r[u]),f.push(i);return f};n.wd=function(n,t){var i;return i=new sv(new nai(n)),i.b=ttt(i.a),(i=ant(i))?ee(i,!1,t):null};n.He=function(n,t){var i=n.W();return i?this.Ed(i,t):""};n.Ci=function(n,t){if(1==n.length)return this.He(n[0],t);for(var i=[],r=0,u=n.length;r<u;++r)i.push(n[r].W());return i=new ni(i),this.Ed(i,t)};n.Ed=function(n,t){return cnt(ee(n,!0,t))};n=sv.prototype;n.match=function(n){return(n=this.b.type==n)&&(this.b=ttt(this.a)),n};n.Ef=function(){if(this.match(2)){var n=dst(this);if(this.match(3))return n}else if(py(this))return null;throw Error(ca(this));};n.Df=function(){if(this.match(2)){var n=vnt(this);if(this.match(3))return n}else if(py(this))return[];throw Error(ca(this));};n.Ff=function(){if(this.match(2)){var n=ynt(this);if(this.match(3))return n}else if(py(this))return[];throw Error(ca(this));};n.io=function(){if(this.match(2)){var n;if(2==this.b.type)for(n=[this.Ef()];this.match(5);)n.push(this.Ef());else n=vnt(this);if(this.match(3))return n}else if(py(this))return[];throw Error(ca(this));};n.ho=function(){if(this.match(2)){var n=ynt(this);if(this.match(3))return n}else if(py(this))return[];throw Error(ca(this));};n.jo=function(){if(this.match(2)){for(var n=[this.Ff()];this.match(5);)n.push(this.Ff());if(this.match(3))return n}else if(py(this))return[];throw Error(ca(this));};pnt={POINT:tt,LINESTRING:a,POLYGON:l,MULTIPOINT:ut,MULTILINESTRING:d,MULTIPOLYGON:it};wnt={POINT:sv.prototype.Ef,LINESTRING:sv.prototype.Df,POLYGON:sv.prototype.Ff,MULTIPOINT:sv.prototype.io,MULTILINESTRING:sv.prototype.ho,MULTIPOLYGON:sv.prototype.jo};r(nb,dn);nb.prototype.a=function(n){for(n=n.firstChild;n;n=n.nextSibling)if(n.nodeType==Node.ELEMENT_NODE)return this.b(n);return null};nb.prototype.b=function(n){return this.version=n.getAttribute("version").trim(),(n=s({version:this.version},tai,n,[]))?n:null};var is=[null,"http://www.opengis.net/wms"],tai=o(is,{Service:u(function(n,t){return s({},rai,n,t)}),Capability:u(function(n,t){return s({},iai,n,t)})}),iai=o(is,{Request:u(function(n,t){return s({},cai,n,t)}),Exception:u(function(n,t){return s([],oai,n,t)}),Layer:u(function(n,t){return s({},dnt,n,t)})}),rai=o(is,{Name:u(c),Title:u(c),Abstract:u(c),KeywordList:u(knt),OnlineResource:u(bw),ContactInformation:u(function(n,t){return s({},uai,n,t)}),Fees:u(c),AccessConstraints:u(c),LayerLimit:u(rh),MaxWidth:u(rh),MaxHeight:u(rh)}),uai=o(is,{ContactPersonPrimary:u(function(n,t){return s({},fai,n,t)}),ContactPosition:u(c),ContactAddress:u(function(n,t){return s({},eai,n,t)}),ContactVoiceTelephone:u(c),ContactFacsimileTelephone:u(c),ContactElectronicMailAddress:u(c)}),fai=o(is,{ContactPerson:u(c),ContactOrganization:u(c)}),eai=o(is,{AddressType:u(c),Address:u(c),City:u(c),StateOrProvince:u(c),PostCode:u(c),Country:u(c)}),oai=o(is,{Format:nu(c)}),dnt=o(is,{Name:u(c),Title:u(c),Abstract:u(c),KeywordList:u(knt),CRS:df(c),EX_GeographicBoundingBox:u(function(n,t){var i=s({},hai,n,t);if(i){var r=i.westBoundLongitude,u=i.southBoundLatitude,f=i.eastBoundLongitude,i=i.northBoundLatitude;return void 0===r||void 0===u||void 0===f||void 0===i?void 0:[r,u,f,i]}}),BoundingBox:df(function(n){var t=[oa(n.getAttribute("minx")),oa(n.getAttribute("miny")),oa(n.getAttribute("maxx")),oa(n.getAttribute("maxy"))],i=[oa(n.getAttribute("resx")),oa(n.getAttribute("resy"))];return{crs:n.getAttribute("CRS"),extent:t,res:i}}),Dimension:df(function(n){return{name:n.getAttribute("name"),units:n.getAttribute("units"),unitSymbol:n.getAttribute("unitSymbol"),"default":n.getAttribute("default"),multipleValues:ay(n.getAttribute("multipleValues")),nearestValue:ay(n.getAttribute("nearestValue")),current:ay(n.getAttribute("current")),values:c(n)}}),Attribution:u(function(n,t){return s({},sai,n,t)}),AuthorityURL:df(function(n,t){var i=la(n,t);if(i)return i.name=n.getAttribute("name"),i}),Identifier:df(c),MetadataURL:df(function(n,t){var i=la(n,t);if(i)return i.type=n.getAttribute("type"),i}),DataURL:df(la),FeatureListURL:df(la),Style:df(function(n,t){return s({},yai,n,t)}),MinScaleDenominator:u(he),MaxScaleDenominator:u(he),Layer:df(function(n,t){var u=t[t.length-1],r=s({},dnt,n,t),i;if(r)return i=ay(n.getAttribute("queryable")),void 0===i&&(i=u.queryable),r.queryable=void 0!==i?i:!1,i=rl(n.getAttribute("cascaded")),void 0===i&&(i=u.cascaded),r.cascaded=i,i=ay(n.getAttribute("opaque")),void 0===i&&(i=u.opaque),r.opaque=void 0!==i?i:!1,i=ay(n.getAttribute("noSubsets")),void 0===i&&(i=u.noSubsets),r.noSubsets=void 0!==i?i:!1,(i=oa(n.getAttribute("fixedWidth")))||(i=u.fixedWidth),r.fixedWidth=i,(i=oa(n.getAttribute("fixedHeight")))||(i=u.fixedHeight),r.fixedHeight=i,["Style","CRS","AuthorityURL"].forEach(function(n){n in u&&(r[n]=(r[n]||[]).concat(u[n]))}),"EX_GeographicBoundingBox BoundingBox Dimension Attribution MinScaleDenominator MaxScaleDenominator".split(" ").forEach(function(n){n in r||(r[n]=u[n])}),r})}),sai=o(is,{Title:u(c),OnlineResource:u(bw),LogoURL:u(bnt)}),hai=o(is,{westBoundLongitude:u(he),eastBoundLongitude:u(he),southBoundLatitude:u(he),northBoundLatitude:u(he)}),cai=o(is,{GetCapabilities:u(gst),GetMap:u(gst),GetFeatureInfo:u(gst)}),lai=o(is,{Format:df(c),DCPType:df(function(n,t){return s({},aai,n,t)})}),aai=o(is,{HTTP:u(function(n,t){return s({},vai,n,t)})}),vai=o(is,{Get:u(la),Post:u(la)}),yai=o(is,{Name:u(c),Title:u(c),Abstract:u(c),LegendURL:df(bnt),StyleSheetURL:u(la),StyleURL:u(la)}),pai=o(is,{Format:u(c),OnlineResource:u(bw)}),wai=o(is,{Keyword:nu(c)});r(od,ih);od.prototype.lc=function(n,t){var i={},f,c,h,a,r,u,e,l;if(t&&sr(i,yh(this,n,t)),f=[i],n.setAttribute("namespaceURI",this.g),c=n.localName,i=[],0!==n.childNodes.length){if("msGMLOutput"==c)for(h=0,a=n.childNodes.length;h<a;h++)r=n.childNodes[h],r.nodeType===Node.ELEMENT_NODE&&(u=f[0],e=r.localName.replace("_layer",""),(!this.c||po(this.c,e))&&(e+="_feature",u.featureType=e,u.featureNS=this.g,l={},l[e]=nu(this.b.If,this.b),u=o([u.featureNS,null],l),r.setAttribute("namespaceURI",this.g),(r=s([],u,r,f,this.b))&&bf(i,r)));"FeatureCollection"==c&&(f=s([],this.b.b,n,[{}],this.b))&&(i=f)}return i};r(tb,dn);tb.prototype.a=function(n){for(n=n.firstChild;n;n=n.nextSibling)if(n.nodeType==Node.ELEMENT_NODE)return this.b(n);return null};tb.prototype.b=function(n){var i=n.getAttribute("version").trim(),t=this.g.b(n);return t?(t.version=i,(t=s(t,bai,n,[]))?t:null):null};var hv=[null,"http://www.opengis.net/wmts/1.0"],ib=[null,"http://www.opengis.net/ows/1.1"],bai=o(hv,{Contents:u(function(n,t){return s({},kai,n,t)})}),kai=o(hv,{Layer:df(function(n,t){return s({},dai,n,t)}),TileMatrixSet:df(function(n,t){return s({},rvi,n,t)})}),dai=o(hv,{Style:df(function(n,t){var i=s({},gai,n,t),r;if(i)return r="true"===n.getAttribute("isDefault"),i.isDefault=r,i}),Format:df(c),TileMatrixSetLink:df(function(n,t){return s({},nvi,n,t)}),Dimension:df(function(n,t){return s({},tvi,n,t)}),ResourceURL:df(function(n){var i=n.getAttribute("format"),r=n.getAttribute("template"),t;return n=n.getAttribute("resourceType"),t={},i&&(t.format=i),r&&(t.template=r),n&&(t.resourceType=n),t})},o(ib,{Title:u(c),Abstract:u(c),WGS84BoundingBox:u(function(n,t){var i=s([],ivi,n,t);if(2==i.length)return eo(i)}),Identifier:u(c)})),gai=o(hv,{LegendURL:df(function(n){var t={};return t.format=n.getAttribute("format"),t.href=bw(n),t})},o(ib,{Title:u(c),Identifier:u(c)})),nvi=o(hv,{TileMatrixSet:u(c)}),tvi=o(hv,{Default:u(c),Value:df(c)},o(ib,{Identifier:u(c)})),ivi=o(ib,{LowerCorner:nu(nht),UpperCorner:nu(nht)}),rvi=o(hv,{WellKnownScaleSet:u(c),TileMatrix:df(function(n,t){return s({},uvi,n,t)})},o(ib,{SupportedCRS:u(c),Identifier:u(c)})),uvi=o(hv,{TopLeftCorner:u(nht),ScaleDenominator:u(he),TileWidth:u(rh),TileHeight:u(rh),MatrixWidth:u(rh),MatrixHeight:u(rh)},o(ib,{Identifier:u(c)}));r(li,si);n=li.prototype;n.ka=function(){this.ge(!1);si.prototype.ka.call(this)};n.Nl=function(){var n=this.ah();n&&(this.c=va(yi("EPSG:4326"),n),this.a&&this.set("position",this.c(this.a)))};n.Ol=function(){if(nvt){var n=this.bh();n&&void 0===this.f?this.f=tr.navigator.geolocation.watchPosition(this.qo.bind(this),this.ro.bind(this),this.Mg()):n||void 0===this.f||(tr.navigator.geolocation.clearWatch(this.f),this.f=void 0)}};n.qo=function(n){n=n.coords;this.set("accuracy",n.accuracy);this.set("altitude",null===n.altitude?void 0:n.altitude);this.set("altitudeAccuracy",null===n.altitudeAccuracy?void 0:n.altitudeAccuracy);this.set("heading",null===n.heading?void 0:as(n.heading));this.a?(this.a[0]=n.longitude,this.a[1]=n.latitude):this.a=[n.longitude,n.latitude];var t=this.c(this.a);this.set("position",t);this.set("speed",null===n.speed?void 0:n.speed);n=slt(eft,this.a,n.accuracy);n.rc(this.c);this.set("accuracyGeometry",n);this.u()};n.ro=function(n){n.type="error";this.ge(!1);this.b(n)};n.Mj=function(){return this.get("accuracy")};n.Nj=function(){return this.get("accuracyGeometry")||null};n.Pj=function(){return this.get("altitude")};n.Qj=function(){return this.get("altitudeAccuracy")};n.Ll=function(){return this.get("heading")};n.Ml=function(){return this.get("position")};n.ah=function(){return this.get("projection")};n.wk=function(){return this.get("speed")};n.bh=function(){return this.get("tracking")};n.Mg=function(){return this.get("trackingOptions")};n.dh=function(n){this.set("projection",n)};n.ge=function(n){this.set("tracking",n)};n.si=function(n){this.set("trackingOptions",n)};r(pt,lt);n=pt.prototype;n.clone=function(){var n=new pt(null),t=this.B.slice();return ll(n,this.f,t),n.u(),n};n.sb=function(n,t,i,r){var u=this.B,f;if(n-=u[0],f=t-u[1],t=n*n+f*f,t<r){if(0===t)for(r=0;r<this.a;++r)i[r]=u[r];else for(r=this.wf()/Math.sqrt(t),i[0]=u[0]+r*n,i[1]=u[1]+r*f,r=2;r<this.a;++r)i[r]=u[r];return i.length=this.a,t}return r};n.Bc=function(n,t){var i=this.B,r=n-i[0],i=t-i[1];return r*r+i*i<=gnt(this)};n.rd=function(){return this.B.slice(0,this.a)};n.Od=function(n){var t=this.B,i=t[this.a]-t[0];return ac(t[0]-i,t[1]-i,t[0]+i,t[1]+i,n)};n.wf=function(){return Math.sqrt(gnt(this))};n.X=function(){return"Circle"};n.Ka=function(n){var t=this.H();return oo(n,t)?(t=this.rd(),n[0]<=t[0]&&n[2]>=t[0]||n[1]<=t[1]&&n[3]>=t[1]?!0:vct(n,this.sg,this)):!1};n.jm=function(n){var i=this.a,t=this.B[i]-this.B[0],r=n.slice();for(r[i]=r[0]+t,t=1;t<i;++t)r[i+t]=n[t];ll(this,this.f,r);this.u()};n.Vf=function(n,t,i){if(n){pa(this,i,n,0);this.B||(this.B=[]);i=this.B;n=tlt(i,n);i[n++]=i[0]+t;var r;for(t=1,r=this.a;t<r;++t)i[n++]=i[t];i.length=n}else ll(this,"XY",null);this.u()};n.km=function(n){this.B[this.a]=this.B[0]+n;this.u()};tti=new rf({color:"rgba(0,0,0,0.2)"});itt=[90,45,30,20,10,5,2,1,.5,.2,.1,.05,.01,.005,.002,.001];n=kl.prototype;n.Pl=function(){return this.o};n.ik=function(){return this.b};n.qk=function(){return this.a};n.Rg=function(n){var v=n.vectorContext,t=n.frameState,o=t.extent;n=t.viewState;var f=n.center,i=n.projection,r=n.resolution;if(n=t.pixelRatio,n=r*r/(4*n*n),!this.c||!nc(this.c,i)){var u=yi("EPSG:4326"),s=i.H(),c=i.i,a=op(c,u,i),e=c[2],h=c[1],l=c[0],y=a[3],p=a[2],w=a[1],a=a[0];this.i=c[3];this.g=e;this.l=h;this.f=l;this.U=y;this.A=p;this.C=w;this.D=a;this.j=gl(u,i);this.v=gl(i,u);this.s=this.v(gh(s));this.c=i}for(i.a&&(i=i.H(),u=ef(i),t=t.focus[0],t<i[0]||t>i[2])&&(t=u*Math.ceil((i[0]-t)/u),o=[o[0]+t,o[1],o[2]+t,o[3]]),t=this.s[0],i=this.s[1],u=-1,c=Math.pow(this.Ba*r,2),e=[],h=[],r=0,s=itt.length;r<s;++r){if(l=itt[r]/2,e[0]=t-l,e[1]=i-l,h[0]=t+l,h[1]=i+l,this.j(e,e),this.j(h,h),l=Math.pow(h[0]-e[0],2)+Math.pow(h[1]-e[1],2),l<=c)break;u=itt[r]}if(r=u,-1==r)this.b.length=this.a.length=0;else{for(t=this.v(f),f=t[0],t=t[1],i=this.R,u=[Math.max(o[0],this.D),Math.max(o[1],this.C),Math.min(o[2],this.A),Math.min(o[3],this.U)],u=op(u,this.c,"EPSG:4326"),c=u[3],h=u[1],f=Math.floor(f/r)*r,e=uo(f,this.f,this.g),s=tht(this,e,h,c,n,o,0),u=0;e!=this.f&&u++<i;)e=Math.max(e-r,this.f),s=tht(this,e,h,c,n,o,s);for(e=uo(f,this.f,this.g),u=0;e!=this.g&&u++<i;)e=Math.min(e+r,this.g),s=tht(this,e,h,c,n,o,s);for(this.b.length=s,t=Math.floor(t/r)*r,f=uo(t,this.l,this.i),s=iht(this,f,n,o,0),u=0;f!=this.l&&u++<i;)f=Math.max(f-r,this.l),s=iht(this,f,n,o,s);for(f=uo(t,this.l,this.i),u=0;f!=this.i&&u++<i;)f=Math.min(f+r,this.i),s=iht(this,f,n,o,s);this.a.length=s}for(v.Sb(null,this.ya),n=0,f=this.b.length;n<f;++n)r=this.b[n],v.hd(r,null);for(n=0,f=this.a.length;n<f;++n)r=this.a[n],v.hd(r,null)};n.setMap=function(n){this.o&&(this.o.J("postcompose",this.Rg,this),this.o.render());n&&(n.I("postcompose",this.Rg,this),n.render());this.o=n};r(wh,gc);wh.prototype.a=function(n){if(void 0!==n){var t;return(n=nt(n),n in this.i)?this.i[n]:(t=co(this.i)?this.g:this.g.cloneNode(!1),this.i[n]=t)}return this.g};wh.prototype.s=function(){this.state=3;this.c.forEach(cu);this.c=null;ey(this)};wh.prototype.v=function(){void 0===this.resolution&&(this.resolution=be(this.extent)/this.g.height);this.state=2;this.c.forEach(cu);this.c=null;ey(this)};wh.prototype.load=function(){(0==this.state||3==this.state)&&(this.state=1,ey(this),this.c=[sl(this.g,"error",this.s,this),sl(this.g,"load",this.v,this)],this.o(this,this.j))};r(sc,ke);n=sc.prototype;n.ka=function(){1==this.state&&rht(this);this.a&&kh(this.a);this.state=5;dc(this);ke.prototype.ka.call(this)};n.$a=function(n){if(void 0!==n){var t=nt(n);return t in this.c?this.c[t]:(n=co(this.c)?this.g:this.g.cloneNode(!1),this.c[t]=n)}return this.g};n.ib=function(){return this.s};n.Ql=function(){this.state=3;rht(this);dc(this)};n.Rl=function(){this.state=this.g.naturalWidth&&this.g.naturalHeight?2:4;rht(this);dc(this)};n.load=function(){(0==this.state||3==this.state)&&(this.state=1,dc(this),this.j=[sl(this.g,"error",this.Ql,this),sl(this.g,"load",this.Rl,this)],this.v(this,this.s))};r(bu,vi);bu.prototype.o=function(n,t){var h=t.target.result,r=this.v,u=this.j,i,f,e,o,s;for(u||(u=r.aa().l),r=this.c,i=[],f=0,e=r.length;f<e;++f){o=new r[f];s={featureProjection:u};try{i=o.Fa(h,s)}catch(c){i=null}if(i&&0<i.length)break}this.b(new ss(iti,this,n,i,u))};bu.prototype.setMap=function(n){this.a&&(this.a.forEach(cu),this.a=null);vi.prototype.setMap.call(this,n);n&&(n=this.target?this.target:n.a,this.a=[e(n,"drop",ovi,this),e(n,"dragenter",uht,this),e(n,"dragover",uht,this),e(n,"drop",uht,this)])};iti="addfeatures";r(ss,vr);r(uf,ei);r(oh,vr);r(br,ei);n=br.prototype;n.setMap=function(n){ei.prototype.setMap.call(this,n);this.yi()};n.Qo=function(){var t=this.j.W(),n,i;this.c===wy?(n=this.a,n.splice(-2,1),this.D(n,t)):this.c===fl&&(n=this.a[0],n.splice(-2,1),i=this.A.W(),i.pa(n),this.D(this.a,t));0===n.length&&(this.s=null);rb(this)};n.jd=function(){var t=sti(this),n=this.a,i=t.W();this.c===wy?(n.pop(),this.D(n,i)):this.c===fl&&(n[0].pop(),n[0].push(n[0][0]),this.D(n,i));"MultiPoint"===this.Y?t.Ua(new ut([n])):"MultiLineString"===this.Y?t.Ua(new d([n])):"MultiPolygon"===this.Y&&t.Ua(new it([n]));this.b(new oh("drawend",t));this.qb&&this.qb.push(t);this.Hc&&this.Hc.rb(t)};n.rm=function(n){var t=n.W();this.j=n;this.a=t.Z();n=this.a[this.a.length-1];this.s=n.slice();this.a.push(n.slice());rb(this);this.b(new oh("drawstart",this.j))};n.Gc=ks;n.yi=function(){var n=this.v,t=this.f();n&&t||sti(this);this.qa.setMap(t?n:null)};var sd="Point",wy="LineString",fl="Polygon",fht="Circle";r(hs,vr);r(hu,ei);n=hu.prototype;n.xf=function(n){var t=n.W();t.X()in this.za&&this.za[t.X()].call(this,n,t);(t=this.v)&&oht(this,this.qa,t);e(n,"change",this.jh,this)};n.setMap=function(n){this.S.setMap(n);ei.prototype.setMap.call(this,n)};n.sm=function(n){this.xf(n.element)};n.jh=function(n){this.s||(n=n.target,hti(this,n),this.xf(n))};n.tm=function(n){hti(this,n.element)};n.ym=function(n,t){var i=t.Z(),i={feature:n,geometry:t,na:[i,i]};this.a.Ca(t.H(),i)};n.wm=function(n,t){for(var u=t.Z(),r,i=0,f=u.length;i<f;++i)r=u[i],r={feature:n,geometry:t,depth:[i],index:i,na:[r,r]},this.a.Ca(t.H(),r)};n.kh=function(n,t){for(var u=t.Z(),r,e,i=0,f=u.length-1;i<f;++i)r=u.slice(i,i+2),e={feature:n,geometry:t,index:i,na:r},this.a.Ca(eo(r),e)};n.vm=function(n,t){for(var e=t.Z(),u,i,o,f,h,r=0,s=e.length;r<s;++r)for(u=e[r],i=0,o=u.length-1;i<o;++i)f=u.slice(i,i+2),h={feature:n,geometry:t,depth:[r],index:i,na:f},this.a.Ca(eo(f),h)};n.zm=function(n,t){for(var e=t.Z(),u,i,o,f,h,r=0,s=e.length;r<s;++r)for(u=e[r],i=0,o=u.length-1;i<o;++i)f=u.slice(i,i+2),h={feature:n,geometry:t,depth:[r],index:i,na:f},this.a.Ca(eo(f),h)};n.xm=function(n,t){for(var s=t.Z(),f,i,h,r,c,e,o,a,u=0,l=s.length;u<l;++u)for(e=s[u],r=0,c=e.length;r<c;++r)for(f=e[r],i=0,h=f.length-1;i<h;++i)o=f.slice(i,i+2),a={feature:n,geometry:t,depth:[r,u],index:i,na:o},this.a.Ca(eo(o),a)};n.um=function(n,t){for(var r=t.c,i=0;i<r.length;++i)this.za[r[i].X()].call(this,n,r[i])};n.nl=function(n,t){for(var o,e=n.na,s=n.feature,r=n.geometry,u=n.depth,f=n.index,i;t.length<r.va();)t.push(0);switch(r.X()){case"MultiLineString":i=r.Z();i[u[0]].splice(f+1,0,t);break;case"Polygon":i=r.Z();i[u[0]].splice(f+1,0,t);break;case"MultiPolygon":i=r.Z();i[u[1]][u[0]].splice(f+1,0,t);break;case"LineString":i=r.Z();i.splice(f+1,0,t);break;default:return}this.s=!0;r.pa(i);this.s=!1;i=this.a;i.remove(n);ati(this,r,f,u,1);o={na:[e[0],t],feature:s,geometry:r,depth:u,index:f};i.Ca(eo(o.na),o);this.j.push([o,1]);e={na:[t,e[1]],feature:s,geometry:r,depth:u,index:f+1};i.Ca(eo(e.na),e);this.j.push([e,0]);this.T=!0};n.ai=function(){var t=!1,l,o,i,e,u,r,h,s,n,f,c;if(this.Y&&this.Y.type!=gp){for(l=this.Y,eht(this,l),o=this.j,t={},r=o.length-1;0<=r;--r)u=o[r],n=u[0],f=nt(n.feature),n.depth&&(f+="-"+n.depth.join("-")),f in t||(t[f]={}),0===u[1]?(t[f].right=n,t[f].index=n.index):1==u[1]&&(t[f].left=n,t[f].index=n.index+1);for(f in t){s=t[f].right;r=t[f].left;u=t[f].index;h=u-1;n=void 0!==r?r:s;0>h&&(h=0);o=n.geometry;i=e=o.Z();c=!1;switch(o.X()){case"MultiLineString":2<e[n.depth[0]].length&&(e[n.depth[0]].splice(u,1),c=!0);break;case"LineString":2<e.length&&(e.splice(u,1),c=!0);break;case"MultiPolygon":i=i[n.depth[1]];case"Polygon":i=i[n.depth[0]];4<i.length&&(u==i.length-1&&(u=0),i.splice(u,1),c=!0,0===u&&(i.pop(),i.push(i[0]),h=i.length-1))}c&&(i=o,this.s=!0,i.pa(e),this.s=!1,e=[],void 0!==r&&(this.a.remove(r),e.push(r.na[0])),void 0!==s&&(this.a.remove(s),e.push(s.na[1])),void 0!==r&&void 0!==s&&(r={depth:n.depth,feature:n.feature,geometry:n.geometry,index:h,na:e},this.a.Ca(eo(r.na),r)),ati(this,o,u,n.depth,-1),this.c&&(this.S.ha().nb(this.c),this.c=null))}t=!0;this.b(new hs("modifyend",this.A,l));this.D=!1}return t};r(cs,vr);r(kr,vi);n=kr.prototype;n.Bm=function(){return this.c.ha().c};n.Cm=function(n){return n=nt(n),this.a[n]};n.setMap=function(n){var t=this.v,i=this.c.ha().c;t&&i.forEach(t.wi,t);vi.prototype.setMap.call(this,n);this.c.setMap(n);n&&i.forEach(n.ti,n)};n.Am=function(n){n=n.element;var t=this.v;t&&t.ti(n)};n.Dm=function(n){n=n.element;var t=this.v;t&&t.wi(n)};r(iu,ei);n=iu.prototype;n.rb=function(n,t){var f=void 0!==t?t:!0,r=nt(n),i=n.W(),u;i&&(u=this.za[i.X()],u&&(this.Y[r]=i.H(ve()),u.call(this,n,i),f&&(this.R[r]=e(i,"change",this.Kk.bind(this,n),this))));f&&(this.D[r]=e(n,cf(n.a),this.Em,this))};n.Jj=function(n){this.rb(n)};n.Kj=function(n){this.nb(n)};n.lh=function(n){var t;n instanceof ao?t=n.feature:n instanceof wo&&(t=n.element);this.rb(t)};n.mh=function(n){var t;n instanceof ao?t=n.feature:n instanceof wo&&(t=n.element);this.nb(t)};n.Em=function(n){n=n.target;this.nb(n,!0);this.rb(n,!0)};n.Kk=function(n){if(this.C){var t=nt(n);t in this.A||(this.A[t]=n)}else this.xi(n)};n.nb=function(n,t){var e=void 0!==t?t:!0,r=nt(n),i=this.Y[r],f,u;if(i){for(f=this.a,u=[],vk(f,i,function(t){n===t.feature&&u.push(t)}),i=u.length-1;0<=i;--i)f.remove(u[i]);e&&(fb(this.R[r]),delete this.R[r])}e&&(fb(this.D[r]),delete this.D[r])};n.setMap=function(n){var r=this.v,t=this.ta,i;this.j?i=this.j:this.s&&(i=this.s.oe());r&&(t.forEach(fb),t.length=0,i.forEach(this.Kj,this));ei.prototype.setMap.call(this,n);n&&(this.j?t.push(e(this.j,"add",this.lh,this),e(this.j,"remove",this.mh,this)):this.s&&t.push(e(this.s,"addfeature",this.lh,this),e(this.s,"removefeature",this.mh,this)),i.forEach(this.Jj,this))};n.Gc=ks;n.xi=function(n){this.nb(n,!1);this.rb(n,!1)};n.Fm=function(n,t){for(var r=t.c,i=0;i<r.length;++i)this.za[r[i].X()].call(this,n,r[i])};n.nh=function(n,t){for(var u=t.Z(),r,e,i=0,f=u.length-1;i<f;++i)r=u.slice(i,i+2),e={feature:n,na:r},this.a.Ca(eo(r),e)};n.Gm=function(n,t){for(var e=t.Z(),u,i,o,f,h,r=0,s=e.length;r<s;++r)for(u=e[r],i=0,o=u.length-1;i<o;++i)f=u.slice(i,i+2),h={feature:n,na:f},this.a.Ca(eo(f),h)};n.Hm=function(n,t){for(var u=t.Z(),i,r=0,f=u.length;r<f;++r)i=u[r],i={feature:n,na:[i,i]},this.a.Ca(t.H(),i)};n.Im=function(n,t){for(var s=t.Z(),f,i,h,r,c,e,o,a,u=0,l=s.length;u<l;++u)for(e=s[u],r=0,c=e.length;r<c;++r)for(f=e[r],i=0,h=f.length-1;i<h;++i)o=f.slice(i,i+2),a={feature:n,na:o},this.a.Ca(eo(o),a)};n.Jm=function(n,t){var i=t.Z(),i={feature:n,na:[i,i]};this.a.Ca(t.H(),i)};n.Km=function(n,t){for(var e=t.Z(),u,i,o,f,h,r=0,s=e.length;r<s;++r)for(u=e[r],i=0,o=u.length-1;i<o;++i)f=u.slice(i,i+2),h={feature:n,na:f},this.a.Ca(eo(f),h)};r(ls,vr);r(ff,ei);r(b,p);yti=["#00f","#0ff","#0f0","#ff0","#f00"];n=b.prototype;n.zg=function(){return this.get("blur")};n.Gg=function(){return this.get("gradient")};n.ph=function(){return this.get("radius")};n.Lk=function(){for(var i=this.Gg(),n=lf(1,256),r=n.createLinearGradient(0,0,1,256),u=1/(i.length-1),t=0,f=i.length;t<f;++t)r.addColorStop(t*u,i[t]);n.fillStyle=r;n.fillRect(0,0,1,256);this.f=n.getImageData(0,0,1,256).data};n.lf=function(){var i=this.ph(),t=this.zg(),r=i+t+1,n=2*r,n=lf(n,n);n.shadowOffsetX=n.shadowOffsetY=this.ia;n.shadowBlur=t;n.shadowColor="#000";n.beginPath();t=r-this.ia;n.arc(t,t,i,0,2*Math.PI,!0);n.fill();this.Y=n.canvas.toDataURL();this.c=Array(256);this.u()};n.dl=function(n){n=n.context;for(var i=n.canvas,i=n.getImageData(0,0,i.width,i.height),r=i.data,u,t=0,f=r.length;t<f;t+=4)(u=4*r[t+3])&&(r[t]=this.f[u],r[t+1]=this.f[u+1],r[t+2]=this.f[u+2]);n.putImageData(i,0,0)};n.di=function(n){this.set("blur",n)};n.ii=function(n){this.set("gradient",n)};n.qh=function(n){this.set("radius",n)};r(dl,ke);dl.prototype.ka=function(){1==this.state&&(this.Wc.forEach(cu),this.Wc=null);ke.prototype.ka.call(this)};dl.prototype.$a=function(n){if(void 0!==n){var t=nt(n);return t in this.c?this.c[t]:(n=co(this.c)?this.l:this.l.cloneNode(!1),this.c[t]=n)}return this.l};dl.prototype.zd=function(){var i=[];if(this.g.forEach(function(n){n&&2==n.V()&&i.push({extent:this.j.Ea(n.ma),image:n.$a()})},this),this.g.length=0,0===i.length)this.state=3;else{var t=this.U[0],n=this.v.Ja(t),r=av(n)?n:n[0],n=av(n)?n:n[1],t=this.v.$(t),u=this.j.$(this.s),f=this.v.Ea(this.U);this.l=fpt(r,n,this.D,u,this.j.H(),t,f,this.A,i,this.C,this.R);this.state=2}dc(this)};dl.prototype.load=function(){if(0==this.state){this.state=1;dc(this);var n=0;this.Wc=[];this.g.forEach(function(t){var r=t.V(),i;(0==r||1==r)&&(n++,i=e(t,"change",function(){var r=t.V();(2==r||3==r||4==r)&&(cu(i),n--,0===n&&(this.Wc.forEach(cu),this.Wc=null,this.zd()))},this),this.Wc.push(i))},this);this.g.forEach(function(n){0==n.V()&&n.load()});0===n&&tr.setTimeout(this.zd.bind(this),0)}};r(g,gt);n=g.prototype;n.Ah=function(){if(lg(this.a))return!0;for(var n in this.i)if(lg(this.i[n]))return!0;return!1};n.Lc=function(n,t){var r=this.pd(n),u,i;this.a.Lc(this.a==r?t:{});for(u in this.i)i=this.i[u],i.Lc(i==r?t:{})};n.Ud=function(n){return this.f&&n&&!nc(this.f,n)?0:this.gf()};n.gf=function(){return 0};n.jf=function(n){return this.f&&n&&!nc(this.f,n)?!1:gt.prototype.jf.call(this,n)};n.eb=function(n){var t=this.f;return!this.tileGrid||t&&!nc(t,n)?(t=nt(n).toString(),t in this.s||(this.s[t]=oat(n)),this.s[t]):this.tileGrid};n.pd=function(n){var t=this.f;return!t||nc(t,n)?this.a:(n=nt(n).toString(),n in this.i||(this.i[n]=new cg),this.i[n])};n.ac=function(n,t,i,r,u){var f,e,o,s;return this.f&&u&&!nc(this.f,u)?(f=this.pd(u),t=[n,t,i],n=this.Eb.apply(this,t),ic(f,n))?f.get(n):(e=this.f,i=this.eb(e),o=this.eb(u),s=pp(this,t,u),r=new dl(e,i,u,o,t,s,this.bc(r),this.gf(),function(n,t,i,r){return wti(this,n,t,i,r,e)}.bind(this),this.qa,this.C),f.set(n,r),r):wti(this,n,t,i,r,u)};n.zb=function(n){if(this.C!=n){this.C=n;for(var t in this.i)this.i[t].clear();this.u()}};n.Ab=function(n,t){var i=yi(n);i&&(i=nt(i).toString(),i in this.s||(this.s[i]=t))};r(ti,g);hht=new hh({html:'<a class="ol-attribution-bing-tos" href="http://www.microsoft.com/maps/product/terms.html">Terms of Use<\/a>'});ti.prototype.v=function(n){var i,t,r,u,f,e;200!=n.statusCode||"OK"!=n.statusDescription||"ValidCredentials"!=n.authenticationResultCode||1!=n.resourceSets.length||1!=n.resourceSets[0].resources.length?rc(this,"error"):(i=n.brandLogoUri,-1==i.indexOf("https")&&(i=i.replace("http","https")),t=n.resourceSets[0].resources[0],r=-1==this.c?t.zoomMax:this.c,n=iy(this.f),u=cb({extent:n,minZoom:t.zoomMin,maxZoom:r,tileSize:t.imageWidth==t.imageHeight?t.imageWidth:[t.imageWidth,t.imageHeight]}),this.tileGrid=u,f=this.j,this.tileUrlFunction=dft(t.imageUrlSubdomains.map(function(n){var i=[0,0,0],r=t.imageUrl.replace("{subdomain}",n).replace("{culture}",f);return function(n){if(n)return uat(n[0],n[1],-n[2]-1,i),r.replace("{quadkey}",gri(i))}})),t.imageryProviders&&(e=va(yi("EPSG:4326"),this.f),n=t.imageryProviders.map(function(n){var i=n.attribution,t={};return n.coverageAreas.forEach(function(n){var f=n.zoomMin,s=Math.min(n.zoomMax,r),i,o;for(n=n.bbox,n=ob([n[1],n[0],n[3],n[2]],e),i=f;i<=s;++i)o=i.toString(),f=ch(u,n,i),o in t?t[o].push(f):t[o]=[f]}),new hh({html:i,tileRanges:t})}),n.push(hht),this.oa(n)),this.R=i,rc(this,"ready"))};r(at,g);r(ht,at);n=ht.prototype;n.Tj=function(){return this.c};n.up=function(n){sr(this.c,n);cht(this)};n.$o=function(n){this.c=n||{};cht(this)};n.Nk=function(n,t){var i=t.target,r;if(200<=i.status&&300>i.status){try{r=JSON.parse(i.responseText)}catch(u){rc(this,"error");return}bti(this,r);this.j[n]=r;rc(this,"ready")}else rc(this,"error")};n.Mk=function(){rc(this,"error")};r(y,v);y.prototype.Aa=function(){return this.v};y.prototype.Pc=function(n,t,i){this.v.Pc(n,t,i);t!==this.C&&(this.clear(),this.C=t,kti(this),this.Jc(this.A))};y.prototype.Sa=function(){this.clear();kti(this);this.Jc(this.A);this.u()};r(pi,ci);n=pi.prototype;n.Sm=function(){return this.v};n.Mc=function(n,t,i,r){var u,s,o,f,h;if(void 0===this.i)return null;if(t=fn(this,t),u=this.c,u&&this.T==this.g&&u.$()==t&&u.f==i&&us(u.H(),n))return u;u={F:"image",FORMAT:"PNG32",TRANSPARENT:!0};sr(u,this.v);n=n.slice();s=(n[0]+n[2])/2;o=(n[1]+n[3])/2;1!=this.S&&(f=this.S*ef(n)/2,h=this.S*be(n)/2,n[0]=s-f,n[1]=o-h,n[2]=s+f,n[3]=o+h);var f=t/i,h=Math.ceil(ef(n)/f),c=Math.ceil(be(n)/f);return n[0]=s-f*h/2,n[2]=s+f*h/2,n[1]=o-f*c/2,n[3]=o+f*c/2,this.s[0]=h,this.s[1]=c,s=n,o=this.s,r=r.cb.split(":").pop(),u.SIZE=o[0]+","+o[1],u.BBOX=s.join(","),u.BBOXSR=r,u.IMAGESR=r,u.DPI=90*i,r=this.i.replace(/MapServer\/?$/,"MapServer/export").replace(/ImageServer\/?$/,"ImageServer/exportImage"),u=by(r,u),this.c=new wh(n,t,i,this.l,u,this.Y,this.j),this.T=this.g,e(this.c,"change",this.o,this),this.c};n.Rm=function(){return this.j};n.Tm=function(){return this.i};n.Um=function(n){this.c=null;this.j=n;this.u()};n.Vm=function(n){n!=this.i&&(this.i=n,this.c=null,this.u())};n.Wm=function(n){sr(this.v,n);this.c=null;this.u()};r(gi,ci);n=gi.prototype;n.Ym=function(){return this.j};n.Mc=function(n,t,i){var r,u;if(t=fn(this,t),i=this.ia?i:1,r=this.i,r&&this.S==this.g&&r.$()==t&&r.f==i&&us(r.H(),n))return r;if(1!=this.v&&(n=n.slice(),gd(n,this.v)),u=[ef(n)/t*i,be(n)/t*i],void 0!==this.T){var r=this.T,f=gh(n),o=this.ta,s=ef(n),h=be(n),c=u[0],l=u[1],a=.0254/this.s,u={OPERATION:this.Aa?"GETDYNAMICMAPOVERLAYIMAGE":"GETMAPIMAGE",VERSION:"2.0.0",LOCALE:"en",CLIENTAGENT:"ol.source.ImageMapGuide source",CLIP:"1",SETDISPLAYDPI:this.s,SETDISPLAYWIDTH:Math.round(u[0]),SETDISPLAYHEIGHT:Math.round(u[1]),SETVIEWSCALE:l*s>c*h?s*o/(c*a):h*o/(l*a),SETVIEWCENTERX:f[0],SETVIEWCENTERY:f[1]};sr(u,this.j);r=by(r,u);r=new wh(n,t,i,this.l,r,this.Y,this.c);e(r,"change",this.o,this)}else r=null;return this.i=r,this.S=this.g,r};n.Xm=function(){return this.c};n.$m=function(n){sr(this.j,n);this.u()};n.Zm=function(n){this.i=null;this.c=n;this.u()};r(ar,ci);ar.prototype.Mc=function(n){return oo(n,this.c.H())?this.c:null};ar.prototype.o=function(n){var r,u,i,t,f;2==this.c.V()&&(t=this.c.H(),r=this.c.a(),this.i?(u=this.i[0],i=this.i[1]):(u=r.width,i=r.height),t=Math.ceil(ef(t)/(be(t)/i)),t!=u&&(t=lf(t,i),f=t.canvas,t.drawImage(r,0,0,u,i,0,0,f.width,f.height),this.c.g=f));ci.prototype.o.call(this,n)};r(ai,ci);lht=[101,101];n=ai.prototype;n.fn=function(n,t,i,r){if(void 0!==this.j){var f=rp(n,t,0,lht),u={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetFeatureInfo",FORMAT:"image/png",TRANSPARENT:!0,QUERY_LAYERS:this.i.LAYERS};return sr(u,this.i,r),r=Math.floor((f[3]-n[1])/t),u[this.v?"I":"X"]=Math.floor((n[0]-f[0])/t),u[this.v?"J":"Y"]=r,dti(this,f,lht,1,yi(i),u)}};n.hn=function(){return this.i};n.Mc=function(n,t,i,r){var u,s;if(void 0===this.j)return null;t=fn(this,t);1==i||this.Aa&&void 0!==this.ia||(i=1);n=n.slice();var f=(n[0]+n[2])/2,h=(n[1]+n[3])/2,o=t/i,c=ef(n)/o,o=be(n)/o,u=this.c;return u&&this.Y==this.g&&u.$()==t&&u.f==i&&us(u.H(),n)?u:(1!=this.s&&(u=this.s*ef(n)/2,s=this.s*be(n)/2,n[0]=f-u,n[1]=h-s,n[2]=f+u,n[3]=h+s),f={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0},sr(f,this.i),this.T[0]=Math.ceil(c*this.s),this.T[1]=Math.ceil(o*this.s),r=dti(this,n,this.T,i,r,f),this.c=new wh(n,t,i,this.l,r,this.ta,this.S),this.Y=this.g,e(this.c,"change",this.o,this),this.c)};n.gn=function(){return this.S};n.jn=function(){return this.j};n.kn=function(n){this.c=null;this.S=n;this.u()};n.ln=function(n){n!=this.j&&(this.j=n,this.c=null,this.u())};n.mn=function(n){sr(this.i,n);gti(this);this.c=null;this.u()};r(ii,at);utt=new hh({html:'&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap<\/a> contributors.'}),function(){var t={},n={ja:t};(function(i){if("object"==typeof t&&"undefined"!=typeof n)n.ja=i();else{var r;r="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this;r.Sp=i()}})(function(){return function n(t,i,r){function u(f,o){if(!i[f]){if(!t[f]){var s="function"==typeof require&&require;if(!o&&s)return s(f,!0);if(e)return e(f,!0);s=Error("Cannot find module '"+f+"'");throw s.code="MODULE_NOT_FOUND",s;}s=i[f]={ja:{}};t[f][0].call(s.ja,function(n){var i=t[f][1][n];return u(i?i:n)},s,s.ja,n,t,i,r)}return i[f].ja}for(var e="function"==typeof require&&require,f=0;f<r.length;f++)u(r[f]);return u}({1:[function(n,t,i){n=n("./processor");i.$i=n},{"./processor":2}],2:[function(n,t){function r(n){var t=!0;try{new ImageData(10,10)}catch(i){t=!1}return function(i){var r=i.buffers,v=i.meta,f=i.width,c=i.height,o=r.length,s=r[0].byteLength,u,e,h,l,a;if(i.imageOps){for(s=Array(o),i=0;i<o;++i)u=s,e=i,h=new Uint8ClampedArray(r[i]),l=f,a=c,h=t?new ImageData(h,l,a):{data:h,width:l,height:a},u[e]=h;f=n(s,v).data}else{for(f=new Uint8ClampedArray(s),c=Array(o),u=Array(o),i=0;i<o;++i)c[i]=new Uint8ClampedArray(r[i]),u[i]=[0,0,0,0];for(r=0;r<s;r+=4){for(i=0;i<o;++i)e=c[i],u[i][0]=e[r],u[i][1]=e[r+1],u[i][2]=e[r+2],u[i][3]=e[r+3];i=n(u,v);f[r]=i[0];f[r+1]=i[1];f[r+2]=i[2];f[r+3]=i[3]}}return f.buffer}}function u(n,t){var i=Object.keys(n.lib||{}).map(function(t){return"var "+t+" = "+n.lib[t].toString()+";"}).concat(["var __minion__ = ("+r.toString()+")(",n.operation.toString(),");",'self.addEventListener("message", function(event) {',"  var buffer = __minion__(event.data);","  self.postMessage({buffer: buffer, meta: event.data.meta}, [buffer]);","});"]),i=URL.createObjectURL(new Blob(i,{type:"text/javascript"})),i=new Worker(i);return i.addEventListener("message",t),i}function f(n,t){var i=r(n.operation);return{postMessage:function(n){setTimeout(function(){t({data:{buffer:i(n),meta:n.meta}})},0)}}}function i(n){var r,i,t;if(this.Re=!!n.ll,r=0===n.threads?0:this.Re?1:n.threads||1,i=[],r)for(t=0;t<r;++t)i[t]=u(n,this.ig.bind(this,t));else i[0]=f(n,this.ig.bind(this,0));this.Ld=i;this.$c=[];this.oj=n.uo||Infinity;this.Jd=0;this.Ic={};this.Se=null}var e=n("./util").Fl;i.prototype.so=function(n,t,i){this.lj({Ac:n,Xg:t,qg:i});this.fg()};i.prototype.lj=function(n){for(this.$c.push(n);this.$c.length>this.oj;)this.$c.shift().qg(null,null)};i.prototype.fg=function(){var u,t;if(0===this.Jd&&0<this.$c.length){var n=this.Se=this.$c.shift(),e=n.Ac[0].width,o=n.Ac[0].height,i=n.Ac.map(function(n){return n.data.buffer}),r=this.Ld.length;if(this.Jd=r,1===r)this.Ld[0].postMessage({buffers:i,meta:n.Xg,imageOps:this.Re,width:e,height:o},i);else for(u=4*Math.ceil(n.Ac[0].data.length/4/r),t=0;t<r;++t){for(var s=t*u,f=[],h=0,c=i.length;h<c;++h)f.push(i[t].slice(s,s+u));this.Ld[t].postMessage({buffers:f,meta:n.Xg,imageOps:this.Re,width:e,height:o},f)}}};i.prototype.ig=function(n,t){this.Pp||(this.Ic[n]=t.data,--this.Jd,0===this.Jd&&this.pj())};i.prototype.pj=function(){var i=this.Se,f=this.Ld.length,r,u,n,t,o;if(1===f)r=new Uint8ClampedArray(this.Ic[0].buffer),u=this.Ic[0].meta;else for(n=i.Ac[0].data.length,r=new Uint8ClampedArray(n),u=Array(n),n=4*Math.ceil(n/4/f),t=0;t<f;++t)o=t*n,r.set(new Uint8ClampedArray(this.Ic[t].buffer),o),u[t]=this.Ic[t].meta;this.Se=null;this.Ic={};i.qg(null,e(r,i.Ac[0].width,i.Ac[0].height),u);this.fg()};t.ja=i},{"./util":3}],3:[function(n,t,i){var r=!0,u;try{new ImageData(10,10)}catch(f){r=!1}u=document.createElement("canvas").getContext("2d");i.Fl=function(n,t,i){return r?new ImageData(n,t,i):(t=u.createImageData(t,i),t.data.set(n),t)}},{}]},{},[1])(1)});dpt=n.ja}();r(ur,ci);ur.prototype.v=function(n,t){this.S=new dpt.$i({operation:n,ll:"image"===this.Aa,uo:1,lib:t,threads:this.Sa});this.u()};ur.prototype.A=function(n,t,i,r){var u,f,e;for(i=!0,f=0,e=this.c.length;f<e;++f)if(u=this.c[f].a.ha(),"ready"!==u.V()){i=!1;break}if(!i)return null;if(n=n.slice(),!nii(this,n,t))return this.j;i=this.i.canvas;u=Math.round(ef(n)/t);f=Math.round(be(n)/t);(u!==i.width||f!==i.height)&&(i.width=u,i.height=f);u=sr({},this.Y);u.viewState=sr({},u.viewState);var f=gh(n),e=Math.round(ef(n)/t),o=Math.round(be(n)/t);return u.extent=n,u.focus=gh(n),u.size[0]=e,u.size[1]=o,e=u.viewState,e.center=f,e.projection=r,e.resolution=t,this.j=r=new ow(n,t,1,this.l,i,this.T.bind(this,u)),this.s={extent:n,resolution:t,Xo:this.g},r};ur.prototype.T=function(n,t){for(var i,o,s,r,u,h,f=this.c.length,c=Array(f),e=0;e<f;++e)if(i=this.c[e],o=n,s=n.layerStatesArray[e],i.l(o,s)?(r=o.size[0],u=o.size[1],cv?(h=cv.canvas,h.width!==r||h.height!==u?cv=lf(r,u):cv.clearRect(0,0,r,u)):cv=lf(r,u),i.i(o,s,cv),i=cv.getImageData(0,0,r,u)):i=null,i)c[e]=i;else return;f={};this.b(new rs(ayi,n,f));this.S.so(c,f,this.ta.bind(this,n,t));yvt(n.tileQueue,16,16)};ur.prototype.ta=function(n,t,i,r,u){i?t(i):r&&(this.b(new rs(vyi,n,u)),nii(this,n.extent,n.viewState.resolution/n.pixelRatio)||this.i.putImageData(r,0,0),t(null))};cv=null;r(rs,vr);var ayi="beforeoperations",vyi="afteroperations",yyi={terrain:{tb:"jpg",opaque:!0},"terrain-background":{tb:"jpg",opaque:!0},"terrain-labels":{tb:"png",opaque:!1},"terrain-lines":{tb:"png",opaque:!1},"toner-background":{tb:"png",opaque:!0},toner:{tb:"png",opaque:!0},"toner-hybrid":{tb:"png",opaque:!1},"toner-labels":{tb:"png",opaque:!1},"toner-lines":{tb:"png",opaque:!1},"toner-lite":{tb:"png",opaque:!0},watercolor:{tb:"jpg",opaque:!0}},pyi={terrain:{minZoom:4,maxZoom:18},toner:{minZoom:0,maxZoom:20},watercolor:{minZoom:1,maxZoom:16}};return r(ri,at),tii=[new hh({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>.'}),utt],r(ot,g),ot.prototype.v=function(){return this.c},ot.prototype.bc=function(n){return n},ot.prototype.vc=function(n,t,i){var r=this.tileGrid,e,f,u;return r||(r=this.eb(i)),(r.b.length<=n[0])?void 0:(e=r.Ea(n,this.j),f=fs(r.Ja(n[0]),this.o),1!=t&&(f=srt(f,t,this.o)),r={F:"image",FORMAT:"PNG32",TRANSPARENT:!0},sr(r,this.c),u=this.urls,u?(i=i.cb.split(":").pop(),r.SIZE=f[0]+","+f[1],r.BBOX=e.join(","),r.BBOXSR=i,r.IMAGESR=i,r.DPI=Math.round(r.DPI?r.DPI*t:90*t),n=(1==u.length?u[0]:u[el((n[1]<<n[0])+n[2],u.length)]).replace(/MapServer\/?$/,"MapServer/export").replace(/ImageServer\/?$/,"ImageServer/exportImage"),n=by(n,r)):n=void 0,n)},ot.prototype.A=function(n){sr(this.c,n);this.u()},r(aht,ke),aht.prototype.$a=function(n){if(n=void 0!==n?nt(n):-1,n in this.g)return this.g[n];var i=this.l,t=lf(i[0],i[1]);return t.strokeStyle="black",t.strokeRect(.5,.5,i[0]+.5,i[1]+.5),t.fillStyle="black",t.textAlign="center",t.textBaseline="middle",t.font="24px sans-serif",t.fillText(this.c,i[0]/2,i[1]/2),this.g[n]=t.canvas},r(lr,ki),lr.prototype.ac=function(n,t,i){var u=this.Eb(n,t,i),r;return ic(this.a,u)?this.a.get(u):(r=fs(this.tileGrid.Ja(n)),n=[n,t,i],t=(t=pp(this,n))?pp(this,t).toString():"",r=new aht(n,r,t),this.a.set(u,r),r)},r(wt,g),n=wt.prototype,n.pn=function(n){if(n=n.target,200<=n.status&&300>n.status){var t;try{t=JSON.parse(n.responseText)}catch(i){this.me();return}this.yh(t)}else this.me()},n.nn=function(){this.me()},n.Ak=function(){return this.c},n.yh=function(n){var u=yi("EPSG:4326"),r=this.f,t,i,f,e;if(void 0!==n.bounds&&(t=ob(n.bounds,va(u,r))),i=n.minzoom||0,f=n.maxzoom||22,this.tileGrid=r=cb({extent:iy(r),maxZoom:f,minZoom:i}),this.tileUrlFunction=on(n.tiles,r),void 0!==n.attribution&&!this.l){for(u=void 0!==t?t:u.H(),t={};i<=f;++i)e=i.toString(),t[e]=[ch(r,u,i)];this.oa([new hh({html:n.attribution,tileRanges:t})])}this.c=n;rc(this,"ready")},n.me=function(){rc(this,"error")},r(rr,ki),n=rr.prototype,n.tn=function(n){if(n=n.target,200<=n.status&&300>n.status){var t;try{t=JSON.parse(n.responseText)}catch(i){this.ne();return}this.Bf(t)}else this.ne()},n.sn=function(){this.ne()},n.xk=function(){return this.i},n.Ij=function(n,t,i,r,u){this.tileGrid?(t=this.tileGrid.Zd(n,t),wyi(this.ac(t[0],t[1],t[2],1,this.f),n,i,r,u)):!0===u?prt(function(){i.call(r,null)}):i.call(r,null)},n.ne=function(){rc(this,"error")},n.Bf=function(n){var f=yi("EPSG:4326"),r=this.f,t,i,e,u;if(void 0!==n.bounds&&(t=ob(n.bounds,va(f,r))),i=n.minzoom||0,e=n.maxzoom||22,this.tileGrid=r=cb({extent:iy(r),maxZoom:e,minZoom:i}),this.i=n.template,u=n.grids,u){if(this.j=on(u,r),void 0!==n.attribution){for(f=void 0!==t?t:f.H(),t={};i<=e;++i)u=i.toString(),t[u]=[ch(r,f,i)];this.oa([new hh({html:n.attribution,tileRanges:t})])}rc(this,"ready")}else rc(this,"error")},n.ac=function(n,t,i,r,u){var f=this.Eb(n,t,i);return ic(this.a,f)?this.a.get(f):(n=[n,t,i],t=pp(this,n,u),r=this.j(t,r,u),r=new vht(n,void 0!==r?0:4,void 0!==r?r:"",this.tileGrid.Ea(n),this.s,this.c),this.a.set(f,r),r)},n.Yf=function(n,t,i){n=this.Eb(n,t,i);ic(this.a,n)&&this.a.get(n)},r(vht,ke),n=vht.prototype,n.$a=function(){return null},n.getData=function(n){if(!this.l||!this.j)return null;var t=this.l[Math.floor((1-(n[1]-this.g[1])/(this.g[3]-this.g[1]))*this.l.length)];return"string"!=typeof t?null:(t=t.charCodeAt(Math.floor((n[0]-this.g[0])/(this.g[2]-this.g[0])*t.length)),93<=t&&t--,35<=t&&t--,t-=32,n=null,t in this.j&&(t=this.j[t],n=this.c&&t in this.c?this.c[t]:t),n)},n.ib=function(){return this.s},n.ae=function(){this.state=3;dc(this)},n.zh=function(n){this.l=n.grid;this.j=n.keys;this.c=n.data;this.state=4;dc(this)},n.rn=function(n){if(n=n.target,200<=n.status&&300>n.status){var t;try{t=JSON.parse(n.responseText)}catch(i){this.ae();return}this.zh(t)}else this.ae()},n.qn=function(){this.ae()},n.load=function(){this.U&&iii(this)},r(ct,g),n=ct.prototype,n.vn=function(n,t,i,r){var u;if(i=yi(i),u=this.tileGrid,u||(u=this.eb(i)),t=u.Zd(n,t),!(u.b.length<=t[0])){var o=u.$(t[0]),e=u.Ea(t,this.Y),u=fs(u.Ja(t[0]),this.o),f=this.v;return 0!==f&&(u=fat(u,f,this.o),e=lc(e,o*f,e)),f={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetFeatureInfo",FORMAT:"image/png",TRANSPARENT:!0,QUERY_LAYERS:this.c.LAYERS},sr(f,this.c,r),r=Math.floor((e[3]-n[1])/o),f[this.j?"I":"X"]=Math.floor((n[0]-e[0])/o),f[this.j?"J":"Y"]=r,rii(this,t,u,e,1,i,f)}},n.gf=function(){return this.v},n.Eb=function(n,t,i){return this.S+g.prototype.Eb.call(this,n,t,i)},n.wn=function(){return this.c},n.bc=function(n){return this.T&&void 0!==this.A?n:1},n.vc=function(n,t,i){var r=this.tileGrid;if(r||(r=this.eb(i)),!(r.b.length<=n[0])){1==t||this.T&&void 0!==this.A||(t=1);var u=r.$(n[0]),f=r.Ea(n,this.Y),r=fs(r.Ja(n[0]),this.o),e=this.v;return 0!==e&&(r=fat(r,e,this.o),f=lc(f,u*e,f)),1!=t&&(r=srt(r,t,this.o)),u={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0},sr(u,this.c),rii(this,n,r,f,t,i,u)}},n.xn=function(n){sr(this.c,n);uii(this);eii(this);lb(this,fii(this))},r(pf,af),pf.prototype.j=function(){return this.l},r(k,g),n=k.prototype,n.Vj=function(){return this.c},n.yn=function(){return this.v},n.zn=function(){return this.A},n.hk=function(){return this.j},n.vk=function(){return this.Y},n.An=function(){return this.S},n.Ck=function(){return this.T},n.vp=function(n){sr(this.c,n);lb(this,sii(this))},r(ui,g),r(yht,sc),yht.prototype.$a=function(n){var t=void 0!==n?nt(n).toString():"",i;return t in this.l?this.l[t]:(n=sc.prototype.$a.call(this,n),2==this.state)?256==n.width&&256==n.height?this.l[t]=n:(i=lf(256,256),i.drawImage(n,0,0),this.l[t]=i.canvas):n},hii.prototype.add=function(n,t,i,r,u,f){return t+this.b>this.g||i+this.b>this.g?null:(r=cii(this,!1,n,t,i,r,f),!r)?null:(n=cii(this,!0,n,t,i,void 0!==u?u:ne,f),{offsetX:r.offsetX,offsetY:r.offsetY,image:r.image,Sg:n.image})},hd.prototype.get=function(n){return this.f[n]||null},hd.prototype.add=function(n,t,i,r,u){for(var f,e=0,o=this.a.length;e<o;++e)if(f=this.a[e],f.width>=t+this.b&&f.height>=i+this.b)return o={offsetX:f.x+this.b,offsetY:f.y+this.b,image:this.c},this.f[n]=o,r.call(u,this.g,f.x+this.b,f.y+this.b),n=e,t+=this.b,r=i+this.b,f.width-t>f.height-r?(i={x:f.x+t,y:f.y,width:f.width-t,height:f.height},t={x:f.x,y:f.y+r,width:t,height:f.height-r},lii(this,n,i,t)):(i={x:f.x+t,y:f.y,width:f.width-t,height:r},t={x:f.x,y:f.y+r,width:f.width,height:f.height-r},lii(this,n,i,t)),o;return null},r(ru,ie),n=ru.prototype,n.Yb=function(){return this.D},n.Fn=function(){return this.l},n.Gn=function(){return this.o},n.pe=function(){return this.A},n.jc=function(){return this.s},n.ld=function(){return this.R},n.td=function(){return 2},n.Ia=function(){return this.ya},n.Hn=function(){return this.b},n.In=function(){return this.g},n.uk=function(){return this.c},n.Fb=function(){return this.Ba},n.Jn=function(){return this.a},n.pf=ne,n.load=ne,n.Xf=ne,n.Ih=function(n,t,i,r){var u;for(t.setTransform(1,0,0,1,0,0),t.translate(i,r),t.beginPath(),this.c!==this.g&&(this.b*=2),i=0;i<=this.b;i++)r=2*i*Math.PI/this.b-Math.PI/2+this.l,u=0==i%2?this.g:this.c,t.lineTo(n.size/2+u*Math.cos(r),n.size/2+u*Math.sin(r));this.o&&(t.fillStyle=ny(this.o.b),t.fill());this.a&&(t.strokeStyle=n.strokeStyle,t.lineWidth=n.Bd,n.lineDash&&t.setLineDash(n.lineDash),t.lineCap=n.lineCap,t.lineJoin=n.lineJoin,t.miterLimit=n.miterLimit,t.stroke());t.closePath()},n.Hh=function(n,t,i,r){t.setTransform(1,0,0,1,0,0);t.translate(i,r);t.beginPath();this.c!==this.g&&(this.b*=2);var u;for(i=0;i<=this.b;i++)u=2*i*Math.PI/this.b-Math.PI/2+this.l,r=0==i%2?this.g:this.c,t.lineTo(n.size/2+r*Math.cos(u),n.size/2+r*Math.sin(u));t.fillStyle=ra;t.fill();this.a&&(t.strokeStyle=n.strokeStyle,t.lineWidth=n.Bd,n.lineDash&&t.setLineDash(n.lineDash),t.stroke());t.closePath()},t("ol.animation.bounce",function(n){var r=n.resolution,t=n.start?n.start:Date.now(),i=void 0!==n.duration?n.duration:1e3,u=n.easing?n.easing:wlt;return function(n,f){if(f.time<t)return f.animate=!0,f.viewHints[0]+=1,!0;if(f.time<t+i){var e=u((f.time-t)/i),o=r-f.viewState.resolution;return f.animate=!0,f.viewState.resolution+=e*o,f.viewHints[0]+=1,!0}return!1}},i),t("ol.animation.pan",dv,i),t("ol.animation.rotate",kit,i),t("ol.animation.zoom",ap,i),t("ol.Attribution",hh,i),hh.prototype.getHTML=hh.prototype.g,wo.prototype.element=wo.prototype.element,t("ol.Collection",vt,i),vt.prototype.clear=vt.prototype.clear,vt.prototype.extend=vt.prototype.qf,vt.prototype.forEach=vt.prototype.forEach,vt.prototype.getArray=vt.prototype.Gl,vt.prototype.item=vt.prototype.item,vt.prototype.getLength=vt.prototype.dc,vt.prototype.insertAt=vt.prototype.ee,vt.prototype.pop=vt.prototype.pop,vt.prototype.push=vt.prototype.push,vt.prototype.remove=vt.prototype.remove,vt.prototype.removeAt=vt.prototype.Rf,vt.prototype.setAt=vt.prototype.Zo,t("ol.colorlike.asColorLike",ny,i),t("ol.coordinate.add",dy,i),t("ol.coordinate.createStringXY",function(n){return function(t){return lct(t,n)}},i),t("ol.coordinate.format",cct,i),t("ol.coordinate.rotate",np,i),t("ol.coordinate.toStringHDMS",function(n,t){return n?hct(n[1],"NS",t)+" "+hct(n[0],"EW",t):""},i),t("ol.coordinate.toStringXY",lct,i),t("ol.DeviceOrientation",wr,i),wr.prototype.getAlpha=wr.prototype.Oj,wr.prototype.getBeta=wr.prototype.Rj,wr.prototype.getGamma=wr.prototype.Yj,wr.prototype.getHeading=wr.prototype.Hl,wr.prototype.getTracking=wr.prototype.$g,wr.prototype.setTracking=wr.prototype.rf,t("ol.easing.easeIn",ylt,i),t("ol.easing.easeOut",bc,i),t("ol.easing.inAndOut",lp,i),t("ol.easing.linear",plt,i),t("ol.easing.upAndDown",wlt,i),t("ol.extent.boundingExtent",eo,i),t("ol.extent.buffer",lc,i),t("ol.extent.containsCoordinate",ytt,i),t("ol.extent.containsExtent",us,i),t("ol.extent.containsXY",kd,i),t("ol.extent.createEmpty",ve,i),t("ol.extent.equals",eb,i),t("ol.extent.extend",btt,i),t("ol.extent.getBottomLeft",aa,i),t("ol.extent.getBottomRight",ip,i),t("ol.extent.getCenter",gh,i),t("ol.extent.getHeight",be,i),t("ol.extent.getIntersection",vc,i),t("ol.extent.getSize",function(n){return[n[2]-n[0],n[3]-n[1]]},i),t("ol.extent.getTopLeft",sh,i),t("ol.extent.getTopRight",bv,i),t("ol.extent.getWidth",ef,i),t("ol.extent.intersects",oo,i),t("ol.extent.isEmpty",up,i),t("ol.extent.applyTransform",ob,i),t("ol.Feature",ft,i),ft.prototype.clone=ft.prototype.clone,ft.prototype.getGeometry=ft.prototype.W,ft.prototype.getId=ft.prototype.Xa,ft.prototype.getGeometryName=ft.prototype.$j,ft.prototype.getStyle=ft.prototype.Jl,ft.prototype.getStyleFunction=ft.prototype.ec,ft.prototype.setGeometry=ft.prototype.Ua,ft.prototype.setStyle=ft.prototype.sf,ft.prototype.setId=ft.prototype.mc,ft.prototype.setGeometryName=ft.prototype.Ec,t("ol.featureloader.tile",vpt,i),t("ol.featureloader.xhr",ypt,i),t("ol.Geolocation",li,i),li.prototype.getAccuracy=li.prototype.Mj,li.prototype.getAccuracyGeometry=li.prototype.Nj,li.prototype.getAltitude=li.prototype.Pj,li.prototype.getAltitudeAccuracy=li.prototype.Qj,li.prototype.getHeading=li.prototype.Ll,li.prototype.getPosition=li.prototype.Ml,li.prototype.getProjection=li.prototype.ah,li.prototype.getSpeed=li.prototype.wk,li.prototype.getTracking=li.prototype.bh,li.prototype.getTrackingOptions=li.prototype.Mg,li.prototype.setProjection=li.prototype.dh,li.prototype.setTracking=li.prototype.ge,li.prototype.setTrackingOptions=li.prototype.si,t("ol.Graticule",kl,i),kl.prototype.getMap=kl.prototype.Pl,kl.prototype.getMeridians=kl.prototype.ik,kl.prototype.getParallels=kl.prototype.qk,kl.prototype.setMap=kl.prototype.setMap,t("ol.has.DEVICE_PIXEL_RATIO",pg,i),t("ol.has.CANVAS",dat,i),t("ol.has.DEVICE_ORIENTATION",gat,i),t("ol.has.GEOLOCATION",nvt,i),t("ol.has.TOUCH",grt,i),t("ol.has.WEBGL",drt,i),wh.prototype.getImage=wh.prototype.a,wh.prototype.load=wh.prototype.load,sc.prototype.getImage=sc.prototype.$a,sc.prototype.load=sc.prototype.load,t("ol.Kinetic",pvt,i),t("ol.loadingstrategy.all",ppt,i),t("ol.loadingstrategy.bbox",function(n){return[n]},i),t("ol.loadingstrategy.tile",function(n){return function(t,i){var r=n.Lb(i),u=ch(n,t,r),f=[],r=[r,0,0];for(r[1]=u.ca;r[1]<=u.ea;++r[1])for(r[2]=u.fa;r[2]<=u.ga;++r[2])f.push(n.Ea(r));return f}},i),t("ol.Map",h,i),h.prototype.addControl=h.prototype.uj,h.prototype.addInteraction=h.prototype.vj,h.prototype.addLayer=h.prototype.kg,h.prototype.addOverlay=h.prototype.lg,h.prototype.beforeRender=h.prototype.Wa,h.prototype.forEachFeatureAtPixel=h.prototype.kd,h.prototype.forEachLayerAtPixel=h.prototype.Tl,h.prototype.hasFeatureAtPixel=h.prototype.kl,h.prototype.getEventCoordinate=h.prototype.Wj,h.prototype.getEventPixel=h.prototype.Td,h.prototype.getTarget=h.prototype.tf,h.prototype.getTargetElement=h.prototype.yc,h.prototype.getCoordinateFromPixel=h.prototype.Ma,h.prototype.getControls=h.prototype.Uj,h.prototype.getOverlays=h.prototype.nk,h.prototype.getOverlayById=h.prototype.mk,h.prototype.getInteractions=h.prototype.ak,h.prototype.getLayerGroup=h.prototype.xc,h.prototype.getLayers=h.prototype.eh,h.prototype.getPixelFromCoordinate=h.prototype.Ga,h.prototype.getSize=h.prototype.Za,h.prototype.getView=h.prototype.aa,h.prototype.getViewport=h.prototype.Dk,h.prototype.renderSync=h.prototype.Vo,h.prototype.render=h.prototype.render,h.prototype.removeControl=h.prototype.Oo,h.prototype.removeInteraction=h.prototype.Po,h.prototype.removeLayer=h.prototype.Ro,h.prototype.removeOverlay=h.prototype.So,h.prototype.setLayerGroup=h.prototype.ji,h.prototype.setSize=h.prototype.Wf,h.prototype.setTarget=h.prototype.fh,h.prototype.setView=h.prototype.kp,h.prototype.updateSize=h.prototype.Xc,kf.prototype.originalEvent=kf.prototype.originalEvent,kf.prototype.pixel=kf.prototype.pixel,kf.prototype.coordinate=kf.prototype.coordinate,kf.prototype.dragging=kf.prototype.dragging,so.prototype.map=so.prototype.map,so.prototype.frameState=so.prototype.frameState,vs.prototype.key=vs.prototype.key,vs.prototype.oldValue=vs.prototype.oldValue,t("ol.Object",si,i),si.prototype.get=si.prototype.get,si.prototype.getKeys=si.prototype.N,si.prototype.getProperties=si.prototype.O,si.prototype.set=si.prototype.set,si.prototype.setProperties=si.prototype.G,si.prototype.unset=si.prototype.P,t("ol.Observable",ae,i),t("ol.Observable.unByKey",fb,i),ae.prototype.changed=ae.prototype.u,ae.prototype.dispatchEvent=ae.prototype.b,ae.prototype.getRevision=ae.prototype.K,ae.prototype.on=ae.prototype.I,ae.prototype.once=ae.prototype.L,ae.prototype.un=ae.prototype.J,ae.prototype.unByKey=ae.prototype.M,t("ol.inherits",r,i),t("ol.Overlay",wi,i),wi.prototype.getElement=wi.prototype.Sd,wi.prototype.getId=wi.prototype.Xa,wi.prototype.getMap=wi.prototype.he,wi.prototype.getOffset=wi.prototype.Kg,wi.prototype.getPosition=wi.prototype.gh,wi.prototype.getPositioning=wi.prototype.Lg,wi.prototype.setElement=wi.prototype.fi,wi.prototype.setMap=wi.prototype.setMap,wi.prototype.setOffset=wi.prototype.li,wi.prototype.setPosition=wi.prototype.uf,wi.prototype.setPositioning=wi.prototype.oi,t("ol.render.toContext",function(n,t){var r=n.canvas,i=t?t:{},u=i.pixelRatio||pg;return(i=i.size)&&(r.width=i[0]*u,r.height=i[1]*u,r.style.width=i[0]+"px",r.style.height=i[1]+"px"),r=[0,0,r.width,r.height],i=ye(wf(),0,0,u,u,0,0,0),new ys(n,u,r,i,0)},i),t("ol.size.toSize",fs,i),ke.prototype.getTileCoord=ke.prototype.i,ke.prototype.load=ke.prototype.load,ah.prototype.getFormat=ah.prototype.Ul,ah.prototype.setFeatures=ah.prototype.gi,ah.prototype.setProjection=ah.prototype.vf,ah.prototype.setLoader=ah.prototype.ki,t("ol.View",et,i),et.prototype.constrainCenter=et.prototype.Pd,et.prototype.constrainResolution=et.prototype.constrainResolution,et.prototype.constrainRotation=et.prototype.constrainRotation,et.prototype.getCenter=et.prototype.ab,et.prototype.calculateExtent=et.prototype.Kc,et.prototype.getMaxResolution=et.prototype.Vl,et.prototype.getMinResolution=et.prototype.Wl,et.prototype.getProjection=et.prototype.Xl,et.prototype.getResolution=et.prototype.$,et.prototype.getResolutions=et.prototype.Yl,et.prototype.getRotation=et.prototype.La,et.prototype.getZoom=et.prototype.Fk,et.prototype.fit=et.prototype.cf,et.prototype.centerOn=et.prototype.Ej,et.prototype.rotate=et.prototype.rotate,et.prototype.setCenter=et.prototype.mb,et.prototype.setResolution=et.prototype.Ub,et.prototype.setRotation=et.prototype.ie,et.prototype.setZoom=et.prototype.np,t("ol.xml.getAllTextContent",os,i),t("ol.xml.parse",tl,i),hy.prototype.getGL=hy.prototype.$n,hy.prototype.useProgram=hy.prototype.we,t("ol.tilegrid.TileGrid",af,i),af.prototype.forEachTileCoord=af.prototype.yg,af.prototype.getMaxZoom=af.prototype.Ig,af.prototype.getMinZoom=af.prototype.Jg,af.prototype.getOrigin=af.prototype.Ia,af.prototype.getResolution=af.prototype.$,af.prototype.getResolutions=af.prototype.Kh,af.prototype.getTileCoordExtent=af.prototype.Ea,af.prototype.getTileCoordForCoordAndResolution=af.prototype.Zd,af.prototype.getTileCoordForCoordAndZ=af.prototype.qd,af.prototype.getTileSize=af.prototype.Ja,af.prototype.getZForResolution=af.prototype.Lb,t("ol.tilegrid.createXYZ",cb,i),t("ol.tilegrid.WMTS",pf,i),pf.prototype.getMatrixIds=pf.prototype.j,t("ol.tilegrid.WMTS.createFromCapabilitiesMatrixSet",oii,i),t("ol.style.AtlasManager",hii,i),t("ol.style.Circle",vf,i),vf.prototype.getFill=vf.prototype.Bn,vf.prototype.getImage=vf.prototype.jc,vf.prototype.getRadius=vf.prototype.Cn,vf.prototype.getStroke=vf.prototype.Dn,t("ol.style.Fill",nh,i),nh.prototype.getColor=nh.prototype.g,nh.prototype.setColor=nh.prototype.f,t("ol.style.Icon",ku,i),ku.prototype.getAnchor=ku.prototype.Yb,ku.prototype.getImage=ku.prototype.jc,ku.prototype.getOrigin=ku.prototype.Ia,ku.prototype.getSrc=ku.prototype.En,ku.prototype.getSize=ku.prototype.Fb,ku.prototype.load=ku.prototype.load,t("ol.style.Image",ie,i),ie.prototype.getOpacity=ie.prototype.qe,ie.prototype.getRotateWithView=ie.prototype.Xd,ie.prototype.getRotation=ie.prototype.re,ie.prototype.getScale=ie.prototype.se,ie.prototype.getSnapToPixel=ie.prototype.Yd,ie.prototype.setOpacity=ie.prototype.te,ie.prototype.setRotation=ie.prototype.ue,ie.prototype.setScale=ie.prototype.ve,t("ol.style.RegularShape",ru,i),ru.prototype.getAnchor=ru.prototype.Yb,ru.prototype.getAngle=ru.prototype.Fn,ru.prototype.getFill=ru.prototype.Gn,ru.prototype.getImage=ru.prototype.jc,ru.prototype.getOrigin=ru.prototype.Ia,ru.prototype.getPoints=ru.prototype.Hn,ru.prototype.getRadius=ru.prototype.In,ru.prototype.getRadius2=ru.prototype.uk,ru.prototype.getSize=ru.prototype.Fb,ru.prototype.getStroke=ru.prototype.Jn,t("ol.style.Stroke",rf,i),rf.prototype.getColor=rf.prototype.Kn,rf.prototype.getLineCap=rf.prototype.dk,rf.prototype.getLineDash=rf.prototype.Ln,rf.prototype.getLineJoin=rf.prototype.ek,rf.prototype.getMiterLimit=rf.prototype.jk,rf.prototype.getWidth=rf.prototype.Mn,rf.prototype.setColor=rf.prototype.Nn,rf.prototype.setLineCap=rf.prototype.fp,rf.prototype.setLineDash=rf.prototype.On,rf.prototype.setLineJoin=rf.prototype.gp,rf.prototype.setMiterLimit=rf.prototype.hp,rf.prototype.setWidth=rf.prototype.lp,t("ol.style.Style",yf,i),yf.prototype.getGeometry=yf.prototype.W,yf.prototype.getGeometryFunction=yf.prototype.Zj,yf.prototype.getFill=yf.prototype.Pn,yf.prototype.getImage=yf.prototype.Qn,yf.prototype.getStroke=yf.prototype.Rn,yf.prototype.getText=yf.prototype.Ha,yf.prototype.getZIndex=yf.prototype.Sn,yf.prototype.setGeometry=yf.prototype.Jh,yf.prototype.setZIndex=yf.prototype.Tn,t("ol.style.Text",er,i),er.prototype.getFont=er.prototype.Xj,er.prototype.getOffsetX=er.prototype.kk,er.prototype.getOffsetY=er.prototype.lk,er.prototype.getFill=er.prototype.Un,er.prototype.getRotation=er.prototype.Vn,er.prototype.getScale=er.prototype.Wn,er.prototype.getStroke=er.prototype.Xn,er.prototype.getText=er.prototype.Ha,er.prototype.getTextAlign=er.prototype.yk,er.prototype.getTextBaseline=er.prototype.zk,er.prototype.setFont=er.prototype.bp,er.prototype.setOffsetX=er.prototype.mi,er.prototype.setOffsetY=er.prototype.ni,er.prototype.setFill=er.prototype.ap,er.prototype.setRotation=er.prototype.Yn,er.prototype.setScale=er.prototype.Zn,er.prototype.setStroke=er.prototype.ip,er.prototype.setText=er.prototype.pi,er.prototype.setTextAlign=er.prototype.ri,er.prototype.setTextBaseline=er.prototype.jp,t("ol.Sphere",hl,i),hl.prototype.geodesicArea=hl.prototype.a,hl.prototype.haversineDistance=hl.prototype.b,t("ol.source.BingMaps",ti,i),t("ol.source.BingMaps.TOS_ATTRIBUTION",hht,i),t("ol.source.CartoDB",ht,i),ht.prototype.getConfig=ht.prototype.Tj,ht.prototype.updateConfig=ht.prototype.up,ht.prototype.setConfig=ht.prototype.$o,t("ol.source.Cluster",y,i),y.prototype.getSource=y.prototype.Aa,t("ol.source.ImageArcGISRest",pi,i),pi.prototype.getParams=pi.prototype.Sm,pi.prototype.getImageLoadFunction=pi.prototype.Rm,pi.prototype.getUrl=pi.prototype.Tm,pi.prototype.setImageLoadFunction=pi.prototype.Um,pi.prototype.setUrl=pi.prototype.Vm,pi.prototype.updateParams=pi.prototype.Wm,t("ol.source.ImageCanvas",cr,i),t("ol.source.ImageMapGuide",gi,i),gi.prototype.getParams=gi.prototype.Ym,gi.prototype.getImageLoadFunction=gi.prototype.Xm,gi.prototype.updateParams=gi.prototype.$m,gi.prototype.setImageLoadFunction=gi.prototype.Zm,t("ol.source.Image",ci,i),th.prototype.image=th.prototype.image,t("ol.source.ImageStatic",ar,i),t("ol.source.ImageVector",bi,i),bi.prototype.getSource=bi.prototype.an,bi.prototype.getStyle=bi.prototype.bn,bi.prototype.getStyleFunction=bi.prototype.cn,bi.prototype.setStyle=bi.prototype.xh,t("ol.source.ImageWMS",ai,i),ai.prototype.getGetFeatureInfoUrl=ai.prototype.fn,ai.prototype.getParams=ai.prototype.hn,ai.prototype.getImageLoadFunction=ai.prototype.gn,ai.prototype.getUrl=ai.prototype.jn,ai.prototype.setImageLoadFunction=ai.prototype.kn,ai.prototype.setUrl=ai.prototype.ln,ai.prototype.updateParams=ai.prototype.mn,t("ol.source.OSM",ii,i),t("ol.source.OSM.ATTRIBUTION",utt,i),t("ol.source.Raster",ur,i),ur.prototype.setOperation=ur.prototype.v,rs.prototype.extent=rs.prototype.extent,rs.prototype.resolution=rs.prototype.resolution,rs.prototype.data=rs.prototype.data,t("ol.source.Source",ir,i),ir.prototype.getAttributions=ir.prototype.wa,ir.prototype.getLogo=ir.prototype.ua,ir.prototype.getProjection=ir.prototype.xa,ir.prototype.getState=ir.prototype.V,ir.prototype.refresh=ir.prototype.sa,ir.prototype.setAttributions=ir.prototype.oa,t("ol.source.Stamen",ri,i),t("ol.source.TileArcGISRest",ot,i),ot.prototype.getParams=ot.prototype.v,ot.prototype.updateParams=ot.prototype.A,t("ol.source.TileDebug",lr,i),t("ol.source.TileImage",g,i),g.prototype.setRenderReprojectionEdges=g.prototype.zb,g.prototype.setTileGridForProjection=g.prototype.Ab,t("ol.source.TileJSON",wt,i),wt.prototype.getTileJSON=wt.prototype.Ak,t("ol.source.Tile",ki,i),ki.prototype.getTileGrid=ki.prototype.Na,gs.prototype.tile=gs.prototype.tile,t("ol.source.TileUTFGrid",rr,i),rr.prototype.getTemplate=rr.prototype.xk,rr.prototype.forDataAtCoordinateAndResolution=rr.prototype.Ij,t("ol.source.TileWMS",ct,i),ct.prototype.getGetFeatureInfoUrl=ct.prototype.vn,ct.prototype.getParams=ct.prototype.wn,ct.prototype.updateParams=ct.prototype.xn,gt.prototype.getTileLoadFunction=gt.prototype.fb,gt.prototype.getTileUrlFunction=gt.prototype.gb,gt.prototype.getUrls=gt.prototype.hb,gt.prototype.setTileLoadFunction=gt.prototype.kb,gt.prototype.setTileUrlFunction=gt.prototype.Qa,gt.prototype.setUrl=gt.prototype.Va,gt.prototype.setUrls=gt.prototype.bb,t("ol.source.Vector",v,i),v.prototype.addFeature=v.prototype.rb,v.prototype.addFeatures=v.prototype.Jc,v.prototype.clear=v.prototype.clear,v.prototype.forEachFeature=v.prototype.wg,v.prototype.forEachFeatureInExtent=v.prototype.ub,v.prototype.forEachFeatureIntersectingExtent=v.prototype.xg,v.prototype.getFeaturesCollection=v.prototype.Fg,v.prototype.getFeatures=v.prototype.oe,v.prototype.getFeaturesAtCoordinate=v.prototype.Eg,v.prototype.getFeaturesInExtent=v.prototype.ef,v.prototype.getClosestFeatureToCoordinate=v.prototype.Ag,v.prototype.getExtent=v.prototype.H,v.prototype.getFeatureById=v.prototype.Dg,v.prototype.getFormat=v.prototype.Ch,v.prototype.getUrl=v.prototype.Dh,v.prototype.removeFeature=v.prototype.nb,ao.prototype.feature=ao.prototype.feature,t("ol.source.VectorTile",oi,i),t("ol.source.WMTS",k,i),k.prototype.getDimensions=k.prototype.Vj,k.prototype.getFormat=k.prototype.yn,k.prototype.getLayer=k.prototype.zn,k.prototype.getMatrixSet=k.prototype.hk,k.prototype.getRequestEncoding=k.prototype.vk,k.prototype.getStyle=k.prototype.An,k.prototype.getVersion=k.prototype.Ck,k.prototype.updateDimensions=k.prototype.vp,t("ol.source.WMTS.optionsFromCapabilities",function(n,t){var r=pd(n.Contents.Layer,function(n){return n.Identifier==t.layer}),p=n.Contents.TileMatrixSet,f,a,h,v,c,u,i,o,e,s,y;if(f=1<r.TileMatrixSetLink.length?"projection"in t?ltt(r.TileMatrixSetLink,function(n){return pd(p,function(t){return t.Identifier==n.TileMatrixSet}).SupportedCRS.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3")==t.projection}):ltt(r.TileMatrixSetLink,function(n){return n.TileMatrixSet==t.matrixSet}):0,0>f&&(f=0),a=r.TileMatrixSetLink[f].TileMatrixSet,h=r.Format[0],"format"in t&&(h=t.format),f=ltt(r.Style,function(n){return"style"in t?n.Title==t.style:n.isDefault}),0>f&&(f=0),f=r.Style[f].Identifier,v={},"Dimension"in r&&r.Dimension.forEach(function(n){var i=n.Identifier,t=n.Default;void 0===t&&(t=n.Value[0]);v[i]=t}),e=pd(n.Contents.TileMatrixSet,function(n){return n.Identifier==a}),c="projection"in t?yi(t.projection):yi(e.SupportedCRS.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3")),u=r.WGS84BoundingBox,void 0!==u&&(o=yi("EPSG:4326").H(),o=u[0]==o[0]&&u[2]==o[2],i=op(u,"EPSG:4326",c),(u=c.H())&&(us(u,i)||(i=void 0))),e=oii(e,i),s=[],i=t.requestEncoding,i=void 0!==i?i:"","OperationsMetadata"in n&&"GetTile"in n.OperationsMetadata)for(var u=n.OperationsMetadata.GetTile.DCP.HTTP.Get,l=0,w=u.length;l<w;++l)if(y=pd(u[l].Constraint,function(n){return"GetEncoding"==n.name}).AllowedValues.Value,""===i&&(i=y[0]),"KVP"===i)po(y,"KVP")&&s.push(u[l].href);else break;return 0===s.length&&(i="REST",r.ResourceURL.forEach(function(n){"tile"===n.resourceType&&(h=n.format,s.push(n.template))})),{urls:s,layer:t.layer,matrixSet:a,format:h,projection:c,requestEncoding:i,tileGrid:e,style:f,dimensions:v,wrapX:o}},i),t("ol.source.XYZ",at,i),t("ol.source.Zoomify",ui,i),re.prototype.vectorContext=re.prototype.vectorContext,re.prototype.frameState=re.prototype.frameState,re.prototype.context=re.prototype.context,re.prototype.glContext=re.prototype.glContext,ps.prototype.get=ps.prototype.get,ps.prototype.getExtent=ps.prototype.H,ps.prototype.getGeometry=ps.prototype.W,ps.prototype.getProperties=ps.prototype.Nm,ps.prototype.getType=ps.prototype.X,t("ol.render.VectorContext",gb,i),pl.prototype.setStyle=pl.prototype.sd,pl.prototype.drawGeometry=pl.prototype.sc,pl.prototype.drawFeature=pl.prototype.Ye,ys.prototype.drawCircle=ys.prototype.Rd,ys.prototype.setStyle=ys.prototype.sd,ys.prototype.drawGeometry=ys.prototype.sc,ys.prototype.drawFeature=ys.prototype.Ye,t("ol.proj.common.add",hyt,i),t("ol.proj.METERS_PER_UNIT",cl,i),t("ol.proj.Projection",of,i),of.prototype.getCode=of.prototype.Sj,of.prototype.getExtent=of.prototype.H,of.prototype.getUnits=of.prototype.wb,of.prototype.getMetersPerUnit=of.prototype.$b,of.prototype.getWorldExtent=of.prototype.Ek,of.prototype.isGlobal=of.prototype.pl,of.prototype.setGlobal=of.prototype.ep,of.prototype.setExtent=of.prototype.Mm,of.prototype.setWorldExtent=of.prototype.mp,of.prototype.setGetPointResolution=of.prototype.cp,of.prototype.getPointResolution=of.prototype.getPointResolution,t("ol.proj.setProj4",function(n){dtt=n},i),t("ol.proj.addEquivalentProjections",tg,i),t("ol.proj.addProjection",gtt,i),t("ol.proj.addCoordinateTransforms",wct,i),t("ol.proj.fromLonLat",function(n,t){return ig(n,"EPSG:4326",void 0!==t?t:"EPSG:3857")},i),t("ol.proj.toLonLat",function(n,t){return ig(n,void 0!==t?t:"EPSG:3857","EPSG:4326")},i),t("ol.proj.get",yi,i),t("ol.proj.equivalent",nc,i),t("ol.proj.getTransform",gl,i),t("ol.proj.transform",ig,i),t("ol.proj.transformExtent",op,i),t("ol.layer.Heatmap",b,i),b.prototype.getBlur=b.prototype.zg,b.prototype.getGradient=b.prototype.Gg,b.prototype.getRadius=b.prototype.ph,b.prototype.setBlur=b.prototype.di,b.prototype.setGradient=b.prototype.ii,b.prototype.setRadius=b.prototype.qh,t("ol.layer.Image",kt,i),kt.prototype.getSource=kt.prototype.ha,t("ol.layer.Layer",yt,i),yt.prototype.getSource=yt.prototype.ha,yt.prototype.setMap=yt.prototype.setMap,yt.prototype.setSource=yt.prototype.Fc,t("ol.layer.Base",hi,i),hi.prototype.getExtent=hi.prototype.H,hi.prototype.getMaxResolution=hi.prototype.Nb,hi.prototype.getMinResolution=hi.prototype.Ob,hi.prototype.getOpacity=hi.prototype.Pb,hi.prototype.getVisible=hi.prototype.xb,hi.prototype.getZIndex=hi.prototype.Qb,hi.prototype.setExtent=hi.prototype.fc,hi.prototype.setMaxResolution=hi.prototype.nc,hi.prototype.setMinResolution=hi.prototype.oc,hi.prototype.setOpacity=hi.prototype.gc,hi.prototype.setVisible=hi.prototype.hc,hi.prototype.setZIndex=hi.prototype.ic,t("ol.layer.Group",fi,i),fi.prototype.getLayers=fi.prototype.Tc,fi.prototype.setLayers=fi.prototype.oh,t("ol.layer.Tile",rt,i),rt.prototype.getPreload=rt.prototype.f,rt.prototype.getSource=rt.prototype.ha,rt.prototype.setPreload=rt.prototype.l,rt.prototype.getUseInterimTilesOnError=rt.prototype.c,rt.prototype.setUseInterimTilesOnError=rt.prototype.A,t("ol.layer.Vector",p,i),p.prototype.getSource=p.prototype.ha,p.prototype.getStyle=p.prototype.C,p.prototype.getStyleFunction=p.prototype.D,p.prototype.setStyle=p.prototype.l,t("ol.layer.VectorTile",w,i),w.prototype.getPreload=w.prototype.f,w.prototype.getUseInterimTilesOnError=w.prototype.c,w.prototype.setPreload=w.prototype.Y,w.prototype.setUseInterimTilesOnError=w.prototype.ia,t("ol.interaction.DoubleClickZoom",du,i),t("ol.interaction.DoubleClickZoom.handleEvent",wvt,i),t("ol.interaction.DragAndDrop",bu,i),t("ol.interaction.DragAndDrop.handleEvent",lo,i),ss.prototype.features=ss.prototype.features,ss.prototype.file=ss.prototype.file,ss.prototype.projection=ss.prototype.projection,es.prototype.coordinate=es.prototype.coordinate,es.prototype.mapBrowserEvent=es.prototype.mapBrowserEvent,t("ol.interaction.DragBox",dr,i),dr.prototype.getGeometry=dr.prototype.W,t("ol.interaction.DragPan",lu,i),t("ol.interaction.DragRotateAndZoom",uf,i),t("ol.interaction.DragRotate",au,i),t("ol.interaction.DragZoom",fu,i),oh.prototype.feature=oh.prototype.feature,t("ol.interaction.Draw",br,i),t("ol.interaction.Draw.handleEvent",rti,i),br.prototype.removeLastPoint=br.prototype.Qo,br.prototype.finishDrawing=br.prototype.jd,br.prototype.extend=br.prototype.rm,t("ol.interaction.Draw.createRegularPolygon",function(n,t){return function(i,r){var u=i[0],f=i[1],o=Math.sqrt(cc(u,f)),e=r?r:clt(new pt(u),n);return llt(e,u,o,t?t:Math.atan((f[1]-u[1])/(f[0]-u[0]))),e}},i),t("ol.interaction.Interaction",vi,i),vi.prototype.getActive=vi.prototype.f,vi.prototype.getMap=vi.prototype.l,vi.prototype.setActive=vi.prototype.i,t("ol.interaction.defaults",fyt,i),t("ol.interaction.KeyboardPan",gu,i),t("ol.interaction.KeyboardPan.handleEvent",iyt,i),t("ol.interaction.KeyboardZoom",nf,i),t("ol.interaction.KeyboardZoom.handleEvent",ryt,i),hs.prototype.features=hs.prototype.features,hs.prototype.mapBrowserEvent=hs.prototype.mapBrowserEvent,t("ol.interaction.Modify",hu,i),t("ol.interaction.Modify.handleEvent",lti,i),hu.prototype.removePoint=hu.prototype.ai,t("ol.interaction.MouseWheelZoom",gr,i),t("ol.interaction.MouseWheelZoom.handleEvent",uyt,i),gr.prototype.setMouseAnchor=gr.prototype.D,t("ol.interaction.PinchRotate",vu,i),t("ol.interaction.PinchZoom",yu,i),t("ol.interaction.Pointer",ei,i),t("ol.interaction.Pointer.handleEvent",ek,i),cs.prototype.selected=cs.prototype.selected,cs.prototype.deselected=cs.prototype.deselected,cs.prototype.mapBrowserEvent=cs.prototype.mapBrowserEvent,t("ol.interaction.Select",kr,i),kr.prototype.getFeatures=kr.prototype.Bm,kr.prototype.getLayer=kr.prototype.Cm,t("ol.interaction.Select.handleEvent",vti,i),kr.prototype.setMap=kr.prototype.setMap,t("ol.interaction.Snap",iu,i),iu.prototype.addFeature=iu.prototype.rb,iu.prototype.removeFeature=iu.prototype.nb,ls.prototype.features=ls.prototype.features,ls.prototype.coordinate=ls.prototype.coordinate,t("ol.interaction.Translate",ff,i),t("ol.geom.Circle",pt,i),pt.prototype.clone=pt.prototype.clone,pt.prototype.getCenter=pt.prototype.rd,pt.prototype.getRadius=pt.prototype.wf,pt.prototype.getType=pt.prototype.X,pt.prototype.intersectsExtent=pt.prototype.Ka,pt.prototype.setCenter=pt.prototype.jm,pt.prototype.setCenterAndRadius=pt.prototype.Vf,pt.prototype.setRadius=pt.prototype.km,pt.prototype.transform=pt.prototype.jb,t("ol.geom.Geometry",nr,i),nr.prototype.getClosestPoint=nr.prototype.vb,nr.prototype.getExtent=nr.prototype.H,nr.prototype.rotate=nr.prototype.rotate,nr.prototype.simplify=nr.prototype.Bb,nr.prototype.transform=nr.prototype.jb,t("ol.geom.GeometryCollection",ni,i),ni.prototype.clone=ni.prototype.clone,ni.prototype.getGeometries=ni.prototype.ff,ni.prototype.getType=ni.prototype.X,ni.prototype.intersectsExtent=ni.prototype.Ka,ni.prototype.setGeometries=ni.prototype.hi,ni.prototype.applyTransform=ni.prototype.rc,ni.prototype.translate=ni.prototype.Sc,t("ol.geom.LinearRing",bt,i),bt.prototype.clone=bt.prototype.clone,bt.prototype.getArea=bt.prototype.nm,bt.prototype.getCoordinates=bt.prototype.Z,bt.prototype.getType=bt.prototype.X,bt.prototype.setCoordinates=bt.prototype.pa,t("ol.geom.LineString",a,i),a.prototype.appendCoordinate=a.prototype.wj,a.prototype.clone=a.prototype.clone,a.prototype.forEachSegment=a.prototype.Lj,a.prototype.getCoordinateAtM=a.prototype.lm,a.prototype.getCoordinates=a.prototype.Z,a.prototype.getCoordinateAt=a.prototype.Bg,a.prototype.getLength=a.prototype.mm,a.prototype.getType=a.prototype.X,a.prototype.intersectsExtent=a.prototype.Ka,a.prototype.setCoordinates=a.prototype.pa,t("ol.geom.MultiLineString",d,i),d.prototype.appendLineString=d.prototype.xj,d.prototype.clone=d.prototype.clone,d.prototype.getCoordinateAtM=d.prototype.om,d.prototype.getCoordinates=d.prototype.Z,d.prototype.getLineString=d.prototype.fk,d.prototype.getLineStrings=d.prototype.md,d.prototype.getType=d.prototype.X,d.prototype.intersectsExtent=d.prototype.Ka,d.prototype.setCoordinates=d.prototype.pa,t("ol.geom.MultiPoint",ut,i),ut.prototype.appendPoint=ut.prototype.zj,ut.prototype.clone=ut.prototype.clone,ut.prototype.getCoordinates=ut.prototype.Z,ut.prototype.getPoint=ut.prototype.rk,ut.prototype.getPoints=ut.prototype.je,ut.prototype.getType=ut.prototype.X,ut.prototype.intersectsExtent=ut.prototype.Ka,ut.prototype.setCoordinates=ut.prototype.pa,t("ol.geom.MultiPolygon",it,i),it.prototype.appendPolygon=it.prototype.Aj,it.prototype.clone=it.prototype.clone,it.prototype.getArea=it.prototype.pm,it.prototype.getCoordinates=it.prototype.Z,it.prototype.getInteriorPoints=it.prototype.ck,it.prototype.getPolygon=it.prototype.tk,it.prototype.getPolygons=it.prototype.Wd,it.prototype.getType=it.prototype.X,it.prototype.intersectsExtent=it.prototype.Ka,it.prototype.setCoordinates=it.prototype.pa,t("ol.geom.Point",tt,i),tt.prototype.clone=tt.prototype.clone,tt.prototype.getCoordinates=tt.prototype.Z,tt.prototype.getType=tt.prototype.X,tt.prototype.intersectsExtent=tt.prototype.Ka,tt.prototype.setCoordinates=tt.prototype.pa,t("ol.geom.Polygon",l,i),l.prototype.appendLinearRing=l.prototype.yj,l.prototype.clone=l.prototype.clone,l.prototype.getArea=l.prototype.qm,l.prototype.getCoordinates=l.prototype.Z,l.prototype.getInteriorPoint=l.prototype.bk,l.prototype.getLinearRingCount=l.prototype.gk,l.prototype.getLinearRing=l.prototype.Hg,l.prototype.getLinearRings=l.prototype.Vd,l.prototype.getType=l.prototype.X,l.prototype.intersectsExtent=l.prototype.Ka,l.prototype.setCoordinates=l.prototype.pa,t("ol.geom.Polygon.circular",slt,i),t("ol.geom.Polygon.fromExtent",hlt,i),t("ol.geom.Polygon.fromCircle",clt,i),t("ol.geom.SimpleGeometry",lt,i),lt.prototype.getFirstCoordinate=lt.prototype.Ib,lt.prototype.getLastCoordinate=lt.prototype.Jb,lt.prototype.getLayout=lt.prototype.Kb,lt.prototype.applyTransform=lt.prototype.rc,lt.prototype.translate=lt.prototype.Sc,t("ol.format.EsriJSON",oe,i),oe.prototype.readFeature=oe.prototype.Rb,oe.prototype.readFeatures=oe.prototype.Fa,oe.prototype.readGeometry=oe.prototype.Vc,oe.prototype.readProjection=oe.prototype.Oa,oe.prototype.writeGeometry=oe.prototype.Zc,oe.prototype.writeGeometryObject=oe.prototype.Ke,oe.prototype.writeFeature=oe.prototype.Dd,oe.prototype.writeFeatureObject=oe.prototype.Yc,oe.prototype.writeFeatures=oe.prototype.Xb,oe.prototype.writeFeaturesObject=oe.prototype.Ie,t("ol.format.Feature",kk,i),t("ol.format.GeoJSON",se,i),se.prototype.readFeature=se.prototype.Rb,se.prototype.readFeatures=se.prototype.Fa,se.prototype.readGeometry=se.prototype.Vc,se.prototype.readProjection=se.prototype.Oa,se.prototype.writeFeature=se.prototype.Dd,se.prototype.writeFeatureObject=se.prototype.Yc,se.prototype.writeFeatures=se.prototype.Xb,se.prototype.writeFeaturesObject=se.prototype.Ie,se.prototype.writeGeometry=se.prototype.Zc,se.prototype.writeGeometryObject=se.prototype.Ke,t("ol.format.GPX",ws,i),ws.prototype.readFeature=ws.prototype.Rb,ws.prototype.readFeatures=ws.prototype.Fa,ws.prototype.readProjection=ws.prototype.Oa,ws.prototype.writeFeatures=ws.prototype.Xb,ws.prototype.writeFeaturesNode=ws.prototype.a,t("ol.format.IGC",wl,i),wl.prototype.readFeature=wl.prototype.Rb,wl.prototype.readFeatures=wl.prototype.Fa,wl.prototype.readProjection=wl.prototype.Oa,t("ol.format.KML",yo,i),yo.prototype.readFeature=yo.prototype.Rb,yo.prototype.readFeatures=yo.prototype.Fa,yo.prototype.readName=yo.prototype.Fo,yo.prototype.readNetworkLinks=yo.prototype.Go,yo.prototype.readProjection=yo.prototype.Oa,yo.prototype.writeFeatures=yo.prototype.Xb,yo.prototype.writeFeaturesNode=yo.prototype.a,t("ol.format.MVT",oc,i),oc.prototype.readFeatures=oc.prototype.Fa,oc.prototype.readProjection=oc.prototype.Oa,oc.prototype.setLayers=oc.prototype.c,t("ol.format.OSMXML",yy,i),yy.prototype.readFeatures=yy.prototype.Fa,yy.prototype.readProjection=yy.prototype.Oa,t("ol.format.Polyline",ph,i),t("ol.format.Polyline.encodeDeltas",pgt,i),t("ol.format.Polyline.decodeDeltas",wgt,i),t("ol.format.Polyline.encodeFloats",bgt,i),t("ol.format.Polyline.decodeFloats",kgt,i),ph.prototype.readFeature=ph.prototype.Rb,ph.prototype.readFeatures=ph.prototype.Fa,ph.prototype.readGeometry=ph.prototype.Vc,ph.prototype.readProjection=ph.prototype.Oa,ph.prototype.writeGeometry=ph.prototype.Zc,t("ol.format.TopoJSON",ov,i),ov.prototype.readFeatures=ov.prototype.Fa,ov.prototype.readProjection=ov.prototype.Oa,t("ol.format.WFS",we,i),we.prototype.readFeatures=we.prototype.Fa,we.prototype.readTransactionResponse=we.prototype.o,we.prototype.readFeatureCollectionMetadata=we.prototype.l,we.prototype.writeGetFeature=we.prototype.j,we.prototype.writeTransaction=we.prototype.U,we.prototype.readProjection=we.prototype.Oa,t("ol.format.WKT",bs,i),bs.prototype.readFeature=bs.prototype.Rb,bs.prototype.readFeatures=bs.prototype.Fa,bs.prototype.readGeometry=bs.prototype.Vc,bs.prototype.writeFeature=bs.prototype.Dd,bs.prototype.writeFeatures=bs.prototype.Xb,bs.prototype.writeGeometry=bs.prototype.Zc,t("ol.format.WMSCapabilities",nb,i),nb.prototype.read=nb.prototype.read,t("ol.format.WMSGetFeatureInfo",od,i),od.prototype.readFeatures=od.prototype.Fa,t("ol.format.WMTSCapabilities",tb,i),tb.prototype.read=tb.prototype.read,t("ol.format.ogc.filter.and",lgt,i),t("ol.format.ogc.filter.or",function(n,t){return new ust(n,t)},i),t("ol.format.ogc.filter.not",function(n){return new fst(n)},i),t("ol.format.ogc.filter.bbox",agt,i),t("ol.format.ogc.filter.equalTo",function(n,t,i){return new ost(n,t,i)},i),t("ol.format.ogc.filter.notEqualTo",function(n,t,i){return new sst(n,t,i)},i),t("ol.format.ogc.filter.lessThan",function(n,t){return new hst(n,t)},i),t("ol.format.ogc.filter.lessThanOrEqualTo",function(n,t){return new cst(n,t)},i),t("ol.format.ogc.filter.greaterThan",function(n,t){return new lst(n,t)},i),t("ol.format.ogc.filter.greaterThanOrEqualTo",function(n,t){return new ast(n,t)},i),t("ol.format.ogc.filter.isNull",function(n){return new vst(n)},i),t("ol.format.ogc.filter.between",function(n,t,i){return new yst(n,t,i)},i),t("ol.format.ogc.filter.like",function(n,t,i,r,u,f){return new pst(n,t,i,r,u,f)},i),t("ol.format.ogc.filter.Filter",kn,i),t("ol.format.ogc.filter.And",rst,i),t("ol.format.ogc.filter.Or",ust,i),t("ol.format.ogc.filter.Not",fst,i),t("ol.format.ogc.filter.Bbox",est,i),t("ol.format.ogc.filter.Comparison",bl,i),t("ol.format.ogc.filter.ComparisonBinary",fh,i),t("ol.format.ogc.filter.EqualTo",ost,i),t("ol.format.ogc.filter.NotEqualTo",sst,i),t("ol.format.ogc.filter.LessThan",hst,i),t("ol.format.ogc.filter.LessThanOrEqualTo",cst,i),t("ol.format.ogc.filter.GreaterThan",lst,i),t("ol.format.ogc.filter.GreaterThanOrEqualTo",ast,i),t("ol.format.ogc.filter.IsNull",vst,i),t("ol.format.ogc.filter.IsBetween",yst,i),t("ol.format.ogc.filter.IsLike",pst,i),t("ol.format.GML2",ul,i),t("ol.format.GML3",st,i),st.prototype.writeGeometryNode=st.prototype.s,st.prototype.writeFeatures=st.prototype.Xb,st.prototype.writeFeaturesNode=st.prototype.a,t("ol.format.GML",st,i),st.prototype.writeFeatures=st.prototype.Xb,st.prototype.writeFeaturesNode=st.prototype.a,tu.prototype.readFeatures=tu.prototype.Fa,t("ol.events.condition.altKeyOnly",function(n){return n=n.originalEvent,n.altKey&&!(n.metaKey||n.ctrlKey)&&!n.shiftKey},i),t("ol.events.condition.altShiftKeysOnly",bvt,i),t("ol.events.condition.always",lo,i),t("ol.events.condition.click",function(n){return n.type==lut},i),t("ol.events.condition.never",ks,i),t("ol.events.condition.pointerMove",dvt,i),t("ol.events.condition.singleClick",ift,i),t("ol.events.condition.doubleClick",function(n){return n.type==bb},i),t("ol.events.condition.noModifierKeys",uk,i),t("ol.events.condition.platformModifierKeyOnly",function(n){return n=n.originalEvent,!n.altKey&&(kat?n.metaKey:n.ctrlKey)&&!n.shiftKey},i),t("ol.events.condition.shiftKeyOnly",fk,i),t("ol.events.condition.targetNotEditable",rft,i),t("ol.events.condition.mouseOnly",al,i),t("ol.events.condition.primaryAction",gvt,i),vr.prototype.type=vr.prototype.type,vr.prototype.target=vr.prototype.target,vr.prototype.preventDefault=vr.prototype.preventDefault,vr.prototype.stopPropagation=vr.prototype.stopPropagation,t("ol.control.Attribution",or,i),t("ol.control.Attribution.render",cat,i),or.prototype.getCollapsible=or.prototype.$l,or.prototype.setCollapsible=or.prototype.cm,or.prototype.setCollapsed=or.prototype.bm,or.prototype.getCollapsed=or.prototype.Zl,t("ol.control.Control",dt,i),dt.prototype.getMap=dt.prototype.i,dt.prototype.setMap=dt.prototype.setMap,dt.prototype.setTarget=dt.prototype.c,t("ol.control.defaults",aat,i),t("ol.control.FullScreen",su,i),t("ol.control.MousePosition",hr,i),t("ol.control.MousePosition.render",wat,i),hr.prototype.getCoordinateFormat=hr.prototype.Cg,hr.prototype.getProjection=hr.prototype.hh,hr.prototype.setCoordinateFormat=hr.prototype.ei,hr.prototype.setProjection=hr.prototype.ih,t("ol.control.OverviewMap",fr,i),t("ol.control.OverviewMap.render",lbt,i),fr.prototype.getCollapsible=fr.prototype.fm,fr.prototype.setCollapsible=fr.prototype.im,fr.prototype.setCollapsed=fr.prototype.hm,fr.prototype.getCollapsed=fr.prototype.em,fr.prototype.getOverviewMap=fr.prototype.pk,t("ol.control.Rotate",ou,i),t("ol.control.Rotate.render",lat,i),t("ol.control.ScaleLine",pr,i),pr.prototype.getUnits=pr.prototype.wb,t("ol.control.ScaleLine.render",ybt,i),pr.prototype.setUnits=pr.prototype.D,t("ol.control.Zoom",uu,i),t("ol.control.ZoomSlider",wu,i),t("ol.control.ZoomSlider.render",wbt,i),t("ol.control.ZoomToExtent",tf,i),t("ol.color.asArray",nrt,i),t("ol.color.asString",bo,i),wo.prototype.type=wo.prototype.type,wo.prototype.target=wo.prototype.target,wo.prototype.preventDefault=wo.prototype.preventDefault,wo.prototype.stopPropagation=wo.prototype.stopPropagation,si.prototype.changed=si.prototype.u,si.prototype.dispatchEvent=si.prototype.b,si.prototype.getRevision=si.prototype.K,si.prototype.on=si.prototype.I,si.prototype.once=si.prototype.L,si.prototype.un=si.prototype.J,si.prototype.unByKey=si.prototype.M,vt.prototype.get=vt.prototype.get,vt.prototype.getKeys=vt.prototype.N,vt.prototype.getProperties=vt.prototype.O,vt.prototype.set=vt.prototype.set,vt.prototype.setProperties=vt.prototype.G,vt.prototype.unset=vt.prototype.P,vt.prototype.changed=vt.prototype.u,vt.prototype.dispatchEvent=vt.prototype.b,vt.prototype.getRevision=vt.prototype.K,vt.prototype.on=vt.prototype.I,vt.prototype.once=vt.prototype.L,vt.prototype.un=vt.prototype.J,vt.prototype.unByKey=vt.prototype.M,wr.prototype.get=wr.prototype.get,wr.prototype.getKeys=wr.prototype.N,wr.prototype.getProperties=wr.prototype.O,wr.prototype.set=wr.prototype.set,wr.prototype.setProperties=wr.prototype.G,wr.prototype.unset=wr.prototype.P,wr.prototype.changed=wr.prototype.u,wr.prototype.dispatchEvent=wr.prototype.b,wr.prototype.getRevision=wr.prototype.K,wr.prototype.on=wr.prototype.I,wr.prototype.once=wr.prototype.L,wr.prototype.un=wr.prototype.J,wr.prototype.unByKey=wr.prototype.M,ft.prototype.get=ft.prototype.get,ft.prototype.getKeys=ft.prototype.N,ft.prototype.getProperties=ft.prototype.O,ft.prototype.set=ft.prototype.set,ft.prototype.setProperties=ft.prototype.G,ft.prototype.unset=ft.prototype.P,ft.prototype.changed=ft.prototype.u,ft.prototype.dispatchEvent=ft.prototype.b,ft.prototype.getRevision=ft.prototype.K,ft.prototype.on=ft.prototype.I,ft.prototype.once=ft.prototype.L,ft.prototype.un=ft.prototype.J,ft.prototype.unByKey=ft.prototype.M,li.prototype.get=li.prototype.get,li.prototype.getKeys=li.prototype.N,li.prototype.getProperties=li.prototype.O,li.prototype.set=li.prototype.set,li.prototype.setProperties=li.prototype.G,li.prototype.unset=li.prototype.P,li.prototype.changed=li.prototype.u,li.prototype.dispatchEvent=li.prototype.b,li.prototype.getRevision=li.prototype.K,li.prototype.on=li.prototype.I,li.prototype.once=li.prototype.L,li.prototype.un=li.prototype.J,li.prototype.unByKey=li.prototype.M,sc.prototype.getTileCoord=sc.prototype.i,h.prototype.get=h.prototype.get,h.prototype.getKeys=h.prototype.N,h.prototype.getProperties=h.prototype.O,h.prototype.set=h.prototype.set,h.prototype.setProperties=h.prototype.G,h.prototype.unset=h.prototype.P,h.prototype.changed=h.prototype.u,h.prototype.dispatchEvent=h.prototype.b,h.prototype.getRevision=h.prototype.K,h.prototype.on=h.prototype.I,h.prototype.once=h.prototype.L,h.prototype.un=h.prototype.J,h.prototype.unByKey=h.prototype.M,so.prototype.type=so.prototype.type,so.prototype.target=so.prototype.target,so.prototype.preventDefault=so.prototype.preventDefault,so.prototype.stopPropagation=so.prototype.stopPropagation,kf.prototype.map=kf.prototype.map,kf.prototype.frameState=kf.prototype.frameState,kf.prototype.type=kf.prototype.type,kf.prototype.target=kf.prototype.target,kf.prototype.preventDefault=kf.prototype.preventDefault,kf.prototype.stopPropagation=kf.prototype.stopPropagation,sf.prototype.originalEvent=sf.prototype.originalEvent,sf.prototype.pixel=sf.prototype.pixel,sf.prototype.coordinate=sf.prototype.coordinate,sf.prototype.dragging=sf.prototype.dragging,sf.prototype.preventDefault=sf.prototype.preventDefault,sf.prototype.stopPropagation=sf.prototype.stopPropagation,sf.prototype.map=sf.prototype.map,sf.prototype.frameState=sf.prototype.frameState,sf.prototype.type=sf.prototype.type,sf.prototype.target=sf.prototype.target,vs.prototype.type=vs.prototype.type,vs.prototype.target=vs.prototype.target,vs.prototype.preventDefault=vs.prototype.preventDefault,vs.prototype.stopPropagation=vs.prototype.stopPropagation,wi.prototype.get=wi.prototype.get,wi.prototype.getKeys=wi.prototype.N,wi.prototype.getProperties=wi.prototype.O,wi.prototype.set=wi.prototype.set,wi.prototype.setProperties=wi.prototype.G,wi.prototype.unset=wi.prototype.P,wi.prototype.changed=wi.prototype.u,wi.prototype.dispatchEvent=wi.prototype.b,wi.prototype.getRevision=wi.prototype.K,wi.prototype.on=wi.prototype.I,wi.prototype.once=wi.prototype.L,wi.prototype.un=wi.prototype.J,wi.prototype.unByKey=wi.prototype.M,ah.prototype.getTileCoord=ah.prototype.i,et.prototype.get=et.prototype.get,et.prototype.getKeys=et.prototype.N,et.prototype.getProperties=et.prototype.O,et.prototype.set=et.prototype.set,et.prototype.setProperties=et.prototype.G,et.prototype.unset=et.prototype.P,et.prototype.changed=et.prototype.u,et.prototype.dispatchEvent=et.prototype.b,et.prototype.getRevision=et.prototype.K,et.prototype.on=et.prototype.I,et.prototype.once=et.prototype.L,et.prototype.un=et.prototype.J,et.prototype.unByKey=et.prototype.M,pf.prototype.forEachTileCoord=pf.prototype.yg,pf.prototype.getMaxZoom=pf.prototype.Ig,pf.prototype.getMinZoom=pf.prototype.Jg,pf.prototype.getOrigin=pf.prototype.Ia,pf.prototype.getResolution=pf.prototype.$,pf.prototype.getResolutions=pf.prototype.Kh,pf.prototype.getTileCoordExtent=pf.prototype.Ea,pf.prototype.getTileCoordForCoordAndResolution=pf.prototype.Zd,pf.prototype.getTileCoordForCoordAndZ=pf.prototype.qd,pf.prototype.getTileSize=pf.prototype.Ja,pf.prototype.getZForResolution=pf.prototype.Lb,vf.prototype.getOpacity=vf.prototype.qe,vf.prototype.getRotateWithView=vf.prototype.Xd,vf.prototype.getRotation=vf.prototype.re,vf.prototype.getScale=vf.prototype.se,vf.prototype.getSnapToPixel=vf.prototype.Yd,vf.prototype.setOpacity=vf.prototype.te,vf.prototype.setRotation=vf.prototype.ue,vf.prototype.setScale=vf.prototype.ve,ku.prototype.getOpacity=ku.prototype.qe,ku.prototype.getRotateWithView=ku.prototype.Xd,ku.prototype.getRotation=ku.prototype.re,ku.prototype.getScale=ku.prototype.se,ku.prototype.getSnapToPixel=ku.prototype.Yd,ku.prototype.setOpacity=ku.prototype.te,ku.prototype.setRotation=ku.prototype.ue,ku.prototype.setScale=ku.prototype.ve,ru.prototype.getOpacity=ru.prototype.qe,ru.prototype.getRotateWithView=ru.prototype.Xd,ru.prototype.getRotation=ru.prototype.re,ru.prototype.getScale=ru.prototype.se,ru.prototype.getSnapToPixel=ru.prototype.Yd,ru.prototype.setOpacity=ru.prototype.te,ru.prototype.setRotation=ru.prototype.ue,ru.prototype.setScale=ru.prototype.ve,ir.prototype.get=ir.prototype.get,ir.prototype.getKeys=ir.prototype.N,ir.prototype.getProperties=ir.prototype.O,ir.prototype.set=ir.prototype.set,ir.prototype.setProperties=ir.prototype.G,ir.prototype.unset=ir.prototype.P,ir.prototype.changed=ir.prototype.u,ir.prototype.dispatchEvent=ir.prototype.b,ir.prototype.getRevision=ir.prototype.K,ir.prototype.on=ir.prototype.I,ir.prototype.once=ir.prototype.L,ir.prototype.un=ir.prototype.J,ir.prototype.unByKey=ir.prototype.M,ki.prototype.getAttributions=ki.prototype.wa,ki.prototype.getLogo=ki.prototype.ua,ki.prototype.getProjection=ki.prototype.xa,ki.prototype.getState=ki.prototype.V,ki.prototype.refresh=ki.prototype.sa,ki.prototype.setAttributions=ki.prototype.oa,ki.prototype.get=ki.prototype.get,ki.prototype.getKeys=ki.prototype.N,ki.prototype.getProperties=ki.prototype.O,ki.prototype.set=ki.prototype.set,ki.prototype.setProperties=ki.prototype.G,ki.prototype.unset=ki.prototype.P,ki.prototype.changed=ki.prototype.u,ki.prototype.dispatchEvent=ki.prototype.b,ki.prototype.getRevision=ki.prototype.K,ki.prototype.on=ki.prototype.I,ki.prototype.once=ki.prototype.L,ki.prototype.un=ki.prototype.J,ki.prototype.unByKey=ki.prototype.M,gt.prototype.getTileGrid=gt.prototype.Na,gt.prototype.refresh=gt.prototype.sa,gt.prototype.getAttributions=gt.prototype.wa,gt.prototype.getLogo=gt.prototype.ua,gt.prototype.getProjection=gt.prototype.xa,gt.prototype.getState=gt.prototype.V,gt.prototype.setAttributions=gt.prototype.oa,gt.prototype.get=gt.prototype.get,gt.prototype.getKeys=gt.prototype.N,gt.prototype.getProperties=gt.prototype.O,gt.prototype.set=gt.prototype.set,gt.prototype.setProperties=gt.prototype.G,gt.prototype.unset=gt.prototype.P,gt.prototype.changed=gt.prototype.u,gt.prototype.dispatchEvent=gt.prototype.b,gt.prototype.getRevision=gt.prototype.K,gt.prototype.on=gt.prototype.I,gt.prototype.once=gt.prototype.L,gt.prototype.un=gt.prototype.J,gt.prototype.unByKey=gt.prototype.M,g.prototype.getTileLoadFunction=g.prototype.fb,g.prototype.getTileUrlFunction=g.prototype.gb,g.prototype.getUrls=g.prototype.hb,g.prototype.setTileLoadFunction=g.prototype.kb,g.prototype.setTileUrlFunction=g.prototype.Qa,g.prototype.setUrl=g.prototype.Va,g.prototype.setUrls=g.prototype.bb,g.prototype.getTileGrid=g.prototype.Na,g.prototype.refresh=g.prototype.sa,g.prototype.getAttributions=g.prototype.wa,g.prototype.getLogo=g.prototype.ua,g.prototype.getProjection=g.prototype.xa,g.prototype.getState=g.prototype.V,g.prototype.setAttributions=g.prototype.oa,g.prototype.get=g.prototype.get,g.prototype.getKeys=g.prototype.N,g.prototype.getProperties=g.prototype.O,g.prototype.set=g.prototype.set,g.prototype.setProperties=g.prototype.G,g.prototype.unset=g.prototype.P,g.prototype.changed=g.prototype.u,g.prototype.dispatchEvent=g.prototype.b,g.prototype.getRevision=g.prototype.K,g.prototype.on=g.prototype.I,g.prototype.once=g.prototype.L,g.prototype.un=g.prototype.J,g.prototype.unByKey=g.prototype.M,ti.prototype.setRenderReprojectionEdges=ti.prototype.zb,ti.prototype.setTileGridForProjection=ti.prototype.Ab,ti.prototype.getTileLoadFunction=ti.prototype.fb,ti.prototype.getTileUrlFunction=ti.prototype.gb,ti.prototype.getUrls=ti.prototype.hb,ti.prototype.setTileLoadFunction=ti.prototype.kb,ti.prototype.setTileUrlFunction=ti.prototype.Qa,ti.prototype.setUrl=ti.prototype.Va,ti.prototype.setUrls=ti.prototype.bb,ti.prototype.getTileGrid=ti.prototype.Na,ti.prototype.refresh=ti.prototype.sa,ti.prototype.getAttributions=ti.prototype.wa,ti.prototype.getLogo=ti.prototype.ua,ti.prototype.getProjection=ti.prototype.xa,ti.prototype.getState=ti.prototype.V,ti.prototype.setAttributions=ti.prototype.oa,ti.prototype.get=ti.prototype.get,ti.prototype.getKeys=ti.prototype.N,ti.prototype.getProperties=ti.prototype.O,ti.prototype.set=ti.prototype.set,ti.prototype.setProperties=ti.prototype.G,ti.prototype.unset=ti.prototype.P,ti.prototype.changed=ti.prototype.u,ti.prototype.dispatchEvent=ti.prototype.b,ti.prototype.getRevision=ti.prototype.K,ti.prototype.on=ti.prototype.I,ti.prototype.once=ti.prototype.L,ti.prototype.un=ti.prototype.J,ti.prototype.unByKey=ti.prototype.M,at.prototype.setRenderReprojectionEdges=at.prototype.zb,at.prototype.setTileGridForProjection=at.prototype.Ab,at.prototype.getTileLoadFunction=at.prototype.fb,at.prototype.getTileUrlFunction=at.prototype.gb,at.prototype.getUrls=at.prototype.hb,at.prototype.setTileLoadFunction=at.prototype.kb,at.prototype.setTileUrlFunction=at.prototype.Qa,at.prototype.setUrl=at.prototype.Va,at.prototype.setUrls=at.prototype.bb,at.prototype.getTileGrid=at.prototype.Na,at.prototype.refresh=at.prototype.sa,at.prototype.getAttributions=at.prototype.wa,at.prototype.getLogo=at.prototype.ua,at.prototype.getProjection=at.prototype.xa,at.prototype.getState=at.prototype.V,at.prototype.setAttributions=at.prototype.oa,at.prototype.get=at.prototype.get,at.prototype.getKeys=at.prototype.N,at.prototype.getProperties=at.prototype.O,at.prototype.set=at.prototype.set,at.prototype.setProperties=at.prototype.G,at.prototype.unset=at.prototype.P,at.prototype.changed=at.prototype.u,at.prototype.dispatchEvent=at.prototype.b,at.prototype.getRevision=at.prototype.K,at.prototype.on=at.prototype.I,at.prototype.once=at.prototype.L,at.prototype.un=at.prototype.J,at.prototype.unByKey=at.prototype.M,ht.prototype.setRenderReprojectionEdges=ht.prototype.zb,ht.prototype.setTileGridForProjection=ht.prototype.Ab,ht.prototype.getTileLoadFunction=ht.prototype.fb,ht.prototype.getTileUrlFunction=ht.prototype.gb,ht.prototype.getUrls=ht.prototype.hb,ht.prototype.setTileLoadFunction=ht.prototype.kb,ht.prototype.setTileUrlFunction=ht.prototype.Qa,ht.prototype.setUrl=ht.prototype.Va,ht.prototype.setUrls=ht.prototype.bb,ht.prototype.getTileGrid=ht.prototype.Na,ht.prototype.refresh=ht.prototype.sa,ht.prototype.getAttributions=ht.prototype.wa,ht.prototype.getLogo=ht.prototype.ua,ht.prototype.getProjection=ht.prototype.xa,ht.prototype.getState=ht.prototype.V,ht.prototype.setAttributions=ht.prototype.oa,ht.prototype.get=ht.prototype.get,ht.prototype.getKeys=ht.prototype.N,ht.prototype.getProperties=ht.prototype.O,ht.prototype.set=ht.prototype.set,ht.prototype.setProperties=ht.prototype.G,ht.prototype.unset=ht.prototype.P,ht.prototype.changed=ht.prototype.u,ht.prototype.dispatchEvent=ht.prototype.b,ht.prototype.getRevision=ht.prototype.K,ht.prototype.on=ht.prototype.I,ht.prototype.once=ht.prototype.L,ht.prototype.un=ht.prototype.J,ht.prototype.unByKey=ht.prototype.M,v.prototype.getAttributions=v.prototype.wa,v.prototype.getLogo=v.prototype.ua,v.prototype.getProjection=v.prototype.xa,v.prototype.getState=v.prototype.V,v.prototype.refresh=v.prototype.sa,v.prototype.setAttributions=v.prototype.oa,v.prototype.get=v.prototype.get,v.prototype.getKeys=v.prototype.N,v.prototype.getProperties=v.prototype.O,v.prototype.set=v.prototype.set,v.prototype.setProperties=v.prototype.G,v.prototype.unset=v.prototype.P,v.prototype.changed=v.prototype.u,v.prototype.dispatchEvent=v.prototype.b,v.prototype.getRevision=v.prototype.K,v.prototype.on=v.prototype.I,v.prototype.once=v.prototype.L,v.prototype.un=v.prototype.J,v.prototype.unByKey=v.prototype.M,y.prototype.addFeature=y.prototype.rb,y.prototype.addFeatures=y.prototype.Jc,y.prototype.clear=y.prototype.clear,y.prototype.forEachFeature=y.prototype.wg,y.prototype.forEachFeatureInExtent=y.prototype.ub,y.prototype.forEachFeatureIntersectingExtent=y.prototype.xg,y.prototype.getFeaturesCollection=y.prototype.Fg,y.prototype.getFeatures=y.prototype.oe,y.prototype.getFeaturesAtCoordinate=y.prototype.Eg,y.prototype.getFeaturesInExtent=y.prototype.ef,y.prototype.getClosestFeatureToCoordinate=y.prototype.Ag,y.prototype.getExtent=y.prototype.H,y.prototype.getFeatureById=y.prototype.Dg,y.prototype.getFormat=y.prototype.Ch,y.prototype.getUrl=y.prototype.Dh,y.prototype.removeFeature=y.prototype.nb,y.prototype.getAttributions=y.prototype.wa,y.prototype.getLogo=y.prototype.ua,y.prototype.getProjection=y.prototype.xa,y.prototype.getState=y.prototype.V,y.prototype.refresh=y.prototype.sa,y.prototype.setAttributions=y.prototype.oa,y.prototype.get=y.prototype.get,y.prototype.getKeys=y.prototype.N,y.prototype.getProperties=y.prototype.O,y.prototype.set=y.prototype.set,y.prototype.setProperties=y.prototype.G,y.prototype.unset=y.prototype.P,y.prototype.changed=y.prototype.u,y.prototype.dispatchEvent=y.prototype.b,y.prototype.getRevision=y.prototype.K,y.prototype.on=y.prototype.I,y.prototype.once=y.prototype.L,y.prototype.un=y.prototype.J,y.prototype.unByKey=y.prototype.M,ci.prototype.getAttributions=ci.prototype.wa,ci.prototype.getLogo=ci.prototype.ua,ci.prototype.getProjection=ci.prototype.xa,ci.prototype.getState=ci.prototype.V,ci.prototype.refresh=ci.prototype.sa,ci.prototype.setAttributions=ci.prototype.oa,ci.prototype.get=ci.prototype.get,ci.prototype.getKeys=ci.prototype.N,ci.prototype.getProperties=ci.prototype.O,ci.prototype.set=ci.prototype.set,ci.prototype.setProperties=ci.prototype.G,ci.prototype.unset=ci.prototype.P,ci.prototype.changed=ci.prototype.u,ci.prototype.dispatchEvent=ci.prototype.b,ci.prototype.getRevision=ci.prototype.K,ci.prototype.on=ci.prototype.I,ci.prototype.once=ci.prototype.L,ci.prototype.un=ci.prototype.J,ci.prototype.unByKey=ci.prototype.M,pi.prototype.getAttributions=pi.prototype.wa,pi.prototype.getLogo=pi.prototype.ua,pi.prototype.getProjection=pi.prototype.xa,pi.prototype.getState=pi.prototype.V,pi.prototype.refresh=pi.prototype.sa,pi.prototype.setAttributions=pi.prototype.oa,pi.prototype.get=pi.prototype.get,pi.prototype.getKeys=pi.prototype.N,pi.prototype.getProperties=pi.prototype.O,pi.prototype.set=pi.prototype.set,pi.prototype.setProperties=pi.prototype.G,pi.prototype.unset=pi.prototype.P,pi.prototype.changed=pi.prototype.u,pi.prototype.dispatchEvent=pi.prototype.b,pi.prototype.getRevision=pi.prototype.K,pi.prototype.on=pi.prototype.I,pi.prototype.once=pi.prototype.L,pi.prototype.un=pi.prototype.J,pi.prototype.unByKey=pi.prototype.M,cr.prototype.getAttributions=cr.prototype.wa,cr.prototype.getLogo=cr.prototype.ua,cr.prototype.getProjection=cr.prototype.xa,cr.prototype.getState=cr.prototype.V,cr.prototype.refresh=cr.prototype.sa,cr.prototype.setAttributions=cr.prototype.oa,cr.prototype.get=cr.prototype.get,cr.prototype.getKeys=cr.prototype.N,cr.prototype.getProperties=cr.prototype.O,cr.prototype.set=cr.prototype.set,cr.prototype.setProperties=cr.prototype.G,cr.prototype.unset=cr.prototype.P,cr.prototype.changed=cr.prototype.u,cr.prototype.dispatchEvent=cr.prototype.b,cr.prototype.getRevision=cr.prototype.K,cr.prototype.on=cr.prototype.I,cr.prototype.once=cr.prototype.L,cr.prototype.un=cr.prototype.J,cr.prototype.unByKey=cr.prototype.M,gi.prototype.getAttributions=gi.prototype.wa,gi.prototype.getLogo=gi.prototype.ua,gi.prototype.getProjection=gi.prototype.xa,gi.prototype.getState=gi.prototype.V,gi.prototype.refresh=gi.prototype.sa,gi.prototype.setAttributions=gi.prototype.oa,gi.prototype.get=gi.prototype.get,gi.prototype.getKeys=gi.prototype.N,gi.prototype.getProperties=gi.prototype.O,gi.prototype.set=gi.prototype.set,gi.prototype.setProperties=gi.prototype.G,gi.prototype.unset=gi.prototype.P,gi.prototype.changed=gi.prototype.u,gi.prototype.dispatchEvent=gi.prototype.b,gi.prototype.getRevision=gi.prototype.K,gi.prototype.on=gi.prototype.I,gi.prototype.once=gi.prototype.L,gi.prototype.un=gi.prototype.J,gi.prototype.unByKey=gi.prototype.M,th.prototype.type=th.prototype.type,th.prototype.target=th.prototype.target,th.prototype.preventDefault=th.prototype.preventDefault,th.prototype.stopPropagation=th.prototype.stopPropagation,ar.prototype.getAttributions=ar.prototype.wa,ar.prototype.getLogo=ar.prototype.ua,ar.prototype.getProjection=ar.prototype.xa,ar.prototype.getState=ar.prototype.V,ar.prototype.refresh=ar.prototype.sa,ar.prototype.setAttributions=ar.prototype.oa,ar.prototype.get=ar.prototype.get,ar.prototype.getKeys=ar.prototype.N,ar.prototype.getProperties=ar.prototype.O,ar.prototype.set=ar.prototype.set,ar.prototype.setProperties=ar.prototype.G,ar.prototype.unset=ar.prototype.P,ar.prototype.changed=ar.prototype.u,ar.prototype.dispatchEvent=ar.prototype.b,ar.prototype.getRevision=ar.prototype.K,ar.prototype.on=ar.prototype.I,ar.prototype.once=ar.prototype.L,ar.prototype.un=ar.prototype.J,ar.prototype.unByKey=ar.prototype.M,bi.prototype.getAttributions=bi.prototype.wa,bi.prototype.getLogo=bi.prototype.ua,bi.prototype.getProjection=bi.prototype.xa,bi.prototype.getState=bi.prototype.V,bi.prototype.refresh=bi.prototype.sa,bi.prototype.setAttributions=bi.prototype.oa,bi.prototype.get=bi.prototype.get,bi.prototype.getKeys=bi.prototype.N,bi.prototype.getProperties=bi.prototype.O,bi.prototype.set=bi.prototype.set,bi.prototype.setProperties=bi.prototype.G,bi.prototype.unset=bi.prototype.P,bi.prototype.changed=bi.prototype.u,bi.prototype.dispatchEvent=bi.prototype.b,bi.prototype.getRevision=bi.prototype.K,bi.prototype.on=bi.prototype.I,bi.prototype.once=bi.prototype.L,bi.prototype.un=bi.prototype.J,bi.prototype.unByKey=bi.prototype.M,ai.prototype.getAttributions=ai.prototype.wa,ai.prototype.getLogo=ai.prototype.ua,ai.prototype.getProjection=ai.prototype.xa,ai.prototype.getState=ai.prototype.V,ai.prototype.refresh=ai.prototype.sa,ai.prototype.setAttributions=ai.prototype.oa,ai.prototype.get=ai.prototype.get,ai.prototype.getKeys=ai.prototype.N,ai.prototype.getProperties=ai.prototype.O,ai.prototype.set=ai.prototype.set,ai.prototype.setProperties=ai.prototype.G,ai.prototype.unset=ai.prototype.P,ai.prototype.changed=ai.prototype.u,ai.prototype.dispatchEvent=ai.prototype.b,ai.prototype.getRevision=ai.prototype.K,ai.prototype.on=ai.prototype.I,ai.prototype.once=ai.prototype.L,ai.prototype.un=ai.prototype.J,ai.prototype.unByKey=ai.prototype.M,ii.prototype.setRenderReprojectionEdges=ii.prototype.zb,ii.prototype.setTileGridForProjection=ii.prototype.Ab,ii.prototype.getTileLoadFunction=ii.prototype.fb,ii.prototype.getTileUrlFunction=ii.prototype.gb,ii.prototype.getUrls=ii.prototype.hb,ii.prototype.setTileLoadFunction=ii.prototype.kb,ii.prototype.setTileUrlFunction=ii.prototype.Qa,ii.prototype.setUrl=ii.prototype.Va,ii.prototype.setUrls=ii.prototype.bb,ii.prototype.getTileGrid=ii.prototype.Na,ii.prototype.refresh=ii.prototype.sa,ii.prototype.getAttributions=ii.prototype.wa,ii.prototype.getLogo=ii.prototype.ua,ii.prototype.getProjection=ii.prototype.xa,ii.prototype.getState=ii.prototype.V,ii.prototype.setAttributions=ii.prototype.oa,ii.prototype.get=ii.prototype.get,ii.prototype.getKeys=ii.prototype.N,ii.prototype.getProperties=ii.prototype.O,ii.prototype.set=ii.prototype.set,ii.prototype.setProperties=ii.prototype.G,ii.prototype.unset=ii.prototype.P,ii.prototype.changed=ii.prototype.u,ii.prototype.dispatchEvent=ii.prototype.b,ii.prototype.getRevision=ii.prototype.K,ii.prototype.on=ii.prototype.I,ii.prototype.once=ii.prototype.L,ii.prototype.un=ii.prototype.J,ii.prototype.unByKey=ii.prototype.M,ur.prototype.getAttributions=ur.prototype.wa,ur.prototype.getLogo=ur.prototype.ua,ur.prototype.getProjection=ur.prototype.xa,ur.prototype.getState=ur.prototype.V,ur.prototype.refresh=ur.prototype.sa,ur.prototype.setAttributions=ur.prototype.oa,ur.prototype.get=ur.prototype.get,ur.prototype.getKeys=ur.prototype.N,ur.prototype.getProperties=ur.prototype.O,ur.prototype.set=ur.prototype.set,ur.prototype.setProperties=ur.prototype.G,ur.prototype.unset=ur.prototype.P,ur.prototype.changed=ur.prototype.u,ur.prototype.dispatchEvent=ur.prototype.b,ur.prototype.getRevision=ur.prototype.K,ur.prototype.on=ur.prototype.I,ur.prototype.once=ur.prototype.L,ur.prototype.un=ur.prototype.J,ur.prototype.unByKey=ur.prototype.M,rs.prototype.type=rs.prototype.type,rs.prototype.target=rs.prototype.target,rs.prototype.preventDefault=rs.prototype.preventDefault,rs.prototype.stopPropagation=rs.prototype.stopPropagation,ri.prototype.setRenderReprojectionEdges=ri.prototype.zb,ri.prototype.setTileGridForProjection=ri.prototype.Ab,ri.prototype.getTileLoadFunction=ri.prototype.fb,ri.prototype.getTileUrlFunction=ri.prototype.gb,ri.prototype.getUrls=ri.prototype.hb,ri.prototype.setTileLoadFunction=ri.prototype.kb,ri.prototype.setTileUrlFunction=ri.prototype.Qa,ri.prototype.setUrl=ri.prototype.Va,ri.prototype.setUrls=ri.prototype.bb,ri.prototype.getTileGrid=ri.prototype.Na,ri.prototype.refresh=ri.prototype.sa,ri.prototype.getAttributions=ri.prototype.wa,ri.prototype.getLogo=ri.prototype.ua,ri.prototype.getProjection=ri.prototype.xa,ri.prototype.getState=ri.prototype.V,ri.prototype.setAttributions=ri.prototype.oa,ri.prototype.get=ri.prototype.get,ri.prototype.getKeys=ri.prototype.N,ri.prototype.getProperties=ri.prototype.O,ri.prototype.set=ri.prototype.set,ri.prototype.setProperties=ri.prototype.G,ri.prototype.unset=ri.prototype.P,ri.prototype.changed=ri.prototype.u,ri.prototype.dispatchEvent=ri.prototype.b,ri.prototype.getRevision=ri.prototype.K,ri.prototype.on=ri.prototype.I,ri.prototype.once=ri.prototype.L,ri.prototype.un=ri.prototype.J,ri.prototype.unByKey=ri.prototype.M,ot.prototype.setRenderReprojectionEdges=ot.prototype.zb,ot.prototype.setTileGridForProjection=ot.prototype.Ab,ot.prototype.getTileLoadFunction=ot.prototype.fb,ot.prototype.getTileUrlFunction=ot.prototype.gb,ot.prototype.getUrls=ot.prototype.hb,ot.prototype.setTileLoadFunction=ot.prototype.kb,ot.prototype.setTileUrlFunction=ot.prototype.Qa,ot.prototype.setUrl=ot.prototype.Va,ot.prototype.setUrls=ot.prototype.bb,ot.prototype.getTileGrid=ot.prototype.Na,ot.prototype.refresh=ot.prototype.sa,ot.prototype.getAttributions=ot.prototype.wa,ot.prototype.getLogo=ot.prototype.ua,ot.prototype.getProjection=ot.prototype.xa,ot.prototype.getState=ot.prototype.V,ot.prototype.setAttributions=ot.prototype.oa,ot.prototype.get=ot.prototype.get,ot.prototype.getKeys=ot.prototype.N,ot.prototype.getProperties=ot.prototype.O,ot.prototype.set=ot.prototype.set,ot.prototype.setProperties=ot.prototype.G,ot.prototype.unset=ot.prototype.P,ot.prototype.changed=ot.prototype.u,ot.prototype.dispatchEvent=ot.prototype.b,ot.prototype.getRevision=ot.prototype.K,ot.prototype.on=ot.prototype.I,ot.prototype.once=ot.prototype.L,ot.prototype.un=ot.prototype.J,ot.prototype.unByKey=ot.prototype.M,lr.prototype.getTileGrid=lr.prototype.Na,lr.prototype.refresh=lr.prototype.sa,lr.prototype.getAttributions=lr.prototype.wa,lr.prototype.getLogo=lr.prototype.ua,lr.prototype.getProjection=lr.prototype.xa,lr.prototype.getState=lr.prototype.V,lr.prototype.setAttributions=lr.prototype.oa,lr.prototype.get=lr.prototype.get,lr.prototype.getKeys=lr.prototype.N,lr.prototype.getProperties=lr.prototype.O,lr.prototype.set=lr.prototype.set,lr.prototype.setProperties=lr.prototype.G,lr.prototype.unset=lr.prototype.P,lr.prototype.changed=lr.prototype.u,lr.prototype.dispatchEvent=lr.prototype.b,lr.prototype.getRevision=lr.prototype.K,lr.prototype.on=lr.prototype.I,lr.prototype.once=lr.prototype.L,lr.prototype.un=lr.prototype.J,lr.prototype.unByKey=lr.prototype.M,wt.prototype.setRenderReprojectionEdges=wt.prototype.zb,wt.prototype.setTileGridForProjection=wt.prototype.Ab,wt.prototype.getTileLoadFunction=wt.prototype.fb,wt.prototype.getTileUrlFunction=wt.prototype.gb,wt.prototype.getUrls=wt.prototype.hb,wt.prototype.setTileLoadFunction=wt.prototype.kb,wt.prototype.setTileUrlFunction=wt.prototype.Qa,wt.prototype.setUrl=wt.prototype.Va,wt.prototype.setUrls=wt.prototype.bb,wt.prototype.getTileGrid=wt.prototype.Na,wt.prototype.refresh=wt.prototype.sa,wt.prototype.getAttributions=wt.prototype.wa,wt.prototype.getLogo=wt.prototype.ua,wt.prototype.getProjection=wt.prototype.xa,wt.prototype.getState=wt.prototype.V,wt.prototype.setAttributions=wt.prototype.oa,wt.prototype.get=wt.prototype.get,wt.prototype.getKeys=wt.prototype.N,wt.prototype.getProperties=wt.prototype.O,wt.prototype.set=wt.prototype.set,wt.prototype.setProperties=wt.prototype.G,wt.prototype.unset=wt.prototype.P,wt.prototype.changed=wt.prototype.u,wt.prototype.dispatchEvent=wt.prototype.b,wt.prototype.getRevision=wt.prototype.K,wt.prototype.on=wt.prototype.I,wt.prototype.once=wt.prototype.L,wt.prototype.un=wt.prototype.J,wt.prototype.unByKey=wt.prototype.M,gs.prototype.type=gs.prototype.type,gs.prototype.target=gs.prototype.target,gs.prototype.preventDefault=gs.prototype.preventDefault,gs.prototype.stopPropagation=gs.prototype.stopPropagation,rr.prototype.getTileGrid=rr.prototype.Na,rr.prototype.refresh=rr.prototype.sa,rr.prototype.getAttributions=rr.prototype.wa,rr.prototype.getLogo=rr.prototype.ua,rr.prototype.getProjection=rr.prototype.xa,rr.prototype.getState=rr.prototype.V,rr.prototype.setAttributions=rr.prototype.oa,rr.prototype.get=rr.prototype.get,rr.prototype.getKeys=rr.prototype.N,rr.prototype.getProperties=rr.prototype.O,rr.prototype.set=rr.prototype.set,rr.prototype.setProperties=rr.prototype.G,rr.prototype.unset=rr.prototype.P,rr.prototype.changed=rr.prototype.u,rr.prototype.dispatchEvent=rr.prototype.b,rr.prototype.getRevision=rr.prototype.K,rr.prototype.on=rr.prototype.I,rr.prototype.once=rr.prototype.L,rr.prototype.un=rr.prototype.J,rr.prototype.unByKey=rr.prototype.M,ct.prototype.setRenderReprojectionEdges=ct.prototype.zb,ct.prototype.setTileGridForProjection=ct.prototype.Ab,ct.prototype.getTileLoadFunction=ct.prototype.fb,ct.prototype.getTileUrlFunction=ct.prototype.gb,ct.prototype.getUrls=ct.prototype.hb,ct.prototype.setTileLoadFunction=ct.prototype.kb,ct.prototype.setTileUrlFunction=ct.prototype.Qa,ct.prototype.setUrl=ct.prototype.Va,ct.prototype.setUrls=ct.prototype.bb,ct.prototype.getTileGrid=ct.prototype.Na,ct.prototype.refresh=ct.prototype.sa,ct.prototype.getAttributions=ct.prototype.wa,ct.prototype.getLogo=ct.prototype.ua,ct.prototype.getProjection=ct.prototype.xa,ct.prototype.getState=ct.prototype.V,ct.prototype.setAttributions=ct.prototype.oa,ct.prototype.get=ct.prototype.get,ct.prototype.getKeys=ct.prototype.N,ct.prototype.getProperties=ct.prototype.O,ct.prototype.set=ct.prototype.set,ct.prototype.setProperties=ct.prototype.G,ct.prototype.unset=ct.prototype.P,ct.prototype.changed=ct.prototype.u,ct.prototype.dispatchEvent=ct.prototype.b,ct.prototype.getRevision=ct.prototype.K,ct.prototype.on=ct.prototype.I,ct.prototype.once=ct.prototype.L,ct.prototype.un=ct.prototype.J,ct.prototype.unByKey=ct.prototype.M,ao.prototype.type=ao.prototype.type,ao.prototype.target=ao.prototype.target,ao.prototype.preventDefault=ao.prototype.preventDefault,ao.prototype.stopPropagation=ao.prototype.stopPropagation,oi.prototype.getTileLoadFunction=oi.prototype.fb,oi.prototype.getTileUrlFunction=oi.prototype.gb,oi.prototype.getUrls=oi.prototype.hb,oi.prototype.setTileLoadFunction=oi.prototype.kb,oi.prototype.setTileUrlFunction=oi.prototype.Qa,oi.prototype.setUrl=oi.prototype.Va,oi.prototype.setUrls=oi.prototype.bb,oi.prototype.getTileGrid=oi.prototype.Na,oi.prototype.refresh=oi.prototype.sa,oi.prototype.getAttributions=oi.prototype.wa,oi.prototype.getLogo=oi.prototype.ua,oi.prototype.getProjection=oi.prototype.xa,oi.prototype.getState=oi.prototype.V,oi.prototype.setAttributions=oi.prototype.oa,oi.prototype.get=oi.prototype.get,oi.prototype.getKeys=oi.prototype.N,oi.prototype.getProperties=oi.prototype.O,oi.prototype.set=oi.prototype.set,oi.prototype.setProperties=oi.prototype.G,oi.prototype.unset=oi.prototype.P,oi.prototype.changed=oi.prototype.u,oi.prototype.dispatchEvent=oi.prototype.b,oi.prototype.getRevision=oi.prototype.K,oi.prototype.on=oi.prototype.I,oi.prototype.once=oi.prototype.L,oi.prototype.un=oi.prototype.J,oi.prototype.unByKey=oi.prototype.M,k.prototype.setRenderReprojectionEdges=k.prototype.zb,k.prototype.setTileGridForProjection=k.prototype.Ab,k.prototype.getTileLoadFunction=k.prototype.fb,k.prototype.getTileUrlFunction=k.prototype.gb,k.prototype.getUrls=k.prototype.hb,k.prototype.setTileLoadFunction=k.prototype.kb,k.prototype.setTileUrlFunction=k.prototype.Qa,k.prototype.setUrl=k.prototype.Va,k.prototype.setUrls=k.prototype.bb,k.prototype.getTileGrid=k.prototype.Na,k.prototype.refresh=k.prototype.sa,k.prototype.getAttributions=k.prototype.wa,k.prototype.getLogo=k.prototype.ua,k.prototype.getProjection=k.prototype.xa,k.prototype.getState=k.prototype.V,k.prototype.setAttributions=k.prototype.oa,k.prototype.get=k.prototype.get,k.prototype.getKeys=k.prototype.N,k.prototype.getProperties=k.prototype.O,k.prototype.set=k.prototype.set,k.prototype.setProperties=k.prototype.G,k.prototype.unset=k.prototype.P,k.prototype.changed=k.prototype.u,k.prototype.dispatchEvent=k.prototype.b,k.prototype.getRevision=k.prototype.K,k.prototype.on=k.prototype.I,k.prototype.once=k.prototype.L,k.prototype.un=k.prototype.J,k.prototype.unByKey=k.prototype.M,ui.prototype.setRenderReprojectionEdges=ui.prototype.zb,ui.prototype.setTileGridForProjection=ui.prototype.Ab,ui.prototype.getTileLoadFunction=ui.prototype.fb,ui.prototype.getTileUrlFunction=ui.prototype.gb,ui.prototype.getUrls=ui.prototype.hb,ui.prototype.setTileLoadFunction=ui.prototype.kb,ui.prototype.setTileUrlFunction=ui.prototype.Qa,ui.prototype.setUrl=ui.prototype.Va,ui.prototype.setUrls=ui.prototype.bb,ui.prototype.getTileGrid=ui.prototype.Na,ui.prototype.refresh=ui.prototype.sa,ui.prototype.getAttributions=ui.prototype.wa,ui.prototype.getLogo=ui.prototype.ua,ui.prototype.getProjection=ui.prototype.xa,ui.prototype.getState=ui.prototype.V,ui.prototype.setAttributions=ui.prototype.oa,ui.prototype.get=ui.prototype.get,ui.prototype.getKeys=ui.prototype.N,ui.prototype.getProperties=ui.prototype.O,ui.prototype.set=ui.prototype.set,ui.prototype.setProperties=ui.prototype.G,ui.prototype.unset=ui.prototype.P,ui.prototype.changed=ui.prototype.u,ui.prototype.dispatchEvent=ui.prototype.b,ui.prototype.getRevision=ui.prototype.K,ui.prototype.on=ui.prototype.I,ui.prototype.once=ui.prototype.L,ui.prototype.un=ui.prototype.J,ui.prototype.unByKey=ui.prototype.M,dl.prototype.getTileCoord=dl.prototype.i,dl.prototype.load=dl.prototype.load,ce.prototype.changed=ce.prototype.u,ce.prototype.dispatchEvent=ce.prototype.b,ce.prototype.getRevision=ce.prototype.K,ce.prototype.on=ce.prototype.I,ce.prototype.once=ce.prototype.L,ce.prototype.un=ce.prototype.J,ce.prototype.unByKey=ce.prototype.M,gf.prototype.changed=gf.prototype.u,gf.prototype.dispatchEvent=gf.prototype.b,gf.prototype.getRevision=gf.prototype.K,gf.prototype.on=gf.prototype.I,gf.prototype.once=gf.prototype.L,gf.prototype.un=gf.prototype.J,gf.prototype.unByKey=gf.prototype.M,io.prototype.changed=io.prototype.u,io.prototype.dispatchEvent=io.prototype.b,io.prototype.getRevision=io.prototype.K,io.prototype.on=io.prototype.I,io.prototype.once=io.prototype.L,io.prototype.un=io.prototype.J,io.prototype.unByKey=io.prototype.M,ns.prototype.changed=ns.prototype.u,ns.prototype.dispatchEvent=ns.prototype.b,ns.prototype.getRevision=ns.prototype.K,ns.prototype.on=ns.prototype.I,ns.prototype.once=ns.prototype.L,ns.prototype.un=ns.prototype.J,ns.prototype.unByKey=ns.prototype.M,ts.prototype.changed=ts.prototype.u,ts.prototype.dispatchEvent=ts.prototype.b,ts.prototype.getRevision=ts.prototype.K,ts.prototype.on=ts.prototype.I,ts.prototype.once=ts.prototype.L,ts.prototype.un=ts.prototype.J,ts.prototype.unByKey=ts.prototype.M,fe.prototype.changed=fe.prototype.u,fe.prototype.dispatchEvent=fe.prototype.b,fe.prototype.getRevision=fe.prototype.K,fe.prototype.on=fe.prototype.I,fe.prototype.once=fe.prototype.L,fe.prototype.un=fe.prototype.J,fe.prototype.unByKey=fe.prototype.M,ho.prototype.changed=ho.prototype.u,ho.prototype.dispatchEvent=ho.prototype.b,ho.prototype.getRevision=ho.prototype.K,ho.prototype.on=ho.prototype.I,ho.prototype.once=ho.prototype.L,ho.prototype.un=ho.prototype.J,ho.prototype.unByKey=ho.prototype.M,vo.prototype.changed=vo.prototype.u,vo.prototype.dispatchEvent=vo.prototype.b,vo.prototype.getRevision=vo.prototype.K,vo.prototype.on=vo.prototype.I,vo.prototype.once=vo.prototype.L,vo.prototype.un=vo.prototype.J,vo.prototype.unByKey=vo.prototype.M,go.prototype.changed=go.prototype.u,go.prototype.dispatchEvent=go.prototype.b,go.prototype.getRevision=go.prototype.K,go.prototype.on=go.prototype.I,go.prototype.once=go.prototype.L,go.prototype.un=go.prototype.J,go.prototype.unByKey=go.prototype.M,le.prototype.changed=le.prototype.u,le.prototype.dispatchEvent=le.prototype.b,le.prototype.getRevision=le.prototype.K,le.prototype.on=le.prototype.I,le.prototype.once=le.prototype.L,le.prototype.un=le.prototype.J,le.prototype.unByKey=le.prototype.M,ge.prototype.changed=ge.prototype.u,ge.prototype.dispatchEvent=ge.prototype.b,ge.prototype.getRevision=ge.prototype.K,ge.prototype.on=ge.prototype.I,ge.prototype.once=ge.prototype.L,ge.prototype.un=ge.prototype.J,ge.prototype.unByKey=ge.prototype.M,ue.prototype.changed=ue.prototype.u,ue.prototype.dispatchEvent=ue.prototype.b,ue.prototype.getRevision=ue.prototype.K,ue.prototype.on=ue.prototype.I,ue.prototype.once=ue.prototype.L,ue.prototype.un=ue.prototype.J,ue.prototype.unByKey=ue.prototype.M,no.prototype.changed=no.prototype.u,no.prototype.dispatchEvent=no.prototype.b,no.prototype.getRevision=no.prototype.K,no.prototype.on=no.prototype.I,no.prototype.once=no.prototype.L,no.prototype.un=no.prototype.J,no.prototype.unByKey=no.prototype.M,to.prototype.changed=to.prototype.u,to.prototype.dispatchEvent=to.prototype.b,to.prototype.getRevision=to.prototype.K,to.prototype.on=to.prototype.I,to.prototype.once=to.prototype.L,to.prototype.un=to.prototype.J,to.prototype.unByKey=to.prototype.M,re.prototype.type=re.prototype.type,re.prototype.target=re.prototype.target,re.prototype.preventDefault=re.prototype.preventDefault,re.prototype.stopPropagation=re.prototype.stopPropagation,lh.prototype.type=lh.prototype.type,lh.prototype.target=lh.prototype.target,lh.prototype.preventDefault=lh.prototype.preventDefault,lh.prototype.stopPropagation=lh.prototype.stopPropagation,hi.prototype.get=hi.prototype.get,hi.prototype.getKeys=hi.prototype.N,hi.prototype.getProperties=hi.prototype.O,hi.prototype.set=hi.prototype.set,hi.prototype.setProperties=hi.prototype.G,hi.prototype.unset=hi.prototype.P,hi.prototype.changed=hi.prototype.u,hi.prototype.dispatchEvent=hi.prototype.b,hi.prototype.getRevision=hi.prototype.K,hi.prototype.on=hi.prototype.I,hi.prototype.once=hi.prototype.L,hi.prototype.un=hi.prototype.J,hi.prototype.unByKey=hi.prototype.M,yt.prototype.getExtent=yt.prototype.H,yt.prototype.getMaxResolution=yt.prototype.Nb,yt.prototype.getMinResolution=yt.prototype.Ob,yt.prototype.getOpacity=yt.prototype.Pb,yt.prototype.getVisible=yt.prototype.xb,yt.prototype.getZIndex=yt.prototype.Qb,yt.prototype.setExtent=yt.prototype.fc,yt.prototype.setMaxResolution=yt.prototype.nc,yt.prototype.setMinResolution=yt.prototype.oc,yt.prototype.setOpacity=yt.prototype.gc,yt.prototype.setVisible=yt.prototype.hc,yt.prototype.setZIndex=yt.prototype.ic,yt.prototype.get=yt.prototype.get,yt.prototype.getKeys=yt.prototype.N,yt.prototype.getProperties=yt.prototype.O,yt.prototype.set=yt.prototype.set,yt.prototype.setProperties=yt.prototype.G,yt.prototype.unset=yt.prototype.P,yt.prototype.changed=yt.prototype.u,yt.prototype.dispatchEvent=yt.prototype.b,yt.prototype.getRevision=yt.prototype.K,yt.prototype.on=yt.prototype.I,yt.prototype.once=yt.prototype.L,yt.prototype.un=yt.prototype.J,yt.prototype.unByKey=yt.prototype.M,p.prototype.setMap=p.prototype.setMap,p.prototype.setSource=p.prototype.Fc,p.prototype.getExtent=p.prototype.H,p.prototype.getMaxResolution=p.prototype.Nb,p.prototype.getMinResolution=p.prototype.Ob,p.prototype.getOpacity=p.prototype.Pb,p.prototype.getVisible=p.prototype.xb,p.prototype.getZIndex=p.prototype.Qb,p.prototype.setExtent=p.prototype.fc,p.prototype.setMaxResolution=p.prototype.nc,p.prototype.setMinResolution=p.prototype.oc,p.prototype.setOpacity=p.prototype.gc,p.prototype.setVisible=p.prototype.hc,p.prototype.setZIndex=p.prototype.ic,p.prototype.get=p.prototype.get,p.prototype.getKeys=p.prototype.N,p.prototype.getProperties=p.prototype.O,p.prototype.set=p.prototype.set,p.prototype.setProperties=p.prototype.G,p.prototype.unset=p.prototype.P,p.prototype.changed=p.prototype.u,p.prototype.dispatchEvent=p.prototype.b,p.prototype.getRevision=p.prototype.K,p.prototype.on=p.prototype.I,p.prototype.once=p.prototype.L,p.prototype.un=p.prototype.J,p.prototype.unByKey=p.prototype.M,b.prototype.getSource=b.prototype.ha,b.prototype.getStyle=b.prototype.C,b.prototype.getStyleFunction=b.prototype.D,b.prototype.setStyle=b.prototype.l,b.prototype.setMap=b.prototype.setMap,b.prototype.setSource=b.prototype.Fc,b.prototype.getExtent=b.prototype.H,b.prototype.getMaxResolution=b.prototype.Nb,b.prototype.getMinResolution=b.prototype.Ob,b.prototype.getOpacity=b.prototype.Pb,b.prototype.getVisible=b.prototype.xb,b.prototype.getZIndex=b.prototype.Qb,b.prototype.setExtent=b.prototype.fc,b.prototype.setMaxResolution=b.prototype.nc,b.prototype.setMinResolution=b.prototype.oc,b.prototype.setOpacity=b.prototype.gc,b.prototype.setVisible=b.prototype.hc,b.prototype.setZIndex=b.prototype.ic,b.prototype.get=b.prototype.get,b.prototype.getKeys=b.prototype.N,b.prototype.getProperties=b.prototype.O,b.prototype.set=b.prototype.set,b.prototype.setProperties=b.prototype.G,b.prototype.unset=b.prototype.P,b.prototype.changed=b.prototype.u,b.prototype.dispatchEvent=b.prototype.b,b.prototype.getRevision=b.prototype.K,b.prototype.on=b.prototype.I,b.prototype.once=b.prototype.L,b.prototype.un=b.prototype.J,b.prototype.unByKey=b.prototype.M,kt.prototype.setMap=kt.prototype.setMap,kt.prototype.setSource=kt.prototype.Fc,kt.prototype.getExtent=kt.prototype.H,kt.prototype.getMaxResolution=kt.prototype.Nb,kt.prototype.getMinResolution=kt.prototype.Ob,kt.prototype.getOpacity=kt.prototype.Pb,kt.prototype.getVisible=kt.prototype.xb,kt.prototype.getZIndex=kt.prototype.Qb,kt.prototype.setExtent=kt.prototype.fc,kt.prototype.setMaxResolution=kt.prototype.nc,kt.prototype.setMinResolution=kt.prototype.oc,kt.prototype.setOpacity=kt.prototype.gc,kt.prototype.setVisible=kt.prototype.hc,kt.prototype.setZIndex=kt.prototype.ic,kt.prototype.get=kt.prototype.get,kt.prototype.getKeys=kt.prototype.N,kt.prototype.getProperties=kt.prototype.O,kt.prototype.set=kt.prototype.set,kt.prototype.setProperties=kt.prototype.G,kt.prototype.unset=kt.prototype.P,kt.prototype.changed=kt.prototype.u,kt.prototype.dispatchEvent=kt.prototype.b,kt.prototype.getRevision=kt.prototype.K,kt.prototype.on=kt.prototype.I,kt.prototype.once=kt.prototype.L,kt.prototype.un=kt.prototype.J,kt.prototype.unByKey=kt.prototype.M,fi.prototype.getExtent=fi.prototype.H,fi.prototype.getMaxResolution=fi.prototype.Nb,fi.prototype.getMinResolution=fi.prototype.Ob,fi.prototype.getOpacity=fi.prototype.Pb,fi.prototype.getVisible=fi.prototype.xb,fi.prototype.getZIndex=fi.prototype.Qb,fi.prototype.setExtent=fi.prototype.fc,fi.prototype.setMaxResolution=fi.prototype.nc,fi.prototype.setMinResolution=fi.prototype.oc,fi.prototype.setOpacity=fi.prototype.gc,fi.prototype.setVisible=fi.prototype.hc,fi.prototype.setZIndex=fi.prototype.ic,fi.prototype.get=fi.prototype.get,fi.prototype.getKeys=fi.prototype.N,fi.prototype.getProperties=fi.prototype.O,fi.prototype.set=fi.prototype.set,fi.prototype.setProperties=fi.prototype.G,fi.prototype.unset=fi.prototype.P,fi.prototype.changed=fi.prototype.u,fi.prototype.dispatchEvent=fi.prototype.b,fi.prototype.getRevision=fi.prototype.K,fi.prototype.on=fi.prototype.I,fi.prototype.once=fi.prototype.L,fi.prototype.un=fi.prototype.J,fi.prototype.unByKey=fi.prototype.M,rt.prototype.setMap=rt.prototype.setMap,rt.prototype.setSource=rt.prototype.Fc,rt.prototype.getExtent=rt.prototype.H,rt.prototype.getMaxResolution=rt.prototype.Nb,rt.prototype.getMinResolution=rt.prototype.Ob,rt.prototype.getOpacity=rt.prototype.Pb,rt.prototype.getVisible=rt.prototype.xb,rt.prototype.getZIndex=rt.prototype.Qb,rt.prototype.setExtent=rt.prototype.fc,rt.prototype.setMaxResolution=rt.prototype.nc,rt.prototype.setMinResolution=rt.prototype.oc,rt.prototype.setOpacity=rt.prototype.gc,rt.prototype.setVisible=rt.prototype.hc,rt.prototype.setZIndex=rt.prototype.ic,rt.prototype.get=rt.prototype.get,rt.prototype.getKeys=rt.prototype.N,rt.prototype.getProperties=rt.prototype.O,rt.prototype.set=rt.prototype.set,rt.prototype.setProperties=rt.prototype.G,rt.prototype.unset=rt.prototype.P,rt.prototype.changed=rt.prototype.u,rt.prototype.dispatchEvent=rt.prototype.b,rt.prototype.getRevision=rt.prototype.K,rt.prototype.on=rt.prototype.I,rt.prototype.once=rt.prototype.L,rt.prototype.un=rt.prototype.J,rt.prototype.unByKey=rt.prototype.M,w.prototype.getSource=w.prototype.ha,w.prototype.getStyle=w.prototype.C,w.prototype.getStyleFunction=w.prototype.D,w.prototype.setStyle=w.prototype.l,w.prototype.setMap=w.prototype.setMap,w.prototype.setSource=w.prototype.Fc,w.prototype.getExtent=w.prototype.H,w.prototype.getMaxResolution=w.prototype.Nb,w.prototype.getMinResolution=w.prototype.Ob,w.prototype.getOpacity=w.prototype.Pb,w.prototype.getVisible=w.prototype.xb,w.prototype.getZIndex=w.prototype.Qb,w.prototype.setExtent=w.prototype.fc,w.prototype.setMaxResolution=w.prototype.nc,w.prototype.setMinResolution=w.prototype.oc,w.prototype.setOpacity=w.prototype.gc,w.prototype.setVisible=w.prototype.hc,w.prototype.setZIndex=w.prototype.ic,w.prototype.get=w.prototype.get,w.prototype.getKeys=w.prototype.N,w.prototype.getProperties=w.prototype.O,w.prototype.set=w.prototype.set,w.prototype.setProperties=w.prototype.G,w.prototype.unset=w.prototype.P,w.prototype.changed=w.prototype.u,w.prototype.dispatchEvent=w.prototype.b,w.prototype.getRevision=w.prototype.K,w.prototype.on=w.prototype.I,w.prototype.once=w.prototype.L,w.prototype.un=w.prototype.J,w.prototype.unByKey=w.prototype.M,vi.prototype.get=vi.prototype.get,vi.prototype.getKeys=vi.prototype.N,vi.prototype.getProperties=vi.prototype.O,vi.prototype.set=vi.prototype.set,vi.prototype.setProperties=vi.prototype.G,vi.prototype.unset=vi.prototype.P,vi.prototype.changed=vi.prototype.u,vi.prototype.dispatchEvent=vi.prototype.b,vi.prototype.getRevision=vi.prototype.K,vi.prototype.on=vi.prototype.I,vi.prototype.once=vi.prototype.L,vi.prototype.un=vi.prototype.J,vi.prototype.unByKey=vi.prototype.M,du.prototype.getActive=du.prototype.f,du.prototype.getMap=du.prototype.l,du.prototype.setActive=du.prototype.i,du.prototype.get=du.prototype.get,du.prototype.getKeys=du.prototype.N,du.prototype.getProperties=du.prototype.O,du.prototype.set=du.prototype.set,du.prototype.setProperties=du.prototype.G,du.prototype.unset=du.prototype.P,du.prototype.changed=du.prototype.u,du.prototype.dispatchEvent=du.prototype.b,du.prototype.getRevision=du.prototype.K,du.prototype.on=du.prototype.I,du.prototype.once=du.prototype.L,du.prototype.un=du.prototype.J,du.prototype.unByKey=du.prototype.M,bu.prototype.getActive=bu.prototype.f,bu.prototype.getMap=bu.prototype.l,bu.prototype.setActive=bu.prototype.i,bu.prototype.get=bu.prototype.get,bu.prototype.getKeys=bu.prototype.N,bu.prototype.getProperties=bu.prototype.O,bu.prototype.set=bu.prototype.set,bu.prototype.setProperties=bu.prototype.G,bu.prototype.unset=bu.prototype.P,bu.prototype.changed=bu.prototype.u,bu.prototype.dispatchEvent=bu.prototype.b,bu.prototype.getRevision=bu.prototype.K,bu.prototype.on=bu.prototype.I,bu.prototype.once=bu.prototype.L,bu.prototype.un=bu.prototype.J,bu.prototype.unByKey=bu.prototype.M,ss.prototype.type=ss.prototype.type,ss.prototype.target=ss.prototype.target,ss.prototype.preventDefault=ss.prototype.preventDefault,ss.prototype.stopPropagation=ss.prototype.stopPropagation,es.prototype.type=es.prototype.type,es.prototype.target=es.prototype.target,es.prototype.preventDefault=es.prototype.preventDefault,es.prototype.stopPropagation=es.prototype.stopPropagation,ei.prototype.getActive=ei.prototype.f,ei.prototype.getMap=ei.prototype.l,ei.prototype.setActive=ei.prototype.i,ei.prototype.get=ei.prototype.get,ei.prototype.getKeys=ei.prototype.N,ei.prototype.getProperties=ei.prototype.O,ei.prototype.set=ei.prototype.set,ei.prototype.setProperties=ei.prototype.G,ei.prototype.unset=ei.prototype.P,ei.prototype.changed=ei.prototype.u,ei.prototype.dispatchEvent=ei.prototype.b,ei.prototype.getRevision=ei.prototype.K,ei.prototype.on=ei.prototype.I,ei.prototype.once=ei.prototype.L,ei.prototype.un=ei.prototype.J,ei.prototype.unByKey=ei.prototype.M,dr.prototype.getActive=dr.prototype.f,dr.prototype.getMap=dr.prototype.l,dr.prototype.setActive=dr.prototype.i,dr.prototype.get=dr.prototype.get,dr.prototype.getKeys=dr.prototype.N,dr.prototype.getProperties=dr.prototype.O,dr.prototype.set=dr.prototype.set,dr.prototype.setProperties=dr.prototype.G,dr.prototype.unset=dr.prototype.P,dr.prototype.changed=dr.prototype.u,dr.prototype.dispatchEvent=dr.prototype.b,dr.prototype.getRevision=dr.prototype.K,dr.prototype.on=dr.prototype.I,dr.prototype.once=dr.prototype.L,dr.prototype.un=dr.prototype.J,dr.prototype.unByKey=dr.prototype.M,lu.prototype.getActive=lu.prototype.f,lu.prototype.getMap=lu.prototype.l,lu.prototype.setActive=lu.prototype.i,lu.prototype.get=lu.prototype.get,lu.prototype.getKeys=lu.prototype.N,lu.prototype.getProperties=lu.prototype.O,lu.prototype.set=lu.prototype.set,lu.prototype.setProperties=lu.prototype.G,lu.prototype.unset=lu.prototype.P,lu.prototype.changed=lu.prototype.u,lu.prototype.dispatchEvent=lu.prototype.b,lu.prototype.getRevision=lu.prototype.K,lu.prototype.on=lu.prototype.I,lu.prototype.once=lu.prototype.L,lu.prototype.un=lu.prototype.J,lu.prototype.unByKey=lu.prototype.M,uf.prototype.getActive=uf.prototype.f,uf.prototype.getMap=uf.prototype.l,uf.prototype.setActive=uf.prototype.i,uf.prototype.get=uf.prototype.get,uf.prototype.getKeys=uf.prototype.N,uf.prototype.getProperties=uf.prototype.O,uf.prototype.set=uf.prototype.set,uf.prototype.setProperties=uf.prototype.G,uf.prototype.unset=uf.prototype.P,uf.prototype.changed=uf.prototype.u,uf.prototype.dispatchEvent=uf.prototype.b,uf.prototype.getRevision=uf.prototype.K,uf.prototype.on=uf.prototype.I,uf.prototype.once=uf.prototype.L,uf.prototype.un=uf.prototype.J,uf.prototype.unByKey=uf.prototype.M,au.prototype.getActive=au.prototype.f,au.prototype.getMap=au.prototype.l,au.prototype.setActive=au.prototype.i,au.prototype.get=au.prototype.get,au.prototype.getKeys=au.prototype.N,au.prototype.getProperties=au.prototype.O,au.prototype.set=au.prototype.set,au.prototype.setProperties=au.prototype.G,au.prototype.unset=au.prototype.P,au.prototype.changed=au.prototype.u,au.prototype.dispatchEvent=au.prototype.b,au.prototype.getRevision=au.prototype.K,au.prototype.on=au.prototype.I,au.prototype.once=au.prototype.L,au.prototype.un=au.prototype.J,au.prototype.unByKey=au.prototype.M,fu.prototype.getGeometry=fu.prototype.W,fu.prototype.getActive=fu.prototype.f,fu.prototype.getMap=fu.prototype.l,fu.prototype.setActive=fu.prototype.i,fu.prototype.get=fu.prototype.get,fu.prototype.getKeys=fu.prototype.N,fu.prototype.getProperties=fu.prototype.O,fu.prototype.set=fu.prototype.set,fu.prototype.setProperties=fu.prototype.G,fu.prototype.unset=fu.prototype.P,fu.prototype.changed=fu.prototype.u,fu.prototype.dispatchEvent=fu.prototype.b,fu.prototype.getRevision=fu.prototype.K,fu.prototype.on=fu.prototype.I,fu.prototype.once=fu.prototype.L,fu.prototype.un=fu.prototype.J,fu.prototype.unByKey=fu.prototype.M,oh.prototype.type=oh.prototype.type,oh.prototype.target=oh.prototype.target,oh.prototype.preventDefault=oh.prototype.preventDefault,oh.prototype.stopPropagation=oh.prototype.stopPropagation,br.prototype.getActive=br.prototype.f,br.prototype.getMap=br.prototype.l,br.prototype.setActive=br.prototype.i,br.prototype.get=br.prototype.get,br.prototype.getKeys=br.prototype.N,br.prototype.getProperties=br.prototype.O,br.prototype.set=br.prototype.set,br.prototype.setProperties=br.prototype.G,br.prototype.unset=br.prototype.P,br.prototype.changed=br.prototype.u,br.prototype.dispatchEvent=br.prototype.b,br.prototype.getRevision=br.prototype.K,br.prototype.on=br.prototype.I,br.prototype.once=br.prototype.L,br.prototype.un=br.prototype.J,br.prototype.unByKey=br.prototype.M,gu.prototype.getActive=gu.prototype.f,gu.prototype.getMap=gu.prototype.l,gu.prototype.setActive=gu.prototype.i,gu.prototype.get=gu.prototype.get,gu.prototype.getKeys=gu.prototype.N,gu.prototype.getProperties=gu.prototype.O,gu.prototype.set=gu.prototype.set,gu.prototype.setProperties=gu.prototype.G,gu.prototype.unset=gu.prototype.P,gu.prototype.changed=gu.prototype.u,gu.prototype.dispatchEvent=gu.prototype.b,gu.prototype.getRevision=gu.prototype.K,gu.prototype.on=gu.prototype.I,gu.prototype.once=gu.prototype.L,gu.prototype.un=gu.prototype.J,gu.prototype.unByKey=gu.prototype.M,nf.prototype.getActive=nf.prototype.f,nf.prototype.getMap=nf.prototype.l,nf.prototype.setActive=nf.prototype.i,nf.prototype.get=nf.prototype.get,nf.prototype.getKeys=nf.prototype.N,nf.prototype.getProperties=nf.prototype.O,nf.prototype.set=nf.prototype.set,nf.prototype.setProperties=nf.prototype.G,nf.prototype.unset=nf.prototype.P,nf.prototype.changed=nf.prototype.u,nf.prototype.dispatchEvent=nf.prototype.b,nf.prototype.getRevision=nf.prototype.K,nf.prototype.on=nf.prototype.I,nf.prototype.once=nf.prototype.L,nf.prototype.un=nf.prototype.J,nf.prototype.unByKey=nf.prototype.M,hs.prototype.type=hs.prototype.type,hs.prototype.target=hs.prototype.target,hs.prototype.preventDefault=hs.prototype.preventDefault,hs.prototype.stopPropagation=hs.prototype.stopPropagation,hu.prototype.getActive=hu.prototype.f,hu.prototype.getMap=hu.prototype.l,hu.prototype.setActive=hu.prototype.i,hu.prototype.get=hu.prototype.get,hu.prototype.getKeys=hu.prototype.N,hu.prototype.getProperties=hu.prototype.O,hu.prototype.set=hu.prototype.set,hu.prototype.setProperties=hu.prototype.G,hu.prototype.unset=hu.prototype.P,hu.prototype.changed=hu.prototype.u,hu.prototype.dispatchEvent=hu.prototype.b,hu.prototype.getRevision=hu.prototype.K,hu.prototype.on=hu.prototype.I,hu.prototype.once=hu.prototype.L,hu.prototype.un=hu.prototype.J,hu.prototype.unByKey=hu.prototype.M,gr.prototype.getActive=gr.prototype.f,gr.prototype.getMap=gr.prototype.l,gr.prototype.setActive=gr.prototype.i,gr.prototype.get=gr.prototype.get,gr.prototype.getKeys=gr.prototype.N,gr.prototype.getProperties=gr.prototype.O,gr.prototype.set=gr.prototype.set,gr.prototype.setProperties=gr.prototype.G,gr.prototype.unset=gr.prototype.P,gr.prototype.changed=gr.prototype.u,gr.prototype.dispatchEvent=gr.prototype.b,gr.prototype.getRevision=gr.prototype.K,gr.prototype.on=gr.prototype.I,gr.prototype.once=gr.prototype.L,gr.prototype.un=gr.prototype.J,gr.prototype.unByKey=gr.prototype.M,vu.prototype.getActive=vu.prototype.f,vu.prototype.getMap=vu.prototype.l,vu.prototype.setActive=vu.prototype.i,vu.prototype.get=vu.prototype.get,vu.prototype.getKeys=vu.prototype.N,vu.prototype.getProperties=vu.prototype.O,vu.prototype.set=vu.prototype.set,vu.prototype.setProperties=vu.prototype.G,vu.prototype.unset=vu.prototype.P,vu.prototype.changed=vu.prototype.u,vu.prototype.dispatchEvent=vu.prototype.b,vu.prototype.getRevision=vu.prototype.K,vu.prototype.on=vu.prototype.I,vu.prototype.once=vu.prototype.L,vu.prototype.un=vu.prototype.J,vu.prototype.unByKey=vu.prototype.M,yu.prototype.getActive=yu.prototype.f,yu.prototype.getMap=yu.prototype.l,yu.prototype.setActive=yu.prototype.i,yu.prototype.get=yu.prototype.get,yu.prototype.getKeys=yu.prototype.N,yu.prototype.getProperties=yu.prototype.O,yu.prototype.set=yu.prototype.set,yu.prototype.setProperties=yu.prototype.G,yu.prototype.unset=yu.prototype.P,yu.prototype.changed=yu.prototype.u,yu.prototype.dispatchEvent=yu.prototype.b,yu.prototype.getRevision=yu.prototype.K,yu.prototype.on=yu.prototype.I,yu.prototype.once=yu.prototype.L,yu.prototype.un=yu.prototype.J,yu.prototype.unByKey=yu.prototype.M,cs.prototype.type=cs.prototype.type,cs.prototype.target=cs.prototype.target,cs.prototype.preventDefault=cs.prototype.preventDefault,cs.prototype.stopPropagation=cs.prototype.stopPropagation,kr.prototype.getActive=kr.prototype.f,kr.prototype.getMap=kr.prototype.l,kr.prototype.setActive=kr.prototype.i,kr.prototype.get=kr.prototype.get,kr.prototype.getKeys=kr.prototype.N,kr.prototype.getProperties=kr.prototype.O,kr.prototype.set=kr.prototype.set,kr.prototype.setProperties=kr.prototype.G,kr.prototype.unset=kr.prototype.P,kr.prototype.changed=kr.prototype.u,kr.prototype.dispatchEvent=kr.prototype.b,kr.prototype.getRevision=kr.prototype.K,kr.prototype.on=kr.prototype.I,kr.prototype.once=kr.prototype.L,kr.prototype.un=kr.prototype.J,kr.prototype.unByKey=kr.prototype.M,iu.prototype.getActive=iu.prototype.f,iu.prototype.getMap=iu.prototype.l,iu.prototype.setActive=iu.prototype.i,iu.prototype.get=iu.prototype.get,iu.prototype.getKeys=iu.prototype.N,iu.prototype.getProperties=iu.prototype.O,iu.prototype.set=iu.prototype.set,iu.prototype.setProperties=iu.prototype.G,iu.prototype.unset=iu.prototype.P,iu.prototype.changed=iu.prototype.u,iu.prototype.dispatchEvent=iu.prototype.b,iu.prototype.getRevision=iu.prototype.K,iu.prototype.on=iu.prototype.I,iu.prototype.once=iu.prototype.L,iu.prototype.un=iu.prototype.J,iu.prototype.unByKey=iu.prototype.M,ls.prototype.type=ls.prototype.type,ls.prototype.target=ls.prototype.target,ls.prototype.preventDefault=ls.prototype.preventDefault,ls.prototype.stopPropagation=ls.prototype.stopPropagation,ff.prototype.getActive=ff.prototype.f,ff.prototype.getMap=ff.prototype.l,ff.prototype.setActive=ff.prototype.i,ff.prototype.get=ff.prototype.get,ff.prototype.getKeys=ff.prototype.N,ff.prototype.getProperties=ff.prototype.O,ff.prototype.set=ff.prototype.set,ff.prototype.setProperties=ff.prototype.G,ff.prototype.unset=ff.prototype.P,ff.prototype.changed=ff.prototype.u,ff.prototype.dispatchEvent=ff.prototype.b,ff.prototype.getRevision=ff.prototype.K,ff.prototype.on=ff.prototype.I,ff.prototype.once=ff.prototype.L,ff.prototype.un=ff.prototype.J,ff.prototype.unByKey=ff.prototype.M,nr.prototype.get=nr.prototype.get,nr.prototype.getKeys=nr.prototype.N,nr.prototype.getProperties=nr.prototype.O,nr.prototype.set=nr.prototype.set,nr.prototype.setProperties=nr.prototype.G,nr.prototype.unset=nr.prototype.P,nr.prototype.changed=nr.prototype.u,nr.prototype.dispatchEvent=nr.prototype.b,nr.prototype.getRevision=nr.prototype.K,nr.prototype.on=nr.prototype.I,nr.prototype.once=nr.prototype.L,nr.prototype.un=nr.prototype.J,nr.prototype.unByKey=nr.prototype.M,lt.prototype.getClosestPoint=lt.prototype.vb,lt.prototype.getExtent=lt.prototype.H,lt.prototype.rotate=lt.prototype.rotate,lt.prototype.simplify=lt.prototype.Bb,lt.prototype.transform=lt.prototype.jb,lt.prototype.get=lt.prototype.get,lt.prototype.getKeys=lt.prototype.N,lt.prototype.getProperties=lt.prototype.O,lt.prototype.set=lt.prototype.set,lt.prototype.setProperties=lt.prototype.G,lt.prototype.unset=lt.prototype.P,lt.prototype.changed=lt.prototype.u,lt.prototype.dispatchEvent=lt.prototype.b,lt.prototype.getRevision=lt.prototype.K,lt.prototype.on=lt.prototype.I,lt.prototype.once=lt.prototype.L,lt.prototype.un=lt.prototype.J,lt.prototype.unByKey=lt.prototype.M,pt.prototype.getFirstCoordinate=pt.prototype.Ib,pt.prototype.getLastCoordinate=pt.prototype.Jb,pt.prototype.getLayout=pt.prototype.Kb,pt.prototype.rotate=pt.prototype.rotate,pt.prototype.getClosestPoint=pt.prototype.vb,pt.prototype.getExtent=pt.prototype.H,pt.prototype.simplify=pt.prototype.Bb,pt.prototype.get=pt.prototype.get,pt.prototype.getKeys=pt.prototype.N,pt.prototype.getProperties=pt.prototype.O,pt.prototype.set=pt.prototype.set,pt.prototype.setProperties=pt.prototype.G,pt.prototype.unset=pt.prototype.P,pt.prototype.changed=pt.prototype.u,pt.prototype.dispatchEvent=pt.prototype.b,pt.prototype.getRevision=pt.prototype.K,pt.prototype.on=pt.prototype.I,pt.prototype.once=pt.prototype.L,pt.prototype.un=pt.prototype.J,pt.prototype.unByKey=pt.prototype.M,ni.prototype.getClosestPoint=ni.prototype.vb,ni.prototype.getExtent=ni.prototype.H,ni.prototype.rotate=ni.prototype.rotate,ni.prototype.simplify=ni.prototype.Bb,ni.prototype.transform=ni.prototype.jb,ni.prototype.get=ni.prototype.get,ni.prototype.getKeys=ni.prototype.N,ni.prototype.getProperties=ni.prototype.O,ni.prototype.set=ni.prototype.set,ni.prototype.setProperties=ni.prototype.G,ni.prototype.unset=ni.prototype.P,ni.prototype.changed=ni.prototype.u,ni.prototype.dispatchEvent=ni.prototype.b,ni.prototype.getRevision=ni.prototype.K,ni.prototype.on=ni.prototype.I,ni.prototype.once=ni.prototype.L,ni.prototype.un=ni.prototype.J,ni.prototype.unByKey=ni.prototype.M,bt.prototype.getFirstCoordinate=bt.prototype.Ib,bt.prototype.getLastCoordinate=bt.prototype.Jb,bt.prototype.getLayout=bt.prototype.Kb,bt.prototype.rotate=bt.prototype.rotate,bt.prototype.getClosestPoint=bt.prototype.vb,bt.prototype.getExtent=bt.prototype.H,bt.prototype.simplify=bt.prototype.Bb,bt.prototype.transform=bt.prototype.jb,bt.prototype.get=bt.prototype.get,bt.prototype.getKeys=bt.prototype.N,bt.prototype.getProperties=bt.prototype.O,bt.prototype.set=bt.prototype.set,bt.prototype.setProperties=bt.prototype.G,bt.prototype.unset=bt.prototype.P,bt.prototype.changed=bt.prototype.u,bt.prototype.dispatchEvent=bt.prototype.b,bt.prototype.getRevision=bt.prototype.K,bt.prototype.on=bt.prototype.I,bt.prototype.once=bt.prototype.L,bt.prototype.un=bt.prototype.J,bt.prototype.unByKey=bt.prototype.M,a.prototype.getFirstCoordinate=a.prototype.Ib,a.prototype.getLastCoordinate=a.prototype.Jb,a.prototype.getLayout=a.prototype.Kb,a.prototype.rotate=a.prototype.rotate,a.prototype.getClosestPoint=a.prototype.vb,a.prototype.getExtent=a.prototype.H,a.prototype.simplify=a.prototype.Bb,a.prototype.transform=a.prototype.jb,a.prototype.get=a.prototype.get,a.prototype.getKeys=a.prototype.N,a.prototype.getProperties=a.prototype.O,a.prototype.set=a.prototype.set,a.prototype.setProperties=a.prototype.G,a.prototype.unset=a.prototype.P,a.prototype.changed=a.prototype.u,a.prototype.dispatchEvent=a.prototype.b,a.prototype.getRevision=a.prototype.K,a.prototype.on=a.prototype.I,a.prototype.once=a.prototype.L,a.prototype.un=a.prototype.J,a.prototype.unByKey=a.prototype.M,d.prototype.getFirstCoordinate=d.prototype.Ib,d.prototype.getLastCoordinate=d.prototype.Jb,d.prototype.getLayout=d.prototype.Kb,d.prototype.rotate=d.prototype.rotate,d.prototype.getClosestPoint=d.prototype.vb,d.prototype.getExtent=d.prototype.H,d.prototype.simplify=d.prototype.Bb,d.prototype.transform=d.prototype.jb,d.prototype.get=d.prototype.get,d.prototype.getKeys=d.prototype.N,d.prototype.getProperties=d.prototype.O,d.prototype.set=d.prototype.set,d.prototype.setProperties=d.prototype.G,d.prototype.unset=d.prototype.P,d.prototype.changed=d.prototype.u,d.prototype.dispatchEvent=d.prototype.b,d.prototype.getRevision=d.prototype.K,d.prototype.on=d.prototype.I,d.prototype.once=d.prototype.L,d.prototype.un=d.prototype.J,d.prototype.unByKey=d.prototype.M,ut.prototype.getFirstCoordinate=ut.prototype.Ib,ut.prototype.getLastCoordinate=ut.prototype.Jb,ut.prototype.getLayout=ut.prototype.Kb,ut.prototype.rotate=ut.prototype.rotate,ut.prototype.getClosestPoint=ut.prototype.vb,ut.prototype.getExtent=ut.prototype.H,ut.prototype.simplify=ut.prototype.Bb,ut.prototype.transform=ut.prototype.jb,ut.prototype.get=ut.prototype.get,ut.prototype.getKeys=ut.prototype.N,ut.prototype.getProperties=ut.prototype.O,ut.prototype.set=ut.prototype.set,ut.prototype.setProperties=ut.prototype.G,ut.prototype.unset=ut.prototype.P,ut.prototype.changed=ut.prototype.u,ut.prototype.dispatchEvent=ut.prototype.b,ut.prototype.getRevision=ut.prototype.K,ut.prototype.on=ut.prototype.I,ut.prototype.once=ut.prototype.L,ut.prototype.un=ut.prototype.J,ut.prototype.unByKey=ut.prototype.M,it.prototype.getFirstCoordinate=it.prototype.Ib,it.prototype.getLastCoordinate=it.prototype.Jb,it.prototype.getLayout=it.prototype.Kb,it.prototype.rotate=it.prototype.rotate,it.prototype.getClosestPoint=it.prototype.vb,it.prototype.getExtent=it.prototype.H,it.prototype.simplify=it.prototype.Bb,it.prototype.transform=it.prototype.jb,it.prototype.get=it.prototype.get,it.prototype.getKeys=it.prototype.N,it.prototype.getProperties=it.prototype.O,it.prototype.set=it.prototype.set,it.prototype.setProperties=it.prototype.G,it.prototype.unset=it.prototype.P,it.prototype.changed=it.prototype.u,it.prototype.dispatchEvent=it.prototype.b,it.prototype.getRevision=it.prototype.K,it.prototype.on=it.prototype.I,it.prototype.once=it.prototype.L,it.prototype.un=it.prototype.J,it.prototype.unByKey=it.prototype.M,tt.prototype.getFirstCoordinate=tt.prototype.Ib,tt.prototype.getLastCoordinate=tt.prototype.Jb,tt.prototype.getLayout=tt.prototype.Kb,tt.prototype.rotate=tt.prototype.rotate,tt.prototype.getClosestPoint=tt.prototype.vb,tt.prototype.getExtent=tt.prototype.H,tt.prototype.simplify=tt.prototype.Bb,tt.prototype.transform=tt.prototype.jb,tt.prototype.get=tt.prototype.get,tt.prototype.getKeys=tt.prototype.N,tt.prototype.getProperties=tt.prototype.O,tt.prototype.set=tt.prototype.set,tt.prototype.setProperties=tt.prototype.G,tt.prototype.unset=tt.prototype.P,tt.prototype.changed=tt.prototype.u,tt.prototype.dispatchEvent=tt.prototype.b,tt.prototype.getRevision=tt.prototype.K,tt.prototype.on=tt.prototype.I,tt.prototype.once=tt.prototype.L,tt.prototype.un=tt.prototype.J,tt.prototype.unByKey=tt.prototype.M,l.prototype.getFirstCoordinate=l.prototype.Ib,l.prototype.getLastCoordinate=l.prototype.Jb,l.prototype.getLayout=l.prototype.Kb,l.prototype.rotate=l.prototype.rotate,l.prototype.getClosestPoint=l.prototype.vb,l.prototype.getExtent=l.prototype.H,l.prototype.simplify=l.prototype.Bb,l.prototype.transform=l.prototype.jb,l.prototype.get=l.prototype.get,l.prototype.getKeys=l.prototype.N,l.prototype.getProperties=l.prototype.O,l.prototype.set=l.prototype.set,l.prototype.setProperties=l.prototype.G,l.prototype.unset=l.prototype.P,l.prototype.changed=l.prototype.u,l.prototype.dispatchEvent=l.prototype.b,l.prototype.getRevision=l.prototype.K,l.prototype.on=l.prototype.I,l.prototype.once=l.prototype.L,l.prototype.un=l.prototype.J,l.prototype.unByKey=l.prototype.M,ul.prototype.readFeatures=ul.prototype.Fa,st.prototype.readFeatures=st.prototype.Fa,st.prototype.readFeatures=st.prototype.Fa,dt.prototype.get=dt.prototype.get,dt.prototype.getKeys=dt.prototype.N,dt.prototype.getProperties=dt.prototype.O,dt.prototype.set=dt.prototype.set,dt.prototype.setProperties=dt.prototype.G,dt.prototype.unset=dt.prototype.P,dt.prototype.changed=dt.prototype.u,dt.prototype.dispatchEvent=dt.prototype.b,dt.prototype.getRevision=dt.prototype.K,dt.prototype.on=dt.prototype.I,dt.prototype.once=dt.prototype.L,dt.prototype.un=dt.prototype.J,dt.prototype.unByKey=dt.prototype.M,or.prototype.getMap=or.prototype.i,or.prototype.setMap=or.prototype.setMap,or.prototype.setTarget=or.prototype.c,or.prototype.get=or.prototype.get,or.prototype.getKeys=or.prototype.N,or.prototype.getProperties=or.prototype.O,or.prototype.set=or.prototype.set,or.prototype.setProperties=or.prototype.G,or.prototype.unset=or.prototype.P,or.prototype.changed=or.prototype.u,or.prototype.dispatchEvent=or.prototype.b,or.prototype.getRevision=or.prototype.K,or.prototype.on=or.prototype.I,or.prototype.once=or.prototype.L,or.prototype.un=or.prototype.J,or.prototype.unByKey=or.prototype.M,su.prototype.getMap=su.prototype.i,su.prototype.setMap=su.prototype.setMap,su.prototype.setTarget=su.prototype.c,su.prototype.get=su.prototype.get,su.prototype.getKeys=su.prototype.N,su.prototype.getProperties=su.prototype.O,su.prototype.set=su.prototype.set,su.prototype.setProperties=su.prototype.G,su.prototype.unset=su.prototype.P,su.prototype.changed=su.prototype.u,su.prototype.dispatchEvent=su.prototype.b,su.prototype.getRevision=su.prototype.K,su.prototype.on=su.prototype.I,su.prototype.once=su.prototype.L,su.prototype.un=su.prototype.J,su.prototype.unByKey=su.prototype.M,hr.prototype.getMap=hr.prototype.i,hr.prototype.setMap=hr.prototype.setMap,hr.prototype.setTarget=hr.prototype.c,hr.prototype.get=hr.prototype.get,hr.prototype.getKeys=hr.prototype.N,hr.prototype.getProperties=hr.prototype.O,hr.prototype.set=hr.prototype.set,hr.prototype.setProperties=hr.prototype.G,hr.prototype.unset=hr.prototype.P,hr.prototype.changed=hr.prototype.u,hr.prototype.dispatchEvent=hr.prototype.b,hr.prototype.getRevision=hr.prototype.K,hr.prototype.on=hr.prototype.I,hr.prototype.once=hr.prototype.L,hr.prototype.un=hr.prototype.J,hr.prototype.unByKey=hr.prototype.M,fr.prototype.getMap=fr.prototype.i,fr.prototype.setMap=fr.prototype.setMap,fr.prototype.setTarget=fr.prototype.c,fr.prototype.get=fr.prototype.get,fr.prototype.getKeys=fr.prototype.N,fr.prototype.getProperties=fr.prototype.O,fr.prototype.set=fr.prototype.set,fr.prototype.setProperties=fr.prototype.G,fr.prototype.unset=fr.prototype.P,fr.prototype.changed=fr.prototype.u,fr.prototype.dispatchEvent=fr.prototype.b,fr.prototype.getRevision=fr.prototype.K,fr.prototype.on=fr.prototype.I,fr.prototype.once=fr.prototype.L,fr.prototype.un=fr.prototype.J,fr.prototype.unByKey=fr.prototype.M,ou.prototype.getMap=ou.prototype.i,ou.prototype.setMap=ou.prototype.setMap,ou.prototype.setTarget=ou.prototype.c,ou.prototype.get=ou.prototype.get,ou.prototype.getKeys=ou.prototype.N,ou.prototype.getProperties=ou.prototype.O,ou.prototype.set=ou.prototype.set,ou.prototype.setProperties=ou.prototype.G,ou.prototype.unset=ou.prototype.P,ou.prototype.changed=ou.prototype.u,ou.prototype.dispatchEvent=ou.prototype.b,ou.prototype.getRevision=ou.prototype.K,ou.prototype.on=ou.prototype.I,ou.prototype.once=ou.prototype.L,ou.prototype.un=ou.prototype.J,ou.prototype.unByKey=ou.prototype.M,pr.prototype.getMap=pr.prototype.i,pr.prototype.setMap=pr.prototype.setMap,pr.prototype.setTarget=pr.prototype.c,pr.prototype.get=pr.prototype.get,pr.prototype.getKeys=pr.prototype.N,pr.prototype.getProperties=pr.prototype.O,pr.prototype.set=pr.prototype.set,pr.prototype.setProperties=pr.prototype.G,pr.prototype.unset=pr.prototype.P,pr.prototype.changed=pr.prototype.u,pr.prototype.dispatchEvent=pr.prototype.b,pr.prototype.getRevision=pr.prototype.K,pr.prototype.on=pr.prototype.I,pr.prototype.once=pr.prototype.L,pr.prototype.un=pr.prototype.J,pr.prototype.unByKey=pr.prototype.M,uu.prototype.getMap=uu.prototype.i,uu.prototype.setMap=uu.prototype.setMap,uu.prototype.setTarget=uu.prototype.c,uu.prototype.get=uu.prototype.get,uu.prototype.getKeys=uu.prototype.N,uu.prototype.getProperties=uu.prototype.O,uu.prototype.set=uu.prototype.set,uu.prototype.setProperties=uu.prototype.G,uu.prototype.unset=uu.prototype.P,uu.prototype.changed=uu.prototype.u,uu.prototype.dispatchEvent=uu.prototype.b,uu.prototype.getRevision=uu.prototype.K,uu.prototype.on=uu.prototype.I,uu.prototype.once=uu.prototype.L,uu.prototype.un=uu.prototype.J,uu.prototype.unByKey=uu.prototype.M,wu.prototype.getMap=wu.prototype.i,wu.prototype.setMap=wu.prototype.setMap,wu.prototype.setTarget=wu.prototype.c,wu.prototype.get=wu.prototype.get,wu.prototype.getKeys=wu.prototype.N,wu.prototype.getProperties=wu.prototype.O,wu.prototype.set=wu.prototype.set,wu.prototype.setProperties=wu.prototype.G,wu.prototype.unset=wu.prototype.P,wu.prototype.changed=wu.prototype.u,wu.prototype.dispatchEvent=wu.prototype.b,wu.prototype.getRevision=wu.prototype.K,wu.prototype.on=wu.prototype.I,wu.prototype.once=wu.prototype.L,wu.prototype.un=wu.prototype.J,wu.prototype.unByKey=wu.prototype.M,tf.prototype.getMap=tf.prototype.i,tf.prototype.setMap=tf.prototype.setMap,tf.prototype.setTarget=tf.prototype.c,tf.prototype.get=tf.prototype.get,tf.prototype.getKeys=tf.prototype.N,tf.prototype.getProperties=tf.prototype.O,tf.prototype.set=tf.prototype.set,tf.prototype.setProperties=tf.prototype.G,tf.prototype.unset=tf.prototype.P,tf.prototype.changed=tf.prototype.u,tf.prototype.dispatchEvent=tf.prototype.b,tf.prototype.getRevision=tf.prototype.K,tf.prototype.on=tf.prototype.I,tf.prototype.once=tf.prototype.L,tf.prototype.un=tf.prototype.J,tf.prototype.unByKey=tf.prototype.M,i.ol});var StreetmapControl={streetmap:null,init:function(){StreetmapControl.renderMap()},calcMapHeight:function(){var n,t;setTimeout(function(){StreetmapControl.streetmap.updateSize()},100);n=0;$(window).width()<=gridFloatBreakpointMax&&$("#inner-wrap").hasClass("active")&&(n=$(".navbar-sidemenu").outerHeight());t=$(window).height()-$("#toppage").outerHeight()-10-n;$("#map").height(t)},renderMap:function(){$(".streetmap").each(function(){var n=$(this),u;if($("#main > div.contact").length==1&&n.height(n.parent().height()),n.data("lat")!=null&&n.data("lat")!=0){var t=ol.proj.fromLonLat([parseFloat(n.attr("data-lng")),parseFloat(n.attr("data-lat"))]),f=new ol.layer.Tile({source:new ol.source.OSM}),i=new ol.Collection,r=new ol.Map({layers:[f],logo:!1,target:n.attr("id"),view:new ol.View({center:t,logo:!1,zoom:18}),interactions:ol.interaction.defaults({mouseWheelZoom:!1})}),e=new ol.Feature({geometry:new ol.geom.Point(t)});i.push(e);u=new ol.layer.Vector({source:new ol.source.Vector({features:i}),style:new ol.style.Style({image:new ol.style.Icon({src:"/images/location.png"})})});u.setMap(r);StreetmapControl.streetmap=r}})}};$(document).ready(function(){StreetmapControl.init()})