text: !function(t,e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define([],e):t.ol=e()}(this,function(){function h(t){return void 0!==t}function t(t,e,o){t=t.split("."),o=o||Wb,t[0]in o||!o.execScript||o.execScript("var "+t[0]);for(var i;t.length&&(i=t.shift());)!t.length&&h(e)?o[i]=e:o=o[i]?o[i]:o[i]={}}function l(){}function e(t){t.Yb=function(){return t.Pg?t.Pg:t.Pg=new t}}function i(t){var e=typeof t;if("object"==e){if(!t)return"null";if(t instanceof Array)return"array";if(t instanceof Object)return e;var o=Object.prototype.toString.call(t);if("[object Window]"==o)return"object";if("[object Array]"==o||"number"==typeof t.length&&"undefined"!=typeof t.splice&&"undefined"!=typeof t.propertyIsEnumerable&&!t.propertyIsEnumerable("splice"))return"array";if("[object Function]"==o||"undefined"!=typeof t.call&&"undefined"!=typeof t.propertyIsEnumerable&&!t.propertyIsEnumerable("call"))return"function"}else if("function"==e&&"undefined"==typeof t.call)return"object";return e}function d(t){return"array"==i(t)}function p(t){var e=i(t);return"array"==e||"object"==e&&"number"==typeof t.length}function c(t){return"string"==typeof t}function u(t){return"number"==typeof t}function y(t){return"function"==i(t)}function f(t){var e=typeof t;return"object"==e&&null!=t||"function"==e}function I(t){return t[zb]||(t[zb]=++Zb)}function r(t,e,o){return t.call.apply(t.bind,arguments)}function n(e,o,t){if(!e)throw Error();if(2<arguments.length){var i=Array.prototype.slice.call(arguments,2);return function(){var t=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(t,i),e.apply(o,t)}}return function(){return e.apply(o,arguments)}}function g(t,e,o){return(g=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?r:n).apply(null,arguments)}function v(e,t){var o=Array.prototype.slice.call(arguments,1);return function(){var t=o.slice();return t.push.apply(t,arguments),e.apply(this,t)}}function o(t,n){function e(){}e.prototype=n.prototype,t.ca=n.prototype,t.prototype=new e,(t.prototype.constructor=t).zp=function(t,e,o){for(var i=Array(arguments.length-2),r=2;r<arguments.length;r++)i[r-2]=arguments[r];return n.prototype[e].apply(t,i)}}function s(){}function a(t){if(Error.captureStackTrace)Error.captureStackTrace(this,a);else{var e=Error().stack;e&&(this.stack=e)}t&&(this.message=String(t))}function b(t,e){var o=t.length-e.length;return 0<=o&&t.indexOf(e,o)==o}function m(t,e){for(var o=t.split("%s"),i="",r=Array.prototype.slice.call(arguments,1);r.length&&1<o.length;)i+=o.shift()+r.shift();return i+o.join("%s")}function w(t){return im.test(t)&&(-1!=t.indexOf("&")&&(t=t.replace($b,"&amp;")),-1!=t.indexOf("<")&&(t=t.replace(_b,"&lt;")),-1!=t.indexOf(">")&&(t=t.replace(Qb,"&gt;")),-1!=t.indexOf('"')&&(t=t.replace(tm,"&quot;")),-1!=t.indexOf("'")&&(t=t.replace(em,"&#39;")),-1!=t.indexOf("\0")&&(t=t.replace(om,"&#0;"))),t}function x(t){var e=(t=h(void 0)?t.toFixed(void 0):String(t)).indexOf(".");return-1==e&&(e=t.length),rm("0",Math.max(0,2-e))+t}function S(t,e){for(var o=0,i=qb(String(t)).split("."),r=qb(String(e)).split("."),n=Math.max(i.length,r.length),s=0;0==o&&s<n;s++){var p=i[s]||"",a=r[s]||"",h=RegExp("(\\d*)(\\D*)","g"),l=RegExp("(\\d*)(\\D*)","g");do{var u=h.exec(p)||["","",""],c=l.exec(a)||["","",""];if(0==u[0].length&&0==c[0].length)break;o=M(0==u[1].length?0:parseInt(u[1],10),0==c[1].length?0:parseInt(c[1],10))||M(0==u[2].length,0==c[2].length)||M(u[2],c[2])}while(0==o)}return o}function M(t,e){return t<e?-1:e<t?1:0}function P(t,e,o){return Math.min(Math.max(t,e),o)}function T(t,e,o,i,r,n){var s=r-o,p=n-i;if(0!==s||0!==p){var a=((t-o)*s+(e-i)*p)/(s*s+p*p);1<a?(o=r,i=n):0<a&&(o+=s*a,i+=p*a)}return E(t,e,o,i)}function E(t,e,o,i){return(t=o-t)*t+(e=i-e)*e}function j(t){return t*Math.PI/180}function A(e){return function(t){if(t)return[P(t[0],e[0],e[2]),P(t[1],e[1],e[3])]}}function R(t){return t}function C(t,e){return sm.indexOf.call(t,e,void 0)}function L(t,e){sm.forEach.call(t,e,void 0)}function k(t,e){return sm.filter.call(t,e,void 0)}function F(t,e){return sm.map.call(t,e,void 0)}function N(t,e){return sm.some.call(t,e,void 0)}function D(t,e){var o=O(t,e,void 0);return o<0?null:c(t)?t.charAt(o):t[o]}function O(t,e,o){for(var i=t.length,r=c(t)?t.split(""):t,n=0;n<i;n++)if(n in r&&e.call(o,r[n],n,t))return n;return-1}function U(t,e){var o,i=C(t,e);return(o=0<=i)&&sm.splice.call(t,i,1),o}function B(t){return sm.concat.apply(sm,arguments)}function G(t){var e=t.length;if(0<e){for(var o=Array(e),i=0;i<e;i++)o[i]=t[i];return o}return[]}function X(t,e){for(var o=1;o<arguments.length;o++){var i=arguments[o];if(p(i)){var r=t.length||0,n=i.length||0;t.length=r+n;for(var s=0;s<n;s++)t[r+s]=i[s]}else t.push(i)}}function K(t,e,o,i){sm.splice.apply(t,Y(arguments,1))}function Y(t,e,o){return arguments.length<=2?sm.slice.call(t,e):sm.slice.call(t,e,o)}function V(t,e){t.sort(e||Z)}function W(t){for(var e=ap,o=0;o<t.length;o++)t[o]={index:o,value:t[o]};var i=e||Z;for(V(t,function(t,e){return i(t.value,e.value)||t.index-e.index}),o=0;o<t.length;o++)t[o]=t[o].value}function z(t,e){if(!p(t)||!p(e)||t.length!=e.length)return!1;for(var o=t.length,i=H,r=0;r<o;r++)if(!i(t[r],e[r]))return!1;return!0}function Z(t,e){return e<t?1:t<e?-1:0}function H(t,e){return t===e}function J(t){for(var e=[],o=0;o<arguments.length;o++){var i=arguments[o];if(d(i))for(var r=0;r<i.length;r+=8192)for(var n=Y(i,r,r+8192),s=(n=J.apply(null,n),0);s<n.length;s++)e.push(n[s]);else e.push(i)}return e}function q(t,e){return e<t?1:t<e?-1:0}function $(t,e){return 0<=t.indexOf(e)}function _(t,e,o){var i=t.length;if(t[0]<=e)return 0;if(!(e<=t[i-1]))if(0<o){for(o=1;o<i;++o)if(t[o]<e)return o-1}else if(o<0){for(o=1;o<i;++o)if(t[o]<=e)return o}else for(o=1;o<i;++o){if(t[o]==e)return o;if(t[o]<e)return t[o-1]-e<e-t[o]?o-1:o}return i-1}function Q(i){return function(t,e,o){if(void 0!==t)return t=P((t=_(i,t,o))+e,0,i.length-1),i[t]}}function tt(i,r,n){return function(t,e,o){if(void 0!==t)return t=Math.max(Math.floor(Math.log(r/t)/Math.log(i)+(0<o?0:o<0?1:.5))+e,0),void 0!==n&&(t=Math.min(t,n)),r/Math.pow(i,t)}}function et(t){if(void 0!==t)return 0}function ot(t,e){if(void 0!==t)return t+e}function it(t){var o=2*Math.PI/t;return function(t,e){if(void 0!==t)return Math.floor((t+e)/o+.5)*o}}function rt(){var o=j(5);return function(t,e){if(void 0!==t)return Math.abs(t+e)<=o?0:t+e}}function nt(t,e,o){this.center=t,this.resolution=e,this.rotation=o}function st(t){return-1!=Jb.indexOf(t)}function pt(t,e,o){for(var i in t)e.call(o,t[i],i,t)}function at(t,e){for(var o in t)if(e.call(void 0,t[o],o,t))return!0;return!1}function ht(t){var e,o=0;for(e in t)o++;return o}function lt(t){var e,o=[],i=0;for(e in t)o[i++]=t[e];return o}function ut(t,e){for(var o in t)if(t[o]==e)return!0;return!1}function ct(t,e){for(var o in t)if(e.call(void 0,t[o],o,t))return o}function yt(t){for(var e in t)return!1;return!0}function ft(t){for(var e in t)delete t[e]}function gt(t,e,o){return e in t?t[e]:o}function dt(t,e){var o=[];return e in t?t[e]:t[e]=o}function vt(t){var e,o={};for(e in t)o[e]=t[e];return o}function bt(t){if("object"!=(o=i(t))&&"array"!=o)return t;if(y(t.clone))return t.clone();var e,o="array"==o?[]:{};for(e in t)o[e]=bt(t[e]);return o}function mt(t,e){for(var o,i,r=1;r<arguments.length;r++){for(o in i=arguments[r])t[o]=i[o];for(var n=0;n<hm.length;n++)o=hm[n],Object.prototype.hasOwnProperty.call(i,o)&&(t[o]=i[o])}}function wt(){var t=Jb;return ym?/rv\:([^\);]+)(\)|;)/.exec(t):cm?/Edge\/([\d\.]+)/.exec(t):um?/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(t):fm?/WebKit\/(\S+)/.exec(t):void 0}function xt(){var t=Wb.document;return t?t.documentMode:void 0}function St(t){return mm[t]||(mm[t]=0<=S(bm,t))}function Mt(){0!=Tm&&(Em[I(this)]=this),this.na=this.na,this.va=this.va}function Pt(t,e){var o=v(Tt,e);t.na?o.call(void 0):(t.va||(t.va=[]),t.va.push(h(void 0)?g(o,void 0):o))}function Tt(t){t&&"function"==typeof t.Fc&&t.Fc()}function Et(t,e){this.type=t,this.g=this.target=e,this.j=!1,this.Th=!0}function jt(t){t.b()}function At(t){t.preventDefault()}function Rt(t){return Rt[" "](t),t}function Ct(t,e){if(Et.call(this,t?t.type:""),this.relatedTarget=this.g=this.target=null,this.G=this.i=this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0,this.B=this.c=this.f=this.o=!1,this.state=null,this.l=!1,this.a=null,t){var o=this.type=t.type,i=t.changedTouches?t.changedTouches[0]:null;this.target=t.target||t.srcElement,this.g=e;var r=t.relatedTarget;if(r){if(ym){var n;t:{try{Rt(r.nodeName),n=!0;break t}catch(s){}n=!1}n||(r=null)}}else"mouseover"==o?r=t.fromElement:"mouseout"==o&&(r=t.toElement);this.relatedTarget=r,null===i?(this.offsetX=fm||void 0!==t.offsetX?t.offsetX:t.layerX,this.offsetY=fm||void 0!==t.offsetY?t.offsetY:t.layerY,this.clientX=void 0!==t.clientX?t.clientX:t.pageX,this.clientY=void 0!==t.clientY?t.clientY:t.pageY,this.screenX=t.screenX||0,this.screenY=t.screenY||0):(this.clientX=void 0!==i.clientX?i.clientX:i.pageX,this.clientY=void 0!==i.clientY?i.clientY:i.pageY,this.screenX=i.screenX||0,this.screenY=i.screenY||0),this.button=t.button,this.i=t.keyCode||0,this.G=t.charCode||("keypress"==o?t.keyCode:0),this.o=t.ctrlKey,this.f=t.altKey,this.c=t.shiftKey,this.B=t.metaKey,this.l=gm?t.metaKey:t.ctrlKey,this.state=t.state,(this.a=t).defaultPrevented&&this.preventDefault()}}function It(t){return!((Sm?0!=t.a.button:"click"!=t.type&&!(t.a.button&jm[0]))||fm&&gm&&t.o)}function Lt(t){return!(!t||!t[Am])}function kt(t,e,o,i,r){this.listener=t,this.a=null,this.src=e,this.type=o,this.bd=!!i,this.ke=r,this.key=++Rm,this.Uc=this.Vd=!1}function Ft(t){t.Uc=!0,t.listener=null,t.a=null,t.src=null,t.ke=null}function Nt(t){this.src=t,this.a={},this.f=0}function Dt(t,e){var o=e.type;if(!(o in t.a))return!1;var i=U(t.a[o],e);return i&&(Ft(e),0==t.a[o].length&&(delete t.a[o],t.f--)),i}function Ot(t,e,o,i,r){return t=t.a[e.toString()],e=-1,t&&(e=Bt(t,o,i,r)),-1<e?t[e]:null}function Ut(t,e,o){var i=h(e),r=i?e.toString():"",n=h(o);return at(t.a,function(t){for(var e=0;e<t.length;++e)if(!(i&&t[e].type!=r||n&&t[e].bd!=o))return!0;return!1})}function Bt(t,e,o,i){for(var r=0;r<t.length;++r){var n=t[r];if(!n.Uc&&n.listener==e&&n.bd==!!o&&n.ke==i)return r}return-1}function Gt(t,e,o,i,r){if(d(e)){for(var n=0;n<e.length;n++)Gt(t,e[n],o,i,r);return null}return o=$t(o),Lt(t)?t.Ra(e,o,i,r):Xt(t,e,o,!1,i,r)}function Xt(t,e,o,i,r,n){if(!e)throw Error("Invalid event type");var s=!!r,p=qt(t);if(p||(t[Cm]=p=new Nt(t)),(o=p.add(e,o,i,r,n)).a)return o;if(i=Kt(),(o.a=i).src=t,i.listener=o,t.addEventListener)t.addEventListener(e.toString(),i,s);else{if(!t.attachEvent)throw Error("addEventListener and attachEvent are unavailable.");t.attachEvent(zt(e.toString()),i)}return 0,o}function Kt(){var e=Jt,o=Mm?function(t){return e.call(o.src,o.listener,t)}:function(t){if(!(t=e.call(o.src,o.listener,t)))return t};return o}function Yt(t,e,o,i,r){if(d(e)){for(var n=0;n<e.length;n++)Yt(t,e[n],o,i,r);return null}return o=$t(o),Lt(t)?t.yb.add(String(e),o,!0,i,r):Xt(t,e,o,!0,i,r)}function Vt(t,e,o,i,r){if(d(e))for(var n=0;n<e.length;n++)Vt(t,e[n],o,i,r);else o=$t(o),Lt(t)?t.Wf(e,o,i,r):t&&(t=qt(t))&&(e=Ot(t,e,o,!!i,r))&&Wt(e)}function Wt(t){if(u(t)||!t||t.Uc)return!1;var e=t.src;if(Lt(e))return Dt(e.yb,t);var o=t.type,i=t.a;return e.removeEventListener?e.removeEventListener(o,i,t.bd):e.detachEvent&&e.detachEvent(zt(o),i),0,(o=qt(e))?(Dt(o,t),0==o.f&&(o.src=null,e[Cm]=null)):Ft(t),!0}function zt(t){return t in Im?Im[t]:Im[t]="on"+t}function Zt(t,e,o,i){var r=!0;if((t=qt(t))&&(e=t.a[e.toString()]))for(e=e.concat(),t=0;t<e.length;t++){var n=e[t];n&&n.bd==o&&!n.Uc&&(n=Ht(n,i),r=r&&!1!==n)}return r}function Ht(t,e){var o=t.listener,i=t.ke||t.src;return t.Vd&&Wt(t),o.call(i,e)}function Jt(t,e){if(t.Uc)return!0;if(Mm)return Ht(t,new Ct(e,this));var o;if(!(o=e))t:{o=["window","event"];for(var i,r=Wb;i=o.shift();){if(null==r[i]){o=null;break t}r=r[i]}o=r}if(o=new Ct(i=o,this),r=!0,!(i.keyCode<0||null!=i.returnValue)){t:{var n=!1;if(0==i.keyCode)try{i.keyCode=-1;break t}catch(a){n=!0}(n||null==i.returnValue)&&(i.returnValue=!0)}for(i=[],n=o.g;n;n=n.parentNode)i.push(n);n=t.type;for(var s=i.length-1;!o.j&&0<=s;s--){o.g=i[s];var p=Zt(i[s],n,!0,o);r=r&&p}for(s=0;!o.j&&s<i.length;s++)o.g=i[s],p=Zt(i[s],n,!1,o),r=r&&p}return r}function qt(t){return(t=t[Cm])instanceof Nt?t:null}function $t(e){return y(e)?e:(e[Lm]||(e[Lm]=function(t){return e.handleEvent(t)}),e[Lm])}function _t(){Mt.call(this),this.yb=new Nt(this),(this.Od=this).gb=null}function Qt(t,e,o,i){if(!(e=t.yb.a[String(e)]))return!0;e=e.concat();for(var r=!0,n=0;n<e.length;++n){var s=e[n];if(s&&!s.Uc&&s.bd==o){var p=s.listener,a=s.ke||s.src;s.Vd&&Dt(t.yb,s),r=!1!==p.call(a,i)&&r}}return r&&0!=i.Th}function te(t,e,o){return Ut(t.yb,h(e)?String(e):void 0,o)}function ee(){_t.call(this),this.f=0}function oe(t){Wt(t)}function ie(t,e,o){Et.call(this,t),this.key=e,this.oldValue=o}function re(t){ee.call(this),I(this),this.G={},void 0!==t&&this.I(t)}function ne(t){return km.hasOwnProperty(t)?km[t]:km[t]="change:"+t}function se(t,e,o){var i;i=ne(e),t.s(new ie(i,e,o)),t.s(new ie("propertychange",e,o))}function pe(t,e,o){return void 0===o&&(o=[0,0]),o[0]=t[0]+2*e,o[1]=t[1]+2*e,o}function ae(t,e,o){return void 0===o&&(o=[0,0]),o[0]=t[0]*e+.5|0,o[1]=t[1]*e+.5|0,o}function he(t,e){return d(t)?t:(void 0===e?e=[t,t]:(e[0]=t,e[1]=t),e)}function le(t,e){var o=t%e;return o*e<0?o+e:o}function ue(t,e,o){return t+o*(e-t)}function ce(t,e){return t[0]+=e[0],t[1]+=e[1],t}function ye(t,e){var o=t[0],i=t[1],r=e[0],n=e[1],s=r[0],p=(r=r[1],n[0]),a=p-s,h=(n=n[1])-r;return(o=0===a&&0===h?0:(a*(o-s)+h*(i-r))/(a*a+h*h||0))<=0||(1<=o?(s=p,r=n):(s+=o*a,r+=o*h)),[s,r]}function fe(t,e){var o=le(t+180,360)-180,i=Math.abs(Math.round(3600*o));return Math.floor(i/3600)+"\xb0 "+x(Math.floor(i/60%60))+"\u2032 "+x(Math.floor(i%60))+"\u2033 "+e.charAt(o<0?1:0)}function ge(t,e,o){return t?e.replace("{x}",t[0].toFixed(o)).replace("{y}",t[1].toFixed(o)):""}function de(t,e){for(var o=!0,i=t.length-1;0<=i;--i)if(t[i]!=e[i]){o=!1;break}return o}function ve(t,e){var o=Math.cos(e),i=Math.sin(e),r=t[1]*o+t[0]*i;return t[0]=t[0]*o-t[1]*i,t[1]=r,t}function be(t,e){var o=t[0]-e[0],i=t[1]-e[1];return o*o+i*i}function me(t,e){return be(t,ye(t,e))}function we(t,e){return ge(t,"{x}, {y}",e)}function xe(t){this.length=t.length||t;for(var e=0;e<this.length;e++)this[e]=t[e]||0}function Se(t){this.length=t.length||t;for(var e=0;e<this.length;e++)this[e]=t[e]||0}function Me(t,e,o,i,r){t[0]=e,t[1]=o,t[2]=i,t[3]=r}function Pe(){var t=Array(16);return Ee(t,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0),t}function Te(){var t=Array(16);return Ee(t,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1),t}function Ee(t,e,o,i,r,n,s,p,a,h,l,u,c,y,f,g,d){t[0]=e,t[1]=o,t[2]=i,t[3]=r,t[4]=n,t[5]=s,t[6]=p,t[7]=a,t[8]=h,t[9]=l,t[10]=u,t[11]=c,t[12]=y,t[13]=f,t[14]=g,t[15]=d}function je(t,e){t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]}function Ae(t){t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1}function Re(t,e,o){var i=t[0],r=t[1],n=t[2],s=t[3],p=t[4],a=t[5],h=t[6],l=t[7],u=t[8],c=t[9],y=t[10],f=t[11],g=t[12],d=t[13],v=t[14];t=t[15];var b=e[0],m=e[1],w=e[2],x=e[3],S=e[4],M=e[5],P=e[6],T=e[7],E=e[8],j=e[9],A=e[10],R=e[11],C=e[12],I=e[13],L=e[14];e=e[15],o[0]=i*b+p*m+u*w+g*x,o[1]=r*b+a*m+c*w+d*x,o[2]=n*b+h*m+y*w+v*x,o[3]=s*b+l*m+f*w+t*x,o[4]=i*S+p*M+u*P+g*T,o[5]=r*S+a*M+c*P+d*T,o[6]=n*S+h*M+y*P+v*T,o[7]=s*S+l*M+f*P+t*T,o[8]=i*E+p*j+u*A+g*R,o[9]=r*E+a*j+c*A+d*R,o[10]=n*E+h*j+y*A+v*R,o[11]=s*E+l*j+f*A+t*R,o[12]=i*C+p*I+u*L+g*e,o[13]=r*C+a*I+c*L+d*e,o[14]=n*C+h*I+y*L+v*e,o[15]=s*C+l*I+f*L+t*e}function Ce(t,e){var o=t[0],i=t[1],r=t[2],n=t[3],s=t[4],p=t[5],a=t[6],h=t[7],l=t[8],u=t[9],c=t[10],y=t[11],f=t[12],g=t[13],d=t[14],v=t[15],b=o*p-i*s,m=o*a-r*s,w=o*h-n*s,x=i*a-r*p,S=i*h-n*p,M=r*h-n*a,P=l*g-u*f,T=l*d-c*f,E=l*v-y*f,j=u*d-c*g,A=u*v-y*g,R=c*v-y*d,C=b*R-m*A+w*j+x*E-S*T+M*P;0!=C&&(C=1/C,e[0]=(p*R-a*A+h*j)*C,e[1]=(-i*R+r*A-n*j)*C,e[2]=(g*M-d*S+v*x)*C,e[3]=(-u*M+c*S-y*x)*C,e[4]=(-s*R+a*E-h*T)*C,e[5]=(o*R-r*E+n*T)*C,e[6]=(-f*M+d*w-v*m)*C,e[7]=(l*M-c*w+y*m)*C,e[8]=(s*A-p*E+h*P)*C,e[9]=(-o*A+i*E-n*P)*C,e[10]=(f*S-g*w+v*b)*C,e[11]=(-l*S+u*w-y*b)*C,e[12]=(-s*j+p*T-a*P)*C,e[13]=(o*j-i*T+r*P)*C,e[14]=(-f*x+g*m-d*b)*C,e[15]=(l*x-u*m+c*b)*C)}function Ie(t,e,o){var i=t[1]*e+t[5]*o+0*t[9]+t[13],r=t[2]*e+t[6]*o+0*t[10]+t[14],n=t[3]*e+t[7]*o+0*t[11]+t[15];t[12]=t[0]*e+t[4]*o+0*t[8]+t[12],t[13]=i,t[14]=r,t[15]=n}function Le(t,e,o){Ee(t,t[0]*e,t[1]*e,t[2]*e,t[3]*e,t[4]*o,t[5]*o,t[6]*o,t[7]*o,1*t[8],1*t[9],1*t[10],1*t[11],t[12],t[13],t[14],t[15])}function ke(t,e){var o=t[0],i=t[1],r=t[2],n=t[3],s=t[4],p=t[5],a=t[6],h=t[7],l=Math.cos(e),u=Math.sin(e);t[0]=o*l+s*u,t[1]=i*l+p*u,t[2]=r*l+a*u,t[3]=n*l+h*u,t[4]=o*-u+s*l,t[5]=i*-u+p*l,t[6]=r*-u+a*l,t[7]=n*-u+h*l}function Fe(t){for(var e=Ye(),o=0,i=t.length;o<i;++o)Je(e,t[o]);return e}function Ne(t,e,o){return Ve(Math.min.apply(null,t),Math.min.apply(null,e),t=Math.max.apply(null,t),e=Math.max.apply(null,e),o)}function De(t,e,o){return o?(o[0]=t[0]-e,o[1]=t[1]-e,o[2]=t[2]+e,o[3]=t[3]+e,o):[t[0]-e,t[1]-e,t[2]+e,t[3]+e]}function Oe(t,e){return e?(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e):t.slice()}function Ue(t,e,o){return(e=e<t[0]?t[0]-e:t[2]<e?e-t[2]:0)*e+(t=o<t[1]?t[1]-o:t[3]<o?o-t[3]:0)*t}function Be(t,e){return Xe(t,e[0],e[1])}function Ge(t,e){return t[0]<=e[0]&&e[2]<=t[2]&&t[1]<=e[1]&&e[3]<=t[3]}function Xe(t,e,o){return t[0]<=e&&e<=t[2]&&t[1]<=o&&o<=t[3]}function Ke(t,e){var o=t[1],i=t[2],r=t[3],n=e[0],s=e[1],p=0;return n<t[0]?p|=16:i<n&&(p|=4),s<o?p|=8:r<s&&(p|=2),0===p&&(p=1),p}function Ye(){return[Infinity,Infinity,-Infinity,-Infinity]}function Ve(t,e,o,i,r){return r?(r[0]=t,r[1]=e,r[2]=o,r[3]=i,r):[t,e,o,i]}function We(t,e){var o=t[0],i=t[1];return Ve(o,i,o,i,e)}function ze(t,e,o,i,r){return qe(r=Ve(Infinity,Infinity,-Infinity,-Infinity,r),t,e,o,i)}function Ze(t,e){return t[0]==e[0]&&t[2]==e[2]&&t[1]==e[1]&&t[3]==e[3]}function He(t,e){return e[0]<t[0]&&(t[0]=e[0]),e[2]>t[2]&&(t[2]=e[2]),e[1]<t[1]&&(t[1]=e[1]),e[3]>t[3]&&(t[3]=e[3]),t}function Je(t,e){e[0]<t[0]&&(t[0]=e[0]),e[0]>t[2]&&(t[2]=e[0]),e[1]<t[1]&&(t[1]=e[1]),e[1]>t[3]&&(t[3]=e[1])}function qe(t,e,o,i,r){for(;o<i;o+=r){var n=t,s=e[o],p=e[o+1];n[0]=Math.min(n[0],s),n[1]=Math.min(n[1],p),n[2]=Math.max(n[2],s),n[3]=Math.max(n[3],p)}return t}function $e(t,e,o){var i;return(i=e.call(o,Qe(t)))||(i=e.call(o,to(t)))||(i=e.call(o,so(t)))?i:!!(i=e.call(o,no(t)))&&i}function _e(t){var e=0;return ho(t)||(e=po(t)*io(t)),e}function Qe(t){return[t[0],t[1]]}function to(t){return[t[2],t[1]]}function eo(t){return[(t[0]+t[2])/2,(t[1]+t[3])/2]}function oo(t,e,o,i){var r,n,s,p=e*i[0]/2;for(i=e*i[1]/2,e=Math.cos(o),o=Math.sin(o),p=[-p,-p,p,p],i=[-i,i,-i,i],r=0;r<4;++r)n=p[r],s=i[r],p[r]=t[0]+n*e-s*o,i[r]=t[1]+n*o+s*e;return Ne(p,i,void 0)}function io(t){return t[3]-t[1]}function ro(t,e,o){return o=o||Ye(),ao(t,e)&&(o[0]=t[0]>e[0]?t[0]:e[0],o[1]=t[1]>e[1]?t[1]:e[1],o[2]=t[2]<e[2]?t[2]:e[2],o[3]=t[3]<e[3]?t[3]:e[3]),o}function no(t){return[t[0],t[3]]}function so(t){return[t[2],t[3]]}function po(t){return t[2]-t[0]}function ao(t,e){return t[0]<=e[2]&&t[2]>=e[0]&&t[1]<=e[3]&&t[3]>=e[1]}function ho(t){return t[2]<t[0]||t[3]<t[1]}function lo(t,e){var o=(t[2]-t[0])/2*(e-1),i=(t[3]-t[1])/2*(e-1);t[0]-=o,t[2]+=o,t[1]-=i,t[3]+=i}function uo(t,e,o){return e(t=[t[0],t[1],t[0],t[3],t[2],t[1],t[2],t[3]],t,2),Ne([t[0],t[2],t[4],t[6]],[t[1],t[3],t[5],t[7]],o)}function co(t){return function(){return t}}function yo(t){return t}function fo(t){var e;return e=e||0,function(){return t.apply(this,Array.prototype.slice.call(arguments,0,e))}}function go(t){var o=arguments,i=o.length;return function(){for(var t,e=0;e<i;e++)t=o[e].apply(this,arguments);return t}}function vo(t){var e=arguments,o=e.length;return function(){for(var t=0;t<o;t++)if(!e[t].apply(this,arguments))return!1;return!0}}function bo(t){this.radius=t}function mo(t){this.a=t.code,this.f=t.units,this.i=void 0!==t.extent?t.extent:null,this.j=void 0!==t.worldExtent?t.worldExtent:null,this.g=void 0!==t.axisOrientation?t.axisOrientation:"enu",this.c=void 0!==t.global&&t.global,this.b=!(!this.c||!this.i),this.o=void 0!==t.getPointResolution?t.getPointResolution:this.hk,this.l=null;var e=Bm,o=t.code;if("function"==typeof proj4&&void 0===e[o]){var i=proj4.defs(o);if(void 0!==i)for(var r in void 0!==i.axis&&void 0===t.axisOrientation&&(this.g=i.axis),void 0===t.units&&(t=i.units,void 0===i.to_meter||void 0!==t&&void 0!==Um[t]||(t=i.to_meter.toString(),Um[t]=i.to_meter),this.f=t),e)void 0!==(t=proj4.defs(r))&&(e=Ro(r),t===i?xo([e,this]):jo(e,this,(t=proj4(r,o)).forward,t.inverse))}}function wo(t){return t.g}function xo(t){Po(t),t.forEach(function(e){t.forEach(function(t){e!==t&&Eo(e,t,Fo)})})}function So(){var t=Vw,o=fa,i=ga;zw.forEach(function(e){t.forEach(function(t){Eo(e,t,o),Eo(t,e,i)})})}function Mo(t){Eo(Bm[t.a]=t,t,Fo)}function Po(t){var e=[];t.forEach(function(t){e.push(Mo(t))})}function To(t){return t?c(t)?Ro(t):t:Ro("EPSG:3857")}function Eo(t,e,o){t=t.a,e=e.a,t in Gm||(Gm[t]={}),Gm[t][e]=o}function jo(t,e,o,i){Eo(t=Ro(t),e=Ro(e),Ao(o)),Eo(e,t,Ao(i))}function Ao(s){return function(t,e,o){var i,r,n=t.length;for(o=void 0!==o?o:2,e=void 0!==e?e:Array(n),r=0;r<n;r+=o)for(i=s([t[r],t[r+1]]),e[r]=i[0],e[r+1]=i[1],i=o-1;2<=i;--i)e[r+i]=t[r+i];return e}}function Ro(t){var e;return t instanceof mo?e=t:c(t)?void 0===(e=Bm[t])&&"function"==typeof proj4&&void 0!==proj4.defs(t)&&Mo(e=new mo({code:t})):e=null,e}function Co(t,e){if(t===e)return!0;var o=t.f===e.f;return t.a===e.a?o:Lo(t,e)===Fo&&o}function Io(t,e){return Lo(Ro(t),Ro(e))}function Lo(t,e){var o,i=t.a,r=e.a;return i in Gm&&r in Gm[i]&&(o=Gm[i][r]),void 0===o&&(o=ko),o}function ko(t,e){if(void 0!==e&&t!==e){for(var o=0,i=t.length;o<i;++o)e[o]=t[o];t=e}return t}function Fo(t,e){var o;if(void 0!==e){o=0;for(var i=t.length;o<i;++o)e[o]=t[o];o=e}else o=t.slice();return o}function No(t,e,o){return Io(e,o)(t,void 0,t.length)}function Do(t,e,o){return uo(t,e=Io(e,o))}function Oo(){re.call(this),this.B=Ye(),this.v=-1,this.i={},this.o=this.j=0}function Uo(t,e,o,i,r,n){var s=r[0],p=r[1],a=r[4],h=r[5],l=r[12];r=r[13];for(var u=n||[],c=0;e<o;e+=i){var y=t[e],f=t[e+1];u[c++]=s*y+a*f+l,u[c++]=p*y+h*f+r}return n&&u.length!=c&&(u.length=c),u}function Bo(){Oo.call(this),this.b="XY",this.a=2,this.A=null}function Go(t){return"XY"==t?2:"XYZ"==t||"XYM"==t?3:"XYZM"==t?4:void 0}function Xo(t,e,o){t.a=Go(e),t.b=e,t.A=o}function Ko(t,e,o,i){if(e)o=Go(e);else{for(e=0;e<i;++e){if(0===o.length)return t.b="XY",void(t.a=2);o=o[0]}e=2==(o=o.length)?"XY":3==o?"XYZ":4==o?"XYZM":void 0}t.b=e,t.a=o}function Yo(t,e,o,i){for(var r=0,n=t[o-i],s=t[o-i+1];e<o;e+=i){var p=t[e],a=t[e+1];r=r+(s*p-n*a),n=p,s=a}return r/2}function Vo(t,e,o,i){var r,n,s=0;for(r=0,n=o.length;r<n;++r){var p=o[r];s=s+Yo(t,e,p,i);e=p}return s}function Wo(t,e,o,i,r,n,s){var p=t[e],a=t[e+1],h=t[o]-p,l=t[o+1]-a;if(0!==h||0!==l)if(1<(n=((r-p)*h+(n-a)*l)/(h*h+l*l)))e=o;else if(0<n){for(r=0;r<i;++r)s[r]=ue(t[e+r],t[o+r],n);return void(s.length=i)}for(r=0;r<i;++r)s[r]=t[e+r];s.length=i}function zo(t,e,o,i,r){var n=t[e],s=t[e+1];for(e+=i;e<o;e+=i){var p=t[e],a=t[e+1];r<(n=E(n,s,p,a))&&(r=n),n=p,s=a}return r}function Zo(t,e,o,i,r){var n,s;for(n=0,s=o.length;n<s;++n){var p=o[n];r=zo(t,e,p,i,r),e=p}return r}function Ho(t,e,o,i,r,n,s,p,a,h,l){if(e==o)return h;var u;if(0===r){if((u=E(s,p,t[e],t[e+1]))<h){for(l=0;l<i;++l)a[l]=t[e+l];return a.length=i,u}return h}for(var c=l||[NaN,NaN],y=e+i;y<o;)if(Wo(t,y-i,y,i,s,p,c),(u=E(s,p,c[0],c[1]))<h){for(h=u,l=0;l<i;++l)a[l]=c[l];y+=a.length=i}else y+=i*Math.max((Math.sqrt(u)-Math.sqrt(h))/r|0,1);if(n&&(Wo(t,o-i,e,i,s,p,c),(u=E(s,p,c[0],c[1]))<h)){for(h=u,l=0;l<i;++l)a[l]=c[l];a.length=i}return h}function Jo(t,e,o,i,r,n,s,p,a,h,l){var u,c;for(l=l||[NaN,NaN],u=0,c=o.length;u<c;++u){var y=o[u];h=Ho(t,e,y,i,r,n,s,p,a,h,l),e=y}return h}function qo(t,e){var o,i,r=0;for(o=0,i=e.length;o<i;++o)t[r++]=e[o];return r}function $o(t,e,o,i){var r,n;for(r=0,n=o.length;r<n;++r){var s,p=o[r];for(s=0;s<i;++s)t[e++]=p[s]}return e}function _o(t,e,o,i,r){r=r||[];var n,s,p=0;for(n=0,s=o.length;n<s;++n)e=$o(t,e,o[n],i),r[p++]=e;return r.length=p,r}function Qo(t,e,o,i,r){r=void 0!==r?r:[];for(var n=0;e<o;e+=i)r[n++]=t.slice(e,e+i);return r.length=n,r}function ti(t,e,o,i,r){r=void 0!==r?r:[];var n,s,p=0;for(n=0,s=o.length;n<s;++n){var a=o[n];r[p++]=Qo(t,e,a,i,r[p]),e=a}return r.length=p,r}function ei(t,e,o,i,r,n,s){var p=(o-e)/i;if(p<3){for(;e<o;e+=i)n[s++]=t[e],n[s++]=t[e+1];return s}var a=Array(p);a[0]=1,a[p-1]=1,o=[e,o-i];for(var h,l=0;0<o.length;){var u=o.pop(),c=o.pop(),y=0,f=t[c],g=t[c+1],d=t[u],v=t[u+1];for(h=c+i;h<u;h+=i){var b=T(t[h],t[h+1],f,g,d,v);y<b&&(l=h,y=b)}r<y&&(a[(l-e)/i]=1,c+i<l&&o.push(c,l),l+i<u&&o.push(l,u))}for(h=0;h<p;++h)a[h]&&(n[s++]=t[e+h*i],n[s++]=t[e+h*i+1]);return s}function oi(t,e,o,i,r,n,s,p){var a,h;for(a=0,h=o.length;a<h;++a){var l=o[a];t:{var u=t,c=l,y=i,f=r,g=n;if(e!=c){var d=f*Math.round(u[e]/f),v=f*Math.round(u[e+1]/f);e+=y,g[s++]=d,g[s++]=v;var b=void 0,m=void 0;do{if(b=f*Math.round(u[e]/f),m=f*Math.round(u[e+1]/f),(e+=y)==c){g[s++]=b,g[s++]=m;break t}}while(b==d&&m==v);for(;e<c;){var w,x;if(w=f*Math.round(u[e]/f),x=f*Math.round(u[e+1]/f),e+=y,w!=b||x!=m){var S=b-d,M=m-v,P=w-d,T=x-v;S*T==M*P&&(S<0&&P<S||S==P||0<S&&S<P)&&(M<0&&T<M||M==T||0<M&&M<T)||(d=g[s++]=b,v=g[s++]=m),b=w,m=x}}g[s++]=b,g[s++]=m}}p.push(s),e=l}return s}function ii(t,e){Bo.call(this),this.g=this.l=-1,this.la(t,e)}function ri(t,e,o){Xo(t,e,o),t.u()}function ni(t,e){Bo.call(this),this.la(t,e)}function si(e,o,i,r,t){return!$e(t,function(t){return!pi(e,o,i,r,t[0],t[1])})}function pi(t,e,o,i,r,n){for(var s=!1,p=t[o-i],a=t[o-i+1];e<o;e+=i){var h=t[e],l=t[e+1];n<a!=n<l&&r<(h-p)*(n-a)/(l-a)+p&&(s=!s),p=h,a=l}return s}function ai(t,e,o,i,r,n){if(0===o.length||!pi(t,e,o[0],i,r,n))return!1;var s;for(e=1,s=o.length;e<s;++e)if(pi(t,o[e-1],o[e],i,r,n))return!1;return!0}function hi(t,e,o,i,r,n,s){var p,a,h,l,u,c=r[n+1],y=[],f=o[0];for(h=t[f-i],u=t[f-i+1],p=e;p<f;p+=i)l=t[p],a=t[p+1],(c<=u&&a<=c||u<=c&&c<=a)&&(h=(c-u)/(a-u)*(l-h)+h,y.push(h)),h=l,u=a;for(f=NaN,u=-Infinity,y.sort(q),h=y[0],p=1,a=y.length;p<a;++p){l=y[p];var g=Math.abs(l-h);u<g&&(ai(t,e,o,i,h=(h+l)/2,c)&&(f=h,u=g)),h=l}return isNaN(f)&&(f=r[n]),s?(s.push(f,c),s):[f,c]}function li(t,e,o,i,r,n){for(var s,p=[t[e],t[e+1]],a=[];e+i<o;e+=i){if(a[0]=t[e+i],a[1]=t[e+i+1],s=r.call(n,p,a))return s;p[0]=a[0],p[1]=a[1]}return!1}function ui(t,e,o,i,c){var r=qe(Ye(),t,e,o,i);return!!ao(c,r)&&(!!(Ge(c,r)||r[0]>=c[0]&&r[2]<=c[2]||r[1]>=c[1]&&r[3]<=c[3])||li(t,e,o,i,function(t,e){var o=!1,i=Ke(c,t),r=Ke(c,e);if(1===i||1===r)o=!0;else{var n=c[0],s=c[1],p=c[2],a=c[3],h=e[0],l=e[1],u=(l-t[1])/(h-t[0]);2&r&&!(2&i)&&(o=n<=(o=h-(l-a)/u)&&o<=p),o||!(4&r)||4&i||(o=s<=(o=l-(h-p)*u)&&o<=a),o||!(8&r)||8&i||(o=n<=(o=h-(l-s)/u)&&o<=p),o||!(16&r)||16&i||(o=s<=(o=l-(h-n)*u)&&o<=a)}return o}))}function ci(t,e,o,i,r){var n=o[0];if(!(ui(t,e,n,i,r)||pi(t,e,n,i,r[0],r[1])||pi(t,e,n,i,r[0],r[3])||pi(t,e,n,i,r[2],r[1])||pi(t,e,n,i,r[2],r[3])))return!1;if(1===o.length)return!0;for(e=1,n=o.length;e<n;++e)if(si(t,o[e-1],o[e],i,r))return!1;return!0}function yi(t,e,o,i){for(var r=0,n=t[o-i],s=t[o-i+1];e<o;e+=i){var p=t[e],a=t[e+1];r=r+(p-n)*(a+s),n=p,s=a}return 0<r}function fi(t,e,o,i){var r,n,s=0;for(i=void 0!==i&&i,r=0,n=e.length;r<n;++r){var p=e[r];s=yi(t,s,p,o);if(0===r){if(i&&s||!i&&!s)return!1}else if(i&&!s||!i&&s)return!1;s=p}return!0}function gi(t,e,o,i,r){var n,s;for(r=void 0!==r&&r,n=0,s=o.length;n<s;++n){var p=o[n],a=yi(t,e,p,i);if(0===n?r&&a||!r&&!a:r&&!a||!r&&a){a=t;for(var h=p,l=i;e<h-l;){var u;for(u=0;u<l;++u){var c=a[e+u];a[e+u]=a[h-l+u],a[h-l+u]=c}e+=l,h-=l}}e=p}return e}function di(t,e,o,i){var r,n,s=0;for(r=0,n=e.length;r<n;++r)s=gi(t,s,e[r],o,i);return s}function vi(t,e){Bo.call(this),this.g=[],this.C=-1,this.D=null,this.T=this.O=this.U=-1,this.l=null,this.la(t,e)}function bi(t){if(t.C!=t.f){var e=eo(t.J());t.D=hi(t.bc(),0,t.g,t.a,e,0),t.C=t.f}return t.D}function mi(t,e,o,i){var r,n=i||32;for(i=[],r=0;r<n;++r)X(i,t.offset(e,o,2*Math.PI*r/n));return i.push(i[0],i[1]),(t=new vi(null)).ba("XY",i,[i.length]),t}function wi(t){var e=t[0],o=t[1],i=t[2];return e=[e,o,e,t=t[3],i,t,i,o,e,o],(o=new vi(null)).ba("XY",e,[e.length]),o}function xi(t,e,o){for(var i=e||32,r=t.ra(),n=new vi(null,e=t.b),s=(i=r*(i+1),r=[],0);s<i;s++)r[s]=0;return n.ba(e,r,[r.length]),Si(n,t.wd(),t.zf(),o),n}function Si(t,e,o,i){var r=t.ia(),n=t.b,s=t.ra(),p=t.zb(),a=r.length/s-1;i=i||0;for(var h,l,u=0;u<=a;++u)l=u*s,h=i+2*le(u,a)*Math.PI/a,r[l]=e[0]+o*Math.cos(h),r[l+1]=e[1]+o*Math.sin(h);t.ba(n,r,p)}function Mi(t){re.call(this),t=t||{},this.b=[0,0];var e={};e.center=void 0!==t.center?t.center:null,this.g=To(t.projection);var o,i,r,n=void 0!==t.minZoom?t.minZoom:0;o=void 0!==t.maxZoom?t.maxZoom:28;var s=void 0!==t.zoomFactor?t.zoomFactor:2;if(void 0!==t.resolutions)i=(o=t.resolutions)[0],r=o[o.length-1],o=Q(o);else{var p=((r=(i=To(t.projection)).J())?Math.max(po(r),io(r)):360*Um.degrees/Um[i.f])/256/Math.pow(2,0),a=p/Math.pow(2,28);void 0!==(i=t.maxResolution)?n=0:i=p/Math.pow(s,n),void 0===(r=t.minResolution)&&(r=void 0!==t.maxZoom?void 0!==t.maxResolution?i/Math.pow(s,o):p/Math.pow(s,o):a),o=n+Math.floor(Math.log(i/r)/Math.log(s)),r=i/Math.pow(s,o-n),o=tt(s,i,o-n)}this.a=i,this.j=r,this.c=n,n=void 0!==t.extent?A(t.extent):R,void 0===t.enableRotation||t.enableRotation?i=void 0===(i=t.constrainRotation)||!0===i?rt():!1===i?ot:u(i)?it(i):ot:i=et,this.i=new nt(n,o,i),void 0!==t.resolution?e.resolution=t.resolution:void 0!==t.zoom&&(e.resolution=this.constrainResolution(this.a,t.zoom-this.c)),e.rotation=void 0!==t.rotation?t.rotation:0,this.I(e)}function Pi(t){var e=t.a,o=Math.log(e/t.j)/Math.log(2);return function(t){return e/Math.pow(2,t*o)}}function Ti(t){var e=t.a,o=Math.log(e/t.j)/Math.log(2);return function(t){return Math.log(e/t)/Math.log(2)/o}}function Ei(t){var e=t.Ua(),o=t.g,i=t.$();return t=t.Fa(),{center:[Math.round(e[0]/i)*i,Math.round(e[1]/i)*i],projection:void 0!==o?o:null,resolution:i,rotation:t}}function ji(t){return!!t.Ua()&&void 0!==t.$()}function Ai(t,e){t.b[1]+=e}function Ri(t){return Math.pow(t,3)}function Ci(t){return 1-Ri(1-t)}function Ii(t){return 3*t*t-2*t*t*t}function Li(t){return t}function ki(t){return t<.5?Ii(2*t):1-Ii(2*(t-.5))}function Fi(t){var e=t.source,n=t.start?t.start:Date.now(),s=e[0],p=e[1],a=void 0!==t.duration?t.duration:1e3,h=t.easing?t.easing:Ii;return function(t,e){if(e.time<n)return e.animate=!0,e.viewHints[0]+=1,!0;if(e.time<n+a){var o=1-h((e.time-n)/a),i=s-e.viewState.center[0],r=p-e.viewState.center[1];return e.animate=!0,e.viewState.center[0]+=o*i,e.viewState.center[1]+=o*r,e.viewHints[0]+=1,!0}return!1}}function Ni(t){var r=t.rotation?t.rotation:0,n=t.start?t.start:Date.now(),s=void 0!==t.duration?t.duration:1e3,p=t.easing?t.easing:Ii,a=t.anchor?t.anchor:null;return function(t,e){if(e.time<n)return e.animate=!0,e.viewHints[0]+=1,!0;if(e.time<n+s){var o=1-p((e.time-n)/s);o=(r-e.viewState.rotation)*o;if(e.animate=!0,e.viewState.rotation+=o,a){var i=e.viewState.center;i[0]-=a[0],i[1]-=a[1],ve(i,o),ce(i,a)}return e.viewHints[0]+=1,!0}return!1}}function Di(t){var r=t.resolution,n=t.start?t.start:Date.now(),s=void 0!==t.duration?t.duration:1e3,p=t.easing?t.easing:Ii;return function(t,e){if(e.time<n)return e.animate=!0,e.viewHints[0]+=1,!0;if(e.time<n+s){var o=1-p((e.time-n)/s),i=r-e.viewState.resolution;return e.animate=!0,e.viewState.resolution+=o*i,e.viewHints[0]+=1,!0}return!1}}function Oi(t,e,o,i){return void 0!==i?(i[0]=t,i[1]=e,i[2]=o,i):[t,e,o]}function Ui(t,e,o){return t+"/"+e+"/"+o}function Bi(t){var e,o,i=t[0],r=Array(i),n=1<<i-1;for(e=0;e<i;++e)o=48,t[1]&n&&(o+=1),t[2]&n&&(o+=2),r[e]=String.fromCharCode(o),n>>=1;return r.join("")}function Gi(t){return Ui(t[0],t[1],t[2])}function Xi(t,e,o,i){this.a=t,this.c=e,this.f=o,this.b=i}function Ki(t,e){return t.a<=e.a&&e.c<=t.c&&t.f<=e.f&&e.b<=t.b}function Yi(t,e,o){return t.a<=e&&e<=t.c&&t.f<=o&&o<=t.b}function Vi(t,e){return t.a==e.a&&t.f==e.f&&t.c==e.c&&t.b==e.b}function Wi(t){return t.b-t.f+1}function zi(t){return t.c-t.a+1}function Zi(t,e){return t.a<=e.c&&t.c>=e.a&&t.f<=e.b&&t.b>=e.f}function Hi(t){this.f=t.html,this.a=t.tileRanges?t.tileRanges:null}function Ji(t,e,o){Et.call(this,t,o),this.element=e}function qi(t){re.call(this),this.a=t||[],$i(this)}function $i(t){t.set("length",t.a.length)}function _i(t){return d(t)?t:zm(t)}function Qi(t){if(!c(t)){var e=t[0];e!=(0|e)&&(e=e+.5|0);var o=t[1];o!=(0|o)&&(o=o+.5|0);var i=t[2];i!=(0|i)&&(i=i+.5|0),t="rgba("+e+","+o+","+i+","+t[3]+")"}return t}function tr(t,e){var o=e||[];return o[0]=P(t[0]+.5|0,0,255),o[1]=P(t[1]+.5|0,0,255),
  o[2]=P(t[2]+.5|0,0,255),o[3]=P(t[3],0,1),o}function er(t,e){this.x=h(t)?t:0,this.y=h(e)?e:0}function or(t,e){this.width=t,this.height=e}function ir(t){return t?new vr(gr(t)):Kb||(Kb=new vr)}function rr(t){var e=document;return c(t)?e.getElementById(t):t}function nr(o,t){pt(t,function(t,e){"style"==e?o.style.cssText=t:"class"==e?o.className=t:"for"==e?o.htmlFor=t:Hm.hasOwnProperty(e)?o.setAttribute(Hm[e],t):0==e.lastIndexOf("aria-",0)||0==e.lastIndexOf("data-",0)?o.setAttribute(e,t):o[e]=t})}function sr(t){return new or((t=t.document.documentElement).clientWidth,t.clientHeight)}function pr(t,e,o){var i=arguments,r=document,n=i[0],s=i[1];if(!Zm&&s&&(s.name||s.type)){if(n=["<",n],s.name&&n.push(' name="',w(s.name),'"'),s.type){n.push(' type="',w(s.type),'"');var p={};mt(p,s),delete p.type,s=p}n.push(">"),n=n.join("")}return n=r.createElement(n),s&&(c(s)?n.className=s:d(s)?n.className=s.join(" "):nr(n,s)),2<i.length&&ar(r,n,i),n}function ar(e,o,t){function i(t){t&&o.appendChild(c(t)?e.createTextNode(t):t)}for(var r=2;r<t.length;r++){var n=t[r];!p(n)||f(n)&&0<n.nodeType?i(n):L(dr(n)?G(n):n,i)}}function hr(t){for(var e;e=t.firstChild;)t.removeChild(e)}function lr(t,e,o){t.insertBefore(e,t.childNodes[o]||null)}function ur(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function cr(t,e){var o=e.parentNode;o&&o.replaceChild(t,e)}function yr(t){if(h(t.firstElementChild))t=t.firstElementChild;else for(t=t.firstChild;t&&1!=t.nodeType;)t=t.nextSibling;return t}function fr(t,e){if(t.contains&&1==e.nodeType)return t==e||t.contains(e);if("undefined"!=typeof t.compareDocumentPosition)return t==e||Boolean(16&t.compareDocumentPosition(e));for(;e&&t!=e;)e=e.parentNode;return e==t}function gr(t){return 9==t.nodeType?t:t.ownerDocument||t.document}function dr(t){if(t&&"number"==typeof t.length){if(f(t))return"function"==typeof t.item||"string"==typeof t.item;if(y(t))return"function"==typeof t.item}return!1}function vr(t){this.a=t||Wb.document||document}function br(){return!0}function mr(t){var e=t.a;return t=e.scrollingElement?e.scrollingElement:fm&&e.body||e.documentElement,e=e.parentWindow||e.defaultView,um&&St("10")&&e.pageYOffset!=t.scrollTop?new er(t.scrollLeft,t.scrollTop):new er(e.pageXOffset||t.scrollLeft,e.pageYOffset||t.scrollTop)}function wr(t){return t.classList?t.classList:c(t=t.className)&&t.match(/\S+/g)||[]}function xr(t,e){var o;return t.classList?o=t.classList.contains(e):o=0<=C(o=wr(t),e),o}function Sr(t,e){t.classList?t.classList.add(e):xr(t,e)||(t.className+=0<t.className.length?" "+e:e)}function Mr(t,e){t.classList?t.classList.remove(e):xr(t,e)&&(t.className=k(wr(t),function(t){return t!=e}).join(" "))}function Pr(t,e){xr(t,e)?Mr(t,e):Sr(t,e)}function Tr(t,e,o,i){this.top=t,this.right=e,this.bottom=o,this.left=i}function Er(t,e,o,i){this.left=t,this.top=e,this.width=o,this.height=i}function jr(t,e){var o=gr(t);return o.defaultView&&o.defaultView.getComputedStyle&&(o=o.defaultView.getComputedStyle(t,null))&&(o[e]||o.getPropertyValue(e))||""}function Ar(t,e){return jr(t,e)||(t.currentStyle?t.currentStyle[e]:null)||t.style&&t.style[e]}function Rr(t,e,o){var i;e instanceof er?(i=e.x,e=e.y):(i=e,e=o),t.style.left=Lr(i),t.style.top=Lr(e)}function Cr(t){var e;try{e=t.getBoundingClientRect()}catch(o){return{left:0,top:0,right:0,bottom:0}}return um&&t.ownerDocument.body&&(t=t.ownerDocument,e.left-=t.documentElement.clientLeft+t.body.clientLeft,e.top-=t.documentElement.clientTop+t.body.clientTop),e}function Ir(t){return 1==t.nodeType?new er((t=Cr(t)).left,t.top):new er((t=t.changedTouches?t.changedTouches[0]:t).clientX,t.clientY)}function Lr(t){return"number"==typeof t&&(t+="px"),t}function kr(t){var e=Fr;if("none"!=Ar(t,"display"))return e(t);var o=t.style,i=o.display,r=o.visibility,n=o.position;return o.visibility="hidden",o.position="absolute",o.display="inline",t=e(t),o.display=i,o.position=n,o.visibility=r,t}function Fr(t){var e=t.offsetWidth,o=t.offsetHeight,i=fm&&!e&&!o;return h(e)&&!i||!t.getBoundingClientRect?new or(e,o):new or((t=Cr(t)).right-t.left,t.bottom-t.top)}function Nr(t,e){t.style.display=e?"":"none"}function Dr(t,e,o,i){if(/^\d+px?$/.test(e))return parseInt(e,10);var r=t.style[o],n=t.runtimeStyle[o];return t.runtimeStyle[o]=t.currentStyle[o],t.style[o]=e,e=t.style[i],t.style[o]=r,t.runtimeStyle[o]=n,e}function Or(t,e){var o=t.currentStyle?t.currentStyle[e]:null;return o?Dr(t,o,"left","pixelLeft"):0}function Ur(t,e){if(um){var o=Or(t,e+"Left"),i=Or(t,e+"Right"),r=Or(t,e+"Top"),n=Or(t,e+"Bottom");return new Tr(r,i,n,o)}return o=jr(t,e+"Left"),i=jr(t,e+"Right"),r=jr(t,e+"Top"),n=jr(t,e+"Bottom"),new Tr(parseFloat(r),parseFloat(i),parseFloat(n),parseFloat(o))}function Br(t,e){if("none"==(t.currentStyle?t.currentStyle[e+"Style"]:null))return 0;var o=t.currentStyle?t.currentStyle[e+"Width"]:null;return o in Jm?Jm[o]:Dr(t,o,"left","pixelLeft")}function Gr(t){if(!um||9<=xm)return e=jr(t,"borderLeftWidth"),o=jr(t,"borderRightWidth"),i=jr(t,"borderTopWidth"),t=jr(t,"borderBottomWidth"),new Tr(parseFloat(i),parseFloat(o),parseFloat(t),parseFloat(e));var e=Br(t,"borderLeft"),o=Br(t,"borderRight"),i=Br(t,"borderTop");return new Tr(i,o,t=Br(t,"borderBottom"),e)}function Xr(t,e,o){Et.call(this,t),this.map=e,this.frameState=void 0!==o?o:null}function Kr(t){re.call(this),this.element=t.element?t.element:null,this.a=this.U=null,this.o=[],this.render=t.render?t.render:s,t.target&&this.c(t.target)}function Yr(){this.b=0,this.c={},this.f=this.a=null}function Vr(t,e){return t.c.hasOwnProperty(e)}function Wr(t){Yr.call(this),this.g=void 0!==t?t:2048}function zr(t){return t.qc()>t.g}function Zr(t,e){for(var o,i;zr(t)&&!((i=(o=t.a.mc).a[0].toString())in e&&e[i].contains(o.a));)t.pop().Fc()}function Hr(t,e){_t.call(this),this.a=t,this.state=e,this.f=null,this.key=""}function Jr(t){t.s("change")}function qr(t){re.call(this),this.b=Ro(t.projection),this.i=void 0!==t.attributions?t.attributions:null,this.U=t.logo,this.B=void 0!==t.state?t.state:"ready",this.O=void 0!==t.wrapX&&t.wrapX}function $r(t){return t.O}function _r(t,e){t.B=e,t.u()}function Qr(t){this.minZoom=void 0!==t.minZoom?t.minZoom:0,this.a=t.resolutions,this.maxZoom=this.a.length-1,this.b=void 0!==t.origin?t.origin:null,this.g=null,void 0!==t.origins&&(this.g=t.origins);var e=t.extent;void 0===e||this.b||this.g||(this.b=no(e)),this.i=null,void 0!==t.tileSizes&&(this.i=t.tileSizes),this.l=void 0!==t.tileSize?t.tileSize:this.i?null:256,this.G=void 0!==e?e:null,this.f=null,void 0!==t.sizes?this.f=t.sizes.map(function(t){return new Xi(Math.min(0,t[0]),Math.max(t[0]-1,-1),Math.min(0,t[1]),Math.max(t[1]-1,-1))},this):e&&an(this,e),this.c=[0,0]}function tn(t,e,o,i,r){for(r=t.Aa(e,r),e=e[0]-1;e>=t.minZoom;){if(o.call(null,e,rn(t,r,e,i)))return!0;--e}return!1}function en(t,e,o,i){return e[0]<t.maxZoom?rn(t,i=t.Aa(e,i),e[0]+1,o):null}function on(t,e,o,i){sn(t,e[0],e[1],o,!1,qm);var r=qm[1],n=qm[2];return sn(t,e[2],e[3],o,!0,qm),t=qm[1],e=qm[2],void 0!==i?(i.a=r,i.c=t,i.f=n,i.b=e):i=new Xi(r,t,n,e),i}function rn(t,e,o,i){return on(t,e,o=t.$(o),i)}function nn(t,e){var o=t.Da(e[0]),i=t.$(e[0]),r=he(t.Ka(e[0]),t.c);return[o[0]+(e[1]+.5)*r[0]*i,o[1]+(e[2]+.5)*r[1]*i]}function sn(t,e,o,i,r,n){var s=pn(t,i),p=i/t.$(s),a=t.Da(s);return t=he(t.Ka(s),t.c),e=p*Math.floor((e-a[0])/i+(r?.5:0))/t[0],o=p*Math.floor((o-a[1])/i+(r?0:.5))/t[1],r?(e=Math.ceil(e)-1,o=Math.ceil(o)-1):(e=Math.floor(e),o=Math.floor(o)),Oi(s,e,o,n)}function pn(t,e){return P(_(t.a,e,0),t.minZoom,t.maxZoom)}function an(t,e){for(var o=t.a.length,i=Array(o),r=t.minZoom;r<o;++r)i[r]=rn(t,e,r);t.f=i}function hn(t){if(!(o=t.l)){var e=un(o=cn(t),void 0,void 0),o=new Qr({extent:o,origin:no(o),resolutions:e,tileSize:void 0});t.l=o}return o}function ln(t){var e={};return mt(e,void 0!==t?t:{}),void 0===e.extent&&(e.extent=Ro("EPSG:3857").J()),e.resolutions=un(e.extent,e.maxZoom,e.tileSize),delete e.maxZoom,new Qr(e)}function un(t,e,o){e=void 0!==e?e:42;var i=io(t);for(t=po(t),o=he(void 0!==o?o:256),o=Math.max(t/o[0],i/o[1]),e+=1,i=Array(e),t=0;t<e;++t)i[t]=o/Math.pow(2,t);return i}function cn(t){var e=(t=Ro(t)).J();return e||(e=Ve(-(t=180*Um.degrees/t.Kc()),-t,t,t)),e}function yn(t){qr.call(this,{attributions:t.attributions,extent:t.extent,logo:t.logo,projection:t.projection,state:t.state,wrapX:t.wrapX}),this.pa=void 0!==t.opaque&&t.opaque,this.v=void 0!==t.tilePixelRatio?t.tilePixelRatio:1,this.tileGrid=void 0!==t.tileGrid?t.tileGrid:null,this.a=new Wr(t.df),this.c=[0,0]}function fn(t,e,o,i,r){if(!(e=t.ud(e)))return!1;for(var n,s,p=!0,a=i.a;a<=i.c;++a)for(var h=i.f;h<=i.b;++h)s=!1,Vr(e,n=t.Ab(o,a,h))&&((s=2===(n=e.get(n)).state)&&(s=!1!==r(n))),s||(p=!1);return p}function gn(t,e,o){var i=void 0!==o?o:t.b;if(o=t.ib(i),t.O&&i.c){var r=e;e=r[0],t=nn(o,r),Be(i=cn(i),t)?e=r:(r=po(i),t[0]+=r*Math.ceil((i[0]-t[0])/r),e=o.ge(t,e))}if(r=e[0],i=e[1],t=e[2],o.minZoom>r||r>o.maxZoom)o=!1;else{var n=o.J();o=!(o=n?rn(o,n,r):o.f?o.f[r]:null)||Yi(o,i,t)}return o?e:null}function dn(t,e){Et.call(this,t),this.tile=e}function vn(t){t=t||{},this.C=document.createElement("UL"),this.B=document.createElement("LI"),this.C.appendChild(this.B),Nr(this.B,!1),this.b=void 0===t.collapsed||t.collapsed,this.j=void 0===t.collapsible||t.collapsible,this.j||(this.b=!1);var e=t.className?t.className:"ol-attribution",o=t.tipLabel?t.tipLabel:"Attributions",i=t.collapseLabel?t.collapseLabel:"\xbb";this.D=c(i)?pr("SPAN",{},i):i,i=t.label?t.label:"i",this.O=c(i)?pr("SPAN",{},i):i,Gt(o=pr("BUTTON",{type:"button",title:o},this.j&&!this.b?this.D:this.O),"click",this.Pl,!1,this),e=pr("DIV",e+" ol-unselectable ol-control"+(this.b&&this.j?" ol-collapsed":"")+(this.j?"":" ol-uncollapsible"),this.C,o),Kr.call(this,{element:e,render:t.render?t.render:bn,target:t.target}),this.v=!0,this.l={},this.i={},this.T={}}function bn(t){if(t=t.frameState){var e,o,i,r,n,s,p,a,h,l,u,c,y=t.layerStatesArray,f=vt(t.attributions),g={},d=t.viewState.projection;for(o=0,e=y.length;o<e;o++)if((s=y[o].layer.ea())&&(l=I(s).toString(),h=s.i))for(i=0,r=h.length;i<r;i++)if(!((a=I(p=h[i]).toString())in f)){if(n=t.usedTiles[l]){var v=s.ib(d);t:{var b=d;if((u=p).a){var m=void 0,w=void 0,x=void 0,S=void 0;for(S in n)if(S in u.a){var M;for(x=n[S],m=0,w=u.a[S].length;m<w;++m){if(Zi(M=u.a[S][m],x)){u=!0;break t}var P=rn(v,b.J(),parseInt(S,10)),T=zi(P);if((x.a<P.a||x.c>P.c)&&(Zi(M,new Xi(le(x.a,T),le(x.c,T),x.f,x.b))||zi(x)>T&&Zi(M,P))){u=!0;break t}}}u=!1}else u=!0}}else u=!1;u?(a in g&&delete g[a],f[a]=p):g[a]=p}for(var E in o=(e=[f,g])[0],e=e[1],this.l)E in o?(this.i[E]||(Nr(this.l[E],!0),this.i[E]=!0),delete o[E]):E in e?(this.i[E]&&(Nr(this.l[E],!1),delete this.i[E]),delete e[E]):(ur(this.l[E]),delete this.l[E],delete this.i[E]);for(E in o)(i=document.createElement("LI")).innerHTML=o[E].f,this.C.appendChild(i),this.l[E]=i,this.i[E]=!0;for(E in e)(i=document.createElement("LI")).innerHTML=e[E].f,Nr(i,!1),this.C.appendChild(i),this.l[E]=i;for(c in E=!yt(this.i)||!yt(t.logos),this.v!=E&&(Nr(this.element,E),this.v=E),E&&yt(this.i)?Sr(this.element,"ol-logo-only"):Mr(this.element,"ol-logo-only"),t=t.logos,E=this.T)c in t||(ur(E[c]),delete E[c]);for(var j in t)j in E||(""===(o=t[(c=new Image).src=j])?o=c:(o=pr("A",{href:o})).appendChild(c),this.B.appendChild(o),E[j]=o);Nr(this.B,!yt(t))}else this.v&&(Nr(this.element,!1),this.v=!1)}function mn(t){Pr(t.element,"ol-collapsed"),t.b?cr(t.D,t.O):cr(t.O,t.D),t.b=!t.b}function wn(t){var e=(t=t||{}).className?t.className:"ol-rotate",o=t.label?t.label:"\u21e7";this.b=null,c(o)?this.b=pr("SPAN","ol-compass",o):(this.b=o,Sr(this.b,"ol-compass")),Gt(o=pr("BUTTON",{"class":e+"-reset",type:"button",title:t.tipLabel?t.tipLabel:"Reset rotation"},this.b),"click",wn.prototype.v,!1,this),e=pr("DIV",e+" ol-unselectable ol-control",o),o=t.render?t.render:xn,this.j=t.resetNorth?t.resetNorth:void 0,Kr.call(this,{element:e,render:o,target:t.target}),this.l=void 0!==t.duration?t.duration:250,this.i=void 0===t.autoHide||t.autoHide,this.B=void 0,this.i&&Sr(this.element,"ol-hidden")}function xn(t){if(t=t.frameState){if((t=t.viewState.rotation)!=this.B){var e="rotate("+t+"rad)";if(this.i){var o=this.element;0===t?Sr(o,"ol-hidden"):Mr(o,"ol-hidden")}this.b.style.msTransform=e,this.b.style.webkitTransform=e,this.b.style.transform=e}this.B=t}}function Sn(t){var e=(t=t||{}).className?t.className:"ol-zoom",o=t.delta?t.delta:1,i=t.zoomOutLabel?t.zoomOutLabel:"\u2212",r=t.zoomOutTipLabel?t.zoomOutTipLabel:"Zoom out",n=pr("BUTTON",{"class":e+"-in",type:"button",title:t.zoomInTipLabel?t.zoomInTipLabel:"Zoom in"},t.zoomInLabel?t.zoomInLabel:"+");Gt(n,"click",v(Sn.prototype.i,o),!1,this),Gt(i=pr("BUTTON",{"class":e+"-out",type:"button",title:r},i),"click",v(Sn.prototype.i,-o),!1,this),e=pr("DIV",e+" ol-unselectable ol-control",n,i),Kr.call(this,{element:e,target:t.target}),this.b=void 0!==t.duration?t.duration:250}function Mn(t){t=t||{};var e=new qi;return(void 0===t.zoom||t.zoom)&&e.push(new Sn(t.zoomOptions)),(void 0===t.rotate||t.rotate)&&e.push(new wn(t.rotateOptions)),(void 0===t.attribution||t.attribution)&&e.push(new vn(t.attributionOptions)),e}function Pn(){var t=ir().a,e=t.body;return!!(e.webkitRequestFullscreen||e.mozRequestFullScreen&&t.mozFullScreenEnabled||e.msRequestFullscreen&&t.msFullscreenEnabled||e.requestFullscreen&&t.fullscreenEnabled)}function Tn(t){t.webkitRequestFullscreen?t.webkitRequestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.msRequestFullscreen?t.msRequestFullscreen():t.requestFullscreen&&t.requestFullscreen()}function En(){var t=ir().a;return!!(t.webkitIsFullScreen||t.mozFullScreen||t.msFullscreenElement||t.fullscreenElement)}function jn(t){t=t||{},this.b=t.className?t.className:"ol-full-screen";var e=t.label?t.label:"\u2922";this.i=c(e)?document.createTextNode(e):e,e=t.labelActive?t.labelActive:"\xd7",this.j=c(e)?document.createTextNode(e):e,e=t.tipLabel?t.tipLabel:"Toggle full-screen",Gt(e=pr("BUTTON",{"class":this.b+"-"+En(),type:"button",title:e},this.i),"click",this.v,!1,this),Gt(Wb.document,_m,this.l,!1,this);e=pr("DIV",this.b+" ol-unselectable ol-control "+(Pn()?"":"ol-unsupported"),e);Kr.call(this,{element:e,target:t.target}),this.B=void 0!==t.keys&&t.keys}function An(t){var e=pr("DIV",(t=t||{}).className?t.className:"ol-mouse-position");Kr.call(this,{element:e,render:t.render?t.render:Rn,target:t.target}),Gt(this,ne("projection"),this.Sl,!1,this),t.coordinateFormat&&this.Wh(t.coordinateFormat),t.projection&&this.bh(Ro(t.projection)),this.B=t.undefinedHTML?t.undefinedHTML:"",this.l=e.innerHTML,this.j=this.i=this.b=null}function Rn(t){(t=t.frameState)?this.b!=t.viewState.projection&&(this.b=t.viewState.projection,this.i=null):this.b=null,Cn(this,this.j)}function Cn(t,e){var o=t.B;if(e&&t.b){if(!t.i){var i=t.ah();t.i=i?Lo(t.b,i):ko}(i=t.a.Ga(e))&&(t.i(i,i),o=(o=t.wg())?o(i):i.toString())}t.l&&o==t.l||(t.element.innerHTML=o,t.l=o)}function In(t,e,o){Mt.call(this),this.xa=null,this.b=!1,this.i=t,this.g=o,this.a=e||window,this.f=g(this.c,this)}function Ln(t){if(null!=t.xa){var e=kn(t),o=Fn(t);e&&!o&&t.a.mozRequestAnimationFrame?Wt(t.xa):e&&o?o.call(t.a,t.xa):t.a.clearTimeout(t.xa)}t.xa=null}function kn(t){return(t=t.a).requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||t.msRequestAnimationFrame||null}function Fn(t){return(t=t.a).cancelAnimationFrame||t.cancelRequestAnimationFrame||t.webkitCancelRequestAnimationFrame||t.mozCancelRequestAnimationFrame||t.oCancelRequestAnimationFrame||t.msCancelRequestAnimationFrame||null}function Nn(t){Wb.setTimeout(function(){throw t},0)}function Dn(t,e){var o=t;e&&(o=g(t,e)),o=Qm(o),!y(Wb.setImmediate)||Wb.Window&&Wb.Window.prototype&&Wb.Window.prototype.setImmediate==Wb.setImmediate?($m||($m=On()),$m(o)):Wb.setImmediate(o)}function On(){var t=Wb.MessageChannel;if(void 0===t&&"undefined"!=typeof window&&window.postMessage&&window.addEventListener&&!st("Presto")&&(t=function(){(i=document.createElement("IFRAME")).style.display="none",i.src="",document.documentElement.appendChild(i);var t=i.contentWindow;(i=t.document).open(),i.write(""),i.close();var e="callImmediate"+Math.random(),o="file:"==t.location.protocol?"*":t.location.protocol+"//"+t.location.host,i=g(function(t){"*"!=o&&t.origin!=o||t.data!=e||this.port1.onmessage()},this);t.addEventListener("message",i,!1),this.port1={},this.port2={postMessage:function(){t.postMessage(e,o)}}}),void 0===t||st("Trident")||st("MSIE"))return"undefined"!=typeof document&&"onreadystatechange"in document.createElement("SCRIPT")?function(t){var e=document.createElement("SCRIPT");e.onreadystatechange=function(){e.onreadystatechange=null,e.parentNode.removeChild(e),e=null,t(),t=null},document.documentElement.appendChild(e)}:function(t){Wb.setTimeout(t,0)};var e=new t,o={},i=o;return e.port1.onmessage=function(){if(h(o.next)){var t=(o=o.next).ng;o.ng=null,t()}},function(t){i.next={ng:t},i=i.next,e.port2.postMessage(0)}}function Un(t,e){if(this.f={},this.a=[],this.b=0,1<(i=arguments.length)){if(i%2)throw Error("Uneven number of arguments");for(var o=0;o<i;o+=2)this.set(arguments[o],arguments[o+1])}else if(t){if(t instanceof Un)o=t.P(),i=t.sc();else{var i=[],r=0;for(o in t)i[r++]=o;o=i,i=lt(t)}for(r=0;r<o.length;r++)this.set(o[r],i[r])}}function Bn(t){if(t.b!=t.a.length){for(var e=0,o=0;e<t.a.length;){var i=t.a[e];Gn(t.f,i)&&(t.a[o++]=i),e++}t.a.length=o}if(t.b!=t.a.length){var r={};for(o=e=0;e<t.a.length;)Gn(r,i=t.a[e])||(r[t.a[o++]=i]=1),e++;t.a.length=o}}function Gn(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Xn(){this.a=Hb()}function Kn(t){_t.call(this),this.a=t||window,this.f=Gt(this.a,"resize",this.c,!1,this),this.b=sr(this.a||window)}function Yn(t,e,o,i,r){if(!(um||cm||fm&&St("525")))return!0;if(gm&&r)return Vn(t);if(r&&!i)return!1;if(u(e)&&(e=Wn(e)),!o&&(17==e||18==e||gm&&91==e))return!1;if((fm||cm)&&i&&o)switch(t){case 220:case 219:case 221:case 192:case 186:case 189:case 187:case 188:case 190:case 191:case 192:case 222:return!1}if(um&&i&&e==t)return!1;switch(t){case 13:return!0;case 27:return!(fm||cm)}return Vn(t)}function Vn(t){if(48<=t&&t<=57||96<=t&&t<=106||65<=t&&t<=90||(fm||cm)&&0==t)return!0;switch(t){case 32:case 43:case 63:case 64:case 107:case 109:case 110:case 111:case 186:case 59:case 189:case 187:case 61:case 188:case 190:case 191:case 192:case 222:case 219:case 220:case 221:return!0;default:return!1}}function Wn(t){if(ym)t=zn(t);else if(gm&&fm)t:switch(t){case 93:t=91}return t}function zn(t){switch(t){case 61:return 187;case 59:return 186;case 173:return 189;case 224:return 91;case 0:return 224;default:return t}}function Zn(t,e){_t.call(this),t&&Hn(this,t,e)}function Hn(t,e,o){t.ne&&Jn(t),t.vd=e,t.me=Gt(t.vd,"keypress",t,o),t.rf=Gt(t.vd,"keydown",t.a,o,t),t.ne=Gt(t.vd,"keyup",t.f,o,t)}function Jn(t){t.me&&(Wt(t.me),Wt(t.rf),Wt(t.ne),t.me=null,t.rf=null,t.ne=null),t.vd=null,t.jb=-1,t.Zb=-1}function qn(t,e,o,i){Ct.call(this,i),this.type="key",this.i=t,this.G=e}function $n(t,e){_t.call(this);var o=this.a=t;(o=f(o)&&1==o.nodeType?this.a:this.a?this.a.body:null)&&Ar(o,"direction"),this.f=Gt(this.a,ym?"DOMMouseScroll":"mousewheel",this,e)}function _n(t,e){return fm&&(gm||vm)&&0!=t%e?t:t/e}function Qn(t,e,o,i){Ct.call(this,e),this.type="mousewheel",this.detail=t,this.v=i}function ts(t,e,o){Et.call(this,t),this.a=e,t=o||{},this.buttons=es(t),this.pressure=os(t,this.buttons),this.bubbles="bubbles"in t&&t.bubbles,this.cancelable="cancelable"in t&&t.cancelable,this.view="view"in t?t.view:null,this.detail="detail"in t?t.detail:null,this.screenX="screenX"in t?t.screenX:0,this.screenY="screenY"in t?t.screenY:0,this.clientX="clientX"in t?t.clientX:0,this.clientY="clientY"in t?t.clientY:0,this.button="button"in t?t.button:0,this.relatedTarget="relatedTarget"in t?t.relatedTarget:null,this.pointerId="pointerId"in t?t.pointerId:0,this.width="width"in t?t.width:0,this.height="height"in t?t.height:0,this.pointerType="pointerType"in t?t.pointerType:"",this.isPrimary="isPrimary"in t&&t.isPrimary,e.preventDefault&&(this.preventDefault=function(){e.preventDefault()})}function es(t){if(t.buttons||rw)t=t.buttons;else switch(t.which){case 1:t=1;break;case 2:t=4;break;case 3:t=2;break;default:t=0}return t}function os(t,e){return t.pressure?t.pressure:e?.5:0}function is(t,e){var o=document.createElement("CANVAS");return t&&(o.width=t),e&&(o.height=e),o.getContext("2d")}function rs(t,e){var o=t.style;o.WebkitTransform=e,o.MozTransform=e,o.a=e,o.msTransform=e,o.transform=e,um&&St("9.0")&&(t.style.transformOrigin="0 0")}function ns(t,e){var o;if(lw()){var i=Array(16);for(o=0;o<16;++o)i[o]=e[o].toFixed(6);rs(t,"matrix3d("+i.join(",")+")")}else if(hw()){i=[e[0],e[1],e[4],e[5],e[12],e[13]];var r=Array(6);for(o=0;o<6;++o)r[o]=i[o].toFixed(6);rs(t,"matrix("+r.join(",")+")")}else t.style.left=Math.round(e[12])+"px",t.style.top=Math.round(e[13])+"px"}function ss(t,e){var o,i,r=uw.length;for(i=0;i<r;++i)try{if(o=t.getContext(uw[i],e))return o}catch(n){}return null}function ps(t,e){this.a=t,this.g=e}function as(t){ps.call(this,t,{mousedown:this.il,mousemove:this.jl,mouseup:this.ml,mouseover:this.ll,mouseout:this.kl}),this.f=t.f,this.b=[]}function hs(t,e){for(var o,i=t.b,r=e.clientX,n=e.clientY,s=0,p=i.length;s<p&&(o=i[s]);s++){var a=Math.abs(n-o[1]);if(Math.abs(r-o[0])<=25&&a<=25)return!0}return!1}function ls(t){var e=Ss(t,t.a),o=e.preventDefault;return e.preventDefault=function(){t.preventDefault(),o()},e.pointerId=1,e.isPrimary=!0,e.pointerType="mouse",e}function us(t){ps.call(this,t,{MSPointerDown:this.rl,MSPointerMove:this.sl,MSPointerUp:this.vl,MSPointerOut:this.tl,MSPointerOver:this.ul,MSPointerCancel:this.ql,MSGotPointerCapture:this.ol,MSLostPointerCapture:this.pl}),this.f=t.f,this.b=["","unavailable","touch","pen","mouse"]}function cs(t,e){var o=e;return u(e.a.pointerType)&&((o=Ss(e,e.a)).pointerType=t.b[e.a.pointerType]),o}function ys(t){ps.call(this,t,{pointerdown:this.Vn,pointermove:this.Wn,pointerup:this.Zn,pointerout:this.Xn,pointerover:this.Yn,pointercancel:this.Un,gotpointercapture:this.vk,lostpointercapture:this.hl})}function fs(t,e){ps.call(this,t,{touchstart:this.ap,touchmove:this.$o,touchend:this.Zo,touchcancel:this.Yo}),this.f=t.f,this.j=e,this.b=void 0,this.i=0,this.c=void 0}function gs(t,e,o){return(e=Ss(e,o)).pointerId=o.identifier+2,e.bubbles=!0,e.cancelable=!0,e.detail=t.i,e.button=0,e.buttons=1,e.width=o.webkitRadiusX||o.radiusX||0,e.height=o.webkitRadiusY||o.radiusY||0,e.pressure=o.webkitForce||o.force||.5,e.isPrimary=t.b===o.identifier,e.pointerType="touch",e.clientX=o.clientX,e.clientY=o.clientY,e.screenX=o.screenX,e.screenY=o.screenY,e}function ds(t,e,o){function i(){e.preventDefault()}var r,n,s=Array.prototype.slice.call(e.a.changedTouches),p=s.length;for(r=0;r<p;++r)(n=gs(t,e,s[r])).preventDefault=i,o.call(t,e,n)}function vs(t,e){var o=t.j.b,i=e.a.changedTouches[0];if(t.b===i.identifier){var r=[i.clientX,i.clientY];o.push(r),Wb.setTimeout(function(){U(o,r)},2500)}}function bs(t){_t.call(this),this.c=t,this.f={},this.b={},this.a=[],bw?ms(this,new ys(this)):mw?ms(this,new us(this)):(ms(this,t=new as(this)),vw&&ms(this,new fs(this,t))),t=this.a.length;for(var e,o=0;o<t;o++)e=this.a[o],ws(this,Object.keys(e.g))}function ms(t,o){var e=Object.keys(o.g);e&&(e.forEach(function(t){var e=o.g[t];e&&(this.b[t]=g(e,o))},t),t.a.push(o))}function ws(t,e){e.forEach(function(t){Gt(this.c,t,this.g,!1,this)},t)}function xs(t,e){e.forEach(function(t){Vt(this.c,t,this.g,!1,this)},t)}function Ss(t,e){for(var o,i={},r=0,n=Iw.length;r<n;r++)i[o=Iw[r][0]]=t[o]||e[o]||Iw[r][1];return i}function Ms(t,e,o){t.wc(e,o);var i=e.relatedTarget;i&&fr(e.target,i)||(e.bubbles=!1,Ts(t,Rw,e,o))}function Ps(t,e,o){e.bubbles=!0,Ts(t,Ew,e,o);var i=e.relatedTarget;i&&fr(e.target,i)||(e.bubbles=!1,Ts(t,Aw,e,o))}function Ts(t,e,o,i){t.s(new ts(e,i,o))}function Es(t,e){t.s(new ts(e.type,e,e.a))}function js(t,e,o,i,r){Xr.call(this,t,e,r),this.a=o,this.originalEvent=o.a,this.pixel=e.$d(this.originalEvent),this.coordinate=e.Ga(this.pixel),this.dragging=void 0!==i&&i}function As(t,e,o,i,r){js.call(this,t,e,o.a,i,r),this.f=o}function Rs(t){_t.call(this),this.b=t,this.i=0,this.j=!1,this.f=this.l=this.c=null,t=this.b.a,this.B=0,this.G={},this.g=new bs(t),this.a=null,this.l=Gt(this.g,Pw,this.Rk,!1,this),this.o=Gt(this.g,Mw,this.xo,!1,this)}function Cs(t,e){var o;o=new As(kw,t.b,e),t.s(o),0!==t.i?(Wb.clearTimeout(t.i),t.i=0,o=new As(Fw,t.b,e),t.s(o)):t.i=Wb.setTimeout(g(function(){this.i=0;var t=new As(Lw,this.b,e);this.s(t)},t),250)}function Is(t,e){e.type==Uw||e.type==Bw?delete t.G[e.pointerId]:e.type==Ow&&(t.G[e.pointerId]=!0),t.B=ht(t.G)}function Ls(t){re.call(this);var e=vt(t);e.opacity=void 0!==t.opacity?t.opacity:1,e.visible=void 0===t.visible||t.visible,e.zIndex=void 0!==t.zIndex?t.zIndex:0,e.maxResolution=void 0!==t.maxResolution?t.maxResolution:Infinity,e.minResolution=void 0!==t.minResolution?t.minResolution:0,this.I(e)}function ks(t){var e=t.Rb(),o=t.pf(),i=t.rb(),r=t.J(),n=t.Sb(),s=t.Nb(),p=t.Ob();return{layer:t,opacity:P(e,0,1),O:o,visible:i,Bb:!0,extent:r,zIndex:n,maxResolution:s,minResolution:Math.max(p,0)}}function Fs(){}function Ns(t,e,o,i,r,n){Et.call(this,t,e),this.vectorContext=o,this.frameState=i,this.context=r,this.glContext=n}function Ds(t){var e=vt(t);delete e.source,Ls.call(this,e),this.i=this.B=this.o=null,t.map&&this.setMap(t.map),Gt(this,ne("source"),this.Xk,!1,this),this.zc(t.source?t.source:null)}function Os(t,e){return t.visible&&e>=t.minResolution&&e<t.maxResolution}function Us(t,e,o,i,r){_t.call(this),this.i=r,this.extent=t,this.b=o,this.resolution=e,this.state=i}function Bs(t){t.s("change")}function Gs(t,e,o,i,r,n,s,p){return Ae(t),0===e&&0===o||Ie(t,e,o),1==i&&1==r||Le(t,i,r),0!==n&&ke(t,n),0===s&&0===p||Ie(t,s,p),t}function Xs(t,e){return t[0]==e[0]&&t[1]==e[1]&&t[4]==e[4]&&t[5]==e[5]&&t[12]==e[12]&&t[13]==e[13]}function Ks(t,e,o){var i=t[1],r=t[5],n=t[13],s=e[0];return e=e[1],o[0]=t[0]*s+t[4]*e+t[12],o[1]=i*s+r*e+n,o}function Ys(t){ee.call(this),this.a=t}function Vs(t,e){var o=e.state;return 2!=o&&3!=o&&Gt(e,"change",t.Dm,!1,t),0==o&&(e.load(),o=e.state),2==o}function Ws(t){var e=t.a;e.rb()&&"ready"==e.pf()&&t.u()}function zs(t,e){e.qh()&&t.postRenderFunctions.push(v(function(t,e,o){e=I(t).toString(),t.rh(o.viewState.projection,o.usedTiles[e])},e))}function Zs(t,e){var o,i,r;if(e)for(i=0,r=e.length;i<r;++i)t[I(o=e[i]).toString()]=o}function Hs(t,e){var o=e.U;void 0!==o&&(c(o)?t.logos[o]="":f(o)&&(t.logos[o.src]=o.href))}function Js(t,e,o,i){e=I(e).toString(),o=o.toString(),e in t?o in t[e]?(t=t[e][o],i.a<t.a&&(t.a=i.a),i.c>t.c&&(t.c=i.c),i.f<t.f&&(t.f=i.f),i.b>t.b&&(t.b=i.b)):t[e][o]=i:(t[e]={},t[e][o]=i)}function qs(t,e,o){return[e*(Math.round(t[0]/e)+o[0]%2/2),e*(Math.round(t[1]/e)+o[1]%2/2)]}function $s(t,e,o,i,r,n,s,p,a,h){var l=I(e).toString();l in t.wantedTiles||(t.wantedTiles[l]={});var u=t.wantedTiles[l];t=t.tileQueue;var c,y,f,g,d,v,b=o.minZoom;for(v=s;b<=v;--v)for(y=rn(o,n,v,y),f=o.$(v),g=y.a;g<=y.c;++g)for(d=y.f;d<=y.b;++d)s-v<=p?(0==(c=e.Pb(v,g,d,i,r)).state&&(u[Gi(c.a)]=!0,c.$a()in t.b||t.c([c,l,nn(o,c.a),f])),void 0!==a&&a.call(h,c)):e.Yf(v,g,d,r)}function _s(t){this.B=t.opacity,this.C=t.rotateWithView,this.G=t.rotation,this.j=t.scale,this.D=t.snapToPixel}function Qs(t){t=t||{},this.g=void 0!==t.anchor?t.anchor:[.5,.5],this.c=null,this.f=void 0!==t.anchorOrigin?t.anchorOrigin:"top-left",this.l=void 0!==t.anchorXUnits?t.anchorXUnits:"fraction",this.o=void 0!==t.anchorYUnits?t.anchorYUnits:"fraction";var e=void 0!==t.crossOrigin?t.crossOrigin:null,o=void 0!==t.img?t.img:null,i=void 0!==t.imgSize?t.imgSize:null,r=t.src;void 0!==r&&0!==r.length||!o||(r=o.src||I(o).toString());var n=void 0!==t.src?0:2,s=op.Yb(),p=s.get(r,e);p||(p=new tp(o,r,i,e,n),s.set(r,e,p)),this.a=p,this.O=void 0!==t.offset?t.offset:[0,0],this.b=void 0!==t.offsetOrigin?t.offsetOrigin:"top-left",this.i=null,this.v=void 0!==t.size?t.size:null,_s.call(this,{opacity:void 0!==t.opacity?t.opacity:1,rotation:void 0!==t.rotation?t.rotation:0,scale:void 0!==t.scale?t.scale:1,snapToPixel:void 0===t.snapToPixel||t.snapToPixel,rotateWithView:void 0!==t.rotateWithView&&t.rotateWithView})}function tp(t,e,o,i,r){_t.call(this),this.g=null,this.a=t||new Image,null!==i&&(this.a.crossOrigin=i),this.c=null,this.f=r,this.b=o,this.i=e,this.l=!1,2==this.f&&ep(this)}function ep(t){var e=is(1,1);try{e.drawImage(t.a,0,0),e.getImageData(0,0,1,1)}catch(o){t.l=!0}}function op(){this.a={},this.f=0}function ip(t,e){Mt.call(this),this.i=e,this.c={},this.G={}}function rp(t){var e=t.viewState,o=t.coordinateToPixelMatrix;Gs(o,t.size[0]/2,t.size[1]/2,1/e.resolution,-1/e.resolution,-e.rotation,-e.center[0],-e.center[1]),Ce(o,t.pixelToCoordinateMatrix)}function np(){var t=op.Yb();if(32<t.f){var e,o,i=0;for(e in t.a){var r;o=t.a[e],(r=0==(3&i++))&&(Lt(o)?o=te(o,void 0,void 0):o=!!(o=qt(o))&&Ut(o,void 0,void 0),r=!o),r&&(delete t.a[e],--t.f)}}}function sp(t,e){var o=I(e).toString();if(o in t.c)return t.c[o];var i=t.hf(e);return t.c[o]=i,t.G[o]=Gt(i,"change",t.Hk,!1,t),i}function pp(t,e){for(var o in t.c)if(!(o in e.layerStates)){e.postRenderFunctions.push(g(t.Do,t));break}}function ap(t,e){return t.zIndex-e.zIndex}function hp(t,e){this.o=t,this.i=e,this.a=[],this.f=[],this.b={}}function lp(t){var e=t.a,o=t.f,i=e[0];return 1==e.length?(e.length=0,o.length=0):(e[0]=e.pop(),o[0]=o.pop(),up(t,0)),e=t.i(i),delete t.b[e],i}function up(t,e){for(var o=t.a,i=t.f,r=o.length,n=o[e],s=i[e],p=e;e<r>>1;){var a=2*e+1,h=2*e+2;a=h<r&&i[h]<i[a]?h:a;o[e]=o[a],i[e]=i[a],e=a}o[e]=n,i[e]=s,cp(t,p,e)}function cp(t,e,o){var i=t.a;t=t.f;for(var r=i[o],n=t[o];e<o;){var s=o-1>>1;if(!(t[s]>n))break;i[o]=i[s],t[o]=t[s],o=s}i[o]=r,t[o]=n}function yp(t){var e,o,i,r=t.o,n=t.a,s=t.f,p=0,a=n.length;for(o=0;o<a;++o)i=r(e=n[o]),Infinity==i?delete t.b[t.i(e)]:(s[p]=i,n[p++]=e);for(n.length=p,s.length=p,r=(t.a.length>>1)-1;0<=r;r--)up(t,r)}function fp(e,t){hp.call(this,function(t){return e.apply(null,t)},function(t){return t[0].$a()}),this.G=t,this.g=0,this.j={}}function gp(t,e,o){for(var i,r=0;t.g<e&&r<o&&0<t.qc();)0===(i=lp(t)[0]).state&&(i.load(),t.j[i.$a()]=!0,++t.g,++r)}function dp(t,e,o){this.c=t,this.b=e,this.i=o,this.a=[],this.f=this.g=0}function vp(t,e){var o=t.c,i=t.f,r=t.b-i,n=Math.log(t.b/t.f)/t.c;return Fi({source:e,duration:n,easing:function(t){return i*(Math.exp(o*t*n)-1)/r}})}function bp(t){re.call(this),this.B=null,this.g(!0),this.handleEvent=t.handleEvent}function mp(t,e,o,i,r){if(void 0!==o){var n=e.Fa(),s=e.Ua();void 0!==n&&s&&r&&0<r&&(t.Na(Ni({rotation:n,duration:r,easing:Ci})),i&&t.Na(Fi({source:s,duration:r,easing:Ci}))),e.rotate(o,i)}}function wp(t,e,o,i,r){var n=e.$();xp(t,e,o=e.constrainResolution(n,o,0),i,r)}function xp(t,e,o,i,r){if(o){var n,s=e.$(),p=e.Ua();if(void 0!==s&&p&&o!==s&&r&&0<r&&(t.Na(Di({resolution:s,duration:r,easing:Ci})),i&&t.Na(Fi({source:p,duration:r,easing:Ci}))),i)t=e.Ua(),r=e.$(),void 0!==t&&void 0!==r&&(n=[i[0]-o*(i[0]-t[0])/r,i[1]-o*(i[1]-t[1])/r]),e.kb(n);e.Ub(o)}}function Sp(t){t=t||{},this.a=t.delta?t.delta:1,bp.call(this,{handleEvent:Mp}),this.c=void 0!==t.duration?t.duration:250}function Mp(t){var e=!1,o=t.a;if(t.type==Fw){e=t.map;var i=t.coordinate;o=o.c?-this.a:this.a;wp(e,e.aa(),o,i,this.c),t.preventDefault(),e=!0}return!e}function Pp(t){return(t=t.a).f&&!t.l&&t.c}function Tp(t){return"pointermove"==t.type}function Ep(t){return t.type==Lw}function jp(t){return!(t=t.a).f&&!t.l&&!t.c}function Ap(t){return!(t=t.a).f&&!t.l&&t.c}function Rp(t){return"INPUT"!==(t=t.a.target.tagName)&&"SELECT"!==t&&"TEXTAREA"!==t}function Cp(t){return"mouse"==t.f.pointerType}function Ip(t){t=t||{},bp.call(this,{handleEvent:t.handleEvent?t.handleEvent:kp}),this.Cc=t.handleDownEvent?t.handleDownEvent:Fm,this.Yc=t.handleDragEvent?t.handleDragEvent:s,this.Xe=t.handleMoveEvent?t.handleMoveEvent:s,this.Ye=t.handleUpEvent?t.handleUpEvent:Fm,this.C=!1,this.fa={},this.j=[]}function Lp(t){for(var e=t.length,o=0,i=0,r=0;r<e;r++)o+=t[r].clientX,i+=t[r].clientY;return[o/e,i/e]}function kp(t){if(!(t instanceof As))return!0;var e=!1,o=t.type;return o!==Ow&&o!==Nw&&o!==Uw||(o=t.f,t.type==Uw?delete this.fa[o.pointerId]:t.type==Ow?this.fa[o.pointerId]=o:o.pointerId in this.fa&&(this.fa[o.pointerId]=o),this.j=lt(this.fa)),this.C&&(t.type==Nw?this.Yc(t):t.type==Uw&&(this.C=this.Ye(t))),t.type==Ow?(this.C=t=this.Cc(t),e=this.Ac(t)):t.type==Dw&&this.Xe(t),!e}function Fp(t){Ip.call(this,{handleDownEvent:Op,handleDragEvent:Np,handleUpEvent:Dp}),t=t||{},this.a=t.kinetic,this.c=this.l=null,this.v=t.condition?t.condition:jp,this.o=!1}function Np(t){var e=Lp(this.j);if(this.a&&this.a.a.push(e[0],e[1],Date.now()),this.c){var o=this.c[0]-e[0],i=e[1]-this.c[1],r=(t=t.map).aa(),n=Ei(r),s=(i=o=[o,i],n.resolution);i[0]*=s,i[1]*=s,ve(o,n.rotation),ce(o,n.center),o=r.Xd(o),t.render(),r.kb(o)}this.c=e}function Dp(t){var e,o=(t=t.map).aa();if(0!==this.j.length)return!(this.c=null);if(e=!this.o&&this.a)if((e=this.a).a.length<6)e=!1;else{
  var i=Date.now()-e.i,r=e.a.length-3;if(e.a[r+2]<i)e=!1;else{for(var n=r-3;0<n&&e.a[n+2]>i;)n-=3;i=e.a[r+2]-e.a[n+2];var s=e.a[r]-e.a[n];r=e.a[r+1]-e.a[n+1];e.g=Math.atan2(r,s),e.f=Math.sqrt(s*s+r*r)/i,e=e.f>e.b}}return e&&(e=((e=this.a).b-e.f)/e.c,r=this.a.g,n=o.Ua(),this.l=vp(this.a,n),t.Na(this.l),n=t.Pa(n),e=t.Ga([n[0]-e*Math.cos(r),n[1]-e*Math.sin(r)]),e=o.Xd(e),o.kb(e)),Ai(o,-1),t.render(),!1}function Op(t){if(0<this.j.length&&this.v(t)){var e=t.map,o=e.aa();return this.c=null,this.C||Ai(o,1),e.render(),this.l&&U(e.O,this.l)&&(o.kb(t.frameState.viewState.center),this.l=null),this.a&&((t=this.a).a.length=0,t.g=0,t.f=0),this.o=1<this.j.length,!0}return!1}function Up(t){t=t||{},Ip.call(this,{handleDownEvent:Xp,handleDragEvent:Bp,handleUpEvent:Gp}),this.c=t.condition?t.condition:Pp,this.a=void 0,this.l=void 0!==t.duration?t.duration:250}function Bp(t){if(Cp(t)){var e=t.map,o=e.Sa();if(t=t.pixel,o=Math.atan2(o[1]/2-t[1],t[0]-o[0]/2),void 0!==this.a){t=o-this.a;var i=e.aa(),r=i.Fa();e.render(),mp(e,i,r-t)}this.a=o}}function Gp(t){if(!Cp(t))return!0;var e=(t=t.map).aa();Ai(e,-1);var o=e.Fa(),i=this.l;return mp(t,e,o=e.constrainRotation(o,0),void 0,i),!1}function Xp(t){return!!(Cp(t)&&It(t.a)&&this.c(t))&&(Ai((t=t.map).aa(),1),t.render(),!(this.a=void 0))}function Kp(t){this.c=null,this.f=document.createElement("div"),this.f.style.position="absolute",this.f.className="ol-box "+t,this.b=this.g=this.a=null}function Yp(t){var e=t.g,o=t.b;(t=t.f.style).left=Math.min(e[0],o[0])+"px",t.top=Math.min(e[1],o[1])+"px",t.width=Math.abs(o[0]-e[0])+"px",t.height=Math.abs(o[1]-e[1])+"px"}function Vp(t){var e=t.g,o=t.b;(e=[e,[e[0],o[1]],o,[o[0],e[1]]].map(t.a.Ga,t.a))[4]=e[0].slice(),t.c?t.c.la([e]):t.c=new vi([e])}function Wp(t,e){Et.call(this,t),this.coordinate=e}function zp(t){Ip.call(this,{handleDownEvent:Jp,handleDragEvent:Zp,handleUpEvent:Hp}),t=t||{},this.c=new Kp(t.className||"ol-dragbox"),this.a=null,this.v=t.condition?t.condition:Nm}function Zp(t){if(Cp(t)){var e=this.c;t=t.pixel,e.g=this.a,e.b=t,Vp(e),Yp(e)}}function Hp(t){if(!Cp(t))return!0;this.c.setMap(null);var e=t.pixel[0]-this.a[0],o=t.pixel[1]-this.a[1];return 64<=e*e+o*o&&(this.o(t),this.s(new Wp("boxend",t.coordinate))),!1}function Jp(t){if(Cp(t)&&It(t.a)&&this.v(t)){this.a=t.pixel,this.c.setMap(t.map);var e=this.c,o=this.a;return e.g=this.a,e.b=o,Vp(e),Yp(e),this.s(new Wp("boxstart",t.coordinate)),!0}return!1}function qp(t){var e=(t=t||{}).condition?t.condition:Ap;this.l=void 0!==t.duration?t.duration:200,zp.call(this,{condition:e,className:t.className||"ol-dragzoom"})}function $p(t){bp.call(this,{handleEvent:_p}),t=t||{},this.a=void 0!==t.condition?t.condition:vo(jp,Rp),this.c=void 0!==t.duration?t.duration:100,this.j=void 0!==t.pixelDelta?t.pixelDelta:128}function _p(t){var e=!1;if("key"==t.type){var o=t.a.i;if(this.a(t)&&(40==o||37==o||39==o||38==o)){var i=t.map,r=(e=i.aa()).$()*this.j,n=0,s=0;40==o?s=-r:37==o?n=-r:39==o?n=r:s=r,ve(o=[n,s],e.Fa()),r=this.c,(n=e.Ua())&&(r&&0<r&&i.Na(Fi({source:n,duration:r,easing:Li})),i=e.Xd([n[0]+o[0],n[1]+o[1]]),e.kb(i)),t.preventDefault(),e=!0}}return!e}function Qp(t){bp.call(this,{handleEvent:ta}),t=t||{},this.c=t.condition?t.condition:Rp,this.a=t.delta?t.delta:1,this.j=void 0!==t.duration?t.duration:100}function ta(t){var e=!1;if("key"==t.type){var o=t.a.G;if(this.c(t)&&(43==o||45==o))e=t.map,o=43==o?this.a:-this.a,e.render(),wp(e,e.aa(),o,void 0,this.j),t.preventDefault(),e=!0}return!e}function ea(t){bp.call(this,{handleEvent:oa}),t=t||{},this.c=0,this.C=void 0!==t.duration?t.duration:250,this.o=void 0===t.useAnchor||t.useAnchor,this.a=null,this.l=this.j=void 0}function oa(t){var e=!1;if("mousewheel"==t.type){e=t.map;var o=t.a;this.o&&(this.a=t.coordinate),this.c+=o.v,void 0===this.j&&(this.j=Date.now()),o=Math.max(80-(Date.now()-this.j),0),Wb.clearTimeout(this.l),this.l=Wb.setTimeout(g(this.v,this,e),o),t.preventDefault(),e=!0}return!e}function ia(t){Ip.call(this,{handleDownEvent:sa,handleDragEvent:ra,handleUpEvent:na}),t=t||{},this.c=null,this.l=void 0,this.a=!1,this.o=0,this.D=void 0!==t.threshold?t.threshold:.3,this.v=void 0!==t.duration?t.duration:250}function ra(t){var e=0,o=this.j[0],i=this.j[1];o=Math.atan2(i.clientY-o.clientY,i.clientX-o.clientX);void 0!==this.l&&(e=o-this.l,this.o+=e,!this.a&&Math.abs(this.o)>this.D&&(this.a=!0)),this.l=o,o=Ir((t=t.map).a),(i=Lp(this.j))[0]-=o.x,i[1]-=o.y,this.c=t.Ga(i),this.a&&(i=(o=t.aa()).Fa(),t.render(),mp(t,o,i+e,this.c))}function na(t){if(this.j.length<2){var e=(t=t.map).aa();if(Ai(e,-1),this.a){var o=e.Fa(),i=this.c,r=this.v;mp(t,e,o=e.constrainRotation(o,0),i,r)}return!1}return!0}function sa(t){return 2<=this.j.length&&(t=t.map,this.c=null,this.l=void 0,this.a=!1,this.o=0,this.C||Ai(t.aa(),1),t.render(),!0)}function pa(t){Ip.call(this,{handleDownEvent:la,handleDragEvent:aa,handleUpEvent:ha}),t=t||{},this.c=null,this.o=void 0!==t.duration?t.duration:400,this.a=void 0,this.l=1}function aa(t){var e=1,o=this.j[0],i=this.j[1],r=o.clientX-i.clientX;o=o.clientY-i.clientY,r=Math.sqrt(r*r+o*o);void 0!==this.a&&(e=this.a/r),this.a=r,1!=e&&(this.l=e);o=(r=(t=t.map).aa()).$(),i=Ir(t.a);var n=Lp(this.j);n[0]-=i.x,n[1]-=i.y,this.c=t.Ga(n),t.render(),xp(t,r,o*e,this.c)}function ha(t){if(this.j.length<2){var e=(t=t.map).aa();Ai(e,-1);var o=e.$(),i=this.c,r=this.o;return xp(t,e,o=e.constrainResolution(o,0,this.l-1),i,r),!1}return!0}function la(t){return 2<=this.j.length&&(t=t.map,this.c=null,this.a=void 0,this.l=1,this.C||Ai(t.aa(),1),t.render(),!0)}function ua(t){t=t||{};var e=new qi,o=new dp(-.005,.05,100);return(void 0===t.altShiftDragRotate||t.altShiftDragRotate)&&e.push(new Up),(void 0===t.doubleClickZoom||t.doubleClickZoom)&&e.push(new Sp({delta:t.zoomDelta,duration:t.zoomDuration})),(void 0===t.dragPan||t.dragPan)&&e.push(new Fp({kinetic:o})),(void 0===t.pinchRotate||t.pinchRotate)&&e.push(new ia),(void 0===t.pinchZoom||t.pinchZoom)&&e.push(new pa({duration:t.zoomDuration})),(void 0===t.keyboard||t.keyboard)&&(e.push(new $p),e.push(new Qp({delta:t.zoomDelta,duration:t.zoomDuration}))),(void 0===t.mouseWheelZoom||t.mouseWheelZoom)&&e.push(new ea({duration:t.zoomDuration})),(void 0===t.shiftDragZoom||t.shiftDragZoom)&&e.push(new qp({duration:t.zoomDuration})),e}function ca(t){var e=t||{};delete(t=vt(e)).layers,e=e.layers,Ls.call(this,t),this.b=[],this.a={},Gt(this,ne("layers"),this.Jk,!1,this),e?d(e)&&(e=new qi(e.slice())):e=new qi,this.ih(e)}function ya(t){mo.call(this,{code:t,units:"m",extent:Kw,global:!0,worldExtent:Yw})}function fa(t,e,o){var i=t.length;o=1<o?o:2,void 0===e&&(e=2<o?t.slice():Array(i));for(var r=0;r<i;r+=o)e[r]=6378137*Math.PI*t[r]/180,e[r+1]=6378137*Math.log(Math.tan(Math.PI*(t[r+1]+90)/360));return e}function ga(t,e,o){var i=t.length;o=1<o?o:2,void 0===e&&(e=2<o?t.slice():Array(i));for(var r=0;r<i;r+=o)e[r]=180*t[r]/(6378137*Math.PI),e[r+1]=360*Math.atan(Math.exp(t[r+1]/6378137))/Math.PI-90;return e}function da(t,e){mo.call(this,{code:t,units:"degrees",extent:Ww,axisOrientation:e,global:!0,worldExtent:Ww})}function va(){xo(Vw),xo(zw),So()}function ba(t){Ds.call(this,t||{})}function ma(t){var e=vt(t=t||{});delete e.preload,delete e.useInterimTilesOnError,Ds.call(this,e),this.c(void 0!==t.preload?t.preload:0),this.g(void 0===t.useInterimTilesOnError||t.useInterimTilesOnError)}function wa(t){t=t||{},this.a=void 0!==t.color?t.color:null,this.f=void 0}function xa(){this.f=-1}function Sa(){this.f=-1,this.f=64,this.a=Array(4),this.g=Array(this.f),this.c=this.b=0,this.reset()}function Ma(t,e,o){o||(o=0);var i=Array(16);if(c(e))for(var r=0;r<16;++r)i[r]=e.charCodeAt(o++)|e.charCodeAt(o++)<<8|e.charCodeAt(o++)<<16|e.charCodeAt(o++)<<24;else for(r=0;r<16;++r)i[r]=e[o++]|e[o++]<<8|e[o++]<<16|e[o++]<<24;e=t.a[0],o=t.a[1];r=t.a[2];var n=t.a[3],s=0;s=(o=(r=(n=(e=(o=(r=(n=(e=(o=(r=(n=(e=(o=(r=(n=(e=(o=(r=(n=(e=(o=(r=(n=(e=(o=(r=(n=(e=(o=(r=(n=(e=(o=(r=(n=(e=(o=(r=(n=(e=(o=(r=(n=(e=(o=(r=(n=(e=(o=(r=(n=(e=(o=(r=(n=(e=(o=(r=(n=(e=o+((s=e+(n^o&(r^n))+i[0]+3614090360&4294967295)<<7&4294967295|s>>>25))+((s=n+(r^e&(o^r))+i[1]+3905402710&4294967295)<<12&4294967295|s>>>20))+((s=r+(o^n&(e^o))+i[2]+606105819&4294967295)<<17&4294967295|s>>>15))+((s=o+(e^r&(n^e))+i[3]+3250441966&4294967295)<<22&4294967295|s>>>10))+((s=e+(n^o&(r^n))+i[4]+4118548399&4294967295)<<7&4294967295|s>>>25))+((s=n+(r^e&(o^r))+i[5]+1200080426&4294967295)<<12&4294967295|s>>>20))+((s=r+(o^n&(e^o))+i[6]+2821735955&4294967295)<<17&4294967295|s>>>15))+((s=o+(e^r&(n^e))+i[7]+4249261313&4294967295)<<22&4294967295|s>>>10))+((s=e+(n^o&(r^n))+i[8]+1770035416&4294967295)<<7&4294967295|s>>>25))+((s=n+(r^e&(o^r))+i[9]+2336552879&4294967295)<<12&4294967295|s>>>20))+((s=r+(o^n&(e^o))+i[10]+4294925233&4294967295)<<17&4294967295|s>>>15))+((s=o+(e^r&(n^e))+i[11]+2304563134&4294967295)<<22&4294967295|s>>>10))+((s=e+(n^o&(r^n))+i[12]+1804603682&4294967295)<<7&4294967295|s>>>25))+((s=n+(r^e&(o^r))+i[13]+4254626195&4294967295)<<12&4294967295|s>>>20))+((s=r+(o^n&(e^o))+i[14]+2792965006&4294967295)<<17&4294967295|s>>>15))+((s=o+(e^r&(n^e))+i[15]+1236535329&4294967295)<<22&4294967295|s>>>10))+((s=e+(r^n&(o^r))+i[1]+4129170786&4294967295)<<5&4294967295|s>>>27))+((s=n+(o^r&(e^o))+i[6]+3225465664&4294967295)<<9&4294967295|s>>>23))+((s=r+(e^o&(n^e))+i[11]+643717713&4294967295)<<14&4294967295|s>>>18))+((s=o+(n^e&(r^n))+i[0]+3921069994&4294967295)<<20&4294967295|s>>>12))+((s=e+(r^n&(o^r))+i[5]+3593408605&4294967295)<<5&4294967295|s>>>27))+((s=n+(o^r&(e^o))+i[10]+38016083&4294967295)<<9&4294967295|s>>>23))+((s=r+(e^o&(n^e))+i[15]+3634488961&4294967295)<<14&4294967295|s>>>18))+((s=o+(n^e&(r^n))+i[4]+3889429448&4294967295)<<20&4294967295|s>>>12))+((s=e+(r^n&(o^r))+i[9]+568446438&4294967295)<<5&4294967295|s>>>27))+((s=n+(o^r&(e^o))+i[14]+3275163606&4294967295)<<9&4294967295|s>>>23))+((s=r+(e^o&(n^e))+i[3]+4107603335&4294967295)<<14&4294967295|s>>>18))+((s=o+(n^e&(r^n))+i[8]+1163531501&4294967295)<<20&4294967295|s>>>12))+((s=e+(r^n&(o^r))+i[13]+2850285829&4294967295)<<5&4294967295|s>>>27))+((s=n+(o^r&(e^o))+i[2]+4243563512&4294967295)<<9&4294967295|s>>>23))+((s=r+(e^o&(n^e))+i[7]+1735328473&4294967295)<<14&4294967295|s>>>18))+((s=o+(n^e&(r^n))+i[12]+2368359562&4294967295)<<20&4294967295|s>>>12))+((s=e+(o^r^n)+i[5]+4294588738&4294967295)<<4&4294967295|s>>>28))+((s=n+(e^o^r)+i[8]+2272392833&4294967295)<<11&4294967295|s>>>21))+((s=r+(n^e^o)+i[11]+1839030562&4294967295)<<16&4294967295|s>>>16))+((s=o+(r^n^e)+i[14]+4259657740&4294967295)<<23&4294967295|s>>>9))+((s=e+(o^r^n)+i[1]+2763975236&4294967295)<<4&4294967295|s>>>28))+((s=n+(e^o^r)+i[4]+1272893353&4294967295)<<11&4294967295|s>>>21))+((s=r+(n^e^o)+i[7]+4139469664&4294967295)<<16&4294967295|s>>>16))+((s=o+(r^n^e)+i[10]+3200236656&4294967295)<<23&4294967295|s>>>9))+((s=e+(o^r^n)+i[13]+681279174&4294967295)<<4&4294967295|s>>>28))+((s=n+(e^o^r)+i[0]+3936430074&4294967295)<<11&4294967295|s>>>21))+((s=r+(n^e^o)+i[3]+3572445317&4294967295)<<16&4294967295|s>>>16))+((s=o+(r^n^e)+i[6]+76029189&4294967295)<<23&4294967295|s>>>9))+((s=e+(o^r^n)+i[9]+3654602809&4294967295)<<4&4294967295|s>>>28))+((s=n+(e^o^r)+i[12]+3873151461&4294967295)<<11&4294967295|s>>>21))+((s=r+(n^e^o)+i[15]+530742520&4294967295)<<16&4294967295|s>>>16))+((s=o+(r^n^e)+i[2]+3299628645&4294967295)<<23&4294967295|s>>>9))+((s=e+(r^(o|~n))+i[0]+4096336452&4294967295)<<6&4294967295|s>>>26))+((s=n+(o^(e|~r))+i[7]+1126891415&4294967295)<<10&4294967295|s>>>22))+((s=r+(e^(n|~o))+i[14]+2878612391&4294967295)<<15&4294967295|s>>>17))+((s=o+(n^(r|~e))+i[5]+4237533241&4294967295)<<21&4294967295|s>>>11))+((s=e+(r^(o|~n))+i[12]+1700485571&4294967295)<<6&4294967295|s>>>26))+((s=n+(o^(e|~r))+i[3]+2399980690&4294967295)<<10&4294967295|s>>>22))+((s=r+(e^(n|~o))+i[10]+4293915773&4294967295)<<15&4294967295|s>>>17))+((s=o+(n^(r|~e))+i[1]+2240044497&4294967295)<<21&4294967295|s>>>11))+((s=e+(r^(o|~n))+i[8]+1873313359&4294967295)<<6&4294967295|s>>>26))+((s=n+(o^(e|~r))+i[15]+4264355552&4294967295)<<10&4294967295|s>>>22))+((s=r+(e^(n|~o))+i[6]+2734768916&4294967295)<<15&4294967295|s>>>17))+((s=o+(n^(r|~e))+i[13]+1309151649&4294967295)<<21&4294967295|s>>>11))+((n=(e=o+((s=e+(r^(o|~n))+i[4]+4149444226&4294967295)<<6&4294967295|s>>>26))+((s=n+(o^(e|~r))+i[11]+3174756917&4294967295)<<10&4294967295|s>>>22))^((r=n+((s=r+(e^(n|~o))+i[2]+718787259&4294967295)<<15&4294967295|s>>>17))|~e))+i[9]+3951481745&4294967295,t.a[0]=t.a[0]+e&4294967295,t.a[1]=t.a[1]+(r+(s<<21&4294967295|s>>>11))&4294967295,t.a[2]=t.a[2]+r&4294967295,t.a[3]=t.a[3]+n&4294967295}function Pa(t,e){var o;h(o)||(o=e.length);for(var i=o-t.f,r=t.g,n=t.b,s=0;s<o;){if(0==n)for(;s<=i;)Ma(t,e,s),s+=t.f;if(c(e)){for(;s<o;)if(r[n++]=e.charCodeAt(s++),n==t.f){Ma(t,r),n=0;break}}else for(;s<o;)if(r[n++]=e[s++],n==t.f){Ma(t,r),n=0;break}}t.b=n,t.c+=o}function Ta(t){t=t||{},this.a=void 0!==t.color?t.color:null,this.c=t.lineCap,this.b=void 0!==t.lineDash?t.lineDash:null,this.g=t.lineJoin,this.i=t.miterLimit,this.f=t.width,this.j=void 0}function Ea(t){t=t||{},this.i=this.a=this.g=null,this.c=void 0!==t.fill?t.fill:null,this.f=void 0!==t.stroke?t.stroke:null,this.b=t.radius,this.v=[0,0],this.o=this.O=this.l=null;var e,o,i=t.atlasManager,r=null,n=0;this.f&&(o=Qi(this.f.a),void 0===(n=this.f.f)&&(n=1),r=this.f.b,yw||(r=null));var s=2*(this.b+n)+1;o={strokeStyle:o,Id:n,size:s,lineDash:r},void 0===i?(this.a=document.createElement("CANVAS"),this.a.height=s,this.a.width=s,e=s=this.a.width,i=this.a.getContext("2d"),this.vh(o,i,0,0),this.c?this.i=this.a:((i=this.i=document.createElement("CANVAS")).height=o.size,i.width=o.size,i=i.getContext("2d"),this.uh(o,i,0,0))):(s=Math.round(s),(r=!this.c)&&(e=g(this.uh,this,o)),n=this.Jb(),o=i.add(n,s,s,g(this.vh,this,o),e),this.a=o.image,this.v=[o.offsetX,o.offsetY],e=o.image.width,this.i=r?o.Og:this.a),this.l=[s/2,s/2],this.O=[s,s],this.o=[e,e],_s.call(this,{opacity:1,rotateWithView:!1,rotation:0,scale:1,snapToPixel:void 0===t.snapToPixel||t.snapToPixel})}function ja(t){t=t||{},this.i=null,this.c=Ia,void 0!==t.geometry&&this.yh(t.geometry),this.g=void 0!==t.fill?t.fill:null,this.f=void 0!==t.image?t.image:null,this.b=void 0!==t.stroke?t.stroke:null,this.j=void 0!==t.text?t.text:null,this.a=t.zIndex}function Aa(t){var e;y(t)||(e=d(t)?t:[t],t=function(){return e});return t}function Ra(){if(!qw){var t=new wa({color:"rgba(255,255,255,0.4)"}),e=new Ta({color:"#3399CC",width:1.25});qw=[new ja({image:new Ea({fill:t,stroke:e,radius:5}),fill:t,stroke:e})]}return qw}function Ca(){var t={},e=[255,255,255,1],o=[0,153,255,1];return t.Polygon=[new ja({fill:new wa({color:[255,255,255,.5]})})],t.MultiPolygon=t.Polygon,t.LineString=[new ja({stroke:new Ta({color:e,width:5})}),new ja({stroke:new Ta({color:o,width:3})})],t.MultiLineString=t.LineString,t.Circle=t.Polygon.concat(t.LineString),t.Point=[new ja({image:new Ea({radius:6,fill:new wa({color:o}),stroke:new Ta({color:e,width:1.5})}),zIndex:Infinity})],t.MultiPoint=t.Point,t.GeometryCollection=t.Polygon.concat(t.LineString,t.Point),t}function Ia(t){return t.X()}function La(t){var e=vt(t=t||{});delete e.style,delete e.renderBuffer,delete e.updateWhileAnimating,delete e.updateWhileInteracting,Ds.call(this,e),this.a=void 0!==t.renderBuffer?t.renderBuffer:100,this.v=null,this.b=void 0,this.c(t.style),this.j=void 0!==t.updateWhileAnimating&&t.updateWhileAnimating,this.l=void 0!==t.updateWhileInteracting&&t.updateWhileInteracting}function ka(t){return t.get("renderOrder")}function Fa(t){var e=vt(t=t||{});delete e.preload,delete e.useInterimTilesOnError,La.call(this,e),this.T(t.preload?t.preload:0),this.V(!t.useInterimTilesOnError||t.useInterimTilesOnError)}function Na(t,e,o,i,r){this.v={},this.b=t,this.D=e,this.g=o,this.na=i,this.Yc=r,this.i=this.a=this.f=this.gb=this.oa=this.ga=null,this.wa=this.pa=this.B=this.T=this.U=this.va=0,this.hb=!1,this.j=this.Db=0,this.Eb=!1,this.V=0,this.c="",this.o=this.O=this.Od=this.nc=0,this.fa=this.G=this.l=null,this.C=[],this.Cc=Pe()}function Da(t,e,o){if(t.i){e=Uo(e,0,o,2,t.na,t.C),o=t.b;var i=t.Cc,r=o.globalAlpha;1!=t.B&&(o.globalAlpha=r*t.B);var n,s,p=t.Db;for(t.hb&&(p+=t.Yc),n=0,s=e.length;n<s;n+=2){var a=e[n]-t.va,h=e[n+1]-t.U;if(t.Eb&&(a=a+.5|0,h=h+.5|0),0!==p||1!=t.j){var l=a+t.va,u=h+t.U;Gs(i,l,u,t.j,t.j,p,-l,-u),o.setTransform(i[0],i[1],i[4],i[5],i[12],i[13])}o.drawImage(t.i,t.pa,t.wa,t.V,t.T,a,h,t.V,t.T)}0===p&&1==t.j||o.setTransform(1,0,0,1,0,0),1!=t.B&&(o.globalAlpha=r)}}function Oa(t,e,o,i){var r=0;if(t.fa&&""!==t.c){t.l&&Xa(t,t.l),t.G&&Ka(t,t.G);var n=t.fa,s=t.b,p=t.gb;for(p?(p.font!=n.font&&(p.font=s.font=n.font),p.textAlign!=n.textAlign&&(p.textAlign=s.textAlign=n.textAlign),p.textBaseline!=n.textBaseline&&(p.textBaseline=s.textBaseline=n.textBaseline)):(s.font=n.font,s.textAlign=n.textAlign,s.textBaseline=n.textBaseline,t.gb={font:n.font,textAlign:n.textAlign,textBaseline:n.textBaseline}),e=Uo(e,r,o,i,t.na,t.C),n=t.b;r<o;r+=i){if(s=e[r]+t.nc,p=e[r+1]+t.Od,0!==t.O||1!=t.o){var a=Gs(t.Cc,s,p,t.o,t.o,t.O,-s,-p);n.setTransform(a[0],a[1],a[4],a[5],a[12],a[13])}t.G&&n.strokeText(t.c,s,p),t.l&&n.fillText(t.c,s,p)}0===t.O&&1==t.o||n.setTransform(1,0,0,1,0,0)}}function Ua(t,e,o,i,r,n){var s=t.b;for(t=Uo(e,o,i,r,t.na,t.C),s.moveTo(t[0],t[1]),e=2;e<t.length;e+=2)s.lineTo(t[e],t[e+1]);return n&&s.lineTo(t[0],t[1]),i}function Ba(t,e,o,i,r){var n,s,p=t.b;for(n=0,s=i.length;n<s;++n)o=Ua(t,e,o,i[n],r,!0),p.closePath();return o}function Ga(t){var e,o,i,r,n,s=Object.keys(t.v).map(Number);for(s.sort(q),e=0,o=s.length;e<o;++e)for(r=0,n=(i=t.v[s[e].toString()]).length;r<n;++r)i[r](t)}function Xa(t,e){var o=t.b,i=t.ga;i?i.fillStyle!=e.fillStyle&&(i.fillStyle=o.fillStyle=e.fillStyle):(o.fillStyle=e.fillStyle,t.ga={fillStyle:e.fillStyle})}function Ka(t,e){var o=t.b,i=t.oa;i?(i.lineCap!=e.lineCap&&(i.lineCap=o.lineCap=e.lineCap),yw&&!z(i.lineDash,e.lineDash)&&o.setLineDash(i.lineDash=e.lineDash),i.lineJoin!=e.lineJoin&&(i.lineJoin=o.lineJoin=e.lineJoin),i.lineWidth!=e.lineWidth&&(i.lineWidth=o.lineWidth=e.lineWidth),i.miterLimit!=e.miterLimit&&(i.miterLimit=o.miterLimit=e.miterLimit),i.strokeStyle!=e.strokeStyle&&(i.strokeStyle=o.strokeStyle=e.strokeStyle)):(o.lineCap=e.lineCap,yw&&o.setLineDash(e.lineDash),o.lineJoin=e.lineJoin,o.lineWidth=e.lineWidth,o.miterLimit=e.miterLimit,o.strokeStyle=e.strokeStyle,t.oa={lineCap:e.lineCap,lineDash:e.lineDash,lineJoin:e.lineJoin,lineWidth:e.lineWidth,miterLimit:e.miterLimit,strokeStyle:e.strokeStyle})}function Ya(t){Ys.call(this,t),this.O=Pe()}function Va(t,e,o,i,r){var n=t.a;te(n,e)&&(t=void 0!==r?r:Wa(t,i,0),t=new Na(o,i.pixelRatio,i.extent,t,i.viewState.rotation),n.s(new Ns(e,n,t,i,o,null)),Ga(t))}function Wa(t,e,o){var i=e.viewState,r=e.pixelRatio;return Gs(t.O,r*e.size[0]/2,r*e.size[1]/2,r/i.resolution,-r/i.resolution,-i.rotation,-i.center[0]+o,-i.center[1])}function za(t,e){var o=[0,0];return Ks(e,t,o),o}function Za(t,e,o){this.gb=t,this.V=e,this.c=null,this.g=0,this.resolution=o,this.U=this.va=null,this.f=[],this.coordinates=[],this.ga=Pe(),this.a=[],this.fa=[],this.oa=Pe()}function Ha(t,e,o,i,r,n){var s,p,a,h=t.coordinates.length,l=t.lf(),u=[e[o],e[o+1]],c=[NaN,NaN],y=!0;for(s=o+r;s<i;s+=r)c[0]=e[s],c[1]=e[s+1],(a=Ke(l,c))!==p?(y&&(t.coordinates[h++]=u[0],t.coordinates[h++]=u[1]),t.coordinates[h++]=c[0],t.coordinates[h++]=c[1],y=!1):1===a?(t.coordinates[h++]=c[0],t.coordinates[h++]=c[1],y=!1):y=!0,u[0]=c[0],u[1]=c[1],p=a;return s===o+r&&(t.coordinates[h++]=u[0],t.coordinates[h++]=u[1]),n&&(t.coordinates[h++]=e[o],t.coordinates[h++]=e[o+1]),h}function Ja(t,e){t.va=[0,e,0],t.f.push(t.va),t.U=[0,e,0],t.a.push(t.U)}function qa(t,e,o,i,r,n,s,p,a){var h;Xs(i,t.ga)?h=t.fa:(h=Uo(t.coordinates,0,t.coordinates.length,2,i,t.fa),je(t.ga,i)),i=!yt(n);var l,u,c,y,f,g=0,d=s.length,v=0;for(t=t.oa;g<d;){var b,m,w,x,S=s[g];switch(S[0]){case 0:v=S[1],i&&n[I(v).toString()]||!v.X()?g=S[2]:void 0===a||ao(a,v.X().J())?++g:g=S[2];break;case 1:e.beginPath(),++g;break;case 2:l=h[v=S[1]],S=h[v+1],y=h[v+2]-l,v=h[v+3]-S,e.arc(l,S,Math.sqrt(y*y+v*v),0,2*Math.PI,!0),++g;break;case 3:e.closePath(),++g;break;case 4:v=S[1],l=S[2],b=S[3],w=S[4]*o;var M=S[5]*o,P=S[6];m=S[7];var T=S[8],E=S[9];y=S[11],f=S[12];var j=S[13],A=S[14];for(S[10]&&(y+=r);v<l;v+=2){if(S=h[v]-w,x=h[v+1]-M,j&&(S=S+.5|0,x=x+.5|0),1!=f||0!==y){var R=S+w,C=x+M;Gs(t,R,C,f,f,y,-R,-C),e.setTransform(t[0],t[1],t[4],t[5],t[12],t[13])}R=e.globalAlpha,1!=m&&(e.globalAlpha=R*m),e.drawImage(b,T,E,A,P,S,x,A*o,P*o),1!=m&&(e.globalAlpha=R),1==f&&0===y||e.setTransform(1,0,0,1,0,0)}++g;break;case 5:for(v=S[1],l=S[2],w=S[3],M=S[4]*o,P=S[5]*o,y=S[6],f=S[7]*o,b=S[8],m=S[9];v<l;v+=2){for(S=h[v]+M,x=h[v+1]+P,1==f&&0===y||(Gs(t,S,x,f,f,y,-S,-x),e.setTransform(t[0],t[1],t[4],t[5],t[12],t[13])),1<(E=(T=w.split("\n")).length)?x-=(E-1)/2*(j=Math.round(1.5*e.measureText("M").width)):j=0,A=0;A<E;A++)R=T[A],m&&e.strokeText(R,S,x),b&&e.fillText(R,S,x),x+=j;1==f&&0===y||e.setTransform(1,0,0,1,0,0)}++g;break;case 6:if(void 0!==p&&(v=p(v=S[1])))return v;++g;break;case 7:e.fill(),++g;break;case 8:for(v=S[1],l=S[2],S=h[v],f=(x=h[v+1])+.5|0,(y=S+.5|0)===u&&f===c||(e.moveTo(S,x),u=y,c=f),v+=2;v<l;v+=2)S=h[v],f=(x=h[v+1])+.5|0,((y=S+.5|0)!==u||f!==c)&&(e.lineTo(S,x),u=y,c=f);++g;break;case 9:e.fillStyle=S[1],++g;break;case 10:u=void 0===S[7]||S[7],c=S[2],e.strokeStyle=S[1],e.lineWidth=u?c*o:c,e.lineCap=S[3],e.lineJoin=S[4],e.miterLimit=S[5],yw&&e.setLineDash(S[6]),c=u=NaN,++g;break;case 11:e.font=S[1],e.textAlign=S[2],e.textBaseline=S[3],++g;break;case 12:e.stroke(),++g;break;default:++g}}}function $a(t){var e=t.a;e.reverse();var o,i,r,n=e.length,s=-1;for(o=0;o<n;++o)if(6==(r=(i=e[o])[0]))s=o;else if(0==r){for(i[2]=o,i=t.a,r=o;s<r;){var p=i[s];i[s]=i[r],i[r]=p,++s,--r}s=-1}}function _a(t,e){t.va[2]=t.f.length,t.va=null,t.U[2]=t.a.length,t.U=null;var o=[6,e];t.f.push(o),t.a.push(o)}function Qa(t,e,o){Za.call(this,t,e,o),this.l=this.T=null,this.na=this.O=this.D=this.C=this.v=this.B=this.G=this.o=this.j=this.i=this.b=void 0}function th(t,e,o){Za.call(this,t,e,o),this.b={jd:void 0,dd:void 0,ed:null,fd:void 0,gd:void 0,hd:void 0,sf:0,strokeStyle:void 0,lineCap:void 0,lineDash:null,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0}}function eh(t,e,o,i,r){var n=t.coordinates.length;return n=[8,n,e=Ha(t,e,o,i,r,!1)],t.f.push(n),t.a.push(n),i}function oh(t){var e=t.b,o=e.strokeStyle,i=e.lineCap,r=e.lineDash,n=e.lineJoin,s=e.lineWidth,p=e.miterLimit;e.jd==o&&e.dd==i&&z(e.ed,r)&&e.fd==n&&e.gd==s&&e.hd==p||(e.sf!=t.coordinates.length&&(t.f.push([12]),e.sf=t.coordinates.length),t.f.push([10,o,s,i,n,p,r],[1]),e.jd=o,e.dd=i,e.ed=r,e.fd=n,e.gd=s,e.hd=p)}function ih(t,e,o){Za.call(this,t,e,o),this.b={qg:void 0,jd:void 0,dd:void 0,ed:null,fd:void 0,gd:void 0,hd:void 0,fillStyle:void 0,strokeStyle:void 0,lineCap:void 0,lineDash:null,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0}}function rh(t,e,o,i,r){var n=t.b,s=[1];t.f.push(s),t.a.push(s);var p;s=0;for(p=i.length;s<p;++s){var a=i[s],h=t.coordinates.length;o=[8,h,o=Ha(t,e,o,a,r,!0)],h=[3],t.f.push(o,h),t.a.push(o,h),o=a}return e=[7],t.a.push(e),void 0!==n.fillStyle&&t.f.push(e),void 0!==n.strokeStyle&&(n=[12],t.f.push(n),t.a.push(n)),o}function nh(t){var e=t.b,o=e.fillStyle,i=e.strokeStyle,r=e.lineCap,n=e.lineDash,s=e.lineJoin,p=e.lineWidth,a=e.miterLimit;void 0!==o&&e.qg!=o&&(t.f.push([9,o]),e.qg=e.fillStyle),void 0===i||e.jd==i&&e.dd==r&&e.ed==n&&e.fd==s&&e.gd==p&&e.hd==a||(t.f.push([10,i,p,r,s,a,n]),e.jd=i,e.dd=r,e.ed=n,e.fd=s,e.gd=p,e.hd=a)}function sh(t,e,o){Za.call(this,t,e,o),this.O=this.D=this.C=null,this.l="",this.v=this.B=this.G=this.o=0,this.j=this.i=this.b=null}function ph(t,e,o,i){this.G=t,this.g=e,this.o=o,this.i=i,this.f={},this.j=is(1,1),this.l=Pe()}function ah(t){for(var e in t.f){var o,i=t.f[e];for(o in i)i[o].we()}}function hh(t,e,o,i,r,n,s){var p,a,h,l,u,c=Object.keys(t.f).map(Number);for(c.sort(function(t,e){return e-t}),p=0,a=c.length;p<a;++p)for(l=t.f[c[p].toString()],h=ex.length-1;0<=h;--h)if(void 0!==(u=l[ex[h]])&&(u=qa(u,e,1,o,i,r,u.a,n,s)))return u}function lh(t,e,o,i){this.b=t,this.a=e,this.g=o,this.c=i}function uh(t,e){return I(t)-I(e)}function ch(t,e){var o=.5*t/e;return o*o}function yh(t,e,o,i,r,n){var s,p,a=!1;return(s=o.f)&&(2==(p=s.Cd())||3==p?s.Xf(r,n):(0==p&&s.load(),s.tf(r,n),a=!0)),(r=(0,o.c)(e))&&(i=r.td(i),(0,ix[i.W()])(t,i,o,e)),a}function fh(t,e,o,i,r,n){this.g=void 0!==n?n:null,Us.call(this,t,e,o,void 0!==n?0:2,i),this.c=r,this.f=null}function gh(t,e,o,i){var r=No(o,e,t);return o=e.getPointResolution(i,o),void 0!==(e=e.Kc())&&(o*=e),void 0!==(e=t.Kc())&&(o/=e),t=t.getPointResolution(o,r)/o,isFinite(t)&&!isNaN(t)&&0<t&&(o/=t),o}function dh(t,e,o,i){t=o-t,e=i-e;var r=Math.sqrt(t*t+e*e);return[Math.round(o+t/r),Math.round(i+e/r)]}function vh(t,e,g,d,o,v,i,r,n,s){var b=is(Math.round(g*t),Math.round(g*e));if(0===n.length)return b.canvas;b.scale(g,g);var m=Ye();n.forEach(function(t){He(m,t.extent)});var w=is(Math.round(g*po(m)/d),Math.round(g*io(m)/d));w.scale(g/d,g/d),w.translate(-m[0],m[3]),n.forEach(function(t){w.drawImage(t.image,t.extent[0],-t.extent[3],po(t.extent),io(t.extent))});var x=no(i);return r.c.forEach(function(t){var e=t.source,o=t.target,i=e[1][0],r=e[1][1],n=e[2][0],s=e[2][1];t=(o[0][0]-x[0])/v;var p=-(o[0][1]-x[1])/v,a=(o[1][0]-x[0])/v,h=-(o[1][1]-x[1])/v,l=(o[2][0]-x[0])/v,u=-(o[2][1]-x[1])/v;t:{for(r=(i=[[i=i-(o=e[0][0]),r=r-(e=e[0][1]),0,0,a-t],[n=n-o,s=s-e,0,0,l-t],[0,0,i,r,h-p],[0,0,n,s,u-p]]).length,n=0;n<r;n++){s=n;for(var c=Math.abs(i[n][n]),y=n+1;y<r;y++){var f=Math.abs(i[y][n]);c<f&&(c=f,s=y)}if(0===c){i=null;break t}for(c=i[s],i[s]=i[n],i[n]=c,s=n+1;s<r;s++)for(c=-i[s][n]/i[n][n],y=n;y<r+1;y++)i[s][y]=n==y?0:i[s][y]+c*i[n][y]}for(n=Array(r),s=r-1;0<=s;s--)for(n[s]=i[s][r]/i[s][s],c=s-1;0<=c;c--)i[c][r]-=i[c][s]*n[s];i=n}i&&(b.save(),b.beginPath(),rx?(r=dh(n=(t+a+l)/3,s=(p+h+u)/3,t,p),a=dh(n,s,a,h),l=dh(n,s,l,u),b.moveTo(r[0],r[1]),b.lineTo(a[0],a[1]),b.lineTo(l[0],l[1])):(b.moveTo(t,p),b.lineTo(a,h),b.lineTo(l,u)),b.closePath(),b.clip(),b.transform(i[0],i[2],i[1],i[3],t,p),b.translate(m[0]-o,m[3]-e),b.scale(d/g,-d/g),b.drawImage(w.canvas,0,0),b.restore())}),s&&(b.save(),b.strokeStyle="black",b.lineWidth=1,r.c.forEach(function(t){t=((n=t.target)[0][0]-x[0])/v;var e=-(n[0][1]-x[1])/v,o=(n[1][0]-x[0])/v,i=-(n[1][1]-x[1])/v,r=(n[2][0]-x[0])/v,n=-(n[2][1]-x[1])/v;b.beginPath(),b.moveTo(t,e),b.lineTo(o,i),b.lineTo(r,n),b.closePath(),b.stroke()}),b.restore()),b.canvas}function bh(t,e,o,i,r){this.b=t,this.g=e;var n={},s=Io(this.g,this.b);if(this.f=function(t){var e=t[0]+"/"+t[1];return n[e]||(n[e]=s(t)),n[e]},this.i=i,this.G=r*r,this.c=[],this.l=!1,this.o=this.b.b&&!!i&&!!this.b.J()&&po(i)==po(this.b.J()),this.a=this.b.J()?po(this.b.J()):null,this.j=this.g.J()?po(this.g.J()):null,mh(this,t=no(o),e=so(o),i=to(o),o=Qe(o),r=this.f(t),this.f(e),this.f(i),this.f(o),10),this.l){var p=Infinity;this.c.forEach(function(t){p=Math.min(p,t.source[0][0],t.source[1][0],t.source[2][0])}),this.c.forEach(function(t){if(Math.max(t.source[0][0],t.source[1][0],t.source[2][0])-p>this.a/2){var e=[[t.source[0][0],t.source[0][1]],[t.source[1][0],t.source[1][1]],[t.source[2][0],t.source[2][1]]];e[0][0]-p>this.a/2&&(e[0][0]-=this.a),e[1][0]-p>this.a/2&&(e[1][0]-=this.a),e[2][0]-p>this.a/2&&(e[2][0]-=this.a),Math.max(e[0][0],e[1][0],e[2][0])-Math.min(e[0][0],e[1][0],e[2][0])<this.a/2&&(t.source=e)}},this)}n={}}function mh(t,e,o,i,r,n,s,p,a,h){var l=Fe([n,s,p,a]),u=t.a?po(l)/t.a:null,c=t.b.b&&.5<u&&u<1,y=!1;if(0<h){if(t.g.c&&t.j)y=y|.25<po(Fe([e,o,i,r]))/t.j;!c&&t.b.c&&u&&(y|=.25<u)}if(y||!t.i||ao(l,t.i)){if(!(y||isFinite(n[0])&&isFinite(n[1])&&isFinite(s[0])&&isFinite(s[1])&&isFinite(p[0])&&isFinite(p[1])&&isFinite(a[0])&&isFinite(a[1]))){if(!(0<h))return;y=!0}if(0<h&&(y||(u=t.f([(e[0]+i[0])/2,(e[1]+i[1])/2]),y=(l=c?(le(n[0],t.a)+le(p[0],t.a))/2-le(u[0],t.a):(n[0]+p[0])/2-u[0])*l+(u=(n[1]+p[1])/2-u[1])*u>t.G),y))return void(Math.abs(e[0]-i[0])<=Math.abs(e[1]-i[1])?(c=[(o[0]+i[0])/2,(o[1]+i[1])/2],l=t.f(c),mh(t,e,o,c,u=[(r[0]+e[0])/2,(r[1]+e[1])/2],n,s,l,y=t.f(u),h-1),mh(t,u,c,i,r,y,l,p,a,h-1)):(c=[(e[0]+o[0])/2,(e[1]+o[1])/2],l=t.f(c),mh(t,e,c,u=[(i[0]+r[0])/2,(i[1]+r[1])/2],r,n,l,y=t.f(u),a,h-1),mh(t,c,o,i,u,l,s,p,y,h-1)));if(c){if(!t.o)return;t.l=!0}t.c.push({source:[n,p,a],target:[e,i,r]}),t.c.push({source:[n,s,p],target:[e,o,i]})}}function wh(t){var e=Ye();return t.c.forEach(function(t){t=t.source,Je(e,t[0]),Je(e,t[1]),Je(e,t[2])}),e}function xh(t,e,o,i,r,n){this.v=e,this.B=t.J();var s=(p=e.J())?ro(o,p):o,p=gh(t,e,eo(s),i);this.o=new bh(t,e,s,this.B,.5*p),this.j=i,this.g=o,t=wh(this.o),this.G=(this.f=n(t,p,r))?this.f.b:1,this.c=this.l=null,r=2,n=[],this.f&&(r=0,n=this.f.i),Us.call(this,o,i,this.G,r,n)}function Sh(t){var e=t.f.state;2==e&&(t.l=vh(po(t.g)/t.j,io(t.g)/t.j,t.G,t.f.$(),0,t.j,t.g,t.o,[{extent:t.f.J(),image:t.f.a()}])),t.state=e,Bs(t)}function Mh(t){qr.call(this,{attributions:t.attributions,extent:t.extent,logo:t.logo,projection:t.projection,state:t.state}),this.D=void 0!==t.resolutions?t.resolutions:null,this.a=null,this.oa=0}function Ph(t,e){if(t.D){var o=_(t.D,e,0);e=t.D[o]}return e}function Th(t,e){t.a().src=e}function Eh(t,e){Et.call(this,t),this.image=e}function jh(t){Mh.call(this,{attributions:t.attributions,logo:t.logo,projection:t.projection,resolutions:t.resolutions,state:void 0!==t.state?t.state:void 0}),this.ga=t.canvasFunction,this.V=null,this.fa=0,this.pa=void 0!==t.ratio?t.ratio:1.5}function Ah(t){re.call(this),this.xa=void 0,this.a="geometry",this.c=null,this.g=void 0,this.b=null,Gt(this,ne(this.a),this.he,!1,this),void 0!==t&&(t instanceof Oo||!t?this.Ma(t):this.I(t))}function Rh(t){var e;y(t)||(e=d(t)?t:[t],t=function(){return e});return t}function Ch(t){t.prototype.then=t.prototype.then,t.prototype.$goog_Thenable=!0}function Ih(t){if(!t)return!1;try{return!!t.$goog_Thenable}catch(e){return!1}}function Lh(t,e,o){this.c=o,this.b=t,this.g=e,this.f=0,this.a=null}function kh(t,e){t.g(e),t.f<t.c&&(t.f++,e.next=t.a,t.a=e)}function Fh(){this.f=this.a=null}function Nh(){this.next=this.f=this.a=null}function Dh(t,e){ax||Oh(),lx||(ax(),lx=!0),ux.add(t,e)}function Oh(){if(Wb.Promise&&Wb.Promise.resolve){var t=Wb.Promise.resolve(void 0);ax=function(){t.then(Uh)}}else ax=function(){Dn(Uh)}}function Uh(){for(var t=null;t=ux.remove();){try{t.a.call(t.f)}catch(e){Nn(e)}kh(hx,t)}lx=!1}function Bh(t,e){if(this.a=cx,this.j=void 0,this.c=this.f=this.b=null,this.g=this.i=!1,t!=l)try{var o=this;t.call(e,function(t){Wh(o,yx,t)},function(t){Wh(o,fx,t)})}catch(i){Wh(this,fx,i)}}function Gh(){this.next=this.b=this.f=this.c=this.a=null,this.g=!1}function Xh(t,e,o){var i=gx.get();return i.c=t,i.f=e,i.b=o,i}function Kh(t,e){if(t.a==cx)if(t.b){var o=t.b;if(o.f){for(var i=0,r=null,n=null,s=o.f;s&&(s.g||(i++,s.a==t&&(r=s),!(r&&1<i)));s=s.next)r||(n=s);r&&(o.a==cx&&1==i?Kh(o,e):(n?((i=n).next==o.c&&(o.c=i),i.next=i.next.next):Hh(o),Jh(o,r,fx,e)))}t.b=null}else Wh(t,fx,e)}function Yh(t,e){t.f||t.a!=yx&&t.a!=fx||Zh(t),t.c?t.c.next=e:t.f=e,t.c=e}function Vh(t,n,s,p){var e=Xh(null,null,null);return e.a=new Bh(function(i,r){e.c=n?function(t){try{var e=n.call(p,t);i(e)}catch(o){r(o)}}:i,e.f=s?function(t){try{var e=s.call(p,t);!h(e)&&t instanceof _h?r(t):i(e)}catch(o){r(o)}}:r}),Yh(e.a.b=t,e),e.a}function Wh(t,e,o){if(t.a==cx){var i;t==o&&(e=fx,o=new TypeError("Promise cannot resolve to itself")),t.a=1;t:{var r=o,n=t.o,s=t.G;if(r instanceof Bh)Yh(r,Xh(n||l,s||null,t)),i=!0;else if(Ih(r))r.then(n,s,t),i=!0;else{if(f(r))try{var p=r.then;if(y(p)){zh(r,p,n,s,t),i=!0;break t}}catch(a){s.call(t,a),i=!0;break t}i=!1}}i||(t.j=o,t.a=e,t.b=null,Zh(t),e!=fx||o instanceof _h||$h(t,o))}}function zh(t,e,o,i,r){function n(t){p||(p=!0,i.call(r,t))}function s(t){p||(p=!0,o.call(r,t))}var p=!1;try{e.call(t,s,n)}catch(a){n(a)}}function Zh(t){t.i||(t.i=!0,Dh(t.l,t))}function Hh(t){var e=null;return t.f&&(e=t.f,t.f=e.next,e.next=null),t.f||(t.c=null),e}function Jh(t,e,o,i){if(o==fx&&e.f&&!e.g)for(;t&&t.g;t=t.b)t.g=!1;if(e.a)e.a.b=null,qh(e,o,i);else try{e.g?e.c.call(e.b):qh(e,o,i)}catch(r){dx.call(null,r)}kh(gx,e)}function qh(t,e,o){e==yx?t.c.call(t.b,o):t.f&&t.f.call(t.b,o)}function $h(t,e){t.g=!0,Dh(function(){t.g&&dx.call(null,e)})}function _h(t){a.call(this,t)}function Qh(t,e,o){if(y(t))o&&(t=g(t,o));else{if(!t||"function"!=typeof t.handleEvent)throw Error("Invalid listener argument");t=g(t.handleEvent,t)}return 2147483647<e?-1:Wb.setTimeout(t,e||0)}function tl(){}function el(t){var e;return(e=t.a)||(e={},rl(t)&&(e[0]=!0,e[1]=!0),e=t.a=e),e}function ol(){}function il(t){return(t=rl(t))?new ActiveXObject(t):new XMLHttpRequest}function rl(t){if(t.f||"undefined"!=typeof XMLHttpRequest||"undefined"==typeof ActiveXObject)return t.f;for(var e=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],o=0;o<e.length;o++){var i=e[o];try{return new ActiveXObject(i),t.f=i}catch(r){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed")}function nl(t,e){if(t)for(var o=t.split("&"),i=0;i<o.length;i++){
  var r=o[i].indexOf("="),n=null,s=null;0<=r?(n=o[i].substring(0,r),s=o[i].substring(r+1)):n=o[i],e(n,s?decodeURIComponent(s.replace(/\+/g," ")):"")}}function sl(t){if(t[1]){var e=t[0],o=e.indexOf("#");0<=o&&(t.push(e.substr(o)),t[0]=e=e.substr(0,o)),(o=e.indexOf("?"))<0?t[1]="?":o==e.length-1&&(t[1]=void 0)}return t.join("")}function pl(t,e,o){if(d(e))for(var i=0;i<e.length;i++)pl(t,String(e[i]),o);else null!=e&&o.push("&",t,""===e?"":"=",encodeURIComponent(String(e)))}function al(t,e){for(var o in e)pl(o,e[o],t);return t}function hl(t){_t.call(this),this.O=new Un,this.o=t||null,this.a=!1,this.l=this.ha=null,this.g=this.U=this.v="",this.f=this.B=this.c=this.G=!1,this.j=0,this.b=null,this.i=xx,this.C=this.V=!1}function ll(t,e){if(t.ha)throw Error("[goog.net.XhrIo] Object is active with another request="+t.v+"; newUri="+e);t.v=e,t.g="",t.U="GET",t.G=!1,t.a=!0,t.ha=t.o?il(t.o):il(vx),t.l=t.o?el(t.o):el(vx),t.ha.onreadystatechange=g(t.D,t);try{t.B=!0,t.ha.open("GET",String(e),!0),t.B=!1}catch(n){return void yl(t,n)}var o=t.O.clone(),i=D(o.P(),cl),r=Wb.FormData&&!1;!(0<=C(Mx,"GET"))||i||r||o.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8"),o.forEach(function(t,e){this.ha.setRequestHeader(e,t)},t),t.i&&(t.ha.responseType=t.i),"withCredentials"in t.ha&&(t.ha.withCredentials=t.V);try{vl(t),0<t.j&&(t.C=ul(t.ha),t.C?(t.ha.timeout=t.j,t.ha.ontimeout=g(t.Bc,t)):t.b=Qh(t.Bc,t.j,t)),t.c=!0,t.ha.send(""),t.c=!1}catch(n){yl(t,n)}}function ul(t){return um&&St(9)&&u(t.timeout)&&h(t.ontimeout)}function cl(t){return"content-type"==t.toLowerCase()}function yl(t,e){t.a=!1,t.ha&&(t.f=!0,t.ha.abort(),t.f=!1),t.g=e,fl(t),dl(t)}function fl(t){t.G||(t.G=!0,t.s("complete"),t.s("error"))}function gl(t){if(t.a&&void 0!==Vb&&(!t.l[1]||4!=ml(t)||2!=wl(t)))if(t.c&&4==ml(t))Qh(t.D,0,t);else if(t.s("readystatechange"),4==ml(t)){t.a=!1;try{if(bl(t))t.s("complete"),t.s("success");else{var e;try{e=2<ml(t)?t.ha.statusText:""}catch(o){e=""}t.g=e+" ["+wl(t)+"]",fl(t)}}finally{dl(t)}}}function dl(t,e){if(t.ha){vl(t);var o=t.ha,i=t.l[0]?l:null;t.ha=null,t.l=null,e||t.s("ready");try{o.onreadystatechange=i}catch(r){}}}function vl(t){t.ha&&t.C&&(t.ha.ontimeout=null),u(t.b)&&(Wb.clearTimeout(t.b),t.b=null)}function bl(t){var e,o=wl(t);t:switch(o){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:e=!0;break t;default:e=!1}return e||((o=0===o)&&(!(t=String(t.v).match(wx)[1]||null)&&Wb.self&&Wb.self.location&&(t=(t=Wb.self.location.protocol).substr(0,t.length-1)),o=!Sx.test(t?t.toLowerCase():"")),e=o),e}function ml(t){return t.ha?t.ha.readyState:0}function wl(t){try{return 2<ml(t)?t.ha.status:-1}catch(e){return-1}}function xl(t){try{return t.ha?t.ha.responseText:""}catch(e){return""}}function Sl(t){try{if(!t.ha)return null;if("response"in t.ha)return t.ha.response;switch(t.i){case xx:case"text":return t.ha.responseText;case"arraybuffer":if("mozResponseArrayBuffer"in t.ha)return t.ha.mozResponseArrayBuffer}return null}catch(e){return null}}function Ml(t,e,o,i,r,n){Hr.call(this,t,e),this.j=i,this.i=null,this.b=n,this.c={kd:!1,Tf:null,Rh:-1,Hd:null},this.G=r,this.l=o}function Pl(){if(!um)return!1;try{return new ActiveXObject("MSXML2.DOMDocument"),!0}catch(t){return!1}}function Tl(t){var e=t.xml;if(e)return e;if("undefined"!=typeof XMLSerializer)return(new XMLSerializer).serializeToString(t);throw Error("Your browser does not support serializing XML documents")}function El(t,e){return Lx.createElementNS(t,e)}function jl(t,e){return t||(t=""),Lx.createNode(1,e,t)}function Al(t,e){return Rl(t,e,[]).join("")}function Rl(t,e,o){if(4==t.nodeType||3==t.nodeType)e?o.push(String(t.nodeValue).replace(/(\r\n|\r|\n)/g,"")):o.push(t.nodeValue);else for(t=t.firstChild;t;t=t.nextSibling)Rl(t,e,o);return o}function Cl(t){return t.localName}function Il(t){var e=t.localName;return void 0!==e?e:t.baseName}function Ll(t){return t instanceof Document}function kl(t){return f(t)&&9==t.nodeType}function Fl(t){return t instanceof Node}function Nl(t){return f(t)&&void 0!==t.nodeType}function Dl(t,e,o){return t.getAttributeNS(e,o)||""}function Ol(t,e,o){var i="";return void 0!==(t=Ux(t,e,o))&&(i=t.nodeValue),i}function Ul(t,e,o){return t.getAttributeNodeNS(e,o)}function Bl(t,e,o){for(var i,r=null,n=0,s=(t=t.attributes).length;n<s;++n)if((i=t[n]).namespaceURI==e&&(i.prefix?i.prefix+":"+o:o)==i.nodeName){r=i;break}return r}function Gl(t,e,o,i){t.setAttributeNS(e,o,i)}function Xl(t,e,o,i){e?((e=t.ownerDocument.createNode(2,o,e)).nodeValue=i,t.setAttributeNode(e)):t.setAttribute(o,i)}function Kl(t){return(new DOMParser).parseFromString(t,"application/xml")}function Yl(i,r){return function(t,e){var o=i.call(r,t,e);void 0!==o&&X(e[e.length-1],o)}}function Vl(i,r){return function(t,e){var o=i.call(void 0!==r?r:this,t,e);void 0!==o&&e[e.length-1].push(o)}}function Wl(i,r){return function(t,e){var o=i.call(void 0!==r?r:this,t,e);void 0!==o&&(e[e.length-1]=o)}}function zl(i){return function(t,e){var o=i.call(this,t,e);void 0!==o&&dt(e[e.length-1],t.localName).push(o)}}function Zl(i,r){return function(t,e){var o=i.call(this,t,e);void 0!==o&&(e[e.length-1][void 0!==r?r:t.localName]=o)}}function Hl(i,r){return function(t,e,o){i.call(void 0!==r?r:this,t,e,o),o[o.length-1].node.appendChild(t)}}function Jl(r){var n,s;return function(t,e,o){if(void 0===n){n={};var i={};i[t.localName]=r,n[t.namespaceURI]=i,s=ql(t.localName)}eu(n,s,e,o)}}function ql(i,r){return function(t,e,o){return t=e[e.length-1].node,void 0===(e=i)&&(e=o),void 0===(o=r)&&(o=t.namespaceURI),kx(o,e)}}function $l(t,e){for(var o=e.length,i=Array(o),r=0;r<o;++r)i[r]=t[e[r]];return i}function _l(t,e,o){var i,r;for(o=void 0!==o?o:{},i=0,r=t.length;i<r;++i)o[t[i]]=e;return o}function Ql(t,e,o,i){for(e=e.firstElementChild;e;e=e.nextElementSibling){var r=t[e.namespaceURI];void 0!==r&&(void 0!==(r=r[e.localName])&&r.call(i,e,o))}}function tu(t,e,o,i,r){return i.push(t),Ql(e,o,i,r),i.pop()}function eu(t,e,o,i,r,n){for(var s,p,a=(void 0!==r?r:o).length,h=0;h<a;++h)void 0!==(s=o[h])&&(void 0!==(p=e.call(n,s,i,void 0!==r?r[h]:void 0))&&t[p.namespaceURI][p.localName].call(n,p,s,i))}function ou(t,e,o,i,r,n,s){r.push(t),eu(e,o,i,r,n,s),r.pop()}function iu(o,n,s,p){return function(t,e,i){var r=new hl;r.i="arraybuffer"==n.W()?"arraybuffer":"text",Gt(r,"complete",function(t){if(bl(t=t.target)){var e,o=n.W();if("json"==o)e=xl(t);else if("text"==o)e=xl(t);else if("xml"==o){if(!um)try{e=t.ha?t.ha.responseXML:null}catch(r){e=null}e||(e=Kl(xl(t)))}else"arraybuffer"==o&&(e=Sl(t));e&&(this instanceof Ml&&("tile-pixels"===(o=n.Ia(e).f)&&(this.b=i=new mo({code:this.b.a,units:o}))),s.call(this,n.Ba(e,{featureProjection:i})))}else p.call(this);Tt(t)},!1,this),y(o)?ll(r,o(t,e,i)):ll(r,o)}}function ru(t,e){return iu(t,e,function(t){this.i=t,this.state=2,Jr(this)},function(){this.state=3,Jr(this)})}function nu(t,e){return iu(t,e,function(t){this.Ec(t)},s)}function su(){return[[-Infinity,-Infinity,Infinity,Infinity]]}function pu(t){this.f=jx(t),this.a={}}function au(t,e,o){var i=I(o);Ze(t.a[i].slice(0,4),e)||(t.remove(o),t.ya(e,o))}function hu(t){return t.f.all().map(function(t){return t[4]})}function lu(t,e){return t.f.search(e).map(function(t){return t[4]})}function uu(t,e,o,i){return cu(lu(t,e),o,i)}function cu(t,e,o){for(var i,r=0,n=t.length;r<n&&!(i=e.call(o,t[r]));r++);return i}function yu(t){t=t||{},qr.call(this,{attributions:t.attributions,logo:t.logo,projection:void 0,state:"ready",wrapX:void 0===t.wrapX||t.wrapX}),this.T=s,void 0!==t.loader?this.T=t.loader:void 0!==t.url&&(this.T=nu(t.url,t.format)),this.pa=void 0!==t.strategy?t.strategy:su;var e,o,i=void 0===t.useSpatialIndex||t.useSpatialIndex;this.a=i?new pu:null,this.V=new pu,this.g={},this.j={},this.l={},this.o={},this.c=null,t.features instanceof qi?o=(e=t.features).a:d(t.features)&&(o=t.features),i||void 0!==e||(e=new qi(o)),void 0!==o&&du(this,o),void 0!==e&&vu(this,e)}function fu(t,e,o){t.o[e]=[Gt(o,"change",t.th,!1,t),Gt(o,"propertychange",t.th,!1,t)]}function gu(t,e,o){var i=!0,r=o.Oa();return void 0!==r?r.toString()in t.j?i=!1:t.j[r.toString()]=o:t.l[e]=o,i}function du(t,e){var o,i,r,n,s=[],p=[],a=[];for(i=0,r=e.length;i<r;i++)gu(t,o=I(n=e[i]).toString(),n)&&p.push(n);for(i=0,r=p.length;i<r;i++){fu(t,o=I(n=p[i]).toString(),n);var h=n.X();h?(o=h.J(),s.push(o),a.push(n)):t.g[o]=n}for(t.a&&t.a.load(s,a),i=0,r=p.length;i<r;i++)t.s(new wu("addfeature",p[i]))}function vu(t,e){var o=!1;Gt(t,"addfeature",function(t){o||(o=!0,e.push(t.feature),o=!1)}),Gt(t,"removefeature",function(t){o||(o=!0,e.remove(t.feature),o=!1)}),Gt(e,"add",function(t){o||(t=t.element,o=!0,this.Bd(t),o=!1)},!1,t),Gt(e,"remove",function(t){o||(t=t.element,o=!0,this.Rc(t),o=!1)},!1,t),t.c=e}function bu(t,e,o){t.pb([e[0],e[1],e[0],e[1]],function(t){if(t.X().og(e))return o.call(void 0,t)})}function mu(t,e){for(var o in t.j)if(t.j[o]===e){delete t.j[o];break}}function wu(t,e){Et.call(this,t),this.feature=e}function xu(t){this.c=t.source,this.wa=Pe(),this.g=is(),this.j=[0,0],this.v=null,jh.call(this,{attributions:t.attributions,canvasFunction:g(this.tj,this),logo:t.logo,projection:t.projection,ratio:t.ratio,resolutions:t.resolutions,state:this.c.B}),this.T=null,this.o=void 0,this.ph(t.style),Gt(this.c,"change",this.Om,void 0,this)}function Su(t,e,o,i,r){return Gs(t.wa,r[0]/2,r[1]/2,i/o,-i/o,0,-e[0],-e[1])}function Mu(t){Ya.call(this,t),this.g=null,this.i=Pe(),this.b=this.c=null}function Pu(t){Ya.call(this,t),this.b=this.i=null,this.o=!1,this.j=null,this.B=Pe(),this.g=null,this.C=this.D=this.v=NaN,this.l=this.c=null,this.U=[0,0]}function Tu(t){Ya.call(this,t),this.c=!1,this.o=-1,this.l=NaN,this.i=Ye(),this.b=this.j=null,this.g=is()}function Eu(e,o){var i=/\{z\}/g,r=/\{x\}/g,n=/\{y\}/g,s=/\{-y\}/g;return function(t){if(t)return e.replace(i,t[0].toString()).replace(r,t[1].toString()).replace(n,function(){return(-t[2]-1).toString()}).replace(s,function(){return(Wi(o.f?o.f[t[0]]:null)+t[2]).toString()})}}function ju(t,e){for(var o=t.length,i=Array(o),r=0;r<o;++r)i[r]=Eu(t[r],e);return Au(i)}function Au(i){return 1===i.length?i[0]:function(t,e,o){if(t)return i[le((t[1]<<t[0])+t[2],i.length)](t,e,o)}}function Ru(){}function Cu(t){var e=[],o=/\{(\d)-(\d)\}/.exec(t)||/\{([a-z])-([a-z])\}/.exec(t);if(o){var i,r=o[2].charCodeAt(0);for(i=o[1].charCodeAt(0);i<=r;++i)e.push(t.replace(o[0],String.fromCharCode(i)))}else e.push(t);return e}function Iu(t){yn.call(this,{attributions:t.attributions,df:t.df,extent:t.extent,logo:t.logo,opaque:t.opaque,projection:t.projection,state:t.state?t.state:void 0,tileGrid:t.tileGrid,tilePixelRatio:t.tilePixelRatio,wrapX:t.wrapX}),this.tileLoadFunction=t.tileLoadFunction,this.tileUrlFunction=t.tileUrlFunction?t.tileUrlFunction:Ru,this.urls=null,t.urls?t.tileUrlFunction?this.urls=t.urls:this.Wa(t.urls):t.url&&this.Va(t.url),t.tileUrlFunction&&this.Ja(t.tileUrlFunction)}function Lu(t){Iu.call(this,{attributions:t.attributions,df:128,extent:t.extent,logo:t.logo,opaque:t.opaque,projection:t.projection,state:t.state?t.state:void 0,tileGrid:t.tileGrid,tileLoadFunction:t.tileLoadFunction?t.tileLoadFunction:ku,tileUrlFunction:t.tileUrlFunction,tilePixelRatio:t.tilePixelRatio,url:t.url,urls:t.urls,wrapX:void 0===t.wrapX||t.wrapX}),this.g=t.format?t.format:null,this.tileClass=t.tileClass?t.tileClass:Ml}function ku(t,e){t.ai(ru(e,t.j))}function Fu(t){Ya.call(this,t),this.c=is(),this.b=!1,this.g=[],this.i=Ye(),this.l=[NaN,NaN],this.o=Pe()}function Nu(t,e,p,o){function i(t){var e;if((o=t.ac())?e=o.call(t,c):(o=p.b)&&(e=o(t,c)),e){d(e)||(e=[e]);var o=g,i=f;if(e){var r=!1;if(d(e))for(var n=0,s=e.length;n<s;++n)r=yh(i,t,e[n],o,this.j,this)||r;else r=yh(i,t,e,o,this.j,this)||r;t=r}else t=!1;this.b=this.b||t,a.kd=a.kd||t}}var r=p.f,n=ka(p)||null,a=e.c;if(a.kd||a.Rh!=r||a.Tf!=n){Tt(a.Hd),a.Hd=null,a.kd=!1;var s,h=(y=p.ea()).tileGrid,l=e.a,u="tile-pixels"==e.b.f;u?s=[0,0,(s=y.Qb(l[0],o,e.b))[0],s[1]]:s=h.Aa(l);var c=h.$(l[0]),y=u?y.v:c;a.kd=!1;var f=new ph(0,s,y,p.a),g=ch(y,o);e=e.i,n&&n!==a.Tf&&e.sort(n),e.forEach(i,t),ah(f),a.Rh=r,a.Tf=n,a.Hd=f}}function Du(t,e){ip.call(this,0,e),this.b=is(),this.a=this.b.canvas,this.a.style.width="100%",this.a.style.height="100%",this.a.className="ol-unselectable",lr(t,this.a,0),this.f=!0,this.g=Pe()}function Ou(t,e,o){var i=t.i,r=t.b;if(te(i,e)){var n=o.extent,s=o.pixelRatio,p=o.viewState.rotation,a=o.pixelRatio,h=o.viewState,l=h.resolution;n=new Na(r,s,n,t=Gs(t.g,t.a.width/2,t.a.height/2,a/l,-a/l,-h.rotation,-h.center[0],-h.center[1]),p),i.s(new Ns(e,i,n,o,r,null)),Ga(n)}}function Uu(t,e){Ys.call(this,t),this.target=e}function Bu(t){var e=document.createElement("DIV");e.style.position="absolute",Uu.call(this,t,e),this.b=null,this.c=Te()}function Gu(t){var e=document.createElement("DIV");e.style.position="absolute",Uu.call(this,t,e),this.c=!0,this.o=1,this.j=0,this.b={}}function Xu(t,e){this.target=document.createElement("DIV"),this.target.style.position="absolute",this.target.style.width="100%",this.target.style.height="100%",this.g=t,this.b=e,this.i=no(t.Aa(e)),this.j=t.$(e[0]),this.f={},this.a=null,this.c=Te(),this.l=[0,0]}function Ku(t){this.j=is();var e=this.j.canvas;e.style.maxWidth="none",e.style.position="absolute",Uu.call(this,t,e),this.c=!1,this.v=-1,this.B=NaN,this.o=Ye(),this.b=this.G=null,this.O=Pe(),this.D=Pe()}function Yu(t,e,o,i){var r=t.j;te(t=t.a,e)&&(i=new Na(r,o.pixelRatio,o.extent,i,o.viewState.rotation),t.s(new Ns(e,t,i,o,r,null)),Ga(i))}function Vu(t,e){ip.call(this,0,e),this.b=is();var o=this.b.canvas;o.style.position="absolute",o.style.width="100%",o.style.height="100%",o.className="ol-unselectable",lr(t,o,0),this.g=Pe(),this.a=document.createElement("DIV"),this.a.className="ol-unselectable",(o=this.a.style).position="absolute",o.width="100%",o.height="100%",Gt(this.a,"touchstart",At),lr(t,this.a,0),this.f=!0}function Wu(t,e,o){var i=t.i;if(te(i,e)){var r=o.extent,n=o.pixelRatio,s=o.viewState,p=s.rotation,a=t.b,h=a.canvas;Gs(t.g,h.width/2,h.height/2,n/s.resolution,-n/s.resolution,-s.rotation,-s.center[0],-s.center[1]),t=new Na(a,n,r,t.g,p),i.s(new Ns(e,i,t,o,a,null)),Ga(t)}}function zu(t){this.a=t}function Zu(t){this.a=t}function Hu(t){this.a=t}function Ju(){this.a="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 qu(){this.a="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 $u(t,e){this.l=t.getUniformLocation(e,"j"),this.o=t.getUniformLocation(e,"i"),this.i=t.getUniformLocation(e,"k"),this.j=t.getUniformLocation(e,"h"),this.a=t.getAttribLocation(e,"e"),this.f=t.getAttribLocation(e,"f"),this.c=t.getAttribLocation(e,"c"),this.b=t.getAttribLocation(e,"g"),this.g=t.getAttribLocation(e,"d")}function _u(t){this.a=void 0!==t?t:[]}function Qu(t,e){this.G=t,this.a=e,this.f={},this.i={},this.g={},this.l=this.o=this.c=this.j=null,(this.b=$(Xb,"OES_element_index_uint"))&&e.getExtension("OES_element_index_uint"),Gt(this.G,"webglcontextlost",this.Hn,!1,this),Gt(this.G,"webglcontextrestored",this.In,!1,this)}function tc(t,e,o){var i=t.a,r=o.a,n=I(o);if(n in t.f)i.bindBuffer(e,t.f[n].buffer);else{var s,p=i.createBuffer();i.bindBuffer(e,p),34962==e?s=new Float32Array(r):34963==e&&(s=t.b?new Uint32Array(r):new Uint16Array(r)),i.bufferData(e,s,35044),t.f[n]={Fb:o,buffer:p}}}function ec(t,e){var o=t.a,i=I(e),r=t.f[i];o.isContextLost()||o.deleteBuffer(r.buffer),delete t.f[i]}function oc(t){if(!t.c){var e=t.a,o=e.createFramebuffer();e.bindFramebuffer(e.FRAMEBUFFER,o);var i=sc(e,1,1),r=e.createRenderbuffer();e.bindRenderbuffer(e.RENDERBUFFER,r),e.renderbufferStorage(e.RENDERBUFFER,e.DEPTH_COMPONENT16,1,1),e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,i,0),e.framebufferRenderbuffer(e.FRAMEBUFFER,e.DEPTH_ATTACHMENT,e.RENDERBUFFER,r),e.bindTexture(e.TEXTURE_2D,null),e.bindRenderbuffer(e.RENDERBUFFER,null),e.bindFramebuffer(e.FRAMEBUFFER,null),t.c=o,t.o=i,t.l=r}return t.c}function ic(t,e){var o=I(e);if(o in t.i)return t.i[o];var i=t.a,r=i.createShader(e.W());return i.shaderSource(r,e.a),i.compileShader(r),t.i[o]=r}function rc(t,e,o){var i=I(e)+"/"+I(o);if(i in t.g)return t.g[i];var r=t.a,n=r.createProgram();return r.attachShader(n,ic(t,e)),r.attachShader(n,ic(t,o)),r.linkProgram(n),t.g[i]=n}function nc(t,e,o){var i=t.createTexture();return t.bindTexture(t.TEXTURE_2D,i),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MAG_FILTER,t.LINEAR),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MIN_FILTER,t.LINEAR),void 0!==e&&t.texParameteri(3553,10242,e),void 0!==o&&t.texParameteri(3553,10243,o),i}function sc(t,e,o){var i=nc(t,void 0,void 0);return t.texImage2D(t.TEXTURE_2D,0,t.RGBA,e,o,0,t.RGBA,t.UNSIGNED_BYTE,null),i}function pc(t,e){var o=nc(t,33071,33071);return t.texImage2D(t.TEXTURE_2D,0,t.RGBA,t.RGBA,t.UNSIGNED_BYTE,e),o}function ac(t,e){this.D=this.C=void 0,this.o=eo(e),this.v=[],this.i=[],this.na=void 0,this.g=[],this.c=[],this.U=this.va=void 0,this.f=[],this.O=this.l=null,this.T=void 0,this.hb=Te(),this.Db=Te(),this.fa=this.V=void 0,this.Eb=Te(),this.gb=this.oa=this.ga=void 0,this.wa=[],this.j=[],this.a=[],this.B=null,this.b=[],this.G=[],this.pa=void 0}function hc(t,o){var i=t.B,r=t.l,n=t.wa,s=t.j,p=o.a;return function(){if(!p.isContextLost()){var t,e;for(t=0,e=n.length;t<e;++t)p.deleteTexture(n[t]);for(t=0,e=s.length;t<e;++t)p.deleteTexture(s[t])}ec(o,i),ec(o,r)}}function lc(t,e,o,i){var r,n,s,p,a,h,l=t.C,u=t.D,c=t.na,y=t.va,f=t.U,g=t.T,d=t.V,v=t.fa,b=t.ga?1:0,m=t.oa,w=t.gb,x=t.pa,S=Math.cos(m),M=(m=Math.sin(m),t.f.length),P=t.a.length;for(r=0;r<o;r+=i)a=e[r]-t.o[0],h=e[r+1]-t.o[1],n=P/8,s=-w*l,p=-w*(c-u),t.a[P++]=a,t.a[P++]=h,t.a[P++]=s*S-p*m,t.a[P++]=s*m+p*S,t.a[P++]=d/f,t.a[P++]=(v+c)/y,t.a[P++]=g,t.a[P++]=b,s=w*(x-l),p=-w*(c-u),t.a[P++]=a,t.a[P++]=h,t.a[P++]=s*S-p*m,t.a[P++]=s*m+p*S,t.a[P++]=(d+x)/f,t.a[P++]=(v+c)/y,t.a[P++]=g,t.a[P++]=b,s=w*(x-l),p=w*u,t.a[P++]=a,t.a[P++]=h,t.a[P++]=s*S-p*m,t.a[P++]=s*m+p*S,t.a[P++]=(d+x)/f,t.a[P++]=v/y,t.a[P++]=g,t.a[P++]=b,s=-w*l,p=w*u,t.a[P++]=a,t.a[P++]=h,t.a[P++]=s*S-p*m,t.a[P++]=s*m+p*S,t.a[P++]=d/f,t.a[P++]=v/y,t.a[P++]=g,t.a[P++]=b,t.f[M++]=n,t.f[M++]=n+1,t.f[M++]=n+2,t.f[M++]=n,t.f[M++]=n+2,t.f[M++]=n+3}function uc(t,e){var o=e.a;t.v.push(t.f.length),t.i.push(t.f.length),t.B=new _u(t.a),tc(e,34962,t.B),t.l=new _u(t.f),tc(e,34963,t.l);var i={};cc(t.wa,t.g,i,o),cc(t.j,t.c,i,o),t.C=void 0,t.D=void 0,t.na=void 0,t.g=null,t.c=null,t.va=void 0,t.U=void 0,t.f=null,t.T=void 0,t.V=void 0,t.fa=void 0,t.ga=void 0,t.oa=void 0,t.gb=void 0,t.a=null,t.pa=void 0}function cc(t,e,o,i){var r,n,s,p=e.length;for(s=0;s<p;++s)(n=I(r=e[s]).toString())in o?r=o[n]:(r=pc(i,r),o[n]=r),t[s]=r}function yc(t,e,o,i,r,n,s,p,a,h,l){var u=e.a;tc(e,34962,t.B),tc(e,34963,t.l);var c,y=Ju.Yb(),f=rc(e,y,f=qu.Yb());if(t.O?y=t.O:(y=new $u(u,f),t.O=y),e.He(f),u.enableVertexAttribArray(y.c),u.vertexAttribPointer(y.c,2,5126,!1,32,0),u.enableVertexAttribArray(y.a),u.vertexAttribPointer(y.a,2,5126,!1,32,8),u.enableVertexAttribArray(y.g),u.vertexAttribPointer(y.g,2,5126,!1,32,16),u.enableVertexAttribArray(y.f),u.vertexAttribPointer(y.f,1,5126,!1,32,24),u.enableVertexAttribArray(y.b),u.vertexAttribPointer(y.b,1,5126,!1,32,28),Gs(f=t.Eb,0,0,2/(i*n[0]),2/(i*n[1]),-r,-(o[0]-t.o[0]),-(o[1]-t.o[1])),o=t.Db,i=2/n[0],n=2/n[1],Ae(o),o[0]=i,o[5]=n,o[10]=1,o[15]=1,Ae(n=t.hb),0!==r&&ke(n,-r),u.uniformMatrix4fv(y.j,!1,f),u.uniformMatrix4fv(y.o,!1,o),u.uniformMatrix4fv(y.l,!1,n),u.uniform1f(y.i,s),void 0===a)fc(t,u,e,p,t.wa,t.v);else{if(h)t:{for(r=e.b?5125:5123,e=e.b?4:2,n=t.b.length-1,s=t.j.length-1;0<=s;--s)for(u.bindTexture(3553,t.j[s]),h=0<s?t.i[s-1]:0,f=t.i[s];0<=n&&t.b[n]>=h;){if(c=t.b[n],void 0===p[i=I(o=t.G[n]).toString()]&&o.X()&&(void 0===l||ao(l,o.X().J()))&&(u.clear(u.COLOR_BUFFER_BIT|u.DEPTH_BUFFER_BIT),u.drawElements(4,f-c,r,c*e),f=a(o))){t=f;break t}f=c,n--}t=void 0}else u.clear(u.COLOR_BUFFER_BIT|u.DEPTH_BUFFER_BIT),fc(t,u,e,p,t.j,t.i),t=(t=a(null))?t:void 0;c=t}return u.disableVertexAttribArray(y.c),u.disableVertexAttribArray(y.a),u.disableVertexAttribArray(y.g),u.disableVertexAttribArray(y.f),u.disableVertexAttribArray(y.b),c}function fc(t,e,o,i,r,n){var s=o.b?5125:5123;if(o=o.b?4:2,yt(i)){var p;for(t=0,i=r.length,p=0;t<i;++t){e.bindTexture(3553,r[t]);var a=n[t];e.drawElements(4,a-p,s,p*o),p=a}}else{var h;a=p=0;for(h=r.length;a<h;++a){e.bindTexture(3553,r[a]);for(var l=0<a?n[a-1]:0,u=n[a],c=l;p<t.b.length&&t.b[p]<=u;){void 0!==i[I(t.G[p]).toString()]?(c!==l&&e.drawElements(4,l-c,s,c*o),l=c=p===t.b.length-1?u:t.b[p+1]):l=p===t.b.length-1?u:t.b[p+1],p++}c!==l&&e.drawElements(4,l-c,s,c*o)}}}function gc(t,e,o){this.i=e,this.j=t,this.g=o,this.f={}}function dc(t,e){var o,i=[];for(o in t.f)i.push(hc(t.f[o],e));return go.apply(null,i)}function vc(t,e){for(var o in t.f)uc(t.f[o],e)}function bc(t,e,o,i,r,n,s,p,a,h){var l,u,c=Kx;for(l=ex.length-1;0<=l;--l)if(void 0!==(u=t.f[ex[l]])&&(u=yc(u,e,o,i,r,c,n,s,p,a,h)))return u}function mc(t,e,o,i,r,n,s){var p=o.a;return p.bindFramebuffer(p.FRAMEBUFFER,oc(o)),void 0!==bc(t,o,e,i,r,n,s,function(){var t=new Uint8Array(4);return p.readPixels(0,0,1,1,p.RGBA,p.UNSIGNED_BYTE,t),0<t[3]},!1)}function wc(t,e,o,i,r,n){this.f=t,this.g=e,this.c=n,this.l=r,this.j=i,this.i=o,this.b=null,this.a={}}function xc(){this.a="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 Sc(){this.a="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 Mc(t,e){this.b=t.getUniformLocation(e,"f"),this.c=t.getUniformLocation(e,"e"),this.i=t.getUniformLocation(e,"d"),this.g=t.getUniformLocation(e,"g"),this.a=t.getAttribLocation(e,"b"),this.f=t.getAttribLocation(e,"c")}function Pc(t,e){Ys.call(this,e),this.b=t,this.U=new _u([-1,-1,0,0,1,-1,1,0,-1,1,0,1,1,1,1,1]),this.g=this.mb=null,this.i=void 0,this.o=Pe(),this.B=Te(),this.G=null}function Tc(t,e,o){var i=t.b.b;if(void 0===t.i||t.i!=o){e.postRenderFunctions.push(v(function(t,e,o){t.isContextLost()||(t.deleteFramebuffer(e),t.deleteTexture(o))},i,t.g,t.mb)),e=sc(i,o,o);var r=i.createFramebuffer();i.bindFramebuffer(36160,r),i.framebufferTexture2D(36160,36064,3553,e,0),t.mb=e,t.g=r,t.i=o}else i.bindFramebuffer(36160,t.g)}function Ec(t,e,o,i){if(te(t=t.a,e)){var r=i.viewState;t.s(new Ns(e,t,new wc(o,r.center,r.resolution,r.rotation,i.size,i.extent),i,null,o))}}function jc(t,e){Pc.call(this,t,e),this.l=this.j=this.c=null}function Ac(t,e){var o=e.a();return pc(t.b.b,o)}function Rc(t,e,o,i,r,n,s,p){e*=n,o*=n,Ae(t=t.B),Le(t,2*i/e,2*i/o),ke(t,-s),Ie(t,p[0]-r[0],p[1]-r[1]),Le(t,(p[2]-p[0])/2,(p[3]-p[1])/2),Ie(t,1,1)}function Cc(){this.a="precision mediump float;varying vec2 a;uniform sampler2D e;void main(void){gl_FragColor=texture2D(e,a);}"}function Ic(){this.a="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 Lc(t,e){this.b=t.getUniformLocation(e,"e"),this.c=t.getUniformLocation(e,"d"),this.a=t.getAttribLocation(e,"b"),this.f=t.getAttribLocation(e,"c")}function kc(t,e){Pc.call(this,t,e),this.D=Cc.Yb(),this.T=Ic.Yb(),this.c=null,this.C=new _u([0,0,0,1,1,0,1,1,0,1,0,0,1,1,1,0]),this.v=this.j=null,this.l=-1,this.O=[0,0]}function Fc(t,e){Pc.call(this,t,e),this.l=!1,this.O=-1,this.D=NaN,this.v=Ye(),this.j=this.c=this.C=null}function Nc(t,e){ip.call(this,0,e),this.a=document.createElement("CANVAS"),this.a.style.width="100%",this.a.style.height="100%",this.a.className="ol-unselectable",lr(t,this.a,0),this.v=this.C=0,this.D=is(),this.o=!0,this.b=ss(this.a,{antialias:!0,depth:!1,failIfMajorPerformanceCaveat:!0,preserveDrawingBuffer:!1,stencil:!0}),this.g=new Qu(this.a,this.b),Gt(this.a,"webglcontextlost",this.Em,!1,this),Gt(this.a,"webglcontextrestored",this.Fm,!1,this),this.f=new Yr,this.B=null,this.l=new hp(g(function(t){var e=t[1];t=t[2];var o=e[0]-this.B[0];e=e[1]-this.B[1];return 65536*Math.log(t)+Math.sqrt(o*o+e*e)/t},this),function(t){return t[0].$a()}),this.O=g(function(){if(!this.l.La()){yp(this.l);var t=lp(this.l);Dc(this,t[0],t[3],t[4])}},this),this.j=0,Uc(this)}function Dc(t,e,o,i){var r=t.b,n=e.$a();if(Vr(t.f,n))t=t.f.get(n),r.bindTexture(3553,t.mb),9729!=t.Sg&&(r.texParameteri(3553,10240,9729),t.Sg=9729),9729!=t.Tg&&(r.texParameteri(3553,10240,9729),t.Tg=9729);else{var s=r.createTexture();if(r.bindTexture(3553,s),0<i){var p=t.D.canvas,a=t.D;t.C!==o[0]||t.v!==o[1]?(p.width=o[0],p.height=o[1],t.C=o[0],t.v=o[1]):a.clearRect(0,0,o[0],o[1]),a.drawImage(e.Ta(),i,i,o[0],o[1],0,0,o[0],o[1]),r.texImage2D(3553,0,6408,6408,5121,p)}else r.texImage2D(3553,0,6408,6408,5121,e.Ta());r.texParameteri(3553,10240,9729),r.texParameteri(3553,10241,9729),r.texParameteri(3553,10242,33071),r.texParameteri(3553,10243,33071),t.f.set(n,{mb:s,Sg:9729,Tg:9729})}}function Oc(t,e,o){var i=t.i;if(te(i,e)){var r,n,s=t.g;for(t=new wc(s,(t=o.viewState).center,t.resolution,t.rotation,o.size,o.extent),i.s(new Ns(e,i,t,o,null,s)),(e=Object.keys(t.a).map(Number)).sort(q),o=0,i=e.length;o<i;++o)for(r=0,n=(s=t.a[e[o].toString()]).length;r<n;++r)s[r](t)}}function Uc(t){(t=t.b).activeTexture(33984),t.blendFuncSeparate(770,771,1,771),t.disable(2884),t.disable(2929),t.disable(3089),t.disable(2960)}function Bc(t){re.call(this);var e=Gc(t);this.nc=void 0!==t.loadTilesWhileAnimating&&t.loadTilesWhileAnimating,this.Cc=void 0!==t.loadTilesWhileInteracting&&t.loadTilesWhileInteracting,this.Xe=void 0!==t.pixelRatio?t.pixelRatio:cw,this.Yc=e.logos,this.v=new In(this.Eo,void 0,this),Pt(this,this.v),this.Db=Pe(),this.Ye=Pe(),this.Eb=0,this.b=null,this.wa=Ye(),this.D=this.U=null,this.a=document.createElement("DIV"),this.a.className="ol-viewport",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",vw&&Sr(this.a,"ol-touch"),this.l=document.createElement("DIV"),this.l.className="ol-overlaycontainer",this.a.appendChild(this.l),this.j=document.createElement("DIV"),this.j.className="ol-overlaycontainer-stopevent",Gt(this.j,["click","dblclick","mousedown","touchstart","MSPointerDown",Ow,ym?"DOMMouseScroll":"mousewheel"],jt),this.a.appendChild(this.j),Gt(t=new Rs(this),lt(Gw),this.Kg,!1,this),Pt(this,t),this.ga=e.keyboardEventTarget,this.C=new Zn,Gt(this.C,"key",this.Jg,!1,this),Pt(this,this.C),Gt(t=new $n(this.a),"mousewheel",this.Jg,!1,this),Pt(this,t),this.g=e.controls,this.c=e.interactions,this.i=e.overlays,this.V={},this.o=new e.Go(this.a,this),Pt(this,this.o),this.hb=new Kn,Pt(this,this.hb),this.T=this.B=null,this.O=[],this.pa=[],this.oa=new fp(g(this.qk,this),g(this.Zk,this)),this.fa={},Gt(this,ne("layergroup"),this.Ek,!1,this),Gt(this,ne("view"),this.$k,!1,this),Gt(this,ne("size"),this.Wk,!1,this),Gt(this,ne("target"),this.Yk,!1,this),this.I(e.values),this.g.forEach(function(t){t.setMap(this)},this),Gt(this.g,"add",function(t){t.element.setMap(this)},!1,this),Gt(this.g,"remove",function(t){t.element.setMap(null)},!1,this),this.c.forEach(function(t){t.setMap(this)},this),Gt(this.c,"add",function(t){t.element.setMap(this)},!1,this),Gt(this.c,"remove",function(t){t.element.setMap(null)},!1,this),this.i.forEach(this.mg,this),Gt(this.i,"add",function(t){this.mg(t.element)},!1,this),Gt(this.i,"remove",function(t){var e=t.element.Oa();void 0!==e&&delete this.V[e.toString()],t.element.setMap(null)},!1,this)}function Gc(t){var e=null;void 0!==t.keyboardEventTarget&&(e=c(t.keyboardEventTarget)?document.getElementById(t.keyboardEventTarget):t.keyboardEventTarget);var o={},i={};void 0===t.logo||"boolean"==typeof t.logo&&t.logo?i["data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAAHGAAABxgEXwfpGAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAhNQTFRF////AP//AICAgP//AFVVQECA////K1VVSbbbYL/fJ05idsTYJFtbbcjbJllmZszWWMTOIFhoHlNiZszTa9DdUcHNHlNlV8XRIVdiasrUHlZjIVZjaMnVH1RlIFRkH1RkH1ZlasvYasvXVsPQH1VkacnVa8vWIVZjIFRjVMPQa8rXIVVkXsXRsNveIFVkIFZlIVVj3eDeh6GmbMvXH1ZkIFRka8rWbMvXIFVkIFVjIFVkbMvWH1VjbMvWIFVlbcvWIFVla8vVIFVkbMvWbMvVH1VkbMvWIFVlbcvWIFVkbcvVbMvWjNPbIFVkU8LPwMzNIFVkbczWIFVkbsvWbMvXIFVkRnB8bcvW2+TkW8XRIFVkIlZlJVloJlpoKlxrLl9tMmJwOWd0Omh1RXF8TneCT3iDUHiDU8LPVMLPVcLPVcPQVsPPVsPQV8PQWMTQWsTQW8TQXMXSXsXRX4SNX8bSYMfTYcfTYsfTY8jUZcfSZsnUaIqTacrVasrVa8jTa8rWbI2VbMvWbcvWdJObdcvUdszUd8vVeJaee87Yfc3WgJyjhqGnitDYjaarldPZnrK2oNbborW5o9bbo9fbpLa6q9ndrL3ArtndscDDutzfu8fJwN7gwt7gxc/QyuHhy+HizeHi0NfX0+Pj19zb1+Tj2uXk29/e3uLg3+Lh3+bl4uXj4ufl4+fl5Ofl5ufl5ujm5+jmySDnBAAAAFp0Uk5TAAECAgMEBAYHCA0NDg4UGRogIiMmKSssLzU7PkJJT1JTVFliY2hrdHZ3foSFhYeJjY2QkpugqbG1tre5w8zQ09XY3uXn6+zx8vT09vf4+Pj5+fr6/P39/f3+gz7SsAAAAVVJREFUOMtjYKA7EBDnwCPLrObS1BRiLoJLnte6CQy8FLHLCzs2QUG4FjZ5GbcmBDDjxJBXDWxCBrb8aM4zbkIDzpLYnAcE9VXlJSWlZRU13koIeW57mGx5XjoMZEUqwxWYQaQbSzLSkYGfKFSe0QMsX5WbjgY0YS4MBplemI4BdGBW+DQ11eZiymfqQuXZIjqwyadPNoSZ4L+0FVM6e+oGI6g8a9iKNT3o8kVzNkzRg5lgl7p4wyRUL9Yt2jAxVh6mQCogae6GmflI8p0r13VFWTHBQ0rWPW7ahgWVcPm+9cuLoyy4kCJDzCm6d8PSFoh0zvQNC5OjDJhQopPPJqph1doJBUD5tnkbZiUEqaCnB3bTqLTFG1bPn71kw4b+GFdpLElKIzRxxgYgWNYc5SCENVHKeUaltHdXx0dZ8uBI1hJ2UUDgq82CM2MwKeibqAvSO7MCABq0wXEPiqWEAAAAAElFTkSuQmCC"]="http://openlayers.org/":c(p=t.logo)?i[p]="":f(p)&&(i[p.src]=p.href);p=t.layers instanceof ca?t.layers:new ca({layers:t.layers}),o.layergroup=p,o.target=t.target,o.view=void 0!==t.view?t.view:new Mi;var r,n,s,p=ip;for(void 0!==t.renderer?d(t.renderer)?r=t.renderer:c(t.renderer)&&(r=[t.renderer]):r=Vx,n=0,s=r.length;n<s;++n){var a=r[n];if("canvas"==a){if(fw){p=Du;break}}else{if("dom"==a){p=Vu;break}if("webgl"==a&&pw){p=Nc;break}}}return{controls:void 0!==t.controls?d(t.controls)?new qi(t.controls.slice()):t.controls:Mn(),interactions:void 0!==t.interactions?d(t.interactions)?new qi(t.interactions.slice()):t.interactions:ua(),keyboardEventTarget:e,logos:i,overlays:t=void 0!==t.overlays?d(t.overlays)?new qi(t.overlays.slice()):t.overlays:new qi,Go:p,values:o}}function Xc(t){re.call(this),this.xa=t.id,this.j=void 0===t.insertFirst||t.insertFirst,this.l=void 0===t.stopEvent||t.stopEvent,this.b=document.createElement("DIV"),this.b.className="ol-overlay-container",this.b.style.position="absolute",this.autoPan=void 0!==t.autoPan&&t.autoPan,this.g=void 0!==t.autoPanAnimation?t.autoPanAnimation:{},this.i=void 0!==t.autoPanMargin?t.autoPanMargin:20,this.a={Ud:"",pe:"",Oe:"",Pe:"",visible:!0},this.c=null,Gt(this,ne("element"),this.Ak,!1,this),Gt(this,ne("map"),this.Lk,!1,this),Gt(this,ne("offset"),this.Qk,!1,this),Gt(this,ne("position"),this.Sk,!1,this),Gt(this,ne("positioning"),this.Tk,!1,this),void 0!==t.element&&this.Xh(t.element),this.bi(void 0!==t.offset?t.offset:[0,0]),this.ei(void 0!==t.positioning?t.positioning:"top-left"),void 0!==t.position&&this.yf(t.position)}function Kc(t,e){var o,i=gr(t),r=new er(0,0);return o=i?gr(i):document,t!=(o=!um||9<=xm||br(ir(o))?o.documentElement:o.body)&&(o=Cr(t),i=mr(ir(i)),r.x=o.left+i.x,r.y=o.top+i.y),[r.x,r.y,r.x+e[0],r.y+e[1]]}function Yc(t,e){t.a.visible!==e&&(Nr(t.b,e),t.a.visible=e)}function Vc(t){var e=t.te(),o=t.$g();if(void 0!==e&&e.b&&void 0!==o){o=e.Pa(o);var i=e.Sa(),r=(e=t.b.style,t.Gg()),n=t.Hg(),s=r[0];r=r[1];"bottom-right"==n||"center-right"==n||"top-right"==n?(""!==t.a.pe&&(t.a.pe=e.left=""),s=Math.round(i[0]-o[0]-s)+"px",t.a.Oe!=s&&(t.a.Oe=e.right=s)):(""!==t.a.Oe&&(t.a.Oe=e.right=""),"bottom-center"!=n&&"center-center"!=n&&"top-center"!=n||(s-=kr(t.b).width/2),s=Math.round(o[0]+s)+"px",t.a.pe!=s&&(t.a.pe=e.left=s)),"bottom-left"==n||"bottom-center"==n||"bottom-right"==n?(""!==t.a.Pe&&(t.a.Pe=e.top=""),o=Math.round(i[1]-o[1]-r)+"px",t.a.Ud!=o&&(t.a.Ud=e.bottom=o)):(""!==t.a.Ud&&(t.a.Ud=e.bottom=""),"center-left"!=n&&"center-center"!=n&&"center-right"!=n||(r-=kr(t.b).height/2),o=Math.round(o[1]+r)+"px",t.a.Pe!=o&&(t.a.Pe=e.top=o)),Yc(t,!0)}else Yc(t,!1)}function Wc(t){t=t||{},this.i=void 0===t.collapsed||t.collapsed,this.j=void 0===t.collapsible||t.collapsible,this.j||(this.i=!1);var e=t.className?t.className:"ol-overviewmap",o=t.tipLabel?t.tipLabel:"Overview map",i=t.collapseLabel?t.collapseLabel:"\xab";this.B=c(i)?pr("SPAN",{},i):i,i=t.label?t.label:"\xbb",this.v=c(i)?pr("SPAN",{},i):i,Gt(o=pr("BUTTON",{type:"button",title:o},this.j&&!this.i?this.B:this.v),"click",this.Vl,!1,this);i=pr("DIV","ol-overviewmap-map");var r=this.b=new Bc({controls:new qi,interactions:new qi,target:i,view:t.view});t.layers&&t.layers.forEach(function(t){r.kg(t)},this);var n=pr("DIV","ol-overviewmap-box");this.l=new Xc({position:[0,0],positioning:"bottom-left",
  element:n}),this.b.lg(this.l),e=pr("DIV",e+" ol-unselectable ol-control"+(this.i&&this.j?" ol-collapsed":"")+(this.j?"":" ol-uncollapsible"),i,o),Kr.call(this,{element:e,render:t.render?t.render:zc,target:t.target})}function zc(){var t=this.a,e=this.b;if(t.b&&e.b){var o=t.Sa(),i=(t=t.aa().$c(o),e.Sa()),r=(o=e.aa().$c(i),e.Pa(no(t)));e=e.Pa(to(t)),e=new or(Math.abs(r[0]-e[0]),Math.abs(r[1]-e[1])),r=i[0],i=i[1];e.width<.1*r||e.height<.1*i||e.width>.75*r||e.height>.75*i?Zc(this):Ge(o,t)||(t=this.b,o=this.a.aa(),t.aa().kb(o.Ua()))}Hc(this)}function Zc(t){var e=t.a;t=t.b;var o=e.Sa();e=e.aa().$c(o),o=t.Sa();t=t.aa(),lo(e,1/(.1*Math.pow(2,Math.log(7.5)/Math.LN2/2))),t.kf(e,o)}function Hc(t){var e=t.a,o=t.b;if(e.b&&o.b){var i=e.Sa(),r=e.aa(),n=o.aa();o.Sa();e=r.Fa();var s,p=t.l;o=t.l.se(),r=r.$c(i),i=n.$(),n=Qe(r),r=so(r);(t=t.a.aa().Ua())&&(ve(s=[n[0]-t[0],n[1]-t[1]],e),ce(s,t)),p.yf(s),o&&(s=new or(Math.abs((n[0]-r[0])/i),Math.abs((r[1]-n[1])/i)),e=br(ir(gr(o))),!um||St("10")||e&&St("8")?(o=o.style,ym?o.MozBoxSizing="border-box":fm?o.WebkitBoxSizing="border-box":o.boxSizing="border-box",o.width=Math.max(s.width,0)+"px",o.height=Math.max(s.height,0)+"px"):(t=o.style,e?(e=Ur(o,"padding"),o=Gr(o),t.pixelWidth=s.width-o.left-e.left-e.right-o.right,t.pixelHeight=s.height-o.top-e.top-e.bottom-o.bottom):(t.pixelWidth=s.width,t.pixelHeight=s.height)))}}function Jc(t){Pr(t.element,"ol-collapsed"),t.i?cr(t.B,t.v):cr(t.v,t.B),t.i=!t.i;var e=t.b;t.i||e.b||(e.Vc(),Zc(t),Yt(e,"postrender",function(){Hc(this)},!1,t))}function qc(t){var e=(t=t||{}).className?t.className:"ol-scale-line";this.l=pr("DIV",e+"-inner"),this.j=pr("DIV",e+" ol-unselectable",this.l),this.v=null,this.B=void 0!==t.minWidth?t.minWidth:64,this.b=!1,this.O=void 0,this.C="",this.i=null,Kr.call(this,{element:this.j,render:t.render?t.render:$c,target:t.target}),Gt(this,ne("units"),this.V,!1,this),this.T(t.units||"metric")}function $c(t){(t=t.frameState)?this.v=t.viewState:this.v=null,_c(this)}function _c(t){if(i=t.v){var e=i.center,o=i.projection,i=o.getPointResolution(i.resolution,e),r=o.f,n=t.D();for("degrees"!=r||"metric"!=n&&"imperial"!=n&&"us"!=n&&"nautical"!=n?"degrees"!=r&&"degrees"==n?(t.i||(t.i=Lo(o,Ro("EPSG:4326"))),e=Math.cos(j(t.i(e)[1])),o=Om.radius,o/=Um[r],i*=180/(Math.PI*e*o)):t.i=null:(t.i=null,e=Math.cos(j(e[1])),i*=Math.PI*e*Om.radius/180),e=t.B*i,r="","degrees"==n?e<1/60?(r="\u2033",i*=3600):e<1?(r="\u2032",i*=60):r="\xb0":"imperial"==n?e<.9144?(r="in",i/=.0254):e<1609.344?(r="ft",i/=.3048):(r="mi",i/=1609.344):"nautical"==n?(i/=1852,r="nm"):"metric"==n?e<1?(r="mm",i*=1e3):e<1e3?r="m":(r="km",i/=1e3):"us"==n&&(e<.9144?(r="in",i*=39.37):e<1609.344?(r="ft",i/=.30480061):(r="mi",i/=1609.3472)),e=3*Math.floor(Math.log(t.B*i)/Math.log(10));;){if(o=Wx[e%3]*Math.pow(10,Math.floor(e/3)),n=Math.round(o/i),isNaN(n))return Nr(t.j,!1),void(t.b=!1);if(n>=t.B)break;++e}i=o+" "+r,t.C!=i&&(t.l.innerHTML=i,t.C=i),t.O!=n&&(t.l.style.width=n+"px",t.O=n),t.b||(Nr(t.j,!0),t.b=!0)}else t.b&&(Nr(t.j,!1),t.b=!1)}function Qc(t){Mt.call(this),this.f=t,this.a={}}function ty(t){pt(t.a,function(t,e){this.a.hasOwnProperty(e)&&Wt(t)},t),t.a={}}function ey(t,e,o){_t.call(this),this.target=t,this.handle=e||t,this.a=o||new Er(NaN,NaN,NaN,NaN),this.i=gr(t),this.f=new Qc(this),Pt(this,this.f),this.g=this.c=this.o=this.l=this.screenY=this.screenX=this.clientY=this.clientX=0,this.b=!1,Gt(this.handle,["touchstart","mousedown"],this.ji,!1,this)}function oy(t,e,o){var i=mr(ir(t.i));return e+=i.x-t.j.x,o+=i.y-t.j.y,t.j=i,t.c+=e,t.g+=o,new er(ry(t,t.c),ny(t,t.g))}function iy(t,e,o,i){t.target.style.left=o+"px",t.target.style.top=i+"px",t.s(new sy("drag",t,e.clientX,e.clientY,0,o,i))}function ry(t,e){var o=t.a,i=isNaN(o.left)?null:o.left;o=isNaN(o.width)?0:o.width;return Math.min(null!=i?i+o:Infinity,Math.max(null!=i?i:-Infinity,e))}function ny(t,e){var o=t.a,i=isNaN(o.top)?null:o.top;o=isNaN(o.height)?0:o.height;return Math.min(null!=i?i+o:Infinity,Math.max(null!=i?i:-Infinity,e))}function sy(t,e,o,i,r,n,s){Et.call(this,t),this.clientX=o,this.clientY=i,this.left=h(n)?n:e.c,this.top=h(s)?s:e.g}function py(t){t=t||{},this.i=void 0,this.j=Hx,this.l=null,this.v=!1,this.B=void 0!==t.duration?t.duration:200;var e=pr("BUTTON",{type:"button","class":(o=t.className?t.className:"ol-zoomslider")+"-thumb ol-unselectable"}),o=pr("DIV",[o,"ol-unselectable","ol-control"],e);this.b=new ey(e),Pt(this,this.b),Gt(this.b,"start",this.zk,!1,this),Gt(this.b,"drag",this.xk,!1,this),Gt(this.b,"end",this.yk,!1,this),Gt(o,"click",this.wk,!1,this),Gt(e,"click",jt),Kr.call(this,{element:o,render:t.render?t.render:ay})}function ay(t){if(t.frameState){if(!this.v){var e=kr(o=this.element),o=Ur(r=yr(o),"margin"),i=new or(r.offsetWidth,r.offsetHeight),r=i.width+o.right+o.left;o=i.height+o.top+o.bottom;this.l=[r,o],r=e.width-r,o=e.height-o,e.width>e.height?(this.j=1,e=new Er(0,0,r,0)):(this.j=Hx,e=new Er(0,0,0,o)),this.b.a=e||new Er(NaN,NaN,NaN,NaN),this.v=!0}(t=t.frameState.viewState.resolution)!==this.i&&(this.i=t,t=1-Ti(this.a.aa())(t),e=this.b,o=yr(this.element),1==this.j?Rr(o,e.a.left+e.a.width*t):Rr(o,e.a.left,e.a.top+e.a.height*t))}}function hy(t,e,o){var i=t.b.a;return P(1===t.j?(e-i.left)/i.width:(o-i.top)/i.height,0,1)}function ly(t,e){return Pi(t.a.aa())(1-e)}function uy(t){t=t||{},this.b=t.extent?t.extent:null;var e=t.className?t.className:"ol-zoom-extent",o=pr("BUTTON",{type:"button",title:t.tipLabel?t.tipLabel:"Fit to extent"},t.label?t.label:"E");Gt(o,"click",this.i,!1,this),e=pr("DIV",e+" ol-unselectable ol-control",o),Kr.call(this,{element:e,target:t.target})}function cy(t){re.call(this),t=t||{},this.a=null,Gt(this,ne("tracking"),this.yl,!1,this),this.vf(void 0!==t.tracking&&t.tracking)}function yy(){this.defaultDataProjection=null}function fy(t,e,o){var i;return o&&(i={dataProjection:o.dataProjection?o.dataProjection:t.Ia(e),featureProjection:o.featureProjection}),gy(t,i)}function gy(t,e){var o;return e&&(o={featureProjection:e.featureProjection,dataProjection:e.dataProjection?e.dataProjection:t.defaultDataProjection,rightHanded:e.rightHanded}),o}function dy(t,e,o){var i=o?Ro(o.featureProjection):null;return o=o?Ro(o.dataProjection):null,i&&o&&!Co(i,o)?t instanceof Oo?(e?t.clone():t).lb(e?i:o,e?o:i):Do(e?t.slice():t,e?i:o,e?o:i):t}function vy(){this.defaultDataProjection=null}function by(t){return f(t)?t:c(t)&&(t=bx(t))?t:null}function my(t,e,o,i,r){var n=NaN,s=NaN;if(0!==(a=(o-e)/i))if(1==a)n=t[e],s=t[e+1];else if(2==a)n=.5*t[e]+.5*t[e+i],s=.5*t[e+1]+.5*t[e+i+1];else{s=t[e];var p,a=t[e+1],h=0;n=[0];for(p=e+i;p<o;p+=i){var l=t[p],u=t[p+1];h=h+Math.sqrt((l-s)*(l-s)+(u-a)*(u-a));n.push(h),s=l,a=u}o=.5*h;var c;for(s=Z,a=0,h=n.length;a<h;)0<(l=s(o,n[p=a+h>>1]))?a=p+1:(h=p,c=!l);(c=c?a:~a)<0?(o=(o-n[-c-2])/(n[-c-1]-n[-c-2]),n=ue(t[e+=(-c-2)*i],t[e+i],o),s=ue(t[e+1],t[e+i+1],o)):(n=t[e+c*i],s=t[e+c*i+1])}return r?(r[0]=n,r[1]=s,r):[n,s]}function wy(t,e,o,i,r,n){if(o==e)return null;if(r<t[e+i-1])return n?((o=t.slice(e,e+i))[i-1]=r,o):null;if(t[o-1]<r)return n?((o=t.slice(o-i,o))[i-1]=r,o):null;if(r==t[e+i-1])return t.slice(e,e+i);for(e/=i,o/=i;e<o;)r<t[((n=e+o>>1)+1)*i-1]?o=n:e=n+1;if(r==(o=t[e*i-1]))return t.slice((e-1)*i,(e-1)*i+i);var s;for(n=(r-o)/(t[(e+1)*i-1]-o),o=[],s=0;s<i-1;++s)o.push(ue(t[(e-1)*i+s],t[e*i+s],n));return o.push(r),o}function xy(t,e,o,i,r,n){var s=0;if(n)return wy(t,s,e[e.length-1],o,i,r);if(i<t[o-1])return r?((t=t.slice(0,o))[o-1]=i,t):null;if(t[t.length-1]<i)return r?((t=t.slice(t.length-o))[o-1]=i,t):null;for(r=0,n=e.length;r<n;++r){var p=e[r];if(s!=p){if(i<t[s+o-1])break;if(i<=t[p-1])return wy(t,s,p,o,i,!1);s=p}}return null}function Sy(t,e){Bo.call(this),this.g=null,this.C=this.D=this.l=-1,this.la(t,e)}function My(t){return t.l!=t.f&&(t.g=my(t.A,0,t.A.length,t.a,t.g),t.l=t.f),t.g}function Py(t,e){Bo.call(this),this.g=[],this.l=this.C=-1,this.la(t,e)}function Ty(t){var e,o,i=[],r=t.A,n=0,s=t.g;for(t=t.a,e=0,o=s.length;e<o;++e){var p=s[e];X(i,n=my(r,n,p,t)),n=p}return i}function Ey(t,e){var o,i,r=t.b,n=[],s=[];for(o=0,i=e.length;o<i;++o){var p=e[o];0===o&&(r=p.b),X(n,p.ia()),s.push(n.length)}t.ba(r,n,s)}function jy(t,e){Bo.call(this),this.la(t,e)}function Ay(t,e){Bo.call(this),this.g=[],this.C=-1,this.D=null,this.T=this.O=this.U=-1,this.l=null,this.la(t,e)}function Ry(t){if(t.C!=t.f){var e,o,i=t.A,r=t.g,n=t.a,s=0,p=[],a=Ye();for(e=0,o=r.length;e<o;++e){var h=r[e];a=ze(i,s,h[0],n);p.push((a[0]+a[2])/2,(a[1]+a[3])/2),s=h[h.length-1]}for(i=Cy(t),r=t.g,n=t.a,e=[],o=s=0,a=r.length;o<a;++o)e=hi(i,s,h=r[o],n,p,2*o,e),s=h[h.length-1];t.D=e,t.C=t.f}return t.D}function Cy(t){if(t.T!=t.f){var e,o=t.A;t:{var i,r;for(i=0,r=(e=t.g).length;i<r;++i)if(!fi(o,e[i],t.a,void 0)){e=!1;break t}e=!0}e?t.l=o:(t.l=o.slice(),t.l.length=di(t.l,t.g,t.a)),t.T=t.f}return t.l}function Iy(t,e,o,i){Xo(t,e,o),t.g=i,t.u()}function Ly(t,e){var o,i,r,n=t.b,s=[],p=[];for(o=0,i=e.length;o<i;++o){var a=e[o];0===o&&(n=a.b);var h,l,u=s.length;for(h=0,l=(r=a.zb()).length;h<l;++h)r[h]+=u;X(s,a.ia()),p.push(r)}Iy(t,n,s,p)}function ky(t){t=t||{},this.defaultDataProjection=null,this.a=t.geometryName}function Fy(t,e){if(!t)return null;var o;if(u(t.x)&&u(t.y))o="Point";else if(t.points)o="MultiPoint";else if(t.paths)o=1===t.paths.length?"LineString":"MultiLineString";else if(t.rings){var i,r,n=t.rings,s=Ny(t),p=[];for(o=[],i=0,r=n.length;i<r;++i){var a=J(n[i]);yi(a,0,a.length,s.length)?p.push([n[i]]):o.push(n[i])}for(;o.length;){for(n=o.shift(),s=!1,i=p.length-1;0<=i;i--)if(Ge(new ii(p[i][0]).J(),new ii(n).J())){p[i].push(n),s=!0;break}s||p.push([n.reverse()])}t=vt(t),1===p.length?(o="Polygon",t.rings=p[0]):(o="MultiPolygon",t.rings=p)}return dy((0,Jx[o])(t),!1,e)}function Ny(t){var e="XY";return!0===t.hasZ&&!0===t.hasM?e="XYZM":!0===t.hasZ?e="XYZ":!0===t.hasM&&(e="XYM"),e}function Dy(t){return{hasZ:"XYZ"===(t=t.b)||"XYZM"===t,hasM:"XYM"===t||"XYZM"===t}}function Oy(t,e){return(0,qx[t.W()])(dy(t,!0,e),e)}function Uy(t){Oo.call(this),this.c=t||null,Xy(this)}function By(t){var e,o,i=[];for(e=0,o=t.length;e<o;++e)i.push(t[e].clone());return i}function Gy(t){var e,o;if(t.c)for(e=0,o=t.c.length;e<o;++e)Vt(t.c[e],"change",t.u,!1,t)}function Xy(t){var e,o;if(t.c)for(e=0,o=t.c.length;e<o;++e)Gt(t.c[e],"change",t.u,!1,t)}function Ky(t){t=t||{},this.defaultDataProjection=null,this.defaultDataProjection=Ro(t.defaultDataProjection?t.defaultDataProjection:"EPSG:4326"),this.a=t.geometryName}function Yy(t,e){return t?dy((0,$x[t.type])(t),!1,e):null}function Vy(t,e){return(0,_x[t.W()])(dy(t,!0,e),e)}function Wy(){this.defaultDataProjection=null}function zy(t,e,o){return 0<(t=Zy(t,e,o)).length?t[0]:null}function Zy(t,e,o){var i=[];for(e=e.firstChild;e;e=e.nextSibling)1==e.nodeType&&X(i,t.ic(e,o));return i}function Hy(t){t=t||{},this.featureType=t.featureType,this.featureNS=t.featureNS,this.srsName=t.srsName,this.schemaLocation="",this.a={},this.a["http://www.opengis.net/gml"]={featureMember:Wl(Hy.prototype.Ed),featureMembers:Wl(Hy.prototype.Ed)},this.defaultDataProjection=null}function Jy(t){return qy(t=Al(t,!1))}function qy(t){if(t=/^\s*(true|1)|(false|0)\s*$/.exec(t))return void 0!==t[1]||!1}function $y(t){if(t=Al(t,!1),t=/^\s*(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(Z|(?:([+\-])(\d{2})(?::(\d{2}))?))\s*$/.exec(t)){var e=Date.UTC(parseInt(t[1],10),parseInt(t[2],10)-1,parseInt(t[3],10),parseInt(t[4],10),parseInt(t[5],10),parseInt(t[6],10))/1e3;if("Z"!=t[7]){var o="-"==t[8]?-1:1;e=e+60*o*parseInt(t[9],10);void 0!==t[10]&&(e+=3600*o*parseInt(t[10],10))}return e}}function _y(t){return Qy(t=Al(t,!1))}function Qy(t){if(t=/^\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)\s*$/i.exec(t))return parseFloat(t[1])}function tf(t){return ef(t=Al(t,!1))}function ef(t){if(t=/^\s*(\d+)\s*$/.exec(t))return parseInt(t[1],10)}function of(t){return Al(t,!1).trim()}function rf(t,e){pf(t,e?"1":"0")}function nf(t,e){t.appendChild(Lx.createTextNode(e.toPrecision()))}function sf(t,e){t.appendChild(Lx.createTextNode(e.toString()))}function pf(t,e){t.appendChild(Lx.createTextNode(e))}function af(t){t=t||{},Hy.call(this,t),this.a["http://www.opengis.net/gml"].featureMember=Vl(Hy.prototype.Ed),this.schemaLocation=t.schemaLocation?t.schemaLocation:"http://www.opengis.net/gml http://schemas.opengis.net/gml/2.1.2/feature.xsd"}function hf(t){t=t||{},Hy.call(this,t),this.l=void 0!==t.surface&&t.surface,this.g=void 0!==t.curve&&t.curve,this.i=void 0===t.multiCurve||t.multiCurve,this.j=void 0===t.multiSurface||t.multiSurface,this.schemaLocation=t.schemaLocation?t.schemaLocation:"http://www.opengis.net/gml http://schemas.opengis.net/gml/3.1.1/profiles/gmlsfProfile/1.0.0/gmlsf.xsd"}function lf(t,e,o){o=o[o.length-1].srsName;for(var i,r=(e=e.Z()).length,n=Array(r),s=0;s<r;++s){i=e[s];var p=s,a="enu";o&&(a=wo(Ro(o))),n[p]="en"===a.substr(0,2)?i[0]+" "+i[1]:i[1]+" "+i[0]}pf(t,n.join(" "))}function uf(t){t=t||{},this.defaultDataProjection=null,this.defaultDataProjection=Ro("EPSG:4326"),this.a=t.readExtensions}function cf(t,e,o){return t.push(parseFloat(e.getAttribute("lon")),parseFloat(e.getAttribute("lat"))),"ele"in o?(t.push(o.ele),delete o.ele):t.push(0),"time"in o?(t.push(o.time),delete o.time):t.push(0),t}function yf(t,e){var o=e[e.length-1],i=t.getAttribute("href");null!==i&&(o.link=i),Ql(hS,t,e)}function ff(t,e){e[e.length-1].extensionsNode_=t}function gf(t,e){var o=e[0],i=tu({flatCoordinates:[]},lS,t,e);if(i){var r=i.flatCoordinates;delete i.flatCoordinates;var n=new Sy(null);return n.ba("XYZM",r),dy(n,!1,o),(o=new Ah(n)).I(i),o}}function df(t,e){var o=e[0],i=tu({flatCoordinates:[],ends:[]},cS,t,e);if(i){var r=i.flatCoordinates;delete i.flatCoordinates;var n=i.ends;delete i.ends;var s=new Py(null);return s.ba("XYZM",r,n),dy(s,!1,o),(o=new Ah(s)).I(i),o}}function vf(t,e){var o,i=e[0],r=tu({},gS,t,e);if(r)return dy(o=new ni(o=cf([],t,r),"XYZM"),!1,i),(i=new Ah(o)).I(r),i}function bf(t,e){e||(e=[]);for(var o=0,i=e.length;o<i;++o){var r=e[o];if(t.a){var n=r.get("extensionsNode_")||null;t.a(r,n)}r.set("extensionsNode_",void 0)}}function mf(t,e,o){t.setAttribute("href",e),e=o[o.length-1].properties,ou({node:t},vS,Gx,[e.linkText,e.linkType],o,dS)}function wf(t,e,o){var i=o[o.length-1],r=i.node.namespaceURI,n=i.properties;switch(Bx(t,null,"lat",e[1]),Bx(t,null,"lon",e[0]),i.geometryLayout){case"XYZM":0!==e[3]&&(n.time=e[3]);case"XYZ":0!==e[2]&&(n.ele=e[2]);break;case"XYM":0!==e[2]&&(n.time=e[2])}i=$l(n,e=PS[r]),ou({node:t,properties:n},TS,Gx,i,o,e)}function xf(t,e){var o=t.X();if(o&&(o=ES[o.W()]))return kx(e[e.length-1].node.namespaceURI,o)}function Sf(t){return F(t=Pf(t),function(t){return t.b.substring(t.f,t.a)})}function Mf(t,e,o){this.b=t,this.f=e,this.a=o}function Pf(t){for(var e,o=RegExp("\r\n|\r|\n","g"),i=0,r=[];e=o.exec(t);)i=new Mf(t,i,e.index),r.push(i),i=o.lastIndex;return i<t.length&&(i=new Mf(t,i,t.length),r.push(i)),r}function Tf(){this.defaultDataProjection=null}function Ef(t){t=t||{},this.defaultDataProjection=null,this.defaultDataProjection=Ro("EPSG:4326"),this.a=t.altitudeMode?t.altitudeMode:"none"}function jf(t,e){var o;this.f=this.j=this.c="",this.l=null,this.g=this.a="",this.i=!1,t instanceof jf?(this.i=h(e)?e:t.i,Af(this,t.c),this.j=t.j,this.f=t.f,Rf(this,t.l),this.a=t.a,Cf(this,t.b.clone()),this.g=t.g):t&&(o=String(t).match(wx))?(this.i=!!e,Af(this,o[1]||"",!0),this.j=kf(o[2]||""),this.f=kf(o[3]||"",!0),Rf(this,o[4]),this.a=kf(o[5]||"",!0),Cf(this,o[6]||"",!0),this.g=kf(o[7]||"")):(this.i=!!e,this.b=new Df(null,0,this.i))}function Af(t,e,o){t.c=o?kf(e,!0):e,t.c&&(t.c=t.c.replace(/:$/,""))}function Rf(t,e){if(e){if(e=Number(e),isNaN(e)||e<0)throw Error("Bad port number "+e);t.l=e}else t.l=null}function Cf(t,e,o){e instanceof Df?(t.b=e,Xf(t.b,t.i)):(o||(e=Ff(e,FS)),t.b=new Df(e,0,t.i))}function If(t){return t instanceof jf?t.clone():new jf(t,void 0)}function Lf(t,e){t instanceof jf||(t=If(t)),e instanceof jf||(e=If(e));var o=e,i=(s=t).clone(),r=!!o.c;r?Af(i,o.c):r=!!o.j,r?i.j=o.j:r=!!o.f,r?i.f=o.f:r=null!=o.l;var n=o.a;if(r)Rf(i,o.l);else if(r=!!o.a)if("/"!=n.charAt(0)&&(s.f&&!s.a?n="/"+n:-1!=(s=i.a.lastIndexOf("/"))&&(n=i.a.substr(0,s+1)+n)),".."==(s=n)||"."==s)n="";else if(-1!=s.indexOf("./")||-1!=s.indexOf("/.")){n=0==s.lastIndexOf("/",0);for(var s=s.split("/"),p=[],a=0;a<s.length;){var h=s[a++];"."==h?n&&a==s.length&&p.push(""):".."==h?((1<p.length||1==p.length&&""!=p[0])&&p.pop(),n&&a==s.length&&p.push("")):(p.push(h),n=!0)}n=p.join("/")}else n=s;return r?i.a=n:r=""!==o.b.toString(),r?Cf(i,kf(o.b.toString())):r=!!o.g,r&&(i.g=o.g),i}function kf(t,e){return t?e?decodeURI(t.replace(/%25/g,"%2525")):decodeURIComponent(t):""}function Ff(t,e,o){return c(t)?(t=encodeURI(t).replace(e,Nf),o&&(t=t.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),t):null}function Nf(t){return"%"+((t=t.charCodeAt(0))>>4&15).toString(16)+(15&t).toString(16)}function Df(t,e,o){this.f=this.a=null,this.b=t||null,this.c=!!o}function Of(o){o.a||(o.a=new Un,o.f=0,o.b&&nl(o.b,function(t,e){o.add(decodeURIComponent(t.replace(/\+/g," ")),e)}))}function Uf(t,e){return Of(t),e=Gf(t,e),Gn(t.a.f,e)}function Bf(t,e,o){t.remove(e),0<o.length&&(t.b=null,t.a.set(Gf(t,e),G(o)),t.f+=o.length)}function Gf(t,e){var o=String(e);return t.c&&(o=o.toLowerCase()),o}function Xf(t,e){e&&!t.c&&(Of(t),t.b=null,t.a.forEach(function(t,e){var o=e.toLowerCase();e!=o&&(this.remove(e),Bf(this,o,t))},t)),t.c=e}function Kf(t){t=t||{},this.b=t.font,this.i=t.rotation,this.f=t.scale,this.G=t.text,this.l=t.textAlign,this.o=t.textBaseline,this.a=void 0!==t.fill?t.fill:new wa({color:"#333"}),this.j=void 0!==t.stroke?t.stroke:null,this.c=void 0!==t.offsetX?t.offsetX:0,this.g=void 0!==t.offsetY?t.offsetY:0}function Yf(t){t=t||{},this.defaultDataProjection=null,this.defaultDataProjection=Ro("EPSG:4326"),this.b=t.defaultStyle?t.defaultStyle:WS,this.c=void 0===t.extractStyles||t.extractStyles,this.i=void 0===t.writeStyles||t.writeStyles,this.a={},this.g=void 0===t.showPointNames||t.showPointNames}function Vf(t,e){var o=null,i=[0,0],r="start";return t.f&&(o=t.f.rd())&&2==o.length&&(i[0]=t.f.j*o[0]/2,i[1]=-t.f.j*o[1]/2,r="left"),yt(t.Ca())?o=new Kf({text:e,offsetX:i[0],offsetY:i[1],textAlign:r}):((o=vt(t.Ca())).fi(e),o.gi(r),o.ci(i[0]),o.di(i[1])),new ja({text:o})}function Wf(i,r,n,s,p){return function(){var t=p,e="";if(t&&this.X()&&(t="Point"===this.X().W()),t&&(e=this.R().name,t=t&&e),i)return t?(t=Vf(i[0],e),i.concat(t)):i;if(r){var o=zf(r,n,s);return t?(t=Vf(o[0],e),o.concat(t)):o}return t?(t=Vf(n[0],e),n.concat(t)):n}}function zf(t,e,o){return d(t)?t:c(t)?(!(t in o)&&"#"+t in o&&(t="#"+t),zf(o[t],e,o)):e}function Zf(t){if(t=Al(t,!1),t=/^\s*#?\s*([0-9A-Fa-f]{8})\s*$/.exec(t))return t=t[1],[parseInt(t.substr(6,2),16),parseInt(t.substr(4,2),16),parseInt(t.substr(2,2),16),parseInt(t.substr(0,2),16)/255]}function Hf(t){t=Al(t,!1);for(var e,o=[],i=/^\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)\s*,\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)(?:\s*,\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?))?\s*/i;e=i.exec(t);)o.push(parseFloat(e[1]),parseFloat(e[2]),e[3]?parseFloat(e[3]):0),t=t.substr(e[0].length);return""!==t?void 0:o}function Jf(t){var e=Al(t,!1);return t.baseURI?Lf(t.baseURI,e.trim()).toString():e.trim()}function qf(t){if(void 0!==(t=_y(t)))return Math.sqrt(t)}function $f(t,e){return tu(null,qS,t,e)}function _f(t,e){if(n=tu({A:[],oi:[]},_S,t,e)){var o,i,r=n.A,n=n.oi;for(o=0,i=Math.min(r.length,n.length);o<i;++o)r[4*o+3]=n[o];return(n=new Sy(null)).ba("XYZM",r),n}}function Qf(t,e){var o=tu({},JS,t,e),i=tu(null,QS,t,e);if(i){var r=new Sy(null);return r.ba("XYZ",i),r.I(o),r}}function tg(t,e){var o=tu({},JS,t,e),i=tu(null,QS,t,e);if(i){var r=new vi(null);return r.ba("XYZ",i,[i.length]),r.I(o),r}}function eg(t,e){var o=tu([],nM,t,e);if(!o)return null;if(0===o.length)return new Uy(o);var i,r,n,s=!0,p=o[0].W();for(r=1,n=o.length;r<n;++r)if((i=o[r]).W()!=p){s=!1;break}if(s){if("Point"!=p)return"LineString"==p?(Ey(i=new Py(null),o),ng(i,o),i):"Polygon"==p?(Ly(i=new Ay(null),o),ng(i,o),i):"GeometryCollection"==p?new Uy(o):null;for(s=(i=o[0]).b,p=i.ia(),r=1,n=o.length;r<n;++r)X(p,(i=o[r]).ia());return(i=new jy(null)).ba(s,p),ng(i,o),i}return new Uy(o)}function og(t,e){var o=tu({},JS,t,e),i=tu(null,QS,t,e);if(i){var r=new ni(null);return r.ba("XYZ",i),r.I(o),r}}function ig(t,e){var o=tu({},JS,t,e),i=tu([null],$S,t,e);if(i&&i[0]){var r,n,s=new vi(null),p=i[0],a=[p.length];for(r=1,n=i.length;r<n;++r)X(p,i[r]),a.push(p.length);return s.ba("XYZ",p,a),s.I(o),s}}function rg(t,e){if(!(i=tu({},fM,t,e)))return null;var o="fillStyle"in i?i.fillStyle:BS;void 0===(r=i.fill)||r||(o=null);var i,r="imageStyle"in i?i.imageStyle:KS,n="textStyle"in i?i.textStyle:VS,s="strokeStyle"in i?i.strokeStyle:YS;return void 0===(i=i.outline)||i||(s=null),[new ja({fill:o,image:r,stroke:s,text:n,zIndex:void 0})]}function ng(t,e){var o,i,r,n,s=e.length,p=Array(e.length),a=Array(e.length);for(r=n=!1,i=0;i<s;++i)o=e[i],p[i]=o.get("extrude"),a[i]=o.get("altitudeMode"),r=r||void 0!==p[i],n=n||a[i];r&&t.set("extrude",p),n&&t.set("altitudeMode",a)}function sg(t,e){Ql(HS,t,e)}function pg(t,e){var o;for(o=e.firstChild;o;o=o.nextSibling)if(1==o.nodeType){var i=ag(t,o);if(i)return i}}function ag(t,e){var o;for(o=e.firstElementChild;o;o=o.nextElementSibling)if($(OS,o.namespaceURI)&&"name"==o.localName)return of(o);for(o=e.firstElementChild;o;o=o.nextElementSibling){var i=Fx(o);if($(OS,o.namespaceURI)&&("Document"==i||"Folder"==i||"Placemark"==i||"kml"==i)&&(i=ag(t,o)))return i}}function hg(t,e){var o,i=[];for(o=e.firstChild;o;o=o.nextSibling)1==o.nodeType&&X(i,lg(t,o));return i}function lg(t,e){var o,i=[];for(o=e.firstElementChild;o;o=o.nextElementSibling)if($(OS,o.namespaceURI)&&"NetworkLink"==o.localName){var r=tu({},pM,o,[]);i.push(r)}for(o=e.firstElementChild;o;o=o.nextElementSibling)r=Fx(o),!$(OS,o.namespaceURI)||"Document"!=r&&"Folder"!=r&&"kml"!=r||X(i,lg(t,o));return i}function ug(t,e){var o,i=[255*(4==(i=_i(e)).length?i[3]:1),i[2],i[1],i[0]];for(o=0;o<4;++o){var r=parseInt(i[o],10).toString(16);i[o]=1==r.length?"0"+r:r}pf(t,i.join(""))}function cg(t,e,o){ou({node:t},LM,zM,[e],o)}function yg(t,e,o){var i={node:t};e.Oa()&&t.setAttribute("id",e.Oa()),t=e.R();var r=e.ac();if(r&&(r=r.call(e,0))&&0<r.length){var n=r[0];this.i&&(t.Style=r[0]),(r=n.Ca())&&(t.name=r.Ca())}t=$l(t,r=FM[o[o.length-1].node.namespaceURI]),ou(i,NM,Gx,t,o,r),t=o[0],(e=e.X())&&(e=dy(e,!0,t)),ou(i,NM,mg,[e],o)}function fg(t,e,o){var i=e.ia();(t={node:t}).layout=e.b,t.stride=e.ra(),ou(t,DM,KM,[i],o)}function gg(t,e,o){var i=(e=e.be()).shift();ou(t={node:t},OM,YM,e,o),ou(t,OM,HM,[i],o)}function dg(t,e){nf(t,e*e)}function vg(t,e,o){return kx(DS[0],"gx:"+o)}function bg(t,e){return kx(e[e.length-1].node.namespaceURI,"Placemark")}function mg(t,e){if(t)return kx(e[e.length-1].node.namespaceURI,MM[t.W()])}function wg(t){this.defaultDataProjection=null,t=t||{},this.defaultDataProjection=new mo({code:"EPSG:3857",units:"tile-pixels"}),this.a=t.featureClass?t.featureClass:lh,this.c=t.geometryName?t.geometryName:"geometry",this.f=t.layerName?t.layerName:"layer",this.b=t.layers?t.layers:null}function xg(t,e,o){for(var i,r,n=0,s=0,p=t.length;s<p;++s){for(var a=0,h=(i=t[s]).length;a<h;++a)r=i[a],e.push(r.x,r.y);n+=2*a,o.push(n)}}function Sg(){this.defaultDataProjection=null,this.defaultDataProjection=Ro("EPSG:4326")}function Mg(t,e){e[e.length-1].Jd[t.getAttribute("k")]=t.getAttribute("v")}function Pg(t){return t.getAttributeNS("http://www.w3.org/1999/xlink","href")}function Tg(){}function Eg(){}function jg(t,e,o,i){var r,n,s;for(r=void 0!==i?i:[],n=i=0;n<e;)for(s=t[n++],r[i++]=t[n++],r[i++]=s,s=2;s<o;++s)r[i++]=t[n++];r.length=i}function Ag(t){t=t||{},this.defaultDataProjection=null,this.defaultDataProjection=Ro("EPSG:4326"),this.a=t.factor?t.factor:1e5,this.f=t.geometryLayout?t.geometryLayout:"XY"}function Rg(t,e,o){var i,r,n,s=Array(e);for(i=0;i<e;++i)s[i]=0;for(r=0,n=t.length;r<n;)for(i=0;i<e;++i,++r){var p=t[r],a=p-s[i];s[i]=p,t[r]=a}return Ig(t,o||1e5)}function Cg(t,e,o){var i,r,n=Array(e);for(i=0;i<e;++i)n[i]=0;for(t=Lg(t,o||1e5),o=0,r=t.length;o<r;)for(i=0;i<e;++i,++o)n[i]+=t[o],t[o]=n[i];return t}function Ig(t,e){var o,i,r=e||1e5;for(o=0,i=t.length;o<i;++o)t[o]=Math.round(t[o]*r);for(r=0,o=t.length;r<o;++r)i=t[r],t[r]=i<0?~(i<<1):i<<1;for(r="",o=0,i=t.length;o<i;++o){for(var n=t[o],s=void 0,p="";32<=n;)s=63+(32|31&n),p+=String.fromCharCode(s),n>>=5;s=n+63,r+=p+=String.fromCharCode(s)}return r}function Lg(t,e){var o,i,r=e||1e5,n=[],s=0,p=0;for(o=0,i=t.length;o<i;++o){var a=t.charCodeAt(o)-63;s=s|(31&a)<<p;a<32?(n.push(s),p=s=0):p+=5}for(s=0,p=n.length;s<p;++s)o=n[s],n[s]=1&o?~(o>>1):o>>1;for(s=0,p=n.length;s<p;++s)n[s]/=r;return n}function kg(t){t=t||{},this.defaultDataProjection=null,this.defaultDataProjection=Ro(t.defaultDataProjection?t.defaultDataProjection:"EPSG:4326")}function Fg(t,e){var o,i,r,n,s=[];for(r=0,n=t.length;r<n;++r)o=t[r],0<r&&s.pop(),i=0<=o?e[o]:e[~o].slice().reverse(),s.push.apply(s,i);for(o=0,i=s.length;o<i;++o)s[o]=s[o].slice();return s}function Ng(t,e,o,i,r){var n,s,p=[];for(n=0,s=(t=t.geometries).length;n<s;++n)p[n]=Dg(t[n],e,o,i,r);return p}function Dg(t,e,o,i,r){var n=t.type,s=fP[n];return e="Point"===n||"MultiPoint"===n?s(t,o,i):s(t,e),(o=new Ah).Ma(dy(e,!1,r)),void 0!==t.id&&o.jc(t.id),t.properties&&o.I(t.properties),o}function Og(t,e,o){t[0]=t[0]*e[0]+o[0],t[1]=t[1]*e[1]+o[1]}function Ug(t){t=t||{},this.g=t.featureType,this.b=t.featureNS,this.a=t.gmlFormat?t.gmlFormat:new hf,this.c=t.schemaLocation?t.schemaLocation:"http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd",this.defaultDataProjection=null}function Bg(t,e){for(var o=e.firstChild;o;o=o.nextSibling)if(1==o.nodeType)return Gg(t,o)}function Gg(t,e){var o={},i=ef(e.getAttribute("numberOfFeatures"));return o.numberOfFeatures=i,tu(o,gP,e,[],t.a)}function Xg(t){for(t=t.firstChild;t;t=t.nextSibling)if(1==t.nodeType)return tu({},mP,t,[])}function Kg(t,e){var o=kx("http://www.opengis.net/ogc","Filter"),i=kx("http://www.opengis.net/ogc","FeatureId");o.appendChild(i),i.setAttribute("fid",e),t.appendChild(o)}function Yg(t){t=t||{},this.defaultDataProjection=null,this.a=void 0!==t.splitCollection&&t.splitCollection}function Vg(t){return 0===(t=t.Z()).length?"":t[0]+" "+t[1]}function Wg(t){for(var e=[],o=0,i=(t=t.Z()).length;o<i;++o)e.push(t[o][0]+" "+t[o][1]);return e.join(",")}function zg(t){for(var e=[],o=0,i=(t=t.be()).length;o<i;++o)e.push("("+Wg(t[o])+")");return e.join(",")}function Zg(t){var e=t.W();return t=(0,MP[e])(t),e=e.toUpperCase(),0===t.length?e+" EMPTY":e+"("+t+")"}function Hg(t){this.f=t,this.a=-1}function Jg(t,e){return"0"<=t&&t<="9"||"."==t&&!(void 0!==e&&e)}function qg(t){var e=t.f.charAt(++t.a),o={position:t.a,value:e};if("("==e)o.type=2;else if(","==e)o.type=5;else if(")"==e)o.type=3;else if(Jg(e)||"-"==e){o.type=4;e=t.a;for(var i,r=!1,n=!1;"."==i?r=!0:"e"!=i&&"E"!=i||(n=!0),Jg(i=t.f.charAt(++t.a),r)||!n&&("e"==i||"E"==i)||n&&("-"==i||"+"==i););t=parseFloat(t.f.substring(e,t.a--)),o.value=t}else if("a"<=e&&e<="z"||"A"<=e&&e<="Z"){for(o.type=1,e=t.a;"a"<=(i=t.f.charAt(++t.a))&&i<="z"||"A"<=i&&i<="Z";);t=t.f.substring(e,t.a--).toUpperCase(),o.value=t}else{if(" "==e||"\t"==e||"\r"==e||"\n"==e)return qg(t);if(""!==e)throw Error("Unexpected character: "+e);o.type=6}return o}function $g(t){this.f=t}function _g(t){var e=t.a;if(t.match(1)){var o=e.value;if("GEOMETRYCOLLECTION"==o){t:{if(t.match(2)){for(e=[];e.push(_g(t)),t.match(5););if(t.match(3)){t=e;break t}}else if(od(t)){t=[];break t}throw Error(id(t))}return new Uy(t)}var i=TP[o];e=PP[o];if(!i||!e)throw Error("Invalid geometry type: "+o);return new e(t=i.call(t))}throw Error(id(t))}function Qg(t){for(var e=[],o=0;o<2;++o){var i=t.a;if(!t.match(4))break;e.push(i.value)}if(2==e.length)return e;throw Error(id(t))}function td(t){for(var e=[Qg(t)];t.match(5);)e.push(Qg(t));return e}function ed(t){for(var e=[t.Ef()];t.match(5);)e.push(t.Ef());return e}function od(t){var e=1==t.a.type&&"EMPTY"==t.a.value;return e&&(t.a=qg(t.f)),e}function id(t){return"Unexpected `"+t.a.value+"` at position "+t.a.position+" in `"+t.f.f+"`"}function rd(){this.version=void 0}function nd(t,e){return tu({},KP,t,e)}function sd(t,e){return tu({},UP,t,e)}function pd(t,e){var o=nd(t,e);if(o){var i=[ef(t.getAttribute("width")),ef(t.getAttribute("height"))];return o.size=i,o}}function ad(t,e){return tu([],YP,t,e)}function hd(){this.b="http://mapserver.gis.umn.edu/mapserver",this.a=new af,this.defaultDataProjection=null}function ld(){this.b=new Eg}function ud(t){var e=of(t).split(" ");if(e&&2==e.length)return t=+e[0],e=+e[1],isNaN(t)||isNaN(e)?void 0:[t,e]}function cd(t){re.call(this),t=t||{},this.a=null,this.c=ko,this.b=void 0,Gt(this,ne("projection"),this.Dl,!1,this),Gt(this,ne("tracking"),this.El,!1,this),void 0!==t.projection&&this.Yg(Ro(t.projection)),void 0!==t.trackingOptions&&this.hi(t.trackingOptions),this.re(void 0!==t.tracking&&t.tracking)}function yd(t,e,o){Bo.call(this),this.Uf(t,e||0,o)}function fd(t){var e=t.A[t.a]-t.A[0];return e*e+(t=t.A[t.a+1]-t.A[1])*t}function gd(t,e,o){for(var i,r,n,s,p,a=[],h=t(0),l=t(1),u=e(h),c=e(l),y=[l,h],f=[c,u],g=[1,0],d={},v=1e5;0<--v&&0<g.length;)n=g.pop(),h=y.pop(),u=f.pop(),(l=n.toString())in d||(a.push(u[0],u[1]),d[l]=!0),s=g.pop(),l=y.pop(),c=f.pop(),T((r=e(i=t(p=(n+s)/2)))[0],r[1],u[0],u[1],c[0],c[1])<o?(a.push(c[0],c[1]),d[l=s.toString()]=!0):(g.push(s,p,p,n),f.push(c,r,r,u),y.push(l,i,i,h));return a}function dd(e,o,i,t,r){return gd(function(t){return[e,o+(i-o)*t]},Io(Ro("EPSG:4326"),t),r)}function vd(e,o,i,t,r){return gd(function(t){return[o+(i-o)*t,e]},Io(Ro("EPSG:4326"),t),r)}function bd(t){t=t||{},this.g=this.l=null,this.b=this.i=Infinity,this.c=this.j=-Infinity,this.C=this.v=Infinity,this.O=this.D=-Infinity,this.U=void 0!==t.targetSize?t.targetSize:100,this.na=void 0!==t.maxLines?t.maxLines:100,this.a=[],this.f=[],this.va=void 0!==t.strokeStyle?t.strokeStyle:oT,this.B=this.o=void 0,this.G=null,this.setMap(void 0!==t.map?t.map:null)}function md(t,e,o,i,r,n,s){var p=s;return e=dd(e,o,i,t.g,r),(p=void 0!==t.a[p]?t.a[p]:new Sy(null)).ba("XY",e),ao(p.J(),n)&&(t.a[s++]=p),s}function wd(t,e,o,i,r){var n=r;return e=vd(e,t.c,t.b,t.g,o),(n=void 0!==t.f[n]?t.f[n]:new Sy(null)).ba("XY",e),ao(n.J(),i)&&(t.f[r++]=n),r}function xd(t,e,o,i,r,n,s){Us.call(this,t,e,o,0,i),this.l=r,this.f=new Image,null!==n&&(this.f.crossOrigin=n),this.g={},this.c=null,this.state=0,this.j=s}function Sd(t,e,o,i,r){Hr.call(this,t,e),this.l=o,this.b=new Image,null!==i&&(this.b.crossOrigin=i),this.c={},this.j=null,this.o=r}function Md(t){t.j.forEach(Wt),t.j=null}function Pd(t,e){_t.call(this),this.a=new Qc(this);var o=t;e&&(o=gr(t)),this.a.Ra(o,"dragenter",this.Jn),o!=t&&this.a.Ra(o,"dragover",this.Kn),this.a.Ra(t,"dragover",this.Ln),this.a.Ra(t,"drop",this.Mn)}function Td(t,e){this.g=[],this.v=t,this.B=e||null,this.c=this.a=!1,this.b=void 0,this.o=this.C=this.j=!1,this.i=0,this.f=null,this.l=0}function Ed(t,e,o){t.a=!0,t.b=o,t.c=!e,Cd(t)}function jd(t){if(t.a){if(!t.o)throw new Id;t.o=!1}}function Ad(t,e,o,i){t.g.push([e,o,i]),t.a&&Cd(t)}function Rd(t){return N(t.g,function(t){return y(t[1])})}function Cd(t){if(t.i&&t.a&&Rd(t)){var e=t.i,o=rT[e];o&&(Wb.clearTimeout(o.xa),delete rT[e]),t.i=0}t.f&&(t.f.l--,delete t.f);e=t.b;for(var i=o=!1;t.g.length&&!t.j;){var r=(s=t.g.shift())[0],n=s[1],s=s[2];if(r=t.c?n:r)try{var p=r.call(s||t.B,e);h(p)&&(t.c=t.c&&(p==e||p instanceof Error),t.b=e=p),(Ih(e)||"function"==typeof Wb.Promise&&e instanceof Wb.Promise)&&(i=!0,t.j=!0)}catch(a){e=a,t.c=!0,Rd(t)||(o=!0)}}t.b=e,i&&(p=g(t.G,t,!0),i=g(t.G,t,!1),e instanceof Td?(Ad(e,p,i),e.C=!0):e.then(p,i)),o&&(e=new kd(e),rT[e.xa]=e,t.i=e.xa)}function Id(){a.call(this)}function Ld(){a.call(this)}function kd(t){this.xa=Wb.setTimeout(g(this.f,this),0),this.a=t}function Fd(t,e){h(t.name)?(this.name=t.name,this.code=nT[t.name]):(this.code=t.code,this.name=Nd(t.code)),a.call(this,m("%s %s",this.name,e))}function Nd(e){var t=ct(nT,function(t){return e==t});if(!h(t))throw Error("Invalid code: "+e);return t}function Dd(t,e){Et.call(this,t.type,e)}function Od(){_t.call(this),this.tb=new FileReader,this.tb.onloadstart=g(this.a,this),this.tb.onprogress=g(this.a,this),this.tb.onload=g(this.a,this),this.tb.onabort=g(this.a,this),this.tb.onerror=g(this.a,this),this.tb.onloadend=g(this.a,this)}function Ud(t){var e=new Td;return t.Ra("loadend",v(function(t,e){var o=e.tb.result,i=e.getError();null==o||i?(jd(t),Ed(t,!1,i)):t.ad(o),e.Fc()},e,t)),e}function Bd(t){t=t||{},bp.call(this,{handleEvent:Nm}),this.j=t.formatConstructors?t.formatConstructors:[],this.v=t.projection?Ro(t.projection):null,this.c=null,this.a=void 0}function Gd(t,e,o,i,r){Et.call(this,t,e),this.features=i,this.file=o,this.projection=r}function Xd(t,e){this.x=t,this.y=e}function Kd(t){t=t||{},Ip.call(this,{handleDownEvent:Wd,handleDragEvent:Yd,handleUpEvent:Vd}),this.o=t.condition?t.condition:Ap,this.a=this.c=void 0,this.l=0,this.v=void 0!==t.duration?t.duration:400}function Yd(t){if(Cp(t)){var e=t.map,o=e.Sa()
  ;t=new Xd((t=t.pixel)[0]-o[0]/2,o[1]/2-t[1]),o=Math.atan2(t.y,t.x),t=Math.sqrt(t.x*t.x+t.y*t.y);var i=e.aa();if(e.render(),void 0!==this.c){var r=o-this.c;mp(e,i,i.Fa()-r)}this.c=o,void 0!==this.a&&xp(e,i,o=this.a*(i.$()/t)),void 0!==this.a&&(this.l=this.a/t),this.a=t}}function Vd(t){if(!Cp(t))return!0;var e=(t=t.map).aa();Ai(e,-1);var o=this.l-1,i=e.Fa();mp(t,e,i=e.constrainRotation(i,0),void 0,void 0);i=e.$();var r=this.v;return xp(t,e,i=e.constrainResolution(i,0,o),void 0,r),this.l=0,!1}function Wd(t){return!(!Cp(t)||!this.o(t))&&(Ai(t.map.aa(),1),this.a=this.c=void 0,!0)}function zd(t,e){Et.call(this,t),this.feature=e}function Zd(t){if(Ip.call(this,{handleDownEvent:qd,handleEvent:Jd,handleUpEvent:$d}),this.ga=null,this.T=!1,this.nc=t.source?t.source:null,this.Db=t.features?t.features:null,this.jj=t.snapTolerance?t.snapTolerance:12,this.V=t.type,this.c=rv(this.V),this.hb=t.minPoints?t.minPoints:this.c===hT?3:2,this.wa=t.maxPoints?t.maxPoints:Infinity,!(e=t.geometryFunction))if("Circle"===this.V)e=function(t,e){var o=e||new yd([NaN,NaN]);return o.Uf(t[0],Math.sqrt(be(t[0],t[1]))),o};else{var i,e;(e=this.c)===pT?i=ni:e===aT?i=Sy:e===hT&&(i=vi),e=function(t,e){var o=e;return o?o.la(t):o=new i(t),o}}this.D=e,this.U=this.v=this.a=this.O=this.l=this.o=null,this.sj=t.clickTolerance?t.clickTolerance*t.clickTolerance:36,this.oa=new La({source:new yu({useSpatialIndex:!1,wrapX:!!t.wrapX&&t.wrapX}),style:t.style?t.style:Hd()}),this.Eb=t.geometryName,this.Ci=t.condition?t.condition:jp,this.pa=t.freehandCondition?t.freehandCondition:Ap,Gt(this,ne("active"),this.ni,!1,this)}function Hd(){var e=Ca();return function(t){return e[t.X().W()]}}function Jd(t){var e=!this.T;return this.T&&t.type===Nw?(ev(this,t),e=!1):t.type===Dw?e=_d(this,t):t.type===Fw&&(e=!1),kp.call(this,t)&&e}function qd(t){return this.Ci(t)?(this.ga=t.pixel,!0):!(this.c!==aT&&this.c!==hT||!this.pa(t))&&(this.ga=t.pixel,this.T=!0,this.o||tv(this,t),!0)}function $d(t){this.T=!1;var e=this.ga,o=t.pixel,i=e[0]-o[0];e=e[1]-o[1],o=!0;return i*i+e*e<=this.sj&&(_d(this,t),this.o?this.c===lT?this.od():Qd(this,t)?this.od():ev(this,t):(tv(this,t),this.c===pT&&this.od()),o=!1),o}function _d(t,e){if(t.o){var o,i=e.coordinate,r=t.l.X();t.c===pT?o=t.a:t.c===hT?(o=(o=t.a[0])[o.length-1],Qd(t,e)&&(i=t.o.slice())):o=(o=t.a)[o.length-1],o[0]=i[0],o[1]=i[1],t.D(t.a,r),t.O&&t.O.X().la(i),r instanceof vi&&t.c!==hT?(t.v||(t.v=new Ah(new Sy(null))),r=r.Dg(0),(i=t.v.X()).ba(r.b,r.ia())):t.U&&(i=t.v.X()).la(t.U),iv(t)}else i=e.coordinate.slice(),t.O?t.O.X().la(i):(t.O=new Ah(new ni(i)),iv(t));return!0}function Qd(t,e){var o=!1;if(t.l){var i=!1,r=[t.o];if(t.c===aT?i=t.a.length>t.hb:t.c===hT&&(i=t.a[0].length>t.hb,r=[t.a[0][0],t.a[0][t.a[0].length-2]]),i){i=e.map;for(var n=0,s=r.length;n<s;n++){var p=r[n],a=i.Pa(p),h=(o=(h=e.pixel)[0]-a[0],a=h[1]-a[1],t.T&&t.pa(e)?1:t.jj);if(o=Math.sqrt(o*o+a*a)<=h){t.o=p;break}}}}return o}function tv(t,e){var o=e.coordinate;t.o=o,t.c===pT?t.a=o.slice():t.c===hT?(t.a=[[o.slice(),o.slice()]],t.U=t.a[0]):(t.a=[o.slice(),o.slice()],t.c===lT&&(t.U=t.a)),t.U&&(t.v=new Ah(new Sy(t.U))),o=t.D(t.a),t.l=new Ah,t.Eb&&t.l.yc(t.Eb),t.l.Ma(o),iv(t),t.s(new zd("drawstart",t.l))}function ev(t,e){var o,i,r=e.coordinate,n=t.l.X();t.c===aT?(t.o=r.slice(),(i=t.a).push(r.slice()),o=i.length>t.wa,t.D(i,n)):t.c===hT&&((i=t.a[0]).push(r.slice()),(o=i.length>t.wa)&&(t.o=i[0]),t.D(t.a,n)),iv(t),o&&t.od()}function ov(t){t.o=null;var e=t.l;return e&&(t.l=null,t.O=null,t.v=null,t.oa.ea().clear(!0)),e}function iv(t){var e=[];t.l&&e.push(t.l),t.v&&e.push(t.v),t.O&&e.push(t.O),(t=t.oa.ea()).clear(!0),t.Ec(e)}function rv(t){var e;return"Point"===t||"MultiPoint"===t?e=pT:"LineString"===t||"MultiLineString"===t?e=aT:"Polygon"===t||"MultiPolygon"===t?e=hT:"Circle"===t&&(e=lT),e}function nv(t,e,o){Et.call(this,t),this.features=e,this.mapBrowserPointerEvent=o}function sv(t){Ip.call(this,{handleDownEvent:cv,handleDragEvent:yv,handleEvent:gv,handleUpEvent:fv}),this.wa=t.deleteCondition?t.deleteCondition:vo(jp,Ep),this.pa=this.c=null,this.ga=[0,0],this.D=this.T=!1,this.a=new pu,this.O=void 0!==t.pixelTolerance?t.pixelTolerance:10,this.o=this.oa=!1,this.l=null,this.U=new La({source:new yu({useSpatialIndex:!1,wrapX:!!t.wrapX}),style:t.style?t.style:bv(),updateWhileAnimating:!0,updateWhileInteracting:!0}),this.V={Point:this.mm,LineString:this.eh,LinearRing:this.eh,Polygon:this.nm,MultiPoint:this.km,MultiLineString:this.jm,MultiPolygon:this.lm,GeometryCollection:this.im},this.v=t.features,this.v.forEach(this.Af,this),Gt(this.v,"add",this.gm,!1,this),Gt(this.v,"remove",this.hm,!1,this)}function pv(t,e){t.D||(t.D=!0,t.s(new nv("modifystart",t.v,e)))}function av(t,e){hv(t,e),t.c&&0===t.v.$b()&&(t.U.ea().Rc(t.c),t.c=null),Vt(e,"change",t.dh,!1,t)}function hv(t,e){var o=t.a,i=[];o.forEach(function(t){e===t.feature&&i.push(t)});for(var r=i.length-1;0<=r;--r)o.remove(i[r])}function lv(t,e){var o=t.c;o?o.X().la(e):(o=new Ah(new ni(e)),t.c=o,t.U.ea().Bd(o))}function uv(t,e){return t.index-e.index}function cv(t){if(dv(this,t.pixel,t.map),this.l=[],this.D=!1,e=this.c){var e,o=[],i=Fe([e=e.X().Z()]),r={};(i=lu(this.a,i)).sort(uv);for(var n=0,s=i.length;n<s;++n){var p=i[n],a=p.ka,h=I(p.feature),l=p.depth;l&&(h+="-"+l.join("-")),r[h]||(r[h]=Array(2)),de(a[0],e)&&!r[h][0]?(this.l.push([p,0]),r[h][0]=p):de(a[1],e)&&!r[h][1]?("LineString"!==p.geometry.W()&&"MultiLineString"!==p.geometry.W()||!r[h][0]||0!==r[h][0].index)&&(this.l.push([p,1]),r[h][1]=p):I(a)in this.pa&&!r[h][0]&&!r[h][1]&&o.push([p,e])}for(o.length&&pv(this,t),n=o.length-1;0<=n;--n)this.el.apply(this,o[n])}return!!this.c}function yv(t){this.T=!1,pv(this,t),t=t.coordinate;for(var e=0,o=this.l.length;e<o;++e){for(var i=(a=this.l[e])[0],r=i.depth,n=i.geometry,s=n.Z(),p=i.ka,a=a[1];t.length<n.ra();)t.push(0);switch(n.W()){case"Point":s=t,p[0]=p[1]=t;break;case"MultiPoint":s[i.index]=t,p[0]=p[1]=t;break;case"LineString":s[i.index+a]=t,p[a]=t;break;case"MultiLineString":case"Polygon":s[r[0]][i.index+a]=t,p[a]=t;break;case"MultiPolygon":s[r[1]][r[0]][i.index+a]=t,p[a]=t}i=n,this.o=!0,i.la(s),this.o=!1}lv(this,t)}function fv(t){for(var e,o=this.l.length-1;0<=o;--o)e=this.l[o][0],au(this.a,Fe(e.ka),e);return this.D&&(this.s(new nv("modifyend",this.v,t)),this.D=!1),!1}function gv(t){if(!(t instanceof As))return!0;var e;if(t.map.aa().b.slice()[1]||t.type!=Dw||this.C||(this.ga=t.pixel,dv(this,t.pixel,t.map)),this.c&&this.wa(t))if(t.type==Lw&&this.T)e=!0;else{this.c.X(),pv(this,t);var o,i,r,n,s,p,a,h,l,u={};for(s=(e=this.l).length-1;0<=s;--s)if(i=(n=(h=(r=e[s])[0]).geometry).Z(),l=I(h.feature),h.depth&&(l+="-"+h.depth.join("-")),a=o=p=void 0,0===r[1]?p=(o=h).index:1==r[1]&&(p=(a=h).index+1),l in u||(u[l]=[a,o,p]),r=u[l],void 0!==a&&(r[0]=a),void 0!==o&&(r[1]=o),void 0!==r[0]&&void 0!==r[1]){switch(o=i,l=!1,a=p-1,n.W()){case"MultiLineString":i[h.depth[0]].splice(p,1),l=!0;break;case"LineString":i.splice(p,1),l=!0;break;case"MultiPolygon":o=o[h.depth[1]];case"Polygon":4<(o=o[h.depth[0]]).length&&(p==o.length-1&&(p=0),o.splice(p,1),l=!0,0===p&&(o.pop(),o.push(o[0]),a=o.length-1))}l&&(this.a.remove(r[0]),this.a.remove(r[1]),o=n,this.o=!0,o.la(i),this.o=!1,i={depth:h.depth,feature:h.feature,geometry:h.geometry,index:a,ka:[r[0].ka[0],r[1].ka[1]]},this.a.ya(Fe(i.ka),i),vv(this,n,p,h.depth,-1),this.c&&(this.U.ea().Rc(this.c),this.c=null))}e=!0,this.s(new nv("modifyend",this.v,t)),this.D=!1}return t.type==Lw&&(this.T=!1),kp.call(this,t)&&!e}function dv(t,e,o){function i(t,e){return me(r,t.ka)-me(r,e.ka)}var r=o.Ga(e),n=Fe([n=o.Ga([e[0]-t.O,e[1]+t.O]),s=o.Ga([e[0]+t.O,e[1]-t.O])]);if(0<(n=lu(t.a,n)).length){n.sort(i);var s=n[0].ka,p=ye(r,s),a=o.Pa(p);if(Math.sqrt(be(e,a))<=t.O){for(e=o.Pa(s[0]),o=o.Pa(s[1]),e=be(a,e),o=be(a,o),t.oa=Math.sqrt(Math.min(e,o))<=t.O,t.oa&&(p=o<e?s[1]:s[0]),lv(t,p),(o={})[I(s)]=!0,e=1,a=n.length;e<a&&(p=n[e].ka,de(s[0],p[0])&&de(s[1],p[1])||de(s[0],p[1])&&de(s[1],p[0]));++e)o[I(p)]=!0;return void(t.pa=o)}}t.c&&(t.U.ea().Rc(t.c),t.c=null)}function vv(t,e,o,i,r){uu(t.a,e.J(),function(t){t.geometry===e&&(void 0===i||void 0===t.depth||z(t.depth,i))&&t.index>o&&(t.index+=r)})}function bv(){var t=Ca();return function(){return t.Point}}function mv(t,e,o,i){Et.call(this,t),this.selected=e,this.deselected=o,this.mapBrowserEvent=i}function wv(t){var e;if(bp.call(this,{handleEvent:xv}),t=t||{},this.C=t.condition?t.condition:Ep,this.o=t.addCondition?t.addCondition:Fm,this.D=t.removeCondition?t.removeCondition:Fm,this.O=t.toggleCondition?t.toggleCondition:Ap,this.v=!!t.multi&&t.multi,this.j=t.filter?t.filter:Nm,t.layers)if(y(t.layers))e=t.layers;else{var o=t.layers;e=function(t){return $(o,t)}}else e=Nm;this.l=e,this.a={},this.c=new La({source:new yu({useSpatialIndex:!1,features:t.features,wrapX:t.wrapX}),style:t.style?t.style:Sv(),updateWhileAnimating:!0,updateWhileInteracting:!0}),Gt(t=this.c.ea().c,"add",this.om,!1,this),Gt(t,"remove",this.rm,!1,this)}function xv(t){if(!this.C(t))return!0;var i=this.o(t),r=this.D(t),n=this.O(t),e=!i&&!r&&!n,o=t.map,s=this.c.ea().c,p=[],a=[],h=!1;if(e)o.pd(t.pixel,function(t,e){if(this.j(t,e)){a.push(t);var o=I(t);return this.a[o]=e,!this.v}},this,this.l),0<a.length&&1==s.$b()&&s.item(0)==a[0]||(h=!0,0!==s.$b()&&(p=Array.prototype.concat(s.a),s.clear()),s.uf(a),0===a.length?ft(this.a):0<p.length&&p.forEach(function(t){t=I(t),delete this.a[t]},this));else{for(o.pd(t.pixel,function(t,e){if($(s.a,t))(r||n)&&(p.push(t),o=I(t),delete this.a[o]);else if((i||n)&&this.j(t,e)){a.push(t);var o=I(t);this.a[o]=e}},this,this.l),e=p.length-1;0<=e;--e)s.remove(p[e]);s.uf(a),(0<a.length||0<p.length)&&(h=!0)}return h&&this.s(new mv("select",a,p,t)),Tp(t)}function Sv(){var e=Ca();return X(e.Polygon,e.LineString),X(e.GeometryCollection,e.LineString),function(t){return e[t.X().W()]}}function Mv(t){Ip.call(this,{handleEvent:Pv,handleDownEvent:Nm,handleUpEvent:Tv}),t=t||{},this.o=t.source?t.source:null,this.l=t.features?t.features:null,this.ga=[],this.D={},this.O={},this.T={},this.v={},this.U=null,this.c=void 0!==t.pixelTolerance?t.pixelTolerance:10,this.oa=g(Ev,this),this.a=new pu,this.V={Point:this.xm,LineString:this.hh,LinearRing:this.hh,Polygon:this.ym,MultiPoint:this.vm,MultiLineString:this.um,MultiPolygon:this.wm,GeometryCollection:this.tm}}function Pv(t){var e,o,i=t.pixel,r=t.coordinate,n=Fe([n=(e=t.map).Ga([i[0]-this.c,i[1]+this.c]),o=e.Ga([i[0]+this.c,i[1]-this.c])]),s=lu(this.a,n),p=(n=!1,null);return o=null,0<s.length&&(this.U=r,s.sort(this.oa),p=ye(r,s=s[0].ka),o=e.Pa(p),Math.sqrt(be(i,o))<=this.c&&(n=!0,i=e.Pa(s[0]),r=e.Pa(s[1]),i=be(o,i),r=be(o,r),Math.sqrt(Math.min(i,r))<=this.c))&&(p=r<i?s[1]:s[0],o=e.Pa(p),o=[Math.round(o[0]),Math.round(o[1])]),e=p,n&&(t.coordinate=e.slice(0,2),t.pixel=o),kp.call(this,t)}function Tv(){var t=lt(this.v);return t.length&&(t.forEach(this.mi,this),this.v={}),!1}function Ev(t,e){return me(this.U,t.ka)-me(this.U,e.ka)}function jv(t,e,o){Et.call(this,t),this.features=e,this.coordinate=o}function Av(t){Ip.call(this,{handleDownEvent:Rv,handleDragEvent:Iv,handleMoveEvent:Lv,handleUpEvent:Cv}),this.o=void 0,this.a=null,this.c=void 0!==t.features?t.features:null,this.l=null}function Rv(t){return this.l=kv(this,t.pixel,t.map),!(this.a||!this.l)&&(this.a=t.coordinate,Lv.call(this,t),this.s(new jv("translatestart",this.c,t.coordinate)),!0)}function Cv(t){return!!this.a&&(this.a=null,Lv.call(this,t),this.s(new jv("translateend",this.c,t.coordinate)),!0)}function Iv(t){if(this.a){var o=(t=t.coordinate)[0]-this.a[0],i=t[1]-this.a[1];if(this.c)this.c.forEach(function(t){var e=t.X();e.Pc(o,i),t.Ma(e)});else if(this.l){var e=this.l.X();e.Pc(o,i),this.l.Ma(e)}this.a=t,this.s(new jv("translating",this.c,t))}}function Lv(t){var e=t.map.Mc();if(t=t.map.pd(t.pixel,function(t){return t})){var o=!1;this.c&&$(this.c.a,t)&&(o=!0),this.o=e.style.cursor,e.style.cursor=this.a?"-webkit-grabbing":o?"-webkit-grab":"pointer",e.style.cursor=this.a?o?"grab":"pointer":"grabbing"}else e.style.cursor=void 0!==this.o?this.o:"",this.o=void 0}function kv(t,e,o){var i=null;return e=o.pd(e,function(t){return t}),t.c&&$(t.c.a,e)&&(i=e),i}function Fv(t){var e=vt(t=t||{});delete e.gradient,delete e.radius,delete e.blur,delete e.shadow,delete e.weight,La.call(this,e),this.g=null,this.V=void 0!==t.shadow?t.shadow:250,this.T=void 0,this.U=null,Gt(this,ne("gradient"),this.Dk,!1,this),this.Zh(t.gradient?t.gradient:uT),this.Vh(void 0!==t.blur?t.blur:15),this.kh(void 0!==t.radius?t.radius:8),Gt(this,[ne("blur"),ne("radius")],this.Ng,!1,this),this.Ng();var i,o=t.weight?t.weight:"weight";i=c(o)?function(t){return t.get(o)}:o,this.c(g(function(t){var e=255*(t=void 0!==(t=i(t))?P(t,0,1):1)|0,o=this.U[e];return o||(o=[new ja({image:new Qs({opacity:t,src:this.T})})],this.U[e]=o),o},this)),this.set("renderOrder",null),Gt(this,"render",this.Vk,!1,this)}function Nv(t,e,o,i,r,n,s,p,a,h){if(Hr.call(this,r,0),this.D=void 0!==h&&h,this.C=s,this.j=null,this.i={},this.l=e,this.G=i,this.B=n||r,this.b=[],this.c=null,this.o=0,n=i.Aa(this.B),h=this.G.J(),r=this.l.J(),0===_e(n=h?ro(n,h):n))this.state=4;else if((h=t.J())&&(r=r?ro(r,h):h),i=i.$(this.B[0]),i=gh(t,o,eo(n),i),!isFinite(i)||isNaN(i)||i<=0)this.state=4;else if(this.v=new bh(t,o,n,r,i*(void 0!==a?a:.5)),0===this.v.c.length)this.state=4;else if(this.o=pn(e,i),o=wh(this.v),r&&(t.b?(o[1]=P(o[1],r[1],r[3]),o[3]=P(o[3],r[1],r[3])):o=ro(o,r)),_e(o))if(zi(t=rn(e,o,this.o))*Wi(t)<100){for(e=t.a;e<=t.c;e++)for(o=t.f;o<=t.b;o++)(a=p(this.o,e,o,s))&&this.b.push(a);0===this.b.length&&(this.state=4)}else this.state=3;else this.state=4}function Dv(t){var e=[];t.b.forEach(function(t){t&&2==t.state&&e.push({extent:this.l.Aa(t.a),image:t.Ta()})},t),t.b.length=0;var o=t.B[0],i=u(r=t.G.Ka(o))?r:r[0],r=u(r)?r:r[1],n=(o=t.G.$(o),t.l.$(t.o)),s=t.G.Aa(t.B);t.j=vh(i,r,t.C,n,t.l.J(),o,s,t.v,e,t.D),t.state=2,Jr(t)}function Ov(e,t){var o=t||{},i=o.document||document,r=document.createElement("SCRIPT"),n={Uh:r,Bc:void 0},s=new Td(Bv,n),p=null,a=null!=o.timeout?o.timeout:5e3;return 0<a&&(p=window.setTimeout(function(){Gv(r,!0);var t=new Xv(yT,"Timeout reached for loading script "+e);jd(s),Ed(s,!1,t)},a),n.Bc=p),r.onload=r.onreadystatechange=function(){r.readyState&&"loaded"!=r.readyState&&"complete"!=r.readyState||(Gv(r,o.vj||!1,p),s.ad(null))},r.onerror=function(){Gv(r,!0,p);var t=new Xv(cT,"Error while loading script "+e);jd(s),Ed(s,!1,t)},mt(n=o.attributes||{},{type:"text/javascript",charset:"UTF-8",src:e}),nr(r,n),Uv(i).appendChild(r),s}function Uv(t){var e=t.getElementsByTagName("HEAD");return e&&0!=e.length?e[0]:t.documentElement}function Bv(){if(this&&this.Uh){var t=this.Uh;t&&"SCRIPT"==t.tagName&&Gv(t,!0,this.Bc)}}function Gv(t,e,o){null!=o&&Wb.clearTimeout(o),t.onload=l,t.onerror=l,t.onreadystatechange=l,e&&window.setTimeout(function(){ur(t)},0)}function Xv(t,e){var o="Jsloader error (code #"+t+")";e&&(o+=": "+e),a.call(this,o),this.code=t}function Kv(t,e){this.f=new jf(t),this.a=e||"callback",this.Bc=5e3}function Yv(t,e,o,i){e=e||null;var r="_"+(fT++).toString(36)+Hb().toString(36);Wb._callbacks_||(Wb._callbacks_={});var n=t.f.clone();if(e)for(var s in e)if(!e.hasOwnProperty||e.hasOwnProperty(s)){var p=n,a=s,h=e[s];d(h)||(h=[String(h)]),Bf(p.b,a,h)}o&&(Wb._callbacks_[r]=Wv(r,o),o=t.a,d(s="_callbacks_."+r)||(s=[String(s)]),Bf(n.b,o,s)),Ad(t=Ov(n.toString(),{timeout:t.Bc,vj:!0}),null,Vv(r,e,i),void 0)}function Vv(t,e,o){return function(){zv(t,!1),o&&o(e)}}function Wv(e,o){return function(t){zv(e,!0),o.apply(void 0,arguments)}}function zv(t,e){Wb._callbacks_[t]&&(e?delete Wb._callbacks_[t]:Wb._callbacks_[t]=l)}function Zv(t){Iu.call(this,{attributions:t.attributions,extent:t.extent,logo:t.logo,opaque:t.opaque,projection:t.projection,state:void 0!==t.state?t.state:void 0,tileGrid:t.tileGrid,tileLoadFunction:t.tileLoadFunction?t.tileLoadFunction:qv,tilePixelRatio:t.tilePixelRatio,tileUrlFunction:t.tileUrlFunction,url:t.url,urls:t.urls,wrapX:t.wrapX}),this.crossOrigin=void 0!==t.crossOrigin?t.crossOrigin:null,this.tileClass=void 0!==t.tileClass?t.tileClass:Sd,this.j={},this.o={},this.wa=t.reprojectionErrorThreshold,this.T=!1}function Hv(t,e,o,i,r,n,s){return r=(o=gn(t,e=[e,o,i],n))?t.tileUrlFunction(o,r,n):void 0,(r=new t.tileClass(e,void 0!==r?0:4,void 0!==r?r:"",t.crossOrigin,t.tileLoadFunction)).key=s,Gt(r,"change",t.sh,!1,t),r}function Jv(t,e,o,i,r,n){var s=null,p=t.Ab(e,o,i),a=t.Cg();if(Vr(t.a,p)){if((s=t.a.get(p)).key!=a){var h=s;s.f&&s.f.key==a?(s=s.f,2==h.state&&(s.f=h)):(s=Hv(t,e,o,i,r,n,a),2==h.state?s.f=h:h.f&&2==h.f.state&&(s.f=h.f,h.f=null)),s.f&&(s.f.f=null),t.a.replace(p,s)}}else s=Hv(t,e,o,i,r,n,a),t.a.set(p,s);return s}function qv(t,e){t.Ta().src=e}function $v(t){Zv.call(this,{crossOrigin:"anonymous",opaque:!0,projection:Ro("EPSG:3857"),reprojectionErrorThreshold:t.reprojectionErrorThreshold,state:"loading",tileLoadFunction:t.tileLoadFunction,wrapX:void 0===t.wrapX||t.wrapX}),this.l=void 0!==t.culture?t.culture:"en-us",this.g=void 0!==t.maxZoom?t.maxZoom:-1,Yv(new Kv(new jf("https://dev.virtualearth.net/REST/v1/Imagery/Metadata/"+t.imagerySet),"jsonp"),{include:"ImageryProviders",uriScheme:"https",key:t.key},g(this.C,this))}function _v(t){yu.call(this,{attributions:t.attributions,extent:t.extent,logo:t.logo,projection:t.projection,wrapX:t.wrapX}),this.D=void 0,this.fa=void 0!==t.distance?t.distance:20,this.C=[],this.v=t.source,this.v.H("change",_v.prototype.oa,this)}function Qv(t){if(void 0!==t.D){t.C.length=0;for(var e=Ye(),o=t.fa*t.D,i=t.v.ze(),r={},n=0,s=i.length;n<s;n++){var p=i[n];I(p).toString()in r||(We(p=p.X().Z(),e),De(e,o,e),p=(p=t.v.mf(e)).filter(function(t){return!((t=I(t).toString())in r)&&(r[t]=!0)}),t.C.push(tb(p)))}}}function tb(t){for(var e=t.length,o=[0,0],i=0;i<e;i++){ce(o,t[i].X().Z())}return e=1/e,o[0]*=e,o[1]*=e,(o=new Ah(new ni(o))).set("features",t),o}function eb(t){Mh.call(this,{projection:t.projection,resolutions:t.resolutions}),this.ga=void 0!==t.crossOrigin?t.crossOrigin:null,this.o=void 0!==t.displayDpi?t.displayDpi:96,this.j=void 0!==t.params?t.params:{},this.V=t.url,this.c=void 0!==t.imageLoadFunction?t.imageLoadFunction:Th,this.pa=void 0===t.hidpi||t.hidpi,this.fa=void 0!==t.metersPerUnit?t.metersPerUnit:1,this.v=void 0!==t.ratio?t.ratio:1,this.wa=void 0!==t.useOverlay&&t.useOverlay,this.g=null,this.T=0}function ob(t){var e=void 0!==t.attributions?t.attributions:null,o=t.imageExtent,i=void 0!==t.crossOrigin?t.crossOrigin:null,r=void 0!==t.imageLoadFunction?t.imageLoadFunction:Th;Mh.call(this,{attributions:e,logo:t.logo,projection:Ro(t.projection)}),this.c=new xd(o,void 0,1,e,t.url,i,r),this.g=t.imageSize?t.imageSize:null,Gt(this.c,"change",this.l,!1,this)}function ib(t){t=t||{},Mh.call(this,{attributions:t.attributions,logo:t.logo,projection:t.projection,resolutions:t.resolutions}),this.pa=void 0!==t.crossOrigin?t.crossOrigin:null,this.j=t.url,this.T=void 0!==t.imageLoadFunction?t.imageLoadFunction:Th,this.g=t.params,this.v=!0,nb(this),this.ga=t.serverType,this.wa=void 0===t.hidpi||t.hidpi,this.c=null,this.V=[0,0],this.fa=0,this.o=void 0!==t.ratio?t.ratio:1.5}function rb(t,e,o,i,r,n){if(n[t.v?"CRS":"SRS"]=r.a,"STYLES"in t.g||(n.STYLES=new String("")),1!=i)switch(t.ga){case"geoserver":i=90*i+.5|0,n.FORMAT_OPTIONS="FORMAT_OPTIONS"in n?n.FORMAT_OPTIONS+";dpi:"+i:"dpi:"+i;break;case"mapserver":n.MAP_RESOLUTION=90*i;break;case"carmentaserver":case"qgis":n.DPI=90*i}var s;return n.WIDTH=o[0],n.HEIGHT=o[1],o=r.g,s=t.v&&"ne"==o.substr(0,2)?[e[1],e[0],e[3],e[2]]:e,n.BBOX=s.join(","),sl(al([t.j],n))}function nb(t){t.v=0<=S(gt(t.g,"VERSION","1.3.0"),"1.3")}function sb(t){var e=void 0!==t.projection?t.projection:"EPSG:3857",o=void 0!==t.tileGrid?t.tileGrid:ln({extent:cn(e),maxZoom:t.maxZoom,tileSize:t.tileSize});Zv.call(this,{attributions:t.attributions,crossOrigin:t.crossOrigin,logo:t.logo,projection:e,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileGrid:o,tileLoadFunction:t.tileLoadFunction,tilePixelRatio:t.tilePixelRatio,tileUrlFunction:t.tileUrlFunction,url:t.url,urls:t.urls,wrapX:void 0===t.wrapX||t.wrapX})}function pb(t){var e;e=void 0!==(t=t||{}).attributions?t.attributions:[vT],sb.call(this,{attributions:e,crossOrigin:void 0!==t.crossOrigin?t.crossOrigin:"anonymous",opaque:!0,maxZoom:void 0!==t.maxZoom?t.maxZoom:19,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileLoadFunction:t.tileLoadFunction,url:void 0!==t.url?t.url:"https://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png",wrapX:t.wrapX})}function ab(t){var e=xT[(t=t||{}).layer];this.g=t.layer,sb.call(this,{attributions:e.attributions,crossOrigin:"anonymous",logo:"https://developer.mapquest.com/content/osm/mq_logo.png",maxZoom:e.maxZoom,reprojectionErrorThreshold:t.reprojectionErrorThreshold,opaque:!0,tileLoadFunction:t.tileLoadFunction,url:void 0!==t.url?t.url:"https://otile{1-4}-s.mqcdn.com/tiles/1.0.0/"+this.g+"/{z}/{x}/{y}.jpg"})}function hb(t){this.T=null,this.wa=void 0!==t.operationType?t.operationType:"pixel",this.hb=void 0!==t.threads?t.threads:1,this.c=cb(t.sources);for(var e=0,o=this.c.length;e<o;++e)Gt(this.c[e],"change",this.u,!1,this);this.g=is(),this.ga=new fp(function(){return 1},g(this.u,this));o={};for(var i=0,r=(e=ub(this.c)).length;i<r;++i)o[I(e[i].layer)]=e[i];this.j=this.o=null,this.fa={animate:!1,attributions:{},coordinateToPixelMatrix:Pe(),extent:null,focus:null,index:0,layerStates:o,layerStatesArray:e,logos:{},pixelRatio:1,pixelToCoordinateMatrix:Pe(),postRenderFunctions:[],size:[0,0],skippedFeatureUids:{},tileQueue:this.ga,time:Date.now(),usedTiles:{},viewState:{rotation:0},viewHints:[],wantedTiles:{}},Mh.call(this,{}),void 0!==t.operation&&this.v(t.operation,t.lib)}function lb(t,e,o){var i=t.o;return!i||t.f!==i.Ho||o!==i.resolution||!Ze(e,i.extent)}function ub(t){return t.map(function(t){return ks(t.a)})}function cb(t){for(var e=t.length,o=Array(e),i=0;i<e;++i){var r=i,n=t[i],s=null;n instanceof yn?s=new Pu(n=new ma({source:n})):n instanceof Mh&&(s=new Mu(n=new ba({source:n}))),o[r]=s}return o}function yb(t,e,o){Et.call(this,t),this.extent=e.extent,this.resolution=e.viewState.resolution/e.pixelRatio,this.data=o}function fb(t){var e=-1==(e=t.layer.indexOf("-"))?t.layer:t.layer.slice(0,e),o=TT[t.layer];sb.call(this,{attributions:jT,crossOrigin:"anonymous",maxZoom:ET[e].maxZoom,opaque:o.opaque,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileLoadFunction:t.tileLoadFunction,url:void 0!==t.url?t.url:"https://stamen-tiles-{a-d}.a.ssl.fastly.net/"+t.layer+"/{z}/{x}/{y}."+o.ob})}function gb(t){var e=void 0!==(t=t||{}).params?t.params:{};Zv.call(this,{attributions:t.attributions,crossOrigin:t.crossOrigin,logo:t.logo,projection:t.projection,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileGrid:t.tileGrid,tileLoadFunction:t.tileLoadFunction,tileUrlFunction:g(this.D,this),url:t.url,urls:t.urls,wrapX:void 0===t.wrapX||t.wrapX}),this.g=e,this.l=Ye()}function db(t,e,o){Hr.call(this,t,2),this.i=e,this.c=o,this.b={}}function vb(t){yn.call(this,{opaque:!1,projection:t.projection,tileGrid:t.tileGrid,wrapX:void 0===t.wrapX||t.wrapX})}function bb(t){Zv.call(this,{attributions:t.attributions,crossOrigin:t.crossOrigin,projection:Ro("EPSG:3857"),reprojectionErrorThreshold:t.reprojectionErrorThreshold,state:"loading",tileLoadFunction:t.tileLoadFunction,wrapX:void 0===t.wrapX||t.wrapX}),Yv(new Kv(t.url),void 0,g(this.l,this),g(this.g,this))}function mb(t){yn.call(this,{projection:Ro("EPSG:3857"),state:"loading"}),this.l=void 0===t.preemptive||t.preemptive,this.g=Ru,this.j=void 0,Yv(new Kv(t.url),void 0,g(this.Xm,this))}function wb(t,e,o,i,r){Hr.call(this,t,e),this.l=o,this.b=i,this.o=r,this.j=this.i=this.c=null}function xb(t,e){if(!t.c||!t.i||!t.j)return null;var o=t.c[Math.floor((1-(e[1]-t.b[1])/(t.b[3]-t.b[1]))*t.c.length)];return c(o)?(93<=(o=o.charCodeAt(Math.floor((e[0]-t.b[0])/(t.b[2]-t.b[0])*o.length)))&&o--,35<=o&&o--,(o-=32)in t.i?t.j[t.i[o]]:null):null}function Sb(t,e,o,i,r){0==t.state&&!0===r?(Yt(t,"change",function(){o.call(i,xb(this,e))},!1,t),Mb(t)):!0===r?Dn(function(){o.call(i,xb(this,e))},t):o.call(i,xb(t,e))}function Mb(t){0==t.state&&(t.state=1,Yv(new Kv(t.l),void 0,g(t.Wm,t),g(t.Bk,t)))}function Pb(t){var e=void 0!==(t=t||{}).params?t.params:{};Zv.call(this,{attributions:t.attributions,crossOrigin:t.crossOrigin,logo:t.logo,opaque:!gt(e,"TRANSPARENT",!0),projection:t.projection,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileGrid:t.tileGrid,tileLoadFunction:t.tileLoadFunction,tileUrlFunction:g(this.$m,this),url:t.url,urls:t.urls,wrapX:void 0===t.wrapX||t.wrapX}),this.C=void 0!==t.gutter?t.gutter:0,this.g=e,this.l=!0,this.D=t.serverType,this.fa=void 0===t.hidpi||t.hidpi,this.V="",Eb(this),this.ga=Ye(),jb(this)}function Tb(t,e,o,i,r,n,s){var p=t.urls;if(p){if(s.WIDTH=o[0],s.HEIGHT=o[1],s[t.l?"CRS":"SRS"]=n.a,"STYLES"in t.g||(s.STYLES=new String("")),1!=r)switch(t.D){case"geoserver":o=90*r+.5|0,s.FORMAT_OPTIONS="FORMAT_OPTIONS"in s?s.FORMAT_OPTIONS+";dpi:"+o:"dpi:"+o;break;case"mapserver":s.MAP_RESOLUTION=90*r;break;case"carmentaserver":case"qgis":s.DPI=90*r}return n=n.g,t.l&&"ne"==n.substr(0,2)&&(t=i[0],i[0]=i[1],i[1]=t,t=i[2],i[2]=i[3],i[3]=t),s.BBOX=i.join(","),sl(al([1==p.length?p[0]:p[le((e[1]<<e[0])+e[2],p.length)]],s))}}function Eb(t){var e,o,i=0,r=[];if(t.urls)for(e=0,o=t.urls.length;e<o;++e)r[i++]=t.urls[e];for(var n in t.g)r[i++]=n+"-"+t.g[n];t.V=r.join("#")}function jb(t){t.l=0<=S(gt(t.g,"VERSION","1.3.0"),"1.3")}function Ab(t){this.j=t.matrixIds,Qr.call(this,{extent:t.extent,origin:t.origin,origins:t.origins,resolutions:t.resolutions,tileSize:t.tileSize,tileSizes:t.tileSizes,sizes:t.sizes})}function Rb(t,e){var o,r=[],n=[],s=[],p=[],a=[],h=(o=Ro(t.SupportedCRS.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3"))).Kc(),l="ne"==o.g.substr(0,2);return t.TileMatrix.sort(function(t,e){return e.ScaleDenominator-t.ScaleDenominator}),t.TileMatrix.forEach(function(t){n.push(t.Identifier);var e=28e-5*t.ScaleDenominator/h,o=t.TileWidth,i=t.TileHeight;l?s.push([t.TopLeftCorner[1],t.TopLeftCorner[0]]):s.push(t.TopLeftCorner),r.push(e),p.push(o==i?o:[o,i]),a.push([t.MatrixWidth,-t.MatrixHeight])}),new Ab({extent:e,origins:s,resolutions:r,matrixIds:n,tileSizes:p,sizes:a})}function Cb(t){function e(e){return e="KVP"==i?sl(al([e],n)):e.replace(/\{(\w+?)\}/g,function(t,e){return e.toLowerCase()in n?n[e.toLowerCase()]:t}),function(t){if(t){var o={TileMatrix:r.j[t[0]],TileCol:t[1],TileRow:-t[2]-1};return mt(o,s),t=e,"KVP"==i?sl(al([t],o)):t.replace(/\{(\w+?)\}/g,function(t,e){return o[e]})}}}this.ga=void 0!==t.version?t.version:"1.0.0",this.D=void 0!==t.format?t.format:"image/jpeg",this.g=void 0!==t.dimensions?t.dimensions:{},this.l="",Ib(this),this.V=t.layer,this.C=t.matrixSet,this.fa=t.style;var o=t.urls;void 0===o&&void 0!==t.url&&(o=Cu(t.url));var i=this.oa=void 0!==t.requestEncoding?t.requestEncoding:"KVP",r=t.tileGrid,n={layer:this.V,style:this.fa,tilematrixset:this.C};"KVP"==i&&mt(n,{Service:"WMTS",Request:"GetTile",Version:this.ga,Format:this.D});var s=this.g,p=o&&0<o.length?Au(o.map(e)):Ru;Zv.call(this,{attributions:t.attributions,crossOrigin:t.crossOrigin,logo:t.logo,projection:t.projection,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileClass:t.tileClass,tileGrid:r,tileLoadFunction:t.tileLoadFunction,tilePixelRatio:t.tilePixelRatio,tileUrlFunction:p,urls:o,wrapX:void 0!==t.wrapX&&t.wrapX})}function Ib(t){var e,o=0,i=[];for(e in t.g)i[o++]=e+"-"+t.g[e];t.l=i.join("/")}function Lb(t){var e=(s=(t=t||{}).size)[0],o=s[1],i=[],r=256;switch(void 0!==t.tierSizeCalculation?t.tierSizeCalculation:"default"){case"default":for(;r<e||r<o;)i.push([Math.ceil(e/r),Math.ceil(o/r)]),r+=r;break;case"truncated":for(;r<e||r<o;)i.push([Math.ceil(e/r),Math.ceil(o/r)]),e>>=1,o>>=1}i.push([1,1]),i.reverse();r=[1];var n=[0];for(o=1,e=i.length;o<e;o++)r.push(1<<o),n.push(i[o-1][0]*i[o-1][1]+n[o-1]);r.reverse();var s=new Qr({extent:s=[0,-s[1],s[0],0],origin:no(s),resolutions:r}),p=t.url;Zv.call(this,{attributions:t.attributions,crossOrigin:t.crossOrigin,logo:t.logo,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileClass:kb,tileGrid:s,tileUrlFunction:function(t){if(t){var e=t[0],o=t[1];return t=-t[2]-1,p+"TileGroup"+((o+t*i[e][0]+n[e])/256|0)+"/"+e+"-"+o+"-"+t+".jpg"}}})}function kb(t,e,o,i,r){Sd.call(this,t,e,o,i,r),this.i={}}function Fb(t){t=t||{},this.f=void 0!==t.initialSize?t.initialSize:256,this.b=void 0!==t.maxSize?t.maxSize:void 0!==Gb?Gb:2048,this.a=void 0!==t.space?t.space:1,this.g=[new Db(this.f,this.a)],this.c=this.f,this.i=[new Db(this.c,this.a)]}function Nb(t,e,o,i,r,n,s){var p,a,h,l=e?t.i:t.g;for(a=0,h=l.length;a<h;++a){if(p=(p=l[a]).add(o,i,r,n,s))return p;p||a!==h-1||(e?(p=Math.min(2*t.c,t.b),t.c=p):(p=Math.min(2*t.f,t.b),t.f=p),p=new Db(p,t.a),l.push(p),++h)}}function Db(t,e){this.a=e,this.f=[{x:0,y:0,width:t,height:t}],this.c={},this.b=document.createElement("CANVAS"),this.b.width=t,this.b.height=t,this.g=this.b.getContext("2d")}function Ob(t,e,o,i){e=[e,1],0<o.width&&0<o.height&&e.push(o),0<i.width&&0<i.height&&e.push(i),t.f.splice.apply(t.f,e)}function Ub(t){this.v=this.c=this.g=null,this.o=void 0!==t.fill?t.fill:null,this.va=[0,0],this.a=t.points,this.b=void 0!==t.radius?t.radius:t.radius1,this.i=void 0!==t.radius2?t.radius2:this.b,this.l=void 0!==t.angle?t.angle:0,this.f=void 0!==t.stroke?t.stroke:null,this.na=this.U=this.O=null;var e,o=t.atlasManager,i="",r="",n=0,s=null,p=0;this.f&&(e=Qi(this.f.a),void 0===(p=this.f.f)&&(p=1),s=this.f.b,yw||(s=null),void 0===(r=this.f.g)&&(r="round"),void 0===(i=this.f.c)&&(i="round"),void 0===(n=this.f.i)&&(n=10));var a=2*(this.b+p)+1;i={strokeStyle:e,Id:p,size:a,lineCap:i,lineDash:s,lineJoin:r,miterLimit:n};if(void 0===o){this.c=document.createElement("CANVAS"),this.c.height=a,this.c.width=a;o=a=this.c.width;var h=this.c.getContext("2d");this.xh(i,h,0,0),this.o?this.v=this.c:((h=this.v=document.createElement("CANVAS")).height=i.size,h.width=i.size,h=h.getContext("2d"),this.wh(i,h,0,0))}else a=Math.round(a),(r=!this.o)&&(h=g(this.wh,this,i)),n=this.Jb(),h=o.add(n,a,a,g(this.xh,this,i),h),this.c=h.image,this.va=[h.offsetX,h.offsetY],o=h.image.width,this.v=r?h.Og:this.c;this.O=[a/2,a/2],this.U=[a,a],this.na=[o,o],_s.call(this,{opacity:1,rotateWithView:!1,rotation:void 0!==t.rotation?t.rotation:0,scale:1,snapToPixel:void 0===t.snapToPixel||t.snapToPixel})}var Bb,Gb,Xb,Kb,Yb={},Vb=Vb||{},Wb=this,zb="closure_uid_"+(1e9*Math.random()>>>0),Zb=0,Hb=Date.now||function(){return+new Date};o(a,Error),a.prototype.name="CustomError";var Jb,qb=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},$b=/&/g,_b=/</g,Qb=/>/g,tm=/"/g,em=/'/g,om=/\x00/g,im=/[\x00&<>"']/,rm=String.prototype.repeat?function(t,e){return t.repeat(e)}:function(t,e){return Array(e+1).join(t)},nm="cosh"in Math?Math.cosh:function(t){return((t=Math.exp(t))+1/t)/2},sm=Array.prototype;t:{var pm=Wb.navigator;if(pm){var am=pm.userAgent;if(am){Jb=am;break t}}Jb=""}var hm="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),lm=st("Opera")||st("OPR"),um=st("Trident")||st("MSIE"),cm=st("Edge"),ym=st("Gecko")&&!(-1!=Jb.toLowerCase().indexOf("webkit")&&!st("Edge"))&&!(st("Trident")||st("MSIE"))&&!st("Edge"),fm=-1!=Jb.toLowerCase().indexOf("webkit")&&!st("Edge"),gm=st("Macintosh"),dm=st("Windows"),vm=st("Linux")||st("CrOS"),bm=function(){if(lm&&Wb.opera){var t,e=Wb.opera.version;try{t=e()}catch(o){t=e}return t}return t="",(e=wt())&&(t=e?e[1]:""),um&&(e=xt())>parseFloat(t)?String(e):t}(),mm={},wm=Wb.document,xm=wm&&um?xt()||("CSS1Compat"==wm.compatMode?parseInt(bm,10):5):void 0,Sm=!um||9<=xm,Mm=!um||9<=xm,Pm=um&&!St("9");!fm||St("528"),ym&&St("1.9b")||um&&St("8")||lm&&St("9.5")||fm&&St("528"),ym&&!St("8")||um&&St("9");var Tm=0,Em={};Mt.prototype.na=!1,Mt.prototype.Fc=function(){if(!this.na&&(this.na=!0,this.Y(),0!=Tm)){var t=I(this);delete Em[t]}},Mt.prototype.Y=function(){if(this.va)for(;this.va.length;)this.va.shift()()},Et.prototype.b=function(){this.j=!0},Et.prototype.preventDefault=function(){this.Th=!1},Rt[" "]=l,o(Ct,Et);var jm=[1,4,2];Ct.prototype.b=function(){Ct.ca.b.call(this),this.a.stopPropagation?this.a.stopPropagation():this.a.cancelBubble=!0},Ct.prototype.preventDefault=function(){Ct.ca.preventDefault.call(this);var t=this.a;if(t.preventDefault)t.preventDefault();else if(t.returnValue=!1,Pm)try{(t.ctrlKey||112<=t.keyCode&&t.keyCode<=123)&&(t.keyCode=-1)}catch(e){}};var Am="closure_listenable_"+(1e6*Math.random()|0),Rm=0;Nt.prototype.add=function(t,e,o,i,r){var n=t.toString();(t=this.a[n])||(t=this.a[n]=[],this.f++);var s=Bt(t,e,i,r);return-1<s?(e=t[s],o||(e.Vd=!1)):((e=new kt(e,this.src,n,!!i,r)).Vd=o,t.push(e)),e},Nt.prototype.remove=function(t,e,o,i){if(!((t=t.toString())in this.a))return!1;var r=this.a[t];return-1<(e=Bt(r,e,o,i))&&(Ft(r[e]),sm.splice.call(r,e,1),0==r.length&&(delete this.a[t],this.f--),!0)};var Cm="closure_lm_"+(1e6*Math.random()|0),Im={},
  Lm="__closure_events_fn_"+(1e9*Math.random()>>>0);o(_t,Mt),_t.prototype[Am]=!0,(Bb=_t.prototype).addEventListener=function(t,e,o,i){Gt(this,t,e,o,i)},Bb.removeEventListener=function(t,e,o,i){Vt(this,t,e,o,i)},Bb.s=function(t){var e;if(o=this.gb)for(e=[];o;o=o.gb)e.push(o);var o=this.Od,i=t.type||t;if(c(t))t=new Et(t,o);else if(t instanceof Et)t.target=t.target||o;else{var r=t;mt(t=new Et(i,o),r)}var n;r=!0;if(e)for(var s=e.length-1;!t.j&&0<=s;s--)r=Qt(n=t.g=e[s],i,!0,t)&&r;if(t.j||(r=Qt(n=t.g=o,i,!0,t)&&r,t.j||(r=Qt(n,i,!1,t)&&r)),e)for(s=0;!t.j&&s<e.length;s++)r=Qt(n=t.g=e[s],i,!1,t)&&r;return r},Bb.Y=function(){if(_t.ca.Y.call(this),this.yb){var t,e=this.yb;for(t in e.a){for(var o=e.a[t],i=0;i<o.length;i++)0,Ft(o[i]);delete e.a[t],e.f--}}this.gb=null},Bb.Ra=function(t,e,o,i){return this.yb.add(String(t),e,!1,o,i)},Bb.Wf=function(t,e,o,i){return this.yb.remove(String(t),e,o,i)},o(ee,_t),(Bb=ee.prototype).u=function(){++this.f,this.s("change")},Bb.L=function(){return this.f},Bb.H=function(t,e,o){return Gt(this,t,e,!1,o)},Bb.M=function(t,e,o){return Yt(this,t,e,!1,o)},Bb.K=function(t,e,o){Vt(this,t,e,!1,o)},Bb.N=oe,o(ie,Et),o(re,ee);var km={};if((Bb=re.prototype).get=function(t){var e;return this.G.hasOwnProperty(t)&&(e=this.G[t]),e},Bb.P=function(){return Object.keys(this.G)},Bb.R=function(){var t,e={};for(t in this.G)e[t]=this.G[t];return e},Bb.set=function(t,e,o){o?this.G[t]=e:(o=this.G[t])!==(this.G[t]=e)&&se(this,t,o)},Bb.I=function(t,e){for(var o in t)this.set(o,t[o],e)},Bb.S=function(t,e){if(t in this.G){var o=this.G[t];delete this.G[t],e||se(this,t,o)}},xe.prototype.a=4,xe.prototype.set=function(t,e){e=e||0;for(var o=0;o<t.length&&e+o<this.length;o++)this[e+o]=t[o]},xe.prototype.toString=Array.prototype.join,"undefined"==typeof Float32Array&&(xe.BYTES_PER_ELEMENT=4,xe.prototype.BYTES_PER_ELEMENT=xe.prototype.a,xe.prototype.set=xe.prototype.set,xe.prototype.toString=xe.prototype.toString,t("Float32Array",xe,void 0)),Se.prototype.a=8,Se.prototype.set=function(t,e){e=e||0;for(var o=0;o<t.length&&e+o<this.length;o++)this[e+o]=t[o]},Se.prototype.toString=Array.prototype.join,"undefined"==typeof Float64Array){try{Se.BYTES_PER_ELEMENT=8}catch(AT){}Se.prototype.BYTES_PER_ELEMENT=Se.prototype.a,Se.prototype.set=Se.prototype.set,Se.prototype.toString=Se.prototype.toString,t("Float64Array",Se,void 0)}new Float64Array(3),new Float64Array(3),new Float64Array(4),new Float64Array(4),new Float64Array(4),new Float64Array(16);var Fm=co(!1),Nm=co(!0),Dm=co(null);bo.prototype.f=function(t){for(var e=0,o=t.length,i=t[o-1][0],r=t[o-1][1],n=0;n<o;n++){var s=t[n][0],p=t[n][1];e=e+j(s-i)*(2+Math.sin(j(r))+Math.sin(j(p))),i=s,r=p}return e*this.radius*this.radius/2},bo.prototype.a=function(t,e){var o=j(t[1]),i=j(e[1]),r=(i-o)/2,n=j(e[0]-t[0])/2;o=Math.sin(r)*Math.sin(r)+Math.sin(n)*Math.sin(n)*Math.cos(o)*Math.cos(i);return 2*this.radius*Math.atan2(Math.sqrt(o),Math.sqrt(1-o))},bo.prototype.offset=function(t,e,o){var i=j(t[1]);e/=this.radius;var r=Math.asin(Math.sin(i)*Math.cos(e)+Math.cos(i)*Math.sin(e)*Math.cos(o));return[180*(j(t[0])+Math.atan2(Math.sin(o)*Math.sin(e)*Math.cos(i),Math.cos(e)-Math.sin(i)*Math.sin(r)))/Math.PI,180*r/Math.PI]};var Om=new bo(6370997),Um={};Um.degrees=2*Math.PI*Om.radius/360,Um.ft=.3048,Um.m=1,Um["us-ft"]=1200/3937,(Bb=mo.prototype).Jj=function(){return this.a},Bb.J=function(){return this.i},Bb.Am=function(){return this.f},Bb.Kc=function(){return Um[this.f]},Bb.tk=function(){return this.j},Bb.gl=function(){return this.c},Bb.No=function(t){this.c=t,this.b=!(!t||!this.i)},Bb.Bm=function(t){this.i=t,this.b=!(!this.c||!t)},Bb.Vo=function(t){this.j=t},Bb.Mo=function(t){this.o=t},Bb.hk=function(t,e){if("degrees"==this.f)return t;var o,i=(o=Lo(this,Ro("EPSG:4326")))(i=[e[0]-t/2,e[1],e[0]+t/2,e[1],e[0],e[1]-t/2,e[0],e[1]+t/2],i,2);i=((o=Om.a(i.slice(0,2),i.slice(2,4)))+(i=Om.a(i.slice(4,6),i.slice(6,8))))/2;return void 0!==(o=this.Kc())&&(i/=o),i},Bb.getPointResolution=function(t,e){return this.o(t,e)};var Bm={},Gm={};o(Oo,re),(Bb=Oo.prototype).qb=function(t,e){var o=e||[NaN,NaN];return this.nb(t[0],t[1],o,Infinity),o},Bb.og=function(t){return this.uc(t[0],t[1])},Bb.uc=Fm,Bb.J=function(t){this.v!=this.f&&(this.B=this.Wd(this.B),this.v=this.f);var e=this.B;return t?(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3]):t=e,t},Bb.xb=function(t){return this.td(t*t)},Bb.lb=function(t,e){return this.pc(Io(t,e)),this},o(Bo,Oo),(Bb=Bo.prototype).uc=Fm,Bb.Wd=function(t){return ze(this.A,0,this.A.length,this.a,t)},Bb.Kb=function(){return this.A.slice(0,this.a)},Bb.ia=function(){return this.A},Bb.Lb=function(){return this.A.slice(this.A.length-this.a)},Bb.Mb=function(){return this.b},Bb.td=function(t){if(this.o!=this.f&&(ft(this.i),this.j=0,this.o=this.f),t<0||0!==this.j&&t<=this.j)return this;var e=t.toString();if(this.i.hasOwnProperty(e))return this.i[e];var o=this.Lc(t);return o.ia().length<this.A.length?this.i[e]=o:(this.j=t,this)},Bb.Lc=function(){return this},Bb.ra=function(){return this.a},Bb.pc=function(t){this.A&&(t(this.A,this.A,this.a),this.u())},Bb.Pc=function(t,e){var o=this.ia();if(o){var i,r,n=o.length,s=this.ra(),p=o||[],a=0;for(i=0;i<n;i+=s)for(p[a++]=o[i]+t,p[a++]=o[i+1]+e,r=i+2;r<i+s;++r)p[a++]=o[r];o&&p.length!=a&&(p.length=a),this.u()}},o(ii,Bo),(Bb=ii.prototype).clone=function(){var t=new ii(null);return ri(t,this.b,this.A.slice()),t},Bb.nb=function(t,e,o,i){return i<Ue(this.J(),t,e)?i:(this.g!=this.f&&(this.l=Math.sqrt(zo(this.A,0,this.A.length,this.a,0)),this.g=this.f),Ho(this.A,0,this.A.length,this.a,this.l,!0,t,e,o,i))},Bb.bm=function(){return Yo(this.A,0,this.A.length,this.a)},Bb.Z=function(){return Qo(this.A,0,this.A.length,this.a)},Bb.Lc=function(t){var e=[];return e.length=ei(this.A,0,this.A.length,this.a,t,e,0),ri(t=new ii(null),"XY",e),t},Bb.W=function(){return"LinearRing"},Bb.la=function(t,e){t?(Ko(this,e,t,1),this.A||(this.A=[]),this.A.length=$o(this.A,0,t,this.a),this.u()):ri(this,"XY",null)},o(ni,Bo),(Bb=ni.prototype).clone=function(){var t=new ni(null);return t.ba(this.b,this.A.slice()),t},Bb.nb=function(t,e,o,i){var r=this.A;if((t=E(t,e,r[0],r[1]))<i){for(i=this.a,e=0;e<i;++e)o[e]=r[e];return o.length=i,t}return i},Bb.Z=function(){return this.A?this.A.slice():[]},Bb.Wd=function(t){return We(this.A,t)},Bb.W=function(){return"Point"},Bb.Ea=function(t){return Xe(t,this.A[0],this.A[1])},Bb.la=function(t,e){t?(Ko(this,e,t,0),this.A||(this.A=[]),this.A.length=qo(this.A,t),this.u()):this.ba("XY",null)},Bb.ba=function(t,e){Xo(this,t,e),this.u()},o(vi,Bo),(Bb=vi.prototype).oj=function(t){this.A?X(this.A,t.ia()):this.A=t.ia().slice(),this.g.push(this.A.length),this.u()},Bb.clone=function(){var t=new vi(null);return t.ba(this.b,this.A.slice(),this.g.slice()),t},Bb.nb=function(t,e,o,i){return i<Ue(this.J(),t,e)?i:(this.O!=this.f&&(this.U=Math.sqrt(Zo(this.A,0,this.g,this.a,0)),this.O=this.f),Jo(this.A,0,this.g,this.a,this.U,!0,t,e,o,i))},Bb.uc=function(t,e){return ai(this.bc(),0,this.g,this.a,t,e)},Bb.em=function(){return Vo(this.bc(),0,this.g,this.a)},Bb.Z=function(t){var e;return void 0!==t?gi(e=this.bc().slice(),0,this.g,this.a,t):e=this.A,ti(e,0,this.g,this.a)},Bb.zb=function(){return this.g},Bb.Sj=function(){return new ni(bi(this))},Bb.Xj=function(){return this.g.length},Bb.Dg=function(t){if(t<0||this.g.length<=t)return null;var e=new ii(null);return ri(e,this.b,this.A.slice(0===t?0:this.g[t-1],this.g[t])),e},Bb.be=function(){var t,e,o=this.b,i=this.A,r=this.g,n=[],s=0;for(t=0,e=r.length;t<e;++t){var p=r[t],a=new ii(null);ri(a,o,i.slice(s,p)),n.push(a),s=p}return n},Bb.bc=function(){if(this.T!=this.f){var t=this.A;fi(t,this.g,this.a)?this.l=t:(this.l=t.slice(),this.l.length=gi(this.l,0,this.g,this.a)),this.T=this.f}return this.l},Bb.Lc=function(t){var e=[],o=[];return e.length=oi(this.A,0,this.g,this.a,Math.sqrt(t),e,0,o),(t=new vi(null)).ba("XY",e,o),t},Bb.W=function(){return"Polygon"},Bb.Ea=function(t){return ci(this.bc(),0,this.g,this.a,t)},Bb.la=function(t,e){if(t){Ko(this,e,t,2),this.A||(this.A=[]);var o=_o(this.A,0,t,this.a,this.g);this.A.length=0===o.length?0:o[o.length-1],this.u()}else this.ba("XY",null,this.g)},Bb.ba=function(t,e,o){Xo(this,t,e),this.g=o,this.u()},o(Mi,re),(Bb=Mi.prototype).Xd=function(t){return this.i.center(t)},Bb.constrainResolution=function(t,e,o){return this.i.resolution(t,e||0,o||0)},Bb.constrainRotation=function(t,e){return this.i.rotation(t,e||0)},Bb.Ua=function(){return this.get("center")},Bb.$c=function(t){return oo(this.Ua(),this.$(),this.Fa(),t)},Bb.Ml=function(){return this.g},Bb.$=function(){return this.get("resolution")},Bb.Fa=function(){return this.get("rotation")},Bb.uk=function(){var t,e=this.$();if(void 0!==e){var o,i=0;do{if((o=this.constrainResolution(this.a,i))==e){t=i;break}++i}while(o>this.j)}return void 0!==t?this.c+t:t},Bb.kf=function(t,e,o){t instanceof Bo||(t=wi(t)),o=void 0!==(a=o||{}).padding?a.padding:[0,0,0,0];var i,r=void 0===a.constrainResolution||a.constrainResolution,n=void 0!==a.nearest&&a.nearest;i=void 0!==a.minResolution?a.minResolution:void 0!==a.maxZoom?this.constrainResolution(this.a,a.maxZoom-this.c,0):0;var s=t.ia(),p=this.Fa(),a=Math.cos(-p),h=(p=Math.sin(-p),Infinity),l=Infinity,u=-Infinity,c=-Infinity;t=t.ra();for(var y=0,f=s.length;y<f;y+=t){var g=s[y]*a-s[y+1]*p,d=s[y]*p+s[y+1]*a;h=Math.min(h,g),l=Math.min(l,d),u=Math.max(u,g),c=Math.max(c,d)}s=[h,l,u,c],e=[e[0]-o[1]-o[3],e[1]-o[0]-o[2]],e=Math.max(po(s)/e[0],io(s)/e[1]),e=isNaN(e)?i:Math.max(e,i),r&&(i=this.constrainResolution(e,0,0),!n&&i<e&&(i=this.constrainResolution(i,-1,0)),e=i),this.Ub(e),p=-p,n=(h+u)/2+(o[1]-o[3])/2*e,o=(l+c)/2+(o[0]-o[2])/2*e,this.kb([n*a-o*p,o*a+n*p])},Bb.uj=function(t,e,o){var i=this.Fa(),r=Math.cos(-i),n=(i=Math.sin(-i),t[0]*r-t[1]*i);t=t[1]*r+t[0]*i;var s=this.$();n+=(e[0]/2-o[0])*s;t+=(o[1]-e[1]/2)*s,i=-i,this.kb([n*r-t*i,t*r+n*i])},Bb.rotate=function(t,e){if(void 0!==e){var o,i=this.Ua();void 0!==i&&(ve(o=[i[0]-e[0],i[1]-e[1]],t-this.Fa()),ce(o,e)),this.kb(o)}this.ue(t)},Bb.kb=function(t){this.set("center",t)},Bb.Ub=function(t){this.set("resolution",t)},Bb.ue=function(t){this.set("rotation",t)},Bb.Wo=function(t){t=this.constrainResolution(this.a,t-this.c,0),this.Ub(t)},Xi.prototype.contains=function(t){return Yi(this,t[1],t[2])},Hi.prototype.b=function(){return this.f},o(Ji,Et),o(qi,re),(Bb=qi.prototype).clear=function(){for(;0<this.$b();)this.pop()},Bb.uf=function(t){var e,o;for(e=0,o=t.length;e<o;++e)this.push(t[e]);return this},Bb.forEach=function(t,e){this.a.forEach(t,e)},Bb.wl=function(){return this.a},Bb.item=function(t){return this.a[t]},Bb.$b=function(){return this.get("length")},Bb.le=function(t,e){K(this.a,t,0,e),$i(this),this.s(new Ji("add",e,this))},Bb.pop=function(){return this.Sf(this.$b()-1)},Bb.push=function(t){var e=this.a.length;return this.le(e,t),e},Bb.remove=function(t){var e,o,i=this.a;for(e=0,o=i.length;e<o;++e)if(i[e]===t)return this.Sf(e)},Bb.Sf=function(t){var e=this.a[t];return sm.splice.call(this.a,t,1),$i(this),this.s(new Ji("remove",e,this)),e},Bb.Jo=function(t,e){var o=this.$b();if(t<o)o=this.a[t],this.a[t]=e,this.s(new Ji("remove",o,this)),this.s(new Ji("add",e,this));else{for(;o<t;++o)this.le(o,void 0);this.le(t,e)}};var Xm,Km,Ym=/^#(?:[0-9a-f]{3}){1,2}$/i,Vm=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i,Wm=/^(?: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,zm=(Xm={},Km=0,function(t){var e;if(Xm.hasOwnProperty(t))e=Xm[t];else{if(1024<=Km)for(var o in e=0,Xm)0==(3&e++)&&(delete Xm[o],--Km);var i,r;Ym.exec(t)?(r=3==t.length-1?1:2,e=parseInt(t.substr(1+0*r,r),16),o=parseInt(t.substr(1+1*r,r),16),i=parseInt(t.substr(1+2*r,r),16),1==r&&(e=(e<<4)+e,o=(o<<4)+o,i=(i<<4)+i),e=[e,o,i,1]):e=(r=Wm.exec(t))?tr(e=[e=Number(r[1]),o=Number(r[2]),i=Number(r[3]),r=Number(r[4])],e):(r=Vm.exec(t))?tr(e=[e=Number(r[1]),o=Number(r[2]),i=Number(r[3]),1],e):void 0,Xm[t]=e,++Km}return e}),Zm=!um||9<=xm;!ym&&!um||um&&9<=xm||ym&&St("1.9.1"),um&&St("9"),(Bb=er.prototype).clone=function(){return new er(this.x,this.y)},Bb.ceil=function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},Bb.floor=function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},Bb.round=function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},Bb.scale=function(t,e){var o=u(e)?e:t;return this.x*=t,this.y*=o,this},(Bb=or.prototype).clone=function(){return new or(this.width,this.height)},Bb.rj=function(){return this.width*this.height},Bb.La=function(){return!this.rj()},Bb.ceil=function(){return this.width=Math.ceil(this.width),this.height=Math.ceil(this.height),this},Bb.floor=function(){return this.width=Math.floor(this.width),this.height=Math.floor(this.height),this},Bb.round=function(){return this.width=Math.round(this.width),this.height=Math.round(this.height),this},Bb.scale=function(t,e){var o=u(e)?e:t;return this.width*=t,this.height*=o,this};var Hm={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"};vr.prototype.I=nr,vr.prototype.appendChild=function(t,e){t.appendChild(e)},vr.prototype.contains=fr,(Bb=Tr.prototype).clone=function(){return new Tr(this.top,this.right,this.bottom,this.left)},Bb.contains=function(t){return!(!this||!t)&&(t instanceof Tr?t.left>=this.left&&t.right<=this.right&&t.top>=this.top&&t.bottom<=this.bottom:t.x>=this.left&&t.x<=this.right&&t.y>=this.top&&t.y<=this.bottom)},Bb.ceil=function(){return this.top=Math.ceil(this.top),this.right=Math.ceil(this.right),this.bottom=Math.ceil(this.bottom),this.left=Math.ceil(this.left),this},Bb.floor=function(){return this.top=Math.floor(this.top),this.right=Math.floor(this.right),this.bottom=Math.floor(this.bottom),this.left=Math.floor(this.left),this},Bb.round=function(){return this.top=Math.round(this.top),this.right=Math.round(this.right),this.bottom=Math.round(this.bottom),this.left=Math.round(this.left),this},Bb.scale=function(t,e){var o=u(e)?e:t;return this.left*=t,this.right*=t,this.top*=o,this.bottom*=o,this},(Bb=Er.prototype).clone=function(){return new Er(this.left,this.top,this.width,this.height)},Bb.contains=function(t){return t instanceof Er?this.left<=t.left&&this.left+this.width>=t.left+t.width&&this.top<=t.top&&this.top+this.height>=t.top+t.height:t.x>=this.left&&t.x<=this.left+this.width&&t.y>=this.top&&t.y<=this.top+this.height},Bb.distance=function(t){var e=t.x<this.left?this.left-t.x:Math.max(t.x-(this.left+this.width),0);return t=t.y<this.top?this.top-t.y:Math.max(t.y-(this.top+this.height),0),Math.sqrt(e*e+t*t)},Bb.ceil=function(){return this.left=Math.ceil(this.left),this.top=Math.ceil(this.top),this.width=Math.ceil(this.width),this.height=Math.ceil(this.height),this},Bb.floor=function(){return this.left=Math.floor(this.left),this.top=Math.floor(this.top),this.width=Math.floor(this.width),this.height=Math.floor(this.height),this},Bb.round=function(){return this.left=Math.round(this.left),this.top=Math.round(this.top),this.width=Math.round(this.width),this.height=Math.round(this.height),this},Bb.scale=function(t,e){var o=u(e)?e:t;return this.left*=t,this.width*=t,this.top*=o,this.height*=o,this};var Jm={thin:2,medium:4,thick:6};o(Xr,Et),o(Kr,re),Kr.prototype.Y=function(){ur(this.element),Kr.ca.Y.call(this)},Kr.prototype.g=function(){return this.a},Kr.prototype.setMap=function(t){this.a&&ur(this.element),0<this.o.length&&(this.o.forEach(Wt),this.o.length=0),(this.a=t)&&((this.U?this.U:t.j).appendChild(this.element),this.render!==s&&this.o.push(Gt(t,"postrender",this.render,!1,this)),t.render())},Kr.prototype.c=function(t){this.U=rr(t)},(Bb=Yr.prototype).clear=function(){this.b=0,this.c={},this.f=this.a=null},Bb.forEach=function(t,e){for(var o=this.a;o;)t.call(e,o.mc,o.oe,this),o=o.sb},Bb.get=function(t){return(t=this.c[t])===this.f||(t===this.a?(this.a=this.a.sb,this.a.hc=null):(t.sb.hc=t.hc,t.hc.sb=t.sb),t.sb=null,t.hc=this.f,this.f=this.f.sb=t),t.mc},Bb.qc=function(){return this.b},Bb.P=function(){var t,e=Array(this.b),o=0;for(t=this.f;t;t=t.hc)e[o++]=t.oe;return e},Bb.sc=function(){var t,e=Array(this.b),o=0;for(t=this.f;t;t=t.hc)e[o++]=t.mc;return e},Bb.pop=function(){var t=this.a;return delete this.c[t.oe],t.sb&&(t.sb.hc=null),this.a=t.sb,this.a||(this.f=null),--this.b,t.mc},Bb.replace=function(t,e){this.get(t),this.c[t].mc=e},Bb.set=function(t,e){var o={oe:t,sb:null,hc:this.f,mc:e};this.f?this.f.sb=o:this.a=o,this.f=o,this.c[t]=o,++this.b},o(Wr,Yr),o(Hr,_t),Hr.prototype.$a=function(){return I(this).toString()},Hr.prototype.g=function(){return this.a},o(qr,re),(Bb=qr.prototype).ye=s,Bb.sa=function(){return this.i},Bb.qa=function(){return this.U},Bb.ta=function(){return this.b},Bb.ua=function(){return this.B},Bb.ma=function(t){this.i=t,this.u()};var qm=[0,0,0];(Bb=Qr.prototype).J=function(){return this.G},Bb.Eg=function(){return this.maxZoom},Bb.Fg=function(){return this.minZoom},Bb.Da=function(t){return this.b?this.b:this.g[t]},Bb.$=function(t){return this.a[t]},Bb.zh=function(){return this.a},Bb.Aa=function(t,e){var o=this.Da(t[0]),i=this.$(t[0]),r=he(this.Ka(t[0]),this.c),n=o[0]+t[1]*r[0]*i;return Ve(n,o=o[1]+t[2]*r[1]*i,n+r[0]*i,o+r[1]*i,e)},Bb.fe=function(t,e,o){return sn(this,t[0],t[1],e,!1,o)},Bb.ge=function(t,e,o){return e=this.$(e),sn(this,t[0],t[1],e,!1,o)},Bb.Ka=function(t){return this.l?this.l:this.i[t]},o(yn,qr),(Bb=yn.prototype).qh=function(){return zr(this.a)},Bb.rh=function(t,e){var o=this.ud(t);o&&Zr(o,e)},Bb.ae=function(){return 0},Bb.Cg=function(){return""},Bb.Ab=Ui,Bb.Ha=function(){return this.tileGrid},Bb.ib=function(t){return this.tileGrid?this.tileGrid:hn(t)},Bb.ud=function(t){var e=this.b;return e&&!Co(e,t)?null:this.a},Bb.Qb=function(t,e,o){return ae(he(this.ib(o).Ka(t),this.c),this.v,this.c)},Bb.Yf=s,o(dn,Et),o(vn,Kr),(Bb=vn.prototype).Pl=function(t){t.preventDefault(),mn(this)},Bb.Ol=function(){return this.j},Bb.Rl=function(t){this.j!==t&&(this.j=t,Pr(this.element,"ol-uncollapsible"),!t&&this.b&&mn(this))},Bb.Ql=function(t){this.j&&this.b!==t&&mn(this)},Bb.Nl=function(){return this.b},o(wn,Kr),wn.prototype.v=function(t){if(t.preventDefault(),void 0!==this.j)this.j();else{var e=(t=this.a).aa();if(e){var o=e.Fa();void 0!==o&&(0<this.l&&((o%=2*Math.PI)<-Math.PI&&(o+=2*Math.PI),o>Math.PI&&(o-=2*Math.PI),t.Na(Ni({rotation:o,duration:this.l,easing:Ci}))),e.ue(0))}}},o(Sn,Kr),Sn.prototype.i=function(t,e){e.preventDefault();var o=this.a,i=o.aa();if(i){var r=i.$();r&&(0<this.b&&o.Na(Di({resolution:r,duration:this.b,easing:Ci})),o=i.constrainResolution(r,t),i.Ub(o))}};var $m,_m=fm?"webkitfullscreenchange":ym?"mozfullscreenchange":um?"MSFullscreenChange":"fullscreenchange";o(jn,Kr),jn.prototype.v=function(t){t.preventDefault(),Pn()&&(t=this.a)&&(En()?(t=ir().a).webkitCancelFullScreen?t.webkitCancelFullScreen():t.mozCancelFullScreen?t.mozCancelFullScreen():t.msExitFullscreen?t.msExitFullscreen():t.exitFullscreen&&t.exitFullscreen():(t=rr(t=t.xf()),this.B?t.mozRequestFullScreenWithKeys?t.mozRequestFullScreenWithKeys():t.webkitRequestFullscreen?t.webkitRequestFullscreen():Tn(t):Tn(t)))},jn.prototype.l=function(){var t=this.b+"-true",e=this.b+"-false",o=yr(this.element),i=this.a;En()?(xr(o,e)&&(Mr(o,e),Sr(o,t)),cr(this.j,this.i)):(xr(o,t)&&(Mr(o,t),Sr(o,e)),cr(this.i,this.j)),i&&i.Vc()},o(An,Kr),(Bb=An.prototype).Sl=function(){this.i=null},Bb.wg=function(){return this.get("coordinateFormat")},Bb.ah=function(){return this.get("projection")},Bb.Nk=function(t){this.j=this.a.$d(t.a),Cn(this,this.j)},Bb.Ok=function(){Cn(this,null),this.j=null},Bb.setMap=function(t){An.ca.setMap.call(this,t),t&&(t=t.a,this.o.push(Gt(t,"mousemove",this.Nk,!1,this),Gt(t,"mouseout",this.Ok,!1,this)))},Bb.Wh=function(t){this.set("coordinateFormat",t)},Bb.bh=function(t){this.set("projection",t)},o(In,Mt),In.prototype.start=function(){Ln(this),this.b=!1;var t=kn(this),e=Fn(this);t&&!e&&this.a.mozRequestAnimationFrame?(this.xa=Gt(this.a,"MozBeforePaint",this.f),this.a.mozRequestAnimationFrame(null),this.b=!0):this.xa=t&&e?t.call(this.a,this.f):this.a.setTimeout(fo(this.f),20)},In.prototype.c=function(){this.b&&this.xa&&Wt(this.xa),this.xa=null,this.i.call(this.g,Hb())},In.prototype.Y=function(){Ln(this),In.ca.Y.call(this)};var Qm=yo;(Bb=Un.prototype).qc=function(){return this.b},Bb.sc=function(){Bn(this);for(var t=[],e=0;e<this.a.length;e++)t.push(this.f[this.a[e]]);return t},Bb.P=function(){return Bn(this),this.a.concat()},Bb.La=function(){return 0==this.b},Bb.clear=function(){this.f={},this.b=this.a.length=0},Bb.remove=function(t){return!!Gn(this.f,t)&&(delete this.f[t],this.b--,this.a.length>2*this.b&&Bn(this),!0)},Bb.get=function(t,e){return Gn(this.f,t)?this.f[t]:e},Bb.set=function(t,e){Gn(this.f,t)||(this.b++,this.a.push(t)),this.f[t]=e},Bb.forEach=function(t,e){for(var o=this.P(),i=0;i<o.length;i++){var r=o[i],n=this.get(r);t.call(e,n,r,this)}},Bb.clone=function(){return new Un(this)},new Xn,Xn.prototype.set=function(t){this.a=t},Xn.prototype.reset=function(){this.set(Hb())},Xn.prototype.get=function(){return this.a},o(Kn,_t),Kn.prototype.Y=function(){Kn.ca.Y.call(this),this.f&&(Wt(this.f),this.f=null),this.b=this.a=null},Kn.prototype.c=function(){var t=sr(this.a||window),e=this.b;t==e||t&&e&&t.width==e.width&&t.height==e.height||(this.b=t,this.s("resize"))},o(Zn,_t),(Bb=Zn.prototype).vd=null,Bb.me=null,Bb.rf=null,Bb.ne=null,Bb.jb=-1,Bb.Zb=-1,Bb.cf=!1;var tw={3:13,12:144,63232:38,63233:40,63234:37,63235:39,63236:112,63237:113,63238:114,63239:115,63240:116,63241:117,63242:118,63243:119,63244:120,63245:121,63246:122,63247:123,63248:44,63272:46,63273:36,63275:35,63276:33,63277:34,63289:144,63302:45},ew={Up:38,Down:40,Left:37,Right:39,Enter:13,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,"U+007F":46,Home:36,End:35,PageUp:33,PageDown:34,Insert:45},ow=um||cm||fm&&St("525"),iw=gm&&ym;Zn.prototype.a=function(t){(fm||cm)&&(17==this.jb&&!t.o||18==this.jb&&!t.f||gm&&91==this.jb&&!t.B)&&(this.Zb=this.jb=-1),-1==this.jb&&(t.o&&17!=t.i?this.jb=17:t.f&&18!=t.i?this.jb=18:t.B&&91!=t.i&&(this.jb=91)),ow&&!Yn(t.i,this.jb,t.c,t.o,t.f)?this.handleEvent(t):(this.Zb=Wn(t.i),iw&&(this.cf=t.f))},Zn.prototype.f=function(t){this.Zb=this.jb=-1,this.cf=t.f},Zn.prototype.handleEvent=function(t){var e,o,i=t.a,r=i.altKey;um&&"keypress"==t.type?o=13!=(e=this.Zb)&&27!=e?i.keyCode:0:(fm||cm)&&"keypress"==t.type?(e=this.Zb,o=0<=i.charCode&&i.charCode<63232&&Vn(e)?i.charCode:0):lm&&!fm?o=Vn(e=this.Zb)?i.keyCode:0:(e=i.keyCode||this.Zb,o=i.charCode||0,iw&&(r=this.cf),gm&&63==o&&224==e&&(e=191));var n=e=Wn(e),s=i.keyIdentifier;e?63232<=e&&e in tw?n=tw[e]:25==e&&t.c&&(n=9):s&&s in ew&&(n=ew[s]),(t=new qn(this.jb=n,o,0,i)).f=r,this.s(t)},Zn.prototype.Y=function(){Zn.ca.Y.call(this),Jn(this)},o(qn,Ct),o($n,_t),$n.prototype.handleEvent=function(t){var e=0,o=0;"mousewheel"==(t=t.a).type?(e=1,(um||fm&&(dm||St("532.0")))&&(e=40),o=_n(-t.wheelDelta,e),e=h(t.wheelDeltaX)?_n(-t.wheelDeltaY,e):o):(100<(o=t.detail)?o=3:o<-100&&(o=-3),h(t.axis)&&t.axis===t.HORIZONTAL_AXIS||(e=o)),u(this.b)&&(e=Math.min(Math.max(e,-this.b),this.b)),o=new Qn(o,t,0,e),this.s(o)},$n.prototype.Y=function(){$n.ca.Y.call(this),Wt(this.f),this.f=null},o(Qn,Ct),o(ts,Et);var rw=!1;try{rw=1===new MouseEvent("click",{buttons:1}).buttons}catch(AT){}var nw,sw,pw,aw,hw=function(){if(void 0===sw)if(Wb.getComputedStyle){var t,e=document.createElement("P"),o={webkitTransform:"-webkit-transform",OTransform:"-o-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",transform:"transform"};for(var i in document.body.appendChild(e),o)i in e.style&&(e.style[i]="translate(1px,1px)",t=Wb.getComputedStyle(e).getPropertyValue(o[i]));ur(e),sw=t&&"none"!==t}else sw=!1;return sw},lw=function(){if(void 0===nw)if(Wb.getComputedStyle){var t,e=document.createElement("P"),o={webkitTransform:"-webkit-transform",OTransform:"-o-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",transform:"transform"};for(var i in document.body.appendChild(e),o)i in e.style&&(e.style[i]="translate3d(1px,1px,1px)",t=Wb.getComputedStyle(e).getPropertyValue(o[i]));ur(e),nw=t&&"none"!==t}else nw=!1;return nw},uw=["experimental-webgl","webgl","webkit-3d","moz-webgl"],cw=Wb.devicePixelRatio||1,yw=!1,fw=function(){if(!("HTMLCanvasElement"in Wb))return!1;try{var t=is();return!!t&&(void 0!==t.setLineDash&&(yw=!0),!0)}catch(e){return!1}}(),gw="DeviceOrientationEvent"in Wb,dw="geolocation"in Wb.navigator,vw="ontouchstart"in Wb,bw="PointerEvent"in Wb,mw=!!Wb.navigator.msPointerEnabled,ww=!1,xw=[];if("WebGLRenderingContext"in Wb)try{var Sw=ss(document.createElement("CANVAS"),{failIfMajorPerformanceCaveat:!0});Sw&&(ww=!0,aw=Sw.getParameter(Sw.MAX_TEXTURE_SIZE),xw=Sw.getSupportedExtensions())}catch(AT){}pw=ww,Xb=xw,Gb=aw,o(as,ps),(Bb=as.prototype).il=function(t){if(!hs(this,t)){1..toString()in this.f&&this.cancel(t);var e=ls(t);this.f[1..toString()]=t,Ts(this.a,Pw,e,t)}},Bb.jl=function(t){if(!hs(this,t)){var e=ls(t);Ts(this.a,Mw,e,t)}},Bb.ml=function(t){if(!hs(this,t)){var e=this.f[1..toString()];e&&e.button===t.button&&(e=ls(t),Ts(this.a,Tw,e,t),delete this.f[1..toString()])}},Bb.ll=function(t){if(!hs(this,t)){var e=ls(t);Ps(this.a,e,t)}},Bb.kl=function(t){if(!hs(this,t)){var e=ls(t);Ms(this.a,e,t)}},Bb.cancel=function(t){var e=ls(t);this.a.cancel(e,t),delete this.f[1..toString()]},o(us,ps),(Bb=us.prototype).rl=function(t){this.f[t.a.pointerId.toString()]=t;var e=cs(this,t);Ts(this.a,Pw,e,t)},Bb.sl=function(t){var e=cs(this,t);Ts(this.a,Mw,e,t)},Bb.vl=function(t){var e=cs(this,t);Ts(this.a,Tw,e,t),delete this.f[t.a.pointerId.toString()]},Bb.tl=function(t){var e=cs(this,t);Ms(this.a,e,t)},Bb.ul=function(t){var e=cs(this,t);Ps(this.a,e,t)},Bb.ql=function(t){var e=cs(this,t);this.a.cancel(e,t),delete this.f[t.a.pointerId.toString()]},Bb.pl=function(t){this.a.s(new ts("lostpointercapture",t,t.a))},Bb.ol=function(t){this.a.s(new ts("gotpointercapture",t,t.a))},o(ys,ps),(Bb=ys.prototype).Vn=function(t){Es(this.a,t)},Bb.Wn=function(t){Es(this.a,t)},Bb.Zn=function(t){Es(this.a,t)},Bb.Xn=function(t){Es(this.a,t)},Bb.Yn=function(t){Es(this.a,t)},Bb.Un=function(t){Es(this.a,t)},Bb.hl=function(t){Es(this.a,t)},Bb.vk=function(t){Es(this.a,t)},o(fs,ps),(Bb=fs.prototype).Sh=function(){this.i=0,this.c=void 0},Bb.ap=function(t){var e=t.a.touches,o=Object.keys(this.f),i=o.length;if(i>=e.length){var r,n,s,p=[];for(r=0;r<i;++r){var a;if(n=o[r],s=this.f[n],!(a=1==n))t:{a=e.length;for(var h=0;h<a;h++)if(e[h].identifier===n-2){a=!0;break t}a=!1}a||p.push(s.wc)}for(r=0;r<p.length;++r)this.ef(t,p[r])}(0===(e=ht(this.f))||1===e&&1..toString()in this.f)&&(this.b=t.a.changedTouches[0].identifier,void 0!==this.c&&Wb.clearTimeout(this.c)),vs(this,t),this.i++,ds(this,t,this.Qn)},Bb.Qn=function(t,e){this.f[e.pointerId]={target:e.target,wc:e,Ah:e.target};var o=this.a;e.bubbles=!0,Ts(o,Ew,e,t),o=this.a,e.bubbles=!1,Ts(o,Aw,e,t),Ts(this.a,Pw,e,t)},Bb.$o=function(t){t.preventDefault(),ds(this,t,this.nl)},Bb.nl=function(t,e){var o=this.f[e.pointerId];if(o){var i=o.wc,r=o.Ah;Ts(this.a,Mw,e,t),i&&r!==e.target&&(i.relatedTarget=e.target,e.relatedTarget=r,i.target=r,e.target?(Ms(this.a,i,t),Ps(this.a,e,t)):(e.target=r,e.relatedTarget=null,this.ef(t,e))),o.wc=e,o.Ah=e.target}},Bb.Zo=function(t){vs(this,t),ds(this,t,this.bp)},Bb.bp=function(t,e){Ts(this.a,Tw,e,t),this.a.wc(e,t);var o=this.a;e.bubbles=!1,Ts(o,Rw,e,t),delete this.f[e.pointerId],e.isPrimary&&(this.b=void 0,this.c=Wb.setTimeout(g(this.Sh,this),200))},Bb.Yo=function(t){ds(this,t,this.ef)},Bb.ef=function(t,e){this.a.cancel(e,t),this.a.wc(e,t);var o=this.a;e.bubbles=!1,Ts(o,Rw,e,t),delete this.f[e.pointerId],e.isPrimary&&(this.b=void 0,this.c=Wb.setTimeout(g(this.Sh,this),200))},o(bs,_t),bs.prototype.g=function(t){var e=this.b[t.type];e&&e(t)},bs.prototype.wc=function(t,e){t.bubbles=!0,Ts(this,jw,t,e)},bs.prototype.cancel=function(t,e){Ts(this,Cw,t,e)},bs.prototype.Y=function(){for(var t,e=this.a.length,o=0;o<e;o++)t=this.a[o],xs(this,Object.keys(t.g));bs.ca.Y.call(this)};var Mw="pointermove",Pw="pointerdown",Tw="pointerup",Ew="pointerover",jw="pointerout",Aw="pointerenter",Rw="pointerleave",Cw="pointercancel",Iw=[["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]];o(js,Xr),js.prototype.preventDefault=function(){js.ca.preventDefault.call(this),this.a.preventDefault()},js.prototype.b=function(){js.ca.b.call(this),this.a.b()},o(As,js),o(Rs,_t),(Bb=Rs.prototype).Lg=function(t){Is(this,t);var e=new As(Uw,this.b,t);this.s(e),!this.j&&0===t.button&&Cs(this,this.f),0===this.B&&(this.c.forEach(Wt),this.c=null,this.j=!1,this.f=null,Tt(this.a),this.a=null)},Bb.Rk=function(t){Is(this,t);var e=new As(Ow,this.b,t);this.s(e),this.f=t,this.c||(this.a=new bs(document),this.c=[Gt(this.a,Dw,this.Il,!1,this),Gt(this.a,Uw,this.Lg,!1,this),Gt(this.g,Bw,this.Lg,!1,this)])},Bb.Il=function(t){if(t.clientX!=this.f.clientX||t.clientY!=this.f.clientY){this.j=!0;var e=new As(Nw,this.b,t,this.j);this.s(e)}t.preventDefault()},Bb.xo=function(t){this.s(new As(t.type,this.b,t,!(!this.f||t.clientX==this.f.clientX&&t.clientY==this.f.clientY)))},Bb.Y=function(){this.o&&(Wt(this.o),this.o=null),this.l&&(Wt(this.l),this.l=null),this.c&&(this.c.forEach(Wt),this.c=null),this.a&&(Tt(this.a),this.a=null),this.g&&(Tt(this.g),this.g=null),Rs.ca.Y.call(this)};var Lw="singleclick",kw="click",Fw="dblclick",Nw="pointerdrag",Dw="pointermove",Ow="pointerdown",Uw="pointerup",Bw="pointercancel",Gw={up:Lw,jp:kw,kp:Fw,np:Nw,qp:Dw,mp:Ow,tp:Uw,sp:"pointerover",rp:"pointerout",op:"pointerenter",pp:"pointerleave",lp:Bw};o(Ls,re),(Bb=Ls.prototype).J=function(){return this.get("extent")},Bb.Nb=function(){return this.get("maxResolution")},Bb.Ob=function(){return this.get("minResolution")},Bb.Rb=function(){return this.get("opacity")},Bb.rb=function(){return this.get("visible")},Bb.Sb=function(){return this.get("zIndex")},Bb.cc=function(t){this.set("extent",t)},Bb.kc=function(t){this.set("maxResolution",t)},Bb.lc=function(t){this.set("minResolution",t)},Bb.dc=function(t){this.set("opacity",t)},Bb.ec=function(t){this.set("visible",t)},Bb.fc=function(t){this.set("zIndex",t)},o(Ns,Et),o(Ds,Ls),(Bb=Ds.prototype).of=function(t){return(t=t||[]).push(ks(this)),t},Bb.ea=function(){return this.get("source")||null},Bb.pf=function(){var t=this.ea();return t?t.B:"undefined"},Bb.zm=function(){this.u()},Bb.Xk=function(){this.i&&(Wt(this.i),this.i=null);var t=this.ea();t&&(this.i=Gt(t,"change",this.zm,!1,this)),this.u()},Bb.setMap=function(t){Wt(this.o),this.o=null,t||this.u(),Wt(this.B),this.B=null,t&&(this.o=Gt(t,"precompose",function(t){var e=ks(this);e.Bb=!1,e.zIndex=Infinity,t.frameState.layerStatesArray.push(e),t.frameState.layerStates[I(this)]=e},!1,this),this.B=Gt(this,"change",t.render,!1,t),this.u())},Bb.zc=function(t){this.set("source",t)},o(Us,_t),Us.prototype.J=function(){return this.extent},Us.prototype.$=function(){return this.resolution},o(Ys,ee),(Bb=Ys.prototype).ab=s,Bb.vc=function(t,e,o,i){if(t=t.slice(),Ks(e.pixelToCoordinateMatrix,t,t),this.ab(t,e,Nm,this))return o.call(i,this.a)},Bb.xe=Fm,Bb.cd=function(o,i,r){return function(e,t){return fn(o,i,e,t,function(t){r[e]||(r[e]={}),r[e][t.a.toString()]=t})}},Bb.Dm=function(t){2===t.target.state&&Ws(this)},(Bb=_s.prototype).Be=function(){return this.B},Bb.de=function(){return this.C},Bb.Ce=function(){return this.G},Bb.De=function(){return this.j},Bb.ee=function(){return this.D},Bb.Ee=function(t){this.B=t},Bb.Fe=function(t){this.G=t},Bb.Ge=function(t){this.j=t},o(Qs,_s),(Bb=Qs.prototype).Xb=function(){if(this.c)return this.c;var t=this.g,e=this.Cb();if("fraction"==this.l||"fraction"==this.o){if(!e)return null;t=this.g.slice(),"fraction"==this.l&&(t[0]*=e[0]),"fraction"==this.o&&(t[1]*=e[1])}if("top-left"!=this.f){if(!e)return null;t===this.g&&(t=this.g.slice()),"top-right"!=this.f&&"bottom-right"!=this.f||(t[0]=-t[0]+e[0]),"bottom-left"!=this.f&&"bottom-right"!=this.f||(t[1]=-t[1]+e[1])}return this.c=t},Bb.gc=function(){return this.a.a},Bb.rd=function(){return this.a.b},Bb.Cd=function(){return this.a.f},Bb.Ae=function(){var t=this.a;if(!t.g)if(t.l){var e=t.b[0],o=t.b[1],i=is(e,o);i.fillRect(0,0,e,o),t.g=i.canvas}else t.g=t.a;return t.g},Bb.Da=function(){if(this.i)return this.i;var t=this.O;if("top-left"!=this.b){var e=this.Cb(),o=this.a.b;if(!e||!o)return null;t=t.slice(),"top-right"!=this.b&&"bottom-right"!=this.b||(t[0]=o[0]-e[0]-t[0]),"bottom-left"!=this.b&&"bottom-right"!=this.b||(t[1]=o[1]-e[1]-t[1])}
  return this.i=t},Bb.hn=function(){return this.a.i},Bb.Cb=function(){return this.v?this.v:this.a.b},Bb.tf=function(t,e){return Gt(this.a,"change",t,!1,e)},Bb.load=function(){this.a.load()},Bb.Xf=function(t,e){Vt(this.a,"change",t,!1,e)},o(tp,_t),tp.prototype.j=function(){this.f=3,this.c.forEach(Wt),this.c=null,this.s("change")},tp.prototype.o=function(){this.f=2,this.b=[this.a.width,this.a.height],this.c.forEach(Wt),this.c=null,ep(this),this.s("change")},tp.prototype.load=function(){if(0==this.f){this.f=1,this.c=[Yt(this.a,"error",this.j,!1,this),Yt(this.a,"load",this.o,!1,this)];try{this.a.src=this.i}catch(AT){this.j()}}},e(op),op.prototype.clear=function(){this.a={},this.f=0},op.prototype.get=function(t,e){var o=e+":"+t;return o in this.a?this.a[o]:null},op.prototype.set=function(t,e,o){this.a[e+":"+t]=o,++this.f},o(ip,Mt),(Bb=ip.prototype).Y=function(){pt(this.c,Tt),ip.ca.Y.call(this)},Bb.Bf=function(t,e,o,i,r,n){function s(t){var e=I(t).toString();if(!(e in h))return h[e]=!0,o.call(i,t,null)}var p,a=(u=e.viewState).resolution,h={},l=u.projection,u=t;if(l.b){var c=po(l=l.J());((y=t[0])<l[0]||y>l[2])&&(u=[y+c*Math.ceil((l[0]-y)/c),t[1]])}for(c=(l=e.layerStatesArray).length-1;0<=c;--c){var y,f=(y=l[c]).layer;if(Os(y,a)&&r.call(n,f)){var g=sp(this,f);if(f.ea()&&(p=g.ab($r(f.ea())?u:t,e,y.Bb?o:s,i)),p)return p}}},Bb.lh=function(t,e,o,i,r,n){var s,p,a=e.viewState.resolution,h=e.layerStatesArray;for(p=h.length-1;0<=p;--p){var l=(s=h[p]).layer;if(Os(s,a)&&r.call(n,l)&&(s=sp(this,l).vc(t,e,o,i)))return s}},Bb.mh=function(t,e,o,i){return void 0!==this.Bf(t,e,Nm,this,o,i)},Bb.Hk=function(){this.i.render()},Bb.Ne=s,Bb.Do=function(t,e){for(var o in this.c)if(!(e&&o in e.layerStates)){var i=o,r=this.c[i];delete this.c[i],Wt(this.G[i]),delete this.G[i],Tt(r)}},hp.prototype.clear=function(){this.a.length=0,this.f.length=0,ft(this.b)},hp.prototype.c=function(t){var e=this.o(t);return Infinity!=e&&(this.a.push(t),this.f.push(e),this.b[this.i(t)]=!0,cp(this,0,this.a.length-1),!0)},hp.prototype.qc=function(){return this.a.length},hp.prototype.La=function(){return 0===this.a.length},o(fp,hp),fp.prototype.c=function(t){var e=fp.ca.c.call(this,t);return e&&Gt(t[0],"change",this.l,!1,this),e},fp.prototype.l=function(t){var e=(t=t.target).state;2!==e&&3!==e&&4!==e||(Vt(t,"change",this.l,!1,this),(t=t.$a())in this.j&&(delete this.j[t],--this.g),this.G())},o(bp,re),bp.prototype.b=function(){return this.get("active")},bp.prototype.i=function(){return this.B},bp.prototype.g=function(t){this.set("active",t)},bp.prototype.setMap=function(t){this.B=t},o(Sp,bp),o(Ip,bp),Ip.prototype.Ac=yo,o(Fp,Ip),Fp.prototype.Ac=Fm,o(Up,Ip),Up.prototype.Ac=Fm,o(Kp,Mt),Kp.prototype.Y=function(){this.setMap(null),Kp.ca.Y.call(this)},Kp.prototype.setMap=function(t){if(this.a){this.a.l.removeChild(this.f);var e=this.f.style;e.left=e.top=e.width=e.height="inherit"}(this.a=t)&&this.a.l.appendChild(this.f)},Kp.prototype.X=function(){return this.c},o(Wp,Et),o(zp,Ip),zp.prototype.X=function(){return this.c.X()},zp.prototype.o=s,o(qp,zp),qp.prototype.o=function(){var t=this.B,e=t.aa(),o=t.Sa(),i=this.X().J(),r=(o=e.constrainResolution(Math.max(po(i)/o[0],io(i)/o[1])),e.$()),n=e.Ua();t.Na(Di({resolution:r,duration:this.l,easing:Ci})),t.Na(Fi({source:n,duration:this.l,easing:Ci})),e.kb(eo(i)),e.Ub(o)},o($p,bp),o(Qp,bp),o(ea,bp),ea.prototype.v=function(t){var e=P(this.c,-1,1),o=t.aa();t.render(),wp(t,o,-e,this.a,this.C),this.c=0,this.a=null,this.l=this.j=void 0},ea.prototype.D=function(t){(this.o=t)||(this.a=null)},o(ia,Ip),ia.prototype.Ac=Fm,o(pa,Ip),pa.prototype.Ac=Fm,o(ca,Ls),(Bb=ca.prototype).ie=function(){this.rb()&&this.u()},Bb.Jk=function(){this.b.forEach(Wt),this.b.length=0;var t,e,o,i=this.Qc();for(this.b.push(Gt(i,"add",this.Ik,!1,this),Gt(i,"remove",this.Kk,!1,this)),pt(this.a,function(t){t.forEach(Wt)}),ft(this.a),t=0,e=(i=i.a).length;t<e;t++)o=i[t],this.a[I(o).toString()]=[Gt(o,"propertychange",this.ie,!1,this),Gt(o,"change",this.ie,!1,this)];this.u()},Bb.Ik=function(t){var e=I(t=t.element).toString();this.a[e]=[Gt(t,"propertychange",this.ie,!1,this),Gt(t,"change",this.ie,!1,this)],this.u()},Bb.Kk=function(t){t=I(t.element).toString(),this.a[t].forEach(Wt),delete this.a[t],this.u()},Bb.Qc=function(){return this.get("layers")},Bb.ih=function(t){this.set("layers",t)},Bb.of=function(t){var e,o,i=void 0!==t?t:[],r=i.length;for(this.Qc().forEach(function(t){t.of(i)}),t=ks(this),e=i.length;r<e;r++)(o=i[r]).opacity*=t.opacity,o.visible=o.visible&&t.visible,o.maxResolution=Math.min(o.maxResolution,t.maxResolution),o.minResolution=Math.max(o.minResolution,t.minResolution),void 0!==t.extent&&(o.extent=void 0!==o.extent?ro(o.extent,t.extent):t.extent);return i},Bb.pf=function(){return"ready"},o(ya,mo),ya.prototype.getPointResolution=function(t,e){return t/nm(e[1]/6378137)};var Xw=6378137*Math.PI,Kw=[-Xw,-Xw,Xw,Xw],Yw=[-180,-85,180,85],Vw="EPSG:3857 EPSG:102100 EPSG:102113 EPSG:900913 urn:ogc:def:crs:EPSG:6.18:3:3857 urn:ogc:def:crs:EPSG::3857 http://www.opengis.net/gml/srs/epsg.xml#3857".split(" ").map(function(t){return new ya(t)});o(da,mo),da.prototype.getPointResolution=function(t){return t};var Ww=[-180,-90,180,90],zw=[new da("CRS:84"),new da("EPSG:4326","neu"),new da("urn:ogc:def:crs:EPSG::4326","neu"),new da("urn:ogc:def:crs:EPSG:6.6:4326","neu"),new da("urn:ogc:def:crs:OGC:1.3:CRS84"),new da("urn:ogc:def:crs:OGC:2:84"),new da("http://www.opengis.net/gml/srs/epsg.xml#4326","neu"),new da("urn:x-ogc:def:crs:EPSG:4326","neu")];o(ba,Ds),o(ma,Ds),ma.prototype.a=function(){return this.get("preload")},ma.prototype.c=function(t){this.set("preload",t)},ma.prototype.b=function(){return this.get("useInterimTilesOnError")},ma.prototype.g=function(t){this.set("useInterimTilesOnError",t)};var Zw=[0,0,0,1],Hw=[],Jw=[0,0,0,1];wa.prototype.b=function(){return this.a},wa.prototype.c=function(t){this.a=t,this.f=void 0},wa.prototype.Jb=function(){return void 0===this.f&&(this.f="f"+(this.a?Qi(this.a):"-")),this.f},o(Sa,xa),Sa.prototype.reset=function(){this.a[0]=1732584193,this.a[1]=4023233417,this.a[2]=2562383102,this.a[3]=271733878,this.c=this.b=0},(Bb=Ta.prototype).pn=function(){return this.a},Bb.Uj=function(){return this.c},Bb.qn=function(){return this.b},Bb.Vj=function(){return this.g},Bb.$j=function(){return this.i},Bb.rn=function(){return this.f},Bb.sn=function(t){this.a=t,this.j=void 0},Bb.Oo=function(t){this.c=t,this.j=void 0},Bb.tn=function(t){this.b=t,this.j=void 0},Bb.Po=function(t){this.g=t,this.j=void 0},Bb.Qo=function(t){this.i=t,this.j=void 0},Bb.Uo=function(t){this.f=t,this.j=void 0},Bb.Jb=function(){if(void 0===this.j){var t="s"+(this.a?Qi(this.a):"-")+","+(void 0!==this.c?this.c.toString():"-")+","+(this.b?this.b.toString():"-")+","+(void 0!==this.g?this.g:"-")+","+(void 0!==this.i?this.i.toString():"-")+","+(void 0!==this.f?this.f.toString():"-"),e=new Sa;Pa(e,t),(t=Array((e.b<56?e.f:2*e.f)-e.b))[0]=128;for(var o=1;o<t.length-8;++o)t[o]=0;var i=8*e.c;for(o=t.length-8;o<t.length;++o)t[o]=255&i,i/=256;for(Pa(e,t),t=Array(16),o=i=0;o<4;++o)for(var r=0;r<32;r+=8)t[i++]=e.a[o]>>>r&255;if(t.length<=8192)e=String.fromCharCode.apply(null,t);else for(e="",o=0;o<t.length;o+=8192)i=Y(t,o,o+8192),e+=String.fromCharCode.apply(null,i);this.j=e}return this.j},o(Ea,_s),(Bb=Ea.prototype).Xb=function(){return this.l},Bb.en=function(){return this.c},Bb.Ae=function(){return this.i},Bb.gc=function(){return this.a},Bb.Cd=function(){return 2},Bb.rd=function(){return this.o},Bb.Da=function(){return this.v},Bb.fn=function(){return this.b},Bb.Cb=function(){return this.O},Bb.gn=function(){return this.f},Bb.tf=s,Bb.load=s,Bb.Xf=s,Bb.vh=function(t,e,o,i){e.setTransform(1,0,0,1,0,0),e.translate(o,i),e.beginPath(),e.arc(t.size/2,t.size/2,this.b,0,2*Math.PI,!0),this.c&&(e.fillStyle=Qi(this.c.a),e.fill()),this.f&&(e.strokeStyle=t.strokeStyle,e.lineWidth=t.Id,t.lineDash&&e.setLineDash(t.lineDash),e.stroke()),e.closePath()},Bb.uh=function(t,e,o,i){e.setTransform(1,0,0,1,0,0),e.translate(o,i),e.beginPath(),e.arc(t.size/2,t.size/2,this.b,0,2*Math.PI,!0),e.fillStyle=Qi(Zw),e.fill(),this.f&&(e.strokeStyle=t.strokeStyle,e.lineWidth=t.Id,t.lineDash&&e.setLineDash(t.lineDash),e.stroke()),e.closePath()},Bb.Jb=function(){var t=this.f?this.f.Jb():"-",e=this.c?this.c.Jb():"-";return this.g&&t==this.g[1]&&e==this.g[2]&&this.b==this.g[3]||(this.g=["c"+t+e+(void 0!==this.b?this.b.toString():"-"),t,e,this.b]),this.g[0]},(Bb=ja.prototype).X=function(){return this.i},Bb.Pj=function(){return this.c},Bb.vn=function(){return this.g},Bb.wn=function(){return this.f},Bb.xn=function(){return this.b},Bb.Ca=function(){return this.j},Bb.yn=function(){return this.a},Bb.yh=function(e){y(e)?this.c=e:c(e)?this.c=function(t){return t.get(e)}:e?void 0!==e&&(this.c=function(){return e}):this.c=Ia,this.i=e},Bb.zn=function(t){this.a=t};var qw=null;o(La,Ds),La.prototype.C=function(){return this.v},La.prototype.D=function(){return this.b},La.prototype.c=function(t){this.v=void 0!==t?t:Ra,this.b=null===t?void 0:Aa(this.v),this.u()},o(Fa,La),Fa.prototype.g=function(){return this.get("preload")},Fa.prototype.U=function(){return this.get("useInterimTilesOnError")},Fa.prototype.T=function(t){this.set("preload",t)},Fa.prototype.V=function(t){this.set("useInterimTilesOnError",t)},(Bb=Na.prototype).md=function(t,e){var o=t.toString(),i=this.v[o];void 0!==i?i.push(e):this.v[o]=[e]},Bb.Gc=function(t){if(ao(this.g,t.J())){if(this.f||this.a){var e;this.f&&Xa(this,this.f),this.a&&Ka(this,this.a),e=this.na;var o=this.C,i=t.ia();o=(e=i?Uo(i,0,i.length,t.ra(),e,o):null)[2]-e[0],i=e[3]-e[1],o=Math.sqrt(o*o+i*i),(i=this.b).beginPath(),i.arc(e[0],e[1],o,0,2*Math.PI),this.f&&i.fill(),this.a&&i.stroke()}""!==this.c&&Oa(this,t.wd(),2,2)}},Bb.jf=function(t,e){var o=(0,e.c)(t);if(o&&ao(this.g,o.J())){var i=e.a;void 0===i&&(i=0),this.md(i,function(t){t.bb(e.g,e.b),t.ub(e.f),t.cb(e.Ca()),$w[o.W()].call(t,o,null)})}},Bb.Yd=function(t,e){var o,i,r=t.c;for(o=0,i=r.length;o<i;++o){var n=r[o];$w[n.W()].call(this,n,e)}},Bb.Hb=function(t){var e=t.ia();t=t.ra(),this.i&&Da(this,e,e.length),""!==this.c&&Oa(this,e,e.length,t)},Bb.Gb=function(t){var e=t.ia();t=t.ra(),this.i&&Da(this,e,e.length),""!==this.c&&Oa(this,e,e.length,t)},Bb.Wb=function(t){if(ao(this.g,t.J())){if(this.a){Ka(this,this.a);var e=this.b,o=t.ia();e.beginPath(),Ua(this,o,0,o.length,t.ra(),!1),e.stroke()}""!==this.c&&Oa(this,t=My(t),2,2)}},Bb.Hc=function(t){var e=t.J();if(ao(this.g,e)){if(this.a){Ka(this,this.a);e=this.b;var o,i,r=t.ia(),n=0,s=t.zb(),p=t.ra();for(e.beginPath(),o=0,i=s.length;o<i;++o)n=Ua(this,r,n,s[o],p,!1);e.stroke()}""!==this.c&&Oa(this,t=Ty(t),t.length,2)}},Bb.Jc=function(t){if(ao(this.g,t.J())){if(this.a||this.f){this.f&&Xa(this,this.f),this.a&&Ka(this,this.a);var e=this.b;e.beginPath(),Ba(this,t.bc(),0,t.zb(),t.ra()),this.f&&e.fill(),this.a&&e.stroke()}""!==this.c&&Oa(this,t=bi(t),2,2)}},Bb.Ic=function(t){if(ao(this.g,t.J())){if(this.a||this.f){this.f&&Xa(this,this.f),this.a&&Ka(this,this.a);var e,o,i=this.b,r=Cy(t),n=0,s=t.g,p=t.ra();for(e=0,o=s.length;e<o;++e){var a=s[e];i.beginPath(),n=Ba(this,r,n,a,p),this.f&&i.fill(),this.a&&i.stroke()}}""!==this.c&&Oa(this,t=Ry(t),t.length,2)}},Bb.bb=function(t,e){if(t){var o=t.a;this.f={fillStyle:Qi(o||Zw)}}else this.f=null;if(e){o=e.a;var i=e.c,r=e.b,n=e.g,s=e.f,p=e.i;this.a={lineCap:void 0!==i?i:"round",lineDash:r||Hw,lineJoin:void 0!==n?n:"round",lineWidth:this.D*(void 0!==s?s:1),miterLimit:void 0!==p?p:10,strokeStyle:Qi(o||Jw)}}else this.a=null},Bb.ub=function(t){if(t){var e=t.Xb(),o=t.gc(1),i=t.Da(),r=t.Cb();this.va=e[0],this.U=e[1],this.T=r[1],this.i=o,this.B=t.B,this.pa=i[0],this.wa=i[1],this.hb=t.C,this.Db=t.G,this.j=t.j,this.Eb=t.D,this.V=r[0]}else this.i=null},Bb.cb=function(t){if(t){if((e=t.a)?(e=e.a,this.l={fillStyle:Qi(e||Zw)}):this.l=null,s=t.j){var e=s.a,o=s.c,i=s.b,r=s.g,n=s.f,s=s.i;this.G={lineCap:void 0!==o?o:"round",lineDash:i||Hw,lineJoin:void 0!==r?r:"round",lineWidth:void 0!==n?n:1,miterLimit:void 0!==s?s:10,strokeStyle:Qi(e||Jw)}}else this.G=null;e=t.b,o=t.c,i=t.g,r=t.i,n=t.f,s=t.Ca();var p=t.l;t=t.o,this.fa={font:void 0!==e?e:"10px sans-serif",textAlign:void 0!==p?p:"center",textBaseline:void 0!==t?t:"middle"},this.c=void 0!==s?s:"",this.nc=void 0!==o?this.D*o:0,this.Od=void 0!==i?this.D*i:0,this.O=void 0!==r?r:0,this.o=this.D*(void 0!==n?n:1)}else this.c=""};var $w={Point:Na.prototype.Hb,LineString:Na.prototype.Wb,Polygon:Na.prototype.Jc,MultiPoint:Na.prototype.Gb,MultiLineString:Na.prototype.Hc,MultiPolygon:Na.prototype.Ic,GeometryCollection:Na.prototype.Yd,Circle:Na.prototype.Gc};o(Ya,Ys),Ya.prototype.G=function(t,e,o){Va(this,"precompose",o,t,void 0);var i=this.zd();if(i){var r=void 0!==(h=e.extent);if(r){var n=t.pixelRatio,s=no(h),p=so(h),a=to(h),h=Qe(h);Ks(t.coordinateToPixelMatrix,s,s),Ks(t.coordinateToPixelMatrix,p,p),Ks(t.coordinateToPixelMatrix,a,a),Ks(t.coordinateToPixelMatrix,h,h),o.save(),o.beginPath(),o.moveTo(s[0]*n,s[1]*n),o.lineTo(p[0]*n,p[1]*n),o.lineTo(a[0]*n,a[1]*n),o.lineTo(h[0]*n,h[1]*n),o.clip()}n=this.nf(),s=o.globalAlpha,o.globalAlpha=e.opacity,0===t.viewState.rotation?o.drawImage(i,0,0,+i.width,+i.height,Math.round(n[12]),Math.round(n[13]),Math.round(i.width*n[0]),Math.round(i.height*n[5])):(o.setTransform(n[0],n[1],n[4],n[5],n[12],n[13]),o.drawImage(i,0,0),o.setTransform(1,0,0,1,0,0)),o.globalAlpha=s,r&&o.restore()}Va(this,"postcompose",o,t,void 0)};var _w,Qw,tx=(Qw=_w=null,function(t){_w||(_w=is(1,1),(e=(Qw=_w.createImageData(1,1)).data)[0]=42,e[1]=84,e[2]=126,e[3]=255);var e=_w.canvas,o=t[0]<=e.width&&t[1]<=e.height;return o||(e.width=t[0],e.height=t[1],e=t[0]-1,t=t[1]-1,_w.putImageData(Qw,e,t),t=_w.getImageData(e,t,1,1),o=z(Qw.data,t.data)),o}),ex=["Polygon","LineString","Image","Text"];o(Za,Fs),Za.prototype.we=s,Za.prototype.lf=function(){return this.V},o(Qa,Za),Qa.prototype.Hb=function(t,e){if(this.l){Ja(this,e);var o=t.ia(),i=this.coordinates.length;o=Ha(this,o,0,o.length,t.ra(),!1);this.f.push([4,i,o,this.l,this.b,this.i,this.j,this.o,this.G,this.B,this.v,this.C,this.D,this.O,this.na]),this.a.push([4,i,o,this.T,this.b,this.i,this.j,this.o,this.G,this.B,this.v,this.C,this.D,this.O,this.na]),_a(this,e)}},Qa.prototype.Gb=function(t,e){if(this.l){Ja(this,e);var o=t.ia(),i=this.coordinates.length;o=Ha(this,o,0,o.length,t.ra(),!1);this.f.push([4,i,o,this.l,this.b,this.i,this.j,this.o,this.G,this.B,this.v,this.C,this.D,this.O,this.na]),this.a.push([4,i,o,this.T,this.b,this.i,this.j,this.o,this.G,this.B,this.v,this.C,this.D,this.O,this.na]),_a(this,e)}},Qa.prototype.we=function(){$a(this),this.i=this.b=void 0,this.l=this.T=null,this.na=this.O=this.C=this.v=this.B=this.G=this.o=this.D=this.j=void 0},Qa.prototype.ub=function(t){var e=t.Xb(),o=t.Cb(),i=t.Ae(1),r=t.gc(1),n=t.Da();this.b=e[0],this.i=e[1],this.T=i,this.l=r,this.j=o[1],this.o=t.B,this.G=n[0],this.B=n[1],this.v=t.C,this.C=t.G,this.D=t.j,this.O=t.D,this.na=o[0]},o(th,Za),(Bb=th.prototype).lf=function(){return this.c||(this.c=Oe(this.V),0<this.g&&De(this.c,this.resolution*(this.g+1)/2,this.c)),this.c},Bb.Wb=function(t,e){var o=this.b,i=o.lineWidth;void 0!==o.strokeStyle&&void 0!==i&&(oh(this),Ja(this,e),this.a.push([10,o.strokeStyle,o.lineWidth,o.lineCap,o.lineJoin,o.miterLimit,o.lineDash],[1]),eh(this,o=t.ia(),0,o.length,t.ra()),this.a.push([12]),_a(this,e))},Bb.Hc=function(t,e){var o=(n=this.b).lineWidth;if(void 0!==n.strokeStyle&&void 0!==o){oh(this),Ja(this,e),this.a.push([10,n.strokeStyle,n.lineWidth,n.lineCap,n.lineJoin,n.miterLimit,n.lineDash],[1]);var i,r,n=t.zb(),s=(o=t.ia(),t.ra()),p=0;for(i=0,r=n.length;i<r;++i)p=eh(this,o,p,n[i],s);this.a.push([12]),_a(this,e)}},Bb.we=function(){this.b.sf!=this.coordinates.length&&this.f.push([12]),$a(this),this.b=null},Bb.bb=function(t,e){var o=e.a;this.b.strokeStyle=Qi(o||Jw),o=e.c,this.b.lineCap=void 0!==o?o:"round",o=e.b,this.b.lineDash=o||Hw,o=e.g,this.b.lineJoin=void 0!==o?o:"round",o=e.f,this.b.lineWidth=void 0!==o?o:1,o=e.i,this.b.miterLimit=void 0!==o?o:10,this.b.lineWidth>this.g&&(this.g=this.b.lineWidth,this.c=null)},o(ih,Za),(Bb=ih.prototype).Gc=function(t,e){var o=this.b,i=o.strokeStyle;if(void 0!==o.fillStyle||void 0!==i){nh(this),Ja(this,e),this.a.push([9,Qi(Zw)]),void 0!==o.strokeStyle&&this.a.push([10,o.strokeStyle,o.lineWidth,o.lineCap,o.lineJoin,o.miterLimit,o.lineDash]);var r=t.ia();i=this.coordinates.length;Ha(this,r,0,r.length,t.ra(),!1),r=[1],i=[2,i],this.f.push(r,i),this.a.push(r,i),i=[7],this.a.push(i),void 0!==o.fillStyle&&this.f.push(i),void 0!==o.strokeStyle&&(o=[12],this.f.push(o),this.a.push(o)),_a(this,e)}},Bb.Jc=function(t,e){var o=this.b,i=o.strokeStyle;void 0===o.fillStyle&&void 0===i||(nh(this),Ja(this,e),this.a.push([9,Qi(Zw)]),void 0!==o.strokeStyle&&this.a.push([10,o.strokeStyle,o.lineWidth,o.lineCap,o.lineJoin,o.miterLimit,o.lineDash]),o=t.zb(),rh(this,i=t.bc(),0,o,t.ra()),_a(this,e))},Bb.Ic=function(t,e){var o=(n=this.b).strokeStyle;if(void 0!==n.fillStyle||void 0!==o){nh(this),Ja(this,e),this.a.push([9,Qi(Zw)]),void 0!==n.strokeStyle&&this.a.push([10,n.strokeStyle,n.lineWidth,n.lineCap,n.lineJoin,n.miterLimit,n.lineDash]);var i,r,n=t.g,s=(o=Cy(t),t.ra()),p=0;for(i=0,r=n.length;i<r;++i)p=rh(this,o,p,n[i],s);_a(this,e)}},Bb.we=function(){$a(this),this.b=null;var t=this.gb;if(0!==t){var e,o,i=this.coordinates;for(e=0,o=i.length;e<o;++e)i[e]=t*Math.round(i[e]/t)}},Bb.lf=function(){return this.c||(this.c=Oe(this.V),0<this.g&&De(this.c,this.resolution*(this.g+1)/2,this.c)),this.c},Bb.bb=function(t,e){var o=this.b;if(t){var i=t.a;o.fillStyle=Qi(i||Zw)}else o.fillStyle=void 0;e?(i=e.a,o.strokeStyle=Qi(i||Jw),i=e.c,o.lineCap=void 0!==i?i:"round",i=e.b,o.lineDash=i?i.slice():Hw,i=e.g,o.lineJoin=void 0!==i?i:"round",i=e.f,o.lineWidth=void 0!==i?i:1,i=e.i,o.miterLimit=void 0!==i?i:10,o.lineWidth>this.g&&(this.g=o.lineWidth,this.c=null)):(o.strokeStyle=void 0,o.lineCap=void 0,o.lineDash=null,o.lineJoin=void 0,o.lineWidth=void 0,o.miterLimit=void 0)},o(sh,Za),sh.prototype.Ib=function(t,e,o,i,r,n){if(""!==this.l&&this.j&&(this.b||this.i)){if(this.b){r=this.b;var s=this.C;if(!s||s.fillStyle!=r.fillStyle){var p=[9,r.fillStyle];this.f.push(p),this.a.push(p),s?s.fillStyle=r.fillStyle:this.C={fillStyle:r.fillStyle}}}this.i&&(r=this.i,(s=this.D)&&s.lineCap==r.lineCap&&s.lineDash==r.lineDash&&s.lineJoin==r.lineJoin&&s.lineWidth==r.lineWidth&&s.miterLimit==r.miterLimit&&s.strokeStyle==r.strokeStyle||(p=[10,r.strokeStyle,r.lineWidth,r.lineCap,r.lineJoin,r.miterLimit,r.lineDash,!1],this.f.push(p),this.a.push(p),s?(s.lineCap=r.lineCap,s.lineDash=r.lineDash,s.lineJoin=r.lineJoin,s.lineWidth=r.lineWidth,s.miterLimit=r.miterLimit,s.strokeStyle=r.strokeStyle):this.D={lineCap:r.lineCap,lineDash:r.lineDash,lineJoin:r.lineJoin,lineWidth:r.lineWidth,miterLimit:r.miterLimit,strokeStyle:r.strokeStyle})),r=this.j,(s=this.O)&&s.font==r.font&&s.textAlign==r.textAlign&&s.textBaseline==r.textBaseline||(p=[11,r.font,r.textAlign,r.textBaseline],this.f.push(p),this.a.push(p),s?(s.font=r.font,s.textAlign=r.textAlign,s.textBaseline=r.textBaseline):this.O={font:r.font,textAlign:r.textAlign,textBaseline:r.textBaseline}),Ja(this,n),t=[5,r=this.coordinates.length,t=Ha(this,t,e,o,i,!1),this.l,this.o,this.G,this.B,this.v,!!this.b,!!this.i],this.f.push(t),this.a.push(t),_a(this,n)}},sh.prototype.cb=function(t){if(t){if((e=t.a)?(e=Qi((e=e.a)||Zw),this.b?this.b.fillStyle=e:this.b={fillStyle:e}):this.b=null,s=t.j){var e=s.a,o=s.c,i=s.b,r=s.g,n=s.f,s=s.i;o=void 0!==o?o:"round",i=i?i.slice():Hw,r=void 0!==r?r:"round",n=void 0!==n?n:1,s=void 0!==s?s:10,e=Qi(e||Jw);if(this.i)(a=this.i).lineCap=o,a.lineDash=i,a.lineJoin=r,a.lineWidth=n,a.miterLimit=s,a.strokeStyle=e;else this.i={lineCap:o,lineDash:i,lineJoin:r,lineWidth:n,miterLimit:s,strokeStyle:e}}else this.i=null;var p=t.b,a=(e=t.c,o=t.g,i=t.i,n=t.f,s=t.Ca(),r=t.l,t.o);t=void 0!==p?p:"10px sans-serif",r=void 0!==r?r:"center",a=void 0!==a?a:"middle",this.j?((p=this.j).font=t,p.textAlign=r,p.textBaseline=a):this.j={font:t,textAlign:r,textBaseline:a},this.l=void 0!==s?s:"",this.o=void 0!==e?e:0,this.G=void 0!==o?o:0,this.B=void 0!==i?i:0,this.v=void 0!==n?n:1}else this.l=""},ph.prototype.c=function(t,e,o,i,r){var n=this.l;Gs(n,.5,.5,1/e,-1/e,-o,-t[0],-t[1]);var s,p=this.j;return p.clearRect(0,0,1,1),void 0!==this.i&&(Je(s=Ye(),t),De(s,e*this.i,s)),hh(this,p,n,o,i,function(t){if(0<p.getImageData(0,0,1,1).data[3]){if(t=r(t))return t;p.clearRect(0,0,1,1)}},s)},ph.prototype.a=function(t,e){var o=void 0!==t?t.toString():"0",i=this.f[o];return void 0===i&&(i={},this.f[o]=i),void 0===(o=i[e])&&(o=new ox[e](this.G,this.g,this.o),i[e]=o),o},ph.prototype.La=function(){return yt(this.f)},ph.prototype.b=function(t,e,o,i,r){var n=Object.keys(this.f).map(Number);n.sort(q);var s,p=(s=this.g)[0],a=s[1],h=s[2];Uo(p=[p,a,p,s=s[3],h,s,h,a],0,8,2,o,p),t.save(),t.beginPath(),t.moveTo(p[0],p[1]),t.lineTo(p[2],p[3]),t.lineTo(p[4],p[5]),t.lineTo(p[6],p[7]),t.closePath(),t.clip();var l,u;for(p=0,a=n.length;p<a;++p)for(l=this.f[n[p].toString()],h=0,s=ex.length;h<s;++h)void 0!==(u=l[ex[h]])&&qa(u,t,e,o,i,r,u.f,void 0);t.restore()};var ox={Image:Qa,LineString:th,Polygon:ih,Text:sh};(Bb=lh.prototype).get=function(t){return this.c[t]},Bb.zb=function(){return this.g},Bb.J=function(){return this.f||(this.f="Point"===this.b?We(this.a):ze(this.a,0,this.a.length,2)),this.f},Bb.ia=lh.prototype.bc=function(){return this.a},Bb.X=function(){return this},Bb.Cm=function(){return this.c},Bb.td=lh.prototype.X,Bb.ra=function(){return 2},Bb.ac=s,Bb.W=function(){return this.b};var ix={Point:function(t,e,o,i){var r=o.f;if(r){if(2!=r.Cd())return;var n=t.a(o.a,"Image");n.ub(r),n.Hb(e,i)}(r=o.Ca())&&((t=t.a(o.a,"Text")).cb(r),t.Ib(e.ia(),0,2,2,e,i))},LineString:function(t,e,o,i){var r=o.b;if(r){var n=t.a(o.a,"LineString");n.bb(null,r),n.Wb(e,i)}(r=o.Ca())&&((t=t.a(o.a,"Text")).cb(r),t.Ib(My(e),0,2,2,e,i))},Polygon:function(t,e,o,i){var r=o.g,n=o.b;if(r||n){var s=t.a(o.a,"Polygon");s.bb(r,n),s.Jc(e,i)}(r=o.Ca())&&((t=t.a(o.a,"Text")).cb(r),t.Ib(bi(e),0,2,2,e,i))},MultiPoint:function(t,e,o,i){var r=o.f;if(r){if(2!=r.Cd())return;var n=t.a(o.a,"Image");n.ub(r),n.Gb(e,i)}(r=o.Ca())&&((t=t.a(o.a,"Text")).cb(r),o=e.ia(),t.Ib(o,0,o.length,e.ra(),e,i))},MultiLineString:function(t,e,o,i){var r=o.b;if(r){var n=t.a(o.a,"LineString");n.bb(null,r),n.Hc(e,i)}(r=o.Ca())&&((t=t.a(o.a,"Text")).cb(r),o=Ty(e),t.Ib(o,0,o.length,2,e,i))},MultiPolygon:function(t,e,o,i){var r=o.g,n=o.b;if(n||r){var s=t.a(o.a,"Polygon");s.bb(r,n),s.Ic(e,i)}(r=o.Ca())&&((t=t.a(o.a,"Text")).cb(r),o=Ry(e),t.Ib(o,0,o.length,2,e,i))},GeometryCollection:function(t,e,o,i){var r,n;for(r=0,n=(e=e.c).length;r<n;++r)(0,ix[e[r].W()])(t,e[r],o,i)},Circle:function(t,e,o,i){var r=o.g,n=o.b;if(r||n){var s=t.a(o.a,"Polygon");s.bb(r,n),s.Gc(e,i)}(r=o.Ca())&&((t=t.a(o.a,"Text")).cb(r),t.Ib(e.wd(),0,2,2,e,i))}};o(fh,Us),fh.prototype.getError=function(){return this.f},fh.prototype.j=function(t){t?(this.f=t,this.state=3):this.state=2,Bs(this)},fh.prototype.load=function(){0==this.state&&(this.state=1,Bs(this),this.g(g(this.j,this)))},fh.prototype.a=function(){return this.c};var rx=!((st("Chrome")||st("CriOS"))&&!st("Opera")&&!st("OPR")&&!st("Edge"))||st("iPhone")&&!st("iPod")&&!st("iPad")||st("iPad")||st("iPod");o(xh,Us),xh.prototype.Y=function(){1==this.state&&(Wt(this.c),this.c=null),xh.ca.Y.call(this)},xh.prototype.a=function(){return this.l},xh.prototype.load=function(){if(0==this.state){this.state=1,Bs(this);var t=this.f.state;2==t||3==t?Sh(this):(this.c=this.f.Ra("change",function(){var t=this.f.state;2!=t&&3!=t||(Wt(this.c),this.c=null,Sh(this))},!1,this),this.f.load())}},o(Mh,qr),Mh.prototype.C=function(t,e,o,i){var r=this.b;if(r&&i&&!Co(r,i)){if(this.a){if(this.oa==this.f&&Co(this.a.v,i)&&this.a.$()==e&&this.a.b==o&&Ze(this.a.J(),t))return this.a;this.a.Fc(),this.a=null}return this.a=new xh(r,i,t,e,o,g(function(t,e,o){return this.qd(t,e,o,r)},this)),this.oa=this.f,this.a}return r&&(i=r),this.qd(t,e,o,i)},Mh.prototype.l=function(t){switch((t=t.target).state){case 1:this.s(new Eh(nx,t));break;case 2:this.s(new Eh(sx,t));break;case 3:this.s(new Eh(px,t))}},o(Eh,Et);var nx="imageloadstart",sx="imageloadend",px="imageloaderror";o(jh,Mh),jh.prototype.qd=function(t,e,o,i){e=Ph(this,e);var r=this.V;return r&&this.fa==this.f&&r.$()==e&&r.b==o&&Ge(r.J(),t)||(lo(t=t.slice(),this.pa),(i=this.ga(t,e,o,[po(t)/e*o,io(t)/e*o],i))&&(r=new fh(t,e,o,this.i,i)),this.V=r,this.fa=this.f),r},o(Ah,re),(Bb=Ah.prototype).clone=function(){var t=new Ah(this.R());t.yc(this.a);var e=this.X();return e&&t.Ma(e.clone()),(e=this.c)&&t.wf(e),t},Bb.X=function(){return this.get(this.a)},Bb.Oa=function(){return this.xa},Bb.Qj=function(){return this.a},Bb.zl=function(){return this.c},Bb.ac=function(){return this.g},Bb.Al=function(){this.u()},Bb.he=function(){this.b&&(Wt(this.b),this.b=null);var t=this.X();t&&(this.b=Gt(t,"change",this.Al,!1,this)),this.u()},Bb.Ma=function(t){this.set(this.a,t)},Bb.wf=function(t){this.g=(this.c=t)?Rh(t):void 0,this.u()},Bb.jc=function(t){this.xa=t,this.u()},Bb.yc=function(t){Vt(this,ne(this.a),this.he,!1,this),this.a=t,Gt(this,ne(this.a),this.he,!1,this),this.he()},Lh.prototype.get=function(){var t;return 0<this.f?(this.f--,t=this.a,this.a=t.next,t.next=null):t=this.b(),t};var ax,hx=new Lh(function(){return new Nh},function(t){t.reset()},100);Fh.prototype.add=function(t,e){var o=hx.get();o.set(t,e),this.f?this.f.next=o:this.a=o,this.f=o},Fh.prototype.remove=function(){var t=null;return this.a&&(t=this.a,this.a=this.a.next,this.a||(this.f=null),t.next=null),t},Nh.prototype.set=function(t,e){this.a=t,this.f=e,this.next=null};var lx=!(Nh.prototype.reset=function(){this.next=this.f=this.a=null}),ux=new Fh,cx=0,yx=2,fx=3;Gh.prototype.reset=function(){this.b=this.f=this.c=this.a=null,this.g=!1};var gx=new Lh(function(){return new Gh},function(t){t.reset()},100);Bh.prototype.then=function(t,e,o){return Vh(this,y(t)?t:null,y(e)?e:null,o)},Ch(Bh),Bh.prototype.cancel=function(t){this.a==cx&&Dh(function(){Kh(this,new _h(t))},this)},Bh.prototype.o=function(t){this.a=cx,Wh(this,yx,t)},Bh.prototype.G=function(t){this.a=cx,Wh(this,fx,t)},Bh.prototype.l=function(){for(var t=null;t=Hh(this);)Jh(this,t,this.a,this.j);this.i=!1};var dx=Nn;o(_h,a),_h.prototype.name="cancel";var vx,bx=Wb.JSON.parse,mx=Wb.JSON.stringify;tl.prototype.a=null,o(ol,tl),vx=new ol;var wx=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/;o(hl,_t);var xx="",Sx=/^https?$/i,Mx=["POST","PUT"];hl.prototype.Bc=function(){void 0!==Vb&&this.ha&&(this.g="Timed out after "+this.j+"ms, aborting",this.s("timeout"),this.ha&&this.a&&(this.a=!1,this.f=!0,this.ha.abort(),this.f=!1,this.s("complete"),this.s("abort"),dl(this)))},hl.prototype.Y=function(){this.ha&&(this.a&&(this.a=!1,this.f=!0,this.ha.abort(),this.f=!1),dl(this,!0)),hl.ca.Y.call(this)},hl.prototype.D=function(){this.na||(this.B||this.c||this.f?gl(this):this.T())},hl.prototype.T=function(){gl(this)},o(Ml,Hr),(Bb=Ml.prototype).Y=function(){Ml.ca.Y.call(this)},Bb.Ll=function(){return this.j},Bb.$a=function(){return this.l},Bb.load=function(){0==this.state&&(this.state=1,Jr(this),this.G(this,this.l),this.o(null,NaN,this.b))},Bb.ai=function(t){this.o=t};var Px,Tx=um&&Pl();t:{if(!document.implementation||!document.implementation.createDocument){if(Tx){var Ex=new ActiveXObject("MSXML2.DOMDocument");if(Ex){Ex.resolveExternals=!1,Ex.validateOnParse=!1;try{Ex.setProperty("ProhibitDTD",!0),Ex.setProperty("MaxXMLSize",2048),Ex.setProperty("MaxElementDepth",256)}catch(AT){}}if(Ex){Px=Ex;break t}}throw Error("Your browser does not support creating new documents")}Px=document.implementation.createDocument("","",null)}var jx,Ax,Rx,Cx,Ix,Lx=Px,kx=document.implementation&&document.implementation.createDocument?El:jl,Fx=um?Il:Cl,Nx=um?kl:Ll,Dx=um?Nl:Fl,Ox=document.implementation&&document.implementation.createDocument?Dl:Ol,Ux=document.implementation&&document.implementation.createDocument?Ul:Bl,Bx=document.implementation&&document.implementation.createDocument?Gl:Xl,Gx=ql();Ix={ja:{}},function(){function o(t,e){if(!(this instanceof o))return new o(t,e);this.bf=Math.max(4,t||9),this.hg=Math.max(2,Math.ceil(.4*this.bf)),e&&this.cj(e),this.clear()}function l(t,e){t.bbox=u(t,0,t.children.length,e)}function u(t,e,o,i){for(var r,n=[Infinity,Infinity,-Infinity,-Infinity];e<o;e++)r=t.children[e],h(n,t.Qa?i(r):r.bbox);return n}function h(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.max(t[2],e[2]),t[3]=Math.max(t[3],e[3])}function n(t,e){return t.bbox[0]-e.bbox[0]}function s(t,e){return t.bbox[1]-e.bbox[1]}function c(t){return(t[2]-t[0])*(t[3]-t[1])}function y(t){return t[2]-t[0]+(t[3]-t[1])}function f(t,e){return t[0]<=e[0]&&t[1]<=e[1]&&e[2]<=t[2]&&e[3]<=t[3]}function g(t,e){return e[0]<=t[2]&&e[1]<=t[3]&&e[2]>=t[0]&&e[3]>=t[1]}function d(t,e,o,i,r){for(var n,s=[e,o];s.length;)(o=s.pop())-(e=s.pop())<=i||(v(t,e,o,n=e+Math.ceil((o-e)/i/2)*i,r),s.push(e,n,n,o))}function v(t,e,o,i,r){for(var n,s,p,a,h;e<o;){for(600<o-e&&(n=o-e+1,s=i-e+1,p=Math.log(n),a=.5*Math.exp(2*p/3),h=.5*Math.sqrt(p*a*(n-a)/n)*(s-n/2<0?-1:1),v(t,p=Math.max(e,Math.floor(i-s*a/n+h)),s=Math.min(o,Math.floor(i+(n-s)*a/n+h)),i,r)),n=t[i],a=o,b(t,s=e,i),0<r(t[o],n)&&b(t,e,o);s<a;){for(b(t,s,a),s++,a--;r(t[s],n)<0;)s++;for(;0<r(t[a],n);)a--}0===r(t[e],n)?b(t,e,a):b(t,++a,o),a<=i&&(e=a+1),i<=a&&(o=a-1)}}function b(t,e,o){var i=t[e];t[e]=t[o],t[o]=i}o.prototype={all:function(){return this.cg(this.data,[])},search:function(t){var e=this.data,o=[],i=this.fb;if(!g(t,e.bbox))return o;for(var r,n,s,p,a=[];e;){for(r=0,n=e.children.length;r<n;r++)s=e.children[r],g(t,p=e.Qa?i(s):s.bbox)&&(e.Qa?o.push(s):f(t,p)?this.cg(s,o):a.push(s));e=a.pop()}return o},load:function(t){if(!t||!t.length)return this;if(t.length<this.hg){for(var e=0,o=t.length;e<o;e++)this.ya(t[e]);return this}return t=this.eg(t.slice(),0,t.length-1,0),this.data.children.length?this.data.height===t.height?this.jg(this.data,t):(this.data.height<t.height&&(e=this.data,this.data=t,t=e),this.gg(t,this.data.height-t.height-1,!0)):this.data=t,this},ya:function(t){return t&&this.gg(t,this.data.height-1),this},clear:function(){return this.data={children:[],height:1,bbox:[Infinity,Infinity,-Infinity,-Infinity],Qa:!0},this},remove:function(t){if(!t)return this;for(var e,o,i,r,n=this.data,s=this.fb(t),p=[],a=[];n||p.length;){if(n||(n=p.pop(),o=p[p.length-1],e=a.pop(),r=!0),n.Qa&&-1!==(i=n.children.indexOf(t))){n.children.splice(i,1),p.push(n),this.aj(p);break}r||n.Qa||!f(n.bbox,s)?o?(e++,n=o.children[e],r=!1):n=null:(p.push(n),a.push(e),e=0,n=(o=n).children[0])}return this},fb:function(t){return t},ff:function(t,e){return t[0]-e[0]},gf:function(t,e){return t[1]-e[1]},toJSON:function(){return this.data},cg:function(t,e){for(var o=[];t;)t.Qa?e.push.apply(e,t.children):o.push.apply(o,t.children),t=o.pop();return e},eg:function(t,e,o,i){var r,n,s,p,a,h;if((n=o-e+1)<=(s=this.bf))return l(r={children:t.slice(e,o+1),height:1,bbox:null,Qa:!0},this.fb),r;for(i||(i=Math.ceil(Math.log(n)/Math.log(s)),s=Math.ceil(n/Math.pow(s,i-1))),r={children:[],height:i,bbox:null},d(t,e,o,s=(n=Math.ceil(n/s))*Math.ceil(Math.sqrt(s)),this.ff);e<=o;e+=s)for(d(t,e,a=Math.min(e+s-1,o),n,this.gf),p=e;p<=a;p+=n)h=Math.min(p+n-1,a),r.children.push(this.eg(t,p,h,i-1));return l(r,this.fb),r},$i:function(t,e,o,i){for(var r,n,s,p,a,h,l,u;i.push(e),!e.Qa&&i.length-1!==o;){for(l=u=Infinity,r=0,n=e.children.length;r<n;r++)a=c((s=e.children[r]).bbox),h=s.bbox,(h=(Math.max(h[2],t[2])-Math.min(h[0],t[0]))*(Math.max(h[3],t[3])-Math.min(h[1],t[1]))-a)<u?(u=h,l=a<l?a:l,p=s):h===u&&a<l&&(l=a,p=s);e=p}return e},gg:function(t,e,o){var i=this.fb;o=o?t.bbox:i(t),i=[];var r=this.$i(o,this.data,e,i);for(r.children.push(t),h(r.bbox,o);0<=e&&i[e].children.length>this.bf;)this.ij(i,e),e--;this.Xi(o,i,e)},ij:function(t,e){var o=t[e],i=o.children.length,r=this.hg;this.Yi(o,r,i),i=this.Zi(o,r,i),i={children:o.children.splice(i,o.children.length-i),height:o.height},o.Qa&&(i.Qa=!0),l(o,this.fb),l(i,this.fb),e?t[e-1].children.push(i):this.jg(o,i)},jg:function(t,e){this.data={children:[t,e],height:t.height+1},l(this.data,this.fb)},Zi:function(t,e,o){var i,r,n,s,p,a,h;for(p=a=Infinity,i=e;i<=o-e;i++)r=u(t,0,i,this.fb),n=u(t,i,o,this.fb),s=Math.max(0,Math.min(r[2],n[2])-Math.max(r[0],n[0]))*Math.max(0,Math.min(r[3],n[3])-Math.max(r[1],n[1])),r=c(r)+c(n),s<p?(p=s,h=i,a=r<a?r:a):s===p&&r<a&&(a=r,h=i);return h},Yi:function(t,e,o){var i=t.Qa?this.ff:n,r=t.Qa?this.gf:s;this.dg(t,e,o,i)<(e=this.dg(t,e,o,r))&&t.children.sort(i)},dg:function(t,e,o,i){t.children.sort(i);var r,n,s=u(t,0,e,i=this.fb),p=u(t,o-e,o,i),a=y(s)+y(p);for(r=e;r<o-e;r++)n=t.children[r],h(s,t.Qa?i(n):n.bbox),a+=y(s);for(r=o-e-1;e<=r;r--)n=t.children[r],h(p,t.Qa?i(n):n.bbox),a+=y(p);return a},Xi:function(t,e,o){for(;0<=o;o--)h(e[o].bbox,t)},aj:function(t){for(var e,o=t.length-1;0<=o;o--)0===t[o].children.length?0<o?(
  e=t[o-1].children).splice(e.indexOf(t[o]),1):this.clear():l(t[o],this.fb)},cj:function(t){var e=["return a"," - b",";"];this.ff=new Function("a","b",e.join(t[0])),this.gf=new Function("a","b",e.join(t[1])),this.fb=new Function("a","return [a"+t.join(", a")+"];")}},void 0!==Ix?Ix.ja=o:"undefined"!=typeof self?self.a=o:window.a=o}(),jx=Ix.ja,(Bb=pu.prototype).ya=function(t,e){var o=[t[0],t[1],t[2],t[3],e];this.f.ya(o),this.a[I(e)]=o},Bb.load=function(t,e){for(var o=Array(e.length),i=0,r=e.length;i<r;i++){var n=t[i],s=e[i];n=[n[0],n[1],n[2],n[3],s];o[i]=n,this.a[I(s)]=n}this.f.load(o)},Bb.remove=function(t){t=I(t);var e=this.a[t];return delete this.a[t],null!==this.f.remove(e)},Bb.forEach=function(t,e){return cu(hu(this),t,e)},Bb.La=function(){return yt(this.a)},Bb.clear=function(){this.f.clear(),this.a={}},Bb.J=function(){return this.f.data.bbox},o(yu,qr),(Bb=yu.prototype).Bd=function(t){var e=I(t).toString();if(gu(this,e,t)){fu(this,e,t);var o=t.X();o?(e=o.J(),this.a&&this.a.ya(e,t)):this.g[e]=t,this.s(new wu("addfeature",t))}this.u()},Bb.Ec=function(t){du(this,t),this.u()},Bb.clear=function(t){if(t){for(var e in this.o)this.o[e].forEach(Wt);this.c||(this.o={},this.j={},this.l={})}else t=this.Qh,this.a&&(this.a.forEach(t,this),pt(this.g,t,this));this.c&&this.c.clear(),this.a&&this.a.clear(),this.V.clear(),this.g={},this.s(new wu("clear")),this.u()},Bb.sg=function(t,e){return this.a?this.a.forEach(t,e):this.c?this.c.forEach(t,e):void 0},Bb.pb=function(t,e,o){return this.a?uu(this.a,t,e,o):this.c?this.c.forEach(e,o):void 0},Bb.tg=function(e,o,i){return this.pb(e,function(t){if(t.X().Ea(e)&&(t=o.call(i,t)))return t})},Bb.zg=function(){return this.c},Bb.ze=function(){var t;return this.c?t=this.c.a:this.a&&(t=hu(this.a),yt(this.g)||X(t,lt(this.g))),t},Bb.yg=function(t){var e=[];return bu(this,t,function(t){e.push(t)}),e},Bb.mf=function(t){return lu(this.a,t)},Bb.vg=function(t){var i=t[0],r=t[1],n=null,s=[NaN,NaN],p=Infinity,a=[-Infinity,-Infinity,Infinity,Infinity];return uu(this.a,a,function(t){var e=t.X(),o=p;(p=e.nb(i,r,s,p))<o&&(n=t,t=Math.sqrt(p),a[0]=i-t,a[1]=r-t,a[2]=i+t,a[3]=r+t)}),n},Bb.J=function(){return this.a.J()},Bb.xg=function(t){return void 0!==(t=this.j[t.toString()])?t:null},Bb.th=function(t){var e=I(t=t.target).toString(),o=t.X();o?(o=o.J(),e in this.g?(delete this.g[e],this.a&&this.a.ya(o,t)):this.a&&au(this.a,o,t)):e in this.g||(this.a&&this.a.remove(t),this.g[e]=t),void 0!==(o=t.Oa())?(o=o.toString(),e in this.l?(delete this.l[e],this.j[o]=t):this.j[o]!==t&&(mu(this,t),this.j[o]=t)):e in this.l||(mu(this,t),this.l[e]=t),this.u(),this.s(new wu("changefeature",t))},Bb.La=function(){return this.a.La()&&yt(this.g)},Bb.Nc=function(t,e,o){var i,r,n=this.V;for(i=0,r=(t=this.pa(t,e)).length;i<r;++i){var s=t[i];uu(n,s,function(t){return Ge(t.extent,s)})||(this.T.call(this,s,e,o),n.ya(s,{extent:s.slice()}))}},Bb.Rc=function(t){var e=I(t).toString();e in this.g?delete this.g[e]:this.a&&this.a.remove(t),this.Qh(t),this.u()},Bb.Qh=function(t){var e=I(t).toString();this.o[e].forEach(Wt),delete this.o[e];var o=t.Oa();void 0!==o?delete this.j[o.toString()]:delete this.l[e],this.s(new wu("removefeature",t))},o(wu,Et),o(xu,jh),(Bb=xu.prototype).tj=function(t,n,s,e,o){var p=new ph(.5*n/s,t,n);this.c.Nc(t,n,o);var a=!1;return this.c.pb(t,function(t){var e,o;if(!(e=a))if((e=t.ac())?o=e.call(t,n):this.o&&(o=this.o(t,n)),o){var i,r=!1;for(e=0,i=o.length;e<i;++e)r=yh(p,t,o[e],ch(n,s),this.Nm,this)||r;e=r}else e=!1;a=e},this),ah(p),a?null:(this.j[0]!=e[0]||this.j[1]!=e[1]?(this.g.canvas.width=e[0],this.g.canvas.height=e[1],this.j[0]=e[0],this.j[1]=e[1]):this.g.clearRect(0,0,e[0],e[1]),t=Su(this,eo(t),n,s,e),p.b(this.g,s,t,0,{}),this.v=p,this.g.canvas)},Bb.ye=function(t,e,o,i,r){if(this.v){var n={};return this.v.c(t,e,0,i,function(t){var e=I(t).toString();if(!(e in n))return n[e]=!0,r(t)})}},Bb.Km=function(){return this.c},Bb.Lm=function(){return this.T},Bb.Mm=function(){return this.o},Bb.Nm=function(){this.u()},Bb.Om=function(){_r(this,this.c.B)},Bb.ph=function(t){this.T=void 0!==t?t:Ra,this.o=t?Aa(this.T):void 0,this.u()},o(Mu,Ya),(Bb=Mu.prototype).ab=function(t,e,o,i){var r=this.a;return r.ea().ye(t,e.viewState.resolution,e.viewState.rotation,e.skippedFeatureUids,function(t){return o.call(i,t,r)})},Bb.vc=function(t,e,o,i){if(this.zd())if(this.a.ea()instanceof xu){if(t=t.slice(),Ks(e.pixelToCoordinateMatrix,t,t),this.ab(t,e,Nm,this))return o.call(i,this.a)}else if(this.c||(this.c=Pe(),Ce(this.i,this.c)),e=za(t,this.c),this.b||(this.b=is(1,1)),this.b.clearRect(0,0,1,1),this.b.drawImage(this.zd(),e[0],e[1],1,1,0,0,1,1),0<this.b.getImageData(0,0,1,1).data[3])return o.call(i,this.a)},Bb.zd=function(){return this.g?this.g.a():null},Bb.nf=function(){return this.i},Bb.Ad=function(t,e){var o=t.pixelRatio,i=(h=t.viewState).center,r=h.resolution,n=h.rotation,s=this.a.ea(),p=t.viewHints,a=t.extent;if(void 0!==e.extent&&(a=ro(a,e.extent)),p[0]||p[1]||ho(a)||(h=s.C(a,r,o,h.projection))&&Vs(this,h)&&(this.g=h),this.g){p=(h=this.g).J(),a=h.$();var h,l=h.b;r=o*a/(r*l);Gs(this.i,o*t.size[0]/2,o*t.size[1]/2,r,r,n,l*(p[0]-i[0])/a,l*(i[1]-p[3])/a),this.c=null,Zs(t.attributions,h.i),Hs(t,s)}return!0},o(Pu,Ya),Pu.prototype.zd=function(){return this.i},Pu.prototype.nf=function(){return this.B},Pu.prototype.Ad=function(t,e){function o(t){return 2==(t=t.state)||4==t||3==t&&!A}var i,r=t.pixelRatio,n=t.viewState,s=n.projection,p=this.a,a=p.ea(),h=a.ib(s),l=a.ae(),u=pn(h,n.resolution),c=a.Qb(u,t.pixelRatio,s),y=c[0]/he(h.Ka(u),this.U)[0],f=h.$(u),g=(y=f/y,n.center);if(f==n.resolution?i=oo(g=qs(g,f,t.size),f,n.rotation,t.size):i=t.extent,void 0!==e.extent&&(i=ro(i,e.extent)),ho(i))return!1;var d,v,b,m,w=on(h,i,f),x=c[0]*zi(w),S=c[1]*Wi(w);this.i?(d=this.i,v=this.j,this.b[0]<x||this.b[1]<S||this.D!==c[0]||this.C!==c[1]||this.o&&(this.b[0]>x||this.b[1]>S)?(d.width=x,d.height=S,this.b=[x,S],this.o=!tx(this.b),this.c=null):(x=this.b[0],S=this.b[1],u==this.v&&Ki(this.c,w)||(this.c=null))):(v=is(x,S),this.i=v.canvas,this.b=[x,S],this.j=v,this.o=!tx(this.b)),this.c?x=zi(S=this.c):(x/=c[0],S/=c[1],b=w.a-Math.floor((x-zi(w))/2),m=w.f-Math.floor((S-Wi(w))/2),this.v=u,this.D=c[0],this.C=c[1],this.c=new Xi(b,b+x-1,m,m+S-1),this.l=Array(x*S),S=this.c),(d={})[u]={};var M,P,T,E=[],j=this.cd(a,s,d),A=p.b(),R=Ye(),C=new Xi(0,0,0,0);for(m=w.a;m<=w.c;++m)for(T=w.f;T<=w.b;++T)!o(P=a.Pb(u,m,T,r,s))&&P.f&&(P=P.f),o(P)?d[u][Gi(P.a)]=P:(M=tn(h,P.a,j,C,R))||(E.push(P),(M=en(h,P.a,C,R))&&j(u+1,M));for(j=0,M=E.length;j<M;++j)P=E[j],m=c[0]*(P.a[1]-S.a),T=c[1]*(S.b-P.a[2]),v.clearRect(m,T,c[0],c[1]);(E=Object.keys(d).map(Number)).sort(q);var I,L,k,F,N,D,O=a.pa,U=no(h.Aa([u,S.a,S.b],R));j=0;for(M=E.length;j<M;++j)if(I=E[j],c=a.Qb(I,r,s),F=d[I],I==u)for(L in F)b=((P=F[L]).a[2]-S.f)*x+(P.a[1]-S.a),this.l[b]!=P&&(m=c[0]*(P.a[1]-S.a),T=c[1]*(S.b-P.a[2]),4!=(k=P.state)&&(3!=k||A)&&O||v.clearRect(m,T,c[0],c[1]),2==k&&v.drawImage(P.Ta(),l,l,c[0],c[1],m,T,c[0],c[1]),this.l[b]=P);else for(L in I=h.$(I)/f,F)for(P=F[L],m=((b=h.Aa(P.a,R))[0]-U[0])/y,T=(U[1]-b[3])/y,D=I*c[0],N=I*c[1],4!=(k=P.state)&&O||v.clearRect(m,T,D,N),2==k&&v.drawImage(P.Ta(),l,l,c[0],c[1],m,T,D,N),P=rn(h,b,u,C),b=Math.max(P.a,S.a),T=Math.min(P.c,S.c),m=Math.max(P.f,S.f),P=Math.min(P.b,S.b),k=b;k<=T;++k)for(N=m;N<=P;++N)b=(N-S.f)*x+(k-S.a),this.l[b]=void 0;return Js(t.usedTiles,a,u,w),$s(t,a,h,r,s,i,u,p.a()),zs(t,a),Hs(t,a),Gs(this.B,r*t.size[0]/2,r*t.size[1]/2,r*y/n.resolution,r*y/n.resolution,n.rotation,(U[0]-g[0])/y,(g[1]-U[1])/y),!(this.g=null)},Pu.prototype.vc=function(t,e,o,i){if(this.j&&(this.g||(this.g=Pe(),Ce(this.B,this.g)),t=za(t,this.g),0<this.j.getImageData(t[0],t[1],1,1).data[3]))return o.call(i,this.a)},o(Tu,Ya),Tu.prototype.G=function(t,e,o){var i=t.extent,r=t.pixelRatio,n=e.Bb?t.skippedFeatureUids:{},s=(p=t.viewState).projection,p=p.rotation,a=s.J(),h=this.a.ea(),l=Wa(this,t,0);Va(this,"precompose",o,t,l);var u=this.b;if(u&&!u.La()){var c;te(this.a,"render")?(this.g.canvas.width=o.canvas.width,this.g.canvas.height=o.canvas.height,c=this.g):c=o;var y=c.globalAlpha;if(c.globalAlpha=e.opacity,u.b(c,r,l,p,n),h.O&&s.b&&!Ge(a,i)){for(e=i[0],s=po(a),h=0;e<a[0];)l=Wa(this,t,l=s*--h),u.b(c,r,l,p,n),e+=s;for(h=0,e=i[2];e>a[2];)l=Wa(this,t,l=s*++h),u.b(c,r,l,p,n),e-=s;l=Wa(this,t,0)}c!=o&&(Va(this,"render",c,t,l),o.drawImage(c.canvas,0,0)),c.globalAlpha=y}Va(this,"postcompose",o,t,l)},Tu.prototype.ab=function(t,e,o,i){if(this.b){var r=e.viewState.resolution,n=e.viewState.rotation,s=this.a,p=e.layerStates[I(s)],a={};return this.b.c(t,r,n,p.Bb?e.skippedFeatureUids:{},function(t){var e=I(t).toString();if(!(e in a))return a[e]=!0,o.call(i,t,s)})}},Tu.prototype.B=function(){Ws(this)},Tu.prototype.Ad=function(t){function e(t){var e,o=t.ac();if(o?e=o.call(t,h):(o=n.b)&&(e=o(t,h)),e){if(e){if(o=!1,d(e))for(var i=0,r=e.length;i<r;++i)o=yh(c,t,e[i],ch(h,l),this.B,this)||o;else o=yh(c,t,e,ch(h,l),this.B,this)||o;t=o}else t=!1;this.c=this.c||t}}var n=this.a,o=n.ea();Zs(t.attributions,o.i),Hs(t,o);var i=t.viewHints[0],r=t.viewHints[1],s=n.j,p=n.l;if(!this.c&&!s&&i||!p&&r)return!0;var a=t.extent,h=(i=(p=t.viewState).projection,p.resolution),l=t.pixelRatio,u=(r=n.f,n.a);if(void 0===(s=ka(n))&&(s=uh),a=De(a,u*h),u=p.projection.J(),o.O&&p.projection.b&&!Ge(u,t.extent)&&(t=Math.max(po(a)/2,po(u)),a[0]=u[0]-t,a[2]=u[2]+t),!this.c&&this.l==h&&this.o==r&&this.j==s&&Ge(this.i,a))return!0;Tt(this.b),this.b=null,this.c=!1;var c=new ph(.5*h/l,a,h,n.a);if(o.Nc(a,h,i),s){var y=[];o.pb(a,function(t){y.push(t)},this),y.sort(s),y.forEach(e,this)}else o.pb(a,e,this);return ah(c),this.l=h,this.o=r,this.j=s,this.i=a,this.b=c,!0},o(Iu,yn),(Bb=Iu.prototype).Xa=function(){return this.tileLoadFunction},Bb.Ya=function(){return this.tileUrlFunction},Bb.Za=function(){return this.urls},Bb.sh=function(t){switch((t=t.target).state){case 1:this.s(new dn("tileloadstart",t));break;case 2:this.s(new dn("tileloadend",t));break;case 3:this.s(new dn("tileloaderror",t))}},Bb.eb=function(t){this.a.clear(),this.tileLoadFunction=t,this.u()},Bb.Ja=function(t){this.a.clear(),this.tileUrlFunction=t,this.u()},Bb.Va=function(t){this.Ja(ju(Cu(t),this.tileGrid)),this.urls=[t]},Bb.Wa=function(t){this.Ja(ju(t,this.tileGrid)),this.urls=t},Bb.Yf=function(t,e,o){t=this.Ab(t,e,o),Vr(this.a,t)&&this.a.get(t)},o(Lu,Iu),Lu.prototype.Pb=function(t,e,o,i,r){var n=this.Ab(t,e,o);return Vr(this.a,n)?this.a.get(n):(i=(e=gn(this,t=[t,e,o],r))?this.tileUrlFunction(e,i,r):void 0,Gt(r=new this.tileClass(t,void 0!==i?0:4,void 0!==i?i:"",this.g,this.tileLoadFunction,r),"change",this.sh,!1,this),this.a.set(n,r),r)},o(Fu,Ya),Fu.prototype.G=function(t,e,o){var i=t.pixelRatio,r=e.Bb?t.skippedFeatureUids:{},n=t.viewState,s=n.center,p=n.projection,a=n.resolution,h=n.rotation,l=this.a,u=l.ea(),c=Wa(this,t,0);Va(this,"precompose",o,t,c),te(l,"render")?(this.c.canvas.width=o.canvas.width,this.c.canvas.height=o.canvas.height,l=this.c):l=o;var y=l.globalAlpha;l.globalAlpha=e.opacity,e=this.g;var f,g,d,v,b,m=u.tileGrid;for(g=0,d=e.length;g<d;++g)f=(v=e[g]).a[0],b=m.Ka(f),b=u.Qb(f,i,p)[0]/he(b,this.l)[0],f=m.$(f),f/=b,"tile-pixels"==v.b.f&&(c=no(m.Aa(v.a,this.i)),c=Gs(this.o,i*t.size[0]/2,i*t.size[1]/2,i*f/a,i*f/a,n.rotation,(c[0]-s[0])/f,(s[1]-c[1])/f)),v.c.Hd.b(l,i,c,h,r);c=Wa(this,t,0),l!=o&&(Va(this,"render",l,t,c),o.drawImage(l.canvas,0,0)),l.globalAlpha=y,Va(this,"postcompose",o,t,c)},Fu.prototype.ab=function(t,e,o,i){var r,n,s,p,a,h,l=e.viewState.resolution,u=e.viewState.rotation,c=this.a,y=e.layerStates[I(c)],f={},g=this.g,d=c.ea(),v=d.tileGrid;for(s=0,p=g.length;s<p;++s)n=(h=g[s]).a,Be(a=d.tileGrid.Aa(n,this.i),t)&&("tile-pixels"===h.b.f?(a=no(a),l=d.v,n=v.$(n[0])/l,n=[(t[0]-a[0])/n,(a[1]-t[1])/n]):n=t,h=h.c.Hd,r=r||h.c(n,l,u,y.Bb?e.skippedFeatureUids:{},function(t){var e=I(t).toString();if(!(e in f))return f[e]=!0,o.call(i,t,c)}));return r},Fu.prototype.j=function(){Ws(this)},Fu.prototype.Ad=function(t,e){var o=this.a,i=o.ea();Zs(t.attributions,i.i),Hs(t,i);var r=t.viewHints[0],n=t.viewHints[1],s=o.j,p=o.l;if(!this.b&&!s&&r||!p&&n)return!0;if(n=t.extent,e.extent&&(n=ro(n,e.extent)),ho(n))return!1;s=(r=t.viewState).projection,p=r.resolution,r=t.pixelRatio;for(var a=(b=i.tileGrid).a,h=a.length-1;0<h&&a[h]<p;)--h;a=rn(b,n,h),Js(t.usedTiles,i,h,a),$s(t,i,b,r,s,n,h,o.g()),zs(t,i),(n={})[h]={};var l,u,c,y=this.cd(i,s,n),f=o.U(),g=this.i,d=new Xi(0,0,0,0);for(u=a.a;u<=a.c;++u)for(c=a.f;c<=a.b;++c)2==(l=(p=i.Pb(h,u,c,r,s)).state)||4==l||3==l&&!f?n[h][Gi(p.a)]=p:(l=tn(b,p.a,y,d,g))||(p=en(b,p.a,d,g))&&y(h+1,p);this.b=!1,(i=Object.keys(n).map(Number)).sort(q);s=[];var v,b=0;for(h=i.length;b<h;++b)for(v in a=n[p=i[b]])2==(p=a[v]).state&&(s.push(p),Nu(this,p,o,r));return this.g=s,!0},o(Du,ip),Du.prototype.hf=function(t){return t instanceof ba?new Mu(t):t instanceof ma?new Pu(t):t instanceof Fa?new Fu(t):t instanceof La?new Tu(t):null},Du.prototype.W=function(){return"canvas"},Du.prototype.Ne=function(t){if(t){var e=this.b,o=t.size[0]*t.pixelRatio,i=t.size[1]*t.pixelRatio;this.a.width!=o||this.a.height!=i?(this.a.width=o,this.a.height=i):e.clearRect(0,0,this.a.width,this.a.height),rp(t),Ou(this,"precompose",t),W(o=t.layerStatesArray);var r,n,s,p;i=t.viewState.resolution;for(r=0,n=o.length;r<n;++r)s=sp(this,s=(p=o[r]).layer),Os(p,i)&&"ready"==p.O&&s.Ad(t,p)&&s.G(t,p,e);Ou(this,"postcompose",t),this.f||(Nr(this.a,!0),this.f=!0),pp(this,t),t.postRenderFunctions.push(np)}else this.f&&(Nr(this.a,!1),this.f=!1)},o(Uu,Ys),Uu.prototype.g=s,Uu.prototype.l=s,o(Bu,Uu),Bu.prototype.ab=function(t,e,o,i){var r=this.a;return r.ea().ye(t,e.viewState.resolution,e.viewState.rotation,e.skippedFeatureUids,function(t){return o.call(i,t,r)})},Bu.prototype.g=function(){hr(this.target),this.b=null},Bu.prototype.i=function(t,e){var o=t.viewState,i=o.center,r=o.resolution,n=o.rotation,s=this.b,p=this.a.ea(),a=t.viewHints,h=t.extent;return void 0!==e.extent&&(h=ro(h,e.extent)),a[0]||a[1]||ho(h)||(o=p.C(h,r,t.pixelRatio,o.projection))&&Vs(this,o)&&(s=o),s&&(a=s.J(),h=s.$(),Gs(o=Pe(),t.size[0]/2,t.size[1]/2,h/r,h/r,n,(a[0]-i[0])/h,(i[1]-a[3])/h),s!=this.b&&((i=s.a(this)).style.maxWidth="none",i.style.position="absolute",hr(this.target),this.target.appendChild(i),this.b=s),Xs(o,this.c)||(ns(this.target,o),je(this.c,o)),Zs(t.attributions,s.i),Hs(t,p)),!0},o(Gu,Uu),Gu.prototype.g=function(){hr(this.target),this.j=0},Gu.prototype.i=function(t,e){if(!e.visible)return this.c&&(Nr(this.target,!1),this.c=!1),!0;var o,i=t.pixelRatio,r=t.viewState,n=r.projection,s=this.a,p=s.ea(),a=p.ib(n),h=p.ae(),l=pn(a,r.resolution),u=a.$(l),c=r.center;u==r.resolution?o=oo(c=qs(c,u,t.size),u,r.rotation,t.size):o=t.extent,void 0!==e.extent&&(o=ro(o,e.extent));u=on(a,o,u);var y={};y[l]={};var f,g,d,v,b,m=this.cd(p,n,y),w=s.b(),x=Ye(),S=new Xi(0,0,0,0);for(d=u.a;d<=u.c;++d)for(v=u.f;v<=u.b;++v)!(g=2==(g=(f=p.Pb(l,d,v,i,n)).state)||4==g||3==g&&!w)&&f.f&&(f=f.f),2==(g=f.state)?y[l][Gi(f.a)]=f:4==g||3==g&&!w||((g=tn(a,f.a,m,S,x))||(f=en(a,f.a,S,x))&&m(l+1,f));if(this.j!=p.f){for(b in this.b)ur((w=this.b[+b]).target);this.b={},this.j=p.f}(x=Object.keys(y).map(Number)).sort(q);var M;m={};for(d=0,v=x.length;d<v;++d){for(M in(b=x[d])in this.b?w=this.b[b]:(w=new Xu(a,w=a.ge(c,b)),m[b]=!0,this.b[b]=w),b=y[b]){f=w;var P,T=h,E=(P=(g=b[M]).a)[0],j=P[1],A=P[2];if(!((P=Gi(P))in f.f)){E=he(f.g.Ka(E),f.l);var R=g.Ta(f),C=R.style;C.maxWidth="none";var I=void 0,L=void 0;0<T?((L=(I=document.createElement("DIV")).style).overflow="hidden",L.width=E[0]+"px",L.height=E[1]+"px",C.position="absolute",C.left=-T+"px",C.top=-T+"px",C.width=E[0]+2*T+"px",C.height=E[1]+2*T+"px",I.appendChild(R)):(C.width=E[0]+"px",C.height=E[1]+"px",I=R,L=C),L.position="absolute",L.left=(j-f.b[1])*E[0]+"px",L.top=(f.b[2]-A)*E[1]+"px",f.a||(f.a=document.createDocumentFragment()),f.a.appendChild(I),f.f[P]=g}}w.a&&(w.target.appendChild(w.a),w.a=null)}for((h=Object.keys(this.b).map(Number)).sort(q),d=Pe(),M=0,x=h.length;M<x;++M)if(b=h[M],w=this.b[b],b in y){if(f=w.$(),v=w.Da(),Gs(d,t.size[0]/2,t.size[1]/2,f/r.resolution,f/r.resolution,r.rotation,(v[0]-c[0])/f,(c[1]-v[1])/f),w.setTransform(d),b in m){for(--b;0<=b;--b)if(b in this.b){(v=this.b[b].target).parentNode&&v.parentNode.insertBefore(w.target,v.nextSibling);break}b<0&&lr(this.target,w.target,0)}else if(!t.viewHints[0]&&!t.viewHints[1]){for(f in g=rn(w.g,o,w.b[0],S),b=[],f=v=void 0,w.f)v=w.f[f],g.contains(v.a)||b.push(v);for(T=g=void 0,g=0,T=b.length;g<T;++g)f=Gi((v=b[g]).a),ur(v.Ta(w)),delete w.f[f]}}else ur(w.target),delete this.b[b];return e.opacity!=this.o&&(this.o=this.target.style.opacity=e.opacity),e.visible&&!this.c&&(Nr(this.target,!0),this.c=!0),Js(t.usedTiles,p,l,u),$s(t,p,a,i,n,o,l,s.a()),zs(t,p),Hs(t,p),!0},Xu.prototype.Da=function(){return this.i},Xu.prototype.$=function(){return this.j},Xu.prototype.setTransform=function(t){Xs(t,this.c)||(ns(this.target,t),je(this.c,t))},o(Ku,Uu),Ku.prototype.l=function(t,e){var o=(n=t.viewState).center,i=n.rotation,r=n.resolution,n=t.pixelRatio,s=t.size[0],p=t.size[1],a=s*n,h=p*n;o=Gs(this.O,n*s/2,n*p/2,n/r,-n/r,-i,-o[0],-o[1]);(r=this.j).canvas.width=a,r.canvas.height=h,s=Gs(this.D,0,0,1/n,1/n,0,-(a-s)/2*n,-(h-p)/2*n),ns(r.canvas,s),Yu(this,"precompose",t,o),(s=this.b)&&!s.La()&&(r.globalAlpha=e.opacity,s.b(r,n,o,i,e.Bb?t.skippedFeatureUids:{}),Yu(this,"render",t,o)),Yu(this,"postcompose",t,o)},Ku.prototype.ab=function(t,e,o,i){if(this.b){var r=e.viewState.resolution,n=e.viewState.rotation,s=this.a,p=e.layerStates[I(s)],a={};return this.b.c(t,r,n,p.Bb?e.skippedFeatureUids:{},function(t){var e=I(t).toString();if(!(e in a))return a[e]=!0,o.call(i,t,s)})}},Ku.prototype.C=function(){Ws(this)},Ku.prototype.i=function(t){function e(t){var e,o=t.ac();if(o?e=o.call(t,a):(o=n.b)&&(e=o(t,a)),e){if(e){if(o=!1,d(e))for(var i=0,r=e.length;i<r;++i)o=yh(l,t,e[i],ch(a,h),this.C,this)||o;else o=yh(l,t,e,ch(a,h),this.C,this)||o;t=o}else t=!1;this.c=this.c||t}}var n=this.a,o=n.ea();Zs(t.attributions,o.i),Hs(t,o);var i=t.viewHints[0],r=t.viewHints[1],s=n.j,p=n.l;if(!this.c&&!s&&i||!p&&r)return!0;r=t.extent,i=(s=t.viewState).projection;var a=s.resolution,h=t.pixelRatio;if(t=n.f,p=n.a,void 0===(s=ka(n))&&(s=uh),r=De(r,p*a),!this.c&&this.B==a&&this.v==t&&this.G==s&&Ge(this.o,r))return!0;Tt(this.b),this.b=null,this.c=!1;var l=new ph(.5*a/h,r,a,n.a);if(o.Nc(r,a,i),s){var u=[];o.pb(r,function(t){u.push(t)},this),u.sort(s),u.forEach(e,this)}else o.pb(r,e,this);return ah(l),this.B=a,this.v=t,this.G=s,this.o=r,this.b=l,!0},o(Vu,ip),Vu.prototype.Y=function(){ur(this.a),Vu.ca.Y.call(this)},Vu.prototype.hf=function(t){if(t instanceof ba)t=new Bu(t);else if(t instanceof ma)t=new Gu(t);else{if(!(t instanceof La))return null;t=new Ku(t)}return t},Vu.prototype.W=function(){return"dom"},Vu.prototype.Ne=function(t){if(t){if(te(e=this.i,"precompose")||te(e,"postcompose")){var e=this.b.canvas,o=t.pixelRatio;e.width=t.size[0]*o,e.height=t.size[1]*o}Wu(this,"precompose",t),W(e=t.layerStatesArray);var i,r,n,s;o=t.viewState.resolution;for(i=0,r=e.length;i<r;++i)n=sp(this,n=(s=e[i]).layer),lr(this.a,n.target,i),Os(s,o)&&"ready"==s.O?n.i(t,s)&&n.l(t,s):n.g();var p;e=t.layerStates;for(p in this.c)p in e||ur((n=this.c[p]).target);this.f||(Nr(this.a,!0),this.f=!0),rp(t),pp(this,t),t.postRenderFunctions.push(np),Wu(this,"postcompose",t)}else this.f&&(Nr(this.a,!1),this.f=!1)},o(Zu,zu),Zu.prototype.W=function(){return 35632},o(Hu,zu),Hu.prototype.W=function(){return 35633},o(Ju,Zu),e(Ju),o(qu,Hu),e(qu),(Bb=Qu.prototype).Y=function(){var e=this.a;e.isContextLost()||(pt(this.f,function(t){e.deleteBuffer(t.buffer)}),pt(this.g,function(t){e.deleteProgram(t)}),pt(this.i,function(t){e.deleteShader(t)}),e.deleteFramebuffer(this.c),e.deleteRenderbuffer(this.l),e.deleteTexture(this.o))},Bb.Gn=function(){return this.a},Bb.Hn=function(){ft(this.f),ft(this.i),ft(this.g),this.l=this.o=this.c=this.j=null},Bb.In=function(){},Bb.He=function(t){return t!=this.j&&(this.a.useProgram(t),this.j=t,!0)},o(ac,Fs),ac.prototype.Gb=function(t,e){this.b.push(this.f.length),this.G.push(e);var o=t.ia();lc(this,o,o.length,t.ra())},ac.prototype.Hb=function(t,e){this.b.push(this.f.length),this.G.push(e);var o=t.ia();lc(this,o,o.length,t.ra())},ac.prototype.ub=function(t){var e=t.Xb(),o=t.gc(1),i=t.rd(),r=t.Ae(1),n=t.B,s=t.Da(),p=t.C,a=t.G,h=t.Cb();t=t.j,0===this.g.length?this.g.push(o):I(this.g[this.g.length-1])!=I(o)&&(this.v.push(this.f.length),this.g.push(o)),0===this.c.length?this.c.push(r):I(this.c[this.c.length-1])!=I(r)&&(this.i.push(this.f.length),this.c.push(r)),this.C=e[0],this.D=e[1],this.na=h[1],this.va=i[1],this.U=i[0],this.T=n,this.V=s[0],this.fa=s[1],this.oa=a,this.ga=p,this.gb=t,this.pa=h[0]},gc.prototype.a=function(t,e){var o=this.f[e];return void 0===o&&(o=new Xx[e](this.j,this.i),this.f[e]=o),o},gc.prototype.La=function(){return yt(this.f)},gc.prototype.b=function(t,e,o,i,r,n,s,p){var a,h;for(n=0,a=ex.length;n<a;++n)void 0!==(h=this.f[ex[n]])&&yc(h,t,e,o,i,r,s,p,void 0,!1)},gc.prototype.c=function(t,e,o,i,r,n,s,p,a,h){var l,u=e.a;return u.bindFramebuffer(u.FRAMEBUFFER,oc(e)),void 0!==this.g&&(l=De(We(t),i*this.g)),bc(this,e,t,i,r,p,a,function(t){var e=new Uint8Array(4);if(u.readPixels(0,0,1,1,u.RGBA,u.UNSIGNED_BYTE,e),0<e[3]&&(t=h(t)))return t},!0,l)};var Xx={Image:ac},Kx=[1,1];o(wc,Fs),(Bb=wc.prototype).md=function(t,e){var o=t.toString(),i=this.a[o];void 0!==i?i.push(e):this.a[o]=[e]},Bb.Gc=function(){},Bb.jf=function(t,o){var i=(0,o.c)(t);if(i&&ao(this.c,i.J())){var e=o.a;void 0===e&&(e=0),this.md(e,function(t){t.bb(o.g,o.b),t.ub(o.f),t.cb(o.Ca());var e=Yx[i.W()];e&&e.call(t,i,null)})}},Bb.Yd=function(t,e){var o,i,r=t.c;for(o=0,i=r.length;o<i;++o){var n=r[o],s=Yx[n.W()];s&&s.call(this,n,e)}},Bb.Hb=function(t,e){var o=this.f,i=new gc(1,this.c).a(0,"Image");i.ub(this.b),i.Hb(t,e),uc(i,o),yc(i,this.f,this.g,this.i,this.j,this.l,1,{},void 0,!1),hc(i,o)()},Bb.Wb=function(){},Bb.Hc=function(){},Bb.Gb=function(t,e){var o=this.f,i=new gc(1,this.c).a(0,"Image");i.ub(this.b),i.Gb(t,e),uc(i,o),yc(i,this.f,this.g,this.i,this.j,this.l,1,{},void 0,!1),hc(i,o)()},Bb.Ic=function(){},Bb.Jc=function(){},Bb.Ib=function(){},Bb.bb=function(){},Bb.ub=function(t){this.b=t},Bb.cb=function(){};var Yx={Point:wc.prototype.Hb,MultiPoint:wc.prototype.Gb,GeometryCollection:wc.prototype.Yd};o(xc,Zu),e(xc),o(Sc,Hu),e(Sc),o(Pc,Ys),Pc.prototype.nh=function(t,e,o){Ec(this,"precompose",o,t),tc(o,34962,this.U);var i=o.a,r=xc.Yb(),n=Sc.Yb();r=rc(o,r,n);this.G?n=this.G:this.G=n=new Mc(i,r),o.He(r)&&(i.enableVertexAttribArray(n.a),i.vertexAttribPointer(n.a,2,5126,!1,16,0),i.enableVertexAttribArray(n.f),i.vertexAttribPointer(n.f,2,5126,!1,16,8),i.uniform1i(n.g,0)),i.uniformMatrix4fv(n.i,!1,this.o),i.uniformMatrix4fv(n.c,!1,this.B),i.uniform1f(n.b,e.opacity),i.bindTexture(3553,this.mb),i.drawArrays(5,0,4),Ec(this,"postcompose",o,t)},Pc.prototype.Cf=function(){this.g=this.mb=null,this.i=void 0},o(jc,Pc),jc.prototype.ab=function(t,e,o,i){var r=this.a;return r.ea().ye(t,e.viewState.resolution,e.viewState.rotation,e.skippedFeatureUids,function(t){return o.call(i,t,r)})},jc.prototype.Df=function(t,e){var o=this.b.b,i=t.pixelRatio,r=t.viewState,n=r.center,s=r.resolution,p=r.rotation,a=this.c,h=this.mb,l=this.a.ea(),u=t.viewHints,c=t.extent;return void 0!==e.extent&&(c=ro(c,e.extent)),u[0]||u[1]||ho(c)||(r=l.C(c,s,i,r.projection))&&Vs(this,r)&&(h=Ac(this,a=r),this.mb&&t.postRenderFunctions.push(v(function(t,e){t.isContextLost()||t.deleteTexture(e)},o,this.mb))),a&&(Rc(this,(o=this.b.g.G).width,o.height,i,n,s,p,a.J()),this.l=null,Ae(i=this.o),Le(i,1,-1),Ie(i,0,-1),this.c=a,this.mb=h,Zs(t.attributions,a.i),Hs(t,l)),!0},jc.prototype.xe=function(t,e){return void 0!==this.ab(t,e,Nm,this)},jc.prototype.vc=function(t,e,o,i){if(this.c&&this.c.a())if(this.a.ea()instanceof xu){if(t=t.slice(),Ks(e.pixelToCoordinateMatrix,t,t),this.ab(t,e,Nm,this))return o.call(i,this.a)}else{var r=[this.c.a().width,this.c.a().height];if(!this.l){var n=e.size;Ae(e=Pe()),Ie(e,-1,-1),Le(e,2/n[0],2/n[1]),Ie(e,0,n[1]),Le(e,1,-1),n=Pe(),Ce(this.B,n);var s=Pe();Ae(s),Ie(s,0,r[1]),Le(s,1,-1),Le(s,r[0]/2,r[1]/2),Ie(s,1,1);var p=Pe();Re(s,n,p),Re(p,e,p),this.l=p}if(e=[0,0],Ks(this.l,t,e),!(e[0]<0||e[0]>r[0]||e[1]<0||e[1]>r[1])&&(this.j||(this.j=is(1,1)),this.j.clearRect(0,0,1,1),this.j.drawImage(this.c.a(),e[0],e[1],1,1,0,0,1,1),0<this.j.getImageData(0,0,1,1).data[3]))return o.call(i,this.a)}},o(Cc,Zu),e(Cc),o(Ic,Hu),e(Ic),o(kc,Pc),(Bb=kc.prototype).Y=function(){ec(this.b.g,this.C),kc.ca.Y.call(this)},Bb.cd=function(e,i,r){var n=this.b;return function(o,t){return fn(e,i,o,t,function(t){var e=Vr(n.f,t.$a());return e&&(r[o]||(r[o]={}),r[o][t.a.toString()]=t),e})}},Bb.Cf=function(){kc.ca.Cf.call(this),this.c=null},Bb.Df=function(t,e,o){var i,r=this.b,n=o.a,s=t.viewState,p=s.projection,a=this.a,h=a.ea(),l=h.ib(p),u=pn(l,s.resolution),c=l.$(u),y=h.Qb(u,t.pixelRatio,p),f=y[0]/he(l.Ka(u),this.O)[0],g=c/f,d=h.ae(),v=s.center;if(c==s.resolution?i=oo(v=qs(v,c,t.size),c,s.rotation,t.size):i=t.extent,c=on(l,i,c),this.j&&Vi(this.j,c)&&this.l==h.f)g=this.v;else{var b=[zi(c),Wi(c)],m=(b=g*(T=Math.pow(2,Math.ceil(Math.log(Math.max(b[0]*y[0],b[1]*y[1]))/Math.LN2))),l.Da(u));g=[E=m[0]+c.a*y[0]*g,g=m[1]+c.f*y[1]*g,E+b,g+b];Tc(this,t,T),n.viewport(0,0,T,T),n.clearColor(0,0,0,0),n.clear(16384),n.disable(3042),T=rc(o,this.D,this.T),o.He(T),this.c||(this.c=new Lc(n,T)),tc(o,34962,this.C),n.enableVertexAttribArray(this.c.a),n.vertexAttribPointer(this.c.a,2,5126,!1,16,0),n.enableVertexAttribArray(this.c.f),n.vertexAttribPointer(this.c.f,2,5126,!1,16,8),n.uniform1i(this.c.b,0),(o={})[u]={};var w,x,S,M=this.cd(h,p,o),P=a.b(),T=!0,E=Ye(),j=new Xi(0,0,0,0);for(x=c.a;x<=c.c;++x)for(S=c.f;S<=c.b;++S)if(m=h.Pb(u,x,S,f,p),void 0===e.extent||ao(w=l.Aa(m.a,E),e.extent)){if(!(w=2==(w=m.state)||4==w||3==w&&!P)&&m.f&&(m=m.f),2==(w=m.state)){if(Vr(r.f,m.$a())){o[u][Gi(m.a)]=m;continue}}else if(4==w||3==w&&!P)continue;T=!1,(w=tn(l,m.a,M,j,E))||(m=en(l,m.a,j,E))&&M(u+1,m)}(e=Object.keys(o).map(Number)).sort(q);var A,R;for(M=new Float32Array(4),P=0,j=e.length;P<j;++P)for(A in R=o[e[P]])m=R[A],Me(M,x=2*((w=l.Aa(m.a,E))[2]-w[0])/b,S=2*(w[3]-w[1])/b,2*(w[0]-g[0])/b-1,w=2*(w[1]-g[1])/b-1),n.uniform4fv(this.c.c,M),Dc(r,m,y,d*f),n.drawArrays(5,0,4);T?(this.j=c,this.v=g,this.l=h.f):(this.v=this.j=null,this.l=-1,t.animate=!0)}Js(t.usedTiles,h,u,c);var C=r.l;return $s(t,h,l,f,p,i,u,a.a(),function(t){var e;(e=2!=t.state||Vr(r.f,t.$a()))||(e=t.$a()in C.b),e||C.c([t,nn(l,t.a),l.$(t.a[0]),y,d*f])},this),zs(t,h),Hs(t,h),Ae(n=this.o),Ie(n,(v[0]-g[0])/(g[2]-g[0]),(v[1]-g[1])/(g[3]-g[1])),0!==s.rotation&&ke(n,s.rotation),Le(n,t.size[0]*s.resolution/(g[2]-g[0]),t.size[1]*s.resolution/(g[3]-g[1])),Ie(n,-.5,-.5),!0},Bb.vc=function(t,e,o,i){if(this.g){var r=[0,0];if(Ks(this.o,[t[0]/e.size[0],(e.size[1]-t[1])/e.size[1]],r),t=[r[0]*this.i,r[1]*this.i],(e=this.b.g.a).bindFramebuffer(e.FRAMEBUFFER,this.g),r=new Uint8Array(4),e.readPixels(t[0],t[1],1,1,e.RGBA,e.UNSIGNED_BYTE,r),0<r[3])return o.call(i,this.a)}},o(Fc,Pc),(Bb=Fc.prototype).nh=function(t,e,o){this.j=e;var i=t.viewState,r=this.c;r&&!r.La()&&r.b(o,i.center,i.resolution,i.rotation,t.size,t.pixelRatio,e.opacity,e.Bb?t.skippedFeatureUids:{})},Bb.Y=function(){var t=this.c;t&&(dc(t,this.b.g)(),this.c=null),Fc.ca.Y.call(this)},Bb.ab=function(t,e,o,i){if(this.c&&this.j){var r=e.viewState,n=this.a,s=this.j,p={};return this.c.c(t,this.b.g,r.center,r.resolution,r.rotation,e.size,e.pixelRatio,s.opacity,s.Bb?e.skippedFeatureUids:{},function(t){var e=I(t).toString();if(!(e in p))return p[e]=!0,o.call(i,t,n)})}},Bb.xe=function(t,e){if(this.c&&this.j){var o=e.viewState;return mc(this.c,t,this.b.g,o.resolution,o.rotation,this.j.opacity,e.skippedFeatureUids)}return!1},Bb.vc=function(t,e,o,i){if(t=t.slice(),Ks(e.pixelToCoordinateMatrix,t,t),this.xe(t,e))return o.call(i,this.a)},Bb.oh=function(){Ws(this)},Bb.Df=function(t,e,o){function i(t){var e,o=t.ac();if(o?e=o.call(t,h):(o=n.b)&&(e=o(t,h)),e){if(e){if(o=!1,d(e))for(var i=0,r=e.length;i<r;++i)o=yh(c,t,e[i],ch(h,l),this.oh,this)||o;else o=yh(c,t,e,ch(h,l),this.oh,this)||o;t=o}else t=!1;this.l=this.l||t}}var n=this.a;e=n.ea(),Zs(t.attributions,e.i),Hs(t,e);var r=t.viewHints[0],s=t.viewHints[1],p=n.j,a=n.l;if(!this.l&&!p&&r||!a&&s)return!0;s=t.extent,r=(p=t.viewState).projection;var h=p.resolution,l=t.pixelRatio,u=(p=n.f,n.a);if(void 0===(a=ka(n))&&(a=uh),s=De(s,u*h),!this.l&&this.D==h&&this.O==p&&this.C==a&&Ge(this.v,s))return!0;this.c&&t.postRenderFunctions.push(dc(this.c,o)),this.l=!1;var c=new gc(.5*h/l,s,n.a);if(e.Nc(s,h,r),a){var y=[];e.pb(s,function(t){y.push(t)},this),y.sort(a),y.forEach(i,this)}else e.pb(s,i,this);return vc(c,o),this.D=h,this.O=p,this.C=a,this.v=s,this.c=c,!0},o(Nc,ip),(Bb=Nc.prototype).hf=function(t){return t instanceof ba?new jc(this,t):t instanceof ma?new kc(this,t):t instanceof La?new Fc(this,t):null},Bb.Y=function(){var e=this.b;e.isContextLost()||this.f.forEach(function(t){t&&e.deleteTexture(t.mb)}),Tt(this.g),Nc.ca.Y.call(this)},Bb.xj=function(t,e){for(var o,i=this.b;1024<this.f.qc()-this.j;){if(o=this.f.a.mc)i.deleteTexture(o.mb);else{if(+this.f.a.oe==e.index)break;--this.j}this.f.pop()}},Bb.W=function(){return"webgl"},Bb.Em=function(t){t.preventDefault(),this.f.clear(),this.j=0,pt(this.c,function(t){t.Cf()})},Bb.Fm=function(){Uc(this),this.i.render()},Bb.Ne=function(t){var e=this.g,o=this.b;if(o.isContextLost())return!1;if(!t)return this.o&&(Nr(this.a,!1),this.o=!1),!1;this.B=t.focus,this.f.set((-t.index).toString(),null),++this.j,Oc(this,"precompose",t);var i=[],r=t.layerStatesArray;W(r);var n,s,p,a=t.viewState.resolution;for(n=0,s=r.length;n<s;++n)Os(p=r[n],a)&&"ready"==p.O&&(sp(this,p.layer).Df(t,p,e)&&i.push(p));for(r=t.size[0]*t.pixelRatio,a=t.size[1]*t.pixelRatio,this.a.width==r&&this.a.height==a||(this.a.width=r,this.a.height=a),o.bindFramebuffer(36160,null),o.clearColor(0,0,0,0),o.clear(16384),o.enable(3042),o.viewport(0,0,this.a.width,this.a.height),n=0,s=i.length;n<s;++n)sp(this,(p=i[n]).layer).nh(t,p,e);this.o||(Nr(this.a,!0),this.o=!0),rp(t),1024<this.f.qc()-this.j&&t.postRenderFunctions.push(g(this.xj,this)),this.l.La()||(t.postRenderFunctions.push(this.O),t.animate=!0),Oc(this,"postcompose",t),pp(this,t),t.postRenderFunctions.push(np)},Bb.Bf=function(t,e,o,i,r,n){var s;if(this.b.isContextLost())return!1;var p,a=e.viewState,h=e.layerStatesArray;for(p=h.length-1;0<=p;--p){var l=(s=h[p]).layer;if(Os(s,a.resolution)&&r.call(n,l)&&(s=sp(this,l).ab(t,e,o,i)))return s}},Bb.mh=function(t,e,o,i){var r=!1;if(this.b.isContextLost())return!1;var n,s=e.viewState,p=e.layerStatesArray;for(n=p.length-1;0<=n;--n){var a=p[n],h=a.layer;if(Os(a,s.resolution)&&o.call(i,h)&&(r=sp(this,h).xe(t,e)))return!0}return r},Bb.lh=function(t,e,o,i,r){if(this.b.isContextLost())return!1;var n,s,p=e.viewState,a=e.layerStatesArray;for(s=a.length-1;0<=s;--s){var h=(n=a[s]).layer;if(Os(n,p.resolution)&&r.call(i,h)&&(n=sp(this,h).vc(t,e,o,i)))return n}};var Vx=["canvas","webgl","dom"];o(Bc,re),(Bb=Bc.prototype).kj=function(t){this.g.push(t)},Bb.lj=function(t){this.c.push(t)},Bb.kg=function(t){this.rc().Qc().push(t)},Bb.lg=function(t){this.i.push(t)},Bb.mg=function(t){var e=t.Oa();void 0!==e&&(this.V[e.toString()]=t),t.setMap(this)},Bb.Na=function(t){this.render(),Array.prototype.push.apply(this.O,arguments)},Bb.Y=function(){ur(this.a),Bc.ca.Y.call(this)},Bb.pd=function(t,e,o,i,r){if(this.b)return t=this.Ga(t),this.o.Bf(t,this.b,e,void 0!==o?o:null,void 0!==i?i:Nm,void 0!==r?r:null)},Bb.Jl=function(t,e,o,i,r){if(this.b)return this.o.lh(t,this.b,e,void 0!==o?o:null,void 0!==i?i:Nm,void 0!==r?r:null)},Bb.bl=function(t,e,o){return!!this.b&&(t=this.Ga(t),this.o.mh(t,this.b,void 0!==e?e:Nm,void 0!==o?o:null))},Bb.Mj=function(t){return this.Ga(this.$d(t))},Bb.$d=function(t){var e;return e=this.a,t=Ir(t),e=Ir(e),[(e=new er(t.x-e.x,t.y-e.y)).x,e.y]},Bb.xf=function(){return this.get("target")},Bb.Mc=function(){var t=this.xf();return void 0!==t?rr(t):null},Bb.Ga=function(t){var e=this.b;return e?(t=t.slice(),Ks(e.pixelToCoordinateMatrix,t,t)):null},Bb.Kj=function(){return this.g},Bb.dk=function(){return this.i},Bb.ck=function(t){return void 0!==(t=this.V[t.toString()])?t:null},Bb.Rj=function(){return this.c},Bb.rc=function(){return this.get("layergroup")},Bb.Zg=function(){return this.rc().Qc()},Bb.Pa=function(t){var e=this.b;return e?(t=t.slice(0,2),Ks(e.coordinateToPixelMatrix,t,t)):null},Bb.Sa=function(){return this.get("size")},Bb.aa=function(){return this.get("view")},Bb.sk=function(){return this.a},Bb.qk=function(t,e,o,i){var r=this.b;return r&&e in r.wantedTiles&&r.wantedTiles[e][Gi(t.a)]?(t=o[0]-r.focus[0],o=o[1]-r.focus[1],65536*Math.log(i)+Math.sqrt(t*t+o*o)/i):Infinity},Bb.Jg=function(t,e){var o=new js(e||t.type,this,t);this.Kg(o)},Bb.Kg=function(t){if(this.b){this.T=t.coordinate,t.frameState=this.b;var e,o=this.c.a;if(!1!==this.s(t))for(e=o.length-1;0<=e;e--){var i=o[e];if(i.b()&&!i.handleEvent(t))break}}},Bb.Uk=function(){var t=this.b,
  e=this.oa;if(!e.La()){var o=16,i=o,r=0;t&&((r=t.viewHints)[0]&&(o=this.nc?8:0,i=2),r[1]&&(o=this.Cc?8:0,i=2),r=ht(t.wantedTiles)),o*=r,i*=r,e.g<o&&(yp(e),gp(e,o,i))}for(o=0,i=(e=this.pa).length;o<i;++o)e[o](this,t);e.length=0},Bb.Wk=function(){this.render()},Bb.Yk=function(){var t=this.Mc();Jn(this.C),t?(t.appendChild(this.a),Hn(this.C,this.ga?this.ga:t),this.B||(this.B=Gt(this.hb,"resize",this.Vc,!1,this))):(ur(this.a),this.B&&(Wt(this.B),this.B=null)),this.Vc()},Bb.Zk=function(){this.render()},Bb.al=function(){this.render()},Bb.$k=function(){this.U&&(Wt(this.U),this.U=null);var t=this.aa();t&&(this.U=Gt(t,"propertychange",this.al,!1,this)),this.render()},Bb.Fk=function(){this.render()},Bb.Gk=function(){this.render()},Bb.Ek=function(){this.D&&(this.D.forEach(Wt),this.D=null);var t=this.rc();t&&(this.D=[Gt(t,"propertychange",this.Gk,!1,this),Gt(t,"change",this.Fk,!1,this)]),this.render()},Bb.Fo=function(){var t=this.v;Ln(t),t.c()},Bb.render=function(){null!=this.v.xa||this.v.start()},Bb.yo=function(t){return this.g.remove(t)},Bb.zo=function(t){return this.c.remove(t)},Bb.Bo=function(t){return this.rc().Qc().remove(t)},Bb.Co=function(t){return this.i.remove(t)},Bb.Eo=function(t){var e,o,i,r=this.Sa(),n=this.aa(),s=null;if(void 0!==r&&0<r[0]&&0<r[1]&&n&&ji(n)){s=n.b.slice();var p=this.rc().of(),a={};for(e=0,o=p.length;e<o;++e)a[I(p[e].layer)]=p[e];i=Ei(n),s={animate:!1,attributions:{},coordinateToPixelMatrix:this.Db,extent:null,focus:this.T?this.T:i.center,index:this.Eb++,layerStates:a,layerStatesArray:p,logos:vt(this.Yc),pixelRatio:this.Xe,pixelToCoordinateMatrix:this.Ye,postRenderFunctions:[],size:r,skippedFeatureUids:this.fa,tileQueue:this.oa,time:t,usedTiles:{},viewState:i,viewHints:s,wantedTiles:{}}}if(s){for(e=r=0,o=(t=this.O).length;e<o;++e)(n=t[e])(this,s)&&(t[r++]=n);t.length=r,s.extent=oo(i.center,i.resolution,i.rotation,s.size)}this.b=s,this.o.Ne(s),s&&(s.animate&&this.render(),Array.prototype.push.apply(this.pa,s.postRenderFunctions),0!==this.O.length||s.viewHints[0]||s.viewHints[1]||Ze(s.extent,this.wa)||(this.s(new Xr("moveend",this,s)),Oe(s.extent,this.wa))),this.s(new Xr("postrender",this,s)),Dn(this.Uk,this)},Bb.$h=function(t){this.set("layergroup",t)},Bb.Vf=function(t){this.set("size",t)},Bb.Kl=function(t){this.set("target",t)},Bb.To=function(t){this.set("view",t)},Bb.ii=function(t){t=I(t).toString(),this.fa[t]=!0,this.render()},Bb.Vc=function(){var t=this.Mc();if(t){var e=gr(t),o=um&&t.currentStyle;o&&br(ir(e))&&"auto"!=o.width&&"auto"!=o.height&&!o.boxSizing?t=new or(e=Dr(t,o.width,"width","pixelWidth"),t=Dr(t,o.height,"height","pixelHeight")):(o=new or(t.offsetWidth,t.offsetHeight),e=Ur(t,"padding"),t=Gr(t),t=new or(o.width-t.left-e.left-e.right-t.right,o.height-t.top-e.top-e.bottom-t.bottom)),this.Vf([t.width,t.height])}else this.Vf(void 0)},Bb.li=function(t){t=I(t).toString(),delete this.fa[t],this.render()},va(),o(Xc,re),(Bb=Xc.prototype).se=function(){return this.get("element")},Bb.Oa=function(){return this.xa},Bb.te=function(){return this.get("map")},Bb.Gg=function(){return this.get("offset")},Bb.$g=function(){return this.get("position")},Bb.Hg=function(){return this.get("positioning")},Bb.Ak=function(){hr(this.b);var t=this.se();t&&this.b.appendChild(t)},Bb.Lk=function(){this.c&&(ur(this.b),Wt(this.c),this.c=null);var t=this.te();t&&(this.c=Gt(t,"postrender",this.render,!1,this),Vc(this),t=this.l?t.j:t.l,this.j?lr(t,this.b,0):t.appendChild(this.b))},Bb.render=function(){Vc(this)},Bb.Qk=function(){Vc(this)},Bb.Sk=function(){if(Vc(this),void 0!==this.get("position")&&this.autoPan){var t=this.te();if(void 0!==t&&t.Mc()){var e=Kc(t.Mc(),t.Sa()),o=(s=this.se()).offsetWidth,i=s.currentStyle||window.getComputedStyle(s),r=(o=o+(parseInt(i.marginLeft,10)+parseInt(i.marginRight,10)),i=s.offsetHeight,s.currentStyle||window.getComputedStyle(s)),n=Kc(s,[o,i=i+(parseInt(r.marginTop,10)+parseInt(r.marginBottom,10))]),s=this.i;Ge(e,n)||(o=n[0]-e[0],i=e[2]-n[2],r=n[1]-e[1],n=e[3]-n[3],e=[0,0],o<0?e[0]=o-s:i<0&&(e[0]=Math.abs(i)+s),r<0?e[1]=r-s:n<0&&(e[1]=Math.abs(n)+s),0===e[0]&&0===e[1])||(s=t.aa().Ua(),e=[(o=t.Pa(s))[0]+e[0],o[1]+e[1]],this.g&&(this.g.source=s,t.Na(Fi(this.g))),t.aa().kb(t.Ga(e)))}}},Bb.Tk=function(){Vc(this)},Bb.Xh=function(t){this.set("element",t)},Bb.setMap=function(t){this.set("map",t)},Bb.bi=function(t){this.set("offset",t)},Bb.yf=function(t){this.set("position",t)},Bb.ei=function(t){this.set("positioning",t)},o(Wc,Kr),(Bb=Wc.prototype).setMap=function(t){var e=this.a;t!==e&&(e&&(e=e.aa())&&Vt(e,ne("rotation"),this.je,!1,this),Wc.ca.setMap.call(this,t),t&&(this.o.push(Gt(t,"propertychange",this.Mk,!1,this)),0===this.b.Zg().$b()&&this.b.$h(t.rc()),t=t.aa()))&&(Gt(t,ne("rotation"),this.je,!1,this),ji(t)&&(this.b.Vc(),Zc(this)))},Bb.Mk=function(t){"view"===t.key&&((t=t.oldValue)&&Vt(t,ne("rotation"),this.je,!1,this),Gt(t=this.a.aa(),ne("rotation"),this.je,!1,this))},Bb.je=function(){this.b.aa().ue(this.a.aa().Fa())},Bb.Vl=function(t){t.preventDefault(),Jc(this)},Bb.Ul=function(){return this.j},Bb.Xl=function(t){this.j!==t&&(this.j=t,Pr(this.element,"ol-uncollapsible"),!t&&this.i&&Jc(this))},Bb.Wl=function(t){this.j&&this.i!==t&&Jc(this)},Bb.Tl=function(){return this.i},Bb.ek=function(){return this.b},o(qc,Kr);var Wx=[1,2,5];qc.prototype.D=function(){return this.get("units")},qc.prototype.V=function(){_c(this)},qc.prototype.T=function(t){this.set("units",t)},o(Qc,Mt);var zx=[];Qc.prototype.Ra=function(t,e,o,i){d(e)||(e&&(zx[0]=e.toString()),e=zx);for(var r=0;r<e.length;r++){var n=Gt(t,e[r],o||this.handleEvent,i||!1,this.f||this);if(!n)break;this.a[n.key]=n}return this},Qc.prototype.Wf=function(t,e,o,i,r){if(d(e))for(var n=0;n<e.length;n++)this.Wf(t,e[n],o,i,r);else o=o||this.handleEvent,r=r||this.f||this,o=$t(o),i=!!i,(e=Lt(t)?Ot(t.yb,String(e),o,i,r):t&&(t=qt(t))?Ot(t,e,o,i,r):null)&&(Wt(e),delete this.a[e.key]);return this},Qc.prototype.Y=function(){Qc.ca.Y.call(this),ty(this)},Qc.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented")},o(ey,_t);var Zx=um||ym&&St("1.9.3");(Bb=ey.prototype).Y=function(){ey.ca.Y.call(this),Vt(this.handle,["touchstart","mousedown"],this.ji,!1,this),ty(this.f),Zx&&this.i.releaseCapture(),this.handle=this.target=null},Bb.ji=function(t){var e="mousedown"==t.type;if(this.b||e&&!It(t))this.s("earlycancel");else if(this.s(new sy("start",this,t.clientX,t.clientY))){this.b=!0,t.preventDefault();var o=(e=this.i).documentElement,i=!Zx;this.f.Ra(e,["touchmove","mousemove"],this.Pk,i),this.f.Ra(e,["touchend","mouseup"],this.Zd,i),Zx?(o.setCapture(!1),this.f.Ra(o,"losecapture",this.Zd)):this.f.Ra(e?e.parentWindow||e.defaultView:window,"blur",this.Zd),this.G&&this.f.Ra(this.G,"scroll",this.Nn,i),this.clientX=this.l=t.clientX,this.clientY=this.o=t.clientY,this.screenX=t.screenX,this.screenY=t.screenY,this.c=this.target.offsetLeft,this.g=this.target.offsetTop,this.j=mr(ir(this.i))}},Bb.Zd=function(t){ty(this.f),Zx&&this.i.releaseCapture(),this.b?(this.b=!1,this.s(new sy("end",this,t.clientX,t.clientY,0,ry(this,this.c),ny(this,this.g)))):this.s("earlycancel")},Bb.Pk=function(t){var e=1*(t.clientX-this.clientX),o=t.clientY-this.clientY;if(this.clientX=t.clientX,this.clientY=t.clientY,this.screenX=t.screenX,this.screenY=t.screenY,!this.b){var i=this.l-this.clientX,r=this.o-this.clientY;if(0<i*i+r*r){if(!this.s(new sy("start",this,t.clientX,t.clientY)))return void(this.na||this.Zd(t));this.b=!0}}e=(o=oy(this,e,o)).x,o=o.y,this.b&&this.s(new sy("beforedrag",this,t.clientX,t.clientY,0,e,o))&&(iy(this,t,e,o),t.preventDefault())},Bb.Nn=function(t){var e=oy(this,0,0);t.clientX=this.clientX,t.clientY=this.clientY,iy(this,t,e.x,e.y)},o(sy,Et),o(py,Kr);var Hx=0;(Bb=py.prototype).setMap=function(t){py.ca.setMap.call(this,t),t&&t.render()},Bb.wk=function(t){var e=this.a,o=e.aa(),i=o.$();e.Na(Di({resolution:i,duration:this.B,easing:Ci})),t=ly(this,hy(this,t.offsetX-this.l[0]/2,t.offsetY-this.l[1]/2)),o.Ub(o.constrainResolution(t))},Bb.zk=function(){Ai(this.a.aa(),1)},Bb.xk=function(t){this.i=ly(this,hy(this,t.left,t.top)),this.a.aa().Ub(this.i)},Bb.yk=function(){var t=this.a,e=t.aa();Ai(e,-1),t.Na(Di({resolution:this.i,duration:this.B,easing:Ci})),t=e.constrainResolution(this.i),e.Ub(t)},o(uy,Kr),uy.prototype.i=function(t){t.preventDefault(),t=(o=this.a).aa();var e=this.b?this.b:t.g.J(),o=o.Sa();t.kf(e,o)},o(cy,re),(Bb=cy.prototype).Y=function(){this.vf(!1),cy.ca.Y.call(this)},Bb.On=function(t){if(null!==(t=t.a).alpha){var e=j(t.alpha);this.set("alpha",e),"boolean"==typeof t.absolute&&t.absolute?this.set("heading",e):u(t.webkitCompassHeading)&&-1!=t.webkitCompassAccuracy&&this.set("heading",j(t.webkitCompassHeading))}null!==t.beta&&this.set("beta",j(t.beta)),null!==t.gamma&&this.set("gamma",j(t.gamma)),this.u()},Bb.Fj=function(){return this.get("alpha")},Bb.Ij=function(){return this.get("beta")},Bb.Oj=function(){return this.get("gamma")},Bb.xl=function(){return this.get("heading")},Bb.Vg=function(){return this.get("tracking")},Bb.yl=function(){if(gw){var t=this.Vg();t&&!this.a?this.a=Gt(Wb,"deviceorientation",this.On,!1,this):!t&&this.a&&(Wt(this.a),this.a=null)}},Bb.vf=function(t){this.set("tracking",t)},o(vy,yy),(Bb=vy.prototype).W=function(){return"json"},Bb.Tb=function(t,e){return this.Sc(by(t),fy(this,t,e))},Bb.Ba=function(t,e){return this.Kf(by(t),fy(this,t,e))},Bb.Tc=function(t,e){return this.Gh(by(t),fy(this,t,e))},Bb.Ia=function(t){return this.Nh(by(t))},Bb.Kd=function(t,e){return mx(this.Wc(t,e))},Bb.Vb=function(t,e){return mx(this.Se(t,e))},Bb.Xc=function(t,e){return mx(this.Ue(t,e))},o(Sy,Bo),(Bb=Sy.prototype).mj=function(t){this.A?X(this.A,t):this.A=t.slice(),this.u()},Bb.clone=function(){var t=new Sy(null);return t.ba(this.b,this.A.slice()),t},Bb.nb=function(t,e,o,i){return i<Ue(this.J(),t,e)?i:(this.C!=this.f&&(this.D=Math.sqrt(zo(this.A,0,this.A.length,this.a,0)),this.C=this.f),Ho(this.A,0,this.A.length,this.a,this.D,!1,t,e,o,i))},Bb.Cj=function(t,e){return li(this.A,0,this.A.length,this.a,t,e)},Bb.$l=function(t,e){return"XYM"!=this.b&&"XYZM"!=this.b?null:wy(this.A,0,this.A.length,this.a,t,void 0!==e&&e)},Bb.Z=function(){return Qo(this.A,0,this.A.length,this.a)},Bb.am=function(){var t,e=this.A,o=this.a,i=e[0],r=e[1],n=0;for(t=0+o;t<this.A.length;t+=o){var s=e[t],p=e[t+1];n=n+Math.sqrt((s-i)*(s-i)+(p-r)*(p-r)),i=s,r=p}return n},Bb.Lc=function(t){var e=[];return e.length=ei(this.A,0,this.A.length,this.a,t,e,0),(t=new Sy(null)).ba("XY",e),t},Bb.W=function(){return"LineString"},Bb.Ea=function(t){return ui(this.A,0,this.A.length,this.a,t)},Bb.la=function(t,e){t?(Ko(this,e,t,1),this.A||(this.A=[]),this.A.length=$o(this.A,0,t,this.a),this.u()):this.ba("XY",null)},Bb.ba=function(t,e){Xo(this,t,e),this.u()},o(Py,Bo),(Bb=Py.prototype).nj=function(t){this.A?X(this.A,t.ia().slice()):this.A=t.ia().slice(),this.g.push(this.A.length),this.u()},Bb.clone=function(){var t=new Py(null);return t.ba(this.b,this.A.slice(),this.g.slice()),t},Bb.nb=function(t,e,o,i){return i<Ue(this.J(),t,e)?i:(this.l!=this.f&&(this.C=Math.sqrt(Zo(this.A,0,this.g,this.a,0)),this.l=this.f),Jo(this.A,0,this.g,this.a,this.C,!1,t,e,o,i))},Bb.cm=function(t,e,o){return"XYM"!=this.b&&"XYZM"!=this.b||0===this.A.length?null:xy(this.A,this.g,this.a,t,void 0!==e&&e,void 0!==o&&o)},Bb.Z=function(){return ti(this.A,0,this.g,this.a)},Bb.zb=function(){return this.g},Bb.Wj=function(t){if(t<0||this.g.length<=t)return null;var e=new Sy(null);return e.ba(this.b,this.A.slice(0===t?0:this.g[t-1],this.g[t])),e},Bb.sd=function(){var t,e,o=this.A,i=this.g,r=this.b,n=[],s=0;for(t=0,e=i.length;t<e;++t){var p=i[t],a=new Sy(null);a.ba(r,o.slice(s,p)),n.push(a),s=p}return n},Bb.Lc=function(t){var e,o,i=[],r=[],n=this.A,s=this.g,p=this.a,a=0,h=0;for(e=0,o=s.length;e<o;++e){var l=s[e];h=ei(n,a,l,p,t,i,h);r.push(h),a=l}return i.length=h,(t=new Py(null)).ba("XY",i,r),t},Bb.W=function(){return"MultiLineString"},Bb.Ea=function(t){t:{var e,o,i=this.A,r=this.g,n=this.a,s=0;for(e=0,o=r.length;e<o;++e){if(ui(i,s,r[e],n,t)){t=!0;break t}s=r[e]}t=!1}return t},Bb.la=function(t,e){if(t){Ko(this,e,t,2),this.A||(this.A=[]);var o=_o(this.A,0,t,this.a,this.g);this.A.length=0===o.length?0:o[o.length-1],this.u()}else this.ba("XY",null,this.g)},Bb.ba=function(t,e,o){Xo(this,t,e),this.g=o,this.u()},o(jy,Bo),(Bb=jy.prototype).pj=function(t){this.A?X(this.A,t.ia()):this.A=t.ia().slice(),this.u()},Bb.clone=function(){var t=new jy(null);return t.ba(this.b,this.A.slice()),t},Bb.nb=function(t,e,o,i){if(i<Ue(this.J(),t,e))return i;var r,n,s,p=this.A,a=this.a;for(r=0,n=p.length;r<n;r+=a)if((s=E(t,e,p[r],p[r+1]))<i){for(i=s,s=0;s<a;++s)o[s]=p[r+s];o.length=a}return i},Bb.Z=function(){return Qo(this.A,0,this.A.length,this.a)},Bb.gk=function(t){var e=this.A?this.A.length/this.a:0;return t<0||e<=t?null:((e=new ni(null)).ba(this.b,this.A.slice(t*this.a,(t+1)*this.a)),e)},Bb.ve=function(){var t,e,o=this.A,i=this.b,r=this.a,n=[];for(t=0,e=o.length;t<e;t+=r){var s=new ni(null);s.ba(i,o.slice(t,t+r)),n.push(s)}return n},Bb.W=function(){return"MultiPoint"},Bb.Ea=function(t){var e,o,i=this.A,r=this.a;for(e=0,o=i.length;e<o;e+=r)if(Xe(t,i[e],i[e+1]))return!0;return!1},Bb.la=function(t,e){t?(Ko(this,e,t,1),this.A||(this.A=[]),this.A.length=$o(this.A,0,t,this.a),this.u()):this.ba("XY",null)},Bb.ba=function(t,e){Xo(this,t,e),this.u()},o(Ay,Bo),(Bb=Ay.prototype).qj=function(t){if(this.A){var e,o,i=this.A.length;for(X(this.A,t.ia()),e=0,o=(t=t.zb().slice()).length;e<o;++e)t[e]+=i}else this.A=t.ia().slice(),t=t.zb().slice(),this.g.push();this.g.push(t),this.u()},Bb.clone=function(){var t=new Ay(null),e=bt(this.g);return Iy(t,this.b,this.A.slice(),e),t},Bb.nb=function(t,e,o,i){if(i<Ue(this.J(),t,e))return i;if(this.O!=this.f){var r,n,s=this.g,p=0,a=0;for(r=0,n=s.length;r<n;++r){var h=s[r];a=Zo(this.A,p,h,this.a,a),p=h[h.length-1]}this.U=Math.sqrt(a),this.O=this.f}s=Cy(this),p=this.g,a=this.a,r=this.U,n=0;var l,u;h=[NaN,NaN];for(l=0,u=p.length;l<u;++l){var c=p[l];i=Jo(s,n,c,a,r,!0,t,e,o,i,h),n=c[c.length-1]}return i},Bb.uc=function(t,e){var o;t:{o=Cy(this);var i,r,n=this.g,s=0;if(0!==n.length)for(i=0,r=n.length;i<r;++i){var p=n[i];if(ai(o,s,p,this.a,t,e)){o=!0;break t}s=p[p.length-1]}o=!1}return o},Bb.dm=function(){var t,e,o=Cy(this),i=this.g,r=0,n=0;for(t=0,e=i.length;t<e;++t){var s=i[t];n=n+Vo(o,r,s,this.a),r=s[s.length-1]}return n},Bb.Z=function(t){var e;void 0!==t?di(e=Cy(this).slice(),this.g,this.a,t):e=this.A,t=e,e=this.g;var o,i,r=this.a,n=0,s=[],p=0;for(o=0,i=e.length;o<i;++o){var a=e[o];s[p++]=ti(t,n,a,r,s[p]),n=a[a.length-1]}return s.length=p,s},Bb.Tj=function(){var t=new jy(null);return t.ba("XY",Ry(this).slice()),t},Bb.Lc=function(t){var e=[],o=[],i=this.A,r=this.g,n=this.a;t=Math.sqrt(t);var s,p,a=0,h=0;for(s=0,p=r.length;s<p;++s){var l=r[s],u=[];h=oi(i,a,l,n,t,e,h,u);o.push(u),a=l[l.length-1]}return e.length=h,Iy(i=new Ay(null),"XY",e,o),i},Bb.ik=function(t){if(t<0||this.g.length<=t)return null;var e;0===t?e=0:e=(e=this.g[t-1])[e.length-1];var o,i,r=(t=this.g[t].slice())[t.length-1];if(0!==e)for(o=0,i=t.length;o<i;++o)t[o]-=e;return(o=new vi(null)).ba(this.b,this.A.slice(e,r),t),o},Bb.ce=function(){var t,e,o,i,r=this.b,n=this.A,s=this.g,p=[],a=0;for(t=0,e=s.length;t<e;++t){var h=s[t].slice(),l=h[h.length-1];if(0!==a)for(o=0,i=h.length;o<i;++o)h[o]-=a;(o=new vi(null)).ba(r,n.slice(a,l),h),p.push(o),a=l}return p},Bb.W=function(){return"MultiPolygon"},Bb.Ea=function(t){t:{var e,o,i=Cy(this),r=this.g,n=this.a,s=0;for(e=0,o=r.length;e<o;++e){var p=r[e];if(ci(i,s,p,n,t)){t=!0;break t}s=p[p.length-1]}t=!1}return t},Bb.la=function(t,e){if(t){Ko(this,e,t,3),this.A||(this.A=[]);var o,i,r=this.A,n=this.a,s=0,p=(p=this.g)||[],a=0;for(o=0,i=t.length;o<i;++o)s=_o(r,s,t[o],n,p[a]),s=(p[a++]=s)[s.length-1];p.length=a,0===p.length?this.A.length=0:(r=p[p.length-1],this.A.length=0===r.length?0:r[r.length-1]),this.u()}else Iy(this,"XY",null,this.g)},o(ky,vy);var Jx={Point:function(t){return void 0!==t.m&&void 0!==t.z?new ni([t.x,t.y,t.z,t.m],"XYZM"):void 0!==t.z?new ni([t.x,t.y,t.z],"XYZ"):void 0!==t.m?new ni([t.x,t.y,t.m],"XYM"):new ni([t.x,t.y])},LineString:function(t){return new Sy(t.paths[0],Ny(t))},Polygon:function(t){return new vi(t.rings,Ny(t))},MultiPoint:function(t){return new jy(t.points,Ny(t))},MultiLineString:function(t){return new Py(t.paths,Ny(t))},MultiPolygon:function(t){return new Ay(t.rings,Ny(t))}},qx={Point:function(t){var e=t.Z();return"XYZ"===(t=t.b)?{x:e[0],y:e[1],z:e[2]}:"XYM"===t?{x:e[0],y:e[1],m:e[2]}:"XYZM"===t?{x:e[0],y:e[1],z:e[2],m:e[3]}:"XY"===t?{x:e[0],y:e[1]}:void 0},LineString:function(t){var e=Dy(t);return{hasZ:e.hasZ,hasM:e.hasM,paths:[t.Z()]}},Polygon:function(t){var e=Dy(t);return{hasZ:e.hasZ,hasM:e.hasM,rings:t.Z(!1)}},MultiPoint:function(t){var e=Dy(t);return{hasZ:e.hasZ,hasM:e.hasM,points:t.Z()}},MultiLineString:function(t){var e=Dy(t);return{hasZ:e.hasZ,hasM:e.hasM,paths:t.Z()}},MultiPolygon:function(t){var e=Dy(t);t=t.Z(!1);for(var o=[],i=0;i<t.length;i++)for(var r=t[i].length-1;0<=r;r--)o.push(t[i][r]);return{hasZ:e.hasZ,hasM:e.hasM,rings:o}}};(Bb=ky.prototype).Sc=function(t,e){var o=Fy(t.geometry,e),i=new Ah;return this.a&&i.yc(this.a),i.Ma(o),e&&e.qf&&t.attributes[e.qf]&&i.jc(t.attributes[e.qf]),t.attributes&&i.I(t.attributes),i},Bb.Kf=function(t,e){var o=e||{};if(t.features){var i,r,n=[],s=t.features;for(o.qf=t.objectIdFieldName,i=0,r=s.length;i<r;++i)n.push(this.Sc(s[i],o));return n}return[this.Sc(t,o)]},Bb.Gh=function(t,e){return Fy(t,e)},Bb.Nh=function(t){return t.spatialReference&&t.spatialReference.wkid?Ro("EPSG:"+t.spatialReference.wkid):null},Bb.Ue=function(t,e){return Oy(t,gy(this,e))},Bb.Wc=function(t,e){e=gy(this,e);var o={},i=t.X();return i&&(o.geometry=Oy(i,e)),delete(i=t.R())[t.a],o.attributes=yt(i)?{}:i,e&&e.featureProjection&&(o.spatialReference={wkid:Ro(e.featureProjection).a.split(":").pop()}),o},Bb.Se=function(t,e){e=gy(this,e);var o,i,r=[];for(o=0,i=t.length;o<i;++o)r.push(this.Wc(t[o],e));return{features:r}},o(Uy,Oo),(Bb=Uy.prototype).clone=function(){var t=new Uy(null);return t.Yh(this.c),t},Bb.nb=function(t,e,o,i){if(i<Ue(this.J(),t,e))return i;var r,n,s=this.c;for(r=0,n=s.length;r<n;++r)i=s[r].nb(t,e,o,i);return i},Bb.uc=function(t,e){var o,i,r=this.c;for(o=0,i=r.length;o<i;++o)if(r[o].uc(t,e))return!0;return!1},Bb.Wd=function(t){Ve(Infinity,Infinity,-Infinity,-Infinity,t);for(var e=this.c,o=0,i=e.length;o<i;++o)He(t,e[o].J());return t},Bb.Ag=function(){return By(this.c)},Bb.td=function(t){if(this.o!=this.f&&(ft(this.i),this.j=0,this.o=this.f),t<0||0!==this.j&&t<this.j)return this;var e=t.toString();if(this.i.hasOwnProperty(e))return this.i[e];var o,i,r=[],n=this.c,s=!1;for(o=0,i=n.length;o<i;++o){var p=n[o],a=p.td(t);r.push(a),a!==p&&(s=!0)}return s?(Gy(t=new Uy(null)),t.c=r,Xy(t),t.u(),this.i[e]=t):(this.j=t,this)},Bb.W=function(){return"GeometryCollection"},Bb.Ea=function(t){var e,o,i=this.c;for(e=0,o=i.length;e<o;++e)if(i[e].Ea(t))return!0;return!1},Bb.La=function(){return 0===this.c.length},Bb.Yh=function(t){t=By(t),Gy(this),this.c=t,Xy(this),this.u()},Bb.pc=function(t){var e,o,i=this.c;for(e=0,o=i.length;e<o;++e)i[e].pc(t);this.u()},Bb.Pc=function(t,e){var o,i,r=this.c;for(o=0,i=r.length;o<i;++o)r[o].Pc(t,e);this.u()},Bb.Y=function(){Gy(this),Uy.ca.Y.call(this)},o(Ky,vy);var $x={Point:function(t){return new ni(t.coordinates)},LineString:function(t){return new Sy(t.coordinates)},Polygon:function(t){return new vi(t.coordinates)},MultiPoint:function(t){return new jy(t.coordinates)},MultiLineString:function(t){return new Py(t.coordinates)},MultiPolygon:function(t){return new Ay(t.coordinates)},GeometryCollection:function(t,e){return new Uy(t.geometries.map(function(t){return Yy(t,e)}))}},_x={Point:function(t){return{type:"Point",coordinates:t.Z()}},LineString:function(t){return{type:"LineString",coordinates:t.Z()}},Polygon:function(t,e){var o;return e&&(o=e.rightHanded),{type:"Polygon",coordinates:t.Z(o)}},MultiPoint:function(t){return{type:"MultiPoint",coordinates:t.Z()}},MultiLineString:function(t){return{type:"MultiLineString",coordinates:t.Z()}},MultiPolygon:function(t,e){var o;return e&&(o=e.rightHanded),{type:"MultiPolygon",coordinates:t.Z(o)}},GeometryCollection:function(t,e){return{type:"GeometryCollection",geometries:t.c.map(function(t){return Vy(t,e)})}},Circle:function(){return{type:"GeometryCollection",geometries:[]}}};(Bb=Ky.prototype).Sc=function(t,e){var o=Yy(t.geometry,e),i=new Ah;return this.a&&i.yc(this.a),i.Ma(o),void 0!==t.id&&i.jc(t.id),t.properties&&i.I(t.properties),i},Bb.Kf=function(t,e){if("Feature"==t.type)return[this.Sc(t,e)];if("FeatureCollection"!=t.type)return[];var o,i,r=[],n=t.features;for(o=0,i=n.length;o<i;++o)r.push(this.Sc(n[o],e));return r},Bb.Gh=function(t,e){return Yy(t,e)},Bb.Nh=function(t){return(t=t.crs)?"name"==t.type?Ro(t.properties.name):"EPSG"==t.type?Ro("EPSG:"+t.properties.code):null:this.defaultDataProjection},Bb.Wc=function(t,e){e=gy(this,e);var o={type:"Feature"},i=t.Oa();return void 0!==i&&(o.id=i),i=t.X(),o.geometry=i?Vy(i,e):null,delete(i=t.R())[t.a],o.properties=yt(i)?null:i,o},Bb.Se=function(t,e){e=gy(this,e);var o,i,r=[];for(o=0,i=t.length;o<i;++o)r.push(this.Wc(t[o],e));return{type:"FeatureCollection",features:r}},Bb.Ue=function(t,e){return Vy(t,gy(this,e))},o(Wy,yy),(Bb=Wy.prototype).W=function(){return"xml"},Bb.Tb=function(t,e){return Nx(t)?zy(this,t,e):Dx(t)?this.Eh(t,e):c(t)?zy(this,Kl(t),e):null},Bb.Ba=function(t,e){return Nx(t)?Zy(this,t,e):Dx(t)?this.ic(t,e):c(t)?Zy(this,Kl(t),e):[]},Bb.Tc=function(t,e){if(Nx(t))return this.G(t,e);if(Dx(t)){var o=this.Je(t,[fy(this,t,e||{})]);return o||null}return c(t)?(o=Kl(t),this.G(o,e)):null},Bb.Ia=function(t){return Nx(t)?this.Qf(t):Dx(t)?this.Me(t):c(t)?(t=Kl(t),this.Qf(t)):null},Bb.Qf=function(){return this.defaultDataProjection},Bb.Me=function(){return this.defaultDataProjection},Bb.Kd=function(t,e){return Tl(this.v(t,e))},Bb.Vb=function(t,e){return Tl(this.f(t,e))},Bb.Xc=function(t,e){return Tl(this.o(t,e))},o(Hy,Wy),(Bb=Hy.prototype).Ed=function(t,e){var o,i=Fx(t);if("FeatureCollection"==i)o="http://www.opengis.net/wfs"===t.namespaceURI?tu([],this.a,t,e,this):tu(null,this.a,t,e,this);else if("featureMembers"==i||"featureMember"==i){var r,n,s=(u=e[0]).featureType;if(o=u.featureNS,!s&&t.childNodes){for(s=[],o={},r=0,n=t.childNodes.length;r<n;++r){var p=t.childNodes[r];if(1===p.nodeType){var a,h=p.nodeName.split(":").pop();if(-1===s.indexOf(h))ut(o,p.namespaceURI)?a=ct(o,function(t){return t===p.namespaceURI}):o[a="p"+ht(o)]=p.namespaceURI,s.push(a+":"+h)}}u.featureType=s,u.featureNS=o}c(o)&&(r=o,(o={}).p0=r);var l,u={};s=d(s)?s:[s];for(l in o){for(h={},r=0,n=s.length;r<n;++r)(-1===s[r].indexOf(":")?"p0":s[r].split(":")[0])===l&&(h[s[r].split(":").pop()]="featureMembers"==i?Vl(this.Jf,this):Wl(this.Jf,this));u[o[l]]=h}o=tu([],u,t,e)}return o||(o=[]),o},Bb.Je=function(t,e){var o=e[0];o.srsName=t.firstElementChild.getAttribute("srsName");var i=tu(null,this.bg,t,e,this);if(i)return dy(i,!1,o)},Bb.Jf=function(t,e){var o,i,r=t.getAttribute("fid")||Ox(t,"http://www.opengis.net/gml","id"),n={};for(o=t.firstElementChild;o;o=o.nextElementSibling){var s=Fx(o);if(0===o.childNodes.length||1===o.childNodes.length&&(3===o.firstChild.nodeType||4===o.firstChild.nodeType)){var p=Al(o,!1);/^[\s\xa0]*$/.test(p)&&(p=void 0),n[s]=p}else"boundedBy"!==s&&(i=s),n[s]=this.Je(o,e)}return o=new Ah(n),i&&o.yc(i),r&&o.jc(r),o},Bb.Mh=function(t,e){var o=this.Ie(t,e);if(o){var i=new ni(null);return i.ba("XYZ",o),i}},Bb.Kh=function(t,e){var o=tu([],this.Ki,t,e,this);if(o)return new jy(o)},Bb.Jh=function(t,e){var o=tu([],this.Ji,t,e,this);if(o){var i=new Py(null);return Ey(i,o),i}},Bb.Lh=function(t,e){var o=tu([],this.Li,t,e,this);if(o){var i=new Ay(null);return Ly(i,o),i}},Bb.Bh=function(t,e){Ql(this.Oi,t,e,this)},Bb.Qg=function(t,e){Ql(this.Hi,t,e,this)},Bb.Ch=function(t,e){Ql(this.Pi,t,e,this)},Bb.Ke=function(t,e){var o=this.Ie(t,e);if(o){var i=new Sy(null);return i.ba("XYZ",o),i}},Bb.jo=function(t,e){var o=tu(null,this.Md,t,e,this);if(o)return o},Bb.Ih=function(t,e){var o=this.Ie(t,e);if(o){var i=new ii(null);return ri(i,"XYZ",o),i}},Bb.Le=function(t,e){var o=tu([null],this.We,t,e,this);if(o&&o[0]){var i,r,n=new vi(null),s=o[0],p=[s.length];for(i=1,r=o.length;i<r;++i)X(s,o[i]),p.push(s.length);return n.ba("XYZ",s,p),n}},Bb.Ie=function(t,e){return tu(null,this.Md,t,e,this)},Bb.Ki=Object({"http://www.opengis.net/gml":{pointMember:Vl(Hy.prototype.Bh),pointMembers:Vl(Hy.prototype.Bh)}}),Bb.Ji=Object({"http://www.opengis.net/gml":{lineStringMember:Vl(Hy.prototype.Qg),lineStringMembers:Vl(Hy.prototype.Qg)}}),Bb.Li=Object({"http://www.opengis.net/gml":{polygonMember:Vl(Hy.prototype.Ch),polygonMembers:Vl(Hy.prototype.Ch)}}),Bb.Oi=Object({"http://www.opengis.net/gml":{Point:Vl(Hy.prototype.Ie)}}),Bb.Hi=Object({"http://www.opengis.net/gml":{LineString:Vl(Hy.prototype.Ke)}}),Bb.Pi=Object({"http://www.opengis.net/gml":{Polygon:Vl(Hy.prototype.Le)}}),Bb.Nd=Object({"http://www.opengis.net/gml":{LinearRing:Wl(Hy.prototype.jo)}}),Bb.ic=function(t,e){var o={featureType:this.featureType,featureNS:this.featureNS};return e&&mt(o,fy(this,t,e)),this.Ed(t,[o])},Bb.Me=function(t){return Ro(this.B?this.B:t.firstElementChild.getAttribute("srsName"))},o(af,Hy),(Bb=af.prototype).Fh=function(t,e){var o=Al(t,!1).replace(/^\s*|\s*$/g,""),i=e[0].srsName,r=t.parentNode.getAttribute("srsDimension"),n="enu";i&&(i=Ro(i))&&(n=i.g),o=o.split(/[\s,]+/),i=2,t.getAttribute("srsDimension")?i=ef(t.getAttribute("srsDimension")):t.getAttribute("dimension")?i=ef(t.getAttribute("dimension")):r&&(i=ef(r));for(var s,p,a=[],h=0,l=o.length;h<l;h+=i)r=parseFloat(o[h]),s=parseFloat(o[h+1]),p=3===i?parseFloat(o[h+2]):0,"en"===n.substr(0,2)?a.push(r,s,p):a.push(s,r,p);return a},Bb.fo=function(t,e){var o=tu([null],this.Di,t,e,this);return Ve(o[1][0],o[1][1],o[1][3],o[1][4])},Bb.dl=function(t,e){var o=tu(void 0,this.Nd,t,e,this);o&&e[e.length-1].push(o)},Bb.Pn=function(t,e){var o=tu(void 0,this.Nd,t,e,this);o&&(e[e.length-1][0]=o)},Bb.Md=Object({"http://www.opengis.net/gml":{coordinates:Wl(af.prototype.Fh)}}),Bb.We=Object({"http://www.opengis.net/gml":{innerBoundaryIs:af.prototype.dl,outerBoundaryIs:af.prototype.Pn}}),Bb.Di=Object({"http://www.opengis.net/gml":{coordinates:Vl(af.prototype.Fh)}}),Bb.bg=Object({"http://www.opengis.net/gml":{Point:Wl(Hy.prototype.Mh),MultiPoint:Wl(Hy.prototype.Kh),LineString:Wl(Hy.prototype.Ke),MultiLineString:Wl(Hy.prototype.Jh),LinearRing:Wl(Hy.prototype.Ih),Polygon:Wl(Hy.prototype.Le),MultiPolygon:Wl(Hy.prototype.Lh),Box:Wl(af.prototype.fo)}}),o(hf,Hy),(Bb=hf.prototype).no=function(t,e){var o=tu([],this.Ii,t,e,this);if(o){var i=new Py(null);return Ey(i,o),i}},Bb.oo=function(t,e){var o=tu([],this.Mi,t,e,this);if(o){var i=new Ay(null);return Ly(i,o),i}},Bb.rg=function(t,e){Ql(this.Ei,t,e,this)},Bb.ki=function(t,e){Ql(this.Ti,t,e,this)},Bb.ro=function(t,e){return tu([null],this.Ni,t,e,this)},Bb.to=function(t,e){return tu([null],this.Si,t,e,this)},Bb.so=function(t,e){return tu([null],this.We,t,e,this)},Bb.mo=function(t,e){return tu([null],this.Md,t,e,this)},Bb.fl=function(t,e){var o=tu(void 0,this.Nd,t,e,this);o&&e[e.length-1].push(o)},Bb.yj=function(t,e){var o=tu(void 0,this.Nd,t,e,this);o&&(e[e.length-1][0]=o)},Bb.Oh=function(t,e){var o=tu([null],this.Ui,t,e,this);if(o&&o[0]){var i,r,n=new vi(null),s=o[0],p=[s.length];for(i=1,r=o.length;i<r;++i)X(s,o[i]),p.push(s.length);return n.ba("XYZ",s,p),n}},Bb.Dh=function(t,e){var o=tu([null],this.Fi,t,e,this);if(o){var i=new Sy(null);return i.ba("XYZ",o),i}},Bb.io=function(t,e){var o=tu([null],this.Gi,t,e,this);return Ve(o[1][0],o[1][1],o[2][0],o[2][1])},Bb.ko=function(t,e){for(var o,i=Al(t,!1),r=/^\s*([+\-]?\d*\.?\d+(?:[eE][+\-]?\d+)?)\s*/,n=[];o=r.exec(i);)n.push(parseFloat(o[1])),i=i.substr(o[0].length);if(""===i){if(r="enu",(i=e[0].srsName)&&(r=wo(Ro(i))),"neu"===r)for(i=0,r=n.length;i<r;i+=3)o=n[i],n[i]=n[i+1],n[i+1]=o;return 2==(i=n.length)&&n.push(0),0===i?void 0:n}},Bb.Nf=function(t,e){var o=Al(t,!1).replace(/^\s*|\s*$/g,""),i=e[0].srsName,r=t.parentNode.getAttribute("srsDimension"),n="enu";i&&(n=wo(Ro(i))),o=o.split(/\s+/),i=2,t.getAttribute("srsDimension")?i=ef(t.getAttribute("srsDimension")):t.getAttribute("dimension")?i=ef(t.getAttribute("dimension")):r&&(i=ef(r));for(var s,p,a=[],h=0,l=o.length;h<l;h+=i)r=parseFloat(o[h]),s=parseFloat(o[h+1]),p=3===i?parseFloat(o[h+2]):0,"en"===n.substr(0,2)?a.push(r,s,p):a.push(s,r,p);return a},Bb.Md=Object({"http://www.opengis.net/gml":{pos:Wl(hf.prototype.ko),posList:Wl(hf.prototype.Nf)}}),Bb.We=Object({"http://www.opengis.net/gml":{interior:hf.prototype.fl,exterior:hf.prototype.yj}}),Bb.bg=Object({"http://www.opengis.net/gml":{Point:Wl(Hy.prototype.Mh),MultiPoint:Wl(Hy.prototype.Kh),LineString:Wl(Hy.prototype.Ke),MultiLineString:Wl(Hy.prototype.Jh),LinearRing:Wl(Hy.prototype.Ih),Polygon:Wl(Hy.prototype.Le),MultiPolygon:Wl(Hy.prototype.Lh),Surface:Wl(hf.prototype.Oh),MultiSurface:Wl(hf.prototype.oo),Curve:Wl(hf.prototype.Dh),MultiCurve:Wl(hf.prototype.no),Envelope:Wl(hf.prototype.io)}}),Bb.Ii=Object({"http://www.opengis.net/gml":{curveMember:Vl(hf.prototype.rg),curveMembers:Vl(hf.prototype.rg)}}),Bb.Mi=Object({"http://www.opengis.net/gml":{surfaceMember:Vl(hf.prototype.ki),surfaceMembers:Vl(hf.prototype.ki)}}),Bb.Ei=Object({"http://www.opengis.net/gml":{LineString:Vl(Hy.prototype.Ke),Curve:Vl(hf.prototype.Dh)}}),Bb.Ti=Object({"http://www.opengis.net/gml":{Polygon:Vl(Hy.prototype.Le),Surface:Vl(hf.prototype.Oh)}}),Bb.Ui=Object({"http://www.opengis.net/gml":{patches:Wl(hf.prototype.ro)}}),Bb.Fi=Object({"http://www.opengis.net/gml":{segments:Wl(hf.prototype.to)}}),Bb.Gi=Object({"http://www.opengis.net/gml":{lowerCorner:Vl(hf.prototype.Nf),upperCorner:Vl(hf.prototype.Nf)}}),Bb.Ni=Object({"http://www.opengis.net/gml":{PolygonPatch:Wl(hf.prototype.so)}}),Bb.Si=Object({"http://www.opengis.net/gml":{LineStringSegment:Wl(hf.prototype.mo)}}),Bb.zi=function(t,e,o){var i=o[o.length-1].srsName;i&&t.setAttribute("srsName",i),i=kx(t.namespaceURI,"pos"),t.appendChild(i),t="enu",(o=o[o.length-1].srsName)&&(t=wo(Ro(o))),e=e.Z(),pf(i,"en"===t.substr(0,2)?e[0]+" "+e[1]:e[1]+" "+e[0])};var Qx={"http://www.opengis.net/gml":{lowerCorner:Hl(pf),upperCorner:Hl(pf)}};(Bb=hf.prototype).fp=function(t,e,o){var i=o[o.length-1].srsName;i&&t.setAttribute("srsName",i),ou({node:t},Qx,Gx,[e[0]+" "+e[1],e[2]+" "+e[3]],o,["lowerCorner","upperCorner"],this)},Bb.wi=function(t,e,o){var i=o[o.length-1].srsName;i&&t.setAttribute("srsName",i),i=kx(t.namespaceURI,"posList"),t.appendChild(i),lf(i,e,o)},Bb.Ri=function(t,e){var o=e[e.length-1],i=o.node,r=o.exteriorWritten;return void 0===r&&(o.exteriorWritten=!0),kx(i.namespaceURI,void 0!==r?"interior":"exterior")},Bb.Ve=function(t,e,o){var i=o[o.length-1].srsName;"PolygonPatch"!==t.nodeName&&i&&t.setAttribute("srsName",i),"Polygon"===t.nodeName||"PolygonPatch"===t.nodeName?(e=e.be(),ou({node:t,srsName:i},iS,this.Ri,e,o,void 0,this)):"Surface"===t.nodeName&&(i=kx(t.namespaceURI,"patches"),t.appendChild(i),t=kx(i.namespaceURI,"PolygonPatch"),i.appendChild(t),this.Ve(t,e,o))},Bb.Qe=function(t,e,o){var i=o[o.length-1].srsName;"LineStringSegment"!==t.nodeName&&i&&t.setAttribute("srsName",i),"LineString"===t.nodeName||"LineStringSegment"===t.nodeName?(i=kx(t.namespaceURI,"posList"),t.appendChild(i),lf(i,e,o)):"Curve"===t.nodeName&&(i=kx(t.namespaceURI,"segments"),t.appendChild(i),t=kx(i.namespaceURI,"LineStringSegment"),i.appendChild(t),this.Qe(t,e,o))},Bb.yi=function(t,e,o){var i=(r=o[o.length-1]).srsName,r=r.surface;i&&t.setAttribute("srsName",i),e=e.ce(),ou({node:t,srsName:i,surface:r},tS,this.c,e,o,void 0,this)},Bb.gp=function(t,e,o){var i=o[o.length-1].srsName;i&&t.setAttribute("srsName",i),e=e.ve(),ou({node:t,srsName:i},eS,ql("pointMember"),e,o,void 0,this)},Bb.xi=function(t,e,o){var i=(r=o[o.length-1]).srsName,r=r.curve;i&&t.setAttribute("srsName",i),e=e.sd(),ou({node:t,srsName:i,curve:r},oS,this.c,e,o,void 0,this)},Bb.Ai=function(t,e,o){var i=kx(t.namespaceURI,"LinearRing");t.appendChild(i),this.wi(i,e,o)},Bb.Bi=function(t,e,o){var i=this.b(e,o);i&&(t.appendChild(i),this.Ve(i,e,o))},Bb.hp=function(t,e,o){var i=kx(t.namespaceURI,"Point");t.appendChild(i),this.zi(i,e,o)},Bb.vi=function(t,e,o){var i=this.b(e,o);i&&(t.appendChild(i),this.Qe(i,e,o))},Bb.Te=function(t,e,o){var i,r=o[o.length-1],n=vt(r);n.node=t,i=d(e)?r.dataProjection?Do(e,r.featureProjection,r.dataProjection):e:dy(e,!0,r),ou(n,rS,this.b,[i],o,void 0,this)},Bb.ri=function(t,e,o){(i=e.Oa())&&t.setAttribute("fid",i);var i,r=(i=o[o.length-1]).featureNS,n=e.a;i.xc||(i.xc={},i.xc[r]={});var s=e.R();e=[];var p,a=[];for(p in s){var h=s[p];null!==h&&(e.push(p),a.push(h),p==n||h instanceof Oo?p in i.xc[r]||(i.xc[r][p]=Hl(this.Te,this)):p in i.xc[r]||(i.xc[r][p]=Hl(pf)))}(p=vt(i)).node=t,ou(p,i.xc,ql(void 0,r),a,o,e)};var tS={"http://www.opengis.net/gml":{surfaceMember:Hl(hf.prototype.Bi),polygonMember:Hl(
  hf.prototype.Bi)}},eS={"http://www.opengis.net/gml":{pointMember:Hl(hf.prototype.hp)}},oS={"http://www.opengis.net/gml":{lineStringMember:Hl(hf.prototype.vi),curveMember:Hl(hf.prototype.vi)}},iS={"http://www.opengis.net/gml":{exterior:Hl(hf.prototype.Ai),interior:Hl(hf.prototype.Ai)}},rS={"http://www.opengis.net/gml":{Curve:Hl(hf.prototype.Qe),MultiCurve:Hl(hf.prototype.xi),Point:Hl(hf.prototype.zi),MultiPoint:Hl(hf.prototype.gp),LineString:Hl(hf.prototype.Qe),MultiLineString:Hl(hf.prototype.xi),LinearRing:Hl(hf.prototype.wi),Polygon:Hl(hf.prototype.Ve),MultiPolygon:Hl(hf.prototype.yi),Surface:Hl(hf.prototype.Ve),MultiSurface:Hl(hf.prototype.yi),Envelope:Hl(hf.prototype.fp)}},nS={MultiLineString:"lineStringMember",MultiCurve:"curveMember",MultiPolygon:"polygonMember",MultiSurface:"surfaceMember"};hf.prototype.c=function(t,e){return kx("http://www.opengis.net/gml",nS[e[e.length-1].node.nodeName])},hf.prototype.b=function(t,e){var o,i=(s=e[e.length-1]).multiSurface,r=s.surface,n=s.curve,s=s.multiCurve;return d(t)?o="Envelope":"MultiPolygon"===(o=t.W())&&!0===i?o="MultiSurface":"Polygon"===o&&!0===r?o="Surface":"LineString"===o&&!0===n?o="Curve":"MultiLineString"===o&&!0===s&&(o="MultiCurve"),kx("http://www.opengis.net/gml",o)},hf.prototype.o=function(t,e){e=gy(this,e);var o=kx("http://www.opengis.net/gml","geom"),i={node:o,srsName:this.srsName,curve:this.g,surface:this.l,multiSurface:this.j,multiCurve:this.i};return e&&mt(i,e),this.Te(o,t,[i]),o},hf.prototype.f=function(t,e){e=gy(this,e);var o=kx("http://www.opengis.net/gml","featureMembers");Bx(o,"http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",this.schemaLocation);var i={srsName:this.srsName,curve:this.g,surface:this.l,multiSurface:this.j,multiCurve:this.i,featureNS:this.featureNS,featureType:this.featureType};e&&mt(i,e);var r=(i=[i])[i.length-1],n=r.featureType,s=r.featureNS,p={};return p[s]={},p[s][n]=Hl(this.ri,this),(r=vt(r)).node=o,ou(r,p,ql(n,s),t,i),o},o(uf,Wy);var sS=[null,"http://www.topografix.com/GPX/1/0","http://www.topografix.com/GPX/1/1"],pS={rte:gf,trk:df,wpt:vf},aS=_l(sS,{rte:Vl(gf),trk:Vl(df),wpt:Vl(vf)}),hS=_l(sS,{text:Zl(of,"linkText"),type:Zl(of,"linkType")}),lS=_l(sS,{name:Zl(of),cmt:Zl(of),desc:Zl(of),src:Zl(of),link:yf,number:Zl(tf),extensions:ff,type:Zl(of),rtept:function(t,e){var o=tu({},uS,t,e);o&&cf(e[e.length-1].flatCoordinates,t,o)}}),uS=_l(sS,{ele:Zl(_y),time:Zl($y)}),cS=_l(sS,{name:Zl(of),cmt:Zl(of),desc:Zl(of),src:Zl(of),link:yf,number:Zl(tf),type:Zl(of),extensions:ff,trkseg:function(t,e){var o=e[e.length-1];Ql(yS,t,e),o.ends.push(o.flatCoordinates.length)}}),yS=_l(sS,{trkpt:function(t,e){var o=tu({},fS,t,e);o&&cf(e[e.length-1].flatCoordinates,t,o)}}),fS=_l(sS,{ele:Zl(_y),time:Zl($y)}),gS=_l(sS,{ele:Zl(_y),time:Zl($y),magvar:Zl(_y),geoidheight:Zl(_y),name:Zl(of),cmt:Zl(of),desc:Zl(of),src:Zl(of),link:yf,sym:Zl(of),type:Zl(of),fix:Zl(of),sat:Zl(tf),hdop:Zl(_y),vdop:Zl(_y),pdop:Zl(_y),ageofdgpsdata:Zl(_y),dgpsid:Zl(tf),extensions:ff});uf.prototype.Eh=function(t,e){if(!$(sS,t.namespaceURI))return null;var o=pS[t.localName];return o&&(o=o(t,[fy(this,t,e)]))?(bf(this,[o]),o):null},uf.prototype.ic=function(t,e){if(!$(sS,t.namespaceURI))return[];if("gpx"==t.localName){var o=tu([],aS,t,[fy(this,t,e)]);if(o)return bf(this,o),o}return[]};var dS=["text","type"],vS=_l(sS,{text:Hl(pf),type:Hl(pf)}),bS=_l(sS,"name cmt desc src link number type rtept".split(" ")),mS=_l(sS,{name:Hl(pf),cmt:Hl(pf),desc:Hl(pf),src:Hl(pf),link:Hl(mf),number:Hl(sf),type:Hl(pf),rtept:Jl(Hl(wf))}),wS=_l(sS,"name cmt desc src link number type trkseg".split(" ")),xS=_l(sS,{name:Hl(pf),cmt:Hl(pf),desc:Hl(pf),src:Hl(pf),link:Hl(mf),number:Hl(sf),type:Hl(pf),trkseg:Jl(Hl(function(t,e,o){ou({node:t,geometryLayout:e.b,properties:{}},MS,SS,e.Z(),o)}))}),SS=ql("trkpt"),MS=_l(sS,{trkpt:Hl(wf)}),PS=_l(sS,"ele time magvar geoidheight name cmt desc src link sym type fix sat hdop vdop pdop ageofdgpsdata dgpsid".split(" ")),TS=_l(sS,{ele:Hl(nf),time:Hl(function(t,e){var o=(o=new Date(1e3*e)).getUTCFullYear()+"-"+x(o.getUTCMonth()+1)+"-"+x(o.getUTCDate())+"T"+x(o.getUTCHours())+":"+x(o.getUTCMinutes())+":"+x(o.getUTCSeconds())+"Z";t.appendChild(Lx.createTextNode(o))}),magvar:Hl(nf),geoidheight:Hl(nf),name:Hl(pf),cmt:Hl(pf),desc:Hl(pf),src:Hl(pf),link:Hl(mf),sym:Hl(pf),type:Hl(pf),fix:Hl(pf),sat:Hl(sf),hdop:Hl(nf),vdop:Hl(nf),pdop:Hl(nf),ageofdgpsdata:Hl(nf),dgpsid:Hl(sf)}),ES={Point:"wpt",LineString:"rte",MultiLineString:"trk"},jS=_l(sS,{rte:Hl(function(t,e,o){var i=o[0],r=e.R();t={node:t,properties:r},(e=e.X())&&(e=dy(e,!0,i),t.geometryLayout=e.b,r.rtept=e.Z()),r=$l(r,i=bS[o[o.length-1].node.namespaceURI]),ou(t,mS,Gx,r,o,i)}),trk:Hl(function(t,e,o){var i=o[0],r=e.R();t={node:t,properties:r},(e=e.X())&&(e=dy(e,!0,i),r.trkseg=e.sd()),r=$l(r,i=wS[o[o.length-1].node.namespaceURI]),ou(t,xS,Gx,r,o,i)}),wpt:Hl(function(t,e,o){var i=o[0],r=o[o.length-1];r.properties=e.R(),(e=e.X())&&(e=dy(e,!0,i),r.geometryLayout=e.b,wf(t,e.Z(),o))})});uf.prototype.f=function(t,e){e=gy(this,e);var o=kx("http://www.topografix.com/GPX/1/1","gpx");return ou({node:o},jS,xf,t,[e]),o},o(Tf,yy),(Bb=Tf.prototype).W=function(){return"text"},Bb.Tb=function(t,e){return this.Dd(c(t)?t:"",gy(this,e))},Bb.Ba=function(t,e){return this.Lf(c(t)?t:"",gy(this,e))},Bb.Tc=function(t,e){return this.Fd(c(t)?t:"",gy(this,e))},Bb.Ia=function(){return this.defaultDataProjection},Bb.Kd=function(t,e){return this.Re(t,gy(this,e))},Bb.Vb=function(t,e){return this.si(t,gy(this,e))},Bb.Xc=function(t,e){return this.Ld(t,gy(this,e))},o(Ef,Tf);var AS=/^B(\d{2})(\d{2})(\d{2})(\d{2})(\d{5})([NS])(\d{3})(\d{5})([EW])([AV])(\d{5})(\d{5})/,RS=/^H.([A-Z]{3}).*?:(.*)/,CS=/^HFDTE(\d{2})(\d{2})(\d{2})/;Ef.prototype.Dd=function(t,e){var o,i,r=this.a,n=Sf(t),s={},p=[],a=2e3,h=0,l=1;for(o=0,i=n.length;o<i;++o){var u;if("B"==(c=n[o]).charAt(0)){if(u=AS.exec(c)){var c=parseInt(u[1],10),y=parseInt(u[2],10),f=parseInt(u[3],10),g=parseInt(u[4],10)+parseInt(u[5],10)/6e4;"S"==u[6]&&(g=-g);var d=parseInt(u[7],10)+parseInt(u[8],10)/6e4;"W"==u[9]&&(d=-d),p.push(d,g),"none"!=r&&p.push("gps"==r?parseInt(u[11],10):"barometric"==r?parseInt(u[12],10):0),p.push(Date.UTC(a,h,l,c,y,f)/1e3)}}else"H"==c.charAt(0)&&((u=CS.exec(c))?(l=parseInt(u[1],10),h=parseInt(u[2],10)-1,a=2e3+parseInt(u[3],10)):(u=RS.exec(c))&&(s[u[1]]=u[2].trim(),CS.exec(c)))}return 0===p.length?null:((n=new Sy(null)).ba("none"==r?"XYM":"XYZM",p),(r=new Ah(dy(n,!1,e))).I(s),r)},Ef.prototype.Lf=function(t,e){var o=this.Dd(t,e);return o?[o]:[]},jf.prototype.toString=function(){var t=[],e=this.c;e&&t.push(Ff(e,IS,!0),":");var o=this.f;return(o||"file"==e)&&(t.push("//"),(e=this.j)&&t.push(Ff(e,IS,!0),"@"),t.push(encodeURIComponent(String(o)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),null!=(o=this.l)&&t.push(":",String(o))),(o=this.a)&&(this.f&&"/"!=o.charAt(0)&&t.push("/"),t.push(Ff(o,"/"==o.charAt(0)?kS:LS,!0))),(o=this.b.toString())&&t.push("?",o),(o=this.g)&&t.push("#",Ff(o,NS)),t.join("")},jf.prototype.clone=function(){return new jf(this)};var IS=/[#\/\?@]/g,LS=/[\#\?:]/g,kS=/[\#\?]/g,FS=/[\#\?@]/g,NS=/#/g;(Bb=Df.prototype).qc=function(){return Of(this),this.f},Bb.add=function(t,e){Of(this),this.b=null,t=Gf(this,t);var o=this.a.get(t);return o||this.a.set(t,o=[]),o.push(e),this.f++,this},Bb.remove=function(t){return Of(this),t=Gf(this,t),!!Gn(this.a.f,t)&&(this.b=null,this.f-=this.a.get(t).length,this.a.remove(t))},Bb.clear=function(){this.a=this.b=null,this.f=0},Bb.La=function(){return Of(this),0==this.f},Bb.P=function(){Of(this);for(var t=this.a.sc(),e=this.a.P(),o=[],i=0;i<e.length;i++)for(var r=t[i],n=0;n<r.length;n++)o.push(e[i]);return o},Bb.sc=function(t){Of(this);var e=[];if(c(t))Uf(this,t)&&(e=B(e,this.a.get(Gf(this,t))));else{t=this.a.sc();for(var o=0;o<t.length;o++)e=B(e,t[o])}return e},Bb.set=function(t,e){return Of(this),this.b=null,Uf(this,t=Gf(this,t))&&(this.f-=this.a.get(t).length),this.a.set(t,[e]),this.f++,this},Bb.get=function(t,e){var o=t?this.sc(t):[];return 0<o.length?String(o[0]):e},Bb.toString=function(){if(this.b)return this.b;if(!this.a)return"";for(var t=[],e=this.a.P(),o=0;o<e.length;o++)for(var i=e[o],r=encodeURIComponent(String(i)),n=(i=this.sc(i),0);n<i.length;n++){var s=r;""!==i[n]&&(s+="="+encodeURIComponent(String(i[n]))),t.push(s)}return this.b=t.join("&")},Bb.clone=function(){var t=new Df;return t.b=this.b,this.a&&(t.a=this.a.clone(),t.f=this.f),t},(Bb=Kf.prototype).Nj=function(){return this.b},Bb.ak=function(){return this.c},Bb.bk=function(){return this.g},Bb.An=function(){return this.a},Bb.Bn=function(){return this.i},Bb.Cn=function(){return this.f},Bb.Dn=function(){return this.j},Bb.Ca=function(){return this.G},Bb.nk=function(){return this.l},Bb.pk=function(){return this.o},Bb.Lo=function(t){this.b=t},Bb.ci=function(t){this.c=t},Bb.di=function(t){this.g=t},Bb.Ko=function(t){this.a=t},Bb.En=function(t){this.i=t},Bb.Fn=function(t){this.f=t},Bb.Ro=function(t){this.j=t},Bb.fi=function(t){this.G=t},Bb.gi=function(t){this.l=t},Bb.So=function(t){this.o=t},o(Yf,Wy);var DS=["http://www.google.com/kml/ext/2.2"],OS=[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"],US=[255,255,255,1],BS=new wa({color:US}),GS=[20,2],XS=[64,64],KS=new Qs({anchor:GS,anchorOrigin:"bottom-left",anchorXUnits:"pixels",anchorYUnits:"pixels",crossOrigin:"anonymous",rotation:0,scale:.5,size:XS,src:"https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png"}),YS=new Ta({color:US,width:1}),VS=new Kf({font:"bold 16px Helvetica",fill:BS,stroke:new Ta({color:[51,51,51,1],width:2}),scale:.8}),WS=[new ja({fill:BS,image:KS,text:VS,stroke:YS,zIndex:0})],zS={fraction:"fraction",pixels:"pixels"},ZS=_l(OS,{value:Wl(of)}),HS=_l(OS,{Data:function(t,e){var o=t.getAttribute("name");if(null!==o){var i=tu(void 0,ZS,t,e);i&&(e[e.length-1][o]=i)}},SchemaData:function(t,e){Ql(yM,t,e)}}),JS=_l(OS,{extrude:Zl(Jy),altitudeMode:Zl(of)}),qS=_l(OS,{coordinates:Wl(Hf)}),$S=_l(OS,{innerBoundaryIs:function(t,e){var o=tu(void 0,oM,t,e);o&&e[e.length-1].push(o)},outerBoundaryIs:function(t,e){var o=tu(void 0,hM,t,e);o&&(e[e.length-1][0]=o)}}),_S=_l(OS,{when:function(t,e){var o=e[e.length-1].oi,i=Al(t,!1);if(i=/^\s*(\d{4})($|-(\d{2})($|-(\d{2})($|T(\d{2}):(\d{2}):(\d{2})(Z|(?:([+\-])(\d{2})(?::(\d{2}))?)))))\s*$/.exec(i)){var 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);if(i[10]&&"Z"!=i[10]){var n="-"==i[11]?-1:1;r=r+60*n*parseInt(i[12],10);i[13]&&(r+=3600*n*parseInt(i[13],10))}o.push(r)}else o.push(0)}},_l(DS,{coord:function(t,e){var o=e[e.length-1].A,i=Al(t,!1);(i=/^\s*([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s+([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s+([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s*$/i.exec(i))?o.push(parseFloat(i[1]),parseFloat(i[2]),parseFloat(i[3]),0):o.push(0,0,0,0)}})),QS=_l(OS,{coordinates:Wl(Hf)}),tM=_l(OS,{href:Zl(Jf)},_l(DS,{x:Zl(_y),y:Zl(_y),w:Zl(_y),h:Zl(_y)})),eM=_l(OS,{Icon:Zl(function(t,e){var o=tu({},tM,t,e);return o||null}),heading:Zl(_y),hotSpot:Zl(function(t){var e=t.getAttribute("xunits"),o=t.getAttribute("yunits");return{x:parseFloat(t.getAttribute("x")),$f:zS[e],y:parseFloat(t.getAttribute("y")),ag:zS[o]}}),scale:Zl(qf)}),oM=_l(OS,{LinearRing:Wl($f)}),iM=_l(OS,{color:Zl(Zf),scale:Zl(qf)}),rM=_l(OS,{color:Zl(Zf),width:Zl(_y)}),nM=_l(OS,{LineString:Vl(Qf),LinearRing:Vl(tg),MultiGeometry:Vl(eg),Point:Vl(og),Polygon:Vl(ig)}),sM=_l(DS,{Track:Vl(_f)}),pM=_l(OS,{ExtendedData:sg,Link:function(t,e){Ql(aM,t,e)},address:Zl(of),description:Zl(of),name:Zl(of),open:Zl(Jy),phoneNumber:Zl(of),visibility:Zl(Jy)}),aM=_l(OS,{href:Zl(Jf)}),hM=_l(OS,{LinearRing:Wl($f)}),lM=_l(OS,{Style:Zl(rg),key:Zl(of),styleUrl:Zl(function(t){var e=Al(t,!1).trim();return t.baseURI?Lf(t.baseURI,e).toString():e})}),uM=_l(OS,{ExtendedData:sg,MultiGeometry:Zl(eg,"geometry"),LineString:Zl(Qf,"geometry"),LinearRing:Zl(tg,"geometry"),Point:Zl(og,"geometry"),Polygon:Zl(ig,"geometry"),Style:Zl(rg),StyleMap:function(t,e){var o=tu(void 0,gM,t,e);if(o){var i=e[e.length-1];d(o)?i.Style=o:c(o)&&(i.styleUrl=o)}},address:Zl(of),description:Zl(of),name:Zl(of),open:Zl(Jy),phoneNumber:Zl(of),styleUrl:Zl(Jf),visibility:Zl(Jy)},_l(DS,{MultiTrack:Zl(function(t,e){var o=tu([],sM,t,e);if(o){var i=new Py(null);return Ey(i,o),i}},"geometry"),Track:Zl(_f,"geometry")})),cM=_l(OS,{color:Zl(Zf),fill:Zl(Jy),outline:Zl(Jy)}),yM=_l(OS,{SimpleData:function(t,e){var o=t.getAttribute("name");if(null!==o){var i=of(t);e[e.length-1][o]=i}}}),fM=_l(OS,{IconStyle:function(t,e){var o=tu({},eM,t,e);if(o){var i,r,n,s,p=e[e.length-1];i=(i=(y="Icon"in o?o.Icon:{}).href)?i:"https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png",(h=o.hotSpot)?(r=[h.x,h.y],n=h.$f,s=h.ag):"https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png"===i?(r=GS,s=n="pixels"):/^http:\/\/maps\.(?:google|gstatic)\.com\//.test(i)&&(r=[.5,0],s=n="fraction");var a,h=y.x,l=y.y;void 0!==h&&void 0!==l&&(a=[h,l]);h=y.w;var u,c,y=y.h;void 0!==h&&void 0!==y&&(u=[h,y]),void 0!==(y=o.heading)&&(c=j(y)),o=o.scale,"https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png"==i&&(u=XS,void 0===o&&(o=.5)),r=new Qs({anchor:r,anchorOrigin:"bottom-left",anchorXUnits:n,anchorYUnits:s,crossOrigin:"anonymous",offset:a,offsetOrigin:"bottom-left",rotation:c,scale:o,size:u,src:i}),p.imageStyle=r}},LabelStyle:function(t,e){var o=tu({},iM,t,e);o&&(e[e.length-1].textStyle=new Kf({fill:new wa({color:"color"in o?o.color:US}),scale:o.scale}))},LineStyle:function(t,e){var o=tu({},rM,t,e);o&&(e[e.length-1].strokeStyle=new Ta({color:"color"in o?o.color:US,width:"width"in o?o.width:1}))},PolyStyle:function(t,e){var o=tu({},cM,t,e);if(o){var i=e[e.length-1];i.fillStyle=new wa({color:"color"in o?o.color:US});var r=o.fill;void 0!==r&&(i.fill=r),void 0!==(o=o.outline)&&(i.outline=o)}}}),gM=_l(OS,{Pair:function(t,e){var o=tu({},lM,t,e);if(o){var i=o.key;i&&"normal"==i&&((i=o.styleUrl)&&(e[e.length-1]=i),(o=o.Style)&&(e[e.length-1]=o))}}});(Bb=Yf.prototype).Hf=function(t,e){Fx(t);var o=_l(OS,{Document:Yl(this.Hf,this),Folder:Yl(this.Hf,this),Placemark:Vl(this.Pf,this),Style:g(this.vo,this),StyleMap:g(this.uo,this)});if(o=tu([],o,t,e,this))return o},Bb.Pf=function(t,e){var o=tu({geometry:null},uM,t,e);if(o){var i=new Ah;null!==(r=t.getAttribute("id"))&&i.jc(r);var r=e[0],n=o.geometry;return n&&dy(n,!1,r),i.Ma(n),delete o.geometry,this.c&&i.wf(Wf(o.Style,o.styleUrl,this.b,this.a,this.g)),delete o.Style,i.I(o),i}},Bb.vo=function(t,e){var o=t.getAttribute("id");if(null!==o){var i=rg(t,e);i&&(o=t.baseURI?Lf(t.baseURI,"#"+o).toString():"#"+o,this.a[o]=i)}},Bb.uo=function(t,e){var o=t.getAttribute("id");if(null!==o){var i=tu(void 0,gM,t,e);i&&(o=t.baseURI?Lf(t.baseURI,"#"+o).toString():"#"+o,this.a[o]=i)}},Bb.Eh=function(t,e){if(!$(OS,t.namespaceURI))return null;var o=this.Pf(t,[fy(this,t,e)]);return o||null},Bb.ic=function(t,e){if(!$(OS,t.namespaceURI))return[];var o,i;if("Document"==(o=Fx(t))||"Folder"==o)return(o=this.Hf(t,[fy(this,t,e)]))?o:[];if("Placemark"==o)return(o=this.Pf(t,[fy(this,t,e)]))?[o]:[];if("kml"!=o)return[];for(o=[],i=t.firstElementChild;i;i=i.nextElementSibling){var r=this.ic(i,e);r&&X(o,r)}return o},Bb.po=function(t){return Nx(t)?pg(this,t):Dx(t)?ag(this,t):c(t)?pg(this,t=Kl(t)):void 0},Bb.qo=function(t){var e=[];return Nx(t)?X(e,hg(this,t)):Dx(t)?X(e,lg(this,t)):c(t)&&X(e,hg(this,t=Kl(t))),e};var dM,vM,bM,mM,wM=_l(OS,["Document","Placemark"]),xM=_l(OS,{Document:Hl(function(t,e,o){ou({node:t},SM,bg,e,o,void 0,this)}),Placemark:Hl(yg)}),SM=_l(OS,{Placemark:Hl(yg)}),MM={Point:"Point",LineString:"LineString",LinearRing:"LinearRing",Polygon:"Polygon",MultiPoint:"MultiGeometry",MultiLineString:"MultiGeometry",MultiPolygon:"MultiGeometry"},PM=_l(OS,["href"],_l(DS,["x","y","w","h"])),TM=_l(OS,{href:Hl(pf)},_l(DS,{x:Hl(nf),y:Hl(nf),w:Hl(nf),h:Hl(nf)})),EM=_l(OS,["scale","heading","Icon","hotSpot"]),jM=_l(OS,{Icon:Hl(function(t,e,o){t={node:t};var i=PM[o[o.length-1].node.namespaceURI],r=$l(e,i);ou(t,TM,Gx,r,o,i),r=$l(e,i=PM[DS[0]]),ou(t,TM,vg,r,o,i)}),heading:Hl(nf),hotSpot:Hl(function(t,e){t.setAttribute("x",e.x),t.setAttribute("y",e.y),t.setAttribute("xunits",e.$f),t.setAttribute("yunits",e.ag)}),scale:Hl(dg)}),AM=_l(OS,["color","scale"]),RM=_l(OS,{color:Hl(ug),scale:Hl(dg)}),CM=_l(OS,["color","width"]),IM=_l(OS,{color:Hl(ug),width:Hl(nf)}),LM=_l(OS,{LinearRing:Hl(fg)}),kM=_l(OS,{LineString:Hl(fg),Point:Hl(fg),Polygon:Hl(gg)}),FM=_l(OS,"name open visibility address phoneNumber description styleUrl Style".split(" ")),NM=_l(OS,{MultiGeometry:Hl(function(t,e,o){t={node:t};var i,r,n=e.W();"MultiPoint"==n?(i=e.ve(),r=VM):"MultiLineString"==n?(i=e.sd(),r=WM):"MultiPolygon"==n&&(i=e.ce(),r=ZM),ou(t,kM,r,i,o)}),LineString:Hl(fg),LinearRing:Hl(fg),Point:Hl(fg),Polygon:Hl(gg),Style:Hl(function(t,e,o){t={node:t};var i={},r=e.g,n=e.b,s=e.f;e=e.Ca(),s instanceof Qs&&(i.IconStyle=s),e&&(i.LabelStyle=e),n&&(i.LineStyle=n),r&&(i.PolyStyle=r),i=$l(i,e=BM[o[o.length-1].node.namespaceURI]),ou(t,GM,Gx,i,o,e)}),address:Hl(pf),description:Hl(pf),name:Hl(pf),open:Hl(rf),phoneNumber:Hl(pf),styleUrl:Hl(pf),visibility:Hl(rf)}),DM=_l(OS,{coordinates:Hl(function(t,e,o){var i,r=(o=o[o.length-1]).layout;o=o.stride,"XY"==r||"XYM"==r?i=2:("XYZ"==r||"XYZM"==r)&&(i=3);var n,s=e.length,p="";if(0<s){for(p+=e[0],r=1;r<i;++r)p+=","+e[r];for(n=o;n<s;n+=o)for(p+=" "+e[n],r=1;r<i;++r)p+=","+e[n+r]}pf(t,p)})}),OM=_l(OS,{outerBoundaryIs:Hl(cg),innerBoundaryIs:Hl(cg)}),UM=_l(OS,{color:Hl(ug)}),BM=_l(OS,["IconStyle","LabelStyle","LineStyle","PolyStyle"]),GM=_l(OS,{IconStyle:Hl(function(t,e,o){t={node:t};var i={},r=e.Cb(),n=e.rd(),s={href:e.a.i};if(r){s.w=r[0],s.h=r[1];var p=e.Xb(),a=e.Da();a&&n&&0!==a[0]&&a[1]!==r[1]&&(s.x=a[0],s.y=n[1]-(a[1]+r[1])),p&&0!==p[0]&&p[1]!==r[1]&&(i.hotSpot={x:p[0],$f:"pixels",y:r[1]-p[1],ag:"pixels"})}i.Icon=s,1!==(r=e.j)&&(i.scale=r),0!==(e=e.G)&&(i.heading=e),i=$l(i,e=EM[o[o.length-1].node.namespaceURI]),ou(t,jM,Gx,i,o,e)}),LabelStyle:Hl(function(t,e,o){t={node:t};var i={},r=e.a;r&&(i.color=r.a),(e=e.f)&&1!==e&&(i.scale=e),i=$l(i,e=AM[o[o.length-1].node.namespaceURI]),ou(t,RM,Gx,i,o,e)}),LineStyle:Hl(function(t,e,o){t={node:t};var i=CM[o[o.length-1].node.namespaceURI];e=$l({color:e.a,width:e.f},i),ou(t,IM,Gx,e,o,i)}),PolyStyle:Hl(function(t,e,o){ou({node:t},UM,XM,[e.a],o)})}),XM=ql("color"),KM=ql("coordinates"),YM=ql("innerBoundaryIs"),VM=ql("Point"),WM=ql("LineString"),zM=ql("LinearRing"),ZM=ql("Polygon"),HM=ql("outerBoundaryIs");Yf.prototype.f=function(t,e){e=gy(this,e);var o=kx(OS[4],"kml");Bx(o,"http://www.w3.org/2000/xmlns/","xmlns:gx",DS[0]),Bx(o,"http://www.w3.org/2000/xmlns/","xmlns:xsi","http://www.w3.org/2001/XMLSchema-instance"),Bx(o,"http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation","http://www.opengis.net/kml/2.2 https://developers.google.com/kml/schema/kml22gx.xsd");var i={node:o},r={};1<t.length?r.Document=t:1==t.length&&(r.Placemark=t[0]);var n=wM[o.namespaceURI];r=$l(r,n);return ou(i,xM,Gx,r,[e],n,this),o},vM={ja:dM={}},function(t){"object"==typeof dM&&void 0!==vM?vM.ja=t():("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Ap=t()}(function(){return function a(i,r,n){function s(o,t){if(!r[o]){if(!i[o]){var e="function"==typeof require&&require;if(!t&&e)return e(o,!0);if(p)return p(o,!0);throw(e=Error("Cannot find module '"+o+"'")).code="MODULE_NOT_FOUND",e}e=r[o]={ja:{}},i[o][0].call(e.ja,function(t){var e=i[o][1][t];return s(e||t)},e,e.ja,a,i,r,n)}return r[o].ja}for(var p="function"==typeof require&&require,t=0;t<n.length;t++)s(n[t]);return s}({1:[function(t,e){function o(t){var e;return t&&t.length&&(t=(e=t).length),t=new Uint8Array(t||0),e&&t.set(e),t.Ph=i.Ph,t.Zf=i.Zf,t.Hh=i.Hh,t.ui=i.ui,t.Of=i.Of,t.ti=i.ti,t.If=i.If,t.pi=i.pi,t.toString=i.toString,t.write=i.write,t.slice=i.slice,t.pg=i.pg,t.dj=!0,t}function r(t){for(var e,o,i=t.length,r=[],n=0;n<i;n++){if(55295<(e=t.charCodeAt(n))&&e<57344){if(!o){56319<e||n+1===i?r.push(239,191,189):o=e;continue}if(e<56320){r.push(239,191,189),o=e;continue}e=o-55296<<10|e-56320|65536,o=null}else o&&(r.push(239,191,189),o=null);e<128?r.push(e):e<2048?r.push(e>>6|192,63&e|128):e<65536?r.push(e>>12|224,e>>6&63|128,63&e|128):r.push(e>>18|240,e>>12&63|128,e>>6&63|128,63&e|128)}return r}e.ja=o;var i,n,s,p=t("ieee754");(i={Ph:function(t){return(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},Zf:function(t,e){this[e]=t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24},Hh:function(t){return(this[t]|this[t+1]<<8|this[t+2]<<16)+(this[t+3]<<24)},Of:function(t){return p.read(this,t,!0,23,4)},If:function(t){return p.read(this,t,!0,52,8)},ti:function(t,e){return p.write(this,t,e,!0,23,4)},pi:function(t,e){return p.write(this,t,e,!0,52,8)},toString:function(t,e,o){var i=t="";for(o=Math.min(this.length,o||this.length),e=e||0;e<o;e++){var r=this[e];r<=127?(t+=decodeURIComponent(i)+String.fromCharCode(r),i=""):i+="%"+r.toString(16)}return t+decodeURIComponent(i)},write:function(t,e){for(var o=t===n?s:r(t),i=0;i<o.length;i++)this[e+i]=o[i]},slice:function(t,e){return this.subarray(t,e)},pg:function(t,e){e=e||0;for(var o=0;o<this.length;o++)t[e+o]=this[o]}}).ui=i.Zf,o.byteLength=function(t){return(s=r(n=t)).length},o.isBuffer=function(t){return!(!t||!t.dj)}},{ieee754:3}],2:[function(i,r){(function(t){function e(t){this.Fb=o.isBuffer(t)?t:new o(t||0),this.da=0,this.length=this.Fb.length}r.ja=e;var o=t.ip||i("./buffer");e.c=0,e.b=1,e.a=2,e.f=5;var n=Math.pow(2,63);e.prototype={Mf:function(t,e,o){for(o=o||this.length;this.da<o;){var i=this.za(),r=this.da;t(i>>3,e,this),this.da===r&&this.Xo(i)}return e},lo:function(){var t=this.Fb.Of(this.da);return this.da+=4,t},ho:function(){var t=this.Fb.If(this.da);return this.da+=8,t},za:function(){var t,e,o,i,r,n=this.Fb;if((t=n[this.da++])<128)return t;if(t&=127,(o=n[this.da++])<128)return t|o<<7;if(o=(127&o)<<7,(i=n[this.da++])<128)return t|o|i<<14;if(i=(127&i)<<14,(r=n[this.da++])<128)return t|o|i|r<<21;if(t=(t|o|i|(127&r)<<21)+268435456*(127&(e=n[this.da++])),e<128)return t;if(t+=34359738368*(127&(e=n[this.da++])),e<128)return t;if(t+=4398046511104*(127&(e=n[this.da++])),e<128)return t;if(t+=562949953421312*(127&(e=n[this.da++])),e<128)return t;if(t+=72057594037927940*(127&(e=n[this.da++])),e<128)return t;if(t+=0x8000000000000000*(127&(e=n[this.da++])),e<128)return t;throw Error("Expected varint not more than 10 bytes")},wo:function(){var t=this.da;if((r=this.za())<n)return r;for(var e=this.da-2;255===this.Fb[e];)e--;e<t&&(e=t);for(var o=r=0;o<e-t+1;o++)var i=127&~this.Fb[t+o],r=r+(o<4?i<<7*o:i*Math.pow(2,7*o));return-r-1},Gd:function(){var t=this.za();return 1==t%2?(t+1)/-2:t/2},eo:function(){return Boolean(this.za())},Rf:function(){var t=this.za()+this.da,e=this.Fb.toString("utf8",this.da,t);return this.da=t,e},Xo:function(t){if((t&=7)===e.c)for(;127<this.Fb[this.da++];);else if(t===e.a)this.da=this.za()+this.da;else if(t===e.f)this.da+=4;else{if(t!==e.b)throw Error("Unimplemented type: "+t);this.da+=8}}}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./buffer":1}],3:[function(t,e,o){o.read=function(t,e,o,i,r){var n,s=(1<<(n=8*r-i-1))-1,p=s>>1,a=-7,h=o?-1:1,l=t[e+(r=o?r-1:0)];for(r+=h,o=l&(1<<-a)-1,l>>=-a,a+=n;0<a;o=256*o+t[e+r],r+=h,a-=8);for(n=o&(1<<-a)-1,o>>=-a,a+=i;0<a;n=256*n+t[e+r],r+=h,a-=8);if(0===o)o=1-p;else{if(o===s)return n?NaN:Infinity*(l?-1:1);n+=Math.pow(2,i),o-=p}return(l?-1:1)*n*Math.pow(2,o-i)},o.write=function(t,e,o,i,r,n){var s,p=8*n-r-1,a=(1<<p)-1,h=a>>1,l=23===r?Math.pow(2,-24)-Math.pow(2,-77):0;n=i?0:n-1;var u=i?1:-1,c=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||Infinity===e?(e=isNaN(e)?1:0,i=a):(i=Math.floor(Math.log(e)/Math.LN2),e*(s=Math.pow(2,-i))<1&&(i--,s*=2),2<=(e=1<=i+h?e+l/s:e+l*Math.pow(2,1-h))*s&&(i++,s/=2),a<=i+h?(e=0,i=a):1<=i+h?(e=(e*s-1)*Math.pow(2,r),i+=h):(e=e*Math.pow(2,h-1)*Math.pow(2,r),i=0));8<=r;t[o+n]=255&e,n+=u,e/=256,r-=8);for(i=i<<r|e,p+=r;0<p;t[o+n]=255&i,n+=u,i/=256,p-=8);t[o+n-u]|=128*c}},{}]},{},[2])(2)}),Ax=vM.ja,mM={ja:bM={}},function(t){"object"==typeof bM&&void 0!==mM?mM.ja=t():("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Cp=t()}(function(){return function a(i,r,n){function s(o,t){if(!r[o]){if(!i[o]){var e="function"==typeof require&&require;if(!t&&e)return e(o,!0);if(p)return p(o,!0);throw(e=Error("Cannot find module '"+o+"'")).code="MODULE_NOT_FOUND",e}e=r[o]={ja:{}},i[o][0].call(e.ja,function(t){var e=i[o][1][t];return s(e||t)},e,e.ja,a,i,r,n)}return r[o].ja}for(var p="function"==typeof require&&require,t=0;t<n.length;t++)s(n[t]);return s}({1:[function(t,e){e.ja.Vi=t("./lib/vectortile.js"),e.ja.vp=t("./lib/vectortilefeature.js"),e.ja.wp=t("./lib/vectortilelayer.js")},{"./lib/vectortile.js":2,"./lib/vectortilefeature.js":3,"./lib/vectortilelayer.js":4}],2:[function(t,e){function o(t,e,o){3===t&&(t=new i(o,o.za()+o.da)).length&&(e[t.name]=t)}var i=t("./vectortilelayer");e.ja=function(t,e){this.layers=t.Mf(o,{},e)}},{"./vectortilelayer":4}],3:[function(t,e){function o(t,e,o,i,r){this.properties={},this.extent=o,this.type=0,this.oc=t,this.Ze=-1,this.Qd=i,this.Sd=r,t.Mf(n,this,e)}function n(t,e,o){if(1==t)e.yp=o.za();else if(2==t)for(t=o.za()+o.da;o.da<t;){var i=e.Qd[o.za()],r=e.Sd[o.za()];e.properties[i]=r}else 3==t?e.type=o.za():4==t&&(e.Ze=o.da)}var a=t("point-geometry");(e.ja=o).types=["Unknown","Point","LineString","Polygon"],o.prototype.Rg=function(){var t=this.oc;t.da=this.Ze;for(var e,o=t.za()+t.da,i=1,r=0,n=0,s=0,p=[];t.da<o;)if(r||(i=7&(r=t.za()),r>>=3),r--,1===i||2===i)n+=t.Gd(),s+=t.Gd(),1===i&&(e&&p.push(e),e=[]),e.push(new a(n,s));else{if(7!==i)throw Error("unknown command "+i);e&&e.push(e[0].clone())}return e&&p.push(e),p},o.prototype.bbox=function(){var t=this.oc;t.da=this.Ze;for(var e=t.za()+t.da,o=1,i=0,r=0,n=0,s=Infinity,p=-Infinity,a=Infinity,h=-Infinity;t.da<e;)if(i||(o=7&(i=t.za()),i>>=3),i--,1===o||2===o)(r+=t.Gd())<s&&(s=r),p<r&&(p=r),(n+=t.Gd())<a&&(a=n),h<n&&(h=n);else if(7!==o)throw Error("unknown command "+o);return[s,a,p,h]}},{"point-geometry":5}],4:[function(t,e){function o(t,e){this.version=1,this.name=null,this.extent=4096,this.length=0,this.oc=t,this.Qd=[],this.Sd=[],this.Pd=[],t.Mf(i,this,e),this.length=this.Pd.length}function i(t,e,o){15===t?e.version=o.za():1===t?e.name=o.Rf():5===t?e.extent=o.za():2===t?e.Pd.push(o.da):3===t?e.Qd.push(o.Rf()):4===t&&e.Sd.push(r(o))}function r(t){for(var e=null,o=t.za()+t.da;t.da<o;)e=1==(e=t.za()>>3)?t.Rf():2===e?t.lo():3===e?t.ho():4===e?t.wo():5===e?t.za():6===e?t.Gd():7===e?t.eo():null;return e}var n=t("./vectortilefeature.js");(e.ja=o).prototype.feature=function(t){if(t<0||t>=this.Pd.length)throw Error("feature index out of bounds");return this.oc.da=this.Pd[t],t=this.oc.za()+this.oc.da,new n(this.oc,t,this.extent,this.Qd,this.Sd)}},{"./vectortilefeature.js":3}],5:[function(t,e){function o(t,e){this.x=t,this.y=e}(e.ja=o).prototype={clone:function(){return new o(this.x,this.y)},add:function(t){return this.clone().Wi(t)},rotate:function(t){return this.clone().gj(t)},round:function(){return this.clone().hj()},angle:function(){return Math.atan2(this.y,this.x)},Wi:function(t){return this.x+=t.x,this.y+=t.y,this},gj:function(t){var e=Math.cos(t),o=(t=Math.sin(t))*this.x+e*this.y;return this.x=e*this.x-t*this.y,this.y=o,this},hj:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},o.a=function(t){return t instanceof o?t:Array.isArray(t)?new o(t[0],t[1]):t}},{}]},{},[1])(1)}),Rx=mM.ja,o(wg,yy),wg.prototype.W=function(){return"arraybuffer"},wg.prototype.Ba=function(t,e){var o,i,r,n=this.b,s=new Ax(t),p=(s=new Rx.Vi(s),[]),a=this.a;for(r in s.layers)if(!n||-1!=n.indexOf(r))for(var h=0,l=(o=s.layers[r]).length;h<l;++h){if(a===lh){var u=o.feature(h);i=r;var c=u.Rg(),y=[],f=[];xg(c,f,y);var g=u.type,d=void 0;1===g?d=1===c.length?"Point":"MultiPoint":2===g?d=1===c.length?"LineString":"MultiLineString":3===g&&(d="Polygon"),(u=u.properties)[this.f]=i,i=new this.a(d,f,y,u)}else{if(u=o.feature(h),d=r,f=e,i=new this.a,(y=u.properties)[this.f]=d,0===(d=u.type))d=null;else{xg(u=u.Rg(),g=[],c=[]);var v=void 0;1===d?v=1===u.length?new ni(null):new jy(null):2===d?v=1===u.length?new Sy(null):new Py(null):3===d&&(v=new vi(null)),v.ba("XY",g,c),d=v}(f=dy(d,!1,gy(this,f)))&&(y[this.c]=f),i.I(y),i.yc(this.c)}p.push(i)}return p},wg.prototype.Ia=function(){return this.defaultDataProjection},wg.prototype.g=function(t){this.b=t},o(Sg,Wy);var JM=[null],qM=_l(JM,{nd:function(t,e){e[e.length-1].Oc.push(t.getAttribute("ref"))},tag:Mg}),$M=_l(JM,{node:function(t,e){var o=e[0],i=e[e.length-1],r=t.getAttribute("id"),n=[parseFloat(t.getAttribute("lon")),parseFloat(t.getAttribute("lat"))];i.Ug[r]=n;var s=tu({Jd:{}},_M,t,e);yt(s.Jd)||(dy(n=new ni(n),!1,o),(o=new Ah(n)).jc(r),o.I(s.Jd),i.features.push(o))},way:function(t,e){for(var o=e[0],i=t.getAttribute("id"),r=tu({Oc:[],Jd:{}},qM,t,e),n=e[e.length-1],s=[],p=0,a=r.Oc.length;p<a;p++)X(s,n.Ug[r.Oc[p]]);r.Oc[0]==r.Oc[r.Oc.length-1]?(p=new vi(null)).ba("XY",s,[s.length]):(p=new Sy(null)).ba("XY",s),dy(p,!1,o),(o=new Ah(p)).jc(i),o.I(r.Jd),n.features.push(o)}}),_M=_l(JM,{tag:Mg});Sg.prototype.ic=function(t,e){var o=fy(this,t,e);return"osm"==t.localName&&(o=tu({Ug:{},features:[]},$M,t,[o])).features?o.features:[]},Tg.prototype.read=function(t){return Nx(t)?this.f(t):Dx(t)?this.a(t):c(t)?(t=Kl(t),this.f(t)):null},o(Eg,Tg),Eg.prototype.f=function(t){for(t=t.firstChild;t;t=t.nextSibling)if(1==t.nodeType)return this.a(t);return null},Eg.prototype.a=function(t){return(t=tu({},tP,t,[]))?t:null};var QM=[null,"http://www.opengis.net/ows/1.1"],tP=_l(QM,{ServiceIdentification:Zl(function(t,e){return tu({},cP,t,e)}),ServiceProvider:Zl(function(t,e){return tu({},yP,t,e)}),OperationsMetadata:Zl(function(t,e){return tu({},aP,t,e)})}),eP=_l(QM,{DeliveryPoint:Zl(of),City:Zl(of),AdministrativeArea:Zl(of),PostalCode:Zl(of),Country:Zl(of),ElectronicMailAddress:Zl(of)}),oP=_l(QM,{Value:zl(function(t){return of(t)})}),iP=_l(QM,{AllowedValues:Zl(function(t,e){return tu({},oP,t,e)})}),rP=_l(QM,{Phone:Zl(function(t,e){return tu({},hP,t,e)}),Address:Zl(function(t,e){return tu({},eP,t,e)})}),nP=_l(QM,{HTTP:Zl(function(t,e){return tu({},sP,t,e)})}),sP=_l(QM,{Get:zl(function(t,e){var o=Pg(t);return o?tu({href:o},lP,t,e):void 0}),Post:void 0}),pP=_l(QM,{DCP:Zl(function(t,e){return tu({},nP,t,e)})}),aP=_l(QM,{Operation:function(t,e){var o=t.getAttribute("name"),i=tu({},pP,t,e);i&&(e[e.length-1][o]=i)}}),hP=_l(QM,{Voice:Zl(of),Facsimile:Zl(of)}),lP=_l(QM,{Constraint:zl(function(t,e){var o=t.getAttribute("name");return o?tu({name:o},iP,t,e):void 0})}),uP=_l(QM,{IndividualName:Zl(of),PositionName:Zl(of),ContactInfo:Zl(function(t,e){return tu({},rP,t,e)})}),cP=_l(QM,{Title:Zl(of),ServiceTypeVersion:Zl(of),ServiceType:Zl(of)}),yP=_l(QM,{ProviderName:Zl(of),ProviderSite:Zl(Pg),ServiceContact:Zl(function(t,e){return tu({},uP,t,e)})});o(Ag,Tf),(Bb=Ag.prototype).Dd=function(t,e){return new Ah(this.Fd(t,e))},Bb.Lf=function(t,e){return[this.Dd(t,e)]},Bb.Fd=function(t,e){var o=Go(this.f),i=Cg(t,o,this.a);return jg(i,i.length,o,i),dy(new Sy(o=Qo(i,0,i.length,o),this.f),!1,gy(this,e))},Bb.Re=function(t,e){var o=t.X();return o?this.Ld(o,e):""},Bb.si=function(t,e){return this.Re(t[0],e)},Bb.Ld=function(t,e){var o=(t=dy(t,!0,gy(this,e))).ia(),i=t.ra();return jg(o,o.length,i,o),Rg(o,i,this.a)},o(kg,vy),kg.prototype.Kf=function(t,e){if("Topology"!=t.type)return[];var o,i=null,r=null;t.transform&&(i=(o=t.transform).scale,r=o.translate);var n=t.arcs;if(o){o=i;var s,p,a=r;for(s=0,p=n.length;s<p;++s){var h=n[s],l=o,u=a,c=0,y=0,f=void 0,g=void 0,d=void 0;for(g=0,d=h.length;g<d;++g)c+=(f=h[g])[0],y+=f[1],f[0]=c,f[1]=y,Og(f,l,u)}}for(o=[],s=0,p=(a=lt(t.objects)).length;s<p;++s)"GeometryCollection"===a[s].type?(h=a[s],o.push.apply(o,Ng(h,n,i,r,e))):(h=a[s],o.push(Dg(h,n,i,r,e)));return o},kg.prototype.Ia=function(){return this.defaultDataProjection};var fP={Point:function(t,e,o){return t=t.coordinates,e&&o&&Og(t,e,o),new ni(t)},LineString:function(t,e){return new Sy(Fg(t.arcs,e))},Polygon:function(t,e){var o,i,r=[];for(o=0,i=t.arcs.length;o<i;++o)r[o]=Fg(t.arcs[o],e);return new vi(r)},MultiPoint:function(t,e,o){var i,r;if(t=t.coordinates,e&&o)for(i=0,r=t.length;i<r;++i)Og(t[i],e,o);return new jy(t)},MultiLineString:function(t,e){var o,i,r=[];for(o=0,i=t.arcs.length;o<i;++o)r[o]=Fg(t.arcs[o],e);return new Py(r)},MultiPolygon:function(t,e){var o,i,r,n,s,p,a=[];for(s=0,p=t.arcs.length;s<p;++s){for(i=[],r=0,n=(o=t.arcs[s]).length;r<n;++r)i[r]=Fg(o[r],e);a[s]=i}return new Ay(a)}};o(Ug,Wy),Ug.prototype.ic=function(t,e){var o={featureType:this.g,featureNS:this.b};return mt(o,fy(this,t,e||{})),o=[o],this.a.a["http://www.opengis.net/gml"].featureMember=Vl(Hy.prototype.Ed),(o=tu([
  ],this.a.a,t,o,this.a))||(o=[]),o},Ug.prototype.j=function(t){return Nx(t)?Xg(t):Dx(t)?tu({},mP,t,[]):c(t)?Xg(t=Kl(t)):void 0},Ug.prototype.i=function(t){return Nx(t)?Bg(this,t):Dx(t)?Gg(this,t):c(t)?Bg(this,t=Kl(t)):void 0};var gP={"http://www.opengis.net/gml":{boundedBy:Zl(Hy.prototype.Je,"bounds")}},dP={"http://www.opengis.net/wfs":{totalInserted:Zl(tf),totalUpdated:Zl(tf),totalDeleted:Zl(tf)}},vP={"http://www.opengis.net/ogc":{FeatureId:Vl(function(t){return t.getAttribute("fid")})}},bP={"http://www.opengis.net/wfs":{Feature:function(t,e){Ql(vP,t,e)}}},mP={"http://www.opengis.net/wfs":{TransactionSummary:Zl(function(t,e){return tu({},dP,t,e)},"transactionSummary"),InsertResults:Zl(function(t,e){return tu([],bP,t,e)},"insertIds")}},wP={"http://www.opengis.net/wfs":{PropertyName:Hl(pf)}},xP={"http://www.opengis.net/wfs":{Insert:Hl(function(t,e,o){var i=o[o.length-1];i=kx(i.featureNS,i.featureType);t.appendChild(i),hf.prototype.ri(i,e,o)}),Update:Hl(function(t,e,o){var i=o[o.length-1],r=i.featureType,n=(n=i.featurePrefix)||"feature",s=i.featureNS;if(t.setAttribute("typeName",n+":"+r),Bx(t,"http://www.w3.org/2000/xmlns/","xmlns:"+n,s),r=e.Oa()){s=[];for(var p=0,a=(n=e.P()).length;p<a;p++){var h=e.get(n[p]);void 0!==h&&s.push({name:n[p],value:h})}ou({node:t,srsName:i.srsName},xP,ql("Property"),s,o),Kg(t,r)}}),Delete:Hl(function(t,e,o){o=(r=o[o.length-1]).featureType;var i=(i=r.featurePrefix)||"feature",r=r.featureNS;t.setAttribute("typeName",i+":"+o),Bx(t,"http://www.w3.org/2000/xmlns/","xmlns:"+i,r),(e=e.Oa())&&Kg(t,e)}),Property:Hl(function(t,e,o){var i=kx("http://www.opengis.net/wfs","Name");t.appendChild(i),pf(i,e.name),void 0!==e.value&&null!==e.value&&(i=kx("http://www.opengis.net/wfs","Value"),t.appendChild(i),e.value instanceof Oo?hf.prototype.Te(i,e.value,o):pf(i,e.value))}),Native:Hl(function(t,e){e.ep&&t.setAttribute("vendorId",e.ep),void 0!==e.Io&&t.setAttribute("safeToIgnore",e.Io),void 0!==e.value&&pf(t,e.value)})}},SP={"http://www.opengis.net/wfs":{Query:Hl(function(t,e,o){var i=o[o.length-1],r=i.featurePrefix,n=i.featureNS,s=i.propertyNames,p=i.srsName;t.setAttribute("typeName",(r?r+":":"")+e),p&&t.setAttribute("srsName",p),n&&Bx(t,"http://www.w3.org/2000/xmlns/","xmlns:"+r,n),(e=vt(i)).node=t,ou(e,wP,ql("PropertyName"),s,o),(i=i.bbox)&&(s=kx("http://www.opengis.net/ogc","Filter"),e=o[o.length-1].geometryName,r=kx("http://www.opengis.net/ogc","BBOX"),s.appendChild(r),pf(n=kx("http://www.opengis.net/ogc","PropertyName"),e),r.appendChild(n),hf.prototype.Te(r,i,o),t.appendChild(s))})}};Ug.prototype.l=function(t){var e=kx("http://www.opengis.net/wfs","GetFeature");e.setAttribute("service","WFS"),e.setAttribute("version","1.1.0"),t&&(t.handle&&e.setAttribute("handle",t.handle),t.outputFormat&&e.setAttribute("outputFormat",t.outputFormat),void 0!==t.maxFeatures&&e.setAttribute("maxFeatures",t.maxFeatures),t.resultType&&e.setAttribute("resultType",t.resultType),void 0!==t.startIndex&&e.setAttribute("startIndex",t.startIndex),void 0!==t.count&&e.setAttribute("count",t.count)),Bx(e,"http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",this.c);var o=t.featureTypes,i=vt((t=[{node:e,srsName:t.srsName,featureNS:t.featureNS?t.featureNS:this.b,featurePrefix:t.featurePrefix,geometryName:t.geometryName,bbox:t.bbox,propertyNames:t.propertyNames?t.propertyNames:[]}])[t.length-1]);return i.node=e,ou(i,SP,ql("Query"),o,t),e},Ug.prototype.B=function(t,e,o,i){var r,n,s=[],p=kx("http://www.opengis.net/wfs","Transaction");return p.setAttribute("service","WFS"),p.setAttribute("version","1.1.0"),i&&(r=i.gmlOptions?i.gmlOptions:{},i.handle&&p.setAttribute("handle",i.handle)),Bx(p,"http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",this.c),t&&(mt(n={node:p,featureNS:i.featureNS,featureType:i.featureType,featurePrefix:i.featurePrefix},r),ou(n,xP,ql("Insert"),t,s)),e&&(mt(n={node:p,featureNS:i.featureNS,featureType:i.featureType,featurePrefix:i.featurePrefix},r),ou(n,xP,ql("Update"),e,s)),o&&ou({node:p,featureNS:i.featureNS,featureType:i.featureType,featurePrefix:i.featurePrefix},xP,ql("Delete"),o,s),i.nativeElements&&ou({node:p,featureNS:i.featureNS,featureType:i.featureType,featurePrefix:i.featurePrefix},xP,ql("Native"),i.nativeElements,s),p},Ug.prototype.Qf=function(t){for(t=t.firstChild;t;t=t.nextSibling)if(1==t.nodeType)return this.Me(t);return null},Ug.prototype.Me=function(t){if(t.firstElementChild&&t.firstElementChild.firstElementChild)for(t=(t=t.firstElementChild.firstElementChild).firstElementChild;t;t=t.nextElementSibling)if(0!==t.childNodes.length&&(1!==t.childNodes.length||3!==t.firstChild.nodeType)){var e=[{}];return this.a.Je(t,e),Ro(e.pop().srsName)}return null},o(Yg,Tf);var MP={Point:Vg,LineString:Wg,Polygon:zg,MultiPoint:function(t){for(var e=[],o=0,i=(t=t.ve()).length;o<i;++o)e.push("("+Vg(t[o])+")");return e.join(",")},MultiLineString:function(t){for(var e=[],o=0,i=(t=t.sd()).length;o<i;++o)e.push("("+Wg(t[o])+")");return e.join(",")},MultiPolygon:function(t){for(var e=[],o=0,i=(t=t.ce()).length;o<i;++o)e.push("("+zg(t[o])+")");return e.join(",")},GeometryCollection:function(t){for(var e=[],o=0,i=(t=t.Ag()).length;o<i;++o)e.push(Zg(t[o]));return e.join(",")}};(Bb=Yg.prototype).Dd=function(t,e){var o=this.Fd(t,e);if(o){var i=new Ah;return i.Ma(o),i}return null},Bb.Lf=function(t,e){for(var o=[],i=this.Fd(t,e),r=[],n=0,s=(o=this.a&&"GeometryCollection"==i.W()?i.c:[i]).length;n<s;++n)(i=new Ah).Ma(o[n]),r.push(i);return r},Bb.Fd=function(t,e){var o;return(o=new $g(new Hg(t))).a=qg(o.f),(o=_g(o))?dy(o,!1,e):null},Bb.Re=function(t,e){var o=t.X();return o?this.Ld(o,e):""},Bb.si=function(t,e){if(1==t.length)return this.Re(t[0],e);for(var o=[],i=0,r=t.length;i<r;++i)o.push(t[i].X());return o=new Uy(o),this.Ld(o,e)},Bb.Ld=function(t,e){return Zg(dy(t,!0,e))},(Bb=$g.prototype).match=function(t){return(t=this.a.type==t)&&(this.a=qg(this.f)),t},Bb.Ff=function(){if(this.match(2)){var t=Qg(this);if(this.match(3))return t}else if(od(this))return null;throw Error(id(this))},Bb.Ef=function(){if(this.match(2)){var t=td(this);if(this.match(3))return t}else if(od(this))return[];throw Error(id(this))},Bb.Gf=function(){if(this.match(2)){var t=ed(this);if(this.match(3))return t}else if(od(this))return[];throw Error(id(this))},Bb.Sn=function(){if(this.match(2)){var t;if(2==this.a.type)for(t=[this.Ff()];this.match(5);)t.push(this.Ff());else t=td(this);if(this.match(3))return t}else if(od(this))return[];throw Error(id(this))},Bb.Rn=function(){if(this.match(2)){var t=ed(this);if(this.match(3))return t}else if(od(this))return[];throw Error(id(this))},Bb.Tn=function(){if(this.match(2)){for(var t=[this.Gf()];this.match(5);)t.push(this.Gf());if(this.match(3))return t}else if(od(this))return[];throw Error(id(this))};var PP={POINT:ni,LINESTRING:Sy,POLYGON:vi,MULTIPOINT:jy,MULTILINESTRING:Py,MULTIPOLYGON:Ay},TP={POINT:$g.prototype.Ff,LINESTRING:$g.prototype.Ef,POLYGON:$g.prototype.Gf,MULTIPOINT:$g.prototype.Sn,MULTILINESTRING:$g.prototype.Rn,MULTIPOLYGON:$g.prototype.Tn};o(rd,Tg),rd.prototype.f=function(t){for(t=t.firstChild;t;t=t.nextSibling)if(1==t.nodeType)return this.a(t);return null},rd.prototype.a=function(t){return this.version=t.getAttribute("version").trim(),(t=tu({version:this.version},jP,t,[]))?t:null};var EP=[null,"http://www.opengis.net/wms"],jP=_l(EP,{Service:Zl(function(t,e){return tu({},RP,t,e)}),Capability:Zl(function(t,e){return tu({},AP,t,e)})}),AP=_l(EP,{Request:Zl(function(t,e){return tu({},OP,t,e)}),Exception:Zl(function(t,e){return tu([],kP,t,e)}),Layer:Zl(function(t,e){return tu({},FP,t,e)})}),RP=_l(EP,{Name:Zl(of),Title:Zl(of),Abstract:Zl(of),KeywordList:Zl(ad),OnlineResource:Zl(Pg),ContactInformation:Zl(function(t,e){return tu({},CP,t,e)}),Fees:Zl(of),AccessConstraints:Zl(of),LayerLimit:Zl(tf),MaxWidth:Zl(tf),MaxHeight:Zl(tf)}),CP=_l(EP,{ContactPersonPrimary:Zl(function(t,e){return tu({},IP,t,e)}),ContactPosition:Zl(of),ContactAddress:Zl(function(t,e){return tu({},LP,t,e)}),ContactVoiceTelephone:Zl(of),ContactFacsimileTelephone:Zl(of),ContactElectronicMailAddress:Zl(of)}),IP=_l(EP,{ContactPerson:Zl(of),ContactOrganization:Zl(of)}),LP=_l(EP,{AddressType:Zl(of),Address:Zl(of),City:Zl(of),StateOrProvince:Zl(of),PostCode:Zl(of),Country:Zl(of)}),kP=_l(EP,{Format:Vl(of)}),FP=_l(EP,{Name:Zl(of),Title:Zl(of),Abstract:Zl(of),KeywordList:Zl(ad),CRS:zl(of),EX_GeographicBoundingBox:Zl(function(t,e){if(n=tu({},DP,t,e)){var o=n.westBoundLongitude,i=n.southBoundLatitude,r=n.eastBoundLongitude,n=n.northBoundLatitude;return void 0===o||void 0===i||void 0===r||void 0===n?void 0:[o,i,r,n]}}),BoundingBox:zl(function(t){var e=[Qy(t.getAttribute("minx")),Qy(t.getAttribute("miny")),Qy(t.getAttribute("maxx")),Qy(t.getAttribute("maxy"))],o=[Qy(t.getAttribute("resx")),Qy(t.getAttribute("resy"))];return{crs:t.getAttribute("CRS"),extent:e,res:o}}),Dimension:zl(function(t){return{name:t.getAttribute("name"),units:t.getAttribute("units"),unitSymbol:t.getAttribute("unitSymbol"),"default":t.getAttribute("default"),multipleValues:qy(t.getAttribute("multipleValues")),nearestValue:qy(t.getAttribute("nearestValue")),current:qy(t.getAttribute("current")),values:of(t)}}),Attribution:Zl(function(t,e){return tu({},NP,t,e)}),AuthorityURL:zl(function(t,e){var o=nd(t,e);if(o)return o.name=t.getAttribute("name"),o}),Identifier:zl(of),MetadataURL:zl(function(t,e){var o=nd(t,e);if(o)return o.type=t.getAttribute("type"),o}),DataURL:zl(nd),FeatureListURL:zl(nd),Style:zl(function(t,e){return tu({},XP,t,e)}),MinScaleDenominator:Zl(_y),MaxScaleDenominator:Zl(_y),Layer:zl(function(t,e){var o=e[e.length-1],i=tu({},FP,t,e);if(i){var r=qy(t.getAttribute("queryable"));return void 0===r&&(r=o.queryable),i.queryable=void 0!==r&&r,void 0===(r=ef(t.getAttribute("cascaded")))&&(r=o.cascaded),i.cascaded=r,void 0===(r=qy(t.getAttribute("opaque")))&&(r=o.opaque),i.opaque=void 0!==r&&r,void 0===(r=qy(t.getAttribute("noSubsets")))&&(r=o.noSubsets),i.noSubsets=void 0!==r&&r,(r=Qy(t.getAttribute("fixedWidth")))||(r=o.fixedWidth),i.fixedWidth=r,(r=Qy(t.getAttribute("fixedHeight")))||(r=o.fixedHeight),i.fixedHeight=r,["Style","CRS","AuthorityURL"].forEach(function(t){if(t in o){var e=(e=dt(i,t)).concat(o[t]);i[t]=e}}),"EX_GeographicBoundingBox BoundingBox Dimension Attribution MinScaleDenominator MaxScaleDenominator".split(" ").forEach(function(t){t in i||(i[t]=o[t])}),i}})}),NP=_l(EP,{Title:Zl(of),OnlineResource:Zl(Pg),LogoURL:Zl(pd)}),DP=_l(EP,{westBoundLongitude:Zl(_y),eastBoundLongitude:Zl(_y),southBoundLatitude:Zl(_y),northBoundLatitude:Zl(_y)}),OP=_l(EP,{GetCapabilities:Zl(sd),GetMap:Zl(sd),GetFeatureInfo:Zl(sd)}),UP=_l(EP,{Format:zl(of),DCPType:zl(function(t,e){return tu({},BP,t,e)})}),BP=_l(EP,{HTTP:Zl(function(t,e){return tu({},GP,t,e)})}),GP=_l(EP,{Get:Zl(nd),Post:Zl(nd)}),XP=_l(EP,{Name:Zl(of),Title:Zl(of),Abstract:Zl(of),LegendURL:zl(pd),StyleSheetURL:Zl(nd),StyleURL:Zl(nd)}),KP=_l(EP,{Format:Zl(of),OnlineResource:Zl(Pg)}),YP=_l(EP,{Keyword:Vl(of)});o(hd,Wy),hd.prototype.ic=function(t,e){var o={featureType:this.featureType,featureNS:this.featureNS};e&&mt(o,fy(this,t,e));var i=[o];t.namespaceURI=this.b;var r=Fx(t);o=[];if(0!==t.childNodes.length){if("msGMLOutput"==r)for(var n=0,s=t.childNodes.length;n<s;n++){var p=t.childNodes[n];if(1===p.nodeType){var a=i[0],h=p.localName.replace("_layer","")+"_feature";a.featureType=h,a.featureNS=this.b;var l={};l[h]=Vl(this.a.Jf,this.a),a=_l([a.featureNS,null],l),p.namespaceURI=this.b,(p=tu([],a,p,i,this.a))&&X(o,p)}}"FeatureCollection"==r&&(i=tu([],this.a.a,t,[{}],this.a))&&(o=i)}return o},o(ld,Tg),ld.prototype.f=function(t){for(t=t.firstChild;t;t=t.nextSibling)if(1==t.nodeType)return this.a(t);return null},ld.prototype.a=function(t){this.version=t.getAttribute("version").trim();var e=this.b.a(t);return e?(e.version=this.version,(e=tu(e,zP,t,[]))?e:null):null};var VP=[null,"http://www.opengis.net/wmts/1.0"],WP=[null,"http://www.opengis.net/ows/1.1"],zP=_l(VP,{Contents:Zl(function(t,e){return tu({},ZP,t,e)})}),ZP=_l(VP,{Layer:zl(function(t,e){return tu({},HP,t,e)}),TileMatrixSet:zl(function(t,e){return tu({},QP,t,e)})}),HP=_l(VP,{Style:zl(function(t,e){var o=tu({},JP,t,e);if(o){var i="true"===t.getAttribute("isDefault");return o.isDefault=i,o}}),Format:zl(of),TileMatrixSetLink:zl(function(t,e){return tu({},qP,t,e)}),Dimension:zl(function(t,e){return tu({},$P,t,e)}),ResourceURL:zl(function(t){var e=t.getAttribute("format"),o=t.getAttribute("template");t=t.getAttribute("resourceType");var i={};return e&&(i.format=e),o&&(i.template=o),t&&(i.resourceType=t),i})},_l(WP,{Title:Zl(of),Abstract:Zl(of),WGS84BoundingBox:Zl(function(t,e){var o=tu([],_P,t,e);return 2!=o.length?void 0:Fe(o)}),Identifier:Zl(of)})),JP=_l(VP,{LegendURL:zl(function(t){var e={};return e.format=t.getAttribute("format"),e.href=Pg(t),e})},_l(WP,{Title:Zl(of),Identifier:Zl(of)})),qP=_l(VP,{TileMatrixSet:Zl(of)}),$P=_l(VP,{Default:Zl(of),Value:zl(of)},_l(WP,{Identifier:Zl(of)})),_P=_l(WP,{LowerCorner:Vl(ud),UpperCorner:Vl(ud)}),QP=_l(VP,{WellKnownScaleSet:Zl(of),TileMatrix:zl(function(t,e){return tu({},tT,t,e)})},_l(WP,{SupportedCRS:Zl(of),Identifier:Zl(of)})),tT=_l(VP,{TopLeftCorner:Zl(ud),ScaleDenominator:Zl(_y),TileWidth:Zl(tf),TileHeight:Zl(tf),MatrixWidth:Zl(tf),MatrixHeight:Zl(tf)},_l(WP,{Identifier:Zl(of)})),eT=new bo(6378137);o(cd,re),(Bb=cd.prototype).Y=function(){this.re(!1),cd.ca.Y.call(this)},Bb.Dl=function(){var t=this.Wg();t&&(this.c=Lo(Ro("EPSG:4326"),t),this.a&&this.set("position",this.c(this.a)))},Bb.El=function(){if(dw){var t=this.Xg();t&&void 0===this.b?this.b=Wb.navigator.geolocation.watchPosition(g(this.$n,this),g(this.ao,this),this.Ig()):t||void 0===this.b||(Wb.navigator.geolocation.clearWatch(this.b),this.b=void 0)}},Bb.$n=function(t){t=t.coords,this.set("accuracy",t.accuracy),this.set("altitude",null===t.altitude?void 0:t.altitude),this.set("altitudeAccuracy",null===t.altitudeAccuracy?void 0:t.altitudeAccuracy),this.set("heading",null===t.heading?void 0:j(t.heading)),this.a?(this.a[0]=t.longitude,this.a[1]=t.latitude):this.a=[t.longitude,t.latitude];var e=this.c(this.a);this.set("position",e),this.set("speed",null===t.speed?void 0:t.speed),(t=mi(eT,this.a,t.accuracy)).pc(this.c),this.set("accuracyGeometry",t),this.u()},Bb.ao=function(t){t.type="error",this.re(!1),this.s(t)},Bb.Dj=function(){return this.get("accuracy")},Bb.Ej=function(){return this.get("accuracyGeometry")||null},Bb.Gj=function(){return this.get("altitude")},Bb.Hj=function(){return this.get("altitudeAccuracy")},Bb.Bl=function(){return this.get("heading")},Bb.Cl=function(){return this.get("position")},Bb.Wg=function(){return this.get("projection")},Bb.lk=function(){return this.get("speed")},Bb.Xg=function(){return this.get("tracking")},Bb.Ig=function(){return this.get("trackingOptions")},Bb.Yg=function(t){this.set("projection",t)},Bb.re=function(t){this.set("tracking",t)},Bb.hi=function(t){this.set("trackingOptions",t)},o(yd,Bo),(Bb=yd.prototype).clone=function(){var t=new yd(null),e=this.A.slice();return Xo(t,this.b,e),t.u(),t},Bb.nb=function(t,e,o,i){var r=this.A;t-=r[0];var n=e-r[1];if((e=t*t+n*n)<i){if(0===e)for(i=0;i<this.a;++i)o[i]=r[i];else for(i=this.zf()/Math.sqrt(e),o[0]=r[0]+i*t,o[1]=r[1]+i*n,i=2;i<this.a;++i)o[i]=r[i];return o.length=this.a,e}return i},Bb.uc=function(t,e){var o,i=t-(o=this.A)[0];return i*i+(o=e-o[1])*o<=fd(this)},Bb.wd=function(){return this.A.slice(0,this.a)},Bb.Wd=function(t){var e=this.A,o=e[this.a]-e[0];return Ve(e[0]-o,e[1]-o,e[0]+o,e[1]+o,t)},Bb.zf=function(){return Math.sqrt(fd(this))},Bb.W=function(){return"Circle"},Bb.Ea=function(t){var e=this.J();return!!ao(t,e)&&(e=this.wd(),t[0]<=e[0]&&t[2]>=e[0]||t[1]<=e[1]&&t[3]>=e[1]||$e(t,this.og,this))},Bb.Yl=function(t){var e=this.a,o=this.A[e]-this.A[0],i=t.slice();for(i[e]=i[0]+o,o=1;o<e;++o)i[e+o]=t[o];Xo(this,this.b,i),this.u()},Bb.Uf=function(t,e,o){if(t){var i;for(Ko(this,o,t,0),this.A||(this.A=[]),t=qo(o=this.A,t),o[t++]=o[0]+e,e=1,i=this.a;e<i;++e)o[t++]=o[e];o.length=t}else Xo(this,"XY",null);this.u()},Bb.Zl=function(t){this.A[this.a]=this.A[0]+t,this.u()};var oT=new Ta({color:"rgba(0,0,0,0.2)"}),iT=[90,45,30,20,10,5,2,1,.5,.2,.1,.05,.01,.005,.002,.001];(Bb=bd.prototype).Fl=function(){return this.l},Bb.Zj=function(){return this.a},Bb.fk=function(){return this.f},Bb.Mg=function(t){var e=t.vectorContext,o=t.frameState,i=o.extent,r=(t=o.viewState).center,n=t.projection,s=t.resolution;if(t=s*s/(4*(t=o.pixelRatio)*t),!this.g||!Co(this.g,n)){var p=Ro("EPSG:4326"),a=n.J(),h=n.j,l=Do(h,p,n),u=h[2],c=h[1],y=h[0],f=l[3],g=l[2],d=l[1];l=l[0];this.i=h[3],this.b=u,this.j=c,this.c=y,this.v=f,this.C=g,this.D=d,this.O=l,this.o=Io(p,n),this.B=Io(n,p),this.G=this.B(eo(a)),this.g=n}for(p=0,n.b&&(p=po(n=n.J()),(o=o.focus[0])<n[0]||o>n[2])&&(p*=Math.ceil((n[0]-o)/p),i=[i[0]+p,i[1],i[2]+p,i[3]]),o=this.G[0],n=this.G[1],p=-1,h=Math.pow(this.U*s,2),u=[],c=[],s=0,a=iT.length;s<a&&(y=iT[s]/2,u[0]=o-y,u[1]=n-y,c[0]=o+y,c[1]=n+y,this.o(u,u),this.o(c,c),!((y=Math.pow(c[0]-u[0],2)+Math.pow(c[1]-u[1],2))<=h));++s)p=iT[s];if(-1==(s=p))this.a.length=this.f.length=0;else{for(r=(o=this.B(r))[0],o=o[1],n=this.na,h=(p=Do(p=[Math.max(i[0],this.O),Math.max(i[1],this.D),Math.min(i[2],this.C),Math.min(i[3],this.v)],this.g,"EPSG:4326"))[3],c=p[1],a=md(this,u=P(r=Math.floor(r/s)*s,this.c,this.b),c,h,t,i,0),p=0;u!=this.c&&p++<n;)a=md(this,u=Math.max(u-s,this.c),c,h,t,i,a);for(u=P(r,this.c,this.b),p=0;u!=this.b&&p++<n;)a=md(this,u=Math.min(u+s,this.b),c,h,t,i,a);for(this.a.length=a,a=wd(this,r=P(o=Math.floor(o/s)*s,this.j,this.i),t,i,0),p=0;r!=this.j&&p++<n;)a=wd(this,r=Math.max(r-s,this.j),t,i,a);for(r=P(o,this.j,this.i),p=0;r!=this.i&&p++<n;)a=wd(this,r=Math.min(r+s,this.i),t,i,a);this.f.length=a}for(e.bb(null,this.va),t=0,r=this.a.length;t<r;++t)s=this.a[t],e.Wb(s,null);for(t=0,r=this.f.length;t<r;++t)s=this.f[t],e.Wb(s,null)},Bb.setMap=function(t){this.l&&(this.l.K("postcompose",this.Mg,this),this.l.render()),t&&(t.H("postcompose",this.Mg,this),t.render()),this.l=t},o(xd,Us),xd.prototype.a=function(t){return void 0===t?this.f:(t=I(t))in this.g?this.g[t]:(e=yt(this.g)?this.f:this.f.cloneNode(!1),this.g[t]=e);var e},xd.prototype.o=function(){this.state=3,this.c.forEach(Wt),this.c=null,Bs(this)},xd.prototype.G=function(){void 0===this.resolution&&(this.resolution=io(this.extent)/this.f.height),this.state=2,this.c.forEach(Wt),this.c=null,Bs(this)},xd.prototype.load=function(){0==this.state&&(this.state=1,Bs(this),this.c=[Yt(this.f,"error",this.o,!1,this),Yt(this.f,"load",this.G,!1,this)],this.j(this,this.l))},o(Sd,Hr),(Bb=Sd.prototype).Y=function(){1==this.state&&Md(this),this.f&&Tt(this.f),Sd.ca.Y.call(this)},Bb.Ta=function(t){if(void 0===t)return this.b;var e=I(t);return e in this.c?this.c[e]:(t=yt(this.c)?this.b:this.b.cloneNode(!1),this.c[e]=t)},Bb.$a=function(){return this.l},Bb.Gl=function(){this.state=3,Md(this),Jr(this)},Bb.Hl=function(){this.state=this.b.naturalWidth&&this.b.naturalHeight?2:4,Md(this),Jr(this)},Bb.load=function(){0==this.state&&(this.state=1,Jr(this),this.j=[Yt(this.b,"error",this.Gl,!1,this),Yt(this.b,"load",this.Hl,!1,this)],this.o(this,this.l))},o(Pd,_t),(Bb=Pd.prototype).ld=!1,Bb.Y=function(){Pd.ca.Y.call(this),this.a.Fc()},Bb.Jn=function(t){var e=t.a.dataTransfer;(this.ld=!(!e||!(e.types&&(0<=C(e.types,"Files")||0<=C(e.types,"public.file-url"))||e.files&&0<e.files.length)))&&t.preventDefault()},Bb.Kn=function(t){this.ld&&(t.preventDefault(),t.a.dataTransfer.dropEffect="none")},Bb.Ln=function(t){if(this.ld){t.preventDefault(),t.b(),t=t.a.dataTransfer;try{t.effectAllowed="all"}catch(e){}t.dropEffect="copy"}},Bb.Mn=function(t){this.ld&&(t.preventDefault(),t.b(),(t=new Ct(t.a)).type="drop",this.s(t))},Td.prototype.cancel=function(t){if(this.a)this.b instanceof Td&&this.b.cancel();else{if(this.f){var e=this.f;delete this.f,t?e.cancel(t):(e.l--,e.l<=0&&e.cancel())}this.v?this.v.call(this.B,this):this.o=!0,this.a||(t=new Ld,jd(this),Ed(this,!1,t))}},Td.prototype.G=function(t,e){this.j=!1,Ed(this,t,e)},Td.prototype.ad=function(t){jd(this),Ed(this,!0,t)},Td.prototype.then=function(t,e,o){var i,r,n=new Bh(function(t,e){i=t,r=e});return Ad(this,i,function(t){t instanceof Ld?n.cancel():r(t)}),n.then(t,e,o)},Ch(Td),o(Id,a),Id.prototype.message="Deferred has already fired",Id.prototype.name="AlreadyCalledError",o(Ld,a),Ld.prototype.message="Deferred was canceled",Ld.prototype.name="CanceledError",kd.prototype.f=function(){throw delete rT[this.xa],this.a};var rT={};o(Fd,a);var nT={AbortError:3,EncodingError:5,InvalidModificationError:9,InvalidStateError:7,NotFoundError:1,NotReadableError:4,NoModificationAllowedError:6,PathExistsError:12,QuotaExceededError:10,SecurityError:2,SyntaxError:8,TypeMismatchError:11};o(Dd,Et),o(Od,_t),Od.prototype.getError=function(){return this.tb.error&&new Fd(this.tb.error,"reading file")},Od.prototype.a=function(t){this.s(new Dd(t,this))},Od.prototype.Y=function(){Od.ca.Y.call(this),delete this.tb},o(Bd,bp),Bd.prototype.Y=function(){this.a&&Wt(this.a),Bd.ca.Y.call(this)},Bd.prototype.l=function(t){var e,o,i;for(e=0,o=(t=t.a.dataTransfer.files).length;e<o;++e){var r;r=i=t[e];var n=new Od,s=Ud(n);n.tb.readAsText(r,""),Ad(r=s,i=v(this.o,i),null,this)}},Bd.prototype.o=function(t,e){var o=this.B,i=this.v;i||(i=o.aa().g);var r,n,s=[];for(r=0,n=(o=this.j).length;r<n;++r){var p,a=new o[r];try{p=a.Ba(e)}catch(y){p=null}if(p){var h,l;a=Io(a=a.Ia(e),i);for(h=0,l=p.length;h<l;++h){var u=p[h],c=u.X();c&&c.pc(a),s.push(u)}}}this.s(new Gd(sT,this,t,s,i))},Bd.prototype.setMap=function(t){this.a&&(Wt(this.a),this.a=void 0),this.c&&(Tt(this.c),this.c=null),Bd.ca.setMap.call(this,t),t&&(this.c=new Pd(t.a),this.a=Gt(this.c,"drop",this.l,!1,this))};var sT="addfeatures";o(Gd,Et),o(Xd,er),Xd.prototype.clone=function(){return new Xd(this.x,this.y)},Xd.prototype.scale=er.prototype.scale,Xd.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},Xd.prototype.rotate=function(t){var e=Math.cos(t);t=Math.sin(t);var o=this.y*e+this.x*t;return this.x=this.x*e-this.y*t,this.y=o,this},o(Kd,Ip),o(zd,Et),o(Zd,Ip),(Bb=Zd.prototype).setMap=function(t){Zd.ca.setMap.call(this,t),this.ni()},Bb.Ao=function(){var t,e=this.l.X();this.c===aT?((t=this.a).splice(-2,1),this.D(t,e)):this.c===hT&&((t=this.a[0]).splice(-2,1),this.v.X().la(t),this.D(this.a,e)),0===t.length&&(this.o=null),iv(this)},Bb.od=function(){var t=ov(this),e=this.a,o=t.X();this.c===aT?(e.pop(),this.D(e,o)):this.c===hT&&(e[0].pop(),e[0].push(e[0][0]),this.D(e,o)),"MultiPoint"===this.V?t.Ma(new jy([e])):"MultiLineString"===this.V?t.Ma(new Py([e])):"MultiPolygon"===this.V&&t.Ma(new Ay([e])),this.s(new zd("drawend",t)),this.Db&&this.Db.push(t),this.nc&&this.nc.Bd(t)},Bb.fm=function(t){var e=t.X();this.l=t,this.a=e.Z(),t=this.a[this.a.length-1],this.o=t.slice(),this.a.push(t.slice()),iv(this),this.s(new zd("drawstart",this.l))},Bb.Ac=Fm,Bb.ni=function(){var t=this.B,e=this.b();t&&e||ov(this),this.oa.setMap(e?t:null)};var pT="Point",aT="LineString",hT="Polygon",lT="Circle";o(nv,Et),o(sv,Ip),(Bb=sv.prototype).Af=function(t){var e=t.X();e.W()in this.V&&this.V[e.W()].call(this,t,e),(e=this.B)&&dv(this,this.ga,e),Gt(t,"change",this.dh,!1,this)},Bb.setMap=function(t){this.U.setMap(t),sv.ca.setMap.call(this,t)},Bb.gm=function(t){this.Af(t.element)},Bb.dh=function(t){this.o||(av(this,t=t.target),this.Af(t))},Bb.hm=function(t){av(this,t.element)},Bb.mm=function(t,e){var o=e.Z();o={feature:t,geometry:e,ka:[o,o]};this.a.ya(e.J(),o)},Bb.km=function(t,e){var o,i,r,n=e.Z();for(i=0,r=n.length;i<r;++i)o={feature:t,geometry:e,depth:[i],index:i,ka:[o=n[i],o]},this.a.ya(e.J(),o)},Bb.eh=function(t,e){var o,i,r,n,s=e.Z();for(o=0,i=s.length-1;o<i;++o)n={feature:t,geometry:e,index:o,ka:r=s.slice(o,o+2)},this.a.ya(Fe(r),n)},Bb.jm=function(t,e){var o,i,r,n,s,p,a,h=e.Z();for(n=0,s=h.length;n<s;++n)for(i=0,r=(o=h[n]).length-1;i<r;++i)a={feature:t,geometry:e,depth:[n],index:i,ka:p=o.slice(i,i+2)},this.a.ya(Fe(p),a)},Bb.nm=function(t,e){var o,i,r,n,s,p,a,h=e.Z();for(n=0,s=h.length;n<s;++n)for(i=0,r=(o=h[n]).length-1;i<r;++i)a={feature:t,geometry:e,depth:[n],index:i,ka:p=o.slice(i,i+2)},this.a.ya(Fe(p),a)},Bb.lm=function(t,e){var o,i,r,n,s,p,a,h,l,u,c=e.Z();for(p=0,a=c.length;p<a;++p)for(n=0,s=(h=c[p]).length;n<s;++n)for(i=0,r=(o=h[n]).length-1;i<r;++i)u={feature:t,geometry:e,depth:[n,p],index:i,ka:l=o.slice(i,i+2)},this.a.ya(Fe(l),u)},Bb.im=function(t,e){var o,i=e.c;for(o=0;o<i.length;++o)this.V[i[o].W()].call(this,t,i[o])},Bb.el=function(t,e){for(var o,i=t.ka,r=t.feature,n=t.geometry,s=t.depth,p=t.index;e.length<n.ra();)e.push(0);switch(n.W()){case"MultiLineString":case"Polygon":(o=n.Z())[s[0]].splice(p+1,0,e);break;case"MultiPolygon":(o=n.Z())[s[1]][s[0]].splice(p+1,0,e);break;case"LineString":(o=n.Z()).splice(p+1,0,e);break;default:return}this.o=!0,n.la(o),this.o=!1,(o=this.a).remove(t),vv(this,n,p,s,1);var a={ka:[i[0],e],feature:r,geometry:n,depth:s,index:p};o.ya(Fe(a.ka),a),this.l.push([a,1]),i={ka:[e,i[1]],feature:r,geometry:n,depth:s,index:p+1},o.ya(Fe(i.ka),i),this.l.push([i,0]),this.T=!0},o(mv,Et),o(wv,bp),(Bb=wv.prototype).pm=function(){return this.c.ea().c},Bb.qm=function(t){return t=I(t),this.a[t]},Bb.setMap=function(t){var e=this.B,o=this.c.ea().c;e&&o.forEach(e.li,e),wv.ca.setMap.call(this,t),this.c.setMap(t),t&&o.forEach(t.ii,t)},Bb.om=function(t){t=t.element;var e=this.B;e&&e.ii(t)},Bb.rm=function(t){t=t.element;var e=this.B;e&&e.li(t)},o(Mv,Ip),(Bb=Mv.prototype).xd=function(t,e){var o=void 0===e||e,i=t.X(),r=this.V[i.W()];if(r){var n=I(t);this.T[n]=i.J(Ye()),r.call(this,t,i),o&&(this.O[n]=i.H("change",g(this.Ck,this,t),this),this.D[n]=t.H(ne(t.a),this.sm,this))}},Bb.Aj=function(t){this.xd(t)},Bb.Bj=function(t){this.yd(t)},Bb.fh=function(t){var e;t instanceof wu?e=t.feature:t instanceof Ji&&(e=t.element),this.xd(e)},Bb.gh=function(t){var e;t instanceof wu?e=t.feature:t instanceof Ji&&(e=t.element),this.yd(e)},Bb.sm=function(t){t=t.g,this.yd(t,!0),this.xd(t,!0)},Bb.Ck=function(t){if(this.C){var e=I(t);e in this.v||(this.v[e]=t)}else this.mi(t)},Bb.yd=function(e,t){var o=void 0===t||t,i=I(e),r=this.T[i];if(r){var n=this.a,s=[];for(uu(n,r,function(t){e===t.feature&&s.push(t)}),r=s.length-1;0<=r;--r)n.remove(s[r]);o&&(Wt(this.O[i]),delete this.O[i],Wt(this.D[i]),delete this.D[i])}},Bb.setMap=function(t){var e,o=this.B,i=this.ga;this.l?e=this.l:this.o&&(e=this.o.ze()),o&&(i.forEach(oe),i.length=0,e.forEach(this.Bj,this)),Mv.ca.setMap.call(this,t),t&&(this.l?(i.push(this.l.H("add",this.fh,this)),i.push(this.l.H("remove",this.gh,this))):this.o&&(i.push(this.o.H("addfeature",this.fh,this)),i.push(this.o.H("removefeature",this.gh,this))),e.forEach(this.Aj,this))},Bb.Ac=Fm,Bb.mi=function(t){this.yd(t,!1),this.xd(t,!1)},Bb.tm=function(t,e){var o,i=e.c;for(o=0;o<i.length;++o)this.V[i[o].W()].call(this,t,i[o])},Bb.hh=function(t,e){var o,i,r,n,s=e.Z();for(o=0,i=s.length-1;o<i;++o)n={feature:t,ka:r=s.slice(o,o+2)},this.a.ya(Fe(r),n)},Bb.um=function(t,e){var o,i,r,n,s,p,a,h=e.Z();for(n=0,s=h.length;n<s;++n)for(i=0,r=(o=h[n]).length-1;i<r;++i)a={feature:t,ka:p=o.slice(i,i+2)},this.a.ya(Fe(p),a)},Bb.vm=function(t,e){var o,i,r,n=e.Z();for(i=0,r=n.length;i<r;++i)o={feature:t,ka:[o=n[i],o]},this.a.ya(e.J(),o)},Bb.wm=function(t,e){var o,i,r,n,s,p,a,h,l,u,c=e.Z();for(p=0,a=c.length;p<a;++p)for(n=0,s=(h=c[p]).length;n<s;++n)for(i=0,r=(o=h[n]).length-1;i<r;++i)u={feature:t,ka:l=o.slice(i,i+2)},this.a.ya(Fe(l),u)},Bb.xm=function(t,e){var o={feature:t,ka:[o=e.Z(),o]};this.a.ya(e.J(),o)},Bb.ym=function(t,e){var o,i,r,n,s,p,a,h=e.Z();for(n=0,s=h.length;n<s;++n)for(i=0,r=(o=h[n]).length-1;i<r;++i)a={feature:t,ka:p=o.slice(i,i+2)},this.a.ya(Fe(p),a)},o(jv,Et),o(Av,Ip),o(Fv,La);var uT=["#00f","#0ff","#0f0","#ff0","#f00"];(Bb=Fv.prototype).ug=function(){return this.get("blur")},Bb.Bg=function(){return this.get("gradient")},Bb.jh=function(){return this.get("radius")},Bb.Dk=function(){for(var t=this.Bg(),e=is(1,256),o=e.createLinearGradient(0,0,1,256),i=1/(t.length-1),r=0,n=t.length;r<n;++r)o.addColorStop(r*i,t[r]);e.fillStyle=o,e.fillRect(0,0,1,256),this.g=e.getImageData(0,0,1,256).data},Bb.Ng=function(){var t,e=this.jh(),o=this.ug(),i=e+o+1;(t=is(t=2*i,t)).shadowOffsetX=t.shadowOffsetY=this.V,t.shadowBlur=o,t.shadowColor="#000",t.beginPath(),o=i-this.V,t.arc(o,o,e,0,2*Math.PI,!0),t.fill(),this.T=t.canvas.toDataURL(),this.U=Array(256),this.u()},Bb.Vk=function(t){var e,o,i,r=(t=t.context).canvas,n=(r=t.getImageData(0,0,r.width,r.height)).data;for(e=0,o=n.length;e<o;e+=4)(i=4*n[e+3])&&(n[e]=this.g[i],n[e+1]=this.g[i+1],n[e+2]=this.g[i+2]);t.putImageData(r,0,0)},Bb.Vh=function(t){this.set("blur",t)},Bb.Zh=function(t){this.set("gradient",t)},Bb.kh=function(t){this.set("radius",t)},o(Nv,Hr),Nv.prototype.Y=function(){1==this.state&&(this.c.forEach(Wt),this.c=null),Nv.ca.Y.call(this)},Nv.prototype.Ta=function(t){if(void 0===t)return this.j;var e=I(t);return e in this.i?this.i[e]:(t=yt(this.i)?this.j:this.j.cloneNode(!1),this.i[e]=t)},Nv.prototype.load=function(){if(0==this.state){this.state=1,Jr(this);var i=0;this.c=[],this.b.forEach(function(e){var o,t=e.state;0!=t&&1!=t||(i++,o=e.Ra("change",function(){var t=e.state;2!=t&&3!=t&&4!=t||(Wt(o),0===--i&&(this.c.forEach(Wt),this.c=null,Dv(this)))},!1,this),this.c.push(o))},this),this.b.forEach(function(t){0==t.state&&t.load()}),0===i&&Dv(this)}};var cT=0,yT=1;o(Xv,a);var fT=0;Kv.prototype.cancel=function(t){t&&(t.wj&&t.wj.cancel(),t.xa&&zv(t.xa,!1))},o(Zv,Iu),(Bb=Zv.prototype).qh=function(){return!!zr(this.a)||at(this.j,function(t){return zr(t)})},Bb.rh=function(t,e){var o=this.ud(t);Zr(this.a,this.a==o?e:{}),pt(this.j,function(t){Zr(t,t==o?e:{})})},Bb.ib=function(t){var e=this.b;return!this.tileGrid||e&&!Co(e,t)?((e=I(t).toString())in this.o||(this.o[e]=hn(t)),this.o[e]):this.tileGrid},Bb.ud=function(t){var e=this.b;return!e||Co(e,t)?this.a:((t=I(t).toString())in this.j||(this.j[t]=new Wr),this.j[t])},Bb.Pb=function(t,e,o,i,r){if(this.b&&r&&!Co(this.b,r)){if(e=[t,e,o],Vr(i=this.ud(r),t=this.Ab.apply(this,e)))return i.get(t);var n=this.b;o=this.ib(n);var s=this.ib(r),p=gn(this,e,r);return r=new Nv(n,o,r,s,e,p,this.v,g(function(t,e,o,i){return Jv(this,t,e,o,i,n)},this),this.wa,this.T),i.set(t,r),r}return Jv(this,t,e,o,i,r)},Bb.vb=function(t){this.T!=t&&(this.T=t,pt(this.j,function(t){t.clear()}),this.u())},Bb.wb=function(t,e){var o=Ro(t);o&&((o=I(o).toString())in this.o||(this.o[o]=e))},o($v,Zv);var gT=new Hi({html:'<a class="ol-attribution-bing-tos" href="http://www.microsoft.com/maps/product/terms.html">Terms of Use</a>'});$v.prototype.C=function(t){if(200!=t.statusCode||"OK"!=t.statusDescription||"ValidCredentials"!=t.authenticationResultCode||1!=t.resourceSets.length||1!=t.resourceSets[0].resources.length)_r(this,"error");else{var e=t.brandLogoUri;-1==e.indexOf("https")&&(e=e.replace("http","https"));var i=t.resourceSets[0].resources[0],s=-1==this.g?i.zoomMax:this.g,p=ln({extent:t=cn(this.b),minZoom:i.zoomMin,maxZoom:s,tileSize:i.imageWidth==i.imageHeight?i.imageWidth:[i.imageWidth,i.imageHeight]});this.tileGrid=p;var r=this.l;if(this.tileUrlFunction=Au(i.imageUrlSubdomains.map(function(t){var e=[0,0,0],o=i.imageUrl.replace("{subdomain}",t).replace("{culture}",r);return function(t){if(t)return Oi(t[0],t[1],-t[2]-1,e),o.replace("{quadkey}",Bi(e))}})),i.imageryProviders){var a=Lo(Ro("EPSG:4326"),this.b);(t=i.imageryProviders.map(function(t){var e=t.attribution,n={};return t.coverageAreas.forEach(function(t){var e,o,i=t.zoomMin,r=Math.min(t.zoomMax,s);for(t=uo([(t=t.bbox)[1],t[0],t[3],t[2]],a),e=i;e<=r;++e)o=e.toString(),i=rn(p,t,e),o in n?n[o].push(i):n[o]=[i]}),new Hi({html:e,tileRanges:n})})).push(gT),this.ma(t)}this.U=e,_r(this,"ready")}},o(_v,yu),_v.prototype.ga=function(){return this.v},_v.prototype.Nc=function(t,e,o){this.v.Nc(t,e,o),e!==this.D&&(this.clear(),this.D=e,Qv(this),this.Ec(this.C))},_v.prototype.oa=function(){this.clear(),Qv(this),this.Ec(this.C),this.u()},o(eb,Mh),(Bb=eb.prototype).Hm=function(){return this.j},Bb.qd=function(t,e,o){if(e=Ph(this,e),o=this.pa?o:1,(r=this.g)&&this.T==this.f&&r.$()==e&&r.b==o&&Ge(r.J(),t))return r;1!=this.v&&lo(t=t.slice(),this.v);var i=[po(t)/e*o,io(t)/e*o];if(void 0!==this.V){var r=this.V,n=eo(t),s=this.fa,p=po(t),a=io(t),h=i[0],l=i[1],u=.0254/this.o;mt(i={OPERATION:this.wa?"GETDYNAMICMAPOVERLAYIMAGE":"GETMAPIMAGE",VERSION:"2.0.0",LOCALE:"en",CLIENTAGENT:"ol.source.ImageMapGuide source",CLIP:"1",SETDISPLAYDPI:this.o,SETDISPLAYWIDTH:Math.round(i[0]),SETDISPLAYHEIGHT:Math.round(i[1]),SETVIEWSCALE:h*a<l*p?p*s/(h*u):a*s/(l*u),SETVIEWCENTERX:n[0],SETVIEWCENTERY:n[1]},this.j),r=sl(al([r],i)),Gt(r=new xd(t,e,o,this.i,r,this.ga,this.c),"change",this.l,!1,this)}else r=null;return this.g=r,this.T=this.f,r},Bb.Gm=function(){return this.c},Bb.Jm=function(t){mt(this.j,t),this.u()},Bb.Im=function(t){this.g=null,this.c=t,this.u()},o(ob,Mh),ob.prototype.qd=function(t){return ao(t,this.c.J())?this.c:null},ob.prototype.l=function(t){if(
  2==this.c.state){var e,o,i=this.c.J(),r=this.c.a();if(this.g?(e=this.g[0],o=this.g[1]):(e=r.width,o=r.height),(i=Math.ceil(po(i)/(io(i)/o)))!=e){var n=document.createElement("canvas");n.width=i,n.height=o,n.getContext("2d").drawImage(r,0,0,e,o,0,0,n.width,n.height),this.c.f=n}}ob.ca.l.call(this,t)},o(ib,Mh);var dT=[101,101];(Bb=ib.prototype).Pm=function(t,e,o,i){if(void 0!==this.j){var r=oo(t,e,0,dT),n={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetFeatureInfo",FORMAT:"image/png",TRANSPARENT:!0,QUERY_LAYERS:this.g.LAYERS};return mt(n,this.g,i),i=Math.floor((r[3]-t[1])/e),n[this.v?"I":"X"]=Math.floor((t[0]-r[0])/e),n[this.v?"J":"Y"]=i,rb(this,r,dT,1,Ro(o),n)}},Bb.Rm=function(){return this.g},Bb.qd=function(t,e,o,i){if(void 0===this.j)return null;e=Ph(this,e),1==o||this.wa&&void 0!==this.ga||(o=1);var r=((t=t.slice())[0]+t[2])/2,n=(t[1]+t[3])/2,s=e/o,p=po(t)/s;s=io(t)/s;if((a=this.c)&&this.fa==this.f&&a.$()==e&&a.b==o&&Ge(a.J(),t))return a;if(1!=this.o){var a=this.o*po(t)/2,h=this.o*io(t)/2;t[0]=r-a,t[1]=n-h,t[2]=r+a,t[3]=n+h}return mt(r={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0},this.g),this.V[0]=Math.ceil(p*this.o),this.V[1]=Math.ceil(s*this.o),i=rb(this,t,this.V,o,i,r),this.c=new xd(t,e,o,this.i,i,this.pa,this.T),this.fa=this.f,Gt(this.c,"change",this.l,!1,this),this.c},Bb.Qm=function(){return this.T},Bb.Sm=function(){return this.j},Bb.Tm=function(t){this.c=null,this.T=t,this.u()},Bb.Um=function(t){t!=this.j&&(this.j=t,this.c=null,this.u())},Bb.Vm=function(t){mt(this.g,t),nb(this),this.c=null,this.u()},o(sb,Zv),o(pb,sb);var vT=new Hi({html:'&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors.'});o(ab,sb);var bT,mT,wT=new Hi({html:'Tiles Courtesy of <a href="http://www.mapquest.com/">MapQuest</a>'}),xT={osm:{maxZoom:19,attributions:[wT,vT]},sat:{maxZoom:18,attributions:[wT,new Hi({html:"Portions Courtesy NASA/JPL-Caltech and U.S. Depart. of Agriculture, Farm Service Agency"})]},hyb:{maxZoom:18,attributions:[wT,vT]}};ab.prototype.l=function(){return this.g},mT={ja:bT={}},function(t){"object"==typeof bT&&void 0!==mT?mT.ja=t():("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Bp=t()}(function(){return function a(i,r,n){function s(o,t){if(!r[o]){if(!i[o]){var e="function"==typeof require&&require;if(!t&&e)return e(o,!0);if(p)return p(o,!0);throw(e=Error("Cannot find module '"+o+"'")).code="MODULE_NOT_FOUND",e}e=r[o]={ja:{}},i[o][0].call(e.ja,function(t){var e=i[o][1][t];return s(e||t)},e,e.ja,a,i,r,n)}return r[o].ja}for(var p="function"==typeof require&&require,t=0;t<n.length;t++)s(n[t]);return s}({1:[function(t,e,o){t=t("./processor"),o.Qi=t},{"./processor":2}],2:[function(t,e){function i(h){return function(t){var e,o=t.buffers,i=t.meta,r=t.width,n=t.height,s=o.length,p=o[0].byteLength;if(t.imageOps){for(p=Array(s),e=0;e<s;++e)p[e]=new ImageData(new Uint8ClampedArray(o[e]),r,n);r=h(p,i).data}else{for(r=new Uint8ClampedArray(p),n=Array(s),t=Array(s),e=0;e<s;++e)n[e]=new Uint8ClampedArray(o[e]),t[e]=[0,0,0,0];for(o=0;o<p;o+=4){for(e=0;e<s;++e){var a=n[e];t[e][0]=a[o],t[e][1]=a[o+1],t[e][2]=a[o+2],t[e][3]=a[o+3]}e=h(t,i),r[o]=e[0],r[o+1]=e[1],r[o+2]=e[2],r[o+3]=e[3]}}return r.buffer}}function r(e,t){var o=Object.keys(e.lib||{}).map(function(t){return"var "+t+" = "+e.lib[t].toString()+";"}).concat(["var __minion__ = ("+i.toString()+")(",e.operation.toString(),");",'self.addEventListener("message", function(__event__) {',"var buffer = __minion__(__event__.data);","self.postMessage({buffer: buffer, meta: __event__.data.meta}, [buffer]);","});"]);return o=URL.createObjectURL(new Blob(o,{type:"text/javascript"})),(o=new Worker(o)).addEventListener("message",t),o}function n(t,e){var o=i(t.operation);return{postMessage:function(t){setTimeout(function(){e({data:{buffer:o(t),qe:t.qe}})},0)}}}function o(t){var e;this.$e=!!t.cl;var o=[];if(e=0===t.threads?0:this.$e?1:t.threads||1)for(var i=0;i<e;++i)o[i]=r(t,this.ig.bind(this,i));else o[0]=n(t,this.ig.bind(this,0));this.Td=o,this.Zc=[],this.ej=t.co||Infinity,this.Rd=0,this.Dc={},this.af=null}o.prototype.bo=function(t,e,o){this.bj({tc:t,qe:e,ad:o}),this.fg()},o.prototype.bj=function(t){for(this.Zc.push(t);this.Zc.length>this.ej;)this.Zc.shift().ad(null,null)},o.prototype.fg=function(){if(0===this.Rd&&0<this.Zc.length){var t=this.af=this.Zc.shift(),e=t.tc[0].width,o=t.tc[0].height,i=t.tc.map(function(t){return t.data.buffer}),r=this.Td.length;if(1===(this.Rd=r))this.Td[0].postMessage({buffers:i,meta:t.qe,imageOps:this.$e,width:e,height:o},i);else for(var n=4*Math.ceil(t.tc[0].data.length/4/r),s=0;s<r;++s){for(var p=s*n,a=[],h=0,l=i.length;h<l;++h)a.push(i[s].slice(p,p+n));this.Td[s].postMessage({buffers:a,meta:t.qe,imageOps:this.$e,width:e,height:o},a)}}},o.prototype.ig=function(t,e){this.xp||(this.Dc[t]=e.data,--this.Rd,0===this.Rd&&this.fj())},o.prototype.fj=function(){var t,e,o=this.af,i=this.Td.length;if(1===i)t=new Uint8ClampedArray(this.Dc[0].buffer),e=this.Dc[0].meta;else{var r=o.tc[0].data.length;t=new Uint8ClampedArray(r),e=Array(r),r=4*Math.ceil(r/4/i);for(var n=0;n<i;++n){var s=n*r;t.set(new Uint8ClampedArray(this.Dc[n].buffer),s),e[n]=this.Dc[n].meta}}this.af=null,this.Dc={},o.ad(null,new ImageData(t,o.tc[0].width,o.tc[0].height),e),this.fg()},e.ja=o},{}]},{},[1])(1)}),Cx=mT.ja,o(hb,Mh),hb.prototype.v=function(t,e){this.T=new Cx.Qi({operation:t,cl:"image"===this.wa,co:1,lib:e,threads:this.hb}),this.u()},hb.prototype.C=function(t,e,o,i){o=!0;for(var r,n=0,s=this.c.length;n<s;++n)if("ready"!==(r=this.c[n].a.ea()).B){o=!1;break}if(!o)return null;if(!lb(this,t,e))return this.j;o=this.g.canvas,r=Math.round(po(t)/e),n=Math.round(io(t)/e),r===o.width&&n===o.height||(o.width=r,o.height=n),(r=vt(this.fa)).viewState=vt(r.viewState);n=eo(t),s=Math.round(po(t)/e);var p=Math.round(io(t)/e);return r.extent=t,r.focus=eo(t),r.size[0]=s,r.size[1]=p,(s=r.viewState).center=n,s.projection=i,s.resolution=e,this.j=i=new fh(t,e,1,this.i,o,this.V.bind(this,r)),this.o={extent:t,resolution:e,Ho:this.f},i},hb.prototype.V=function(t,e){for(var o=this.c.length,i=Array(o),r=0;r<o;++r){var n,s=t;if((p=this.c[r]).Ad(s,t.layerStatesArray[r]),n=p.zd()){var p=p.nf(),a=Math.round(p[12]),h=Math.round(p[13]),l=s.size[0];s=s.size[1];if(n instanceof Image){if(ST){var u=ST.canvas;u.width!==l||u.height!==s?ST=is(l,s):ST.clearRect(0,0,l,s)}else ST=is(l,s);ST.drawImage(n,a,h,Math.round(n.width*p[0]),Math.round(n.height*p[5])),n=ST.getImageData(0,0,l,s)}else n=n.getContext("2d").getImageData(-a,-h,l,s)}else n=null;if(!n)return;i[r]=n}o={},this.s(new yb(MT,t,o)),this.T.bo(i,o,this.pa.bind(this,t,e)),gp(t.tileQueue,16,16)},hb.prototype.pa=function(t,e,o,i,r){o?e(o):i&&(this.s(new yb(PT,t,r)),lb(this,t.extent,t.viewState.resolution/t.pixelRatio)||this.g.putImageData(i,0,0),e(null))};var ST=null;o(yb,Et);var MT="beforeoperations",PT="afteroperations",TT={terrain:{ob:"jpg",opaque:!0},"terrain-background":{ob:"jpg",opaque:!0},"terrain-labels":{ob:"png",opaque:!1},"terrain-lines":{ob:"png",opaque:!1},"toner-background":{ob:"png",opaque:!0},toner:{ob:"png",opaque:!0},"toner-hybrid":{ob:"png",opaque:!1},"toner-labels":{ob:"png",opaque:!1},"toner-lines":{ob:"png",opaque:!1},"toner-lite":{ob:"png",opaque:!0},watercolor:{ob:"jpg",opaque:!0}},ET={terrain:{minZoom:4,maxZoom:18},toner:{minZoom:0,maxZoom:20},watercolor:{minZoom:3,maxZoom:16}};o(fb,sb);var jT=[new Hi({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>.'}),vT];return o(gb,Zv),gb.prototype.C=function(){return this.g},gb.prototype.Qb=function(t,e,o){return t=gb.ca.Qb.call(this,t,e,o),1==e?t:ae(t,e,this.c)},gb.prototype.D=function(t,e,o){var i=this.tileGrid;if(i||(i=this.ib(o)),!(i.a.length<=t[0])){var r=i.Aa(t,this.l),n=he(i.Ka(t[0]),this.c);1!=e&&(n=ae(n,e,this.c)),mt(i={F:"image",FORMAT:"PNG32",TRANSPARENT:!0},this.g);var s=this.urls;return s?(o=o.a.split(":").pop(),i.SIZE=n[0]+","+n[1],i.BBOX=r.join(","),i.BBOXSR=o,i.IMAGESR=o,i.DPI=Math.round(i.DPI?i.DPI*e:90*e),b(t=1==s.length?s[0]:s[le((t[1]<<t[0])+t[2],s.length)],"/")||(t+="/"),b(t,"MapServer/")?t+="export":b(t,"ImageServer/")&&(t+="exportImage"),t=sl(al([t],i))):t=void 0,t}},gb.prototype.V=function(t){mt(this.g,t),this.u()},o(db,Hr),db.prototype.Ta=function(t){if((t=void 0!==t?I(t):-1)in this.b)return this.b[t];var e=this.i,o=is(e[0],e[1]);return o.strokeStyle="black",o.strokeRect(.5,.5,e[0]+.5,e[1]+.5),o.fillStyle="black",o.textAlign="center",o.textBaseline="middle",o.font="24px sans-serif",o.fillText(this.c,e[0]/2,e[1]/2),this.b[t]=o.canvas},o(vb,yn),vb.prototype.Pb=function(t,e,o){var i=this.Ab(t,e,o);if(Vr(this.a,i))return this.a.get(i);var r=he(this.tileGrid.Ka(t));return r=new db(t=[t,e,o],r,e=(e=gn(this,t))?Gi(gn(this,e)):""),this.a.set(i,r),r},o(bb,Zv),bb.prototype.l=function(t){var e,o=Ro("EPSG:4326"),i=this.b;void 0!==t.bounds&&(e=uo(t.bounds,Lo(o,i)));var r=t.minzoom||0,n=t.maxzoom||22;if(this.tileGrid=i=ln({extent:cn(i),maxZoom:n,minZoom:r}),this.tileUrlFunction=ju(t.tiles,i),void 0!==t.attribution&&!this.i){o=void 0!==e?e:o.J(),e={};for(;r<=n;++r)e[r.toString()]=[rn(i,o,r)];this.ma([new Hi({html:t.attribution,tileRanges:e})])}_r(this,"ready")},bb.prototype.g=function(){_r(this,"error")},o(mb,yn),(Bb=mb.prototype).mk=function(){return this.j},Bb.zj=function(t,e,o,i,r){this.tileGrid?(e=this.tileGrid.fe(t,e),Sb(this.Pb(e[0],e[1],e[2],1,this.b),t,o,i,r)):!0===r?Dn(function(){o.call(i,null)}):o.call(i,null)},Bb.Xm=function(t){var e,o=Ro("EPSG:4326"),i=this.b;void 0!==t.bounds&&(e=uo(t.bounds,Lo(o,i)));var r=t.minzoom||0,n=t.maxzoom||22;this.tileGrid=i=ln({extent:cn(i),maxZoom:n,minZoom:r}),this.j=t.template;var s=t.grids;if(s){if(this.g=ju(s,i),void 0!==t.attribution){for(o=void 0!==e?e:o.J(),e={};r<=n;++r)e[s=r.toString()]=[rn(i,o,r)];this.ma([new Hi({html:t.attribution,tileRanges:e})])}_r(this,"ready")}else _r(this,"error")},Bb.Pb=function(t,e,o,i,r){var n=this.Ab(t,e,o);return Vr(this.a,n)?this.a.get(n):(e=gn(this,t=[t,e,o],r),i=new wb(t,void 0!==(i=this.g(e,i,r))?0:4,void 0!==i?i:"",this.tileGrid.Aa(t),this.l),this.a.set(n,i),i)},Bb.Yf=function(t,e,o){t=this.Ab(t,e,o),Vr(this.a,t)&&this.a.get(t)},o(wb,Hr),(Bb=wb.prototype).Ta=function(){return null},Bb.$a=function(){return this.l},Bb.Bk=function(){this.state=3,Jr(this)},Bb.Wm=function(t){this.c=t.grid,this.i=t.keys,this.j=t.data,this.state=4,Jr(this)},Bb.load=function(){this.o&&Mb(this)},o(Pb,Zv),(Bb=Pb.prototype).Ym=function(t,e,o,i){if(o=Ro(o),(s=this.tileGrid)||(s=this.ib(o)),e=s.fe(t,e),!(s.a.length<=e[0])){var r=s.$(e[0]),n=s.Aa(e,this.ga),s=he(s.Ka(e[0]),this.c),p=this.C;return 0!==p&&(s=pe(s,p,this.c),n=De(n,r*p,n)),mt(p={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetFeatureInfo",FORMAT:"image/png",TRANSPARENT:!0,QUERY_LAYERS:this.g.LAYERS},this.g,i),i=Math.floor((n[3]-t[1])/r),p[this.l?"I":"X"]=Math.floor((t[0]-n[0])/r),p[this.l?"J":"Y"]=i,Tb(this,e,s,n,1,o,p)}},Bb.ae=function(){return this.C},Bb.Ab=function(t,e,o){return this.V+Pb.ca.Ab.call(this,t,e,o)},Bb.Zm=function(){return this.g},Bb.Qb=function(t,e,o){return t=Pb.ca.Qb.call(this,t,e,o),1!=e&&this.fa&&void 0!==this.D?ae(t,e,this.c):t},Bb.$m=function(t,e,o){if((n=this.tileGrid)||(n=this.ib(o)),!(n.a.length<=t[0])){1==e||this.fa&&void 0!==this.D||(e=1);var i=n.$(t[0]),r=n.Aa(t,this.ga),n=he(n.Ka(t[0]),this.c),s=this.C;return 0!==s&&(n=pe(n,s,this.c),r=De(r,i*s,r)),1!=e&&(n=ae(n,e,this.c)),mt(i={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0},this.g),Tb(this,t,n,r,e,o,i)}},Bb.an=function(t){mt(this.g,t),Eb(this),jb(this),this.u()},o(Ab,Qr),Ab.prototype.o=function(){return this.j},o(Cb,Zv),(Bb=Cb.prototype).Lj=function(){return this.g},Bb.bn=function(){return this.D},Bb.Cg=function(){return this.l},Bb.cn=function(){return this.V},Bb.Yj=function(){return this.C},Bb.kk=function(){return this.oa},Bb.dn=function(){return this.fa},Bb.rk=function(){return this.ga},Bb.cp=function(t){mt(this.g,t),Ib(this),this.u()},o(Lb,Zv),o(kb,Sd),kb.prototype.Ta=function(t){var e=void 0!==t?I(t).toString():"";if(e in this.i)return this.i[e];if(t=kb.ca.Ta.call(this,t),2!=this.state)return t;if(256==t.width&&256==t.height)return this.i[e]=t;var o=is(256,256);return o.drawImage(t,0,0),this.i[e]=o.canvas},Fb.prototype.add=function(t,e,o,i,r,n){return e+this.a>this.b||o+this.a>this.b?null:(i=Nb(this,!1,t,e,o,i,n))?(t=Nb(this,!0,t,e,o,void 0!==r?r:Dm,n),{offsetX:i.offsetX,offsetY:i.offsetY,image:i.image,Og:t.image}):null},Db.prototype.get=function(t){return gt(this.c,t,null)},Db.prototype.add=function(t,e,o,i,r){var n,s,p;for(s=0,p=this.f.length;s<p;++s)if((n=this.f[s]).width>=e+this.a&&n.height>=o+this.a)return p={offsetX:n.x+this.a,offsetY:n.y+this.a,image:this.b},this.c[t]=p,i.call(r,this.g,n.x+this.a,n.y+this.a),t=s,e+=this.a,o+=this.a,r=i=void 0,n.width-e>n.height-o?(i={x:n.x+e,y:n.y,width:n.width-e,height:n.height},r={x:n.x,y:n.y+o,width:e,height:n.height-o}):(i={x:n.x+e,y:n.y,width:n.width-e,height:o},r={x:n.x,y:n.y+o,width:n.width,height:n.height-o}),Ob(this,t,i,r),p;return null},o(Ub,_s),(Bb=Ub.prototype).Xb=function(){return this.O},Bb.jn=function(){return this.l},Bb.kn=function(){return this.o},Bb.Ae=function(){return this.v},Bb.gc=function(){return this.c},Bb.rd=function(){return this.na},Bb.Cd=function(){return 2},Bb.Da=function(){return this.va},Bb.ln=function(){return this.a},Bb.mn=function(){return this.b},Bb.jk=function(){return this.i},Bb.Cb=function(){return this.U},Bb.nn=function(){return this.f},Bb.tf=s,Bb.load=s,Bb.Xf=s,Bb.xh=function(t,e,o,i){var r;for(e.setTransform(1,0,0,1,0,0),e.translate(o,i),e.beginPath(),this.i!==this.b&&(this.a*=2),o=0;o<=this.a;o++)i=2*o*Math.PI/this.a-Math.PI/2+this.l,r=0==o%2?this.b:this.i,e.lineTo(t.size/2+r*Math.cos(i),t.size/2+r*Math.sin(i));this.o&&(e.fillStyle=Qi(this.o.a),e.fill()),this.f&&(e.strokeStyle=t.strokeStyle,e.lineWidth=t.Id,t.lineDash&&e.setLineDash(t.lineDash),e.lineCap=t.lineCap,e.lineJoin=t.lineJoin,e.miterLimit=t.miterLimit,e.stroke()),e.closePath()},Bb.wh=function(t,e,o,i){var r;for(e.setTransform(1,0,0,1,0,0),e.translate(o,i),e.beginPath(),this.i!==this.b&&(this.a*=2),o=0;o<=this.a;o++)r=2*o*Math.PI/this.a-Math.PI/2+this.l,i=0==o%2?this.b:this.i,e.lineTo(t.size/2+i*Math.cos(r),t.size/2+i*Math.sin(r));e.fillStyle=Zw,e.fill(),this.f&&(e.strokeStyle=t.strokeStyle,e.lineWidth=t.Id,t.lineDash&&e.setLineDash(t.lineDash),e.stroke()),e.closePath()},Bb.Jb=function(){var t=this.f?this.f.Jb():"-",e=this.o?this.o.Jb():"-";return this.g&&t==this.g[1]&&e==this.g[2]&&this.b==this.g[3]&&this.i==this.g[4]&&this.l==this.g[5]&&this.a==this.g[6]||(this.g=["r"+t+e+(void 0!==this.b?this.b.toString():"-")+(void 0!==this.i?this.i.toString():"-")+(void 0!==this.l?this.l.toString():"-")+(void 0!==this.a?this.a.toString():"-"),t,e,this.b,this.i,this.l,this.a]),this.g[0]},t("ol.animation.bounce",function(t){var r=t.resolution,n=t.start?t.start:Date.now(),s=void 0!==t.duration?t.duration:1e3,p=t.easing?t.easing:ki;return function(t,e){if(e.time<n)return e.animate=!0,e.viewHints[0]+=1,!0;if(e.time<n+s){var o=p((e.time-n)/s),i=r-e.viewState.resolution;return e.animate=!0,e.viewState.resolution+=o*i,e.viewHints[0]+=1,!0}return!1}},Yb),t("ol.animation.pan",Fi,Yb),t("ol.animation.rotate",Ni,Yb),t("ol.animation.zoom",Di,Yb),t("ol.Attribution",Hi,Yb),Hi.prototype.getHTML=Hi.prototype.b,Ji.prototype.element=Ji.prototype.element,t("ol.Collection",qi,Yb),qi.prototype.clear=qi.prototype.clear,qi.prototype.extend=qi.prototype.uf,qi.prototype.forEach=qi.prototype.forEach,qi.prototype.getArray=qi.prototype.wl,qi.prototype.item=qi.prototype.item,qi.prototype.getLength=qi.prototype.$b,qi.prototype.insertAt=qi.prototype.le,qi.prototype.pop=qi.prototype.pop,qi.prototype.push=qi.prototype.push,qi.prototype.remove=qi.prototype.remove,qi.prototype.removeAt=qi.prototype.Sf,qi.prototype.setAt=qi.prototype.Jo,t("ol.coordinate.add",ce,Yb),t("ol.coordinate.createStringXY",function(e){return function(t){return we(t,e)}},Yb),t("ol.coordinate.format",ge,Yb),t("ol.coordinate.rotate",ve,Yb),t("ol.coordinate.toStringHDMS",function(t){return t?fe(t[1],"NS")+" "+fe(t[0],"EW"):""},Yb),t("ol.coordinate.toStringXY",we,Yb),t("ol.DeviceOrientation",cy,Yb),cy.prototype.getAlpha=cy.prototype.Fj,cy.prototype.getBeta=cy.prototype.Ij,cy.prototype.getGamma=cy.prototype.Oj,cy.prototype.getHeading=cy.prototype.xl,cy.prototype.getTracking=cy.prototype.Vg,cy.prototype.setTracking=cy.prototype.vf,t("ol.easing.easeIn",Ri,Yb),t("ol.easing.easeOut",Ci,Yb),t("ol.easing.inAndOut",Ii,Yb),t("ol.easing.linear",Li,Yb),t("ol.easing.upAndDown",ki,Yb),t("ol.extent.boundingExtent",Fe,Yb),t("ol.extent.buffer",De,Yb),t("ol.extent.containsCoordinate",Be,Yb),t("ol.extent.containsExtent",Ge,Yb),t("ol.extent.containsXY",Xe,Yb),t("ol.extent.createEmpty",Ye,Yb),t("ol.extent.equals",Ze,Yb),t("ol.extent.extend",He,Yb),t("ol.extent.getBottomLeft",Qe,Yb),t("ol.extent.getBottomRight",to,Yb),t("ol.extent.getCenter",eo,Yb),t("ol.extent.getHeight",io,Yb),t("ol.extent.getIntersection",ro,Yb),t("ol.extent.getSize",function(t){return[t[2]-t[0],t[3]-t[1]]},Yb),t("ol.extent.getTopLeft",no,Yb),t("ol.extent.getTopRight",so,Yb),t("ol.extent.getWidth",po,Yb),t("ol.extent.intersects",ao,Yb),t("ol.extent.isEmpty",ho,Yb),t("ol.extent.applyTransform",uo,Yb),t("ol.Feature",Ah,Yb),Ah.prototype.clone=Ah.prototype.clone,Ah.prototype.getGeometry=Ah.prototype.X,Ah.prototype.getId=Ah.prototype.Oa,Ah.prototype.getGeometryName=Ah.prototype.Qj,Ah.prototype.getStyle=Ah.prototype.zl,Ah.prototype.getStyleFunction=Ah.prototype.ac,Ah.prototype.setGeometry=Ah.prototype.Ma,Ah.prototype.setStyle=Ah.prototype.wf,Ah.prototype.setId=Ah.prototype.jc,Ah.prototype.setGeometryName=Ah.prototype.yc,t("ol.featureloader.tile",ru,Yb),t("ol.featureloader.xhr",nu,Yb),t("ol.Geolocation",cd,Yb),cd.prototype.getAccuracy=cd.prototype.Dj,cd.prototype.getAccuracyGeometry=cd.prototype.Ej,cd.prototype.getAltitude=cd.prototype.Gj,cd.prototype.getAltitudeAccuracy=cd.prototype.Hj,cd.prototype.getHeading=cd.prototype.Bl,cd.prototype.getPosition=cd.prototype.Cl,cd.prototype.getProjection=cd.prototype.Wg,cd.prototype.getSpeed=cd.prototype.lk,cd.prototype.getTracking=cd.prototype.Xg,cd.prototype.getTrackingOptions=cd.prototype.Ig,cd.prototype.setProjection=cd.prototype.Yg,cd.prototype.setTracking=cd.prototype.re,cd.prototype.setTrackingOptions=cd.prototype.hi,t("ol.Graticule",bd,Yb),bd.prototype.getMap=bd.prototype.Fl,bd.prototype.getMeridians=bd.prototype.Zj,bd.prototype.getParallels=bd.prototype.fk,bd.prototype.setMap=bd.prototype.setMap,t("ol.has.DEVICE_PIXEL_RATIO",cw,Yb),t("ol.has.CANVAS",fw,Yb),t("ol.has.DEVICE_ORIENTATION",gw,Yb),t("ol.has.GEOLOCATION",dw,Yb),t("ol.has.TOUCH",vw,Yb),t("ol.has.WEBGL",pw,Yb),xd.prototype.getImage=xd.prototype.a,Sd.prototype.getImage=Sd.prototype.Ta,t("ol.Kinetic",dp,Yb),t("ol.loadingstrategy.all",su,Yb),t("ol.loadingstrategy.bbox",function(t){return[t]},Yb),t("ol.loadingstrategy.tile",function(n){return function(t,e){var o=pn(n,e),i=rn(n,t,o),r=[];for((o=[o,0,0])[1]=i.a;o[1]<=i.c;++o[1])for(o[2]=i.f;o[2]<=i.b;++o[2])r.push(n.Aa(o));return r}},Yb),t("ol.Map",Bc,Yb),Bc.prototype.addControl=Bc.prototype.kj,Bc.prototype.addInteraction=Bc.prototype.lj,Bc.prototype.addLayer=Bc.prototype.kg,Bc.prototype.addOverlay=Bc.prototype.lg,Bc.prototype.beforeRender=Bc.prototype.Na,Bc.prototype.forEachFeatureAtPixel=Bc.prototype.pd,Bc.prototype.forEachLayerAtPixel=Bc.prototype.Jl,Bc.prototype.hasFeatureAtPixel=Bc.prototype.bl,Bc.prototype.getEventCoordinate=Bc.prototype.Mj,Bc.prototype.getEventPixel=Bc.prototype.$d,Bc.prototype.getTarget=Bc.prototype.xf,Bc.prototype.getTargetElement=Bc.prototype.Mc,Bc.prototype.getCoordinateFromPixel=Bc.prototype.Ga,Bc.prototype.getControls=Bc.prototype.Kj,Bc.prototype.getOverlays=Bc.prototype.dk,Bc.prototype.getOverlayById=Bc.prototype.ck,Bc.prototype.getInteractions=Bc.prototype.Rj,Bc.prototype.getLayerGroup=Bc.prototype.rc,Bc.prototype.getLayers=Bc.prototype.Zg,Bc.prototype.getPixelFromCoordinate=Bc.prototype.Pa,Bc.prototype.getSize=Bc.prototype.Sa,Bc.prototype.getView=Bc.prototype.aa,Bc.prototype.getViewport=Bc.prototype.sk,Bc.prototype.renderSync=Bc.prototype.Fo,Bc.prototype.render=Bc.prototype.render,Bc.prototype.removeControl=Bc.prototype.yo,Bc.prototype.removeInteraction=Bc.prototype.zo,Bc.prototype.removeLayer=Bc.prototype.Bo,Bc.prototype.removeOverlay=Bc.prototype.Co,Bc.prototype.setLayerGroup=Bc.prototype.$h,Bc.prototype.setSize=Bc.prototype.Vf,Bc.prototype.setTarget=Bc.prototype.Kl,Bc.prototype.setView=Bc.prototype.To,Bc.prototype.updateSize=Bc.prototype.Vc,js.prototype.originalEvent=js.prototype.originalEvent,js.prototype.pixel=js.prototype.pixel,js.prototype.coordinate=js.prototype.coordinate,js.prototype.dragging=js.prototype.dragging,js.prototype.preventDefault=js.prototype.preventDefault,js.prototype.stopPropagation=js.prototype.b,Xr.prototype.map=Xr.prototype.map,Xr.prototype.frameState=Xr.prototype.frameState,ie.prototype.key=ie.prototype.key,ie.prototype.oldValue=ie.prototype.oldValue,t("ol.Object",re,Yb),re.prototype.get=re.prototype.get,re.prototype.getKeys=re.prototype.P,re.prototype.getProperties=re.prototype.R,re.prototype.set=re.prototype.set,re.prototype.setProperties=re.prototype.I,re.prototype.unset=re.prototype.S,t("ol.Observable",ee,Yb),t("ol.Observable.unByKey",oe,Yb),ee.prototype.changed=ee.prototype.u,ee.prototype.dispatchEvent=ee.prototype.s,ee.prototype.getRevision=ee.prototype.L,ee.prototype.on=ee.prototype.H,ee.prototype.once=ee.prototype.M,ee.prototype.un=ee.prototype.K,ee.prototype.unByKey=ee.prototype.N,t("ol.inherits",o,Yb),t("ol.Overlay",Xc,Yb),Xc.prototype.getElement=Xc.prototype.se,Xc.prototype.getId=Xc.prototype.Oa,Xc.prototype.getMap=Xc.prototype.te,Xc.prototype.getOffset=Xc.prototype.Gg,Xc.prototype.getPosition=Xc.prototype.$g,Xc.prototype.getPositioning=Xc.prototype.Hg,Xc.prototype.setElement=Xc.prototype.Xh,Xc.prototype.setMap=Xc.prototype.setMap,Xc.prototype.setOffset=Xc.prototype.bi,Xc.prototype.setPosition=Xc.prototype.yf,Xc.prototype.setPositioning=Xc.prototype.ei,t("ol.render.toContext",function(t,e){var o=t.canvas,i=e||{},r=i.pixelRatio||cw;return(i=i.size)&&(o.width=i[0]*r,o.height=i[1]*r,o.style.width=i[0]+"px",o.style.height=i[1]+"px"),new Na(t,r,o=[0,0,o.width,o.height],i=Gs(Pe(),0,0,r,r,0,0,0),0)},Yb),t("ol.size.toSize",he,Yb),Hr.prototype.getTileCoord=Hr.prototype.g,Ml.prototype.getFormat=Ml.prototype.Ll,Ml.prototype.setLoader=Ml.prototype.ai,t("ol.View",Mi,Yb),Mi.prototype.constrainCenter=Mi.prototype.Xd,Mi.prototype.constrainResolution=Mi.prototype.constrainResolution,Mi.prototype.constrainRotation=Mi.prototype.constrainRotation,Mi.prototype.getCenter=Mi.prototype.Ua,Mi.prototype.calculateExtent=Mi.prototype.$c,Mi.prototype.getProjection=Mi.prototype.Ml,Mi.prototype.getResolution=Mi.prototype.$,Mi.prototype.getRotation=Mi.prototype.Fa,Mi.prototype.getZoom=Mi.prototype.uk,Mi.prototype.fit=Mi.prototype.kf,Mi.prototype.centerOn=Mi.prototype.uj,Mi.prototype.rotate=Mi.prototype.rotate,Mi.prototype.setCenter=Mi.prototype.kb,Mi.prototype.setResolution=Mi.prototype.Ub,Mi.prototype.setRotation=Mi.prototype.ue,Mi.prototype.setZoom=Mi.prototype.Wo,t("ol.xml.getAllTextContent",Al,Yb),t("ol.xml.parse",Kl,Yb),Qu.prototype.getGL=Qu.prototype.Gn,Qu.prototype.useProgram=Qu.prototype.He,t("ol.tilegrid.TileGrid",Qr,Yb),Qr.prototype.getMaxZoom=Qr.prototype.Eg,Qr.prototype.getMinZoom=Qr.prototype.Fg,Qr.prototype.getOrigin=Qr.prototype.Da,Qr.prototype.getResolution=Qr.prototype.$,Qr.prototype.getResolutions=Qr.prototype.zh,Qr.prototype.getTileCoordExtent=Qr.prototype.Aa,Qr.prototype.getTileCoordForCoordAndResolution=Qr.prototype.fe,Qr.prototype.getTileCoordForCoordAndZ=Qr.prototype.ge,Qr.prototype.getTileSize=Qr.prototype.Ka,t("ol.tilegrid.createXYZ",ln,Yb),t("ol.tilegrid.WMTS",Ab,Yb),Ab.prototype.getMatrixIds=Ab.prototype.o,t("ol.tilegrid.WMTS.createFromCapabilitiesMatrixSet",Rb,Yb),t("ol.style.AtlasManager",Fb,Yb),t("ol.style.Circle",Ea,Yb),Ea.prototype.getFill=Ea.prototype.en,Ea.prototype.getImage=Ea.prototype.gc,Ea.prototype.getRadius=Ea.prototype.fn,Ea.prototype.getStroke=Ea.prototype.gn,t("ol.style.Fill",wa,Yb),wa.prototype.getColor=wa.prototype.b,wa.prototype.setColor=wa.prototype.c,t("ol.style.Icon",Qs,Yb),Qs.prototype.getAnchor=Qs.prototype.Xb,Qs.prototype.getImage=Qs.prototype.gc,Qs.prototype.getOrigin=Qs.prototype.Da,Qs.prototype.getSrc=Qs.prototype.hn,Qs.prototype.getSize=Qs.prototype.Cb,Qs.prototype.load=Qs.prototype.load,t("ol.style.Image",_s,Yb),_s.prototype.getOpacity=_s.prototype.Be,_s.prototype.getRotateWithView=_s.prototype.de,_s.prototype.getRotation=_s.prototype.Ce,_s.prototype.getScale=_s.prototype.De,_s.prototype.getSnapToPixel=_s.prototype.ee,_s.prototype.setOpacity=_s.prototype.Ee,_s.prototype.setRotation=_s.prototype.Fe,_s.prototype.setScale=_s.prototype.Ge,t("ol.style.RegularShape",Ub,Yb),Ub.prototype.getAnchor=Ub.prototype.Xb,Ub.prototype.getAngle=Ub.prototype.jn,Ub.prototype.getFill=Ub.prototype.kn,Ub.prototype.getImage=Ub.prototype.gc,Ub.prototype.getOrigin=Ub.prototype.Da,Ub.prototype.getPoints=Ub.prototype.ln,Ub.prototype.getRadius=Ub.prototype.mn,Ub.prototype.getRadius2=Ub.prototype.jk,Ub.prototype.getSize=Ub.prototype.Cb,Ub.prototype.getStroke=Ub.prototype.nn,t("ol.style.Stroke",Ta,Yb),Ta.prototype.getColor=Ta.prototype.pn,Ta.prototype.getLineCap=Ta.prototype.Uj,Ta.prototype.getLineDash=Ta.prototype.qn,Ta.prototype.getLineJoin=Ta.prototype.Vj,Ta.prototype.getMiterLimit=Ta.prototype.$j,Ta.prototype.getWidth=Ta.prototype.rn,Ta.prototype.setColor=Ta.prototype.sn,Ta.prototype.setLineCap=Ta.prototype.Oo,Ta.prototype.setLineDash=Ta.prototype.tn,Ta.prototype.setLineJoin=Ta.prototype.Po,Ta.prototype.setMiterLimit=Ta.prototype.Qo,Ta.prototype.setWidth=Ta.prototype.Uo,t("ol.style.Style",ja,Yb),ja.prototype.getGeometry=ja.prototype.X,ja.prototype.getGeometryFunction=ja.prototype.Pj,ja.prototype.getFill=ja.prototype.vn,ja.prototype.getImage=ja.prototype.wn,ja.prototype.getStroke=ja.prototype.xn,ja.prototype.getText=ja.prototype.Ca,ja.prototype.getZIndex=ja.prototype.yn,ja.prototype.setGeometry=ja.prototype.yh,ja.prototype.setZIndex=ja.prototype.zn,t("ol.style.Text",Kf,Yb),Kf.prototype.getFont=Kf.prototype.Nj,Kf.prototype.getOffsetX=Kf.prototype.ak,Kf.prototype.getOffsetY=Kf.prototype.bk,Kf.prototype.getFill=Kf.prototype.An,Kf.prototype.getRotation=Kf.prototype.Bn,Kf.prototype.getScale=Kf.prototype.Cn,Kf.prototype.getStroke=Kf.prototype.Dn,Kf.prototype.getText=Kf.prototype.Ca,Kf.prototype.getTextAlign=Kf.prototype.nk,Kf.prototype.getTextBaseline=Kf.prototype.pk,Kf.prototype.setFont=Kf.prototype.Lo,Kf.prototype.setOffsetX=Kf.prototype.ci,Kf.prototype.setOffsetY=Kf.prototype.di,Kf.prototype.setFill=Kf.prototype.Ko,Kf.prototype.setRotation=Kf.prototype.En,Kf.prototype.setScale=Kf.prototype.Fn,Kf.prototype.setStroke=Kf.prototype.Ro,Kf.prototype.setText=Kf.prototype.fi,Kf.prototype.setTextAlign=Kf.prototype.gi,Kf.prototype.setTextBaseline=Kf.prototype.So,t("ol.Sphere",bo,Yb),bo.prototype.geodesicArea=bo.prototype.f,bo.prototype.haversineDistance=bo.prototype.a,t("ol.source.BingMaps",$v,Yb),t("ol.source.BingMaps.TOS_ATTRIBUTION",gT,Yb),t("ol.source.Cluster",_v,Yb),_v.prototype.getSource=_v.prototype.ga,t("ol.source.ImageCanvas",jh,Yb),t("ol.source.ImageMapGuide",eb,Yb),eb.prototype.getParams=eb.prototype.Hm,eb.prototype.getImageLoadFunction=eb.prototype.Gm,eb.prototype.updateParams=eb.prototype.Jm,eb.prototype.setImageLoadFunction=eb.prototype.Im,t("ol.source.Image",Mh,Yb),Eh.prototype.image=Eh.prototype.image,t("ol.source.ImageStatic",ob,Yb),t("ol.source.ImageVector",xu,Yb),xu.prototype.getSource=xu.prototype.Km,xu.prototype.getStyle=xu.prototype.Lm,xu.prototype.getStyleFunction=xu.prototype.Mm,xu.prototype.setStyle=xu.prototype.ph,t("ol.source.ImageWMS",ib,Yb),ib.prototype.getGetFeatureInfoUrl=ib.prototype.Pm,ib.prototype.getParams=ib.prototype.Rm,ib.prototype.getImageLoadFunction=ib.prototype.Qm,ib.prototype.getUrl=ib.prototype.Sm,ib.prototype.setImageLoadFunction=ib.prototype.Tm,ib.prototype.setUrl=ib.prototype.Um,ib.prototype.updateParams=ib.prototype.Vm,t("ol.source.MapQuest",ab,Yb),ab.prototype.getLayer=ab.prototype.l,t("ol.source.OSM",pb,Yb),t("ol.source.OSM.ATTRIBUTION",vT,Yb),t("ol.source.Raster",hb,Yb),hb.prototype.setOperation=hb.prototype.v,yb.prototype.extent=yb.prototype.extent,yb.prototype.resolution=yb.prototype.resolution,yb.prototype.data=yb.prototype.data,t("ol.source.Source",qr,Yb),qr.prototype.getAttributions=qr.prototype.sa,qr.prototype.getLogo=qr.prototype.qa,qr.prototype.getProjection=qr.prototype.ta,qr.prototype.getState=qr.prototype.ua,qr.prototype.setAttributions=qr.prototype.ma,t("ol.source.Stamen",fb,Yb),t("ol.source.TileArcGISRest",gb,Yb),gb.prototype.getParams=gb.prototype.C,gb.prototype.updateParams=gb.prototype.V,t("ol.source.TileDebug",vb,Yb),t("ol.source.TileImage",Zv,Yb),Zv.prototype.setRenderReprojectionEdges=Zv.prototype.vb,Zv.prototype.setTileGridForProjection=Zv.prototype.wb,t("ol.source.TileJSON",bb,Yb),t("ol.source.Tile",yn,Yb),yn.prototype.getTileGrid=yn.prototype.Ha,dn.prototype.tile=dn.prototype.tile,t("ol.source.TileUTFGrid",mb,Yb),mb.prototype.getTemplate=mb.prototype.mk,mb.prototype.forDataAtCoordinateAndResolution=mb.prototype.zj,t("ol.source.TileWMS",Pb,Yb),Pb.prototype.getGetFeatureInfoUrl=Pb.prototype.Ym,Pb.prototype.getParams=Pb.prototype.Zm,Pb.prototype.updateParams=Pb.prototype.an,Iu.prototype.getTileLoadFunction=Iu.prototype.Xa,Iu.prototype.getTileUrlFunction=Iu.prototype.Ya,Iu.prototype.getUrls=Iu.prototype.Za,Iu.prototype.setTileLoadFunction=Iu.prototype.eb,Iu.prototype.setTileUrlFunction=Iu.prototype.Ja,Iu.prototype.setUrl=Iu.prototype.Va,Iu.prototype.setUrls=Iu.prototype.Wa,t("ol.source.Vector",yu,Yb),yu.prototype.addFeature=yu.prototype.Bd,yu.prototype.addFeatures=yu.prototype.Ec,yu.prototype.clear=yu.prototype.clear,yu.prototype.forEachFeature=yu.prototype.sg,yu.prototype.forEachFeatureInExtent=yu.prototype.pb,yu.prototype.forEachFeatureIntersectingExtent=yu.prototype.tg,yu.prototype.getFeaturesCollection=yu.prototype.zg,yu.prototype.getFeatures=yu.prototype.ze,yu.prototype.getFeaturesAtCoordinate=yu.prototype.yg,yu.prototype.getFeaturesInExtent=yu.prototype.mf,yu.prototype.getClosestFeatureToCoordinate=yu.prototype.vg,yu.prototype.getExtent=yu.prototype.J,yu.prototype.getFeatureById=yu.prototype.xg,yu.prototype.removeFeature=yu.prototype.Rc,wu.prototype.feature=wu.prototype.feature,t("ol.source.VectorTile",Lu,Yb),t("ol.source.WMTS",Cb,Yb),Cb.prototype.getDimensions=Cb.prototype.Lj,Cb.prototype.getFormat=Cb.prototype.bn,Cb.prototype.getLayer=Cb.prototype.cn,Cb.prototype.getMatrixSet=Cb.prototype.Yj,Cb.prototype.getRequestEncoding=Cb.prototype.kk,Cb.prototype.getStyle=Cb.prototype.dn,Cb.prototype.getVersion=Cb.prototype.rk,Cb.prototype.updateDimensions=Cb.prototype.cp,t("ol.source.WMTS.optionsFromCapabilities",function(t,o){var e,i,r=D(t.Contents.Layer,function(t){return t.Identifier==o.layer}),n=t.Contents.TileMatrixSet;(e=1<r.TileMatrixSetLink.length?O(r.TileMatrixSetLink,"projection"in o?function(e){return D(n,function(t){return t.Identifier==e.TileMatrixSet}).SupportedCRS.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3")==o.projection}:function(t){return t.TileMatrixSet==o.matrixSet}):0)<0&&(e=0),i=r.TileMatrixSetLink[e].TileMatrixSet;var s=r.Format[0];"format"in o&&(s=o.format),(e=O(r.Style,function(t){return"style"in o?t.Title==o.style:t.isDefault}))<0&&(e=0),e=r.Style[e].Identifier;var p={};"Dimension"in r&&r.Dimension.forEach(function(t){var e=t.Identifier,o=t.Default;void 0===o&&(o=t.Value[0]),p[e]=o});var a,h,l,u=D(t.Contents.TileMatrixSet,function(t){return t.Identifier==i});a=Ro("projection"in o?o.projection:u.SupportedCRS.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3")),void 0!==(y=r.WGS84BoundingBox)&&(l=Ro("EPSG:4326").J(),l=y[0]==l[0]&&y[2]==l[2],h=Do(y,"EPSG:4326",a),(y=a.J())&&(Ge(y,h)||(h=void 0)));u=Rb(u,h);var c=[];if(h=void 0!==(h=o.requestEncoding)?h:"",t.hasOwnProperty("OperationsMetadata")&&t.OperationsMetadata.hasOwnProperty("GetTile")&&0!==h.indexOf("REST"))for(var y=0,f=(r=t.OperationsMetadata.GetTile.DCP.HTTP.Get).length;y<f;++y){var g=D(r[y].Constraint,function(t){return"GetEncoding"==t.name}).AllowedValues.Value;0<g.length&&$(g,"KVP")&&(h="KVP",c.push(r[y].href))}else h="REST",r.ResourceURL.forEach(function(t){"tile"==t.resourceType&&(s=t.format,c.push(t.template))});return{urls:c,layer:o.layer,matrixSet:i,format:s,projection:a,requestEncoding:h,tileGrid:u,style:e,dimensions:p,wrapX:l}},Yb),t("ol.source.XYZ",sb,Yb),t("ol.source.Zoomify",Lb,Yb),Ns.prototype.vectorContext=Ns.prototype.vectorContext,Ns.prototype.frameState=Ns.prototype.frameState,Ns.prototype.context=Ns.prototype.context,Ns.prototype.glContext=Ns.prototype.glContext,lh.prototype.get=lh.prototype.get,
  lh.prototype.getExtent=lh.prototype.J,lh.prototype.getGeometry=lh.prototype.X,lh.prototype.getProperties=lh.prototype.Cm,lh.prototype.getType=lh.prototype.W,t("ol.render.VectorContext",Fs,Yb),wc.prototype.drawAsync=wc.prototype.md,wc.prototype.drawCircleGeometry=wc.prototype.Gc,wc.prototype.drawFeature=wc.prototype.jf,wc.prototype.drawGeometryCollectionGeometry=wc.prototype.Yd,wc.prototype.drawPointGeometry=wc.prototype.Hb,wc.prototype.drawLineStringGeometry=wc.prototype.Wb,wc.prototype.drawMultiLineStringGeometry=wc.prototype.Hc,wc.prototype.drawMultiPointGeometry=wc.prototype.Gb,wc.prototype.drawMultiPolygonGeometry=wc.prototype.Ic,wc.prototype.drawPolygonGeometry=wc.prototype.Jc,wc.prototype.drawText=wc.prototype.Ib,wc.prototype.setFillStrokeStyle=wc.prototype.bb,wc.prototype.setImageStyle=wc.prototype.ub,wc.prototype.setTextStyle=wc.prototype.cb,Na.prototype.drawAsync=Na.prototype.md,Na.prototype.drawCircleGeometry=Na.prototype.Gc,Na.prototype.drawFeature=Na.prototype.jf,Na.prototype.drawPointGeometry=Na.prototype.Hb,Na.prototype.drawMultiPointGeometry=Na.prototype.Gb,Na.prototype.drawLineStringGeometry=Na.prototype.Wb,Na.prototype.drawMultiLineStringGeometry=Na.prototype.Hc,Na.prototype.drawPolygonGeometry=Na.prototype.Jc,Na.prototype.drawMultiPolygonGeometry=Na.prototype.Ic,Na.prototype.setFillStrokeStyle=Na.prototype.bb,Na.prototype.setImageStyle=Na.prototype.ub,Na.prototype.setTextStyle=Na.prototype.cb,t("ol.proj.common.add",va,Yb),t("ol.proj.METERS_PER_UNIT",Um,Yb),t("ol.proj.Projection",mo,Yb),mo.prototype.getCode=mo.prototype.Jj,mo.prototype.getExtent=mo.prototype.J,mo.prototype.getUnits=mo.prototype.Am,mo.prototype.getMetersPerUnit=mo.prototype.Kc,mo.prototype.getWorldExtent=mo.prototype.tk,mo.prototype.isGlobal=mo.prototype.gl,mo.prototype.setGlobal=mo.prototype.No,mo.prototype.setExtent=mo.prototype.Bm,mo.prototype.setWorldExtent=mo.prototype.Vo,mo.prototype.setGetPointResolution=mo.prototype.Mo,mo.prototype.getPointResolution=mo.prototype.getPointResolution,t("ol.proj.addEquivalentProjections",xo,Yb),t("ol.proj.addProjection",Mo,Yb),t("ol.proj.addCoordinateTransforms",jo,Yb),t("ol.proj.fromLonLat",function(t,e){return No(t,"EPSG:4326",void 0!==e?e:"EPSG:3857")},Yb),t("ol.proj.toLonLat",function(t,e){return No(t,void 0!==e?e:"EPSG:3857","EPSG:4326")},Yb),t("ol.proj.get",Ro,Yb),t("ol.proj.getTransform",Io,Yb),t("ol.proj.transform",No,Yb),t("ol.proj.transformExtent",Do,Yb),t("ol.layer.Heatmap",Fv,Yb),Fv.prototype.getBlur=Fv.prototype.ug,Fv.prototype.getGradient=Fv.prototype.Bg,Fv.prototype.getRadius=Fv.prototype.jh,Fv.prototype.setBlur=Fv.prototype.Vh,Fv.prototype.setGradient=Fv.prototype.Zh,Fv.prototype.setRadius=Fv.prototype.kh,t("ol.layer.Image",ba,Yb),ba.prototype.getSource=ba.prototype.ea,t("ol.layer.Layer",Ds,Yb),Ds.prototype.getSource=Ds.prototype.ea,Ds.prototype.setMap=Ds.prototype.setMap,Ds.prototype.setSource=Ds.prototype.zc,t("ol.layer.Base",Ls,Yb),Ls.prototype.getExtent=Ls.prototype.J,Ls.prototype.getMaxResolution=Ls.prototype.Nb,Ls.prototype.getMinResolution=Ls.prototype.Ob,Ls.prototype.getOpacity=Ls.prototype.Rb,Ls.prototype.getVisible=Ls.prototype.rb,Ls.prototype.getZIndex=Ls.prototype.Sb,Ls.prototype.setExtent=Ls.prototype.cc,Ls.prototype.setMaxResolution=Ls.prototype.kc,Ls.prototype.setMinResolution=Ls.prototype.lc,Ls.prototype.setOpacity=Ls.prototype.dc,Ls.prototype.setVisible=Ls.prototype.ec,Ls.prototype.setZIndex=Ls.prototype.fc,t("ol.layer.Group",ca,Yb),ca.prototype.getLayers=ca.prototype.Qc,ca.prototype.setLayers=ca.prototype.ih,t("ol.layer.Tile",ma,Yb),ma.prototype.getPreload=ma.prototype.a,ma.prototype.getSource=ma.prototype.ea,ma.prototype.setPreload=ma.prototype.c,ma.prototype.getUseInterimTilesOnError=ma.prototype.b,ma.prototype.setUseInterimTilesOnError=ma.prototype.g,t("ol.layer.Vector",La,Yb),La.prototype.getSource=La.prototype.ea,La.prototype.getStyle=La.prototype.C,La.prototype.getStyleFunction=La.prototype.D,La.prototype.setStyle=La.prototype.c,t("ol.layer.VectorTile",Fa,Yb),Fa.prototype.getPreload=Fa.prototype.g,Fa.prototype.getSource=Fa.prototype.ea,Fa.prototype.getUseInterimTilesOnError=Fa.prototype.U,Fa.prototype.setPreload=Fa.prototype.T,Fa.prototype.setUseInterimTilesOnError=Fa.prototype.V,t("ol.interaction.DoubleClickZoom",Sp,Yb),t("ol.interaction.DoubleClickZoom.handleEvent",Mp,Yb),t("ol.interaction.DragAndDrop",Bd,Yb),t("ol.interaction.DragAndDrop.handleEvent",Nm,Yb),Gd.prototype.features=Gd.prototype.features,Gd.prototype.file=Gd.prototype.file,Gd.prototype.projection=Gd.prototype.projection,Wp.prototype.coordinate=Wp.prototype.coordinate,t("ol.interaction.DragBox",zp,Yb),zp.prototype.getGeometry=zp.prototype.X,t("ol.interaction.DragPan",Fp,Yb),t("ol.interaction.DragRotateAndZoom",Kd,Yb),t("ol.interaction.DragRotate",Up,Yb),t("ol.interaction.DragZoom",qp,Yb),zd.prototype.feature=zd.prototype.feature,t("ol.interaction.Draw",Zd,Yb),t("ol.interaction.Draw.handleEvent",Jd,Yb),Zd.prototype.removeLastPoint=Zd.prototype.Ao,Zd.prototype.finishDrawing=Zd.prototype.od,Zd.prototype.extend=Zd.prototype.fm,t("ol.interaction.Draw.createRegularPolygon",function(s,p){return function(t,e){var o=t[0],i=t[1],r=Math.sqrt(be(o,i)),n=e||xi(new yd(o),s);return Si(n,o,r,p||Math.atan((i[1]-o[1])/(i[0]-o[0]))),n}},Yb),t("ol.interaction.Interaction",bp,Yb),bp.prototype.getActive=bp.prototype.b,bp.prototype.getMap=bp.prototype.i,bp.prototype.setActive=bp.prototype.g,t("ol.interaction.defaults",ua,Yb),t("ol.interaction.KeyboardPan",$p,Yb),t("ol.interaction.KeyboardPan.handleEvent",_p,Yb),t("ol.interaction.KeyboardZoom",Qp,Yb),t("ol.interaction.KeyboardZoom.handleEvent",ta,Yb),nv.prototype.features=nv.prototype.features,nv.prototype.mapBrowserPointerEvent=nv.prototype.mapBrowserPointerEvent,t("ol.interaction.Modify",sv,Yb),t("ol.interaction.Modify.handleEvent",gv,Yb),t("ol.interaction.MouseWheelZoom",ea,Yb),t("ol.interaction.MouseWheelZoom.handleEvent",oa,Yb),ea.prototype.setMouseAnchor=ea.prototype.D,t("ol.interaction.PinchRotate",ia,Yb),t("ol.interaction.PinchZoom",pa,Yb),t("ol.interaction.Pointer",Ip,Yb),t("ol.interaction.Pointer.handleEvent",kp,Yb),mv.prototype.selected=mv.prototype.selected,mv.prototype.deselected=mv.prototype.deselected,mv.prototype.mapBrowserEvent=mv.prototype.mapBrowserEvent,t("ol.interaction.Select",wv,Yb),wv.prototype.getFeatures=wv.prototype.pm,wv.prototype.getLayer=wv.prototype.qm,t("ol.interaction.Select.handleEvent",xv,Yb),wv.prototype.setMap=wv.prototype.setMap,t("ol.interaction.Snap",Mv,Yb),Mv.prototype.addFeature=Mv.prototype.xd,Mv.prototype.removeFeature=Mv.prototype.yd,jv.prototype.features=jv.prototype.features,jv.prototype.coordinate=jv.prototype.coordinate,t("ol.interaction.Translate",Av,Yb),t("ol.geom.Circle",yd,Yb),yd.prototype.clone=yd.prototype.clone,yd.prototype.getCenter=yd.prototype.wd,yd.prototype.getRadius=yd.prototype.zf,yd.prototype.getType=yd.prototype.W,yd.prototype.intersectsExtent=yd.prototype.Ea,yd.prototype.setCenter=yd.prototype.Yl,yd.prototype.setCenterAndRadius=yd.prototype.Uf,yd.prototype.setRadius=yd.prototype.Zl,yd.prototype.transform=yd.prototype.lb,t("ol.geom.Geometry",Oo,Yb),Oo.prototype.getClosestPoint=Oo.prototype.qb,Oo.prototype.getExtent=Oo.prototype.J,Oo.prototype.simplify=Oo.prototype.xb,Oo.prototype.transform=Oo.prototype.lb,t("ol.geom.GeometryCollection",Uy,Yb),Uy.prototype.clone=Uy.prototype.clone,Uy.prototype.getGeometries=Uy.prototype.Ag,Uy.prototype.getType=Uy.prototype.W,Uy.prototype.intersectsExtent=Uy.prototype.Ea,Uy.prototype.setGeometries=Uy.prototype.Yh,Uy.prototype.applyTransform=Uy.prototype.pc,Uy.prototype.translate=Uy.prototype.Pc,t("ol.geom.LinearRing",ii,Yb),ii.prototype.clone=ii.prototype.clone,ii.prototype.getArea=ii.prototype.bm,ii.prototype.getCoordinates=ii.prototype.Z,ii.prototype.getType=ii.prototype.W,ii.prototype.setCoordinates=ii.prototype.la,t("ol.geom.LineString",Sy,Yb),Sy.prototype.appendCoordinate=Sy.prototype.mj,Sy.prototype.clone=Sy.prototype.clone,Sy.prototype.forEachSegment=Sy.prototype.Cj,Sy.prototype.getCoordinateAtM=Sy.prototype.$l,Sy.prototype.getCoordinates=Sy.prototype.Z,Sy.prototype.getLength=Sy.prototype.am,Sy.prototype.getType=Sy.prototype.W,Sy.prototype.intersectsExtent=Sy.prototype.Ea,Sy.prototype.setCoordinates=Sy.prototype.la,t("ol.geom.MultiLineString",Py,Yb),Py.prototype.appendLineString=Py.prototype.nj,Py.prototype.clone=Py.prototype.clone,Py.prototype.getCoordinateAtM=Py.prototype.cm,Py.prototype.getCoordinates=Py.prototype.Z,Py.prototype.getLineString=Py.prototype.Wj,Py.prototype.getLineStrings=Py.prototype.sd,Py.prototype.getType=Py.prototype.W,Py.prototype.intersectsExtent=Py.prototype.Ea,Py.prototype.setCoordinates=Py.prototype.la,t("ol.geom.MultiPoint",jy,Yb),jy.prototype.appendPoint=jy.prototype.pj,jy.prototype.clone=jy.prototype.clone,jy.prototype.getCoordinates=jy.prototype.Z,jy.prototype.getPoint=jy.prototype.gk,jy.prototype.getPoints=jy.prototype.ve,jy.prototype.getType=jy.prototype.W,jy.prototype.intersectsExtent=jy.prototype.Ea,jy.prototype.setCoordinates=jy.prototype.la,t("ol.geom.MultiPolygon",Ay,Yb),Ay.prototype.appendPolygon=Ay.prototype.qj,Ay.prototype.clone=Ay.prototype.clone,Ay.prototype.getArea=Ay.prototype.dm,Ay.prototype.getCoordinates=Ay.prototype.Z,Ay.prototype.getInteriorPoints=Ay.prototype.Tj,Ay.prototype.getPolygon=Ay.prototype.ik,Ay.prototype.getPolygons=Ay.prototype.ce,Ay.prototype.getType=Ay.prototype.W,Ay.prototype.intersectsExtent=Ay.prototype.Ea,Ay.prototype.setCoordinates=Ay.prototype.la,t("ol.geom.Point",ni,Yb),ni.prototype.clone=ni.prototype.clone,ni.prototype.getCoordinates=ni.prototype.Z,ni.prototype.getType=ni.prototype.W,ni.prototype.intersectsExtent=ni.prototype.Ea,ni.prototype.setCoordinates=ni.prototype.la,t("ol.geom.Polygon",vi,Yb),vi.prototype.appendLinearRing=vi.prototype.oj,vi.prototype.clone=vi.prototype.clone,vi.prototype.getArea=vi.prototype.em,vi.prototype.getCoordinates=vi.prototype.Z,vi.prototype.getInteriorPoint=vi.prototype.Sj,vi.prototype.getLinearRingCount=vi.prototype.Xj,vi.prototype.getLinearRing=vi.prototype.Dg,vi.prototype.getLinearRings=vi.prototype.be,vi.prototype.getType=vi.prototype.W,vi.prototype.intersectsExtent=vi.prototype.Ea,vi.prototype.setCoordinates=vi.prototype.la,t("ol.geom.Polygon.circular",mi,Yb),t("ol.geom.Polygon.fromExtent",wi,Yb),t("ol.geom.Polygon.fromCircle",xi,Yb),t("ol.geom.SimpleGeometry",Bo,Yb),Bo.prototype.getFirstCoordinate=Bo.prototype.Kb,Bo.prototype.getLastCoordinate=Bo.prototype.Lb,Bo.prototype.getLayout=Bo.prototype.Mb,Bo.prototype.applyTransform=Bo.prototype.pc,Bo.prototype.translate=Bo.prototype.Pc,t("ol.format.EsriJSON",ky,Yb),ky.prototype.readFeature=ky.prototype.Tb,ky.prototype.readFeatures=ky.prototype.Ba,ky.prototype.readGeometry=ky.prototype.Tc,ky.prototype.readProjection=ky.prototype.Ia,ky.prototype.writeGeometry=ky.prototype.Xc,ky.prototype.writeGeometryObject=ky.prototype.Ue,ky.prototype.writeFeature=ky.prototype.Kd,ky.prototype.writeFeatureObject=ky.prototype.Wc,ky.prototype.writeFeatures=ky.prototype.Vb,ky.prototype.writeFeaturesObject=ky.prototype.Se,t("ol.format.Feature",yy,Yb),t("ol.format.GeoJSON",Ky,Yb),Ky.prototype.readFeature=Ky.prototype.Tb,Ky.prototype.readFeatures=Ky.prototype.Ba,Ky.prototype.readGeometry=Ky.prototype.Tc,Ky.prototype.readProjection=Ky.prototype.Ia,Ky.prototype.writeFeature=Ky.prototype.Kd,Ky.prototype.writeFeatureObject=Ky.prototype.Wc,Ky.prototype.writeFeatures=Ky.prototype.Vb,Ky.prototype.writeFeaturesObject=Ky.prototype.Se,Ky.prototype.writeGeometry=Ky.prototype.Xc,Ky.prototype.writeGeometryObject=Ky.prototype.Ue,t("ol.format.GPX",uf,Yb),uf.prototype.readFeature=uf.prototype.Tb,uf.prototype.readFeatures=uf.prototype.Ba,uf.prototype.readProjection=uf.prototype.Ia,uf.prototype.writeFeatures=uf.prototype.Vb,uf.prototype.writeFeaturesNode=uf.prototype.f,t("ol.format.IGC",Ef,Yb),Ef.prototype.readFeature=Ef.prototype.Tb,Ef.prototype.readFeatures=Ef.prototype.Ba,Ef.prototype.readProjection=Ef.prototype.Ia,t("ol.format.KML",Yf,Yb),Yf.prototype.readFeature=Yf.prototype.Tb,Yf.prototype.readFeatures=Yf.prototype.Ba,Yf.prototype.readName=Yf.prototype.po,Yf.prototype.readNetworkLinks=Yf.prototype.qo,Yf.prototype.readProjection=Yf.prototype.Ia,Yf.prototype.writeFeatures=Yf.prototype.Vb,Yf.prototype.writeFeaturesNode=Yf.prototype.f,t("ol.format.MVT",wg,Yb),wg.prototype.setLayers=wg.prototype.g,t("ol.format.OSMXML",Sg,Yb),Sg.prototype.readFeatures=Sg.prototype.Ba,Sg.prototype.readProjection=Sg.prototype.Ia,t("ol.format.Polyline",Ag,Yb),t("ol.format.Polyline.encodeDeltas",Rg,Yb),t("ol.format.Polyline.decodeDeltas",Cg,Yb),t("ol.format.Polyline.encodeFloats",Ig,Yb),t("ol.format.Polyline.decodeFloats",Lg,Yb),Ag.prototype.readFeature=Ag.prototype.Tb,Ag.prototype.readFeatures=Ag.prototype.Ba,Ag.prototype.readGeometry=Ag.prototype.Tc,Ag.prototype.readProjection=Ag.prototype.Ia,Ag.prototype.writeGeometry=Ag.prototype.Xc,t("ol.format.TopoJSON",kg,Yb),kg.prototype.readFeatures=kg.prototype.Ba,kg.prototype.readProjection=kg.prototype.Ia,t("ol.format.WFS",Ug,Yb),Ug.prototype.readFeatures=Ug.prototype.Ba,Ug.prototype.readTransactionResponse=Ug.prototype.j,Ug.prototype.readFeatureCollectionMetadata=Ug.prototype.i,Ug.prototype.writeGetFeature=Ug.prototype.l,Ug.prototype.writeTransaction=Ug.prototype.B,Ug.prototype.readProjection=Ug.prototype.Ia,t("ol.format.WKT",Yg,Yb),Yg.prototype.readFeature=Yg.prototype.Tb,Yg.prototype.readFeatures=Yg.prototype.Ba,Yg.prototype.readGeometry=Yg.prototype.Tc,Yg.prototype.writeFeature=Yg.prototype.Kd,Yg.prototype.writeFeatures=Yg.prototype.Vb,Yg.prototype.writeGeometry=Yg.prototype.Xc,t("ol.format.WMSCapabilities",rd,Yb),rd.prototype.read=rd.prototype.read,t("ol.format.WMSGetFeatureInfo",hd,Yb),hd.prototype.readFeatures=hd.prototype.Ba,t("ol.format.WMTSCapabilities",ld,Yb),ld.prototype.read=ld.prototype.read,t("ol.format.GML2",af,Yb),t("ol.format.GML3",hf,Yb),hf.prototype.writeGeometryNode=hf.prototype.o,hf.prototype.writeFeatures=hf.prototype.Vb,hf.prototype.writeFeaturesNode=hf.prototype.f,t("ol.format.GML",hf,Yb),hf.prototype.writeFeatures=hf.prototype.Vb,hf.prototype.writeFeaturesNode=hf.prototype.f,Hy.prototype.readFeatures=Hy.prototype.Ba,t("ol.events.condition.altKeyOnly",function(t){return(t=t.a).f&&!t.l&&!t.c},Yb),t("ol.events.condition.altShiftKeysOnly",Pp,Yb),t("ol.events.condition.always",Nm,Yb),t("ol.events.condition.click",function(t){return t.type==kw},Yb),t("ol.events.condition.never",Fm,Yb),t("ol.events.condition.pointerMove",Tp,Yb),t("ol.events.condition.singleClick",Ep,Yb),t("ol.events.condition.doubleClick",function(t){return t.type==Fw},Yb),t("ol.events.condition.noModifierKeys",jp,Yb),t("ol.events.condition.platformModifierKeyOnly",function(t){return!(t=t.a).f&&t.l&&!t.c},Yb),t("ol.events.condition.shiftKeyOnly",Ap,Yb),t("ol.events.condition.targetNotEditable",Rp,Yb),t("ol.events.condition.mouseOnly",Cp,Yb),t("ol.control.Attribution",vn,Yb),t("ol.control.Attribution.render",bn,Yb),vn.prototype.getCollapsible=vn.prototype.Ol,vn.prototype.setCollapsible=vn.prototype.Rl,vn.prototype.setCollapsed=vn.prototype.Ql,vn.prototype.getCollapsed=vn.prototype.Nl,t("ol.control.Control",Kr,Yb),Kr.prototype.getMap=Kr.prototype.g,Kr.prototype.setMap=Kr.prototype.setMap,Kr.prototype.setTarget=Kr.prototype.c,t("ol.control.defaults",Mn,Yb),t("ol.control.FullScreen",jn,Yb),t("ol.control.MousePosition",An,Yb),t("ol.control.MousePosition.render",Rn,Yb),An.prototype.getCoordinateFormat=An.prototype.wg,An.prototype.getProjection=An.prototype.ah,An.prototype.setCoordinateFormat=An.prototype.Wh,An.prototype.setProjection=An.prototype.bh,t("ol.control.OverviewMap",Wc,Yb),t("ol.control.OverviewMap.render",zc,Yb),Wc.prototype.getCollapsible=Wc.prototype.Ul,Wc.prototype.setCollapsible=Wc.prototype.Xl,Wc.prototype.setCollapsed=Wc.prototype.Wl,Wc.prototype.getCollapsed=Wc.prototype.Tl,Wc.prototype.getOverviewMap=Wc.prototype.ek,t("ol.control.Rotate",wn,Yb),t("ol.control.Rotate.render",xn,Yb),t("ol.control.ScaleLine",qc,Yb),qc.prototype.getUnits=qc.prototype.D,t("ol.control.ScaleLine.render",$c,Yb),qc.prototype.setUnits=qc.prototype.T,t("ol.control.Zoom",Sn,Yb),t("ol.control.ZoomSlider",py,Yb),t("ol.control.ZoomSlider.render",ay,Yb),t("ol.control.ZoomToExtent",uy,Yb),t("ol.color.asArray",_i,Yb),t("ol.color.asString",Qi,Yb),re.prototype.changed=re.prototype.u,re.prototype.dispatchEvent=re.prototype.s,re.prototype.getRevision=re.prototype.L,re.prototype.on=re.prototype.H,re.prototype.once=re.prototype.M,re.prototype.un=re.prototype.K,re.prototype.unByKey=re.prototype.N,qi.prototype.get=qi.prototype.get,qi.prototype.getKeys=qi.prototype.P,qi.prototype.getProperties=qi.prototype.R,qi.prototype.set=qi.prototype.set,qi.prototype.setProperties=qi.prototype.I,qi.prototype.unset=qi.prototype.S,qi.prototype.changed=qi.prototype.u,qi.prototype.dispatchEvent=qi.prototype.s,qi.prototype.getRevision=qi.prototype.L,qi.prototype.on=qi.prototype.H,qi.prototype.once=qi.prototype.M,qi.prototype.un=qi.prototype.K,qi.prototype.unByKey=qi.prototype.N,cy.prototype.get=cy.prototype.get,cy.prototype.getKeys=cy.prototype.P,cy.prototype.getProperties=cy.prototype.R,cy.prototype.set=cy.prototype.set,cy.prototype.setProperties=cy.prototype.I,cy.prototype.unset=cy.prototype.S,cy.prototype.changed=cy.prototype.u,cy.prototype.dispatchEvent=cy.prototype.s,cy.prototype.getRevision=cy.prototype.L,cy.prototype.on=cy.prototype.H,cy.prototype.once=cy.prototype.M,cy.prototype.un=cy.prototype.K,cy.prototype.unByKey=cy.prototype.N,Ah.prototype.get=Ah.prototype.get,Ah.prototype.getKeys=Ah.prototype.P,Ah.prototype.getProperties=Ah.prototype.R,Ah.prototype.set=Ah.prototype.set,Ah.prototype.setProperties=Ah.prototype.I,Ah.prototype.unset=Ah.prototype.S,Ah.prototype.changed=Ah.prototype.u,Ah.prototype.dispatchEvent=Ah.prototype.s,Ah.prototype.getRevision=Ah.prototype.L,Ah.prototype.on=Ah.prototype.H,Ah.prototype.once=Ah.prototype.M,Ah.prototype.un=Ah.prototype.K,Ah.prototype.unByKey=Ah.prototype.N,cd.prototype.get=cd.prototype.get,cd.prototype.getKeys=cd.prototype.P,cd.prototype.getProperties=cd.prototype.R,cd.prototype.set=cd.prototype.set,cd.prototype.setProperties=cd.prototype.I,cd.prototype.unset=cd.prototype.S,cd.prototype.changed=cd.prototype.u,cd.prototype.dispatchEvent=cd.prototype.s,cd.prototype.getRevision=cd.prototype.L,cd.prototype.on=cd.prototype.H,cd.prototype.once=cd.prototype.M,cd.prototype.un=cd.prototype.K,cd.prototype.unByKey=cd.prototype.N,Sd.prototype.getTileCoord=Sd.prototype.g,Bc.prototype.get=Bc.prototype.get,Bc.prototype.getKeys=Bc.prototype.P,Bc.prototype.getProperties=Bc.prototype.R,Bc.prototype.set=Bc.prototype.set,Bc.prototype.setProperties=Bc.prototype.I,Bc.prototype.unset=Bc.prototype.S,Bc.prototype.changed=Bc.prototype.u,Bc.prototype.dispatchEvent=Bc.prototype.s,Bc.prototype.getRevision=Bc.prototype.L,Bc.prototype.on=Bc.prototype.H,Bc.prototype.once=Bc.prototype.M,Bc.prototype.un=Bc.prototype.K,Bc.prototype.unByKey=Bc.prototype.N,js.prototype.map=js.prototype.map,js.prototype.frameState=js.prototype.frameState,As.prototype.originalEvent=As.prototype.originalEvent,As.prototype.pixel=As.prototype.pixel,As.prototype.coordinate=As.prototype.coordinate,As.prototype.dragging=As.prototype.dragging,As.prototype.preventDefault=As.prototype.preventDefault,As.prototype.stopPropagation=As.prototype.b,As.prototype.map=As.prototype.map,As.prototype.frameState=As.prototype.frameState,Xc.prototype.get=Xc.prototype.get,Xc.prototype.getKeys=Xc.prototype.P,Xc.prototype.getProperties=Xc.prototype.R,Xc.prototype.set=Xc.prototype.set,Xc.prototype.setProperties=Xc.prototype.I,Xc.prototype.unset=Xc.prototype.S,Xc.prototype.changed=Xc.prototype.u,Xc.prototype.dispatchEvent=Xc.prototype.s,Xc.prototype.getRevision=Xc.prototype.L,Xc.prototype.on=Xc.prototype.H,Xc.prototype.once=Xc.prototype.M,Xc.prototype.un=Xc.prototype.K,Xc.prototype.unByKey=Xc.prototype.N,Ml.prototype.getTileCoord=Ml.prototype.g,Mi.prototype.get=Mi.prototype.get,Mi.prototype.getKeys=Mi.prototype.P,Mi.prototype.getProperties=Mi.prototype.R,Mi.prototype.set=Mi.prototype.set,Mi.prototype.setProperties=Mi.prototype.I,Mi.prototype.unset=Mi.prototype.S,Mi.prototype.changed=Mi.prototype.u,Mi.prototype.dispatchEvent=Mi.prototype.s,Mi.prototype.getRevision=Mi.prototype.L,Mi.prototype.on=Mi.prototype.H,Mi.prototype.once=Mi.prototype.M,Mi.prototype.un=Mi.prototype.K,Mi.prototype.unByKey=Mi.prototype.N,Ab.prototype.getMaxZoom=Ab.prototype.Eg,Ab.prototype.getMinZoom=Ab.prototype.Fg,Ab.prototype.getOrigin=Ab.prototype.Da,Ab.prototype.getResolution=Ab.prototype.$,Ab.prototype.getResolutions=Ab.prototype.zh,Ab.prototype.getTileCoordExtent=Ab.prototype.Aa,Ab.prototype.getTileCoordForCoordAndResolution=Ab.prototype.fe,Ab.prototype.getTileCoordForCoordAndZ=Ab.prototype.ge,Ab.prototype.getTileSize=Ab.prototype.Ka,Ea.prototype.getOpacity=Ea.prototype.Be,Ea.prototype.getRotateWithView=Ea.prototype.de,Ea.prototype.getRotation=Ea.prototype.Ce,Ea.prototype.getScale=Ea.prototype.De,Ea.prototype.getSnapToPixel=Ea.prototype.ee,Ea.prototype.setOpacity=Ea.prototype.Ee,Ea.prototype.setRotation=Ea.prototype.Fe,Ea.prototype.setScale=Ea.prototype.Ge,Qs.prototype.getOpacity=Qs.prototype.Be,Qs.prototype.getRotateWithView=Qs.prototype.de,Qs.prototype.getRotation=Qs.prototype.Ce,Qs.prototype.getScale=Qs.prototype.De,Qs.prototype.getSnapToPixel=Qs.prototype.ee,Qs.prototype.setOpacity=Qs.prototype.Ee,Qs.prototype.setRotation=Qs.prototype.Fe,Qs.prototype.setScale=Qs.prototype.Ge,Ub.prototype.getOpacity=Ub.prototype.Be,Ub.prototype.getRotateWithView=Ub.prototype.de,Ub.prototype.getRotation=Ub.prototype.Ce,Ub.prototype.getScale=Ub.prototype.De,Ub.prototype.getSnapToPixel=Ub.prototype.ee,Ub.prototype.setOpacity=Ub.prototype.Ee,Ub.prototype.setRotation=Ub.prototype.Fe,Ub.prototype.setScale=Ub.prototype.Ge,qr.prototype.get=qr.prototype.get,qr.prototype.getKeys=qr.prototype.P,qr.prototype.getProperties=qr.prototype.R,qr.prototype.set=qr.prototype.set,qr.prototype.setProperties=qr.prototype.I,qr.prototype.unset=qr.prototype.S,qr.prototype.changed=qr.prototype.u,qr.prototype.dispatchEvent=qr.prototype.s,qr.prototype.getRevision=qr.prototype.L,qr.prototype.on=qr.prototype.H,qr.prototype.once=qr.prototype.M,qr.prototype.un=qr.prototype.K,qr.prototype.unByKey=qr.prototype.N,yn.prototype.getAttributions=yn.prototype.sa,yn.prototype.getLogo=yn.prototype.qa,yn.prototype.getProjection=yn.prototype.ta,yn.prototype.getState=yn.prototype.ua,yn.prototype.setAttributions=yn.prototype.ma,yn.prototype.get=yn.prototype.get,yn.prototype.getKeys=yn.prototype.P,yn.prototype.getProperties=yn.prototype.R,yn.prototype.set=yn.prototype.set,yn.prototype.setProperties=yn.prototype.I,yn.prototype.unset=yn.prototype.S,yn.prototype.changed=yn.prototype.u,yn.prototype.dispatchEvent=yn.prototype.s,yn.prototype.getRevision=yn.prototype.L,yn.prototype.on=yn.prototype.H,yn.prototype.once=yn.prototype.M,yn.prototype.un=yn.prototype.K,yn.prototype.unByKey=yn.prototype.N,Iu.prototype.getTileGrid=Iu.prototype.Ha,Iu.prototype.getAttributions=Iu.prototype.sa,Iu.prototype.getLogo=Iu.prototype.qa,Iu.prototype.getProjection=Iu.prototype.ta,Iu.prototype.getState=Iu.prototype.ua,Iu.prototype.setAttributions=Iu.prototype.ma,Iu.prototype.get=Iu.prototype.get,Iu.prototype.getKeys=Iu.prototype.P,Iu.prototype.getProperties=Iu.prototype.R,Iu.prototype.set=Iu.prototype.set,Iu.prototype.setProperties=Iu.prototype.I,Iu.prototype.unset=Iu.prototype.S,Iu.prototype.changed=Iu.prototype.u,Iu.prototype.dispatchEvent=Iu.prototype.s,Iu.prototype.getRevision=Iu.prototype.L,Iu.prototype.on=Iu.prototype.H,Iu.prototype.once=Iu.prototype.M,Iu.prototype.un=Iu.prototype.K,Iu.prototype.unByKey=Iu.prototype.N,Zv.prototype.getTileLoadFunction=Zv.prototype.Xa,Zv.prototype.getTileUrlFunction=Zv.prototype.Ya,Zv.prototype.getUrls=Zv.prototype.Za,Zv.prototype.setTileLoadFunction=Zv.prototype.eb,Zv.prototype.setTileUrlFunction=Zv.prototype.Ja,Zv.prototype.setUrl=Zv.prototype.Va,Zv.prototype.setUrls=Zv.prototype.Wa,Zv.prototype.getTileGrid=Zv.prototype.Ha,Zv.prototype.getAttributions=Zv.prototype.sa,Zv.prototype.getLogo=Zv.prototype.qa,Zv.prototype.getProjection=Zv.prototype.ta,Zv.prototype.getState=Zv.prototype.ua,Zv.prototype.setAttributions=Zv.prototype.ma,Zv.prototype.get=Zv.prototype.get,Zv.prototype.getKeys=Zv.prototype.P,Zv.prototype.getProperties=Zv.prototype.R,Zv.prototype.set=Zv.prototype.set,Zv.prototype.setProperties=Zv.prototype.I,Zv.prototype.unset=Zv.prototype.S,Zv.prototype.changed=Zv.prototype.u,Zv.prototype.dispatchEvent=Zv.prototype.s,Zv.prototype.getRevision=Zv.prototype.L,Zv.prototype.on=Zv.prototype.H,Zv.prototype.once=Zv.prototype.M,Zv.prototype.un=Zv.prototype.K,Zv.prototype.unByKey=Zv.prototype.N,$v.prototype.setRenderReprojectionEdges=$v.prototype.vb,$v.prototype.setTileGridForProjection=$v.prototype.wb,$v.prototype.getTileLoadFunction=$v.prototype.Xa,$v.prototype.getTileUrlFunction=$v.prototype.Ya,$v.prototype.getUrls=$v.prototype.Za,$v.prototype.setTileLoadFunction=$v.prototype.eb,$v.prototype.setTileUrlFunction=$v.prototype.Ja,$v.prototype.setUrl=$v.prototype.Va,$v.prototype.setUrls=$v.prototype.Wa,$v.prototype.getTileGrid=$v.prototype.Ha,$v.prototype.getAttributions=$v.prototype.sa,$v.prototype.getLogo=$v.prototype.qa,$v.prototype.getProjection=$v.prototype.ta,$v.prototype.getState=$v.prototype.ua,$v.prototype.setAttributions=$v.prototype.ma,$v.prototype.get=$v.prototype.get,$v.prototype.getKeys=$v.prototype.P,$v.prototype.getProperties=$v.prototype.R,$v.prototype.set=$v.prototype.set,$v.prototype.setProperties=$v.prototype.I,$v.prototype.unset=$v.prototype.S,$v.prototype.changed=$v.prototype.u,$v.prototype.dispatchEvent=$v.prototype.s,$v.prototype.getRevision=$v.prototype.L,$v.prototype.on=$v.prototype.H,$v.prototype.once=$v.prototype.M,$v.prototype.un=$v.prototype.K,$v.prototype.unByKey=$v.prototype.N,yu.prototype.getAttributions=yu.prototype.sa,yu.prototype.getLogo=yu.prototype.qa,yu.prototype.getProjection=yu.prototype.ta,yu.prototype.getState=yu.prototype.ua,yu.prototype.setAttributions=yu.prototype.ma,yu.prototype.get=yu.prototype.get,yu.prototype.getKeys=yu.prototype.P,yu.prototype.getProperties=yu.prototype.R,yu.prototype.set=yu.prototype.set,yu.prototype.setProperties=yu.prototype.I,yu.prototype.unset=yu.prototype.S,yu.prototype.changed=yu.prototype.u,yu.prototype.dispatchEvent=yu.prototype.s,yu.prototype.getRevision=yu.prototype.L,yu.prototype.on=yu.prototype.H,yu.prototype.once=yu.prototype.M,yu.prototype.un=yu.prototype.K,yu.prototype.unByKey=yu.prototype.N,_v.prototype.addFeature=_v.prototype.Bd,_v.prototype.addFeatures=_v.prototype.Ec,_v.prototype.clear=_v.prototype.clear,_v.prototype.forEachFeature=_v.prototype.sg,_v.prototype.forEachFeatureInExtent=_v.prototype.pb,_v.prototype.forEachFeatureIntersectingExtent=_v.prototype.tg,_v.prototype.getFeaturesCollection=_v.prototype.zg,_v.prototype.getFeatures=_v.prototype.ze,_v.prototype.getFeaturesAtCoordinate=_v.prototype.yg,_v.prototype.getFeaturesInExtent=_v.prototype.mf,_v.prototype.getClosestFeatureToCoordinate=_v.prototype.vg,_v.prototype.getExtent=_v.prototype.J,_v.prototype.getFeatureById=_v.prototype.xg,_v.prototype.removeFeature=_v.prototype.Rc,_v.prototype.getAttributions=_v.prototype.sa,_v.prototype.getLogo=_v.prototype.qa,_v.prototype.getProjection=_v.prototype.ta,_v.prototype.getState=_v.prototype.ua,_v.prototype.setAttributions=_v.prototype.ma,_v.prototype.get=_v.prototype.get,_v.prototype.getKeys=_v.prototype.P,_v.prototype.getProperties=_v.prototype.R,_v.prototype.set=_v.prototype.set,_v.prototype.setProperties=_v.prototype.I,_v.prototype.unset=_v.prototype.S,_v.prototype.changed=_v.prototype.u,_v.prototype.dispatchEvent=_v.prototype.s,_v.prototype.getRevision=_v.prototype.L,_v.prototype.on=_v.prototype.H,_v.prototype.once=_v.prototype.M,_v.prototype.un=_v.prototype.K,_v.prototype.unByKey=_v.prototype.N,Mh.prototype.getAttributions=Mh.prototype.sa,Mh.prototype.getLogo=Mh.prototype.qa,Mh.prototype.getProjection=Mh.prototype.ta,Mh.prototype.getState=Mh.prototype.ua,Mh.prototype.setAttributions=Mh.prototype.ma,Mh.prototype.get=Mh.prototype.get,Mh.prototype.getKeys=Mh.prototype.P,Mh.prototype.getProperties=Mh.prototype.R,Mh.prototype.set=Mh.prototype.set,Mh.prototype.setProperties=Mh.prototype.I,Mh.prototype.unset=Mh.prototype.S,Mh.prototype.changed=Mh.prototype.u,Mh.prototype.dispatchEvent=Mh.prototype.s,Mh.prototype.getRevision=Mh.prototype.L,Mh.prototype.on=Mh.prototype.H,Mh.prototype.once=Mh.prototype.M,Mh.prototype.un=Mh.prototype.K,Mh.prototype.unByKey=Mh.prototype.N,jh.prototype.getAttributions=jh.prototype.sa,jh.prototype.getLogo=jh.prototype.qa,jh.prototype.getProjection=jh.prototype.ta,jh.prototype.getState=jh.prototype.ua,jh.prototype.setAttributions=jh.prototype.ma,jh.prototype.get=jh.prototype.get,jh.prototype.getKeys=jh.prototype.P,jh.prototype.getProperties=jh.prototype.R,jh.prototype.set=jh.prototype.set,jh.prototype.setProperties=jh.prototype.I,jh.prototype.unset=jh.prototype.S,jh.prototype.changed=jh.prototype.u,jh.prototype.dispatchEvent=jh.prototype.s,jh.prototype.getRevision=jh.prototype.L,jh.prototype.on=jh.prototype.H,jh.prototype.once=jh.prototype.M,jh.prototype.un=jh.prototype.K,jh.prototype.unByKey=jh.prototype.N,eb.prototype.getAttributions=eb.prototype.sa,eb.prototype.getLogo=eb.prototype.qa,eb.prototype.getProjection=eb.prototype.ta,eb.prototype.getState=eb.prototype.ua,eb.prototype.setAttributions=eb.prototype.ma,eb.prototype.get=eb.prototype.get,eb.prototype.getKeys=eb.prototype.P,eb.prototype.getProperties=eb.prototype.R,eb.prototype.set=eb.prototype.set,eb.prototype.setProperties=eb.prototype.I,eb.prototype.unset=eb.prototype.S,eb.prototype.changed=eb.prototype.u,eb.prototype.dispatchEvent=eb.prototype.s,eb.prototype.getRevision=eb.prototype.L,eb.prototype.on=eb.prototype.H,eb.prototype.once=eb.prototype.M,eb.prototype.un=eb.prototype.K,eb.prototype.unByKey=eb.prototype.N,ob.prototype.getAttributions=ob.prototype.sa,ob.prototype.getLogo=ob.prototype.qa,ob.prototype.getProjection=ob.prototype.ta,ob.prototype.getState=ob.prototype.ua,ob.prototype.setAttributions=ob.prototype.ma,ob.prototype.get=ob.prototype.get,ob.prototype.getKeys=ob.prototype.P,ob.prototype.getProperties=ob.prototype.R,ob.prototype.set=ob.prototype.set,ob.prototype.setProperties=ob.prototype.I,ob.prototype.unset=ob.prototype.S,ob.prototype.changed=ob.prototype.u,ob.prototype.dispatchEvent=ob.prototype.s,ob.prototype.getRevision=ob.prototype.L,ob.prototype.on=ob.prototype.H,ob.prototype.once=ob.prototype.M,ob.prototype.un=ob.prototype.K,ob.prototype.unByKey=ob.prototype.N,xu.prototype.getAttributions=xu.prototype.sa,xu.prototype.getLogo=xu.prototype.qa,xu.prototype.getProjection=xu.prototype.ta,xu.prototype.getState=xu.prototype.ua,xu.prototype.setAttributions=xu.prototype.ma,xu.prototype.get=xu.prototype.get,xu.prototype.getKeys=xu.prototype.P,xu.prototype.getProperties=xu.prototype.R,xu.prototype.set=xu.prototype.set,xu.prototype.setProperties=xu.prototype.I,xu.prototype.unset=xu.prototype.S,xu.prototype.changed=xu.prototype.u,xu.prototype.dispatchEvent=xu.prototype.s,xu.prototype.getRevision=xu.prototype.L,xu.prototype.on=xu.prototype.H,xu.prototype.once=xu.prototype.M,xu.prototype.un=xu.prototype.K,xu.prototype.unByKey=xu.prototype.N,ib.prototype.getAttributions=ib.prototype.sa,ib.prototype.getLogo=ib.prototype.qa,ib.prototype.getProjection=ib.prototype.ta,ib.prototype.getState=ib.prototype.ua,ib.prototype.setAttributions=ib.prototype.ma,ib.prototype.get=ib.prototype.get,ib.prototype.getKeys=ib.prototype.P,ib.prototype.getProperties=ib.prototype.R,ib.prototype.set=ib.prototype.set,ib.prototype.setProperties=ib.prototype.I,ib.prototype.unset=ib.prototype.S,ib.prototype.changed=ib.prototype.u,ib.prototype.dispatchEvent=ib.prototype.s,ib.prototype.getRevision=ib.prototype.L,ib.prototype.on=ib.prototype.H,ib.prototype.once=ib.prototype.M,ib.prototype.un=ib.prototype.K,ib.prototype.unByKey=ib.prototype.N,sb.prototype.setRenderReprojectionEdges=sb.prototype.vb,sb.prototype.setTileGridForProjection=sb.prototype.wb,sb.prototype.getTileLoadFunction=sb.prototype.Xa,sb.prototype.getTileUrlFunction=sb.prototype.Ya,sb.prototype.getUrls=sb.prototype.Za,sb.prototype.setTileLoadFunction=sb.prototype.eb,sb.prototype.setTileUrlFunction=sb.prototype.Ja,sb.prototype.setUrl=sb.prototype.Va,sb.prototype.setUrls=sb.prototype.Wa,sb.prototype.getTileGrid=sb.prototype.Ha,sb.prototype.getAttributions=sb.prototype.sa,sb.prototype.getLogo=sb.prototype.qa,sb.prototype.getProjection=sb.prototype.ta,sb.prototype.getState=sb.prototype.ua,sb.prototype.setAttributions=sb.prototype.ma,sb.prototype.get=sb.prototype.get,sb.prototype.getKeys=sb.prototype.P,sb.prototype.getProperties=sb.prototype.R,sb.prototype.set=sb.prototype.set,sb.prototype.setProperties=sb.prototype.I,sb.prototype.unset=sb.prototype.S,sb.prototype.changed=sb.prototype.u,sb.prototype.dispatchEvent=sb.prototype.s,
  sb.prototype.getRevision=sb.prototype.L,sb.prototype.on=sb.prototype.H,sb.prototype.once=sb.prototype.M,sb.prototype.un=sb.prototype.K,sb.prototype.unByKey=sb.prototype.N,ab.prototype.setRenderReprojectionEdges=ab.prototype.vb,ab.prototype.setTileGridForProjection=ab.prototype.wb,ab.prototype.getTileLoadFunction=ab.prototype.Xa,ab.prototype.getTileUrlFunction=ab.prototype.Ya,ab.prototype.getUrls=ab.prototype.Za,ab.prototype.setTileLoadFunction=ab.prototype.eb,ab.prototype.setTileUrlFunction=ab.prototype.Ja,ab.prototype.setUrl=ab.prototype.Va,ab.prototype.setUrls=ab.prototype.Wa,ab.prototype.getTileGrid=ab.prototype.Ha,ab.prototype.getAttributions=ab.prototype.sa,ab.prototype.getLogo=ab.prototype.qa,ab.prototype.getProjection=ab.prototype.ta,ab.prototype.getState=ab.prototype.ua,ab.prototype.setAttributions=ab.prototype.ma,ab.prototype.get=ab.prototype.get,ab.prototype.getKeys=ab.prototype.P,ab.prototype.getProperties=ab.prototype.R,ab.prototype.set=ab.prototype.set,ab.prototype.setProperties=ab.prototype.I,ab.prototype.unset=ab.prototype.S,ab.prototype.changed=ab.prototype.u,ab.prototype.dispatchEvent=ab.prototype.s,ab.prototype.getRevision=ab.prototype.L,ab.prototype.on=ab.prototype.H,ab.prototype.once=ab.prototype.M,ab.prototype.un=ab.prototype.K,ab.prototype.unByKey=ab.prototype.N,pb.prototype.setRenderReprojectionEdges=pb.prototype.vb,pb.prototype.setTileGridForProjection=pb.prototype.wb,pb.prototype.getTileLoadFunction=pb.prototype.Xa,pb.prototype.getTileUrlFunction=pb.prototype.Ya,pb.prototype.getUrls=pb.prototype.Za,pb.prototype.setTileLoadFunction=pb.prototype.eb,pb.prototype.setTileUrlFunction=pb.prototype.Ja,pb.prototype.setUrl=pb.prototype.Va,pb.prototype.setUrls=pb.prototype.Wa,pb.prototype.getTileGrid=pb.prototype.Ha,pb.prototype.getAttributions=pb.prototype.sa,pb.prototype.getLogo=pb.prototype.qa,pb.prototype.getProjection=pb.prototype.ta,pb.prototype.getState=pb.prototype.ua,pb.prototype.setAttributions=pb.prototype.ma,pb.prototype.get=pb.prototype.get,pb.prototype.getKeys=pb.prototype.P,pb.prototype.getProperties=pb.prototype.R,pb.prototype.set=pb.prototype.set,pb.prototype.setProperties=pb.prototype.I,pb.prototype.unset=pb.prototype.S,pb.prototype.changed=pb.prototype.u,pb.prototype.dispatchEvent=pb.prototype.s,pb.prototype.getRevision=pb.prototype.L,pb.prototype.on=pb.prototype.H,pb.prototype.once=pb.prototype.M,pb.prototype.un=pb.prototype.K,pb.prototype.unByKey=pb.prototype.N,hb.prototype.getAttributions=hb.prototype.sa,hb.prototype.getLogo=hb.prototype.qa,hb.prototype.getProjection=hb.prototype.ta,hb.prototype.getState=hb.prototype.ua,hb.prototype.setAttributions=hb.prototype.ma,hb.prototype.get=hb.prototype.get,hb.prototype.getKeys=hb.prototype.P,hb.prototype.getProperties=hb.prototype.R,hb.prototype.set=hb.prototype.set,hb.prototype.setProperties=hb.prototype.I,hb.prototype.unset=hb.prototype.S,hb.prototype.changed=hb.prototype.u,hb.prototype.dispatchEvent=hb.prototype.s,hb.prototype.getRevision=hb.prototype.L,hb.prototype.on=hb.prototype.H,hb.prototype.once=hb.prototype.M,hb.prototype.un=hb.prototype.K,hb.prototype.unByKey=hb.prototype.N,fb.prototype.setRenderReprojectionEdges=fb.prototype.vb,fb.prototype.setTileGridForProjection=fb.prototype.wb,fb.prototype.getTileLoadFunction=fb.prototype.Xa,fb.prototype.getTileUrlFunction=fb.prototype.Ya,fb.prototype.getUrls=fb.prototype.Za,fb.prototype.setTileLoadFunction=fb.prototype.eb,fb.prototype.setTileUrlFunction=fb.prototype.Ja,fb.prototype.setUrl=fb.prototype.Va,fb.prototype.setUrls=fb.prototype.Wa,fb.prototype.getTileGrid=fb.prototype.Ha,fb.prototype.getAttributions=fb.prototype.sa,fb.prototype.getLogo=fb.prototype.qa,fb.prototype.getProjection=fb.prototype.ta,fb.prototype.getState=fb.prototype.ua,fb.prototype.setAttributions=fb.prototype.ma,fb.prototype.get=fb.prototype.get,fb.prototype.getKeys=fb.prototype.P,fb.prototype.getProperties=fb.prototype.R,fb.prototype.set=fb.prototype.set,fb.prototype.setProperties=fb.prototype.I,fb.prototype.unset=fb.prototype.S,fb.prototype.changed=fb.prototype.u,fb.prototype.dispatchEvent=fb.prototype.s,fb.prototype.getRevision=fb.prototype.L,fb.prototype.on=fb.prototype.H,fb.prototype.once=fb.prototype.M,fb.prototype.un=fb.prototype.K,fb.prototype.unByKey=fb.prototype.N,gb.prototype.setRenderReprojectionEdges=gb.prototype.vb,gb.prototype.setTileGridForProjection=gb.prototype.wb,gb.prototype.getTileLoadFunction=gb.prototype.Xa,gb.prototype.getTileUrlFunction=gb.prototype.Ya,gb.prototype.getUrls=gb.prototype.Za,gb.prototype.setTileLoadFunction=gb.prototype.eb,gb.prototype.setTileUrlFunction=gb.prototype.Ja,gb.prototype.setUrl=gb.prototype.Va,gb.prototype.setUrls=gb.prototype.Wa,gb.prototype.getTileGrid=gb.prototype.Ha,gb.prototype.getAttributions=gb.prototype.sa,gb.prototype.getLogo=gb.prototype.qa,gb.prototype.getProjection=gb.prototype.ta,gb.prototype.getState=gb.prototype.ua,gb.prototype.setAttributions=gb.prototype.ma,gb.prototype.get=gb.prototype.get,gb.prototype.getKeys=gb.prototype.P,gb.prototype.getProperties=gb.prototype.R,gb.prototype.set=gb.prototype.set,gb.prototype.setProperties=gb.prototype.I,gb.prototype.unset=gb.prototype.S,gb.prototype.changed=gb.prototype.u,gb.prototype.dispatchEvent=gb.prototype.s,gb.prototype.getRevision=gb.prototype.L,gb.prototype.on=gb.prototype.H,gb.prototype.once=gb.prototype.M,gb.prototype.un=gb.prototype.K,gb.prototype.unByKey=gb.prototype.N,vb.prototype.getTileGrid=vb.prototype.Ha,vb.prototype.getAttributions=vb.prototype.sa,vb.prototype.getLogo=vb.prototype.qa,vb.prototype.getProjection=vb.prototype.ta,vb.prototype.getState=vb.prototype.ua,vb.prototype.setAttributions=vb.prototype.ma,vb.prototype.get=vb.prototype.get,vb.prototype.getKeys=vb.prototype.P,vb.prototype.getProperties=vb.prototype.R,vb.prototype.set=vb.prototype.set,vb.prototype.setProperties=vb.prototype.I,vb.prototype.unset=vb.prototype.S,vb.prototype.changed=vb.prototype.u,vb.prototype.dispatchEvent=vb.prototype.s,vb.prototype.getRevision=vb.prototype.L,vb.prototype.on=vb.prototype.H,vb.prototype.once=vb.prototype.M,vb.prototype.un=vb.prototype.K,vb.prototype.unByKey=vb.prototype.N,bb.prototype.setRenderReprojectionEdges=bb.prototype.vb,bb.prototype.setTileGridForProjection=bb.prototype.wb,bb.prototype.getTileLoadFunction=bb.prototype.Xa,bb.prototype.getTileUrlFunction=bb.prototype.Ya,bb.prototype.getUrls=bb.prototype.Za,bb.prototype.setTileLoadFunction=bb.prototype.eb,bb.prototype.setTileUrlFunction=bb.prototype.Ja,bb.prototype.setUrl=bb.prototype.Va,bb.prototype.setUrls=bb.prototype.Wa,bb.prototype.getTileGrid=bb.prototype.Ha,bb.prototype.getAttributions=bb.prototype.sa,bb.prototype.getLogo=bb.prototype.qa,bb.prototype.getProjection=bb.prototype.ta,bb.prototype.getState=bb.prototype.ua,bb.prototype.setAttributions=bb.prototype.ma,bb.prototype.get=bb.prototype.get,bb.prototype.getKeys=bb.prototype.P,bb.prototype.getProperties=bb.prototype.R,bb.prototype.set=bb.prototype.set,bb.prototype.setProperties=bb.prototype.I,bb.prototype.unset=bb.prototype.S,bb.prototype.changed=bb.prototype.u,bb.prototype.dispatchEvent=bb.prototype.s,bb.prototype.getRevision=bb.prototype.L,bb.prototype.on=bb.prototype.H,bb.prototype.once=bb.prototype.M,bb.prototype.un=bb.prototype.K,bb.prototype.unByKey=bb.prototype.N,mb.prototype.getTileGrid=mb.prototype.Ha,mb.prototype.getAttributions=mb.prototype.sa,mb.prototype.getLogo=mb.prototype.qa,mb.prototype.getProjection=mb.prototype.ta,mb.prototype.getState=mb.prototype.ua,mb.prototype.setAttributions=mb.prototype.ma,mb.prototype.get=mb.prototype.get,mb.prototype.getKeys=mb.prototype.P,mb.prototype.getProperties=mb.prototype.R,mb.prototype.set=mb.prototype.set,mb.prototype.setProperties=mb.prototype.I,mb.prototype.unset=mb.prototype.S,mb.prototype.changed=mb.prototype.u,mb.prototype.dispatchEvent=mb.prototype.s,mb.prototype.getRevision=mb.prototype.L,mb.prototype.on=mb.prototype.H,mb.prototype.once=mb.prototype.M,mb.prototype.un=mb.prototype.K,mb.prototype.unByKey=mb.prototype.N,Pb.prototype.setRenderReprojectionEdges=Pb.prototype.vb,Pb.prototype.setTileGridForProjection=Pb.prototype.wb,Pb.prototype.getTileLoadFunction=Pb.prototype.Xa,Pb.prototype.getTileUrlFunction=Pb.prototype.Ya,Pb.prototype.getUrls=Pb.prototype.Za,Pb.prototype.setTileLoadFunction=Pb.prototype.eb,Pb.prototype.setTileUrlFunction=Pb.prototype.Ja,Pb.prototype.setUrl=Pb.prototype.Va,Pb.prototype.setUrls=Pb.prototype.Wa,Pb.prototype.getTileGrid=Pb.prototype.Ha,Pb.prototype.getAttributions=Pb.prototype.sa,Pb.prototype.getLogo=Pb.prototype.qa,Pb.prototype.getProjection=Pb.prototype.ta,Pb.prototype.getState=Pb.prototype.ua,Pb.prototype.setAttributions=Pb.prototype.ma,Pb.prototype.get=Pb.prototype.get,Pb.prototype.getKeys=Pb.prototype.P,Pb.prototype.getProperties=Pb.prototype.R,Pb.prototype.set=Pb.prototype.set,Pb.prototype.setProperties=Pb.prototype.I,Pb.prototype.unset=Pb.prototype.S,Pb.prototype.changed=Pb.prototype.u,Pb.prototype.dispatchEvent=Pb.prototype.s,Pb.prototype.getRevision=Pb.prototype.L,Pb.prototype.on=Pb.prototype.H,Pb.prototype.once=Pb.prototype.M,Pb.prototype.un=Pb.prototype.K,Pb.prototype.unByKey=Pb.prototype.N,Lu.prototype.getTileLoadFunction=Lu.prototype.Xa,Lu.prototype.getTileUrlFunction=Lu.prototype.Ya,Lu.prototype.getUrls=Lu.prototype.Za,Lu.prototype.setTileLoadFunction=Lu.prototype.eb,Lu.prototype.setTileUrlFunction=Lu.prototype.Ja,Lu.prototype.setUrl=Lu.prototype.Va,Lu.prototype.setUrls=Lu.prototype.Wa,Lu.prototype.getTileGrid=Lu.prototype.Ha,Lu.prototype.getAttributions=Lu.prototype.sa,Lu.prototype.getLogo=Lu.prototype.qa,Lu.prototype.getProjection=Lu.prototype.ta,Lu.prototype.getState=Lu.prototype.ua,Lu.prototype.setAttributions=Lu.prototype.ma,Lu.prototype.get=Lu.prototype.get,Lu.prototype.getKeys=Lu.prototype.P,Lu.prototype.getProperties=Lu.prototype.R,Lu.prototype.set=Lu.prototype.set,Lu.prototype.setProperties=Lu.prototype.I,Lu.prototype.unset=Lu.prototype.S,Lu.prototype.changed=Lu.prototype.u,Lu.prototype.dispatchEvent=Lu.prototype.s,Lu.prototype.getRevision=Lu.prototype.L,Lu.prototype.on=Lu.prototype.H,Lu.prototype.once=Lu.prototype.M,Lu.prototype.un=Lu.prototype.K,Lu.prototype.unByKey=Lu.prototype.N,Cb.prototype.setRenderReprojectionEdges=Cb.prototype.vb,Cb.prototype.setTileGridForProjection=Cb.prototype.wb,Cb.prototype.getTileLoadFunction=Cb.prototype.Xa,Cb.prototype.getTileUrlFunction=Cb.prototype.Ya,Cb.prototype.getUrls=Cb.prototype.Za,Cb.prototype.setTileLoadFunction=Cb.prototype.eb,Cb.prototype.setTileUrlFunction=Cb.prototype.Ja,Cb.prototype.setUrl=Cb.prototype.Va,Cb.prototype.setUrls=Cb.prototype.Wa,Cb.prototype.getTileGrid=Cb.prototype.Ha,Cb.prototype.getAttributions=Cb.prototype.sa,Cb.prototype.getLogo=Cb.prototype.qa,Cb.prototype.getProjection=Cb.prototype.ta,Cb.prototype.getState=Cb.prototype.ua,Cb.prototype.setAttributions=Cb.prototype.ma,Cb.prototype.get=Cb.prototype.get,Cb.prototype.getKeys=Cb.prototype.P,Cb.prototype.getProperties=Cb.prototype.R,Cb.prototype.set=Cb.prototype.set,Cb.prototype.setProperties=Cb.prototype.I,Cb.prototype.unset=Cb.prototype.S,Cb.prototype.changed=Cb.prototype.u,Cb.prototype.dispatchEvent=Cb.prototype.s,Cb.prototype.getRevision=Cb.prototype.L,Cb.prototype.on=Cb.prototype.H,Cb.prototype.once=Cb.prototype.M,Cb.prototype.un=Cb.prototype.K,Cb.prototype.unByKey=Cb.prototype.N,Lb.prototype.setRenderReprojectionEdges=Lb.prototype.vb,Lb.prototype.setTileGridForProjection=Lb.prototype.wb,Lb.prototype.getTileLoadFunction=Lb.prototype.Xa,Lb.prototype.getTileUrlFunction=Lb.prototype.Ya,Lb.prototype.getUrls=Lb.prototype.Za,Lb.prototype.setTileLoadFunction=Lb.prototype.eb,Lb.prototype.setTileUrlFunction=Lb.prototype.Ja,Lb.prototype.setUrl=Lb.prototype.Va,Lb.prototype.setUrls=Lb.prototype.Wa,Lb.prototype.getTileGrid=Lb.prototype.Ha,Lb.prototype.getAttributions=Lb.prototype.sa,Lb.prototype.getLogo=Lb.prototype.qa,Lb.prototype.getProjection=Lb.prototype.ta,Lb.prototype.getState=Lb.prototype.ua,Lb.prototype.setAttributions=Lb.prototype.ma,Lb.prototype.get=Lb.prototype.get,Lb.prototype.getKeys=Lb.prototype.P,Lb.prototype.getProperties=Lb.prototype.R,Lb.prototype.set=Lb.prototype.set,Lb.prototype.setProperties=Lb.prototype.I,Lb.prototype.unset=Lb.prototype.S,Lb.prototype.changed=Lb.prototype.u,Lb.prototype.dispatchEvent=Lb.prototype.s,Lb.prototype.getRevision=Lb.prototype.L,Lb.prototype.on=Lb.prototype.H,Lb.prototype.once=Lb.prototype.M,Lb.prototype.un=Lb.prototype.K,Lb.prototype.unByKey=Lb.prototype.N,Nv.prototype.getTileCoord=Nv.prototype.g,Ys.prototype.changed=Ys.prototype.u,Ys.prototype.dispatchEvent=Ys.prototype.s,Ys.prototype.getRevision=Ys.prototype.L,Ys.prototype.on=Ys.prototype.H,Ys.prototype.once=Ys.prototype.M,Ys.prototype.un=Ys.prototype.K,Ys.prototype.unByKey=Ys.prototype.N,Pc.prototype.changed=Pc.prototype.u,Pc.prototype.dispatchEvent=Pc.prototype.s,Pc.prototype.getRevision=Pc.prototype.L,Pc.prototype.on=Pc.prototype.H,Pc.prototype.once=Pc.prototype.M,Pc.prototype.un=Pc.prototype.K,Pc.prototype.unByKey=Pc.prototype.N,jc.prototype.changed=jc.prototype.u,jc.prototype.dispatchEvent=jc.prototype.s,jc.prototype.getRevision=jc.prototype.L,jc.prototype.on=jc.prototype.H,jc.prototype.once=jc.prototype.M,jc.prototype.un=jc.prototype.K,jc.prototype.unByKey=jc.prototype.N,kc.prototype.changed=kc.prototype.u,kc.prototype.dispatchEvent=kc.prototype.s,kc.prototype.getRevision=kc.prototype.L,kc.prototype.on=kc.prototype.H,kc.prototype.once=kc.prototype.M,kc.prototype.un=kc.prototype.K,kc.prototype.unByKey=kc.prototype.N,Fc.prototype.changed=Fc.prototype.u,Fc.prototype.dispatchEvent=Fc.prototype.s,Fc.prototype.getRevision=Fc.prototype.L,Fc.prototype.on=Fc.prototype.H,Fc.prototype.once=Fc.prototype.M,Fc.prototype.un=Fc.prototype.K,Fc.prototype.unByKey=Fc.prototype.N,Uu.prototype.changed=Uu.prototype.u,Uu.prototype.dispatchEvent=Uu.prototype.s,Uu.prototype.getRevision=Uu.prototype.L,Uu.prototype.on=Uu.prototype.H,Uu.prototype.once=Uu.prototype.M,Uu.prototype.un=Uu.prototype.K,Uu.prototype.unByKey=Uu.prototype.N,Bu.prototype.changed=Bu.prototype.u,Bu.prototype.dispatchEvent=Bu.prototype.s,Bu.prototype.getRevision=Bu.prototype.L,Bu.prototype.on=Bu.prototype.H,Bu.prototype.once=Bu.prototype.M,Bu.prototype.un=Bu.prototype.K,Bu.prototype.unByKey=Bu.prototype.N,Gu.prototype.changed=Gu.prototype.u,Gu.prototype.dispatchEvent=Gu.prototype.s,Gu.prototype.getRevision=Gu.prototype.L,Gu.prototype.on=Gu.prototype.H,Gu.prototype.once=Gu.prototype.M,Gu.prototype.un=Gu.prototype.K,Gu.prototype.unByKey=Gu.prototype.N,Ku.prototype.changed=Ku.prototype.u,Ku.prototype.dispatchEvent=Ku.prototype.s,Ku.prototype.getRevision=Ku.prototype.L,Ku.prototype.on=Ku.prototype.H,Ku.prototype.once=Ku.prototype.M,Ku.prototype.un=Ku.prototype.K,Ku.prototype.unByKey=Ku.prototype.N,Ya.prototype.changed=Ya.prototype.u,Ya.prototype.dispatchEvent=Ya.prototype.s,Ya.prototype.getRevision=Ya.prototype.L,Ya.prototype.on=Ya.prototype.H,Ya.prototype.once=Ya.prototype.M,Ya.prototype.un=Ya.prototype.K,Ya.prototype.unByKey=Ya.prototype.N,Mu.prototype.changed=Mu.prototype.u,Mu.prototype.dispatchEvent=Mu.prototype.s,Mu.prototype.getRevision=Mu.prototype.L,Mu.prototype.on=Mu.prototype.H,Mu.prototype.once=Mu.prototype.M,Mu.prototype.un=Mu.prototype.K,Mu.prototype.unByKey=Mu.prototype.N,Pu.prototype.changed=Pu.prototype.u,Pu.prototype.dispatchEvent=Pu.prototype.s,Pu.prototype.getRevision=Pu.prototype.L,Pu.prototype.on=Pu.prototype.H,Pu.prototype.once=Pu.prototype.M,Pu.prototype.un=Pu.prototype.K,Pu.prototype.unByKey=Pu.prototype.N,Tu.prototype.changed=Tu.prototype.u,Tu.prototype.dispatchEvent=Tu.prototype.s,Tu.prototype.getRevision=Tu.prototype.L,Tu.prototype.on=Tu.prototype.H,Tu.prototype.once=Tu.prototype.M,Tu.prototype.un=Tu.prototype.K,Tu.prototype.unByKey=Tu.prototype.N,Fu.prototype.changed=Fu.prototype.u,Fu.prototype.dispatchEvent=Fu.prototype.s,Fu.prototype.getRevision=Fu.prototype.L,Fu.prototype.on=Fu.prototype.H,Fu.prototype.once=Fu.prototype.M,Fu.prototype.un=Fu.prototype.K,Fu.prototype.unByKey=Fu.prototype.N,Ls.prototype.get=Ls.prototype.get,Ls.prototype.getKeys=Ls.prototype.P,Ls.prototype.getProperties=Ls.prototype.R,Ls.prototype.set=Ls.prototype.set,Ls.prototype.setProperties=Ls.prototype.I,Ls.prototype.unset=Ls.prototype.S,Ls.prototype.changed=Ls.prototype.u,Ls.prototype.dispatchEvent=Ls.prototype.s,Ls.prototype.getRevision=Ls.prototype.L,Ls.prototype.on=Ls.prototype.H,Ls.prototype.once=Ls.prototype.M,Ls.prototype.un=Ls.prototype.K,Ls.prototype.unByKey=Ls.prototype.N,Ds.prototype.getExtent=Ds.prototype.J,Ds.prototype.getMaxResolution=Ds.prototype.Nb,Ds.prototype.getMinResolution=Ds.prototype.Ob,Ds.prototype.getOpacity=Ds.prototype.Rb,Ds.prototype.getVisible=Ds.prototype.rb,Ds.prototype.getZIndex=Ds.prototype.Sb,Ds.prototype.setExtent=Ds.prototype.cc,Ds.prototype.setMaxResolution=Ds.prototype.kc,Ds.prototype.setMinResolution=Ds.prototype.lc,Ds.prototype.setOpacity=Ds.prototype.dc,Ds.prototype.setVisible=Ds.prototype.ec,Ds.prototype.setZIndex=Ds.prototype.fc,Ds.prototype.get=Ds.prototype.get,Ds.prototype.getKeys=Ds.prototype.P,Ds.prototype.getProperties=Ds.prototype.R,Ds.prototype.set=Ds.prototype.set,Ds.prototype.setProperties=Ds.prototype.I,Ds.prototype.unset=Ds.prototype.S,Ds.prototype.changed=Ds.prototype.u,Ds.prototype.dispatchEvent=Ds.prototype.s,Ds.prototype.getRevision=Ds.prototype.L,Ds.prototype.on=Ds.prototype.H,Ds.prototype.once=Ds.prototype.M,Ds.prototype.un=Ds.prototype.K,Ds.prototype.unByKey=Ds.prototype.N,La.prototype.setMap=La.prototype.setMap,La.prototype.setSource=La.prototype.zc,La.prototype.getExtent=La.prototype.J,La.prototype.getMaxResolution=La.prototype.Nb,La.prototype.getMinResolution=La.prototype.Ob,La.prototype.getOpacity=La.prototype.Rb,La.prototype.getVisible=La.prototype.rb,La.prototype.getZIndex=La.prototype.Sb,La.prototype.setExtent=La.prototype.cc,La.prototype.setMaxResolution=La.prototype.kc,La.prototype.setMinResolution=La.prototype.lc,La.prototype.setOpacity=La.prototype.dc,La.prototype.setVisible=La.prototype.ec,La.prototype.setZIndex=La.prototype.fc,La.prototype.get=La.prototype.get,La.prototype.getKeys=La.prototype.P,La.prototype.getProperties=La.prototype.R,La.prototype.set=La.prototype.set,La.prototype.setProperties=La.prototype.I,La.prototype.unset=La.prototype.S,La.prototype.changed=La.prototype.u,La.prototype.dispatchEvent=La.prototype.s,La.prototype.getRevision=La.prototype.L,La.prototype.on=La.prototype.H,La.prototype.once=La.prototype.M,La.prototype.un=La.prototype.K,La.prototype.unByKey=La.prototype.N,Fv.prototype.getSource=Fv.prototype.ea,Fv.prototype.getStyle=Fv.prototype.C,Fv.prototype.getStyleFunction=Fv.prototype.D,Fv.prototype.setStyle=Fv.prototype.c,Fv.prototype.setMap=Fv.prototype.setMap,Fv.prototype.setSource=Fv.prototype.zc,Fv.prototype.getExtent=Fv.prototype.J,Fv.prototype.getMaxResolution=Fv.prototype.Nb,Fv.prototype.getMinResolution=Fv.prototype.Ob,Fv.prototype.getOpacity=Fv.prototype.Rb,Fv.prototype.getVisible=Fv.prototype.rb,Fv.prototype.getZIndex=Fv.prototype.Sb,Fv.prototype.setExtent=Fv.prototype.cc,Fv.prototype.setMaxResolution=Fv.prototype.kc,Fv.prototype.setMinResolution=Fv.prototype.lc,Fv.prototype.setOpacity=Fv.prototype.dc,Fv.prototype.setVisible=Fv.prototype.ec,Fv.prototype.setZIndex=Fv.prototype.fc,Fv.prototype.get=Fv.prototype.get,Fv.prototype.getKeys=Fv.prototype.P,Fv.prototype.getProperties=Fv.prototype.R,Fv.prototype.set=Fv.prototype.set,Fv.prototype.setProperties=Fv.prototype.I,Fv.prototype.unset=Fv.prototype.S,Fv.prototype.changed=Fv.prototype.u,Fv.prototype.dispatchEvent=Fv.prototype.s,Fv.prototype.getRevision=Fv.prototype.L,Fv.prototype.on=Fv.prototype.H,Fv.prototype.once=Fv.prototype.M,Fv.prototype.un=Fv.prototype.K,Fv.prototype.unByKey=Fv.prototype.N,ba.prototype.setMap=ba.prototype.setMap,ba.prototype.setSource=ba.prototype.zc,ba.prototype.getExtent=ba.prototype.J,ba.prototype.getMaxResolution=ba.prototype.Nb,ba.prototype.getMinResolution=ba.prototype.Ob,ba.prototype.getOpacity=ba.prototype.Rb,ba.prototype.getVisible=ba.prototype.rb,ba.prototype.getZIndex=ba.prototype.Sb,ba.prototype.setExtent=ba.prototype.cc,ba.prototype.setMaxResolution=ba.prototype.kc,ba.prototype.setMinResolution=ba.prototype.lc,ba.prototype.setOpacity=ba.prototype.dc,ba.prototype.setVisible=ba.prototype.ec,ba.prototype.setZIndex=ba.prototype.fc,ba.prototype.get=ba.prototype.get,ba.prototype.getKeys=ba.prototype.P,ba.prototype.getProperties=ba.prototype.R,ba.prototype.set=ba.prototype.set,ba.prototype.setProperties=ba.prototype.I,ba.prototype.unset=ba.prototype.S,ba.prototype.changed=ba.prototype.u,ba.prototype.dispatchEvent=ba.prototype.s,ba.prototype.getRevision=ba.prototype.L,ba.prototype.on=ba.prototype.H,ba.prototype.once=ba.prototype.M,ba.prototype.un=ba.prototype.K,ba.prototype.unByKey=ba.prototype.N,ca.prototype.getExtent=ca.prototype.J,ca.prototype.getMaxResolution=ca.prototype.Nb,ca.prototype.getMinResolution=ca.prototype.Ob,ca.prototype.getOpacity=ca.prototype.Rb,ca.prototype.getVisible=ca.prototype.rb,ca.prototype.getZIndex=ca.prototype.Sb,ca.prototype.setExtent=ca.prototype.cc,ca.prototype.setMaxResolution=ca.prototype.kc,ca.prototype.setMinResolution=ca.prototype.lc,ca.prototype.setOpacity=ca.prototype.dc,ca.prototype.setVisible=ca.prototype.ec,ca.prototype.setZIndex=ca.prototype.fc,ca.prototype.get=ca.prototype.get,ca.prototype.getKeys=ca.prototype.P,ca.prototype.getProperties=ca.prototype.R,ca.prototype.set=ca.prototype.set,ca.prototype.setProperties=ca.prototype.I,ca.prototype.unset=ca.prototype.S,ca.prototype.changed=ca.prototype.u,ca.prototype.dispatchEvent=ca.prototype.s,ca.prototype.getRevision=ca.prototype.L,ca.prototype.on=ca.prototype.H,ca.prototype.once=ca.prototype.M,ca.prototype.un=ca.prototype.K,ca.prototype.unByKey=ca.prototype.N,ma.prototype.setMap=ma.prototype.setMap,ma.prototype.setSource=ma.prototype.zc,ma.prototype.getExtent=ma.prototype.J,ma.prototype.getMaxResolution=ma.prototype.Nb,ma.prototype.getMinResolution=ma.prototype.Ob,ma.prototype.getOpacity=ma.prototype.Rb,ma.prototype.getVisible=ma.prototype.rb,ma.prototype.getZIndex=ma.prototype.Sb,ma.prototype.setExtent=ma.prototype.cc,ma.prototype.setMaxResolution=ma.prototype.kc,ma.prototype.setMinResolution=ma.prototype.lc,ma.prototype.setOpacity=ma.prototype.dc,ma.prototype.setVisible=ma.prototype.ec,ma.prototype.setZIndex=ma.prototype.fc,ma.prototype.get=ma.prototype.get,ma.prototype.getKeys=ma.prototype.P,ma.prototype.getProperties=ma.prototype.R,ma.prototype.set=ma.prototype.set,ma.prototype.setProperties=ma.prototype.I,ma.prototype.unset=ma.prototype.S,ma.prototype.changed=ma.prototype.u,ma.prototype.dispatchEvent=ma.prototype.s,ma.prototype.getRevision=ma.prototype.L,ma.prototype.on=ma.prototype.H,ma.prototype.once=ma.prototype.M,ma.prototype.un=ma.prototype.K,ma.prototype.unByKey=ma.prototype.N,Fa.prototype.getStyle=Fa.prototype.C,Fa.prototype.getStyleFunction=Fa.prototype.D,Fa.prototype.setStyle=Fa.prototype.c,Fa.prototype.setMap=Fa.prototype.setMap,Fa.prototype.setSource=Fa.prototype.zc,Fa.prototype.getExtent=Fa.prototype.J,Fa.prototype.getMaxResolution=Fa.prototype.Nb,Fa.prototype.getMinResolution=Fa.prototype.Ob,Fa.prototype.getOpacity=Fa.prototype.Rb,Fa.prototype.getVisible=Fa.prototype.rb,Fa.prototype.getZIndex=Fa.prototype.Sb,Fa.prototype.setExtent=Fa.prototype.cc,Fa.prototype.setMaxResolution=Fa.prototype.kc,Fa.prototype.setMinResolution=Fa.prototype.lc,Fa.prototype.setOpacity=Fa.prototype.dc,Fa.prototype.setVisible=Fa.prototype.ec,Fa.prototype.setZIndex=Fa.prototype.fc,Fa.prototype.get=Fa.prototype.get,Fa.prototype.getKeys=Fa.prototype.P,Fa.prototype.getProperties=Fa.prototype.R,Fa.prototype.set=Fa.prototype.set,Fa.prototype.setProperties=Fa.prototype.I,Fa.prototype.unset=Fa.prototype.S,Fa.prototype.changed=Fa.prototype.u,Fa.prototype.dispatchEvent=Fa.prototype.s,Fa.prototype.getRevision=Fa.prototype.L,Fa.prototype.on=Fa.prototype.H,Fa.prototype.once=Fa.prototype.M,Fa.prototype.un=Fa.prototype.K,Fa.prototype.unByKey=Fa.prototype.N,bp.prototype.get=bp.prototype.get,bp.prototype.getKeys=bp.prototype.P,bp.prototype.getProperties=bp.prototype.R,bp.prototype.set=bp.prototype.set,bp.prototype.setProperties=bp.prototype.I,bp.prototype.unset=bp.prototype.S,bp.prototype.changed=bp.prototype.u,bp.prototype.dispatchEvent=bp.prototype.s,bp.prototype.getRevision=bp.prototype.L,bp.prototype.on=bp.prototype.H,bp.prototype.once=bp.prototype.M,bp.prototype.un=bp.prototype.K,bp.prototype.unByKey=bp.prototype.N,Sp.prototype.getActive=Sp.prototype.b,Sp.prototype.getMap=Sp.prototype.i,Sp.prototype.setActive=Sp.prototype.g,Sp.prototype.get=Sp.prototype.get,Sp.prototype.getKeys=Sp.prototype.P,Sp.prototype.getProperties=Sp.prototype.R,Sp.prototype.set=Sp.prototype.set,Sp.prototype.setProperties=Sp.prototype.I,Sp.prototype.unset=Sp.prototype.S,Sp.prototype.changed=Sp.prototype.u,Sp.prototype.dispatchEvent=Sp.prototype.s,Sp.prototype.getRevision=Sp.prototype.L,Sp.prototype.on=Sp.prototype.H,Sp.prototype.once=Sp.prototype.M,Sp.prototype.un=Sp.prototype.K,Sp.prototype.unByKey=Sp.prototype.N,Bd.prototype.getActive=Bd.prototype.b,Bd.prototype.getMap=Bd.prototype.i,Bd.prototype.setActive=Bd.prototype.g,Bd.prototype.get=Bd.prototype.get,Bd.prototype.getKeys=Bd.prototype.P,Bd.prototype.getProperties=Bd.prototype.R,Bd.prototype.set=Bd.prototype.set,Bd.prototype.setProperties=Bd.prototype.I,Bd.prototype.unset=Bd.prototype.S,Bd.prototype.changed=Bd.prototype.u,Bd.prototype.dispatchEvent=Bd.prototype.s,Bd.prototype.getRevision=Bd.prototype.L,Bd.prototype.on=Bd.prototype.H,Bd.prototype.once=Bd.prototype.M,Bd.prototype.un=Bd.prototype.K,Bd.prototype.unByKey=Bd.prototype.N,Ip.prototype.getActive=Ip.prototype.b,Ip.prototype.getMap=Ip.prototype.i,Ip.prototype.setActive=Ip.prototype.g,Ip.prototype.get=Ip.prototype.get,Ip.prototype.getKeys=Ip.prototype.P,Ip.prototype.getProperties=Ip.prototype.R,Ip.prototype.set=Ip.prototype.set,Ip.prototype.setProperties=Ip.prototype.I,Ip.prototype.unset=Ip.prototype.S,Ip.prototype.changed=Ip.prototype.u,Ip.prototype.dispatchEvent=Ip.prototype.s,Ip.prototype.getRevision=Ip.prototype.L,Ip.prototype.on=Ip.prototype.H,Ip.prototype.once=Ip.prototype.M,Ip.prototype.un=Ip.prototype.K,Ip.prototype.unByKey=Ip.prototype.N,zp.prototype.getActive=zp.prototype.b,zp.prototype.getMap=zp.prototype.i,zp.prototype.setActive=zp.prototype.g,zp.prototype.get=zp.prototype.get,zp.prototype.getKeys=zp.prototype.P,zp.prototype.getProperties=zp.prototype.R,zp.prototype.set=zp.prototype.set,zp.prototype.setProperties=zp.prototype.I,zp.prototype.unset=zp.prototype.S,zp.prototype.changed=zp.prototype.u,zp.prototype.dispatchEvent=zp.prototype.s,zp.prototype.getRevision=zp.prototype.L,zp.prototype.on=zp.prototype.H,zp.prototype.once=zp.prototype.M,zp.prototype.un=zp.prototype.K,zp.prototype.unByKey=zp.prototype.N,Fp.prototype.getActive=Fp.prototype.b,Fp.prototype.getMap=Fp.prototype.i,Fp.prototype.setActive=Fp.prototype.g,Fp.prototype.get=Fp.prototype.get,Fp.prototype.getKeys=Fp.prototype.P,Fp.prototype.getProperties=Fp.prototype.R,Fp.prototype.set=Fp.prototype.set,Fp.prototype.setProperties=Fp.prototype.I,Fp.prototype.unset=Fp.prototype.S,Fp.prototype.changed=Fp.prototype.u,Fp.prototype.dispatchEvent=Fp.prototype.s,Fp.prototype.getRevision=Fp.prototype.L,Fp.prototype.on=Fp.prototype.H,Fp.prototype.once=Fp.prototype.M,Fp.prototype.un=Fp.prototype.K,Fp.prototype.unByKey=Fp.prototype.N,Kd.prototype.getActive=Kd.prototype.b,Kd.prototype.getMap=Kd.prototype.i,Kd.prototype.setActive=Kd.prototype.g,Kd.prototype.get=Kd.prototype.get,Kd.prototype.getKeys=Kd.prototype.P,Kd.prototype.getProperties=Kd.prototype.R,Kd.prototype.set=Kd.prototype.set,Kd.prototype.setProperties=Kd.prototype.I,Kd.prototype.unset=Kd.prototype.S,Kd.prototype.changed=Kd.prototype.u,Kd.prototype.dispatchEvent=Kd.prototype.s,Kd.prototype.getRevision=Kd.prototype.L,Kd.prototype.on=Kd.prototype.H,Kd.prototype.once=Kd.prototype.M,Kd.prototype.un=Kd.prototype.K,Kd.prototype.unByKey=Kd.prototype.N,Up.prototype.getActive=Up.prototype.b,Up.prototype.getMap=Up.prototype.i,Up.prototype.setActive=Up.prototype.g,Up.prototype.get=Up.prototype.get,Up.prototype.getKeys=Up.prototype.P,Up.prototype.getProperties=Up.prototype.R,Up.prototype.set=Up.prototype.set,Up.prototype.setProperties=Up.prototype.I,Up.prototype.unset=Up.prototype.S,Up.prototype.changed=Up.prototype.u,Up.prototype.dispatchEvent=Up.prototype.s,Up.prototype.getRevision=Up.prototype.L,Up.prototype.on=Up.prototype.H,Up.prototype.once=Up.prototype.M,Up.prototype.un=Up.prototype.K,Up.prototype.unByKey=Up.prototype.N,qp.prototype.getGeometry=qp.prototype.X,qp.prototype.getActive=qp.prototype.b,qp.prototype.getMap=qp.prototype.i,qp.prototype.setActive=qp.prototype.g,qp.prototype.get=qp.prototype.get,qp.prototype.getKeys=qp.prototype.P,qp.prototype.getProperties=qp.prototype.R,qp.prototype.set=qp.prototype.set,qp.prototype.setProperties=qp.prototype.I,qp.prototype.unset=qp.prototype.S,qp.prototype.changed=qp.prototype.u,qp.prototype.dispatchEvent=qp.prototype.s,qp.prototype.getRevision=qp.prototype.L,qp.prototype.on=qp.prototype.H,qp.prototype.once=qp.prototype.M,qp.prototype.un=qp.prototype.K,qp.prototype.unByKey=qp.prototype.N,Zd.prototype.getActive=Zd.prototype.b,Zd.prototype.getMap=Zd.prototype.i,Zd.prototype.setActive=Zd.prototype.g,Zd.prototype.get=Zd.prototype.get,Zd.prototype.getKeys=Zd.prototype.P,Zd.prototype.getProperties=Zd.prototype.R,Zd.prototype.set=Zd.prototype.set,Zd.prototype.setProperties=Zd.prototype.I,Zd.prototype.unset=Zd.prototype.S,Zd.prototype.changed=Zd.prototype.u,Zd.prototype.dispatchEvent=Zd.prototype.s,Zd.prototype.getRevision=Zd.prototype.L,Zd.prototype.on=Zd.prototype.H,Zd.prototype.once=Zd.prototype.M,Zd.prototype.un=Zd.prototype.K,Zd.prototype.unByKey=Zd.prototype.N,$p.prototype.getActive=$p.prototype.b,$p.prototype.getMap=$p.prototype.i,$p.prototype.setActive=$p.prototype.g,$p.prototype.get=$p.prototype.get,$p.prototype.getKeys=$p.prototype.P,$p.prototype.getProperties=$p.prototype.R,$p.prototype.set=$p.prototype.set,$p.prototype.setProperties=$p.prototype.I,$p.prototype.unset=$p.prototype.S,$p.prototype.changed=$p.prototype.u,$p.prototype.dispatchEvent=$p.prototype.s,$p.prototype.getRevision=$p.prototype.L,$p.prototype.on=$p.prototype.H,$p.prototype.once=$p.prototype.M,$p.prototype.un=$p.prototype.K,$p.prototype.unByKey=$p.prototype.N,Qp.prototype.getActive=Qp.prototype.b,Qp.prototype.getMap=Qp.prototype.i,Qp.prototype.setActive=Qp.prototype.g,Qp.prototype.get=Qp.prototype.get,Qp.prototype.getKeys=Qp.prototype.P,Qp.prototype.getProperties=Qp.prototype.R,Qp.prototype.set=Qp.prototype.set,Qp.prototype.setProperties=Qp.prototype.I,Qp.prototype.unset=Qp.prototype.S,Qp.prototype.changed=Qp.prototype.u,Qp.prototype.dispatchEvent=Qp.prototype.s,Qp.prototype.getRevision=Qp.prototype.L,Qp.prototype.on=Qp.prototype.H,Qp.prototype.once=Qp.prototype.M,Qp.prototype.un=Qp.prototype.K,Qp.prototype.unByKey=Qp.prototype.N,sv.prototype.getActive=sv.prototype.b,sv.prototype.getMap=sv.prototype.i,sv.prototype.setActive=sv.prototype.g,sv.prototype.get=sv.prototype.get,sv.prototype.getKeys=sv.prototype.P,sv.prototype.getProperties=sv.prototype.R,sv.prototype.set=sv.prototype.set,sv.prototype.setProperties=sv.prototype.I,sv.prototype.unset=sv.prototype.S,sv.prototype.changed=sv.prototype.u,sv.prototype.dispatchEvent=sv.prototype.s,sv.prototype.getRevision=sv.prototype.L,sv.prototype.on=sv.prototype.H,sv.prototype.once=sv.prototype.M,sv.prototype.un=sv.prototype.K,sv.prototype.unByKey=sv.prototype.N,ea.prototype.getActive=ea.prototype.b,ea.prototype.getMap=ea.prototype.i,ea.prototype.setActive=ea.prototype.g,ea.prototype.get=ea.prototype.get,ea.prototype.getKeys=ea.prototype.P,ea.prototype.getProperties=ea.prototype.R,ea.prototype.set=ea.prototype.set,ea.prototype.setProperties=ea.prototype.I,ea.prototype.unset=ea.prototype.S,ea.prototype.changed=ea.prototype.u,ea.prototype.dispatchEvent=ea.prototype.s,ea.prototype.getRevision=ea.prototype.L,ea.prototype.on=ea.prototype.H,ea.prototype.once=ea.prototype.M,ea.prototype.un=ea.prototype.K,ea.prototype.unByKey=ea.prototype.N,ia.prototype.getActive=ia.prototype.b,ia.prototype.getMap=ia.prototype.i,ia.prototype.setActive=ia.prototype.g,ia.prototype.get=ia.prototype.get,ia.prototype.getKeys=ia.prototype.P,ia.prototype.getProperties=ia.prototype.R,ia.prototype.set=ia.prototype.set,ia.prototype.setProperties=ia.prototype.I,ia.prototype.unset=ia.prototype.S,ia.prototype.changed=ia.prototype.u,ia.prototype.dispatchEvent=ia.prototype.s,ia.prototype.getRevision=ia.prototype.L,ia.prototype.on=ia.prototype.H,ia.prototype.once=ia.prototype.M,ia.prototype.un=ia.prototype.K,ia.prototype.unByKey=ia.prototype.N,pa.prototype.getActive=pa.prototype.b,pa.prototype.getMap=pa.prototype.i,pa.prototype.setActive=pa.prototype.g,pa.prototype.get=pa.prototype.get,pa.prototype.getKeys=pa.prototype.P,pa.prototype.getProperties=pa.prototype.R,pa.prototype.set=pa.prototype.set,
  pa.prototype.setProperties=pa.prototype.I,pa.prototype.unset=pa.prototype.S,pa.prototype.changed=pa.prototype.u,pa.prototype.dispatchEvent=pa.prototype.s,pa.prototype.getRevision=pa.prototype.L,pa.prototype.on=pa.prototype.H,pa.prototype.once=pa.prototype.M,pa.prototype.un=pa.prototype.K,pa.prototype.unByKey=pa.prototype.N,wv.prototype.getActive=wv.prototype.b,wv.prototype.getMap=wv.prototype.i,wv.prototype.setActive=wv.prototype.g,wv.prototype.get=wv.prototype.get,wv.prototype.getKeys=wv.prototype.P,wv.prototype.getProperties=wv.prototype.R,wv.prototype.set=wv.prototype.set,wv.prototype.setProperties=wv.prototype.I,wv.prototype.unset=wv.prototype.S,wv.prototype.changed=wv.prototype.u,wv.prototype.dispatchEvent=wv.prototype.s,wv.prototype.getRevision=wv.prototype.L,wv.prototype.on=wv.prototype.H,wv.prototype.once=wv.prototype.M,wv.prototype.un=wv.prototype.K,wv.prototype.unByKey=wv.prototype.N,Mv.prototype.getActive=Mv.prototype.b,Mv.prototype.getMap=Mv.prototype.i,Mv.prototype.setActive=Mv.prototype.g,Mv.prototype.get=Mv.prototype.get,Mv.prototype.getKeys=Mv.prototype.P,Mv.prototype.getProperties=Mv.prototype.R,Mv.prototype.set=Mv.prototype.set,Mv.prototype.setProperties=Mv.prototype.I,Mv.prototype.unset=Mv.prototype.S,Mv.prototype.changed=Mv.prototype.u,Mv.prototype.dispatchEvent=Mv.prototype.s,Mv.prototype.getRevision=Mv.prototype.L,Mv.prototype.on=Mv.prototype.H,Mv.prototype.once=Mv.prototype.M,Mv.prototype.un=Mv.prototype.K,Mv.prototype.unByKey=Mv.prototype.N,Av.prototype.getActive=Av.prototype.b,Av.prototype.getMap=Av.prototype.i,Av.prototype.setActive=Av.prototype.g,Av.prototype.get=Av.prototype.get,Av.prototype.getKeys=Av.prototype.P,Av.prototype.getProperties=Av.prototype.R,Av.prototype.set=Av.prototype.set,Av.prototype.setProperties=Av.prototype.I,Av.prototype.unset=Av.prototype.S,Av.prototype.changed=Av.prototype.u,Av.prototype.dispatchEvent=Av.prototype.s,Av.prototype.getRevision=Av.prototype.L,Av.prototype.on=Av.prototype.H,Av.prototype.once=Av.prototype.M,Av.prototype.un=Av.prototype.K,Av.prototype.unByKey=Av.prototype.N,Oo.prototype.get=Oo.prototype.get,Oo.prototype.getKeys=Oo.prototype.P,Oo.prototype.getProperties=Oo.prototype.R,Oo.prototype.set=Oo.prototype.set,Oo.prototype.setProperties=Oo.prototype.I,Oo.prototype.unset=Oo.prototype.S,Oo.prototype.changed=Oo.prototype.u,Oo.prototype.dispatchEvent=Oo.prototype.s,Oo.prototype.getRevision=Oo.prototype.L,Oo.prototype.on=Oo.prototype.H,Oo.prototype.once=Oo.prototype.M,Oo.prototype.un=Oo.prototype.K,Oo.prototype.unByKey=Oo.prototype.N,Bo.prototype.getClosestPoint=Bo.prototype.qb,Bo.prototype.getExtent=Bo.prototype.J,Bo.prototype.simplify=Bo.prototype.xb,Bo.prototype.transform=Bo.prototype.lb,Bo.prototype.get=Bo.prototype.get,Bo.prototype.getKeys=Bo.prototype.P,Bo.prototype.getProperties=Bo.prototype.R,Bo.prototype.set=Bo.prototype.set,Bo.prototype.setProperties=Bo.prototype.I,Bo.prototype.unset=Bo.prototype.S,Bo.prototype.changed=Bo.prototype.u,Bo.prototype.dispatchEvent=Bo.prototype.s,Bo.prototype.getRevision=Bo.prototype.L,Bo.prototype.on=Bo.prototype.H,Bo.prototype.once=Bo.prototype.M,Bo.prototype.un=Bo.prototype.K,Bo.prototype.unByKey=Bo.prototype.N,yd.prototype.getFirstCoordinate=yd.prototype.Kb,yd.prototype.getLastCoordinate=yd.prototype.Lb,yd.prototype.getLayout=yd.prototype.Mb,yd.prototype.getClosestPoint=yd.prototype.qb,yd.prototype.getExtent=yd.prototype.J,yd.prototype.simplify=yd.prototype.xb,yd.prototype.get=yd.prototype.get,yd.prototype.getKeys=yd.prototype.P,yd.prototype.getProperties=yd.prototype.R,yd.prototype.set=yd.prototype.set,yd.prototype.setProperties=yd.prototype.I,yd.prototype.unset=yd.prototype.S,yd.prototype.changed=yd.prototype.u,yd.prototype.dispatchEvent=yd.prototype.s,yd.prototype.getRevision=yd.prototype.L,yd.prototype.on=yd.prototype.H,yd.prototype.once=yd.prototype.M,yd.prototype.un=yd.prototype.K,yd.prototype.unByKey=yd.prototype.N,Uy.prototype.getClosestPoint=Uy.prototype.qb,Uy.prototype.getExtent=Uy.prototype.J,Uy.prototype.simplify=Uy.prototype.xb,Uy.prototype.transform=Uy.prototype.lb,Uy.prototype.get=Uy.prototype.get,Uy.prototype.getKeys=Uy.prototype.P,Uy.prototype.getProperties=Uy.prototype.R,Uy.prototype.set=Uy.prototype.set,Uy.prototype.setProperties=Uy.prototype.I,Uy.prototype.unset=Uy.prototype.S,Uy.prototype.changed=Uy.prototype.u,Uy.prototype.dispatchEvent=Uy.prototype.s,Uy.prototype.getRevision=Uy.prototype.L,Uy.prototype.on=Uy.prototype.H,Uy.prototype.once=Uy.prototype.M,Uy.prototype.un=Uy.prototype.K,Uy.prototype.unByKey=Uy.prototype.N,ii.prototype.getFirstCoordinate=ii.prototype.Kb,ii.prototype.getLastCoordinate=ii.prototype.Lb,ii.prototype.getLayout=ii.prototype.Mb,ii.prototype.getClosestPoint=ii.prototype.qb,ii.prototype.getExtent=ii.prototype.J,ii.prototype.simplify=ii.prototype.xb,ii.prototype.transform=ii.prototype.lb,ii.prototype.get=ii.prototype.get,ii.prototype.getKeys=ii.prototype.P,ii.prototype.getProperties=ii.prototype.R,ii.prototype.set=ii.prototype.set,ii.prototype.setProperties=ii.prototype.I,ii.prototype.unset=ii.prototype.S,ii.prototype.changed=ii.prototype.u,ii.prototype.dispatchEvent=ii.prototype.s,ii.prototype.getRevision=ii.prototype.L,ii.prototype.on=ii.prototype.H,ii.prototype.once=ii.prototype.M,ii.prototype.un=ii.prototype.K,ii.prototype.unByKey=ii.prototype.N,Sy.prototype.getFirstCoordinate=Sy.prototype.Kb,Sy.prototype.getLastCoordinate=Sy.prototype.Lb,Sy.prototype.getLayout=Sy.prototype.Mb,Sy.prototype.getClosestPoint=Sy.prototype.qb,Sy.prototype.getExtent=Sy.prototype.J,Sy.prototype.simplify=Sy.prototype.xb,Sy.prototype.transform=Sy.prototype.lb,Sy.prototype.get=Sy.prototype.get,Sy.prototype.getKeys=Sy.prototype.P,Sy.prototype.getProperties=Sy.prototype.R,Sy.prototype.set=Sy.prototype.set,Sy.prototype.setProperties=Sy.prototype.I,Sy.prototype.unset=Sy.prototype.S,Sy.prototype.changed=Sy.prototype.u,Sy.prototype.dispatchEvent=Sy.prototype.s,Sy.prototype.getRevision=Sy.prototype.L,Sy.prototype.on=Sy.prototype.H,Sy.prototype.once=Sy.prototype.M,Sy.prototype.un=Sy.prototype.K,Sy.prototype.unByKey=Sy.prototype.N,Py.prototype.getFirstCoordinate=Py.prototype.Kb,Py.prototype.getLastCoordinate=Py.prototype.Lb,Py.prototype.getLayout=Py.prototype.Mb,Py.prototype.getClosestPoint=Py.prototype.qb,Py.prototype.getExtent=Py.prototype.J,Py.prototype.simplify=Py.prototype.xb,Py.prototype.transform=Py.prototype.lb,Py.prototype.get=Py.prototype.get,Py.prototype.getKeys=Py.prototype.P,Py.prototype.getProperties=Py.prototype.R,Py.prototype.set=Py.prototype.set,Py.prototype.setProperties=Py.prototype.I,Py.prototype.unset=Py.prototype.S,Py.prototype.changed=Py.prototype.u,Py.prototype.dispatchEvent=Py.prototype.s,Py.prototype.getRevision=Py.prototype.L,Py.prototype.on=Py.prototype.H,Py.prototype.once=Py.prototype.M,Py.prototype.un=Py.prototype.K,Py.prototype.unByKey=Py.prototype.N,jy.prototype.getFirstCoordinate=jy.prototype.Kb,jy.prototype.getLastCoordinate=jy.prototype.Lb,jy.prototype.getLayout=jy.prototype.Mb,jy.prototype.getClosestPoint=jy.prototype.qb,jy.prototype.getExtent=jy.prototype.J,jy.prototype.simplify=jy.prototype.xb,jy.prototype.transform=jy.prototype.lb,jy.prototype.get=jy.prototype.get,jy.prototype.getKeys=jy.prototype.P,jy.prototype.getProperties=jy.prototype.R,jy.prototype.set=jy.prototype.set,jy.prototype.setProperties=jy.prototype.I,jy.prototype.unset=jy.prototype.S,jy.prototype.changed=jy.prototype.u,jy.prototype.dispatchEvent=jy.prototype.s,jy.prototype.getRevision=jy.prototype.L,jy.prototype.on=jy.prototype.H,jy.prototype.once=jy.prototype.M,jy.prototype.un=jy.prototype.K,jy.prototype.unByKey=jy.prototype.N,Ay.prototype.getFirstCoordinate=Ay.prototype.Kb,Ay.prototype.getLastCoordinate=Ay.prototype.Lb,Ay.prototype.getLayout=Ay.prototype.Mb,Ay.prototype.getClosestPoint=Ay.prototype.qb,Ay.prototype.getExtent=Ay.prototype.J,Ay.prototype.simplify=Ay.prototype.xb,Ay.prototype.transform=Ay.prototype.lb,Ay.prototype.get=Ay.prototype.get,Ay.prototype.getKeys=Ay.prototype.P,Ay.prototype.getProperties=Ay.prototype.R,Ay.prototype.set=Ay.prototype.set,Ay.prototype.setProperties=Ay.prototype.I,Ay.prototype.unset=Ay.prototype.S,Ay.prototype.changed=Ay.prototype.u,Ay.prototype.dispatchEvent=Ay.prototype.s,Ay.prototype.getRevision=Ay.prototype.L,Ay.prototype.on=Ay.prototype.H,Ay.prototype.once=Ay.prototype.M,Ay.prototype.un=Ay.prototype.K,Ay.prototype.unByKey=Ay.prototype.N,ni.prototype.getFirstCoordinate=ni.prototype.Kb,ni.prototype.getLastCoordinate=ni.prototype.Lb,ni.prototype.getLayout=ni.prototype.Mb,ni.prototype.getClosestPoint=ni.prototype.qb,ni.prototype.getExtent=ni.prototype.J,ni.prototype.simplify=ni.prototype.xb,ni.prototype.transform=ni.prototype.lb,ni.prototype.get=ni.prototype.get,ni.prototype.getKeys=ni.prototype.P,ni.prototype.getProperties=ni.prototype.R,ni.prototype.set=ni.prototype.set,ni.prototype.setProperties=ni.prototype.I,ni.prototype.unset=ni.prototype.S,ni.prototype.changed=ni.prototype.u,ni.prototype.dispatchEvent=ni.prototype.s,ni.prototype.getRevision=ni.prototype.L,ni.prototype.on=ni.prototype.H,ni.prototype.once=ni.prototype.M,ni.prototype.un=ni.prototype.K,ni.prototype.unByKey=ni.prototype.N,vi.prototype.getFirstCoordinate=vi.prototype.Kb,vi.prototype.getLastCoordinate=vi.prototype.Lb,vi.prototype.getLayout=vi.prototype.Mb,vi.prototype.getClosestPoint=vi.prototype.qb,vi.prototype.getExtent=vi.prototype.J,vi.prototype.simplify=vi.prototype.xb,vi.prototype.transform=vi.prototype.lb,vi.prototype.get=vi.prototype.get,vi.prototype.getKeys=vi.prototype.P,vi.prototype.getProperties=vi.prototype.R,vi.prototype.set=vi.prototype.set,vi.prototype.setProperties=vi.prototype.I,vi.prototype.unset=vi.prototype.S,vi.prototype.changed=vi.prototype.u,vi.prototype.dispatchEvent=vi.prototype.s,vi.prototype.getRevision=vi.prototype.L,vi.prototype.on=vi.prototype.H,vi.prototype.once=vi.prototype.M,vi.prototype.un=vi.prototype.K,vi.prototype.unByKey=vi.prototype.N,af.prototype.readFeatures=af.prototype.Ba,hf.prototype.readFeatures=hf.prototype.Ba,hf.prototype.readFeatures=hf.prototype.Ba,Kr.prototype.get=Kr.prototype.get,Kr.prototype.getKeys=Kr.prototype.P,Kr.prototype.getProperties=Kr.prototype.R,Kr.prototype.set=Kr.prototype.set,Kr.prototype.setProperties=Kr.prototype.I,Kr.prototype.unset=Kr.prototype.S,Kr.prototype.changed=Kr.prototype.u,Kr.prototype.dispatchEvent=Kr.prototype.s,Kr.prototype.getRevision=Kr.prototype.L,Kr.prototype.on=Kr.prototype.H,Kr.prototype.once=Kr.prototype.M,Kr.prototype.un=Kr.prototype.K,Kr.prototype.unByKey=Kr.prototype.N,vn.prototype.getMap=vn.prototype.g,vn.prototype.setMap=vn.prototype.setMap,vn.prototype.setTarget=vn.prototype.c,vn.prototype.get=vn.prototype.get,vn.prototype.getKeys=vn.prototype.P,vn.prototype.getProperties=vn.prototype.R,vn.prototype.set=vn.prototype.set,vn.prototype.setProperties=vn.prototype.I,vn.prototype.unset=vn.prototype.S,vn.prototype.changed=vn.prototype.u,vn.prototype.dispatchEvent=vn.prototype.s,vn.prototype.getRevision=vn.prototype.L,vn.prototype.on=vn.prototype.H,vn.prototype.once=vn.prototype.M,vn.prototype.un=vn.prototype.K,vn.prototype.unByKey=vn.prototype.N,jn.prototype.getMap=jn.prototype.g,jn.prototype.setMap=jn.prototype.setMap,jn.prototype.setTarget=jn.prototype.c,jn.prototype.get=jn.prototype.get,jn.prototype.getKeys=jn.prototype.P,jn.prototype.getProperties=jn.prototype.R,jn.prototype.set=jn.prototype.set,jn.prototype.setProperties=jn.prototype.I,jn.prototype.unset=jn.prototype.S,jn.prototype.changed=jn.prototype.u,jn.prototype.dispatchEvent=jn.prototype.s,jn.prototype.getRevision=jn.prototype.L,jn.prototype.on=jn.prototype.H,jn.prototype.once=jn.prototype.M,jn.prototype.un=jn.prototype.K,jn.prototype.unByKey=jn.prototype.N,An.prototype.getMap=An.prototype.g,An.prototype.setMap=An.prototype.setMap,An.prototype.setTarget=An.prototype.c,An.prototype.get=An.prototype.get,An.prototype.getKeys=An.prototype.P,An.prototype.getProperties=An.prototype.R,An.prototype.set=An.prototype.set,An.prototype.setProperties=An.prototype.I,An.prototype.unset=An.prototype.S,An.prototype.changed=An.prototype.u,An.prototype.dispatchEvent=An.prototype.s,An.prototype.getRevision=An.prototype.L,An.prototype.on=An.prototype.H,An.prototype.once=An.prototype.M,An.prototype.un=An.prototype.K,An.prototype.unByKey=An.prototype.N,Wc.prototype.getMap=Wc.prototype.g,Wc.prototype.setMap=Wc.prototype.setMap,Wc.prototype.setTarget=Wc.prototype.c,Wc.prototype.get=Wc.prototype.get,Wc.prototype.getKeys=Wc.prototype.P,Wc.prototype.getProperties=Wc.prototype.R,Wc.prototype.set=Wc.prototype.set,Wc.prototype.setProperties=Wc.prototype.I,Wc.prototype.unset=Wc.prototype.S,Wc.prototype.changed=Wc.prototype.u,Wc.prototype.dispatchEvent=Wc.prototype.s,Wc.prototype.getRevision=Wc.prototype.L,Wc.prototype.on=Wc.prototype.H,Wc.prototype.once=Wc.prototype.M,Wc.prototype.un=Wc.prototype.K,Wc.prototype.unByKey=Wc.prototype.N,wn.prototype.getMap=wn.prototype.g,wn.prototype.setMap=wn.prototype.setMap,wn.prototype.setTarget=wn.prototype.c,wn.prototype.get=wn.prototype.get,wn.prototype.getKeys=wn.prototype.P,wn.prototype.getProperties=wn.prototype.R,wn.prototype.set=wn.prototype.set,wn.prototype.setProperties=wn.prototype.I,wn.prototype.unset=wn.prototype.S,wn.prototype.changed=wn.prototype.u,wn.prototype.dispatchEvent=wn.prototype.s,wn.prototype.getRevision=wn.prototype.L,wn.prototype.on=wn.prototype.H,wn.prototype.once=wn.prototype.M,wn.prototype.un=wn.prototype.K,wn.prototype.unByKey=wn.prototype.N,qc.prototype.getMap=qc.prototype.g,qc.prototype.setMap=qc.prototype.setMap,qc.prototype.setTarget=qc.prototype.c,qc.prototype.get=qc.prototype.get,qc.prototype.getKeys=qc.prototype.P,qc.prototype.getProperties=qc.prototype.R,qc.prototype.set=qc.prototype.set,qc.prototype.setProperties=qc.prototype.I,qc.prototype.unset=qc.prototype.S,qc.prototype.changed=qc.prototype.u,qc.prototype.dispatchEvent=qc.prototype.s,qc.prototype.getRevision=qc.prototype.L,qc.prototype.on=qc.prototype.H,qc.prototype.once=qc.prototype.M,qc.prototype.un=qc.prototype.K,qc.prototype.unByKey=qc.prototype.N,Sn.prototype.getMap=Sn.prototype.g,Sn.prototype.setMap=Sn.prototype.setMap,Sn.prototype.setTarget=Sn.prototype.c,Sn.prototype.get=Sn.prototype.get,Sn.prototype.getKeys=Sn.prototype.P,Sn.prototype.getProperties=Sn.prototype.R,Sn.prototype.set=Sn.prototype.set,Sn.prototype.setProperties=Sn.prototype.I,Sn.prototype.unset=Sn.prototype.S,Sn.prototype.changed=Sn.prototype.u,Sn.prototype.dispatchEvent=Sn.prototype.s,Sn.prototype.getRevision=Sn.prototype.L,Sn.prototype.on=Sn.prototype.H,Sn.prototype.once=Sn.prototype.M,Sn.prototype.un=Sn.prototype.K,Sn.prototype.unByKey=Sn.prototype.N,py.prototype.getMap=py.prototype.g,py.prototype.setMap=py.prototype.setMap,py.prototype.setTarget=py.prototype.c,py.prototype.get=py.prototype.get,py.prototype.getKeys=py.prototype.P,py.prototype.getProperties=py.prototype.R,py.prototype.set=py.prototype.set,py.prototype.setProperties=py.prototype.I,py.prototype.unset=py.prototype.S,py.prototype.changed=py.prototype.u,py.prototype.dispatchEvent=py.prototype.s,py.prototype.getRevision=py.prototype.L,py.prototype.on=py.prototype.H,py.prototype.once=py.prototype.M,py.prototype.un=py.prototype.K,py.prototype.unByKey=py.prototype.N,uy.prototype.getMap=uy.prototype.g,uy.prototype.setMap=uy.prototype.setMap,uy.prototype.setTarget=uy.prototype.c,uy.prototype.get=uy.prototype.get,uy.prototype.getKeys=uy.prototype.P,uy.prototype.getProperties=uy.prototype.R,uy.prototype.set=uy.prototype.set,uy.prototype.setProperties=uy.prototype.I,uy.prototype.unset=uy.prototype.S,uy.prototype.changed=uy.prototype.u,uy.prototype.dispatchEvent=uy.prototype.s,uy.prototype.getRevision=uy.prototype.L,uy.prototype.on=uy.prototype.H,uy.prototype.once=uy.prototype.M,uy.prototype.un=uy.prototype.K,uy.prototype.unByKey=uy.prototype.N,Yb.ol}),this.Board_Map=function(){function t(t,e){null==e&&(e={}),this.canvas=t,this.opts=e,this.markerFeature=null,this.markerLayer=null,this.popup=null,this.render()}return t.prototype.render=function(){var t,o;if(t=this.opts.center||this.opts.marker||[138.252924,36.204824],this.map=new ol.Map({target:this.canvas,renderer:["canvas","dom"],layers:[new ol.layer.Tile({source:new ol.source.XYZ({url:"https://cyberjapandata.gsi.go.jp/xyz/std/{z}/{x}/{y}.png",projection:"EPSG:3857"})})],controls:ol.control.defaults({attributionOptions:{collapsible:!1}}),view:new ol.View({projection:"EPSG:3857",center:ol.proj.transform(t,"EPSG:4326","EPSG:3857"),maxZoom:18,zoom:this.opts.zoom||10}),logo:!1}),this.opts.gps&&this.setMarkerFromGps(),this.opts.marker&&this.setMarker(this.opts.marker),this.opts.popup&&this.initPopup(),!this.opts.readonly)return this.map.on("click",(o=this,function(t){var e;for(e=ol.proj.transform(t.coordinate,"EPSG:3857","EPSG:4326");e[0]<180;)e[0]+=360;for(;180<e[0];)e[0]-=360;o.setMarker(e)}))},t.prototype.initPopup=function(){var e,i,t;return $("body").append('<div id="marker-popup"><div class="closer"></div><div class="content"></div></div>'),this.popup=$("#marker-popup"),this.popup.hide(),this.popupOverlay=new ol.Overlay({element:this.popup.get(0),autoPan:!0,autoPanAnimation:{duration:250}}),this.map.addOverlay(this.popupOverlay),this.map.on("click",(e=this,function(t){return e.showPopup(t)})),this.map.on("pointermove",(i=this,function(t){var e,o;if(!t.dragging)return o=i.map.getEventPixel(t.originalEvent),e=i.map.hasFeatureAtPixel(o)?"pointer":"",i.map.getTarget().style.cursor=e;i.popup.hide()})),this.popup.find(".closer").on("click",(t=this,function(){return t.popupOverlay.setPosition(void 0),$(t).blur(),!1}))},t.prototype.showPopup=function(t){var e,o;if(e=this.map.forEachFeatureAtPixel(t.pixel,function(t){return t})){if(o=e.get("markerId"))return this.popup.find(".content").html($("#marker-html-"+o).html()),this.popup.show(),this.popupOverlay.setPosition(t.coordinate);this.popup.hide()}else this.popup.hide()},t.prototype.setCenter=function(t){this.map.getView().setCenter(ol.proj.transform([t[0],t[1]],"EPSG:4326","EPSG:3857")),this.map.getView().setZoom(16)},t.prototype.setMarker=function(t,e){var o,i,r;return null==e&&(e={}),this.markerFeature?this.markerFeature.setGeometry(new ol.geom.Point(ol.proj.transform(t,"EPSG:4326","EPSG:3857"))):(i=Googlemaps_Map.markerIcon,this.opts.image&&(i=this.opts.image),r=new ol.style.Style({image:new ol.style.Icon({anchor:[.5,1],anchorXUnits:"fraction",anchorYUnits:"fraction",src:i})}),this.markerFeature=new ol.Feature({geometry:new ol.geom.Point(ol.proj.transform(t,"EPSG:4326","EPSG:3857")),markerId:null!=(o=e.markerId)?o:null}),this.markerFeature.setStyle(r)),this.markerLayer||(this.markerLayer=new ol.layer.Vector({source:new ol.source.Vector({features:[this.markerFeature]})}),this.map.addLayer(this.markerLayer)),$(this.canvas).trigger("position:set",{position:t,zoom:this.map.getView().getZoom()})},t.prototype.addMarker=function(t,e){var o,i,r,n,s;return null==e&&(e={}),n=Googlemaps_Map.markerIcon,e.image&&(n=e.image),s=new ol.style.Style({image:new ol.style.Icon({anchor:[.5,1],anchorXUnits:"fraction",anchorYUnits:"fraction",src:n})}),(o=new ol.Feature({geometry:new ol.geom.Point(ol.proj.transform(t,"EPSG:4326","EPSG:3857")),markerId:null!=(r=e.markerId)?r:null})).setStyle(s),i=new ol.layer.Vector({source:new ol.source.Vector({features:[o]})}),this.map.addLayer(i)},t.prototype.resetMarker=function(){var e;return this.markerLayer&&((e=this.markerLayer.getSource()).forEachFeature(function(t){return e.removeFeature(t)}),this.map.removeLayer(this.markerLayer),this.markerFeature=null,this.markerLayer=null),$(this.canvas).trigger("position:unset")},t.prototype.setMarkerFromGps=function(){var e;navigator.geolocation&&navigator.geolocation.getCurrentPosition((e=this,function(t){e.setMarker([t.coords.longitude,t.coords.latitude]),e.setCenter([t.coords.longitude,t.coords.latitude])}))},t}();