// OpenLayers 3. See http://openlayers.org/
// License: https://raw.githubusercontent.com/openlayers/ol3/master/LICENSE.md
// Version: v3.10.1

(function (root, factory) {
  if (typeof exports === "object") {
    module.exports = factory();
  } else if (typeof define === "function" && define.amd) {
    define([], factory);
  } else {
    root.ol = factory();
  }
}(this, function () {
  var OPENLAYERS = {};
  var l,aa=aa||{},ba=this;function ca(a){return void 0!==a}function t(a,c,d){a=a.split(".");d=d||ba;a[0]in d||!d.execScript||d.execScript("var "+a[0]);for(var e;a.length&&(e=a.shift());)!a.length&&ca(c)?d[e]=c:d[e]?d=d[e]:d=d[e]={}}function da(){}function ea(a){a.Bb=function(){return a.eg?a.eg:a.eg=new a}}
function fa(a){var c=typeof a;if("object"==c)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return c;var d=Object.prototype.toString.call(a);if("[object Window]"==d)return"object";if("[object Array]"==d||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==d||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";
else if("function"==c&&"undefined"==typeof a.call)return"object";return c}function ga(a){return"array"==fa(a)}function ha(a){var c=fa(a);return"array"==c||"object"==c&&"number"==typeof a.length}function ia(a){return"string"==typeof a}function ja(a){return"number"==typeof a}function ka(a){return"function"==fa(a)}function la(a){var c=typeof a;return"object"==c&&null!=a||"function"==c}function v(a){return a[ma]||(a[ma]=++na)}var ma="closure_uid_"+(1E9*Math.random()>>>0),na=0;
function oa(a,c,d){return a.call.apply(a.bind,arguments)}function pa(a,c,d){if(!a)throw Error();if(2<arguments.length){var e=Array.prototype.slice.call(arguments,2);return function(){var d=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(d,e);return a.apply(c,d)}}return function(){return a.apply(c,arguments)}}function qa(a,c,d){qa=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?oa:pa;return qa.apply(null,arguments)}
function ra(a,c){var d=Array.prototype.slice.call(arguments,1);return function(){var c=d.slice();c.push.apply(c,arguments);return a.apply(this,c)}}var sa=Date.now||function(){return+new Date};function w(a,c){function d(){}d.prototype=c.prototype;a.ba=c.prototype;a.prototype=new d;a.prototype.constructor=a;a.Ao=function(a,d,g){for(var h=Array(arguments.length-2),k=2;k<arguments.length;k++)h[k-2]=arguments[k];return c.prototype[d].apply(a,h)}};var ta,ua;function wa(){};function xa(a){if(Error.captureStackTrace)Error.captureStackTrace(this,xa);else{var c=Error().stack;c&&(this.stack=c)}a&&(this.message=String(a))}w(xa,Error);xa.prototype.name="CustomError";var ya;function za(a,c){var d=a.length-c.length;return 0<=d&&a.indexOf(c,d)==d}function Aa(a,c){for(var d=a.split("%s"),e="",f=Array.prototype.slice.call(arguments,1);f.length&&1<d.length;)e+=d.shift()+f.shift();return e+d.join("%s")}var Ba=String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")};
function Ca(a){if(!Da.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(Ea,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(Fa,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(Ga,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(Ha,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(Ja,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(Ka,"&#0;"));return a}var Ea=/&/g,Fa=/</g,Ga=/>/g,Ha=/"/g,Ja=/'/g,Ka=/\x00/g,Da=/[\x00&<>"']/,La=String.prototype.repeat?function(a,c){return a.repeat(c)}:function(a,c){return Array(c+1).join(a)};
function Na(a){a=ca(void 0)?a.toFixed(void 0):String(a);var c=a.indexOf(".");-1==c&&(c=a.length);return La("0",Math.max(0,2-c))+a}
function Oa(a,c){for(var d=0,e=Ba(String(a)).split("."),f=Ba(String(c)).split("."),g=Math.max(e.length,f.length),h=0;0==d&&h<g;h++){var k=e[h]||"",m=f[h]||"",n=RegExp("(\\d*)(\\D*)","g"),p=RegExp("(\\d*)(\\D*)","g");do{var q=n.exec(k)||["","",""],r=p.exec(m)||["","",""];if(0==q[0].length&&0==r[0].length)break;d=Pa(0==q[1].length?0:parseInt(q[1],10),0==r[1].length?0:parseInt(r[1],10))||Pa(0==q[2].length,0==r[2].length)||Pa(q[2],r[2])}while(0==d)}return d}function Pa(a,c){return a<c?-1:a>c?1:0};function Qa(a,c,d){return Math.min(Math.max(a,c),d)}function Sa(a,c,d,e,f,g){var h=f-d,k=g-e;if(0!==h||0!==k){var m=((a-d)*h+(c-e)*k)/(h*h+k*k);1<m?(d=f,e=g):0<m&&(d+=h*m,e+=k*m)}return Ta(a,c,d,e)}function Ta(a,c,d,e){a=d-a;c=e-c;return a*a+c*c};function Ua(a){return function(c){if(c)return[Qa(c[0],a[0],a[2]),Qa(c[1],a[1],a[3])]}}function Va(a){return a};var Wa=Array.prototype;function Xa(a,c){return Wa.indexOf.call(a,c,void 0)}function Ya(a,c){Wa.forEach.call(a,c,void 0)}function Za(a,c){return Wa.filter.call(a,c,void 0)}function ab(a,c){return Wa.map.call(a,c,void 0)}function bb(a,c){return Wa.some.call(a,c,void 0)}function cb(a,c){var d=db(a,c,void 0);return 0>d?null:ia(a)?a.charAt(d):a[d]}function db(a,c,d){for(var e=a.length,f=ia(a)?a.split(""):a,g=0;g<e;g++)if(g in f&&c.call(d,f[g],g,a))return g;return-1}
function eb(a,c){var d=Xa(a,c),e;(e=0<=d)&&Wa.splice.call(a,d,1);return e}function fb(a){return Wa.concat.apply(Wa,arguments)}function gb(a){var c=a.length;if(0<c){for(var d=Array(c),e=0;e<c;e++)d[e]=a[e];return d}return[]}function hb(a,c){for(var d=1;d<arguments.length;d++){var e=arguments[d];if(ha(e)){var f=a.length||0,g=e.length||0;a.length=f+g;for(var h=0;h<g;h++)a[f+h]=e[h]}else a.push(e)}}function ib(a,c,d,e){Wa.splice.apply(a,jb(arguments,1))}
function jb(a,c,d){return 2>=arguments.length?Wa.slice.call(a,c):Wa.slice.call(a,c,d)}function kb(a,c){a.sort(c||lb)}function mb(a){for(var c=nb,d=0;d<a.length;d++)a[d]={index:d,value:a[d]};var e=c||lb;kb(a,function(a,c){return e(a.value,c.value)||a.index-c.index});for(d=0;d<a.length;d++)a[d]=a[d].value}function ob(a,c){if(!ha(a)||!ha(c)||a.length!=c.length)return!1;for(var d=a.length,e=qb,f=0;f<d;f++)if(!e(a[f],c[f]))return!1;return!0}function lb(a,c){return a>c?1:a<c?-1:0}
function qb(a,c){return a===c}function rb(a){for(var c=[],d=0;d<arguments.length;d++){var e=arguments[d];if(ga(e))for(var f=0;f<e.length;f+=8192)for(var g=rb.apply(null,jb(e,f,f+8192)),h=0;h<g.length;h++)c.push(g[h]);else c.push(e)}return c};function sb(a,c){return 0<=a.indexOf(c)}function tb(a,c,d){var e=a.length;if(a[0]<=c)return 0;if(!(c<=a[e-1]))if(0<d)for(d=1;d<e;++d){if(a[d]<c)return d-1}else if(0>d)for(d=1;d<e;++d){if(a[d]<=c)return d}else for(d=1;d<e;++d){if(a[d]==c)return d;if(a[d]<c)return a[d-1]-c<c-a[d]?d-1:d}return e-1};function ub(a){return function(c,d,e){if(void 0!==c)return c=tb(a,c,e),c=Qa(c+d,0,a.length-1),a[c]}}function vb(a,c,d){return function(e,f,g){if(void 0!==e)return e=Math.max(Math.floor(Math.log(c/e)/Math.log(a)+(0<g?0:0>g?1:.5))+f,0),void 0!==d&&(e=Math.min(e,d)),c/Math.pow(a,e)}};function wb(a,c){var d=a%c;return 0>d*c?d+c:d}function xb(a,c,d){return a+d*(c-a)}function yb(a){return a*Math.PI/180};function zb(a){if(void 0!==a)return 0}function Ab(a,c){if(void 0!==a)return a+c}function Bb(a){var c=2*Math.PI/a;return function(a,e){if(void 0!==a)return a=Math.floor((a+e)/c+.5)*c}}function Cb(){var a=yb(5);return function(c,d){if(void 0!==c)return Math.abs(c+d)<=a?0:c+d}};function Db(a,c,d){this.center=a;this.resolution=c;this.rotation=d};var Fb;a:{var Gb=ba.navigator;if(Gb){var Hb=Gb.userAgent;if(Hb){Fb=Hb;break a}}Fb=""}function Ib(a){return-1!=Fb.indexOf(a)};function Jb(a,c,d){for(var e in a)c.call(d,a[e],e,a)}function Kb(a,c){for(var d in a)if(c.call(void 0,a[d],d,a))return!0;return!1}function Lb(a){var c=0,d;for(d in a)c++;return c}function Mb(a){var c=[],d=0,e;for(e in a)c[d++]=a[e];return c}function Nb(a){var c=[],d=0,e;for(e in a)c[d++]=e;return c}function Ob(a,c){return c in a}function Pb(a,c){for(var d in a)if(a[d]==c)return!0;return!1}function Qb(a,c){for(var d in a)if(c.call(void 0,a[d],d,a))return d}
function Rb(a){for(var c in a)return!1;return!0}function Sb(a){for(var c in a)delete a[c]}function Tb(a,c,d){return c in a?a[c]:d}function Ub(a,c){var d=[];return c in a?a[c]:a[c]=d}function Vb(a){var c={},d;for(d in a)c[d]=a[d];return c}function Wb(a){var c=fa(a);if("object"==c||"array"==c){if(ka(a.clone))return a.clone();var c="array"==c?[]:{},d;for(d in a)c[d]=Wb(a[d]);return c}return a}var Xb="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");
function Yb(a,c){for(var d,e,f=1;f<arguments.length;f++){e=arguments[f];for(d in e)a[d]=e[d];for(var g=0;g<Xb.length;g++)d=Xb[g],Object.prototype.hasOwnProperty.call(e,d)&&(a[d]=e[d])}};var Zb=Ib("Opera")||Ib("OPR"),$b=Ib("Trident")||Ib("MSIE"),ac=Ib("Edge"),bc=Ib("Gecko")&&!(-1!=Fb.toLowerCase().indexOf("webkit")&&!Ib("Edge"))&&!(Ib("Trident")||Ib("MSIE"))&&!Ib("Edge"),cc=-1!=Fb.toLowerCase().indexOf("webkit")&&!Ib("Edge"),dc=Ib("Macintosh"),ec=Ib("Windows"),fc=Ib("Linux")||Ib("CrOS");function gc(){var a=Fb;if(bc)return/rv\:([^\);]+)(\)|;)/.exec(a);if(ac)return/Edge\/([\d\.]+)/.exec(a);if($b)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(cc)return/WebKit\/(\S+)/.exec(a)}
function hc(){var a=ba.document;return a?a.documentMode:void 0}var ic=function(){if(Zb&&ba.opera){var a;var c=ba.opera.version;try{a=c()}catch(d){a=c}return a}a="";(c=gc())&&(a=c?c[1]:"");return $b&&(c=hc(),c>parseFloat(a))?String(c):a}(),kc={};function lc(a){return kc[a]||(kc[a]=0<=Oa(ic,a))}var mc=ba.document,nc=mc&&$b?hc()||("CSS1Compat"==mc.compatMode?parseInt(ic,10):5):void 0;var oc=!$b||9<=nc,pc=!$b||9<=nc,qc=$b&&!lc("9");!cc||lc("528");bc&&lc("1.9b")||$b&&lc("8")||Zb&&lc("9.5")||cc&&lc("528");bc&&!lc("8")||$b&&lc("9");function rc(){0!=sc&&(tc[v(this)]=this);this.ca=this.ca;this.ka=this.ka}var sc=0,tc={};rc.prototype.ca=!1;rc.prototype.Tc=function(){if(!this.ca&&(this.ca=!0,this.Y(),0!=sc)){var a=v(this);delete tc[a]}};function uc(a,c){var d=ra(vc,c);a.ca?d.call(void 0):(a.ka||(a.ka=[]),a.ka.push(ca(void 0)?qa(d,void 0):d))}rc.prototype.Y=function(){if(this.ka)for(;this.ka.length;)this.ka.shift()()};function vc(a){a&&"function"==typeof a.Tc&&a.Tc()};function wc(a,c){this.type=a;this.g=this.target=c;this.i=!1;this.ah=!0}wc.prototype.c=function(){this.i=!0};wc.prototype.preventDefault=function(){this.ah=!1};function xc(a){a.c()}function yc(a){a.preventDefault()};var zc=$b?"focusout":"DOMFocusOut";function Ac(a){Ac[" "](a);return a}Ac[" "]=da;function Bc(a,c){wc.call(this,a?a.type:"");this.relatedTarget=this.g=this.target=null;this.A=this.j=this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.v=this.f=this.a=this.C=!1;this.state=null;this.l=!1;this.b=null;if(a){var d=this.type=a.type,e=a.changedTouches?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.g=c;var f=a.relatedTarget;if(f){if(bc){var g;a:{try{Ac(f.nodeName);g=!0;break a}catch(h){}g=!1}g||(f=null)}}else"mouseover"==d?
f=a.fromElement:"mouseout"==d&&(f=a.toElement);this.relatedTarget=f;null===e?(this.offsetX=cc||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=cc||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0):(this.clientX=void 0!==e.clientX?e.clientX:e.pageX,this.clientY=void 0!==e.clientY?e.clientY:e.pageY,this.screenX=e.screenX||0,this.screenY=e.screenY||0);this.button=
a.button;this.j=a.keyCode||0;this.A=a.charCode||("keypress"==d?a.keyCode:0);this.C=a.ctrlKey;this.a=a.altKey;this.f=a.shiftKey;this.v=a.metaKey;this.l=dc?a.metaKey:a.ctrlKey;this.state=a.state;this.b=a;a.defaultPrevented&&this.preventDefault()}}w(Bc,wc);var Cc=[1,4,2];function Dc(a){return(oc?0==a.b.button:"click"==a.type?!0:!!(a.b.button&Cc[0]))&&!(cc&&dc&&a.C)}Bc.prototype.c=function(){Bc.ba.c.call(this);this.b.stopPropagation?this.b.stopPropagation():this.b.cancelBubble=!0};
Bc.prototype.preventDefault=function(){Bc.ba.preventDefault.call(this);var a=this.b;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,qc)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(c){}};var Fc="closure_listenable_"+(1E6*Math.random()|0);function Gc(a){return!(!a||!a[Fc])}var Hc=0;function Ic(a,c,d,e,f){this.listener=a;this.b=null;this.src=c;this.type=d;this.Mc=!!e;this.Nd=f;this.key=++Hc;this.Cc=this.td=!1}function Jc(a){a.Cc=!0;a.listener=null;a.b=null;a.src=null;a.Nd=null};function Kc(a){this.src=a;this.b={};this.a=0}Kc.prototype.add=function(a,c,d,e,f){var g=a.toString();a=this.b[g];a||(a=this.b[g]=[],this.a++);var h=Lc(a,c,e,f);-1<h?(c=a[h],d||(c.td=!1)):(c=new Ic(c,this.src,g,!!e,f),c.td=d,a.push(c));return c};Kc.prototype.remove=function(a,c,d,e){a=a.toString();if(!(a in this.b))return!1;var f=this.b[a];c=Lc(f,c,d,e);return-1<c?(Jc(f[c]),Wa.splice.call(f,c,1),0==f.length&&(delete this.b[a],this.a--),!0):!1};
function Mc(a,c){var d=c.type;if(!(d in a.b))return!1;var e=eb(a.b[d],c);e&&(Jc(c),0==a.b[d].length&&(delete a.b[d],a.a--));return e}function Nc(a,c,d,e,f){a=a.b[c.toString()];c=-1;a&&(c=Lc(a,d,e,f));return-1<c?a[c]:null}function Oc(a,c,d){var e=ca(c),f=e?c.toString():"",g=ca(d);return Kb(a.b,function(a){for(var c=0;c<a.length;++c)if(!(e&&a[c].type!=f||g&&a[c].Mc!=d))return!0;return!1})}
function Lc(a,c,d,e){for(var f=0;f<a.length;++f){var g=a[f];if(!g.Cc&&g.listener==c&&g.Mc==!!d&&g.Nd==e)return f}return-1};var Pc="closure_lm_"+(1E6*Math.random()|0),Qc={},Rc=0;function B(a,c,d,e,f){if(ga(c)){for(var g=0;g<c.length;g++)B(a,c[g],d,e,f);return null}d=Sc(d);return Gc(a)?a.Pa(c,d,e,f):Tc(a,c,d,!1,e,f)}
function Tc(a,c,d,e,f,g){if(!c)throw Error("Invalid event type");var h=!!f,k=Uc(a);k||(a[Pc]=k=new Kc(a));d=k.add(c,d,e,f,g);if(d.b)return d;e=Vc();d.b=e;e.src=a;e.listener=d;if(a.addEventListener)a.addEventListener(c.toString(),e,h);else if(a.attachEvent)a.attachEvent(Wc(c.toString()),e);else throw Error("addEventListener and attachEvent are unavailable.");Rc++;return d}
function Vc(){var a=Xc,c=pc?function(d){return a.call(c.src,c.listener,d)}:function(d){d=a.call(c.src,c.listener,d);if(!d)return d};return c}function Yc(a,c,d,e,f){if(ga(c)){for(var g=0;g<c.length;g++)Yc(a,c[g],d,e,f);return null}d=Sc(d);return Gc(a)?a.fb.add(String(c),d,!0,e,f):Tc(a,c,d,!0,e,f)}function Zc(a,c,d,e,f){if(ga(c))for(var g=0;g<c.length;g++)Zc(a,c[g],d,e,f);else d=Sc(d),Gc(a)?a.wf(c,d,e,f):a&&(a=Uc(a))&&(c=Nc(a,c,d,!!e,f))&&$c(c)}
function $c(a){if(ja(a)||!a||a.Cc)return!1;var c=a.src;if(Gc(c))return Mc(c.fb,a);var d=a.type,e=a.b;c.removeEventListener?c.removeEventListener(d,e,a.Mc):c.detachEvent&&c.detachEvent(Wc(d),e);Rc--;(d=Uc(c))?(Mc(d,a),0==d.a&&(d.src=null,c[Pc]=null)):Jc(a);return!0}function Wc(a){return a in Qc?Qc[a]:Qc[a]="on"+a}function ad(a,c,d,e){var f=!0;if(a=Uc(a))if(c=a.b[c.toString()])for(c=c.concat(),a=0;a<c.length;a++){var g=c[a];g&&g.Mc==d&&!g.Cc&&(g=bd(g,e),f=f&&!1!==g)}return f}
function bd(a,c){var d=a.listener,e=a.Nd||a.src;a.td&&$c(a);return d.call(e,c)}
function Xc(a,c){if(a.Cc)return!0;if(!pc){var d;if(!(d=c))a:{d=["window","event"];for(var e=ba,f;f=d.shift();)if(null!=e[f])e=e[f];else{d=null;break a}d=e}f=d;d=new Bc(f,this);e=!0;if(!(0>f.keyCode||void 0!=f.returnValue)){a:{var g=!1;if(0==f.keyCode)try{f.keyCode=-1;break a}catch(m){g=!0}if(g||void 0==f.returnValue)f.returnValue=!0}f=[];for(g=d.g;g;g=g.parentNode)f.push(g);for(var g=a.type,h=f.length-1;!d.i&&0<=h;h--){d.g=f[h];var k=ad(f[h],g,!0,d),e=e&&k}for(h=0;!d.i&&h<f.length;h++)d.g=f[h],k=
ad(f[h],g,!1,d),e=e&&k}return e}return bd(a,new Bc(c,this))}function Uc(a){a=a[Pc];return a instanceof Kc?a:null}var cd="__closure_events_fn_"+(1E9*Math.random()>>>0);function Sc(a){if(ka(a))return a;a[cd]||(a[cd]=function(c){return a.handleEvent(c)});return a[cd]};function dd(){rc.call(this);this.fb=new Kc(this);this.pd=this;this.Ma=null}w(dd,rc);dd.prototype[Fc]=!0;l=dd.prototype;l.addEventListener=function(a,c,d,e){B(this,a,c,d,e)};l.removeEventListener=function(a,c,d,e){Zc(this,a,c,d,e)};
function C(a,c){var d,e=a.Ma;if(e)for(d=[];e;e=e.Ma)d.push(e);var e=a.pd,f=c,g=f.type||f;if(ia(f))f=new wc(f,e);else if(f instanceof wc)f.target=f.target||e;else{var h=f,f=new wc(g,e);Yb(f,h)}var h=!0,k;if(d)for(var m=d.length-1;!f.i&&0<=m;m--)k=f.g=d[m],h=ed(k,g,!0,f)&&h;f.i||(k=f.g=e,h=ed(k,g,!0,f)&&h,f.i||(h=ed(k,g,!1,f)&&h));if(d)for(m=0;!f.i&&m<d.length;m++)k=f.g=d[m],h=ed(k,g,!1,f)&&h;return h}
l.Y=function(){dd.ba.Y.call(this);if(this.fb){var a=this.fb,c=0,d;for(d in a.b){for(var e=a.b[d],f=0;f<e.length;f++)++c,Jc(e[f]);delete a.b[d];a.a--}}this.Ma=null};l.Pa=function(a,c,d,e){return this.fb.add(String(a),c,!1,d,e)};l.wf=function(a,c,d,e){return this.fb.remove(String(a),c,d,e)};
function ed(a,c,d,e){c=a.fb.b[String(c)];if(!c)return!0;c=c.concat();for(var f=!0,g=0;g<c.length;++g){var h=c[g];if(h&&!h.Cc&&h.Mc==d){var k=h.listener,m=h.Nd||h.src;h.td&&Mc(a.fb,h);f=!1!==k.call(m,e)&&f}}return f&&0!=e.ah}function fd(a,c,d){return Oc(a.fb,ca(c)?String(c):void 0,d)};function gd(){dd.call(this);this.b=0}w(gd,dd);function hd(a){$c(a)}l=gd.prototype;l.s=function(){++this.b;C(this,"change")};l.K=function(){return this.b};l.D=function(a,c,d){return B(this,a,c,!1,d)};l.L=function(a,c,d){return Yc(this,a,c,!1,d)};l.J=function(a,c,d){Zc(this,a,c,!1,d)};l.M=hd;function id(a,c,d){wc.call(this,a);this.key=c;this.oldValue=d}w(id,wc);function jd(a){gd.call(this);v(this);this.C={};void 0!==a&&this.H(a)}w(jd,gd);var kd={};function ld(a){return kd.hasOwnProperty(a)?kd[a]:kd[a]="change:"+a}l=jd.prototype;l.get=function(a){var c;this.C.hasOwnProperty(a)&&(c=this.C[a]);return c};l.O=function(){return Object.keys(this.C)};l.P=function(){var a={},c;for(c in this.C)a[c]=this.C[c];return a};
function md(a,c,d){var e;e=ld(c);C(a,new id(e,c,d));C(a,new id("propertychange",c,d))}l.set=function(a,c){var d=this.C[a];this.C[a]=c;md(this,a,d)};l.H=function(a){for(var c in a)this.set(c,a[c])};l.S=function(a){if(a in this.C){var c=this.C[a];delete this.C[a];md(this,a,c)}};function nd(a,c,d){void 0===d&&(d=[0,0]);d[0]=a[0]+2*c;d[1]=a[1]+2*c;return d}function od(a,c,d){void 0===d&&(d=[0,0]);d[0]=a[0]*c+.5|0;d[1]=a[1]*c+.5|0;return d}function pd(a,c){if(ga(a))return a;void 0===c?c=[a,a]:(c[0]=a,c[1]=a);return c};function qd(a,c){a[0]+=c[0];a[1]+=c[1];return a}function rd(a,c){var d=a[0],e=a[1],f=c[0],g=c[1],h=f[0],f=f[1],k=g[0],g=g[1],m=k-h,n=g-f,d=0===m&&0===n?0:(m*(d-h)+n*(e-f))/(m*m+n*n||0);0>=d||(1<=d?(h=k,f=g):(h+=d*m,f+=d*n));return[h,f]}function sd(a,c){var d=wb(a+180,360)-180,e=Math.abs(Math.round(3600*d));return Math.floor(e/3600)+"\u00b0 "+Na(Math.floor(e/60%60))+"\u2032 "+Na(Math.floor(e%60))+"\u2033 "+c.charAt(0>d?1:0)}
function td(a,c,d){return a?c.replace("{x}",a[0].toFixed(d)).replace("{y}",a[1].toFixed(d)):""}function ud(a,c){for(var d=!0,e=a.length-1;0<=e;--e)if(a[e]!=c[e]){d=!1;break}return d}function vd(a,c){var d=Math.cos(c),e=Math.sin(c),f=a[1]*d+a[0]*e;a[0]=a[0]*d-a[1]*e;a[1]=f;return a}function wd(a,c){var d=a[0]-c[0],e=a[1]-c[1];return d*d+e*e}function xd(a,c){return wd(a,rd(a,c))}function yd(a,c){return td(a,"{x}, {y}",c)};function zd(a){this.length=a.length||a;for(var c=0;c<this.length;c++)this[c]=a[c]||0}zd.prototype.b=4;zd.prototype.set=function(a,c){c=c||0;for(var d=0;d<a.length&&c+d<this.length;d++)this[c+d]=a[d]};zd.prototype.toString=Array.prototype.join;"undefined"==typeof Float32Array&&(zd.BYTES_PER_ELEMENT=4,zd.prototype.BYTES_PER_ELEMENT=zd.prototype.b,zd.prototype.set=zd.prototype.set,zd.prototype.toString=zd.prototype.toString,t("Float32Array",zd,void 0));function Ad(a){this.length=a.length||a;for(var c=0;c<this.length;c++)this[c]=a[c]||0}Ad.prototype.b=8;Ad.prototype.set=function(a,c){c=c||0;for(var d=0;d<a.length&&c+d<this.length;d++)this[c+d]=a[d]};Ad.prototype.toString=Array.prototype.join;if("undefined"==typeof Float64Array){try{Ad.BYTES_PER_ELEMENT=8}catch(a){}Ad.prototype.BYTES_PER_ELEMENT=Ad.prototype.b;Ad.prototype.set=Ad.prototype.set;Ad.prototype.toString=Ad.prototype.toString;t("Float64Array",Ad,void 0)};function Bd(a,c,d,e,f){a[0]=c;a[1]=d;a[2]=e;a[3]=f};function Cd(){var a=Array(16);Dd(a,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);return a}function Ed(){var a=Array(16);Dd(a,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);return a}function Dd(a,c,d,e,f,g,h,k,m,n,p,q,r,u,y,A,F){a[0]=c;a[1]=d;a[2]=e;a[3]=f;a[4]=g;a[5]=h;a[6]=k;a[7]=m;a[8]=n;a[9]=p;a[10]=q;a[11]=r;a[12]=u;a[13]=y;a[14]=A;a[15]=F}
function Fd(a,c){a[0]=c[0];a[1]=c[1];a[2]=c[2];a[3]=c[3];a[4]=c[4];a[5]=c[5];a[6]=c[6];a[7]=c[7];a[8]=c[8];a[9]=c[9];a[10]=c[10];a[11]=c[11];a[12]=c[12];a[13]=c[13];a[14]=c[14];a[15]=c[15]}function Gd(a){a[0]=1;a[1]=0;a[2]=0;a[3]=0;a[4]=0;a[5]=1;a[6]=0;a[7]=0;a[8]=0;a[9]=0;a[10]=1;a[11]=0;a[12]=0;a[13]=0;a[14]=0;a[15]=1}
function Hd(a,c,d){var e=a[0],f=a[1],g=a[2],h=a[3],k=a[4],m=a[5],n=a[6],p=a[7],q=a[8],r=a[9],u=a[10],y=a[11],A=a[12],F=a[13],z=a[14];a=a[15];var x=c[0],K=c[1],J=c[2],I=c[3],N=c[4],va=c[5],Ra=c[6],M=c[7],Ia=c[8],pb=c[9],Ma=c[10],Eb=c[11],$a=c[12],Ec=c[13],jc=c[14];c=c[15];d[0]=e*x+k*K+q*J+A*I;d[1]=f*x+m*K+r*J+F*I;d[2]=g*x+n*K+u*J+z*I;d[3]=h*x+p*K+y*J+a*I;d[4]=e*N+k*va+q*Ra+A*M;d[5]=f*N+m*va+r*Ra+F*M;d[6]=g*N+n*va+u*Ra+z*M;d[7]=h*N+p*va+y*Ra+a*M;d[8]=e*Ia+k*pb+q*Ma+A*Eb;d[9]=f*Ia+m*pb+r*Ma+F*Eb;d[10]=
g*Ia+n*pb+u*Ma+z*Eb;d[11]=h*Ia+p*pb+y*Ma+a*Eb;d[12]=e*$a+k*Ec+q*jc+A*c;d[13]=f*$a+m*Ec+r*jc+F*c;d[14]=g*$a+n*Ec+u*jc+z*c;d[15]=h*$a+p*Ec+y*jc+a*c}
function Id(a,c){var d=a[0],e=a[1],f=a[2],g=a[3],h=a[4],k=a[5],m=a[6],n=a[7],p=a[8],q=a[9],r=a[10],u=a[11],y=a[12],A=a[13],F=a[14],z=a[15],x=d*k-e*h,K=d*m-f*h,J=d*n-g*h,I=e*m-f*k,N=e*n-g*k,va=f*n-g*m,Ra=p*A-q*y,M=p*F-r*y,Ia=p*z-u*y,pb=q*F-r*A,Ma=q*z-u*A,Eb=r*z-u*F,$a=x*Eb-K*Ma+J*pb+I*Ia-N*M+va*Ra;0!=$a&&($a=1/$a,c[0]=(k*Eb-m*Ma+n*pb)*$a,c[1]=(-e*Eb+f*Ma-g*pb)*$a,c[2]=(A*va-F*N+z*I)*$a,c[3]=(-q*va+r*N-u*I)*$a,c[4]=(-h*Eb+m*Ia-n*M)*$a,c[5]=(d*Eb-f*Ia+g*M)*$a,c[6]=(-y*va+F*J-z*K)*$a,c[7]=(p*va-r*J+u*
K)*$a,c[8]=(h*Ma-k*Ia+n*Ra)*$a,c[9]=(-d*Ma+e*Ia-g*Ra)*$a,c[10]=(y*N-A*J+z*x)*$a,c[11]=(-p*N+q*J-u*x)*$a,c[12]=(-h*pb+k*M-m*Ra)*$a,c[13]=(d*pb-e*M+f*Ra)*$a,c[14]=(-y*I+A*K-F*x)*$a,c[15]=(p*I-q*K+r*x)*$a)}function Jd(a,c,d){var e=a[1]*c+a[5]*d+0*a[9]+a[13],f=a[2]*c+a[6]*d+0*a[10]+a[14],g=a[3]*c+a[7]*d+0*a[11]+a[15];a[12]=a[0]*c+a[4]*d+0*a[8]+a[12];a[13]=e;a[14]=f;a[15]=g}
function Kd(a,c,d){Dd(a,a[0]*c,a[1]*c,a[2]*c,a[3]*c,a[4]*d,a[5]*d,a[6]*d,a[7]*d,1*a[8],1*a[9],1*a[10],1*a[11],a[12],a[13],a[14],a[15])}function Ld(a,c){var d=a[0],e=a[1],f=a[2],g=a[3],h=a[4],k=a[5],m=a[6],n=a[7],p=Math.cos(c),q=Math.sin(c);a[0]=d*p+h*q;a[1]=e*p+k*q;a[2]=f*p+m*q;a[3]=g*p+n*q;a[4]=d*-q+h*p;a[5]=e*-q+k*p;a[6]=f*-q+m*p;a[7]=g*-q+n*p}new Float64Array(3);new Float64Array(3);new Float64Array(4);new Float64Array(4);new Float64Array(4);new Float64Array(16);function Md(a){for(var c=Nd(),d=0,e=a.length;d<e;++d)Od(c,a[d]);return c}function Pd(a,c,d){var e=Math.min.apply(null,a),f=Math.min.apply(null,c);a=Math.max.apply(null,a);c=Math.max.apply(null,c);return Qd(e,f,a,c,d)}function Rd(a,c,d){return d?(d[0]=a[0]-c,d[1]=a[1]-c,d[2]=a[2]+c,d[3]=a[3]+c,d):[a[0]-c,a[1]-c,a[2]+c,a[3]+c]}function Sd(a,c){return c?(c[0]=a[0],c[1]=a[1],c[2]=a[2],c[3]=a[3],c):a.slice()}
function Td(a,c,d){c=c<a[0]?a[0]-c:a[2]<c?c-a[2]:0;a=d<a[1]?a[1]-d:a[3]<d?d-a[3]:0;return c*c+a*a}function Ud(a,c){return Vd(a,c[0],c[1])}function Wd(a,c){return a[0]<=c[0]&&c[2]<=a[2]&&a[1]<=c[1]&&c[3]<=a[3]}function Vd(a,c,d){return a[0]<=c&&c<=a[2]&&a[1]<=d&&d<=a[3]}function Xd(a,c){var d=a[1],e=a[2],f=a[3],g=c[0],h=c[1],k=0;g<a[0]?k=k|16:g>e&&(k=k|4);h<d?k|=8:h>f&&(k|=2);0===k&&(k=1);return k}function Nd(){return[Infinity,Infinity,-Infinity,-Infinity]}
function Qd(a,c,d,e,f){return f?(f[0]=a,f[1]=c,f[2]=d,f[3]=e,f):[a,c,d,e]}function Yd(a,c){var d=a[0],e=a[1];return Qd(d,e,d,e,c)}function Zd(a,c){return a[0]==c[0]&&a[2]==c[2]&&a[1]==c[1]&&a[3]==c[3]}function $d(a,c){c[0]<a[0]&&(a[0]=c[0]);c[2]>a[2]&&(a[2]=c[2]);c[1]<a[1]&&(a[1]=c[1]);c[3]>a[3]&&(a[3]=c[3]);return a}function Od(a,c){c[0]<a[0]&&(a[0]=c[0]);c[0]>a[2]&&(a[2]=c[0]);c[1]<a[1]&&(a[1]=c[1]);c[1]>a[3]&&(a[3]=c[1])}
function ae(a,c,d,e,f){for(;d<e;d+=f){var g=a,h=c[d],k=c[d+1];g[0]=Math.min(g[0],h);g[1]=Math.min(g[1],k);g[2]=Math.max(g[2],h);g[3]=Math.max(g[3],k)}return a}function be(a,c,d){var e;return(e=c.call(d,ce(a)))||(e=c.call(d,de(a)))||(e=c.call(d,ee(a)))?e:(e=c.call(d,fe(a)))?e:!1}function ce(a){return[a[0],a[1]]}function de(a){return[a[2],a[1]]}function ge(a){return[(a[0]+a[2])/2,(a[1]+a[3])/2]}
function he(a,c,d,e){var f=c*e[0]/2;e=c*e[1]/2;c=Math.cos(d);d=Math.sin(d);f=[-f,-f,f,f];e=[-e,e,-e,e];var g,h,k;for(g=0;4>g;++g)h=f[g],k=e[g],f[g]=a[0]+h*c-k*d,e[g]=a[1]+h*d+k*c;return Pd(f,e,void 0)}function ie(a){return a[3]-a[1]}function je(a,c,d){d=d?d:Nd();ke(a,c)&&(d[0]=a[0]>c[0]?a[0]:c[0],d[1]=a[1]>c[1]?a[1]:c[1],d[2]=a[2]<c[2]?a[2]:c[2],d[3]=a[3]<c[3]?a[3]:c[3]);return d}function fe(a){return[a[0],a[3]]}function ee(a){return[a[2],a[3]]}function le(a){return a[2]-a[0]}
function ke(a,c){return a[0]<=c[2]&&a[2]>=c[0]&&a[1]<=c[3]&&a[3]>=c[1]}function me(a){return a[2]<a[0]||a[3]<a[1]}function ne(a,c){var d=(a[2]-a[0])/2*(c-1),e=(a[3]-a[1])/2*(c-1);a[0]-=d;a[2]+=d;a[1]-=e;a[3]+=e}function oe(a,c,d){a=[a[0],a[1],a[0],a[3],a[2],a[1],a[2],a[3]];c(a,a,2);return Pd([a[0],a[2],a[4],a[6]],[a[1],a[3],a[5],a[7]],d)};function pe(a){return function(){return a}}var qe=pe(!1),re=pe(!0),se=pe(null);function te(a){return a}function ue(a){var c;c=c||0;return function(){return a.apply(this,Array.prototype.slice.call(arguments,0,c))}}function ve(a){var c=arguments,d=c.length;return function(){for(var a,f=0;f<d;f++)a=c[f].apply(this,arguments);return a}}function we(a){var c=arguments,d=c.length;return function(){for(var a=0;a<d;a++)if(!c[a].apply(this,arguments))return!1;return!0}};/*

 Latitude/longitude spherical geodesy formulae taken from
 http://www.movable-type.co.uk/scripts/latlong.html
 Licensed under CC-BY-3.0.
*/
function xe(a){this.radius=a}xe.prototype.a=function(a){for(var c=0,d=a.length,e=a[d-1][0],f=a[d-1][1],g=0;g<d;g++)var h=a[g][0],k=a[g][1],c=c+yb(h-e)*(2+Math.sin(yb(f))+Math.sin(yb(k))),e=h,f=k;return c*this.radius*this.radius/2};xe.prototype.b=function(a,c){var d=yb(a[1]),e=yb(c[1]),f=(e-d)/2,g=yb(c[0]-a[0])/2,d=Math.sin(f)*Math.sin(f)+Math.sin(g)*Math.sin(g)*Math.cos(d)*Math.cos(e);return 2*this.radius*Math.atan2(Math.sqrt(d),Math.sqrt(1-d))};
xe.prototype.offset=function(a,c,d){var e=yb(a[1]);c/=this.radius;var f=Math.asin(Math.sin(e)*Math.cos(c)+Math.cos(e)*Math.sin(c)*Math.cos(d));return[180*(yb(a[0])+Math.atan2(Math.sin(d)*Math.sin(c)*Math.cos(e),Math.cos(c)-Math.sin(e)*Math.sin(f)))/Math.PI,180*f/Math.PI]};var ye=new xe(6370997);var ze={};ze.degrees=2*Math.PI*ye.radius/360;ze.ft=.3048;ze.m=1;ze["us-ft"]=1200/3937;
function Ae(a){this.b=a.code;this.a=a.units;this.j=void 0!==a.extent?a.extent:null;this.i=void 0!==a.worldExtent?a.worldExtent:null;this.g=void 0!==a.axisOrientation?a.axisOrientation:"enu";this.f=void 0!==a.global?a.global:!1;this.c=!(!this.f||!this.j);this.C=void 0!==a.getPointResolution?a.getPointResolution:this.fj;this.l=null;var c=Be,d=a.code;if("function"==typeof proj4&&void 0===c[d]){var e=proj4.defs(d);if(void 0!==e){void 0!==e.axis&&void 0===a.axisOrientation&&(this.g=e.axis);void 0===a.units&&
(a=e.units,void 0===e.to_meter||void 0!==a&&void 0!==ze[a]||(a=e.to_meter.toString(),ze[a]=e.to_meter),this.a=a);for(var f in c)a=proj4.defs(f),void 0!==a&&(c=Ce(f),a===e?De([c,this]):(a=proj4(f,d),Ee(c,this,a.forward,a.inverse)))}}}l=Ae.prototype;l.Gi=function(){return this.b};l.R=function(){return this.j};l.yl=function(){return this.a};l.Ed=function(){return ze[this.a]};l.qj=function(){return this.i};function Fe(a){return a.g}l.ck=function(){return this.f};
l.Qn=function(a){this.f=a;this.c=!(!a||!this.j)};l.zl=function(a){this.j=a;this.c=!(!this.f||!a)};l.$n=function(a){this.i=a};l.Pn=function(a){this.C=a};l.fj=function(a,c){if("degrees"==this.a)return a;var d=Ge(this,Ce("EPSG:4326")),e=[c[0]-a/2,c[1],c[0]+a/2,c[1],c[0],c[1]-a/2,c[0],c[1]+a/2],e=d(e,e,2),d=(ye.b(e.slice(0,2),e.slice(2,4))+ye.b(e.slice(4,6),e.slice(6,8)))/2,e=this.Ed();void 0!==e&&(d/=e);return d};l.getPointResolution=function(a,c){return this.C(a,c)};var Be={},He={};
function De(a){Ie(a);a.forEach(function(c){a.forEach(function(a){c!==a&&Je(c,a,Le)})})}function Me(){var a=Ne,c=Oe,d=Pe;Qe.forEach(function(e){a.forEach(function(a){Je(e,a,c);Je(a,e,d)})})}function Re(a){Be[a.b]=a;Je(a,a,Le)}function Ie(a){var c=[];a.forEach(function(a){c.push(Re(a))})}function Se(a){return a?ia(a)?Ce(a):a:Ce("EPSG:3857")}function Je(a,c,d){a=a.b;c=c.b;a in He||(He[a]={});He[a][c]=d}function Ee(a,c,d,e){a=Ce(a);c=Ce(c);Je(a,c,Te(d));Je(c,a,Te(e))}
function Te(a){return function(c,d,e){var f=c.length;e=void 0!==e?e:2;d=void 0!==d?d:Array(f);var g,h;for(h=0;h<f;h+=e)for(g=a([c[h],c[h+1]]),d[h]=g[0],d[h+1]=g[1],g=e-1;2<=g;--g)d[h+g]=c[h+g];return d}}function Ce(a){var c;a instanceof Ae?c=a:ia(a)?(c=Be[a],void 0===c&&"function"==typeof proj4&&void 0!==proj4.defs(a)&&(c=new Ae({code:a}),Re(c))):c=null;return c}function Ue(a,c){return a===c?!0:a.b===c.b?!0:a.a!=c.a?!1:Ge(a,c)===Le}function Ve(a,c){var d=Ce(a),e=Ce(c);return Ge(d,e)}
function Ge(a,c){var d=a.b,e=c.b,f;d in He&&e in He[d]&&(f=He[d][e]);void 0===f&&(f=We);return f}function We(a,c){if(void 0!==c&&a!==c){for(var d=0,e=a.length;d<e;++d)c[d]=a[d];a=c}return a}function Le(a,c){var d;if(void 0!==c){d=0;for(var e=a.length;d<e;++d)c[d]=a[d];d=c}else d=a.slice();return d}function Xe(a,c,d){return Ve(c,d)(a,void 0,a.length)}function Ye(a,c,d){c=Ve(c,d);return oe(a,c)};function Ze(){jd.call(this);this.A=Nd();this.v=-1;this.g={};this.l=this.j=0}w(Ze,jd);l=Ze.prototype;l.Xa=function(a,c){var d=c?c:[NaN,NaN];this.Va(a[0],a[1],d,Infinity);return d};l.He=function(a){return this.Xb(a[0],a[1])};l.Xb=qe;l.R=function(a){this.v!=this.b&&(this.A=this.ud(this.A),this.v=this.b);var c=this.A;a?(a[0]=c[0],a[1]=c[1],a[2]=c[2],a[3]=c[3]):a=c;return a};l.eb=function(a){return this.Hd(a*a)};l.Sa=function(a,c){this.Ob(Ve(a,c));return this};function $e(a,c,d,e,f,g){var h=f[0],k=f[1],m=f[4],n=f[5],p=f[12];f=f[13];for(var q=g?g:[],r=0;c<d;c+=e){var u=a[c],y=a[c+1];q[r++]=h*u+m*y+p;q[r++]=k*u+n*y+f}g&&q.length!=r&&(q.length=r);return q};function af(){Ze.call(this);this.a="XY";this.G=2;this.o=null}w(af,Ze);function bf(a){if("XY"==a)return 2;if("XYZ"==a||"XYM"==a)return 3;if("XYZM"==a)return 4}l=af.prototype;l.Xb=qe;l.ud=function(a){var c=this.o,d=this.o.length,e=this.G;a=Qd(Infinity,Infinity,-Infinity,-Infinity,a);return ae(a,c,0,d,e)};l.sb=function(){return this.o.slice(0,this.G)};l.tb=function(){return this.o.slice(this.o.length-this.G)};l.ub=function(){return this.a};
l.Hd=function(a){this.l!=this.b&&(Sb(this.g),this.j=0,this.l=this.b);if(0>a||0!==this.j&&a<=this.j)return this;var c=a.toString();if(this.g.hasOwnProperty(c))return this.g[c];var d=this.tc(a);if(d.o.length<this.o.length)return this.g[c]=d;this.j=a;return this};l.tc=function(){return this};function cf(a,c,d){a.G=bf(c);a.a=c;a.o=d}function df(a,c,d,e){if(c)d=bf(c);else{for(c=0;c<e;++c){if(0===d.length){a.a="XY";a.G=2;return}d=d[0]}d=d.length;c=2==d?"XY":3==d?"XYZ":4==d?"XYZM":void 0}a.a=c;a.G=d}
l.Ob=function(a){this.o&&(a(this.o,this.o,this.G),this.s())};l.wc=function(a,c){var d=this.o;if(d){var e=d.length,f=this.G,g=d?d:[],h=0,k,m;for(k=0;k<e;k+=f)for(g[h++]=d[k]+a,g[h++]=d[k+1]+c,m=k+2;m<k+f;++m)g[h++]=d[m];d&&g.length!=h&&(g.length=h);this.s()}};function ef(a,c,d,e){for(var f=0,g=a[d-e],h=a[d-e+1];c<d;c+=e)var k=a[c],m=a[c+1],f=f+(h*k-g*m),g=k,h=m;return f/2}function ff(a,c,d,e){var f=0,g,h;g=0;for(h=d.length;g<h;++g){var k=d[g],f=f+ef(a,c,k,e);c=k}return f};function gf(a,c,d,e,f,g,h){var k=a[c],m=a[c+1],n=a[d]-k,p=a[d+1]-m;if(0!==n||0!==p)if(g=((f-k)*n+(g-m)*p)/(n*n+p*p),1<g)c=d;else if(0<g){for(f=0;f<e;++f)h[f]=xb(a[c+f],a[d+f],g);h.length=e;return}for(f=0;f<e;++f)h[f]=a[c+f];h.length=e}function hf(a,c,d,e,f){var g=a[c],h=a[c+1];for(c+=e;c<d;c+=e){var k=a[c],m=a[c+1],g=Ta(g,h,k,m);g>f&&(f=g);g=k;h=m}return f}function jf(a,c,d,e,f){var g,h;g=0;for(h=d.length;g<h;++g){var k=d[g];f=hf(a,c,k,e,f);c=k}return f}
function kf(a,c,d,e,f,g,h,k,m,n,p){if(c==d)return n;var q;if(0===f){q=Ta(h,k,a[c],a[c+1]);if(q<n){for(p=0;p<e;++p)m[p]=a[c+p];m.length=e;return q}return n}for(var r=p?p:[NaN,NaN],u=c+e;u<d;)if(gf(a,u-e,u,e,h,k,r),q=Ta(h,k,r[0],r[1]),q<n){n=q;for(p=0;p<e;++p)m[p]=r[p];m.length=e;u+=e}else u+=e*Math.max((Math.sqrt(q)-Math.sqrt(n))/f|0,1);if(g&&(gf(a,d-e,c,e,h,k,r),q=Ta(h,k,r[0],r[1]),q<n)){n=q;for(p=0;p<e;++p)m[p]=r[p];m.length=e}return n}
function lf(a,c,d,e,f,g,h,k,m,n,p){p=p?p:[NaN,NaN];var q,r;q=0;for(r=d.length;q<r;++q){var u=d[q];n=kf(a,c,u,e,f,g,h,k,m,n,p);c=u}return n};function mf(a,c){var d=0,e,f;e=0;for(f=c.length;e<f;++e)a[d++]=c[e];return d}function nf(a,c,d,e){var f,g;f=0;for(g=d.length;f<g;++f){var h=d[f],k;for(k=0;k<e;++k)a[c++]=h[k]}return c}function of(a,c,d,e,f){f=f?f:[];var g=0,h,k;h=0;for(k=d.length;h<k;++h)c=nf(a,c,d[h],e),f[g++]=c;f.length=g;return f};function pf(a,c,d,e,f){f=void 0!==f?f:[];for(var g=0;c<d;c+=e)f[g++]=a.slice(c,c+e);f.length=g;return f}function qf(a,c,d,e,f){f=void 0!==f?f:[];var g=0,h,k;h=0;for(k=d.length;h<k;++h){var m=d[h];f[g++]=pf(a,c,m,e,f[g]);c=m}f.length=g;return f};function rf(a,c,d,e,f,g,h){var k=(d-c)/e;if(3>k){for(;c<d;c+=e)g[h++]=a[c],g[h++]=a[c+1];return h}var m=Array(k);m[0]=1;m[k-1]=1;d=[c,d-e];for(var n=0,p;0<d.length;){var q=d.pop(),r=d.pop(),u=0,y=a[r],A=a[r+1],F=a[q],z=a[q+1];for(p=r+e;p<q;p+=e){var x=Sa(a[p],a[p+1],y,A,F,z);x>u&&(n=p,u=x)}u>f&&(m[(n-c)/e]=1,r+e<n&&d.push(r,n),n+e<q&&d.push(n,q))}for(p=0;p<k;++p)m[p]&&(g[h++]=a[c+p*e],g[h++]=a[c+p*e+1]);return h}
function sf(a,c,d,e,f,g,h,k){var m,n;m=0;for(n=d.length;m<n;++m){var p=d[m];a:{var q=a,r=p,u=e,y=f,A=g;if(c!=r){var F=y*Math.round(q[c]/y),z=y*Math.round(q[c+1]/y);c+=u;A[h++]=F;A[h++]=z;var x=void 0,K=void 0;do if(x=y*Math.round(q[c]/y),K=y*Math.round(q[c+1]/y),c+=u,c==r){A[h++]=x;A[h++]=K;break a}while(x==F&&K==z);for(;c<r;){var J,I;J=y*Math.round(q[c]/y);I=y*Math.round(q[c+1]/y);c+=u;if(J!=x||I!=K){var N=x-F,va=K-z,Ra=J-F,M=I-z;N*M==va*Ra&&(0>N&&Ra<N||N==Ra||0<N&&Ra>N)&&(0>va&&M<va||va==M||0<va&&
M>va)||(A[h++]=x,A[h++]=K,F=x,z=K);x=J;K=I}}A[h++]=x;A[h++]=K}}k.push(h);c=p}return h};function tf(a,c){af.call(this);this.c=this.i=-1;this.ja(a,c)}w(tf,af);l=tf.prototype;l.clone=function(){var a=new tf(null);uf(a,this.a,this.o.slice());return a};l.Va=function(a,c,d,e){if(e<Td(this.R(),a,c))return e;this.c!=this.b&&(this.i=Math.sqrt(hf(this.o,0,this.o.length,this.G,0)),this.c=this.b);return kf(this.o,0,this.o.length,this.G,this.i,!0,a,c,d,e)};l.$k=function(){return ef(this.o,0,this.o.length,this.G)};l.U=function(){return pf(this.o,0,this.o.length,this.G)};
l.tc=function(a){var c=[];c.length=rf(this.o,0,this.o.length,this.G,a,c,0);a=new tf(null);uf(a,"XY",c);return a};l.W=function(){return"LinearRing"};l.ja=function(a,c){a?(df(this,c,a,1),this.o||(this.o=[]),this.o.length=nf(this.o,0,a,this.G),this.s()):uf(this,"XY",null)};function uf(a,c,d){cf(a,c,d);a.s()};function D(a,c){af.call(this);this.ja(a,c)}w(D,af);l=D.prototype;l.clone=function(){var a=new D(null);vf(a,this.a,this.o.slice());return a};l.Va=function(a,c,d,e){var f=this.o;a=Ta(a,c,f[0],f[1]);if(a<e){e=this.G;for(c=0;c<e;++c)d[c]=f[c];d.length=e;return a}return e};l.U=function(){return this.o?this.o.slice():[]};l.ud=function(a){return Yd(this.o,a)};l.W=function(){return"Point"};l.ua=function(a){return Vd(a,this.o[0],this.o[1])};
l.ja=function(a,c){a?(df(this,c,a,0),this.o||(this.o=[]),this.o.length=mf(this.o,a),this.s()):vf(this,"XY",null)};function vf(a,c,d){cf(a,c,d);a.s()};function wf(a,c,d,e,f){return!be(f,function(f){return!xf(a,c,d,e,f[0],f[1])})}function xf(a,c,d,e,f,g){for(var h=!1,k=a[d-e],m=a[d-e+1];c<d;c+=e){var n=a[c],p=a[c+1];m>g!=p>g&&f<(n-k)*(g-m)/(p-m)+k&&(h=!h);k=n;m=p}return h}function yf(a,c,d,e,f,g){if(0===d.length||!xf(a,c,d[0],e,f,g))return!1;var h;c=1;for(h=d.length;c<h;++c)if(xf(a,d[c-1],d[c],e,f,g))return!1;return!0};function zf(a,c,d,e,f,g,h){var k,m,n,p,q,r=f[g+1],u=[],y=d[0];n=a[y-e];q=a[y-e+1];for(k=c;k<y;k+=e){p=a[k];m=a[k+1];if(r<=q&&m<=r||q<=r&&r<=m)n=(r-q)/(m-q)*(p-n)+n,u.push(n);n=p;q=m}y=NaN;q=-Infinity;u.sort();n=u[0];k=1;for(m=u.length;k<m;++k){p=u[k];var A=Math.abs(p-n);A>q&&(n=(n+p)/2,yf(a,c,d,e,n,r)&&(y=n,q=A));n=p}isNaN(y)&&(y=f[g]);return h?(h.push(y,r),h):[y,r]};function Af(a,c,d,e,f,g){for(var h=[a[c],a[c+1]],k=[],m;c+e<d;c+=e){k[0]=a[c+e];k[1]=a[c+e+1];if(m=f.call(g,h,k))return m;h[0]=k[0];h[1]=k[1]}return!1};function Bf(a,c,d,e,f){var g=ae(Nd(),a,c,d,e);return ke(f,g)?Wd(f,g)||g[0]>=f[0]&&g[2]<=f[2]||g[1]>=f[1]&&g[3]<=f[3]?!0:Af(a,c,d,e,function(a,c){var d=!1,e=Xd(f,a),g=Xd(f,c);if(1===e||1===g)d=!0;else{var q=f[0],r=f[1],u=f[2],y=f[3],A=c[0],F=c[1],z=(F-a[1])/(A-a[0]);g&2&&!(e&2)&&(d=A-(F-y)/z,d=d>=q&&d<=u);d||!(g&4)||e&4||(d=F-(A-u)*z,d=d>=r&&d<=y);d||!(g&8)||e&8||(d=A-(F-r)/z,d=d>=q&&d<=u);d||!(g&16)||e&16||(d=F-(A-q)*z,d=d>=r&&d<=y)}return d}):!1}
function Cf(a,c,d,e,f){var g=d[0];if(!(Bf(a,c,g,e,f)||xf(a,c,g,e,f[0],f[1])||xf(a,c,g,e,f[0],f[3])||xf(a,c,g,e,f[2],f[1])||xf(a,c,g,e,f[2],f[3])))return!1;if(1===d.length)return!0;c=1;for(g=d.length;c<g;++c)if(wf(a,d[c-1],d[c],e,f))return!1;return!0};function Df(a,c,d,e){for(var f=0,g=a[d-e],h=a[d-e+1];c<d;c+=e)var k=a[c],m=a[c+1],f=f+(k-g)*(m+h),g=k,h=m;return 0<f}function Ef(a,c,d,e){var f=0;e=void 0!==e?e:!1;var g,h;g=0;for(h=c.length;g<h;++g){var k=c[g],f=Df(a,f,k,d);if(0===g){if(e&&f||!e&&!f)return!1}else if(e&&!f||!e&&f)return!1;f=k}return!0}
function Ff(a,c,d,e,f){f=void 0!==f?f:!1;var g,h;g=0;for(h=d.length;g<h;++g){var k=d[g],m=Df(a,c,k,e);if(0===g?f&&m||!f&&!m:f&&!m||!f&&m)for(var m=a,n=k,p=e;c<n-p;){var q;for(q=0;q<p;++q){var r=m[c+q];m[c+q]=m[n-p+q];m[n-p+q]=r}c+=p;n-=p}c=k}return c}function Gf(a,c,d,e){var f=0,g,h;g=0;for(h=c.length;g<h;++g)f=Ff(a,f,c[g],d,e);return f};function E(a,c){af.call(this);this.c=[];this.u=-1;this.B=null;this.T=this.N=this.I=-1;this.i=null;this.ja(a,c)}w(E,af);l=E.prototype;l.li=function(a){this.o?hb(this.o,a.o):this.o=a.o.slice();this.c.push(this.o.length);this.s()};l.clone=function(){var a=new E(null);Hf(a,this.a,this.o.slice(),this.c.slice());return a};l.Va=function(a,c,d,e){if(e<Td(this.R(),a,c))return e;this.N!=this.b&&(this.I=Math.sqrt(jf(this.o,0,this.c,this.G,0)),this.N=this.b);return lf(this.o,0,this.c,this.G,this.I,!0,a,c,d,e)};
l.Xb=function(a,c){return yf(If(this),0,this.c,this.G,a,c)};l.cl=function(){return ff(If(this),0,this.c,this.G)};l.U=function(a){var c;void 0!==a?(c=If(this).slice(),Ff(c,0,this.c,this.G,a)):c=this.o;return qf(c,0,this.c,this.G)};function Jf(a){if(a.u!=a.b){var c=ge(a.R());a.B=zf(If(a),0,a.c,a.G,c,0);a.u=a.b}return a.B}l.Si=function(){return new D(Jf(this))};l.Xi=function(){return this.c.length};
l.Tf=function(a){if(0>a||this.c.length<=a)return null;var c=new tf(null);uf(c,this.a,this.o.slice(0===a?0:this.c[a-1],this.c[a]));return c};l.Dd=function(){var a=this.a,c=this.o,d=this.c,e=[],f=0,g,h;g=0;for(h=d.length;g<h;++g){var k=d[g],m=new tf(null);uf(m,a,c.slice(f,k));e.push(m);f=k}return e};function If(a){if(a.T!=a.b){var c=a.o;Ef(c,a.c,a.G)?a.i=c:(a.i=c.slice(),a.i.length=Ff(a.i,0,a.c,a.G));a.T=a.b}return a.i}
l.tc=function(a){var c=[],d=[];c.length=sf(this.o,0,this.c,this.G,Math.sqrt(a),c,0,d);a=new E(null);Hf(a,"XY",c,d);return a};l.W=function(){return"Polygon"};l.ua=function(a){return Cf(If(this),0,this.c,this.G,a)};l.ja=function(a,c){if(a){df(this,c,a,2);this.o||(this.o=[]);var d=of(this.o,0,a,this.G,this.c);this.o.length=0===d.length?0:d[d.length-1];this.s()}else Hf(this,"XY",null,this.c)};function Hf(a,c,d,e){cf(a,c,d);a.c=e;a.s()}
function Kf(a,c,d,e){var f=e?e:32;e=[];var g;for(g=0;g<f;++g)hb(e,a.offset(c,d,2*Math.PI*g/f));e.push(e[0],e[1]);a=new E(null);Hf(a,"XY",e,[e.length]);return a}function Lf(a){var c=a[0],d=a[1],e=a[2];a=a[3];c=[c,d,c,a,e,a,e,d,c,d];d=new E(null);Hf(d,"XY",c,[c.length]);return d}function Mf(a,c,d){var e=c?c:32,f=a.G;c=a.a;for(var g=new E(null,c),e=f*(e+1),f=[],h=0;h<e;h++)f[h]=0;Hf(g,c,f,[f.length]);Nf(g,a.$c(),a.df(),d);return g}
function Nf(a,c,d,e){var f=a.o,g=a.a,h=a.G,k=a.c,m=f.length/h-1;e=e?e:0;for(var n,p,q=0;q<=m;++q)p=q*h,n=e+2*wb(q,m)*Math.PI/m,f[p]=c[0]+d*Math.cos(n),f[p+1]=c[1]+d*Math.sin(n);Hf(a,g,f,k)};function Of(a){jd.call(this);a=a||{};this.c=[0,0];var c={};c.center=void 0!==a.center?a.center:null;this.g=Se(a.projection);var d,e,f,g=void 0!==a.minZoom?a.minZoom:0;d=void 0!==a.maxZoom?a.maxZoom:28;var h=void 0!==a.zoomFactor?a.zoomFactor:2;if(void 0!==a.resolutions)d=a.resolutions,e=d[0],f=d[d.length-1],d=ub(d);else{e=Se(a.projection);f=e.R();var k=(f?Math.max(le(f),ie(f)):360*ze.degrees/ze[e.a])/256/Math.pow(2,0),m=k/Math.pow(2,28);e=a.maxResolution;void 0!==e?g=0:e=k/Math.pow(h,g);f=a.minResolution;
void 0===f&&(f=void 0!==a.maxZoom?void 0!==a.maxResolution?e/Math.pow(h,d):k/Math.pow(h,d):m);d=g+Math.floor(Math.log(e/f)/Math.log(h));f=e/Math.pow(h,d-g);d=vb(h,e,d-g)}this.a=e;this.i=f;this.f=g;g=void 0!==a.extent?Ua(a.extent):Va;(void 0!==a.enableRotation?a.enableRotation:1)?(e=a.constrainRotation,e=void 0===e||!0===e?Cb():!1===e?Ab:ja(e)?Bb(e):Ab):e=zb;this.j=new Db(g,d,e);void 0!==a.resolution?c.resolution=a.resolution:void 0!==a.zoom&&(c.resolution=this.constrainResolution(this.a,a.zoom-this.f));
c.rotation=void 0!==a.rotation?a.rotation:0;this.H(c)}w(Of,jd);l=Of.prototype;l.vd=function(a){return this.j.center(a)};l.constrainResolution=function(a,c,d){return this.j.resolution(a,c||0,d||0)};l.constrainRotation=function(a,c){return this.j.rotation(a,c||0)};l.Fa=function(){return this.get("center")};l.Kc=function(a){var c=this.Fa(),d=this.aa(),e=this.va();return he(c,d,e,a)};l.Kk=function(){return this.g};l.aa=function(){return this.get("resolution")};
function Qf(a){var c=a.a,d=Math.log(c/a.i)/Math.log(2);return function(a){return c/Math.pow(2,a*d)}}l.va=function(){return this.get("rotation")};function Rf(a){var c=a.a,d=Math.log(c/a.i)/Math.log(2);return function(a){return Math.log(c/a)/Math.log(2)/d}}function Sf(a){var c=a.Fa(),d=a.g,e=a.aa();a=a.va();return{center:[Math.round(c[0]/e)*e,Math.round(c[1]/e)*e],projection:void 0!==d?d:null,resolution:e,rotation:a}}
l.rj=function(){var a,c=this.aa();if(void 0!==c){var d,e=0;do{d=this.constrainResolution(this.a,e);if(d==c){a=e;break}++e}while(d>this.i)}return void 0!==a?this.f+a:a};
l.Ke=function(a,c,d){a instanceof af||(a=Lf(a));var e=d||{};d=void 0!==e.padding?e.padding:[0,0,0,0];var f=void 0!==e.constrainResolution?e.constrainResolution:!0,g=void 0!==e.nearest?e.nearest:!1,h;void 0!==e.minResolution?h=e.minResolution:void 0!==e.maxZoom?h=this.constrainResolution(this.a,e.maxZoom-this.f,0):h=0;var k=a.o,m=this.va(),e=Math.cos(-m),m=Math.sin(-m),n=Infinity,p=Infinity,q=-Infinity,r=-Infinity;a=a.G;for(var u=0,y=k.length;u<y;u+=a)var A=k[u]*e-k[u+1]*m,F=k[u]*m+k[u+1]*e,n=Math.min(n,
A),p=Math.min(p,F),q=Math.max(q,A),r=Math.max(r,F);k=[n,p,q,r];c=[c[0]-d[1]-d[3],c[1]-d[0]-d[2]];c=Math.max(le(k)/c[0],ie(k)/c[1]);c=isNaN(c)?h:Math.max(c,h);f&&(h=this.constrainResolution(c,0,0),!g&&h<c&&(h=this.constrainResolution(h,-1,0)),c=h);this.wb(c);m=-m;g=(n+q)/2+(d[1]-d[3])/2*c;d=(p+r)/2+(d[0]-d[2])/2*c;this.Ra([g*e-d*m,d*e+g*m])};
l.ri=function(a,c,d){var e=this.va(),f=Math.cos(-e),e=Math.sin(-e),g=a[0]*f-a[1]*e;a=a[1]*f+a[0]*e;var h=this.aa(),g=g+(c[0]/2-d[0])*h;a+=(d[1]-c[1]/2)*h;e=-e;this.Ra([g*f-a*e,a*f+g*e])};function Tf(a){return!!a.Fa()&&void 0!==a.aa()}l.rotate=function(a,c){if(void 0!==c){var d,e=this.Fa();void 0!==e&&(d=[e[0]-c[0],e[1]-c[1]],vd(d,a-this.va()),qd(d,c));this.Ra(d)}this.Xd(a)};l.Ra=function(a){this.set("center",a)};function Uf(a,c){a.c[1]+=c}l.wb=function(a){this.set("resolution",a)};
l.Xd=function(a){this.set("rotation",a)};l.ao=function(a){a=this.constrainResolution(this.a,a-this.f,0);this.wb(a)};function Vf(a){return Math.pow(a,3)}function Wf(a){return 1-Vf(1-a)}function Xf(a){return 3*a*a-2*a*a*a}function Yf(a){return a}function Zf(a){return.5>a?Xf(2*a):1-Xf(2*(a-.5))};function $f(a){var c=a.source,d=a.start?a.start:Date.now(),e=c[0],f=c[1],g=void 0!==a.duration?a.duration:1E3,h=a.easing?a.easing:Xf;return function(a,c){if(c.time<d)return c.animate=!0,c.viewHints[0]+=1,!0;if(c.time<d+g){var n=1-h((c.time-d)/g),p=e-c.viewState.center[0],q=f-c.viewState.center[1];c.animate=!0;c.viewState.center[0]+=n*p;c.viewState.center[1]+=n*q;c.viewHints[0]+=1;return!0}return!1}}
function ag(a){var c=a.rotation?a.rotation:0,d=a.start?a.start:Date.now(),e=void 0!==a.duration?a.duration:1E3,f=a.easing?a.easing:Xf,g=a.anchor?a.anchor:null;return function(a,k){if(k.time<d)return k.animate=!0,k.viewHints[0]+=1,!0;if(k.time<d+e){var m=1-f((k.time-d)/e),m=(c-k.viewState.rotation)*m;k.animate=!0;k.viewState.rotation+=m;if(g){var n=k.viewState.center;n[0]-=g[0];n[1]-=g[1];vd(n,m);qd(n,g)}k.viewHints[0]+=1;return!0}return!1}}
function bg(a){var c=a.resolution,d=a.start?a.start:Date.now(),e=void 0!==a.duration?a.duration:1E3,f=a.easing?a.easing:Xf;return function(a,h){if(h.time<d)return h.animate=!0,h.viewHints[0]+=1,!0;if(h.time<d+e){var k=1-f((h.time-d)/e),m=c-h.viewState.resolution;h.animate=!0;h.viewState.resolution+=k*m;h.viewHints[0]+=1;return!0}return!1}};function cg(a,c,d,e){return void 0!==e?(e[0]=a,e[1]=c,e[2]=d,e):[a,c,d]}function dg(a,c,d){return a+"/"+c+"/"+d}function eg(a){var c=a[0],d=Array(c),e=1<<c-1,f,g;for(f=0;f<c;++f)g=48,a[1]&e&&(g+=1),a[2]&e&&(g+=2),d[f]=String.fromCharCode(g),e>>=1;return d.join("")}function fg(a){return dg(a[0],a[1],a[2])}function gg(a,c,d){var e=a[0],f=hg(c,a);d=ig(d);if(Ud(d,f))return a;a=le(d);f[0]+=a*Math.ceil((d[0]-f[0])/a);return c.Jd(f,e)}
function jg(a,c){var d=a[0],e=a[1],f=a[2];if(c.minZoom>d||d>c.maxZoom)return!1;var g=c.R();return(d=g?kg(c,g,d):c.a?c.a[d]:null)?lg(d,e,f):!0};function mg(a,c,d,e){this.b=a;this.f=c;this.a=d;this.c=e}mg.prototype.contains=function(a){return lg(this,a[1],a[2])};function lg(a,c,d){return a.b<=c&&c<=a.f&&a.a<=d&&d<=a.c}function ng(a,c){return a.b==c.b&&a.a==c.a&&a.f==c.f&&a.c==c.c}function og(a){return a.c-a.a+1}function pg(a){return a.f-a.b+1}function qg(a,c){return a.b<=c.f&&a.f>=c.b&&a.a<=c.c&&a.c>=c.a};function rg(a){this.a=a.html;this.b=a.tileRanges?a.tileRanges:null}rg.prototype.c=function(){return this.a};function sg(a,c,d){wc.call(this,a,d);this.element=c}w(sg,wc);function tg(a){jd.call(this);this.a=a?a:[];ug(this)}w(tg,jd);l=tg.prototype;l.clear=function(){for(;0<this.Gb();)this.pop()};l.Ze=function(a){var c,d;c=0;for(d=a.length;c<d;++c)this.push(a[c]);return this};l.forEach=function(a,c){this.a.forEach(a,c)};l.tk=function(){return this.a};l.item=function(a){return this.a[a]};l.Gb=function(){return this.get("length")};l.Od=function(a,c){ib(this.a,a,0,c);ug(this);C(this,new sg("add",c,this))};
l.pop=function(){return this.tf(this.Gb()-1)};l.push=function(a){var c=this.a.length;this.Od(c,a);return c};l.remove=function(a){var c=this.a,d,e;d=0;for(e=c.length;d<e;++d)if(c[d]===a)return this.tf(d)};l.tf=function(a){var c=this.a[a];Wa.splice.call(this.a,a,1);ug(this);C(this,new sg("remove",c,this));return c};l.Mn=function(a,c){var d=this.Gb();if(a<d)d=this.a[a],this.a[a]=c,C(this,new sg("remove",d,this)),C(this,new sg("add",c,this));else{for(;d<a;++d)this.Od(d,void 0);this.Od(a,c)}};
function ug(a){a.set("length",a.a.length)};var vg=/^#(?:[0-9a-f]{3}){1,2}$/i,wg=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i,xg=/^(?: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;function yg(a){return ga(a)?a:zg(a)}function Ag(a){if(!ia(a)){var c=a[0];c!=(c|0)&&(c=c+.5|0);var d=a[1];d!=(d|0)&&(d=d+.5|0);var e=a[2];e!=(e|0)&&(e=e+.5|0);a="rgba("+c+","+d+","+e+","+a[3]+")"}return a}
var zg=function(){var a={},c=0;return function(d){var e;if(a.hasOwnProperty(d))e=a[d];else{if(1024<=c){e=0;for(var f in a)0===(e++&3)&&(delete a[f],--c)}var g,h;vg.exec(d)?(h=3==d.length-1?1:2,e=parseInt(d.substr(1+0*h,h),16),f=parseInt(d.substr(1+1*h,h),16),g=parseInt(d.substr(1+2*h,h),16),1==h&&(e=(e<<4)+e,f=(f<<4)+f,g=(g<<4)+g),e=[e,f,g,1]):(h=xg.exec(d))?(e=Number(h[1]),f=Number(h[2]),g=Number(h[3]),h=Number(h[4]),e=[e,f,g,h],e=Bg(e,e)):(h=wg.exec(d))?(e=Number(h[1]),f=Number(h[2]),g=Number(h[3]),
e=[e,f,g,1],e=Bg(e,e)):e=void 0;a[d]=e;++c}return e}}();function Bg(a,c){var d=c||[];d[0]=Qa(a[0]+.5|0,0,255);d[1]=Qa(a[1]+.5|0,0,255);d[2]=Qa(a[2]+.5|0,0,255);d[3]=Qa(a[3],0,1);return d};var Cg=!$b||9<=nc;!bc&&!$b||$b&&9<=nc||bc&&lc("1.9.1");$b&&lc("9");function Dg(a,c){this.x=ca(a)?a:0;this.y=ca(c)?c:0}l=Dg.prototype;l.clone=function(){return new Dg(this.x,this.y)};l.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};l.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};l.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};l.scale=function(a,c){var d=ja(c)?c:a;this.x*=a;this.y*=d;return this};function Eg(a,c){this.width=a;this.height=c}l=Eg.prototype;l.clone=function(){return new Eg(this.width,this.height)};l.oi=function(){return this.width*this.height};l.ya=function(){return!this.oi()};l.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};l.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};l.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};
l.scale=function(a,c){var d=ja(c)?c:a;this.width*=a;this.height*=d;return this};function Fg(a){return a?new Gg(Hg(a)):ya||(ya=new Gg)}function Ig(a){var c=document;return ia(a)?c.getElementById(a):a}function Jg(a,c){Jb(c,function(c,e){"style"==e?a.style.cssText=c:"class"==e?a.className=c:"for"==e?a.htmlFor=c:Kg.hasOwnProperty(e)?a.setAttribute(Kg[e],c):0==e.lastIndexOf("aria-",0)||0==e.lastIndexOf("data-",0)?a.setAttribute(e,c):a[e]=c})}
var Kg={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"};function Lg(a){a=a.document.documentElement;return new Eg(a.clientWidth,a.clientHeight)}
function Mg(a,c,d){var e=arguments,f=document,g=e[0],h=e[1];if(!Cg&&h&&(h.name||h.type)){g=["<",g];h.name&&g.push(' name="',Ca(h.name),'"');if(h.type){g.push(' type="',Ca(h.type),'"');var k={};Yb(k,h);delete k.type;h=k}g.push(">");g=g.join("")}g=f.createElement(g);h&&(ia(h)?g.className=h:ga(h)?g.className=h.join(" "):Jg(g,h));2<e.length&&Ng(f,g,e,2);return g}
function Ng(a,c,d,e){function f(d){d&&c.appendChild(ia(d)?a.createTextNode(d):d)}for(;e<d.length;e++){var g=d[e];!ha(g)||la(g)&&0<g.nodeType?f(g):Ya(Og(g)?gb(g):g,f)}}function Pg(a){return document.createElement(a)}function Qg(a,c){Ng(Hg(a),a,arguments,1)}function Rg(a){for(var c;c=a.firstChild;)a.removeChild(c)}function Sg(a,c,d){a.insertBefore(c,a.childNodes[d]||null)}function Tg(a){a&&a.parentNode&&a.parentNode.removeChild(a)}function Ug(a,c){var d=c.parentNode;d&&d.replaceChild(a,c)}
function Vg(a){if(ca(a.firstElementChild))a=a.firstElementChild;else for(a=a.firstChild;a&&1!=a.nodeType;)a=a.nextSibling;return a}function Wg(a,c){if(a.contains&&1==c.nodeType)return a==c||a.contains(c);if("undefined"!=typeof a.compareDocumentPosition)return a==c||Boolean(a.compareDocumentPosition(c)&16);for(;c&&a!=c;)c=c.parentNode;return c==a}function Hg(a){return 9==a.nodeType?a:a.ownerDocument||a.document}
function Og(a){if(a&&"number"==typeof a.length){if(la(a))return"function"==typeof a.item||"string"==typeof a.item;if(ka(a))return"function"==typeof a.item}return!1}function Gg(a){this.b=a||ba.document||document}function Xg(){return!0}
function Yg(a){var c=a.b;a=c.scrollingElement?c.scrollingElement:cc?c.body||c.documentElement:c.documentElement;c=c.parentWindow||c.defaultView;return $b&&lc("10")&&c.pageYOffset!=a.scrollTop?new Dg(a.scrollLeft,a.scrollTop):new Dg(c.pageXOffset||a.scrollLeft,c.pageYOffset||a.scrollTop)}Gg.prototype.appendChild=function(a,c){a.appendChild(c)};Gg.prototype.contains=Wg;function Zg(a){if(a.classList)return a.classList;a=a.className;return ia(a)&&a.match(/\S+/g)||[]}function $g(a,c){var d;a.classList?d=a.classList.contains(c):(d=Zg(a),d=0<=Xa(d,c));return d}function ah(a,c){a.classList?a.classList.add(c):$g(a,c)||(a.className+=0<a.className.length?" "+c:c)}function bh(a,c){a.classList?a.classList.remove(c):$g(a,c)&&(a.className=Za(Zg(a),function(a){return a!=c}).join(" "))}function ch(a,c){$g(a,c)?bh(a,c):ah(a,c)};function dh(a,c,d,e){this.top=a;this.right=c;this.bottom=d;this.left=e}l=dh.prototype;l.clone=function(){return new dh(this.top,this.right,this.bottom,this.left)};l.contains=function(a){return this&&a?a instanceof dh?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};
l.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};l.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};l.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};
l.scale=function(a,c){var d=ja(c)?c:a;this.left*=a;this.right*=a;this.top*=d;this.bottom*=d;return this};function eh(a,c,d,e){this.left=a;this.top=c;this.width=d;this.height=e}l=eh.prototype;l.clone=function(){return new eh(this.left,this.top,this.width,this.height)};l.contains=function(a){return a instanceof eh?this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height:a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height};
l.distance=function(a){var c=a.x<this.left?this.left-a.x:Math.max(a.x-(this.left+this.width),0);a=a.y<this.top?this.top-a.y:Math.max(a.y-(this.top+this.height),0);return Math.sqrt(c*c+a*a)};l.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};l.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
l.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};l.scale=function(a,c){var d=ja(c)?c:a;this.left*=a;this.width*=a;this.top*=d;this.height*=d;return this};function fh(a,c){var d=Hg(a);return d.defaultView&&d.defaultView.getComputedStyle&&(d=d.defaultView.getComputedStyle(a,null))?d[c]||d.getPropertyValue(c)||"":""}function gh(a,c){return fh(a,c)||(a.currentStyle?a.currentStyle[c]:null)||a.style&&a.style[c]}function hh(a,c,d){var e;c instanceof Dg?(e=c.x,c=c.y):(e=c,c=d);a.style.left=ih(e);a.style.top=ih(c)}
function jh(a){var c;try{c=a.getBoundingClientRect()}catch(d){return{left:0,top:0,right:0,bottom:0}}$b&&a.ownerDocument.body&&(a=a.ownerDocument,c.left-=a.documentElement.clientLeft+a.body.clientLeft,c.top-=a.documentElement.clientTop+a.body.clientTop);return c}function kh(a){if(1==a.nodeType)return a=jh(a),new Dg(a.left,a.top);a=a.changedTouches?a.changedTouches[0]:a;return new Dg(a.clientX,a.clientY)}function ih(a){"number"==typeof a&&(a=a+"px");return a}
function lh(a){var c=mh;if("none"!=gh(a,"display"))return c(a);var d=a.style,e=d.display,f=d.visibility,g=d.position;d.visibility="hidden";d.position="absolute";d.display="inline";a=c(a);d.display=e;d.position=g;d.visibility=f;return a}function mh(a){var c=a.offsetWidth,d=a.offsetHeight,e=cc&&!c&&!d;return ca(c)&&!e||!a.getBoundingClientRect?new Eg(c,d):(a=jh(a),new Eg(a.right-a.left,a.bottom-a.top))}function nh(a,c){a.style.display=c?"":"none"}
function oh(a,c,d,e){if(/^\d+px?$/.test(c))return parseInt(c,10);var f=a.style[d],g=a.runtimeStyle[d];a.runtimeStyle[d]=a.currentStyle[d];a.style[d]=c;c=a.style[e];a.style[d]=f;a.runtimeStyle[d]=g;return c}function ph(a,c){var d=a.currentStyle?a.currentStyle[c]:null;return d?oh(a,d,"left","pixelLeft"):0}
function qh(a,c){if($b){var d=ph(a,c+"Left"),e=ph(a,c+"Right"),f=ph(a,c+"Top"),g=ph(a,c+"Bottom");return new dh(f,e,g,d)}d=fh(a,c+"Left");e=fh(a,c+"Right");f=fh(a,c+"Top");g=fh(a,c+"Bottom");return new dh(parseFloat(f),parseFloat(e),parseFloat(g),parseFloat(d))}var rh={thin:2,medium:4,thick:6};function sh(a,c){if("none"==(a.currentStyle?a.currentStyle[c+"Style"]:null))return 0;var d=a.currentStyle?a.currentStyle[c+"Width"]:null;return d in rh?rh[d]:oh(a,d,"left","pixelLeft")}
function th(a){if($b&&!(9<=nc)){var c=sh(a,"borderLeft"),d=sh(a,"borderRight"),e=sh(a,"borderTop");a=sh(a,"borderBottom");return new dh(e,d,a,c)}c=fh(a,"borderLeftWidth");d=fh(a,"borderRightWidth");e=fh(a,"borderTopWidth");a=fh(a,"borderBottomWidth");return new dh(parseFloat(e),parseFloat(d),parseFloat(a),parseFloat(c))};function uh(a,c,d){wc.call(this,a);this.map=c;this.frameState=void 0!==d?d:null}w(uh,wc);function vh(a){jd.call(this);this.element=a.element?a.element:null;this.a=this.T=null;this.A=[];this.render=a.render?a.render:wa;a.target&&this.c(a.target)}w(vh,jd);vh.prototype.Y=function(){Tg(this.element);vh.ba.Y.call(this)};vh.prototype.g=function(){return this.a};
vh.prototype.setMap=function(a){this.a&&Tg(this.element);0<this.A.length&&(this.A.forEach($c),this.A.length=0);if(this.a=a)(this.T?this.T:a.B).appendChild(this.element),this.render!==wa&&this.A.push(B(a,"postrender",this.render,!1,this)),a.render()};vh.prototype.c=function(a){this.T=Ig(a)};function wh(){this.c=0;this.f={};this.a=this.b=null}l=wh.prototype;l.clear=function(){this.c=0;this.f={};this.a=this.b=null};function xh(a,c){return a.f.hasOwnProperty(c)}l.forEach=function(a,c){for(var d=this.b;d;)a.call(c,d.kc,d.Rd,this),d=d.$a};l.get=function(a){a=this.f[a];if(a===this.a)return a.kc;a===this.b?(this.b=this.b.$a,this.b.Kb=null):(a.$a.Kb=a.Kb,a.Kb.$a=a.$a);a.$a=null;a.Kb=this.a;this.a=this.a.$a=a;return a.kc};l.Qb=function(){return this.c};
l.O=function(){var a=Array(this.c),c=0,d;for(d=this.a;d;d=d.Kb)a[c++]=d.Rd;return a};l.Ub=function(){var a=Array(this.c),c=0,d;for(d=this.a;d;d=d.Kb)a[c++]=d.kc;return a};l.pop=function(){var a=this.b;delete this.f[a.Rd];a.$a&&(a.$a.Kb=null);this.b=a.$a;this.b||(this.a=null);--this.c;return a.kc};l.set=function(a,c){var d={Rd:a,$a:null,Kb:this.a,kc:c};this.a?this.a.$a=d:this.b=d;this.a=d;this.f[a]=d;++this.c};function yh(a){wh.call(this);this.g=void 0!==a?a:2048}w(yh,wh);function zh(a){return a.Qb()>a.g};function Ah(a,c){dd.call(this);this.b=a;this.state=c}w(Ah,dd);function Bh(a){C(a,"change")}Ah.prototype.jb=function(){return v(this).toString()};Ah.prototype.j=function(){return this.b};function Ch(a){jd.call(this);this.i=Ce(a.projection);this.j=void 0!==a.attributions?a.attributions:null;this.T=a.logo;this.v=void 0!==a.state?a.state:"ready";this.N=void 0!==a.wrapX?a.wrapX:!1}w(Ch,jd);l=Ch.prototype;l.be=wa;l.na=function(){return this.j};l.ma=function(){return this.T};l.oa=function(){return this.i};l.pa=function(){return this.v};function Dh(a){return a.N}l.la=function(a){this.j=a;this.s()};function Eh(a,c){a.v=c;a.s()};function Fh(a){this.minZoom=void 0!==a.minZoom?a.minZoom:0;this.b=a.resolutions;this.maxZoom=this.b.length-1;this.c=void 0!==a.origin?a.origin:null;this.g=null;void 0!==a.origins&&(this.g=a.origins);var c=a.extent;void 0===c||this.c||this.g||(this.c=fe(c));this.j=null;void 0!==a.tileSizes&&(this.j=a.tileSizes);this.l=void 0!==a.tileSize?a.tileSize:this.j?null:256;this.A=void 0!==c?c:null;this.a=null;void 0!==a.sizes?this.a=a.sizes.map(function(a){return new mg(Math.min(0,a[0]),Math.max(a[0]-1,-1),
Math.min(0,a[1]),Math.max(a[1]-1,-1))},this):c&&Gh(this,c);this.f=[0,0]}var Hh=[0,0,0];function Ih(a,c,d,e,f){f=Jh(a,c,f);for(c=c[0]-1;c>=a.minZoom;){if(d.call(null,c,kg(a,f,c,e)))return!0;--c}return!1}l=Fh.prototype;l.R=function(){return this.A};l.Uf=function(){return this.maxZoom};l.Vf=function(){return this.minZoom};l.ta=function(a){return this.c?this.c:this.g[a]};l.aa=function(a){return this.b[a]};l.Kg=function(){return this.b};
function Kh(a,c,d,e){return c[0]<a.maxZoom?(e=Jh(a,c,e),kg(a,e,c[0]+1,d)):null}function Lh(a,c,d,e){Mh(a,c[0],c[1],d,!1,Hh);var f=Hh[1],g=Hh[2];Mh(a,c[2],c[3],d,!0,Hh);a=Hh[1];c=Hh[2];void 0!==e?(e.b=f,e.f=a,e.a=g,e.c=c):e=new mg(f,a,g,c);return e}function kg(a,c,d,e){d=a.aa(d);return Lh(a,c,d,e)}function hg(a,c){var d=a.ta(c[0]),e=a.aa(c[0]),f=pd(a.Ka(c[0]),a.f);return[d[0]+(c[1]+.5)*f[0]*e,d[1]+(c[2]+.5)*f[1]*e]}
function Jh(a,c,d){var e=a.ta(c[0]),f=a.aa(c[0]);a=pd(a.Ka(c[0]),a.f);var g=e[0]+c[1]*a[0]*f;c=e[1]+c[2]*a[1]*f;return Qd(g,c,g+a[0]*f,c+a[1]*f,d)}l.Yc=function(a,c,d){return Mh(this,a[0],a[1],c,!1,d)};function Mh(a,c,d,e,f,g){var h=Nh(a,e),k=e/a.aa(h),m=a.ta(h);a=pd(a.Ka(h),a.f);c=k*Math.floor((c-m[0])/e+(f?.5:0))/a[0];d=k*Math.floor((d-m[1])/e+(f?0:.5))/a[1];f?(c=Math.ceil(c)-1,d=Math.ceil(d)-1):(c=Math.floor(c),d=Math.floor(d));return cg(h,c,d,g)}
l.Jd=function(a,c,d){c=this.aa(c);return Mh(this,a[0],a[1],c,!1,d)};l.Ka=function(a){return this.l?this.l:this.j[a]};function Nh(a,c){var d=tb(a.b,c,0);return Qa(d,a.minZoom,a.maxZoom)}function Gh(a,c){for(var d=a.b.length,e=Array(d),f=a.minZoom;f<d;++f)e[f]=kg(a,c,f);a.a=e}function Oh(a){var c={};Yb(c,void 0!==a?a:{});void 0===c.extent&&(c.extent=Ce("EPSG:3857").R());c.resolutions=Ph(c.extent,c.maxZoom,c.tileSize);delete c.maxZoom;return new Fh(c)}
function Ph(a,c,d){c=void 0!==c?c:42;var e=ie(a);a=le(a);d=pd(void 0!==d?d:256);d=Math.max(a/d[0],e/d[1]);c+=1;e=Array(c);for(a=0;a<c;++a)e[a]=d/Math.pow(2,a);return e}function ig(a){a=Ce(a);var c=a.R();c||(a=180*ze.degrees/a.Ed(),c=Qd(-a,-a,a,a));return c};function Rh(a){Ch.call(this,{attributions:a.attributions,extent:a.extent,logo:a.logo,projection:a.projection,state:a.state,wrapX:a.wrapX});this.da=void 0!==a.opaque?a.opaque:!1;this.fa=void 0!==a.tilePixelRatio?a.tilePixelRatio:1;this.tileGrid=void 0!==a.tileGrid?a.tileGrid:null;this.a=new yh;this.c=[0,0]}w(Rh,Ch);function Sh(a,c,d,e){for(var f=!0,g,h,k=d.b;k<=d.f;++k)for(var m=d.a;m<=d.c;++m)g=a.hb(c,k,m),h=!1,xh(a.a,g)&&(g=a.a.get(g),(h=2===g.state)&&(h=!1!==e(g))),h||(f=!1);return f}l=Rh.prototype;
l.Bd=function(){return 0};l.hb=dg;l.Ca=function(){return this.tileGrid};function Th(a,c){var d;if(a.tileGrid)d=a.tileGrid;else if(d=c.l,!d){d=ig(c);var e=Ph(d,void 0,void 0);d=new Fh({extent:d,origin:fe(d),resolutions:e,tileSize:void 0});c.l=d}return d}l.Tb=function(a,c,d){c=Th(this,d);return od(pd(c.Ka(a),this.c),this.fa,this.c)};function Uh(a,c,d){d=void 0!==d?d:a.i;var e=Th(a,d);a.N&&d.f&&(c=gg(c,e,d));return jg(c,e)?c:null}l.yf=wa;function Vh(a,c){wc.call(this,a);this.tile=c}w(Vh,wc);function Wh(a){a=a?a:{};this.B=Pg("UL");this.v=Pg("LI");this.B.appendChild(this.v);nh(this.v,!1);this.f=void 0!==a.collapsed?a.collapsed:!0;this.i=void 0!==a.collapsible?a.collapsible:!0;this.i||(this.f=!1);var c=a.className?a.className:"ol-attribution",d=a.tipLabel?a.tipLabel:"Attributions",e=a.collapseLabel?a.collapseLabel:"\u00bb";this.N=ia(e)?Mg("SPAN",{},e):e;e=a.label?a.label:"i";this.I=ia(e)?Mg("SPAN",{},e):e;d=Mg("BUTTON",{type:"button",title:d},this.i&&!this.f?this.N:this.I);B(d,"click",
this.Nk,!1,this);B(d,["mouseout",zc],function(){this.blur()},!1);c=Mg("DIV",c+" ol-unselectable ol-control"+(this.f&&this.i?" ol-collapsed":"")+(this.i?"":" ol-uncollapsible"),this.B,d);vh.call(this,{element:c,render:a.render?a.render:Xh,target:a.target});this.u=!0;this.l={};this.j={};this.X={}}w(Wh,vh);
function Xh(a){if(a=a.frameState){var c,d,e,f,g,h,k,m,n,p,q,r=a.layerStatesArray,u=Vb(a.attributions),y={},A=a.viewState.projection;d=0;for(c=r.length;d<c;d++)if(h=r[d].layer.ea())if(p=v(h).toString(),n=h.j)for(e=0,f=n.length;e<f;e++)if(k=n[e],m=v(k).toString(),!(m in u)){if(g=a.usedTiles[p]){var F=Th(h,A);a:{q=k;var z=A;if(q.b){var x=void 0,K=void 0,J=void 0,I=void 0;for(I in g)if(I in q.b)for(var J=g[I],N,x=0,K=q.b[I].length;x<K;++x){N=q.b[I][x];if(qg(N,J)){q=!0;break a}var va=kg(F,z.R(),parseInt(I,
10)),Ra=pg(va);if(J.b<va.b||J.f>va.f)if(qg(N,new mg(wb(J.b,Ra),wb(J.f,Ra),J.a,J.c))||pg(J)>Ra&&qg(N,va)){q=!0;break a}}q=!1}else q=!0}}else q=!1;q?(m in y&&delete y[m],u[m]=k):y[m]=k}c=[u,y];d=c[0];c=c[1];for(var M in this.l)M in d?(this.j[M]||(nh(this.l[M],!0),this.j[M]=!0),delete d[M]):M in c?(this.j[M]&&(nh(this.l[M],!1),delete this.j[M]),delete c[M]):(Tg(this.l[M]),delete this.l[M],delete this.j[M]);for(M in d)e=Pg("LI"),e.innerHTML=d[M].a,this.B.appendChild(e),this.l[M]=e,this.j[M]=!0;for(M in c)e=
Pg("LI"),e.innerHTML=c[M].a,nh(e,!1),this.B.appendChild(e),this.l[M]=e;M=!Rb(this.j)||!Rb(a.logos);this.u!=M&&(nh(this.element,M),this.u=M);M&&Rb(this.j)?ah(this.element,"ol-logo-only"):bh(this.element,"ol-logo-only");var Ia;a=a.logos;M=this.X;for(Ia in M)Ia in a||(Tg(M[Ia]),delete M[Ia]);for(var pb in a)pb in M||(Ia=new Image,Ia.src=pb,d=a[pb],""===d?d=Ia:(d=Mg("A",{href:d}),d.appendChild(Ia)),this.v.appendChild(d),M[pb]=d);nh(this.v,!Rb(a))}else this.u&&(nh(this.element,!1),this.u=!1)}l=Wh.prototype;
l.Nk=function(a){a.preventDefault();Yh(this)};function Yh(a){ch(a.element,"ol-collapsed");a.f?Ug(a.N,a.I):Ug(a.I,a.N);a.f=!a.f}l.Mk=function(){return this.i};l.Pk=function(a){this.i!==a&&(this.i=a,ch(this.element,"ol-uncollapsible"),!a&&this.f&&Yh(this))};l.Ok=function(a){this.i&&this.f!==a&&Yh(this)};l.Lk=function(){return this.f};function Zh(a){a=a?a:{};var c=a.className?a.className:"ol-rotate",d=a.label?a.label:"\u21e7";this.f=null;ia(d)?this.f=Mg("SPAN","ol-compass",d):(this.f=d,ah(this.f,"ol-compass"));d=Mg("BUTTON",{"class":c+"-reset",type:"button",title:a.tipLabel?a.tipLabel:"Reset rotation"},this.f);B(d,"click",Zh.prototype.v,!1,this);c=Mg("DIV",c+" ol-unselectable ol-control",d);vh.call(this,{element:c,render:a.render?a.render:$h,target:a.target});this.i=a.duration?a.duration:250;this.j=void 0!==a.autoHide?a.autoHide:
!0;this.l=void 0;this.j&&ah(this.element,"ol-hidden")}w(Zh,vh);Zh.prototype.v=function(a){a.preventDefault();a=this.a;var c=a.Z();if(c){var d=c.va();void 0!==d&&(0<this.i&&(d%=2*Math.PI,d<-Math.PI&&(d+=2*Math.PI),d>Math.PI&&(d-=2*Math.PI),a.Aa(ag({rotation:d,duration:this.i,easing:Wf}))),c.Xd(0))}};
function $h(a){if(a=a.frameState){a=a.viewState.rotation;if(a!=this.l){var c="rotate("+a+"rad)";if(this.j){var d=this.element;0===a?ah(d,"ol-hidden"):bh(d,"ol-hidden")}this.f.style.msTransform=c;this.f.style.webkitTransform=c;this.f.style.transform=c}this.l=a}};function ai(a){a=a?a:{};var c=a.className?a.className:"ol-zoom",d=a.delta?a.delta:1,e=a.zoomOutLabel?a.zoomOutLabel:"\u2212",f=a.zoomOutTipLabel?a.zoomOutTipLabel:"Zoom out",g=Mg("BUTTON",{"class":c+"-in",type:"button",title:a.zoomInTipLabel?a.zoomInTipLabel:"Zoom in"},a.zoomInLabel?a.zoomInLabel:"+");B(g,"click",ra(ai.prototype.j,d),!1,this);e=Mg("BUTTON",{"class":c+"-out",type:"button",title:f},e);B(e,"click",ra(ai.prototype.j,-d),!1,this);c=Mg("DIV",c+" ol-unselectable ol-control",g,e);vh.call(this,
{element:c,target:a.target});this.f=a.duration?a.duration:250}w(ai,vh);ai.prototype.j=function(a,c){c.preventDefault();var d=this.a,e=d.Z();if(e){var f=e.aa();f&&(0<this.f&&d.Aa(bg({resolution:f,duration:this.f,easing:Wf})),d=e.constrainResolution(f,a),e.wb(d))}};function bi(a){a=a?a:{};var c=new tg;(void 0!==a.zoom?a.zoom:1)&&c.push(new ai(a.zoomOptions));(void 0!==a.rotate?a.rotate:1)&&c.push(new Zh(a.rotateOptions));(void 0!==a.attribution?a.attribution:1)&&c.push(new Wh(a.attributionOptions));return c};var ci=cc?"webkitfullscreenchange":bc?"mozfullscreenchange":$b?"MSFullscreenChange":"fullscreenchange";function di(){var a=Fg().b,c=a.body;return!!(c.webkitRequestFullscreen||c.mozRequestFullScreen&&a.mozFullScreenEnabled||c.msRequestFullscreen&&a.msFullscreenEnabled||c.requestFullscreen&&a.fullscreenEnabled)}
function ei(a){a.webkitRequestFullscreen?a.webkitRequestFullscreen():a.mozRequestFullScreen?a.mozRequestFullScreen():a.msRequestFullscreen?a.msRequestFullscreen():a.requestFullscreen&&a.requestFullscreen()}function fi(){var a=Fg().b;return!!(a.webkitIsFullScreen||a.mozFullScreen||a.msFullscreenElement||a.fullscreenElement)};function gi(a){a=a?a:{};this.f=a.className?a.className:"ol-full-screen";var c=a.label?a.label:"\u2194";this.j=ia(c)?document.createTextNode(String(c)):c;c=a.labelActive?a.labelActive:"\u00d7";this.i=ia(c)?document.createTextNode(String(c)):c;c=a.tipLabel?a.tipLabel:"Toggle full-screen";c=Mg("BUTTON",{"class":this.f+"-"+fi(),type:"button",title:c},this.j);B(c,"click",this.u,!1,this);B(ba.document,ci,this.l,!1,this);var d=this.f+" ol-unselectable ol-control "+(di()?"":"ol-unsupported"),c=Mg("DIV",d,
c);vh.call(this,{element:c,target:a.target});this.v=void 0!==a.keys?a.keys:!1}w(gi,vh);gi.prototype.u=function(a){a.preventDefault();di()&&(a=this.a)&&(fi()?(a=Fg().b,a.webkitCancelFullScreen?a.webkitCancelFullScreen():a.mozCancelFullScreen?a.mozCancelFullScreen():a.msExitFullscreen?a.msExitFullscreen():a.exitFullscreen&&a.exitFullscreen()):(a=a.bf(),a=Ig(a),this.v?a.mozRequestFullScreenWithKeys?a.mozRequestFullScreenWithKeys():a.webkitRequestFullscreen?a.webkitRequestFullscreen():ei(a):ei(a)))};
gi.prototype.l=function(){var a=this.f+"-true",c=this.f+"-false",d=Vg(this.element),e=this.a;fi()?($g(d,c)&&(bh(d,c),ah(d,a)),Ug(this.i,this.j)):($g(d,a)&&(bh(d,a),ah(d,c)),Ug(this.j,this.i));e&&e.Fc()};function hi(a){a=a?a:{};var c=Mg("DIV",a.className?a.className:"ol-mouse-position");vh.call(this,{element:c,render:a.render?a.render:ii,target:a.target});B(this,ld("projection"),this.Qk,!1,this);a.coordinateFormat&&this.eh(a.coordinateFormat);a.projection&&this.qg(Ce(a.projection));this.v=a.undefinedHTML?a.undefinedHTML:"";this.l=c.innerHTML;this.i=this.j=this.f=null}w(hi,vh);
function ii(a){a=a.frameState;a?this.f!=a.viewState.projection&&(this.f=a.viewState.projection,this.j=null):this.f=null;ji(this,this.i)}l=hi.prototype;l.Qk=function(){this.j=null};l.Qf=function(){return this.get("coordinateFormat")};l.pg=function(){return this.get("projection")};l.Kj=function(a){this.i=this.a.zd(a.b);ji(this,this.i)};l.Lj=function(){ji(this,null);this.i=null};
l.setMap=function(a){hi.ba.setMap.call(this,a);a&&(a=a.a,this.A.push(B(a,"mousemove",this.Kj,!1,this),B(a,"mouseout",this.Lj,!1,this)))};l.eh=function(a){this.set("coordinateFormat",a)};l.qg=function(a){this.set("projection",a)};function ji(a,c){var d=a.v;if(c&&a.f){if(!a.j){var e=a.pg();a.j=e?Ge(a.f,e):We}if(e=a.a.xa(c))a.j(e,e),d=(d=a.Qf())?d(e):e.toString()}a.l&&d==a.l||(a.element.innerHTML=d,a.l=d)};function ki(a,c,d){rc.call(this);this.ha=null;this.c=!1;this.j=a;this.g=d;this.b=c||window;this.a=qa(this.f,this)}w(ki,rc);ki.prototype.start=function(){li(this);this.c=!1;var a=mi(this),c=ni(this);a&&!c&&this.b.mozRequestAnimationFrame?(this.ha=B(this.b,"MozBeforePaint",this.a),this.b.mozRequestAnimationFrame(null),this.c=!0):this.ha=a&&c?a.call(this.b,this.a):this.b.setTimeout(ue(this.a),20)};
function li(a){if(null!=a.ha){var c=mi(a),d=ni(a);c&&!d&&a.b.mozRequestAnimationFrame?$c(a.ha):c&&d?d.call(a.b,a.ha):a.b.clearTimeout(a.ha)}a.ha=null}ki.prototype.f=function(){this.c&&this.ha&&$c(this.ha);this.ha=null;this.j.call(this.g,sa())};ki.prototype.Y=function(){li(this);ki.ba.Y.call(this)};function mi(a){a=a.b;return a.requestAnimationFrame||a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||a.oRequestAnimationFrame||a.msRequestAnimationFrame||null}
function ni(a){a=a.b;return a.cancelAnimationFrame||a.cancelRequestAnimationFrame||a.webkitCancelRequestAnimationFrame||a.mozCancelRequestAnimationFrame||a.oCancelRequestAnimationFrame||a.msCancelRequestAnimationFrame||null};function oi(a){ba.setTimeout(function(){throw a;},0)}function pi(a,c){var d=a;c&&(d=qa(a,c));d=qi(d);!ka(ba.setImmediate)||ba.Window&&ba.Window.prototype&&ba.Window.prototype.setImmediate==ba.setImmediate?(ri||(ri=si()),ri(d)):ba.setImmediate(d)}var ri;
function si(){var a=ba.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!Ib("Presto")&&(a=function(){var a=document.createElement("IFRAME");a.style.display="none";a.src="";document.documentElement.appendChild(a);var c=a.contentWindow,a=c.document;a.open();a.write("");a.close();var d="callImmediate"+Math.random(),e="file:"==c.location.protocol?"*":c.location.protocol+"//"+c.location.host,a=qa(function(a){if(("*"==e||a.origin==e)&&a.data==
d)this.port1.onmessage()},this);c.addEventListener("message",a,!1);this.port1={};this.port2={postMessage:function(){c.postMessage(d,e)}}});if("undefined"!==typeof a&&!Ib("Trident")&&!Ib("MSIE")){var c=new a,d={},e=d;c.port1.onmessage=function(){if(ca(d.next)){d=d.next;var a=d.Mf;d.Mf=null;a()}};return function(a){e.next={Mf:a};e=e.next;c.port2.postMessage(0)}}return"undefined"!==typeof document&&"onreadystatechange"in document.createElement("SCRIPT")?function(a){var c=document.createElement("SCRIPT");
c.onreadystatechange=function(){c.onreadystatechange=null;c.parentNode.removeChild(c);c=null;a();a=null};document.documentElement.appendChild(c)}:function(a){ba.setTimeout(a,0)}}var qi=te;function ti(a,c){this.a={};this.b=[];this.c=0;var d=arguments.length;if(1<d){if(d%2)throw Error("Uneven number of arguments");for(var e=0;e<d;e+=2)this.set(arguments[e],arguments[e+1])}else if(a){a instanceof ti?(d=a.O(),e=a.Ub()):(d=Nb(a),e=Mb(a));for(var f=0;f<d.length;f++)this.set(d[f],e[f])}}l=ti.prototype;l.Qb=function(){return this.c};l.Ub=function(){ui(this);for(var a=[],c=0;c<this.b.length;c++)a.push(this.a[this.b[c]]);return a};l.O=function(){ui(this);return this.b.concat()};
l.ya=function(){return 0==this.c};l.clear=function(){this.a={};this.c=this.b.length=0};l.remove=function(a){return vi(this.a,a)?(delete this.a[a],this.c--,this.b.length>2*this.c&&ui(this),!0):!1};function ui(a){if(a.c!=a.b.length){for(var c=0,d=0;c<a.b.length;){var e=a.b[c];vi(a.a,e)&&(a.b[d++]=e);c++}a.b.length=d}if(a.c!=a.b.length){for(var f={},d=c=0;c<a.b.length;)e=a.b[c],vi(f,e)||(a.b[d++]=e,f[e]=1),c++;a.b.length=d}}l.get=function(a,c){return vi(this.a,a)?this.a[a]:c};
l.set=function(a,c){vi(this.a,a)||(this.c++,this.b.push(a));this.a[a]=c};l.forEach=function(a,c){for(var d=this.O(),e=0;e<d.length;e++){var f=d[e],g=this.get(f);a.call(c,g,f,this)}};l.clone=function(){return new ti(this)};function vi(a,c){return Object.prototype.hasOwnProperty.call(a,c)};function wi(){this.b=sa()}new wi;wi.prototype.set=function(a){this.b=a};wi.prototype.reset=function(){this.set(sa())};wi.prototype.get=function(){return this.b};function xi(a){dd.call(this);this.b=a||window;this.a=B(this.b,"resize",this.f,!1,this);this.c=Lg(this.b||window)}w(xi,dd);xi.prototype.Y=function(){xi.ba.Y.call(this);this.a&&($c(this.a),this.a=null);this.c=this.b=null};xi.prototype.f=function(){var a=Lg(this.b||window),c=this.c;a==c||a&&c&&a.width==c.width&&a.height==c.height||(this.c=a,C(this,"resize"))};function yi(a,c,d,e,f){if(!($b||ac||cc&&lc("525")))return!0;if(dc&&f)return zi(a);if(f&&!e)return!1;ja(c)&&(c=Ai(c));if(!d&&(17==c||18==c||dc&&91==c))return!1;if((cc||ac)&&e&&d)switch(a){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($b&&e&&c==a)return!1;switch(a){case 13:return!0;case 27:return!(cc||ac)}return zi(a)}
function zi(a){if(48<=a&&57>=a||96<=a&&106>=a||65<=a&&90>=a||(cc||ac)&&0==a)return!0;switch(a){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 Ai(a){if(bc)a=Bi(a);else if(dc&&cc)a:switch(a){case 93:a=91;break a}return a}
function Bi(a){switch(a){case 61:return 187;case 59:return 186;case 173:return 189;case 224:return 91;case 0:return 224;default:return a}};function Ci(a,c){dd.call(this);a&&Di(this,a,c)}w(Ci,dd);l=Ci.prototype;l.Zc=null;l.Pd=null;l.We=null;l.Qd=null;l.Oa=-1;l.Eb=-1;l.De=!1;
var Ei={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},Fi={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},Gi=$b||ac||cc&&lc("525"),Hi=dc&&bc;
Ci.prototype.b=function(a){if(cc||ac)if(17==this.Oa&&!a.C||18==this.Oa&&!a.a||dc&&91==this.Oa&&!a.v)this.Eb=this.Oa=-1;-1==this.Oa&&(a.C&&17!=a.j?this.Oa=17:a.a&&18!=a.j?this.Oa=18:a.v&&91!=a.j&&(this.Oa=91));Gi&&!yi(a.j,this.Oa,a.f,a.C,a.a)?this.handleEvent(a):(this.Eb=Ai(a.j),Hi&&(this.De=a.a))};Ci.prototype.a=function(a){this.Eb=this.Oa=-1;this.De=a.a};
Ci.prototype.handleEvent=function(a){var c=a.b,d,e,f=c.altKey;$b&&"keypress"==a.type?(d=this.Eb,e=13!=d&&27!=d?c.keyCode:0):(cc||ac)&&"keypress"==a.type?(d=this.Eb,e=0<=c.charCode&&63232>c.charCode&&zi(d)?c.charCode:0):Zb&&!cc?(d=this.Eb,e=zi(d)?c.keyCode:0):(d=c.keyCode||this.Eb,e=c.charCode||0,Hi&&(f=this.De),dc&&63==e&&224==d&&(d=191));var g=d=Ai(d),h=c.keyIdentifier;d?63232<=d&&d in Ei?g=Ei[d]:25==d&&a.f&&(g=9):h&&h in Fi&&(g=Fi[h]);this.Oa=g;a=new Ii(g,e,0,c);a.a=f;C(this,a)};
function Di(a,c,d){a.Qd&&Ji(a);a.Zc=c;a.Pd=B(a.Zc,"keypress",a,d);a.We=B(a.Zc,"keydown",a.b,d,a);a.Qd=B(a.Zc,"keyup",a.a,d,a)}function Ji(a){a.Pd&&($c(a.Pd),$c(a.We),$c(a.Qd),a.Pd=null,a.We=null,a.Qd=null);a.Zc=null;a.Oa=-1;a.Eb=-1}Ci.prototype.Y=function(){Ci.ba.Y.call(this);Ji(this)};function Ii(a,c,d,e){Bc.call(this,e);this.type="key";this.j=a;this.A=c}w(Ii,Bc);function Ki(a,c){dd.call(this);var d=this.b=a;(d=la(d)&&1==d.nodeType?this.b:this.b?this.b.body:null)&&gh(d,"direction");this.a=B(this.b,bc?"DOMMouseScroll":"mousewheel",this,c)}w(Ki,dd);
Ki.prototype.handleEvent=function(a){var c=0,d=0;a=a.b;if("mousewheel"==a.type){c=1;if($b||cc&&(ec||lc("532.0")))c=40;d=Li(-a.wheelDelta,c);c=ca(a.wheelDeltaX)?Li(-a.wheelDeltaY,c):d}else d=a.detail,100<d?d=3:-100>d&&(d=-3),ca(a.axis)&&a.axis===a.HORIZONTAL_AXIS||(c=d);ja(this.c)&&(c=Math.min(Math.max(c,-this.c),this.c));d=new Mi(d,a,0,c);C(this,d)};function Li(a,c){return cc&&(dc||fc)&&0!=a%c?a:a/c}Ki.prototype.Y=function(){Ki.ba.Y.call(this);$c(this.a);this.a=null};
function Mi(a,c,d,e){Bc.call(this,c);this.type="mousewheel";this.detail=a;this.u=e}w(Mi,Bc);function Ni(a,c,d){wc.call(this,a);this.b=c;a=d?d:{};this.buttons=Oi(a);this.pressure=Pi(a,this.buttons);this.bubbles="bubbles"in a?a.bubbles:!1;this.cancelable="cancelable"in a?a.cancelable:!1;this.view="view"in a?a.view:null;this.detail="detail"in a?a.detail:null;this.screenX="screenX"in a?a.screenX:0;this.screenY="screenY"in a?a.screenY:0;this.clientX="clientX"in a?a.clientX:0;this.clientY="clientY"in a?a.clientY:0;this.button="button"in a?a.button:0;this.relatedTarget="relatedTarget"in a?a.relatedTarget:
null;this.pointerId="pointerId"in a?a.pointerId:0;this.width="width"in a?a.width:0;this.height="height"in a?a.height:0;this.pointerType="pointerType"in a?a.pointerType:"";this.isPrimary="isPrimary"in a?a.isPrimary:!1;c.preventDefault&&(this.preventDefault=function(){c.preventDefault()})}w(Ni,wc);function Oi(a){if(a.buttons||Qi)a=a.buttons;else switch(a.which){case 1:a=1;break;case 2:a=4;break;case 3:a=2;break;default:a=0}return a}
function Pi(a,c){var d=0;a.pressure?d=a.pressure:d=c?.5:0;return d}var Qi=!1;try{Qi=1===(new MouseEvent("click",{buttons:1})).buttons}catch(a){};function Ri(a,c){var d=Pg("CANVAS");a&&(d.width=a);c&&(d.height=c);return d.getContext("2d")}
var Si=function(){var a;return function(){if(void 0===a)if(ba.getComputedStyle){var c=Pg("P"),d,e={webkitTransform:"-webkit-transform",OTransform:"-o-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",transform:"transform"};document.body.appendChild(c);for(var f in e)f in c.style&&(c.style[f]="translate(1px,1px)",d=ba.getComputedStyle(c).getPropertyValue(e[f]));Tg(c);a=d&&"none"!==d}else a=!1;return a}}(),Ti=function(){var a;return function(){if(void 0===a)if(ba.getComputedStyle){var c=
Pg("P"),d,e={webkitTransform:"-webkit-transform",OTransform:"-o-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",transform:"transform"};document.body.appendChild(c);for(var f in e)f in c.style&&(c.style[f]="translate3d(1px,1px,1px)",d=ba.getComputedStyle(c).getPropertyValue(e[f]));Tg(c);a=d&&"none"!==d}else a=!1;return a}}();function Ui(a,c){var d=a.style;d.WebkitTransform=c;d.MozTransform=c;d.b=c;d.msTransform=c;d.transform=c;$b&&lc("9.0")&&(a.style.transformOrigin="0 0")}
function Vi(a,c){var d;if(Ti()){var e=Array(16);for(d=0;16>d;++d)e[d]=c[d].toFixed(6);Ui(a,"matrix3d("+e.join(",")+")")}else if(Si()){var e=[c[0],c[1],c[4],c[5],c[12],c[13]],f=Array(6);for(d=0;6>d;++d)f[d]=e[d].toFixed(6);Ui(a,"matrix("+f.join(",")+")")}else a.style.left=Math.round(c[12])+"px",a.style.top=Math.round(c[13])+"px"};var Wi=["experimental-webgl","webgl","webkit-3d","moz-webgl"];function Xi(a,c){var d,e,f=Wi.length;for(e=0;e<f;++e)try{if(d=a.getContext(Wi[e],c))return d}catch(g){}return null};var Yi,Zi=ba.devicePixelRatio||1,$i=!1,aj=function(){if(!("HTMLCanvasElement"in ba))return!1;try{var a=Ri();return a?(void 0!==a.setLineDash&&($i=!0),!0):!1}catch(c){return!1}}(),bj="DeviceOrientationEvent"in ba,cj="geolocation"in ba.navigator,dj="ontouchstart"in ba,ej="PointerEvent"in ba,fj=!!ba.navigator.msPointerEnabled,gj=!1,hj,ij=[];if("WebGLRenderingContext"in ba)try{var jj=Xi(Pg("CANVAS"),{failIfMajorPerformanceCaveat:!0});jj&&(gj=!0,hj=jj.getParameter(jj.MAX_TEXTURE_SIZE),ij=jj.getSupportedExtensions())}catch(a){}
Yi=gj;ua=ij;ta=hj;function kj(a,c){this.b=a;this.g=c};function lj(a){kj.call(this,a,{mousedown:this.ek,mousemove:this.fk,mouseup:this.ik,mouseover:this.hk,mouseout:this.gk});this.a=a.a;this.c=[]}w(lj,kj);function mj(a,c){for(var d=a.c,e=c.clientX,f=c.clientY,g=0,h=d.length,k;g<h&&(k=d[g]);g++){var m=Math.abs(f-k[1]);if(25>=Math.abs(e-k[0])&&25>=m)return!0}return!1}function nj(a){var c=oj(a,a.b),d=c.preventDefault;c.preventDefault=function(){a.preventDefault();d()};c.pointerId=1;c.isPrimary=!0;c.pointerType="mouse";return c}l=lj.prototype;
l.ek=function(a){if(!mj(this,a)){(1).toString()in this.a&&this.cancel(a);var c=nj(a);this.a[(1).toString()]=a;pj(this.b,rj,c,a)}};l.fk=function(a){if(!mj(this,a)){var c=nj(a);pj(this.b,sj,c,a)}};l.ik=function(a){if(!mj(this,a)){var c=this.a[(1).toString()];c&&c.button===a.button&&(c=nj(a),pj(this.b,tj,c,a),delete this.a[(1).toString()])}};l.hk=function(a){if(!mj(this,a)){var c=nj(a);uj(this.b,c,a)}};l.gk=function(a){if(!mj(this,a)){var c=nj(a);vj(this.b,c,a)}};
l.cancel=function(a){var c=nj(a);this.b.cancel(c,a);delete this.a[(1).toString()]};function wj(a){kj.call(this,a,{MSPointerDown:this.nk,MSPointerMove:this.pk,MSPointerUp:this.sk,MSPointerOut:this.qk,MSPointerOver:this.rk,MSPointerCancel:this.mk,MSGotPointerCapture:this.kk,MSLostPointerCapture:this.lk});this.a=a.a;this.c=["","unavailable","touch","pen","mouse"]}w(wj,kj);function xj(a,c){var d=c;ja(c.b.pointerType)&&(d=oj(c,c.b),d.pointerType=a.c[c.b.pointerType]);return d}l=wj.prototype;l.nk=function(a){this.a[a.b.pointerId.toString()]=a;var c=xj(this,a);pj(this.b,rj,c,a)};
l.pk=function(a){var c=xj(this,a);pj(this.b,sj,c,a)};l.sk=function(a){var c=xj(this,a);pj(this.b,tj,c,a);delete this.a[a.b.pointerId.toString()]};l.qk=function(a){var c=xj(this,a);vj(this.b,c,a)};l.rk=function(a){var c=xj(this,a);uj(this.b,c,a)};l.mk=function(a){var c=xj(this,a);this.b.cancel(c,a);delete this.a[a.b.pointerId.toString()]};l.lk=function(a){C(this.b,new Ni("lostpointercapture",a,a.b))};l.kk=function(a){C(this.b,new Ni("gotpointercapture",a,a.b))};function yj(a){kj.call(this,a,{pointerdown:this.an,pointermove:this.bn,pointerup:this.en,pointerout:this.cn,pointerover:this.dn,pointercancel:this.$m,gotpointercapture:this.sj,lostpointercapture:this.dk})}w(yj,kj);l=yj.prototype;l.an=function(a){zj(this.b,a)};l.bn=function(a){zj(this.b,a)};l.en=function(a){zj(this.b,a)};l.cn=function(a){zj(this.b,a)};l.dn=function(a){zj(this.b,a)};l.$m=function(a){zj(this.b,a)};l.dk=function(a){zj(this.b,a)};l.sj=function(a){zj(this.b,a)};function Aj(a,c){kj.call(this,a,{touchstart:this.fo,touchmove:this.eo,touchend:this.co,touchcancel:this.bo});this.a=a.a;this.i=c;this.c=void 0;this.j=0;this.f=void 0}w(Aj,kj);l=Aj.prototype;l.$g=function(){this.j=0;this.f=void 0};
function Bj(a,c,d){c=oj(c,d);c.pointerId=d.identifier+2;c.bubbles=!0;c.cancelable=!0;c.detail=a.j;c.button=0;c.buttons=1;c.width=d.webkitRadiusX||d.radiusX||0;c.height=d.webkitRadiusY||d.radiusY||0;c.pressure=d.webkitForce||d.force||.5;c.isPrimary=a.c===d.identifier;c.pointerType="touch";c.clientX=d.clientX;c.clientY=d.clientY;c.screenX=d.screenX;c.screenY=d.screenY;return c}
function Cj(a,c,d){function e(){c.preventDefault()}var f=Array.prototype.slice.call(c.b.changedTouches),g=f.length,h,k;for(h=0;h<g;++h)k=Bj(a,c,f[h]),k.preventDefault=e,d.call(a,c,k)}
l.fo=function(a){var c=a.b.touches,d=Nb(this.a),e=d.length;if(e>=c.length){var f=[],g,h,k;for(g=0;g<e;++g){h=d[g];k=this.a[h];var m;if(!(m=1==h))a:{m=c.length;for(var n=void 0,p=0;p<m;p++)if(n=c[p],n.identifier===h-2){m=!0;break a}m=!1}m||f.push(k.ec)}for(g=0;g<f.length;++g)this.Ee(a,f[g])}c=Lb(this.a);if(0===c||1===c&&(1).toString()in this.a)this.c=a.b.changedTouches[0].identifier,void 0!==this.f&&ba.clearTimeout(this.f);Dj(this,a);this.j++;Cj(this,a,this.Wm)};
l.Wm=function(a,c){this.a[c.pointerId]={target:c.target,ec:c,Lg:c.target};var d=this.b;c.bubbles=!0;pj(d,Ej,c,a);d=this.b;c.bubbles=!1;pj(d,Fj,c,a);pj(this.b,rj,c,a)};l.eo=function(a){a.preventDefault();Cj(this,a,this.jk)};l.jk=function(a,c){var d=this.a[c.pointerId];if(d){var e=d.ec,f=d.Lg;pj(this.b,sj,c,a);e&&f!==c.target&&(e.relatedTarget=c.target,c.relatedTarget=f,e.target=f,c.target?(vj(this.b,e,a),uj(this.b,c,a)):(c.target=f,c.relatedTarget=null,this.Ee(a,c)));d.ec=c;d.Lg=c.target}};
l.co=function(a){Dj(this,a);Cj(this,a,this.ho)};l.ho=function(a,c){pj(this.b,tj,c,a);this.b.ec(c,a);var d=this.b;c.bubbles=!1;pj(d,Gj,c,a);delete this.a[c.pointerId];c.isPrimary&&(this.c=void 0,this.f=ba.setTimeout(qa(this.$g,this),200))};l.bo=function(a){Cj(this,a,this.Ee)};l.Ee=function(a,c){this.b.cancel(c,a);this.b.ec(c,a);var d=this.b;c.bubbles=!1;pj(d,Gj,c,a);delete this.a[c.pointerId];c.isPrimary&&(this.c=void 0,this.f=ba.setTimeout(qa(this.$g,this),200))};
function Dj(a,c){var d=a.i.c,e=c.b.changedTouches[0];if(a.c===e.identifier){var f=[e.clientX,e.clientY];d.push(f);ba.setTimeout(function(){eb(d,f)},2500)}};function Hj(a){dd.call(this);this.f=a;this.a={};this.c={};this.b=[];ej?Ij(this,new yj(this)):fj?Ij(this,new wj(this)):(a=new lj(this),Ij(this,a),dj&&Ij(this,new Aj(this,a)));a=this.b.length;for(var c,d=0;d<a;d++)c=this.b[d],Jj(this,Object.keys(c.g))}w(Hj,dd);function Ij(a,c){var d=Object.keys(c.g);d&&(d.forEach(function(a){var d=c.g[a];d&&(this.c[a]=qa(d,c))},a),a.b.push(c))}Hj.prototype.g=function(a){var c=this.c[a.type];c&&c(a)};
function Jj(a,c){c.forEach(function(a){B(this.f,a,this.g,!1,this)},a)}function Kj(a,c){c.forEach(function(a){Zc(this.f,a,this.g,!1,this)},a)}function oj(a,c){for(var d={},e,f=0,g=Lj.length;f<g;f++)e=Lj[f][0],d[e]=a[e]||c[e]||Lj[f][1];return d}Hj.prototype.ec=function(a,c){a.bubbles=!0;pj(this,Mj,a,c)};Hj.prototype.cancel=function(a,c){pj(this,Nj,a,c)};function vj(a,c,d){a.ec(c,d);var e=c.relatedTarget;e&&Wg(c.target,e)||(c.bubbles=!1,pj(a,Gj,c,d))}
function uj(a,c,d){c.bubbles=!0;pj(a,Ej,c,d);var e=c.relatedTarget;e&&Wg(c.target,e)||(c.bubbles=!1,pj(a,Fj,c,d))}function pj(a,c,d,e){C(a,new Ni(c,e,d))}function zj(a,c){C(a,new Ni(c.type,c,c.b))}Hj.prototype.Y=function(){for(var a=this.b.length,c,d=0;d<a;d++)c=this.b[d],Kj(this,Object.keys(c.g));Hj.ba.Y.call(this)};
var sj="pointermove",rj="pointerdown",tj="pointerup",Ej="pointerover",Mj="pointerout",Fj="pointerenter",Gj="pointerleave",Nj="pointercancel",Lj=[["bubbles",!1],["cancelable",!1],["view",null],["detail",null],["screenX",0],["screenY",0],["clientX",0],["clientY",0],["ctrlKey",!1],["altKey",!1],["shiftKey",!1],["metaKey",!1],["button",0],["relatedTarget",null],["buttons",0],["pointerId",0],["width",0],["height",0],["pressure",0],["tiltX",0],["tiltY",0],["pointerType",""],["hwTimestamp",0],["isPrimary",
!1],["type",""],["target",null],["currentTarget",null],["which",0]];function Oj(a,c,d,e,f){uh.call(this,a,c,f);this.b=d;this.originalEvent=d.b;this.pixel=c.zd(this.originalEvent);this.coordinate=c.xa(this.pixel);this.dragging=void 0!==e?e:!1}w(Oj,uh);Oj.prototype.preventDefault=function(){Oj.ba.preventDefault.call(this);this.b.preventDefault()};Oj.prototype.c=function(){Oj.ba.c.call(this);this.b.c()};function Pj(a,c,d,e,f){Oj.call(this,a,c,d.b,e,f);this.a=d}w(Pj,Oj);
function Qj(a){dd.call(this);this.c=a;this.j=0;this.i=!1;this.a=this.l=this.f=null;a=this.c.a;this.v=0;this.A={};this.g=new Hj(a);this.b=null;this.l=B(this.g,rj,this.Oj,!1,this);this.C=B(this.g,sj,this.An,!1,this)}w(Qj,dd);function Rj(a,c){var d;d=new Pj(Sj,a.c,c);C(a,d);0!==a.j?(ba.clearTimeout(a.j),a.j=0,d=new Pj(Tj,a.c,c),C(a,d)):a.j=ba.setTimeout(qa(function(){this.j=0;var a=new Pj(Uj,this.c,c);C(this,a)},a),250)}
function Vj(a,c){c.type==Wj||c.type==Xj?delete a.A[c.pointerId]:c.type==Yj&&(a.A[c.pointerId]=!0);a.v=Lb(a.A)}l=Qj.prototype;l.ag=function(a){Vj(this,a);var c=new Pj(Wj,this.c,a);C(this,c);!this.i&&0===a.button&&Rj(this,this.a);0===this.v&&(this.f.forEach($c),this.f=null,this.i=!1,this.a=null,vc(this.b),this.b=null)};
l.Oj=function(a){Vj(this,a);var c=new Pj(Yj,this.c,a);C(this,c);this.a=a;this.f||(this.b=new Hj(document),this.f=[B(this.b,Zj,this.Gk,!1,this),B(this.b,Wj,this.ag,!1,this),B(this.g,Xj,this.ag,!1,this)])};l.Gk=function(a){if(a.clientX!=this.a.clientX||a.clientY!=this.a.clientY){this.i=!0;var c=new Pj(ak,this.c,a,this.i);C(this,c)}a.preventDefault()};l.An=function(a){C(this,new Pj(a.type,this.c,a,!(!this.a||a.clientX==this.a.clientX&&a.clientY==this.a.clientY)))};
l.Y=function(){this.C&&($c(this.C),this.C=null);this.l&&($c(this.l),this.l=null);this.f&&(this.f.forEach($c),this.f=null);this.b&&(vc(this.b),this.b=null);this.g&&(vc(this.g),this.g=null);Qj.ba.Y.call(this)};var Uj="singleclick",Sj="click",Tj="dblclick",ak="pointerdrag",Zj="pointermove",Yj="pointerdown",Wj="pointerup",Xj="pointercancel",bk={yo:Uj,no:Sj,oo:Tj,ro:ak,uo:Zj,qo:Yj,xo:Wj,wo:"pointerover",vo:"pointerout",so:"pointerenter",to:"pointerleave",po:Xj};function ck(a){jd.call(this);var c=Vb(a);c.opacity=void 0!==a.opacity?a.opacity:1;c.visible=void 0!==a.visible?a.visible:!0;c.zIndex=void 0!==a.zIndex?a.zIndex:0;c.maxResolution=void 0!==a.maxResolution?a.maxResolution:Infinity;c.minResolution=void 0!==a.minResolution?a.minResolution:0;this.H(c)}w(ck,jd);
function dk(a){var c=a.Hb(),d=a.Ue(),e=a.ib(),f=a.R(),g=a.Ib(),h=a.Cb(),k=a.Db();return{layer:a,opacity:Qa(c,0,1),v:d,visible:e,Fb:!0,extent:f,zIndex:g,maxResolution:h,minResolution:Math.max(k,0)}}l=ck.prototype;l.R=function(){return this.get("extent")};l.Cb=function(){return this.get("maxResolution")};l.Db=function(){return this.get("minResolution")};l.Hb=function(){return this.get("opacity")};l.ib=function(){return this.get("visible")};l.Ib=function(){return this.get("zIndex")};
l.Yb=function(a){this.set("extent",a)};l.gc=function(a){this.set("maxResolution",a)};l.hc=function(a){this.set("minResolution",a)};l.Zb=function(a){this.set("opacity",a)};l.$b=function(a){this.set("visible",a)};l.ac=function(a){this.set("zIndex",a)};function ek(){};function fk(a,c,d,e,f,g){wc.call(this,a,c);this.vectorContext=d;this.frameState=e;this.context=f;this.glContext=g}w(fk,wc);function gk(a){var c=Vb(a);delete c.source;ck.call(this,c);this.j=this.l=this.i=null;a.map&&this.setMap(a.map);B(this,ld("source"),this.Uj,!1,this);this.Ec(a.source?a.source:null)}w(gk,ck);function hk(a,c){return a.visible&&c>=a.minResolution&&c<a.maxResolution}l=gk.prototype;l.Te=function(a){a=a?a:[];a.push(dk(this));return a};l.ea=function(){return this.get("source")||null};l.Ue=function(){var a=this.ea();return a?a.v:"undefined"};l.xl=function(){this.s()};
l.Uj=function(){this.j&&($c(this.j),this.j=null);var a=this.ea();a&&(this.j=B(a,"change",this.xl,!1,this));this.s()};l.setMap=function(a){$c(this.i);this.i=null;a||this.s();$c(this.l);this.l=null;a&&(this.i=B(a,"precompose",function(a){var d=dk(this);d.Fb=!1;d.zIndex=Infinity;a.frameState.layerStatesArray.push(d);a.frameState.layerStates[v(this)]=d},!1,this),this.l=B(this,"change",a.render,!1,a),this.s())};l.Ec=function(a){this.set("source",a)};function ik(a,c,d,e,f){dd.call(this);this.j=f;this.extent=a;this.g=d;this.resolution=c;this.state=e}w(ik,dd);function jk(a){C(a,"change")}ik.prototype.R=function(){return this.extent};ik.prototype.aa=function(){return this.resolution};function kk(a,c,d,e,f,g,h,k){Gd(a);0===c&&0===d||Jd(a,c,d);1==e&&1==f||Kd(a,e,f);0!==g&&Ld(a,g);0===h&&0===k||Jd(a,h,k);return a}function lk(a,c){return a[0]==c[0]&&a[1]==c[1]&&a[4]==c[4]&&a[5]==c[5]&&a[12]==c[12]&&a[13]==c[13]}function mk(a,c,d){var e=a[1],f=a[5],g=a[13],h=c[0];c=c[1];d[0]=a[0]*h+a[4]*c+a[12];d[1]=e*h+f*c+g;return d};function nk(a){gd.call(this);this.a=a}w(nk,gd);l=nk.prototype;l.Ta=wa;l.bc=function(a,c,d,e){a=a.slice();mk(c.pixelToCoordinateMatrix,a,a);if(this.Ta(a,c,re,this))return d.call(e,this.a)};l.$d=qe;l.wd=function(a,c){return function(d,e){return Sh(a,d,e,function(a){c[d]||(c[d]={});c[d][a.b.toString()]=a})}};l.Al=function(a){2===a.target.state&&ok(this)};function pk(a,c){var d=c.state;2!=d&&3!=d&&B(c,"change",a.Al,!1,a);0==d&&(c.load(),d=c.state);return 2==d}
function ok(a){var c=a.a;c.ib()&&"ready"==c.Ue()&&a.s()}function qk(a,c){zh(c.a)&&a.postRenderFunctions.push(ra(function(a,c,f){c=v(a).toString();a=a.a;f=f.usedTiles[c];for(var g;zh(a)&&!(c=a.b.kc,g=c.b[0].toString(),g in f&&f[g].contains(c.b));)a.pop().Tc()},c))}function rk(a,c){if(c){var d,e,f;e=0;for(f=c.length;e<f;++e)d=c[e],a[v(d).toString()]=d}}function sk(a,c){var d=c.T;void 0!==d&&(ia(d)?a.logos[d]="":la(d)&&(a.logos[d.src]=d.href))}
function tk(a,c,d,e){c=v(c).toString();d=d.toString();c in a?d in a[c]?(a=a[c][d],e.b<a.b&&(a.b=e.b),e.f>a.f&&(a.f=e.f),e.a<a.a&&(a.a=e.a),e.c>a.c&&(a.c=e.c)):a[c][d]=e:(a[c]={},a[c][d]=e)}function uk(a,c,d){return[c*(Math.round(a[0]/c)+d[0]%2/2),c*(Math.round(a[1]/c)+d[1]%2/2)]}
function vk(a,c,d,e,f,g,h,k,m,n){var p=v(c).toString();p in a.wantedTiles||(a.wantedTiles[p]={});var q=a.wantedTiles[p];a=a.tileQueue;var r=d.minZoom,u,y,A,F,z,x;for(x=h;x>=r;--x)for(y=kg(d,g,x,y),A=d.aa(x),F=y.b;F<=y.f;++F)for(z=y.a;z<=y.c;++z)h-x<=k?(u=c.Sb(x,F,z,e,f),0==u.state&&(q[fg(u.b)]=!0,u.jb()in a.c||wk(a,[u,p,hg(d,u.b),A])),void 0!==m&&m.call(n,u)):c.yf(x,F,z)};function xk(a){this.v=a.opacity;this.B=a.rotateWithView;this.C=a.rotation;this.A=a.scale;this.N=a.snapToPixel}l=xk.prototype;l.de=function(){return this.v};l.Gd=function(){return this.B};l.ee=function(){return this.C};l.fe=function(){return this.A};l.Id=function(){return this.N};l.ge=function(a){this.v=a};l.he=function(a){this.C=a};l.ie=function(a){this.A=a};function yk(a){a=a||{};this.g=void 0!==a.anchor?a.anchor:[.5,.5];this.f=null;this.a=void 0!==a.anchorOrigin?a.anchorOrigin:"top-left";this.i=void 0!==a.anchorXUnits?a.anchorXUnits:"fraction";this.l=void 0!==a.anchorYUnits?a.anchorYUnits:"fraction";var c=void 0!==a.crossOrigin?a.crossOrigin:null,d=void 0!==a.img?a.img:null,e=void 0!==a.imgSize?a.imgSize:null,f=a.src;void 0!==f&&0!==f.length||!d||(f=d.src);var g=void 0!==a.src?0:2,h=zk.Bb(),k=h.get(f,c);k||(k=new Ak(d,f,e,c,g),h.set(f,c,k));this.b=
k;this.ca=void 0!==a.offset?a.offset:[0,0];this.c=void 0!==a.offsetOrigin?a.offsetOrigin:"top-left";this.j=null;this.u=void 0!==a.size?a.size:null;xk.call(this,{opacity:void 0!==a.opacity?a.opacity:1,rotation:void 0!==a.rotation?a.rotation:0,scale:void 0!==a.scale?a.scale:1,snapToPixel:void 0!==a.snapToPixel?a.snapToPixel:!0,rotateWithView:void 0!==a.rotateWithView?a.rotateWithView:!1})}w(yk,xk);l=yk.prototype;
l.Ab=function(){if(this.f)return this.f;var a=this.g,c=this.kb();if("fraction"==this.i||"fraction"==this.l){if(!c)return null;a=this.g.slice();"fraction"==this.i&&(a[0]*=c[0]);"fraction"==this.l&&(a[1]*=c[1])}if("top-left"!=this.a){if(!c)return null;a===this.g&&(a=this.g.slice());if("top-right"==this.a||"bottom-right"==this.a)a[0]=-a[0]+c[0];if("bottom-left"==this.a||"bottom-right"==this.a)a[1]=-a[1]+c[1]}return this.f=a};l.Jb=function(){return this.b.b};l.Cd=function(){return this.b.c};l.dd=function(){return this.b.a};
l.ce=function(){var a=this.b;if(!a.g)if(a.l){var c=a.c[0],d=a.c[1],e=Ri(c,d);e.fillRect(0,0,c,d);a.g=e.canvas}else a.g=a.b;return a.g};l.ta=function(){if(this.j)return this.j;var a=this.ca;if("top-left"!=this.c){var c=this.kb(),d=this.b.c;if(!c||!d)return null;a=a.slice();if("top-right"==this.c||"bottom-right"==this.c)a[0]=d[0]-c[0]-a[0];if("bottom-left"==this.c||"bottom-right"==this.c)a[1]=d[1]-c[1]-a[1]}return this.j=a};l.om=function(){return this.b.j};l.kb=function(){return this.u?this.u:this.b.c};
l.Ye=function(a,c){return B(this.b,"change",a,!1,c)};l.load=function(){this.b.load()};l.xf=function(a,c){Zc(this.b,"change",a,!1,c)};function Ak(a,c,d,e,f){dd.call(this);this.g=null;this.b=a?a:new Image;e&&(this.b.crossOrigin=e);this.f=null;this.a=f;this.c=d;this.j=c;this.l=!1;2==this.a&&Bk(this)}w(Ak,dd);function Bk(a){var c=Ri(1,1);try{c.drawImage(a.b,0,0),c.getImageData(0,0,1,1)}catch(d){a.l=!0}}Ak.prototype.i=function(){this.a=3;this.f.forEach($c);this.f=null;C(this,"change")};
Ak.prototype.C=function(){this.a=2;this.c=[this.b.width,this.b.height];this.f.forEach($c);this.f=null;Bk(this);C(this,"change")};Ak.prototype.load=function(){if(0==this.a){this.a=1;this.f=[Yc(this.b,"error",this.i,!1,this),Yc(this.b,"load",this.C,!1,this)];try{this.b.src=this.j}catch(a){this.i()}}};function zk(){this.b={};this.a=0}ea(zk);zk.prototype.clear=function(){this.b={};this.a=0};zk.prototype.get=function(a,c){var d=c+":"+a;return d in this.b?this.b[d]:null};
zk.prototype.set=function(a,c,d){this.b[c+":"+a]=d;++this.a};function Ck(a,c){rc.call(this);this.j=c;this.f={};this.A={}}w(Ck,rc);function Dk(a){var c=a.viewState,d=a.coordinateToPixelMatrix;kk(d,a.size[0]/2,a.size[1]/2,1/c.resolution,-1/c.resolution,-c.rotation,-c.center[0],-c.center[1]);Id(d,a.pixelToCoordinateMatrix)}l=Ck.prototype;l.Y=function(){Jb(this.f,vc);Ck.ba.Y.call(this)};
function Ek(){var a=zk.Bb();if(32<a.a){var c=0,d,e;for(d in a.b){e=a.b[d];var f;if(f=0===(c++&3))Gc(e)?e=fd(e,void 0,void 0):(e=Uc(e),e=!!e&&Oc(e,void 0,void 0)),f=!e;f&&(delete a.b[d],--a.a)}}}
l.ff=function(a,c,d,e,f,g){var h,k=c.viewState,m=k.resolution,n=k.projection,k=a;if(n.c){var n=n.R(),p=le(n),q=a[0];if(q<n[0]||q>n[2])k=[q+p*Math.ceil((n[0]-q)/p),a[1]]}n=c.layerStatesArray;for(p=n.length-1;0<=p;--p){var r=n[p],q=r.layer;if(!r.Fb||hk(r,m)&&f.call(g,q))if(r=Fk(this,q),q.ea()&&(h=r.Ta(Dh(q.ea())?k:a,c,d,e)),h)return h}};
l.yg=function(a,c,d,e,f,g){var h,k=c.viewState.resolution,m=c.layerStatesArray,n;for(n=m.length-1;0<=n;--n){h=m[n];var p=h.layer;if(hk(h,k)&&f.call(g,p)&&(h=Fk(this,p).bc(a,c,d,e)))return h}};l.zg=function(a,c,d,e){return void 0!==this.ff(a,c,re,this,d,e)};function Fk(a,c){var d=v(c).toString();if(d in a.f)return a.f[d];var e=a.Ie(c);a.f[d]=e;a.A[d]=B(e,"change",a.Ej,!1,a);return e}l.Ej=function(){this.j.render()};l.pe=wa;
l.Gn=function(a,c){for(var d in this.f)if(!(c&&d in c.layerStates)){var e=d,f=this.f[e];delete this.f[e];$c(this.A[e]);delete this.A[e];vc(f)}};function Gk(a,c){for(var d in a.f)if(!(d in c.layerStates)){c.postRenderFunctions.push(qa(a.Gn,a));break}}function nb(a,c){return a.zIndex-c.zIndex};function Hk(a,c){this.i=a;this.g=c;this.b=[];this.a=[];this.c={}}Hk.prototype.clear=function(){this.b.length=0;this.a.length=0;Sb(this.c)};function Ik(a){var c=a.b,d=a.a,e=c[0];1==c.length?(c.length=0,d.length=0):(c[0]=c.pop(),d[0]=d.pop(),Jk(a,0));c=a.g(e);delete a.c[c];return e}function wk(a,c){var d=a.i(c);Infinity!=d&&(a.b.push(c),a.a.push(d),a.c[a.g(c)]=!0,Kk(a,0,a.b.length-1))}Hk.prototype.Qb=function(){return this.b.length};Hk.prototype.ya=function(){return 0===this.b.length};
function Jk(a,c){for(var d=a.b,e=a.a,f=d.length,g=d[c],h=e[c],k=c;c<f>>1;){var m=2*c+1,n=2*c+2,m=n<f&&e[n]<e[m]?n:m;d[c]=d[m];e[c]=e[m];c=m}d[c]=g;e[c]=h;Kk(a,k,c)}function Kk(a,c,d){var e=a.b;a=a.a;for(var f=e[d],g=a[d];d>c;){var h=d-1>>1;if(a[h]>g)e[d]=e[h],a[d]=a[h],d=h;else break}e[d]=f;a[d]=g}function Lk(a){var c=a.i,d=a.b,e=a.a,f=0,g=d.length,h,k,m;for(k=0;k<g;++k)h=d[k],m=c(h),Infinity==m?delete a.c[a.g(h)]:(e[f]=m,d[f++]=h);d.length=f;e.length=f;for(c=(a.b.length>>1)-1;0<=c;c--)Jk(a,c)};function Mk(a,c){Hk.call(this,function(c){return a.apply(null,c)},function(a){return a[0].jb()});this.l=c;this.f=0}w(Mk,Hk);Mk.prototype.j=function(a){a=a.target;var c=a.state;if(2===c||3===c||4===c)Zc(a,"change",this.j,!1,this),--this.f,this.l()};function Nk(a,c,d){for(var e=0,f;a.f<c&&e<d&&0<a.Qb();)f=Ik(a)[0],0===f.state&&(B(f,"change",a.j,!1,a),f.load(),++a.f,++e)};function Ok(a,c,d){this.f=a;this.c=c;this.j=d;this.b=[];this.a=this.g=0}function Pk(a,c){var d=a.f,e=a.a,f=a.c-e,g=Math.log(a.c/a.a)/a.f;return $f({source:c,duration:g,easing:function(a){return e*(Math.exp(d*a*g)-1)/f}})};function Qk(a){jd.call(this);this.A=null;this.g(!0);this.handleEvent=a.handleEvent}w(Qk,jd);Qk.prototype.c=function(){return this.get("active")};Qk.prototype.g=function(a){this.set("active",a)};Qk.prototype.setMap=function(a){this.A=a};function Rk(a,c,d,e,f){if(void 0!==d){var g=c.va(),h=c.Fa();void 0!==g&&h&&f&&0<f&&(a.Aa(ag({rotation:g,duration:f,easing:Wf})),e&&a.Aa($f({source:h,duration:f,easing:Wf})));c.rotate(d,e)}}
function Sk(a,c,d,e,f){var g=c.aa();d=c.constrainResolution(g,d,0);Tk(a,c,d,e,f)}function Tk(a,c,d,e,f){if(d){var g=c.aa(),h=c.Fa();void 0!==g&&h&&d!==g&&f&&0<f&&(a.Aa(bg({resolution:g,duration:f,easing:Wf})),e&&a.Aa($f({source:h,duration:f,easing:Wf})));if(e){var k;a=c.Fa();f=c.aa();void 0!==a&&void 0!==f&&(k=[e[0]-d*(e[0]-a[0])/f,e[1]-d*(e[1]-a[1])/f]);c.Ra(k)}c.wb(d)}};function Uk(a){a=a?a:{};this.a=a.delta?a.delta:1;Qk.call(this,{handleEvent:Vk});this.f=a.duration?a.duration:250}w(Uk,Qk);function Vk(a){var c=!1,d=a.b;if(a.type==Tj){var c=a.map,e=a.coordinate,d=d.f?-this.a:this.a,f=c.Z();Sk(c,f,d,e,this.f);a.preventDefault();c=!0}return!c};function Wk(a){a=a.b;return a.a&&!a.l&&a.f}function Xk(a){return"pointermove"==a.type}function Yk(a){return a.type==Uj}function Zk(a){a=a.b;return!a.a&&!a.l&&!a.f}function $k(a){a=a.b;return!a.a&&!a.l&&a.f}function al(a){a=a.b.target.tagName;return"INPUT"!==a&&"SELECT"!==a&&"TEXTAREA"!==a}function bl(a){return 1==a.a.pointerId};function cl(a){a=a?a:{};Qk.call(this,{handleEvent:a.handleEvent?a.handleEvent:dl});this.lc=a.handleDownEvent?a.handleDownEvent:qe;this.mc=a.handleDragEvent?a.handleDragEvent:wa;this.Ic=a.handleMoveEvent?a.handleMoveEvent:wa;this.ze=a.handleUpEvent?a.handleUpEvent:qe;this.u=!1;this.X={};this.j=[]}w(cl,Qk);function el(a){for(var c=a.length,d=0,e=0,f=0;f<c;f++)d+=a[f].clientX,e+=a[f].clientY;return[d/c,e/c]}
function dl(a){if(!(a instanceof Pj))return!0;var c=!1,d=a.type;if(d===Yj||d===ak||d===Wj)d=a.a,a.type==Wj?delete this.X[d.pointerId]:a.type==Yj?this.X[d.pointerId]=d:d.pointerId in this.X&&(this.X[d.pointerId]=d),this.j=Mb(this.X);this.u&&(a.type==ak?this.mc(a):a.type==Wj&&(this.u=this.ze(a)));a.type==Yj?(this.u=a=this.lc(a),c=this.ic(a)):a.type==Zj&&this.Ic(a);return!c}cl.prototype.ic=te;function fl(a){cl.call(this,{handleDownEvent:gl,handleDragEvent:hl,handleUpEvent:il});a=a?a:{};this.a=a.kinetic;this.f=this.i=null;this.v=a.condition?a.condition:Zk;this.l=!1}w(fl,cl);function hl(a){var c=el(this.j);this.a&&this.a.b.push(c[0],c[1],Date.now());if(this.f){var d=this.f[0]-c[0],e=c[1]-this.f[1];a=a.map;var f=a.Z(),g=Sf(f),e=d=[d,e],h=g.resolution;e[0]*=h;e[1]*=h;vd(d,g.rotation);qd(d,g.center);d=f.vd(d);a.render();f.Ra(d)}this.f=c}
function il(a){a=a.map;var c=a.Z();if(0===this.j.length){var d;if(d=!this.l&&this.a)if(d=this.a,6>d.b.length)d=!1;else{var e=Date.now()-d.j,f=d.b.length-3;if(d.b[f+2]<e)d=!1;else{for(var g=f-3;0<g&&d.b[g+2]>e;)g-=3;var e=d.b[f+2]-d.b[g+2],h=d.b[f]-d.b[g],f=d.b[f+1]-d.b[g+1];d.g=Math.atan2(f,h);d.a=Math.sqrt(h*h+f*f)/e;d=d.a>d.c}}d&&(d=this.a,d=(d.c-d.a)/d.f,f=this.a.g,g=c.Fa(),this.i=Pk(this.a,g),a.Aa(this.i),g=a.Ba(g),d=a.xa([g[0]-d*Math.cos(f),g[1]-d*Math.sin(f)]),d=c.vd(d),c.Ra(d));Uf(c,-1);a.render();
return!1}this.f=null;return!0}function gl(a){if(0<this.j.length&&this.v(a)){var c=a.map,d=c.Z();this.f=null;this.u||Uf(d,1);c.render();this.i&&eb(c.N,this.i)&&(d.Ra(a.frameState.viewState.center),this.i=null);this.a&&(a=this.a,a.b.length=0,a.g=0,a.a=0);this.l=1<this.j.length;return!0}return!1}fl.prototype.ic=qe;function jl(a){a=a?a:{};cl.call(this,{handleDownEvent:kl,handleDragEvent:ll,handleUpEvent:ml});this.f=a.condition?a.condition:Wk;this.a=void 0;this.i=a.duration?a.duration:250}w(jl,cl);function ll(a){if(bl(a)){var c=a.map,d=c.Ea();a=a.pixel;d=Math.atan2(d[1]/2-a[1],a[0]-d[0]/2);if(void 0!==this.a){a=d-this.a;var e=c.Z(),f=e.va();c.render();Rk(c,e,f-a)}this.a=d}}
function ml(a){if(!bl(a))return!0;a=a.map;var c=a.Z();Uf(c,-1);var d=c.va(),e=this.i,d=c.constrainRotation(d,0);Rk(a,c,d,void 0,e);return!1}function kl(a){return bl(a)&&Dc(a.b)&&this.f(a)?(a=a.map,Uf(a.Z(),1),a.render(),this.a=void 0,!0):!1}jl.prototype.ic=qe;function nl(a){this.c=this.a=this.f=this.g=this.b=null;this.i=a}w(nl,rc);function pl(a){var c=a.f,d=a.a;a=[c,[c[0],d[1]],d,[d[0],c[1]]].map(a.b.xa,a.b);a[4]=a[0].slice();return new E([a])}nl.prototype.Y=function(){this.setMap(null)};nl.prototype.j=function(a){var c=this.c,d=this.i;a.vectorContext.oc(Infinity,function(a){a.Ia(d.f,d.c);a.Ja(d.a);a.Pb(c,null)})};nl.prototype.V=function(){return this.c};function ql(a){a.b&&a.f&&a.a&&a.b.render()}
nl.prototype.setMap=function(a){this.g&&($c(this.g),this.g=null,this.b.render(),this.b=null);if(this.b=a)this.g=B(a,"postcompose",this.j,!1,this),ql(this)};function rl(a,c){wc.call(this,a);this.coordinate=c}w(rl,wc);function sl(a){cl.call(this,{handleDownEvent:tl,handleDragEvent:ul,handleUpEvent:vl});a=a?a:{};this.f=new nl(a.style?a.style:null);this.a=null;this.v=a.condition?a.condition:re}w(sl,cl);function ul(a){if(bl(a)){var c=this.f;a=a.pixel;c.f=this.a;c.a=a;c.c=pl(c);ql(c)}}sl.prototype.V=function(){return this.f.V()};sl.prototype.l=wa;
function vl(a){if(!bl(a))return!0;this.f.setMap(null);var c=a.pixel[0]-this.a[0],d=a.pixel[1]-this.a[1];64<=c*c+d*d&&(this.l(a),C(this,new rl("boxend",a.coordinate)));return!1}function tl(a){if(bl(a)&&Dc(a.b)&&this.v(a)){this.a=a.pixel;this.f.setMap(a.map);var c=this.f,d=this.a;c.f=this.a;c.a=d;c.c=pl(c);ql(c);C(this,new rl("boxstart",a.coordinate));return!0}return!1};function wl(){this.a=-1};function xl(){this.a=-1;this.a=64;this.b=Array(4);this.g=Array(this.a);this.f=this.c=0;this.reset()}w(xl,wl);xl.prototype.reset=function(){this.b[0]=1732584193;this.b[1]=4023233417;this.b[2]=2562383102;this.b[3]=271733878;this.f=this.c=0};
function yl(a,c,d){d||(d=0);var e=Array(16);if(ia(c))for(var f=0;16>f;++f)e[f]=c.charCodeAt(d++)|c.charCodeAt(d++)<<8|c.charCodeAt(d++)<<16|c.charCodeAt(d++)<<24;else for(f=0;16>f;++f)e[f]=c[d++]|c[d++]<<8|c[d++]<<16|c[d++]<<24;c=a.b[0];d=a.b[1];var f=a.b[2],g=a.b[3],h=0,h=c+(g^d&(f^g))+e[0]+3614090360&4294967295;c=d+(h<<7&4294967295|h>>>25);h=g+(f^c&(d^f))+e[1]+3905402710&4294967295;g=c+(h<<12&4294967295|h>>>20);h=f+(d^g&(c^d))+e[2]+606105819&4294967295;f=g+(h<<17&4294967295|h>>>15);h=d+(c^f&(g^
c))+e[3]+3250441966&4294967295;d=f+(h<<22&4294967295|h>>>10);h=c+(g^d&(f^g))+e[4]+4118548399&4294967295;c=d+(h<<7&4294967295|h>>>25);h=g+(f^c&(d^f))+e[5]+1200080426&4294967295;g=c+(h<<12&4294967295|h>>>20);h=f+(d^g&(c^d))+e[6]+2821735955&4294967295;f=g+(h<<17&4294967295|h>>>15);h=d+(c^f&(g^c))+e[7]+4249261313&4294967295;d=f+(h<<22&4294967295|h>>>10);h=c+(g^d&(f^g))+e[8]+1770035416&4294967295;c=d+(h<<7&4294967295|h>>>25);h=g+(f^c&(d^f))+e[9]+2336552879&4294967295;g=c+(h<<12&4294967295|h>>>20);h=f+
(d^g&(c^d))+e[10]+4294925233&4294967295;f=g+(h<<17&4294967295|h>>>15);h=d+(c^f&(g^c))+e[11]+2304563134&4294967295;d=f+(h<<22&4294967295|h>>>10);h=c+(g^d&(f^g))+e[12]+1804603682&4294967295;c=d+(h<<7&4294967295|h>>>25);h=g+(f^c&(d^f))+e[13]+4254626195&4294967295;g=c+(h<<12&4294967295|h>>>20);h=f+(d^g&(c^d))+e[14]+2792965006&4294967295;f=g+(h<<17&4294967295|h>>>15);h=d+(c^f&(g^c))+e[15]+1236535329&4294967295;d=f+(h<<22&4294967295|h>>>10);h=c+(f^g&(d^f))+e[1]+4129170786&4294967295;c=d+(h<<5&4294967295|
h>>>27);h=g+(d^f&(c^d))+e[6]+3225465664&4294967295;g=c+(h<<9&4294967295|h>>>23);h=f+(c^d&(g^c))+e[11]+643717713&4294967295;f=g+(h<<14&4294967295|h>>>18);h=d+(g^c&(f^g))+e[0]+3921069994&4294967295;d=f+(h<<20&4294967295|h>>>12);h=c+(f^g&(d^f))+e[5]+3593408605&4294967295;c=d+(h<<5&4294967295|h>>>27);h=g+(d^f&(c^d))+e[10]+38016083&4294967295;g=c+(h<<9&4294967295|h>>>23);h=f+(c^d&(g^c))+e[15]+3634488961&4294967295;f=g+(h<<14&4294967295|h>>>18);h=d+(g^c&(f^g))+e[4]+3889429448&4294967295;d=f+(h<<20&4294967295|
h>>>12);h=c+(f^g&(d^f))+e[9]+568446438&4294967295;c=d+(h<<5&4294967295|h>>>27);h=g+(d^f&(c^d))+e[14]+3275163606&4294967295;g=c+(h<<9&4294967295|h>>>23);h=f+(c^d&(g^c))+e[3]+4107603335&4294967295;f=g+(h<<14&4294967295|h>>>18);h=d+(g^c&(f^g))+e[8]+1163531501&4294967295;d=f+(h<<20&4294967295|h>>>12);h=c+(f^g&(d^f))+e[13]+2850285829&4294967295;c=d+(h<<5&4294967295|h>>>27);h=g+(d^f&(c^d))+e[2]+4243563512&4294967295;g=c+(h<<9&4294967295|h>>>23);h=f+(c^d&(g^c))+e[7]+1735328473&4294967295;f=g+(h<<14&4294967295|
h>>>18);h=d+(g^c&(f^g))+e[12]+2368359562&4294967295;d=f+(h<<20&4294967295|h>>>12);h=c+(d^f^g)+e[5]+4294588738&4294967295;c=d+(h<<4&4294967295|h>>>28);h=g+(c^d^f)+e[8]+2272392833&4294967295;g=c+(h<<11&4294967295|h>>>21);h=f+(g^c^d)+e[11]+1839030562&4294967295;f=g+(h<<16&4294967295|h>>>16);h=d+(f^g^c)+e[14]+4259657740&4294967295;d=f+(h<<23&4294967295|h>>>9);h=c+(d^f^g)+e[1]+2763975236&4294967295;c=d+(h<<4&4294967295|h>>>28);h=g+(c^d^f)+e[4]+1272893353&4294967295;g=c+(h<<11&4294967295|h>>>21);h=f+(g^
c^d)+e[7]+4139469664&4294967295;f=g+(h<<16&4294967295|h>>>16);h=d+(f^g^c)+e[10]+3200236656&4294967295;d=f+(h<<23&4294967295|h>>>9);h=c+(d^f^g)+e[13]+681279174&4294967295;c=d+(h<<4&4294967295|h>>>28);h=g+(c^d^f)+e[0]+3936430074&4294967295;g=c+(h<<11&4294967295|h>>>21);h=f+(g^c^d)+e[3]+3572445317&4294967295;f=g+(h<<16&4294967295|h>>>16);h=d+(f^g^c)+e[6]+76029189&4294967295;d=f+(h<<23&4294967295|h>>>9);h=c+(d^f^g)+e[9]+3654602809&4294967295;c=d+(h<<4&4294967295|h>>>28);h=g+(c^d^f)+e[12]+3873151461&4294967295;
g=c+(h<<11&4294967295|h>>>21);h=f+(g^c^d)+e[15]+530742520&4294967295;f=g+(h<<16&4294967295|h>>>16);h=d+(f^g^c)+e[2]+3299628645&4294967295;d=f+(h<<23&4294967295|h>>>9);h=c+(f^(d|~g))+e[0]+4096336452&4294967295;c=d+(h<<6&4294967295|h>>>26);h=g+(d^(c|~f))+e[7]+1126891415&4294967295;g=c+(h<<10&4294967295|h>>>22);h=f+(c^(g|~d))+e[14]+2878612391&4294967295;f=g+(h<<15&4294967295|h>>>17);h=d+(g^(f|~c))+e[5]+4237533241&4294967295;d=f+(h<<21&4294967295|h>>>11);h=c+(f^(d|~g))+e[12]+1700485571&4294967295;c=d+
(h<<6&4294967295|h>>>26);h=g+(d^(c|~f))+e[3]+2399980690&4294967295;g=c+(h<<10&4294967295|h>>>22);h=f+(c^(g|~d))+e[10]+4293915773&4294967295;f=g+(h<<15&4294967295|h>>>17);h=d+(g^(f|~c))+e[1]+2240044497&4294967295;d=f+(h<<21&4294967295|h>>>11);h=c+(f^(d|~g))+e[8]+1873313359&4294967295;c=d+(h<<6&4294967295|h>>>26);h=g+(d^(c|~f))+e[15]+4264355552&4294967295;g=c+(h<<10&4294967295|h>>>22);h=f+(c^(g|~d))+e[6]+2734768916&4294967295;f=g+(h<<15&4294967295|h>>>17);h=d+(g^(f|~c))+e[13]+1309151649&4294967295;
d=f+(h<<21&4294967295|h>>>11);h=c+(f^(d|~g))+e[4]+4149444226&4294967295;c=d+(h<<6&4294967295|h>>>26);h=g+(d^(c|~f))+e[11]+3174756917&4294967295;g=c+(h<<10&4294967295|h>>>22);h=f+(c^(g|~d))+e[2]+718787259&4294967295;f=g+(h<<15&4294967295|h>>>17);h=d+(g^(f|~c))+e[9]+3951481745&4294967295;a.b[0]=a.b[0]+c&4294967295;a.b[1]=a.b[1]+(f+(h<<21&4294967295|h>>>11))&4294967295;a.b[2]=a.b[2]+f&4294967295;a.b[3]=a.b[3]+g&4294967295}
function zl(a,c){var d;ca(d)||(d=c.length);for(var e=d-a.a,f=a.g,g=a.c,h=0;h<d;){if(0==g)for(;h<=e;)yl(a,c,h),h+=a.a;if(ia(c))for(;h<d;){if(f[g++]=c.charCodeAt(h++),g==a.a){yl(a,f);g=0;break}}else for(;h<d;)if(f[g++]=c[h++],g==a.a){yl(a,f);g=0;break}}a.c=g;a.f+=d};function Al(a){a=a||{};this.b=void 0!==a.color?a.color:null;this.f=a.lineCap;this.c=void 0!==a.lineDash?a.lineDash:null;this.g=a.lineJoin;this.j=a.miterLimit;this.a=a.width;this.i=void 0}l=Al.prototype;l.um=function(){return this.b};l.Ui=function(){return this.f};l.vm=function(){return this.c};l.Vi=function(){return this.g};l.$i=function(){return this.j};l.wm=function(){return this.a};l.xm=function(a){this.b=a;this.i=void 0};l.Rn=function(a){this.f=a;this.i=void 0};
l.ym=function(a){this.c=a;this.i=void 0};l.Sn=function(a){this.g=a;this.i=void 0};l.Tn=function(a){this.j=a;this.i=void 0};l.Zn=function(a){this.a=a;this.i=void 0};
l.rb=function(){if(void 0===this.i){var a="s"+(this.b?Ag(this.b):"-")+","+(void 0!==this.f?this.f.toString():"-")+","+(this.c?this.c.toString():"-")+","+(void 0!==this.g?this.g:"-")+","+(void 0!==this.j?this.j.toString():"-")+","+(void 0!==this.a?this.a.toString():"-"),c=new xl;zl(c,a);var d=Array((56>c.c?c.a:2*c.a)-c.c);d[0]=128;for(a=1;a<d.length-8;++a)d[a]=0;for(var e=8*c.f,a=d.length-8;a<d.length;++a)d[a]=e&255,e/=256;zl(c,d);d=Array(16);for(a=e=0;4>a;++a)for(var f=0;32>f;f+=8)d[e++]=c.b[a]>>>
f&255;if(8192>=d.length)c=String.fromCharCode.apply(null,d);else for(c="",a=0;a<d.length;a+=8192)c+=String.fromCharCode.apply(null,jb(d,a,a+8192));this.i=c}return this.i};var Bl=[0,0,0,1],Cl=[],Dl=[0,0,0,1];function El(a){a=a||{};this.b=void 0!==a.color?a.color:null;this.a=void 0}El.prototype.c=function(){return this.b};El.prototype.f=function(a){this.b=a;this.a=void 0};El.prototype.rb=function(){void 0===this.a&&(this.a="f"+(this.b?Ag(this.b):"-"));return this.a};function Fl(a){a=a||{};this.j=this.b=this.g=null;this.f=void 0!==a.fill?a.fill:null;this.a=void 0!==a.stroke?a.stroke:null;this.c=a.radius;this.u=[0,0];this.l=this.ca=this.i=null;var c=a.atlasManager,d,e=null,f,g=0;this.a&&(f=Ag(this.a.b),g=this.a.a,void 0===g&&(g=1),e=this.a.c,$i||(e=null));var h=2*(this.c+g)+1;f={strokeStyle:f,hd:g,size:h,lineDash:e};void 0===c?(this.b=Pg("CANVAS"),this.b.height=h,this.b.width=h,d=h=this.b.width,c=this.b.getContext("2d"),this.Gg(f,c,0,0),this.f?this.j=this.b:(c=
this.j=Pg("CANVAS"),c.height=f.size,c.width=f.size,c=c.getContext("2d"),this.Fg(f,c,0,0))):(h=Math.round(h),(e=!this.f)&&(d=qa(this.Fg,this,f)),g=this.rb(),f=c.add(g,h,h,qa(this.Gg,this,f),d),this.b=f.image,this.u=[f.offsetX,f.offsetY],d=f.image.width,this.j=e?f.dg:this.b);this.i=[h/2,h/2];this.ca=[h,h];this.l=[d,d];xk.call(this,{opacity:1,rotateWithView:!1,rotation:0,scale:1,snapToPixel:void 0!==a.snapToPixel?a.snapToPixel:!0})}w(Fl,xk);l=Fl.prototype;l.Ab=function(){return this.i};l.lm=function(){return this.f};
l.ce=function(){return this.j};l.Jb=function(){return this.b};l.dd=function(){return 2};l.Cd=function(){return this.l};l.ta=function(){return this.u};l.mm=function(){return this.c};l.kb=function(){return this.ca};l.nm=function(){return this.a};l.Ye=wa;l.load=wa;l.xf=wa;
l.Gg=function(a,c,d,e){c.setTransform(1,0,0,1,0,0);c.translate(d,e);c.beginPath();c.arc(a.size/2,a.size/2,this.c,0,2*Math.PI,!0);this.f&&(c.fillStyle=Ag(this.f.b),c.fill());this.a&&(c.strokeStyle=a.strokeStyle,c.lineWidth=a.hd,a.lineDash&&c.setLineDash(a.lineDash),c.stroke());c.closePath()};
l.Fg=function(a,c,d,e){c.setTransform(1,0,0,1,0,0);c.translate(d,e);c.beginPath();c.arc(a.size/2,a.size/2,this.c,0,2*Math.PI,!0);c.fillStyle=Ag(Bl);c.fill();this.a&&(c.strokeStyle=a.strokeStyle,c.lineWidth=a.hd,a.lineDash&&c.setLineDash(a.lineDash),c.stroke());c.closePath()};l.rb=function(){var a=this.a?this.a.rb():"-",c=this.f?this.f.rb():"-";this.g&&a==this.g[1]&&c==this.g[2]&&this.c==this.g[3]||(this.g=["c"+a+c+(void 0!==this.c?this.c.toString():"-"),a,c,this.c]);return this.g[0]};function Gl(a){a=a||{};this.i=null;this.g=Hl;void 0!==a.geometry&&this.Jg(a.geometry);this.f=void 0!==a.fill?a.fill:null;this.j=void 0!==a.image?a.image:null;this.c=void 0!==a.stroke?a.stroke:null;this.a=void 0!==a.text?a.text:null;this.b=a.zIndex}l=Gl.prototype;l.V=function(){return this.i};l.Oi=function(){return this.g};l.zm=function(){return this.f};l.Am=function(){return this.j};l.Bm=function(){return this.c};l.Cm=function(){return this.a};l.Dm=function(){return this.b};
l.Jg=function(a){ka(a)?this.g=a:ia(a)?this.g=function(c){return c.get(a)}:a?void 0!==a&&(this.g=function(){return a}):this.g=Hl;this.i=a};l.Em=function(a){this.b=a};function Il(a){if(!ka(a)){var c;c=ga(a)?a:[a];a=function(){return c}}return a}var Jl=null;function Kl(){if(!Jl){var a=new El({color:"rgba(255,255,255,0.4)"}),c=new Al({color:"#3399CC",width:1.25});Jl=[new Gl({image:new Fl({fill:a,stroke:c,radius:5}),fill:a,stroke:c})]}return Jl}
function Ll(){var a={},c=[255,255,255,1],d=[0,153,255,1];a.Polygon=[new Gl({fill:new El({color:[255,255,255,.5]})})];a.MultiPolygon=a.Polygon;a.LineString=[new Gl({stroke:new Al({color:c,width:5})}),new Gl({stroke:new Al({color:d,width:3})})];a.MultiLineString=a.LineString;a.Circle=a.Polygon.concat(a.LineString);a.Point=[new Gl({image:new Fl({radius:6,fill:new El({color:d}),stroke:new Al({color:c,width:1.5})}),zIndex:Infinity})];a.MultiPoint=a.Point;a.GeometryCollection=a.Polygon.concat(a.LineString,
a.Point);return a}function Hl(a){return a.V()};function Ml(a){var c=a?a:{};a=c.condition?c.condition:$k;this.i=c.duration?c.duration:200;c=c.style?c.style:new Gl({stroke:new Al({color:[0,0,255,1]})});sl.call(this,{condition:a,style:c})}w(Ml,sl);Ml.prototype.l=function(){var a=this.A,c=a.Z(),d=a.Ea(),e=this.V().R(),d=c.constrainResolution(Math.max(le(e)/d[0],ie(e)/d[1])),f=c.aa(),g=c.Fa();a.Aa(bg({resolution:f,duration:this.i,easing:Wf}));a.Aa($f({source:g,duration:this.i,easing:Wf}));c.Ra(ge(e));c.wb(d)};function Nl(a){Qk.call(this,{handleEvent:Ol});a=a||{};this.a=void 0!==a.condition?a.condition:we(Zk,al);this.f=void 0!==a.duration?a.duration:100;this.j=void 0!==a.pixelDelta?a.pixelDelta:128}w(Nl,Qk);
function Ol(a){var c=!1;if("key"==a.type){var d=a.b.j;if(this.a(a)&&(40==d||37==d||39==d||38==d)){var e=a.map,c=e.Z(),f=c.aa()*this.j,g=0,h=0;40==d?h=-f:37==d?g=-f:39==d?g=f:h=f;d=[g,h];vd(d,c.va());f=this.f;if(g=c.Fa())f&&0<f&&e.Aa($f({source:g,duration:f,easing:Yf})),e=c.vd([g[0]+d[0],g[1]+d[1]]),c.Ra(e);a.preventDefault();c=!0}}return!c};function Pl(a){Qk.call(this,{handleEvent:Ql});a=a?a:{};this.f=a.condition?a.condition:al;this.a=a.delta?a.delta:1;this.j=a.duration?a.duration:100}w(Pl,Qk);function Ql(a){var c=!1;if("key"==a.type){var d=a.b.A;if(this.f(a)&&(43==d||45==d)){c=a.map;d=43==d?this.a:-this.a;c.render();var e=c.Z();Sk(c,e,d,void 0,this.j);a.preventDefault();c=!0}}return!c};function Rl(a){Qk.call(this,{handleEvent:Sl});a=a||{};this.f=0;this.u=void 0!==a.duration?a.duration:250;this.l=void 0!==a.useAnchor?a.useAnchor:!0;this.a=null;this.i=this.j=void 0}w(Rl,Qk);function Sl(a){var c=!1;if("mousewheel"==a.type){var c=a.map,d=a.b;this.l&&(this.a=a.coordinate);this.f+=d.u;void 0===this.j&&(this.j=Date.now());d=Math.max(80-(Date.now()-this.j),0);ba.clearTimeout(this.i);this.i=ba.setTimeout(qa(this.v,this,c),d);a.preventDefault();c=!0}return!c}
Rl.prototype.v=function(a){var c=Qa(this.f,-1,1),d=a.Z();a.render();Sk(a,d,-c,this.a,this.u);this.f=0;this.a=null;this.i=this.j=void 0};Rl.prototype.B=function(a){this.l=a;a||(this.a=null)};function Tl(a){cl.call(this,{handleDownEvent:Ul,handleDragEvent:Vl,handleUpEvent:Wl});a=a||{};this.f=null;this.i=void 0;this.a=!1;this.l=0;this.B=void 0!==a.threshold?a.threshold:.3;this.v=void 0!==a.duration?a.duration:250}w(Tl,cl);
function Vl(a){var c=0,d=this.j[0],e=this.j[1],d=Math.atan2(e.clientY-d.clientY,e.clientX-d.clientX);void 0!==this.i&&(c=d-this.i,this.l+=c,!this.a&&Math.abs(this.l)>this.B&&(this.a=!0));this.i=d;a=a.map;d=kh(a.a);e=el(this.j);e[0]-=d.x;e[1]-=d.y;this.f=a.xa(e);this.a&&(d=a.Z(),e=d.va(),a.render(),Rk(a,d,e+c,this.f))}function Wl(a){if(2>this.j.length){a=a.map;var c=a.Z();Uf(c,-1);if(this.a){var d=c.va(),e=this.f,f=this.v,d=c.constrainRotation(d,0);Rk(a,c,d,e,f)}return!1}return!0}
function Ul(a){return 2<=this.j.length?(a=a.map,this.f=null,this.i=void 0,this.a=!1,this.l=0,this.u||Uf(a.Z(),1),a.render(),!0):!1}Tl.prototype.ic=qe;function Xl(a){cl.call(this,{handleDownEvent:Yl,handleDragEvent:Zl,handleUpEvent:$l});a=a?a:{};this.f=null;this.l=void 0!==a.duration?a.duration:400;this.a=void 0;this.i=1}w(Xl,cl);function Zl(a){var c=1,d=this.j[0],e=this.j[1],f=d.clientX-e.clientX,d=d.clientY-e.clientY,f=Math.sqrt(f*f+d*d);void 0!==this.a&&(c=this.a/f);this.a=f;1!=c&&(this.i=c);a=a.map;var f=a.Z(),d=f.aa(),e=kh(a.a),g=el(this.j);g[0]-=e.x;g[1]-=e.y;this.f=a.xa(g);a.render();Tk(a,f,d*c,this.f)}
function $l(a){if(2>this.j.length){a=a.map;var c=a.Z();Uf(c,-1);var d=c.aa(),e=this.f,f=this.l,d=c.constrainResolution(d,0,this.i-1);Tk(a,c,d,e,f);return!1}return!0}function Yl(a){return 2<=this.j.length?(a=a.map,this.f=null,this.a=void 0,this.i=1,this.u||Uf(a.Z(),1),a.render(),!0):!1}Xl.prototype.ic=qe;function am(a){a=a?a:{};var c=new tg,d=new Ok(-.005,.05,100);(void 0!==a.altShiftDragRotate?a.altShiftDragRotate:1)&&c.push(new jl);(void 0!==a.doubleClickZoom?a.doubleClickZoom:1)&&c.push(new Uk({delta:a.zoomDelta,duration:a.zoomDuration}));(void 0!==a.dragPan?a.dragPan:1)&&c.push(new fl({kinetic:d}));(void 0!==a.pinchRotate?a.pinchRotate:1)&&c.push(new Tl);(void 0!==a.pinchZoom?a.pinchZoom:1)&&c.push(new Xl({duration:a.zoomDuration}));if(void 0!==a.keyboard?a.keyboard:1)c.push(new Nl),c.push(new Pl({delta:a.zoomDelta,
duration:a.zoomDuration}));(void 0!==a.mouseWheelZoom?a.mouseWheelZoom:1)&&c.push(new Rl({duration:a.zoomDuration}));(void 0!==a.shiftDragZoom?a.shiftDragZoom:1)&&c.push(new Ml);return c};function bm(a){var c=a||{};a=Vb(c);delete a.layers;c=c.layers;ck.call(this,a);this.c=[];this.a={};B(this,ld("layers"),this.Gj,!1,this);c?ga(c)&&(c=new tg(c.slice())):c=new tg;this.jh(c)}w(bm,ck);l=bm.prototype;l.Ld=function(){this.ib()&&this.s()};
l.Gj=function(){this.c.forEach($c);this.c.length=0;var a=this.xc();this.c.push(B(a,"add",this.Fj,!1,this),B(a,"remove",this.Hj,!1,this));Jb(this.a,function(a){a.forEach($c)});Sb(this.a);var a=a.a,c,d,e;c=0;for(d=a.length;c<d;c++)e=a[c],this.a[v(e).toString()]=[B(e,"propertychange",this.Ld,!1,this),B(e,"change",this.Ld,!1,this)];this.s()};l.Fj=function(a){a=a.element;var c=v(a).toString();this.a[c]=[B(a,"propertychange",this.Ld,!1,this),B(a,"change",this.Ld,!1,this)];this.s()};
l.Hj=function(a){a=v(a.element).toString();this.a[a].forEach($c);delete this.a[a];this.s()};l.xc=function(){return this.get("layers")};l.jh=function(a){this.set("layers",a)};
l.Te=function(a){var c=void 0!==a?a:[],d=c.length;this.xc().forEach(function(a){a.Te(c)});a=dk(this);var e,f;for(e=c.length;d<e;d++)f=c[d],f.opacity*=a.opacity,f.visible=f.visible&&a.visible,f.maxResolution=Math.min(f.maxResolution,a.maxResolution),f.minResolution=Math.max(f.minResolution,a.minResolution),void 0!==a.extent&&(f.extent=void 0!==f.extent?je(f.extent,a.extent):a.extent);return c};l.Ue=function(){return"ready"};function cm(a){Ae.call(this,{code:a,units:"m",extent:dm,global:!0,worldExtent:em})}w(cm,Ae);cm.prototype.getPointResolution=function(a,c){var d=c[1]/6378137;return a/((Math.exp(d)+Math.exp(-d))/2)};var fm=6378137*Math.PI,dm=[-fm,-fm,fm,fm],em=[-180,-85,180,85],Ne="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(a){return new cm(a)});
function Oe(a,c,d){var e=a.length;d=1<d?d:2;void 0===c&&(2<d?c=a.slice():c=Array(e));for(var f=0;f<e;f+=d)c[f]=6378137*Math.PI*a[f]/180,c[f+1]=6378137*Math.log(Math.tan(Math.PI*(a[f+1]+90)/360));return c}function Pe(a,c,d){var e=a.length;d=1<d?d:2;void 0===c&&(2<d?c=a.slice():c=Array(e));for(var f=0;f<e;f+=d)c[f]=180*a[f]/(6378137*Math.PI),c[f+1]=360*Math.atan(Math.exp(a[f+1]/6378137))/Math.PI-90;return c};function gm(a,c){Ae.call(this,{code:a,units:"degrees",extent:hm,axisOrientation:c,global:!0,worldExtent:hm})}w(gm,Ae);gm.prototype.getPointResolution=function(a){return a};
var hm=[-180,-90,180,90],Qe=[new gm("CRS:84"),new gm("EPSG:4326","neu"),new gm("urn:ogc:def:crs:EPSG::4326","neu"),new gm("urn:ogc:def:crs:EPSG:6.6:4326","neu"),new gm("urn:ogc:def:crs:OGC:1.3:CRS84"),new gm("urn:ogc:def:crs:OGC:2:84"),new gm("http://www.opengis.net/gml/srs/epsg.xml#4326","neu"),new gm("urn:x-ogc:def:crs:EPSG:4326","neu")];function im(){De(Ne);De(Qe);Me()};function jm(a){gk.call(this,a?a:{})}w(jm,gk);function G(a){a=a?a:{};var c=Vb(a);delete c.preload;delete c.useInterimTilesOnError;gk.call(this,c);this.f(void 0!==a.preload?a.preload:0);this.g(void 0!==a.useInterimTilesOnError?a.useInterimTilesOnError:!0)}w(G,gk);G.prototype.a=function(){return this.get("preload")};G.prototype.f=function(a){this.set("preload",a)};G.prototype.c=function(){return this.get("useInterimTilesOnError")};G.prototype.g=function(a){this.set("useInterimTilesOnError",a)};function H(a){a=a?a:{};var c=Vb(a);delete c.style;delete c.renderBuffer;delete c.updateWhileAnimating;delete c.updateWhileInteracting;gk.call(this,c);this.a=void 0!==a.renderBuffer?a.renderBuffer:100;this.A=null;this.c=void 0;this.g(a.style);this.B=void 0!==a.updateWhileAnimating?a.updateWhileAnimating:!1;this.N=void 0!==a.updateWhileInteracting?a.updateWhileInteracting:!1}w(H,gk);H.prototype.T=function(){return this.A};H.prototype.X=function(){return this.c};
H.prototype.g=function(a){this.A=void 0!==a?a:Kl;this.c=null===a?void 0:Il(this.A);this.s()};function km(a,c,d,e,f){this.u={};this.c=a;this.N=c;this.g=d;this.ka=e;this.Ic=f;this.j=this.b=this.a=this.ra=this.Ma=this.fa=null;this.Na=this.wa=this.v=this.X=this.T=this.I=0;this.lb=!1;this.i=this.mb=0;this.nb=!1;this.$=0;this.f="";this.C=this.ca=this.lc=this.pd=0;this.da=this.A=this.l=null;this.B=[];this.mc=Cd()}
function lm(a,c,d){if(a.j){c=$e(c,0,d,2,a.ka,a.B);d=a.c;var e=a.mc,f=d.globalAlpha;1!=a.v&&(d.globalAlpha=f*a.v);var g=a.mb;a.lb&&(g+=a.Ic);var h,k;h=0;for(k=c.length;h<k;h+=2){var m=c[h]-a.I,n=c[h+1]-a.T;a.nb&&(m=m+.5|0,n=n+.5|0);if(0!==g||1!=a.i){var p=m+a.I,q=n+a.T;kk(e,p,q,a.i,a.i,g,-p,-q);d.setTransform(e[0],e[1],e[4],e[5],e[12],e[13])}d.drawImage(a.j,a.wa,a.Na,a.$,a.X,m,n,a.$,a.X)}0===g&&1==a.i||d.setTransform(1,0,0,1,0,0);1!=a.v&&(d.globalAlpha=f)}}
function nm(a,c,d,e){var f=0;if(a.da&&""!==a.f){a.l&&om(a,a.l);a.A&&pm(a,a.A);var g=a.da,h=a.c,k=a.ra;k?(k.font!=g.font&&(k.font=h.font=g.font),k.textAlign!=g.textAlign&&(k.textAlign=h.textAlign=g.textAlign),k.textBaseline!=g.textBaseline&&(k.textBaseline=h.textBaseline=g.textBaseline)):(h.font=g.font,h.textAlign=g.textAlign,h.textBaseline=g.textBaseline,a.ra={font:g.font,textAlign:g.textAlign,textBaseline:g.textBaseline});c=$e(c,f,d,e,a.ka,a.B);for(g=a.c;f<d;f+=e){h=c[f]+a.pd;k=c[f+1]+a.lc;if(0!==
a.ca||1!=a.C){var m=kk(a.mc,h,k,a.C,a.C,a.ca,-h,-k);g.setTransform(m[0],m[1],m[4],m[5],m[12],m[13])}a.A&&g.strokeText(a.f,h,k);a.l&&g.fillText(a.f,h,k)}0===a.ca&&1==a.C||g.setTransform(1,0,0,1,0,0)}}function qm(a,c,d,e,f,g){var h=a.c;a=$e(c,d,e,f,a.ka,a.B);h.moveTo(a[0],a[1]);for(c=2;c<a.length;c+=2)h.lineTo(a[c],a[c+1]);g&&h.lineTo(a[0],a[1]);return e}function rm(a,c,d,e,f){var g=a.c,h,k;h=0;for(k=e.length;h<k;++h)d=qm(a,c,d,e[h],f,!0),g.closePath();return d}l=km.prototype;
l.oc=function(a,c){var d=a.toString(),e=this.u[d];void 0!==e?e.push(c):this.u[d]=[c]};l.pc=function(a){if(ke(this.g,a.R())){if(this.a||this.b){this.a&&om(this,this.a);this.b&&pm(this,this.b);var c;c=(c=a.o)?$e(c,0,c.length,a.G,this.ka,this.B):null;var d=c[2]-c[0],e=c[3]-c[1],d=Math.sqrt(d*d+e*e),e=this.c;e.beginPath();e.arc(c[0],c[1],d,0,2*Math.PI);this.a&&e.fill();this.b&&e.stroke()}""!==this.f&&nm(this,a.$c(),2,2)}};
l.Je=function(a,c){var d=(0,c.g)(a);if(d&&ke(this.g,d.R())){var e=c.b;void 0===e&&(e=0);this.oc(e,function(a){a.Ia(c.f,c.c);a.bb(c.j);a.Ja(c.a);sm[d.W()].call(a,d,null)})}};l.xd=function(a,c){var d=a.f,e,f;e=0;for(f=d.length;e<f;++e){var g=d[e];sm[g.W()].call(this,g,c)}};l.pb=function(a){var c=a.o;a=a.G;this.j&&lm(this,c,c.length);""!==this.f&&nm(this,c,c.length,a)};l.ob=function(a){var c=a.o;a=a.G;this.j&&lm(this,c,c.length);""!==this.f&&nm(this,c,c.length,a)};
l.yb=function(a){if(ke(this.g,a.R())){if(this.b){pm(this,this.b);var c=this.c,d=a.o;c.beginPath();qm(this,d,0,d.length,a.G,!1);c.stroke()}""!==this.f&&(a=tm(a),nm(this,a,2,2))}};l.qc=function(a){var c=a.R();if(ke(this.g,c)){if(this.b){pm(this,this.b);var c=this.c,d=a.o,e=0,f=a.c,g=a.G;c.beginPath();var h,k;h=0;for(k=f.length;h<k;++h)e=qm(this,d,e,f[h],g,!1);c.stroke()}""!==this.f&&(a=um(a),nm(this,a,a.length,2))}};
l.Pb=function(a){if(ke(this.g,a.R())){if(this.b||this.a){this.a&&om(this,this.a);this.b&&pm(this,this.b);var c=this.c;c.beginPath();rm(this,If(a),0,a.c,a.G);this.a&&c.fill();this.b&&c.stroke()}""!==this.f&&(a=Jf(a),nm(this,a,2,2))}};
l.rc=function(a){if(ke(this.g,a.R())){if(this.b||this.a){this.a&&om(this,this.a);this.b&&pm(this,this.b);var c=this.c,d=vm(a),e=0,f=a.c,g=a.G,h,k;h=0;for(k=f.length;h<k;++h){var m=f[h];c.beginPath();e=rm(this,d,e,m,g);this.a&&c.fill();this.b&&c.stroke()}}""!==this.f&&(a=wm(a),nm(this,a,a.length,2))}};function xm(a){var c=Object.keys(a.u).map(Number);kb(c);var d,e,f,g,h;d=0;for(e=c.length;d<e;++d)for(f=a.u[c[d].toString()],g=0,h=f.length;g<h;++g)f[g](a)}
function om(a,c){var d=a.c,e=a.fa;e?e.fillStyle!=c.fillStyle&&(e.fillStyle=d.fillStyle=c.fillStyle):(d.fillStyle=c.fillStyle,a.fa={fillStyle:c.fillStyle})}
function pm(a,c){var d=a.c,e=a.Ma;e?(e.lineCap!=c.lineCap&&(e.lineCap=d.lineCap=c.lineCap),$i&&!ob(e.lineDash,c.lineDash)&&d.setLineDash(e.lineDash=c.lineDash),e.lineJoin!=c.lineJoin&&(e.lineJoin=d.lineJoin=c.lineJoin),e.lineWidth!=c.lineWidth&&(e.lineWidth=d.lineWidth=c.lineWidth),e.miterLimit!=c.miterLimit&&(e.miterLimit=d.miterLimit=c.miterLimit),e.strokeStyle!=c.strokeStyle&&(e.strokeStyle=d.strokeStyle=c.strokeStyle)):(d.lineCap=c.lineCap,$i&&d.setLineDash(c.lineDash),d.lineJoin=c.lineJoin,d.lineWidth=
c.lineWidth,d.miterLimit=c.miterLimit,d.strokeStyle=c.strokeStyle,a.Ma={lineCap:c.lineCap,lineDash:c.lineDash,lineJoin:c.lineJoin,lineWidth:c.lineWidth,miterLimit:c.miterLimit,strokeStyle:c.strokeStyle})}
l.Ia=function(a,c){if(a){var d=a.b;this.a={fillStyle:Ag(d?d:Bl)}}else this.a=null;if(c){var d=c.b,e=c.f,f=c.c,g=c.g,h=c.a,k=c.j;this.b={lineCap:void 0!==e?e:"round",lineDash:f?f:Cl,lineJoin:void 0!==g?g:"round",lineWidth:this.N*(void 0!==h?h:1),miterLimit:void 0!==k?k:10,strokeStyle:Ag(d?d:Dl)}}else this.b=null};
l.bb=function(a){if(a){var c=a.Ab(),d=a.Jb(1),e=a.ta(),f=a.kb();this.I=c[0];this.T=c[1];this.X=f[1];this.j=d;this.v=a.v;this.wa=e[0];this.Na=e[1];this.lb=a.B;this.mb=a.C;this.i=a.A;this.nb=a.N;this.$=f[0]}else this.j=null};
l.Ja=function(a){if(a){var c=a.b;c?(c=c.b,this.l={fillStyle:Ag(c?c:Bl)}):this.l=null;var d=a.j;if(d){var c=d.b,e=d.f,f=d.c,g=d.g,h=d.a,d=d.j;this.A={lineCap:void 0!==e?e:"round",lineDash:f?f:Cl,lineJoin:void 0!==g?g:"round",lineWidth:void 0!==h?h:1,miterLimit:void 0!==d?d:10,strokeStyle:Ag(c?c:Dl)}}else this.A=null;var c=a.f,e=a.C,f=a.A,g=a.g,h=a.a,d=a.c,k=a.i;a=a.l;this.da={font:void 0!==c?c:"10px sans-serif",textAlign:void 0!==k?k:"center",textBaseline:void 0!==a?a:"middle"};this.f=void 0!==d?d:
"";this.pd=void 0!==e?this.N*e:0;this.lc=void 0!==f?this.N*f:0;this.ca=void 0!==g?g:0;this.C=this.N*(void 0!==h?h:1)}else this.f=""};var sm={Point:km.prototype.pb,LineString:km.prototype.yb,Polygon:km.prototype.Pb,MultiPoint:km.prototype.ob,MultiLineString:km.prototype.qc,MultiPolygon:km.prototype.rc,GeometryCollection:km.prototype.xd,Circle:km.prototype.pc};function ym(a){nk.call(this,a);this.I=Cd()}w(ym,nk);
ym.prototype.v=function(a,c,d){zm(this,"precompose",d,a,void 0);var e=this.cd();if(e){var f=c.extent,g=void 0!==f;if(g){var h=a.pixelRatio,k=fe(f),m=ee(f),n=de(f),f=ce(f);mk(a.coordinateToPixelMatrix,k,k);mk(a.coordinateToPixelMatrix,m,m);mk(a.coordinateToPixelMatrix,n,n);mk(a.coordinateToPixelMatrix,f,f);d.save();d.beginPath();d.moveTo(k[0]*h,k[1]*h);d.lineTo(m[0]*h,m[1]*h);d.lineTo(n[0]*h,n[1]*h);d.lineTo(f[0]*h,f[1]*h);d.clip()}h=this.Se();k=d.globalAlpha;d.globalAlpha=c.opacity;0===a.viewState.rotation?
d.drawImage(e,0,0,+e.width,+e.height,Math.round(h[12]),Math.round(h[13]),Math.round(e.width*h[0]),Math.round(e.height*h[5])):(d.setTransform(h[0],h[1],h[4],h[5],h[12],h[13]),d.drawImage(e,0,0),d.setTransform(1,0,0,1,0,0));d.globalAlpha=k;g&&d.restore()}zm(this,"postcompose",d,a,void 0)};function zm(a,c,d,e,f){var g=a.a;fd(g,c)&&(a=void 0!==f?f:Am(a,e,0),a=new km(d,e.pixelRatio,e.extent,a,e.viewState.rotation),C(g,new fk(c,g,a,e,d,null)),xm(a))}
function Am(a,c,d){var e=c.viewState,f=c.pixelRatio;return kk(a.I,f*c.size[0]/2,f*c.size[1]/2,f/e.resolution,-f/e.resolution,-e.rotation,-e.center[0]+d,-e.center[1])}function Bm(a,c){var d=[0,0];mk(c,a,d);return d}
var Cm=function(){var a=null,c=null;return function(d){if(!a){a=Ri(1,1);c=a.createImageData(1,1);var e=c.data;e[0]=42;e[1]=84;e[2]=126;e[3]=255}var e=a.canvas,f=d[0]<=e.width&&d[1]<=e.height;f||(e.width=d[0],e.height=d[1],e=d[0]-1,d=d[1]-1,a.putImageData(c,e,d),d=a.getImageData(e,d,1,1),f=ob(c.data,d.data));return f}}();var Dm=["Polygon","LineString","Image","Text"];function Em(a,c,d){this.ra=a;this.$=c;this.f=null;this.g=0;this.resolution=d;this.T=this.I=null;this.a=[];this.coordinates=[];this.fa=Cd();this.b=[];this.da=[];this.Ma=Cd()}w(Em,ek);
function Fm(a,c,d,e,f,g){var h=a.coordinates.length,k=a.Ne(),m=[c[d],c[d+1]],n=[NaN,NaN],p=!0,q,r,u;for(q=d+f;q<e;q+=f)n[0]=c[q],n[1]=c[q+1],u=Xd(k,n),u!==r?(p&&(a.coordinates[h++]=m[0],a.coordinates[h++]=m[1]),a.coordinates[h++]=n[0],a.coordinates[h++]=n[1],p=!1):1===u?(a.coordinates[h++]=n[0],a.coordinates[h++]=n[1],p=!1):p=!0,m[0]=n[0],m[1]=n[1],r=u;q===d+f&&(a.coordinates[h++]=m[0],a.coordinates[h++]=m[1]);g&&(a.coordinates[h++]=c[d],a.coordinates[h++]=c[d+1]);return h}
function Gm(a,c){a.I=[0,c,0];a.a.push(a.I);a.T=[0,c,0];a.b.push(a.T)}
function Hm(a,c,d,e,f,g,h,k,m){var n;lk(e,a.fa)?n=a.da:(n=$e(a.coordinates,0,a.coordinates.length,2,e,a.da),Fd(a.fa,e));e=0;var p=h.length,q=0,r;for(a=a.Ma;e<p;){var u=h[e],y,A,F,z;switch(u[0]){case 0:q=u[1];r=v(q).toString();void 0===g[r]&&q.V()?void 0===m||ke(m,q.V().R())?++e:e=u[2]:e=u[2];break;case 1:c.beginPath();++e;break;case 2:q=u[1];r=n[q];var x=n[q+1],K=n[q+2]-r,q=n[q+3]-x;c.arc(r,x,Math.sqrt(K*K+q*q),0,2*Math.PI,!0);++e;break;case 3:c.closePath();++e;break;case 4:q=u[1];r=u[2];y=u[3];F=
u[4]*d;var J=u[5]*d,I=u[6];A=u[7];var N=u[8],va=u[9],x=u[11],K=u[12],Ra=u[13],M=u[14];for(u[10]&&(x+=f);q<r;q+=2){u=n[q]-F;z=n[q+1]-J;Ra&&(u=u+.5|0,z=z+.5|0);if(1!=K||0!==x){var Ia=u+F,pb=z+J;kk(a,Ia,pb,K,K,x,-Ia,-pb);c.setTransform(a[0],a[1],a[4],a[5],a[12],a[13])}Ia=c.globalAlpha;1!=A&&(c.globalAlpha=Ia*A);c.drawImage(y,N,va,M,I,u,z,M*d,I*d);1!=A&&(c.globalAlpha=Ia);1==K&&0===x||c.setTransform(1,0,0,1,0,0)}++e;break;case 5:q=u[1];r=u[2];F=u[3];J=u[4]*d;I=u[5]*d;x=u[6];K=u[7]*d;y=u[8];for(A=u[9];q<
r;q+=2){u=n[q]+J;z=n[q+1]+I;if(1!=K||0!==x)kk(a,u,z,K,K,x,-u,-z),c.setTransform(a[0],a[1],a[4],a[5],a[12],a[13]);A&&c.strokeText(F,u,z);y&&c.fillText(F,u,z);1==K&&0===x||c.setTransform(1,0,0,1,0,0)}++e;break;case 6:if(void 0!==k&&(q=u[1],q=k(q)))return q;++e;break;case 7:c.fill();++e;break;case 8:q=u[1];r=u[2];c.moveTo(n[q],n[q+1]);for(q+=2;q<r;q+=2)c.lineTo(n[q],n[q+1]);++e;break;case 9:c.fillStyle=u[1];++e;break;case 10:q=void 0!==u[7]?u[7]:!0;r=u[2];c.strokeStyle=u[1];c.lineWidth=q?r*d:r;c.lineCap=
u[3];c.lineJoin=u[4];c.miterLimit=u[5];$i&&c.setLineDash(u[6]);++e;break;case 11:c.font=u[1];c.textAlign=u[2];c.textBaseline=u[3];++e;break;case 12:c.stroke();++e;break;default:++e}}}function Im(a){var c=a.b;c.reverse();var d,e=c.length,f,g,h=-1;for(d=0;d<e;++d)if(f=c[d],g=f[0],6==g)h=d;else if(0==g){f[2]=d;f=a.b;for(g=d;h<g;){var k=f[h];f[h]=f[g];f[g]=k;++h;--g}h=-1}}function Jm(a,c){a.I[2]=a.a.length;a.I=null;a.T[2]=a.b.length;a.T=null;var d=[6,c];a.a.push(d);a.b.push(d)}Em.prototype.Zd=wa;
Em.prototype.Ne=function(){return this.$};function Km(a,c,d){Em.call(this,a,c,d);this.l=this.X=null;this.ka=this.ca=this.N=this.B=this.u=this.v=this.A=this.C=this.i=this.j=this.c=void 0}w(Km,Em);
Km.prototype.pb=function(a,c){if(this.l){Gm(this,c);var d=a.o,e=this.coordinates.length,d=Fm(this,d,0,d.length,a.G,!1);this.a.push([4,e,d,this.l,this.c,this.j,this.i,this.C,this.A,this.v,this.u,this.B,this.N,this.ca,this.ka]);this.b.push([4,e,d,this.X,this.c,this.j,this.i,this.C,this.A,this.v,this.u,this.B,this.N,this.ca,this.ka]);Jm(this,c)}};
Km.prototype.ob=function(a,c){if(this.l){Gm(this,c);var d=a.o,e=this.coordinates.length,d=Fm(this,d,0,d.length,a.G,!1);this.a.push([4,e,d,this.l,this.c,this.j,this.i,this.C,this.A,this.v,this.u,this.B,this.N,this.ca,this.ka]);this.b.push([4,e,d,this.X,this.c,this.j,this.i,this.C,this.A,this.v,this.u,this.B,this.N,this.ca,this.ka]);Jm(this,c)}};Km.prototype.Zd=function(){Im(this);this.j=this.c=void 0;this.l=this.X=null;this.ka=this.ca=this.B=this.u=this.v=this.A=this.C=this.N=this.i=void 0};
Km.prototype.bb=function(a){var c=a.Ab(),d=a.kb(),e=a.ce(1),f=a.Jb(1),g=a.ta();this.c=c[0];this.j=c[1];this.X=e;this.l=f;this.i=d[1];this.C=a.v;this.A=g[0];this.v=g[1];this.u=a.B;this.B=a.C;this.N=a.A;this.ca=a.N;this.ka=d[0]};function Lm(a,c,d){Em.call(this,a,c,d);this.c={Sc:void 0,Nc:void 0,Oc:null,Pc:void 0,Qc:void 0,Rc:void 0,Xe:0,strokeStyle:void 0,lineCap:void 0,lineDash:null,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0}}w(Lm,Em);
function Mm(a,c,d,e,f){var g=a.coordinates.length;c=Fm(a,c,d,e,f,!1);g=[8,g,c];a.a.push(g);a.b.push(g);return e}l=Lm.prototype;l.Ne=function(){this.f||(this.f=Sd(this.$),0<this.g&&Rd(this.f,this.resolution*(this.g+1)/2,this.f));return this.f};
function Nm(a){var c=a.c,d=c.strokeStyle,e=c.lineCap,f=c.lineDash,g=c.lineJoin,h=c.lineWidth,k=c.miterLimit;c.Sc==d&&c.Nc==e&&ob(c.Oc,f)&&c.Pc==g&&c.Qc==h&&c.Rc==k||(c.Xe!=a.coordinates.length&&(a.a.push([12]),c.Xe=a.coordinates.length),a.a.push([10,d,h,e,g,k,f],[1]),c.Sc=d,c.Nc=e,c.Oc=f,c.Pc=g,c.Qc=h,c.Rc=k)}
l.yb=function(a,c){var d=this.c,e=d.lineWidth;void 0!==d.strokeStyle&&void 0!==e&&(Nm(this),Gm(this,c),this.b.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash],[1]),d=a.o,Mm(this,d,0,d.length,a.G),this.b.push([12]),Jm(this,c))};
l.qc=function(a,c){var d=this.c,e=d.lineWidth;if(void 0!==d.strokeStyle&&void 0!==e){Nm(this);Gm(this,c);this.b.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash],[1]);var d=a.c,e=a.o,f=a.G,g=0,h,k;h=0;for(k=d.length;h<k;++h)g=Mm(this,e,g,d[h],f);this.b.push([12]);Jm(this,c)}};l.Zd=function(){this.c.Xe!=this.coordinates.length&&this.a.push([12]);Im(this);this.c=null};
l.Ia=function(a,c){var d=c.b;this.c.strokeStyle=Ag(d?d:Dl);d=c.f;this.c.lineCap=void 0!==d?d:"round";d=c.c;this.c.lineDash=d?d:Cl;d=c.g;this.c.lineJoin=void 0!==d?d:"round";d=c.a;this.c.lineWidth=void 0!==d?d:1;d=c.j;this.c.miterLimit=void 0!==d?d:10;this.c.lineWidth>this.g&&(this.g=this.c.lineWidth,this.f=null)};
function Om(a,c,d){Em.call(this,a,c,d);this.c={Nf:void 0,Sc:void 0,Nc:void 0,Oc:null,Pc:void 0,Qc:void 0,Rc:void 0,fillStyle:void 0,strokeStyle:void 0,lineCap:void 0,lineDash:null,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0}}w(Om,Em);
function Pm(a,c,d,e,f){var g=a.c,h=[1];a.a.push(h);a.b.push(h);var k,h=0;for(k=e.length;h<k;++h){var m=e[h],n=a.coordinates.length;d=Fm(a,c,d,m,f,!0);d=[8,n,d];n=[3];a.a.push(d,n);a.b.push(d,n);d=m}c=[7];a.b.push(c);void 0!==g.fillStyle&&a.a.push(c);void 0!==g.strokeStyle&&(g=[12],a.a.push(g),a.b.push(g));return d}l=Om.prototype;
l.pc=function(a,c){var d=this.c,e=d.strokeStyle;if(void 0!==d.fillStyle||void 0!==e){Qm(this);Gm(this,c);this.b.push([9,Ag(Bl)]);void 0!==d.strokeStyle&&this.b.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash]);var f=a.o,e=this.coordinates.length;Fm(this,f,0,f.length,a.G,!1);f=[1];e=[2,e];this.a.push(f,e);this.b.push(f,e);e=[7];this.b.push(e);void 0!==d.fillStyle&&this.a.push(e);void 0!==d.strokeStyle&&(d=[12],this.a.push(d),this.b.push(d));Jm(this,c)}};
l.Pb=function(a,c){var d=this.c,e=d.strokeStyle;if(void 0!==d.fillStyle||void 0!==e)Qm(this),Gm(this,c),this.b.push([9,Ag(Bl)]),void 0!==d.strokeStyle&&this.b.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash]),d=a.c,e=If(a),Pm(this,e,0,d,a.G),Jm(this,c)};
l.rc=function(a,c){var d=this.c,e=d.strokeStyle;if(void 0!==d.fillStyle||void 0!==e){Qm(this);Gm(this,c);this.b.push([9,Ag(Bl)]);void 0!==d.strokeStyle&&this.b.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash]);var d=a.c,e=vm(a),f=a.G,g=0,h,k;h=0;for(k=d.length;h<k;++h)g=Pm(this,e,g,d[h],f);Jm(this,c)}};l.Zd=function(){Im(this);this.c=null;var a=this.ra;if(0!==a){var c=this.coordinates,d,e;d=0;for(e=c.length;d<e;++d)c[d]=a*Math.round(c[d]/a)}};
l.Ne=function(){this.f||(this.f=Sd(this.$),0<this.g&&Rd(this.f,this.resolution*(this.g+1)/2,this.f));return this.f};
l.Ia=function(a,c){var d=this.c;if(a){var e=a.b;d.fillStyle=Ag(e?e:Bl)}else d.fillStyle=void 0;c?(e=c.b,d.strokeStyle=Ag(e?e:Dl),e=c.f,d.lineCap=void 0!==e?e:"round",e=c.c,d.lineDash=e?e.slice():Cl,e=c.g,d.lineJoin=void 0!==e?e:"round",e=c.a,d.lineWidth=void 0!==e?e:1,e=c.j,d.miterLimit=void 0!==e?e:10,d.lineWidth>this.g&&(this.g=d.lineWidth,this.f=null)):(d.strokeStyle=void 0,d.lineCap=void 0,d.lineDash=null,d.lineJoin=void 0,d.lineWidth=void 0,d.miterLimit=void 0)};
function Qm(a){var c=a.c,d=c.fillStyle,e=c.strokeStyle,f=c.lineCap,g=c.lineDash,h=c.lineJoin,k=c.lineWidth,m=c.miterLimit;void 0!==d&&c.Nf!=d&&(a.a.push([9,d]),c.Nf=c.fillStyle);void 0===e||c.Sc==e&&c.Nc==f&&c.Oc==g&&c.Pc==h&&c.Qc==k&&c.Rc==m||(a.a.push([10,e,k,f,h,m,g]),c.Sc=e,c.Nc=f,c.Oc=g,c.Pc=h,c.Qc=k,c.Rc=m)}function Rm(a,c,d){Em.call(this,a,c,d);this.ca=this.N=this.B=null;this.l="";this.u=this.v=this.A=this.C=0;this.i=this.j=this.c=null}w(Rm,Em);
Rm.prototype.qb=function(a,c,d,e,f,g){if(""!==this.l&&this.i&&(this.c||this.j)){if(this.c){f=this.c;var h=this.B;if(!h||h.fillStyle!=f.fillStyle){var k=[9,f.fillStyle];this.a.push(k);this.b.push(k);h?h.fillStyle=f.fillStyle:this.B={fillStyle:f.fillStyle}}}this.j&&(f=this.j,h=this.N,h&&h.lineCap==f.lineCap&&h.lineDash==f.lineDash&&h.lineJoin==f.lineJoin&&h.lineWidth==f.lineWidth&&h.miterLimit==f.miterLimit&&h.strokeStyle==f.strokeStyle||(k=[10,f.strokeStyle,f.lineWidth,f.lineCap,f.lineJoin,f.miterLimit,
f.lineDash,!1],this.a.push(k),this.b.push(k),h?(h.lineCap=f.lineCap,h.lineDash=f.lineDash,h.lineJoin=f.lineJoin,h.lineWidth=f.lineWidth,h.miterLimit=f.miterLimit,h.strokeStyle=f.strokeStyle):this.N={lineCap:f.lineCap,lineDash:f.lineDash,lineJoin:f.lineJoin,lineWidth:f.lineWidth,miterLimit:f.miterLimit,strokeStyle:f.strokeStyle}));f=this.i;h=this.ca;h&&h.font==f.font&&h.textAlign==f.textAlign&&h.textBaseline==f.textBaseline||(k=[11,f.font,f.textAlign,f.textBaseline],this.a.push(k),this.b.push(k),h?
(h.font=f.font,h.textAlign=f.textAlign,h.textBaseline=f.textBaseline):this.ca={font:f.font,textAlign:f.textAlign,textBaseline:f.textBaseline});Gm(this,g);f=this.coordinates.length;a=Fm(this,a,c,d,e,!1);a=[5,f,a,this.l,this.C,this.A,this.v,this.u,!!this.c,!!this.j];this.a.push(a);this.b.push(a);Jm(this,g)}};
Rm.prototype.Ja=function(a){if(a){var c=a.b;c?(c=c.b,c=Ag(c?c:Bl),this.c?this.c.fillStyle=c:this.c={fillStyle:c}):this.c=null;var d=a.j;if(d){var c=d.b,e=d.f,f=d.c,g=d.g,h=d.a,d=d.j,e=void 0!==e?e:"round",f=f?f.slice():Cl,g=void 0!==g?g:"round",h=void 0!==h?h:1,d=void 0!==d?d:10,c=Ag(c?c:Dl);if(this.j){var k=this.j;k.lineCap=e;k.lineDash=f;k.lineJoin=g;k.lineWidth=h;k.miterLimit=d;k.strokeStyle=c}else this.j={lineCap:e,lineDash:f,lineJoin:g,lineWidth:h,miterLimit:d,strokeStyle:c}}else this.j=null;
var m=a.f,c=a.C,e=a.A,f=a.g,h=a.a,d=a.c,g=a.i,k=a.l;a=void 0!==m?m:"10px sans-serif";g=void 0!==g?g:"center";k=void 0!==k?k:"middle";this.i?(m=this.i,m.font=a,m.textAlign=g,m.textBaseline=k):this.i={font:a,textAlign:g,textBaseline:k};this.l=void 0!==d?d:"";this.C=void 0!==c?c:0;this.A=void 0!==e?e:0;this.v=void 0!==f?f:0;this.u=void 0!==h?h:1}else this.l=""};function Sm(a,c,d,e){this.l=a;this.c=c;this.i=d;this.f=e;this.a={};this.g=Ri(1,1);this.j=Cd()}
function Tm(a){for(var c in a.a){var d=a.a[c],e;for(e in d)d[e].Zd()}}function Um(a,c,d,e,f,g){var h=a.j;kk(h,.5,.5,1/d,-1/d,-e,-c[0],-c[1]);var k=a.g;k.clearRect(0,0,1,1);var m;void 0!==a.f&&(m=Nd(),Od(m,c),Rd(m,d*a.f,m));return Vm(a,k,h,e,f,function(a){if(0<k.getImageData(0,0,1,1).data[3]){if(a=g(a))return a;k.clearRect(0,0,1,1)}},m)}
Sm.prototype.b=function(a,c){var d=void 0!==a?a.toString():"0",e=this.a[d];void 0===e&&(e={},this.a[d]=e);d=e[c];void 0===d&&(d=new Wm[c](this.l,this.c,this.i),e[c]=d);return d};Sm.prototype.ya=function(){return Rb(this.a)};
function Xm(a,c,d,e,f,g){var h=Object.keys(a.a).map(Number);kb(h);var k=a.c,m=k[0],n=k[1],p=k[2],k=k[3],m=[m,n,m,k,p,k,p,n];$e(m,0,8,2,e,m);c.save();c.beginPath();c.moveTo(m[0],m[1]);c.lineTo(m[2],m[3]);c.lineTo(m[4],m[5]);c.lineTo(m[6],m[7]);c.closePath();c.clip();for(var q,r,m=0,n=h.length;m<n;++m)for(q=a.a[h[m].toString()],p=0,k=Dm.length;p<k;++p)r=q[Dm[p]],void 0!==r&&Hm(r,c,d,e,f,g,r.a,void 0);c.restore()}
function Vm(a,c,d,e,f,g,h){var k=Object.keys(a.a).map(Number);kb(k,function(a,c){return c-a});var m,n,p,q,r;m=0;for(n=k.length;m<n;++m)for(q=a.a[k[m].toString()],p=Dm.length-1;0<=p;--p)if(r=q[Dm[p]],void 0!==r&&(r=Hm(r,c,1,d,e,f,r.b,g,h)))return r}var Wm={Image:Km,LineString:Lm,Polygon:Om,Text:Rm};function Ym(a,c,d){af.call(this);this.uf(a,c?c:0,d)}w(Ym,af);l=Ym.prototype;l.clone=function(){var a=new Ym(null);cf(a,this.a,this.o.slice());a.s();return a};l.Va=function(a,c,d,e){var f=this.o;a-=f[0];var g=c-f[1];c=a*a+g*g;if(c<e){if(0===c)for(e=0;e<this.G;++e)d[e]=f[e];else for(e=this.df()/Math.sqrt(c),d[0]=f[0]+e*a,d[1]=f[1]+e*g,e=2;e<this.G;++e)d[e]=f[e];d.length=this.G;return c}return e};l.Xb=function(a,c){var d=this.o,e=a-d[0],d=c-d[1];return e*e+d*d<=Zm(this)};
l.$c=function(){return this.o.slice(0,this.G)};l.ud=function(a){var c=this.o,d=c[this.G]-c[0];return Qd(c[0]-d,c[1]-d,c[0]+d,c[1]+d,a)};l.df=function(){return Math.sqrt(Zm(this))};function Zm(a){var c=a.o[a.G]-a.o[0];a=a.o[a.G+1]-a.o[1];return c*c+a*a}l.W=function(){return"Circle"};l.ua=function(a){var c=this.R();return ke(a,c)?(c=this.$c(),a[0]<=c[0]&&a[2]>=c[0]||a[1]<=c[1]&&a[3]>=c[1]?!0:be(a,this.He,this)):!1};
l.Wk=function(a){var c=this.G,d=a.slice();d[c]=d[0]+(this.o[c]-this.o[0]);var e;for(e=1;e<c;++e)d[c+e]=a[e];cf(this,this.a,d);this.s()};l.uf=function(a,c,d){if(a){df(this,d,a,0);this.o||(this.o=[]);d=this.o;a=mf(d,a);d[a++]=d[0]+c;var e;c=1;for(e=this.G;c<e;++c)d[a++]=d[c];d.length=a}else cf(this,"XY",null);this.s()};l.Xk=function(a){this.o[this.G]=this.o[0]+a;this.s()};function $m(a){Ze.call(this);this.f=a?a:null;an(this)}w($m,Ze);function bn(a){var c=[],d,e;d=0;for(e=a.length;d<e;++d)c.push(a[d].clone());return c}function cn(a){var c,d;if(a.f)for(c=0,d=a.f.length;c<d;++c)Zc(a.f[c],"change",a.s,!1,a)}function an(a){var c,d;if(a.f)for(c=0,d=a.f.length;c<d;++c)B(a.f[c],"change",a.s,!1,a)}l=$m.prototype;l.clone=function(){var a=new $m(null);a.gh(this.f);return a};
l.Va=function(a,c,d,e){if(e<Td(this.R(),a,c))return e;var f=this.f,g,h;g=0;for(h=f.length;g<h;++g)e=f[g].Va(a,c,d,e);return e};l.Xb=function(a,c){var d=this.f,e,f;e=0;for(f=d.length;e<f;++e)if(d[e].Xb(a,c))return!0;return!1};l.ud=function(a){Qd(Infinity,Infinity,-Infinity,-Infinity,a);for(var c=this.f,d=0,e=c.length;d<e;++d)$d(a,c[d].R());return a};l.Rf=function(){return bn(this.f)};
l.Hd=function(a){this.l!=this.b&&(Sb(this.g),this.j=0,this.l=this.b);if(0>a||0!==this.j&&a<this.j)return this;var c=a.toString();if(this.g.hasOwnProperty(c))return this.g[c];var d=[],e=this.f,f=!1,g,h;g=0;for(h=e.length;g<h;++g){var k=e[g],m=k.Hd(a);d.push(m);m!==k&&(f=!0)}if(f)return a=new $m(null),cn(a),a.f=d,an(a),a.s(),this.g[c]=a;this.j=a;return this};l.W=function(){return"GeometryCollection"};l.ua=function(a){var c=this.f,d,e;d=0;for(e=c.length;d<e;++d)if(c[d].ua(a))return!0;return!1};
l.ya=function(){return 0===this.f.length};l.gh=function(a){a=bn(a);cn(this);this.f=a;an(this);this.s()};l.Ob=function(a){var c=this.f,d,e;d=0;for(e=c.length;d<e;++d)c[d].Ob(a);this.s()};l.wc=function(a,c){var d=this.f,e,f;e=0;for(f=d.length;e<f;++e)d[e].wc(a,c);this.s()};l.Y=function(){cn(this);$m.ba.Y.call(this)};function dn(a,c,d,e,f){var g=NaN,h=NaN,k=(d-c)/e;if(0!==k)if(1==k)g=a[c],h=a[c+1];else if(2==k)g=.5*a[c]+.5*a[c+e],h=.5*a[c+1]+.5*a[c+e+1];else{var h=a[c],k=a[c+1],m=0,g=[0],n;for(n=c+e;n<d;n+=e){var p=a[n],q=a[n+1],m=m+Math.sqrt((p-h)*(p-h)+(q-k)*(q-k));g.push(m);h=p;k=q}d=.5*m;for(var r,h=lb,k=0,m=g.length;k<m;)n=k+m>>1,p=h(d,g[n]),0<p?k=n+1:(m=n,r=!p);r=r?k:~k;0>r?(d=(d-g[-r-2])/(g[-r-1]-g[-r-2]),c+=(-r-2)*e,g=xb(a[c],a[c+e],d),h=xb(a[c+1],a[c+e+1],d)):(g=a[c+r*e],h=a[c+r*e+1])}return f?(f[0]=
g,f[1]=h,f):[g,h]}function en(a,c,d,e,f,g){if(d==c)return null;if(f<a[c+e-1])return g?(d=a.slice(c,c+e),d[e-1]=f,d):null;if(a[d-1]<f)return g?(d=a.slice(d-e,d),d[e-1]=f,d):null;if(f==a[c+e-1])return a.slice(c,c+e);c/=e;for(d/=e;c<d;)g=c+d>>1,f<a[(g+1)*e-1]?d=g:c=g+1;d=a[c*e-1];if(f==d)return a.slice((c-1)*e,(c-1)*e+e);g=(f-d)/(a[(c+1)*e-1]-d);d=[];var h;for(h=0;h<e-1;++h)d.push(xb(a[(c-1)*e+h],a[c*e+h],g));d.push(f);return d}
function fn(a,c,d,e,f,g){var h=0;if(g)return en(a,h,c[c.length-1],d,e,f);if(e<a[d-1])return f?(a=a.slice(0,d),a[d-1]=e,a):null;if(a[a.length-1]<e)return f?(a=a.slice(a.length-d),a[d-1]=e,a):null;f=0;for(g=c.length;f<g;++f){var k=c[f];if(h!=k){if(e<a[h+d-1])break;if(e<=a[k-1])return en(a,h,k,d,e,!1);h=k}}return null};function L(a,c){af.call(this);this.c=null;this.u=this.B=this.i=-1;this.ja(a,c)}w(L,af);l=L.prototype;l.ji=function(a){this.o?hb(this.o,a):this.o=a.slice();this.s()};l.clone=function(){var a=new L(null);gn(a,this.a,this.o.slice());return a};l.Va=function(a,c,d,e){if(e<Td(this.R(),a,c))return e;this.u!=this.b&&(this.B=Math.sqrt(hf(this.o,0,this.o.length,this.G,0)),this.u=this.b);return kf(this.o,0,this.o.length,this.G,this.B,!1,a,c,d,e)};
l.zi=function(a,c){return Af(this.o,0,this.o.length,this.G,a,c)};l.Yk=function(a,c){return"XYM"!=this.a&&"XYZM"!=this.a?null:en(this.o,0,this.o.length,this.G,a,void 0!==c?c:!1)};l.U=function(){return pf(this.o,0,this.o.length,this.G)};l.Zk=function(){var a=this.o,c=this.G,d=a[0],e=a[1],f=0,g;for(g=0+c;g<this.o.length;g+=c)var h=a[g],k=a[g+1],f=f+Math.sqrt((h-d)*(h-d)+(k-e)*(k-e)),d=h,e=k;return f};function tm(a){a.i!=a.b&&(a.c=dn(a.o,0,a.o.length,a.G,a.c),a.i=a.b);return a.c}
l.tc=function(a){var c=[];c.length=rf(this.o,0,this.o.length,this.G,a,c,0);a=new L(null);gn(a,"XY",c);return a};l.W=function(){return"LineString"};l.ua=function(a){return Bf(this.o,0,this.o.length,this.G,a)};l.ja=function(a,c){a?(df(this,c,a,1),this.o||(this.o=[]),this.o.length=nf(this.o,0,a,this.G),this.s()):gn(this,"XY",null)};function gn(a,c,d){cf(a,c,d);a.s()};function O(a,c){af.call(this);this.c=[];this.i=this.u=-1;this.ja(a,c)}w(O,af);l=O.prototype;l.ki=function(a){this.o?hb(this.o,a.o.slice()):this.o=a.o.slice();this.c.push(this.o.length);this.s()};l.clone=function(){var a=new O(null);hn(a,this.a,this.o.slice(),this.c.slice());return a};l.Va=function(a,c,d,e){if(e<Td(this.R(),a,c))return e;this.i!=this.b&&(this.u=Math.sqrt(jf(this.o,0,this.c,this.G,0)),this.i=this.b);return lf(this.o,0,this.c,this.G,this.u,!1,a,c,d,e)};
l.al=function(a,c,d){return"XYM"!=this.a&&"XYZM"!=this.a||0===this.o.length?null:fn(this.o,this.c,this.G,a,void 0!==c?c:!1,void 0!==d?d:!1)};l.U=function(){return qf(this.o,0,this.c,this.G)};l.Wi=function(a){if(0>a||this.c.length<=a)return null;var c=new L(null);gn(c,this.a,this.o.slice(0===a?0:this.c[a-1],this.c[a]));return c};l.Xc=function(){var a=this.o,c=this.c,d=this.a,e=[],f=0,g,h;g=0;for(h=c.length;g<h;++g){var k=c[g],m=new L(null);gn(m,d,a.slice(f,k));e.push(m);f=k}return e};
function um(a){var c=[],d=a.o,e=0,f=a.c;a=a.G;var g,h;g=0;for(h=f.length;g<h;++g){var k=f[g],e=dn(d,e,k,a);hb(c,e);e=k}return c}l.tc=function(a){var c=[],d=[],e=this.o,f=this.c,g=this.G,h=0,k=0,m,n;m=0;for(n=f.length;m<n;++m){var p=f[m],k=rf(e,h,p,g,a,c,k);d.push(k);h=p}c.length=k;a=new O(null);hn(a,"XY",c,d);return a};l.W=function(){return"MultiLineString"};l.ua=function(a){a:{var c=this.o,d=this.c,e=this.G,f=0,g,h;g=0;for(h=d.length;g<h;++g){if(Bf(c,f,d[g],e,a)){a=!0;break a}f=d[g]}a=!1}return a};
l.ja=function(a,c){if(a){df(this,c,a,2);this.o||(this.o=[]);var d=of(this.o,0,a,this.G,this.c);this.o.length=0===d.length?0:d[d.length-1];this.s()}else hn(this,"XY",null,this.c)};function hn(a,c,d,e){cf(a,c,d);a.c=e;a.s()}function jn(a,c){var d=a.a,e=[],f=[],g,h;g=0;for(h=c.length;g<h;++g){var k=c[g];0===g&&(d=k.a);hb(e,k.o);f.push(e.length)}hn(a,d,e,f)};function kn(a,c){af.call(this);this.ja(a,c)}w(kn,af);l=kn.prototype;l.mi=function(a){this.o?hb(this.o,a.o):this.o=a.o.slice();this.s()};l.clone=function(){var a=new kn(null);cf(a,this.a,this.o.slice());a.s();return a};l.Va=function(a,c,d,e){if(e<Td(this.R(),a,c))return e;var f=this.o,g=this.G,h,k,m;h=0;for(k=f.length;h<k;h+=g)if(m=Ta(a,c,f[h],f[h+1]),m<e){e=m;for(m=0;m<g;++m)d[m]=f[h+m];d.length=g}return e};l.U=function(){return pf(this.o,0,this.o.length,this.G)};
l.ej=function(a){var c=this.o?this.o.length/this.G:0;if(0>a||c<=a)return null;c=new D(null);vf(c,this.a,this.o.slice(a*this.G,(a+1)*this.G));return c};l.Yd=function(){var a=this.o,c=this.a,d=this.G,e=[],f,g;f=0;for(g=a.length;f<g;f+=d){var h=new D(null);vf(h,c,a.slice(f,f+d));e.push(h)}return e};l.W=function(){return"MultiPoint"};l.ua=function(a){var c=this.o,d=this.G,e,f,g,h;e=0;for(f=c.length;e<f;e+=d)if(g=c[e],h=c[e+1],Vd(a,g,h))return!0;return!1};
l.ja=function(a,c){a?(df(this,c,a,1),this.o||(this.o=[]),this.o.length=nf(this.o,0,a,this.G)):cf(this,"XY",null);this.s()};function P(a,c){af.call(this);this.c=[];this.u=-1;this.B=null;this.T=this.N=this.I=-1;this.i=null;this.ja(a,c)}w(P,af);l=P.prototype;l.ni=function(a){if(this.o){var c=this.o.length;hb(this.o,a.o);a=a.c.slice();var d,e;d=0;for(e=a.length;d<e;++d)a[d]+=c}else this.o=a.o.slice(),a=a.c.slice(),this.c.push();this.c.push(a);this.s()};l.clone=function(){var a=new P(null),c=Wb(this.c);ln(a,this.a,this.o.slice(),c);return a};
l.Va=function(a,c,d,e){if(e<Td(this.R(),a,c))return e;if(this.N!=this.b){var f=this.c,g=0,h=0,k,m;k=0;for(m=f.length;k<m;++k)var n=f[k],h=jf(this.o,g,n,this.G,h),g=n[n.length-1];this.I=Math.sqrt(h);this.N=this.b}f=vm(this);g=this.c;h=this.G;k=this.I;m=0;var n=[NaN,NaN],p,q;p=0;for(q=g.length;p<q;++p){var r=g[p];e=lf(f,m,r,h,k,!0,a,c,d,e,n);m=r[r.length-1]}return e};
l.Xb=function(a,c){var d;a:{d=vm(this);var e=this.c,f=0;if(0!==e.length){var g,h;g=0;for(h=e.length;g<h;++g){var k=e[g];if(yf(d,f,k,this.G,a,c)){d=!0;break a}f=k[k.length-1]}}d=!1}return d};l.bl=function(){var a=vm(this),c=this.c,d=0,e=0,f,g;f=0;for(g=c.length;f<g;++f)var h=c[f],e=e+ff(a,d,h,this.G),d=h[h.length-1];return e};
l.U=function(a){var c;void 0!==a?(c=vm(this).slice(),Gf(c,this.c,this.G,a)):c=this.o;a=c;c=this.c;var d=this.G,e=0,f=[],g=0,h,k;h=0;for(k=c.length;h<k;++h){var m=c[h];f[g++]=qf(a,e,m,d,f[g]);e=m[m.length-1]}f.length=g;return f};
function wm(a){if(a.u!=a.b){var c=a.o,d=a.c,e=a.G,f=0,g=[],h,k,m=Nd();h=0;for(k=d.length;h<k;++h){var n=d[h],m=ae(Qd(Infinity,Infinity,-Infinity,-Infinity,void 0),c,f,n[0],e);g.push((m[0]+m[2])/2,(m[1]+m[3])/2);f=n[n.length-1]}c=vm(a);d=a.c;e=a.G;f=0;h=[];k=0;for(m=d.length;k<m;++k)n=d[k],h=zf(c,f,n,e,g,2*k,h),f=n[n.length-1];a.B=h;a.u=a.b}return a.B}l.Ti=function(){var a=new kn(null),c=wm(this).slice();cf(a,"XY",c);a.s();return a};
function vm(a){if(a.T!=a.b){var c=a.o,d;a:{d=a.c;var e,f;e=0;for(f=d.length;e<f;++e)if(!Ef(c,d[e],a.G,void 0)){d=!1;break a}d=!0}d?a.i=c:(a.i=c.slice(),a.i.length=Gf(a.i,a.c,a.G));a.T=a.b}return a.i}l.tc=function(a){var c=[],d=[],e=this.o,f=this.c,g=this.G;a=Math.sqrt(a);var h=0,k=0,m,n;m=0;for(n=f.length;m<n;++m){var p=f[m],q=[],k=sf(e,h,p,g,a,c,k,q);d.push(q);h=p[p.length-1]}c.length=k;e=new P(null);ln(e,"XY",c,d);return e};
l.gj=function(a){if(0>a||this.c.length<=a)return null;var c;0===a?c=0:(c=this.c[a-1],c=c[c.length-1]);a=this.c[a].slice();var d=a[a.length-1];if(0!==c){var e,f;e=0;for(f=a.length;e<f;++e)a[e]-=c}e=new E(null);Hf(e,this.a,this.o.slice(c,d),a);return e};l.Fd=function(){var a=this.a,c=this.o,d=this.c,e=[],f=0,g,h,k,m;g=0;for(h=d.length;g<h;++g){var n=d[g].slice(),p=n[n.length-1];if(0!==f)for(k=0,m=n.length;k<m;++k)n[k]-=f;k=new E(null);Hf(k,a,c.slice(f,p),n);e.push(k);f=p}return e};l.W=function(){return"MultiPolygon"};
l.ua=function(a){a:{var c=vm(this),d=this.c,e=this.G,f=0,g,h;g=0;for(h=d.length;g<h;++g){var k=d[g];if(Cf(c,f,k,e,a)){a=!0;break a}f=k[k.length-1]}a=!1}return a};l.ja=function(a,c){if(a){df(this,c,a,3);this.o||(this.o=[]);var d=this.o,e=this.G,f=this.c,g=0,f=f?f:[],h=0,k,m;k=0;for(m=a.length;k<m;++k)g=of(d,g,a[k],e,f[h]),f[h++]=g,g=g[g.length-1];f.length=h;0===f.length?this.o.length=0:(d=f[f.length-1],this.o.length=0===d.length?0:d[d.length-1]);this.s()}else ln(this,"XY",null,this.c)};
function ln(a,c,d,e){cf(a,c,d);a.c=e;a.s()}function mn(a,c){var d=a.a,e=[],f=[],g,h,k;g=0;for(h=c.length;g<h;++g){var m=c[g];0===g&&(d=m.a);var n=e.length;k=m.c;var p,q;p=0;for(q=k.length;p<q;++p)k[p]+=n;hb(e,m.o);f.push(k)}ln(a,d,e,f)};function nn(a,c){return v(a)-v(c)}function on(a,c){var d=.5*a/c;return d*d}function pn(a,c,d,e,f,g){var h=!1,k,m;if(k=d.j)m=k.dd(),2==m||3==m?k.xf(f,g):(0==m&&k.load(),k.Ye(f,g),h=!0);if(f=(0,d.g)(c))e=f.Hd(e),(0,qn[e.W()])(a,e,d,c);return h}
var qn={Point:function(a,c,d,e){var f=d.j;if(f){if(2!=f.dd())return;var g=a.b(d.b,"Image");g.bb(f);g.pb(c,e)}if(f=d.a)a=a.b(d.b,"Text"),a.Ja(f),a.qb(c.U(),0,2,2,c,e)},LineString:function(a,c,d,e){var f=d.c;if(f){var g=a.b(d.b,"LineString");g.Ia(null,f);g.yb(c,e)}if(f=d.a)a=a.b(d.b,"Text"),a.Ja(f),a.qb(tm(c),0,2,2,c,e)},Polygon:function(a,c,d,e){var f=d.f,g=d.c;if(f||g){var h=a.b(d.b,"Polygon");h.Ia(f,g);h.Pb(c,e)}if(f=d.a)a=a.b(d.b,"Text"),a.Ja(f),a.qb(Jf(c),0,2,2,c,e)},MultiPoint:function(a,c,d,
e){var f=d.j;if(f){if(2!=f.dd())return;var g=a.b(d.b,"Image");g.bb(f);g.ob(c,e)}if(f=d.a)a=a.b(d.b,"Text"),a.Ja(f),d=c.o,a.qb(d,0,d.length,c.G,c,e)},MultiLineString:function(a,c,d,e){var f=d.c;if(f){var g=a.b(d.b,"LineString");g.Ia(null,f);g.qc(c,e)}if(f=d.a)a=a.b(d.b,"Text"),a.Ja(f),d=um(c),a.qb(d,0,d.length,2,c,e)},MultiPolygon:function(a,c,d,e){var f=d.f,g=d.c;if(g||f){var h=a.b(d.b,"Polygon");h.Ia(f,g);h.rc(c,e)}if(f=d.a)a=a.b(d.b,"Text"),a.Ja(f),d=wm(c),a.qb(d,0,d.length,2,c,e)},GeometryCollection:function(a,
c,d,e){c=c.f;var f,g;f=0;for(g=c.length;f<g;++f)(0,qn[c[f].W()])(a,c[f],d,e)},Circle:function(a,c,d,e){var f=d.f,g=d.c;if(f||g){var h=a.b(d.b,"Polygon");h.Ia(f,g);h.pc(c,e)}if(f=d.a)a=a.b(d.b,"Text"),a.Ja(f),a.qb(c.$c(),0,2,2,c,e)}};function rn(a,c,d,e,f,g){this.f=void 0!==g?g:null;ik.call(this,a,c,d,void 0!==g?0:2,e);this.c=f;this.a=null}w(rn,ik);rn.prototype.getError=function(){return this.a};rn.prototype.i=function(a){a?(this.a=a,this.state=3):this.state=2;jk(this)};rn.prototype.load=function(){0==this.state&&(this.state=1,jk(this),this.f(qa(this.i,this)))};rn.prototype.b=function(){return this.c};function sn(a){Ch.call(this,{attributions:a.attributions,extent:a.extent,logo:a.logo,projection:a.projection,state:a.state});this.A=void 0!==a.resolutions?a.resolutions:null}w(sn,Ch);function tn(a,c){if(a.A){var d=tb(a.A,c,0);c=a.A[d]}return c}sn.prototype.l=function(a){a=a.target;switch(a.state){case 1:C(this,new un(vn,a));break;case 2:C(this,new un(wn,a));break;case 3:C(this,new un(xn,a))}};function yn(a,c){a.b().src=c}function un(a,c){wc.call(this,a);this.image=c}w(un,wc);
var vn="imageloadstart",wn="imageloadend",xn="imageloaderror";function zn(a){sn.call(this,{attributions:a.attributions,logo:a.logo,projection:a.projection,resolutions:a.resolutions,state:void 0!==a.state?a.state:void 0});this.$=a.canvasFunction;this.I=null;this.X=0;this.da=void 0!==a.ratio?a.ratio:1.5}w(zn,sn);zn.prototype.cc=function(a,c,d,e){c=tn(this,c);var f=this.I;if(f&&this.X==this.b&&f.aa()==c&&f.g==d&&Wd(f.R(),a))return f;a=a.slice();ne(a,this.da);(e=this.$(a,c,d,[le(a)/c*d,ie(a)/c*d],e))&&(f=new rn(a,c,d,this.j,e));this.I=f;this.X=this.b;return f};function Q(a){jd.call(this);this.ha=void 0;this.a="geometry";this.g=null;this.c=void 0;this.f=null;B(this,ld(this.a),this.Kd,!1,this);void 0!==a&&(a instanceof Ze||!a?this.za(a):this.H(a))}w(Q,jd);l=Q.prototype;l.clone=function(){var a=new Q(this.P());a.Dc(this.a);var c=this.V();c&&a.za(c.clone());(c=this.g)&&a.af(c);return a};l.V=function(){return this.get(this.a)};l.Qi=function(){return this.ha};l.Pi=function(){return this.a};l.wk=function(){return this.g};l.xk=function(){return this.c};l.yk=function(){this.s()};
l.Kd=function(){this.f&&($c(this.f),this.f=null);var a=this.V();a&&(this.f=B(a,"change",this.yk,!1,this));this.s()};l.za=function(a){this.set(this.a,a)};l.af=function(a){this.c=(this.g=a)?An(a):void 0;this.s()};l.Mb=function(a){this.ha=a;this.s()};l.Dc=function(a){Zc(this,ld(this.a),this.Kd,!1,this);this.a=a;B(this,ld(this.a),this.Kd,!1,this);this.Kd()};function An(a){if(!ka(a)){var c;c=ga(a)?a:[a];a=function(){return c}}return a};function Bn(a){a.prototype.then=a.prototype.then;a.prototype.$goog_Thenable=!0}function Cn(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(c){return!1}};function Dn(a,c,d){this.f=d;this.c=a;this.g=c;this.a=0;this.b=null}Dn.prototype.get=function(){var a;0<this.a?(this.a--,a=this.b,this.b=a.next,a.next=null):a=this.c();return a};function En(a,c){a.g(c);a.a<a.f&&(a.a++,c.next=a.b,a.b=c)};function Fn(){this.a=this.b=null}var Hn=new Dn(function(){return new Gn},function(a){a.reset()},100);Fn.prototype.add=function(a,c){var d=Hn.get();d.set(a,c);this.a?this.a.next=d:this.b=d;this.a=d};Fn.prototype.remove=function(){var a=null;this.b&&(a=this.b,this.b=this.b.next,this.b||(this.a=null),a.next=null);return a};function Gn(){this.next=this.a=this.b=null}Gn.prototype.set=function(a,c){this.b=a;this.a=c;this.next=null};Gn.prototype.reset=function(){this.next=this.a=this.b=null};function In(a,c){Jn||Kn();Ln||(Jn(),Ln=!0);Mn.add(a,c)}var Jn;function Kn(){if(ba.Promise&&ba.Promise.resolve){var a=ba.Promise.resolve(void 0);Jn=function(){a.then(Nn)}}else Jn=function(){pi(Nn)}}var Ln=!1,Mn=new Fn;function Nn(){for(var a=null;a=Mn.remove();){try{a.b.call(a.a)}catch(c){oi(c)}En(Hn,a)}Ln=!1};function On(a,c){this.b=Pn;this.i=void 0;this.f=this.a=this.c=null;this.g=this.j=!1;if(a!=da)try{var d=this;a.call(c,function(a){Qn(d,Rn,a)},function(a){Qn(d,Sn,a)})}catch(e){Qn(this,Sn,e)}}var Pn=0,Rn=2,Sn=3;function Tn(){this.next=this.c=this.a=this.f=this.b=null;this.g=!1}Tn.prototype.reset=function(){this.c=this.a=this.f=this.b=null;this.g=!1};var Un=new Dn(function(){return new Tn},function(a){a.reset()},100);function Vn(a,c,d){var e=Un.get();e.f=a;e.a=c;e.c=d;return e}
On.prototype.then=function(a,c,d){return Wn(this,ka(a)?a:null,ka(c)?c:null,d)};Bn(On);On.prototype.cancel=function(a){this.b==Pn&&In(function(){var c=new Xn(a);Yn(this,c)},this)};function Yn(a,c){if(a.b==Pn)if(a.c){var d=a.c;if(d.a){for(var e=0,f=null,g=null,h=d.a;h&&(h.g||(e++,h.b==a&&(f=h),!(f&&1<e)));h=h.next)f||(g=h);f&&(d.b==Pn&&1==e?Yn(d,c):(g?(e=g,e.next==d.f&&(d.f=e),e.next=e.next.next):Zn(d),$n(d,f,Sn,c)))}a.c=null}else Qn(a,Sn,c)}
function ao(a,c){a.a||a.b!=Rn&&a.b!=Sn||bo(a);a.f?a.f.next=c:a.a=c;a.f=c}function Wn(a,c,d,e){var f=Vn(null,null,null);f.b=new On(function(a,h){f.f=c?function(d){try{var f=c.call(e,d);a(f)}catch(n){h(n)}}:a;f.a=d?function(c){try{var f=d.call(e,c);!ca(f)&&c instanceof Xn?h(c):a(f)}catch(n){h(n)}}:h});f.b.c=a;ao(a,f);return f.b}On.prototype.C=function(a){this.b=Pn;Qn(this,Rn,a)};On.prototype.A=function(a){this.b=Pn;Qn(this,Sn,a)};
function Qn(a,c,d){if(a.b==Pn){a==d&&(c=Sn,d=new TypeError("Promise cannot resolve to itself"));a.b=1;var e;a:{var f=d,g=a.C,h=a.A;if(f instanceof On)ao(f,Vn(g||da,h||null,a)),e=!0;else if(Cn(f))f.then(g,h,a),e=!0;else{if(la(f))try{var k=f.then;if(ka(k)){co(f,k,g,h,a);e=!0;break a}}catch(m){h.call(a,m);e=!0;break a}e=!1}}e||(a.i=d,a.b=c,a.c=null,bo(a),c!=Sn||d instanceof Xn||eo(a,d))}}
function co(a,c,d,e,f){function g(a){k||(k=!0,e.call(f,a))}function h(a){k||(k=!0,d.call(f,a))}var k=!1;try{c.call(a,h,g)}catch(m){g(m)}}function bo(a){a.j||(a.j=!0,In(a.l,a))}function Zn(a){var c=null;a.a&&(c=a.a,a.a=c.next,c.next=null);a.a||(a.f=null);return c}On.prototype.l=function(){for(var a=null;a=Zn(this);)$n(this,a,this.b,this.i);this.j=!1};
function $n(a,c,d,e){if(d==Sn&&c.a&&!c.g)for(;a&&a.g;a=a.c)a.g=!1;if(c.b)c.b.c=null,fo(c,d,e);else try{c.g?c.f.call(c.c):fo(c,d,e)}catch(f){go.call(null,f)}En(Un,c)}function fo(a,c,d){c==Rn?a.f.call(a.c,d):a.a&&a.a.call(a.c,d)}function eo(a,c){a.g=!0;In(function(){a.g&&go.call(null,c)})}var go=oi;function Xn(a){xa.call(this,a)}w(Xn,xa);Xn.prototype.name="cancel";function ho(a,c,d){if(ka(a))d&&(a=qa(a,d));else if(a&&"function"==typeof a.handleEvent)a=qa(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<c?-1:ba.setTimeout(a,c||0)};var io=ba.JSON.parse,jo=ba.JSON.stringify;function ko(){}ko.prototype.b=null;function lo(a){var c;(c=a.b)||(c={},mo(a)&&(c[0]=!0,c[1]=!0),c=a.b=c);return c};var no;function oo(){}w(oo,ko);function po(a){return(a=mo(a))?new ActiveXObject(a):new XMLHttpRequest}function mo(a){if(!a.a&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var c=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],d=0;d<c.length;d++){var e=c[d];try{return new ActiveXObject(e),a.a=e}catch(f){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.a}no=new oo;var qo=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/;function ro(a,c){if(a)for(var d=a.split("&"),e=0;e<d.length;e++){var f=d[e].indexOf("="),g=null,h=null;0<=f?(g=d[e].substring(0,f),h=d[e].substring(f+1)):g=d[e];c(g,h?decodeURIComponent(h.replace(/\+/g," ")):"")}}
function so(a){if(a[1]){var c=a[0],d=c.indexOf("#");0<=d&&(a.push(c.substr(d)),a[0]=c=c.substr(0,d));d=c.indexOf("?");0>d?a[1]="?":d==c.length-1&&(a[1]=void 0)}return a.join("")}function to(a,c,d){if(ga(c))for(var e=0;e<c.length;e++)to(a,String(c[e]),d);else null!=c&&d.push("&",a,""===c?"":"=",encodeURIComponent(String(c)))}function uo(a,c){for(var d in c)to(d,c[d],a);return a};function vo(a){dd.call(this);this.I=new ti;this.l=a||null;this.b=!1;this.i=this.ga=null;this.g=this.T=this.v="";this.a=this.A=this.f=this.C=!1;this.j=0;this.c=null;this.u=wo;this.B=this.$=!1}w(vo,dd);var wo="",xo=/^https?$/i,yo=["POST","PUT"];
function zo(a,c){if(a.ga)throw Error("[goog.net.XhrIo] Object is active with another request="+a.v+"; newUri="+c);a.v=c;a.g="";a.T="GET";a.C=!1;a.b=!0;a.ga=a.l?po(a.l):po(no);a.i=a.l?lo(a.l):lo(no);a.ga.onreadystatechange=qa(a.N,a);try{a.A=!0,a.ga.open("GET",String(c),!0),a.A=!1}catch(g){Ao(a,g);return}var d=a.I.clone(),e=cb(d.O(),Bo),f=ba.FormData&&!1;!(0<=Xa(yo,"GET"))||e||f||d.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");d.forEach(function(a,c){this.ga.setRequestHeader(c,
a)},a);a.u&&(a.ga.responseType=a.u);"withCredentials"in a.ga&&(a.ga.withCredentials=a.$);try{Co(a),0<a.j&&(a.B=Do(a.ga),a.B?(a.ga.timeout=a.j,a.ga.ontimeout=qa(a.jc,a)):a.c=ho(a.jc,a.j,a)),a.f=!0,a.ga.send(""),a.f=!1}catch(g){Ao(a,g)}}function Do(a){return $b&&lc(9)&&ja(a.timeout)&&ca(a.ontimeout)}function Bo(a){return"content-type"==a.toLowerCase()}
vo.prototype.jc=function(){"undefined"!=typeof aa&&this.ga&&(this.g="Timed out after "+this.j+"ms, aborting",C(this,"timeout"),this.ga&&this.b&&(this.b=!1,this.a=!0,this.ga.abort(),this.a=!1,C(this,"complete"),C(this,"abort"),Eo(this)))};function Ao(a,c){a.b=!1;a.ga&&(a.a=!0,a.ga.abort(),a.a=!1);a.g=c;Fo(a);Eo(a)}function Fo(a){a.C||(a.C=!0,C(a,"complete"),C(a,"error"))}vo.prototype.Y=function(){this.ga&&(this.b&&(this.b=!1,this.a=!0,this.ga.abort(),this.a=!1),Eo(this,!0));vo.ba.Y.call(this)};
vo.prototype.N=function(){this.ca||(this.A||this.f||this.a?Go(this):this.X())};vo.prototype.X=function(){Go(this)};function Go(a){if(a.b&&"undefined"!=typeof aa&&(!a.i[1]||4!=Ho(a)||2!=Io(a)))if(a.f&&4==Ho(a))ho(a.N,0,a);else if(C(a,"readystatechange"),4==Ho(a)){a.b=!1;try{if(Jo(a))C(a,"complete"),C(a,"success");else{var c;try{c=2<Ho(a)?a.ga.statusText:""}catch(d){c=""}a.g=c+" ["+Io(a)+"]";Fo(a)}}finally{Eo(a)}}}
function Eo(a,c){if(a.ga){Co(a);var d=a.ga,e=a.i[0]?da:null;a.ga=null;a.i=null;c||C(a,"ready");try{d.onreadystatechange=e}catch(f){}}}function Co(a){a.ga&&a.B&&(a.ga.ontimeout=null);ja(a.c)&&(ba.clearTimeout(a.c),a.c=null)}
function Jo(a){var c=Io(a),d;a:switch(c){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:d=!0;break a;default:d=!1}if(!d){if(c=0===c)a=String(a.v).match(qo)[1]||null,!a&&ba.self&&ba.self.location&&(a=ba.self.location.protocol,a=a.substr(0,a.length-1)),c=!xo.test(a?a.toLowerCase():"");d=c}return d}function Ho(a){return a.ga?a.ga.readyState:0}function Io(a){try{return 2<Ho(a)?a.ga.status:-1}catch(c){return-1}}function Ko(a){try{return a.ga?a.ga.responseText:""}catch(c){return""}};function Lo(){if(!$b)return!1;try{return new ActiveXObject("MSXML2.DOMDocument"),!0}catch(a){return!1}}var Mo=$b&&Lo();function No(a){var c=a.xml;if(c)return c;if("undefined"!=typeof XMLSerializer)return(new XMLSerializer).serializeToString(a);throw Error("Your browser does not support serializing XML documents");};var Oo;a:if(document.implementation&&document.implementation.createDocument)Oo=document.implementation.createDocument("","",null);else{if(Mo){var Po=new ActiveXObject("MSXML2.DOMDocument");if(Po){Po.resolveExternals=!1;Po.validateOnParse=!1;try{Po.setProperty("ProhibitDTD",!0),Po.setProperty("MaxXMLSize",2048),Po.setProperty("MaxElementDepth",256)}catch(a){}}if(Po){Oo=Po;break a}}throw Error("Your browser does not support creating new documents");}var Qo=Oo;
function Ro(a,c){return Qo.createElementNS(a,c)}function So(a,c){a||(a="");return Qo.createNode(1,c,a)}var To=document.implementation&&document.implementation.createDocument?Ro:So;function Uo(a,c){return Vo(a,c,[]).join("")}function Vo(a,c,d){if(4==a.nodeType||3==a.nodeType)c?d.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):d.push(a.nodeValue);else for(a=a.firstChild;a;a=a.nextSibling)Vo(a,c,d);return d}function Wo(a){return a.localName}
function Xo(a){var c=a.localName;return void 0!==c?c:a.baseName}var Yo=$b?Xo:Wo;function Zo(a){return a instanceof Document}function $o(a){return la(a)&&9==a.nodeType}var ap=$b?$o:Zo;function bp(a){return a instanceof Node}function cp(a){return la(a)&&void 0!==a.nodeType}var dp=$b?cp:bp;function ep(a,c,d){return a.getAttributeNS(c,d)||""}function fp(a,c,d){var e="";a=gp(a,c,d);void 0!==a&&(e=a.nodeValue);return e}var hp=document.implementation&&document.implementation.createDocument?ep:fp;
function ip(a,c,d){return a.getAttributeNodeNS(c,d)}function jp(a,c,d){var e=null;a=a.attributes;for(var f,g,h=0,k=a.length;h<k;++h)if(f=a[h],f.namespaceURI==c&&(g=f.prefix?f.prefix+":"+d:d,g==f.nodeName)){e=f;break}return e}var gp=document.implementation&&document.implementation.createDocument?ip:jp;function kp(a,c,d,e){a.setAttributeNS(c,d,e)}function lp(a,c,d,e){c?(c=a.ownerDocument.createNode(2,d,c),c.nodeValue=e,a.setAttributeNode(c)):a.setAttribute(d,e)}
var mp=document.implementation&&document.implementation.createDocument?kp:lp;function np(a){return(new DOMParser).parseFromString(a,"application/xml")}function op(a,c){return function(d,e){var f=a.call(c,d,e);void 0!==f&&hb(e[e.length-1],f)}}function pp(a,c){return function(d,e){var f=a.call(void 0!==c?c:this,d,e);void 0!==f&&e[e.length-1].push(f)}}function qp(a,c){return function(d,e){var f=a.call(void 0!==c?c:this,d,e);void 0!==f&&(e[e.length-1]=f)}}
function rp(a){return function(c,d){var e=a.call(this,c,d);void 0!==e&&Ub(d[d.length-1],c.localName).push(e)}}function R(a,c){return function(d,e){var f=a.call(this,d,e);void 0!==f&&(e[e.length-1][void 0!==c?c:d.localName]=f)}}function S(a,c){return function(d,e,f){a.call(void 0!==c?c:this,d,e,f);f[f.length-1].node.appendChild(d)}}function sp(a){var c,d;return function(e,f,g){if(void 0===c){c={};var h={};h[e.localName]=a;c[e.namespaceURI]=h;d=tp(e.localName)}up(c,d,f,g)}}
function tp(a,c){return function(d,e,f){d=e[e.length-1].node;e=a;void 0===e&&(e=f);f=c;void 0===c&&(f=d.namespaceURI);return To(f,e)}}var vp=tp();function wp(a,c){for(var d=c.length,e=Array(d),f=0;f<d;++f)e[f]=a[c[f]];return e}function T(a,c,d){d=void 0!==d?d:{};var e,f;e=0;for(f=a.length;e<f;++e)d[a[e]]=c;return d}function xp(a,c,d,e){for(c=c.firstElementChild;c;c=c.nextElementSibling){var f=a[c.namespaceURI];void 0!==f&&(f=f[c.localName],void 0!==f&&f.call(e,c,d))}}
function U(a,c,d,e,f){e.push(a);xp(c,d,e,f);return e.pop()}function up(a,c,d,e,f,g){for(var h=(void 0!==f?f:d).length,k,m,n=0;n<h;++n)k=d[n],void 0!==k&&(m=c.call(g,k,e,void 0!==f?f[n]:void 0),void 0!==m&&a[m.namespaceURI][m.localName].call(g,m,k,e))}function yp(a,c,d,e,f,g,h){f.push(a);up(c,d,e,f,g,h);f.pop()};function zp(a,c,d){return function(e,f,g){var h=new vo;h.u="text";B(h,"complete",function(a){a=a.target;if(Jo(a)){var e=c.W(),f;if("json"==e)f=Ko(a);else if("text"==e)f=Ko(a);else if("xml"==e){if(!$b)try{f=a.ga?a.ga.responseXML:null}catch(h){f=null}f||(f=np(Ko(a)))}f&&(f=c.sa(f,{featureProjection:g}),d.call(this,f))}vc(a)},!1,this);ka(a)?zo(h,a(e,f,g)):zo(h,a)}}function Ap(a,c){return zp(a,c,function(a){this.Nb(a)})};function Bp(){return[[-Infinity,-Infinity,Infinity,Infinity]]};var Cp,Dp;
(function(){var a={gb:{}};(function(){function c(a,d){if(!(this instanceof c))return new c(a,d);this.Ce=Math.max(4,a||9);this.Hf=Math.max(2,Math.ceil(.4*this.Ce));d&&this.ci(d);this.clear()}function d(a,c){a.bbox=e(a,0,a.children.length,c)}function e(a,c,d,e){for(var g=[Infinity,Infinity,-Infinity,-Infinity],h;c<d;c++)h=a.children[c],f(g,a.Da?e(h):h.bbox);return g}function f(a,c){a[0]=Math.min(a[0],c[0]);a[1]=Math.min(a[1],c[1]);a[2]=Math.max(a[2],c[2]);a[3]=Math.max(a[3],c[3])}function g(a,c){return a.bbox[0]-
c.bbox[0]}function h(a,c){return a.bbox[1]-c.bbox[1]}function k(a){return(a[2]-a[0])*(a[3]-a[1])}function m(a){return a[2]-a[0]+(a[3]-a[1])}function n(a,c){return a[0]<=c[0]&&a[1]<=c[1]&&c[2]<=a[2]&&c[3]<=a[3]}function p(a,c){return c[0]<=a[2]&&c[1]<=a[3]&&c[2]>=a[0]&&c[3]>=a[1]}function q(a,c,d,e,f){for(var g=[c,d],h;g.length;)d=g.pop(),c=g.pop(),d-c<=e||(h=c+Math.ceil((d-c)/e/2)*e,r(a,c,d,h,f),g.push(c,h,h,d))}function r(a,c,d,e,f){for(var g,h,k,m,n;d>c;){600<d-c&&(g=d-c+1,h=e-c+1,k=Math.log(g),
m=.5*Math.exp(2*k/3),n=.5*Math.sqrt(k*m*(g-m)/g)*(0>h-g/2?-1:1),k=Math.max(c,Math.floor(e-h*m/g+n)),h=Math.min(d,Math.floor(e+(g-h)*m/g+n)),r(a,k,h,e,f));g=a[e];h=c;m=d;u(a,c,e);for(0<f(a[d],g)&&u(a,c,d);h<m;){u(a,h,m);h++;for(m--;0>f(a[h],g);)h++;for(;0<f(a[m],g);)m--}0===f(a[c],g)?u(a,c,m):(m++,u(a,m,d));m<=e&&(c=m+1);e<=m&&(d=m-1)}}function u(a,c,d){var e=a[c];a[c]=a[d];a[d]=e}c.prototype={all:function(){return this.Cf(this.data,[])},search:function(a){var c=this.data,d=[],e=this.La;if(!p(a,c.bbox))return d;
for(var f=[],g,h,k,m;c;){g=0;for(h=c.children.length;g<h;g++)k=c.children[g],m=c.Da?e(k):k.bbox,p(a,m)&&(c.Da?d.push(k):n(a,m)?this.Cf(k,d):f.push(k));c=f.pop()}return d},load:function(a){if(!a||!a.length)return this;if(a.length<this.Hf){for(var c=0,d=a.length;c<d;c++)this.qa(a[c]);return this}a=this.Ef(a.slice(),0,a.length-1,0);this.data.children.length?this.data.height===a.height?this.Jf(this.data,a):(this.data.height<a.height&&(c=this.data,this.data=a,a=c),this.Gf(a,this.data.height-a.height-1,
!0)):this.data=a;return this},qa:function(a){a&&this.Gf(a,this.data.height-1);return this},clear:function(){this.data={children:[],height:1,bbox:[Infinity,Infinity,-Infinity,-Infinity],Da:!0};return this},remove:function(a){if(!a)return this;for(var c=this.data,d=this.La(a),e=[],f=[],g,h,k,m;c||e.length;){c||(c=e.pop(),h=e[e.length-1],g=f.pop(),m=!0);if(c.Da&&(k=c.children.indexOf(a),-1!==k)){c.children.splice(k,1);e.push(c);this.ai(e);break}m||c.Da||!n(c.bbox,d)?h?(g++,c=h.children[g],m=!1):c=null:
(e.push(c),f.push(g),g=0,h=c,c=c.children[0])}return this},La:function(a){return a},Fe:function(a,c){return a[0]-c[0]},Ge:function(a,c){return a[1]-c[1]},toJSON:function(){return this.data},Cf:function(a,c){for(var d=[];a;)a.Da?c.push.apply(c,a.children):d.push.apply(d,a.children),a=d.pop();return c},Ef:function(a,c,e,f){var g=e-c+1,h=this.Ce,k;if(g<=h)return k={children:a.slice(c,e+1),height:1,bbox:null,Da:!0},d(k,this.La),k;f||(f=Math.ceil(Math.log(g)/Math.log(h)),h=Math.ceil(g/Math.pow(h,f-1)));
k={children:[],height:f,bbox:null};var g=Math.ceil(g/h),h=g*Math.ceil(Math.sqrt(h)),m,n,p;for(q(a,c,e,h,this.Fe);c<=e;c+=h)for(n=Math.min(c+h-1,e),q(a,c,n,g,this.Ge),m=c;m<=n;m+=g)p=Math.min(m+g-1,n),k.children.push(this.Ef(a,m,p,f-1));d(k,this.La);return k},$h:function(a,c,d,e){for(var f,g,h,m,n,p,q,r;;){e.push(c);if(c.Da||e.length-1===d)break;q=r=Infinity;f=0;for(g=c.children.length;f<g;f++)h=c.children[f],n=k(h.bbox),p=h.bbox,p=(Math.max(p[2],a[2])-Math.min(p[0],a[0]))*(Math.max(p[3],a[3])-Math.min(p[1],
a[1]))-n,p<r?(r=p,q=n<q?n:q,m=h):p===r&&n<q&&(q=n,m=h);c=m}return c},Gf:function(a,c,d){var e=this.La;d=d?a.bbox:e(a);var e=[],g=this.$h(d,this.data,c,e);g.children.push(a);for(f(g.bbox,d);0<=c;)if(e[c].children.length>this.Ce)this.fi(e,c),c--;else break;this.Xh(d,e,c)},fi:function(a,c){var e=a[c],f=e.children.length,g=this.Hf;this.Yh(e,g,f);f={children:e.children.splice(this.Zh(e,g,f)),height:e.height};e.Da&&(f.Da=!0);d(e,this.La);d(f,this.La);c?a[c-1].children.push(f):this.Jf(e,f)},Jf:function(a,
c){this.data={children:[a,c],height:a.height+1};d(this.data,this.La)},Zh:function(a,c,d){var f,g,h,m,n,p,q;n=p=Infinity;for(f=c;f<=d-c;f++)g=e(a,0,f,this.La),h=e(a,f,d,this.La),m=Math.max(0,Math.min(g[2],h[2])-Math.max(g[0],h[0]))*Math.max(0,Math.min(g[3],h[3])-Math.max(g[1],h[1])),g=k(g)+k(h),m<n?(n=m,q=f,p=g<p?g:p):m===n&&g<p&&(p=g,q=f);return q},Yh:function(a,c,d){var e=a.Da?this.Fe:g,f=a.Da?this.Ge:h,k=this.Df(a,c,d,e);c=this.Df(a,c,d,f);k<c&&a.children.sort(e)},Df:function(a,c,d,g){a.children.sort(g);
g=this.La;var h=e(a,0,c,g),k=e(a,d-c,d,g),n=m(h)+m(k),p,q;for(p=c;p<d-c;p++)q=a.children[p],f(h,a.Da?g(q):q.bbox),n+=m(h);for(p=d-c-1;p>=c;p--)q=a.children[p],f(k,a.Da?g(q):q.bbox),n+=m(k);return n},Xh:function(a,c,d){for(;0<=d;d--)f(c[d].bbox,a)},ai:function(a){for(var c=a.length-1,e;0<=c;c--)0===a[c].children.length?0<c?(e=a[c-1].children,e.splice(e.indexOf(a[c]),1)):this.clear():d(a[c],this.La)},ci:function(a){var c=["return a"," - b",";"];this.Fe=new Function("a","b",c.join(a[0]));this.Ge=new Function("a",
"b",c.join(a[1]));this.La=new Function("a","return [a"+a.join(", a")+"];")}};"undefined"!==typeof a?a.gb=c:"undefined"!==typeof self?self.b=c:window.b=c})();Cp=a.gb})();function Ep(a){this.a=Cp(a);this.b={}}l=Ep.prototype;l.qa=function(a,c){var d=[a[0],a[1],a[2],a[3],c];this.a.qa(d);this.b[v(c)]=d};l.load=function(a,c){for(var d=Array(c.length),e=0,f=c.length;e<f;e++){var g=a[e],h=c[e],g=[g[0],g[1],g[2],g[3],h];d[e]=g;this.b[v(h)]=g}this.a.load(d)};l.remove=function(a){a=v(a);var c=this.b[a];delete this.b[a];return null!==this.a.remove(c)};function Fp(a,c,d){var e=v(d);Zd(a.b[e].slice(0,4),c)||(a.remove(d),a.qa(c,d))}
function Gp(a){return a.a.all().map(function(a){return a[4]})}function Hp(a,c){return a.a.search(c).map(function(a){return a[4]})}l.forEach=function(a,c){return Ip(Gp(this),a,c)};function Jp(a,c,d,e){return Ip(Hp(a,c),d,e)}function Ip(a,c,d){for(var e,f=0,g=a.length;f<g&&!(e=c.call(d,a[f]));f++);return e}l.ya=function(){return Rb(this.b)};l.clear=function(){this.a.clear();this.b={}};l.R=function(){return this.a.data.bbox};function V(a){a=a||{};Ch.call(this,{attributions:a.attributions,logo:a.logo,projection:void 0,state:"ready",wrapX:void 0!==a.wrapX?a.wrapX:!0});this.X=wa;void 0!==a.loader?this.X=a.loader:void 0!==a.url&&(this.X=Ap(a.url,a.format));this.wa=void 0!==a.strategy?a.strategy:Bp;var c=void 0!==a.useSpatialIndex?a.useSpatialIndex:!0;this.a=c?new Ep:null;this.$=new Ep;this.f={};this.g={};this.l={};this.A={};this.c=null;var d,e;a.features instanceof tg?(d=a.features,e=d.a):ga(a.features)&&(e=a.features);c||
void 0!==d||(d=new tg(e));void 0!==e&&Kp(this,e);void 0!==d&&Lp(this,d)}w(V,Ch);l=V.prototype;l.yc=function(a){var c=v(a).toString();if(Mp(this,c,a)){Np(this,c,a);var d=a.V();d?(c=d.R(),this.a&&this.a.qa(c,a)):this.f[c]=a;C(this,new Op("addfeature",a))}this.s()};function Np(a,c,d){a.A[c]=[B(d,"change",a.Eg,!1,a),B(d,"propertychange",a.Eg,!1,a)]}function Mp(a,c,d){var e=!0,f=d.ha;void 0!==f?f.toString()in a.g?e=!1:a.g[f.toString()]=d:a.l[c]=d;return e}l.Nb=function(a){Kp(this,a);this.s()};
function Kp(a,c){var d,e,f,g,h=[],k=[],m=[];e=0;for(f=c.length;e<f;e++)g=c[e],d=v(g).toString(),Mp(a,d,g)&&k.push(g);e=0;for(f=k.length;e<f;e++){g=k[e];d=v(g).toString();Np(a,d,g);var n=g.V();n?(d=n.R(),h.push(d),m.push(g)):a.f[d]=g}a.a&&a.a.load(h,m);e=0;for(f=k.length;e<f;e++)C(a,new Op("addfeature",k[e]))}
function Lp(a,c){var d=!1;B(a,"addfeature",function(a){d||(d=!0,c.push(a.feature),d=!1)});B(a,"removefeature",function(a){d||(d=!0,c.remove(a.feature),d=!1)});B(c,"add",function(a){d||(a=a.element,d=!0,this.yc(a),d=!1)},!1,a);B(c,"remove",function(a){d||(a=a.element,d=!0,this.dc(a),d=!1)},!1,a);a.c=c}
l.clear=function(a){if(a){for(var c in this.A)this.A[c].forEach($c);this.c||(this.A={},this.g={},this.l={})}else a=this.Zg,this.a&&(this.a.forEach(a,this),Jb(this.f,a,this));this.c&&this.c.clear();this.a&&this.a.clear();this.$.clear();this.f={};C(this,new Op("clear"));this.s()};l.Le=function(a,c){if(this.a)return this.a.forEach(a,c);if(this.c)return this.c.forEach(a,c)};function Pp(a,c,d){a.sc([c[0],c[1],c[0],c[1]],function(a){if(a.V().He(c))return d.call(void 0,a)})}
l.sc=function(a,c,d){if(this.a)return Jp(this.a,a,c,d);if(this.c)return this.c.forEach(c,d)};l.zb=function(a,c,d,e){return this.sc(a,d,e)};l.Me=function(a,c,d){return this.sc(a,function(e){if(e.V().ua(a)&&(e=c.call(d,e)))return e})};l.Re=function(){return this.c};l.zc=function(){var a;this.c?a=this.c.a:this.a&&(a=Gp(this.a),Rb(this.f)||hb(a,Mb(this.f)));return a};l.Qe=function(a){var c=[];Pp(this,a,function(a){c.push(a)});return c};l.Ad=function(a){return Hp(this.a,a)};
l.Oe=function(a){var c=a[0],d=a[1],e=null,f=[NaN,NaN],g=Infinity,h=[-Infinity,-Infinity,Infinity,Infinity];Jp(this.a,h,function(a){var m=a.V(),n=g;g=m.Va(c,d,f,g);g<n&&(e=a,a=Math.sqrt(g),h[0]=c-a,h[1]=d-a,h[2]=c+a,h[3]=d+a)});return e};l.R=function(){return this.a.R()};l.Pe=function(a){a=this.g[a.toString()];return void 0!==a?a:null};
l.Eg=function(a){a=a.target;var c=v(a).toString(),d=a.V();d?(d=d.R(),c in this.f?(delete this.f[c],this.a&&this.a.qa(d,a)):this.a&&Fp(this.a,d,a)):c in this.f||(this.a&&this.a.remove(a),this.f[c]=a);d=a.ha;void 0!==d?(d=d.toString(),c in this.l?(delete this.l[c],this.g[d]=a):this.g[d]!==a&&(Qp(this,a),this.g[d]=a)):c in this.l||(Qp(this,a),this.l[c]=a);this.s();C(this,new Op("changefeature",a))};l.ya=function(){return this.a.ya()&&Rb(this.f)};
l.Wb=function(a,c,d){var e=this.$;a=this.wa(a,c);var f,g;f=0;for(g=a.length;f<g;++f){var h=a[f];Jp(e,h,function(a){return Wd(a.extent,h)})||(this.X.call(this,h,c,d),e.qa(h,{extent:h.slice()}))}};l.dc=function(a){var c=v(a).toString();c in this.f?delete this.f[c]:this.a&&this.a.remove(a);this.Zg(a);this.s()};l.Zg=function(a){var c=v(a).toString();this.A[c].forEach($c);delete this.A[c];var d=a.ha;void 0!==d?delete this.g[d.toString()]:delete this.l[c];C(this,new Op("removefeature",a))};
function Qp(a,c){for(var d in a.g)if(a.g[d]===c){delete a.g[d];break}}function Op(a,c){wc.call(this,a);this.feature=c}w(Op,wc);function Rp(a){this.a=a.source;this.fa=Cd();this.c=Ri();this.f=[0,0];this.u=null;zn.call(this,{attributions:a.attributions,canvasFunction:qa(this.pi,this),logo:a.logo,projection:a.projection,ratio:a.ratio,resolutions:a.resolutions,state:this.a.v});this.B=null;this.g=void 0;this.Bg(a.style);B(this.a,"change",this.Nl,void 0,this)}w(Rp,zn);l=Rp.prototype;
l.pi=function(a,c,d,e,f){var g=new Sm(.5*c/d,a,c);this.a.Wb(a,c,f);var h=!1;this.a.zb(a,c,function(a){var e;if(!(e=h)){var f;(e=a.c)?f=e.call(a,c):this.g&&(f=this.g(a,c));if(f){var p,q=!1;e=0;for(p=f.length;e<p;++e)q=pn(g,a,f[e],on(c,d),this.Ml,this)||q;e=q}else e=!1}h=e},this);Tm(g);if(h)return null;this.f[0]!=e[0]||this.f[1]!=e[1]?(this.c.canvas.width=e[0],this.c.canvas.height=e[1],this.f[0]=e[0],this.f[1]=e[1]):this.c.clearRect(0,0,e[0],e[1]);a=Sp(this,ge(a),c,d,e);Xm(g,this.c,d,a,0,{});this.u=
g;return this.c.canvas};l.be=function(a,c,d,e,f){if(this.u){var g={};return Um(this.u,a,c,0,e,function(a){var c=v(a).toString();if(!(c in g))return g[c]=!0,f(a)})}};l.Jl=function(){return this.a};l.Kl=function(){return this.B};l.Ll=function(){return this.g};function Sp(a,c,d,e,f){return kk(a.fa,f[0]/2,f[1]/2,e/d,-e/d,0,-c[0],-c[1])}l.Ml=function(){this.s()};l.Nl=function(){Eh(this,this.a.v)};l.Bg=function(a){this.B=void 0!==a?a:Kl;this.g=a?Il(this.B):void 0;this.s()};function Tp(a){ym.call(this,a);this.g=null;this.j=Cd();this.c=this.f=null}w(Tp,ym);l=Tp.prototype;l.Ta=function(a,c,d,e){var f=this.a;return f.ea().be(a,c.viewState.resolution,c.viewState.rotation,c.skippedFeatureUids,function(a){return d.call(e,a,f)})};
l.bc=function(a,c,d,e){if(this.cd())if(this.a.ea()instanceof Rp){if(a=a.slice(),mk(c.pixelToCoordinateMatrix,a,a),this.Ta(a,c,re,this))return d.call(e,this.a)}else if(this.f||(this.f=Cd(),Id(this.j,this.f)),c=Bm(a,this.f),this.c||(this.c=Ri(1,1)),this.c.clearRect(0,0,1,1),this.c.drawImage(this.cd(),c[0],c[1],1,1,0,0,1,1),0<this.c.getImageData(0,0,1,1).data[3])return d.call(e,this.a)};l.cd=function(){return this.g?this.g.b():null};l.Se=function(){return this.j};
l.ae=function(a,c){var d=a.pixelRatio,e=a.viewState,f=e.center,g=e.resolution,h=e.rotation,k,m=this.a.ea(),n=a.viewHints;k=a.extent;void 0!==c.extent&&(k=je(k,c.extent));n[0]||n[1]||me(k)||(e=e.projection,(n=m.i)&&(e=n),(k=m.cc(k,g,d,e))&&pk(this,k)&&(this.g=k));if(this.g){k=this.g;var e=k.R(),n=k.aa(),p=k.g,g=d*n/(g*p);kk(this.j,d*a.size[0]/2,d*a.size[1]/2,g,g,h,p*(e[0]-f[0])/n,p*(f[1]-e[3])/n);this.f=null;rk(a.attributions,k.j);sk(a,m)}return!0};function Up(a){ym.call(this,a);this.c=this.j=null;this.C=!1;this.i=null;this.A=Cd();this.g=null;this.B=this.N=this.u=NaN;this.l=this.f=null;this.T=[0,0]}w(Up,ym);Up.prototype.cd=function(){return this.j};Up.prototype.Se=function(){return this.A};
Up.prototype.ae=function(a,c){var d=a.pixelRatio,e=a.viewState,f=e.projection,g=this.a,h=g.ea(),k=Th(h,f),m=h.Bd(),n=Nh(k,e.resolution),p=h.Tb(n,a.pixelRatio,f),q=p[0]/pd(k.Ka(n),this.T)[0],r=k.aa(n),q=r/q,u=e.center,y;r==e.resolution?(u=uk(u,r,a.size),y=he(u,r,e.rotation,a.size)):y=a.extent;void 0!==c.extent&&(y=je(y,c.extent));if(me(y))return!1;var A=Lh(k,y,r),F=p[0]*pg(A),z=p[1]*og(A),x,K;this.j?(x=this.j,K=this.i,this.c[0]<F||this.c[1]<z||this.N!==p[0]||this.B!==p[1]||this.C&&(this.c[0]>F||this.c[1]>
z)?(x.width=F,x.height=z,this.c=[F,z],this.C=!Cm(this.c),this.f=null):(F=this.c[0],z=this.c[1],(x=n!=this.u)||(x=this.f,x=!(x.b<=A.b&&A.f<=x.f&&x.a<=A.a&&A.c<=x.c)),x&&(this.f=null))):(K=Ri(F,z),this.j=K.canvas,this.c=[F,z],this.i=K,this.C=!Cm(this.c));var J,I;this.f?(z=this.f,F=pg(z)):(F/=p[0],z/=p[1],J=A.b-Math.floor((F-pg(A))/2),I=A.a-Math.floor((z-og(A))/2),this.u=n,this.N=p[0],this.B=p[1],this.f=new mg(J,J+F-1,I,I+z-1),this.l=Array(F*z),z=this.f);x={};x[n]={};var N=[],va=this.wd(h,x),Ra=g.c(),
M=Nd(),Ia=new mg(0,0,0,0),pb,Ma,Eb;for(I=A.b;I<=A.f;++I)for(Eb=A.a;Eb<=A.c;++Eb)Ma=h.Sb(n,I,Eb,d,f),J=Ma.state,2==J||4==J||3==J&&!Ra?x[n][fg(Ma.b)]=Ma:(pb=Ih(k,Ma.b,va,Ia,M),pb||(N.push(Ma),(pb=Kh(k,Ma.b,Ia,M))&&va(n+1,pb)));va=0;for(pb=N.length;va<pb;++va)Ma=N[va],I=p[0]*(Ma.b[1]-z.b),Eb=p[1]*(z.c-Ma.b[2]),K.clearRect(I,Eb,p[0],p[1]);N=Object.keys(x).map(Number);kb(N);var $a=h.da,Ec=fe(Jh(k,[n,z.b,z.c],M)),jc,Ke,qj,Qh,Pf,mm,va=0;for(pb=N.length;va<pb;++va)if(jc=N[va],p=h.Tb(jc,d,f),Qh=x[jc],jc==
n)for(qj in Qh)Ma=Qh[qj],Ke=(Ma.b[2]-z.a)*F+(Ma.b[1]-z.b),this.l[Ke]!=Ma&&(I=p[0]*(Ma.b[1]-z.b),Eb=p[1]*(z.c-Ma.b[2]),J=Ma.state,4!=J&&(3!=J||Ra)&&$a||K.clearRect(I,Eb,p[0],p[1]),2==J&&K.drawImage(Ma.Qa(),m,m,p[0],p[1],I,Eb,p[0],p[1]),this.l[Ke]=Ma);else for(qj in jc=k.aa(jc)/r,Qh)for(Ma=Qh[qj],Ke=Jh(k,Ma.b,M),I=(Ke[0]-Ec[0])/q,Eb=(Ec[1]-Ke[3])/q,mm=jc*p[0],Pf=jc*p[1],J=Ma.state,4!=J&&$a||K.clearRect(I,Eb,mm,Pf),2==J&&K.drawImage(Ma.Qa(),m,m,p[0],p[1],I,Eb,mm,Pf),Ma=kg(k,Ke,n,Ia),J=Math.max(Ma.b,
z.b),Eb=Math.min(Ma.f,z.f),I=Math.max(Ma.a,z.a),Ma=Math.min(Ma.c,z.c);J<=Eb;++J)for(Pf=I;Pf<=Ma;++Pf)Ke=(Pf-z.a)*F+(J-z.b),this.l[Ke]=void 0;tk(a.usedTiles,h,n,A);vk(a,h,k,d,f,y,n,g.a());qk(a,h);sk(a,h);kk(this.A,d*a.size[0]/2,d*a.size[1]/2,d*q/e.resolution,d*q/e.resolution,e.rotation,(Ec[0]-u[0])/q,(u[1]-Ec[1])/q);this.g=null;return!0};
Up.prototype.bc=function(a,c,d,e){if(this.i&&(this.g||(this.g=Cd(),Id(this.A,this.g)),a=Bm(a,this.g),0<this.i.getImageData(a[0],a[1],1,1).data[3]))return d.call(e,this.a)};function Vp(a){ym.call(this,a);this.f=!1;this.C=-1;this.l=NaN;this.j=Nd();this.c=this.i=null;this.g=Ri()}w(Vp,ym);
Vp.prototype.v=function(a,c,d){var e=a.extent,f=a.pixelRatio,g=c.Fb?a.skippedFeatureUids:{},h=a.viewState,k=h.projection,h=h.rotation,m=k.R(),n=this.a.ea(),p=Am(this,a,0);zm(this,"precompose",d,a,p);var q=this.c;if(q&&!q.ya()){var r;fd(this.a,"render")?(this.g.canvas.width=d.canvas.width,this.g.canvas.height=d.canvas.height,r=this.g):r=d;var u=r.globalAlpha;r.globalAlpha=c.opacity;Xm(q,r,f,p,h,g);if(n.N&&k.c&&!Wd(m,e)){c=e[0];k=le(m);for(n=0;c<m[0];)--n,p=k*n,p=Am(this,a,p),Xm(q,r,f,p,h,g),c+=k;n=
0;for(c=e[2];c>m[2];)++n,p=k*n,p=Am(this,a,p),Xm(q,r,f,p,h,g),c-=k;p=Am(this,a,0)}r!=d&&(zm(this,"render",r,a,p),d.drawImage(r.canvas,0,0));r.globalAlpha=u}zm(this,"postcompose",d,a,p)};Vp.prototype.Ta=function(a,c,d,e){if(this.c){var f=c.viewState.resolution,g=c.viewState.rotation,h=this.a,k=c.layerStates[v(h)],m={};return Um(this.c,a,f,g,k.Fb?c.skippedFeatureUids:{},function(a){var c=v(a).toString();if(!(c in m))return m[c]=!0,d.call(e,a,h)})}};Vp.prototype.A=function(){ok(this)};
Vp.prototype.ae=function(a){function c(a){var c,e=a.c;e?c=e.call(a,n):(e=d.c)&&(c=e(a,n));if(c){if(c){var f,g=!1,e=0;for(f=c.length;e<f;++e)g=pn(r,a,c[e],on(n,p),this.A,this)||g;a=g}else a=!1;this.f=this.f||a}}var d=this.a,e=d.ea();rk(a.attributions,e.j);sk(a,e);var f=a.viewHints[0],g=a.viewHints[1],h=d.B,k=d.N;if(!this.f&&!h&&f||!k&&g)return!0;var m=a.extent,k=a.viewState,f=k.projection,n=k.resolution,p=a.pixelRatio,g=d.b,q=d.a,h=d.get("renderOrder");void 0===h&&(h=nn);m=Rd(m,q*n);q=k.projection.R();
e.N&&k.projection.c&&!Wd(q,a.extent)&&(a=Math.max(le(m)/2,le(q)),m[0]=q[0]-a,m[2]=q[2]+a);if(!this.f&&this.l==n&&this.C==g&&this.i==h&&Wd(this.j,m))return!0;vc(this.c);this.c=null;this.f=!1;var r=new Sm(.5*n/p,m,n,d.a);e.Wb(m,n,f);if(h){var u=[];e.zb(m,n,function(a){u.push(a)},this);kb(u,h);u.forEach(c,this)}else e.zb(m,n,c,this);Tm(r);this.l=n;this.C=g;this.i=h;this.j=m;this.c=r;return!0};function Wp(a,c){Ck.call(this,0,c);this.c=Ri();this.b=this.c.canvas;this.b.style.width="100%";this.b.style.height="100%";this.b.className="ol-unselectable";Sg(a,this.b,0);this.a=!0;this.g=Cd()}w(Wp,Ck);Wp.prototype.Ie=function(a){return a instanceof jm?new Tp(a):a instanceof G?new Up(a):a instanceof H?new Vp(a):null};
function Xp(a,c,d){var e=a.j,f=a.c;if(fd(e,c)){var g=d.extent,h=d.pixelRatio,k=d.viewState.rotation,m=d.pixelRatio,n=d.viewState,p=n.resolution;a=kk(a.g,a.b.width/2,a.b.height/2,m/p,-m/p,-n.rotation,-n.center[0],-n.center[1]);g=new km(f,h,g,a,k);C(e,new fk(c,e,g,d,f,null));xm(g)}}Wp.prototype.W=function(){return"canvas"};
Wp.prototype.pe=function(a){if(a){var c=this.c,d=a.size[0]*a.pixelRatio,e=a.size[1]*a.pixelRatio;this.b.width!=d||this.b.height!=e?(this.b.width=d,this.b.height=e):c.clearRect(0,0,this.b.width,this.b.height);Dk(a);Xp(this,"precompose",a);d=a.layerStatesArray;mb(d);var e=a.viewState.resolution,f,g,h,k;f=0;for(g=d.length;f<g;++f)k=d[f],h=k.layer,h=Fk(this,h),hk(k,e)&&"ready"==k.v&&h.ae(a,k)&&h.v(a,k,c);Xp(this,"postcompose",a);this.a||(nh(this.b,!0),this.a=!0);Gk(this,a);a.postRenderFunctions.push(Ek)}else this.a&&
(nh(this.b,!1),this.a=!1)};function Yp(a,c){nk.call(this,a);this.target=c}w(Yp,nk);Yp.prototype.g=wa;Yp.prototype.l=wa;function Zp(a){var c=Pg("DIV");c.style.position="absolute";Yp.call(this,a,c);this.c=null;this.f=Ed()}w(Zp,Yp);Zp.prototype.Ta=function(a,c,d,e){var f=this.a;return f.ea().be(a,c.viewState.resolution,c.viewState.rotation,c.skippedFeatureUids,function(a){return d.call(e,a,f)})};Zp.prototype.g=function(){Rg(this.target);this.c=null};
Zp.prototype.j=function(a,c){var d=a.viewState,e=d.center,f=d.resolution,g=d.rotation,h=this.c,k=this.a.ea(),m=a.viewHints,n=a.extent;void 0!==c.extent&&(n=je(n,c.extent));m[0]||m[1]||me(n)||(d=d.projection,(m=k.i)&&(d=m),(n=k.cc(n,f,a.pixelRatio,d))&&pk(this,n)&&(h=n));h&&(d=h.R(),m=h.aa(),n=Cd(),kk(n,a.size[0]/2,a.size[1]/2,m/f,m/f,g,(d[0]-e[0])/m,(e[1]-d[3])/m),h!=this.c&&(e=h.b(this),e.style.maxWidth="none",e.style.position="absolute",Rg(this.target),this.target.appendChild(e),this.c=h),lk(n,
this.f)||(Vi(this.target,n),Fd(this.f,n)),rk(a.attributions,h.j),sk(a,k));return!0};function $p(a){var c=Pg("DIV");c.style.position="absolute";Yp.call(this,a,c);this.f=!0;this.C=1;this.i=0;this.c={}}w($p,Yp);$p.prototype.g=function(){Rg(this.target);this.i=0};
$p.prototype.j=function(a,c){if(!c.visible)return this.f&&(nh(this.target,!1),this.f=!1),!0;var d=a.pixelRatio,e=a.viewState,f=e.projection,g=this.a,h=g.ea(),k=Th(h,f),m=h.Bd(),n=Nh(k,e.resolution),p=k.aa(n),q=e.center,r;p==e.resolution?(q=uk(q,p,a.size),r=he(q,p,e.rotation,a.size)):r=a.extent;void 0!==c.extent&&(r=je(r,c.extent));var p=Lh(k,r,p),u={};u[n]={};var y=this.wd(h,u),A=g.c(),F=Nd(),z=new mg(0,0,0,0),x,K,J,I;for(J=p.b;J<=p.f;++J)for(I=p.a;I<=p.c;++I)x=h.Sb(n,J,I,d,f),K=x.state,2==K?u[n][fg(x.b)]=
x:4==K||3==K&&!A||(K=Ih(k,x.b,y,z,F),K||(x=Kh(k,x.b,z,F))&&y(n+1,x));var N;if(this.i!=h.b){for(N in this.c)A=this.c[+N],Tg(A.target);this.c={};this.i=h.b}F=Object.keys(u).map(Number);kb(F);var y={},va;J=0;for(I=F.length;J<I;++J){N=F[J];N in this.c?A=this.c[N]:(A=k.Jd(q,N),A=new aq(k,A),y[N]=!0,this.c[N]=A);N=u[N];for(va in N){x=A;K=N[va];var Ra=m,M=K.b,Ia=M[0],pb=M[1],Ma=M[2],M=fg(M);if(!(M in x.a)){var Ia=pd(x.f.Ka(Ia),x.l),Eb=K.Qa(x),$a=Eb.style;$a.maxWidth="none";var Ec=void 0,jc=void 0;0<Ra?(Ec=
Pg("DIV"),jc=Ec.style,jc.overflow="hidden",jc.width=Ia[0]+"px",jc.height=Ia[1]+"px",$a.position="absolute",$a.left=-Ra+"px",$a.top=-Ra+"px",$a.width=Ia[0]+2*Ra+"px",$a.height=Ia[1]+2*Ra+"px",Ec.appendChild(Eb)):($a.width=Ia[0]+"px",$a.height=Ia[1]+"px",Ec=Eb,jc=$a);jc.position="absolute";jc.left=(pb-x.c[1])*Ia[0]+"px";jc.top=(x.c[2]-Ma)*Ia[1]+"px";x.b||(x.b=document.createDocumentFragment());x.b.appendChild(Ec);x.a[M]=K}}A.b&&(A.target.appendChild(A.b),A.b=null)}m=Object.keys(this.c).map(Number);
kb(m);J=Cd();va=0;for(F=m.length;va<F;++va)if(N=m[va],A=this.c[N],N in u)if(x=A.aa(),I=A.ta(),kk(J,a.size[0]/2,a.size[1]/2,x/e.resolution,x/e.resolution,e.rotation,(I[0]-q[0])/x,(q[1]-I[1])/x),A.setTransform(J),N in y){for(--N;0<=N;--N)if(N in this.c){I=this.c[N].target;I.parentNode&&I.parentNode.insertBefore(A.target,I.nextSibling);break}0>N&&Sg(this.target,A.target,0)}else{if(!a.viewHints[0]&&!a.viewHints[1]){K=kg(A.f,r,A.c[0],z);N=[];x=I=void 0;for(x in A.a)I=A.a[x],K.contains(I.b)||N.push(I);
Ra=K=void 0;K=0;for(Ra=N.length;K<Ra;++K)I=N[K],x=fg(I.b),Tg(I.Qa(A)),delete A.a[x]}}else Tg(A.target),delete this.c[N];c.opacity!=this.C&&(this.C=this.target.style.opacity=c.opacity);c.visible&&!this.f&&(nh(this.target,!0),this.f=!0);tk(a.usedTiles,h,n,p);vk(a,h,k,d,f,r,n,g.a());qk(a,h);sk(a,h);return!0};
function aq(a,c){this.target=Pg("DIV");this.target.style.position="absolute";this.target.style.width="100%";this.target.style.height="100%";this.f=a;this.c=c;this.j=fe(Jh(a,c));this.i=a.aa(c[0]);this.a={};this.b=null;this.g=Ed();this.l=[0,0]}aq.prototype.ta=function(){return this.j};aq.prototype.aa=function(){return this.i};aq.prototype.setTransform=function(a){lk(a,this.g)||(Vi(this.target,a),Fd(this.g,a))};function bq(a){this.i=Ri();var c=this.i.canvas;c.style.maxWidth="none";c.style.position="absolute";Yp.call(this,a,c);this.f=!1;this.u=-1;this.v=NaN;this.C=Nd();this.c=this.A=null;this.N=Cd();this.B=Cd()}w(bq,Yp);
bq.prototype.l=function(a,c){var d=a.viewState,e=d.center,f=d.rotation,g=d.resolution,d=a.pixelRatio,h=a.size[0],k=a.size[1],m=h*d,n=k*d,e=kk(this.N,d*h/2,d*k/2,d/g,-d/g,-f,-e[0],-e[1]),g=this.i;g.canvas.width=m;g.canvas.height=n;h=kk(this.B,0,0,1/d,1/d,0,-(m-h)/2*d,-(n-k)/2*d);Vi(g.canvas,h);cq(this,"precompose",a,e);(h=this.c)&&!h.ya()&&(g.globalAlpha=c.opacity,Xm(h,g,d,e,f,c.Fb?a.skippedFeatureUids:{}),cq(this,"render",a,e));cq(this,"postcompose",a,e)};
function cq(a,c,d,e){var f=a.i;a=a.a;fd(a,c)&&(e=new km(f,d.pixelRatio,d.extent,e,d.viewState.rotation),C(a,new fk(c,a,e,d,f,null)),xm(e))}bq.prototype.Ta=function(a,c,d,e){if(this.c){var f=c.viewState.resolution,g=c.viewState.rotation,h=this.a,k=c.layerStates[v(h)],m={};return Um(this.c,a,f,g,k.Fb?c.skippedFeatureUids:{},function(a){var c=v(a).toString();if(!(c in m))return m[c]=!0,d.call(e,a,h)})}};bq.prototype.I=function(){ok(this)};
bq.prototype.j=function(a){function c(a){var c,e=a.c;e?c=e.call(a,m):(e=d.c)&&(c=e(a,m));if(c){if(c){var f,g=!1,e=0;for(f=c.length;e<f;++e)g=pn(p,a,c[e],on(m,n),this.I,this)||g;a=g}else a=!1;this.f=this.f||a}}var d=this.a,e=d.ea();rk(a.attributions,e.j);sk(a,e);var f=a.viewHints[0],g=a.viewHints[1],h=d.B,k=d.N;if(!this.f&&!h&&f||!k&&g)return!0;var g=a.extent,h=a.viewState,f=h.projection,m=h.resolution,n=a.pixelRatio;a=d.b;k=d.a;h=d.get("renderOrder");void 0===h&&(h=nn);g=Rd(g,k*m);if(!this.f&&this.v==
m&&this.u==a&&this.A==h&&Wd(this.C,g))return!0;vc(this.c);this.c=null;this.f=!1;var p=new Sm(.5*m/n,g,m,d.a);e.Wb(g,m,f);if(h){var q=[];e.zb(g,m,function(a){q.push(a)},this);kb(q,h);q.forEach(c,this)}else e.zb(g,m,c,this);Tm(p);this.v=m;this.u=a;this.A=h;this.C=g;this.c=p;return!0};function dq(a,c){Ck.call(this,0,c);this.c=Ri();var d=this.c.canvas;d.style.position="absolute";d.style.width="100%";d.style.height="100%";d.className="ol-unselectable";Sg(a,d,0);this.g=Cd();this.b=Pg("DIV");this.b.className="ol-unselectable";d=this.b.style;d.position="absolute";d.width="100%";d.height="100%";B(this.b,"touchstart",yc);Sg(a,this.b,0);this.a=!0}w(dq,Ck);dq.prototype.Y=function(){Tg(this.b);dq.ba.Y.call(this)};
dq.prototype.Ie=function(a){if(a instanceof jm)a=new Zp(a);else if(a instanceof G)a=new $p(a);else if(a instanceof H)a=new bq(a);else return null;return a};function eq(a,c,d){var e=a.j;if(fd(e,c)){var f=d.extent,g=d.pixelRatio,h=d.viewState,k=h.rotation,m=a.c,n=m.canvas;kk(a.g,n.width/2,n.height/2,g/h.resolution,-g/h.resolution,-h.rotation,-h.center[0],-h.center[1]);a=new km(m,g,f,a.g,k);C(e,new fk(c,e,a,d,m,null));xm(a)}}dq.prototype.W=function(){return"dom"};
dq.prototype.pe=function(a){if(a){var c=this.j;if(fd(c,"precompose")||fd(c,"postcompose")){var c=this.c.canvas,d=a.pixelRatio;c.width=a.size[0]*d;c.height=a.size[1]*d}eq(this,"precompose",a);c=a.layerStatesArray;mb(c);var d=a.viewState.resolution,e,f,g,h;e=0;for(f=c.length;e<f;++e)h=c[e],g=h.layer,g=Fk(this,g),Sg(this.b,g.target,e),hk(h,d)&&"ready"==h.v?g.j(a,h)&&g.l(a,h):g.g();var c=a.layerStates,k;for(k in this.f)k in c||(g=this.f[k],Tg(g.target));this.a||(nh(this.b,!0),this.a=!0);Dk(a);Gk(this,
a);a.postRenderFunctions.push(Ek);eq(this,"postcompose",a)}else this.a&&(nh(this.b,!1),this.a=!1)};function fq(a){this.b=a}function gq(a){this.b=a}w(gq,fq);gq.prototype.W=function(){return 35632};function hq(a){this.b=a}w(hq,fq);hq.prototype.W=function(){return 35633};function iq(){this.b="precision mediump float;varying vec2 a;varying float b;uniform float k;uniform sampler2D l;void main(void){vec4 texColor=texture2D(l,a);gl_FragColor.rgb=texColor.rgb;float alpha=texColor.a*b*k;if(alpha==0.0){discard;}gl_FragColor.a=alpha;}"}w(iq,gq);ea(iq);
function jq(){this.b="varying vec2 a;varying float b;attribute vec2 c;attribute vec2 d;attribute vec2 e;attribute float f;attribute float g;uniform mat4 h;uniform mat4 i;uniform mat4 j;void main(void){mat4 offsetMatrix=i;if(g==1.0){offsetMatrix=i*j;}vec4 offsets=offsetMatrix*vec4(e,0.,0.);gl_Position=h*vec4(c,0.,1.)+offsets;a=d;b=f;}"}w(jq,hq);ea(jq);
function kq(a,c){this.l=a.getUniformLocation(c,"j");this.C=a.getUniformLocation(c,"i");this.j=a.getUniformLocation(c,"k");this.i=a.getUniformLocation(c,"h");this.b=a.getAttribLocation(c,"e");this.a=a.getAttribLocation(c,"f");this.f=a.getAttribLocation(c,"c");this.c=a.getAttribLocation(c,"g");this.g=a.getAttribLocation(c,"d")};function lq(a){this.b=void 0!==a?a:[]};function mq(a,c){this.A=a;this.b=c;this.a={};this.j={};this.g={};this.l=this.C=this.f=this.i=null;(this.c=sb(ua,"OES_element_index_uint"))&&c.getExtension("OES_element_index_uint");B(this.A,"webglcontextlost",this.Nm,!1,this);B(this.A,"webglcontextrestored",this.Om,!1,this)}
function nq(a,c,d){var e=a.b,f=d.b,g=v(d);if(g in a.a)e.bindBuffer(c,a.a[g].buffer);else{var h=e.createBuffer();e.bindBuffer(c,h);var k;34962==c?k=new Float32Array(f):34963==c&&(k=a.c?new Uint32Array(f):new Uint16Array(f));e.bufferData(c,k,35044);a.a[g]={a:d,buffer:h}}}function oq(a,c){var d=a.b,e=v(c),f=a.a[e];d.isContextLost()||d.deleteBuffer(f.buffer);delete a.a[e]}l=mq.prototype;
l.Y=function(){var a=this.b;a.isContextLost()||(Jb(this.a,function(c){a.deleteBuffer(c.buffer)}),Jb(this.g,function(c){a.deleteProgram(c)}),Jb(this.j,function(c){a.deleteShader(c)}),a.deleteFramebuffer(this.f),a.deleteRenderbuffer(this.l),a.deleteTexture(this.C))};l.Mm=function(){return this.b};
function pq(a){if(!a.f){var c=a.b,d=c.createFramebuffer();c.bindFramebuffer(c.FRAMEBUFFER,d);var e=qq(c,1,1),f=c.createRenderbuffer();c.bindRenderbuffer(c.RENDERBUFFER,f);c.renderbufferStorage(c.RENDERBUFFER,c.DEPTH_COMPONENT16,1,1);c.framebufferTexture2D(c.FRAMEBUFFER,c.COLOR_ATTACHMENT0,c.TEXTURE_2D,e,0);c.framebufferRenderbuffer(c.FRAMEBUFFER,c.DEPTH_ATTACHMENT,c.RENDERBUFFER,f);c.bindTexture(c.TEXTURE_2D,null);c.bindRenderbuffer(c.RENDERBUFFER,null);c.bindFramebuffer(c.FRAMEBUFFER,null);a.f=d;
a.C=e;a.l=f}return a.f}function rq(a,c){var d=v(c);if(d in a.j)return a.j[d];var e=a.b,f=e.createShader(c.W());e.shaderSource(f,c.b);e.compileShader(f);return a.j[d]=f}function sq(a,c,d){var e=v(c)+"/"+v(d);if(e in a.g)return a.g[e];var f=a.b,g=f.createProgram();f.attachShader(g,rq(a,c));f.attachShader(g,rq(a,d));f.linkProgram(g);return a.g[e]=g}l.Nm=function(){Sb(this.a);Sb(this.j);Sb(this.g);this.l=this.C=this.f=this.i=null};l.Om=function(){};
l.je=function(a){if(a==this.i)return!1;this.b.useProgram(a);this.i=a;return!0};function tq(a,c,d){var e=a.createTexture();a.bindTexture(a.TEXTURE_2D,e);a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MAG_FILTER,a.LINEAR);a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MIN_FILTER,a.LINEAR);void 0!==c&&a.texParameteri(3553,10242,c);void 0!==d&&a.texParameteri(3553,10243,d);return e}function qq(a,c,d){var e=tq(a,void 0,void 0);a.texImage2D(a.TEXTURE_2D,0,a.RGBA,c,d,0,a.RGBA,a.UNSIGNED_BYTE,null);return e}
function uq(a,c){var d=tq(a,33071,33071);a.texImage2D(a.TEXTURE_2D,0,a.RGBA,a.RGBA,a.UNSIGNED_BYTE,c);return d};function vq(a,c){this.N=this.B=void 0;this.C=ge(c);this.u=[];this.j=[];this.ka=void 0;this.g=[];this.f=[];this.T=this.I=void 0;this.a=[];this.ca=this.l=null;this.X=void 0;this.lb=Ed();this.mb=Ed();this.da=this.$=void 0;this.nb=Ed();this.ra=this.Ma=this.fa=void 0;this.Na=[];this.i=[];this.b=[];this.v=null;this.c=[];this.A=[];this.wa=void 0}w(vq,ek);
function wq(a,c){var d=a.v,e=a.l,f=a.Na,g=a.i,h=c.b;return function(){if(!h.isContextLost()){var a,m;a=0;for(m=f.length;a<m;++a)h.deleteTexture(f[a]);a=0;for(m=g.length;a<m;++a)h.deleteTexture(g[a])}oq(c,d);oq(c,e)}}
function xq(a,c,d,e){var f=a.B,g=a.N,h=a.ka,k=a.I,m=a.T,n=a.X,p=a.$,q=a.da,r=a.fa?1:0,u=a.Ma,y=a.ra,A=a.wa,F=Math.cos(u),u=Math.sin(u),z=a.a.length,x=a.b.length,K,J,I,N,va,Ra;for(K=0;K<d;K+=e)va=c[K]-a.C[0],Ra=c[K+1]-a.C[1],J=x/8,I=-y*f,N=-y*(h-g),a.b[x++]=va,a.b[x++]=Ra,a.b[x++]=I*F-N*u,a.b[x++]=I*u+N*F,a.b[x++]=p/m,a.b[x++]=(q+h)/k,a.b[x++]=n,a.b[x++]=r,I=y*(A-f),N=-y*(h-g),a.b[x++]=va,a.b[x++]=Ra,a.b[x++]=I*F-N*u,a.b[x++]=I*u+N*F,a.b[x++]=(p+A)/m,a.b[x++]=(q+h)/k,a.b[x++]=n,a.b[x++]=r,I=y*(A-f),
N=y*g,a.b[x++]=va,a.b[x++]=Ra,a.b[x++]=I*F-N*u,a.b[x++]=I*u+N*F,a.b[x++]=(p+A)/m,a.b[x++]=q/k,a.b[x++]=n,a.b[x++]=r,I=-y*f,N=y*g,a.b[x++]=va,a.b[x++]=Ra,a.b[x++]=I*F-N*u,a.b[x++]=I*u+N*F,a.b[x++]=p/m,a.b[x++]=q/k,a.b[x++]=n,a.b[x++]=r,a.a[z++]=J,a.a[z++]=J+1,a.a[z++]=J+2,a.a[z++]=J,a.a[z++]=J+2,a.a[z++]=J+3}vq.prototype.ob=function(a,c){this.c.push(this.a.length);this.A.push(c);var d=a.o;xq(this,d,d.length,a.G)};
vq.prototype.pb=function(a,c){this.c.push(this.a.length);this.A.push(c);var d=a.o;xq(this,d,d.length,a.G)};function yq(a,c){var d=c.b;a.u.push(a.a.length);a.j.push(a.a.length);a.v=new lq(a.b);nq(c,34962,a.v);a.l=new lq(a.a);nq(c,34963,a.l);var e={};zq(a.Na,a.g,e,d);zq(a.i,a.f,e,d);a.B=void 0;a.N=void 0;a.ka=void 0;a.g=null;a.f=null;a.I=void 0;a.T=void 0;a.a=null;a.X=void 0;a.$=void 0;a.da=void 0;a.fa=void 0;a.Ma=void 0;a.ra=void 0;a.b=null;a.wa=void 0}
function zq(a,c,d,e){var f,g,h,k=c.length;for(h=0;h<k;++h)f=c[h],g=v(f).toString(),g in d?f=d[g]:(f=uq(e,f),d[g]=f),a[h]=f}
function Aq(a,c,d,e,f,g,h,k,m,n,p){var q=c.b;nq(c,34962,a.v);nq(c,34963,a.l);var r=iq.Bb(),u=jq.Bb(),u=sq(c,r,u);a.ca?r=a.ca:(r=new kq(q,u),a.ca=r);c.je(u);q.enableVertexAttribArray(r.f);q.vertexAttribPointer(r.f,2,5126,!1,32,0);q.enableVertexAttribArray(r.b);q.vertexAttribPointer(r.b,2,5126,!1,32,8);q.enableVertexAttribArray(r.g);q.vertexAttribPointer(r.g,2,5126,!1,32,16);q.enableVertexAttribArray(r.a);q.vertexAttribPointer(r.a,1,5126,!1,32,24);q.enableVertexAttribArray(r.c);q.vertexAttribPointer(r.c,
1,5126,!1,32,28);u=a.nb;kk(u,0,0,2/(e*g[0]),2/(e*g[1]),-f,-(d[0]-a.C[0]),-(d[1]-a.C[1]));d=a.mb;e=2/g[0];g=2/g[1];Gd(d);d[0]=e;d[5]=g;d[10]=1;d[15]=1;g=a.lb;Gd(g);0!==f&&Ld(g,-f);q.uniformMatrix4fv(r.i,!1,u);q.uniformMatrix4fv(r.C,!1,d);q.uniformMatrix4fv(r.l,!1,g);q.uniform1f(r.j,h);var y;if(void 0===m)Bq(a,q,c,k,a.Na,a.u);else{if(n)a:{f=c.c?5125:5123;c=c.c?4:2;g=a.c.length-1;for(h=a.i.length-1;0<=h;--h)for(q.bindTexture(3553,a.i[h]),n=0<h?a.j[h-1]:0,u=a.j[h];0<=g&&a.c[g]>=n;){y=a.c[g];d=a.A[g];
e=v(d).toString();if(void 0===k[e]&&d.V()&&(void 0===p||ke(p,d.V().R()))&&(q.clear(q.COLOR_BUFFER_BIT|q.DEPTH_BUFFER_BIT),q.drawElements(4,u-y,f,y*c),u=m(d))){a=u;break a}u=y;g--}a=void 0}else q.clear(q.COLOR_BUFFER_BIT|q.DEPTH_BUFFER_BIT),Bq(a,q,c,k,a.i,a.j),a=(a=m(null))?a:void 0;y=a}q.disableVertexAttribArray(r.f);q.disableVertexAttribArray(r.b);q.disableVertexAttribArray(r.g);q.disableVertexAttribArray(r.a);q.disableVertexAttribArray(r.c);return y}
function Bq(a,c,d,e,f,g){var h=d.c?5125:5123;d=d.c?4:2;if(Rb(e)){var k;a=0;e=f.length;for(k=0;a<e;++a){c.bindTexture(3553,f[a]);var m=g[a];c.drawElements(4,m-k,h,k*d);k=m}}else{k=0;var n,m=0;for(n=f.length;m<n;++m){c.bindTexture(3553,f[m]);for(var p=0<m?g[m-1]:0,q=g[m],r=p;k<a.c.length&&a.c[k]<=q;){var u=v(a.A[k]).toString();void 0!==e[u]?(r!==p&&c.drawElements(4,p-r,h,r*d),p=r=k===a.c.length-1?q:a.c[k+1]):p=k===a.c.length-1?q:a.c[k+1];k++}r!==p&&c.drawElements(4,p-r,h,r*d)}}}
vq.prototype.bb=function(a){var c=a.Ab(),d=a.Jb(1),e=a.Cd(),f=a.ce(1),g=a.v,h=a.ta(),k=a.B,m=a.C,n=a.kb();a=a.A;var p;0===this.g.length?this.g.push(d):(p=this.g[this.g.length-1],v(p)!=v(d)&&(this.u.push(this.a.length),this.g.push(d)));0===this.f.length?this.f.push(f):(p=this.f[this.f.length-1],v(p)!=v(f)&&(this.j.push(this.a.length),this.f.push(f)));this.B=c[0];this.N=c[1];this.ka=n[1];this.I=e[1];this.T=e[0];this.X=g;this.$=h[0];this.da=h[1];this.Ma=m;this.fa=k;this.ra=a;this.wa=n[0]};
function Cq(a,c,d){this.f=c;this.g=a;this.c=d;this.a={}}function Dq(a,c){var d=[],e;for(e in a.a)d.push(wq(a.a[e],c));return ve.apply(null,d)}function Eq(a,c){for(var d in a.a)yq(a.a[d],c)}Cq.prototype.b=function(a,c){var d=this.a[c];void 0===d&&(d=new Fq[c](this.g,this.f),this.a[c]=d);return d};Cq.prototype.ya=function(){return Rb(this.a)};function Gq(a,c,d,e,f,g,h,k,m,n){var p=Hq,q,r;for(q=Dm.length-1;0<=q;--q)if(r=a.a[Dm[q]],void 0!==r&&(r=Aq(r,c,d,e,f,p,g,h,k,m,n)))return r}
function Iq(a,c,d,e,f,g,h,k){var m=d.b;m.bindFramebuffer(m.FRAMEBUFFER,pq(d));var n;void 0!==a.c&&(n=Rd(Yd(c),e*a.c));return Gq(a,d,c,e,f,g,h,function(a){var c=new Uint8Array(4);m.readPixels(0,0,1,1,m.RGBA,m.UNSIGNED_BYTE,c);if(0<c[3]&&(a=k(a)))return a},!0,n)}function Jq(a,c,d,e,f,g,h){var k=d.b;k.bindFramebuffer(k.FRAMEBUFFER,pq(d));return void 0!==Gq(a,d,c,e,f,g,h,function(){var a=new Uint8Array(4);k.readPixels(0,0,1,1,k.RGBA,k.UNSIGNED_BYTE,a);return 0<a[3]},!1)}var Fq={Image:vq},Hq=[1,1];function Kq(a,c,d,e,f,g){this.a=a;this.g=c;this.f=g;this.l=f;this.i=e;this.j=d;this.c=null;this.b={}}w(Kq,ek);l=Kq.prototype;l.oc=function(a,c){var d=a.toString(),e=this.b[d];void 0!==e?e.push(c):this.b[d]=[c]};l.pc=function(){};l.Je=function(a,c){var d=(0,c.g)(a);if(d&&ke(this.f,d.R())){var e=c.b;void 0===e&&(e=0);this.oc(e,function(a){a.Ia(c.f,c.c);a.bb(c.j);a.Ja(c.a);var e=Lq[d.W()];e&&e.call(a,d,null)})}};
l.xd=function(a,c){var d=a.f,e,f;e=0;for(f=d.length;e<f;++e){var g=d[e],h=Lq[g.W()];h&&h.call(this,g,c)}};l.pb=function(a,c){var d=this.a,e=(new Cq(1,this.f)).b(0,"Image");e.bb(this.c);e.pb(a,c);yq(e,d);Aq(e,this.a,this.g,this.j,this.i,this.l,1,{},void 0,!1);wq(e,d)()};l.yb=function(){};l.qc=function(){};l.ob=function(a,c){var d=this.a,e=(new Cq(1,this.f)).b(0,"Image");e.bb(this.c);e.ob(a,c);yq(e,d);Aq(e,this.a,this.g,this.j,this.i,this.l,1,{},void 0,!1);wq(e,d)()};l.rc=function(){};l.Pb=function(){};
l.qb=function(){};l.Ia=function(){};l.bb=function(a){this.c=a};l.Ja=function(){};var Lq={Point:Kq.prototype.pb,MultiPoint:Kq.prototype.ob,GeometryCollection:Kq.prototype.xd};function Mq(){this.b="precision mediump float;varying vec2 a;uniform float f;uniform sampler2D g;void main(void){vec4 texColor=texture2D(g,a);gl_FragColor.rgb=texColor.rgb;gl_FragColor.a=texColor.a*f;}"}w(Mq,gq);ea(Mq);function Nq(){this.b="varying vec2 a;attribute vec2 b;attribute vec2 c;uniform mat4 d;uniform mat4 e;void main(void){gl_Position=e*vec4(b,0.,1.);a=(d*vec4(c,0.,1.)).st;}"}w(Nq,hq);ea(Nq);
function Oq(a,c){this.c=a.getUniformLocation(c,"f");this.f=a.getUniformLocation(c,"e");this.j=a.getUniformLocation(c,"d");this.g=a.getUniformLocation(c,"g");this.b=a.getAttribLocation(c,"b");this.a=a.getAttribLocation(c,"c")};function Pq(a,c){nk.call(this,c);this.c=a;this.T=new lq([-1,-1,0,0,1,-1,1,0,-1,1,0,1,1,1,1,1]);this.g=this.Ua=null;this.j=void 0;this.C=Cd();this.v=Ed();this.A=null}w(Pq,nk);
function Qq(a,c,d){var e=a.c.c;if(void 0===a.j||a.j!=d){c.postRenderFunctions.push(ra(function(a,c,d){a.isContextLost()||(a.deleteFramebuffer(c),a.deleteTexture(d))},e,a.g,a.Ua));c=qq(e,d,d);var f=e.createFramebuffer();e.bindFramebuffer(36160,f);e.framebufferTexture2D(36160,36064,3553,c,0);a.Ua=c;a.g=f;a.j=d}else e.bindFramebuffer(36160,a.g)}
Pq.prototype.Ag=function(a,c,d){Rq(this,"precompose",d,a);nq(d,34962,this.T);var e=d.b,f=Mq.Bb(),g=Nq.Bb(),f=sq(d,f,g);this.A?g=this.A:this.A=g=new Oq(e,f);d.je(f)&&(e.enableVertexAttribArray(g.b),e.vertexAttribPointer(g.b,2,5126,!1,16,0),e.enableVertexAttribArray(g.a),e.vertexAttribPointer(g.a,2,5126,!1,16,8),e.uniform1i(g.g,0));e.uniformMatrix4fv(g.j,!1,this.C);e.uniformMatrix4fv(g.f,!1,this.v);e.uniform1f(g.c,c.opacity);e.bindTexture(3553,this.Ua);e.drawArrays(5,0,4);Rq(this,"postcompose",d,a)};
function Rq(a,c,d,e){a=a.a;if(fd(a,c)){var f=e.viewState;C(a,new fk(c,a,new Kq(d,f.center,f.resolution,f.rotation,e.size,e.extent),e,null,d))}}Pq.prototype.gf=function(){this.g=this.Ua=null;this.j=void 0};function Sq(a,c){Pq.call(this,a,c);this.l=this.i=this.f=null}w(Sq,Pq);function Tq(a,c){var d=c.b();return uq(a.c.c,d)}Sq.prototype.Ta=function(a,c,d,e){var f=this.a;return f.ea().be(a,c.viewState.resolution,c.viewState.rotation,c.skippedFeatureUids,function(a){return d.call(e,a,f)})};
Sq.prototype.hf=function(a,c){var d=this.c.c,e=a.pixelRatio,f=a.viewState,g=f.center,h=f.resolution,k=f.rotation,m=this.f,n=this.Ua,p=this.a.ea(),q=a.viewHints,r=a.extent;void 0!==c.extent&&(r=je(r,c.extent));q[0]||q[1]||me(r)||(f=f.projection,(q=p.i)&&(f=q),(r=p.cc(r,h,e,f))&&pk(this,r)&&(m=r,n=Tq(this,r),this.Ua&&a.postRenderFunctions.push(ra(function(a,c){a.isContextLost()||a.deleteTexture(c)},d,this.Ua))));m&&(d=this.c.g.A,Uq(this,d.width,d.height,e,g,h,k,m.R()),this.l=null,e=this.C,Gd(e),Kd(e,
1,-1),Jd(e,0,-1),this.f=m,this.Ua=n,rk(a.attributions,m.j),sk(a,p));return!0};function Uq(a,c,d,e,f,g,h,k){c*=g;d*=g;a=a.v;Gd(a);Kd(a,2*e/c,2*e/d);Ld(a,-h);Jd(a,k[0]-f[0],k[1]-f[1]);Kd(a,(k[2]-k[0])/2,(k[3]-k[1])/2);Jd(a,1,1)}Sq.prototype.$d=function(a,c){return void 0!==this.Ta(a,c,re,this)};
Sq.prototype.bc=function(a,c,d,e){if(this.f&&this.f.b())if(this.a.ea()instanceof Rp){if(a=a.slice(),mk(c.pixelToCoordinateMatrix,a,a),this.Ta(a,c,re,this))return d.call(e,this.a)}else{var f=[this.f.b().width,this.f.b().height];if(!this.l){var g=c.size;c=Cd();Gd(c);Jd(c,-1,-1);Kd(c,2/g[0],2/g[1]);Jd(c,0,g[1]);Kd(c,1,-1);g=Cd();Id(this.v,g);var h=Cd();Gd(h);Jd(h,0,f[1]);Kd(h,1,-1);Kd(h,f[0]/2,f[1]/2);Jd(h,1,1);var k=Cd();Hd(h,g,k);Hd(k,c,k);this.l=k}c=[0,0];mk(this.l,a,c);if(!(0>c[0]||c[0]>f[0]||0>
c[1]||c[1]>f[1])&&(this.i||(this.i=Ri(1,1)),this.i.clearRect(0,0,1,1),this.i.drawImage(this.f.b(),c[0],c[1],1,1,0,0,1,1),0<this.i.getImageData(0,0,1,1).data[3]))return d.call(e,this.a)}};function Vq(){this.b="precision mediump float;varying vec2 a;uniform sampler2D e;void main(void){gl_FragColor=texture2D(e,a);}"}w(Vq,gq);ea(Vq);function Wq(){this.b="varying vec2 a;attribute vec2 b;attribute vec2 c;uniform vec4 d;void main(void){gl_Position=vec4(b*d.xy+d.zw,0.,1.);a=c;}"}w(Wq,hq);ea(Wq);function Xq(a,c){this.c=a.getUniformLocation(c,"e");this.f=a.getUniformLocation(c,"d");this.b=a.getAttribLocation(c,"b");this.a=a.getAttribLocation(c,"c")};function Yq(a,c){Pq.call(this,a,c);this.N=Vq.Bb();this.X=Wq.Bb();this.f=null;this.B=new lq([0,0,0,1,1,0,1,1,0,1,0,0,1,1,1,0]);this.u=this.i=null;this.l=-1;this.I=[0,0]}w(Yq,Pq);l=Yq.prototype;l.Y=function(){oq(this.c.g,this.B);Yq.ba.Y.call(this)};l.wd=function(a,c){var d=this.c;return function(e,f){return Sh(a,e,f,function(a){var f=xh(d.a,a.jb());f&&(c[e]||(c[e]={}),c[e][a.b.toString()]=a);return f})}};l.gf=function(){Yq.ba.gf.call(this);this.f=null};
l.hf=function(a,c,d){var e=this.c,f=d.b,g=a.viewState,h=g.projection,k=this.a,m=k.ea(),n=Th(m,h),p=Nh(n,g.resolution),q=n.aa(p),r=m.Tb(p,a.pixelRatio,h),u=r[0]/pd(n.Ka(p),this.I)[0],y=q/u,A=m.Bd(),F=g.center,z;q==g.resolution?(F=uk(F,q,a.size),z=he(F,q,g.rotation,a.size)):z=a.extent;q=Lh(n,z,q);if(this.i&&ng(this.i,q)&&this.l==m.b)y=this.u;else{var x=[pg(q),og(q)],K=Math.pow(2,Math.ceil(Math.log(Math.max(x[0]*r[0],x[1]*r[1]))/Math.LN2)),x=y*K,J=n.ta(p),I=J[0]+q.b*r[0]*y,y=J[1]+q.a*r[1]*y,y=[I,y,I+
x,y+x];Qq(this,a,K);f.viewport(0,0,K,K);f.clearColor(0,0,0,0);f.clear(16384);f.disable(3042);K=sq(d,this.N,this.X);d.je(K);this.f||(this.f=new Xq(f,K));nq(d,34962,this.B);f.enableVertexAttribArray(this.f.b);f.vertexAttribPointer(this.f.b,2,5126,!1,16,0);f.enableVertexAttribArray(this.f.a);f.vertexAttribPointer(this.f.a,2,5126,!1,16,8);f.uniform1i(this.f.c,0);d={};d[p]={};var N=this.wd(m,d),va=k.c(),K=!0,I=Nd(),Ra=new mg(0,0,0,0),M,Ia,pb;for(Ia=q.b;Ia<=q.f;++Ia)for(pb=q.a;pb<=q.c;++pb){J=m.Sb(p,Ia,
pb,u,h);if(void 0!==c.extent&&(M=Jh(n,J.b,I),!ke(M,c.extent)))continue;M=J.state;if(2==M){if(xh(e.a,J.jb())){d[p][fg(J.b)]=J;continue}}else if(4==M||3==M&&!va)continue;K=!1;M=Ih(n,J.b,N,Ra,I);M||(J=Kh(n,J.b,Ra,I))&&N(p+1,J)}c=Object.keys(d).map(Number);kb(c);for(var N=new Float32Array(4),Ma,Eb,$a,va=0,Ra=c.length;va<Ra;++va)for(Ma in Eb=d[c[va]],Eb)J=Eb[Ma],M=Jh(n,J.b,I),Ia=2*(M[2]-M[0])/x,pb=2*(M[3]-M[1])/x,$a=2*(M[0]-y[0])/x-1,M=2*(M[1]-y[1])/x-1,Bd(N,Ia,pb,$a,M),f.uniform4fv(this.f.f,N),Zq(e,J,
r,A*u),f.drawArrays(5,0,4);K?(this.i=q,this.u=y,this.l=m.b):(this.u=this.i=null,this.l=-1,a.animate=!0)}tk(a.usedTiles,m,p,q);var Ec=e.l;vk(a,m,n,u,h,z,p,k.a(),function(a){var c;(c=2!=a.state||xh(e.a,a.jb()))||(c=a.jb()in Ec.c);c||wk(Ec,[a,hg(n,a.b),n.aa(a.b[0]),r,A*u])},this);qk(a,m);sk(a,m);f=this.C;Gd(f);Jd(f,(F[0]-y[0])/(y[2]-y[0]),(F[1]-y[1])/(y[3]-y[1]));0!==g.rotation&&Ld(f,g.rotation);Kd(f,a.size[0]*g.resolution/(y[2]-y[0]),a.size[1]*g.resolution/(y[3]-y[1]));Jd(f,-.5,-.5);return!0};
l.bc=function(a,c,d,e){if(this.g){var f=[0,0];mk(this.C,[a[0]/c.size[0],(c.size[1]-a[1])/c.size[1]],f);a=[f[0]*this.j,f[1]*this.j];c=this.c.g.b;c.bindFramebuffer(c.FRAMEBUFFER,this.g);f=new Uint8Array(4);c.readPixels(a[0],a[1],1,1,c.RGBA,c.UNSIGNED_BYTE,f);if(0<f[3])return d.call(e,this.a)}};function $q(a,c){Pq.call(this,a,c);this.l=!1;this.I=-1;this.N=NaN;this.u=Nd();this.i=this.f=this.B=null}w($q,Pq);l=$q.prototype;l.Ag=function(a,c,d){this.i=c;var e=a.viewState,f=this.f;if(f&&!f.ya()){var g=e.center,h=e.resolution,e=e.rotation,k=a.size,m=c.opacity;a=c.Fb?a.skippedFeatureUids:{};var n,p;c=0;for(n=Dm.length;c<n;++c)p=f.a[Dm[c]],void 0!==p&&Aq(p,d,g,h,e,k,m,a,void 0,!1)}};l.Y=function(){var a=this.f;a&&(Dq(a,this.c.g)(),this.f=null);$q.ba.Y.call(this)};
l.Ta=function(a,c,d,e){if(this.f&&this.i){var f=c.viewState,g=this.a,h=this.i,k={};return Iq(this.f,a,this.c.g,f.resolution,f.rotation,h.opacity,h.Fb?c.skippedFeatureUids:{},function(a){var c=v(a).toString();if(!(c in k))return k[c]=!0,d.call(e,a,g)})}};l.$d=function(a,c){if(this.f&&this.i){var d=c.viewState;return Jq(this.f,a,this.c.g,d.resolution,d.rotation,this.i.opacity,c.skippedFeatureUids)}return!1};
l.bc=function(a,c,d,e){a=a.slice();mk(c.pixelToCoordinateMatrix,a,a);if(this.$d(a,c))return d.call(e,this.a)};l.Dl=function(){ok(this)};
l.hf=function(a,c,d){function e(a){var c,d=a.c;d?c=d.call(a,n):(d=f.c)&&(c=d(a,n));if(c){if(c){var e,g=!1,d=0;for(e=c.length;d<e;++d)g=pn(r,a,c[d],on(n,p),this.Dl,this)||g;a=g}else a=!1;this.l=this.l||a}}var f=this.a;c=f.ea();rk(a.attributions,c.j);sk(a,c);var g=a.viewHints[0],h=a.viewHints[1],k=f.B,m=f.N;if(!this.l&&!k&&g||!m&&h)return!0;var h=a.extent,k=a.viewState,g=k.projection,n=k.resolution,p=a.pixelRatio,k=f.b,q=f.a,m=f.get("renderOrder");void 0===m&&(m=nn);h=Rd(h,q*n);if(!this.l&&this.N==
n&&this.I==k&&this.B==m&&Wd(this.u,h))return!0;this.f&&a.postRenderFunctions.push(Dq(this.f,d));this.l=!1;var r=new Cq(.5*n/p,h,f.a);c.Wb(h,n,g);if(m){var u=[];c.zb(h,n,function(a){u.push(a)},this);kb(u,m);u.forEach(e,this)}else c.zb(h,n,e,this);Eq(r,d);this.N=n;this.I=k;this.B=m;this.u=h;this.f=r;return!0};function ar(a,c){Ck.call(this,0,c);this.b=Pg("CANVAS");this.b.style.width="100%";this.b.style.height="100%";this.b.className="ol-unselectable";Sg(a,this.b,0);this.u=this.B=0;this.N=Ri();this.C=!0;this.c=Xi(this.b,{antialias:!0,depth:!1,failIfMajorPerformanceCaveat:!0,preserveDrawingBuffer:!1,stencil:!0});this.g=new mq(this.b,this.c);B(this.b,"webglcontextlost",this.Bl,!1,this);B(this.b,"webglcontextrestored",this.Cl,!1,this);this.a=new wh;this.v=null;this.l=new Hk(qa(function(a){var c=a[1];a=a[2];
var f=c[0]-this.v[0],c=c[1]-this.v[1];return 65536*Math.log(a)+Math.sqrt(f*f+c*c)/a},this),function(a){return a[0].jb()});this.I=qa(function(){if(!this.l.ya()){Lk(this.l);var a=Ik(this.l);Zq(this,a[0],a[3],a[4])}},this);this.i=0;br(this)}w(ar,Ck);
function Zq(a,c,d,e){var f=a.c,g=c.jb();if(xh(a.a,g))a=a.a.get(g),f.bindTexture(3553,a.Ua),9729!=a.gg&&(f.texParameteri(3553,10240,9729),a.gg=9729),9729!=a.hg&&(f.texParameteri(3553,10240,9729),a.hg=9729);else{var h=f.createTexture();f.bindTexture(3553,h);if(0<e){var k=a.N.canvas,m=a.N;a.B!==d[0]||a.u!==d[1]?(k.width=d[0],k.height=d[1],a.B=d[0],a.u=d[1]):m.clearRect(0,0,d[0],d[1]);m.drawImage(c.Qa(),e,e,d[0],d[1],0,0,d[0],d[1]);f.texImage2D(3553,0,6408,6408,5121,k)}else f.texImage2D(3553,0,6408,6408,
5121,c.Qa());f.texParameteri(3553,10240,9729);f.texParameteri(3553,10241,9729);f.texParameteri(3553,10242,33071);f.texParameteri(3553,10243,33071);a.a.set(g,{Ua:h,gg:9729,hg:9729})}}l=ar.prototype;l.Ie=function(a){return a instanceof jm?new Sq(this,a):a instanceof G?new Yq(this,a):a instanceof H?new $q(this,a):null};
function cr(a,c,d){var e=a.j;if(fd(e,c)){var f=a.g;a=d.viewState;a=new Kq(f,a.center,a.resolution,a.rotation,d.size,d.extent);C(e,new fk(c,e,a,d,null,f));c=Object.keys(a.b).map(Number);kb(c);var g,h;d=0;for(e=c.length;d<e;++d)for(f=a.b[c[d].toString()],g=0,h=f.length;g<h;++g)f[g](a)}}l.Y=function(){var a=this.c;a.isContextLost()||this.a.forEach(function(c){c&&a.deleteTexture(c.Ua)});vc(this.g);ar.ba.Y.call(this)};
l.ui=function(a,c){for(var d=this.c,e;1024<this.a.Qb()-this.i;){if(e=this.a.b.kc)d.deleteTexture(e.Ua);else if(+this.a.b.Rd==c.index)break;else--this.i;this.a.pop()}};l.W=function(){return"webgl"};l.Bl=function(a){a.preventDefault();this.a.clear();this.i=0;Jb(this.f,function(a){a.gf()})};l.Cl=function(){br(this);this.j.render()};function br(a){a=a.c;a.activeTexture(33984);a.blendFuncSeparate(770,771,1,771);a.disable(2884);a.disable(2929);a.disable(3089);a.disable(2960)}
l.pe=function(a){var c=this.g,d=this.c;if(d.isContextLost())return!1;if(!a)return this.C&&(nh(this.b,!1),this.C=!1),!1;this.v=a.focus;this.a.set((-a.index).toString(),null);++this.i;cr(this,"precompose",a);var e=[],f=a.layerStatesArray;mb(f);var g=a.viewState.resolution,h,k,m,n;h=0;for(k=f.length;h<k;++h)n=f[h],hk(n,g)&&"ready"==n.v&&(m=Fk(this,n.layer),m.hf(a,n,c)&&e.push(n));f=a.size[0]*a.pixelRatio;g=a.size[1]*a.pixelRatio;if(this.b.width!=f||this.b.height!=g)this.b.width=f,this.b.height=g;d.bindFramebuffer(36160,
null);d.clearColor(0,0,0,0);d.clear(16384);d.enable(3042);d.viewport(0,0,this.b.width,this.b.height);h=0;for(k=e.length;h<k;++h)n=e[h],m=Fk(this,n.layer),m.Ag(a,n,c);this.C||(nh(this.b,!0),this.C=!0);Dk(a);1024<this.a.Qb()-this.i&&a.postRenderFunctions.push(qa(this.ui,this));this.l.ya()||(a.postRenderFunctions.push(this.I),a.animate=!0);cr(this,"postcompose",a);Gk(this,a);a.postRenderFunctions.push(Ek)};
l.ff=function(a,c,d,e,f,g){var h;if(this.c.isContextLost())return!1;var k=c.viewState,m=c.layerStatesArray,n;for(n=m.length-1;0<=n;--n){h=m[n];var p=h.layer;if(hk(h,k.resolution)&&f.call(g,p)&&(h=Fk(this,p).Ta(a,c,d,e)))return h}};l.zg=function(a,c,d,e){var f=!1;if(this.c.isContextLost())return!1;var g=c.viewState,h=c.layerStatesArray,k;for(k=h.length-1;0<=k;--k){var m=h[k],n=m.layer;if(hk(m,g.resolution)&&d.call(e,n)&&(f=Fk(this,n).$d(a,c)))return!0}return f};
l.yg=function(a,c,d,e,f){if(this.c.isContextLost())return!1;var g=c.viewState,h,k=c.layerStatesArray,m;for(m=k.length-1;0<=m;--m){h=k[m];var n=h.layer;if(hk(h,g.resolution)&&f.call(e,n)&&(h=Fk(this,n).bc(a,c,d,e)))return h}};var dr=["canvas","webgl","dom"];
function W(a){jd.call(this);var c=er(a);this.nb=void 0!==a.loadTilesWhileAnimating?a.loadTilesWhileAnimating:!1;this.lc=void 0!==a.loadTilesWhileInteracting?a.loadTilesWhileInteracting:!1;this.Ic=void 0!==a.pixelRatio?a.pixelRatio:Zi;this.mc=c.logos;this.A=new ki(this.Hn,void 0,this);uc(this,this.A);this.lb=Cd();this.ze=Cd();this.mb=0;this.c=null;this.wa=Nd();this.u=this.I=null;this.a=Mg("DIV","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.a="none";dj&&ah(this.a,"ol-touch");this.fa=Mg("DIV","ol-overlaycontainer");this.a.appendChild(this.fa);this.B=Mg("DIV","ol-overlaycontainer-stopevent");B(this.B,["click","dblclick","mousedown","touchstart","MSPointerDown",Yj,bc?"DOMMouseScroll":"mousewheel"],xc);this.a.appendChild(this.B);a=new Qj(this);B(a,Mb(bk),this.$f,!1,this);uc(this,a);this.$=c.keyboardEventTarget;this.v=new Ci;B(this.v,"key",this.Zf,!1,this);uc(this,
this.v);a=new Ki(this.a);B(a,"mousewheel",this.Zf,!1,this);uc(this,a);this.g=c.controls;this.f=c.interactions;this.j=c.overlays;this.i=new c.Jn(this.a,this);uc(this,this.i);this.Na=new xi;uc(this,this.Na);this.T=this.l=null;this.N=[];this.ra=[];this.da=new Mk(qa(this.nj,this),qa(this.Ik,this));this.X={};B(this,ld("layergroup"),this.Bj,!1,this);B(this,ld("view"),this.Wj,!1,this);B(this,ld("size"),this.Tj,!1,this);B(this,ld("target"),this.Vj,!1,this);this.H(c.values);this.g.forEach(function(a){a.setMap(this)},
this);B(this.g,"add",function(a){a.element.setMap(this)},!1,this);B(this.g,"remove",function(a){a.element.setMap(null)},!1,this);this.f.forEach(function(a){a.setMap(this)},this);B(this.f,"add",function(a){a.element.setMap(this)},!1,this);B(this.f,"remove",function(a){a.element.setMap(null)},!1,this);this.j.forEach(function(a){a.setMap(this)},this);B(this.j,"add",function(a){a.element.setMap(this)},!1,this);B(this.j,"remove",function(a){a.element.setMap(null)},!1,this)}w(W,jd);l=W.prototype;l.hi=function(a){this.g.push(a)};
l.ii=function(a){this.f.push(a)};l.Kf=function(a){this.Rb().xc().push(a)};l.Lf=function(a){this.j.push(a)};l.Aa=function(a){this.render();Array.prototype.push.apply(this.N,arguments)};l.Y=function(){Tg(this.a);W.ba.Y.call(this)};l.Wc=function(a,c,d,e,f){if(this.c)return a=this.xa(a),this.i.ff(a,this.c,c,void 0!==d?d:null,void 0!==e?e:re,void 0!==f?f:null)};l.Hk=function(a,c,d,e,f){if(this.c)return this.i.yg(a,this.c,c,void 0!==d?d:null,void 0!==e?e:re,void 0!==f?f:null)};
l.Yj=function(a,c,d){if(!this.c)return!1;a=this.xa(a);return this.i.zg(a,this.c,void 0!==c?c:re,void 0!==d?d:null)};l.Ji=function(a){return this.xa(this.zd(a))};l.zd=function(a){var c;c=this.a;a=kh(a);c=kh(c);c=new Dg(a.x-c.x,a.y-c.y);return[c.x,c.y]};l.bf=function(){return this.get("target")};l.uc=function(){var a=this.bf();return void 0!==a?Ig(a):null};l.xa=function(a){var c=this.c;return c?(a=a.slice(),mk(c.pixelToCoordinateMatrix,a,a)):null};l.Hi=function(){return this.g};l.cj=function(){return this.j};
l.Ri=function(){return this.f};l.Rb=function(){return this.get("layergroup")};l.ng=function(){return this.Rb().xc()};l.Ba=function(a){var c=this.c;return c?(a=a.slice(0,2),mk(c.coordinateToPixelMatrix,a,a)):null};l.Ea=function(){return this.get("size")};l.Z=function(){return this.get("view")};l.pj=function(){return this.a};
l.nj=function(a,c,d,e){var f=this.c;if(!(f&&c in f.wantedTiles&&f.wantedTiles[c][fg(a.b)]))return Infinity;a=d[0]-f.focus[0];d=d[1]-f.focus[1];return 65536*Math.log(e)+Math.sqrt(a*a+d*d)/e};l.Zf=function(a,c){var d=new Oj(c||a.type,this,a);this.$f(d)};l.$f=function(a){if(this.c){this.T=a.coordinate;a.frameState=this.c;var c=this.f.a,d;if(!1!==C(this,a))for(d=c.length-1;0<=d;d--){var e=c[d];if(e.c()&&!e.handleEvent(a))break}}};
l.Rj=function(){var a=this.c,c=this.da;if(!c.ya()){var d=16,e=d,f=0;a&&(f=a.viewHints,f[0]&&(d=this.nb?8:0,e=2),f[1]&&(d=this.lc?8:0,e=2),f=Lb(a.wantedTiles));d*=f;e*=f;c.f<d&&(Lk(c),Nk(c,d,e))}c=this.ra;d=0;for(e=c.length;d<e;++d)c[d](this,a);c.length=0};l.Tj=function(){this.render()};l.Vj=function(){var a=this.uc();Ji(this.v);a?(a.appendChild(this.a),Di(this.v,this.$?this.$:a),this.l||(this.l=B(this.Na,"resize",this.Fc,!1,this))):(Tg(this.a),this.l&&($c(this.l),this.l=null));this.Fc()};l.Ik=function(){this.render()};
l.Xj=function(){this.render()};l.Wj=function(){this.I&&($c(this.I),this.I=null);var a=this.Z();a&&(this.I=B(a,"propertychange",this.Xj,!1,this));this.render()};l.Cj=function(){this.render()};l.Dj=function(){this.render()};l.Bj=function(){this.u&&(this.u.forEach($c),this.u=null);var a=this.Rb();a&&(this.u=[B(a,"propertychange",this.Dj,!1,this),B(a,"change",this.Cj,!1,this)]);this.render()};l.In=function(){var a=this.A;li(a);a.f()};l.render=function(){null!=this.A.ha||this.A.start()};l.Bn=function(a){return this.g.remove(a)};
l.Cn=function(a){return this.f.remove(a)};l.En=function(a){return this.Rb().xc().remove(a)};l.Fn=function(a){return this.j.remove(a)};
l.Hn=function(a){var c,d,e,f=this.Ea(),g=this.Z(),h=null;if(void 0!==f&&0<f[0]&&0<f[1]&&g&&Tf(g)){var h=g.c.slice(),k=this.Rb().Te(),m={};c=0;for(d=k.length;c<d;++c)m[v(k[c].layer)]=k[c];e=Sf(g);h={animate:!1,attributions:{},coordinateToPixelMatrix:this.lb,extent:null,focus:this.T?this.T:e.center,index:this.mb++,layerStates:m,layerStatesArray:k,logos:Vb(this.mc),pixelRatio:this.Ic,pixelToCoordinateMatrix:this.ze,postRenderFunctions:[],size:f,skippedFeatureUids:this.X,tileQueue:this.da,time:a,usedTiles:{},
viewState:e,viewHints:h,wantedTiles:{}}}if(h){a=this.N;c=f=0;for(d=a.length;c<d;++c)g=a[c],g(this,h)&&(a[f++]=g);a.length=f;h.extent=he(e.center,e.resolution,e.rotation,h.size)}this.c=h;this.i.pe(h);h&&(h.animate&&this.render(),Array.prototype.push.apply(this.ra,h.postRenderFunctions),0!==this.N.length||h.viewHints[0]||h.viewHints[1]||Zd(h.extent,this.wa)||(C(this,new uh("moveend",this,h)),Sd(h.extent,this.wa)));C(this,new uh("postrender",this,h));pi(this.Rj,this)};
l.ih=function(a){this.set("layergroup",a)};l.vf=function(a){this.set("size",a)};l.Jk=function(a){this.set("target",a)};l.Yn=function(a){this.set("view",a)};l.nh=function(a){a=v(a).toString();this.X[a]=!0;this.render()};
l.Fc=function(){var a=this.uc();if(a){var c=Hg(a),d=$b&&a.currentStyle;d&&Xg(Fg(c))&&"auto"!=d.width&&"auto"!=d.height&&!d.boxSizing?(c=oh(a,d.width,"width","pixelWidth"),a=oh(a,d.height,"height","pixelHeight"),a=new Eg(c,a)):(d=new Eg(a.offsetWidth,a.offsetHeight),c=qh(a,"padding"),a=th(a),a=new Eg(d.width-a.left-c.left-c.right-a.right,d.height-a.top-c.top-c.bottom-a.bottom));this.vf([a.width,a.height])}else this.vf(void 0)};l.qh=function(a){a=v(a).toString();delete this.X[a];this.render()};
function er(a){var c=null;void 0!==a.keyboardEventTarget&&(c=ia(a.keyboardEventTarget)?document.getElementById(a.keyboardEventTarget):a.keyboardEventTarget);var d={},e={};if(void 0===a.logo||"boolean"==typeof a.logo&&a.logo)e["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/";else{var f=a.logo;ia(f)?e[f]="":la(f)&&(e[f.src]=f.href)}f=a.layers instanceof bm?a.layers:new bm({layers:a.layers});d.layergroup=f;d.target=a.target;d.view=void 0!==a.view?a.view:new Of;var f=Ck,g;void 0!==a.renderer?ga(a.renderer)?g=a.renderer:ia(a.renderer)&&(g=[a.renderer]):g=dr;var h,k;h=0;for(k=g.length;h<k;++h){var m=g[h];if("canvas"==m){if(aj){f=Wp;break}}else if("dom"==m){f=dq;break}else if("webgl"==m&&Yi){f=ar;break}}var n;void 0!==a.controls?n=ga(a.controls)?new tg(a.controls.slice()):
a.controls:n=bi();var p;void 0!==a.interactions?p=ga(a.interactions)?new tg(a.interactions.slice()):a.interactions:p=am();a=void 0!==a.overlays?ga(a.overlays)?new tg(a.overlays.slice()):a.overlays:new tg;return{controls:n,interactions:p,keyboardEventTarget:c,logos:e,overlays:a,Jn:f,values:d}}im();function fr(a){jd.call(this);this.i=void 0!==a.insertFirst?a.insertFirst:!0;this.l=void 0!==a.stopEvent?a.stopEvent:!0;this.c=Mg("DIV",{"class":"ol-overlay-container"});this.c.style.position="absolute";this.autoPan=void 0!==a.autoPan?a.autoPan:!1;this.g=void 0!==a.autoPanAnimation?a.autoPanAnimation:{};this.j=void 0!==a.autoPanMargin?a.autoPanMargin:20;this.a={sd:"",Sd:"",qe:"",re:"",visible:!0};this.f=null;B(this,ld("element"),this.xj,!1,this);B(this,ld("map"),this.Ij,!1,this);B(this,ld("offset"),
this.Nj,!1,this);B(this,ld("position"),this.Pj,!1,this);B(this,ld("positioning"),this.Qj,!1,this);void 0!==a.element&&this.fh(a.element);this.kh(void 0!==a.offset?a.offset:[0,0]);this.lh(void 0!==a.positioning?a.positioning:"top-left");void 0!==a.position&&this.cf(a.position)}w(fr,jd);l=fr.prototype;l.Vd=function(){return this.get("element")};l.Wd=function(){return this.get("map")};l.Wf=function(){return this.get("offset")};l.og=function(){return this.get("position")};l.Xf=function(){return this.get("positioning")};
l.xj=function(){Rg(this.c);var a=this.Vd();a&&Qg(this.c,a)};l.Ij=function(){this.f&&(Tg(this.c),$c(this.f),this.f=null);var a=this.Wd();a&&(this.f=B(a,"postrender",this.render,!1,this),gr(this),a=this.l?a.B:a.fa,this.i?Sg(a,this.c,0):Qg(a,this.c))};l.render=function(){gr(this)};l.Nj=function(){gr(this)};
l.Pj=function(){gr(this);if(void 0!==this.get("position")&&this.autoPan){var a=this.Wd();if(void 0!==a&&a.uc()){var c=hr(a.uc(),a.Ea()),d=this.Vd(),e=d.offsetWidth,f=d.currentStyle||window.getComputedStyle(d),e=e+(parseInt(f.marginLeft,10)+parseInt(f.marginRight,10)),f=d.offsetHeight,g=d.currentStyle||window.getComputedStyle(d),f=f+(parseInt(g.marginTop,10)+parseInt(g.marginBottom,10)),h=hr(d,[e,f]),d=this.j;Wd(c,h)||(e=h[0]-c[0],f=c[2]-h[2],g=h[1]-c[1],h=c[3]-h[3],c=[0,0],0>e?c[0]=e-d:0>f&&(c[0]=
Math.abs(f)+d),0>g?c[1]=g-d:0>h&&(c[1]=Math.abs(h)+d),0===c[0]&&0===c[1])||(d=a.Z().Fa(),e=a.Ba(d),c=[e[0]+c[0],e[1]+c[1]],this.g&&(this.g.source=d,a.Aa($f(this.g))),a.Z().Ra(a.xa(c)))}}};l.Qj=function(){gr(this)};l.fh=function(a){this.set("element",a)};l.setMap=function(a){this.set("map",a)};l.kh=function(a){this.set("offset",a)};l.cf=function(a){this.set("position",a)};
function hr(a,c){var d=Hg(a),e=new Dg(0,0),f;f=d?Hg(d):document;f=!$b||9<=nc||Xg(Fg(f))?f.documentElement:f.body;a!=f&&(f=jh(a),d=Yg(Fg(d)),e.x=f.left+d.x,e.y=f.top+d.y);return[e.x,e.y,e.x+c[0],e.y+c[1]]}l.lh=function(a){this.set("positioning",a)};function ir(a,c){a.a.visible!==c&&(nh(a.c,c),a.a.visible=c)}
function gr(a){var c=a.Wd(),d=a.og();if(void 0!==c&&c.c&&void 0!==d){var d=c.Ba(d),e=c.Ea(),c=a.c.style,f=a.Wf(),g=a.Xf(),h=f[0],f=f[1];if("bottom-right"==g||"center-right"==g||"top-right"==g)""!==a.a.Sd&&(a.a.Sd=c.left=""),h=Math.round(e[0]-d[0]-h)+"px",a.a.qe!=h&&(a.a.qe=c.right=h);else{""!==a.a.qe&&(a.a.qe=c.right="");if("bottom-center"==g||"center-center"==g||"top-center"==g)h-=lh(a.c).width/2;h=Math.round(d[0]+h)+"px";a.a.Sd!=h&&(a.a.Sd=c.left=h)}if("bottom-left"==g||"bottom-center"==g||"bottom-right"==
g)""!==a.a.re&&(a.a.re=c.top=""),d=Math.round(e[1]-d[1]-f)+"px",a.a.sd!=d&&(a.a.sd=c.bottom=d);else{""!==a.a.sd&&(a.a.sd=c.bottom="");if("center-left"==g||"center-center"==g||"center-right"==g)f-=lh(a.c).height/2;d=Math.round(d[1]+f)+"px";a.a.re!=d&&(a.a.re=c.top=d)}ir(a,!0)}else ir(a,!1)};function jr(a){a=a?a:{};this.j=void 0!==a.collapsed?a.collapsed:!0;this.i=void 0!==a.collapsible?a.collapsible:!0;this.i||(this.j=!1);var c=a.className?a.className:"ol-overviewmap",d=a.tipLabel?a.tipLabel:"Overview map",e=a.collapseLabel?a.collapseLabel:"\u00ab";this.v=ia(e)?Mg("SPAN",{},e):e;e=a.label?a.label:"\u00bb";this.u=ia(e)?Mg("SPAN",{},e):e;d=Mg("BUTTON",{type:"button",title:d},this.i&&!this.j?this.v:this.u);B(d,"click",this.Tk,!1,this);var e=Mg("DIV","ol-overviewmap-map"),f=this.f=new W({controls:new tg,
interactions:new tg,target:e,view:a.view});a.layers&&a.layers.forEach(function(a){f.Kf(a)},this);var g=Mg("DIV","ol-overviewmap-box");this.l=new fr({position:[0,0],positioning:"bottom-left",element:g});this.f.Lf(this.l);c=Mg("DIV",c+" ol-unselectable ol-control"+(this.j&&this.i?" ol-collapsed":"")+(this.i?"":" ol-uncollapsible"),e,d);vh.call(this,{element:c,render:a.render?a.render:kr,target:a.target})}w(jr,vh);l=jr.prototype;
l.setMap=function(a){var c=this.a;a!==c&&(c&&(c=c.Z())&&Zc(c,ld("rotation"),this.Md,!1,this),jr.ba.setMap.call(this,a),a&&(this.A.push(B(a,"propertychange",this.Jj,!1,this)),0===this.f.ng().Gb()&&this.f.ih(a.Rb()),a=a.Z()))&&(B(a,ld("rotation"),this.Md,!1,this),Tf(a)&&(this.f.Fc(),lr(this)))};l.Jj=function(a){"view"===a.key&&((a=a.oldValue)&&Zc(a,ld("rotation"),this.Md,!1,this),a=this.a.Z(),B(a,ld("rotation"),this.Md,!1,this))};l.Md=function(){this.f.Z().Xd(this.a.Z().va())};
function kr(){var a=this.a,c=this.f;if(a.c&&c.c){var d=a.Ea(),a=a.Z().Kc(d),e=c.Ea(),d=c.Z().Kc(e),f=c.Ba(fe(a)),c=c.Ba(de(a)),c=new Eg(Math.abs(f[0]-c[0]),Math.abs(f[1]-c[1])),f=e[0],e=e[1];c.width<.1*f||c.height<.1*e||c.width>.75*f||c.height>.75*e?lr(this):Wd(d,a)||(a=this.f,d=this.a.Z(),a.Z().Ra(d.Fa()))}mr(this)}function lr(a){var c=a.a;a=a.f;var d=c.Ea(),c=c.Z().Kc(d),d=a.Ea();a=a.Z();ne(c,1/(.1*Math.pow(2,Math.log(7.5)/Math.LN2/2)));a.Ke(c,d)}
function mr(a){var c=a.a,d=a.f;if(c.c&&d.c){var e=c.Ea(),f=c.Z(),g=d.Z();d.Ea();var c=f.va(),h=a.l,d=a.l.Vd(),f=f.Kc(e),e=g.aa(),g=ce(f),f=ee(f),k;if(a=a.a.Z().Fa())k=[g[0]-a[0],g[1]-a[1]],vd(k,c),qd(k,a);h.cf(k);d&&(k=new Eg(Math.abs((g[0]-f[0])/e),Math.abs((f[1]-g[1])/e)),c=Xg(Fg(Hg(d))),!$b||lc("10")||c&&lc("8")?(d=d.style,bc?d.MozBoxSizing="border-box":cc?d.WebkitBoxSizing="border-box":d.boxSizing="border-box",d.width=Math.max(k.width,0)+"px",d.height=Math.max(k.height,0)+"px"):(a=d.style,c?(c=
qh(d,"padding"),d=th(d),a.pixelWidth=k.width-d.left-c.left-c.right-d.right,a.pixelHeight=k.height-d.top-c.top-c.bottom-d.bottom):(a.pixelWidth=k.width,a.pixelHeight=k.height)))}}l.Tk=function(a){a.preventDefault();nr(this)};function nr(a){ch(a.element,"ol-collapsed");a.j?Ug(a.v,a.u):Ug(a.u,a.v);a.j=!a.j;var c=a.f;a.j||c.c||(c.Fc(),lr(a),Yc(c,"postrender",function(){mr(this)},!1,a))}l.Sk=function(){return this.i};
l.Vk=function(a){this.i!==a&&(this.i=a,ch(this.element,"ol-uncollapsible"),!a&&this.j&&nr(this))};l.Uk=function(a){this.i&&this.j!==a&&nr(this)};l.Rk=function(){return this.j};function or(a){a=a?a:{};var c=a.className?a.className:"ol-scale-line";this.l=Mg("DIV",c+"-inner");this.i=Mg("DIV",c+" ol-unselectable",this.l);this.u=null;this.v=void 0!==a.minWidth?a.minWidth:64;this.f=!1;this.I=void 0;this.B="";this.j=null;vh.call(this,{element:this.i,render:a.render?a.render:pr,target:a.target});B(this,ld("units"),this.$,!1,this);this.X(a.units||"metric")}w(or,vh);var qr=[1,2,5];or.prototype.N=function(){return this.get("units")};
function pr(a){(a=a.frameState)?this.u=a.viewState:this.u=null;rr(this)}or.prototype.$=function(){rr(this)};or.prototype.X=function(a){this.set("units",a)};
function rr(a){var c=a.u;if(c){var d=c.center,e=c.projection,c=e.getPointResolution(c.resolution,d),f=e.a,g=a.N();"degrees"!=f||"metric"!=g&&"imperial"!=g&&"us"!=g&&"nautical"!=g?"degrees"!=f&&"degrees"==g?(a.j||(a.j=Ge(e,Ce("EPSG:4326"))),d=Math.cos(yb(a.j(d)[1])),e=ye.radius,e/=ze[f],c*=180/(Math.PI*d*e)):a.j=null:(a.j=null,d=Math.cos(yb(d[1])),c*=Math.PI*d*ye.radius/180);d=a.v*c;f="";"degrees"==g?d<1/60?(f="\u2033",c*=3600):1>d?(f="\u2032",c*=60):f="\u00b0":"imperial"==g?.9144>d?(f="in",c/=.0254):
1609.344>d?(f="ft",c/=.3048):(f="mi",c/=1609.344):"nautical"==g?(c/=1852,f="nm"):"metric"==g?1>d?(f="mm",c*=1E3):1E3>d?f="m":(f="km",c/=1E3):"us"==g&&(.9144>d?(f="in",c*=39.37):1609.344>d?(f="ft",c/=.30480061):(f="mi",c/=1609.3472));for(d=3*Math.floor(Math.log(a.v*c)/Math.log(10));;){e=qr[d%3]*Math.pow(10,Math.floor(d/3));g=Math.round(e/c);if(isNaN(g)){nh(a.i,!1);a.f=!1;return}if(g>=a.v)break;++d}c=e+" "+f;a.B!=c&&(a.l.innerHTML=c,a.B=c);a.I!=g&&(a.l.style.width=g+"px",a.I=g);a.f||(nh(a.i,!0),a.f=
!0)}else a.f&&(nh(a.i,!1),a.f=!1)};function sr(a){rc.call(this);this.a=a;this.b={}}w(sr,rc);var tr=[];sr.prototype.Pa=function(a,c,d,e){ga(c)||(c&&(tr[0]=c.toString()),c=tr);for(var f=0;f<c.length;f++){var g=B(a,c[f],d||this.handleEvent,e||!1,this.a||this);if(!g)break;this.b[g.key]=g}return this};
sr.prototype.wf=function(a,c,d,e,f){if(ga(c))for(var g=0;g<c.length;g++)this.wf(a,c[g],d,e,f);else d=d||this.handleEvent,f=f||this.a||this,d=Sc(d),e=!!e,c=Gc(a)?Nc(a.fb,String(c),d,e,f):a?(a=Uc(a))?Nc(a,c,d,e,f):null:null,c&&($c(c),delete this.b[c.key]);return this};function ur(a){Jb(a.b,function(a,d){this.b.hasOwnProperty(d)&&$c(a)},a);a.b={}}sr.prototype.Y=function(){sr.ba.Y.call(this);ur(this)};sr.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};function vr(a,c,d){dd.call(this);this.target=a;this.handle=c||a;this.b=d||new eh(NaN,NaN,NaN,NaN);this.j=Hg(a);this.a=new sr(this);uc(this,this.a);this.g=this.f=this.C=this.l=this.screenY=this.screenX=this.clientY=this.clientX=0;this.c=!1;B(this.handle,["touchstart","mousedown"],this.oh,!1,this)}w(vr,dd);var wr=$b||bc&&lc("1.9.3");l=vr.prototype;
l.Y=function(){vr.ba.Y.call(this);Zc(this.handle,["touchstart","mousedown"],this.oh,!1,this);ur(this.a);wr&&this.j.releaseCapture();this.handle=this.target=null};
l.oh=function(a){var c="mousedown"==a.type;if(this.c||c&&!Dc(a))C(this,"earlycancel");else if(C(this,new xr("start",this,a.clientX,a.clientY))){this.c=!0;a.preventDefault();var c=this.j,d=c.documentElement,e=!wr;this.a.Pa(c,["touchmove","mousemove"],this.Mj,e);this.a.Pa(c,["touchend","mouseup"],this.yd,e);wr?(d.setCapture(!1),this.a.Pa(d,"losecapture",this.yd)):this.a.Pa(c?c.parentWindow||c.defaultView:window,"blur",this.yd);this.A&&this.a.Pa(this.A,"scroll",this.Tm,e);this.clientX=this.l=a.clientX;
this.clientY=this.C=a.clientY;this.screenX=a.screenX;this.screenY=a.screenY;this.f=this.target.offsetLeft;this.g=this.target.offsetTop;this.i=Yg(Fg(this.j))}};l.yd=function(a){ur(this.a);wr&&this.j.releaseCapture();this.c?(this.c=!1,C(this,new xr("end",this,a.clientX,a.clientY,0,yr(this,this.f),zr(this,this.g)))):C(this,"earlycancel")};
l.Mj=function(a){var c=1*(a.clientX-this.clientX),d=a.clientY-this.clientY;this.clientX=a.clientX;this.clientY=a.clientY;this.screenX=a.screenX;this.screenY=a.screenY;if(!this.c){var e=this.l-this.clientX,f=this.C-this.clientY;if(0<e*e+f*f)if(C(this,new xr("start",this,a.clientX,a.clientY)))this.c=!0;else{this.ca||this.yd(a);return}}d=Ar(this,c,d);c=d.x;d=d.y;this.c&&C(this,new xr("beforedrag",this,a.clientX,a.clientY,0,c,d))&&(Br(this,a,c,d),a.preventDefault())};
function Ar(a,c,d){var e=Yg(Fg(a.j));c+=e.x-a.i.x;d+=e.y-a.i.y;a.i=e;a.f+=c;a.g+=d;return new Dg(yr(a,a.f),zr(a,a.g))}l.Tm=function(a){var c=Ar(this,0,0);a.clientX=this.clientX;a.clientY=this.clientY;Br(this,a,c.x,c.y)};function Br(a,c,d,e){a.target.style.left=d+"px";a.target.style.top=e+"px";C(a,new xr("drag",a,c.clientX,c.clientY,0,d,e))}function yr(a,c){var d=a.b,e=isNaN(d.left)?null:d.left,d=isNaN(d.width)?0:d.width;return Math.min(null!=e?e+d:Infinity,Math.max(null!=e?e:-Infinity,c))}
function zr(a,c){var d=a.b,e=isNaN(d.top)?null:d.top,d=isNaN(d.height)?0:d.height;return Math.min(null!=e?e+d:Infinity,Math.max(null!=e?e:-Infinity,c))}function xr(a,c,d,e,f,g,h){wc.call(this,a);this.clientX=d;this.clientY=e;this.left=ca(g)?g:c.f;this.top=ca(h)?h:c.g}w(xr,wc);function Cr(a){a=a?a:{};this.j=void 0;this.i=Dr;this.l=null;this.u=!1;this.v=a.duration?a.duration:200;var c=a.className?a.className:"ol-zoomslider",d=Mg("DIV",[c+"-thumb","ol-unselectable"]),c=Mg("DIV",[c,"ol-unselectable","ol-control"],d);this.f=new vr(d);uc(this,this.f);B(this.f,"start",this.wj,!1,this);B(this.f,"drag",this.uj,!1,this);B(this.f,"end",this.vj,!1,this);B(c,"click",this.tj,!1,this);B(d,"click",xc);vh.call(this,{element:c,render:a.render?a.render:Er})}w(Cr,vh);var Dr=0;l=Cr.prototype;
l.setMap=function(a){Cr.ba.setMap.call(this,a);a&&a.render()};
function Er(a){if(a.frameState){if(!this.u){var c=this.element,d=lh(c),e=Vg(c),c=qh(e,"margin"),f=new Eg(e.offsetWidth,e.offsetHeight),e=f.width+c.right+c.left,c=f.height+c.top+c.bottom;this.l=[e,c];e=d.width-e;c=d.height-c;d.width>d.height?(this.i=1,d=new eh(0,0,e,0)):(this.i=Dr,d=new eh(0,0,0,c));this.f.b=d||new eh(NaN,NaN,NaN,NaN);this.u=!0}a=a.frameState.viewState.resolution;a!==this.j&&(this.j=a,a=1-Rf(this.a.Z())(a),d=this.f,c=Vg(this.element),1==this.i?hh(c,d.b.left+d.b.width*a):hh(c,d.b.left,
d.b.top+d.b.height*a))}}l.tj=function(a){var c=this.a,d=c.Z(),e=d.aa();c.Aa(bg({resolution:e,duration:this.v,easing:Wf}));a=Fr(this,Gr(this,a.offsetX-this.l[0]/2,a.offsetY-this.l[1]/2));d.wb(d.constrainResolution(a))};l.wj=function(){Uf(this.a.Z(),1)};l.uj=function(a){this.j=Fr(this,Gr(this,a.left,a.top));this.a.Z().wb(this.j)};l.vj=function(){var a=this.a,c=a.Z();Uf(c,-1);a.Aa(bg({resolution:this.j,duration:this.v,easing:Wf}));a=c.constrainResolution(this.j);c.wb(a)};
function Gr(a,c,d){var e=a.f.b;return Qa(1===a.i?(c-e.left)/e.width:(d-e.top)/e.height,0,1)}function Fr(a,c){return Qf(a.a.Z())(1-c)};function Hr(a){a=a?a:{};this.f=a.extent?a.extent:null;var c=a.className?a.className:"ol-zoom-extent",d=Mg("BUTTON",{type:"button",title:a.tipLabel?a.tipLabel:"Fit to extent"},a.label?a.label:"E");B(d,"click",this.j,!1,this);c=Mg("DIV",c+" ol-unselectable ol-control",d);vh.call(this,{element:c,target:a.target})}w(Hr,vh);Hr.prototype.j=function(a){a.preventDefault();var c=this.a;a=c.Z();var d=this.f?this.f:a.g.R(),c=c.Ea();a.Ke(d,c)};function Ir(a){jd.call(this);a=a?a:{};this.a=null;B(this,ld("tracking"),this.vk,!1,this);this.$e(void 0!==a.tracking?a.tracking:!1)}w(Ir,jd);l=Ir.prototype;l.Y=function(){this.$e(!1);Ir.ba.Y.call(this)};
l.Um=function(a){a=a.b;if(null!==a.alpha){var c=yb(a.alpha);this.set("alpha",c);"boolean"==typeof a.absolute&&a.absolute?this.set("heading",c):ja(a.webkitCompassHeading)&&-1!=a.webkitCompassAccuracy&&this.set("heading",yb(a.webkitCompassHeading))}null!==a.beta&&this.set("beta",yb(a.beta));null!==a.gamma&&this.set("gamma",yb(a.gamma));this.s()};l.Ci=function(){return this.get("alpha")};l.Fi=function(){return this.get("beta")};l.Ni=function(){return this.get("gamma")};l.uk=function(){return this.get("heading")};
l.jg=function(){return this.get("tracking")};l.vk=function(){if(bj){var a=this.jg();a&&!this.a?this.a=B(ba,"deviceorientation",this.Um,!1,this):!a&&this.a&&($c(this.a),this.a=null)}};l.$e=function(a){this.set("tracking",a)};function Jr(){this.defaultDataProjection=null}function Kr(a,c,d){var e;d&&(e={dataProjection:d.dataProjection?d.dataProjection:a.Ha(c),featureProjection:d.featureProjection});return Lr(a,e)}function Lr(a,c){var d;c&&(d={featureProjection:c.featureProjection,dataProjection:c.dataProjection?c.dataProjection:a.defaultDataProjection,rightHanded:c.rightHanded});return d}
function Mr(a,c,d){var e=d?Ce(d.featureProjection):null;d=d?Ce(d.dataProjection):null;return e&&d&&!Ue(e,d)?a instanceof Ze?(c?a.clone():a).Sa(c?e:d,c?d:e):Ye(c?a.slice():a,c?e:d,c?d:e):a};function Nr(){this.defaultDataProjection=null}w(Nr,Jr);function Or(a){return la(a)?a:ia(a)?(a=io(a))?a:null:null}l=Nr.prototype;l.W=function(){return"json"};l.vb=function(a,c){return this.Ac(Or(a),Kr(this,a,c))};l.sa=function(a,c){return this.of(Or(a),Kr(this,a,c))};l.Bc=function(a,c){return this.Rg(Or(a),Kr(this,a,c))};l.Ha=function(a){return this.Xg(Or(a))};l.kd=function(a,c){return jo(this.Gc(a,c))};l.xb=function(a,c){return jo(this.ue(a,c))};l.Hc=function(a,c){return jo(this.we(a,c))};function Pr(a){a=a?a:{};this.defaultDataProjection=null;this.b=a.geometryName}w(Pr,Nr);
function Qr(a,c){if(!a)return null;var d;if(ja(a.x)&&ja(a.y))d="Point";else if(a.points)d="MultiPoint";else if(a.paths)d=1===a.paths.length?"LineString":"MultiLineString";else if(a.rings){var e=a.rings,f=Rr(a),g=[];d=[];var h,k;h=0;for(k=e.length;h<k;++h){var m=rb(e[h]);Df(m,0,m.length,f.length)?g.push([e[h]]):d.push(e[h])}for(;d.length;){e=d.shift();f=!1;for(h=g.length-1;0<=h;h--)if(Wd((new tf(g[h][0])).R(),(new tf(e)).R())){g[h].push(e);f=!0;break}f||g.push([e.reverse()])}a=Vb(a);1===g.length?(d=
"Polygon",a.rings=g[0]):(d="MultiPolygon",a.rings=g)}return Mr((0,Sr[d])(a),!1,c)}function Rr(a){var c="XY";!0===a.hasZ&&!0===a.hasM?c="XYZM":!0===a.hasZ?c="XYZ":!0===a.hasM&&(c="XYM");return c}function Tr(a){a=a.a;return{hasZ:"XYZ"===a||"XYZM"===a,hasM:"XYM"===a||"XYZM"===a}}
var Sr={Point:function(a){return void 0!==a.m&&void 0!==a.z?new D([a.x,a.y,a.z,a.m],"XYZM"):void 0!==a.z?new D([a.x,a.y,a.z],"XYZ"):void 0!==a.m?new D([a.x,a.y,a.m],"XYM"):new D([a.x,a.y])},LineString:function(a){return new L(a.paths[0],Rr(a))},Polygon:function(a){return new E(a.rings,Rr(a))},MultiPoint:function(a){return new kn(a.points,Rr(a))},MultiLineString:function(a){return new O(a.paths,Rr(a))},MultiPolygon:function(a){return new P(a.rings,Rr(a))}},Ur={Point:function(a){var c=a.U();a=a.a;if("XYZ"===
a)return{x:c[0],y:c[1],z:c[2]};if("XYM"===a)return{x:c[0],y:c[1],m:c[2]};if("XYZM"===a)return{x:c[0],y:c[1],z:c[2],m:c[3]};if("XY"===a)return{x:c[0],y:c[1]}},LineString:function(a){var c=Tr(a);return{hasZ:c.hasZ,hasM:c.hasM,paths:[a.U()]}},Polygon:function(a){var c=Tr(a);return{hasZ:c.hasZ,hasM:c.hasM,rings:a.U(!1)}},MultiPoint:function(a){var c=Tr(a);return{hasZ:c.hasZ,hasM:c.hasM,points:a.U()}},MultiLineString:function(a){var c=Tr(a);return{hasZ:c.hasZ,hasM:c.hasM,paths:a.U()}},MultiPolygon:function(a){var c=
Tr(a);a=a.U(!1);for(var d=[],e=0;e<a.length;e++)for(var f=a[e].length-1;0<=f;f--)d.push(a[e][f]);return{hasZ:c.hasZ,hasM:c.hasM,rings:d}}};l=Pr.prototype;l.Ac=function(a,c){var d=Qr(a.geometry,c),e=new Q;this.b&&e.Dc(this.b);e.za(d);c&&c.Ve&&a.attributes[c.Ve]&&e.Mb(a.attributes[c.Ve]);a.attributes&&e.H(a.attributes);return e};
l.of=function(a,c){var d=c?c:{};if(a.features){var e=[],f=a.features,g,h;d.Ve=a.objectIdFieldName;g=0;for(h=f.length;g<h;++g)e.push(this.Ac(f[g],d));return e}return[this.Ac(a,d)]};l.Rg=function(a,c){return Qr(a,c)};l.Xg=function(a){return a.spatialReference&&a.spatialReference.wkid?Ce("EPSG:"+a.spatialReference.wkid):null};function Vr(a,c){return(0,Ur[a.W()])(Mr(a,!0,c),c)}l.we=function(a,c){return Vr(a,Lr(this,c))};
l.Gc=function(a,c){c=Lr(this,c);var d={},e=a.V();e&&(d.geometry=Vr(e,c));e=a.P();delete e[a.a];d.attributes=Rb(e)?{}:e;c&&c.featureProjection&&(d.spatialReference={wkid:Ce(c.featureProjection).b.split(":").pop()});return d};l.ue=function(a,c){c=Lr(this,c);var d=[],e,f;e=0;for(f=a.length;e<f;++e)d.push(this.Gc(a[e],c));return{features:d}};function Wr(a){a=a?a:{};this.defaultDataProjection=null;this.defaultDataProjection=Ce(a.defaultDataProjection?a.defaultDataProjection:"EPSG:4326");this.b=a.geometryName}w(Wr,Nr);function Xr(a,c){return a?Mr((0,Yr[a.type])(a),!1,c):null}function Zr(a,c){return(0,$r[a.W()])(Mr(a,!0,c),c)}
var Yr={Point:function(a){return new D(a.coordinates)},LineString:function(a){return new L(a.coordinates)},Polygon:function(a){return new E(a.coordinates)},MultiPoint:function(a){return new kn(a.coordinates)},MultiLineString:function(a){return new O(a.coordinates)},MultiPolygon:function(a){return new P(a.coordinates)},GeometryCollection:function(a,c){var d=a.geometries.map(function(a){return Xr(a,c)});return new $m(d)}},$r={Point:function(a){return{type:"Point",coordinates:a.U()}},LineString:function(a){return{type:"LineString",
coordinates:a.U()}},Polygon:function(a,c){var d;c&&(d=c.rightHanded);return{type:"Polygon",coordinates:a.U(d)}},MultiPoint:function(a){return{type:"MultiPoint",coordinates:a.U()}},MultiLineString:function(a){return{type:"MultiLineString",coordinates:a.U()}},MultiPolygon:function(a,c){var d;c&&(d=c.rightHanded);return{type:"MultiPolygon",coordinates:a.U(d)}},GeometryCollection:function(a,c){return{type:"GeometryCollection",geometries:a.f.map(function(a){return Zr(a,c)})}},Circle:function(){return{type:"GeometryCollection",
geometries:[]}}};l=Wr.prototype;l.Ac=function(a,c){var d=Xr(a.geometry,c),e=new Q;this.b&&e.Dc(this.b);e.za(d);a.id&&e.Mb(a.id);a.properties&&e.H(a.properties);return e};l.of=function(a,c){if("Feature"==a.type)return[this.Ac(a,c)];if("FeatureCollection"==a.type){var d=[],e=a.features,f,g;f=0;for(g=e.length;f<g;++f)d.push(this.Ac(e[f],c));return d}return[]};l.Rg=function(a,c){return Xr(a,c)};
l.Xg=function(a){return(a=a.crs)?"name"==a.type?Ce(a.properties.name):"EPSG"==a.type?Ce("EPSG:"+a.properties.code):null:this.defaultDataProjection};l.Gc=function(a,c){c=Lr(this,c);var d={type:"Feature"},e=a.ha;e&&(d.id=e);e=a.V();d.geometry=e?Zr(e,c):null;e=a.P();delete e[a.a];d.properties=Rb(e)?null:e;return d};l.ue=function(a,c){c=Lr(this,c);var d=[],e,f;e=0;for(f=a.length;e<f;++e)d.push(this.Gc(a[e],c));return{type:"FeatureCollection",features:d}};l.we=function(a,c){return Zr(a,Lr(this,c))};function as(){this.defaultDataProjection=null}w(as,Jr);l=as.prototype;l.W=function(){return"xml"};l.vb=function(a,c){if(ap(a))return bs(this,a,c);if(dp(a))return this.Pg(a,c);if(ia(a)){var d=np(a);return bs(this,d,c)}return null};function bs(a,c,d){a=cs(a,c,d);return 0<a.length?a[0]:null}l.sa=function(a,c){if(ap(a))return cs(this,a,c);if(dp(a))return this.Lb(a,c);if(ia(a)){var d=np(a);return cs(this,d,c)}return[]};
function cs(a,c,d){var e=[];for(c=c.firstChild;c;c=c.nextSibling)1==c.nodeType&&hb(e,a.Lb(c,d));return e}l.Bc=function(a,c){if(ap(a))return this.A(a,c);if(dp(a)){var d=this.le(a,[Kr(this,a,c?c:{})]);return d?d:null}return ia(a)?(d=np(a),this.A(d,c)):null};l.Ha=function(a){return ap(a)?this.sf(a):dp(a)?this.oe(a):ia(a)?(a=np(a),this.sf(a)):null};l.sf=function(){return this.defaultDataProjection};l.oe=function(){return this.defaultDataProjection};l.kd=function(a,c){var d=this.u(a,c);return No(d)};
l.xb=function(a,c){var d=this.a(a,c);return No(d)};l.Hc=function(a,c){var d=this.C(a,c);return No(d)};function ds(a){a=a?a:{};this.featureType=a.featureType;this.featureNS=a.featureNS;this.srsName=a.srsName;this.schemaLocation="";this.b={};this.b["http://www.opengis.net/gml"]={featureMember:qp(ds.prototype.fd),featureMembers:qp(ds.prototype.fd)};this.defaultDataProjection=null}w(ds,as);l=ds.prototype;
l.fd=function(a,c){var d=Yo(a),e;if("FeatureCollection"==d)"http://www.opengis.net/wfs"===a.namespaceURI?e=U([],this.b,a,c,this):e=U(null,this.b,a,c,this);else if("featureMembers"==d||"featureMember"==d){var f=c[0],g=f.featureType;e=f.featureNS;var h,k;if(!g&&a.childNodes){g=[];e={};h=0;for(k=a.childNodes.length;h<k;++h){var m=a.childNodes[h];if(1===m.nodeType){var n=m.nodeName.split(":").pop();if(-1===g.indexOf(n)){var p;Pb(e,m.namespaceURI)?p=Qb(e,function(a){return a===m.namespaceURI}):(p="p"+
Lb(e),e[p]=m.namespaceURI);g.push(p+":"+n)}}}f.featureType=g;f.featureNS=e}ia(e)&&(h=e,e={},e.p0=h);var f={},g=ga(g)?g:[g],q;for(q in e){n={};h=0;for(k=g.length;h<k;++h)(-1===g[h].indexOf(":")?"p0":g[h].split(":")[0])===q&&(n[g[h].split(":").pop()]="featureMembers"==d?pp(this.nf,this):qp(this.nf,this));f[e[q]]=n}e=U([],f,a,c)}e||(e=[]);return e};l.le=function(a,c){var d=c[0];d.srsName=a.firstElementChild.getAttribute("srsName");var e=U(null,this.Bf,a,c,this);if(e)return Mr(e,!1,d)};
l.nf=function(a,c){var d,e=a.getAttribute("fid")||hp(a,"http://www.opengis.net/gml","id"),f={},g;for(d=a.firstElementChild;d;d=d.nextElementSibling){var h=Yo(d);if(0===d.childNodes.length||1===d.childNodes.length&&(3===d.firstChild.nodeType||4===d.firstChild.nodeType)){var k=Uo(d,!1);/^[\s\xa0]*$/.test(k)&&(k=void 0);f[h]=k}else"boundedBy"!==h&&(g=h),f[h]=this.le(d,c)}d=new Q(f);g&&d.Dc(g);e&&d.Mb(e);return d};l.Wg=function(a,c){var d=this.ke(a,c);if(d){var e=new D(null);vf(e,"XYZ",d);return e}};
l.Ug=function(a,c){var d=U([],this.Lh,a,c,this);if(d)return new kn(d)};l.Tg=function(a,c){var d=U([],this.Kh,a,c,this);if(d){var e=new O(null);jn(e,d);return e}};l.Vg=function(a,c){var d=U([],this.Mh,a,c,this);if(d){var e=new P(null);mn(e,d);return e}};l.Mg=function(a,c){xp(this.Ph,a,c,this)};l.fg=function(a,c){xp(this.Ih,a,c,this)};l.Ng=function(a,c){xp(this.Qh,a,c,this)};l.me=function(a,c){var d=this.ke(a,c);if(d){var e=new L(null);gn(e,"XYZ",d);return e}};
l.mn=function(a,c){var d=U(null,this.md,a,c,this);if(d)return d};l.Sg=function(a,c){var d=this.ke(a,c);if(d){var e=new tf(null);uf(e,"XYZ",d);return e}};l.ne=function(a,c){var d=U([null],this.ye,a,c,this);if(d&&d[0]){var e=new E(null),f=d[0],g=[f.length],h,k;h=1;for(k=d.length;h<k;++h)hb(f,d[h]),g.push(f.length);Hf(e,"XYZ",f,g);return e}};l.ke=function(a,c){return U(null,this.md,a,c,this)};l.Lh=Object({"http://www.opengis.net/gml":{pointMember:pp(ds.prototype.Mg),pointMembers:pp(ds.prototype.Mg)}});
l.Kh=Object({"http://www.opengis.net/gml":{lineStringMember:pp(ds.prototype.fg),lineStringMembers:pp(ds.prototype.fg)}});l.Mh=Object({"http://www.opengis.net/gml":{polygonMember:pp(ds.prototype.Ng),polygonMembers:pp(ds.prototype.Ng)}});l.Ph=Object({"http://www.opengis.net/gml":{Point:pp(ds.prototype.ke)}});l.Ih=Object({"http://www.opengis.net/gml":{LineString:pp(ds.prototype.me)}});l.Qh=Object({"http://www.opengis.net/gml":{Polygon:pp(ds.prototype.ne)}});l.od=Object({"http://www.opengis.net/gml":{LinearRing:qp(ds.prototype.mn)}});
l.Lb=function(a,c){var d={featureType:this.featureType,featureNS:this.featureNS};c&&Yb(d,Kr(this,a,c));return this.fd(a,[d])};l.oe=function(a){return Ce(this.v?this.v:a.firstElementChild.getAttribute("srsName"))};function es(a){a=Uo(a,!1);return fs(a)}function fs(a){if(a=/^\s*(true|1)|(false|0)\s*$/.exec(a))return void 0!==a[1]||!1}
function gs(a){a=Uo(a,!1);if(a=/^\s*(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(Z|(?:([+\-])(\d{2})(?::(\d{2}))?))\s*$/.exec(a)){var c=Date.UTC(parseInt(a[1],10),parseInt(a[2],10)-1,parseInt(a[3],10),parseInt(a[4],10),parseInt(a[5],10),parseInt(a[6],10))/1E3;if("Z"!=a[7]){var d="-"==a[8]?-1:1,c=c+60*d*parseInt(a[9],10);void 0!==a[10]&&(c+=3600*d*parseInt(a[10],10))}return c}}function hs(a){a=Uo(a,!1);return is(a)}
function is(a){if(a=/^\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)\s*$/i.exec(a))return parseFloat(a[1])}function js(a){a=Uo(a,!1);return ks(a)}function ks(a){if(a=/^\s*(\d+)\s*$/.exec(a))return parseInt(a[1],10)}function X(a){return Uo(a,!1).trim()}function ls(a,c){ms(a,c?"1":"0")}function ns(a,c){a.appendChild(Qo.createTextNode(c.toPrecision()))}function os(a,c){a.appendChild(Qo.createTextNode(c.toString()))}function ms(a,c){a.appendChild(Qo.createTextNode(c))};function ps(a){a=a?a:{};ds.call(this,a);this.b["http://www.opengis.net/gml"].featureMember=pp(ds.prototype.fd);this.schemaLocation=a.schemaLocation?a.schemaLocation:"http://www.opengis.net/gml http://schemas.opengis.net/gml/2.1.2/feature.xsd"}w(ps,ds);l=ps.prototype;
l.Qg=function(a,c){var d=Uo(a,!1).replace(/^\s*|\s*$/g,""),e=c[0].srsName,f=a.parentNode.getAttribute("srsDimension"),g="enu";e&&(g=Fe(Ce(e)));d=d.split(/[\s,]+/);e=2;a.getAttribute("srsDimension")?e=ks(a.getAttribute("srsDimension")):a.getAttribute("dimension")?e=ks(a.getAttribute("dimension")):f&&(e=ks(f));for(var h,k,m=[],n=0,p=d.length;n<p;n+=e)f=parseFloat(d[n]),h=parseFloat(d[n+1]),k=3===e?parseFloat(d[n+2]):0,"en"===g.substr(0,2)?m.push(f,h,k):m.push(h,f,k);return m};
l.kn=function(a,c){var d=U([null],this.Eh,a,c,this);return Qd(d[1][0],d[1][1],d[1][3],d[1][4])};l.$j=function(a,c){var d=U(void 0,this.od,a,c,this);d&&c[c.length-1].push(d)};l.Vm=function(a,c){var d=U(void 0,this.od,a,c,this);d&&(c[c.length-1][0]=d)};l.md=Object({"http://www.opengis.net/gml":{coordinates:qp(ps.prototype.Qg)}});l.ye=Object({"http://www.opengis.net/gml":{innerBoundaryIs:ps.prototype.$j,outerBoundaryIs:ps.prototype.Vm}});l.Eh=Object({"http://www.opengis.net/gml":{coordinates:pp(ps.prototype.Qg)}});
l.Bf=Object({"http://www.opengis.net/gml":{Point:qp(ds.prototype.Wg),MultiPoint:qp(ds.prototype.Ug),LineString:qp(ds.prototype.me),MultiLineString:qp(ds.prototype.Tg),LinearRing:qp(ds.prototype.Sg),Polygon:qp(ds.prototype.ne),MultiPolygon:qp(ds.prototype.Vg),Box:qp(ps.prototype.kn)}});function qs(a){a=a?a:{};ds.call(this,a);this.l=void 0!==a.surface?a.surface:!1;this.g=void 0!==a.curve?a.curve:!1;this.j=void 0!==a.multiCurve?a.multiCurve:!0;this.i=void 0!==a.multiSurface?a.multiSurface:!0;this.schemaLocation=a.schemaLocation?a.schemaLocation:"http://www.opengis.net/gml http://schemas.opengis.net/gml/3.1.1/profiles/gmlsfProfile/1.0.0/gmlsf.xsd"}w(qs,ds);l=qs.prototype;l.qn=function(a,c){var d=U([],this.Jh,a,c,this);if(d){var e=new O(null);jn(e,d);return e}};
l.rn=function(a,c){var d=U([],this.Nh,a,c,this);if(d){var e=new P(null);mn(e,d);return e}};l.Of=function(a,c){xp(this.Fh,a,c,this)};l.ph=function(a,c){xp(this.Uh,a,c,this)};l.vn=function(a,c){return U([null],this.Oh,a,c,this)};l.xn=function(a,c){return U([null],this.Th,a,c,this)};l.wn=function(a,c){return U([null],this.ye,a,c,this)};l.pn=function(a,c){return U([null],this.md,a,c,this)};l.bk=function(a,c){var d=U(void 0,this.od,a,c,this);d&&c[c.length-1].push(d)};
l.vi=function(a,c){var d=U(void 0,this.od,a,c,this);d&&(c[c.length-1][0]=d)};l.Yg=function(a,c){var d=U([null],this.Vh,a,c,this);if(d&&d[0]){var e=new E(null),f=d[0],g=[f.length],h,k;h=1;for(k=d.length;h<k;++h)hb(f,d[h]),g.push(f.length);Hf(e,"XYZ",f,g);return e}};l.Og=function(a,c){var d=U([null],this.Gh,a,c,this);if(d){var e=new L(null);gn(e,"XYZ",d);return e}};l.ln=function(a,c){var d=U([null],this.Hh,a,c,this);return Qd(d[1][0],d[1][1],d[2][0],d[2][1])};
l.nn=function(a,c){for(var d=Uo(a,!1),e=/^\s*([+\-]?\d*\.?\d+(?:[eE][+\-]?\d+)?)\s*/,f=[],g;g=e.exec(d);)f.push(parseFloat(g[1])),d=d.substr(g[0].length);if(""===d){d=c[0].srsName;e="enu";d&&(e=Fe(Ce(d)));if("neu"===e)for(d=0,e=f.length;d<e;d+=3)g=f[d],f[d]=f[d+1],f[d+1]=g;d=f.length;2==d&&f.push(0);return 0===d?void 0:f}};
l.qf=function(a,c){var d=Uo(a,!1).replace(/^\s*|\s*$/g,""),e=c[0].srsName,f=a.parentNode.getAttribute("srsDimension"),g="enu";e&&(g=Fe(Ce(e)));d=d.split(/\s+/);e=2;a.getAttribute("srsDimension")?e=ks(a.getAttribute("srsDimension")):a.getAttribute("dimension")?e=ks(a.getAttribute("dimension")):f&&(e=ks(f));for(var h,k,m=[],n=0,p=d.length;n<p;n+=e)f=parseFloat(d[n]),h=parseFloat(d[n+1]),k=3===e?parseFloat(d[n+2]):0,"en"===g.substr(0,2)?m.push(f,h,k):m.push(h,f,k);return m};
l.md=Object({"http://www.opengis.net/gml":{pos:qp(qs.prototype.nn),posList:qp(qs.prototype.qf)}});l.ye=Object({"http://www.opengis.net/gml":{interior:qs.prototype.bk,exterior:qs.prototype.vi}});
l.Bf=Object({"http://www.opengis.net/gml":{Point:qp(ds.prototype.Wg),MultiPoint:qp(ds.prototype.Ug),LineString:qp(ds.prototype.me),MultiLineString:qp(ds.prototype.Tg),LinearRing:qp(ds.prototype.Sg),Polygon:qp(ds.prototype.ne),MultiPolygon:qp(ds.prototype.Vg),Surface:qp(qs.prototype.Yg),MultiSurface:qp(qs.prototype.rn),Curve:qp(qs.prototype.Og),MultiCurve:qp(qs.prototype.qn),Envelope:qp(qs.prototype.ln)}});l.Jh=Object({"http://www.opengis.net/gml":{curveMember:pp(qs.prototype.Of),curveMembers:pp(qs.prototype.Of)}});
l.Nh=Object({"http://www.opengis.net/gml":{surfaceMember:pp(qs.prototype.ph),surfaceMembers:pp(qs.prototype.ph)}});l.Fh=Object({"http://www.opengis.net/gml":{LineString:pp(ds.prototype.me),Curve:pp(qs.prototype.Og)}});l.Uh=Object({"http://www.opengis.net/gml":{Polygon:pp(ds.prototype.ne),Surface:pp(qs.prototype.Yg)}});l.Vh=Object({"http://www.opengis.net/gml":{patches:qp(qs.prototype.vn)}});l.Gh=Object({"http://www.opengis.net/gml":{segments:qp(qs.prototype.xn)}});
l.Hh=Object({"http://www.opengis.net/gml":{lowerCorner:pp(qs.prototype.qf),upperCorner:pp(qs.prototype.qf)}});l.Oh=Object({"http://www.opengis.net/gml":{PolygonPatch:qp(qs.prototype.wn)}});l.Th=Object({"http://www.opengis.net/gml":{LineStringSegment:qp(qs.prototype.pn)}});function rs(a,c,d){d=d[d.length-1].srsName;c=c.U();for(var e=c.length,f=Array(e),g,h=0;h<e;++h){g=c[h];var k=h,m="enu";d&&(m=Fe(Ce(d)));f[k]="en"===m.substr(0,2)?g[0]+" "+g[1]:g[1]+" "+g[0]}ms(a,f.join(" "))}
l.Ah=function(a,c,d){var e=d[d.length-1].srsName;e&&a.setAttribute("srsName",e);e=To(a.namespaceURI,"pos");a.appendChild(e);d=d[d.length-1].srsName;a="enu";d&&(a=Fe(Ce(d)));c=c.U();ms(e,"en"===a.substr(0,2)?c[0]+" "+c[1]:c[1]+" "+c[0])};var ss={"http://www.opengis.net/gml":{lowerCorner:S(ms),upperCorner:S(ms)}};l=qs.prototype;l.ko=function(a,c,d){var e=d[d.length-1].srsName;e&&a.setAttribute("srsName",e);yp({node:a},ss,vp,[c[0]+" "+c[1],c[2]+" "+c[3]],d,["lowerCorner","upperCorner"],this)};
l.xh=function(a,c,d){var e=d[d.length-1].srsName;e&&a.setAttribute("srsName",e);e=To(a.namespaceURI,"posList");a.appendChild(e);rs(e,c,d)};l.Sh=function(a,c){var d=c[c.length-1],e=d.node,f=d.exteriorWritten;void 0===f&&(d.exteriorWritten=!0);return To(e.namespaceURI,void 0!==f?"interior":"exterior")};
l.xe=function(a,c,d){var e=d[d.length-1].srsName;"PolygonPatch"!==a.nodeName&&e&&a.setAttribute("srsName",e);"Polygon"===a.nodeName||"PolygonPatch"===a.nodeName?(c=c.Dd(),yp({node:a,srsName:e},ts,this.Sh,c,d,void 0,this)):"Surface"===a.nodeName&&(e=To(a.namespaceURI,"patches"),a.appendChild(e),a=To(e.namespaceURI,"PolygonPatch"),e.appendChild(a),this.xe(a,c,d))};
l.se=function(a,c,d){var e=d[d.length-1].srsName;"LineStringSegment"!==a.nodeName&&e&&a.setAttribute("srsName",e);"LineString"===a.nodeName||"LineStringSegment"===a.nodeName?(e=To(a.namespaceURI,"posList"),a.appendChild(e),rs(e,c,d)):"Curve"===a.nodeName&&(e=To(a.namespaceURI,"segments"),a.appendChild(e),a=To(e.namespaceURI,"LineStringSegment"),e.appendChild(a),this.se(a,c,d))};
l.zh=function(a,c,d){var e=d[d.length-1],f=e.srsName,e=e.surface;f&&a.setAttribute("srsName",f);c=c.Fd();yp({node:a,srsName:f,surface:e},us,this.f,c,d,void 0,this)};l.lo=function(a,c,d){var e=d[d.length-1].srsName;e&&a.setAttribute("srsName",e);c=c.Yd();yp({node:a,srsName:e},vs,tp("pointMember"),c,d,void 0,this)};l.yh=function(a,c,d){var e=d[d.length-1],f=e.srsName,e=e.curve;f&&a.setAttribute("srsName",f);c=c.Xc();yp({node:a,srsName:f,curve:e},ws,this.f,c,d,void 0,this)};
l.Bh=function(a,c,d){var e=To(a.namespaceURI,"LinearRing");a.appendChild(e);this.xh(e,c,d)};l.Ch=function(a,c,d){var e=this.c(c,d);e&&(a.appendChild(e),this.xe(e,c,d))};l.mo=function(a,c,d){var e=To(a.namespaceURI,"Point");a.appendChild(e);this.Ah(e,c,d)};l.wh=function(a,c,d){var e=this.c(c,d);e&&(a.appendChild(e),this.se(e,c,d))};
l.ve=function(a,c,d){var e=d[d.length-1],f=Vb(e);f.node=a;var g;ga(c)?e.dataProjection?g=Ye(c,e.featureProjection,e.dataProjection):g=c:g=Mr(c,!0,e);yp(f,xs,this.c,[g],d,void 0,this)};
l.uh=function(a,c,d){var e=c.ha;e&&a.setAttribute("fid",e);var e=d[d.length-1],f=e.featureNS,g=c.a;e.fc||(e.fc={},e.fc[f]={});var h=c.P();c=[];var k=[],m;for(m in h){var n=h[m];null!==n&&(c.push(m),k.push(n),m==g||n instanceof Ze?m in e.fc[f]||(e.fc[f][m]=S(this.ve,this)):m in e.fc[f]||(e.fc[f][m]=S(ms)))}m=Vb(e);m.node=a;yp(m,e.fc,tp(void 0,f),k,d,c)};
var us={"http://www.opengis.net/gml":{surfaceMember:S(qs.prototype.Ch),polygonMember:S(qs.prototype.Ch)}},vs={"http://www.opengis.net/gml":{pointMember:S(qs.prototype.mo)}},ws={"http://www.opengis.net/gml":{lineStringMember:S(qs.prototype.wh),curveMember:S(qs.prototype.wh)}},ts={"http://www.opengis.net/gml":{exterior:S(qs.prototype.Bh),interior:S(qs.prototype.Bh)}},xs={"http://www.opengis.net/gml":{Curve:S(qs.prototype.se),MultiCurve:S(qs.prototype.yh),Point:S(qs.prototype.Ah),MultiPoint:S(qs.prototype.lo),
LineString:S(qs.prototype.se),MultiLineString:S(qs.prototype.yh),LinearRing:S(qs.prototype.xh),Polygon:S(qs.prototype.xe),MultiPolygon:S(qs.prototype.zh),Surface:S(qs.prototype.xe),MultiSurface:S(qs.prototype.zh),Envelope:S(qs.prototype.ko)}},ys={MultiLineString:"lineStringMember",MultiCurve:"curveMember",MultiPolygon:"polygonMember",MultiSurface:"surfaceMember"};qs.prototype.f=function(a,c){return To("http://www.opengis.net/gml",ys[c[c.length-1].node.nodeName])};
qs.prototype.c=function(a,c){var d=c[c.length-1],e=d.multiSurface,f=d.surface,g=d.curve,d=d.multiCurve,h;ga(a)?h="Envelope":(h=a.W(),"MultiPolygon"===h&&!0===e?h="MultiSurface":"Polygon"===h&&!0===f?h="Surface":"LineString"===h&&!0===g?h="Curve":"MultiLineString"===h&&!0===d&&(h="MultiCurve"));return To("http://www.opengis.net/gml",h)};
qs.prototype.C=function(a,c){c=Lr(this,c);var d=To("http://www.opengis.net/gml","geom"),e={node:d,srsName:this.srsName,curve:this.g,surface:this.l,multiSurface:this.i,multiCurve:this.j};c&&Yb(e,c);this.ve(d,a,[e]);return d};
qs.prototype.a=function(a,c){c=Lr(this,c);var d=To("http://www.opengis.net/gml","featureMembers");mp(d,"http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",this.schemaLocation);var e={srsName:this.srsName,curve:this.g,surface:this.l,multiSurface:this.i,multiCurve:this.j,featureNS:this.featureNS,featureType:this.featureType};c&&Yb(e,c);var e=[e],f=e[e.length-1],g=f.featureType,h=f.featureNS,k={};k[h]={};k[h][g]=S(this.uh,this);f=Vb(f);f.node=d;yp(f,k,tp(g,h),a,e);return d};function zs(a){a=a?a:{};this.defaultDataProjection=null;this.defaultDataProjection=Ce("EPSG:4326");this.b=a.readExtensions}w(zs,as);var As=[null,"http://www.topografix.com/GPX/1/0","http://www.topografix.com/GPX/1/1"];function Bs(a,c,d){a.push(parseFloat(c.getAttribute("lon")),parseFloat(c.getAttribute("lat")));"ele"in d?(a.push(d.ele),delete d.ele):a.push(0);"time"in d?(a.push(d.time),delete d.time):a.push(0);return a}
function Cs(a,c){var d=c[c.length-1],e=a.getAttribute("href");null!==e&&(d.link=e);xp(Ds,a,c)}function Es(a,c){c[c.length-1].extensionsNode_=a}function Fs(a,c){var d=c[0],e=U({flatCoordinates:[]},Gs,a,c);if(e){var f=e.flatCoordinates;delete e.flatCoordinates;var g=new L(null);gn(g,"XYZM",f);Mr(g,!1,d);d=new Q(g);d.H(e);return d}}
function Hs(a,c){var d=c[0],e=U({flatCoordinates:[],ends:[]},Is,a,c);if(e){var f=e.flatCoordinates;delete e.flatCoordinates;var g=e.ends;delete e.ends;var h=new O(null);hn(h,"XYZM",f,g);Mr(h,!1,d);d=new Q(h);d.H(e);return d}}function Js(a,c){var d=c[0],e=U({},Ks,a,c);if(e){var f=Bs([],a,e),f=new D(f,"XYZM");Mr(f,!1,d);d=new Q(f);d.H(e);return d}}
var Ls={rte:Fs,trk:Hs,wpt:Js},Ms=T(As,{rte:pp(Fs),trk:pp(Hs),wpt:pp(Js)}),Ds=T(As,{text:R(X,"linkText"),type:R(X,"linkType")}),Gs=T(As,{name:R(X),cmt:R(X),desc:R(X),src:R(X),link:Cs,number:R(js),extensions:Es,type:R(X),rtept:function(a,c){var d=U({},Ns,a,c);d&&Bs(c[c.length-1].flatCoordinates,a,d)}}),Ns=T(As,{ele:R(hs),time:R(gs)}),Is=T(As,{name:R(X),cmt:R(X),desc:R(X),src:R(X),link:Cs,number:R(js),type:R(X),extensions:Es,trkseg:function(a,c){var d=c[c.length-1];xp(Os,a,c);d.ends.push(d.flatCoordinates.length)}}),
Os=T(As,{trkpt:function(a,c){var d=U({},Ps,a,c);d&&Bs(c[c.length-1].flatCoordinates,a,d)}}),Ps=T(As,{ele:R(hs),time:R(gs)}),Ks=T(As,{ele:R(hs),time:R(gs),magvar:R(hs),geoidheight:R(hs),name:R(X),cmt:R(X),desc:R(X),src:R(X),link:Cs,sym:R(X),type:R(X),fix:R(X),sat:R(js),hdop:R(hs),vdop:R(hs),pdop:R(hs),ageofdgpsdata:R(hs),dgpsid:R(js),extensions:Es});
function Qs(a,c){c||(c=[]);for(var d=0,e=c.length;d<e;++d){var f=c[d];if(a.b){var g=f.get("extensionsNode_")||null;a.b(f,g)}f.set("extensionsNode_",void 0)}}zs.prototype.Pg=function(a,c){if(!sb(As,a.namespaceURI))return null;var d=Ls[a.localName];if(!d)return null;d=d(a,[Kr(this,a,c)]);if(!d)return null;Qs(this,[d]);return d};zs.prototype.Lb=function(a,c){if(!sb(As,a.namespaceURI))return[];if("gpx"==a.localName){var d=U([],Ms,a,[Kr(this,a,c)]);if(d)return Qs(this,d),d}return[]};
function Rs(a,c,d){a.setAttribute("href",c);c=d[d.length-1].properties;yp({node:a},Ss,vp,[c.linkText,c.linkType],d,Ts)}function Us(a,c,d){var e=d[d.length-1],f=e.node.namespaceURI,g=e.properties;mp(a,null,"lat",c[1]);mp(a,null,"lon",c[0]);switch(e.geometryLayout){case "XYZM":0!==c[3]&&(g.time=c[3]);case "XYZ":0!==c[2]&&(g.ele=c[2]);break;case "XYM":0!==c[2]&&(g.time=c[2])}c=Vs[f];e=wp(g,c);yp({node:a,properties:g},Ws,vp,e,d,c)}
var Ts=["text","type"],Ss=T(As,{text:S(ms),type:S(ms)}),Xs=T(As,"name cmt desc src link number type rtept".split(" ")),Ys=T(As,{name:S(ms),cmt:S(ms),desc:S(ms),src:S(ms),link:S(Rs),number:S(os),type:S(ms),rtept:sp(S(Us))}),Zs=T(As,"name cmt desc src link number type trkseg".split(" ")),bt=T(As,{name:S(ms),cmt:S(ms),desc:S(ms),src:S(ms),link:S(Rs),number:S(os),type:S(ms),trkseg:sp(S(function(a,c,d){yp({node:a,geometryLayout:c.a,properties:{}},$s,at,c.U(),d)}))}),at=tp("trkpt"),$s=T(As,{trkpt:S(Us)}),
Vs=T(As,"ele time magvar geoidheight name cmt desc src link sym type fix sat hdop vdop pdop ageofdgpsdata dgpsid".split(" ")),Ws=T(As,{ele:S(ns),time:S(function(a,c){var d=new Date(1E3*c),d=d.getUTCFullYear()+"-"+Na(d.getUTCMonth()+1)+"-"+Na(d.getUTCDate())+"T"+Na(d.getUTCHours())+":"+Na(d.getUTCMinutes())+":"+Na(d.getUTCSeconds())+"Z";a.appendChild(Qo.createTextNode(d))}),magvar:S(ns),geoidheight:S(ns),name:S(ms),cmt:S(ms),desc:S(ms),src:S(ms),link:S(Rs),sym:S(ms),type:S(ms),fix:S(ms),sat:S(os),
hdop:S(ns),vdop:S(ns),pdop:S(ns),ageofdgpsdata:S(ns),dgpsid:S(os)}),ct={Point:"wpt",LineString:"rte",MultiLineString:"trk"};function dt(a,c){var d=a.V();if(d)return To(c[c.length-1].node.namespaceURI,ct[d.W()])}
var et=T(As,{rte:S(function(a,c,d){var e=d[0],f=c.P();a={node:a,properties:f};if(c=c.V())c=Mr(c,!0,e),a.geometryLayout=c.a,f.rtept=c.U();e=Xs[d[d.length-1].node.namespaceURI];f=wp(f,e);yp(a,Ys,vp,f,d,e)}),trk:S(function(a,c,d){var e=d[0],f=c.P();a={node:a,properties:f};if(c=c.V())c=Mr(c,!0,e),f.trkseg=c.Xc();e=Zs[d[d.length-1].node.namespaceURI];f=wp(f,e);yp(a,bt,vp,f,d,e)}),wpt:S(function(a,c,d){var e=d[0],f=d[d.length-1];f.properties=c.P();if(c=c.V())c=Mr(c,!0,e),f.geometryLayout=c.a,Us(a,c.U(),
d)})});zs.prototype.a=function(a,c){c=Lr(this,c);var d=To("http://www.topografix.com/GPX/1/1","gpx");yp({node:d},et,dt,a,[c]);return d};function ft(a){a=gt(a);return ab(a,function(a){return a.c.substring(a.a,a.b)})}function ht(a,c,d){this.c=a;this.a=c;this.b=d}function gt(a){for(var c=RegExp("\r\n|\r|\n","g"),d=0,e,f=[];e=c.exec(a);)d=new ht(a,d,e.index),f.push(d),d=c.lastIndex;d<a.length&&(d=new ht(a,d,a.length),f.push(d));return f};function it(){this.defaultDataProjection=null}w(it,Jr);l=it.prototype;l.W=function(){return"text"};l.vb=function(a,c){return this.ed(ia(a)?a:"",Lr(this,c))};l.sa=function(a,c){return this.pf(ia(a)?a:"",Lr(this,c))};l.Bc=function(a,c){return this.gd(ia(a)?a:"",Lr(this,c))};l.Ha=function(){return this.defaultDataProjection};l.kd=function(a,c){return this.te(a,Lr(this,c))};l.xb=function(a,c){return this.vh(a,Lr(this,c))};l.Hc=function(a,c){return this.ld(a,Lr(this,c))};function jt(a){a=a?a:{};this.defaultDataProjection=null;this.defaultDataProjection=Ce("EPSG:4326");this.b=a.altitudeMode?a.altitudeMode:"none"}w(jt,it);var kt=/^B(\d{2})(\d{2})(\d{2})(\d{2})(\d{5})([NS])(\d{3})(\d{5})([EW])([AV])(\d{5})(\d{5})/,lt=/^H.([A-Z]{3}).*?:(.*)/,mt=/^HFDTE(\d{2})(\d{2})(\d{2})/;
jt.prototype.ed=function(a,c){var d=this.b,e=ft(a),f={},g=[],h=2E3,k=0,m=1,n,p;n=0;for(p=e.length;n<p;++n){var q=e[n],r;if("B"==q.charAt(0)){if(r=kt.exec(q)){var q=parseInt(r[1],10),u=parseInt(r[2],10),y=parseInt(r[3],10),A=parseInt(r[4],10)+parseInt(r[5],10)/6E4;"S"==r[6]&&(A=-A);var F=parseInt(r[7],10)+parseInt(r[8],10)/6E4;"W"==r[9]&&(F=-F);g.push(F,A);"none"!=d&&g.push("gps"==d?parseInt(r[11],10):"barometric"==d?parseInt(r[12],10):0);g.push(Date.UTC(h,k,m,q,u,y)/1E3)}}else if("H"==q.charAt(0))if(r=
mt.exec(q))m=parseInt(r[1],10),k=parseInt(r[2],10)-1,h=2E3+parseInt(r[3],10);else if(r=lt.exec(q))f[r[1]]=r[2].trim(),mt.exec(q)}if(0===g.length)return null;e=new L(null);gn(e,"none"==d?"XYM":"XYZM",g);d=new Q(Mr(e,!1,c));d.H(f);return d};jt.prototype.pf=function(a,c){var d=this.ed(a,c);return d?[d]:[]};function nt(a,c){this.a=this.i=this.f="";this.l=null;this.g=this.b="";this.j=!1;var d;a instanceof nt?(this.j=ca(c)?c:a.j,ot(this,a.f),this.i=a.i,this.a=a.a,pt(this,a.l),this.b=a.b,qt(this,a.c.clone()),this.g=a.g):a&&(d=String(a).match(qo))?(this.j=!!c,ot(this,d[1]||"",!0),this.i=rt(d[2]||""),this.a=rt(d[3]||"",!0),pt(this,d[4]),this.b=rt(d[5]||"",!0),qt(this,d[6]||"",!0),this.g=rt(d[7]||"")):(this.j=!!c,this.c=new st(null,0,this.j))}
nt.prototype.toString=function(){var a=[],c=this.f;c&&a.push(tt(c,ut,!0),":");var d=this.a;if(d||"file"==c)a.push("//"),(c=this.i)&&a.push(tt(c,ut,!0),"@"),a.push(encodeURIComponent(String(d)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),d=this.l,null!=d&&a.push(":",String(d));if(d=this.b)this.a&&"/"!=d.charAt(0)&&a.push("/"),a.push(tt(d,"/"==d.charAt(0)?vt:wt,!0));(d=this.c.toString())&&a.push("?",d);(d=this.g)&&a.push("#",tt(d,xt));return a.join("")};nt.prototype.clone=function(){return new nt(this)};
function ot(a,c,d){a.f=d?rt(c,!0):c;a.f&&(a.f=a.f.replace(/:$/,""))}function pt(a,c){if(c){c=Number(c);if(isNaN(c)||0>c)throw Error("Bad port number "+c);a.l=c}else a.l=null}function qt(a,c,d){c instanceof st?(a.c=c,yt(a.c,a.j)):(d||(c=tt(c,zt)),a.c=new st(c,0,a.j))}function At(a){return a instanceof nt?a.clone():new nt(a,void 0)}
function Bt(a,c){a instanceof nt||(a=At(a));c instanceof nt||(c=At(c));var d=a,e=c,f=d.clone(),g=!!e.f;g?ot(f,e.f):g=!!e.i;g?f.i=e.i:g=!!e.a;g?f.a=e.a:g=null!=e.l;var h=e.b;if(g)pt(f,e.l);else if(g=!!e.b)if("/"!=h.charAt(0)&&(d.a&&!d.b?h="/"+h:(d=f.b.lastIndexOf("/"),-1!=d&&(h=f.b.substr(0,d+1)+h))),d=h,".."==d||"."==d)h="";else if(-1!=d.indexOf("./")||-1!=d.indexOf("/.")){for(var h=0==d.lastIndexOf("/",0),d=d.split("/"),k=[],m=0;m<d.length;){var n=d[m++];"."==n?h&&m==d.length&&k.push(""):".."==n?
((1<k.length||1==k.length&&""!=k[0])&&k.pop(),h&&m==d.length&&k.push("")):(k.push(n),h=!0)}h=k.join("/")}else h=d;g?f.b=h:g=""!==e.c.toString();g?qt(f,rt(e.c.toString())):g=!!e.g;g&&(f.g=e.g);return f}function rt(a,c){return a?c?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}function tt(a,c,d){return ia(a)?(a=encodeURI(a).replace(c,Ct),d&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}function Ct(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}
var ut=/[#\/\?@]/g,wt=/[\#\?:]/g,vt=/[\#\?]/g,zt=/[\#\?@]/g,xt=/#/g;function st(a,c,d){this.a=this.b=null;this.c=a||null;this.f=!!d}function Dt(a){a.b||(a.b=new ti,a.a=0,a.c&&ro(a.c,function(c,d){a.add(decodeURIComponent(c.replace(/\+/g," ")),d)}))}l=st.prototype;l.Qb=function(){Dt(this);return this.a};l.add=function(a,c){Dt(this);this.c=null;a=Et(this,a);var d=this.b.get(a);d||this.b.set(a,d=[]);d.push(c);this.a++;return this};
l.remove=function(a){Dt(this);a=Et(this,a);return vi(this.b.a,a)?(this.c=null,this.a-=this.b.get(a).length,this.b.remove(a)):!1};l.clear=function(){this.b=this.c=null;this.a=0};l.ya=function(){Dt(this);return 0==this.a};function Ft(a,c){Dt(a);c=Et(a,c);return vi(a.b.a,c)}l.O=function(){Dt(this);for(var a=this.b.Ub(),c=this.b.O(),d=[],e=0;e<c.length;e++)for(var f=a[e],g=0;g<f.length;g++)d.push(c[e]);return d};
l.Ub=function(a){Dt(this);var c=[];if(ia(a))Ft(this,a)&&(c=fb(c,this.b.get(Et(this,a))));else{a=this.b.Ub();for(var d=0;d<a.length;d++)c=fb(c,a[d])}return c};l.set=function(a,c){Dt(this);this.c=null;a=Et(this,a);Ft(this,a)&&(this.a-=this.b.get(a).length);this.b.set(a,[c]);this.a++;return this};l.get=function(a,c){var d=a?this.Ub(a):[];return 0<d.length?String(d[0]):c};function Gt(a,c,d){a.remove(c);0<d.length&&(a.c=null,a.b.set(Et(a,c),gb(d)),a.a+=d.length)}
l.toString=function(){if(this.c)return this.c;if(!this.b)return"";for(var a=[],c=this.b.O(),d=0;d<c.length;d++)for(var e=c[d],f=encodeURIComponent(String(e)),e=this.Ub(e),g=0;g<e.length;g++){var h=f;""!==e[g]&&(h+="="+encodeURIComponent(String(e[g])));a.push(h)}return this.c=a.join("&")};l.clone=function(){var a=new st;a.c=this.c;this.b&&(a.b=this.b.clone(),a.a=this.a);return a};function Et(a,c){var d=String(c);a.f&&(d=d.toLowerCase());return d}
function yt(a,c){c&&!a.f&&(Dt(a),a.c=null,a.b.forEach(function(a,c){var f=c.toLowerCase();c!=f&&(this.remove(c),Gt(this,f,a))},a));a.f=c};function Ht(a){a=a||{};this.f=a.font;this.g=a.rotation;this.a=a.scale;this.c=a.text;this.i=a.textAlign;this.l=a.textBaseline;this.b=void 0!==a.fill?a.fill:new El({color:"#333"});this.j=void 0!==a.stroke?a.stroke:null;this.C=void 0!==a.offsetX?a.offsetX:0;this.A=void 0!==a.offsetY?a.offsetY:0}l=Ht.prototype;l.Li=function(){return this.f};l.aj=function(){return this.C};l.bj=function(){return this.A};l.Fm=function(){return this.b};l.Gm=function(){return this.g};l.Hm=function(){return this.a};l.Im=function(){return this.j};
l.Jm=function(){return this.c};l.lj=function(){return this.i};l.mj=function(){return this.l};l.On=function(a){this.f=a};l.Nn=function(a){this.b=a};l.Km=function(a){this.g=a};l.Lm=function(a){this.a=a};l.Un=function(a){this.j=a};l.Vn=function(a){this.c=a};l.Wn=function(a){this.i=a};l.Xn=function(a){this.l=a};function It(a){a=a?a:{};this.defaultDataProjection=null;this.defaultDataProjection=Ce("EPSG:4326");this.c=a.defaultStyle?a.defaultStyle:Jt;this.f=void 0!==a.extractStyles?a.extractStyles:!0;this.b={}}w(It,as);
var Kt=["http://www.google.com/kml/ext/2.2"],Lt=[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"],Mt=[255,255,255,1],Nt=new El({color:Mt}),Ot=[20,2],Pt=[64,64],Qt=new yk({anchor:Ot,anchorOrigin:"bottom-left",anchorXUnits:"pixels",anchorYUnits:"pixels",crossOrigin:"anonymous",rotation:0,scale:.5,size:Pt,src:"https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png"}),Rt=new Al({color:Mt,width:1}),St=new Ht({font:"normal 16px Helvetica",
fill:Nt,stroke:Rt,scale:1}),Jt=[new Gl({fill:Nt,image:Qt,text:St,stroke:Rt,zIndex:0})],Tt={fraction:"fraction",pixels:"pixels"};function Ut(a,c,d,e){return function(){return a?a:c?Vt(c,d,e):d}}function Vt(a,c,d){return ga(a)?a:ia(a)?(!(a in d)&&"#"+a in d&&(a="#"+a),Vt(d[a],c,d)):c}function Wt(a){a=Uo(a,!1);if(a=/^\s*#?\s*([0-9A-Fa-f]{8})\s*$/.exec(a))return a=a[1],[parseInt(a.substr(6,2),16),parseInt(a.substr(4,2),16),parseInt(a.substr(2,2),16),parseInt(a.substr(0,2),16)/255]}
function Xt(a){a=Uo(a,!1);for(var c=[],d=/^\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)\s*,\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)(?:\s*,\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?))?\s*/i,e;e=d.exec(a);)c.push(parseFloat(e[1]),parseFloat(e[2]),e[3]?parseFloat(e[3]):0),a=a.substr(e[0].length);return""!==a?void 0:c}function Yt(a){var c=Uo(a,!1);return a.baseURI?Bt(a.baseURI,c.trim()).toString():c.trim()}function Zt(a){a=hs(a);if(void 0!==a)return Math.sqrt(a)}function $t(a,c){return U(null,au,a,c)}
function bu(a,c){var d=U({o:[],th:[]},cu,a,c);if(d){var e=d.o,d=d.th,f,g;f=0;for(g=Math.min(e.length,d.length);f<g;++f)e[4*f+3]=d[f];d=new L(null);gn(d,"XYZM",e);return d}}function du(a,c){var d=U({},eu,a,c),e=U(null,fu,a,c);if(e){var f=new L(null);gn(f,"XYZ",e);f.H(d);return f}}function gu(a,c){var d=U({},eu,a,c),e=U(null,fu,a,c);if(e){var f=new E(null);Hf(f,"XYZ",e,[e.length]);f.H(d);return f}}
function hu(a,c){var d=U([],iu,a,c);if(!d)return null;if(0===d.length)return new $m(d);var e=!0,f=d[0].W(),g,h,k;h=1;for(k=d.length;h<k;++h)if(g=d[h],g.W()!=f){e=!1;break}if(e){if("Point"==f){g=d[0];e=g.a;f=g.o;h=1;for(k=d.length;h<k;++h)g=d[h],hb(f,g.o);g=new kn(null);cf(g,e,f);g.s();ju(g,d);return g}return"LineString"==f?(g=new O(null),jn(g,d),ju(g,d),g):"Polygon"==f?(g=new P(null),mn(g,d),ju(g,d),g):"GeometryCollection"==f?new $m(d):null}return new $m(d)}
function ku(a,c){var d=U({},eu,a,c),e=U(null,fu,a,c);if(e){var f=new D(null);vf(f,"XYZ",e);f.H(d);return f}}function lu(a,c){var d=U({},eu,a,c),e=U([null],mu,a,c);if(e&&e[0]){var f=new E(null),g=e[0],h=[g.length],k,m;k=1;for(m=e.length;k<m;++k)hb(g,e[k]),h.push(g.length);Hf(f,"XYZ",g,h);f.H(d);return f}}
function nu(a,c){var d=U({},ou,a,c);if(!d)return null;var e="fillStyle"in d?d.fillStyle:Nt,f=d.fill;void 0===f||f||(e=null);var f="imageStyle"in d?d.imageStyle:Qt,g="textStyle"in d?d.textStyle:St,h="strokeStyle"in d?d.strokeStyle:Rt,d=d.outline;void 0===d||d||(h=null);return[new Gl({fill:e,image:f,stroke:h,text:g,zIndex:void 0})]}
function ju(a,c){var d=c.length,e=Array(c.length),f=Array(c.length),g,h,k,m;k=m=!1;for(h=0;h<d;++h)g=c[h],e[h]=g.get("extrude"),f[h]=g.get("altitudeMode"),k=k||void 0!==e[h],m=m||f[h];k&&a.set("extrude",e);m&&a.set("altitudeMode",f)}function pu(a,c){xp(qu,a,c)}
var ru=T(Lt,{value:qp(X)}),qu=T(Lt,{Data:function(a,c){var d=a.getAttribute("name");if(null!==d){var e=U(void 0,ru,a,c);e&&(c[c.length-1][d]=e)}},SchemaData:function(a,c){xp(su,a,c)}}),eu=T(Lt,{extrude:R(es),altitudeMode:R(X)}),au=T(Lt,{coordinates:qp(Xt)}),mu=T(Lt,{innerBoundaryIs:function(a,c){var d=U(void 0,tu,a,c);d&&c[c.length-1].push(d)},outerBoundaryIs:function(a,c){var d=U(void 0,uu,a,c);d&&(c[c.length-1][0]=d)}}),cu=T(Lt,{when:function(a,c){var d=c[c.length-1].th,e=Uo(a,!1);if(e=/^\s*(\d{4})($|-(\d{2})($|-(\d{2})($|T(\d{2}):(\d{2}):(\d{2})(Z|(?:([+\-])(\d{2})(?::(\d{2}))?)))))\s*$/.exec(e)){var f=
Date.UTC(parseInt(e[1],10),e[3]?parseInt(e[3],10)-1:0,e[5]?parseInt(e[5],10):1,e[7]?parseInt(e[7],10):0,e[8]?parseInt(e[8],10):0,e[9]?parseInt(e[9],10):0);if(e[10]&&"Z"!=e[10]){var g="-"==e[11]?-1:1,f=f+60*g*parseInt(e[12],10);e[13]&&(f+=3600*g*parseInt(e[13],10))}d.push(f)}else d.push(0)}},T(Kt,{coord:function(a,c){var d=c[c.length-1].o,e=Uo(a,!1);(e=/^\s*([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s+([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s+([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s*$/i.exec(e))?d.push(parseFloat(e[1]),
parseFloat(e[2]),parseFloat(e[3]),0):d.push(0,0,0,0)}})),fu=T(Lt,{coordinates:qp(Xt)}),vu=T(Lt,{href:R(Yt)},T(Kt,{x:R(hs),y:R(hs),w:R(hs),h:R(hs)})),wu=T(Lt,{Icon:R(function(a,c){var d=U({},vu,a,c);return d?d:null}),heading:R(hs),hotSpot:R(function(a){var c=a.getAttribute("xunits"),d=a.getAttribute("yunits");return{x:parseFloat(a.getAttribute("x")),zf:Tt[c],y:parseFloat(a.getAttribute("y")),Af:Tt[d]}}),scale:R(Zt)}),tu=T(Lt,{LinearRing:qp($t)}),xu=T(Lt,{color:R(Wt),scale:R(Zt)}),yu=T(Lt,{color:R(Wt),
width:R(hs)}),iu=T(Lt,{LineString:pp(du),LinearRing:pp(gu),MultiGeometry:pp(hu),Point:pp(ku),Polygon:pp(lu)}),zu=T(Kt,{Track:pp(bu)}),Bu=T(Lt,{ExtendedData:pu,Link:function(a,c){xp(Au,a,c)},address:R(X),description:R(X),name:R(X),open:R(es),phoneNumber:R(X),visibility:R(es)}),Au=T(Lt,{href:R(Yt)}),uu=T(Lt,{LinearRing:qp($t)}),Cu=T(Lt,{Style:R(nu),key:R(X),styleUrl:R(function(a){var c=Uo(a,!1).trim();return a.baseURI?Bt(a.baseURI,c).toString():c})}),Eu=T(Lt,{ExtendedData:pu,MultiGeometry:R(hu,"geometry"),
LineString:R(du,"geometry"),LinearRing:R(gu,"geometry"),Point:R(ku,"geometry"),Polygon:R(lu,"geometry"),Style:R(nu),StyleMap:function(a,c){var d=U(void 0,Du,a,c);if(d){var e=c[c.length-1];ga(d)?e.Style=d:ia(d)&&(e.styleUrl=d)}},address:R(X),description:R(X),name:R(X),open:R(es),phoneNumber:R(X),styleUrl:R(Yt),visibility:R(es)},T(Kt,{MultiTrack:R(function(a,c){var d=U([],zu,a,c);if(d){var e=new O(null);jn(e,d);return e}},"geometry"),Track:R(bu,"geometry")})),Fu=T(Lt,{color:R(Wt),fill:R(es),outline:R(es)}),
su=T(Lt,{SimpleData:function(a,c){var d=a.getAttribute("name");if(null!==d){var e=X(a);c[c.length-1][d]=e}}}),ou=T(Lt,{IconStyle:function(a,c){var d=U({},wu,a,c);if(d){var e=c[c.length-1],f="Icon"in d?d.Icon:{},g;g=(g=f.href)?g:"https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png";var h,k,m,n=d.hotSpot;n?(h=[n.x,n.y],k=n.zf,m=n.Af):"https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png"===g?(h=Ot,m=k="pixels"):/^http:\/\/maps\.(?:google|gstatic)\.com\//.test(g)&&(h=[.5,0],m=k="fraction");
var p,n=f.x,q=f.y;void 0!==n&&void 0!==q&&(p=[n,q]);var r,n=f.w,f=f.h;void 0!==n&&void 0!==f&&(r=[n,f]);var u,f=d.heading;void 0!==f&&(u=yb(f));d=d.scale;"https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png"==g&&(r=Pt);h=new yk({anchor:h,anchorOrigin:"bottom-left",anchorXUnits:k,anchorYUnits:m,crossOrigin:"anonymous",offset:p,offsetOrigin:"bottom-left",rotation:u,scale:d,size:r,src:g});e.imageStyle=h}},LabelStyle:function(a,c){var d=U({},xu,a,c);d&&(c[c.length-1].textStyle=new Ht({fill:new El({color:"color"in
d?d.color:Mt}),scale:d.scale}))},LineStyle:function(a,c){var d=U({},yu,a,c);d&&(c[c.length-1].strokeStyle=new Al({color:"color"in d?d.color:Mt,width:"width"in d?d.width:1}))},PolyStyle:function(a,c){var d=U({},Fu,a,c);if(d){var e=c[c.length-1];e.fillStyle=new El({color:"color"in d?d.color:Mt});var f=d.fill;void 0!==f&&(e.fill=f);d=d.outline;void 0!==d&&(e.outline=d)}}}),Du=T(Lt,{Pair:function(a,c){var d=U({},Cu,a,c);if(d){var e=d.key;e&&"normal"==e&&((e=d.styleUrl)&&(c[c.length-1]=e),(d=d.Style)&&
(c[c.length-1]=d))}}});l=It.prototype;l.mf=function(a,c){Yo(a);var d=T(Lt,{Document:op(this.mf,this),Folder:op(this.mf,this),Placemark:pp(this.rf,this),Style:qa(this.zn,this),StyleMap:qa(this.yn,this)});if(d=U([],d,a,c,this))return d};l.rf=function(a,c){var d=U({geometry:null},Eu,a,c);if(d){var e=new Q,f=a.getAttribute("id");null!==f&&e.Mb(f);var f=c[0],g=d.geometry;g&&Mr(g,!1,f);e.za(g);delete d.geometry;this.f&&e.af(Ut(d.Style,d.styleUrl,this.c,this.b));delete d.Style;e.H(d);return e}};
l.zn=function(a,c){var d=a.getAttribute("id");if(null!==d){var e=nu(a,c);e&&(d=a.baseURI?Bt(a.baseURI,"#"+d).toString():"#"+d,this.b[d]=e)}};l.yn=function(a,c){var d=a.getAttribute("id");if(null!==d){var e=U(void 0,Du,a,c);e&&(d=a.baseURI?Bt(a.baseURI,"#"+d).toString():"#"+d,this.b[d]=e)}};l.Pg=function(a,c){if(!sb(Lt,a.namespaceURI))return null;var d=this.rf(a,[Kr(this,a,c)]);return d?d:null};
l.Lb=function(a,c){if(!sb(Lt,a.namespaceURI))return[];var d;d=Yo(a);if("Document"==d||"Folder"==d)return(d=this.mf(a,[Kr(this,a,c)]))?d:[];if("Placemark"==d)return(d=this.rf(a,[Kr(this,a,c)]))?[d]:[];if("kml"==d){d=[];var e;for(e=a.firstElementChild;e;e=e.nextElementSibling){var f=this.Lb(e,c);f&&hb(d,f)}return d}return[]};l.sn=function(a){if(ap(a))return Gu(this,a);if(dp(a))return Hu(this,a);if(ia(a))return a=np(a),Gu(this,a)};
function Gu(a,c){var d;for(d=c.firstChild;d;d=d.nextSibling)if(1==d.nodeType){var e=Hu(a,d);if(e)return e}}function Hu(a,c){var d;for(d=c.firstElementChild;d;d=d.nextElementSibling)if(sb(Lt,d.namespaceURI)&&"name"==d.localName)return X(d);for(d=c.firstElementChild;d;d=d.nextElementSibling){var e=Yo(d);if(sb(Lt,d.namespaceURI)&&("Document"==e||"Folder"==e||"Placemark"==e||"kml"==e)&&(e=Hu(a,d)))return e}}
l.tn=function(a){var c=[];ap(a)?hb(c,Iu(this,a)):dp(a)?hb(c,Ju(this,a)):ia(a)&&(a=np(a),hb(c,Iu(this,a)));return c};function Iu(a,c){var d,e=[];for(d=c.firstChild;d;d=d.nextSibling)1==d.nodeType&&hb(e,Ju(a,d));return e}
function Ju(a,c){var d,e=[];for(d=c.firstElementChild;d;d=d.nextElementSibling)if(sb(Lt,d.namespaceURI)&&"NetworkLink"==d.localName){var f=U({},Bu,d,[]);e.push(f)}for(d=c.firstElementChild;d;d=d.nextElementSibling)f=Yo(d),!sb(Lt,d.namespaceURI)||"Document"!=f&&"Folder"!=f&&"kml"!=f||hb(e,Ju(a,d));return e}function Ku(a,c){var d=yg(c),d=[255*(4==d.length?d[3]:1),d[2],d[1],d[0]],e;for(e=0;4>e;++e){var f=parseInt(d[e],10).toString(16);d[e]=1==f.length?"0"+f:f}ms(a,d.join(""))}
function Lu(a,c,d){yp({node:a},Mu,Nu,[c],d)}function Ou(a,c,d){var e={node:a};c.ha&&a.setAttribute("id",c.ha);a=c.P();var f=c.c;f&&(f=f.call(c,0))&&0<f.length&&(a.Style=f[0],(f=f[0].a)&&(a.name=f.c));f=Pu[d[d.length-1].node.namespaceURI];a=wp(a,f);yp(e,Qu,vp,a,d,f);a=d[0];(c=c.V())&&(c=Mr(c,!0,a));yp(e,Qu,Ru,[c],d)}function Su(a,c,d){var e=c.o;a={node:a};a.layout=c.a;a.stride=c.G;yp(a,Tu,Uu,[e],d)}function Vu(a,c,d){c=c.Dd();var e=c.shift();a={node:a};yp(a,Wu,Xu,c,d);yp(a,Wu,Yu,[e],d)}
function Zu(a,c){ns(a,c*c)}
var $u=T(Lt,["Document","Placemark"]),cv=T(Lt,{Document:S(function(a,c,d){yp({node:a},av,bv,c,d)}),Placemark:S(Ou)}),av=T(Lt,{Placemark:S(Ou)}),dv={Point:"Point",LineString:"LineString",LinearRing:"LinearRing",Polygon:"Polygon",MultiPoint:"MultiGeometry",MultiLineString:"MultiGeometry",MultiPolygon:"MultiGeometry"},ev=T(Lt,["href"],T(Kt,["x","y","w","h"])),fv=T(Lt,{href:S(ms)},T(Kt,{x:S(ns),y:S(ns),w:S(ns),h:S(ns)})),gv=T(Lt,["scale","heading","Icon","hotSpot"]),iv=T(Lt,{Icon:S(function(a,c,d){a=
{node:a};var e=ev[d[d.length-1].node.namespaceURI],f=wp(c,e);yp(a,fv,vp,f,d,e);e=ev[Kt[0]];f=wp(c,e);yp(a,fv,hv,f,d,e)}),heading:S(ns),hotSpot:S(function(a,c){a.setAttribute("x",c.x);a.setAttribute("y",c.y);a.setAttribute("xunits",c.zf);a.setAttribute("yunits",c.Af)}),scale:S(Zu)}),jv=T(Lt,["color","scale"]),kv=T(Lt,{color:S(Ku),scale:S(Zu)}),lv=T(Lt,["color","width"]),mv=T(Lt,{color:S(Ku),width:S(ns)}),Mu=T(Lt,{LinearRing:S(Su)}),nv=T(Lt,{LineString:S(Su),Point:S(Su),Polygon:S(Vu)}),Pu=T(Lt,"name open visibility address phoneNumber description styleUrl Style".split(" ")),
Qu=T(Lt,{MultiGeometry:S(function(a,c,d){a={node:a};var e=c.W(),f,g;"MultiPoint"==e?(f=c.Yd(),g=ov):"MultiLineString"==e?(f=c.Xc(),g=pv):"MultiPolygon"==e&&(f=c.Fd(),g=qv);yp(a,nv,g,f,d)}),LineString:S(Su),LinearRing:S(Su),Point:S(Su),Polygon:S(Vu),Style:S(function(a,c,d){a={node:a};var e={},f=c.f,g=c.c,h=c.j;c=c.a;h&&(e.IconStyle=h);c&&(e.LabelStyle=c);g&&(e.LineStyle=g);f&&(e.PolyStyle=f);c=rv[d[d.length-1].node.namespaceURI];e=wp(e,c);yp(a,sv,vp,e,d,c)}),address:S(ms),description:S(ms),name:S(ms),
open:S(ls),phoneNumber:S(ms),styleUrl:S(ms),visibility:S(ls)}),Tu=T(Lt,{coordinates:S(function(a,c,d){d=d[d.length-1];var e=d.layout;d=d.stride;var f;"XY"==e||"XYM"==e?f=2:("XYZ"==e||"XYZM"==e)&&(f=3);var g,h=c.length,k="";if(0<h){k+=c[0];for(e=1;e<f;++e)k+=","+c[e];for(g=d;g<h;g+=d)for(k+=" "+c[g],e=1;e<f;++e)k+=","+c[g+e]}ms(a,k)})}),Wu=T(Lt,{outerBoundaryIs:S(Lu),innerBoundaryIs:S(Lu)}),tv=T(Lt,{color:S(Ku)}),rv=T(Lt,["IconStyle","LabelStyle","LineStyle","PolyStyle"]),sv=T(Lt,{IconStyle:S(function(a,
c,d){a={node:a};var e={},f=c.kb(),g=c.Cd(),h={href:c.b.j};if(f){h.w=f[0];h.h=f[1];var k=c.Ab(),m=c.ta();m&&g&&0!==m[0]&&m[1]!==f[1]&&(h.x=m[0],h.y=g[1]-(m[1]+f[1]));k&&0!==k[0]&&k[1]!==f[1]&&(e.hotSpot={x:k[0],zf:"pixels",y:f[1]-k[1],Af:"pixels"})}e.Icon=h;f=c.A;1!==f&&(e.scale=f);c=c.C;0!==c&&(e.heading=c);c=gv[d[d.length-1].node.namespaceURI];e=wp(e,c);yp(a,iv,vp,e,d,c)}),LabelStyle:S(function(a,c,d){a={node:a};var e={},f=c.b;f&&(e.color=f.b);(c=c.a)&&1!==c&&(e.scale=c);c=jv[d[d.length-1].node.namespaceURI];
e=wp(e,c);yp(a,kv,vp,e,d,c)}),LineStyle:S(function(a,c,d){a={node:a};var e=lv[d[d.length-1].node.namespaceURI];c=wp({color:c.b,width:c.a},e);yp(a,mv,vp,c,d,e)}),PolyStyle:S(function(a,c,d){yp({node:a},tv,uv,[c.b],d)})});function hv(a,c,d){return To(Kt[0],"gx:"+d)}function bv(a,c){return To(c[c.length-1].node.namespaceURI,"Placemark")}function Ru(a,c){if(a)return To(c[c.length-1].node.namespaceURI,dv[a.W()])}
var uv=tp("color"),Uu=tp("coordinates"),Xu=tp("innerBoundaryIs"),ov=tp("Point"),pv=tp("LineString"),Nu=tp("LinearRing"),qv=tp("Polygon"),Yu=tp("outerBoundaryIs");
It.prototype.a=function(a,c){c=Lr(this,c);var d=To(Lt[4],"kml");mp(d,"http://www.w3.org/2000/xmlns/","xmlns:gx",Kt[0]);mp(d,"http://www.w3.org/2000/xmlns/","xmlns:xsi","http://www.w3.org/2001/XMLSchema-instance");mp(d,"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 e={node:d},f={};1<a.length?f.Document=a:1==a.length&&(f.Placemark=a[0]);var g=$u[d.namespaceURI],f=wp(f,g);yp(e,cv,vp,f,[c],g);
return d};function vv(){this.defaultDataProjection=null;this.defaultDataProjection=Ce("EPSG:4326")}w(vv,as);function wv(a,c){c[c.length-1].jd[a.getAttribute("k")]=a.getAttribute("v")}
var xv=[null],yv=T(xv,{nd:function(a,c){c[c.length-1].vc.push(a.getAttribute("ref"))},tag:wv}),Av=T(xv,{node:function(a,c){var d=c[0],e=c[c.length-1],f=a.getAttribute("id"),g=[parseFloat(a.getAttribute("lon")),parseFloat(a.getAttribute("lat"))];e.ig[f]=g;var h=U({jd:{}},zv,a,c);Rb(h.jd)||(g=new D(g),Mr(g,!1,d),d=new Q(g),d.Mb(f),d.H(h.jd),e.features.push(d))},way:function(a,c){for(var d=c[0],e=a.getAttribute("id"),f=U({vc:[],jd:{}},yv,a,c),g=c[c.length-1],h=[],k=0,m=f.vc.length;k<m;k++)hb(h,g.ig[f.vc[k]]);
f.vc[0]==f.vc[f.vc.length-1]?(k=new E(null),Hf(k,"XY",h,[h.length])):(k=new L(null),gn(k,"XY",h));Mr(k,!1,d);d=new Q(k);d.Mb(e);d.H(f.jd);g.features.push(d)}}),zv=T(xv,{tag:wv});vv.prototype.Lb=function(a,c){var d=Kr(this,a,c);return"osm"==a.localName&&(d=U({ig:{},features:[]},Av,a,[d]),d.features)?d.features:[]};function Bv(a){return a.getAttributeNS("http://www.w3.org/1999/xlink","href")};function Cv(){}Cv.prototype.c=function(a){return ap(a)?this.a(a):dp(a)?this.b(a):ia(a)?(a=np(a),this.a(a)):null};function Dv(){}w(Dv,Cv);Dv.prototype.a=function(a){for(a=a.firstChild;a;a=a.nextSibling)if(1==a.nodeType)return this.b(a);return null};Dv.prototype.b=function(a){return(a=U({},Ev,a,[]))?a:null};
var Fv=[null,"http://www.opengis.net/ows/1.1"],Ev=T(Fv,{ServiceIdentification:R(function(a,c){return U({},Gv,a,c)}),ServiceProvider:R(function(a,c){return U({},Hv,a,c)}),OperationsMetadata:R(function(a,c){return U({},Iv,a,c)})}),Jv=T(Fv,{DeliveryPoint:R(X),City:R(X),AdministrativeArea:R(X),PostalCode:R(X),Country:R(X),ElectronicMailAddress:R(X)}),Kv=T(Fv,{Value:rp(function(a){return X(a)})}),Lv=T(Fv,{AllowedValues:R(function(a,c){return U({},Kv,a,c)})}),Nv=T(Fv,{Phone:R(function(a,c){return U({},
Mv,a,c)}),Address:R(function(a,c){return U({},Jv,a,c)})}),Pv=T(Fv,{HTTP:R(function(a,c){return U({},Ov,a,c)})}),Ov=T(Fv,{Get:rp(function(a,c){var d=Bv(a);return d?U({href:d},Qv,a,c):void 0}),Post:void 0}),Rv=T(Fv,{DCP:R(function(a,c){return U({},Pv,a,c)})}),Iv=T(Fv,{Operation:function(a,c){var d=a.getAttribute("name"),e=U({},Rv,a,c);e&&(c[c.length-1][d]=e)}}),Mv=T(Fv,{Voice:R(X),Facsimile:R(X)}),Qv=T(Fv,{Constraint:rp(function(a,c){var d=a.getAttribute("name");return d?U({name:d},Lv,a,c):void 0})}),
Sv=T(Fv,{IndividualName:R(X),PositionName:R(X),ContactInfo:R(function(a,c){return U({},Nv,a,c)})}),Gv=T(Fv,{Title:R(X),ServiceTypeVersion:R(X),ServiceType:R(X)}),Hv=T(Fv,{ProviderName:R(X),ProviderSite:R(Bv),ServiceContact:R(function(a,c){return U({},Sv,a,c)})});function Tv(a,c,d,e){var f;void 0!==e?f=e:f=[];e=0;var g,h;for(g=0;g<c;)for(h=a[g++],f[e++]=a[g++],f[e++]=h,h=2;h<d;++h)f[e++]=a[g++];f.length=e};function Uv(a){a=a?a:{};this.defaultDataProjection=null;this.defaultDataProjection=Ce("EPSG:4326");this.b=a.factor?a.factor:1E5;this.a=a.geometryLayout?a.geometryLayout:"XY"}w(Uv,it);function Vv(a,c,d){var e,f=Array(c);for(e=0;e<c;++e)f[e]=0;var g,h;g=0;for(h=a.length;g<h;)for(e=0;e<c;++e,++g){var k=a[g],m=k-f[e];f[e]=k;a[g]=m}return Wv(a,d?d:1E5)}
function Xv(a,c,d){var e,f=Array(c);for(e=0;e<c;++e)f[e]=0;a=Yv(a,d?d:1E5);var g;d=0;for(g=a.length;d<g;)for(e=0;e<c;++e,++d)f[e]+=a[d],a[d]=f[e];return a}function Wv(a,c){var d=c?c:1E5,e,f;e=0;for(f=a.length;e<f;++e)a[e]=Math.round(a[e]*d);d=0;for(e=a.length;d<e;++d)f=a[d],a[d]=0>f?~(f<<1):f<<1;d="";e=0;for(f=a.length;e<f;++e){for(var g=a[e],h=void 0,k="";32<=g;)h=(32|g&31)+63,k+=String.fromCharCode(h),g>>=5;h=g+63;k+=String.fromCharCode(h);d+=k}return d}
function Yv(a,c){var d=c?c:1E5,e=[],f=0,g=0,h,k;h=0;for(k=a.length;h<k;++h){var m=a.charCodeAt(h)-63,f=f|(m&31)<<g;32>m?(e.push(f),g=f=0):g+=5}f=0;for(g=e.length;f<g;++f)h=e[f],e[f]=h&1?~(h>>1):h>>1;f=0;for(g=e.length;f<g;++f)e[f]/=d;return e}l=Uv.prototype;l.ed=function(a,c){var d=this.gd(a,c);return new Q(d)};l.pf=function(a,c){return[this.ed(a,c)]};l.gd=function(a,c){var d=bf(this.a),e=Xv(a,d,this.b);Tv(e,e.length,d,e);d=pf(e,0,e.length,d);return Mr(new L(d,this.a),!1,Lr(this,c))};
l.te=function(a,c){var d=a.V();return d?this.ld(d,c):""};l.vh=function(a,c){return this.te(a[0],c)};l.ld=function(a,c){a=Mr(a,!0,Lr(this,c));var d=a.o,e=a.G;Tv(d,d.length,e,d);return Vv(d,e,this.b)};function Zv(a){a=a?a:{};this.defaultDataProjection=null;this.defaultDataProjection=Ce(a.defaultDataProjection?a.defaultDataProjection:"EPSG:4326")}w(Zv,Nr);function $v(a,c){var d=[],e,f,g,h;g=0;for(h=a.length;g<h;++g)e=a[g],0<g&&d.pop(),0<=e?f=c[e]:f=c[~e].slice().reverse(),d.push.apply(d,f);e=0;for(f=d.length;e<f;++e)d[e]=d[e].slice();return d}function aw(a,c,d,e,f){a=a.geometries;var g=[],h,k;h=0;for(k=a.length;h<k;++h)g[h]=bw(a[h],c,d,e,f);return g}
function bw(a,c,d,e,f){var g=a.type,h=cw[g];c="Point"===g||"MultiPoint"===g?h(a,d,e):h(a,c);d=new Q;d.za(Mr(c,!1,f));a.id&&d.Mb(a.id);a.properties&&d.H(a.properties);return d}
Zv.prototype.of=function(a,c){if("Topology"==a.type){var d,e=null,f=null;a.transform&&(d=a.transform,e=d.scale,f=d.translate);var g=a.arcs;if(d){d=e;var h=f,k,m;k=0;for(m=g.length;k<m;++k)for(var n=g[k],p=d,q=h,r=0,u=0,y=void 0,A=void 0,F=void 0,A=0,F=n.length;A<F;++A)y=n[A],r+=y[0],u+=y[1],y[0]=r,y[1]=u,dw(y,p,q)}d=[];h=Mb(a.objects);k=0;for(m=h.length;k<m;++k)"GeometryCollection"===h[k].type?(n=h[k],d.push.apply(d,aw(n,g,e,f,c))):(n=h[k],d.push(bw(n,g,e,f,c)));return d}return[]};
function dw(a,c,d){a[0]=a[0]*c[0]+d[0];a[1]=a[1]*c[1]+d[1]}Zv.prototype.Ha=function(){return this.defaultDataProjection};
var cw={Point:function(a,c,d){a=a.coordinates;c&&d&&dw(a,c,d);return new D(a)},LineString:function(a,c){var d=$v(a.arcs,c);return new L(d)},Polygon:function(a,c){var d=[],e,f;e=0;for(f=a.arcs.length;e<f;++e)d[e]=$v(a.arcs[e],c);return new E(d)},MultiPoint:function(a,c,d){a=a.coordinates;var e,f;if(c&&d)for(e=0,f=a.length;e<f;++e)dw(a[e],c,d);return new kn(a)},MultiLineString:function(a,c){var d=[],e,f;e=0;for(f=a.arcs.length;e<f;++e)d[e]=$v(a.arcs[e],c);return new O(d)},MultiPolygon:function(a,c){var d=
[],e,f,g,h,k,m;k=0;for(m=a.arcs.length;k<m;++k){e=a.arcs[k];f=[];g=0;for(h=e.length;g<h;++g)f[g]=$v(e[g],c);d[k]=f}return new P(d)}};function ew(a){a=a?a:{};this.g=a.featureType;this.c=a.featureNS;this.b=a.gmlFormat?a.gmlFormat:new qs;this.f=a.schemaLocation?a.schemaLocation:"http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd";this.defaultDataProjection=null}w(ew,as);ew.prototype.Lb=function(a,c){var d={featureType:this.g,featureNS:this.c};Yb(d,Kr(this,a,c?c:{}));d=[d];this.b.b["http://www.opengis.net/gml"].featureMember=pp(ds.prototype.fd);(d=U([],this.b.b,a,d,this.b))||(d=[]);return d};
ew.prototype.i=function(a){if(ap(a))return fw(a);if(dp(a))return U({},gw,a,[]);if(ia(a))return a=np(a),fw(a)};ew.prototype.j=function(a){if(ap(a))return hw(this,a);if(dp(a))return iw(this,a);if(ia(a))return a=np(a),hw(this,a)};function hw(a,c){for(var d=c.firstChild;d;d=d.nextSibling)if(1==d.nodeType)return iw(a,d)}var jw={"http://www.opengis.net/gml":{boundedBy:R(ds.prototype.le,"bounds")}};
function iw(a,c){var d={},e=ks(c.getAttribute("numberOfFeatures"));d.numberOfFeatures=e;return U(d,jw,c,[],a.b)}
var kw={"http://www.opengis.net/wfs":{totalInserted:R(js),totalUpdated:R(js),totalDeleted:R(js)}},lw={"http://www.opengis.net/ogc":{FeatureId:pp(function(a){return a.getAttribute("fid")})}},mw={"http://www.opengis.net/wfs":{Feature:function(a,c){xp(lw,a,c)}}},gw={"http://www.opengis.net/wfs":{TransactionSummary:R(function(a,c){return U({},kw,a,c)},"transactionSummary"),InsertResults:R(function(a,c){return U([],mw,a,c)},"insertIds")}};
function fw(a){for(a=a.firstChild;a;a=a.nextSibling)if(1==a.nodeType)return U({},gw,a,[])}var nw={"http://www.opengis.net/wfs":{PropertyName:S(ms)}};function ow(a,c){var d=To("http://www.opengis.net/ogc","Filter"),e=To("http://www.opengis.net/ogc","FeatureId");d.appendChild(e);e.setAttribute("fid",c);a.appendChild(d)}
var pw={"http://www.opengis.net/wfs":{Insert:S(function(a,c,d){var e=d[d.length-1],e=To(e.featureNS,e.featureType);a.appendChild(e);qs.prototype.uh(e,c,d)}),Update:S(function(a,c,d){var e=d[d.length-1],f=e.featureType,g=e.featurePrefix,g=g?g:"feature",h=e.featureNS;a.setAttribute("typeName",g+":"+f);mp(a,"http://www.w3.org/2000/xmlns/","xmlns:"+g,h);if(f=c.ha){for(var g=c.O(),h=[],k=0,m=g.length;k<m;k++){var n=c.get(g[k]);void 0!==n&&h.push({name:g[k],value:n})}yp({node:a,srsName:e.srsName},pw,tp("Property"),
h,d);ow(a,f)}}),Delete:S(function(a,c,d){var e=d[d.length-1];d=e.featureType;var f=e.featurePrefix,f=f?f:"feature",e=e.featureNS;a.setAttribute("typeName",f+":"+d);mp(a,"http://www.w3.org/2000/xmlns/","xmlns:"+f,e);(c=c.ha)&&ow(a,c)}),Property:S(function(a,c,d){var e=To("http://www.opengis.net/wfs","Name");a.appendChild(e);ms(e,c.name);void 0!==c.value&&null!==c.value&&(e=To("http://www.opengis.net/wfs","Value"),a.appendChild(e),c.value instanceof Ze?qs.prototype.ve(e,c.value,d):ms(e,c.value))}),
Native:S(function(a,c){c.jo&&a.setAttribute("vendorId",c.jo);void 0!==c.Ln&&a.setAttribute("safeToIgnore",c.Ln);void 0!==c.value&&ms(a,c.value)})}},qw={"http://www.opengis.net/wfs":{Query:S(function(a,c,d){var e=d[d.length-1],f=e.featurePrefix,g=e.featureNS,h=e.propertyNames,k=e.srsName;a.setAttribute("typeName",(f?f+":":"")+c);k&&a.setAttribute("srsName",k);g&&mp(a,"http://www.w3.org/2000/xmlns/","xmlns:"+f,g);c=Vb(e);c.node=a;yp(c,nw,tp("PropertyName"),h,d);if(e=e.bbox)h=To("http://www.opengis.net/ogc",
"Filter"),c=d[d.length-1].geometryName,f=To("http://www.opengis.net/ogc","BBOX"),h.appendChild(f),g=To("http://www.opengis.net/ogc","PropertyName"),ms(g,c),f.appendChild(g),qs.prototype.ve(f,e,d),a.appendChild(h)})}};
ew.prototype.l=function(a){var c=To("http://www.opengis.net/wfs","GetFeature");c.setAttribute("service","WFS");c.setAttribute("version","1.1.0");a&&(a.handle&&c.setAttribute("handle",a.handle),a.outputFormat&&c.setAttribute("outputFormat",a.outputFormat),void 0!==a.maxFeatures&&c.setAttribute("maxFeatures",a.maxFeatures),a.resultType&&c.setAttribute("resultType",a.resultType),void 0!==a.startIndex&&c.setAttribute("startIndex",a.startIndex),void 0!==a.count&&c.setAttribute("count",a.count));mp(c,"http://www.w3.org/2001/XMLSchema-instance",
"xsi:schemaLocation",this.f);var d=a.featureTypes;a=[{node:c,srsName:a.srsName,featureNS:a.featureNS?a.featureNS:this.c,featurePrefix:a.featurePrefix,geometryName:a.geometryName,bbox:a.bbox,propertyNames:a.propertyNames?a.propertyNames:[]}];var e=Vb(a[a.length-1]);e.node=c;yp(e,qw,tp("Query"),d,a);return c};
ew.prototype.v=function(a,c,d,e){var f=[],g=To("http://www.opengis.net/wfs","Transaction");g.setAttribute("service","WFS");g.setAttribute("version","1.1.0");var h,k;e&&(h=e.gmlOptions?e.gmlOptions:{},e.handle&&g.setAttribute("handle",e.handle));mp(g,"http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",this.f);a&&(k={node:g,featureNS:e.featureNS,featureType:e.featureType,featurePrefix:e.featurePrefix},Yb(k,h),yp(k,pw,tp("Insert"),a,f));c&&(k={node:g,featureNS:e.featureNS,featureType:e.featureType,
featurePrefix:e.featurePrefix},Yb(k,h),yp(k,pw,tp("Update"),c,f));d&&yp({node:g,featureNS:e.featureNS,featureType:e.featureType,featurePrefix:e.featurePrefix},pw,tp("Delete"),d,f);e.nativeElements&&yp({node:g,featureNS:e.featureNS,featureType:e.featureType,featurePrefix:e.featurePrefix},pw,tp("Native"),e.nativeElements,f);return g};ew.prototype.sf=function(a){for(a=a.firstChild;a;a=a.nextSibling)if(1==a.nodeType)return this.oe(a);return null};
ew.prototype.oe=function(a){if(a.firstElementChild&&a.firstElementChild.firstElementChild)for(a=a.firstElementChild.firstElementChild,a=a.firstElementChild;a;a=a.nextElementSibling)if(0!==a.childNodes.length&&(1!==a.childNodes.length||3!==a.firstChild.nodeType)){var c=[{}];this.b.le(a,c);return Ce(c.pop().srsName)}return null};function rw(a){a=a?a:{};this.defaultDataProjection=null;this.b=void 0!==a.splitCollection?a.splitCollection:!1}w(rw,it);function sw(a){a=a.U();return 0===a.length?"":a[0]+" "+a[1]}function tw(a){a=a.U();for(var c=[],d=0,e=a.length;d<e;++d)c.push(a[d][0]+" "+a[d][1]);return c.join(",")}function uw(a){var c=[];a=a.Dd();for(var d=0,e=a.length;d<e;++d)c.push("("+tw(a[d])+")");return c.join(",")}function vw(a){var c=a.W();a=(0,ww[c])(a);c=c.toUpperCase();return 0===a.length?c+" EMPTY":c+"("+a+")"}
var ww={Point:sw,LineString:tw,Polygon:uw,MultiPoint:function(a){var c=[];a=a.Yd();for(var d=0,e=a.length;d<e;++d)c.push("("+sw(a[d])+")");return c.join(",")},MultiLineString:function(a){var c=[];a=a.Xc();for(var d=0,e=a.length;d<e;++d)c.push("("+tw(a[d])+")");return c.join(",")},MultiPolygon:function(a){var c=[];a=a.Fd();for(var d=0,e=a.length;d<e;++d)c.push("("+uw(a[d])+")");return c.join(",")},GeometryCollection:function(a){var c=[];a=a.Rf();for(var d=0,e=a.length;d<e;++d)c.push(vw(a[d]));return c.join(",")}};
l=rw.prototype;l.ed=function(a,c){var d=this.gd(a,c);if(d){var e=new Q;e.za(d);return e}return null};l.pf=function(a,c){var d=[],e=this.gd(a,c);this.b&&"GeometryCollection"==e.W()?d=e.f:d=[e];for(var f=[],g=0,h=d.length;g<h;++g)e=new Q,e.za(d[g]),f.push(e);return f};l.gd=function(a,c){var d;d=new xw(new yw(a));d.b=zw(d.a);return(d=Aw(d))?Mr(d,!1,c):null};l.te=function(a,c){var d=a.V();return d?this.ld(d,c):""};
l.vh=function(a,c){if(1==a.length)return this.te(a[0],c);for(var d=[],e=0,f=a.length;e<f;++e)d.push(a[e].V());d=new $m(d);return this.ld(d,c)};l.ld=function(a,c){return vw(Mr(a,!0,c))};function yw(a){this.a=a;this.b=-1}function Bw(a,c){return"0"<=a&&"9">=a||"."==a&&!(void 0!==c&&c)}
function zw(a){var c=a.a.charAt(++a.b),d={position:a.b,value:c};if("("==c)d.type=2;else if(","==c)d.type=5;else if(")"==c)d.type=3;else if(Bw(c)||"-"==c){d.type=4;var e,c=a.b,f=!1,g=!1;do{if("."==e)f=!0;else if("e"==e||"E"==e)g=!0;e=a.a.charAt(++a.b)}while(Bw(e,f)||!g&&("e"==e||"E"==e)||g&&("-"==e||"+"==e));a=parseFloat(a.a.substring(c,a.b--));d.value=a}else if("a"<=c&&"z">=c||"A"<=c&&"Z">=c){d.type=1;c=a.b;do e=a.a.charAt(++a.b);while("a"<=e&&"z">=e||"A"<=e&&"Z">=e);a=a.a.substring(c,a.b--).toUpperCase();
d.value=a}else{if(" "==c||"\t"==c||"\r"==c||"\n"==c)return zw(a);if(""===c)d.type=6;else throw Error("Unexpected character: "+c);}return d}function xw(a){this.a=a}l=xw.prototype;l.match=function(a){if(a=this.b.type==a)this.b=zw(this.a);return a};
function Aw(a){var c=a.b;if(a.match(1)){var d=c.value;if("GEOMETRYCOLLECTION"==d){a:{if(a.match(2)){c=[];do c.push(Aw(a));while(a.match(5));if(a.match(3)){a=c;break a}}else if(Cw(a)){a=[];break a}throw Error(Dw(a));}return new $m(a)}var e=Ew[d],c=Fw[d];if(!e||!c)throw Error("Invalid geometry type: "+d);a=e.call(a);return new c(a)}throw Error(Dw(a));}l.kf=function(){if(this.match(2)){var a=Gw(this);if(this.match(3))return a}else if(Cw(this))return null;throw Error(Dw(this));};
l.jf=function(){if(this.match(2)){var a=Hw(this);if(this.match(3))return a}else if(Cw(this))return[];throw Error(Dw(this));};l.lf=function(){if(this.match(2)){var a=Iw(this);if(this.match(3))return a}else if(Cw(this))return[];throw Error(Dw(this));};l.Ym=function(){if(this.match(2)){var a;if(2==this.b.type)for(a=[this.kf()];this.match(5);)a.push(this.kf());else a=Hw(this);if(this.match(3))return a}else if(Cw(this))return[];throw Error(Dw(this));};
l.Xm=function(){if(this.match(2)){var a=Iw(this);if(this.match(3))return a}else if(Cw(this))return[];throw Error(Dw(this));};l.Zm=function(){if(this.match(2)){for(var a=[this.lf()];this.match(5);)a.push(this.lf());if(this.match(3))return a}else if(Cw(this))return[];throw Error(Dw(this));};function Gw(a){for(var c=[],d=0;2>d;++d){var e=a.b;if(a.match(4))c.push(e.value);else break}if(2==c.length)return c;throw Error(Dw(a));}function Hw(a){for(var c=[Gw(a)];a.match(5);)c.push(Gw(a));return c}
function Iw(a){for(var c=[a.jf()];a.match(5);)c.push(a.jf());return c}function Cw(a){var c=1==a.b.type&&"EMPTY"==a.b.value;c&&(a.b=zw(a.a));return c}function Dw(a){return"Unexpected `"+a.b.value+"` at position "+a.b.position+" in `"+a.a.a+"`"}var Fw={POINT:D,LINESTRING:L,POLYGON:E,MULTIPOINT:kn,MULTILINESTRING:O,MULTIPOLYGON:P},Ew={POINT:xw.prototype.kf,LINESTRING:xw.prototype.jf,POLYGON:xw.prototype.lf,MULTIPOINT:xw.prototype.Ym,MULTILINESTRING:xw.prototype.Xm,MULTIPOLYGON:xw.prototype.Zm};function Jw(){this.version=void 0}w(Jw,Cv);Jw.prototype.a=function(a){for(a=a.firstChild;a;a=a.nextSibling)if(1==a.nodeType)return this.b(a);return null};Jw.prototype.b=function(a){this.version=a.getAttribute("version").trim();return(a=U({version:this.version},Kw,a,[]))?a:null};function Lw(a,c){return U({},Mw,a,c)}function Nw(a,c){return U({},Ow,a,c)}function Pw(a,c){var d=Lw(a,c);if(d){var e=[ks(a.getAttribute("width")),ks(a.getAttribute("height"))];d.size=e;return d}}
function Qw(a,c){return U([],Rw,a,c)}
var Sw=[null,"http://www.opengis.net/wms"],Kw=T(Sw,{Service:R(function(a,c){return U({},Tw,a,c)}),Capability:R(function(a,c){return U({},Uw,a,c)})}),Uw=T(Sw,{Request:R(function(a,c){return U({},Vw,a,c)}),Exception:R(function(a,c){return U([],Ww,a,c)}),Layer:R(function(a,c){return U({},Xw,a,c)})}),Tw=T(Sw,{Name:R(X),Title:R(X),Abstract:R(X),KeywordList:R(Qw),OnlineResource:R(Bv),ContactInformation:R(function(a,c){return U({},Yw,a,c)}),Fees:R(X),AccessConstraints:R(X),LayerLimit:R(js),MaxWidth:R(js),
MaxHeight:R(js)}),Yw=T(Sw,{ContactPersonPrimary:R(function(a,c){return U({},Zw,a,c)}),ContactPosition:R(X),ContactAddress:R(function(a,c){return U({},$w,a,c)}),ContactVoiceTelephone:R(X),ContactFacsimileTelephone:R(X),ContactElectronicMailAddress:R(X)}),Zw=T(Sw,{ContactPerson:R(X),ContactOrganization:R(X)}),$w=T(Sw,{AddressType:R(X),Address:R(X),City:R(X),StateOrProvince:R(X),PostCode:R(X),Country:R(X)}),Ww=T(Sw,{Format:pp(X)}),Xw=T(Sw,{Name:R(X),Title:R(X),Abstract:R(X),KeywordList:R(Qw),CRS:rp(X),
EX_GeographicBoundingBox:R(function(a,c){var d=U({},ax,a,c);if(d){var e=d.westBoundLongitude,f=d.southBoundLatitude,g=d.eastBoundLongitude,d=d.northBoundLatitude;return void 0===e||void 0===f||void 0===g||void 0===d?void 0:[e,f,g,d]}}),BoundingBox:rp(function(a){var c=[is(a.getAttribute("minx")),is(a.getAttribute("miny")),is(a.getAttribute("maxx")),is(a.getAttribute("maxy"))],d=[is(a.getAttribute("resx")),is(a.getAttribute("resy"))];return{crs:a.getAttribute("CRS"),extent:c,res:d}}),Dimension:rp(function(a){return{name:a.getAttribute("name"),
units:a.getAttribute("units"),unitSymbol:a.getAttribute("unitSymbol"),"default":a.getAttribute("default"),multipleValues:fs(a.getAttribute("multipleValues")),nearestValue:fs(a.getAttribute("nearestValue")),current:fs(a.getAttribute("current")),values:X(a)}}),Attribution:R(function(a,c){return U({},bx,a,c)}),AuthorityURL:rp(function(a,c){var d=Lw(a,c);if(d)return d.name=a.getAttribute("name"),d}),Identifier:rp(X),MetadataURL:rp(function(a,c){var d=Lw(a,c);if(d)return d.type=a.getAttribute("type"),
d}),DataURL:rp(Lw),FeatureListURL:rp(Lw),Style:rp(function(a,c){return U({},cx,a,c)}),MinScaleDenominator:R(hs),MaxScaleDenominator:R(hs),Layer:rp(function(a,c){var d=c[c.length-1],e=U({},Xw,a,c);if(e){var f=fs(a.getAttribute("queryable"));void 0===f&&(f=d.queryable);e.queryable=void 0!==f?f:!1;f=ks(a.getAttribute("cascaded"));void 0===f&&(f=d.cascaded);e.cascaded=f;f=fs(a.getAttribute("opaque"));void 0===f&&(f=d.opaque);e.opaque=void 0!==f?f:!1;f=fs(a.getAttribute("noSubsets"));void 0===f&&(f=d.noSubsets);
e.noSubsets=void 0!==f?f:!1;(f=is(a.getAttribute("fixedWidth")))||(f=d.fixedWidth);e.fixedWidth=f;(f=is(a.getAttribute("fixedHeight")))||(f=d.fixedHeight);e.fixedHeight=f;["Style","CRS","AuthorityURL"].forEach(function(a){if(a in d){var c=Ub(e,a),c=c.concat(d[a]);e[a]=c}});"EX_GeographicBoundingBox BoundingBox Dimension Attribution MinScaleDenominator MaxScaleDenominator".split(" ").forEach(function(a){a in e||(e[a]=d[a])});return e}})}),bx=T(Sw,{Title:R(X),OnlineResource:R(Bv),LogoURL:R(Pw)}),ax=
T(Sw,{westBoundLongitude:R(hs),eastBoundLongitude:R(hs),southBoundLatitude:R(hs),northBoundLatitude:R(hs)}),Vw=T(Sw,{GetCapabilities:R(Nw),GetMap:R(Nw),GetFeatureInfo:R(Nw)}),Ow=T(Sw,{Format:rp(X),DCPType:rp(function(a,c){return U({},dx,a,c)})}),dx=T(Sw,{HTTP:R(function(a,c){return U({},ex,a,c)})}),ex=T(Sw,{Get:R(Lw),Post:R(Lw)}),cx=T(Sw,{Name:R(X),Title:R(X),Abstract:R(X),LegendURL:rp(Pw),StyleSheetURL:R(Lw),StyleURL:R(Lw)}),Mw=T(Sw,{Format:R(X),OnlineResource:R(Bv)}),Rw=T(Sw,{Keyword:pp(X)});function fx(){this.c="http://mapserver.gis.umn.edu/mapserver";this.b=new ps;this.defaultDataProjection=null}w(fx,as);
fx.prototype.Lb=function(a,c){var d={featureType:this.featureType,featureNS:this.featureNS};c&&Yb(d,Kr(this,a,c));var e=[d];a.namespaceURI=this.c;var f=Yo(a),d=[];if(0!==a.childNodes.length){if("msGMLOutput"==f)for(var g=0,h=a.childNodes.length;g<h;g++){var k=a.childNodes[g];if(1===k.nodeType){var m=e[0],n=k.localName.replace("_layer","")+"_feature";m.featureType=n;m.featureNS=this.c;var p={};p[n]=pp(this.b.nf,this.b);m=T([m.featureNS,null],p);k.namespaceURI=this.c;(k=U([],m,k,e,this.b))&&hb(d,k)}}"FeatureCollection"==
f&&(e=U([],this.b.b,a,[{}],this.b))&&(d=e)}return d};function gx(){this.f=new Dv}w(gx,Cv);gx.prototype.a=function(a){for(a=a.firstChild;a;a=a.nextSibling)if(1==a.nodeType)return this.b(a);return null};gx.prototype.b=function(a){this.version=a.getAttribute("version").trim();var c=this.f.b(a);if(!c)return null;c.version=this.version;return(c=U(c,hx,a,[]))?c:null};function ix(a){var c=X(a).split(" ");if(c&&2==c.length)return a=+c[0],c=+c[1],isNaN(a)||isNaN(c)?void 0:[a,c]}
var jx=[null,"http://www.opengis.net/wmts/1.0"],kx=[null,"http://www.opengis.net/ows/1.1"],hx=T(jx,{Contents:R(function(a,c){return U({},lx,a,c)})}),lx=T(jx,{Layer:rp(function(a,c){return U({},mx,a,c)}),TileMatrixSet:rp(function(a,c){return U({},nx,a,c)})}),mx=T(jx,{Style:rp(function(a,c){var d=U({},ox,a,c);if(d){var e="true"===a.getAttribute("isDefault");d.isDefault=e;return d}}),Format:rp(X),TileMatrixSetLink:rp(function(a,c){return U({},px,a,c)}),ResourceURL:rp(function(a){var c=a.getAttribute("format"),
d=a.getAttribute("template");a=a.getAttribute("resourceType");var e={};c&&(e.format=c);d&&(e.template=d);a&&(e.resourceType=a);return e})},T(kx,{Title:R(X),Abstract:R(X),WGS84BoundingBox:R(function(a,c){var d=U([],qx,a,c);return 2!=d.length?void 0:Md(d)}),Identifier:R(X)})),ox=T(jx,{LegendURL:rp(function(a){var c={};c.format=a.getAttribute("format");c.href=Bv(a);return c})},T(kx,{Title:R(X),Identifier:R(X)})),px=T(jx,{TileMatrixSet:R(X)}),qx=T(kx,{LowerCorner:pp(ix),UpperCorner:pp(ix)}),nx=T(jx,{WellKnownScaleSet:R(X),
TileMatrix:rp(function(a,c){return U({},rx,a,c)})},T(kx,{SupportedCRS:R(X),Identifier:R(X)})),rx=T(jx,{TopLeftCorner:R(ix),ScaleDenominator:R(hs),TileWidth:R(js),TileHeight:R(js),MatrixWidth:R(js),MatrixHeight:R(js)},T(kx,{Identifier:R(X)}));var sx=new xe(6378137);function tx(a){jd.call(this);a=a||{};this.a=null;this.f=We;this.c=void 0;B(this,ld("projection"),this.Bk,!1,this);B(this,ld("tracking"),this.Ck,!1,this);void 0!==a.projection&&this.mg(Ce(a.projection));void 0!==a.trackingOptions&&this.mh(a.trackingOptions);this.Ud(void 0!==a.tracking?a.tracking:!1)}w(tx,jd);l=tx.prototype;l.Y=function(){this.Ud(!1);tx.ba.Y.call(this)};l.Bk=function(){var a=this.kg();a&&(this.f=Ge(Ce("EPSG:4326"),a),this.a&&this.set("position",this.f(this.a)))};
l.Ck=function(){if(cj){var a=this.lg();a&&void 0===this.c?this.c=ba.navigator.geolocation.watchPosition(qa(this.fn,this),qa(this.gn,this),this.Yf()):a||void 0===this.c||(ba.navigator.geolocation.clearWatch(this.c),this.c=void 0)}};
l.fn=function(a){a=a.coords;this.set("accuracy",a.accuracy);this.set("altitude",null===a.altitude?void 0:a.altitude);this.set("altitudeAccuracy",null===a.altitudeAccuracy?void 0:a.altitudeAccuracy);this.set("heading",null===a.heading?void 0:yb(a.heading));this.a?(this.a[0]=a.longitude,this.a[1]=a.latitude):this.a=[a.longitude,a.latitude];var c=this.f(this.a);this.set("position",c);this.set("speed",null===a.speed?void 0:a.speed);a=Kf(sx,this.a,a.accuracy);a.Ob(this.f);this.set("accuracyGeometry",a);
this.s()};l.gn=function(a){a.type="error";this.Ud(!1);C(this,a)};l.Ai=function(){return this.get("accuracy")};l.Bi=function(){return this.get("accuracyGeometry")||null};l.Di=function(){return this.get("altitude")};l.Ei=function(){return this.get("altitudeAccuracy")};l.zk=function(){return this.get("heading")};l.Ak=function(){return this.get("position")};l.kg=function(){return this.get("projection")};l.jj=function(){return this.get("speed")};l.lg=function(){return this.get("tracking")};l.Yf=function(){return this.get("trackingOptions")};
l.mg=function(a){this.set("projection",a)};l.Ud=function(a){this.set("tracking",a)};l.mh=function(a){this.set("trackingOptions",a)};function ux(a,c,d){for(var e=[],f=a(0),g=a(1),h=c(f),k=c(g),m=[g,f],n=[k,h],p=[1,0],q={},r=1E5,u,y,A,F,z;0<--r&&0<p.length;)A=p.pop(),f=m.pop(),h=n.pop(),g=A.toString(),g in q||(e.push(h[0],h[1]),q[g]=!0),F=p.pop(),g=m.pop(),k=n.pop(),z=(A+F)/2,u=a(z),y=c(u),Sa(y[0],y[1],h[0],h[1],k[0],k[1])<d?(e.push(k[0],k[1]),g=F.toString(),q[g]=!0):(p.push(F,z,z,A),n.push(k,y,y,h),m.push(g,u,u,f));return e}function vx(a,c,d,e,f){var g=Ce("EPSG:4326");return ux(function(e){return[a,c+(d-c)*e]},Ve(g,e),f)}
function wx(a,c,d,e,f){var g=Ce("EPSG:4326");return ux(function(e){return[c+(d-c)*e,a]},Ve(g,e),f)};function xx(a){a=a||{};this.g=this.l=null;this.c=this.j=Infinity;this.f=this.i=-Infinity;this.B=this.u=Infinity;this.ca=this.N=-Infinity;this.T=void 0!==a.targetSize?a.targetSize:100;this.ka=void 0!==a.maxLines?a.maxLines:100;this.b=[];this.a=[];this.I=void 0!==a.strokeStyle?a.strokeStyle:yx;this.v=this.C=void 0;this.A=null;this.setMap(void 0!==a.map?a.map:null)}var yx=new Al({color:"rgba(0,0,0,0.2)"}),zx=[90,45,30,20,10,5,2,1,.5,.2,.1,.05,.01,.005,.002,.001];
function Ax(a,c,d,e,f,g,h){var k=h;c=vx(c,d,e,a.g,f);k=void 0!==a.b[k]?a.b[k]:new L(null);gn(k,"XY",c);ke(k.R(),g)&&(a.b[h++]=k);return h}function Bx(a,c,d,e,f){var g=f;c=wx(c,a.f,a.c,a.g,d);g=void 0!==a.a[g]?a.a[g]:new L(null);gn(g,"XY",c);ke(g.R(),e)&&(a.a[f++]=g);return f}l=xx.prototype;l.Dk=function(){return this.l};l.Zi=function(){return this.b};l.dj=function(){return this.a};
l.bg=function(a){var c=a.vectorContext,d=a.frameState,e=d.extent;a=d.viewState;var f=a.center,g=a.projection,h=a.resolution;a=d.pixelRatio;a=h*h/(4*a*a);if(!this.g||!Ue(this.g,g)){var k=Ce("EPSG:4326"),m=g.R(),n=g.i,p=Ye(n,k,g),q=n[2],r=n[1],u=n[0],y=p[3],A=p[2],F=p[1],p=p[0];this.j=n[3];this.c=q;this.i=r;this.f=u;this.u=y;this.B=A;this.N=F;this.ca=p;this.C=Ve(k,g);this.v=Ve(g,k);this.A=this.v(ge(m));this.g=g}k=0;g.c&&(g=g.R(),k=le(g),d=d.focus[0],d<g[0]||d>g[2])&&(k*=Math.ceil((g[0]-d)/k),e=[e[0]+
k,e[1],e[2]+k,e[3]]);d=this.A[0];g=this.A[1];k=-1;n=Math.pow(this.T*h,2);q=[];r=[];h=0;for(m=zx.length;h<m;++h){u=zx[h]/2;q[0]=d-u;q[1]=g-u;r[0]=d+u;r[1]=g+u;this.C(q,q);this.C(r,r);u=Math.pow(r[0]-q[0],2)+Math.pow(r[1]-q[1],2);if(u<=n)break;k=zx[h]}h=k;if(-1==h)this.b.length=this.a.length=0;else{d=this.v(f);f=d[0];d=d[1];g=this.ka;k=[Math.max(e[0],this.ca),Math.max(e[1],this.N),Math.min(e[2],this.B),Math.min(e[3],this.u)];k=Ye(k,this.g,"EPSG:4326");n=k[3];r=k[1];f=Math.floor(f/h)*h;q=Qa(f,this.f,
this.c);m=Ax(this,q,r,n,a,e,0);for(k=0;q!=this.f&&k++<g;)q=Math.max(q-h,this.f),m=Ax(this,q,r,n,a,e,m);q=Qa(f,this.f,this.c);for(k=0;q!=this.c&&k++<g;)q=Math.min(q+h,this.c),m=Ax(this,q,r,n,a,e,m);this.b.length=m;d=Math.floor(d/h)*h;f=Qa(d,this.i,this.j);m=Bx(this,f,a,e,0);for(k=0;f!=this.i&&k++<g;)f=Math.max(f-h,this.i),m=Bx(this,f,a,e,m);f=Qa(d,this.i,this.j);for(k=0;f!=this.j&&k++<g;)f=Math.min(f+h,this.j),m=Bx(this,f,a,e,m);this.a.length=m}c.Ia(null,this.I);a=0;for(f=this.b.length;a<f;++a)h=this.b[a],
c.yb(h,null);a=0;for(f=this.a.length;a<f;++a)h=this.a[a],c.yb(h,null)};l.setMap=function(a){this.l&&(this.l.J("postcompose",this.bg,this),this.l.render());a&&(a.D("postcompose",this.bg,this),a.render());this.l=a};function Cx(a,c,d,e,f,g,h){ik.call(this,a,c,d,0,e);this.l=f;this.a=new Image;g&&(this.a.crossOrigin=g);this.f={};this.c=null;this.state=0;this.i=h}w(Cx,ik);Cx.prototype.b=function(a){if(void 0!==a){var c=v(a);if(c in this.f)return this.f[c];a=Rb(this.f)?this.a:this.a.cloneNode(!1);return this.f[c]=a}return this.a};Cx.prototype.C=function(){this.state=3;this.c.forEach($c);this.c=null;jk(this)};
Cx.prototype.A=function(){void 0===this.resolution&&(this.resolution=ie(this.extent)/this.a.height);this.state=2;this.c.forEach($c);this.c=null;jk(this)};Cx.prototype.load=function(){0==this.state&&(this.state=1,jk(this),this.c=[Yc(this.a,"error",this.C,!1,this),Yc(this.a,"load",this.A,!1,this)],this.i(this,this.l))};function Dx(a,c,d,e,f){Ah.call(this,a,c);this.i=d;this.a=new Image;e&&(this.a.crossOrigin=e);this.c={};this.g=null;this.l=f}w(Dx,Ah);l=Dx.prototype;l.Y=function(){1==this.state&&Ex(this);Dx.ba.Y.call(this)};l.Qa=function(a){if(void 0!==a){var c=v(a);if(c in this.c)return this.c[c];a=Rb(this.c)?this.a:this.a.cloneNode(!1);return this.c[c]=a}return this.a};l.jb=function(){return this.i};l.Ek=function(){this.state=3;Ex(this);Bh(this)};
l.Fk=function(){this.state=this.a.naturalWidth&&this.a.naturalHeight?2:4;Ex(this);Bh(this)};l.load=function(){0==this.state&&(this.state=1,Bh(this),this.g=[Yc(this.a,"error",this.Ek,!1,this),Yc(this.a,"load",this.Fk,!1,this)],this.l(this,this.i))};function Ex(a){a.g.forEach($c);a.g=null};function Fx(a,c,d){return function(e,f,g){return d(a,c,e,f,g)}}function Gx(){};function Hx(a,c){dd.call(this);this.b=new sr(this);var d=a;c&&(d=Hg(a));this.b.Pa(d,"dragenter",this.Pm);d!=a&&this.b.Pa(d,"dragover",this.Qm);this.b.Pa(a,"dragover",this.Rm);this.b.Pa(a,"drop",this.Sm)}w(Hx,dd);l=Hx.prototype;l.Uc=!1;l.Y=function(){Hx.ba.Y.call(this);this.b.Tc()};l.Pm=function(a){var c=a.b.dataTransfer;(this.Uc=!(!c||!(c.types&&(0<=Xa(c.types,"Files")||0<=Xa(c.types,"public.file-url"))||c.files&&0<c.files.length)))&&a.preventDefault()};
l.Qm=function(a){this.Uc&&(a.preventDefault(),a.b.dataTransfer.dropEffect="none")};l.Rm=function(a){if(this.Uc){a.preventDefault();a.c();a=a.b.dataTransfer;try{a.effectAllowed="all"}catch(c){}a.dropEffect="copy"}};l.Sm=function(a){this.Uc&&(a.preventDefault(),a.c(),a=new Bc(a.b),a.type="drop",C(this,a))};/*
 Portions of this code are from MochiKit, received by
 The Closure Authors under the MIT license. All other code is Copyright
 2005-2009 The Closure Authors. All Rights Reserved.
*/
function Ix(a,c){this.g=[];this.u=a;this.v=c||null;this.f=this.b=!1;this.c=void 0;this.C=this.B=this.i=!1;this.j=0;this.a=null;this.l=0}Ix.prototype.cancel=function(a){if(this.b)this.c instanceof Ix&&this.c.cancel();else{if(this.a){var c=this.a;delete this.a;a?c.cancel(a):(c.l--,0>=c.l&&c.cancel())}this.u?this.u.call(this.v,this):this.C=!0;this.b||(a=new Jx,Kx(this),Lx(this,!1,a))}};Ix.prototype.A=function(a,c){this.i=!1;Lx(this,a,c)};function Lx(a,c,d){a.b=!0;a.c=d;a.f=!c;Mx(a)}
function Kx(a){if(a.b){if(!a.C)throw new Nx;a.C=!1}}Ix.prototype.Lc=function(a){Kx(this);Lx(this,!0,a)};function Ox(a,c,d,e){a.g.push([c,d,e]);a.b&&Mx(a)}Ix.prototype.then=function(a,c,d){var e,f,g=new On(function(a,c){e=a;f=c});Ox(this,e,function(a){a instanceof Jx?g.cancel():f(a)});return g.then(a,c,d)};Bn(Ix);function Px(a){return bb(a.g,function(a){return ka(a[1])})}
function Mx(a){if(a.j&&a.b&&Px(a)){var c=a.j,d=Qx[c];d&&(ba.clearTimeout(d.ha),delete Qx[c]);a.j=0}a.a&&(a.a.l--,delete a.a);for(var c=a.c,e=d=!1;a.g.length&&!a.i;){var f=a.g.shift(),g=f[0],h=f[1],f=f[2];if(g=a.f?h:g)try{var k=g.call(f||a.v,c);ca(k)&&(a.f=a.f&&(k==c||k instanceof Error),a.c=c=k);if(Cn(c)||"function"===typeof ba.Promise&&c instanceof ba.Promise)e=!0,a.i=!0}catch(m){c=m,a.f=!0,Px(a)||(d=!0)}}a.c=c;e&&(k=qa(a.A,a,!0),e=qa(a.A,a,!1),c instanceof Ix?(Ox(c,k,e),c.B=!0):c.then(k,e));d&&
(c=new Rx(c),Qx[c.ha]=c,a.j=c.ha)}function Nx(){xa.call(this)}w(Nx,xa);Nx.prototype.message="Deferred has already fired";Nx.prototype.name="AlreadyCalledError";function Jx(){xa.call(this)}w(Jx,xa);Jx.prototype.message="Deferred was canceled";Jx.prototype.name="CanceledError";function Rx(a){this.ha=ba.setTimeout(qa(this.a,this),0);this.b=a}Rx.prototype.a=function(){delete Qx[this.ha];throw this.b;};var Qx={};function Sx(a,c){ca(a.name)?(this.name=a.name,this.code=Tx[a.name]):(this.code=a.code,this.name=Ux(a.code));xa.call(this,Aa("%s %s",this.name,c))}w(Sx,xa);function Ux(a){var c=Qb(Tx,function(c){return a==c});if(!ca(c))throw Error("Invalid code: "+a);return c}var Tx={AbortError:3,EncodingError:5,InvalidModificationError:9,InvalidStateError:7,NotFoundError:1,NotReadableError:4,NoModificationAllowedError:6,PathExistsError:12,QuotaExceededError:10,SecurityError:2,SyntaxError:8,TypeMismatchError:11};function Vx(a,c){wc.call(this,a.type,c)}w(Vx,wc);function Wx(){dd.call(this);this.ab=new FileReader;this.ab.onloadstart=qa(this.b,this);this.ab.onprogress=qa(this.b,this);this.ab.onload=qa(this.b,this);this.ab.onabort=qa(this.b,this);this.ab.onerror=qa(this.b,this);this.ab.onloadend=qa(this.b,this)}w(Wx,dd);Wx.prototype.getError=function(){return this.ab.error&&new Sx(this.ab.error,"reading file")};Wx.prototype.b=function(a){C(this,new Vx(a,this))};Wx.prototype.Y=function(){Wx.ba.Y.call(this);delete this.ab};
function Xx(a){var c=new Ix;a.Pa("loadend",ra(function(a,c){var f=c.ab.result,g=c.getError();null==f||g?(Kx(a),Lx(a,!1,g)):a.Lc(f);c.Tc()},c,a));return c};function Yx(a){a=a?a:{};Qk.call(this,{handleEvent:re});this.j=a.formatConstructors?a.formatConstructors:[];this.v=a.projection?Ce(a.projection):null;this.f=null;this.a=void 0}w(Yx,Qk);Yx.prototype.Y=function(){this.a&&$c(this.a);Yx.ba.Y.call(this)};Yx.prototype.i=function(a){a=a.b.dataTransfer.files;var c,d,e;c=0;for(d=a.length;c<d;++c){var f=e=a[c],g=new Wx,h=Xx(g);g.ab.readAsText(f,"");Ox(h,ra(this.l,e),null,this)}};
Yx.prototype.l=function(a,c){var d=this.A,e=this.v;e||(e=d.Z().g);var d=this.j,f=[],g,h;g=0;for(h=d.length;g<h;++g){var k=new d[g],m;try{m=k.sa(c)}catch(u){m=null}if(m){var k=k.Ha(c),k=Ve(k,e),n,p;n=0;for(p=m.length;n<p;++n){var q=m[n],r=q.V();r&&r.Ob(k);f.push(q)}}}C(this,new Zx($x,this,a,f,e))};Yx.prototype.setMap=function(a){this.a&&($c(this.a),this.a=void 0);this.f&&(vc(this.f),this.f=null);Yx.ba.setMap.call(this,a);a&&(this.f=new Hx(a.a),this.a=B(this.f,"drop",this.i,!1,this))};var $x="addfeatures";
function Zx(a,c,d,e,f){wc.call(this,a,c);this.features=e;this.file=d;this.projection=f}w(Zx,wc);function ay(a,c){this.x=a;this.y=c}w(ay,Dg);ay.prototype.clone=function(){return new ay(this.x,this.y)};ay.prototype.scale=Dg.prototype.scale;ay.prototype.add=function(a){this.x+=a.x;this.y+=a.y;return this};ay.prototype.rotate=function(a){var c=Math.cos(a);a=Math.sin(a);var d=this.y*c+this.x*a;this.x=this.x*c-this.y*a;this.y=d;return this};function by(a){a=a?a:{};cl.call(this,{handleDownEvent:cy,handleDragEvent:dy,handleUpEvent:ey});this.l=a.condition?a.condition:$k;this.a=this.f=void 0;this.i=0;this.v=a.duration?a.duration:400}w(by,cl);
function dy(a){if(bl(a)){var c=a.map,d=c.Ea();a=a.pixel;a=new ay(a[0]-d[0]/2,d[1]/2-a[1]);d=Math.atan2(a.y,a.x);a=Math.sqrt(a.x*a.x+a.y*a.y);var e=c.Z();c.render();if(void 0!==this.f){var f=d-this.f;Rk(c,e,e.va()-f)}this.f=d;void 0!==this.a&&(d=this.a*(e.aa()/a),Tk(c,e,d));void 0!==this.a&&(this.i=this.a/a);this.a=a}}
function ey(a){if(!bl(a))return!0;a=a.map;var c=a.Z();Uf(c,-1);var d=this.i-1,e=c.va(),e=c.constrainRotation(e,0);Rk(a,c,e,void 0,void 0);var e=c.aa(),f=this.v,e=c.constrainResolution(e,0,d);Tk(a,c,e,void 0,f);this.i=0;return!1}function cy(a){return bl(a)&&this.l(a)?(Uf(a.map.Z(),1),this.a=this.f=void 0,!0):!1};function fy(a,c){wc.call(this,a);this.feature=c}w(fy,wc);
function gy(a){cl.call(this,{handleDownEvent:hy,handleEvent:iy,handleUpEvent:jy});this.da=null;this.T=!1;this.nb=a.source?a.source:null;this.lb=a.features?a.features:null;this.Dh=a.snapTolerance?a.snapTolerance:12;this.$=a.type;this.f=ky(this.$);this.Na=a.minPoints?a.minPoints:this.f===ly?3:2;this.wa=a.maxPoints?a.maxPoints:Infinity;var c=a.geometryFunction;if(!c)if("Circle"===this.$)c=function(a,c){var d=c?c:new Ym([NaN,NaN]);d.uf(a[0],Math.sqrt(wd(a[0],a[1])));return d};else{var d,c=this.f;c===
my?d=D:c===ny?d=L:c===ly&&(d=E);c=function(a,c){var g=c;g?g.ja(a):g=new d(a);return g}}this.B=c;this.I=this.v=this.a=this.N=this.i=this.l=null;this.gi=a.clickTolerance?a.clickTolerance*a.clickTolerance:36;this.fa=new H({source:new V({useSpatialIndex:!1,wrapX:a.wrapX?a.wrapX:!1}),style:a.style?a.style:oy()});this.mb=a.geometryName;this.Wh=a.condition?a.condition:Zk;this.ra=a.freehandCondition?a.freehandCondition:$k;B(this,ld("active"),this.sh,!1,this)}w(gy,cl);
function oy(){var a=Ll();return function(c){return a[c.V().W()]}}l=gy.prototype;l.setMap=function(a){gy.ba.setMap.call(this,a);this.sh()};function iy(a){var c=!this.T;this.T&&a.type===ak?(py(this,a),c=!1):a.type===Zj?c=qy(this,a):a.type===Tj&&(c=!1);return dl.call(this,a)&&c}function hy(a){if(this.Wh(a))return this.da=a.pixel,!0;if(this.f!==ny&&this.f!==ly||!this.ra(a))return!1;this.da=a.pixel;this.T=!0;this.l||ry(this,a);return!0}
function jy(a){this.T=!1;var c=this.da,d=a.pixel,e=c[0]-d[0],c=c[1]-d[1],d=!0;e*e+c*c<=this.gi&&(qy(this,a),this.l?this.f===sy?this.Vc():ty(this,a)?this.Vc():py(this,a):(ry(this,a),this.f===my&&this.Vc()),d=!1);return d}
function qy(a,c){if(a.l){var d=c.coordinate,e=a.i.V(),f;a.f===my?f=a.a:a.f===ly?(f=a.a[0],f=f[f.length-1],ty(a,c)&&(d=a.l.slice())):(f=a.a,f=f[f.length-1]);f[0]=d[0];f[1]=d[1];a.B(a.a,e);a.N&&a.N.V().ja(d);e instanceof E&&a.f!==ly?(a.v||(a.v=new Q(new L(null))),e=e.Tf(0),d=a.v.V(),gn(d,e.a,e.o)):a.I&&(d=a.v.V(),d.ja(a.I));uy(a)}else d=c.coordinate.slice(),a.N?a.N.V().ja(d):(a.N=new Q(new D(d)),uy(a));return!0}
function ty(a,c){var d=!1;if(a.i){var e=!1,f=[a.l];a.f===ny?e=a.a.length>a.Na:a.f===ly&&(e=a.a[0].length>a.Na,f=[a.a[0][0],a.a[0][a.a[0].length-2]]);if(e)for(var e=c.map,g=0,h=f.length;g<h;g++){var k=f[g],m=e.Ba(k),n=c.pixel,d=n[0]-m[0],m=n[1]-m[1],n=a.T&&a.ra(c)?1:a.Dh;if(d=Math.sqrt(d*d+m*m)<=n){a.l=k;break}}}return d}
function ry(a,c){var d=c.coordinate;a.l=d;a.f===my?a.a=d.slice():a.f===ly?(a.a=[[d.slice(),d.slice()]],a.I=a.a[0]):(a.a=[d.slice(),d.slice()],a.f===sy&&(a.I=a.a));a.I&&(a.v=new Q(new L(a.I)));d=a.B(a.a);a.i=new Q;a.mb&&a.i.Dc(a.mb);a.i.za(d);uy(a);C(a,new fy("drawstart",a.i))}
function py(a,c){var d=c.coordinate,e=a.i.V(),f,g;if(a.f===ny)a.l=d.slice(),g=a.a,g.push(d.slice()),f=g.length>a.wa,a.B(g,e);else if(a.f===ly){g=a.a[0];g.push(d.slice());if(f=g.length>a.wa)a.l=g[0];a.B(a.a,e)}uy(a);f&&a.Vc()}l.Dn=function(){var a=this.i.V(),c,d;this.f===ny?(c=this.a,c.splice(-2,1),this.B(c,a)):this.f===ly&&(c=this.a[0],c.splice(-2,1),d=this.v.V(),d.ja(c),this.B(this.a,a));0===c.length&&(this.l=null);uy(this)};
l.Vc=function(){var a=vy(this),c=this.a,d=a.V();this.f===ny?(c.pop(),this.B(c,d)):this.f===ly&&(c[0].pop(),c[0].push(c[0][0]),this.B(c,d));"MultiPoint"===this.$?a.za(new kn([c])):"MultiLineString"===this.$?a.za(new O([c])):"MultiPolygon"===this.$&&a.za(new P([c]));C(this,new fy("drawend",a));this.lb&&this.lb.push(a);this.nb&&this.nb.yc(a)};function vy(a){a.l=null;var c=a.i;c&&(a.i=null,a.N=null,a.v=null,a.fa.ea().clear(!0));return c}
l.dl=function(a){var c=a.V();this.i=a;this.a=c.U();a=this.a[this.a.length-1];this.l=a.slice();this.a.push(a.slice());uy(this);C(this,new fy("drawstart",this.i))};l.ic=qe;function uy(a){var c=[];a.i&&c.push(a.i);a.v&&c.push(a.v);a.N&&c.push(a.N);a=a.fa.ea();a.clear(!0);a.Nb(c)}l.sh=function(){var a=this.A,c=this.c();a&&c||vy(this);this.fa.setMap(c?a:null)};
function ky(a){var c;"Point"===a||"MultiPoint"===a?c=my:"LineString"===a||"MultiLineString"===a?c=ny:"Polygon"===a||"MultiPolygon"===a?c=ly:"Circle"===a&&(c=sy);return c}var my="Point",ny="LineString",ly="Polygon",sy="Circle";function wy(a,c,d){wc.call(this,a);this.features=c;this.mapBrowserPointerEvent=d}w(wy,wc);
function xy(a){cl.call(this,{handleDownEvent:yy,handleDragEvent:zy,handleEvent:Ay,handleUpEvent:By});this.wa=a.deleteCondition?a.deleteCondition:we(Zk,Yk);this.ra=this.f=null;this.da=[0,0];this.B=this.T=!1;this.a=new Ep;this.N=void 0!==a.pixelTolerance?a.pixelTolerance:10;this.l=this.fa=!1;this.i=null;this.I=new H({source:new V({useSpatialIndex:!1,wrapX:!!a.wrapX}),style:a.style?a.style:Cy(),updateWhileAnimating:!0,updateWhileInteracting:!0});this.$={Point:this.kl,LineString:this.sg,LinearRing:this.sg,
Polygon:this.ll,MultiPoint:this.il,MultiLineString:this.hl,MultiPolygon:this.jl,GeometryCollection:this.gl};this.v=a.features;this.v.forEach(this.ef,this);B(this.v,"add",this.el,!1,this);B(this.v,"remove",this.fl,!1,this)}w(xy,cl);l=xy.prototype;l.ef=function(a){var c=a.V();c.W()in this.$&&this.$[c.W()].call(this,a,c);(c=this.A)&&Dy(this,this.da,c);B(a,"change",this.rg,!1,this)};function Ey(a,c){a.B||(a.B=!0,C(a,new wy("modifystart",a.v,c)))}
function Fy(a,c){Gy(a,c);a.f&&0===a.v.Gb()&&(a.I.ea().dc(a.f),a.f=null);Zc(c,"change",a.rg,!1,a)}function Gy(a,c){var d=a.a,e=[];d.forEach(function(a){c===a.feature&&e.push(a)});for(var f=e.length-1;0<=f;--f)d.remove(e[f])}l.setMap=function(a){this.I.setMap(a);xy.ba.setMap.call(this,a)};l.el=function(a){this.ef(a.element)};l.rg=function(a){this.l||(a=a.target,Fy(this,a),this.ef(a))};l.fl=function(a){Fy(this,a.element)};
l.kl=function(a,c){var d=c.U(),d={feature:a,geometry:c,ia:[d,d]};this.a.qa(c.R(),d)};l.il=function(a,c){var d=c.U(),e,f,g;f=0;for(g=d.length;f<g;++f)e=d[f],e={feature:a,geometry:c,depth:[f],index:f,ia:[e,e]},this.a.qa(c.R(),e)};l.sg=function(a,c){var d=c.U(),e,f,g,h;e=0;for(f=d.length-1;e<f;++e)g=d.slice(e,e+2),h={feature:a,geometry:c,index:e,ia:g},this.a.qa(Md(g),h)};
l.hl=function(a,c){var d=c.U(),e,f,g,h,k,m,n;h=0;for(k=d.length;h<k;++h)for(e=d[h],f=0,g=e.length-1;f<g;++f)m=e.slice(f,f+2),n={feature:a,geometry:c,depth:[h],index:f,ia:m},this.a.qa(Md(m),n)};l.ll=function(a,c){var d=c.U(),e,f,g,h,k,m,n;h=0;for(k=d.length;h<k;++h)for(e=d[h],f=0,g=e.length-1;f<g;++f)m=e.slice(f,f+2),n={feature:a,geometry:c,depth:[h],index:f,ia:m},this.a.qa(Md(m),n)};
l.jl=function(a,c){var d=c.U(),e,f,g,h,k,m,n,p,q,r;m=0;for(n=d.length;m<n;++m)for(p=d[m],h=0,k=p.length;h<k;++h)for(e=p[h],f=0,g=e.length-1;f<g;++f)q=e.slice(f,f+2),r={feature:a,geometry:c,depth:[h,m],index:f,ia:q},this.a.qa(Md(q),r)};l.gl=function(a,c){var d,e=c.f;for(d=0;d<e.length;++d)this.$[e[d].W()].call(this,a,e[d])};function Hy(a,c){var d=a.f;d?d.V().ja(c):(d=new Q(new D(c)),a.f=d,a.I.ea().yc(d))}function Iy(a,c){return a.index-c.index}
function yy(a){Dy(this,a.pixel,a.map);this.i=[];this.B=!1;var c=this.f;if(c){var d=[],c=c.V().U(),e=Md([c]),e=Hp(this.a,e),f={};e.sort(Iy);for(var g=0,h=e.length;g<h;++g){var k=e[g],m=k.ia,n=v(k.feature),p=k.depth;p&&(n+="-"+p.join("-"));f[n]||(f[n]=Array(2));if(ud(m[0],c)&&!f[n][0])this.i.push([k,0]),f[n][0]=k;else if(ud(m[1],c)&&!f[n][1]){if("LineString"!==k.geometry.W()&&"MultiLineString"!==k.geometry.W()||!f[n][0]||0!==f[n][0].index)this.i.push([k,1]),f[n][1]=k}else v(m)in this.ra&&!f[n][0]&&
!f[n][1]&&d.push([k,c])}d.length&&Ey(this,a);for(g=d.length-1;0<=g;--g)this.ak.apply(this,d[g])}return!!this.f}
function zy(a){this.T=!1;Ey(this,a);a=a.coordinate;for(var c=0,d=this.i.length;c<d;++c){for(var e=this.i[c],f=e[0],g=f.depth,h=f.geometry,k=h.U(),m=f.ia,e=e[1];a.length<h.G;)a.push(0);switch(h.W()){case "Point":k=a;m[0]=m[1]=a;break;case "MultiPoint":k[f.index]=a;m[0]=m[1]=a;break;case "LineString":k[f.index+e]=a;m[e]=a;break;case "MultiLineString":k[g[0]][f.index+e]=a;m[e]=a;break;case "Polygon":k[g[0]][f.index+e]=a;m[e]=a;break;case "MultiPolygon":k[g[1]][g[0]][f.index+e]=a,m[e]=a}f=h;this.l=!0;
f.ja(k);this.l=!1}Hy(this,a)}function By(a){for(var c,d=this.i.length-1;0<=d;--d)c=this.i[d][0],Fp(this.a,Md(c.ia),c);this.B&&(C(this,new wy("modifyend",this.v,a)),this.B=!1);return!1}
function Ay(a){if(!(a instanceof Pj))return!0;var c;a.map.Z().c.slice()[1]||a.type!=Zj||this.u||(this.da=a.pixel,Dy(this,a.pixel,a.map));if(this.f&&this.wa(a))if(a.type==Uj&&this.T)c=!0;else{this.f.V();Ey(this,a);c=this.i;var d={},e,f,g,h,k,m,n,p,q;for(k=c.length-1;0<=k;--k)if(g=c[k],p=g[0],h=p.geometry,f=h.U(),q=v(p.feature),p.depth&&(q+="-"+p.depth.join("-")),n=e=m=void 0,0===g[1]?(e=p,m=p.index):1==g[1]&&(n=p,m=p.index+1),q in d||(d[q]=[n,e,m]),g=d[q],void 0!==n&&(g[0]=n),void 0!==e&&(g[1]=e),
void 0!==g[0]&&void 0!==g[1]){e=f;q=!1;n=m-1;switch(h.W()){case "MultiLineString":f[p.depth[0]].splice(m,1);q=!0;break;case "LineString":f.splice(m,1);q=!0;break;case "MultiPolygon":e=e[p.depth[1]];case "Polygon":e=e[p.depth[0]],4<e.length&&(m==e.length-1&&(m=0),e.splice(m,1),q=!0,0===m&&(e.pop(),e.push(e[0]),n=e.length-1))}q&&(this.a.remove(g[0]),this.a.remove(g[1]),e=h,this.l=!0,e.ja(f),this.l=!1,f={depth:p.depth,feature:p.feature,geometry:p.geometry,index:n,ia:[g[0].ia[0],g[1].ia[1]]},this.a.qa(Md(f.ia),
f),Jy(this,h,m,p.depth,-1),this.f&&(this.I.ea().dc(this.f),this.f=null))}c=!0;C(this,new wy("modifyend",this.v,a));this.B=!1}a.type==Uj&&(this.T=!1);return dl.call(this,a)&&!c}
function Dy(a,c,d){function e(a,c){return xd(f,a.ia)-xd(f,c.ia)}var f=d.xa(c),g=d.xa([c[0]-a.N,c[1]+a.N]),h=d.xa([c[0]+a.N,c[1]-a.N]),g=Md([g,h]),g=Hp(a.a,g);if(0<g.length){g.sort(e);var h=g[0].ia,k=rd(f,h),m=d.Ba(k);if(Math.sqrt(wd(c,m))<=a.N){c=d.Ba(h[0]);d=d.Ba(h[1]);c=wd(m,c);d=wd(m,d);a.fa=Math.sqrt(Math.min(c,d))<=a.N;a.fa&&(k=c>d?h[1]:h[0]);Hy(a,k);d={};d[v(h)]=!0;c=1;for(m=g.length;c<m;++c)if(k=g[c].ia,ud(h[0],k[0])&&ud(h[1],k[1])||ud(h[0],k[1])&&ud(h[1],k[0]))d[v(k)]=!0;else break;a.ra=d;
return}}a.f&&(a.I.ea().dc(a.f),a.f=null)}
l.ak=function(a,c){for(var d=a.ia,e=a.feature,f=a.geometry,g=a.depth,h=a.index,k;c.length<f.G;)c.push(0);switch(f.W()){case "MultiLineString":k=f.U();k[g[0]].splice(h+1,0,c);break;case "Polygon":k=f.U();k[g[0]].splice(h+1,0,c);break;case "MultiPolygon":k=f.U();k[g[1]][g[0]].splice(h+1,0,c);break;case "LineString":k=f.U();k.splice(h+1,0,c);break;default:return}this.l=!0;f.ja(k);this.l=!1;k=this.a;k.remove(a);Jy(this,f,h,g,1);var m={ia:[d[0],c],feature:e,geometry:f,depth:g,index:h};k.qa(Md(m.ia),m);
this.i.push([m,1]);d={ia:[c,d[1]],feature:e,geometry:f,depth:g,index:h+1};k.qa(Md(d.ia),d);this.i.push([d,0]);this.T=!0};function Jy(a,c,d,e,f){Jp(a.a,c.R(),function(a){a.geometry===c&&(void 0===e||void 0===a.depth||ob(a.depth,e))&&a.index>d&&(a.index+=f)})}function Cy(){var a=Ll();return function(){return a.Point}};function Ky(a,c,d,e){wc.call(this,a);this.selected=c;this.deselected=d;this.mapBrowserEvent=e}w(Ky,wc);
function Ly(a){Qk.call(this,{handleEvent:My});a=a?a:{};this.u=a.condition?a.condition:Yk;this.l=a.addCondition?a.addCondition:qe;this.B=a.removeCondition?a.removeCondition:qe;this.N=a.toggleCondition?a.toggleCondition:$k;this.v=a.multi?a.multi:!1;this.j=a.filter?a.filter:re;var c;if(a.layers)if(ka(a.layers))c=a.layers;else{var d=a.layers;c=function(a){return sb(d,a)}}else c=re;this.i=c;this.a={};this.f=new H({source:new V({useSpatialIndex:!1,features:a.features,wrapX:a.wrapX}),style:a.style?a.style:
Ny(),updateWhileAnimating:!0,updateWhileInteracting:!0});a=this.f.ea().c;B(a,"add",this.ml,!1,this);B(a,"remove",this.pl,!1,this)}w(Ly,Qk);l=Ly.prototype;l.nl=function(){return this.f.ea().c};l.ol=function(a){a=v(a);return this.a[a]};
function My(a){if(!this.u(a))return!0;var c=this.l(a),d=this.B(a),e=this.N(a),f=!c&&!d&&!e,g=a.map,h=this.f.ea().c,k=[],m=[],n=!1;if(f)g.Wc(a.pixel,function(a,c){if(this.j(a,c)){m.push(a);var d=v(a);this.a[d]=c;return!this.v}},this,this.i),0<m.length&&1==h.Gb()&&h.item(0)==m[0]||(n=!0,0!==h.Gb()&&(k=Array.prototype.concat(h.a),h.clear()),h.Ze(m),0===m.length?Sb(this.a):0<k.length&&k.forEach(function(a){a=v(a);delete this.a[a]},this));else{g.Wc(a.pixel,function(a,f){if(!sb(h.a,a)){if((c||e)&&this.j(a,
f)){m.push(a);var g=v(a);this.a[g]=f}}else if(d||e)k.push(a),g=v(a),delete this.a[g]},this,this.i);for(f=k.length-1;0<=f;--f)h.remove(k[f]);h.Ze(m);if(0<m.length||0<k.length)n=!0}n&&C(this,new Ky("select",m,k,a));return Xk(a)}l.setMap=function(a){var c=this.A,d=this.f.ea().c;null===c||d.forEach(c.qh,c);Ly.ba.setMap.call(this,a);this.f.setMap(a);null===a||d.forEach(a.nh,a)};
function Ny(){var a=Ll();hb(a.Polygon,a.LineString);hb(a.GeometryCollection,a.LineString);return function(c){return a[c.V().W()]}}l.ml=function(a){a=a.element;var c=this.A;null===c||c.nh(a)};l.pl=function(a){a=a.element;var c=this.A;null===c||c.qh(a)};function Oy(a){cl.call(this,{handleEvent:Py,handleDownEvent:re,handleUpEvent:Qy});a=a?a:{};this.l=a.source?a.source:null;this.i=a.features?a.features:null;this.da=[];this.B={};this.N={};this.T={};this.v={};this.I=null;this.f=void 0!==a.pixelTolerance?a.pixelTolerance:10;this.fa=qa(Ry,this);this.a=new Ep;this.$={Point:this.vl,LineString:this.vg,LinearRing:this.vg,Polygon:this.wl,MultiPoint:this.tl,MultiLineString:this.sl,MultiPolygon:this.ul,GeometryCollection:this.rl}}w(Oy,cl);l=Oy.prototype;
l.ad=function(a,c){var d=void 0!==c?c:!0,e=a.V(),f=this.$[e.W()];if(f){var g=v(a);this.T[g]=e.R(Nd());f.call(this,a,e);d&&(this.N[g]=e.D("change",qa(this.zj,this,a),this),this.B[g]=a.D(ld(a.a),this.ql,this))}};l.xi=function(a){this.ad(a)};l.yi=function(a){this.bd(a)};l.tg=function(a){var c;a instanceof Op?c=a.feature:a instanceof sg&&(c=a.element);this.ad(c)};l.ug=function(a){var c;a instanceof Op?c=a.feature:a instanceof sg&&(c=a.element);this.bd(c)};
l.ql=function(a){a=a.g;this.bd(a,!0);this.ad(a,!0)};l.zj=function(a){if(this.u){var c=v(a);c in this.v||(this.v[c]=a)}else this.rh(a)};l.bd=function(a,c){var d=void 0!==c?c:!0,e=v(a),f=this.T[e];if(f){var g=this.a,h=[];Jp(g,f,function(c){a===c.feature&&h.push(c)});for(f=h.length-1;0<=f;--f)g.remove(h[f]);d&&($c(this.N[e]),delete this.N[e],$c(this.B[e]),delete this.B[e])}};
l.setMap=function(a){var c=this.A,d=this.da,e;this.i?e=this.i:this.l&&(e=this.l.zc());c&&(d.forEach(hd),d.length=0,e.forEach(this.yi,this));Oy.ba.setMap.call(this,a);a&&(this.i?(d.push(this.i.D("add",this.tg,this)),d.push(this.i.D("remove",this.ug,this))):this.l&&(d.push(this.l.D("addfeature",this.tg,this)),d.push(this.l.D("removefeature",this.ug,this))),e.forEach(this.xi,this))};l.ic=qe;l.rh=function(a){this.bd(a,!1);this.ad(a,!1)};
l.rl=function(a,c){var d,e=c.f;for(d=0;d<e.length;++d)this.$[e[d].W()].call(this,a,e[d])};l.vg=function(a,c){var d=c.U(),e,f,g,h;e=0;for(f=d.length-1;e<f;++e)g=d.slice(e,e+2),h={feature:a,ia:g},this.a.qa(Md(g),h)};l.sl=function(a,c){var d=c.U(),e,f,g,h,k,m,n;h=0;for(k=d.length;h<k;++h)for(e=d[h],f=0,g=e.length-1;f<g;++f)m=e.slice(f,f+2),n={feature:a,ia:m},this.a.qa(Md(m),n)};l.tl=function(a,c){var d=c.U(),e,f,g;f=0;for(g=d.length;f<g;++f)e=d[f],e={feature:a,ia:[e,e]},this.a.qa(c.R(),e)};
l.ul=function(a,c){var d=c.U(),e,f,g,h,k,m,n,p,q,r;m=0;for(n=d.length;m<n;++m)for(p=d[m],h=0,k=p.length;h<k;++h)for(e=p[h],f=0,g=e.length-1;f<g;++f)q=e.slice(f,f+2),r={feature:a,ia:q},this.a.qa(Md(q),r)};l.vl=function(a,c){var d=c.U(),d={feature:a,ia:[d,d]};this.a.qa(c.R(),d)};l.wl=function(a,c){var d=c.U(),e,f,g,h,k,m,n;h=0;for(k=d.length;h<k;++h)for(e=d[h],f=0,g=e.length-1;f<g;++f)m=e.slice(f,f+2),n={feature:a,ia:m},this.a.qa(Md(m),n)};
function Py(a){var c,d,e=a.pixel,f=a.coordinate;c=a.map;var g=c.xa([e[0]-this.f,e[1]+this.f]);d=c.xa([e[0]+this.f,e[1]-this.f]);var g=Md([g,d]),h=Hp(this.a,g),k=!1,g=!1,m=null;d=null;0<h.length&&(this.I=f,h.sort(this.fa),h=h[0].ia,m=rd(f,h),d=c.Ba(m),Math.sqrt(wd(e,d))<=this.f&&(g=!0,e=c.Ba(h[0]),f=c.Ba(h[1]),e=wd(d,e),f=wd(d,f),k=Math.sqrt(Math.min(e,f))<=this.f))&&(m=e>f?h[1]:h[0],d=c.Ba(m),d=[Math.round(d[0]),Math.round(d[1])]);c=m;g&&(a.coordinate=c.slice(0,2),a.pixel=d);return dl.call(this,a)}
function Qy(){var a=Mb(this.v);a.length&&(a.forEach(this.rh,this),this.v={});return!1}function Ry(a,c){return xd(this.I,a.ia)-xd(this.I,c.ia)};function Sy(a){cl.call(this,{handleDownEvent:Ty,handleDragEvent:Uy,handleMoveEvent:Vy,handleUpEvent:Wy});this.l=void 0;this.a=null;this.f=void 0!==a.features?a.features:null;this.i=null}w(Sy,cl);function Ty(a){this.i=Xy(this,a.pixel,a.map);return!this.a&&this.i?(this.a=a.coordinate,Vy.call(this,a),!0):!1}function Wy(a){return this.a?(this.a=null,Vy.call(this,a),!0):!1}
function Uy(a){if(this.a){a=a.coordinate;var c=a[0]-this.a[0],d=a[1]-this.a[1];if(this.f)this.f.forEach(function(a){var e=a.V();e.wc(c,d);a.za(e)});else if(this.i){var e=this.i.V();e.wc(c,d);this.i.za(e)}this.a=a}}
function Vy(a){var c=a.map.uc();if(a=a.map.Wc(a.pixel,function(a){return a})){var d=!1;this.f&&sb(this.f.a,a)&&(d=!0);this.l=c.style.cursor;c.style.cursor=this.a?"-webkit-grabbing":d?"-webkit-grab":"pointer";c.style.cursor=this.a?d?"grab":"pointer":"grabbing"}else c.style.cursor=void 0!==this.l?this.l:"",this.l=void 0}function Xy(a,c,d){var e=null;c=d.Wc(c,function(a){return a});a.f&&sb(a.f.a,c)&&(e=c);return e};function Y(a){a=a?a:{};var c=Vb(a);delete c.gradient;delete c.radius;delete c.blur;delete c.shadow;delete c.weight;H.call(this,c);this.f=null;this.$=void 0!==a.shadow?a.shadow:250;this.I=void 0;this.u=null;B(this,ld("gradient"),this.Aj,!1,this);this.hh(a.gradient?a.gradient:Yy);this.dh(void 0!==a.blur?a.blur:15);this.xg(void 0!==a.radius?a.radius:8);B(this,[ld("blur"),ld("radius")],this.cg,!1,this);this.cg();var d=a.weight?a.weight:"weight",e;ia(d)?e=function(a){return a.get(d)}:e=d;this.g(qa(function(a){a=
e(a);a=void 0!==a?Qa(a,0,1):1;var c=255*a|0,d=this.u[c];d||(d=[new Gl({image:new yk({opacity:a,src:this.I})})],this.u[c]=d);return d},this));this.set("renderOrder",null);B(this,"render",this.Sj,!1,this)}w(Y,H);var Yy=["#00f","#0ff","#0f0","#ff0","#f00"];l=Y.prototype;l.Pf=function(){return this.get("blur")};l.Sf=function(){return this.get("gradient")};l.wg=function(){return this.get("radius")};
l.Aj=function(){for(var a=this.Sf(),c=Ri(1,256),d=c.createLinearGradient(0,0,1,256),e=1/(a.length-1),f=0,g=a.length;f<g;++f)d.addColorStop(f*e,a[f]);c.fillStyle=d;c.fillRect(0,0,1,256);this.f=c.getImageData(0,0,1,256).data};l.cg=function(){var a=this.wg(),c=this.Pf(),d=a+c+1,e=2*d,e=Ri(e,e);e.shadowOffsetX=e.shadowOffsetY=this.$;e.shadowBlur=c;e.shadowColor="#000";e.beginPath();c=d-this.$;e.arc(c,c,a,0,2*Math.PI,!0);e.fill();this.I=e.canvas.toDataURL();this.u=Array(256);this.s()};
l.Sj=function(a){a=a.context;var c=a.canvas,c=a.getImageData(0,0,c.width,c.height),d=c.data,e,f,g;e=0;for(f=d.length;e<f;e+=4)if(g=4*d[e+3])d[e]=this.f[g],d[e+1]=this.f[g+1],d[e+2]=this.f[g+2];a.putImageData(c,0,0)};l.dh=function(a){this.set("blur",a)};l.hh=function(a){this.set("gradient",a)};l.xg=function(a){this.set("radius",a)};function Zy(a,c){var d=c||{},e=d.document||document,f=Pg("SCRIPT"),g={bh:f,jc:void 0},h=new Ix($y,g),k=null,m=null!=d.timeout?d.timeout:5E3;0<m&&(k=window.setTimeout(function(){az(f,!0);var c=new bz(cz,"Timeout reached for loading script "+a);Kx(h);Lx(h,!1,c)},m),g.jc=k);f.onload=f.onreadystatechange=function(){f.readyState&&"loaded"!=f.readyState&&"complete"!=f.readyState||(az(f,d.si||!1,k),h.Lc(null))};f.onerror=function(){az(f,!0,k);var c=new bz(dz,"Error while loading script "+a);Kx(h);Lx(h,!1,
c)};g=d.attributes||{};Yb(g,{type:"text/javascript",charset:"UTF-8",src:a});Jg(f,g);ez(e).appendChild(f);return h}function ez(a){var c=a.getElementsByTagName("HEAD");return c&&0!=c.length?c[0]:a.documentElement}function $y(){if(this&&this.bh){var a=this.bh;a&&"SCRIPT"==a.tagName&&az(a,!0,this.jc)}}function az(a,c,d){null!=d&&ba.clearTimeout(d);a.onload=da;a.onerror=da;a.onreadystatechange=da;c&&window.setTimeout(function(){Tg(a)},0)}var dz=0,cz=1;
function bz(a,c){var d="Jsloader error (code #"+a+")";c&&(d+=": "+c);xa.call(this,d);this.code=a}w(bz,xa);function fz(a,c){this.a=new nt(a);this.b=c?c:"callback";this.jc=5E3}var gz=0;function hz(a,c,d,e){c=c||null;var f="_"+(gz++).toString(36)+sa().toString(36);ba._callbacks_||(ba._callbacks_={});var g=a.a.clone();if(c)for(var h in c)if(!c.hasOwnProperty||c.hasOwnProperty(h)){var k=g,m=h,n=c[h];ga(n)||(n=[String(n)]);Gt(k.c,m,n)}d&&(ba._callbacks_[f]=iz(f,d),d=a.b,h="_callbacks_."+f,ga(h)||(h=[String(h)]),Gt(g.c,d,h));a=Zy(g.toString(),{timeout:a.jc,si:!0});Ox(a,null,jz(f,c,e),void 0)}
fz.prototype.cancel=function(a){a&&(a.ti&&a.ti.cancel(),a.ha&&kz(a.ha,!1))};function jz(a,c,d){return function(){kz(a,!1);d&&d(c)}}function iz(a,c){return function(d){kz(a,!0);c.apply(void 0,arguments)}}function kz(a,c){ba._callbacks_[a]&&(c?delete ba._callbacks_[a]:ba._callbacks_[a]=da)};function lz(a,c){var d=/\{z\}/g,e=/\{x\}/g,f=/\{y\}/g,g=/\{-y\}/g;return function(h){if(h)return a.replace(d,h[0].toString()).replace(e,h[1].toString()).replace(f,function(){return(-h[2]-1).toString()}).replace(g,function(){return(og(c.a?c.a[h[0]]:null)+h[2]).toString()})}}function mz(a,c){for(var d=a.length,e=Array(d),f=0;f<d;++f)e[f]=lz(a[f],c);return nz(e)}function nz(a){return 1===a.length?a[0]:function(c,d,e){if(c)return a[wb((c[1]<<c[0])+c[2],a.length)](c,d,e)}}function oz(){}
function pz(a){var c=[],d=/\{(\d)-(\d)\}/.exec(a)||/\{([a-z])-([a-z])\}/.exec(a);if(d){var e=d[2].charCodeAt(0),f;for(f=d[1].charCodeAt(0);f<=e;++f)c.push(a.replace(d[0],String.fromCharCode(f)))}else c.push(a);return c};function qz(a){Rh.call(this,{attributions:a.attributions,extent:a.extent,logo:a.logo,opaque:a.opaque,projection:a.projection,state:void 0!==a.state?a.state:void 0,tileGrid:a.tileGrid,tilePixelRatio:a.tilePixelRatio,wrapX:a.wrapX});this.tileUrlFunction=void 0!==a.tileUrlFunction?a.tileUrlFunction:oz;this.crossOrigin=void 0!==a.crossOrigin?a.crossOrigin:null;this.tileLoadFunction=void 0!==a.tileLoadFunction?a.tileLoadFunction:rz;this.tileClass=void 0!==a.tileClass?a.tileClass:Dx}w(qz,Rh);
function rz(a,c){a.Qa().src=c}l=qz.prototype;l.Sb=function(a,c,d,e,f){var g=this.hb(a,c,d);if(xh(this.a,g))return this.a.get(g);a=[a,c,d];e=(c=Uh(this,a,f))?this.tileUrlFunction(c,e,f):void 0;e=new this.tileClass(a,void 0!==e?0:4,void 0!==e?e:"",this.crossOrigin,this.tileLoadFunction);B(e,"change",this.$l,!1,this);this.a.set(g,e);return e};l.Ya=function(){return this.tileLoadFunction};l.Za=function(){return this.tileUrlFunction};
l.$l=function(a){a=a.target;switch(a.state){case 1:C(this,new Vh("tileloadstart",a));break;case 2:C(this,new Vh("tileloadend",a));break;case 3:C(this,new Vh("tileloaderror",a))}};l.cb=function(a){this.a.clear();this.tileLoadFunction=a;this.s()};l.Ga=function(a){this.a.clear();this.tileUrlFunction=a;this.s()};l.yf=function(a,c,d){a=this.hb(a,c,d);xh(this.a,a)&&this.a.get(a)};function sz(a){qz.call(this,{crossOrigin:"anonymous",opaque:!0,projection:Ce("EPSG:3857"),state:"loading",tileLoadFunction:a.tileLoadFunction,wrapX:void 0!==a.wrapX?a.wrapX:!0});this.g=void 0!==a.culture?a.culture:"en-us";this.f=void 0!==a.maxZoom?a.maxZoom:-1;var c=new nt("https://dev.virtualearth.net/REST/v1/Imagery/Metadata/"+a.imagerySet);hz(new fz(c,"jsonp"),{include:"ImageryProviders",uriScheme:"https",key:a.key},qa(this.l,this))}w(sz,qz);var tz=new rg({html:'<a class="ol-attribution-bing-tos" href="http://www.microsoft.com/maps/product/terms.html">Terms of Use</a>'});
sz.prototype.l=function(a){if(200!=a.statusCode||"OK"!=a.statusDescription||"ValidCredentials"!=a.authenticationResultCode||1!=a.resourceSets.length||1!=a.resourceSets[0].resources.length)Eh(this,"error");else{var c=a.brandLogoUri;-1==c.indexOf("https")&&(c=c.replace("http","https"));var d=a.resourceSets[0].resources[0],e=-1==this.f?d.zoomMax:this.f;a=ig(this.i);var f=Oh({extent:a,minZoom:d.zoomMin,maxZoom:e,tileSize:d.imageWidth==d.imageHeight?d.imageWidth:[d.imageWidth,d.imageHeight]});this.tileGrid=
f;var g=this.g;this.tileUrlFunction=nz(d.imageUrlSubdomains.map(function(a){var c=[0,0,0],e=d.imageUrl.replace("{subdomain}",a).replace("{culture}",g);return function(a){if(a)return cg(a[0],a[1],-a[2]-1,c),e.replace("{quadkey}",eg(c))}}));if(d.imageryProviders){var h=Ge(Ce("EPSG:4326"),this.i);a=d.imageryProviders.map(function(a){var c=a.attribution,d={};a.coverageAreas.forEach(function(a){var c=a.zoomMin,g=Math.min(a.zoomMax,e);a=a.bbox;a=oe([a[1],a[0],a[3],a[2]],h);var k,m;for(k=c;k<=g;++k)m=k.toString(),
c=kg(f,a,k),m in d?d[m].push(c):d[m]=[c]});return new rg({html:c,tileRanges:d})});a.push(tz);this.la(a)}this.T=c;Eh(this,"ready")}};function Z(a){V.call(this,{attributions:a.attributions,extent:a.extent,logo:a.logo,projection:a.projection});this.I=void 0;this.da=void 0!==a.distance?a.distance:20;this.B=[];this.u=a.source;this.u.D("change",Z.prototype.ra,this)}w(Z,V);Z.prototype.fa=function(){return this.u};Z.prototype.Wb=function(a,c,d){this.u.Wb(a,c,d);c!==this.I&&(this.clear(),this.I=c,uz(this),this.Nb(this.B))};Z.prototype.ra=function(){this.clear();uz(this);this.Nb(this.B);this.s()};
function uz(a){if(void 0!==a.I){a.B.length=0;for(var c=Nd(),d=a.da*a.I,e=a.u.zc(),f={},g=0,h=e.length;g<h;g++){var k=e[g];Ob(f,v(k).toString())||(k=k.V().U(),Yd(k,c),Rd(c,d,c),k=a.u.Ad(c),k=k.filter(function(a){a=v(a).toString();return a in f?!1:f[a]=!0}),a.B.push(vz(k)))}}}function vz(a){for(var c=a.length,d=[0,0],e=0;e<c;e++){var f=a[e].V().U();qd(d,f)}c=1/c;d[0]*=c;d[1]*=c;d=new Q(new D(d));d.set("features",a);return d};function wz(a){sn.call(this,{projection:a.projection,resolutions:a.resolutions});this.$=void 0!==a.crossOrigin?a.crossOrigin:null;this.g=void 0!==a.displayDpi?a.displayDpi:96;this.f=void 0!==a.params?a.params:{};var c;void 0!==a.url?c=Fx(a.url,this.f,qa(this.Gl,this)):c=Gx;this.I=c;this.a=void 0!==a.imageLoadFunction?a.imageLoadFunction:yn;this.da=void 0!==a.hidpi?a.hidpi:!0;this.X=void 0!==a.metersPerUnit?a.metersPerUnit:1;this.u=void 0!==a.ratio?a.ratio:1;this.fa=void 0!==a.useOverlay?a.useOverlay:
!1;this.c=null;this.B=0}w(wz,sn);l=wz.prototype;l.Fl=function(){return this.f};l.cc=function(a,c,d,e){c=tn(this,c);d=this.da?d:1;var f=this.c;if(f&&this.B==this.b&&f.aa()==c&&f.g==d&&Wd(f.R(),a))return f;1!=this.u&&(a=a.slice(),ne(a,this.u));e=this.I(a,[le(a)/c*d,ie(a)/c*d],e);void 0!==e?(f=new Cx(a,c,d,this.j,e,this.$,this.a),B(f,"change",this.l,!1,this)):f=null;this.c=f;this.B=this.b;return f};l.El=function(){return this.a};l.Il=function(a){Yb(this.f,a);this.s()};
l.Gl=function(a,c,d,e){var f=ge(d),g=this.X,h=le(d);d=ie(d);var k=e[0],m=e[1],n=.0254/this.g;e={OPERATION:this.fa?"GETDYNAMICMAPOVERLAYIMAGE":"GETMAPIMAGE",VERSION:"2.0.0",LOCALE:"en",CLIENTAGENT:"ol.source.ImageMapGuide source",CLIP:"1",SETDISPLAYDPI:this.g,SETDISPLAYWIDTH:Math.round(e[0]),SETDISPLAYHEIGHT:Math.round(e[1]),SETVIEWSCALE:m*h>k*d?h*g/(k*n):d*g/(m*n),SETVIEWCENTERX:f[0],SETVIEWCENTERY:f[1]};Yb(e,c);return so(uo([a],e))};l.Hl=function(a){this.c=null;this.a=a;this.s()};function xz(a){var c=void 0!==a.attributions?a.attributions:null,d=a.imageExtent,e,f;void 0!==a.imageSize&&(e=ie(d)/a.imageSize[1],f=[e]);var g=void 0!==a.crossOrigin?a.crossOrigin:null,h=void 0!==a.imageLoadFunction?a.imageLoadFunction:yn;sn.call(this,{attributions:c,logo:a.logo,projection:Ce(a.projection),resolutions:f});this.a=new Cx(d,e,1,c,a.url,g,h);B(this.a,"change",this.l,!1,this)}w(xz,sn);xz.prototype.cc=function(a){return ke(a,this.a.R())?this.a:null};function yz(a){a=a||{};sn.call(this,{attributions:a.attributions,logo:a.logo,projection:a.projection,resolutions:a.resolutions});this.da=void 0!==a.crossOrigin?a.crossOrigin:null;this.f=a.url;this.u=void 0!==a.imageLoadFunction?a.imageLoadFunction:yn;this.c=a.params;this.g=!0;zz(this);this.$=a.serverType;this.fa=void 0!==a.hidpi?a.hidpi:!0;this.a=null;this.B=[0,0];this.X=0;this.I=void 0!==a.ratio?a.ratio:1.5}w(yz,sn);var Az=[101,101];l=yz.prototype;
l.Ol=function(a,c,d,e){if(void 0!==this.f){var f=he(a,c,0,Az),g={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetFeatureInfo",FORMAT:"image/png",TRANSPARENT:!0,QUERY_LAYERS:this.c.LAYERS};Yb(g,this.c,e);e=Math.floor((f[3]-a[1])/c);g[this.g?"I":"X"]=Math.floor((a[0]-f[0])/c);g[this.g?"J":"Y"]=e;return Bz(this,f,Az,1,Ce(d),g)}};l.Ql=function(){return this.c};
l.cc=function(a,c,d,e){if(void 0===this.f)return null;c=tn(this,c);1==d||this.fa&&void 0!==this.$||(d=1);a=a.slice();var f=(a[0]+a[2])/2,g=(a[1]+a[3])/2;if(1!=this.I){var h=this.I*le(a)/2,k=this.I*ie(a)/2;a[0]=f-h;a[1]=g-k;a[2]=f+h;a[3]=g+k}var m=c/d,h=Math.ceil(le(a)/m),k=Math.ceil(ie(a)/m);a[0]=f-m*h/2;a[2]=f+m*h/2;a[1]=g-m*k/2;a[3]=g+m*k/2;if((f=this.a)&&this.X==this.b&&f.aa()==c&&f.g==d&&Wd(f.R(),a))return f;f={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0};
Yb(f,this.c);this.B[0]=h;this.B[1]=k;e=Bz(this,a,this.B,d,e,f);this.a=new Cx(a,c,d,this.j,e,this.da,this.u);this.X=this.b;B(this.a,"change",this.l,!1,this);return this.a};l.Pl=function(){return this.u};
function Bz(a,c,d,e,f,g){g[a.g?"CRS":"SRS"]=f.b;"STYLES"in a.c||(g.STYLES=new String(""));if(1!=e)switch(a.$){case "geoserver":e=90*e+.5|0;g.FORMAT_OPTIONS="FORMAT_OPTIONS"in g?g.FORMAT_OPTIONS+(";dpi:"+e):"dpi:"+e;break;case "mapserver":g.MAP_RESOLUTION=90*e;break;case "carmentaserver":case "qgis":g.DPI=90*e}g.WIDTH=d[0];g.HEIGHT=d[1];d=f.g;var h;a.g&&"ne"==d.substr(0,2)?h=[c[1],c[0],c[3],c[2]]:h=c;g.BBOX=h.join(",");return so(uo([a.f],g))}l.Rl=function(){return this.f};
l.Sl=function(a){this.a=null;this.u=a;this.s()};l.Tl=function(a){a!=this.f&&(this.f=a,this.a=null,this.s())};l.Ul=function(a){Yb(this.c,a);zz(this);this.a=null;this.s()};function zz(a){a.g=0<=Oa(Tb(a.c,"VERSION","1.3.0"),"1.3")};function Cz(a){var c=void 0!==a.projection?a.projection:"EPSG:3857",d=void 0!==a.tileGrid?a.tileGrid:Oh({extent:ig(c),maxZoom:a.maxZoom,tileSize:a.tileSize});this.l=null;qz.call(this,{attributions:a.attributions,crossOrigin:a.crossOrigin,logo:a.logo,projection:c,tileGrid:d,tileLoadFunction:a.tileLoadFunction,tilePixelRatio:a.tilePixelRatio,tileUrlFunction:oz,wrapX:void 0!==a.wrapX?a.wrapX:!0});void 0!==a.tileUrlFunction?this.Ga(a.tileUrlFunction):void 0!==a.urls?(a=a.urls,this.Ga(mz(a,this.tileGrid)),
this.l=a):void 0!==a.url&&this.f(a.url)}w(Cz,qz);Cz.prototype.g=function(){return this.l};Cz.prototype.f=function(a){this.Ga(mz(pz(a),this.tileGrid));this.l=[a]};function Dz(a){a=a||{};var c;void 0!==a.attributions?c=a.attributions:c=[Ez];Cz.call(this,{attributions:c,crossOrigin:void 0!==a.crossOrigin?a.crossOrigin:"anonymous",opaque:!0,maxZoom:void 0!==a.maxZoom?a.maxZoom:19,tileLoadFunction:a.tileLoadFunction,url:void 0!==a.url?a.url:"https://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png",wrapX:a.wrapX})}w(Dz,Cz);var Ez=new rg({html:'&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors.'});function Fz(a){a=a||{};var c=Gz[a.layer];this.A=a.layer;Cz.call(this,{attributions:c.attributions,crossOrigin:"anonymous",logo:"https://developer.mapquest.com/content/osm/mq_logo.png",maxZoom:c.maxZoom,opaque:!0,tileLoadFunction:a.tileLoadFunction,url:void 0!==a.url?a.url:"https://otile{1-4}-s.mqcdn.com/tiles/1.0.0/"+this.A+"/{z}/{x}/{y}.jpg"})}w(Fz,Cz);
var Hz=new rg({html:'Tiles Courtesy of <a href="http://www.mapquest.com/">MapQuest</a>'}),Gz={osm:{maxZoom:19,attributions:[Hz,Ez]},sat:{maxZoom:18,attributions:[Hz,new rg({html:"Portions Courtesy NASA/JPL-Caltech and U.S. Depart. of Agriculture, Farm Service Agency"})]},hyb:{maxZoom:18,attributions:[Hz,Ez]}};Fz.prototype.u=function(){return this.A};(function(){var a={},c={gb:a};(function(d){if("object"===typeof a&&"undefined"!==typeof c)c.gb=d();else{var e;"undefined"!==typeof window?e=window:"undefined"!==typeof global?e=global:"undefined"!==typeof self?e=self:e=this;e.Bo=d()}})(function(){return function e(a,c,h){function k(n,q){if(!c[n]){if(!a[n]){var r="function"==typeof require&&require;if(!q&&r)return r(n,!0);if(m)return m(n,!0);r=Error("Cannot find module '"+n+"'");throw r.code="MODULE_NOT_FOUND",r;}r=c[n]={gb:{}};a[n][0].call(r.gb,function(c){var e=
a[n][1][c];return k(e?e:c)},r,r.gb,e,a,c,h)}return c[n].gb}for(var m="function"==typeof require&&require,n=0;n<h.length;n++)k(h[n]);return k}({1:[function(a,c,g){a=a("./processor");g.Rh=a},{"./processor":2}],2:[function(a,c){function g(a){return function(c){var e=c.buffers,f=c.meta,g=c.width,h=c.height,k=e.length,m=e[0].byteLength,z;if(c.imageOps){m=Array(k);for(z=0;z<k;++z)m[z]=new ImageData(new Uint8ClampedArray(e[z]),g,h);g=a(m,f).data}else{g=new Uint8ClampedArray(m);h=Array(k);c=Array(k);for(z=
0;z<k;++z)h[z]=new Uint8ClampedArray(e[z]),c[z]=[0,0,0,0];for(e=0;e<m;e+=4){for(z=0;z<k;++z){var x=h[z];c[z][0]=x[e];c[z][1]=x[e+1];c[z][2]=x[e+2];c[z][3]=x[e+3]}z=a(c,f);g[e]=z[0];g[e+1]=z[1];g[e+2]=z[2];g[e+3]=z[3]}}return g.buffer}}function h(a,c){var e=Object.keys(a.lib||{}).map(function(c){return"var "+c+" = "+a.lib[c].toString()+";"}).concat(["var __minion__ = ("+g.toString()+")(",a.operation.toString(),");",'self.addEventListener("message", function(__event__) {',"var buffer = __minion__(__event__.data);",
"self.postMessage({buffer: buffer, meta: __event__.data.meta}, [buffer]);","});"]),e=URL.createObjectURL(new Blob(e,{type:"text/javascript"})),e=new Worker(e);e.addEventListener("message",c);return e}function k(a,c){var e=g(a.operation);return{postMessage:function(a){setTimeout(function(){c({data:{buffer:e(a),Td:a.Td}})},0)}}}function m(a){this.Ae=!!a.Zj;var c;0===a.threads?c=0:this.Ae?c=1:c=a.threads||1;var e=[];if(c)for(var f=0;f<c;++f)e[f]=h(a,this.If.bind(this,f));else e[0]=k(a,this.If.bind(this,
0));this.rd=e;this.Jc=[];this.di=a.jn||Infinity;this.qd=0;this.nc={};this.Be=null}m.prototype.hn=function(a,c,e){this.bi({Vb:a,Td:c,Lc:e});this.Ff()};m.prototype.bi=function(a){for(this.Jc.push(a);this.Jc.length>this.di;)this.Jc.shift().Lc(null,null)};m.prototype.Ff=function(){if(0===this.qd&&0<this.Jc.length){var a=this.Be=this.Jc.shift(),c=a.Vb[0].width,e=a.Vb[0].height,f=a.Vb.map(function(a){return a.data.buffer}),g=this.rd.length;this.qd=g;if(1===g)this.rd[0].postMessage({buffers:f,meta:a.Td,
imageOps:this.Ae,width:c,height:e},f);else for(var h=4*Math.ceil(a.Vb[0].data.length/4/g),k=0;k<g;++k){for(var m=k*h,z=[],x=0,K=f.length;x<K;++x)z.push(f[k].slice(m,m+h));this.rd[k].postMessage({buffers:z,meta:a.Td,imageOps:this.Ae,width:c,height:e},z)}}};m.prototype.If=function(a,c){this.zo||(this.nc[a]=c.data,--this.qd,0===this.qd&&this.ei())};m.prototype.ei=function(){var a=this.Be,c=this.rd.length,e,f;if(1===c)e=new Uint8ClampedArray(this.nc[0].buffer),f=this.nc[0].meta;else{var g=a.Vb[0].data.length;
e=new Uint8ClampedArray(g);f=Array(g);for(var g=4*Math.ceil(g/4/c),h=0;h<c;++h){var k=h*g;e.set(new Uint8ClampedArray(this.nc[h].buffer),k);f[h]=this.nc[h].meta}}this.Be=null;this.nc={};a.Lc(null,new ImageData(e,a.Vb[0].width,a.Vb[0].height),f);this.Ff()};c.gb=m},{}]},{},[1])(1)});Dp=c.gb})();function Iz(a){this.B=null;this.fa=void 0!==a.operationType?a.operationType:"pixel";this.ra=void 0!==a.threads?a.threads:1;this.a=Jz(a.sources);for(var c=0,d=this.a.length;c<d;++c)B(this.a[c],"change",this.s,!1,this);this.c=Ri();this.$=new Mk(function(){return 1},qa(this.s,this));for(var c=Kz(this.a),d={},e=0,f=c.length;e<f;++e)d[v(c[e].layer)]=c[e];this.f=this.g=null;this.X={animate:!1,attributions:{},coordinateToPixelMatrix:Cd(),extent:null,focus:null,index:0,layerStates:d,layerStatesArray:c,logos:{},
pixelRatio:1,pixelToCoordinateMatrix:Cd(),postRenderFunctions:[],size:[0,0],skippedFeatureUids:{},tileQueue:this.$,time:Date.now(),usedTiles:{},viewState:{rotation:0},viewHints:[],wantedTiles:{}};sn.call(this,{});void 0!==a.operation&&this.u(a.operation,a.lib)}w(Iz,sn);Iz.prototype.u=function(a,c){this.B=new Dp.Rh({operation:a,Zj:"image"===this.fa,jn:1,lib:c,threads:this.ra});this.s()};function Lz(a,c,d){var e=a.g;return!e||a.b!==e.Kn||d!==e.resolution||!Zd(c,e.extent)}
Iz.prototype.cc=function(a,c,d,e){d=!0;for(var f,g=0,h=this.a.length;g<h;++g)if(f=this.a[g].a.ea(),"ready"!==f.v){d=!1;break}if(!d)return null;if(!Lz(this,a,c))return this.f;d=this.c.canvas;f=Math.round(le(a)/c);g=Math.round(ie(a)/c);if(f!==d.width||g!==d.height)d.width=f,d.height=g;f=Vb(this.X);f.viewState=Vb(f.viewState);var g=ge(a),h=Math.round(le(a)/c),k=Math.round(ie(a)/c);f.extent=a;f.focus=ge(a);f.size[0]=h;f.size[1]=k;h=f.viewState;h.center=g;h.projection=e;h.resolution=c;this.f=e=new rn(a,
c,1,this.j,d,this.I.bind(this,f));this.g={extent:a,resolution:c,Kn:this.b};return e};
Iz.prototype.I=function(a,c){for(var d=this.a.length,e=Array(d),f=0;f<d;++f){var g;var h=this.a[f],k=a;h.ae(k,a.layerStatesArray[f]);if(g=h.cd()){var h=h.Se(),m=Math.round(h[12]),n=Math.round(h[13]),p=k.size[0],k=k.size[1];if(g instanceof Image){if(Mz){var q=Mz.canvas;q.width!==p||q.height!==k?Mz=Ri(p,k):Mz.clearRect(0,0,p,k)}else Mz=Ri(p,k);Mz.drawImage(g,m,n,Math.round(g.width*h[0]),Math.round(g.height*h[5]));g=Mz.getImageData(0,0,p,k)}else g=g.getContext("2d").getImageData(-m,-n,p,k)}else g=null;
if(g)e[f]=g;else return}d={};C(this,new Nz(Oz,a,d));this.B.hn(e,d,this.da.bind(this,a,c));Nk(a.tileQueue,16,16)};Iz.prototype.da=function(a,c,d,e,f){d?c(d):e&&(C(this,new Nz(Pz,a,f)),Lz(this,a.extent,a.viewState.resolution/a.pixelRatio)||this.c.putImageData(e,0,0),c(null))};var Mz=null;function Kz(a){return a.map(function(a){return dk(a.a)})}
function Jz(a){for(var c=a.length,d=Array(c),e=0;e<c;++e){var f=e,g=a[e],h=null;g instanceof Rh?(g=new G({source:g}),h=new Up(g)):g instanceof sn&&(g=new jm({source:g}),h=new Tp(g));d[f]=h}return d}function Nz(a,c,d){wc.call(this,a);this.extent=c.extent;this.resolution=c.viewState.resolution/c.pixelRatio;this.data=d}w(Nz,wc);var Oz="beforeoperations",Pz="afteroperations";var Qz={terrain:{Wa:"jpg",opaque:!0},"terrain-background":{Wa:"jpg",opaque:!0},"terrain-labels":{Wa:"png",opaque:!1},"terrain-lines":{Wa:"png",opaque:!1},"toner-background":{Wa:"png",opaque:!0},toner:{Wa:"png",opaque:!0},"toner-hybrid":{Wa:"png",opaque:!1},"toner-labels":{Wa:"png",opaque:!1},"toner-lines":{Wa:"png",opaque:!1},"toner-lite":{Wa:"png",opaque:!0},watercolor:{Wa:"jpg",opaque:!0}},Rz={terrain:{minZoom:4,maxZoom:18},toner:{minZoom:0,maxZoom:20},watercolor:{minZoom:3,maxZoom:16}};
function Sz(a){var c=a.layer.indexOf("-"),d=Qz[a.layer];Cz.call(this,{attributions:Tz,crossOrigin:"anonymous",maxZoom:Rz[-1==c?a.layer:a.layer.slice(0,c)].maxZoom,opaque:d.opaque,tileLoadFunction:a.tileLoadFunction,url:void 0!==a.url?a.url:"https://stamen-tiles-{a-d}.a.ssl.fastly.net/"+a.layer+"/{z}/{x}/{y}."+d.Wa})}w(Sz,Cz);var Tz=[new rg({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>.'}),Ez];function Uz(a){a=a||{};var c=void 0!==a.params?a.params:{};qz.call(this,{attributions:a.attributions,crossOrigin:a.crossOrigin,logo:a.logo,projection:a.projection,tileGrid:a.tileGrid,tileLoadFunction:a.tileLoadFunction,tileUrlFunction:qa(this.Yl,this),wrapX:void 0!==a.wrapX?a.wrapX:!0});var d=a.urls;void 0===d&&void 0!==a.url&&(d=pz(a.url));this.g=d||[];this.f=c;this.l=Nd()}w(Uz,qz);l=Uz.prototype;l.Vl=function(){return this.f};
l.Tb=function(a,c,d){a=Uz.ba.Tb.call(this,a,c,d);return 1==c?a:od(a,c,this.c)};l.Wl=function(){return this.g};l.Xl=function(a){a=void 0!==a?pz(a):null;this.Cg(a)};l.Cg=function(a){this.g=a||[];this.s()};
l.Yl=function(a,c,d){var e=this.tileGrid;e||(e=Th(this,d));if(!(e.b.length<=a[0])){var f=Jh(e,a,this.l),g=pd(e.Ka(a[0]),this.c);1!=c&&(g=od(g,c,this.c));e={F:"image",FORMAT:"PNG32",TRANSPARENT:!0};Yb(e,this.f);var h=this.g;0!==h.length?(d=d.b.split(":").pop(),e.SIZE=g[0]+","+g[1],e.BBOX=f.join(","),e.BBOXSR=d,e.IMAGESR=d,e.DPI=Math.round(90*c),a=1==h.length?h[0]:h[wb((a[1]<<a[0])+a[2],h.length)],za(a,"/")||(a+="/"),za(a,"MapServer/")?a+="export":za(a,"ImageServer/")&&(a+="exportImage"),a=so(uo([a],
e))):a=void 0;return a}};l.Zl=function(a){Yb(this.f,a);this.s()};function Vz(a,c,d){Ah.call(this,a,2);this.f=c;this.c=d;this.a={}}w(Vz,Ah);Vz.prototype.Qa=function(a){a=void 0!==a?v(a):-1;if(a in this.a)return this.a[a];var c=this.f,d=Ri(c[0],c[1]);d.strokeStyle="black";d.strokeRect(.5,.5,c[0]+.5,c[1]+.5);d.fillStyle="black";d.textAlign="center";d.textBaseline="middle";d.font="24px sans-serif";d.fillText(this.c,c[0]/2,c[1]/2);return this.a[a]=d.canvas};
function Wz(a){Rh.call(this,{opaque:!1,projection:a.projection,tileGrid:a.tileGrid,wrapX:void 0!==a.wrapX?a.wrapX:!0})}w(Wz,Rh);Wz.prototype.Sb=function(a,c,d){var e=this.hb(a,c,d);if(xh(this.a,e))return this.a.get(e);var f=pd(this.tileGrid.Ka(a));a=[a,c,d];c=(c=Uh(this,a))?fg(Uh(this,c)):"";f=new Vz(a,f,c);this.a.set(e,f);return f};function Xz(a){qz.call(this,{attributions:a.attributions,crossOrigin:a.crossOrigin,projection:Ce("EPSG:3857"),state:"loading",tileLoadFunction:a.tileLoadFunction,wrapX:void 0!==a.wrapX?a.wrapX:!0});hz(new fz(a.url),void 0,qa(this.g,this),qa(this.f,this))}w(Xz,qz);
Xz.prototype.g=function(a){var c=Ce("EPSG:4326"),d=this.i,e;void 0!==a.bounds&&(e=oe(a.bounds,Ge(c,d)));var f=a.minzoom||0,g=a.maxzoom||22;this.tileGrid=d=Oh({extent:ig(d),maxZoom:g,minZoom:f});this.tileUrlFunction=mz(a.tiles,d);if(void 0!==a.attribution&&!this.j){c=void 0!==e?e:c.R();e={};for(var h;f<=g;++f)h=f.toString(),e[h]=[kg(d,c,f)];this.la([new rg({html:a.attribution,tileRanges:e})])}Eh(this,"ready")};Xz.prototype.f=function(){Eh(this,"error")};function Yz(a){Rh.call(this,{projection:Ce("EPSG:3857"),state:"loading"});this.l=void 0!==a.preemptive?a.preemptive:!0;this.f=oz;this.g=void 0;hz(new fz(a.url),void 0,qa(this.bm,this))}w(Yz,Rh);l=Yz.prototype;l.kj=function(){return this.g};l.wi=function(a,c,d,e,f){this.tileGrid?(c=this.tileGrid.Yc(a,c),Zz(this.Sb(c[0],c[1],c[2],1,this.i),a,d,e,f)):!0===f?pi(function(){d.call(e,null)}):d.call(e,null)};
l.bm=function(a){var c=Ce("EPSG:4326"),d=this.i,e;void 0!==a.bounds&&(e=oe(a.bounds,Ge(c,d)));var f=a.minzoom||0,g=a.maxzoom||22;this.tileGrid=d=Oh({extent:ig(d),maxZoom:g,minZoom:f});this.g=a.template;var h=a.grids;if(h){this.f=mz(h,d);if(void 0!==a.attribution){c=void 0!==e?e:c.R();for(e={};f<=g;++f)h=f.toString(),e[h]=[kg(d,c,f)];this.la([new rg({html:a.attribution,tileRanges:e})])}Eh(this,"ready")}else Eh(this,"error")};
l.Sb=function(a,c,d,e,f){var g=this.hb(a,c,d);if(xh(this.a,g))return this.a.get(g);a=[a,c,d];c=Uh(this,a,f);e=this.f(c,e,f);e=new $z(a,void 0!==e?0:4,void 0!==e?e:"",Jh(this.tileGrid,a),this.l);this.a.set(g,e);return e};l.yf=function(a,c,d){a=this.hb(a,c,d);xh(this.a,a)&&this.a.get(a)};function $z(a,c,d,e,f){Ah.call(this,a,c);this.i=d;this.a=e;this.l=f;this.g=this.f=this.c=null}w($z,Ah);l=$z.prototype;l.Qa=function(){return null};
function aA(a,c){if(!a.c||!a.f||!a.g)return null;var d=a.c[Math.floor((1-(c[1]-a.a[1])/(a.a[3]-a.a[1]))*a.c.length)];if(!ia(d))return null;d=d.charCodeAt(Math.floor((c[0]-a.a[0])/(a.a[2]-a.a[0])*d.length));93<=d&&d--;35<=d&&d--;d-=32;return d in a.f?a.g[a.f[d]]:null}function Zz(a,c,d,e,f){0==a.state&&!0===f?(Yc(a,"change",function(){d.call(e,aA(this,c))},!1,a),bA(a)):!0===f?pi(function(){d.call(e,aA(this,c))},a):d.call(e,aA(a,c))}l.jb=function(){return this.i};l.yj=function(){this.state=3;Bh(this)};
l.am=function(a){this.c=a.grid;this.f=a.keys;this.g=a.data;this.state=4;Bh(this)};function bA(a){0==a.state&&(a.state=1,hz(new fz(a.i),void 0,qa(a.am,a),qa(a.yj,a)))}l.load=function(){this.l&&bA(this)};function cA(a){V.call(this,{attributions:a.attributions,logo:a.logo,projection:void 0,state:"ready",wrapX:a.wrapX});this.fa=void 0!==a.format?a.format:null;this.u=a.tileGrid;this.I=oz;this.da=void 0!==a.tileLoadFunction?a.tileLoadFunction:null;this.B={};void 0!==a.tileUrlFunction?(this.I=a.tileUrlFunction,this.s()):void 0!==a.urls?(this.I=mz(a.urls,this.u),this.s()):void 0!==a.url&&(this.I=mz(pz(a.url),this.u),this.s())}w(cA,V);l=cA.prototype;l.clear=function(){Sb(this.B)};
function dA(a,c,d,e){var f=a.B;a=a.u.Yc(c,d);f=f[a[0]+"/"+a[1]+"/"+a[2]];if(void 0!==f)for(a=0,d=f.length;a<d;++a){var g=f[a];if(g.V().He(c)&&e.call(void 0,g))break}}l.zb=function(a,c,d,e){var f=this.u,g=this.B;c=Nh(f,c);a=kg(f,a,c);for(var h,f=a.b;f<=a.f;++f)for(h=a.a;h<=a.c;++h){var k=g[c+"/"+f+"/"+h];if(void 0!==k){var m,n;m=0;for(n=k.length;m<n;++m){var p=d.call(e,k[m]);if(p)return p}}}};l.zc=function(){var a=this.B,c=[],d;for(d in a)hb(c,a[d]);return c};
l.Ki=function(a,c){var d=[];dA(this,a,c,function(a){d.push(a)});return d};function eA(a,c,d){var e=a.u;a.N&&d.f&&(c=gg(c,e,d));return jg(c,e)?c:null}l.Wb=function(a,c,d){function e(a,c){h[a]=c;this.s()}var f=this.u,g=this.I,h=this.B,k=Nh(f,c),f=kg(f,a,k),m=[k,0,0],n,p;for(n=f.b;n<=f.f;++n)for(p=f.a;p<=f.c;++p){var q=k+"/"+n+"/"+p;if(!(q in h)){m[1]=n;m[2]=p;var r=eA(this,m,d),r=r?g(r,1,d):void 0;void 0!==r&&(h[q]=[],q=ra(e,q),this.da?this.da(r,qa(q,this)):zp(r,this.fa,q).call(this,a,c,d))}}};function fA(a){a=a||{};var c=void 0!==a.params?a.params:{};qz.call(this,{attributions:a.attributions,crossOrigin:a.crossOrigin,logo:a.logo,opaque:!Tb(c,"TRANSPARENT",!0),projection:a.projection,tileGrid:a.tileGrid,tileLoadFunction:a.tileLoadFunction,tileUrlFunction:qa(this.gm,this),wrapX:void 0!==a.wrapX?a.wrapX:!0});var d=a.urls;void 0===d&&void 0!==a.url&&(d=pz(a.url));this.g=d||[];this.A=void 0!==a.gutter?a.gutter:0;this.f=c;this.l=!0;this.u=a.serverType;this.I=void 0!==a.hidpi?a.hidpi:!0;this.B=
"";gA(this);this.X=Nd();hA(this)}w(fA,qz);l=fA.prototype;
l.cm=function(a,c,d,e){d=Ce(d);var f=this.tileGrid;f||(f=Th(this,d));c=f.Yc(a,c);if(!(f.b.length<=c[0])){var g=f.aa(c[0]),h=Jh(f,c,this.X),f=pd(f.Ka(c[0]),this.c),k=this.A;0!==k&&(f=nd(f,k,this.c),h=Rd(h,g*k,h));k={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetFeatureInfo",FORMAT:"image/png",TRANSPARENT:!0,QUERY_LAYERS:this.f.LAYERS};Yb(k,this.f,e);e=Math.floor((h[3]-a[1])/g);k[this.l?"I":"X"]=Math.floor((a[0]-h[0])/g);k[this.l?"J":"Y"]=e;return iA(this,c,f,h,1,d,k)}};l.Bd=function(){return this.A};
l.hb=function(a,c,d){return this.B+fA.ba.hb.call(this,a,c,d)};l.dm=function(){return this.f};
function iA(a,c,d,e,f,g,h){var k=a.g;if(0!==k.length){h.WIDTH=d[0];h.HEIGHT=d[1];h[a.l?"CRS":"SRS"]=g.b;"STYLES"in a.f||(h.STYLES=new String(""));if(1!=f)switch(a.u){case "geoserver":d=90*f+.5|0;h.FORMAT_OPTIONS="FORMAT_OPTIONS"in h?h.FORMAT_OPTIONS+(";dpi:"+d):"dpi:"+d;break;case "mapserver":h.MAP_RESOLUTION=90*f;break;case "carmentaserver":case "qgis":h.DPI=90*f}g=g.g;a.l&&"ne"==g.substr(0,2)&&(a=e[0],e[0]=e[1],e[1]=a,a=e[2],e[2]=e[3],e[3]=a);h.BBOX=e.join(",");return so(uo([1==k.length?k[0]:k[wb((c[1]<<
c[0])+c[2],k.length)]],h))}}l.Tb=function(a,c,d){a=fA.ba.Tb.call(this,a,c,d);return 1!=c&&this.I&&void 0!==this.u?od(a,c,this.c):a};l.em=function(){return this.g};function gA(a){var c=0,d=[],e,f;e=0;for(f=a.g.length;e<f;++e)d[c++]=a.g[e];for(var g in a.f)d[c++]=g+"-"+a.f[g];a.B=d.join("#")}l.fm=function(a){a=void 0!==a?pz(a):null;this.Dg(a)};l.Dg=function(a){this.g=a||[];gA(this);this.s()};
l.gm=function(a,c,d){var e=this.tileGrid;e||(e=Th(this,d));if(!(e.b.length<=a[0])){1==c||this.I&&void 0!==this.u||(c=1);var f=e.aa(a[0]),g=Jh(e,a,this.X),e=pd(e.Ka(a[0]),this.c),h=this.A;0!==h&&(e=nd(e,h,this.c),g=Rd(g,f*h,g));1!=c&&(e=od(e,c,this.c));f={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0};Yb(f,this.f);return iA(this,a,e,g,c,d,f)}};l.hm=function(a){Yb(this.f,a);gA(this);hA(this);this.s()};function hA(a){a.l=0<=Oa(Tb(a.f,"VERSION","1.3.0"),"1.3")};function jA(a){this.i=a.matrixIds;Fh.call(this,{extent:a.extent,origin:a.origin,origins:a.origins,resolutions:a.resolutions,tileSize:a.tileSize,tileSizes:a.tileSizes,sizes:a.sizes})}w(jA,Fh);jA.prototype.C=function(){return this.i};
function kA(a,c){var d=[],e=[],f=[],g=[],h=[],k;k=Ce(a.SupportedCRS.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3"));var m=k.Ed(),n="ne"==k.g.substr(0,2);kb(a.TileMatrix,function(a,c){return c.ScaleDenominator-a.ScaleDenominator});a.TileMatrix.forEach(function(a){e.push(a.Identifier);var c=2.8E-4*a.ScaleDenominator/m,k=a.TileWidth,u=a.TileHeight;n?f.push([a.TopLeftCorner[1],a.TopLeftCorner[0]]):f.push(a.TopLeftCorner);d.push(c);g.push(k==u?k:[k,u]);h.push([a.MatrixWidth,-a.MatrixHeight])});
return new jA({extent:c,origins:f,resolutions:d,matrixIds:e,tileSizes:g,sizes:h})};function lA(a){function c(a){a="KVP"==e?so(uo([a],g)):a.replace(/\{(\w+?)\}/g,function(a,c){return c.toLowerCase()in g?g[c.toLowerCase()]:a});return function(c){if(c){var d={TileMatrix:f.i[c[0]],TileCol:c[1],TileRow:-c[2]-1};Yb(d,h);c=a;return c="KVP"==e?so(uo([c],d)):c.replace(/\{(\w+?)\}/g,function(a,c){return d[c]})}}}this.X=void 0!==a.version?a.version:"1.0.0";this.u=void 0!==a.format?a.format:"image/jpeg";this.f=void 0!==a.dimensions?a.dimensions:{};this.A="";mA(this);this.B=a.layer;this.l=a.matrixSet;
this.I=a.style;var d=a.urls;void 0===d&&void 0!==a.url&&(d=pz(a.url));this.g=d||[];var e=this.$=void 0!==a.requestEncoding?a.requestEncoding:"KVP",f=a.tileGrid,g={layer:this.B,style:this.I,tilematrixset:this.l};"KVP"==e&&Yb(g,{Service:"WMTS",Request:"GetTile",Version:this.X,Format:this.u});var h=this.f,d=0<this.g.length?nz(this.g.map(c)):oz;qz.call(this,{attributions:a.attributions,crossOrigin:a.crossOrigin,logo:a.logo,projection:a.projection,tileClass:a.tileClass,tileGrid:f,tileLoadFunction:a.tileLoadFunction,
tilePixelRatio:a.tilePixelRatio,tileUrlFunction:d,wrapX:void 0!==a.wrapX?a.wrapX:!1})}w(lA,qz);l=lA.prototype;l.Ii=function(){return this.f};l.Mi=function(){return this.u};l.hb=function(a,c,d){return this.A+lA.ba.hb.call(this,a,c,d)};l.im=function(){return this.B};l.Yi=function(){return this.l};l.ij=function(){return this.$};l.jm=function(){return this.I};l.km=function(){return this.g};l.oj=function(){return this.X};function mA(a){var c=0,d=[],e;for(e in a.f)d[c++]=e+"-"+a.f[e];a.A=d.join("/")}
l.io=function(a){Yb(this.f,a);mA(this);this.s()};function nA(a){a=a||{};var c=a.size,d=c[0],e=c[1],f=[],g=256;switch(void 0!==a.tierSizeCalculation?a.tierSizeCalculation:"default"){case "default":for(;d>g||e>g;)f.push([Math.ceil(d/g),Math.ceil(e/g)]),g+=g;break;case "truncated":for(;d>g||e>g;)f.push([Math.ceil(d/g),Math.ceil(e/g)]),d>>=1,e>>=1}f.push([1,1]);f.reverse();for(var g=[1],h=[0],e=1,d=f.length;e<d;e++)g.push(1<<e),h.push(f[e-1][0]*f[e-1][1]+h[e-1]);g.reverse();var c=[0,-c[1],c[0],0],c=new Fh({extent:c,origin:fe(c),resolutions:g}),k=a.url;
qz.call(this,{attributions:a.attributions,crossOrigin:a.crossOrigin,logo:a.logo,tileClass:oA,tileGrid:c,tileUrlFunction:function(a){if(a){var c=a[0],d=a[1];a=-a[2]-1;return k+"TileGroup"+((d+a*f[c][0]+h[c])/256|0)+"/"+c+"-"+d+"-"+a+".jpg"}}})}w(nA,qz);function oA(a,c,d,e,f){Dx.call(this,a,c,d,e,f);this.f={}}w(oA,Dx);
oA.prototype.Qa=function(a){var c=void 0!==a?v(a).toString():"";if(c in this.f)return this.f[c];a=oA.ba.Qa.call(this,a);if(2==this.state){if(256==a.width&&256==a.height)return this.f[c]=a;var d=Ri(256,256);d.drawImage(a,0,0);return this.f[c]=d.canvas}return a};function pA(a){a=a||{};this.a=void 0!==a.initialSize?a.initialSize:256;this.c=void 0!==a.maxSize?a.maxSize:void 0!==ta?ta:2048;this.b=void 0!==a.space?a.space:1;this.g=[new qA(this.a,this.b)];this.f=this.a;this.j=[new qA(this.f,this.b)]}pA.prototype.add=function(a,c,d,e,f,g){if(c+this.b>this.c||d+this.b>this.c)return null;e=rA(this,!1,a,c,d,e,g);if(!e)return null;a=rA(this,!0,a,c,d,void 0!==f?f:se,g);return{offsetX:e.offsetX,offsetY:e.offsetY,image:e.image,dg:a.image}};
function rA(a,c,d,e,f,g,h){var k=c?a.j:a.g,m,n,p;n=0;for(p=k.length;n<p;++n){m=k[n];if(m=m.add(d,e,f,g,h))return m;m||n!==p-1||(c?(m=Math.min(2*a.f,a.c),a.f=m):(m=Math.min(2*a.a,a.c),a.a=m),m=new qA(m,a.b),k.push(m),++p)}}function qA(a,c){this.b=c;this.a=[{x:0,y:0,width:a,height:a}];this.f={};this.c=Pg("CANVAS");this.c.width=a;this.c.height=a;this.g=this.c.getContext("2d")}qA.prototype.get=function(a){return Tb(this.f,a,null)};
qA.prototype.add=function(a,c,d,e,f){var g,h,k;h=0;for(k=this.a.length;h<k;++h)if(g=this.a[h],g.width>=c+this.b&&g.height>=d+this.b)return k={offsetX:g.x+this.b,offsetY:g.y+this.b,image:this.c},this.f[a]=k,e.call(f,this.g,g.x+this.b,g.y+this.b),a=h,c=c+this.b,d=d+this.b,f=e=void 0,g.width-c>g.height-d?(e={x:g.x+c,y:g.y,width:g.width-c,height:g.height},f={x:g.x,y:g.y+d,width:c,height:g.height-d},sA(this,a,e,f)):(e={x:g.x+c,y:g.y,width:g.width-c,height:d},f={x:g.x,y:g.y+d,width:g.width,height:g.height-
d},sA(this,a,e,f)),k;return null};function sA(a,c,d,e){c=[c,1];0<d.width&&0<d.height&&c.push(d);0<e.width&&0<e.height&&c.push(e);a.a.splice.apply(a.a,c)};function tA(a){this.u=this.f=this.g=null;this.l=void 0!==a.fill?a.fill:null;this.I=[0,0];this.b=a.points;this.c=void 0!==a.radius?a.radius:a.radius1;this.j=void 0!==a.radius2?a.radius2:this.c;this.i=void 0!==a.angle?a.angle:0;this.a=void 0!==a.stroke?a.stroke:null;this.ka=this.T=this.ca=null;var c=a.atlasManager,d="",e="",f=0,g=null,h,k=0;this.a&&(h=Ag(this.a.b),k=this.a.a,void 0===k&&(k=1),g=this.a.c,$i||(g=null),e=this.a.g,void 0===e&&(e="round"),d=this.a.f,void 0===d&&(d="round"),f=this.a.j,void 0===
f&&(f=10));var m=2*(this.c+k)+1,d={strokeStyle:h,hd:k,size:m,lineCap:d,lineDash:g,lineJoin:e,miterLimit:f};if(void 0===c){this.f=Pg("CANVAS");this.f.height=m;this.f.width=m;var c=m=this.f.width,n=this.f.getContext("2d");this.Ig(d,n,0,0);this.l?this.u=this.f:(n=this.u=Pg("CANVAS"),n.height=d.size,n.width=d.size,n=n.getContext("2d"),this.Hg(d,n,0,0))}else m=Math.round(m),(e=!this.l)&&(n=qa(this.Hg,this,d)),f=this.rb(),n=c.add(f,m,m,qa(this.Ig,this,d),n),this.f=n.image,this.I=[n.offsetX,n.offsetY],c=
n.image.width,this.u=e?n.dg:this.f;this.ca=[m/2,m/2];this.T=[m,m];this.ka=[c,c];xk.call(this,{opacity:1,rotateWithView:!1,rotation:void 0!==a.rotation?a.rotation:0,scale:1,snapToPixel:void 0!==a.snapToPixel?a.snapToPixel:!0})}w(tA,xk);l=tA.prototype;l.Ab=function(){return this.ca};l.pm=function(){return this.i};l.qm=function(){return this.l};l.ce=function(){return this.u};l.Jb=function(){return this.f};l.Cd=function(){return this.ka};l.dd=function(){return 2};l.ta=function(){return this.I};l.rm=function(){return this.b};
l.sm=function(){return this.c};l.hj=function(){return this.j};l.kb=function(){return this.T};l.tm=function(){return this.a};l.Ye=wa;l.load=wa;l.xf=wa;
l.Ig=function(a,c,d,e){var f;c.setTransform(1,0,0,1,0,0);c.translate(d,e);c.beginPath();this.j!==this.c&&(this.b*=2);for(d=0;d<=this.b;d++)e=2*d*Math.PI/this.b-Math.PI/2+this.i,f=0===d%2?this.c:this.j,c.lineTo(a.size/2+f*Math.cos(e),a.size/2+f*Math.sin(e));this.l&&(c.fillStyle=Ag(this.l.b),c.fill());this.a&&(c.strokeStyle=a.strokeStyle,c.lineWidth=a.hd,a.lineDash&&c.setLineDash(a.lineDash),c.lineCap=a.lineCap,c.lineJoin=a.lineJoin,c.miterLimit=a.miterLimit,c.stroke());c.closePath()};
l.Hg=function(a,c,d,e){c.setTransform(1,0,0,1,0,0);c.translate(d,e);c.beginPath();this.j!==this.c&&(this.b*=2);var f;for(d=0;d<=this.b;d++)f=2*d*Math.PI/this.b-Math.PI/2+this.i,e=0===d%2?this.c:this.j,c.lineTo(a.size/2+e*Math.cos(f),a.size/2+e*Math.sin(f));c.fillStyle=Bl;c.fill();this.a&&(c.strokeStyle=a.strokeStyle,c.lineWidth=a.hd,a.lineDash&&c.setLineDash(a.lineDash),c.stroke());c.closePath()};
l.rb=function(){var a=this.a?this.a.rb():"-",c=this.l?this.l.rb():"-";this.g&&a==this.g[1]&&c==this.g[2]&&this.c==this.g[3]&&this.j==this.g[4]&&this.i==this.g[5]&&this.b==this.g[6]||(this.g=["r"+a+c+(void 0!==this.c?this.c.toString():"-")+(void 0!==this.j?this.j.toString():"-")+(void 0!==this.i?this.i.toString():"-")+(void 0!==this.b?this.b.toString():"-"),a,c,this.c,this.j,this.i,this.b]);return this.g[0]};t("ol.animation.bounce",function(a){var c=a.resolution,d=a.start?a.start:Date.now(),e=void 0!==a.duration?a.duration:1E3,f=a.easing?a.easing:Zf;return function(a,h){if(h.time<d)return h.animate=!0,h.viewHints[0]+=1,!0;if(h.time<d+e){var k=f((h.time-d)/e),m=c-h.viewState.resolution;h.animate=!0;h.viewState.resolution+=k*m;h.viewHints[0]+=1;return!0}return!1}},OPENLAYERS);t("ol.animation.pan",$f,OPENLAYERS);t("ol.animation.rotate",ag,OPENLAYERS);t("ol.animation.zoom",bg,OPENLAYERS);
t("ol.Attribution",rg,OPENLAYERS);rg.prototype.getHTML=rg.prototype.c;sg.prototype.element=sg.prototype.element;t("ol.Collection",tg,OPENLAYERS);tg.prototype.clear=tg.prototype.clear;tg.prototype.extend=tg.prototype.Ze;tg.prototype.forEach=tg.prototype.forEach;tg.prototype.getArray=tg.prototype.tk;tg.prototype.item=tg.prototype.item;tg.prototype.getLength=tg.prototype.Gb;tg.prototype.insertAt=tg.prototype.Od;tg.prototype.pop=tg.prototype.pop;tg.prototype.push=tg.prototype.push;
tg.prototype.remove=tg.prototype.remove;tg.prototype.removeAt=tg.prototype.tf;tg.prototype.setAt=tg.prototype.Mn;t("ol.coordinate.add",qd,OPENLAYERS);t("ol.coordinate.createStringXY",function(a){return function(c){return yd(c,a)}},OPENLAYERS);t("ol.coordinate.format",td,OPENLAYERS);t("ol.coordinate.rotate",vd,OPENLAYERS);t("ol.coordinate.toStringHDMS",function(a){return a?sd(a[1],"NS")+" "+sd(a[0],"EW"):""},OPENLAYERS);t("ol.coordinate.toStringXY",yd,OPENLAYERS);t("ol.DeviceOrientation",Ir,OPENLAYERS);
Ir.prototype.getAlpha=Ir.prototype.Ci;Ir.prototype.getBeta=Ir.prototype.Fi;Ir.prototype.getGamma=Ir.prototype.Ni;Ir.prototype.getHeading=Ir.prototype.uk;Ir.prototype.getTracking=Ir.prototype.jg;Ir.prototype.setTracking=Ir.prototype.$e;t("ol.easing.easeIn",Vf,OPENLAYERS);t("ol.easing.easeOut",Wf,OPENLAYERS);t("ol.easing.inAndOut",Xf,OPENLAYERS);t("ol.easing.linear",Yf,OPENLAYERS);t("ol.easing.upAndDown",Zf,OPENLAYERS);t("ol.extent.boundingExtent",Md,OPENLAYERS);t("ol.extent.buffer",Rd,OPENLAYERS);
t("ol.extent.containsCoordinate",Ud,OPENLAYERS);t("ol.extent.containsExtent",Wd,OPENLAYERS);t("ol.extent.containsXY",Vd,OPENLAYERS);t("ol.extent.createEmpty",Nd,OPENLAYERS);t("ol.extent.equals",Zd,OPENLAYERS);t("ol.extent.extend",$d,OPENLAYERS);t("ol.extent.getBottomLeft",ce,OPENLAYERS);t("ol.extent.getBottomRight",de,OPENLAYERS);t("ol.extent.getCenter",ge,OPENLAYERS);t("ol.extent.getHeight",ie,OPENLAYERS);t("ol.extent.getIntersection",je,OPENLAYERS);
t("ol.extent.getSize",function(a){return[a[2]-a[0],a[3]-a[1]]},OPENLAYERS);t("ol.extent.getTopLeft",fe,OPENLAYERS);t("ol.extent.getTopRight",ee,OPENLAYERS);t("ol.extent.getWidth",le,OPENLAYERS);t("ol.extent.intersects",ke,OPENLAYERS);t("ol.extent.isEmpty",me,OPENLAYERS);t("ol.extent.applyTransform",oe,OPENLAYERS);t("ol.Feature",Q,OPENLAYERS);Q.prototype.clone=Q.prototype.clone;Q.prototype.getGeometry=Q.prototype.V;Q.prototype.getId=Q.prototype.Qi;Q.prototype.getGeometryName=Q.prototype.Pi;
Q.prototype.getStyle=Q.prototype.wk;Q.prototype.getStyleFunction=Q.prototype.xk;Q.prototype.setGeometry=Q.prototype.za;Q.prototype.setStyle=Q.prototype.af;Q.prototype.setId=Q.prototype.Mb;Q.prototype.setGeometryName=Q.prototype.Dc;t("ol.featureloader.xhr",Ap,OPENLAYERS);t("ol.Geolocation",tx,OPENLAYERS);tx.prototype.getAccuracy=tx.prototype.Ai;tx.prototype.getAccuracyGeometry=tx.prototype.Bi;tx.prototype.getAltitude=tx.prototype.Di;tx.prototype.getAltitudeAccuracy=tx.prototype.Ei;
tx.prototype.getHeading=tx.prototype.zk;tx.prototype.getPosition=tx.prototype.Ak;tx.prototype.getProjection=tx.prototype.kg;tx.prototype.getSpeed=tx.prototype.jj;tx.prototype.getTracking=tx.prototype.lg;tx.prototype.getTrackingOptions=tx.prototype.Yf;tx.prototype.setProjection=tx.prototype.mg;tx.prototype.setTracking=tx.prototype.Ud;tx.prototype.setTrackingOptions=tx.prototype.mh;t("ol.Graticule",xx,OPENLAYERS);xx.prototype.getMap=xx.prototype.Dk;xx.prototype.getMeridians=xx.prototype.Zi;
xx.prototype.getParallels=xx.prototype.dj;xx.prototype.setMap=xx.prototype.setMap;t("ol.has.DEVICE_PIXEL_RATIO",Zi,OPENLAYERS);t("ol.has.CANVAS",aj,OPENLAYERS);t("ol.has.DEVICE_ORIENTATION",bj,OPENLAYERS);t("ol.has.GEOLOCATION",cj,OPENLAYERS);t("ol.has.TOUCH",dj,OPENLAYERS);t("ol.has.WEBGL",Yi,OPENLAYERS);Cx.prototype.getImage=Cx.prototype.b;Dx.prototype.getImage=Dx.prototype.Qa;t("ol.Kinetic",Ok,OPENLAYERS);t("ol.loadingstrategy.all",Bp,OPENLAYERS);
t("ol.loadingstrategy.bbox",function(a){return[a]},OPENLAYERS);t("ol.loadingstrategy.tile",function(a){return function(c,d){var e=Nh(a,d),f=kg(a,c,e),g=[],e=[e,0,0];for(e[1]=f.b;e[1]<=f.f;++e[1])for(e[2]=f.a;e[2]<=f.c;++e[2])g.push(Jh(a,e));return g}},OPENLAYERS);t("ol.Map",W,OPENLAYERS);W.prototype.addControl=W.prototype.hi;W.prototype.addInteraction=W.prototype.ii;W.prototype.addLayer=W.prototype.Kf;W.prototype.addOverlay=W.prototype.Lf;W.prototype.beforeRender=W.prototype.Aa;
W.prototype.forEachFeatureAtPixel=W.prototype.Wc;W.prototype.forEachLayerAtPixel=W.prototype.Hk;W.prototype.hasFeatureAtPixel=W.prototype.Yj;W.prototype.getEventCoordinate=W.prototype.Ji;W.prototype.getEventPixel=W.prototype.zd;W.prototype.getTarget=W.prototype.bf;W.prototype.getTargetElement=W.prototype.uc;W.prototype.getCoordinateFromPixel=W.prototype.xa;W.prototype.getControls=W.prototype.Hi;W.prototype.getOverlays=W.prototype.cj;W.prototype.getInteractions=W.prototype.Ri;
W.prototype.getLayerGroup=W.prototype.Rb;W.prototype.getLayers=W.prototype.ng;W.prototype.getPixelFromCoordinate=W.prototype.Ba;W.prototype.getSize=W.prototype.Ea;W.prototype.getView=W.prototype.Z;W.prototype.getViewport=W.prototype.pj;W.prototype.renderSync=W.prototype.In;W.prototype.render=W.prototype.render;W.prototype.removeControl=W.prototype.Bn;W.prototype.removeInteraction=W.prototype.Cn;W.prototype.removeLayer=W.prototype.En;W.prototype.removeOverlay=W.prototype.Fn;
W.prototype.setLayerGroup=W.prototype.ih;W.prototype.setSize=W.prototype.vf;W.prototype.setTarget=W.prototype.Jk;W.prototype.setView=W.prototype.Yn;W.prototype.updateSize=W.prototype.Fc;Oj.prototype.originalEvent=Oj.prototype.originalEvent;Oj.prototype.pixel=Oj.prototype.pixel;Oj.prototype.coordinate=Oj.prototype.coordinate;Oj.prototype.dragging=Oj.prototype.dragging;Oj.prototype.preventDefault=Oj.prototype.preventDefault;Oj.prototype.stopPropagation=Oj.prototype.c;uh.prototype.map=uh.prototype.map;
uh.prototype.frameState=uh.prototype.frameState;id.prototype.key=id.prototype.key;id.prototype.oldValue=id.prototype.oldValue;t("ol.Object",jd,OPENLAYERS);jd.prototype.get=jd.prototype.get;jd.prototype.getKeys=jd.prototype.O;jd.prototype.getProperties=jd.prototype.P;jd.prototype.set=jd.prototype.set;jd.prototype.setProperties=jd.prototype.H;jd.prototype.unset=jd.prototype.S;t("ol.Observable",gd,OPENLAYERS);t("ol.Observable.unByKey",hd,OPENLAYERS);gd.prototype.changed=gd.prototype.s;
gd.prototype.getRevision=gd.prototype.K;gd.prototype.on=gd.prototype.D;gd.prototype.once=gd.prototype.L;gd.prototype.un=gd.prototype.J;gd.prototype.unByKey=gd.prototype.M;t("ol.inherits",w,OPENLAYERS);t("ol.Overlay",fr,OPENLAYERS);fr.prototype.getElement=fr.prototype.Vd;fr.prototype.getMap=fr.prototype.Wd;fr.prototype.getOffset=fr.prototype.Wf;fr.prototype.getPosition=fr.prototype.og;fr.prototype.getPositioning=fr.prototype.Xf;fr.prototype.setElement=fr.prototype.fh;fr.prototype.setMap=fr.prototype.setMap;
fr.prototype.setOffset=fr.prototype.kh;fr.prototype.setPosition=fr.prototype.cf;fr.prototype.setPositioning=fr.prototype.lh;t("ol.size.toSize",pd,OPENLAYERS);Ah.prototype.getTileCoord=Ah.prototype.j;t("ol.View",Of,OPENLAYERS);Of.prototype.constrainCenter=Of.prototype.vd;Of.prototype.constrainResolution=Of.prototype.constrainResolution;Of.prototype.constrainRotation=Of.prototype.constrainRotation;Of.prototype.getCenter=Of.prototype.Fa;Of.prototype.calculateExtent=Of.prototype.Kc;
Of.prototype.getProjection=Of.prototype.Kk;Of.prototype.getResolution=Of.prototype.aa;Of.prototype.getRotation=Of.prototype.va;Of.prototype.getZoom=Of.prototype.rj;Of.prototype.fit=Of.prototype.Ke;Of.prototype.centerOn=Of.prototype.ri;Of.prototype.rotate=Of.prototype.rotate;Of.prototype.setCenter=Of.prototype.Ra;Of.prototype.setResolution=Of.prototype.wb;Of.prototype.setRotation=Of.prototype.Xd;Of.prototype.setZoom=Of.prototype.ao;t("ol.xml.getAllTextContent",Uo,OPENLAYERS);t("ol.xml.parse",np,OPENLAYERS);
t("ol.webgl.Context",mq,OPENLAYERS);mq.prototype.getGL=mq.prototype.Mm;mq.prototype.useProgram=mq.prototype.je;t("ol.tilegrid.TileGrid",Fh,OPENLAYERS);Fh.prototype.getMaxZoom=Fh.prototype.Uf;Fh.prototype.getMinZoom=Fh.prototype.Vf;Fh.prototype.getOrigin=Fh.prototype.ta;Fh.prototype.getResolution=Fh.prototype.aa;Fh.prototype.getResolutions=Fh.prototype.Kg;Fh.prototype.getTileCoordForCoordAndResolution=Fh.prototype.Yc;Fh.prototype.getTileCoordForCoordAndZ=Fh.prototype.Jd;Fh.prototype.getTileSize=Fh.prototype.Ka;
t("ol.tilegrid.createXYZ",Oh,OPENLAYERS);t("ol.tilegrid.WMTS",jA,OPENLAYERS);jA.prototype.getMatrixIds=jA.prototype.C;t("ol.tilegrid.WMTS.createFromCapabilitiesMatrixSet",kA,OPENLAYERS);t("ol.style.AtlasManager",pA,OPENLAYERS);t("ol.style.Circle",Fl,OPENLAYERS);Fl.prototype.getFill=Fl.prototype.lm;Fl.prototype.getImage=Fl.prototype.Jb;Fl.prototype.getRadius=Fl.prototype.mm;Fl.prototype.getStroke=Fl.prototype.nm;t("ol.style.Fill",El,OPENLAYERS);El.prototype.getColor=El.prototype.c;
El.prototype.setColor=El.prototype.f;t("ol.style.Icon",yk,OPENLAYERS);yk.prototype.getAnchor=yk.prototype.Ab;yk.prototype.getImage=yk.prototype.Jb;yk.prototype.getOrigin=yk.prototype.ta;yk.prototype.getSrc=yk.prototype.om;yk.prototype.getSize=yk.prototype.kb;yk.prototype.load=yk.prototype.load;t("ol.style.Image",xk,OPENLAYERS);xk.prototype.getOpacity=xk.prototype.de;xk.prototype.getRotateWithView=xk.prototype.Gd;xk.prototype.getRotation=xk.prototype.ee;xk.prototype.getScale=xk.prototype.fe;
xk.prototype.getSnapToPixel=xk.prototype.Id;xk.prototype.setOpacity=xk.prototype.ge;xk.prototype.setRotation=xk.prototype.he;xk.prototype.setScale=xk.prototype.ie;t("ol.style.RegularShape",tA,OPENLAYERS);tA.prototype.getAnchor=tA.prototype.Ab;tA.prototype.getAngle=tA.prototype.pm;tA.prototype.getFill=tA.prototype.qm;tA.prototype.getImage=tA.prototype.Jb;tA.prototype.getOrigin=tA.prototype.ta;tA.prototype.getPoints=tA.prototype.rm;tA.prototype.getRadius=tA.prototype.sm;tA.prototype.getRadius2=tA.prototype.hj;
tA.prototype.getSize=tA.prototype.kb;tA.prototype.getStroke=tA.prototype.tm;t("ol.style.Stroke",Al,OPENLAYERS);Al.prototype.getColor=Al.prototype.um;Al.prototype.getLineCap=Al.prototype.Ui;Al.prototype.getLineDash=Al.prototype.vm;Al.prototype.getLineJoin=Al.prototype.Vi;Al.prototype.getMiterLimit=Al.prototype.$i;Al.prototype.getWidth=Al.prototype.wm;Al.prototype.setColor=Al.prototype.xm;Al.prototype.setLineCap=Al.prototype.Rn;Al.prototype.setLineDash=Al.prototype.ym;Al.prototype.setLineJoin=Al.prototype.Sn;
Al.prototype.setMiterLimit=Al.prototype.Tn;Al.prototype.setWidth=Al.prototype.Zn;t("ol.style.Style",Gl,OPENLAYERS);Gl.prototype.getGeometry=Gl.prototype.V;Gl.prototype.getGeometryFunction=Gl.prototype.Oi;Gl.prototype.getFill=Gl.prototype.zm;Gl.prototype.getImage=Gl.prototype.Am;Gl.prototype.getStroke=Gl.prototype.Bm;Gl.prototype.getText=Gl.prototype.Cm;Gl.prototype.getZIndex=Gl.prototype.Dm;Gl.prototype.setGeometry=Gl.prototype.Jg;Gl.prototype.setZIndex=Gl.prototype.Em;t("ol.style.Text",Ht,OPENLAYERS);
Ht.prototype.getFont=Ht.prototype.Li;Ht.prototype.getOffsetX=Ht.prototype.aj;Ht.prototype.getOffsetY=Ht.prototype.bj;Ht.prototype.getFill=Ht.prototype.Fm;Ht.prototype.getRotation=Ht.prototype.Gm;Ht.prototype.getScale=Ht.prototype.Hm;Ht.prototype.getStroke=Ht.prototype.Im;Ht.prototype.getText=Ht.prototype.Jm;Ht.prototype.getTextAlign=Ht.prototype.lj;Ht.prototype.getTextBaseline=Ht.prototype.mj;Ht.prototype.setFont=Ht.prototype.On;Ht.prototype.setFill=Ht.prototype.Nn;Ht.prototype.setRotation=Ht.prototype.Km;
Ht.prototype.setScale=Ht.prototype.Lm;Ht.prototype.setStroke=Ht.prototype.Un;Ht.prototype.setText=Ht.prototype.Vn;Ht.prototype.setTextAlign=Ht.prototype.Wn;Ht.prototype.setTextBaseline=Ht.prototype.Xn;t("ol.Sphere",xe,OPENLAYERS);xe.prototype.geodesicArea=xe.prototype.a;xe.prototype.haversineDistance=xe.prototype.b;t("ol.source.BingMaps",sz,OPENLAYERS);t("ol.source.BingMaps.TOS_ATTRIBUTION",tz,OPENLAYERS);t("ol.source.Cluster",Z,OPENLAYERS);Z.prototype.getSource=Z.prototype.fa;
t("ol.source.ImageCanvas",zn,OPENLAYERS);t("ol.source.ImageMapGuide",wz,OPENLAYERS);wz.prototype.getParams=wz.prototype.Fl;wz.prototype.getImageLoadFunction=wz.prototype.El;wz.prototype.updateParams=wz.prototype.Il;wz.prototype.setImageLoadFunction=wz.prototype.Hl;t("ol.source.Image",sn,OPENLAYERS);un.prototype.image=un.prototype.image;t("ol.source.ImageStatic",xz,OPENLAYERS);t("ol.source.ImageVector",Rp,OPENLAYERS);Rp.prototype.getSource=Rp.prototype.Jl;Rp.prototype.getStyle=Rp.prototype.Kl;
Rp.prototype.getStyleFunction=Rp.prototype.Ll;Rp.prototype.setStyle=Rp.prototype.Bg;t("ol.source.ImageWMS",yz,OPENLAYERS);yz.prototype.getGetFeatureInfoUrl=yz.prototype.Ol;yz.prototype.getParams=yz.prototype.Ql;yz.prototype.getImageLoadFunction=yz.prototype.Pl;yz.prototype.getUrl=yz.prototype.Rl;yz.prototype.setImageLoadFunction=yz.prototype.Sl;yz.prototype.setUrl=yz.prototype.Tl;yz.prototype.updateParams=yz.prototype.Ul;t("ol.source.MapQuest",Fz,OPENLAYERS);Fz.prototype.getLayer=Fz.prototype.u;
t("ol.source.OSM",Dz,OPENLAYERS);t("ol.source.OSM.ATTRIBUTION",Ez,OPENLAYERS);t("ol.source.Raster",Iz,OPENLAYERS);Iz.prototype.setOperation=Iz.prototype.u;Nz.prototype.extent=Nz.prototype.extent;Nz.prototype.resolution=Nz.prototype.resolution;Nz.prototype.data=Nz.prototype.data;t("ol.source.Source",Ch,OPENLAYERS);Ch.prototype.getAttributions=Ch.prototype.na;Ch.prototype.getLogo=Ch.prototype.ma;Ch.prototype.getProjection=Ch.prototype.oa;Ch.prototype.getState=Ch.prototype.pa;
Ch.prototype.setAttributions=Ch.prototype.la;t("ol.source.Stamen",Sz,OPENLAYERS);t("ol.source.TileArcGISRest",Uz,OPENLAYERS);Uz.prototype.getParams=Uz.prototype.Vl;Uz.prototype.getUrls=Uz.prototype.Wl;Uz.prototype.setUrl=Uz.prototype.Xl;Uz.prototype.setUrls=Uz.prototype.Cg;Uz.prototype.updateParams=Uz.prototype.Zl;t("ol.source.TileDebug",Wz,OPENLAYERS);t("ol.source.TileImage",qz,OPENLAYERS);qz.prototype.getTileLoadFunction=qz.prototype.Ya;qz.prototype.getTileUrlFunction=qz.prototype.Za;
qz.prototype.setTileLoadFunction=qz.prototype.cb;qz.prototype.setTileUrlFunction=qz.prototype.Ga;t("ol.source.TileJSON",Xz,OPENLAYERS);t("ol.source.Tile",Rh,OPENLAYERS);Rh.prototype.getTileGrid=Rh.prototype.Ca;Vh.prototype.tile=Vh.prototype.tile;t("ol.source.TileUTFGrid",Yz,OPENLAYERS);Yz.prototype.getTemplate=Yz.prototype.kj;Yz.prototype.forDataAtCoordinateAndResolution=Yz.prototype.wi;t("ol.source.TileVector",cA,OPENLAYERS);cA.prototype.getFeaturesAtCoordinateAndResolution=cA.prototype.Ki;
t("ol.source.TileWMS",fA,OPENLAYERS);fA.prototype.getGetFeatureInfoUrl=fA.prototype.cm;fA.prototype.getParams=fA.prototype.dm;fA.prototype.getUrls=fA.prototype.em;fA.prototype.setUrl=fA.prototype.fm;fA.prototype.setUrls=fA.prototype.Dg;fA.prototype.updateParams=fA.prototype.hm;t("ol.source.Vector",V,OPENLAYERS);V.prototype.addFeature=V.prototype.yc;V.prototype.addFeatures=V.prototype.Nb;V.prototype.clear=V.prototype.clear;V.prototype.forEachFeature=V.prototype.Le;
V.prototype.forEachFeatureInExtent=V.prototype.sc;V.prototype.forEachFeatureIntersectingExtent=V.prototype.Me;V.prototype.getFeaturesCollection=V.prototype.Re;V.prototype.getFeatures=V.prototype.zc;V.prototype.getFeaturesAtCoordinate=V.prototype.Qe;V.prototype.getFeaturesInExtent=V.prototype.Ad;V.prototype.getClosestFeatureToCoordinate=V.prototype.Oe;V.prototype.getExtent=V.prototype.R;V.prototype.getFeatureById=V.prototype.Pe;V.prototype.removeFeature=V.prototype.dc;Op.prototype.feature=Op.prototype.feature;
t("ol.source.WMTS",lA,OPENLAYERS);lA.prototype.getDimensions=lA.prototype.Ii;lA.prototype.getFormat=lA.prototype.Mi;lA.prototype.getLayer=lA.prototype.im;lA.prototype.getMatrixSet=lA.prototype.Yi;lA.prototype.getRequestEncoding=lA.prototype.ij;lA.prototype.getStyle=lA.prototype.jm;lA.prototype.getUrls=lA.prototype.km;lA.prototype.getVersion=lA.prototype.oj;lA.prototype.updateDimensions=lA.prototype.io;
t("ol.source.WMTS.optionsFromCapabilities",function(a,c){var d=cb(a.Contents.Layer,function(a){return a.Identifier==c.layer}),e=a.Contents.TileMatrixSet,f,g;f=1<d.TileMatrixSetLink.length?"projection"in c?db(d.TileMatrixSetLink,function(a){return cb(e,function(c){return c.Identifier==a.TileMatrixSet}).SupportedCRS.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3")==c.projection}):db(d.TileMatrixSetLink,function(a){return a.TileMatrixSet==c.matrixSet}):0;0>f&&(f=0);g=d.TileMatrixSetLink[f].TileMatrixSet;
var h=d.Format[0];"format"in c&&(h=c.format);f=db(d.Style,function(a){return"style"in c?a.Title==c.style:a.isDefault});0>f&&(f=0);f=d.Style[f].Identifier;var k={};"Dimension"in d&&d.Dimension.forEach(function(a){var c=a.Identifier,d=a["default"];void 0===d&&(d=a.values[0]);k[c]=d});var m=cb(a.Contents.TileMatrixSet,function(a){return a.Identifier==g}),n;n="projection"in c?Ce(c.projection):Ce(m.SupportedCRS.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3"));var p=d.WGS84BoundingBox,q,r;void 0!==
p&&(r=Ce("EPSG:4326").R(),r=p[0]==r[0]&&p[2]==r[2],q=Ye(p,"EPSG:4326",n),(p=n.R())&&(Wd(p,q)||(q=void 0)));var m=kA(m,q),u=[];q=c.requestEncoding;q=void 0!==q?q:"";if(a.hasOwnProperty("OperationsMetadata")&&a.OperationsMetadata.hasOwnProperty("GetTile")&&0!==q.indexOf("REST"))for(var d=a.OperationsMetadata.GetTile.DCP.HTTP.Get,p=0,y=d.length;p<y;++p){var A=cb(d[p].Constraint,function(a){return"GetEncoding"==a.name}).AllowedValues.Value;0<A.length&&sb(A,"KVP")&&(q="KVP",u.push(d[p].href))}else q="REST",
d.ResourceURL.forEach(function(a){"tile"==a.resourceType&&(h=a.format,u.push(a.template))});return{urls:u,layer:c.layer,matrixSet:g,format:h,projection:n,requestEncoding:q,tileGrid:m,style:f,dimensions:k,wrapX:r}},OPENLAYERS);t("ol.source.XYZ",Cz,OPENLAYERS);Cz.prototype.getUrls=Cz.prototype.g;Cz.prototype.setUrl=Cz.prototype.f;t("ol.source.Zoomify",nA,OPENLAYERS);fk.prototype.vectorContext=fk.prototype.vectorContext;fk.prototype.frameState=fk.prototype.frameState;fk.prototype.context=fk.prototype.context;
fk.prototype.glContext=fk.prototype.glContext;t("ol.render.VectorContext",ek,OPENLAYERS);Kq.prototype.drawAsync=Kq.prototype.oc;Kq.prototype.drawCircleGeometry=Kq.prototype.pc;Kq.prototype.drawFeature=Kq.prototype.Je;Kq.prototype.drawGeometryCollectionGeometry=Kq.prototype.xd;Kq.prototype.drawPointGeometry=Kq.prototype.pb;Kq.prototype.drawLineStringGeometry=Kq.prototype.yb;Kq.prototype.drawMultiLineStringGeometry=Kq.prototype.qc;Kq.prototype.drawMultiPointGeometry=Kq.prototype.ob;
Kq.prototype.drawMultiPolygonGeometry=Kq.prototype.rc;Kq.prototype.drawPolygonGeometry=Kq.prototype.Pb;Kq.prototype.drawText=Kq.prototype.qb;Kq.prototype.setFillStrokeStyle=Kq.prototype.Ia;Kq.prototype.setImageStyle=Kq.prototype.bb;Kq.prototype.setTextStyle=Kq.prototype.Ja;km.prototype.drawAsync=km.prototype.oc;km.prototype.drawCircleGeometry=km.prototype.pc;km.prototype.drawFeature=km.prototype.Je;km.prototype.drawPointGeometry=km.prototype.pb;km.prototype.drawMultiPointGeometry=km.prototype.ob;
km.prototype.drawLineStringGeometry=km.prototype.yb;km.prototype.drawMultiLineStringGeometry=km.prototype.qc;km.prototype.drawPolygonGeometry=km.prototype.Pb;km.prototype.drawMultiPolygonGeometry=km.prototype.rc;km.prototype.setFillStrokeStyle=km.prototype.Ia;km.prototype.setImageStyle=km.prototype.bb;km.prototype.setTextStyle=km.prototype.Ja;t("ol.proj.common.add",im,OPENLAYERS);t("ol.proj.METERS_PER_UNIT",ze,OPENLAYERS);t("ol.proj.Projection",Ae,OPENLAYERS);Ae.prototype.getCode=Ae.prototype.Gi;
Ae.prototype.getExtent=Ae.prototype.R;Ae.prototype.getUnits=Ae.prototype.yl;Ae.prototype.getMetersPerUnit=Ae.prototype.Ed;Ae.prototype.getWorldExtent=Ae.prototype.qj;Ae.prototype.isGlobal=Ae.prototype.ck;Ae.prototype.setGlobal=Ae.prototype.Qn;Ae.prototype.setExtent=Ae.prototype.zl;Ae.prototype.setWorldExtent=Ae.prototype.$n;Ae.prototype.setGetPointResolution=Ae.prototype.Pn;Ae.prototype.getPointResolution=Ae.prototype.getPointResolution;t("ol.proj.addEquivalentProjections",De,OPENLAYERS);
t("ol.proj.addProjection",Re,OPENLAYERS);t("ol.proj.addCoordinateTransforms",Ee,OPENLAYERS);t("ol.proj.fromLonLat",function(a,c){return Xe(a,"EPSG:4326",void 0!==c?c:"EPSG:3857")},OPENLAYERS);t("ol.proj.toLonLat",function(a,c){return Xe(a,void 0!==c?c:"EPSG:3857","EPSG:4326")},OPENLAYERS);t("ol.proj.get",Ce,OPENLAYERS);t("ol.proj.getTransform",Ve,OPENLAYERS);t("ol.proj.transform",Xe,OPENLAYERS);t("ol.proj.transformExtent",Ye,OPENLAYERS);t("ol.layer.Heatmap",Y,OPENLAYERS);Y.prototype.getBlur=Y.prototype.Pf;
Y.prototype.getGradient=Y.prototype.Sf;Y.prototype.getRadius=Y.prototype.wg;Y.prototype.setBlur=Y.prototype.dh;Y.prototype.setGradient=Y.prototype.hh;Y.prototype.setRadius=Y.prototype.xg;t("ol.layer.Image",jm,OPENLAYERS);jm.prototype.getSource=jm.prototype.ea;t("ol.layer.Layer",gk,OPENLAYERS);gk.prototype.getSource=gk.prototype.ea;gk.prototype.setMap=gk.prototype.setMap;gk.prototype.setSource=gk.prototype.Ec;t("ol.layer.Base",ck,OPENLAYERS);ck.prototype.getExtent=ck.prototype.R;
ck.prototype.getMaxResolution=ck.prototype.Cb;ck.prototype.getMinResolution=ck.prototype.Db;ck.prototype.getOpacity=ck.prototype.Hb;ck.prototype.getVisible=ck.prototype.ib;ck.prototype.getZIndex=ck.prototype.Ib;ck.prototype.setExtent=ck.prototype.Yb;ck.prototype.setMaxResolution=ck.prototype.gc;ck.prototype.setMinResolution=ck.prototype.hc;ck.prototype.setOpacity=ck.prototype.Zb;ck.prototype.setVisible=ck.prototype.$b;ck.prototype.setZIndex=ck.prototype.ac;t("ol.layer.Group",bm,OPENLAYERS);
bm.prototype.getLayers=bm.prototype.xc;bm.prototype.setLayers=bm.prototype.jh;t("ol.layer.Tile",G,OPENLAYERS);G.prototype.getPreload=G.prototype.a;G.prototype.getSource=G.prototype.ea;G.prototype.setPreload=G.prototype.f;G.prototype.getUseInterimTilesOnError=G.prototype.c;G.prototype.setUseInterimTilesOnError=G.prototype.g;t("ol.layer.Vector",H,OPENLAYERS);H.prototype.getSource=H.prototype.ea;H.prototype.getStyle=H.prototype.T;H.prototype.getStyleFunction=H.prototype.X;H.prototype.setStyle=H.prototype.g;
t("ol.interaction.DoubleClickZoom",Uk,OPENLAYERS);t("ol.interaction.DoubleClickZoom.handleEvent",Vk,OPENLAYERS);t("ol.interaction.DragAndDrop",Yx,OPENLAYERS);t("ol.interaction.DragAndDrop.handleEvent",re,OPENLAYERS);Zx.prototype.features=Zx.prototype.features;Zx.prototype.file=Zx.prototype.file;Zx.prototype.projection=Zx.prototype.projection;rl.prototype.coordinate=rl.prototype.coordinate;t("ol.interaction.DragBox",sl,OPENLAYERS);sl.prototype.getGeometry=sl.prototype.V;
t("ol.interaction.DragPan",fl,OPENLAYERS);t("ol.interaction.DragRotateAndZoom",by,OPENLAYERS);t("ol.interaction.DragRotate",jl,OPENLAYERS);t("ol.interaction.DragZoom",Ml,OPENLAYERS);fy.prototype.feature=fy.prototype.feature;t("ol.interaction.Draw",gy,OPENLAYERS);t("ol.interaction.Draw.handleEvent",iy,OPENLAYERS);gy.prototype.removeLastPoint=gy.prototype.Dn;gy.prototype.finishDrawing=gy.prototype.Vc;gy.prototype.extend=gy.prototype.dl;
t("ol.interaction.Draw.createRegularPolygon",function(a,c){return function(d,e){var f=d[0],g=d[1],h=Math.sqrt(wd(f,g)),k=e?e:Mf(new Ym(f),a);Nf(k,f,h,c?c:Math.atan((g[1]-f[1])/(g[0]-f[0])));return k}},OPENLAYERS);t("ol.interaction.Interaction",Qk,OPENLAYERS);Qk.prototype.getActive=Qk.prototype.c;Qk.prototype.setActive=Qk.prototype.g;t("ol.interaction.defaults",am,OPENLAYERS);t("ol.interaction.KeyboardPan",Nl,OPENLAYERS);t("ol.interaction.KeyboardPan.handleEvent",Ol,OPENLAYERS);
t("ol.interaction.KeyboardZoom",Pl,OPENLAYERS);t("ol.interaction.KeyboardZoom.handleEvent",Ql,OPENLAYERS);wy.prototype.features=wy.prototype.features;wy.prototype.mapBrowserPointerEvent=wy.prototype.mapBrowserPointerEvent;t("ol.interaction.Modify",xy,OPENLAYERS);t("ol.interaction.Modify.handleEvent",Ay,OPENLAYERS);t("ol.interaction.MouseWheelZoom",Rl,OPENLAYERS);t("ol.interaction.MouseWheelZoom.handleEvent",Sl,OPENLAYERS);Rl.prototype.setMouseAnchor=Rl.prototype.B;
t("ol.interaction.PinchRotate",Tl,OPENLAYERS);t("ol.interaction.PinchZoom",Xl,OPENLAYERS);t("ol.interaction.Pointer",cl,OPENLAYERS);t("ol.interaction.Pointer.handleEvent",dl,OPENLAYERS);Ky.prototype.selected=Ky.prototype.selected;Ky.prototype.deselected=Ky.prototype.deselected;Ky.prototype.mapBrowserEvent=Ky.prototype.mapBrowserEvent;t("ol.interaction.Select",Ly,OPENLAYERS);Ly.prototype.getFeatures=Ly.prototype.nl;Ly.prototype.getLayer=Ly.prototype.ol;t("ol.interaction.Select.handleEvent",My,OPENLAYERS);
Ly.prototype.setMap=Ly.prototype.setMap;t("ol.interaction.Snap",Oy,OPENLAYERS);Oy.prototype.addFeature=Oy.prototype.ad;Oy.prototype.removeFeature=Oy.prototype.bd;t("ol.interaction.Translate",Sy,OPENLAYERS);t("ol.geom.Circle",Ym,OPENLAYERS);Ym.prototype.clone=Ym.prototype.clone;Ym.prototype.getCenter=Ym.prototype.$c;Ym.prototype.getRadius=Ym.prototype.df;Ym.prototype.getType=Ym.prototype.W;Ym.prototype.intersectsExtent=Ym.prototype.ua;Ym.prototype.setCenter=Ym.prototype.Wk;
Ym.prototype.setCenterAndRadius=Ym.prototype.uf;Ym.prototype.setRadius=Ym.prototype.Xk;Ym.prototype.transform=Ym.prototype.Sa;t("ol.geom.Geometry",Ze,OPENLAYERS);Ze.prototype.getClosestPoint=Ze.prototype.Xa;Ze.prototype.getExtent=Ze.prototype.R;Ze.prototype.simplify=Ze.prototype.eb;Ze.prototype.transform=Ze.prototype.Sa;t("ol.geom.GeometryCollection",$m,OPENLAYERS);$m.prototype.clone=$m.prototype.clone;$m.prototype.getGeometries=$m.prototype.Rf;$m.prototype.getType=$m.prototype.W;
$m.prototype.intersectsExtent=$m.prototype.ua;$m.prototype.setGeometries=$m.prototype.gh;$m.prototype.applyTransform=$m.prototype.Ob;$m.prototype.translate=$m.prototype.wc;t("ol.geom.LinearRing",tf,OPENLAYERS);tf.prototype.clone=tf.prototype.clone;tf.prototype.getArea=tf.prototype.$k;tf.prototype.getCoordinates=tf.prototype.U;tf.prototype.getType=tf.prototype.W;tf.prototype.setCoordinates=tf.prototype.ja;t("ol.geom.LineString",L,OPENLAYERS);L.prototype.appendCoordinate=L.prototype.ji;
L.prototype.clone=L.prototype.clone;L.prototype.forEachSegment=L.prototype.zi;L.prototype.getCoordinateAtM=L.prototype.Yk;L.prototype.getCoordinates=L.prototype.U;L.prototype.getLength=L.prototype.Zk;L.prototype.getType=L.prototype.W;L.prototype.intersectsExtent=L.prototype.ua;L.prototype.setCoordinates=L.prototype.ja;t("ol.geom.MultiLineString",O,OPENLAYERS);O.prototype.appendLineString=O.prototype.ki;O.prototype.clone=O.prototype.clone;O.prototype.getCoordinateAtM=O.prototype.al;
O.prototype.getCoordinates=O.prototype.U;O.prototype.getLineString=O.prototype.Wi;O.prototype.getLineStrings=O.prototype.Xc;O.prototype.getType=O.prototype.W;O.prototype.intersectsExtent=O.prototype.ua;O.prototype.setCoordinates=O.prototype.ja;t("ol.geom.MultiPoint",kn,OPENLAYERS);kn.prototype.appendPoint=kn.prototype.mi;kn.prototype.clone=kn.prototype.clone;kn.prototype.getCoordinates=kn.prototype.U;kn.prototype.getPoint=kn.prototype.ej;kn.prototype.getPoints=kn.prototype.Yd;
kn.prototype.getType=kn.prototype.W;kn.prototype.intersectsExtent=kn.prototype.ua;kn.prototype.setCoordinates=kn.prototype.ja;t("ol.geom.MultiPolygon",P,OPENLAYERS);P.prototype.appendPolygon=P.prototype.ni;P.prototype.clone=P.prototype.clone;P.prototype.getArea=P.prototype.bl;P.prototype.getCoordinates=P.prototype.U;P.prototype.getInteriorPoints=P.prototype.Ti;P.prototype.getPolygon=P.prototype.gj;P.prototype.getPolygons=P.prototype.Fd;P.prototype.getType=P.prototype.W;
P.prototype.intersectsExtent=P.prototype.ua;P.prototype.setCoordinates=P.prototype.ja;t("ol.geom.Point",D,OPENLAYERS);D.prototype.clone=D.prototype.clone;D.prototype.getCoordinates=D.prototype.U;D.prototype.getType=D.prototype.W;D.prototype.intersectsExtent=D.prototype.ua;D.prototype.setCoordinates=D.prototype.ja;t("ol.geom.Polygon",E,OPENLAYERS);E.prototype.appendLinearRing=E.prototype.li;E.prototype.clone=E.prototype.clone;E.prototype.getArea=E.prototype.cl;E.prototype.getCoordinates=E.prototype.U;
E.prototype.getInteriorPoint=E.prototype.Si;E.prototype.getLinearRingCount=E.prototype.Xi;E.prototype.getLinearRing=E.prototype.Tf;E.prototype.getLinearRings=E.prototype.Dd;E.prototype.getType=E.prototype.W;E.prototype.intersectsExtent=E.prototype.ua;E.prototype.setCoordinates=E.prototype.ja;t("ol.geom.Polygon.circular",Kf,OPENLAYERS);t("ol.geom.Polygon.fromExtent",Lf,OPENLAYERS);t("ol.geom.Polygon.fromCircle",Mf,OPENLAYERS);t("ol.geom.SimpleGeometry",af,OPENLAYERS);
af.prototype.getFirstCoordinate=af.prototype.sb;af.prototype.getLastCoordinate=af.prototype.tb;af.prototype.getLayout=af.prototype.ub;af.prototype.applyTransform=af.prototype.Ob;af.prototype.translate=af.prototype.wc;t("ol.format.EsriJSON",Pr,OPENLAYERS);Pr.prototype.readFeature=Pr.prototype.vb;Pr.prototype.readFeatures=Pr.prototype.sa;Pr.prototype.readGeometry=Pr.prototype.Bc;Pr.prototype.readProjection=Pr.prototype.Ha;Pr.prototype.writeGeometry=Pr.prototype.Hc;Pr.prototype.writeGeometryObject=Pr.prototype.we;
Pr.prototype.writeFeature=Pr.prototype.kd;Pr.prototype.writeFeatureObject=Pr.prototype.Gc;Pr.prototype.writeFeatures=Pr.prototype.xb;Pr.prototype.writeFeaturesObject=Pr.prototype.ue;t("ol.format.Feature",Jr,OPENLAYERS);t("ol.format.GeoJSON",Wr,OPENLAYERS);Wr.prototype.readFeature=Wr.prototype.vb;Wr.prototype.readFeatures=Wr.prototype.sa;Wr.prototype.readGeometry=Wr.prototype.Bc;Wr.prototype.readProjection=Wr.prototype.Ha;Wr.prototype.writeFeature=Wr.prototype.kd;Wr.prototype.writeFeatureObject=Wr.prototype.Gc;
Wr.prototype.writeFeatures=Wr.prototype.xb;Wr.prototype.writeFeaturesObject=Wr.prototype.ue;Wr.prototype.writeGeometry=Wr.prototype.Hc;Wr.prototype.writeGeometryObject=Wr.prototype.we;t("ol.format.GPX",zs,OPENLAYERS);zs.prototype.readFeature=zs.prototype.vb;zs.prototype.readFeatures=zs.prototype.sa;zs.prototype.readProjection=zs.prototype.Ha;zs.prototype.writeFeatures=zs.prototype.xb;zs.prototype.writeFeaturesNode=zs.prototype.a;t("ol.format.IGC",jt,OPENLAYERS);jt.prototype.readFeature=jt.prototype.vb;
jt.prototype.readFeatures=jt.prototype.sa;jt.prototype.readProjection=jt.prototype.Ha;t("ol.format.KML",It,OPENLAYERS);It.prototype.readFeature=It.prototype.vb;It.prototype.readFeatures=It.prototype.sa;It.prototype.readName=It.prototype.sn;It.prototype.readNetworkLinks=It.prototype.tn;It.prototype.readProjection=It.prototype.Ha;It.prototype.writeFeatures=It.prototype.xb;It.prototype.writeFeaturesNode=It.prototype.a;t("ol.format.OSMXML",vv,OPENLAYERS);vv.prototype.readFeatures=vv.prototype.sa;
vv.prototype.readProjection=vv.prototype.Ha;t("ol.format.Polyline",Uv,OPENLAYERS);t("ol.format.Polyline.encodeDeltas",Vv,OPENLAYERS);t("ol.format.Polyline.decodeDeltas",Xv,OPENLAYERS);t("ol.format.Polyline.encodeFloats",Wv,OPENLAYERS);t("ol.format.Polyline.decodeFloats",Yv,OPENLAYERS);Uv.prototype.readFeature=Uv.prototype.vb;Uv.prototype.readFeatures=Uv.prototype.sa;Uv.prototype.readGeometry=Uv.prototype.Bc;Uv.prototype.readProjection=Uv.prototype.Ha;Uv.prototype.writeGeometry=Uv.prototype.Hc;
t("ol.format.TopoJSON",Zv,OPENLAYERS);Zv.prototype.readFeatures=Zv.prototype.sa;Zv.prototype.readProjection=Zv.prototype.Ha;t("ol.format.WFS",ew,OPENLAYERS);ew.prototype.readFeatures=ew.prototype.sa;ew.prototype.readTransactionResponse=ew.prototype.i;ew.prototype.readFeatureCollectionMetadata=ew.prototype.j;ew.prototype.writeGetFeature=ew.prototype.l;ew.prototype.writeTransaction=ew.prototype.v;ew.prototype.readProjection=ew.prototype.Ha;t("ol.format.WKT",rw,OPENLAYERS);rw.prototype.readFeature=rw.prototype.vb;
rw.prototype.readFeatures=rw.prototype.sa;rw.prototype.readGeometry=rw.prototype.Bc;rw.prototype.writeFeature=rw.prototype.kd;rw.prototype.writeFeatures=rw.prototype.xb;rw.prototype.writeGeometry=rw.prototype.Hc;t("ol.format.WMSCapabilities",Jw,OPENLAYERS);Jw.prototype.read=Jw.prototype.c;t("ol.format.WMSGetFeatureInfo",fx,OPENLAYERS);fx.prototype.readFeatures=fx.prototype.sa;t("ol.format.WMTSCapabilities",gx,OPENLAYERS);gx.prototype.read=gx.prototype.c;t("ol.format.GML2",ps,OPENLAYERS);
t("ol.format.GML3",qs,OPENLAYERS);qs.prototype.writeGeometryNode=qs.prototype.C;qs.prototype.writeFeatures=qs.prototype.xb;qs.prototype.writeFeaturesNode=qs.prototype.a;t("ol.format.GML",qs,OPENLAYERS);qs.prototype.writeFeatures=qs.prototype.xb;qs.prototype.writeFeaturesNode=qs.prototype.a;ds.prototype.readFeatures=ds.prototype.sa;t("ol.events.condition.altKeyOnly",function(a){a=a.b;return a.a&&!a.l&&!a.f},OPENLAYERS);t("ol.events.condition.altShiftKeysOnly",Wk,OPENLAYERS);
t("ol.events.condition.always",re,OPENLAYERS);t("ol.events.condition.click",function(a){return a.type==Sj},OPENLAYERS);t("ol.events.condition.never",qe,OPENLAYERS);t("ol.events.condition.pointerMove",Xk,OPENLAYERS);t("ol.events.condition.singleClick",Yk,OPENLAYERS);t("ol.events.condition.doubleClick",function(a){return a.type==Tj},OPENLAYERS);t("ol.events.condition.noModifierKeys",Zk,OPENLAYERS);t("ol.events.condition.platformModifierKeyOnly",function(a){a=a.b;return!a.a&&a.l&&!a.f},OPENLAYERS);
t("ol.events.condition.shiftKeyOnly",$k,OPENLAYERS);t("ol.events.condition.targetNotEditable",al,OPENLAYERS);t("ol.events.condition.mouseOnly",bl,OPENLAYERS);t("ol.control.Attribution",Wh,OPENLAYERS);t("ol.control.Attribution.render",Xh,OPENLAYERS);Wh.prototype.getCollapsible=Wh.prototype.Mk;Wh.prototype.setCollapsible=Wh.prototype.Pk;Wh.prototype.setCollapsed=Wh.prototype.Ok;Wh.prototype.getCollapsed=Wh.prototype.Lk;t("ol.control.Control",vh,OPENLAYERS);vh.prototype.getMap=vh.prototype.g;
vh.prototype.setMap=vh.prototype.setMap;vh.prototype.setTarget=vh.prototype.c;t("ol.control.defaults",bi,OPENLAYERS);t("ol.control.FullScreen",gi,OPENLAYERS);t("ol.control.MousePosition",hi,OPENLAYERS);t("ol.control.MousePosition.render",ii,OPENLAYERS);hi.prototype.getCoordinateFormat=hi.prototype.Qf;hi.prototype.getProjection=hi.prototype.pg;hi.prototype.setCoordinateFormat=hi.prototype.eh;hi.prototype.setProjection=hi.prototype.qg;t("ol.control.OverviewMap",jr,OPENLAYERS);
t("ol.control.OverviewMap.render",kr,OPENLAYERS);jr.prototype.getCollapsible=jr.prototype.Sk;jr.prototype.setCollapsible=jr.prototype.Vk;jr.prototype.setCollapsed=jr.prototype.Uk;jr.prototype.getCollapsed=jr.prototype.Rk;t("ol.control.Rotate",Zh,OPENLAYERS);t("ol.control.Rotate.render",$h,OPENLAYERS);t("ol.control.ScaleLine",or,OPENLAYERS);or.prototype.getUnits=or.prototype.N;t("ol.control.ScaleLine.render",pr,OPENLAYERS);or.prototype.setUnits=or.prototype.X;t("ol.control.Zoom",ai,OPENLAYERS);
t("ol.control.ZoomSlider",Cr,OPENLAYERS);t("ol.control.ZoomSlider.render",Er,OPENLAYERS);t("ol.control.ZoomToExtent",Hr,OPENLAYERS);t("ol.color.asArray",yg,OPENLAYERS);t("ol.color.asString",Ag,OPENLAYERS);jd.prototype.changed=jd.prototype.s;jd.prototype.getRevision=jd.prototype.K;jd.prototype.on=jd.prototype.D;jd.prototype.once=jd.prototype.L;jd.prototype.un=jd.prototype.J;jd.prototype.unByKey=jd.prototype.M;tg.prototype.get=tg.prototype.get;tg.prototype.getKeys=tg.prototype.O;
tg.prototype.getProperties=tg.prototype.P;tg.prototype.set=tg.prototype.set;tg.prototype.setProperties=tg.prototype.H;tg.prototype.unset=tg.prototype.S;tg.prototype.changed=tg.prototype.s;tg.prototype.getRevision=tg.prototype.K;tg.prototype.on=tg.prototype.D;tg.prototype.once=tg.prototype.L;tg.prototype.un=tg.prototype.J;tg.prototype.unByKey=tg.prototype.M;Ir.prototype.get=Ir.prototype.get;Ir.prototype.getKeys=Ir.prototype.O;Ir.prototype.getProperties=Ir.prototype.P;Ir.prototype.set=Ir.prototype.set;
Ir.prototype.setProperties=Ir.prototype.H;Ir.prototype.unset=Ir.prototype.S;Ir.prototype.changed=Ir.prototype.s;Ir.prototype.getRevision=Ir.prototype.K;Ir.prototype.on=Ir.prototype.D;Ir.prototype.once=Ir.prototype.L;Ir.prototype.un=Ir.prototype.J;Ir.prototype.unByKey=Ir.prototype.M;Q.prototype.get=Q.prototype.get;Q.prototype.getKeys=Q.prototype.O;Q.prototype.getProperties=Q.prototype.P;Q.prototype.set=Q.prototype.set;Q.prototype.setProperties=Q.prototype.H;Q.prototype.unset=Q.prototype.S;
Q.prototype.changed=Q.prototype.s;Q.prototype.getRevision=Q.prototype.K;Q.prototype.on=Q.prototype.D;Q.prototype.once=Q.prototype.L;Q.prototype.un=Q.prototype.J;Q.prototype.unByKey=Q.prototype.M;tx.prototype.get=tx.prototype.get;tx.prototype.getKeys=tx.prototype.O;tx.prototype.getProperties=tx.prototype.P;tx.prototype.set=tx.prototype.set;tx.prototype.setProperties=tx.prototype.H;tx.prototype.unset=tx.prototype.S;tx.prototype.changed=tx.prototype.s;tx.prototype.getRevision=tx.prototype.K;
tx.prototype.on=tx.prototype.D;tx.prototype.once=tx.prototype.L;tx.prototype.un=tx.prototype.J;tx.prototype.unByKey=tx.prototype.M;Dx.prototype.getTileCoord=Dx.prototype.j;W.prototype.get=W.prototype.get;W.prototype.getKeys=W.prototype.O;W.prototype.getProperties=W.prototype.P;W.prototype.set=W.prototype.set;W.prototype.setProperties=W.prototype.H;W.prototype.unset=W.prototype.S;W.prototype.changed=W.prototype.s;W.prototype.getRevision=W.prototype.K;W.prototype.on=W.prototype.D;W.prototype.once=W.prototype.L;
W.prototype.un=W.prototype.J;W.prototype.unByKey=W.prototype.M;Oj.prototype.map=Oj.prototype.map;Oj.prototype.frameState=Oj.prototype.frameState;Pj.prototype.originalEvent=Pj.prototype.originalEvent;Pj.prototype.pixel=Pj.prototype.pixel;Pj.prototype.coordinate=Pj.prototype.coordinate;Pj.prototype.dragging=Pj.prototype.dragging;Pj.prototype.preventDefault=Pj.prototype.preventDefault;Pj.prototype.stopPropagation=Pj.prototype.c;Pj.prototype.map=Pj.prototype.map;Pj.prototype.frameState=Pj.prototype.frameState;
fr.prototype.get=fr.prototype.get;fr.prototype.getKeys=fr.prototype.O;fr.prototype.getProperties=fr.prototype.P;fr.prototype.set=fr.prototype.set;fr.prototype.setProperties=fr.prototype.H;fr.prototype.unset=fr.prototype.S;fr.prototype.changed=fr.prototype.s;fr.prototype.getRevision=fr.prototype.K;fr.prototype.on=fr.prototype.D;fr.prototype.once=fr.prototype.L;fr.prototype.un=fr.prototype.J;fr.prototype.unByKey=fr.prototype.M;Of.prototype.get=Of.prototype.get;Of.prototype.getKeys=Of.prototype.O;
Of.prototype.getProperties=Of.prototype.P;Of.prototype.set=Of.prototype.set;Of.prototype.setProperties=Of.prototype.H;Of.prototype.unset=Of.prototype.S;Of.prototype.changed=Of.prototype.s;Of.prototype.getRevision=Of.prototype.K;Of.prototype.on=Of.prototype.D;Of.prototype.once=Of.prototype.L;Of.prototype.un=Of.prototype.J;Of.prototype.unByKey=Of.prototype.M;jA.prototype.getMaxZoom=jA.prototype.Uf;jA.prototype.getMinZoom=jA.prototype.Vf;jA.prototype.getOrigin=jA.prototype.ta;
jA.prototype.getResolution=jA.prototype.aa;jA.prototype.getResolutions=jA.prototype.Kg;jA.prototype.getTileCoordForCoordAndResolution=jA.prototype.Yc;jA.prototype.getTileCoordForCoordAndZ=jA.prototype.Jd;jA.prototype.getTileSize=jA.prototype.Ka;Fl.prototype.getOpacity=Fl.prototype.de;Fl.prototype.getRotateWithView=Fl.prototype.Gd;Fl.prototype.getRotation=Fl.prototype.ee;Fl.prototype.getScale=Fl.prototype.fe;Fl.prototype.getSnapToPixel=Fl.prototype.Id;Fl.prototype.setOpacity=Fl.prototype.ge;
Fl.prototype.setRotation=Fl.prototype.he;Fl.prototype.setScale=Fl.prototype.ie;yk.prototype.getOpacity=yk.prototype.de;yk.prototype.getRotateWithView=yk.prototype.Gd;yk.prototype.getRotation=yk.prototype.ee;yk.prototype.getScale=yk.prototype.fe;yk.prototype.getSnapToPixel=yk.prototype.Id;yk.prototype.setOpacity=yk.prototype.ge;yk.prototype.setRotation=yk.prototype.he;yk.prototype.setScale=yk.prototype.ie;tA.prototype.getOpacity=tA.prototype.de;tA.prototype.getRotateWithView=tA.prototype.Gd;
tA.prototype.getRotation=tA.prototype.ee;tA.prototype.getScale=tA.prototype.fe;tA.prototype.getSnapToPixel=tA.prototype.Id;tA.prototype.setOpacity=tA.prototype.ge;tA.prototype.setRotation=tA.prototype.he;tA.prototype.setScale=tA.prototype.ie;Ch.prototype.get=Ch.prototype.get;Ch.prototype.getKeys=Ch.prototype.O;Ch.prototype.getProperties=Ch.prototype.P;Ch.prototype.set=Ch.prototype.set;Ch.prototype.setProperties=Ch.prototype.H;Ch.prototype.unset=Ch.prototype.S;Ch.prototype.changed=Ch.prototype.s;
Ch.prototype.getRevision=Ch.prototype.K;Ch.prototype.on=Ch.prototype.D;Ch.prototype.once=Ch.prototype.L;Ch.prototype.un=Ch.prototype.J;Ch.prototype.unByKey=Ch.prototype.M;Rh.prototype.getAttributions=Rh.prototype.na;Rh.prototype.getLogo=Rh.prototype.ma;Rh.prototype.getProjection=Rh.prototype.oa;Rh.prototype.getState=Rh.prototype.pa;Rh.prototype.setAttributions=Rh.prototype.la;Rh.prototype.get=Rh.prototype.get;Rh.prototype.getKeys=Rh.prototype.O;Rh.prototype.getProperties=Rh.prototype.P;
Rh.prototype.set=Rh.prototype.set;Rh.prototype.setProperties=Rh.prototype.H;Rh.prototype.unset=Rh.prototype.S;Rh.prototype.changed=Rh.prototype.s;Rh.prototype.getRevision=Rh.prototype.K;Rh.prototype.on=Rh.prototype.D;Rh.prototype.once=Rh.prototype.L;Rh.prototype.un=Rh.prototype.J;Rh.prototype.unByKey=Rh.prototype.M;qz.prototype.getTileGrid=qz.prototype.Ca;qz.prototype.getAttributions=qz.prototype.na;qz.prototype.getLogo=qz.prototype.ma;qz.prototype.getProjection=qz.prototype.oa;
qz.prototype.getState=qz.prototype.pa;qz.prototype.setAttributions=qz.prototype.la;qz.prototype.get=qz.prototype.get;qz.prototype.getKeys=qz.prototype.O;qz.prototype.getProperties=qz.prototype.P;qz.prototype.set=qz.prototype.set;qz.prototype.setProperties=qz.prototype.H;qz.prototype.unset=qz.prototype.S;qz.prototype.changed=qz.prototype.s;qz.prototype.getRevision=qz.prototype.K;qz.prototype.on=qz.prototype.D;qz.prototype.once=qz.prototype.L;qz.prototype.un=qz.prototype.J;qz.prototype.unByKey=qz.prototype.M;
sz.prototype.getTileLoadFunction=sz.prototype.Ya;sz.prototype.getTileUrlFunction=sz.prototype.Za;sz.prototype.setTileLoadFunction=sz.prototype.cb;sz.prototype.setTileUrlFunction=sz.prototype.Ga;sz.prototype.getTileGrid=sz.prototype.Ca;sz.prototype.getAttributions=sz.prototype.na;sz.prototype.getLogo=sz.prototype.ma;sz.prototype.getProjection=sz.prototype.oa;sz.prototype.getState=sz.prototype.pa;sz.prototype.setAttributions=sz.prototype.la;sz.prototype.get=sz.prototype.get;sz.prototype.getKeys=sz.prototype.O;
sz.prototype.getProperties=sz.prototype.P;sz.prototype.set=sz.prototype.set;sz.prototype.setProperties=sz.prototype.H;sz.prototype.unset=sz.prototype.S;sz.prototype.changed=sz.prototype.s;sz.prototype.getRevision=sz.prototype.K;sz.prototype.on=sz.prototype.D;sz.prototype.once=sz.prototype.L;sz.prototype.un=sz.prototype.J;sz.prototype.unByKey=sz.prototype.M;V.prototype.getAttributions=V.prototype.na;V.prototype.getLogo=V.prototype.ma;V.prototype.getProjection=V.prototype.oa;V.prototype.getState=V.prototype.pa;
V.prototype.setAttributions=V.prototype.la;V.prototype.get=V.prototype.get;V.prototype.getKeys=V.prototype.O;V.prototype.getProperties=V.prototype.P;V.prototype.set=V.prototype.set;V.prototype.setProperties=V.prototype.H;V.prototype.unset=V.prototype.S;V.prototype.changed=V.prototype.s;V.prototype.getRevision=V.prototype.K;V.prototype.on=V.prototype.D;V.prototype.once=V.prototype.L;V.prototype.un=V.prototype.J;V.prototype.unByKey=V.prototype.M;Z.prototype.addFeature=Z.prototype.yc;
Z.prototype.addFeatures=Z.prototype.Nb;Z.prototype.clear=Z.prototype.clear;Z.prototype.forEachFeature=Z.prototype.Le;Z.prototype.forEachFeatureInExtent=Z.prototype.sc;Z.prototype.forEachFeatureIntersectingExtent=Z.prototype.Me;Z.prototype.getFeaturesCollection=Z.prototype.Re;Z.prototype.getFeatures=Z.prototype.zc;Z.prototype.getFeaturesAtCoordinate=Z.prototype.Qe;Z.prototype.getFeaturesInExtent=Z.prototype.Ad;Z.prototype.getClosestFeatureToCoordinate=Z.prototype.Oe;Z.prototype.getExtent=Z.prototype.R;
Z.prototype.getFeatureById=Z.prototype.Pe;Z.prototype.removeFeature=Z.prototype.dc;Z.prototype.getAttributions=Z.prototype.na;Z.prototype.getLogo=Z.prototype.ma;Z.prototype.getProjection=Z.prototype.oa;Z.prototype.getState=Z.prototype.pa;Z.prototype.setAttributions=Z.prototype.la;Z.prototype.get=Z.prototype.get;Z.prototype.getKeys=Z.prototype.O;Z.prototype.getProperties=Z.prototype.P;Z.prototype.set=Z.prototype.set;Z.prototype.setProperties=Z.prototype.H;Z.prototype.unset=Z.prototype.S;
Z.prototype.changed=Z.prototype.s;Z.prototype.getRevision=Z.prototype.K;Z.prototype.on=Z.prototype.D;Z.prototype.once=Z.prototype.L;Z.prototype.un=Z.prototype.J;Z.prototype.unByKey=Z.prototype.M;sn.prototype.getAttributions=sn.prototype.na;sn.prototype.getLogo=sn.prototype.ma;sn.prototype.getProjection=sn.prototype.oa;sn.prototype.getState=sn.prototype.pa;sn.prototype.setAttributions=sn.prototype.la;sn.prototype.get=sn.prototype.get;sn.prototype.getKeys=sn.prototype.O;sn.prototype.getProperties=sn.prototype.P;
sn.prototype.set=sn.prototype.set;sn.prototype.setProperties=sn.prototype.H;sn.prototype.unset=sn.prototype.S;sn.prototype.changed=sn.prototype.s;sn.prototype.getRevision=sn.prototype.K;sn.prototype.on=sn.prototype.D;sn.prototype.once=sn.prototype.L;sn.prototype.un=sn.prototype.J;sn.prototype.unByKey=sn.prototype.M;zn.prototype.getAttributions=zn.prototype.na;zn.prototype.getLogo=zn.prototype.ma;zn.prototype.getProjection=zn.prototype.oa;zn.prototype.getState=zn.prototype.pa;
zn.prototype.setAttributions=zn.prototype.la;zn.prototype.get=zn.prototype.get;zn.prototype.getKeys=zn.prototype.O;zn.prototype.getProperties=zn.prototype.P;zn.prototype.set=zn.prototype.set;zn.prototype.setProperties=zn.prototype.H;zn.prototype.unset=zn.prototype.S;zn.prototype.changed=zn.prototype.s;zn.prototype.getRevision=zn.prototype.K;zn.prototype.on=zn.prototype.D;zn.prototype.once=zn.prototype.L;zn.prototype.un=zn.prototype.J;zn.prototype.unByKey=zn.prototype.M;
wz.prototype.getAttributions=wz.prototype.na;wz.prototype.getLogo=wz.prototype.ma;wz.prototype.getProjection=wz.prototype.oa;wz.prototype.getState=wz.prototype.pa;wz.prototype.setAttributions=wz.prototype.la;wz.prototype.get=wz.prototype.get;wz.prototype.getKeys=wz.prototype.O;wz.prototype.getProperties=wz.prototype.P;wz.prototype.set=wz.prototype.set;wz.prototype.setProperties=wz.prototype.H;wz.prototype.unset=wz.prototype.S;wz.prototype.changed=wz.prototype.s;wz.prototype.getRevision=wz.prototype.K;
wz.prototype.on=wz.prototype.D;wz.prototype.once=wz.prototype.L;wz.prototype.un=wz.prototype.J;wz.prototype.unByKey=wz.prototype.M;xz.prototype.getAttributions=xz.prototype.na;xz.prototype.getLogo=xz.prototype.ma;xz.prototype.getProjection=xz.prototype.oa;xz.prototype.getState=xz.prototype.pa;xz.prototype.setAttributions=xz.prototype.la;xz.prototype.get=xz.prototype.get;xz.prototype.getKeys=xz.prototype.O;xz.prototype.getProperties=xz.prototype.P;xz.prototype.set=xz.prototype.set;
xz.prototype.setProperties=xz.prototype.H;xz.prototype.unset=xz.prototype.S;xz.prototype.changed=xz.prototype.s;xz.prototype.getRevision=xz.prototype.K;xz.prototype.on=xz.prototype.D;xz.prototype.once=xz.prototype.L;xz.prototype.un=xz.prototype.J;xz.prototype.unByKey=xz.prototype.M;Rp.prototype.getAttributions=Rp.prototype.na;Rp.prototype.getLogo=Rp.prototype.ma;Rp.prototype.getProjection=Rp.prototype.oa;Rp.prototype.getState=Rp.prototype.pa;Rp.prototype.setAttributions=Rp.prototype.la;
Rp.prototype.get=Rp.prototype.get;Rp.prototype.getKeys=Rp.prototype.O;Rp.prototype.getProperties=Rp.prototype.P;Rp.prototype.set=Rp.prototype.set;Rp.prototype.setProperties=Rp.prototype.H;Rp.prototype.unset=Rp.prototype.S;Rp.prototype.changed=Rp.prototype.s;Rp.prototype.getRevision=Rp.prototype.K;Rp.prototype.on=Rp.prototype.D;Rp.prototype.once=Rp.prototype.L;Rp.prototype.un=Rp.prototype.J;Rp.prototype.unByKey=Rp.prototype.M;yz.prototype.getAttributions=yz.prototype.na;yz.prototype.getLogo=yz.prototype.ma;
yz.prototype.getProjection=yz.prototype.oa;yz.prototype.getState=yz.prototype.pa;yz.prototype.setAttributions=yz.prototype.la;yz.prototype.get=yz.prototype.get;yz.prototype.getKeys=yz.prototype.O;yz.prototype.getProperties=yz.prototype.P;yz.prototype.set=yz.prototype.set;yz.prototype.setProperties=yz.prototype.H;yz.prototype.unset=yz.prototype.S;yz.prototype.changed=yz.prototype.s;yz.prototype.getRevision=yz.prototype.K;yz.prototype.on=yz.prototype.D;yz.prototype.once=yz.prototype.L;
yz.prototype.un=yz.prototype.J;yz.prototype.unByKey=yz.prototype.M;Cz.prototype.getTileLoadFunction=Cz.prototype.Ya;Cz.prototype.getTileUrlFunction=Cz.prototype.Za;Cz.prototype.setTileLoadFunction=Cz.prototype.cb;Cz.prototype.setTileUrlFunction=Cz.prototype.Ga;Cz.prototype.getTileGrid=Cz.prototype.Ca;Cz.prototype.getAttributions=Cz.prototype.na;Cz.prototype.getLogo=Cz.prototype.ma;Cz.prototype.getProjection=Cz.prototype.oa;Cz.prototype.getState=Cz.prototype.pa;Cz.prototype.setAttributions=Cz.prototype.la;
Cz.prototype.get=Cz.prototype.get;Cz.prototype.getKeys=Cz.prototype.O;Cz.prototype.getProperties=Cz.prototype.P;Cz.prototype.set=Cz.prototype.set;Cz.prototype.setProperties=Cz.prototype.H;Cz.prototype.unset=Cz.prototype.S;Cz.prototype.changed=Cz.prototype.s;Cz.prototype.getRevision=Cz.prototype.K;Cz.prototype.on=Cz.prototype.D;Cz.prototype.once=Cz.prototype.L;Cz.prototype.un=Cz.prototype.J;Cz.prototype.unByKey=Cz.prototype.M;Fz.prototype.getUrls=Fz.prototype.g;Fz.prototype.setUrl=Fz.prototype.f;
Fz.prototype.getTileLoadFunction=Fz.prototype.Ya;Fz.prototype.getTileUrlFunction=Fz.prototype.Za;Fz.prototype.setTileLoadFunction=Fz.prototype.cb;Fz.prototype.setTileUrlFunction=Fz.prototype.Ga;Fz.prototype.getTileGrid=Fz.prototype.Ca;Fz.prototype.getAttributions=Fz.prototype.na;Fz.prototype.getLogo=Fz.prototype.ma;Fz.prototype.getProjection=Fz.prototype.oa;Fz.prototype.getState=Fz.prototype.pa;Fz.prototype.setAttributions=Fz.prototype.la;Fz.prototype.get=Fz.prototype.get;Fz.prototype.getKeys=Fz.prototype.O;
Fz.prototype.getProperties=Fz.prototype.P;Fz.prototype.set=Fz.prototype.set;Fz.prototype.setProperties=Fz.prototype.H;Fz.prototype.unset=Fz.prototype.S;Fz.prototype.changed=Fz.prototype.s;Fz.prototype.getRevision=Fz.prototype.K;Fz.prototype.on=Fz.prototype.D;Fz.prototype.once=Fz.prototype.L;Fz.prototype.un=Fz.prototype.J;Fz.prototype.unByKey=Fz.prototype.M;Dz.prototype.getUrls=Dz.prototype.g;Dz.prototype.setUrl=Dz.prototype.f;Dz.prototype.getTileLoadFunction=Dz.prototype.Ya;
Dz.prototype.getTileUrlFunction=Dz.prototype.Za;Dz.prototype.setTileLoadFunction=Dz.prototype.cb;Dz.prototype.setTileUrlFunction=Dz.prototype.Ga;Dz.prototype.getTileGrid=Dz.prototype.Ca;Dz.prototype.getAttributions=Dz.prototype.na;Dz.prototype.getLogo=Dz.prototype.ma;Dz.prototype.getProjection=Dz.prototype.oa;Dz.prototype.getState=Dz.prototype.pa;Dz.prototype.setAttributions=Dz.prototype.la;Dz.prototype.get=Dz.prototype.get;Dz.prototype.getKeys=Dz.prototype.O;Dz.prototype.getProperties=Dz.prototype.P;
Dz.prototype.set=Dz.prototype.set;Dz.prototype.setProperties=Dz.prototype.H;Dz.prototype.unset=Dz.prototype.S;Dz.prototype.changed=Dz.prototype.s;Dz.prototype.getRevision=Dz.prototype.K;Dz.prototype.on=Dz.prototype.D;Dz.prototype.once=Dz.prototype.L;Dz.prototype.un=Dz.prototype.J;Dz.prototype.unByKey=Dz.prototype.M;Iz.prototype.getAttributions=Iz.prototype.na;Iz.prototype.getLogo=Iz.prototype.ma;Iz.prototype.getProjection=Iz.prototype.oa;Iz.prototype.getState=Iz.prototype.pa;
Iz.prototype.setAttributions=Iz.prototype.la;Iz.prototype.get=Iz.prototype.get;Iz.prototype.getKeys=Iz.prototype.O;Iz.prototype.getProperties=Iz.prototype.P;Iz.prototype.set=Iz.prototype.set;Iz.prototype.setProperties=Iz.prototype.H;Iz.prototype.unset=Iz.prototype.S;Iz.prototype.changed=Iz.prototype.s;Iz.prototype.getRevision=Iz.prototype.K;Iz.prototype.on=Iz.prototype.D;Iz.prototype.once=Iz.prototype.L;Iz.prototype.un=Iz.prototype.J;Iz.prototype.unByKey=Iz.prototype.M;Sz.prototype.getUrls=Sz.prototype.g;
Sz.prototype.setUrl=Sz.prototype.f;Sz.prototype.getTileLoadFunction=Sz.prototype.Ya;Sz.prototype.getTileUrlFunction=Sz.prototype.Za;Sz.prototype.setTileLoadFunction=Sz.prototype.cb;Sz.prototype.setTileUrlFunction=Sz.prototype.Ga;Sz.prototype.getTileGrid=Sz.prototype.Ca;Sz.prototype.getAttributions=Sz.prototype.na;Sz.prototype.getLogo=Sz.prototype.ma;Sz.prototype.getProjection=Sz.prototype.oa;Sz.prototype.getState=Sz.prototype.pa;Sz.prototype.setAttributions=Sz.prototype.la;Sz.prototype.get=Sz.prototype.get;
Sz.prototype.getKeys=Sz.prototype.O;Sz.prototype.getProperties=Sz.prototype.P;Sz.prototype.set=Sz.prototype.set;Sz.prototype.setProperties=Sz.prototype.H;Sz.prototype.unset=Sz.prototype.S;Sz.prototype.changed=Sz.prototype.s;Sz.prototype.getRevision=Sz.prototype.K;Sz.prototype.on=Sz.prototype.D;Sz.prototype.once=Sz.prototype.L;Sz.prototype.un=Sz.prototype.J;Sz.prototype.unByKey=Sz.prototype.M;Uz.prototype.getTileLoadFunction=Uz.prototype.Ya;Uz.prototype.getTileUrlFunction=Uz.prototype.Za;
Uz.prototype.setTileLoadFunction=Uz.prototype.cb;Uz.prototype.setTileUrlFunction=Uz.prototype.Ga;Uz.prototype.getTileGrid=Uz.prototype.Ca;Uz.prototype.getAttributions=Uz.prototype.na;Uz.prototype.getLogo=Uz.prototype.ma;Uz.prototype.getProjection=Uz.prototype.oa;Uz.prototype.getState=Uz.prototype.pa;Uz.prototype.setAttributions=Uz.prototype.la;Uz.prototype.get=Uz.prototype.get;Uz.prototype.getKeys=Uz.prototype.O;Uz.prototype.getProperties=Uz.prototype.P;Uz.prototype.set=Uz.prototype.set;
Uz.prototype.setProperties=Uz.prototype.H;Uz.prototype.unset=Uz.prototype.S;Uz.prototype.changed=Uz.prototype.s;Uz.prototype.getRevision=Uz.prototype.K;Uz.prototype.on=Uz.prototype.D;Uz.prototype.once=Uz.prototype.L;Uz.prototype.un=Uz.prototype.J;Uz.prototype.unByKey=Uz.prototype.M;Wz.prototype.getTileGrid=Wz.prototype.Ca;Wz.prototype.getAttributions=Wz.prototype.na;Wz.prototype.getLogo=Wz.prototype.ma;Wz.prototype.getProjection=Wz.prototype.oa;Wz.prototype.getState=Wz.prototype.pa;
Wz.prototype.setAttributions=Wz.prototype.la;Wz.prototype.get=Wz.prototype.get;Wz.prototype.getKeys=Wz.prototype.O;Wz.prototype.getProperties=Wz.prototype.P;Wz.prototype.set=Wz.prototype.set;Wz.prototype.setProperties=Wz.prototype.H;Wz.prototype.unset=Wz.prototype.S;Wz.prototype.changed=Wz.prototype.s;Wz.prototype.getRevision=Wz.prototype.K;Wz.prototype.on=Wz.prototype.D;Wz.prototype.once=Wz.prototype.L;Wz.prototype.un=Wz.prototype.J;Wz.prototype.unByKey=Wz.prototype.M;
Xz.prototype.getTileLoadFunction=Xz.prototype.Ya;Xz.prototype.getTileUrlFunction=Xz.prototype.Za;Xz.prototype.setTileLoadFunction=Xz.prototype.cb;Xz.prototype.setTileUrlFunction=Xz.prototype.Ga;Xz.prototype.getTileGrid=Xz.prototype.Ca;Xz.prototype.getAttributions=Xz.prototype.na;Xz.prototype.getLogo=Xz.prototype.ma;Xz.prototype.getProjection=Xz.prototype.oa;Xz.prototype.getState=Xz.prototype.pa;Xz.prototype.setAttributions=Xz.prototype.la;Xz.prototype.get=Xz.prototype.get;Xz.prototype.getKeys=Xz.prototype.O;
Xz.prototype.getProperties=Xz.prototype.P;Xz.prototype.set=Xz.prototype.set;Xz.prototype.setProperties=Xz.prototype.H;Xz.prototype.unset=Xz.prototype.S;Xz.prototype.changed=Xz.prototype.s;Xz.prototype.getRevision=Xz.prototype.K;Xz.prototype.on=Xz.prototype.D;Xz.prototype.once=Xz.prototype.L;Xz.prototype.un=Xz.prototype.J;Xz.prototype.unByKey=Xz.prototype.M;Yz.prototype.getTileGrid=Yz.prototype.Ca;Yz.prototype.getAttributions=Yz.prototype.na;Yz.prototype.getLogo=Yz.prototype.ma;
Yz.prototype.getProjection=Yz.prototype.oa;Yz.prototype.getState=Yz.prototype.pa;Yz.prototype.setAttributions=Yz.prototype.la;Yz.prototype.get=Yz.prototype.get;Yz.prototype.getKeys=Yz.prototype.O;Yz.prototype.getProperties=Yz.prototype.P;Yz.prototype.set=Yz.prototype.set;Yz.prototype.setProperties=Yz.prototype.H;Yz.prototype.unset=Yz.prototype.S;Yz.prototype.changed=Yz.prototype.s;Yz.prototype.getRevision=Yz.prototype.K;Yz.prototype.on=Yz.prototype.D;Yz.prototype.once=Yz.prototype.L;
Yz.prototype.un=Yz.prototype.J;Yz.prototype.unByKey=Yz.prototype.M;cA.prototype.addFeature=cA.prototype.yc;cA.prototype.addFeatures=cA.prototype.Nb;cA.prototype.clear=cA.prototype.clear;cA.prototype.forEachFeature=cA.prototype.Le;cA.prototype.forEachFeatureInExtent=cA.prototype.sc;cA.prototype.forEachFeatureIntersectingExtent=cA.prototype.Me;cA.prototype.getFeaturesCollection=cA.prototype.Re;cA.prototype.getFeatures=cA.prototype.zc;cA.prototype.getFeaturesAtCoordinate=cA.prototype.Qe;
cA.prototype.getFeaturesInExtent=cA.prototype.Ad;cA.prototype.getClosestFeatureToCoordinate=cA.prototype.Oe;cA.prototype.getExtent=cA.prototype.R;cA.prototype.getFeatureById=cA.prototype.Pe;cA.prototype.removeFeature=cA.prototype.dc;cA.prototype.getAttributions=cA.prototype.na;cA.prototype.getLogo=cA.prototype.ma;cA.prototype.getProjection=cA.prototype.oa;cA.prototype.getState=cA.prototype.pa;cA.prototype.setAttributions=cA.prototype.la;cA.prototype.get=cA.prototype.get;cA.prototype.getKeys=cA.prototype.O;
cA.prototype.getProperties=cA.prototype.P;cA.prototype.set=cA.prototype.set;cA.prototype.setProperties=cA.prototype.H;cA.prototype.unset=cA.prototype.S;cA.prototype.changed=cA.prototype.s;cA.prototype.getRevision=cA.prototype.K;cA.prototype.on=cA.prototype.D;cA.prototype.once=cA.prototype.L;cA.prototype.un=cA.prototype.J;cA.prototype.unByKey=cA.prototype.M;fA.prototype.getTileLoadFunction=fA.prototype.Ya;fA.prototype.getTileUrlFunction=fA.prototype.Za;fA.prototype.setTileLoadFunction=fA.prototype.cb;
fA.prototype.setTileUrlFunction=fA.prototype.Ga;fA.prototype.getTileGrid=fA.prototype.Ca;fA.prototype.getAttributions=fA.prototype.na;fA.prototype.getLogo=fA.prototype.ma;fA.prototype.getProjection=fA.prototype.oa;fA.prototype.getState=fA.prototype.pa;fA.prototype.setAttributions=fA.prototype.la;fA.prototype.get=fA.prototype.get;fA.prototype.getKeys=fA.prototype.O;fA.prototype.getProperties=fA.prototype.P;fA.prototype.set=fA.prototype.set;fA.prototype.setProperties=fA.prototype.H;
fA.prototype.unset=fA.prototype.S;fA.prototype.changed=fA.prototype.s;fA.prototype.getRevision=fA.prototype.K;fA.prototype.on=fA.prototype.D;fA.prototype.once=fA.prototype.L;fA.prototype.un=fA.prototype.J;fA.prototype.unByKey=fA.prototype.M;lA.prototype.getTileLoadFunction=lA.prototype.Ya;lA.prototype.getTileUrlFunction=lA.prototype.Za;lA.prototype.setTileLoadFunction=lA.prototype.cb;lA.prototype.setTileUrlFunction=lA.prototype.Ga;lA.prototype.getTileGrid=lA.prototype.Ca;
lA.prototype.getAttributions=lA.prototype.na;lA.prototype.getLogo=lA.prototype.ma;lA.prototype.getProjection=lA.prototype.oa;lA.prototype.getState=lA.prototype.pa;lA.prototype.setAttributions=lA.prototype.la;lA.prototype.get=lA.prototype.get;lA.prototype.getKeys=lA.prototype.O;lA.prototype.getProperties=lA.prototype.P;lA.prototype.set=lA.prototype.set;lA.prototype.setProperties=lA.prototype.H;lA.prototype.unset=lA.prototype.S;lA.prototype.changed=lA.prototype.s;lA.prototype.getRevision=lA.prototype.K;
lA.prototype.on=lA.prototype.D;lA.prototype.once=lA.prototype.L;lA.prototype.un=lA.prototype.J;lA.prototype.unByKey=lA.prototype.M;nA.prototype.getTileLoadFunction=nA.prototype.Ya;nA.prototype.getTileUrlFunction=nA.prototype.Za;nA.prototype.setTileLoadFunction=nA.prototype.cb;nA.prototype.setTileUrlFunction=nA.prototype.Ga;nA.prototype.getTileGrid=nA.prototype.Ca;nA.prototype.getAttributions=nA.prototype.na;nA.prototype.getLogo=nA.prototype.ma;nA.prototype.getProjection=nA.prototype.oa;
nA.prototype.getState=nA.prototype.pa;nA.prototype.setAttributions=nA.prototype.la;nA.prototype.get=nA.prototype.get;nA.prototype.getKeys=nA.prototype.O;nA.prototype.getProperties=nA.prototype.P;nA.prototype.set=nA.prototype.set;nA.prototype.setProperties=nA.prototype.H;nA.prototype.unset=nA.prototype.S;nA.prototype.changed=nA.prototype.s;nA.prototype.getRevision=nA.prototype.K;nA.prototype.on=nA.prototype.D;nA.prototype.once=nA.prototype.L;nA.prototype.un=nA.prototype.J;nA.prototype.unByKey=nA.prototype.M;
nk.prototype.changed=nk.prototype.s;nk.prototype.getRevision=nk.prototype.K;nk.prototype.on=nk.prototype.D;nk.prototype.once=nk.prototype.L;nk.prototype.un=nk.prototype.J;nk.prototype.unByKey=nk.prototype.M;Pq.prototype.changed=Pq.prototype.s;Pq.prototype.getRevision=Pq.prototype.K;Pq.prototype.on=Pq.prototype.D;Pq.prototype.once=Pq.prototype.L;Pq.prototype.un=Pq.prototype.J;Pq.prototype.unByKey=Pq.prototype.M;Sq.prototype.changed=Sq.prototype.s;Sq.prototype.getRevision=Sq.prototype.K;
Sq.prototype.on=Sq.prototype.D;Sq.prototype.once=Sq.prototype.L;Sq.prototype.un=Sq.prototype.J;Sq.prototype.unByKey=Sq.prototype.M;Yq.prototype.changed=Yq.prototype.s;Yq.prototype.getRevision=Yq.prototype.K;Yq.prototype.on=Yq.prototype.D;Yq.prototype.once=Yq.prototype.L;Yq.prototype.un=Yq.prototype.J;Yq.prototype.unByKey=Yq.prototype.M;$q.prototype.changed=$q.prototype.s;$q.prototype.getRevision=$q.prototype.K;$q.prototype.on=$q.prototype.D;$q.prototype.once=$q.prototype.L;$q.prototype.un=$q.prototype.J;
$q.prototype.unByKey=$q.prototype.M;Yp.prototype.changed=Yp.prototype.s;Yp.prototype.getRevision=Yp.prototype.K;Yp.prototype.on=Yp.prototype.D;Yp.prototype.once=Yp.prototype.L;Yp.prototype.un=Yp.prototype.J;Yp.prototype.unByKey=Yp.prototype.M;Zp.prototype.changed=Zp.prototype.s;Zp.prototype.getRevision=Zp.prototype.K;Zp.prototype.on=Zp.prototype.D;Zp.prototype.once=Zp.prototype.L;Zp.prototype.un=Zp.prototype.J;Zp.prototype.unByKey=Zp.prototype.M;$p.prototype.changed=$p.prototype.s;
$p.prototype.getRevision=$p.prototype.K;$p.prototype.on=$p.prototype.D;$p.prototype.once=$p.prototype.L;$p.prototype.un=$p.prototype.J;$p.prototype.unByKey=$p.prototype.M;bq.prototype.changed=bq.prototype.s;bq.prototype.getRevision=bq.prototype.K;bq.prototype.on=bq.prototype.D;bq.prototype.once=bq.prototype.L;bq.prototype.un=bq.prototype.J;bq.prototype.unByKey=bq.prototype.M;ym.prototype.changed=ym.prototype.s;ym.prototype.getRevision=ym.prototype.K;ym.prototype.on=ym.prototype.D;
ym.prototype.once=ym.prototype.L;ym.prototype.un=ym.prototype.J;ym.prototype.unByKey=ym.prototype.M;Tp.prototype.changed=Tp.prototype.s;Tp.prototype.getRevision=Tp.prototype.K;Tp.prototype.on=Tp.prototype.D;Tp.prototype.once=Tp.prototype.L;Tp.prototype.un=Tp.prototype.J;Tp.prototype.unByKey=Tp.prototype.M;Up.prototype.changed=Up.prototype.s;Up.prototype.getRevision=Up.prototype.K;Up.prototype.on=Up.prototype.D;Up.prototype.once=Up.prototype.L;Up.prototype.un=Up.prototype.J;Up.prototype.unByKey=Up.prototype.M;
Vp.prototype.changed=Vp.prototype.s;Vp.prototype.getRevision=Vp.prototype.K;Vp.prototype.on=Vp.prototype.D;Vp.prototype.once=Vp.prototype.L;Vp.prototype.un=Vp.prototype.J;Vp.prototype.unByKey=Vp.prototype.M;ck.prototype.get=ck.prototype.get;ck.prototype.getKeys=ck.prototype.O;ck.prototype.getProperties=ck.prototype.P;ck.prototype.set=ck.prototype.set;ck.prototype.setProperties=ck.prototype.H;ck.prototype.unset=ck.prototype.S;ck.prototype.changed=ck.prototype.s;ck.prototype.getRevision=ck.prototype.K;
ck.prototype.on=ck.prototype.D;ck.prototype.once=ck.prototype.L;ck.prototype.un=ck.prototype.J;ck.prototype.unByKey=ck.prototype.M;gk.prototype.getExtent=gk.prototype.R;gk.prototype.getMaxResolution=gk.prototype.Cb;gk.prototype.getMinResolution=gk.prototype.Db;gk.prototype.getOpacity=gk.prototype.Hb;gk.prototype.getVisible=gk.prototype.ib;gk.prototype.getZIndex=gk.prototype.Ib;gk.prototype.setExtent=gk.prototype.Yb;gk.prototype.setMaxResolution=gk.prototype.gc;gk.prototype.setMinResolution=gk.prototype.hc;
gk.prototype.setOpacity=gk.prototype.Zb;gk.prototype.setVisible=gk.prototype.$b;gk.prototype.setZIndex=gk.prototype.ac;gk.prototype.get=gk.prototype.get;gk.prototype.getKeys=gk.prototype.O;gk.prototype.getProperties=gk.prototype.P;gk.prototype.set=gk.prototype.set;gk.prototype.setProperties=gk.prototype.H;gk.prototype.unset=gk.prototype.S;gk.prototype.changed=gk.prototype.s;gk.prototype.getRevision=gk.prototype.K;gk.prototype.on=gk.prototype.D;gk.prototype.once=gk.prototype.L;gk.prototype.un=gk.prototype.J;
gk.prototype.unByKey=gk.prototype.M;H.prototype.setMap=H.prototype.setMap;H.prototype.setSource=H.prototype.Ec;H.prototype.getExtent=H.prototype.R;H.prototype.getMaxResolution=H.prototype.Cb;H.prototype.getMinResolution=H.prototype.Db;H.prototype.getOpacity=H.prototype.Hb;H.prototype.getVisible=H.prototype.ib;H.prototype.getZIndex=H.prototype.Ib;H.prototype.setExtent=H.prototype.Yb;H.prototype.setMaxResolution=H.prototype.gc;H.prototype.setMinResolution=H.prototype.hc;H.prototype.setOpacity=H.prototype.Zb;
H.prototype.setVisible=H.prototype.$b;H.prototype.setZIndex=H.prototype.ac;H.prototype.get=H.prototype.get;H.prototype.getKeys=H.prototype.O;H.prototype.getProperties=H.prototype.P;H.prototype.set=H.prototype.set;H.prototype.setProperties=H.prototype.H;H.prototype.unset=H.prototype.S;H.prototype.changed=H.prototype.s;H.prototype.getRevision=H.prototype.K;H.prototype.on=H.prototype.D;H.prototype.once=H.prototype.L;H.prototype.un=H.prototype.J;H.prototype.unByKey=H.prototype.M;
Y.prototype.getSource=Y.prototype.ea;Y.prototype.getStyle=Y.prototype.T;Y.prototype.getStyleFunction=Y.prototype.X;Y.prototype.setStyle=Y.prototype.g;Y.prototype.setMap=Y.prototype.setMap;Y.prototype.setSource=Y.prototype.Ec;Y.prototype.getExtent=Y.prototype.R;Y.prototype.getMaxResolution=Y.prototype.Cb;Y.prototype.getMinResolution=Y.prototype.Db;Y.prototype.getOpacity=Y.prototype.Hb;Y.prototype.getVisible=Y.prototype.ib;Y.prototype.getZIndex=Y.prototype.Ib;Y.prototype.setExtent=Y.prototype.Yb;
Y.prototype.setMaxResolution=Y.prototype.gc;Y.prototype.setMinResolution=Y.prototype.hc;Y.prototype.setOpacity=Y.prototype.Zb;Y.prototype.setVisible=Y.prototype.$b;Y.prototype.setZIndex=Y.prototype.ac;Y.prototype.get=Y.prototype.get;Y.prototype.getKeys=Y.prototype.O;Y.prototype.getProperties=Y.prototype.P;Y.prototype.set=Y.prototype.set;Y.prototype.setProperties=Y.prototype.H;Y.prototype.unset=Y.prototype.S;Y.prototype.changed=Y.prototype.s;Y.prototype.getRevision=Y.prototype.K;Y.prototype.on=Y.prototype.D;
Y.prototype.once=Y.prototype.L;Y.prototype.un=Y.prototype.J;Y.prototype.unByKey=Y.prototype.M;jm.prototype.setMap=jm.prototype.setMap;jm.prototype.setSource=jm.prototype.Ec;jm.prototype.getExtent=jm.prototype.R;jm.prototype.getMaxResolution=jm.prototype.Cb;jm.prototype.getMinResolution=jm.prototype.Db;jm.prototype.getOpacity=jm.prototype.Hb;jm.prototype.getVisible=jm.prototype.ib;jm.prototype.getZIndex=jm.prototype.Ib;jm.prototype.setExtent=jm.prototype.Yb;jm.prototype.setMaxResolution=jm.prototype.gc;
jm.prototype.setMinResolution=jm.prototype.hc;jm.prototype.setOpacity=jm.prototype.Zb;jm.prototype.setVisible=jm.prototype.$b;jm.prototype.setZIndex=jm.prototype.ac;jm.prototype.get=jm.prototype.get;jm.prototype.getKeys=jm.prototype.O;jm.prototype.getProperties=jm.prototype.P;jm.prototype.set=jm.prototype.set;jm.prototype.setProperties=jm.prototype.H;jm.prototype.unset=jm.prototype.S;jm.prototype.changed=jm.prototype.s;jm.prototype.getRevision=jm.prototype.K;jm.prototype.on=jm.prototype.D;
jm.prototype.once=jm.prototype.L;jm.prototype.un=jm.prototype.J;jm.prototype.unByKey=jm.prototype.M;bm.prototype.getExtent=bm.prototype.R;bm.prototype.getMaxResolution=bm.prototype.Cb;bm.prototype.getMinResolution=bm.prototype.Db;bm.prototype.getOpacity=bm.prototype.Hb;bm.prototype.getVisible=bm.prototype.ib;bm.prototype.getZIndex=bm.prototype.Ib;bm.prototype.setExtent=bm.prototype.Yb;bm.prototype.setMaxResolution=bm.prototype.gc;bm.prototype.setMinResolution=bm.prototype.hc;
bm.prototype.setOpacity=bm.prototype.Zb;bm.prototype.setVisible=bm.prototype.$b;bm.prototype.setZIndex=bm.prototype.ac;bm.prototype.get=bm.prototype.get;bm.prototype.getKeys=bm.prototype.O;bm.prototype.getProperties=bm.prototype.P;bm.prototype.set=bm.prototype.set;bm.prototype.setProperties=bm.prototype.H;bm.prototype.unset=bm.prototype.S;bm.prototype.changed=bm.prototype.s;bm.prototype.getRevision=bm.prototype.K;bm.prototype.on=bm.prototype.D;bm.prototype.once=bm.prototype.L;bm.prototype.un=bm.prototype.J;
bm.prototype.unByKey=bm.prototype.M;G.prototype.setMap=G.prototype.setMap;G.prototype.setSource=G.prototype.Ec;G.prototype.getExtent=G.prototype.R;G.prototype.getMaxResolution=G.prototype.Cb;G.prototype.getMinResolution=G.prototype.Db;G.prototype.getOpacity=G.prototype.Hb;G.prototype.getVisible=G.prototype.ib;G.prototype.getZIndex=G.prototype.Ib;G.prototype.setExtent=G.prototype.Yb;G.prototype.setMaxResolution=G.prototype.gc;G.prototype.setMinResolution=G.prototype.hc;G.prototype.setOpacity=G.prototype.Zb;
G.prototype.setVisible=G.prototype.$b;G.prototype.setZIndex=G.prototype.ac;G.prototype.get=G.prototype.get;G.prototype.getKeys=G.prototype.O;G.prototype.getProperties=G.prototype.P;G.prototype.set=G.prototype.set;G.prototype.setProperties=G.prototype.H;G.prototype.unset=G.prototype.S;G.prototype.changed=G.prototype.s;G.prototype.getRevision=G.prototype.K;G.prototype.on=G.prototype.D;G.prototype.once=G.prototype.L;G.prototype.un=G.prototype.J;G.prototype.unByKey=G.prototype.M;Qk.prototype.get=Qk.prototype.get;
Qk.prototype.getKeys=Qk.prototype.O;Qk.prototype.getProperties=Qk.prototype.P;Qk.prototype.set=Qk.prototype.set;Qk.prototype.setProperties=Qk.prototype.H;Qk.prototype.unset=Qk.prototype.S;Qk.prototype.changed=Qk.prototype.s;Qk.prototype.getRevision=Qk.prototype.K;Qk.prototype.on=Qk.prototype.D;Qk.prototype.once=Qk.prototype.L;Qk.prototype.un=Qk.prototype.J;Qk.prototype.unByKey=Qk.prototype.M;Uk.prototype.getActive=Uk.prototype.c;Uk.prototype.setActive=Uk.prototype.g;Uk.prototype.get=Uk.prototype.get;
Uk.prototype.getKeys=Uk.prototype.O;Uk.prototype.getProperties=Uk.prototype.P;Uk.prototype.set=Uk.prototype.set;Uk.prototype.setProperties=Uk.prototype.H;Uk.prototype.unset=Uk.prototype.S;Uk.prototype.changed=Uk.prototype.s;Uk.prototype.getRevision=Uk.prototype.K;Uk.prototype.on=Uk.prototype.D;Uk.prototype.once=Uk.prototype.L;Uk.prototype.un=Uk.prototype.J;Uk.prototype.unByKey=Uk.prototype.M;Yx.prototype.getActive=Yx.prototype.c;Yx.prototype.setActive=Yx.prototype.g;Yx.prototype.get=Yx.prototype.get;
Yx.prototype.getKeys=Yx.prototype.O;Yx.prototype.getProperties=Yx.prototype.P;Yx.prototype.set=Yx.prototype.set;Yx.prototype.setProperties=Yx.prototype.H;Yx.prototype.unset=Yx.prototype.S;Yx.prototype.changed=Yx.prototype.s;Yx.prototype.getRevision=Yx.prototype.K;Yx.prototype.on=Yx.prototype.D;Yx.prototype.once=Yx.prototype.L;Yx.prototype.un=Yx.prototype.J;Yx.prototype.unByKey=Yx.prototype.M;cl.prototype.getActive=cl.prototype.c;cl.prototype.setActive=cl.prototype.g;cl.prototype.get=cl.prototype.get;
cl.prototype.getKeys=cl.prototype.O;cl.prototype.getProperties=cl.prototype.P;cl.prototype.set=cl.prototype.set;cl.prototype.setProperties=cl.prototype.H;cl.prototype.unset=cl.prototype.S;cl.prototype.changed=cl.prototype.s;cl.prototype.getRevision=cl.prototype.K;cl.prototype.on=cl.prototype.D;cl.prototype.once=cl.prototype.L;cl.prototype.un=cl.prototype.J;cl.prototype.unByKey=cl.prototype.M;sl.prototype.getActive=sl.prototype.c;sl.prototype.setActive=sl.prototype.g;sl.prototype.get=sl.prototype.get;
sl.prototype.getKeys=sl.prototype.O;sl.prototype.getProperties=sl.prototype.P;sl.prototype.set=sl.prototype.set;sl.prototype.setProperties=sl.prototype.H;sl.prototype.unset=sl.prototype.S;sl.prototype.changed=sl.prototype.s;sl.prototype.getRevision=sl.prototype.K;sl.prototype.on=sl.prototype.D;sl.prototype.once=sl.prototype.L;sl.prototype.un=sl.prototype.J;sl.prototype.unByKey=sl.prototype.M;fl.prototype.getActive=fl.prototype.c;fl.prototype.setActive=fl.prototype.g;fl.prototype.get=fl.prototype.get;
fl.prototype.getKeys=fl.prototype.O;fl.prototype.getProperties=fl.prototype.P;fl.prototype.set=fl.prototype.set;fl.prototype.setProperties=fl.prototype.H;fl.prototype.unset=fl.prototype.S;fl.prototype.changed=fl.prototype.s;fl.prototype.getRevision=fl.prototype.K;fl.prototype.on=fl.prototype.D;fl.prototype.once=fl.prototype.L;fl.prototype.un=fl.prototype.J;fl.prototype.unByKey=fl.prototype.M;by.prototype.getActive=by.prototype.c;by.prototype.setActive=by.prototype.g;by.prototype.get=by.prototype.get;
by.prototype.getKeys=by.prototype.O;by.prototype.getProperties=by.prototype.P;by.prototype.set=by.prototype.set;by.prototype.setProperties=by.prototype.H;by.prototype.unset=by.prototype.S;by.prototype.changed=by.prototype.s;by.prototype.getRevision=by.prototype.K;by.prototype.on=by.prototype.D;by.prototype.once=by.prototype.L;by.prototype.un=by.prototype.J;by.prototype.unByKey=by.prototype.M;jl.prototype.getActive=jl.prototype.c;jl.prototype.setActive=jl.prototype.g;jl.prototype.get=jl.prototype.get;
jl.prototype.getKeys=jl.prototype.O;jl.prototype.getProperties=jl.prototype.P;jl.prototype.set=jl.prototype.set;jl.prototype.setProperties=jl.prototype.H;jl.prototype.unset=jl.prototype.S;jl.prototype.changed=jl.prototype.s;jl.prototype.getRevision=jl.prototype.K;jl.prototype.on=jl.prototype.D;jl.prototype.once=jl.prototype.L;jl.prototype.un=jl.prototype.J;jl.prototype.unByKey=jl.prototype.M;Ml.prototype.getGeometry=Ml.prototype.V;Ml.prototype.getActive=Ml.prototype.c;Ml.prototype.setActive=Ml.prototype.g;
Ml.prototype.get=Ml.prototype.get;Ml.prototype.getKeys=Ml.prototype.O;Ml.prototype.getProperties=Ml.prototype.P;Ml.prototype.set=Ml.prototype.set;Ml.prototype.setProperties=Ml.prototype.H;Ml.prototype.unset=Ml.prototype.S;Ml.prototype.changed=Ml.prototype.s;Ml.prototype.getRevision=Ml.prototype.K;Ml.prototype.on=Ml.prototype.D;Ml.prototype.once=Ml.prototype.L;Ml.prototype.un=Ml.prototype.J;Ml.prototype.unByKey=Ml.prototype.M;gy.prototype.getActive=gy.prototype.c;gy.prototype.setActive=gy.prototype.g;
gy.prototype.get=gy.prototype.get;gy.prototype.getKeys=gy.prototype.O;gy.prototype.getProperties=gy.prototype.P;gy.prototype.set=gy.prototype.set;gy.prototype.setProperties=gy.prototype.H;gy.prototype.unset=gy.prototype.S;gy.prototype.changed=gy.prototype.s;gy.prototype.getRevision=gy.prototype.K;gy.prototype.on=gy.prototype.D;gy.prototype.once=gy.prototype.L;gy.prototype.un=gy.prototype.J;gy.prototype.unByKey=gy.prototype.M;Nl.prototype.getActive=Nl.prototype.c;Nl.prototype.setActive=Nl.prototype.g;
Nl.prototype.get=Nl.prototype.get;Nl.prototype.getKeys=Nl.prototype.O;Nl.prototype.getProperties=Nl.prototype.P;Nl.prototype.set=Nl.prototype.set;Nl.prototype.setProperties=Nl.prototype.H;Nl.prototype.unset=Nl.prototype.S;Nl.prototype.changed=Nl.prototype.s;Nl.prototype.getRevision=Nl.prototype.K;Nl.prototype.on=Nl.prototype.D;Nl.prototype.once=Nl.prototype.L;Nl.prototype.un=Nl.prototype.J;Nl.prototype.unByKey=Nl.prototype.M;Pl.prototype.getActive=Pl.prototype.c;Pl.prototype.setActive=Pl.prototype.g;
Pl.prototype.get=Pl.prototype.get;Pl.prototype.getKeys=Pl.prototype.O;Pl.prototype.getProperties=Pl.prototype.P;Pl.prototype.set=Pl.prototype.set;Pl.prototype.setProperties=Pl.prototype.H;Pl.prototype.unset=Pl.prototype.S;Pl.prototype.changed=Pl.prototype.s;Pl.prototype.getRevision=Pl.prototype.K;Pl.prototype.on=Pl.prototype.D;Pl.prototype.once=Pl.prototype.L;Pl.prototype.un=Pl.prototype.J;Pl.prototype.unByKey=Pl.prototype.M;xy.prototype.getActive=xy.prototype.c;xy.prototype.setActive=xy.prototype.g;
xy.prototype.get=xy.prototype.get;xy.prototype.getKeys=xy.prototype.O;xy.prototype.getProperties=xy.prototype.P;xy.prototype.set=xy.prototype.set;xy.prototype.setProperties=xy.prototype.H;xy.prototype.unset=xy.prototype.S;xy.prototype.changed=xy.prototype.s;xy.prototype.getRevision=xy.prototype.K;xy.prototype.on=xy.prototype.D;xy.prototype.once=xy.prototype.L;xy.prototype.un=xy.prototype.J;xy.prototype.unByKey=xy.prototype.M;Rl.prototype.getActive=Rl.prototype.c;Rl.prototype.setActive=Rl.prototype.g;
Rl.prototype.get=Rl.prototype.get;Rl.prototype.getKeys=Rl.prototype.O;Rl.prototype.getProperties=Rl.prototype.P;Rl.prototype.set=Rl.prototype.set;Rl.prototype.setProperties=Rl.prototype.H;Rl.prototype.unset=Rl.prototype.S;Rl.prototype.changed=Rl.prototype.s;Rl.prototype.getRevision=Rl.prototype.K;Rl.prototype.on=Rl.prototype.D;Rl.prototype.once=Rl.prototype.L;Rl.prototype.un=Rl.prototype.J;Rl.prototype.unByKey=Rl.prototype.M;Tl.prototype.getActive=Tl.prototype.c;Tl.prototype.setActive=Tl.prototype.g;
Tl.prototype.get=Tl.prototype.get;Tl.prototype.getKeys=Tl.prototype.O;Tl.prototype.getProperties=Tl.prototype.P;Tl.prototype.set=Tl.prototype.set;Tl.prototype.setProperties=Tl.prototype.H;Tl.prototype.unset=Tl.prototype.S;Tl.prototype.changed=Tl.prototype.s;Tl.prototype.getRevision=Tl.prototype.K;Tl.prototype.on=Tl.prototype.D;Tl.prototype.once=Tl.prototype.L;Tl.prototype.un=Tl.prototype.J;Tl.prototype.unByKey=Tl.prototype.M;Xl.prototype.getActive=Xl.prototype.c;Xl.prototype.setActive=Xl.prototype.g;
Xl.prototype.get=Xl.prototype.get;Xl.prototype.getKeys=Xl.prototype.O;Xl.prototype.getProperties=Xl.prototype.P;Xl.prototype.set=Xl.prototype.set;Xl.prototype.setProperties=Xl.prototype.H;Xl.prototype.unset=Xl.prototype.S;Xl.prototype.changed=Xl.prototype.s;Xl.prototype.getRevision=Xl.prototype.K;Xl.prototype.on=Xl.prototype.D;Xl.prototype.once=Xl.prototype.L;Xl.prototype.un=Xl.prototype.J;Xl.prototype.unByKey=Xl.prototype.M;Ly.prototype.getActive=Ly.prototype.c;Ly.prototype.setActive=Ly.prototype.g;
Ly.prototype.get=Ly.prototype.get;Ly.prototype.getKeys=Ly.prototype.O;Ly.prototype.getProperties=Ly.prototype.P;Ly.prototype.set=Ly.prototype.set;Ly.prototype.setProperties=Ly.prototype.H;Ly.prototype.unset=Ly.prototype.S;Ly.prototype.changed=Ly.prototype.s;Ly.prototype.getRevision=Ly.prototype.K;Ly.prototype.on=Ly.prototype.D;Ly.prototype.once=Ly.prototype.L;Ly.prototype.un=Ly.prototype.J;Ly.prototype.unByKey=Ly.prototype.M;Oy.prototype.getActive=Oy.prototype.c;Oy.prototype.setActive=Oy.prototype.g;
Oy.prototype.get=Oy.prototype.get;Oy.prototype.getKeys=Oy.prototype.O;Oy.prototype.getProperties=Oy.prototype.P;Oy.prototype.set=Oy.prototype.set;Oy.prototype.setProperties=Oy.prototype.H;Oy.prototype.unset=Oy.prototype.S;Oy.prototype.changed=Oy.prototype.s;Oy.prototype.getRevision=Oy.prototype.K;Oy.prototype.on=Oy.prototype.D;Oy.prototype.once=Oy.prototype.L;Oy.prototype.un=Oy.prototype.J;Oy.prototype.unByKey=Oy.prototype.M;Sy.prototype.getActive=Sy.prototype.c;Sy.prototype.setActive=Sy.prototype.g;
Sy.prototype.get=Sy.prototype.get;Sy.prototype.getKeys=Sy.prototype.O;Sy.prototype.getProperties=Sy.prototype.P;Sy.prototype.set=Sy.prototype.set;Sy.prototype.setProperties=Sy.prototype.H;Sy.prototype.unset=Sy.prototype.S;Sy.prototype.changed=Sy.prototype.s;Sy.prototype.getRevision=Sy.prototype.K;Sy.prototype.on=Sy.prototype.D;Sy.prototype.once=Sy.prototype.L;Sy.prototype.un=Sy.prototype.J;Sy.prototype.unByKey=Sy.prototype.M;Ze.prototype.get=Ze.prototype.get;Ze.prototype.getKeys=Ze.prototype.O;
Ze.prototype.getProperties=Ze.prototype.P;Ze.prototype.set=Ze.prototype.set;Ze.prototype.setProperties=Ze.prototype.H;Ze.prototype.unset=Ze.prototype.S;Ze.prototype.changed=Ze.prototype.s;Ze.prototype.getRevision=Ze.prototype.K;Ze.prototype.on=Ze.prototype.D;Ze.prototype.once=Ze.prototype.L;Ze.prototype.un=Ze.prototype.J;Ze.prototype.unByKey=Ze.prototype.M;af.prototype.getClosestPoint=af.prototype.Xa;af.prototype.getExtent=af.prototype.R;af.prototype.simplify=af.prototype.eb;
af.prototype.transform=af.prototype.Sa;af.prototype.get=af.prototype.get;af.prototype.getKeys=af.prototype.O;af.prototype.getProperties=af.prototype.P;af.prototype.set=af.prototype.set;af.prototype.setProperties=af.prototype.H;af.prototype.unset=af.prototype.S;af.prototype.changed=af.prototype.s;af.prototype.getRevision=af.prototype.K;af.prototype.on=af.prototype.D;af.prototype.once=af.prototype.L;af.prototype.un=af.prototype.J;af.prototype.unByKey=af.prototype.M;Ym.prototype.getFirstCoordinate=Ym.prototype.sb;
Ym.prototype.getLastCoordinate=Ym.prototype.tb;Ym.prototype.getLayout=Ym.prototype.ub;Ym.prototype.getClosestPoint=Ym.prototype.Xa;Ym.prototype.getExtent=Ym.prototype.R;Ym.prototype.simplify=Ym.prototype.eb;Ym.prototype.get=Ym.prototype.get;Ym.prototype.getKeys=Ym.prototype.O;Ym.prototype.getProperties=Ym.prototype.P;Ym.prototype.set=Ym.prototype.set;Ym.prototype.setProperties=Ym.prototype.H;Ym.prototype.unset=Ym.prototype.S;Ym.prototype.changed=Ym.prototype.s;Ym.prototype.getRevision=Ym.prototype.K;
Ym.prototype.on=Ym.prototype.D;Ym.prototype.once=Ym.prototype.L;Ym.prototype.un=Ym.prototype.J;Ym.prototype.unByKey=Ym.prototype.M;$m.prototype.getClosestPoint=$m.prototype.Xa;$m.prototype.getExtent=$m.prototype.R;$m.prototype.simplify=$m.prototype.eb;$m.prototype.transform=$m.prototype.Sa;$m.prototype.get=$m.prototype.get;$m.prototype.getKeys=$m.prototype.O;$m.prototype.getProperties=$m.prototype.P;$m.prototype.set=$m.prototype.set;$m.prototype.setProperties=$m.prototype.H;$m.prototype.unset=$m.prototype.S;
$m.prototype.changed=$m.prototype.s;$m.prototype.getRevision=$m.prototype.K;$m.prototype.on=$m.prototype.D;$m.prototype.once=$m.prototype.L;$m.prototype.un=$m.prototype.J;$m.prototype.unByKey=$m.prototype.M;tf.prototype.getFirstCoordinate=tf.prototype.sb;tf.prototype.getLastCoordinate=tf.prototype.tb;tf.prototype.getLayout=tf.prototype.ub;tf.prototype.getClosestPoint=tf.prototype.Xa;tf.prototype.getExtent=tf.prototype.R;tf.prototype.simplify=tf.prototype.eb;tf.prototype.transform=tf.prototype.Sa;
tf.prototype.get=tf.prototype.get;tf.prototype.getKeys=tf.prototype.O;tf.prototype.getProperties=tf.prototype.P;tf.prototype.set=tf.prototype.set;tf.prototype.setProperties=tf.prototype.H;tf.prototype.unset=tf.prototype.S;tf.prototype.changed=tf.prototype.s;tf.prototype.getRevision=tf.prototype.K;tf.prototype.on=tf.prototype.D;tf.prototype.once=tf.prototype.L;tf.prototype.un=tf.prototype.J;tf.prototype.unByKey=tf.prototype.M;L.prototype.getFirstCoordinate=L.prototype.sb;
L.prototype.getLastCoordinate=L.prototype.tb;L.prototype.getLayout=L.prototype.ub;L.prototype.getClosestPoint=L.prototype.Xa;L.prototype.getExtent=L.prototype.R;L.prototype.simplify=L.prototype.eb;L.prototype.transform=L.prototype.Sa;L.prototype.get=L.prototype.get;L.prototype.getKeys=L.prototype.O;L.prototype.getProperties=L.prototype.P;L.prototype.set=L.prototype.set;L.prototype.setProperties=L.prototype.H;L.prototype.unset=L.prototype.S;L.prototype.changed=L.prototype.s;
L.prototype.getRevision=L.prototype.K;L.prototype.on=L.prototype.D;L.prototype.once=L.prototype.L;L.prototype.un=L.prototype.J;L.prototype.unByKey=L.prototype.M;O.prototype.getFirstCoordinate=O.prototype.sb;O.prototype.getLastCoordinate=O.prototype.tb;O.prototype.getLayout=O.prototype.ub;O.prototype.getClosestPoint=O.prototype.Xa;O.prototype.getExtent=O.prototype.R;O.prototype.simplify=O.prototype.eb;O.prototype.transform=O.prototype.Sa;O.prototype.get=O.prototype.get;O.prototype.getKeys=O.prototype.O;
O.prototype.getProperties=O.prototype.P;O.prototype.set=O.prototype.set;O.prototype.setProperties=O.prototype.H;O.prototype.unset=O.prototype.S;O.prototype.changed=O.prototype.s;O.prototype.getRevision=O.prototype.K;O.prototype.on=O.prototype.D;O.prototype.once=O.prototype.L;O.prototype.un=O.prototype.J;O.prototype.unByKey=O.prototype.M;kn.prototype.getFirstCoordinate=kn.prototype.sb;kn.prototype.getLastCoordinate=kn.prototype.tb;kn.prototype.getLayout=kn.prototype.ub;
kn.prototype.getClosestPoint=kn.prototype.Xa;kn.prototype.getExtent=kn.prototype.R;kn.prototype.simplify=kn.prototype.eb;kn.prototype.transform=kn.prototype.Sa;kn.prototype.get=kn.prototype.get;kn.prototype.getKeys=kn.prototype.O;kn.prototype.getProperties=kn.prototype.P;kn.prototype.set=kn.prototype.set;kn.prototype.setProperties=kn.prototype.H;kn.prototype.unset=kn.prototype.S;kn.prototype.changed=kn.prototype.s;kn.prototype.getRevision=kn.prototype.K;kn.prototype.on=kn.prototype.D;
kn.prototype.once=kn.prototype.L;kn.prototype.un=kn.prototype.J;kn.prototype.unByKey=kn.prototype.M;P.prototype.getFirstCoordinate=P.prototype.sb;P.prototype.getLastCoordinate=P.prototype.tb;P.prototype.getLayout=P.prototype.ub;P.prototype.getClosestPoint=P.prototype.Xa;P.prototype.getExtent=P.prototype.R;P.prototype.simplify=P.prototype.eb;P.prototype.transform=P.prototype.Sa;P.prototype.get=P.prototype.get;P.prototype.getKeys=P.prototype.O;P.prototype.getProperties=P.prototype.P;
P.prototype.set=P.prototype.set;P.prototype.setProperties=P.prototype.H;P.prototype.unset=P.prototype.S;P.prototype.changed=P.prototype.s;P.prototype.getRevision=P.prototype.K;P.prototype.on=P.prototype.D;P.prototype.once=P.prototype.L;P.prototype.un=P.prototype.J;P.prototype.unByKey=P.prototype.M;D.prototype.getFirstCoordinate=D.prototype.sb;D.prototype.getLastCoordinate=D.prototype.tb;D.prototype.getLayout=D.prototype.ub;D.prototype.getClosestPoint=D.prototype.Xa;D.prototype.getExtent=D.prototype.R;
D.prototype.simplify=D.prototype.eb;D.prototype.transform=D.prototype.Sa;D.prototype.get=D.prototype.get;D.prototype.getKeys=D.prototype.O;D.prototype.getProperties=D.prototype.P;D.prototype.set=D.prototype.set;D.prototype.setProperties=D.prototype.H;D.prototype.unset=D.prototype.S;D.prototype.changed=D.prototype.s;D.prototype.getRevision=D.prototype.K;D.prototype.on=D.prototype.D;D.prototype.once=D.prototype.L;D.prototype.un=D.prototype.J;D.prototype.unByKey=D.prototype.M;
E.prototype.getFirstCoordinate=E.prototype.sb;E.prototype.getLastCoordinate=E.prototype.tb;E.prototype.getLayout=E.prototype.ub;E.prototype.getClosestPoint=E.prototype.Xa;E.prototype.getExtent=E.prototype.R;E.prototype.simplify=E.prototype.eb;E.prototype.transform=E.prototype.Sa;E.prototype.get=E.prototype.get;E.prototype.getKeys=E.prototype.O;E.prototype.getProperties=E.prototype.P;E.prototype.set=E.prototype.set;E.prototype.setProperties=E.prototype.H;E.prototype.unset=E.prototype.S;
E.prototype.changed=E.prototype.s;E.prototype.getRevision=E.prototype.K;E.prototype.on=E.prototype.D;E.prototype.once=E.prototype.L;E.prototype.un=E.prototype.J;E.prototype.unByKey=E.prototype.M;ps.prototype.readFeatures=ps.prototype.sa;qs.prototype.readFeatures=qs.prototype.sa;qs.prototype.readFeatures=qs.prototype.sa;vh.prototype.get=vh.prototype.get;vh.prototype.getKeys=vh.prototype.O;vh.prototype.getProperties=vh.prototype.P;vh.prototype.set=vh.prototype.set;vh.prototype.setProperties=vh.prototype.H;
vh.prototype.unset=vh.prototype.S;vh.prototype.changed=vh.prototype.s;vh.prototype.getRevision=vh.prototype.K;vh.prototype.on=vh.prototype.D;vh.prototype.once=vh.prototype.L;vh.prototype.un=vh.prototype.J;vh.prototype.unByKey=vh.prototype.M;Wh.prototype.getMap=Wh.prototype.g;Wh.prototype.setMap=Wh.prototype.setMap;Wh.prototype.setTarget=Wh.prototype.c;Wh.prototype.get=Wh.prototype.get;Wh.prototype.getKeys=Wh.prototype.O;Wh.prototype.getProperties=Wh.prototype.P;Wh.prototype.set=Wh.prototype.set;
Wh.prototype.setProperties=Wh.prototype.H;Wh.prototype.unset=Wh.prototype.S;Wh.prototype.changed=Wh.prototype.s;Wh.prototype.getRevision=Wh.prototype.K;Wh.prototype.on=Wh.prototype.D;Wh.prototype.once=Wh.prototype.L;Wh.prototype.un=Wh.prototype.J;Wh.prototype.unByKey=Wh.prototype.M;gi.prototype.getMap=gi.prototype.g;gi.prototype.setMap=gi.prototype.setMap;gi.prototype.setTarget=gi.prototype.c;gi.prototype.get=gi.prototype.get;gi.prototype.getKeys=gi.prototype.O;gi.prototype.getProperties=gi.prototype.P;
gi.prototype.set=gi.prototype.set;gi.prototype.setProperties=gi.prototype.H;gi.prototype.unset=gi.prototype.S;gi.prototype.changed=gi.prototype.s;gi.prototype.getRevision=gi.prototype.K;gi.prototype.on=gi.prototype.D;gi.prototype.once=gi.prototype.L;gi.prototype.un=gi.prototype.J;gi.prototype.unByKey=gi.prototype.M;hi.prototype.getMap=hi.prototype.g;hi.prototype.setMap=hi.prototype.setMap;hi.prototype.setTarget=hi.prototype.c;hi.prototype.get=hi.prototype.get;hi.prototype.getKeys=hi.prototype.O;
hi.prototype.getProperties=hi.prototype.P;hi.prototype.set=hi.prototype.set;hi.prototype.setProperties=hi.prototype.H;hi.prototype.unset=hi.prototype.S;hi.prototype.changed=hi.prototype.s;hi.prototype.getRevision=hi.prototype.K;hi.prototype.on=hi.prototype.D;hi.prototype.once=hi.prototype.L;hi.prototype.un=hi.prototype.J;hi.prototype.unByKey=hi.prototype.M;jr.prototype.getMap=jr.prototype.g;jr.prototype.setMap=jr.prototype.setMap;jr.prototype.setTarget=jr.prototype.c;jr.prototype.get=jr.prototype.get;
jr.prototype.getKeys=jr.prototype.O;jr.prototype.getProperties=jr.prototype.P;jr.prototype.set=jr.prototype.set;jr.prototype.setProperties=jr.prototype.H;jr.prototype.unset=jr.prototype.S;jr.prototype.changed=jr.prototype.s;jr.prototype.getRevision=jr.prototype.K;jr.prototype.on=jr.prototype.D;jr.prototype.once=jr.prototype.L;jr.prototype.un=jr.prototype.J;jr.prototype.unByKey=jr.prototype.M;Zh.prototype.getMap=Zh.prototype.g;Zh.prototype.setMap=Zh.prototype.setMap;Zh.prototype.setTarget=Zh.prototype.c;
Zh.prototype.get=Zh.prototype.get;Zh.prototype.getKeys=Zh.prototype.O;Zh.prototype.getProperties=Zh.prototype.P;Zh.prototype.set=Zh.prototype.set;Zh.prototype.setProperties=Zh.prototype.H;Zh.prototype.unset=Zh.prototype.S;Zh.prototype.changed=Zh.prototype.s;Zh.prototype.getRevision=Zh.prototype.K;Zh.prototype.on=Zh.prototype.D;Zh.prototype.once=Zh.prototype.L;Zh.prototype.un=Zh.prototype.J;Zh.prototype.unByKey=Zh.prototype.M;or.prototype.getMap=or.prototype.g;or.prototype.setMap=or.prototype.setMap;
or.prototype.setTarget=or.prototype.c;or.prototype.get=or.prototype.get;or.prototype.getKeys=or.prototype.O;or.prototype.getProperties=or.prototype.P;or.prototype.set=or.prototype.set;or.prototype.setProperties=or.prototype.H;or.prototype.unset=or.prototype.S;or.prototype.changed=or.prototype.s;or.prototype.getRevision=or.prototype.K;or.prototype.on=or.prototype.D;or.prototype.once=or.prototype.L;or.prototype.un=or.prototype.J;or.prototype.unByKey=or.prototype.M;ai.prototype.getMap=ai.prototype.g;
ai.prototype.setMap=ai.prototype.setMap;ai.prototype.setTarget=ai.prototype.c;ai.prototype.get=ai.prototype.get;ai.prototype.getKeys=ai.prototype.O;ai.prototype.getProperties=ai.prototype.P;ai.prototype.set=ai.prototype.set;ai.prototype.setProperties=ai.prototype.H;ai.prototype.unset=ai.prototype.S;ai.prototype.changed=ai.prototype.s;ai.prototype.getRevision=ai.prototype.K;ai.prototype.on=ai.prototype.D;ai.prototype.once=ai.prototype.L;ai.prototype.un=ai.prototype.J;ai.prototype.unByKey=ai.prototype.M;
Cr.prototype.getMap=Cr.prototype.g;Cr.prototype.setMap=Cr.prototype.setMap;Cr.prototype.setTarget=Cr.prototype.c;Cr.prototype.get=Cr.prototype.get;Cr.prototype.getKeys=Cr.prototype.O;Cr.prototype.getProperties=Cr.prototype.P;Cr.prototype.set=Cr.prototype.set;Cr.prototype.setProperties=Cr.prototype.H;Cr.prototype.unset=Cr.prototype.S;Cr.prototype.changed=Cr.prototype.s;Cr.prototype.getRevision=Cr.prototype.K;Cr.prototype.on=Cr.prototype.D;Cr.prototype.once=Cr.prototype.L;Cr.prototype.un=Cr.prototype.J;
Cr.prototype.unByKey=Cr.prototype.M;Hr.prototype.getMap=Hr.prototype.g;Hr.prototype.setMap=Hr.prototype.setMap;Hr.prototype.setTarget=Hr.prototype.c;Hr.prototype.get=Hr.prototype.get;Hr.prototype.getKeys=Hr.prototype.O;Hr.prototype.getProperties=Hr.prototype.P;Hr.prototype.set=Hr.prototype.set;Hr.prototype.setProperties=Hr.prototype.H;Hr.prototype.unset=Hr.prototype.S;Hr.prototype.changed=Hr.prototype.s;Hr.prototype.getRevision=Hr.prototype.K;Hr.prototype.on=Hr.prototype.D;Hr.prototype.once=Hr.prototype.L;
Hr.prototype.un=Hr.prototype.J;Hr.prototype.unByKey=Hr.prototype.M;
  return OPENLAYERS.ol;
}));

