Files
2014-05-06 13:02:46 -05:00

687 lines
347 KiB
JavaScript

// OpenLayers 3. see http://ol3js.org/
(function(){function aa(){return function(a){return a}}function ba(){return function(){}}function k(a){return function(){return this[a]}}function ca(a){return function(){return a}}var l,da=da||{},ea=this;function fa(){}function ga(a){a.gb=function(){return a.pe?a.pe:a.pe=new a}}
function ha(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";
else if("function"==b&&"undefined"==typeof a.call)return"object";return b}function s(a){return void 0!==a}function ia(a){return null===a}function ja(a){return"array"==ha(a)}function ka(a){var b=ha(a);return"array"==b||"object"==b&&"number"==typeof a.length}function la(a){return"string"==typeof a}function ma(a){return"number"==typeof a}function pa(a){return"function"==ha(a)}function ra(a){var b=typeof a;return"object"==b&&null!=a||"function"==b}function sa(a){return a[ta]||(a[ta]=++ua)}
var ta="closure_uid_"+(1E9*Math.random()>>>0),ua=0;function va(a,b,c){return a.call.apply(a.bind,arguments)}function wa(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}}
function xa(a,b,c){xa=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?va:wa;return xa.apply(null,arguments)}function ya(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var b=Array.prototype.slice.call(arguments);b.unshift.apply(b,c);return a.apply(this,b)}}var Aa=Date.now||function(){return+new Date};
function t(a,b){var c=a.split("."),d=ea;c[0]in d||!d.execScript||d.execScript("var "+c[0]);for(var e;c.length&&(e=c.shift());)c.length||void 0===b?d=d[e]?d[e]:d[e]={}:d[e]=b}function v(a,b){function c(){}c.prototype=b.prototype;a.J=b.prototype;a.prototype=new c};function Ba(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&1<c.length;)d+=c.shift()+e.shift();return d+c.join("%s")}function Ca(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")}function Da(a){if(!Ea.test(a))return a;-1!=a.indexOf("\x26")&&(a=a.replace(Fa,"\x26amp;"));-1!=a.indexOf("\x3c")&&(a=a.replace(Ga,"\x26lt;"));-1!=a.indexOf("\x3e")&&(a=a.replace(Ha,"\x26gt;"));-1!=a.indexOf('"')&&(a=a.replace(Ia,"\x26quot;"));return a}
var Fa=/&/g,Ga=/</g,Ha=/>/g,Ia=/\"/g,Ea=/[&<>\"]/;function Ja(a){a=s(void 0)?a.toFixed(void 0):String(a);var b=a.indexOf(".");-1==b&&(b=a.length);b=Math.max(0,2-b);return Array(b+1).join("0")+a}
function Ka(a,b){for(var c=0,d=Ca(String(a)).split("."),e=Ca(String(b)).split("."),f=Math.max(d.length,e.length),g=0;0==c&&g<f;g++){var h=d[g]||"",m=e[g]||"",n=RegExp("(\\d*)(\\D*)","g"),p=RegExp("(\\d*)(\\D*)","g");do{var q=n.exec(h)||["","",""],r=p.exec(m)||["","",""];if(0==q[0].length&&0==r[0].length)break;c=((0==q[1].length?0:parseInt(q[1],10))<(0==r[1].length?0:parseInt(r[1],10))?-1:(0==q[1].length?0:parseInt(q[1],10))>(0==r[1].length?0:parseInt(r[1],10))?1:0)||((0==q[2].length)<(0==r[2].length)?
-1:(0==q[2].length)>(0==r[2].length)?1:0)||(q[2]<r[2]?-1:q[2]>r[2]?1:0)}while(0==c)}return c};var La,Ma,Na,Oa,Pa,Qa,Ra;function Ta(){return ea.navigator?ea.navigator.userAgent:null}function Ua(){return ea.navigator}Oa=Na=Ma=La=!1;var Va;if(Va=Ta()){var Xa=Ua();La=0==Va.lastIndexOf("Opera",0);Ma=!La&&(-1!=Va.indexOf("MSIE")||-1!=Va.indexOf("Trident"));Na=!La&&-1!=Va.indexOf("WebKit");Oa=!La&&!Na&&!Ma&&"Gecko"==Xa.product}var Za=La,$a=Ma,bb=Oa,cb=Na,db,eb=Ua();db=eb&&eb.platform||"";Pa=-1!=db.indexOf("Mac");Qa=-1!=db.indexOf("Win");Ra=-1!=db.indexOf("Linux");
var fb=!!Ua()&&-1!=(Ua().appVersion||"").indexOf("X11");function gb(){var a=ea.document;return a?a.documentMode:void 0}var hb;a:{var ib="",jb;if(Za&&ea.opera)var kb=ea.opera.version,ib="function"==typeof kb?kb():kb;else if(bb?jb=/rv\:([^\);]+)(\)|;)/:$a?jb=/\b(?:MSIE|rv)\s+([^\);]+)(\)|;)/:cb&&(jb=/WebKit\/(\S+)/),jb)var lb=jb.exec(Ta()),ib=lb?lb[1]:"";if($a){var mb=gb();if(mb>parseFloat(ib)){hb=String(mb);break a}}hb=ib}var nb={};function ob(a){return nb[a]||(nb[a]=0<=Ka(hb,a))}
var pb=ea.document,qb=pb&&$a?gb()||("CSS1Compat"==pb.compatMode?parseInt(hb,10):5):void 0;var rb="https:"===ea.location.protocol,sb=$a&&!ob("9.0")&&""!==hb;function tb(a){Error.captureStackTrace?Error.captureStackTrace(this,tb):this.stack=Error().stack||"";a&&(this.message=String(a))}v(tb,Error);tb.prototype.name="CustomError";var ub=Array.prototype,vb=ub.indexOf?function(a,b,c){return ub.indexOf.call(a,b,c)}:function(a,b,c){c=null==c?0:0>c?Math.max(0,a.length+c):c;if(la(a))return la(b)&&1==b.length?a.indexOf(b,c):-1;for(;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},wb=ub.forEach?function(a,b,c){ub.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=la(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)},xb=ub.map?function(a,b,c){return ub.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),
f=la(a)?a.split(""):a,g=0;g<d;g++)g in f&&(e[g]=b.call(c,f[g],g,a));return e},yb=ub.some?function(a,b,c){return ub.some.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=la(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return!0;return!1};function zb(a,b){var c=Ab(a,b,void 0);return 0>c?null:la(a)?a.charAt(c):a[c]}function Ab(a,b,c){for(var d=a.length,e=la(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return f;return-1}
function Bb(a,b){var c=vb(a,b),d;(d=0<=c)&&ub.splice.call(a,c,1);return d}function Cb(a){return ub.concat.apply(ub,arguments)}function Db(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]}function Eb(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c],e;if(ja(d)||(e=ka(d))&&Object.prototype.hasOwnProperty.call(d,"callee"))a.push.apply(a,d);else if(e)for(var f=a.length,g=d.length,h=0;h<g;h++)a[f+h]=d[h];else a.push(d)}}
function Fb(a,b,c,d){ub.splice.apply(a,Gb(arguments,1))}function Gb(a,b,c){return 2>=arguments.length?ub.slice.call(a,b):ub.slice.call(a,b,c)}function Hb(a,b){ub.sort.call(a,b||Ib)}function Jb(a,b){if(!ka(a)||!ka(b)||a.length!=b.length)return!1;for(var c=a.length,d=Kb,e=0;e<c;e++)if(!d(a[e],b[e]))return!1;return!0}function Ib(a,b){return a>b?1:a<b?-1:0}function Kb(a,b){return a===b};function Lb(a,b,c){this.a=a;this.x=b;this.y=c}function Mb(a,b,c,d){return s(d)?(d.a=a,d.x=b,d.y=c,d):new Lb(a,b,c)}function Nb(a,b,c){return a+"/"+b+"/"+c}Lb.prototype.d=function(a){return s(a)?(a[0]=this.a,a[1]=this.x,a[2]=this.y,a):[this.a,this.x,this.y]};function Ob(a){var b=Array(a.a),c=1<<a.a-1,d,e;for(d=0;d<a.a;++d)e=48,a.x&c&&(e+=1),a.y&c&&(e+=2),b[d]=String.fromCharCode(e),c>>=1;return b.join("")}Lb.prototype.toString=function(){return Nb(this.a,this.x,this.y)};function Pb(a,b,c,d){this.a=a;this.c=b;this.b=c;this.d=d}function Qb(a,b,c,d,e){return s(e)?(e.a=a,e.c=b,e.b=c,e.d=d,e):new Pb(a,b,c,d)}Pb.prototype.contains=function(a){return this.a<=a.x&&a.x<=this.c&&this.b<=a.y&&a.y<=this.d};function Rb(a){this.d=a.html;this.a=s(a.tileRanges)?a.tileRanges:null};var Sb,Tb=!$a||$a&&9<=qb;!bb&&!$a||$a&&$a&&9<=qb||bb&&ob("1.9.1");$a&&ob("9");function Ub(a){a=a.className;return la(a)&&a.match(/\S+/g)||[]}function Vb(a,b){for(var c=Ub(a),d=Gb(arguments,1),e=c.length+d.length,f=c,g=0;g<d.length;g++)0<=vb(f,d[g])||f.push(d[g]);a.className=c.join(" ");return c.length==e}function Wb(a,b,c){for(var d=Ub(a),e=!1,f=0;f<d.length;f++)d[f]==b&&(Fb(d,f--,1),e=!0);e&&(d.push(c),a.className=d.join(" "))};function Xb(a,b,c){return Math.min(Math.max(a,b),c)}function Yb(a,b){var c=a%b;return 0>c*b?c+b:c}function Zb(a){return a*Math.PI/180};function $b(a,b){this.x=s(a)?a:0;this.y=s(b)?b:0}l=$b.prototype;l.H=function(){return new $b(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,b){var c=ma(b)?b:a;this.x*=a;this.y*=c;return this};function ac(a,b){this.width=a;this.height=b}l=ac.prototype;l.H=function(){return new ac(this.width,this.height)};l.ma=function(){return!(this.width*this.height)};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,b){var c=ma(b)?b:a;this.width*=a;this.height*=c;return this};function bc(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function dc(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1}function ec(a){var b=0,c;for(c in a)b++;return b}function fc(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b}function gc(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b}function hc(a){for(var b in a)return!1;return!0}function ic(a){for(var b in a)delete a[b]}function jc(a,b){b in a&&delete a[b]}function w(a,b,c){return b in a?a[b]:c}
function kc(a,b){var c=[];return b in a?a[b]:a[b]=c}function lc(a){var b={},c;for(c in a)b[c]=a[c];return b}var mc="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function nc(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<mc.length;f++)c=mc[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};function oc(a){return a?new pc(qc(a)):Sb||(Sb=new pc)}function rc(a){return la(a)?document.getElementById(a):a}function sc(a,b){bc(b,function(b,d){"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:d in uc?a.setAttribute(uc[d],b):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,b):a[d]=b})}
var uc={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 vc(a){a=a.document.documentElement;return new ac(a.clientWidth,a.clientHeight)}
function wc(a,b,c){var d=arguments,e=document,f=d[0],g=d[1];if(!Tb&&g&&(g.name||g.type)){f=["\x3c",f];g.name&&f.push(' name\x3d"',Da(g.name),'"');if(g.type){f.push(' type\x3d"',Da(g.type),'"');var h={};nc(h,g);delete h.type;g=h}f.push("\x3e");f=f.join("")}f=e.createElement(f);g&&(la(g)?f.className=g:ja(g)?Vb.apply(null,[f].concat(g)):sc(f,g));2<d.length&&xc(e,f,d,2);return f}
function xc(a,b,c,d){function e(c){c&&b.appendChild(la(c)?a.createTextNode(c):c)}for(;d<c.length;d++){var f=c[d];!ka(f)||ra(f)&&0<f.nodeType?e(f):wb(yc(f)?Db(f):f,e)}}function zc(a){return document.createElement(a)}function Ac(a,b){xc(qc(a),a,arguments,1)}function Bc(a){for(var b;b=a.firstChild;)a.removeChild(b)}function Cc(a,b){b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling)}function Dc(a,b,c){a.insertBefore(b,a.childNodes[c]||null)}
function Ec(a){a&&a.parentNode&&a.parentNode.removeChild(a)}function Fc(a){if(void 0!=a.firstElementChild)a=a.firstElementChild;else for(a=a.firstChild;a&&1!=a.nodeType;)a=a.nextSibling;return a}function Gc(a,b){if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||Boolean(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a}function qc(a){return 9==a.nodeType?a:a.ownerDocument||a.document}
function yc(a){if(a&&"number"==typeof a.length){if(ra(a))return"function"==typeof a.item||"string"==typeof a.item;if(pa(a))return"function"==typeof a.item}return!1}function pc(a){this.a=a||ea.document||document}function Hc(a){var b=a.a;a=cb?b.body:b.documentElement;b=b.parentWindow||b.defaultView;return $a&&ob("10")&&b.pageYOffset!=a.scrollTop?new $b(a.scrollLeft,a.scrollTop):new $b(b.pageXOffset||a.scrollLeft,b.pageYOffset||a.scrollTop)}pc.prototype.appendChild=function(a,b){a.appendChild(b)};
pc.prototype.contains=Gc;function Ic(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d}l=Ic.prototype;l.H=function(){return new Ic(this.top,this.right,this.bottom,this.left)};l.contains=function(a){return this&&a?a instanceof Ic?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,b){var c=ma(b)?b:a;this.left*=a;this.right*=a;this.top*=c;this.bottom*=c;return this};function Jc(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}l=Jc.prototype;l.H=function(){return new Jc(this.left,this.top,this.width,this.height)};l.contains=function(a){return a instanceof Jc?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.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,b){var c=ma(b)?b:a;this.left*=a;this.width*=a;this.top*=c;this.height*=c;return this};function Kc(a,b){var c=qc(a);return c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,null))?c[b]||c.getPropertyValue(b)||"":""}function Lc(a,b){return Kc(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]}function Mc(a,b,c){var d,e=bb&&(Pa||fb)&&ob("1.9");b instanceof $b?(d=b.x,b=b.y):(d=b,b=c);a.style.left=Nc(d,e);a.style.top=Nc(b,e)}
function Oc(a){var b;try{b=a.getBoundingClientRect()}catch(c){return{left:0,top:0,right:0,bottom:0}}$a&&(a=a.ownerDocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+a.body.clientTop);return b}
function Qc(a){if($a&&!($a&&8<=qb))return a.offsetParent;var b=qc(a),c=Lc(a,"position"),d="fixed"==c||"absolute"==c;for(a=a.parentNode;a&&a!=b;a=a.parentNode)if(c=Lc(a,"position"),d=d&&"static"==c&&a!=b.documentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||"fixed"==c||"absolute"==c||"relative"==c))return a;return null}
function Rc(a){var b,c=qc(a),d=Lc(a,"position"),e=bb&&c.getBoxObjectFor&&!a.getBoundingClientRect&&"absolute"==d&&(b=c.getBoxObjectFor(a))&&(0>b.screenX||0>b.screenY),f=new $b(0,0),g;b=c?qc(c):document;(g=!$a)||(g=$a&&9<=qb)||(oc(b),g=!0);g=g?b.documentElement:b.body;if(a==g)return f;if(a.getBoundingClientRect)b=Oc(a),a=Hc(oc(c)),f.x=b.left+a.x,f.y=b.top+a.y;else if(c.getBoxObjectFor&&!e)b=c.getBoxObjectFor(a),a=c.getBoxObjectFor(g),f.x=b.screenX-a.screenX,f.y=b.screenY-a.screenY;else{e=a;do{f.x+=
e.offsetLeft;f.y+=e.offsetTop;e!=a&&(f.x+=e.clientLeft||0,f.y+=e.clientTop||0);if(cb&&"fixed"==Lc(e,"position")){f.x+=c.body.scrollLeft;f.y+=c.body.scrollTop;break}e=e.offsetParent}while(e&&e!=a);if(Za||cb&&"absolute"==d)f.y-=c.body.offsetTop;for(e=a;(e=Qc(e))&&e!=c.body&&e!=g;)f.x-=e.scrollLeft,Za&&"TR"==e.tagName||(f.y-=e.scrollTop)}return f}function Sc(a,b){var c=Tc(a),d=Tc(b);return new $b(c.x-d.x,c.y-d.y)}
function Tc(a){if(1==a.nodeType){var b;if(a.getBoundingClientRect)b=Oc(a),b=new $b(b.left,b.top);else{b=Hc(oc(a));var c=Rc(a);b=new $b(c.x-b.x,c.y-b.y)}if(bb&&!ob(12)){var d;$a?d="-ms-transform":cb?d="-webkit-transform":Za?d="-o-transform":bb&&(d="-moz-transform");var e;d&&(e=Lc(a,d));e||(e=Lc(a,"transform"));a=e?(a=e.match(Uc))?new $b(parseFloat(a[1]),parseFloat(a[2])):new $b(0,0):new $b(0,0);a=new $b(b.x+a.x,b.y+a.y)}else a=b;return a}d=pa(a.tf);e=a;a.targetTouches?e=a.targetTouches[0]:d&&a.O.targetTouches&&
(e=a.O.targetTouches[0]);return new $b(e.clientX,e.clientY)}function Nc(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a}function Vc(a){var b=Wc;if("none"!=Lc(a,"display"))return b(a);var c=a.style,d=c.display,e=c.visibility,f=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=f;c.visibility=e;return a}
function Wc(a){var b=a.offsetWidth,c=a.offsetHeight,d=cb&&!b&&!c;return s(b)&&!d||!a.getBoundingClientRect?new ac(b,c):(a=Oc(a),new ac(a.right-a.left,a.bottom-a.top))}function Xc(a,b){var c=a.style;"opacity"in c?c.opacity=b:"MozOpacity"in c?c.MozOpacity=b:"filter"in c&&(c.filter=""===b?"":"alpha(opacity\x3d"+100*b+")")}function Yc(a,b){a.style.display=b?"":"none"}function Zc(a){return"rtl"==Lc(a,"direction")}
function $c(a){var b=qc(a),c=$a&&a.currentStyle,d;if(d=c)oc(b),d="auto"!=c.width&&"auto"!=c.height&&!c.boxSizing;if(d)return b=ad(a,c.width,"width","pixelWidth"),a=ad(a,c.height,"height","pixelHeight"),new ac(b,a);c=new ac(a.offsetWidth,a.offsetHeight);b=bd(a,"padding");a=cd(a);return new ac(c.width-a.left-b.left-b.right-a.right,c.height-a.top-b.top-b.bottom-a.bottom)}
function ad(a,b,c,d){if(/^\d+px?$/.test(b))return parseInt(b,10);var e=a.style[c],f=a.runtimeStyle[c];a.runtimeStyle[c]=a.currentStyle[c];a.style[c]=b;b=a.style[d];a.style[c]=e;a.runtimeStyle[c]=f;return b}function dd(a,b){var c=a.currentStyle?a.currentStyle[b]:null;return c?ad(a,c,"left","pixelLeft"):0}
function bd(a,b){if($a){var c=dd(a,b+"Left"),d=dd(a,b+"Right"),e=dd(a,b+"Top"),f=dd(a,b+"Bottom");return new Ic(e,d,f,c)}c=Kc(a,b+"Left");d=Kc(a,b+"Right");e=Kc(a,b+"Top");f=Kc(a,b+"Bottom");return new Ic(parseFloat(e),parseFloat(d),parseFloat(f),parseFloat(c))}var ed={thin:2,medium:4,thick:6};function fd(a,b){if("none"==(a.currentStyle?a.currentStyle[b+"Style"]:null))return 0;var c=a.currentStyle?a.currentStyle[b+"Width"]:null;return c in ed?ed[c]:ad(a,c,"left","pixelLeft")}
function cd(a){if($a){var b=fd(a,"borderLeft"),c=fd(a,"borderRight"),d=fd(a,"borderTop");a=fd(a,"borderBottom");return new Ic(d,c,a,b)}b=Kc(a,"borderLeftWidth");c=Kc(a,"borderRightWidth");d=Kc(a,"borderTopWidth");a=Kc(a,"borderBottomWidth");return new Ic(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))}var Uc=/matrix\([0-9\.\-]+, [0-9\.\-]+, [0-9\.\-]+, [0-9\.\-]+, ([0-9\.\-]+)p?x?, ([0-9\.\-]+)p?x?\)/;function gd(a){this.length=a.length||a;for(var b=0;b<this.length;b++)this[b]=a[b]||0}gd.prototype.a=4;gd.prototype.d=function(a,b){b=b||0;for(var c=0;c<a.length&&b+c<this.length;c++)this[b+c]=a[c]};gd.prototype.toString=Array.prototype.join;"undefined"==typeof Float32Array&&(gd.BYTES_PER_ELEMENT=4,gd.prototype.BYTES_PER_ELEMENT=gd.prototype.a,gd.prototype.set=gd.prototype.d,gd.prototype.toString=gd.prototype.toString,t("Float32Array",gd));function hd(a){this.length=a.length||a;for(var b=0;b<this.length;b++)this[b]=a[b]||0}hd.prototype.a=8;hd.prototype.d=function(a,b){b=b||0;for(var c=0;c<a.length&&b+c<this.length;c++)this[b+c]=a[c]};hd.prototype.toString=Array.prototype.join;if("undefined"==typeof Float64Array){try{hd.BYTES_PER_ELEMENT=8}catch(id){}hd.prototype.BYTES_PER_ELEMENT=hd.prototype.a;hd.prototype.set=hd.prototype.d;hd.prototype.toString=hd.prototype.toString;t("Float64Array",hd)};function jd(a,b,c,d,e){a[0]=b;a[1]=c;a[2]=d;a[3]=e};function kd(){var a=Array(16);ld(a,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);return a}function md(){var a=Array(16);ld(a,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);return a}function ld(a,b,c,d,e,f,g,h,m,n,p,q,r,u,x,B,y){a[0]=b;a[1]=c;a[2]=d;a[3]=e;a[4]=f;a[5]=g;a[6]=h;a[7]=m;a[8]=n;a[9]=p;a[10]=q;a[11]=r;a[12]=u;a[13]=x;a[14]=B;a[15]=y}
function nd(a,b){a[0]=b[0];a[1]=b[1];a[2]=b[2];a[3]=b[3];a[4]=b[4];a[5]=b[5];a[6]=b[6];a[7]=b[7];a[8]=b[8];a[9]=b[9];a[10]=b[10];a[11]=b[11];a[12]=b[12];a[13]=b[13];a[14]=b[14];a[15]=b[15]}function od(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 pd(a,b,c){var d=a[0],e=a[1],f=a[2],g=a[3],h=a[4],m=a[5],n=a[6],p=a[7],q=a[8],r=a[9],u=a[10],x=a[11],B=a[12],y=a[13],E=a[14];a=a[15];var C=b[0],O=b[1],W=b[2],na=b[3],X=b[4],qa=b[5],za=b[6],ab=b[7],Ya=b[8],oa=b[9],Wa=b[10],Sa=b[11],Pc=b[12],cc=b[13],tc=b[14];b=b[15];c[0]=d*C+h*O+q*W+B*na;c[1]=e*C+m*O+r*W+y*na;c[2]=f*C+n*O+u*W+E*na;c[3]=g*C+p*O+x*W+a*na;c[4]=d*X+h*qa+q*za+B*ab;c[5]=e*X+m*qa+r*za+y*ab;c[6]=f*X+n*qa+u*za+E*ab;c[7]=g*X+p*qa+x*za+a*ab;c[8]=d*Ya+h*oa+q*Wa+B*Sa;c[9]=e*Ya+m*oa+r*Wa+
y*Sa;c[10]=f*Ya+n*oa+u*Wa+E*Sa;c[11]=g*Ya+p*oa+x*Wa+a*Sa;c[12]=d*Pc+h*cc+q*tc+B*b;c[13]=e*Pc+m*cc+r*tc+y*b;c[14]=f*Pc+n*cc+u*tc+E*b;c[15]=g*Pc+p*cc+x*tc+a*b}function qd(a,b,c){var d=a[1]*b+a[5]*c+0*a[9]+a[13],e=a[2]*b+a[6]*c+0*a[10]+a[14],f=a[3]*b+a[7]*c+0*a[11]+a[15];a[12]=a[0]*b+a[4]*c+0*a[8]+a[12];a[13]=d;a[14]=e;a[15]=f}function rd(a,b,c){ld(a,a[0]*b,a[1]*b,a[2]*b,a[3]*b,a[4]*c,a[5]*c,a[6]*c,a[7]*c,1*a[8],1*a[9],1*a[10],1*a[11],a[12],a[13],a[14],a[15])}
function sd(a,b){var c=a[0],d=a[1],e=a[2],f=a[3],g=a[4],h=a[5],m=a[6],n=a[7],p=Math.cos(b),q=Math.sin(b);a[0]=c*p+g*q;a[1]=d*p+h*q;a[2]=e*p+m*q;a[3]=f*p+n*q;a[4]=c*-q+g*p;a[5]=d*-q+h*p;a[6]=e*-q+m*p;a[7]=f*-q+n*p}new Float64Array(3);new Float64Array(3);new Float64Array(4);new Float64Array(4);new Float64Array(4);new Float64Array(16);function td(a,b){var c=zc("CANVAS");s(a)&&(c.width=a);s(b)&&(c.height=b);return c.getContext("2d")}
var ud=function(){var a;return function(){if(!s(a))if(ea.getComputedStyle){var b=zc("P"),c,d={webkitTransform:"-webkit-transform",OTransform:"-o-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",transform:"transform"};document.body.appendChild(b);for(var e in d)e in b.style&&(b.style[e]="translate(1px,1px)",c=ea.getComputedStyle(b).getPropertyValue(d[e]));Ec(b);a=c&&"none"!==c}else a=!1;return a}}(),vd=function(){var a;return function(){if(!s(a))if(ea.getComputedStyle){var b=zc("P"),
c,d={webkitTransform:"-webkit-transform",OTransform:"-o-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",transform:"transform"};document.body.appendChild(b);for(var e in d)e in b.style&&(b.style[e]="translate3d(1px,1px,1px)",c=ea.getComputedStyle(b).getPropertyValue(d[e]));Ec(b);a=c&&"none"!==c}else a=!1;return a}}();function wd(a,b){var c=a.style;c.WebkitTransform=b;c.MozTransform=b;c.a=b;c.msTransform=b;c.transform=b;$a&&!sb&&(a.style.transformOrigin="0 0")}
function xd(a,b){var c;if(vd()){if(s(6)){var d=Array(16);for(c=0;16>c;++c)d[c]=b[c].toFixed(6);c=d.join(",")}else c=b.join(",");wd(a,"matrix3d("+c+")")}else if(ud()){d=[b[0],b[1],b[4],b[5],b[12],b[13]];if(s(6)){var e=Array(6);for(c=0;6>c;++c)e[c]=d[c].toFixed(6);c=e.join(",")}else c=d.join(",");wd(a,"matrix("+c+")")}else a.style.left=Math.round(b[12])+"px",a.style.top=Math.round(b[13])+"px"};var yd=["experimental-webgl","webgl","webkit-3d","moz-webgl"];function zd(a,b){var c,d,e=yd.length;for(d=0;d<e;++d)try{if(c=a.getContext(yd[d],b),null!==c)return c}catch(f){}return null};var Ad=ea.devicePixelRatio||1,Bd="ArrayBuffer"in ea,Cd=!1,Dd=function(){if(!("HTMLCanvasElement"in ea))return!1;try{var a=td();if(null===a)return!1;s(a.setLineDash)&&(Cd=!0);return!0}catch(b){return!1}}(),Ed="DeviceOrientationEvent"in ea,Fd="geolocation"in ea.navigator,Gd="JSON"in ea&&"parse"in ea.JSON,Hd="ontouchstart"in ea,Id="PointerEvent"in ea,Jd=!!ea.navigator.msPointerEnabled,Kd=function(){if(!("WebGLRenderingContext"in ea))return!1;try{var a=zc("CANVAS");return!ia(zd(a,{rf:!0}))}catch(b){return!1}}();function Ld(){0!=Md&&(this.Ei=Error().stack,Nd[sa(this)]=this)}var Md=0,Nd={};Ld.prototype.qb=!1;Ld.prototype.bc=function(){if(!this.qb&&(this.qb=!0,this.G(),0!=Md)){var a=sa(this);delete Nd[a]}};function Od(a,b){var c=ya(Pd,b);a.Ta||(a.Ta=[]);a.Ta.push(xa(c,void 0))}Ld.prototype.G=function(){if(this.Ta)for(;this.Ta.length;)this.Ta.shift()()};function Pd(a){a&&"function"==typeof a.bc&&a.bc()};function Qd(a,b){this.type=a;this.d=this.target=b}l=Qd.prototype;l.bc=ba();l.nb=!1;l.Kf=!1;l.Re=!0;l.Pa=function(){this.nb=!0};l.preventDefault=function(){this.Kf=!0;this.Re=!1};function Rd(a){a.Pa()}function Sd(a){a.preventDefault()};var Td=!$a||$a&&9<=qb,Ud=!$a||$a&&9<=qb,Vd=$a&&!ob("9");!cb||ob("528");bb&&ob("1.9b")||$a&&ob("8")||Za&&ob("9.5")||cb&&ob("528");bb&&!ob("8")||$a&&ob("9");var Wd=$a?"focusout":"DOMFocusOut";function Xd(a){Xd[" "](a);return a}Xd[" "]=fa;function Yd(a,b){a&&Zd(this,a,b)}v(Yd,Qd);var $d=[1,4,2];l=Yd.prototype;l.target=null;l.relatedTarget=null;l.offsetX=0;l.offsetY=0;l.clientX=0;l.clientY=0;l.screenX=0;l.screenY=0;l.button=0;l.Ya=0;l.rd=0;l.lc=!1;l.qa=!1;l.Za=!1;l.sd=!1;l.Pb=!1;l.O=null;
function Zd(a,b,c){var d=a.type=b.type;Qd.call(a,d);a.target=b.target||b.srcElement;a.d=c;if(c=b.relatedTarget){if(bb){var e;a:{try{Xd(c.nodeName);e=!0;break a}catch(f){}e=!1}e||(c=null)}}else"mouseover"==d?c=b.fromElement:"mouseout"==d&&(c=b.toElement);a.relatedTarget=c;a.offsetX=cb||void 0!==b.offsetX?b.offsetX:b.layerX;a.offsetY=cb||void 0!==b.offsetY?b.offsetY:b.layerY;a.clientX=void 0!==b.clientX?b.clientX:b.pageX;a.clientY=void 0!==b.clientY?b.clientY:b.pageY;a.screenX=b.screenX||0;a.screenY=
b.screenY||0;a.button=b.button;a.Ya=b.keyCode||0;a.rd=b.charCode||("keypress"==d?b.keyCode:0);a.lc=b.ctrlKey;a.qa=b.altKey;a.Za=b.shiftKey;a.sd=b.metaKey;a.Pb=Pa?b.metaKey:b.ctrlKey;a.state=b.state;a.O=b;b.defaultPrevented&&a.preventDefault();delete a.nb}function ae(a){return(Td?0==a.O.button:"click"==a.type?!0:!!(a.O.button&$d[0]))&&!(cb&&Pa&&a.lc)}l.Pa=function(){Yd.J.Pa.call(this);this.O.stopPropagation?this.O.stopPropagation():this.O.cancelBubble=!0};
l.preventDefault=function(){Yd.J.preventDefault.call(this);var a=this.O;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Vd)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};l.tf=k("O");var be="closure_listenable_"+(1E6*Math.random()|0);function ce(a){return!(!a||!a[be])}var de=0;function ee(a,b,c,d,e,f){this.Qa=a;this.a=b;this.src=c;this.type=d;this.capture=!!e;this.wb=f;this.key=++de;this.cb=this.Fb=!1}function fe(a){a.cb=!0;a.Qa=null;a.a=null;a.src=null;a.wb=null};var ge={},he={},ie={},je={};function z(a,b,c,d,e){if(ja(b)){for(var f=0;f<b.length;f++)z(a,b[f],c,d,e);return null}c=ke(c);return ce(a)?a.ra(b,c,d,e):le(a,b,c,!1,d,e)}
function le(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");e=!!e;var g=he;b in g||(g[b]={M:0});g=g[b];e in g||(g[e]={M:0},g.M++);var g=g[e],h=sa(a),m;if(g[h]){m=g[h];for(var n=0;n<m.length;n++)if(g=m[n],g.Qa==c&&g.wb==f){if(g.cb)break;d||(m[n].Fb=!1);return m[n]}}else m=g[h]=[],g.M++;n=me();g=new ee(c,n,a,b,e,f);g.Fb=d;n.src=a;n.Qa=g;m.push(g);ie[h]||(ie[h]=[]);ie[h].push(g);a.addEventListener?a.addEventListener(b,n,e):a.attachEvent(b in je?je[b]:je[b]="on"+b,n);return ge[g.key]=g}
function me(){var a=ne,b=Ud?function(c){return a.call(b.src,b.Qa,c)}:function(c){c=a.call(b.src,b.Qa,c);if(!c)return c};return b}function oe(a,b,c,d,e){if(ja(b)){for(var f=0;f<b.length;f++)oe(a,b[f],c,d,e);return null}c=ke(c);return ce(a)?a.ka.add(b,c,!0,d,e):le(a,b,c,!0,d,e)}function pe(a,b,c,d,e){if(ja(b))for(var f=0;f<b.length;f++)pe(a,b[f],c,d,e);else if(c=ke(c),ce(a))a.Kd(b,c,d,e);else if(d=!!d,a=qe(a,b,d))for(f=0;f<a.length;f++)if(a[f].Qa==c&&a[f].capture==d&&a[f].wb==e){re(a[f]);break}}
function re(a){if(ma(a)||!a||a.cb)return!1;var b=a.src;if(ce(b))return se(b.ka,a);var c=a.type,d=a.a,e=a.capture;b.removeEventListener?b.removeEventListener(c,d,e):b.detachEvent&&b.detachEvent(c in je?je[c]:je[c]="on"+c,d);b=sa(b);ie[b]&&(d=ie[b],Bb(d,a),0==d.length&&delete ie[b]);fe(a);if(d=he[c][e][b])Bb(d,a),0==d.length&&(delete he[c][e][b],he[c][e].M--),0==he[c][e].M&&(delete he[c][e],he[c].M--),0==he[c].M&&delete he[c];delete ge[a.key];return!0}
function qe(a,b,c){var d=he;return b in d&&(d=d[b],c in d&&(d=d[c],a=sa(a),d[a]))?d[a]:null}function te(a){if(ce(a))return ue(a.ka,void 0);a=sa(a);var b=ie[a];if(b){var c=s(void 0),d=s(void 0);return c&&d?(b=he[void 0],!!b&&!!b[void 0]&&a in b[void 0]):c||d?yb(b,function(a){return c&&void 0==a.type||d&&void 0==a.capture}):!0}return!1}function ve(a,b,c){var d=1;b=sa(b);if(a[b])for(a=Db(a[b]),b=0;b<a.length;b++){var e=a[b];e&&!e.cb&&(d&=!1!==we(e,c))}return Boolean(d)}
function we(a,b){var c=a.Qa,d=a.wb||a.src;a.Fb&&re(a);return c.call(d,b)}
function ne(a,b){if(a.cb)return!0;var c=a.type,d=he;if(!(c in d))return!0;var d=d[c],e,f;if(!Ud){if(!(c=b))a:{for(var c=["window","event"],g=ea;e=c.shift();)if(null!=g[e])g=g[e];else{c=null;break a}c=g}e=c;c=!0 in d;g=!1 in d;if(c){if(0>e.keyCode||void 0!=e.returnValue)return!0;a:{var h=!1;if(0==e.keyCode)try{e.keyCode=-1;break a}catch(m){h=!0}if(h||void 0==e.returnValue)e.returnValue=!0}}h=new Yd;Zd(h,e,this);e=!0;try{if(c){for(var n=[],p=h.d;p;p=p.parentNode)n.push(p);f=d[!0];for(var q=n.length-
1;!h.nb&&0<=q;q--)h.d=n[q],e&=ve(f,n[q],h);if(g)for(f=d[!1],q=0;!h.nb&&q<n.length;q++)h.d=n[q],e&=ve(f,n[q],h)}else e=we(a,h)}finally{n&&(n.length=0)}return e}d=new Yd(b,this);return e=we(a,d)}var xe="__closure_events_fn_"+(1E9*Math.random()>>>0);function ke(a){return pa(a)?a:a[xe]||(a[xe]=function(b){return a.handleEvent(b)})};function ye(a){return function(){return a}}var ze=ye(!1),Ae=ye(!0);function Be(a){return a}function Ce(a){return function(){throw a;}}function De(a){var b;b=b||0;return function(){return a.apply(this,Array.prototype.slice.call(arguments,0,b))}}function Ee(a){var b=arguments,c=b.length;return function(){for(var a=0;a<c;a++)if(!b[a].apply(this,arguments))return!1;return!0}};function Fe(a){this.src=a;this.a={};this.d=0}Fe.prototype.add=function(a,b,c,d,e){var f=this.a[a];f||(f=this.a[a]=[],this.d++);var g=Ge(f,b,d,e);-1<g?(a=f[g],c||(a.Fb=!1)):(a=new ee(b,null,this.src,a,!!d,e),a.Fb=c,f.push(a));return a};Fe.prototype.remove=function(a,b,c,d){if(!(a in this.a))return!1;var e=this.a[a];b=Ge(e,b,c,d);return-1<b?(fe(e[b]),ub.splice.call(e,b,1),0==e.length&&(delete this.a[a],this.d--),!0):!1};
function se(a,b){var c=b.type;if(!(c in a.a))return!1;var d=Bb(a.a[c],b);d&&(fe(b),0==a.a[c].length&&(delete a.a[c],a.d--));return d}function ue(a,b){var c=s(b),d=s(void 0);return dc(a.a,function(a){for(var f=0;f<a.length;++f)if(!(c&&a[f].type!=b||d&&void 0!=a[f].capture))return!0;return!1})}function Ge(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.cb&&f.Qa==b&&f.capture==!!c&&f.wb==d)return e}return-1};function He(){Ld.call(this);this.ka=new Fe(this);this.cf=this}v(He,Ld);He.prototype[be]=!0;l=He.prototype;l.Bd=null;l.addEventListener=function(a,b,c,d){z(this,a,b,c,d)};l.removeEventListener=function(a,b,c,d){pe(this,a,b,c,d)};
function Ie(a,b){var c,d=a.Bd;if(d)for(c=[];d;d=d.Bd)c.push(d);var d=a.cf,e=b,f=e.type||e;if(la(e))e=new Qd(e,d);else if(e instanceof Qd)e.target=e.target||d;else{var g=e,e=new Qd(f,d);nc(e,g)}var g=!0,h;if(c)for(var m=c.length-1;!e.nb&&0<=m;m--)h=e.d=c[m],g=Je(h,f,!0,e)&&g;e.nb||(h=e.d=d,g=Je(h,f,!0,e)&&g,e.nb||(g=Je(h,f,!1,e)&&g));if(c)for(m=0;!e.nb&&m<c.length;m++)h=e.d=c[m],g=Je(h,f,!1,e)&&g;return g}
l.G=function(){He.J.G.call(this);if(this.ka){var a=this.ka,b=0,c;for(c in a.a){for(var d=a.a[c],e=0;e<d.length;e++)++b,d[e].cb=!0;delete a.a[c];a.d--}}this.Bd=null};l.ra=function(a,b,c,d){return this.ka.add(a,b,!1,c,d)};l.Kd=function(a,b,c,d){return this.ka.remove(a,b,c,d)};function Je(a,b,c,d){b=a.ka.a[b];if(!b)return!0;b=Db(b);for(var e=!0,f=0;f<b.length;++f){var g=b[f];if(g&&!g.cb&&g.capture==c){var h=g.Qa,m=g.wb||g.src;g.Fb&&se(a.ka,g);e=!1!==h.call(m,d)&&e}}return e&&!1!=d.Re};function Le(){He.call(this);this.d=0}v(Le,He);l=Le.prototype;l.k=function(){++this.d;Ie(this,"change")};l.t=function(a,b,c){return z(this,a,b,!1,c)};l.u=function(a,b,c){return oe(this,a,b,!1,c)};l.v=function(a,b,c){pe(this,a,b,!1,c)};l.w=function(a){re(a)};function Me(a,b){Qd.call(this,a);this.key=b}v(Me,Qd);function Ne(a,b){this.target=a;this.key=b;this.d=this.a=Be}Ne.prototype.transform=function(a,b){this.a=a;this.d=b;this.target.U(this.key)};function Oe(a){Le.call(this);sa(this);this.q={};this.ha={};this.Db={};this.Eb={};s(a)&&this.L(a)}v(Oe,Le);var Pe={},Qe={},Re={};function Se(a){return Pe.hasOwnProperty(a)?Pe[a]:Pe[a]="change:"+a.toLowerCase()}l=Oe.prototype;
l.X=function(a,b,c){c=c||a;this.V(a);var d=Se(c);this.Eb[a]=z(b,d,function(){Te(this,a)},void 0,this);this.Db[a]=z(b,"beforepropertychange",Ue(a,c),void 0,this);b=new Ne(b,c);this.ha[a]=b;Te(this,a);return b};function Ue(a,b){return function(c){c.key===b&&Ie(this,new Me("beforepropertychange",a))}}
l.get=function(a){var b,c=this.ha;if(c.hasOwnProperty(a)){a=c[a];b=a.target;var c=a.key,d=Qe.hasOwnProperty(c)?Qe[c]:Qe[c]="get"+(c.substr(0,1).toUpperCase()+c.substr(1)),d=w(b,d);b=s(d)?d.call(b):b.get(c);b=a.d(b)}else this.q.hasOwnProperty(a)&&(b=this.q[a]);return b};l.P=function(){var a=this.ha,b;if(hc(this.q)){if(hc(a))return[];b=a}else if(hc(a))b=this.q;else{b={};for(var c in this.q)b[c]=!0;for(c in a)b[c]=!0}return gc(b)};
l.S=function(){var a={},b;for(b in this.q)a[b]=this.q[b];for(b in this.ha)a[b]=this.get(b);return a};l.U=function(a){var b=this.ha;b.hasOwnProperty(a)?(a=b[a],a.target.U(a.key)):Te(this,a)};function Te(a,b){var c=Se(b);Ie(a,c);Ie(a,new Me("propertychange",b))}
l.s=function(a,b){Ie(this,new Me("beforepropertychange",a));var c=this.ha;if(c.hasOwnProperty(a)){var d=c[a],c=d.target,e=d.key;b=d.a(b);d=Re.hasOwnProperty(e)?Re[e]:Re[e]="set"+(e.substr(0,1).toUpperCase()+e.substr(1));d=w(c,d);s(d)?d.call(c,b):c.s(e,b)}else this.q[a]=b,Te(this,a)};l.L=function(a){for(var b in a)this.s(b,a[b])};l.V=function(a){var b=this.Eb,c=b[a];c&&(delete b[a],re(c),b=this.get(a),delete this.ha[a],this.q[a]=b);if(b=this.Db[a])re(b),delete this.Db[a]};l.Z=function(){for(var a in this.Eb)this.V(a)};function Ve(a,b,c){Qd.call(this,a,c);this.element=b}v(Ve,Qd);function A(a){Oe.call(this);this.a=a||[];We(this)}v(A,Oe);l=A.prototype;l.clear=function(){for(;0<this.xb();)this.pop()};l.Eg=function(a){var b,c;b=0;for(c=a.length;b<c;++b)this.push(a[b]);return this};l.forEach=function(a,b){wb(this.a,a,b)};l.Fg=k("a");l.ce=function(a){return this.a[a]};l.xb=function(){return this.get("length")};l.Mc=function(a,b){Fb(this.a,a,0,b);We(this);Ie(this,new Ve("add",b,this))};
l.pop=function(){return this.Wc(this.xb()-1)};l.push=function(a){var b=this.a.length;this.Mc(b,a);return b};l.remove=function(a){var b=this.a,c,d;c=0;for(d=b.length;c<d;++c)if(b[c]===a)return this.Wc(c)};l.Wc=function(a){var b=this.a[a];ub.splice.call(this.a,a,1);We(this);Ie(this,new Ve("remove",b,this));return b};l.ai=function(a,b){var c=this.xb();if(a<c)c=this.a[a],this.a[a]=b,Ie(this,new Ve("remove",c,this)),Ie(this,new Ve("add",b,this));else{for(;c<a;++c)this.Mc(c,void 0);this.Mc(a,b)}};
function We(a){a.s("length",a.a.length)};function Xe(a,b){a[0]+=b[0];a[1]+=b[1];return a}function Ye(a,b){var c=a[0],d=a[1],e=b[0],f=b[1],g=e[0],e=e[1],h=f[0],f=f[1],m=h-g,n=f-e,c=0===m&&0===n?0:(m*(c-g)+n*(d-e))/(m*m+n*n||0);0>=c||(1<=c?(g=h,e=f):(g+=c*m,e+=c*n));return[g,e]}function Ze(a,b){var c=Yb(a+180,360)-180,d=Math.abs(Math.round(3600*c));return Math.floor(d/3600)+"\u00b0 "+Math.floor(d/60%60)+"\u2032 "+Math.floor(d%60)+"\u2033 "+b.charAt(0>c?1:0)}
function $e(a,b,c){return s(a)?b.replace("{x}",a[0].toFixed(c)).replace("{y}",a[1].toFixed(c)):""}function af(a,b){for(var c=!0,d=a.length-1;0<=d;--d)if(a[d]!=b[d]){c=!1;break}return c}function bf(a,b){var c=Math.cos(b),d=Math.sin(b),e=a[1]*c+a[0]*d;a[0]=a[0]*c-a[1]*d;a[1]=e;return a}function cf(a,b){var c=a[0]-b[0],d=a[1]-b[1];return c*c+d*d}function df(a,b){return $e(a,"{x}, {y}",b)};function ef(a){Oe.call(this);a=s(a)?a:{};this.a=null;z(this,Se("tracking"),this.h,!1,this);this.b(s(a.tracking)?a.tracking:!1)}v(ef,Oe);ef.prototype.G=function(){this.b(!1);ef.J.G.call(this)};
ef.prototype.l=function(a){a=a.O;if(null!=a.alpha){var b=Zb(a.alpha);this.s("alpha",b);"boolean"==typeof a.absolute&&a.absolute?this.s("heading",b):null!=a.webkitCompassHeading&&(null!=a.webkitCompassAccuracy&&-1!=a.webkitCompassAccuracy)&&this.s("heading",Zb(a.webkitCompassHeading))}null!=a.beta&&this.s("beta",Zb(a.beta));null!=a.gamma&&this.s("gamma",Zb(a.gamma));this.k()};ef.prototype.e=function(){return this.get("alpha")};ef.prototype.getAlpha=ef.prototype.e;ef.prototype.f=function(){return this.get("beta")};
ef.prototype.getBeta=ef.prototype.f;ef.prototype.g=function(){return this.get("gamma")};ef.prototype.getGamma=ef.prototype.g;ef.prototype.i=function(){return this.get("heading")};ef.prototype.getHeading=ef.prototype.i;ef.prototype.c=function(){return this.get("tracking")};ef.prototype.getTracking=ef.prototype.c;ef.prototype.h=function(){if(Ed){var a=this.c();a&&null===this.a?this.a=z(ea,"deviceorientation",this.l,!1,this):a||null===this.a||(re(this.a),this.a=null)}};
ef.prototype.b=function(a){this.s("tracking",a)};ef.prototype.setTracking=ef.prototype.b;function ff(a,b,c){Qd.call(this,a);this.map=b;this.b=s(c)?c:null}v(ff,Qd);function gf(a,b,c){Qd.call(this,a);this.a=b;a=s(c)?c:{};this.buttons=hf(a);this.Cd=jf(a,this.buttons);this.bubbles=w(a,"bubbles",!1);this.cancelable=w(a,"cancelable",!1);this.view=w(a,"view",null);this.detail=w(a,"detail",null);this.screenX=w(a,"screenX",0);this.screenY=w(a,"screenY",0);this.clientX=w(a,"clientX",0);this.clientY=w(a,"clientY",0);this.c=w(a,"ctrlKey",!1);this.b=w(a,"altKey",!1);this.g=w(a,"shiftKey",!1);this.f=w(a,"metaKey",!1);this.button=w(a,"button",0);this.relatedTarget=w(a,"relatedTarget",
null);this.pointerId=w(a,"pointerId",0);this.width=w(a,"width",0);this.height=w(a,"height",0);this.i=w(a,"tiltX",0);this.h=w(a,"tiltY",0);this.pointerType=w(a,"pointerType","");this.e=w(a,"hwTimestamp",0);this.Nc=w(a,"isPrimary",!1);b.preventDefault&&(this.preventDefault=function(){b.preventDefault()})}v(gf,Qd);function hf(a){if(a.buttons||kf)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 jf(a,b){var c=0;return c=a.Cd?a.Cd:b?0.5:0}var kf=!1;try{kf=1===(new MouseEvent("click",{buttons:1})).buttons}catch(lf){};function mf(a,b){this.a=a;this.e=b};function nf(a){mf.call(this,a,{mousedown:this.qg,mousemove:this.rg,mouseup:this.ug,mouseover:this.tg,mouseout:this.sg});this.d=a.d;this.b=[]}v(nf,mf);function of(a,b){for(var c=a.b,d=b.clientX,e=b.clientY,f=0,g=c.length,h;f<g&&(h=c[f]);f++){var m=Math.abs(e-h[1]);if(25>=Math.abs(d-h[0])&&25>=m)return!0}return!1}function pf(a){var b=qf(a,a.O),c=b.preventDefault;b.preventDefault=function(){a.preventDefault();c()};b.pointerId=1;b.Nc=!0;b.pointerType="mouse";return b}l=nf.prototype;
l.qg=function(a){if(!of(this,a)){(1).toString()in this.d&&this.cancel(a);var b=pf(a);this.d[(1).toString()]=a;rf(this.a,sf,b,a)}};l.rg=function(a){if(!of(this,a)){var b=pf(a);rf(this.a,tf,b,a)}};l.ug=function(a){if(!of(this,a)){var b=w(this.d,(1).toString());b&&b.button===a.button&&(b=pf(a),rf(this.a,uf,b,a),jc(this.d,(1).toString()))}};l.tg=function(a){if(!of(this,a)){var b=pf(a);vf(this.a,b,a)}};l.sg=function(a){if(!of(this,a)){var b=pf(a);wf(this.a,b,a)}};
l.cancel=function(a){var b=pf(a);this.a.cancel(b,a);jc(this.d,(1).toString())};function xf(a){mf.call(this,a,{MSPointerDown:this.zg,MSPointerMove:this.Ag,MSPointerUp:this.Dg,MSPointerOut:this.Bg,MSPointerOver:this.Cg,MSPointerCancel:this.yg,MSGotPointerCapture:this.wg,MSLostPointerCapture:this.xg});this.d=a.d;this.b=["","unavailable","touch","pen","mouse"]}v(xf,mf);function yf(a,b){var c=b;ma(b.O.pointerType)&&(c=qf(b,b.O),c.pointerType=a.b[b.O.pointerType]);return c}l=xf.prototype;l.zg=function(a){this.d[a.O.pointerId]=a;var b=yf(this,a);rf(this.a,sf,b,a)};
l.Ag=function(a){var b=yf(this,a);rf(this.a,tf,b,a)};l.Dg=function(a){var b=yf(this,a);rf(this.a,uf,b,a);jc(this.d,a.O.pointerId)};l.Bg=function(a){var b=yf(this,a);wf(this.a,b,a)};l.Cg=function(a){var b=yf(this,a);vf(this.a,b,a)};l.yg=function(a){var b=yf(this,a);this.a.cancel(b,a);jc(this.d,a.O.pointerId)};l.xg=function(a){Ie(this.a,new gf("lostpointercapture",a,a.O))};l.wg=function(a){Ie(this.a,new gf("gotpointercapture",a,a.O))};function zf(a){mf.call(this,a,{pointerdown:this.Ih,pointermove:this.Jh,pointerup:this.Mh,pointerout:this.Kh,pointerover:this.Lh,pointercancel:this.Hh,gotpointercapture:this.Lf,lostpointercapture:this.og})}v(zf,mf);l=zf.prototype;l.Ih=function(a){Af(this.a,a)};l.Jh=function(a){Af(this.a,a)};l.Mh=function(a){Af(this.a,a)};l.Kh=function(a){Af(this.a,a)};l.Lh=function(a){Af(this.a,a)};l.Hh=function(a){Af(this.a,a)};l.og=function(a){Af(this.a,a)};l.Lf=function(a){Af(this.a,a)};function Bf(a,b){mf.call(this,a,{touchstart:this.gi,touchmove:this.fi,touchend:this.ei,touchcancel:this.di});this.d=a.d;this.g=b;this.b=void 0;this.f=0;this.c=void 0}v(Bf,mf);l=Bf.prototype;l.Qe=function(){this.f=0;this.c=void 0};
l.ci=function(a,b){var c=qf(a,b);c.pointerId=b.identifier+2;c.bubbles=!0;c.cancelable=!0;c.detail=this.f;c.button=0;c.buttons=1;c.width=b.webkitRadiusX||b.radiusX||0;c.height=b.webkitRadiusY||b.radiusY||0;c.Cd=b.webkitForce||b.force||0.5;c.Nc=this.b===b.identifier;c.pointerType="touch";c.clientX=b.clientX;c.clientY=b.clientY;c.screenX=b.screenX;c.screenY=b.screenY;return c};
function Cf(a,b,c){var d=Db(b.O.changedTouches),d=xb(d,ya(a.ci,b),a);wb(d,function(a){a.preventDefault=function(){b.preventDefault()}},a);wb(d,ya(c,b),a)}function Df(a,b){var c=b.O.touches;if(ec(a.d)>=c.length){var d=[];bc(a.d,function(a,b){var g;if(!(g=1==b))a:{g=c.length;for(var h,m=0;m<g;m++)if(h=c[m],h.identifier===b-2){g=!0;break a}g=!1}g||d.push(a.yb)},a);wb(d,ya(a.hd,b),a)}}
l.gi=function(a){Df(this,a);var b=ec(this.d),c;if(!(c=0===b)){if(b=1===b)b=(1).toString()in this.d;c=b}c&&(this.b=a.O.changedTouches[0].identifier,s(this.c)&&ea.clearTimeout(this.c));Ef(this,a);this.f++;Cf(this,a,this.Gh)};l.Gh=function(a,b){this.d[b.pointerId]={target:b.target,yb:b,Me:b.target};var c=this.a;b.bubbles=!0;rf(c,Ff,b,a);c=this.a;b.bubbles=!1;rf(c,Gf,b,a);rf(this.a,sf,b,a)};l.fi=function(a){a.preventDefault();Cf(this,a,this.vg)};
l.vg=function(a,b){var c=w(this.d,b.pointerId);if(c){var d=c.yb,e=c.Me;rf(this.a,tf,b,a);d&&e!==b.target&&(d.relatedTarget=b.target,b.relatedTarget=e,d.target=e,b.target?(wf(this.a,d,a),vf(this.a,b,a)):(b.target=e,b.relatedTarget=null,this.hd(a,b)));c.yb=b;c.Me=b.target}};l.ei=function(a){Ef(this,a);Cf(this,a,this.hi)};l.hi=function(a,b){rf(this.a,uf,b,a);this.a.yb(b,a);var c=this.a;b.bubbles=!1;rf(c,Hf,b,a);jc(this.d,b.pointerId);b.Nc&&(this.b=void 0,this.c=ea.setTimeout(this.Qe,200))};
l.di=function(a){Cf(this,a,this.hd)};l.hd=function(a,b){this.a.cancel(b,a);this.a.yb(b,a);var c=this.a;b.bubbles=!1;rf(c,Hf,b,a);jc(this.d,b.pointerId);b.Nc&&(this.b=void 0,this.c=ea.setTimeout(this.Qe,200))};function Ef(a,b){var c=a.g.b,d=b.O.changedTouches[0];if(a.b===d.identifier){var e=[d.clientX,d.clientY];c.push(e);ea.setTimeout(function(){Bb(c,e)},2500)}};function If(a){He.call(this);this.c=a;this.d={};this.b={};this.a=[];Id?Jf(this,new zf(this)):Jd?Jf(this,new xf(this)):(a=new nf(this),Jf(this,a),Hd&&Jf(this,new Bf(this,a)));a=this.a.length;for(var b,c=0;c<a;c++)b=this.a[c],Kf(this,gc(b.e))}v(If,He);function Jf(a,b){var c=gc(b.e);c&&(wb(c,function(a){var c=b.e[a];c&&(this.b[a]=xa(c,b))},a),a.a.push(b))}If.prototype.e=function(a){var b=this.b[a.type];b&&b(a)};function Kf(a,b){wb(b,function(a){z(this.c,a,this.e,!1,this)},a)}
function Lf(a,b){wb(b,function(a){pe(this.c,a,this.e,!1,this)},a)}function qf(a,b){for(var c={},d,e=0,f=Mf.length;e<f;e++)d=Mf[e][0],c[d]=a[d]||b[d]||Mf[e][1];return c}If.prototype.yb=function(a,b){a.bubbles=!0;rf(this,Nf,a,b)};If.prototype.cancel=function(a,b){rf(this,Of,a,b)};function wf(a,b,c){a.yb(b,c);b.target.contains(b.relatedTarget)||(b.bubbles=!1,rf(a,Hf,b,c))}function vf(a,b,c){b.bubbles=!0;rf(a,Ff,b,c);b.target.contains(b.relatedTarget)||(b.bubbles=!1,rf(a,Gf,b,c))}
function rf(a,b,c,d){Ie(a,new gf(b,d,c))}function Af(a,b){Ie(a,new gf(b.type,b,b.O))}If.prototype.G=function(){for(var a=this.a.length,b,c=0;c<a;c++)b=this.a[c],Lf(this,gc(b.e));If.J.G.call(this)};
var tf="pointermove",sf="pointerdown",uf="pointerup",Ff="pointerover",Nf="pointerout",Gf="pointerenter",Hf="pointerleave",Of="pointercancel",Mf=[["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 Pf(a,b,c,d){ff.call(this,a,b,d);this.a=c;this.originalEvent=c.O;this.coordinate=b.de(this.originalEvent);this.pixel=b.md(this.originalEvent)}v(Pf,ff);Pf.prototype.preventDefault=function(){Pf.J.preventDefault.call(this);this.a.preventDefault()};Pf.prototype.Pa=function(){Pf.J.Pa.call(this);this.a.Pa()};function Qf(a,b,c,d){Pf.call(this,a,b,c.a,d);this.c=c}v(Qf,Pf);
function Rf(a){He.call(this);this.d=a;this.e=0;this.i=!1;this.f=this.g=this.b=null;a=this.d.b;this.q=0;this.l={};this.c=new If(a);this.a=null;this.g=z(this.c,sf,this.ag,!1,this);this.h=z(this.c,tf,this.Rh,!1,this)}v(Rf,He);function Sf(a,b){var c;c=new Qf(Tf,a.d,b);Ie(a,c);0!==a.e?(ea.clearTimeout(a.e),a.e=0,c=new Qf(Uf,a.d,b),Ie(a,c)):a.e=ea.setTimeout(xa(function(){this.e=0;var a=new Qf(Vf,this.d,b);Ie(this,a)},a),250)}
function Wf(a,b){b.type==Xf||b.type==Yf?delete a.l[b.pointerId]:b.type==Zf&&(a.l[b.pointerId]=!0);a.q=ec(a.l)}l=Rf.prototype;l.ne=function(a){Wf(this,a);var b=new Qf(Xf,this.d,a);Ie(this,b);0===this.q&&(wb(this.b,re),this.b=null,Pd(this.a),this.a=null);!this.i&&0===a.button&&Sf(this,this.f)};
l.ag=function(a){Wf(this,a);var b=new Qf(Zf,this.d,a);Ie(this,b);this.f=a;this.i=!1;null===this.b&&(this.a=new If(document),this.b=[z(this.a,$f,this.Pg,!1,this),z(this.a,Xf,this.ne,!1,this),z(this.c,Yf,this.ne,!1,this)]);a.preventDefault()};l.Pg=function(a){if(a.clientX!=this.f.clientX||a.clientY!=this.f.clientY){this.i=!0;var b=new Qf(ag,this.d,a);Ie(this,b)}a.preventDefault()};l.Rh=function(a){Ie(this,new Qf(a.type,this.d,a))};
l.G=function(){null!==this.h&&(re(this.h),this.h=null);null!==this.g&&(re(this.g),this.g=null);null!==this.b&&(wb(this.b,re),this.b=null);null!==this.a&&(Pd(this.a),this.a=null);null!==this.c&&(Pd(this.c),this.c=null);Rf.J.G.call(this)};var Vf="singleclick",Tf="click",Uf="dblclick",ag="pointerdrag",$f="pointermove",Zf="pointerdown",Xf="pointerup",Yf="pointercancel",bg={Di:Vf,si:Tf,ti:Uf,wi:ag,zi:$f,vi:Zf,Ci:Xf,Bi:"pointerover",Ai:"pointerout",xi:"pointerenter",yi:"pointerleave",ui:Yf};function cg(a){a=a.a;return a.qa&&!a.Pb&&a.Za}function dg(a){return a.type==Vf}function eg(a){a=a.a;return!a.qa&&!a.Pb&&!a.Za}function fg(a){a=a.a;return!a.qa&&!a.Pb&&a.Za}function gg(a){a=a.a.target.tagName;return"INPUT"!==a&&"SELECT"!==a&&"TEXTAREA"!==a}function hg(a){return 1==a.c.pointerId};function ig(a){return function(b){if(s(b))return[Xb(b[0],a[0],a[2]),Xb(b[1],a[1],a[3])]}}function jg(a){return a};function kg(a,b){var c,d;c=0;for(d=b.length;c<d;++c)a.push(b[c])}function lg(a,b,c){var d=a.length;if(a[0]<=b)return 0;if(!(b<=a[d-1]))if(0<c)for(c=1;c<d;++c){if(a[c]<b)return c-1}else if(0>c)for(c=1;c<d;++c){if(a[c]<=b)return c}else for(c=1;c<d;++c){if(a[c]==b)return c;if(a[c]<b)return a[c-1]-b<b-a[c]?c-1:c}return d-1};function mg(a){return function(b,c,d){if(s(b))return b=lg(a,b,d),b=Xb(b+c,0,a.length-1),a[b]}}function ng(a,b,c){return function(d,e,f){if(s(d))return f=0<f?0:0>f?1:0.5,d=Math.floor(Math.log(b/d)/Math.log(a)+f),e=Math.max(d+e,0),s(c)&&(e=Math.min(e,c)),b/Math.pow(a,e)}};function og(a){if(s(a))return 0}function pg(a,b){if(s(a))return a+b}function qg(a){var b=2*Math.PI/a;return function(a,d){if(s(a))return a=Math.floor((a+d)/b+0.5)*b}}function rg(){var a=Zb(5);return function(b,c){if(s(b))return Math.abs(b+c)<=a?0:b+c}};function sg(a,b,c){this.center=a;this.resolution=b;this.rotation=c};function tg(){Oe.call(this);this.h=[0,0]}v(tg,Oe);tg.prototype.W=ca(null);tg.prototype.wd=ca(!1);function ug(a,b){a.h[1]+=b};function vg(a){for(var b=wg(),c=0,d=a.length;c<d;++c){var e=b,f=a[c];f[0]<e[0]&&(e[0]=f[0]);f[0]>e[2]&&(e[2]=f[0]);f[1]<e[1]&&(e[1]=f[1]);f[1]>e[3]&&(e[3]=f[1])}return b}function xg(a,b,c){var d=Math.min.apply(null,a),e=Math.min.apply(null,b);a=Math.max.apply(null,a);b=Math.max.apply(null,b);return yg(d,e,a,b,c)}function zg(a,b,c){return s(c)?(c[0]=a[0]-b,c[1]=a[1]-b,c[2]=a[2]+b,c[3]=a[3]+b,c):[a[0]-b,a[1]-b,a[2]+b,a[3]+b]}
function Ag(a,b){return s(b)?(b[0]=a[0],b[1]=a[1],b[2]=a[2],b[3]=a[3],b):a.slice()}function Bg(a,b,c){b=b<a[0]?a[0]-b:a[2]<b?b-a[2]:0;a=c<a[1]?a[1]-c:a[3]<c?c-a[3]:0;return b*b+a*a}function Cg(a,b){return a[0]<=b[0]&&b[2]<=a[2]&&a[1]<=b[1]&&b[3]<=a[3]}function wg(){return[Infinity,Infinity,-Infinity,-Infinity]}function yg(a,b,c,d,e){return s(e)?(e[0]=a,e[1]=b,e[2]=c,e[3]=d,e):[a,b,c,d]}function Dg(a){return yg(Infinity,Infinity,-Infinity,-Infinity,a)}
function Eg(a,b){return a[0]==b[0]&&a[2]==b[2]&&a[1]==b[1]&&a[3]==b[3]}function Fg(a,b){b[0]<a[0]&&(a[0]=b[0]);b[2]>a[2]&&(a[2]=b[2]);b[1]<a[1]&&(a[1]=b[1]);b[3]>a[3]&&(a[3]=b[3]);return a}function Gg(a,b,c,d,e){for(;c<d;c+=e){var f=a,g=b[c],h=b[c+1];f[0]=Math.min(f[0],g);f[1]=Math.min(f[1],h);f[2]=Math.max(f[2],g);f[3]=Math.max(f[3],h)}return a}function Ig(a){return[a[0],a[1]]}function Jg(a){return[(a[0]+a[2])/2,(a[1]+a[3])/2]}
function Kg(a,b,c,d){var e=b*d[0]/2;d=b*d[1]/2;b=Math.cos(c);c=Math.sin(c);e=[-e,-e,e,e];d=[-d,d,-d,d];var f,g,h;for(f=0;4>f;++f)g=e[f],h=d[f],e[f]=a[0]+g*b-h*c,d[f]=a[1]+g*c+h*b;return xg(e,d,void 0)}function Lg(a){return a[3]-a[1]}function Mg(a){return[a[0],a[3]]}function Ng(a){return a[2]-a[0]}function Og(a,b){return a[0]<=b[2]&&a[2]>=b[0]&&a[1]<=b[3]&&a[3]>=b[1]}function Pg(a){return a[2]<a[0]||a[3]<a[1]}function Qg(a,b){return s(b)?(b[0]=a[0],b[1]=a[1],b[2]=a[2],b[3]=a[3],b):a}
function Rg(a,b){var c=(a[2]-a[0])/2*(b-1),d=(a[3]-a[1])/2*(b-1);a[0]-=c;a[2]+=c;a[1]-=d;a[3]+=d}function Sg(a,b){return Og(a,b)&&(a[0]==b[2]||a[2]==b[0]||a[1]==b[3]||a[3]==b[1])}function Tg(a,b,c){a=[a[0],a[1],a[0],a[3],a[2],a[1],a[2],a[3]];b(a,a,2);return xg([a[0],a[2],a[4],a[6]],[a[1],a[3],a[5],a[7]],c)};function Ug(){Le.call(this);this.extent=void 0;this.f=-1;this.g={};this.l=this.i=0}v(Ug,Le);Ug.prototype.e=function(a,b){var c=s(b)?b:[NaN,NaN];this.wa(a[0],a[1],c,Infinity);return c};Ug.prototype.rb=ze;function Vg(a,b,c,d){var e=c[0],f=c[1],g=c[4],h=c[5],m=c[12];c=c[13];var n=s(d)?d:[],p=0,q,r;q=0;for(r=a.length;q<r;q+=b){var u=a[q],x=a[q+1];n[p++]=e*u+g*x+m;n[p++]=f*u+h*x+c}s(d)&&n.length!=p&&(n.length=p);return n};function Wg(){Ug.call(this);this.b="XY";this.a=2;this.j=null}v(Wg,Ug);function Xg(a){if("XY"==a)return 2;if("XYZ"==a||"XYM"==a)return 3;if("XYZM"==a)return 4;throw Error("unsupported layout: "+a);}l=Wg.prototype;l.rb=ze;l.o=function(a){if(this.f!=this.d){var b=this.j,c=this.j.length,d=this.a,e=Dg(this.extent);this.extent=Gg(e,b,0,c,d);this.f=this.d}return Qg(this.extent,a)};l.da=function(){return this.j.slice(0,this.a)};l.ea=function(){return this.j.slice(this.j.length-this.a)};l.fa=k("b");
l.Y=function(a){this.l!=this.d&&(ic(this.g),this.i=0,this.l=this.d);if(0>a||0!==this.i&&a<=this.i)return this;var b=a.toString();if(this.g.hasOwnProperty(b))return this.g[b];var c=this.Hb(a);if(c.j.length<this.j.length)return this.g[b]=c;this.i=a;return this};l.Hb=function(){return this};function Yg(a,b,c){a.a=Xg(b);a.b=b;a.j=c}
function Zg(a,b,c,d){if(s(b))c=Xg(b);else{for(b=0;b<d;++b){if(0===c.length){a.b="XY";a.a=2;return}c=c[0]}c=c.length;if(2==c)b="XY";else if(3==c)b="XYZ";else if(4==c)b="XYZM";else throw Error("unsupported stride: "+c);}a.b=b;a.a=c}l.transform=function(a){null!==this.j&&(a(this.j,this.j,this.a),this.k())};function $g(a,b,c){var d=a.j;return null===d?null:Vg(d,a.a,b,c)};function ah(a,b,c,d){for(var e=0,f=a[c-d],g=a[c-d+1];b<c;b+=d)var h=a[b],m=a[b+1],e=e+(g*h-f*m),f=h,g=m;return e/2}function bh(a,b,c,d){var e=0,f,g;f=0;for(g=c.length;f<g;++f){var h=c[f],e=e+ah(a,b,h,d);b=h}return e};function ch(a,b,c,d){a=c-a;b=d-b;return a*a+b*b};function dh(a,b,c,d,e,f,g){var h=a[b],m=a[b+1],n=a[c]-h,p=a[c+1]-m;if(0!==n||0!==p)if(f=((e-h)*n+(f-m)*p)/(n*n+p*p),1<f)b=c;else if(0<f){for(e=0;e<d;++e)g[e]=a[b+e]+f*(a[c+e]-a[b+e]);g.length=d;return}for(e=0;e<d;++e)g[e]=a[b+e];g.length=d}function eh(a,b,c,d,e){var f=a[b],g=a[b+1];for(b+=d;b<c;b+=d){var h=a[b],m=a[b+1],f=ch(f,g,h,m);f>e&&(e=f);f=h;g=m}return e}function fh(a,b,c,d,e){var f,g;f=0;for(g=c.length;f<g;++f){var h=c[f];e=eh(a,b,h,d,e);b=h}return e}
function gh(a,b,c,d,e,f,g,h,m,n,p){if(b==c)return n;var q;if(0===e){q=ch(g,h,a[b],a[b+1]);if(q<n){for(p=0;p<d;++p)m[p]=a[b+p];m.length=d;return q}return n}for(var r=s(p)?p:[NaN,NaN],u=b+d;u<c;)if(dh(a,u-d,u,d,g,h,r),q=ch(g,h,r[0],r[1]),q<n){n=q;for(p=0;p<d;++p)m[p]=r[p];m.length=d;u+=d}else u+=d*Math.max((Math.sqrt(q)-Math.sqrt(n))/e|0,1);if(f&&(dh(a,c-d,b,d,g,h,r),q=ch(g,h,r[0],r[1]),q<n)){n=q;for(p=0;p<d;++p)m[p]=r[p];m.length=d}return n}
function hh(a,b,c,d,e,f,g,h,m,n,p){p=s(p)?p:[NaN,NaN];var q,r;q=0;for(r=c.length;q<r;++q){var u=c[q];n=gh(a,b,u,d,e,f,g,h,m,n,p);b=u}return n};function ih(a,b){var c=0,d,e;d=0;for(e=b.length;d<e;++d)a[c++]=b[d];return c}function jh(a,b,c,d){var e,f;e=0;for(f=c.length;e<f;++e){var g=c[e],h;for(h=0;h<d;++h)a[b++]=g[h]}return b}function kh(a,b,c,d,e){e=s(e)?e:[];var f=0,g,h;g=0;for(h=c.length;g<h;++g)b=jh(a,b,c[g],d),e[f++]=b;e.length=f;return e};function lh(a,b,c,d,e){e=s(e)?e:[];for(var f=0;b<c;b+=d)e[f++]=a.slice(b,b+d);e.length=f;return e}function mh(a,b,c,d,e){e=s(e)?e:[];var f=0,g,h;g=0;for(h=c.length;g<h;++g){var m=c[g];e[f++]=lh(a,b,m,d,e[f]);b=m}e.length=f;return e};function nh(a,b,c,d,e,f,g){var h=(c-b)/d;if(3>h){for(;b<c;b+=d)f[g++]=a[b],f[g++]=a[b+1];return g}var m=Array(h);m[0]=1;m[h-1]=1;c=[b,c-d];for(var n=0,p;0<c.length;){var q=c.pop(),r=c.pop(),u=0,x=a[r],B=a[r+1],y=a[q],E=a[q+1];for(p=r+d;p<q;p+=d){var C;C=a[p];var O=a[p+1],W=x,na=B,X=y-W,qa=E-na;if(0!==X||0!==qa){var za=((C-W)*X+(O-na)*qa)/(X*X+qa*qa);1<za?(W=y,na=E):0<za&&(W+=X*za,na+=qa*za)}C=ch(C,O,W,na);C>u&&(n=p,u=C)}u>e&&(m[(n-b)/d]=1,r+d<n&&c.push(r,n),n+d<q&&c.push(n,q))}for(p=0;p<h;++p)m[p]&&
(f[g++]=a[b+p*d],f[g++]=a[b+p*d+1]);return g}
function oh(a,b,c,d,e,f,g,h){var m,n;m=0;for(n=c.length;m<n;++m){var p=c[m];a:{var q=a,r=p,u=d,x=e,B=f;if(b!=r){var y=x*Math.round(q[b]/x),E=x*Math.round(q[b+1]/x);b+=u;B[g++]=y;B[g++]=E;var C=void 0,O=void 0;do if(C=x*Math.round(q[b]/x),O=x*Math.round(q[b+1]/x),b+=u,b==r){B[g++]=C;B[g++]=O;break a}while(C==y&&O==E);for(;b<r;){var W,na;W=x*Math.round(q[b]/x);na=x*Math.round(q[b+1]/x);b+=u;if(W!=C||na!=O){var X=C-y,qa=O-E,za=W-y,ab=na-E;X*ab==qa*za&&(0>X&&za<X||X==za||0<X&&za>X)&&(0>qa&&ab<qa||qa==
ab||0<qa&&ab>qa)||(B[g++]=C,B[g++]=O,y=C,E=O);C=W;O=na}}B[g++]=C;B[g++]=O}}h.push(g);b=p}return g};function ph(a,b){Wg.call(this);this.c=this.h=-1;this.I(a,b)}v(ph,Wg);l=ph.prototype;l.H=function(){var a=new ph(null);qh(a,this.b,this.j.slice());return a};l.wa=function(a,b,c,d){if(d<Bg(this.o(),a,b))return d;this.c!=this.d&&(this.h=Math.sqrt(eh(this.j,0,this.j.length,this.a,0)),this.c=this.d);return gh(this.j,0,this.j.length,this.a,this.h,!0,a,b,c,d)};l.Be=function(){return ah(this.j,0,this.j.length,this.a)};l.C=function(){return lh(this.j,0,this.j.length,this.a)};
l.Hb=function(a){var b=[];b.length=nh(this.j,0,this.j.length,this.a,a,b,0);a=new ph(null);qh(a,"XY",b);return a};l.D=ca("LinearRing");l.I=function(a,b){null===a?qh(this,"XY",null):(Zg(this,b,a,1),null===this.j&&(this.j=[]),this.j.length=jh(this.j,0,a,this.a),this.k())};function qh(a,b,c){Yg(a,b,c);a.k()};function rh(a,b){Wg.call(this);this.I(a,b)}v(rh,Wg);l=rh.prototype;l.H=function(){var a=new rh(null);sh(a,this.b,this.j.slice());return a};l.wa=function(a,b,c,d){var e=this.j;a=ch(a,b,e[0],e[1]);if(a<d){d=this.a;for(b=0;b<d;++b)c[b]=e[b];c.length=d;return a}return d};l.C=function(){return this.j.slice()};l.o=function(a){if(this.f!=this.d){var b=this.j,c=b[0],b=b[1];this.extent=yg(c,b,c,b,this.extent);this.f=this.d}return Qg(this.extent,a)};l.D=ca("Point");
l.I=function(a,b){null===a?sh(this,"XY",null):(Zg(this,b,a,0),null===this.j&&(this.j=[]),this.j.length=ih(this.j,a),this.k())};function sh(a,b,c){Yg(a,b,c);a.k()};function th(a,b,c,d,e,f){for(var g=!1,h=a[c-d],m=a[c-d+1];b<c;b+=d){var n=a[b],p=a[b+1];m>f!=p>f&&e<(n-h)*(f-m)/(p-m)+h&&(g=!g);h=n;m=p}return g}function uh(a,b,c,d,e,f){if(0===c.length||!th(a,b,c[0],d,e,f))return!1;var g;b=1;for(g=c.length;b<g;++b)if(th(a,c[b-1],c[b],d,e,f))return!1;return!0};function vh(a,b,c,d,e,f,g){var h,m,n,p,q,r=e[f+1],u=[],x=c[0];n=a[x-d];q=a[x-d+1];for(h=b;h<x;h+=d){p=a[h];m=a[h+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}x=NaN;q=-Infinity;u.sort();n=u[0];h=1;for(m=u.length;h<m;++h){p=u[h];var B=Math.abs(p-n);B>q&&(n=(n+p)/2,uh(a,b,c,d,n,r)&&(x=n,q=B));n=p}isNaN(x)&&(x=e[f]);return s(g)?(g.push(x,r),g):[x,r]};function wh(a,b,c,d){for(var e=0,f=a[c-d],g=a[c-d+1];b<c;b+=d)var h=a[b],m=a[b+1],e=e+(h-f)*(m+g),f=h,g=m;return 0<e}function xh(a,b,c){var d=0,e,f;e=0;for(f=b.length;e<f;++e){var g=b[e],d=wh(a,d,g,c);if(0===e?!d:d)return!1;d=g}return!0}function yh(a,b,c,d){var e,f;e=0;for(f=c.length;e<f;++e){var g=c[e],h=wh(a,b,g,d);if(0===e?!h:h)for(var h=a,m=g,n=d;b<m-n;){var p;for(p=0;p<n;++p){var q=h[b+p];h[b+p]=h[m-n+p];h[m-n+p]=q}b+=n;m-=n}b=g}return b};function D(a,b){Wg.call(this);this.c=[];this.q=-1;this.n=null;this.A=this.p=this.r=-1;this.h=null;this.I(a,b)}v(D,Wg);l=D.prototype;l.Rd=function(a){null===this.j?this.j=a.j.slice():kg(this.j,a.j);this.c.push(this.j.length);this.k()};l.H=function(){var a=new D(null);zh(a,this.b,this.j.slice(),this.c.slice());return a};
l.wa=function(a,b,c,d){if(d<Bg(this.o(),a,b))return d;this.p!=this.d&&(this.r=Math.sqrt(fh(this.j,0,this.c,this.a,0)),this.p=this.d);return hh(this.j,0,this.c,this.a,this.r,!0,a,b,c,d)};l.rb=function(a,b){return uh(Ah(this),0,this.c,this.a,a,b)};l.Ee=function(){return bh(Ah(this),0,this.c,this.a)};l.C=function(){return mh(this.j,0,this.c,this.a)};function Bh(a){if(a.q!=a.d){var b=Jg(a.o());a.n=vh(Ah(a),0,a.c,a.a,b,0);a.q=a.d}return a.n}l.fe=function(){return new rh(Bh(this))};
l.ie=function(a){if(0>a||this.c.length<=a)return null;var b=new ph(null);qh(b,this.b,this.j.slice(0===a?0:this.c[a-1],this.c[a]));return b};l.od=function(){var a=this.b,b=this.j,c=this.c,d=[],e=0,f,g;f=0;for(g=c.length;f<g;++f){var h=c[f],m=new ph(null);qh(m,a,b.slice(e,h));d.push(m);e=h}return d};function Ah(a){if(a.A!=a.d){var b=a.j;xh(b,a.c,a.a)?a.h=b:(a.h=b.slice(),a.h.length=yh(a.h,0,a.c,a.a));a.A=a.d}return a.h}
l.Hb=function(a){var b=[],c=[];b.length=oh(this.j,0,this.c,this.a,Math.sqrt(a),b,0,c);a=new D(null);zh(a,"XY",b,c);return a};l.D=ca("Polygon");l.I=function(a,b){if(null===a)zh(this,"XY",null,this.c);else{Zg(this,b,a,2);null===this.j&&(this.j=[]);var c=kh(this.j,0,a,this.a,this.c);this.j.length=0===c.length?0:c[c.length-1];this.k()}};function zh(a,b,c,d){Yg(a,b,c);a.c=d;a.k()};/*
Latitude/longitude spherical geodesy formulae taken from
http://www.movable-type.co.uk/scripts/latlong.html
Licenced under CC-BY-3.0.
*/
function Ch(a){this.radius=a}Ch.prototype.a=function(a,b,c){var d=s(c)?c:32;c=[];var e;for(e=0;e<d;++e){var f=2*Math.PI*e/d,g=Zb(a[1]),h=b/this.radius,m=Math.asin(Math.sin(g)*Math.cos(h)+Math.cos(g)*Math.sin(h)*Math.cos(f));Eb(c,[180*(Zb(a[0])+Math.atan2(Math.sin(f)*Math.sin(h)*Math.cos(g),Math.cos(h)-Math.sin(g)*Math.sin(m)))/Math.PI,180*m/Math.PI])}c.push(c[0],c[1]);a=new D(null);zh(a,"XY",c,[c.length]);return a};
function Dh(a,b,c){var d=Zb(b[1]),e=Zb(c[1]),f=(e-d)/2;b=Zb(c[0]-b[0])/2;d=Math.sin(f)*Math.sin(f)+Math.sin(b)*Math.sin(b)*Math.cos(d)*Math.cos(e);return 2*a.radius*Math.atan2(Math.sqrt(d),Math.sqrt(1-d))};var Eh=new Ch(6370997);var Fh={},Gh="object"==typeof Proj4js;Fh.degrees=2*Math.PI*Eh.radius/360;Fh.ft=0.3048;Fh.m=1;function Hh(a){this.a=a.code;this.Ia=a.units;this.q=s(a.extent)?a.extent:null;this.e=s(a.axisOrientation)?a.axisOrientation:"enu";this.l=s(a.global)?a.global:!1;this.i=null}Hh.prototype.d=k("a");Hh.prototype.o=k("q");Hh.prototype.b=k("Ia");Hh.prototype.f=function(){return Fh[this.Ia]};function Ih(a){return a.e}
function Jh(a,b){var c={units:a.units,axisOrientation:a.axis};nc(c,b);Hh.call(this,c);this.h=a;this.g=null}v(Jh,Hh);Jh.prototype.f=function(){var a=this.h.to_meter;s(a)||(a=Fh[this.Ia]);return a};
Jh.prototype.c=function(a,b){if("degrees"==this.Ia)return a;null===this.g&&(this.g=Kh(this,Lh({code:"EPSG:4326",extent:null})));var c=[b[0]-a/2,b[1],b[0]+a/2,b[1],b[0],b[1]-a/2,b[0],b[1]+a/2],c=this.g(c,c,2),d=Dh(Eh,c.slice(0,2),c.slice(2,4)),c=Dh(Eh,c.slice(4,6),c.slice(6,8)),d=(d+c)/2;"ft"==this.Ia&&(d/=0.3048);return d};function Mh(a){return a.h}var Nh={},Oh={},Ph={};function Qh(a){Rh(a);wb(a,function(b){wb(a,function(a){b!==a&&Sh(b,a,Th)})})}
function Uh(){var a=Vh,b=Wh,c=Xh;wb(Zh,function(d){wb(a,function(a){Sh(d,a,b);Sh(a,d,c)})})}function $h(a){Oh[a.a]=a;Sh(a,a,Th)}function Rh(a){wb(a,function(a){$h(a)})}function ai(a){return null!=a?la(a)?bi(a):a:bi("EPSG:3857")}function Sh(a,b,c){a=a.a;b=b.a;a in Ph||(Ph[a]={});Ph[a][b]=c}function bi(a){var b;a instanceof Hh?b=a:la(a)?(b=Oh[a],Gh&&!s(b)&&(b=Lh({code:a,extent:null})),s(b)||(b=null)):b=null;return b}
function Lh(a){var b=a.code,c=Nh[b];if(!s(c)){var d=new Proj4js.Proj(b),e=d.srsCode,c=Nh[e];s(c)||(a=lc(a),a.code=e,c=new Jh(d,a),Nh[e]=c);Nh[b]=c}return c}function ci(a,b){var c=bi(a),d=bi(b);return Kh(c,d)}
function Kh(a,b){var c=a.a,d=b.a,e;c in Ph&&d in Ph[c]&&(e=Ph[c][d]);if(Gh&&!s(e)){var f=Mh(a instanceof Jh?a:Lh({code:c,extent:null})),g=Mh(b instanceof Jh?b:Lh({code:d,extent:null}));e=function(a,b,c){var d=a.length;c=1<c?c:2;s(b)||(b=2<c?a.slice():Array(d));for(var e,r=0;r<d;r+=c)e=new Proj4js.Point(a[r],a[r+1]),e=Proj4js.transform(f,g,e),b[r]=e.x,b[r+1]=e.y;return b};Sh(a,b,e)}s(e)||(e=di);return e}function di(a,b){if(s(b)&&a!==b){for(var c=0,d=a.length;c<d;++c)b[c]=a[c];a=b}return a}
function Th(a,b){var c;if(s(b)){c=0;for(var d=a.length;c<d;++c)b[c]=a[c];c=b}else c=a.slice();return c};function F(a){tg.call(this);a=s(a)?a:{};var b={};b.center=s(a.center)?a.center:null;b.projection=ai(a.projection);var c,d,e;if(s(a.resolutions))c=a.resolutions,d=c[0],e=c[c.length-1],c=mg(c);else{d=a.maxResolution;s(d)||(d=a.projection,e=ai(d).o(),d=(null===e?360*Fh.degrees/Fh[d.Ia]:Math.max(e[2]-e[0],e[3]-e[1]))/256);c=a.maxZoom;s(c)||(c=28);var f=a.zoomFactor;s(f)||(f=2);e=d/Math.pow(f,c);c=ng(f,d,c)}this.g=d;this.l=e;(s(a.enableRotation)?a.enableRotation:1)?(d=a.constrainRotation,d=s(d)&&!0!==
d?!1===d?pg:ma(d)?qg(d):pg:rg()):d=og;this.f=new sg(s(a.extent)?ig(a.extent):jg,c,d);s(a.resolution)?b.resolution=a.resolution:s(a.zoom)&&(b.resolution=this.constrainResolution(this.g,a.zoom));b.rotation=s(a.rotation)?a.rotation:0;this.L(b)}v(F,tg);F.prototype.constrainResolution=function(a,b,c){return this.f.resolution(a,b||0,c||0)};F.prototype.constrainRotation=function(a,b){return this.f.rotation(a,b||0)};F.prototype.a=function(){return this.get("center")};F.prototype.getCenter=F.prototype.a;
F.prototype.r=function(a){var b=this.a(),c=this.b();return[b[0]-c*a[0]/2,b[1]-c*a[1]/2,b[0]+c*a[0]/2,b[1]+c*a[1]/2]};F.prototype.i=function(){return this.get("projection")};F.prototype.getProjection=F.prototype.i;F.prototype.b=function(){return this.get("resolution")};F.prototype.getResolution=F.prototype.b;function ei(a,b){return Math.max(Ng(a)/b[0],Lg(a)/b[1])}function fi(a){var b=a.g,c=Math.log(b/a.l)/Math.log(2);return function(a){return b/Math.pow(2,a*c)}}F.prototype.e=function(){return this.get("rotation")};
F.prototype.getRotation=F.prototype.e;function gi(a){var b=a.g,c=Math.log(b/a.l)/Math.log(2);return function(a){return Math.log(b/a)/Math.log(2)/c}}l=F.prototype;l.W=function(){return this};function hi(a){var b=a.a(),c=a.i(),d=a.b();a=a.e();return{center:b.slice(),projection:s(c)?c:null,resolution:d,rotation:s(a)?a:0}}l.Jf=function(){var a,b=this.b();if(s(b)){var c,d=0;do{c=this.constrainResolution(this.g,d);if(c==b){a=d;break}++d}while(c>this.l)}return a};
l.ae=function(a,b){if(!Pg(a)){this.Ba(Jg(a));var c=ei(a,b),d=this.constrainResolution(c,0,0);d<c&&(d=this.constrainResolution(d,-1,0));this.c(d)}};
l.sf=function(a,b,c){var d=s(c)?c:{};c=s(d.padding)?d.padding:[0,0,0,0];var e=s(d.constrainResolution)?d.constrainResolution:!0,f=s(d.nearest)?d.nearest:!1,g=s(d.minResolution)?d.minResolution:0,h=a.j,m=this.e(),d=Math.cos(-m),m=Math.sin(-m),n=Infinity,p=Infinity,q=-Infinity,r=-Infinity;a=a.a;for(var u=0,x=h.length;u<x;u+=a)var B=h[u]*d-h[u+1]*m,y=h[u]*m+h[u+1]*d,n=Math.min(n,B),p=Math.min(p,y),q=Math.max(q,B),r=Math.max(r,y);b=ei([n,p,q,r],[b[0]-c[1]-c[3],b[1]-c[0]-c[2]]);b=isNaN(b)?g:Math.max(b,
g);e&&(e=this.constrainResolution(b,0,0),!f&&e<b&&(e=this.constrainResolution(e,-1,0)),b=e);this.c(b);m=-m;f=(n+q)/2+(c[1]-c[3])/2*b;c=(p+r)/2+(c[0]-c[2])/2*b;this.Ba([f*d-c*m,c*d+f*m])};l.nf=function(a,b,c){var d=this.e(),e=Math.cos(-d),d=Math.sin(-d),f=a[0]*e-a[1]*d;a=a[1]*e+a[0]*d;var g=this.b(),f=f+(b[0]/2-c[0])*g;a+=(c[1]-b[1]/2)*g;d=-d;this.Ba([f*e-a*d,a*e+f*d])};l.wd=function(){return null!=this.a()&&s(this.b())};
l.xe=function(a,b){if(s(b)){var c,d=this.a();s(d)&&(c=[d[0]-b[0],d[1]-b[1]],bf(c,a-this.e()),Xe(c,b));this.Ba(c)}this.n(a)};l.Ba=function(a){this.s("center",a)};F.prototype.setCenter=F.prototype.Ba;F.prototype.p=function(a){this.s("projection",a)};F.prototype.setProjection=F.prototype.p;F.prototype.c=function(a){this.s("resolution",a)};F.prototype.setResolution=F.prototype.c;F.prototype.n=function(a){this.s("rotation",a)};F.prototype.setRotation=F.prototype.n;
F.prototype.A=function(a){a=this.constrainResolution(this.g,a,0);this.c(a)};function ii(a){return 1-Math.pow(1-a,3)};function ji(a){return 3*a*a-2*a*a*a}function ki(a){return a}function li(a){return 0.5>a?ji(2*a):1-ji(2*(a-0.5))};function mi(a){var b=a.source,c=s(a.start)?a.start:Aa(),d=b[0],e=b[1],f=s(a.duration)?a.duration:1E3,g=s(a.easing)?a.easing:ji;return function(a,b){if(b.time<c)return b.animate=!0,b.viewHints[0]+=1,!0;if(b.time<c+f){var n=1-g((b.time-c)/f),p=d-b.view2DState.center[0],q=e-b.view2DState.center[1];b.animate=!0;b.view2DState.center[0]+=n*p;b.view2DState.center[1]+=n*q;b.viewHints[0]+=1;return!0}return!1}}
function ni(a){var b=s(a.rotation)?a.rotation:0,c=s(a.start)?a.start:Aa(),d=s(a.duration)?a.duration:1E3,e=s(a.easing)?a.easing:ji,f=s(a.anchor)?a.anchor:null;return function(a,h){if(h.time<c)return h.animate=!0,h.viewHints[0]+=1,!0;if(h.time<c+d){var m=1-e((h.time-c)/d),m=(b-h.view2DState.rotation)*m;h.animate=!0;h.view2DState.rotation+=m;if(null!==f){var n=h.view2DState.center;n[0]-=f[0];n[1]-=f[1];bf(n,m);Xe(n,f)}h.viewHints[0]+=1;return!0}return!1}}
function oi(a){var b=a.resolution,c=s(a.start)?a.start:Aa(),d=s(a.duration)?a.duration:1E3,e=s(a.easing)?a.easing:ji;return function(a,g){if(g.time<c)return g.animate=!0,g.viewHints[0]+=1,!0;if(g.time<c+d){var h=1-e((g.time-c)/d),m=b-g.view2DState.resolution;g.animate=!0;g.view2DState.resolution+=h*m;g.viewHints[0]+=1;return!0}return!1}};function pi(){Le.call(this);this.g=null}v(pi,Le);pi.prototype.setMap=function(a){this.g=a};function qi(a,b,c,d,e){if(null!=c){var f=b.e(),g=b.a();s(f)&&(s(g)&&s(e)&&0<e)&&(a.Ka(ni({rotation:f,duration:e,easing:ii})),s(d)&&a.Ka(mi({source:g,duration:e,easing:ii})));b.xe(c,d)}}function ri(a,b,c,d,e){var f=b.b();c=b.constrainResolution(f,c,0);si(a,b,c,d,e)}
function si(a,b,c,d,e){if(null!=c){var f=b.b(),g=b.a();s(f)&&(s(g)&&s(e)&&0<e)&&(a.Ka(oi({resolution:f,duration:e,easing:ii})),s(d)&&a.Ka(mi({source:g,duration:e,easing:ii})));if(null!=d){var h;a=b.a();e=b.b();s(a)&&s(e)&&(h=[d[0]-c*(d[0]-a[0])/e,d[1]-c*(d[1]-a[1])/e]);b.Ba(h)}b.c(c)}};function ti(){pi.call(this);this.i=!1;this.q={};this.b=[]}v(ti,pi);function ui(a){for(var b=a.length,c=0,d=0,e=0;e<b;e++)c+=a[e].clientX,d+=a[e].clientY;return[c/b,d/b]}l=ti.prototype;l.jb=fa;l.ab=ze;l.$a=ze;
l.Ca=function(a){if(!(a instanceof Qf))return!0;var b=!1,c=a.type;if(c===Zf||c===ag||c===Xf)c=a.c,a.type==Xf?delete this.q[c.pointerId]:a.type==Zf?this.q[c.pointerId]=c:c.pointerId in this.q&&(this.q[c.pointerId]=c),this.b=fc(this.q);this.i&&(a.type==ag?this.jb(a):a.type==Xf&&(this.i=this.ab(a)));a.type==Zf&&(this.i=a=this.$a(a),b=this.Zc(a));return!b};l.Zc=ze;function vi(a,b,c,d,e,f){Qd.call(this,a,b);this.vectorContext=c;this.frameState=d;this.context=e;this.glContext=f}v(vi,Qd);function wi(a){this.b=this.d=this.e=this.c=this.a=null;this.f=a}v(wi,Ld);function xi(a){var b=a.e,c=a.d;a=xb([b,[b[0],c[1]],c,[c[0],b[1]]],a.a.ya,a.a);a[4]=a[0].slice();return new D([a])}wi.prototype.G=function(){this.setMap(null)};wi.prototype.g=function(a){var b=this.b,c=this.f;a.vectorContext.Bc(Infinity,function(a){a.Ha(c.c,c.b);a.sa(c.d);a.Gb(b,null)})};wi.prototype.N=k("b");function yi(a){null===a.a||(null===a.e||null===a.d)||a.a.R()}
wi.prototype.setMap=function(a){null!==this.c&&(re(this.c),this.c=null,this.a.R(),this.a=null);this.a=a;null!==this.a&&(this.c=z(a,"postcompose",this.g,!1,this),yi(this))};function zi(a,b){Qd.call(this,a);this.coordinate=b}v(zi,Qd);function Ai(a){ti.call(this);a=s(a)?a:{};this.c=new wi(s(a.style)?a.style:null);this.a=null;this.e=s(a.condition)?a.condition:Ae}v(Ai,ti);l=Ai.prototype;l.jb=function(a){if(hg(a)){var b=this.c;a=a.pixel;b.e=this.a;b.d=a;b.b=xi(b);yi(b)}};l.N=function(){return this.c.N()};l.Le=fa;
l.ab=function(a){if(!hg(a))return!0;this.c.setMap(null);var b=a.pixel[0]-this.a[0],c=a.pixel[1]-this.a[1];64<=b*b+c*c&&(this.Le(a),Ie(this,new zi("boxend",a.coordinate)));return!1};l.$a=function(a){if(hg(a)&&ae(a.a)&&this.e(a)){this.a=a.pixel;this.c.setMap(a.map);var b=this.c,c=this.a;b.e=this.a;b.d=c;b.b=xi(b);yi(b);Ie(this,new zi("boxstart",a.coordinate));return!0}return!1};l.Zc=Be;var Bi={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",
darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",
ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",
lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",
moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",
seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};var Ci=/^#(?:[0-9a-f]{3}){1,2}$/i,Di=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i,Ei=/^(?: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 Fi(a){if(!la(a)){var b=a[0];b!=(b|0)&&(b=b+0.5|0);var c=a[1];c!=(c|0)&&(c=c+0.5|0);var d=a[2];d!=(d|0)&&(d=d+0.5|0);a="rgba("+b+","+c+","+d+","+a[3]+")"}return a}
var Hi=function(){var a={},b=0;return function(c,d){var e;if(a.hasOwnProperty(c))e=a[c];else{if(1024<=b){e=0;for(var f in a)0===(e++&3)&&(delete a[f],--b)}e=Gi(c);a[c]=e;++b}s(d)&&(d[0]=e[0],d[1]=e[1],d[2]=e[2],d[3]=e[3],e=d);return e}}();
function Gi(a){var b=!1;Bi.hasOwnProperty(a)&&(a=Bi[a],b=!0);var c,d;if(b||Ci.exec(a))return d=3==a.length-1?1:2,b=parseInt(a.substr(1+0*d,d),16),c=parseInt(a.substr(1+1*d,d),16),a=parseInt(a.substr(1+2*d,d),16),1==d&&(b=(b<<4)+b,c=(c<<4)+c,a=(a<<4)+a),b=[b,c,a,1];if(d=Ei.exec(a))return b=Number(d[1]),c=Number(d[2]),a=Number(d[3]),d=Number(d[4]),b=[b,c,a,d],Ii(b,b);if(d=Di.exec(a))return b=Number(d[1]),c=Number(d[2]),a=Number(d[3]),b=[b,c,a,1],Ii(b,b);throw Error(a+" is not a valid color");}
function Ii(a,b){var c=s(b)?b:[];c[0]=Xb(a[0]+0.5|0,0,255);c[1]=Xb(a[1]+0.5|0,0,255);c[2]=Xb(a[2]+0.5|0,0,255);c[3]=Xb(a[3],0,1);return c};var Ji=[0,0,0,1],Ki=[],Li=[0,0,0,1];function Mi(a){a=s(a)?a:{};this.a=s(a.color)?a.color:null}Mi.prototype.d=k("a");function Ni(a){this.q=a.opacity;this.n=a.rotateWithView;this.e=a.rotation;this.f=a.scale;this.p=a.Ve}Ni.prototype.g=k("e");Ni.prototype.i=k("f");function Oi(a){a=s(a)?a:{};this.a=s(a.color)?a.color:null;this.b=a.lineCap;this.c=s(a.lineDash)?a.lineDash:null;this.e=a.lineJoin;this.f=a.miterLimit;this.d=a.width}l=Oi.prototype;l.mh=k("a");l.zf=k("b");l.nh=k("c");l.Af=k("e");l.Bf=k("f");l.oh=k("d");function Pi(a){a=s(a)?a:{};this.h=zc("CANVAS");this.d=null;this.b=s(a.fill)?a.fill:null;this.c=a.radius;this.a=s(a.stroke)?a.stroke:null;a=this.h;var b,c;null===this.a?c=0:(b=Fi(this.a.a),c=this.a.d,s(c)||(c=1));var d=2*(this.c+c)+1;a.height=d;a.width=d;var e=a.getContext("2d");e.arc(d/2,d/2,this.c,0,2*Math.PI,!0);null!==this.b&&(e.fillStyle=Fi(this.b.a),e.fill());null!==this.a&&(e.strokeStyle=b,e.lineWidth=c,e.stroke());null===this.b?(a=this.d=zc("CANVAS"),a.height=d,a.width=d,e=a.getContext("2d"),
e.arc(d/2,d/2,this.c,0,2*Math.PI,!0),e.fillStyle=Ji,e.fill(),null!==this.a&&(e.strokeStyle=b,e.lineWidth=c,e.stroke())):this.d=a;this.l=[d/2,d/2];this.r=[d,d];Ni.call(this,{opacity:1,rotateWithView:!1,rotation:0,scale:1,Ve:void 0})}v(Pi,Ni);l=Pi.prototype;l.jc=k("l");l.ih=k("b");l.Ie=k("d");l.qc=k("h");l.Je=ca(2);l.jh=k("c");l.Ob=k("r");l.kh=k("a");l.qe=fa;l.Ke=fa;l.Ze=fa;function Qi(a){a=s(a)?a:{};this.c=s(a.fill)?a.fill:null;this.e=s(a.image)?a.image:null;this.b=s(a.stroke)?a.stroke:null;this.d=s(a.text)?a.text:null;this.a=a.zIndex}l=Qi.prototype;l.ph=k("c");l.qh=k("e");l.rh=k("b");l.sh=k("d");l.If=k("a");function G(a){Oe.call(this);this.$=void 0;this.a="geometry";this.f=null;this.e=void 0;this.c=null;z(this,Se(this.a),this.Lc,!1,this);null!=a?a instanceof Ug?this.pb(a):this.L(a):this.pb(null)}v(G,Oe);G.prototype.N=function(){return this.get(this.a)};G.prototype.getGeometry=G.prototype.N;l=G.prototype;l.xf=k("$");l.wf=k("a");l.Lg=k("f");l.Mg=k("e");l.Sf=function(){this.k()};l.Lc=function(){null!==this.c&&(re(this.c),this.c=null);var a=this.N();null!=a&&(this.c=z(a,"change",this.Sf,!1,this),this.k())};
l.pb=function(a){this.s(this.a,a)};G.prototype.setGeometry=G.prototype.pb;G.prototype.g=function(a){this.f=a;pa(a)||(a=ja(a)?a:[a],a=ye(a));this.e=a;this.k()};G.prototype.b=function(a){this.$=a};G.prototype.i=function(a){pe(this,Se(this.a),this.Lc,!1,this);this.a=a;z(this,Se(this.a),this.Lc,!1,this);this.Lc()};
function Ri(){var a=new Mi({color:"rgba(255,255,255,0.4)"}),b=new Oi({color:"#3399CC",width:1.25}),c=[new Qi({image:new Pi({fill:a,stroke:b,radius:5}),fill:a,stroke:b})];Ri=function(){return c};return c}function Si(a,b){var c=a.e;s(c)||(c=Ri);return c.call(a,b)}function Ti(a){pa(a)||(a=ja(a)?a:[a],a=ye(a));return a}
function Ui(){var a={},b=[255,255,255,1],c=[0,153,255,1];a.Polygon=[new Qi({fill:new Mi({color:[255,255,255,0.5]})})];a.MultiPolygon=a.Polygon;a.LineString=[new Qi({stroke:new Oi({color:b,width:5})}),new Qi({stroke:new Oi({color:c,width:3})})];a.MultiLineString=a.LineString;a.Point=[new Qi({image:new Pi({radius:6,fill:new Mi({color:c}),stroke:new Oi({color:b,width:1.5})}),zIndex:Infinity})];a.MultiPoint=a.Point;a.GeometryCollection=a.Polygon.concat(a.Point);return a};function Vi(a){a=s(a)?a:{};this.g=this.c=this.e=this.d=this.b=this.a=null;this.f=s(a.style)?Ti(a.style):void 0;s(a.features)?ja(a.features)?this.tc(new A(Db(a.features))):this.tc(a.features):this.tc(new A);s(a.map)&&this.setMap(a.map)}l=Vi.prototype;l.ue=function(a){this.a.push(a)};l.Gg=k("a");l.ve=function(){Wi(this)};l.Qf=function(a){a=a.element;this.d[sa(a).toString()]=z(a,"change",this.ve,!1,this);Wi(this)};l.Rf=function(a){a=sa(a.element).toString();re(this.d[a]);delete this.d[a];Wi(this)};
l.Jg=function(a){if(null!==this.a){var b=this.f;s(b)||(b=Si);var c=a.frameState.view2DState.resolution,d=a.vectorContext,e,f,g;this.a.forEach(function(a){g=b(a,c);if(null!=g)for(f=g.length,e=0;e<f;++e)d.jd(a,g[e])})}};l.Sc=function(a){this.a.remove(a)};function Wi(a){null===a.e||a.e.R()}
l.tc=function(a){null!==this.b&&(wb(this.b,re),this.b=null);null!==this.d&&(wb(fc(this.d),re),this.d=null);this.a=a;null!==a&&(this.b=[z(a,"add",this.Qf,!1,this),z(a,"remove",this.Rf,!1,this)],this.d={},a.forEach(function(a){this.d[sa(a).toString()]=z(a,"change",this.ve,!1,this)},this));Wi(this)};l.setMap=function(a){null!==this.c&&(re(this.c),this.c=null);Wi(this);this.e=a;null!==a&&(this.c=z(a,"postcompose",this.Jg,!1,this),a.R())};l.Kg=function(a){this.g=a;this.f=Ti(a);Wi(this)};l.Hg=k("g");
l.Ig=k("f");function Xi(a){if("function"==typeof a.Oa)return a.Oa();if(la(a))return a.split("");if(ka(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return fc(a)}function Yi(a,b,c){if("function"==typeof a.forEach)a.forEach(b,c);else if(ka(a)||la(a))wb(a,b,c);else{var d;if("function"==typeof a.P)d=a.P();else if("function"!=typeof a.Oa)if(ka(a)||la(a)){d=[];for(var e=a.length,f=0;f<e;f++)d.push(f)}else d=gc(a);else d=void 0;for(var e=Xi(a),f=e.length,g=0;g<f;g++)b.call(c,e[g],d&&d[g],a)}};function Zi(a,b){this.d={};this.a=[];var c=arguments.length;if(1<c){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d<c;d+=2)$i(this,arguments[d],arguments[d+1])}else if(a){a instanceof Zi?(c=a.P(),d=a.Oa()):(c=gc(a),d=fc(a));for(var e=0;e<c.length;e++)$i(this,c[e],d[e])}}l=Zi.prototype;l.M=0;l.Nd=0;l.Na=k("M");l.Oa=function(){aj(this);for(var a=[],b=0;b<this.a.length;b++)a.push(this.d[this.a[b]]);return a};l.P=function(){aj(this);return this.a.concat()};l.ma=function(){return 0==this.M};
l.clear=function(){this.d={};this.Nd=this.M=this.a.length=0};l.remove=function(a){return bj(this.d,a)?(delete this.d[a],this.M--,this.Nd++,this.a.length>2*this.M&&aj(this),!0):!1};function aj(a){if(a.M!=a.a.length){for(var b=0,c=0;b<a.a.length;){var d=a.a[b];bj(a.d,d)&&(a.a[c++]=d);b++}a.a.length=c}if(a.M!=a.a.length){for(var e={},c=b=0;b<a.a.length;)d=a.a[b],bj(e,d)||(a.a[c++]=d,e[d]=1),b++;a.a.length=c}}l.get=function(a,b){return bj(this.d,a)?this.d[a]:b};
function $i(a,b,c){bj(a.d,b)||(a.M++,a.a.push(b),a.Nd++);a.d[b]=c}l.H=function(){return new Zi(this)};function bj(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var cj=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?\x3d[/#?]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#(.*))?$");function dj(a){if(ej){ej=!1;var b=ea.location;if(b){var c=b.href;if(c&&(c=(c=dj(c)[3]||null)&&decodeURIComponent(c))&&c!=b.hostname)throw ej=!0,Error();}}return a.match(cj)}var ej=cb;function fj(a){if(a[1]){var b=a[0],c=b.indexOf("#");0<=c&&(a.push(b.substr(c)),a[0]=b=b.substr(0,c));c=b.indexOf("?");0>c?a[1]="?":c==b.length-1&&(a[1]=void 0)}return a.join("")}
function gj(a,b,c){if(ja(b))for(var d=0;d<b.length;d++)gj(a,String(b[d]),c);else null!=b&&c.push("\x26",a,""===b?"":"\x3d",encodeURIComponent(String(b)))}function hj(a,b){for(var c in b)gj(c,b[c],a);return a};function ij(a,b){var c;if(a instanceof ij)this.ub=s(b)?b:a.ub,jj(this,a.ob),c=a.Bb,kj(this),this.Bb=c,c=a.Xa,kj(this),this.Xa=c,lj(this,a.Qb),c=a.Sa,kj(this),this.Sa=c,mj(this,a.a.H()),c=a.tb,kj(this),this.tb=c;else if(a&&(c=dj(String(a)))){this.ub=!!b;jj(this,c[1]||"",!0);var d=c[2]||"";kj(this);this.Bb=d?decodeURIComponent(d):"";d=c[3]||"";kj(this);this.Xa=d?decodeURIComponent(d):"";lj(this,c[4]);d=c[5]||"";kj(this);this.Sa=d?decodeURIComponent(d):"";mj(this,c[6]||"",!0);c=c[7]||"";kj(this);this.tb=
c?decodeURIComponent(c):""}else this.ub=!!b,this.a=new nj(null,0,this.ub)}l=ij.prototype;l.ob="";l.Bb="";l.Xa="";l.Qb=null;l.Sa="";l.tb="";l.ng=!1;l.ub=!1;
l.toString=function(){var a=[],b=this.ob;b&&a.push(oj(b,pj),":");if(b=this.Xa){a.push("//");var c=this.Bb;c&&a.push(oj(c,pj),"@");a.push(encodeURIComponent(String(b)));b=this.Qb;null!=b&&a.push(":",String(b))}if(b=this.Sa)this.Xa&&"/"!=b.charAt(0)&&a.push("/"),a.push(oj(b,"/"==b.charAt(0)?qj:rj));(b=this.a.toString())&&a.push("?",b);(b=this.tb)&&a.push("#",oj(b,sj));return a.join("")};l.H=function(){return new ij(this)};
function jj(a,b,c){kj(a);a.ob=c?b?decodeURIComponent(b):"":b;a.ob&&(a.ob=a.ob.replace(/:$/,""))}function lj(a,b){kj(a);if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.Qb=b}else a.Qb=null}function mj(a,b,c){kj(a);b instanceof nj?(a.a=b,tj(a.a,a.ub)):(c||(b=oj(b,uj)),a.a=new nj(b,0,a.ub))}function vj(a,b,c){kj(a);ja(c)||(c=[String(c)]);wj(a.a,b,c)}function kj(a){if(a.ng)throw Error("Tried to modify a read-only Uri");}
function xj(a){return a instanceof ij?a.H():new ij(a,void 0)}
function yj(a,b){a instanceof ij||(a=xj(a));b instanceof ij||(b=xj(b));var c=a,d=b,e=c.H(),f=!!d.ob;f?jj(e,d.ob):f=!!d.Bb;if(f){var g=d.Bb;kj(e);e.Bb=g}else f=!!d.Xa;f?(g=d.Xa,kj(e),e.Xa=g):f=null!=d.Qb;g=d.Sa;if(f)lj(e,d.Qb);else if(f=!!d.Sa)if("/"!=g.charAt(0)&&(c.Xa&&!c.Sa?g="/"+g:(c=e.Sa.lastIndexOf("/"),-1!=c&&(g=e.Sa.substr(0,c+1)+g))),".."==g||"."==g)g="";else if(-1!=g.indexOf("./")||-1!=g.indexOf("/.")){for(var c=0==g.lastIndexOf("/",0),g=g.split("/"),h=[],m=0;m<g.length;){var n=g[m++];"."==
n?c&&m==g.length&&h.push(""):".."==n?((1<h.length||1==h.length&&""!=h[0])&&h.pop(),c&&m==g.length&&h.push("")):(h.push(n),c=!0)}g=h.join("/")}f?(c=g,kj(e),e.Sa=c):f=""!==d.a.toString();f?mj(e,d.a.toString()?decodeURIComponent(d.a.toString()):""):f=!!d.tb;f&&(d=d.tb,kj(e),e.tb=d);return e}function oj(a,b){return la(a)?encodeURI(a).replace(b,zj):null}function zj(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}var pj=/[#\/\?@]/g,rj=/[\#\?:]/g,qj=/[\#\?]/g,uj=/[\#\?@]/g,sj=/#/g;
function nj(a,b,c){this.a=a||null;this.d=!!c}function Aj(a){if(!a.ba&&(a.ba=new Zi,a.M=0,a.a))for(var b=a.a.split("\x26"),c=0;c<b.length;c++){var d=b[c].indexOf("\x3d"),e=null,f=null;0<=d?(e=b[c].substring(0,d),f=b[c].substring(d+1)):e=b[c];e=decodeURIComponent(e.replace(/\+/g," "));e=Bj(a,e);a.add(e,f?decodeURIComponent(f.replace(/\+/g," ")):"")}}l=nj.prototype;l.ba=null;l.M=null;l.Na=function(){Aj(this);return this.M};
l.add=function(a,b){Aj(this);this.a=null;a=Bj(this,a);var c=this.ba.get(a);c||$i(this.ba,a,c=[]);c.push(b);this.M++;return this};l.remove=function(a){Aj(this);a=Bj(this,a);return bj(this.ba.d,a)?(this.a=null,this.M-=this.ba.get(a).length,this.ba.remove(a)):!1};l.clear=function(){this.ba=this.a=null;this.M=0};l.ma=function(){Aj(this);return 0==this.M};l.P=function(){Aj(this);for(var a=this.ba.Oa(),b=this.ba.P(),c=[],d=0;d<b.length;d++)for(var e=a[d],f=0;f<e.length;f++)c.push(b[d]);return c};
l.Oa=function(a){Aj(this);var b=[];if(a){var c=a;Aj(this);c=Bj(this,c);bj(this.ba.d,c)&&(b=Cb(b,this.ba.get(Bj(this,a))))}else for(a=this.ba.Oa(),c=0;c<a.length;c++)b=Cb(b,a[c]);return b};l.get=function(a,b){var c=a?this.Oa(a):[];return 0<c.length?String(c[0]):b};function wj(a,b,c){a.remove(b);0<c.length&&(a.a=null,$i(a.ba,Bj(a,b),Db(c)),a.M+=c.length)}
l.toString=function(){if(this.a)return this.a;if(!this.ba)return"";for(var a=[],b=this.ba.P(),c=0;c<b.length;c++)for(var d=b[c],e=encodeURIComponent(String(d)),d=this.Oa(d),f=0;f<d.length;f++){var g=e;""!==d[f]&&(g+="\x3d"+encodeURIComponent(String(d[f])));a.push(g)}return this.a=a.join("\x26")};l.H=function(){var a=new nj;a.a=this.a;this.ba&&(a.ba=this.ba.H(),a.M=this.M);return a};function Bj(a,b){var c=String(b);a.d&&(c=c.toLowerCase());return c}
function tj(a,b){b&&!a.d&&(Aj(a),a.a=null,Yi(a.ba,function(a,b){var e=b.toLowerCase();b!=e&&(this.remove(b),wj(this,e,a))},a));a.d=b};function Cj(a,b,c){Ld.call(this);this.c=a;this.b=c;this.a=b||window;this.d=xa(this.Yd,this)}v(Cj,Ld);l=Cj.prototype;l.$=null;l.Md=!1;l.start=function(){Dj(this);this.Md=!1;var a=Ej(this),b=Fj(this);a&&!b&&this.a.mozRequestAnimationFrame?(this.$=z(this.a,"MozBeforePaint",this.d),this.a.mozRequestAnimationFrame(null),this.Md=!0):this.$=a&&b?a.call(this.a,this.d):this.a.setTimeout(De(this.d),20)};
function Dj(a){if(null!=a.$){var b=Ej(a),c=Fj(a);b&&!c&&a.a.mozRequestAnimationFrame?re(a.$):b&&c?c.call(a.a,a.$):a.a.clearTimeout(a.$)}a.$=null}l.Yd=function(){this.Md&&this.$&&re(this.$);this.$=null;this.c.call(this.b,Aa())};l.G=function(){Dj(this);Cj.J.G.call(this)};function Ej(a){a=a.a;return a.requestAnimationFrame||a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||a.oRequestAnimationFrame||a.msRequestAnimationFrame||null}
function Fj(a){a=a.a;return a.cancelRequestAnimationFrame||a.webkitCancelRequestAnimationFrame||a.mozCancelRequestAnimationFrame||a.oCancelRequestAnimationFrame||a.msCancelRequestAnimationFrame||null};var Gj;
function Hj(){var a=ea.MessageChannel;"undefined"===typeof a&&("undefined"!==typeof window&&window.postMessage&&window.addEventListener)&&(a=function(){var a=document.createElement("iframe");a.style.display="none";a.src="";document.body.appendChild(a);var b=a.contentWindow,a=b.document;a.open();a.write("");a.close();var c="callImmediate"+Math.random(),d=b.location.protocol+"//"+b.location.host,a=xa(function(a){if(a.origin==d||a.data==c)this.port1.onmessage()},this);b.addEventListener("message",a,
!1);this.port1={};this.port2={postMessage:function(){b.postMessage(c,d)}}});if("undefined"!==typeof a){var b=new a,c={},d=c;b.port1.onmessage=function(){c=c.next;var a=c.Vd;c.Vd=null;a()};return function(a){d.next={Vd:a};d=d.next;b.port2.postMessage(0)}}return"undefined"!==typeof document&&"onreadystatechange"in document.createElement("script")?function(a){var b=document.createElement("script");b.onreadystatechange=function(){b.onreadystatechange=null;b.parentNode.removeChild(b);b=null;a();a=null};
document.documentElement.appendChild(b)}:function(a){ea.setTimeout(a,0)}};function Ij(a){He.call(this);this.vc=a||window;this.Kc=z(this.vc,"resize",this.eg,!1,this);this.vb=vc(this.vc||window)}v(Ij,He);l=Ij.prototype;l.Kc=null;l.vc=null;l.vb=null;l.G=function(){Ij.J.G.call(this);this.Kc&&(re(this.Kc),this.Kc=null);this.vb=this.vc=null};l.eg=function(){var a=vc(this.vc||window);a==this.vb||a&&this.vb&&a.width==this.vb.width&&a.height==this.vb.height||(this.vb=a,Ie(this,"resize"))};function Jj(a,b,c,d,e){if(!($a||cb&&ob("525")))return!0;if(Pa&&e)return Kj(a);if(e&&!d||!c&&(17==b||18==b||Pa&&91==b))return!1;if(cb&&d&&c)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($a&&d&&b==a)return!1;switch(a){case 13:return!($a&&$a&&9<=qb);case 27:return!cb}return Kj(a)}
function Kj(a){if(48<=a&&57>=a||96<=a&&106>=a||65<=a&&90>=a||cb&&0==a)return!0;switch(a){case 32:case 63: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 Lj(a){switch(a){case 61:return 187;case 59:return 186;case 224:return 91;case 0:return 224;default:return a}};function Mj(a,b){He.call(this);a&&Nj(this,a,b)}v(Mj,He);l=Mj.prototype;l.mc=null;l.Oc=null;l.td=null;l.Pc=null;l.na=-1;l.kb=-1;l.ed=!1;
var Oj={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},Pj={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},Qj=$a||cb&&ob("525"),Rj=Pa&&bb;
Mj.prototype.a=function(a){cb&&(17==this.na&&!a.lc||18==this.na&&!a.qa||Pa&&91==this.na&&!a.sd)&&(this.kb=this.na=-1);-1==this.na&&(a.lc&&17!=a.Ya?this.na=17:a.qa&&18!=a.Ya?this.na=18:a.sd&&91!=a.Ya&&(this.na=91));Qj&&!Jj(a.Ya,this.na,a.Za,a.lc,a.qa)?this.handleEvent(a):(this.kb=bb?Lj(a.Ya):a.Ya,Rj&&(this.ed=a.qa))};Mj.prototype.d=function(a){this.kb=this.na=-1;this.ed=a.qa};
Mj.prototype.handleEvent=function(a){var b=a.O,c,d,e=b.altKey;$a&&"keypress"==a.type?(c=this.kb,d=13!=c&&27!=c?b.keyCode:0):cb&&"keypress"==a.type?(c=this.kb,d=0<=b.charCode&&63232>b.charCode&&Kj(c)?b.charCode:0):Za?(c=this.kb,d=Kj(c)?b.keyCode:0):(c=b.keyCode||this.kb,d=b.charCode||0,Rj&&(e=this.ed),Pa&&(63==d&&224==c)&&(c=191));var f=c,g=b.keyIdentifier;c?63232<=c&&c in Oj?f=Oj[c]:25==c&&a.Za&&(f=9):g&&g in Pj&&(f=Pj[g]);a=f==this.na;this.na=f;b=new Sj(f,d,a,b);b.qa=e;Ie(this,b)};
function Nj(a,b,c){a.Pc&&Tj(a);a.mc=b;a.Oc=z(a.mc,"keypress",a,c);a.td=z(a.mc,"keydown",a.a,c,a);a.Pc=z(a.mc,"keyup",a.d,c,a)}function Tj(a){a.Oc&&(re(a.Oc),re(a.td),re(a.Pc),a.Oc=null,a.td=null,a.Pc=null);a.mc=null;a.na=-1;a.kb=-1}Mj.prototype.G=function(){Mj.J.G.call(this);Tj(this)};function Sj(a,b,c,d){d&&Zd(this,d,void 0);this.type="key";this.Ya=a;this.rd=b;this.a=c}v(Sj,Yd);function Uj(a,b){He.call(this);this.a=a;var c=ra(this.a)&&1==this.a.nodeType?this.a:this.a?this.a.body:null;this.e=!!c&&Zc(c);this.d=z(this.a,bb?"DOMMouseScroll":"mousewheel",this,b)}v(Uj,He);
Uj.prototype.handleEvent=function(a){var b=0,c=0,d=0;a=a.O;if("mousewheel"==a.type){c=1;if($a||cb&&(Qa||ob("532.0")))c=40;d=Vj(-a.wheelDelta,c);s(a.wheelDeltaX)?(b=Vj(-a.wheelDeltaX,c),c=Vj(-a.wheelDeltaY,c)):c=d}else d=a.detail,100<d?d=3:-100>d&&(d=-3),s(a.axis)&&a.axis===a.HORIZONTAL_AXIS?b=d:c=d;ma(this.b)&&(b=Xb(b,-this.b,this.b));ma(this.c)&&(c=Xb(c,-this.c,this.c));this.e&&(b=-b);b=new Wj(d,a,b,c);Ie(this,b)};function Vj(a,b){return cb&&(Pa||Ra)&&0!=a%b?a:a/b}
Uj.prototype.G=function(){Uj.J.G.call(this);re(this.d);this.d=null};function Wj(a,b,c,d){b&&Zd(this,b,void 0);this.type="mousewheel";this.detail=a;this.b=c;this.a=d}v(Wj,Yd);function Xj(a,b){He.call(this);this.a=a;this.state=b}v(Xj,He);Xj.prototype.c=function(){return sa(this).toString()};Xj.prototype.i=k("a");function Yj(a,b){this.f=a;this.e=b;this.a=[];this.d=[];this.b={}}Yj.prototype.clear=function(){this.a.length=0;this.d.length=0;ic(this.b)};function Zj(a){var b=a.a,c=a.d,d=b[0];1==b.length?(b.length=0,c.length=0):(b[0]=b.pop(),c[0]=c.pop(),ak(a,0));b=a.e(d);delete a.b[b];return d}function bk(a,b){var c=a.f(b);Infinity!=c&&(a.a.push(b),a.d.push(c),a.b[a.e(b)]=!0,ck(a,0,a.a.length-1))}Yj.prototype.Na=function(){return this.a.length};Yj.prototype.ma=function(){return 0===this.a.length};
function ak(a,b){for(var c=a.a,d=a.d,e=c.length,f=c[b],g=d[b],h=b;b<e>>1;){var m=2*b+1,n=2*b+2,m=n<e&&d[n]<d[m]?n:m;c[b]=c[m];d[b]=d[m];b=m}c[b]=f;d[b]=g;ck(a,h,b)}function ck(a,b,c){var d=a.a;a=a.d;for(var e=d[c],f=a[c];c>b;){var g=c-1>>1;if(a[g]>f)d[c]=d[g],a[c]=a[g],c=g;else break}d[c]=e;a[c]=f}function dk(a){var b=a.f,c=a.a,d=a.d,e=0,f=c.length,g,h,m;for(h=0;h<f;++h)g=c[h],m=b(g),Infinity==m?delete a.b[a.e(g)]:(d[e]=m,c[e++]=g);c.length=e;d.length=e;for(b=(a.a.length>>1)-1;0<=b;b--)ak(a,b)};function ek(a,b){Yj.call(this,function(b){return a.apply(null,b)},function(a){return a[0].c()});this.i=b;this.c=0}v(ek,Yj);ek.prototype.g=function(){--this.c;this.i()};function fk(a){Oe.call(this);this.element=s(a.element)?a.element:null;this.A=s(a.target)?rc(a.target):null;this.a=null;this.g=[]}v(fk,Oe);fk.prototype.G=function(){Ec(this.element);fk.J.G.call(this)};fk.prototype.b=k("a");fk.prototype.f=fa;fk.prototype.setMap=function(a){null===this.a||Ec(this.element);0!=this.g.length&&(wb(this.g,re),this.g.length=0);this.a=a;null!==this.a&&((null===this.A?a.r:this.A).appendChild(this.element),this.f!==fa&&this.g.push(z(a,"postrender",this.f,!1,this)),a.R())};function gk(a){a=s(a)?a:{};this.h=zc("UL");var b=wc("DIV",{"class":(s(a.className)?a.className:"ol-attribution")+" ol-unselectable"},this.h);fk.call(this,{element:b,target:a.target});this.i=!0;this.e={};this.c={}}v(gk,fk);
gk.prototype.f=function(a){a=a.b;if(null===a)this.i&&(Yc(this.element,!1),this.i=!1);else{var b,c,d,e,f,g,h,m,n,p=a.layerStatesArray,q=lc(a.attributions),r={};b=0;for(c=p.length;b<c;b++)if(d=p[b].layer.a,n=sa(d).toString(),m=d.f,null!==m)for(d=0,e=m.length;d<e;d++)if(g=m[d],h=sa(g).toString(),!(h in q)){f=a.usedTiles[n];var u;if(u=s(f))a:if(null===g.a)u=!0;else{var x=u=void 0,B=void 0,y=void 0;for(y in f)if(y in g.a)for(B=f[y],u=0,x=g.a[y].length;u<x;++u)if(g.a[y][u].a<=B.c&&g.a[y][u].c>=B.a&&g.a[y][u].b<=
B.d&&g.a[y][u].d>=B.b){u=!0;break a}u=!1}u?(h in r&&delete r[h],q[h]=g):r[h]=g}b=[q,r];a=b[0];b=b[1];for(var E in this.e)E in a?(this.c[E]||(Yc(this.e[E],!0),this.c[E]=!0),delete a[E]):E in b?(this.c[E]&&(Yc(this.e[E],!1),delete this.c[E]),delete b[E]):(Ec(this.e[E]),delete this.e[E],delete this.c[E]);for(E in a)c=zc("LI"),c.innerHTML=a[E].d,this.h.appendChild(c),this.e[E]=c,this.c[E]=!0;for(E in b)c=zc("LI"),c.innerHTML=b[E].d,Yc(c,!1),this.h.appendChild(c),this.e[E]=c;E=!hc(this.c);this.i!=E&&(Yc(this.element,
E),this.i=E)}};function hk(a){a=s(a)?a:{};this.e=zc("UL");var b=wc("DIV",{"class":(s(a.className)?a.className:"ol-logo")+" ol-unselectable"},this.e);fk.call(this,{element:b,target:a.target});this.c=!0;this.i={}}v(hk,fk);
hk.prototype.f=function(a){a=a.b;if(null===a)this.c&&(Yc(this.element,!1),this.c=!1);else{var b;a=a.logos;var c=this.i;for(b in c)b in a||(Ec(c[b]),delete c[b]);for(var d in a)if(!(d in c)){b=new Image;b.src=d;var e=a[d];""===e?e=b:(e=wc("A",{href:e,target:"_blank"}),e.appendChild(b));b=wc("LI",void 0,e);this.e.appendChild(b);c[d]=b}d=!hc(a);this.c!=d&&(Yc(this.element,d),this.c=d)}};function ik(a){a=s(a)?a:{};var b=s(a.className)?a.className:"ol-zoom",c=s(a.delta)?a.delta:1,d=s(a.zoomInLabel)?a.zoomInLabel:"+",e=s(a.zoomOutLabel)?a.zoomOutLabel:"\u2212",f=s(a.zoomOutTipLabel)?a.zoomOutTipLabel:"Zoom out",g=wc("SPAN",{role:"tooltip"},s(a.zoomInTipLabel)?a.zoomInTipLabel:"Zoom in"),d=wc("BUTTON",{"class":b+"-in ol-has-tooltip",type:"button"},g,d),g=new If(d);Od(this,g);z(g,uf,ya(ik.prototype.e,c),!1,this);z(d,["mouseout",Wd],function(){this.blur()},!1);f=wc("SPAN",{role:"tooltip"},
f);e=wc("BUTTON",{"class":b+"-out ol-has-tooltip",type:"button"},f,e);f=new If(e);Od(this,f);z(f,uf,ya(ik.prototype.e,-c),!1,this);z(e,["mouseout",Wd],function(){this.blur()},!1);b=wc("DIV",b+" ol-unselectable",d,e);fk.call(this,{element:b,target:a.target});this.c=s(a.duration)?a.duration:250}v(ik,fk);ik.prototype.e=function(a,b){b.a.preventDefault();var c=this.a,d=c.a().W(),e=d.b();s(e)&&(0<this.c&&c.Ka(oi({resolution:e,duration:this.c,easing:ii})),c=d.constrainResolution(e,a),d.c(c))};function jk(a){a=s(a)?a:{};var b=new A;(s(a.zoom)?a.zoom:1)&&b.push(new ik(s(a.zoomOptions)?a.zoomOptions:void 0));(s(a.attribution)?a.attribution:1)&&b.push(new gk(s(a.attributionOptions)?a.attributionOptions:void 0));(s(a.logo)?a.logo:1)&&b.push(new hk(s(a.logoOptions)?a.logoOptions:void 0));return b};function kk(a,b,c){this.e=a;this.b=b;this.f=c;this.a=[];this.d=this.c=0}kk.prototype.update=function(a,b){this.a.push(a,b,Aa())};function lk(a,b){var c=a.e,d=a.d,e=a.b,f=Math.log(a.b/a.d)/a.e;return mi({source:b,duration:f,easing:function(a){return d*(Math.exp(c*a*f)-1)/(e-d)}})};function mk(a){a=s(a)?a:{};this.a=s(a.delta)?a.delta:1;pi.call(this);this.b=s(a.duration)?a.duration:250}v(mk,pi);mk.prototype.Ca=function(a){var b=!1,c=a.a;if(a.type==Uf){var b=a.map,d=a.coordinate,c=c.Za?-this.a:this.a,e=b.a().W();ri(b,e,c,d,this.b);a.preventDefault();b=!0}return!b};function nk(a){ti.call(this);this.a=(s(a)?a:{}).kinetic;this.c=this.e=null;this.h=s(a.condition)?a.condition:eg;this.f=!1}v(nk,ti);nk.prototype.jb=function(a){var b=ui(this.b);if(null!==this.c){this.a&&this.a.update(b[0],b[1]);var c=this.c[0]-b[0],d=b[1]-this.c[1];a=a.map;var e=a.a().W(),f=hi(e),d=c=[c,d],g=f.resolution;d[0]*=g;d[1]*=g;bf(c,f.rotation);Xe(c,f.center);c=e.f.center(c);a.R();e.Ba(c)}this.c=b};
nk.prototype.ab=function(a){a=a.map;var b=a.a().W();if(0===this.b.length){var c;if(c=!this.f)if(c=this.a){c=this.a;var d=Aa()-c.f,e=c.a.length-3;if(c.a[e+2]<d)c=!1;else{for(var f=e-3;0<=f&&c.a[f+2]>d;)f-=3;if(0<=f){var d=c.a[e+2]-c.a[f+2],g=c.a[e]-c.a[f],e=c.a[e+1]-c.a[f+1];c.c=Math.atan2(e,g);c.d=Math.sqrt(g*g+e*e)/d;c=c.d>c.b}else c=!1}}c&&(c=(this.a.b-this.a.d)/this.a.e,e=this.a.c,f=b.a(),this.e=lk(this.a,f),a.Ka(this.e),f=a.f(f),c=a.ya([f[0]-c*Math.cos(e),f[1]-c*Math.sin(e)]),c=b.f.center(c),
b.Ba(c));ug(b,-1);a.R();return!1}this.c=null;return!0};nk.prototype.$a=function(a){if(0<this.b.length&&this.h(a)){var b=a.map,c=b.a().W();this.c=null;this.i||ug(c,1);b.R();null!==this.e&&Bb(b.A,this.e)&&(c.Ba(a.b.view2DState.center),this.e=null);this.a&&(a=this.a,a.a.length=0,a.c=0,a.d=0);this.f=1<this.b.length;return!0}return!1};function ok(a){a=s(a)?a:{};ti.call(this);this.c=s(a.condition)?a.condition:cg;this.a=void 0}v(ok,ti);ok.prototype.jb=function(a){if(hg(a)){var b=a.map,c=b.e();a=a.pixel;c=Math.atan2(c[1]/2-a[1],a[0]-c[0]/2);if(s(this.a)){a=c-this.a;var d=b.a().W(),e=hi(d);b.R();qi(b,d,e.rotation-a)}this.a=c}};ok.prototype.ab=function(a){if(!hg(a))return!0;a=a.map;var b=a.a();ug(b,-1);var b=b.W(),c=hi(b).rotation,c=b.constrainRotation(c,0);qi(a,b,c,void 0,250);return!1};
ok.prototype.$a=function(a){return hg(a)&&ae(a.a)&&this.c(a)?(a=a.map,ug(a.a(),1),a.R(),this.a=void 0,!0):!1};function qk(a){a=s(a)?a:{};Ai.call(this,{condition:s(a.condition)?a.condition:fg,style:s(a.style)?a.style:new Qi({stroke:new Oi({color:[0,0,255,1]})})})}v(qk,Ai);qk.prototype.Le=function(){var a=this.g,b=a.a().W(),c=this.N().o(),d=Jg(c),c=ei(c,a.e()),c=b.constrainResolution(c,0,void 0);si(a,b,c,d,200)};function rk(a){pi.call(this);a=s(a)?a:{};this.a=s(a.condition)?a.condition:Ee(eg,gg);this.b=s(a.pixelDelta)?a.pixelDelta:128}v(rk,pi);rk.prototype.Ca=function(a){var b=!1;if("key"==a.type){var c=a.a.Ya;if(this.a(a)&&(40==c||37==c||39==c||38==c)){var d=a.map,b=d.a(),e=hi(b),f=e.resolution*this.b,g=0,h=0;40==c?h=-f:37==c?g=-f:39==c?g=f:h=f;c=[g,h];bf(c,e.rotation);e=b.a();s(e)&&(s(100)&&d.Ka(mi({source:e,duration:100,easing:ki})),d=b.f.center([e[0]+c[0],e[1]+c[1]]),b.Ba(d));a.preventDefault();b=!0}}return!b};function sk(a){pi.call(this);a=s(a)?a:{};this.b=s(a.condition)?a.condition:gg;this.a=s(a.delta)?a.delta:1;this.c=s(a.duration)?a.duration:100}v(sk,pi);sk.prototype.Ca=function(a){var b=!1;if("key"==a.type){var c=a.a.rd;if(this.b(a)&&(43==c||45==c)){b=a.map;c=43==c?this.a:-this.a;b.R();var d=b.a().W();ri(b,d,c,void 0,this.c);a.preventDefault();b=!0}}return!b};function tk(a){a=s(a)?a:{};pi.call(this);this.a=0;this.i=s(a.duration)?a.duration:250;this.c=null;this.e=this.b=void 0}v(tk,pi);tk.prototype.Ca=function(a){var b=!1;if("mousewheel"==a.type){var b=a.map,c=a.a;this.c=a.coordinate;this.a+=c.a;s(this.b)||(this.b=Aa());c=Math.max(80-(Aa()-this.b),0);ea.clearTimeout(this.e);this.e=ea.setTimeout(xa(this.f,this,b),c);a.preventDefault();b=!0}return!b};
tk.prototype.f=function(a){var b=Xb(this.a,-1,1),c=a.a().W();a.R();ri(a,c,-b,this.c,this.i);this.a=0;this.c=null;this.e=this.b=void 0};function uk(a){ti.call(this);a=s(a)?a:{};this.c=null;this.e=void 0;this.a=!1;this.f=0;this.h=s(a.threshold)?a.threshold:0.3}v(uk,ti);uk.prototype.jb=function(a){var b=0,c=this.b[0],d=this.b[1],c=Math.atan2(d.clientY-c.clientY,d.clientX-c.clientX);s(this.e)&&(b=c-this.e,this.f+=b,!this.a&&Math.abs(this.f)>this.h&&(this.a=!0));this.e=c;a=a.map;c=Tc(a.b);d=ui(this.b);d[0]-=c.x;d[1]-=c.y;this.c=a.ya(d);this.a&&(c=a.a().W(),d=hi(c),a.R(),qi(a,c,d.rotation+b,this.c))};
uk.prototype.ab=function(a){if(2>this.b.length){a=a.map;var b=a.a();ug(b,-1);if(this.a){var b=b.W(),c=hi(b).rotation,d=this.c,c=b.constrainRotation(c,0);qi(a,b,c,d,250)}return!1}return!0};uk.prototype.$a=function(a){return 2<=this.b.length?(a=a.map,this.c=null,this.e=void 0,this.a=!1,this.f=0,this.i||ug(a.a(),1),a.R(),!0):!1};function vk(a){a=s(a)?a:{};ti.call(this);this.c=null;this.f=s(a.duration)?a.duration:400;this.a=void 0;this.e=1}v(vk,ti);vk.prototype.jb=function(a){var b=1,c=this.b[0],d=this.b[1],e=c.clientX-d.clientX,c=c.clientY-d.clientY,e=Math.sqrt(e*e+c*c);s(this.a)&&(b=this.a/e);this.a=e;1!=b&&(this.e=b);a=a.map;var e=a.a().W(),c=hi(e),d=Tc(a.b),f=ui(this.b);f[0]-=d.x;f[1]-=d.y;this.c=a.ya(f);a.R();si(a,e,c.resolution*b,this.c)};
vk.prototype.ab=function(a){if(2>this.b.length){a=a.map;var b=a.a();ug(b,-1);var b=b.W(),c=hi(b).resolution,d=this.c,e=this.f,c=b.constrainResolution(c,0,this.e-1);si(a,b,c,d,e);return!1}return!0};vk.prototype.$a=function(a){return 2<=this.b.length?(a=a.map,this.c=null,this.a=void 0,this.e=1,this.i||ug(a.a(),1),a.R(),!0):!1};function wk(a){a=s(a)?a:{};var b=new A,c=new kk(-0.005,0.05,100);(s(a.altShiftDragRotate)?a.altShiftDragRotate:1)&&b.push(new ok);(s(a.doubleClickZoom)?a.doubleClickZoom:1)&&b.push(new mk({delta:a.zoomDelta,duration:a.zoomDuration}));(s(a.dragPan)?a.dragPan:1)&&b.push(new nk({kinetic:c}));(s(a.pinchRotate)?a.pinchRotate:1)&&b.push(new uk);(s(a.pinchZoom)?a.pinchZoom:1)&&b.push(new vk({duration:a.zoomDuration}));if(s(a.keyboard)?a.keyboard:1)b.push(new rk),b.push(new sk({delta:a.zoomDelta,duration:a.zoomDuration}));
(s(a.mouseWheelZoom)?a.mouseWheelZoom:1)&&b.push(new tk({duration:a.zoomDuration}));(s(a.shiftDragZoom)?a.shiftDragZoom:1)&&b.push(new qk);return b};function xk(a){Le.call(this);this.l=bi(a.projection);this.Q=s(a.extent)?a.extent:s(a.projection)?this.l.o():null;this.f=s(a.attributions)?a.attributions:null;this.r=a.logo;this.i=s(a.state)?a.state:1}v(xk,Le);xk.prototype.Vc=fa;xk.prototype.o=k("Q");xk.prototype.a=k("i");function yk(a,b){a.i=b;a.k()};function H(a){Oe.call(this);a=lc(a);a.brightness=s(a.brightness)?a.brightness:0;a.contrast=s(a.contrast)?a.contrast:1;a.hue=s(a.hue)?a.hue:0;a.opacity=s(a.opacity)?a.opacity:1;a.saturation=s(a.saturation)?a.saturation:1;a.visible=s(a.visible)?a.visible:!0;a.maxResolution=s(a.maxResolution)?a.maxResolution:Infinity;a.minResolution=s(a.minResolution)?a.minResolution:0;this.L(a)}v(H,Oe);H.prototype.c=function(){return this.get("brightness")};H.prototype.getBrightness=H.prototype.c;H.prototype.e=function(){return this.get("contrast")};
H.prototype.getContrast=H.prototype.e;H.prototype.f=function(){return this.get("hue")};H.prototype.getHue=H.prototype.f;function zk(a){var b=a.c(),c=a.e(),d=a.f(),e=a.l(),f=a.h(),g=a.Ua(),h=a.b(),m=a.g(),n=a.i();return{layer:a,brightness:s(b)?Xb(b,-1,1):0,contrast:s(c)?Math.max(c,0):1,hue:s(d)?d:0,opacity:s(e)?Xb(e,0,1):1,saturation:s(f)?Math.max(f,0):1,Va:g,visible:s(h)?!!h:!0,maxResolution:s(m)?m:Infinity,minResolution:s(n)?Math.max(n,0):0}}H.prototype.g=function(){return this.get("maxResolution")};
H.prototype.getMaxResolution=H.prototype.g;H.prototype.i=function(){return this.get("minResolution")};H.prototype.getMinResolution=H.prototype.i;H.prototype.l=function(){return this.get("opacity")};H.prototype.getOpacity=H.prototype.l;H.prototype.h=function(){return this.get("saturation")};H.prototype.getSaturation=H.prototype.h;H.prototype.b=function(){return this.get("visible")};H.prototype.getVisible=H.prototype.b;H.prototype.n=function(a){this.s("brightness",a)};H.prototype.setBrightness=H.prototype.n;
H.prototype.p=function(a){this.s("contrast",a)};H.prototype.setContrast=H.prototype.p;H.prototype.r=function(a){this.s("hue",a)};H.prototype.setHue=H.prototype.r;H.prototype.A=function(a){this.s("maxResolution",a)};H.prototype.setMaxResolution=H.prototype.A;H.prototype.B=function(a){this.s("minResolution",a)};H.prototype.setMinResolution=H.prototype.B;H.prototype.F=function(a){this.s("opacity",a)};H.prototype.setOpacity=H.prototype.F;H.prototype.Q=function(a){this.s("saturation",a)};
H.prototype.setSaturation=H.prototype.Q;H.prototype.T=function(a){this.s("visible",a)};H.prototype.setVisible=H.prototype.T;function I(a){var b=s(a)?a:{};a=lc(b);delete a.layers;b=b.layers;H.call(this,a);this.a=null;z(this,Se("layers"),this.Xf,!1,this);s(b)?ja(b)&&(b=new A(Db(b))):b=new A;this.ca(b)}v(I,H);l=I.prototype;l.me=function(){this.b()&&this.k()};
l.Xf=function(){null!==this.a&&(wb(fc(this.a),re),this.a=null);var a=this.Mb();if(null!=a){this.a={add:z(a,"add",this.Wf,!1,this),remove:z(a,"remove",this.Yf,!1,this)};var a=a.a,b,c,d;b=0;for(c=a.length;b<c;b++)d=a[b],this.a[sa(d).toString()]=z(d,["propertychange","change"],this.me,!1,this)}this.k()};l.Wf=function(a){a=a.element;this.a[sa(a).toString()]=z(a,["propertychange","change"],this.me,!1,this);this.k()};l.Yf=function(a){a=sa(a.element).toString();re(this.a[a]);delete this.a[a];this.k()};
l.Mb=function(){return this.get("layers")};I.prototype.getLayers=I.prototype.Mb;I.prototype.ca=function(a){this.s("layers",a)};I.prototype.setLayers=I.prototype.ca;
I.prototype.Gc=function(a){var b=s(a)?a:[],c=b.length;this.Mb().forEach(function(a){a.Gc(b)});a=zk(this);var d,e;for(d=b.length;c<d;c++)e=b[c],e.brightness=Xb(e.brightness+a.brightness,-1,1),e.contrast*=a.contrast,e.hue+=a.hue,e.opacity*=a.opacity,e.saturation*=a.saturation,e.visible=e.visible&&a.visible,e.maxResolution=Math.min(e.maxResolution,a.maxResolution),e.minResolution=Math.max(e.minResolution,a.minResolution);return b};I.prototype.Ua=ca(1);function Ak(a){Hh.call(this,{code:a,units:"m",extent:Bk,global:!0})}v(Ak,Hh);var Ck=6378137*Math.PI,Bk=[-Ck,-Ck,Ck,Ck],Vh=xb("EPSG:3857 EPSG:102100 EPSG:102113 EPSG:900913 urn:ogc:def:crs:EPSG:6.18:3:3857 http://www.opengis.net/gml/srs/epsg.xml#3857".split(" "),function(a){return new Ak(a)});function Wh(a,b,c){var d=a.length;c=1<c?c:2;s(b)||(b=2<c?a.slice():Array(d));for(var e=0;e<d;e+=c)b[e]=6378137*Math.PI*a[e]/180,b[e+1]=6378137*Math.log(Math.tan(Math.PI*(a[e+1]+90)/360));return b}
function Xh(a,b,c){var d=a.length;c=1<c?c:2;s(b)||(b=2<c?a.slice():Array(d));for(var e=0;e<d;e+=c)b[e]=180*a[e]/(6378137*Math.PI),b[e+1]=360*Math.atan(Math.exp(a[e+1]/6378137))/Math.PI-90;return b}Ak.prototype.c=function(a,b){return a/((Math.exp(b[1]/6378137)+Math.exp(-(b[1]/6378137)))/2)};function Dk(a,b){Hh.call(this,{code:a,units:"degrees",extent:Ek,axisOrientation:b,global:!0})}v(Dk,Hh);var Ek=[-180,-90,180,90],Zh=[new Dk("CRS:84"),new Dk("EPSG:4326","neu"),new Dk("urn:ogc:def:crs:EPSG:6.6:4326","neu"),new Dk("urn:ogc:def:crs:OGC:1.3:CRS84"),new Dk("urn:ogc:def:crs:OGC:2:84"),new Dk("http://www.opengis.net/gml/srs/epsg.xml#4326","neu"),new Dk("urn:x-ogc:def:crs:EPSG:4326","neu")];Dk.prototype.c=aa();function Fk(){Qh(Vh);Qh(Zh);Uh()};function J(a){var b=lc(a);delete b.source;H.call(this,b);this.a=a.source;z(this.a,"change",this.dd,!1,this)}v(J,H);J.prototype.Gc=function(a){a=s(a)?a:[];a.push(zk(this));return a};J.prototype.ca=k("a");J.prototype.Ua=function(){return this.a.i};J.prototype.dd=function(){this.k()};function Gk(a,b,c,d,e){He.call(this);this.g=e;this.h=a;this.b=c;this.c=b;this.state=d}v(Gk,He);Gk.prototype.o=k("h");function Hk(a,b,c,d,e,f){Gk.call(this,a,b,c,0,d);this.i=e;this.a=new Image;null!==f&&(this.a.crossOrigin=f);this.f={};this.d=null;this.state=0}v(Hk,Gk);Hk.prototype.e=function(a){if(s(a)){var b=sa(a);if(b in this.f)return this.f[b];a=hc(this.f)?this.a:this.a.cloneNode(!1);return this.f[b]=a}return this.a};Hk.prototype.l=function(){this.state=3;wb(this.d,re);this.d=null;Ie(this,"change")};Hk.prototype.q=function(){this.state=2;wb(this.d,re);this.d=null;Ie(this,"change")};
function Ik(a){0==a.state&&(a.state=1,a.d=[oe(a.a,"error",a.l,!1,a),oe(a.a,"load",a.q,!1,a)],a.a.src=a.i)};function Jk(a){this.minZoom=s(a.minZoom)?a.minZoom:0;this.a=a.resolutions;this.maxZoom=this.a.length-1;this.e=s(a.origin)?a.origin:null;this.g=null;s(a.origins)&&(this.g=a.origins);this.b=null;s(a.tileSizes)&&(this.b=a.tileSizes);this.f=s(a.tileSize)?a.tileSize:null===this.b?256:void 0}var Kk=new Lb(0,0,0);l=Jk.prototype;l.Ec=function(a,b,c,d,e){e=Lk(this,a,e);for(a=a.a-1;a>=this.minZoom;){if(b.call(c,a,Mk(this,e,a,d)))return!0;--a}return!1};l.Ic=k("minZoom");
l.lb=function(a){return null===this.e?this.g[a]:this.e};l.ga=function(a){return this.a[a]};l.Jc=function(a,b,c){return a.a<this.maxZoom?(c=Lk(this,a,c),Mk(this,c,a.a+1,b)):null};function Nk(a,b,c,d){Ok(a,b[0],b[1],c,!1,Kk);var e=Kk.x,f=Kk.y;Ok(a,b[2],b[3],c,!0,Kk);return Qb(e,Kk.x,f,Kk.y,d)}function Mk(a,b,c,d){return Nk(a,b,a.ga(c),d)}function Pk(a,b){var c=a.lb(b.a),d=a.ga(b.a),e=a.la(b.a);return[c[0]+(b.x+0.5)*e*d,c[1]+(b.y+0.5)*e*d]}
function Lk(a,b,c){var d=a.lb(b.a),e=a.ga(b.a);a=a.la(b.a);var f=d[0]+b.x*a*e;b=d[1]+b.y*a*e;return yg(f,b,f+a*e,b+a*e,c)}function Ok(a,b,c,d,e,f){var g=lg(a.a,d,0),h=d/a.ga(g),m=a.lb(g);a=a.la(g);b=h*(b-m[0])/(d*a);c=h*(c-m[1])/(d*a);e?(b=Math.ceil(b)-1,c=Math.ceil(c)-1):(b=Math.floor(b),c=Math.floor(c));return Mb(g,b,c,f)}l.la=function(a){return s(this.f)?this.f:this.b[a]};function Qk(a){xk.call(this,{attributions:a.attributions,extent:a.extent,logo:a.logo,projection:a.projection});this.F=s(a.opaque)?a.opaque:!1;this.tileGrid=s(a.tileGrid)?a.tileGrid:null}v(Qk,xk);l=Qk.prototype;l.zd=ze;l.kd=function(a,b,c,d){var e=!0,f,g,h,m;for(h=d.a;h<=d.c;++h)for(m=d.b;m<=d.d;++m)g=this.hb(c,h,m),a[c]&&a[c][g]||(f=b(c,h,m),null===f?e=!1:(a[c]||(a[c]={}),a[c][g]=f));return e};l.Fc=ca(0);l.hb=Nb;l.pa=k("tileGrid");
function Rk(a,b){var c;if(null===a.tileGrid){if(c=b.i,null===c){c=b.o();for(var d=null===c?360*Fh.degrees/b.f():Math.max(c[2]-c[0],c[3]-c[1]),e=s(void 0)?void 0:256,f=Array((s(void 0)?NaN:42)+1),d=d/e,g=0,h=f.length;g<h;++g)f[g]=d/Math.pow(2,g);c=new Jk({origin:null===c?[0,0]:Ig(c),resolutions:f,tileSize:e});b.i=c}}else c=a.tileGrid;return c}l.kc=function(a,b,c){return Rk(this,c).la(a)};l.$e=fa;function Sk(a,b){Ld.call(this);this.e=a;this.a=b}v(Sk,Ld);Sk.prototype.f=fa;Sk.prototype.q=function(a){2===a.target.state&&Tk(this)};function Tk(a){var b=a.a;b.b()&&1==b.Ua()&&a.e.f.R()}function Uk(a,b){b.zd()&&a.postRenderFunctions.push(ya(function(a,b,e){b=sa(a).toString();a.Ge(e.usedTiles[b])},b))}function Vk(a,b){if(null!=b){var c,d,e;d=0;for(e=b.length;d<e;++d)c=b[d],a[sa(c).toString()]=c}}function Wk(a,b){var c=b.r;s(c)&&(a.logos[c]="")}
function Xk(a,b,c,d){b=sa(b).toString();c=c.toString();b in a?c in a[b]?(a=a[b][c],d.a<a.a&&(a.a=d.a),d.c>a.c&&(a.c=d.c),d.b<a.b&&(a.b=d.b),d.d>a.d&&(a.d=d.d)):a[b][c]=d:(a[b]={},a[b][c]=d)}function Yk(a,b,c,d){return function(e,f,g){e=b.Ib(e,f,g,c,d);return a(e)?e:null}}function Zk(a,b,c){return[b*(Math.round(a[0]/b)+c[0]%2/2),b*(Math.round(a[1]/b)+c[1]%2/2)]}
function $k(a,b,c,d,e,f,g,h,m,n){var p=sa(b).toString();p in a.wantedTiles||(a.wantedTiles[p]={});var q=a.wantedTiles[p];a=a.tileQueue;var r=c.minZoom,u,x,B,y,E,C;s(h)||(h=0);for(C=g;C>=r;--C)for(x=Mk(c,f,C),B=c.ga(C),y=x.a;y<=x.c;++y)for(E=x.b;E<=x.d;++E)g-C<=h?(u=b.Ib(C,y,E,d,e),0==u.state&&(q[u.a.toString()]=!0,u.c()in a.b||bk(a,[u,p,Pk(c,u.a),B])),s(m)&&m.call(n,u)):b.$e(C,y,E)};function al(a){a=s(a)?a:{};this.b=s(a.anchor)?a.anchor:[0.5,0.5];this.d=s(a.anchorOrigin)?a.anchorOrigin:"top-left";this.c=s(a.anchorXUnits)?a.anchorXUnits:"fraction";this.h=s(a.anchorYUnits)?a.anchorYUnits:"fraction";var b=a.src,c=s(a.crossOrigin)?a.crossOrigin:null,d=bl.gb(),e=d.get(b,c);null===e&&(e=new cl(b,c),d.a[c+":"+b]=e,++d.d);this.a=e;this.l=s(a.size)?a.size:null;Ni.call(this,{opacity:s(a.opacity)?a.opacity:1,rotation:s(a.rotation)?a.rotation:0,scale:s(a.scale)?a.scale:1,Ve:void 0,rotateWithView:s(a.rotateWithView)?
a.rotateWithView:!1})}v(al,Ni);l=al.prototype;l.jc=function(){var a=this.b,b=this.Ob();if("fraction"==this.c||"fraction"==this.h){if(null===b)return null;a=this.b.slice();"fraction"==this.c&&(a[0]*=b[0]);"fraction"==this.h&&(a[1]*=b[1])}if("top-left"!=this.d){if(null===b)return null;a===this.b&&(a=this.b.slice());if("top-right"==this.d||"bottom-right"==this.d)a[0]=-a[0]+b[0];if("bottom-left"==this.d||"bottom-right"==this.d)a[1]=-a[1]+b[1]}return a};l.qc=function(){return this.a.a};l.Je=function(){return this.a.d};
l.Ie=function(){var a=this.a;if(null===a.c)if(a.i){var b=a.e[0],c=a.e[1],d=td(b,c);d.fillRect(0,0,b,c);a.c=d.canvas}else a.c=a.a;return a.c};l.lh=function(){return this.a.f};l.Ob=function(){return null===this.l?this.a.e:this.l};l.qe=function(a,b){return z(this.a,"change",a,!1,b)};l.Ke=function(){var a=this.a;if(0==a.d){a.d=1;a.b=[oe(a.a,"error",a.g,!1,a),oe(a.a,"load",a.h,!1,a)];try{a.a.src=a.f}catch(b){a.g()}}};l.Ze=function(a,b){pe(this.a,"change",a,!1,b)};
function cl(a,b){He.call(this);this.c=null;this.a=new Image;null!==b&&(this.a.crossOrigin=b);this.b=null;this.d=0;this.e=null;this.f=a;this.i=!1}v(cl,He);cl.prototype.g=function(){this.d=3;wb(this.b,re);this.b=null;Ie(this,"change")};cl.prototype.h=function(){this.d=2;this.e=[this.a.width,this.a.height];wb(this.b,re);this.b=null;var a=td(1,1);a.drawImage(this.a,0,0);try{a.getImageData(0,0,1,1)}catch(b){this.i=!0}Ie(this,"change")};function bl(){this.a={};this.d=0;this.b=32}ga(bl);
bl.prototype.clear=function(){this.a={};this.d=0};bl.prototype.get=function(a,b){var c=b+":"+a;return c in this.a?this.a[c]:null};function dl(a,b,c,d,e,f,g,h){od(a);0===b&&0===c||qd(a,b,c);1==d&&1==e||rd(a,d,e);0!==f&&sd(a,f);0===g&&0===h||qd(a,g,h);return a}function el(a,b){return a[0]==b[0]&&a[1]==b[1]&&a[4]==b[4]&&a[5]==b[5]&&a[12]==b[12]&&a[13]==b[13]}function fl(a,b,c){var d=a[1],e=a[5],f=a[13],g=b[0];b=b[1];c[0]=a[0]*g+a[4]*b+a[12];c[1]=d*g+e*b+f;return c};function gl(a,b){Ld.call(this);this.f=b;this.b={}}v(gl,Ld);
function hl(a){var b=a.view2DState,c=a.coordinateToPixelMatrix;dl(c,a.size[0]/2,a.size[1]/2,1/b.resolution,-1/b.resolution,-b.rotation,-b.center[0],-b.center[1]);a=a.pixelToCoordinateMatrix;var b=c[0],d=c[1],e=c[2],f=c[3],g=c[4],h=c[5],m=c[6],n=c[7],p=c[8],q=c[9],r=c[10],u=c[11],x=c[12],B=c[13],y=c[14],c=c[15],E=b*h-d*g,C=b*m-e*g,O=b*n-f*g,W=d*m-e*h,na=d*n-f*h,X=e*n-f*m,qa=p*B-q*x,za=p*y-r*x,ab=p*c-u*x,Ya=q*y-r*B,oa=q*c-u*B,Wa=r*c-u*y,Sa=E*Wa-C*oa+O*Ya+W*ab-na*za+X*qa;0!=Sa&&(Sa=1/Sa,a[0]=(h*Wa-m*
oa+n*Ya)*Sa,a[1]=(-d*Wa+e*oa-f*Ya)*Sa,a[2]=(B*X-y*na+c*W)*Sa,a[3]=(-q*X+r*na-u*W)*Sa,a[4]=(-g*Wa+m*ab-n*za)*Sa,a[5]=(b*Wa-e*ab+f*za)*Sa,a[6]=(-x*X+y*O-c*C)*Sa,a[7]=(p*X-r*O+u*C)*Sa,a[8]=(g*oa-h*ab+n*qa)*Sa,a[9]=(-b*oa+d*ab-f*qa)*Sa,a[10]=(x*na-B*O+c*E)*Sa,a[11]=(-p*na+q*O-u*E)*Sa,a[12]=(-g*Ya+h*za-m*qa)*Sa,a[13]=(b*Ya-d*za+e*qa)*Sa,a[14]=(-x*W+B*C-y*E)*Sa,a[15]=(p*W-q*C+r*E)*Sa)}gl.prototype.zc=function(a){return new Sk(this,a)};gl.prototype.G=function(){bc(this.b,function(a){Pd(a)});gl.J.G.call(this)};
function il(a,b){var c=sa(b).toString();if(c in a.b)return a.b[c];var d=a.zc(b);return a.b[c]=d}gl.prototype.Xc=fa;gl.prototype.r=function(a,b){for(var c in this.b)if(!(null!==b&&c in b.layerStates)){var d=this.b[c];delete this.b[c];Pd(d)}};function jl(a){a.postRenderFunctions.push(function(){var a=bl.gb();if(a.d>a.b){var c=0,d,e;for(d in a.a)e=a.a[d],0!==(c++&3)||te(e)||(delete a.a[d],--a.d)}})}
function kl(a,b){for(var c in a.b)if(!(c in b.layerStates)){b.postRenderFunctions.push(xa(a.r,a));break}};function K(a){J.call(this,a)}v(K,J);function L(a){J.call(this,a)}v(L,J);L.prototype.ia=function(){return this.get("preload")};L.prototype.getPreload=L.prototype.ia;L.prototype.ua=function(a){this.s("preload",a)};L.prototype.setPreload=L.prototype.ua;L.prototype.ja=function(){return this.get("useInterimTilesOnError")};L.prototype.getUseInterimTilesOnError=L.prototype.ja;L.prototype.Wa=function(a){this.s("useInterimTilesOnError",a)};L.prototype.setUseInterimTilesOnError=L.prototype.Wa;function M(a){a=s(a)?a:{};var b=lc(a);delete b.style;J.call(this,b);this.Ub=null;this.ua=void 0;s(a.style)&&this.ja(a.style)}v(M,J);M.prototype.Vb=k("Ub");M.prototype.wc=k("ua");M.prototype.ja=function(a){this.Ub=a;this.ua=Ti(a);this.k()};function ll(a,b,c,d,e){this.r={};this.b=a;this.l=b;this.g=c;this.f=d;this.Wa=e;this.i=this.a=this.d=this.Ta=this.ca=this.ha=null;this.A=this.qb=this.Q=this.F=0;this.ia=!1;this.h=this.ja=0;this.Db=!1;this.Ua=0;this.c="";this.n=this.B=this.ua=this.Eb=0;this.T=this.p=this.q=null;this.e=[];this.Va=kd()}
function ml(a,b){if(null!==a.i){var c=Vg(b,2,a.f,a.e),d=a.b,e=a.Va,f=d.globalAlpha;1!=a.A&&(d.globalAlpha=f*a.A);var g=a.ja;a.ia&&(g+=a.Wa);var h,m;h=0;for(m=c.length;h<m;h+=2){var n=c[h]-a.F,p=c[h+1]-a.Q;a.Db&&(n=n+0.5|0,p=p+0.5|0);if(0!==g||1!=a.h){var q=n+a.F,r=p+a.Q;dl(e,q,r,a.h,a.h,g,-q,-r);d.setTransform(e[0],e[1],e[4],e[5],e[12],e[13])}d.drawImage(a.i,n,p,a.Ua,a.qb)}0===g&&1==a.h||d.setTransform(1,0,0,1,0,0);1!=a.A&&(d.globalAlpha=f)}}
function nl(a,b,c,d){var e=0;if(null!==a.T&&""!==a.c){null===a.q||pl(a,a.q);null===a.p||ql(a,a.p);var f=a.T,g=a.b,h=a.Ta;null===h?(g.font=f.font,g.textAlign=f.textAlign,g.textBaseline=f.textBaseline,a.Ta={font:f.font,textAlign:f.textAlign,textBaseline:f.textBaseline}):(h.font!=f.font&&(h.font=g.font=f.font),h.textAlign!=f.textAlign&&(h.textAlign=g.textAlign=f.textAlign),h.textBaseline!=f.textBaseline&&(h.textBaseline=g.textBaseline=f.textBaseline));b=Vg(b,d,a.f,a.e);for(f=a.b;e<c;e+=d){g=b[e]+a.Eb;
h=b[e+1]+a.ua;if(0!==a.B||1!=a.n){var m=dl(a.Va,g,h,a.n,a.n,a.B,-g,-h);f.setTransform(m[0],m[1],m[4],m[5],m[12],m[13])}null===a.p||f.strokeText(a.c,g,h);null===a.q||f.fillText(a.c,g,h)}0===a.B&&1==a.n||f.setTransform(1,0,0,1,0,0)}}function rl(a,b,c,d,e){a=a.b;a.moveTo(b[c],b[c+1]);var f;for(f=c+2;f<d;f+=2)a.lineTo(b[f],b[f+1]);e&&a.lineTo(b[c],b[c+1]);return d}function sl(a,b,c,d){var e=a.b,f,g;f=0;for(g=d.length;f<g;++f)c=rl(a,b,c,d[f],!0),e.closePath();return c}l=ll.prototype;
l.Bc=function(a,b){var c=a.toString(),d=this.r[c];s(d)?d.push(b):this.r[c]=[b]};l.dc=function(a){if(Og(this.g,a.o())){if(null!==this.d||null!==this.a){null===this.d||pl(this,this.d);null===this.a||ql(this,this.a);var b=$g(a,this.f,this.e),c=b[2]-b[0],d=b[3]-b[1],c=Math.sqrt(c*c+d*d),d=this.b;d.beginPath();d.arc(b[0],b[1],c,0,2*Math.PI);null===this.d||d.fill();null===this.a||d.stroke()}""!==this.c&&nl(this,a.Tc(),2,2)}};
l.jd=function(a,b){var c=a.N();if(null!==c&&Og(this.g,c.o())){var d=b.a;s(d)||(d=0);this.Bc(d,function(a){a.Ha(b.c,b.b);a.Tb(b.e);a.sa(b.d);tl[c.D()].call(a,c,null)})}};l.Zd=function(a,b){var c=a.a,d,e;d=0;for(e=c.length;d<e;++d){var f=c[d];tl[f.D()].call(this,f,b)}};l.ic=function(a){var b=a.j;a=a.a;null===this.i||ml(this,b);""!==this.c&&nl(this,b,b.length,a)};l.gc=function(a){var b=a.j;a=a.a;null===this.i||ml(this,b);""!==this.c&&nl(this,b,b.length,a)};
l.ec=function(a){if(Og(this.g,a.o())){if(null!==this.a){ql(this,this.a);var b=$g(a,this.f,this.e),c=this.b;c.beginPath();rl(this,b,0,b.length,!1);c.stroke()}""!==this.c&&(a=ul(a),nl(this,a,2,2))}};l.fc=function(a){var b=a.o();if(Og(this.g,b)){if(null!==this.a){ql(this,this.a);var b=$g(a,this.f,this.e),c=this.b;c.beginPath();var d=a.c,e=0,f,g;f=0;for(g=d.length;f<g;++f)e=rl(this,b,e,d[f],!1);c.stroke()}""!==this.c&&(a=vl(a),nl(this,a,a.length,2))}};
l.Gb=function(a){if(Og(this.g,a.o())){var b;if(null!==this.a||null!==this.d){null===this.d||pl(this,this.d);null===this.a||ql(this,this.a);b=$g(a,this.f,this.e);var c=this.b;c.beginPath();sl(this,b,0,a.c);null===this.d||c.fill();null===this.a||c.stroke()}""!==this.c&&(a=Bh(a),nl(this,a,2,2))}};
l.hc=function(a){if(Og(this.g,a.o())){var b;if(null!==this.a||null!==this.d){null===this.d||pl(this,this.d);null===this.a||ql(this,this.a);b=$g(a,this.f,this.e);var c=this.b,d=a.c,e=0,f,g;f=0;for(g=d.length;f<g;++f){var h=d[f];c.beginPath();e=sl(this,b,e,h);null===this.d||c.fill();null===this.a||c.stroke()}}""!==this.c&&(a=wl(a),nl(this,a,a.length,2))}};
function xl(a){var b=xb(gc(a.r),Number);Hb(b);var c,d,e,f,g;c=0;for(d=b.length;c<d;++c)for(e=a.r[b[c].toString()],f=0,g=e.length;f<g;++f)e[f](a)}function pl(a,b){var c=a.b,d=a.ha;null===d?(c.fillStyle=b.fillStyle,a.ha={fillStyle:b.fillStyle}):d.fillStyle!=b.fillStyle&&(d.fillStyle=c.fillStyle=b.fillStyle)}
function ql(a,b){var c=a.b,d=a.ca;null===d?(c.lineCap=b.lineCap,Cd&&c.setLineDash(b.lineDash),c.lineJoin=b.lineJoin,c.lineWidth=b.lineWidth,c.miterLimit=b.miterLimit,c.strokeStyle=b.strokeStyle,a.ca={lineCap:b.lineCap,lineDash:b.lineDash,lineJoin:b.lineJoin,lineWidth:b.lineWidth,miterLimit:b.miterLimit,strokeStyle:b.strokeStyle}):(d.lineCap!=b.lineCap&&(d.lineCap=c.lineCap=b.lineCap),Cd&&!Jb(d.lineDash,b.lineDash)&&c.setLineDash(d.lineDash=b.lineDash),d.lineJoin!=b.lineJoin&&(d.lineJoin=c.lineJoin=
b.lineJoin),d.lineWidth!=b.lineWidth&&(d.lineWidth=c.lineWidth=b.lineWidth),d.miterLimit!=b.miterLimit&&(d.miterLimit=c.miterLimit=b.miterLimit),d.strokeStyle!=b.strokeStyle&&(d.strokeStyle=c.strokeStyle=b.strokeStyle))}
l.Ha=function(a,b){if(null===a)this.d=null;else{var c=a.a;this.d={fillStyle:Fi(null===c?Ji:c)}}if(null===b)this.a=null;else{var c=b.a,d=b.b,e=b.c,f=b.e,g=b.d,h=b.f;this.a={lineCap:s(d)?d:"round",lineDash:null!=e?e:Ki,lineJoin:s(f)?f:"round",lineWidth:this.l*(s(g)?g:1),miterLimit:s(h)?h:10,strokeStyle:Fi(null===c?Li:c)}}};
l.Tb=function(a){if(null===a)this.i=null;else{var b=a.jc(),c=a.qc(1),d=a.q,e=a.n,f=a.e,g=a.f,h=a.Ob();a=a.p;this.F=b[0];this.Q=b[1];this.qb=h[1];this.i=c;this.A=s(d)?d:1;this.ia=s(e)?e:!1;this.ja=s(f)?f:0;this.h=s(g)?g:1;this.Db=s(a)?a:!1;this.Ua=h[0]}};
l.sa=function(a){if(null===a)this.c="";else{var b=a.d;null===b?this.q=null:(b=b.a,this.q={fillStyle:Fi(null===b?Ji:b)});var c=a.e;if(null===c)this.p=null;else{var b=c.a,d=c.b,e=c.c,f=c.e,g=c.d,c=c.f;this.p={lineCap:s(d)?d:"round",lineDash:null!=e?e:Ki,lineJoin:s(f)?f:"round",lineWidth:this.l*(s(g)?g:1),miterLimit:s(c)?c:10,strokeStyle:Fi(null===b?Li:b)}}var b=a.a,d=a.h,e=a.l,f=a.b,g=a.c,c=a.f,h=a.g;a=a.i;this.T={font:s(b)?b:"10px sans-serif",textAlign:s(h)?h:"center",textBaseline:s(a)?a:"middle"};
this.c=s(c)?c:"";this.Eb=s(d)?this.l*d:0;this.ua=s(e)?this.l*e:0;this.B=s(f)?f:0;this.n=this.l*(s(g)?g:1)}};var tl={Point:ll.prototype.ic,LineString:ll.prototype.ec,Polygon:ll.prototype.Gb,MultiPoint:ll.prototype.gc,MultiLineString:ll.prototype.fc,MultiPolygon:ll.prototype.hc,GeometryCollection:ll.prototype.Zd,Circle:ll.prototype.dc};function yl(a,b){Sk.call(this,a,b);this.F=kd()}v(yl,Sk);yl.prototype.n=function(a,b,c){zl(this,"precompose",c,a,void 0);var d=this.p();if(null!==d){var e=this.l();c.globalAlpha=b.opacity;if(0===a.view2DState.rotation){b=e[13];var f=d.width*e[0],g=d.height*e[5];c.drawImage(d,0,0,+d.width,+d.height,Math.round(e[12]),Math.round(b),Math.round(f),Math.round(g))}else c.setTransform(e[0],e[1],e[4],e[5],e[12],e[13]),c.drawImage(d,0,0),c.setTransform(1,0,0,1,0,0)}zl(this,"postcompose",c,a,void 0)};
function zl(a,b,c,d,e){var f=a.a;ue(f.ka,b)&&(a=s(e)?e:Al(a,d),a=new ll(c,d.pixelRatio,d.extent,a,d.view2DState.rotation),Ie(f,new vi(b,f,a,d,c,null)),xl(a))}function Al(a,b){var c=b.view2DState,d=b.pixelRatio;return dl(a.F,d*b.size[0]/2,d*b.size[1]/2,d/c.resolution,-d/c.resolution,-c.rotation,-c.center[0],-c.center[1])}
var Bl=function(){var a=null,b=null;return function(c){if(null===a){a=td(1,1);b=a.createImageData(1,1);var d=b.data;d[0]=42;d[1]=84;d[2]=126;d[3]=255}var d=a.canvas,e=c[0]<=d.width&&c[1]<=d.height;e||(d.width=c[0],d.height=c[1],d=c[0]-1,c=c[1]-1,a.putImageData(b,d,c),c=a.getImageData(d,c,1,1),e=Jb(b.data,c.data));return e}}();function Cl(a){xk.call(this,{attributions:a.attributions,extent:a.extent,logo:a.logo,projection:a.projection,state:a.state});this.n=s(a.resolutions)?a.resolutions:null}v(Cl,xk);function Dl(a,b){null===a.n||(b=a.n[lg(a.n,b,0)]);return b};function El(a,b){yl.call(this,a,b);this.d=null;this.b=kd()}v(El,yl);El.prototype.f=function(a,b,c,d){var e=this.a;return e.a.Vc(b.extent,b.view2DState.resolution,b.view2DState.rotation,a,function(a){return c.call(d,a,e)})};El.prototype.p=function(){return null===this.d?null:this.d.e()};El.prototype.l=k("b");
El.prototype.c=function(a){var b=a.pixelRatio,c=a.view2DState,d=c.center,e=c.resolution,f=c.rotation,g=this.a.a,h=a.viewHints;h[0]||h[1]||(c=g.Nb(a.extent,e,b,c.projection),null!==c&&(h=c.state,0==h?(oe(c,"change",this.q,!1,this),Ik(c)):2==h&&(this.d=c)));if(null!==this.d){var c=this.d,h=c.o(),m=c.c,n=c.b,e=b*m/(e*n);dl(this.b,b*a.size[0]/2,b*a.size[1]/2,e,e,f,n*(h[0]-d[0])/m,n*(d[1]-h[3])/m);Vk(a.attributions,c.g);Wk(a,g)}};function Fl(a,b){yl.call(this,a,b);this.d=this.g=null;this.h=!1;this.r=null;this.A=kd();this.B=NaN;this.i=this.b=null}v(Fl,yl);Fl.prototype.p=k("g");Fl.prototype.l=k("A");
Fl.prototype.c=function(a){var b=a.pixelRatio,c=a.view2DState,d=c.projection,e=this.a,f=e.a,g=Rk(f,d),h=f.Fc(),m=lg(g.a,c.resolution,0),n=f.kc(m,a.pixelRatio,d),p=g.ga(m),q=p/(n/g.la(m)),r=c.center,u;p==c.resolution?(r=Zk(r,p,a.size),u=Kg(r,p,c.rotation,a.size)):u=a.extent;var x=Nk(g,u,p),B=n*(x.c-x.a+1),y=n*(x.d-x.b+1),E,C;null===this.g?(C=td(B,y),this.g=C.canvas,this.d=[B,y],this.r=C,this.h=!Bl(this.d)):(E=this.g,C=this.r,this.d[0]<B||this.d[1]<y||this.h&&(this.d[0]>B||this.d[1]>y)?(E.width=B,E.height=
y,this.d=[B,y],this.h=!Bl(this.d),this.b=null):(B=this.d[0],y=this.d[1],m==this.B&&this.b.a<=x.a&&x.c<=this.b.c&&this.b.b<=x.b&&x.d<=this.b.d||(this.b=null)));var O,W;null===this.b?(B/=n,y/=n,O=x.a-Math.floor((B-(x.c-x.a+1))/2),W=x.b-Math.floor((y-(x.d-x.b+1))/2),this.B=m,this.b=new Pb(O,O+B-1,W,W+y-1),this.i=Array(B*y),y=this.b):(y=this.b,B=y.c-y.a+1);E={};E[m]={};var na=[],X=xa(f.kd,f,E,Yk(function(a){return null!==a&&2==a.state},f,b,d)),qa=e.ja();s(qa)||(qa=!0);var za=wg(),ab=new Pb(0,0,0,0),Ya,
oa,Wa;for(W=x.a;W<=x.c;++W)for(Wa=x.b;Wa<=x.d;++Wa)oa=f.Ib(m,W,Wa,b,d),O=oa.state,2==O||4==O||3==O&&!qa?E[m][oa.a.toString()]=oa:(Ya=g.Ec(oa.a,X,null,ab,za),Ya||(na.push(oa),Ya=g.Jc(oa.a,ab,za),null===Ya||X(m+1,Ya)));X=0;for(Ya=na.length;X<Ya;++X)oa=na[X],W=n*(oa.a.x-y.a),Wa=n*(y.d-oa.a.y),C.clearRect(W,Wa,n,n);na=xb(gc(E),Number);Hb(na);var Sa=f.F,Pc=Mg(Lk(g,new Lb(m,y.a,y.d),za)),cc,tc,Yh,Hg,Ke,pk,X=0;for(Ya=na.length;X<Ya;++X)if(cc=na[X],n=f.kc(cc,b,d),Hg=E[cc],cc==m)for(Yh in Hg)oa=Hg[Yh],tc=
(oa.a.y-y.b)*B+(oa.a.x-y.a),this.i[tc]!=oa&&(W=n*(oa.a.x-y.a),Wa=n*(y.d-oa.a.y),O=oa.state,4!=O&&(3!=O||qa)&&Sa||C.clearRect(W,Wa,n,n),2==O&&C.drawImage(oa.b(),h,h,n,n,W,Wa,n,n),this.i[tc]=oa);else for(Yh in cc=g.ga(cc)/p,Hg)for(oa=Hg[Yh],tc=Lk(g,oa.a,za),W=(tc[0]-Pc[0])/q,Wa=(Pc[1]-tc[3])/q,pk=cc*n,Ke=cc*n,O=oa.state,4!=O&&Sa||C.clearRect(W,Wa,pk,Ke),2==O&&C.drawImage(oa.b(),h,h,n,n,W,Wa,pk,Ke),oa=Mk(g,tc,m,ab),O=Math.max(oa.a,y.a),Wa=Math.min(oa.c,y.c),W=Math.max(oa.b,y.b),oa=Math.min(oa.d,y.d);O<=
Wa;++O)for(Ke=W;Ke<=oa;++Ke)tc=(Ke-y.b)*B+(O-y.a),this.i[tc]=void 0;Xk(a.usedTiles,f,m,x);$k(a,f,g,b,d,u,m,e.ia());Uk(a,f);Wk(a,f);dl(this.A,b*a.size[0]/2,b*a.size[1]/2,b*q/c.resolution,b*q/c.resolution,c.rotation,(Pc[0]-r[0])/q,(r[1]-Pc[1])/q)};var Gl=["Polygon","LineString","Image","Text"];function Hl(a,b,c){this.Ta=a;this.Q=b;this.e=0;this.resolution=c;this.B=this.A=null;this.d=[];this.coordinates=[];this.ha=kd();this.a=[];this.T=[];this.c=wg();this.ca=kd()}
function Il(a,b,c,d,e,f){var g=a.coordinates.length,h=a.ld(),m=[b[c],b[c+1]],n=[NaN,NaN],p=!0,q,r,u;for(q=c+e;q<d;q+=e){n[0]=b[q];n[1]=b[q+1];u=h[1];var x=h[2],B=h[3],y=n[0],E=n[1],C=0;y<h[0]?C=C|16:y>x&&(C=C|4);E<u?C|=8:E>B&&(C|=2);0===C&&(C=1);u=C;u!==r?(p&&(a.coordinates[g++]=m[0],a.coordinates[g++]=m[1]),a.coordinates[g++]=n[0],a.coordinates[g++]=n[1],p=!1):1===u?(a.coordinates[g++]=n[0],a.coordinates[g++]=n[1],p=!1):p=!0;m[0]=n[0];m[1]=n[1];r=u}q===c+e&&(a.coordinates[g++]=m[0],a.coordinates[g++]=
m[1]);f&&(a.coordinates[g++]=b[c],a.coordinates[g++]=b[c+1]);return g}function Jl(a,b,c){a.A=[0,b,c,0];a.d.push(a.A);a.B=[0,b,c,0];a.a.push(a.B)}
function Kl(a,b,c,d,e,f,g,h){var m;el(d,a.ha)?m=a.T:(m=Vg(a.coordinates,2,d,a.T),nd(a.ha,d));d=0;var n=g.length,p=0,q;for(a=a.ca;d<n;){var r=g[d],u,x,B,y,E;switch(r[0]){case 0:q=r[2];q=sa(q).toString();s(w(f,q))?d=r[3]:++d;break;case 1:b.beginPath();++d;break;case 2:q=m[p];x=m[p+1];var C=m[p+2]-q,r=m[p+3]-x;b.arc(q,x,Math.sqrt(C*C+r*r),0,2*Math.PI,!0);p+=4;++d;break;case 3:b.closePath();++d;break;case 4:p=r[1];q=r[2];u=r[3];y=r[4]*c;var O=r[5]*c,W=r[6]*c;B=r[7];x=r[9];var C=r[10],na=r[11],X=r[12]*
c;for(r[8]&&(x+=e);p<q;p+=2){r=m[p]-y;E=m[p+1]-O;na&&(r=r+0.5|0,E=E+0.5|0);if(1!=C||0!==x){var qa=r+y,za=E+O;dl(a,qa,za,C,C,x,-qa,-za);b.setTransform(a[0],a[1],a[4],a[5],a[12],a[13])}qa=b.globalAlpha;1!=B&&(b.globalAlpha=qa*B);b.drawImage(u,r,E,X,W);1!=B&&(b.globalAlpha=qa);1==C&&0===x||b.setTransform(1,0,0,1,0,0)}++d;break;case 5:p=r[1];q=r[2];y=r[3];O=r[4]*c;W=r[5]*c;x=r[6];C=r[7]*c;u=r[8];for(B=r[9];p<q;p+=2){r=m[p]+O;E=m[p+1]+W;if(1!=C||0!==x)dl(a,r,E,C,C,x,-r,-E),b.setTransform(a[0],a[1],a[4],
a[5],a[12],a[13]);B&&b.strokeText(y,r,E);u&&b.fillText(y,r,E);1==C&&0===x||b.setTransform(1,0,0,1,0,0)}++d;break;case 6:if(s(h)&&(x=r[1],q=r[2],q=h(x,q)))return q;++d;break;case 7:b.fill();++d;break;case 8:p=r[1];q=r[2];b.moveTo(m[p],m[p+1]);for(p+=2;p<q;p+=2)b.lineTo(m[p],m[p+1]);++d;break;case 9:b.fillStyle=r[1];++d;break;case 10:b.strokeStyle=r[1];b.lineWidth=r[2]*c;b.lineCap=r[3];b.lineJoin=r[4];b.miterLimit=r[5];Cd&&b.setLineDash(r[6]);++d;break;case 11:b.font=r[1];b.textAlign=r[2];b.textBaseline=
r[3];++d;break;case 12:b.stroke();++d;break;default:++d}}}function Ll(a){var b=a.a;b.reverse();var c,d=b.length,e,f,g=-1;for(c=0;c<d;++c)if(e=b[c],f=e[0],6==f)g=c;else if(0==f){e[3]=c;e=a.a;for(f=c;g<f;){var h=e[g];e[g]=e[f];e[f]=h;++g;--f}g=-1}}function Ml(a,b,c){a.A[3]=a.d.length;a.A=null;a.B[3]=a.a.length;a.B=null;b=[6,b,c];a.d.push(b);a.a.push(b)}Hl.prototype.Uc=fa;Hl.prototype.ld=k("Q");Hl.prototype.o=k("c");
function Nl(a,b,c){Hl.call(this,a,b,c);this.i=this.F=null;this.r=this.p=this.n=this.q=this.l=this.h=this.g=this.f=this.b=void 0}v(Nl,Hl);Nl.prototype.ic=function(a,b){if(null!==this.i){Fg(this.c,a.o());Jl(this,a,b);var c=a.j,d=this.coordinates.length,c=Il(this,c,0,c.length,a.a,!1);this.d.push([4,d,c,this.i,this.b,this.f,this.g,this.h,this.l,this.q,this.n,this.p,this.r]);this.a.push([4,d,c,this.F,this.b,this.f,this.g,this.h,this.l,this.q,this.n,this.p,this.r]);Ml(this,a,b)}};
Nl.prototype.gc=function(a,b){if(null!==this.i){Fg(this.c,a.o());Jl(this,a,b);var c=a.j,d=this.coordinates.length,c=Il(this,c,0,c.length,a.a,!1);this.d.push([4,d,c,this.i,this.b,this.f,this.g,this.h,this.l,this.q,this.n,this.p,this.r]);this.a.push([4,d,c,this.F,this.b,this.f,this.g,this.h,this.l,this.q,this.n,this.p,this.r]);Ml(this,a,b)}};Nl.prototype.Uc=function(){Ll(this);this.f=this.b=void 0;this.i=this.F=null;this.r=this.p=this.q=this.l=this.h=this.n=this.g=void 0};
Nl.prototype.Tb=function(a){var b=a.jc(),c=a.Ob(),d=a.Ie(1),e=a.qc(1);this.b=b[0];this.f=b[1];this.F=d;this.i=e;this.g=c[1];this.h=a.q;this.l=a.n;this.q=a.e;this.n=a.f;this.p=a.p;this.r=c[0]};function Ol(a,b,c){Hl.call(this,a,b,c);this.b={ac:void 0,Wb:void 0,Xb:null,Yb:void 0,Zb:void 0,$b:void 0,ud:0,strokeStyle:void 0,lineCap:void 0,lineDash:null,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0}}v(Ol,Hl);
function Pl(a,b,c,d,e){var f=a.coordinates.length;b=Il(a,b,c,d,e,!1);f=[8,f,b];a.d.push(f);a.a.push(f);return d}l=Ol.prototype;l.ld=function(){var a=this.Q;this.e&&(a=zg(a,this.resolution*(this.e+1)/2));return a};
function Ql(a){var b=a.b,c=b.strokeStyle,d=b.lineCap,e=b.lineDash,f=b.lineJoin,g=b.lineWidth,h=b.miterLimit;b.ac==c&&b.Wb==d&&Jb(b.Xb,e)&&b.Yb==f&&b.Zb==g&&b.$b==h||(b.ud!=a.coordinates.length&&(a.d.push([12]),b.ud=a.coordinates.length),a.d.push([10,c,g,d,f,h,e],[1]),b.ac=c,b.Wb=d,b.Xb=e,b.Yb=f,b.Zb=g,b.$b=h)}
l.ec=function(a,b){var c=this.b,d=c.lineWidth;s(c.strokeStyle)&&s(d)&&(Fg(this.c,a.o()),Ql(this),Jl(this,a,b),this.a.push([10,c.strokeStyle,c.lineWidth,c.lineCap,c.lineJoin,c.miterLimit,c.lineDash],[1]),c=a.j,Pl(this,c,0,c.length,a.a),this.a.push([12]),Ml(this,a,b))};
l.fc=function(a,b){var c=this.b,d=c.lineWidth;if(s(c.strokeStyle)&&s(d)){Fg(this.c,a.o());Ql(this);Jl(this,a,b);this.a.push([10,c.strokeStyle,c.lineWidth,c.lineCap,c.lineJoin,c.miterLimit,c.lineDash],[1]);var c=a.c,d=a.j,e=a.a,f=0,g,h;g=0;for(h=c.length;g<h;++g)f=Pl(this,d,f,c[g],e);this.a.push([12]);Ml(this,a,b)}};l.Uc=function(){this.b.ud!=this.coordinates.length&&this.d.push([12]);Ll(this);this.b=null};
l.Ha=function(a,b){var c=b.a;this.b.strokeStyle=Fi(null===c?Li:c);c=b.b;this.b.lineCap=s(c)?c:"round";c=b.c;this.b.lineDash=null===c?Ki:c;c=b.e;this.b.lineJoin=s(c)?c:"round";c=b.d;this.b.lineWidth=s(c)?c:1;c=b.f;this.b.miterLimit=s(c)?c:10;this.e=Math.max(this.e,this.b.lineWidth)};
function Rl(a,b,c){Hl.call(this,a,b,c);this.b={Xd:void 0,ac:void 0,Wb:void 0,Xb:null,Yb:void 0,Zb:void 0,$b:void 0,fillStyle:void 0,strokeStyle:void 0,lineCap:void 0,lineDash:null,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0}}v(Rl,Hl);
function Sl(a,b,c,d,e){var f=a.b,g=[1];a.d.push(g);a.a.push(g);var h,g=0;for(h=d.length;g<h;++g){var m=d[g],n=a.coordinates.length;c=Il(a,b,c,m,e,!0);c=[8,n,c];n=[3];a.d.push(c,n);a.a.push(c,n);c=m}b=[7];a.a.push(b);s(f.fillStyle)&&a.d.push(b);s(f.strokeStyle)&&(f=[12],a.d.push(f),a.a.push(f));return c}l=Rl.prototype;
l.dc=function(a,b){var c=this.b,d=c.strokeStyle;if(s(c.fillStyle)||s(d)){Fg(this.c,a.o());Tl(this);Jl(this,a,b);this.a.push([9,Fi(Ji)]);s(c.strokeStyle)&&this.a.push([10,c.strokeStyle,c.lineWidth,c.lineCap,c.lineJoin,c.miterLimit,c.lineDash]);d=a.j;Il(this,d,0,d.length,a.a,!1);var d=[1],e=[2];this.d.push(d,e);this.a.push(d,e);Ml(this,a,b);d=[7];this.a.push(d);s(c.fillStyle)&&this.d.push(d);s(c.strokeStyle)&&(c=[12],this.d.push(c),this.a.push(c))}};
l.Gb=function(a,b){var c=this.b,d=c.strokeStyle;if(s(c.fillStyle)||s(d))Fg(this.c,a.o()),Tl(this),Jl(this,a,b),this.a.push([9,Fi(Ji)]),s(c.strokeStyle)&&this.a.push([10,c.strokeStyle,c.lineWidth,c.lineCap,c.lineJoin,c.miterLimit,c.lineDash]),c=a.c,d=Ah(a),Sl(this,d,0,c,a.a),Ml(this,a,b)};
l.hc=function(a,b){var c=this.b,d=c.strokeStyle;if(s(c.fillStyle)||s(d)){Fg(this.c,a.o());Tl(this);Jl(this,a,b);this.a.push([9,Fi(Ji)]);s(c.strokeStyle)&&this.a.push([10,c.strokeStyle,c.lineWidth,c.lineCap,c.lineJoin,c.miterLimit,c.lineDash]);var c=a.c,d=Ul(a),e=a.a,f=0,g,h;g=0;for(h=c.length;g<h;++g)f=Sl(this,d,f,c[g],e);Ml(this,a,b)}};l.Uc=function(){Ll(this);this.b=null;var a=this.Ta;if(0!==a){var b=this.coordinates,c,d;c=0;for(d=b.length;c<d;++c)b[c]=a*Math.round(b[c]/a)}};
l.ld=function(){var a=this.Q;this.e&&(a=zg(a,this.resolution*(this.e+1)/2));return a};
l.Ha=function(a,b){var c=this.b;if(null===a)c.fillStyle=void 0;else{var d=a.a;c.fillStyle=Fi(null===d?Ji:d)}null===b?(c.strokeStyle=void 0,c.lineCap=void 0,c.lineDash=null,c.lineJoin=void 0,c.lineWidth=void 0,c.miterLimit=void 0):(d=b.a,c.strokeStyle=Fi(null===d?Li:d),d=b.b,c.lineCap=s(d)?d:"round",d=b.c,c.lineDash=null===d?Ki:d.slice(),d=b.e,c.lineJoin=s(d)?d:"round",d=b.d,c.lineWidth=s(d)?d:1,d=b.f,c.miterLimit=s(d)?d:10,this.e=Math.max(this.e,c.lineWidth))};
function Tl(a){var b=a.b,c=b.fillStyle,d=b.strokeStyle,e=b.lineCap,f=b.lineDash,g=b.lineJoin,h=b.lineWidth,m=b.miterLimit;s(c)&&b.Xd!=c&&(a.d.push([9,c]),b.Xd=b.fillStyle);!s(d)||b.ac==d&&b.Wb==e&&b.Xb==f&&b.Yb==g&&b.Zb==h&&b.$b==m||(a.d.push([10,d,h,e,g,m,f]),b.ac=d,b.Wb=e,b.Xb=f,b.Yb=g,b.Zb=h,b.$b=m)}function Vl(a,b,c){Hl.call(this,a,b,c);this.F=this.r=this.p=null;this.i="";this.n=this.q=this.l=this.h=0;this.g=this.f=this.b=null}v(Vl,Hl);
Vl.prototype.eb=function(a,b,c,d,e,f){if(""!==this.i&&null!==this.g&&(null!==this.b||null!==this.f)){Gg(this.c,a,b,c,d);if(null!==this.b){var g=this.b,h=this.p;if(null===h||h.fillStyle!=g.fillStyle){var m=[9,g.fillStyle];this.d.push(m);this.a.push(m);null===h?this.p={fillStyle:g.fillStyle}:h.fillStyle=g.fillStyle}}null!==this.f&&(g=this.f,h=this.r,null===h||h.lineCap!=g.lineCap||h.lineDash!=g.lineDash||h.lineJoin!=g.lineJoin||h.lineWidth!=g.lineWidth||h.miterLimit!=g.miterLimit||h.strokeStyle!=g.strokeStyle)&&
(m=[10,g.strokeStyle,g.lineWidth,g.lineCap,g.lineJoin,g.miterLimit,g.lineDash],this.d.push(m),this.a.push(m),null===h?this.r={lineCap:g.lineCap,lineDash:g.lineDash,lineJoin:g.lineJoin,lineWidth:g.lineWidth,miterLimit:g.miterLimit,strokeStyle:g.strokeStyle}:(h.lineCap=g.lineCap,h.lineDash=g.lineDash,h.lineJoin=g.lineJoin,h.lineWidth=g.lineWidth,h.miterLimit=g.miterLimit,h.strokeStyle=g.strokeStyle));g=this.g;h=this.F;if(null===h||h.font!=g.font||h.textAlign!=g.textAlign||h.textBaseline!=g.textBaseline)m=
[11,g.font,g.textAlign,g.textBaseline],this.d.push(m),this.a.push(m),null===h?this.F={font:g.font,textAlign:g.textAlign,textBaseline:g.textBaseline}:(h.font=g.font,h.textAlign=g.textAlign,h.textBaseline=g.textBaseline);Jl(this,e,f);g=this.coordinates.length;a=Il(this,a,b,c,d,!1);a=[5,g,a,this.i,this.h,this.l,this.q,this.n,null!==this.b,null!==this.f];this.d.push(a);this.a.push(a);Ml(this,e,f)}};
Vl.prototype.sa=function(a){if(null===a)this.i="";else{var b=a.d;null===b?this.b=null:(b=b.a,b=Fi(null===b?Ji:b),null===this.b?this.b={fillStyle:b}:this.b.fillStyle=b);var c=a.e;if(null===c)this.f=null;else{var b=c.a,d=c.b,e=c.c,f=c.e,g=c.d,c=c.f,d=s(d)?d:"round",e=null!=e?e.slice():Ki,f=s(f)?f:"round",g=s(g)?g:1,c=s(c)?c:10,b=Fi(null===b?Li:b);if(null===this.f)this.f={lineCap:d,lineDash:e,lineJoin:f,lineWidth:g,miterLimit:c,strokeStyle:b};else{var h=this.f;h.lineCap=d;h.lineDash=e;h.lineJoin=f;h.lineWidth=
g;h.miterLimit=c;h.strokeStyle=b}}var m=a.a,b=a.h,d=a.l,e=a.b,g=a.c,c=a.f,f=a.g,h=a.i;a=s(m)?m:"10px sans-serif";f=s(f)?f:"center";h=s(h)?h:"middle";null===this.g?this.g={font:a,textAlign:f,textBaseline:h}:(m=this.g,m.font=a,m.textAlign=f,m.textBaseline=h);this.i=s(c)?c:"";this.h=s(b)?b:0;this.l=s(d)?d:0;this.q=s(e)?e:0;this.n=s(g)?g:1}};function Wl(a,b,c){this.f=a;this.d=b;this.e=c;this.a={};this.b=td(1,1);this.c=kd()}
function Xl(a,b,c,d,e,f,g){var h=xb(gc(a.a),Number);Hb(h);a:{var m=a.d,n=m[0],p=m[1],q=m[2],m=m[3],n=Vg([n,p,n,m,q,m,q,p],2,e);b.save();b.beginPath();b.moveTo(n[0],n[1]);b.lineTo(n[2],n[3]);b.lineTo(n[4],n[5]);b.lineTo(n[6],n[7]);b.closePath();b.clip();for(var r,u,n=0,p=h.length;n<p;++n)for(r=a.a[h[n].toString()],q=0,m=Gl.length;q<m;++q)if(u=r[Gl[q]],s(u)&&Og(c,u.o())&&(u=Kl(u,b,d,e,f,g,u.d,void 0)))break a;b.restore()}}
function Yl(a,b,c,d,e,f,g,h){var m,n,p,q,r;m=0;for(n=b.length;m<n;++m)for(q in p=a.a[b[m].toString()],p)if(r=p[q],Og(d,r.o())&&(r=Kl(r,c,1,e,f,g,r.a,h)))return r}function Zl(a,b,c,d,e,f,g){var h=a.c;dl(h,0.5,0.5,1/c,-1/c,-d,-e[0],-e[1]);c=xb(gc(a.a),Number);Hb(c,function(a,b){return b-a});var m=a.b;m.clearRect(0,0,1,1);return Yl(a,c,m,b,h,d,f,function(a,b){if(0<m.getImageData(0,0,1,1).data[3]){var c=g(a,b);if(c)return c;m.clearRect(0,0,1,1)}})}
function $l(a){for(var b in a.a){var c=a.a[b],d;for(d in c)c[d].Uc()}}function am(a,b,c){var d=s(b)?b.toString():"0";b=a.a[d];s(b)||(b={},a.a[d]=b);d=b[c];s(d)||(d=new bm[c](a.f,a.d,a.e),b[c]=d);return d}Wl.prototype.ma=function(){return hc(this.a)};var bm={Image:Nl,LineString:Ol,Polygon:Rl,Text:Vl};function cm(a,b,c){Wg.call(this);this.Gd(a,s(b)?b:0,c)}v(cm,Wg);l=cm.prototype;l.H=function(){var a=new cm(null),b=this.j.slice();Yg(a,this.b,b);a.k();return a};l.wa=function(a,b,c,d){var e=this.j;a-=e[0];var f=b-e[1];b=a*a+f*f;if(b<d){if(0===b)for(d=0;d<this.a;++d)c[d]=e[d];else for(d=this.yd()/Math.sqrt(b),c[0]=e[0]+d*a,c[1]=e[1]+d*f,d=2;d<this.a;++d)c[d]=e[d];c.length=this.a;return b}return d};l.rb=function(a,b){var c=this.j,d=a-c[0],c=b-c[1];return d*d+c*c<=dm(this)};
l.Tc=function(){return this.j.slice(0,this.a)};l.o=function(a){if(this.f!=this.d){var b=this.j,c=b[this.a]-b[0];this.extent=yg(b[0]-c,b[1]-c,b[0]+c,b[1]+c,this.extent);this.f=this.d}return Qg(this.extent,a)};l.yd=function(){return Math.sqrt(dm(this))};function dm(a){var b=a.j[a.a]-a.j[0];a=a.j[a.a+1]-a.j[1];return b*b+a*a}l.Y=function(){return this};l.D=ca("Circle");l.ye=function(a){var b=this.a,c=this.j[b]-this.j[0],d=a.slice();d[b]=d[0]+c;for(c=1;c<b;++c)d[b+c]=a[c];Yg(this,this.b,d);this.k()};
l.Gd=function(a,b,c){if(null===a)Yg(this,"XY",null);else{Zg(this,c,a,0);null===this.j&&(this.j=[]);c=this.j;a=ih(c,a);c[a++]=c[0]+b;var d;b=1;for(d=this.a;b<d;++b)c[a++]=c[b];c.length=a}this.k()};l.Ue=function(a){this.j[this.a]=this.j[0]+a;this.k()};function em(a){Ug.call(this);this.a=s(a)?a:null;fm(this)}v(em,Ug);function gm(a){var b=[],c,d;c=0;for(d=a.length;c<d;++c)b.push(a[c].H());return b}function hm(a){var b,c;if(null!==a.a)for(b=0,c=a.a.length;b<c;++b)pe(a.a[b],"change",a.k,!1,a)}function fm(a){var b,c;if(null!==a.a)for(b=0,c=a.a.length;b<c;++b)z(a.a[b],"change",a.k,!1,a)}l=em.prototype;l.H=function(){var a=new em(null);a.Id(this.a);return a};
l.wa=function(a,b,c,d){if(d<Bg(this.o(),a,b))return d;var e=this.a,f,g;f=0;for(g=e.length;f<g;++f)d=e[f].wa(a,b,c,d);return d};l.rb=function(a,b){var c=this.a,d,e;d=0;for(e=c.length;d<e;++d)if(c[d].rb(a,b))return!0;return!1};l.o=function(a){if(this.f!=this.d){var b=Dg(this.extent),c=this.a,d,e;d=0;for(e=c.length;d<e;++d)Fg(b,c[d].o());this.extent=b;this.f=this.d}return Qg(this.extent,a)};l.ee=function(){return gm(this.a)};
l.Y=function(a){this.l!=this.d&&(ic(this.g),this.i=0,this.l=this.d);if(0>a||0!==this.i&&a<this.i)return this;var b=a.toString();if(this.g.hasOwnProperty(b))return this.g[b];var c=[],d=this.a,e=!1,f,g;f=0;for(g=d.length;f<g;++f){var h=d[f],m=h.Y(a);c.push(m);m!==h&&(e=!0)}if(e)return a=new em(null),hm(a),a.a=c,fm(a),a.k(),this.g[b]=a;this.i=a;return this};l.D=ca("GeometryCollection");l.ma=function(){return 0==this.a.length};l.Id=function(a){a=gm(a);hm(this);this.a=a;fm(this);this.k()};
l.transform=function(a){var b=this.a,c,d;c=0;for(d=b.length;c<d;++c)b[c].transform(a);this.k()};l.G=function(){hm(this);em.J.G.call(this)};function im(a,b,c,d,e){var f=NaN,g=NaN,h=(c-b)/d;if(0!==h)if(1==h)f=a[b],g=a[b+1];else if(2==h)f=0.5*a[b]+0.5*a[b+d],g=0.5*a[b+1]+0.5*a[b+d+1];else{var g=a[b],h=a[b+1],m=0,f=[0],n;for(n=b+d;n<c;n+=d){var p=a[n],q=a[n+1],m=m+Math.sqrt((p-g)*(p-g)+(q-h)*(q-h));f.push(m);g=p;h=q}c=0.5*m;for(var r,g=Ib,h=0,m=f.length;h<m;)n=h+m>>1,p=g(c,f[n]),0<p?h=n+1:(m=n,r=!p);r=r?h:~h;0>r?(c=(c-f[-r-2])/(f[-r-1]-f[-r-2]),b+=(-r-2)*d,f=a[b]+c*(a[b+d]-a[b]),g=a[b+1]+c*(a[b+d+1]-a[b+1])):(f=a[b+r*d],g=a[b+r*d+1])}return null!=
e?(e.push(f,g),e):[f,g]}function jm(a,b,c,d,e,f){if(c==b)return null;if(e<a[b+d-1])return f?(c=a.slice(b,b+d),c[d-1]=e,c):null;if(a[c-1]<e)return f?(c=a.slice(c-d,c),c[d-1]=e,c):null;if(e==a[b+d-1])return a.slice(b,b+d);b/=d;for(c/=d;b<c;)f=b+c>>1,e<a[(f+1)*d-1]?c=f:b=f+1;c=a[b*d-1];if(e==c)return a.slice((b-1)*d,(b-1)*d+d);f=(e-c)/(a[(b+1)*d-1]-c);c=[];var g;for(g=0;g<d-1;++g)c.push(a[(b-1)*d+g]+f*(a[b*d+g]-a[(b-1)*d+g]));c.push(e);return c}
function km(a,b,c,d,e,f){var g=0;if(f)return jm(a,g,b[b.length-1],c,d,e);if(d<a[c-1])return e?(a=a.slice(0,c),a[c-1]=d,a):null;if(a[a.length-1]<d)return e?(a=a.slice(a.length-c),a[c-1]=d,a):null;e=0;for(f=b.length;e<f;++e){var h=b[e];if(g!=h){if(d<a[g+c-1])break;else if(d<=a[h-1])return jm(a,g,h,c,d,!1);g=h}}return null};function N(a,b){Wg.call(this);this.c=null;this.q=this.n=this.h=-1;this.I(a,b)}v(N,Wg);l=N.prototype;l.Pd=function(a){null===this.j?this.j=a.slice():kg(this.j,a);this.k()};l.H=function(){var a=new N(null);lm(a,this.b,this.j.slice());return a};l.wa=function(a,b,c,d){if(d<Bg(this.o(),a,b))return d;this.q!=this.d&&(this.n=Math.sqrt(eh(this.j,0,this.j.length,this.a,0)),this.q=this.d);return gh(this.j,0,this.j.length,this.a,this.n,!1,a,b,c,d)};
l.ze=function(a,b){return"XYM"!=this.b&&"XYZM"!=this.b?null:jm(this.j,0,this.j.length,this.a,a,s(b)?b:!1)};l.C=function(){return lh(this.j,0,this.j.length,this.a)};l.Ae=function(){var a=this.j,b=this.a,c=a[0],d=a[1],e=0,f;for(f=0+b;f<this.j.length;f+=b)var g=a[f],h=a[f+1],e=e+Math.sqrt((g-c)*(g-c)+(h-d)*(h-d)),c=g,d=h;return e};function ul(a){a.h!=a.d&&(a.c=im(a.j,0,a.j.length,a.a,a.c),a.h=a.d);return a.c}
l.Hb=function(a){var b=[];b.length=nh(this.j,0,this.j.length,this.a,a,b,0);a=new N(null);lm(a,"XY",b);return a};l.D=ca("LineString");l.I=function(a,b){null===a?lm(this,"XY",null):(Zg(this,b,a,1),null===this.j&&(this.j=[]),this.j.length=jh(this.j,0,a,this.a),this.k())};function lm(a,b,c){Yg(a,b,c);a.k()};function P(a,b){Wg.call(this);this.c=[];this.h=this.q=-1;this.I(a,b)}v(P,Wg);l=P.prototype;l.Qd=function(a){null===this.j?this.j=a.j.slice():kg(this.j,a.j.slice());this.c.push(this.j.length);this.k()};l.H=function(){var a=new P(null);mm(a,this.b,this.j.slice(),this.c.slice());return a};l.wa=function(a,b,c,d){if(d<Bg(this.o(),a,b))return d;this.h!=this.d&&(this.q=Math.sqrt(fh(this.j,0,this.c,this.a,0)),this.h=this.d);return hh(this.j,0,this.c,this.a,this.q,!1,a,b,c,d)};
l.Ce=function(a,b,c){return"XYM"!=this.b&&"XYZM"!=this.b||0===this.j.length?null:km(this.j,this.c,this.a,a,s(b)?b:!1,s(c)?c:!1)};l.C=function(){return mh(this.j,0,this.c,this.a)};l.he=function(a){if(0>a||this.c.length<=a)return null;var b=new N(null);lm(b,this.b,this.j.slice(0===a?0:this.c[a-1],this.c[a]));return b};l.Hc=function(){var a=this.j,b=this.c,c=this.b,d=[],e=0,f,g;f=0;for(g=b.length;f<g;++f){var h=b[f],m=new N(null);lm(m,c,a.slice(e,h));d.push(m);e=h}return d};
function vl(a){var b=[],c=a.j,d=0,e=a.c;a=a.a;var f,g;f=0;for(g=e.length;f<g;++f){var h=e[f],d=im(c,d,h,a);kg(b,d);d=h}return b}l.Hb=function(a){var b=[],c=[],d=this.j,e=this.c,f=this.a,g=0,h=0,m,n;m=0;for(n=e.length;m<n;++m){var p=e[m],h=nh(d,g,p,f,a,b,h);c.push(h);g=p}b.length=h;a=new P(null);mm(a,"XY",b,c);return a};l.D=ca("MultiLineString");
l.I=function(a,b){if(null===a)mm(this,"XY",null,this.c);else{Zg(this,b,a,2);null===this.j&&(this.j=[]);var c=kh(this.j,0,a,this.a,this.c);this.j.length=0===c.length?0:c[c.length-1];this.k()}};function mm(a,b,c,d){Yg(a,b,c);a.c=d;a.k()}function nm(a,b){var c="XY",d=[],e=[],f,g;f=0;for(g=b.length;f<g;++f){var h=b[f];0===f&&(c=h.b);kg(d,h.j);e.push(d.length)}mm(a,c,d,e)};function Q(a,b){Wg.call(this);this.I(a,b)}v(Q,Wg);l=Q.prototype;l.Sd=function(a){null===this.j?this.j=a.j.slice():kg(this.j,a.j);this.k()};l.H=function(){var a=new Q(null),b=this.j.slice();Yg(a,this.b,b);a.k();return a};l.wa=function(a,b,c,d){if(d<Bg(this.o(),a,b))return d;var e=this.j,f=this.a,g,h,m;g=0;for(h=e.length;g<h;g+=f)if(m=ch(a,b,e[g],e[g+1]),m<d){d=m;for(m=0;m<f;++m)c[m]=e[g+m];c.length=f}return d};l.C=function(){return lh(this.j,0,this.j.length,this.a)};
l.je=function(a){var b=null===this.j?0:this.j.length/this.a;if(0>a||b<=a)return null;b=new rh(null);sh(b,this.b,this.j.slice(a*this.a,(a+1)*this.a));return b};l.pd=function(){var a=this.j,b=this.b,c=this.a,d=[],e,f;e=0;for(f=a.length;e<f;e+=c){var g=new rh(null);sh(g,b,a.slice(e,e+c));d.push(g)}return d};l.D=ca("MultiPoint");l.I=function(a,b){null===a?Yg(this,"XY",null):(Zg(this,b,a,1),null===this.j&&(this.j=[]),this.j.length=jh(this.j,0,a,this.a));this.k()};function R(a,b){Wg.call(this);this.c=[];this.q=-1;this.n=null;this.A=this.p=this.r=-1;this.h=null;this.I(a,b)}v(R,Wg);l=R.prototype;l.Td=function(a){if(null===this.j)this.j=a.j.slice(),a=a.c.slice(),this.c.push();else{var b=this.j.length;kg(this.j,a.j);a=a.c.slice();var c,d;c=0;for(d=a.length;c<d;++c)a[c]+=b}this.c.push(a);this.k()};l.H=function(){var a=new R(null);om(a,this.b,this.j.slice(),this.c.slice());return a};
l.wa=function(a,b,c,d){if(d<Bg(this.o(),a,b))return d;if(this.p!=this.d){var e=this.c,f=0,g=0,h,m;h=0;for(m=e.length;h<m;++h)var n=e[h],g=fh(this.j,f,n,this.a,g),f=n[n.length-1];this.r=Math.sqrt(g);this.p=this.d}e=Ul(this);f=this.c;g=this.a;h=this.r;m=0;var n=s(void 0)?void 0:[NaN,NaN],p,q;p=0;for(q=f.length;p<q;++p){var r=f[p];d=hh(e,m,r,g,h,!0,a,b,c,d,n);m=r[r.length-1]}return d};
l.rb=function(a,b){var c;a:{c=Ul(this);var d=this.c,e=0;if(0!==d.length){var f,g;f=0;for(g=d.length;f<g;++f){var h=d[f];if(uh(c,e,h,this.a,a,b)){c=!0;break a}e=h[h.length-1]}}c=!1}return c};l.De=function(){var a=Ul(this),b=this.c,c=0,d=0,e,f;e=0;for(f=b.length;e<f;++e)var g=b[e],d=d+bh(a,c,g,this.a),c=g[g.length-1];return d};l.C=function(){var a=this.j,b=this.c,c=this.a,d=0,e=s(void 0)?void 0:[],f=0,g,h;g=0;for(h=b.length;g<h;++g){var m=b[g];e[f++]=mh(a,d,m,c,e[f]);d=m[m.length-1]}e.length=f;return e};
function wl(a){if(a.q!=a.d){var b=a.j,c=a.c,d=a.a,e=0,f=[],g,h,m=wg();g=0;for(h=c.length;g<h;++g){var n=c[g],m=b,p=n[0],q=d,r=Dg(void 0),m=Gg(r,m,e,p,q);f.push((m[0]+m[2])/2,(m[1]+m[3])/2);e=n[n.length-1]}b=Ul(a);c=a.c;d=a.a;g=0;h=[];n=0;for(m=c.length;n<m;++n)e=c[n],h=vh(b,g,e,d,f,2*n,h),g=e[e.length-1];a.n=h;a.q=a.d}return a.n}l.ge=function(){var a=new Q(null),b=wl(this).slice();Yg(a,"XY",b);a.k();return a};
function Ul(a){if(a.A!=a.d){var b=a.j,c;a:{c=a.c;var d,e;d=0;for(e=c.length;d<e;++d)if(!xh(b,c[d],a.a)){c=!1;break a}c=!0}if(c)a.h=b;else{a.h=b.slice();c=b=a.h;d=a.c;e=a.a;var f=0,g,h;g=0;for(h=d.length;g<h;++g)f=yh(c,f,d[g],e);b.length=f}a.A=a.d}return a.h}l.Hb=function(a){var b=[],c=[],d=this.j,e=this.c,f=this.a;a=Math.sqrt(a);var g=0,h=0,m,n;m=0;for(n=e.length;m<n;++m){var p=e[m],q=[],h=oh(d,g,p,f,a,b,h,q);c.push(q);g=p[p.length-1]}b.length=h;d=new R(null);om(d,"XY",b,c);return d};
l.ke=function(a){if(0>a||this.c.length<=a)return null;var b;0===a?b=0:(b=this.c[a-1],b=b[b.length-1]);a=this.c[a].slice();var c=a[a.length-1];if(0!==b){var d,e;d=0;for(e=a.length;d<e;++d)a[d]-=b}d=new D(null);zh(d,this.b,this.j.slice(b,c),a);return d};l.qd=function(){var a=this.b,b=this.j,c=this.c,d=[],e=0,f,g,h,m;f=0;for(g=c.length;f<g;++f){var n=c[f].slice(),p=n[n.length-1];if(0!==e)for(h=0,m=n.length;h<m;++h)n[h]-=e;h=new D(null);zh(h,a,b.slice(e,p),n);d.push(h);e=p}return d};l.D=ca("MultiPolygon");
l.I=function(a,b){if(null===a)om(this,"XY",null,this.c);else{Zg(this,b,a,3);null===this.j&&(this.j=[]);var c=this.j,d=this.a,e=this.c,f=0,e=s(e)?e:[],g=0,h,m;h=0;for(m=a.length;h<m;++h)f=kh(c,f,a[h],d,e[g]),e[g++]=f,f=f[f.length-1];e.length=g;c=e[e.length-1];this.j.length=0===c.length?0:c[c.length-1];this.k()}};function om(a,b,c,d){Yg(a,b,c);a.c=d;a.k()}
function pm(a,b){var c="XY",d=[],e=[],f,g,h;f=0;for(g=b.length;f<g;++f){var m=b[f];0===f&&(c=m.b);var n=d.length;h=m.c;var p,q;p=0;for(q=h.length;p<q;++p)h[p]+=n;kg(d,m.j);e.push(h)}om(a,c,d,e)};function qm(a,b){return sa(a)-sa(b)}function rm(a,b,c,d,e,f,g){var h=!1,m,n;m=c.e;null===m?sm(a,b,c,d,e):(n=m.Je(),2==n||3==n?(m.Ze(f,g),2==n&&sm(a,b,c,d,e)):(0==n&&m.Ke(),m.qe(f,g),h=!0));return h}function sm(a,b,c,d,e){b=b.N();null!==b&&(d=b.Y(d),(0,tm[d.D()])(a,d,c,e))}
var tm={Point:function(a,b,c,d){var e=c.e;if(null!==e){var f=am(a,c.a,"Image");f.Tb(e);f.ic(b,d)}e=c.d;null!==e&&(a=am(a,c.a,"Text"),a.sa(e),a.eb(b.C(),0,2,2,b,d))},LineString:function(a,b,c,d){var e=c.b;if(null!==e){var f=am(a,c.a,"LineString");f.Ha(null,e);f.ec(b,d)}e=c.d;null!==e&&(a=am(a,c.a,"Text"),a.sa(e),a.eb(ul(b),0,2,2,b,d))},Polygon:function(a,b,c,d){var e=c.c,f=c.b;if(null!==e||null!==f){var g=am(a,c.a,"Polygon");g.Ha(e,f);g.Gb(b,d)}e=c.d;null!==e&&(a=am(a,c.a,"Text"),a.sa(e),a.eb(Bh(b),
0,2,2,b,d))},MultiPoint:function(a,b,c,d){var e=c.e;if(null!==e){var f=am(a,c.a,"Image");f.Tb(e);f.gc(b,d)}e=c.d;null!==e&&(a=am(a,c.a,"Text"),a.sa(e),c=b.j,a.eb(c,0,c.length,b.a,b,d))},MultiLineString:function(a,b,c,d){var e=c.b;if(null!==e){var f=am(a,c.a,"LineString");f.Ha(null,e);f.fc(b,d)}e=c.d;null!==e&&(a=am(a,c.a,"Text"),a.sa(e),c=vl(b),a.eb(c,0,c.length,2,b,d))},MultiPolygon:function(a,b,c,d){var e=c.c,f=c.b;if(null!==f||null!==e){var g=am(a,c.a,"Polygon");g.Ha(e,f);g.hc(b,d)}e=c.d;null!==
e&&(a=am(a,c.a,"Text"),a.sa(e),c=wl(b),a.eb(c,0,c.length,2,b,d))},GeometryCollection:function(a,b,c,d){b=b.a;var e,f;e=0;for(f=b.length;e<f;++e)(0,tm[b[e].D()])(a,b[e],c,d)},Circle:function(a,b,c,d){var e=c.c,f=c.b;if(null!==e||null!==f){var g=am(a,c.a,"Polygon");g.Ha(e,f);g.dc(b,d)}e=c.d;null!==e&&(a=am(a,c.a,"Text"),a.sa(e),a.eb(b.Tc(),0,2,2,b,d))}};function um(a,b,c,d){this.extent=a;this.height=b;this.a=c;this.value=d}function vm(a,b){return a.extent[0]-b.extent[0]}function wm(a,b){return a.extent[1]-b.extent[1]}function xm(a,b,c,d){a=a.a;for(d=Dg(d);b<c;++b)Fg(d,a[b].extent);return d}um.prototype.remove=function(a,b,c){var d=this.a,e=d.length,f,g;if(1==this.height)for(g=0;g<e;++g){if(f=d[g],f.value===b)return ub.splice.call(d,g,1),!0}else for(g=0;g<e;++g)if(f=d[g],Cg(f.extent,a)){c.push(f);if(f.remove(a,b,c))return!0;c.pop()}return!1};
function ym(a){var b=Dg(a.extent);a=a.a;var c,d;c=0;for(d=a.length;c<d;++c)Fg(b,a[c].extent)}function zm(a){this.b=Math.max(4,s(a)?a:9);this.c=Math.max(2,Math.ceil(0.4*this.b));this.a=new um(wg(),1,[],null);this.d={}}function Am(a,b,c){var d=b.a;a=a.c;var e=d.length;Hb(d,c);c=xm(b,0,a);var f=xm(b,e-a,e),g=Ng(c)+Lg(c)+(Ng(f)+Lg(f));for(b=a;b<e-a;++b)Fg(c,d[b].extent),g+=Ng(c)+Lg(c);for(b=e-a-1;b>=a;--b)Fg(f,d[b].extent),g+=Ng(f)+Lg(f);return g}l=zm.prototype;
l.clear=function(){var a=this.a;a.extent=Dg(this.a.extent);a.height=1;a.a.length=0;a.value=null;ic(this.d)};l.forEach=function(a,b){return Bm(this.a,a,b)};function Bm(a,b,c){for(var d=[a],e,f,g;0<d.length;)if(a=d.pop(),e=a.a,1==a.height)for(a=0,f=e.length;a<f;++a){if(g=b.call(c,e[a].value))return g}else d.push.apply(d,e)}function Cm(a,b,c){Dm(a,b,c,void 0)}
function Dm(a,b,c,d){a=[a.a];for(var e;0<a.length;)if(e=a.pop(),Og(b,e.extent))if(null===e.a){if(e=c.call(d,e.value))return e}else if(Cg(b,e.extent)){if(e=Bm(e,c,d))return e}else a.push.apply(a,e.a)}function Em(a){var b=[];a.forEach(function(a){b.push(a)});return b}function Fm(a,b){var c=[];Dm(a,b,function(a){c.push(a)},void 0);return c}l.o=function(a){return Qg(this.a.extent,a)};function Gm(a,b,c){var d=sa(c).toString();Hm(a,b,c,a.a.height-1);a.d[d]=Ag(b)}
function Hm(a,b,c,d){for(var e=[a.a],f=a.a;null!==f.a&&e.length-1!=d;){var g=Infinity,h=Infinity,f=f.a,m=null,n,p;n=0;for(p=f.length;n<p;++n){var q=f[n],r=Ng(q.extent)*Lg(q.extent),u=q.extent,x=b,B=Math.min(u[0],x[0]),y=Math.min(u[1],x[1]),E=Math.max(u[2],x[2]),u=Math.max(u[3],x[3]),B=(E-B)*(u-y)-r;B<h?(h=B,g=Math.min(r,g),m=q):B==h&&r<g&&(g=r,m=q)}f=m;e.push(f)}d=f;d.a.push(new um(b,0,null,c));Fg(d.extent,b);for(c=e.length-1;0<=c;--c)if(e[c].a.length>a.b){g=a;h=e;f=c;d=h[f];p=g;m=d;n=Am(p,m,vm);
p=Am(p,m,wm);n<p&&Hb(m.a,vm);m=d;n=g.c;p=m.a.length;r=q=Infinity;B=wg();y=wg();E=0;u=void 0;for(u=n;u<=p-n;++u){var B=xm(m,0,u,B),y=xm(m,u,p,y),C=B,O=y,x=Math.max(C[0],O[0]),W=Math.max(C[1],O[1]),na=Math.min(C[2],O[2]),C=Math.min(C[3],O[3]),x=Math.max(0,na-x)*Math.max(0,C-W),W=Ng(B)*Lg(B)+Ng(y)*Lg(y);x<q?(q=x,r=Math.min(W,r),E=u):x==q&&W<r&&(r=W,E=u)}m=d.a.splice(E);m=new um(wg(),d.height,m,null);ym(d);ym(m);f?h[f-1].a.push(m):(h=m,f=d.height+1,m=Fg(d.extent.slice(),h.extent),g.a=new um(m,f,[d,h],
null))}else break;for(;0<=c;--c)Fg(e[c].extent,b)}l.ma=function(){return 0===this.a.a.length};l.remove=function(a){var b=sa(a).toString(),c=this.d[b];delete this.d[b];return Im(this,c,a)};function Im(a,b,c){var d=a.a,e=[d];if(b=d.remove(b,c,e))for(c=e.length-1;0<=c;--c)d=e[c],0===d.a.length?0<c?Bb(e[c-1].a,d):a.clear():ym(d);return b}l.update=function(a,b){var c=sa(b).toString(),d=this.d[c];Eg(d,a)||(Im(this,d,b),Hm(this,a,b,this.a.height-1),this.d[c]=Ag(a,d))};function Jm(a){a=s(a)?a:{};xk.call(this,{attributions:a.attributions,extent:a.extent,logo:a.logo,projection:a.projection,state:a.state});this.b=new zm;this.c={};this.q={};s(a.features)&&this.va(a.features)}v(Jm,xk);l=Jm.prototype;l.Da=function(a){Km(this,a);this.k()};function Km(a,b){var c=sa(b).toString();a.q[c]=[z(b,"change",a.He,!1,a),z(b,"propertychange",a.He,!1,a)];c=b.N();null===c?a.c[sa(b).toString()]=b:(c=c.o(),Gm(a.b,c,b));Ie(a,new Lm("addfeature",b))}l.Ja=function(a){this.va(a);this.k()};
l.va=function(a){var b,c;b=0;for(c=a.length;b<c;++b)Km(this,a[b])};l.clear=function(){this.b.forEach(this.Fd,this);this.b.clear();bc(this.c,this.Fd,this);ic(this.c);this.k()};l.La=function(a,b){return this.b.forEach(a,b)};function Mm(a,b,c){a.oa([b[0],b[1],b[0],b[1]],function(a){if(a.N().rb(b[0],b[1]))return c.call(void 0,a)})}l.oa=function(a,b,c){return Dm(this.b,a,b,c)};l.Dc=function(a,b,c,d){return this.oa(a,c,d)};l.Ea=function(){var a=Em(this.b);hc(this.c)||Eb(a,fc(this.c));return a};
l.za=function(a){var b=[];Mm(this,a,function(a){b.push(a)});return b};l.Ma=function(a){var b=a[0],c=a[1],d=null,e=[NaN,NaN],f=Infinity,g=[-Infinity,-Infinity,Infinity,Infinity];Dm(this.b,g,function(a){var m=a.N(),n=f;f=m.wa(b,c,e,f);f<n&&(d=a,a=Math.sqrt(f),g[0]=b-a,g[1]=c-a,g[2]=b+a,g[3]=c+a)},void 0);return d};l.o=function(){return this.b.o()};
l.He=function(a){a=a.target;var b=sa(a).toString(),c=a.N();null===c?b in this.c||(this.b.remove(a),this.c[b]=a):(c=c.o(),b in this.c?(delete this.c[b],Gm(this.b,c,a)):this.b.update(c,a));this.k()};l.ma=function(){return this.b.ma()&&hc(this.c)};l.vd=fa;l.Ra=function(a){var b=sa(a).toString();b in this.c?delete this.c[b]:this.b.remove(a);this.Fd(a);this.k()};l.Fd=function(a){var b=sa(a).toString();wb(this.q[b],re);delete this.q[b];Ie(this,new Lm("removefeature",a))};
function Lm(a,b){Qd.call(this,a);this.feature=b}v(Lm,Qd);function Nm(a,b){yl.call(this,a,b);this.b=!1;this.h=-1;this.i=NaN;this.r=wg();this.d=this.A=null;this.g=td()}v(Nm,yl);
Nm.prototype.n=function(a,b,c){var d=Al(this,a);zl(this,"precompose",c,a,d);var e=this.d;if(null!==e&&!e.ma()){var f;ue(this.a.ka,"render")?(this.g.canvas.width=c.canvas.width,this.g.canvas.height=c.canvas.height,f=this.g):f=c;f.globalAlpha=b.opacity;Xl(e,f,a.extent,a.pixelRatio,d,a.view2DState.rotation,a.skippedFeatureUids_);f!=c&&(zl(this,"render",f,a,d),c.drawImage(f.canvas,0,0))}zl(this,"postcompose",c,a,d)};
Nm.prototype.f=function(a,b,c,d){if(null!==this.d){var e=this.a;return Zl(this.d,b.extent,b.view2DState.resolution,b.view2DState.rotation,a,b.skippedFeatureUids_,function(a,b){return c.call(d,b,e)})}};Nm.prototype.B=function(){Tk(this)};
Nm.prototype.c=function(a){var b=this.a,c=b.a;Vk(a.attributions,c.f);Wk(a,c);if(this.b||!a.viewHints[0]&&!a.viewHints[1]){var d=a.extent,e=a.view2DState,f=e.projection,g=e.resolution,h=a.pixelRatio;a=b.d;e=b.get("renderOrder");s(e)||(e=qm);if(this.b||this.i!=g||this.h!=a||this.A!=e||!Cg(this.r,d)){var m=this.r,n=Ng(d)/4,p=Lg(d)/4;m[0]=d[0]-n;m[1]=d[1]-p;m[2]=d[2]+n;m[3]=d[3]+p;Pd(this.d);this.d=null;this.b=!1;var q=b.ua;s(q)||(q=Si);var r=new Wl(g/(2*h),m,g);c.vd(m,g,f);b=function(a){var b=q(a,g);
if(null!=b){var c=g*g/(4*h*h),d,e,f=!1;d=0;for(e=b.length;d<e;++d)f=rm(r,a,b[d],c,a,this.B,this)||f;a=f}else a=!1;this.b=this.b||a};if(null===e)c.Dc(m,g,b,this);else{var u=[];c.Dc(m,g,function(a){u.push(a)},this);Hb(u,e);wb(u,b,this)}$l(r);this.i=g;this.h=a;this.A=e;this.d=r}}};function Om(a,b){gl.call(this,0,b);this.g=td();this.a=this.g.canvas;this.a.style.width="100%";this.a.style.height="100%";this.a.className="ol-unselectable";Dc(a,this.a,0);this.d=!0;this.i=kd()}v(Om,gl);Om.prototype.zc=function(a){return a instanceof K?new El(this,a):a instanceof L?new Fl(this,a):a instanceof M?new Nm(this,a):null};
function Pm(a,b,c){var d=a.f,e=a.g;if(ue(d.ka,b)){var f=c.view2DState,g=c.pixelRatio;dl(a.i,a.a.width/2,a.a.height/2,g/f.resolution,-g/f.resolution,-f.rotation,-f.center[0],-f.center[1]);a=new ll(e,g,c.extent,a.i,f.rotation);Ie(d,new vi(b,d,a,c,e,null));xl(a)}}
Om.prototype.Xc=function(a){if(null===a)this.d&&(Yc(this.a,!1),this.d=!1);else{var b=this.g,c=a.size[0]*a.pixelRatio,d=a.size[1]*a.pixelRatio;this.a.width!=c||this.a.height!=d?(this.a.width=c,this.a.height=d):b.clearRect(0,0,this.a.width,this.a.height);hl(a);Pm(this,"precompose",a);var c=a.layerStatesArray,d=a.view2DState.resolution,e,f,g,h;e=0;for(f=c.length;e<f;++e)h=c[e],g=h.layer,g=il(this,g),!h.visible||(1!=h.Va||d>=h.maxResolution||d<h.minResolution)||(g.c(a,h),g.n(a,h,b));Pm(this,"postcompose",
a);this.d||(Yc(this.a,!0),this.d=!0);kl(this,a);jl(a)}};function Qm(a,b,c){Sk.call(this,a,b);this.target=c}v(Qm,Sk);function Rm(a,b){var c=zc("DIV");c.style.position="absolute";Qm.call(this,a,b,c);this.d=null;this.b=md()}v(Rm,Qm);Rm.prototype.f=function(a,b,c,d){var e=this.a;return e.a.Vc(b.extent,b.view2DState.resolution,b.view2DState.rotation,a,function(a){return c.call(d,a,e)})};
Rm.prototype.c=function(a){var b=a.view2DState,c=b.center,d=b.resolution,e=b.rotation,f=this.d,g=this.a.a,h=a.viewHints;h[0]||h[1]||(b=g.Nb(a.extent,d,a.pixelRatio,b.projection),null!==b&&(h=b.state,0==h?(oe(b,"change",this.q,!1,this),Ik(b)):2==h&&(f=b)));if(null!==f){var h=f.o(),m=f.c,b=kd();dl(b,a.size[0]/2,a.size[1]/2,m/d,m/d,e,(h[0]-c[0])/m,(c[1]-h[3])/m);f!=this.d&&(c=f.e(this),c.style.maxWidth="none",c.style.position="absolute",Bc(this.target),this.target.appendChild(c),this.d=f);el(b,this.b)||
(xd(this.target,b),nd(this.b,b));Vk(a.attributions,f.g);Wk(a,g)}};function Sm(a,b){var c=zc("DIV");c.style.position="absolute";Qm.call(this,a,b,c);this.b=!0;this.i=1;this.g=0;this.d={}}v(Sm,Qm);
Sm.prototype.c=function(a,b){if(b.visible){var c=a.pixelRatio,d=a.view2DState,e=d.projection,f=this.a,g=f.a,h=Rk(g,e),m=g.Fc(),n=lg(h.a,d.resolution,0),p=h.ga(n),q=d.center,r;p==d.resolution?(q=Zk(q,p,a.size),r=Kg(q,p,d.rotation,a.size)):r=a.extent;var p=Nk(h,r,p),u={};u[n]={};var x=xa(g.kd,g,u,Yk(function(a){return null!==a&&2==a.state},g,c,e)),B=f.ja();s(B)||(B=!0);var y=wg(),E=new Pb(0,0,0,0),C,O,W,na;for(W=p.a;W<=p.c;++W)for(na=p.b;na<=p.d;++na)C=g.Ib(n,W,na,c,e),O=C.state,2==O?u[n][C.a.toString()]=
C:4==O||3==O&&!B||(O=h.Ec(C.a,x,null,E,y),O||(C=h.Jc(C.a,E,y),null===C||x(n+1,C)));var X;if(this.g!=g.d){for(X in this.d)B=this.d[+X],Ec(B.target);this.d={};this.g=g.d}y=xb(gc(u),Number);Hb(y);var x={},qa;W=0;for(na=y.length;W<na;++W){X=y[W];X in this.d?B=this.d[X]:(B=Ok(h,q[0],q[1],h.ga(X),!1,void 0),B=new Tm(h,B),x[X]=!0,this.d[X]=B);X=u[X];for(qa in X)Um(B,X[qa],m);Vm(B)}m=xb(gc(this.d),Number);Hb(m);W=kd();qa=0;for(y=m.length;qa<y;++qa)if(X=m[qa],B=this.d[X],X in u)if(C=B.g,na=B.f,dl(W,a.size[0]/
2,a.size[1]/2,C/d.resolution,C/d.resolution,d.rotation,(na[0]-q[0])/C,(q[1]-na[1])/C),Wm(B,W),X in x){for(X-=1;0<=X;--X)if(X in this.d){Cc(B.target,this.d[X].target);break}0>X&&Dc(this.target,B.target,0)}else a.viewHints[0]||a.viewHints[1]||Xm(B,r,E);else Ec(B.target),delete this.d[X];b.opacity!=this.i&&(Xc(this.target,b.opacity),this.i=b.opacity);b.visible&&!this.b&&(Yc(this.target,!0),this.b=!0);Xk(a.usedTiles,g,n,p);$k(a,g,h,c,e,r,n,f.ia());Uk(a,g);Wk(a,g)}else this.b&&(Yc(this.target,!1),this.b=
!1)};function Tm(a,b){this.target=zc("DIV");this.target.style.position="absolute";this.target.style.width="100%";this.target.style.height="100%";this.c=a;this.b=b;this.f=Mg(Lk(a,b));this.g=a.ga(b.a);this.d={};this.a=null;this.e=md()}
function Um(a,b,c){var d=b.a,e=d.toString();if(!(e in a.d)){var f=a.c.la(d.a),g=b.b(a),h=g.style;h.maxWidth="none";var m,n;0<c?(m=zc("DIV"),n=m.style,n.overflow="hidden",n.width=f+"px",n.height=f+"px",h.position="absolute",h.left=-c+"px",h.top=-c+"px",h.width=f+2*c+"px",h.height=f+2*c+"px",m.appendChild(g)):(h.width=f+"px",h.height=f+"px",m=g,n=h);n.position="absolute";n.left=(d.x-a.b.x)*f+"px";n.top=(a.b.y-d.y)*f+"px";null===a.a&&(a.a=document.createDocumentFragment());a.a.appendChild(m);a.d[e]=
b}}function Vm(a){null!==a.a&&(a.target.appendChild(a.a),a.a=null)}function Xm(a,b,c){var d=Mk(a.c,b,a.b.a,c);b=[];for(var e in a.d)c=a.d[e],d.contains(c.a)||b.push(c);var f,d=0;for(f=b.length;d<f;++d)c=b[d],e=c.a.toString(),Ec(c.b(a)),delete a.d[e]}function Wm(a,b){el(b,a.e)||(xd(a.target,b),nd(a.e,b))};function Ym(a,b){gl.call(this,0,b);this.a=zc("DIV");this.a.className="ol-unselectable";var c=this.a.style;c.position="absolute";c.width="100%";c.height="100%";Dc(a,this.a,0);this.d=!0}v(Ym,gl);Ym.prototype.zc=function(a){if(a instanceof K)a=new Rm(this,a);else if(a instanceof L)a=new Sm(this,a);else return null;return a};
Ym.prototype.Xc=function(a){if(null===a)this.d&&(Yc(this.a,!1),this.d=!1);else{var b;b=function(a,b){Dc(this.a,a,b)};var c=a.layerStatesArray,d,e,f,g;d=0;for(e=c.length;d<e;++d)g=c[d],f=g.layer,f=il(this,f),b.call(this,f.target,d),1==g.Va&&f.c(a,g);b=a.layerStates;for(var h in this.b)h in b||(f=this.b[h],Ec(f.target));this.d||(Yc(this.a,!0),this.d=!0);hl(a);kl(this,a);jl(a)}};function Zm(){}l=Zm.prototype;l.Bc=ba();l.dc=ba();l.jd=ba();l.Zd=ba();l.ic=ba();l.ec=ba();l.fc=ba();l.gc=ba();l.hc=ba();l.Gb=ba();l.eb=ba();l.Ha=ba();l.Tb=ba();l.sa=ba();function $m(){this.g=kd();this.d=void 0;this.a=kd();this.c=void 0;this.b=kd();this.f=void 0;this.e=kd();this.h=void 0;this.i=kd()}
function an(a,b,c,d,e){var f=!1;s(b)&&b!==a.d&&(f=a.a,od(f),f[12]=b,f[13]=b,f[14]=b,f[15]=1,a.d=b,f=!0);if(s(c)&&c!==a.c){f=a.b;od(f);f[0]=c;f[5]=c;f[10]=c;f[15]=1;var g=-0.5*c+0.5;f[12]=g;f[13]=g;f[14]=g;f[15]=1;a.c=c;f=!0}s(d)&&d!==a.f&&(f=Math.cos(d),g=Math.sin(d),ld(a.e,0.213+0.787*f-0.213*g,0.213-0.213*f+0.143*g,0.213-0.213*f-0.787*g,0,0.715-0.715*f-0.715*g,0.715+0.285*f+0.14*g,0.715-0.715*f+0.715*g,0,0.072-0.072*f+0.928*g,0.072-0.072*f-0.283*g,0.072+0.928*f+0.072*g,0,0,0,0,1),a.f=d,f=!0);s(e)&&
e!==a.h&&(ld(a.i,0.213+0.787*e,0.213-0.213*e,0.213-0.213*e,0,0.715-0.715*e,0.715+0.285*e,0.715-0.715*e,0,0.072-0.072*e,0.072-0.072*e,0.072+0.928*e,0,0,0,0,1),a.h=e,f=!0);f&&(f=a.g,od(f),s(c)&&pd(f,a.b,f),s(b)&&pd(f,a.a,f),s(e)&&pd(f,a.i,f),s(d)&&pd(f,a.e,f));return a.g};function bn(a){this.a=a}function cn(a){this.a=a}v(cn,bn);cn.prototype.D=ca(35632);function dn(a){this.a=a}v(dn,bn);dn.prototype.D=ca(35633);function en(){this.a="precision mediump float;varying vec2 a;uniform mat4 f;uniform float g;uniform sampler2D h;void main(void){vec4 texColor\x3dtexture2D(h,a);gl_FragColor.rgb\x3d(f*vec4(texColor.rgb,1.)).rgb;gl_FragColor.a\x3dtexColor.a*g;}"}v(en,cn);ga(en);function fn(){this.a="varying vec2 a;attribute vec2 b;attribute vec2 c;uniform mat4 d;uniform mat4 e;void main(void){gl_Position\x3de*vec4(b,0.,1.);a\x3d(d*vec4(c,0.,1.)).st;}"}v(fn,dn);ga(fn);
function gn(a,b){this.g=a.getUniformLocation(b,"f");this.c=a.getUniformLocation(b,"g");this.e=a.getUniformLocation(b,"e");this.f=a.getUniformLocation(b,"d");this.b=a.getUniformLocation(b,"h");this.a=a.getAttribLocation(b,"b");this.d=a.getAttribLocation(b,"c")};function hn(){this.a="precision mediump float;varying vec2 a;uniform float f;uniform sampler2D g;void main(void){vec4 texColor\x3dtexture2D(g,a);gl_FragColor.rgb\x3dtexColor.rgb;gl_FragColor.a\x3dtexColor.a*f;}"}v(hn,cn);ga(hn);function jn(){this.a="varying vec2 a;attribute vec2 b;attribute vec2 c;uniform mat4 d;uniform mat4 e;void main(void){gl_Position\x3de*vec4(b,0.,1.);a\x3d(d*vec4(c,0.,1.)).st;}"}v(jn,dn);ga(jn);
function kn(a,b){this.c=a.getUniformLocation(b,"f");this.e=a.getUniformLocation(b,"e");this.f=a.getUniformLocation(b,"d");this.b=a.getUniformLocation(b,"g");this.a=a.getAttribLocation(b,"b");this.d=a.getAttribLocation(b,"c")};function ln(a){this.a=s(a)?a:[]}function mn(a,b,c){if(b!=c){var d=a.a,e=d.length,f;for(f=0;f<e;f+=2)if(b<=d[f]){d.splice(f,0,b,c);nn(a);return}d.push(b,c);nn(a)}}ln.prototype.clear=function(){this.a.length=0};function nn(a){a=a.a;var b=a.length,c=0,d;for(d=0;d<b;d+=2)a[d]!=a[d+1]&&(0<c&&a[c-2]<=a[d]&&a[d]<=a[c-1]?a[c-1]=Math.max(a[c-1],a[d+1]):(a[c++]=a[d],a[c++]=a[d+1]));a.length=c}function on(a,b){var c=a.a,d=c.length,e;for(e=0;e<d;e+=2)b.call(void 0,c[e],c[e+1])}
ln.prototype.ma=function(){return 0===this.a.length};function pn(a,b,c){var d=a.a,e=d.length,f;for(f=0;f<e;f+=2)if(!(c<d[f]||d[f+1]<b)){if(d[f]>c)break;if(b<d[f])if(c==d[f])break;else if(c<d[f+1]){d[f]=Math.max(d[f],c);break}else d.splice(f,2),f-=2,e-=2;else if(b==d[f])if(c<d[f+1]){d[f]=c;break}else if(c==d[f+1]){d.splice(f,2);break}else d.splice(f,2),f-=2,e-=2;else if(c<d[f+1]){d.splice(f,2,d[f],b,c,d[f+1]);break}else if(c==d[f+1]){d[f+1]=b;break}else d[f+1]=b}nn(a)};function qn(a,b,c){this.d=s(a)?a:[];this.a=[];this.b=new ln;a=s(b)?b:this.d.length;a<this.d.length&&mn(this.b,a,this.d.length);this.e=this.f=null;this.c=s(c)?c:35044}qn.prototype.add=function(a){var b=a.length,c;a:{c=this.b.a;var d=c.length,e=-1,f,g,h;for(g=0;g<d;g+=2){h=c[g+1]-c[g];if(h==b){c=c[g];break a}h>b&&(-1==e||h<f)&&(e=c[g],f=h)}c=e}pn(this.b,c,c+b);for(d=0;d<b;++d)this.d[c+d]=a[d];a=0;for(d=this.a.length;a<d;++a)mn(this.a[a],c,c+b);return c};
qn.prototype.Na=function(){var a=this.b.a,b=a.length,c=0,d;for(d=0;d<b;d+=2)c+=a[d+1]-a[d];return this.d.length-c};qn.prototype.remove=function(a,b){var c,d;mn(this.b,b,b+a);c=0;for(d=this.a.length;c<d;++c)pn(this.a[c],b,b+a)};function rn(a,b){Sk.call(this,a,b);this.Q=new qn([-1,-1,0,0,1,-1,1,0,-1,1,0,1,1,1,1,1]);this.g=this.ta=null;this.i=void 0;this.A=kd();this.B=md();this.ha=new $m;this.l=this.h=null}v(rn,Sk);
function sn(a,b,c){var d=a.e.c;if(s(a.i)&&a.i==c)d.bindFramebuffer(36160,a.g);else{b.postRenderFunctions.push(ya(function(a,b,c){a.isContextLost()||(a.deleteFramebuffer(b),a.deleteTexture(c))},d,a.g,a.ta));b=d.createTexture();d.bindTexture(3553,b);d.texImage2D(3553,0,6408,c,c,0,6408,5121,null);d.texParameteri(3553,10240,9729);d.texParameteri(3553,10241,9729);var e=d.createFramebuffer();d.bindFramebuffer(36160,e);d.framebufferTexture2D(36160,36064,3553,b,0);a.ta=b;a.g=e;a.i=c}}
function tn(a,b,c,d){a=a.a;ue(a.ka,b)&&Ie(a,new vi(b,a,new Zm,d,null,c))}rn.prototype.n=function(){this.g=this.ta=null;this.i=void 0};function un(a,b){rn.call(this,a,b);this.d=null}v(un,rn);function vn(a,b){var c=b.e(),d=a.e.c,e=d.createTexture();d.bindTexture(3553,e);d.texImage2D(3553,0,6408,6408,5121,c);d.texParameteri(3553,10242,33071);d.texParameteri(3553,10243,33071);d.texParameteri(3553,10241,9729);d.texParameteri(3553,10240,9729);return e}un.prototype.f=function(a,b,c,d){var e=this.a;return e.a.Vc(b.extent,b.view2DState.resolution,b.view2DState.rotation,a,function(a){return c.call(d,a,e)})};
un.prototype.c=function(a){var b=this.e.c,c=a.view2DState,d=c.center,e=c.resolution,f=c.rotation,g=this.d,h=this.ta,m=this.a.a,n=a.viewHints;n[0]||n[1]||(c=m.Nb(a.extent,e,a.pixelRatio,c.projection),null!==c&&(n=c.state,0==n?(oe(c,"change",this.q,!1,this),Ik(c)):2==n&&(g=c,h=vn(this,c),null===this.ta||a.postRenderFunctions.push(ya(function(a,b){a.isContextLost()||a.deleteTexture(b)},b,this.ta)))));null!==g&&(b=this.e.e.f,wn(this,b.width,b.height,d,e,f,g.o()),d=this.A,od(d),rd(d,1,-1),qd(d,0,-1),this.d=
g,this.ta=h,Vk(a.attributions,g.g),Wk(a,m))};function wn(a,b,c,d,e,f,g){b*=e;c*=e;a=a.B;od(a);rd(a,2/b,2/c);sd(a,-f);qd(a,g[0]-d[0],g[1]-d[1]);rd(a,(g[2]-g[0])/2,(g[3]-g[1])/2);qd(a,1,1)};function xn(){this.a="precision mediump float;varying vec2 a;uniform sampler2D e;void main(void){gl_FragColor\x3dtexture2D(e,a);}"}v(xn,cn);ga(xn);function yn(){this.a="varying vec2 a;attribute vec2 b;attribute vec2 c;uniform vec4 d;void main(void){gl_Position\x3dvec4(b*d.xy+d.zw,0.,1.);a\x3dc;}"}v(yn,dn);ga(yn);function zn(a,b){this.b=a.getUniformLocation(b,"e");this.c=a.getUniformLocation(b,"d");this.a=a.getAttribLocation(b,"b");this.d=a.getAttribLocation(b,"c")};function An(a,b){rn.call(this,a,b);this.T=xn.gb();this.ca=yn.gb();this.d=null;this.F=new qn([0,0,0,1,1,0,1,1,0,1,0,0,1,1,1,0]);this.r=this.b=null;this.p=-1}v(An,rn);An.prototype.G=function(){var a=this.e.e,b=a.d,c=sa(this.F),d=a.a[c];Bb(d.Ud.a,d.Ac);b.isContextLost()||b.deleteBuffer(d.buffer);delete a.a[c];An.J.G.call(this)};An.prototype.n=function(){An.J.n.call(this);this.d=null};
An.prototype.c=function(a){var b=this.e,c=b.e,d=b.c,e=a.view2DState,f=e.projection,g=this.a,h=g.a,m=Rk(h,f),n=lg(m.a,e.resolution,0),p=m.ga(n),q=h.kc(n,a.pixelRatio,f),r=q/m.la(n),u=p/r,x=h.Fc(),B=e.center,y;p==e.resolution?(B=Zk(B,p,a.size),y=Kg(B,p,e.rotation,a.size)):y=a.extent;p=Nk(m,y,p);if(null!==this.b&&this.b.a==p.a&&(this.b.b==p.b&&this.b.c==p.c&&this.b.d==p.d)&&this.p==h.d)u=this.r;else{var E=[p.c-p.a+1,p.d-p.b+1],E=Math.max(E[0]*q,E[1]*q),C=Math.pow(2,Math.ceil(Math.log(E)/Math.LN2)),E=
u*C,O=m.lb(n),W=O[0]+p.a*q*u,u=O[1]+p.b*q*u,u=[W,u,W+E,u+E];sn(this,a,C);d.viewport(0,0,C,C);d.clearColor(0,0,0,0);d.clear(16384);d.disable(3042);C=Bn(c,this.T,this.ca);c.Ad(C);null===this.d&&(this.d=new zn(d,C));Cn(c,this.F);d.enableVertexAttribArray(this.d.a);d.vertexAttribPointer(this.d.a,2,5126,!1,16,0);d.enableVertexAttribArray(this.d.d);d.vertexAttribPointer(this.d.d,2,5126,!1,16,8);d.uniform1i(this.d.b,0);c={};c[n]={};var na=xa(h.kd,h,c,Yk(function(a){return null!==a&&2==a.state&&Dn(b.d,a.c())},
h,r,f)),X=g.ja();s(X)||(X=!0);var C=!0,W=wg(),qa=new Pb(0,0,0,0),za,ab,Ya;for(ab=p.a;ab<=p.c;++ab)for(Ya=p.b;Ya<=p.d;++Ya){O=h.Ib(n,ab,Ya,r,f);za=O.state;if(2==za){if(Dn(b.d,O.c())){c[n][O.a.toString()]=O;continue}}else if(4==za||3==za&&!X)continue;C=!1;za=m.Ec(O.a,na,null,qa,W);za||(O=m.Jc(O.a,qa,W),null===O||na(n+1,O))}na=xb(gc(c),Number);Hb(na);var X=new Float32Array(4),oa,Wa,Sa,Pc,qa=0;for(ab=na.length;qa<ab;++qa)for(Wa in Sa=c[na[qa]],Sa)O=Sa[Wa],oa=Lk(m,O.a,W),Ya=2*(oa[2]-oa[0])/E,za=2*(oa[3]-
oa[1])/E,Pc=2*(oa[0]-u[0])/E-1,oa=2*(oa[1]-u[1])/E-1,jd(X,Ya,za,Pc,oa),d.uniform4fv(this.d.c,X),En(b,O,q,x*r),d.drawArrays(5,0,4);C?(this.b=p,this.r=u,this.p=h.d):(this.r=this.b=null,this.p=-1,a.animate=!0)}Xk(a.usedTiles,h,n,p);var cc=b.i;$k(a,h,m,r,f,y,n,g.ia(),function(a){var c;(c=2!=a.state)||(c=Dn(b.d,a.c()))||(c=a.c()in cc.b);c||bk(cc,[a,Pk(m,a.a),m.ga(a.a.a),q,x*r])},this);Uk(a,h);Wk(a,h);d=this.A;od(d);qd(d,(B[0]-u[0])/(u[2]-u[0]),(B[1]-u[1])/(u[3]-u[1]));0!==e.rotation&&sd(d,e.rotation);
rd(d,a.size[0]*e.resolution/(u[2]-u[0]),a.size[1]*e.resolution/(u[3]-u[1]));qd(d,-0.5,-0.5)};function Fn(){this.M=0;this.b={};this.d=this.a=null}l=Fn.prototype;l.clear=function(){this.M=0;this.b={};this.d=this.a=null};function Dn(a,b){return a.b.hasOwnProperty(b)}l.forEach=function(a,b){for(var c=this.a;null!==c;)a.call(b,c.Cb,c.Qc,this),c=c.Aa};l.get=function(a){a=this.b[a];if(a===this.d)return a.Cb;a===this.a?(this.a=this.a.Aa,this.a.mb=null):(a.Aa.mb=a.mb,a.mb.Aa=a.Aa);a.Aa=null;a.mb=this.d;this.d=this.d.Aa=a;return a.Cb};l.Na=k("M");
l.P=function(){var a=Array(this.M),b=0,c;for(c=this.d;null!==c;c=c.mb)a[b++]=c.Qc;return a};l.Oa=function(){var a=Array(this.M),b=0,c;for(c=this.d;null!==c;c=c.mb)a[b++]=c.Cb;return a};l.pop=function(){var a=this.a;delete this.b[a.Qc];null!==a.Aa&&(a.Aa.mb=null);this.a=a.Aa;null===this.a&&(this.d=null);--this.M;return a.Cb};function Gn(a,b,c){c={Qc:b,Aa:null,mb:a.d,Cb:c};null===a.d?a.a=c:a.d.Aa=c;a.d=c;a.b[b]=c;++a.M};function Hn(a,b){this.f=a;this.d=b;this.a={};this.c={};this.b={};this.e=null;z(this.f,"webglcontextlost",this.zh,!1,this);z(this.f,"webglcontextrestored",this.Ah,!1,this)}
function Cn(a,b){var c=a.d,d=b.d,e=sa(b);if(e in a.a)e=a.a[e],c.bindBuffer(34962,e.buffer),on(e.Ac,function(a,b){var e=d.slice(a,b);c.bufferSubData(34962,a,new Float32Array(e))}),e.Ac.clear();else{var f=c.createBuffer();c.bindBuffer(34962,f);c.bufferData(34962,new Float32Array(d),b.c);var g=new ln;b.a.push(g);a.a[e]={Ud:b,buffer:f,Ac:g}}}l=Hn.prototype;
l.G=function(){bc(this.a,function(a){Bb(a.Ud.a,a.Ac)});var a=this.d;a.isContextLost()||(bc(this.a,function(b){a.deleteBuffer(b.buffer)}),bc(this.b,function(b){a.deleteProgram(b)}),bc(this.c,function(b){a.deleteShader(b)}))};l.yh=k("d");function In(a,b){var c=sa(b);if(c in a.c)return a.c[c];var d=a.d,e=d.createShader(b.D());d.shaderSource(e,b.a);d.compileShader(e);return a.c[c]=e}
function Bn(a,b,c){var d=sa(b)+"/"+sa(c);if(d in a.b)return a.b[d];var e=a.d,f=e.createProgram();e.attachShader(f,In(a,b));e.attachShader(f,In(a,c));e.linkProgram(f);return a.b[d]=f}l.zh=function(){ic(this.a);ic(this.c);ic(this.b);this.e=null};l.Ah=ba();l.Ad=function(a){if(a==this.e)return!1;this.d.useProgram(a);this.e=a;return!0};function Jn(a,b){gl.call(this,0,b);this.a=zc("CANVAS");this.a.style.width="100%";this.a.style.height="100%";this.a.className="ol-unselectable";Dc(a,this.a,0);this.q=0;this.n=td();this.h=!0;this.c=zd(this.a,{antialias:!0,depth:!1,rf:!0,preserveDrawingBuffer:!1,stencil:!0});this.e=new Hn(this.a,this.c);z(this.a,"webglcontextlost",this.Tg,!1,this);z(this.a,"webglcontextrestored",this.Ug,!1,this);this.d=new Fn;this.l=null;this.i=new Yj(xa(function(a){var b=a[1];a=a[2];var e=b[0]-this.l[0],b=b[1]-this.l[1];
return 65536*Math.log(a)+Math.sqrt(e*e+b*b)/a},this),function(a){return a[0].c()});this.p=xa(function(){if(!this.i.ma()){dk(this.i);var a=Zj(this.i);En(this,a[0],a[3],a[4])}},this);this.g=0;Kn(this)}v(Jn,gl);
function En(a,b,c,d){var e=a.c,f=b.c();if(Dn(a.d,f))a=a.d.get(f),e.bindTexture(3553,a.ta),9729!=a.re&&(e.texParameteri(3553,10240,9729),a.re=9729),9729!=a.se&&(e.texParameteri(3553,10240,9729),a.se=9729);else{var g=e.createTexture();e.bindTexture(3553,g);if(0<d){var h=a.n.canvas,m=a.n;a.q!=c?(h.width=c,h.height=c,a.q=c):m.clearRect(0,0,c,c);m.drawImage(b.b(),d,d,c,c,0,0,c,c);e.texImage2D(3553,0,6408,6408,5121,h)}else e.texImage2D(3553,0,6408,6408,5121,b.b());e.texParameteri(3553,10240,9729);e.texParameteri(3553,
10241,9729);e.texParameteri(3553,10242,33071);e.texParameteri(3553,10243,33071);Gn(a.d,f,{ta:g,re:9729,se:9729})}}l=Jn.prototype;l.zc=function(a){return a instanceof K?new un(this,a):a instanceof L?new An(this,a):null};function Ln(a,b,c){var d=a.f;ue(d.ka,b)&&Ie(d,new vi(b,d,new Zm,c,null,a.e))}l.G=function(){var a=this.c;a.isContextLost()||this.d.forEach(function(b){null===b||a.deleteTexture(b.ta)});Pd(this.e);Jn.J.G.call(this)};
l.qf=function(a,b){for(var c=this.c,d;1024<this.d.Na()-this.g;){d=this.d.a.Cb;if(null===d)if(+this.d.a.Qc==b.index)break;else--this.g;else c.deleteTexture(d.ta);this.d.pop()}};l.Tg=function(a){a.preventDefault();this.d.clear();this.g=0;bc(this.b,function(a){a.n()})};l.Ug=function(){Kn(this);this.f.R()};function Kn(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.Xc=function(a){var b=this.e,c=this.c;if(c.isContextLost())return!1;if(null===a)return this.h&&(Yc(this.a,!1),this.h=!1),!1;this.l=a.focus;Gn(this.d,(-a.index).toString(),null);++this.g;var d=[],e=a.layerStatesArray,f=a.view2DState.resolution,g,h,m;g=0;for(h=e.length;g<h;++g)m=e[g],m.visible&&(1==m.Va&&f<m.maxResolution&&f>=m.minResolution)&&d.push(m);g=0;for(h=d.length;g<h;++g)m=d[g],e=il(this,m.layer),e.c(a,m);g=a.size[0]*a.pixelRatio;h=a.size[1]*a.pixelRatio;if(this.a.width!=g||this.a.height!=
h)this.a.width=g,this.a.height=h;c.bindFramebuffer(36160,null);c.clearColor(0,0,0,0);c.clear(16384);c.enable(3042);c.viewport(0,0,this.a.width,this.a.height);Ln(this,"precompose",a);g=0;for(h=d.length;g<h;++g){m=d[g];c=e=il(this,m.layer);e=a;f=b;tn(c,"precompose",f,e);Cn(f,c.Q);var n=f.d,p=m.brightness||1!=m.contrast||m.hue||1!=m.saturation,q=void 0,r=void 0;p?(q=en.gb(),r=fn.gb()):(q=hn.gb(),r=jn.gb());q=Bn(f,q,r);r=void 0;p?null===c.h?(r=new gn(n,q),c.h=r):r=c.h:null===c.l?(r=new kn(n,q),c.l=r):
r=c.l;f.Ad(q)&&(n.enableVertexAttribArray(r.a),n.vertexAttribPointer(r.a,2,5126,!1,16,0),n.enableVertexAttribArray(r.d),n.vertexAttribPointer(r.d,2,5126,!1,16,8),n.uniform1i(r.b,0));n.uniformMatrix4fv(r.f,!1,c.A);n.uniformMatrix4fv(r.e,!1,c.B);p&&n.uniformMatrix4fv(r.g,!1,an(c.ha,m.brightness,m.contrast,m.hue,m.saturation));n.uniform1f(r.c,m.opacity);n.bindTexture(3553,c.ta);n.drawArrays(5,0,4);tn(c,"postcompose",f,e)}this.h||(Yc(this.a,!0),this.h=!0);hl(a);1024<this.d.Na()-this.g&&a.postRenderFunctions.push(xa(this.qf,
this));this.i.ma()||(a.postRenderFunctions.push(this.p),a.animate=!0);Ln(this,"postcompose",a);kl(this,a);jl(a)};var Mn=["canvas","webgl","dom"];
function S(a){Oe.call(this);var b=Nn(a);this.dd=s(a.pixelRatio)?a.pixelRatio:Ad;this.cd=b.ol3Logo;this.n=new Cj(this.Xh,void 0,this);Od(this,this.n);this.wc=kd();this.ef=kd();this.bd=0;this.l=this.Q=this.c=null;this.b=wc("DIV","ol-viewport");this.b.style.position="relative";this.b.style.overflow="hidden";this.b.style.width="100%";this.b.style.height="100%";this.b.style.msTouchAction="none";Hd&&(this.b.className="ol-touch");this.ja=wc("DIV","ol-overlaycontainer");this.b.appendChild(this.ja);this.r=
wc("DIV","ol-overlaycontainer-stopevent");z(this.r,["click","dblclick","mousedown","touchstart","MSPointerDown",Zf,"mousewheel"],Rd);this.b.appendChild(this.r);a=new Rf(this);z(a,fc(bg),this.we,!1,this);Od(this,a);this.ia=b.keyboardEventTarget;this.p=new Mj;z(this.p,"key",this.le,!1,this);Od(this,this.p);a=new Uj(this.b);z(a,"mousewheel",this.le,!1,this);Od(this,a);this.i=b.controls;this.xc=b.deviceOptions;this.g=b.interactions;this.h=b.overlays;this.ca=new b.Zh(this.b,this);Od(this,this.ca);this.ff=
new Ij;z(this.ff,"resize",this.F,!1,this);this.T=null;this.A=[];this.Ua=[];this.Ub=new ek(xa(this.Ff,this),xa(this.ig,this));this.skippedFeatureUids_={};z(this,Se("layergroup"),this.Tf,!1,this);z(this,Se("view"),this.jg,!1,this);z(this,Se("size"),this.gg,!1,this);z(this,Se("target"),this.hg,!1,this);this.L(b.ii);this.i.forEach(function(a){a.setMap(this)},this);z(this.i,"add",function(a){a.element.setMap(this)},!1,this);z(this.i,"remove",function(a){a.element.setMap(null)},!1,this);this.g.forEach(function(a){a.setMap(this)},
this);z(this.g,"add",function(a){a.element.setMap(this)},!1,this);z(this.g,"remove",function(a){a.element.setMap(null)},!1,this);this.h.forEach(function(a){a.setMap(this)},this);z(this.h,"add",function(a){a.element.setMap(this)},!1,this);z(this.h,"remove",function(a){a.element.setMap(null)},!1,this)}v(S,Oe);l=S.prototype;l.gf=function(a){this.i.push(a)};l.hf=function(a){this.g.push(a)};l.jf=function(a){this.ib().Mb().push(a)};l.kf=function(a){this.h.push(a)};
l.Ka=function(a){this.R();Array.prototype.push.apply(this.A,arguments)};l.G=function(){Ec(this.b);S.J.G.call(this)};l.xd=function(a,b,c,d,e){if(null!==this.c){a=this.ya(a);a:{var f=this.ca,g=this.c;c=s(c)?c:null;d=s(d)?d:Ae;e=s(e)?e:null;var h=f.f.ib().Gc(),m;for(m=h.length-1;0<=m;--m){var n=h[m],p=n.layer;if(n.visible&&d.call(e,p)&&(n=il(f,p).f(a,g,b,c))){b=n;break a}}b=void 0}return b}};l.de=function(a){return this.ya(this.md(a))};
l.md=function(a){if(s(a.changedTouches)){a=a.changedTouches.item(0);var b=Tc(this.b);return[a.clientX-b.x,a.clientY-b.y]}a=Sc(a,this.b);return[a.x,a.y]};l.oc=function(){return this.get("target")};S.prototype.getTarget=S.prototype.oc;l=S.prototype;l.ya=function(a){var b=this.c;if(null===b)return null;a=a.slice();return fl(b.pixelToCoordinateMatrix,a,a)};l.uf=k("i");l.Cf=k("h");l.yf=k("g");l.ib=function(){return this.get("layergroup")};S.prototype.getLayerGroup=S.prototype.ib;
S.prototype.df=function(){var a=this.ib();if(s(a))return a.Mb()};S.prototype.f=function(a){var b=this.c;if(null===b)return null;a=a.slice(0,2);return fl(b.coordinateToPixelMatrix,a,a)};S.prototype.e=function(){return this.get("size")};S.prototype.getSize=S.prototype.e;S.prototype.a=function(){return this.get("view")};S.prototype.getView=S.prototype.a;l=S.prototype;l.Hf=k("b");
l.Ff=function(a,b,c,d){var e=this.c;if(!(null!==e&&b in e.wantedTiles&&e.wantedTiles[b][a.a.toString()]))return Infinity;a=c[0]-e.focus[0];c=c[1]-e.focus[1];return 65536*Math.log(d)+Math.sqrt(a*a+c*c)/d};l.le=function(a,b){var c=new Pf(b||a.type,this,a);this.we(c)};l.we=function(a){if(null!==this.c){this.T=a.coordinate;a.b=this.c;var b=this.g.a,c;if(!1!==Ie(this,a))for(c=b.length-1;0<=c&&b[c].Ca(a);c--);}};
l.dg=function(){var a=this.c,b=this.Ub;if(!b.ma()){var c=16,d=c,e=0;if(null!==a){var e=a.viewHints,f=this.xc;e[0]&&(c=!1===f.loadTilesWhileAnimating?0:8,d=2);e[1]&&(c=!1===f.loadTilesWhileInteracting?0:8,d=2);e=ec(a.wantedTiles)}c*=e;d*=e;if(b.c<c){dk(b);c=Math.min(c-b.c,d,b.Na());for(d=0;d<c;++d)e=Zj(b)[0],oe(e,"change",b.g,!1,b),0==e.state&&(e.state=1,e.e=[oe(e.d,"error",e.l,!1,e),oe(e.d,"load",e.q,!1,e)],e.n(e,e.h));b.c+=c}}b=this.Ua;c=0;for(d=b.length;c<d;++c)b[c](this,a);b.length=0};l.gg=function(){this.R()};
l.hg=function(){var a=this.oc(),a=s(a)?rc(a):null;Tj(this.p);null===a?Ec(this.b):(a.appendChild(this.b),Nj(this.p,null===this.ia?a:this.ia));this.F()};l.ig=function(){this.R()};l.kg=function(){this.R()};l.jg=function(){null!==this.Q&&(re(this.Q),this.Q=null);var a=this.a();null!=a&&(this.Q=z(a,"propertychange",this.kg,!1,this));this.R()};l.Uf=function(){this.R()};l.Vf=function(){this.R()};
l.Tf=function(){if(null!==this.l){for(var a=this.l.length,b=0;b<a;++b)re(this.l[b]);this.l=null}a=this.ib();null!=a&&(this.l=[z(a,"propertychange",this.Vf,!1,this),z(a,"change",this.Uf,!1,this)]);this.R()};l.Yh=function(){var a=this.n;Dj(a);a.Yd()};l.R=function(){null!=this.n.$||this.n.start()};l.Sh=function(a){if(s(this.i.remove(a)))return a};l.Uh=function(a){var b;s(this.g.remove(a))&&(b=a);return b};l.Vh=function(a){return this.ib().Mb().remove(a)};l.Wh=function(a){if(s(this.h.remove(a)))return a};
l.Xh=function(a){var b,c,d,e=this.e();b=this.a();var f=s(b)?this.a().W():void 0,g=null;if(s(e)&&0<e[0]&&0<e[1]&&s(f)&&f.wd()){var g=Db(b.h),h=this.ib().Gc(),m={};b=0;for(c=h.length;b<c;++b)m[sa(h[b].layer)]=h[b];d=hi(f);g={animate:!1,attributions:{},coordinateToPixelMatrix:this.wc,extent:null,focus:null===this.T?d.center:this.T,index:this.bd++,layerStates:m,layerStatesArray:h,logos:{},pixelRatio:this.dd,pixelToCoordinateMatrix:this.ef,postRenderFunctions:[],size:e,skippedFeatureUids_:this.skippedFeatureUids_,
tileQueue:this.Ub,time:a,usedTiles:{},view2DState:d,viewHints:g,wantedTiles:{}};this.cd&&(g.logos["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://ol3js.org/")}a=this.A;b=e=0;for(c=a.length;b<c;++b)f=a[b],f(this,g)&&(a[e++]=f);a.length=e;null!==g&&(g.extent=Kg(d.center,d.resolution,d.rotation,g.size));this.c=g;this.ca.Xc(g);null!==g&&(g.animate&&this.R(),Array.prototype.push.apply(this.Ua,g.postRenderFunctions),0!==this.A.length||(g.animate||g.viewHints[0]||g.viewHints[1])||Ie(this,new ff("moveend",this)));Ie(this,new ff("postrender",this,g));b=d=this.dg;this&&(b=xa(d,this));pa(ea.setImmediate)?ea.setImmediate(b):(Gj||(Gj=Hj()),Gj(b))};
l.Te=function(a){this.s("layergroup",a)};S.prototype.setLayerGroup=S.prototype.Te;S.prototype.B=function(a){this.s("size",a)};S.prototype.setSize=S.prototype.B;S.prototype.ua=function(a){this.s("target",a)};S.prototype.setTarget=S.prototype.ua;S.prototype.Va=function(a){this.s("view",a)};S.prototype.setView=S.prototype.Va;S.prototype.Wa=function(a){a=sa(a).toString();this.skippedFeatureUids_[a]=!0;this.R()};
S.prototype.F=function(){var a=this.oc(),a=s(a)?rc(a):null;null===a?this.B(void 0):(a=$c(a),this.B([a.width,a.height]))};S.prototype.Vb=function(a){a=sa(a).toString();delete this.skippedFeatureUids_[a];this.R()};
function Nn(a){var b=null;s(a.keyboardEventTarget)&&(b=la(a.keyboardEventTarget)?document.getElementById(a.keyboardEventTarget):a.keyboardEventTarget);var c={},d=s(a.ol3Logo)?a.ol3Logo:!0,e=a.layers instanceof I?a.layers:new I({layers:a.layers});c.layergroup=e;c.target=a.target;c.view=s(a.view)?a.view:new F;var e=gl,f;s(a.renderer)?ja(a.renderer)?f=a.renderer:la(a.renderer)&&(f=[a.renderer]):f=Mn;var g,h;g=0;for(h=f.length;g<h;++g){var m=f[g];if("canvas"==m){if(Dd){e=Om;break}}else if("dom"==m){e=
Ym;break}else if("webgl"==m&&Kd){e=Jn;break}}f=s(a.controls)?ja(a.controls)?new A(Db(a.controls)):a.controls:jk();g=s(a.deviceOptions)?a.deviceOptions:{};h=s(a.interactions)?ja(a.interactions)?new A(Db(a.interactions)):a.interactions:wk();a=s(a.overlays)?ja(a.overlays)?new A(Db(a.overlays)):a.overlays:new A;return{controls:f,deviceOptions:g,interactions:h,keyboardEventTarget:b,ol3Logo:d,overlays:a,Zh:e,ii:c}}Fk();function On(a,b){Qd.call(this,a);this.feature=b}v(On,Qd);
function Pn(a){ti.call(this);this.r=null;this.B=s(a.source)?a.source:null;this.A=s(a.features)?a.features:null;this.Q=s(a.snapTolerance)?a.snapTolerance:12;this.F=s(a.minPointsPerRing)?a.minPointsPerRing:3;var b=this.n=a.type,c;if("Point"===b||"MultiPoint"===b)c=Qn;else if("LineString"===b||"MultiLineString"===b)c=Rn;else if("Polygon"===b||"MultiPolygon"===b)c=Sn;this.a=c;this.c=this.h=this.l=this.f=this.e=null;this.T=4;this.p=new Vi({style:s(a.style)?a.style:Tn()})}v(Pn,ti);
function Tn(){var a=Ui();return function(b){return a[b.N().D()]}}Pn.prototype.setMap=function(a){null===a&&Un(this);this.p.setMap(a);Pn.J.setMap.call(this,a)};Pn.prototype.Ca=function(a){var b;b=a.map;if(Gc(document,b.b)&&"none"!=b.b.style.display){var c=b.e();null==c||0>=c[0]||0>=c[1]?b=!1:(b=b.a(),b=s(b)&&b.wd()?!0:!1)}else b=!1;if(!b)return!0;b=!0;a.type===$f?b=Vn(this,a):a.type===Uf&&(b=!1);return Pn.J.Ca.call(this,a)&&b};Pn.prototype.$a=function(a){this.r=a.pixel;return!0};
Pn.prototype.ab=function(a){var b=this.r,c=a.pixel,d=b[0]-c[0],b=b[1]-c[1],c=!0;if(d*d+b*b<=this.T){Vn(this,a);if(null===this.e)Wn(this,a);else if(this.a===Qn||Xn(this,a)){a=Un(this);var e,d=a.N();this.a===Qn?e=d.C():this.a===Rn?(e=d.C(),e.pop(),d.I(e)):this.a===Sn&&(this.c[0].pop(),this.c[0].push(this.c[0][0]),d.I(this.c),e=d.C());"MultiPoint"===this.n?a.pb(new Q([e])):"MultiLineString"===this.n?a.pb(new P([e])):"MultiPolygon"===this.n&&a.pb(new R([e]));null===this.A||this.A.push(a);null===this.B||
this.B.Da(a);Ie(this,new On("drawend",a))}else e=a.coordinate,a=this.f.N(),this.a===Rn?(this.e=e.slice(),d=a.C(),d.push(e.slice()),a.I(d)):this.a===Sn&&(this.c[0].push(e.slice()),a.I(this.c)),Yn(this);c=!1}return c};
function Vn(a,b){if(a.a===Qn&&null===a.e)Wn(a,b);else if(null!==a.e){var c=b.coordinate,d=a.f.N(),e,f;a.a===Qn?(f=d.C(),f[0]=c[0],f[1]=c[1],d.I(f)):(a.a===Rn?e=d.C():a.a===Sn&&(e=a.c[0]),Xn(a,b)&&(c=a.e.slice()),a.l.N().I(c),f=e[e.length-1],f[0]=c[0],f[1]=c[1],a.a===Rn?d.I(e):a.a===Sn&&(a.h.N().I(e),d.I(a.c)));Yn(a)}return!0}
function Xn(a,b){var c=!1;if(null!==a.f){var d=a.f.N(),e=!1,f=[a.e];a.a===Rn?e=2<d.C().length:a.a===Sn&&(e=d.C()[0].length>a.F,f=[a.c[0][0],a.c[0][a.c[0].length-2]]);if(e)for(var d=b.map,e=0,g=f.length;e<g;e++){var h=f[e],m=d.f(h),n=b.pixel,c=n[0]-m[0],m=n[1]-m[1];if(c=Math.sqrt(c*c+m*m)<=a.Q){a.e=h;break}}}return c}
function Wn(a,b){var c=b.coordinate;a.e=c;var d;a.a===Qn?d=new rh(c.slice()):(a.l=new G(new rh(c.slice())),a.a===Rn?d=new N([c.slice(),c.slice()]):a.a===Sn&&(a.h=new G(new N([c.slice(),c.slice()])),a.c=[[c.slice(),c.slice()]],d=new D(a.c)));a.f=new G(d);Yn(a);Ie(a,new On("drawstart",a.f))}function Un(a){a.e=null;var b=a.f;null!==b&&(a.f=null,a.l=null,a.h=null,a.p.a.clear());return b}function Yn(a){var b=[a.f];null===a.h||b.push(a.h);null===a.l||b.push(a.l);a.p.tc(new A(b))}
var Qn="Point",Rn="LineString",Sn="Polygon";var Zn=new Ch(6378137);function T(a){Oe.call(this);a=s(a)?a:{};this.a=null;this.c=di;this.b=void 0;z(this,Se("projection"),this.Ng,!1,this);z(this,Se("tracking"),this.Og,!1,this);s(a.projection)&&this.h(bi(a.projection));s(a.trackingOptions)&&this.l(a.trackingOptions);this.e(s(a.tracking)?a.tracking:!1)}v(T,Oe);l=T.prototype;l.G=function(){this.e(!1);T.J.G.call(this)};l.Ng=function(){var a=this.g();null!=a&&(this.c=Kh(bi("EPSG:4326"),a),null===this.a||this.s("position",this.c(this.a)))};
l.Og=function(){if(Fd){var a=this.i();a&&!s(this.b)?this.b=ea.navigator.geolocation.watchPosition(xa(this.Nh,this),xa(this.Oh,this),this.f()):!a&&s(this.b)&&(ea.navigator.geolocation.clearWatch(this.b),this.b=void 0)}};
l.Nh=function(a){a=a.coords;this.s("accuracy",a.accuracy);this.s("altitude",null===a.altitude?void 0:a.altitude);this.s("altitudeAccuracy",null===a.altitudeAccuracy?void 0:a.altitudeAccuracy);this.s("heading",null===a.heading?void 0:Zb(a.heading));null===this.a?this.a=[a.longitude,a.latitude]:(this.a[0]=a.longitude,this.a[1]=a.latitude);var b=this.c(this.a);this.s("position",b);this.s("speed",null===a.speed?void 0:a.speed);a=Zn.a(this.a,a.accuracy);a.transform(this.c);this.s("accuracyGeometry",a);
this.k()};l.Oh=function(a){a.type="error";Ie(this,a)};l.be=function(){return this.get("accuracy")};T.prototype.getAccuracy=T.prototype.be;T.prototype.n=function(){return this.get("accuracyGeometry")||null};T.prototype.getAccuracyGeometry=T.prototype.n;T.prototype.p=function(){return this.get("altitude")};T.prototype.getAltitude=T.prototype.p;T.prototype.r=function(){return this.get("altitudeAccuracy")};T.prototype.getAltitudeAccuracy=T.prototype.r;T.prototype.B=function(){return this.get("heading")};
T.prototype.getHeading=T.prototype.B;T.prototype.F=function(){return this.get("position")};T.prototype.getPosition=T.prototype.F;T.prototype.g=function(){return this.get("projection")};T.prototype.getProjection=T.prototype.g;T.prototype.A=function(){return this.get("speed")};T.prototype.getSpeed=T.prototype.A;T.prototype.i=function(){return this.get("tracking")};T.prototype.getTracking=T.prototype.i;T.prototype.f=function(){return this.get("trackingOptions")};T.prototype.getTrackingOptions=T.prototype.f;
T.prototype.h=function(a){this.s("projection",a)};T.prototype.setProjection=T.prototype.h;T.prototype.e=function(a){this.s("tracking",a)};T.prototype.setTracking=T.prototype.e;T.prototype.l=function(a){this.s("trackingOptions",a)};T.prototype.setTrackingOptions=T.prototype.l;function $n(a,b,c,d,e){Xj.call(this,a,b);this.h=c;this.d=new Image;null!==d&&(this.d.crossOrigin=d);this.f={};this.e=null;this.n=e}v($n,Xj);$n.prototype.b=function(a){if(s(a)){var b=sa(a);if(b in this.f)return this.f[b];a=hc(this.f)?this.d:this.d.cloneNode(!1);return this.f[b]=a}return this.d};$n.prototype.c=k("h");$n.prototype.l=function(){this.state=3;wb(this.e,re);this.e=null;Ie(this,"change")};
$n.prototype.q=function(){s(this.d.naturalWidth)||(this.d.naturalWidth=this.d.width,this.d.naturalHeight=this.d.height);this.state=this.d.naturalWidth&&this.d.naturalHeight?2:4;wb(this.e,re);this.e=null;Ie(this,"change")};function U(a){Oe.call(this);this.n=s(a.insertFirst)?a.insertFirst:!0;this.A=s(a.stopEvent)?a.stopEvent:!0;this.p=s(a.offsetX)?a.offsetX:0;this.r=s(a.offsetY)?a.offsetY:0;this.b=zc("DIV");this.b.style.position="absolute";this.a={yc:"",Rc:"",Yc:"",$c:"",visible:!0};this.c=null;z(this,Se("element"),this.Nf,!1,this);z(this,Se("map"),this.Zf,!1,this);z(this,Se("position"),this.bg,!1,this);z(this,Se("positioning"),this.cg,!1,this);s(a.element)&&this.Hd(a.element);s(a.position)&&this.h(a.position);s(a.positioning)&&
this.l(a.positioning)}v(U,Oe);U.prototype.g=function(){return this.get("element")};U.prototype.getElement=U.prototype.g;U.prototype.e=function(){return this.get("map")};U.prototype.getMap=U.prototype.e;U.prototype.i=function(){return this.get("position")};U.prototype.getPosition=U.prototype.i;U.prototype.f=function(){return this.get("positioning")};U.prototype.getPositioning=U.prototype.f;l=U.prototype;l.Nf=function(){Bc(this.b);var a=this.g();null!=a&&Ac(this.b,a)};
l.Zf=function(){null!==this.c&&(Ec(this.b),re(this.c),this.c=null);var a=this.e();null!=a&&(this.c=z(a,"postrender",this.Qg,!1,this),ao(this),a=this.A?a.r:a.ja,this.n?Dc(a,this.b,0):Ac(a,this.b))};l.Qg=function(){ao(this)};l.bg=function(){ao(this)};l.cg=function(){ao(this)};l.Hd=function(a){this.s("element",a)};U.prototype.setElement=U.prototype.Hd;U.prototype.setMap=function(a){this.s("map",a)};U.prototype.setMap=U.prototype.setMap;U.prototype.h=function(a){this.s("position",a)};
U.prototype.setPosition=U.prototype.h;U.prototype.l=function(a){this.s("positioning",a)};U.prototype.setPositioning=U.prototype.l;
function ao(a){var b=a.e(),c=a.i();if(s(b)&&null!==b.c&&s(c)){var c=b.f(c),d=b.e(),b=a.b.style,e=a.f();if("bottom-right"==e||"center-right"==e||"top-right"==e){""!==a.a.Rc&&(a.a.Rc=b.left="");var f=Math.round(d[0]-c[0])+"px";a.a.Yc!=f&&(a.a.Yc=b.right=f)}else{""!==a.a.Yc&&(a.a.Yc=b.right="");f=-a.p;if("bottom-center"==e||"center-center"==e||"top-center"==e)f+=Vc(a.b).width/2;f=Math.round(c[0]-f)+"px";a.a.Rc!=f&&(a.a.Rc=b.left=f)}if("bottom-left"==e||"bottom-center"==e||"bottom-right"==e)""!==a.a.$c&&
(a.a.$c=b.top=""),c=Math.round(d[1]-c[1])+"px",a.a.yc!=c&&(a.a.yc=b.bottom=c);else{""!==a.a.yc&&(a.a.yc=b.bottom="");d=-a.r;if("center-left"==e||"center-center"==e||"center-right"==e)d+=Vc(a.b).height/2;c=Math.round(c[1]-d)+"px";a.a.$c!=c&&(a.a.$c=b.top=c)}a.a.visible||(Yc(a.b,!0),a.a.visible=!0)}else a.a.visible&&(Yc(a.b,!1),a.a.visible=!1)};var bo=cb?"webkitfullscreenchange":bb?"mozfullscreenchange":$a?"MSFullscreenChange":"fullscreenchange";function co(){var a=oc().a,b=a.body;return!!(b.webkitRequestFullscreen||b.mozRequestFullScreen&&a.mozFullScreenEnabled||b.msRequestFullscreen&&a.msFullscreenEnabled||b.requestFullscreen&&a.fullscreenEnabled)}
function eo(a){a.webkitRequestFullscreen?a.webkitRequestFullscreen():a.mozRequestFullScreen?a.mozRequestFullScreen():a.msRequestFullscreen?a.msRequestFullscreen():a.requestFullscreen&&a.requestFullscreen()}function fo(){var a=oc().a;return!!(a.webkitIsFullScreen||a.mozFullScreen||a.msFullscreenElement||a.fullscreenElement)};function go(a){a=s(a)?a:{};this.c=s(a.className)?a.className:"ol-full-screen";var b=wc("SPAN",{role:"tooltip"},s(a.tipLabel)?a.tipLabel:"Toggle full-screen"),c=wc("BUTTON",{"class":this.c+"-"+fo()+" ol-has-tooltip"});c.appendChild(b);b=new If(c);Od(this,b);z(b,uf,this.e,!1,this);z(c,["mouseout",Wd],function(){this.blur()},!1);z(ea.document,bo,this.i,!1,this);c=wc("DIV",{"class":this.c+" ol-unselectable "+(co()?"":"ol-unsupported")},c);fk.call(this,{element:c,target:a.target});this.h=s(a.keys)?a.keys:
!1}v(go,fk);go.prototype.e=function(a){co()&&(a.a.preventDefault(),a=this.a,null!==a&&(fo()?(a=oc().a,a.webkitCancelFullScreen?a.webkitCancelFullScreen():a.mozCancelFullScreen?a.mozCancelFullScreen():a.msExitFullscreen?a.msExitFullscreen():a.exitFullscreen&&a.exitFullscreen()):(a=a.oc(),a=rc(a),this.h?a.mozRequestFullScreenWithKeys?a.mozRequestFullScreenWithKeys():a.webkitRequestFullscreen?a.webkitRequestFullscreen():eo(a):eo(a))))};
go.prototype.i=function(){var a=this.c+"-true",b=this.c+"-false",c=Fc(this.element),d=this.a;fo()?Wb(c,b,a):Wb(c,a,b);null===d||d.F()};function ho(a){a=s(a)?a:{};var b=wc("DIV",{"class":s(a.className)?a.className:"ol-mouse-position"});fk.call(this,{element:b,target:a.target});z(this,Se("projection"),this.Q,!1,this);s(a.coordinateFormat)&&this.r(a.coordinateFormat);s(a.projection)&&this.p(bi(a.projection));this.T=s(a.undefinedHTML)?a.undefinedHTML:"";this.l=b.innerHTML;this.i=this.e=this.c=null}v(ho,fk);
ho.prototype.f=function(a){a=a.b;null===a?this.c=null:this.c!=a.view2DState.projection&&(this.c=a.view2DState.projection,this.e=null);io(this,this.i)};ho.prototype.Q=function(){this.e=null};ho.prototype.h=function(){return this.get("coordinateFormat")};ho.prototype.getCoordinateFormat=ho.prototype.h;ho.prototype.n=function(){return this.get("projection")};ho.prototype.getProjection=ho.prototype.n;ho.prototype.B=function(a){a=Sc(a,this.a.b);this.i=[a.x,a.y];io(this,this.i)};
ho.prototype.F=function(){io(this,null);this.i=null};ho.prototype.setMap=function(a){ho.J.setMap.call(this,a);null!==a&&(a=a.b,this.g.push(z(a,"mousemove",this.B,!1,this),z(a,"mouseout",this.F,!1,this)))};ho.prototype.r=function(a){this.s("coordinateFormat",a)};ho.prototype.setCoordinateFormat=ho.prototype.r;ho.prototype.p=function(a){this.s("projection",a)};ho.prototype.setProjection=ho.prototype.p;
function io(a,b){var c=a.T;if(null!==b&&null!==a.c){if(null===a.e){var d=a.n();a.e=s(d)?Kh(a.c,d):di}d=a.a.ya(b);null!==d&&(a.e(d,d),c=a.h(),c=s(c)?c(d):d.toString())}s(a.l)&&c==a.l||(a.element.innerHTML=c,a.l=c)};function jo(a){a=s(a)?a:{};var b=s(a.className)?a.className:"ol-scale-line";this.i=wc("DIV",{"class":b+"-inner"});this.l=wc("DIV",{"class":b+" ol-unselectable"},this.i);this.r=null;this.h=s(a.minWidth)?a.minWidth:64;this.e=!1;this.F=void 0;this.B="";this.c=null;fk.call(this,{element:this.l,target:a.target});z(this,Se("units"),this.Q,!1,this);this.p(a.units||"metric")}v(jo,fk);var ko=[1,2,5];jo.prototype.n=function(){return this.get("units")};jo.prototype.getUnits=jo.prototype.n;
jo.prototype.f=function(a){a=a.b;null===a?this.r=null:this.r=a.view2DState;lo(this)};jo.prototype.Q=function(){lo(this)};jo.prototype.p=function(a){this.s("units",a)};jo.prototype.setUnits=jo.prototype.p;
function lo(a){var b=a.r;if(null===b)a.e&&(Yc(a.l,!1),a.e=!1);else{var c=b.center,d=b.projection,b=d.c(b.resolution,c),e=d.Ia,f=a.n();"degrees"!=e||"metric"!=f&&"imperial"!=f?"ft"!=e&&"m"!=e||"degrees"!=f?a.c=null:(null===a.c&&(a.c=Kh(d,bi("EPSG:4326"))),c=Math.cos(Zb(a.c(c)[1])),d=Eh.radius,"ft"==e&&(d/=0.3048),b*=180/(Math.PI*c*d)):(a.c=null,c=Math.cos(Zb(c[1])),b*=Math.PI*c*Eh.radius/180);c=a.h*b;e="";"degrees"==f?c<1/60?(e="\u2033",b*=3600):1>c?(e="\u2032",b*=60):e="\u00b0":"imperial"==f?0.9144>
c?(e="in",b/=0.0254):1609.344>c?(e="ft",b/=0.3048):(e="mi",b/=1609.344):"nautical"==f?(b/=1852,e="nm"):"metric"==f?1>c?(e="mm",b*=1E3):1E3>c?e="m":(e="km",b/=1E3):"us"==f&&(0.9144>c?(e="in",b*=39.37):1609.344>c?(e="ft",b/=0.30480061):(e="mi",b/=1609.3472));for(var f=3*Math.floor(Math.log(a.h*b)/Math.log(10)),g,h;;){g=ko[f%3]*Math.pow(10,Math.floor(f/3));h=Math.round(g/b);if(h>=a.h)break;++f}g=g+e;a.B!=g&&(a.i.innerHTML=g,a.B=g);a.F!=h&&(a.i.style.width=h+"px",a.F=h);a.e||(Yc(a.l,!0),a.e=!0)}};function mo(a){Ld.call(this);this.d=a;this.a={}}v(mo,Ld);var no=[];mo.prototype.ra=function(a,b,c,d,e){ja(b)||(no[0]=b,b=no);for(var f=0;f<b.length;f++){var g=z(a,b[f],c||this,d||!1,e||this.d||this);this.a[g.key]=g}return this};
mo.prototype.Kd=function(a,b,c,d,e){if(ja(b))for(var f=0;f<b.length;f++)this.Kd(a,b[f],c,d,e);else{a:if(e=e||this.d||this,d=!!d,c=ke(c||this),ce(a))a=a.ka.a[b],b=-1,a&&(b=Ge(a,c,d,e)),e=-1<b?a[b]:null;else{if(a=qe(a,b,d))for(b=0;b<a.length;b++)if(!a[b].cb&&a[b].Qa==c&&a[b].capture==d&&a[b].wb==e){e=a[b];break a}e=null}e&&(re(e),delete this.a[e.key])}return this};function oo(a){bc(a.a,re);a.a={}}mo.prototype.G=function(){mo.J.G.call(this);oo(this)};
mo.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};function po(a,b,c){He.call(this);this.target=a;this.handle=b||a;this.d=c||new Jc(NaN,NaN,NaN,NaN);this.b=qc(a);this.a=new mo(this);Od(this,this.a);z(this.handle,["touchstart","mousedown"],this.We,!1,this)}v(po,He);var qo=$a||bb&&ob("1.9.3");l=po.prototype;l.clientX=0;l.clientY=0;l.screenX=0;l.screenY=0;l.Xe=0;l.Ye=0;l.Jb=0;l.Kb=0;l.$d=!0;l.sb=!1;l.oe=0;l.pg=0;l.lg=!1;l.Ld=!1;
l.G=function(){po.J.G.call(this);pe(this.handle,["touchstart","mousedown"],this.We,!1,this);oo(this.a);qo&&this.b.releaseCapture();this.handle=this.target=null};function ro(a){s(a.e)||(a.e=Zc(a.target));return a.e}
l.We=function(a){var b="mousedown"==a.type;if(!this.$d||this.sb||b&&!ae(a))Ie(this,"earlycancel");else{so(a);if(0==this.oe)if(Ie(this,new to("start",this,a.clientX,a.clientY,a)))this.sb=!0,a.preventDefault();else return;else a.preventDefault();var b=this.b,c=b.documentElement,d=!qo;this.a.ra(b,["touchmove","mousemove"],this.$f,d);this.a.ra(b,["touchend","mouseup"],this.Cc,d);qo?(c.setCapture(!1),this.a.ra(c,"losecapture",this.Cc)):this.a.ra(b?b.parentWindow||b.defaultView:window,"blur",this.Cc);$a&&
this.lg&&this.a.ra(b,"dragstart",Sd);this.f&&this.a.ra(this.f,"scroll",this.Fh,d);this.clientX=this.Xe=a.clientX;this.clientY=this.Ye=a.clientY;this.screenX=a.screenX;this.screenY=a.screenY;this.Ld?(a=this.target,b=a.offsetLeft,c=a.offsetParent,c||"fixed"!=Lc(a,"position")||(c=qc(a).documentElement),c?(bb?(d=cd(c),b+=d.left):$a&&8<=qb&&(d=cd(c),b-=d.left),a=Zc(c)?c.clientWidth-(b+a.offsetWidth):b):a=b):a=this.target.offsetLeft;this.Jb=a;this.Kb=this.target.offsetTop;this.c=Hc(oc(this.b));this.pg=
Aa()}};l.Cc=function(a,b){oo(this.a);qo&&this.b.releaseCapture();if(this.sb){so(a);this.sb=!1;var c=uo(this,this.Jb),d=vo(this,this.Kb);Ie(this,new to("end",this,a.clientX,a.clientY,a,c,d,b||"touchcancel"==a.type))}else Ie(this,"earlycancel")};function so(a){var b=a.type;"touchstart"==b||"touchmove"==b?Zd(a,a.O.targetTouches[0],a.d):"touchend"!=b&&"touchcancel"!=b||Zd(a,a.O.changedTouches[0],a.d)}
l.$f=function(a){if(this.$d){so(a);var b=(this.Ld&&ro(this)?-1:1)*(a.clientX-this.clientX),c=a.clientY-this.clientY;this.clientX=a.clientX;this.clientY=a.clientY;this.screenX=a.screenX;this.screenY=a.screenY;if(!this.sb){var d=this.Xe-this.clientX,e=this.Ye-this.clientY;if(d*d+e*e>this.oe)if(Ie(this,new to("start",this,a.clientX,a.clientY,a)))this.sb=!0;else{this.qb||this.Cc(a);return}}c=wo(this,b,c);b=c.x;c=c.y;this.sb&&Ie(this,new to("beforedrag",this,a.clientX,a.clientY,a,b,c))&&(xo(this,a,b,c),
a.preventDefault())}};function wo(a,b,c){var d=Hc(oc(a.b));b+=d.x-a.c.x;c+=d.y-a.c.y;a.c=d;a.Jb+=b;a.Kb+=c;b=uo(a,a.Jb);a=vo(a,a.Kb);return new $b(b,a)}l.Fh=function(a){var b=wo(this,0,0);a.clientX=this.clientX;a.clientY=this.clientY;xo(this,a,b.x,b.y)};function xo(a,b,c,d){a.Ld&&ro(a)?a.target.style.right=c+"px":a.target.style.left=c+"px";a.target.style.top=d+"px";Ie(a,new to("drag",a,b.clientX,b.clientY,b,c,d))}
function uo(a,b){var c=a.d,d=isNaN(c.left)?null:c.left,c=isNaN(c.width)?0:c.width;return Math.min(null!=d?d+c:Infinity,Math.max(null!=d?d:-Infinity,b))}function vo(a,b){var c=a.d,d=isNaN(c.top)?null:c.top,c=isNaN(c.height)?0:c.height;return Math.min(null!=d?d+c:Infinity,Math.max(null!=d?d:-Infinity,b))}function to(a,b,c,d,e,f,g,h){Qd.call(this,a);this.clientX=c;this.clientY=d;this.c=e;this.left=s(f)?f:b.Jb;this.top=s(g)?g:b.Kb;this.b=b;this.a=!!h}v(to,Qd);function yo(a){a=s(a)?a:{};this.c=void 0;this.i=zo;this.h=!1;var b=s(a.className)?a.className:"ol-zoomslider";a=wc("DIV",[b+"-thumb","ol-unselectable"]);b=wc("DIV",[b,"ol-unselectable"],a);this.e=new po(a);Od(this,this.e);z(this.e,["drag","end"],this.n,void 0,this);z(b,"click",this.l,!1,this);z(a,"click",Rd);fk.call(this,{element:b})}v(yo,fk);var zo=0;yo.prototype.setMap=function(a){yo.J.setMap.call(this,a);null===a||a.R()};
yo.prototype.f=function(a){if(null!==a.b){if(!this.h){var b=this.element,c=Fc(b),b=$c(b),d;d=Rc(c);var e=Vc(c);d=new Jc(d.x,d.y,e.width,e.height);var e=bd(c,"margin"),f=cd(c),c=b.width-e.left-e.right-f.left-f.right-d.width;d=b.height-e.top-e.bottom-f.top-f.bottom-d.height;b.width>b.height?(this.i=1,b=new Jc(0,0,c,0)):(this.i=zo,b=new Jc(0,0,0,d));this.e.d=b||new Jc(NaN,NaN,NaN,NaN);this.h=!0}a=a.b.view2DState.resolution;a!==this.c&&(this.c=a,a=-1*(gi(this.a.a().W())(a)-1),b=this.e,c=Fc(this.element),
1==this.i?Mc(c,b.d.left+b.d.width*a):Mc(c,b.d.left,b.d.top+b.d.height*a))}};yo.prototype.l=function(a){var b=this.a,c=b.a().W();a=Ao(this,Bo(this,a.offsetX,a.offsetY));b.Ka(oi({resolution:a,duration:200,easing:ii}));a=c.constrainResolution(a);c.c(a)};function Bo(a,b,c){var d=a.e.d,e=0;return e=1===a.i?(b-d.left)/d.width:(c-d.top)/d.height}function Ao(a,b){b=-1*(Xb(b,0,1)-1);return fi(a.a.a().W())(b)}
yo.prototype.n=function(a){var b=this.a,c=b.a().W();"drag"===a.type?(a=Ao(this,Bo(this,a.left,a.top)),a!==this.c&&(this.c=a,c.c(a))):(b.Ka(oi({resolution:this.c,duration:200,easing:ii})),a=c.constrainResolution(this.c),c.c(a))};function Co(a){a=s(a)?a:{};this.c=s(a.extent)?a.extent:null;var b=s(a.className)?a.className:"ol-zoom-extent",c=wc("SPAN",{role:"tooltip"},s(a.tipLabel)?a.tipLabel:"Fit to extent"),b=wc("DIV",{"class":b+" ol-unselectable"}),d=wc("BUTTON",{"class":"ol-has-tooltip"});d.appendChild(c);b.appendChild(d);c=new If(d);Od(this,c);z(c,uf,this.e,!1,this);z(d,["mouseout",Wd],function(){this.blur()},!1);fk.call(this,{element:b,target:a.target})}v(Co,fk);
Co.prototype.e=function(a){a.a.preventDefault();a=this.a;var b=a.a().W(),c=null===this.c?b.i().o():this.c;b.ae(c,a.e())};function Do(a){Oe.call(this);this.a=a;z(this.a,["change","input"],this.i,!1,this);z(this,Se("value"),this.h,!1,this);z(this,Se("checked"),this.g,!1,this)}v(Do,Oe);Do.prototype.b=function(){return this.get("checked")};Do.prototype.getChecked=Do.prototype.b;Do.prototype.c=function(){return this.get("value")};Do.prototype.getValue=Do.prototype.c;Do.prototype.f=function(a){this.s("value",a)};Do.prototype.setValue=Do.prototype.f;Do.prototype.e=function(a){this.s("checked",a)};Do.prototype.setChecked=Do.prototype.e;
Do.prototype.i=function(){var a=this.a;"checkbox"===a.type||"radio"===a.type?this.e(a.checked):this.f(a.value)};Do.prototype.g=function(){this.a.checked=this.b()};Do.prototype.h=function(){this.a.value=this.c()};function Eo(){};var Fo;a:if(document.implementation&&document.implementation.createDocument)Fo=document.implementation.createDocument("","",null);else{if("undefined"!=typeof ActiveXObject){var Go=new ActiveXObject("MSXML2.DOMDocument");if(Go){Go.resolveExternals=!1;Go.validateOnParse=!1;try{Go.setProperty("ProhibitDTD",!0),Go.setProperty("MaxXMLSize",2048),Go.setProperty("MaxElementDepth",256)}catch(Ho){}}if(Go){Fo=Go;break a}}throw Error("Your browser does not support creating new documents");}var Io=Fo;
function Jo(a,b){return Io.createElementNS(a,b)}function Ko(a,b){null===a&&(a="");return Io.createNode(1,b,a)}var Lo=document.implementation&&document.implementation.createDocument?Jo:Ko;function Mo(a){return No(a,!1,[]).join("")}function No(a,b,c){if(4==a.nodeType||3==a.nodeType)b?c.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):c.push(a.nodeValue);else for(a=a.firstChild;null!==a;a=a.nextSibling)No(a,b,c);return c}function Oo(a){return a.localName}
function Po(a){var b=a.localName;return s(b)?b:a.baseName}var Qo=$a?Po:Oo;function Ro(a){return a instanceof Document}function So(a){return ra(a)&&9==a.nodeType}var To=$a?So:Ro;function Uo(a){return a instanceof Node}function Vo(a){return ra(a)&&s(a.nodeType)}var Wo=$a?Vo:Uo;function Xo(a,b,c){return a.getAttributeNS(b,c)||""}function Yo(a,b,c){var d="";a=Zo(a,b,c);s(a)&&(d=a.nodeValue);return d}var $o=document.implementation&&document.implementation.createDocument?Xo:Yo;
function ap(a,b,c){return a.getAttributeNodeNS(b,c)}function bp(a,b,c){var d=null;a=a.attributes;for(var e,f,g=0,h=a.length;g<h;++g)if(e=a[g],e.namespaceURI==b&&(f=e.prefix?e.prefix+":"+c:c,f==e.nodeName)){d=e;break}return d}var Zo=document.implementation&&document.implementation.createDocument?ap:bp;function cp(a,b,c,d){a.setAttributeNS(b,c,d)}function dp(a,b,c,d){null===b?a.setAttribute(c,d):(b=a.ownerDocument.createNode(2,c,b),b.nodeValue=d,a.setAttributeNode(b))}
var ep=document.implementation&&document.implementation.createDocument?cp:dp;function fp(a){return(new DOMParser).parseFromString(a,"application/xml")}function gp(a,b){return function(c,d){var e=a.call(b,c,d);s(e)&&Eb(d[d.length-1],e)}}function hp(a,b){return function(c,d){var e=a.call(b,c,d);s(e)&&d[d.length-1].push(e)}}function ip(a){return function(b,c){var d=a.call(void 0,b,c);s(d)&&(c[c.length-1]=d)}}
function jp(a){return function(b,c){var d=a.call(void 0,b,c);s(d)&&kc(c[c.length-1],s(void 0)?void 0:b.localName).push(d)}}function V(a,b){return function(c,d){var e=a.call(void 0,c,d);s(e)&&(d[d.length-1][s(b)?b:c.localName]=e)}}function Y(a){return function(b,c,d){a.call(void 0,b,c,d);d[d.length-1].node.appendChild(b)}}function kp(a){var b,c;return function(d,e,f){if(!s(b)){b={};var g={};g[d.localName]=a;b[d.namespaceURI]=g;c=lp(d.localName)}mp(b,c,e,f)}}
function lp(a,b){return function(c,d,e){c=d[d.length-1].node;d=a;s(d)||(d=e);e=b;s(b)||(e=c.namespaceURI);return Lo(e,d)}}var np=lp();function op(a,b){for(var c=b.length,d=Array(c),e=0;e<c;++e)d[e]=a[b[e]];return d}function pp(a,b,c){c=s(c)?c:{};var d,e;d=0;for(e=a.length;d<e;++d)c[a[d]]=b;return c}function qp(a,b,c,d){for(b=b.firstElementChild;null!==b;b=b.nextElementSibling){var e=a[b.namespaceURI];s(e)&&(e=e[b.localName],s(e)&&e.call(d,b,c))}}
function Z(a,b,c,d,e){d.push(a);qp(b,c,d,e);return d.pop()}function mp(a,b,c,d,e,f){for(var g=(s(e)?e:c).length,h,m,n=0;n<g;++n)h=c[n],s(h)&&(m=b.call(f,h,d,s(e)?e[n]:void 0),s(m)&&a[m.namespaceURI][m.localName].call(f,m,h,d))}function rp(a,b,c,d,e,f){e.push(a);mp(b,c,d,e,f,void 0);e.pop()};function sp(){}v(sp,Eo);l=sp.prototype;l.D=ca("xml");l.Rb=function(a){return To(a)?tp(this,a):Wo(a)?this.Pe(a):la(a)?(a=fp(a),tp(this,a)):null};function tp(a,b){var c=up(a,b);return 0<c.length?c[0]:null}l.bb=function(a){return To(a)?up(this,a):Wo(a)?this.Sb(a):la(a)?(a=fp(a),up(this,a)):[]};function up(a,b){var c=[],d;for(d=b.firstChild;null!==d;d=d.nextSibling)1==d.nodeType&&Eb(c,a.Sb(d));return c}l.Dd=function(a){return To(a)?this.e(a):Wo(a)?this.h(a):la(a)?(a=fp(a),this.e(a)):null};
l.Fa=function(a){return To(a)?this.rc(a):Wo(a)?this.sc(a):la(a)?(a=fp(a),this.rc(a)):null};l.Od=function(a){return this.l(a)};l.ad=function(a){var b=Lo("http://www.topografix.com/GPX/1/1","gpx");rp({node:b},vp,wp,a,[]);return b};function xp(a){a=Mo(a);return yp(a)}function yp(a){if(a=/^\s*(true|1)|(false|0)\s*$/.exec(a))return s(a[1])||!1}function zp(a){a=Mo(a);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 b=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 c="-"==a[8]?-1:1,b=b+60*c*parseInt(a[9],10);s(a[10])&&(b+=3600*c*parseInt(a[10],10))}return b}}
function Ap(a){a=Mo(a);return Bp(a)}function Bp(a){if(a=/^\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)\s*$/i.exec(a))return parseFloat(a[1])}function Cp(a){a=Mo(a);return Dp(a)}function Dp(a){if(a=/^\s*(\d+)\s*$/.exec(a))return parseInt(a[1],10)}function Ep(a){a=Mo(a);return Ca(a)}function Fp(a,b){a.appendChild(Io.createTextNode(b.toPrecision()))}function Gp(a,b){a.appendChild(Io.createTextNode(b.toString()))}function Hp(a,b){a.appendChild(Io.createTextNode(b))};function Ip(){}v(Ip,sp);var Jp=[null,"http://www.topografix.com/GPX/1/0","http://www.topografix.com/GPX/1/1"];function Kp(a,b,c){a.push(parseFloat(b.getAttribute("lon")),parseFloat(b.getAttribute("lat")));"ele"in c?(a.push(w(c,"ele")),jc(c,"ele")):a.push(0);"time"in c?(a.push(w(c,"time")),jc(c,"time")):a.push(0);return a}function Lp(a,b){var c=b[b.length-1],d=a.getAttribute("href");null!==d&&(c.link=d);qp(Mp,a,b)}
function Np(a,b){var c=Z({flatCoordinates:[]},Op,a,b);if(s(c)){var d=w(c,"flatCoordinates");jc(c,"flatCoordinates");var e=new N(null);lm(e,"XYZM",d);d=new G(e);d.L(c);return d}}function Pp(a,b){var c=Z({flatCoordinates:[],ends:[]},Qp,a,b);if(s(c)){var d=w(c,"flatCoordinates");jc(c,"flatCoordinates");var e=w(c,"ends");jc(c,"ends");var f=new P(null);mm(f,"XYZM",d,e);d=new G(f);d.L(c);return d}}
function Rp(a,b){var c=Z({},Sp,a,b);if(s(c)){var d=Kp([],a,c),d=new rh(d,"XYZM"),d=new G(d);d.L(c);return d}}
var Tp={rte:Np,trk:Pp,wpt:Rp},Up=pp(Jp,{rte:hp(Np),trk:hp(Pp),wpt:hp(Rp)},void 0),Mp=pp(Jp,{text:V(Ep,"linkText"),type:V(Ep,"linkType")},void 0),Op=pp(Jp,{name:V(Ep),cmt:V(Ep),desc:V(Ep),src:V(Ep),link:Lp,number:V(Cp),type:V(Ep),rtept:function(a,b){var c=Z({},Vp,a,b);s(c)&&Kp(w(b[b.length-1],"flatCoordinates"),a,c)}},void 0),Vp=pp(Jp,{ele:V(Ap),time:V(zp)},void 0),Qp=pp(Jp,{name:V(Ep),cmt:V(Ep),desc:V(Ep),src:V(Ep),link:Lp,number:V(Cp),type:V(Ep),trkseg:function(a,b){var c=b[b.length-1];qp(Wp,a,b);
w(c,"ends").push(w(c,"flatCoordinates").length)}},void 0),Wp=pp(Jp,{trkpt:function(a,b){var c=Z({},Xp,a,b);s(c)&&Kp(w(b[b.length-1],"flatCoordinates"),a,c)}},void 0),Xp=pp(Jp,{ele:V(Ap),time:V(zp)},void 0),Sp=pp(Jp,{ele:V(Ap),time:V(zp),magvar:V(Ap),geoidheight:V(Ap),name:V(Ep),cmt:V(Ep),desc:V(Ep),src:V(Ep),link:Lp,sym:V(Ep),type:V(Ep),fix:V(Ep),sat:V(Cp),hdop:V(Ap),vdop:V(Ap),pdop:V(Ap),ageofdgpsdata:V(Ap),dgpsid:V(Cp)},void 0);
Ip.prototype.Pe=function(a){if(!(0<=vb(Jp,a.namespaceURI)))return null;var b=Tp[a.localName];if(!s(b))return null;a=b(a,[]);return s(a)?a:null};Ip.prototype.Sb=function(a){return 0<=vb(Jp,a.namespaceURI)?"gpx"==a.localName&&(a=Z([],Up,a,[]),s(a))?a:[]:[]};Ip.prototype.rc=function(){return bi("EPSG:4326")};Ip.prototype.sc=function(){return bi("EPSG:4326")};function Yp(a,b,c){a.setAttribute("href",b);b=w(c[c.length-1],"properties");rp({node:a},Zp,np,[w(b,"linkText"),w(b,"linkType")],c,$p)}
function aq(a,b,c){var d=c[c.length-1],e=d.node.namespaceURI,f=w(d,"properties");ep(a,null,"lat",b[1]);ep(a,null,"lon",b[0]);switch(w(d,"geometryLayout")){case "XYZM":0!==b[3]&&(f.time=b[3]);case "XYZ":0!==b[2]&&(f.ele=b[2]);break;case "XYM":0!==b[2]&&(f.time=b[2])}b=bq[e];d=op(f,b);rp({node:a,properties:f},cq,np,d,c,b)}
var $p=["text","type"],Zp=pp(Jp,{text:Y(Hp),type:Y(Hp)}),dq=pp(Jp,"name cmt desc src link number type rtept".split(" ")),eq=pp(Jp,{name:Y(Hp),cmt:Y(Hp),desc:Y(Hp),src:Y(Hp),link:Y(Yp),number:Y(Gp),type:Y(Hp),rtept:kp(Y(aq))}),fq=pp(Jp,"name cmt desc src link number type trkseg".split(" ")),iq=pp(Jp,{name:Y(Hp),cmt:Y(Hp),desc:Y(Hp),src:Y(Hp),link:Y(Yp),number:Y(Gp),type:Y(Hp),trkseg:kp(Y(function(a,b,c){rp({node:a,geometryLayout:b.b,properties:{}},gq,hq,b.C(),c)}))}),hq=lp("trkpt"),gq=pp(Jp,{trkpt:Y(aq)}),
bq=pp(Jp,"ele time magvar geoidheight name cmt desc src link sym type fix sat hdop vdop pdop ageofdgpsdata dgpsid".split(" ")),cq=pp(Jp,{ele:Y(Fp),time:Y(function(a,b){var c=new Date(1E3*b),c=c.getUTCFullYear()+"-"+Ja(c.getUTCMonth()+1)+"-"+Ja(c.getUTCDate())+"T"+Ja(c.getUTCHours())+":"+Ja(c.getUTCMinutes())+":"+Ja(c.getUTCSeconds())+"Z";a.appendChild(Io.createTextNode(c))}),magvar:Y(Fp),geoidheight:Y(Fp),name:Y(Hp),cmt:Y(Hp),desc:Y(Hp),src:Y(Hp),link:Y(Yp),sym:Y(Hp),type:Y(Hp),fix:Y(Hp),sat:Y(Gp),
hdop:Y(Fp),vdop:Y(Fp),pdop:Y(Fp),ageofdgpsdata:Y(Fp),dgpsid:Y(Gp)}),jq={Point:"wpt",LineString:"rte",MultiLineString:"trk"};function wp(a,b){var c=a.N();if(s(c))return Lo(b[b.length-1].node.namespaceURI,jq[c.D()])}
var vp=pp(Jp,{rte:Y(function(a,b,c){var d=b.S();a={node:a,properties:d};b=b.N();s(b)&&(a.geometryLayout=b.b,b=b.C(),d.rtept=b);b=dq[c[c.length-1].node.namespaceURI];d=op(d,b);rp(a,eq,np,d,c,b)}),trk:Y(function(a,b,c){var d=b.S();a={node:a,properties:d};b=b.N();s(b)&&(b=b.Hc(),d.trkseg=b);b=fq[c[c.length-1].node.namespaceURI];d=op(d,b);rp(a,iq,np,d,c,b)}),wpt:Y(function(a,b,c){var d=c[c.length-1],e=b.S();d.properties=e;b=b.N();s(b)&&(d.geometryLayout=b.b,aq(a,b.C(),c))})});function kq(a){a=String(a);if(/^\s*$/.test(a)?0:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,"")))try{return eval("("+a+")")}catch(b){}throw Error("Invalid JSON string: "+a);};function lq(){}v(lq,Eo);function mq(a){return ra(a)?a:la(a)?(a=Gd?JSON.parse(a):kq(a),s(a)?a:null):null}l=lq.prototype;l.D=ca("json");l.Rb=function(a){return nq(mq(a))};l.bb=function(a){return this.a(mq(a))};l.Dd=function(a){a=mq(a);return oq(a)};l.Fa=function(a){return this.b(mq(a))};l.Od=function(a){return pq(a)};l.ad=function(a){var b=[],c,d;c=0;for(d=a.length;c<d;++c)b.push(pq(a[c]));return{type:"FeatureCollection",features:b}};function qq(a){a=s(a)?a:{};this.d=bi(a.defaultProjection?a.defaultProjection:"EPSG:4326")}v(qq,lq);function oq(a){return null===a?null:(0,rq[a.type])(a)}function sq(a){return(0,tq[a.D()])(a)}
var rq={Point:function(a){return new rh(a.coordinates)},LineString:function(a){return new N(a.coordinates)},Polygon:function(a){return new D(a.coordinates)},MultiPoint:function(a){return new Q(a.coordinates)},MultiLineString:function(a){return new P(a.coordinates)},MultiPolygon:function(a){return new R(a.coordinates)},GeometryCollection:function(a){a=xb(a.geometries,oq);return new em(a)}},tq={Point:function(a){return{type:"Point",coordinates:a.C()}},LineString:function(a){return{type:"LineString",
coordinates:a.C()}},Polygon:function(a){return{type:"Polygon",coordinates:a.C()}},MultiPoint:function(a){return{type:"MultiPoint",coordinates:a.C()}},MultiLineString:function(a){return{type:"MultiLineString",coordinates:a.C()}},MultiPolygon:function(a){return{type:"MultiPolygon",coordinates:a.C()}},GeometryCollection:function(a){return{type:"GeometryCollection",geometries:xb(a.a,sq)}},Circle:function(){return{type:"GeometryCollection",geometries:[]}}};
function nq(a){var b=oq(a.geometry),b=new G(b);s(a.id)&&b.b(a.id);s(a.properties)&&b.L(a.properties);return b}qq.prototype.a=function(a){if("Feature"==a.type)return[nq(a)];if("FeatureCollection"==a.type){var b=[];a=a.features;var c,d;c=0;for(d=a.length;c<d;++c)b.push(nq(a[c]));return b}return[]};qq.prototype.Fa=function(a){a=a.crs;return null!=a?"name"==a.type?bi(a.properties.name):"EPSG"==a.type?bi("EPSG:"+a.properties.code):null:this.d};
function pq(a){var b={type:"Feature"},c=a.$;null!=c&&(b.id=c);c=a.N();null!=c&&(c=sq(c),b.geometry=c);a=a.S();jc(a,"geometry");hc(a)||(b.properties=a);return b};function uq(a){a=vq(a);return xb(a,function(a){return a.b.substring(a.d,a.a)})}function wq(a,b,c,d){this.b=a;this.d=b;this.a=c;this.c=d}function vq(a){for(var b=RegExp("\r\n|\r|\n","g"),c=0,d,e=[];d=b.exec(a);)c=new wq(a,c,d.index,d.index+d[0].length),e.push(c),c=b.lastIndex;c<a.length&&(c=new wq(a,c,a.length,a.length),e.push(c));return e};function xq(){}v(xq,Eo);l=xq.prototype;l.D=ca("text");l.Rb=function(a){return yq(this,la(a)?a:"")};l.bb=function(a){a=yq(this,la(a)?a:"");return null===a?[]:[a]};l.Dd=function(a){return this.d(la(a)?a:"")};l.Fa=function(){return bi("EPSG:4326")};l.Od=function(a){return this.b(a)};l.ad=function(a){return this.c(a)};function zq(a){a=s(a)?a:{};this.a=s(a.altitudeMode)?a.altitudeMode:"none"}v(zq,xq);var Aq=/^B(\d{2})(\d{2})(\d{2})(\d{2})(\d{5})([NS])(\d{3})(\d{5})([EW])([AV])(\d{5})(\d{5})/,Bq=/^H.([A-Z]{3}).*?:(.*)/,Cq=/^HFDTE(\d{2})(\d{2})(\d{2})/;
function yq(a,b){var c=a.a,d=uq(b),e={},f=[],g=2E3,h=0,m=1,n,p;n=0;for(p=d.length;n<p;++n){var q=d[n],r;if("B"==q.charAt(0)){if(r=Aq.exec(q)){var q=parseInt(r[1],10),u=parseInt(r[2],10),x=parseInt(r[3],10),B=parseInt(r[4],10)+parseInt(r[5],10)/6E4;"S"==r[6]&&(B=-B);var y=parseInt(r[7],10)+parseInt(r[8],10)/6E4;"W"==r[9]&&(y=-y);f.push(y,B);"none"!=c&&f.push("gps"==c?parseInt(r[11],10):"barometric"==c?parseInt(r[12],10):0);f.push(Date.UTC(g,h,m,q,u,x)/1E3)}}else if("H"==q.charAt(0))if(r=Cq.exec(q))m=
parseInt(r[1],10),h=parseInt(r[2],10)-1,g=2E3+parseInt(r[3],10);else if(r=Bq.exec(q))e[r[1]]=Ca(r[2]),Cq.exec(q)}if(0===f.length)return null;d=new N(null);lm(d,"none"==c?"XYM":"XYZM",f);c=new G(d);c.L(e);return c};function Dq(a){function b(a){return ja(a)?a:la(a)?(!(a in d)&&"#"+a in d&&(a="#"+a),b(d[a])):c}a=s(a)?a:{};var c=s(a.defaultStyle)?a.defaultStyle:Eq,d={};this.a=d;this.d=function(){var a=this.get("Style");if(s(a))return a;a=this.get("styleUrl");return s(a)?b(a):c}}v(Dq,sp);
var Fq=["http://www.google.com/kml/ext/2.2"],Gq=[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"],Hq=[255,255,255,1],Iq=new Mi({color:Hq}),Jq=[2,20],Kq=[32,32],Lq=new al({anchor:Jq,anchorXUnits:"pixels",anchorYUnits:"pixels",crossOrigin:"anonymous",rotation:0,scale:1,size:Kq,src:"https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png"}),Mq=new Oi({color:Hq,width:1}),Eq=[new Qi({fill:Iq,image:Lq,text:null,
stroke:Mq,zIndex:0})],Nq={fraction:"fraction",pixels:"pixels"};function Oq(a){a=Mo(a);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 Pq(a){a=Mo(a);for(var b=[],c=/^\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)\s*,\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)(?:\s*,\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?))?\s*/i,d;d=c.exec(a);)b.push(parseFloat(d[1]),parseFloat(d[2]),d[3]?parseFloat(d[3]):0),a=a.substr(d[0].length);return""!==a?void 0:b}function Qq(a){var b=Mo(a);return null!=a.baseURI?yj(a.baseURI,Ca(b)).toString():Ca(b)}function Rq(a,b){return Z(null,Sq,a,b)}
function Tq(a,b){var c=Z({j:[],af:[]},Uq,a,b);if(s(c)){var d=c.j,c=c.af,e,f;e=0;for(f=Math.min(d.length,c.length);e<f;++e)d[4*e+3]=c[e];c=new N(null);lm(c,"XYZM",d);return c}}function Vq(a,b){var c=Z(null,Wq,a,b);if(s(c)){var d=new N(null);lm(d,"XYZ",c);return d}}function Xq(a,b){var c=Z(null,Wq,a,b);if(s(c)){var d=new D(null);zh(d,"XYZ",c,[c.length]);return d}}
function Yq(a,b){var c=Z([],Zq,a,b);if(!s(c))return null;if(0===c.length)return new em(c);var d=!0,e=c[0].D(),f,g,h;g=1;for(h=c.length;g<h;++g)if(f=c[g],f.D()!=e){d=!1;break}if(d){if("Point"==e){f=c[0];d=f.b;e=f.j;g=1;for(h=c.length;g<h;++g)f=c[g],kg(e,f.j);c=new Q(null);Yg(c,d,e);c.k();return c}return"LineString"==e?(f=new P(null),nm(f,c),f):"Polygon"==e?(f=new R(null),pm(f,c),f):"GeometryCollection"==e?new em(c):null}return new em(c)}
function $q(a,b){var c=Z(null,Wq,a,b);if(null!=c){var d=new rh(null);sh(d,"XYZ",c);return d}}function ar(a,b){var c=Z([null],br,a,b);if(null!=c&&null!==c[0]){var d=new D(null),e=c[0],f=[e.length],g,h;g=1;for(h=c.length;g<h;++g)kg(e,c[g]),f.push(e.length);zh(d,"XYZ",e,f);return d}}
function cr(a,b){var c=Z({},dr,a,b);if(!s(c))return null;var d=w(c,"fillStyle",Iq),e=w(c,"fill");s(e)&&!e&&(d=null);var e=w(c,"imageStyle",Lq),f=w(c,"strokeStyle",Mq),c=w(c,"outline");s(c)&&!c&&(f=null);return[new Qi({fill:d,image:e,stroke:f,text:null,zIndex:void 0})]}
var er=pp(Gq,{value:ip(Ep)},void 0),gr=pp(Gq,{Data:function(a,b){var c=a.getAttribute("name");if(null!==c){var d=Z(void 0,er,a,b);s(d)&&(b[b.length-1][c]=d)}},SchemaData:function(a,b){qp(fr,a,b)}},void 0),Sq=pp(Gq,{coordinates:ip(Pq)},void 0),br=pp(Gq,{innerBoundaryIs:function(a,b){var c=Z(void 0,hr,a,b);s(c)&&b[b.length-1].push(c)},outerBoundaryIs:function(a,b){var c=Z(void 0,ir,a,b);s(c)&&(b[b.length-1][0]=c)}},void 0),jr=pp(Fq,{coord:function(a,b){var c=b[b.length-1].j,d=Mo(a);(d=/^\s*([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s+([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s+([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s*$/i.exec(d))?
c.push(parseFloat(d[1]),parseFloat(d[2]),parseFloat(d[3]),0):c.push(0,0,0,0)}},void 0),Uq=pp(Gq,{when:function(a,b){var c=b[b.length-1].af,d=Mo(a);if(d=/^\s*(\d{4})($|-(\d{2})($|-(\d{2})($|T(\d{2}):(\d{2}):(\d{2})(Z|(?:([+\-])(\d{2})(?::(\d{2}))?)))))\s*$/.exec(d)){var e=Date.UTC(parseInt(d[1],10),s(d[3])?parseInt(d[3],10)-1:0,s(d[5])?parseInt(d[5],10):1,s(d[7])?parseInt(d[7],10):0,s(d[8])?parseInt(d[8],10):0,s(d[9])?parseInt(d[9],10):0);if(s(d[10])&&"Z"!=d[10]){var f="-"==d[11]?-1:1,e=e+60*f*parseInt(d[12],
10);s(d[13])&&(e+=3600*f*parseInt(d[13],10))}c.push(e)}else c.push(0)}},jr),Wq=pp(Gq,{coordinates:ip(Pq)},void 0),kr=pp(Gq,{href:V(Qq)},void 0),lr=pp(Gq,{Icon:V(function(a,b){var c=Z({},kr,a,b);return s(c)?c:null}),heading:V(Ap),hotSpot:V(function(a){var b=a.getAttribute("xunits"),c=a.getAttribute("yunits");return{x:parseFloat(a.getAttribute("x")),qi:Nq[b],y:parseFloat(a.getAttribute("y")),ri:Nq[c]}}),scale:V(function(a){a=Ap(a);if(s(a))return Math.sqrt(a)})},void 0),hr=pp(Gq,{LinearRing:ip(Rq)},
void 0),mr=pp(Gq,{color:V(Oq),width:V(Ap)},void 0),Zq=pp(Gq,{LineString:hp(Vq),LinearRing:hp(Xq),MultiGeometry:hp(Yq),Point:hp($q),Polygon:hp(ar)},void 0),nr=pp(Fq,{Track:hp(Tq)},void 0),ir=pp(Gq,{LinearRing:ip(Rq)},void 0),or=pp(Gq,{Style:V(cr),key:V(Ep),styleUrl:V(function(a){var b=Ca(Mo(a));return null!=a.baseURI?yj(a.baseURI,b).toString():b})},void 0),qr={ExtendedData:function(a,b){qp(gr,a,b)},MultiGeometry:V(Yq,"geometry"),LineString:V(Vq,"geometry"),LinearRing:V(Xq,"geometry"),Point:V($q,"geometry"),
Polygon:V(ar,"geometry"),Style:V(cr),StyleMap:function(a,b){var c=Z(void 0,pr,a,b);if(s(c)){var d=b[b.length-1];ja(c)?d.Style=c:la(c)&&(d.styleUrl=c)}},address:V(Ep),description:V(Ep),name:V(Ep),open:V(xp),phoneNumber:V(Ep),styleUrl:V(Qq),visibility:V(xp)},rr=pp(Fq,{MultiTrack:V(function(a,b){var c=Z([],nr,a,b);if(s(c)){var d=new P(null);nm(d,c);return d}},"geometry"),Track:V(Tq,"geometry")},void 0),sr=pp(Gq,qr,rr),tr=pp(Gq,{color:V(Oq),fill:V(xp),outline:V(xp)},void 0),fr=pp(Gq,{SimpleData:function(a,
b){var c=a.getAttribute("name");if(null!==c){var d=Ep(a);b[b.length-1][c]=d}}},void 0),dr=pp(Gq,{IconStyle:function(a,b){var c=Z({},lr,a,b);if(s(c)){var d=b[b.length-1],e;e=w(w(c,"Icon",{}),"href");e=s(e)?e:"https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png";var f,g,h,m=w(c,"hotSpot");s(m)?(f=[m.x,m.y],g=m.qi,h=m.ri):"https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png"===e?(f=Jq,h=g="pixels"):/^http:\/\/maps\.(?:google|gstatic)\.com\//.test(e)&&(f=[0.5,0],h=g="fraction");var n,
m=w(c,"heading");s(m)&&(n=Zb(m));var c=w(c,"scale"),p;"https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png"==e&&(p=Kq);f=new al({anchor:f,anchorOrigin:"bottom-left",anchorXUnits:g,anchorYUnits:h,crossOrigin:"anonymous",rotation:n,scale:c,size:p,src:e});d.imageStyle=f}},LineStyle:function(a,b){var c=Z({},mr,a,b);s(c)&&(b[b.length-1].strokeStyle=new Oi({color:w(c,"color",Hq),width:w(c,"width",1)}))},PolyStyle:function(a,b){var c=Z({},tr,a,b);if(s(c)){var d=b[b.length-1];d.fillStyle=new Mi({color:w(c,
"color",Hq)});var e=w(c,"fill");s(e)&&(d.fill=e);c=w(c,"outline");s(c)&&(d.outline=c)}}},void 0),pr=pp(Gq,{Pair:function(a,b){var c=Z({},or,a,b);if(s(c)){var d=w(c,"key");s(d)&&"normal"==d&&(d=w(c,"styleUrl"),s(d)&&(b[b.length-1]=d),c=w(c,"Style"),s(c)&&(b[b.length-1]=c))}}},void 0);l=Dq.prototype;l.Oe=function(a,b){Qo(a);var c;c={Folder:gp(this.Oe,this),Placemark:hp(this.Ed,this),Style:xa(this.Qh,this),StyleMap:xa(this.Ph,this)};c=pp(Gq,c,void 0);c=Z([],c,a,b,this);if(s(c))return c};
l.Ed=function(a,b){var c=Z({geometry:null},sr,a,b);if(s(c)){var d=new G,e=a.getAttribute("id");null===e||d.b(e);d.L(c);d.g(this.d);return d}};l.Qh=function(a,b){var c=a.getAttribute("id");if(null!==c){var d=cr(a,b);s(d)&&(c=null!=a.baseURI?yj(a.baseURI,"#"+c).toString():"#"+c,this.a[c]=d)}};l.Ph=function(a,b){var c=a.getAttribute("id");if(null!==c){var d=Z(void 0,pr,a,b);s(d)&&(c=null!=a.baseURI?yj(a.baseURI,"#"+c).toString():"#"+c,this.a[c]=d)}};
l.Pe=function(a){if(!(0<=vb(Gq,a.namespaceURI)))return null;a=this.Ed(a,[]);return s(a)?a:null};l.Sb=function(a){if(!(0<=vb(Gq,a.namespaceURI)))return[];var b;b=Qo(a);if("Document"==b||"Folder"==b)return b=this.Oe(a,[]),s(b)?b:[];if("Placemark"==b)return b=this.Ed(a,[]),s(b)?[b]:[];if("kml"==b){b=[];for(a=a.firstElementChild;null!==a;a=a.nextElementSibling){var c=this.Sb(a);s(c)&&Eb(b,c)}return b}return[]};l.rc=function(){return bi("EPSG:4326")};l.sc=function(){return bi("EPSG:4326")};function ur(){}v(ur,sp);function vr(a,b){var c=a.getAttribute("k"),d=a.getAttribute("v");b[b.length-1].uc[c]=d}
var wr=[null],xr=pp(wr,{nd:function(a,b){b[b.length-1].Lb.push(a.getAttribute("ref"))},tag:vr},void 0),zr=pp(wr,{node:function(a,b){var c=b[b.length-1],d=a.getAttribute("id"),e=[parseFloat(a.getAttribute("lon")),parseFloat(a.getAttribute("lat"))];c.te[d]=e;var f=Z({uc:{}},yr,a,b);hc(f.uc)||(e=new rh(e),e=new G(e),e.b(d),e.L(f.uc),c.features.push(e))},way:function(a,b){for(var c=a.getAttribute("id"),d=Z({Lb:[],uc:{}},xr,a,b),e=b[b.length-1],f=[],g=0,h=d.Lb.length;g<h;g++)Eb(f,w(e.te,d.Lb[g]));d.Lb[0]==
d.Lb[d.Lb.length-1]?(g=new D(null),zh(g,"XY",f,[f.length])):(g=new N(null),lm(g,"XY",f));f=new G(g);f.b(c);f.L(d.uc);e.features.push(f)}},void 0),yr=pp(wr,{tag:vr},void 0);ur.prototype.Sb=function(a){return"osm"==a.localName&&(a=Z({te:{},features:[]},zr,a,[]),s(a.features))?a.features:[]};ur.prototype.rc=function(){return bi("EPSG:4326")};ur.prototype.sc=function(){return bi("EPSG:4326")};function Ar(a){this.d=bi((s(a)?a:{}).defaultProjection||"EPSG:4326")}v(Ar,lq);function Br(a,b){var c=[],d,e,f;e=0;for(f=a.length;e<f;++e)d=a[e],0<e&&c.pop(),d=0<=d?b[d]:b[~d].slice().reverse(),c.push.apply(c,d);e=0;for(f=c.length;e<f;++e)c[e]=c[e].slice();return c}function Cr(a,b,c,d){a=a.geometries;var e=[],f,g;f=0;for(g=a.length;f<g;++f)e[f]=Dr(a[f],b,c,d);return e}
function Dr(a,b,c,d){var e=a.type,f=Er[e];b="Point"===e||"MultiPoint"===e?f(a,c,d):f(a,b);c=new G;c.pb(b);s(a.id)&&c.b(a.id);s(a.properties)&&c.L(a.properties);return c}
Ar.prototype.a=function(a){if("Topology"==a.type){var b,c=null,d=null;s(a.transform)&&(b=a.transform,c=b.scale,d=b.translate);var e=a.arcs;if(s(b)){b=c;var f=d,g,h;g=0;for(h=e.length;g<h;++g)for(var m=e[g],n=b,p=f,q=0,r=0,u=void 0,x=void 0,B=void 0,x=0,B=m.length;x<B;++x)u=m[x],q+=u[0],r+=u[1],u[0]=q,u[1]=r,Fr(u,n,p)}b=[];a=fc(a.objects);f=0;for(g=a.length;f<g;++f)"GeometryCollection"===a[f].type?(h=a[f],b.push.apply(b,Cr(h,e,c,d))):(h=a[f],b.push(Dr(h,e,c,d)));return b}return[]};
function Fr(a,b,c){a[0]=a[0]*b[0]+c[0];a[1]=a[1]*b[1]+c[1]}Ar.prototype.Fa=k("d");
var Er={Point:function(a,b,c){a=a.coordinates;null===b||null===c||Fr(a,b,c);return new rh(a)},LineString:function(a,b){var c=Br(a.arcs,b);return new N(c)},Polygon:function(a,b){var c=[],d,e;d=0;for(e=a.arcs.length;d<e;++d)c[d]=Br(a.arcs[d],b);return new D(c)},MultiPoint:function(a,b,c){a=a.coordinates;var d,e;if(null!==b&&null!==c)for(d=0,e=a.length;d<e;++d)Fr(a[d],b,c);return new Q(a)},MultiLineString:function(a,b){var c=[],d,e;d=0;for(e=a.arcs.length;d<e;++d)c[d]=Br(a.arcs[d],b);return new P(c)},
MultiPolygon:function(a,b){var c=[],d,e,f,g,h,m;h=0;for(m=a.arcs.length;h<m;++h){d=a.arcs[h];e=[];f=0;for(g=d.length;f<g;++f)e[f]=Br(d[f],b);c[h]=e}return new R(c)}};function Gr(a,b){var c=Qo(a),d=b[0],e=w(d,"featureType"),f;if("FeatureCollection"==c)f=Z(null,Hr,a,b);else if("featureMembers"==c||"featureMember"==c){f={};var g={};f[e]="featureMembers"==c?hp(Ir):ip(Ir);g[w(d,"featureNS")]=f;f=Z([],g,a,b)}s(f)||(f=[]);return f}var Hr={"http://www.opengis.net/gml":{featureMember:hp(Gr),featureMembers:ip(Gr)}};function Jr(a,b){var c=a.firstElementChild.getAttribute("srsName");b[0].srsName=c;c=Z(null,Kr,a,b);if(null!=c)return c}
function Ir(a,b){var c,d=a.getAttribute("fid")||$o(a,"http://www.opengis.net/gml","id"),e={},f;for(c=a.firstElementChild;null!==c;c=c.nextElementSibling)if(0===c.childNodes.length||1===c.childNodes.length&&3===c.firstChild.nodeType){var g=Mo(c);/^[\s\xa0]*$/.test(g)&&(g=void 0);e[Qo(c)]=g}else f=Qo(c),e[f]=Jr(c,b);c=new G(e);s(f)&&c.i(f);d&&c.b(d);return c}function Lr(a,b){qp(Mr,a,b)}function Nr(a,b){qp(Or,a,b)}function Pr(a,b){qp(Qr,a,b)}function Rr(a,b){qp(Sr,a,b)}function Tr(a,b){qp(Ur,a,b)}
function Vr(a,b){var c=Wr(a,b);if(null!=c){var d=new N(null);lm(d,"XYZ",c);return d}}function Xr(a,b){var c=Z([null],Yr,a,b);if(s(c)&&null!==c[0]){var d=new D(null),e=c[0],f=[e.length],g,h;g=1;for(h=c.length;g<h;++g)kg(e,c[g]),f.push(e.length);zh(d,"XYZ",e,f);return d}}function Zr(a,b){var c=Z([null],$r,a,b);if(s(c)&&null!==c[0]){var d=new D(null),e=c[0],f=[e.length],g,h;g=1;for(h=c.length;g<h;++g)kg(e,c[g]),f.push(e.length);zh(d,"XYZ",e,f);return d}}
function as(a,b){var c=Z([null],bs,a,b);if(s(c)){var d=new N(null);lm(d,"XYZ",c);return d}}function Wr(a,b){return Z(null,cs,a,b)}
function ds(a,b){var c=Mo(a).replace(/^\s*|\s*$/g,""),d=w(b[0],"srsName"),e=a.parentNode.getAttribute("srsDimension"),f="enu";null===d||(f=Ih(bi(d)));c=c.split(/\s+/);d=2;ia(a.getAttribute("srsDimension"))?ia(a.getAttribute("dimension"))?null===e||(d=Dp(e)):d=Dp(a.getAttribute("dimension")):d=Dp(a.getAttribute("srsDimension"));for(var g,h,m=[],n=0,p=c.length;n<p;n+=d)e=parseFloat(c[n]),g=parseFloat(c[n+1]),h=3===d?parseFloat(c[n+2]):0,"en"===f.substr(0,2)?m.push(e,g,h):m.push(g,e,h);return m}
var Kr={"http://www.opengis.net/gml":{Point:ip(function(a,b){var c=Wr(a,b);if(null!=c){var d=new rh(null);sh(d,"XYZ",c);return d}}),MultiPoint:ip(function(a,b){var c=Z([],es,a,b);if(s(c))return new Q(c)}),LineString:ip(Vr),MultiLineString:ip(function(a,b){var c=Z([],fs,a,b);if(s(c)){var d=new P(null);nm(d,c);return d}}),LinearRing:ip(function(a,b){var c=Wr(a,b);if(s(c)){var d=new ph(null);qh(d,"XYZ",c);return d}}),Polygon:ip(Xr),MultiPolygon:ip(function(a,b){var c=Z([],gs,a,b);if(s(c)){var d=new R(null);
pm(d,c);return d}}),Surface:ip(Zr),MultiSurface:ip(function(a,b){var c=Z([],hs,a,b);if(s(c)){var d=new R(null);pm(d,c);return d}}),Curve:ip(as),MultiCurve:ip(function(a,b){var c=Z([],is,a,b);if(s(c)){var d=new P(null);nm(d,c);return d}}),Envelope:ip(function(a,b){var c=Z([null],js,a,b);return yg(c[1][0],c[1][1],c[2][0],c[2][1])})}},cs={"http://www.opengis.net/gml":{pos:ip(function(a,b){for(var c=Mo(a),d=/^\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)\s*/,e=[],f;f=d.exec(c);)e.push(parseFloat(f[1])),c=c.substr(f[0].length);
if(""===c){c=w(b[0],"srsName");d="enu";null===c||(d=Ih(bi(c)));if("neu"===d)for(c=0,d=e.length;c<d;c+=3)f=e[c],e[c]=e[c+1],e[c+1]=f;c=e.length;2==c&&e.push(0);return 0===c?void 0:e}}),posList:ip(ds)}},Yr={"http://www.opengis.net/gml":{interior:function(a,b){var c=Z(void 0,ks,a,b);s(c)&&b[b.length-1].push(c)},exterior:function(a,b){var c=Z(void 0,ks,a,b);s(c)&&(b[b.length-1][0]=c)}}},es={"http://www.opengis.net/gml":{pointMember:hp(Lr),pointMembers:hp(Lr)}},fs={"http://www.opengis.net/gml":{lineStringMember:hp(Nr),
lineStringMembers:hp(Nr)}},is={"http://www.opengis.net/gml":{curveMember:hp(Pr),curveMembers:hp(Pr)}},hs={"http://www.opengis.net/gml":{surfaceMember:hp(Rr),surfaceMembers:hp(Rr)}},gs={"http://www.opengis.net/gml":{polygonMember:hp(Tr),polygonMembers:hp(Tr)}},Mr={"http://www.opengis.net/gml":{Point:hp(Wr)}},Or={"http://www.opengis.net/gml":{LineString:hp(Vr)}},Qr={"http://www.opengis.net/gml":{LineString:hp(Vr),Curve:hp(as)}},Sr={"http://www.opengis.net/gml":{Polygon:hp(Xr),Surface:hp(Zr)}},Ur={"http://www.opengis.net/gml":{Polygon:hp(Xr)}},
$r={"http://www.opengis.net/gml":{patches:ip(function(a,b){return Z([null],ls,a,b)})}},bs={"http://www.opengis.net/gml":{segments:ip(function(a,b){return Z([null],ms,a,b)})}},js={"http://www.opengis.net/gml":{lowerCorner:hp(ds),upperCorner:hp(ds)}},ls={"http://www.opengis.net/gml":{PolygonPatch:ip(function(a,b){return Z([null],Yr,a,b)})}},ms={"http://www.opengis.net/gml":{LineStringSegment:ip(function(a,b){return Z([null],cs,a,b)})}},ks={"http://www.opengis.net/gml":{LinearRing:ip(function(a,b){var c=
Z(null,cs,a,b);if(null!=c)return c})}};function ns(a,b,c){c=w(c[c.length-1],"srsName");b=b.C();for(var d=b.length,e=Array(d),f,g=0;g<d;++g){f=b[g];var h=e,m=g,n="enu";null!=c&&(n=Ih(bi(c)));h[m]="en"===n.substr(0,2)?f[0]+" "+f[1]:f[1]+" "+f[0]}Hp(a,e.join(" "))}
function os(a,b,c){var d=w(c[c.length-1],"srsName");null!=d&&a.setAttribute("srsName",d);d=Lo(a.namespaceURI,"pos");a.appendChild(d);c=w(c[c.length-1],"srsName");a="enu";null!=c&&(a=Ih(bi(c)));b=b.C();Hp(d,"en"===a.substr(0,2)?b[0]+" "+b[1]:b[1]+" "+b[0])}var ps={"http://www.opengis.net/gml":{lowerCorner:Y(Hp),upperCorner:Y(Hp)}};function qs(a,b,c){var d=w(c[c.length-1],"srsName");null!=d&&a.setAttribute("srsName",d);d=Lo(a.namespaceURI,"posList");a.appendChild(d);ns(d,b,c)}
function rs(a,b){var c=b[b.length-1],d=c.node,e=w(c,"exteriorWritten");s(e)||(c.exteriorWritten=!0);return Lo(d.namespaceURI,s(e)?"interior":"exterior")}
function ss(a,b,c){var d=w(c[c.length-1],"srsName");"PolygonPatch"!==a.nodeName&&null!=d&&a.setAttribute("srsName",d);"Polygon"===a.nodeName||"PolygonPatch"===a.nodeName?(b=b.od(),rp({node:a,srsName:d},ts,rs,b,c)):"Surface"===a.nodeName&&(d=Lo(a.namespaceURI,"patches"),a.appendChild(d),a=Lo(d.namespaceURI,"PolygonPatch"),d.appendChild(a),ss(a,b,c))}
function us(a,b,c){var d=w(c[c.length-1],"srsName");"LineStringSegment"!==a.nodeName&&null!=d&&a.setAttribute("srsName",d);"LineString"===a.nodeName||"LineStringSegment"===a.nodeName?(d=Lo(a.namespaceURI,"posList"),a.appendChild(d),ns(d,b,c)):"Curve"===a.nodeName&&(d=Lo(a.namespaceURI,"segments"),a.appendChild(d),a=Lo(d.namespaceURI,"LineStringSegment"),d.appendChild(a),us(a,b,c))}
function vs(a,b,c){var d=c[c.length-1],e=w(d,"srsName"),d=w(d,"surface");null!=e&&a.setAttribute("srsName",e);b=b.qd();rp({node:a,srsName:e,surface:d},ws,xs,b,c)}function ys(a,b,c){var d=c[c.length-1],e=w(d,"srsName"),d=w(d,"curve");null!=e&&a.setAttribute("srsName",e);b=b.Hc();rp({node:a,srsName:e,curve:d},zs,xs,b,c)}function As(a,b,c){var d=Lo(a.namespaceURI,"LinearRing");a.appendChild(d);qs(d,b,c)}function Bs(a,b,c){var d=Cs(b,c);s(d)&&(a.appendChild(d),ss(d,b,c))}
function Ds(a,b,c){var d=Cs(b,c);s(d)&&(a.appendChild(d),us(d,b,c))}function Es(a,b,c){var d=lc(c[c.length-1]);d.node=a;rp(d,Fs,Cs,[b],c)}
var ws={"http://www.opengis.net/gml":{surfaceMember:Y(Bs),polygonMember:Y(Bs)}},Gs={"http://www.opengis.net/gml":{pointMember:Y(function(a,b,c){var d=Lo(a.namespaceURI,"Point");a.appendChild(d);os(d,b,c)})}},zs={"http://www.opengis.net/gml":{lineStringMember:Y(Ds),curveMember:Y(Ds)}},ts={"http://www.opengis.net/gml":{exterior:Y(As),interior:Y(As)}},Fs={"http://www.opengis.net/gml":{Curve:Y(us),MultiCurve:Y(ys),Point:Y(os),MultiPoint:Y(function(a,b,c){var d=w(c[c.length-1],"srsName");null!=d&&a.setAttribute("srsName",
d);b=b.pd();rp({node:a,srsName:d},Gs,lp("pointMember"),b,c)}),LineString:Y(us),MultiLineString:Y(ys),LinearRing:Y(qs),Polygon:Y(ss),MultiPolygon:Y(vs),Surface:Y(ss),MultiSurface:Y(vs),Envelope:Y(function(a,b,c){var d=w(c[c.length-1],"srsName");s(d)&&a.setAttribute("srsName",d);rp({node:a},ps,np,[b[0]+" "+b[1],b[2]+" "+b[3]],c,["lowerCorner","upperCorner"])})}},Hs={MultiLineString:"lineStringMember",MultiCurve:"curveMember",MultiPolygon:"polygonMember",MultiSurface:"surfaceMember"};
function xs(a,b){return Lo("http://www.opengis.net/gml",Hs[b[b.length-1].node.nodeName])}function Cs(a,b){var c=b[b.length-1],d=w(c,"multiSurface"),e=w(c,"surface"),f=w(c,"curve"),c=w(c,"multiCurve"),g;ja(a)?g="Envelope":(g=a.D(),"MultiPolygon"===g&&!0===d?g="MultiSurface":"Polygon"===g&&!0===e?g="Surface":"LineString"===g&&!0===f?g="Curve":"MultiLineString"===g&&!0===c&&(g="MultiCurve"));return Lo("http://www.opengis.net/gml",g)};function Is(a){a=s(a)?a:{};this.b=a.featureType;this.a=a.featureNS;this.d=s(a.schemaLocation)?a.schemaLocation:"http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd"}v(Is,sp);Is.prototype.Sb=function(a){a=Z([],Hr,a,[{featureType:this.b,featureNS:this.a}]);s(a)||(a=[]);return a};Is.prototype.f=function(a){if(To(a))return Js(a);if(Wo(a))return Z({},Ks,a,[]);if(la(a))return a=fp(a),Js(a)};
Is.prototype.c=function(a){if(To(a))return Ls(a);if(Wo(a))return Ms(a);if(la(a))return a=fp(a),Ls(a)};function Ls(a){for(a=a.firstChild;null!==a;a=a.nextSibling)if(1==a.nodeType)return Ms(a)}var Ns={"http://www.opengis.net/gml":{boundedBy:V(Jr,"bounds")}};function Ms(a){var b={},c=Dp(a.getAttribute("numberOfFeatures"));b.numberOfFeatures=c;return Z(b,Ns,a,[])}
var Os={"http://www.opengis.net/wfs":{totalInserted:V(Cp),totalUpdated:V(Cp),totalDeleted:V(Cp)}},Ps={"http://www.opengis.net/ogc":{FeatureId:hp(function(a){return a.getAttribute("fid")})}},Qs={"http://www.opengis.net/wfs":{Feature:function(a,b){qp(Ps,a,b)}}},Ks={"http://www.opengis.net/wfs":{TransactionSummary:V(function(a,b){return Z({},Os,a,b)},"transactionSummary"),InsertResults:V(function(a,b){return Z([],Qs,a,b)},"insertIds")}};
function Js(a){for(a=a.firstChild;null!==a;a=a.nextSibling)if(1==a.nodeType)return Z({},Ks,a,[])}var Rs={"http://www.opengis.net/wfs":{PropertyName:Y(Hp)}};function Ss(a,b){var c=Lo("http://www.opengis.net/ogc","Filter"),d=Lo("http://www.opengis.net/ogc","FeatureId");c.appendChild(d);d.setAttribute("fid",b);a.appendChild(c)}
var Ts={"http://www.opengis.net/wfs":{Insert:Y(function(a,b,c){var d=c[c.length-1],d=Lo(w(d,"featureNS"),w(d,"featureType"));a.appendChild(d);a=b.$;s(a)&&d.setAttribute("fid",a);a=c[c.length-1];var e=w(a,"featureNS"),f=b.a;s(a.zb)||(a.zb={},a.zb[e]={});var g=b.S();b=[];var h=[],m;for(m in g){var n=g[m];null!==n&&(b.push(m),h.push(n),m==f?m in a.zb[e]||(a.zb[e][m]=Y(Es)):m in a.zb[e]||(a.zb[e][m]=Y(Hp)))}m=lc(a);m.node=d;rp(m,a.zb,lp(void 0,e),h,c,b)}),Update:Y(function(a,b,c){var d=c[c.length-1];
a.setAttribute("typeName",w(d,"featurePrefix")+":"+w(d,"featureType"));d=b.$;if(s(d)){for(var e=b.P(),f=[],g=0,h=e.length;g<h;g++){var m=b.get(e[g]);s(m)&&f.push({name:e[g],value:m})}rp({node:a},Ts,lp("Property"),f,c);Ss(a,d)}}),Delete:Y(function(a,b,c){c=c[c.length-1];a.setAttribute("typeName",w(c,"featurePrefix")+":"+w(c,"featureType"));b=b.$;s(b)&&Ss(a,b)}),Property:Y(function(a,b,c){var d=Lo("http://www.opengis.net/wfs","Name");a.appendChild(d);Hp(d,b.name);null!=b.value&&(d=Lo("http://www.opengis.net/wfs",
"Value"),a.appendChild(d),b.value instanceof Ug?Es(d,b.value,c):Hp(d,b.value))}),Native:Y(function(a,b){s(b.ji)&&a.setAttribute("vendorId",b.ji);s(b.$h)&&a.setAttribute("safeToIgnore",b.$h);s(b.value)&&Hp(a,b.value)})}},Us={"http://www.opengis.net/wfs":{Query:Y(function(a,b,c){var d=c[c.length-1],e=w(d,"featurePrefix"),f=w(d,"featureNS"),g=w(d,"propertyNames"),h=w(d,"srsName");a.setAttribute("typeName",(s(e)?e+":":"")+b);s(h)&&a.setAttribute("srsName",h);s(f)&&a.setAttribute("xmlns:"+e,f);b=lc(d);
b.node=a;rp(b,Rs,lp("PropertyName"),g,c);d=w(d,"bbox");s(d)&&(g=Lo("http://www.opengis.net/ogc","Filter"),b=w(c[c.length-1],"geometryName"),e=Lo("http://www.opengis.net/ogc","BBOX"),g.appendChild(e),f=Lo("http://www.opengis.net/ogc","PropertyName"),Hp(f,b),e.appendChild(f),Es(e,d,c),a.appendChild(g))})}};
Is.prototype.g=function(a){var b=Lo("http://www.opengis.net/wfs","GetFeature");b.setAttribute("service","WFS");b.setAttribute("version","1.1.0");s(a)&&(s(a.handle)&&b.setAttribute("handle",a.handle),s(a.outputFormat)&&b.setAttribute("outputFormat",a.outputFormat),s(a.maxFeatures)&&b.setAttribute("maxFeatures",a.maxFeatures),s(a.resultType)&&b.setAttribute("resultType",a.resultType),s(a.bi)&&b.setAttribute("startIndex",a.bi),s(a.count)&&b.setAttribute("count",a.count));ep(b,"http://www.w3.org/2001/XMLSchema-instance",
"xsi:schemaLocation",this.d);var c=a.featureTypes;a=[{node:b,srsName:a.srsName,featureNS:s(a.featureNS)?a.featureNS:this.a,featurePrefix:a.featurePrefix,geometryName:a.geometryName,bbox:a.bbox,Ne:s(a.Ne)?a.Ne:[]}];var d=lc(a[a.length-1]);d.node=b;rp(d,Us,lp("Query"),c,a);return b};
Is.prototype.i=function(a,b,c,d){var e=[],f=Lo("http://www.opengis.net/wfs","Transaction");f.setAttribute("service","WFS");f.setAttribute("version","1.1.0");s(d)&&s(d.handle)&&f.setAttribute("handle",d.handle);ep(f,"http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",this.d);null!=a&&rp({node:f,featureNS:d.featureNS,featureType:d.featureType},Ts,lp("Insert"),a,e);null!=b&&rp({node:f,featureNS:d.featureNS,featureType:d.featureType,featurePrefix:d.featurePrefix},Ts,lp("Update"),b,e);null!=
c&&rp({node:f,featureNS:d.featureNS,featureType:d.featureType,featurePrefix:d.featurePrefix},Ts,lp("Delete"),c,e);s(d.nativeElements)&&rp({node:f,featureNS:d.featureNS,featureType:d.featureType,featurePrefix:d.featurePrefix},Ts,lp("Native"),d.nativeElements,e);return f};Is.prototype.rc=function(a){for(a=a.firstChild;null!==a;a=a.nextSibling)if(1==a.nodeType)return this.sc(a);return null};
Is.prototype.sc=function(a){a=a.firstElementChild.firstElementChild;if(null!=a)for(a=a.firstElementChild;null!==a;a=a.nextElementSibling)if(0!==a.childNodes.length&&(1!==a.childNodes.length||3!==a.firstChild.nodeType)){var b=[{}];Jr(a,b);return bi(b.pop().srsName)}return null};function Vs(a){return a.getAttributeNS("http://www.w3.org/1999/xlink","href")};function Ws(){}Ws.prototype.a=function(a){return To(a)?Xs(this,a):Wo(a)?Ys(this,a):la(a)?(a=fp(a),Xs(this,a)):null};function Zs(){this.version=void 0}v(Zs,Ws);function Xs(a,b){for(var c=b.firstChild;null!==c;c=c.nextSibling)if(1==c.nodeType)return Ys(a,c);return null}function Ys(a,b){a.version=Ca(b.getAttribute("version"));var c=Z({version:a.version},$s,b,[]);return s(c)?c:null}function at(a,b){return Z({},bt,a,b)}function ct(a,b){return Z({},dt,a,b)}function et(a,b){var c=at(a,b);if(s(c)){var d=[Dp(a.getAttribute("width")),Dp(a.getAttribute("height"))];c.size=d;return c}}function ft(a,b){return Z([],gt,a,b)}
var ht=[null,"http://www.opengis.net/wms"],$s=pp(ht,{Service:V(function(a,b){return Z({},it,a,b)}),Capability:V(function(a,b){return Z({},jt,a,b)})},void 0),jt=pp(ht,{Request:V(function(a,b){return Z({},kt,a,b)}),Exception:V(function(a,b){return Z([],lt,a,b)}),Layer:V(function(a,b){return Z({},mt,a,b)})},void 0),it=pp(ht,{Name:V(Ep),Title:V(Ep),Abstract:V(Ep),KeywordList:V(ft),OnlineResource:V(Vs),ContactInformation:V(function(a,b){return Z({},nt,a,b)}),Fees:V(Ep),AccessConstraints:V(Ep),LayerLimit:V(Cp),
MaxWidth:V(Cp),MaxHeight:V(Cp)},void 0),nt=pp(ht,{ContactPersonPrimary:V(function(a,b){return Z({},ot,a,b)}),ContactPosition:V(Ep),ContactAddress:V(function(a,b){return Z({},pt,a,b)}),ContactVoiceTelephone:V(Ep),ContactFacsimileTelephone:V(Ep),ContactElectronicMailAddress:V(Ep)},void 0),ot=pp(ht,{ContactPerson:V(Ep),ContactOrganization:V(Ep)},void 0),pt=pp(ht,{AddressType:V(Ep),Address:V(Ep),City:V(Ep),StateOrProvince:V(Ep),PostCode:V(Ep),Country:V(Ep)},void 0),lt=pp(ht,{Format:hp(Ep)},void 0),mt=
pp(ht,{Name:V(Ep),Title:V(Ep),Abstract:V(Ep),KeywordList:V(ft),CRS:jp(Ep),EX_GeographicBoundingBox:V(function(a,b){var c=Z({},qt,a,b);if(s(c)){var d=w(c,"westBoundLongitude"),e=w(c,"southBoundLatitude"),f=w(c,"eastBoundLongitude"),c=w(c,"northBoundLatitude");return s(d)&&s(e)&&s(f)&&s(c)?[d,e,f,c]:void 0}}),BoundingBox:jp(function(a){var b=[Bp(a.getAttribute("minx")),Bp(a.getAttribute("miny")),Bp(a.getAttribute("maxx")),Bp(a.getAttribute("maxy"))],c=[Bp(a.getAttribute("resx")),Bp(a.getAttribute("resy"))];
return{crs:a.getAttribute("CRS"),extent:b,res:c}}),Dimension:jp(function(a){return{name:a.getAttribute("name"),units:a.getAttribute("units"),unitSymbol:a.getAttribute("unitSymbol"),"default":a.getAttribute("default"),multipleValues:yp(a.getAttribute("multipleValues")),nearestValue:yp(a.getAttribute("nearestValue")),current:yp(a.getAttribute("current")),values:Ep(a)}}),Attribution:V(function(a,b){return Z({},rt,a,b)}),AuthorityURL:jp(function(a,b){var c=at(a,b);if(s(c)){var d=a.getAttribute("name");
c.name=d;return c}}),Identifier:jp(Ep),MetadataURL:jp(function(a,b){var c=at(a,b);if(s(c)){var d=a.getAttribute("type");c.type=d;return c}}),DataURL:jp(at),FeatureListURL:jp(at),Style:jp(function(a,b){return Z({},st,a,b)}),MinScaleDenominator:V(Ap),MaxScaleDenominator:V(Ap),Layer:jp(function(a,b){var c=b[b.length-1],d=Z({},mt,a,b);if(s(d)){var e=yp(a.getAttribute("queryable"));s(e)||(e=w(c,"queryable"));d.queryable=s(e)?e:!1;e=Dp(a.getAttribute("cascaded"));s(e)||(e=w(c,"cascaded"));d.cascaded=e;
e=yp(a.getAttribute("opaque"));s(e)||(e=w(c,"opaque"));d.opaque=s(e)?e:!1;e=yp(a.getAttribute("noSubsets"));s(e)||(e=w(c,"noSubsets"));d.noSubsets=s(e)?e:!1;e=Bp(a.getAttribute("fixedWidth"));s(e)||(e=w(c,"fixedWidth"));d.fixedWidth=e;e=Bp(a.getAttribute("fixedHeight"));s(e)||(e=w(c,"fixedHeight"));d.fixedHeight=e;wb(["Style","CRS","AuthorityURL"],function(a){s(w(c,a))&&kc(d,a)});wb("EX_GeographicBoundingBox BoundingBox Dimension Attribution MinScaleDenominator MaxScaleDenominator".split(" "),function(a){s(w(d,
a))||(d[a]=w(c,a))});return d}})},void 0),rt=pp(ht,{Title:V(Ep),OnlineResource:V(Vs),LogoURL:V(et)},void 0),qt=pp(ht,{westBoundLongitude:V(Ap),eastBoundLongitude:V(Ap),southBoundLatitude:V(Ap),northBoundLatitude:V(Ap)},void 0),kt=pp(ht,{GetCapabilities:V(ct),GetMap:V(ct),GetFeatureInfo:V(ct)},void 0),dt=pp(ht,{Format:jp(Ep),DCPType:jp(function(a,b){return Z({},tt,a,b)})},void 0),tt=pp(ht,{HTTP:V(function(a,b){return Z({},ut,a,b)})},void 0),ut=pp(ht,{Get:V(at),Post:V(at)},void 0),st=pp(ht,{Name:V(Ep),
Title:V(Ep),Abstract:V(Ep),LegendURL:jp(et),StyleSheetURL:V(at),StyleURL:V(at)},void 0),bt=pp(ht,{Format:V(Ep),OnlineResource:V(Vs)},void 0),gt=pp(ht,{Keyword:hp(Ep)},void 0);function vt(a,b){He.call(this);this.a=new mo(this);var c=a;b&&(c=qc(a));this.a.ra(c,"dragenter",this.Bh);c!=a&&this.a.ra(c,"dragover",this.Ch);this.a.ra(a,"dragover",this.Dh);this.a.ra(a,"drop",this.Eh)}v(vt,He);l=vt.prototype;l.cc=!1;l.G=function(){vt.J.G.call(this);this.a.bc()};l.Bh=function(a){var b=a.O.dataTransfer;(this.cc=!(!b||!(b.types&&(0<=vb(b.types,"Files")||0<=vb(b.types,"public.file-url"))||b.files&&0<b.files.length)))&&a.preventDefault()};
l.Ch=function(a){this.cc&&(a.preventDefault(),a.O.dataTransfer.dropEffect="none")};l.Dh=function(a){this.cc&&(a.preventDefault(),a.Pa(),a=a.O.dataTransfer,a.effectAllowed="all",a.dropEffect="copy")};l.Eh=function(a){this.cc&&(a.preventDefault(),a.Pa(),a=new Yd(a.O),a.type="drop",Ie(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 wt(a,b){this.a=[];this.f=a;this.e=b||null}l=wt.prototype;l.fb=!1;l.nc=!1;l.fd=!1;l.lf=!1;l.Jd=!1;l.gd=0;l.cancel=function(a){if(this.fb)this.b instanceof wt&&this.b.cancel();else{if(this.d){var b=this.d;delete this.d;a?b.cancel(a):(b.gd--,0>=b.gd&&b.cancel())}this.f?this.f.call(this.e,this):this.Jd=!0;this.fb||(a=new xt(this),yt(this),zt(this,!1,a))}};l.Wd=function(a,b){this.fd=!1;zt(this,a,b)};function zt(a,b,c){a.fb=!0;a.b=c;a.nc=!b;At(a)}
function yt(a){if(a.fb){if(!a.Jd)throw new Bt(a);a.Jd=!1}}function Ct(a){return yb(a.a,function(a){return pa(a[1])})}
function At(a){a.c&&(a.fb&&Ct(a))&&(ea.clearTimeout(a.c),delete a.c);a.d&&(a.d.gd--,delete a.d);for(var b=a.b,c=!1,d=!1;a.a.length&&!a.fd;){var e=a.a.shift(),f=e[0],g=e[1],e=e[2];if(f=a.nc?g:f)try{var h=f.call(e||a.e,b);s(h)&&(a.nc=a.nc&&(h==b||h instanceof Error),a.b=b=h);b instanceof wt&&(d=!0,a.fd=!0)}catch(m){b=m,a.nc=!0,Ct(a)||(c=!0)}}a.b=b;d&&(d=b,h=xa(a.Wd,a,!0),f=xa(a.Wd,a,!1),d.a.push([h,f,void 0]),d.fb&&At(d),b.lf=!0);c&&(a.c=ea.setTimeout(Ce(b),0))}
function Bt(a){tb.call(this);this.a=a}v(Bt,tb);Bt.prototype.message="Deferred has already fired";Bt.prototype.name="AlreadyCalledError";function xt(a){tb.call(this);this.a=a}v(xt,tb);xt.prototype.message="Deferred was canceled";xt.prototype.name="CanceledError";function Dt(a,b){tb.call(this,Ba("Error %s: %s",b,Et(a)));this.code=a}v(Dt,tb);
function Et(a){switch(a){case 1:return"File or directory not found";case 2:return"Insecure or disallowed operation";case 3:return"Operation aborted";case 4:return"File or directory not readable";case 5:return"Invalid encoding";case 6:return"Cannot modify file or directory";case 7:return"Invalid state";case 8:return"Invalid line-ending specifier";case 9:return"Invalid modification";case 10:return"Quota exceeded";case 11:return"Invalid filetype";case 12:return"File or directory already exists at specified path";
default:return"Unrecognized error"}};function Ft(a,b){Qd.call(this,a.type,b);this.a=a}v(Ft,Qd);function Gt(){He.call(this);this.Ga=new FileReader;this.Ga.onloadstart=xa(this.a,this);this.Ga.onprogress=xa(this.a,this);this.Ga.onload=xa(this.a,this);this.Ga.onabort=xa(this.a,this);this.Ga.onerror=xa(this.a,this);this.Ga.onloadend=xa(this.a,this)}v(Gt,He);Gt.prototype.getError=function(){return this.Ga.error&&new Dt(this.Ga.error.code,"reading file")};Gt.prototype.a=function(a){Ie(this,new Ft(a,this))};Gt.prototype.G=function(){Gt.J.G.call(this);delete this.Ga};
function Ht(a){var b=new wt;a.addEventListener("loadend",ya(function(a,b){var e=b.Ga.result,f=b.getError();null==e||f?(yt(a),zt(a,!1,f)):(yt(a),zt(a,!0,e));b.bc()},b,a));return b};function It(a){a=s(a)?a:{};pi.call(this);this.c=s(a.formatConstructors)?a.formatConstructors:[];this.e=s(a.reprojectTo)?bi(a.reprojectTo):null;this.b=null;this.a=void 0}v(It,pi);l=It.prototype;l.G=function(){s(this.a)&&re(this.a);It.J.G.call(this)};l.Mf=function(a){a=a.O.dataTransfer.files;var b,c,d;b=0;for(c=a.length;b<c;++b){d=a[b];var e;e=d;var f=new Gt,g=Ht(f);f.Ga.readAsText(e,"");e=g;d=ya(this.fg,d);e.a.push([d,null,this]);e.fb&&At(e)}};
l.fg=function(a,b){var c=this.g,d=this.e;null===d&&(d=c.a().W().i());var c=this.c,e=[],f,g;f=0;for(g=c.length;f<g;++f){var h=new c[f],m;try{m=h.bb(b)}catch(n){m=null}if(null!==m){var h=h.Fa(b),h=ci(h,d),p,q;p=0;for(q=m.length;p<q;++p){var r=m[p],u=r.N();null===u||u.transform(h);e.push(r)}}}Ie(this,new Jt(Kt,this,a,e,d))};l.Ca=Ae;
l.setMap=function(a){s(this.a)&&(re(this.a),this.a=void 0);null!==this.b&&(Pd(this.b),this.b=null);It.J.setMap.call(this,a);null!==a&&(this.b=new vt(a.b),this.a=z(this.b,"drop",this.Mf,!1,this))};var Kt="addfeatures";function Jt(a,b,c,d,e){Qd.call(this,a,b);this.features=d;this.file=c;this.projection=e}v(Jt,Qd);function Lt(a,b){this.x=a;this.y=b}v(Lt,$b);Lt.prototype.H=function(){return new Lt(this.x,this.y)};Lt.prototype.scale=$b.prototype.scale;Lt.prototype.add=function(a){this.x+=a.x;this.y+=a.y;return this};function Mt(a){a=s(a)?a:{};ti.call(this);this.f=s(a.condition)?a.condition:fg;this.a=this.c=void 0;this.e=0}v(Mt,ti);Mt.prototype.jb=function(a){if(hg(a)){var b=a.map,c=b.e();a=a.pixel;a=new Lt(a[0]-c[0]/2,c[1]/2-a[1]);c=Math.atan2(a.y,a.x);a=Math.sqrt(a.x*a.x+a.y*a.y);var d=b.a().W(),e=hi(d);b.R();s(this.c)&&qi(b,d,e.rotation-(c-this.c));this.c=c;s(this.a)&&si(b,d,this.a*(e.resolution/a));s(this.a)&&(this.e=this.a/a);this.a=a}};
Mt.prototype.ab=function(a){if(!hg(a))return!0;a=a.map;var b=a.a();ug(b,-1);var b=b.W(),c=hi(b),d=this.e-1,e=c.rotation,e=b.constrainRotation(e,0);qi(a,b,e,void 0,void 0);c=c.resolution;c=b.constrainResolution(c,0,d);si(a,b,c,void 0,400);this.e=0;return!1};Mt.prototype.$a=function(a){return hg(a)&&this.f(a)?(ug(a.map.a(),1),this.a=this.c=void 0,!0):!1};Mt.prototype.Zc=Be;function Nt(a){ti.call(this);this.B=s(a.deleteCondition)?a.deleteCondition:Ee(eg,dg);this.A=this.c=null;this.r=[0,0];this.a=new zm;this.f=s(a.pixelTolerance)?a.pixelTolerance:10;this.p=!1;this.e=null;this.h=new Vi({style:s(a.style)?a.style:Ot()});this.n={Point:this.oi,LineString:this.bf,LinearRing:this.bf,Polygon:this.pi,MultiPoint:this.mi,MultiLineString:this.li,MultiPolygon:this.ni,GeometryCollection:this.ki};this.l=a.features;this.l.forEach(this.Fe,this);z(this.l,"add",this.Of,!1,this);z(this.l,
"remove",this.Pf,!1,this)}v(Nt,ti);l=Nt.prototype;l.Fe=function(a){var b=a.N();s(this.n[b.D()])&&this.n[b.D()].call(this,a,b);a=this.g;null===a||Pt(this,this.r,a)};l.setMap=function(a){this.h.setMap(a);Nt.J.setMap.call(this,a)};l.Of=function(a){this.Fe(a.element)};l.Pf=function(a){var b=a.element;a=this.a;var c,d=[];Cm(a,b.N().o(),function(a){b===a.feature&&d.push(a)});for(c=d.length-1;0<=c;--c)a.remove(d[c]);null!==this.c&&0===this.l.xb()&&(this.h.Sc(this.c),this.c=null)};
l.oi=function(a,b){var c=b.C(),c={feature:a,geometry:b,aa:[c,c]};Gm(this.a,b.o(),c)};l.mi=function(a,b){var c=b.C(),d,e,f;e=0;for(f=c.length;e<f;++e)d=c[e],d={feature:a,geometry:b,depth:[e],index:e,aa:[d,d]},Gm(this.a,b.o(),d)};l.bf=function(a,b){var c=b.C(),d,e,f,g;d=0;for(e=c.length-1;d<e;++d)f=c.slice(d,d+2),g={feature:a,geometry:b,index:d,aa:f},Gm(this.a,vg(f),g)};
l.li=function(a,b){var c=b.C(),d,e,f,g,h,m,n;g=0;for(h=c.length;g<h;++g)for(d=c[g],e=0,f=d.length-1;e<f;++e)m=d.slice(e,e+2),n={feature:a,geometry:b,depth:[g],index:e,aa:m},Gm(this.a,vg(m),n)};l.pi=function(a,b){var c=b.C(),d,e,f,g,h,m,n;g=0;for(h=c.length;g<h;++g)for(d=c[g],e=0,f=d.length-1;e<f;++e)m=d.slice(e,e+2),n={feature:a,geometry:b,depth:[g],index:e,aa:m},Gm(this.a,vg(m),n)};
l.ni=function(a,b){var c=b.C(),d,e,f,g,h,m,n,p,q,r;m=0;for(n=c.length;m<n;++m)for(p=c[m],g=0,h=p.length;g<h;++g)for(d=p[g],e=0,f=d.length-1;e<f;++e)q=d.slice(e,e+2),r={feature:a,geometry:b,depth:[g,m],index:e,aa:q},Gm(this.a,vg(q),r)};l.ki=function(a,b){var c,d=b.a;for(c=0;c<d.length;++c)this.n[d[c].D()].call(this,a,d[c])};function Qt(a,b){var c=a.c;null===c?(c=new G(new rh(b)),a.c=c,a.h.ue(c)):c.N().I(b)}
l.$a=function(a){Pt(this,a.pixel,a.map);this.e=[];var b=this.c;if(null!==b){a=[];var b=b.N().C(),c=vg([b]),d=[];Dm(this.a,c,function(a){d.push(a)},void 0);for(var c={},e=0,f=d.length;e<f;++e){var g=d[e],h=g.aa;sa(g.feature)in c||(c[sa(g.feature)]=!0);af(h[0],b)?this.e.push([g,0]):af(h[1],b)?this.e.push([g,1]):sa(h)in this.A&&a.push([g,b])}for(e=a.length-1;0<=e;--e)this.mg.apply(this,a[e])}return null!==this.c};
l.jb=function(a){a=a.coordinate;for(var b=0,c=this.e.length;b<c;++b){var d=this.e[b],e=d[0],f=e.depth,g=e.geometry,h=g.C(),m=e.aa,d=d[1];switch(g.D()){case "Point":h=a;m[0]=m[1]=a;break;case "MultiPoint":h[e.index]=a;m[0]=m[1]=a;break;case "LineString":h[e.index+d]=a;m[d]=a;break;case "MultiLineString":h[f[0]][e.index+d]=a;m[d]=a;break;case "Polygon":h[f[0]][e.index+d]=a;m[d]=a;break;case "MultiPolygon":h[f[1]][f[0]][e.index+d]=a,m[d]=a}g.I(h);Qt(this,a)}};
l.ab=function(){for(var a,b=this.e.length-1;0<=b;--b)a=this.e[b][0],this.a.update(vg(a.aa),a);return!1};
l.Ca=function(a){var b,c=a.map.a();Db(c.h)[1]||a.type!=$f||(this.r=a.pixel,Pt(this,a.pixel,a.map));if(null!==this.c&&this.p&&this.B(a)){this.c.N();b=this.e;var c={},d=!1,e,f,g,h,m,n,p,q,r;for(m=b.length-1;0<=m;--m)if(g=b[m],q=g[0],h=q.geometry,f=h.C(),r=sa(q.feature),e=p=n=void 0,0===g[1]?(p=q,n=q.index):1==g[1]&&(e=q,n=q.index+1),r in c||(c[r]=[e,p,n]),g=c[r],s(e)&&(g[0]=e),s(p)&&(g[1]=p),s(g[0])&&s(g[1])){e=f;d=!1;p=n-1;switch(h.D()){case "MultiLineString":f[q.depth[0]].splice(n,1);d=!0;break;case "LineString":f.splice(n,
1);d=!0;break;case "MultiPolygon":e=e[q.depth[1]];case "Polygon":e=e[q.depth[0]],4<e.length&&(n==e.length-1&&(n=0),e.splice(n,1),d=!0,0===n&&(e.pop(),e.push(e[0]),p=e.length-1))}d&&(this.a.remove(g[0]),this.a.remove(g[1]),h.I(f),f={depth:q.depth,feature:q.feature,geometry:q.geometry,index:p,aa:[g[0].aa[0],g[1].aa[1]]},Gm(this.a,vg(f.aa),f),Rt(this,h,n,q.depth,-1),this.h.Sc(this.c),this.c=null)}b=d}return Nt.J.Ca.call(this,a)&&!b};
function Pt(a,b,c){function d(a,b){return cf(e,Ye(e,a.aa))-cf(e,Ye(e,b.aa))}var e=c.ya(b),f=c.ya([b[0]-a.f,b[1]+a.f]),g=c.ya([b[0]+a.f,b[1]-a.f]),f=vg([f,g]),f=Fm(a.a,f);if(0<f.length){f.sort(d);var g=f[0].aa,h=Ye(e,g),m=c.f(h);if(Math.sqrt(cf(b,m))<=a.f){b=c.f(g[0]);c=c.f(g[1]);b=cf(m,b);c=cf(m,c);a.p=Math.sqrt(Math.min(b,c))<=a.f;a.p&&(h=b>c?g[1]:g[0]);Qt(a,h);c={};c[sa(g)]=!0;b=1;for(m=f.length;b<m;++b)if(h=f[b].aa,af(g[0],h[0])&&af(g[1],h[1])||af(g[0],h[1])&&af(g[1],h[0]))c[sa(h)]=!0;else break;
a.A=c;return}}null!==a.c&&(a.h.Sc(a.c),a.c=null)}
l.mg=function(a,b){var c=a.aa,d=a.feature,e=a.geometry,f=a.depth,g=a.index,h;switch(e.D()){case "MultiLineString":h=e.C();h[f[0]].splice(g+1,0,b);break;case "Polygon":h=e.C();h[f[0]].splice(g+1,0,b);break;case "MultiPolygon":h=e.C();h[f[1]][f[0]].splice(g+1,0,b);break;case "LineString":h=e.C();h.splice(g+1,0,b);break;default:return}e.I(h);h=this.a;h.remove(a);Rt(this,e,g,f,1);var m={aa:[c[0],b],feature:d,geometry:e,depth:f,index:g};Gm(h,vg(m.aa),m);this.e.push([m,1]);c={aa:[b,c[1]],feature:d,geometry:e,
depth:f,index:g+1};Gm(h,vg(c.aa),c);this.e.push([c,0])};l.Zc=Be;function Rt(a,b,c,d,e){Cm(a.a,b.o(),function(a){a.geometry===b&&((!s(d)||Jb(a.depth,d))&&a.index>c)&&(a.index+=e)})}function Ot(){var a=Ui();return function(){return a.Point}};function St(a){pi.call(this);a=s(a)?a:{};this.e=s(a.condition)?a.condition:dg;this.c=s(a.addCondition)?a.addCondition:ze;this.f=s(a.removeCondition)?a.removeCondition:ze;this.i=s(a.toggleCondition)?a.toggleCondition:fg;var b;if(s(a.layers))if(pa(a.layers))b=a.layers;else{var c=a.layers;b=function(a){return 0<=vb(c,a)}}else b=Ae;this.b=b;this.a=new Vi({style:s(a.style)?a.style:Tt()});a=this.a.a;z(a,"add",this.Rg,!1,this);z(a,"remove",this.Th,!1,this)}v(St,pi);l=St.prototype;l.Sg=function(){return this.a.a};
l.Ca=function(a){if(!this.e(a))return!0;var b=this.c(a),c=this.f(a),d=this.i(a),e=a.map,f=this.a.a;b||c||d?e.xd(a.pixel,function(a){var e=vb(f.a,a);-1==e?(b||d)&&f.push(a):(c||d)&&f.Wc(e)},void 0,this.b):(a=e.xd(a.pixel,aa(),void 0,this.b),s(a)&&1==f.xb()&&f.ce(0)==a||(0!==f.xb()&&f.clear(),s(a)&&f.push(a)));return!1};l.setMap=function(a){var b=this.g,c=this.a.a;null===b||c.forEach(b.Vb,b);St.J.setMap.call(this,a);this.a.setMap(a);null===a||c.forEach(a.Wa,a)};
function Tt(){var a=Ui();Eb(a.Polygon,a.LineString);Eb(a.GeometryCollection,a.LineString);return function(b){return a[b.N().D()]}}l.Rg=function(a){a=a.element;var b=this.g;null===b||b.Wa(a)};l.Th=function(a){a=a.element;var b=this.g;null===b||b.Vb(a)};function $(a){a=s(a)?a:{};M.call(this,a);this.ia=null;z(this,Se("gradient"),this.bd,!1,this);this.xc(s(a.gradient)?a.gradient:Ut);var b=Vt(s(a.radius)?a.radius:8,s(a.blur)?a.blur:15,s(a.shadow)?a.shadow:250),c=Array(256),d=s(a.weight)?a.weight:"weight",e;e=la(d)?function(a){return a.get(d)}:d;this.ja(function(a){a=e(a);a=s(a)?Xb(a,0,1):1;var d=255*a|0,h=c[d];s(h)||(h=[new Qi({image:new al({opacity:a,src:b})})],c[d]=h);return h});this.s("renderOrder",null);z(this,"render",this.cd,!1,this)}v($,M);
var Ut=["#00f","#0ff","#0f0","#ff0","#f00"];function Vt(a,b,c){var d=a+b+1,e=2*d,e=td(e,e);e.shadowOffsetX=e.shadowOffsetY=c;e.shadowBlur=b;e.shadowColor="#000";e.beginPath();b=d-c;e.arc(b,b,a,0,2*Math.PI,!0);e.fill();return e.canvas.toDataURL()}$.prototype.Wa=function(){return this.get("gradient")};$.prototype.getGradient=$.prototype.Wa;
$.prototype.bd=function(){for(var a=this.Wa(),b=td(1,256),c=b.createLinearGradient(0,0,1,256),d=1/(a.length-1),e=0,f=a.length;e<f;++e)c.addColorStop(e*d,a[e]);b.fillStyle=c;b.fillRect(0,0,1,256);this.ia=b.getImageData(0,0,1,256).data};$.prototype.cd=function(a){a=a.context;var b=a.canvas,b=a.getImageData(0,0,b.width,b.height),c=b.data,d,e,f;d=0;for(e=c.length;d<e;d+=4)if(f=4*c[d+3])c[d]=this.ia[f],c[d+1]=this.ia[f+1],c[d+2]=this.ia[f+2];a.putImageData(b,0,0)};
$.prototype.xc=function(a){this.s("gradient",a)};$.prototype.setGradient=$.prototype.xc;function Wt(a){return[a]};var Xt=new function(a,b){this.b=a;this.c=b;this.e=this.b*(1-this.c);this.a=2*b-b*b;this.d=Math.sqrt(this.a)}(6377397.155,1/299.15281285);function Yt(a){Hh.call(this,{code:a.code,extent:a.extent,global:!1,units:"m"})}v(Yt,Hh);var Zt=Zb(169028.66/3600),$t=Math.sin(Zt);Math.log(Math.tan(Math.PI/4+Math.asin($t/Math.sqrt(1+Xt.a*Math.pow(Math.cos(Zt),4)/(1-Xt.a)))/2));Math.log(Math.tan(Math.PI/4+Zt/2));Math.log((1+Xt.d*$t)/(1-Xt.d*$t));Yt.prototype.c=aa();function au(){Yt.call(this,{code:"EPSG:2056",extent:bu})}v(au,Yt);var bu=[2485869.5728,1076443.1884,2837076.5648,1299941.7864];
function cu(){Yt.call(this,{code:"EPSG:21781",extent:du})}v(cu,Yt);var du=[485869.5728,76443.1884,837076.5648,299941.7864];function eu(a,b){var c=b||{},d=c.document||document,e=zc("SCRIPT"),f={Se:e,Ab:void 0},g=new wt(fu,f),h=null,m=null!=c.timeout?c.timeout:5E3;0<m&&(h=window.setTimeout(function(){gu(e,!0);var b=new hu(iu,"Timeout reached for loading script "+a);yt(g);zt(g,!1,b)},m),f.Ab=h);e.onload=e.onreadystatechange=function(){e.readyState&&"loaded"!=e.readyState&&"complete"!=e.readyState||(gu(e,c.of||!1,h),yt(g),zt(g,!0,null))};e.onerror=function(){gu(e,!0,h);var b=new hu(ju,"Error while loading script "+a);yt(g);
zt(g,!1,b)};sc(e,{type:"text/javascript",charset:"UTF-8",src:a});ku(d).appendChild(e);return g}function ku(a){var b=a.getElementsByTagName("HEAD");return b&&0!=b.length?b[0]:a.documentElement}function fu(){if(this&&this.Se){var a=this.Se;a&&"SCRIPT"==a.tagName&&gu(a,!0,this.Ab)}}function gu(a,b,c){null!=c&&ea.clearTimeout(c);a.onload=fa;a.onerror=fa;a.onreadystatechange=fa;b&&window.setTimeout(function(){Ec(a)},0)}var ju=0,iu=1;
function hu(a,b){var c="Jsloader error (code #"+a+")";b&&(c+=": "+b);tb.call(this,c);this.code=a}v(hu,tb);function lu(a,b){this.d=new ij(a);this.a=b?b:"callback";this.Ab=5E3}var mu=0;function nu(a,b,c){var d=b||null;b="_"+(mu++).toString(36)+Aa().toString(36);ea._callbacks_||(ea._callbacks_={});var e=a.d.H();if(d)for(var f in d)d.hasOwnProperty&&!d.hasOwnProperty(f)||vj(e,f,d[f]);c&&(ea._callbacks_[b]=ou(b,c),vj(e,a.a,"_callbacks_."+b));a=eu(e.toString(),{timeout:a.Ab,of:!0});a.a.push([null,pu(b),void 0]);a.fb&&At(a)}lu.prototype.cancel=function(a){a&&(a.pf&&a.pf.cancel(),a.$&&qu(a.$,!1))};
function pu(a){return function(){qu(a,!1)}}function ou(a,b){return function(c){qu(a,!0);b.apply(void 0,arguments)}}function qu(a,b){ea._callbacks_[a]&&(b?delete ea._callbacks_[a]:ea._callbacks_[a]=fa)};function ru(a){return function(b){return null===b?void 0:a.replace("{z}",b.a.toString()).replace("{x}",b.x.toString()).replace("{y}",b.y.toString()).replace("{-y}",function(){return((1<<b.a)-b.y-1).toString()})}}function su(a){return tu(xb(a,ru))}function tu(a){return 1===a.length?a[0]:function(b,c,d){return null===b?void 0:a[Yb((b.x<<b.a)+b.y,a.length)](b,c,d)}}function uu(){}function vu(a,b){var c=new Lb(0,0,0);return function(d,e,f){return null===d?void 0:b(a(d,f,c),e,f)}}
function wu(a){var b=[],c=/\{(\d)-(\d)\}/.exec(a)||/\{([a-z])-([a-z])\}/.exec(a);if(c){var d=c[2].charCodeAt(0),e;for(e=c[1].charCodeAt(0);e<=d;++e)b.push(a.replace(c[0],String.fromCharCode(e)))}else b.push(a);return b};function xu(a){Fn.call(this);this.c=s(a)?a:2048}v(xu,Fn);function yu(a,b){for(var c,d;a.Na()>a.c&&!(c=a.a.Cb,d=c.a.a.toString(),d in b&&b[d].contains(c.a));)a.pop()};function zu(a){Qk.call(this,{attributions:a.attributions,extent:a.extent,logo:a.logo,opaque:a.opaque,projection:a.projection,tileGrid:a.tileGrid});this.tileUrlFunction=s(a.tileUrlFunction)?a.tileUrlFunction:uu;this.crossOrigin=s(a.crossOrigin)?a.crossOrigin:null;this.c=new xu;this.tileLoadFunction=s(a.tileLoadFunction)?a.tileLoadFunction:Au;this.tileClass=s(a.tileClass)?a.tileClass:$n}v(zu,Qk);function Au(a,b){a.b().src=b}l=zu.prototype;l.zd=function(){return this.c.Na()>this.c.c};
l.Ge=function(a){yu(this.c,a)};l.Ib=function(a,b,c,d,e){var f=this.hb(a,b,c);if(Dn(this.c,f))return this.c.get(f);a=new Lb(a,b,c);d=this.tileUrlFunction(a,d,e);d=new this.tileClass(a,s(d)?0:4,s(d)?d:"",this.crossOrigin,this.tileLoadFunction);Gn(this.c,f,d);return d};l.pc=function(a){this.c.clear();this.tileUrlFunction=a;this.k()};l.$e=function(a,b,c){a=this.hb(a,b,c);Dn(this.c,a)&&this.c.get(a)};function Bu(a){var b=Array(a.maxZoom+1),c,d=2*Ck/256;for(c=0;c<=a.maxZoom;++c)b[c]=d/Math.pow(2,c);Jk.call(this,{minZoom:a.minZoom,origin:[-Ck,Ck],resolutions:b,tileSize:256})}v(Bu,Jk);
Bu.prototype.d=function(a){a=s(a)?a:{};var b=this.minZoom,c=this.maxZoom,d=s(a.wrapX)?a.wrapX:!0,e=new Lb(0,0,0),f=null;if(s(a.extent)){var f=Array(c+1),g;for(g=0;g<=c;++g)f[g]=g<b?null:Mk(this,a.extent,g)}return function(a,g,n){g=a.a;if(g<b||c<g)return null;var p=Math.pow(2,g),q=a.x;if(d)q=Yb(q,p);else if(0>q||p<=q)return null;a=a.y;return a<-p||-1<a||null!==f&&(e.a=g,e.x=q,e.y=a,!f[g].contains(e))?null:Mb(g,q,-a-1,n)}};
Bu.prototype.Jc=function(a,b){return a.a<this.maxZoom?Qb(2*a.x,2*(a.x+1),2*a.y,2*(a.y+1),b):null};Bu.prototype.Ec=function(a,b,c,d){d=Qb(0,a.x,0,a.y,d);for(a=a.a-1;a>=this.minZoom;--a)if(d.a=d.c>>=1,d.b=d.d>>=1,b.call(c,a,d))return!0;return!1};function Cu(a){zu.call(this,{crossOrigin:"anonymous",opaque:!0,projection:bi("EPSG:3857"),state:0,tileLoadFunction:a.tileLoadFunction});this.b=s(a.culture)?a.culture:"en-us";var b=new ij((rb?"https:":"http:")+"//dev.virtualearth.net/REST/v1/Imagery/Metadata/"+a.imagerySet);nu(new lu(b,"jsonp"),{include:"ImageryProviders",key:a.key},xa(this.e,this))}v(Cu,zu);var Du=new Rb({html:'\x3ca class\x3d"ol-attribution-bing-tos" target\x3d"_blank" href\x3d"http://www.microsoft.com/maps/product/terms.html"\x3eTerms of Use\x3c/a\x3e'});
Cu.prototype.e=function(a){if(200!=a.statusCode||"OK"!=a.statusDescription||"ValidCredentials"!=a.authenticationResultCode||1!=a.resourceSets.length||1!=a.resourceSets[0].resources.length)yk(this,2);else{var b=a.brandLogoUri,c=a.resourceSets[0].resources[0],d=new Bu({minZoom:c.zoomMin,maxZoom:c.zoomMax,tileSize:c.imageWidth});this.tileGrid=d;var e=this.b;this.tileUrlFunction=vu(d.d(),tu(xb(c.imageUrlSubdomains,function(a){var b=c.imageUrl.replace("{subdomain}",a).replace("{culture}",e);return function(a){return null===
a?void 0:b.replace("{quadkey}",Ob(a))}})));if(c.imageryProviders){var f=Kh(bi("EPSG:4326"),this.l);a=xb(c.imageryProviders,function(a){var b=a.attribution,c={};wb(a.coverageAreas,function(a){var b=a.zoomMin,e=a.zoomMax;a=a.bbox;a=Tg([a[1],a[0],a[3],a[2]],f);var g,h;for(g=b;g<=e;++g)h=g.toString(),b=Mk(d,a,g),h in c?c[h].push(b):c[h]=[b]});return new Rb({html:b,tileRanges:c})});a.push(Du);this.f=a}this.r=b;yk(this,1)}};function Eu(a,b,c){if(pa(a))c&&(a=xa(a,c));else if(a&&"function"==typeof a.handleEvent)a=xa(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<b?-1:ea.setTimeout(a,b||0)};function Fu(){}Fu.prototype.a=null;function Gu(a){var b;(b=a.a)||(b={},Hu(a)&&(b[0]=!0,b[1]=!0),b=a.a=b);return b};var Iu;function Ju(){}v(Ju,Fu);function Ku(a){return(a=Hu(a))?new ActiveXObject(a):new XMLHttpRequest}function Hu(a){if(!a.d&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],c=0;c<b.length;c++){var d=b[c];try{return new ActiveXObject(d),a.d=d}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.d}Iu=new Ju;function Lu(a){He.call(this);this.B=new Zi;this.h=a||null;this.a=!1;this.i=this.K=null;this.F=this.n="";this.b=0;this.e="";this.d=this.r=this.q=this.l=!1;this.g=0;this.c=null;this.f=Mu;this.p=this.Q=!1}v(Lu,He);var Mu="",Nu=/^https?$/i,Ou=["POST","PUT"];
function Pu(a,b){if(a.K)throw Error("[goog.net.XhrIo] Object is active with another request\x3d"+a.n+"; newUri\x3d"+b);a.n=b;a.e="";a.b=0;a.F="GET";a.l=!1;a.a=!0;a.K=a.h?Ku(a.h):Ku(Iu);a.i=a.h?Gu(a.h):Gu(Iu);a.K.onreadystatechange=xa(a.A,a);try{a.r=!0,a.K.open("GET",b,!0),a.r=!1}catch(c){Qu(a,c);return}var d=a.B.H(),e=zb(d.P(),Ru),f=ea.FormData&&!1;!(0<=vb(Ou,"GET"))||(e||f)||$i(d,"Content-Type","application/x-www-form-urlencoded;charset\x3dutf-8");Yi(d,function(a,b){this.K.setRequestHeader(b,a)},
a);a.f&&(a.K.responseType=a.f);"withCredentials"in a.K&&(a.K.withCredentials=a.Q);try{Su(a),0<a.g&&(a.p=$a&&ob(9)&&ma(a.K.timeout)&&s(a.K.ontimeout),a.p?(a.K.timeout=a.g,a.K.ontimeout=xa(a.Ab,a)):a.c=Eu(a.Ab,a.g,a)),a.q=!0,a.K.send(""),a.q=!1}catch(g){Qu(a,g)}}function Ru(a){return"content-type"==a.toLowerCase()}
Lu.prototype.Ab=function(){"undefined"!=typeof da&&this.K&&(this.e="Timed out after "+this.g+"ms, aborting",this.b=8,Ie(this,"timeout"),this.K&&this.a&&(this.a=!1,this.d=!0,this.K.abort(),this.d=!1,this.b=8,Ie(this,"complete"),Ie(this,"abort"),Tu(this)))};function Qu(a,b){a.a=!1;a.K&&(a.d=!0,a.K.abort(),a.d=!1);a.e=b;a.b=5;Uu(a);Tu(a)}function Uu(a){a.l||(a.l=!0,Ie(a,"complete"),Ie(a,"error"))}Lu.prototype.G=function(){this.K&&(this.a&&(this.a=!1,this.d=!0,this.K.abort(),this.d=!1),Tu(this,!0));Lu.J.G.call(this)};
Lu.prototype.A=function(){if(!this.qb&&this.a&&"undefined"!=typeof da&&(!this.i[1]||4!=Vu(this)||2!=Wu(this)))if(this.q&&4==Vu(this))Eu(this.A,0,this);else if(Ie(this,"readystatechange"),4==Vu(this)){this.a=!1;try{if(Xu(this))Ie(this,"complete"),Ie(this,"success");else{this.b=6;var a;try{a=2<Vu(this)?this.K.statusText:""}catch(b){a=""}this.e=a+" ["+Wu(this)+"]";Uu(this)}}finally{Tu(this)}}};
function Tu(a,b){if(a.K){Su(a);var c=a.K,d=a.i[0]?fa:null;a.K=null;a.i=null;b||Ie(a,"ready");try{c.onreadystatechange=d}catch(e){}}}function Su(a){a.K&&a.p&&(a.K.ontimeout=null);ma(a.c)&&(ea.clearTimeout(a.c),a.c=null)}
function Xu(a){var b=Wu(a),c;a:switch(b){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:c=!0;break a;default:c=!1}if(!c){if(b=0===b)a=dj(String(a.n))[1]||null,!a&&self.location&&(a=self.location.protocol,a=a.substr(0,a.length-1)),b=!Nu.test(a?a.toLowerCase():"");c=b}return c}function Vu(a){return a.K?a.K.readyState:0}function Wu(a){try{return 2<Vu(a)?a.K.status:-1}catch(b){return-1}}function Yu(a){try{return a.K?a.K.responseText:""}catch(b){return""}}
function Zu(a){try{if(!a.K)return null;if("response"in a.K)return a.K.response;switch(a.f){case Mu:case "text":return a.K.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in a.K)return a.K.mozResponseArrayBuffer}return null}catch(b){return null}};function $u(a){Jm.call(this,{attributions:a.attributions,extent:a.extent,logo:a.logo,projection:a.projection});this.format=a.format}v($u,Jm);
function av(a,b,c,d){var e=new Lu;e.f="binary"==a.format.D()&&Bd?"arraybuffer":"text";z(e,"complete",function(a){a=a.target;if(Xu(a)){var b=this.format.D(),e;if("binary"==b&&Bd)e=Zu(a);else if("json"==b)e=Yu(a);else if("text"==b)e=Yu(a);else if("xml"==b){if(!$a)try{e=a.K?a.K.responseXML:null}catch(m){e=null}null!=e||(e=fp(Yu(a)))}null!=e?c.call(d,this.e(e)):yk(this,2)}else yk(this,2);Pd(a)},!1,a);Pu(e,b)}
$u.prototype.e=function(a){var b=this.format,c=b.bb(a);a=b.Fa(a);b=this.l;if(null!==b&&null!==a&&a!==b&&(a.Ia!=b.Ia||Kh(a,b)!==Th)){a=ci(a,b);var d,b=0;for(d=c.length;b<d;++b){var e=c[b].N();null===e||e.transform(a)}}return c};function bv(a){$u.call(this,{attributions:a.attributions,extent:a.extent,format:a.format,logo:a.logo,projection:a.projection});s(a.arrayBuffer)&&this.va(this.e(a.arrayBuffer));s(a.doc)&&this.va(this.e(a.doc));s(a.node)&&this.va(this.e(a.node));s(a.object)&&this.va(this.e(a.object));s(a.text)&&this.va(this.e(a.text));if(s(a.url)||s(a.urls))if(yk(this,0),s(a.url)&&av(this,a.url,function(a){this.va(a);yk(this,1)},this),s(a.urls)){a=a.urls;var b,c;b=0;for(c=a.length;b<c;++b)av(this,a[b],function(a){this.va(a);
yk(this,1)},this)}}v(bv,$u);function cv(a){a=s(a)?a:{};bv.call(this,{attributions:a.attributions,doc:a.doc,extent:a.extent,format:new Ip,logo:a.logo,node:a.node,projection:a.projection,text:a.text,url:a.url,urls:a.urls})}v(cv,bv);function dv(a){a=s(a)?a:{};bv.call(this,{attributions:a.attributions,extent:a.extent,format:new qq({defaultProjection:a.defaultProjection}),logo:a.logo,object:a.object,projection:a.projection,text:a.text,url:a.url,urls:a.urls})}v(dv,bv);function ev(a){a=s(a)?a:{};bv.call(this,{format:new zq({altitudeMode:a.altitudeMode}),projection:a.projection,text:a.text,url:a.url,urls:a.urls})}v(ev,bv);function fv(a,b,c,d,e){Gk.call(this,a,b,c,2,d);this.a=e}v(fv,Gk);fv.prototype.e=k("a");function gv(a){Cl.call(this,{attributions:a.attributions,extent:a.extent,logo:a.logo,projection:a.projection,resolutions:a.resolutions,state:a.state});this.p=a.canvasFunction;this.h=null;this.q=0;this.A=s(a.ratio)?a.ratio:1.5}v(gv,Cl);gv.prototype.Nb=function(a,b,c,d){b=Dl(this,b);var e=this.h;if(null!==e&&this.q==this.d&&e.c==b&&e.b==c&&Cg(e.o(),a))return e;a=a.slice();Rg(a,this.A);d=this.p(a,b,c,[Ng(a)/b*c,Lg(a)/b*c],d);null===d||(e=new fv(a,b,c,this.f,d));this.h=e;this.q=this.d;return e};function hv(a){var b=s(a.attributions)?a.attributions:null,c=s(a.crossOrigin)?a.crossOrigin:null,d=a.imageExtent,e=(d[3]-d[1])/a.imageSize[1],f=a.url,g=bi(a.projection);Cl.call(this,{attributions:b,extent:a.extent,logo:a.logo,projection:g,resolutions:[e]});this.b=new Hk(d,e,1,b,f,c)}v(hv,Cl);hv.prototype.Nb=function(a){return Og(a,this.b.o())?this.b:null};function iv(a){this.c=a.source;this.Vg=s(a.style)?Ti(a.style):Si;this.B=kd();this.b=td();this.e=[0,0];this.g=null;gv.call(this,{attributions:a.attributions,canvasFunction:xa(this.mf,this),extent:a.extent,logo:a.logo,projection:a.projection,ratio:a.ratio,resolutions:a.resolutions,state:this.c.i});z(this.c,"change",this.Yg,void 0,this)}v(iv,gv);l=iv.prototype;
l.mf=function(a,b,c,d){var e=new Wl(b/(2*c),a,b),f=!1;this.c.Dc(a,b,function(a){var d;if(!(d=f))if(d=this.Vg(a,b),null!=d){var m=b*b/(4*c*c),n,p,q=!1;n=0;for(p=d.length;n<p;++n)q=rm(e,a,d[n],m,a,this.Xg,this)||q;d=q}else d=!1;f=d},this);$l(e);if(f)return null;this.e[0]!=d[0]||this.e[1]!=d[1]?(this.b.canvas.width=d[0],this.b.canvas.height=d[1],this.e[0]=d[0],this.e[1]=d[1]):this.b.clearRect(0,0,d[0],d[1]);d=dl(this.B,d[0]/2,d[1]/2,c/b,-c/b,0,-Jg(a)[0],-Jg(a)[1]);Xl(e,this.b,a,c,d,0,{});this.g=e;return this.b.canvas};
l.Vc=function(a,b,c,d,e){return null===this.g?void 0:Zl(this.g,a,b,0,d,{},function(a,b){return e(b)})};l.Wg=k("c");l.Xg=function(){this.k()};l.Yg=function(){yk(this,this.c.i)};function jv(a){a=s(a)?a:{};Cl.call(this,{attributions:a.attributions,extent:a.extent,logo:a.logo,projection:a.projection,resolutions:a.resolutions});this.T=s(a.crossOrigin)?a.crossOrigin:null;this.e=a.url;this.c=a.params;this.g=!0;kv(this);this.F=a.serverType;this.ha=s(a.hidpi)?a.hidpi:!0;this.b=null;this.h=[0,0];this.q=null;this.A=NaN;this.B=0;this.p=s(a.ratio)?a.ratio:1.5}v(jv,Cl);l=jv.prototype;
l.Zg=function(a,b,c,d){if(s(this.e)&&null!==this.b&&b==this.A&&(c===this.q||(c.Ia!=this.q.Ia?0:Kh(c,this.q)===Th))){var e=this.b.o(),f=this.b.b,g={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetFeatureInfo",FORMAT:"image/png",TRANSPARENT:!0,QUERY_LAYERS:w(this.c,"LAYERS")};nc(g,this.c,d);b/=f;d=Math.floor((e[3]-a[1])/b);g[this.g?"I":"X"]=Math.floor((a[0]-e[0])/b);g[this.g?"J":"Y"]=d;return lv(this,e,this.h,f,c,g)}};l.$g=k("c");
l.Nb=function(a,b,c,d){if(!s(this.e))return null;b=Dl(this,b);1==c||this.ha&&s(this.F)||(c=1);var e=this.b;if(null!==e&&this.B==this.d&&e.c==b&&e.b==c&&Cg(e.o(),a))return e;e={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0};nc(e,this.c);a=a.slice();var f=(a[0]+a[2])/2,g=(a[1]+a[3])/2;if(1!=this.p){var h=this.p*Ng(a)/2,m=this.p*Lg(a)/2;a[0]=f-h;a[1]=g-m;a[2]=f+h;a[3]=g+m}var h=b/c,m=Math.ceil(Ng(a)/h),n=Math.ceil(Lg(a)/h);a[0]=f-h*m/2;a[2]=f+h*m/2;a[1]=g-h*n/2;a[3]=
g+h*n/2;this.h[0]=m;this.h[1]=n;e=lv(this,a,this.h,c,d,e);this.b=new Hk(a,b,c,this.f,e,this.T);this.q=d;this.A=b;this.B=this.d;return this.b};
function lv(a,b,c,d,e,f){f[a.g?"CRS":"SRS"]=e.a;"STYLES"in a.c||(f.STYLES=new String(""));if(1!=d)switch(a.F){case "geoserver":f.FORMAT_OPTIONS="dpi:"+(90*d+0.5|0);break;case "mapserver":f.MAP_RESOLUTION=90*d;break;case "carmentaserver":case "qgis":f.DPI=90*d}f.WIDTH=c[0];f.HEIGHT=c[1];c=e.e;f.BBOX=(a.g&&"ne"==c.substr(0,2)?[b[1],b[0],b[3],b[2]]:b).join(",");return fj(hj([a.e],f))}l.ah=k("e");l.bh=function(a){a!=this.e&&(this.e=a,this.b=null,this.k())};
l.dh=function(a){nc(this.c,a);kv(this);this.b=null;this.k()};function kv(a){a.g=0<=Ka(w(a.c,"VERSION","1.3.0"),"1.3")};function mv(a){a=s(a)?a:{};bv.call(this,{attributions:a.attributions,doc:a.doc,extent:a.extent,format:new Dq({defaultStyle:a.defaultStyle}),logo:a.logo,node:a.node,projection:a.projection,text:a.text,url:a.url,urls:a.urls})}v(mv,bv);function nv(a,b,c){return function(d,e,f){return c(a,b,d,e,f)}}function ov(){};function pv(a){Cl.call(this,{extent:a.extent,projection:a.projection,resolutions:a.resolutions});this.q=s(a.crossOrigin)?a.crossOrigin:null;this.b=s(a.displayDpi)?a.displayDpi:96;this.g=s(a.url)?nv(a.url,s(a.params)?a.params:{},xa(this.A,this)):ov;this.p=s(a.hidpi)?a.hidpi:!0;this.h=s(a.metersPerUnit)?a.metersPerUnit:1;this.e=s(a.ratio)?a.ratio:1;this.B=s(a.useOverlay)?a.useOverlay:!1;this.c=null}v(pv,Cl);
pv.prototype.Nb=function(a,b,c,d){b=Dl(this,b);c=this.p?c:1;var e=this.c;if(null!==e&&e.c==b&&e.b==c&&Cg(e.o(),a))return e;1!=this.e&&(a=a.slice(),Rg(a,this.e));d=this.g(a,[Ng(a)/b*c,Lg(a)/b*c],d);return this.c=e=s(d)?new Hk(a,b,c,this.f,d,this.q):null};
pv.prototype.A=function(a,b,c,d){var e;e=this.h;var f=Ng(c),g=Lg(c),h=d[0],m=d[1],n=0.0254/this.b;e=m*f>h*g?f*e/(h*n):g*e/(m*n);c=Jg(c);d={OPERATION:this.B?"GETDYNAMICMAPOVERLAYIMAGE":"GETMAPIMAGE",VERSION:"2.0.0",LOCALE:"en",CLIENTAGENT:"ol.source.MapGuide source",CLIP:"1",SETDISPLAYDPI:this.b,SETDISPLAYWIDTH:Math.round(d[0]),SETDISPLAYHEIGHT:Math.round(d[1]),SETVIEWSCALE:e,SETVIEWCENTERX:c[0],SETVIEWCENTERY:c[1]};nc(d,b);return fj(hj([a],d))};function qv(a){var b=s(a.projection)?a.projection:"EPSG:3857",c=new Bu({maxZoom:s(a.maxZoom)?a.maxZoom:18});zu.call(this,{attributions:a.attributions,crossOrigin:a.crossOrigin,extent:a.extent,logo:a.logo,projection:b,tileGrid:c,tileLoadFunction:a.tileLoadFunction,tileUrlFunction:uu});this.e=c.d({extent:a.extent,wrapX:a.wrapX});s(a.tileUrlFunction)?this.pc(a.tileUrlFunction):s(a.urls)?this.pc(su(a.urls)):s(a.url)&&this.b(a.url)}v(qv,zu);qv.prototype.pc=function(a){qv.J.pc.call(this,vu(this.e,a))};
qv.prototype.b=function(a){this.pc(su(wu(a)))};function rv(a){a=s(a)?a:{};var b=rb?"https:":"http:";qv.call(this,{attributions:s(a.attributions)?a.attributions:sv,crossOrigin:s(a.crossOrigin)?a.crossOrigin:"anonymous",opaque:!0,maxZoom:a.maxZoom,tileLoadFunction:a.tileLoadFunction,url:s(a.url)?a.url:b+"//{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png"})}v(rv,qv);
var tv=new Rb({html:'Data \x26copy; \x3ca href\x3d"http://www.openstreetmap.org/"\x3eOpenStreetMap\x3c/a\x3e contributors, \x3ca href\x3d"http://www.openstreetmap.org/copyright"\x3eODbL\x3c/a\x3e'}),uv=new Rb({html:'Tiles \x26copy; \x3ca href\x3d"http://www.openstreetmap.org/"\x3eOpenStreetMap\x3c/a\x3e contributors, \x3ca href\x3d"http://creativecommons.org/licenses/by-sa/2.0/"\x3eCC BY-SA\x3c/a\x3e'}),sv=[uv,tv];function vv(a){a=s(a)?a:{};var b=wv[a.layer];qv.call(this,{attributions:b.attributions,crossOrigin:"anonymous",logo:"//developer.mapquest.com/content/osm/mq_logo.png",maxZoom:b.maxZoom,opaque:!0,tileLoadFunction:a.tileLoadFunction,url:(rb?"https:":"http:")+"//otile{1-4}-s.mqcdn.com/tiles/1.0.0/"+a.layer+"/{z}/{x}/{y}.jpg"})}v(vv,qv);
var xv=new Rb({html:'Tiles Courtesy of \x3ca href\x3d"http://www.mapquest.com/" target\x3d"_blank"\x3eMapQuest\x3c/a\x3e'}),wv={osm:{maxZoom:28,attributions:[xv,tv]},sat:{maxZoom:18,attributions:[xv,new Rb({html:"Portions Courtesy NASA/JPL-Caltech and U.S. Depart. of Agriculture, Farm Service Agency"})]},hyb:{maxZoom:18,attributions:[xv,tv]}};function yv(a){a=s(a)?a:{};bv.call(this,{attributions:a.attributions,doc:a.doc,extent:a.extent,format:new ur,logo:a.logo,node:a.node,projection:a.projection,reprojectTo:a.reprojectTo,text:a.text,url:a.url})}v(yv,bv);function zv(a){$u.call(this,{attributions:a.attributions,extent:a.extent,format:a.format,logo:a.logo,projection:a.projection});this.h=new zm;this.n=a.loader;this.p=s(a.strategy)?a.strategy:Wt;this.g={}}v(zv,$u);zv.prototype.va=function(a){var b=[],c,d;c=0;for(d=a.length;c<d;++c){var e=a[c],f=e.$;f in this.g||(b.push(e),this.g[f]=!0)}zv.J.va.call(this,b)};
zv.prototype.vd=function(a,b,c){var d=this.h;a=this.p(a,b);var e,f;e=0;for(f=a.length;e<f;++e){var g=a[e];Dm(d,g,function(a){return Cg(a.extent,g)},void 0)||(this.n.call(this,g,b,c),Gm(d,g,{extent:g.slice()}))}};var Av={terrain:{xa:"jpg",opaque:!0},"terrain-background":{xa:"jpg",opaque:!0},"terrain-labels":{xa:"png",opaque:!1},"terrain-lines":{xa:"png",opaque:!1},"toner-background":{xa:"png",opaque:!0},toner:{xa:"png",opaque:!0},"toner-hybrid":{xa:"png",opaque:!1},"toner-labels":{xa:"png",opaque:!1},"toner-lines":{xa:"png",opaque:!1},"toner-lite":{xa:"png",opaque:!0},watercolor:{xa:"jpg",opaque:!0}},Bv={terrain:{minZoom:4,maxZoom:18},toner:{minZoom:0,maxZoom:20},watercolor:{minZoom:3,maxZoom:16}};
function Cv(a){var b=a.layer.indexOf("-"),b=-1==b?a.layer:a.layer.slice(0,b),c=Av[a.layer],d=rb?"https:":"http:";qv.call(this,{attributions:Dv,crossOrigin:"anonymous",maxZoom:Bv[b].maxZoom,opaque:c.opaque,tileLoadFunction:a.tileLoadFunction,url:s(a.url)?a.url:d+"//{a-d}.tile.stamen.com/"+a.layer+"/{z}/{x}/{y}."+c.xa})}v(Cv,qv);
var Dv=[new Rb({html:'Map tiles by \x3ca href\x3d"http://stamen.com/"\x3eStamen Design\x3c/a\x3e, under \x3ca href\x3d"http://creativecommons.org/licenses/by/3.0/"\x3eCC BY 3.0\x3c/a\x3e.'}),tv];function Ev(a,b){Xj.call(this,a,2);this.f=a;this.e=b.la(a.a);this.d={}}v(Ev,Xj);Ev.prototype.b=function(a){a=s(a)?sa(a):-1;if(a in this.d)return this.d[a];var b=this.e,c=td(b,b);c.strokeStyle="black";c.strokeRect(0.5,0.5,b+0.5,b+0.5);c.fillStyle="black";c.textAlign="center";c.textBaseline="middle";c.font="24px sans-serif";c.fillText(this.f.toString(),b/2,b/2);return this.d[a]=c.canvas};
function Fv(a){Qk.call(this,{extent:a.extent,opaque:!1,projection:a.projection,tileGrid:a.tileGrid});this.b=new xu}v(Fv,Qk);Fv.prototype.zd=function(){return this.b.Na()>this.b.c};Fv.prototype.Ge=function(a){yu(this.b,a)};Fv.prototype.Ib=function(a,b,c){var d=this.hb(a,b,c);if(Dn(this.b,d))return this.b.get(d);a=new Ev(new Lb(a,b,c),this.tileGrid);Gn(this.b,d,a);return a};function Gv(a){zu.call(this,{crossOrigin:a.crossOrigin,projection:bi("EPSG:3857"),state:0,tileLoadFunction:a.tileLoadFunction});nu(new lu(a.url),void 0,xa(this.b,this))}v(Gv,zu);
Gv.prototype.b=function(a){var b=bi("EPSG:4326"),c;if(s(a.bounds)){var d=Kh(b,this.l);this.Q=c=Tg(a.bounds,d)}var e=a.minzoom||0,d=a.maxzoom||22,f=new Bu({maxZoom:d,minZoom:e});this.tileGrid=f;this.tileUrlFunction=vu(f.d({extent:c}),su(a.tiles));if(s(a.attribution)){b=s(c)?c:b.o();c={};for(var g;e<=d;++e)g=e.toString(),c[g]=[Mk(f,b,e)];this.f=[new Rb({html:a.attribution,tileRanges:c})]}yk(this,1)};function Hv(a){$u.call(this,{attributions:a.attributions,extent:a.extent,format:a.format,logo:a.logo,projection:a.projection});var b=a.tileGrid;this.n=a.tileGrid;this.g=uu;this.p=b.d({extent:a.extent});this.h={};s(a.tileUrlFunction)?(this.g=a.tileUrlFunction,this.k()):s(a.urls)?(this.g=su(a.urls),this.k()):s(a.url)&&(this.g=su(wu(a.url)),this.k())}v(Hv,$u);Hv.prototype.clear=function(){ic(this.h)};
Hv.prototype.Dc=function(a,b,c,d){var e=this.n,f=this.h;b=lg(e.a,b,0);a=Mk(e,a,b);for(var g,e=a.a;e<=a.c;++e)for(g=a.b;g<=a.d;++g){var h=f[b+"/"+e+"/"+g];if(s(h)){var m,n;m=0;for(n=h.length;m<n;++m){var p=c.call(d,h[m]);if(p)return p}}}};Hv.prototype.Ea=function(){var a=this.h,b=[],c;for(c in a)Eb(b,a[c]);return b};
Hv.prototype.vd=function(a,b,c){var d=this.p,e=this.n,f=this.g,g=this.h;b=lg(e.a,b,0);a=Mk(e,a,b);var e=new Lb(b,0,0),h,m;for(h=a.a;h<=a.c;++h)for(m=a.b;m<=a.d;++m){var n=b+"/"+h+"/"+m;if(!(n in g)){e.a=b;e.x=h;e.y=m;d(e,c,e);var p=f(e,1,c);s(p)&&(g[n]=[],av(this,p,ya(function(a,b){g[a]=b;yk(this,1)},n),this))}}};function Iv(a){a=s(a)?a:{};var b=s(a.params)?a.params:{};zu.call(this,{attributions:a.attributions,crossOrigin:a.crossOrigin,extent:a.extent,logo:a.logo,opaque:!w(b,"TRANSPARENT",!0),projection:a.projection,tileGrid:a.tileGrid,tileLoadFunction:a.tileLoadFunction,tileUrlFunction:xa(this.gh,this)});var c=a.urls;!s(c)&&s(a.url)&&(c=wu(a.url));this.n=c;this.g=s(a.gutter)?a.gutter:0;this.b=b;this.h=NaN;this.e=!0;this.q=a.serverType;this.A=s(a.hidpi)?a.hidpi:!0;this.p="";Jv(this);this.B=wg();Kv(this)}
v(Iv,zu);l=Iv.prototype;
l.eh=function(a,b,c,d){var e=this.h;if(!isNaN(this.h)){var f=this.tileGrid;null===f&&(f=Rk(this,c));b=Ok(f,a[0],a[1],b,!1,void 0);if(!(f.a.length<=b.a)){var g=f.ga(b.a),h=Lk(f,b,this.B),f=f.la(b.a),m=this.g;0!==m&&(f+=2*m,h=zg(h,g*m,h));1!=e&&(f=f*e+0.5|0);m={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetFeatureInfo",FORMAT:"image/png",TRANSPARENT:!0,QUERY_LAYERS:w(this.b,"LAYERS")};nc(m,this.b,d);d=Math.floor((h[3]-a[1])/(g/e));m[this.e?"I":"X"]=Math.floor((a[0]-h[0])/(g/e));m[this.e?"J":"Y"]=d;return Lv(this,
b,f,h,e,c,m)}}};l.Fc=k("g");l.hb=function(a,b,c){return this.p+Iv.J.hb.call(this,a,b,c)};l.fh=k("b");
function Lv(a,b,c,d,e,f,g){var h=a.n;if(s(h)&&0!=h.length){g.WIDTH=c;g.HEIGHT=c;g[a.e?"CRS":"SRS"]=f.a;"STYLES"in a.b||(g.STYLES=new String(""));if(1!=e)switch(a.q){case "geoserver":g.FORMAT_OPTIONS="dpi:"+(90*e+0.5|0);break;case "mapserver":g.MAP_RESOLUTION=90*e;break;case "carmentaserver":case "qgis":g.DPI=90*e}c=f.e;a.e&&"ne"==c.substr(0,2)&&(c=d[0],d[0]=d[1],d[1]=c,c=d[2],d[2]=d[3],d[3]=c);g.BBOX=d.join(",");return fj(hj([1==h.length?h[0]:h[Yb((b.x<<b.a)+b.y,a.n.length)]],g))}}
l.kc=function(a,b,c){a=Iv.J.kc.call(this,a,b,c);return 1!=b&&this.A&&s(this.q)?a*b+0.5|0:a};l.Gf=k("n");function Jv(a){var b=0,c=[],d;for(d in a.b)c[b++]=d+"-"+a.b[d];a.p=c.join("/")}
l.gh=function(a,b,c){var d=this.tileGrid;null===d&&(d=Rk(this,c));if(!(d.a.length<=a.a)){1==b||this.A&&s(this.q)||(b=1);var e=d.ga(a.a),f=Lk(d,a,this.B),d=d.la(a.a),g=this.g;0!==g&&(d+=2*g,f=zg(f,e*g,f));e=this.o();if(null===e||Og(f,e)&&!Sg(f,e))return 1!=b&&(d=d*b+0.5|0),e={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0},nc(e,this.b),this.h=b,Lv(this,a,d,f,b,c,e)}};l.hh=function(a){nc(this.b,a);Jv(this);Kv(this);this.k()};
function Kv(a){a.e=0<=Ka(w(a.b,"VERSION","1.3.0"),"1.3")};function Mv(a){a=s(a)?a:{};bv.call(this,{attributions:a.attributions,extent:a.extent,format:new Ar({defaultProjection:a.defaultProjection}),logo:a.logo,object:a.object,projection:a.projection,text:a.text,url:a.url})}v(Mv,bv);function Nv(a){this.c=a.matrixIds;Jk.call(this,{origin:a.origin,origins:a.origins,resolutions:a.resolutions,tileSize:a.tileSize,tileSizes:a.tileSizes})}v(Nv,Jk);Nv.prototype.i=k("c");
function Ov(a){var b=[],c=[],d=[],e=[],f=bi(a.supportedCRS).f();Hb(a.matrixIds,function(a,b){return b.scaleDenominator-a.scaleDenominator});wb(a.matrixIds,function(a){c.push(a.identifier);d.push(a.topLeftCorner);b.push(2.8E-4*a.scaleDenominator/f);e.push(a.tileWidth)});return new Nv({origins:d,resolutions:b,matrixIds:c,tileSizes:e})};var Pv="KVP";
function Qv(a){function b(a){a=e==Pv?fj(hj([a],g)):a.replace(/\{(\w+?)\}/g,function(a,b){return b in g?g[b]:a});return function(b){if(null!==b){var c={TileMatrix:f.c[b.a],TileCol:b.x,TileRow:b.y};nc(c,h);b=a;return b=e==Pv?fj(hj([b],c)):b.replace(/\{(\w+?)\}/g,function(a,b){return c[b]})}}}var c=s(a.version)?a.version:"1.0.0",d=s(a.format)?a.format:"image/jpeg";this.b=s(a.dimensions)?a.dimensions:{};this.e="";Rv(this);var e=s(a.requestEncoding)?a.requestEncoding:Pv,f=a.tileGrid,g={Layer:a.layer,style:a.style,
Style:a.style,TileMatrixSet:a.matrixSet};e==Pv&&nc(g,{Service:"WMTS",Request:"GetTile",Version:c,Format:d});var h=this.b,c=uu,d=a.urls;!s(d)&&s(a.url)&&(d=wu(a.url));s(d)&&(c=tu(xb(d,b)));var m=wg(),n=new Lb(0,0,0),c=vu(function(b,c){if(f.a.length<=b.a)return null;var d=b.x,e=-b.y-1,g=Lk(f,b),h=c.o(),y=s(a.extent)?a.extent:h;null!==y&&(c.l&&y[0]===h[0]&&y[2]===h[2])&&(g=Math.ceil(Ng(y)/Ng(g)),d=Yb(d,g),n.a=b.a,n.x=d,n.y=b.y,g=Lk(f,n,m));return!Og(g,y)||Sg(g,y)?null:new Lb(b.a,d,e)},c);zu.call(this,
{attributions:a.attributions,crossOrigin:a.crossOrigin,extent:a.extent,logo:a.logo,projection:a.projection,tileGrid:f,tileLoadFunction:a.tileLoadFunction,tileUrlFunction:c})}v(Qv,zu);Qv.prototype.g=k("b");Qv.prototype.hb=function(a,b,c){return this.e+Qv.J.hb.call(this,a,b,c)};function Rv(a){var b=0,c=[],d;for(d in a.b)c[b++]=d+"-"+a.b[d];a.e=c.join("/")}Qv.prototype.h=function(a){nc(this.b,a);Rv(this);this.k()};function Sv(a){var b=s(a)?a:b;Jk.call(this,{origin:[0,0],resolutions:b.resolutions})}v(Sv,Jk);Sv.prototype.d=function(a){a=s(a)?a:{};var b=this.minZoom,c=this.maxZoom,d=new Lb(0,0,0),e=null;if(s(a.extent)){var e=Array(c+1),f;for(f=0;f<=c;++f)e[f]=f<b?null:Mk(this,a.extent,f)}return function(a,f,m){f=a.a;if(f<b||c<f)return null;var n=Math.pow(2,f),p=a.x;if(0>p||n<=p)return null;a=a.y;return a<-n||-1<a||null!==e&&(d.a=f,d.x=p,d.y=-a-1,!e[f].contains(d))?null:Mb(f,p,-a-1,m)}};function Tv(a){a=s(a)?a:{};var b=a.size,c=b[0],d=b[1],e=[],f=256;switch(s(a.tierSizeCalculation)?a.tierSizeCalculation:"default"){case "default":for(;c>f||d>f;)e.push([Math.ceil(c/f),Math.ceil(d/f)]),f+=f;break;case "truncated":for(;c>f||d>f;)e.push([Math.ceil(c/f),Math.ceil(d/f)]),c>>=1,d>>=1}e.push([1,1]);e.reverse();for(var f=[1],g=[0],d=1,c=e.length;d<c;d++)f.push(1<<d),g.push(e[d-1][0]*e[d-1][1]+g[d-1]);f.reverse();var f=new Sv({resolutions:f}),h=a.url,b=vu(f.d({extent:[0,0,b[0],b[1]]}),function(a){return null===
a?void 0:h+"TileGroup"+((a.x+a.y*e[a.a][0]+g[a.a])/256|0)+"/"+a.a+"-"+a.x+"-"+a.y+".jpg"});zu.call(this,{attributions:a.attributions,crossOrigin:a.crossOrigin,logo:a.logo,tileClass:Uv,tileGrid:f,tileUrlFunction:b})}v(Tv,zu);function Uv(a,b,c,d,e){$n.call(this,a,b,c,d,e);this.g={}}v(Uv,$n);
Uv.prototype.b=function(a){var b=s(a)?sa(a).toString():"";if(b in this.g)return this.g[b];a=Uv.J.b.call(this,a);if(2==this.state){if(256==a.width&&256==a.height)return this.g[b]=a;var c=td(256,256);c.drawImage(a,0,0);return this.g[b]=c.canvas}return a};function Vv(a){a=s(a)?a:{};this.a=a.font;this.b=a.rotation;this.c=a.scale;this.f=a.text;this.g=a.textAlign;this.i=a.textBaseline;this.d=s(a.fill)?a.fill:null;this.e=s(a.stroke)?a.stroke:null;this.h=s(a.offsetX)?a.offsetX:0;this.l=s(a.offsetY)?a.offsetY:0}l=Vv.prototype;l.vf=k("a");l.th=k("d");l.uh=k("b");l.vh=k("c");l.wh=k("e");l.xh=k("f");l.Df=k("g");l.Ef=k("i");t("ol.Attribution",Rb);t("ol.BrowserFeature.DEVICE_PIXEL_RATIO",Ad);t("ol.BrowserFeature.HAS_CANVAS",Dd);t("ol.BrowserFeature.HAS_DEVICE_ORIENTATION",Ed);t("ol.BrowserFeature.HAS_GEOLOCATION",Fd);t("ol.BrowserFeature.HAS_TOUCH",Hd);t("ol.Collection",A);A.prototype.bindTo=A.prototype.X;A.prototype.clear=A.prototype.clear;A.prototype.dispatchChangeEvent=A.prototype.k;A.prototype.extend=A.prototype.Eg;A.prototype.forEach=A.prototype.forEach;A.prototype.get=A.prototype.get;A.prototype.getArray=A.prototype.Fg;
A.prototype.getAt=A.prototype.ce;A.prototype.getKeys=A.prototype.P;A.prototype.getLength=A.prototype.xb;A.prototype.getProperties=A.prototype.S;A.prototype.insertAt=A.prototype.Mc;A.prototype.notify=A.prototype.U;A.prototype.on=A.prototype.t;A.prototype.once=A.prototype.u;A.prototype.pop=A.prototype.pop;A.prototype.push=A.prototype.push;A.prototype.remove=A.prototype.remove;A.prototype.removeAt=A.prototype.Wc;A.prototype.set=A.prototype.s;A.prototype.setAt=A.prototype.ai;A.prototype.setValues=A.prototype.L;
A.prototype.un=A.prototype.v;A.prototype.unByKey=A.prototype.w;A.prototype.unbind=A.prototype.V;A.prototype.unbindAll=A.prototype.Z;t("ol.DeviceOrientation",ef);ef.prototype.bindTo=ef.prototype.X;ef.prototype.dispatchChangeEvent=ef.prototype.k;ef.prototype.get=ef.prototype.get;ef.prototype.getAlpha=ef.prototype.e;ef.prototype.getBeta=ef.prototype.f;ef.prototype.getGamma=ef.prototype.g;ef.prototype.getHeading=ef.prototype.i;ef.prototype.getKeys=ef.prototype.P;ef.prototype.getProperties=ef.prototype.S;
ef.prototype.getTracking=ef.prototype.c;ef.prototype.notify=ef.prototype.U;ef.prototype.on=ef.prototype.t;ef.prototype.once=ef.prototype.u;ef.prototype.set=ef.prototype.s;ef.prototype.setTracking=ef.prototype.b;ef.prototype.setValues=ef.prototype.L;ef.prototype.un=ef.prototype.v;ef.prototype.unByKey=ef.prototype.w;ef.prototype.unbind=ef.prototype.V;ef.prototype.unbindAll=ef.prototype.Z;t("ol.Feature",G);G.prototype.bindTo=G.prototype.X;G.prototype.dispatchChangeEvent=G.prototype.k;
G.prototype.get=G.prototype.get;G.prototype.getGeometry=G.prototype.N;G.prototype.getGeometryName=G.prototype.wf;G.prototype.getId=G.prototype.xf;G.prototype.getKeys=G.prototype.P;G.prototype.getProperties=G.prototype.S;G.prototype.getStyle=G.prototype.Lg;G.prototype.getStyleFunction=G.prototype.Mg;G.prototype.notify=G.prototype.U;G.prototype.on=G.prototype.t;G.prototype.once=G.prototype.u;G.prototype.set=G.prototype.s;G.prototype.setGeometry=G.prototype.pb;G.prototype.setGeometryName=G.prototype.i;
G.prototype.setId=G.prototype.b;G.prototype.setStyle=G.prototype.g;G.prototype.setValues=G.prototype.L;G.prototype.un=G.prototype.v;G.prototype.unByKey=G.prototype.w;G.prototype.unbind=G.prototype.V;G.prototype.unbindAll=G.prototype.Z;t("ol.FeatureOverlay",Vi);Vi.prototype.addFeature=Vi.prototype.ue;Vi.prototype.getFeatures=Vi.prototype.Gg;Vi.prototype.getStyle=Vi.prototype.Hg;Vi.prototype.getStyleFunction=Vi.prototype.Ig;Vi.prototype.removeFeature=Vi.prototype.Sc;Vi.prototype.setFeatures=Vi.prototype.tc;
Vi.prototype.setMap=Vi.prototype.setMap;Vi.prototype.setStyle=Vi.prototype.Kg;t("ol.Geolocation",T);T.prototype.bindTo=T.prototype.X;T.prototype.dispatchChangeEvent=T.prototype.k;T.prototype.get=T.prototype.get;T.prototype.getAccuracy=T.prototype.be;T.prototype.getAccuracyGeometry=T.prototype.n;T.prototype.getAltitude=T.prototype.p;T.prototype.getAltitudeAccuracy=T.prototype.r;T.prototype.getHeading=T.prototype.B;T.prototype.getKeys=T.prototype.P;T.prototype.getPosition=T.prototype.F;
T.prototype.getProjection=T.prototype.g;T.prototype.getProperties=T.prototype.S;T.prototype.getSpeed=T.prototype.A;T.prototype.getTracking=T.prototype.i;T.prototype.getTrackingOptions=T.prototype.f;T.prototype.notify=T.prototype.U;T.prototype.on=T.prototype.t;T.prototype.once=T.prototype.u;T.prototype.set=T.prototype.s;T.prototype.setProjection=T.prototype.h;T.prototype.setTracking=T.prototype.e;T.prototype.setTrackingOptions=T.prototype.l;T.prototype.setValues=T.prototype.L;T.prototype.un=T.prototype.v;
T.prototype.unByKey=T.prototype.w;T.prototype.unbind=T.prototype.V;T.prototype.unbindAll=T.prototype.Z;$n.prototype.getImage=$n.prototype.b;$n.prototype.getTileCoord=$n.prototype.i;t("ol.Kinetic",kk);t("ol.Map",S);S.prototype.addControl=S.prototype.gf;S.prototype.addInteraction=S.prototype.hf;S.prototype.addLayer=S.prototype.jf;S.prototype.addOverlay=S.prototype.kf;S.prototype.beforeRender=S.prototype.Ka;S.prototype.bindTo=S.prototype.X;S.prototype.dispatchChangeEvent=S.prototype.k;
S.prototype.forEachFeatureAtPixel=S.prototype.xd;S.prototype.get=S.prototype.get;S.prototype.getControls=S.prototype.uf;S.prototype.getCoordinateFromPixel=S.prototype.ya;S.prototype.getEventCoordinate=S.prototype.de;S.prototype.getEventPixel=S.prototype.md;S.prototype.getInteractions=S.prototype.yf;S.prototype.getKeys=S.prototype.P;S.prototype.getLayerGroup=S.prototype.ib;S.prototype.getLayers=S.prototype.df;S.prototype.getOverlays=S.prototype.Cf;S.prototype.getPixelFromCoordinate=S.prototype.f;
S.prototype.getProperties=S.prototype.S;S.prototype.getSize=S.prototype.e;S.prototype.getTarget=S.prototype.oc;S.prototype.getView=S.prototype.a;S.prototype.getViewport=S.prototype.Hf;S.prototype.notify=S.prototype.U;S.prototype.on=S.prototype.t;S.prototype.once=S.prototype.u;S.prototype.removeControl=S.prototype.Sh;S.prototype.removeInteraction=S.prototype.Uh;S.prototype.removeLayer=S.prototype.Vh;S.prototype.removeOverlay=S.prototype.Wh;S.prototype.render=S.prototype.R;S.prototype.renderSync=S.prototype.Yh;
S.prototype.set=S.prototype.s;S.prototype.setLayerGroup=S.prototype.Te;S.prototype.setSize=S.prototype.B;S.prototype.setTarget=S.prototype.ua;S.prototype.setValues=S.prototype.L;S.prototype.setView=S.prototype.Va;S.prototype.un=S.prototype.v;S.prototype.unByKey=S.prototype.w;S.prototype.unbind=S.prototype.V;S.prototype.unbindAll=S.prototype.Z;S.prototype.updateSize=S.prototype.F;Pf.prototype.preventDefault=Pf.prototype.preventDefault;Pf.prototype.stopPropagation=Pf.prototype.Pa;
Qf.prototype.preventDefault=Qf.prototype.preventDefault;Qf.prototype.stopPropagation=Qf.prototype.Pa;t("ol.Object",Oe);Oe.prototype.bindTo=Oe.prototype.X;Oe.prototype.dispatchChangeEvent=Oe.prototype.k;Oe.prototype.get=Oe.prototype.get;Oe.prototype.getKeys=Oe.prototype.P;Oe.prototype.getProperties=Oe.prototype.S;Oe.prototype.notify=Oe.prototype.U;Oe.prototype.on=Oe.prototype.t;Oe.prototype.once=Oe.prototype.u;Oe.prototype.set=Oe.prototype.s;Oe.prototype.setValues=Oe.prototype.L;Oe.prototype.un=Oe.prototype.v;
Oe.prototype.unByKey=Oe.prototype.w;Oe.prototype.unbind=Oe.prototype.V;Oe.prototype.unbindAll=Oe.prototype.Z;t("ol.Observable",Le);Le.prototype.dispatchChangeEvent=Le.prototype.k;Le.prototype.on=Le.prototype.t;Le.prototype.once=Le.prototype.u;Le.prototype.un=Le.prototype.v;Le.prototype.unByKey=Le.prototype.w;t("ol.Overlay",U);U.prototype.bindTo=U.prototype.X;U.prototype.dispatchChangeEvent=U.prototype.k;U.prototype.get=U.prototype.get;U.prototype.getElement=U.prototype.g;U.prototype.getKeys=U.prototype.P;
U.prototype.getMap=U.prototype.e;U.prototype.getPosition=U.prototype.i;U.prototype.getPositioning=U.prototype.f;U.prototype.getProperties=U.prototype.S;U.prototype.notify=U.prototype.U;U.prototype.on=U.prototype.t;U.prototype.once=U.prototype.u;U.prototype.set=U.prototype.s;U.prototype.setElement=U.prototype.Hd;U.prototype.setMap=U.prototype.setMap;U.prototype.setPosition=U.prototype.h;U.prototype.setPositioning=U.prototype.l;U.prototype.setValues=U.prototype.L;U.prototype.un=U.prototype.v;
U.prototype.unByKey=U.prototype.w;U.prototype.unbind=U.prototype.V;U.prototype.unbindAll=U.prototype.Z;Ch.prototype.circle=Ch.prototype.a;Xj.prototype.getTileCoord=Xj.prototype.i;Lb.prototype.getZXY=Lb.prototype.d;t("ol.View2D",F);F.prototype.calculateExtent=F.prototype.r;F.prototype.centerOn=F.prototype.nf;F.prototype.constrainResolution=F.prototype.constrainResolution;F.prototype.constrainRotation=F.prototype.constrainRotation;F.prototype.fitExtent=F.prototype.ae;F.prototype.fitGeometry=F.prototype.sf;
F.prototype.getCenter=F.prototype.a;F.prototype.getProjection=F.prototype.i;F.prototype.getResolution=F.prototype.b;F.prototype.getRotation=F.prototype.e;F.prototype.getView2D=F.prototype.W;F.prototype.getZoom=F.prototype.Jf;F.prototype.rotate=F.prototype.xe;F.prototype.setCenter=F.prototype.Ba;F.prototype.setProjection=F.prototype.p;F.prototype.setResolution=F.prototype.c;F.prototype.setRotation=F.prototype.n;F.prototype.setZoom=F.prototype.A;
t("ol.animation.bounce",function(a){var b=a.resolution,c=s(a.start)?a.start:Aa(),d=s(a.duration)?a.duration:1E3,e=s(a.easing)?a.easing:li;return function(a,g){if(g.time<c)return g.animate=!0,g.viewHints[0]+=1,!0;if(g.time<c+d){var h=e((g.time-c)/d),m=b-g.view2DState.resolution;g.animate=!0;g.view2DState.resolution+=h*m;g.viewHints[0]+=1;return!0}return!1}});t("ol.animation.pan",mi);t("ol.animation.rotate",ni);t("ol.animation.zoom",oi);t("ol.color.asArray",function(a){return ja(a)?a:Hi(a)});
t("ol.color.asString",Fi);t("ol.control.Attribution",gk);gk.prototype.bindTo=gk.prototype.X;gk.prototype.dispatchChangeEvent=gk.prototype.k;gk.prototype.get=gk.prototype.get;gk.prototype.getKeys=gk.prototype.P;gk.prototype.getMap=gk.prototype.b;gk.prototype.getProperties=gk.prototype.S;gk.prototype.notify=gk.prototype.U;gk.prototype.on=gk.prototype.t;gk.prototype.once=gk.prototype.u;gk.prototype.set=gk.prototype.s;gk.prototype.setMap=gk.prototype.setMap;gk.prototype.setValues=gk.prototype.L;
gk.prototype.un=gk.prototype.v;gk.prototype.unByKey=gk.prototype.w;gk.prototype.unbind=gk.prototype.V;gk.prototype.unbindAll=gk.prototype.Z;t("ol.control.Control",fk);fk.prototype.bindTo=fk.prototype.X;fk.prototype.dispatchChangeEvent=fk.prototype.k;fk.prototype.get=fk.prototype.get;fk.prototype.getKeys=fk.prototype.P;fk.prototype.getMap=fk.prototype.b;fk.prototype.getProperties=fk.prototype.S;fk.prototype.notify=fk.prototype.U;fk.prototype.on=fk.prototype.t;fk.prototype.once=fk.prototype.u;
fk.prototype.set=fk.prototype.s;fk.prototype.setMap=fk.prototype.setMap;fk.prototype.setValues=fk.prototype.L;fk.prototype.un=fk.prototype.v;fk.prototype.unByKey=fk.prototype.w;fk.prototype.unbind=fk.prototype.V;fk.prototype.unbindAll=fk.prototype.Z;t("ol.control.FullScreen",go);go.prototype.bindTo=go.prototype.X;go.prototype.dispatchChangeEvent=go.prototype.k;go.prototype.get=go.prototype.get;go.prototype.getKeys=go.prototype.P;go.prototype.getMap=go.prototype.b;go.prototype.getProperties=go.prototype.S;
go.prototype.notify=go.prototype.U;go.prototype.on=go.prototype.t;go.prototype.once=go.prototype.u;go.prototype.set=go.prototype.s;go.prototype.setMap=go.prototype.setMap;go.prototype.setValues=go.prototype.L;go.prototype.un=go.prototype.v;go.prototype.unByKey=go.prototype.w;go.prototype.unbind=go.prototype.V;go.prototype.unbindAll=go.prototype.Z;t("ol.control.Logo",hk);hk.prototype.bindTo=hk.prototype.X;hk.prototype.dispatchChangeEvent=hk.prototype.k;hk.prototype.get=hk.prototype.get;
hk.prototype.getKeys=hk.prototype.P;hk.prototype.getMap=hk.prototype.b;hk.prototype.getProperties=hk.prototype.S;hk.prototype.notify=hk.prototype.U;hk.prototype.on=hk.prototype.t;hk.prototype.once=hk.prototype.u;hk.prototype.set=hk.prototype.s;hk.prototype.setMap=hk.prototype.setMap;hk.prototype.setValues=hk.prototype.L;hk.prototype.un=hk.prototype.v;hk.prototype.unByKey=hk.prototype.w;hk.prototype.unbind=hk.prototype.V;hk.prototype.unbindAll=hk.prototype.Z;t("ol.control.MousePosition",ho);
ho.prototype.bindTo=ho.prototype.X;ho.prototype.dispatchChangeEvent=ho.prototype.k;ho.prototype.get=ho.prototype.get;ho.prototype.getCoordinateFormat=ho.prototype.h;ho.prototype.getKeys=ho.prototype.P;ho.prototype.getMap=ho.prototype.b;ho.prototype.getProjection=ho.prototype.n;ho.prototype.getProperties=ho.prototype.S;ho.prototype.notify=ho.prototype.U;ho.prototype.on=ho.prototype.t;ho.prototype.once=ho.prototype.u;ho.prototype.set=ho.prototype.s;ho.prototype.setCoordinateFormat=ho.prototype.r;
ho.prototype.setMap=ho.prototype.setMap;ho.prototype.setProjection=ho.prototype.p;ho.prototype.setValues=ho.prototype.L;ho.prototype.un=ho.prototype.v;ho.prototype.unByKey=ho.prototype.w;ho.prototype.unbind=ho.prototype.V;ho.prototype.unbindAll=ho.prototype.Z;t("ol.control.ScaleLine",jo);jo.prototype.bindTo=jo.prototype.X;jo.prototype.dispatchChangeEvent=jo.prototype.k;jo.prototype.get=jo.prototype.get;jo.prototype.getKeys=jo.prototype.P;jo.prototype.getMap=jo.prototype.b;
jo.prototype.getProperties=jo.prototype.S;jo.prototype.getUnits=jo.prototype.n;jo.prototype.notify=jo.prototype.U;jo.prototype.on=jo.prototype.t;jo.prototype.once=jo.prototype.u;jo.prototype.set=jo.prototype.s;jo.prototype.setMap=jo.prototype.setMap;jo.prototype.setUnits=jo.prototype.p;jo.prototype.setValues=jo.prototype.L;jo.prototype.un=jo.prototype.v;jo.prototype.unByKey=jo.prototype.w;jo.prototype.unbind=jo.prototype.V;jo.prototype.unbindAll=jo.prototype.Z;t("ol.control.Zoom",ik);
ik.prototype.bindTo=ik.prototype.X;ik.prototype.dispatchChangeEvent=ik.prototype.k;ik.prototype.get=ik.prototype.get;ik.prototype.getKeys=ik.prototype.P;ik.prototype.getMap=ik.prototype.b;ik.prototype.getProperties=ik.prototype.S;ik.prototype.notify=ik.prototype.U;ik.prototype.on=ik.prototype.t;ik.prototype.once=ik.prototype.u;ik.prototype.set=ik.prototype.s;ik.prototype.setMap=ik.prototype.setMap;ik.prototype.setValues=ik.prototype.L;ik.prototype.un=ik.prototype.v;ik.prototype.unByKey=ik.prototype.w;
ik.prototype.unbind=ik.prototype.V;ik.prototype.unbindAll=ik.prototype.Z;t("ol.control.ZoomSlider",yo);yo.prototype.bindTo=yo.prototype.X;yo.prototype.dispatchChangeEvent=yo.prototype.k;yo.prototype.get=yo.prototype.get;yo.prototype.getKeys=yo.prototype.P;yo.prototype.getMap=yo.prototype.b;yo.prototype.getProperties=yo.prototype.S;yo.prototype.notify=yo.prototype.U;yo.prototype.on=yo.prototype.t;yo.prototype.once=yo.prototype.u;yo.prototype.set=yo.prototype.s;yo.prototype.setValues=yo.prototype.L;
yo.prototype.un=yo.prototype.v;yo.prototype.unByKey=yo.prototype.w;yo.prototype.unbind=yo.prototype.V;yo.prototype.unbindAll=yo.prototype.Z;t("ol.control.ZoomToExtent",Co);Co.prototype.bindTo=Co.prototype.X;Co.prototype.dispatchChangeEvent=Co.prototype.k;Co.prototype.get=Co.prototype.get;Co.prototype.getKeys=Co.prototype.P;Co.prototype.getMap=Co.prototype.b;Co.prototype.getProperties=Co.prototype.S;Co.prototype.notify=Co.prototype.U;Co.prototype.on=Co.prototype.t;Co.prototype.once=Co.prototype.u;
Co.prototype.set=Co.prototype.s;Co.prototype.setMap=Co.prototype.setMap;Co.prototype.setValues=Co.prototype.L;Co.prototype.un=Co.prototype.v;Co.prototype.unByKey=Co.prototype.w;Co.prototype.unbind=Co.prototype.V;Co.prototype.unbindAll=Co.prototype.Z;t("ol.control.defaults",jk);t("ol.coordinate.add",Xe);t("ol.coordinate.createStringXY",function(a){return function(b){return df(b,a)}});t("ol.coordinate.format",$e);
t("ol.coordinate.fromProjectedArray",function(a,b){var c=b.charAt(0);return"n"===c||"s"===c?[a[1],a[0]]:a});t("ol.coordinate.rotate",bf);t("ol.coordinate.toStringHDMS",function(a){return s(a)?Ze(a[1],"NS")+" "+Ze(a[0],"EW"):""});t("ol.coordinate.toStringXY",df);t("ol.dom.Input",Do);Do.prototype.bindTo=Do.prototype.X;Do.prototype.dispatchChangeEvent=Do.prototype.k;Do.prototype.get=Do.prototype.get;Do.prototype.getChecked=Do.prototype.b;Do.prototype.getKeys=Do.prototype.P;
Do.prototype.getProperties=Do.prototype.S;Do.prototype.getValue=Do.prototype.c;Do.prototype.notify=Do.prototype.U;Do.prototype.on=Do.prototype.t;Do.prototype.once=Do.prototype.u;Do.prototype.set=Do.prototype.s;Do.prototype.setChecked=Do.prototype.e;Do.prototype.setValue=Do.prototype.f;Do.prototype.setValues=Do.prototype.L;Do.prototype.un=Do.prototype.v;Do.prototype.unByKey=Do.prototype.w;Do.prototype.unbind=Do.prototype.V;Do.prototype.unbindAll=Do.prototype.Z;
t("ol.easing.bounce",function(a){a<1/2.75?a*=7.5625*a:a<2/2.75?(a-=1.5/2.75,a=7.5625*a*a+0.75):a<2.5/2.75?(a-=2.25/2.75,a=7.5625*a*a+0.9375):(a-=2.625/2.75,a=7.5625*a*a+0.984375);return a});t("ol.easing.easeIn",function(a){return a*a*a});t("ol.easing.easeOut",ii);t("ol.easing.elastic",function(a){return Math.pow(2,-10*a)*Math.sin((a-0.075)*2*Math.PI/0.3)+1});t("ol.easing.inAndOut",ji);t("ol.easing.linear",ki);t("ol.easing.upAndDown",li);
t("ol.events.condition.altKeyOnly",function(a){a=a.a;return a.qa&&!a.Pb&&!a.Za});t("ol.events.condition.altShiftKeysOnly",cg);t("ol.events.condition.always",Ae);t("ol.events.condition.never",ze);t("ol.events.condition.noModifierKeys",eg);t("ol.events.condition.platformModifierKeyOnly",function(a){a=a.a;return!a.qa&&a.Pb&&!a.Za});t("ol.events.condition.shiftKeyOnly",fg);t("ol.events.condition.targetNotEditable",gg);t("ol.extent.boundingExtent",vg);t("ol.extent.buffer",zg);
t("ol.extent.containsCoordinate",function(a,b){return a[0]<=b[0]&&b[0]<=a[2]&&a[1]<=b[1]&&b[1]<=a[3]});t("ol.extent.containsExtent",Cg);t("ol.extent.createEmpty",wg);t("ol.extent.equals",Eg);t("ol.extent.extend",Fg);t("ol.extent.getBottomLeft",Ig);t("ol.extent.getBottomRight",function(a){return[a[2],a[1]]});t("ol.extent.getCenter",Jg);t("ol.extent.getHeight",Lg);t("ol.extent.getSize",function(a){return[a[2]-a[0],a[3]-a[1]]});t("ol.extent.getTopLeft",Mg);
t("ol.extent.getTopRight",function(a){return[a[2],a[3]]});t("ol.extent.getWidth",Ng);t("ol.extent.intersects",Og);t("ol.extent.isEmpty",Pg);t("ol.extent.transform",Tg);t("ol.format.GPX",Ip);Ip.prototype.readFeature=Ip.prototype.Rb;Ip.prototype.readFeatures=Ip.prototype.bb;Ip.prototype.readProjection=Ip.prototype.Fa;Ip.prototype.writeFeatures=Ip.prototype.ad;t("ol.format.GeoJSON",qq);qq.prototype.readFeature=qq.prototype.Rb;qq.prototype.readFeatures=qq.prototype.bb;qq.prototype.readGeometry=qq.prototype.Dd;
qq.prototype.readProjection=qq.prototype.Fa;qq.prototype.writeFeature=qq.prototype.Od;qq.prototype.writeFeatures=qq.prototype.ad;t("ol.format.IGC",zq);zq.prototype.readFeature=zq.prototype.Rb;zq.prototype.readFeatures=zq.prototype.bb;zq.prototype.readProjection=zq.prototype.Fa;t("ol.format.KML",Dq);Dq.prototype.readFeature=Dq.prototype.Rb;Dq.prototype.readFeatures=Dq.prototype.bb;Dq.prototype.readProjection=Dq.prototype.Fa;t("ol.format.OSMXML",ur);t("ol.format.TopoJSON",Ar);
Ar.prototype.readFeatures=Ar.prototype.bb;Ar.prototype.readProjection=Ar.prototype.Fa;t("ol.format.WFS",Is);Is.prototype.readFeatureCollectionMetadata=Is.prototype.c;Is.prototype.readTransactionResponse=Is.prototype.f;Is.prototype.writeGetFeature=Is.prototype.g;Is.prototype.writeTransaction=Is.prototype.i;t("ol.format.WMSCapabilities",Zs);Zs.prototype.read=Zs.prototype.a;t("ol.geom.Circle",cm);cm.prototype.clone=cm.prototype.H;cm.prototype.clone=cm.prototype.H;cm.prototype.dispatchChangeEvent=cm.prototype.k;
cm.prototype.getCenter=cm.prototype.Tc;cm.prototype.getCenter=cm.prototype.Tc;cm.prototype.getClosestPoint=cm.prototype.e;cm.prototype.getExtent=cm.prototype.o;cm.prototype.getExtent=cm.prototype.o;cm.prototype.getFirstCoordinate=cm.prototype.da;cm.prototype.getFirstCoordinate=cm.prototype.da;cm.prototype.getLastCoordinate=cm.prototype.ea;cm.prototype.getLastCoordinate=cm.prototype.ea;cm.prototype.getLayout=cm.prototype.fa;cm.prototype.getLayout=cm.prototype.fa;cm.prototype.getRadius=cm.prototype.yd;
cm.prototype.getRadius=cm.prototype.yd;cm.prototype.getSimplifiedGeometry=cm.prototype.Y;cm.prototype.getSimplifiedGeometry=cm.prototype.Y;cm.prototype.getType=cm.prototype.D;cm.prototype.getType=cm.prototype.D;cm.prototype.on=cm.prototype.t;cm.prototype.once=cm.prototype.u;cm.prototype.setCenter=cm.prototype.ye;cm.prototype.setCenter=cm.prototype.ye;cm.prototype.setCenterAndRadius=cm.prototype.Gd;cm.prototype.setCenterAndRadius=cm.prototype.Gd;cm.prototype.setRadius=cm.prototype.Ue;
cm.prototype.setRadius=cm.prototype.Ue;cm.prototype.un=cm.prototype.v;cm.prototype.unByKey=cm.prototype.w;t("ol.geom.Geometry",Ug);Ug.prototype.dispatchChangeEvent=Ug.prototype.k;Ug.prototype.getClosestPoint=Ug.prototype.e;Ug.prototype.getExtent=Ug.prototype.o;Ug.prototype.on=Ug.prototype.t;Ug.prototype.once=Ug.prototype.u;Ug.prototype.un=Ug.prototype.v;Ug.prototype.unByKey=Ug.prototype.w;t("ol.geom.GeometryCollection",em);em.prototype.clone=em.prototype.H;em.prototype.clone=em.prototype.H;
em.prototype.dispatchChangeEvent=em.prototype.k;em.prototype.getClosestPoint=em.prototype.e;em.prototype.getExtent=em.prototype.o;em.prototype.getExtent=em.prototype.o;em.prototype.getGeometries=em.prototype.ee;em.prototype.getGeometries=em.prototype.ee;em.prototype.getSimplifiedGeometry=em.prototype.Y;em.prototype.getSimplifiedGeometry=em.prototype.Y;em.prototype.getType=em.prototype.D;em.prototype.getType=em.prototype.D;em.prototype.on=em.prototype.t;em.prototype.once=em.prototype.u;
em.prototype.setGeometries=em.prototype.Id;em.prototype.setGeometries=em.prototype.Id;em.prototype.un=em.prototype.v;em.prototype.unByKey=em.prototype.w;t("ol.geom.LineString",N);N.prototype.appendCoordinate=N.prototype.Pd;N.prototype.appendCoordinate=N.prototype.Pd;N.prototype.clone=N.prototype.H;N.prototype.clone=N.prototype.H;N.prototype.dispatchChangeEvent=N.prototype.k;N.prototype.getClosestPoint=N.prototype.e;N.prototype.getCoordinateAtM=N.prototype.ze;N.prototype.getCoordinateAtM=N.prototype.ze;
N.prototype.getCoordinates=N.prototype.C;N.prototype.getCoordinates=N.prototype.C;N.prototype.getExtent=N.prototype.o;N.prototype.getExtent=N.prototype.o;N.prototype.getFirstCoordinate=N.prototype.da;N.prototype.getFirstCoordinate=N.prototype.da;N.prototype.getLastCoordinate=N.prototype.ea;N.prototype.getLastCoordinate=N.prototype.ea;N.prototype.getLayout=N.prototype.fa;N.prototype.getLayout=N.prototype.fa;N.prototype.getLength=N.prototype.Ae;N.prototype.getLength=N.prototype.Ae;
N.prototype.getSimplifiedGeometry=N.prototype.Y;N.prototype.getSimplifiedGeometry=N.prototype.Y;N.prototype.getType=N.prototype.D;N.prototype.getType=N.prototype.D;N.prototype.on=N.prototype.t;N.prototype.once=N.prototype.u;N.prototype.setCoordinates=N.prototype.I;N.prototype.setCoordinates=N.prototype.I;N.prototype.transform=N.prototype.transform;N.prototype.transform=N.prototype.transform;N.prototype.un=N.prototype.v;N.prototype.unByKey=N.prototype.w;t("ol.geom.LinearRing",ph);
ph.prototype.clone=ph.prototype.H;ph.prototype.clone=ph.prototype.H;ph.prototype.dispatchChangeEvent=ph.prototype.k;ph.prototype.getArea=ph.prototype.Be;ph.prototype.getArea=ph.prototype.Be;ph.prototype.getClosestPoint=ph.prototype.e;ph.prototype.getCoordinates=ph.prototype.C;ph.prototype.getCoordinates=ph.prototype.C;ph.prototype.getExtent=ph.prototype.o;ph.prototype.getExtent=ph.prototype.o;ph.prototype.getFirstCoordinate=ph.prototype.da;ph.prototype.getFirstCoordinate=ph.prototype.da;
ph.prototype.getLastCoordinate=ph.prototype.ea;ph.prototype.getLastCoordinate=ph.prototype.ea;ph.prototype.getLayout=ph.prototype.fa;ph.prototype.getLayout=ph.prototype.fa;ph.prototype.getSimplifiedGeometry=ph.prototype.Y;ph.prototype.getSimplifiedGeometry=ph.prototype.Y;ph.prototype.getType=ph.prototype.D;ph.prototype.getType=ph.prototype.D;ph.prototype.on=ph.prototype.t;ph.prototype.once=ph.prototype.u;ph.prototype.setCoordinates=ph.prototype.I;ph.prototype.setCoordinates=ph.prototype.I;
ph.prototype.transform=ph.prototype.transform;ph.prototype.transform=ph.prototype.transform;ph.prototype.un=ph.prototype.v;ph.prototype.unByKey=ph.prototype.w;t("ol.geom.MultiLineString",P);P.prototype.appendLineString=P.prototype.Qd;P.prototype.appendLineString=P.prototype.Qd;P.prototype.clone=P.prototype.H;P.prototype.clone=P.prototype.H;P.prototype.dispatchChangeEvent=P.prototype.k;P.prototype.getClosestPoint=P.prototype.e;P.prototype.getCoordinateAtM=P.prototype.Ce;
P.prototype.getCoordinateAtM=P.prototype.Ce;P.prototype.getCoordinates=P.prototype.C;P.prototype.getCoordinates=P.prototype.C;P.prototype.getExtent=P.prototype.o;P.prototype.getExtent=P.prototype.o;P.prototype.getFirstCoordinate=P.prototype.da;P.prototype.getFirstCoordinate=P.prototype.da;P.prototype.getLastCoordinate=P.prototype.ea;P.prototype.getLastCoordinate=P.prototype.ea;P.prototype.getLayout=P.prototype.fa;P.prototype.getLayout=P.prototype.fa;P.prototype.getLineString=P.prototype.he;
P.prototype.getLineString=P.prototype.he;P.prototype.getLineStrings=P.prototype.Hc;P.prototype.getLineStrings=P.prototype.Hc;P.prototype.getSimplifiedGeometry=P.prototype.Y;P.prototype.getSimplifiedGeometry=P.prototype.Y;P.prototype.getType=P.prototype.D;P.prototype.getType=P.prototype.D;P.prototype.on=P.prototype.t;P.prototype.once=P.prototype.u;P.prototype.setCoordinates=P.prototype.I;P.prototype.setCoordinates=P.prototype.I;P.prototype.transform=P.prototype.transform;P.prototype.transform=P.prototype.transform;
P.prototype.un=P.prototype.v;P.prototype.unByKey=P.prototype.w;t("ol.geom.MultiPoint",Q);Q.prototype.appendPoint=Q.prototype.Sd;Q.prototype.appendPoint=Q.prototype.Sd;Q.prototype.clone=Q.prototype.H;Q.prototype.clone=Q.prototype.H;Q.prototype.dispatchChangeEvent=Q.prototype.k;Q.prototype.getClosestPoint=Q.prototype.e;Q.prototype.getCoordinates=Q.prototype.C;Q.prototype.getCoordinates=Q.prototype.C;Q.prototype.getExtent=Q.prototype.o;Q.prototype.getExtent=Q.prototype.o;
Q.prototype.getFirstCoordinate=Q.prototype.da;Q.prototype.getFirstCoordinate=Q.prototype.da;Q.prototype.getLastCoordinate=Q.prototype.ea;Q.prototype.getLastCoordinate=Q.prototype.ea;Q.prototype.getLayout=Q.prototype.fa;Q.prototype.getLayout=Q.prototype.fa;Q.prototype.getPoint=Q.prototype.je;Q.prototype.getPoint=Q.prototype.je;Q.prototype.getPoints=Q.prototype.pd;Q.prototype.getPoints=Q.prototype.pd;Q.prototype.getSimplifiedGeometry=Q.prototype.Y;Q.prototype.getSimplifiedGeometry=Q.prototype.Y;
Q.prototype.getType=Q.prototype.D;Q.prototype.getType=Q.prototype.D;Q.prototype.on=Q.prototype.t;Q.prototype.once=Q.prototype.u;Q.prototype.setCoordinates=Q.prototype.I;Q.prototype.setCoordinates=Q.prototype.I;Q.prototype.transform=Q.prototype.transform;Q.prototype.transform=Q.prototype.transform;Q.prototype.un=Q.prototype.v;Q.prototype.unByKey=Q.prototype.w;t("ol.geom.MultiPolygon",R);R.prototype.appendPolygon=R.prototype.Td;R.prototype.appendPolygon=R.prototype.Td;R.prototype.clone=R.prototype.H;
R.prototype.clone=R.prototype.H;R.prototype.dispatchChangeEvent=R.prototype.k;R.prototype.getArea=R.prototype.De;R.prototype.getArea=R.prototype.De;R.prototype.getClosestPoint=R.prototype.e;R.prototype.getCoordinates=R.prototype.C;R.prototype.getCoordinates=R.prototype.C;R.prototype.getExtent=R.prototype.o;R.prototype.getExtent=R.prototype.o;R.prototype.getFirstCoordinate=R.prototype.da;R.prototype.getFirstCoordinate=R.prototype.da;R.prototype.getInteriorPoints=R.prototype.ge;
R.prototype.getInteriorPoints=R.prototype.ge;R.prototype.getLastCoordinate=R.prototype.ea;R.prototype.getLastCoordinate=R.prototype.ea;R.prototype.getLayout=R.prototype.fa;R.prototype.getLayout=R.prototype.fa;R.prototype.getPolygon=R.prototype.ke;R.prototype.getPolygon=R.prototype.ke;R.prototype.getPolygons=R.prototype.qd;R.prototype.getPolygons=R.prototype.qd;R.prototype.getSimplifiedGeometry=R.prototype.Y;R.prototype.getSimplifiedGeometry=R.prototype.Y;R.prototype.getType=R.prototype.D;
R.prototype.getType=R.prototype.D;R.prototype.on=R.prototype.t;R.prototype.once=R.prototype.u;R.prototype.setCoordinates=R.prototype.I;R.prototype.setCoordinates=R.prototype.I;R.prototype.transform=R.prototype.transform;R.prototype.transform=R.prototype.transform;R.prototype.un=R.prototype.v;R.prototype.unByKey=R.prototype.w;t("ol.geom.Point",rh);rh.prototype.clone=rh.prototype.H;rh.prototype.clone=rh.prototype.H;rh.prototype.dispatchChangeEvent=rh.prototype.k;rh.prototype.getClosestPoint=rh.prototype.e;
rh.prototype.getCoordinates=rh.prototype.C;rh.prototype.getCoordinates=rh.prototype.C;rh.prototype.getFirstCoordinate=rh.prototype.da;rh.prototype.getFirstCoordinate=rh.prototype.da;rh.prototype.getLastCoordinate=rh.prototype.ea;rh.prototype.getLastCoordinate=rh.prototype.ea;rh.prototype.getLayout=rh.prototype.fa;rh.prototype.getLayout=rh.prototype.fa;rh.prototype.getSimplifiedGeometry=rh.prototype.Y;rh.prototype.getSimplifiedGeometry=rh.prototype.Y;rh.prototype.getType=rh.prototype.D;
rh.prototype.getType=rh.prototype.D;rh.prototype.on=rh.prototype.t;rh.prototype.once=rh.prototype.u;rh.prototype.setCoordinates=rh.prototype.I;rh.prototype.setCoordinates=rh.prototype.I;rh.prototype.transform=rh.prototype.transform;rh.prototype.transform=rh.prototype.transform;rh.prototype.un=rh.prototype.v;rh.prototype.unByKey=rh.prototype.w;t("ol.geom.Polygon",D);D.prototype.appendLinearRing=D.prototype.Rd;D.prototype.appendLinearRing=D.prototype.Rd;D.prototype.clone=D.prototype.H;
D.prototype.clone=D.prototype.H;D.prototype.dispatchChangeEvent=D.prototype.k;D.prototype.getArea=D.prototype.Ee;D.prototype.getArea=D.prototype.Ee;D.prototype.getClosestPoint=D.prototype.e;D.prototype.getCoordinates=D.prototype.C;D.prototype.getCoordinates=D.prototype.C;D.prototype.getExtent=D.prototype.o;D.prototype.getExtent=D.prototype.o;D.prototype.getFirstCoordinate=D.prototype.da;D.prototype.getFirstCoordinate=D.prototype.da;D.prototype.getInteriorPoint=D.prototype.fe;
D.prototype.getInteriorPoint=D.prototype.fe;D.prototype.getLastCoordinate=D.prototype.ea;D.prototype.getLastCoordinate=D.prototype.ea;D.prototype.getLayout=D.prototype.fa;D.prototype.getLayout=D.prototype.fa;D.prototype.getLinearRing=D.prototype.ie;D.prototype.getLinearRing=D.prototype.ie;D.prototype.getLinearRings=D.prototype.od;D.prototype.getLinearRings=D.prototype.od;D.prototype.getSimplifiedGeometry=D.prototype.Y;D.prototype.getSimplifiedGeometry=D.prototype.Y;D.prototype.getType=D.prototype.D;
D.prototype.getType=D.prototype.D;D.prototype.on=D.prototype.t;D.prototype.once=D.prototype.u;D.prototype.setCoordinates=D.prototype.I;D.prototype.setCoordinates=D.prototype.I;D.prototype.transform=D.prototype.transform;D.prototype.transform=D.prototype.transform;D.prototype.un=D.prototype.v;D.prototype.unByKey=D.prototype.w;t("ol.geom.SimpleGeometry",Wg);Wg.prototype.dispatchChangeEvent=Wg.prototype.k;Wg.prototype.getClosestPoint=Wg.prototype.e;Wg.prototype.getExtent=Wg.prototype.o;
Wg.prototype.getExtent=Wg.prototype.o;Wg.prototype.getFirstCoordinate=Wg.prototype.da;Wg.prototype.getFirstCoordinate=Wg.prototype.da;Wg.prototype.getLastCoordinate=Wg.prototype.ea;Wg.prototype.getLastCoordinate=Wg.prototype.ea;Wg.prototype.getLayout=Wg.prototype.fa;Wg.prototype.getLayout=Wg.prototype.fa;Wg.prototype.getSimplifiedGeometry=Wg.prototype.Y;Wg.prototype.getSimplifiedGeometry=Wg.prototype.Y;Wg.prototype.on=Wg.prototype.t;Wg.prototype.once=Wg.prototype.u;Wg.prototype.transform=Wg.prototype.transform;
Wg.prototype.transform=Wg.prototype.transform;Wg.prototype.un=Wg.prototype.v;Wg.prototype.unByKey=Wg.prototype.w;t("ol.inherits",v);t("ol.interaction.DoubleClickZoom",mk);mk.prototype.dispatchChangeEvent=mk.prototype.k;mk.prototype.on=mk.prototype.t;mk.prototype.once=mk.prototype.u;mk.prototype.un=mk.prototype.v;mk.prototype.unByKey=mk.prototype.w;t("ol.interaction.DragAndDrop",It);It.prototype.dispatchChangeEvent=It.prototype.k;It.prototype.on=It.prototype.t;It.prototype.once=It.prototype.u;
It.prototype.un=It.prototype.v;It.prototype.unByKey=It.prototype.w;t("ol.interaction.DragBox",Ai);Ai.prototype.getGeometry=Ai.prototype.N;t("ol.interaction.DragPan",nk);t("ol.interaction.DragRotate",ok);t("ol.interaction.DragRotateAndZoom",Mt);t("ol.interaction.DragZoom",qk);qk.prototype.getGeometry=qk.prototype.N;t("ol.interaction.Draw",Pn);pi.prototype.dispatchChangeEvent=pi.prototype.k;pi.prototype.on=pi.prototype.t;pi.prototype.once=pi.prototype.u;pi.prototype.un=pi.prototype.v;
pi.prototype.unByKey=pi.prototype.w;t("ol.interaction.KeyboardPan",rk);rk.prototype.dispatchChangeEvent=rk.prototype.k;rk.prototype.on=rk.prototype.t;rk.prototype.once=rk.prototype.u;rk.prototype.un=rk.prototype.v;rk.prototype.unByKey=rk.prototype.w;t("ol.interaction.KeyboardZoom",sk);sk.prototype.dispatchChangeEvent=sk.prototype.k;sk.prototype.on=sk.prototype.t;sk.prototype.once=sk.prototype.u;sk.prototype.un=sk.prototype.v;sk.prototype.unByKey=sk.prototype.w;t("ol.interaction.Modify",Nt);
t("ol.interaction.MouseWheelZoom",tk);tk.prototype.dispatchChangeEvent=tk.prototype.k;tk.prototype.on=tk.prototype.t;tk.prototype.once=tk.prototype.u;tk.prototype.un=tk.prototype.v;tk.prototype.unByKey=tk.prototype.w;t("ol.interaction.PinchRotate",uk);t("ol.interaction.PinchZoom",vk);t("ol.interaction.Select",St);St.prototype.dispatchChangeEvent=St.prototype.k;St.prototype.getFeatures=St.prototype.Sg;St.prototype.on=St.prototype.t;St.prototype.once=St.prototype.u;St.prototype.setMap=St.prototype.setMap;
St.prototype.un=St.prototype.v;St.prototype.unByKey=St.prototype.w;t("ol.interaction.defaults",wk);H.prototype.bindTo=H.prototype.X;H.prototype.dispatchChangeEvent=H.prototype.k;H.prototype.get=H.prototype.get;H.prototype.getBrightness=H.prototype.c;H.prototype.getContrast=H.prototype.e;H.prototype.getHue=H.prototype.f;H.prototype.getKeys=H.prototype.P;H.prototype.getMaxResolution=H.prototype.g;H.prototype.getMinResolution=H.prototype.i;H.prototype.getOpacity=H.prototype.l;
H.prototype.getProperties=H.prototype.S;H.prototype.getSaturation=H.prototype.h;H.prototype.getVisible=H.prototype.b;H.prototype.notify=H.prototype.U;H.prototype.on=H.prototype.t;H.prototype.once=H.prototype.u;H.prototype.set=H.prototype.s;H.prototype.setBrightness=H.prototype.n;H.prototype.setContrast=H.prototype.p;H.prototype.setHue=H.prototype.r;H.prototype.setMaxResolution=H.prototype.A;H.prototype.setMinResolution=H.prototype.B;H.prototype.setOpacity=H.prototype.F;H.prototype.setSaturation=H.prototype.Q;
H.prototype.setValues=H.prototype.L;H.prototype.setVisible=H.prototype.T;H.prototype.un=H.prototype.v;H.prototype.unByKey=H.prototype.w;H.prototype.unbind=H.prototype.V;H.prototype.unbindAll=H.prototype.Z;t("ol.layer.Group",I);I.prototype.bindTo=I.prototype.X;I.prototype.dispatchChangeEvent=I.prototype.k;I.prototype.get=I.prototype.get;I.prototype.getBrightness=I.prototype.c;I.prototype.getContrast=I.prototype.e;I.prototype.getHue=I.prototype.f;I.prototype.getKeys=I.prototype.P;
I.prototype.getMaxResolution=I.prototype.g;I.prototype.getMinResolution=I.prototype.i;I.prototype.getOpacity=I.prototype.l;I.prototype.getProperties=I.prototype.S;I.prototype.getSaturation=I.prototype.h;I.prototype.getVisible=I.prototype.b;I.prototype.notify=I.prototype.U;I.prototype.on=I.prototype.t;I.prototype.once=I.prototype.u;I.prototype.set=I.prototype.s;I.prototype.setBrightness=I.prototype.n;I.prototype.setContrast=I.prototype.p;I.prototype.setHue=I.prototype.r;
I.prototype.setMaxResolution=I.prototype.A;I.prototype.setMinResolution=I.prototype.B;I.prototype.setOpacity=I.prototype.F;I.prototype.setSaturation=I.prototype.Q;I.prototype.setValues=I.prototype.L;I.prototype.setVisible=I.prototype.T;I.prototype.un=I.prototype.v;I.prototype.unByKey=I.prototype.w;I.prototype.unbind=I.prototype.V;I.prototype.unbindAll=I.prototype.Z;t("ol.layer.Heatmap",$);$.prototype.bindTo=$.prototype.X;$.prototype.dispatchChangeEvent=$.prototype.k;$.prototype.get=$.prototype.get;
$.prototype.getBrightness=$.prototype.c;$.prototype.getContrast=$.prototype.e;$.prototype.getHue=$.prototype.f;$.prototype.getKeys=$.prototype.P;$.prototype.getMaxResolution=$.prototype.g;$.prototype.getMinResolution=$.prototype.i;$.prototype.getOpacity=$.prototype.l;$.prototype.getProperties=$.prototype.S;$.prototype.getSaturation=$.prototype.h;$.prototype.getSource=$.prototype.ca;$.prototype.getStyle=$.prototype.Vb;$.prototype.getStyleFunction=$.prototype.wc;$.prototype.getVisible=$.prototype.b;
$.prototype.notify=$.prototype.U;$.prototype.on=$.prototype.t;$.prototype.once=$.prototype.u;$.prototype.set=$.prototype.s;$.prototype.setBrightness=$.prototype.n;$.prototype.setContrast=$.prototype.p;$.prototype.setHue=$.prototype.r;$.prototype.setMaxResolution=$.prototype.A;$.prototype.setMinResolution=$.prototype.B;$.prototype.setOpacity=$.prototype.F;$.prototype.setSaturation=$.prototype.Q;$.prototype.setStyle=$.prototype.ja;$.prototype.setValues=$.prototype.L;$.prototype.setVisible=$.prototype.T;
$.prototype.un=$.prototype.v;$.prototype.unByKey=$.prototype.w;$.prototype.unbind=$.prototype.V;$.prototype.unbindAll=$.prototype.Z;t("ol.layer.Image",K);K.prototype.bindTo=K.prototype.X;K.prototype.dispatchChangeEvent=K.prototype.k;K.prototype.get=K.prototype.get;K.prototype.getBrightness=K.prototype.c;K.prototype.getContrast=K.prototype.e;K.prototype.getHue=K.prototype.f;K.prototype.getKeys=K.prototype.P;K.prototype.getMaxResolution=K.prototype.g;K.prototype.getMinResolution=K.prototype.i;
K.prototype.getOpacity=K.prototype.l;K.prototype.getProperties=K.prototype.S;K.prototype.getSaturation=K.prototype.h;K.prototype.getSource=K.prototype.ca;K.prototype.getVisible=K.prototype.b;K.prototype.notify=K.prototype.U;K.prototype.on=K.prototype.t;K.prototype.once=K.prototype.u;K.prototype.set=K.prototype.s;K.prototype.setBrightness=K.prototype.n;K.prototype.setContrast=K.prototype.p;K.prototype.setHue=K.prototype.r;K.prototype.setMaxResolution=K.prototype.A;K.prototype.setMinResolution=K.prototype.B;
K.prototype.setOpacity=K.prototype.F;K.prototype.setSaturation=K.prototype.Q;K.prototype.setValues=K.prototype.L;K.prototype.setVisible=K.prototype.T;K.prototype.un=K.prototype.v;K.prototype.unByKey=K.prototype.w;K.prototype.unbind=K.prototype.V;K.prototype.unbindAll=K.prototype.Z;t("ol.layer.Layer",J);J.prototype.bindTo=J.prototype.X;J.prototype.dispatchChangeEvent=J.prototype.k;J.prototype.get=J.prototype.get;J.prototype.getBrightness=J.prototype.c;J.prototype.getContrast=J.prototype.e;
J.prototype.getHue=J.prototype.f;J.prototype.getKeys=J.prototype.P;J.prototype.getMaxResolution=J.prototype.g;J.prototype.getMinResolution=J.prototype.i;J.prototype.getOpacity=J.prototype.l;J.prototype.getProperties=J.prototype.S;J.prototype.getSaturation=J.prototype.h;J.prototype.getSource=J.prototype.ca;J.prototype.getVisible=J.prototype.b;J.prototype.notify=J.prototype.U;J.prototype.on=J.prototype.t;J.prototype.once=J.prototype.u;J.prototype.set=J.prototype.s;J.prototype.setBrightness=J.prototype.n;
J.prototype.setContrast=J.prototype.p;J.prototype.setHue=J.prototype.r;J.prototype.setMaxResolution=J.prototype.A;J.prototype.setMinResolution=J.prototype.B;J.prototype.setOpacity=J.prototype.F;J.prototype.setSaturation=J.prototype.Q;J.prototype.setValues=J.prototype.L;J.prototype.setVisible=J.prototype.T;J.prototype.un=J.prototype.v;J.prototype.unByKey=J.prototype.w;J.prototype.unbind=J.prototype.V;J.prototype.unbindAll=J.prototype.Z;t("ol.layer.Tile",L);L.prototype.bindTo=L.prototype.X;
L.prototype.dispatchChangeEvent=L.prototype.k;L.prototype.get=L.prototype.get;L.prototype.getBrightness=L.prototype.c;L.prototype.getContrast=L.prototype.e;L.prototype.getHue=L.prototype.f;L.prototype.getKeys=L.prototype.P;L.prototype.getMaxResolution=L.prototype.g;L.prototype.getMinResolution=L.prototype.i;L.prototype.getOpacity=L.prototype.l;L.prototype.getProperties=L.prototype.S;L.prototype.getSaturation=L.prototype.h;L.prototype.getSource=L.prototype.ca;L.prototype.getVisible=L.prototype.b;
L.prototype.notify=L.prototype.U;L.prototype.on=L.prototype.t;L.prototype.once=L.prototype.u;L.prototype.set=L.prototype.s;L.prototype.setBrightness=L.prototype.n;L.prototype.setContrast=L.prototype.p;L.prototype.setHue=L.prototype.r;L.prototype.setMaxResolution=L.prototype.A;L.prototype.setMinResolution=L.prototype.B;L.prototype.setOpacity=L.prototype.F;L.prototype.setSaturation=L.prototype.Q;L.prototype.setValues=L.prototype.L;L.prototype.setVisible=L.prototype.T;L.prototype.un=L.prototype.v;
L.prototype.unByKey=L.prototype.w;L.prototype.unbind=L.prototype.V;L.prototype.unbindAll=L.prototype.Z;t("ol.layer.Vector",M);M.prototype.bindTo=M.prototype.X;M.prototype.dispatchChangeEvent=M.prototype.k;M.prototype.get=M.prototype.get;M.prototype.getBrightness=M.prototype.c;M.prototype.getContrast=M.prototype.e;M.prototype.getHue=M.prototype.f;M.prototype.getKeys=M.prototype.P;M.prototype.getMaxResolution=M.prototype.g;M.prototype.getMinResolution=M.prototype.i;M.prototype.getOpacity=M.prototype.l;
M.prototype.getProperties=M.prototype.S;M.prototype.getSaturation=M.prototype.h;M.prototype.getSource=M.prototype.ca;M.prototype.getStyle=M.prototype.Vb;M.prototype.getStyleFunction=M.prototype.wc;M.prototype.getVisible=M.prototype.b;M.prototype.notify=M.prototype.U;M.prototype.on=M.prototype.t;M.prototype.once=M.prototype.u;M.prototype.set=M.prototype.s;M.prototype.setBrightness=M.prototype.n;M.prototype.setContrast=M.prototype.p;M.prototype.setHue=M.prototype.r;M.prototype.setMaxResolution=M.prototype.A;
M.prototype.setMinResolution=M.prototype.B;M.prototype.setOpacity=M.prototype.F;M.prototype.setSaturation=M.prototype.Q;M.prototype.setStyle=M.prototype.ja;M.prototype.setValues=M.prototype.L;M.prototype.setVisible=M.prototype.T;M.prototype.un=M.prototype.v;M.prototype.unByKey=M.prototype.w;M.prototype.unbind=M.prototype.V;M.prototype.unbindAll=M.prototype.Z;t("ol.loadingstrategy.all",function(){return[[-Infinity,-Infinity,Infinity,Infinity]]});t("ol.loadingstrategy.bbox",Wt);
t("ol.loadingstrategy.createTile",function(a){return function(b,c){var d=lg(a.a,c,0),e=Mk(a,b,d),f=[],d=new Lb(d,0,0);for(d.x=e.a;d.x<=e.c;++d.x)for(d.y=e.b;d.y<=e.d;++d.y)f.push(Lk(a,d));return f}});t("ol.proj.CH",Yt);Yt.prototype.getCode=Yt.prototype.d;Yt.prototype.getExtent=Yt.prototype.o;Yt.prototype.getUnits=Yt.prototype.b;t("ol.proj.EPSG2056",au);au.prototype.getCode=au.prototype.d;au.prototype.getExtent=au.prototype.o;au.prototype.getUnits=au.prototype.b;t("ol.proj.EPSG21781",cu);
cu.prototype.getCode=cu.prototype.d;cu.prototype.getExtent=cu.prototype.o;cu.prototype.getUnits=cu.prototype.b;t("ol.proj.EPSG3857",Ak);Ak.prototype.getCode=Ak.prototype.d;Ak.prototype.getExtent=Ak.prototype.o;Ak.prototype.getUnits=Ak.prototype.b;t("ol.proj.EPSG4326",Dk);Dk.prototype.getCode=Dk.prototype.d;Dk.prototype.getExtent=Dk.prototype.o;Dk.prototype.getUnits=Dk.prototype.b;t("ol.proj.METERS_PER_UNIT[undefined]",Fh[void 0]);t("ol.proj.Projection",Hh);Hh.prototype.getCode=Hh.prototype.d;
Hh.prototype.getExtent=Hh.prototype.o;Hh.prototype.getUnits=Hh.prototype.b;t("ol.proj.addProjection",$h);t("ol.proj.common.add",Fk);t("ol.proj.configureProj4jsProjection",function(a){return Lh(a)});t("ol.proj.get",bi);t("ol.proj.getTransform",ci);t("ol.proj.getTransformFromProjections",Kh);t("ol.proj.transform",function(a,b,c){return ci(b,c)(a)});t("ol.proj.transformWithProjections",function(a,b,c){return Kh(b,c)(a)});ll.prototype.drawAsync=ll.prototype.Bc;ll.prototype.drawCircleGeometry=ll.prototype.dc;
ll.prototype.drawFeature=ll.prototype.jd;ll.prototype.drawLineStringGeometry=ll.prototype.ec;ll.prototype.drawMultiLineStringGeometry=ll.prototype.fc;ll.prototype.drawMultiPointGeometry=ll.prototype.gc;ll.prototype.drawMultiPolygonGeometry=ll.prototype.hc;ll.prototype.drawPointGeometry=ll.prototype.ic;ll.prototype.drawPolygonGeometry=ll.prototype.Gb;ll.prototype.setFillStrokeStyle=ll.prototype.Ha;ll.prototype.setImageStyle=ll.prototype.Tb;ll.prototype.setTextStyle=ll.prototype.sa;
t("ol.source.BingMaps",Cu);Cu.prototype.dispatchChangeEvent=Cu.prototype.k;Cu.prototype.getState=Cu.prototype.a;Cu.prototype.getTileGrid=Cu.prototype.pa;Cu.prototype.on=Cu.prototype.t;Cu.prototype.once=Cu.prototype.u;Cu.prototype.un=Cu.prototype.v;Cu.prototype.unByKey=Cu.prototype.w;t("ol.source.BingMaps.TOS_ATTRIBUTION",Du);$u.prototype.addFeature=$u.prototype.Da;$u.prototype.addFeatures=$u.prototype.Ja;$u.prototype.dispatchChangeEvent=$u.prototype.k;$u.prototype.forEachFeature=$u.prototype.La;
$u.prototype.forEachFeatureInExtent=$u.prototype.oa;$u.prototype.getClosestFeatureToCoordinate=$u.prototype.Ma;$u.prototype.getExtent=$u.prototype.o;$u.prototype.getFeatures=$u.prototype.Ea;$u.prototype.getFeaturesAtCoordinate=$u.prototype.za;$u.prototype.getState=$u.prototype.a;$u.prototype.on=$u.prototype.t;$u.prototype.once=$u.prototype.u;$u.prototype.removeFeature=$u.prototype.Ra;$u.prototype.un=$u.prototype.v;$u.prototype.unByKey=$u.prototype.w;t("ol.source.GPX",cv);cv.prototype.addFeature=cv.prototype.Da;
cv.prototype.addFeatures=cv.prototype.Ja;cv.prototype.dispatchChangeEvent=cv.prototype.k;cv.prototype.forEachFeature=cv.prototype.La;cv.prototype.forEachFeatureInExtent=cv.prototype.oa;cv.prototype.getClosestFeatureToCoordinate=cv.prototype.Ma;cv.prototype.getExtent=cv.prototype.o;cv.prototype.getFeatures=cv.prototype.Ea;cv.prototype.getFeaturesAtCoordinate=cv.prototype.za;cv.prototype.getState=cv.prototype.a;cv.prototype.on=cv.prototype.t;cv.prototype.once=cv.prototype.u;
cv.prototype.removeFeature=cv.prototype.Ra;cv.prototype.un=cv.prototype.v;cv.prototype.unByKey=cv.prototype.w;t("ol.source.GeoJSON",dv);dv.prototype.addFeature=dv.prototype.Da;dv.prototype.addFeatures=dv.prototype.Ja;dv.prototype.dispatchChangeEvent=dv.prototype.k;dv.prototype.forEachFeature=dv.prototype.La;dv.prototype.forEachFeatureInExtent=dv.prototype.oa;dv.prototype.getClosestFeatureToCoordinate=dv.prototype.Ma;dv.prototype.getExtent=dv.prototype.o;dv.prototype.getFeatures=dv.prototype.Ea;
dv.prototype.getFeaturesAtCoordinate=dv.prototype.za;dv.prototype.getState=dv.prototype.a;dv.prototype.on=dv.prototype.t;dv.prototype.once=dv.prototype.u;dv.prototype.removeFeature=dv.prototype.Ra;dv.prototype.un=dv.prototype.v;dv.prototype.unByKey=dv.prototype.w;t("ol.source.IGC",ev);ev.prototype.addFeature=ev.prototype.Da;ev.prototype.addFeatures=ev.prototype.Ja;ev.prototype.dispatchChangeEvent=ev.prototype.k;ev.prototype.forEachFeature=ev.prototype.La;ev.prototype.forEachFeatureInExtent=ev.prototype.oa;
ev.prototype.getClosestFeatureToCoordinate=ev.prototype.Ma;ev.prototype.getExtent=ev.prototype.o;ev.prototype.getFeatures=ev.prototype.Ea;ev.prototype.getFeaturesAtCoordinate=ev.prototype.za;ev.prototype.getState=ev.prototype.a;ev.prototype.on=ev.prototype.t;ev.prototype.once=ev.prototype.u;ev.prototype.removeFeature=ev.prototype.Ra;ev.prototype.un=ev.prototype.v;ev.prototype.unByKey=ev.prototype.w;Cl.prototype.dispatchChangeEvent=Cl.prototype.k;Cl.prototype.getState=Cl.prototype.a;
Cl.prototype.on=Cl.prototype.t;Cl.prototype.once=Cl.prototype.u;Cl.prototype.un=Cl.prototype.v;Cl.prototype.unByKey=Cl.prototype.w;t("ol.source.ImageCanvas",gv);gv.prototype.dispatchChangeEvent=gv.prototype.k;gv.prototype.getState=gv.prototype.a;gv.prototype.on=gv.prototype.t;gv.prototype.once=gv.prototype.u;gv.prototype.un=gv.prototype.v;gv.prototype.unByKey=gv.prototype.w;t("ol.source.ImageStatic",hv);hv.prototype.dispatchChangeEvent=hv.prototype.k;hv.prototype.getState=hv.prototype.a;
hv.prototype.on=hv.prototype.t;hv.prototype.once=hv.prototype.u;hv.prototype.un=hv.prototype.v;hv.prototype.unByKey=hv.prototype.w;t("ol.source.ImageVector",iv);iv.prototype.dispatchChangeEvent=iv.prototype.k;iv.prototype.getSource=iv.prototype.Wg;iv.prototype.getState=iv.prototype.a;iv.prototype.on=iv.prototype.t;iv.prototype.once=iv.prototype.u;iv.prototype.un=iv.prototype.v;iv.prototype.unByKey=iv.prototype.w;t("ol.source.ImageWMS",jv);jv.prototype.dispatchChangeEvent=jv.prototype.k;
jv.prototype.getGetFeatureInfoUrl=jv.prototype.Zg;jv.prototype.getParams=jv.prototype.$g;jv.prototype.getState=jv.prototype.a;jv.prototype.getUrl=jv.prototype.ah;jv.prototype.on=jv.prototype.t;jv.prototype.once=jv.prototype.u;jv.prototype.setUrl=jv.prototype.bh;jv.prototype.un=jv.prototype.v;jv.prototype.unByKey=jv.prototype.w;jv.prototype.updateParams=jv.prototype.dh;t("ol.source.KML",mv);mv.prototype.addFeature=mv.prototype.Da;mv.prototype.addFeatures=mv.prototype.Ja;
mv.prototype.dispatchChangeEvent=mv.prototype.k;mv.prototype.forEachFeature=mv.prototype.La;mv.prototype.forEachFeatureInExtent=mv.prototype.oa;mv.prototype.getClosestFeatureToCoordinate=mv.prototype.Ma;mv.prototype.getExtent=mv.prototype.o;mv.prototype.getFeatures=mv.prototype.Ea;mv.prototype.getFeaturesAtCoordinate=mv.prototype.za;mv.prototype.getState=mv.prototype.a;mv.prototype.on=mv.prototype.t;mv.prototype.once=mv.prototype.u;mv.prototype.removeFeature=mv.prototype.Ra;mv.prototype.un=mv.prototype.v;
mv.prototype.unByKey=mv.prototype.w;t("ol.source.MapGuide",pv);pv.prototype.dispatchChangeEvent=pv.prototype.k;pv.prototype.getState=pv.prototype.a;pv.prototype.on=pv.prototype.t;pv.prototype.once=pv.prototype.u;pv.prototype.un=pv.prototype.v;pv.prototype.unByKey=pv.prototype.w;t("ol.source.MapQuest",vv);vv.prototype.dispatchChangeEvent=vv.prototype.k;vv.prototype.getState=vv.prototype.a;vv.prototype.getTileGrid=vv.prototype.pa;vv.prototype.on=vv.prototype.t;vv.prototype.once=vv.prototype.u;
vv.prototype.setUrl=vv.prototype.b;vv.prototype.un=vv.prototype.v;vv.prototype.unByKey=vv.prototype.w;t("ol.source.OSM",rv);rv.prototype.dispatchChangeEvent=rv.prototype.k;rv.prototype.getState=rv.prototype.a;rv.prototype.getTileGrid=rv.prototype.pa;rv.prototype.on=rv.prototype.t;rv.prototype.once=rv.prototype.u;rv.prototype.setUrl=rv.prototype.b;rv.prototype.un=rv.prototype.v;rv.prototype.unByKey=rv.prototype.w;t("ol.source.OSM.DATA_ATTRIBUTION",tv);t("ol.source.OSM.TILE_ATTRIBUTION",uv);
t("ol.source.OSMXML",yv);yv.prototype.addFeature=yv.prototype.Da;yv.prototype.addFeatures=yv.prototype.Ja;yv.prototype.dispatchChangeEvent=yv.prototype.k;yv.prototype.forEachFeature=yv.prototype.La;yv.prototype.forEachFeatureInExtent=yv.prototype.oa;yv.prototype.getClosestFeatureToCoordinate=yv.prototype.Ma;yv.prototype.getExtent=yv.prototype.o;yv.prototype.getFeatures=yv.prototype.Ea;yv.prototype.getFeaturesAtCoordinate=yv.prototype.za;yv.prototype.getState=yv.prototype.a;yv.prototype.on=yv.prototype.t;
yv.prototype.once=yv.prototype.u;yv.prototype.removeFeature=yv.prototype.Ra;yv.prototype.un=yv.prototype.v;yv.prototype.unByKey=yv.prototype.w;t("ol.source.ServerVector",zv);zv.prototype.addFeature=zv.prototype.Da;zv.prototype.addFeatures=zv.prototype.Ja;zv.prototype.dispatchChangeEvent=zv.prototype.k;zv.prototype.forEachFeature=zv.prototype.La;zv.prototype.forEachFeatureInExtent=zv.prototype.oa;zv.prototype.getClosestFeatureToCoordinate=zv.prototype.Ma;zv.prototype.getExtent=zv.prototype.o;
zv.prototype.getFeatures=zv.prototype.Ea;zv.prototype.getFeaturesAtCoordinate=zv.prototype.za;zv.prototype.getState=zv.prototype.a;zv.prototype.on=zv.prototype.t;zv.prototype.once=zv.prototype.u;zv.prototype.readFeatures=zv.prototype.e;zv.prototype.removeFeature=zv.prototype.Ra;zv.prototype.un=zv.prototype.v;zv.prototype.unByKey=zv.prototype.w;xk.prototype.dispatchChangeEvent=xk.prototype.k;xk.prototype.getState=xk.prototype.a;xk.prototype.on=xk.prototype.t;xk.prototype.once=xk.prototype.u;
xk.prototype.un=xk.prototype.v;xk.prototype.unByKey=xk.prototype.w;t("ol.source.Stamen",Cv);Cv.prototype.dispatchChangeEvent=Cv.prototype.k;Cv.prototype.getState=Cv.prototype.a;Cv.prototype.getTileGrid=Cv.prototype.pa;Cv.prototype.on=Cv.prototype.t;Cv.prototype.once=Cv.prototype.u;Cv.prototype.setUrl=Cv.prototype.b;Cv.prototype.un=Cv.prototype.v;Cv.prototype.unByKey=Cv.prototype.w;t("ol.source.StaticVector",bv);bv.prototype.addFeature=bv.prototype.Da;bv.prototype.addFeatures=bv.prototype.Ja;
bv.prototype.dispatchChangeEvent=bv.prototype.k;bv.prototype.forEachFeature=bv.prototype.La;bv.prototype.forEachFeatureInExtent=bv.prototype.oa;bv.prototype.getClosestFeatureToCoordinate=bv.prototype.Ma;bv.prototype.getExtent=bv.prototype.o;bv.prototype.getFeatures=bv.prototype.Ea;bv.prototype.getFeaturesAtCoordinate=bv.prototype.za;bv.prototype.getState=bv.prototype.a;bv.prototype.on=bv.prototype.t;bv.prototype.once=bv.prototype.u;bv.prototype.removeFeature=bv.prototype.Ra;bv.prototype.un=bv.prototype.v;
bv.prototype.unByKey=bv.prototype.w;t("ol.source.Tile",Qk);Qk.prototype.dispatchChangeEvent=Qk.prototype.k;Qk.prototype.getState=Qk.prototype.a;Qk.prototype.getTileGrid=Qk.prototype.pa;Qk.prototype.on=Qk.prototype.t;Qk.prototype.once=Qk.prototype.u;Qk.prototype.un=Qk.prototype.v;Qk.prototype.unByKey=Qk.prototype.w;t("ol.source.TileDebug",Fv);Fv.prototype.dispatchChangeEvent=Fv.prototype.k;Fv.prototype.getState=Fv.prototype.a;Fv.prototype.getTileGrid=Fv.prototype.pa;Fv.prototype.on=Fv.prototype.t;
Fv.prototype.once=Fv.prototype.u;Fv.prototype.un=Fv.prototype.v;Fv.prototype.unByKey=Fv.prototype.w;t("ol.source.TileImage",zu);zu.prototype.dispatchChangeEvent=zu.prototype.k;zu.prototype.getState=zu.prototype.a;zu.prototype.getTileGrid=zu.prototype.pa;zu.prototype.on=zu.prototype.t;zu.prototype.once=zu.prototype.u;zu.prototype.un=zu.prototype.v;zu.prototype.unByKey=zu.prototype.w;t("ol.source.TileJSON",Gv);Gv.prototype.dispatchChangeEvent=Gv.prototype.k;Gv.prototype.getState=Gv.prototype.a;
Gv.prototype.getTileGrid=Gv.prototype.pa;Gv.prototype.on=Gv.prototype.t;Gv.prototype.once=Gv.prototype.u;Gv.prototype.un=Gv.prototype.v;Gv.prototype.unByKey=Gv.prototype.w;t("ol.source.TileVector",Hv);Hv.prototype.dispatchChangeEvent=Hv.prototype.k;Hv.prototype.getFeaturesAtCoordinate=Hv.prototype.za;Hv.prototype.getState=Hv.prototype.a;Hv.prototype.on=Hv.prototype.t;Hv.prototype.once=Hv.prototype.u;Hv.prototype.un=Hv.prototype.v;Hv.prototype.unByKey=Hv.prototype.w;t("ol.source.TileWMS",Iv);
Iv.prototype.dispatchChangeEvent=Iv.prototype.k;Iv.prototype.getGetFeatureInfoUrl=Iv.prototype.eh;Iv.prototype.getParams=Iv.prototype.fh;Iv.prototype.getState=Iv.prototype.a;Iv.prototype.getTileGrid=Iv.prototype.pa;Iv.prototype.getUrls=Iv.prototype.Gf;Iv.prototype.on=Iv.prototype.t;Iv.prototype.once=Iv.prototype.u;Iv.prototype.un=Iv.prototype.v;Iv.prototype.unByKey=Iv.prototype.w;Iv.prototype.updateParams=Iv.prototype.hh;t("ol.source.TopoJSON",Mv);Mv.prototype.addFeature=Mv.prototype.Da;
Mv.prototype.addFeatures=Mv.prototype.Ja;Mv.prototype.dispatchChangeEvent=Mv.prototype.k;Mv.prototype.forEachFeature=Mv.prototype.La;Mv.prototype.forEachFeatureInExtent=Mv.prototype.oa;Mv.prototype.getClosestFeatureToCoordinate=Mv.prototype.Ma;Mv.prototype.getExtent=Mv.prototype.o;Mv.prototype.getFeatures=Mv.prototype.Ea;Mv.prototype.getFeaturesAtCoordinate=Mv.prototype.za;Mv.prototype.getState=Mv.prototype.a;Mv.prototype.on=Mv.prototype.t;Mv.prototype.once=Mv.prototype.u;
Mv.prototype.removeFeature=Mv.prototype.Ra;Mv.prototype.un=Mv.prototype.v;Mv.prototype.unByKey=Mv.prototype.w;t("ol.source.Vector",Jm);Jm.prototype.addFeature=Jm.prototype.Da;Jm.prototype.addFeatures=Jm.prototype.Ja;Jm.prototype.dispatchChangeEvent=Jm.prototype.k;Jm.prototype.forEachFeature=Jm.prototype.La;Jm.prototype.forEachFeatureInExtent=Jm.prototype.oa;Jm.prototype.getClosestFeatureToCoordinate=Jm.prototype.Ma;Jm.prototype.getExtent=Jm.prototype.o;Jm.prototype.getFeatures=Jm.prototype.Ea;
Jm.prototype.getFeaturesAtCoordinate=Jm.prototype.za;Jm.prototype.getState=Jm.prototype.a;Jm.prototype.on=Jm.prototype.t;Jm.prototype.once=Jm.prototype.u;Jm.prototype.removeFeature=Jm.prototype.Ra;Jm.prototype.un=Jm.prototype.v;Jm.prototype.unByKey=Jm.prototype.w;t("ol.source.WMTS",Qv);Qv.prototype.dispatchChangeEvent=Qv.prototype.k;Qv.prototype.getDimensions=Qv.prototype.g;Qv.prototype.getState=Qv.prototype.a;Qv.prototype.getTileGrid=Qv.prototype.pa;Qv.prototype.on=Qv.prototype.t;
Qv.prototype.once=Qv.prototype.u;Qv.prototype.un=Qv.prototype.v;Qv.prototype.unByKey=Qv.prototype.w;Qv.prototype.updateDimensions=Qv.prototype.h;
t("ol.source.WMTS.optionsFromCapabilities",function(a,b){var c=zb(a.contents.layers,function(a){return a.identifier==b}),d=c.tileMatrixSetLinks[0].tileMatrixSet,e=c.formats[0],f=Ab(c.styles,function(a){return a.isDefault});0>f&&(f=0);var f=c.styles[f].identifier,g={};wb(c.dimensions,function(a){var b=a.identifier,c=a["default"];s(c)||(c=a.values[0]);g[b]=c});var h=a.contents.tileMatrixSets[d],m=Ov(h),h=bi(h.supportedCRS),n=a.operationsMetadata.GetTile.dcp.http.get,p,q;switch(gc(n[0].constraints.GetEncoding.allowedValues)[0]){case "REST":case "RESTful":q=
"REST";p=c.resourceUrls.tile[e];break;case "KVP":q=Pv,p=[],wb(n,function(a){a.constraints.GetEncoding.allowedValues.hasOwnProperty(Pv)&&p.push(a.url)})}return{urls:p,layer:b,matrixSet:d,format:e,projection:h,requestEncoding:q,tileGrid:m,style:f,dimensions:g}});t("ol.source.XYZ",qv);qv.prototype.dispatchChangeEvent=qv.prototype.k;qv.prototype.getState=qv.prototype.a;qv.prototype.getTileGrid=qv.prototype.pa;qv.prototype.on=qv.prototype.t;qv.prototype.once=qv.prototype.u;qv.prototype.setUrl=qv.prototype.b;
qv.prototype.un=qv.prototype.v;qv.prototype.unByKey=qv.prototype.w;t("ol.source.Zoomify",Tv);Tv.prototype.dispatchChangeEvent=Tv.prototype.k;Tv.prototype.getState=Tv.prototype.a;Tv.prototype.getTileGrid=Tv.prototype.pa;Tv.prototype.on=Tv.prototype.t;Tv.prototype.once=Tv.prototype.u;Tv.prototype.un=Tv.prototype.v;Tv.prototype.unByKey=Tv.prototype.w;t("ol.sphere.WGS84",Zn);t("ol.style.Circle",Pi);Pi.prototype.getAnchor=Pi.prototype.jc;Pi.prototype.getFill=Pi.prototype.ih;Pi.prototype.getImage=Pi.prototype.qc;
Pi.prototype.getRadius=Pi.prototype.jh;Pi.prototype.getRotation=Pi.prototype.g;Pi.prototype.getScale=Pi.prototype.i;Pi.prototype.getSize=Pi.prototype.Ob;Pi.prototype.getStroke=Pi.prototype.kh;t("ol.style.Fill",Mi);Mi.prototype.getColor=Mi.prototype.d;t("ol.style.Icon",al);al.prototype.getAnchor=al.prototype.jc;al.prototype.getImage=al.prototype.qc;al.prototype.getRotation=al.prototype.g;al.prototype.getScale=al.prototype.i;al.prototype.getSize=al.prototype.Ob;al.prototype.getSrc=al.prototype.lh;
t("ol.style.Image",Ni);Ni.prototype.getRotation=Ni.prototype.g;Ni.prototype.getScale=Ni.prototype.i;t("ol.style.Stroke",Oi);Oi.prototype.getColor=Oi.prototype.mh;Oi.prototype.getLineCap=Oi.prototype.zf;Oi.prototype.getLineDash=Oi.prototype.nh;Oi.prototype.getLineJoin=Oi.prototype.Af;Oi.prototype.getMiterLimit=Oi.prototype.Bf;Oi.prototype.getWidth=Oi.prototype.oh;t("ol.style.Style",Qi);Qi.prototype.getFill=Qi.prototype.ph;Qi.prototype.getImage=Qi.prototype.qh;Qi.prototype.getStroke=Qi.prototype.rh;
Qi.prototype.getText=Qi.prototype.sh;Qi.prototype.getZIndex=Qi.prototype.If;t("ol.style.Text",Vv);Vv.prototype.getFill=Vv.prototype.th;Vv.prototype.getFont=Vv.prototype.vf;Vv.prototype.getRotation=Vv.prototype.uh;Vv.prototype.getScale=Vv.prototype.vh;Vv.prototype.getStroke=Vv.prototype.wh;Vv.prototype.getText=Vv.prototype.xh;Vv.prototype.getTextAlign=Vv.prototype.Df;Vv.prototype.getTextBaseline=Vv.prototype.Ef;t("ol.tilegrid.TileGrid",Jk);Jk.prototype.getMinZoom=Jk.prototype.Ic;
Jk.prototype.getOrigin=Jk.prototype.lb;Jk.prototype.getResolution=Jk.prototype.ga;Jk.prototype.getTileSize=Jk.prototype.la;t("ol.tilegrid.WMTS",Nv);Nv.prototype.getMatrixIds=Nv.prototype.i;Nv.prototype.getMinZoom=Nv.prototype.Ic;Nv.prototype.getOrigin=Nv.prototype.lb;Nv.prototype.getResolution=Nv.prototype.ga;Nv.prototype.getTileSize=Nv.prototype.la;t("ol.tilegrid.XYZ",Bu);Bu.prototype.getMinZoom=Bu.prototype.Ic;Bu.prototype.getOrigin=Bu.prototype.lb;Bu.prototype.getResolution=Bu.prototype.ga;
Bu.prototype.getTileSize=Bu.prototype.la;t("ol.tilegrid.Zoomify",Sv);Sv.prototype.getMinZoom=Sv.prototype.Ic;Sv.prototype.getOrigin=Sv.prototype.lb;Sv.prototype.getResolution=Sv.prototype.ga;Sv.prototype.getTileSize=Sv.prototype.la;t("ol.webgl.Context",Hn);Hn.prototype.getGL=Hn.prototype.yh;Hn.prototype.useProgram=Hn.prototype.Ad;})();