WordPress.org

Plugin Directory

Changeset 1819038


Ignore:
Timestamp:
02/09/18 13:45:57 (12 days ago)
Author:
bastho
Message:

Update OpenLayer to 4.6.4

Location:
event-post/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • event-post/trunk/css/openlayers.css

    r1357339 r1819038  
    1 .ol-control,.ol-scale-line{position:absolute;padding:2px}.ol-box{box-sizing:border-box;border-radius:2px;border:2px solid #00f}.ol-mouse-position{top:8px;right:8px;position:absolute}.ol-scale-line{background:rgba(0,60,136,.3);border-radius:4px;bottom:8px;left:8px}.ol-scale-line-inner{border:1px solid #eee;border-top:none;color:#eee;font-size:10px;text-align:center;margin:1px;will-change:contents,width}.ol-overlay-container{will-change:left,right,top,bottom}.ol-unsupported{display:none}.ol-viewport .ol-unselectable{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.ol-control{background-color:rgba(255,255,255,.4);border-radius:4px}.ol-control:hover{background-color:rgba(255,255,255,.6)}.ol-zoom{top:.5em;left:.5em}.ol-rotate{top:.5em;right:.5em;transition:opacity .25s linear,visibility 0s linear}.ol-rotate.ol-hidden{opacity:0;visibility:hidden;transition:opacity .25s linear,visibility 0s linear .25s}.ol-zoom-extent{top:4.643em;left:.5em}.ol-full-screen{right:.5em;top:.5em}@media print{.ol-control{display:none}}.ol-control button{display:block;margin:1px;padding:0;color:#fff;font-size:1.14em;font-weight:700;text-decoration:none;text-align:center;height:1.375em;width:1.375em;line-height:.4em;background-color:rgba(0,60,136,.5);border:none;border-radius:2px}.ol-control button::-moz-focus-inner{border:none;padding:0}.ol-zoom-extent button{line-height:1.4em}.ol-compass{display:block;font-weight:400;font-size:1.2em;will-change:transform}.ol-touch .ol-control button{font-size:1.5em}.ol-touch .ol-zoom-extent{top:5.5em}.ol-control button:focus,.ol-control button:hover{text-decoration:none;background-color:rgba(0,60,136,.7)}.ol-zoom .ol-zoom-in{border-radius:2px 2px 0 0}.ol-zoom .ol-zoom-out{border-radius:0 0 2px 2px}.ol-attribution{text-align:right;bottom:.5em;right:.5em;max-width:calc(100% - 1.3em)}.ol-attribution ul{margin:0;padding:0 .5em;font-size:.7rem;line-height:1.375em;color:#000;text-shadow:0 0 2px #fff}.ol-attribution li{display:inline;list-style:none;line-height:inherit}.ol-attribution li:not(:last-child):after{content:" "}.ol-attribution img{max-height:2em;max-width:inherit;vertical-align:middle}.ol-attribution button,.ol-attribution ul{display:inline-block}.ol-attribution.ol-collapsed ul{display:none}.ol-attribution.ol-logo-only ul{display:block}.ol-attribution:not(.ol-collapsed){background:rgba(255,255,255,.8)}.ol-attribution.ol-uncollapsible{bottom:0;right:0;border-radius:4px 0 0;height:1.1em;line-height:1em}.ol-attribution.ol-logo-only{background:0 0;bottom:.4em;height:1.1em;line-height:1em}.ol-attribution.ol-uncollapsible img{margin-top:-.2em;max-height:1.6em}.ol-attribution.ol-logo-only button,.ol-attribution.ol-uncollapsible button{display:none}.ol-zoomslider{top:4.5em;left:.5em;height:200px}.ol-zoomslider button{position:relative;height:10px}.ol-touch .ol-zoomslider{top:5.5em}.ol-overviewmap{left:.5em;bottom:.5em}.ol-overviewmap.ol-uncollapsible{bottom:0;left:0;border-radius:0 4px 0 0}.ol-overviewmap .ol-overviewmap-map,.ol-overviewmap button{display:inline-block}.ol-overviewmap .ol-overviewmap-map{border:1px solid #7b98bc;height:150px;margin:2px;width:150px}.ol-overviewmap:not(.ol-collapsed) button{bottom:1px;left:2px;position:absolute}.ol-overviewmap.ol-collapsed .ol-overviewmap-map,.ol-overviewmap.ol-uncollapsible button{display:none}.ol-overviewmap:not(.ol-collapsed){background:rgba(255,255,255,.8)}.ol-overviewmap-box{border:2px dotted rgba(0,60,136,.7)} 
     1.ol-box{box-sizing:border-box;border-radius:2px;border:2px solid #00f}.ol-mouse-position{top:8px;right:8px;position:absolute}.ol-scale-line{background:rgba(0,60,136,.3);border-radius:4px;bottom:8px;left:8px;padding:2px;position:absolute}.ol-scale-line-inner{border:1px solid #eee;border-top:none;color:#eee;font-size:10px;text-align:center;margin:1px;will-change:contents,width}.ol-overlay-container{will-change:left,right,top,bottom}.ol-unsupported{display:none}.ol-unselectable,.ol-viewport{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.ol-selectable{-webkit-touch-callout:default;-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.ol-grabbing{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.ol-grab{cursor:move;cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.ol-control{position:absolute;background-color:rgba(255,255,255,.4);border-radius:4px;padding:2px}.ol-control:hover{background-color:rgba(255,255,255,.6)}.ol-zoom{top:.5em;left:.5em}.ol-rotate{top:.5em;right:.5em;transition:opacity .25s linear,visibility 0s linear}.ol-rotate.ol-hidden{opacity:0;visibility:hidden;transition:opacity .25s linear,visibility 0s linear .25s}.ol-zoom-extent{top:4.643em;left:.5em}.ol-full-screen{right:.5em;top:.5em}@media print{.ol-control{display:none}}.ol-control button{display:block;margin:1px;padding:0;color:#fff;font-size:1.14em;font-weight:700;text-decoration:none;text-align:center;height:1.375em;width:1.375em;line-height:.4em;background-color:rgba(0,60,136,.5);border:none;border-radius:2px}.ol-control button::-moz-focus-inner{border:none;padding:0}.ol-zoom-extent button{line-height:1.4em}.ol-compass{display:block;font-weight:400;font-size:1.2em;will-change:transform}.ol-touch .ol-control button{font-size:1.5em}.ol-touch .ol-zoom-extent{top:5.5em}.ol-control button:focus,.ol-control button:hover{text-decoration:none;background-color:rgba(0,60,136,.7)}.ol-zoom .ol-zoom-in{border-radius:2px 2px 0 0}.ol-zoom .ol-zoom-out{border-radius:0 0 2px 2px}.ol-attribution{text-align:right;bottom:.5em;right:.5em;max-width:calc(100% - 1.3em)}.ol-attribution ul{margin:0;padding:0 .5em;font-size:.7rem;line-height:1.375em;color:#000;text-shadow:0 0 2px #fff}.ol-attribution li{display:inline;list-style:none;line-height:inherit}.ol-attribution li:not(:last-child):after{content:" "}.ol-attribution img{max-height:2em;max-width:inherit;vertical-align:middle}.ol-attribution button,.ol-attribution ul{display:inline-block}.ol-attribution.ol-collapsed ul{display:none}.ol-attribution.ol-logo-only ul{display:block}.ol-attribution:not(.ol-collapsed){background:rgba(255,255,255,.8)}.ol-attribution.ol-uncollapsible{bottom:0;right:0;border-radius:4px 0 0;height:1.1em;line-height:1em}.ol-attribution.ol-logo-only{background:0 0;bottom:.4em;height:1.1em;line-height:1em}.ol-attribution.ol-uncollapsible img{margin-top:-.2em;max-height:1.6em}.ol-attribution.ol-logo-only button,.ol-attribution.ol-uncollapsible button{display:none}.ol-zoomslider{top:4.5em;left:.5em;height:200px}.ol-zoomslider button{position:relative;height:10px}.ol-touch .ol-zoomslider{top:5.5em}.ol-overviewmap{left:.5em;bottom:.5em}.ol-overviewmap.ol-uncollapsible{bottom:0;left:0;border-radius:0 4px 0 0}.ol-overviewmap .ol-overviewmap-map,.ol-overviewmap button{display:inline-block}.ol-overviewmap .ol-overviewmap-map{border:1px solid #7b98bc;height:150px;margin:2px;width:150px}.ol-overviewmap:not(.ol-collapsed) button{bottom:1px;left:2px;position:absolute}.ol-overviewmap.ol-collapsed .ol-overviewmap-map,.ol-overviewmap.ol-uncollapsible button{display:none}.ol-overviewmap:not(.ol-collapsed){background:rgba(255,255,255,.8)}.ol-overviewmap-box{border:2px dotted rgba(0,60,136,.7)}.ol-overviewmap .ol-overviewmap-box:hover{cursor:move} 
  • event-post/trunk/js/OpenLayers.js

    r1357339 r1819038  
    1 // OpenLayers 3. See http://openlayers.org/ 
    2 // License: https://raw.githubusercontent.com/openlayers/ol3/master/LICENSE.md 
    3 // Version: v3.14.0 
    4  
    5 (function (root, factory) { 
     1// OpenLayers. See https://openlayers.org/ 
     2// License: https://raw.githubusercontent.com/openlayers/openlayers/master/LICENSE.md 
     3// Version: v4.6.4 
     4;(function (root, factory) { 
    65  if (typeof exports === "object") { 
    76    module.exports = factory(); 
     
    1312}(this, function () { 
    1413  var OPENLAYERS = {}; 
    15   var l,aa=this;function ba(a){return void 0!==a}function u(a,c,d){a=a.split(".");d=d||aa;a[0]in d||!d.execScript||d.execScript("var "+a[0]);for(var e;a.length&&(e=a.shift());)!a.length&&ba(c)?d[e]=c:d[e]?d=d[e]:d=d[e]={}}function ca(a){a.Zb=function(){return a.Jg?a.Jg:a.Jg=new a}} 
    16 function fa(a){var c=typeof a;if("object"==c)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return c;var d=Object.prototype.toString.call(a);if("[object Window]"==d)return"object";if("[object Array]"==d||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==d||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null"; 
    17 else if("function"==c&&"undefined"==typeof a.call)return"object";return c}function ga(a){return"array"==fa(a)}function ha(a){var c=fa(a);return"array"==c||"object"==c&&"number"==typeof a.length}function ia(a){return"string"==typeof a}function ja(a){return"number"==typeof a}function ka(a){return"function"==fa(a)}function la(a){var c=typeof a;return"object"==c&&null!=a||"function"==c}function x(a){return a[ma]||(a[ma]=++na)}var ma="closure_uid_"+(1E9*Math.random()>>>0),na=0; 
    18 function oa(a,c,d){return a.call.apply(a.bind,arguments)}function pa(a,c,d){if(!a)throw Error();if(2<arguments.length){var e=Array.prototype.slice.call(arguments,2);return function(){var d=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(d,e);return a.apply(c,d)}}return function(){return a.apply(c,arguments)}}function qa(a,c,d){qa=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?oa:pa;return qa.apply(null,arguments)} 
    19 function ra(a,c){var d=Array.prototype.slice.call(arguments,1);return function(){var c=d.slice();c.push.apply(c,arguments);return a.apply(this,c)}}var sa=Date.now||function(){return+new Date};function y(a,c){function d(){}d.prototype=c.prototype;a.ia=c.prototype;a.prototype=new d;a.prototype.constructor=a;a.gp=function(a,d,g){for(var h=Array(arguments.length-2),k=2;k<arguments.length;k++)h[k-2]=arguments[k];return c.prototype[d].apply(a,h)}};var ta,ua;function va(){};var wa;var xa=String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")};function ya(a){if(!za.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(Aa,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(Ba,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(Ca,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(Da,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(Ea,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(Fa,"&#0;"));return a} 
    20 var Aa=/&/g,Ba=/</g,Ca=/>/g,Da=/"/g,Ea=/'/g,Fa=/\x00/g,za=/[\x00&<>"']/,Ha=String.prototype.repeat?function(a,c){return a.repeat(c)}:function(a,c){return Array(c+1).join(a)};function Ia(a,c){var d=ba(c)?a.toFixed(c):String(a),e=d.indexOf(".");-1==e&&(e=d.length);return Ha("0",Math.max(0,2-e))+d} 
    21 function Ja(a,c){for(var d=0,e=xa(String(a)).split("."),f=xa(String(c)).split("."),g=Math.max(e.length,f.length),h=0;0==d&&h<g;h++){var k=e[h]||"",m=f[h]||"",n=RegExp("(\\d*)(\\D*)","g"),p=RegExp("(\\d*)(\\D*)","g");do{var q=n.exec(k)||["","",""],r=p.exec(m)||["","",""];if(0==q[0].length&&0==r[0].length)break;d=Ka(0==q[1].length?0:parseInt(q[1],10),0==r[1].length?0:parseInt(r[1],10))||Ka(0==q[2].length,0==r[2].length)||Ka(q[2],r[2])}while(0==d)}return d}function Ka(a,c){return a<c?-1:a>c?1:0};function La(a,c,d){return Math.min(Math.max(a,c),d)}var Ma=function(){var a;"cosh"in Math?a=Math.cosh:a=function(a){a=Math.exp(a);return(a+1/a)/2};return a}();function Na(a,c,d,e,f,g){var h=f-d,k=g-e;if(0!==h||0!==k){var m=((a-d)*h+(c-e)*k)/(h*h+k*k);1<m?(d=f,e=g):0<m&&(d+=h*m,e+=k*m)}return Pa(a,c,d,e)}function Pa(a,c,d,e){a=d-a;c=e-c;return a*a+c*c}function Qa(a){return a*Math.PI/180};function Ra(a){return function(c){if(c)return[La(c[0],a[0],a[2]),La(c[1],a[1],a[3])]}}function Sa(a){return a};function Ta(a,c){return a>c?1:a<c?-1:0}function Ua(a,c){return 0<=a.indexOf(c)}function Va(a,c,d){var e=a.length;if(a[0]<=c)return 0;if(!(c<=a[e-1]))if(0<d)for(d=1;d<e;++d){if(a[d]<c)return d-1}else if(0>d)for(d=1;d<e;++d){if(a[d]<=c)return d}else for(d=1;d<e;++d){if(a[d]==c)return d;if(a[d]<c)return a[d-1]-c<c-a[d]?d-1:d}return e-1}function Wa(a){return a.reduce(function(a,d){return ga(d)?a.concat(Wa(d)):a.concat(d)},[])} 
    22 function Xa(a,c){var d,e=ha(c)?c:[c],f=e.length;for(d=0;d<f;d++)a[a.length]=e[d]}function Ya(a,c){var d=a.indexOf(c),e=-1<d;e&&a.splice(d,1);return e}function Za(a,c){for(var d=a.length>>>0,e,f=0;f<d;f++)if(e=a[f],c(e,f,a))return e;return null}function bb(a,c){var d=a.length;if(d!==c.length)return!1;for(var e=0;e<d;e++)if(a[e]!==c[e])return!1;return!0} 
    23 function cb(a){var c=db,d=a.length,e=Array(a.length),f;for(f=0;f<d;f++)e[f]={index:f,value:a[f]};e.sort(function(a,d){return c(a.value,d.value)||a.index-d.index});for(f=0;f<a.length;f++)a[f]=e[f].value}function eb(a,c){var d;return a.every(function(e,f){d=f;return!c(e,f,a)})?-1:d};function fb(a){return function(c,d,e){if(void 0!==c)return c=Va(a,c,e),c=La(c+d,0,a.length-1),a[c]}}function gb(a,c,d){return function(e,f,g){if(void 0!==e)return e=Math.max(Math.floor(Math.log(c/e)/Math.log(a)+(0<g?0:0>g?1:.5))+f,0),void 0!==d&&(e=Math.min(e,d)),c/Math.pow(a,e)}};function hb(a){if(void 0!==a)return 0}function ib(a,c){if(void 0!==a)return a+c}function jb(a){var c=2*Math.PI/a;return function(a,e){if(void 0!==a)return a=Math.floor((a+e)/c+.5)*c}}function kb(){var a=Qa(5);return function(c,d){if(void 0!==c)return Math.abs(c+d)<=a?0:c+d}};function lb(a,c,d){this.center=a;this.resolution=c;this.rotation=d};var mb="function"===typeof Object.assign?Object.assign:function(a,c){if(void 0===a||null===a)throw new TypeError("Cannot convert undefined or null to object");for(var d=Object(a),e=1,f=arguments.length;e<f;++e){var g=arguments[e];if(void 0!==g&&null!==g)for(var h in g)g.hasOwnProperty(h)&&(d[h]=g[h])}return d};function nb(a){for(var c in a)delete a[c]}function ob(a){var c=[],d;for(d in a)c.push(a[d]);return c}function pb(a){for(var c in a)return!1;return!c};var qb="olm_"+(1E4*Math.random()|0);function rb(a){function c(c){c=a.listener.call(a.dg,c);a.fg&&sb(a);return c}return a.eg=c}function tb(a,c,d,e){for(var f,g=0,h=a.length;g<h;++g)if(f=a[g],f.listener===c&&f.dg===d)return e&&(f.deleteIndex=g),f}function ub(a,c){var d=a[qb];return d?d[c]:void 0}function vb(a){var c=a[qb];c||(c=a[qb]={});return c} 
    24 function wb(a,c){var d=ub(a,c);if(d){for(var e=0,f=d.length;e<f;++e)a.removeEventListener(c,d[e].eg),nb(d[e]);d.length=0;if(d=a[qb])delete d[c],0===Object.keys(d).length&&delete a[qb]}}function D(a,c,d,e,f){var g=vb(a),h=g[c];h||(h=g[c]=[]);(g=tb(h,d,e,!1))?f||(g.fg=!1):(g={dg:e,fg:!!f,listener:d,target:a,type:c},a.addEventListener(c,rb(g)),h.push(g));return g}function xb(a,c,d,e){return D(a,c,d,e,!0)}function yb(a,c,d,e){(a=ub(a,c))&&(d=tb(a,d,e,!0))&&sb(d)} 
    25 function sb(a){if(a&&a.target){a.target.removeEventListener(a.type,a.eg);var c=ub(a.target,a.type);if(c){var d="deleteIndex"in a?a.deleteIndex:c.indexOf(a);-1!==d&&c.splice(d,1);0===c.length&&wb(a.target,a.type)}nb(a)}};function zb(){0!=Ab&&(Bb[x(this)]=this);this.Ga=this.Ga;this.ua=this.ua}var Ab=0,Bb={};zb.prototype.Ga=!1;zb.prototype.Rd=function(){if(!this.Ga&&(this.Ga=!0,this.fa(),0!=Ab)){var a=x(this);delete Bb[a]}};function Cb(a,c){a.Ga?c.call(void 0):(a.ua||(a.ua=[]),a.ua.push(ba(void 0)?qa(c,void 0):c))}zb.prototype.fa=function(){if(this.ua)for(;this.ua.length;)this.ua.shift()()};function Db(a){a&&"function"==typeof a.Rd&&a.Rd()};function Eb(a,c){this.type=a;this.target=c}Eb.prototype.preventDefault=Eb.prototype.stopPropagation=function(){this.Jn=!0};function Fb(a){a.stopPropagation()}function Gb(a){a.preventDefault()};function Hb(){zb.call(this);this.ta={}}y(Hb,zb);Hb.prototype.addEventListener=function(a,c){var d=this.ta[a];d||(d=this.ta[a]=[]);-1===d.indexOf(c)&&d.unshift(c)};Hb.prototype.b=function(a){a="string"===typeof a?new Eb(a):a;var c=a.type;a.target=this;if(c=this.ta[c])for(var d=c.length-1;0<=d;--d)if(!1===c[d].call(this,a)||a.Jn)return!1};Hb.prototype.fa=function(){var a=vb(this),c;for(c in a)wb(this,c);Hb.ia.fa.call(this)};function Ib(a,c){return c?c in a.ta:0<Object.keys(a.ta).length} 
    26 Hb.prototype.removeEventListener=function(a,c){var d=this.ta[a];d&&(d.splice(d.indexOf(c),1),0===d.length&&delete this.ta[a])};function Jb(){Hb.call(this);this.g=0}y(Jb,Hb);function Kb(a){if(Array.isArray(a))for(var c=0,d=a.length;c<d;++c)sb(a[c]);else sb(a)}l=Jb.prototype;l.u=function(){++this.g;this.b("change")};l.L=function(){return this.g};l.I=function(a,c,d){if(Array.isArray(a)){for(var e=a.length,f=Array(e),g=0;g<e;++g)f[g]=D(this,a[g],c,d);return f}return D(this,a,c,d)};l.M=function(a,c,d){if(Array.isArray(a)){for(var e=a.length,f=Array(e),g=0;g<e;++g)f[g]=xb(this,a[g],c,d);return f}return xb(this,a,c,d)}; 
    27 l.K=function(a,c,d){if(Array.isArray(a))for(var e=0,f=a.length;e<f;++e)yb(this,a[e],c,d);else yb(this,a,c,d)};l.N=Kb;function Lb(a,c,d){Eb.call(this,a);this.key=c;this.oldValue=d}y(Lb,Eb);function Mb(a){Jb.call(this);x(this);this.T={};void 0!==a&&this.C(a)}y(Mb,Jb);var Nb={};function Ob(a){return Nb.hasOwnProperty(a)?Nb[a]:Nb[a]="change:"+a}l=Mb.prototype;l.get=function(a){var c;this.T.hasOwnProperty(a)&&(c=this.T[a]);return c};l.O=function(){return Object.keys(this.T)};l.P=function(){return mb({},this.T)};function Pb(a,c,d){var e;e=Ob(c);a.b(new Lb(e,c,d));a.b(new Lb("propertychange",c,d))} 
    28 l.set=function(a,c,d){d?this.T[a]=c:(d=this.T[a],this.T[a]=c,d!==c&&Pb(this,a,d))};l.C=function(a,c){for(var d in a)this.set(d,a[d],c)};l.R=function(a,c){if(a in this.T){var d=this.T[a];delete this.T[a];c||Pb(this,a,d)}};function Qb(a,c,d){void 0===d&&(d=[0,0]);d[0]=a[0]+2*c;d[1]=a[1]+2*c;return d}function Rb(a,c,d){void 0===d&&(d=[0,0]);d[0]=a[0]*c+.5|0;d[1]=a[1]*c+.5|0;return d}function Sb(a,c){if(ga(a))return a;void 0===c?c=[a,a]:(c[0]=a,c[1]=a);return c};var Tb=Array.prototype,Ub=Tb.indexOf?function(a,c,d){return Tb.indexOf.call(a,c,d)}:function(a,c,d){d=null==d?0:0>d?Math.max(0,a.length+d):d;if(ia(a))return ia(c)&&1==c.length?a.indexOf(c,d):-1;for(;d<a.length;d++)if(d in a&&a[d]===c)return d;return-1},Vb=Tb.forEach?function(a,c,d){Tb.forEach.call(a,c,d)}:function(a,c,d){for(var e=a.length,f=ia(a)?a.split(""):a,g=0;g<e;g++)g in f&&c.call(d,f[g],g,a)},Wb=Tb.filter?function(a,c,d){return Tb.filter.call(a,c,d)}:function(a,c,d){for(var e=a.length,f=[], 
    29 g=0,h=ia(a)?a.split(""):a,k=0;k<e;k++)if(k in h){var m=h[k];c.call(d,m,k,a)&&(f[g++]=m)}return f};function Xb(a){return Tb.concat.apply(Tb,arguments)}function Yb(a){var c=a.length;if(0<c){for(var d=Array(c),e=0;e<c;e++)d[e]=a[e];return d}return[]}function Zb(a,c,d){return 2>=arguments.length?Tb.slice.call(a,c):Tb.slice.call(a,c,d)};function $b(a,c){var d=a%c;return 0>d*c?d+c:d}function ac(a,c,d){return a+d*(c-a)};function bc(a,c){a[0]+=c[0];a[1]+=c[1];return a}function cc(a,c){var d=a[0],e=a[1],f=c[0],g=c[1],h=f[0],f=f[1],k=g[0],g=g[1],m=k-h,n=g-f,d=0===m&&0===n?0:(m*(d-h)+n*(e-f))/(m*m+n*n||0);0>=d||(1<=d?(h=k,f=g):(h+=d*m,f+=d*n));return[h,f]}function dc(a,c,d){a=$b(a+180,360)-180;var e=Math.abs(3600*a);d=d||0;return Math.floor(e/3600)+"\u00b0 "+Ia(Math.floor(e/60%60))+"\u2032 "+Ia(e%60,d)+"\u2033 "+c.charAt(0>a?1:0)} 
    30 function ec(a,c,d){return a?c.replace("{x}",a[0].toFixed(d)).replace("{y}",a[1].toFixed(d)):""}function fc(a,c){for(var d=!0,e=a.length-1;0<=e;--e)if(a[e]!=c[e]){d=!1;break}return d}function gc(a,c){var d=Math.cos(c),e=Math.sin(c),f=a[1]*d+a[0]*e;a[0]=a[0]*d-a[1]*e;a[1]=f;return a}function hc(a,c){var d=a[0]-c[0],e=a[1]-c[1];return d*d+e*e}function ic(a,c){return hc(a,cc(a,c))}function jc(a,c){return ec(a,"{x}, {y}",c)};function kc(a){this.length=a.length||a;for(var c=0;c<this.length;c++)this[c]=a[c]||0}kc.prototype.b=4;kc.prototype.set=function(a,c){c=c||0;for(var d=0;d<a.length&&c+d<this.length;d++)this[c+d]=a[d]};kc.prototype.toString=Array.prototype.join;"undefined"==typeof Float32Array&&(kc.BYTES_PER_ELEMENT=4,kc.prototype.BYTES_PER_ELEMENT=kc.prototype.b,kc.prototype.set=kc.prototype.set,kc.prototype.toString=kc.prototype.toString,u("Float32Array",kc,void 0));function lc(a){this.length=a.length||a;for(var c=0;c<this.length;c++)this[c]=a[c]||0}lc.prototype.b=8;lc.prototype.set=function(a,c){c=c||0;for(var d=0;d<a.length&&c+d<this.length;d++)this[c+d]=a[d]};lc.prototype.toString=Array.prototype.join;if("undefined"==typeof Float64Array){try{lc.BYTES_PER_ELEMENT=8}catch(a){}lc.prototype.BYTES_PER_ELEMENT=lc.prototype.b;lc.prototype.set=lc.prototype.set;lc.prototype.toString=lc.prototype.toString;u("Float64Array",lc,void 0)};function mc(a,c,d,e,f){a[0]=c;a[1]=d;a[2]=e;a[3]=f};function nc(){var a=Array(16);oc(a,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);return a}function pc(){var a=Array(16);oc(a,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);return a}function oc(a,c,d,e,f,g,h,k,m,n,p,q,r,t,v,w,A){a[0]=c;a[1]=d;a[2]=e;a[3]=f;a[4]=g;a[5]=h;a[6]=k;a[7]=m;a[8]=n;a[9]=p;a[10]=q;a[11]=r;a[12]=t;a[13]=v;a[14]=w;a[15]=A} 
    31 function qc(a,c){a[0]=c[0];a[1]=c[1];a[2]=c[2];a[3]=c[3];a[4]=c[4];a[5]=c[5];a[6]=c[6];a[7]=c[7];a[8]=c[8];a[9]=c[9];a[10]=c[10];a[11]=c[11];a[12]=c[12];a[13]=c[13];a[14]=c[14];a[15]=c[15]}function rc(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} 
    32 function sc(a,c,d){var e=a[0],f=a[1],g=a[2],h=a[3],k=a[4],m=a[5],n=a[6],p=a[7],q=a[8],r=a[9],t=a[10],v=a[11],w=a[12],A=a[13],B=a[14];a=a[15];var z=c[0],C=c[1],O=c[2],I=c[3],K=c[4],P=c[5],da=c[6],J=c[7],ea=c[8],Ga=c[9],$a=c[10],ab=c[11],Oa=c[12],Ec=c[13],Uc=c[14];c=c[15];d[0]=e*z+k*C+q*O+w*I;d[1]=f*z+m*C+r*O+A*I;d[2]=g*z+n*C+t*O+B*I;d[3]=h*z+p*C+v*O+a*I;d[4]=e*K+k*P+q*da+w*J;d[5]=f*K+m*P+r*da+A*J;d[6]=g*K+n*P+t*da+B*J;d[7]=h*K+p*P+v*da+a*J;d[8]=e*ea+k*Ga+q*$a+w*ab;d[9]=f*ea+m*Ga+r*$a+A*ab;d[10]=g* 
    33 ea+n*Ga+t*$a+B*ab;d[11]=h*ea+p*Ga+v*$a+a*ab;d[12]=e*Oa+k*Ec+q*Uc+w*c;d[13]=f*Oa+m*Ec+r*Uc+A*c;d[14]=g*Oa+n*Ec+t*Uc+B*c;d[15]=h*Oa+p*Ec+v*Uc+a*c} 
    34 function tc(a,c){var d=a[0],e=a[1],f=a[2],g=a[3],h=a[4],k=a[5],m=a[6],n=a[7],p=a[8],q=a[9],r=a[10],t=a[11],v=a[12],w=a[13],A=a[14],B=a[15],z=d*k-e*h,C=d*m-f*h,O=d*n-g*h,I=e*m-f*k,K=e*n-g*k,P=f*n-g*m,da=p*w-q*v,J=p*A-r*v,ea=p*B-t*v,Ga=q*A-r*w,$a=q*B-t*w,ab=r*B-t*A,Oa=z*ab-C*$a+O*Ga+I*ea-K*J+P*da;0!=Oa&&(Oa=1/Oa,c[0]=(k*ab-m*$a+n*Ga)*Oa,c[1]=(-e*ab+f*$a-g*Ga)*Oa,c[2]=(w*P-A*K+B*I)*Oa,c[3]=(-q*P+r*K-t*I)*Oa,c[4]=(-h*ab+m*ea-n*J)*Oa,c[5]=(d*ab-f*ea+g*J)*Oa,c[6]=(-v*P+A*O-B*C)*Oa,c[7]=(p*P-r*O+t*C)*Oa, 
    35 c[8]=(h*$a-k*ea+n*da)*Oa,c[9]=(-d*$a+e*ea-g*da)*Oa,c[10]=(v*K-w*O+B*z)*Oa,c[11]=(-p*K+q*O-t*z)*Oa,c[12]=(-h*Ga+k*J-m*da)*Oa,c[13]=(d*Ga-e*J+f*da)*Oa,c[14]=(-v*I+w*C-A*z)*Oa,c[15]=(p*I-q*C+r*z)*Oa)}function uc(a,c,d){var e=a[1]*c+a[5]*d+0*a[9]+a[13],f=a[2]*c+a[6]*d+0*a[10]+a[14],g=a[3]*c+a[7]*d+0*a[11]+a[15];a[12]=a[0]*c+a[4]*d+0*a[8]+a[12];a[13]=e;a[14]=f;a[15]=g} 
    36 function vc(a,c,d){oc(a,a[0]*c,a[1]*c,a[2]*c,a[3]*c,a[4]*d,a[5]*d,a[6]*d,a[7]*d,1*a[8],1*a[9],1*a[10],1*a[11],a[12],a[13],a[14],a[15])}function wc(a,c){var d=a[0],e=a[1],f=a[2],g=a[3],h=a[4],k=a[5],m=a[6],n=a[7],p=Math.cos(c),q=Math.sin(c);a[0]=d*p+h*q;a[1]=e*p+k*q;a[2]=f*p+m*q;a[3]=g*p+n*q;a[4]=d*-q+h*p;a[5]=e*-q+k*p;a[6]=f*-q+m*p;a[7]=g*-q+n*p}new Float64Array(3);new Float64Array(3);new Float64Array(4);new Float64Array(4);new Float64Array(4);new Float64Array(16);function xc(a){for(var c=yc(),d=0,e=a.length;d<e;++d)zc(c,a[d]);return c}function Ac(a,c,d){return d?(d[0]=a[0]-c,d[1]=a[1]-c,d[2]=a[2]+c,d[3]=a[3]+c,d):[a[0]-c,a[1]-c,a[2]+c,a[3]+c]}function Bc(a,c){return c?(c[0]=a[0],c[1]=a[1],c[2]=a[2],c[3]=a[3],c):a.slice()}function Cc(a,c,d){c=c<a[0]?a[0]-c:a[2]<c?c-a[2]:0;a=d<a[1]?a[1]-d:a[3]<d?d-a[3]:0;return c*c+a*a}function Dc(a,c){return Fc(a,c[0],c[1])}function Gc(a,c){return a[0]<=c[0]&&c[2]<=a[2]&&a[1]<=c[1]&&c[3]<=a[3]} 
    37 function Fc(a,c,d){return a[0]<=c&&c<=a[2]&&a[1]<=d&&d<=a[3]}function Hc(a,c){var d=a[1],e=a[2],f=a[3],g=c[0],h=c[1],k=0;g<a[0]?k=k|16:g>e&&(k=k|4);h<d?k|=8:h>f&&(k|=2);0===k&&(k=1);return k}function yc(){return[Infinity,Infinity,-Infinity,-Infinity]}function Ic(a,c,d,e,f){return f?(f[0]=a,f[1]=c,f[2]=d,f[3]=e,f):[a,c,d,e]}function Jc(a,c){var d=a[0],e=a[1];return Ic(d,e,d,e,c)}function Kc(a,c,d,e,f){f=Ic(Infinity,Infinity,-Infinity,-Infinity,f);return Lc(f,a,c,d,e)} 
    38 function Mc(a,c){return a[0]==c[0]&&a[2]==c[2]&&a[1]==c[1]&&a[3]==c[3]}function Nc(a,c){c[0]<a[0]&&(a[0]=c[0]);c[2]>a[2]&&(a[2]=c[2]);c[1]<a[1]&&(a[1]=c[1]);c[3]>a[3]&&(a[3]=c[3]);return a}function zc(a,c){c[0]<a[0]&&(a[0]=c[0]);c[0]>a[2]&&(a[2]=c[0]);c[1]<a[1]&&(a[1]=c[1]);c[1]>a[3]&&(a[3]=c[1])}function Lc(a,c,d,e,f){for(;d<e;d+=f){var g=a,h=c[d],k=c[d+1];g[0]=Math.min(g[0],h);g[1]=Math.min(g[1],k);g[2]=Math.max(g[2],h);g[3]=Math.max(g[3],k)}return a} 
    39 function Oc(a,c,d){var e;return(e=c.call(d,Pc(a)))||(e=c.call(d,Qc(a)))||(e=c.call(d,Rc(a)))?e:(e=c.call(d,Sc(a)))?e:!1}function Tc(a){var c=0;Vc(a)||(c=Wc(a)*Xc(a));return c}function Pc(a){return[a[0],a[1]]}function Qc(a){return[a[2],a[1]]}function Yc(a){return[(a[0]+a[2])/2,(a[1]+a[3])/2]} 
    40 function Zc(a,c,d,e,f){var g=c*e[0]/2;e=c*e[1]/2;c=Math.cos(d);var h=Math.sin(d);d=g*c;g*=h;c*=e;var k=e*h,m=a[0],n=a[1];a=m-d+k;e=m-d-k;h=m+d-k;d=m+d+k;var k=n-g-c,m=n-g+c,p=n+g+c,g=n+g-c;return Ic(Math.min(a,e,h,d),Math.min(k,m,p,g),Math.max(a,e,h,d),Math.max(k,m,p,g),f)}function Xc(a){return a[3]-a[1]}function $c(a,c,d){d=d?d:yc();ad(a,c)&&(d[0]=a[0]>c[0]?a[0]:c[0],d[1]=a[1]>c[1]?a[1]:c[1],d[2]=a[2]<c[2]?a[2]:c[2],d[3]=a[3]<c[3]?a[3]:c[3]);return d}function Sc(a){return[a[0],a[3]]} 
    41 function Rc(a){return[a[2],a[3]]}function Wc(a){return a[2]-a[0]}function ad(a,c){return a[0]<=c[2]&&a[2]>=c[0]&&a[1]<=c[3]&&a[3]>=c[1]}function Vc(a){return a[2]<a[0]||a[3]<a[1]}function bd(a,c){var d=(a[2]-a[0])/2*(c-1),e=(a[3]-a[1])/2*(c-1);a[0]-=d;a[2]+=d;a[1]-=e;a[3]+=e} 
    42 function cd(a,c,d){a=[a[0],a[1],a[0],a[3],a[2],a[1],a[2],a[3]];c(a,a,2);var e=[a[0],a[2],a[4],a[6]],f=[a[1],a[3],a[5],a[7]];c=Math.min.apply(null,e);a=Math.min.apply(null,f);e=Math.max.apply(null,e);f=Math.max.apply(null,f);return Ic(c,a,e,f,d)};function dd(a){return function(){return a}}var ed=dd(!1),fd=dd(!0),gd=dd(null);function hd(a){return a}function id(a){var c=arguments,d=c.length;return function(){for(var a,f=0;f<d;f++)a=c[f].apply(this,arguments);return a}}function jd(a){var c=arguments,d=c.length;return function(){for(var a=0;a<d;a++)if(!c[a].apply(this,arguments))return!1;return!0}};/* 
     14  var k,aa=this;function t(a,b){var c=OPENLAYERS;a=a.split(".");c=c||aa;a[0]in c||!c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===b?c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}:c[d]=b};var ba,da;function w(a,b){a.prototype=Object.create(b.prototype);a.prototype.constructor=a}function ea(){}function x(a){return a.xp||(a.xp=++fa)}var fa=0;function ha(a){this.message="Assertion failed. See https://openlayers.org/en/v4.6.4/doc/errors/#"+a+" for details.";this.code=a;this.name="AssertionError"}w(ha,Error);function ja(a,b,c,d){this.fa=a;this.la=b;this.ea=c;this.ka=d}function ka(a,b,c,d,e){return void 0!==e?(e.fa=a,e.la=b,e.ea=c,e.ka=d,e):new ja(a,b,c,d)}function ma(a,b,c){return a.fa<=b&&b<=a.la&&a.ea<=c&&c<=a.ka}function na(a,b){return a.fa==b.fa&&a.ea==b.ea&&a.la==b.la&&a.ka==b.ka};function oa(a,b){if(!a)throw new ha(b);};function pa(a,b,c){return Math.min(Math.max(a,b),c)}var qa=function(){var a;"cosh"in Math?a=Math.cosh:a=function(a){a=Math.exp(a);return(a+1/a)/2};return a}();function ra(a){oa(0<a,29);return Math.pow(2,Math.ceil(Math.log(a)/Math.LN2))}function sa(a,b,c,d,e,f){var g=e-c,h=f-d;if(0!==g||0!==h){var l=((a-c)*g+(b-d)*h)/(g*g+h*h);1<l?(c=e,d=f):0<l&&(c+=g*l,d+=h*l)}return ua(a,b,c,d)}function ua(a,b,c,d){a=c-a;b=d-b;return a*a+b*b}function va(a){return a*Math.PI/180} 
     15function wa(a,b){a%=b;return 0>a*b?a+b:a}function ya(a,b,c){return a+c*(b-a)};function za(a,b,c){void 0===c&&(c=[0,0]);c[0]=a[0]+2*b;c[1]=a[1]+2*b;return c}function Aa(a,b,c){void 0===c&&(c=[0,0]);c[0]=a[0]*b+.5|0;c[1]=a[1]*b+.5|0;return c}function Ba(a,b){if(Array.isArray(a))return a;void 0===b?b=[a,a]:b[0]=b[1]=a;return b};function Ca(a){for(var b=Da(),c=0,d=a.length;c<d;++c)Ea(b,a[c]);return b}function Fa(a,b,c){return 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 Ga(a,b){return b?(b[0]=a[0],b[1]=a[1],b[2]=a[2],b[3]=a[3],b):a.slice()}function Ha(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 Ja(a,b){return Ka(a,b[0],b[1])}function La(a,b){return a[0]<=b[0]&&b[2]<=a[2]&&a[1]<=b[1]&&b[3]<=a[3]} 
     16function Ka(a,b,c){return a[0]<=b&&b<=a[2]&&a[1]<=c&&c<=a[3]}function Ma(a,b){var c=a[1],d=a[2],e=a[3],f=b[0];b=b[1];var g=0;f<a[0]?g|=16:f>d&&(g|=4);b<c?g|=8:b>e&&(g|=2);0===g&&(g=1);return g}function Da(){return[Infinity,Infinity,-Infinity,-Infinity]}function Na(a,b,c,d,e){return e?(e[0]=a,e[1]=b,e[2]=c,e[3]=d,e):[a,b,c,d]}function Oa(a){return Na(Infinity,Infinity,-Infinity,-Infinity,a)}function Pa(a,b){var c=a[0];a=a[1];return Na(c,a,c,a,b)} 
     17function Qa(a,b,c,d,e){e=Oa(e);return Ra(e,a,b,c,d)}function Sa(a,b){return a[0]==b[0]&&a[2]==b[2]&&a[1]==b[1]&&a[3]==b[3]}function Ta(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 Ea(a,b){b[0]<a[0]&&(a[0]=b[0]);b[0]>a[2]&&(a[2]=b[0]);b[1]<a[1]&&(a[1]=b[1]);b[1]>a[3]&&(a[3]=b[1])} 
     18function Ra(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 Ua(a,b,c){var d;return(d=b.call(c,Wa(a)))||(d=b.call(c,Ya(a)))||(d=b.call(c,Za(a)))?d:(d=b.call(c,$a(a)))?d:!1}function ab(a){var b=0;bb(a)||(b=cb(a)*db(a));return b}function Wa(a){return[a[0],a[1]]}function Ya(a){return[a[2],a[1]]}function eb(a){return[(a[0]+a[2])/2,(a[1]+a[3])/2]} 
     19function fb(a,b,c,d,e){var f=b*d[0]/2;d=b*d[1]/2;b=Math.cos(c);var g=Math.sin(c);c=f*b;f*=g;b*=d;var h=d*g,l=a[0],m=a[1];a=l-c+h;d=l-c-h;g=l+c-h;c=l+c+h;h=m-f-b;l=m-f+b;var n=m+f+b;f=m+f-b;return Na(Math.min(a,d,g,c),Math.min(h,l,n,f),Math.max(a,d,g,c),Math.max(h,l,n,f),e)}function db(a){return a[3]-a[1]}function gb(a,b,c){c=c?c:Da();hb(a,b)&&(c[0]=a[0]>b[0]?a[0]:b[0],c[1]=a[1]>b[1]?a[1]:b[1],c[2]=a[2]<b[2]?a[2]:b[2],c[3]=a[3]<b[3]?a[3]:b[3]);return c}function $a(a){return[a[0],a[3]]} 
     20function Za(a){return[a[2],a[3]]}function cb(a){return a[2]-a[0]}function hb(a,b){return a[0]<=b[2]&&a[2]>=b[0]&&a[1]<=b[3]&&a[3]>=b[1]}function bb(a){return a[2]<a[0]||a[3]<a[1]}function ib(a,b){var c=(a[2]-a[0])/2*(b-1);b=(a[3]-a[1])/2*(b-1);a[0]-=c;a[2]+=c;a[1]-=b;a[3]+=b} 
     21function jb(a,b,c){a=[a[0],a[1],a[0],a[3],a[2],a[1],a[2],a[3]];b(a,a,2);var d=[a[0],a[2],a[4],a[6]],e=[a[1],a[3],a[5],a[7]];b=Math.min.apply(null,d);a=Math.min.apply(null,e);d=Math.max.apply(null,d);e=Math.max.apply(null,e);return Na(b,a,d,e,c)};var kb="function"===typeof Object.assign?Object.assign:function(a,b){if(void 0===a||null===a)throw new TypeError("Cannot convert undefined or null to object");for(var c=Object(a),d=1,e=arguments.length;d<e;++d){var f=arguments[d];if(void 0!==f&&null!==f)for(var g in f)f.hasOwnProperty(g)&&(c[g]=f[g])}return c};function lb(a){for(var b in a)delete a[b]}function mb(a){var b=[],c;for(c in a)b.push(a[c]);return b}function nb(a){for(var b in a)return!1;return!b};/* 
    4322 
    4423 Latitude/longitude spherical geodesy formulae taken from 
     
    4625 Licensed under CC-BY-3.0. 
    4726*/ 
    48 function kd(a){this.radius=a}kd.prototype.a=function(a){for(var c=0,d=a.length,e=a[d-1][0],f=a[d-1][1],g=0;g<d;g++)var h=a[g][0],k=a[g][1],c=c+Qa(h-e)*(2+Math.sin(Qa(f))+Math.sin(Qa(k))),e=h,f=k;return c*this.radius*this.radius/2};kd.prototype.b=function(a,c){var d=Qa(a[1]),e=Qa(c[1]),f=(e-d)/2,g=Qa(c[0]-a[0])/2,d=Math.sin(f)*Math.sin(f)+Math.sin(g)*Math.sin(g)*Math.cos(d)*Math.cos(e);return 2*this.radius*Math.atan2(Math.sqrt(d),Math.sqrt(1-d))}; 
    49 kd.prototype.offset=function(a,c,d){var e=Qa(a[1]);c/=this.radius;var f=Math.asin(Math.sin(e)*Math.cos(c)+Math.cos(e)*Math.sin(c)*Math.cos(d));return[180*(Qa(a[0])+Math.atan2(Math.sin(d)*Math.sin(c)*Math.cos(e),Math.cos(c)-Math.sin(e)*Math.sin(f)))/Math.PI,180*f/Math.PI]};var ld=new kd(6370997);var md={};md.degrees=2*Math.PI*ld.radius/360;md.ft=.3048;md.m=1;md["us-ft"]=1200/3937; 
    50 function nd(a){this.lb=a.code;this.a=a.units;this.c=void 0!==a.extent?a.extent:null;this.i=void 0!==a.worldExtent?a.worldExtent:null;this.f=void 0!==a.axisOrientation?a.axisOrientation:"enu";this.g=void 0!==a.global?a.global:!1;this.b=!(!this.g||!this.c);this.l=void 0!==a.getPointResolution?a.getPointResolution:this.Xj;this.j=null;this.o=a.metersPerUnit;var c=od,d=a.code,e=pd||aa.proj4;if("function"==typeof e&&void 0===c[d]){var f=e.defs(d);if(void 0!==f){void 0!==f.axis&&void 0===a.axisOrientation&& 
    51 (this.f=f.axis);void 0===a.metersPerUnit&&(this.o=f.to_meter);void 0===a.units&&(this.a=f.units);for(var g in c)c=e.defs(g),void 0!==c&&(a=qd(g),c===f?rd([a,this]):(c=e(g,d),sd(a,this,c.forward,c.inverse)))}}}l=nd.prototype;l.yj=function(){return this.lb};l.G=function(){return this.c};l.mm=function(){return this.a};l.$b=function(){return this.o||md[this.a]};l.hk=function(){return this.i};function td(a){return a.f}l.Tk=function(){return this.g};l.uo=function(a){this.g=a;this.b=!(!a||!this.c)}; 
    52 l.nm=function(a){this.c=a;this.b=!(!this.g||!a)};l.Co=function(a){this.i=a};l.to=function(a){this.l=a};l.Xj=function(a,c){if("degrees"==this.a)return a;var d=ud(this,qd("EPSG:4326")),e=[c[0]-a/2,c[1],c[0]+a/2,c[1],c[0],c[1]-a/2,c[0],c[1]+a/2],e=d(e,e,2),d=ld.b(e.slice(0,2),e.slice(2,4)),e=ld.b(e.slice(4,6),e.slice(6,8)),e=(d+e)/2,d=this.$b();void 0!==d&&(e/=d);return e};l.getPointResolution=function(a,c){return this.l(a,c)};var od={},vd={},pd=null; 
    53 function rd(a){wd(a);a.forEach(function(c){a.forEach(function(a){c!==a&&xd(c,a,yd)})})}function zd(){var a=Ad,c=Bd,d=Cd;Dd.forEach(function(e){a.forEach(function(a){xd(e,a,c);xd(a,e,d)})})}function Ed(a){od[a.lb]=a;xd(a,a,yd)}function wd(a){var c=[];a.forEach(function(a){c.push(Ed(a))})}function Fd(a){return a?"string"===typeof a?qd(a):a:qd("EPSG:3857")}function xd(a,c,d){a=a.lb;c=c.lb;a in vd||(vd[a]={});vd[a][c]=d}function sd(a,c,d,e){a=qd(a);c=qd(c);xd(a,c,Gd(d));xd(c,a,Gd(e))} 
    54 function Gd(a){return function(c,d,e){var f=c.length;e=void 0!==e?e:2;d=void 0!==d?d:Array(f);var g,h;for(h=0;h<f;h+=e)for(g=a([c[h],c[h+1]]),d[h]=g[0],d[h+1]=g[1],g=e-1;2<=g;--g)d[h+g]=c[h+g];return d}}function qd(a){var c;if(a instanceof nd)c=a;else if("string"===typeof a){c=od[a];var d=pd||aa.proj4;void 0===c&&"function"==typeof d&&void 0!==d.defs(a)&&(c=new nd({code:a}),Ed(c))}else c=null;return c}function Hd(a,c){if(a===c)return!0;var d=a.a===c.a;return a.lb===c.lb?d:ud(a,c)===yd&&d} 
    55 function Id(a,c){var d=qd(a),e=qd(c);return ud(d,e)}function ud(a,c){var d=a.lb,e=c.lb,f;d in vd&&e in vd[d]&&(f=vd[d][e]);void 0===f&&(f=Jd);return f}function Jd(a,c){if(void 0!==c&&a!==c){for(var d=0,e=a.length;d<e;++d)c[d]=a[d];a=c}return a}function yd(a,c){var d;if(void 0!==c){d=0;for(var e=a.length;d<e;++d)c[d]=a[d];d=c}else d=a.slice();return d}function Kd(a,c,d){return Id(c,d)(a,void 0,a.length)}function Ld(a,c,d){c=Id(c,d);return cd(a,c)};function Md(){Mb.call(this);this.A=yc();this.B=-1;this.j={};this.s=this.l=0}y(Md,Mb);l=Md.prototype;l.vb=function(a,c){var d=c?c:[NaN,NaN];this.sb(a[0],a[1],d,Infinity);return d};l.ig=function(a){return this.xc(a[0],a[1])};l.xc=ed;l.G=function(a){this.B!=this.g&&(this.A=this.Pd(this.A),this.B=this.g);var c=this.A;a?(a[0]=c[0],a[1]=c[1],a[2]=c[2],a[3]=c[3]):a=c;return a};l.Bb=function(a){return this.sd(a*a)};l.fb=function(a,c){this.Hc(Id(a,c));return this};function Nd(a,c,d,e,f,g){var h=f[0],k=f[1],m=f[4],n=f[5],p=f[12];f=f[13];for(var q=g?g:[],r=0;c<d;c+=e){var t=a[c],v=a[c+1];q[r++]=h*t+m*v+p;q[r++]=k*t+n*v+f}g&&q.length!=r&&(q.length=r);return q};function Od(){Md.call(this);this.f="XY";this.a=2;this.v=null}y(Od,Md);function Pd(a){if("XY"==a)return 2;if("XYZ"==a||"XYM"==a)return 3;if("XYZM"==a)return 4}l=Od.prototype;l.xc=ed;l.Pd=function(a){return Kc(this.v,0,this.v.length,this.a,a)};l.Kb=function(){return this.v.slice(0,this.a)};l.ha=function(){return this.v};l.Lb=function(){return this.v.slice(this.v.length-this.a)};l.Mb=function(){return this.f}; 
    56 l.sd=function(a){this.s!=this.g&&(nb(this.j),this.l=0,this.s=this.g);if(0>a||0!==this.l&&a<=this.l)return this;var c=a.toString();if(this.j.hasOwnProperty(c))return this.j[c];var d=this.Mc(a);if(d.ha().length<this.v.length)return this.j[c]=d;this.l=a;return this};l.Mc=function(){return this};l.qa=function(){return this.a};function Qd(a,c,d){a.a=Pd(c);a.f=c;a.v=d} 
    57 function Rd(a,c,d,e){if(c)d=Pd(c);else{for(c=0;c<e;++c){if(0===d.length){a.f="XY";a.a=2;return}d=d[0]}d=d.length;c=2==d?"XY":3==d?"XYZ":4==d?"XYZM":void 0}a.f=c;a.a=d}l.Hc=function(a){this.v&&(a(this.v,this.v,this.a),this.u())};l.Rc=function(a,c){var d=this.ha();if(d){var e=d.length,f=this.qa(),g=d?d:[],h=0,k,m;for(k=0;k<e;k+=f)for(g[h++]=d[k]+a,g[h++]=d[k+1]+c,m=k+2;m<k+f;++m)g[h++]=d[m];d&&g.length!=h&&(g.length=h);this.u()}};function Sd(a,c,d,e){for(var f=0,g=a[d-e],h=a[d-e+1];c<d;c+=e)var k=a[c],m=a[c+1],f=f+(h*k-g*m),g=k,h=m;return f/2}function Td(a,c,d,e){var f=0,g,h;g=0;for(h=d.length;g<h;++g){var k=d[g],f=f+Sd(a,c,k,e);c=k}return f};function Ud(a,c,d,e,f,g,h){var k=a[c],m=a[c+1],n=a[d]-k,p=a[d+1]-m;if(0!==n||0!==p)if(g=((f-k)*n+(g-m)*p)/(n*n+p*p),1<g)c=d;else if(0<g){for(f=0;f<e;++f)h[f]=ac(a[c+f],a[d+f],g);h.length=e;return}for(f=0;f<e;++f)h[f]=a[c+f];h.length=e}function Vd(a,c,d,e,f){var g=a[c],h=a[c+1];for(c+=e;c<d;c+=e){var k=a[c],m=a[c+1],g=Pa(g,h,k,m);g>f&&(f=g);g=k;h=m}return f}function Wd(a,c,d,e,f){var g,h;g=0;for(h=d.length;g<h;++g){var k=d[g];f=Vd(a,c,k,e,f);c=k}return f} 
    58 function Xd(a,c,d,e,f,g,h,k,m,n,p){if(c==d)return n;var q;if(0===f){q=Pa(h,k,a[c],a[c+1]);if(q<n){for(p=0;p<e;++p)m[p]=a[c+p];m.length=e;return q}return n}for(var r=p?p:[NaN,NaN],t=c+e;t<d;)if(Ud(a,t-e,t,e,h,k,r),q=Pa(h,k,r[0],r[1]),q<n){n=q;for(p=0;p<e;++p)m[p]=r[p];m.length=e;t+=e}else t+=e*Math.max((Math.sqrt(q)-Math.sqrt(n))/f|0,1);if(g&&(Ud(a,d-e,c,e,h,k,r),q=Pa(h,k,r[0],r[1]),q<n)){n=q;for(p=0;p<e;++p)m[p]=r[p];m.length=e}return n} 
    59 function Yd(a,c,d,e,f,g,h,k,m,n,p){p=p?p:[NaN,NaN];var q,r;q=0;for(r=d.length;q<r;++q){var t=d[q];n=Xd(a,c,t,e,f,g,h,k,m,n,p);c=t}return n};function Zd(a,c){var d=0,e,f;e=0;for(f=c.length;e<f;++e)a[d++]=c[e];return d}function $d(a,c,d,e){var f,g;f=0;for(g=d.length;f<g;++f){var h=d[f],k;for(k=0;k<e;++k)a[c++]=h[k]}return c}function ae(a,c,d,e,f){f=f?f:[];var g=0,h,k;h=0;for(k=d.length;h<k;++h)c=$d(a,c,d[h],e),f[g++]=c;f.length=g;return f};function be(a,c,d,e,f){f=void 0!==f?f:[];for(var g=0;c<d;c+=e)f[g++]=a.slice(c,c+e);f.length=g;return f}function ce(a,c,d,e,f){f=void 0!==f?f:[];var g=0,h,k;h=0;for(k=d.length;h<k;++h){var m=d[h];f[g++]=be(a,c,m,e,f[g]);c=m}f.length=g;return f};function de(a,c,d,e,f,g,h){var k=(d-c)/e;if(3>k){for(;c<d;c+=e)g[h++]=a[c],g[h++]=a[c+1];return h}var m=Array(k);m[0]=1;m[k-1]=1;d=[c,d-e];for(var n=0,p;0<d.length;){var q=d.pop(),r=d.pop(),t=0,v=a[r],w=a[r+1],A=a[q],B=a[q+1];for(p=r+e;p<q;p+=e){var z=Na(a[p],a[p+1],v,w,A,B);z>t&&(n=p,t=z)}t>f&&(m[(n-c)/e]=1,r+e<n&&d.push(r,n),n+e<q&&d.push(n,q))}for(p=0;p<k;++p)m[p]&&(g[h++]=a[c+p*e],g[h++]=a[c+p*e+1]);return h} 
    60 function ee(a,c,d,e,f,g,h,k){var m,n;m=0;for(n=d.length;m<n;++m){var p=d[m];a:{var q=a,r=p,t=e,v=f,w=g;if(c!=r){var A=v*Math.round(q[c]/v),B=v*Math.round(q[c+1]/v);c+=t;w[h++]=A;w[h++]=B;var z=void 0,C=void 0;do if(z=v*Math.round(q[c]/v),C=v*Math.round(q[c+1]/v),c+=t,c==r){w[h++]=z;w[h++]=C;break a}while(z==A&&C==B);for(;c<r;){var O,I;O=v*Math.round(q[c]/v);I=v*Math.round(q[c+1]/v);c+=t;if(O!=z||I!=C){var K=z-A,P=C-B,da=O-A,J=I-B;K*J==P*da&&(0>K&&da<K||K==da||0<K&&da>K)&&(0>P&&J<P||P==J||0<P&&J>P)|| 
    61 (w[h++]=z,w[h++]=C,A=z,B=C);z=O;C=I}}w[h++]=z;w[h++]=C}}k.push(h);c=p}return h};function fe(a,c){Od.call(this);this.c=this.o=-1;this.la(a,c)}y(fe,Od);l=fe.prototype;l.clone=function(){var a=new fe(null);ge(a,this.f,this.v.slice());return a};l.sb=function(a,c,d,e){if(e<Cc(this.G(),a,c))return e;this.c!=this.g&&(this.o=Math.sqrt(Vd(this.v,0,this.v.length,this.a,0)),this.c=this.g);return Xd(this.v,0,this.v.length,this.a,this.o,!0,a,c,d,e)};l.Ol=function(){return Sd(this.v,0,this.v.length,this.a)};l.Y=function(){return be(this.v,0,this.v.length,this.a)}; 
    62 l.Mc=function(a){var c=[];c.length=de(this.v,0,this.v.length,this.a,a,c,0);a=new fe(null);ge(a,"XY",c);return a};l.W=function(){return"LinearRing"};l.la=function(a,c){a?(Rd(this,c,a,1),this.v||(this.v=[]),this.v.length=$d(this.v,0,a,this.a),this.u()):ge(this,"XY",null)};function ge(a,c,d){Qd(a,c,d);a.u()};function E(a,c){Od.call(this);this.la(a,c)}y(E,Od);l=E.prototype;l.clone=function(){var a=new E(null);a.ba(this.f,this.v.slice());return a};l.sb=function(a,c,d,e){var f=this.v;a=Pa(a,c,f[0],f[1]);if(a<e){e=this.a;for(c=0;c<e;++c)d[c]=f[c];d.length=e;return a}return e};l.Y=function(){return this.v?this.v.slice():[]};l.Pd=function(a){return Jc(this.v,a)};l.W=function(){return"Point"};l.Ia=function(a){return Fc(a,this.v[0],this.v[1])}; 
    63 l.la=function(a,c){a?(Rd(this,c,a,0),this.v||(this.v=[]),this.v.length=Zd(this.v,a),this.u()):this.ba("XY",null)};l.ba=function(a,c){Qd(this,a,c);this.u()};function he(a,c,d,e,f){return!Oc(f,function(f){return!ie(a,c,d,e,f[0],f[1])})}function ie(a,c,d,e,f,g){for(var h=!1,k=a[d-e],m=a[d-e+1];c<d;c+=e){var n=a[c],p=a[c+1];m>g!=p>g&&f<(n-k)*(g-m)/(p-m)+k&&(h=!h);k=n;m=p}return h}function je(a,c,d,e,f,g){if(0===d.length||!ie(a,c,d[0],e,f,g))return!1;var h;c=1;for(h=d.length;c<h;++c)if(ie(a,d[c-1],d[c],e,f,g))return!1;return!0};function ke(a,c,d,e,f,g,h){var k,m,n,p,q,r=f[g+1],t=[],v=d[0];n=a[v-e];q=a[v-e+1];for(k=c;k<v;k+=e){p=a[k];m=a[k+1];if(r<=q&&m<=r||q<=r&&r<=m)n=(r-q)/(m-q)*(p-n)+n,t.push(n);n=p;q=m}v=NaN;q=-Infinity;t.sort(Ta);n=t[0];k=1;for(m=t.length;k<m;++k){p=t[k];var w=Math.abs(p-n);w>q&&(n=(n+p)/2,je(a,c,d,e,n,r)&&(v=n,q=w));n=p}isNaN(v)&&(v=f[g]);return h?(h.push(v,r),h):[v,r]};function le(a,c,d,e,f,g){for(var h=[a[c],a[c+1]],k=[],m;c+e<d;c+=e){k[0]=a[c+e];k[1]=a[c+e+1];if(m=f.call(g,h,k))return m;h[0]=k[0];h[1]=k[1]}return!1};function me(a,c,d,e,f){var g=Lc(yc(),a,c,d,e);return ad(f,g)?Gc(f,g)||g[0]>=f[0]&&g[2]<=f[2]||g[1]>=f[1]&&g[3]<=f[3]?!0:le(a,c,d,e,function(a,c){var d=!1,e=Hc(f,a),g=Hc(f,c);if(1===e||1===g)d=!0;else{var q=f[0],r=f[1],t=f[2],v=f[3],w=c[0],A=c[1],B=(A-a[1])/(w-a[0]);g&2&&!(e&2)&&(d=w-(A-v)/B,d=d>=q&&d<=t);d||!(g&4)||e&4||(d=A-(w-t)*B,d=d>=r&&d<=v);d||!(g&8)||e&8||(d=w-(A-r)/B,d=d>=q&&d<=t);d||!(g&16)||e&16||(d=A-(w-q)*B,d=d>=r&&d<=v)}return d}):!1} 
    64 function ne(a,c,d,e,f){var g=d[0];if(!(me(a,c,g,e,f)||ie(a,c,g,e,f[0],f[1])||ie(a,c,g,e,f[0],f[3])||ie(a,c,g,e,f[2],f[1])||ie(a,c,g,e,f[2],f[3])))return!1;if(1===d.length)return!0;c=1;for(g=d.length;c<g;++c)if(he(a,d[c-1],d[c],e,f))return!1;return!0};function oe(a,c,d,e){for(var f=0,g=a[d-e],h=a[d-e+1];c<d;c+=e)var k=a[c],m=a[c+1],f=f+(k-g)*(m+h),g=k,h=m;return 0<f}function pe(a,c,d,e){var f=0;e=void 0!==e?e:!1;var g,h;g=0;for(h=c.length;g<h;++g){var k=c[g],f=oe(a,f,k,d);if(0===g){if(e&&f||!e&&!f)return!1}else if(e&&!f||!e&&f)return!1;f=k}return!0} 
    65 function qe(a,c,d,e,f){f=void 0!==f?f:!1;var g,h;g=0;for(h=d.length;g<h;++g){var k=d[g],m=oe(a,c,k,e);if(0===g?f&&m||!f&&!m:f&&!m||!f&&m)for(var m=a,n=k,p=e;c<n-p;){var q;for(q=0;q<p;++q){var r=m[c+q];m[c+q]=m[n-p+q];m[n-p+q]=r}c+=p;n-=p}c=k}return c}function re(a,c,d,e){var f=0,g,h;g=0;for(h=c.length;g<h;++g)f=qe(a,f,c[g],d,e);return f};function F(a,c){Od.call(this);this.c=[];this.J=-1;this.D=null;this.U=this.H=this.S=-1;this.o=null;this.la(a,c)}y(F,Od);l=F.prototype;l.fj=function(a){this.v?Xa(this.v,a.ha()):this.v=a.ha().slice();this.c.push(this.v.length);this.u()};l.clone=function(){var a=new F(null);a.ba(this.f,this.v.slice(),this.c.slice());return a}; 
    66 l.sb=function(a,c,d,e){if(e<Cc(this.G(),a,c))return e;this.H!=this.g&&(this.S=Math.sqrt(Wd(this.v,0,this.c,this.a,0)),this.H=this.g);return Yd(this.v,0,this.c,this.a,this.S,!0,a,c,d,e)};l.xc=function(a,c){return je(this.Rb(),0,this.c,this.a,a,c)};l.Rl=function(){return Td(this.Rb(),0,this.c,this.a)};l.Y=function(a){var c;void 0!==a?(c=this.Rb().slice(),qe(c,0,this.c,this.a,a)):c=this.v;return ce(c,0,this.c,this.a)};l.Cb=function(){return this.c}; 
    67 function se(a){if(a.J!=a.g){var c=Yc(a.G());a.D=ke(a.Rb(),0,a.c,a.a,c,0);a.J=a.g}return a.D}l.Hj=function(){return new E(se(this))};l.Mj=function(){return this.c.length};l.xg=function(a){if(0>a||this.c.length<=a)return null;var c=new fe(null);ge(c,this.f,this.v.slice(0===a?0:this.c[a-1],this.c[a]));return c};l.Vd=function(){var a=this.f,c=this.v,d=this.c,e=[],f=0,g,h;g=0;for(h=d.length;g<h;++g){var k=d[g],m=new fe(null);ge(m,a,c.slice(f,k));e.push(m);f=k}return e}; 
    68 l.Rb=function(){if(this.U!=this.g){var a=this.v;pe(a,this.c,this.a)?this.o=a:(this.o=a.slice(),this.o.length=qe(this.o,0,this.c,this.a));this.U=this.g}return this.o};l.Mc=function(a){var c=[],d=[];c.length=ee(this.v,0,this.c,this.a,Math.sqrt(a),c,0,d);a=new F(null);a.ba("XY",c,d);return a};l.W=function(){return"Polygon"};l.Ia=function(a){return ne(this.Rb(),0,this.c,this.a,a)}; 
    69 l.la=function(a,c){if(a){Rd(this,c,a,2);this.v||(this.v=[]);var d=ae(this.v,0,a,this.a,this.c);this.v.length=0===d.length?0:d[d.length-1];this.u()}else this.ba("XY",null,this.c)};l.ba=function(a,c,d){Qd(this,a,c);this.c=d;this.u()};function te(a,c,d,e){var f=e?e:32;e=[];var g;for(g=0;g<f;++g)Xa(e,a.offset(c,d,2*Math.PI*g/f));e.push(e[0],e[1]);a=new F(null);a.ba("XY",e,[e.length]);return a} 
    70 function ue(a){var c=a[0],d=a[1],e=a[2];a=a[3];c=[c,d,c,a,e,a,e,d,c,d];d=new F(null);d.ba("XY",c,[c.length]);return d}function ve(a,c,d){var e=c?c:32,f=a.qa();c=a.f;for(var g=new F(null,c),e=f*(e+1),f=Array(e),h=0;h<e;h++)f[h]=0;g.ba(c,f,[f.length]);we(g,a.vd(),a.nf(),d);return g}function we(a,c,d,e){var f=a.ha(),g=a.f,h=a.qa(),k=a.Cb(),m=f.length/h-1;e=e?e:0;for(var n,p,q=0;q<=m;++q)p=q*h,n=e+2*$b(q,m)*Math.PI/m,f[p]=c[0]+d*Math.cos(n),f[p+1]=c[1]+d*Math.sin(n);a.ba(g,f,k)};function xe(a){Mb.call(this);a=a||{};this.f=[0,0];var c={};c.center=void 0!==a.center?a.center:null;this.i=Fd(a.projection);var d,e,f,g=void 0!==a.minZoom?a.minZoom:0;d=void 0!==a.maxZoom?a.maxZoom:28;var h=void 0!==a.zoomFactor?a.zoomFactor:2;if(void 0!==a.resolutions)d=a.resolutions,e=d[0],f=d[d.length-1],d=fb(d);else{e=Fd(a.projection);f=e.G();var k=(f?Math.max(Wc(f),Xc(f)):360*md.degrees/e.$b())/256/Math.pow(2,0),m=k/Math.pow(2,28);e=a.maxResolution;void 0!==e?g=0:e=k/Math.pow(h,g);f=a.minResolution; 
    71 void 0===f&&(f=void 0!==a.maxZoom?void 0!==a.maxResolution?e/Math.pow(h,d):k/Math.pow(h,d):m);d=g+Math.floor(Math.log(e/f)/Math.log(h));f=e/Math.pow(h,d-g);d=gb(h,e,d-g)}this.a=e;this.l=f;this.c=g;g=void 0!==a.extent?Ra(a.extent):Sa;(void 0!==a.enableRotation?a.enableRotation:1)?(e=a.constrainRotation,e=void 0===e||!0===e?kb():!1===e?ib:ja(e)?jb(e):ib):e=hb;this.j=new lb(g,d,e);void 0!==a.resolution?c.resolution=a.resolution:void 0!==a.zoom&&(c.resolution=this.constrainResolution(this.a,a.zoom-this.c)); 
    72 c.rotation=void 0!==a.rotation?a.rotation:0;this.C(c)}y(xe,Mb);l=xe.prototype;l.Qd=function(a){return this.j.center(a)};l.constrainResolution=function(a,c,d){return this.j.resolution(a,c||0,d||0)};l.constrainRotation=function(a,c){return this.j.rotation(a,c||0)};l.Wa=function(){return this.get("center")};l.bd=function(a){var c=this.Wa(),d=this.Z(),e=this.Ka();return Zc(c,d,e,a)};l.yl=function(){return this.i};l.Z=function(){return this.get("resolution")}; 
    73 function ye(a){var c=a.a,d=Math.log(c/a.l)/Math.log(2);return function(a){return c/Math.pow(2,a*d)}}l.Ka=function(){return this.get("rotation")};function ze(a){var c=a.a,d=Math.log(c/a.l)/Math.log(2);return function(a){return Math.log(c/a)/Math.log(2)/d}}l.V=function(){var a=this.Wa(),c=this.i,d=this.Z(),e=this.Ka();return{center:[Math.round(a[0]/d)*d,Math.round(a[1]/d)*d],projection:void 0!==c?c:null,resolution:d,rotation:e}}; 
    74 l.ik=function(){var a,c=this.Z();if(void 0!==c){var d,e=0;do{d=this.constrainResolution(this.a,e);if(d==c){a=e;break}++e}while(d>this.l)}return void 0!==a?this.c+a:a}; 
    75 l.Ye=function(a,c,d){a instanceof Od||(a=ue(a));var e=d||{};d=void 0!==e.padding?e.padding:[0,0,0,0];var f=void 0!==e.constrainResolution?e.constrainResolution:!0,g=void 0!==e.nearest?e.nearest:!1,h;void 0!==e.minResolution?h=e.minResolution:void 0!==e.maxZoom?h=this.constrainResolution(this.a,e.maxZoom-this.c,0):h=0;var k=a.ha(),m=this.Ka(),e=Math.cos(-m),m=Math.sin(-m),n=Infinity,p=Infinity,q=-Infinity,r=-Infinity;a=a.qa();for(var t=0,v=k.length;t<v;t+=a)var w=k[t]*e-k[t+1]*m,A=k[t]*m+k[t+1]*e, 
    76 n=Math.min(n,w),p=Math.min(p,A),q=Math.max(q,w),r=Math.max(r,A);k=[n,p,q,r];c=[c[0]-d[1]-d[3],c[1]-d[0]-d[2]];c=Math.max(Wc(k)/c[0],Xc(k)/c[1]);c=isNaN(c)?h:Math.max(c,h);f&&(h=this.constrainResolution(c,0,0),!g&&h<c&&(h=this.constrainResolution(h,-1,0)),c=h);this.Vb(c);m=-m;g=(n+q)/2+(d[1]-d[3])/2*c;d=(p+r)/2+(d[0]-d[2])/2*c;this.mb([g*e-d*m,d*e+g*m])}; 
    77 l.lj=function(a,c,d){var e=this.Ka(),f=Math.cos(-e),e=Math.sin(-e),g=a[0]*f-a[1]*e;a=a[1]*f+a[0]*e;var h=this.Z(),g=g+(c[0]/2-d[0])*h;a+=(d[1]-c[1]/2)*h;e=-e;this.mb([g*f-a*e,a*f+g*e])};function Ae(a){return!!a.Wa()&&void 0!==a.Z()}l.rotate=function(a,c){if(void 0!==c){var d,e=this.Wa();void 0!==e&&(d=[e[0]-c[0],e[1]-c[1]],gc(d,a-this.Ka()),bc(d,c));this.mb(d)}this.ke(a)};l.mb=function(a){this.set("center",a)};function Be(a,c){a.f[1]+=c}l.Vb=function(a){this.set("resolution",a)}; 
    78 l.ke=function(a){this.set("rotation",a)};l.Do=function(a){a=this.constrainResolution(this.a,a-this.c,0);this.Vb(a)};function Ce(a){return Math.pow(a,3)}function De(a){return 1-Ce(1-a)}function Ee(a){return 3*a*a-2*a*a*a}function Fe(a){return a}function Ge(a){return.5>a?Ee(2*a):1-Ee(2*(a-.5))};function He(a){var c=a.source,d=a.start?a.start:Date.now(),e=c[0],f=c[1],g=void 0!==a.duration?a.duration:1E3,h=a.easing?a.easing:Ee;return function(a,c){if(c.time<d)return c.animate=!0,c.viewHints[0]+=1,!0;if(c.time<d+g){var n=1-h((c.time-d)/g),p=e-c.viewState.center[0],q=f-c.viewState.center[1];c.animate=!0;c.viewState.center[0]+=n*p;c.viewState.center[1]+=n*q;c.viewHints[0]+=1;return!0}return!1}} 
    79 function Ie(a){var c=a.rotation?a.rotation:0,d=a.start?a.start:Date.now(),e=void 0!==a.duration?a.duration:1E3,f=a.easing?a.easing:Ee,g=a.anchor?a.anchor:null;return function(a,k){if(k.time<d)return k.animate=!0,k.viewHints[0]+=1,!0;if(k.time<d+e){var m=1-f((k.time-d)/e),m=(c-k.viewState.rotation)*m;k.animate=!0;k.viewState.rotation+=m;if(g){var n=k.viewState.center;n[0]-=g[0];n[1]-=g[1];gc(n,m);bc(n,g)}k.viewHints[0]+=1;return!0}return!1}} 
    80 function Je(a){var c=a.resolution,d=a.start?a.start:Date.now(),e=void 0!==a.duration?a.duration:1E3,f=a.easing?a.easing:Ee;return function(a,h){if(h.time<d)return h.animate=!0,h.viewHints[0]+=1,!0;if(h.time<d+e){var k=1-f((h.time-d)/e),m=c-h.viewState.resolution;h.animate=!0;h.viewState.resolution+=k*m;h.viewHints[0]+=1;return!0}return!1}};function Ke(a,c,d,e){return void 0!==e?(e[0]=a,e[1]=c,e[2]=d,e):[a,c,d]}function Le(a){var c=a[0],d=Array(c),e=1<<c-1,f,g;for(f=0;f<c;++f)g=48,a[1]&e&&(g+=1),a[2]&e&&(g+=2),d[f]=String.fromCharCode(g),e>>=1;return d.join("")};function Me(a,c,d,e){this.ra=a;this.va=c;this.xa=d;this.Aa=e}Me.prototype.contains=function(a){return Ne(this,a[1],a[2])};function Ne(a,c,d){return a.ra<=c&&c<=a.va&&a.xa<=d&&d<=a.Aa}function Oe(a,c){return a.ra==c.ra&&a.xa==c.xa&&a.va==c.va&&a.Aa==c.Aa}function Pe(a,c){return a.ra<=c.va&&a.va>=c.ra&&a.xa<=c.Aa&&a.Aa>=c.xa};function Qe(a){this.a=a.html;this.b=a.tileRanges?a.tileRanges:null}Qe.prototype.g=function(){return this.a};function Re(a,c,d){Eb.call(this,a,d);this.element=c}y(Re,Eb);function Se(a){Mb.call(this);this.a=a?a:[];Te(this)}y(Se,Mb);l=Se.prototype;l.clear=function(){for(;0<this.ac();)this.pop()};l.jf=function(a){var c,d;c=0;for(d=a.length;c<d;++c)this.push(a[c]);return this};l.forEach=function(a,c){this.a.forEach(a,c)};l.il=function(){return this.a};l.item=function(a){return this.a[a]};l.ac=function(){return this.get("length")};l.de=function(a,c){this.a.splice(a,0,c);Te(this);this.b(new Re("add",c,this))}; 
    81 l.pop=function(){return this.If(this.ac()-1)};l.push=function(a){var c=this.a.length;this.de(c,a);return c};l.remove=function(a){var c=this.a,d,e;d=0;for(e=c.length;d<e;++d)if(c[d]===a)return this.If(d)};l.If=function(a){var c=this.a[a];this.a.splice(a,1);Te(this);this.b(new Re("remove",c,this));return c};l.qo=function(a,c){var d=this.ac();if(a<d)d=this.a[a],this.a[a]=c,this.b(new Re("remove",d,this)),this.b(new Re("add",c,this));else{for(;d<a;++d)this.de(d,void 0);this.de(a,c)}}; 
    82 function Te(a){a.set("length",a.a.length)};var Ue=/^#(?:[0-9a-f]{3}){1,2}$/i,Ve=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i,We=/^(?: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 Xe(a){return ga(a)?a:Ye(a)}function Ze(a){if("string"!==typeof a){var c=a[0];c!=(c|0)&&(c=c+.5|0);var d=a[1];d!=(d|0)&&(d=d+.5|0);var e=a[2];e!=(e|0)&&(e=e+.5|0);a="rgba("+c+","+d+","+e+","+a[3]+")"}return a} 
    83 var Ye=function(){var a={},c=0;return function(d){var e;if(a.hasOwnProperty(d))e=a[d];else{if(1024<=c){e=0;for(var f in a)0===(e++&3)&&(delete a[f],--c)}var g,h;Ue.exec(d)?(h=3==d.length-1?1:2,e=parseInt(d.substr(1+0*h,h),16),f=parseInt(d.substr(1+1*h,h),16),g=parseInt(d.substr(1+2*h,h),16),1==h&&(e=(e<<4)+e,f=(f<<4)+f,g=(g<<4)+g),e=[e,f,g,1]):(h=We.exec(d))?(e=Number(h[1]),f=Number(h[2]),g=Number(h[3]),h=Number(h[4]),e=[e,f,g,h],e=$e(e,e)):(h=Ve.exec(d))?(e=Number(h[1]),f=Number(h[2]),g=Number(h[3]), 
    84 e=[e,f,g,1],e=$e(e,e)):e=void 0;a[d]=e;++c}return e}}();function $e(a,c){var d=c||[];d[0]=La(a[0]+.5|0,0,255);d[1]=La(a[1]+.5|0,0,255);d[2]=La(a[2]+.5|0,0,255);d[3]=La(a[3],0,1);return d};function af(a){return"string"===typeof a||a instanceof CanvasPattern||a instanceof CanvasGradient?a:Ze(a)};var bf;a:{var cf=aa.navigator;if(cf){var df=cf.userAgent;if(df){bf=df;break a}}bf=""}function ef(a){return-1!=bf.indexOf(a)};function ff(a,c){for(var d in a)c.call(void 0,a[d],d,a)}var gf="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function hf(a,c){for(var d,e,f=1;f<arguments.length;f++){e=arguments[f];for(d in e)a[d]=e[d];for(var g=0;g<gf.length;g++)d=gf[g],Object.prototype.hasOwnProperty.call(e,d)&&(a[d]=e[d])}};var jf=ef("Opera")||ef("OPR"),kf=ef("Trident")||ef("MSIE"),lf=ef("Edge"),mf=ef("Gecko")&&!(-1!=bf.toLowerCase().indexOf("webkit")&&!ef("Edge"))&&!(ef("Trident")||ef("MSIE"))&&!ef("Edge"),nf=-1!=bf.toLowerCase().indexOf("webkit")&&!ef("Edge");function of(){var a=bf;if(mf)return/rv\:([^\);]+)(\)|;)/.exec(a);if(lf)return/Edge\/([\d\.]+)/.exec(a);if(kf)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(nf)return/WebKit\/(\S+)/.exec(a)}function pf(){var a=aa.document;return a?a.documentMode:void 0} 
    85 var qf=function(){if(jf&&aa.opera){var a;var c=aa.opera.version;try{a=c()}catch(d){a=c}return a}a="";(c=of())&&(a=c?c[1]:"");return kf&&(c=pf(),c>parseFloat(a))?String(c):a}(),rf={};function sf(a){return rf[a]||(rf[a]=0<=Ja(qf,a))}var tf=aa.document,uf=tf&&kf?pf()||("CSS1Compat"==tf.compatMode?parseInt(qf,10):5):void 0;var vf=!kf||9<=uf;!mf&&!kf||kf&&9<=uf||mf&&sf("1.9.1");kf&&sf("9");function wf(a,c){this.x=ba(a)?a:0;this.y=ba(c)?c:0}l=wf.prototype;l.clone=function(){return new wf(this.x,this.y)};l.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};l.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};l.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};l.scale=function(a,c){var d=ja(c)?c:a;this.x*=a;this.y*=d;return this};function xf(a,c){this.width=a;this.height=c}l=xf.prototype;l.clone=function(){return new xf(this.width,this.height)};l.ij=function(){return this.width*this.height};l.Oa=function(){return!this.ij()};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}; 
    86 l.scale=function(a,c){var d=ja(c)?c:a;this.width*=a;this.height*=d;return this};function yf(a){return a?new zf(Af(a)):wa||(wa=new zf)}function Bf(a){var c=document;return ia(a)?c.getElementById(a):a}function Cf(a,c){ff(c,function(c,e){"style"==e?a.style.cssText=c:"class"==e?a.className=c:"for"==e?a.htmlFor=c:Df.hasOwnProperty(e)?a.setAttribute(Df[e],c):0==e.lastIndexOf("aria-",0)||0==e.lastIndexOf("data-",0)?a.setAttribute(e,c):a[e]=c})} 
    87 var Df={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"}; 
    88 function Ef(a,c,d){var e=arguments,f=document,g=e[0],h=e[1];if(!vf&&h&&(h.name||h.type)){g=["<",g];h.name&&g.push(' name="',ya(h.name),'"');if(h.type){g.push(' type="',ya(h.type),'"');var k={};hf(k,h);delete k.type;h=k}g.push(">");g=g.join("")}g=f.createElement(g);h&&(ia(h)?g.className=h:ga(h)?g.className=h.join(" "):Cf(g,h));2<e.length&&Ff(f,g,e);return g} 
    89 function Ff(a,c,d){function e(d){d&&c.appendChild(ia(d)?a.createTextNode(d):d)}for(var f=2;f<d.length;f++){var g=d[f];!ha(g)||la(g)&&0<g.nodeType?e(g):Vb(Gf(g)?Yb(g):g,e)}}function Hf(a){for(var c;c=a.firstChild;)a.removeChild(c)}function If(a,c,d){a.insertBefore(c,a.childNodes[d]||null)}function Jf(a){a&&a.parentNode&&a.parentNode.removeChild(a)}function Kf(a,c){var d=c.parentNode;d&&d.replaceChild(a,c)} 
    90 function Lf(a){if(ba(a.firstElementChild))a=a.firstElementChild;else for(a=a.firstChild;a&&1!=a.nodeType;)a=a.nextSibling;return a}function Mf(a,c){if(a.contains&&1==c.nodeType)return a==c||a.contains(c);if("undefined"!=typeof a.compareDocumentPosition)return a==c||Boolean(a.compareDocumentPosition(c)&16);for(;c&&a!=c;)c=c.parentNode;return c==a}function Af(a){return 9==a.nodeType?a:a.ownerDocument||a.document} 
    91 function Gf(a){if(a&&"number"==typeof a.length){if(la(a))return"function"==typeof a.item||"string"==typeof a.item;if(ka(a))return"function"==typeof a.item}return!1}function zf(a){this.b=a||aa.document||document}zf.prototype.C=Cf;function Nf(){return!0}zf.prototype.appendChild=function(a,c){a.appendChild(c)};zf.prototype.contains=Mf;function Of(a){if(a.classList)return a.classList;a=a.className;return ia(a)&&a.match(/\S+/g)||[]}function Pf(a,c){var d;a.classList?d=a.classList.contains(c):(d=Of(a),d=0<=Ub(d,c));return d}function Qf(a,c){a.classList?a.classList.add(c):Pf(a,c)||(a.className+=0<a.className.length?" "+c:c)}function Rf(a,c){a.classList?a.classList.remove(c):Pf(a,c)&&(a.className=Wb(Of(a),function(a){return a!=c}).join(" "))}function Sf(a,c){Pf(a,c)?Rf(a,c):Qf(a,c)};function Tf(a,c,d,e){this.top=a;this.right=c;this.bottom=d;this.left=e}l=Tf.prototype;l.clone=function(){return new Tf(this.top,this.right,this.bottom,this.left)};l.contains=function(a){return this&&a?a instanceof Tf?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}; 
    92 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}; 
    93 l.scale=function(a,c){var d=ja(c)?c:a;this.left*=a;this.right*=a;this.top*=d;this.bottom*=d;return this};function Uf(a,c,d,e){this.left=a;this.top=c;this.width=d;this.height=e}l=Uf.prototype;l.clone=function(){return new Uf(this.left,this.top,this.width,this.height)};l.contains=function(a){return a instanceof Uf?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}; 
    94 l.distance=function(a){var c=a.x<this.left?this.left-a.x:Math.max(a.x-(this.left+this.width),0);a=a.y<this.top?this.top-a.y:Math.max(a.y-(this.top+this.height),0);return Math.sqrt(c*c+a*a)};l.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};l.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this}; 
    95 l.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};l.scale=function(a,c){var d=ja(c)?c:a;this.left*=a;this.width*=a;this.top*=d;this.height*=d;return this};function Vf(a,c){var d=Af(a);return d.defaultView&&d.defaultView.getComputedStyle&&(d=d.defaultView.getComputedStyle(a,null))?d[c]||d.getPropertyValue(c)||"":""}function Wf(a,c,d){var e;c instanceof wf?(e=c.x,c=c.y):(e=c,c=d);a.style.left=Xf(e);a.style.top=Xf(c)} 
    96 function Yf(a){var c;try{c=a.getBoundingClientRect()}catch(d){return{left:0,top:0,right:0,bottom:0}}kf&&a.ownerDocument.body&&(a=a.ownerDocument,c.left-=a.documentElement.clientLeft+a.body.clientLeft,c.top-=a.documentElement.clientTop+a.body.clientTop);return c}function Zf(a){if(1==a.nodeType)return a=Yf(a),new wf(a.left,a.top);a=a.changedTouches?a.changedTouches[0]:a;return new wf(a.clientX,a.clientY)}function Xf(a){"number"==typeof a&&(a=a+"px");return a} 
    97 function $f(a){var c=ag;if("none"!=(Vf(a,"display")||(a.currentStyle?a.currentStyle.display:null)||a.style&&a.style.display))return c(a);var d=a.style,e=d.display,f=d.visibility,g=d.position;d.visibility="hidden";d.position="absolute";d.display="inline";a=c(a);d.display=e;d.position=g;d.visibility=f;return a}function ag(a){var c=a.offsetWidth,d=a.offsetHeight,e=nf&&!c&&!d;return ba(c)&&!e||!a.getBoundingClientRect?new xf(c,d):(a=Yf(a),new xf(a.right-a.left,a.bottom-a.top))} 
    98 function bg(a,c){a.style.display=c?"":"none"}function cg(a,c,d,e){if(/^\d+px?$/.test(c))return parseInt(c,10);var f=a.style[d],g=a.runtimeStyle[d];a.runtimeStyle[d]=a.currentStyle[d];a.style[d]=c;c=a.style[e];a.style[d]=f;a.runtimeStyle[d]=g;return c}function dg(a,c){var d=a.currentStyle?a.currentStyle[c]:null;return d?cg(a,d,"left","pixelLeft"):0} 
    99 function eg(a,c){if(kf){var d=dg(a,c+"Left"),e=dg(a,c+"Right"),f=dg(a,c+"Top"),g=dg(a,c+"Bottom");return new Tf(f,e,g,d)}d=Vf(a,c+"Left");e=Vf(a,c+"Right");f=Vf(a,c+"Top");g=Vf(a,c+"Bottom");return new Tf(parseFloat(f),parseFloat(e),parseFloat(g),parseFloat(d))}var fg={thin:2,medium:4,thick:6};function gg(a,c){if("none"==(a.currentStyle?a.currentStyle[c+"Style"]:null))return 0;var d=a.currentStyle?a.currentStyle[c+"Width"]:null;return d in fg?fg[d]:cg(a,d,"left","pixelLeft")} 
    100 function hg(a){if(kf&&!(9<=uf)){var c=gg(a,"borderLeft"),d=gg(a,"borderRight"),e=gg(a,"borderTop");a=gg(a,"borderBottom");return new Tf(e,d,a,c)}c=Vf(a,"borderLeftWidth");d=Vf(a,"borderRightWidth");e=Vf(a,"borderTopWidth");a=Vf(a,"borderBottomWidth");return new Tf(parseFloat(e),parseFloat(d),parseFloat(a),parseFloat(c))};function ig(a,c,d){Eb.call(this,a);this.map=c;this.frameState=void 0!==d?d:null}y(ig,Eb);function jg(a){Mb.call(this);this.element=a.element?a.element:null;this.a=this.S=null;this.s=[];this.render=a.render?a.render:va;a.target&&this.c(a.target)}y(jg,Mb);jg.prototype.fa=function(){Jf(this.element);jg.ia.fa.call(this)};jg.prototype.i=function(){return this.a}; 
    101 jg.prototype.setMap=function(a){this.a&&Jf(this.element);for(var c=0,d=this.s.length;c<d;++c)sb(this.s[c]);this.s.length=0;if(this.a=a)(this.S?this.S:a.A).appendChild(this.element),this.render!==va&&this.s.push(D(a,"postrender",this.render,this)),a.render()};jg.prototype.c=function(a){this.S=Bf(a)};function kg(){this.g=0;this.f={};this.a=this.b=null}l=kg.prototype;l.clear=function(){this.g=0;this.f={};this.a=this.b=null};function lg(a,c){return a.f.hasOwnProperty(c)}l.forEach=function(a,c){for(var d=this.b;d;)a.call(c,d.mc,d.ee,this),d=d.xb};l.get=function(a){a=this.f[a];if(a===this.a)return a.mc;a===this.b?(this.b=this.b.xb,this.b.hc=null):(a.xb.hc=a.hc,a.hc.xb=a.xb);a.xb=null;a.hc=this.a;this.a=this.a.xb=a;return a.mc};l.rc=function(){return this.g}; 
    102 l.O=function(){var a=Array(this.g),c=0,d;for(d=this.a;d;d=d.hc)a[c++]=d.ee;return a};l.vc=function(){var a=Array(this.g),c=0,d;for(d=this.a;d;d=d.hc)a[c++]=d.mc;return a};l.pop=function(){var a=this.b;delete this.f[a.ee];a.xb&&(a.xb.hc=null);this.b=a.xb;this.b||(this.a=null);--this.g;return a.mc};l.replace=function(a,c){this.get(a);this.f[a].mc=c};l.set=function(a,c){var d={ee:a,xb:null,hc:this.a,mc:c};this.a?this.a.xb=d:this.b=d;this.a=d;this.f[a]=d;++this.g};function mg(a){kg.call(this);this.c=void 0!==a?a:2048}y(mg,kg);function ng(a){return a.rc()>a.c}function og(a,c){for(var d,e;ng(a)&&!(d=a.b.mc,e=d.ga[0].toString(),e in c&&c[e].contains(d.ga));)a.pop().Rd()};function pg(a,c){Hb.call(this);this.ga=a;this.state=c;this.a=null;this.key=""}y(pg,Hb);function qg(a){a.b("change")}pg.prototype.eb=function(){return x(this).toString()};pg.prototype.f=function(){return this.ga};pg.prototype.V=function(){return this.state};function rg(a){Mb.call(this);this.f=qd(a.projection);this.Da=void 0!==a.attributions?a.attributions:null;this.D=a.logo;this.wa=void 0!==a.state?a.state:"ready";this.J=void 0!==a.wrapX?a.wrapX:!1}y(rg,Mb);l=rg.prototype;l.oe=va;l.ea=function(){return this.Da};l.pa=function(){return this.D};l.sa=function(){return this.f};l.V=function(){return this.wa};function sg(a){return a.J}l.ma=function(a){this.Da=a;this.u()};function tg(a,c){a.wa=c;a.u()};function ug(a){this.minZoom=void 0!==a.minZoom?a.minZoom:0;this.a=a.resolutions;this.maxZoom=this.a.length-1;this.g=void 0!==a.origin?a.origin:null;this.c=null;void 0!==a.origins&&(this.c=a.origins);var c=a.extent;void 0===c||this.g||this.c||(this.g=Sc(c));this.i=null;void 0!==a.tileSizes&&(this.i=a.tileSizes);this.l=void 0!==a.tileSize?a.tileSize:this.i?null:256;this.s=void 0!==c?c:null;this.b=null;void 0!==a.sizes?this.b=a.sizes.map(function(a){return new Me(Math.min(0,a[0]),Math.max(a[0]-1,-1), 
    103 Math.min(0,a[1]),Math.max(a[1]-1,-1))},this):c&&vg(this,c);this.f=[0,0]}var wg=[0,0,0];function xg(a,c,d,e,f,g){g=a.Ca(c,g);for(c=c[0]-1;c>=a.minZoom;){if(d.call(e,c,yg(a,g,c,f)))return!0;--c}return!1}l=ug.prototype;l.G=function(){return this.s};l.yg=function(){return this.maxZoom};l.zg=function(){return this.minZoom};l.Ha=function(a){return this.g?this.g:this.c[a]};l.Z=function(a){return this.a[a]};l.Pb=function(){return this.a}; 
    104 function zg(a,c,d,e){return c[0]<a.maxZoom?(e=a.Ca(c,e),yg(a,e,c[0]+1,d)):null}function Ag(a,c,d,e){Bg(a,c[0],c[1],d,!1,wg);var f=wg[1],g=wg[2];Bg(a,c[2],c[3],d,!0,wg);a=wg[1];c=wg[2];void 0!==e?(e.ra=f,e.va=a,e.xa=g,e.Aa=c):e=new Me(f,a,g,c);return e}function yg(a,c,d,e){d=a.Z(d);return Ag(a,c,d,e)}function Cg(a,c){var d=a.Ha(c[0]),e=a.Z(c[0]),f=Sb(a.Ua(c[0]),a.f);return[d[0]+(c[1]+.5)*f[0]*e,d[1]+(c[2]+.5)*f[1]*e]} 
    105 l.Ca=function(a,c){var d=this.Ha(a[0]),e=this.Z(a[0]),f=Sb(this.Ua(a[0]),this.f),g=d[0]+a[1]*f[0]*e,d=d[1]+a[2]*f[1]*e;return Ic(g,d,g+f[0]*e,d+f[1]*e,c)};l.$d=function(a,c,d){return Bg(this,a[0],a[1],c,!1,d)};function Bg(a,c,d,e,f,g){var h=Dg(a,e),k=e/a.Z(h),m=a.Ha(h);a=Sb(a.Ua(h),a.f);c=k*Math.floor((c-m[0])/e+(f?.5:0))/a[0];d=k*Math.floor((d-m[1])/e+(f?0:.5))/a[1];f?(c=Math.ceil(c)-1,d=Math.ceil(d)-1):(c=Math.floor(c),d=Math.floor(d));return Ke(h,c,d,g)} 
    106 l.ud=function(a,c,d){c=this.Z(c);return Bg(this,a[0],a[1],c,!1,d)};l.Ua=function(a){return this.l?this.l:this.i[a]};function Dg(a,c){var d=Va(a.a,c,0);return La(d,a.minZoom,a.maxZoom)}function vg(a,c){for(var d=a.a.length,e=Array(d),f=a.minZoom;f<d;++f)e[f]=yg(a,c,f);a.b=e}function Eg(a){var c=a.j;if(!c){var c=Fg(a),d=Gg(c,void 0,void 0),c=new ug({extent:c,origin:Sc(c),resolutions:d,tileSize:void 0});a.j=c}return c} 
    107 function Hg(a){var c={};mb(c,void 0!==a?a:{});void 0===c.extent&&(c.extent=qd("EPSG:3857").G());c.resolutions=Gg(c.extent,c.maxZoom,c.tileSize);delete c.maxZoom;return new ug(c)}function Gg(a,c,d){c=void 0!==c?c:42;var e=Xc(a);a=Wc(a);d=Sb(void 0!==d?d:256);d=Math.max(a/d[0],e/d[1]);c+=1;e=Array(c);for(a=0;a<c;++a)e[a]=d/Math.pow(2,a);return e}function Fg(a){a=qd(a);var c=a.G();c||(a=180*md.degrees/a.$b(),c=Ic(-a,-a,a,a));return c};function Ig(a){rg.call(this,{attributions:a.attributions,extent:a.extent,logo:a.logo,projection:a.projection,state:a.state,wrapX:a.wrapX});this.na=void 0!==a.opaque?a.opaque:!1;this.ya=void 0!==a.tilePixelRatio?a.tilePixelRatio:1;this.tileGrid=void 0!==a.tileGrid?a.tileGrid:null;this.a=new mg(a.Se);this.j=[0,0]}y(Ig,rg);l=Ig.prototype;l.lh=function(){return ng(this.a)};l.mh=function(a,c){var d=this.td(a);d&&og(d,c)}; 
    108 function Jg(a,c,d,e,f){c=a.td(c);if(!c)return!1;for(var g=!0,h,k,m=e.ra;m<=e.va;++m)for(var n=e.xa;n<=e.Aa;++n)h=a.Db(d,m,n),k=!1,lg(c,h)&&(h=c.get(h),(k=2===h.V())&&(k=!1!==f(h))),k||(g=!1);return g}l.Ud=function(){return 0};l.bf=function(){return""};l.Db=function(a,c,d){return a+"/"+c+"/"+d};l.Wd=function(){return this.na};l.Pb=function(){return this.tileGrid.Pb()};l.Ma=function(){return this.tileGrid};l.Za=function(a){return this.tileGrid?this.tileGrid:Eg(a)}; 
    109 l.td=function(a){var c=this.f;return c&&!Hd(c,a)?null:this.a};l.uc=function(){return this.ya};function Kg(a,c,d,e){e=a.Za(e);d=a.uc(d);c=Sb(e.Ua(c),a.j);return 1==d?c:Rb(c,d,a.j)}function Lg(a,c,d){var e=void 0!==d?d:a.f;d=a.Za(e);if(a.J&&e.g){var f=c;c=f[0];a=Cg(d,f);e=Fg(e);Dc(e,a)?c=f:(f=Wc(e),a[0]+=f*Math.ceil((e[0]-a[0])/f),c=d.ud(a,c))}f=c[0];e=c[1];a=c[2];if(d.minZoom>f||f>d.maxZoom)d=!1;else{var g=d.G();d=(d=g?yg(d,g,f):d.b?d.b[f]:null)?Ne(d,e,a):!0}return d?c:null}l.Of=va; 
    110 function Mg(a,c){Eb.call(this,a);this.tile=c}y(Mg,Eb);function Ng(a){a=a?a:{};this.J=document.createElement("UL");this.A=document.createElement("LI");this.J.appendChild(this.A);bg(this.A,!1);this.f=void 0!==a.collapsed?a.collapsed:!0;this.l=void 0!==a.collapsible?a.collapsible:!0;this.l||(this.f=!1);var c=void 0!==a.className?a.className:"ol-attribution",d=void 0!==a.tipLabel?a.tipLabel:"Attributions",e=void 0!==a.collapseLabel?a.collapseLabel:"\u00bb";this.D="string"===typeof e?Ef("SPAN",{},e):e;e=void 0!==a.label?a.label:"i";this.H="string"===typeof e? 
    111 Ef("SPAN",{},e):e;d=Ef("BUTTON",{type:"button",title:d},this.l&&!this.f?this.D:this.H);D(d,"click",this.Bl,this);c=Ef("DIV",c+" ol-unselectable ol-control"+(this.f&&this.l?" ol-collapsed":"")+(this.l?"":" ol-uncollapsible"),this.J,d);jg.call(this,{element:c,render:a.render?a.render:Og,target:a.target});this.B=!0;this.o={};this.j={};this.U={}}y(Ng,jg); 
    112 function Og(a){if(a=a.frameState){var c,d,e,f,g,h,k,m,n,p,q,r=a.layerStatesArray,t=mb({},a.attributions),v={},w=a.viewState.projection;d=0;for(c=r.length;d<c;d++)if(h=r[d].layer.da())if(p=x(h).toString(),n=h.ea())for(e=0,f=n.length;e<f;e++)if(k=n[e],m=x(k).toString(),!(m in t)){if(g=a.usedTiles[p]){var A=h.Za(w);a:{q=k;var B=w;if(q.b){var z=void 0,C=void 0,O=void 0,I=void 0;for(I in g)if(I in q.b)for(var O=g[I],K,z=0,C=q.b[I].length;z<C;++z){K=q.b[I][z];if(Pe(K,O)){q=!0;break a}var P=yg(A,Fg(B),parseInt(I, 
    113 10)),da=P.va-P.ra+1;if(O.ra<P.ra||O.va>P.va)if(Pe(K,new Me($b(O.ra,da),$b(O.va,da),O.xa,O.Aa))||O.va-O.ra+1>da&&Pe(K,P)){q=!0;break a}}q=!1}else q=!0}}else q=!1;q?(m in v&&delete v[m],t[m]=k):v[m]=k}c=[t,v];d=c[0];c=c[1];for(var J in this.o)J in d?(this.j[J]||(bg(this.o[J],!0),this.j[J]=!0),delete d[J]):J in c?(this.j[J]&&(bg(this.o[J],!1),delete this.j[J]),delete c[J]):(Jf(this.o[J]),delete this.o[J],delete this.j[J]);for(J in d)e=document.createElement("LI"),e.innerHTML=d[J].a,this.J.appendChild(e), 
    114 this.o[J]=e,this.j[J]=!0;for(J in c)e=document.createElement("LI"),e.innerHTML=c[J].a,bg(e,!1),this.J.appendChild(e),this.o[J]=e;J=!pb(this.j)||!pb(a.logos);this.B!=J&&(bg(this.element,J),this.B=J);J&&pb(this.j)?Qf(this.element,"ol-logo-only"):Rf(this.element,"ol-logo-only");var ea;a=a.logos;J=this.U;for(ea in J)ea in a||(Jf(J[ea]),delete J[ea]);for(var Ga in a)Ga in J||(ea=new Image,ea.src=Ga,d=a[Ga],""===d?d=ea:(d=Ef("A",{href:d}),d.appendChild(ea)),this.A.appendChild(d),J[Ga]=d);bg(this.A,!pb(a))}else this.B&& 
    115 (bg(this.element,!1),this.B=!1)}l=Ng.prototype;l.Bl=function(a){a.preventDefault();Pg(this)};function Pg(a){Sf(a.element,"ol-collapsed");a.f?Kf(a.D,a.H):Kf(a.H,a.D);a.f=!a.f}l.Al=function(){return this.l};l.Dl=function(a){this.l!==a&&(this.l=a,Sf(this.element,"ol-uncollapsible"),!a&&this.f&&Pg(this))};l.Cl=function(a){this.l&&this.f!==a&&Pg(this)};l.zl=function(){return this.f};function Qg(a){a=a?a:{};var c=void 0!==a.className?a.className:"ol-rotate",d=void 0!==a.label?a.label:"\u21e7";this.f=null;"string"===typeof d?this.f=Ef("SPAN","ol-compass",d):(this.f=d,Qf(this.f,"ol-compass"));d=Ef("BUTTON",{"class":c+"-reset",type:"button",title:a.tipLabel?a.tipLabel:"Reset rotation"},this.f);D(d,"click",Qg.prototype.B,this);c=Ef("DIV",c+" ol-unselectable ol-control",d);d=a.render?a.render:Rg;this.l=a.resetNorth?a.resetNorth:void 0;jg.call(this,{element:c,render:d,target:a.target}); 
    116 this.o=void 0!==a.duration?a.duration:250;this.j=void 0!==a.autoHide?a.autoHide:!0;this.A=void 0;this.j&&Qf(this.element,"ol-hidden")}y(Qg,jg);Qg.prototype.B=function(a){a.preventDefault();if(void 0!==this.l)this.l();else{a=this.a;var c=a.$();if(c){var d=c.Ka();void 0!==d&&(0<this.o&&(d%=2*Math.PI,d<-Math.PI&&(d+=2*Math.PI),d>Math.PI&&(d-=2*Math.PI),a.Ra(Ie({rotation:d,duration:this.o,easing:De}))),c.ke(0))}}}; 
    117 function Rg(a){if(a=a.frameState){a=a.viewState.rotation;if(a!=this.A){var c="rotate("+a+"rad)";if(this.j){var d=this.element;0===a?Qf(d,"ol-hidden"):Rf(d,"ol-hidden")}this.f.style.msTransform=c;this.f.style.webkitTransform=c;this.f.style.transform=c}this.A=a}};function Sg(a){a=a?a:{};var c=void 0!==a.className?a.className:"ol-zoom",d=void 0!==a.delta?a.delta:1,e=void 0!==a.zoomOutLabel?a.zoomOutLabel:"\u2212",f=void 0!==a.zoomOutTipLabel?a.zoomOutTipLabel:"Zoom out",g=Ef("BUTTON",{"class":c+"-in",type:"button",title:void 0!==a.zoomInTipLabel?a.zoomInTipLabel:"Zoom in"},void 0!==a.zoomInLabel?a.zoomInLabel:"+");D(g,"click",ra(Sg.prototype.j,d),this);e=Ef("BUTTON",{"class":c+"-out",type:"button",title:f},e);D(e,"click",ra(Sg.prototype.j,-d),this);c=Ef("DIV", 
    118 c+" ol-unselectable ol-control",g,e);jg.call(this,{element:c,target:a.target});this.f=void 0!==a.duration?a.duration:250}y(Sg,jg);Sg.prototype.j=function(a,c){c.preventDefault();var d=this.a,e=d.$();if(e){var f=e.Z();f&&(0<this.f&&d.Ra(Je({resolution:f,duration:this.f,easing:De})),d=e.constrainResolution(f,a),e.Vb(d))}};function Tg(a){a=a?a:{};var c=new Se;(void 0!==a.zoom?a.zoom:1)&&c.push(new Sg(a.zoomOptions));(void 0!==a.rotate?a.rotate:1)&&c.push(new Qg(a.rotateOptions));(void 0!==a.attribution?a.attribution:1)&&c.push(new Ng(a.attributionOptions));return c};var Ug=nf?"webkitfullscreenchange":mf?"mozfullscreenchange":kf?"MSFullscreenChange":"fullscreenchange";function Vg(){var a=yf().b,c=a.body;return!!(c.webkitRequestFullscreen||c.mozRequestFullScreen&&a.mozFullScreenEnabled||c.msRequestFullscreen&&a.msFullscreenEnabled||c.requestFullscreen&&a.fullscreenEnabled)} 
    119 function Wg(a){a.webkitRequestFullscreen?a.webkitRequestFullscreen():a.mozRequestFullScreen?a.mozRequestFullScreen():a.msRequestFullscreen?a.msRequestFullscreen():a.requestFullscreen&&a.requestFullscreen()}function Xg(){var a=yf().b;return!!(a.webkitIsFullScreen||a.mozFullScreen||a.msFullscreenElement||a.fullscreenElement)};function Yg(a){a=a?a:{};this.f=void 0!==a.className?a.className:"ol-full-screen";var c=void 0!==a.label?a.label:"\u2922";this.j="string"===typeof c?document.createTextNode(c):c;c=void 0!==a.labelActive?a.labelActive:"\u00d7";this.l="string"===typeof c?document.createTextNode(c):c;c=a.tipLabel?a.tipLabel:"Toggle full-screen";c=Ef("BUTTON",{"class":this.f+"-"+Xg(),type:"button",title:c},this.j);D(c,"click",this.J,this);D(aa.document,Ug,this.A,this);var d=this.f+" ol-unselectable ol-control "+(Vg()? 
    120 "":"ol-unsupported"),c=Ef("DIV",d,c);jg.call(this,{element:c,target:a.target});this.B=void 0!==a.keys?a.keys:!1;this.o=a.source}y(Yg,jg); 
    121 Yg.prototype.J=function(a){a.preventDefault();Vg()&&(a=this.a)&&(Xg()?(a=yf().b,a.webkitCancelFullScreen?a.webkitCancelFullScreen():a.mozCancelFullScreen?a.mozCancelFullScreen():a.msExitFullscreen?a.msExitFullscreen():a.exitFullscreen&&a.exitFullscreen()):(a=this.o?Bf(this.o):a.tc(),this.B?a.mozRequestFullScreenWithKeys?a.mozRequestFullScreenWithKeys():a.webkitRequestFullscreen?a.webkitRequestFullscreen():Wg(a):Wg(a)))}; 
    122 Yg.prototype.A=function(){var a=this.f+"-true",c=this.f+"-false",d=Lf(this.element),e=this.a;Xg()?(Pf(d,c)&&(Rf(d,c),Qf(d,a)),Kf(this.l,this.j)):(Pf(d,a)&&(Rf(d,a),Qf(d,c)),Kf(this.j,this.l));e&&e.Xc()};function Zg(a){a=a?a:{};var c=document.createElement("DIV");c.className=void 0!==a.className?a.className:"ol-mouse-position";jg.call(this,{element:c,render:a.render?a.render:$g,target:a.target});D(this,Ob("projection"),this.El,this);a.coordinateFormat&&this.Nh(a.coordinateFormat);a.projection&&this.Xg(qd(a.projection));this.A=void 0!==a.undefinedHTML?a.undefinedHTML:"";this.o=c.innerHTML;this.l=this.j=this.f=null}y(Zg,jg); 
    123 function $g(a){a=a.frameState;a?this.f!=a.viewState.projection&&(this.f=a.viewState.projection,this.j=null):this.f=null;ah(this,this.l)}l=Zg.prototype;l.El=function(){this.j=null};l.rg=function(){return this.get("coordinateFormat")};l.Wg=function(){return this.get("projection")};l.Ak=function(a){this.l=this.a.Td(a);ah(this,this.l)};l.Bk=function(){ah(this,null);this.l=null};l.setMap=function(a){Zg.ia.setMap.call(this,a);a&&(a=a.a,this.s.push(D(a,"mousemove",this.Ak,this),D(a,"mouseout",this.Bk,this)))}; 
    124 l.Nh=function(a){this.set("coordinateFormat",a)};l.Xg=function(a){this.set("projection",a)};function ah(a,c){var d=a.A;if(c&&a.f){if(!a.j){var e=a.Wg();a.j=e?ud(a.f,e):Jd}if(e=a.a.La(c))a.j(e,e),d=(d=a.rg())?d(e):e.toString()}a.o&&d==a.o||(a.element.innerHTML=d,a.o=d)};function bh(a,c){var d=a;c&&(d=qa(a,c));d=ch(d);!ka(aa.setImmediate)||aa.Window&&aa.Window.prototype&&aa.Window.prototype.setImmediate==aa.setImmediate?(dh||(dh=eh()),dh(d)):aa.setImmediate(d)}var dh; 
    125 function eh(){var a=aa.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!ef("Presto")&&(a=function(){var a=document.createElement("IFRAME");a.style.display="none";a.src="";document.documentElement.appendChild(a);var c=a.contentWindow,a=c.document;a.open();a.write("");a.close();var d="callImmediate"+Math.random(),e="file:"==c.location.protocol?"*":c.location.protocol+"//"+c.location.host,a=qa(function(a){if(("*"==e||a.origin==e)&&a.data== 
    126 d)this.port1.onmessage()},this);c.addEventListener("message",a,!1);this.port1={};this.port2={postMessage:function(){c.postMessage(d,e)}}});if("undefined"!==typeof a&&!ef("Trident")&&!ef("MSIE")){var c=new a,d={},e=d;c.port1.onmessage=function(){if(ba(d.next)){d=d.next;var a=d.hg;d.hg=null;a()}};return function(a){e.next={hg:a};e=e.next;c.port2.postMessage(0)}}return"undefined"!==typeof document&&"onreadystatechange"in document.createElement("SCRIPT")?function(a){var c=document.createElement("SCRIPT"); 
    127 c.onreadystatechange=function(){c.onreadystatechange=null;c.parentNode.removeChild(c);c=null;a();a=null};document.documentElement.appendChild(c)}:function(a){aa.setTimeout(a,0)}}var ch=hd;function fh(a,c){this.a={};this.b=[];this.g=0;var d=arguments.length;if(1<d){if(d%2)throw Error("Uneven number of arguments");for(var e=0;e<d;e+=2)this.set(arguments[e],arguments[e+1])}else if(a){var f;if(a instanceof fh)f=a.O(),e=a.vc();else{var d=[],g=0;for(f in a)d[g++]=f;f=d;d=[];g=0;for(e in a)d[g++]=a[e];e=d}for(d=0;d<f.length;d++)this.set(f[d],e[d])}}l=fh.prototype;l.rc=function(){return this.g};l.vc=function(){gh(this);for(var a=[],c=0;c<this.b.length;c++)a.push(this.a[this.b[c]]);return a}; 
    128 l.O=function(){gh(this);return this.b.concat()};l.Oa=function(){return 0==this.g};l.clear=function(){this.a={};this.g=this.b.length=0};l.remove=function(a){return hh(this.a,a)?(delete this.a[a],this.g--,this.b.length>2*this.g&&gh(this),!0):!1};function gh(a){if(a.g!=a.b.length){for(var c=0,d=0;c<a.b.length;){var e=a.b[c];hh(a.a,e)&&(a.b[d++]=e);c++}a.b.length=d}if(a.g!=a.b.length){for(var f={},d=c=0;c<a.b.length;)e=a.b[c],hh(f,e)||(a.b[d++]=e,f[e]=1),c++;a.b.length=d}} 
    129 l.get=function(a,c){return hh(this.a,a)?this.a[a]:c};l.set=function(a,c){hh(this.a,a)||(this.g++,this.b.push(a));this.a[a]=c};l.forEach=function(a,c){for(var d=this.O(),e=0;e<d.length;e++){var f=d[e],g=this.get(f);a.call(c,g,f,this)}};l.clone=function(){return new fh(this)};function hh(a,c){return Object.prototype.hasOwnProperty.call(a,c)};function ih(){this.b=sa()}new ih;ih.prototype.set=function(a){this.b=a};ih.prototype.get=function(){return this.b};function jh(a,c,d){Eb.call(this,a);this.b=c;a=d?d:{};this.buttons=kh(a);this.pressure=lh(a,this.buttons);this.bubbles="bubbles"in a?a.bubbles:!1;this.cancelable="cancelable"in a?a.cancelable:!1;this.view="view"in a?a.view:null;this.detail="detail"in a?a.detail:null;this.screenX="screenX"in a?a.screenX:0;this.screenY="screenY"in a?a.screenY:0;this.clientX="clientX"in a?a.clientX:0;this.clientY="clientY"in a?a.clientY:0;this.button="button"in a?a.button:0;this.relatedTarget="relatedTarget"in a?a.relatedTarget: 
    130 null;this.pointerId="pointerId"in a?a.pointerId:0;this.width="width"in a?a.width:0;this.height="height"in a?a.height:0;this.pointerType="pointerType"in a?a.pointerType:"";this.isPrimary="isPrimary"in a?a.isPrimary:!1;c.preventDefault&&(this.preventDefault=function(){c.preventDefault()})}y(jh,Eb);function kh(a){if(a.buttons||mh)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} 
    131 function lh(a,c){var d=0;a.pressure?d=a.pressure:d=c?.5:0;return d}var mh=!1;try{mh=1===(new MouseEvent("click",{buttons:1})).buttons}catch(a){};function nh(a,c){var d=document.createElement("CANVAS");a&&(d.width=a);c&&(d.height=c);return d.getContext("2d")} 
    132 var oh=function(){var a;return function(){if(void 0===a)if(aa.getComputedStyle){var c=document.createElement("P"),d,e={webkitTransform:"-webkit-transform",OTransform:"-o-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",transform:"transform"};document.body.appendChild(c);for(var f in e)f in c.style&&(c.style[f]="translate(1px,1px)",d=aa.getComputedStyle(c).getPropertyValue(e[f]));Jf(c);a=d&&"none"!==d}else a=!1;return a}}(),ph=function(){var a;return function(){if(void 0===a)if(aa.getComputedStyle){var c= 
    133 document.createElement("P"),d,e={webkitTransform:"-webkit-transform",OTransform:"-o-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",transform:"transform"};document.body.appendChild(c);for(var f in e)f in c.style&&(c.style[f]="translate3d(1px,1px,1px)",d=aa.getComputedStyle(c).getPropertyValue(e[f]));Jf(c);a=d&&"none"!==d}else a=!1;return a}}(); 
    134 function qh(a,c){var d=a.style;d.WebkitTransform=c;d.MozTransform=c;d.b=c;d.msTransform=c;d.transform=c;kf&&sf("9.0")&&(a.style.transformOrigin="0 0")}function rh(a,c){var d;if(ph()){var e=Array(16);for(d=0;16>d;++d)e[d]=c[d].toFixed(6);qh(a,"matrix3d("+e.join(",")+")")}else if(oh()){var e=[c[0],c[1],c[4],c[5],c[12],c[13]],f=Array(6);for(d=0;6>d;++d)f[d]=e[d].toFixed(6);qh(a,"matrix("+f.join(",")+")")}else a.style.left=Math.round(c[12])+"px",a.style.top=Math.round(c[13])+"px"};var sh=["experimental-webgl","webgl","webkit-3d","moz-webgl"];function th(a,c){var d,e,f=sh.length;for(e=0;e<f;++e)try{if(d=a.getContext(sh[e],c))return d}catch(g){}return null};var uh,vh="undefined"!==typeof navigator?navigator.userAgent.toLowerCase():"",wh=-1!==vh.indexOf("firefox"),xh=-1!==vh.indexOf("safari")&&-1===vh.indexOf("chrom"),yh=-1!==vh.indexOf("macintosh"),zh=aa.devicePixelRatio||1,Ah=!1,Bh=function(){if(!("HTMLCanvasElement"in aa))return!1;try{var a=nh();return a?(void 0!==a.setLineDash&&(Ah=!0),!0):!1}catch(c){return!1}}(),Ch="DeviceOrientationEvent"in aa,Dh="geolocation"in aa.navigator,Eh="ontouchstart"in aa,Fh="PointerEvent"in aa,Gh=!!aa.navigator.msPointerEnabled, 
    135 Hh=!1,Ih,Jh=[];if("WebGLRenderingContext"in aa)try{var Kh=th(document.createElement("CANVAS"),{failIfMajorPerformanceCaveat:!0});Kh&&(Hh=!0,Ih=Kh.getParameter(Kh.MAX_TEXTURE_SIZE),Jh=Kh.getSupportedExtensions())}catch(a){}uh=Hh;ua=Jh;ta=Ih;function Lh(a,c){this.b=a;this.c=c};function Mh(a){Lh.call(this,a,{mousedown:this.Vk,mousemove:this.Wk,mouseup:this.Zk,mouseover:this.Yk,mouseout:this.Xk});this.a=a.g;this.g=[]}y(Mh,Lh);function Nh(a,c){for(var d=a.g,e=c.clientX,f=c.clientY,g=0,h=d.length,k;g<h&&(k=d[g]);g++){var m=Math.abs(f-k[1]);if(25>=Math.abs(e-k[0])&&25>=m)return!0}return!1}function Oh(a){var c=Ph(a,a),d=c.preventDefault;c.preventDefault=function(){a.preventDefault();d()};c.pointerId=1;c.isPrimary=!0;c.pointerType="mouse";return c}l=Mh.prototype; 
    136 l.Vk=function(a){if(!Nh(this,a)){if((1).toString()in this.a){var c=Oh(a);Qh(this.b,Rh,c,a);delete this.a[(1).toString()]}c=Oh(a);this.a[(1).toString()]=a;Qh(this.b,Sh,c,a)}};l.Wk=function(a){if(!Nh(this,a)){var c=Oh(a);Qh(this.b,Th,c,a)}};l.Zk=function(a){if(!Nh(this,a)){var c=this.a[(1).toString()];c&&c.button===a.button&&(c=Oh(a),Qh(this.b,Uh,c,a),delete this.a[(1).toString()])}};l.Yk=function(a){if(!Nh(this,a)){var c=Oh(a);Vh(this.b,c,a)}}; 
    137 l.Xk=function(a){if(!Nh(this,a)){var c=Oh(a);Wh(this.b,c,a)}};function Xh(a){Lh.call(this,a,{MSPointerDown:this.dl,MSPointerMove:this.el,MSPointerUp:this.hl,MSPointerOut:this.fl,MSPointerOver:this.gl,MSPointerCancel:this.cl,MSGotPointerCapture:this.al,MSLostPointerCapture:this.bl});this.a=a.g;this.g=["","unavailable","touch","pen","mouse"]}y(Xh,Lh);function Yh(a,c){var d=c;ja(c.pointerType)&&(d=Ph(c,c),d.pointerType=a.g[c.pointerType]);return d}l=Xh.prototype;l.dl=function(a){this.a[a.pointerId.toString()]=a;var c=Yh(this,a);Qh(this.b,Sh,c,a)}; 
    138 l.el=function(a){var c=Yh(this,a);Qh(this.b,Th,c,a)};l.hl=function(a){var c=Yh(this,a);Qh(this.b,Uh,c,a);delete this.a[a.pointerId.toString()]};l.fl=function(a){var c=Yh(this,a);Wh(this.b,c,a)};l.gl=function(a){var c=Yh(this,a);Vh(this.b,c,a)};l.cl=function(a){var c=Yh(this,a);Qh(this.b,Rh,c,a);delete this.a[a.pointerId.toString()]};l.bl=function(a){this.b.b(new jh("lostpointercapture",a,a))};l.al=function(a){this.b.b(new jh("gotpointercapture",a,a))};function Zh(a){Lh.call(this,a,{pointerdown:this.Bn,pointermove:this.Cn,pointerup:this.Fn,pointerout:this.Dn,pointerover:this.En,pointercancel:this.An,gotpointercapture:this.jk,lostpointercapture:this.Uk})}y(Zh,Lh);l=Zh.prototype;l.Bn=function(a){$h(this.b,a)};l.Cn=function(a){$h(this.b,a)};l.Fn=function(a){$h(this.b,a)};l.Dn=function(a){$h(this.b,a)};l.En=function(a){$h(this.b,a)};l.An=function(a){$h(this.b,a)};l.Uk=function(a){$h(this.b,a)};l.jk=function(a){$h(this.b,a)};function ai(a,c){Lh.call(this,a,{touchstart:this.Io,touchmove:this.Ho,touchend:this.Go,touchcancel:this.Fo});this.a=a.g;this.j=c;this.g=void 0;this.i=0;this.f=void 0}y(ai,Lh);l=ai.prototype;l.Lh=function(){this.i=0;this.f=void 0}; 
    139 function bi(a,c,d){c=Ph(c,d);c.pointerId=d.identifier+2;c.bubbles=!0;c.cancelable=!0;c.detail=a.i;c.button=0;c.buttons=1;c.width=d.webkitRadiusX||d.radiusX||0;c.height=d.webkitRadiusY||d.radiusY||0;c.pressure=d.webkitForce||d.force||.5;c.isPrimary=a.g===d.identifier;c.pointerType="touch";c.clientX=d.clientX;c.clientY=d.clientY;c.screenX=d.screenX;c.screenY=d.screenY;return c} 
    140 function ci(a,c,d){function e(){c.preventDefault()}var f=Array.prototype.slice.call(c.changedTouches),g=f.length,h,k;for(h=0;h<g;++h)k=bi(a,c,f[h]),k.preventDefault=e,d.call(a,c,k)} 
    141 l.Io=function(a){var c=a.touches,d=Object.keys(this.a),e=d.length;if(e>=c.length){var f=[],g,h,k;for(g=0;g<e;++g){h=d[g];k=this.a[h];var m;if(!(m=1==h))a:{m=c.length;for(var n=void 0,p=0;p<m;p++)if(n=c[p],n.identifier===h-2){m=!0;break a}m=!1}m||f.push(k.zc)}for(g=0;g<f.length;++g)this.Te(a,f[g])}c=a.changedTouches[0];d=Object.keys(this.a).length;if(0===d||1===d&&(1).toString()in this.a)this.g=c.identifier,void 0!==this.f&&aa.clearTimeout(this.f);di(this,a);this.i++;ci(this,a,this.wn)}; 
    142 l.wn=function(a,c){this.a[c.pointerId]={target:c.target,zc:c,uh:c.target};var d=this.b;c.bubbles=!0;Qh(d,ei,c,a);d=this.b;c.bubbles=!1;Qh(d,fi,c,a);Qh(this.b,Sh,c,a)};l.Ho=function(a){a.preventDefault();ci(this,a,this.$k)};l.$k=function(a,c){var d=this.a[c.pointerId];if(d){var e=d.zc,f=d.uh;Qh(this.b,Th,c,a);e&&f!==c.target&&(e.relatedTarget=c.target,c.relatedTarget=f,e.target=f,c.target?(Wh(this.b,e,a),Vh(this.b,c,a)):(c.target=f,c.relatedTarget=null,this.Te(a,c)));d.zc=c;d.uh=c.target}}; 
    143 l.Go=function(a){di(this,a);ci(this,a,this.Jo)};l.Jo=function(a,c){Qh(this.b,Uh,c,a);this.b.zc(c,a);var d=this.b;c.bubbles=!1;Qh(d,gi,c,a);delete this.a[c.pointerId];c.isPrimary&&(this.g=void 0,this.f=aa.setTimeout(this.Lh.bind(this),200))};l.Fo=function(a){ci(this,a,this.Te)};l.Te=function(a,c){Qh(this.b,Rh,c,a);this.b.zc(c,a);var d=this.b;c.bubbles=!1;Qh(d,gi,c,a);delete this.a[c.pointerId];c.isPrimary&&(this.g=void 0,this.f=aa.setTimeout(this.Lh.bind(this),200))}; 
    144 function di(a,c){var d=a.j.g,e=c.changedTouches[0];if(a.g===e.identifier){var f=[e.clientX,e.clientY];d.push(f);aa.setTimeout(function(){Ya(d,f)},2500)}};function hi(a){Hb.call(this);this.i=a;this.g={};this.c={};this.a=[];Fh?ii(this,new Zh(this)):Gh?ii(this,new Xh(this)):(a=new Mh(this),ii(this,a),Eh&&ii(this,new ai(this,a)));a=this.a.length;for(var c,d=0;d<a;d++)c=this.a[d],ji(this,Object.keys(c.c))}y(hi,Hb);function ii(a,c){var d=Object.keys(c.c);d&&(d.forEach(function(a){var d=c.c[a];d&&(this.c[a]=d.bind(c))},a),a.a.push(c))}hi.prototype.f=function(a){var c=this.c[a.type];c&&c(a)}; 
    145 function ji(a,c){c.forEach(function(a){D(this.i,a,this.f,this)},a)}function ki(a,c){c.forEach(function(a){yb(this.i,a,this.f,this)},a)}function Ph(a,c){for(var d={},e,f=0,g=li.length;f<g;f++)e=li[f][0],d[e]=a[e]||c[e]||li[f][1];return d}hi.prototype.zc=function(a,c){a.bubbles=!0;Qh(this,mi,a,c)};function Wh(a,c,d){a.zc(c,d);var e=c.relatedTarget;e&&Mf(c.target,e)||(c.bubbles=!1,Qh(a,gi,c,d))} 
    146 function Vh(a,c,d){c.bubbles=!0;Qh(a,ei,c,d);var e=c.relatedTarget;e&&Mf(c.target,e)||(c.bubbles=!1,Qh(a,fi,c,d))}function Qh(a,c,d,e){a.b(new jh(c,e,d))}function $h(a,c){a.b(new jh(c.type,c,c))}hi.prototype.fa=function(){for(var a=this.a.length,c,d=0;d<a;d++)c=this.a[d],ki(this,Object.keys(c.c));hi.ia.fa.call(this)}; 
    147 var Th="pointermove",Sh="pointerdown",Uh="pointerup",ei="pointerover",mi="pointerout",fi="pointerenter",gi="pointerleave",Rh="pointercancel",li=[["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", 
    148 !1],["type",""],["target",null],["currentTarget",null],["which",0]];function ni(a,c,d,e,f){ig.call(this,a,c,f);this.originalEvent=d;this.pixel=c.Td(d);this.coordinate=c.La(this.pixel);this.dragging=void 0!==e?e:!1}y(ni,ig);ni.prototype.preventDefault=function(){ni.ia.preventDefault.call(this);this.originalEvent.preventDefault()};ni.prototype.stopPropagation=function(){ni.ia.stopPropagation.call(this);this.originalEvent.stopPropagation()};function oi(a,c,d,e,f){ni.call(this,a,c,d.b,e,f);this.b=d}y(oi,ni); 
    149 function pi(a){Hb.call(this);this.f=a;this.j=0;this.l=!1;this.c=[];this.g=null;a=this.f.a;this.T=0;this.A={};this.i=new hi(a);this.a=null;this.o=D(this.i,Sh,this.Dk,this);this.s=D(this.i,Th,this.co,this)}y(pi,Hb);function qi(a,c){var d;d=new oi(ri,a.f,c);a.b(d);0!==a.j?(aa.clearTimeout(a.j),a.j=0,d=new oi(si,a.f,c),a.b(d)):a.j=aa.setTimeout(function(){this.j=0;var a=new oi(ti,this.f,c);this.b(a)}.bind(a),250)} 
    150 function ui(a,c){c.type==vi||c.type==wi?delete a.A[c.pointerId]:c.type==xi&&(a.A[c.pointerId]=!0);a.T=Object.keys(a.A).length}l=pi.prototype;l.Gg=function(a){ui(this,a);var c=new oi(vi,this.f,a);this.b(c);!this.l&&0===a.button&&qi(this,this.g);0===this.T&&(this.c.forEach(sb),this.c.length=0,this.l=!1,this.g=null,Db(this.a),this.a=null)}; 
    151 l.Dk=function(a){ui(this,a);var c=new oi(xi,this.f,a);this.b(c);this.g=a;0===this.c.length&&(this.a=new hi(document),this.c.push(D(this.a,yi,this.ul,this),D(this.a,vi,this.Gg,this),D(this.i,wi,this.Gg,this)))};l.ul=function(a){if(a.clientX!=this.g.clientX||a.clientY!=this.g.clientY){this.l=!0;var c=new oi(zi,this.f,a,this.l);this.b(c)}a.preventDefault()};l.co=function(a){this.b(new oi(a.type,this.f,a,!(!this.g||a.clientX==this.g.clientX&&a.clientY==this.g.clientY)))}; 
    152 l.fa=function(){this.s&&(sb(this.s),this.s=null);this.o&&(sb(this.o),this.o=null);this.c.forEach(sb);this.c.length=0;this.a&&(Db(this.a),this.a=null);this.i&&(Db(this.i),this.i=null);pi.ia.fa.call(this)};var ti="singleclick",ri="click",si="dblclick",zi="pointerdrag",yi="pointermove",xi="pointerdown",vi="pointerup",wi="pointercancel",Ai={ap:ti,Qo:ri,Ro:si,Uo:zi,Xo:yi,To:xi,$o:vi,Zo:"pointerover",Yo:"pointerout",Vo:"pointerenter",Wo:"pointerleave",So:wi};function Bi(a){Mb.call(this);var c=mb({},a);c.opacity=void 0!==a.opacity?a.opacity:1;c.visible=void 0!==a.visible?a.visible:!0;c.zIndex=void 0!==a.zIndex?a.zIndex:0;c.maxResolution=void 0!==a.maxResolution?a.maxResolution:Infinity;c.minResolution=void 0!==a.minResolution?a.minResolution:0;this.C(c)}y(Bi,Mb); 
    153 function Ci(a){var c=a.Sb(),d=a.df(),e=a.wb(),f=a.G(),g=a.Tb(),h=a.Nb(),k=a.Ob();return{layer:a,opacity:La(c,0,1),H:d,visible:e,Pc:!0,extent:f,zIndex:g,maxResolution:h,minResolution:Math.max(k,0)}}l=Bi.prototype;l.G=function(){return this.get("extent")};l.Nb=function(){return this.get("maxResolution")};l.Ob=function(){return this.get("minResolution")};l.Sb=function(){return this.get("opacity")};l.wb=function(){return this.get("visible")};l.Tb=function(){return this.get("zIndex")}; 
    154 l.cc=function(a){this.set("extent",a)};l.kc=function(a){this.set("maxResolution",a)};l.lc=function(a){this.set("minResolution",a)};l.dc=function(a){this.set("opacity",a)};l.ec=function(a){this.set("visible",a)};l.fc=function(a){this.set("zIndex",a)};function Di(){};function Ei(a,c,d,e,f,g){Eb.call(this,a,c);this.vectorContext=d;this.frameState=e;this.context=f;this.glContext=g}y(Ei,Eb);function Fi(a){var c=mb({},a);delete c.source;Bi.call(this,c);this.o=this.l=this.j=null;a.map&&this.setMap(a.map);D(this,Ob("source"),this.Jk,this);this.Cc(a.source?a.source:null)}y(Fi,Bi);function Gi(a,c){return a.visible&&c>=a.minResolution&&c<a.maxResolution}l=Fi.prototype;l.cf=function(a){a=a?a:[];a.push(Ci(this));return a};l.da=function(){return this.get("source")||null};l.df=function(){var a=this.da();return a?a.V():"undefined"};l.lm=function(){this.u()}; 
    155 l.Jk=function(){this.o&&(sb(this.o),this.o=null);var a=this.da();a&&(this.o=D(a,"change",this.lm,this));this.u()};l.setMap=function(a){this.j&&(sb(this.j),this.j=null);a||this.u();this.l&&(sb(this.l),this.l=null);a&&(this.j=D(a,"precompose",function(a){var d=Ci(this);d.Pc=!1;d.zIndex=Infinity;a.frameState.layerStatesArray.push(d);a.frameState.layerStates[x(this)]=d},this),this.l=D(this,"change",a.render,a),this.u())};l.Cc=function(a){this.set("source",a)};function Hi(a,c,d,e,f){Hb.call(this);this.o=f;this.extent=a;this.f=d;this.resolution=c;this.state=e}y(Hi,Hb);function Ii(a){a.b("change")}Hi.prototype.ea=function(){return this.o};Hi.prototype.G=function(){return this.extent};Hi.prototype.Z=function(){return this.resolution};Hi.prototype.V=function(){return this.state};function Ji(a,c,d,e,f,g,h,k){rc(a);0===c&&0===d||uc(a,c,d);1==e&&1==f||vc(a,e,f);0!==g&&wc(a,g);0===h&&0===k||uc(a,h,k);return a}function Ki(a,c){return a[0]==c[0]&&a[1]==c[1]&&a[4]==c[4]&&a[5]==c[5]&&a[12]==c[12]&&a[13]==c[13]}function Li(a,c,d){var e=a[1],f=a[5],g=a[13],h=c[0];c=c[1];d[0]=a[0]*h+a[4]*c+a[12];d[1]=e*h+f*c+g;return d};function Mi(a){Jb.call(this);this.a=a}y(Mi,Jb);l=Mi.prototype;l.gb=va;l.yc=function(a,c,d,e){a=a.slice();Li(c.pixelToCoordinateMatrix,a,a);if(this.gb(a,c,fd,this))return d.call(e,this.a)};l.ne=ed;l.cd=function(a,c,d){return function(e,f){return Jg(a,c,e,f,function(a){d[e]||(d[e]={});d[e][a.ga.toString()]=a})}};l.pm=function(a){2===a.target.V()&&Ni(this)};function Oi(a,c){var d=c.V();2!=d&&3!=d&&D(c,"change",a.pm,a);0==d&&(c.load(),d=c.V());return 2==d} 
    156 function Ni(a){var c=a.a;c.wb()&&"ready"==c.df()&&a.u()}function Pi(a,c){c.lh()&&a.postRenderFunctions.push(ra(function(a,c,f){c=x(a).toString();a.mh(f.viewState.projection,f.usedTiles[c])},c))}function Qi(a,c){if(c){var d,e,f;e=0;for(f=c.length;e<f;++e)d=c[e],a[x(d).toString()]=d}}function Ri(a,c){var d=c.D;void 0!==d&&("string"===typeof d?a.logos[d]="":la(d)&&(a.logos[d.src]=d.href))} 
    157 function Si(a,c,d,e){c=x(c).toString();d=d.toString();c in a?d in a[c]?(a=a[c][d],e.ra<a.ra&&(a.ra=e.ra),e.va>a.va&&(a.va=e.va),e.xa<a.xa&&(a.xa=e.xa),e.Aa>a.Aa&&(a.Aa=e.Aa)):a[c][d]=e:(a[c]={},a[c][d]=e)}function Ti(a,c,d){return[c*(Math.round(a[0]/c)+d[0]%2/2),c*(Math.round(a[1]/c)+d[1]%2/2)]} 
    158 function Ui(a,c,d,e,f,g,h,k,m,n){var p=x(c).toString();p in a.wantedTiles||(a.wantedTiles[p]={});var q=a.wantedTiles[p];a=a.tileQueue;var r=d.minZoom,t,v,w,A,B,z;for(z=h;z>=r;--z)for(v=yg(d,g,z,v),w=d.Z(z),A=v.ra;A<=v.va;++A)for(B=v.xa;B<=v.Aa;++B)h-z<=k?(t=c.Qb(z,A,B,e,f),0==t.V()&&(q[t.ga.toString()]=!0,t.eb()in a.g||a.f([t,p,Cg(d,t.ga),w])),void 0!==m&&m.call(n,t)):c.Of(z,A,B,f)};function Vi(a){this.A=a.opacity;this.B=a.rotateWithView;this.s=a.rotation;this.j=a.scale;this.J=a.snapToPixel}l=Vi.prototype;l.re=function(){return this.A};l.Yd=function(){return this.B};l.se=function(){return this.s};l.te=function(){return this.j};l.Zd=function(){return this.J};l.ue=function(a){this.A=a};l.ve=function(a){this.s=a};l.we=function(a){this.j=a};function Wi(a){a=a||{};this.c=void 0!==a.anchor?a.anchor:[.5,.5];this.f=null;this.a=void 0!==a.anchorOrigin?a.anchorOrigin:"top-left";this.l=void 0!==a.anchorXUnits?a.anchorXUnits:"fraction";this.o=void 0!==a.anchorYUnits?a.anchorYUnits:"fraction";var c=void 0!==a.crossOrigin?a.crossOrigin:null,d=void 0!==a.img?a.img:null,e=void 0!==a.imgSize?a.imgSize:null,f=a.src;void 0!==f&&0!==f.length||!d||(f=d.src||x(d).toString());var g=void 0!==a.src?0:2,h=void 0!==a.color?Xe(a.color):null,k=Xi.Zb(),m=k.get(f, 
    159 c,h);m||(m=new Yi(d,f,e,c,g,h),k.set(f,c,h,m));this.b=m;this.D=void 0!==a.offset?a.offset:[0,0];this.g=void 0!==a.offsetOrigin?a.offsetOrigin:"top-left";this.i=null;this.T=void 0!==a.size?a.size:null;Vi.call(this,{opacity:void 0!==a.opacity?a.opacity:1,rotation:void 0!==a.rotation?a.rotation:0,scale:void 0!==a.scale?a.scale:1,snapToPixel:void 0!==a.snapToPixel?a.snapToPixel:!0,rotateWithView:void 0!==a.rotateWithView?a.rotateWithView:!1})}y(Wi,Vi);l=Wi.prototype; 
    160 l.Yb=function(){if(this.f)return this.f;var a=this.c,c=this.Eb();if("fraction"==this.l||"fraction"==this.o){if(!c)return null;a=this.c.slice();"fraction"==this.l&&(a[0]*=c[0]);"fraction"==this.o&&(a[1]*=c[1])}if("top-left"!=this.a){if(!c)return null;a===this.c&&(a=this.c.slice());if("top-right"==this.a||"bottom-right"==this.a)a[0]=-a[0]+c[0];if("bottom-left"==this.a||"bottom-right"==this.a)a[1]=-a[1]+c[1]}return this.f=a};l.gc=function(){var a=this.b;return a.c?a.c:a.a};l.qd=function(){return this.b.f}; 
    161 l.wd=function(){return this.b.g};l.qe=function(){var a=this.b;if(!a.l)if(a.s){var c=a.f[0],d=a.f[1],e=nh(c,d);e.fillRect(0,0,c,d);a.l=e.canvas}else a.l=a.a;return a.l};l.Ha=function(){if(this.i)return this.i;var a=this.D;if("top-left"!=this.g){var c=this.Eb(),d=this.b.f;if(!c||!d)return null;a=a.slice();if("top-right"==this.g||"bottom-right"==this.g)a[0]=d[0]-c[0]-a[0];if("bottom-left"==this.g||"bottom-right"==this.g)a[1]=d[1]-c[1]-a[1]}return this.i=a};l.Tm=function(){return this.b.o}; 
    162 l.Eb=function(){return this.T?this.T:this.b.f};l.hf=function(a,c){return D(this.b,"change",a,c)};l.load=function(){this.b.load()};l.Nf=function(a,c){yb(this.b,"change",a,c)};function Yi(a,c,d,e,f,g){Hb.call(this);this.l=null;this.a=a?a:new Image;null!==e&&(this.a.crossOrigin=e);this.c=g?document.createElement("CANVAS"):null;this.j=g;this.i=null;this.g=f;this.f=d;this.o=c;this.s=!1;2==this.g&&Zi(this)}y(Yi,Hb); 
    163 function Zi(a){var c=nh(1,1);try{c.drawImage(a.a,0,0),c.getImageData(0,0,1,1)}catch(d){a.s=!0}}Yi.prototype.A=function(){this.g=3;this.i.forEach(sb);this.i=null;this.b("change")}; 
    164 Yi.prototype.T=function(){this.g=2;this.f=[this.a.width,this.a.height];this.i.forEach(sb);this.i=null;Zi(this);if(!this.s&&null!==this.j){this.c.width=this.a.width;this.c.height=this.a.height;var a=this.c.getContext("2d");a.drawImage(this.a,0,0);for(var c=a.getImageData(0,0,this.a.width,this.a.height),d=c.data,e=this.j[0]/255,f=this.j[1]/255,g=this.j[2]/255,h=0,k=d.length;h<k;h+=4)d[h]*=e,d[h+1]*=f,d[h+2]*=g;a.putImageData(c,0,0)}this.b("change")}; 
    165 Yi.prototype.load=function(){if(0==this.g){this.g=1;this.i=[xb(this.a,"error",this.A,this),xb(this.a,"load",this.T,this)];try{this.a.src=this.o}catch(a){this.A()}}};function Xi(){this.b={};this.a=0}ca(Xi);Xi.prototype.clear=function(){this.b={};this.a=0};Xi.prototype.get=function(a,c,d){a=c+":"+a+":"+(d?Ze(d):"null");return a in this.b?this.b[a]:null};Xi.prototype.set=function(a,c,d,e){this.b[c+":"+a+":"+(d?Ze(d):"null")]=e;++this.a};function $i(a,c){zb.call(this);this.i=c;this.g={};this.s={}}y($i,zb);function aj(a){var c=a.viewState,d=a.coordinateToPixelMatrix;Ji(d,a.size[0]/2,a.size[1]/2,1/c.resolution,-1/c.resolution,-c.rotation,-c.center[0],-c.center[1]);tc(d,a.pixelToCoordinateMatrix)}l=$i.prototype;l.fa=function(){for(var a in this.g)Db(this.g[a]);$i.ia.fa.call(this)};function bj(){var a=Xi.Zb();if(32<a.a){var c=0,d,e;for(d in a.b)e=a.b[d],0!==(c++&3)||Ib(e)||(delete a.b[d],--a.a)}} 
    166 l.qf=function(a,c,d,e,f,g){function h(a,f){var g=x(a).toString(),h=c.layerStates[x(f)].Pc;if(!(g in c.skippedFeatureUids)||h)return d.call(e,a,h?f:null)}var k,m=c.viewState,n=m.resolution,p=m.projection,m=a;if(p.b){var p=p.G(),q=Wc(p),r=a[0];if(r<p[0]||r>p[2])m=[r+q*Math.ceil((p[0]-r)/q),a[1]]}p=c.layerStatesArray;for(q=p.length-1;0<=q;--q){var t=p[q],r=t.layer;if(Gi(t,n)&&f.call(g,r)&&(t=cj(this,r),r.da()&&(k=t.gb(sg(r.da())?m:a,c,h,e)),k))return k}}; 
    167 l.gh=function(a,c,d,e,f,g){var h,k=c.viewState.resolution,m=c.layerStatesArray,n;for(n=m.length-1;0<=n;--n){h=m[n];var p=h.layer;if(Gi(h,k)&&f.call(g,p)&&(h=cj(this,p).yc(a,c,d,e)))return h}};l.hh=function(a,c,d,e){return void 0!==this.qf(a,c,fd,this,d,e)};function cj(a,c){var d=x(c).toString();if(d in a.g)return a.g[d];var e=a.We(c);a.g[d]=e;a.s[d]=D(e,"change",a.uk,a);return e}l.uk=function(){this.i.render()};l.De=va; 
    168 l.ko=function(a,c){for(var d in this.g)if(!(c&&d in c.layerStates)){var e=d,f=this.g[e];delete this.g[e];sb(this.s[e]);delete this.s[e];Db(f)}};function dj(a,c){for(var d in a.g)if(!(d in c.layerStates)){c.postRenderFunctions.push(a.ko.bind(a));break}}function db(a,c){return a.zIndex-c.zIndex};function ej(a,c){this.o=a;this.i=c;this.b=[];this.a=[];this.g={}}ej.prototype.clear=function(){this.b.length=0;this.a.length=0;nb(this.g)};function fj(a){var c=a.b,d=a.a,e=c[0];1==c.length?(c.length=0,d.length=0):(c[0]=c.pop(),d[0]=d.pop(),gj(a,0));c=a.i(e);delete a.g[c];return e}ej.prototype.f=function(a){var c=this.o(a);return Infinity!=c?(this.b.push(a),this.a.push(c),this.g[this.i(a)]=!0,hj(this,0,this.b.length-1),!0):!1};ej.prototype.rc=function(){return this.b.length}; 
    169 ej.prototype.Oa=function(){return 0===this.b.length};function gj(a,c){for(var d=a.b,e=a.a,f=d.length,g=d[c],h=e[c],k=c;c<f>>1;){var m=2*c+1,n=2*c+2,m=n<f&&e[n]<e[m]?n:m;d[c]=d[m];e[c]=e[m];c=m}d[c]=g;e[c]=h;hj(a,k,c)}function hj(a,c,d){var e=a.b;a=a.a;for(var f=e[d],g=a[d];d>c;){var h=d-1>>1;if(a[h]>g)e[d]=e[h],a[d]=a[h],d=h;else break}e[d]=f;a[d]=g} 
    170 function ij(a){var c=a.o,d=a.b,e=a.a,f=0,g=d.length,h,k,m;for(k=0;k<g;++k)h=d[k],m=c(h),Infinity==m?delete a.g[a.i(h)]:(e[f]=m,d[f++]=h);d.length=f;e.length=f;for(c=(a.b.length>>1)-1;0<=c;c--)gj(a,c)};function jj(a,c){ej.call(this,function(c){return a.apply(null,c)},function(a){return a[0].eb()});this.s=c;this.c=0;this.j={}}y(jj,ej);jj.prototype.f=function(a){var c=jj.ia.f.call(this,a);c&&D(a[0],"change",this.l,this);return c};jj.prototype.l=function(a){a=a.target;var c=a.V();if(2===c||3===c||4===c)yb(a,"change",this.l,this),a=a.eb(),a in this.j&&(delete this.j[a],--this.c),this.s()}; 
    171 function kj(a,c,d){for(var e=0,f;a.c<c&&e<d&&0<a.rc();)f=fj(a)[0],0===f.V()&&(a.j[f.eb()]=!0,++a.c,++e,f.load())};function lj(a,c,d){this.f=a;this.g=c;this.i=d;this.b=[];this.a=this.c=0}function mj(a,c){var d=a.f,e=a.a,f=a.g-e,g=Math.log(a.g/a.a)/a.f;return He({source:c,duration:g,easing:function(a){return e*(Math.exp(d*a*g)-1)/f}})};function nj(a){Mb.call(this);this.A=null;this.i(!0);this.handleEvent=a.handleEvent}y(nj,Mb);nj.prototype.f=function(){return this.get("active")};nj.prototype.j=function(){return this.A};nj.prototype.i=function(a){this.set("active",a)};nj.prototype.setMap=function(a){this.A=a};function oj(a,c,d,e,f){if(void 0!==d){var g=c.Ka(),h=c.Wa();void 0!==g&&h&&f&&0<f&&(a.Ra(Ie({rotation:g,duration:f,easing:De})),e&&a.Ra(He({source:h,duration:f,easing:De})));c.rotate(d,e)}} 
    172 function pj(a,c,d,e,f){var g=c.Z();d=c.constrainResolution(g,d,0);qj(a,c,d,e,f)}function qj(a,c,d,e,f){if(d){var g=c.Z(),h=c.Wa();void 0!==g&&h&&d!==g&&f&&0<f&&(a.Ra(Je({resolution:g,duration:f,easing:De})),e&&a.Ra(He({source:h,duration:f,easing:De})));if(e){var k;a=c.Wa();f=c.Z();void 0!==a&&void 0!==f&&(k=[e[0]-d*(e[0]-a[0])/f,e[1]-d*(e[1]-a[1])/f]);c.mb(k)}c.Vb(d)}};function rj(a){a=a?a:{};this.a=a.delta?a.delta:1;nj.call(this,{handleEvent:sj});this.c=void 0!==a.duration?a.duration:250}y(rj,nj);function sj(a){var c=!1,d=a.originalEvent;if(a.type==si){var c=a.map,e=a.coordinate,d=d.shiftKey?-this.a:this.a,f=c.$();pj(c,f,d,e,this.c);a.preventDefault();c=!0}return!c};function tj(a){a=a.originalEvent;return a.altKey&&!(a.metaKey||a.ctrlKey)&&a.shiftKey}function uj(a){a=a.originalEvent;return 0==a.button&&!(nf&&yh&&a.ctrlKey)}function vj(a){return"pointermove"==a.type}function wj(a){return a.type==ti}function xj(a){a=a.originalEvent;return!a.altKey&&!(a.metaKey||a.ctrlKey)&&!a.shiftKey}function yj(a){a=a.originalEvent;return!a.altKey&&!(a.metaKey||a.ctrlKey)&&a.shiftKey} 
    173 function zj(a){a=a.originalEvent.target.tagName;return"INPUT"!==a&&"SELECT"!==a&&"TEXTAREA"!==a}function Aj(a){return"mouse"==a.b.pointerType};function Bj(a){a=a?a:{};nj.call(this,{handleEvent:a.handleEvent?a.handleEvent:Cj});this.Ec=a.handleDownEvent?a.handleDownEvent:ed;this.$c=a.handleDragEvent?a.handleDragEvent:va;this.Ne=a.handleMoveEvent?a.handleMoveEvent:va;this.Ni=a.handleUpEvent?a.handleUpEvent:ed;this.J=!1;this.Da={};this.l=[]}y(Bj,nj);function Dj(a){for(var c=a.length,d=0,e=0,f=0;f<c;f++)d+=a[f].clientX,e+=a[f].clientY;return[d/c,e/c]} 
    174 function Cj(a){if(!(a instanceof oi))return!0;var c=!1,d=a.type;if(d===xi||d===zi||d===vi)d=a.b,a.type==vi?delete this.Da[d.pointerId]:a.type==xi?this.Da[d.pointerId]=d:d.pointerId in this.Da&&(this.Da[d.pointerId]=d),this.l=ob(this.Da);this.J&&(a.type==zi?this.$c(a):a.type==vi&&(this.J=this.Ni(a)));a.type==xi?(this.J=a=this.Ec(a),c=this.Dc(a)):a.type==yi&&this.Ne(a);return!c}Bj.prototype.Dc=hd;function Ej(a){Bj.call(this,{handleDownEvent:Fj,handleDragEvent:Gj,handleUpEvent:Hj});a=a?a:{};this.a=a.kinetic;this.c=this.o=null;this.B=a.condition?a.condition:xj;this.s=!1}y(Ej,Bj);function Gj(a){var c=Dj(this.l);this.a&&this.a.b.push(c[0],c[1],Date.now());if(this.c){var d=this.c[0]-c[0],e=c[1]-this.c[1];a=a.map;var f=a.$(),g=f.V(),e=d=[d,e],h=g.resolution;e[0]*=h;e[1]*=h;gc(d,g.rotation);bc(d,g.center);d=f.Qd(d);a.render();f.mb(d)}this.c=c} 
    175 function Hj(a){a=a.map;var c=a.$();if(0===this.l.length){var d;if(d=!this.s&&this.a)if(d=this.a,6>d.b.length)d=!1;else{var e=Date.now()-d.i,f=d.b.length-3;if(d.b[f+2]<e)d=!1;else{for(var g=f-3;0<g&&d.b[g+2]>e;)g-=3;var e=d.b[f+2]-d.b[g+2],h=d.b[f]-d.b[g],f=d.b[f+1]-d.b[g+1];d.c=Math.atan2(f,h);d.a=Math.sqrt(h*h+f*f)/e;d=d.a>d.g}}d&&(d=this.a,d=(d.g-d.a)/d.f,f=this.a.c,g=c.Wa(),this.o=mj(this.a,g),a.Ra(this.o),g=a.Ta(g),d=a.La([g[0]-d*Math.cos(f),g[1]-d*Math.sin(f)]),d=c.Qd(d),c.mb(d));Be(c,-1);a.render(); 
    176 return!1}this.c=null;return!0}function Fj(a){if(0<this.l.length&&this.B(a)){var c=a.map,d=c.$();this.c=null;this.J||Be(d,1);c.render();this.o&&Ya(c.H,this.o)&&(d.mb(a.frameState.viewState.center),this.o=null);this.a&&(a=this.a,a.b.length=0,a.c=0,a.a=0);this.s=1<this.l.length;return!0}return!1}Ej.prototype.Dc=ed;function Ij(a){a=a?a:{};Bj.call(this,{handleDownEvent:Jj,handleDragEvent:Kj,handleUpEvent:Lj});this.c=a.condition?a.condition:tj;this.a=void 0;this.o=void 0!==a.duration?a.duration:250}y(Ij,Bj);function Kj(a){if(Aj(a)){var c=a.map,d=c.Va();a=a.pixel;d=Math.atan2(d[1]/2-a[1],a[0]-d[0]/2);if(void 0!==this.a){a=d-this.a;var e=c.$(),f=e.Ka();c.render();oj(c,e,f-a)}this.a=d}} 
    177 function Lj(a){if(!Aj(a))return!0;a=a.map;var c=a.$();Be(c,-1);var d=c.Ka(),e=this.o,d=c.constrainRotation(d,0);oj(a,c,d,void 0,e);return!1}function Jj(a){return Aj(a)&&uj(a)&&this.c(a)?(a=a.map,Be(a.$(),1),a.render(),this.a=void 0,!0):!1}Ij.prototype.Dc=ed;function Mj(a){this.f=null;this.a=document.createElement("div");this.a.style.position="absolute";this.a.className="ol-box "+a;this.g=this.c=this.b=null}y(Mj,zb);Mj.prototype.fa=function(){this.setMap(null);Mj.ia.fa.call(this)};function Nj(a){var c=a.c,d=a.g;a=a.a.style;a.left=Math.min(c[0],d[0])+"px";a.top=Math.min(c[1],d[1])+"px";a.width=Math.abs(d[0]-c[0])+"px";a.height=Math.abs(d[1]-c[1])+"px"} 
    178 Mj.prototype.setMap=function(a){if(this.b){this.b.B.removeChild(this.a);var c=this.a.style;c.left=c.top=c.width=c.height="inherit"}(this.b=a)&&this.b.B.appendChild(this.a)};function Oj(a){var c=a.c,d=a.g,c=[c,[c[0],d[1]],d,[d[0],c[1]]].map(a.b.La,a.b);c[4]=c[0].slice();a.f?a.f.la([c]):a.f=new F([c])}Mj.prototype.X=function(){return this.f};function Pj(a,c,d){Eb.call(this,a);this.coordinate=c;this.mapBrowserEvent=d}y(Pj,Eb);function Qj(a){Bj.call(this,{handleDownEvent:Rj,handleDragEvent:Sj,handleUpEvent:Tj});a=a?a:{};this.a=new Mj(a.className||"ol-dragbox");this.c=null;this.D=a.condition?a.condition:fd;this.B=a.boxEndCondition?a.boxEndCondition:Uj}y(Qj,Bj);function Uj(a,c,d){a=d[0]-c[0];c=d[1]-c[1];return 64<=a*a+c*c} 
    179 function Sj(a){if(Aj(a)){var c=this.a,d=a.pixel;c.c=this.c;c.g=d;Oj(c);Nj(c);this.b(new Pj("boxdrag",a.coordinate,a))}}Qj.prototype.X=function(){return this.a.X()};Qj.prototype.s=va;function Tj(a){if(!Aj(a))return!0;this.a.setMap(null);this.B(a,this.c,a.pixel)&&(this.s(a),this.b(new Pj("boxend",a.coordinate,a)));return!1} 
    180 function Rj(a){if(Aj(a)&&uj(a)&&this.D(a)){this.c=a.pixel;this.a.setMap(a.map);var c=this.a,d=this.c;c.c=this.c;c.g=d;Oj(c);Nj(c);this.b(new Pj("boxstart",a.coordinate,a));return!0}return!1};function Vj(a){a=a?a:{};var c=a.condition?a.condition:yj;this.o=void 0!==a.duration?a.duration:200;Qj.call(this,{condition:c,className:a.className||"ol-dragzoom"})}y(Vj,Qj);Vj.prototype.s=function(){var a=this.A,c=a.$(),d=a.Va(),e=this.X().G(),d=c.constrainResolution(Math.max(Wc(e)/d[0],Xc(e)/d[1])),f=c.Z(),g=c.Wa();a.Ra(Je({resolution:f,duration:this.o,easing:De}));a.Ra(He({source:g,duration:this.o,easing:De}));c.mb(Yc(e));c.Vb(d)};function Wj(a){nj.call(this,{handleEvent:Xj});a=a||{};this.a=void 0!==a.condition?a.condition:jd(xj,zj);this.c=void 0!==a.duration?a.duration:100;this.l=void 0!==a.pixelDelta?a.pixelDelta:128}y(Wj,nj); 
    181 function Xj(a){var c=!1;if("keydown"==a.type){var d=a.originalEvent.keyCode;if(this.a(a)&&(40==d||37==d||39==d||38==d)){var e=a.map,c=e.$(),f=c.Z()*this.l,g=0,h=0;40==d?h=-f:37==d?g=-f:39==d?g=f:h=f;d=[g,h];gc(d,c.Ka());f=this.c;if(g=c.Wa())f&&0<f&&e.Ra(He({source:g,duration:f,easing:Fe})),e=c.Qd([g[0]+d[0],g[1]+d[1]]),c.mb(e);a.preventDefault();c=!0}}return!c};function Yj(a){nj.call(this,{handleEvent:Zj});a=a?a:{};this.c=a.condition?a.condition:zj;this.a=a.delta?a.delta:1;this.l=void 0!==a.duration?a.duration:100}y(Yj,nj);function Zj(a){var c=!1;if("keydown"==a.type||"keypress"==a.type){var d=a.originalEvent.charCode;if(this.c(a)&&(43==d||45==d)){c=a.map;d=43==d?this.a:-this.a;c.render();var e=c.$();pj(c,e,d,void 0,this.l);a.preventDefault();c=!0}}return!c};function ak(a){nj.call(this,{handleEvent:bk});a=a||{};this.c=0;this.J=void 0!==a.duration?a.duration:250;this.s=void 0!==a.useAnchor?a.useAnchor:!0;this.a=null;this.o=this.l=void 0}y(ak,nj); 
    182 function bk(a){var c=!1;if("wheel"==a.type||"mousewheel"==a.type){var c=a.map,d=a.originalEvent;this.s&&(this.a=a.coordinate);var e;"wheel"==a.type?(e=d.deltaY,wh&&d.deltaMode===aa.WheelEvent.DOM_DELTA_PIXEL&&(e/=zh),d.deltaMode===aa.WheelEvent.DOM_DELTA_LINE&&(e*=40)):"mousewheel"==a.type&&(e=-d.wheelDeltaY,xh&&(e/=3));this.c+=e;void 0===this.l&&(this.l=Date.now());e=Math.max(80-(Date.now()-this.l),0);aa.clearTimeout(this.o);this.o=aa.setTimeout(this.B.bind(this,c),e);a.preventDefault();c=!0}return!c} 
    183 ak.prototype.B=function(a){var c=La(this.c,-1,1),d=a.$();a.render();pj(a,d,-c,this.a,this.J);this.c=0;this.a=null;this.o=this.l=void 0};ak.prototype.D=function(a){this.s=a;a||(this.a=null)};function ck(a){Bj.call(this,{handleDownEvent:dk,handleDragEvent:ek,handleUpEvent:fk});a=a||{};this.c=null;this.o=void 0;this.a=!1;this.s=0;this.D=void 0!==a.threshold?a.threshold:.3;this.B=void 0!==a.duration?a.duration:250}y(ck,Bj); 
    184 function ek(a){var c=0,d=this.l[0],e=this.l[1],d=Math.atan2(e.clientY-d.clientY,e.clientX-d.clientX);void 0!==this.o&&(c=d-this.o,this.s+=c,!this.a&&Math.abs(this.s)>this.D&&(this.a=!0));this.o=d;a=a.map;d=Zf(a.a);e=Dj(this.l);e[0]-=d.x;e[1]-=d.y;this.c=a.La(e);this.a&&(d=a.$(),e=d.Ka(),a.render(),oj(a,d,e+c,this.c))}function fk(a){if(2>this.l.length){a=a.map;var c=a.$();Be(c,-1);if(this.a){var d=c.Ka(),e=this.c,f=this.B,d=c.constrainRotation(d,0);oj(a,c,d,e,f)}return!1}return!0} 
    185 function dk(a){return 2<=this.l.length?(a=a.map,this.c=null,this.o=void 0,this.a=!1,this.s=0,this.J||Be(a.$(),1),a.render(),!0):!1}ck.prototype.Dc=ed;function gk(a){Bj.call(this,{handleDownEvent:hk,handleDragEvent:ik,handleUpEvent:jk});a=a?a:{};this.c=null;this.s=void 0!==a.duration?a.duration:400;this.a=void 0;this.o=1}y(gk,Bj);function ik(a){var c=1,d=this.l[0],e=this.l[1],f=d.clientX-e.clientX,d=d.clientY-e.clientY,f=Math.sqrt(f*f+d*d);void 0!==this.a&&(c=this.a/f);this.a=f;1!=c&&(this.o=c);a=a.map;var f=a.$(),d=f.Z(),e=Zf(a.a),g=Dj(this.l);g[0]-=e.x;g[1]-=e.y;this.c=a.La(g);a.render();qj(a,f,d*c,this.c)} 
    186 function jk(a){if(2>this.l.length){a=a.map;var c=a.$();Be(c,-1);var d=c.Z(),e=this.c,f=this.s,d=c.constrainResolution(d,0,this.o-1);qj(a,c,d,e,f);return!1}return!0}function hk(a){return 2<=this.l.length?(a=a.map,this.c=null,this.a=void 0,this.o=1,this.J||Be(a.$(),1),a.render(),!0):!1}gk.prototype.Dc=ed;function kk(a){a=a?a:{};var c=new Se,d=new lj(-.005,.05,100);(void 0!==a.altShiftDragRotate?a.altShiftDragRotate:1)&&c.push(new Ij);(void 0!==a.doubleClickZoom?a.doubleClickZoom:1)&&c.push(new rj({delta:a.zoomDelta,duration:a.zoomDuration}));(void 0!==a.dragPan?a.dragPan:1)&&c.push(new Ej({kinetic:d}));(void 0!==a.pinchRotate?a.pinchRotate:1)&&c.push(new ck);(void 0!==a.pinchZoom?a.pinchZoom:1)&&c.push(new gk({duration:a.zoomDuration}));if(void 0!==a.keyboard?a.keyboard:1)c.push(new Wj),c.push(new Yj({delta:a.zoomDelta, 
    187 duration:a.zoomDuration}));(void 0!==a.mouseWheelZoom?a.mouseWheelZoom:1)&&c.push(new ak({duration:a.zoomDuration}));(void 0!==a.shiftDragZoom?a.shiftDragZoom:1)&&c.push(new Vj({duration:a.zoomDuration}));return c};function lk(a){var c=a||{};a=mb({},c);delete a.layers;c=c.layers;Bi.call(this,a);this.f=[];this.a={};D(this,Ob("layers"),this.wk,this);c?ga(c)&&(c=new Se(c.slice())):c=new Se;this.dh(c)}y(lk,Bi);l=lk.prototype;l.be=function(){this.wb()&&this.u()}; 
    188 l.wk=function(){this.f.forEach(sb);this.f.length=0;var a=this.Sc();this.f.push(D(a,"add",this.vk,this),D(a,"remove",this.xk,this));for(var c in this.a)this.a[c].forEach(sb);nb(this.a);var a=a.a,d,e;c=0;for(d=a.length;c<d;c++)e=a[c],this.a[x(e).toString()]=[D(e,"propertychange",this.be,this),D(e,"change",this.be,this)];this.u()};l.vk=function(a){a=a.element;var c=x(a).toString();this.a[c]=[D(a,"propertychange",this.be,this),D(a,"change",this.be,this)];this.u()}; 
    189 l.xk=function(a){a=x(a.element).toString();this.a[a].forEach(sb);delete this.a[a];this.u()};l.Sc=function(){return this.get("layers")};l.dh=function(a){this.set("layers",a)}; 
    190 l.cf=function(a){var c=void 0!==a?a:[],d=c.length;this.Sc().forEach(function(a){a.cf(c)});a=Ci(this);var e,f;for(e=c.length;d<e;d++)f=c[d],f.opacity*=a.opacity,f.visible=f.visible&&a.visible,f.maxResolution=Math.min(f.maxResolution,a.maxResolution),f.minResolution=Math.max(f.minResolution,a.minResolution),void 0!==a.extent&&(f.extent=void 0!==f.extent?$c(f.extent,a.extent):a.extent);return c};l.df=function(){return"ready"};function mk(a){nd.call(this,{code:a,units:"m",extent:nk,global:!0,worldExtent:ok})}y(mk,nd);mk.prototype.getPointResolution=function(a,c){return a/Ma(c[1]/6378137)};var pk=6378137*Math.PI,nk=[-pk,-pk,pk,pk],ok=[-180,-85,180,85],Ad="EPSG:3857 EPSG:102100 EPSG:102113 EPSG:900913 urn:ogc:def:crs:EPSG:6.18:3:3857 urn:ogc:def:crs:EPSG::3857 http://www.opengis.net/gml/srs/epsg.xml#3857".split(" ").map(function(a){return new mk(a)}); 
    191 function Bd(a,c,d){var e=a.length;d=1<d?d:2;void 0===c&&(2<d?c=a.slice():c=Array(e));for(var f=0;f<e;f+=d)c[f]=6378137*Math.PI*a[f]/180,c[f+1]=6378137*Math.log(Math.tan(Math.PI*(a[f+1]+90)/360));return c}function Cd(a,c,d){var e=a.length;d=1<d?d:2;void 0===c&&(2<d?c=a.slice():c=Array(e));for(var f=0;f<e;f+=d)c[f]=180*a[f]/(6378137*Math.PI),c[f+1]=360*Math.atan(Math.exp(a[f+1]/6378137))/Math.PI-90;return c};var qk=new kd(6378137);function rk(a,c){nd.call(this,{code:a,units:"degrees",extent:sk,axisOrientation:c,global:!0,metersPerUnit:tk,worldExtent:sk})}y(rk,nd);rk.prototype.getPointResolution=function(a){return a}; 
    192 var sk=[-180,-90,180,90],tk=Math.PI*qk.radius/180,Dd=[new rk("CRS:84"),new rk("EPSG:4326","neu"),new rk("urn:ogc:def:crs:EPSG::4326","neu"),new rk("urn:ogc:def:crs:EPSG:6.6:4326","neu"),new rk("urn:ogc:def:crs:OGC:1.3:CRS84"),new rk("urn:ogc:def:crs:OGC:2:84"),new rk("http://www.opengis.net/gml/srs/epsg.xml#4326","neu"),new rk("urn:x-ogc:def:crs:EPSG:4326","neu")];function uk(){rd(Ad);rd(Dd);zd()};function vk(a){Fi.call(this,a?a:{})}y(vk,Fi);function G(a){a=a?a:{};var c=mb({},a);delete c.preload;delete c.useInterimTilesOnError;Fi.call(this,c);this.c(void 0!==a.preload?a.preload:0);this.i(void 0!==a.useInterimTilesOnError?a.useInterimTilesOnError:!0)}y(G,Fi);G.prototype.a=function(){return this.get("preload")};G.prototype.c=function(a){this.set("preload",a)};G.prototype.f=function(){return this.get("useInterimTilesOnError")};G.prototype.i=function(a){this.set("useInterimTilesOnError",a)};var wk=[0,0,0,1],xk=[],yk=[0,0,0,1];function zk(a,c,d,e){0!==c&&(a.translate(d,e),a.rotate(c),a.translate(-d,-e))};function Ak(a){a=a||{};this.b=void 0!==a.color?a.color:null;this.a=void 0}Ak.prototype.g=function(){return this.b};Ak.prototype.f=function(a){this.b=a;this.a=void 0};function Bk(a){void 0===a.a&&(a.a=a.b instanceof CanvasPattern||a.b instanceof CanvasGradient?x(a.b).toString():"f"+(a.b?Ze(a.b):"-"));return a.a};function Ck(){this.a=-1};function Dk(){this.a=-1;this.a=64;this.b=Array(4);this.c=Array(this.a);this.f=this.g=0;this.b[0]=1732584193;this.b[1]=4023233417;this.b[2]=2562383102;this.b[3]=271733878;this.f=this.g=0}y(Dk,Ck); 
    193 function Ek(a,c,d){d||(d=0);var e=Array(16);if(ia(c))for(var f=0;16>f;++f)e[f]=c.charCodeAt(d++)|c.charCodeAt(d++)<<8|c.charCodeAt(d++)<<16|c.charCodeAt(d++)<<24;else for(f=0;16>f;++f)e[f]=c[d++]|c[d++]<<8|c[d++]<<16|c[d++]<<24;c=a.b[0];d=a.b[1];var f=a.b[2],g=a.b[3],h=0,h=c+(g^d&(f^g))+e[0]+3614090360&4294967295;c=d+(h<<7&4294967295|h>>>25);h=g+(f^c&(d^f))+e[1]+3905402710&4294967295;g=c+(h<<12&4294967295|h>>>20);h=f+(d^g&(c^d))+e[2]+606105819&4294967295;f=g+(h<<17&4294967295|h>>>15);h=d+(c^f&(g^ 
    194 c))+e[3]+3250441966&4294967295;d=f+(h<<22&4294967295|h>>>10);h=c+(g^d&(f^g))+e[4]+4118548399&4294967295;c=d+(h<<7&4294967295|h>>>25);h=g+(f^c&(d^f))+e[5]+1200080426&4294967295;g=c+(h<<12&4294967295|h>>>20);h=f+(d^g&(c^d))+e[6]+2821735955&4294967295;f=g+(h<<17&4294967295|h>>>15);h=d+(c^f&(g^c))+e[7]+4249261313&4294967295;d=f+(h<<22&4294967295|h>>>10);h=c+(g^d&(f^g))+e[8]+1770035416&4294967295;c=d+(h<<7&4294967295|h>>>25);h=g+(f^c&(d^f))+e[9]+2336552879&4294967295;g=c+(h<<12&4294967295|h>>>20);h=f+ 
    195 (d^g&(c^d))+e[10]+4294925233&4294967295;f=g+(h<<17&4294967295|h>>>15);h=d+(c^f&(g^c))+e[11]+2304563134&4294967295;d=f+(h<<22&4294967295|h>>>10);h=c+(g^d&(f^g))+e[12]+1804603682&4294967295;c=d+(h<<7&4294967295|h>>>25);h=g+(f^c&(d^f))+e[13]+4254626195&4294967295;g=c+(h<<12&4294967295|h>>>20);h=f+(d^g&(c^d))+e[14]+2792965006&4294967295;f=g+(h<<17&4294967295|h>>>15);h=d+(c^f&(g^c))+e[15]+1236535329&4294967295;d=f+(h<<22&4294967295|h>>>10);h=c+(f^g&(d^f))+e[1]+4129170786&4294967295;c=d+(h<<5&4294967295| 
    196 h>>>27);h=g+(d^f&(c^d))+e[6]+3225465664&4294967295;g=c+(h<<9&4294967295|h>>>23);h=f+(c^d&(g^c))+e[11]+643717713&4294967295;f=g+(h<<14&4294967295|h>>>18);h=d+(g^c&(f^g))+e[0]+3921069994&4294967295;d=f+(h<<20&4294967295|h>>>12);h=c+(f^g&(d^f))+e[5]+3593408605&4294967295;c=d+(h<<5&4294967295|h>>>27);h=g+(d^f&(c^d))+e[10]+38016083&4294967295;g=c+(h<<9&4294967295|h>>>23);h=f+(c^d&(g^c))+e[15]+3634488961&4294967295;f=g+(h<<14&4294967295|h>>>18);h=d+(g^c&(f^g))+e[4]+3889429448&4294967295;d=f+(h<<20&4294967295| 
    197 h>>>12);h=c+(f^g&(d^f))+e[9]+568446438&4294967295;c=d+(h<<5&4294967295|h>>>27);h=g+(d^f&(c^d))+e[14]+3275163606&4294967295;g=c+(h<<9&4294967295|h>>>23);h=f+(c^d&(g^c))+e[3]+4107603335&4294967295;f=g+(h<<14&4294967295|h>>>18);h=d+(g^c&(f^g))+e[8]+1163531501&4294967295;d=f+(h<<20&4294967295|h>>>12);h=c+(f^g&(d^f))+e[13]+2850285829&4294967295;c=d+(h<<5&4294967295|h>>>27);h=g+(d^f&(c^d))+e[2]+4243563512&4294967295;g=c+(h<<9&4294967295|h>>>23);h=f+(c^d&(g^c))+e[7]+1735328473&4294967295;f=g+(h<<14&4294967295| 
    198 h>>>18);h=d+(g^c&(f^g))+e[12]+2368359562&4294967295;d=f+(h<<20&4294967295|h>>>12);h=c+(d^f^g)+e[5]+4294588738&4294967295;c=d+(h<<4&4294967295|h>>>28);h=g+(c^d^f)+e[8]+2272392833&4294967295;g=c+(h<<11&4294967295|h>>>21);h=f+(g^c^d)+e[11]+1839030562&4294967295;f=g+(h<<16&4294967295|h>>>16);h=d+(f^g^c)+e[14]+4259657740&4294967295;d=f+(h<<23&4294967295|h>>>9);h=c+(d^f^g)+e[1]+2763975236&4294967295;c=d+(h<<4&4294967295|h>>>28);h=g+(c^d^f)+e[4]+1272893353&4294967295;g=c+(h<<11&4294967295|h>>>21);h=f+(g^ 
    199 c^d)+e[7]+4139469664&4294967295;f=g+(h<<16&4294967295|h>>>16);h=d+(f^g^c)+e[10]+3200236656&4294967295;d=f+(h<<23&4294967295|h>>>9);h=c+(d^f^g)+e[13]+681279174&4294967295;c=d+(h<<4&4294967295|h>>>28);h=g+(c^d^f)+e[0]+3936430074&4294967295;g=c+(h<<11&4294967295|h>>>21);h=f+(g^c^d)+e[3]+3572445317&4294967295;f=g+(h<<16&4294967295|h>>>16);h=d+(f^g^c)+e[6]+76029189&4294967295;d=f+(h<<23&4294967295|h>>>9);h=c+(d^f^g)+e[9]+3654602809&4294967295;c=d+(h<<4&4294967295|h>>>28);h=g+(c^d^f)+e[12]+3873151461&4294967295; 
    200 g=c+(h<<11&4294967295|h>>>21);h=f+(g^c^d)+e[15]+530742520&4294967295;f=g+(h<<16&4294967295|h>>>16);h=d+(f^g^c)+e[2]+3299628645&4294967295;d=f+(h<<23&4294967295|h>>>9);h=c+(f^(d|~g))+e[0]+4096336452&4294967295;c=d+(h<<6&4294967295|h>>>26);h=g+(d^(c|~f))+e[7]+1126891415&4294967295;g=c+(h<<10&4294967295|h>>>22);h=f+(c^(g|~d))+e[14]+2878612391&4294967295;f=g+(h<<15&4294967295|h>>>17);h=d+(g^(f|~c))+e[5]+4237533241&4294967295;d=f+(h<<21&4294967295|h>>>11);h=c+(f^(d|~g))+e[12]+1700485571&4294967295;c=d+ 
    201 (h<<6&4294967295|h>>>26);h=g+(d^(c|~f))+e[3]+2399980690&4294967295;g=c+(h<<10&4294967295|h>>>22);h=f+(c^(g|~d))+e[10]+4293915773&4294967295;f=g+(h<<15&4294967295|h>>>17);h=d+(g^(f|~c))+e[1]+2240044497&4294967295;d=f+(h<<21&4294967295|h>>>11);h=c+(f^(d|~g))+e[8]+1873313359&4294967295;c=d+(h<<6&4294967295|h>>>26);h=g+(d^(c|~f))+e[15]+4264355552&4294967295;g=c+(h<<10&4294967295|h>>>22);h=f+(c^(g|~d))+e[6]+2734768916&4294967295;f=g+(h<<15&4294967295|h>>>17);h=d+(g^(f|~c))+e[13]+1309151649&4294967295; 
    202 d=f+(h<<21&4294967295|h>>>11);h=c+(f^(d|~g))+e[4]+4149444226&4294967295;c=d+(h<<6&4294967295|h>>>26);h=g+(d^(c|~f))+e[11]+3174756917&4294967295;g=c+(h<<10&4294967295|h>>>22);h=f+(c^(g|~d))+e[2]+718787259&4294967295;f=g+(h<<15&4294967295|h>>>17);h=d+(g^(f|~c))+e[9]+3951481745&4294967295;a.b[0]=a.b[0]+c&4294967295;a.b[1]=a.b[1]+(f+(h<<21&4294967295|h>>>11))&4294967295;a.b[2]=a.b[2]+f&4294967295;a.b[3]=a.b[3]+g&4294967295} 
    203 function Fk(a,c){var d;ba(d)||(d=c.length);for(var e=d-a.a,f=a.c,g=a.g,h=0;h<d;){if(0==g)for(;h<=e;)Ek(a,c,h),h+=a.a;if(ia(c))for(;h<d;){if(f[g++]=c.charCodeAt(h++),g==a.a){Ek(a,f);g=0;break}}else for(;h<d;)if(f[g++]=c[h++],g==a.a){Ek(a,f);g=0;break}}a.g=g;a.f+=d};function Gk(a){a=a||{};this.b=void 0!==a.color?a.color:null;this.f=a.lineCap;this.g=void 0!==a.lineDash?a.lineDash:null;this.c=a.lineJoin;this.i=a.miterLimit;this.a=a.width;this.j=void 0}l=Gk.prototype;l.Zm=function(){return this.b};l.Jj=function(){return this.f};l.$m=function(){return this.g};l.Kj=function(){return this.c};l.Pj=function(){return this.i};l.an=function(){return this.a};l.bn=function(a){this.b=a;this.j=void 0};l.vo=function(a){this.f=a;this.j=void 0}; 
    204 l.cn=function(a){this.g=a;this.j=void 0};l.wo=function(a){this.c=a;this.j=void 0};l.xo=function(a){this.i=a;this.j=void 0};l.Bo=function(a){this.a=a;this.j=void 0}; 
    205 function Hk(a){if(void 0===a.j){var c="s"+(a.b?Ze(a.b):"-")+","+(void 0!==a.f?a.f.toString():"-")+","+(a.g?a.g.toString():"-")+","+(void 0!==a.c?a.c:"-")+","+(void 0!==a.i?a.i.toString():"-")+","+(void 0!==a.a?a.a.toString():"-"),d=new Dk;Fk(d,c);c=Array((56>d.g?d.a:2*d.a)-d.g);c[0]=128;for(var e=1;e<c.length-8;++e)c[e]=0;for(var f=8*d.f,e=c.length-8;e<c.length;++e)c[e]=f&255,f/=256;Fk(d,c);c=Array(16);for(e=f=0;4>e;++e)for(var g=0;32>g;g+=8)c[f++]=d.b[e]>>>g&255;if(8192>=c.length)d=String.fromCharCode.apply(null, 
    206 c);else for(d="",e=0;e<c.length;e+=8192)f=Zb(c,e,e+8192),d+=String.fromCharCode.apply(null,f);a.j=d}return a.j};function Ik(a){a=a||{};this.i=this.b=this.c=null;this.f=void 0!==a.fill?a.fill:null;this.a=void 0!==a.stroke?a.stroke:null;this.g=a.radius;this.T=[0,0];this.o=this.D=this.l=null;var c=a.atlasManager,d,e=null,f,g=0;this.a&&(f=Ze(this.a.b),g=this.a.a,void 0===g&&(g=1),e=this.a.g,Ah||(e=null));var h=2*(this.g+g)+1;f={strokeStyle:f,Dd:g,size:h,lineDash:e};if(void 0===c)this.b=document.createElement("CANVAS"),this.b.height=h,this.b.width=h,d=h=this.b.width,c=this.b.getContext("2d"),this.qh(f,c,0,0),this.f? 
    207 this.i=this.b:(c=this.i=document.createElement("CANVAS"),c.height=f.size,c.width=f.size,c=c.getContext("2d"),this.ph(f,c,0,0));else{h=Math.round(h);(e=!this.f)&&(d=this.ph.bind(this,f));var g=this.a?Hk(this.a):"-",k=this.f?Bk(this.f):"-";this.c&&g==this.c[1]&&k==this.c[2]&&this.g==this.c[3]||(this.c=["c"+g+k+(void 0!==this.g?this.g.toString():"-"),g,k,this.g]);f=Jk(c,this.c[0],h,h,this.qh.bind(this,f),d);this.b=f.image;this.T=[f.offsetX,f.offsetY];d=f.image.width;this.i=e?f.Ig:this.b}this.l=[h/2, 
    208 h/2];this.D=[h,h];this.o=[d,d];Vi.call(this,{opacity:1,rotateWithView:!1,rotation:0,scale:1,snapToPixel:void 0!==a.snapToPixel?a.snapToPixel:!0})}y(Ik,Vi);l=Ik.prototype;l.Yb=function(){return this.l};l.Qm=function(){return this.f};l.qe=function(){return this.i};l.gc=function(){return this.b};l.wd=function(){return 2};l.qd=function(){return this.o};l.Ha=function(){return this.T};l.Rm=function(){return this.g};l.Eb=function(){return this.D};l.Sm=function(){return this.a};l.hf=va;l.load=va;l.Nf=va; 
    209 l.qh=function(a,c,d,e){c.setTransform(1,0,0,1,0,0);c.translate(d,e);c.beginPath();c.arc(a.size/2,a.size/2,this.g,0,2*Math.PI,!0);this.f&&(c.fillStyle=af(this.f.b),c.fill());this.a&&(c.strokeStyle=a.strokeStyle,c.lineWidth=a.Dd,a.lineDash&&c.setLineDash(a.lineDash),c.stroke());c.closePath()}; 
    210 l.ph=function(a,c,d,e){c.setTransform(1,0,0,1,0,0);c.translate(d,e);c.beginPath();c.arc(a.size/2,a.size/2,this.g,0,2*Math.PI,!0);c.fillStyle=Ze(wk);c.fill();this.a&&(c.strokeStyle=a.strokeStyle,c.lineWidth=a.Dd,a.lineDash&&c.setLineDash(a.lineDash),c.stroke());c.closePath()};function Kk(a){a=a||{};this.i=null;this.f=Lk;void 0!==a.geometry&&this.th(a.geometry);this.c=void 0!==a.fill?a.fill:null;this.a=void 0!==a.image?a.image:null;this.g=void 0!==a.stroke?a.stroke:null;this.j=void 0!==a.text?a.text:null;this.b=a.zIndex}l=Kk.prototype;l.X=function(){return this.i};l.Ej=function(){return this.f};l.dn=function(){return this.c};l.en=function(){return this.a};l.fn=function(){return this.g};l.Fa=function(){return this.j};l.gn=function(){return this.b}; 
    211 l.th=function(a){ka(a)?this.f=a:"string"===typeof a?this.f=function(c){return c.get(a)}:a?void 0!==a&&(this.f=function(){return a}):this.f=Lk;this.i=a};l.hn=function(a){this.b=a};function Mk(a){if(!ka(a)){var c;c=ga(a)?a:[a];a=function(){return c}}return a}var Nk=null;function Ok(){if(!Nk){var a=new Ak({color:"rgba(255,255,255,0.4)"}),c=new Gk({color:"#3399CC",width:1.25});Nk=[new Kk({image:new Ik({fill:a,stroke:c,radius:5}),fill:a,stroke:c})]}return Nk} 
    212 function Pk(){var a={},c=[255,255,255,1],d=[0,153,255,1];a.Polygon=[new Kk({fill:new Ak({color:[255,255,255,.5]})})];a.MultiPolygon=a.Polygon;a.LineString=[new Kk({stroke:new Gk({color:c,width:5})}),new Kk({stroke:new Gk({color:d,width:3})})];a.MultiLineString=a.LineString;a.Circle=a.Polygon.concat(a.LineString);a.Point=[new Kk({image:new Ik({radius:6,fill:new Ak({color:d}),stroke:new Gk({color:c,width:1.5})}),zIndex:Infinity})];a.MultiPoint=a.Point;a.GeometryCollection=a.Polygon.concat(a.LineString, 
    213 a.Point);return a}function Lk(a){return a.X()};function H(a){a=a?a:{};var c=mb({},a);delete c.style;delete c.renderBuffer;delete c.updateWhileAnimating;delete c.updateWhileInteracting;Fi.call(this,c);this.a=void 0!==a.renderBuffer?a.renderBuffer:100;this.B=null;this.f=void 0;this.c(a.style);this.s=void 0!==a.updateWhileAnimating?a.updateWhileAnimating:!1;this.A=void 0!==a.updateWhileInteracting?a.updateWhileInteracting:!1}y(H,Fi);function Qk(a){return a.get("renderOrder")}H.prototype.J=function(){return this.B};H.prototype.D=function(){return this.f}; 
    214 H.prototype.c=function(a){this.B=void 0!==a?a:Ok;this.f=null===a?void 0:Mk(this.B);this.u()};function L(a){a=a?a:{};var c=mb({},a);delete c.preload;delete c.useInterimTilesOnError;H.call(this,c);this.U(a.preload?a.preload:0);this.aa(a.useInterimTilesOnError?a.useInterimTilesOnError:!0)}y(L,H);L.prototype.i=function(){return this.get("preload")};L.prototype.S=function(){return this.get("useInterimTilesOnError")};L.prototype.U=function(a){this.set("preload",a)};L.prototype.aa=function(a){this.set("useInterimTilesOnError",a)};function Rk(a,c,d,e,f){this.T={};this.g=a;this.J=c;this.c=d;this.H=e;this.$c=f;this.i=this.b=this.a=this.wa=this.Da=this.aa=null;this.oa=this.na=this.A=this.S=this.ua=this.ta=0;this.ya=!1;this.j=this.qb=0;this.Fb=!1;this.Ga=0;this.f="";this.o=this.D=this.oc=this.nc=0;this.U=this.s=this.l=null;this.B=[];this.Ec=nc()} 
    215 function Sk(a,c,d){if(a.i){c=Nd(c,0,d,2,a.H,a.B);d=a.g;var e=a.Ec,f=d.globalAlpha;1!=a.A&&(d.globalAlpha=f*a.A);var g=a.qb;a.ya&&(g+=a.$c);var h,k;h=0;for(k=c.length;h<k;h+=2){var m=c[h]-a.ta,n=c[h+1]-a.ua;a.Fb&&(m=Math.round(m),n=Math.round(n));if(0!==g||1!=a.j){var p=m+a.ta,q=n+a.ua;Ji(e,p,q,a.j,a.j,g,-p,-q);d.setTransform(e[0],e[1],e[4],e[5],e[12],e[13])}d.drawImage(a.i,a.na,a.oa,a.Ga,a.S,m,n,a.Ga,a.S)}0===g&&1==a.j||d.setTransform(1,0,0,1,0,0);1!=a.A&&(d.globalAlpha=f)}} 
    216 function Tk(a,c,d,e){var f=0;if(a.U&&""!==a.f){a.l&&Uk(a,a.l);a.s&&Vk(a,a.s);var g=a.U,h=a.g,k=a.wa;k?(k.font!=g.font&&(k.font=h.font=g.font),k.textAlign!=g.textAlign&&(k.textAlign=h.textAlign=g.textAlign),k.textBaseline!=g.textBaseline&&(k.textBaseline=h.textBaseline=g.textBaseline)):(h.font=g.font,h.textAlign=g.textAlign,h.textBaseline=g.textBaseline,a.wa={font:g.font,textAlign:g.textAlign,textBaseline:g.textBaseline});c=Nd(c,f,d,e,a.H,a.B);for(g=a.g;f<d;f+=e){h=c[f]+a.nc;k=c[f+1]+a.oc;if(0!==a.D|| 
    217 1!=a.o){var m=Ji(a.Ec,h,k,a.o,a.o,a.D,-h,-k);g.setTransform(m[0],m[1],m[4],m[5],m[12],m[13])}a.s&&g.strokeText(a.f,h,k);a.l&&g.fillText(a.f,h,k)}0===a.D&&1==a.o||g.setTransform(1,0,0,1,0,0)}}function Wk(a,c,d,e,f,g){var h=a.g;a=Nd(c,d,e,f,a.H,a.B);h.moveTo(a[0],a[1]);for(c=2;c<a.length;c+=2)h.lineTo(a[c],a[c+1]);g&&h.lineTo(a[0],a[1]);return e}function Xk(a,c,d,e,f){var g=a.g,h,k;h=0;for(k=e.length;h<k;++h)d=Wk(a,c,d,e[h],f,!0),g.closePath();return d}l=Rk.prototype; 
    218 l.ld=function(a,c){var d=a.toString(),e=this.T[d];void 0!==e?e.push(c):this.T[d]=[c]};l.Ic=function(a){if(ad(this.c,a.G())){if(this.a||this.b){this.a&&Uk(this,this.a);this.b&&Vk(this,this.b);var c;c=this.H;var d=this.B,e=a.ha();c=e?Nd(e,0,e.length,a.qa(),c,d):null;d=c[2]-c[0];e=c[3]-c[1];d=Math.sqrt(d*d+e*e);e=this.g;e.beginPath();e.arc(c[0],c[1],d,0,2*Math.PI);this.a&&e.fill();this.b&&e.stroke()}""!==this.f&&Tk(this,a.vd(),2,2)}}; 
    219 l.Xe=function(a,c){var d=(0,c.f)(a);if(d&&ad(this.c,d.G())){var e=c.b;void 0===e&&(e=0);this.ld(e,function(a){a.hb(c.c,c.g);a.yb(c.a);a.ib(c.Fa());Yk[d.W()].call(a,d,null)})}};l.Sd=function(a,c){var d=a.i,e,f;e=0;for(f=d.length;e<f;++e){var g=d[e];Yk[g.W()].call(this,g,c)}};l.Ib=function(a){var c=a.ha();a=a.qa();this.i&&Sk(this,c,c.length);""!==this.f&&Tk(this,c,c.length,a)};l.Hb=function(a){var c=a.ha();a=a.qa();this.i&&Sk(this,c,c.length);""!==this.f&&Tk(this,c,c.length,a)}; 
    220 l.Xb=function(a){if(ad(this.c,a.G())){if(this.b){Vk(this,this.b);var c=this.g,d=a.ha();c.beginPath();Wk(this,d,0,d.length,a.qa(),!1);c.stroke()}""!==this.f&&(a=Zk(a),Tk(this,a,2,2))}};l.Jc=function(a){var c=a.G();if(ad(this.c,c)){if(this.b){Vk(this,this.b);var c=this.g,d=a.ha(),e=0,f=a.Cb(),g=a.qa();c.beginPath();var h,k;h=0;for(k=f.length;h<k;++h)e=Wk(this,d,e,f[h],g,!1);c.stroke()}""!==this.f&&(a=$k(a),Tk(this,a,a.length,2))}}; 
    221 l.Lc=function(a){if(ad(this.c,a.G())){if(this.b||this.a){this.a&&Uk(this,this.a);this.b&&Vk(this,this.b);var c=this.g;c.beginPath();Xk(this,a.Rb(),0,a.Cb(),a.qa());this.a&&c.fill();this.b&&c.stroke()}""!==this.f&&(a=se(a),Tk(this,a,2,2))}}; 
    222 l.Kc=function(a){if(ad(this.c,a.G())){if(this.b||this.a){this.a&&Uk(this,this.a);this.b&&Vk(this,this.b);var c=this.g,d=al(a),e=0,f=a.c,g=a.qa(),h,k;h=0;for(k=f.length;h<k;++h){var m=f[h];c.beginPath();e=Xk(this,d,e,m,g);this.a&&c.fill();this.b&&c.stroke()}}""!==this.f&&(a=bl(a),Tk(this,a,a.length,2))}};function cl(a){var c=Object.keys(a.T).map(Number);c.sort(Ta);var d,e,f,g,h;d=0;for(e=c.length;d<e;++d)for(f=a.T[c[d].toString()],g=0,h=f.length;g<h;++g)f[g](a)} 
    223 function Uk(a,c){var d=a.g,e=a.aa;e?e.fillStyle!=c.fillStyle&&(e.fillStyle=d.fillStyle=c.fillStyle):(d.fillStyle=c.fillStyle,a.aa={fillStyle:c.fillStyle})} 
    224 function Vk(a,c){var d=a.g,e=a.Da;e?(e.lineCap!=c.lineCap&&(e.lineCap=d.lineCap=c.lineCap),Ah&&!bb(e.lineDash,c.lineDash)&&d.setLineDash(e.lineDash=c.lineDash),e.lineJoin!=c.lineJoin&&(e.lineJoin=d.lineJoin=c.lineJoin),e.lineWidth!=c.lineWidth&&(e.lineWidth=d.lineWidth=c.lineWidth),e.miterLimit!=c.miterLimit&&(e.miterLimit=d.miterLimit=c.miterLimit),e.strokeStyle!=c.strokeStyle&&(e.strokeStyle=d.strokeStyle=c.strokeStyle)):(d.lineCap=c.lineCap,Ah&&d.setLineDash(c.lineDash),d.lineJoin=c.lineJoin,d.lineWidth= 
    225 c.lineWidth,d.miterLimit=c.miterLimit,d.strokeStyle=c.strokeStyle,a.Da={lineCap:c.lineCap,lineDash:c.lineDash,lineJoin:c.lineJoin,lineWidth:c.lineWidth,miterLimit:c.miterLimit,strokeStyle:c.strokeStyle})} 
    226 l.hb=function(a,c){if(a){var d=a.b;this.a={fillStyle:af(d?d:wk)}}else this.a=null;if(c){var d=c.b,e=c.f,f=c.g,g=c.c,h=c.a,k=c.i;this.b={lineCap:void 0!==e?e:"round",lineDash:f?f:xk,lineJoin:void 0!==g?g:"round",lineWidth:this.J*(void 0!==h?h:1),miterLimit:void 0!==k?k:10,strokeStyle:Ze(d?d:yk)}}else this.b=null}; 
    227 l.yb=function(a){if(a){var c=a.Yb(),d=a.gc(1),e=a.Ha(),f=a.Eb();this.ta=c[0];this.ua=c[1];this.S=f[1];this.i=d;this.A=a.A;this.na=e[0];this.oa=e[1];this.ya=a.B;this.qb=a.s;this.j=a.j;this.Fb=a.J;this.Ga=f[0]}else this.i=null}; 
    228 l.ib=function(a){if(a){var c=a.b;c?(c=c.b,this.l={fillStyle:af(c?c:wk)}):this.l=null;var d=a.j;if(d){var c=d.b,e=d.f,f=d.g,g=d.c,h=d.a,d=d.i;this.s={lineCap:void 0!==e?e:"round",lineDash:f?f:xk,lineJoin:void 0!==g?g:"round",lineWidth:void 0!==h?h:1,miterLimit:void 0!==d?d:10,strokeStyle:Ze(c?c:yk)}}else this.s=null;var c=a.g,e=a.f,f=a.c,g=a.i,h=a.a,d=a.Fa(),k=a.l;a=a.o;this.U={font:void 0!==c?c:"10px sans-serif",textAlign:void 0!==k?k:"center",textBaseline:void 0!==a?a:"middle"};this.f=void 0!==d? 
    229 d:"";this.nc=void 0!==e?this.J*e:0;this.oc=void 0!==f?this.J*f:0;this.D=void 0!==g?g:0;this.o=this.J*(void 0!==h?h:1)}else this.f=""};var Yk={Point:Rk.prototype.Ib,LineString:Rk.prototype.Xb,Polygon:Rk.prototype.Lc,MultiPoint:Rk.prototype.Hb,MultiLineString:Rk.prototype.Jc,MultiPolygon:Rk.prototype.Kc,GeometryCollection:Rk.prototype.Sd,Circle:Rk.prototype.Ic};function dl(a){Mi.call(this,a);this.H=nc()}y(dl,Mi); 
    230 dl.prototype.c=function(a,c,d){el(this,"precompose",d,a,void 0);var e=this.f?this.f.a():null;if(e){var f=c.extent,g=void 0!==f;if(g){var h=a.pixelRatio,k=a.size[0]*h,m=a.size[1]*h,n=a.viewState.rotation,p=Sc(f),q=Rc(f),r=Qc(f),f=Pc(f);Li(a.coordinateToPixelMatrix,p,p);Li(a.coordinateToPixelMatrix,q,q);Li(a.coordinateToPixelMatrix,r,r);Li(a.coordinateToPixelMatrix,f,f);d.save();zk(d,-n,k/2,m/2);d.beginPath();d.moveTo(p[0]*h,p[1]*h);d.lineTo(q[0]*h,q[1]*h);d.lineTo(r[0]*h,r[1]*h);d.lineTo(f[0]*h,f[1]* 
    231 h);d.clip();zk(d,n,k/2,m/2)}h=this.o;k=d.globalAlpha;d.globalAlpha=c.opacity;d.drawImage(e,0,0,+e.width,+e.height,Math.round(h[12]),Math.round(h[13]),Math.round(e.width*h[0]),Math.round(e.height*h[5]));d.globalAlpha=k;g&&d.restore()}fl(this,d,a)}; 
    232 function el(a,c,d,e,f){var g=a.a;if(Ib(g,c)){var h=e.size[0]*e.pixelRatio,k=e.size[1]*e.pixelRatio,m=e.viewState.rotation;zk(d,-m,h/2,k/2);a=void 0!==f?f:gl(a,e,0);a=new Rk(d,e.pixelRatio,e.extent,a,e.viewState.rotation);g.b(new Ei(c,g,a,e,d,null));cl(a);zk(d,m,h/2,k/2)}}function fl(a,c,d,e){el(a,"postcompose",c,d,e)}function gl(a,c,d){var e=c.viewState,f=c.pixelRatio;return Ji(a.H,f*c.size[0]/2,f*c.size[1]/2,f/e.resolution,-f/e.resolution,-e.rotation,-e.center[0]+d,-e.center[1])};var hl=["Polygon","LineString","Image","Text"];function il(a,c,d){this.na=a;this.Ga=c;this.f=null;this.c=0;this.resolution=d;this.ua=this.ta=null;this.a=[];this.coordinates=[];this.aa=nc();this.b=[];this.U=[];this.Da=nc();this.wa=nc()}y(il,Di); 
    233 function jl(a,c,d,e,f,g){var h=a.coordinates.length,k=a.Ze(),m=[c[d],c[d+1]],n=[NaN,NaN],p=!0,q,r,t;for(q=d+f;q<e;q+=f)n[0]=c[q],n[1]=c[q+1],t=Hc(k,n),t!==r?(p&&(a.coordinates[h++]=m[0],a.coordinates[h++]=m[1]),a.coordinates[h++]=n[0],a.coordinates[h++]=n[1],p=!1):1===t?(a.coordinates[h++]=n[0],a.coordinates[h++]=n[1],p=!1):p=!0,m[0]=n[0],m[1]=n[1],r=t;q===d+f&&(a.coordinates[h++]=m[0],a.coordinates[h++]=m[1]);g&&(a.coordinates[h++]=c[d],a.coordinates[h++]=c[d+1]);return h} 
    234 function kl(a,c){a.ta=[0,c,0];a.a.push(a.ta);a.ua=[0,c,0];a.b.push(a.ua)} 
    235 function ll(a,c,d,e,f,g,h,k,m){var n;Ki(e,a.aa)?n=a.U:(n=Nd(a.coordinates,0,a.coordinates.length,2,e,a.U),qc(a.aa,e));e=!pb(g);var p=0,q=h.length,r=0,t,v=a.Da;a=a.wa;for(var w,A,B,z;p<q;){var C=h[p],O,I,K,P;switch(C[0]){case 0:r=C[1];e&&g[x(r).toString()]||!r.X()?p=C[2]:void 0===m||ad(m,r.X().G())?++p:p=C[2];break;case 1:c.beginPath();++p;break;case 2:r=C[1];t=n[r];C=n[r+1];B=n[r+2]-t;r=n[r+3]-C;c.arc(t,C,Math.sqrt(B*B+r*r),0,2*Math.PI,!0);++p;break;case 3:c.closePath();++p;break;case 4:r=C[1];t= 
    236 C[2];O=C[3];K=C[4]*d;var da=C[5]*d,J=C[6];I=C[7];var ea=C[8],Ga=C[9];B=C[11];z=C[12];var $a=C[13],ab=C[14];for(C[10]&&(B+=f);r<t;r+=2){C=n[r]-K;P=n[r+1]-da;$a&&(C=Math.round(C),P=Math.round(P));if(1!=z||0!==B){var Oa=C+K,Ec=P+da;Ji(v,Oa,Ec,z,z,B,-Oa,-Ec);c.transform(v[0],v[1],v[4],v[5],v[12],v[13])}Oa=c.globalAlpha;1!=I&&(c.globalAlpha=Oa*I);var Ec=ab+ea>O.width?O.width-ea:ab,Uc=J+Ga>O.height?O.height-Ga:J;c.drawImage(O,ea,Ga,Ec,Uc,C,P,Ec*d,Uc*d);1!=I&&(c.globalAlpha=Oa);if(1!=z||0!==B)tc(v,a),c.transform(a[0], 
    237 a[1],a[4],a[5],a[12],a[13])}++p;break;case 5:r=C[1];t=C[2];K=C[3];da=C[4]*d;J=C[5]*d;B=C[6];z=C[7]*d;O=C[8];for(I=C[9];r<t;r+=2){C=n[r]+da;P=n[r+1]+J;if(1!=z||0!==B)Ji(v,C,P,z,z,B,-C,-P),c.transform(v[0],v[1],v[4],v[5],v[12],v[13]);ea=K.split("\n");Ga=ea.length;1<Ga?($a=Math.round(1.5*c.measureText("M").width),P-=(Ga-1)/2*$a):$a=0;for(ab=0;ab<Ga;ab++)Oa=ea[ab],I&&c.strokeText(Oa,C,P),O&&c.fillText(Oa,C,P),P+=$a;if(1!=z||0!==B)tc(v,a),c.transform(a[0],a[1],a[4],a[5],a[12],a[13])}++p;break;case 6:if(void 0!== 
    238 k&&(r=C[1],r=k(r)))return r;++p;break;case 7:c.fill();++p;break;case 8:r=C[1];t=C[2];C=n[r];P=n[r+1];B=C+.5|0;z=P+.5|0;if(B!==w||z!==A)c.moveTo(C,P),w=B,A=z;for(r+=2;r<t;r+=2)if(C=n[r],P=n[r+1],B=C+.5|0,z=P+.5|0,B!==w||z!==A)c.lineTo(C,P),w=B,A=z;++p;break;case 9:c.fillStyle=C[1];++p;break;case 10:w=void 0!==C[7]?C[7]:!0;A=C[2];c.strokeStyle=C[1];c.lineWidth=w?A*d:A;c.lineCap=C[3];c.lineJoin=C[4];c.miterLimit=C[5];Ah&&c.setLineDash(C[6]);A=w=NaN;++p;break;case 11:c.font=C[1];c.textAlign=C[2];c.textBaseline= 
    239 C[3];++p;break;case 12:c.stroke();++p;break;default:++p}}}function ml(a){var c=a.b;c.reverse();var d,e=c.length,f,g,h=-1;for(d=0;d<e;++d)if(f=c[d],g=f[0],6==g)h=d;else if(0==g){f[2]=d;f=a.b;for(g=d;h<g;){var k=f[h];f[h]=f[g];f[g]=k;++h;--g}h=-1}}function nl(a,c){a.ta[2]=a.a.length;a.ta=null;a.ua[2]=a.b.length;a.ua=null;var d=[6,c];a.a.push(d);a.b.push(d)}il.prototype.me=va;il.prototype.Ze=function(){return this.Ga}; 
    240 function pl(a,c,d){il.call(this,a,c,d);this.l=this.S=null;this.H=this.D=this.J=this.B=this.T=this.A=this.s=this.o=this.j=this.i=this.g=void 0}y(pl,il);pl.prototype.Ib=function(a,c){if(this.l){kl(this,c);var d=a.ha(),e=this.coordinates.length,d=jl(this,d,0,d.length,a.qa(),!1);this.a.push([4,e,d,this.l,this.g,this.i,this.j,this.o,this.s,this.A,this.T,this.B,this.J,this.D,this.H]);this.b.push([4,e,d,this.S,this.g,this.i,this.j,this.o,this.s,this.A,this.T,this.B,this.J,this.D,this.H]);nl(this,c)}}; 
    241 pl.prototype.Hb=function(a,c){if(this.l){kl(this,c);var d=a.ha(),e=this.coordinates.length,d=jl(this,d,0,d.length,a.qa(),!1);this.a.push([4,e,d,this.l,this.g,this.i,this.j,this.o,this.s,this.A,this.T,this.B,this.J,this.D,this.H]);this.b.push([4,e,d,this.S,this.g,this.i,this.j,this.o,this.s,this.A,this.T,this.B,this.J,this.D,this.H]);nl(this,c)}};pl.prototype.me=function(){ml(this);this.i=this.g=void 0;this.l=this.S=null;this.H=this.D=this.B=this.T=this.A=this.s=this.o=this.J=this.j=void 0}; 
    242 pl.prototype.yb=function(a){var c=a.Yb(),d=a.Eb(),e=a.qe(1),f=a.gc(1),g=a.Ha();this.g=c[0];this.i=c[1];this.S=e;this.l=f;this.j=d[1];this.o=a.A;this.s=g[0];this.A=g[1];this.T=a.B;this.B=a.s;this.J=a.j;this.D=a.J;this.H=d[0]};function ql(a,c,d){il.call(this,a,c,d);this.g={jd:void 0,dd:void 0,ed:null,fd:void 0,gd:void 0,hd:void 0,gf:0,strokeStyle:void 0,lineCap:void 0,lineDash:null,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0}}y(ql,il); 
    243 function rl(a,c,d,e,f){var g=a.coordinates.length;c=jl(a,c,d,e,f,!1);g=[8,g,c];a.a.push(g);a.b.push(g);return e}l=ql.prototype;l.Ze=function(){this.f||(this.f=Bc(this.Ga),0<this.c&&Ac(this.f,this.resolution*(this.c+1)/2,this.f));return this.f}; 
    244 function sl(a){var c=a.g,d=c.strokeStyle,e=c.lineCap,f=c.lineDash,g=c.lineJoin,h=c.lineWidth,k=c.miterLimit;c.jd==d&&c.dd==e&&bb(c.ed,f)&&c.fd==g&&c.gd==h&&c.hd==k||(c.gf!=a.coordinates.length&&(a.a.push([12]),c.gf=a.coordinates.length),a.a.push([10,d,h,e,g,k,f],[1]),c.jd=d,c.dd=e,c.ed=f,c.fd=g,c.gd=h,c.hd=k)} 
    245 l.Xb=function(a,c){var d=this.g,e=d.lineWidth;void 0!==d.strokeStyle&&void 0!==e&&(sl(this),kl(this,c),this.b.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash],[1]),d=a.ha(),rl(this,d,0,d.length,a.qa()),this.b.push([12]),nl(this,c))}; 
    246 l.Jc=function(a,c){var d=this.g,e=d.lineWidth;if(void 0!==d.strokeStyle&&void 0!==e){sl(this);kl(this,c);this.b.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash],[1]);var d=a.Cb(),e=a.ha(),f=a.qa(),g=0,h,k;h=0;for(k=d.length;h<k;++h)g=rl(this,e,g,d[h],f);this.b.push([12]);nl(this,c)}};l.me=function(){this.g.gf!=this.coordinates.length&&this.a.push([12]);ml(this);this.g=null}; 
    247 l.hb=function(a,c){var d=c.b;this.g.strokeStyle=Ze(d?d:yk);d=c.f;this.g.lineCap=void 0!==d?d:"round";d=c.g;this.g.lineDash=d?d:xk;d=c.c;this.g.lineJoin=void 0!==d?d:"round";d=c.a;this.g.lineWidth=void 0!==d?d:1;d=c.i;this.g.miterLimit=void 0!==d?d:10;this.g.lineWidth>this.c&&(this.c=this.g.lineWidth,this.f=null)}; 
    248 function tl(a,c,d){il.call(this,a,c,d);this.g={kg:void 0,jd:void 0,dd:void 0,ed:null,fd:void 0,gd:void 0,hd:void 0,fillStyle:void 0,strokeStyle:void 0,lineCap:void 0,lineDash:null,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0}}y(tl,il); 
    249 function ul(a,c,d,e,f){var g=a.g,h=[1];a.a.push(h);a.b.push(h);var k,h=0;for(k=e.length;h<k;++h){var m=e[h],n=a.coordinates.length;d=jl(a,c,d,m,f,!0);d=[8,n,d];n=[3];a.a.push(d,n);a.b.push(d,n);d=m}c=[7];a.b.push(c);void 0!==g.fillStyle&&a.a.push(c);void 0!==g.strokeStyle&&(g=[12],a.a.push(g),a.b.push(g));return d}l=tl.prototype; 
    250 l.Ic=function(a,c){var d=this.g,e=d.strokeStyle;if(void 0!==d.fillStyle||void 0!==e){vl(this);kl(this,c);this.b.push([9,Ze(wk)]);void 0!==d.strokeStyle&&this.b.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash]);var f=a.ha(),e=this.coordinates.length;jl(this,f,0,f.length,a.qa(),!1);f=[1];e=[2,e];this.a.push(f,e);this.b.push(f,e);e=[7];this.b.push(e);void 0!==d.fillStyle&&this.a.push(e);void 0!==d.strokeStyle&&(d=[12],this.a.push(d),this.b.push(d));nl(this,c)}}; 
    251 l.Lc=function(a,c){var d=this.g,e=d.strokeStyle;if(void 0!==d.fillStyle||void 0!==e)vl(this),kl(this,c),this.b.push([9,Ze(wk)]),void 0!==d.strokeStyle&&this.b.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash]),d=a.Cb(),e=a.Rb(),ul(this,e,0,d,a.qa()),nl(this,c)}; 
    252 l.Kc=function(a,c){var d=this.g,e=d.strokeStyle;if(void 0!==d.fillStyle||void 0!==e){vl(this);kl(this,c);this.b.push([9,Ze(wk)]);void 0!==d.strokeStyle&&this.b.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash]);var d=a.c,e=al(a),f=a.qa(),g=0,h,k;h=0;for(k=d.length;h<k;++h)g=ul(this,e,g,d[h],f);nl(this,c)}};l.me=function(){ml(this);this.g=null;var a=this.na;if(0!==a){var c=this.coordinates,d,e;d=0;for(e=c.length;d<e;++d)c[d]=a*Math.round(c[d]/a)}}; 
    253 l.Ze=function(){this.f||(this.f=Bc(this.Ga),0<this.c&&Ac(this.f,this.resolution*(this.c+1)/2,this.f));return this.f}; 
    254 l.hb=function(a,c){var d=this.g;if(a){var e=a.b;d.fillStyle=af(e?e:wk)}else d.fillStyle=void 0;c?(e=c.b,d.strokeStyle=Ze(e?e:yk),e=c.f,d.lineCap=void 0!==e?e:"round",e=c.g,d.lineDash=e?e.slice():xk,e=c.c,d.lineJoin=void 0!==e?e:"round",e=c.a,d.lineWidth=void 0!==e?e:1,e=c.i,d.miterLimit=void 0!==e?e:10,d.lineWidth>this.c&&(this.c=d.lineWidth,this.f=null)):(d.strokeStyle=void 0,d.lineCap=void 0,d.lineDash=null,d.lineJoin=void 0,d.lineWidth=void 0,d.miterLimit=void 0)}; 
    255 function vl(a){var c=a.g,d=c.fillStyle,e=c.strokeStyle,f=c.lineCap,g=c.lineDash,h=c.lineJoin,k=c.lineWidth,m=c.miterLimit;void 0!==d&&c.kg!=d&&(a.a.push([9,d]),c.kg=c.fillStyle);void 0===e||c.jd==e&&c.dd==f&&c.ed==g&&c.fd==h&&c.gd==k&&c.hd==m||(a.a.push([10,e,k,f,h,m,g]),c.jd=e,c.dd=f,c.ed=g,c.fd=h,c.gd=k,c.hd=m)}function wl(a,c,d){il.call(this,a,c,d);this.D=this.J=this.B=null;this.l="";this.T=this.A=this.s=this.o=0;this.j=this.i=this.g=null}y(wl,il); 
    256 wl.prototype.Jb=function(a,c,d,e,f,g){if(""!==this.l&&this.j&&(this.g||this.i)){if(this.g){f=this.g;var h=this.B;if(!h||h.fillStyle!=f.fillStyle){var k=[9,f.fillStyle];this.a.push(k);this.b.push(k);h?h.fillStyle=f.fillStyle:this.B={fillStyle:f.fillStyle}}}this.i&&(f=this.i,h=this.J,h&&h.lineCap==f.lineCap&&h.lineDash==f.lineDash&&h.lineJoin==f.lineJoin&&h.lineWidth==f.lineWidth&&h.miterLimit==f.miterLimit&&h.strokeStyle==f.strokeStyle||(k=[10,f.strokeStyle,f.lineWidth,f.lineCap,f.lineJoin,f.miterLimit, 
    257 f.lineDash,!1],this.a.push(k),this.b.push(k),h?(h.lineCap=f.lineCap,h.lineDash=f.lineDash,h.lineJoin=f.lineJoin,h.lineWidth=f.lineWidth,h.miterLimit=f.miterLimit,h.strokeStyle=f.strokeStyle):this.J={lineCap:f.lineCap,lineDash:f.lineDash,lineJoin:f.lineJoin,lineWidth:f.lineWidth,miterLimit:f.miterLimit,strokeStyle:f.strokeStyle}));f=this.j;h=this.D;h&&h.font==f.font&&h.textAlign==f.textAlign&&h.textBaseline==f.textBaseline||(k=[11,f.font,f.textAlign,f.textBaseline],this.a.push(k),this.b.push(k),h? 
    258 (h.font=f.font,h.textAlign=f.textAlign,h.textBaseline=f.textBaseline):this.D={font:f.font,textAlign:f.textAlign,textBaseline:f.textBaseline});kl(this,g);f=this.coordinates.length;a=jl(this,a,c,d,e,!1);a=[5,f,a,this.l,this.o,this.s,this.A,this.T,!!this.g,!!this.i];this.a.push(a);this.b.push(a);nl(this,g)}}; 
    259 wl.prototype.ib=function(a){if(a){var c=a.b;c?(c=c.b,c=af(c?c:wk),this.g?this.g.fillStyle=c:this.g={fillStyle:c}):this.g=null;var d=a.j;if(d){var c=d.b,e=d.f,f=d.g,g=d.c,h=d.a,d=d.i,e=void 0!==e?e:"round",f=f?f.slice():xk,g=void 0!==g?g:"round",h=void 0!==h?h:1,d=void 0!==d?d:10,c=Ze(c?c:yk);if(this.i){var k=this.i;k.lineCap=e;k.lineDash=f;k.lineJoin=g;k.lineWidth=h;k.miterLimit=d;k.strokeStyle=c}else this.i={lineCap:e,lineDash:f,lineJoin:g,lineWidth:h,miterLimit:d,strokeStyle:c}}else this.i=null; 
    260 var m=a.g,c=a.f,e=a.c,f=a.i,h=a.a,d=a.Fa(),g=a.l,k=a.o;a=void 0!==m?m:"10px sans-serif";g=void 0!==g?g:"center";k=void 0!==k?k:"middle";this.j?(m=this.j,m.font=a,m.textAlign=g,m.textBaseline=k):this.j={font:a,textAlign:g,textBaseline:k};this.l=void 0!==d?d:"";this.o=void 0!==c?c:0;this.s=void 0!==e?e:0;this.A=void 0!==f?f:0;this.T=void 0!==h?h:1}else this.l=""};function xl(a,c,d,e){this.s=a;this.c=c;this.o=d;this.i=e;this.g={};this.j=nh(1,1);this.l=nc()} 
    261 function yl(a){for(var c in a.g){var d=a.g[c],e;for(e in d)d[e].me()}}xl.prototype.f=function(a,c,d,e,f){var g=this.l;Ji(g,.5,.5,1/c,-1/c,-d,-a[0],-a[1]);var h=this.j;h.clearRect(0,0,1,1);var k;void 0!==this.i&&(k=yc(),zc(k,a),Ac(k,c*this.i,k));return zl(this,h,g,d,e,function(a){if(0<h.getImageData(0,0,1,1).data[3]){if(a=f(a))return a;h.clearRect(0,0,1,1)}},k)}; 
    262 xl.prototype.b=function(a,c){var d=void 0!==a?a.toString():"0",e=this.g[d];void 0===e&&(e={},this.g[d]=e);d=e[c];void 0===d&&(d=new Al[c](this.s,this.c,this.o),e[c]=d);return d};xl.prototype.Oa=function(){return pb(this.g)}; 
    263 xl.prototype.a=function(a,c,d,e,f,g){var h=Object.keys(this.g).map(Number);h.sort(Ta);if(!1!==g){var k=this.c;g=k[0];var m=k[1],n=k[2],k=k[3];g=[g,m,g,k,n,k,n,m];Nd(g,0,8,2,d,g);a.save();a.beginPath();a.moveTo(g[0],g[1]);a.lineTo(g[2],g[3]);a.lineTo(g[4],g[5]);a.lineTo(g[6],g[7]);a.closePath();a.clip()}var p,q;g=0;for(m=h.length;g<m;++g)for(p=this.g[h[g].toString()],n=0,k=hl.length;n<k;++n)q=p[hl[n]],void 0!==q&&ll(q,a,c,d,e,f,q.a,void 0);a.restore()}; 
    264 function zl(a,c,d,e,f,g,h){var k=Object.keys(a.g).map(Number);k.sort(function(a,c){return c-a});var m,n,p,q,r;m=0;for(n=k.length;m<n;++m)for(q=a.g[k[m].toString()],p=hl.length-1;0<=p;--p)if(r=q[hl[p]],void 0!==r&&(r=ll(r,c,1,d,e,f,r.b,g,h)))return r}var Al={Image:pl,LineString:ql,Polygon:tl,Text:wl};function Bl(a,c,d,e){this.g=a;this.b=c;this.c=d;this.f=e}l=Bl.prototype;l.get=function(a){return this.f[a]};l.Cb=function(){return this.c};l.G=function(){this.a||(this.a="Point"===this.g?Jc(this.b):Kc(this.b,0,this.b.length,2));return this.a};l.Rb=function(){return this.b};l.ha=Bl.prototype.Rb;l.X=function(){return this};l.om=function(){return this.f};l.sd=Bl.prototype.X;l.qa=function(){return 2};l.bc=va;l.W=function(){return this.g};function Cl(a,c){return x(a)-x(c)}function Dl(a,c){var d=.5*a/c;return d*d}function El(a,c,d,e,f,g){var h=!1,k,m;if(k=d.a)m=k.wd(),2==m||3==m?k.Nf(f,g):(0==m&&k.load(),k.hf(f,g),h=!0);if(f=(0,d.f)(c))e=f.sd(e),(0,Fl[e.W()])(a,e,d,c);return h} 
    265 var Fl={Point:function(a,c,d,e){var f=d.a;if(f){if(2!=f.wd())return;var g=a.b(d.b,"Image");g.yb(f);g.Ib(c,e)}if(f=d.Fa())a=a.b(d.b,"Text"),a.ib(f),a.Jb(c.ha(),0,2,2,c,e)},LineString:function(a,c,d,e){var f=d.g;if(f){var g=a.b(d.b,"LineString");g.hb(null,f);g.Xb(c,e)}if(f=d.Fa())a=a.b(d.b,"Text"),a.ib(f),a.Jb(Zk(c),0,2,2,c,e)},Polygon:function(a,c,d,e){var f=d.c,g=d.g;if(f||g){var h=a.b(d.b,"Polygon");h.hb(f,g);h.Lc(c,e)}if(f=d.Fa())a=a.b(d.b,"Text"),a.ib(f),a.Jb(se(c),0,2,2,c,e)},MultiPoint:function(a, 
    266 c,d,e){var f=d.a;if(f){if(2!=f.wd())return;var g=a.b(d.b,"Image");g.yb(f);g.Hb(c,e)}if(f=d.Fa())a=a.b(d.b,"Text"),a.ib(f),d=c.ha(),a.Jb(d,0,d.length,c.qa(),c,e)},MultiLineString:function(a,c,d,e){var f=d.g;if(f){var g=a.b(d.b,"LineString");g.hb(null,f);g.Jc(c,e)}if(f=d.Fa())a=a.b(d.b,"Text"),a.ib(f),d=$k(c),a.Jb(d,0,d.length,2,c,e)},MultiPolygon:function(a,c,d,e){var f=d.c,g=d.g;if(g||f){var h=a.b(d.b,"Polygon");h.hb(f,g);h.Kc(c,e)}if(f=d.Fa())a=a.b(d.b,"Text"),a.ib(f),d=bl(c),a.Jb(d,0,d.length,2, 
    267 c,e)},GeometryCollection:function(a,c,d,e){c=c.i;var f,g;f=0;for(g=c.length;f<g;++f)(0,Fl[c[f].W()])(a,c[f],d,e)},Circle:function(a,c,d,e){var f=d.c,g=d.g;if(f||g){var h=a.b(d.b,"Polygon");h.hb(f,g);h.Ic(c,e)}if(f=d.Fa())a=a.b(d.b,"Text"),a.ib(f),a.Jb(c.vd(),0,2,2,c,e)}};function Gl(a,c,d,e,f,g){this.c=void 0!==g?g:null;Hi.call(this,a,c,d,void 0!==g?0:2,e);this.g=f}y(Gl,Hi);Gl.prototype.i=function(a){this.state=a?3:2;Ii(this)};Gl.prototype.load=function(){0==this.state&&(this.state=1,Ii(this),this.c(this.i.bind(this)))};Gl.prototype.a=function(){return this.g};var Hl=!((ef("Chrome")||ef("CriOS"))&&!ef("Opera")&&!ef("OPR")&&!ef("Edge"))||ef("iPhone")&&!ef("iPod")&&!ef("iPad")||ef("iPad")||ef("iPod");function Il(a,c,d,e){var f=Kd(d,c,a);d=c.getPointResolution(e,d);c=c.$b();void 0!==c&&(d*=c);c=a.$b();void 0!==c&&(d/=c);a=a.getPointResolution(d,f)/d;isFinite(a)&&0<a&&(d/=a);return d}function Jl(a,c,d,e){a=d-a;c=e-c;var f=Math.sqrt(a*a+c*c);return[Math.round(d+a/f),Math.round(e+c/f)]} 
    268 function Kl(a,c,d,e,f,g,h,k,m,n,p){var q=nh(Math.round(d*a),Math.round(d*c));if(0===m.length)return q.canvas;q.scale(d,d);var r=yc();m.forEach(function(a){Nc(r,a.extent)});var t=nh(Math.round(d*Wc(r)/e),Math.round(d*Xc(r)/e)),v=d/e;m.forEach(function(a){t.drawImage(a.image,n,n,a.image.width-2*n,a.image.height-2*n,(a.extent[0]-r[0])*v,-(a.extent[3]-r[3])*v,Wc(a.extent)*v,Xc(a.extent)*v)});var w=Sc(h);k.f.forEach(function(a){var c=a.source,f=a.target,h=c[1][0],k=c[1][1],m=c[2][0],n=c[2][1];a=(f[0][0]- 
    269 w[0])/g;var p=-(f[0][1]-w[1])/g,v=(f[1][0]-w[0])/g,J=-(f[1][1]-w[1])/g,ea=(f[2][0]-w[0])/g,Ga=-(f[2][1]-w[1])/g,f=c[0][0],c=c[0][1],h=h-f,k=k-c,m=m-f,n=n-c;a:{h=[[h,k,0,0,v-a],[m,n,0,0,ea-a],[0,0,h,k,J-p],[0,0,m,n,Ga-p]];k=h.length;for(m=0;m<k;m++){for(var n=m,$a=Math.abs(h[m][m]),ab=m+1;ab<k;ab++){var Oa=Math.abs(h[ab][m]);Oa>$a&&($a=Oa,n=ab)}if(0===$a){h=null;break a}$a=h[n];h[n]=h[m];h[m]=$a;for(n=m+1;n<k;n++)for($a=-h[n][m]/h[m][m],ab=m;ab<k+1;ab++)h[n][ab]=m==ab?0:h[n][ab]+$a*h[m][ab]}m=Array(k); 
    270 for(n=k-1;0<=n;n--)for(m[n]=h[n][k]/h[n][n],$a=n-1;0<=$a;$a--)h[$a][k]-=h[$a][n]*m[n];h=m}h&&(q.save(),q.beginPath(),Hl?(m=(a+v+ea)/3,n=(p+J+Ga)/3,k=Jl(m,n,a,p),v=Jl(m,n,v,J),ea=Jl(m,n,ea,Ga),q.moveTo(k[0],k[1]),q.lineTo(v[0],v[1]),q.lineTo(ea[0],ea[1])):(q.moveTo(a,p),q.lineTo(v,J),q.lineTo(ea,Ga)),q.closePath(),q.clip(),q.transform(h[0],h[2],h[1],h[3],a,p),q.translate(r[0]-f,r[3]-c),q.scale(e/d,-e/d),q.drawImage(t.canvas,0,0),q.restore())});p&&(q.save(),q.strokeStyle="black",q.lineWidth=1,k.f.forEach(function(a){var c= 
    271 a.target;a=(c[0][0]-w[0])/g;var d=-(c[0][1]-w[1])/g,e=(c[1][0]-w[0])/g,f=-(c[1][1]-w[1])/g,h=(c[2][0]-w[0])/g,c=-(c[2][1]-w[1])/g;q.beginPath();q.moveTo(a,d);q.lineTo(e,f);q.lineTo(h,c);q.closePath();q.stroke()}),q.restore());return q.canvas};function Ll(a,c,d,e,f){this.g=a;this.c=c;var g={},h=Id(this.c,this.g);this.a=function(a){var c=a[0]+"/"+a[1];g[c]||(g[c]=h(a));return g[c]};this.i=e;this.s=f*f;this.f=[];this.l=!1;this.o=this.g.b&&!!e&&!!this.g.G()&&Wc(e)==Wc(this.g.G());this.b=this.g.G()?Wc(this.g.G()):null;this.j=this.c.G()?Wc(this.c.G()):null;a=Sc(d);c=Rc(d);e=Qc(d);d=Pc(d);f=this.a(a);var k=this.a(c),m=this.a(e),n=this.a(d);Ml(this,a,c,e,d,f,k,m,n,10);if(this.l){var p=Infinity;this.f.forEach(function(a){p=Math.min(p,a.source[0][0], 
    272 a.source[1][0],a.source[2][0])});this.f.forEach(function(a){if(Math.max(a.source[0][0],a.source[1][0],a.source[2][0])-p>this.b/2){var c=[[a.source[0][0],a.source[0][1]],[a.source[1][0],a.source[1][1]],[a.source[2][0],a.source[2][1]]];c[0][0]-p>this.b/2&&(c[0][0]-=this.b);c[1][0]-p>this.b/2&&(c[1][0]-=this.b);c[2][0]-p>this.b/2&&(c[2][0]-=this.b);Math.max(c[0][0],c[1][0],c[2][0])-Math.min(c[0][0],c[1][0],c[2][0])<this.b/2&&(a.source=c)}},this)}g={}} 
    273 function Ml(a,c,d,e,f,g,h,k,m,n){var p=xc([g,h,k,m]),q=a.b?Wc(p)/a.b:null,r=a.g.b&&.5<q&&1>q,t=!1;if(0<n){if(a.c.g&&a.j)var v=xc([c,d,e,f]),t=t|.25<Wc(v)/a.j;!r&&a.g.g&&q&&(t|=.25<q)}if(t||!a.i||ad(p,a.i)){if(!(t||isFinite(g[0])&&isFinite(g[1])&&isFinite(h[0])&&isFinite(h[1])&&isFinite(k[0])&&isFinite(k[1])&&isFinite(m[0])&&isFinite(m[1])))if(0<n)t=!0;else return;if(0<n&&(t||(q=a.a([(c[0]+e[0])/2,(c[1]+e[1])/2]),p=r?($b(g[0],a.b)+$b(k[0],a.b))/2-$b(q[0],a.b):(g[0]+k[0])/2-q[0],q=(g[1]+k[1])/2-q[1], 
    274 t=p*p+q*q>a.s),t)){Math.abs(c[0]-e[0])<=Math.abs(c[1]-e[1])?(r=[(d[0]+e[0])/2,(d[1]+e[1])/2],p=a.a(r),q=[(f[0]+c[0])/2,(f[1]+c[1])/2],t=a.a(q),Ml(a,c,d,r,q,g,h,p,t,n-1),Ml(a,q,r,e,f,t,p,k,m,n-1)):(r=[(c[0]+d[0])/2,(c[1]+d[1])/2],p=a.a(r),q=[(e[0]+f[0])/2,(e[1]+f[1])/2],t=a.a(q),Ml(a,c,r,q,f,g,p,t,m,n-1),Ml(a,r,d,e,q,p,h,k,t,n-1));return}if(r){if(!a.o)return;a.l=!0}a.f.push({source:[g,k,m],target:[c,e,f]});a.f.push({source:[g,h,k],target:[c,d,e]})}} 
    275 function Nl(a){var c=yc();a.f.forEach(function(a){a=a.source;zc(c,a[0]);zc(c,a[1]);zc(c,a[2])});return c};function Ol(a,c,d,e,f,g){this.A=c;this.s=a.G();var h=c.G(),k=h?$c(d,h):d,h=Il(a,c,Yc(k),e);this.j=new Ll(a,c,k,this.s,.5*h);this.c=e;this.g=d;a=Nl(this.j);this.l=(this.ob=g(a,h,f))?this.ob.f:1;this.Cd=this.i=null;f=2;g=[];this.ob&&(f=0,g=this.ob.ea());Hi.call(this,d,e,this.l,f,g)}y(Ol,Hi);Ol.prototype.fa=function(){1==this.state&&(sb(this.Cd),this.Cd=null);Ol.ia.fa.call(this)};Ol.prototype.a=function(){return this.i}; 
    276 Ol.prototype.Bd=function(){var a=this.ob.V();2==a&&(this.i=Kl(Wc(this.g)/this.c,Xc(this.g)/this.c,this.l,this.ob.Z(),0,this.c,this.g,this.j,[{extent:this.ob.G(),image:this.ob.a()}],0));this.state=a;Ii(this)};Ol.prototype.load=function(){if(0==this.state){this.state=1;Ii(this);var a=this.ob.V();2==a||3==a?this.Bd():(this.Cd=D(this.ob,"change",function(){var a=this.ob.V();if(2==a||3==a)sb(this.Cd),this.Cd=null,this.Bd()},this),this.ob.load())}};function Pl(a){rg.call(this,{attributions:a.attributions,extent:a.extent,logo:a.logo,projection:a.projection,state:a.state});this.A=void 0!==a.resolutions?a.resolutions:null;this.a=null;this.na=0}y(Pl,rg);Pl.prototype.Pb=function(){return this.A};function Ql(a,c){if(a.A){var d=Va(a.A,c,0);c=a.A[d]}return c} 
    277 Pl.prototype.B=function(a,c,d,e){var f=this.f;if(f&&e&&!Hd(f,e)){if(this.a){if(this.na==this.g&&Hd(this.a.A,e)&&this.a.Z()==c&&this.a.f==d&&Mc(this.a.G(),a))return this.a;this.a.Rd();this.a=null}this.a=new Ol(f,e,a,c,d,function(a,c,d){return this.pd(a,c,d,f)}.bind(this));this.na=this.g;return this.a}f&&(e=f);return this.pd(a,c,d,e)};Pl.prototype.l=function(a){a=a.target;switch(a.V()){case 1:this.b(new Rl(Sl,a));break;case 2:this.b(new Rl(Tl,a));break;case 3:this.b(new Rl(Ul,a))}}; 
    278 function Vl(a,c){a.a().src=c}function Rl(a,c){Eb.call(this,a);this.image=c}y(Rl,Eb);var Sl="imageloadstart",Tl="imageloadend",Ul="imageloaderror";function Wl(a){Pl.call(this,{attributions:a.attributions,logo:a.logo,projection:a.projection,resolutions:a.resolutions,state:a.state});this.aa=a.canvasFunction;this.S=null;this.U=0;this.oa=void 0!==a.ratio?a.ratio:1.5}y(Wl,Pl);Wl.prototype.pd=function(a,c,d,e){c=Ql(this,c);var f=this.S;if(f&&this.U==this.g&&f.Z()==c&&f.f==d&&Gc(f.G(),a))return f;a=a.slice();bd(a,this.oa);(e=this.aa(a,c,d,[Wc(a)/c*d,Xc(a)/c*d],e))&&(f=new Gl(a,c,d,this.ea(),e));this.S=f;this.U=this.g;return f};function Xl(a){Mb.call(this);this.i=void 0;this.a="geometry";this.c=null;this.j=void 0;this.f=null;D(this,Ob(this.a),this.ae,this);void 0!==a&&(a instanceof Md||!a?this.Pa(a):this.C(a))}y(Xl,Mb);l=Xl.prototype;l.clone=function(){var a=new Xl(this.P());a.Bc(this.a);var c=this.X();c&&a.Pa(c.clone());(c=this.c)&&a.lf(c);return a};l.X=function(){return this.get(this.a)};l.Sa=function(){return this.i};l.Fj=function(){return this.a};l.ll=function(){return this.c};l.bc=function(){return this.j};l.ml=function(){this.u()}; 
    279 l.ae=function(){this.f&&(sb(this.f),this.f=null);var a=this.X();a&&(this.f=D(a,"change",this.ml,this));this.u()};l.Pa=function(a){this.set(this.a,a)};l.lf=function(a){this.j=(this.c=a)?Yl(a):void 0;this.u()};l.jc=function(a){this.i=a;this.u()};l.Bc=function(a){yb(this,Ob(this.a),this.ae,this);this.a=a;D(this,Ob(this.a),this.ae,this);this.ae()};function Yl(a){if(!ka(a)){var c;c=ga(a)?a:[a];a=function(){return c}}return a};function Zl(a,c,d,e,f){pg.call(this,a,c);this.o=nh();this.j=e;this.i=null;this.c={kd:!1,Kf:null,Kh:-1,Vc:null};this.A=f;this.l=d}y(Zl,pg);l=Zl.prototype;l.fa=function(){Zl.ia.fa.call(this)};l.xl=function(){return this.j};l.eb=function(){return this.l};l.load=function(){0==this.state&&(this.state=1,qg(this),this.A(this,this.l),this.s(null,NaN,null))};l.Ph=function(a){this.i=a;this.state=2;qg(this)};l.Th=function(a){this.s=a};function $l(){if(!kf)return!1;try{return new ActiveXObject("MSXML2.DOMDocument"),!0}catch(a){return!1}}var am=kf&&$l();function bm(a){var c=a.xml;if(c)return c;if("undefined"!=typeof XMLSerializer)return(new XMLSerializer).serializeToString(a);throw Error("Your browser does not support serializing XML documents");};var cm;a:if(document.implementation&&document.implementation.createDocument)cm=document.implementation.createDocument("","",null);else{if(am){var dm=new ActiveXObject("MSXML2.DOMDocument");if(dm){dm.resolveExternals=!1;dm.validateOnParse=!1;try{dm.setProperty("ProhibitDTD",!0),dm.setProperty("MaxXMLSize",2048),dm.setProperty("MaxElementDepth",256)}catch(a){}}if(dm){cm=dm;break a}}throw Error("Your browser does not support creating new documents");}var em=cm; 
    280 function fm(a,c){return em.createElementNS(a,c)}function gm(a,c){a||(a="");return em.createNode(1,c,a)}var hm=document.implementation&&document.implementation.createDocument?fm:gm;function im(a,c){return jm(a,c,[]).join("")}function jm(a,c,d){if(4==a.nodeType||3==a.nodeType)c?d.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):d.push(a.nodeValue);else for(a=a.firstChild;a;a=a.nextSibling)jm(a,c,d);return d}function km(a){return a.localName} 
    281 function lm(a){var c=a.localName;return void 0!==c?c:a.baseName}var mm=kf?lm:km;function nm(a){return a instanceof Document}function om(a){return la(a)&&9==a.nodeType}var pm=kf?om:nm;function qm(a){return a instanceof Node}function rm(a){return la(a)&&void 0!==a.nodeType}var sm=kf?rm:qm;function tm(a,c,d){return a.getAttributeNS(c,d)||""}function um(a,c,d){var e="";a=vm(a,c,d);void 0!==a&&(e=a.nodeValue);return e}var wm=document.implementation&&document.implementation.createDocument?tm:um; 
    282 function xm(a,c,d){return a.getAttributeNodeNS(c,d)}function ym(a,c,d){var e=null;a=a.attributes;for(var f,g,h=0,k=a.length;h<k;++h)if(f=a[h],f.namespaceURI==c&&(g=f.prefix?f.prefix+":"+d:d,g==f.nodeName)){e=f;break}return e}var vm=document.implementation&&document.implementation.createDocument?xm:ym;function zm(a,c,d,e){a.setAttributeNS(c,d,e)}function Am(a,c,d,e){c?(c=a.ownerDocument.createNode(2,d,c),c.nodeValue=e,a.setAttributeNode(c)):a.setAttribute(d,e)} 
    283 var Bm=document.implementation&&document.implementation.createDocument?zm:Am;function Cm(a){return(new DOMParser).parseFromString(a,"application/xml")}function Dm(a,c){return function(d,e){var f=a.call(c,d,e);void 0!==f&&Xa(e[e.length-1],f)}}function Em(a,c){return function(d,e){var f=a.call(void 0!==c?c:this,d,e);void 0!==f&&e[e.length-1].push(f)}}function Fm(a,c){return function(d,e){var f=a.call(void 0!==c?c:this,d,e);void 0!==f&&(e[e.length-1]=f)}} 
    284 function Gm(a){return function(c,d){var e=a.call(this,c,d);if(void 0!==e){var f=d[d.length-1],g=c.localName,h;g in f?h=f[g]:h=f[g]=[];h.push(e)}}}function M(a,c){return function(d,e){var f=a.call(this,d,e);void 0!==f&&(e[e.length-1][void 0!==c?c:d.localName]=f)}}function N(a,c){return function(d,e,f){a.call(void 0!==c?c:this,d,e,f);f[f.length-1].node.appendChild(d)}} 
    285 function Hm(a){var c,d;return function(e,f,g){if(void 0===c){c={};var h={};h[e.localName]=a;c[e.namespaceURI]=h;d=Im(e.localName)}Jm(c,d,f,g)}}function Im(a,c){return function(d,e,f){d=e[e.length-1].node;e=a;void 0===e&&(e=f);f=c;void 0===c&&(f=d.namespaceURI);return hm(f,e)}}var Km=Im();function Lm(a,c){for(var d=c.length,e=Array(d),f=0;f<d;++f)e[f]=a[c[f]];return e}function Q(a,c,d){d=void 0!==d?d:{};var e,f;e=0;for(f=a.length;e<f;++e)d[a[e]]=c;return d} 
    286 function Mm(a,c,d,e){for(c=c.firstElementChild;c;c=c.nextElementSibling){var f=a[c.namespaceURI];void 0!==f&&(f=f[c.localName],void 0!==f&&f.call(e,c,d))}}function R(a,c,d,e,f){e.push(a);Mm(c,d,e,f);return e.pop()}function Jm(a,c,d,e,f,g){for(var h=(void 0!==f?f:d).length,k,m,n=0;n<h;++n)k=d[n],void 0!==k&&(m=c.call(g,k,e,void 0!==f?f[n]:void 0),void 0!==m&&a[m.namespaceURI][m.localName].call(g,m,k,e))}function Nm(a,c,d,e,f,g,h){f.push(a);Jm(c,d,e,f,g,h);f.pop()};function Om(a,c,d,e){return function(f,g,h){var k=new XMLHttpRequest;k.open("GET",ka(a)?a(f,g,h):a,!0);"arraybuffer"==c.W()&&(k.responseType="arraybuffer");k.onload=function(){if(200<=k.status&&300>k.status){var a=c.W(),f;"json"==a||"text"==a?f=k.responseText:"xml"==a?(f=k.responseXML)||(f=Cm(k.responseText)):"arraybuffer"==a&&(f=k.response);f&&d.call(this,c.Ea(f,{featureProjection:h}),c.Qa(f))}else e.call(this)}.bind(this);k.send()}} 
    287 function Pm(a,c){return Om(a,c,function(a,c){this.g=c;this.Ph(a)},function(){this.state=3;qg(this)})}function Qm(a,c){return Om(a,c,function(a){this.Gc(a)},va)};function Rm(){return[[-Infinity,-Infinity,Infinity,Infinity]]};var Sm,Tm,Um,Vm; 
    288 (function(){var a={ja:{}};(function(){function c(a,d){if(!(this instanceof c))return new c(a,d);this.Re=Math.max(4,a||9);this.Yf=Math.max(2,Math.ceil(.4*this.Re));d&&this.Ui(d);this.clear()}function d(a,c){a.bbox=e(a,0,a.children.length,c)}function e(a,c,d,e){for(var g=[Infinity,Infinity,-Infinity,-Infinity],h;c<d;c++)h=a.children[c],f(g,a.Ja?e(h):h.bbox);return g}function f(a,c){a[0]=Math.min(a[0],c[0]);a[1]=Math.min(a[1],c[1]);a[2]=Math.max(a[2],c[2]);a[3]=Math.max(a[3],c[3])}function g(a,c){return a.bbox[0]- 
    289 c.bbox[0]}function h(a,c){return a.bbox[1]-c.bbox[1]}function k(a){return(a[2]-a[0])*(a[3]-a[1])}function m(a){return a[2]-a[0]+(a[3]-a[1])}function n(a,c){return a[0]<=c[0]&&a[1]<=c[1]&&c[2]<=a[2]&&c[3]<=a[3]}function p(a,c){return c[0]<=a[2]&&c[1]<=a[3]&&c[2]>=a[0]&&c[3]>=a[1]}function q(a,c,d,e,f){for(var g=[c,d],h;g.length;)d=g.pop(),c=g.pop(),d-c<=e||(h=c+Math.ceil((d-c)/e/2)*e,r(a,c,d,h,f),g.push(c,h,h,d))}function r(a,c,d,e,f){for(var g,h,k,m,n;d>c;){600<d-c&&(g=d-c+1,h=e-c+1,k=Math.log(g), 
    290 m=.5*Math.exp(2*k/3),n=.5*Math.sqrt(k*m*(g-m)/g)*(0>h-g/2?-1:1),k=Math.max(c,Math.floor(e-h*m/g+n)),h=Math.min(d,Math.floor(e+(g-h)*m/g+n)),r(a,k,h,e,f));g=a[e];h=c;m=d;t(a,c,e);for(0<f(a[d],g)&&t(a,c,d);h<m;){t(a,h,m);h++;for(m--;0>f(a[h],g);)h++;for(;0<f(a[m],g);)m--}0===f(a[c],g)?t(a,c,m):(m++,t(a,m,d));m<=e&&(c=m+1);e<=m&&(d=m-1)}}function t(a,c,d){var e=a[c];a[c]=a[d];a[d]=e}c.prototype={all:function(){return this.Tf(this.data,[])},search:function(a){var c=this.data,d=[],e=this.kb;if(!p(a,c.bbox))return d; 
    291 for(var f=[],g,h,k,m;c;){g=0;for(h=c.children.length;g<h;g++)k=c.children[g],m=c.Ja?e(k):k.bbox,p(a,m)&&(c.Ja?d.push(k):n(a,m)?this.Tf(k,d):f.push(k));c=f.pop()}return d},load:function(a){if(!a||!a.length)return this;if(a.length<this.Yf){for(var c=0,d=a.length;c<d;c++)this.za(a[c]);return this}a=this.Vf(a.slice(),0,a.length-1,0);this.data.children.length?this.data.height===a.height?this.$f(this.data,a):(this.data.height<a.height&&(c=this.data,this.data=a,a=c),this.Xf(a,this.data.height-a.height-1, 
    292 !0)):this.data=a;return this},za:function(a){a&&this.Xf(a,this.data.height-1);return this},clear:function(){this.data={children:[],height:1,bbox:[Infinity,Infinity,-Infinity,-Infinity],Ja:!0};return this},remove:function(a){if(!a)return this;for(var c=this.data,d=this.kb(a),e=[],f=[],g,h,k,m;c||e.length;){c||(c=e.pop(),h=e[e.length-1],g=f.pop(),m=!0);if(c.Ja&&(k=c.children.indexOf(a),-1!==k)){c.children.splice(k,1);e.push(c);this.Si(e);break}m||c.Ja||!n(c.bbox,d)?h?(g++,c=h.children[g],m=!1):c=null: 
    293 (e.push(c),f.push(g),g=0,h=c,c=c.children[0])}return this},kb:function(a){return a},Ue:function(a,c){return a[0]-c[0]},Ve:function(a,c){return a[1]-c[1]},toJSON:function(){return this.data},Tf:function(a,c){for(var d=[];a;)a.Ja?c.push.apply(c,a.children):d.push.apply(d,a.children),a=d.pop();return c},Vf:function(a,c,e,f){var g=e-c+1,h=this.Re,k;if(g<=h)return k={children:a.slice(c,e+1),height:1,bbox:null,Ja:!0},d(k,this.kb),k;f||(f=Math.ceil(Math.log(g)/Math.log(h)),h=Math.ceil(g/Math.pow(h,f-1))); 
    294 k={children:[],height:f,bbox:null,Ja:!1};var g=Math.ceil(g/h),h=g*Math.ceil(Math.sqrt(h)),m,n,p;for(q(a,c,e,h,this.Ue);c<=e;c+=h)for(n=Math.min(c+h-1,e),q(a,c,n,g,this.Ve),m=c;m<=n;m+=g)p=Math.min(m+g-1,n),k.children.push(this.Vf(a,m,p,f-1));d(k,this.kb);return k},Ri:function(a,c,d,e){for(var f,g,h,m,n,p,q,r;;){e.push(c);if(c.Ja||e.length-1===d)break;q=r=Infinity;f=0;for(g=c.children.length;f<g;f++)h=c.children[f],n=k(h.bbox),p=h.bbox,p=(Math.max(p[2],a[2])-Math.min(p[0],a[0]))*(Math.max(p[3],a[3])- 
    295 Math.min(p[1],a[1]))-n,p<r?(r=p,q=n<q?n:q,m=h):p===r&&n<q&&(q=n,m=h);c=m}return c},Xf:function(a,c,d){var e=this.kb;d=d?a.bbox:e(a);var e=[],g=this.Ri(d,this.data,c,e);g.children.push(a);for(f(g.bbox,d);0<=c;)if(e[c].children.length>this.Re)this.$i(e,c),c--;else break;this.Oi(d,e,c)},$i:function(a,c){var e=a[c],f=e.children.length,g=this.Yf;this.Pi(e,g,f);f=this.Qi(e,g,f);f={children:e.children.splice(f,e.children.length-f),height:e.height,bbox:null,Ja:!1};e.Ja&&(f.Ja=!0);d(e,this.kb);d(f,this.kb); 
    296 c?a[c-1].children.push(f):this.$f(e,f)},$f:function(a,c){this.data={children:[a,c],height:a.height+1,bbox:null,Ja:!1};d(this.data,this.kb)},Qi:function(a,c,d){var f,g,h,m,n,p,q;n=p=Infinity;for(f=c;f<=d-c;f++)g=e(a,0,f,this.kb),h=e(a,f,d,this.kb),m=Math.max(0,Math.min(g[2],h[2])-Math.max(g[0],h[0]))*Math.max(0,Math.min(g[3],h[3])-Math.max(g[1],h[1])),g=k(g)+k(h),m<n?(n=m,q=f,p=g<p?g:p):m===n&&g<p&&(p=g,q=f);return q},Pi:function(a,c,d){var e=a.Ja?this.Ue:g,f=a.Ja?this.Ve:h,k=this.Uf(a,c,d,e);c=this.Uf(a, 
    297 c,d,f);k<c&&a.children.sort(e)},Uf:function(a,c,d,g){a.children.sort(g);g=this.kb;var h=e(a,0,c,g),k=e(a,d-c,d,g),n=m(h)+m(k),p,q;for(p=c;p<d-c;p++)q=a.children[p],f(h,a.Ja?g(q):q.bbox),n+=m(h);for(p=d-c-1;p>=c;p--)q=a.children[p],f(k,a.Ja?g(q):q.bbox),n+=m(k);return n},Oi:function(a,c,d){for(;0<=d;d--)f(c[d].bbox,a)},Si:function(a){for(var c=a.length-1,e;0<=c;c--)0===a[c].children.length?0<c?(e=a[c-1].children,e.splice(e.indexOf(a[c]),1)):this.clear():d(a[c],this.kb)},Ui:function(a){var c=["return a", 
    298 " - b",";"];this.Ue=new Function("a","b",c.join(a[0]));this.Ve=new Function("a","b",c.join(a[1]));this.kb=new Function("a","return [a"+a.join(", a")+"];")}};"undefined"!==typeof a?a.ja=c:"undefined"!==typeof self?self.b=c:window.b=c})();Sm=a.ja})();function Wm(a){this.a=Sm(a);this.b={}}l=Wm.prototype;l.za=function(a,c){var d=[a[0],a[1],a[2],a[3],c];this.a.za(d);this.b[x(c)]=d};l.load=function(a,c){for(var d=Array(c.length),e=0,f=c.length;e<f;e++){var g=a[e],h=c[e],g=[g[0],g[1],g[2],g[3],h];d[e]=g;this.b[x(h)]=g}this.a.load(d)};l.remove=function(a){a=x(a);var c=this.b[a];delete this.b[a];return null!==this.a.remove(c)};function Xm(a,c,d){var e=x(d);Mc(a.b[e].slice(0,4),c)||(a.remove(d),a.za(c,d))} 
    299 function Ym(a){return a.a.all().map(function(a){return a[4]})}function Zm(a,c){return a.a.search(c).map(function(a){return a[4]})}l.forEach=function(a,c){return $m(Ym(this),a,c)};function an(a,c,d,e){return $m(Zm(a,c),d,e)}function $m(a,c,d){for(var e,f=0,g=a.length;f<g&&!(e=c.call(d,a[f]));f++);return e}l.Oa=function(){return pb(this.b)};l.clear=function(){this.a.clear();this.b={}};l.G=function(){return this.a.data.bbox};function bn(a){a=a||{};rg.call(this,{attributions:a.attributions,logo:a.logo,projection:void 0,state:"ready",wrapX:void 0!==a.wrapX?a.wrapX:!0});this.H=va;void 0!==a.loader?this.H=a.loader:void 0!==a.url&&(this.H=Qm(a.url,a.format));this.oa=void 0!==a.strategy?a.strategy:Rm;var c=void 0!==a.useSpatialIndex?a.useSpatialIndex:!0;this.a=c?new Wm:null;this.S=new Wm;this.i={};this.j={};this.l={};this.o={};this.c=null;var d,e;a.features instanceof Se?(d=a.features,e=d.a):ga(a.features)&&(e=a.features); 
    300 c||void 0!==d||(d=new Se(e));void 0!==e&&cn(this,e);void 0!==d&&dn(this,d)}y(bn,rg);l=bn.prototype;l.rb=function(a){var c=x(a).toString();if(en(this,c,a)){fn(this,c,a);var d=a.X();d?(c=d.G(),this.a&&this.a.za(c,a)):this.i[c]=a;this.b(new gn("addfeature",a))}this.u()};function fn(a,c,d){a.o[c]=[D(d,"change",a.oh,a),D(d,"propertychange",a.oh,a)]}function en(a,c,d){var e=!0,f=d.Sa();void 0!==f?f.toString()in a.j?e=!1:a.j[f.toString()]=d:a.l[c]=d;return e}l.Gc=function(a){cn(this,a);this.u()}; 
    301 function cn(a,c){var d,e,f,g,h=[],k=[],m=[];e=0;for(f=c.length;e<f;e++)g=c[e],d=x(g).toString(),en(a,d,g)&&k.push(g);e=0;for(f=k.length;e<f;e++){g=k[e];d=x(g).toString();fn(a,d,g);var n=g.X();n?(d=n.G(),h.push(d),m.push(g)):a.i[d]=g}a.a&&a.a.load(h,m);e=0;for(f=k.length;e<f;e++)a.b(new gn("addfeature",k[e]))} 
    302 function dn(a,c){var d=!1;D(a,"addfeature",function(a){d||(d=!0,c.push(a.feature),d=!1)});D(a,"removefeature",function(a){d||(d=!0,c.remove(a.feature),d=!1)});D(c,"add",function(a){d||(a=a.element,d=!0,this.rb(a),d=!1)},a);D(c,"remove",function(a){d||(a=a.element,d=!0,this.nb(a),d=!1)},a);a.c=c} 
    303 l.clear=function(a){if(a){for(var c in this.o)this.o[c].forEach(sb);this.c||(this.o={},this.j={},this.l={})}else if(this.a){this.a.forEach(this.Jf,this);for(var d in this.i)this.Jf(this.i[d])}this.c&&this.c.clear();this.a&&this.a.clear();this.S.clear();this.i={};this.b(new gn("clear"));this.u()};l.mg=function(a,c){if(this.a)return this.a.forEach(a,c);if(this.c)return this.c.forEach(a,c)};function hn(a,c,d){a.ub([c[0],c[1],c[0],c[1]],function(a){if(a.X().ig(c))return d.call(void 0,a)})} 
    304 l.ub=function(a,c,d){if(this.a)return an(this.a,a,c,d);if(this.c)return this.c.forEach(c,d)};l.ng=function(a,c,d){return this.ub(a,function(e){if(e.X().Ia(a)&&(e=c.call(d,e)))return e})};l.ug=function(){return this.c};l.pe=function(){var a;this.c?a=this.c.a:this.a&&(a=Ym(this.a),pb(this.i)||Xa(a,ob(this.i)));return a};l.tg=function(a){var c=[];hn(this,a,function(a){c.push(a)});return c};l.$e=function(a){return Zm(this.a,a)}; 
    305 l.pg=function(a){var c=a[0],d=a[1],e=null,f=[NaN,NaN],g=Infinity,h=[-Infinity,-Infinity,Infinity,Infinity];an(this.a,h,function(a){var m=a.X(),n=g;g=m.sb(c,d,f,g);g<n&&(e=a,a=Math.sqrt(g),h[0]=c-a,h[1]=d-a,h[2]=c+a,h[3]=d+a)});return e};l.G=function(){return this.a.G()};l.sg=function(a){a=this.j[a.toString()];return void 0!==a?a:null}; 
    306 l.oh=function(a){a=a.target;var c=x(a).toString(),d=a.X();d?(d=d.G(),c in this.i?(delete this.i[c],this.a&&this.a.za(d,a)):this.a&&Xm(this.a,d,a)):c in this.i||(this.a&&this.a.remove(a),this.i[c]=a);d=a.Sa();void 0!==d?(d=d.toString(),c in this.l?(delete this.l[c],this.j[d]=a):this.j[d]!==a&&(jn(this,a),this.j[d]=a)):c in this.l||(jn(this,a),this.l[c]=a);this.u();this.b(new gn("changefeature",a))};l.Oa=function(){return this.a.Oa()&&pb(this.i)}; 
    307 l.Oc=function(a,c,d){var e=this.S;a=this.oa(a,c);var f,g;f=0;for(g=a.length;f<g;++f){var h=a[f];an(e,h,function(a){return Gc(a.extent,h)})||(this.H.call(this,h,c,d),e.za(h,{extent:h.slice()}))}};l.nb=function(a){var c=x(a).toString();c in this.i?delete this.i[c]:this.a&&this.a.remove(a);this.Jf(a);this.u()};l.Jf=function(a){var c=x(a).toString();this.o[c].forEach(sb);delete this.o[c];var d=a.Sa();void 0!==d?delete this.j[d.toString()]:delete this.l[c];this.b(new gn("removefeature",a))}; 
    308 function jn(a,c){for(var d in a.j)if(a.j[d]===c){delete a.j[d];break}}function gn(a,c){Eb.call(this,a);this.feature=c}y(gn,Eb);function kn(a){this.c=a.source;this.ya=nc();this.i=nh();this.j=[0,0];this.s=null;Wl.call(this,{attributions:a.attributions,canvasFunction:this.kj.bind(this),logo:a.logo,projection:a.projection,ratio:a.ratio,resolutions:a.resolutions,state:this.c.V()});this.H=null;this.o=void 0;this.kh(a.style);D(this.c,"change",this.Am,this)}y(kn,Wl);l=kn.prototype; 
    309 l.kj=function(a,c,d,e,f){var g=new xl(.5*c/d,a,c);this.c.Oc(a,c,f);var h=!1;this.c.ub(a,function(a){var e;if(!(e=h)){var f;(e=a.bc())?f=e.call(a,c):this.o&&(f=this.o(a,c));if(f){var p,q=!1;ga(f)||(f=[f]);e=0;for(p=f.length;e<p;++e)q=El(g,a,f[e],Dl(c,d),this.zm,this)||q;e=q}else e=!1}h=e},this);yl(g);if(h)return null;this.j[0]!=e[0]||this.j[1]!=e[1]?(this.i.canvas.width=e[0],this.i.canvas.height=e[1],this.j[0]=e[0],this.j[1]=e[1]):this.i.clearRect(0,0,e[0],e[1]);a=ln(this,Yc(a),c,d,e);g.a(this.i,d, 
    310 a,0,{});this.s=g;return this.i.canvas};l.oe=function(a,c,d,e,f){if(this.s){var g={};return this.s.f(a,c,0,e,function(a){var c=x(a).toString();if(!(c in g))return g[c]=!0,f(a)})}};l.wm=function(){return this.c};l.xm=function(){return this.H};l.ym=function(){return this.o};function ln(a,c,d,e,f){return Ji(a.ya,f[0]/2,f[1]/2,e/d,-e/d,0,-c[0],-c[1])}l.zm=function(){this.u()};l.Am=function(){tg(this,this.c.V())};l.kh=function(a){this.H=void 0!==a?a:Ok;this.o=a?Mk(this.H):void 0;this.u()};function mn(a){dl.call(this,a);this.f=null;this.o=nc();this.j=this.i=null}y(mn,dl);mn.prototype.gb=function(a,c,d,e){var f=this.a;return f.da().oe(a,c.viewState.resolution,c.viewState.rotation,c.skippedFeatureUids,function(a){return d.call(e,a,f)})}; 
    311 mn.prototype.yc=function(a,c,d,e){if(this.f&&this.f.a())if(this.a.da()instanceof kn){if(a=a.slice(),Li(c.pixelToCoordinateMatrix,a,a),this.gb(a,c,fd,this))return d.call(e,this.a)}else if(this.i||(this.i=nc(),tc(this.o,this.i)),c=[0,0],Li(this.i,a,c),this.j||(this.j=nh(1,1)),this.j.clearRect(0,0,1,1),this.j.drawImage(this.f?this.f.a():null,c[0],c[1],1,1,0,0,1,1),0<this.j.getImageData(0,0,1,1).data[3])return d.call(e,this.a)}; 
    312 mn.prototype.l=function(a,c){var d=a.pixelRatio,e=a.viewState,f=e.center,g=e.resolution,h=this.a.da(),k=a.viewHints,m=a.extent;void 0!==c.extent&&(m=$c(m,c.extent));k[0]||k[1]||Vc(m)||(e=h.B(m,g,d,e.projection))&&Oi(this,e)&&(this.f=e);if(this.f){var e=this.f,k=e.G(),m=e.Z(),n=e.f,g=d*m/(g*n);Ji(this.o,d*a.size[0]/2,d*a.size[1]/2,g,g,0,n*(k[0]-f[0])/m,n*(f[1]-k[3])/m);this.i=null;Qi(a.attributions,e.ea());Ri(a,h)}return!!this.f};function nn(a){dl.call(this,a);this.j=null;this.i=nh();this.s=null;this.A=yc()}y(nn,dl); 
    313 nn.prototype.c=function(a,c,d){var e=a.pixelRatio,f=a.viewState,g=f.center,h=f.projection,k=a.size,f=e/f.resolution,m=this.a,n=m.da(),p=n.Ud(h),q=n.Wd(h),r=gl(this,a,0);el(this,"precompose",d,a,r);Ib(m,"render")?(this.i.canvas.width=d.canvas.width,this.i.canvas.height=d.canvas.height,m=this.i):m=d;var t=Math.round(e*k[0]/2),k=Math.round(e*k[1]/2),v=m.globalAlpha;m.globalAlpha=c.opacity;c=n.Za(h);var w=this.s,A,B,z,C,O,I,K,P,da,J,ea;C=0;for(O=w.length;C<O;++C){P=w[C];da=c.Ca(P.ga,this.A);if(A=!q&& 
    314 this.j[P.ga.toString()]){m.save();m.beginPath();m.moveTo((da[0]-g[0])*f+t,(g[1]-da[1])*f+k);m.lineTo((da[2]-g[0])*f+t,(g[1]-da[1])*f+k);m.lineTo((da[2]-g[0])*f+t,(g[1]-da[3])*f+k);m.lineTo((da[0]-g[0])*f+t,(g[1]-da[3])*f+k);m.closePath();I=0;for(K=A.length;I<K;++I)B=A[I],m.moveTo((B[0]-g[0])*f+t,(g[1]-B[1])*f+k),m.lineTo((B[0]-g[0])*f+t,(g[1]-B[3])*f+k),m.lineTo((B[2]-g[0])*f+t,(g[1]-B[3])*f+k),m.lineTo((B[2]-g[0])*f+t,(g[1]-B[1])*f+k),m.closePath();m.clip()}z=P.ga[0];I=Kg(n,z,e,h);B=Sc(da);K=Math.round(Wc(da)* 
    315 f);da=Math.round(Xc(da)*f);z=Pc(c.Ca(c.ud(g,z)));J=t+Math.round((z[0]-g[0])*f);ea=k+Math.round((g[1]-z[1])*f);m.drawImage(P.cb(),p,p,I[0],I[1],Math.round((B[0]-z[0])*f/K)*K+J,Math.round((z[1]-B[1])*f/da)*da+ea,K,da);A&&m.restore()}m!=d&&(el(this,"render",m,a,r),d.drawImage(m.canvas,0,0));m.globalAlpha=v;fl(this,d,a,r)}; 
    316 nn.prototype.l=function(a,c){function d(a){a=a.V();return 2==a||4==a||3==a&&!v}var e=a.pixelRatio,f=a.viewState,g=f.projection,h=this.a,k=h.da(),m=k.Za(g),n=Dg(m,f.resolution),p=m.Z(n),q=f.center;p==f.resolution?(q=Ti(q,p,a.size),f=Zc(q,p,f.rotation,a.size)):f=a.extent;void 0!==c.extent&&(f=$c(f,c.extent));if(Vc(f))return!1;var p=Ag(m,f,p),r={};r[n]={};var t=this.cd(k,g,r),v=h.f(),q=yc(),w=new Me(0,0,0,0),A,B,z,C;for(z=p.ra;z<=p.va;++z)for(C=p.xa;C<=p.Aa;++C)A=k.Qb(n,z,C,e,g),!d(A)&&A.a&&(A=A.a), 
    317 d(A)?r[n][A.ga.toString()]=A:(B=xg(m,A.ga,t,null,w,q),B||(A=zg(m,A.ga,w,q))&&t(n+1,A));t=Object.keys(r).map(Number);t.sort(Ta);z=[];var O,I;C=0;for(B=t.length;C<B;++C)for(O in A=t[C],I=r[A],I)A=I[O],2==A.V()&&z.push(A);this.s=z;if(!k.Wd(g)){var K={},P;for(C=z.length-1;0<=C;--C)P=z[C].ga,xg(m,P,function(a,c){var d=r[a];if(d){var e,f;for(e in d)if(f=d[e],c.contains(f.ga)&&2==f.V())return e in K||(K[e]=[]),K[e].push(m.Ca(P)),!0}return!1},this,w,q);this.j=K}Si(a.usedTiles,k,n,p);Ui(a,k,m,e,g,f,n,h.a()); 
    318 Pi(a,k);Ri(a,k);return!0};nn.prototype.yc=function(a,c,d,e){var f=this.i.canvas,g=c.size;f.width=g[0];f.height=g[1];this.c(c,Ci(this.a),this.i);if(0<this.i.getImageData(a[0],a[1],1,1).data[3])return d.call(e,this.a)};function on(a){dl.call(this,a);this.j=!1;this.J=-1;this.B=NaN;this.A=yc();this.i=this.T=null;this.s=nh()}y(on,dl); 
    319 on.prototype.c=function(a,c,d){var e=a.extent,f=a.pixelRatio,g=c.Pc?a.skippedFeatureUids:{},h=a.viewState,k=h.projection,h=h.rotation,m=k.G(),n=this.a.da(),p=gl(this,a,0);el(this,"precompose",d,a,p);var q=this.i;if(q&&!q.Oa()){var r;Ib(this.a,"render")?(this.s.canvas.width=d.canvas.width,this.s.canvas.height=d.canvas.height,r=this.s):r=d;var t=r.globalAlpha;r.globalAlpha=c.opacity;c=a.size[0]*f;var v=a.size[1]*f;zk(r,-h,c/2,v/2);q.a(r,f,p,h,g);if(n.J&&k.b&&!Gc(m,e)){for(var k=e[0],n=Wc(m),w=0;k<m[0];)--w, 
    320 p=n*w,p=gl(this,a,p),q.a(r,f,p,h,g),k+=n;w=0;for(k=e[2];k>m[2];)++w,p=n*w,p=gl(this,a,p),q.a(r,f,p,h,g),k-=n;p=gl(this,a,0)}zk(r,h,c/2,v/2);r!=d&&(el(this,"render",r,a,p),d.drawImage(r.canvas,0,0));r.globalAlpha=t}fl(this,d,a,p)};on.prototype.gb=function(a,c,d,e){if(this.i){var f=this.a,g={};return this.i.f(a,c.viewState.resolution,c.viewState.rotation,{},function(a){var c=x(a).toString();if(!(c in g))return g[c]=!0,d.call(e,a,f)})}};on.prototype.D=function(){Ni(this)}; 
    321 on.prototype.l=function(a){function c(a){var c,e=a.bc();e?c=e.call(a,n):(e=d.f)&&(c=e(a,n));if(c){if(c){e=!1;if(ga(c))for(var f=0,g=c.length;f<g;++f)e=El(r,a,c[f],Dl(n,p),this.D,this)||e;else e=El(r,a,c,Dl(n,p),this.D,this)||e;a=e}else a=!1;this.j=this.j||a}}var d=this.a,e=d.da();Qi(a.attributions,e.ea());Ri(a,e);var f=a.viewHints[0],g=a.viewHints[1],h=d.s,k=d.A;if(!this.j&&!h&&f||!k&&g)return!0;var m=a.extent,k=a.viewState,f=k.projection,n=k.resolution,p=a.pixelRatio,g=d.g,q=d.a,h=Qk(d);void 0=== 
    322 h&&(h=Cl);m=Ac(m,q*n);q=k.projection.G();e.J&&k.projection.b&&!Gc(q,a.extent)&&(a=Math.max(Wc(m)/2,Wc(q)),m[0]=q[0]-a,m[2]=q[2]+a);if(!this.j&&this.B==n&&this.J==g&&this.T==h&&Gc(this.A,m))return!0;Db(this.i);this.i=null;this.j=!1;var r=new xl(.5*n/p,m,n,d.a);e.Oc(m,n,f);if(h){var t=[];e.ub(m,function(a){t.push(a)},this);t.sort(h);t.forEach(c,this)}else e.ub(m,c,this);yl(r);this.B=n;this.J=g;this.T=h;this.A=m;this.i=r;return!0};function pn(a,c){var d=/\{z\}/g,e=/\{x\}/g,f=/\{y\}/g,g=/\{-y\}/g;return function(h){if(h)return a.replace(d,h[0].toString()).replace(e,h[1].toString()).replace(f,function(){return(-h[2]-1).toString()}).replace(g,function(){var a=c.b?c.b[h[0]]:null;return(a.Aa-a.xa+1+h[2]).toString()})}}function qn(a,c){for(var d=a.length,e=Array(d),f=0;f<d;++f)e[f]=pn(a[f],c);return rn(e)}function rn(a){return 1===a.length?a[0]:function(c,d,e){if(c)return a[$b((c[1]<<c[0])+c[2],a.length)](c,d,e)}} 
    323 function sn(){}function tn(a){var c=[],d=/\{(\d)-(\d)\}/.exec(a)||/\{([a-z])-([a-z])\}/.exec(a);if(d){var e=d[2].charCodeAt(0),f;for(f=d[1].charCodeAt(0);f<=e;++f)c.push(a.replace(d[0],String.fromCharCode(f)))}else c.push(a);return c};function un(a){Ig.call(this,{attributions:a.attributions,Se:a.Se,extent:a.extent,logo:a.logo,opaque:a.opaque,projection:a.projection,state:a.state,tileGrid:a.tileGrid,tilePixelRatio:a.tilePixelRatio,wrapX:a.wrapX});this.tileLoadFunction=a.tileLoadFunction;this.tileUrlFunction=this.qc?this.qc.bind(this):sn;this.urls=null;a.urls?this.Ya(a.urls):a.url&&this.Xa(a.url);a.tileUrlFunction&&this.Na(a.tileUrlFunction)}y(un,Ig);l=un.prototype;l.$a=function(){return this.tileLoadFunction};l.ab=function(){return this.tileUrlFunction}; 
    324 l.bb=function(){return this.urls};l.nh=function(a){a=a.target;switch(a.V()){case 1:this.b(new Mg("tileloadstart",a));break;case 2:this.b(new Mg("tileloadend",a));break;case 3:this.b(new Mg("tileloaderror",a))}};l.jb=function(a){this.a.clear();this.tileLoadFunction=a;this.u()};l.Na=function(a){this.a.clear();this.tileUrlFunction=a;this.u()};l.Xa=function(a){a=this.urls=tn(a);this.Na(this.qc?this.qc.bind(this):qn(a,this.tileGrid))}; 
    325 l.Ya=function(a){this.urls=a;this.Na(this.qc?this.qc.bind(this):qn(a,this.tileGrid))};l.Of=function(a,c,d){a=this.Db(a,c,d);lg(this.a,a)&&this.a.get(a)};function vn(a){un.call(this,{attributions:a.attributions,Se:128,extent:a.extent,logo:a.logo,opaque:a.opaque,projection:a.projection,state:a.state,tileGrid:a.tileGrid,tileLoadFunction:a.tileLoadFunction?a.tileLoadFunction:wn,tileUrlFunction:a.tileUrlFunction,tilePixelRatio:a.tilePixelRatio,url:a.url,urls:a.urls,wrapX:void 0===a.wrapX?!0:a.wrapX});this.c=a.format?a.format:null;this.tileClass=a.tileClass?a.tileClass:Zl}y(vn,un); 
    326 vn.prototype.Qb=function(a,c,d,e,f){var g=this.Db(a,c,d);if(lg(this.a,g))return this.a.get(g);a=[a,c,d];e=(c=Lg(this,a,f))?this.tileUrlFunction(c,e,f):void 0;e=new this.tileClass(a,void 0!==e?0:4,void 0!==e?e:"",this.c,this.tileLoadFunction);D(e,"change",this.nh,this);this.a.set(g,e);return e};function wn(a,c){a.Th(Pm(c,a.j))};function xn(a){dl.call(this,a);this.s=nh();this.i=!1;this.A=[];this.T=yc();this.J=[NaN,NaN];this.j=nc()}y(xn,dl); 
    327 xn.prototype.c=function(a,c,d){var e=a.pixelRatio,f=c.Pc?a.skippedFeatureUids:{},g=a.viewState,h=g.center,k=g.projection,m=g.resolution,g=g.rotation,n=a.size,p=e/m,q=this.a,r=q.da(),t=r.uc(e),v=gl(this,a,0);el(this,"precompose",d,a,v);Ib(q,"render")?(this.s.canvas.width=d.canvas.width,this.s.canvas.height=d.canvas.height,q=this.s):q=d;var w=q.globalAlpha;q.globalAlpha=c.opacity;c=this.A;var A=r.tileGrid,B,z,C,O,I,K,P,da,J,ea,Ga,$a,ab;C=0;for(O=c.length;C<O;++C)if(ea=c[C],I=ea.c,da=A.Ca(ea.ga,this.T), 
    328 B=ea.ga[0],$a=Sb(A.Ua(B),this.J),J="tile-pixels"==ea.g.a,K=A.Z(B),Ga=K/t,z=K/m,K=Math.round(e*n[0]/2),P=Math.round(e*n[1]/2),ab=$a[0]*e*z,z*=$a[1]*e,$a=$a[0]*e,ab<$a/4||ab>4*$a)J?(da=Sc(da),Ga=Ji(this.j,K,P,p*Ga,p*Ga,g,(da[0]-h[0])/Ga,(h[1]-da[1])/Ga)):Ga=v,I.Vc.a(q,e,Ga,g,f);else{B=Kg(r,B,e,k);J?Ga=Ji(this.j,0,0,p*Ga,p*Ga,g,-B[0]/2,-B[1]/2):(Ga=Yc(da),Ga=Ji(this.j,0,0,p,-p,-g,-Ga[0],-Ga[1]));ea=ea.o;if(I.resolution!==m||I.rotation!==g)I.resolution=m,I.rotation=g,ea.canvas.width=ab+.5,ea.canvas.height= 
    329 z+.5,ea.translate(ab/2,z/2),ea.rotate(-g),I.Vc.a(ea,e,Ga,g,f,!1);I=Ji(this.j,0,0,p,-p,0,-h[0],-h[1]);I=Nd(Sc(da),0,1,2,I);q.drawImage(ea.canvas,Math.round(I[0]+K),Math.round(I[1])+P)}q!=d&&(el(this,"render",q,a,v),d.drawImage(q.canvas,0,0));q.globalAlpha=w;fl(this,d,a,v)}; 
    330 function yn(a,c,d,e,f){function g(a){var c,e=a.bc();e?c=e.call(a,A):(e=d.f)&&(c=e(a,A));if(c){ga(c)||(c=[c]);var e=z,f=B;if(c){var g=!1;if(ga(c))for(var h=0,k=c.length;h<k;++h)g=El(f,a,c[h],e,this.B,this)||g;else g=El(f,a,c,e,this.B,this)||g;a=g}else a=!1;this.i=this.i||a;m.kd=m.kd||a}}var h=d.g,k=Qk(d)||null,m=c.c;if(m.kd||m.Kh!=h||m.Kf!=k){Db(m.Vc);m.Vc=null;m.kd=!1;var n=d.da(),p=n.tileGrid,q=c.ga,r=c.g,t="tile-pixels"==r.a,v,w;t?(v=Kg(n,q[0],e,c.g),v=[0,0,v[0],v[1]]):(v=p.Ca(q),Hd(f,r)||(w=!0, 
    331 c.g=f));var A=p.Z(q[0]),n=t?n.uc(e):A;m.kd=!1;var B=new xl(0,v,n,d.a),z=Dl(n,e);c=c.i;k&&k!==m.Kf&&c.sort(k);n=0;for(p=c.length;n<p;++n)e=c[n],w&&e.X().fb(r,f),g.call(a,e);yl(B);m.Kh=h;m.Kf=k;m.Vc=B;m.resolution=NaN}} 
    332 xn.prototype.gb=function(a,c,d,e){var f=c.pixelRatio,g=c.viewState.resolution;c=c.viewState.rotation;var h=this.a,k={},m=this.A,n=h.da(),p=n.tileGrid,q,r,t,v,w,A;t=0;for(v=m.length;t<v;++t)A=m[t],r=A.ga,w=n.tileGrid.Ca(r,this.T),Dc(w,a)&&("tile-pixels"===A.g.a?(w=Sc(w),g=n.uc(f),r=p.Z(r[0])/g,r=[(a[0]-w[0])/r,(w[1]-a[1])/r]):r=a,A=A.c.Vc,q=q||A.f(r,g,c,{},function(a){var c=x(a).toString();if(!(c in k))return k[c]=!0,d.call(e,a,h)}));return q};xn.prototype.B=function(){Ni(this)}; 
    333 xn.prototype.l=function(a,c){var d=this.a,e=d.da();Qi(a.attributions,e.ea());Ri(a,e);var f=a.viewHints[0],g=a.viewHints[1],h=d.s,k=d.A;if(!this.i&&!h&&f||!k&&g)return!0;h=a.extent;c.extent&&(h=$c(h,c.extent));if(Vc(h))return!1;for(var g=a.viewState,f=g.projection,k=g.resolution,g=a.pixelRatio,m=e.tileGrid,n=m.Pb(),p=n.length-1;0<p&&n[p]<k;)--p;n=yg(m,h,p);Si(a.usedTiles,e,p,n);Ui(a,e,m,g,f,h,p,d.i());Pi(a,e);h={};h[p]={};var q=this.cd(e,f,h),r=d.S(),t=this.T,v=new Me(0,0,0,0),w,A,B;for(A=n.ra;A<= 
    334 n.va;++A)for(B=n.xa;B<=n.Aa;++B)k=e.Qb(p,A,B,g,f),w=k.V(),2==w||4==w||3==w&&!r?h[p][k.ga.toString()]=k:(w=xg(m,k.ga,q,null,v,t),w||(k=zg(m,k.ga,v,t))&&q(p+1,k));this.i=!1;e=Object.keys(h).map(Number);e.sort(Ta);for(var m=[],z,p=0,n=e.length;p<n;++p)for(z in k=e[p],q=h[k],q)k=q[z],2==k.V()&&(m.push(k),yn(this,k,d,g,f));this.A=m;return!0};function zn(a,c){$i.call(this,0,c);this.a=nh();this.j=nh();this.b=this.a.canvas;this.b.style.width="100%";this.b.style.height="100%";this.b.className="ol-unselectable";If(a,this.b,0);this.c=this.j.canvas;this.o=[0,0];this.A=yc();this.f=!0;this.l=nc()}y(zn,$i);zn.prototype.We=function(a){return a instanceof vk?new mn(a):a instanceof G?new nn(a):a instanceof L?new xn(a):a instanceof H?new on(a):null}; 
    335 function An(a,c,d){var e=a.i,f=a.a;if(Ib(e,c)){var g=d.extent,h=d.pixelRatio,k=d.viewState.rotation,m=d.pixelRatio,n=d.viewState,p=n.resolution;a=Ji(a.l,a.b.width/2,a.b.height/2,m/p,-m/p,-n.rotation,-n.center[0],-n.center[1]);g=new Rk(f,h,g,a,k);e.b(new Ei(c,e,g,d,f,null));cl(g)}}zn.prototype.W=function(){return"canvas"}; 
    336 zn.prototype.De=function(a){if(a){var c,d=a.pixelRatio,e=a.size[0]*d,f=a.size[1]*d;this.b.width=e;this.b.height=f;var g=a.viewState.rotation,h;if(g){c=this.j;h=Zc(this.o,d,g,a.size,this.A);var d=Wc(h),k=Xc(h);this.c.width=d+.5;this.c.height=k+.5;this.j.translate(Math.round((d-e)/2),Math.round((k-f)/2))}else c=this.a;aj(a);An(this,"precompose",a);d=a.layerStatesArray;cb(d);var k=a.viewState.resolution,m,n,p,q;m=0;for(n=d.length;m<n;++m)q=d[m],p=q.layer,p=cj(this,p),Gi(q,k)&&"ready"==q.H&&p.l(a,q)&& 
    337 p.c(a,q,c);g&&(this.a.translate(e/2,f/2),this.a.rotate(g),this.a.drawImage(this.c,Math.round(h[0]),Math.round(h[1])),this.a.rotate(-g),this.a.translate(-e/2,-f/2));An(this,"postcompose",a);this.f||(bg(this.b,!0),this.f=!0);dj(this,a);a.postRenderFunctions.push(bj)}else this.f&&(bg(this.b,!1),this.f=!1)};function Bn(a,c){Mi.call(this,a);this.target=c}y(Bn,Mi);Bn.prototype.i=va;Bn.prototype.o=va;function Cn(a){var c=document.createElement("DIV");c.style.position="absolute";Bn.call(this,a,c);this.f=null;this.c=pc()}y(Cn,Bn);Cn.prototype.gb=function(a,c,d,e){var f=this.a;return f.da().oe(a,c.viewState.resolution,c.viewState.rotation,c.skippedFeatureUids,function(a){return d.call(e,a,f)})};Cn.prototype.i=function(){Hf(this.target);this.f=null}; 
    338 Cn.prototype.j=function(a,c){var d=a.viewState,e=d.center,f=d.resolution,g=d.rotation,h=this.f,k=this.a.da(),m=a.viewHints,n=a.extent;void 0!==c.extent&&(n=$c(n,c.extent));m[0]||m[1]||Vc(n)||(d=k.B(n,f,a.pixelRatio,d.projection))&&Oi(this,d)&&(h=d);h&&(m=h.G(),n=h.Z(),d=nc(),Ji(d,a.size[0]/2,a.size[1]/2,n/f,n/f,g,(m[0]-e[0])/n,(e[1]-m[3])/n),h!=this.f&&(e=h.a(this),e.style.maxWidth="none",e.style.position="absolute",Hf(this.target),this.target.appendChild(e),this.f=h),Ki(d,this.c)||(rh(this.target, 
    339 d),qc(this.c,d)),Qi(a.attributions,h.ea()),Ri(a,k));return!0};function Dn(a){var c=document.createElement("DIV");c.style.position="absolute";Bn.call(this,a,c);this.c=!0;this.s=1;this.l=0;this.f={}}y(Dn,Bn);Dn.prototype.i=function(){Hf(this.target);this.l=0}; 
    340 Dn.prototype.j=function(a,c){if(!c.visible)return this.c&&(bg(this.target,!1),this.c=!1),!0;var d=a.pixelRatio,e=a.viewState,f=e.projection,g=this.a,h=g.da(),k=h.Za(f),m=h.Ud(f),n=Dg(k,e.resolution),p=k.Z(n),q=e.center,r;p==e.resolution?(q=Ti(q,p,a.size),r=Zc(q,p,e.rotation,a.size)):r=a.extent;void 0!==c.extent&&(r=$c(r,c.extent));var p=Ag(k,r,p),t={};t[n]={};var v=this.cd(h,f,t),w=g.f(),A=yc(),B=new Me(0,0,0,0),z,C,O,I;for(O=p.ra;O<=p.va;++O)for(I=p.xa;I<=p.Aa;++I)z=h.Qb(n,O,I,d,f),C=z.V(),C=2== 
    341 C||4==C||3==C&&!w,!C&&z.a&&(z=z.a),C=z.V(),2==C?t[n][z.ga.toString()]=z:4==C||3==C&&!w||(C=xg(k,z.ga,v,null,B,A),C||(z=zg(k,z.ga,B,A))&&v(n+1,z));var K;if(this.l!=h.g){for(K in this.f)w=this.f[+K],Jf(w.target);this.f={};this.l=h.g}A=Object.keys(t).map(Number);A.sort(Ta);var v={},P;O=0;for(I=A.length;O<I;++O){K=A[O];K in this.f?w=this.f[K]:(w=k.ud(q,K),w=new En(k,w),v[K]=!0,this.f[K]=w);K=t[K];for(P in K){z=w;C=K[P];var da=m,J=C.ga,ea=J[0],Ga=J[1],$a=J[2],J=J.toString();if(!(J in z.a)){var ea=Sb(z.c.Ua(ea), 
    342 z.l),ab=C.cb(z),Oa=ab.style;Oa.maxWidth="none";var Ec=void 0,Uc=void 0;0<da?(Ec=document.createElement("DIV"),Uc=Ec.style,Uc.overflow="hidden",Uc.width=ea[0]+"px",Uc.height=ea[1]+"px",Oa.position="absolute",Oa.left=-da+"px",Oa.top=-da+"px",Oa.width=ea[0]+2*da+"px",Oa.height=ea[1]+2*da+"px",Ec.appendChild(ab)):(Oa.width=ea[0]+"px",Oa.height=ea[1]+"px",Ec=ab,Uc=Oa);Uc.position="absolute";Uc.left=(Ga-z.g[1])*ea[0]+"px";Uc.top=(z.g[2]-$a)*ea[1]+"px";z.b||(z.b=document.createDocumentFragment());z.b.appendChild(Ec); 
    343 z.a[J]=C}}w.b&&(w.target.appendChild(w.b),w.b=null)}m=Object.keys(this.f).map(Number);m.sort(Ta);O=nc();P=0;for(A=m.length;P<A;++P)if(K=m[P],w=this.f[K],K in t)if(z=w.Z(),I=w.Ha(),Ji(O,a.size[0]/2,a.size[1]/2,z/e.resolution,z/e.resolution,e.rotation,(I[0]-q[0])/z,(q[1]-I[1])/z),w.setTransform(O),K in v){for(--K;0<=K;--K)if(K in this.f){I=this.f[K].target;I.parentNode&&I.parentNode.insertBefore(w.target,I.nextSibling);break}0>K&&If(this.target,w.target,0)}else{if(!a.viewHints[0]&&!a.viewHints[1]){C= 
    344 yg(w.c,r,w.g[0],B);K=[];z=I=void 0;for(z in w.a)I=w.a[z],C.contains(I.ga)||K.push(I);da=C=void 0;C=0;for(da=K.length;C<da;++C)I=K[C],z=I.ga.toString(),Jf(I.cb(w)),delete w.a[z]}}else Jf(w.target),delete this.f[K];c.opacity!=this.s&&(this.s=this.target.style.opacity=c.opacity);c.visible&&!this.c&&(bg(this.target,!0),this.c=!0);Si(a.usedTiles,h,n,p);Ui(a,h,k,d,f,r,n,g.a());Pi(a,h);Ri(a,h);return!0}; 
    345 function En(a,c){this.target=document.createElement("DIV");this.target.style.position="absolute";this.target.style.width="100%";this.target.style.height="100%";this.c=a;this.g=c;this.i=Sc(a.Ca(c));this.j=a.Z(c[0]);this.a={};this.b=null;this.f=pc();this.l=[0,0]}En.prototype.Ha=function(){return this.i};En.prototype.Z=function(){return this.j};En.prototype.setTransform=function(a){Ki(a,this.f)||(rh(this.target,a),qc(this.f,a))};function Fn(a){this.l=nh();var c=this.l.canvas;c.style.maxWidth="none";c.style.position="absolute";Bn.call(this,a,c);this.c=!1;this.B=-1;this.T=NaN;this.s=yc();this.f=this.A=null;this.H=nc();this.D=nc()}y(Fn,Bn); 
    346 Fn.prototype.o=function(a,c){var d=a.viewState,e=d.center,f=d.rotation,g=d.resolution,d=a.pixelRatio,h=a.size[0],k=a.size[1],m=h*d,n=k*d,e=Ji(this.H,d*h/2,d*k/2,d/g,-d/g,-f,-e[0],-e[1]),g=this.l;g.canvas.width=m;g.canvas.height=n;h=Ji(this.D,0,0,1/d,1/d,0,-(m-h)/2*d,-(n-k)/2*d);rh(g.canvas,h);Gn(this,"precompose",a,e);(h=this.f)&&!h.Oa()&&(g.globalAlpha=c.opacity,h.a(g,d,e,f,c.Pc?a.skippedFeatureUids:{}),Gn(this,"render",a,e));Gn(this,"postcompose",a,e)}; 
    347 function Gn(a,c,d,e){var f=a.l;a=a.a;Ib(a,c)&&(e=new Rk(f,d.pixelRatio,d.extent,e,d.viewState.rotation),a.b(new Ei(c,a,e,d,f,null)),cl(e))}Fn.prototype.gb=function(a,c,d,e){if(this.f){var f=this.a,g={};return this.f.f(a,c.viewState.resolution,c.viewState.rotation,{},function(a){var c=x(a).toString();if(!(c in g))return g[c]=!0,d.call(e,a,f)})}};Fn.prototype.J=function(){Ni(this)}; 
    348 Fn.prototype.j=function(a){function c(a){var c,e=a.bc();e?c=e.call(a,m):(e=d.f)&&(c=e(a,m));if(c){if(c){e=!1;if(ga(c))for(var f=0,g=c.length;f<g;++f)e=El(p,a,c[f],Dl(m,n),this.J,this)||e;else e=El(p,a,c,Dl(m,n),this.J,this)||e;a=e}else a=!1;this.c=this.c||a}}var d=this.a,e=d.da();Qi(a.attributions,e.ea());Ri(a,e);var f=a.viewHints[0],g=a.viewHints[1],h=d.s,k=d.A;if(!this.c&&!h&&f||!k&&g)return!0;var g=a.extent,h=a.viewState,f=h.projection,m=h.resolution,n=a.pixelRatio;a=d.g;k=d.a;h=Qk(d);void 0=== 
    349 h&&(h=Cl);g=Ac(g,k*m);if(!this.c&&this.T==m&&this.B==a&&this.A==h&&Gc(this.s,g))return!0;Db(this.f);this.f=null;this.c=!1;var p=new xl(.5*m/n,g,m,d.a);e.Oc(g,m,f);if(h){var q=[];e.ub(g,function(a){q.push(a)},this);q.sort(h);q.forEach(c,this)}else e.ub(g,c,this);yl(p);this.T=m;this.B=a;this.A=h;this.s=g;this.f=p;return!0};function Hn(a,c){$i.call(this,0,c);this.f=nh();var d=this.f.canvas;d.style.position="absolute";d.style.width="100%";d.style.height="100%";d.className="ol-unselectable";If(a,d,0);this.c=nc();this.b=document.createElement("DIV");this.b.className="ol-unselectable";d=this.b.style;d.position="absolute";d.width="100%";d.height="100%";D(this.b,"touchstart",Gb);If(a,this.b,0);this.a=!0}y(Hn,$i);Hn.prototype.fa=function(){Jf(this.b);Hn.ia.fa.call(this)}; 
    350 Hn.prototype.We=function(a){if(a instanceof vk)a=new Cn(a);else if(a instanceof G)a=new Dn(a);else if(a instanceof H)a=new Fn(a);else return null;return a};function In(a,c,d){var e=a.i;if(Ib(e,c)){var f=d.extent,g=d.pixelRatio,h=d.viewState,k=h.rotation,m=a.f,n=m.canvas;Ji(a.c,n.width/2,n.height/2,g/h.resolution,-g/h.resolution,-h.rotation,-h.center[0],-h.center[1]);a=new Rk(m,g,f,a.c,k);e.b(new Ei(c,e,a,d,m,null));cl(a)}}Hn.prototype.W=function(){return"dom"}; 
    351 Hn.prototype.De=function(a){if(a){var c=this.i;if(Ib(c,"precompose")||Ib(c,"postcompose")){var c=this.f.canvas,d=a.pixelRatio;c.width=a.size[0]*d;c.height=a.size[1]*d}In(this,"precompose",a);c=a.layerStatesArray;cb(c);var d=a.viewState.resolution,e,f,g,h;e=0;for(f=c.length;e<f;++e)h=c[e],g=h.layer,g=cj(this,g),If(this.b,g.target,e),Gi(h,d)&&"ready"==h.H?g.j(a,h)&&g.o(a,h):g.i();var c=a.layerStates,k;for(k in this.g)k in c||(g=this.g[k],Jf(g.target));this.a||(bg(this.b,!0),this.a=!0);aj(a);dj(this, 
    352 a);a.postRenderFunctions.push(bj);In(this,"postcompose",a)}else this.a&&(bg(this.b,!1),this.a=!1)};function Jn(a){this.b=a}function Kn(a){this.b=a}y(Kn,Jn);Kn.prototype.W=function(){return 35632};function Ln(a){this.b=a}y(Ln,Jn);Ln.prototype.W=function(){return 35633};function Mn(){this.b="precision mediump float;varying vec2 a;varying float b;uniform float k;uniform sampler2D l;void main(void){vec4 texColor=texture2D(l,a);gl_FragColor.rgb=texColor.rgb;float alpha=texColor.a*b*k;if(alpha==0.0){discard;}gl_FragColor.a=alpha;}"}y(Mn,Kn);ca(Mn); 
    353 function Nn(){this.b="varying vec2 a;varying float b;attribute vec2 c;attribute vec2 d;attribute vec2 e;attribute float f;attribute float g;uniform mat4 h;uniform mat4 i;uniform mat4 j;void main(void){mat4 offsetMatrix=i;if(g==1.0){offsetMatrix=i*j;}vec4 offsets=offsetMatrix*vec4(e,0.,0.);gl_Position=h*vec4(c,0.,1.)+offsets;a=d;b=f;}"}y(Nn,Ln);ca(Nn); 
    354 function On(a,c){this.l=a.getUniformLocation(c,"j");this.o=a.getUniformLocation(c,"i");this.i=a.getUniformLocation(c,"k");this.j=a.getUniformLocation(c,"h");this.b=a.getAttribLocation(c,"e");this.a=a.getAttribLocation(c,"f");this.f=a.getAttribLocation(c,"c");this.g=a.getAttribLocation(c,"g");this.c=a.getAttribLocation(c,"d")};function Pn(a){this.b=void 0!==a?a:[]};function Qn(a,c){this.A=a;this.a=c;this.g={};this.i={};this.c={};this.o=this.s=this.j=this.l=null;(this.f=Ua(ua,"OES_element_index_uint"))&&c.getExtension("OES_element_index_uint");D(this.A,"webglcontextlost",this.rn,this);D(this.A,"webglcontextrestored",this.sn,this)} 
    355 function Rn(a,c,d){var e=a.a,f=d.b,g=String(x(d));if(g in a.g)e.bindBuffer(c,a.g[g].buffer);else{var h=e.createBuffer();e.bindBuffer(c,h);var k;34962==c?k=new Float32Array(f):34963==c&&(k=a.f?new Uint32Array(f):new Uint16Array(f));e.bufferData(c,k,35044);a.g[g]={Gb:d,buffer:h}}}function Sn(a,c){var d=a.a,e=String(x(c)),f=a.g[e];d.isContextLost()||d.deleteBuffer(f.buffer);delete a.g[e]}l=Qn.prototype; 
    356 l.fa=function(){var a=this.a;if(!a.isContextLost()){for(var c in this.g)a.deleteBuffer(this.g[c].buffer);for(c in this.c)a.deleteProgram(this.c[c]);for(c in this.i)a.deleteShader(this.i[c]);a.deleteFramebuffer(this.j);a.deleteRenderbuffer(this.o);a.deleteTexture(this.s)}};l.qn=function(){return this.a}; 
    357 function Tn(a){if(!a.j){var c=a.a,d=c.createFramebuffer();c.bindFramebuffer(c.FRAMEBUFFER,d);var e=Un(c,1,1),f=c.createRenderbuffer();c.bindRenderbuffer(c.RENDERBUFFER,f);c.renderbufferStorage(c.RENDERBUFFER,c.DEPTH_COMPONENT16,1,1);c.framebufferTexture2D(c.FRAMEBUFFER,c.COLOR_ATTACHMENT0,c.TEXTURE_2D,e,0);c.framebufferRenderbuffer(c.FRAMEBUFFER,c.DEPTH_ATTACHMENT,c.RENDERBUFFER,f);c.bindTexture(c.TEXTURE_2D,null);c.bindRenderbuffer(c.RENDERBUFFER,null);c.bindFramebuffer(c.FRAMEBUFFER,null);a.j=d; 
    358 a.s=e;a.o=f}return a.j}function Vn(a,c){var d=String(x(c));if(d in a.i)return a.i[d];var e=a.a,f=e.createShader(c.W());e.shaderSource(f,c.b);e.compileShader(f);return a.i[d]=f}function Wn(a,c,d){var e=x(c)+"/"+x(d);if(e in a.c)return a.c[e];var f=a.a,g=f.createProgram();f.attachShader(g,Vn(a,c));f.attachShader(g,Vn(a,d));f.linkProgram(g);return a.c[e]=g}l.rn=function(){nb(this.g);nb(this.i);nb(this.c);this.o=this.s=this.j=this.l=null};l.sn=function(){}; 
    359 l.xe=function(a){if(a==this.l)return!1;this.a.useProgram(a);this.l=a;return!0};function Xn(a,c,d){var e=a.createTexture();a.bindTexture(a.TEXTURE_2D,e);a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MAG_FILTER,a.LINEAR);a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MIN_FILTER,a.LINEAR);void 0!==c&&a.texParameteri(3553,10242,c);void 0!==d&&a.texParameteri(3553,10243,d);return e}function Un(a,c,d){var e=Xn(a,void 0,void 0);a.texImage2D(a.TEXTURE_2D,0,a.RGBA,c,d,0,a.RGBA,a.UNSIGNED_BYTE,null);return e} 
    360 function Yn(a,c){var d=Xn(a,33071,33071);a.texImage2D(a.TEXTURE_2D,0,a.RGBA,a.RGBA,a.UNSIGNED_BYTE,c);return d};function Zn(a,c){this.J=this.B=void 0;this.o=Yc(c);this.T=[];this.i=[];this.H=void 0;this.c=[];this.f=[];this.ua=this.ta=void 0;this.a=[];this.D=this.l=null;this.S=void 0;this.ya=pc();this.qb=pc();this.U=this.Ga=void 0;this.Fb=pc();this.wa=this.Da=this.aa=void 0;this.oa=[];this.j=[];this.b=[];this.A=null;this.g=[];this.s=[];this.na=void 0}y(Zn,Di); 
    361 function $n(a,c){var d=a.A,e=a.l,f=a.oa,g=a.j,h=c.a;return function(){if(!h.isContextLost()){var a,m;a=0;for(m=f.length;a<m;++a)h.deleteTexture(f[a]);a=0;for(m=g.length;a<m;++a)h.deleteTexture(g[a])}Sn(c,d);Sn(c,e)}} 
    362 function ao(a,c,d,e){var f=a.B,g=a.J,h=a.H,k=a.ta,m=a.ua,n=a.S,p=a.Ga,q=a.U,r=a.aa?1:0,t=a.Da,v=a.wa,w=a.na,A=Math.cos(t),t=Math.sin(t),B=a.a.length,z=a.b.length,C,O,I,K,P,da;for(C=0;C<d;C+=e)P=c[C]-a.o[0],da=c[C+1]-a.o[1],O=z/8,I=-v*f,K=-v*(h-g),a.b[z++]=P,a.b[z++]=da,a.b[z++]=I*A-K*t,a.b[z++]=I*t+K*A,a.b[z++]=p/m,a.b[z++]=(q+h)/k,a.b[z++]=n,a.b[z++]=r,I=v*(w-f),K=-v*(h-g),a.b[z++]=P,a.b[z++]=da,a.b[z++]=I*A-K*t,a.b[z++]=I*t+K*A,a.b[z++]=(p+w)/m,a.b[z++]=(q+h)/k,a.b[z++]=n,a.b[z++]=r,I=v*(w-f),K= 
    363 v*g,a.b[z++]=P,a.b[z++]=da,a.b[z++]=I*A-K*t,a.b[z++]=I*t+K*A,a.b[z++]=(p+w)/m,a.b[z++]=q/k,a.b[z++]=n,a.b[z++]=r,I=-v*f,K=v*g,a.b[z++]=P,a.b[z++]=da,a.b[z++]=I*A-K*t,a.b[z++]=I*t+K*A,a.b[z++]=p/m,a.b[z++]=q/k,a.b[z++]=n,a.b[z++]=r,a.a[B++]=O,a.a[B++]=O+1,a.a[B++]=O+2,a.a[B++]=O,a.a[B++]=O+2,a.a[B++]=O+3}Zn.prototype.Hb=function(a,c){this.g.push(this.a.length);this.s.push(c);var d=a.ha();ao(this,d,d.length,a.qa())}; 
    364 Zn.prototype.Ib=function(a,c){this.g.push(this.a.length);this.s.push(c);var d=a.ha();ao(this,d,d.length,a.qa())};function bo(a,c){var d=c.a;a.T.push(a.a.length);a.i.push(a.a.length);a.A=new Pn(a.b);Rn(c,34962,a.A);a.l=new Pn(a.a);Rn(c,34963,a.l);var e={};co(a.oa,a.c,e,d);co(a.j,a.f,e,d);a.B=void 0;a.J=void 0;a.H=void 0;a.c=null;a.f=null;a.ta=void 0;a.ua=void 0;a.a=null;a.S=void 0;a.Ga=void 0;a.U=void 0;a.aa=void 0;a.Da=void 0;a.wa=void 0;a.b=null;a.na=void 0} 
    365 function co(a,c,d,e){var f,g,h,k=c.length;for(h=0;h<k;++h)f=c[h],g=x(f).toString(),g in d?f=d[g]:(f=Yn(e,f),d[g]=f),a[h]=f} 
    366 function eo(a,c,d,e,f,g,h,k,m,n,p){var q=c.a;Rn(c,34962,a.A);Rn(c,34963,a.l);var r=Mn.Zb(),t=Nn.Zb(),t=Wn(c,r,t);a.D?r=a.D:(r=new On(q,t),a.D=r);c.xe(t);q.enableVertexAttribArray(r.f);q.vertexAttribPointer(r.f,2,5126,!1,32,0);q.enableVertexAttribArray(r.b);q.vertexAttribPointer(r.b,2,5126,!1,32,8);q.enableVertexAttribArray(r.c);q.vertexAttribPointer(r.c,2,5126,!1,32,16);q.enableVertexAttribArray(r.a);q.vertexAttribPointer(r.a,1,5126,!1,32,24);q.enableVertexAttribArray(r.g);q.vertexAttribPointer(r.g, 
    367 1,5126,!1,32,28);t=a.Fb;Ji(t,0,0,2/(e*g[0]),2/(e*g[1]),-f,-(d[0]-a.o[0]),-(d[1]-a.o[1]));d=a.qb;e=2/g[0];g=2/g[1];rc(d);d[0]=e;d[5]=g;d[10]=1;d[15]=1;g=a.ya;rc(g);0!==f&&wc(g,-f);q.uniformMatrix4fv(r.j,!1,t);q.uniformMatrix4fv(r.o,!1,d);q.uniformMatrix4fv(r.l,!1,g);q.uniform1f(r.i,h);var v;if(void 0===m)fo(a,q,c,k,a.oa,a.T);else{if(n)a:{f=c.f?5125:5123;c=c.f?4:2;g=a.g.length-1;for(h=a.j.length-1;0<=h;--h)for(q.bindTexture(3553,a.j[h]),n=0<h?a.i[h-1]:0,t=a.i[h];0<=g&&a.g[g]>=n;){v=a.g[g];d=a.s[g]; 
    368 e=x(d).toString();if(void 0===k[e]&&d.X()&&(void 0===p||ad(p,d.X().G()))&&(q.clear(q.COLOR_BUFFER_BIT|q.DEPTH_BUFFER_BIT),q.drawElements(4,t-v,f,v*c),t=m(d))){a=t;break a}t=v;g--}a=void 0}else q.clear(q.COLOR_BUFFER_BIT|q.DEPTH_BUFFER_BIT),fo(a,q,c,k,a.j,a.i),a=(a=m(null))?a:void 0;v=a}q.disableVertexAttribArray(r.f);q.disableVertexAttribArray(r.b);q.disableVertexAttribArray(r.c);q.disableVertexAttribArray(r.a);q.disableVertexAttribArray(r.g);return v} 
    369 function fo(a,c,d,e,f,g){var h=d.f?5125:5123;d=d.f?4:2;if(pb(e)){var k;a=0;e=f.length;for(k=0;a<e;++a){c.bindTexture(3553,f[a]);var m=g[a];c.drawElements(4,m-k,h,k*d);k=m}}else{k=0;var n,m=0;for(n=f.length;m<n;++m){c.bindTexture(3553,f[m]);for(var p=0<m?g[m-1]:0,q=g[m],r=p;k<a.g.length&&a.g[k]<=q;){var t=x(a.s[k]).toString();void 0!==e[t]?(r!==p&&c.drawElements(4,p-r,h,r*d),p=r=k===a.g.length-1?q:a.g[k+1]):p=k===a.g.length-1?q:a.g[k+1];k++}r!==p&&c.drawElements(4,p-r,h,r*d)}}} 
    370 Zn.prototype.yb=function(a){var c=a.Yb(),d=a.gc(1),e=a.qd(),f=a.qe(1),g=a.A,h=a.Ha(),k=a.B,m=a.s,n=a.Eb();a=a.j;var p;0===this.c.length?this.c.push(d):(p=this.c[this.c.length-1],x(p)!=x(d)&&(this.T.push(this.a.length),this.c.push(d)));0===this.f.length?this.f.push(f):(p=this.f[this.f.length-1],x(p)!=x(f)&&(this.i.push(this.a.length),this.f.push(f)));this.B=c[0];this.J=c[1];this.H=n[1];this.ta=e[1];this.ua=e[0];this.S=g;this.Ga=h[0];this.U=h[1];this.Da=m;this.aa=k;this.wa=a;this.na=n[0]}; 
    371 function go(a,c,d){this.i=c;this.j=a;this.c=d;this.g={}}function ho(a,c){var d=[],e;for(e in a.g)d.push($n(a.g[e],c));return id.apply(null,d)}function io(a,c){for(var d in a.g)bo(a.g[d],c)}go.prototype.b=function(a,c){var d=this.g[c];void 0===d&&(d=new jo[c](this.j,this.i),this.g[c]=d);return d};go.prototype.Oa=function(){return pb(this.g)};go.prototype.a=function(a,c,d,e,f,g,h,k){var m,n;g=0;for(m=hl.length;g<m;++g)n=this.g[hl[g]],void 0!==n&&eo(n,a,c,d,e,f,h,k,void 0,!1)}; 
    372 function ko(a,c,d,e,f,g,h,k,m,n){var p=lo,q,r;for(q=hl.length-1;0<=q;--q)if(r=a.g[hl[q]],void 0!==r&&(r=eo(r,c,d,e,f,p,g,h,k,m,n)))return r}go.prototype.f=function(a,c,d,e,f,g,h,k,m,n){var p=c.a;p.bindFramebuffer(p.FRAMEBUFFER,Tn(c));var q;void 0!==this.c&&(q=Ac(Jc(a),e*this.c));return ko(this,c,a,e,f,k,m,function(a){var c=new Uint8Array(4);p.readPixels(0,0,1,1,p.RGBA,p.UNSIGNED_BYTE,c);if(0<c[3]&&(a=n(a)))return a},!0,q)}; 
    373 function mo(a,c,d,e,f,g,h){var k=d.a;k.bindFramebuffer(k.FRAMEBUFFER,Tn(d));return void 0!==ko(a,d,c,e,f,g,h,function(){var a=new Uint8Array(4);k.readPixels(0,0,1,1,k.RGBA,k.UNSIGNED_BYTE,a);return 0<a[3]},!1)}var jo={Image:Zn},lo=[1,1];function no(a,c,d,e,f,g){this.a=a;this.c=c;this.f=g;this.l=f;this.j=e;this.i=d;this.g=null;this.b={}}y(no,Di);l=no.prototype;l.ld=function(a,c){var d=a.toString(),e=this.b[d];void 0!==e?e.push(c):this.b[d]=[c]};l.Ic=function(){};l.Xe=function(a,c){var d=(0,c.f)(a);if(d&&ad(this.f,d.G())){var e=c.b;void 0===e&&(e=0);this.ld(e,function(a){a.hb(c.c,c.g);a.yb(c.a);a.ib(c.Fa());var e=oo[d.W()];e&&e.call(a,d,null)})}}; 
    374 l.Sd=function(a,c){var d=a.i,e,f;e=0;for(f=d.length;e<f;++e){var g=d[e],h=oo[g.W()];h&&h.call(this,g,c)}};l.Ib=function(a,c){var d=this.a,e=(new go(1,this.f)).b(0,"Image");e.yb(this.g);e.Ib(a,c);bo(e,d);eo(e,this.a,this.c,this.i,this.j,this.l,1,{},void 0,!1);$n(e,d)()};l.Xb=function(){};l.Jc=function(){};l.Hb=function(a,c){var d=this.a,e=(new go(1,this.f)).b(0,"Image");e.yb(this.g);e.Hb(a,c);bo(e,d);eo(e,this.a,this.c,this.i,this.j,this.l,1,{},void 0,!1);$n(e,d)()};l.Kc=function(){};l.Lc=function(){}; 
    375 l.Jb=function(){};l.hb=function(){};l.yb=function(a){this.g=a};l.ib=function(){};var oo={Point:no.prototype.Ib,MultiPoint:no.prototype.Hb,GeometryCollection:no.prototype.Sd};function po(){this.b="precision mediump float;varying vec2 a;uniform float f;uniform sampler2D g;void main(void){vec4 texColor=texture2D(g,a);gl_FragColor.rgb=texColor.rgb;gl_FragColor.a=texColor.a*f;}"}y(po,Kn);ca(po);function qo(){this.b="varying vec2 a;attribute vec2 b;attribute vec2 c;uniform mat4 d;uniform mat4 e;void main(void){gl_Position=e*vec4(b,0.,1.);a=(d*vec4(c,0.,1.)).st;}"}y(qo,Ln);ca(qo); 
    376 function ro(a,c){this.g=a.getUniformLocation(c,"f");this.f=a.getUniformLocation(c,"e");this.i=a.getUniformLocation(c,"d");this.c=a.getUniformLocation(c,"g");this.b=a.getAttribLocation(c,"b");this.a=a.getAttribLocation(c,"c")};function so(a,c){Mi.call(this,c);this.f=a;this.S=new Pn([-1,-1,0,0,1,-1,1,0,-1,1,0,1,1,1,1,1]);this.i=this.pb=null;this.j=void 0;this.s=nc();this.T=pc();this.A=null}y(so,Mi); 
    377 function to(a,c,d){var e=a.f.f;if(void 0===a.j||a.j!=d){c.postRenderFunctions.push(ra(function(a,c,d){a.isContextLost()||(a.deleteFramebuffer(c),a.deleteTexture(d))},e,a.i,a.pb));c=Un(e,d,d);var f=e.createFramebuffer();e.bindFramebuffer(36160,f);e.framebufferTexture2D(36160,36064,3553,c,0);a.pb=c;a.i=f;a.j=d}else e.bindFramebuffer(36160,a.i)} 
    378 so.prototype.ih=function(a,c,d){uo(this,"precompose",d,a);Rn(d,34962,this.S);var e=d.a,f=po.Zb(),g=qo.Zb(),f=Wn(d,f,g);this.A?g=this.A:this.A=g=new ro(e,f);d.xe(f)&&(e.enableVertexAttribArray(g.b),e.vertexAttribPointer(g.b,2,5126,!1,16,0),e.enableVertexAttribArray(g.a),e.vertexAttribPointer(g.a,2,5126,!1,16,8),e.uniform1i(g.c,0));e.uniformMatrix4fv(g.i,!1,this.s);e.uniformMatrix4fv(g.f,!1,this.T);e.uniform1f(g.g,c.opacity);e.bindTexture(3553,this.pb);e.drawArrays(5,0,4);uo(this,"postcompose",d,a)}; 
    379 function uo(a,c,d,e){a=a.a;if(Ib(a,c)){var f=e.viewState;a.b(new Ei(c,a,new no(d,f.center,f.resolution,f.rotation,e.size,e.extent),e,null,d))}}so.prototype.rf=function(){this.i=this.pb=null;this.j=void 0};function vo(a,c){so.call(this,a,c);this.o=this.l=this.c=null}y(vo,so);function wo(a,c){var d=c.a();return Yn(a.f.f,d)}vo.prototype.gb=function(a,c,d,e){var f=this.a;return f.da().oe(a,c.viewState.resolution,c.viewState.rotation,c.skippedFeatureUids,function(a){return d.call(e,a,f)})}; 
    380 vo.prototype.sf=function(a,c){var d=this.f.f,e=a.pixelRatio,f=a.viewState,g=f.center,h=f.resolution,k=f.rotation,m=this.c,n=this.pb,p=this.a.da(),q=a.viewHints,r=a.extent;void 0!==c.extent&&(r=$c(r,c.extent));q[0]||q[1]||Vc(r)||(f=p.B(r,h,e,f.projection))&&Oi(this,f)&&(m=f,n=wo(this,f),this.pb&&a.postRenderFunctions.push(ra(function(a,c){a.isContextLost()||a.deleteTexture(c)},d,this.pb)));m&&(d=this.f.c.A,xo(this,d.width,d.height,e,g,h,k,m.G()),this.o=null,e=this.s,rc(e),vc(e,1,-1),uc(e,0,-1),this.c= 
    381 m,this.pb=n,Qi(a.attributions,m.ea()),Ri(a,p));return!0};function xo(a,c,d,e,f,g,h,k){c*=g;d*=g;a=a.T;rc(a);vc(a,2*e/c,2*e/d);wc(a,-h);uc(a,k[0]-f[0],k[1]-f[1]);vc(a,(k[2]-k[0])/2,(k[3]-k[1])/2);uc(a,1,1)}vo.prototype.ne=function(a,c){return void 0!==this.gb(a,c,fd,this)}; 
    382 vo.prototype.yc=function(a,c,d,e){if(this.c&&this.c.a())if(this.a.da()instanceof kn){if(a=a.slice(),Li(c.pixelToCoordinateMatrix,a,a),this.gb(a,c,fd,this))return d.call(e,this.a)}else{var f=[this.c.a().width,this.c.a().height];if(!this.o){var g=c.size;c=nc();rc(c);uc(c,-1,-1);vc(c,2/g[0],2/g[1]);uc(c,0,g[1]);vc(c,1,-1);g=nc();tc(this.T,g);var h=nc();rc(h);uc(h,0,f[1]);vc(h,1,-1);vc(h,f[0]/2,f[1]/2);uc(h,1,1);var k=nc();sc(h,g,k);sc(k,c,k);this.o=k}c=[0,0];Li(this.o,a,c);if(!(0>c[0]||c[0]>f[0]||0> 
    383 c[1]||c[1]>f[1])&&(this.l||(this.l=nh(1,1)),this.l.clearRect(0,0,1,1),this.l.drawImage(this.c.a(),c[0],c[1],1,1,0,0,1,1),0<this.l.getImageData(0,0,1,1).data[3]))return d.call(e,this.a)}};function yo(){this.b="precision mediump float;varying vec2 a;uniform sampler2D e;void main(void){gl_FragColor=texture2D(e,a);}"}y(yo,Kn);ca(yo);function zo(){this.b="varying vec2 a;attribute vec2 b;attribute vec2 c;uniform vec4 d;void main(void){gl_Position=vec4(b*d.xy+d.zw,0.,1.);a=c;}"}y(zo,Ln);ca(zo);function Ao(a,c){this.g=a.getUniformLocation(c,"e");this.f=a.getUniformLocation(c,"d");this.b=a.getAttribLocation(c,"b");this.a=a.getAttribLocation(c,"c")};function Bo(a,c){so.call(this,a,c);this.D=yo.Zb();this.U=zo.Zb();this.c=null;this.J=new Pn([0,0,0,1,1,0,1,1,0,1,0,0,1,1,1,0]);this.B=this.l=null;this.o=-1;this.H=[0,0]}y(Bo,so);l=Bo.prototype;l.fa=function(){Sn(this.f.c,this.J);Bo.ia.fa.call(this)};l.cd=function(a,c,d){var e=this.f;return function(f,g){return Jg(a,c,f,g,function(a){var c=lg(e.a,a.eb());c&&(d[f]||(d[f]={}),d[f][a.ga.toString()]=a);return c})}};l.rf=function(){Bo.ia.rf.call(this);this.c=null}; 
    384 l.sf=function(a,c,d){var e=this.f,f=d.a,g=a.viewState,h=g.projection,k=this.a,m=k.da(),n=m.Za(h),p=Dg(n,g.resolution),q=n.Z(p),r=Kg(m,p,a.pixelRatio,h),t=r[0]/Sb(n.Ua(p),this.H)[0],v=q/t,w=m.Ud(h),A=g.center,B;q==g.resolution?(A=Ti(A,q,a.size),B=Zc(A,q,g.rotation,a.size)):B=a.extent;q=Ag(n,B,q);if(this.l&&Oe(this.l,q)&&this.o==m.g)v=this.B;else{var z=[q.va-q.ra+1,q.Aa-q.xa+1],C=Math.pow(2,Math.ceil(Math.log(Math.max(z[0]*r[0],z[1]*r[1]))/Math.LN2)),z=v*C,O=n.Ha(p),I=O[0]+q.ra*r[0]*v,v=O[1]+q.xa*r[1]* 
    385 v,v=[I,v,I+z,v+z];to(this,a,C);f.viewport(0,0,C,C);f.clearColor(0,0,0,0);f.clear(16384);f.disable(3042);C=Wn(d,this.D,this.U);d.xe(C);this.c||(this.c=new Ao(f,C));Rn(d,34962,this.J);f.enableVertexAttribArray(this.c.b);f.vertexAttribPointer(this.c.b,2,5126,!1,16,0);f.enableVertexAttribArray(this.c.a);f.vertexAttribPointer(this.c.a,2,5126,!1,16,8);f.uniform1i(this.c.g,0);d={};d[p]={};var K=this.cd(m,h,d),P=k.f(),C=!0,I=yc(),da=new Me(0,0,0,0),J,ea,Ga;for(ea=q.ra;ea<=q.va;++ea)for(Ga=q.xa;Ga<=q.Aa;++Ga){O= 
    386 m.Qb(p,ea,Ga,t,h);if(void 0!==c.extent&&(J=n.Ca(O.ga,I),!ad(J,c.extent)))continue;J=O.V();J=2==J||4==J||3==J&&!P;!J&&O.a&&(O=O.a);J=O.V();if(2==J){if(lg(e.a,O.eb())){d[p][O.ga.toString()]=O;continue}}else if(4==J||3==J&&!P)continue;C=!1;J=xg(n,O.ga,K,null,da,I);J||(O=zg(n,O.ga,da,I))&&K(p+1,O)}c=Object.keys(d).map(Number);c.sort(Ta);for(var K=new Float32Array(4),$a,ab,Oa,P=0,da=c.length;P<da;++P)for($a in ab=d[c[P]],ab)O=ab[$a],J=n.Ca(O.ga,I),ea=2*(J[2]-J[0])/z,Ga=2*(J[3]-J[1])/z,Oa=2*(J[0]-v[0])/ 
    387 z-1,J=2*(J[1]-v[1])/z-1,mc(K,ea,Ga,Oa,J),f.uniform4fv(this.c.f,K),Co(e,O,r,w*t),f.drawArrays(5,0,4);C?(this.l=q,this.B=v,this.o=m.g):(this.B=this.l=null,this.o=-1,a.animate=!0)}Si(a.usedTiles,m,p,q);var Ec=e.l;Ui(a,m,n,t,h,B,p,k.a(),function(a){var c;(c=2!=a.V()||lg(e.a,a.eb()))||(c=a.eb()in Ec.g);c||Ec.f([a,Cg(n,a.ga),n.Z(a.ga[0]),r,w*t])},this);Pi(a,m);Ri(a,m);f=this.s;rc(f);uc(f,(A[0]-v[0])/(v[2]-v[0]),(A[1]-v[1])/(v[3]-v[1]));0!==g.rotation&&wc(f,g.rotation);vc(f,a.size[0]*g.resolution/(v[2]- 
    388 v[0]),a.size[1]*g.resolution/(v[3]-v[1]));uc(f,-.5,-.5);return!0};l.yc=function(a,c,d,e){if(this.i){var f=[0,0];Li(this.s,[a[0]/c.size[0],(c.size[1]-a[1])/c.size[1]],f);a=[f[0]*this.j,f[1]*this.j];c=this.f.c.a;c.bindFramebuffer(c.FRAMEBUFFER,this.i);f=new Uint8Array(4);c.readPixels(a[0],a[1],1,1,c.RGBA,c.UNSIGNED_BYTE,f);if(0<f[3])return d.call(e,this.a)}};function Do(a,c){so.call(this,a,c);this.o=!1;this.H=-1;this.D=NaN;this.B=yc();this.l=this.c=this.J=null}y(Do,so);l=Do.prototype;l.ih=function(a,c,d){this.l=c;var e=a.viewState,f=this.c;f&&!f.Oa()&&f.a(d,e.center,e.resolution,e.rotation,a.size,a.pixelRatio,c.opacity,c.Pc?a.skippedFeatureUids:{})};l.fa=function(){var a=this.c;a&&(ho(a,this.f.c)(),this.c=null);Do.ia.fa.call(this)}; 
    389 l.gb=function(a,c,d,e){if(this.c&&this.l){var f=c.viewState,g=this.a,h={};return this.c.f(a,this.f.c,f.center,f.resolution,f.rotation,c.size,c.pixelRatio,this.l.opacity,{},function(a){var c=x(a).toString();if(!(c in h))return h[c]=!0,d.call(e,a,g)})}};l.ne=function(a,c){if(this.c&&this.l){var d=c.viewState;return mo(this.c,a,this.f.c,d.resolution,d.rotation,this.l.opacity,c.skippedFeatureUids)}return!1}; 
    390 l.yc=function(a,c,d,e){a=a.slice();Li(c.pixelToCoordinateMatrix,a,a);if(this.ne(a,c))return d.call(e,this.a)};l.jh=function(){Ni(this)}; 
    391 l.sf=function(a,c,d){function e(a){var c,d=a.bc();d?c=d.call(a,n):(d=f.f)&&(c=d(a,n));if(c){if(c){d=!1;if(ga(c))for(var e=0,g=c.length;e<g;++e)d=El(r,a,c[e],Dl(n,p),this.jh,this)||d;else d=El(r,a,c,Dl(n,p),this.jh,this)||d;a=d}else a=!1;this.o=this.o||a}}var f=this.a;c=f.da();Qi(a.attributions,c.ea());Ri(a,c);var g=a.viewHints[0],h=a.viewHints[1],k=f.s,m=f.A;if(!this.o&&!k&&g||!m&&h)return!0;var h=a.extent,k=a.viewState,g=k.projection,n=k.resolution,p=a.pixelRatio,k=f.g,q=f.a,m=Qk(f);void 0===m&& 
    392 (m=Cl);h=Ac(h,q*n);if(!this.o&&this.D==n&&this.H==k&&this.J==m&&Gc(this.B,h))return!0;this.c&&a.postRenderFunctions.push(ho(this.c,d));this.o=!1;var r=new go(.5*n/p,h,f.a);c.Oc(h,n,g);if(m){var t=[];c.ub(h,function(a){t.push(a)},this);t.sort(m);t.forEach(e,this)}else c.ub(h,e,this);io(r,d);this.D=n;this.H=k;this.J=m;this.B=h;this.c=r;return!0};function Eo(a,c){$i.call(this,0,c);this.b=document.createElement("CANVAS");this.b.style.width="100%";this.b.style.height="100%";this.b.className="ol-unselectable";If(a,this.b,0);this.T=this.B=0;this.J=nh();this.o=!0;this.f=th(this.b,{antialias:!0,depth:!1,failIfMajorPerformanceCaveat:!0,preserveDrawingBuffer:!1,stencil:!0});this.c=new Qn(this.b,this.f);D(this.b,"webglcontextlost",this.qm,this);D(this.b,"webglcontextrestored",this.rm,this);this.a=new kg;this.A=null;this.l=new ej(function(a){var c= 
    393 a[1];a=a[2];var f=c[0]-this.A[0],c=c[1]-this.A[1];return 65536*Math.log(a)+Math.sqrt(f*f+c*c)/a}.bind(this),function(a){return a[0].eb()});this.D=function(){if(!this.l.Oa()){ij(this.l);var a=fj(this.l);Co(this,a[0],a[3],a[4])}return!1}.bind(this);this.j=0;Fo(this)}y(Eo,$i); 
    394 function Co(a,c,d,e){var f=a.f,g=c.eb();if(lg(a.a,g))a=a.a.get(g),f.bindTexture(3553,a.pb),9729!=a.Mg&&(f.texParameteri(3553,10240,9729),a.Mg=9729),9729!=a.Ng&&(f.texParameteri(3553,10240,9729),a.Ng=9729);else{var h=f.createTexture();f.bindTexture(3553,h);if(0<e){var k=a.J.canvas,m=a.J;a.B!==d[0]||a.T!==d[1]?(k.width=d[0],k.height=d[1],a.B=d[0],a.T=d[1]):m.clearRect(0,0,d[0],d[1]);m.drawImage(c.cb(),e,e,d[0],d[1],0,0,d[0],d[1]);f.texImage2D(3553,0,6408,6408,5121,k)}else f.texImage2D(3553,0,6408,6408, 
    395 5121,c.cb());f.texParameteri(3553,10240,9729);f.texParameteri(3553,10241,9729);f.texParameteri(3553,10242,33071);f.texParameteri(3553,10243,33071);a.a.set(g,{pb:h,Mg:9729,Ng:9729})}}l=Eo.prototype;l.We=function(a){return a instanceof vk?new vo(this,a):a instanceof G?new Bo(this,a):a instanceof H?new Do(this,a):null}; 
    396 function Go(a,c,d){var e=a.i;if(Ib(e,c)){var f=a.c;a=d.viewState;a=new no(f,a.center,a.resolution,a.rotation,d.size,d.extent);e.b(new Ei(c,e,a,d,null,f));c=Object.keys(a.b).map(Number);c.sort(Ta);var g,h;d=0;for(e=c.length;d<e;++d)for(f=a.b[c[d].toString()],g=0,h=f.length;g<h;++g)f[g](a)}}l.fa=function(){var a=this.f;a.isContextLost()||this.a.forEach(function(c){c&&a.deleteTexture(c.pb)});Db(this.c);Eo.ia.fa.call(this)}; 
    397 l.mj=function(a,c){for(var d=this.f,e;1024<this.a.rc()-this.j;){if(e=this.a.b.mc)d.deleteTexture(e.pb);else if(+this.a.b.ee==c.index)break;else--this.j;this.a.pop()}};l.W=function(){return"webgl"};l.qm=function(a){a.preventDefault();this.a.clear();this.j=0;a=this.g;for(var c in a)a[c].rf()};l.rm=function(){Fo(this);this.i.render()};function Fo(a){a=a.f;a.activeTexture(33984);a.blendFuncSeparate(770,771,1,771);a.disable(2884);a.disable(2929);a.disable(3089);a.disable(2960)} 
    398 l.De=function(a){var c=this.c,d=this.f;if(d.isContextLost())return!1;if(!a)return this.o&&(bg(this.b,!1),this.o=!1),!1;this.A=a.focus;this.a.set((-a.index).toString(),null);++this.j;Go(this,"precompose",a);var e=[],f=a.layerStatesArray;cb(f);var g=a.viewState.resolution,h,k,m,n;h=0;for(k=f.length;h<k;++h)n=f[h],Gi(n,g)&&"ready"==n.H&&(m=cj(this,n.layer),m.sf(a,n,c)&&e.push(n));f=a.size[0]*a.pixelRatio;g=a.size[1]*a.pixelRatio;if(this.b.width!=f||this.b.height!=g)this.b.width=f,this.b.height=g;d.bindFramebuffer(36160, 
    399 null);d.clearColor(0,0,0,0);d.clear(16384);d.enable(3042);d.viewport(0,0,this.b.width,this.b.height);h=0;for(k=e.length;h<k;++h)n=e[h],m=cj(this,n.layer),m.ih(a,n,c);this.o||(bg(this.b,!0),this.o=!0);aj(a);1024<this.a.rc()-this.j&&a.postRenderFunctions.push(this.mj.bind(this));this.l.Oa()||(a.postRenderFunctions.push(this.D),a.animate=!0);Go(this,"postcompose",a);dj(this,a);a.postRenderFunctions.push(bj)}; 
    400 l.qf=function(a,c,d,e,f,g){var h;if(this.f.isContextLost())return!1;var k=c.viewState,m=c.layerStatesArray,n;for(n=m.length-1;0<=n;--n){h=m[n];var p=h.layer;if(Gi(h,k.resolution)&&f.call(g,p)&&(h=cj(this,p).gb(a,c,d,e)))return h}};l.hh=function(a,c,d,e){var f=!1;if(this.f.isContextLost())return!1;var g=c.viewState,h=c.layerStatesArray,k;for(k=h.length-1;0<=k;--k){var m=h[k],n=m.layer;if(Gi(m,g.resolution)&&d.call(e,n)&&(f=cj(this,n).ne(a,c)))return!0}return f}; 
    401 l.gh=function(a,c,d,e,f){if(this.f.isContextLost())return!1;var g=c.viewState,h,k=c.layerStatesArray,m;for(m=k.length-1;0<=m;--m){h=k[m];var n=h.layer;if(Gi(h,g.resolution)&&f.call(e,n)&&(h=cj(this,n).yc(a,c,d,e)))return h}};var Ho=["canvas","webgl","dom"]; 
    402 function S(a){Mb.call(this);var c=Io(a);this.nc=void 0!==a.loadTilesWhileAnimating?a.loadTilesWhileAnimating:!1;this.oc=void 0!==a.loadTilesWhileInteracting?a.loadTilesWhileInteracting:!1;this.$c=void 0!==a.pixelRatio?a.pixelRatio:zh;this.Ec=c.logos;this.Da=function(){this.i=void 0;this.lo.call(this,Date.now())}.bind(this);this.qb=nc();this.Ne=nc();this.Fb=0;this.f=null;this.ya=yc();this.D=this.S=null;this.a=document.createElement("DIV");this.a.className="ol-viewport";this.a.style.position="relative"; 
    403 this.a.style.overflow="hidden";this.a.style.width="100%";this.a.style.height="100%";this.a.style.msTouchAction="none";this.a.style.touchAction="none";Eh&&Qf(this.a,"ol-touch");this.B=document.createElement("DIV");this.B.className="ol-overlaycontainer";this.a.appendChild(this.B);this.A=document.createElement("DIV");this.A.className="ol-overlaycontainer-stopevent";a=["click","dblclick","mousedown","touchstart","mspointerdown",xi,mf?"DOMMouseScroll":"mousewheel"];for(var d=0,e=a.length;d<e;++d)D(this.A, 
    404 a[d],Fb);this.a.appendChild(this.A);a=new pi(this);for(var f in Ai)D(a,Ai[f],this.Fg,this);Cb(this,ra(Db,a));this.wa=c.keyboardEventTarget;this.s=null;D(this.a,"wheel",this.Nc,this);D(this.a,"mousewheel",this.Nc,this);this.l=c.controls;this.j=c.interactions;this.o=c.overlays;this.tf={};this.J=new c.no(this.a,this);Cb(this,ra(Db,this.J));this.U=null;this.H=[];this.oa=[];this.na=new jj(this.ek.bind(this),this.Lk.bind(this));this.aa={};D(this,Ob("layergroup"),this.rk,this);D(this,Ob("view"),this.Mk, 
    405 this);D(this,Ob("size"),this.Ik,this);D(this,Ob("target"),this.Kk,this);this.C(c.values);this.l.forEach(function(a){a.setMap(this)},this);D(this.l,"add",function(a){a.element.setMap(this)},this);D(this.l,"remove",function(a){a.element.setMap(null)},this);this.j.forEach(function(a){a.setMap(this)},this);D(this.j,"add",function(a){a.element.setMap(this)},this);D(this.j,"remove",function(a){a.element.setMap(null)},this);this.o.forEach(this.cg,this);D(this.o,"add",function(a){this.cg(a.element)},this); 
    406 D(this.o,"remove",function(a){var c=a.element.Sa();void 0!==c&&delete this.tf[c.toString()];a.element.setMap(null)},this)}y(S,Mb);l=S.prototype;l.bj=function(a){this.l.push(a)};l.cj=function(a){this.j.push(a)};l.ag=function(a){this.sc().Sc().push(a)};l.bg=function(a){this.o.push(a)};l.cg=function(a){var c=a.Sa();void 0!==c&&(this.tf[c.toString()]=a);a.setMap(this)};l.Ra=function(a){this.render();Array.prototype.push.apply(this.H,arguments)}; 
    407 l.fa=function(){yb(this.a,"wheel",this.Nc,this);yb(this.a,"mousewheel",this.Nc,this);void 0!==this.c&&(aa.removeEventListener("resize",this.c,!1),this.c=void 0);this.i&&(aa.cancelAnimationFrame(this.i),this.i=void 0);Jf(this.a);S.ia.fa.call(this)};l.od=function(a,c,d,e,f){if(this.f)return a=this.La(a),this.J.qf(a,this.f,c,void 0!==d?d:null,void 0!==e?e:fd,void 0!==f?f:null)};l.vl=function(a,c,d,e,f){if(this.f)return this.J.gh(a,this.f,c,void 0!==d?d:null,void 0!==e?e:fd,void 0!==f?f:null)}; 
    408 l.Ok=function(a,c,d){if(!this.f)return!1;a=this.La(a);return this.J.hh(a,this.f,void 0!==c?c:fd,void 0!==d?d:null)};l.Bj=function(a){return this.La(this.Td(a))};l.Td=function(a){var c;c=this.a;a=Zf(a);c=Zf(c);c=new wf(a.x-c.x,a.y-c.y);return[c.x,c.y]};l.Ug=function(){return this.get("target")};l.tc=function(){var a=this.Ug();return void 0!==a?Bf(a):null};l.La=function(a){var c=this.f;return c?(a=a.slice(),Li(c.pixelToCoordinateMatrix,a,a)):null};l.zj=function(){return this.l};l.Tj=function(){return this.o}; 
    409 l.Sj=function(a){a=this.tf[a.toString()];return void 0!==a?a:null};l.Gj=function(){return this.j};l.sc=function(){return this.get("layergroup")};l.Tg=function(){return this.sc().Sc()};l.Ta=function(a){var c=this.f;return c?(a=a.slice(0,2),Li(c.coordinateToPixelMatrix,a,a)):null};l.Va=function(){return this.get("size")};l.$=function(){return this.get("view")};l.gk=function(){return this.a}; 
    410 l.ek=function(a,c,d,e){var f=this.f;if(!(f&&c in f.wantedTiles&&f.wantedTiles[c][a.ga.toString()]))return Infinity;a=d[0]-f.focus[0];d=d[1]-f.focus[1];return 65536*Math.log(e)+Math.sqrt(a*a+d*d)/e};l.Nc=function(a,c){var d=new ni(c||a.type,this,a);this.Fg(d)};l.Fg=function(a){if(this.f){this.U=a.coordinate;a.frameState=this.f;var c=this.j.a,d;if(!1!==this.b(a))for(d=c.length-1;0<=d;d--){var e=c[d];if(e.f()&&!e.handleEvent(a))break}}}; 
    411 l.Gk=function(){var a=this.f,c=this.na;if(!c.Oa()){var d=16,e=d;if(a){var f=a.viewHints;f[0]&&(d=this.nc?8:0,e=2);f[1]&&(d=this.oc?8:0,e=2)}c.c<d&&(ij(c),kj(c,d,e))}c=this.oa;d=0;for(e=c.length;d<e;++d)c[d](this,a);c.length=0};l.Ik=function(){this.render()}; 
    412 l.Kk=function(){var a=this.tc();if(this.s){for(var c=0,d=this.s.length;c<d;++c)sb(this.s[c]);this.s=null}a?(a.appendChild(this.a),a=this.wa?this.wa:a,this.s=[D(a,"keydown",this.Nc,this),D(a,"keypress",this.Nc,this)],this.c||(this.c=this.Xc.bind(this),aa.addEventListener("resize",this.c,!1))):(Jf(this.a),void 0!==this.c&&(aa.removeEventListener("resize",this.c,!1),this.c=void 0));this.Xc()};l.Lk=function(){this.render()};l.Nk=function(){this.render()}; 
    413 l.Mk=function(){this.S&&(sb(this.S),this.S=null);var a=this.$();a&&(this.S=D(a,"propertychange",this.Nk,this));this.render()};l.sk=function(){this.render()};l.tk=function(){this.render()};l.rk=function(){this.D&&(this.D.forEach(sb),this.D=null);var a=this.sc();a&&(this.D=[D(a,"propertychange",this.tk,this),D(a,"change",this.sk,this)]);this.render()};l.mo=function(){this.i&&aa.cancelAnimationFrame(this.i);this.Da()};l.render=function(){void 0===this.i&&(this.i=aa.requestAnimationFrame(this.Da))}; 
    414 l.eo=function(a){return this.l.remove(a)};l.fo=function(a){return this.j.remove(a)};l.io=function(a){return this.sc().Sc().remove(a)};l.jo=function(a){return this.o.remove(a)}; 
    415 l.lo=function(a){var c,d,e,f=this.Va(),g=this.$(),h=null;if(void 0!==f&&0<f[0]&&0<f[1]&&g&&Ae(g)){var h=g.f.slice(),k=this.sc().cf(),m={};c=0;for(d=k.length;c<d;++c)m[x(k[c].layer)]=k[c];e=g.V();h={animate:!1,attributions:{},coordinateToPixelMatrix:this.qb,extent:null,focus:this.U?this.U:e.center,index:this.Fb++,layerStates:m,layerStatesArray:k,logos:mb({},this.Ec),pixelRatio:this.$c,pixelToCoordinateMatrix:this.Ne,postRenderFunctions:[],size:f,skippedFeatureUids:this.aa,tileQueue:this.na,time:a, 
    416 usedTiles:{},viewState:e,viewHints:h,wantedTiles:{}}}if(h){a=this.H;c=f=0;for(d=a.length;c<d;++c)g=a[c],g(this,h)&&(a[f++]=g);a.length=f;h.extent=Zc(e.center,e.resolution,e.rotation,h.size)}this.f=h;this.J.De(h);h&&(h.animate&&this.render(),Array.prototype.push.apply(this.oa,h.postRenderFunctions),0!==this.H.length||h.viewHints[0]||h.viewHints[1]||Mc(h.extent,this.ya)||(this.b(new ig("moveend",this,h)),Bc(h.extent,this.ya)));this.b(new ig("postrender",this,h));bh(this.Gk,this)}; 
    417 l.Sh=function(a){this.set("layergroup",a)};l.Mf=function(a){this.set("size",a)};l.wl=function(a){this.set("target",a)};l.Ao=function(a){this.set("view",a)};l.ai=function(a){a=x(a).toString();this.aa[a]=!0;this.render()}; 
    418 l.Xc=function(){var a=this.tc();if(a){var c=Af(a),d=kf&&a.currentStyle;d&&Nf(yf(c))&&"auto"!=d.width&&"auto"!=d.height&&!d.boxSizing?(c=cg(a,d.width,"width","pixelWidth"),a=cg(a,d.height,"height","pixelHeight"),a=new xf(c,a)):(d=new xf(a.offsetWidth,a.offsetHeight),c=eg(a,"padding"),a=hg(a),a=new xf(d.width-a.left-c.left-c.right-a.right,d.height-a.top-c.top-c.bottom-a.bottom));this.Mf([a.width,a.height])}else this.Mf(void 0)};l.ci=function(a){a=x(a).toString();delete this.aa[a];this.render()}; 
    419 function Io(a){var c=null;void 0!==a.keyboardEventTarget&&(c="string"===typeof a.keyboardEventTarget?document.getElementById(a.keyboardEventTarget):a.keyboardEventTarget);var d={},e={};if(void 0===a.logo||"boolean"===typeof a.logo&&a.logo)e["data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAAHGAAABxgEXwfpGAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAhNQTFRF////AP//AICAgP//AFVVQECA////K1VVSbbbYL/fJ05idsTYJFtbbcjbJllmZszWWMTOIFhoHlNiZszTa9DdUcHNHlNlV8XRIVdiasrUHlZjIVZjaMnVH1RlIFRkH1RkH1ZlasvYasvXVsPQH1VkacnVa8vWIVZjIFRjVMPQa8rXIVVkXsXRsNveIFVkIFZlIVVj3eDeh6GmbMvXH1ZkIFRka8rWbMvXIFVkIFVjIFVkbMvWH1VjbMvWIFVlbcvWIFVla8vVIFVkbMvWbMvVH1VkbMvWIFVlbcvWIFVkbcvVbMvWjNPbIFVkU8LPwMzNIFVkbczWIFVkbsvWbMvXIFVkRnB8bcvW2+TkW8XRIFVkIlZlJVloJlpoKlxrLl9tMmJwOWd0Omh1RXF8TneCT3iDUHiDU8LPVMLPVcLPVcPQVsPPVsPQV8PQWMTQWsTQW8TQXMXSXsXRX4SNX8bSYMfTYcfTYsfTY8jUZcfSZsnUaIqTacrVasrVa8jTa8rWbI2VbMvWbcvWdJObdcvUdszUd8vVeJaee87Yfc3WgJyjhqGnitDYjaarldPZnrK2oNbborW5o9bbo9fbpLa6q9ndrL3ArtndscDDutzfu8fJwN7gwt7gxc/QyuHhy+HizeHi0NfX0+Pj19zb1+Tj2uXk29/e3uLg3+Lh3+bl4uXj4ufl4+fl5Ofl5ufl5ujm5+jmySDnBAAAAFp0Uk5TAAECAgMEBAYHCA0NDg4UGRogIiMmKSssLzU7PkJJT1JTVFliY2hrdHZ3foSFhYeJjY2QkpugqbG1tre5w8zQ09XY3uXn6+zx8vT09vf4+Pj5+fr6/P39/f3+gz7SsAAAAVVJREFUOMtjYKA7EBDnwCPLrObS1BRiLoJLnte6CQy8FLHLCzs2QUG4FjZ5GbcmBDDjxJBXDWxCBrb8aM4zbkIDzpLYnAcE9VXlJSWlZRU13koIeW57mGx5XjoMZEUqwxWYQaQbSzLSkYGfKFSe0QMsX5WbjgY0YS4MBplemI4BdGBW+DQ11eZiymfqQuXZIjqwyadPNoSZ4L+0FVM6e+oGI6g8a9iKNT3o8kVzNkzRg5lgl7p4wyRUL9Yt2jAxVh6mQCogae6GmflI8p0r13VFWTHBQ0rWPW7ahgWVcPm+9cuLoyy4kCJDzCm6d8PSFoh0zvQNC5OjDJhQopPPJqph1doJBUD5tnkbZiUEqaCnB3bTqLTFG1bPn71kw4b+GFdpLElKIzRxxgYgWNYc5SCENVHKeUaltHdXx0dZ8uBI1hJ2UUDgq82CM2MwKeibqAvSO7MCABq0wXEPiqWEAAAAAElFTkSuQmCC"]= 
    420 "http://openlayers.org/";else{var f=a.logo;"string"===typeof f?e[f]="":la(f)&&(e[f.src]=f.href)}f=a.layers instanceof lk?a.layers:new lk({layers:a.layers});d.layergroup=f;d.target=a.target;d.view=void 0!==a.view?a.view:new xe;var f=$i,g;void 0!==a.renderer?ga(a.renderer)?g=a.renderer:"string"===typeof a.renderer&&(g=[a.renderer]):g=Ho;var h,k;h=0;for(k=g.length;h<k;++h){var m=g[h];if("canvas"==m){if(Bh){f=zn;break}}else if("dom"==m){f=Hn;break}else if("webgl"==m&&uh){f=Eo;break}}var n;void 0!==a.controls? 
    421 n=ga(a.controls)?new Se(a.controls.slice()):a.controls:n=Tg();var p;void 0!==a.interactions?p=ga(a.interactions)?new Se(a.interactions.slice()):a.interactions:p=kk();a=void 0!==a.overlays?ga(a.overlays)?new Se(a.overlays.slice()):a.overlays:new Se;return{controls:n,interactions:p,keyboardEventTarget:c,logos:e,overlays:a,no:f,values:d}}uk();function Jo(a){Mb.call(this);this.o=a.id;this.l=void 0!==a.insertFirst?a.insertFirst:!0;this.s=void 0!==a.stopEvent?a.stopEvent:!0;this.f=document.createElement("DIV");this.f.className="ol-overlay-container";this.f.style.position="absolute";this.autoPan=void 0!==a.autoPan?a.autoPan:!1;this.i=void 0!==a.autoPanAnimation?a.autoPanAnimation:{};this.j=void 0!==a.autoPanMargin?a.autoPanMargin:20;this.a={Od:"",fe:"",Ee:"",Fe:"",visible:!0};this.c=null;D(this,Ob("element"),this.mk,this);D(this,Ob("map"), 
    422 this.yk,this);D(this,Ob("offset"),this.Ck,this);D(this,Ob("position"),this.Ek,this);D(this,Ob("positioning"),this.Fk,this);void 0!==a.element&&this.Oh(a.element);this.Uh(void 0!==a.offset?a.offset:[0,0]);this.Xh(void 0!==a.positioning?a.positioning:"top-left");void 0!==a.position&&this.mf(a.position)}y(Jo,Mb);l=Jo.prototype;l.ie=function(){return this.get("element")};l.Sa=function(){return this.o};l.je=function(){return this.get("map")};l.Ag=function(){return this.get("offset")};l.Vg=function(){return this.get("position")}; 
    423 l.Bg=function(){return this.get("positioning")};l.mk=function(){Hf(this.f);var a=this.ie();a&&this.f.appendChild(a)};l.yk=function(){this.c&&(Jf(this.f),sb(this.c),this.c=null);var a=this.je();a&&(this.c=D(a,"postrender",this.render,this),Ko(this),a=this.s?a.A:a.B,this.l?If(a,this.f,0):a.appendChild(this.f))};l.render=function(){Ko(this)};l.Ck=function(){Ko(this)}; 
    424 l.Ek=function(){Ko(this);if(void 0!==this.get("position")&&this.autoPan){var a=this.je();if(void 0!==a&&a.tc()){var c=Lo(a.tc(),a.Va()),d=this.ie(),e=d.offsetWidth,f=d.currentStyle||window.getComputedStyle(d),e=e+(parseInt(f.marginLeft,10)+parseInt(f.marginRight,10)),f=d.offsetHeight,g=d.currentStyle||window.getComputedStyle(d),f=f+(parseInt(g.marginTop,10)+parseInt(g.marginBottom,10)),h=Lo(d,[e,f]),d=this.j;Gc(c,h)||(e=h[0]-c[0],f=c[2]-h[2],g=h[1]-c[1],h=c[3]-h[3],c=[0,0],0>e?c[0]=e-d:0>f&&(c[0]= 
    425 Math.abs(f)+d),0>g?c[1]=g-d:0>h&&(c[1]=Math.abs(h)+d),0===c[0]&&0===c[1])||(d=a.$().Wa(),e=a.Ta(d),c=[e[0]+c[0],e[1]+c[1]],this.i&&(this.i.source=d,a.Ra(He(this.i))),a.$().mb(a.La(c)))}}};l.Fk=function(){Ko(this)};l.Oh=function(a){this.set("element",a)};l.setMap=function(a){this.set("map",a)};l.Uh=function(a){this.set("offset",a)};l.mf=function(a){this.set("position",a)}; 
    426 function Lo(a,c){var d=Af(a),e=new wf(0,0),f;f=d?Af(d):document;f=!kf||9<=uf||Nf(yf(f))?f.documentElement:f.body;if(a!=f){f=Yf(a);var g=yf(d).b,d=g.scrollingElement?g.scrollingElement:nf?g.body||g.documentElement:g.documentElement,g=g.parentWindow||g.defaultView,d=kf&&sf("10")&&g.pageYOffset!=d.scrollTop?new wf(d.scrollLeft,d.scrollTop):new wf(g.pageXOffset||d.scrollLeft,g.pageYOffset||d.scrollTop);e.x=f.left+d.x;e.y=f.top+d.y}return[e.x,e.y,e.x+c[0],e.y+c[1]]} 
    427 l.Xh=function(a){this.set("positioning",a)};function Mo(a,c){a.a.visible!==c&&(bg(a.f,c),a.a.visible=c)} 
    428 function Ko(a){var c=a.je(),d=a.Vg();if(void 0!==c&&c.f&&void 0!==d){var d=c.Ta(d),e=c.Va(),c=a.f.style,f=a.Ag(),g=a.Bg(),h=f[0],f=f[1];if("bottom-right"==g||"center-right"==g||"top-right"==g)""!==a.a.fe&&(a.a.fe=c.left=""),h=Math.round(e[0]-d[0]-h)+"px",a.a.Ee!=h&&(a.a.Ee=c.right=h);else{""!==a.a.Ee&&(a.a.Ee=c.right="");if("bottom-center"==g||"center-center"==g||"top-center"==g)h-=$f(a.f).width/2;h=Math.round(d[0]+h)+"px";a.a.fe!=h&&(a.a.fe=c.left=h)}if("bottom-left"==g||"bottom-center"==g||"bottom-right"== 
    429 g)""!==a.a.Fe&&(a.a.Fe=c.top=""),d=Math.round(e[1]-d[1]-f)+"px",a.a.Od!=d&&(a.a.Od=c.bottom=d);else{""!==a.a.Od&&(a.a.Od=c.bottom="");if("center-left"==g||"center-center"==g||"center-right"==g)f-=$f(a.f).height/2;d=Math.round(d[1]+f)+"px";a.a.Fe!=d&&(a.a.Fe=c.top=d)}Mo(a,!0)}else Mo(a,!1)};function No(a){a=a?a:{};this.j=void 0!==a.collapsed?a.collapsed:!0;this.l=void 0!==a.collapsible?a.collapsible:!0;this.l||(this.j=!1);var c=void 0!==a.className?a.className:"ol-overviewmap",d=void 0!==a.tipLabel?a.tipLabel:"Overview map",e=void 0!==a.collapseLabel?a.collapseLabel:"\u00ab";this.A="string"===typeof e?Ef("SPAN",{},e):e;e=void 0!==a.label?a.label:"\u00bb";this.B="string"===typeof e?Ef("SPAN",{},e):e;d=Ef("BUTTON",{type:"button",title:d},this.l&&!this.j?this.A:this.B);D(d,"click",this.Hl, 
    430 this);e=document.createElement("DIV");e.className="ol-overviewmap-map";var f=this.f=new S({controls:new Se,interactions:new Se,target:e,view:a.view});a.layers&&a.layers.forEach(function(a){f.ag(a)},this);var g=Ef("DIV","ol-overviewmap-box");this.o=new Jo({position:[0,0],positioning:"bottom-left",element:g});this.f.bg(this.o);c=Ef("DIV",c+" ol-unselectable ol-control"+(this.j&&this.l?" ol-collapsed":"")+(this.l?"":" ol-uncollapsible"),e,d);jg.call(this,{element:c,render:a.render?a.render:Oo,target:a.target})} 
    431 y(No,jg);l=No.prototype;l.setMap=function(a){var c=this.a;a!==c&&(c&&(c=c.$())&&yb(c,Ob("rotation"),this.ce,this),No.ia.setMap.call(this,a),a&&(this.s.push(D(a,"propertychange",this.zk,this)),0===this.f.Tg().ac()&&this.f.Sh(a.sc()),a=a.$()))&&(D(a,Ob("rotation"),this.ce,this),Ae(a)&&(this.f.Xc(),Po(this)))};l.zk=function(a){"view"===a.key&&((a=a.oldValue)&&yb(a,Ob("rotation"),this.ce,this),a=this.a.$(),D(a,Ob("rotation"),this.ce,this))};l.ce=function(){this.f.$().ke(this.a.$().Ka())}; 
    432 function Oo(){var a=this.a,c=this.f;if(a.f&&c.f){var d=a.Va(),a=a.$().bd(d),e=c.Va(),d=c.$().bd(e),f=c.Ta(Sc(a)),c=c.Ta(Qc(a)),c=new xf(Math.abs(f[0]-c[0]),Math.abs(f[1]-c[1])),f=e[0],e=e[1];c.width<.1*f||c.height<.1*e||c.width>.75*f||c.height>.75*e?Po(this):Gc(d,a)||(a=this.f,d=this.a.$(),a.$().mb(d.Wa()))}Qo(this)}function Po(a){var c=a.a;a=a.f;var d=c.Va(),c=c.$().bd(d),d=a.Va();a=a.$();bd(c,1/(.1*Math.pow(2,Math.log(7.5)/Math.LN2/2)));a.Ye(c,d)} 
    433 function Qo(a){var c=a.a,d=a.f;if(c.f&&d.f){var e=c.Va(),f=c.$(),g=d.$();d.Va();var c=f.Ka(),h=a.o,d=a.o.ie(),f=f.bd(e),e=g.Z(),g=Pc(f),f=Rc(f),k;if(a=a.a.$().Wa())k=[g[0]-a[0],g[1]-a[1]],gc(k,c),bc(k,a);h.mf(k);d&&(k=new xf(Math.abs((g[0]-f[0])/e),Math.abs((f[1]-g[1])/e)),c=Nf(yf(Af(d))),!kf||sf("10")||c&&sf("8")?(d=d.style,mf?d.MozBoxSizing="border-box":nf?d.WebkitBoxSizing="border-box":d.boxSizing="border-box",d.width=Math.max(k.width,0)+"px",d.height=Math.max(k.height,0)+"px"):(a=d.style,c?(c= 
    434 eg(d,"padding"),d=hg(d),a.pixelWidth=k.width-d.left-c.left-c.right-d.right,a.pixelHeight=k.height-d.top-c.top-c.bottom-d.bottom):(a.pixelWidth=k.width,a.pixelHeight=k.height)))}}l.Hl=function(a){a.preventDefault();Ro(this)};function Ro(a){Sf(a.element,"ol-collapsed");a.j?Kf(a.A,a.B):Kf(a.B,a.A);a.j=!a.j;var c=a.f;a.j||c.f||(c.Xc(),Po(a),xb(c,"postrender",function(){Qo(this)},a))}l.Gl=function(){return this.l};l.Jl=function(a){this.l!==a&&(this.l=a,Sf(this.element,"ol-uncollapsible"),!a&&this.j&&Ro(this))}; 
    435 l.Il=function(a){this.l&&this.j!==a&&Ro(this)};l.Fl=function(){return this.j};l.Uj=function(){return this.f};function So(a){a=a?a:{};var c=void 0!==a.className?a.className:"ol-scale-line";this.l=document.createElement("DIV");this.l.className=c+"-inner";this.f=document.createElement("DIV");this.f.className=c+" ol-unselectable";this.f.appendChild(this.l);this.A=null;this.o=void 0!==a.minWidth?a.minWidth:64;this.j=!1;this.D=void 0;this.B="";jg.call(this,{element:this.f,render:a.render?a.render:To,target:a.target});D(this,Ob("units"),this.U,this);this.H(a.units||"metric")}y(So,jg);var Uo=[1,2,5]; 
    436 So.prototype.J=function(){return this.get("units")};function To(a){(a=a.frameState)?this.A=a.viewState:this.A=null;Vo(this)}So.prototype.U=function(){Vo(this)};So.prototype.H=function(a){this.set("units",a)}; 
    437 function Vo(a){var c=a.A;if(c){var d=c.projection,e=d.$b(),c=d.getPointResolution(c.resolution,c.center)*e,e=a.o*c,d="",f=a.J();"degrees"==f?(d=md.degrees,c/=d,e<d/60?(d="\u2033",c*=3600):e<d?(d="\u2032",c*=60):d="\u00b0"):"imperial"==f?.9144>e?(d="in",c/=.0254):1609.344>e?(d="ft",c/=.3048):(d="mi",c/=1609.344):"nautical"==f?(c/=1852,d="nm"):"metric"==f?1>e?(d="mm",c*=1E3):1E3>e?d="m":(d="km",c/=1E3):"us"==f&&(.9144>e?(d="in",c*=39.37):1609.344>e?(d="ft",c/=.30480061):(d="mi",c/=1609.3472));for(var f= 
    438 3*Math.floor(Math.log(a.o*c)/Math.log(10)),g;;){g=Uo[(f%3+3)%3]*Math.pow(10,Math.floor(f/3));e=Math.round(g/c);if(isNaN(e)){bg(a.f,!1);a.j=!1;return}if(e>=a.o)break;++f}c=g+" "+d;a.B!=c&&(a.l.innerHTML=c,a.B=c);a.D!=e&&(a.l.style.width=e+"px",a.D=e);a.j||(bg(a.f,!0),a.j=!0)}else a.j&&(bg(a.f,!1),a.j=!1)};function Wo(a){a=a?a:{};this.f=void 0;this.l=Xo;this.D=null;this.U=!1;this.H=void 0!==a.duration?a.duration:200;var c=void 0!==a.className?a.className:"ol-zoomslider",d=Ef("BUTTON",{type:"button","class":c+"-thumb ol-unselectable"}),c=Ef("DIV",[c,"ol-unselectable","ol-control"],d),e=new hi(c);Cb(this,ra(Db,e));D(e,Sh,this.lk,this);D(e,Th,this.Dg,this);D(e,Uh,this.Eg,this);D(c,"click",this.kk,this);D(d,"click",Fb);jg.call(this,{element:c,render:a.render?a.render:Yo})}y(Wo,jg);var Xo=0;l=Wo.prototype; 
    439 l.setMap=function(a){Wo.ia.setMap.call(this,a);a&&a.render()};function Yo(a){if(a.frameState){if(!this.U){var c=this.element,d=$f(c),e=Lf(c),c=eg(e,"margin"),f=new xf(e.offsetWidth,e.offsetHeight),e=f.width+c.right+c.left,c=f.height+c.top+c.bottom;this.D=[e,c];e=d.width-e;c=d.height-c;d.width>d.height?(this.l=1,d=new Uf(0,0,e,0)):(this.l=Xo,d=new Uf(0,0,0,c));this.j=d;this.U=!0}a=a.frameState.viewState.resolution;a!==this.f&&(this.f=a,Zo(this,a))}} 
    440 l.kk=function(a){var c=this.a,d=c.$(),e=d.Z();c.Ra(Je({resolution:e,duration:this.H,easing:De}));a=$o(this,ap(this,a.offsetX-this.D[0]/2,a.offsetY-this.D[1]/2));d.Vb(d.constrainResolution(a))}; 
    441 l.lk=function(a){if(!this.o&&a.b.target===this.element.firstElementChild&&(Be(this.a.$(),1),this.B=a.clientX,this.J=a.clientY,this.o=!0,!this.A)){a=this.Dg;var c=this.Eg;this.A=[D(document,"mousemove",a,this),D(document,"touchmove",a,this),D(document,Th,a,this),D(document,"mouseup",c,this),D(document,"touchend",c,this),D(document,Uh,c,this)]}}; 
    442 l.Dg=function(a){if(this.o){var c=this.element.firstElementChild;this.f=$o(this,ap(this,a.clientX-this.B+parseInt(c.style.left,10),a.clientY-this.J+parseInt(c.style.top,10)));this.a.$().Vb(this.f);Zo(this,this.f);this.B=a.clientX;this.J=a.clientY}};l.Eg=function(){if(this.o){var a=this.a,c=a.$();Be(c,-1);a.Ra(Je({resolution:this.f,duration:this.H,easing:De}));a=c.constrainResolution(this.f);c.Vb(a);this.o=!1;this.J=this.B=void 0;this.A.forEach(sb);this.A=null}}; 
    443 function Zo(a,c){var d;d=1-ze(a.a.$())(c);var e=Lf(a.element);1==a.l?Wf(e,a.j.left+a.j.width*d):Wf(e,a.j.left,a.j.top+a.j.height*d)}function ap(a,c,d){var e=a.j;return La(1===a.l?(c-e.left)/e.width:(d-e.top)/e.height,0,1)}function $o(a,c){return ye(a.a.$())(1-c)};function bp(a){a=a?a:{};this.f=a.extent?a.extent:null;var c=void 0!==a.className?a.className:"ol-zoom-extent",d=Ef("BUTTON",{type:"button",title:void 0!==a.tipLabel?a.tipLabel:"Fit to extent"},void 0!==a.label?a.label:"E");D(d,"click",this.j,this);c=Ef("DIV",c+" ol-unselectable ol-control",d);jg.call(this,{element:c,target:a.target})}y(bp,jg);bp.prototype.j=function(a){a.preventDefault();var c=this.a;a=c.$();var d=this.f?this.f:a.i.G(),c=c.Va();a.Ye(d,c)};function cp(a){Mb.call(this);a=a?a:{};this.a=null;D(this,Ob("tracking"),this.kl,this);this.kf(void 0!==a.tracking?a.tracking:!1)}y(cp,Mb);l=cp.prototype;l.fa=function(){this.kf(!1);cp.ia.fa.call(this)}; 
    444 l.tn=function(a){if(null!==a.alpha){var c=Qa(a.alpha);this.set("alpha",c);"boolean"===typeof a.absolute&&a.absolute?this.set("heading",c):ja(a.webkitCompassHeading)&&-1!=a.webkitCompassAccuracy&&this.set("heading",Qa(a.webkitCompassHeading))}null!==a.beta&&this.set("beta",Qa(a.beta));null!==a.gamma&&this.set("gamma",Qa(a.gamma));this.u()};l.uj=function(){return this.get("alpha")};l.xj=function(){return this.get("beta")};l.Dj=function(){return this.get("gamma")};l.jl=function(){return this.get("heading")}; 
    445 l.Pg=function(){return this.get("tracking")};l.kl=function(){if(Ch){var a=this.Pg();a&&!this.a?this.a=D(aa,"deviceorientation",this.tn,this):a||null===this.a||(sb(this.a),this.a=null)}};l.kf=function(a){this.set("tracking",a)};function dp(){this.defaultDataProjection=null}function ep(a,c,d){var e;d&&(e={dataProjection:d.dataProjection?d.dataProjection:a.Qa(c),featureProjection:d.featureProjection});return fp(a,e)}function fp(a,c){var d;c&&(d={featureProjection:c.featureProjection,dataProjection:c.dataProjection?c.dataProjection:a.defaultDataProjection,rightHanded:c.rightHanded});return d} 
    446 function gp(a,c,d){var e=d?qd(d.featureProjection):null;d=d?qd(d.dataProjection):null;return e&&d&&!Hd(e,d)?a instanceof Md?(c?a.clone():a).fb(c?e:d,c?d:e):Ld(c?a.slice():a,c?e:d,c?d:e):a};var hp=aa.JSON.parse,ip=aa.JSON.stringify;function jp(){this.defaultDataProjection=null}y(jp,dp);function kp(a){return la(a)?a:"string"===typeof a?(a=hp(a))?a:null:null}l=jp.prototype;l.W=function(){return"json"};l.Ub=function(a,c){return this.Tc(kp(a),ep(this,a,c))};l.Ea=function(a,c){return this.Af(kp(a),ep(this,a,c))};l.Uc=function(a,c){return this.Ah(kp(a),ep(this,a,c))};l.Qa=function(a){return this.Hh(kp(a))};l.Fd=function(a,c){return ip(this.Yc(a,c))};l.Wb=function(a,c){return ip(this.Ie(a,c))}; 
    447 l.Zc=function(a,c){return ip(this.Ke(a,c))};function lp(a,c,d,e,f,g){var h=NaN,k=NaN,m=(d-c)/e;if(0!==m)if(1==m)h=a[c],k=a[c+1];else if(2==m)h=(1-f)*a[c]+f*a[c+e],k=(1-f)*a[c+1]+f*a[c+e+1];else{var k=a[c],m=a[c+1],n=0,h=[0],p;for(p=c+e;p<d;p+=e){var q=a[p],r=a[p+1],n=n+Math.sqrt((q-k)*(q-k)+(r-m)*(r-m));h.push(n);k=q;m=r}d=f*n;m=0;n=h.length;for(p=!1;m<n;)f=m+(n-m>>1),k=+Ta(h[f],d),0>k?m=f+1:(n=f,p=!k);f=p?m:~m;0>f?(d=(d-h[-f-2])/(h[-f-1]-h[-f-2]),c+=(-f-2)*e,h=ac(a[c],a[c+e],d),k=ac(a[c+1],a[c+e+1],d)):(h=a[c+f*e],k=a[c+f*e+1])}return g?(g[0]= 
    448 h,g[1]=k,g):[h,k]}function mp(a,c,d,e,f,g){if(d==c)return null;if(f<a[c+e-1])return g?(d=a.slice(c,c+e),d[e-1]=f,d):null;if(a[d-1]<f)return g?(d=a.slice(d-e,d),d[e-1]=f,d):null;if(f==a[c+e-1])return a.slice(c,c+e);c/=e;for(d/=e;c<d;)g=c+d>>1,f<a[(g+1)*e-1]?d=g:c=g+1;d=a[c*e-1];if(f==d)return a.slice((c-1)*e,(c-1)*e+e);g=(f-d)/(a[(c+1)*e-1]-d);d=[];var h;for(h=0;h<e-1;++h)d.push(ac(a[(c-1)*e+h],a[c*e+h],g));d.push(f);return d} 
    449 function np(a,c,d,e,f,g){var h=0;if(g)return mp(a,h,c[c.length-1],d,e,f);if(e<a[d-1])return f?(a=a.slice(0,d),a[d-1]=e,a):null;if(a[a.length-1]<e)return f?(a=a.slice(a.length-d),a[d-1]=e,a):null;f=0;for(g=c.length;f<g;++f){var k=c[f];if(h!=k){if(e<a[h+d-1])break;if(e<=a[k-1])return mp(a,h,k,d,e,!1);h=k}}return null};function T(a,c){Od.call(this);this.c=null;this.J=this.D=this.o=-1;this.la(a,c)}y(T,Od);l=T.prototype;l.dj=function(a){this.v?Xa(this.v,a):this.v=a.slice();this.u()};l.clone=function(){var a=new T(null);a.ba(this.f,this.v.slice());return a};l.sb=function(a,c,d,e){if(e<Cc(this.G(),a,c))return e;this.J!=this.g&&(this.D=Math.sqrt(Vd(this.v,0,this.v.length,this.a,0)),this.J=this.g);return Xd(this.v,0,this.v.length,this.a,this.D,!1,a,c,d,e)}; 
    450 l.rj=function(a,c){return le(this.v,0,this.v.length,this.a,a,c)};l.Ml=function(a,c){return"XYM"!=this.f&&"XYZM"!=this.f?null:mp(this.v,0,this.v.length,this.a,a,void 0!==c?c:!1)};l.Y=function(){return be(this.v,0,this.v.length,this.a)};l.qg=function(a,c){return lp(this.v,0,this.v.length,this.a,a,c)};l.Nl=function(){var a=this.v,c=this.a,d=a[0],e=a[1],f=0,g;for(g=0+c;g<this.v.length;g+=c)var h=a[g],k=a[g+1],f=f+Math.sqrt((h-d)*(h-d)+(k-e)*(k-e)),d=h,e=k;return f}; 
    451 function Zk(a){a.o!=a.g&&(a.c=a.qg(.5,a.c),a.o=a.g);return a.c}l.Mc=function(a){var c=[];c.length=de(this.v,0,this.v.length,this.a,a,c,0);a=new T(null);a.ba("XY",c);return a};l.W=function(){return"LineString"};l.Ia=function(a){return me(this.v,0,this.v.length,this.a,a)};l.la=function(a,c){a?(Rd(this,c,a,1),this.v||(this.v=[]),this.v.length=$d(this.v,0,a,this.a),this.u()):this.ba("XY",null)};l.ba=function(a,c){Qd(this,a,c);this.u()};function U(a,c){Od.call(this);this.c=[];this.o=this.J=-1;this.la(a,c)}y(U,Od);l=U.prototype;l.ej=function(a){this.v?Xa(this.v,a.ha().slice()):this.v=a.ha().slice();this.c.push(this.v.length);this.u()};l.clone=function(){var a=new U(null);a.ba(this.f,this.v.slice(),this.c.slice());return a};l.sb=function(a,c,d,e){if(e<Cc(this.G(),a,c))return e;this.o!=this.g&&(this.J=Math.sqrt(Wd(this.v,0,this.c,this.a,0)),this.o=this.g);return Yd(this.v,0,this.c,this.a,this.J,!1,a,c,d,e)}; 
    452 l.Pl=function(a,c,d){return"XYM"!=this.f&&"XYZM"!=this.f||0===this.v.length?null:np(this.v,this.c,this.a,a,void 0!==c?c:!1,void 0!==d?d:!1)};l.Y=function(){return ce(this.v,0,this.c,this.a)};l.Cb=function(){return this.c};l.Lj=function(a){if(0>a||this.c.length<=a)return null;var c=new T(null);c.ba(this.f,this.v.slice(0===a?0:this.c[a-1],this.c[a]));return c}; 
    453 l.rd=function(){var a=this.v,c=this.c,d=this.f,e=[],f=0,g,h;g=0;for(h=c.length;g<h;++g){var k=c[g],m=new T(null);m.ba(d,a.slice(f,k));e.push(m);f=k}return e};function $k(a){var c=[],d=a.v,e=0,f=a.c;a=a.a;var g,h;g=0;for(h=f.length;g<h;++g){var k=f[g],e=lp(d,e,k,a,.5);Xa(c,e);e=k}return c}l.Mc=function(a){var c=[],d=[],e=this.v,f=this.c,g=this.a,h=0,k=0,m,n;m=0;for(n=f.length;m<n;++m){var p=f[m],k=de(e,h,p,g,a,c,k);d.push(k);h=p}c.length=k;a=new U(null);a.ba("XY",c,d);return a};l.W=function(){return"MultiLineString"}; 
    454 l.Ia=function(a){a:{var c=this.v,d=this.c,e=this.a,f=0,g,h;g=0;for(h=d.length;g<h;++g){if(me(c,f,d[g],e,a)){a=!0;break a}f=d[g]}a=!1}return a};l.la=function(a,c){if(a){Rd(this,c,a,2);this.v||(this.v=[]);var d=ae(this.v,0,a,this.a,this.c);this.v.length=0===d.length?0:d[d.length-1];this.u()}else this.ba("XY",null,this.c)};l.ba=function(a,c,d){Qd(this,a,c);this.c=d;this.u()}; 
    455 function op(a,c){var d=a.f,e=[],f=[],g,h;g=0;for(h=c.length;g<h;++g){var k=c[g];0===g&&(d=k.f);Xa(e,k.ha());f.push(e.length)}a.ba(d,e,f)};function pp(a,c){Od.call(this);this.la(a,c)}y(pp,Od);l=pp.prototype;l.gj=function(a){this.v?Xa(this.v,a.ha()):this.v=a.ha().slice();this.u()};l.clone=function(){var a=new pp(null);a.ba(this.f,this.v.slice());return a};l.sb=function(a,c,d,e){if(e<Cc(this.G(),a,c))return e;var f=this.v,g=this.a,h,k,m;h=0;for(k=f.length;h<k;h+=g)if(m=Pa(a,c,f[h],f[h+1]),m<e){e=m;for(m=0;m<g;++m)d[m]=f[h+m];d.length=g}return e};l.Y=function(){return be(this.v,0,this.v.length,this.a)}; 
    456 l.Wj=function(a){var c=this.v?this.v.length/this.a:0;if(0>a||c<=a)return null;c=new E(null);c.ba(this.f,this.v.slice(a*this.a,(a+1)*this.a));return c};l.le=function(){var a=this.v,c=this.f,d=this.a,e=[],f,g;f=0;for(g=a.length;f<g;f+=d){var h=new E(null);h.ba(c,a.slice(f,f+d));e.push(h)}return e};l.W=function(){return"MultiPoint"};l.Ia=function(a){var c=this.v,d=this.a,e,f,g,h;e=0;for(f=c.length;e<f;e+=d)if(g=c[e],h=c[e+1],Fc(a,g,h))return!0;return!1}; 
    457 l.la=function(a,c){a?(Rd(this,c,a,1),this.v||(this.v=[]),this.v.length=$d(this.v,0,a,this.a),this.u()):this.ba("XY",null)};l.ba=function(a,c){Qd(this,a,c);this.u()};function V(a,c){Od.call(this);this.c=[];this.J=-1;this.D=null;this.U=this.H=this.S=-1;this.o=null;this.la(a,c)}y(V,Od);l=V.prototype;l.hj=function(a){if(this.v){var c=this.v.length;Xa(this.v,a.ha());a=a.Cb().slice();var d,e;d=0;for(e=a.length;d<e;++d)a[d]+=c}else this.v=a.ha().slice(),a=a.Cb().slice(),this.c.push();this.c.push(a);this.u()};l.clone=function(){for(var a=new V(null),c=this.c.length,d=Array(c),e=0;e<c;++e)d[e]=this.c.slice();qp(a,this.f,this.v.slice(),d);return a}; 
    458 l.sb=function(a,c,d,e){if(e<Cc(this.G(),a,c))return e;if(this.H!=this.g){var f=this.c,g=0,h=0,k,m;k=0;for(m=f.length;k<m;++k)var n=f[k],h=Wd(this.v,g,n,this.a,h),g=n[n.length-1];this.S=Math.sqrt(h);this.H=this.g}f=al(this);g=this.c;h=this.a;k=this.S;m=0;var n=[NaN,NaN],p,q;p=0;for(q=g.length;p<q;++p){var r=g[p];e=Yd(f,m,r,h,k,!0,a,c,d,e,n);m=r[r.length-1]}return e}; 
    459 l.xc=function(a,c){var d;a:{d=al(this);var e=this.c,f=0;if(0!==e.length){var g,h;g=0;for(h=e.length;g<h;++g){var k=e[g];if(je(d,f,k,this.a,a,c)){d=!0;break a}f=k[k.length-1]}}d=!1}return d};l.Ql=function(){var a=al(this),c=this.c,d=0,e=0,f,g;f=0;for(g=c.length;f<g;++f)var h=c[f],e=e+Td(a,d,h,this.a),d=h[h.length-1];return e}; 
    460 l.Y=function(a){var c;void 0!==a?(c=al(this).slice(),re(c,this.c,this.a,a)):c=this.v;a=c;c=this.c;var d=this.a,e=0,f=[],g=0,h,k;h=0;for(k=c.length;h<k;++h){var m=c[h];f[g++]=ce(a,e,m,d,f[g]);e=m[m.length-1]}f.length=g;return f}; 
    461 function bl(a){if(a.J!=a.g){var c=a.v,d=a.c,e=a.a,f=0,g=[],h,k,m=yc();h=0;for(k=d.length;h<k;++h){var n=d[h],m=Kc(c,f,n[0],e);g.push((m[0]+m[2])/2,(m[1]+m[3])/2);f=n[n.length-1]}c=al(a);d=a.c;e=a.a;f=0;h=[];k=0;for(m=d.length;k<m;++k)n=d[k],h=ke(c,f,n,e,g,2*k,h),f=n[n.length-1];a.D=h;a.J=a.g}return a.D}l.Ij=function(){var a=new pp(null);a.ba("XY",bl(this).slice());return a}; 
    462 function al(a){if(a.U!=a.g){var c=a.v,d;a:{d=a.c;var e,f;e=0;for(f=d.length;e<f;++e)if(!pe(c,d[e],a.a,void 0)){d=!1;break a}d=!0}d?a.o=c:(a.o=c.slice(),a.o.length=re(a.o,a.c,a.a));a.U=a.g}return a.o}l.Mc=function(a){var c=[],d=[],e=this.v,f=this.c,g=this.a;a=Math.sqrt(a);var h=0,k=0,m,n;m=0;for(n=f.length;m<n;++m){var p=f[m],q=[],k=ee(e,h,p,g,a,c,k,q);d.push(q);h=p[p.length-1]}c.length=k;e=new V(null);qp(e,"XY",c,d);return e}; 
    463 l.Yj=function(a){if(0>a||this.c.length<=a)return null;var c;0===a?c=0:(c=this.c[a-1],c=c[c.length-1]);a=this.c[a].slice();var d=a[a.length-1];if(0!==c){var e,f;e=0;for(f=a.length;e<f;++e)a[e]-=c}e=new F(null);e.ba(this.f,this.v.slice(c,d),a);return e};l.Xd=function(){var a=this.f,c=this.v,d=this.c,e=[],f=0,g,h,k,m;g=0;for(h=d.length;g<h;++g){var n=d[g].slice(),p=n[n.length-1];if(0!==f)for(k=0,m=n.length;k<m;++k)n[k]-=f;k=new F(null);k.ba(a,c.slice(f,p),n);e.push(k);f=p}return e};l.W=function(){return"MultiPolygon"}; 
    464 l.Ia=function(a){a:{var c=al(this),d=this.c,e=this.a,f=0,g,h;g=0;for(h=d.length;g<h;++g){var k=d[g];if(ne(c,f,k,e,a)){a=!0;break a}f=k[k.length-1]}a=!1}return a};l.la=function(a,c){if(a){Rd(this,c,a,3);this.v||(this.v=[]);var d=this.v,e=this.a,f=this.c,g=0,f=f?f:[],h=0,k,m;k=0;for(m=a.length;k<m;++k)g=ae(d,g,a[k],e,f[h]),f[h++]=g,g=g[g.length-1];f.length=h;0===f.length?this.v.length=0:(d=f[f.length-1],this.v.length=0===d.length?0:d[d.length-1]);this.u()}else qp(this,"XY",null,this.c)}; 
    465 function qp(a,c,d,e){Qd(a,c,d);a.c=e;a.u()}function rp(a,c){var d=a.f,e=[],f=[],g,h,k;g=0;for(h=c.length;g<h;++g){var m=c[g];0===g&&(d=m.f);var n=e.length;k=m.Cb();var p,q;p=0;for(q=k.length;p<q;++p)k[p]+=n;Xa(e,m.ha());f.push(k)}qp(a,d,e,f)};function sp(a){a=a?a:{};this.defaultDataProjection=null;this.b=a.geometryName}y(sp,jp); 
    466 function tp(a,c){if(!a)return null;var d;if(ja(a.x)&&ja(a.y))d="Point";else if(a.points)d="MultiPoint";else if(a.paths)d=1===a.paths.length?"LineString":"MultiLineString";else if(a.rings){var e=a.rings,f=up(a),g=[];d=[];var h,k;h=0;for(k=e.length;h<k;++h){var m=Wa(e[h]);oe(m,0,m.length,f.length)?g.push([e[h]]):d.push(e[h])}for(;d.length;){e=d.shift();f=!1;for(h=g.length-1;0<=h;h--)if(Gc((new fe(g[h][0])).G(),(new fe(e)).G())){g[h].push(e);f=!0;break}f||g.push([e.reverse()])}a=mb({},a);1===g.length? 
    467 (d="Polygon",a.rings=g[0]):(d="MultiPolygon",a.rings=g)}return gp((0,vp[d])(a),!1,c)}function up(a){var c="XY";!0===a.hasZ&&!0===a.hasM?c="XYZM":!0===a.hasZ?c="XYZ":!0===a.hasM&&(c="XYM");return c}function wp(a){a=a.f;return{hasZ:"XYZ"===a||"XYZM"===a,hasM:"XYM"===a||"XYZM"===a}} 
    468 var vp={Point:function(a){return void 0!==a.m&&void 0!==a.z?new E([a.x,a.y,a.z,a.m],"XYZM"):void 0!==a.z?new E([a.x,a.y,a.z],"XYZ"):void 0!==a.m?new E([a.x,a.y,a.m],"XYM"):new E([a.x,a.y])},LineString:function(a){return new T(a.paths[0],up(a))},Polygon:function(a){return new F(a.rings,up(a))},MultiPoint:function(a){return new pp(a.points,up(a))},MultiLineString:function(a){return new U(a.paths,up(a))},MultiPolygon:function(a){return new V(a.rings,up(a))}},xp={Point:function(a){var c=a.Y();a=a.f;if("XYZ"=== 
    469 a)return{x:c[0],y:c[1],z:c[2]};if("XYM"===a)return{x:c[0],y:c[1],m:c[2]};if("XYZM"===a)return{x:c[0],y:c[1],z:c[2],m:c[3]};if("XY"===a)return{x:c[0],y:c[1]}},LineString:function(a){var c=wp(a);return{hasZ:c.hasZ,hasM:c.hasM,paths:[a.Y()]}},Polygon:function(a){var c=wp(a);return{hasZ:c.hasZ,hasM:c.hasM,rings:a.Y(!1)}},MultiPoint:function(a){var c=wp(a);return{hasZ:c.hasZ,hasM:c.hasM,points:a.Y()}},MultiLineString:function(a){var c=wp(a);return{hasZ:c.hasZ,hasM:c.hasM,paths:a.Y()}},MultiPolygon:function(a){var c= 
    470 wp(a);a=a.Y(!1);for(var d=[],e=0;e<a.length;e++)for(var f=a[e].length-1;0<=f;f--)d.push(a[e][f]);return{hasZ:c.hasZ,hasM:c.hasM,rings:d}}};l=sp.prototype;l.Tc=function(a,c){var d=tp(a.geometry,c),e=new Xl;this.b&&e.Bc(this.b);e.Pa(d);c&&c.ff&&a.attributes[c.ff]&&e.jc(a.attributes[c.ff]);a.attributes&&e.C(a.attributes);return e}; 
    471 l.Af=function(a,c){var d=c?c:{};if(a.features){var e=[],f=a.features,g,h;d.ff=a.objectIdFieldName;g=0;for(h=f.length;g<h;++g)e.push(this.Tc(f[g],d));return e}return[this.Tc(a,d)]};l.Ah=function(a,c){return tp(a,c)};l.Hh=function(a){return a.spatialReference&&a.spatialReference.wkid?qd("EPSG:"+a.spatialReference.wkid):null};function yp(a,c){return(0,xp[a.W()])(gp(a,!0,c),c)}l.Ke=function(a,c){return yp(a,fp(this,c))}; 
    472 l.Yc=function(a,c){c=fp(this,c);var d={},e=a.X();e&&(d.geometry=yp(e,c));e=a.P();delete e[a.a];d.attributes=pb(e)?{}:e;c&&c.featureProjection&&(d.spatialReference={wkid:qd(c.featureProjection).lb.split(":").pop()});return d};l.Ie=function(a,c){c=fp(this,c);var d=[],e,f;e=0;for(f=a.length;e<f;++e)d.push(this.Yc(a[e],c));return{features:d}};function zp(a){Md.call(this);this.i=a?a:null;Ap(this)}y(zp,Md);function Bp(a){var c=[],d,e;d=0;for(e=a.length;d<e;++d)c.push(a[d].clone());return c}function Cp(a){var c,d;if(a.i)for(c=0,d=a.i.length;c<d;++c)yb(a.i[c],"change",a.u,a)}function Ap(a){var c,d;if(a.i)for(c=0,d=a.i.length;c<d;++c)D(a.i[c],"change",a.u,a)}l=zp.prototype;l.clone=function(){var a=new zp(null);a.Qh(this.i);return a}; 
    473 l.sb=function(a,c,d,e){if(e<Cc(this.G(),a,c))return e;var f=this.i,g,h;g=0;for(h=f.length;g<h;++g)e=f[g].sb(a,c,d,e);return e};l.xc=function(a,c){var d=this.i,e,f;e=0;for(f=d.length;e<f;++e)if(d[e].xc(a,c))return!0;return!1};l.Pd=function(a){Ic(Infinity,Infinity,-Infinity,-Infinity,a);for(var c=this.i,d=0,e=c.length;d<e;++d)Nc(a,c[d].G());return a};l.vg=function(){return Bp(this.i)}; 
    474 l.sd=function(a){this.s!=this.g&&(nb(this.j),this.l=0,this.s=this.g);if(0>a||0!==this.l&&a<this.l)return this;var c=a.toString();if(this.j.hasOwnProperty(c))return this.j[c];var d=[],e=this.i,f=!1,g,h;g=0;for(h=e.length;g<h;++g){var k=e[g],m=k.sd(a);d.push(m);m!==k&&(f=!0)}if(f)return a=new zp(null),Cp(a),a.i=d,Ap(a),a.u(),this.j[c]=a;this.l=a;return this};l.W=function(){return"GeometryCollection"};l.Ia=function(a){var c=this.i,d,e;d=0;for(e=c.length;d<e;++d)if(c[d].Ia(a))return!0;return!1}; 
    475 l.Oa=function(){return 0===this.i.length};l.Qh=function(a){a=Bp(a);Cp(this);this.i=a;Ap(this);this.u()};l.Hc=function(a){var c=this.i,d,e;d=0;for(e=c.length;d<e;++d)c[d].Hc(a);this.u()};l.Rc=function(a,c){var d=this.i,e,f;e=0;for(f=d.length;e<f;++e)d[e].Rc(a,c);this.u()};l.fa=function(){Cp(this);zp.ia.fa.call(this)};function Dp(a){a=a?a:{};this.defaultDataProjection=null;this.defaultDataProjection=qd(a.defaultDataProjection?a.defaultDataProjection:"EPSG:4326");this.b=a.geometryName}y(Dp,jp);function Ep(a,c){return a?gp((0,Fp[a.type])(a),!1,c):null}function Gp(a,c){return(0,Hp[a.W()])(gp(a,!0,c),c)} 
    476 var Fp={Point:function(a){return new E(a.coordinates)},LineString:function(a){return new T(a.coordinates)},Polygon:function(a){return new F(a.coordinates)},MultiPoint:function(a){return new pp(a.coordinates)},MultiLineString:function(a){return new U(a.coordinates)},MultiPolygon:function(a){return new V(a.coordinates)},GeometryCollection:function(a,c){var d=a.geometries.map(function(a){return Ep(a,c)});return new zp(d)}},Hp={Point:function(a){return{type:"Point",coordinates:a.Y()}},LineString:function(a){return{type:"LineString", 
    477 coordinates:a.Y()}},Polygon:function(a,c){var d;c&&(d=c.rightHanded);return{type:"Polygon",coordinates:a.Y(d)}},MultiPoint:function(a){return{type:"MultiPoint",coordinates:a.Y()}},MultiLineString:function(a){return{type:"MultiLineString",coordinates:a.Y()}},MultiPolygon:function(a,c){var d;c&&(d=c.rightHanded);return{type:"MultiPolygon",coordinates:a.Y(d)}},GeometryCollection:function(a,c){return{type:"GeometryCollection",geometries:a.i.map(function(a){return Gp(a,c)})}},Circle:function(){return{type:"GeometryCollection", 
    478 geometries:[]}}};l=Dp.prototype;l.Tc=function(a,c){var d=Ep(a.geometry,c),e=new Xl;this.b&&e.Bc(this.b);e.Pa(d);void 0!==a.id&&e.jc(a.id);a.properties&&e.C(a.properties);return e};l.Af=function(a,c){if("Feature"==a.type)return[this.Tc(a,c)];if("FeatureCollection"==a.type){var d=[],e=a.features,f,g;f=0;for(g=e.length;f<g;++f)d.push(this.Tc(e[f],c));return d}return[]};l.Ah=function(a,c){return Ep(a,c)}; 
    479 l.Hh=function(a){return(a=a.crs)?"name"==a.type?qd(a.properties.name):"EPSG"==a.type?qd("EPSG:"+a.properties.code):null:this.defaultDataProjection};l.Yc=function(a,c){c=fp(this,c);var d={type:"Feature"},e=a.Sa();void 0!==e&&(d.id=e);(e=a.X())?d.geometry=Gp(e,c):d.geometry=null;e=a.P();delete e[a.a];pb(e)?d.properties=null:d.properties=e;return d};l.Ie=function(a,c){c=fp(this,c);var d=[],e,f;e=0;for(f=a.length;e<f;++e)d.push(this.Yc(a[e],c));return{type:"FeatureCollection",features:d}}; 
    480 l.Ke=function(a,c){return Gp(a,fp(this,c))};function Ip(){this.defaultDataProjection=null}y(Ip,dp);l=Ip.prototype;l.W=function(){return"xml"};l.Ub=function(a,c){if(pm(a))return Jp(this,a,c);if(sm(a))return this.yh(a,c);if("string"===typeof a){var d=Cm(a);return Jp(this,d,c)}return null};function Jp(a,c,d){a=Kp(a,c,d);return 0<a.length?a[0]:null}l.Ea=function(a,c){if(pm(a))return Kp(this,a,c);if(sm(a))return this.ic(a,c);if("string"===typeof a){var d=Cm(a);return Kp(this,d,c)}return[]}; 
    481 function Kp(a,c,d){var e=[];for(c=c.firstChild;c;c=c.nextSibling)1==c.nodeType&&Xa(e,a.ic(c,d));return e}l.Uc=function(a,c){if(pm(a))return this.s(a,c);if(sm(a)){var d=this.ze(a,[ep(this,a,c?c:{})]);return d?d:null}return"string"===typeof a?(d=Cm(a),this.s(d,c)):null};l.Qa=function(a){return pm(a)?this.Gf(a):sm(a)?this.Ce(a):"string"===typeof a?(a=Cm(a),this.Gf(a)):null};l.Gf=function(){return this.defaultDataProjection};l.Ce=function(){return this.defaultDataProjection}; 
    482 l.Fd=function(a,c){var d=this.T(a,c);return bm(d)};l.Wb=function(a,c){var d=this.a(a,c);return bm(d)};l.Zc=function(a,c){var d=this.o(a,c);return bm(d)};function Lp(a){a=a?a:{};this.featureType=a.featureType;this.featureNS=a.featureNS;this.srsName=a.srsName;this.schemaLocation="";this.b={};this.b["http://www.opengis.net/gml"]={featureMember:Fm(Lp.prototype.yd),featureMembers:Fm(Lp.prototype.yd)};this.defaultDataProjection=null}y(Lp,Ip);var Mp=/^[\s\xa0]*$/;l=Lp.prototype; 
    483 l.yd=function(a,c){var d=mm(a),e;if("FeatureCollection"==d)"http://www.opengis.net/wfs"===a.namespaceURI?e=R([],this.b,a,c,this):e=R(null,this.b,a,c,this);else if("featureMembers"==d||"featureMember"==d){var f=c[0],g=f.featureType;e=f.featureNS;var h,k;if(!g&&a.childNodes){g=[];e={};h=0;for(k=a.childNodes.length;h<k;++h){var m=a.childNodes[h];if(1===m.nodeType){var n=m.nodeName.split(":").pop();if(-1===g.indexOf(n)){var p="",q=0,m=m.namespaceURI,r;for(r in e){if(e[r]===m){p=r;break}++q}p||(p="p"+ 
    484 q,e[p]=m);g.push(p+":"+n)}}}f.featureType=g;f.featureNS=e}"string"===typeof e&&(h=e,e={},e.p0=h);r={};var g=ga(g)?g:[g],t;for(t in e){f={};h=0;for(k=g.length;h<k;++h)(-1===g[h].indexOf(":")?"p0":g[h].split(":")[0])===t&&(f[g[h].split(":").pop()]="featureMembers"==d?Em(this.zf,this):Fm(this.zf,this));r[e[t]]=f}e=R([],r,a,c)}e||(e=[]);return e};l.ze=function(a,c){var d=c[0];d.srsName=a.firstElementChild.getAttribute("srsName");var e=R(null,this.Sf,a,c,this);if(e)return gp(e,!1,d)}; 
    485 l.zf=function(a,c){var d,e=a.getAttribute("fid")||wm(a,"http://www.opengis.net/gml","id"),f={},g;for(d=a.firstElementChild;d;d=d.nextElementSibling){var h=mm(d);if(0===d.childNodes.length||1===d.childNodes.length&&(3===d.firstChild.nodeType||4===d.firstChild.nodeType)){var k=im(d,!1);Mp.test(k)&&(k=void 0);f[h]=k}else"boundedBy"!==h&&(g=h),f[h]=this.ze(d,c)}d=new Xl(f);g&&d.Bc(g);e&&d.jc(e);return d};l.Gh=function(a,c){var d=this.ye(a,c);if(d){var e=new E(null);e.ba("XYZ",d);return e}}; 
    486 l.Eh=function(a,c){var d=R([],this.Bi,a,c,this);if(d)return new pp(d)};l.Dh=function(a,c){var d=R([],this.Ai,a,c,this);if(d){var e=new U(null);op(e,d);return e}};l.Fh=function(a,c){var d=R([],this.Ci,a,c,this);if(d){var e=new V(null);rp(e,d);return e}};l.vh=function(a,c){Mm(this.Fi,a,c,this)};l.Kg=function(a,c){Mm(this.yi,a,c,this)};l.wh=function(a,c){Mm(this.Gi,a,c,this)};l.Ae=function(a,c){var d=this.ye(a,c);if(d){var e=new T(null);e.ba("XYZ",d);return e}}; 
    487 l.Pn=function(a,c){var d=R(null,this.Hd,a,c,this);if(d)return d};l.Ch=function(a,c){var d=this.ye(a,c);if(d){var e=new fe(null);ge(e,"XYZ",d);return e}};l.Be=function(a,c){var d=R([null],this.Me,a,c,this);if(d&&d[0]){var e=new F(null),f=d[0],g=[f.length],h,k;h=1;for(k=d.length;h<k;++h)Xa(f,d[h]),g.push(f.length);e.ba("XYZ",f,g);return e}};l.ye=function(a,c){return R(null,this.Hd,a,c,this)};l.Bi=Object({"http://www.opengis.net/gml":{pointMember:Em(Lp.prototype.vh),pointMembers:Em(Lp.prototype.vh)}}); 
    488 l.Ai=Object({"http://www.opengis.net/gml":{lineStringMember:Em(Lp.prototype.Kg),lineStringMembers:Em(Lp.prototype.Kg)}});l.Ci=Object({"http://www.opengis.net/gml":{polygonMember:Em(Lp.prototype.wh),polygonMembers:Em(Lp.prototype.wh)}});l.Fi=Object({"http://www.opengis.net/gml":{Point:Em(Lp.prototype.ye)}});l.yi=Object({"http://www.opengis.net/gml":{LineString:Em(Lp.prototype.Ae)}});l.Gi=Object({"http://www.opengis.net/gml":{Polygon:Em(Lp.prototype.Be)}});l.Id=Object({"http://www.opengis.net/gml":{LinearRing:Fm(Lp.prototype.Pn)}}); 
    489 l.ic=function(a,c){var d={featureType:this.featureType,featureNS:this.featureNS};c&&mb(d,ep(this,a,c));return this.yd(a,[d])};l.Ce=function(a){return qd(this.A?this.A:a.firstElementChild.getAttribute("srsName"))};function Np(a){a=im(a,!1);return Op(a)}function Op(a){if(a=/^\s*(true|1)|(false|0)\s*$/.exec(a))return void 0!==a[1]||!1} 
    490 function Pp(a){a=im(a,!1);if(a=/^\s*(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(Z|(?:([+\-])(\d{2})(?::(\d{2}))?))\s*$/.exec(a)){var c=Date.UTC(parseInt(a[1],10),parseInt(a[2],10)-1,parseInt(a[3],10),parseInt(a[4],10),parseInt(a[5],10),parseInt(a[6],10))/1E3;if("Z"!=a[7]){var d="-"==a[8]?-1:1,c=c+60*d*parseInt(a[9],10);void 0!==a[10]&&(c+=3600*d*parseInt(a[10],10))}return c}}function Qp(a){a=im(a,!1);return Rp(a)} 
    491 function Rp(a){if(a=/^\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)\s*$/i.exec(a))return parseFloat(a[1])}function Sp(a){a=im(a,!1);return Tp(a)}function Tp(a){if(a=/^\s*(\d+)\s*$/.exec(a))return parseInt(a[1],10)}function W(a){return im(a,!1).trim()}function Up(a,c){Vp(a,c?"1":"0")}function Wp(a,c){a.appendChild(em.createTextNode(c.toPrecision()))}function Xp(a,c){a.appendChild(em.createTextNode(c.toString()))}function Vp(a,c){a.appendChild(em.createTextNode(c))};function Yp(a){a=a?a:{};Lp.call(this,a);this.b["http://www.opengis.net/gml"].featureMember=Em(Lp.prototype.yd);this.schemaLocation=a.schemaLocation?a.schemaLocation:"http://www.opengis.net/gml http://schemas.opengis.net/gml/2.1.2/feature.xsd"}y(Yp,Lp);l=Yp.prototype; 
    492 l.zh=function(a,c){var d=im(a,!1).replace(/^\s*|\s*$/g,""),e=c[0].srsName,f=a.parentNode.getAttribute("srsDimension"),g="enu";e&&(e=qd(e))&&(g=e.f);d=d.split(/[\s,]+/);e=2;a.getAttribute("srsDimension")?e=Tp(a.getAttribute("srsDimension")):a.getAttribute("dimension")?e=Tp(a.getAttribute("dimension")):f&&(e=Tp(f));for(var h,k,m=[],n=0,p=d.length;n<p;n+=e)f=parseFloat(d[n]),h=parseFloat(d[n+1]),k=3===e?parseFloat(d[n+2]):0,"en"===g.substr(0,2)?m.push(f,h,k):m.push(h,f,k);return m}; 
    493 l.Mn=function(a,c){var d=R([null],this.ui,a,c,this);return Ic(d[1][0],d[1][1],d[1][3],d[1][4])};l.Qk=function(a,c){var d=R(void 0,this.Id,a,c,this);d&&c[c.length-1].push(d)};l.vn=function(a,c){var d=R(void 0,this.Id,a,c,this);d&&(c[c.length-1][0]=d)};l.Hd=Object({"http://www.opengis.net/gml":{coordinates:Fm(Yp.prototype.zh)}});l.Me=Object({"http://www.opengis.net/gml":{innerBoundaryIs:Yp.prototype.Qk,outerBoundaryIs:Yp.prototype.vn}});l.ui=Object({"http://www.opengis.net/gml":{coordinates:Em(Yp.prototype.zh)}}); 
    494 l.Sf=Object({"http://www.opengis.net/gml":{Point:Fm(Lp.prototype.Gh),MultiPoint:Fm(Lp.prototype.Eh),LineString:Fm(Lp.prototype.Ae),MultiLineString:Fm(Lp.prototype.Dh),LinearRing:Fm(Lp.prototype.Ch),Polygon:Fm(Lp.prototype.Be),MultiPolygon:Fm(Lp.prototype.Fh),Box:Fm(Yp.prototype.Mn)}});function Zp(a){a=a?a:{};Lp.call(this,a);this.l=void 0!==a.surface?a.surface:!1;this.c=void 0!==a.curve?a.curve:!1;this.i=void 0!==a.multiCurve?a.multiCurve:!0;this.j=void 0!==a.multiSurface?a.multiSurface:!0;this.schemaLocation=a.schemaLocation?a.schemaLocation:"http://www.opengis.net/gml http://schemas.opengis.net/gml/3.1.1/profiles/gmlsfProfile/1.0.0/gmlsf.xsd"}y(Zp,Lp);l=Zp.prototype;l.Tn=function(a,c){var d=R([],this.zi,a,c,this);if(d){var e=new U(null);op(e,d);return e}}; 
    495 l.Un=function(a,c){var d=R([],this.Di,a,c,this);if(d){var e=new V(null);rp(e,d);return e}};l.lg=function(a,c){Mm(this.vi,a,c,this)};l.bi=function(a,c){Mm(this.Ki,a,c,this)};l.Xn=function(a,c){return R([null],this.Ei,a,c,this)};l.Zn=function(a,c){return R([null],this.Ji,a,c,this)};l.Yn=function(a,c){return R([null],this.Me,a,c,this)};l.Sn=function(a,c){return R([null],this.Hd,a,c,this)};l.Sk=function(a,c){var d=R(void 0,this.Id,a,c,this);d&&c[c.length-1].push(d)}; 
    496 l.nj=function(a,c){var d=R(void 0,this.Id,a,c,this);d&&(c[c.length-1][0]=d)};l.Ih=function(a,c){var d=R([null],this.Li,a,c,this);if(d&&d[0]){var e=new F(null),f=d[0],g=[f.length],h,k;h=1;for(k=d.length;h<k;++h)Xa(f,d[h]),g.push(f.length);e.ba("XYZ",f,g);return e}};l.xh=function(a,c){var d=R([null],this.wi,a,c,this);if(d){var e=new T(null);e.ba("XYZ",d);return e}};l.On=function(a,c){var d=R([null],this.xi,a,c,this);return Ic(d[1][0],d[1][1],d[2][0],d[2][1])}; 
    497 l.Qn=function(a,c){for(var d=im(a,!1),e=/^\s*([+\-]?\d*\.?\d+(?:[eE][+\-]?\d+)?)\s*/,f=[],g;g=e.exec(d);)f.push(parseFloat(g[1])),d=d.substr(g[0].length);if(""===d){d=c[0].srsName;e="enu";d&&(e=td(qd(d)));if("neu"===e)for(d=0,e=f.length;d<e;d+=3)g=f[d],f[d]=f[d+1],f[d+1]=g;d=f.length;2==d&&f.push(0);return 0===d?void 0:f}}; 
    498 l.Df=function(a,c){var d=im(a,!1).replace(/^\s*|\s*$/g,""),e=c[0].srsName,f=a.parentNode.getAttribute("srsDimension"),g="enu";e&&(g=td(qd(e)));d=d.split(/\s+/);e=2;a.getAttribute("srsDimension")?e=Tp(a.getAttribute("srsDimension")):a.getAttribute("dimension")?e=Tp(a.getAttribute("dimension")):f&&(e=Tp(f));for(var h,k,m=[],n=0,p=d.length;n<p;n+=e)f=parseFloat(d[n]),h=parseFloat(d[n+1]),k=3===e?parseFloat(d[n+2]):0,"en"===g.substr(0,2)?m.push(f,h,k):m.push(h,f,k);return m}; 
    499 l.Hd=Object({"http://www.opengis.net/gml":{pos:Fm(Zp.prototype.Qn),posList:Fm(Zp.prototype.Df)}});l.Me=Object({"http://www.opengis.net/gml":{interior:Zp.prototype.Sk,exterior:Zp.prototype.nj}}); 
    500 l.Sf=Object({"http://www.opengis.net/gml":{Point:Fm(Lp.prototype.Gh),MultiPoint:Fm(Lp.prototype.Eh),LineString:Fm(Lp.prototype.Ae),MultiLineString:Fm(Lp.prototype.Dh),LinearRing:Fm(Lp.prototype.Ch),Polygon:Fm(Lp.prototype.Be),MultiPolygon:Fm(Lp.prototype.Fh),Surface:Fm(Zp.prototype.Ih),MultiSurface:Fm(Zp.prototype.Un),Curve:Fm(Zp.prototype.xh),MultiCurve:Fm(Zp.prototype.Tn),Envelope:Fm(Zp.prototype.On)}});l.zi=Object({"http://www.opengis.net/gml":{curveMember:Em(Zp.prototype.lg),curveMembers:Em(Zp.prototype.lg)}}); 
    501 l.Di=Object({"http://www.opengis.net/gml":{surfaceMember:Em(Zp.prototype.bi),surfaceMembers:Em(Zp.prototype.bi)}});l.vi=Object({"http://www.opengis.net/gml":{LineString:Em(Lp.prototype.Ae),Curve:Em(Zp.prototype.xh)}});l.Ki=Object({"http://www.opengis.net/gml":{Polygon:Em(Lp.prototype.Be),Surface:Em(Zp.prototype.Ih)}});l.Li=Object({"http://www.opengis.net/gml":{patches:Fm(Zp.prototype.Xn)}});l.wi=Object({"http://www.opengis.net/gml":{segments:Fm(Zp.prototype.Zn)}}); 
    502 l.xi=Object({"http://www.opengis.net/gml":{lowerCorner:Em(Zp.prototype.Df),upperCorner:Em(Zp.prototype.Df)}});l.Ei=Object({"http://www.opengis.net/gml":{PolygonPatch:Fm(Zp.prototype.Yn)}});l.Ji=Object({"http://www.opengis.net/gml":{LineStringSegment:Fm(Zp.prototype.Sn)}});function $p(a,c,d){d=d[d.length-1].srsName;c=c.Y();for(var e=c.length,f=Array(e),g,h=0;h<e;++h){g=c[h];var k=h,m="enu";d&&(m=td(qd(d)));f[k]="en"===m.substr(0,2)?g[0]+" "+g[1]:g[1]+" "+g[0]}Vp(a,f.join(" "))} 
    503 l.pi=function(a,c,d){var e=d[d.length-1].srsName;e&&a.setAttribute("srsName",e);e=hm(a.namespaceURI,"pos");a.appendChild(e);d=d[d.length-1].srsName;a="enu";d&&(a=td(qd(d)));c=c.Y();Vp(e,"en"===a.substr(0,2)?c[0]+" "+c[1]:c[1]+" "+c[0])};var aq={"http://www.opengis.net/gml":{lowerCorner:N(Vp),upperCorner:N(Vp)}};l=Zp.prototype;l.Mo=function(a,c,d){var e=d[d.length-1].srsName;e&&a.setAttribute("srsName",e);Nm({node:a},aq,Km,[c[0]+" "+c[1],c[2]+" "+c[3]],d,["lowerCorner","upperCorner"],this)}; 
    504 l.mi=function(a,c,d){var e=d[d.length-1].srsName;e&&a.setAttribute("srsName",e);e=hm(a.namespaceURI,"posList");a.appendChild(e);$p(e,c,d)};l.Ii=function(a,c){var d=c[c.length-1],e=d.node,f=d.exteriorWritten;void 0===f&&(d.exteriorWritten=!0);return hm(e.namespaceURI,void 0!==f?"interior":"exterior")}; 
    505 l.Le=function(a,c,d){var e=d[d.length-1].srsName;"PolygonPatch"!==a.nodeName&&e&&a.setAttribute("srsName",e);"Polygon"===a.nodeName||"PolygonPatch"===a.nodeName?(c=c.Vd(),Nm({node:a,srsName:e},bq,this.Ii,c,d,void 0,this)):"Surface"===a.nodeName&&(e=hm(a.namespaceURI,"patches"),a.appendChild(e),a=hm(e.namespaceURI,"PolygonPatch"),e.appendChild(a),this.Le(a,c,d))}; 
    506 l.Ge=function(a,c,d){var e=d[d.length-1].srsName;"LineStringSegment"!==a.nodeName&&e&&a.setAttribute("srsName",e);"LineString"===a.nodeName||"LineStringSegment"===a.nodeName?(e=hm(a.namespaceURI,"posList"),a.appendChild(e),$p(e,c,d)):"Curve"===a.nodeName&&(e=hm(a.namespaceURI,"segments"),a.appendChild(e),a=hm(e.namespaceURI,"LineStringSegment"),e.appendChild(a),this.Ge(a,c,d))}; 
    507 l.oi=function(a,c,d){var e=d[d.length-1],f=e.srsName,e=e.surface;f&&a.setAttribute("srsName",f);c=c.Xd();Nm({node:a,srsName:f,surface:e},cq,this.f,c,d,void 0,this)};l.No=function(a,c,d){var e=d[d.length-1].srsName;e&&a.setAttribute("srsName",e);c=c.le();Nm({node:a,srsName:e},dq,Im("pointMember"),c,d,void 0,this)};l.ni=function(a,c,d){var e=d[d.length-1],f=e.srsName,e=e.curve;f&&a.setAttribute("srsName",f);c=c.rd();Nm({node:a,srsName:f,curve:e},eq,this.f,c,d,void 0,this)}; 
    508 l.ri=function(a,c,d){var e=hm(a.namespaceURI,"LinearRing");a.appendChild(e);this.mi(e,c,d)};l.si=function(a,c,d){var e=this.g(c,d);e&&(a.appendChild(e),this.Le(e,c,d))};l.Oo=function(a,c,d){var e=hm(a.namespaceURI,"Point");a.appendChild(e);this.pi(e,c,d)};l.li=function(a,c,d){var e=this.g(c,d);e&&(a.appendChild(e),this.Ge(e,c,d))}; 
    509 l.Je=function(a,c,d){var e=d[d.length-1],f=mb({},e);f.node=a;var g;ga(c)?e.dataProjection?g=Ld(c,e.featureProjection,e.dataProjection):g=c:g=gp(c,!0,e);Nm(f,fq,this.g,[g],d,void 0,this)}; 
    510 l.hi=function(a,c,d){var e=c.Sa();e&&a.setAttribute("fid",e);var e=d[d.length-1],f=e.featureNS,g=c.a;e.Ac||(e.Ac={},e.Ac[f]={});var h=c.P();c=[];var k=[],m;for(m in h){var n=h[m];null!==n&&(c.push(m),k.push(n),m==g||n instanceof Md?m in e.Ac[f]||(e.Ac[f][m]=N(this.Je,this)):m in e.Ac[f]||(e.Ac[f][m]=N(Vp)))}m=mb({},e);m.node=a;Nm(m,e.Ac,Im(void 0,f),k,d,c)}; 
    511 var cq={"http://www.opengis.net/gml":{surfaceMember:N(Zp.prototype.si),polygonMember:N(Zp.prototype.si)}},dq={"http://www.opengis.net/gml":{pointMember:N(Zp.prototype.Oo)}},eq={"http://www.opengis.net/gml":{lineStringMember:N(Zp.prototype.li),curveMember:N(Zp.prototype.li)}},bq={"http://www.opengis.net/gml":{exterior:N(Zp.prototype.ri),interior:N(Zp.prototype.ri)}},fq={"http://www.opengis.net/gml":{Curve:N(Zp.prototype.Ge),MultiCurve:N(Zp.prototype.ni),Point:N(Zp.prototype.pi),MultiPoint:N(Zp.prototype.No), 
    512 LineString:N(Zp.prototype.Ge),MultiLineString:N(Zp.prototype.ni),LinearRing:N(Zp.prototype.mi),Polygon:N(Zp.prototype.Le),MultiPolygon:N(Zp.prototype.oi),Surface:N(Zp.prototype.Le),MultiSurface:N(Zp.prototype.oi),Envelope:N(Zp.prototype.Mo)}},gq={MultiLineString:"lineStringMember",MultiCurve:"curveMember",MultiPolygon:"polygonMember",MultiSurface:"surfaceMember"};Zp.prototype.f=function(a,c){return hm("http://www.opengis.net/gml",gq[c[c.length-1].node.nodeName])}; 
    513 Zp.prototype.g=function(a,c){var d=c[c.length-1],e=d.multiSurface,f=d.surface,g=d.curve,d=d.multiCurve,h;ga(a)?h="Envelope":(h=a.W(),"MultiPolygon"===h&&!0===e?h="MultiSurface":"Polygon"===h&&!0===f?h="Surface":"LineString"===h&&!0===g?h="Curve":"MultiLineString"===h&&!0===d&&(h="MultiCurve"));return hm("http://www.opengis.net/gml",h)}; 
    514 Zp.prototype.o=function(a,c){c=fp(this,c);var d=hm("http://www.opengis.net/gml","geom"),e={node:d,srsName:this.srsName,curve:this.c,surface:this.l,multiSurface:this.j,multiCurve:this.i};c&&mb(e,c);this.Je(d,a,[e]);return d}; 
    515 Zp.prototype.a=function(a,c){c=fp(this,c);var d=hm("http://www.opengis.net/gml","featureMembers");Bm(d,"http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",this.schemaLocation);var e={srsName:this.srsName,curve:this.c,surface:this.l,multiSurface:this.j,multiCurve:this.i,featureNS:this.featureNS,featureType:this.featureType};c&&mb(e,c);var e=[e],f=e[e.length-1],g=f.featureType,h=f.featureNS,k={};k[h]={};k[h][g]=N(this.hi,this);f=mb({},f);f.node=d;Nm(f,k,Im(g,h),a,e);return d};function hq(a){a=a?a:{};this.defaultDataProjection=null;this.defaultDataProjection=qd("EPSG:4326");this.b=a.readExtensions}y(hq,Ip);var iq=[null,"http://www.topografix.com/GPX/1/0","http://www.topografix.com/GPX/1/1"];function jq(a,c,d){a.push(parseFloat(c.getAttribute("lon")),parseFloat(c.getAttribute("lat")));"ele"in d?(a.push(d.ele),delete d.ele):a.push(0);"time"in d?(a.push(d.time),delete d.time):a.push(0);return a} 
    516 function kq(a,c){var d=c[c.length-1],e=a.getAttribute("href");null!==e&&(d.link=e);Mm(lq,a,c)}function mq(a,c){c[c.length-1].extensionsNode_=a}function nq(a,c){var d=c[0],e=R({flatCoordinates:[]},oq,a,c);if(e){var f=e.flatCoordinates;delete e.flatCoordinates;var g=new T(null);g.ba("XYZM",f);gp(g,!1,d);d=new Xl(g);d.C(e);return d}} 
    517 function pq(a,c){var d=c[0],e=R({flatCoordinates:[],ends:[]},qq,a,c);if(e){var f=e.flatCoordinates;delete e.flatCoordinates;var g=e.ends;delete e.ends;var h=new U(null);h.ba("XYZM",f,g);gp(h,!1,d);d=new Xl(h);d.C(e);return d}}function rq(a,c){var d=c[0],e=R({},sq,a,c);if(e){var f=jq([],a,e),f=new E(f,"XYZM");gp(f,!1,d);d=new Xl(f);d.C(e);return d}} 
    518 var tq={rte:nq,trk:pq,wpt:rq},uq=Q(iq,{rte:Em(nq),trk:Em(pq),wpt:Em(rq)}),lq=Q(iq,{text:M(W,"linkText"),type:M(W,"linkType")}),oq=Q(iq,{name:M(W),cmt:M(W),desc:M(W),src:M(W),link:kq,number:M(Sp),extensions:mq,type:M(W),rtept:function(a,c){var d=R({},vq,a,c);d&&jq(c[c.length-1].flatCoordinates,a,d)}}),vq=Q(iq,{ele:M(Qp),time:M(Pp)}),qq=Q(iq,{name:M(W),cmt:M(W),desc:M(W),src:M(W),link:kq,number:M(Sp),type:M(W),extensions:mq,trkseg:function(a,c){var d=c[c.length-1];Mm(wq,a,c);d.ends.push(d.flatCoordinates.length)}}), 
    519 wq=Q(iq,{trkpt:function(a,c){var d=R({},xq,a,c);d&&jq(c[c.length-1].flatCoordinates,a,d)}}),xq=Q(iq,{ele:M(Qp),time:M(Pp)}),sq=Q(iq,{ele:M(Qp),time:M(Pp),magvar:M(Qp),geoidheight:M(Qp),name:M(W),cmt:M(W),desc:M(W),src:M(W),link:kq,sym:M(W),type:M(W),fix:M(W),sat:M(Sp),hdop:M(Qp),vdop:M(Qp),pdop:M(Qp),ageofdgpsdata:M(Qp),dgpsid:M(Sp),extensions:mq}); 
    520 function yq(a,c){c||(c=[]);for(var d=0,e=c.length;d<e;++d){var f=c[d];if(a.b){var g=f.get("extensionsNode_")||null;a.b(f,g)}f.set("extensionsNode_",void 0)}}hq.prototype.yh=function(a,c){if(!Ua(iq,a.namespaceURI))return null;var d=tq[a.localName];if(!d)return null;d=d(a,[ep(this,a,c)]);if(!d)return null;yq(this,[d]);return d};hq.prototype.ic=function(a,c){if(!Ua(iq,a.namespaceURI))return[];if("gpx"==a.localName){var d=R([],uq,a,[ep(this,a,c)]);if(d)return yq(this,d),d}return[]}; 
    521 function zq(a,c,d){a.setAttribute("href",c);c=d[d.length-1].properties;Nm({node:a},Aq,Km,[c.linkText,c.linkType],d,Bq)}function Cq(a,c,d){var e=d[d.length-1],f=e.node.namespaceURI,g=e.properties;Bm(a,null,"lat",c[1]);Bm(a,null,"lon",c[0]);switch(e.geometryLayout){case "XYZM":0!==c[3]&&(g.time=c[3]);case "XYZ":0!==c[2]&&(g.ele=c[2]);break;case "XYM":0!==c[2]&&(g.time=c[2])}c=Dq[f];e=Lm(g,c);Nm({node:a,properties:g},Eq,Km,e,d,c)} 
    522 var Bq=["text","type"],Aq=Q(iq,{text:N(Vp),type:N(Vp)}),Fq=Q(iq,"name cmt desc src link number type rtept".split(" ")),Gq=Q(iq,{name:N(Vp),cmt:N(Vp),desc:N(Vp),src:N(Vp),link:N(zq),number:N(Xp),type:N(Vp),rtept:Hm(N(Cq))}),Hq=Q(iq,"name cmt desc src link number type trkseg".split(" ")),Kq=Q(iq,{name:N(Vp),cmt:N(Vp),desc:N(Vp),src:N(Vp),link:N(zq),number:N(Xp),type:N(Vp),trkseg:Hm(N(function(a,c,d){Nm({node:a,geometryLayout:c.f,properties:{}},Iq,Jq,c.Y(),d)}))}),Jq=Im("trkpt"),Iq=Q(iq,{trkpt:N(Cq)}), 
    523 Dq=Q(iq,"ele time magvar geoidheight name cmt desc src link sym type fix sat hdop vdop pdop ageofdgpsdata dgpsid".split(" ")),Eq=Q(iq,{ele:N(Wp),time:N(function(a,c){var d=new Date(1E3*c),d=d.getUTCFullYear()+"-"+Ia(d.getUTCMonth()+1)+"-"+Ia(d.getUTCDate())+"T"+Ia(d.getUTCHours())+":"+Ia(d.getUTCMinutes())+":"+Ia(d.getUTCSeconds())+"Z";a.appendChild(em.createTextNode(d))}),magvar:N(Wp),geoidheight:N(Wp),name:N(Vp),cmt:N(Vp),desc:N(Vp),src:N(Vp),link:N(zq),sym:N(Vp),type:N(Vp),fix:N(Vp),sat:N(Xp), 
    524 hdop:N(Wp),vdop:N(Wp),pdop:N(Wp),ageofdgpsdata:N(Wp),dgpsid:N(Xp)}),Lq={Point:"wpt",LineString:"rte",MultiLineString:"trk"};function Mq(a,c){var d=a.X();if(d&&(d=Lq[d.W()]))return hm(c[c.length-1].node.namespaceURI,d)} 
    525 var Nq=Q(iq,{rte:N(function(a,c,d){var e=d[0],f=c.P();a={node:a,properties:f};if(c=c.X())c=gp(c,!0,e),a.geometryLayout=c.f,f.rtept=c.Y();e=Fq[d[d.length-1].node.namespaceURI];f=Lm(f,e);Nm(a,Gq,Km,f,d,e)}),trk:N(function(a,c,d){var e=d[0],f=c.P();a={node:a,properties:f};if(c=c.X())c=gp(c,!0,e),f.trkseg=c.rd();e=Hq[d[d.length-1].node.namespaceURI];f=Lm(f,e);Nm(a,Kq,Km,f,d,e)}),wpt:N(function(a,c,d){var e=d[0],f=d[d.length-1];f.properties=c.P();if(c=c.X())c=gp(c,!0,e),f.geometryLayout=c.f,Cq(a,c.Y(), 
    526 d)})});hq.prototype.a=function(a,c){c=fp(this,c);var d=hm("http://www.topografix.com/GPX/1/1","gpx");Nm({node:d},Nq,Mq,a,[c]);return d};function Oq(){this.defaultDataProjection=null}y(Oq,dp);function Pq(a){return"string"===typeof a?a:""}l=Oq.prototype;l.W=function(){return"text"};l.Ub=function(a,c){return this.xd(Pq(a),fp(this,c))};l.Ea=function(a,c){return this.Bf(Pq(a),fp(this,c))};l.Uc=function(a,c){return this.zd(Pq(a),fp(this,c))};l.Qa=function(a){Pq(a);return this.defaultDataProjection};l.Fd=function(a,c){return this.He(a,fp(this,c))};l.Wb=function(a,c){return this.ii(a,fp(this,c))}; 
    527 l.Zc=function(a,c){return this.Gd(a,fp(this,c))};function Qq(a){a=a?a:{};this.defaultDataProjection=null;this.defaultDataProjection=qd("EPSG:4326");this.b=a.altitudeMode?a.altitudeMode:"none"}y(Qq,Oq);var Rq=/^B(\d{2})(\d{2})(\d{2})(\d{2})(\d{5})([NS])(\d{3})(\d{5})([EW])([AV])(\d{5})(\d{5})/,Sq=/^H.([A-Z]{3}).*?:(.*)/,Tq=/^HFDTE(\d{2})(\d{2})(\d{2})/,Uq=/\r\n|\r|\n/; 
    528 Qq.prototype.xd=function(a,c){var d=this.b,e=a.split(Uq),f={},g=[],h=2E3,k=0,m=1,n,p;n=0;for(p=e.length;n<p;++n){var q=e[n],r;if("B"==q.charAt(0)){if(r=Rq.exec(q)){var q=parseInt(r[1],10),t=parseInt(r[2],10),v=parseInt(r[3],10),w=parseInt(r[4],10)+parseInt(r[5],10)/6E4;"S"==r[6]&&(w=-w);var A=parseInt(r[7],10)+parseInt(r[8],10)/6E4;"W"==r[9]&&(A=-A);g.push(A,w);"none"!=d&&g.push("gps"==d?parseInt(r[11],10):"barometric"==d?parseInt(r[12],10):0);g.push(Date.UTC(h,k,m,q,t,v)/1E3)}}else if("H"==q.charAt(0))if(r= 
    529 Tq.exec(q))m=parseInt(r[1],10),k=parseInt(r[2],10)-1,h=2E3+parseInt(r[3],10);else if(r=Sq.exec(q))f[r[1]]=r[2].trim(),Tq.exec(q)}if(0===g.length)return null;e=new T(null);e.ba("none"==d?"XYM":"XYZM",g);d=new Xl(gp(e,!1,c));d.C(f);return d};Qq.prototype.Bf=function(a,c){var d=this.xd(a,c);return d?[d]:[]};var Vq=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/;function Wq(a,c){if(a)for(var d=a.split("&"),e=0;e<d.length;e++){var f=d[e].indexOf("="),g=null,h=null;0<=f?(g=d[e].substring(0,f),h=d[e].substring(f+1)):g=d[e];c(g,h?decodeURIComponent(h.replace(/\+/g," ")):"")}} 
    530 function Xq(a){if(a[1]){var c=a[0],d=c.indexOf("#");0<=d&&(a.push(c.substr(d)),a[0]=c=c.substr(0,d));d=c.indexOf("?");0>d?a[1]="?":d==c.length-1&&(a[1]=void 0)}return a.join("")}function Yq(a,c,d){if(ga(c))for(var e=0;e<c.length;e++)Yq(a,String(c[e]),d);else null!=c&&d.push("&",a,""===c?"":"=",encodeURIComponent(String(c)))}function Zq(a,c){for(var d in c)Yq(d,c[d],a);return a};function $q(a,c){this.a=this.j=this.g="";this.l=null;this.f=this.b="";this.c=!1;var d;a instanceof $q?(this.c=ba(c)?c:a.c,ar(this,a.g),this.j=a.j,this.a=a.a,br(this,a.l),this.b=a.b,cr(this,a.i.clone()),this.f=a.f):a&&(d=String(a).match(Vq))?(this.c=!!c,ar(this,d[1]||"",!0),this.j=dr(d[2]||""),this.a=dr(d[3]||"",!0),br(this,d[4]),this.b=dr(d[5]||"",!0),cr(this,d[6]||"",!0),this.f=dr(d[7]||"")):(this.c=!!c,this.i=new er(null,0,this.c))} 
    531 $q.prototype.toString=function(){var a=[],c=this.g;c&&a.push(fr(c,gr,!0),":");var d=this.a;if(d||"file"==c)a.push("//"),(c=this.j)&&a.push(fr(c,gr,!0),"@"),a.push(encodeURIComponent(String(d)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),d=this.l,null!=d&&a.push(":",String(d));if(d=this.b)this.a&&"/"!=d.charAt(0)&&a.push("/"),a.push(fr(d,"/"==d.charAt(0)?hr:ir,!0));(d=this.i.toString())&&a.push("?",d);(d=this.f)&&a.push("#",fr(d,jr));return a.join("")};$q.prototype.clone=function(){return new $q(this)}; 
    532 function ar(a,c,d){a.g=d?dr(c,!0):c;a.g&&(a.g=a.g.replace(/:$/,""))}function br(a,c){if(c){c=Number(c);if(isNaN(c)||0>c)throw Error("Bad port number "+c);a.l=c}else a.l=null}function cr(a,c,d){c instanceof er?(a.i=c,kr(a.i,a.c)):(d||(c=fr(c,lr)),a.i=new er(c,0,a.c))}function mr(a){return a instanceof $q?a.clone():new $q(a,void 0)} 
    533 function nr(a,c){a instanceof $q||(a=mr(a));c instanceof $q||(c=mr(c));var d=a,e=c,f=d.clone(),g=!!e.g;g?ar(f,e.g):g=!!e.j;g?f.j=e.j:g=!!e.a;g?f.a=e.a:g=null!=e.l;var h=e.b;if(g)br(f,e.l);else if(g=!!e.b)if("/"!=h.charAt(0)&&(d.a&&!d.b?h="/"+h:(d=f.b.lastIndexOf("/"),-1!=d&&(h=f.b.substr(0,d+1)+h))),d=h,".."==d||"."==d)h="";else if(-1!=d.indexOf("./")||-1!=d.indexOf("/.")){for(var h=0==d.lastIndexOf("/",0),d=d.split("/"),k=[],m=0;m<d.length;){var n=d[m++];"."==n?h&&m==d.length&&k.push(""):".."==n? 
    534 ((1<k.length||1==k.length&&""!=k[0])&&k.pop(),h&&m==d.length&&k.push("")):(k.push(n),h=!0)}h=k.join("/")}else h=d;g?f.b=h:g=""!==e.i.toString();g?cr(f,dr(e.i.toString())):g=!!e.f;g&&(f.f=e.f);return f}function dr(a,c){return a?c?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}function fr(a,c,d){return ia(a)?(a=encodeURI(a).replace(c,or),d&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}function or(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)} 
    535 var gr=/[#\/\?@]/g,ir=/[\#\?:]/g,hr=/[\#\?]/g,lr=/[\#\?@]/g,jr=/#/g;function er(a,c,d){this.a=this.b=null;this.g=a||null;this.f=!!d}function pr(a){a.b||(a.b=new fh,a.a=0,a.g&&Wq(a.g,function(c,d){var e=decodeURIComponent(c.replace(/\+/g," "));pr(a);a.g=null;var e=qr(a,e),f=a.b.get(e);f||a.b.set(e,f=[]);f.push(d);a.a++}))}l=er.prototype;l.rc=function(){pr(this);return this.a}; 
    536 l.remove=function(a){pr(this);a=qr(this,a);return hh(this.b.a,a)?(this.g=null,this.a-=this.b.get(a).length,this.b.remove(a)):!1};l.clear=function(){this.b=this.g=null;this.a=0};l.Oa=function(){pr(this);return 0==this.a};function rr(a,c){pr(a);c=qr(a,c);return hh(a.b.a,c)}l.O=function(){pr(this);for(var a=this.b.vc(),c=this.b.O(),d=[],e=0;e<c.length;e++)for(var f=a[e],g=0;g<f.length;g++)d.push(c[e]);return d}; 
    537 l.vc=function(a){pr(this);var c=[];if(ia(a))rr(this,a)&&(c=Xb(c,this.b.get(qr(this,a))));else{a=this.b.vc();for(var d=0;d<a.length;d++)c=Xb(c,a[d])}return c};l.set=function(a,c){pr(this);this.g=null;a=qr(this,a);rr(this,a)&&(this.a-=this.b.get(a).length);this.b.set(a,[c]);this.a++;return this};l.get=function(a,c){var d=a?this.vc(a):[];return 0<d.length?String(d[0]):c}; 
    538 l.toString=function(){if(this.g)return this.g;if(!this.b)return"";for(var a=[],c=this.b.O(),d=0;d<c.length;d++)for(var e=c[d],f=encodeURIComponent(String(e)),e=this.vc(e),g=0;g<e.length;g++){var h=f;""!==e[g]&&(h+="="+encodeURIComponent(String(e[g])));a.push(h)}return this.g=a.join("&")};l.clone=function(){var a=new er;a.g=this.g;this.b&&(a.b=this.b.clone(),a.a=this.a);return a};function qr(a,c){var d=String(c);a.f&&(d=d.toLowerCase());return d} 
    539 function kr(a,c){c&&!a.f&&(pr(a),a.g=null,a.b.forEach(function(a,c){var f=c.toLowerCase();c!=f&&(this.remove(c),this.remove(f),0<a.length&&(this.g=null,this.b.set(qr(this,f),Yb(a)),this.a+=a.length))},a));a.f=c};function sr(a){a=a||{};this.g=a.font;this.i=a.rotation;this.a=a.scale;this.s=a.text;this.l=a.textAlign;this.o=a.textBaseline;this.b=void 0!==a.fill?a.fill:new Ak({color:"#333"});this.j=void 0!==a.stroke?a.stroke:null;this.f=void 0!==a.offsetX?a.offsetX:0;this.c=void 0!==a.offsetY?a.offsetY:0}l=sr.prototype;l.Cj=function(){return this.g};l.Qj=function(){return this.f};l.Rj=function(){return this.c};l.jn=function(){return this.b};l.kn=function(){return this.i};l.ln=function(){return this.a};l.mn=function(){return this.j}; 
    540 l.Fa=function(){return this.s};l.ck=function(){return this.l};l.dk=function(){return this.o};l.so=function(a){this.g=a};l.Vh=function(a){this.f=a};l.Wh=function(a){this.c=a};l.ro=function(a){this.b=a};l.nn=function(a){this.i=a};l.pn=function(a){this.a=a};l.yo=function(a){this.j=a};l.Yh=function(a){this.s=a};l.Zh=function(a){this.l=a};l.zo=function(a){this.o=a};function tr(a){a=a?a:{};this.defaultDataProjection=null;this.defaultDataProjection=qd("EPSG:4326");this.g=a.defaultStyle?a.defaultStyle:ur;this.f=void 0!==a.extractStyles?a.extractStyles:!0;this.i=void 0!==a.writeStyles?a.writeStyles:!0;this.b={};this.c=void 0!==a.showPointNames?a.showPointNames:!0}y(tr,Ip); 
    541 var vr=["http://www.google.com/kml/ext/2.2"],wr=[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"],xr=[255,255,255,1],yr=new Ak({color:xr}),zr=[20,2],Ar=[64,64],Br=new Wi({anchor:zr,anchorOrigin:"bottom-left",anchorXUnits:"pixels",anchorYUnits:"pixels",crossOrigin:"anonymous",rotation:0,scale:.5,size:Ar,src:"https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png"}),Cr=new Gk({color:xr,width:1}),Dr=new sr({font:"bold 16px Helvetica", 
    542 fill:yr,stroke:new Gk({color:[51,51,51,1],width:2}),scale:.8}),ur=[new Kk({fill:yr,image:Br,text:Dr,stroke:Cr,zIndex:0})],Er={fraction:"fraction",pixels:"pixels"};function Fr(a,c){var d=null,e=[0,0],f="start";a.a&&(d=a.a.qd())&&2==d.length&&(e[0]=a.a.j*d[0]/2,e[1]=-a.a.j*d[1]/2,f="left");if(pb(a.Fa()))d=new sr({text:c,offsetX:e[0],offsetY:e[1],textAlign:f});else{var d=a.Fa(),g={},h;for(h in d)g[h]=d[h];d=g;d.Yh(c);d.Zh(f);d.Vh(e[0]);d.Wh(e[1])}return new Kk({text:d})} 
    543 function Gr(a,c,d,e,f){return function(){var g=f,h="";g&&this.X()&&(g="Point"===this.X().W());g&&(h=this.get("name"),g=g&&h);if(a)return g?(g=Fr(a[0],h),a.concat(g)):a;if(c){var k=Hr(c,d,e);return g?(g=Fr(k[0],h),k.concat(g)):k}return g?(g=Fr(d[0],h),d.concat(g)):d}}function Hr(a,c,d){return ga(a)?a:"string"===typeof a?(!(a in d)&&"#"+a in d&&(a="#"+a),Hr(d[a],c,d)):c} 
    544 function Ir(a){a=im(a,!1);if(a=/^\s*#?\s*([0-9A-Fa-f]{8})\s*$/.exec(a))return a=a[1],[parseInt(a.substr(6,2),16),parseInt(a.substr(4,2),16),parseInt(a.substr(2,2),16),parseInt(a.substr(0,2),16)/255]}function Jr(a){a=im(a,!1);for(var c=[],d=/^\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)\s*,\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)(?:\s*,\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?))?\s*/i,e;e=d.exec(a);)c.push(parseFloat(e[1]),parseFloat(e[2]),e[3]?parseFloat(e[3]):0),a=a.substr(e[0].length);return""!==a?void 0:c} 
    545 function Kr(a){var c=im(a,!1);return a.baseURI?nr(a.baseURI,c.trim()).toString():c.trim()}function Lr(a){a=Qp(a);if(void 0!==a)return Math.sqrt(a)}function Mr(a,c){return R(null,Nr,a,c)}function Or(a,c){var d=R({v:[],fi:[]},Pr,a,c);if(d){var e=d.v,d=d.fi,f,g;f=0;for(g=Math.min(e.length,d.length);f<g;++f)e[4*f+3]=d[f];d=new T(null);d.ba("XYZM",e);return d}}function Qr(a,c){var d=R({},Rr,a,c),e=R(null,Sr,a,c);if(e){var f=new T(null);f.ba("XYZ",e);f.C(d);return f}} 
    546 function Tr(a,c){var d=R({},Rr,a,c),e=R(null,Sr,a,c);if(e){var f=new F(null);f.ba("XYZ",e,[e.length]);f.C(d);return f}} 
    547 function Ur(a,c){var d=R([],Vr,a,c);if(!d)return null;if(0===d.length)return new zp(d);var e=!0,f=d[0].W(),g,h,k;h=1;for(k=d.length;h<k;++h)if(g=d[h],g.W()!=f){e=!1;break}if(e){if("Point"==f){g=d[0];e=g.f;f=g.ha();h=1;for(k=d.length;h<k;++h)g=d[h],Xa(f,g.ha());g=new pp(null);g.ba(e,f);Wr(g,d);return g}return"LineString"==f?(g=new U(null),op(g,d),Wr(g,d),g):"Polygon"==f?(g=new V(null),rp(g,d),Wr(g,d),g):"GeometryCollection"==f?new zp(d):null}return new zp(d)} 
    548 function Xr(a,c){var d=R({},Rr,a,c),e=R(null,Sr,a,c);if(e){var f=new E(null);f.ba("XYZ",e);f.C(d);return f}}function Yr(a,c){var d=R({},Rr,a,c),e=R([null],Zr,a,c);if(e&&e[0]){var f=new F(null),g=e[0],h=[g.length],k,m;k=1;for(m=e.length;k<m;++k)Xa(g,e[k]),h.push(g.length);f.ba("XYZ",g,h);f.C(d);return f}} 
    549 function $r(a,c){var d=R({},as,a,c);if(!d)return null;var e="fillStyle"in d?d.fillStyle:yr,f=d.fill;void 0===f||f||(e=null);var f="imageStyle"in d?d.imageStyle:Br,g="textStyle"in d?d.textStyle:Dr,h="strokeStyle"in d?d.strokeStyle:Cr,d=d.outline;void 0===d||d||(h=null);return[new Kk({fill:e,image:f,stroke:h,text:g,zIndex:void 0})]} 
    550 function Wr(a,c){var d=c.length,e=Array(c.length),f=Array(c.length),g,h,k,m;k=m=!1;for(h=0;h<d;++h)g=c[h],e[h]=g.get("extrude"),f[h]=g.get("altitudeMode"),k=k||void 0!==e[h],m=m||f[h];k&&a.set("extrude",e);m&&a.set("altitudeMode",f)}function bs(a,c){Mm(cs,a,c)} 
    551 var ds=Q(wr,{value:Fm(W)}),cs=Q(wr,{Data:function(a,c){var d=a.getAttribute("name");if(null!==d){var e=R(void 0,ds,a,c);e&&(c[c.length-1][d]=e)}},SchemaData:function(a,c){Mm(es,a,c)}}),Rr=Q(wr,{extrude:M(Np),altitudeMode:M(W)}),Nr=Q(wr,{coordinates:Fm(Jr)}),Zr=Q(wr,{innerBoundaryIs:function(a,c){var d=R(void 0,fs,a,c);d&&c[c.length-1].push(d)},outerBoundaryIs:function(a,c){var d=R(void 0,gs,a,c);d&&(c[c.length-1][0]=d)}}),Pr=Q(wr,{when:function(a,c){var d=c[c.length-1].fi,e=im(a,!1);if(e=/^\s*(\d{4})($|-(\d{2})($|-(\d{2})($|T(\d{2}):(\d{2}):(\d{2})(Z|(?:([+\-])(\d{2})(?::(\d{2}))?)))))\s*$/.exec(e)){var f= 
    552 Date.UTC(parseInt(e[1],10),e[3]?parseInt(e[3],10)-1:0,e[5]?parseInt(e[5],10):1,e[7]?parseInt(e[7],10):0,e[8]?parseInt(e[8],10):0,e[9]?parseInt(e[9],10):0);if(e[10]&&"Z"!=e[10]){var g="-"==e[11]?-1:1,f=f+60*g*parseInt(e[12],10);e[13]&&(f+=3600*g*parseInt(e[13],10))}d.push(f)}else d.push(0)}},Q(vr,{coord:function(a,c){var d=c[c.length-1].v,e=im(a,!1);(e=/^\s*([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s+([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s+([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s*$/i.exec(e))?d.push(parseFloat(e[1]), 
    553 parseFloat(e[2]),parseFloat(e[3]),0):d.push(0,0,0,0)}})),Sr=Q(wr,{coordinates:Fm(Jr)}),hs=Q(wr,{href:M(Kr)},Q(vr,{x:M(Qp),y:M(Qp),w:M(Qp),h:M(Qp)})),is=Q(wr,{Icon:M(function(a,c){var d=R({},hs,a,c);return d?d:null}),heading:M(Qp),hotSpot:M(function(a){var c=a.getAttribute("xunits"),d=a.getAttribute("yunits");return{x:parseFloat(a.getAttribute("x")),Qf:Er[c],y:parseFloat(a.getAttribute("y")),Rf:Er[d]}}),scale:M(Lr)}),fs=Q(wr,{LinearRing:Fm(Mr)}),js=Q(wr,{color:M(Ir),scale:M(Lr)}),ks=Q(wr,{color:M(Ir), 
    554 width:M(Qp)}),Vr=Q(wr,{LineString:Em(Qr),LinearRing:Em(Tr),MultiGeometry:Em(Ur),Point:Em(Xr),Polygon:Em(Yr)}),ls=Q(vr,{Track:Em(Or)}),ns=Q(wr,{ExtendedData:bs,Link:function(a,c){Mm(ms,a,c)},address:M(W),description:M(W),name:M(W),open:M(Np),phoneNumber:M(W),visibility:M(Np)}),ms=Q(wr,{href:M(Kr)}),gs=Q(wr,{LinearRing:Fm(Mr)}),os=Q(wr,{Style:M($r),key:M(W),styleUrl:M(function(a){var c=im(a,!1).trim();return a.baseURI?nr(a.baseURI,c).toString():c})}),qs=Q(wr,{ExtendedData:bs,MultiGeometry:M(Ur,"geometry"), 
    555 LineString:M(Qr,"geometry"),LinearRing:M(Tr,"geometry"),Point:M(Xr,"geometry"),Polygon:M(Yr,"geometry"),Style:M($r),StyleMap:function(a,c){var d=R(void 0,ps,a,c);if(d){var e=c[c.length-1];ga(d)?e.Style=d:"string"===typeof d&&(e.styleUrl=d)}},address:M(W),description:M(W),name:M(W),open:M(Np),phoneNumber:M(W),styleUrl:M(Kr),visibility:M(Np)},Q(vr,{MultiTrack:M(function(a,c){var d=R([],ls,a,c);if(d){var e=new U(null);op(e,d);return e}},"geometry"),Track:M(Or,"geometry")})),rs=Q(wr,{color:M(Ir),fill:M(Np), 
    556 outline:M(Np)}),es=Q(wr,{SimpleData:function(a,c){var d=a.getAttribute("name");if(null!==d){var e=W(a);c[c.length-1][d]=e}}}),as=Q(wr,{IconStyle:function(a,c){var d=R({},is,a,c);if(d){var e=c[c.length-1],f="Icon"in d?d.Icon:{},g;g=(g=f.href)?g:"https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png";var h,k,m,n=d.hotSpot;n?(h=[n.x,n.y],k=n.Qf,m=n.Rf):"https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png"===g?(h=zr,m=k="pixels"):/^http:\/\/maps\.(?:google|gstatic)\.com\//.test(g)&&(h= 
    557 [.5,0],m=k="fraction");var p,n=f.x,q=f.y;void 0!==n&&void 0!==q&&(p=[n,q]);var r,n=f.w,f=f.h;void 0!==n&&void 0!==f&&(r=[n,f]);var t,f=d.heading;void 0!==f&&(t=Qa(f));d=d.scale;"https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png"==g&&(r=Ar,void 0===d&&(d=.5));h=new Wi({anchor:h,anchorOrigin:"bottom-left",anchorXUnits:k,anchorYUnits:m,crossOrigin:"anonymous",offset:p,offsetOrigin:"bottom-left",rotation:t,scale:d,size:r,src:g});e.imageStyle=h}},LabelStyle:function(a,c){var d=R({},js,a,c); 
    558 d&&(c[c.length-1].textStyle=new sr({fill:new Ak({color:"color"in d?d.color:xr}),scale:d.scale}))},LineStyle:function(a,c){var d=R({},ks,a,c);d&&(c[c.length-1].strokeStyle=new Gk({color:"color"in d?d.color:xr,width:"width"in d?d.width:1}))},PolyStyle:function(a,c){var d=R({},rs,a,c);if(d){var e=c[c.length-1];e.fillStyle=new Ak({color:"color"in d?d.color:xr});var f=d.fill;void 0!==f&&(e.fill=f);d=d.outline;void 0!==d&&(e.outline=d)}}}),ps=Q(wr,{Pair:function(a,c){var d=R({},os,a,c);if(d){var e=d.key; 
    559 e&&"normal"==e&&((e=d.styleUrl)&&(c[c.length-1]=e),(d=d.Style)&&(c[c.length-1]=d))}}});l=tr.prototype;l.xf=function(a,c){mm(a);var d=Q(wr,{Document:Dm(this.xf,this),Folder:Dm(this.xf,this),Placemark:Em(this.Ff,this),Style:this.ao.bind(this),StyleMap:this.$n.bind(this)});if(d=R([],d,a,c,this))return d}; 
    560 l.Ff=function(a,c){var d=R({geometry:null},qs,a,c);if(d){var e=new Xl,f=a.getAttribute("id");null!==f&&e.jc(f);var f=c[0],g=d.geometry;g&&gp(g,!1,f);e.Pa(g);delete d.geometry;this.f&&e.lf(Gr(d.Style,d.styleUrl,this.g,this.b,this.c));delete d.Style;e.C(d);return e}};l.ao=function(a,c){var d=a.getAttribute("id");if(null!==d){var e=$r(a,c);e&&(d=a.baseURI?nr(a.baseURI,"#"+d).toString():"#"+d,this.b[d]=e)}}; 
    561 l.$n=function(a,c){var d=a.getAttribute("id");if(null!==d){var e=R(void 0,ps,a,c);e&&(d=a.baseURI?nr(a.baseURI,"#"+d).toString():"#"+d,this.b[d]=e)}};l.yh=function(a,c){if(!Ua(wr,a.namespaceURI))return null;var d=this.Ff(a,[ep(this,a,c)]);return d?d:null}; 
    562 l.ic=function(a,c){if(!Ua(wr,a.namespaceURI))return[];var d;d=mm(a);if("Document"==d||"Folder"==d)return(d=this.xf(a,[ep(this,a,c)]))?d:[];if("Placemark"==d)return(d=this.Ff(a,[ep(this,a,c)]))?[d]:[];if("kml"==d){d=[];var e;for(e=a.firstElementChild;e;e=e.nextElementSibling){var f=this.ic(e,c);f&&Xa(d,f)}return d}return[]};l.Vn=function(a){if(pm(a))return ss(this,a);if(sm(a))return ts(this,a);if("string"===typeof a)return a=Cm(a),ss(this,a)}; 
    563 function ss(a,c){var d;for(d=c.firstChild;d;d=d.nextSibling)if(1==d.nodeType){var e=ts(a,d);if(e)return e}}function ts(a,c){var d;for(d=c.firstElementChild;d;d=d.nextElementSibling)if(Ua(wr,d.namespaceURI)&&"name"==d.localName)return W(d);for(d=c.firstElementChild;d;d=d.nextElementSibling){var e=mm(d);if(Ua(wr,d.namespaceURI)&&("Document"==e||"Folder"==e||"Placemark"==e||"kml"==e)&&(e=ts(a,d)))return e}} 
    564 l.Wn=function(a){var c=[];pm(a)?Xa(c,us(this,a)):sm(a)?Xa(c,vs(this,a)):"string"===typeof a&&(a=Cm(a),Xa(c,us(this,a)));return c};function us(a,c){var d,e=[];for(d=c.firstChild;d;d=d.nextSibling)1==d.nodeType&&Xa(e,vs(a,d));return e} 
    565 function vs(a,c){var d,e=[];for(d=c.firstElementChild;d;d=d.nextElementSibling)if(Ua(wr,d.namespaceURI)&&"NetworkLink"==d.localName){var f=R({},ns,d,[]);e.push(f)}for(d=c.firstElementChild;d;d=d.nextElementSibling)f=mm(d),!Ua(wr,d.namespaceURI)||"Document"!=f&&"Folder"!=f&&"kml"!=f||Xa(e,vs(a,d));return e}function ws(a,c){var d=Xe(c),d=[255*(4==d.length?d[3]:1),d[2],d[1],d[0]],e;for(e=0;4>e;++e){var f=parseInt(d[e],10).toString(16);d[e]=1==f.length?"0"+f:f}Vp(a,d.join(""))} 
    566 function xs(a,c,d){Nm({node:a},ys,zs,[c],d)}function As(a,c,d){var e={node:a};c.Sa()&&a.setAttribute("id",c.Sa());a=c.P();var f=c.bc();f&&(f=f.call(c,0))&&(f=ga(f)?f[0]:f,this.i&&(a.Style=f),(f=f.Fa())&&(a.name=f.Fa()));f=Bs[d[d.length-1].node.namespaceURI];a=Lm(a,f);Nm(e,Cs,Km,a,d,f);a=d[0];(c=c.X())&&(c=gp(c,!0,a));Nm(e,Cs,Ds,[c],d)}function Es(a,c,d){var e=c.ha();a={node:a};a.layout=c.f;a.stride=c.qa();Nm(a,Fs,Gs,[e],d)} 
    567 function Hs(a,c,d){c=c.Vd();var e=c.shift();a={node:a};Nm(a,Is,Js,c,d);Nm(a,Is,Ks,[e],d)}function Ls(a,c){Wp(a,c*c)} 
    568 var Ms=Q(wr,["Document","Placemark"]),Ps=Q(wr,{Document:N(function(a,c,d){Nm({node:a},Ns,Os,c,d,void 0,this)}),Placemark:N(As)}),Ns=Q(wr,{Placemark:N(As)}),Qs={Point:"Point",LineString:"LineString",LinearRing:"LinearRing",Polygon:"Polygon",MultiPoint:"MultiGeometry",MultiLineString:"MultiGeometry",MultiPolygon:"MultiGeometry"},Rs=Q(wr,["href"],Q(vr,["x","y","w","h"])),Ss=Q(wr,{href:N(Vp)},Q(vr,{x:N(Wp),y:N(Wp),w:N(Wp),h:N(Wp)})),Ts=Q(wr,["scale","heading","Icon","hotSpot"]),Vs=Q(wr,{Icon:N(function(a, 
    569 c,d){a={node:a};var e=Rs[d[d.length-1].node.namespaceURI],f=Lm(c,e);Nm(a,Ss,Km,f,d,e);e=Rs[vr[0]];f=Lm(c,e);Nm(a,Ss,Us,f,d,e)}),heading:N(Wp),hotSpot:N(function(a,c){a.setAttribute("x",c.x);a.setAttribute("y",c.y);a.setAttribute("xunits",c.Qf);a.setAttribute("yunits",c.Rf)}),scale:N(Ls)}),Ws=Q(wr,["color","scale"]),Xs=Q(wr,{color:N(ws),scale:N(Ls)}),Ys=Q(wr,["color","width"]),Zs=Q(wr,{color:N(ws),width:N(Wp)}),ys=Q(wr,{LinearRing:N(Es)}),$s=Q(wr,{LineString:N(Es),Point:N(Es),Polygon:N(Hs)}),Bs=Q(wr, 
    570 "name open visibility address phoneNumber description styleUrl Style".split(" ")),Cs=Q(wr,{MultiGeometry:N(function(a,c,d){a={node:a};var e=c.W(),f,g;"MultiPoint"==e?(f=c.le(),g=at):"MultiLineString"==e?(f=c.rd(),g=bt):"MultiPolygon"==e&&(f=c.Xd(),g=ct);Nm(a,$s,g,f,d)}),LineString:N(Es),LinearRing:N(Es),Point:N(Es),Polygon:N(Hs),Style:N(function(a,c,d){a={node:a};var e={},f=c.c,g=c.g,h=c.a;c=c.Fa();h instanceof Wi&&(e.IconStyle=h);c&&(e.LabelStyle=c);g&&(e.LineStyle=g);f&&(e.PolyStyle=f);c=dt[d[d.length- 
    571 1].node.namespaceURI];e=Lm(e,c);Nm(a,et,Km,e,d,c)}),address:N(Vp),description:N(Vp),name:N(Vp),open:N(Up),phoneNumber:N(Vp),styleUrl:N(Vp),visibility:N(Up)}),Fs=Q(wr,{coordinates:N(function(a,c,d){d=d[d.length-1];var e=d.layout;d=d.stride;var f;"XY"==e||"XYM"==e?f=2:("XYZ"==e||"XYZM"==e)&&(f=3);var g,h=c.length,k="";if(0<h){k+=c[0];for(e=1;e<f;++e)k+=","+c[e];for(g=d;g<h;g+=d)for(k+=" "+c[g],e=1;e<f;++e)k+=","+c[g+e]}Vp(a,k)})}),Is=Q(wr,{outerBoundaryIs:N(xs),innerBoundaryIs:N(xs)}),ft=Q(wr,{color:N(ws)}), 
    572 dt=Q(wr,["IconStyle","LabelStyle","LineStyle","PolyStyle"]),et=Q(wr,{IconStyle:N(function(a,c,d){a={node:a};var e={},f=c.Eb(),g=c.qd(),h={href:c.b.o};if(f){h.w=f[0];h.h=f[1];var k=c.Yb(),m=c.Ha();m&&g&&0!==m[0]&&m[1]!==f[1]&&(h.x=m[0],h.y=g[1]-(m[1]+f[1]));k&&0!==k[0]&&k[1]!==f[1]&&(e.hotSpot={x:k[0],Qf:"pixels",y:f[1]-k[1],Rf:"pixels"})}e.Icon=h;f=c.j;1!==f&&(e.scale=f);c=c.s;0!==c&&(e.heading=c);c=Ts[d[d.length-1].node.namespaceURI];e=Lm(e,c);Nm(a,Vs,Km,e,d,c)}),LabelStyle:N(function(a,c,d){a={node:a}; 
    573 var e={},f=c.b;f&&(e.color=f.b);(c=c.a)&&1!==c&&(e.scale=c);c=Ws[d[d.length-1].node.namespaceURI];e=Lm(e,c);Nm(a,Xs,Km,e,d,c)}),LineStyle:N(function(a,c,d){a={node:a};var e=Ys[d[d.length-1].node.namespaceURI];c=Lm({color:c.b,width:c.a},e);Nm(a,Zs,Km,c,d,e)}),PolyStyle:N(function(a,c,d){Nm({node:a},ft,gt,[c.b],d)})});function Us(a,c,d){return hm(vr[0],"gx:"+d)}function Os(a,c){return hm(c[c.length-1].node.namespaceURI,"Placemark")} 
    574 function Ds(a,c){if(a)return hm(c[c.length-1].node.namespaceURI,Qs[a.W()])}var gt=Im("color"),Gs=Im("coordinates"),Js=Im("innerBoundaryIs"),at=Im("Point"),bt=Im("LineString"),zs=Im("LinearRing"),ct=Im("Polygon"),Ks=Im("outerBoundaryIs"); 
    575 tr.prototype.a=function(a,c){c=fp(this,c);var d=hm(wr[4],"kml");Bm(d,"http://www.w3.org/2000/xmlns/","xmlns:gx",vr[0]);Bm(d,"http://www.w3.org/2000/xmlns/","xmlns:xsi","http://www.w3.org/2001/XMLSchema-instance");Bm(d,"http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation","http://www.opengis.net/kml/2.2 https://developers.google.com/kml/schema/kml22gx.xsd");var e={node:d},f={};1<a.length?f.Document=a:1==a.length&&(f.Placemark=a[0]);var g=Ms[d.namespaceURI],f=Lm(f,g);Nm(e,Ps,Km,f,[c],g,this); 
    576 return d};(function(){var a={},c={ja:a};(function(d){if("object"===typeof a&&"undefined"!==typeof c)c.ja=d();else{var e;"undefined"!==typeof window?e=window:"undefined"!==typeof global?e=global:"undefined"!==typeof self?e=self:e=this;e.hp=d()}})(function(){return function e(a,c,h){function k(n,q){if(!c[n]){if(!a[n]){var r="function"==typeof require&&require;if(!q&&r)return r(n,!0);if(m)return m(n,!0);r=Error("Cannot find module '"+n+"'");throw r.code="MODULE_NOT_FOUND",r;}r=c[n]={ja:{}};a[n][0].call(r.ja,function(c){var e= 
    577 a[n][1][c];return k(e?e:c)},r,r.ja,e,a,c,h)}return c[n].ja}for(var m="function"==typeof require&&require,n=0;n<h.length;n++)k(h[n]);return k}({1:[function(a,c){function g(a){var c;a&&a.length&&(c=a,a=c.length);a=new Uint8Array(a||0);c&&a.set(c);a.Jh=m.Jh;a.Pf=m.Pf;a.Bh=m.Bh;a.ki=m.ki;a.Ef=m.Ef;a.ji=m.ji;a.yf=m.yf;a.gi=m.gi;a.toString=m.toString;a.write=m.write;a.slice=m.slice;a.jg=m.jg;a.Vi=!0;return a}function h(a){for(var c=a.length,e=[],f=0,g,h;f<c;f++){g=a.charCodeAt(f);if(55295<g&&57344>g)if(h)if(56320> 
    578 g){e.push(239,191,189);h=g;continue}else g=h-55296<<10|g-56320|65536,h=null;else{56319<g||f+1===c?e.push(239,191,189):h=g;continue}else h&&(e.push(239,191,189),h=null);128>g?e.push(g):2048>g?e.push(g>>6|192,g&63|128):65536>g?e.push(g>>12|224,g>>6&63|128,g&63|128):e.push(g>>18|240,g>>12&63|128,g>>6&63|128,g&63|128)}return e}c.ja=g;var k=a("ieee754"),m,n,p;m={Jh:function(a){return(this[a]|this[a+1]<<8|this[a+2]<<16)+16777216*this[a+3]},Pf:function(a,c){this[c]=a;this[c+1]=a>>>8;this[c+2]=a>>>16;this[c+ 
    579 3]=a>>>24},Bh:function(a){return(this[a]|this[a+1]<<8|this[a+2]<<16)+(this[a+3]<<24)},Ef:function(a){return k.read(this,a,!0,23,4)},yf:function(a){return k.read(this,a,!0,52,8)},ji:function(a,c){return k.write(this,a,c,!0,23,4)},gi:function(a,c){return k.write(this,a,c,!0,52,8)},toString:function(a,c,e){var f=a="";e=Math.min(this.length,e||this.length);for(c=c||0;c<e;c++){var g=this[c];127>=g?(a+=decodeURIComponent(f)+String.fromCharCode(g),f=""):f+="%"+g.toString(16)}return a+=decodeURIComponent(f)}, 
    580 write:function(a,c){for(var e=a===n?p:h(a),f=0;f<e.length;f++)this[c+f]=e[f]},slice:function(a,c){return this.subarray(a,c)},jg:function(a,c){c=c||0;for(var e=0;e<this.length;e++)a[c+e]=this[e]}};m.ki=m.Pf;g.byteLength=function(a){n=a;p=h(a);return p.length};g.isBuffer=function(a){return!(!a||!a.Vi)}},{ieee754:3}],2:[function(a,c){(function(g){function h(a){this.Gb=k.isBuffer(a)?a:new k(a||0);this.ca=0;this.length=this.Gb.length}c.ja=h;var k=g.Po||a("./buffer");h.f=0;h.g=1;h.b=2;h.a=5;var m=Math.pow(2, 
    581 63);h.prototype={Cf:function(a,c,e){for(e=e||this.length;this.ca<e;){var f=this.Ba(),g=this.ca;a(f>>3,c,this);this.ca===g&&this.Eo(f)}return c},Rn:function(){var a=this.Gb.Ef(this.ca);this.ca+=4;return a},Nn:function(){var a=this.Gb.yf(this.ca);this.ca+=8;return a},Ba:function(){var a=this.Gb,c,e,f,g,h;c=a[this.ca++];if(128>c)return c;c=c&127;f=a[this.ca++];if(128>f)return c|f<<7;f=(f&127)<<7;g=a[this.ca++];if(128>g)return c|f|g<<14;g=(g&127)<<14;h=a[this.ca++];if(128>h)return c|f|g|h<<21;e=a[this.ca++]; 
    582 c=(c|f|g|(h&127)<<21)+268435456*(e&127);if(128>e)return c;e=a[this.ca++];c+=34359738368*(e&127);if(128>e)return c;e=a[this.ca++];c+=4398046511104*(e&127);if(128>e)return c;e=a[this.ca++];c+=562949953421312*(e&127);if(128>e)return c;e=a[this.ca++];c+=72057594037927936*(e&127);if(128>e)return c;e=a[this.ca++];c+=0x7fffffffffffffff*(e&127);if(128>e)return c;throw Error("Expected varint not more than 10 bytes");},bo:function(){var a=this.ca,c=this.Ba();if(c<m)return c;for(var e=this.ca-2;255===this.Gb[e];)e--; 
    583 e<a&&(e=a);for(var f=c=0;f<e-a+1;f++)var g=~this.Gb[a+f]&127,c=c+(4>f?g<<7*f:g*Math.pow(2,7*f));return-c-1},Ad:function(){var a=this.Ba();return 1===a%2?(a+1)/-2:a/2},Ln:function(){return Boolean(this.Ba())},Hf:function(){var a=this.Ba()+this.ca,c=this.Gb.toString("utf8",this.ca,a);this.ca=a;return c},Eo:function(a){a=a&7;if(a===h.f)for(;127<this.Gb[this.ca++];);else if(a===h.b)this.ca=this.Ba()+this.ca;else if(a===h.a)this.ca+=4;else if(a===h.g)this.ca+=8;else throw Error("Unimplemented type: "+ 
    584 a);}}}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"./buffer":1}],3:[function(a,c,g){g.read=function(a,c,e,f,g){var q;q=8*g-f-1;var r=(1<<q)-1,t=r>>1,v=-7;g=e?g-1:0;var w=e?-1:1,A=a[c+g];g+=w;e=A&(1<<-v)-1;A>>=-v;for(v+=q;0<v;e=256*e+a[c+g],g+=w,v-=8);q=e&(1<<-v)-1;e>>=-v;for(v+=f;0<v;q=256*q+a[c+g],g+=w,v-=8);if(0===e)e=1-t;else{if(e===r)return q?NaN:Infinity*(A?-1:1);q+=Math.pow(2,f);e=e-t}return(A?-1:1)*q*Math.pow(2,e-f)}; 
    585 g.write=function(a,c,e,f,g,q){var r,t=8*q-g-1,v=(1<<t)-1,w=v>>1,A=23===g?Math.pow(2,-24)-Math.pow(2,-77):0;q=f?0:q-1;var B=f?1:-1,z=0>c||0===c&&0>1/c?1:0;c=Math.abs(c);isNaN(c)||Infinity===c?(c=isNaN(c)?1:0,f=v):(f=Math.floor(Math.log(c)/Math.LN2),1>c*(r=Math.pow(2,-f))&&(f--,r*=2),c=1<=f+w?c+A/r:c+A*Math.pow(2,1-w),2<=c*r&&(f++,r/=2),f+w>=v?(c=0,f=v):1<=f+w?(c=(c*r-1)*Math.pow(2,g),f+=w):(c=c*Math.pow(2,w-1)*Math.pow(2,g),f=0));for(;8<=g;a[e+q]=c&255,q+=B,c/=256,g-=8);f=f<<g|c;for(t+=g;0<t;a[e+q]= 
    586 f&255,q+=B,f/=256,t-=8);a[e+q-B]|=128*z}},{}]},{},[2])(2)});Tm=c.ja})();(function(){var a={},c={ja:a};(function(d){if("object"===typeof a&&"undefined"!==typeof c)c.ja=d();else{var e;"undefined"!==typeof window?e=window:"undefined"!==typeof global?e=global:"undefined"!==typeof self?e=self:e=this;e.jp=d()}})(function(){return function e(a,c,h){function k(n,q){if(!c[n]){if(!a[n]){var r="function"==typeof require&&require;if(!q&&r)return r(n,!0);if(m)return m(n,!0);r=Error("Cannot find module '"+n+"'");throw r.code="MODULE_NOT_FOUND",r;}r=c[n]={ja:{}};a[n][0].call(r.ja,function(c){var e= 
    587 a[n][1][c];return k(e?e:c)},r,r.ja,e,a,c,h)}return c[n].ja}for(var m="function"==typeof require&&require,n=0;n<h.length;n++)k(h[n]);return k}({1:[function(a,c){c.ja.Mi=a("./lib/vectortile.js");c.ja.bp=a("./lib/vectortilefeature.js");c.ja.cp=a("./lib/vectortilelayer.js")},{"./lib/vectortile.js":2,"./lib/vectortilefeature.js":3,"./lib/vectortilelayer.js":4}],2:[function(a,c){function g(a,c,e){3===a&&(a=new h(e,e.Ba()+e.ca),a.length&&(c[a.name]=a))}var h=a("./vectortilelayer");c.ja=function(a,c){this.layers= 
    588 a.Cf(g,{},c)}},{"./vectortilelayer":4}],3:[function(a,c){function g(a,c,e,f,g){this.properties={};this.extent=e;this.type=0;this.pc=a;this.Oe=-1;this.Kd=f;this.Md=g;a.Cf(h,this,c)}function h(a,c,e){if(1==a)c.fp=e.Ba();else if(2==a)for(a=e.Ba()+e.ca;e.ca<a;){var f=c.Kd[e.Ba()],g=c.Md[e.Ba()];c.properties[f]=g}else 3==a?c.type=e.Ba():4==a&&(c.Oe=e.ca)}var k=a("point-geometry");c.ja=g;g.b=["Unknown","Point","LineString","Polygon"];g.prototype.Lg=function(){var a=this.pc;a.ca=this.Oe;for(var c=a.Ba()+ 
    589 a.ca,e=1,f=0,g=0,h=0,v=[],w;a.ca<c;)if(f||(f=a.Ba(),e=f&7,f=f>>3),f--,1===e||2===e)g+=a.Ad(),h+=a.Ad(),1===e&&(w&&v.push(w),w=[]),w.push(new k(g,h));else if(7===e)w&&w.push(w[0].clone());else throw Error("unknown command "+e);w&&v.push(w);return v};g.prototype.bbox=function(){var a=this.pc;a.ca=this.Oe;for(var c=a.Ba()+a.ca,e=1,f=0,g=0,h=0,k=Infinity,w=-Infinity,A=Infinity,B=-Infinity;a.ca<c;)if(f||(f=a.Ba(),e=f&7,f=f>>3),f--,1===e||2===e)g+=a.Ad(),h+=a.Ad(),g<k&&(k=g),g>w&&(w=g),h<A&&(A=h),h>B&& 
    590 (B=h);else if(7!==e)throw Error("unknown command "+e);return[k,A,w,B]}},{"point-geometry":5}],4:[function(a,c){function g(a,c){this.version=1;this.name=null;this.extent=4096;this.length=0;this.pc=a;this.Kd=[];this.Md=[];this.Jd=[];a.Cf(h,this,c);this.length=this.Jd.length}function h(a,c,e){15===a?c.version=e.Ba():1===a?c.name=e.Hf():5===a?c.extent=e.Ba():2===a?c.Jd.push(e.ca):3===a?c.Kd.push(e.Hf()):4===a&&c.Md.push(k(e))}function k(a){for(var c=null,e=a.Ba()+a.ca;a.ca<e;)c=a.Ba()>>3,c=1===c?a.Hf(): 
    591 2===c?a.Rn():3===c?a.Nn():4===c?a.bo():5===c?a.Ba():6===c?a.Ad():7===c?a.Ln():null;return c}var m=a("./vectortilefeature.js");c.ja=g;g.prototype.feature=function(a){if(0>a||a>=this.Jd.length)throw Error("feature index out of bounds");this.pc.ca=this.Jd[a];a=this.pc.Ba()+this.pc.ca;return new m(this.pc,a,this.extent,this.Kd,this.Md)}},{"./vectortilefeature.js":3}],5:[function(a,c){function g(a,c){this.x=a;this.y=c}c.ja=g;g.prototype={clone:function(){return new g(this.x,this.y)},rotate:function(a){return this.clone().Yi(a)}, 
    592 round:function(){return this.clone().Zi()},angle:function(){return Math.atan2(this.y,this.x)},Yi:function(a){var c=Math.cos(a);a=Math.sin(a);var e=a*this.x+c*this.y;this.x=c*this.x-a*this.y;this.y=e;return this},Zi:function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this}};g.b=function(a){return a instanceof g?a:Array.isArray(a)?new g(a[0],a[1]):a}},{}]},{},[1])(1)});Um=c.ja})();function ht(a){this.defaultDataProjection=null;a=a?a:{};this.defaultDataProjection=new nd({code:"",units:"tile-pixels"});this.b=a.featureClass?a.featureClass:Bl;this.g=a.geometryName?a.geometryName:"geometry";this.a=a.layerName?a.layerName:"layer";this.f=a.layers?a.layers:null}y(ht,dp);ht.prototype.W=function(){return"arraybuffer"}; 
    593 ht.prototype.Ea=function(a,c){var d=this.f,e=new Tm(a),e=new Um.Mi(e),f=[],g=this.b,h,k,m;for(m in e.layers)if(!d||-1!=d.indexOf(m)){h=e.layers[m];for(var n=0,p=h.length;n<p;++n){if(g===Bl){var q=h.feature(n);k=m;var r=q.Lg(),t=[],v=[];it(r,v,t);var w=q.type,A=void 0;1===w?A=1===r.length?"Point":"MultiPoint":2===w?A=1===r.length?"LineString":"MultiLineString":3===w&&(A="Polygon");q=q.properties;q[this.a]=k;k=new this.b(A,v,t,q)}else{q=h.feature(n);A=m;v=c;k=new this.b;t=q.properties;t[this.a]=A;A= 
    594 q.type;if(0===A)A=null;else{q=q.Lg();r=[];w=[];it(q,w,r);var B=void 0;1===A?B=1===q.length?new E(null):new pp(null):2===A?1===q.length?B=new T(null):B=new U(null):3===A&&(B=new F(null));B.ba("XY",w,r);A=B}(v=gp(A,!1,fp(this,v)))&&(t[this.g]=v);k.C(t);k.Bc(this.g)}f.push(k)}}return f};ht.prototype.Qa=function(){return this.defaultDataProjection};ht.prototype.c=function(a){this.f=a}; 
    595 function it(a,c,d){for(var e=0,f=0,g=a.length;f<g;++f){var h=a[f],k,m;k=0;for(m=h.length;k<m;++k){var n=h[k];c.push(n.x,n.y)}e+=2*k;d.push(e)}};function jt(){this.defaultDataProjection=null;this.defaultDataProjection=qd("EPSG:4326")}y(jt,Ip);function kt(a,c){c[c.length-1].Ed[a.getAttribute("k")]=a.getAttribute("v")} 
    596 var lt=[null],mt=Q(lt,{nd:function(a,c){c[c.length-1].Qc.push(a.getAttribute("ref"))},tag:kt}),ot=Q(lt,{node:function(a,c){var d=c[0],e=c[c.length-1],f=a.getAttribute("id"),g=[parseFloat(a.getAttribute("lon")),parseFloat(a.getAttribute("lat"))];e.Og[f]=g;var h=R({Ed:{}},nt,a,c);pb(h.Ed)||(g=new E(g),gp(g,!1,d),d=new Xl(g),d.jc(f),d.C(h.Ed),e.features.push(d))},way:function(a,c){for(var d=c[0],e=a.getAttribute("id"),f=R({Qc:[],Ed:{}},mt,a,c),g=c[c.length-1],h=[],k=0,m=f.Qc.length;k<m;k++)Xa(h,g.Og[f.Qc[k]]); 
    597 f.Qc[0]==f.Qc[f.Qc.length-1]?(k=new F(null),k.ba("XY",h,[h.length])):(k=new T(null),k.ba("XY",h));gp(k,!1,d);d=new Xl(k);d.jc(e);d.C(f.Ed);g.features.push(d)}}),nt=Q(lt,{tag:kt});jt.prototype.ic=function(a,c){var d=ep(this,a,c);return"osm"==a.localName&&(d=R({Og:{},features:[]},ot,a,[d]),d.features)?d.features:[]};function pt(a){return a.getAttributeNS("http://www.w3.org/1999/xlink","href")};function qt(){}qt.prototype.read=function(a){return pm(a)?this.a(a):sm(a)?this.b(a):"string"===typeof a?(a=Cm(a),this.a(a)):null};function rt(){}y(rt,qt);rt.prototype.a=function(a){for(a=a.firstChild;a;a=a.nextSibling)if(1==a.nodeType)return this.b(a);return null};rt.prototype.b=function(a){return(a=R({},st,a,[]))?a:null}; 
    598 var tt=[null,"http://www.opengis.net/ows/1.1"],st=Q(tt,{ServiceIdentification:M(function(a,c){return R({},ut,a,c)}),ServiceProvider:M(function(a,c){return R({},vt,a,c)}),OperationsMetadata:M(function(a,c){return R({},wt,a,c)})}),xt=Q(tt,{DeliveryPoint:M(W),City:M(W),AdministrativeArea:M(W),PostalCode:M(W),Country:M(W),ElectronicMailAddress:M(W)}),yt=Q(tt,{Value:Gm(function(a){return W(a)})}),zt=Q(tt,{AllowedValues:M(function(a,c){return R({},yt,a,c)})}),Bt=Q(tt,{Phone:M(function(a,c){return R({}, 
    599 At,a,c)}),Address:M(function(a,c){return R({},xt,a,c)})}),Dt=Q(tt,{HTTP:M(function(a,c){return R({},Ct,a,c)})}),Ct=Q(tt,{Get:Gm(function(a,c){var d=pt(a);return d?R({href:d},Et,a,c):void 0}),Post:void 0}),Ft=Q(tt,{DCP:M(function(a,c){return R({},Dt,a,c)})}),wt=Q(tt,{Operation:function(a,c){var d=a.getAttribute("name"),e=R({},Ft,a,c);e&&(c[c.length-1][d]=e)}}),At=Q(tt,{Voice:M(W),Facsimile:M(W)}),Et=Q(tt,{Constraint:Gm(function(a,c){var d=a.getAttribute("name");return d?R({name:d},zt,a,c):void 0})}), 
    600 Gt=Q(tt,{IndividualName:M(W),PositionName:M(W),ContactInfo:M(function(a,c){return R({},Bt,a,c)})}),ut=Q(tt,{Title:M(W),ServiceTypeVersion:M(W),ServiceType:M(W)}),vt=Q(tt,{ProviderName:M(W),ProviderSite:M(pt),ServiceContact:M(function(a,c){return R({},Gt,a,c)})});function Ht(a,c,d,e){var f;void 0!==e?f=e:f=[];for(var g=e=0;g<c;){var h=a[g++];f[e++]=a[g++];f[e++]=h;for(h=2;h<d;++h)f[e++]=a[g++]}f.length=e};function It(a){a=a?a:{};this.defaultDataProjection=null;this.defaultDataProjection=qd("EPSG:4326");this.b=a.factor?a.factor:1E5;this.a=a.geometryLayout?a.geometryLayout:"XY"}y(It,Oq);function Jt(a,c,d){var e,f=Array(c);for(e=0;e<c;++e)f[e]=0;var g,h;g=0;for(h=a.length;g<h;)for(e=0;e<c;++e,++g){var k=a[g],m=k-f[e];f[e]=k;a[g]=m}return Kt(a,d?d:1E5)} 
    601 function Lt(a,c,d){var e,f=Array(c);for(e=0;e<c;++e)f[e]=0;a=Mt(a,d?d:1E5);var g;d=0;for(g=a.length;d<g;)for(e=0;e<c;++e,++d)f[e]+=a[d],a[d]=f[e];return a}function Kt(a,c){var d=c?c:1E5,e,f;e=0;for(f=a.length;e<f;++e)a[e]=Math.round(a[e]*d);d=0;for(e=a.length;d<e;++d)f=a[d],a[d]=0>f?~(f<<1):f<<1;d="";e=0;for(f=a.length;e<f;++e){for(var g=a[e],h=void 0,k="";32<=g;)h=(32|g&31)+63,k+=String.fromCharCode(h),g>>=5;h=g+63;k+=String.fromCharCode(h);d+=k}return d} 
    602 function Mt(a,c){var d=c?c:1E5,e=[],f=0,g=0,h,k;h=0;for(k=a.length;h<k;++h){var m=a.charCodeAt(h)-63,f=f|(m&31)<<g;32>m?(e.push(f),g=f=0):g+=5}f=0;for(g=e.length;f<g;++f)h=e[f],e[f]=h&1?~(h>>1):h>>1;f=0;for(g=e.length;f<g;++f)e[f]/=d;return e}l=It.prototype;l.xd=function(a,c){var d=this.zd(a,c);return new Xl(d)};l.Bf=function(a,c){return[this.xd(a,c)]};l.zd=function(a,c){var d=Pd(this.a),e=Lt(a,d,this.b);Ht(e,e.length,d,e);d=be(e,0,e.length,d);return gp(new T(d,this.a),!1,fp(this,c))}; 
    603 l.He=function(a,c){var d=a.X();return d?this.Gd(d,c):""};l.ii=function(a,c){return this.He(a[0],c)};l.Gd=function(a,c){a=gp(a,!0,fp(this,c));var d=a.ha(),e=a.qa();Ht(d,d.length,e,d);return Jt(d,e,this.b)};function Nt(a){a=a?a:{};this.defaultDataProjection=null;this.defaultDataProjection=qd(a.defaultDataProjection?a.defaultDataProjection:"EPSG:4326")}y(Nt,jp);function Ot(a,c){var d=[],e,f,g,h;g=0;for(h=a.length;g<h;++g)e=a[g],0<g&&d.pop(),0<=e?f=c[e]:f=c[~e].slice().reverse(),d.push.apply(d,f);e=0;for(f=d.length;e<f;++e)d[e]=d[e].slice();return d}function Pt(a,c,d,e,f){a=a.geometries;var g=[],h,k;h=0;for(k=a.length;h<k;++h)g[h]=Qt(a[h],c,d,e,f);return g} 
    604 function Qt(a,c,d,e,f){var g=a.type,h=Rt[g];c="Point"===g||"MultiPoint"===g?h(a,d,e):h(a,c);d=new Xl;d.Pa(gp(c,!1,f));void 0!==a.id&&d.jc(a.id);a.properties&&d.C(a.properties);return d} 
    605 Nt.prototype.Af=function(a,c){if("Topology"==a.type){var d,e=null,f=null;a.transform&&(d=a.transform,e=d.scale,f=d.translate);var g=a.arcs;if(d){d=e;var h=f,k,m;k=0;for(m=g.length;k<m;++k)for(var n=g[k],p=d,q=h,r=0,t=0,v=void 0,w=void 0,A=void 0,w=0,A=n.length;w<A;++w)v=n[w],r+=v[0],t+=v[1],v[0]=r,v[1]=t,St(v,p,q)}d=[];h=ob(a.objects);k=0;for(m=h.length;k<m;++k)"GeometryCollection"===h[k].type?(n=h[k],d.push.apply(d,Pt(n,g,e,f,c))):(n=h[k],d.push(Qt(n,g,e,f,c)));return d}return[]}; 
    606 function St(a,c,d){a[0]=a[0]*c[0]+d[0];a[1]=a[1]*c[1]+d[1]}Nt.prototype.Qa=function(){return this.defaultDataProjection}; 
    607 var Rt={Point:function(a,c,d){a=a.coordinates;c&&d&&St(a,c,d);return new E(a)},LineString:function(a,c){var d=Ot(a.arcs,c);return new T(d)},Polygon:function(a,c){var d=[],e,f;e=0;for(f=a.arcs.length;e<f;++e)d[e]=Ot(a.arcs[e],c);return new F(d)},MultiPoint:function(a,c,d){a=a.coordinates;var e,f;if(c&&d)for(e=0,f=a.length;e<f;++e)St(a[e],c,d);return new pp(a)},MultiLineString:function(a,c){var d=[],e,f;e=0;for(f=a.arcs.length;e<f;++e)d[e]=Ot(a.arcs[e],c);return new U(d)},MultiPolygon:function(a,c){var d= 
    608 [],e,f,g,h,k,m;k=0;for(m=a.arcs.length;k<m;++k){e=a.arcs[k];f=[];g=0;for(h=e.length;g<h;++g)f[g]=Ot(e[g],c);d[k]=f}return new V(d)}};function Tt(a){a=a?a:{};this.c=a.featureType;this.g=a.featureNS;this.b=a.gmlFormat?a.gmlFormat:new Zp;this.f=a.schemaLocation?a.schemaLocation:"http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd";this.defaultDataProjection=null}y(Tt,Ip);Tt.prototype.ic=function(a,c){var d={featureType:this.c,featureNS:this.g};mb(d,ep(this,a,c?c:{}));d=[d];this.b.b["http://www.opengis.net/gml"].featureMember=Em(Lp.prototype.yd);(d=R([],this.b.b,a,d,this.b))||(d=[]);return d}; 
    609 Tt.prototype.j=function(a){if(pm(a))return Ut(a);if(sm(a))return R({},Vt,a,[]);if("string"===typeof a)return a=Cm(a),Ut(a)};Tt.prototype.i=function(a){if(pm(a))return Wt(this,a);if(sm(a))return Xt(this,a);if("string"===typeof a)return a=Cm(a),Wt(this,a)};function Wt(a,c){for(var d=c.firstChild;d;d=d.nextSibling)if(1==d.nodeType)return Xt(a,d)}var Yt={"http://www.opengis.net/gml":{boundedBy:M(Lp.prototype.ze,"bounds")}}; 
    610 function Xt(a,c){var d={},e=Tp(c.getAttribute("numberOfFeatures"));d.numberOfFeatures=e;return R(d,Yt,c,[],a.b)} 
    611 var Zt={"http://www.opengis.net/wfs":{totalInserted:M(Sp),totalUpdated:M(Sp),totalDeleted:M(Sp)}},$t={"http://www.opengis.net/ogc":{FeatureId:Em(function(a){return a.getAttribute("fid")})}},au={"http://www.opengis.net/wfs":{Feature:function(a,c){Mm($t,a,c)}}},Vt={"http://www.opengis.net/wfs":{TransactionSummary:M(function(a,c){return R({},Zt,a,c)},"transactionSummary"),InsertResults:M(function(a,c){return R([],au,a,c)},"insertIds")}}; 
    612 function Ut(a){for(a=a.firstChild;a;a=a.nextSibling)if(1==a.nodeType)return R({},Vt,a,[])}var bu={"http://www.opengis.net/wfs":{PropertyName:N(Vp)}};function cu(a,c){var d=hm("http://www.opengis.net/ogc","Filter"),e=hm("http://www.opengis.net/ogc","FeatureId");d.appendChild(e);e.setAttribute("fid",c);a.appendChild(d)} 
    613 var du={"http://www.opengis.net/wfs":{Insert:N(function(a,c,d){var e=d[d.length-1],e=hm(e.featureNS,e.featureType);a.appendChild(e);Zp.prototype.hi(e,c,d)}),Update:N(function(a,c,d){var e=d[d.length-1],f=e.featureType,g=e.featurePrefix,g=g?g:"feature",h=e.featureNS;a.setAttribute("typeName",g+":"+f);Bm(a,"http://www.w3.org/2000/xmlns/","xmlns:"+g,h);f=c.Sa();if(void 0!==f){for(var g=c.O(),h=[],k=0,m=g.length;k<m;k++){var n=c.get(g[k]);void 0!==n&&h.push({name:g[k],value:n})}Nm({node:a,srsName:e.srsName}, 
    614 du,Im("Property"),h,d);cu(a,f)}}),Delete:N(function(a,c,d){var e=d[d.length-1];d=e.featureType;var f=e.featurePrefix,f=f?f:"feature",e=e.featureNS;a.setAttribute("typeName",f+":"+d);Bm(a,"http://www.w3.org/2000/xmlns/","xmlns:"+f,e);c=c.Sa();void 0!==c&&cu(a,c)}),Property:N(function(a,c,d){var e=hm("http://www.opengis.net/wfs","Name");a.appendChild(e);Vp(e,c.name);void 0!==c.value&&null!==c.value&&(e=hm("http://www.opengis.net/wfs","Value"),a.appendChild(e),c.value instanceof Md?Zp.prototype.Je(e, 
    615 c.value,d):Vp(e,c.value))}),Native:N(function(a,c){c.Lo&&a.setAttribute("vendorId",c.Lo);void 0!==c.po&&a.setAttribute("safeToIgnore",c.po);void 0!==c.value&&Vp(a,c.value)})}},eu={"http://www.opengis.net/wfs":{Query:N(function(a,c,d){var e=d[d.length-1],f=e.featurePrefix,g=e.featureNS,h=e.propertyNames,k=e.srsName;a.setAttribute("typeName",(f?f+":":"")+c);k&&a.setAttribute("srsName",k);g&&Bm(a,"http://www.w3.org/2000/xmlns/","xmlns:"+f,g);c=mb({},e);c.node=a;Nm(c,bu,Im("PropertyName"),h,d);if(e=e.bbox)h= 
    616 hm("http://www.opengis.net/ogc","Filter"),c=d[d.length-1].geometryName,f=hm("http://www.opengis.net/ogc","BBOX"),h.appendChild(f),g=hm("http://www.opengis.net/ogc","PropertyName"),Vp(g,c),f.appendChild(g),Zp.prototype.Je(f,e,d),a.appendChild(h)})}}; 
    617 Tt.prototype.l=function(a){var c=hm("http://www.opengis.net/wfs","GetFeature");c.setAttribute("service","WFS");c.setAttribute("version","1.1.0");a&&(a.handle&&c.setAttribute("handle",a.handle),a.outputFormat&&c.setAttribute("outputFormat",a.outputFormat),void 0!==a.maxFeatures&&c.setAttribute("maxFeatures",a.maxFeatures),a.resultType&&c.setAttribute("resultType",a.resultType),void 0!==a.startIndex&&c.setAttribute("startIndex",a.startIndex),void 0!==a.count&&c.setAttribute("count",a.count));Bm(c,"http://www.w3.org/2001/XMLSchema-instance", 
    618 "xsi:schemaLocation",this.f);var d=a.featureTypes;a=[{node:c,srsName:a.srsName,featureNS:a.featureNS?a.featureNS:this.g,featurePrefix:a.featurePrefix,geometryName:a.geometryName,bbox:a.bbox,propertyNames:a.propertyNames?a.propertyNames:[]}];var e=mb({},a[a.length-1]);e.node=c;Nm(e,eu,Im("Query"),d,a);return c}; 
    619 Tt.prototype.A=function(a,c,d,e){var f=[],g=hm("http://www.opengis.net/wfs","Transaction");g.setAttribute("service","WFS");g.setAttribute("version","1.1.0");var h,k;e&&(h=e.gmlOptions?e.gmlOptions:{},e.handle&&g.setAttribute("handle",e.handle));Bm(g,"http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",this.f);a&&(k={node:g,featureNS:e.featureNS,featureType:e.featureType,featurePrefix:e.featurePrefix},mb(k,h),Nm(k,du,Im("Insert"),a,f));c&&(k={node:g,featureNS:e.featureNS,featureType:e.featureType, 
    620 featurePrefix:e.featurePrefix},mb(k,h),Nm(k,du,Im("Update"),c,f));d&&Nm({node:g,featureNS:e.featureNS,featureType:e.featureType,featurePrefix:e.featurePrefix},du,Im("Delete"),d,f);e.nativeElements&&Nm({node:g,featureNS:e.featureNS,featureType:e.featureType,featurePrefix:e.featurePrefix},du,Im("Native"),e.nativeElements,f);return g};Tt.prototype.Gf=function(a){for(a=a.firstChild;a;a=a.nextSibling)if(1==a.nodeType)return this.Ce(a);return null}; 
    621 Tt.prototype.Ce=function(a){if(a.firstElementChild&&a.firstElementChild.firstElementChild)for(a=a.firstElementChild.firstElementChild,a=a.firstElementChild;a;a=a.nextElementSibling)if(0!==a.childNodes.length&&(1!==a.childNodes.length||3!==a.firstChild.nodeType)){var c=[{}];this.b.ze(a,c);return qd(c.pop().srsName)}return null};function fu(a){a=a?a:{};this.defaultDataProjection=null;this.b=void 0!==a.splitCollection?a.splitCollection:!1}y(fu,Oq);function gu(a){a=a.Y();return 0===a.length?"":a[0]+" "+a[1]}function hu(a){a=a.Y();for(var c=[],d=0,e=a.length;d<e;++d)c.push(a[d][0]+" "+a[d][1]);return c.join(",")}function iu(a){var c=[];a=a.Vd();for(var d=0,e=a.length;d<e;++d)c.push("("+hu(a[d])+")");return c.join(",")}function ju(a){var c=a.W();a=(0,ku[c])(a);c=c.toUpperCase();return 0===a.length?c+" EMPTY":c+"("+a+")"} 
    622 var ku={Point:gu,LineString:hu,Polygon:iu,MultiPoint:function(a){var c=[];a=a.le();for(var d=0,e=a.length;d<e;++d)c.push("("+gu(a[d])+")");return c.join(",")},MultiLineString:function(a){var c=[];a=a.rd();for(var d=0,e=a.length;d<e;++d)c.push("("+hu(a[d])+")");return c.join(",")},MultiPolygon:function(a){var c=[];a=a.Xd();for(var d=0,e=a.length;d<e;++d)c.push("("+iu(a[d])+")");return c.join(",")},GeometryCollection:function(a){var c=[];a=a.vg();for(var d=0,e=a.length;d<e;++d)c.push(ju(a[d]));return c.join(",")}}; 
    623 l=fu.prototype;l.xd=function(a,c){var d=this.zd(a,c);if(d){var e=new Xl;e.Pa(d);return e}return null};l.Bf=function(a,c){var d=[],e=this.zd(a,c);this.b&&"GeometryCollection"==e.W()?d=e.i:d=[e];for(var f=[],g=0,h=d.length;g<h;++g)e=new Xl,e.Pa(d[g]),f.push(e);return f};l.zd=function(a,c){var d;d=new lu(new mu(a));d.b=nu(d.a);return(d=ou(d))?gp(d,!1,c):null};l.He=function(a,c){var d=a.X();return d?this.Gd(d,c):""}; 
    624 l.ii=function(a,c){if(1==a.length)return this.He(a[0],c);for(var d=[],e=0,f=a.length;e<f;++e)d.push(a[e].X());d=new zp(d);return this.Gd(d,c)};l.Gd=function(a,c){return ju(gp(a,!0,c))};function mu(a){this.a=a;this.b=-1}function pu(a,c){return"0"<=a&&"9">=a||"."==a&&!(void 0!==c&&c)} 
    625 function nu(a){var c=a.a.charAt(++a.b),d={position:a.b,value:c};if("("==c)d.type=2;else if(","==c)d.type=5;else if(")"==c)d.type=3;else if(pu(c)||"-"==c){d.type=4;var e,c=a.b,f=!1,g=!1;do{if("."==e)f=!0;else if("e"==e||"E"==e)g=!0;e=a.a.charAt(++a.b)}while(pu(e,f)||!g&&("e"==e||"E"==e)||g&&("-"==e||"+"==e));a=parseFloat(a.a.substring(c,a.b--));d.value=a}else if("a"<=c&&"z">=c||"A"<=c&&"Z">=c){d.type=1;c=a.b;do e=a.a.charAt(++a.b);while("a"<=e&&"z">=e||"A"<=e&&"Z">=e);a=a.a.substring(c,a.b--).toUpperCase(); 
    626 d.value=a}else{if(" "==c||"\t"==c||"\r"==c||"\n"==c)return nu(a);if(""===c)d.type=6;else throw Error("Unexpected character: "+c);}return d}function lu(a){this.a=a}l=lu.prototype;l.match=function(a){if(a=this.b.type==a)this.b=nu(this.a);return a}; 
    627 function ou(a){var c=a.b;if(a.match(1)){var d=c.value;if("GEOMETRYCOLLECTION"==d){a:{if(a.match(2)){c=[];do c.push(ou(a));while(a.match(5));if(a.match(3)){a=c;break a}}else if(qu(a)){a=[];break a}throw Error(ru(a));}return new zp(a)}var e=su[d],c=tu[d];if(!e||!c)throw Error("Invalid geometry type: "+d);a=e.call(a);return new c(a)}throw Error(ru(a));}l.vf=function(){if(this.match(2)){var a=uu(this);if(this.match(3))return a}else if(qu(this))return null;throw Error(ru(this));}; 
    628 l.uf=function(){if(this.match(2)){var a=vu(this);if(this.match(3))return a}else if(qu(this))return[];throw Error(ru(this));};l.wf=function(){if(this.match(2)){var a=wu(this);if(this.match(3))return a}else if(qu(this))return[];throw Error(ru(this));};l.yn=function(){if(this.match(2)){var a;if(2==this.b.type)for(a=[this.vf()];this.match(5);)a.push(this.vf());else a=vu(this);if(this.match(3))return a}else if(qu(this))return[];throw Error(ru(this));}; 
    629 l.xn=function(){if(this.match(2)){var a=wu(this);if(this.match(3))return a}else if(qu(this))return[];throw Error(ru(this));};l.zn=function(){if(this.match(2)){for(var a=[this.wf()];this.match(5);)a.push(this.wf());if(this.match(3))return a}else if(qu(this))return[];throw Error(ru(this));};function uu(a){for(var c=[],d=0;2>d;++d){var e=a.b;if(a.match(4))c.push(e.value);else break}if(2==c.length)return c;throw Error(ru(a));}function vu(a){for(var c=[uu(a)];a.match(5);)c.push(uu(a));return c} 
    630 function wu(a){for(var c=[a.uf()];a.match(5);)c.push(a.uf());return c}function qu(a){var c=1==a.b.type&&"EMPTY"==a.b.value;c&&(a.b=nu(a.a));return c}function ru(a){return"Unexpected `"+a.b.value+"` at position "+a.b.position+" in `"+a.a.a+"`"}var tu={POINT:E,LINESTRING:T,POLYGON:F,MULTIPOINT:pp,MULTILINESTRING:U,MULTIPOLYGON:V},su={POINT:lu.prototype.vf,LINESTRING:lu.prototype.uf,POLYGON:lu.prototype.wf,MULTIPOINT:lu.prototype.yn,MULTILINESTRING:lu.prototype.xn,MULTIPOLYGON:lu.prototype.zn};function xu(){this.version=void 0}y(xu,qt);xu.prototype.a=function(a){for(a=a.firstChild;a;a=a.nextSibling)if(1==a.nodeType)return this.b(a);return null};xu.prototype.b=function(a){this.version=a.getAttribute("version").trim();return(a=R({version:this.version},yu,a,[]))?a:null};function zu(a,c){return R({},Au,a,c)}function Bu(a,c){return R({},Cu,a,c)}function Du(a,c){var d=zu(a,c);if(d){var e=[Tp(a.getAttribute("width")),Tp(a.getAttribute("height"))];d.size=e;return d}} 
    631 function Eu(a,c){return R([],Fu,a,c)} 
    632 var Gu=[null,"http://www.opengis.net/wms"],yu=Q(Gu,{Service:M(function(a,c){return R({},Hu,a,c)}),Capability:M(function(a,c){return R({},Iu,a,c)})}),Iu=Q(Gu,{Request:M(function(a,c){return R({},Ju,a,c)}),Exception:M(function(a,c){return R([],Ku,a,c)}),Layer:M(function(a,c){return R({},Lu,a,c)})}),Hu=Q(Gu,{Name:M(W),Title:M(W),Abstract:M(W),KeywordList:M(Eu),OnlineResource:M(pt),ContactInformation:M(function(a,c){return R({},Mu,a,c)}),Fees:M(W),AccessConstraints:M(W),LayerLimit:M(Sp),MaxWidth:M(Sp), 
    633 MaxHeight:M(Sp)}),Mu=Q(Gu,{ContactPersonPrimary:M(function(a,c){return R({},Nu,a,c)}),ContactPosition:M(W),ContactAddress:M(function(a,c){return R({},Ou,a,c)}),ContactVoiceTelephone:M(W),ContactFacsimileTelephone:M(W),ContactElectronicMailAddress:M(W)}),Nu=Q(Gu,{ContactPerson:M(W),ContactOrganization:M(W)}),Ou=Q(Gu,{AddressType:M(W),Address:M(W),City:M(W),StateOrProvince:M(W),PostCode:M(W),Country:M(W)}),Ku=Q(Gu,{Format:Em(W)}),Lu=Q(Gu,{Name:M(W),Title:M(W),Abstract:M(W),KeywordList:M(Eu),CRS:Gm(W), 
    634 EX_GeographicBoundingBox:M(function(a,c){var d=R({},Pu,a,c);if(d){var e=d.westBoundLongitude,f=d.southBoundLatitude,g=d.eastBoundLongitude,d=d.northBoundLatitude;return void 0===e||void 0===f||void 0===g||void 0===d?void 0:[e,f,g,d]}}),BoundingBox:Gm(function(a){var c=[Rp(a.getAttribute("minx")),Rp(a.getAttribute("miny")),Rp(a.getAttribute("maxx")),Rp(a.getAttribute("maxy"))],d=[Rp(a.getAttribute("resx")),Rp(a.getAttribute("resy"))];return{crs:a.getAttribute("CRS"),extent:c,res:d}}),Dimension:Gm(function(a){return{name:a.getAttribute("name"), 
    635 units:a.getAttribute("units"),unitSymbol:a.getAttribute("unitSymbol"),"default":a.getAttribute("default"),multipleValues:Op(a.getAttribute("multipleValues")),nearestValue:Op(a.getAttribute("nearestValue")),current:Op(a.getAttribute("current")),values:W(a)}}),Attribution:M(function(a,c){return R({},Qu,a,c)}),AuthorityURL:Gm(function(a,c){var d=zu(a,c);if(d)return d.name=a.getAttribute("name"),d}),Identifier:Gm(W),MetadataURL:Gm(function(a,c){var d=zu(a,c);if(d)return d.type=a.getAttribute("type"), 
    636 d}),DataURL:Gm(zu),FeatureListURL:Gm(zu),Style:Gm(function(a,c){return R({},Ru,a,c)}),MinScaleDenominator:M(Qp),MaxScaleDenominator:M(Qp),Layer:Gm(function(a,c){var d=c[c.length-1],e=R({},Lu,a,c);if(e){var f=Op(a.getAttribute("queryable"));void 0===f&&(f=d.queryable);e.queryable=void 0!==f?f:!1;f=Tp(a.getAttribute("cascaded"));void 0===f&&(f=d.cascaded);e.cascaded=f;f=Op(a.getAttribute("opaque"));void 0===f&&(f=d.opaque);e.opaque=void 0!==f?f:!1;f=Op(a.getAttribute("noSubsets"));void 0===f&&(f=d.noSubsets); 
    637 e.noSubsets=void 0!==f?f:!1;(f=Rp(a.getAttribute("fixedWidth")))||(f=d.fixedWidth);e.fixedWidth=f;(f=Rp(a.getAttribute("fixedHeight")))||(f=d.fixedHeight);e.fixedHeight=f;["Style","CRS","AuthorityURL"].forEach(function(a){a in d&&(e[a]=(e[a]||[]).concat(d[a]))});"EX_GeographicBoundingBox BoundingBox Dimension Attribution MinScaleDenominator MaxScaleDenominator".split(" ").forEach(function(a){a in e||(e[a]=d[a])});return e}})}),Qu=Q(Gu,{Title:M(W),OnlineResource:M(pt),LogoURL:M(Du)}),Pu=Q(Gu,{westBoundLongitude:M(Qp), 
    638 eastBoundLongitude:M(Qp),southBoundLatitude:M(Qp),northBoundLatitude:M(Qp)}),Ju=Q(Gu,{GetCapabilities:M(Bu),GetMap:M(Bu),GetFeatureInfo:M(Bu)}),Cu=Q(Gu,{Format:Gm(W),DCPType:Gm(function(a,c){return R({},Su,a,c)})}),Su=Q(Gu,{HTTP:M(function(a,c){return R({},Tu,a,c)})}),Tu=Q(Gu,{Get:M(zu),Post:M(zu)}),Ru=Q(Gu,{Name:M(W),Title:M(W),Abstract:M(W),LegendURL:Gm(Du),StyleSheetURL:M(zu),StyleURL:M(zu)}),Au=Q(Gu,{Format:M(W),OnlineResource:M(pt)}),Fu=Q(Gu,{Keyword:Em(W)});function Uu(a){a=a?a:{};this.g="http://mapserver.gis.umn.edu/mapserver";this.b=new Yp;this.f=a.layers?a.layers:null;this.defaultDataProjection=null}y(Uu,Ip); 
    639 Uu.prototype.ic=function(a,c){var d={featureType:this.featureType,featureNS:this.featureNS};c&&mb(d,ep(this,a,c));var e=[d];a.setAttribute("namespaceURI",this.g);var f=mm(a),d=[];if(0!==a.childNodes.length){if("msGMLOutput"==f)for(var g=0,h=a.childNodes.length;g<h;g++){var k=a.childNodes[g];if(1===k.nodeType){var m=e[0],n=k.localName.replace("_layer","");if(!this.f||Ua(this.f,n)){n=n+"_feature";m.featureType=n;m.featureNS=this.g;var p={};p[n]=Em(this.b.zf,this.b);m=Q([m.featureNS,null],p);k.setAttribute("namespaceURI", 
    640 this.g);(k=R([],m,k,e,this.b))&&Xa(d,k)}}}"FeatureCollection"==f&&(e=R([],this.b.b,a,[{}],this.b))&&(d=e)}return d};function Vu(){this.g=new rt}y(Vu,qt);Vu.prototype.a=function(a){for(a=a.firstChild;a;a=a.nextSibling)if(1==a.nodeType)return this.b(a);return null};Vu.prototype.b=function(a){this.version=a.getAttribute("version").trim();var c=this.g.b(a);if(!c)return null;c.version=this.version;return(c=R(c,Wu,a,[]))?c:null};function Xu(a){var c=W(a).split(" ");if(c&&2==c.length)return a=+c[0],c=+c[1],isNaN(a)||isNaN(c)?void 0:[a,c]} 
    641 var Yu=[null,"http://www.opengis.net/wmts/1.0"],Zu=[null,"http://www.opengis.net/ows/1.1"],Wu=Q(Yu,{Contents:M(function(a,c){return R({},$u,a,c)})}),$u=Q(Yu,{Layer:Gm(function(a,c){return R({},av,a,c)}),TileMatrixSet:Gm(function(a,c){return R({},bv,a,c)})}),av=Q(Yu,{Style:Gm(function(a,c){var d=R({},cv,a,c);if(d){var e="true"===a.getAttribute("isDefault");d.isDefault=e;return d}}),Format:Gm(W),TileMatrixSetLink:Gm(function(a,c){return R({},dv,a,c)}),Dimension:Gm(function(a,c){return R({},ev,a,c)}), 
    642 ResourceURL:Gm(function(a){var c=a.getAttribute("format"),d=a.getAttribute("template");a=a.getAttribute("resourceType");var e={};c&&(e.format=c);d&&(e.template=d);a&&(e.resourceType=a);return e})},Q(Zu,{Title:M(W),Abstract:M(W),WGS84BoundingBox:M(function(a,c){var d=R([],fv,a,c);return 2!=d.length?void 0:xc(d)}),Identifier:M(W)})),cv=Q(Yu,{LegendURL:Gm(function(a){var c={};c.format=a.getAttribute("format");c.href=pt(a);return c})},Q(Zu,{Title:M(W),Identifier:M(W)})),dv=Q(Yu,{TileMatrixSet:M(W)}), 
    643 ev=Q(Yu,{Default:M(W),Value:Gm(W)},Q(Zu,{Identifier:M(W)})),fv=Q(Zu,{LowerCorner:Em(Xu),UpperCorner:Em(Xu)}),bv=Q(Yu,{WellKnownScaleSet:M(W),TileMatrix:Gm(function(a,c){return R({},gv,a,c)})},Q(Zu,{SupportedCRS:M(W),Identifier:M(W)})),gv=Q(Yu,{TopLeftCorner:M(Xu),ScaleDenominator:M(Qp),TileWidth:M(Sp),TileHeight:M(Sp),MatrixWidth:M(Sp),MatrixHeight:M(Sp)},Q(Zu,{Identifier:M(W)}));function hv(a){Mb.call(this);a=a||{};this.a=null;this.c=Jd;this.f=void 0;D(this,Ob("projection"),this.pl,this);D(this,Ob("tracking"),this.ql,this);void 0!==a.projection&&this.Sg(qd(a.projection));void 0!==a.trackingOptions&&this.$h(a.trackingOptions);this.he(void 0!==a.tracking?a.tracking:!1)}y(hv,Mb);l=hv.prototype;l.fa=function(){this.he(!1);hv.ia.fa.call(this)};l.pl=function(){var a=this.Qg();a&&(this.c=ud(qd("EPSG:4326"),a),this.a&&this.set("position",this.c(this.a)))}; 
    644 l.ql=function(){if(Dh){var a=this.Rg();a&&void 0===this.f?this.f=aa.navigator.geolocation.watchPosition(this.Gn.bind(this),this.Hn.bind(this),this.Cg()):a||void 0===this.f||(aa.navigator.geolocation.clearWatch(this.f),this.f=void 0)}}; 
    645 l.Gn=function(a){a=a.coords;this.set("accuracy",a.accuracy);this.set("altitude",null===a.altitude?void 0:a.altitude);this.set("altitudeAccuracy",null===a.altitudeAccuracy?void 0:a.altitudeAccuracy);this.set("heading",null===a.heading?void 0:Qa(a.heading));this.a?(this.a[0]=a.longitude,this.a[1]=a.latitude):this.a=[a.longitude,a.latitude];var c=this.c(this.a);this.set("position",c);this.set("speed",null===a.speed?void 0:a.speed);a=te(qk,this.a,a.accuracy);a.Hc(this.c);this.set("accuracyGeometry",a); 
    646 this.u()};l.Hn=function(a){a.type="error";this.he(!1);this.b(a)};l.sj=function(){return this.get("accuracy")};l.tj=function(){return this.get("accuracyGeometry")||null};l.vj=function(){return this.get("altitude")};l.wj=function(){return this.get("altitudeAccuracy")};l.nl=function(){return this.get("heading")};l.ol=function(){return this.get("position")};l.Qg=function(){return this.get("projection")};l.ak=function(){return this.get("speed")};l.Rg=function(){return this.get("tracking")};l.Cg=function(){return this.get("trackingOptions")}; 
    647 l.Sg=function(a){this.set("projection",a)};l.he=function(a){this.set("tracking",a)};l.$h=function(a){this.set("trackingOptions",a)};function iv(a,c,d){Od.call(this);this.Lf(a,c?c:0,d)}y(iv,Od);l=iv.prototype;l.clone=function(){var a=new iv(null),c=this.v.slice();Qd(a,this.f,c);a.u();return a};l.sb=function(a,c,d,e){var f=this.v;a-=f[0];var g=c-f[1];c=a*a+g*g;if(c<e){if(0===c)for(e=0;e<this.a;++e)d[e]=f[e];else for(e=this.nf()/Math.sqrt(c),d[0]=f[0]+e*a,d[1]=f[1]+e*g,e=2;e<this.a;++e)d[e]=f[e];d.length=this.a;return c}return e};l.xc=function(a,c){var d=this.v,e=a-d[0],d=c-d[1];return e*e+d*d<=jv(this)}; 
    648 l.vd=function(){return this.v.slice(0,this.a)};l.Pd=function(a){var c=this.v,d=c[this.a]-c[0];return Ic(c[0]-d,c[1]-d,c[0]+d,c[1]+d,a)};l.nf=function(){return Math.sqrt(jv(this))};function jv(a){var c=a.v[a.a]-a.v[0];a=a.v[a.a+1]-a.v[1];return c*c+a*a}l.W=function(){return"Circle"};l.Ia=function(a){var c=this.G();return ad(a,c)?(c=this.vd(),a[0]<=c[0]&&a[2]>=c[0]||a[1]<=c[1]&&a[3]>=c[1]?!0:Oc(a,this.ig,this)):!1}; 
    649 l.Kl=function(a){var c=this.a,d=this.v[c]-this.v[0],e=a.slice();e[c]=e[0]+d;for(d=1;d<c;++d)e[c+d]=a[d];Qd(this,this.f,e);this.u()};l.Lf=function(a,c,d){if(a){Rd(this,d,a,0);this.v||(this.v=[]);d=this.v;a=Zd(d,a);d[a++]=d[0]+c;var e;c=1;for(e=this.a;c<e;++c)d[a++]=d[c];d.length=a}else Qd(this,"XY",null);this.u()};l.Ll=function(a){this.v[this.a]=this.v[0]+a;this.u()};function kv(a,c,d){for(var e=[],f=a(0),g=a(1),h=c(f),k=c(g),m=[g,f],n=[k,h],p=[1,0],q={},r=1E5,t,v,w,A,B;0<--r&&0<p.length;)w=p.pop(),f=m.pop(),h=n.pop(),g=w.toString(),g in q||(e.push(h[0],h[1]),q[g]=!0),A=p.pop(),g=m.pop(),k=n.pop(),B=(w+A)/2,t=a(B),v=c(t),Na(v[0],v[1],h[0],h[1],k[0],k[1])<d?(e.push(k[0],k[1]),g=A.toString(),q[g]=!0):(p.push(A,B,B,w),n.push(k,v,v,h),m.push(g,t,t,f));return e}function lv(a,c,d,e,f){var g=qd("EPSG:4326");return kv(function(e){return[a,c+(d-c)*e]},Id(g,e),f)} 
    650 function mv(a,c,d,e,f){var g=qd("EPSG:4326");return kv(function(e){return[c+(d-c)*e,a]},Id(g,e),f)};function nv(a){a=a||{};this.c=this.l=null;this.g=this.i=Infinity;this.f=this.j=-Infinity;this.B=this.T=Infinity;this.D=this.J=-Infinity;this.ua=void 0!==a.targetSize?a.targetSize:100;this.H=void 0!==a.maxLines?a.maxLines:100;this.b=[];this.a=[];this.ta=void 0!==a.strokeStyle?a.strokeStyle:ov;this.A=this.o=void 0;this.s=null;this.setMap(void 0!==a.map?a.map:null)}var ov=new Gk({color:"rgba(0,0,0,0.2)"}),pv=[90,45,30,20,10,5,2,1,.5,.2,.1,.05,.01,.005,.002,.001]; 
    651 function qv(a,c,d,e,f,g,h){var k=h;c=lv(c,d,e,a.c,f);k=void 0!==a.b[k]?a.b[k]:new T(null);k.ba("XY",c);ad(k.G(),g)&&(a.b[h++]=k);return h}function rv(a,c,d,e,f){var g=f;c=mv(c,a.f,a.g,a.c,d);g=void 0!==a.a[g]?a.a[g]:new T(null);g.ba("XY",c);ad(g.G(),e)&&(a.a[f++]=g);return f}l=nv.prototype;l.rl=function(){return this.l};l.Oj=function(){return this.b};l.Vj=function(){return this.a}; 
    652 l.Hg=function(a){var c=a.vectorContext,d=a.frameState,e=d.extent;a=d.viewState;var f=a.center,g=a.projection,h=a.resolution;a=d.pixelRatio;a=h*h/(4*a*a);if(!this.c||!Hd(this.c,g)){var k=qd("EPSG:4326"),m=g.G(),n=g.i,p=Ld(n,k,g),q=n[2],r=n[1],t=n[0],v=p[3],w=p[2],A=p[1],p=p[0];this.i=n[3];this.g=q;this.j=r;this.f=t;this.T=v;this.B=w;this.J=A;this.D=p;this.o=Id(k,g);this.A=Id(g,k);this.s=this.A(Yc(m));this.c=g}k=0;g.b&&(g=g.G(),k=Wc(g),d=d.focus[0],d<g[0]||d>g[2])&&(k*=Math.ceil((g[0]-d)/k),e=[e[0]+ 
    653 k,e[1],e[2]+k,e[3]]);d=this.s[0];g=this.s[1];k=-1;n=Math.pow(this.ua*h,2);q=[];r=[];h=0;for(m=pv.length;h<m;++h){t=pv[h]/2;q[0]=d-t;q[1]=g-t;r[0]=d+t;r[1]=g+t;this.o(q,q);this.o(r,r);t=Math.pow(r[0]-q[0],2)+Math.pow(r[1]-q[1],2);if(t<=n)break;k=pv[h]}h=k;if(-1==h)this.b.length=this.a.length=0;else{d=this.A(f);f=d[0];d=d[1];g=this.H;k=[Math.max(e[0],this.D),Math.max(e[1],this.J),Math.min(e[2],this.B),Math.min(e[3],this.T)];k=Ld(k,this.c,"EPSG:4326");n=k[3];r=k[1];f=Math.floor(f/h)*h;q=La(f,this.f, 
    654 this.g);m=qv(this,q,r,n,a,e,0);for(k=0;q!=this.f&&k++<g;)q=Math.max(q-h,this.f),m=qv(this,q,r,n,a,e,m);q=La(f,this.f,this.g);for(k=0;q!=this.g&&k++<g;)q=Math.min(q+h,this.g),m=qv(this,q,r,n,a,e,m);this.b.length=m;d=Math.floor(d/h)*h;f=La(d,this.j,this.i);m=rv(this,f,a,e,0);for(k=0;f!=this.j&&k++<g;)f=Math.max(f-h,this.j),m=rv(this,f,a,e,m);f=La(d,this.j,this.i);for(k=0;f!=this.i&&k++<g;)f=Math.min(f+h,this.i),m=rv(this,f,a,e,m);this.a.length=m}c.hb(null,this.ta);a=0;for(f=this.b.length;a<f;++a)h= 
    655 this.b[a],c.Xb(h,null);a=0;for(f=this.a.length;a<f;++a)h=this.a[a],c.Xb(h,null)};l.setMap=function(a){this.l&&(this.l.K("postcompose",this.Hg,this),this.l.render());a&&(a.I("postcompose",this.Hg,this),a.render());this.l=a};function sv(a,c,d,e,f,g,h){Hi.call(this,a,c,d,0,e);this.l=f;this.g=new Image;null!==g&&(this.g.crossOrigin=g);this.i={};this.c=null;this.state=0;this.j=h}y(sv,Hi);sv.prototype.a=function(a){if(void 0!==a){var c;a=x(a);if(a in this.i)return this.i[a];pb(this.i)?c=this.g:c=this.g.cloneNode(!1);return this.i[a]=c}return this.g};sv.prototype.s=function(){this.state=3;this.c.forEach(sb);this.c=null;Ii(this)}; 
    656 sv.prototype.A=function(){void 0===this.resolution&&(this.resolution=Xc(this.extent)/this.g.height);this.state=2;this.c.forEach(sb);this.c=null;Ii(this)};sv.prototype.load=function(){0==this.state&&(this.state=1,Ii(this),this.c=[xb(this.g,"error",this.s,this),xb(this.g,"load",this.A,this)],this.j(this,this.l))};function tv(a,c,d,e,f){pg.call(this,a,c);this.l=d;this.g=new Image;null!==e&&(this.g.crossOrigin=e);this.c={};this.j=null;this.o=f}y(tv,pg);l=tv.prototype;l.fa=function(){1==this.state&&uv(this);this.a&&Db(this.a);tv.ia.fa.call(this)};l.cb=function(a){if(void 0!==a){var c=x(a);if(c in this.c)return this.c[c];a=pb(this.c)?this.g:this.g.cloneNode(!1);return this.c[c]=a}return this.g};l.eb=function(){return this.l};l.sl=function(){this.state=3;uv(this);qg(this)}; 
    657 l.tl=function(){this.state=this.g.naturalWidth&&this.g.naturalHeight?2:4;uv(this);qg(this)};l.load=function(){0==this.state&&(this.state=1,qg(this),this.j=[xb(this.g,"error",this.sl,this),xb(this.g,"load",this.tl,this)],this.o(this,this.l))};function uv(a){a.j.forEach(sb);a.j=null};function vv(a){a=a?a:{};nj.call(this,{handleEvent:fd});this.c=a.formatConstructors?a.formatConstructors:[];this.o=a.projection?qd(a.projection):null;this.a=null;this.target=a.target?a.target:null}y(vv,nj);function wv(a){a=a.dataTransfer.files;var c,d,e;c=0;for(d=a.length;c<d;++c){e=a.item(c);var f=new FileReader;f.addEventListener("load",ra(this.l,e).bind(this));f.readAsText(e)}}function xv(a){a.stopPropagation();a.preventDefault();a.dataTransfer.dropEffect="copy"} 
    658 vv.prototype.l=function(a,c){var d=c.target.result,e=this.A,f=this.o;f||(f=e.$().i);var e=this.c,g=[],h,k;h=0;for(k=e.length;h<k;++h){var m=new e[h];var n={featureProjection:f};try{g=m.Ea(d,n)}catch(p){g=null}if(g&&0<g.length)break}this.b(new yv(zv,this,a,g,f))};vv.prototype.setMap=function(a){this.a&&(this.a.forEach(sb),this.a=null);vv.ia.setMap.call(this,a);a&&(a=this.target?this.target:a.a,this.a=[D(a,"drop",wv,this),D(a,"dragenter",xv,this),D(a,"dragover",xv,this),D(a,"drop",xv,this)])}; 
    659 var zv="addfeatures";function yv(a,c,d,e,f){Eb.call(this,a,c);this.features=e;this.file=d;this.projection=f}y(yv,Eb);function Av(a,c){this.x=a;this.y=c}y(Av,wf);Av.prototype.clone=function(){return new Av(this.x,this.y)};Av.prototype.scale=wf.prototype.scale;Av.prototype.rotate=function(a){var c=Math.cos(a);a=Math.sin(a);var d=this.y*c+this.x*a;this.x=this.x*c-this.y*a;this.y=d;return this};function Bv(a){a=a?a:{};Bj.call(this,{handleDownEvent:Cv,handleDragEvent:Dv,handleUpEvent:Ev});this.s=a.condition?a.condition:yj;this.a=this.c=void 0;this.o=0;this.B=void 0!==a.duration?a.duration:400}y(Bv,Bj); 
    660 function Dv(a){if(Aj(a)){var c=a.map,d=c.Va();a=a.pixel;a=new Av(a[0]-d[0]/2,d[1]/2-a[1]);d=Math.atan2(a.y,a.x);a=Math.sqrt(a.x*a.x+a.y*a.y);var e=c.$();c.render();if(void 0!==this.c){var f=d-this.c;oj(c,e,e.Ka()-f)}this.c=d;void 0!==this.a&&(d=this.a*(e.Z()/a),qj(c,e,d));void 0!==this.a&&(this.o=this.a/a);this.a=a}} 
    661 function Ev(a){if(!Aj(a))return!0;a=a.map;var c=a.$();Be(c,-1);var d=this.o-1,e=c.Ka(),e=c.constrainRotation(e,0);oj(a,c,e,void 0,void 0);var e=c.Z(),f=this.B,e=c.constrainResolution(e,0,d);qj(a,c,e,void 0,f);this.o=0;return!1}function Cv(a){return Aj(a)&&this.s(a)?(Be(a.map.$(),1),this.a=this.c=void 0,!0):!1};function Fv(a,c){Eb.call(this,a);this.feature=c}y(Fv,Eb); 
    662 function Gv(a){Bj.call(this,{handleDownEvent:Hv,handleEvent:Iv,handleUpEvent:Jv});this.wa=null;this.U=!1;this.oc=a.source?a.source:null;this.Fb=a.features?a.features:null;this.aj=a.snapTolerance?a.snapTolerance:12;this.aa=a.type;this.c=Kv(this.aa);this.qb=a.minPoints?a.minPoints:this.c===Lv?3:2;this.ya=a.maxPoints?a.maxPoints:Infinity;var c=a.geometryFunction;if(!c)if("Circle"===this.aa)c=function(a,c){var d=c?c:new iv([NaN,NaN]);d.Lf(a[0],Math.sqrt(hc(a[0],a[1])));return d};else{var d,c=this.c;c=== 
    663 Mv?d=E:c===Nv?d=T:c===Lv&&(d=F);c=function(a,c){var g=c;g?g.la(a):g=new d(a);return g}}this.D=c;this.S=this.B=this.a=this.H=this.o=this.s=null;this.jj=a.clickTolerance?a.clickTolerance*a.clickTolerance:36;this.na=new H({source:new bn({useSpatialIndex:!1,wrapX:a.wrapX?a.wrapX:!1}),style:a.style?a.style:Ov()});this.nc=a.geometryName;this.ti=a.condition?a.condition:xj;this.oa=a.freehandCondition?a.freehandCondition:yj;D(this,Ob("active"),this.ei,this)}y(Gv,Bj); 
    664 function Ov(){var a=Pk();return function(c){return a[c.X().W()]}}l=Gv.prototype;l.setMap=function(a){Gv.ia.setMap.call(this,a);this.ei()};function Iv(a){var c=!this.U;this.U&&a.type===zi?(Pv(this,a),c=!1):a.type===yi?c=Qv(this,a):a.type===si&&(c=!1);return Cj.call(this,a)&&c}function Hv(a){if(this.ti(a))return this.wa=a.pixel,!0;if(this.c!==Nv&&this.c!==Lv||!this.oa(a))return!1;this.wa=a.pixel;this.U=!0;this.s||Rv(this,a);return!0} 
    665 function Jv(a){this.U=!1;var c=this.wa,d=a.pixel,e=c[0]-d[0],c=c[1]-d[1],d=!0;e*e+c*c<=this.jj&&(Qv(this,a),this.s?this.c===Sv?this.md():Tv(this,a)?this.md():Pv(this,a):(Rv(this,a),this.c===Mv&&this.md()),d=!1);return d} 
    666 function Qv(a,c){if(a.s){var d=c.coordinate,e=a.o.X(),f;a.c===Mv?f=a.a:a.c===Lv?(f=a.a[0],f=f[f.length-1],Tv(a,c)&&(d=a.s.slice())):(f=a.a,f=f[f.length-1]);f[0]=d[0];f[1]=d[1];a.D(a.a,e);a.H&&a.H.X().la(d);e instanceof F&&a.c!==Lv?(a.B||(a.B=new Xl(new T(null))),e=e.xg(0),d=a.B.X(),d.ba(e.f,e.ha())):a.S&&(d=a.B.X(),d.la(a.S));Uv(a)}else d=c.coordinate.slice(),a.H?a.H.X().la(d):(a.H=new Xl(new E(d)),Uv(a));return!0} 
    667 function Tv(a,c){var d=!1;if(a.o){var e=!1,f=[a.s];a.c===Nv?e=a.a.length>a.qb:a.c===Lv&&(e=a.a[0].length>a.qb,f=[a.a[0][0],a.a[0][a.a[0].length-2]]);if(e)for(var e=c.map,g=0,h=f.length;g<h;g++){var k=f[g],m=e.Ta(k),n=c.pixel,d=n[0]-m[0],m=n[1]-m[1],n=a.U&&a.oa(c)?1:a.aj;if(d=Math.sqrt(d*d+m*m)<=n){a.s=k;break}}}return d} 
    668 function Rv(a,c){var d=c.coordinate;a.s=d;a.c===Mv?a.a=d.slice():a.c===Lv?(a.a=[[d.slice(),d.slice()]],a.S=a.a[0]):(a.a=[d.slice(),d.slice()],a.c===Sv&&(a.S=a.a));a.S&&(a.B=new Xl(new T(a.S)));d=a.D(a.a);a.o=new Xl;a.nc&&a.o.Bc(a.nc);a.o.Pa(d);Uv(a);a.b(new Fv("drawstart",a.o))} 
    669 function Pv(a,c){var d=c.coordinate,e=a.o.X(),f,g;if(a.c===Nv)a.s=d.slice(),g=a.a,g.push(d.slice()),f=g.length>a.ya,a.D(g,e);else if(a.c===Lv){g=a.a[0];g.push(d.slice());if(f=g.length>a.ya)a.s=g[0];a.D(a.a,e)}Uv(a);f&&a.md()}l.ho=function(){var a=this.o.X(),c,d;this.c===Nv?(c=this.a,c.splice(-2,1),this.D(c,a)):this.c===Lv&&(c=this.a[0],c.splice(-2,1),d=this.B.X(),d.la(c),this.D(this.a,a));0===c.length&&(this.s=null);Uv(this)}; 
    670 l.md=function(){var a=Vv(this),c=this.a,d=a.X();this.c===Nv?(c.pop(),this.D(c,d)):this.c===Lv&&(c[0].pop(),c[0].push(c[0][0]),this.D(c,d));"MultiPoint"===this.aa?a.Pa(new pp([c])):"MultiLineString"===this.aa?a.Pa(new U([c])):"MultiPolygon"===this.aa&&a.Pa(new V([c]));this.b(new Fv("drawend",a));this.Fb&&this.Fb.push(a);this.oc&&this.oc.rb(a)};function Vv(a){a.s=null;var c=a.o;c&&(a.o=null,a.H=null,a.B=null,a.na.da().clear(!0));return c} 
    671 l.Sl=function(a){var c=a.X();this.o=a;this.a=c.Y();a=this.a[this.a.length-1];this.s=a.slice();this.a.push(a.slice());Uv(this);this.b(new Fv("drawstart",this.o))};l.Dc=ed;function Uv(a){var c=[];a.o&&c.push(a.o);a.B&&c.push(a.B);a.H&&c.push(a.H);a=a.na.da();a.clear(!0);a.Gc(c)}l.ei=function(){var a=this.A,c=this.f();a&&c||Vv(this);this.na.setMap(c?a:null)}; 
    672 function Kv(a){var c;"Point"===a||"MultiPoint"===a?c=Mv:"LineString"===a||"MultiLineString"===a?c=Nv:"Polygon"===a||"MultiPolygon"===a?c=Lv:"Circle"===a&&(c=Sv);return c}var Mv="Point",Nv="LineString",Lv="Polygon",Sv="Circle";function Wv(a,c,d){Eb.call(this,a);this.features=c;this.mapBrowserPointerEvent=d}y(Wv,Eb); 
    673 function Xv(a){Bj.call(this,{handleDownEvent:Yv,handleDragEvent:Zv,handleEvent:$v,handleUpEvent:aw});this.ya=a.deleteCondition?a.deleteCondition:jd(xj,wj);this.oa=this.c=null;this.wa=[0,0];this.D=this.U=!1;this.a=new Wm;this.H=void 0!==a.pixelTolerance?a.pixelTolerance:10;this.s=this.na=!1;this.o=null;this.S=new H({source:new bn({useSpatialIndex:!1,wrapX:!!a.wrapX}),style:a.style?a.style:bw(),updateWhileAnimating:!0,updateWhileInteracting:!0});this.aa={Point:this.Zl,LineString:this.Zg,LinearRing:this.Zg, 
    674 Polygon:this.$l,MultiPoint:this.Xl,MultiLineString:this.Wl,MultiPolygon:this.Yl,GeometryCollection:this.Vl};this.B=a.features;this.B.forEach(this.pf,this);D(this.B,"add",this.Tl,this);D(this.B,"remove",this.Ul,this)}y(Xv,Bj);l=Xv.prototype;l.pf=function(a){var c=a.X();c.W()in this.aa&&this.aa[c.W()].call(this,a,c);(c=this.A)&&cw(this,this.wa,c);D(a,"change",this.Yg,this)};function dw(a,c){a.D||(a.D=!0,a.b(new Wv("modifystart",a.B,c)))} 
    675 function ew(a,c){fw(a,c);a.c&&0===a.B.ac()&&(a.S.da().nb(a.c),a.c=null);yb(c,"change",a.Yg,a)}function fw(a,c){var d=a.a,e=[];d.forEach(function(a){c===a.feature&&e.push(a)});for(var f=e.length-1;0<=f;--f)d.remove(e[f])}l.setMap=function(a){this.S.setMap(a);Xv.ia.setMap.call(this,a)};l.Tl=function(a){this.pf(a.element)};l.Yg=function(a){this.s||(a=a.target,ew(this,a),this.pf(a))};l.Ul=function(a){ew(this,a.element)}; 
    676 l.Zl=function(a,c){var d=c.Y(),d={feature:a,geometry:c,ka:[d,d]};this.a.za(c.G(),d)};l.Xl=function(a,c){var d=c.Y(),e,f,g;f=0;for(g=d.length;f<g;++f)e=d[f],e={feature:a,geometry:c,depth:[f],index:f,ka:[e,e]},this.a.za(c.G(),e)};l.Zg=function(a,c){var d=c.Y(),e,f,g,h;e=0;for(f=d.length-1;e<f;++e)g=d.slice(e,e+2),h={feature:a,geometry:c,index:e,ka:g},this.a.za(xc(g),h)}; 
    677 l.Wl=function(a,c){var d=c.Y(),e,f,g,h,k,m,n;h=0;for(k=d.length;h<k;++h)for(e=d[h],f=0,g=e.length-1;f<g;++f)m=e.slice(f,f+2),n={feature:a,geometry:c,depth:[h],index:f,ka:m},this.a.za(xc(m),n)};l.$l=function(a,c){var d=c.Y(),e,f,g,h,k,m,n;h=0;for(k=d.length;h<k;++h)for(e=d[h],f=0,g=e.length-1;f<g;++f)m=e.slice(f,f+2),n={feature:a,geometry:c,depth:[h],index:f,ka:m},this.a.za(xc(m),n)}; 
    678 l.Yl=function(a,c){var d=c.Y(),e,f,g,h,k,m,n,p,q,r;m=0;for(n=d.length;m<n;++m)for(p=d[m],h=0,k=p.length;h<k;++h)for(e=p[h],f=0,g=e.length-1;f<g;++f)q=e.slice(f,f+2),r={feature:a,geometry:c,depth:[h,m],index:f,ka:q},this.a.za(xc(q),r)};l.Vl=function(a,c){var d,e=c.i;for(d=0;d<e.length;++d)this.aa[e[d].W()].call(this,a,e[d])};function gw(a,c){var d=a.c;d?d.X().la(c):(d=new Xl(new E(c)),a.c=d,a.S.da().rb(d))}function hw(a,c){return a.index-c.index} 
    679 function Yv(a){cw(this,a.pixel,a.map);this.o=[];this.D=!1;var c=this.c;if(c){var d=[],c=c.X().Y(),e=xc([c]),e=Zm(this.a,e),f={};e.sort(hw);for(var g=0,h=e.length;g<h;++g){var k=e[g],m=k.ka,n=x(k.feature),p=k.depth;p&&(n+="-"+p.join("-"));f[n]||(f[n]=Array(2));if(fc(m[0],c)&&!f[n][0])this.o.push([k,0]),f[n][0]=k;else if(fc(m[1],c)&&!f[n][1]){if("LineString"!==k.geometry.W()&&"MultiLineString"!==k.geometry.W()||!f[n][0]||0!==f[n][0].index)this.o.push([k,1]),f[n][1]=k}else x(m)in this.oa&&!f[n][0]&& 
    680 !f[n][1]&&d.push([k,c])}d.length&&dw(this,a);for(a=d.length-1;0<=a;--a)this.Rk.apply(this,d[a])}return!!this.c} 
    681 function Zv(a){this.U=!1;dw(this,a);a=a.coordinate;for(var c=0,d=this.o.length;c<d;++c){for(var e=this.o[c],f=e[0],g=f.depth,h=f.geometry,k=h.Y(),m=f.ka,e=e[1];a.length<h.qa();)a.push(0);switch(h.W()){case "Point":k=a;m[0]=m[1]=a;break;case "MultiPoint":k[f.index]=a;m[0]=m[1]=a;break;case "LineString":k[f.index+e]=a;m[e]=a;break;case "MultiLineString":k[g[0]][f.index+e]=a;m[e]=a;break;case "Polygon":k[g[0]][f.index+e]=a;m[e]=a;break;case "MultiPolygon":k[g[1]][g[0]][f.index+e]=a,m[e]=a}f=h;this.s= 
    682 !0;f.la(k);this.s=!1}gw(this,a)}function aw(a){for(var c,d=this.o.length-1;0<=d;--d)c=this.o[d][0],Xm(this.a,xc(c.ka),c);this.D&&(this.b(new Wv("modifyend",this.B,a)),this.D=!1);return!1} 
    683 function $v(a){if(!(a instanceof oi))return!0;var c;a.map.$().f.slice()[1]||a.type!=yi||this.J||(this.wa=a.pixel,cw(this,a.pixel,a.map));if(this.c&&this.ya(a))if(a.type==ti&&this.U)c=!0;else{this.c.X();dw(this,a);c=this.o;var d={},e,f,g,h,k,m,n,p,q;for(k=c.length-1;0<=k;--k)if(g=c[k],p=g[0],h=p.geometry,f=h.Y(),q=x(p.feature),p.depth&&(q+="-"+p.depth.join("-")),n=e=m=void 0,0===g[1]?(e=p,m=p.index):1==g[1]&&(n=p,m=p.index+1),q in d||(d[q]=[n,e,m]),g=d[q],void 0!==n&&(g[0]=n),void 0!==e&&(g[1]=e), 
    684 void 0!==g[0]&&void 0!==g[1]){e=f;q=!1;n=m-1;switch(h.W()){case "MultiLineString":f[p.depth[0]].splice(m,1);q=!0;break;case "LineString":f.splice(m,1);q=!0;break;case "MultiPolygon":e=e[p.depth[1]];case "Polygon":e=e[p.depth[0]],4<e.length&&(m==e.length-1&&(m=0),e.splice(m,1),q=!0,0===m&&(e.pop(),e.push(e[0]),n=e.length-1))}q&&(this.a.remove(g[0]),this.a.remove(g[1]),e=h,this.s=!0,e.la(f),this.s=!1,f={depth:p.depth,feature:p.feature,geometry:p.geometry,index:n,ka:[g[0].ka[0],g[1].ka[1]]},this.a.za(xc(f.ka), 
    685 f),iw(this,h,m,p.depth,-1),this.c&&(this.S.da().nb(this.c),this.c=null))}c=!0;this.b(new Wv("modifyend",this.B,a));this.D=!1}a.type==ti&&(this.U=!1);return Cj.call(this,a)&&!c} 
    686 function cw(a,c,d){function e(a,c){return ic(f,a.ka)-ic(f,c.ka)}var f=d.La(c),g=d.La([c[0]-a.H,c[1]+a.H]),h=d.La([c[0]+a.H,c[1]-a.H]),g=xc([g,h]),g=Zm(a.a,g);if(0<g.length){g.sort(e);var h=g[0].ka,k=cc(f,h),m=d.Ta(k);if(Math.sqrt(hc(c,m))<=a.H){c=d.Ta(h[0]);d=d.Ta(h[1]);c=hc(m,c);d=hc(m,d);a.na=Math.sqrt(Math.min(c,d))<=a.H;a.na&&(k=c>d?h[1]:h[0]);gw(a,k);d={};d[x(h)]=!0;c=1;for(m=g.length;c<m;++c)if(k=g[c].ka,fc(h[0],k[0])&&fc(h[1],k[1])||fc(h[0],k[1])&&fc(h[1],k[0]))d[x(k)]=!0;else break;a.oa=d; 
    687 return}}a.c&&(a.S.da().nb(a.c),a.c=null)} 
    688 l.Rk=function(a,c){for(var d=a.ka,e=a.feature,f=a.geometry,g=a.depth,h=a.index,k;c.length<f.qa();)c.push(0);switch(f.W()){case "MultiLineString":k=f.Y();k[g[0]].splice(h+1,0,c);break;case "Polygon":k=f.Y();k[g[0]].splice(h+1,0,c);break;case "MultiPolygon":k=f.Y();k[g[1]][g[0]].splice(h+1,0,c);break;case "LineString":k=f.Y();k.splice(h+1,0,c);break;default:return}this.s=!0;f.la(k);this.s=!1;k=this.a;k.remove(a);iw(this,f,h,g,1);var m={ka:[d[0],c],feature:e,geometry:f,depth:g,index:h};k.za(xc(m.ka), 
    689 m);this.o.push([m,1]);d={ka:[c,d[1]],feature:e,geometry:f,depth:g,index:h+1};k.za(xc(d.ka),d);this.o.push([d,0]);this.U=!0};function iw(a,c,d,e,f){an(a.a,c.G(),function(a){a.geometry===c&&(void 0===e||void 0===a.depth||bb(a.depth,e))&&a.index>d&&(a.index+=f)})}function bw(){var a=Pk();return function(){return a.Point}};function jw(a,c,d,e){Eb.call(this,a);this.selected=c;this.deselected=d;this.mapBrowserEvent=e}y(jw,Eb); 
    690 function kw(a){nj.call(this,{handleEvent:lw});var c=a?a:{};this.J=c.condition?c.condition:wj;this.B=c.addCondition?c.addCondition:ed;this.D=c.removeCondition?c.removeCondition:ed;this.H=c.toggleCondition?c.toggleCondition:yj;this.s=c.multi?c.multi:!1;this.l=c.filter?c.filter:fd;this.c=new H({source:new bn({useSpatialIndex:!1,features:c.features,wrapX:c.wrapX}),style:c.style?c.style:mw(),updateWhileAnimating:!0,updateWhileInteracting:!0});if(c.layers)if(ka(c.layers))a=function(a){return c.layers(a)}; 
    691 else{var d=c.layers;a=function(a){return Ua(d,a)}}else a=fd;this.o=a;this.a={};a=this.c.da().c;D(a,"add",this.am,this);D(a,"remove",this.dm,this)}y(kw,nj);l=kw.prototype;l.bm=function(){return this.c.da().c};l.cm=function(a){a=x(a);return this.a[a]}; 
    692 function lw(a){if(!this.J(a))return!0;var c=this.B(a),d=this.D(a),e=this.H(a),f=!c&&!d&&!e,g=a.map,h=this.c.da().c,k=[],m=[],n=!1;if(f)g.od(a.pixel,function(a,c){if(this.l(a,c)){m.push(a);var d=x(a);this.a[d]=c;return!this.s}},this,this.o),0<m.length&&1==h.ac()&&h.item(0)==m[0]||(n=!0,0!==h.ac()&&(k=Array.prototype.concat(h.a),h.clear()),h.jf(m),0===m.length?nb(this.a):0<k.length&&k.forEach(function(a){a=x(a);delete this.a[a]},this));else{g.od(a.pixel,function(a,f){if(this.l(a,f)){if(!c&&!e||Ua(h.a, 
    693 a))(d||e)&&Ua(h.a,a)&&(k.push(a),g=x(a),delete this.a[g]);else{m.push(a);var g=x(a);this.a[g]=f}return!this.s}},this,this.o);for(f=k.length-1;0<=f;--f)h.remove(k[f]);h.jf(m);if(0<m.length||0<k.length)n=!0}n&&this.b(new jw("select",m,k,a));return vj(a)}l.setMap=function(a){var c=this.A,d=this.c.da().c;c&&d.forEach(c.ci,c);kw.ia.setMap.call(this,a);this.c.setMap(a);a&&d.forEach(a.ai,a)}; 
    694 function mw(){var a=Pk();Xa(a.Polygon,a.LineString);Xa(a.GeometryCollection,a.LineString);return function(c){return a[c.X().W()]}}l.am=function(a){a=a.element;var c=this.A;c&&c.ai(a)};l.dm=function(a){a=a.element;var c=this.A;c&&c.ci(a)};function nw(a){Bj.call(this,{handleEvent:ow,handleDownEvent:fd,handleUpEvent:pw});a=a?a:{};this.s=a.source?a.source:null;this.o=a.features?a.features:null;this.wa=[];this.D={};this.H={};this.U={};this.B={};this.S=null;this.c=void 0!==a.pixelTolerance?a.pixelTolerance:10;this.na=qw.bind(this);this.a=new Wm;this.aa={Point:this.jm,LineString:this.bh,LinearRing:this.bh,Polygon:this.km,MultiPoint:this.hm,MultiLineString:this.gm,MultiPolygon:this.im,GeometryCollection:this.fm}}y(nw,Bj);l=nw.prototype; 
    695 l.rb=function(a,c){var d=void 0!==c?c:!0,e=a.X(),f=this.aa[e.W()];if(f){var g=x(a);this.U[g]=e.G(yc());f.call(this,a,e);d&&(this.H[g]=D(e,"change",this.pk.bind(this,a),this),this.D[g]=D(a,Ob(a.a),this.em,this))}};l.pj=function(a){this.rb(a)};l.qj=function(a){this.nb(a)};l.$g=function(a){var c;a instanceof gn?c=a.feature:a instanceof Re&&(c=a.element);this.rb(c)};l.ah=function(a){var c;a instanceof gn?c=a.feature:a instanceof Re&&(c=a.element);this.nb(c)}; 
    696 l.em=function(a){a=a.target;this.nb(a,!0);this.rb(a,!0)};l.pk=function(a){if(this.J){var c=x(a);c in this.B||(this.B[c]=a)}else this.di(a)};l.nb=function(a,c){var d=void 0!==c?c:!0,e=x(a),f=this.U[e];if(f){var g=this.a,h=[];an(g,f,function(c){a===c.feature&&h.push(c)});for(f=h.length-1;0<=f;--f)g.remove(h[f]);d&&(Kb(this.H[e]),delete this.H[e],Kb(this.D[e]),delete this.D[e])}}; 
    697 l.setMap=function(a){var c=this.A,d=this.wa,e;this.o?e=this.o:this.s&&(e=this.s.pe());c&&(d.forEach(Kb),d.length=0,e.forEach(this.qj,this));nw.ia.setMap.call(this,a);a&&(this.o?d.push(D(this.o,"add",this.$g,this),D(this.o,"remove",this.ah,this)):this.s&&d.push(D(this.s,"addfeature",this.$g,this),D(this.s,"removefeature",this.ah,this)),e.forEach(this.pj,this))};l.Dc=ed;l.di=function(a){this.nb(a,!1);this.rb(a,!1)}; 
    698 l.fm=function(a,c){var d,e=c.i;for(d=0;d<e.length;++d)this.aa[e[d].W()].call(this,a,e[d])};l.bh=function(a,c){var d=c.Y(),e,f,g,h;e=0;for(f=d.length-1;e<f;++e)g=d.slice(e,e+2),h={feature:a,ka:g},this.a.za(xc(g),h)};l.gm=function(a,c){var d=c.Y(),e,f,g,h,k,m,n;h=0;for(k=d.length;h<k;++h)for(e=d[h],f=0,g=e.length-1;f<g;++f)m=e.slice(f,f+2),n={feature:a,ka:m},this.a.za(xc(m),n)};l.hm=function(a,c){var d=c.Y(),e,f,g;f=0;for(g=d.length;f<g;++f)e=d[f],e={feature:a,ka:[e,e]},this.a.za(c.G(),e)}; 
    699 l.im=function(a,c){var d=c.Y(),e,f,g,h,k,m,n,p,q,r;m=0;for(n=d.length;m<n;++m)for(p=d[m],h=0,k=p.length;h<k;++h)for(e=p[h],f=0,g=e.length-1;f<g;++f)q=e.slice(f,f+2),r={feature:a,ka:q},this.a.za(xc(q),r)};l.jm=function(a,c){var d=c.Y(),d={feature:a,ka:[d,d]};this.a.za(c.G(),d)};l.km=function(a,c){var d=c.Y(),e,f,g,h,k,m,n;h=0;for(k=d.length;h<k;++h)for(e=d[h],f=0,g=e.length-1;f<g;++f)m=e.slice(f,f+2),n={feature:a,ka:m},this.a.za(xc(m),n)}; 
    700 function ow(a){var c,d,e=a.pixel,f=a.coordinate;c=a.map;var g=c.La([e[0]-this.c,e[1]+this.c]);d=c.La([e[0]+this.c,e[1]-this.c]);var g=xc([g,d]),h=Zm(this.a,g),k=!1,g=!1,m=null;d=null;0<h.length&&(this.S=f,h.sort(this.na),h=h[0].ka,m=cc(f,h),d=c.Ta(m),Math.sqrt(hc(e,d))<=this.c&&(g=!0,e=c.Ta(h[0]),f=c.Ta(h[1]),e=hc(d,e),f=hc(d,f),k=Math.sqrt(Math.min(e,f))<=this.c))&&(m=e>f?h[1]:h[0],d=c.Ta(m),d=[Math.round(d[0]),Math.round(d[1])]);c=m;g&&(a.coordinate=c.slice(0,2),a.pixel=d);return Cj.call(this,a)} 
    701 function pw(){var a=ob(this.B);a.length&&(a.forEach(this.di,this),this.B={});return!1}function qw(a,c){return ic(this.S,a.ka)-ic(this.S,c.ka)};function rw(a,c,d){Eb.call(this,a);this.features=c;this.coordinate=d}y(rw,Eb);function sw(a){Bj.call(this,{handleDownEvent:tw,handleDragEvent:uw,handleMoveEvent:vw,handleUpEvent:ww});this.s=void 0;this.a=null;this.c=void 0!==a.features?a.features:null;this.o=null}y(sw,Bj);function tw(a){this.o=xw(this,a.pixel,a.map);return!this.a&&this.o?(this.a=a.coordinate,vw.call(this,a),this.b(new rw("translatestart",this.c,a.coordinate)),!0):!1} 
    702 function ww(a){return this.a?(this.a=null,vw.call(this,a),this.b(new rw("translateend",this.c,a.coordinate)),!0):!1}function uw(a){if(this.a){a=a.coordinate;var c=a[0]-this.a[0],d=a[1]-this.a[1];if(this.c)this.c.forEach(function(a){var e=a.X();e.Rc(c,d);a.Pa(e)});else if(this.o){var e=this.o.X();e.Rc(c,d);this.o.Pa(e)}this.a=a;this.b(new rw("translating",this.c,a))}} 
    703 function vw(a){var c=a.map.tc();if(a=a.map.od(a.pixel,function(a){return a})){var d=!1;this.c&&Ua(this.c.a,a)&&(d=!0);this.s=c.style.cursor;c.style.cursor=this.a?"-webkit-grabbing":d?"-webkit-grab":"pointer";c.style.cursor=this.a?d?"grab":"pointer":"grabbing"}else c.style.cursor=void 0!==this.s?this.s:"",this.s=void 0}function xw(a,c,d){var e=null;c=d.od(c,function(a){return a});a.c&&Ua(a.c.a,c)&&(e=c);return e};function X(a){a=a?a:{};var c=mb({},a);delete c.gradient;delete c.radius;delete c.blur;delete c.shadow;delete c.weight;H.call(this,c);this.i=null;this.aa=void 0!==a.shadow?a.shadow:250;this.U=void 0;this.S=null;D(this,Ob("gradient"),this.qk,this);this.Rh(a.gradient?a.gradient:yw);this.Mh(void 0!==a.blur?a.blur:15);this.fh(void 0!==a.radius?a.radius:8);D(this,Ob("blur"),this.ef,this);D(this,Ob("radius"),this.ef,this);this.ef();var d=a.weight?a.weight:"weight",e;"string"===typeof d?e=function(a){return a.get(d)}: 
    704 e=d;this.c(function(a){a=e(a);a=void 0!==a?La(a,0,1):1;var c=255*a|0,d=this.S[c];d||(d=[new Kk({image:new Wi({opacity:a,src:this.U})})],this.S[c]=d);return d}.bind(this));this.set("renderOrder",null);D(this,"render",this.Hk,this)}y(X,H);var yw=["#00f","#0ff","#0f0","#ff0","#f00"];l=X.prototype;l.og=function(){return this.get("blur")};l.wg=function(){return this.get("gradient")};l.eh=function(){return this.get("radius")}; 
    705 l.qk=function(){for(var a=this.wg(),c=nh(1,256),d=c.createLinearGradient(0,0,1,256),e=1/(a.length-1),f=0,g=a.length;f<g;++f)d.addColorStop(f*e,a[f]);c.fillStyle=d;c.fillRect(0,0,1,256);this.i=c.getImageData(0,0,1,256).data};l.ef=function(){var a=this.eh(),c=this.og(),d=a+c+1,e=2*d,e=nh(e,e);e.shadowOffsetX=e.shadowOffsetY=this.aa;e.shadowBlur=c;e.shadowColor="#000";e.beginPath();c=d-this.aa;e.arc(c,c,a,0,2*Math.PI,!0);e.fill();this.U=e.canvas.toDataURL();this.S=Array(256);this.u()}; 
    706 l.Hk=function(a){a=a.context;var c=a.canvas,c=a.getImageData(0,0,c.width,c.height),d=c.data,e,f,g;e=0;for(f=d.length;e<f;e+=4)if(g=4*d[e+3])d[e]=this.i[g],d[e+1]=this.i[g+1],d[e+2]=this.i[g+2];a.putImageData(c,0,0)};l.Mh=function(a){this.set("blur",a)};l.Rh=function(a){this.set("gradient",a)};l.fh=function(a){this.set("radius",a)};function zw(a,c,d,e){function f(){delete aa[h];g.parentNode.removeChild(g)}var g=aa.document.createElement("script"),h="olc_"+x(c);g.async=!0;g.src=a+(-1==a.indexOf("?")?"?":"&")+(e||"callback")+"="+h;var k=aa.setTimeout(function(){f();d&&d()},1E4);aa[h]=function(a){aa.clearTimeout(k);f();c(a)};aa.document.getElementsByTagName("head")[0].appendChild(g)};function Aw(a,c,d,e,f,g,h,k,m,n,p){pg.call(this,f,0);this.J=void 0!==p?p:!1;this.B=h;this.T=k;this.i=null;this.c={};this.j=c;this.o=e;this.s=g?g:f;this.g=[];this.Wc=null;this.l=0;g=e.Ca(this.s);k=this.o.G();f=this.j.G();g=k?$c(g,k):g;if(0===Tc(g))this.state=4;else if((k=a.G())&&(f?f=$c(f,k):f=k),e=e.Z(this.s[0]),e=Il(a,d,Yc(g),e),!isFinite(e)||0>=e)this.state=4;else if(this.A=new Ll(a,d,g,f,e*(void 0!==n?n:.5)),0===this.A.f.length)this.state=4;else if(this.l=Dg(c,e),d=Nl(this.A),f&&(a.b?(d[1]=La(d[1], 
    707 f[1],f[3]),d[3]=La(d[3],f[1],f[3])):d=$c(d,f)),Tc(d))if(a=yg(c,d,this.l),100>(a.va-a.ra+1)*(a.Aa-a.xa+1)){for(c=a.ra;c<=a.va;c++)for(d=a.xa;d<=a.Aa;d++)(n=m(this.l,c,d,h))&&this.g.push(n);0===this.g.length&&(this.state=4)}else this.state=3;else this.state=4}y(Aw,pg);Aw.prototype.fa=function(){1==this.state&&(this.Wc.forEach(sb),this.Wc=null);Aw.ia.fa.call(this)}; 
    708 Aw.prototype.cb=function(a){if(void 0!==a){var c=x(a);if(c in this.c)return this.c[c];a=pb(this.c)?this.i:this.i.cloneNode(!1);return this.c[c]=a}return this.i}; 
    709 Aw.prototype.Bd=function(){var a=[];this.g.forEach(function(c){c&&2==c.V()&&a.push({extent:this.j.Ca(c.ga),image:c.cb()})},this);this.g.length=0;if(0===a.length)this.state=3;else{var c=this.s[0],d=this.o.Ua(c),e=ja(d)?d:d[0],d=ja(d)?d:d[1],c=this.o.Z(c),f=this.j.Z(this.l),g=this.o.Ca(this.s);this.i=Kl(e,d,this.B,f,this.j.G(),c,g,this.A,a,this.T,this.J);this.state=2}qg(this)}; 
    710 Aw.prototype.load=function(){if(0==this.state){this.state=1;qg(this);var a=0;this.Wc=[];this.g.forEach(function(c){var d=c.V();if(0==d||1==d){a++;var e;e=D(c,"change",function(){var d=c.V();if(2==d||3==d||4==d)sb(e),a--,0===a&&(this.Wc.forEach(sb),this.Wc=null,this.Bd())},this);this.Wc.push(e)}},this);this.g.forEach(function(a){0==a.V()&&a.load()});0===a&&aa.setTimeout(this.Bd.bind(this),0)}};function Y(a){un.call(this,{attributions:a.attributions,extent:a.extent,logo:a.logo,opaque:a.opaque,projection:a.projection,state:a.state,tileGrid:a.tileGrid,tileLoadFunction:a.tileLoadFunction?a.tileLoadFunction:Bw,tilePixelRatio:a.tilePixelRatio,tileUrlFunction:a.tileUrlFunction,url:a.url,urls:a.urls,wrapX:a.wrapX});this.crossOrigin=void 0!==a.crossOrigin?a.crossOrigin:null;this.tileClass=void 0!==a.tileClass?a.tileClass:tv;this.i={};this.o={};this.oa=a.reprojectionErrorThreshold;this.B=!1} 
    711 y(Y,un);l=Y.prototype;l.lh=function(){if(ng(this.a))return!0;for(var a in this.i)if(ng(this.i[a]))return!0;return!1};l.mh=function(a,c){var d=this.td(a);og(this.a,this.a==d?c:{});for(var e in this.i){var f=this.i[e];og(f,f==d?c:{})}};l.Ud=function(a){return this.f&&a&&!Hd(this.f,a)?0:this.af()};l.af=function(){return 0};l.Wd=function(a){return this.f&&a&&!Hd(this.f,a)?!1:Y.ia.Wd.call(this,a)}; 
    712 l.Za=function(a){var c=this.f;return!this.tileGrid||c&&!Hd(c,a)?(c=x(a).toString(),c in this.o||(this.o[c]=Eg(a)),this.o[c]):this.tileGrid};l.td=function(a){var c=this.f;if(!c||Hd(c,a))return this.a;a=x(a).toString();a in this.i||(this.i[a]=new mg);return this.i[a]};function Cw(a,c,d,e,f,g,h){c=[c,d,e];f=(d=Lg(a,c,g))?a.tileUrlFunction(d,f,g):void 0;f=new a.tileClass(c,void 0!==f?0:4,void 0!==f?f:"",a.crossOrigin,a.tileLoadFunction);f.key=h;D(f,"change",a.nh,a);return f} 
    713 l.Qb=function(a,c,d,e,f){if(this.f&&f&&!Hd(this.f,f)){var g=this.td(f);c=[a,c,d];a=this.Db.apply(this,c);if(lg(g,a))return g.get(a);var h=this.f;d=this.Za(h);var k=this.Za(f),m=Lg(this,c,f);e=new Aw(h,d,f,k,c,m,this.uc(e),this.af(),function(a,c,d,e){return Dw(this,a,c,d,e,h)}.bind(this),this.oa,this.B);g.set(a,e);return e}return Dw(this,a,c,d,e,f)}; 
    714 function Dw(a,c,d,e,f,g){var h=null,k=a.Db(c,d,e),m=a.bf();if(lg(a.a,k)){if(h=a.a.get(k),h.key!=m){var n=h;h.a&&h.a.key==m?(h=h.a,2==n.V()&&(h.a=n)):(h=Cw(a,c,d,e,f,g,m),2==n.V()?h.a=n:n.a&&2==n.a.V()&&(h.a=n.a,n.a=null));h.a&&(h.a.a=null);a.a.replace(k,h)}}else h=Cw(a,c,d,e,f,g,m),a.a.set(k,h);return h}l.zb=function(a){if(this.B!=a){this.B=a;for(var c in this.i)this.i[c].clear();this.u()}};l.Ab=function(a,c){var d=qd(a);d&&(d=x(d).toString(),d in this.o||(this.o[d]=c))}; 
    715 function Bw(a,c){a.cb().src=c};function Ew(a){Y.call(this,{crossOrigin:"anonymous",opaque:!0,projection:qd("EPSG:3857"),reprojectionErrorThreshold:a.reprojectionErrorThreshold,state:"loading",tileLoadFunction:a.tileLoadFunction,wrapX:void 0!==a.wrapX?a.wrapX:!0});this.l=void 0!==a.culture?a.culture:"en-us";this.c=void 0!==a.maxZoom?a.maxZoom:-1;zw("https://dev.virtualearth.net/REST/v1/Imagery/Metadata/"+a.imagerySet+"?uriScheme=https&include=ImageryProviders&key="+a.key,this.s.bind(this),void 0,"jsonp")}y(Ew,Y);var Fw=new Qe({html:'<a class="ol-attribution-bing-tos" href="http://www.microsoft.com/maps/product/terms.html">Terms of Use</a>'}); 
    716 Ew.prototype.s=function(a){if(200!=a.statusCode||"OK"!=a.statusDescription||"ValidCredentials"!=a.authenticationResultCode||1!=a.resourceSets.length||1!=a.resourceSets[0].resources.length)tg(this,"error");else{var c=a.brandLogoUri;-1==c.indexOf("https")&&(c=c.replace("http","https"));var d=a.resourceSets[0].resources[0],e=-1==this.c?d.zoomMax:this.c;a=Fg(this.f);var f=Hg({extent:a,minZoom:d.zoomMin,maxZoom:e,tileSize:d.imageWidth==d.imageHeight?d.imageWidth:[d.imageWidth,d.imageHeight]});this.tileGrid= 
    717 f;var g=this.l;this.tileUrlFunction=rn(d.imageUrlSubdomains.map(function(a){var c=[0,0,0],e=d.imageUrl.replace("{subdomain}",a).replace("{culture}",g);return function(a){if(a)return Ke(a[0],a[1],-a[2]-1,c),e.replace("{quadkey}",Le(c))}}));if(d.imageryProviders){var h=ud(qd("EPSG:4326"),this.f);a=d.imageryProviders.map(function(a){var c=a.attribution,d={};a.coverageAreas.forEach(function(a){var c=a.zoomMin,g=Math.min(a.zoomMax,e);a=a.bbox;a=cd([a[1],a[0],a[3],a[2]],h);var k,m;for(k=c;k<=g;++k)m=k.toString(), 
    718 c=yg(f,a,k),m in d?d[m].push(c):d[m]=[c]});return new Qe({html:c,tileRanges:d})});a.push(Fw);this.ma(a)}this.D=c;tg(this,"ready")}};function Gw(a){bn.call(this,{attributions:a.attributions,extent:a.extent,logo:a.logo,projection:a.projection,wrapX:a.wrapX});this.B=void 0;this.U=void 0!==a.distance?a.distance:20;this.A=[];this.s=a.source;this.s.I("change",Gw.prototype.na,this)}y(Gw,bn);Gw.prototype.aa=function(){return this.s};Gw.prototype.Oc=function(a,c,d){this.s.Oc(a,c,d);c!==this.B&&(this.clear(),this.B=c,Hw(this),this.Gc(this.A))};Gw.prototype.na=function(){this.clear();Hw(this);this.Gc(this.A);this.u()}; 
    719 function Hw(a){if(void 0!==a.B){a.A.length=0;for(var c=yc(),d=a.U*a.B,e=a.s.pe(),f={},g=0,h=e.length;g<h;g++){var k=e[g];x(k).toString()in f||(k=k.X().Y(),Jc(k,c),Ac(c,d,c),k=a.s.$e(c),k=k.filter(function(a){a=x(a).toString();return a in f?!1:f[a]=!0}),a.A.push(Iw(k)))}}}function Iw(a){for(var c=a.length,d=[0,0],e=0;e<c;e++){var f=a[e].X().Y();bc(d,f)}c=1/c;d[0]*=c;d[1]*=c;d=new Xl(new E(d));d.set("features",a);return d};function Jw(a){Pl.call(this,{projection:a.projection,resolutions:a.resolutions});this.U=void 0!==a.crossOrigin?a.crossOrigin:null;this.o=void 0!==a.displayDpi?a.displayDpi:96;this.j=a.params||{};this.S=a.url;this.c=void 0!==a.imageLoadFunction?a.imageLoadFunction:Vl;this.aa=void 0!==a.hidpi?a.hidpi:!0;this.oa=void 0!==a.metersPerUnit?a.metersPerUnit:1;this.s=void 0!==a.ratio?a.ratio:1;this.ya=void 0!==a.useOverlay?a.useOverlay:!1;this.i=null;this.H=0}y(Jw,Pl);l=Jw.prototype;l.tm=function(){return this.j}; 
    720 l.pd=function(a,c,d){c=Ql(this,c);d=this.aa?d:1;var e=this.i;if(e&&this.H==this.g&&e.Z()==c&&e.f==d&&Gc(e.G(),a))return e;1!=this.s&&(a=a.slice(),bd(a,this.s));var f=[Wc(a)/c*d,Xc(a)/c*d];if(void 0!==this.S){var e=this.S,g=Yc(a),h=this.oa,k=Wc(a),m=Xc(a),n=f[0],p=f[1],q=.0254/this.o,f={OPERATION:this.ya?"GETDYNAMICMAPOVERLAYIMAGE":"GETMAPIMAGE",VERSION:"2.0.0",LOCALE:"en",CLIENTAGENT:"ol.source.ImageMapGuide source",CLIP:"1",SETDISPLAYDPI:this.o,SETDISPLAYWIDTH:Math.round(f[0]),SETDISPLAYHEIGHT:Math.round(f[1]), 
    721 SETVIEWSCALE:p*k>n*m?k*h/(n*q):m*h/(p*q),SETVIEWCENTERX:g[0],SETVIEWCENTERY:g[1]};mb(f,this.j);e=Xq(Zq([e],f));e=new sv(a,c,d,this.ea(),e,this.U,this.c);D(e,"change",this.l,this)}else e=null;this.i=e;this.H=this.g;return e};l.sm=function(){return this.c};l.vm=function(a){mb(this.j,a);this.u()};l.um=function(a){this.i=null;this.c=a;this.u()};function Kw(a){var c=void 0!==a.attributions?a.attributions:null,d=a.imageExtent,e=void 0!==a.crossOrigin?a.crossOrigin:null,f=void 0!==a.imageLoadFunction?a.imageLoadFunction:Vl;Pl.call(this,{attributions:c,logo:a.logo,projection:qd(a.projection)});this.c=new sv(d,void 0,1,c,a.url,e,f);this.i=a.imageSize?a.imageSize:null;D(this.c,"change",this.l,this)}y(Kw,Pl);Kw.prototype.pd=function(a){return ad(a,this.c.G())?this.c:null}; 
    722 Kw.prototype.l=function(a){if(2==this.c.V()){var c=this.c.G(),d=this.c.a(),e,f;this.i?(e=this.i[0],f=this.i[1]):(e=d.width,f=d.height);c=Math.ceil(Wc(c)/(Xc(c)/f));if(c!=e){var g=document.createElement("canvas");g.width=c;g.height=f;g.getContext("2d").drawImage(d,0,0,e,f,0,0,g.width,g.height);this.c.g=g}}Kw.ia.l.call(this,a)};function Lw(a){a=a||{};Pl.call(this,{attributions:a.attributions,logo:a.logo,projection:a.projection,resolutions:a.resolutions});this.oa=void 0!==a.crossOrigin?a.crossOrigin:null;this.j=a.url;this.H=void 0!==a.imageLoadFunction?a.imageLoadFunction:Vl;this.i=a.params||{};this.s=!0;Mw(this);this.aa=a.serverType;this.ya=void 0!==a.hidpi?a.hidpi:!0;this.c=null;this.S=[0,0];this.U=0;this.o=void 0!==a.ratio?a.ratio:1.5}y(Lw,Pl);var Nw=[101,101];l=Lw.prototype; 
    723 l.Bm=function(a,c,d,e){if(void 0!==this.j){var f=Zc(a,c,0,Nw),g={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetFeatureInfo",FORMAT:"image/png",TRANSPARENT:!0,QUERY_LAYERS:this.i.LAYERS};mb(g,this.i,e);e=Math.floor((f[3]-a[1])/c);g[this.s?"I":"X"]=Math.floor((a[0]-f[0])/c);g[this.s?"J":"Y"]=e;return Ow(this,f,Nw,1,qd(d),g)}};l.Dm=function(){return this.i}; 
    724 l.pd=function(a,c,d,e){if(void 0===this.j)return null;c=Ql(this,c);1==d||this.ya&&void 0!==this.aa||(d=1);a=a.slice();var f=(a[0]+a[2])/2,g=(a[1]+a[3])/2,h=c/d,k=Wc(a)/h,h=Xc(a)/h,m=this.c;if(m&&this.U==this.g&&m.Z()==c&&m.f==d&&Gc(m.G(),a))return m;if(1!=this.o){var m=this.o*Wc(a)/2,n=this.o*Xc(a)/2;a[0]=f-m;a[1]=g-n;a[2]=f+m;a[3]=g+n}f={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0};mb(f,this.i);this.S[0]=Math.ceil(k*this.o);this.S[1]=Math.ceil(h*this.o);e=Ow(this, 
    725 a,this.S,d,e,f);this.c=new sv(a,c,d,this.ea(),e,this.oa,this.H);this.U=this.g;D(this.c,"change",this.l,this);return this.c};l.Cm=function(){return this.H}; 
    726 function Ow(a,c,d,e,f,g){g[a.s?"CRS":"SRS"]=f.lb;"STYLES"in a.i||(g.STYLES=new String(""));if(1!=e)switch(a.aa){case "geoserver":e=90*e+.5|0;g.FORMAT_OPTIONS="FORMAT_OPTIONS"in g?g.FORMAT_OPTIONS+(";dpi:"+e):"dpi:"+e;break;case "mapserver":g.MAP_RESOLUTION=90*e;break;case "carmentaserver":case "qgis":g.DPI=90*e}g.WIDTH=d[0];g.HEIGHT=d[1];d=f.f;var h;a.s&&"ne"==d.substr(0,2)?h=[c[1],c[0],c[3],c[2]]:h=c;g.BBOX=h.join(",");return Xq(Zq([a.j],g))}l.Em=function(){return this.j}; 
    727 l.Fm=function(a){this.c=null;this.H=a;this.u()};l.Gm=function(a){a!=this.j&&(this.j=a,this.c=null,this.u())};l.Hm=function(a){mb(this.i,a);Mw(this);this.c=null;this.u()};function Mw(a){a.s=0<=Ja(a.i.VERSION||"1.3.0","1.3")};function Pw(a){var c=void 0!==a.projection?a.projection:"EPSG:3857",d=void 0!==a.tileGrid?a.tileGrid:Hg({extent:Fg(c),maxZoom:a.maxZoom,tileSize:a.tileSize});Y.call(this,{attributions:a.attributions,crossOrigin:a.crossOrigin,logo:a.logo,opaque:a.opaque,projection:c,reprojectionErrorThreshold:a.reprojectionErrorThreshold,tileGrid:d,tileLoadFunction:a.tileLoadFunction,tilePixelRatio:a.tilePixelRatio,tileUrlFunction:a.tileUrlFunction,url:a.url,urls:a.urls,wrapX:void 0!==a.wrapX?a.wrapX:!0})}y(Pw,Y);function Qw(a){a=a||{};var c;void 0!==a.attributions?c=a.attributions:c=[Rw];Pw.call(this,{attributions:c,crossOrigin:void 0!==a.crossOrigin?a.crossOrigin:"anonymous",opaque:void 0!==a.opaque?a.opaque:!0,maxZoom:void 0!==a.maxZoom?a.maxZoom:19,reprojectionErrorThreshold:a.reprojectionErrorThreshold,tileLoadFunction:a.tileLoadFunction,url:void 0!==a.url?a.url:"https://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png",wrapX:a.wrapX})}y(Qw,Pw);var Rw=new Qe({html:'&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors.'});function Sw(a){a=a||{};var c=Tw[a.layer];this.c=a.layer;Pw.call(this,{attributions:c.attributions,crossOrigin:"anonymous",logo:"https://developer.mapquest.com/content/osm/mq_logo.png",maxZoom:c.maxZoom,reprojectionErrorThreshold:a.reprojectionErrorThreshold,opaque:c.opaque,tileLoadFunction:a.tileLoadFunction,url:void 0!==a.url?a.url:"https://otile{1-4}-s.mqcdn.com/tiles/1.0.0/"+this.c+"/{z}/{x}/{y}.jpg"})}y(Sw,Pw); 
    728 var Uw=new Qe({html:'Tiles Courtesy of <a href="http://www.mapquest.com/">MapQuest</a>'}),Tw={osm:{maxZoom:19,opaque:!0,attributions:[Uw,Rw]},sat:{maxZoom:18,opaque:!0,attributions:[Uw,new Qe({html:"Portions Courtesy NASA/JPL-Caltech and U.S. Depart. of Agriculture, Farm Service Agency"})]},hyb:{maxZoom:18,opaque:!1,attributions:[Uw,Rw]}};Sw.prototype.l=function(){return this.c};(function(){var a={},c={ja:a};(function(d){if("object"===typeof a&&"undefined"!==typeof c)c.ja=d();else{var e;"undefined"!==typeof window?e=window:"undefined"!==typeof global?e=global:"undefined"!==typeof self?e=self:e=this;e.ip=d()}})(function(){return function e(a,c,h){function k(n,q){if(!c[n]){if(!a[n]){var r="function"==typeof require&&require;if(!q&&r)return r(n,!0);if(m)return m(n,!0);r=Error("Cannot find module '"+n+"'");throw r.code="MODULE_NOT_FOUND",r;}r=c[n]={ja:{}};a[n][0].call(r.ja,function(c){var e= 
    729 a[n][1][c];return k(e?e:c)},r,r.ja,e,a,c,h)}return c[n].ja}for(var m="function"==typeof require&&require,n=0;n<h.length;n++)k(h[n]);return k}({1:[function(a,c,g){a=a("./processor");g.Hi=a},{"./processor":2}],2:[function(a,c){function g(a){return function(c){var e=c.buffers,f=c.meta,g=c.width,h=c.height,k=e.length,m=e[0].byteLength,B;if(c.imageOps){m=Array(k);for(B=0;B<k;++B)m[B]=new ImageData(new Uint8ClampedArray(e[B]),g,h);g=a(m,f).data}else{g=new Uint8ClampedArray(m);h=Array(k);c=Array(k);for(B= 
    730 0;B<k;++B)h[B]=new Uint8ClampedArray(e[B]),c[B]=[0,0,0,0];for(e=0;e<m;e+=4){for(B=0;B<k;++B){var z=h[B];c[B][0]=z[e];c[B][1]=z[e+1];c[B][2]=z[e+2];c[B][3]=z[e+3]}B=a(c,f);g[e]=B[0];g[e+1]=B[1];g[e+2]=B[2];g[e+3]=B[3]}}return g.buffer}}function h(a,c){var e=Object.keys(a.lib||{}).map(function(c){return"var "+c+" = "+a.lib[c].toString()+";"}).concat(["var __minion__ = ("+g.toString()+")(",a.operation.toString(),");",'self.addEventListener("message", function(__event__) {',"var buffer = __minion__(__event__.data);", 
    731 "self.postMessage({buffer: buffer, meta: __event__.data.meta}, [buffer]);","});"]),e=URL.createObjectURL(new Blob(e,{type:"text/javascript"})),e=new Worker(e);e.addEventListener("message",c);return e}function k(a,c){var e=g(a.operation);return{postMessage:function(a){setTimeout(function(){c({data:{buffer:e(a),ge:a.ge}})},0)}}}function m(a){this.Pe=!!a.Pk;var c;0===a.threads?c=0:this.Pe?c=1:c=a.threads||1;var e=[];if(c)for(var f=0;f<c;++f)e[f]=h(a,this.Zf.bind(this,f));else e[0]=k(a,this.Zf.bind(this, 
    732 0));this.Nd=e;this.ad=[];this.Wi=a.Kn||Infinity;this.Ld=0;this.Fc={};this.Qe=null}m.prototype.In=function(a,c,e){this.Ti({wc:a,ge:c,gg:e});this.Wf()};m.prototype.Ti=function(a){for(this.ad.push(a);this.ad.length>this.Wi;)this.ad.shift().gg(null,null)};m.prototype.Wf=function(){if(0===this.Ld&&0<this.ad.length){var a=this.Qe=this.ad.shift(),c=a.wc[0].width,e=a.wc[0].height,f=a.wc.map(function(a){return a.data.buffer}),g=this.Nd.length;this.Ld=g;if(1===g)this.Nd[0].postMessage({buffers:f,meta:a.ge, 
    733 imageOps:this.Pe,width:c,height:e},f);else for(var h=4*Math.ceil(a.wc[0].data.length/4/g),k=0;k<g;++k){for(var m=k*h,B=[],z=0,C=f.length;z<C;++z)B.push(f[k].slice(m,m+h));this.Nd[k].postMessage({buffers:B,meta:a.ge,imageOps:this.Pe,width:c,height:e},B)}}};m.prototype.Zf=function(a,c){this.ep||(this.Fc[a]=c.data,--this.Ld,0===this.Ld&&this.Xi())};m.prototype.Xi=function(){var a=this.Qe,c=this.Nd.length,e,f;if(1===c)e=new Uint8ClampedArray(this.Fc[0].buffer),f=this.Fc[0].meta;else{var g=a.wc[0].data.length; 
    734 e=new Uint8ClampedArray(g);f=Array(g);for(var g=4*Math.ceil(g/4/c),h=0;h<c;++h){var k=h*g;e.set(new Uint8ClampedArray(this.Fc[h].buffer),k);f[h]=this.Fc[h].meta}}this.Qe=null;this.Fc={};a.gg(null,new ImageData(e,a.wc[0].width,a.wc[0].height),f);this.Wf()};c.ja=m},{}]},{},[1])(1)});Vm=c.ja})();function Vw(a){this.H=null;this.ya=void 0!==a.operationType?a.operationType:"pixel";this.qb=void 0!==a.threads?a.threads:1;this.c=Ww(a.sources);for(var c=0,d=this.c.length;c<d;++c)D(this.c[c],"change",this.u,this);this.i=nh();this.aa=new jj(function(){return 1},this.u.bind(this));for(var c=Xw(this.c),d={},e=0,f=c.length;e<f;++e)d[x(c[e].layer)]=c[e];this.j=this.o=null;this.U={animate:!1,attributions:{},coordinateToPixelMatrix:nc(),extent:null,focus:null,index:0,layerStates:d,layerStatesArray:c,logos:{}, 
    735 pixelRatio:1,pixelToCoordinateMatrix:nc(),postRenderFunctions:[],size:[0,0],skippedFeatureUids:{},tileQueue:this.aa,time:Date.now(),usedTiles:{},viewState:{rotation:0},viewHints:[],wantedTiles:{}};Pl.call(this,{});void 0!==a.operation&&this.s(a.operation,a.lib)}y(Vw,Pl);Vw.prototype.s=function(a,c){this.H=new Vm.Hi({operation:a,Pk:"image"===this.ya,Kn:1,lib:c,threads:this.qb});this.u()};function Yw(a,c,d){var e=a.o;return!e||a.g!==e.oo||d!==e.resolution||!Mc(c,e.extent)} 
    736 Vw.prototype.B=function(a,c,d,e){d=!0;for(var f,g=0,h=this.c.length;g<h;++g)if(f=this.c[g].a.da(),"ready"!==f.V()){d=!1;break}if(!d)return null;if(!Yw(this,a,c))return this.j;d=this.i.canvas;f=Math.round(Wc(a)/c);g=Math.round(Xc(a)/c);if(f!==d.width||g!==d.height)d.width=f,d.height=g;f=mb({},this.U);f.viewState=mb({},f.viewState);var g=Yc(a),h=Math.round(Wc(a)/c),k=Math.round(Xc(a)/c);f.extent=a;f.focus=Yc(a);f.size[0]=h;f.size[1]=k;h=f.viewState;h.center=g;h.projection=e;h.resolution=c;this.j=e= 
    737 new Gl(a,c,1,this.ea(),d,this.S.bind(this,f));this.o={extent:a,resolution:c,oo:this.g};return e}; 
    738 Vw.prototype.S=function(a,c){for(var d=this.c.length,e=Array(d),f=0;f<d;++f){var g;g=this.c[f];var h=a,k=a.layerStatesArray[f];if(g.l(h,k)){var m=h.size[0],n=h.size[1];if(Zw){var p=Zw.canvas;p.width!==m||p.height!==n?Zw=nh(m,n):Zw.clearRect(0,0,m,n)}else Zw=nh(m,n);g.c(h,k,Zw);g=Zw.getImageData(0,0,m,n)}else g=null;if(g)e[f]=g;else return}d={};this.b(new $w(ax,a,d));this.H.In(e,d,this.oa.bind(this,a,c));kj(a.tileQueue,16,16)}; 
    739 Vw.prototype.oa=function(a,c,d,e,f){d?c(d):e&&(this.b(new $w(bx,a,f)),Yw(this,a.extent,a.viewState.resolution/a.pixelRatio)||this.i.putImageData(e,0,0),c(null))};var Zw=null;function Xw(a){return a.map(function(a){return Ci(a.a)})}function Ww(a){for(var c=a.length,d=Array(c),e=0;e<c;++e){var f=e,g=a[e],h=null;g instanceof Ig?(g=new G({source:g}),h=new nn(g)):g instanceof Pl&&(g=new vk({source:g}),h=new mn(g));d[f]=h}return d} 
    740 function $w(a,c,d){Eb.call(this,a);this.extent=c.extent;this.resolution=c.viewState.resolution/c.pixelRatio;this.data=d}y($w,Eb);var ax="beforeoperations",bx="afteroperations";var cx={terrain:{tb:"jpg",opaque:!0},"terrain-background":{tb:"jpg",opaque:!0},"terrain-labels":{tb:"png",opaque:!1},"terrain-lines":{tb:"png",opaque:!1},"toner-background":{tb:"png",opaque:!0},toner:{tb:"png",opaque:!0},"toner-hybrid":{tb:"png",opaque:!1},"toner-labels":{tb:"png",opaque:!1},"toner-lines":{tb:"png",opaque:!1},"toner-lite":{tb:"png",opaque:!0},watercolor:{tb:"jpg",opaque:!0}},dx={terrain:{minZoom:4,maxZoom:18},toner:{minZoom:0,maxZoom:20},watercolor:{minZoom:3,maxZoom:16}}; 
    741 function ex(a){var c=a.layer.indexOf("-"),c=-1==c?a.layer:a.layer.slice(0,c),d=cx[a.layer];Pw.call(this,{attributions:fx,crossOrigin:"anonymous",maxZoom:dx[c].maxZoom,opaque:d.opaque,reprojectionErrorThreshold:a.reprojectionErrorThreshold,tileLoadFunction:a.tileLoadFunction,url:void 0!==a.url?a.url:"https://stamen-tiles-{a-d}.a.ssl.fastly.net/"+a.layer+"/{z}/{x}/{y}."+d.tb})}y(ex,Pw); 
    742 var fx=[new Qe({html:'Map tiles by <a href="http://stamen.com/">Stamen Design</a>, under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.'}),Rw];function gx(a){a=a||{};Y.call(this,{attributions:a.attributions,crossOrigin:a.crossOrigin,logo:a.logo,projection:a.projection,reprojectionErrorThreshold:a.reprojectionErrorThreshold,tileGrid:a.tileGrid,tileLoadFunction:a.tileLoadFunction,url:a.url,urls:a.urls,wrapX:void 0!==a.wrapX?a.wrapX:!0});this.c=a.params||{};this.l=yc()}y(gx,Y);gx.prototype.s=function(){return this.c};gx.prototype.uc=function(a){return a}; 
    743 gx.prototype.qc=function(a,c,d){var e=this.tileGrid;e||(e=this.Za(d));if(!(e.Pb().length<=a[0])){var f=e.Ca(a,this.l),g=Sb(e.Ua(a[0]),this.j);1!=c&&(g=Rb(g,c,this.j));e={F:"image",FORMAT:"PNG32",TRANSPARENT:!0};mb(e,this.c);var h=this.urls;h?(d=d.lb.split(":").pop(),e.SIZE=g[0]+","+g[1],e.BBOX=f.join(","),e.BBOXSR=d,e.IMAGESR=d,e.DPI=Math.round(e.DPI?e.DPI*c:90*c),a=(1==h.length?h[0]:h[$b((a[1]<<a[0])+a[2],h.length)]).replace(/MapServer\/?$/,"MapServer/export").replace(/ImageServer\/?$/,"ImageServer/exportImage"), 
    744 a=Xq(Zq([a],e))):a=void 0;return a}};gx.prototype.A=function(a){mb(this.c,a);this.u()};function hx(a,c,d){pg.call(this,a,2);this.i=c;this.c=d;this.g={}}y(hx,pg);hx.prototype.cb=function(a){a=void 0!==a?x(a):-1;if(a in this.g)return this.g[a];var c=this.i,d=nh(c[0],c[1]);d.strokeStyle="black";d.strokeRect(.5,.5,c[0]+.5,c[1]+.5);d.fillStyle="black";d.textAlign="center";d.textBaseline="middle";d.font="24px sans-serif";d.fillText(this.c,c[0]/2,c[1]/2);return this.g[a]=d.canvas}; 
    745 function ix(a){Ig.call(this,{opaque:!1,projection:a.projection,tileGrid:a.tileGrid,wrapX:void 0!==a.wrapX?a.wrapX:!0})}y(ix,Ig);ix.prototype.Qb=function(a,c,d){var e=this.Db(a,c,d);if(lg(this.a,e))return this.a.get(e);var f=Sb(this.tileGrid.Ua(a));a=[a,c,d];c=(c=Lg(this,a))?Lg(this,c).toString():"";f=new hx(a,f,c);this.a.set(e,f);return f};function jx(a){Y.call(this,{attributions:a.attributions,crossOrigin:a.crossOrigin,projection:qd("EPSG:3857"),reprojectionErrorThreshold:a.reprojectionErrorThreshold,state:"loading",tileLoadFunction:a.tileLoadFunction,wrapX:void 0!==a.wrapX?a.wrapX:!0});if(a.jsonp)zw(a.url,this.l.bind(this),this.c.bind(this));else{var c=new XMLHttpRequest;c.open("GET",a.url,!0);c.onload=function(){if(200<=c.status&&300>c.status){var a=JSON.parse(c.responseText);this.l(a)}else this.c()}.bind(this);c.send()}}y(jx,Y); 
    746 jx.prototype.l=function(a){var c=qd("EPSG:4326"),d=this.f,e;void 0!==a.bounds&&(e=cd(a.bounds,ud(c,d)));var f=a.minzoom||0,g=a.maxzoom||22;this.tileGrid=d=Hg({extent:Fg(d),maxZoom:g,minZoom:f});this.tileUrlFunction=qn(a.tiles,d);if(void 0!==a.attribution&&!this.ea()){c=void 0!==e?e:c.G();e={};for(var h;f<=g;++f)h=f.toString(),e[h]=[yg(d,c,f)];this.ma([new Qe({html:a.attribution,tileRanges:e})])}tg(this,"ready")};jx.prototype.c=function(){tg(this,"error")};function kx(a){Ig.call(this,{projection:qd("EPSG:3857"),state:"loading"});this.l=void 0!==a.preemptive?a.preemptive:!0;this.i=sn;this.c=void 0;zw(a.url,this.Jm.bind(this))}y(kx,Ig);l=kx.prototype;l.bk=function(){return this.c};l.oj=function(a,c,d,e,f){this.tileGrid?(c=this.tileGrid.$d(a,c),lx(this.Qb(c[0],c[1],c[2],1,this.f),a,d,e,f)):!0===f?bh(function(){d.call(e,null)}):d.call(e,null)}; 
    747 l.Jm=function(a){var c=qd("EPSG:4326"),d=this.f,e;void 0!==a.bounds&&(e=cd(a.bounds,ud(c,d)));var f=a.minzoom||0,g=a.maxzoom||22;this.tileGrid=d=Hg({extent:Fg(d),maxZoom:g,minZoom:f});this.c=a.template;var h=a.grids;if(h){this.i=qn(h,d);if(void 0!==a.attribution){c=void 0!==e?e:c.G();for(e={};f<=g;++f)h=f.toString(),e[h]=[yg(d,c,f)];this.ma([new Qe({html:a.attribution,tileRanges:e})])}tg(this,"ready")}else tg(this,"error")}; 
    748 l.Qb=function(a,c,d,e,f){var g=this.Db(a,c,d);if(lg(this.a,g))return this.a.get(g);a=[a,c,d];c=Lg(this,a,f);e=this.i(c,e,f);e=new mx(a,void 0!==e?0:4,void 0!==e?e:"",this.tileGrid.Ca(a),this.l);this.a.set(g,e);return e};l.Of=function(a,c,d){a=this.Db(a,c,d);lg(this.a,a)&&this.a.get(a)};function mx(a,c,d,e,f){pg.call(this,a,c);this.l=d;this.g=e;this.o=f;this.j=this.i=this.c=null}y(mx,pg);l=mx.prototype;l.cb=function(){return null}; 
    749 l.getData=function(a){if(!this.c||!this.i||!this.j)return null;var c=this.c[Math.floor((1-(a[1]-this.g[1])/(this.g[3]-this.g[1]))*this.c.length)];if("string"!==typeof c)return null;a=c.charCodeAt(Math.floor((a[0]-this.g[0])/(this.g[2]-this.g[0])*c.length));93<=a&&a--;35<=a&&a--;a-=32;return a in this.i?this.j[this.i[a]]:null}; 
    750 function lx(a,c,d,e,f){0==a.state&&!0===f?(xb(a,"change",function(){d.call(e,this.getData(c))},a),nx(a)):!0===f?bh(function(){d.call(e,this.getData(c))},a):d.call(e,a.getData(c))}l.eb=function(){return this.l};l.nk=function(){this.state=3;qg(this)};l.Im=function(a){this.c=a.grid;this.i=a.keys;this.j=a.data;this.state=4;qg(this)};function nx(a){0==a.state&&(a.state=1,zw(a.l,a.Im.bind(a),a.nk.bind(a)))}l.load=function(){this.o&&nx(this)};function ox(a){a=a||{};var c=a.params||{};Y.call(this,{attributions:a.attributions,crossOrigin:a.crossOrigin,logo:a.logo,opaque:!("TRANSPARENT"in c?c.TRANSPARENT:1),projection:a.projection,reprojectionErrorThreshold:a.reprojectionErrorThreshold,tileGrid:a.tileGrid,tileLoadFunction:a.tileLoadFunction,url:a.url,urls:a.urls,wrapX:void 0!==a.wrapX?a.wrapX:!0});this.s=void 0!==a.gutter?a.gutter:0;this.c=c;this.aa="";px(this);this.l=!0;this.A=a.serverType;this.S=void 0!==a.hidpi?a.hidpi:!0;this.H="";qx(this); 
    751 this.U=yc();rx(this)}y(ox,Y);l=ox.prototype; 
    752 l.Km=function(a,c,d,e){d=qd(d);var f=this.tileGrid;f||(f=this.Za(d));c=f.$d(a,c);if(!(f.Pb().length<=c[0])){var g=f.Z(c[0]),h=f.Ca(c,this.U),f=Sb(f.Ua(c[0]),this.j),k=this.s;0!==k&&(f=Qb(f,k,this.j),h=Ac(h,g*k,h));k={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetFeatureInfo",FORMAT:"image/png",TRANSPARENT:!0,QUERY_LAYERS:this.c.LAYERS};mb(k,this.c,e);e=Math.floor((h[3]-a[1])/g);k[this.l?"I":"X"]=Math.floor((a[0]-h[0])/g);k[this.l?"J":"Y"]=e;return sx(this,c,f,h,1,d,k)}};l.af=function(){return this.s}; 
    753 l.bf=function(){return this.aa};l.Db=function(a,c,d){return this.H+ox.ia.Db.call(this,a,c,d)};l.Lm=function(){return this.c}; 
    754 function sx(a,c,d,e,f,g,h){var k=a.urls;if(k){h.WIDTH=d[0];h.HEIGHT=d[1];h[a.l?"CRS":"SRS"]=g.lb;"STYLES"in a.c||(h.STYLES=new String(""));if(1!=f)switch(a.A){case "geoserver":d=90*f+.5|0;h.FORMAT_OPTIONS="FORMAT_OPTIONS"in h?h.FORMAT_OPTIONS+(";dpi:"+d):"dpi:"+d;break;case "mapserver":h.MAP_RESOLUTION=90*f;break;case "carmentaserver":case "qgis":h.DPI=90*f}g=g.f;a.l&&"ne"==g.substr(0,2)&&(a=e[0],e[0]=e[1],e[1]=a,a=e[2],e[2]=e[3],e[3]=a);h.BBOX=e.join(",");return Xq(Zq([1==k.length?k[0]:k[$b((c[1]<< 
    755 c[0])+c[2],k.length)]],h))}}l.uc=function(a){return this.S&&void 0!==this.A?a:1};function qx(a){var c=0,d=[];if(a.urls){var e,f;e=0;for(f=a.urls.length;e<f;++e)d[c++]=a.urls[e]}a.H=d.join("#")}function px(a){var c=0,d=[],e;for(e in a.c)d[c++]=e+"-"+a.c[e];a.aa=d.join("/")} 
    756 l.qc=function(a,c,d){var e=this.tileGrid;e||(e=this.Za(d));if(!(e.Pb().length<=a[0])){1==c||this.S&&void 0!==this.A||(c=1);var f=e.Z(a[0]),g=e.Ca(a,this.U),e=Sb(e.Ua(a[0]),this.j),h=this.s;0!==h&&(e=Qb(e,h,this.j),g=Ac(g,f*h,g));1!=c&&(e=Rb(e,c,this.j));f={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0};mb(f,this.c);return sx(this,a,e,g,c,d,f)}};l.Mm=function(a){mb(this.c,a);qx(this);px(this);rx(this);this.u()}; 
    757 function rx(a){a.l=0<=Ja(a.c.VERSION||"1.3.0","1.3")};function tx(a){this.j=a.matrixIds;ug.call(this,{extent:a.extent,origin:a.origin,origins:a.origins,resolutions:a.resolutions,tileSize:a.tileSize,tileSizes:a.tileSizes,sizes:a.sizes})}y(tx,ug);tx.prototype.o=function(){return this.j}; 
    758 function ux(a,c){var d=[],e=[],f=[],g=[],h=[],k;k=qd(a.SupportedCRS.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3"));var m=k.$b(),n="ne"==k.f.substr(0,2);a.TileMatrix.sort(function(a,c){return c.ScaleDenominator-a.ScaleDenominator});a.TileMatrix.forEach(function(a){e.push(a.Identifier);var c=2.8E-4*a.ScaleDenominator/m,k=a.TileWidth,t=a.TileHeight;n?f.push([a.TopLeftCorner[1],a.TopLeftCorner[0]]):f.push(a.TopLeftCorner);d.push(c);g.push(k==t?k:[k,t]);h.push([a.MatrixWidth,-a.MatrixHeight])}); 
    759 return new tx({extent:c,origins:f,resolutions:d,matrixIds:e,tileSizes:g,sizes:h})};function Z(a){function c(a){a="KVP"==e?Xq(Zq([a],g)):a.replace(/\{(\w+?)\}/g,function(a,c){return c.toLowerCase()in g?g[c.toLowerCase()]:a});return function(c){if(c){var d={TileMatrix:f.j[c[0]],TileCol:c[1],TileRow:-c[2]-1};mb(d,h);c=a;return c="KVP"==e?Xq(Zq([c],d)):c.replace(/\{(\w+?)\}/g,function(a,c){return d[c]})}}}this.U=void 0!==a.version?a.version:"1.0.0";this.A=void 0!==a.format?a.format:"image/jpeg";this.c=void 0!==a.dimensions?a.dimensions:{};this.l="";vx(this);this.H=a.layer;this.s=a.matrixSet; 
    760 this.S=a.style;var d=a.urls;void 0===d&&void 0!==a.url&&(d=tn(a.url));var e=this.aa=void 0!==a.requestEncoding?a.requestEncoding:"KVP",f=a.tileGrid,g={layer:this.H,style:this.S,tilematrixset:this.s};"KVP"==e&&mb(g,{Service:"WMTS",Request:"GetTile",Version:this.U,Format:this.A});var h=this.c,k=d&&0<d.length?rn(d.map(c)):sn;Y.call(this,{attributions:a.attributions,crossOrigin:a.crossOrigin,logo:a.logo,projection:a.projection,reprojectionErrorThreshold:a.reprojectionErrorThreshold,tileClass:a.tileClass, 
    761 tileGrid:f,tileLoadFunction:a.tileLoadFunction,tilePixelRatio:a.tilePixelRatio,tileUrlFunction:k,urls:d,wrapX:void 0!==a.wrapX?a.wrapX:!1})}y(Z,Y);l=Z.prototype;l.Aj=function(){return this.c};l.Nm=function(){return this.A};l.bf=function(){return this.l};l.Om=function(){return this.H};l.Nj=function(){return this.s};l.$j=function(){return this.aa};l.Pm=function(){return this.S};l.fk=function(){return this.U};function vx(a){var c=0,d=[],e;for(e in a.c)d[c++]=e+"-"+a.c[e];a.l=d.join("/")} 
    762 l.Ko=function(a){mb(this.c,a);vx(this);this.u()};function wx(a){a=a||{};var c=a.size,d=c[0],e=c[1],f=[],g=256;switch(void 0!==a.tierSizeCalculation?a.tierSizeCalculation:"default"){case "default":for(;d>g||e>g;)f.push([Math.ceil(d/g),Math.ceil(e/g)]),g+=g;break;case "truncated":for(;d>g||e>g;)f.push([Math.ceil(d/g),Math.ceil(e/g)]),d>>=1,e>>=1}f.push([1,1]);f.reverse();for(var g=[1],h=[0],e=1,d=f.length;e<d;e++)g.push(1<<e),h.push(f[e-1][0]*f[e-1][1]+h[e-1]);g.reverse();var c=[0,-c[1],c[0],0],c=new ug({extent:c,origin:Sc(c),resolutions:g}),k=a.url; 
    763 Y.call(this,{attributions:a.attributions,crossOrigin:a.crossOrigin,logo:a.logo,reprojectionErrorThreshold:a.reprojectionErrorThreshold,tileClass:xx,tileGrid:c,tileUrlFunction:function(a){if(a){var c=a[0],d=a[1];a=-a[2]-1;return k+"TileGroup"+((d+a*f[c][0]+h[c])/256|0)+"/"+c+"-"+d+"-"+a+".jpg"}}})}y(wx,Y);function xx(a,c,d,e,f){tv.call(this,a,c,d,e,f);this.i={}}y(xx,tv); 
    764 xx.prototype.cb=function(a){var c=void 0!==a?x(a).toString():"";if(c in this.i)return this.i[c];a=xx.ia.cb.call(this,a);if(2==this.state){if(256==a.width&&256==a.height)return this.i[c]=a;var d=nh(256,256);d.drawImage(a,0,0);return this.i[c]=d.canvas}return a};function Jk(a,c,d,e,f,g){if(d+a.b>a.g||e+a.b>a.g)return null;f=yx(a,!1,c,d,e,f);if(!f)return null;a=yx(a,!0,c,d,e,void 0!==g?g:gd);return{offsetX:f.offsetX,offsetY:f.offsetY,image:f.image,Ig:a.image}} 
    765 function yx(a,c,d,e,f,g){var h=c?a.i:a.c,k,m,n;m=0;for(n=h.length;m<n;++m){k=h[m];a:{var p=k,q=d,r=e,t=f,v=g,w=void 0,A=void 0;k=void 0;A=0;for(k=p.a.length;A<k;++A)if(w=p.a[A],w.width>=r+p.b&&w.height>=t+p.b){k={offsetX:w.x+p.b,offsetY:w.y+p.b,image:p.g};p.f[q]=k;v.call(void 0,p.c,w.x+p.b,w.y+p.b);q=p;r=r+p.b;p=t+p.b;v=t=void 0;w.width-r>w.height-p?(t={x:w.x+r,y:w.y,width:w.width-r,height:w.height},v={x:w.x,y:w.y+p,width:r,height:w.height-p},zx(q,A,t,v)):(t={x:w.x+r,y:w.y,width:w.width-r,height:p}, 
    766 v={x:w.x,y:w.y+p,width:w.width,height:w.height-p},zx(q,A,t,v));break a}k=null}if(k)return k;k||m!==n-1||(c?(k=Math.min(2*a.f,a.g),a.f=k):(k=Math.min(2*a.a,a.g),a.a=k),k=new Ax(k,a.b),h.push(k),++n)}}function Ax(a,c){this.b=c;this.a=[{x:0,y:0,width:a,height:a}];this.f={};this.g=document.createElement("CANVAS");this.g.width=a;this.g.height=a;this.c=this.g.getContext("2d")}Ax.prototype.get=function(a){return this.f[a]||null}; 
    767 function zx(a,c,d,e){c=[c,1];0<d.width&&0<d.height&&c.push(d);0<e.width&&0<e.height&&c.push(e);a.a.splice.apply(a.a,c)};function Bx(a){this.T=this.f=this.c=null;this.o=void 0!==a.fill?a.fill:null;this.ta=[0,0];this.b=a.points;this.g=void 0!==a.radius?a.radius:a.radius1;this.i=void 0!==a.radius2?a.radius2:this.g;this.l=void 0!==a.angle?a.angle:0;this.a=void 0!==a.stroke?a.stroke:null;this.H=this.ua=this.D=null;var c=a.atlasManager,d="",e="",f=0,g=null,h,k=0;this.a&&(h=Ze(this.a.b),k=this.a.a,void 0===k&&(k=1),g=this.a.g,Ah||(g=null),e=this.a.c,void 0===e&&(e="round"),d=this.a.f,void 0===d&&(d="round"),f=this.a.i,void 0=== 
    768 f&&(f=10));var m=2*(this.g+k)+1,d={strokeStyle:h,Dd:k,size:m,lineCap:d,lineDash:g,lineJoin:e,miterLimit:f};if(void 0===c){this.f=document.createElement("CANVAS");this.f.height=m;this.f.width=m;var c=m=this.f.width,n=this.f.getContext("2d");this.sh(d,n,0,0);this.o?this.T=this.f:(n=this.T=document.createElement("CANVAS"),n.height=d.size,n.width=d.size,n=n.getContext("2d"),this.rh(d,n,0,0))}else m=Math.round(m),(e=!this.o)&&(n=this.rh.bind(this,d)),f=this.a?Hk(this.a):"-",g=this.o?Bk(this.o):"-",this.c&& 
    769 f==this.c[1]&&g==this.c[2]&&this.g==this.c[3]&&this.i==this.c[4]&&this.l==this.c[5]&&this.b==this.c[6]||(this.c=["r"+f+g+(void 0!==this.g?this.g.toString():"-")+(void 0!==this.i?this.i.toString():"-")+(void 0!==this.l?this.l.toString():"-")+(void 0!==this.b?this.b.toString():"-"),f,g,this.g,this.i,this.l,this.b]),n=Jk(c,this.c[0],m,m,this.sh.bind(this,d),n),this.f=n.image,this.ta=[n.offsetX,n.offsetY],c=n.image.width,this.T=e?n.Ig:this.f;this.D=[m/2,m/2];this.ua=[m,m];this.H=[c,c];Vi.call(this,{opacity:1, 
    770 rotateWithView:void 0!==a.rotateWithView?a.rotateWithView:!1,rotation:void 0!==a.rotation?a.rotation:0,scale:1,snapToPixel:void 0!==a.snapToPixel?a.snapToPixel:!0})}y(Bx,Vi);l=Bx.prototype;l.Yb=function(){return this.D};l.Um=function(){return this.l};l.Vm=function(){return this.o};l.qe=function(){return this.T};l.gc=function(){return this.f};l.qd=function(){return this.H};l.wd=function(){return 2};l.Ha=function(){return this.ta};l.Wm=function(){return this.b};l.Xm=function(){return this.g};l.Zj=function(){return this.i}; 
    771 l.Eb=function(){return this.ua};l.Ym=function(){return this.a};l.hf=va;l.load=va;l.Nf=va; 
    772 l.sh=function(a,c,d,e){var f;c.setTransform(1,0,0,1,0,0);c.translate(d,e);c.beginPath();this.i!==this.g&&(this.b*=2);for(d=0;d<=this.b;d++)e=2*d*Math.PI/this.b-Math.PI/2+this.l,f=0===d%2?this.g:this.i,c.lineTo(a.size/2+f*Math.cos(e),a.size/2+f*Math.sin(e));this.o&&(c.fillStyle=af(this.o.b),c.fill());this.a&&(c.strokeStyle=a.strokeStyle,c.lineWidth=a.Dd,a.lineDash&&c.setLineDash(a.lineDash),c.lineCap=a.lineCap,c.lineJoin=a.lineJoin,c.miterLimit=a.miterLimit,c.stroke());c.closePath()}; 
    773 l.rh=function(a,c,d,e){c.setTransform(1,0,0,1,0,0);c.translate(d,e);c.beginPath();this.i!==this.g&&(this.b*=2);var f;for(d=0;d<=this.b;d++)f=2*d*Math.PI/this.b-Math.PI/2+this.l,e=0===d%2?this.g:this.i,c.lineTo(a.size/2+e*Math.cos(f),a.size/2+e*Math.sin(f));c.fillStyle=wk;c.fill();this.a&&(c.strokeStyle=a.strokeStyle,c.lineWidth=a.Dd,a.lineDash&&c.setLineDash(a.lineDash),c.stroke());c.closePath()};u("ol.animation.bounce",function(a){var c=a.resolution,d=a.start?a.start:Date.now(),e=void 0!==a.duration?a.duration:1E3,f=a.easing?a.easing:Ge;return function(a,h){if(h.time<d)return h.animate=!0,h.viewHints[0]+=1,!0;if(h.time<d+e){var k=f((h.time-d)/e),m=c-h.viewState.resolution;h.animate=!0;h.viewState.resolution+=k*m;h.viewHints[0]+=1;return!0}return!1}},OPENLAYERS);u("ol.animation.pan",He,OPENLAYERS);u("ol.animation.rotate",Ie,OPENLAYERS);u("ol.animation.zoom",Je,OPENLAYERS); 
    774 u("ol.Attribution",Qe,OPENLAYERS);Qe.prototype.getHTML=Qe.prototype.g;Re.prototype.element=Re.prototype.element;u("ol.Collection",Se,OPENLAYERS);Se.prototype.clear=Se.prototype.clear;Se.prototype.extend=Se.prototype.jf;Se.prototype.forEach=Se.prototype.forEach;Se.prototype.getArray=Se.prototype.il;Se.prototype.item=Se.prototype.item;Se.prototype.getLength=Se.prototype.ac;Se.prototype.insertAt=Se.prototype.de;Se.prototype.pop=Se.prototype.pop;Se.prototype.push=Se.prototype.push; 
    775 Se.prototype.remove=Se.prototype.remove;Se.prototype.removeAt=Se.prototype.If;Se.prototype.setAt=Se.prototype.qo;u("ol.colorlike.asColorLike",af,OPENLAYERS);u("ol.coordinate.add",bc,OPENLAYERS);u("ol.coordinate.createStringXY",function(a){return function(c){return jc(c,a)}},OPENLAYERS);u("ol.coordinate.format",ec,OPENLAYERS);u("ol.coordinate.rotate",gc,OPENLAYERS);u("ol.coordinate.toStringHDMS",function(a,c){return a?dc(a[1],"NS",c)+" "+dc(a[0],"EW",c):""},OPENLAYERS); 
    776 u("ol.coordinate.toStringXY",jc,OPENLAYERS);u("ol.DeviceOrientation",cp,OPENLAYERS);cp.prototype.getAlpha=cp.prototype.uj;cp.prototype.getBeta=cp.prototype.xj;cp.prototype.getGamma=cp.prototype.Dj;cp.prototype.getHeading=cp.prototype.jl;cp.prototype.getTracking=cp.prototype.Pg;cp.prototype.setTracking=cp.prototype.kf;u("ol.easing.easeIn",Ce,OPENLAYERS);u("ol.easing.easeOut",De,OPENLAYERS);u("ol.easing.inAndOut",Ee,OPENLAYERS);u("ol.easing.linear",Fe,OPENLAYERS);u("ol.easing.upAndDown",Ge,OPENLAYERS); 
    777 u("ol.extent.boundingExtent",xc,OPENLAYERS);u("ol.extent.buffer",Ac,OPENLAYERS);u("ol.extent.containsCoordinate",Dc,OPENLAYERS);u("ol.extent.containsExtent",Gc,OPENLAYERS);u("ol.extent.containsXY",Fc,OPENLAYERS);u("ol.extent.createEmpty",yc,OPENLAYERS);u("ol.extent.equals",Mc,OPENLAYERS);u("ol.extent.extend",Nc,OPENLAYERS);u("ol.extent.getBottomLeft",Pc,OPENLAYERS);u("ol.extent.getBottomRight",Qc,OPENLAYERS);u("ol.extent.getCenter",Yc,OPENLAYERS);u("ol.extent.getHeight",Xc,OPENLAYERS); 
    778 u("ol.extent.getIntersection",$c,OPENLAYERS);u("ol.extent.getSize",function(a){return[a[2]-a[0],a[3]-a[1]]},OPENLAYERS);u("ol.extent.getTopLeft",Sc,OPENLAYERS);u("ol.extent.getTopRight",Rc,OPENLAYERS);u("ol.extent.getWidth",Wc,OPENLAYERS);u("ol.extent.intersects",ad,OPENLAYERS);u("ol.extent.isEmpty",Vc,OPENLAYERS);u("ol.extent.applyTransform",cd,OPENLAYERS);u("ol.Feature",Xl,OPENLAYERS);Xl.prototype.clone=Xl.prototype.clone;Xl.prototype.getGeometry=Xl.prototype.X;Xl.prototype.getId=Xl.prototype.Sa; 
    779 Xl.prototype.getGeometryName=Xl.prototype.Fj;Xl.prototype.getStyle=Xl.prototype.ll;Xl.prototype.getStyleFunction=Xl.prototype.bc;Xl.prototype.setGeometry=Xl.prototype.Pa;Xl.prototype.setStyle=Xl.prototype.lf;Xl.prototype.setId=Xl.prototype.jc;Xl.prototype.setGeometryName=Xl.prototype.Bc;u("ol.featureloader.tile",Pm,OPENLAYERS);u("ol.featureloader.xhr",Qm,OPENLAYERS);u("ol.Geolocation",hv,OPENLAYERS);hv.prototype.getAccuracy=hv.prototype.sj;hv.prototype.getAccuracyGeometry=hv.prototype.tj; 
    780 hv.prototype.getAltitude=hv.prototype.vj;hv.prototype.getAltitudeAccuracy=hv.prototype.wj;hv.prototype.getHeading=hv.prototype.nl;hv.prototype.getPosition=hv.prototype.ol;hv.prototype.getProjection=hv.prototype.Qg;hv.prototype.getSpeed=hv.prototype.ak;hv.prototype.getTracking=hv.prototype.Rg;hv.prototype.getTrackingOptions=hv.prototype.Cg;hv.prototype.setProjection=hv.prototype.Sg;hv.prototype.setTracking=hv.prototype.he;hv.prototype.setTrackingOptions=hv.prototype.$h;u("ol.Graticule",nv,OPENLAYERS); 
    781 nv.prototype.getMap=nv.prototype.rl;nv.prototype.getMeridians=nv.prototype.Oj;nv.prototype.getParallels=nv.prototype.Vj;nv.prototype.setMap=nv.prototype.setMap;u("ol.has.DEVICE_PIXEL_RATIO",zh,OPENLAYERS);u("ol.has.CANVAS",Bh,OPENLAYERS);u("ol.has.DEVICE_ORIENTATION",Ch,OPENLAYERS);u("ol.has.GEOLOCATION",Dh,OPENLAYERS);u("ol.has.TOUCH",Eh,OPENLAYERS);u("ol.has.WEBGL",uh,OPENLAYERS);sv.prototype.getImage=sv.prototype.a;tv.prototype.getImage=tv.prototype.cb;u("ol.Kinetic",lj,OPENLAYERS); 
    782 u("ol.loadingstrategy.all",Rm,OPENLAYERS);u("ol.loadingstrategy.bbox",function(a){return[a]},OPENLAYERS);u("ol.loadingstrategy.tile",function(a){return function(c,d){var e=Dg(a,d),f=yg(a,c,e),g=[],e=[e,0,0];for(e[1]=f.ra;e[1]<=f.va;++e[1])for(e[2]=f.xa;e[2]<=f.Aa;++e[2])g.push(a.Ca(e));return g}},OPENLAYERS);u("ol.Map",S,OPENLAYERS);S.prototype.addControl=S.prototype.bj;S.prototype.addInteraction=S.prototype.cj;S.prototype.addLayer=S.prototype.ag;S.prototype.addOverlay=S.prototype.bg; 
    783 S.prototype.beforeRender=S.prototype.Ra;S.prototype.forEachFeatureAtPixel=S.prototype.od;S.prototype.forEachLayerAtPixel=S.prototype.vl;S.prototype.hasFeatureAtPixel=S.prototype.Ok;S.prototype.getEventCoordinate=S.prototype.Bj;S.prototype.getEventPixel=S.prototype.Td;S.prototype.getTarget=S.prototype.Ug;S.prototype.getTargetElement=S.prototype.tc;S.prototype.getCoordinateFromPixel=S.prototype.La;S.prototype.getControls=S.prototype.zj;S.prototype.getOverlays=S.prototype.Tj; 
    784 S.prototype.getOverlayById=S.prototype.Sj;S.prototype.getInteractions=S.prototype.Gj;S.prototype.getLayerGroup=S.prototype.sc;S.prototype.getLayers=S.prototype.Tg;S.prototype.getPixelFromCoordinate=S.prototype.Ta;S.prototype.getSize=S.prototype.Va;S.prototype.getView=S.prototype.$;S.prototype.getViewport=S.prototype.gk;S.prototype.renderSync=S.prototype.mo;S.prototype.render=S.prototype.render;S.prototype.removeControl=S.prototype.eo;S.prototype.removeInteraction=S.prototype.fo; 
    785 S.prototype.removeLayer=S.prototype.io;S.prototype.removeOverlay=S.prototype.jo;S.prototype.setLayerGroup=S.prototype.Sh;S.prototype.setSize=S.prototype.Mf;S.prototype.setTarget=S.prototype.wl;S.prototype.setView=S.prototype.Ao;S.prototype.updateSize=S.prototype.Xc;ni.prototype.originalEvent=ni.prototype.originalEvent;ni.prototype.pixel=ni.prototype.pixel;ni.prototype.coordinate=ni.prototype.coordinate;ni.prototype.dragging=ni.prototype.dragging;ni.prototype.preventDefault=ni.prototype.preventDefault; 
    786 ni.prototype.stopPropagation=ni.prototype.stopPropagation;ig.prototype.map=ig.prototype.map;ig.prototype.frameState=ig.prototype.frameState;Lb.prototype.key=Lb.prototype.key;Lb.prototype.oldValue=Lb.prototype.oldValue;u("ol.Object",Mb,OPENLAYERS);Mb.prototype.get=Mb.prototype.get;Mb.prototype.getKeys=Mb.prototype.O;Mb.prototype.getProperties=Mb.prototype.P;Mb.prototype.set=Mb.prototype.set;Mb.prototype.setProperties=Mb.prototype.C;Mb.prototype.unset=Mb.prototype.R;u("ol.Observable",Jb,OPENLAYERS); 
    787 u("ol.Observable.unByKey",Kb,OPENLAYERS);Jb.prototype.changed=Jb.prototype.u;Jb.prototype.dispatchEvent=Jb.prototype.b;Jb.prototype.getRevision=Jb.prototype.L;Jb.prototype.on=Jb.prototype.I;Jb.prototype.once=Jb.prototype.M;Jb.prototype.un=Jb.prototype.K;Jb.prototype.unByKey=Jb.prototype.N;u("ol.inherits",y,OPENLAYERS);u("ol.Overlay",Jo,OPENLAYERS);Jo.prototype.getElement=Jo.prototype.ie;Jo.prototype.getId=Jo.prototype.Sa;Jo.prototype.getMap=Jo.prototype.je;Jo.prototype.getOffset=Jo.prototype.Ag; 
    788 Jo.prototype.getPosition=Jo.prototype.Vg;Jo.prototype.getPositioning=Jo.prototype.Bg;Jo.prototype.setElement=Jo.prototype.Oh;Jo.prototype.setMap=Jo.prototype.setMap;Jo.prototype.setOffset=Jo.prototype.Uh;Jo.prototype.setPosition=Jo.prototype.mf;Jo.prototype.setPositioning=Jo.prototype.Xh; 
    789 u("ol.render.toContext",function(a,c){var d=a.canvas,e=c?c:{},f=e.pixelRatio||zh;if(e=e.size)d.width=e[0]*f,d.height=e[1]*f,d.style.width=e[0]+"px",d.style.height=e[1]+"px";d=[0,0,d.width,d.height];e=Ji(nc(),0,0,f,f,0,0,0);return new Rk(a,f,d,e,0)},OPENLAYERS);u("ol.size.toSize",Sb,OPENLAYERS);pg.prototype.getTileCoord=pg.prototype.f;Zl.prototype.getFormat=Zl.prototype.xl;Zl.prototype.setFeatures=Zl.prototype.Ph;Zl.prototype.setLoader=Zl.prototype.Th;u("ol.View",xe,OPENLAYERS); 
    790 xe.prototype.constrainCenter=xe.prototype.Qd;xe.prototype.constrainResolution=xe.prototype.constrainResolution;xe.prototype.constrainRotation=xe.prototype.constrainRotation;xe.prototype.getCenter=xe.prototype.Wa;xe.prototype.calculateExtent=xe.prototype.bd;xe.prototype.getProjection=xe.prototype.yl;xe.prototype.getResolution=xe.prototype.Z;xe.prototype.getRotation=xe.prototype.Ka;xe.prototype.getZoom=xe.prototype.ik;xe.prototype.fit=xe.prototype.Ye;xe.prototype.centerOn=xe.prototype.lj; 
    791 xe.prototype.rotate=xe.prototype.rotate;xe.prototype.setCenter=xe.prototype.mb;xe.prototype.setResolution=xe.prototype.Vb;xe.prototype.setRotation=xe.prototype.ke;xe.prototype.setZoom=xe.prototype.Do;u("ol.xml.getAllTextContent",im,OPENLAYERS);u("ol.xml.parse",Cm,OPENLAYERS);Qn.prototype.getGL=Qn.prototype.qn;Qn.prototype.useProgram=Qn.prototype.xe;u("ol.tilegrid.TileGrid",ug,OPENLAYERS);ug.prototype.getMaxZoom=ug.prototype.yg;ug.prototype.getMinZoom=ug.prototype.zg;ug.prototype.getOrigin=ug.prototype.Ha; 
    792 ug.prototype.getResolution=ug.prototype.Z;ug.prototype.getResolutions=ug.prototype.Pb;ug.prototype.getTileCoordExtent=ug.prototype.Ca;ug.prototype.getTileCoordForCoordAndResolution=ug.prototype.$d;ug.prototype.getTileCoordForCoordAndZ=ug.prototype.ud;ug.prototype.getTileSize=ug.prototype.Ua;u("ol.tilegrid.createXYZ",Hg,OPENLAYERS);u("ol.tilegrid.WMTS",tx,OPENLAYERS);tx.prototype.getMatrixIds=tx.prototype.o;u("ol.tilegrid.WMTS.createFromCapabilitiesMatrixSet",ux,OPENLAYERS); 
    793 u("ol.style.AtlasManager",function(a){a=a||{};this.a=void 0!==a.initialSize?a.initialSize:256;this.g=void 0!==a.maxSize?a.maxSize:void 0!==ta?ta:2048;this.b=void 0!==a.space?a.space:1;this.c=[new Ax(this.a,this.b)];this.f=this.a;this.i=[new Ax(this.f,this.b)]},OPENLAYERS);u("ol.style.Circle",Ik,OPENLAYERS);Ik.prototype.getFill=Ik.prototype.Qm;Ik.prototype.getImage=Ik.prototype.gc;Ik.prototype.getRadius=Ik.prototype.Rm;Ik.prototype.getStroke=Ik.prototype.Sm;u("ol.style.Fill",Ak,OPENLAYERS); 
    794 Ak.prototype.getColor=Ak.prototype.g;Ak.prototype.setColor=Ak.prototype.f;u("ol.style.Icon",Wi,OPENLAYERS);Wi.prototype.getAnchor=Wi.prototype.Yb;Wi.prototype.getImage=Wi.prototype.gc;Wi.prototype.getOrigin=Wi.prototype.Ha;Wi.prototype.getSrc=Wi.prototype.Tm;Wi.prototype.getSize=Wi.prototype.Eb;Wi.prototype.load=Wi.prototype.load;u("ol.style.Image",Vi,OPENLAYERS);Vi.prototype.getOpacity=Vi.prototype.re;Vi.prototype.getRotateWithView=Vi.prototype.Yd;Vi.prototype.getRotation=Vi.prototype.se; 
    795 Vi.prototype.getScale=Vi.prototype.te;Vi.prototype.getSnapToPixel=Vi.prototype.Zd;Vi.prototype.setOpacity=Vi.prototype.ue;Vi.prototype.setRotation=Vi.prototype.ve;Vi.prototype.setScale=Vi.prototype.we;u("ol.style.RegularShape",Bx,OPENLAYERS);Bx.prototype.getAnchor=Bx.prototype.Yb;Bx.prototype.getAngle=Bx.prototype.Um;Bx.prototype.getFill=Bx.prototype.Vm;Bx.prototype.getImage=Bx.prototype.gc;Bx.prototype.getOrigin=Bx.prototype.Ha;Bx.prototype.getPoints=Bx.prototype.Wm;Bx.prototype.getRadius=Bx.prototype.Xm; 
    796 Bx.prototype.getRadius2=Bx.prototype.Zj;Bx.prototype.getSize=Bx.prototype.Eb;Bx.prototype.getStroke=Bx.prototype.Ym;u("ol.style.Stroke",Gk,OPENLAYERS);Gk.prototype.getColor=Gk.prototype.Zm;Gk.prototype.getLineCap=Gk.prototype.Jj;Gk.prototype.getLineDash=Gk.prototype.$m;Gk.prototype.getLineJoin=Gk.prototype.Kj;Gk.prototype.getMiterLimit=Gk.prototype.Pj;Gk.prototype.getWidth=Gk.prototype.an;Gk.prototype.setColor=Gk.prototype.bn;Gk.prototype.setLineCap=Gk.prototype.vo;Gk.prototype.setLineDash=Gk.prototype.cn; 
    797 Gk.prototype.setLineJoin=Gk.prototype.wo;Gk.prototype.setMiterLimit=Gk.prototype.xo;Gk.prototype.setWidth=Gk.prototype.Bo;u("ol.style.Style",Kk,OPENLAYERS);Kk.prototype.getGeometry=Kk.prototype.X;Kk.prototype.getGeometryFunction=Kk.prototype.Ej;Kk.prototype.getFill=Kk.prototype.dn;Kk.prototype.getImage=Kk.prototype.en;Kk.prototype.getStroke=Kk.prototype.fn;Kk.prototype.getText=Kk.prototype.Fa;Kk.prototype.getZIndex=Kk.prototype.gn;Kk.prototype.setGeometry=Kk.prototype.th;Kk.prototype.setZIndex=Kk.prototype.hn; 
    798 u("ol.style.Text",sr,OPENLAYERS);sr.prototype.getFont=sr.prototype.Cj;sr.prototype.getOffsetX=sr.prototype.Qj;sr.prototype.getOffsetY=sr.prototype.Rj;sr.prototype.getFill=sr.prototype.jn;sr.prototype.getRotation=sr.prototype.kn;sr.prototype.getScale=sr.prototype.ln;sr.prototype.getStroke=sr.prototype.mn;sr.prototype.getText=sr.prototype.Fa;sr.prototype.getTextAlign=sr.prototype.ck;sr.prototype.getTextBaseline=sr.prototype.dk;sr.prototype.setFont=sr.prototype.so;sr.prototype.setOffsetX=sr.prototype.Vh; 
    799 sr.prototype.setOffsetY=sr.prototype.Wh;sr.prototype.setFill=sr.prototype.ro;sr.prototype.setRotation=sr.prototype.nn;sr.prototype.setScale=sr.prototype.pn;sr.prototype.setStroke=sr.prototype.yo;sr.prototype.setText=sr.prototype.Yh;sr.prototype.setTextAlign=sr.prototype.Zh;sr.prototype.setTextBaseline=sr.prototype.zo;u("ol.Sphere",kd,OPENLAYERS);kd.prototype.geodesicArea=kd.prototype.a;kd.prototype.haversineDistance=kd.prototype.b;u("ol.source.BingMaps",Ew,OPENLAYERS); 
    800 u("ol.source.BingMaps.TOS_ATTRIBUTION",Fw,OPENLAYERS);u("ol.source.Cluster",Gw,OPENLAYERS);Gw.prototype.getSource=Gw.prototype.aa;u("ol.source.ImageCanvas",Wl,OPENLAYERS);u("ol.source.ImageMapGuide",Jw,OPENLAYERS);Jw.prototype.getParams=Jw.prototype.tm;Jw.prototype.getImageLoadFunction=Jw.prototype.sm;Jw.prototype.updateParams=Jw.prototype.vm;Jw.prototype.setImageLoadFunction=Jw.prototype.um;u("ol.source.Image",Pl,OPENLAYERS);Rl.prototype.image=Rl.prototype.image;u("ol.source.ImageStatic",Kw,OPENLAYERS); 
    801 u("ol.source.ImageVector",kn,OPENLAYERS);kn.prototype.getSource=kn.prototype.wm;kn.prototype.getStyle=kn.prototype.xm;kn.prototype.getStyleFunction=kn.prototype.ym;kn.prototype.setStyle=kn.prototype.kh;u("ol.source.ImageWMS",Lw,OPENLAYERS);Lw.prototype.getGetFeatureInfoUrl=Lw.prototype.Bm;Lw.prototype.getParams=Lw.prototype.Dm;Lw.prototype.getImageLoadFunction=Lw.prototype.Cm;Lw.prototype.getUrl=Lw.prototype.Em;Lw.prototype.setImageLoadFunction=Lw.prototype.Fm;Lw.prototype.setUrl=Lw.prototype.Gm; 
    802 Lw.prototype.updateParams=Lw.prototype.Hm;u("ol.source.MapQuest",Sw,OPENLAYERS);Sw.prototype.getLayer=Sw.prototype.l;u("ol.source.OSM",Qw,OPENLAYERS);u("ol.source.OSM.ATTRIBUTION",Rw,OPENLAYERS);u("ol.source.Raster",Vw,OPENLAYERS);Vw.prototype.setOperation=Vw.prototype.s;$w.prototype.extent=$w.prototype.extent;$w.prototype.resolution=$w.prototype.resolution;$w.prototype.data=$w.prototype.data;u("ol.source.Source",rg,OPENLAYERS);rg.prototype.getAttributions=rg.prototype.ea;rg.prototype.getLogo=rg.prototype.pa; 
    803 rg.prototype.getProjection=rg.prototype.sa;rg.prototype.getState=rg.prototype.V;rg.prototype.setAttributions=rg.prototype.ma;u("ol.source.Stamen",ex,OPENLAYERS);u("ol.source.TileArcGISRest",gx,OPENLAYERS);gx.prototype.getParams=gx.prototype.s;gx.prototype.updateParams=gx.prototype.A;u("ol.source.TileDebug",ix,OPENLAYERS);u("ol.source.TileImage",Y,OPENLAYERS);Y.prototype.setRenderReprojectionEdges=Y.prototype.zb;Y.prototype.setTileGridForProjection=Y.prototype.Ab;u("ol.source.TileJSON",jx,OPENLAYERS); 
    804 u("ol.source.Tile",Ig,OPENLAYERS);Ig.prototype.getTileGrid=Ig.prototype.Ma;Mg.prototype.tile=Mg.prototype.tile;u("ol.source.TileUTFGrid",kx,OPENLAYERS);kx.prototype.getTemplate=kx.prototype.bk;kx.prototype.forDataAtCoordinateAndResolution=kx.prototype.oj;u("ol.source.TileWMS",ox,OPENLAYERS);ox.prototype.getGetFeatureInfoUrl=ox.prototype.Km;ox.prototype.getParams=ox.prototype.Lm;ox.prototype.updateParams=ox.prototype.Mm;un.prototype.getTileLoadFunction=un.prototype.$a; 
    805 un.prototype.getTileUrlFunction=un.prototype.ab;un.prototype.getUrls=un.prototype.bb;un.prototype.setTileLoadFunction=un.prototype.jb;un.prototype.setTileUrlFunction=un.prototype.Na;un.prototype.setUrl=un.prototype.Xa;un.prototype.setUrls=un.prototype.Ya;u("ol.source.Vector",bn,OPENLAYERS);bn.prototype.addFeature=bn.prototype.rb;bn.prototype.addFeatures=bn.prototype.Gc;bn.prototype.clear=bn.prototype.clear;bn.prototype.forEachFeature=bn.prototype.mg;bn.prototype.forEachFeatureInExtent=bn.prototype.ub; 
    806 bn.prototype.forEachFeatureIntersectingExtent=bn.prototype.ng;bn.prototype.getFeaturesCollection=bn.prototype.ug;bn.prototype.getFeatures=bn.prototype.pe;bn.prototype.getFeaturesAtCoordinate=bn.prototype.tg;bn.prototype.getFeaturesInExtent=bn.prototype.$e;bn.prototype.getClosestFeatureToCoordinate=bn.prototype.pg;bn.prototype.getExtent=bn.prototype.G;bn.prototype.getFeatureById=bn.prototype.sg;bn.prototype.removeFeature=bn.prototype.nb;gn.prototype.feature=gn.prototype.feature; 
    807 u("ol.source.VectorTile",vn,OPENLAYERS);u("ol.source.WMTS",Z,OPENLAYERS);Z.prototype.getDimensions=Z.prototype.Aj;Z.prototype.getFormat=Z.prototype.Nm;Z.prototype.getLayer=Z.prototype.Om;Z.prototype.getMatrixSet=Z.prototype.Nj;Z.prototype.getRequestEncoding=Z.prototype.$j;Z.prototype.getStyle=Z.prototype.Pm;Z.prototype.getVersion=Z.prototype.fk;Z.prototype.updateDimensions=Z.prototype.Ko; 
    808 u("ol.source.WMTS.optionsFromCapabilities",function(a,c){var d=Za(a.Contents.Layer,function(a){return a.Identifier==c.layer}),e=a.Contents.TileMatrixSet,f,g;f=1<d.TileMatrixSetLink.length?"projection"in c?eb(d.TileMatrixSetLink,function(a){return Za(e,function(c){return c.Identifier==a.TileMatrixSet}).SupportedCRS.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3")==c.projection}):eb(d.TileMatrixSetLink,function(a){return a.TileMatrixSet==c.matrixSet}):0;0>f&&(f=0);g=d.TileMatrixSetLink[f].TileMatrixSet; 
    809 var h=d.Format[0];"format"in c&&(h=c.format);f=eb(d.Style,function(a){return"style"in c?a.Title==c.style:a.isDefault});0>f&&(f=0);f=d.Style[f].Identifier;var k={};"Dimension"in d&&d.Dimension.forEach(function(a){var c=a.Identifier,d=a.Default;void 0===d&&(d=a.Value[0]);k[c]=d});var m=Za(a.Contents.TileMatrixSet,function(a){return a.Identifier==g}),n;n="projection"in c?qd(c.projection):qd(m.SupportedCRS.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3"));var p=d.WGS84BoundingBox,q,r;void 0!==p&& 
    810 (r=qd("EPSG:4326").G(),r=p[0]==r[0]&&p[2]==r[2],q=Ld(p,"EPSG:4326",n),(p=n.G())&&(Gc(p,q)||(q=void 0)));var m=ux(m,q),t=[];q=c.requestEncoding;q=void 0!==q?q:"";if(a.hasOwnProperty("OperationsMetadata")&&a.OperationsMetadata.hasOwnProperty("GetTile")&&0!==q.indexOf("REST"))for(var d=a.OperationsMetadata.GetTile.DCP.HTTP.Get,p=0,v=d.length;p<v;++p){var w=Za(d[p].Constraint,function(a){return"GetEncoding"==a.name}).AllowedValues.Value;0<w.length&&Ua(w,"KVP")&&(q="KVP",t.push(d[p].href))}else q="REST", 
    811 d.ResourceURL.forEach(function(a){"tile"==a.resourceType&&(h=a.format,t.push(a.template))});return{urls:t,layer:c.layer,matrixSet:g,format:h,projection:n,requestEncoding:q,tileGrid:m,style:f,dimensions:k,wrapX:r}},OPENLAYERS);u("ol.source.XYZ",Pw,OPENLAYERS);u("ol.source.Zoomify",wx,OPENLAYERS);Ei.prototype.vectorContext=Ei.prototype.vectorContext;Ei.prototype.frameState=Ei.prototype.frameState;Ei.prototype.context=Ei.prototype.context;Ei.prototype.glContext=Ei.prototype.glContext; 
    812 Bl.prototype.get=Bl.prototype.get;Bl.prototype.getExtent=Bl.prototype.G;Bl.prototype.getGeometry=Bl.prototype.X;Bl.prototype.getProperties=Bl.prototype.om;Bl.prototype.getType=Bl.prototype.W;u("ol.render.VectorContext",Di,OPENLAYERS);no.prototype.drawAsync=no.prototype.ld;no.prototype.drawCircleGeometry=no.prototype.Ic;no.prototype.drawFeature=no.prototype.Xe;no.prototype.drawGeometryCollectionGeometry=no.prototype.Sd;no.prototype.drawPointGeometry=no.prototype.Ib; 
    813 no.prototype.drawLineStringGeometry=no.prototype.Xb;no.prototype.drawMultiLineStringGeometry=no.prototype.Jc;no.prototype.drawMultiPointGeometry=no.prototype.Hb;no.prototype.drawMultiPolygonGeometry=no.prototype.Kc;no.prototype.drawPolygonGeometry=no.prototype.Lc;no.prototype.drawText=no.prototype.Jb;no.prototype.setFillStrokeStyle=no.prototype.hb;no.prototype.setImageStyle=no.prototype.yb;no.prototype.setTextStyle=no.prototype.ib;Rk.prototype.drawAsync=Rk.prototype.ld; 
    814 Rk.prototype.drawCircleGeometry=Rk.prototype.Ic;Rk.prototype.drawFeature=Rk.prototype.Xe;Rk.prototype.drawPointGeometry=Rk.prototype.Ib;Rk.prototype.drawMultiPointGeometry=Rk.prototype.Hb;Rk.prototype.drawLineStringGeometry=Rk.prototype.Xb;Rk.prototype.drawMultiLineStringGeometry=Rk.prototype.Jc;Rk.prototype.drawPolygonGeometry=Rk.prototype.Lc;Rk.prototype.drawMultiPolygonGeometry=Rk.prototype.Kc;Rk.prototype.setFillStrokeStyle=Rk.prototype.hb;Rk.prototype.setImageStyle=Rk.prototype.yb; 
    815 Rk.prototype.setTextStyle=Rk.prototype.ib;u("ol.proj.common.add",uk,OPENLAYERS);u("ol.proj.METERS_PER_UNIT",md,OPENLAYERS);u("ol.proj.Projection",nd,OPENLAYERS);nd.prototype.getCode=nd.prototype.yj;nd.prototype.getExtent=nd.prototype.G;nd.prototype.getUnits=nd.prototype.mm;nd.prototype.getMetersPerUnit=nd.prototype.$b;nd.prototype.getWorldExtent=nd.prototype.hk;nd.prototype.isGlobal=nd.prototype.Tk;nd.prototype.setGlobal=nd.prototype.uo;nd.prototype.setExtent=nd.prototype.nm; 
    816 nd.prototype.setWorldExtent=nd.prototype.Co;nd.prototype.setGetPointResolution=nd.prototype.to;nd.prototype.getPointResolution=nd.prototype.getPointResolution;u("ol.proj.setProj4",function(a){pd=a},OPENLAYERS);u("ol.proj.addEquivalentProjections",rd,OPENLAYERS);u("ol.proj.addProjection",Ed,OPENLAYERS);u("ol.proj.addCoordinateTransforms",sd,OPENLAYERS);u("ol.proj.fromLonLat",function(a,c){return Kd(a,"EPSG:4326",void 0!==c?c:"EPSG:3857")},OPENLAYERS); 
    817 u("ol.proj.toLonLat",function(a,c){return Kd(a,void 0!==c?c:"EPSG:3857","EPSG:4326")},OPENLAYERS);u("ol.proj.get",qd,OPENLAYERS);u("ol.proj.getTransform",Id,OPENLAYERS);u("ol.proj.transform",Kd,OPENLAYERS);u("ol.proj.transformExtent",Ld,OPENLAYERS);u("ol.layer.Heatmap",X,OPENLAYERS);X.prototype.getBlur=X.prototype.og;X.prototype.getGradient=X.prototype.wg;X.prototype.getRadius=X.prototype.eh;X.prototype.setBlur=X.prototype.Mh;X.prototype.setGradient=X.prototype.Rh;X.prototype.setRadius=X.prototype.fh; 
    818 u("ol.layer.Image",vk,OPENLAYERS);vk.prototype.getSource=vk.prototype.da;u("ol.layer.Layer",Fi,OPENLAYERS);Fi.prototype.getSource=Fi.prototype.da;Fi.prototype.setMap=Fi.prototype.setMap;Fi.prototype.setSource=Fi.prototype.Cc;u("ol.layer.Base",Bi,OPENLAYERS);Bi.prototype.getExtent=Bi.prototype.G;Bi.prototype.getMaxResolution=Bi.prototype.Nb;Bi.prototype.getMinResolution=Bi.prototype.Ob;Bi.prototype.getOpacity=Bi.prototype.Sb;Bi.prototype.getVisible=Bi.prototype.wb;Bi.prototype.getZIndex=Bi.prototype.Tb; 
    819 Bi.prototype.setExtent=Bi.prototype.cc;Bi.prototype.setMaxResolution=Bi.prototype.kc;Bi.prototype.setMinResolution=Bi.prototype.lc;Bi.prototype.setOpacity=Bi.prototype.dc;Bi.prototype.setVisible=Bi.prototype.ec;Bi.prototype.setZIndex=Bi.prototype.fc;u("ol.layer.Group",lk,OPENLAYERS);lk.prototype.getLayers=lk.prototype.Sc;lk.prototype.setLayers=lk.prototype.dh;u("ol.layer.Tile",G,OPENLAYERS);G.prototype.getPreload=G.prototype.a;G.prototype.getSource=G.prototype.da;G.prototype.setPreload=G.prototype.c; 
    820 G.prototype.getUseInterimTilesOnError=G.prototype.f;G.prototype.setUseInterimTilesOnError=G.prototype.i;u("ol.layer.Vector",H,OPENLAYERS);H.prototype.getSource=H.prototype.da;H.prototype.getStyle=H.prototype.J;H.prototype.getStyleFunction=H.prototype.D;H.prototype.setStyle=H.prototype.c;u("ol.layer.VectorTile",L,OPENLAYERS);L.prototype.getPreload=L.prototype.i;L.prototype.getUseInterimTilesOnError=L.prototype.S;L.prototype.setPreload=L.prototype.U;L.prototype.setUseInterimTilesOnError=L.prototype.aa; 
    821 u("ol.interaction.DoubleClickZoom",rj,OPENLAYERS);u("ol.interaction.DoubleClickZoom.handleEvent",sj,OPENLAYERS);u("ol.interaction.DragAndDrop",vv,OPENLAYERS);u("ol.interaction.DragAndDrop.handleEvent",fd,OPENLAYERS);yv.prototype.features=yv.prototype.features;yv.prototype.file=yv.prototype.file;yv.prototype.projection=yv.prototype.projection;Pj.prototype.coordinate=Pj.prototype.coordinate;Pj.prototype.mapBrowserEvent=Pj.prototype.mapBrowserEvent;u("ol.interaction.DragBox",Qj,OPENLAYERS); 
    822 Qj.prototype.getGeometry=Qj.prototype.X;u("ol.interaction.DragPan",Ej,OPENLAYERS);u("ol.interaction.DragRotateAndZoom",Bv,OPENLAYERS);u("ol.interaction.DragRotate",Ij,OPENLAYERS);u("ol.interaction.DragZoom",Vj,OPENLAYERS);Fv.prototype.feature=Fv.prototype.feature;u("ol.interaction.Draw",Gv,OPENLAYERS);u("ol.interaction.Draw.handleEvent",Iv,OPENLAYERS);Gv.prototype.removeLastPoint=Gv.prototype.ho;Gv.prototype.finishDrawing=Gv.prototype.md;Gv.prototype.extend=Gv.prototype.Sl; 
    823 u("ol.interaction.Draw.createRegularPolygon",function(a,c){return function(d,e){var f=d[0],g=d[1],h=Math.sqrt(hc(f,g)),k=e?e:ve(new iv(f),a);we(k,f,h,c?c:Math.atan((g[1]-f[1])/(g[0]-f[0])));return k}},OPENLAYERS);u("ol.interaction.Interaction",nj,OPENLAYERS);nj.prototype.getActive=nj.prototype.f;nj.prototype.getMap=nj.prototype.j;nj.prototype.setActive=nj.prototype.i;u("ol.interaction.defaults",kk,OPENLAYERS);u("ol.interaction.KeyboardPan",Wj,OPENLAYERS); 
    824 u("ol.interaction.KeyboardPan.handleEvent",Xj,OPENLAYERS);u("ol.interaction.KeyboardZoom",Yj,OPENLAYERS);u("ol.interaction.KeyboardZoom.handleEvent",Zj,OPENLAYERS);Wv.prototype.features=Wv.prototype.features;Wv.prototype.mapBrowserPointerEvent=Wv.prototype.mapBrowserPointerEvent;u("ol.interaction.Modify",Xv,OPENLAYERS);u("ol.interaction.Modify.handleEvent",$v,OPENLAYERS);u("ol.interaction.MouseWheelZoom",ak,OPENLAYERS);u("ol.interaction.MouseWheelZoom.handleEvent",bk,OPENLAYERS); 
    825 ak.prototype.setMouseAnchor=ak.prototype.D;u("ol.interaction.PinchRotate",ck,OPENLAYERS);u("ol.interaction.PinchZoom",gk,OPENLAYERS);u("ol.interaction.Pointer",Bj,OPENLAYERS);u("ol.interaction.Pointer.handleEvent",Cj,OPENLAYERS);jw.prototype.selected=jw.prototype.selected;jw.prototype.deselected=jw.prototype.deselected;jw.prototype.mapBrowserEvent=jw.prototype.mapBrowserEvent;u("ol.interaction.Select",kw,OPENLAYERS);kw.prototype.getFeatures=kw.prototype.bm;kw.prototype.getLayer=kw.prototype.cm; 
    826 u("ol.interaction.Select.handleEvent",lw,OPENLAYERS);kw.prototype.setMap=kw.prototype.setMap;u("ol.interaction.Snap",nw,OPENLAYERS);nw.prototype.addFeature=nw.prototype.rb;nw.prototype.removeFeature=nw.prototype.nb;rw.prototype.features=rw.prototype.features;rw.prototype.coordinate=rw.prototype.coordinate;u("ol.interaction.Translate",sw,OPENLAYERS);u("ol.geom.Circle",iv,OPENLAYERS);iv.prototype.clone=iv.prototype.clone;iv.prototype.getCenter=iv.prototype.vd;iv.prototype.getRadius=iv.prototype.nf; 
    827 iv.prototype.getType=iv.prototype.W;iv.prototype.intersectsExtent=iv.prototype.Ia;iv.prototype.setCenter=iv.prototype.Kl;iv.prototype.setCenterAndRadius=iv.prototype.Lf;iv.prototype.setRadius=iv.prototype.Ll;iv.prototype.transform=iv.prototype.fb;u("ol.geom.Geometry",Md,OPENLAYERS);Md.prototype.getClosestPoint=Md.prototype.vb;Md.prototype.getExtent=Md.prototype.G;Md.prototype.simplify=Md.prototype.Bb;Md.prototype.transform=Md.prototype.fb;u("ol.geom.GeometryCollection",zp,OPENLAYERS); 
    828 zp.prototype.clone=zp.prototype.clone;zp.prototype.getGeometries=zp.prototype.vg;zp.prototype.getType=zp.prototype.W;zp.prototype.intersectsExtent=zp.prototype.Ia;zp.prototype.setGeometries=zp.prototype.Qh;zp.prototype.applyTransform=zp.prototype.Hc;zp.prototype.translate=zp.prototype.Rc;u("ol.geom.LinearRing",fe,OPENLAYERS);fe.prototype.clone=fe.prototype.clone;fe.prototype.getArea=fe.prototype.Ol;fe.prototype.getCoordinates=fe.prototype.Y;fe.prototype.getType=fe.prototype.W; 
    829 fe.prototype.setCoordinates=fe.prototype.la;u("ol.geom.LineString",T,OPENLAYERS);T.prototype.appendCoordinate=T.prototype.dj;T.prototype.clone=T.prototype.clone;T.prototype.forEachSegment=T.prototype.rj;T.prototype.getCoordinateAtM=T.prototype.Ml;T.prototype.getCoordinates=T.prototype.Y;T.prototype.getCoordinateAt=T.prototype.qg;T.prototype.getLength=T.prototype.Nl;T.prototype.getType=T.prototype.W;T.prototype.intersectsExtent=T.prototype.Ia;T.prototype.setCoordinates=T.prototype.la; 
    830 u("ol.geom.MultiLineString",U,OPENLAYERS);U.prototype.appendLineString=U.prototype.ej;U.prototype.clone=U.prototype.clone;U.prototype.getCoordinateAtM=U.prototype.Pl;U.prototype.getCoordinates=U.prototype.Y;U.prototype.getLineString=U.prototype.Lj;U.prototype.getLineStrings=U.prototype.rd;U.prototype.getType=U.prototype.W;U.prototype.intersectsExtent=U.prototype.Ia;U.prototype.setCoordinates=U.prototype.la;u("ol.geom.MultiPoint",pp,OPENLAYERS);pp.prototype.appendPoint=pp.prototype.gj; 
    831 pp.prototype.clone=pp.prototype.clone;pp.prototype.getCoordinates=pp.prototype.Y;pp.prototype.getPoint=pp.prototype.Wj;pp.prototype.getPoints=pp.prototype.le;pp.prototype.getType=pp.prototype.W;pp.prototype.intersectsExtent=pp.prototype.Ia;pp.prototype.setCoordinates=pp.prototype.la;u("ol.geom.MultiPolygon",V,OPENLAYERS);V.prototype.appendPolygon=V.prototype.hj;V.prototype.clone=V.prototype.clone;V.prototype.getArea=V.prototype.Ql;V.prototype.getCoordinates=V.prototype.Y; 
    832 V.prototype.getInteriorPoints=V.prototype.Ij;V.prototype.getPolygon=V.prototype.Yj;V.prototype.getPolygons=V.prototype.Xd;V.prototype.getType=V.prototype.W;V.prototype.intersectsExtent=V.prototype.Ia;V.prototype.setCoordinates=V.prototype.la;u("ol.geom.Point",E,OPENLAYERS);E.prototype.clone=E.prototype.clone;E.prototype.getCoordinates=E.prototype.Y;E.prototype.getType=E.prototype.W;E.prototype.intersectsExtent=E.prototype.Ia;E.prototype.setCoordinates=E.prototype.la;u("ol.geom.Polygon",F,OPENLAYERS); 
    833 F.prototype.appendLinearRing=F.prototype.fj;F.prototype.clone=F.prototype.clone;F.prototype.getArea=F.prototype.Rl;F.prototype.getCoordinates=F.prototype.Y;F.prototype.getInteriorPoint=F.prototype.Hj;F.prototype.getLinearRingCount=F.prototype.Mj;F.prototype.getLinearRing=F.prototype.xg;F.prototype.getLinearRings=F.prototype.Vd;F.prototype.getType=F.prototype.W;F.prototype.intersectsExtent=F.prototype.Ia;F.prototype.setCoordinates=F.prototype.la;u("ol.geom.Polygon.circular",te,OPENLAYERS); 
    834 u("ol.geom.Polygon.fromExtent",ue,OPENLAYERS);u("ol.geom.Polygon.fromCircle",ve,OPENLAYERS);u("ol.geom.SimpleGeometry",Od,OPENLAYERS);Od.prototype.getFirstCoordinate=Od.prototype.Kb;Od.prototype.getLastCoordinate=Od.prototype.Lb;Od.prototype.getLayout=Od.prototype.Mb;Od.prototype.applyTransform=Od.prototype.Hc;Od.prototype.translate=Od.prototype.Rc;u("ol.format.EsriJSON",sp,OPENLAYERS);sp.prototype.readFeature=sp.prototype.Ub;sp.prototype.readFeatures=sp.prototype.Ea;sp.prototype.readGeometry=sp.prototype.Uc; 
    835 sp.prototype.readProjection=sp.prototype.Qa;sp.prototype.writeGeometry=sp.prototype.Zc;sp.prototype.writeGeometryObject=sp.prototype.Ke;sp.prototype.writeFeature=sp.prototype.Fd;sp.prototype.writeFeatureObject=sp.prototype.Yc;sp.prototype.writeFeatures=sp.prototype.Wb;sp.prototype.writeFeaturesObject=sp.prototype.Ie;u("ol.format.Feature",dp,OPENLAYERS);u("ol.format.GeoJSON",Dp,OPENLAYERS);Dp.prototype.readFeature=Dp.prototype.Ub;Dp.prototype.readFeatures=Dp.prototype.Ea; 
    836 Dp.prototype.readGeometry=Dp.prototype.Uc;Dp.prototype.readProjection=Dp.prototype.Qa;Dp.prototype.writeFeature=Dp.prototype.Fd;Dp.prototype.writeFeatureObject=Dp.prototype.Yc;Dp.prototype.writeFeatures=Dp.prototype.Wb;Dp.prototype.writeFeaturesObject=Dp.prototype.Ie;Dp.prototype.writeGeometry=Dp.prototype.Zc;Dp.prototype.writeGeometryObject=Dp.prototype.Ke;u("ol.format.GPX",hq,OPENLAYERS);hq.prototype.readFeature=hq.prototype.Ub;hq.prototype.readFeatures=hq.prototype.Ea; 
    837 hq.prototype.readProjection=hq.prototype.Qa;hq.prototype.writeFeatures=hq.prototype.Wb;hq.prototype.writeFeaturesNode=hq.prototype.a;u("ol.format.IGC",Qq,OPENLAYERS);Qq.prototype.readFeature=Qq.prototype.Ub;Qq.prototype.readFeatures=Qq.prototype.Ea;Qq.prototype.readProjection=Qq.prototype.Qa;u("ol.format.KML",tr,OPENLAYERS);tr.prototype.readFeature=tr.prototype.Ub;tr.prototype.readFeatures=tr.prototype.Ea;tr.prototype.readName=tr.prototype.Vn;tr.prototype.readNetworkLinks=tr.prototype.Wn; 
    838 tr.prototype.readProjection=tr.prototype.Qa;tr.prototype.writeFeatures=tr.prototype.Wb;tr.prototype.writeFeaturesNode=tr.prototype.a;u("ol.format.MVT",ht,OPENLAYERS);ht.prototype.setLayers=ht.prototype.c;u("ol.format.OSMXML",jt,OPENLAYERS);jt.prototype.readFeatures=jt.prototype.Ea;jt.prototype.readProjection=jt.prototype.Qa;u("ol.format.Polyline",It,OPENLAYERS);u("ol.format.Polyline.encodeDeltas",Jt,OPENLAYERS);u("ol.format.Polyline.decodeDeltas",Lt,OPENLAYERS); 
    839 u("ol.format.Polyline.encodeFloats",Kt,OPENLAYERS);u("ol.format.Polyline.decodeFloats",Mt,OPENLAYERS);It.prototype.readFeature=It.prototype.Ub;It.prototype.readFeatures=It.prototype.Ea;It.prototype.readGeometry=It.prototype.Uc;It.prototype.readProjection=It.prototype.Qa;It.prototype.writeGeometry=It.prototype.Zc;u("ol.format.TopoJSON",Nt,OPENLAYERS);Nt.prototype.readFeatures=Nt.prototype.Ea;Nt.prototype.readProjection=Nt.prototype.Qa;u("ol.format.WFS",Tt,OPENLAYERS);Tt.prototype.readFeatures=Tt.prototype.Ea; 
    840 Tt.prototype.readTransactionResponse=Tt.prototype.j;Tt.prototype.readFeatureCollectionMetadata=Tt.prototype.i;Tt.prototype.writeGetFeature=Tt.prototype.l;Tt.prototype.writeTransaction=Tt.prototype.A;Tt.prototype.readProjection=Tt.prototype.Qa;u("ol.format.WKT",fu,OPENLAYERS);fu.prototype.readFeature=fu.prototype.Ub;fu.prototype.readFeatures=fu.prototype.Ea;fu.prototype.readGeometry=fu.prototype.Uc;fu.prototype.writeFeature=fu.prototype.Fd;fu.prototype.writeFeatures=fu.prototype.Wb; 
    841 fu.prototype.writeGeometry=fu.prototype.Zc;u("ol.format.WMSCapabilities",xu,OPENLAYERS);xu.prototype.read=xu.prototype.read;u("ol.format.WMSGetFeatureInfo",Uu,OPENLAYERS);Uu.prototype.readFeatures=Uu.prototype.Ea;u("ol.format.WMTSCapabilities",Vu,OPENLAYERS);Vu.prototype.read=Vu.prototype.read;u("ol.format.GML2",Yp,OPENLAYERS);u("ol.format.GML3",Zp,OPENLAYERS);Zp.prototype.writeGeometryNode=Zp.prototype.o;Zp.prototype.writeFeatures=Zp.prototype.Wb;Zp.prototype.writeFeaturesNode=Zp.prototype.a; 
    842 u("ol.format.GML",Zp,OPENLAYERS);Zp.prototype.writeFeatures=Zp.prototype.Wb;Zp.prototype.writeFeaturesNode=Zp.prototype.a;Lp.prototype.readFeatures=Lp.prototype.Ea;u("ol.events.condition.altKeyOnly",function(a){a=a.originalEvent;return a.altKey&&!(a.metaKey||a.ctrlKey)&&!a.shiftKey},OPENLAYERS);u("ol.events.condition.altShiftKeysOnly",tj,OPENLAYERS);u("ol.events.condition.always",fd,OPENLAYERS);u("ol.events.condition.click",function(a){return a.type==ri},OPENLAYERS); 
    843 u("ol.events.condition.never",ed,OPENLAYERS);u("ol.events.condition.pointerMove",vj,OPENLAYERS);u("ol.events.condition.singleClick",wj,OPENLAYERS);u("ol.events.condition.doubleClick",function(a){return a.type==si},OPENLAYERS);u("ol.events.condition.noModifierKeys",xj,OPENLAYERS);u("ol.events.condition.platformModifierKeyOnly",function(a){a=a.originalEvent;return!a.altKey&&(yh?a.metaKey:a.ctrlKey)&&!a.shiftKey},OPENLAYERS);u("ol.events.condition.shiftKeyOnly",yj,OPENLAYERS); 
    844 u("ol.events.condition.targetNotEditable",zj,OPENLAYERS);u("ol.events.condition.mouseOnly",Aj,OPENLAYERS);u("ol.control.Attribution",Ng,OPENLAYERS);u("ol.control.Attribution.render",Og,OPENLAYERS);Ng.prototype.getCollapsible=Ng.prototype.Al;Ng.prototype.setCollapsible=Ng.prototype.Dl;Ng.prototype.setCollapsed=Ng.prototype.Cl;Ng.prototype.getCollapsed=Ng.prototype.zl;u("ol.control.Control",jg,OPENLAYERS);jg.prototype.getMap=jg.prototype.i;jg.prototype.setMap=jg.prototype.setMap; 
    845 jg.prototype.setTarget=jg.prototype.c;u("ol.control.defaults",Tg,OPENLAYERS);u("ol.control.FullScreen",Yg,OPENLAYERS);u("ol.control.MousePosition",Zg,OPENLAYERS);u("ol.control.MousePosition.render",$g,OPENLAYERS);Zg.prototype.getCoordinateFormat=Zg.prototype.rg;Zg.prototype.getProjection=Zg.prototype.Wg;Zg.prototype.setCoordinateFormat=Zg.prototype.Nh;Zg.prototype.setProjection=Zg.prototype.Xg;u("ol.control.OverviewMap",No,OPENLAYERS);u("ol.control.OverviewMap.render",Oo,OPENLAYERS); 
    846 No.prototype.getCollapsible=No.prototype.Gl;No.prototype.setCollapsible=No.prototype.Jl;No.prototype.setCollapsed=No.prototype.Il;No.prototype.getCollapsed=No.prototype.Fl;No.prototype.getOverviewMap=No.prototype.Uj;u("ol.control.Rotate",Qg,OPENLAYERS);u("ol.control.Rotate.render",Rg,OPENLAYERS);u("ol.control.ScaleLine",So,OPENLAYERS);So.prototype.getUnits=So.prototype.J;u("ol.control.ScaleLine.render",To,OPENLAYERS);So.prototype.setUnits=So.prototype.H;u("ol.control.Zoom",Sg,OPENLAYERS); 
    847 u("ol.control.ZoomSlider",Wo,OPENLAYERS);u("ol.control.ZoomSlider.render",Yo,OPENLAYERS);u("ol.control.ZoomToExtent",bp,OPENLAYERS);u("ol.color.asArray",Xe,OPENLAYERS);u("ol.color.asString",Ze,OPENLAYERS);Mb.prototype.changed=Mb.prototype.u;Mb.prototype.dispatchEvent=Mb.prototype.b;Mb.prototype.getRevision=Mb.prototype.L;Mb.prototype.on=Mb.prototype.I;Mb.prototype.once=Mb.prototype.M;Mb.prototype.un=Mb.prototype.K;Mb.prototype.unByKey=Mb.prototype.N;Se.prototype.get=Se.prototype.get; 
    848 Se.prototype.getKeys=Se.prototype.O;Se.prototype.getProperties=Se.prototype.P;Se.prototype.set=Se.prototype.set;Se.prototype.setProperties=Se.prototype.C;Se.prototype.unset=Se.prototype.R;Se.prototype.changed=Se.prototype.u;Se.prototype.dispatchEvent=Se.prototype.b;Se.prototype.getRevision=Se.prototype.L;Se.prototype.on=Se.prototype.I;Se.prototype.once=Se.prototype.M;Se.prototype.un=Se.prototype.K;Se.prototype.unByKey=Se.prototype.N;cp.prototype.get=cp.prototype.get;cp.prototype.getKeys=cp.prototype.O; 
    849 cp.prototype.getProperties=cp.prototype.P;cp.prototype.set=cp.prototype.set;cp.prototype.setProperties=cp.prototype.C;cp.prototype.unset=cp.prototype.R;cp.prototype.changed=cp.prototype.u;cp.prototype.dispatchEvent=cp.prototype.b;cp.prototype.getRevision=cp.prototype.L;cp.prototype.on=cp.prototype.I;cp.prototype.once=cp.prototype.M;cp.prototype.un=cp.prototype.K;cp.prototype.unByKey=cp.prototype.N;Xl.prototype.get=Xl.prototype.get;Xl.prototype.getKeys=Xl.prototype.O;Xl.prototype.getProperties=Xl.prototype.P; 
    850 Xl.prototype.set=Xl.prototype.set;Xl.prototype.setProperties=Xl.prototype.C;Xl.prototype.unset=Xl.prototype.R;Xl.prototype.changed=Xl.prototype.u;Xl.prototype.dispatchEvent=Xl.prototype.b;Xl.prototype.getRevision=Xl.prototype.L;Xl.prototype.on=Xl.prototype.I;Xl.prototype.once=Xl.prototype.M;Xl.prototype.un=Xl.prototype.K;Xl.prototype.unByKey=Xl.prototype.N;hv.prototype.get=hv.prototype.get;hv.prototype.getKeys=hv.prototype.O;hv.prototype.getProperties=hv.prototype.P;hv.prototype.set=hv.prototype.set; 
    851 hv.prototype.setProperties=hv.prototype.C;hv.prototype.unset=hv.prototype.R;hv.prototype.changed=hv.prototype.u;hv.prototype.dispatchEvent=hv.prototype.b;hv.prototype.getRevision=hv.prototype.L;hv.prototype.on=hv.prototype.I;hv.prototype.once=hv.prototype.M;hv.prototype.un=hv.prototype.K;hv.prototype.unByKey=hv.prototype.N;tv.prototype.getTileCoord=tv.prototype.f;S.prototype.get=S.prototype.get;S.prototype.getKeys=S.prototype.O;S.prototype.getProperties=S.prototype.P;S.prototype.set=S.prototype.set; 
    852 S.prototype.setProperties=S.prototype.C;S.prototype.unset=S.prototype.R;S.prototype.changed=S.prototype.u;S.prototype.dispatchEvent=S.prototype.b;S.prototype.getRevision=S.prototype.L;S.prototype.on=S.prototype.I;S.prototype.once=S.prototype.M;S.prototype.un=S.prototype.K;S.prototype.unByKey=S.prototype.N;ni.prototype.map=ni.prototype.map;ni.prototype.frameState=ni.prototype.frameState;oi.prototype.originalEvent=oi.prototype.originalEvent;oi.prototype.pixel=oi.prototype.pixel; 
    853 oi.prototype.coordinate=oi.prototype.coordinate;oi.prototype.dragging=oi.prototype.dragging;oi.prototype.stopPropagation=oi.prototype.stopPropagation;oi.prototype.map=oi.prototype.map;oi.prototype.frameState=oi.prototype.frameState;Jo.prototype.get=Jo.prototype.get;Jo.prototype.getKeys=Jo.prototype.O;Jo.prototype.getProperties=Jo.prototype.P;Jo.prototype.set=Jo.prototype.set;Jo.prototype.setProperties=Jo.prototype.C;Jo.prototype.unset=Jo.prototype.R;Jo.prototype.changed=Jo.prototype.u; 
    854 Jo.prototype.dispatchEvent=Jo.prototype.b;Jo.prototype.getRevision=Jo.prototype.L;Jo.prototype.on=Jo.prototype.I;Jo.prototype.once=Jo.prototype.M;Jo.prototype.un=Jo.prototype.K;Jo.prototype.unByKey=Jo.prototype.N;Zl.prototype.getTileCoord=Zl.prototype.f;xe.prototype.get=xe.prototype.get;xe.prototype.getKeys=xe.prototype.O;xe.prototype.getProperties=xe.prototype.P;xe.prototype.set=xe.prototype.set;xe.prototype.setProperties=xe.prototype.C;xe.prototype.unset=xe.prototype.R;xe.prototype.changed=xe.prototype.u; 
    855 xe.prototype.dispatchEvent=xe.prototype.b;xe.prototype.getRevision=xe.prototype.L;xe.prototype.on=xe.prototype.I;xe.prototype.once=xe.prototype.M;xe.prototype.un=xe.prototype.K;xe.prototype.unByKey=xe.prototype.N;tx.prototype.getMaxZoom=tx.prototype.yg;tx.prototype.getMinZoom=tx.prototype.zg;tx.prototype.getOrigin=tx.prototype.Ha;tx.prototype.getResolution=tx.prototype.Z;tx.prototype.getResolutions=tx.prototype.Pb;tx.prototype.getTileCoordExtent=tx.prototype.Ca; 
    856 tx.prototype.getTileCoordForCoordAndResolution=tx.prototype.$d;tx.prototype.getTileCoordForCoordAndZ=tx.prototype.ud;tx.prototype.getTileSize=tx.prototype.Ua;Ik.prototype.getOpacity=Ik.prototype.re;Ik.prototype.getRotateWithView=Ik.prototype.Yd;Ik.prototype.getRotation=Ik.prototype.se;Ik.prototype.getScale=Ik.prototype.te;Ik.prototype.getSnapToPixel=Ik.prototype.Zd;Ik.prototype.setOpacity=Ik.prototype.ue;Ik.prototype.setRotation=Ik.prototype.ve;Ik.prototype.setScale=Ik.prototype.we; 
    857 Wi.prototype.getOpacity=Wi.prototype.re;Wi.prototype.getRotateWithView=Wi.prototype.Yd;Wi.prototype.getRotation=Wi.prototype.se;Wi.prototype.getScale=Wi.prototype.te;Wi.prototype.getSnapToPixel=Wi.prototype.Zd;Wi.prototype.setOpacity=Wi.prototype.ue;Wi.prototype.setRotation=Wi.prototype.ve;Wi.prototype.setScale=Wi.prototype.we;Bx.prototype.getOpacity=Bx.prototype.re;Bx.prototype.getRotateWithView=Bx.prototype.Yd;Bx.prototype.getRotation=Bx.prototype.se;Bx.prototype.getScale=Bx.prototype.te; 
    858 Bx.prototype.getSnapToPixel=Bx.prototype.Zd;Bx.prototype.setOpacity=Bx.prototype.ue;Bx.prototype.setRotation=Bx.prototype.ve;Bx.prototype.setScale=Bx.prototype.we;rg.prototype.get=rg.prototype.get;rg.prototype.getKeys=rg.prototype.O;rg.prototype.getProperties=rg.prototype.P;rg.prototype.set=rg.prototype.set;rg.prototype.setProperties=rg.prototype.C;rg.prototype.unset=rg.prototype.R;rg.prototype.changed=rg.prototype.u;rg.prototype.dispatchEvent=rg.prototype.b;rg.prototype.getRevision=rg.prototype.L; 
    859 rg.prototype.on=rg.prototype.I;rg.prototype.once=rg.prototype.M;rg.prototype.un=rg.prototype.K;rg.prototype.unByKey=rg.prototype.N;Ig.prototype.getAttributions=Ig.prototype.ea;Ig.prototype.getLogo=Ig.prototype.pa;Ig.prototype.getProjection=Ig.prototype.sa;Ig.prototype.getState=Ig.prototype.V;Ig.prototype.setAttributions=Ig.prototype.ma;Ig.prototype.get=Ig.prototype.get;Ig.prototype.getKeys=Ig.prototype.O;Ig.prototype.getProperties=Ig.prototype.P;Ig.prototype.set=Ig.prototype.set; 
    860 Ig.prototype.setProperties=Ig.prototype.C;Ig.prototype.unset=Ig.prototype.R;Ig.prototype.changed=Ig.prototype.u;Ig.prototype.dispatchEvent=Ig.prototype.b;Ig.prototype.getRevision=Ig.prototype.L;Ig.prototype.on=Ig.prototype.I;Ig.prototype.once=Ig.prototype.M;Ig.prototype.un=Ig.prototype.K;Ig.prototype.unByKey=Ig.prototype.N;un.prototype.getTileGrid=un.prototype.Ma;un.prototype.getAttributions=un.prototype.ea;un.prototype.getLogo=un.prototype.pa;un.prototype.getProjection=un.prototype.sa; 
    861 un.prototype.getState=un.prototype.V;un.prototype.setAttributions=un.prototype.ma;un.prototype.get=un.prototype.get;un.prototype.getKeys=un.prototype.O;un.prototype.getProperties=un.prototype.P;un.prototype.set=un.prototype.set;un.prototype.setProperties=un.prototype.C;un.prototype.unset=un.prototype.R;un.prototype.changed=un.prototype.u;un.prototype.dispatchEvent=un.prototype.b;un.prototype.getRevision=un.prototype.L;un.prototype.on=un.prototype.I;un.prototype.once=un.prototype.M; 
    862 un.prototype.un=un.prototype.K;un.prototype.unByKey=un.prototype.N;Y.prototype.getTileLoadFunction=Y.prototype.$a;Y.prototype.getTileUrlFunction=Y.prototype.ab;Y.prototype.getUrls=Y.prototype.bb;Y.prototype.setTileLoadFunction=Y.prototype.jb;Y.prototype.setTileUrlFunction=Y.prototype.Na;Y.prototype.setUrl=Y.prototype.Xa;Y.prototype.setUrls=Y.prototype.Ya;Y.prototype.getTileGrid=Y.prototype.Ma;Y.prototype.getAttributions=Y.prototype.ea;Y.prototype.getLogo=Y.prototype.pa;Y.prototype.getProjection=Y.prototype.sa; 
    863 Y.prototype.getState=Y.prototype.V;Y.prototype.setAttributions=Y.prototype.ma;Y.prototype.get=Y.prototype.get;Y.prototype.getKeys=Y.prototype.O;Y.prototype.getProperties=Y.prototype.P;Y.prototype.set=Y.prototype.set;Y.prototype.setProperties=Y.prototype.C;Y.prototype.unset=Y.prototype.R;Y.prototype.changed=Y.prototype.u;Y.prototype.dispatchEvent=Y.prototype.b;Y.prototype.getRevision=Y.prototype.L;Y.prototype.on=Y.prototype.I;Y.prototype.once=Y.prototype.M;Y.prototype.un=Y.prototype.K; 
    864 Y.prototype.unByKey=Y.prototype.N;Ew.prototype.setRenderReprojectionEdges=Ew.prototype.zb;Ew.prototype.setTileGridForProjection=Ew.prototype.Ab;Ew.prototype.getTileLoadFunction=Ew.prototype.$a;Ew.prototype.getTileUrlFunction=Ew.prototype.ab;Ew.prototype.getUrls=Ew.prototype.bb;Ew.prototype.setTileLoadFunction=Ew.prototype.jb;Ew.prototype.setTileUrlFunction=Ew.prototype.Na;Ew.prototype.setUrl=Ew.prototype.Xa;Ew.prototype.setUrls=Ew.prototype.Ya;Ew.prototype.getTileGrid=Ew.prototype.Ma; 
    865 Ew.prototype.getAttributions=Ew.prototype.ea;Ew.prototype.getLogo=Ew.prototype.pa;Ew.prototype.getProjection=Ew.prototype.sa;Ew.prototype.getState=Ew.prototype.V;Ew.prototype.setAttributions=Ew.prototype.ma;Ew.prototype.get=Ew.prototype.get;Ew.prototype.getKeys=Ew.prototype.O;Ew.prototype.getProperties=Ew.prototype.P;Ew.prototype.set=Ew.prototype.set;Ew.prototype.setProperties=Ew.prototype.C;Ew.prototype.unset=Ew.prototype.R;Ew.prototype.changed=Ew.prototype.u;Ew.prototype.dispatchEvent=Ew.prototype.b; 
    866 Ew.prototype.getRevision=Ew.prototype.L;Ew.prototype.on=Ew.prototype.I;Ew.prototype.once=Ew.prototype.M;Ew.prototype.un=Ew.prototype.K;Ew.prototype.unByKey=Ew.prototype.N;bn.prototype.getAttributions=bn.prototype.ea;bn.prototype.getLogo=bn.prototype.pa;bn.prototype.getProjection=bn.prototype.sa;bn.prototype.getState=bn.prototype.V;bn.prototype.setAttributions=bn.prototype.ma;bn.prototype.get=bn.prototype.get;bn.prototype.getKeys=bn.prototype.O;bn.prototype.getProperties=bn.prototype.P; 
    867 bn.prototype.set=bn.prototype.set;bn.prototype.setProperties=bn.prototype.C;bn.prototype.unset=bn.prototype.R;bn.prototype.changed=bn.prototype.u;bn.prototype.dispatchEvent=bn.prototype.b;bn.prototype.getRevision=bn.prototype.L;bn.prototype.on=bn.prototype.I;bn.prototype.once=bn.prototype.M;bn.prototype.un=bn.prototype.K;bn.prototype.unByKey=bn.prototype.N;Gw.prototype.addFeature=Gw.prototype.rb;Gw.prototype.addFeatures=Gw.prototype.Gc;Gw.prototype.clear=Gw.prototype.clear; 
    868 Gw.prototype.forEachFeature=Gw.prototype.mg;Gw.prototype.forEachFeatureInExtent=Gw.prototype.ub;Gw.prototype.forEachFeatureIntersectingExtent=Gw.prototype.ng;Gw.prototype.getFeaturesCollection=Gw.prototype.ug;Gw.prototype.getFeatures=Gw.prototype.pe;Gw.prototype.getFeaturesAtCoordinate=Gw.prototype.tg;Gw.prototype.getFeaturesInExtent=Gw.prototype.$e;Gw.prototype.getClosestFeatureToCoordinate=Gw.prototype.pg;Gw.prototype.getExtent=Gw.prototype.G;Gw.prototype.getFeatureById=Gw.prototype.sg; 
    869 Gw.prototype.removeFeature=Gw.prototype.nb;Gw.prototype.getAttributions=Gw.prototype.ea;Gw.prototype.getLogo=Gw.prototype.pa;Gw.prototype.getProjection=Gw.prototype.sa;Gw.prototype.getState=Gw.prototype.V;Gw.prototype.setAttributions=Gw.prototype.ma;Gw.prototype.get=Gw.prototype.get;Gw.prototype.getKeys=Gw.prototype.O;Gw.prototype.getProperties=Gw.prototype.P;Gw.prototype.set=Gw.prototype.set;Gw.prototype.setProperties=Gw.prototype.C;Gw.prototype.unset=Gw.prototype.R;Gw.prototype.changed=Gw.prototype.u; 
    870 Gw.prototype.dispatchEvent=Gw.prototype.b;Gw.prototype.getRevision=Gw.prototype.L;Gw.prototype.on=Gw.prototype.I;Gw.prototype.once=Gw.prototype.M;Gw.prototype.un=Gw.prototype.K;Gw.prototype.unByKey=Gw.prototype.N;Pl.prototype.getAttributions=Pl.prototype.ea;Pl.prototype.getLogo=Pl.prototype.pa;Pl.prototype.getProjection=Pl.prototype.sa;Pl.prototype.getState=Pl.prototype.V;Pl.prototype.setAttributions=Pl.prototype.ma;Pl.prototype.get=Pl.prototype.get;Pl.prototype.getKeys=Pl.prototype.O; 
    871 Pl.prototype.getProperties=Pl.prototype.P;Pl.prototype.set=Pl.prototype.set;Pl.prototype.setProperties=Pl.prototype.C;Pl.prototype.unset=Pl.prototype.R;Pl.prototype.changed=Pl.prototype.u;Pl.prototype.dispatchEvent=Pl.prototype.b;Pl.prototype.getRevision=Pl.prototype.L;Pl.prototype.on=Pl.prototype.I;Pl.prototype.once=Pl.prototype.M;Pl.prototype.un=Pl.prototype.K;Pl.prototype.unByKey=Pl.prototype.N;Wl.prototype.getAttributions=Wl.prototype.ea;Wl.prototype.getLogo=Wl.prototype.pa; 
    872 Wl.prototype.getProjection=Wl.prototype.sa;Wl.prototype.getState=Wl.prototype.V;Wl.prototype.setAttributions=Wl.prototype.ma;Wl.prototype.get=Wl.prototype.get;Wl.prototype.getKeys=Wl.prototype.O;Wl.prototype.getProperties=Wl.prototype.P;Wl.prototype.set=Wl.prototype.set;Wl.prototype.setProperties=Wl.prototype.C;Wl.prototype.unset=Wl.prototype.R;Wl.prototype.changed=Wl.prototype.u;Wl.prototype.dispatchEvent=Wl.prototype.b;Wl.prototype.getRevision=Wl.prototype.L;Wl.prototype.on=Wl.prototype.I; 
    873 Wl.prototype.once=Wl.prototype.M;Wl.prototype.un=Wl.prototype.K;Wl.prototype.unByKey=Wl.prototype.N;Jw.prototype.getAttributions=Jw.prototype.ea;Jw.prototype.getLogo=Jw.prototype.pa;Jw.prototype.getProjection=Jw.prototype.sa;Jw.prototype.getState=Jw.prototype.V;Jw.prototype.setAttributions=Jw.prototype.ma;Jw.prototype.get=Jw.prototype.get;Jw.prototype.getKeys=Jw.prototype.O;Jw.prototype.getProperties=Jw.prototype.P;Jw.prototype.set=Jw.prototype.set;Jw.prototype.setProperties=Jw.prototype.C; 
    874 Jw.prototype.unset=Jw.prototype.R;Jw.prototype.changed=Jw.prototype.u;Jw.prototype.dispatchEvent=Jw.prototype.b;Jw.prototype.getRevision=Jw.prototype.L;Jw.prototype.on=Jw.prototype.I;Jw.prototype.once=Jw.prototype.M;Jw.prototype.un=Jw.prototype.K;Jw.prototype.unByKey=Jw.prototype.N;Kw.prototype.getAttributions=Kw.prototype.ea;Kw.prototype.getLogo=Kw.prototype.pa;Kw.prototype.getProjection=Kw.prototype.sa;Kw.prototype.getState=Kw.prototype.V;Kw.prototype.setAttributions=Kw.prototype.ma; 
    875 Kw.prototype.get=Kw.prototype.get;Kw.prototype.getKeys=Kw.prototype.O;Kw.prototype.getProperties=Kw.prototype.P;Kw.prototype.set=Kw.prototype.set;Kw.prototype.setProperties=Kw.prototype.C;Kw.prototype.unset=Kw.prototype.R;Kw.prototype.changed=Kw.prototype.u;Kw.prototype.dispatchEvent=Kw.prototype.b;Kw.prototype.getRevision=Kw.prototype.L;Kw.prototype.on=Kw.prototype.I;Kw.prototype.once=Kw.prototype.M;Kw.prototype.un=Kw.prototype.K;Kw.prototype.unByKey=Kw.prototype.N;kn.prototype.getAttributions=kn.prototype.ea; 
    876 kn.prototype.getLogo=kn.prototype.pa;kn.prototype.getProjection=kn.prototype.sa;kn.prototype.getState=kn.prototype.V;kn.prototype.setAttributions=kn.prototype.ma;kn.prototype.get=kn.prototype.get;kn.prototype.getKeys=kn.prototype.O;kn.prototype.getProperties=kn.prototype.P;kn.prototype.set=kn.prototype.set;kn.prototype.setProperties=kn.prototype.C;kn.prototype.unset=kn.prototype.R;kn.prototype.changed=kn.prototype.u;kn.prototype.dispatchEvent=kn.prototype.b;kn.prototype.getRevision=kn.prototype.L; 
    877 kn.prototype.on=kn.prototype.I;kn.prototype.once=kn.prototype.M;kn.prototype.un=kn.prototype.K;kn.prototype.unByKey=kn.prototype.N;Lw.prototype.getAttributions=Lw.prototype.ea;Lw.prototype.getLogo=Lw.prototype.pa;Lw.prototype.getProjection=Lw.prototype.sa;Lw.prototype.getState=Lw.prototype.V;Lw.prototype.setAttributions=Lw.prototype.ma;Lw.prototype.get=Lw.prototype.get;Lw.prototype.getKeys=Lw.prototype.O;Lw.prototype.getProperties=Lw.prototype.P;Lw.prototype.set=Lw.prototype.set; 
    878 Lw.prototype.setProperties=Lw.prototype.C;Lw.prototype.unset=Lw.prototype.R;Lw.prototype.changed=Lw.prototype.u;Lw.prototype.dispatchEvent=Lw.prototype.b;Lw.prototype.getRevision=Lw.prototype.L;Lw.prototype.on=Lw.prototype.I;Lw.prototype.once=Lw.prototype.M;Lw.prototype.un=Lw.prototype.K;Lw.prototype.unByKey=Lw.prototype.N;Pw.prototype.setRenderReprojectionEdges=Pw.prototype.zb;Pw.prototype.setTileGridForProjection=Pw.prototype.Ab;Pw.prototype.getTileLoadFunction=Pw.prototype.$a; 
    879 Pw.prototype.getTileUrlFunction=Pw.prototype.ab;Pw.prototype.getUrls=Pw.prototype.bb;Pw.prototype.setTileLoadFunction=Pw.prototype.jb;Pw.prototype.setTileUrlFunction=Pw.prototype.Na;Pw.prototype.setUrl=Pw.prototype.Xa;Pw.prototype.setUrls=Pw.prototype.Ya;Pw.prototype.getTileGrid=Pw.prototype.Ma;Pw.prototype.getAttributions=Pw.prototype.ea;Pw.prototype.getLogo=Pw.prototype.pa;Pw.prototype.getProjection=Pw.prototype.sa;Pw.prototype.getState=Pw.prototype.V;Pw.prototype.setAttributions=Pw.prototype.ma; 
    880 Pw.prototype.get=Pw.prototype.get;Pw.prototype.getKeys=Pw.prototype.O;Pw.prototype.getProperties=Pw.prototype.P;Pw.prototype.set=Pw.prototype.set;Pw.prototype.setProperties=Pw.prototype.C;Pw.prototype.unset=Pw.prototype.R;Pw.prototype.changed=Pw.prototype.u;Pw.prototype.dispatchEvent=Pw.prototype.b;Pw.prototype.getRevision=Pw.prototype.L;Pw.prototype.on=Pw.prototype.I;Pw.prototype.once=Pw.prototype.M;Pw.prototype.un=Pw.prototype.K;Pw.prototype.unByKey=Pw.prototype.N; 
    881 Sw.prototype.setRenderReprojectionEdges=Sw.prototype.zb;Sw.prototype.setTileGridForProjection=Sw.prototype.Ab;Sw.prototype.getTileLoadFunction=Sw.prototype.$a;Sw.prototype.getTileUrlFunction=Sw.prototype.ab;Sw.prototype.getUrls=Sw.prototype.bb;Sw.prototype.setTileLoadFunction=Sw.prototype.jb;Sw.prototype.setTileUrlFunction=Sw.prototype.Na;Sw.prototype.setUrl=Sw.prototype.Xa;Sw.prototype.setUrls=Sw.prototype.Ya;Sw.prototype.getTileGrid=Sw.prototype.Ma;Sw.prototype.getAttributions=Sw.prototype.ea; 
    882 Sw.prototype.getLogo=Sw.prototype.pa;Sw.prototype.getProjection=Sw.prototype.sa;Sw.prototype.getState=Sw.prototype.V;Sw.prototype.setAttributions=Sw.prototype.ma;Sw.prototype.get=Sw.prototype.get;Sw.prototype.getKeys=Sw.prototype.O;Sw.prototype.getProperties=Sw.prototype.P;Sw.prototype.set=Sw.prototype.set;Sw.prototype.setProperties=Sw.prototype.C;Sw.prototype.unset=Sw.prototype.R;Sw.prototype.changed=Sw.prototype.u;Sw.prototype.dispatchEvent=Sw.prototype.b;Sw.prototype.getRevision=Sw.prototype.L; 
    883 Sw.prototype.on=Sw.prototype.I;Sw.prototype.once=Sw.prototype.M;Sw.prototype.un=Sw.prototype.K;Sw.prototype.unByKey=Sw.prototype.N;Qw.prototype.setRenderReprojectionEdges=Qw.prototype.zb;Qw.prototype.setTileGridForProjection=Qw.prototype.Ab;Qw.prototype.getTileLoadFunction=Qw.prototype.$a;Qw.prototype.getTileUrlFunction=Qw.prototype.ab;Qw.prototype.getUrls=Qw.prototype.bb;Qw.prototype.setTileLoadFunction=Qw.prototype.jb;Qw.prototype.setTileUrlFunction=Qw.prototype.Na;Qw.prototype.setUrl=Qw.prototype.Xa; 
    884 Qw.prototype.setUrls=Qw.prototype.Ya;Qw.prototype.getTileGrid=Qw.prototype.Ma;Qw.prototype.getAttributions=Qw.prototype.ea;Qw.prototype.getLogo=Qw.prototype.pa;Qw.prototype.getProjection=Qw.prototype.sa;Qw.prototype.getState=Qw.prototype.V;Qw.prototype.setAttributions=Qw.prototype.ma;Qw.prototype.get=Qw.prototype.get;Qw.prototype.getKeys=Qw.prototype.O;Qw.prototype.getProperties=Qw.prototype.P;Qw.prototype.set=Qw.prototype.set;Qw.prototype.setProperties=Qw.prototype.C;Qw.prototype.unset=Qw.prototype.R; 
    885 Qw.prototype.changed=Qw.prototype.u;Qw.prototype.dispatchEvent=Qw.prototype.b;Qw.prototype.getRevision=Qw.prototype.L;Qw.prototype.on=Qw.prototype.I;Qw.prototype.once=Qw.prototype.M;Qw.prototype.un=Qw.prototype.K;Qw.prototype.unByKey=Qw.prototype.N;Vw.prototype.getAttributions=Vw.prototype.ea;Vw.prototype.getLogo=Vw.prototype.pa;Vw.prototype.getProjection=Vw.prototype.sa;Vw.prototype.getState=Vw.prototype.V;Vw.prototype.setAttributions=Vw.prototype.ma;Vw.prototype.get=Vw.prototype.get; 
    886 Vw.prototype.getKeys=Vw.prototype.O;Vw.prototype.getProperties=Vw.prototype.P;Vw.prototype.set=Vw.prototype.set;Vw.prototype.setProperties=Vw.prototype.C;Vw.prototype.unset=Vw.prototype.R;Vw.prototype.changed=Vw.prototype.u;Vw.prototype.dispatchEvent=Vw.prototype.b;Vw.prototype.getRevision=Vw.prototype.L;Vw.prototype.on=Vw.prototype.I;Vw.prototype.once=Vw.prototype.M;Vw.prototype.un=Vw.prototype.K;Vw.prototype.unByKey=Vw.prototype.N;ex.prototype.setRenderReprojectionEdges=ex.prototype.zb; 
    887 ex.prototype.setTileGridForProjection=ex.prototype.Ab;ex.prototype.getTileLoadFunction=ex.prototype.$a;ex.prototype.getTileUrlFunction=ex.prototype.ab;ex.prototype.getUrls=ex.prototype.bb;ex.prototype.setTileLoadFunction=ex.prototype.jb;ex.prototype.setTileUrlFunction=ex.prototype.Na;ex.prototype.setUrl=ex.prototype.Xa;ex.prototype.setUrls=ex.prototype.Ya;ex.prototype.getTileGrid=ex.prototype.Ma;ex.prototype.getAttributions=ex.prototype.ea;ex.prototype.getLogo=ex.prototype.pa; 
    888 ex.prototype.getProjection=ex.prototype.sa;ex.prototype.getState=ex.prototype.V;ex.prototype.setAttributions=ex.prototype.ma;ex.prototype.get=ex.prototype.get;ex.prototype.getKeys=ex.prototype.O;ex.prototype.getProperties=ex.prototype.P;ex.prototype.set=ex.prototype.set;ex.prototype.setProperties=ex.prototype.C;ex.prototype.unset=ex.prototype.R;ex.prototype.changed=ex.prototype.u;ex.prototype.dispatchEvent=ex.prototype.b;ex.prototype.getRevision=ex.prototype.L;ex.prototype.on=ex.prototype.I; 
    889 ex.prototype.once=ex.prototype.M;ex.prototype.un=ex.prototype.K;ex.prototype.unByKey=ex.prototype.N;gx.prototype.setRenderReprojectionEdges=gx.prototype.zb;gx.prototype.setTileGridForProjection=gx.prototype.Ab;gx.prototype.getTileLoadFunction=gx.prototype.$a;gx.prototype.getTileUrlFunction=gx.prototype.ab;gx.prototype.getUrls=gx.prototype.bb;gx.prototype.setTileLoadFunction=gx.prototype.jb;gx.prototype.setTileUrlFunction=gx.prototype.Na;gx.prototype.setUrl=gx.prototype.Xa;gx.prototype.setUrls=gx.prototype.Ya; 
    890 gx.prototype.getTileGrid=gx.prototype.Ma;gx.prototype.getAttributions=gx.prototype.ea;gx.prototype.getLogo=gx.prototype.pa;gx.prototype.getProjection=gx.prototype.sa;gx.prototype.getState=gx.prototype.V;gx.prototype.setAttributions=gx.prototype.ma;gx.prototype.get=gx.prototype.get;gx.prototype.getKeys=gx.prototype.O;gx.prototype.getProperties=gx.prototype.P;gx.prototype.set=gx.prototype.set;gx.prototype.setProperties=gx.prototype.C;gx.prototype.unset=gx.prototype.R;gx.prototype.changed=gx.prototype.u; 
    891 gx.prototype.dispatchEvent=gx.prototype.b;gx.prototype.getRevision=gx.prototype.L;gx.prototype.on=gx.prototype.I;gx.prototype.once=gx.prototype.M;gx.prototype.un=gx.prototype.K;gx.prototype.unByKey=gx.prototype.N;ix.prototype.getTileGrid=ix.prototype.Ma;ix.prototype.getAttributions=ix.prototype.ea;ix.prototype.getLogo=ix.prototype.pa;ix.prototype.getProjection=ix.prototype.sa;ix.prototype.getState=ix.prototype.V;ix.prototype.setAttributions=ix.prototype.ma;ix.prototype.get=ix.prototype.get; 
    892 ix.prototype.getKeys=ix.prototype.O;ix.prototype.getProperties=ix.prototype.P;ix.prototype.set=ix.prototype.set;ix.prototype.setProperties=ix.prototype.C;ix.prototype.unset=ix.prototype.R;ix.prototype.changed=ix.prototype.u;ix.prototype.dispatchEvent=ix.prototype.b;ix.prototype.getRevision=ix.prototype.L;ix.prototype.on=ix.prototype.I;ix.prototype.once=ix.prototype.M;ix.prototype.un=ix.prototype.K;ix.prototype.unByKey=ix.prototype.N;jx.prototype.setRenderReprojectionEdges=jx.prototype.zb; 
    893 jx.prototype.setTileGridForProjection=jx.prototype.Ab;jx.prototype.getTileLoadFunction=jx.prototype.$a;jx.prototype.getTileUrlFunction=jx.prototype.ab;jx.prototype.getUrls=jx.prototype.bb;jx.prototype.setTileLoadFunction=jx.prototype.jb;jx.prototype.setTileUrlFunction=jx.prototype.Na;jx.prototype.setUrl=jx.prototype.Xa;jx.prototype.setUrls=jx.prototype.Ya;jx.prototype.getTileGrid=jx.prototype.Ma;jx.prototype.getAttributions=jx.prototype.ea;jx.prototype.getLogo=jx.prototype.pa; 
    894 jx.prototype.getProjection=jx.prototype.sa;jx.prototype.getState=jx.prototype.V;jx.prototype.setAttributions=jx.prototype.ma;jx.prototype.get=jx.prototype.get;jx.prototype.getKeys=jx.prototype.O;jx.prototype.getProperties=jx.prototype.P;jx.prototype.set=jx.prototype.set;jx.prototype.setProperties=jx.prototype.C;jx.prototype.unset=jx.prototype.R;jx.prototype.changed=jx.prototype.u;jx.prototype.dispatchEvent=jx.prototype.b;jx.prototype.getRevision=jx.prototype.L;jx.prototype.on=jx.prototype.I; 
    895 jx.prototype.once=jx.prototype.M;jx.prototype.un=jx.prototype.K;jx.prototype.unByKey=jx.prototype.N;kx.prototype.getTileGrid=kx.prototype.Ma;kx.prototype.getAttributions=kx.prototype.ea;kx.prototype.getLogo=kx.prototype.pa;kx.prototype.getProjection=kx.prototype.sa;kx.prototype.getState=kx.prototype.V;kx.prototype.setAttributions=kx.prototype.ma;kx.prototype.get=kx.prototype.get;kx.prototype.getKeys=kx.prototype.O;kx.prototype.getProperties=kx.prototype.P;kx.prototype.set=kx.prototype.set; 
    896 kx.prototype.setProperties=kx.prototype.C;kx.prototype.unset=kx.prototype.R;kx.prototype.changed=kx.prototype.u;kx.prototype.dispatchEvent=kx.prototype.b;kx.prototype.getRevision=kx.prototype.L;kx.prototype.on=kx.prototype.I;kx.prototype.once=kx.prototype.M;kx.prototype.un=kx.prototype.K;kx.prototype.unByKey=kx.prototype.N;ox.prototype.setRenderReprojectionEdges=ox.prototype.zb;ox.prototype.setTileGridForProjection=ox.prototype.Ab;ox.prototype.getTileLoadFunction=ox.prototype.$a; 
    897 ox.prototype.getTileUrlFunction=ox.prototype.ab;ox.prototype.getUrls=ox.prototype.bb;ox.prototype.setTileLoadFunction=ox.prototype.jb;ox.prototype.setTileUrlFunction=ox.prototype.Na;ox.prototype.setUrl=ox.prototype.Xa;ox.prototype.setUrls=ox.prototype.Ya;ox.prototype.getTileGrid=ox.prototype.Ma;ox.prototype.getAttributions=ox.prototype.ea;ox.prototype.getLogo=ox.prototype.pa;ox.prototype.getProjection=ox.prototype.sa;ox.prototype.getState=ox.prototype.V;ox.prototype.setAttributions=ox.prototype.ma; 
    898 ox.prototype.get=ox.prototype.get;ox.prototype.getKeys=ox.prototype.O;ox.prototype.getProperties=ox.prototype.P;ox.prototype.set=ox.prototype.set;ox.prototype.setProperties=ox.prototype.C;ox.prototype.unset=ox.prototype.R;ox.prototype.changed=ox.prototype.u;ox.prototype.dispatchEvent=ox.prototype.b;ox.prototype.getRevision=ox.prototype.L;ox.prototype.on=ox.prototype.I;ox.prototype.once=ox.prototype.M;ox.prototype.un=ox.prototype.K;ox.prototype.unByKey=ox.prototype.N; 
    899 vn.prototype.getTileLoadFunction=vn.prototype.$a;vn.prototype.getTileUrlFunction=vn.prototype.ab;vn.prototype.getUrls=vn.prototype.bb;vn.prototype.setTileLoadFunction=vn.prototype.jb;vn.prototype.setTileUrlFunction=vn.prototype.Na;vn.prototype.setUrl=vn.prototype.Xa;vn.prototype.setUrls=vn.prototype.Ya;vn.prototype.getTileGrid=vn.prototype.Ma;vn.prototype.getAttributions=vn.prototype.ea;vn.prototype.getLogo=vn.prototype.pa;vn.prototype.getProjection=vn.prototype.sa;vn.prototype.getState=vn.prototype.V; 
    900 vn.prototype.setAttributions=vn.prototype.ma;vn.prototype.get=vn.prototype.get;vn.prototype.getKeys=vn.prototype.O;vn.prototype.getProperties=vn.prototype.P;vn.prototype.set=vn.prototype.set;vn.prototype.setProperties=vn.prototype.C;vn.prototype.unset=vn.prototype.R;vn.prototype.changed=vn.prototype.u;vn.prototype.dispatchEvent=vn.prototype.b;vn.prototype.getRevision=vn.prototype.L;vn.prototype.on=vn.prototype.I;vn.prototype.once=vn.prototype.M;vn.prototype.un=vn.prototype.K; 
    901 vn.prototype.unByKey=vn.prototype.N;Z.prototype.setRenderReprojectionEdges=Z.prototype.zb;Z.prototype.setTileGridForProjection=Z.prototype.Ab;Z.prototype.getTileLoadFunction=Z.prototype.$a;Z.prototype.getTileUrlFunction=Z.prototype.ab;Z.prototype.getUrls=Z.prototype.bb;Z.prototype.setTileLoadFunction=Z.prototype.jb;Z.prototype.setTileUrlFunction=Z.prototype.Na;Z.prototype.setUrl=Z.prototype.Xa;Z.prototype.setUrls=Z.prototype.Ya;Z.prototype.getTileGrid=Z.prototype.Ma;Z.prototype.getAttributions=Z.prototype.ea; 
    902 Z.prototype.getLogo=Z.prototype.pa;Z.prototype.getProjection=Z.prototype.sa;Z.prototype.getState=Z.prototype.V;Z.prototype.setAttributions=Z.prototype.ma;Z.prototype.get=Z.prototype.get;Z.prototype.getKeys=Z.prototype.O;Z.prototype.getProperties=Z.prototype.P;Z.prototype.set=Z.prototype.set;Z.prototype.setProperties=Z.prototype.C;Z.prototype.unset=Z.prototype.R;Z.prototype.changed=Z.prototype.u;Z.prototype.dispatchEvent=Z.prototype.b;Z.prototype.getRevision=Z.prototype.L;Z.prototype.on=Z.prototype.I; 
    903 Z.prototype.once=Z.prototype.M;Z.prototype.un=Z.prototype.K;Z.prototype.unByKey=Z.prototype.N;wx.prototype.setRenderReprojectionEdges=wx.prototype.zb;wx.prototype.setTileGridForProjection=wx.prototype.Ab;wx.prototype.getTileLoadFunction=wx.prototype.$a;wx.prototype.getTileUrlFunction=wx.prototype.ab;wx.prototype.getUrls=wx.prototype.bb;wx.prototype.setTileLoadFunction=wx.prototype.jb;wx.prototype.setTileUrlFunction=wx.prototype.Na;wx.prototype.setUrl=wx.prototype.Xa;wx.prototype.setUrls=wx.prototype.Ya; 
    904 wx.prototype.getTileGrid=wx.prototype.Ma;wx.prototype.getAttributions=wx.prototype.ea;wx.prototype.getLogo=wx.prototype.pa;wx.prototype.getProjection=wx.prototype.sa;wx.prototype.getState=wx.prototype.V;wx.prototype.setAttributions=wx.prototype.ma;wx.prototype.get=wx.prototype.get;wx.prototype.getKeys=wx.prototype.O;wx.prototype.getProperties=wx.prototype.P;wx.prototype.set=wx.prototype.set;wx.prototype.setProperties=wx.prototype.C;wx.prototype.unset=wx.prototype.R;wx.prototype.changed=wx.prototype.u; 
    905 wx.prototype.dispatchEvent=wx.prototype.b;wx.prototype.getRevision=wx.prototype.L;wx.prototype.on=wx.prototype.I;wx.prototype.once=wx.prototype.M;wx.prototype.un=wx.prototype.K;wx.prototype.unByKey=wx.prototype.N;Aw.prototype.getTileCoord=Aw.prototype.f;Mi.prototype.changed=Mi.prototype.u;Mi.prototype.dispatchEvent=Mi.prototype.b;Mi.prototype.getRevision=Mi.prototype.L;Mi.prototype.on=Mi.prototype.I;Mi.prototype.once=Mi.prototype.M;Mi.prototype.un=Mi.prototype.K;Mi.prototype.unByKey=Mi.prototype.N; 
    906 so.prototype.changed=so.prototype.u;so.prototype.dispatchEvent=so.prototype.b;so.prototype.getRevision=so.prototype.L;so.prototype.on=so.prototype.I;so.prototype.once=so.prototype.M;so.prototype.un=so.prototype.K;so.prototype.unByKey=so.prototype.N;vo.prototype.changed=vo.prototype.u;vo.prototype.dispatchEvent=vo.prototype.b;vo.prototype.getRevision=vo.prototype.L;vo.prototype.on=vo.prototype.I;vo.prototype.once=vo.prototype.M;vo.prototype.un=vo.prototype.K;vo.prototype.unByKey=vo.prototype.N; 
    907 Bo.prototype.changed=Bo.prototype.u;Bo.prototype.dispatchEvent=Bo.prototype.b;Bo.prototype.getRevision=Bo.prototype.L;Bo.prototype.on=Bo.prototype.I;Bo.prototype.once=Bo.prototype.M;Bo.prototype.un=Bo.prototype.K;Bo.prototype.unByKey=Bo.prototype.N;Do.prototype.changed=Do.prototype.u;Do.prototype.dispatchEvent=Do.prototype.b;Do.prototype.getRevision=Do.prototype.L;Do.prototype.on=Do.prototype.I;Do.prototype.once=Do.prototype.M;Do.prototype.un=Do.prototype.K;Do.prototype.unByKey=Do.prototype.N; 
    908 Bn.prototype.changed=Bn.prototype.u;Bn.prototype.dispatchEvent=Bn.prototype.b;Bn.prototype.getRevision=Bn.prototype.L;Bn.prototype.on=Bn.prototype.I;Bn.prototype.once=Bn.prototype.M;Bn.prototype.un=Bn.prototype.K;Bn.prototype.unByKey=Bn.prototype.N;Cn.prototype.changed=Cn.prototype.u;Cn.prototype.dispatchEvent=Cn.prototype.b;Cn.prototype.getRevision=Cn.prototype.L;Cn.prototype.on=Cn.prototype.I;Cn.prototype.once=Cn.prototype.M;Cn.prototype.un=Cn.prototype.K;Cn.prototype.unByKey=Cn.prototype.N; 
    909 Dn.prototype.changed=Dn.prototype.u;Dn.prototype.dispatchEvent=Dn.prototype.b;Dn.prototype.getRevision=Dn.prototype.L;Dn.prototype.on=Dn.prototype.I;Dn.prototype.once=Dn.prototype.M;Dn.prototype.un=Dn.prototype.K;Dn.prototype.unByKey=Dn.prototype.N;Fn.prototype.changed=Fn.prototype.u;Fn.prototype.dispatchEvent=Fn.prototype.b;Fn.prototype.getRevision=Fn.prototype.L;Fn.prototype.on=Fn.prototype.I;Fn.prototype.once=Fn.prototype.M;Fn.prototype.un=Fn.prototype.K;Fn.prototype.unByKey=Fn.prototype.N; 
    910 dl.prototype.changed=dl.prototype.u;dl.prototype.dispatchEvent=dl.prototype.b;dl.prototype.getRevision=dl.prototype.L;dl.prototype.on=dl.prototype.I;dl.prototype.once=dl.prototype.M;dl.prototype.un=dl.prototype.K;dl.prototype.unByKey=dl.prototype.N;mn.prototype.changed=mn.prototype.u;mn.prototype.dispatchEvent=mn.prototype.b;mn.prototype.getRevision=mn.prototype.L;mn.prototype.on=mn.prototype.I;mn.prototype.once=mn.prototype.M;mn.prototype.un=mn.prototype.K;mn.prototype.unByKey=mn.prototype.N; 
    911 nn.prototype.changed=nn.prototype.u;nn.prototype.dispatchEvent=nn.prototype.b;nn.prototype.getRevision=nn.prototype.L;nn.prototype.on=nn.prototype.I;nn.prototype.once=nn.prototype.M;nn.prototype.un=nn.prototype.K;nn.prototype.unByKey=nn.prototype.N;on.prototype.changed=on.prototype.u;on.prototype.dispatchEvent=on.prototype.b;on.prototype.getRevision=on.prototype.L;on.prototype.on=on.prototype.I;on.prototype.once=on.prototype.M;on.prototype.un=on.prototype.K;on.prototype.unByKey=on.prototype.N; 
    912 xn.prototype.changed=xn.prototype.u;xn.prototype.dispatchEvent=xn.prototype.b;xn.prototype.getRevision=xn.prototype.L;xn.prototype.on=xn.prototype.I;xn.prototype.once=xn.prototype.M;xn.prototype.un=xn.prototype.K;xn.prototype.unByKey=xn.prototype.N;Bi.prototype.get=Bi.prototype.get;Bi.prototype.getKeys=Bi.prototype.O;Bi.prototype.getProperties=Bi.prototype.P;Bi.prototype.set=Bi.prototype.set;Bi.prototype.setProperties=Bi.prototype.C;Bi.prototype.unset=Bi.prototype.R;Bi.prototype.changed=Bi.prototype.u; 
    913 Bi.prototype.dispatchEvent=Bi.prototype.b;Bi.prototype.getRevision=Bi.prototype.L;Bi.prototype.on=Bi.prototype.I;Bi.prototype.once=Bi.prototype.M;Bi.prototype.un=Bi.prototype.K;Bi.prototype.unByKey=Bi.prototype.N;Fi.prototype.getExtent=Fi.prototype.G;Fi.prototype.getMaxResolution=Fi.prototype.Nb;Fi.prototype.getMinResolution=Fi.prototype.Ob;Fi.prototype.getOpacity=Fi.prototype.Sb;Fi.prototype.getVisible=Fi.prototype.wb;Fi.prototype.getZIndex=Fi.prototype.Tb;Fi.prototype.setExtent=Fi.prototype.cc; 
    914 Fi.prototype.setMaxResolution=Fi.prototype.kc;Fi.prototype.setMinResolution=Fi.prototype.lc;Fi.prototype.setOpacity=Fi.prototype.dc;Fi.prototype.setVisible=Fi.prototype.ec;Fi.prototype.setZIndex=Fi.prototype.fc;Fi.prototype.get=Fi.prototype.get;Fi.prototype.getKeys=Fi.prototype.O;Fi.prototype.getProperties=Fi.prototype.P;Fi.prototype.set=Fi.prototype.set;Fi.prototype.setProperties=Fi.prototype.C;Fi.prototype.unset=Fi.prototype.R;Fi.prototype.changed=Fi.prototype.u;Fi.prototype.dispatchEvent=Fi.prototype.b; 
    915 Fi.prototype.getRevision=Fi.prototype.L;Fi.prototype.on=Fi.prototype.I;Fi.prototype.once=Fi.prototype.M;Fi.prototype.un=Fi.prototype.K;Fi.prototype.unByKey=Fi.prototype.N;H.prototype.setMap=H.prototype.setMap;H.prototype.setSource=H.prototype.Cc;H.prototype.getExtent=H.prototype.G;H.prototype.getMaxResolution=H.prototype.Nb;H.prototype.getMinResolution=H.prototype.Ob;H.prototype.getOpacity=H.prototype.Sb;H.prototype.getVisible=H.prototype.wb;H.prototype.getZIndex=H.prototype.Tb; 
    916 H.prototype.setExtent=H.prototype.cc;H.prototype.setMaxResolution=H.prototype.kc;H.prototype.setMinResolution=H.prototype.lc;H.prototype.setOpacity=H.prototype.dc;H.prototype.setVisible=H.prototype.ec;H.prototype.setZIndex=H.prototype.fc;H.prototype.get=H.prototype.get;H.prototype.getKeys=H.prototype.O;H.prototype.getProperties=H.prototype.P;H.prototype.set=H.prototype.set;H.prototype.setProperties=H.prototype.C;H.prototype.unset=H.prototype.R;H.prototype.changed=H.prototype.u; 
    917 H.prototype.dispatchEvent=H.prototype.b;H.prototype.getRevision=H.prototype.L;H.prototype.on=H.prototype.I;H.prototype.once=H.prototype.M;H.prototype.un=H.prototype.K;H.prototype.unByKey=H.prototype.N;X.prototype.getSource=X.prototype.da;X.prototype.getStyle=X.prototype.J;X.prototype.getStyleFunction=X.prototype.D;X.prototype.setStyle=X.prototype.c;X.prototype.setMap=X.prototype.setMap;X.prototype.setSource=X.prototype.Cc;X.prototype.getExtent=X.prototype.G;X.prototype.getMaxResolution=X.prototype.Nb; 
    918 X.prototype.getMinResolution=X.prototype.Ob;X.prototype.getOpacity=X.prototype.Sb;X.prototype.getVisible=X.prototype.wb;X.prototype.getZIndex=X.prototype.Tb;X.prototype.setExtent=X.prototype.cc;X.prototype.setMaxResolution=X.prototype.kc;X.prototype.setMinResolution=X.prototype.lc;X.prototype.setOpacity=X.prototype.dc;X.prototype.setVisible=X.prototype.ec;X.prototype.setZIndex=X.prototype.fc;X.prototype.get=X.prototype.get;X.prototype.getKeys=X.prototype.O;X.prototype.getProperties=X.prototype.P; 
    919 X.prototype.set=X.prototype.set;X.prototype.setProperties=X.prototype.C;X.prototype.unset=X.prototype.R;X.prototype.changed=X.prototype.u;X.prototype.dispatchEvent=X.prototype.b;X.prototype.getRevision=X.prototype.L;X.prototype.on=X.prototype.I;X.prototype.once=X.prototype.M;X.prototype.un=X.prototype.K;X.prototype.unByKey=X.prototype.N;vk.prototype.setMap=vk.prototype.setMap;vk.prototype.setSource=vk.prototype.Cc;vk.prototype.getExtent=vk.prototype.G;vk.prototype.getMaxResolution=vk.prototype.Nb; 
    920 vk.prototype.getMinResolution=vk.prototype.Ob;vk.prototype.getOpacity=vk.prototype.Sb;vk.prototype.getVisible=vk.prototype.wb;vk.prototype.getZIndex=vk.prototype.Tb;vk.prototype.setExtent=vk.prototype.cc;vk.prototype.setMaxResolution=vk.prototype.kc;vk.prototype.setMinResolution=vk.prototype.lc;vk.prototype.setOpacity=vk.prototype.dc;vk.prototype.setVisible=vk.prototype.ec;vk.prototype.setZIndex=vk.prototype.fc;vk.prototype.get=vk.prototype.get;vk.prototype.getKeys=vk.prototype.O; 
    921 vk.prototype.getProperties=vk.prototype.P;vk.prototype.set=vk.prototype.set;vk.prototype.setProperties=vk.prototype.C;vk.prototype.unset=vk.prototype.R;vk.prototype.changed=vk.prototype.u;vk.prototype.dispatchEvent=vk.prototype.b;vk.prototype.getRevision=vk.prototype.L;vk.prototype.on=vk.prototype.I;vk.prototype.once=vk.prototype.M;vk.prototype.un=vk.prototype.K;vk.prototype.unByKey=vk.prototype.N;lk.prototype.getExtent=lk.prototype.G;lk.prototype.getMaxResolution=lk.prototype.Nb; 
    922 lk.prototype.getMinResolution=lk.prototype.Ob;lk.prototype.getOpacity=lk.prototype.Sb;lk.prototype.getVisible=lk.prototype.wb;lk.prototype.getZIndex=lk.prototype.Tb;lk.prototype.setExtent=lk.prototype.cc;lk.prototype.setMaxResolution=lk.prototype.kc;lk.prototype.setMinResolution=lk.prototype.lc;lk.prototype.setOpacity=lk.prototype.dc;lk.prototype.setVisible=lk.prototype.ec;lk.prototype.setZIndex=lk.prototype.fc;lk.prototype.get=lk.prototype.get;lk.prototype.getKeys=lk.prototype.O; 
    923 lk.prototype.getProperties=lk.prototype.P;lk.prototype.set=lk.prototype.set;lk.prototype.setProperties=lk.prototype.C;lk.prototype.unset=lk.prototype.R;lk.prototype.changed=lk.prototype.u;lk.prototype.dispatchEvent=lk.prototype.b;lk.prototype.getRevision=lk.prototype.L;lk.prototype.on=lk.prototype.I;lk.prototype.once=lk.prototype.M;lk.prototype.un=lk.prototype.K;lk.prototype.unByKey=lk.prototype.N;G.prototype.setMap=G.prototype.setMap;G.prototype.setSource=G.prototype.Cc;G.prototype.getExtent=G.prototype.G; 
    924 G.prototype.getMaxResolution=G.prototype.Nb;G.prototype.getMinResolution=G.prototype.Ob;G.prototype.getOpacity=G.prototype.Sb;G.prototype.getVisible=G.prototype.wb;G.prototype.getZIndex=G.prototype.Tb;G.prototype.setExtent=G.prototype.cc;G.prototype.setMaxResolution=G.prototype.kc;G.prototype.setMinResolution=G.prototype.lc;G.prototype.setOpacity=G.prototype.dc;G.prototype.setVisible=G.prototype.ec;G.prototype.setZIndex=G.prototype.fc;G.prototype.get=G.prototype.get;G.prototype.getKeys=G.prototype.O; 
    925 G.prototype.getProperties=G.prototype.P;G.prototype.set=G.prototype.set;G.prototype.setProperties=G.prototype.C;G.prototype.unset=G.prototype.R;G.prototype.changed=G.prototype.u;G.prototype.dispatchEvent=G.prototype.b;G.prototype.getRevision=G.prototype.L;G.prototype.on=G.prototype.I;G.prototype.once=G.prototype.M;G.prototype.un=G.prototype.K;G.prototype.unByKey=G.prototype.N;L.prototype.getSource=L.prototype.da;L.prototype.getStyle=L.prototype.J;L.prototype.getStyleFunction=L.prototype.D; 
    926 L.prototype.setStyle=L.prototype.c;L.prototype.setMap=L.prototype.setMap;L.prototype.setSource=L.prototype.Cc;L.prototype.getExtent=L.prototype.G;L.prototype.getMaxResolution=L.prototype.Nb;L.prototype.getMinResolution=L.prototype.Ob;L.prototype.getOpacity=L.prototype.Sb;L.prototype.getVisible=L.prototype.wb;L.prototype.getZIndex=L.prototype.Tb;L.prototype.setExtent=L.prototype.cc;L.prototype.setMaxResolution=L.prototype.kc;L.prototype.setMinResolution=L.prototype.lc;L.prototype.setOpacity=L.prototype.dc; 
    927 L.prototype.setVisible=L.prototype.ec;L.prototype.setZIndex=L.prototype.fc;L.prototype.get=L.prototype.get;L.prototype.getKeys=L.prototype.O;L.prototype.getProperties=L.prototype.P;L.prototype.set=L.prototype.set;L.prototype.setProperties=L.prototype.C;L.prototype.unset=L.prototype.R;L.prototype.changed=L.prototype.u;L.prototype.dispatchEvent=L.prototype.b;L.prototype.getRevision=L.prototype.L;L.prototype.on=L.prototype.I;L.prototype.once=L.prototype.M;L.prototype.un=L.prototype.K; 
    928 L.prototype.unByKey=L.prototype.N;nj.prototype.get=nj.prototype.get;nj.prototype.getKeys=nj.prototype.O;nj.prototype.getProperties=nj.prototype.P;nj.prototype.set=nj.prototype.set;nj.prototype.setProperties=nj.prototype.C;nj.prototype.unset=nj.prototype.R;nj.prototype.changed=nj.prototype.u;nj.prototype.dispatchEvent=nj.prototype.b;nj.prototype.getRevision=nj.prototype.L;nj.prototype.on=nj.prototype.I;nj.prototype.once=nj.prototype.M;nj.prototype.un=nj.prototype.K;nj.prototype.unByKey=nj.prototype.N; 
    929 rj.prototype.getActive=rj.prototype.f;rj.prototype.getMap=rj.prototype.j;rj.prototype.setActive=rj.prototype.i;rj.prototype.get=rj.prototype.get;rj.prototype.getKeys=rj.prototype.O;rj.prototype.getProperties=rj.prototype.P;rj.prototype.set=rj.prototype.set;rj.prototype.setProperties=rj.prototype.C;rj.prototype.unset=rj.prototype.R;rj.prototype.changed=rj.prototype.u;rj.prototype.dispatchEvent=rj.prototype.b;rj.prototype.getRevision=rj.prototype.L;rj.prototype.on=rj.prototype.I;rj.prototype.once=rj.prototype.M; 
    930 rj.prototype.un=rj.prototype.K;rj.prototype.unByKey=rj.prototype.N;vv.prototype.getActive=vv.prototype.f;vv.prototype.getMap=vv.prototype.j;vv.prototype.setActive=vv.prototype.i;vv.prototype.get=vv.prototype.get;vv.prototype.getKeys=vv.prototype.O;vv.prototype.getProperties=vv.prototype.P;vv.prototype.set=vv.prototype.set;vv.prototype.setProperties=vv.prototype.C;vv.prototype.unset=vv.prototype.R;vv.prototype.changed=vv.prototype.u;vv.prototype.dispatchEvent=vv.prototype.b; 
    931 vv.prototype.getRevision=vv.prototype.L;vv.prototype.on=vv.prototype.I;vv.prototype.once=vv.prototype.M;vv.prototype.un=vv.prototype.K;vv.prototype.unByKey=vv.prototype.N;Bj.prototype.getActive=Bj.prototype.f;Bj.prototype.getMap=Bj.prototype.j;Bj.prototype.setActive=Bj.prototype.i;Bj.prototype.get=Bj.prototype.get;Bj.prototype.getKeys=Bj.prototype.O;Bj.prototype.getProperties=Bj.prototype.P;Bj.prototype.set=Bj.prototype.set;Bj.prototype.setProperties=Bj.prototype.C;Bj.prototype.unset=Bj.prototype.R; 
    932 Bj.prototype.changed=Bj.prototype.u;Bj.prototype.dispatchEvent=Bj.prototype.b;Bj.prototype.getRevision=Bj.prototype.L;Bj.prototype.on=Bj.prototype.I;Bj.prototype.once=Bj.prototype.M;Bj.prototype.un=Bj.prototype.K;Bj.prototype.unByKey=Bj.prototype.N;Qj.prototype.getActive=Qj.prototype.f;Qj.prototype.getMap=Qj.prototype.j;Qj.prototype.setActive=Qj.prototype.i;Qj.prototype.get=Qj.prototype.get;Qj.prototype.getKeys=Qj.prototype.O;Qj.prototype.getProperties=Qj.prototype.P;Qj.prototype.set=Qj.prototype.set; 
    933 Qj.prototype.setProperties=Qj.prototype.C;Qj.prototype.unset=Qj.prototype.R;Qj.prototype.changed=Qj.prototype.u;Qj.prototype.dispatchEvent=Qj.prototype.b;Qj.prototype.getRevision=Qj.prototype.L;Qj.prototype.on=Qj.prototype.I;Qj.prototype.once=Qj.prototype.M;Qj.prototype.un=Qj.prototype.K;Qj.prototype.unByKey=Qj.prototype.N;Ej.prototype.getActive=Ej.prototype.f;Ej.prototype.getMap=Ej.prototype.j;Ej.prototype.setActive=Ej.prototype.i;Ej.prototype.get=Ej.prototype.get;Ej.prototype.getKeys=Ej.prototype.O; 
    934 Ej.prototype.getProperties=Ej.prototype.P;Ej.prototype.set=Ej.prototype.set;Ej.prototype.setProperties=Ej.prototype.C;Ej.prototype.unset=Ej.prototype.R;Ej.prototype.changed=Ej.prototype.u;Ej.prototype.dispatchEvent=Ej.prototype.b;Ej.prototype.getRevision=Ej.prototype.L;Ej.prototype.on=Ej.prototype.I;Ej.prototype.once=Ej.prototype.M;Ej.prototype.un=Ej.prototype.K;Ej.prototype.unByKey=Ej.prototype.N;Bv.prototype.getActive=Bv.prototype.f;Bv.prototype.getMap=Bv.prototype.j;Bv.prototype.setActive=Bv.prototype.i; 
    935 Bv.prototype.get=Bv.prototype.get;Bv.prototype.getKeys=Bv.prototype.O;Bv.prototype.getProperties=Bv.prototype.P;Bv.prototype.set=Bv.prototype.set;Bv.prototype.setProperties=Bv.prototype.C;Bv.prototype.unset=Bv.prototype.R;Bv.prototype.changed=Bv.prototype.u;Bv.prototype.dispatchEvent=Bv.prototype.b;Bv.prototype.getRevision=Bv.prototype.L;Bv.prototype.on=Bv.prototype.I;Bv.prototype.once=Bv.prototype.M;Bv.prototype.un=Bv.prototype.K;Bv.prototype.unByKey=Bv.prototype.N;Ij.prototype.getActive=Ij.prototype.f; 
    936 Ij.prototype.getMap=Ij.prototype.j;Ij.prototype.setActive=Ij.prototype.i;Ij.prototype.get=Ij.prototype.get;Ij.prototype.getKeys=Ij.prototype.O;Ij.prototype.getProperties=Ij.prototype.P;Ij.prototype.set=Ij.prototype.set;Ij.prototype.setProperties=Ij.prototype.C;Ij.prototype.unset=Ij.prototype.R;Ij.prototype.changed=Ij.prototype.u;Ij.prototype.dispatchEvent=Ij.prototype.b;Ij.prototype.getRevision=Ij.prototype.L;Ij.prototype.on=Ij.prototype.I;Ij.prototype.once=Ij.prototype.M;Ij.prototype.un=Ij.prototype.K; 
    937 Ij.prototype.unByKey=Ij.prototype.N;Vj.prototype.getGeometry=Vj.prototype.X;Vj.prototype.getActive=Vj.prototype.f;Vj.prototype.getMap=Vj.prototype.j;Vj.prototype.setActive=Vj.prototype.i;Vj.prototype.get=Vj.prototype.get;Vj.prototype.getKeys=Vj.prototype.O;Vj.prototype.getProperties=Vj.prototype.P;Vj.prototype.set=Vj.prototype.set;Vj.prototype.setProperties=Vj.prototype.C;Vj.prototype.unset=Vj.prototype.R;Vj.prototype.changed=Vj.prototype.u;Vj.prototype.dispatchEvent=Vj.prototype.b; 
    938 Vj.prototype.getRevision=Vj.prototype.L;Vj.prototype.on=Vj.prototype.I;Vj.prototype.once=Vj.prototype.M;Vj.prototype.un=Vj.prototype.K;Vj.prototype.unByKey=Vj.prototype.N;Gv.prototype.getActive=Gv.prototype.f;Gv.prototype.getMap=Gv.prototype.j;Gv.prototype.setActive=Gv.prototype.i;Gv.prototype.get=Gv.prototype.get;Gv.prototype.getKeys=Gv.prototype.O;Gv.prototype.getProperties=Gv.prototype.P;Gv.prototype.set=Gv.prototype.set;Gv.prototype.setProperties=Gv.prototype.C;Gv.prototype.unset=Gv.prototype.R; 
    939 Gv.prototype.changed=Gv.prototype.u;Gv.prototype.dispatchEvent=Gv.prototype.b;Gv.prototype.getRevision=Gv.prototype.L;Gv.prototype.on=Gv.prototype.I;Gv.prototype.once=Gv.prototype.M;Gv.prototype.un=Gv.prototype.K;Gv.prototype.unByKey=Gv.prototype.N;Wj.prototype.getActive=Wj.prototype.f;Wj.prototype.getMap=Wj.prototype.j;Wj.prototype.setActive=Wj.prototype.i;Wj.prototype.get=Wj.prototype.get;Wj.prototype.getKeys=Wj.prototype.O;Wj.prototype.getProperties=Wj.prototype.P;Wj.prototype.set=Wj.prototype.set; 
    940 Wj.prototype.setProperties=Wj.prototype.C;Wj.prototype.unset=Wj.prototype.R;Wj.prototype.changed=Wj.prototype.u;Wj.prototype.dispatchEvent=Wj.prototype.b;Wj.prototype.getRevision=Wj.prototype.L;Wj.prototype.on=Wj.prototype.I;Wj.prototype.once=Wj.prototype.M;Wj.prototype.un=Wj.prototype.K;Wj.prototype.unByKey=Wj.prototype.N;Yj.prototype.getActive=Yj.prototype.f;Yj.prototype.getMap=Yj.prototype.j;Yj.prototype.setActive=Yj.prototype.i;Yj.prototype.get=Yj.prototype.get;Yj.prototype.getKeys=Yj.prototype.O; 
    941 Yj.prototype.getProperties=Yj.prototype.P;Yj.prototype.set=Yj.prototype.set;Yj.prototype.setProperties=Yj.prototype.C;Yj.prototype.unset=Yj.prototype.R;Yj.prototype.changed=Yj.prototype.u;Yj.prototype.dispatchEvent=Yj.prototype.b;Yj.prototype.getRevision=Yj.prototype.L;Yj.prototype.on=Yj.prototype.I;Yj.prototype.once=Yj.prototype.M;Yj.prototype.un=Yj.prototype.K;Yj.prototype.unByKey=Yj.prototype.N;Xv.prototype.getActive=Xv.prototype.f;Xv.prototype.getMap=Xv.prototype.j;Xv.prototype.setActive=Xv.prototype.i; 
    942 Xv.prototype.get=Xv.prototype.get;Xv.prototype.getKeys=Xv.prototype.O;Xv.prototype.getProperties=Xv.prototype.P;Xv.prototype.set=Xv.prototype.set;Xv.prototype.setProperties=Xv.prototype.C;Xv.prototype.unset=Xv.prototype.R;Xv.prototype.changed=Xv.prototype.u;Xv.prototype.dispatchEvent=Xv.prototype.b;Xv.prototype.getRevision=Xv.prototype.L;Xv.prototype.on=Xv.prototype.I;Xv.prototype.once=Xv.prototype.M;Xv.prototype.un=Xv.prototype.K;Xv.prototype.unByKey=Xv.prototype.N;ak.prototype.getActive=ak.prototype.f; 
    943 ak.prototype.getMap=ak.prototype.j;ak.prototype.setActive=ak.prototype.i;ak.prototype.get=ak.prototype.get;ak.prototype.getKeys=ak.prototype.O;ak.prototype.getProperties=ak.prototype.P;ak.prototype.set=ak.prototype.set;ak.prototype.setProperties=ak.prototype.C;ak.prototype.unset=ak.prototype.R;ak.prototype.changed=ak.prototype.u;ak.prototype.dispatchEvent=ak.prototype.b;ak.prototype.getRevision=ak.prototype.L;ak.prototype.on=ak.prototype.I;ak.prototype.once=ak.prototype.M;ak.prototype.un=ak.prototype.K; 
    944 ak.prototype.unByKey=ak.prototype.N;ck.prototype.getActive=ck.prototype.f;ck.prototype.getMap=ck.prototype.j;ck.prototype.setActive=ck.prototype.i;ck.prototype.get=ck.prototype.get;ck.prototype.getKeys=ck.prototype.O;ck.prototype.getProperties=ck.prototype.P;ck.prototype.set=ck.prototype.set;ck.prototype.setProperties=ck.prototype.C;ck.prototype.unset=ck.prototype.R;ck.prototype.changed=ck.prototype.u;ck.prototype.dispatchEvent=ck.prototype.b;ck.prototype.getRevision=ck.prototype.L; 
    945 ck.prototype.on=ck.prototype.I;ck.prototype.once=ck.prototype.M;ck.prototype.un=ck.prototype.K;ck.prototype.unByKey=ck.prototype.N;gk.prototype.getActive=gk.prototype.f;gk.prototype.getMap=gk.prototype.j;gk.prototype.setActive=gk.prototype.i;gk.prototype.get=gk.prototype.get;gk.prototype.getKeys=gk.prototype.O;gk.prototype.getProperties=gk.prototype.P;gk.prototype.set=gk.prototype.set;gk.prototype.setProperties=gk.prototype.C;gk.prototype.unset=gk.prototype.R;gk.prototype.changed=gk.prototype.u; 
    946 gk.prototype.dispatchEvent=gk.prototype.b;gk.prototype.getRevision=gk.prototype.L;gk.prototype.on=gk.prototype.I;gk.prototype.once=gk.prototype.M;gk.prototype.un=gk.prototype.K;gk.prototype.unByKey=gk.prototype.N;kw.prototype.getActive=kw.prototype.f;kw.prototype.getMap=kw.prototype.j;kw.prototype.setActive=kw.prototype.i;kw.prototype.get=kw.prototype.get;kw.prototype.getKeys=kw.prototype.O;kw.prototype.getProperties=kw.prototype.P;kw.prototype.set=kw.prototype.set;kw.prototype.setProperties=kw.prototype.C; 
    947 kw.prototype.unset=kw.prototype.R;kw.prototype.changed=kw.prototype.u;kw.prototype.dispatchEvent=kw.prototype.b;kw.prototype.getRevision=kw.prototype.L;kw.prototype.on=kw.prototype.I;kw.prototype.once=kw.prototype.M;kw.prototype.un=kw.prototype.K;kw.prototype.unByKey=kw.prototype.N;nw.prototype.getActive=nw.prototype.f;nw.prototype.getMap=nw.prototype.j;nw.prototype.setActive=nw.prototype.i;nw.prototype.get=nw.prototype.get;nw.prototype.getKeys=nw.prototype.O;nw.prototype.getProperties=nw.prototype.P; 
    948 nw.prototype.set=nw.prototype.set;nw.prototype.setProperties=nw.prototype.C;nw.prototype.unset=nw.prototype.R;nw.prototype.changed=nw.prototype.u;nw.prototype.dispatchEvent=nw.prototype.b;nw.prototype.getRevision=nw.prototype.L;nw.prototype.on=nw.prototype.I;nw.prototype.once=nw.prototype.M;nw.prototype.un=nw.prototype.K;nw.prototype.unByKey=nw.prototype.N;sw.prototype.getActive=sw.prototype.f;sw.prototype.getMap=sw.prototype.j;sw.prototype.setActive=sw.prototype.i;sw.prototype.get=sw.prototype.get; 
    949 sw.prototype.getKeys=sw.prototype.O;sw.prototype.getProperties=sw.prototype.P;sw.prototype.set=sw.prototype.set;sw.prototype.setProperties=sw.prototype.C;sw.prototype.unset=sw.prototype.R;sw.prototype.changed=sw.prototype.u;sw.prototype.dispatchEvent=sw.prototype.b;sw.prototype.getRevision=sw.prototype.L;sw.prototype.on=sw.prototype.I;sw.prototype.once=sw.prototype.M;sw.prototype.un=sw.prototype.K;sw.prototype.unByKey=sw.prototype.N;Md.prototype.get=Md.prototype.get;Md.prototype.getKeys=Md.prototype.O; 
    950 Md.prototype.getProperties=Md.prototype.P;Md.prototype.set=Md.prototype.set;Md.prototype.setProperties=Md.prototype.C;Md.prototype.unset=Md.prototype.R;Md.prototype.changed=Md.prototype.u;Md.prototype.dispatchEvent=Md.prototype.b;Md.prototype.getRevision=Md.prototype.L;Md.prototype.on=Md.prototype.I;Md.prototype.once=Md.prototype.M;Md.prototype.un=Md.prototype.K;Md.prototype.unByKey=Md.prototype.N;Od.prototype.getClosestPoint=Od.prototype.vb;Od.prototype.getExtent=Od.prototype.G; 
    951 Od.prototype.simplify=Od.prototype.Bb;Od.prototype.transform=Od.prototype.fb;Od.prototype.get=Od.prototype.get;Od.prototype.getKeys=Od.prototype.O;Od.prototype.getProperties=Od.prototype.P;Od.prototype.set=Od.prototype.set;Od.prototype.setProperties=Od.prototype.C;Od.prototype.unset=Od.prototype.R;Od.prototype.changed=Od.prototype.u;Od.prototype.dispatchEvent=Od.prototype.b;Od.prototype.getRevision=Od.prototype.L;Od.prototype.on=Od.prototype.I;Od.prototype.once=Od.prototype.M;Od.prototype.un=Od.prototype.K; 
    952 Od.prototype.unByKey=Od.prototype.N;iv.prototype.getFirstCoordinate=iv.prototype.Kb;iv.prototype.getLastCoordinate=iv.prototype.Lb;iv.prototype.getLayout=iv.prototype.Mb;iv.prototype.getClosestPoint=iv.prototype.vb;iv.prototype.getExtent=iv.prototype.G;iv.prototype.simplify=iv.prototype.Bb;iv.prototype.get=iv.prototype.get;iv.prototype.getKeys=iv.prototype.O;iv.prototype.getProperties=iv.prototype.P;iv.prototype.set=iv.prototype.set;iv.prototype.setProperties=iv.prototype.C;iv.prototype.unset=iv.prototype.R; 
    953 iv.prototype.changed=iv.prototype.u;iv.prototype.dispatchEvent=iv.prototype.b;iv.prototype.getRevision=iv.prototype.L;iv.prototype.on=iv.prototype.I;iv.prototype.once=iv.prototype.M;iv.prototype.un=iv.prototype.K;iv.prototype.unByKey=iv.prototype.N;zp.prototype.getClosestPoint=zp.prototype.vb;zp.prototype.getExtent=zp.prototype.G;zp.prototype.simplify=zp.prototype.Bb;zp.prototype.transform=zp.prototype.fb;zp.prototype.get=zp.prototype.get;zp.prototype.getKeys=zp.prototype.O; 
    954 zp.prototype.getProperties=zp.prototype.P;zp.prototype.set=zp.prototype.set;zp.prototype.setProperties=zp.prototype.C;zp.prototype.unset=zp.prototype.R;zp.prototype.changed=zp.prototype.u;zp.prototype.dispatchEvent=zp.prototype.b;zp.prototype.getRevision=zp.prototype.L;zp.prototype.on=zp.prototype.I;zp.prototype.once=zp.prototype.M;zp.prototype.un=zp.prototype.K;zp.prototype.unByKey=zp.prototype.N;fe.prototype.getFirstCoordinate=fe.prototype.Kb;fe.prototype.getLastCoordinate=fe.prototype.Lb; 
    955 fe.prototype.getLayout=fe.prototype.Mb;fe.prototype.getClosestPoint=fe.prototype.vb;fe.prototype.getExtent=fe.prototype.G;fe.prototype.simplify=fe.prototype.Bb;fe.prototype.transform=fe.prototype.fb;fe.prototype.get=fe.prototype.get;fe.prototype.getKeys=fe.prototype.O;fe.prototype.getProperties=fe.prototype.P;fe.prototype.set=fe.prototype.set;fe.prototype.setProperties=fe.prototype.C;fe.prototype.unset=fe.prototype.R;fe.prototype.changed=fe.prototype.u;fe.prototype.dispatchEvent=fe.prototype.b; 
    956 fe.prototype.getRevision=fe.prototype.L;fe.prototype.on=fe.prototype.I;fe.prototype.once=fe.prototype.M;fe.prototype.un=fe.prototype.K;fe.prototype.unByKey=fe.prototype.N;T.prototype.getFirstCoordinate=T.prototype.Kb;T.prototype.getLastCoordinate=T.prototype.Lb;T.prototype.getLayout=T.prototype.Mb;T.prototype.getClosestPoint=T.prototype.vb;T.prototype.getExtent=T.prototype.G;T.prototype.simplify=T.prototype.Bb;T.prototype.transform=T.prototype.fb;T.prototype.get=T.prototype.get; 
    957 T.prototype.getKeys=T.prototype.O;T.prototype.getProperties=T.prototype.P;T.prototype.set=T.prototype.set;T.prototype.setProperties=T.prototype.C;T.prototype.unset=T.prototype.R;T.prototype.changed=T.prototype.u;T.prototype.dispatchEvent=T.prototype.b;T.prototype.getRevision=T.prototype.L;T.prototype.on=T.prototype.I;T.prototype.once=T.prototype.M;T.prototype.un=T.prototype.K;T.prototype.unByKey=T.prototype.N;U.prototype.getFirstCoordinate=U.prototype.Kb;U.prototype.getLastCoordinate=U.prototype.Lb; 
    958 U.prototype.getLayout=U.prototype.Mb;U.prototype.getClosestPoint=U.prototype.vb;U.prototype.getExtent=U.prototype.G;U.prototype.simplify=U.prototype.Bb;U.prototype.transform=U.prototype.fb;U.prototype.get=U.prototype.get;U.prototype.getKeys=U.prototype.O;U.prototype.getProperties=U.prototype.P;U.prototype.set=U.prototype.set;U.prototype.setProperties=U.prototype.C;U.prototype.unset=U.prototype.R;U.prototype.changed=U.prototype.u;U.prototype.dispatchEvent=U.prototype.b;U.prototype.getRevision=U.prototype.L; 
    959 U.prototype.on=U.prototype.I;U.prototype.once=U.prototype.M;U.prototype.un=U.prototype.K;U.prototype.unByKey=U.prototype.N;pp.prototype.getFirstCoordinate=pp.prototype.Kb;pp.prototype.getLastCoordinate=pp.prototype.Lb;pp.prototype.getLayout=pp.prototype.Mb;pp.prototype.getClosestPoint=pp.prototype.vb;pp.prototype.getExtent=pp.prototype.G;pp.prototype.simplify=pp.prototype.Bb;pp.prototype.transform=pp.prototype.fb;pp.prototype.get=pp.prototype.get;pp.prototype.getKeys=pp.prototype.O; 
    960 pp.prototype.getProperties=pp.prototype.P;pp.prototype.set=pp.prototype.set;pp.prototype.setProperties=pp.prototype.C;pp.prototype.unset=pp.prototype.R;pp.prototype.changed=pp.prototype.u;pp.prototype.dispatchEvent=pp.prototype.b;pp.prototype.getRevision=pp.prototype.L;pp.prototype.on=pp.prototype.I;pp.prototype.once=pp.prototype.M;pp.prototype.un=pp.prototype.K;pp.prototype.unByKey=pp.prototype.N;V.prototype.getFirstCoordinate=V.prototype.Kb;V.prototype.getLastCoordinate=V.prototype.Lb; 
    961 V.prototype.getLayout=V.prototype.Mb;V.prototype.getClosestPoint=V.prototype.vb;V.prototype.getExtent=V.prototype.G;V.prototype.simplify=V.prototype.Bb;V.prototype.transform=V.prototype.fb;V.prototype.get=V.prototype.get;V.prototype.getKeys=V.prototype.O;V.prototype.getProperties=V.prototype.P;V.prototype.set=V.prototype.set;V.prototype.setProperties=V.prototype.C;V.prototype.unset=V.prototype.R;V.prototype.changed=V.prototype.u;V.prototype.dispatchEvent=V.prototype.b;V.prototype.getRevision=V.prototype.L; 
    962 V.prototype.on=V.prototype.I;V.prototype.once=V.prototype.M;V.prototype.un=V.prototype.K;V.prototype.unByKey=V.prototype.N;E.prototype.getFirstCoordinate=E.prototype.Kb;E.prototype.getLastCoordinate=E.prototype.Lb;E.prototype.getLayout=E.prototype.Mb;E.prototype.getClosestPoint=E.prototype.vb;E.prototype.getExtent=E.prototype.G;E.prototype.simplify=E.prototype.Bb;E.prototype.transform=E.prototype.fb;E.prototype.get=E.prototype.get;E.prototype.getKeys=E.prototype.O;E.prototype.getProperties=E.prototype.P; 
    963 E.prototype.set=E.prototype.set;E.prototype.setProperties=E.prototype.C;E.prototype.unset=E.prototype.R;E.prototype.changed=E.prototype.u;E.prototype.dispatchEvent=E.prototype.b;E.prototype.getRevision=E.prototype.L;E.prototype.on=E.prototype.I;E.prototype.once=E.prototype.M;E.prototype.un=E.prototype.K;E.prototype.unByKey=E.prototype.N;F.prototype.getFirstCoordinate=F.prototype.Kb;F.prototype.getLastCoordinate=F.prototype.Lb;F.prototype.getLayout=F.prototype.Mb;F.prototype.getClosestPoint=F.prototype.vb; 
    964 F.prototype.getExtent=F.prototype.G;F.prototype.simplify=F.prototype.Bb;F.prototype.transform=F.prototype.fb;F.prototype.get=F.prototype.get;F.prototype.getKeys=F.prototype.O;F.prototype.getProperties=F.prototype.P;F.prototype.set=F.prototype.set;F.prototype.setProperties=F.prototype.C;F.prototype.unset=F.prototype.R;F.prototype.changed=F.prototype.u;F.prototype.dispatchEvent=F.prototype.b;F.prototype.getRevision=F.prototype.L;F.prototype.on=F.prototype.I;F.prototype.once=F.prototype.M; 
    965 F.prototype.un=F.prototype.K;F.prototype.unByKey=F.prototype.N;Yp.prototype.readFeatures=Yp.prototype.Ea;Zp.prototype.readFeatures=Zp.prototype.Ea;Zp.prototype.readFeatures=Zp.prototype.Ea;jg.prototype.get=jg.prototype.get;jg.prototype.getKeys=jg.prototype.O;jg.prototype.getProperties=jg.prototype.P;jg.prototype.set=jg.prototype.set;jg.prototype.setProperties=jg.prototype.C;jg.prototype.unset=jg.prototype.R;jg.prototype.changed=jg.prototype.u;jg.prototype.dispatchEvent=jg.prototype.b; 
    966 jg.prototype.getRevision=jg.prototype.L;jg.prototype.on=jg.prototype.I;jg.prototype.once=jg.prototype.M;jg.prototype.un=jg.prototype.K;jg.prototype.unByKey=jg.prototype.N;Ng.prototype.getMap=Ng.prototype.i;Ng.prototype.setMap=Ng.prototype.setMap;Ng.prototype.setTarget=Ng.prototype.c;Ng.prototype.get=Ng.prototype.get;Ng.prototype.getKeys=Ng.prototype.O;Ng.prototype.getProperties=Ng.prototype.P;Ng.prototype.set=Ng.prototype.set;Ng.prototype.setProperties=Ng.prototype.C;Ng.prototype.unset=Ng.prototype.R; 
    967 Ng.prototype.changed=Ng.prototype.u;Ng.prototype.dispatchEvent=Ng.prototype.b;Ng.prototype.getRevision=Ng.prototype.L;Ng.prototype.on=Ng.prototype.I;Ng.prototype.once=Ng.prototype.M;Ng.prototype.un=Ng.prototype.K;Ng.prototype.unByKey=Ng.prototype.N;Yg.prototype.getMap=Yg.prototype.i;Yg.prototype.setMap=Yg.prototype.setMap;Yg.prototype.setTarget=Yg.prototype.c;Yg.prototype.get=Yg.prototype.get;Yg.prototype.getKeys=Yg.prototype.O;Yg.prototype.getProperties=Yg.prototype.P;Yg.prototype.set=Yg.prototype.set; 
    968 Yg.prototype.setProperties=Yg.prototype.C;Yg.prototype.unset=Yg.prototype.R;Yg.prototype.changed=Yg.prototype.u;Yg.prototype.dispatchEvent=Yg.prototype.b;Yg.prototype.getRevision=Yg.prototype.L;Yg.prototype.on=Yg.prototype.I;Yg.prototype.once=Yg.prototype.M;Yg.prototype.un=Yg.prototype.K;Yg.prototype.unByKey=Yg.prototype.N;Zg.prototype.getMap=Zg.prototype.i;Zg.prototype.setMap=Zg.prototype.setMap;Zg.prototype.setTarget=Zg.prototype.c;Zg.prototype.get=Zg.prototype.get;Zg.prototype.getKeys=Zg.prototype.O; 
    969 Zg.prototype.getProperties=Zg.prototype.P;Zg.prototype.set=Zg.prototype.set;Zg.prototype.setProperties=Zg.prototype.C;Zg.prototype.unset=Zg.prototype.R;Zg.prototype.changed=Zg.prototype.u;Zg.prototype.dispatchEvent=Zg.prototype.b;Zg.prototype.getRevision=Zg.prototype.L;Zg.prototype.on=Zg.prototype.I;Zg.prototype.once=Zg.prototype.M;Zg.prototype.un=Zg.prototype.K;Zg.prototype.unByKey=Zg.prototype.N;No.prototype.getMap=No.prototype.i;No.prototype.setMap=No.prototype.setMap;No.prototype.setTarget=No.prototype.c; 
    970 No.prototype.get=No.prototype.get;No.prototype.getKeys=No.prototype.O;No.prototype.getProperties=No.prototype.P;No.prototype.set=No.prototype.set;No.prototype.setProperties=No.prototype.C;No.prototype.unset=No.prototype.R;No.prototype.changed=No.prototype.u;No.prototype.dispatchEvent=No.prototype.b;No.prototype.getRevision=No.prototype.L;No.prototype.on=No.prototype.I;No.prototype.once=No.prototype.M;No.prototype.un=No.prototype.K;No.prototype.unByKey=No.prototype.N;Qg.prototype.getMap=Qg.prototype.i; 
    971 Qg.prototype.setMap=Qg.prototype.setMap;Qg.prototype.setTarget=Qg.prototype.c;Qg.prototype.get=Qg.prototype.get;Qg.prototype.getKeys=Qg.prototype.O;Qg.prototype.getProperties=Qg.prototype.P;Qg.prototype.set=Qg.prototype.set;Qg.prototype.setProperties=Qg.prototype.C;Qg.prototype.unset=Qg.prototype.R;Qg.prototype.changed=Qg.prototype.u;Qg.prototype.dispatchEvent=Qg.prototype.b;Qg.prototype.getRevision=Qg.prototype.L;Qg.prototype.on=Qg.prototype.I;Qg.prototype.once=Qg.prototype.M;Qg.prototype.un=Qg.prototype.K; 
    972 Qg.prototype.unByKey=Qg.prototype.N;So.prototype.getMap=So.prototype.i;So.prototype.setMap=So.prototype.setMap;So.prototype.setTarget=So.prototype.c;So.prototype.get=So.prototype.get;So.prototype.getKeys=So.prototype.O;So.prototype.getProperties=So.prototype.P;So.prototype.set=So.prototype.set;So.prototype.setProperties=So.prototype.C;So.prototype.unset=So.prototype.R;So.prototype.changed=So.prototype.u;So.prototype.dispatchEvent=So.prototype.b;So.prototype.getRevision=So.prototype.L; 
    973 So.prototype.on=So.prototype.I;So.prototype.once=So.prototype.M;So.prototype.un=So.prototype.K;So.prototype.unByKey=So.prototype.N;Sg.prototype.getMap=Sg.prototype.i;Sg.prototype.setMap=Sg.prototype.setMap;Sg.prototype.setTarget=Sg.prototype.c;Sg.prototype.get=Sg.prototype.get;Sg.prototype.getKeys=Sg.prototype.O;Sg.prototype.getProperties=Sg.prototype.P;Sg.prototype.set=Sg.prototype.set;Sg.prototype.setProperties=Sg.prototype.C;Sg.prototype.unset=Sg.prototype.R;Sg.prototype.changed=Sg.prototype.u; 
    974 Sg.prototype.dispatchEvent=Sg.prototype.b;Sg.prototype.getRevision=Sg.prototype.L;Sg.prototype.on=Sg.prototype.I;Sg.prototype.once=Sg.prototype.M;Sg.prototype.un=Sg.prototype.K;Sg.prototype.unByKey=Sg.prototype.N;Wo.prototype.getMap=Wo.prototype.i;Wo.prototype.setMap=Wo.prototype.setMap;Wo.prototype.setTarget=Wo.prototype.c;Wo.prototype.get=Wo.prototype.get;Wo.prototype.getKeys=Wo.prototype.O;Wo.prototype.getProperties=Wo.prototype.P;Wo.prototype.set=Wo.prototype.set;Wo.prototype.setProperties=Wo.prototype.C; 
    975 Wo.prototype.unset=Wo.prototype.R;Wo.prototype.changed=Wo.prototype.u;Wo.prototype.dispatchEvent=Wo.prototype.b;Wo.prototype.getRevision=Wo.prototype.L;Wo.prototype.on=Wo.prototype.I;Wo.prototype.once=Wo.prototype.M;Wo.prototype.un=Wo.prototype.K;Wo.prototype.unByKey=Wo.prototype.N;bp.prototype.getMap=bp.prototype.i;bp.prototype.setMap=bp.prototype.setMap;bp.prototype.setTarget=bp.prototype.c;bp.prototype.get=bp.prototype.get;bp.prototype.getKeys=bp.prototype.O;bp.prototype.getProperties=bp.prototype.P; 
    976 bp.prototype.set=bp.prototype.set;bp.prototype.setProperties=bp.prototype.C;bp.prototype.unset=bp.prototype.R;bp.prototype.changed=bp.prototype.u;bp.prototype.dispatchEvent=bp.prototype.b;bp.prototype.getRevision=bp.prototype.L;bp.prototype.on=bp.prototype.I;bp.prototype.once=bp.prototype.M;bp.prototype.un=bp.prototype.K;bp.prototype.unByKey=bp.prototype.N; 
     27function ob(a){this.radius=a}ob.prototype.a=function(a){return pb(a,this.radius)};ob.prototype.b=function(a,b){return qb(a,b,this.radius)};ob.prototype.offset=function(a,b,c){var d=va(a[1]);b/=this.radius;var e=Math.asin(Math.sin(d)*Math.cos(b)+Math.cos(d)*Math.sin(b)*Math.cos(c));return[180*(va(a[0])+Math.atan2(Math.sin(c)*Math.sin(b)*Math.cos(d),Math.cos(b)-Math.sin(d)*Math.sin(e)))/Math.PI,180*e/Math.PI]}; 
     28function rb(a,b){var c=b||{},d=c.radius||6371008.8;c=c.projection||"EPSG:3857";a=a.clone().mb(c,"EPSG:4326");var e=a.S();c=0;var f;switch(e){case "Point":case "MultiPoint":break;case "LineString":case "LinearRing":b=a.W();c=sb(b,d);break;case "MultiLineString":case "Polygon":b=a.W();a=0;for(e=b.length;a<e;++a)c+=sb(b[a],d);break;case "MultiPolygon":b=a.W();a=0;for(e=b.length;a<e;++a){var g=b[a];var h=0;for(f=g.length;h<f;++h)c+=sb(g[h],d)}break;case "GeometryCollection":d=a.vd();a=0;for(e=d.length;a< 
     29e;++a)c+=rb(d[a],b);break;default:throw Error("Unsupported geometry type: "+e);}return c}function sb(a,b){for(var c=0,d=0,e=a.length;d<e-1;++d)c+=qb(a[d],a[d+1],b);return c}function qb(a,b,c){var d=va(a[1]),e=va(b[1]),f=(e-d)/2;a=va(b[0]-a[0])/2;d=Math.sin(f)*Math.sin(f)+Math.sin(a)*Math.sin(a)*Math.cos(d)*Math.cos(e);return 2*c*Math.atan2(Math.sqrt(d),Math.sqrt(1-d))} 
     30function tb(a,b){var c=b||{},d=c.radius||6371008.8;c=c.projection||"EPSG:3857";a=a.clone().mb(c,"EPSG:4326");var e=a.S();c=0;var f;switch(e){case "Point":case "MultiPoint":case "LineString":case "MultiLineString":case "LinearRing":break;case "Polygon":b=a.W();c=Math.abs(pb(b[0],d));a=1;for(e=b.length;a<e;++a)c-=Math.abs(pb(b[a],d));break;case "MultiPolygon":b=a.W();a=0;for(e=b.length;a<e;++a){var g=b[a];c+=Math.abs(pb(g[0],d));var h=1;for(f=g.length;h<f;++h)c-=Math.abs(pb(g[h],d))}break;case "GeometryCollection":d= 
     31a.vd();a=0;for(e=d.length;a<e;++a)c+=tb(d[a],b);break;default:throw Error("Unsupported geometry type: "+e);}return c}function pb(a,b){for(var c=0,d=a.length,e=a[d-1][0],f=a[d-1][1],g=0;g<d;g++){var h=a[g][0],l=a[g][1];c+=va(h-e)*(2+Math.sin(va(f))+Math.sin(va(l)));e=h;f=l}return c*b*b/2};var ub={};ub.degrees=12741994*Math.PI/360;ub.ft=.3048;ub.m=1;ub["us-ft"]=1200/3937;var vb=null;function wb(a){this.wb=a.code;this.a=a.units;this.i=void 0!==a.extent?a.extent:null;this.oe=void 0!==a.worldExtent?a.worldExtent:null;this.b=void 0!==a.axisOrientation?a.axisOrientation:"enu";this.c=void 0!==a.global?a.global:!1;this.g=!(!this.c||!this.i);this.j=a.getPointResolution;this.f=null;this.l=a.metersPerUnit;var b=a.code,c=vb||window.proj4;"function"==typeof c&&(b=c.defs(b),void 0!==b&&(void 0!==b.axis&&void 0===a.axisOrientation&&(this.b=b.axis),void 0===a.metersPerUnit&&(this.l=b.to_meter), 
     32void 0===a.units&&(this.a=b.units)))}k=wb.prototype;k.ml=function(){return this.wb};k.G=function(){return this.i};k.zo=function(){return this.a};k.Bc=function(){return this.l||ub[this.a]};k.Vl=function(){return this.oe};k.il=function(){return this.b};k.Gm=function(){return this.c};k.xq=function(a){this.c=a;this.g=!(!a||!this.i)};k.Si=function(a){this.i=a;this.g=!(!this.c||!a)};k.Sj=function(a){this.oe=a};k.wq=function(a){this.j=a};function xb(a){wb.call(this,{code:a,units:"m",extent:yb,global:!0,worldExtent:zb,getPointResolution:function(a,c){return a/qa(c[1]/6378137)}})}w(xb,wb);var Ab=6378137*Math.PI,yb=[-Ab,-Ab,Ab,Ab],zb=[-180,-85,180,85],Bb=[new xb("EPSG:3857"),new xb("EPSG:102100"),new xb("EPSG:102113"),new xb("EPSG:900913"),new xb("urn:ogc:def:crs:EPSG:6.18:3:3857"),new xb("urn:ogc:def:crs:EPSG::3857"),new xb("http://www.opengis.net/gml/srs/epsg.xml#3857")]; 
     33function Cb(a,b,c){var d=a.length;c=1<c?c:2;void 0===b&&(2<c?b=a.slice():b=Array(d));for(var e=0;e<d;e+=c){b[e]=Ab*a[e]/180;var f=6378137*Math.log(Math.tan(Math.PI*(a[e+1]+90)/360));f>Ab?f=Ab:f<-Ab&&(f=-Ab);b[e+1]=f}return b}function Db(a,b,c){var d=a.length;c=1<c?c:2;void 0===b&&(2<c?b=a.slice():b=Array(d));for(var e=0;e<d;e+=c)b[e]=180*a[e]/Ab,b[e+1]=360*Math.atan(Math.exp(a[e+1]/6378137))/Math.PI-90;return b};function Eb(a,b){wb.call(this,{code:a,units:"degrees",extent:Fb,axisOrientation:b,global:!0,metersPerUnit:Gb,worldExtent:Fb})}w(Eb,wb);var Fb=[-180,-90,180,90],Gb=6378137*Math.PI/180,Hb=[new Eb("CRS:84"),new Eb("EPSG:4326","neu"),new Eb("urn:ogc:def:crs:EPSG::4326","neu"),new Eb("urn:ogc:def:crs:EPSG:6.6:4326","neu"),new Eb("urn:ogc:def:crs:OGC:1.3:CRS84"),new Eb("urn:ogc:def:crs:OGC:2:84"),new Eb("http://www.opengis.net/gml/srs/epsg.xml#4326","neu"),new Eb("urn:x-ogc:def:crs:EPSG:4326","neu")];var Ib={};var Jb={};function Kb(a,b,c){a=a.wb;b=b.wb;a in Jb||(Jb[a]={});Jb[a][b]=c}function Lb(a,b){var c;a in Jb&&b in Jb[a]&&(c=Jb[a][b]);return c};var Mb=new ob(6371008.8);function Nb(a,b,c,d){a=Ob(a);var e=a.j;e?b=e(b,c):"degrees"==a.a&&!d||"degrees"==d||(e=Pb(a,Ob("EPSG:4326")),b=[c[0]-b/2,c[1],c[0]+b/2,c[1],c[0],c[1]-b/2,c[0],c[1]+b/2],b=e(b,b,2),b=(Mb.b(b.slice(0,2),b.slice(2,4))+Mb.b(b.slice(4,6),b.slice(6,8)))/2,a=d?ub[d]:a.Bc(),void 0!==a&&(b/=a));return b}function Qb(a){a.forEach(Rb);a.forEach(function(b){a.forEach(function(a){b!==a&&Kb(b,a,Sb)})})} 
     34function Tb(){Hb.forEach(function(a){Bb.forEach(function(b){Kb(a,b,Cb);Kb(b,a,Db)})})}function Rb(a){Ib[a.wb]=a;Kb(a,a,Sb)}function Ub(a){return a?"string"===typeof a?Ob(a):a:Ob("EPSG:3857")}function Vb(a,b,c,d){a=Ob(a);b=Ob(b);Kb(a,b,Wb(c));Kb(b,a,Wb(d))}function Wb(a){return function(b,c,d){var e=b.length;d=void 0!==d?d:2;c=void 0!==c?c:Array(e);var f;for(f=0;f<e;f+=d){var g=a([b[f],b[f+1]]);c[f]=g[0];c[f+1]=g[1];for(g=d-1;2<=g;--g)c[f+g]=b[f+g]}return c}} 
     35function Ob(a){var b=null;if(a instanceof wb)b=a;else if("string"===typeof a&&(b=Ib[a]||null,!b)){var c=vb||window.proj4;"function"==typeof c&&void 0!==c.defs(a)&&(b=new wb({code:a}),Rb(b))}return b}function Xb(a,b){if(a===b)return!0;var c=a.a===b.a;return a.wb===b.wb?c:Pb(a,b)===Sb&&c}function Yb(a,b){a=Ob(a);b=Ob(b);return Pb(a,b)} 
     36function Pb(a,b){var c=a.wb,d=b.wb,e=Lb(c,d);if(!e){var f=vb||window.proj4;if("function"==typeof f){var g=f.defs(c),h=f.defs(d);void 0!==g&&void 0!==h&&(g===h?Qb([b,a]):(e=f(d,c),Vb(b,a,e.forward,e.inverse)),e=Lb(c,d))}}e||(e=$b);return e}function $b(a,b){if(void 0!==b&&a!==b){for(var c=0,d=a.length;c<d;++c)b[c]=a[c];a=b}return a}function Sb(a,b){if(void 0!==b){for(var c=0,d=a.length;c<d;++c)b[c]=a[c];a=b}else a=a.slice();return a}function ac(a,b,c){return Yb(b,c)(a,void 0,a.length)} 
     37function bc(a,b,c){b=Yb(b,c);return jb(a,b)}function cc(){Qb(Bb);Qb(Hb);Tb()}cc();function dc(a,b){return a>b?1:a<b?-1:0}function ec(a,b){return 0<=a.indexOf(b)}function fc(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 gc(a,b){var c=Array.isArray(b)?b:[b],d=c.length;for(b=0;b<d;b++)a[a.length]=c[b]} 
     38function hc(a,b){for(var c=a.length>>>0,d,e=0;e<c;e++)if(d=a[e],b(d,e,a))return d;return null}function jc(a,b){var c=a.length;if(c!==b.length)return!1;for(var d=0;d<c;d++)if(a[d]!==b[d])return!1;return!0}function kc(a){var b=lc,c=a.length,d=Array(a.length),e;for(e=0;e<c;e++)d[e]={index:e,value:a[e]};d.sort(function(a,c){return b(a.value,c.value)||a.index-c.index});for(e=0;e<a.length;e++)a[e]=d[e].value}function mc(a,b){var c;return a.every(function(d,e){c=e;return!b(d,e,a)})?-1:c} 
     39function nc(a,b){var c=b||dc;return a.every(function(b,e){if(0===e)return!0;b=c(a[e-1],b);return!(0<b||0===b)})};function oc(a,b,c,d){return void 0!==d?(d[0]=a,d[1]=b,d[2]=c,d):[a,b,c]}function pc(a){var b=a[0],c=Array(b),d=1<<b-1,e;for(e=0;e<b;++e){var f=48;a[1]&d&&(f+=1);a[2]&d&&(f+=2);c[e]=String.fromCharCode(f);d>>=1}return c.join("")};function qc(a){this.minZoom=void 0!==a.minZoom?a.minZoom:0;this.b=a.resolutions;oa(nc(this.b,function(a,b){return b-a}),17);if(!a.origins)for(var b=0,c=this.b.length-1;b<c;++b)if(!d)var d=this.b[b]/this.b[b+1];else if(this.b[b]/this.b[b+1]!==d){d=void 0;break}this.l=d;this.maxZoom=this.b.length-1;this.g=void 0!==a.origin?a.origin:null;this.c=null;void 0!==a.origins&&(this.c=a.origins,oa(this.c.length==this.b.length,20));d=a.extent;void 0===d||this.g||this.c||(this.g=$a(d));oa(!this.g&&this.c||this.g&& 
     40!this.c,18);this.i=null;void 0!==a.tileSizes&&(this.i=a.tileSizes,oa(this.i.length==this.b.length,19));this.j=void 0!==a.tileSize?a.tileSize:this.i?null:256;oa(!this.j&&this.i||this.j&&!this.i,22);this.o=void 0!==d?d:null;this.a=null;this.f=[0,0];void 0!==a.sizes?this.a=a.sizes.map(function(a){return new ja(Math.min(0,a[0]),Math.max(a[0]-1,-1),Math.min(0,a[1]),Math.max(a[1]-1,-1))},this):d&&rc(this,d)}var sc=[0,0,0];k=qc.prototype; 
     41k.Vf=function(a,b,c){a=tc(this,a,b);for(var d=a.fa,e=a.la;d<=e;++d)for(var f=a.ea,g=a.ka;f<=g;++f)c([b,d,f])};function uc(a,b,c,d,e){var f=null,g=b[0]-1;if(2===a.l){var h=b[1];var l=b[2]}else f=a.Ma(b,e);for(;g>=a.minZoom;){2===a.l?(h=Math.floor(h/2),l=Math.floor(l/2),b=ka(h,h,l,l,d)):b=tc(a,f,g,d);if(c.call(null,g,b))return!0;--g}return!1}k.G=function(){return this.o};k.mj=function(){return this.maxZoom};k.nj=function(){return this.minZoom};k.Ic=function(a){return this.g?this.g:this.c[a]};k.Ta=function(a){return this.b[a]}; 
     42k.oj=function(){return this.b};function vc(a,b,c,d){if(b[0]<a.maxZoom){if(2===a.l)return a=2*b[1],b=2*b[2],ka(a,a+1,b,b+1,c);d=a.Ma(b,d);return tc(a,d,b[0]+1,c)}return null}function wc(a,b,c){var d=a.Ic(b),e=a.Ta(b);a=Ba(a.Za(b),a.f);return Na(d[0]+c.fa*a[0]*e,d[1]+c.ea*a[1]*e,d[0]+(c.la+1)*a[0]*e,d[1]+(c.ka+1)*a[1]*e,void 0)}function tc(a,b,c,d){xc(a,b[0],b[1],c,!1,sc);var e=sc[1],f=sc[2];xc(a,b[2],b[3],c,!0,sc);return ka(e,sc[1],f,sc[2],d)} 
     43function yc(a,b){var c=a.Ic(b[0]),d=a.Ta(b[0]);a=Ba(a.Za(b[0]),a.f);return[c[0]+(b[1]+.5)*a[0]*d,c[1]+(b[2]+.5)*a[1]*d]}k.Ma=function(a,b){var c=this.Ic(a[0]),d=this.Ta(a[0]),e=Ba(this.Za(a[0]),this.f),f=c[0]+a[1]*e[0]*d;a=c[1]+a[2]*e[1]*d;return Na(f,a,f+e[0]*d,a+e[1]*d,b)}; 
     44k.Le=function(a,b,c){var d=a[0],e=a[1];a=this.Dc(b);var f=b/this.Ta(a),g=this.Ic(a),h=Ba(this.Za(a),this.f);d=f*Math.floor((d-g[0])/b+0)/h[0];b=f*Math.floor((e-g[1])/b+.5)/h[1];d=Math.floor(d);b=Math.floor(b);return oc(a,d,b,c)};function xc(a,b,c,d,e,f){var g=a.Ic(d),h=a.Ta(d);a=Ba(a.Za(d),a.f);b=Math.floor((b-g[0])/h+(e?.5:0))/a[0];c=Math.floor((c-g[1])/h+(e?0:.5))/a[1];e?(b=Math.ceil(b)-1,c=Math.ceil(c)-1):(b=Math.floor(b),c=Math.floor(c));return oc(d,b,c,f)} 
     45k.jg=function(a,b,c){return xc(this,a[0],a[1],b,!1,c)};k.Za=function(a){return this.j?this.j:this.i[a]};k.Dc=function(a,b){return pa(fc(this.b,a,b||0),this.minZoom,this.maxZoom)};function rc(a,b){for(var c=a.b.length,d=Array(c),e=a.minZoom;e<c;++e)d[e]=tc(a,b,e);a.a=d};function zc(a){var b=a.f;b||(b=Ac(a),a.f=b);return b}function Bc(a){var b={};kb(b,void 0!==a?a:{});void 0===b.extent&&(b.extent=Ob("EPSG:3857").G());b.resolutions=Cc(b.extent,b.maxZoom,b.tileSize);delete b.maxZoom;return new qc(b)}function Cc(a,b,c){b=void 0!==b?b:42;var d=db(a);a=cb(a);c=Ba(void 0!==c?c:256);c=Math.max(a/c[0],d/c[1]);b+=1;d=Array(b);for(a=0;a<b;++a)d[a]=c/Math.pow(2,a);return d} 
     46function Ac(a,b,c){a=Dc(a);b=Cc(a,b,c);return new qc({extent:a,origin:$a(a),resolutions:b,tileSize:c})}function Dc(a){a=Ob(a);var b=a.G();b||(a=180*ub.degrees/a.Bc(),b=Na(-a,-a,a,a));return b};function Ec(a){this.og=a.html}Ec.prototype.b=function(){return this.og};function Fc(a){function b(b){var c=a.listener,e=a.Ch||a.target;a.Eh&&Gc(a);return c.call(e,b)}return a.Dh=b}function Hc(a,b,c,d){for(var e,f=0,g=a.length;f<g;++f)if(e=a[f],e.listener===b&&e.Ch===c)return d&&(e.deleteIndex=f),e}function Ic(a,b){return(a=a.ab)?a[b]:void 0}function Jc(a){var b=a.ab;b||(b=a.ab={});return b} 
     47function Kc(a,b){var c=Ic(a,b);if(c){for(var d=0,e=c.length;d<e;++d)a.removeEventListener(b,c[d].Dh),lb(c[d]);c.length=0;if(c=a.ab)delete c[b],0===Object.keys(c).length&&delete a.ab}}function y(a,b,c,d,e){var f=Jc(a),g=f[b];g||(g=f[b]=[]);(f=Hc(g,c,d,!1))?e||(f.Eh=!1):(f={Ch:d,Eh:!!e,listener:c,target:a,type:b},a.addEventListener(b,Fc(f)),g.push(f));return f}function Lc(a,b,c,d){return y(a,b,c,d,!0)}function Mc(a,b,c,d){(a=Ic(a,b))&&(c=Hc(a,c,d,!0))&&Gc(c)} 
     48function Gc(a){if(a&&a.target){a.target.removeEventListener(a.type,a.Dh);var b=Ic(a.target,a.type);if(b){var c="deleteIndex"in a?a.deleteIndex:b.indexOf(a);-1!==c&&b.splice(c,1);0===b.length&&Kc(a.target,a.type)}lb(a)}}function Nc(a){var b=Jc(a),c;for(c in b)Kc(a,c)};function Oc(){}Oc.prototype.Ub=!1;function Pc(a){a.Ub||(a.Ub=!0,a.ia())}Oc.prototype.ia=ea;function Qc(a){this.type=a;this.target=null}Qc.prototype.preventDefault=Qc.prototype.stopPropagation=function(){this.sj=!0};function Rc(a){a.stopPropagation()};function Sc(){this.Wa={};this.qa={};this.oa={}}w(Sc,Oc);Sc.prototype.addEventListener=function(a,b){var c=this.oa[a];c||(c=this.oa[a]=[]);-1===c.indexOf(b)&&c.push(b)}; 
     49Sc.prototype.b=function(a){var b="string"===typeof a?new Qc(a):a;a=b.type;b.target=this;var c=this.oa[a];if(c){a in this.qa||(this.qa[a]=0,this.Wa[a]=0);++this.qa[a];for(var d=0,e=c.length;d<e;++d)if(!1===c[d].call(this,b)||b.sj){var f=!1;break}--this.qa[a];if(0===this.qa[a]){b=this.Wa[a];for(delete this.Wa[a];b--;)this.removeEventListener(a,ea);delete this.qa[a]}return f}};Sc.prototype.ia=function(){Nc(this)};function Tc(a,b){return b?b in a.oa:0<Object.keys(a.oa).length} 
     50Sc.prototype.removeEventListener=function(a,b){var c=this.oa[a];c&&(b=c.indexOf(b),a in this.Wa?(c[b]=ea,++this.Wa[a]):(c.splice(b,1),0===c.length&&delete this.oa[a]))};function Uc(){Sc.call(this);this.g=0}w(Uc,Sc);k=Uc.prototype;k.u=function(){++this.g;this.b("change")};k.K=function(){return this.g};k.I=function(a,b,c){if(Array.isArray(a)){for(var d=a.length,e=Array(d),f=0;f<d;++f)e[f]=y(this,a[f],b,c);return e}return y(this,a,b,c)};k.once=function(a,b,c){if(Array.isArray(a)){for(var d=a.length,e=Array(d),f=0;f<d;++f)e[f]=Lc(this,a[f],b,c);return e}return Lc(this,a,b,c)}; 
     51k.J=function(a,b,c){if(Array.isArray(a))for(var d=0,e=a.length;d<e;++d)Mc(this,a[d],b,c);else Mc(this,a,b,c)};function Vc(a){Uc.call(this);x(this);this.N={};void 0!==a&&this.H(a)}w(Vc,Uc);var Wc={};function Xc(a){return Wc.hasOwnProperty(a)?Wc[a]:Wc[a]="change:"+a}k=Vc.prototype;k.get=function(a){var b;this.N.hasOwnProperty(a)&&(b=this.N[a]);return b};k.P=function(){return Object.keys(this.N)};k.L=function(){return kb({},this.N)};function Yc(a,b,c){var d=Xc(b);a.b(new Zc(d,b,c));a.b(new Zc("propertychange",b,c))}k.set=function(a,b,c){c?this.N[a]=b:(c=this.N[a],this.N[a]=b,c!==b&&Yc(this,a,c))}; 
     52k.H=function(a,b){for(var c in a)this.set(c,a[c],b)};k.R=function(a,b){if(a in this.N){var c=this.N[a];delete this.N[a];b||Yc(this,a,c)}};function Zc(a,b,c){Qc.call(this,a);this.key=b;this.oldValue=c}w(Zc,Qc);function B(a,b){Vc.call(this);this.c=!!(b||{}).unique;this.a=a?a:[];if(this.c)for(a=0,b=this.a.length;a<b;++a)$c(this,this.a[a],a);ad(this)}w(B,Vc);k=B.prototype;k.clear=function(){for(;0<this.kc();)this.pop()};k.qg=function(a){var b;var c=0;for(b=a.length;c<b;++c)this.push(a[c]);return this};k.forEach=function(a,b){a=b?a.bind(b):a;b=this.a;for(var c=0,d=b.length;c<d;++c)a(b[c],c,b)};k.Xm=function(){return this.a};k.item=function(a){return this.a[a]};k.kc=function(){return this.get(bd)}; 
     53k.Re=function(a,b){this.c&&$c(this,b);this.a.splice(a,0,b);ad(this);this.b(new cd("add",b))};k.pop=function(){return this.Wg(this.kc()-1)};k.push=function(a){this.c&&$c(this,a);var b=this.kc();this.Re(b,a);return this.kc()};k.remove=function(a){var b=this.a,c;var d=0;for(c=b.length;d<c;++d)if(b[d]===a)return this.Wg(d)};k.Wg=function(a){var b=this.a[a];this.a.splice(a,1);ad(this);this.b(new cd("remove",b));return b}; 
     54k.rq=function(a,b){var c=this.kc();if(a<c)this.c&&$c(this,b,a),c=this.a[a],this.a[a]=b,this.b(new cd("remove",c)),this.b(new cd("add",b));else{for(;c<a;++c)this.Re(c,void 0);this.Re(a,b)}};function ad(a){a.set(bd,a.a.length)}function $c(a,b,c){for(var d=0,e=a.a.length;d<e;++d)if(a.a[d]===b&&d!==c)throw new ha(58);}var bd="length";function cd(a,b){Qc.call(this,a);this.element=b}w(cd,Qc);function dd(a,b,c){Qc.call(this,a);this.map=b;this.frameState=void 0!==c?c:null}w(dd,Qc);function ed(a,b,c,d,e){dd.call(this,a,b,e);this.originalEvent=c;this.pixel=b.ud(c);this.coordinate=b.Ra(this.pixel);this.dragging=void 0!==d?d:!1}w(ed,dd);ed.prototype.preventDefault=function(){dd.prototype.preventDefault.call(this);this.originalEvent.preventDefault()};ed.prototype.stopPropagation=function(){dd.prototype.stopPropagation.call(this);this.originalEvent.stopPropagation()};var fd=["experimental-webgl","webgl","webkit-3d","moz-webgl"];function gd(a,b){var c,d,e=fd.length;for(d=0;d<e;++d)try{if(c=a.getContext(fd[d],b))return c}catch(f){}return null};var hd,id="undefined"!==typeof navigator?navigator.userAgent.toLowerCase():"",jd=-1!==id.indexOf("firefox"),kd=-1!==id.indexOf("safari")&&-1==id.indexOf("chrom"),ld=-1!==id.indexOf("webkit")&&-1==id.indexOf("edge"),md=-1!==id.indexOf("macintosh"),nd=window.devicePixelRatio||1,od=!1,pd=function(){if(!("HTMLCanvasElement"in window))return!1;try{var a=document.createElement("CANVAS").getContext("2d");return a?(void 0!==a.setLineDash&&(od=!0),!0):!1}catch(b){return!1}}(),qd="DeviceOrientationEvent"in 
     55window,rd="geolocation"in navigator,sd="ontouchstart"in window,td="PointerEvent"in window,ud=!!navigator.msPointerEnabled,vd=!1,wd,xd=[];if("WebGLRenderingContext"in window)try{var yd=gd(document.createElement("CANVAS"),{failIfMajorPerformanceCaveat:!0});yd&&(vd=!0,wd=yd.getParameter(yd.MAX_TEXTURE_SIZE),xd=yd.getSupportedExtensions())}catch(a){}hd=vd;da=xd;ba=wd;var zd={gr:"singleclick",Wq:"click",Xq:"dblclick",$q:"pointerdrag",cr:"pointermove",Zq:"pointerdown",fr:"pointerup",er:"pointerover",dr:"pointerout",ar:"pointerenter",br:"pointerleave",Yq:"pointercancel"};function Ad(a,b,c,d,e){ed.call(this,a,b,c.b,d,e);this.b=c}w(Ad,ed);function Bd(a,b){this.b=a;this.i=b};function Cd(a){Bd.call(this,a,{mousedown:this.Jm,mousemove:this.Km,mouseup:this.Nm,mouseover:this.Mm,mouseout:this.Lm});this.a=a.g;this.g=[]}w(Cd,Bd);function Dd(a,b){a=a.g;var c=b.clientX;b=b.clientY;for(var d=0,e=a.length,f;d<e&&(f=a[d]);d++){var g=Math.abs(b-f[1]);if(25>=Math.abs(c-f[0])&&25>=g)return!0}return!1}function Ed(a){var b=Fd(a,a),c=b.preventDefault;b.preventDefault=function(){a.preventDefault();c()};b.pointerId=1;b.isPrimary=!0;b.pointerType="mouse";return b}k=Cd.prototype; 
     56k.Jm=function(a){if(!Dd(this,a)){(1).toString()in this.a&&this.cancel(a);var b=Ed(a);this.a[(1).toString()]=a;Gd(this.b,"pointerdown",b,a)}};k.Km=function(a){if(!Dd(this,a)){var b=Ed(a);Gd(this.b,"pointermove",b,a)}};k.Nm=function(a){if(!Dd(this,a)){var b=this.a[(1).toString()];b&&b.button===a.button&&(b=Ed(a),Gd(this.b,"pointerup",b,a),delete this.a[(1).toString()])}};k.Mm=function(a){if(!Dd(this,a)){var b=Ed(a);Hd(this.b,b,a)}};k.Lm=function(a){if(!Dd(this,a)){var b=Ed(a);Jd(this.b,b,a)}}; 
     57k.cancel=function(a){var b=Ed(a);this.b.cancel(b,a);delete this.a[(1).toString()]};function Kd(a){Bd.call(this,a,{MSPointerDown:this.Sm,MSPointerMove:this.Tm,MSPointerUp:this.Wm,MSPointerOut:this.Um,MSPointerOver:this.Vm,MSPointerCancel:this.Rm,MSGotPointerCapture:this.Pm,MSLostPointerCapture:this.Qm});this.a=a.g;this.g=["","unavailable","touch","pen","mouse"]}w(Kd,Bd);function Ld(a,b){var c=b;"number"===typeof b.pointerType&&(c=Fd(b,b),c.pointerType=a.g[b.pointerType]);return c}k=Kd.prototype; 
     58k.Sm=function(a){this.a[a.pointerId.toString()]=a;var b=Ld(this,a);Gd(this.b,"pointerdown",b,a)};k.Tm=function(a){var b=Ld(this,a);Gd(this.b,"pointermove",b,a)};k.Wm=function(a){var b=Ld(this,a);Gd(this.b,"pointerup",b,a);delete this.a[a.pointerId.toString()]};k.Um=function(a){var b=Ld(this,a);Jd(this.b,b,a)};k.Vm=function(a){var b=Ld(this,a);Hd(this.b,b,a)};k.Rm=function(a){var b=Ld(this,a);this.b.cancel(b,a);delete this.a[a.pointerId.toString()]}; 
     59k.Qm=function(a){this.b.b(new Md("lostpointercapture",a,a))};k.Pm=function(a){this.b.b(new Md("gotpointercapture",a,a))};function Nd(a){Bd.call(this,a,{pointerdown:this.Kp,pointermove:this.Lp,pointerup:this.Op,pointerout:this.Mp,pointerover:this.Np,pointercancel:this.Jp,gotpointercapture:this.Wl,lostpointercapture:this.Hm})}w(Nd,Bd);k=Nd.prototype;k.Kp=function(a){Od(this.b,a)};k.Lp=function(a){Od(this.b,a)};k.Op=function(a){Od(this.b,a)};k.Mp=function(a){Od(this.b,a)};k.Np=function(a){Od(this.b,a)};k.Jp=function(a){Od(this.b,a)};k.Hm=function(a){Od(this.b,a)};k.Wl=function(a){Od(this.b,a)};function Md(a,b,c){Qc.call(this,a);this.b=b;a=c?c:{};this.buttons=Pd(a);this.pressure=Qd(a,this.buttons);this.bubbles="bubbles"in a?a.bubbles:!1;this.cancelable="cancelable"in a?a.cancelable:!1;this.view="view"in a?a.view:null;this.detail="detail"in a?a.detail:null;this.screenX="screenX"in a?a.screenX:0;this.screenY="screenY"in a?a.screenY:0;this.clientX="clientX"in a?a.clientX:0;this.clientY="clientY"in a?a.clientY:0;this.ctrlKey="ctrlKey"in a?a.ctrlKey:!1;this.altKey="altKey"in a?a.altKey:!1;this.shiftKey= 
     60"shiftKey"in a?a.shiftKey:!1;this.metaKey="metaKey"in a?a.metaKey:!1;this.button="button"in a?a.button:0;this.relatedTarget="relatedTarget"in a?a.relatedTarget:null;this.pointerId="pointerId"in a?a.pointerId:0;this.width="width"in a?a.width:0;this.height="height"in a?a.height:0;this.tiltX="tiltX"in a?a.tiltX:0;this.tiltY="tiltY"in a?a.tiltY:0;this.pointerType="pointerType"in a?a.pointerType:"";this.isPrimary="isPrimary"in a?a.isPrimary:!1;b.preventDefault&&(this.preventDefault=function(){b.preventDefault()})} 
     61w(Md,Qc);function Pd(a){if(a.buttons||Rd)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 Qd(a,b){var c=0;a.pressure?c=a.pressure:c=b?.5:0;return c}var Rd=!1;try{Rd=1===(new MouseEvent("click",{buttons:1})).buttons}catch(a){};function Sd(a,b){Bd.call(this,a,{touchstart:this.Qq,touchmove:this.Pq,touchend:this.Oq,touchcancel:this.Nq});this.a=a.g;this.j=b;this.g=void 0;this.f=0;this.c=void 0}w(Sd,Bd);k=Sd.prototype;k.Ej=function(){this.f=0;this.c=void 0}; 
     62function Td(a,b,c){b=Fd(b,c);b.pointerId=c.identifier+2;b.bubbles=!0;b.cancelable=!0;b.detail=a.f;b.button=0;b.buttons=1;b.width=c.webkitRadiusX||c.radiusX||0;b.height=c.webkitRadiusY||c.radiusY||0;b.pressure=c.webkitForce||c.force||.5;b.isPrimary=a.g===c.identifier;b.pointerType="touch";b.clientX=c.clientX;b.clientY=c.clientY;b.screenX=c.screenX;b.screenY=c.screenY;return b} 
     63function Ud(a,b,c){function d(){b.preventDefault()}var e=Array.prototype.slice.call(b.changedTouches),f=e.length,g;for(g=0;g<f;++g){var h=Td(a,b,e[g]);h.preventDefault=d;c.call(a,b,h)}} 
     64k.Qq=function(a){var b=a.touches,c=Object.keys(this.a),d=c.length;if(d>=b.length){var e=[],f;for(f=0;f<d;++f){var g=c[f];var h=this.a[g];var l;if(!(l=1==g))a:{for(var m=b.length,n=0;n<m;n++)if(l=b[n],l.identifier===g-2){l=!0;break a}l=!1}l||e.push(h.out)}for(f=0;f<e.length;++f)this.Of(a,e[f])}b=a.changedTouches[0];c=Object.keys(this.a).length;if(0===c||1===c&&(1).toString()in this.a)this.g=b.identifier,void 0!==this.c&&clearTimeout(this.c);Vd(this,a);this.f++;Ud(this,a,this.Fp)}; 
     65k.Fp=function(a,b){this.a[b.pointerId]={target:b.target,out:b,pj:b.target};var c=this.b;b.bubbles=!0;Gd(c,"pointerover",b,a);c=this.b;b.bubbles=!1;Gd(c,"pointerenter",b,a);Gd(this.b,"pointerdown",b,a)};k.Pq=function(a){a.preventDefault();Ud(this,a,this.Om)}; 
     66k.Om=function(a,b){var c=this.a[b.pointerId];if(c){var d=c.out,e=c.pj;Gd(this.b,"pointermove",b,a);d&&e!==b.target&&(d.relatedTarget=b.target,b.relatedTarget=e,d.target=e,b.target?(Jd(this.b,d,a),Hd(this.b,b,a)):(b.target=e,b.relatedTarget=null,this.Of(a,b)));c.out=b;c.pj=b.target}};k.Oq=function(a){Vd(this,a);Ud(this,a,this.Rq)}; 
     67k.Rq=function(a,b){Gd(this.b,"pointerup",b,a);this.b.out(b,a);Wd(this.b,b,a);delete this.a[b.pointerId];b.isPrimary&&(this.g=void 0,this.c=setTimeout(this.Ej.bind(this),200))};k.Nq=function(a){Ud(this,a,this.Of)};k.Of=function(a,b){this.b.cancel(b,a);this.b.out(b,a);Wd(this.b,b,a);delete this.a[b.pointerId];b.isPrimary&&(this.g=void 0,this.c=setTimeout(this.Ej.bind(this),200))}; 
     68function Vd(a,b){var c=a.j.g;b=b.changedTouches[0];if(a.g===b.identifier){var d=[b.clientX,b.clientY];c.push(d);setTimeout(function(){var a=c.indexOf(d);-1<a&&c.splice(a,1)},2500)}};function Xd(a){Sc.call(this);this.f=a;this.g={};this.i={};this.a=[];td?Yd(this,new Nd(this)):ud?Yd(this,new Kd(this)):(a=new Cd(this),Yd(this,a),sd&&Yd(this,new Sd(this,a)));a=this.a.length;for(var b,c=0;c<a;c++)b=this.a[c],Zd(this,Object.keys(b.i))}w(Xd,Sc);function Yd(a,b){var c=Object.keys(b.i);c&&(c.forEach(function(a){var c=b.i[a];c&&(this.i[a]=c.bind(b))},a),a.a.push(b))}Xd.prototype.c=function(a){var b=this.i[a.type];b&&b(a)}; 
     69function Zd(a,b){b.forEach(function(a){y(this.f,a,this.c,this)},a)}function $d(a,b){b.forEach(function(a){Mc(this.f,a,this.c,this)},a)}function Fd(a,b){for(var c={},d,e=0,f=ae.length;e<f;e++)d=ae[e][0],c[d]=a[d]||b[d]||ae[e][1];return c}function Wd(a,b,c){b.bubbles=!1;Gd(a,"pointerleave",b,c)}Xd.prototype.out=function(a,b){a.bubbles=!0;Gd(this,"pointerout",a,b)};Xd.prototype.cancel=function(a,b){Gd(this,"pointercancel",a,b)}; 
     70function Jd(a,b,c){a.out(b,c);var d=b.target,e=b.relatedTarget;d&&e&&d.contains(e)||Wd(a,b,c)}function Hd(a,b,c){b.bubbles=!0;Gd(a,"pointerover",b,c);var d=b.target,e=b.relatedTarget;d&&e&&d.contains(e)||(b.bubbles=!1,Gd(a,"pointerenter",b,c))}function Gd(a,b,c,d){a.b(new Md(b,d,c))}function Od(a,b){a.b(new Md(b.type,b,b))}Xd.prototype.ia=function(){for(var a=this.a.length,b,c=0;c<a;c++)b=this.a[c],$d(this,Object.keys(b.i));Sc.prototype.ia.call(this)}; 
     71var ae=[["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 be(a,b){Sc.call(this);this.g=a;this.j=0;this.l=!1;this.i=[];this.D=b?b*nd:nd;this.c=null;a=this.g.a;this.N=0;this.o={};this.f=new Xd(a);this.a=null;this.s=y(this.f,"pointerdown",this.pm,this);this.v=y(this.f,"pointermove",this.mq,this)}w(be,Sc);function ce(a,b){var c=new Ad("click",a.g,b);a.b(c);0!==a.j?(clearTimeout(a.j),a.j=0,c=new Ad("dblclick",a.g,b),a.b(c)):a.j=setTimeout(function(){this.j=0;var a=new Ad("singleclick",this.g,b);this.b(a)}.bind(a),250)} 
     72function de(a,b){"pointerup"==b.type||"pointercancel"==b.type?delete a.o[b.pointerId]:"pointerdown"==b.type&&(a.o[b.pointerId]=!0);a.N=Object.keys(a.o).length}k=be.prototype;k.ci=function(a){de(this,a);var b=new Ad("pointerup",this.g,a);this.b(b);b.sj||this.l||0!==a.button||ce(this,this.c);0===this.N&&(this.i.forEach(Gc),this.i.length=0,this.l=!1,this.c=null,Pc(this.a),this.a=null)}; 
     73k.pm=function(a){de(this,a);var b=new Ad("pointerdown",this.g,a);this.b(b);this.c=a;0===this.i.length&&(this.a=new Xd(document),this.i.push(y(this.a,"pointermove",this.mn,this),y(this.a,"pointerup",this.ci,this),y(this.f,"pointercancel",this.ci,this)))};k.mn=function(a){if(fe(this,a)){this.l=!0;var b=new Ad("pointerdrag",this.g,a,this.l);this.b(b)}a.preventDefault()};k.mq=function(a){this.b(new Ad(a.type,this.g,a,!(!this.c||!fe(this,a))))}; 
     74function fe(a,b){return Math.abs(b.clientX-a.c.clientX)>a.D||Math.abs(b.clientY-a.c.clientY)>a.D}k.ia=function(){this.v&&(Gc(this.v),this.v=null);this.s&&(Gc(this.s),this.s=null);this.i.forEach(Gc);this.i.length=0;this.a&&(Pc(this.a),this.a=null);this.f&&(Pc(this.f),this.f=null);Sc.prototype.ia.call(this)};function ge(a,b){this.s=a;this.c=b;this.b=[];this.g=[];this.a={}}ge.prototype.clear=function(){this.b.length=0;this.g.length=0;lb(this.a)};function he(a){var b=a.b,c=a.g,d=b[0];1==b.length?(b.length=0,c.length=0):(b[0]=b.pop(),c[0]=c.pop(),ie(a,0));b=a.c(d);delete a.a[b];return d}ge.prototype.i=function(a){oa(!(this.c(a)in this.a),31);var b=this.s(a);return Infinity!=b?(this.b.push(a),this.g.push(b),this.a[this.c(a)]=!0,je(this,0,this.b.length-1),!0):!1}; 
     75function ie(a,b){for(var c=a.b,d=a.g,e=c.length,f=c[b],g=d[b],h=b;b<e>>1;){var l=2*b+1,m=2*b+2;l=m<e&&d[m]<d[l]?m:l;c[b]=c[l];d[b]=d[l];b=l}c[b]=f;d[b]=g;je(a,h,b)}function je(a,b,c){var d=a.b;a=a.g;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} 
     76function ke(a){var b=a.s,c=a.b,d=a.g,e=0,f=c.length,g;for(g=0;g<f;++g){var h=c[g];var l=b(h);Infinity==l?delete a.a[a.c(h)]:(d[e]=l,c[e++]=h)}c.length=e;d.length=e;for(b=(a.b.length>>1)-1;0<=b;b--)ie(a,b)};function le(a,b){ge.call(this,function(b){return a.apply(null,b)},function(a){return a[0].lb()});this.v=b;this.j=0;this.f={}}w(le,ge);le.prototype.i=function(a){var b=ge.prototype.i.call(this,a);b&&y(a[0],"change",this.l,this);return b};le.prototype.l=function(a){a=a.target;var b=a.getState();if(2===b||3===b||4===b||5===b)Mc(a,"change",this.l,this),a=a.lb(),a in this.f&&(delete this.f[a],--this.j),this.v()}; 
     77function me(a,b,c){for(var d=0,e=!1,f,g,h;a.j<b&&d<c&&0<a.b.length;)g=he(a)[0],h=g.lb(),f=g.getState(),5===f?e=!0:0!==f||h in a.f||(a.f[h]=!0,++a.j,++d,g.load());0===d&&e&&a.v()};function ne(a){return function(b){if(b)return[pa(b[0],a[0],a[2]),pa(b[1],a[1],a[3])]}}function oe(a){return a};function pe(a){return function(b,c,d){if(void 0!==b)return b=fc(a,b,d),b=pa(b+c,0,a.length-1),c=Math.floor(b),b!=c&&c<a.length-1?a[c]/Math.pow(a[c]/a[c+1],b-c):a[c]}}function qe(a,b,c){return function(d,e,f){if(void 0!==d)return d=Math.max(Math.floor(Math.log(b/d)/Math.log(a)+(-f/2+.5))+e,0),void 0!==c&&(d=Math.min(d,c)),b/Math.pow(a,d)}};function re(a){if(void 0!==a)return 0}function se(a,b){if(void 0!==a)return a+b}function ue(a){var b=2*Math.PI/a;return function(a,d){if(void 0!==a)return a=Math.floor((a+d)/b+.5)*b}}function we(){var a=va(5);return function(b,c){if(void 0!==b)return Math.abs(b+c)<=a?0:b+c}};function xe(a,b){a=void 0!==b?a.toFixed(b):""+a;b=a.indexOf(".");b=-1===b?a.length:b;return 2<b?a:Array(3-b).join("0")+a}function ye(a){a=(""+a).split(".");for(var b=["1","3"],c=0;c<Math.max(a.length,b.length);c++){var d=parseInt(a[c]||"0",10),e=parseInt(b[c]||"0",10);if(d>e)return 1;if(e>d)return-1}return 0};function ze(a,b){a[0]+=b[0];a[1]+=b[1];return a}function Ae(a,b){var c=b.Bd(),d=b.xa();b=d[0];d=d[1];var e=a[0]-b;a=a[1]-d;0===e&&0===a&&(e=1);var f=Math.sqrt(e*e+a*a);return[b+c*e/f,d+c*a/f]}function Be(a,b){var c=a[0];a=a[1];var d=b[0],e=b[1];b=d[0];d=d[1];var f=e[0];e=e[1];var g=f-b,h=e-d;c=0===g&&0===h?0:(g*(c-b)+h*(a-d))/(g*g+h*h||0);0>=c?(a=b,c=d):1<=c?(a=f,c=e):(a=b+c*g,c=d+c*h);return[a,c]} 
     78function Ce(a,b,c){b=wa(b+180,360)-180;var d=Math.abs(3600*b);c=c||0;var e=Math.pow(10,c),f=Math.floor(d/3600),g=Math.floor((d-3600*f)/60);d=Math.ceil((d-3600*f-60*g)*e)/e;60<=d&&(d=0,g+=1);60<=g&&(g=0,f+=1);return f+"\u00b0 "+xe(g)+"\u2032 "+xe(d,c)+"\u2033"+(0==b?"":" "+a.charAt(0>b?1:0))}function De(a,b,c){return a?b.replace("{x}",a[0].toFixed(c)).replace("{y}",a[1].toFixed(c)):""}function Ee(a,b){for(var c=!0,d=a.length-1;0<=d;--d)if(a[d]!=b[d]){c=!1;break}return c} 
     79function Fe(a,b){var c=Math.cos(b);b=Math.sin(b);var d=a[1]*c+a[0]*b;a[0]=a[0]*c-a[1]*b;a[1]=d;return a}function Ge(a,b){a[0]*=b;a[1]*=b}function He(a,b){var c=a[0]-b[0];a=a[1]-b[1];return c*c+a*a}function Ie(a,b){return Math.sqrt(He(a,b))}function Je(a,b){return He(a,Be(a,b))}function Ke(a,b){return De(a,"{x}, {y}",b)};function Me(a){return Math.pow(a,3)}function Oe(a){return 1-Me(1-a)}function Pe(a){return 3*a*a-2*a*a*a}function Qe(a){return a};function Re(){return!0}function Se(){return!1};function Te(a,b,c,d,e,f){for(var g=f?f:[],h=0;b<c;b+=d){var l=a[b],m=a[b+1];g[h++]=e[0]*l+e[2]*m+e[4];g[h++]=e[1]*l+e[3]*m+e[5]}f&&g.length!=h&&(g.length=h);return g}function Ue(a,b,c,d,e,f,g){for(var h=g?g:[],l=0,m;b<c;b+=d)for(h[l++]=a[b]+e,h[l++]=a[b+1]+f,m=b+2;m<b+d;++m)h[l++]=a[m];g&&h.length!=l&&(h.length=l);return h};var Ve=Array(6);function We(){return[1,0,0,1,0,0]}function Xe(a){return Ye(a,1,0,0,1,0,0)}function Ze(a,b){var c=a[0],d=a[1],e=a[2],f=a[3],g=a[4],h=a[5],l=b[0],m=b[1],n=b[2],p=b[3],q=b[4];b=b[5];a[0]=c*l+e*m;a[1]=d*l+f*m;a[2]=c*n+e*p;a[3]=d*n+f*p;a[4]=c*q+e*b+g;a[5]=d*q+f*b+h;return a}function Ye(a,b,c,d,e,f,g){a[0]=b;a[1]=c;a[2]=d;a[3]=e;a[4]=f;a[5]=g;return a}function $e(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];return a} 
     80function af(a,b){var c=b[0],d=b[1];b[0]=a[0]*c+a[2]*d+a[4];b[1]=a[1]*c+a[3]*d+a[5];return b}function bf(a,b){var c=Math.cos(b);b=Math.sin(b);Ze(a,Ye(Ve,c,b,-b,c,0,0))}function cf(a,b,c){return Ze(a,Ye(Ve,b,0,0,c,0,0))}function df(a,b,c){Ze(a,Ye(Ve,1,0,0,1,b,c))}function ef(a,b,c,d,e,f,g,h){var l=Math.sin(f);f=Math.cos(f);a[0]=d*f;a[1]=e*l;a[2]=-d*l;a[3]=e*f;a[4]=g*d*f-h*d*l+b;a[5]=g*e*l+h*e*f+c;return a} 
     81function ff(a){var b=a[0]*a[3]-a[1]*a[2];oa(0!==b,32);var c=a[0],d=a[1],e=a[2],f=a[3],g=a[4],h=a[5];a[0]=f/b;a[1]=-d/b;a[2]=-e/b;a[3]=c/b;a[4]=(e*h-f*g)/b;a[5]=-(c*h-d*g)/b;return a};function gf(){Vc.call(this);this.s=Da();this.v=-1;this.i={};this.l=this.f=0;this.O=We()}w(gf,Vc);k=gf.prototype;k.Ib=function(a,b){b=b?b:[NaN,NaN];this.Nb(a[0],a[1],b,Infinity);return b};k.Bb=function(a){return this.Zc(a[0],a[1])};k.Zc=Se;k.G=function(a){this.v!=this.g&&(this.s=this.Ae(this.s),this.v=this.g);var b=this.s;a?(a[0]=b[0],a[1]=b[1],a[2]=b[2],a[3]=b[3]):a=b;return a};k.Sb=function(a){return this.Wd(a*a)}; 
     82k.mb=function(a,b){var c=this.O;a=Ob(a);var d="tile-pixels"==a.a?function(d,f,g){var e=a.G(),l=a.oe;e=db(l)/db(e);ef(c,l[0],l[3],e,-e,0,0,0);Te(d,0,d.length,g,c,f);return Yb(a,b)(d,f,g)}:Yb(a,b);this.Rc(d);return this};function hf(){gf.call(this);this.ja="XY";this.a=2;this.A=null}w(hf,gf);function jf(a){var b;"XY"==a?b=2:"XYZ"==a||"XYM"==a?b=3:"XYZM"==a&&(b=4);return b}k=hf.prototype;k.Zc=Se;k.Ae=function(a){return Qa(this.A,0,this.A.length,this.a,a)};k.fc=function(){return this.A.slice(0,this.a)};k.da=function(){return this.A};k.gc=function(){return this.A.slice(this.A.length-this.a)};k.ic=function(){return this.ja}; 
     83k.Wd=function(a){this.l!=this.g&&(lb(this.i),this.f=0,this.l=this.g);if(0>a||0!==this.f&&a<=this.f)return this;var b=a.toString();if(this.i.hasOwnProperty(b))return this.i[b];var c=this.xd(a);if(c.da().length<this.A.length)return this.i[b]=c;this.f=a;return this};k.xd=function(){return this};k.pa=function(){return this.a};function kf(a,b,c){a.a=jf(b);a.ja=b;a.A=c} 
     84function lf(a,b,c,d){if(b)c=jf(b);else{for(b=0;b<d;++b){if(0===c.length){a.ja="XY";a.a=2;return}c=c[0]}c=c.length;var e;2==c?e="XY":3==c?e="XYZ":4==c&&(e="XYZM");b=e}a.ja=b;a.a=c}k.Rc=function(a){this.A&&(a(this.A,this.A,this.a),this.u())}; 
     85k.rotate=function(a,b){var c=this.da();if(c){var d=c.length,e=this.pa(),f=c?c:[],g=Math.cos(a);a=Math.sin(a);var h=b[0];b=b[1];for(var l=0,m=0;m<d;m+=e){var n=c[m]-h,p=c[m+1]-b;f[l++]=h+n*g-p*a;f[l++]=b+n*a+p*g;for(n=m+2;n<m+e;++n)f[l++]=c[n]}c&&f.length!=l&&(f.length=l);this.u()}}; 
     86k.scale=function(a,b,c){var d=b;void 0===d&&(d=a);var e=c;e||(e=eb(this.G()));if(c=this.da()){b=c.length;var f=this.pa(),g=c?c:[],h=e[0];e=e[1];for(var l=0,m=0;m<b;m+=f){var n=c[m]-h,p=c[m+1]-e;g[l++]=h+a*n;g[l++]=e+d*p;for(n=m+2;n<m+f;++n)g[l++]=c[n]}c&&g.length!=l&&(g.length=l);this.u()}};k.translate=function(a,b){var c=this.da();c&&(Ue(c,0,c.length,this.pa(),a,b,c),this.u())};function mf(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],l=a[b+1];e+=g*h-f*l;f=h;g=l}return e/2}function nf(a,b,c,d){var e=0,f;var g=0;for(f=c.length;g<f;++g){var h=c[g];e+=mf(a,b,h,d);b=h}return e};function of(a,b,c,d,e,f,g){var h=a[b],l=a[b+1],m=a[c]-h,n=a[c+1]-l;if(0!==m||0!==n)if(f=((e-h)*m+(f-l)*n)/(m*m+n*n),1<f)b=c;else if(0<f){for(e=0;e<d;++e)g[e]=ya(a[b+e],a[c+e],f);g.length=d;return}for(e=0;e<d;++e)g[e]=a[b+e];g.length=d}function pf(a,b,c,d,e){var f=a[b],g=a[b+1];for(b+=d;b<c;b+=d){var h=a[b],l=a[b+1];f=ua(f,g,h,l);f>e&&(e=f);f=h;g=l}return e}function qf(a,b,c,d,e){var f;var g=0;for(f=c.length;g<f;++g){var h=c[g];e=pf(a,b,h,d,e);b=h}return e} 
     87function tf(a,b,c,d,e,f,g,h,l,m,n){if(b==c)return m;if(0===e){var p=ua(g,h,a[b],a[b+1]);if(p<m){for(n=0;n<d;++n)l[n]=a[b+n];l.length=d;return p}return m}for(var q=n?n:[NaN,NaN],r=b+d;r<c;)if(of(a,r-d,r,d,g,h,q),p=ua(g,h,q[0],q[1]),p<m){m=p;for(n=0;n<d;++n)l[n]=q[n];l.length=d;r+=d}else r+=d*Math.max((Math.sqrt(p)-Math.sqrt(m))/e|0,1);if(f&&(of(a,c-d,b,d,g,h,q),p=ua(g,h,q[0],q[1]),p<m)){m=p;for(n=0;n<d;++n)l[n]=q[n];l.length=d}return m} 
     88function uf(a,b,c,d,e,f,g,h,l,m,n){n=n?n:[NaN,NaN];var p;var q=0;for(p=c.length;q<p;++q){var r=c[q];m=tf(a,b,r,d,e,f,g,h,l,m,n);b=r}return m};function vf(a,b){var c=0,d;var e=0;for(d=b.length;e<d;++e)a[c++]=b[e];return c}function wf(a,b,c,d){var e;var f=0;for(e=c.length;f<e;++f){var g=c[f],h;for(h=0;h<d;++h)a[b++]=g[h]}return b}function xf(a,b,c,d,e){e=e?e:[];var f=0,g;var h=0;for(g=c.length;h<g;++h)b=wf(a,b,c[h],d),e[f++]=b;e.length=f;return e};function yf(a,b,c,d,e){e=void 0!==e?e:[];for(var f=0;b<c;b+=d)e[f++]=a.slice(b,b+d);e.length=f;return e}function zf(a,b,c,d,e){e=void 0!==e?e:[];var f=0,g;var h=0;for(g=c.length;h<g;++h){var l=c[h];e[f++]=yf(a,b,l,d,e[f]);b=l}e.length=f;return e}function Af(a,b,c,d,e){e=void 0!==e?e:[];var f=0,g;var h=0;for(g=c.length;h<g;++h){var l=c[h];e[f++]=zf(a,b,l,d,e[f]);b=l[l.length-1]}e.length=f;return e};function Bf(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 l=Array(h);l[0]=1;l[h-1]=1;c=[b,c-d];for(var m=0,n;0<c.length;){var p=c.pop(),q=c.pop(),r=0,u=a[q],v=a[q+1],z=a[p],A=a[p+1];for(n=q+d;n<p;n+=d){var E=sa(a[n],a[n+1],u,v,z,A);E>r&&(m=n,r=E)}r>e&&(l[(m-b)/d]=1,q+d<m&&c.push(q,m),m+d<p&&c.push(m,p))}for(n=0;n<h;++n)l[n]&&(f[g++]=a[b+n*d],f[g++]=a[b+n*d+1]);return g} 
     89function Cf(a,b,c,d,e,f,g,h){var l;var m=0;for(l=c.length;m<l;++m){var n=c[m];a:{var p=a,q=n,r=d,u=e,v=f,z=g;if(b!=q){var A=u*Math.round(p[b]/u),E=u*Math.round(p[b+1]/u);b+=r;v[z++]=A;v[z++]=E;do{var S=u*Math.round(p[b]/u);g=u*Math.round(p[b+1]/u);b+=r;if(b==q){v[z++]=S;v[z++]=g;g=z;break a}}while(S==A&&g==E);for(;b<q;){var Ia=u*Math.round(p[b]/u);var ta=u*Math.round(p[b+1]/u);b+=r;if(Ia!=S||ta!=g){var la=S-A,ca=g-E,ia=Ia-A,xa=ta-E;la*xa==ca*ia&&(0>la&&ia<la||la==ia||0<la&&ia>la)&&(0>ca&&xa<ca||ca== 
     90xa||0<ca&&xa>ca)||(v[z++]=S,v[z++]=g,A=S,E=g);S=Ia;g=ta}}v[z++]=S;v[z++]=g}g=z}h.push(g);b=n}return g};function Df(a,b){hf.call(this);this.c=this.j=-1;this.na(a,b)}w(Df,hf);k=Df.prototype;k.clone=function(){var a=new Df(null);Ef(a,this.ja,this.A.slice());return a};k.Nb=function(a,b,c,d){if(d<Ha(this.G(),a,b))return d;this.c!=this.g&&(this.j=Math.sqrt(pf(this.A,0,this.A.length,this.a,0)),this.c=this.g);return tf(this.A,0,this.A.length,this.a,this.j,!0,a,b,c,d)};k.Vn=function(){return mf(this.A,0,this.A.length,this.a)};k.W=function(){return yf(this.A,0,this.A.length,this.a)}; 
     91k.xd=function(a){var b=[];b.length=Bf(this.A,0,this.A.length,this.a,a,b,0);a=new Df(null);Ef(a,"XY",b);return a};k.S=function(){return"LinearRing"};k.$a=function(){};k.na=function(a,b){a?(lf(this,b,a,1),this.A||(this.A=[]),this.A.length=wf(this.A,0,a,this.a),this.u()):Ef(this,"XY",null)};function Ef(a,b,c){kf(a,b,c);a.u()};function C(a,b){hf.call(this);this.na(a,b)}w(C,hf);k=C.prototype;k.clone=function(){var a=new C(null);a.ba(this.ja,this.A.slice());return a};k.Nb=function(a,b,c,d){var e=this.A;a=ua(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};k.W=function(){return this.A?this.A.slice():[]};k.Ae=function(a){return Pa(this.A,a)};k.S=function(){return"Point"};k.$a=function(a){return Ka(a,this.A[0],this.A[1])}; 
     92k.na=function(a,b){a?(lf(this,b,a,0),this.A||(this.A=[]),this.A.length=vf(this.A,a),this.u()):this.ba("XY",null)};k.ba=function(a,b){kf(this,a,b);this.u()};function Ff(a,b,c,d,e){return!Ua(e,function(e){return!Gf(a,b,c,d,e[0],e[1])})}function Gf(a,b,c,d,e,f){for(var g=0,h=a[c-d],l=a[c-d+1];b<c;b+=d){var m=a[b],n=a[b+1];l<=f?n>f&&0<(m-h)*(f-l)-(e-h)*(n-l)&&g++:n<=f&&0>(m-h)*(f-l)-(e-h)*(n-l)&&g--;h=m;l=n}return 0!==g}function Hf(a,b,c,d,e,f){if(0===c.length||!Gf(a,b,c[0],d,e,f))return!1;var g;b=1;for(g=c.length;b<g;++b)if(Gf(a,c[b-1],c[b],d,e,f))return!1;return!0};function If(a,b,c,d,e,f,g){for(var h,l,m,n,p,q=e[f+1],r=[],u=0,v=c.length;u<v;++u){var z=c[u];m=a[z-d];p=a[z-d+1];for(h=b;h<z;h+=d){n=a[h];l=a[h+1];if(q<=p&&l<=q||p<=q&&q<=l)m=(q-p)/(l-p)*(n-m)+m,r.push(m);m=n;p=l}}u=NaN;v=-Infinity;r.sort(dc);m=r[0];h=1;for(l=r.length;h<l;++h)n=r[h],z=Math.abs(n-m),z>v&&(m=(m+n)/2,Hf(a,b,c,d,m,q)&&(u=m,v=z)),m=n;isNaN(u)&&(u=e[f]);return g?(g.push(u,q,v),g):[u,q,v]};function Jf(a,b,c,d,e,f){for(var g=[a[b],a[b+1]],h=[],l;b+d<c;b+=d){h[0]=a[b+d];h[1]=a[b+d+1];if(l=e.call(f,g,h))return l;g[0]=h[0];g[1]=h[1]}return!1};function Kf(a,b,c,d,e){var f=Ra(Da(),a,b,c,d);return hb(e,f)?La(e,f)||f[0]>=e[0]&&f[2]<=e[2]||f[1]>=e[1]&&f[3]<=e[3]?!0:Jf(a,b,c,d,function(a,b){var c=!1,d=Ma(e,a),f=Ma(e,b);if(1===d||1===f)c=!0;else{var g=e[0],h=e[1],r=e[2],u=e[3],v=b[0];b=b[1];a=(b-a[1])/(v-a[0]);f&2&&!(d&2)&&(c=v-(b-u)/a,c=c>=g&&c<=r);c||!(f&4)||d&4||(c=b-(v-r)*a,c=c>=h&&c<=u);c||!(f&8)||d&8||(c=v-(b-h)/a,c=c>=g&&c<=r);c||!(f&16)||d&16||(c=b-(v-g)*a,c=c>=h&&c<=u)}return c}):!1} 
     93function Lf(a,b,c,d,e){var f=c[0];if(!(Kf(a,b,f,d,e)||Gf(a,b,f,d,e[0],e[1])||Gf(a,b,f,d,e[0],e[3])||Gf(a,b,f,d,e[2],e[1])||Gf(a,b,f,d,e[2],e[3])))return!1;if(1===c.length)return!0;b=1;for(f=c.length;b<f;++b)if(Ff(a,c[b-1],c[b],d,e))return!1;return!0};function Mf(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],l=a[b+1];e+=(h-f)*(l+g);f=h;g=l}return 0<e}function Nf(a,b,c,d){var e=0;d=void 0!==d?d:!1;var f;var g=0;for(f=b.length;g<f;++g){var h=b[g];e=Mf(a,e,h,c);if(0===g){if(d&&e||!d&&!e)return!1}else if(d&&!e||!d&&e)return!1;e=h}return!0} 
     94function Of(a,b,c,d,e){e=void 0!==e?e:!1;var f;var g=0;for(f=c.length;g<f;++g){var h=c[g],l=Mf(a,b,h,d);if(0===g?e&&l||!e&&!l:e&&!l||!e&&l){l=a;for(var m=h,n=d;b<m-n;){var p;for(p=0;p<n;++p){var q=l[b+p];l[b+p]=l[m-n+p];l[m-n+p]=q}b+=n;m-=n}}b=h}return b}function Pf(a,b,c,d){var e=0,f;var g=0;for(f=b.length;g<f;++g)e=Of(a,e,b[g],c,d);return e};function D(a,b){hf.call(this);this.c=[];this.o=-1;this.D=null;this.T=this.C=this.B=-1;this.j=null;this.na(a,b)}w(D,hf);k=D.prototype;k.Hk=function(a){this.A?gc(this.A,a.da()):this.A=a.da().slice();this.c.push(this.A.length);this.u()};k.clone=function(){var a=new D(null);a.ba(this.ja,this.A.slice(),this.c.slice());return a}; 
     95k.Nb=function(a,b,c,d){if(d<Ha(this.G(),a,b))return d;this.C!=this.g&&(this.B=Math.sqrt(qf(this.A,0,this.c,this.a,0)),this.C=this.g);return uf(this.A,0,this.c,this.a,this.B,!0,a,b,c,d)};k.Zc=function(a,b){return Hf(this.Xb(),0,this.c,this.a,a,b)};k.Yn=function(){return nf(this.Xb(),0,this.c,this.a)};k.W=function(a){if(void 0!==a){var b=this.Xb().slice();Of(b,0,this.c,this.a,a)}else b=this.A;return zf(b,0,this.c,this.a)};k.pb=function(){return this.c}; 
     96k.Td=function(){if(this.o!=this.g){var a=eb(this.G());this.D=If(this.Xb(),0,this.c,this.a,a,0);this.o=this.g}return this.D};k.tl=function(){return new C(this.Td(),"XYM")};k.zl=function(){return this.c.length};k.Wh=function(a){if(0>a||this.c.length<=a)return null;var b=new Df(null);Ef(b,this.ja,this.A.slice(0===a?0:this.c[a-1],this.c[a]));return b};k.Ud=function(){var a=this.ja,b=this.A,c=this.c,d=[],e=0,f;var g=0;for(f=c.length;g<f;++g){var h=c[g],l=new Df(null);Ef(l,a,b.slice(e,h));d.push(l);e=h}return d}; 
     97k.Xb=function(){if(this.T!=this.g){var a=this.A;Nf(a,this.c,this.a)?this.j=a:(this.j=a.slice(),this.j.length=Of(this.j,0,this.c,this.a));this.T=this.g}return this.j};k.xd=function(a){var b=[],c=[];b.length=Cf(this.A,0,this.c,this.a,Math.sqrt(a),b,0,c);a=new D(null);a.ba("XY",b,c);return a};k.S=function(){return"Polygon"};k.$a=function(a){return Lf(this.Xb(),0,this.c,this.a,a)}; 
     98k.na=function(a,b){a?(lf(this,b,a,2),this.A||(this.A=[]),a=xf(this.A,0,a,this.a,this.c),this.A.length=0===a.length?0:a[a.length-1],this.u()):this.ba("XY",null,this.c)};k.ba=function(a,b,c){kf(this,a,b);this.c=c;this.u()};function Qf(a,b,c,d){var e=d?d:32;d=[];var f;for(f=0;f<e;++f)gc(d,a.offset(b,c,2*Math.PI*f/e));d.push(d[0],d[1]);a=new D(null);a.ba("XY",d,[d.length]);return a}function Rf(a){var b=a[0],c=a[1],d=a[2];a=a[3];b=[b,c,b,a,d,a,d,c,b,c];c=new D(null);c.ba("XY",b,[b.length]);return c} 
     99function Sf(a,b,c){var d=b?b:32,e=a.pa();b=a.ja;var f=new D(null,b);d=e*(d+1);e=Array(d);for(var g=0;g<d;g++)e[g]=0;f.ba(b,e,[e.length]);Tf(f,a.xa(),a.Bd(),c);return f}function Tf(a,b,c,d){var e=a.da(),f=a.ja,g=a.pa(),h=a.pb(),l=e.length/g-1;d=d?d:0;for(var m,n,p=0;p<=l;++p)n=p*g,m=d+2*wa(p,l)*Math.PI/l,e[n]=b[0]+c*Math.cos(m),e[n+1]=b[1]+c*Math.sin(m);a.ba(f,e,h)};function F(a){Vc.call(this);a=kb({},a);this.f=[0,0];this.c=[];this.Ff=this.Ff.bind(this);this.v=Ub(a.projection);Vf(this,a)}w(F,Vc); 
     100function Vf(a,b){var c={};c.center=void 0!==b.center?b.center:null;var d=void 0!==b.minZoom?b.minZoom:0;var e=void 0!==b.maxZoom?b.maxZoom:28;var f=void 0!==b.zoomFactor?b.zoomFactor:2;if(void 0!==b.resolutions){var g=b.resolutions;var h=g[d];var l=void 0!==g[e]?g[e]:g[g.length-1];e=pe(g)}else{h=Ub(b.projection);l=h.G();g=(l?Math.max(cb(l),db(l)):360*ub.degrees/h.Bc())/256/Math.pow(2,0);var m=g/Math.pow(2,28);h=b.maxResolution;void 0!==h?d=0:h=g/Math.pow(f,d);l=b.minResolution;void 0===l&&(l=void 0!== 
     101b.maxZoom?void 0!==b.maxResolution?h/Math.pow(f,e):g/Math.pow(f,e):m);e=d+Math.floor(Math.log(h/l)/Math.log(f));l=h/Math.pow(f,e-d);e=qe(f,h,e-d)}a.a=h;a.i=l;a.D=f;a.j=b.resolutions;a.s=d;(void 0!==b.enableRotation?b.enableRotation:1)?(d=b.constrainRotation,d=void 0===d||!0===d?we():!1===d?se:"number"===typeof d?ue(d):se):d=re;a.l={center:void 0!==b.extent?ne(b.extent):oe,resolution:e,rotation:d};void 0!==b.resolution?c.resolution=b.resolution:void 0!==b.zoom&&(c.resolution=a.constrainResolution(a.a, 
     102b.zoom-a.s),a.j&&(c.resolution=pa(Number(a.Pa()||c.resolution),a.i,a.a)));c.rotation=void 0!==b.rotation?b.rotation:0;a.H(c);a.C=b}function $f(a,b){var c=kb({},a.C);void 0!==c.resolution?c.resolution=a.Pa():c.zoom=a.lg();c.center=a.xa();c.rotation=a.Sa();return kb({},c,b)}k=F.prototype; 
     103k.animate=function(a){var b=arguments.length;if(1<b&&"function"===typeof arguments[b-1]){var c=arguments[b-1];--b}if(ag(this)){for(var d=Date.now(),e=this.xa().slice(),f=this.Pa(),g=this.Sa(),h=[],l=0;l<b;++l){var m=arguments[l],n={start:d,complete:!1,anchor:m.anchor,duration:void 0!==m.duration?m.duration:1E3,easing:m.easing||Pe};m.center&&(n.ie=e,n.me=m.center,e=n.me);void 0!==m.zoom?(n.ke=f,n.kd=this.constrainResolution(this.a,m.zoom-this.s,0),f=n.kd):m.resolution&&(n.ke=f,n.kd=m.resolution,f= 
     104n.kd);void 0!==m.rotation&&(n.Df=g,n.ne=g+(wa(m.rotation-g+Math.PI,2*Math.PI)-Math.PI),g=n.ne);n.callback=c;n.ie&&n.me&&!Ee(n.ie,n.me)||n.ke!==n.kd||n.Df!==n.ne?d+=n.duration:n.complete=!0;h.push(n)}this.c.push(h);bg(this,0,1);this.Ff()}else b=arguments[b-1],b.center&&this.ub(b.center),void 0!==b.zoom&&this.Tj(b.zoom),void 0!==b.rotation&&this.ce(b.rotation),c&&c(!0)};k.Ac=function(){return 0<this.f[0]};k.Vh=function(){return 0<this.f[1]}; 
     105k.rd=function(){bg(this,0,-this.f[0]);for(var a=0,b=this.c.length;a<b;++a){var c=this.c[a];c[0].callback&&c[0].callback(!1)}this.c.length=0}; 
     106k.Ff=function(){void 0!==this.o&&(cancelAnimationFrame(this.o),this.o=void 0);if(this.Ac()){for(var a=Date.now(),b=!1,c=this.c.length-1;0<=c;--c){for(var d=this.c[c],e=!0,f=0,g=d.length;f<g;++f){var h=d[f];if(!h.complete){b=a-h.start;b=0<h.duration?b/h.duration:1;1<=b?(h.complete=!0,b=1):e=!1;b=h.easing(b);if(h.ie){var l=h.ie[0],m=h.ie[1];this.set("center",[l+b*(h.me[0]-l),m+b*(h.me[1]-m)])}h.ke&&h.kd&&(l=1===b?h.kd:h.ke+b*(h.kd-h.ke),h.anchor&&this.set("center",cg(this,l,h.anchor)),this.set("resolution", 
     107l));void 0!==h.Df&&void 0!==h.ne&&(b=1===b?wa(h.ne+Math.PI,2*Math.PI)-Math.PI:h.Df+b*(h.ne-h.Df),h.anchor&&this.set("center",dg(this,b,h.anchor)),this.set("rotation",b));b=!0;if(!h.complete)break}}e&&(this.c[c]=null,bg(this,0,-1),(d=d[0].callback)&&d(!0))}this.c=this.c.filter(Boolean);b&&void 0===this.o&&(this.o=requestAnimationFrame(this.Ff))}};function dg(a,b,c){var d=a.xa();if(void 0!==d){var e=[d[0]-c[0],d[1]-c[1]];Fe(e,b-a.Sa());ze(e,c)}return e} 
     108function cg(a,b,c){var d,e=a.xa();a=a.Pa();void 0!==e&&void 0!==a&&(d=[c[0]-b*(c[0]-e[0])/a,c[1]-b*(c[1]-e[1])/a]);return d}function eg(a){var b=[100,100];a='.ol-viewport[data-view="'+x(a)+'"]';if(a=document.querySelector(a))a=getComputedStyle(a),b[0]=parseInt(a.width,10),b[1]=parseInt(a.height,10);return b}k.Sc=function(a){return this.l.center(a)};k.constrainResolution=function(a,b,c){return this.l.resolution(a,b||0,c||0)};k.constrainRotation=function(a,b){return this.l.rotation(a,b||0)};k.xa=function(){return this.get("center")}; 
     109k.qd=function(a){a=a||eg(this);var b=this.xa();oa(b,1);var c=this.Pa();oa(void 0!==c,2);var d=this.Sa();oa(void 0!==d,3);return fb(b,c,d,a)};k.sn=function(){return this.a};k.vn=function(){return this.i};k.tn=function(){return this.Me(this.i)};k.Cq=function(a){Vf(this,$f(this,{maxZoom:a}))};k.wn=function(){return this.Me(this.a)};k.Dq=function(a){Vf(this,$f(this,{minZoom:a}))};k.xn=function(){return this.v};k.Pa=function(){return this.get("resolution")};k.yn=function(){return this.j}; 
     110k.Je=function(a,b){b=b||eg(this);return Math.max(cb(a)/b[0],db(a)/b[1])};function fg(a){var b=a.a,c=Math.log(b/a.i)/Math.log(2);return function(a){return b/Math.pow(2,a*c)}}k.Sa=function(){return this.get("rotation")};function gg(a){var b=a.a,c=Math.log(b/a.i)/Math.log(2);return function(a){return Math.log(b/a)/Math.log(2)/c}}k.getState=function(){var a=this.xa(),b=this.v,c=this.Pa(),d=this.Sa();return{center:a.slice(),projection:void 0!==b?b:null,resolution:c,rotation:d,zoom:this.lg()}}; 
     111k.lg=function(){var a,b=this.Pa();void 0!==b&&(a=this.Me(b));return a};k.Me=function(a){var b=this.s||0,c;if(this.j){b=c=fc(this.j,a,1);var d=this.j[c];c=c==this.j.length-1?2:d/this.j[c+1]}else d=this.a,c=this.D;return b+Math.log(d/a)/Math.log(c)};k.$h=function(a){return this.constrainResolution(this.a,a-this.s,0)}; 
     112k.Uf=function(a,b){b=b||{};var c=b.size;c||(c=eg(this));if(a instanceof hf)if("Circle"===a.S()){a=a.G();var d=Rf(a);d.rotate(this.Sa(),eb(a))}else d=a;else oa(Array.isArray(a),24),oa(!bb(a),25),d=Rf(a);var e=void 0!==b.padding?b.padding:[0,0,0,0],f=void 0!==b.constrainResolution?b.constrainResolution:!0,g=void 0!==b.nearest?b.nearest:!1,h;void 0!==b.minResolution?h=b.minResolution:void 0!==b.maxZoom?h=this.constrainResolution(this.a,b.maxZoom-this.s,0):h=0;var l=d.da(),m=this.Sa();a=Math.cos(-m); 
     113m=Math.sin(-m);var n=Infinity,p=Infinity,q=-Infinity,r=-Infinity;d=d.pa();for(var u=0,v=l.length;u<v;u+=d){var z=l[u]*a-l[u+1]*m,A=l[u]*m+l[u+1]*a;n=Math.min(n,z);p=Math.min(p,A);q=Math.max(q,z);r=Math.max(r,A)}c=this.Je([n,p,q,r],[c[0]-e[1]-e[3],c[1]-e[0]-e[2]]);c=isNaN(c)?h:Math.max(c,h);f&&(h=this.constrainResolution(c,0,0),!g&&h<c&&(h=this.constrainResolution(h,-1,0)),c=h);m=-m;h=(n+q)/2+(e[1]-e[3])/2*c;e=(p+r)/2+(e[0]-e[2])/2*c;a=[h*a-e*m,e*a+h*m];e=b.callback?b.callback:ea;void 0!==b.duration? 
     114this.animate({resolution:c,center:a,duration:b.duration,easing:b.easing},e):(this.gd(c),this.ub(a),setTimeout(e.bind(void 0,!0),0))};k.Nk=function(a,b,c){var d=this.Sa(),e=Math.cos(-d);d=Math.sin(-d);var f=a[0]*e-a[1]*d;a=a[1]*e+a[0]*d;var g=this.Pa();f+=(b[0]/2-c[0])*g;a+=(c[1]-b[1]/2)*g;d=-d;this.ub([f*e-a*d,a*e+f*d])};function ag(a){return!!a.xa()&&void 0!==a.Pa()}k.rotate=function(a,b){void 0!==b&&(b=dg(this,a,b),this.ub(b));this.ce(a)};k.ub=function(a){this.set("center",a);this.Ac()&&this.rd()}; 
     115function bg(a,b,c){a.f[b]+=c;a.u()}k.gd=function(a){this.set("resolution",a);this.Ac()&&this.rd()};k.ce=function(a){this.set("rotation",a);this.Ac()&&this.rd()};k.Tj=function(a){this.gd(this.$h(a))};function hg(a,b){var c=document.createElement("CANVAS");a&&(c.width=a);b&&(c.height=b);return c.getContext("2d")}function ig(a,b){var c=b.parentNode;c&&c.replaceChild(a,b)}function jg(a){a&&a.parentNode&&a.parentNode.removeChild(a)};function kg(a){Vc.call(this);var b=kb({},a);b.opacity=void 0!==a.opacity?a.opacity:1;b.visible=void 0!==a.visible?a.visible:!0;b.zIndex=void 0!==a.zIndex?a.zIndex:0;b.maxResolution=void 0!==a.maxResolution?a.maxResolution:Infinity;b.minResolution=void 0!==a.minResolution?a.minResolution:0;this.H(b);this.a={layer:this,Te:!0}}w(kg,Vc);k=kg.prototype;k.S=function(){return this.type}; 
     116function lg(a){a.a.opacity=pa(a.nc(),0,1);a.a.Vj=a.hg();a.a.visible=a.Jb();a.a.extent=a.G();a.a.zIndex=a.Ba();a.a.maxResolution=a.lc();a.a.minResolution=Math.max(a.mc(),0);return a.a}k.G=function(){return this.get("extent")};k.lc=function(){return this.get("maxResolution")};k.mc=function(){return this.get("minResolution")};k.nc=function(){return this.get("opacity")};k.Jb=function(){return this.get("visible")};k.Ba=function(){return this.get("zIndex")};k.Fc=function(a){this.set("extent",a)}; 
     117k.Mc=function(a){this.set("maxResolution",a)};k.Nc=function(a){this.set("minResolution",a)};k.Gc=function(a){this.set("opacity",a)};k.Hc=function(a){this.set("visible",a)};k.$b=function(a){this.set("zIndex",a)};function mg(a){var b=a||{};a=kb({},b);delete a.layers;b=b.layers;kg.call(this,a);this.i=[];this.c={};y(this,Xc(ng),this.im,this);b?Array.isArray(b)?b=new B(b.slice(),{unique:!0}):oa(b instanceof B,43):b=new B(void 0,{unique:!0});this.Qi(b)}w(mg,kg);k=mg.prototype;k.Pe=function(){this.u()}; 
     118k.im=function(){this.i.forEach(Gc);this.i.length=0;var a=this.Cd();this.i.push(y(a,"add",this.hm,this),y(a,"remove",this.jm,this));for(var b in this.c)this.c[b].forEach(Gc);lb(this.c);a=a.a;var c;b=0;for(c=a.length;b<c;b++){var d=a[b];this.c[x(d).toString()]=[y(d,"propertychange",this.Pe,this),y(d,"change",this.Pe,this)]}this.u()};k.hm=function(a){a=a.element;var b=x(a).toString();this.c[b]=[y(a,"propertychange",this.Pe,this),y(a,"change",this.Pe,this)];this.u()}; 
     119k.jm=function(a){a=x(a.element).toString();this.c[a].forEach(Gc);delete this.c[a];this.u()};k.Cd=function(){return this.get(ng)};k.Qi=function(a){this.set(ng,a)}; 
     120k.dg=function(a){var b=void 0!==a?a:[],c=b.length;this.Cd().forEach(function(a){a.dg(b)});a=lg(this);var d;for(d=b.length;c<d;c++){var e=b[c];e.opacity*=a.opacity;e.visible=e.visible&&a.visible;e.maxResolution=Math.min(e.maxResolution,a.maxResolution);e.minResolution=Math.max(e.minResolution,a.minResolution);void 0!==a.extent&&(e.extent=void 0!==e.extent?gb(e.extent,a.extent):a.extent)}return b};k.hg=function(){return"ready"};var ng="layers";var og=[],pg=[];function qg(a,b){switch(a){case "MAP_RENDERER":a=og;a.push(b);break;case "LAYER_RENDERER":a=pg;a.push(b);break;default:throw Error("Unsupported plugin type: "+a);}}function rg(a){for(var b=0,c=a.length;b<c;++b)qg("LAYER_RENDERER",a[b])};function G(a){Vc.call(this);var b=sg(a);this.ob=void 0!==a.loadTilesWhileAnimating?a.loadTilesWhileAnimating:!1;this.sc=void 0!==a.loadTilesWhileInteracting?a.loadTilesWhileInteracting:!1;this.ra=void 0!==a.pixelRatio?a.pixelRatio:nd;this.Md=b.logos;this.V=function(){this.j=void 0;this.pq.call(this)}.bind(this);this.La=We();this.If=We();this.bb=0;this.D=this.C=this.B=this.f=this.c=null;this.a=document.createElement("DIV");this.a.className="ol-viewport"+(sd?" ol-touch":"");this.a.style.position="relative"; 
     121this.a.style.overflow="hidden";this.a.style.width="100%";this.a.style.height="100%";this.a.style.msTouchAction="none";this.a.style.touchAction="none";this.o=document.createElement("DIV");this.o.className="ol-overlaycontainer";this.a.appendChild(this.o);this.v=document.createElement("DIV");this.v.className="ol-overlaycontainer-stopevent";for(var c="click dblclick mousedown touchstart MSPointerDown pointerdown mousewheel wheel".split(" "),d=0,e=c.length;d<e;++d)y(this.v,c[d],Rc);this.a.appendChild(this.v); 
     122this.ca=new be(this,a.moveTolerance);for(var f in zd)y(this.ca,zd[f],this.bi,this);this.$=b.keyboardEventTarget;this.s=null;y(this.a,"wheel",this.yd,this);y(this.a,"mousewheel",this.yd,this);this.controls=b.controls||new B;this.interactions=b.interactions||new B;this.l=b.overlays;this.Fg={};this.pc=b.Im.create(this.a,this);this.T=null;this.Ea=[];this.ua=new le(this.Tl.bind(this),this.zm.bind(this));this.O={};y(this,Xc("layergroup"),this.fm,this);y(this,Xc("view"),this.Am,this);y(this,Xc("size"),this.um, 
     123this);y(this,Xc("target"),this.ym,this);this.H(b.values);this.controls.forEach(function(a){a.setMap(this)},this);y(this.controls,"add",function(a){a.element.setMap(this)},this);y(this.controls,"remove",function(a){a.element.setMap(null)},this);this.interactions.forEach(function(a){a.setMap(this)},this);y(this.interactions,"add",function(a){a.element.setMap(this)},this);y(this.interactions,"remove",function(a){a.element.setMap(null)},this);this.l.forEach(this.zh,this);y(this.l,"add",function(a){this.zh(a.element)}, 
     124this);y(this.l,"remove",function(a){var b=a.element.id;void 0!==b&&delete this.Fg[b.toString()];a.element.setMap(null)},this)}w(G,Vc);k=G.prototype;k.Mf=function(a){this.controls.push(a)};k.Nf=function(a){this.interactions.push(a)};k.xe=function(a){this.hc().Cd().push(a)};k.ye=function(a){this.l.push(a)};k.zh=function(a){var b=a.id;void 0!==b&&(this.Fg[b.toString()]=a);a.setMap(this)}; 
     125k.ia=function(){Pc(this.ca);Mc(this.a,"wheel",this.yd,this);Mc(this.a,"mousewheel",this.yd,this);void 0!==this.i&&(window.removeEventListener("resize",this.i,!1),this.i=void 0);this.j&&(cancelAnimationFrame(this.j),this.j=void 0);this.Ad(null);Vc.prototype.ia.call(this)};k.Tc=function(a,b,c){if(this.c)return a=this.Ra(a),c=void 0!==c?c:{},this.pc.wa(a,this.c,void 0!==c.hitTolerance?c.hitTolerance*this.c.pixelRatio:0,b,null,void 0!==c.layerFilter?c.layerFilter:Re,null)}; 
     126k.Xf=function(a,b){var c=null;this.Tc(a,function(a){c||(c=[]);c.push(a)},b);return c};k.tg=function(a,b,c,d,e){if(this.c)return this.pc.Ti(a,this.c,b,void 0!==c?c:null,void 0!==d?d:Re,void 0!==e?e:null)};k.ng=function(a,b){if(!this.c)return!1;a=this.Ra(a);b=void 0!==b?b:{};return this.pc.Ui(a,this.c,void 0!==b.hitTolerance?b.hitTolerance*this.c.pixelRatio:0,void 0!==b.layerFilter?b.layerFilter:Re,null)};k.Sd=function(a){return this.Ra(this.ud(a))}; 
     127k.ud=function(a){var b=this.a.getBoundingClientRect();a=a.changedTouches?a.changedTouches[0]:a;return[a.clientX-b.left,a.clientY-b.top]};k.Xd=function(){return this.get("target")};k.Cc=function(){var a=this.Xd();return void 0!==a?"string"===typeof a?document.getElementById(a):a:null};k.Ra=function(a){var b=this.c;return b?af(b.pixelToCoordinateTransform,a.slice()):null};k.Wf=function(){return this.controls};k.gg=function(){return this.l}; 
     128k.fg=function(a){a=this.Fg[a.toString()];return void 0!==a?a:null};k.bg=function(){return this.interactions};k.hc=function(){return this.get("layergroup")};k.Xe=function(){return this.hc().Cd()};k.Ia=function(a){var b=this.c;return b?af(b.coordinateToPixelTransform,a.slice(0,2)):null};k.Ie=function(){return this.pc};k.Cb=function(){return this.get("size")};k.aa=function(){return this.get("view")};k.kg=function(){return this.a}; 
     129k.Tl=function(a,b,c,d){var e=this.c;if(!(e&&b in e.wantedTiles&&e.wantedTiles[b][a.lb()]))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};k.yd=function(a,b){a=new ed(b||a.type,this,a);this.bi(a)};k.bi=function(a){if(this.c){this.T=a.coordinate;a.frameState=this.c;var b=this.interactions.a,c;if(!1!==this.b(a))for(c=b.length-1;0<=c;c--){var d=b[c];if(d.c()&&!d.handleEvent(a))break}}}; 
     130k.sm=function(){var a=this.c,b=this.ua;if(0!==b.b.length){var c=16,d=c;if(a){var e=a.viewHints;e[0]&&(c=this.ob?8:0,d=2);e[1]&&(c=this.sc?8:0,d=2)}b.j<c&&(ke(b),me(b,c,d))}b=this.Ea;c=0;for(d=b.length;c<d;++c)b[c](this,a);b.length=0};k.um=function(){this.render()}; 
     131k.ym=function(){var a;this.Xd()&&(a=this.Cc());if(this.s){for(var b=0,c=this.s.length;b<c;++b)Gc(this.s[b]);this.s=null}if(a){a.appendChild(this.a);var d=this.$?this.$:a;this.s=[y(d,"keydown",this.yd,this),y(d,"keypress",this.yd,this)];this.i||(this.i=this.Oc.bind(this),window.addEventListener("resize",this.i,!1))}else{a=this.pc;for(d in a.c)Pc(tg(a,d));jg(this.a);void 0!==this.i&&(window.removeEventListener("resize",this.i,!1),this.i=void 0)}this.Oc()};k.zm=function(){this.render()};k.ei=function(){this.render()}; 
     132k.Am=function(){this.B&&(Gc(this.B),this.B=null);this.C&&(Gc(this.C),this.C=null);var a=this.aa();a&&(this.a.setAttribute("data-view",x(a)),this.B=y(a,"propertychange",this.ei,this),this.C=y(a,"change",this.ei,this));this.render()};k.fm=function(){this.D&&(this.D.forEach(Gc),this.D=null);var a=this.hc();a&&(this.D=[y(a,"propertychange",this.render,this),y(a,"change",this.render,this)]);this.render()};k.dh=function(){this.j&&cancelAnimationFrame(this.j);this.V()}; 
     133k.render=function(){void 0===this.j&&(this.j=requestAnimationFrame(this.V))};k.Xg=function(a){return this.controls.remove(a)};k.Zg=function(a){return this.interactions.remove(a)};k.$g=function(a){return this.hc().Cd().remove(a)};k.ah=function(a){return this.l.remove(a)}; 
     134k.pq=function(){var a=Date.now(),b,c=this.Cb(),d=this.aa(),e=Da(),f=this.c,g=null;if(void 0!==c&&0<c[0]&&0<c[1]&&d&&ag(d)){g=this.c?this.c.viewHints:void 0;void 0!==g?(g[0]=d.f[0],g[1]=d.f[1]):g=d.f.slice();var h=this.hc().dg(),l={};var m=0;for(b=h.length;m<b;++m)l[x(h[m].layer)]=h[m];m=d.getState();d=m.center;b=m.resolution/this.ra;d[0]=Math.round(d[0]/b)*b;d[1]=Math.round(d[1]/b)*b;g={animate:!1,coordinateToPixelTransform:this.La,extent:e,focus:this.T?this.T:d,index:this.bb++,layerStates:l,layerStatesArray:h, 
     135logos:kb({},this.Md),pixelRatio:this.ra,pixelToCoordinateTransform:this.If,postRenderFunctions:[],size:c,skippedFeatureUids:this.O,tileQueue:this.ua,time:a,usedTiles:{},viewState:m,viewHints:g,wantedTiles:{}}}g&&(g.extent=fb(m.center,m.resolution,m.rotation,g.size,e));this.c=g;this.pc.bh(g);g&&(g.animate&&this.render(),Array.prototype.push.apply(this.Ea,g.postRenderFunctions),!f||this.f&&(bb(this.f)||Sa(g.extent,this.f))||(this.b(new dd("movestart",this,f)),this.f=Oa(this.f)),!this.f||g.viewHints[0]|| 
     136g.viewHints[1]||Sa(g.extent,this.f)||(this.b(new dd("moveend",this,g)),Ga(g.extent,this.f)));this.b(new dd("postrender",this,g));setTimeout(this.sm.bind(this),0)};k.zf=function(a){this.set("layergroup",a)};k.be=function(a){this.set("size",a)};k.Ad=function(a){this.set("target",a)};k.jh=function(a){this.set("view",a)};k.Uj=function(a){a=x(a).toString();this.O[a]=!0;this.render()}; 
     137k.Oc=function(){var a=this.Cc();if(a){var b=getComputedStyle(a);this.be([a.offsetWidth-parseFloat(b.borderLeftWidth)-parseFloat(b.paddingLeft)-parseFloat(b.paddingRight)-parseFloat(b.borderRightWidth),a.offsetHeight-parseFloat(b.borderTopWidth)-parseFloat(b.paddingTop)-parseFloat(b.paddingBottom)-parseFloat(b.borderBottomWidth)])}else this.be(void 0)};k.Zj=function(a){a=x(a).toString();delete this.O[a];this.render()};var ug=["canvas","webgl"]; 
     138function sg(a){var b=null;void 0!==a.keyboardEventTarget&&(b="string"===typeof a.keyboardEventTarget?document.getElementById(a.keyboardEventTarget):a.keyboardEventTarget);var c={},d={};if(void 0===a.logo||"boolean"===typeof a.logo&&a.logo)d["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"]= 
     139"https://openlayers.org/";else{var e=a.logo;"string"===typeof e?d[e]="":e instanceof HTMLElement?d[x(e).toString()]=e:e&&(oa("string"==typeof e.href,44),oa("string"==typeof e.src,45),d[e.src]=e.href)}e=a.layers instanceof mg?a.layers:new mg({layers:a.layers});c.layergroup=e;c.target=a.target;c.view=void 0!==a.view?a.view:new F;var f;void 0!==a.renderer?(Array.isArray(a.renderer)?f=a.renderer:"string"===typeof a.renderer?f=[a.renderer]:oa(!1,46),0<=f.indexOf("dom")&&(f=f.concat(ug))):f=ug;e=0;var g= 
     140f.length;a:for(;e<g;++e)for(var h=f[e],l=0,m=og.length;l<m;++l){var n=og[l];if(n.handles(h)){var p=n;break a}}if(!p)throw Error("Unable to create a map renderer for types: "+f.join(", "));if(void 0!==a.controls)if(Array.isArray(a.controls))var q=new B(a.controls.slice());else oa(a.controls instanceof B,47),q=a.controls;if(void 0!==a.interactions)if(Array.isArray(a.interactions))var r=new B(a.interactions.slice());else oa(a.interactions instanceof B,48),r=a.interactions;void 0!==a.overlays?Array.isArray(a.overlays)? 
     141a=new B(a.overlays.slice()):(oa(a.overlays instanceof B,49),a=a.overlays):a=new B;return{controls:q,interactions:r,keyboardEventTarget:b,logos:d,overlays:a,Im:p,values:c}};function vg(a){Vc.call(this);this.element=a.element?a.element:null;this.a=this.T=null;this.s=[];this.render=a.render?a.render:ea;a.target&&this.i(a.target)}w(vg,Vc);vg.prototype.ia=function(){jg(this.element);Vc.prototype.ia.call(this)};vg.prototype.f=function(){return this.a}; 
     142vg.prototype.setMap=function(a){this.a&&jg(this.element);for(var b=0,c=this.s.length;b<c;++b)Gc(this.s[b]);this.s.length=0;if(this.a=a)(this.T?this.T:a.v).appendChild(this.element),this.render!==ea&&this.s.push(y(a,"postrender",this.render,this)),a.render()};vg.prototype.i=function(a){this.T="string"===typeof a?document.getElementById(a):a};var wg=function(){var a,b={};return function(c){a||(a=document.createElement("div").style);if(!(c in b)){a.font=c;var d=a.fontFamily;a.font="";if(!d)return null;b[c]=d.split(/,\s?/)}return b[c]}}();function xg(a){var b=kb({},a);delete b.source;kg.call(this,b);this.o=this.v=this.s=null;a.map&&this.setMap(a.map);y(this,Xc("source"),this.wm,this);this.hd(a.source?a.source:null)}w(xg,kg);function yg(a,b){return a.visible&&b>=a.minResolution&&b<a.maxResolution}k=xg.prototype;k.dg=function(a){a=a?a:[];a.push(lg(this));return a};k.ha=function(){return this.get("source")||null};k.hg=function(){var a=this.ha();return a?a.getState():"undefined"};k.yo=function(){this.u()}; 
     143k.wm=function(){this.o&&(Gc(this.o),this.o=null);var a=this.ha();a&&(this.o=y(a,"change",this.yo,this));this.u()};k.setMap=function(a){this.s&&(Gc(this.s),this.s=null);a||this.u();this.v&&(Gc(this.v),this.v=null);a&&(this.s=y(a,"precompose",function(a){var b=lg(this);b.Te=!1;b.zIndex=Infinity;a.frameState.layerStatesArray.push(b);a.frameState.layerStates[x(this)]=b},this),this.v=y(this,"change",a.render,a),this.u())};k.hd=function(a){this.set("source",a)};function zg(a){a=a?a:{};this.v=document.createElement("UL");this.l=document.createElement("LI");this.v.appendChild(this.l);this.l.style.display="none";this.c=void 0!==a.collapsed?a.collapsed:!0;this.j=void 0!==a.collapsible?a.collapsible:!0;this.j||(this.c=!1);var b=void 0!==a.className?a.className:"ol-attribution",c=void 0!==a.tipLabel?a.tipLabel:"Attributions",d=void 0!==a.collapseLabel?a.collapseLabel:"\u00bb";"string"===typeof d?(this.o=document.createElement("span"),this.o.textContent=d):this.o= 
     144d;d=void 0!==a.label?a.label:"i";"string"===typeof d?(this.D=document.createElement("span"),this.D.textContent=d):this.D=d;var e=this.j&&!this.c?this.o:this.D;d=document.createElement("button");d.setAttribute("type","button");d.title=c;d.appendChild(e);y(d,"click",this.Bn,this);c=document.createElement("div");c.className=b+" ol-unselectable ol-control"+(this.c&&this.j?" ol-collapsed":"")+(this.j?"":" ol-uncollapsible");c.appendChild(this.v);c.appendChild(d);vg.call(this,{element:c,render:a.render? 
     145a.render:Ag,target:a.target});this.B=[];this.C=!0;this.O={}}w(zg,vg); 
     146function Ag(a){if(a=a.frameState){for(var b={},c=[],d=a.layerStatesArray,e=a.viewState.resolution,f=0,g=d.length;f<g;++f){var h=d[f];if(yg(h,e)&&(h=h.layer.ha())&&(h=h.C)&&(h=h(a)))if(Array.isArray(h))for(var l=0,m=h.length;l<m;++l)h[l]in b||(c.push(h[l]),b[h[l]]=!0);else h in b||(c.push(h),b[h]=!0)}if(!jc(c,this.B)){for(;this.v.lastChild!==this.l;)this.v.removeChild(this.v.lastChild);b=0;for(d=c.length;b<d;++b)e=document.createElement("LI"),e.innerHTML=c[b],this.v.appendChild(e);0===c.length&&0< 
     147this.B.length?this.element.classList.add("ol-logo-only"):0===this.B.length&&0<c.length&&this.element.classList.remove("ol-logo-only");b=0<c.length||!nb(a.logos);this.C!=b&&(this.element.style.display=b?"":"none",this.C=b);this.B=c;a=a.logos;c=this.O;for(p in c)p in a||(jg(c[p]),delete c[p]);for(var n in a)if(d=a[n],d instanceof HTMLElement&&(this.l.appendChild(d),c[n]=d),!(n in c)){var p=new Image;p.src=n;""===d?b=p:(b=document.createElement("a"),b.href=d,b.appendChild(p));this.l.appendChild(b);c[n]= 
     148b}this.l.style.display=nb(a)?"none":""}}else this.C&&(this.element.style.display="none",this.C=!1)}k=zg.prototype;k.Bn=function(a){a.preventDefault();Bg(this)};function Bg(a){a.element.classList.toggle("ol-collapsed");a.c?ig(a.o,a.D):ig(a.D,a.o);a.c=!a.c}k.An=function(){return this.j};k.Dn=function(a){this.j!==a&&(this.j=a,this.element.classList.toggle("ol-uncollapsible"),!a&&this.c&&Bg(this))};k.Cn=function(a){this.j&&this.c!==a&&Bg(this)};k.zn=function(){return this.c};function Cg(a){a=a?a:{};var b=void 0!==a.className?a.className:"ol-rotate",c=void 0!==a.label?a.label:"\u21e7";this.c=null;"string"===typeof c?(this.c=document.createElement("span"),this.c.className="ol-compass",this.c.textContent=c):(this.c=c,this.c.classList.add("ol-compass"));var d=a.tipLabel?a.tipLabel:"Reset rotation";c=document.createElement("button");c.className=b+"-reset";c.setAttribute("type","button");c.title=d;c.appendChild(this.c);y(c,"click",Cg.prototype.D,this);d=document.createElement("div"); 
     149d.className=b+" ol-unselectable ol-control";d.appendChild(c);b=a.render?a.render:Dg;this.l=a.resetNorth?a.resetNorth:void 0;vg.call(this,{element:d,render:b,target:a.target});this.v=void 0!==a.duration?a.duration:250;this.j=void 0!==a.autoHide?a.autoHide:!0;this.o=void 0;this.j&&this.element.classList.add("ol-hidden")}w(Cg,vg);Cg.prototype.D=function(a){a.preventDefault();void 0!==this.l?this.l():(a=this.a.aa())&&void 0!==a.Sa()&&(0<this.v?a.animate({rotation:0,duration:this.v,easing:Oe}):a.ce(0))}; 
     150function Dg(a){if(a=a.frameState){a=a.viewState.rotation;if(a!=this.o){var b="rotate("+a+"rad)";if(this.j){var c=this.element.classList.contains("ol-hidden");c||0!==a?c&&0!==a&&this.element.classList.remove("ol-hidden"):this.element.classList.add("ol-hidden")}this.c.style.msTransform=b;this.c.style.webkitTransform=b;this.c.style.transform=b}this.o=a}};function Eg(a){a=a?a:{};var b=void 0!==a.className?a.className:"ol-zoom",c=void 0!==a.delta?a.delta:1,d=void 0!==a.zoomInLabel?a.zoomInLabel:"+",e=void 0!==a.zoomOutLabel?a.zoomOutLabel:"\u2212",f=void 0!==a.zoomInTipLabel?a.zoomInTipLabel:"Zoom in",g=void 0!==a.zoomOutTipLabel?a.zoomOutTipLabel:"Zoom out",h=document.createElement("button");h.className=b+"-in";h.setAttribute("type","button");h.title=f;h.appendChild("string"===typeof d?document.createTextNode(d):d);y(h,"click",Eg.prototype.j.bind(this, 
     151c));d=document.createElement("button");d.className=b+"-out";d.setAttribute("type","button");d.title=g;d.appendChild("string"===typeof e?document.createTextNode(e):e);y(d,"click",Eg.prototype.j.bind(this,-c));c=document.createElement("div");c.className=b+" ol-unselectable ol-control";c.appendChild(h);c.appendChild(d);vg.call(this,{element:c,target:a.target});this.c=void 0!==a.duration?a.duration:250}w(Eg,vg); 
     152Eg.prototype.j=function(a,b){b.preventDefault();if(b=this.a.aa()){var c=b.Pa();c&&(a=b.constrainResolution(c,a),0<this.c?(b.Ac()&&b.rd(),b.animate({resolution:a,duration:this.c,easing:Oe})):b.gd(a))}};function Fg(a){a=a?a:{};var b=new B;(void 0!==a.zoom?a.zoom:1)&&b.push(new Eg(a.zoomOptions));(void 0!==a.rotate?a.rotate:1)&&b.push(new Cg(a.rotateOptions));(void 0!==a.attribution?a.attribution:1)&&b.push(new zg(a.attributionOptions));return b};function Gg(a,b,c){this.i=a;this.c=b;this.f=c;this.b=[];this.a=this.g=0}function Hg(a){a.b.length=0;a.g=0;a.a=0}function Ig(a){if(6>a.b.length)return!1;var b=Date.now()-a.f,c=a.b.length-3;if(a.b[c+2]<b)return!1;for(var d=c-3;0<d&&a.b[d+2]>b;)d-=3;b=a.b[c+2]-a.b[d+2];if(b<1E3/60)return!1;var e=a.b[c]-a.b[d];c=a.b[c+1]-a.b[d+1];a.g=Math.atan2(c,e);a.a=Math.sqrt(e*e+c*c)/b;return a.a>a.c};function Jg(a){Vc.call(this);this.v=null;this.Ha(!0);this.handleEvent=a.handleEvent}w(Jg,Vc);Jg.prototype.c=function(){return this.get("active")};Jg.prototype.i=function(){return this.v};Jg.prototype.Ha=function(a){this.set("active",a)};Jg.prototype.setMap=function(a){this.v=a};function Kg(a,b,c,d){if(void 0!==b){var e=a.Sa(),f=a.xa();void 0!==e&&f&&0<d?a.animate({rotation:b,anchor:c,duration:d,easing:Oe}):a.rotate(b,c)}} 
     153function Lg(a,b,c,d){var e=a.Pa();b=a.constrainResolution(e,b,0);if(void 0!==b){var f=a.j;b=pa(b,a.i||f[f.length-1],a.a||f[0])}c&&void 0!==b&&b!==e&&(f=a.xa(),c=cg(a,b,c),c=a.Sc(c),c=[(b*f[0]-e*c[0])/(b-e),(b*f[1]-e*c[1])/(b-e)]);Tg(a,b,c,d)}function Tg(a,b,c,d){if(b){var e=a.Pa(),f=a.xa();void 0!==e&&f&&b!==e&&d?a.animate({resolution:b,anchor:c,duration:d,easing:Oe}):(c&&(c=cg(a,b,c),a.ub(c)),a.gd(b))}};function Ug(a){a=a?a:{};this.a=a.delta?a.delta:1;Jg.call(this,{handleEvent:Vg});this.f=void 0!==a.duration?a.duration:250}w(Ug,Jg);function Vg(a){var b=!1,c=a.originalEvent;if("dblclick"==a.type){b=a.coordinate;c=c.shiftKey?-this.a:this.a;var d=a.map.aa();Lg(d,c,b,this.f);a.preventDefault();b=!0}return!b};function Wg(a){a=a.originalEvent;return a.altKey&&!(a.metaKey||a.ctrlKey)&&!a.shiftKey}function Xg(a){a=a.originalEvent;return a.altKey&&!(a.metaKey||a.ctrlKey)&&a.shiftKey}function Yg(a){a=a.originalEvent;return 0==a.button&&!(ld&&md&&a.ctrlKey)}function Zg(a){return"pointermove"==a.type}function $g(a){return"singleclick"==a.type}function ah(a){a=a.originalEvent;return!a.altKey&&!(a.metaKey||a.ctrlKey)&&!a.shiftKey} 
     154function bh(a){a=a.originalEvent;return!a.altKey&&!(a.metaKey||a.ctrlKey)&&a.shiftKey}function ch(a){a=a.originalEvent.target.tagName;return"INPUT"!==a&&"SELECT"!==a&&"TEXTAREA"!==a}function dh(a){oa(a.b,56);return"mouse"==a.b.pointerType}function eh(a){a=a.b;return a.isPrimary&&0===a.button};function fh(a){a=a?a:{};Jg.call(this,{handleEvent:a.handleEvent?a.handleEvent:gh});this.ck=a.handleDownEvent?a.handleDownEvent:Se;this.Ek=a.handleDragEvent?a.handleDragEvent:ea;this.Kk=a.handleMoveEvent?a.handleMoveEvent:ea;this.Lk=a.handleUpEvent?a.handleUpEvent:Se;this.D=!1;this.$={};this.l=[]}w(fh,Jg);function hh(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]} 
     155function gh(a){if(!(a instanceof Ad))return!0;var b=!1,c=a.type;if("pointerdown"===c||"pointerdrag"===c||"pointerup"===c){c=a.b;var d=c.pointerId.toString();"pointerup"==a.type?delete this.$[d]:"pointerdown"==a.type?this.$[d]=c:d in this.$&&(this.$[d]=c);this.l=mb(this.$)}this.D?"pointerdrag"==a.type?this.Ek(a):"pointerup"==a.type&&(this.D=this.Lk(a)&&0<this.l.length):"pointerdown"==a.type?(this.D=a=this.ck(a),b=this.jd(a)):"pointermove"==a.type&&this.Kk(a);return!b}fh.prototype.jd=function(a){return a};function ih(a){fh.call(this,{handleDownEvent:jh,handleDragEvent:kh,handleUpEvent:lh});a=a?a:{};this.a=a.kinetic;this.f=null;this.o=a.condition?a.condition:ah;this.j=!1}w(ih,fh);function kh(a){var b=this.l,c=hh(b);if(b.length==this.s){if(this.a&&this.a.b.push(c[0],c[1],Date.now()),this.f){var d=this.f[0]-c[0],e=c[1]-this.f[1];a=a.map.aa();var f=a.getState();d=[d,e];Ge(d,f.resolution);Fe(d,f.rotation);ze(d,f.center);d=a.Sc(d);a.ub(d)}}else this.a&&Hg(this.a);this.f=c;this.s=b.length} 
     156function lh(a){var b=a.map;a=b.aa();if(0===this.l.length){if(!this.j&&this.a&&Ig(this.a)){var c=this.a;c=(c.c-c.a)/c.i;var d=this.a.g,e=a.xa();e=b.Ia(e);b=b.Ra([e[0]-c*Math.cos(d),e[1]-c*Math.sin(d)]);a.animate({center:a.Sc(b),duration:500,easing:Oe})}bg(a,1,-1);return!1}this.a&&Hg(this.a);this.f=null;return!0} 
     157function jh(a){if(0<this.l.length&&this.o(a)){var b=a.map.aa();this.f=null;this.D||bg(b,1,1);b.Ac()&&b.ub(a.frameState.viewState.center);this.a&&Hg(this.a);this.j=1<this.l.length;return!0}return!1}ih.prototype.jd=Se;function mh(a){a=a?a:{};fh.call(this,{handleDownEvent:nh,handleDragEvent:oh,handleUpEvent:ph});this.f=a.condition?a.condition:Xg;this.a=void 0;this.j=void 0!==a.duration?a.duration:250}w(mh,fh);function oh(a){if(dh(a)){var b=a.map,c=b.aa();if(c.l.rotation!==re){b=b.Cb();a=a.pixel;a=Math.atan2(b[1]/2-a[1],a[0]-b[0]/2);if(void 0!==this.a){b=a-this.a;var d=c.Sa();Kg(c,d-b)}this.a=a}}} 
     158function ph(a){if(!dh(a))return!0;a=a.map.aa();bg(a,1,-1);var b=a.Sa(),c=this.j;b=a.constrainRotation(b,0);Kg(a,b,void 0,c);return!1}function nh(a){return dh(a)&&Yg(a)&&this.f(a)?(bg(a.map.aa(),1,1),this.a=void 0,!0):!1}mh.prototype.jd=Se;function qh(a){this.Uc=null;this.a=document.createElement("div");this.a.style.position="absolute";this.a.className="ol-box "+a;this.g=this.c=this.b=null}w(qh,Oc);qh.prototype.ia=function(){this.setMap(null)};function rh(a){var b=a.c,c=a.g;a=a.a.style;a.left=Math.min(b[0],c[0])+"px";a.top=Math.min(b[1],c[1])+"px";a.width=Math.abs(c[0]-b[0])+"px";a.height=Math.abs(c[1]-b[1])+"px"} 
     159qh.prototype.setMap=function(a){if(this.b){this.b.o.removeChild(this.a);var b=this.a.style;b.left=b.top=b.width=b.height="inherit"}(this.b=a)&&this.b.o.appendChild(this.a)};function sh(a){var b=a.c,c=a.g;b=[b,[b[0],c[1]],c,[c[0],b[1]]].map(a.b.Ra,a.b);b[4]=b[0].slice();a.Uc?a.Uc.na([b]):a.Uc=new D([b])}qh.prototype.U=function(){return this.Uc};function th(a){fh.call(this,{handleDownEvent:uh,handleDragEvent:vh,handleUpEvent:wh});a=a?a:{};this.a=new qh(a.className||"ol-dragbox");this.o=void 0!==a.minArea?a.minArea:64;this.f=null;this.C=a.condition?a.condition:Re;this.s=a.boxEndCondition?a.boxEndCondition:xh}w(th,fh);function xh(a,b,c){a=c[0]-b[0];b=c[1]-b[1];return a*a+b*b>=this.o}function vh(a){if(dh(a)){var b=this.a,c=a.pixel;b.c=this.f;b.g=c;sh(b);rh(b);this.b(new yh(zh,a.coordinate,a))}}th.prototype.U=function(){return this.a.U()}; 
     160th.prototype.j=ea;function wh(a){if(!dh(a))return!0;this.a.setMap(null);this.s(a,this.f,a.pixel)&&(this.j(a),this.b(new yh(Ah,a.coordinate,a)));return!1}function uh(a){if(dh(a)&&Yg(a)&&this.C(a)){this.f=a.pixel;this.a.setMap(a.map);var b=this.a,c=this.f;b.c=this.f;b.g=c;sh(b);rh(b);this.b(new yh(Bh,a.coordinate,a));return!0}return!1}var Bh="boxstart",zh="boxdrag",Ah="boxend";function yh(a,b,c){Qc.call(this,a);this.coordinate=b;this.mapBrowserEvent=c}w(yh,Qc);function Ch(a){a=a?a:{};var b=a.condition?a.condition:bh;this.B=void 0!==a.duration?a.duration:200;this.T=void 0!==a.out?a.out:!1;th.call(this,{condition:b,className:a.className||"ol-dragzoom"})}w(Ch,th); 
     161Ch.prototype.j=function(){var a=this.v,b=a.aa(),c=a.Cb(),d=this.U().G();if(this.T){var e=b.qd(c);d=[a.Ia(Wa(d)),a.Ia(Za(d))];a=Oa(void 0);var f;var g=0;for(f=d.length;g<f;++g)Ea(a,d[g]);d=b.Je(a,c);ib(e,1/d);d=e}c=b.constrainResolution(b.Je(d,c));e=eb(d);e=b.Sc(e);b.animate({resolution:c,center:e,duration:this.B,easing:Oe})};function Dh(a){Jg.call(this,{handleEvent:Eh});a=a||{};this.a=function(a){return ah(a)&&ch(a)};this.f=void 0!==a.condition?a.condition:this.a;this.j=void 0!==a.duration?a.duration:100;this.l=void 0!==a.pixelDelta?a.pixelDelta:128}w(Dh,Jg); 
     162function Eh(a){var b=!1;if("keydown"==a.type){var c=a.originalEvent.keyCode;if(this.f(a)&&(40==c||37==c||39==c||38==c)){b=a.map.aa();var d=b.Pa()*this.l,e=0,f=0;40==c?f=-d:37==c?e=-d:39==c?e=d:f=d;d=[e,f];Fe(d,b.Sa());c=this.j;if(e=b.xa())d=b.Sc([e[0]+d[0],e[1]+d[1]]),c?b.animate({duration:c,easing:Qe,center:d}):b.ub(d);a.preventDefault();b=!0}}return!b};function Fh(a){Jg.call(this,{handleEvent:Gh});a=a?a:{};this.f=a.condition?a.condition:ch;this.a=a.delta?a.delta:1;this.j=void 0!==a.duration?a.duration:100}w(Fh,Jg);function Gh(a){var b=!1;if("keydown"==a.type||"keypress"==a.type){var c=a.originalEvent.charCode;!this.f(a)||43!=c&&45!=c||(b=43==c?this.a:-this.a,c=a.map.aa(),Lg(c,b,void 0,this.j),a.preventDefault(),b=!0)}return!b};function Hh(a){Jg.call(this,{handleEvent:Ih});a=a||{};this.j=0;this.D=void 0!==a.duration?a.duration:250;this.$=void 0!==a.timeout?a.timeout:80;this.C=void 0!==a.useAnchor?a.useAnchor:!0;this.O=a.constrainResolution||!1;this.a=null;this.s=this.l=this.o=this.f=void 0}w(Hh,Jg); 
     163function Ih(a){var b=a.type;if("wheel"!==b&&"mousewheel"!==b)return!0;a.preventDefault();b=a.map;var c=a.originalEvent;this.C&&(this.a=a.coordinate);if("wheel"==a.type){var d=c.deltaY;jd&&c.deltaMode===WheelEvent.DOM_DELTA_PIXEL&&(d/=nd);c.deltaMode===WheelEvent.DOM_DELTA_LINE&&(d*=40)}else"mousewheel"==a.type&&(d=-c.wheelDeltaY,kd&&(d/=3));if(0===d)return!1;a=Date.now();void 0===this.f&&(this.f=a);if(!this.l||400<a-this.f)this.l=4>Math.abs(d)?Ph:Qh;if(this.l===Ph){b=b.aa();this.s?clearTimeout(this.s): 
     164bg(b,1,1);this.s=setTimeout(this.B.bind(this),400);c=b.Pa()*Math.pow(2,d/300);var e=b.i,f=b.a,g=0;c<e?(c=Math.max(c,e/1.5),g=1):c>f&&(c=Math.min(c,1.5*f),g=-1);if(this.a){var h=cg(b,c,this.a);b.ub(b.Sc(h))}b.gd(c);0===g&&this.O&&b.animate({resolution:b.constrainResolution(c,0<d?-1:1),easing:Oe,anchor:this.a,duration:this.D});0<g?b.animate({resolution:e,easing:Oe,anchor:this.a,duration:500}):0>g&&b.animate({resolution:f,easing:Oe,anchor:this.a,duration:500});this.f=a;return!1}this.j+=d;d=Math.max(this.$- 
     165(a-this.f),0);clearTimeout(this.o);this.o=setTimeout(this.T.bind(this,b),d);return!1}Hh.prototype.B=function(){this.s=void 0;bg(this.v.aa(),1,-1)};Hh.prototype.T=function(a){a=a.aa();a.Ac()&&a.rd();Lg(a,-pa(this.j,-1,1),this.a,this.D);this.l=void 0;this.j=0;this.a=null;this.o=this.f=void 0};Hh.prototype.V=function(a){this.C=a;a||(this.a=null)};var Ph="trackpad",Qh="wheel";function Rh(a){fh.call(this,{handleDownEvent:Sh,handleDragEvent:Th,handleUpEvent:Uh});a=a||{};this.f=null;this.j=void 0;this.a=!1;this.s=0;this.C=void 0!==a.threshold?a.threshold:.3;this.o=void 0!==a.duration?a.duration:250}w(Rh,fh); 
     166function Th(a){var b=0,c=this.l[0],d=this.l[1];c=Math.atan2(d.clientY-c.clientY,d.clientX-c.clientX);void 0!==this.j&&(b=c-this.j,this.s+=b,!this.a&&Math.abs(this.s)>this.C&&(this.a=!0));this.j=c;a=a.map;c=a.aa();if(c.l.rotation!==re){d=a.a.getBoundingClientRect();var e=hh(this.l);e[0]-=d.left;e[1]-=d.top;this.f=a.Ra(e);this.a&&(d=c.Sa(),a.render(),Kg(c,d+b,this.f))}} 
     167function Uh(a){if(2>this.l.length){a=a.map.aa();bg(a,1,-1);if(this.a){var b=a.Sa(),c=this.f,d=this.o;b=a.constrainRotation(b,0);Kg(a,b,c,d)}return!1}return!0}function Sh(a){return 2<=this.l.length?(a=a.map,this.f=null,this.j=void 0,this.a=!1,this.s=0,this.D||bg(a.aa(),1,1),!0):!1}Rh.prototype.jd=Se;function Vh(a){fh.call(this,{handleDownEvent:Wh,handleDragEvent:Xh,handleUpEvent:Yh});a=a?a:{};this.s=a.constrainResolution||!1;this.f=null;this.o=void 0!==a.duration?a.duration:400;this.a=void 0;this.j=1}w(Vh,fh); 
     168function Xh(a){var b=1,c=this.l[0],d=this.l[1],e=c.clientX-d.clientX;c=c.clientY-d.clientY;e=Math.sqrt(e*e+c*c);void 0!==this.a&&(b=this.a/e);this.a=e;a=a.map;e=a.aa();d=e.Pa();var f=e.a,g=e.i;c=d*b;c>f?(b=f/d,c=f):c<g&&(b=g/d,c=g);1!=b&&(this.j=b);b=a.a.getBoundingClientRect();d=hh(this.l);d[0]-=b.left;d[1]-=b.top;this.f=a.Ra(d);a.render();Tg(e,c,this.f)} 
     169function Yh(a){if(2>this.l.length){a=a.map.aa();bg(a,1,-1);var b=a.Pa();if(this.s||b<a.i||b>a.a){var c=this.f,d=this.o;b=a.constrainResolution(b,0,this.j-1);Tg(a,b,c,d)}return!1}return!0}function Wh(a){return 2<=this.l.length?(a=a.map,this.f=null,this.a=void 0,this.j=1,this.D||bg(a.aa(),1,1),!0):!1}Vh.prototype.jd=Se;function Zh(a){a=a?a:{};var b=new B,c=new Gg(-.005,.05,100);(void 0!==a.altShiftDragRotate?a.altShiftDragRotate:1)&&b.push(new mh);(void 0!==a.doubleClickZoom?a.doubleClickZoom:1)&&b.push(new Ug({delta:a.zoomDelta,duration:a.zoomDuration}));(void 0!==a.dragPan?a.dragPan:1)&&b.push(new ih({kinetic:c}));(void 0!==a.pinchRotate?a.pinchRotate:1)&&b.push(new Rh);(void 0!==a.pinchZoom?a.pinchZoom:1)&&b.push(new Vh({constrainResolution:a.constrainResolution,duration:a.zoomDuration}));if(void 0!==a.keyboard? 
     170a.keyboard:1)b.push(new Dh),b.push(new Fh({delta:a.zoomDelta,duration:a.zoomDuration}));(void 0!==a.mouseWheelZoom?a.mouseWheelZoom:1)&&b.push(new Hh({constrainResolution:a.constrainResolution,duration:a.zoomDuration}));(void 0!==a.shiftDragZoom?a.shiftDragZoom:1)&&b.push(new Ch({duration:a.zoomDuration}));return b};function $h(a,b,c,d){Sc.call(this);this.extent=a;this.a=c;this.resolution=b;this.state=d}w($h,Sc);$h.prototype.u=function(){this.b("change")};$h.prototype.G=function(){return this.extent};$h.prototype.getState=function(){return this.state};function ai(a,b,c,d,e){this.c=void 0!==e?e:null;$h.call(this,a,b,c,void 0!==e?0:2);this.g=d}w(ai,$h);ai.prototype.i=function(a){this.state=a?3:2;this.u()};ai.prototype.load=function(){0==this.state&&(this.state=1,this.u(),this.c(this.i.bind(this)))};ai.prototype.Y=function(){return this.g};function bi(a,b,c,d,e){Qc.call(this,a);this.vectorContext=b;this.frameState=c;this.context=d;this.glContext=e}w(bi,Qc);function ci(a){Sc.call(this);this.highWaterMark=void 0!==a?a:2048;this.i=0;this.a={};this.c=this.g=null}w(ci,Sc);function di(a){return a.i>a.highWaterMark}k=ci.prototype;k.clear=function(){this.i=0;this.a={};this.c=this.g=null;this.b("clear")};k.forEach=function(a,b){for(var c=this.g;c;)a.call(b,c.Pc,c.jc,this),c=c.kb}; 
     171k.get=function(a){a=this.a[a];oa(void 0!==a,15);if(a===this.c)return a.Pc;a===this.g?(this.g=this.g.kb,this.g.Pb=null):(a.kb.Pb=a.Pb,a.Pb.kb=a.kb);a.kb=null;a.Pb=this.c;this.c=this.c.kb=a;return a.Pc};k.remove=function(a){var b=this.a[a];oa(void 0!==b,15);if(b===this.c){if(this.c=b.Pb)this.c.kb=null}else if(b===this.g){if(this.g=b.kb)this.g.Pb=null}else b.kb.Pb=b.Pb,b.Pb.kb=b.kb;delete this.a[a];--this.i;return b.Pc}; 
     172k.pop=function(){var a=this.g;delete this.a[a.jc];a.kb&&(a.kb.Pb=null);this.g=a.kb;this.g||(this.c=null);--this.i;return a.Pc};k.replace=function(a,b){this.get(a);this.a[a].Pc=b};k.set=function(a,b){oa(!(a in this.a),16);b={jc:a,kb:null,Pb:this.c,Pc:b};this.c?this.c.kb=b:this.g=b;this.c=b;this.a[a]=b;++this.i};var ei=[0,0,0,1],fi=[],gi=[0,0,0,1],hi=[0,0,0,0],ii=new ci,ji={},ki=null,li={},ni=function(){function a(a){var b=mi();b.font="32px monospace";f=b.measureText("wmytzilWMYTZIL@#/&?$%10").width;var c=!0;"monospace"!=a&&(b.font="32px "+a+",monospace",c=b.measureText("wmytzilWMYTZIL@#/&?$%10").width!=f);return c}function b(){var b=!0,f;for(f in c)60>c[f]&&(a(f)?(c[f]=60,lb(li),ki=null,d.clear()):(++c[f],b=!1));b&&(window.clearInterval(e),e=void 0)}var c=ji,d=ii,e,f;return function(d){if(d=wg(d))for(var f= 
     1730,g=d.length;f<g;++f){var m=d[f];m in c||(c[m]=60,a(m)||(c[m]=0,void 0===e&&(e=window.setInterval(b,32))))}}}();function mi(){var a=ki;a||(a=ki=hg(1,1));return a} 
     174var oi=function(){var a;return function(b){var c=li[b];void 0==c&&(a||(a=document.createElement("span"),a.textContent="M",a.style.margin=a.style.padding="0 !important",a.style.position="absolute !important",a.style.left="-99999px !important"),a.style.font=b,document.body.appendChild(a),c=li[b]=a.offsetHeight,document.body.removeChild(a));return c}}();function pi(a,b){var c=mi();a!=c.font&&(c.font=a);return c.measureText(b).width} 
     175function qi(a,b,c,d){0!==b&&(a.translate(c,d),a.rotate(b),a.translate(-c,-d))}var ri=We();function si(a,b,c,d,e,f,g,h,l,m,n){if(1!=c){var p=a.globalAlpha;a.globalAlpha=p*c}b&&a.setTransform.apply(a,b);a.drawImage(d,e,f,g,h,l,m,g*n,h*n);p&&(a.globalAlpha=p);b&&a.setTransform.apply(a,ri)};var ti=/^#(?:[0-9a-f]{3,4}){1,2}$/i,ui=/^([a-z]*)$/i;function vi(a){return Array.isArray(a)?a:wi(a)}function xi(a){if("string"!==typeof a){var b=a[0];b!=(b|0)&&(b=b+.5|0);var c=a[1];c!=(c|0)&&(c=c+.5|0);var d=a[2];d!=(d|0)&&(d=d+.5|0);a="rgba("+b+","+c+","+d+","+(void 0===a[3]?1:a[3])+")"}return a} 
     176var wi=function(){var a={},b=0;return function(c){if(a.hasOwnProperty(c))var d=a[c];else{if(1024<=b){d=0;for(var e in a)0===(d++&3)&&(delete a[e],--b)}d=c;ui.exec(d)&&(e=document.createElement("div"),e.style.color=d,document.body.appendChild(e),d=getComputedStyle(e).color,document.body.removeChild(e));if(ti.exec(d)){e=d.length-1;var f=4>=e?1:2;var g=4===e||8===e;e=parseInt(d.substr(1+0*f,f),16);var h=parseInt(d.substr(1+1*f,f),16);var l=parseInt(d.substr(1+2*f,f),16);d=g?parseInt(d.substr(1+3*f,f), 
     17716):255;1==f&&(e=(e<<4)+e,h=(h<<4)+h,l=(l<<4)+l,g&&(d=(d<<4)+d));f=[e,h,l,d/255]}else 0==d.indexOf("rgba(")?(d=d.slice(5,-1).split(",").map(Number),f=yi(d)):0==d.indexOf("rgb(")?(d=d.slice(4,-1).split(",").map(Number),d.push(1),f=yi(d)):oa(!1,14);d=f;a[c]=d;++b}return d}}();function yi(a){var b=[];b[0]=pa(a[0]+.5|0,0,255);b[1]=pa(a[1]+.5|0,0,255);b[2]=pa(a[2]+.5|0,0,255);b[3]=pa(a[3],0,1);return b};function zi(a){return"string"===typeof a||a instanceof CanvasPattern||a instanceof CanvasGradient?a:xi(a)};function Ai(){}k=Ai.prototype;k.Hh=function(){};k.Hb=function(){};k.Dd=function(){};k.cc=function(){};k.Ce=function(){};k.De=function(){};k.uc=function(){};k.vc=function(){};k.wc=function(){};k.xc=function(){};k.yc=function(){};k.zc=function(){};k.Wb=function(){};k.Oa=function(){};k.Zb=function(){};k.nb=function(){};function Bi(a,b,c,d,e){this.g=a;this.f=b;this.c=c;this.N=d;this.ob=e;this.M=this.b=this.a=this.Wa=this.O=this.T=null;this.$=this.V=this.v=this.B=this.C=this.D=0;this.ca=!1;this.i=this.ab=0;this.ra=!1;this.oa=0;this.ta="";this.Ub=this.ua=0;this.Ea=!1;this.s=this.La=0;this.qa=this.l=this.j=null;this.o=[];this.bb=We()}w(Bi,Ai); 
     178function Ci(a,b,c){if(a.M){b=Te(b,0,c,2,a.N,a.o);c=a.g;var d=a.bb,e=c.globalAlpha;1!=a.v&&(c.globalAlpha=e*a.v);var f=a.ab;a.ca&&(f+=a.ob);var g;var h=0;for(g=b.length;h<g;h+=2){var l=b[h]-a.D,m=b[h+1]-a.C;a.ra&&(l=Math.round(l),m=Math.round(m));if(0!==f||1!=a.i){var n=l+a.D,p=m+a.C;ef(d,n,p,a.i,a.i,f,-n,-p);c.setTransform.apply(c,d)}c.drawImage(a.M,a.V,a.$,a.oa,a.B,l,m,a.oa,a.B)}0===f&&1==a.i||c.setTransform(1,0,0,1,0,0);1!=a.v&&(c.globalAlpha=e)}} 
     179function Di(a,b,c,d){var e=0;if(a.qa&&""!==a.ta){a.j&&Ei(a,a.j);a.l&&Fi(a,a.l);var f=a.qa,g=a.g,h=a.Wa,l=f.textAlign?f.textAlign:"center";h?(h.font!=f.font&&(h.font=g.font=f.font),h.textAlign!=l&&(h.textAlign=l),h.textBaseline!=f.textBaseline&&(h.textBaseline=g.textBaseline=f.textBaseline)):(g.font=f.font,g.textAlign=l,g.textBaseline=f.textBaseline,a.Wa={font:f.font,textAlign:l,textBaseline:f.textBaseline});b=Te(b,e,c,d,a.N,a.o);f=a.g;g=a.La;for(a.Ea&&(g+=a.ob);e<c;e+=d){h=b[e]+a.ua;l=b[e+1]+a.Ub; 
     180if(0!==g||1!=a.s){var m=ef(a.bb,h,l,a.s,a.s,g,-h,-l);f.setTransform.apply(f,m)}a.l&&f.strokeText(a.ta,h,l);a.j&&f.fillText(a.ta,h,l)}0===g&&1==a.s||f.setTransform(1,0,0,1,0,0)}}function Gi(a,b,c,d,e,f){var g=a.g;a=Te(b,c,d,e,a.N,a.o);g.moveTo(a[0],a[1]);b=a.length;f&&(b-=2);for(c=2;c<b;c+=2)g.lineTo(a[c],a[c+1]);f&&g.closePath();return d}function Hi(a,b,c,d,e){var f;var g=0;for(f=d.length;g<f;++g)c=Gi(a,b,c,d[g],e,!0);return c}k=Bi.prototype; 
     181k.cc=function(a){if(hb(this.c,a.G())){if(this.a||this.b){this.a&&Ei(this,this.a);this.b&&Fi(this,this.b);var b=this.N;var c=this.o,d=a.da();b=d?Te(d,0,d.length,a.pa(),b,c):null;c=b[2]-b[0];d=b[3]-b[1];c=Math.sqrt(c*c+d*d);d=this.g;d.beginPath();d.arc(b[0],b[1],c,0,2*Math.PI);this.a&&d.fill();this.b&&d.stroke()}""!==this.ta&&Di(this,a.xa(),2,2)}};k.Dd=function(a){this.Oa(a.Fa(),a.Ga());this.Zb(a.Y());this.nb(a.Ka())}; 
     182k.Hb=function(a){switch(a.S()){case "Point":this.yc(a);break;case "LineString":this.uc(a);break;case "Polygon":this.zc(a);break;case "MultiPoint":this.wc(a);break;case "MultiLineString":this.vc(a);break;case "MultiPolygon":this.xc(a);break;case "GeometryCollection":this.De(a);break;case "Circle":this.cc(a)}};k.Ce=function(a,b){(a=(0,b.cb)(a))&&hb(this.c,a.G())&&(this.Dd(b),this.Hb(a))};k.De=function(a){a=a.a;var b;var c=0;for(b=a.length;c<b;++c)this.Hb(a[c])}; 
     183k.yc=function(a){var b=a.da();a=a.pa();this.M&&Ci(this,b,b.length);""!==this.ta&&Di(this,b,b.length,a)};k.wc=function(a){var b=a.da();a=a.pa();this.M&&Ci(this,b,b.length);""!==this.ta&&Di(this,b,b.length,a)};k.uc=function(a){if(hb(this.c,a.G())){if(this.b){Fi(this,this.b);var b=this.g,c=a.da();b.beginPath();Gi(this,c,0,c.length,a.pa(),!1);b.stroke()}""!==this.ta&&(a=a.Fe(),Di(this,a,2,2))}}; 
     184k.vc=function(a){var b=a.G();if(hb(this.c,b)){if(this.b){Fi(this,this.b);b=this.g;var c=a.da(),d=0,e=a.pb(),f=a.pa();b.beginPath();var g;var h=0;for(g=e.length;h<g;++h)d=Gi(this,c,d,e[h],f,!1);b.stroke()}""!==this.ta&&(a=a.Ge(),Di(this,a,a.length,2))}};k.zc=function(a){if(hb(this.c,a.G())){if(this.b||this.a){this.a&&Ei(this,this.a);this.b&&Fi(this,this.b);var b=this.g;b.beginPath();Hi(this,a.Xb(),0,a.pb(),a.pa());this.a&&b.fill();this.b&&b.stroke()}""!==this.ta&&(a=a.Td(),Di(this,a,2,2))}}; 
     185k.xc=function(a){if(hb(this.c,a.G())){if(this.b||this.a){this.a&&Ei(this,this.a);this.b&&Fi(this,this.b);var b=this.g,c=Ii(a),d=0,e=a.td(),f=a.pa(),g;b.beginPath();var h=0;for(g=e.length;h<g;++h)d=Hi(this,c,d,e[h],f);this.a&&b.fill();this.b&&b.stroke()}""!==this.ta&&(a=Ji(a),Di(this,a,a.length,2))}};function Ei(a,b){var c=a.g,d=a.T;d?d.fillStyle!=b.fillStyle&&(d.fillStyle=c.fillStyle=b.fillStyle):(c.fillStyle=b.fillStyle,a.T={fillStyle:b.fillStyle})} 
     186function Fi(a,b){var c=a.g,d=a.O;d?(d.lineCap!=b.lineCap&&(d.lineCap=c.lineCap=b.lineCap),od&&(jc(d.lineDash,b.lineDash)||c.setLineDash(d.lineDash=b.lineDash),d.lineDashOffset!=b.lineDashOffset&&(d.lineDashOffset=c.lineDashOffset=b.lineDashOffset)),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)): 
     187(c.lineCap=b.lineCap,od&&(c.setLineDash(b.lineDash),c.lineDashOffset=b.lineDashOffset),c.lineJoin=b.lineJoin,c.lineWidth=b.lineWidth,c.miterLimit=b.miterLimit,c.strokeStyle=b.strokeStyle,a.O={lineCap:b.lineCap,lineDash:b.lineDash,lineDashOffset:b.lineDashOffset,lineJoin:b.lineJoin,lineWidth:b.lineWidth,miterLimit:b.miterLimit,strokeStyle:b.strokeStyle})} 
     188k.Oa=function(a,b){a?(a=a.b,this.a={fillStyle:zi(a?a:ei)}):this.a=null;if(b){a=b.a;var c=b.f,d=b.g,e=b.i,f=b.j,g=b.c;b=b.l;this.b={lineCap:void 0!==c?c:"round",lineDash:d?d:fi,lineDashOffset:e?e:0,lineJoin:void 0!==f?f:"round",lineWidth:this.f*(void 0!==g?g:1),miterLimit:void 0!==b?b:10,strokeStyle:zi(a?a:gi)}}else this.b=null}; 
     189k.Zb=function(a){if(a){var b=a.Vc(),c=a.Y(1),d=a.bd(),e=a.oc();this.D=b[0];this.C=b[1];this.B=e[1];this.M=c;this.v=a.i;this.V=d[0];this.$=d[1];this.ca=a.s;this.ab=a.f;this.i=a.a*this.f;this.ra=a.v;this.oa=e[0]}else this.M=null}; 
     190k.nb=function(a){if(a){var b=a.Fa();b?(b=b.b,this.j={fillStyle:zi(b?b:ei)}):this.j=null;var c=a.Ga();if(c){b=c.a;var d=c.f,e=c.g,f=c.i,g=c.j,h=c.c;c=c.l;this.l={lineCap:void 0!==d?d:"round",lineDash:e?e:fi,lineDashOffset:f?f:0,lineJoin:void 0!==g?g:"round",lineWidth:void 0!==h?h:1,miterLimit:void 0!==c?c:10,strokeStyle:zi(b?b:gi)}}else this.l=null;b=a.a;d=a.g;e=a.c;f=a.l;g=a.i;h=a.b;c=a.Ka();var l=a.f;a=a.j;this.qa={font:void 0!==b?b:"10px sans-serif",textAlign:void 0!==l?l:"center",textBaseline:void 0!== 
     191a?a:"middle"};this.ta=void 0!==c?c:"";this.ua=void 0!==d?this.f*d:0;this.Ub=void 0!==e?this.f*e:0;this.Ea=void 0!==f?f:!1;this.La=void 0!==g?g:0;this.s=this.f*(void 0!==h?h:1)}else this.ta=""};function Ki(a){Uc.call(this);this.a=a}w(Ki,Uc);Ki.prototype.wa=ea;Ki.prototype.cf=Se;Ki.prototype.Rf=function(a,b,c){return function(d,e){return Li(a,b,d,e,function(a){c[d]||(c[d]={});c[d][a.ya.toString()]=a})}};Ki.prototype.$=function(a){2===a.target.getState()&&Mi(this)};function Si(a,b){var c=b.getState();2!=c&&3!=c&&y(b,"change",a.$,a);0==c&&(b.load(),c=b.getState());return 2==c}function Mi(a){var b=a.a;b.Jb()&&"ready"==b.hg()&&a.u()} 
     192function Ti(a,b){b.cj()&&a.postRenderFunctions.push(function(a,b,e){b=x(a).toString();b in e.usedTiles&&a.sd(e.viewState.projection,e.usedTiles[b])}.bind(null,b))}function Ui(a,b){b=b.T;void 0!==b&&("string"===typeof b?a.logos[b]="":b&&(oa("string"==typeof b.href,44),oa("string"==typeof b.src,45),a.logos[b.src]=b.href))} 
     193function Vi(a,b,c,d){b=x(b).toString();c=c.toString();b in a?c in a[b]?(a=a[b][c],d.fa<a.fa&&(a.fa=d.fa),d.la>a.la&&(a.la=d.la),d.ea<a.ea&&(a.ea=d.ea),d.ka>a.ka&&(a.ka=d.ka)):a[b][c]=d:(a[b]={},a[b][c]=d)} 
     194function Wi(a,b,c,d,e,f,g,h,l,m){var n=x(b).toString();n in a.wantedTiles||(a.wantedTiles[n]={});var p=a.wantedTiles[n];a=a.tileQueue;var q,r,u;for(u=c.minZoom;u<=g;++u){var v=tc(c,f,u,v);var z=c.Ta(u);for(q=v.fa;q<=v.la;++q)for(r=v.ea;r<=v.ka;++r)if(g-u<=h){var A=b.ad(u,q,r,d,e);0==A.getState()&&(p[A.lb()]=!0,A.lb()in a.a||a.i([A,n,yc(c,A.ya),z]));void 0!==l&&l.call(m,A)}else b.kh(u,q,r,e)}};function Xi(a){Ki.call(this,a);this.V=We()}w(Xi,Ki);function Yi(a,b,c){var d=b.pixelRatio,e=b.size[0]*d,f=b.size[1]*d,g=b.viewState.rotation,h=$a(c),l=Za(c),m=Ya(c);c=Wa(c);af(b.coordinateToPixelTransform,h);af(b.coordinateToPixelTransform,l);af(b.coordinateToPixelTransform,m);af(b.coordinateToPixelTransform,c);a.save();qi(a,-g,e/2,f/2);a.beginPath();a.moveTo(h[0]*d,h[1]*d);a.lineTo(l[0]*d,l[1]*d);a.lineTo(m[0]*d,m[1]*d);a.lineTo(c[0]*d,c[1]*d);a.clip();qi(a,g,e/2,f/2)} 
     195function Zi(a,b,c,d,e){var f=a.a;if(Tc(f,b)){var g=d.size[0]*d.pixelRatio,h=d.size[1]*d.pixelRatio,l=d.viewState.rotation;qi(c,-l,g/2,h/2);a=void 0!==e?e:$i(a,d,0);f.b(new bi(b,new Bi(c,d.pixelRatio,d.extent,a,d.viewState.rotation),d,c,null));qi(c,l,g/2,h/2)}}Xi.prototype.s=function(a,b,c,d){if(this.wa(a,b,0,Re,this))return c.call(d,this.a,null)};Xi.prototype.pf=function(a,b,c,d){Zi(this,"postcompose",a,b,d)}; 
     196function $i(a,b,c){var d=b.viewState,e=b.pixelRatio,f=e/d.resolution;return ef(a.V,e*b.size[0]/2,e*b.size[1]/2,f,-f,-d.rotation,-d.center[0]+c,-d.center[1])};function aj(a){Xi.call(this,a);this.l=We();this.j=null}w(aj,Xi);aj.prototype.df=function(a,b,c){Zi(this,"precompose",c,a,void 0);var d=this.Y();if(d){var e=b.extent,f=void 0!==e&&!La(e,a.extent)&&hb(e,a.extent);f&&Yi(c,a,e);e=this.v();var g=c.globalAlpha;c.globalAlpha=b.opacity;c.drawImage(d,0,0,+d.width,+d.height,Math.round(e[4]),Math.round(e[5]),Math.round(d.width*e[0]),Math.round(d.height*e[3]));c.globalAlpha=g;f&&c.restore()}this.pf(c,a,b)}; 
     197aj.prototype.wa=function(a,b,c,d,e){var f=this.a;return f.ha().wa(a,b.viewState.resolution,b.viewState.rotation,c,b.skippedFeatureUids,function(a){return d.call(e,a,f)})}; 
     198aj.prototype.s=function(a,b,c,d){if(this.Y()){if(this.a.ha().wa!==ea)return Xi.prototype.s.apply(this,arguments);var e=af(this.l,a.slice());Ge(e,b.viewState.resolution/this.i);this.j||(this.j=hg(1,1));this.j.clearRect(0,0,1,1);this.j.drawImage(this.Y(),e[0],e[1],1,1,0,0,1,1);e=this.j.getImageData(0,0,1,1).data;if(0<e[3])return c.call(d,this.a,e)}};function bj(a){aj.call(this,a);this.M=null;this.f=We();this.o=[];this.c=null}w(bj,aj);bj.handles=function(a,b){return"canvas"===a&&("IMAGE"===b.S()||"VECTOR"===b.S()&&"image"===b.l)};bj.create=function(a,b){var c=new bj(b);if("VECTOR"===b.S())for(var d=0,e=pg.length;d<e;++d){var f=pg[d];f!==bj&&f.handles("canvas",b)&&(f=f.create(a,b),c.c=f)}return c};bj.prototype.Y=function(){return this.M?this.M.Y():null};bj.prototype.v=function(){return this.f}; 
     199bj.prototype.$c=function(a,b){var c=a.pixelRatio,d=a.size,e=a.viewState,f=e.center,g=e.resolution,h=this.a.ha(),l=a.viewHints,m=a.extent;void 0!==b.extent&&(m=gb(m,b.extent));if(!l[0]&&!l[1]&&!bb(m))if(l=e.projection,e=this.c){l=e.context;var n=kb({},a,{size:[cb(m)/g,db(m)/g],viewState:kb({},a.viewState,{rotation:0})}),p=Object.keys(n.skippedFeatureUids).sort();!e.$c(n,b)||!e.j&&jc(p,this.o)||(l.canvas.width=n.size[0]*c,l.canvas.height=n.size[1]*c,e.df(n,b,l),this.M=new ai(m,g,c,l.canvas),this.o= 
     200p)}else(e=h.Y(m,g,c,l))&&Si(this,e)&&(this.M=e);this.M&&(e=this.M,m=e.G(),b=e.resolution,e=e.a,l=c*b/(g*e),m=ef(this.f,c*d[0]/2,c*d[1]/2,l,l,0,e*(m[0]-f[0])/b,e*(f[1]-m[3])/b),ef(this.l,c*d[0]/2-m[4],c*d[1]/2-m[5],c/g,-c/g,0,-f[0],-f[1]),Ui(a,h),this.i=b*c/e);return!!this.M};bj.prototype.wa=function(a,b,c,d,e){return this.c?this.c.wa(a,b,c,d,e):aj.prototype.wa.call(this,a,b,c,d,e)};function cj(){this.b={};this.a=0;this.g=32}cj.prototype.clear=function(){this.b={};this.a=0};function dj(a){if(a.a>a.g){var b=0,c;for(c in a.b){var d=a.b[c];0!==(b++&3)||Tc(d)||(delete a.b[c],--a.a)}}}cj.prototype.get=function(a,b,c){a=b+":"+a+":"+(c?xi(c):"null");return a in this.b?this.b[a]:null};cj.prototype.set=function(a,b,c,d){this.b[b+":"+a+":"+(c?xi(c):"null")]=d;++this.a};cj.prototype.c=function(a){this.g=a;dj(this)};var ej=new cj;function fj(a,b){this.l=b;this.c={};this.v={}}w(fj,Oc);function gj(a){var b=a.viewState,c=a.coordinateToPixelTransform,d=a.pixelToCoordinateTransform;ef(c,a.size[0]/2,a.size[1]/2,1/b.resolution,-1/b.resolution,-b.rotation,-b.center[0],-b.center[1]);ff($e(d,c))}function hj(){dj(ej)}k=fj.prototype; 
     201k.wa=function(a,b,c,d,e,f,g){function h(a,c){var f=x(a).toString(),g=b.layerStates[x(c)].Te;if(!(f in b.skippedFeatureUids)||g)return d.call(e,a,g?c:null)}var l,m=b.viewState,n=m.resolution,p=m.projection;m=a;if(p.g){p=p.G();var q=cb(p),r=a[0];if(r<p[0]||r>p[2])m=[r+q*Math.ceil((p[0]-r)/q),a[1]]}p=b.layerStatesArray;for(q=p.length-1;0<=q;--q){var u=p[q];r=u.layer;if(yg(u,n)&&f.call(g,r)&&(u=ij(this,r),r.ha()&&(l=u.wa(r.ha().D?m:a,b,c,h,e)),l))return l}}; 
     202k.Ui=function(a,b,c,d,e){return void 0!==this.wa(a,b,c,Re,this,d,e)};function ij(a,b){var c=x(b).toString();if(c in a.c)return a.c[c];for(var d,e=a.S(),f=0,g=pg.length;f<g;++f){var h=pg[f];if(h.handles(e,b)){d=h.create(a,b);break}}if(d)a.c[c]=d,a.v[c]=y(d,"change",a.gm,a);else throw Error("Unable to create renderer for layer: "+b.S());return d}k.gm=function(){this.l.render()};function tg(a,b){var c=a.c[b];delete a.c[b];Gc(a.v[b]);delete a.v[b];return c}k.bh=ea; 
     203k.oq=function(a,b){for(var c in this.c)b&&c in b.layerStates||Pc(tg(this,c))};function jj(a,b){for(var c in a.c)if(!(c in b.layerStates)){b.postRenderFunctions.push(a.oq.bind(a));break}}function lc(a,b){return a.zIndex-b.zIndex};function kj(a,b){fj.call(this,a,b);this.g=hg();this.b=this.g.canvas;this.b.style.width="100%";this.b.style.height="100%";this.b.style.display="block";this.b.className="ol-unselectable";a.insertBefore(this.b,a.childNodes[0]||null);this.a=!0;this.i=We()}w(kj,fj);kj.handles=function(a){return"canvas"===a};kj.create=function(a,b){return new kj(a,b)}; 
     204function lj(a,b,c){var d=a.l,e=a.g;if(Tc(d,b)){var f=c.extent,g=c.pixelRatio,h=c.viewState.rotation,l=c.viewState,m=c.pixelRatio/l.resolution;a=ef(a.i,a.b.width/2,a.b.height/2,m,-m,-l.rotation,-l.center[0],-l.center[1]);d.b(new bi(b,new Bi(e,g,f,a,h),c,e,null))}}kj.prototype.S=function(){return"canvas"}; 
     205kj.prototype.bh=function(a){if(a){var b=this.g,c=a.pixelRatio,d=Math.round(a.size[0]*c),e=Math.round(a.size[1]*c);this.b.width!=d||this.b.height!=e?(this.b.width=d,this.b.height=e):b.clearRect(0,0,d,e);c=a.viewState.rotation;gj(a);lj(this,"precompose",a);var f=a.layerStatesArray;kc(f);c&&(b.save(),qi(b,c,d/2,e/2));d=a.viewState.resolution;var g;e=0;for(g=f.length;e<g;++e){var h=f[e];var l=h.layer;l=ij(this,l);yg(h,d)&&"ready"==h.Vj&&l.$c(a,h)&&l.df(a,h,b)}c&&b.restore();lj(this,"postcompose",a);this.a|| 
     206(this.b.style.display="",this.a=!0);jj(this,a);a.postRenderFunctions.push(hj)}else this.a&&(this.b.style.display="none",this.a=!1)};kj.prototype.Ti=function(a,b,c,d,e,f){var g=b.viewState.resolution,h=b.layerStatesArray,l=h.length;a=af(b.pixelToCoordinateTransform,a.slice());for(--l;0<=l;--l){var m=h[l];var n=m.layer;if(yg(m,g)&&e.call(f,n)&&(m=ij(this,n).s(a,b,c,d)))return m}};function mj(a){aj.call(this,a);this.context=null===this.context?null:hg();this.c=null;this.f=[];this.T=Da();this.ra=new ja(0,0,0,0);this.o=We();this.O=0}w(mj,aj);mj.handles=function(a,b){return"canvas"===a&&"TILE"===b.S()};mj.create=function(a,b){return new mj(b)};function nj(a,b){b=b.getState();a=a.a.i();return 2==b||4==b||3==b&&!a} 
     207mj.prototype.$c=function(a,b){var c=a.pixelRatio,d=a.size,e=a.viewState,f=e.projection,g=e.resolution;e=e.center;var h=this.a,l=h.ha(),m=l.g,n=l.eb(f),p=n.Dc(g,this.O),q=n.Ta(p),r=Math.round(g/q)||1,u=a.extent;void 0!==b.extent&&(u=gb(u,b.extent));if(bb(u))return!1;var v=tc(n,u,p),z=wc(n,p,v),A=l.Xc(c),E={};E[p]={};var S=this.Rf(l,f,E),Ia=this.T,ta=this.ra,la=!1,ca,ia;for(ca=v.fa;ca<=v.la;++ca)for(ia=v.ea;ia<=v.ka;++ia){var xa=l.ad(p,ca,ia,c,f);3==xa.getState()&&(h.i()?0<h.c()&&(la=!0):oj(xa,2)); 
     208nj(this,xa)||(xa=pj(xa));if(nj(this,xa)){var Va=x(this);if(2==xa.getState()){E[p][xa.ya.toString()]=xa;var ic=xa.j?-1!==xa.s[Va]:!1;la||!ic&&-1!==this.f.indexOf(xa)||(la=!0)}if(1===qj(xa,Va,a.time))continue}Va=vc(n,xa.ya,ta,Ia);ic=!1;Va&&(ic=S(p+1,Va));ic||uc(n,xa.ya,S,ta,Ia)}xa=a.viewHints;xa=xa[0]||xa[1];if(!(this.i&&16<Date.now()-a.time&&xa||!la&&this.c&&La(this.c,u)&&this.wf==m&&r==this.C&&(xa||q*c/A*r==this.i))){if(xa=this.context)ia=l.Zd(p,c,f),ca=Math.round((v.la-v.fa+1)*ia[0]/r),ia=Math.round((v.ka- 
     209v.ea+1)*ia[1]/r),la=xa.canvas,la.width!=ca||la.height!=ia?(this.C=r,la.width=ca,la.height=ia):(this.c&&!Sa(z,this.c)&&xa.clearRect(0,0,ca,ia),r=this.C);this.f.length=0;la=Object.keys(E).map(Number);la.sort(function(a,b){return a===p?1:b===p?-1:a>b?1:a<b?-1:0});Va=0;for(ic=la.length;Va<ic;++Va){ta=la[Va];S=l.Zd(ta,c,f);xa=n.Ta(ta);var Xa=xa/q;var Z=A*l.Zf(f);var Zb=E[ta];for(var Le in Zb){xa=Zb[Le];ia=n.Ma(xa.ya,Ia);ca=(ia[0]-z[0])/q*A/r;ia=(z[3]-ia[3])/q*A/r;var Uf=S[0]*Xa/r;var Id=S[1]*Xa/r;this.Sf(xa, 
     210a,b,ca,ia,Uf,Id,Z,p===ta);this.f.push(xa)}}this.wf=m;this.i=q*c/A*r;this.c=z}b=this.i/g;b=ef(this.o,c*d[0]/2,c*d[1]/2,b,b,0,(this.c[0]-e[0])/this.i*c,(e[1]-this.c[3])/this.i*c);ef(this.l,c*d[0]/2-b[4],c*d[1]/2-b[5],c/g,-c/g,0,-e[0],-e[1]);Vi(a.usedTiles,l,p,v);Wi(a,l,n,c,f,u,p,h.c());Ti(a,l);Ui(a,l);return 0<this.f.length}; 
     211mj.prototype.Sf=function(a,b,c,d,e,f,g,h,l){if(c=a.Y(this.a)){var m=x(this),n=l?qj(a,m,b.time):1;1!==n||this.a.ha().eg(b.viewState.projection)||this.context.clearRect(d,e,f,g);var p=n!==this.context.globalAlpha;p&&(this.context.save(),this.context.globalAlpha=n);this.context.drawImage(c,h,h,c.width-2*h,c.height-2*h,d,e,f,g);p&&this.context.restore();1!==n?b.animate=!0:l&&a.j&&(a.s[m]=-1)}};mj.prototype.Y=function(){var a=this.context;return a?a.canvas:null};mj.prototype.v=function(){return this.o};var rj={Jc:function(){}}; 
     212(function(a){function b(a,e,f,g,h){f=f||0;g=g||a.length-1;for(h=h||d;g>f;){if(600<g-f){var l=g-f+1,m=e-f+1,n=Math.log(l),p=.5*Math.exp(2*n/3);n=.5*Math.sqrt(n*p*(l-p)/l)*(0>m-l/2?-1:1);b(a,e,Math.max(f,Math.floor(e-m*p/l+n)),Math.min(g,Math.floor(e+(l-m)*p/l+n)),h)}l=a[e];m=f;p=g;c(a,f,e);for(0<h(a[g],l)&&c(a,f,g);m<p;){c(a,m,p);m++;for(p--;0>h(a[m],l);)m++;for(;0<h(a[p],l);)p--}0===h(a[f],l)?c(a,f,p):(p++,c(a,p,g));p<=e&&(f=p+1);e<=p&&(g=p-1)}}function c(a,b,c){var d=a[b];a[b]=a[c];a[c]=d}function d(a, 
     213b){return a<b?-1:a>b?1:0}function e(a,b){if(!(this instanceof e))return new e(a,b);this.Lf=Math.max(4,a||9);this.wh=Math.max(2,Math.ceil(.4*this.Lf));b&&this.Ak(b);this.clear()}function f(a,b){g(a,0,a.children.length,b,a)}function g(a,b,c,d,e){e||(e=u(null));e.fa=Infinity;e.ea=Infinity;e.la=-Infinity;e.ka=-Infinity;for(var f;b<c;b++)f=a.children[b],h(e,a.fb?d(f):f);return e}function h(a,b){a.fa=Math.min(a.fa,b.fa);a.ea=Math.min(a.ea,b.ea);a.la=Math.max(a.la,b.la);a.ka=Math.max(a.ka,b.ka);return a} 
     214function l(a,b){return a.fa-b.fa}function m(a,b){return a.ea-b.ea}function n(a){return(a.la-a.fa)*(a.ka-a.ea)}function p(a){return a.la-a.fa+(a.ka-a.ea)}function q(a,b){return a.fa<=b.fa&&a.ea<=b.ea&&b.la<=a.la&&b.ka<=a.ka}function r(a,b){return b.fa<=a.la&&b.ea<=a.ka&&b.la>=a.fa&&b.ka>=a.ea}function u(a){return{children:a,height:1,fb:!0,fa:Infinity,ea:Infinity,la:-Infinity,ka:-Infinity}}function v(a,b,c,d,e){for(var f=[b,c],g;f.length;)c=f.pop(),b=f.pop(),c-b<=d||(g=b+Math.ceil((c-b)/d/2)*d,z(a, 
     215g,b,c,e),f.push(b,g,g,c))}var z=b;e.prototype={all:function(){return this.rh(this.data,[])},search:function(a){var b=this.data,c=[],d=this.xb;if(!r(a,b))return c;for(var e=[],f,g,h,l;b;){f=0;for(g=b.children.length;f<g;f++)h=b.children[f],l=b.fb?d(h):h,r(a,l)&&(b.fb?c.push(h):q(a,l)?this.rh(h,c):e.push(h));b=e.pop()}return c},Ok:function(a){var b=this.data,c=this.xb;if(!r(a,b))return!1;for(var d=[],e,f,g,h;b;){e=0;for(f=b.children.length;e<f;e++)if(g=b.children[e],h=b.fb?c(g):g,r(a,h)){if(b.fb||q(a, 
     216h))return!0;d.push(g)}b=d.pop()}return!1},load:function(a){if(!a||!a.length)return this;if(a.length<this.wh){for(var b=0,c=a.length;b<c;b++)this.Ca(a[b]);return this}a=this.th(a.slice(),0,a.length-1,0);this.data.children.length?this.data.height===a.height?this.yh(this.data,a):(this.data.height<a.height&&(b=this.data,this.data=a,a=b),this.vh(a,this.data.height-a.height-1,!0)):this.data=a;return this},Ca:function(a){a&&this.vh(a,this.data.height-1);return this},clear:function(){this.data=u([]);return this}, 
     217remove:function(a,b){if(!a)return this;for(var c=this.data,d=this.xb(a),e=[],f=[],g,h,l,m;c||e.length;){c||(c=e.pop(),h=e[e.length-1],g=f.pop(),m=!0);if(c.fb){a:{l=a;var n=c.children,p=b;if(p){for(var r=0;r<n.length;r++)if(p(l,n[r])){l=r;break a}l=-1}else l=n.indexOf(l)}if(-1!==l){c.children.splice(l,1);e.push(c);this.yk(e);break}}m||c.fb||!q(c,d)?h?(g++,c=h.children[g],m=!1):c=null:(e.push(c),f.push(g),g=0,h=c,c=c.children[0])}return this},xb:function(a){return a},Pf:l,Qf:m,toJSON:function(){return this.data}, 
     218rh:function(a,b){for(var c=[];a;)a.fb?b.push.apply(b,a.children):c.push.apply(c,a.children),a=c.pop();return b},th:function(a,b,c,d){var e=c-b+1,g=this.Lf;if(e<=g){var h=u(a.slice(b,c+1));f(h,this.xb);return h}d||(d=Math.ceil(Math.log(e)/Math.log(g)),g=Math.ceil(e/Math.pow(g,d-1)));h=u([]);h.fb=!1;h.height=d;e=Math.ceil(e/g);g=e*Math.ceil(Math.sqrt(g));var l;for(v(a,b,c,g,this.Pf);b<=c;b+=g){var m=Math.min(b+g-1,c);v(a,b,m,e,this.Qf);for(l=b;l<=m;l+=e){var n=Math.min(l+e-1,m);h.children.push(this.th(a, 
     219l,n,d-1))}}f(h,this.xb);return h},xk:function(a,b,c,d){for(var e,f,g,h,l,m,p,q;;){d.push(b);if(b.fb||d.length-1===c)break;p=q=Infinity;e=0;for(f=b.children.length;e<f;e++)g=b.children[e],l=n(g),m=(Math.max(g.la,a.la)-Math.min(g.fa,a.fa))*(Math.max(g.ka,a.ka)-Math.min(g.ea,a.ea))-l,m<q?(q=m,p=l<p?l:p,h=g):m===q&&l<p&&(p=l,h=g);b=h||b.children[0]}return b},vh:function(a,b,c){var d=this.xb;c=c?a:d(a);d=[];var e=this.xk(c,this.data,b,d);e.children.push(a);for(h(e,c);0<=b;)if(d[b].children.length>this.Lf)this.Dk(d, 
     220b),b--;else break;this.uk(c,d,b)},Dk:function(a,b){var c=a[b],d=c.children.length,e=this.wh;this.vk(c,e,d);d=this.wk(c,e,d);d=u(c.children.splice(d,c.children.length-d));d.height=c.height;d.fb=c.fb;f(c,this.xb);f(d,this.xb);b?a[b-1].children.push(d):this.yh(c,d)},yh:function(a,b){this.data=u([a,b]);this.data.height=a.height+1;this.data.fb=!1;f(this.data,this.xb)},wk:function(a,b,c){var d,e;var f=e=Infinity;for(d=b;d<=c-b;d++){var h=g(a,0,d,this.xb);var l=g(a,d,c,this.xb);var m=Math.max(0,Math.min(h.la, 
     221l.la)-Math.max(h.fa,l.fa))*Math.max(0,Math.min(h.ka,l.ka)-Math.max(h.ea,l.ea));h=n(h)+n(l);if(m<f){f=m;var p=d;e=h<e?h:e}else m===f&&h<e&&(e=h,p=d)}return p},vk:function(a,b,c){var d=a.fb?this.Pf:l,e=a.fb?this.Qf:m,f=this.sh(a,b,c,d);b=this.sh(a,b,c,e);f<b&&a.children.sort(d)},sh:function(a,b,c,d){a.children.sort(d);d=this.xb;var e=g(a,0,b,d),f=g(a,c-b,c,d),l=p(e)+p(f),m;for(m=b;m<c-b;m++){var n=a.children[m];h(e,a.fb?d(n):n);l+=p(e)}for(m=c-b-1;m>=b;m--)n=a.children[m],h(f,a.fb?d(n):n),l+=p(f);return l}, 
     222uk:function(a,b,c){for(;0<=c;c--)h(b[c],a)},yk:function(a){for(var b=a.length-1,c;0<=b;b--)0===a[b].children.length?0<b?(c=a[b-1].children,c.splice(c.indexOf(a[b]),1)):this.clear():f(a[b],this.xb)},Ak:function(a){var b=["return a"," - b",";"];this.Pf=new Function("a","b",b.join(a[0]));this.Qf=new Function("a","b",b.join(a[1]));this.xb=new Function("a","return {minX: a"+a[0]+", minY: a"+a[1]+", maxX: a"+a[2]+", maxY: a"+a[3]+"};")}};a["default"]=e})(rj.Jc=rj.Jc||{});rj.Jc=rj.Jc.default;function sj(){};function tj(a,b,c,d){var e=a[b],f=a[b+1],g=0;for(b+=d;b<c;b+=d){var h=a[b],l=a[b+1];g+=Math.sqrt((h-e)*(h-e)+(l-f)*(l-f));e=h;f=l}return g};var uj="Polygon Circle LineString Image Text Default".split(" "),vj={left:0,end:0,center:.5,right:1,start:1,top:0,middle:.5,hanging:.2,alphabetic:.8,ideographic:.8,bottom:1};function wj(a,b,c,d,e,f){this.ra=f;this.La=Da();this.ob=a;this.Ea=b;this.overlaps=e;this.pixelRatio=d;this.Wa=0;this.resolution=c;this.i=this.T=this.qa=null;this.a=[];this.coordinates=[];this.Ub={};this.ca=We();this.b=[];this.oa=null;this.state={};this.$=0;this.bb=We()}w(wj,Ai);function xj(a,b,c,d,e,f,g,h){b.beginPath();b.moveTo.apply(b,c);b.lineTo.apply(b,d);b.lineTo.apply(b,e);b.lineTo.apply(b,f);b.lineTo.apply(b,c);g&&(a.O=g[2],a.Xa(b));h&&(yj(b,h),b.stroke())} 
     223function zj(a,b,c,d,e,f,g,h,l,m,n,p,q,r,u,v,z,A,E){var S=A||E,Ia=a.bb;f*=r;g*=r;c-=f;d-=g;u&&(c=Math.round(c),d=Math.round(d));u=v+n>e.width?e.width-n:v;l=l+p>e.height?e.height-p:l;v=a.La;var ta=z[3]+u*r+z[1],la=z[0]+l*r+z[2],ca=c-z[3],ia=d-z[0];if(S||0!==q){var xa=[ca,ia];var Va=[ca+ta,ia];var ic=[ca+ta,ia+la];var Xa=[ca,ia+la]}z=null;0!==q?(f=c+f,g=d+g,z=ef(Ia,f,g,1,1,q,-f,-g),Oa(v),Ea(v,af(Ia,xa)),Ea(v,af(Ia,Va)),Ea(v,af(Ia,ic)),Ea(v,af(Ia,Xa))):Na(ca,ia,ca+ta,ia+la,v);q=b.canvas;q=v[0]<=q.width&& 
     2240<=v[2]&&v[1]<=q.height&&0<=v[3];if(h){if(q||1!=h[4])Ta(h,v),(a=q?[b,z?z.slice(0):null,m,e,n,p,u,l,c,d,r]:null)&&S&&a.push(A,E,xa,Va,ic,Xa),h.push(a)}else q&&(S&&xj(a,b,xa,Va,ic,Xa,A,E),si(b,z,m,e,n,p,u,l,c,d,r))}function Aj(a,b){var c=a.pixelRatio;return 1==c?b:b.map(function(a){return a*c})} 
     225function Bj(a,b,c,d,e,f,g){var h=a.coordinates.length,l=Cj(a);g&&(c+=e);g=[b[c],b[c+1]];var m=[NaN,NaN],n=!0,p;for(p=c+e;p<d;p+=e){m[0]=b[p];m[1]=b[p+1];var q=Ma(l,m);q!==r?(n&&(a.coordinates[h++]=g[0],a.coordinates[h++]=g[1]),a.coordinates[h++]=m[0],a.coordinates[h++]=m[1],n=!1):1===q?(a.coordinates[h++]=m[0],a.coordinates[h++]=m[1],n=!1):n=!0;g[0]=m[0];g[1]=m[1];var r=q}if(f&&n||p===c+e)a.coordinates[h++]=g[0],a.coordinates[h++]=g[1];return h} 
     226function Dj(a,b,c,d,e,f){for(var g=0,h=d.length;g<h;++g){var l=d[g];c=Bj(a,b,c,l,e,!1,!1);f.push(c);c=l}return c}k=wj.prototype; 
     227k.Hh=function(a,b,c){Ej(this,b);var d=a.S(),e=a.pa(),f=this.coordinates.length,g;if("MultiPolygon"==d){d=Ii(a);var h=[];for(var l=a.td(),m=g=0,n=l.length;m<n;++m){var p=[];g=Dj(this,d,g,l[m],e,p);h.push(p)}this.a.push([4,f,h,a,c,Af])}else"Polygon"==d||"MultiLineString"==d?(h=[],d="Polygon"==d?a.Xb():a.da(),Dj(this,d,0,a.pb(),e,h),this.a.push([4,f,h,a,c,zf])):"LineString"==d||"MultiPoint"==d?(d=a.da(),e=Bj(this,d,0,d.length,e,!1,!1),this.a.push([4,f,e,a,c,yf])):"Point"==d&&(d=a.da(),this.coordinates.push(d[0], 
     228d[1]),e=this.coordinates.length,this.a.push([4,f,e,a,c]));Fj(this,b)};function Ej(a,b){a.qa=[0,b,0];a.a.push(a.qa);a.T=[0,b,0];a.b.push(a.T)}k.Xa=function(a){if(this.O){var b=af(this.ca,this.O.slice());a.translate(b[0],b[1]);a.rotate(this.$)}a.fill();this.O&&a.setTransform.apply(a,ri)};function yj(a,b){a.strokeStyle=b[1];a.lineWidth=b[2];a.lineCap=b[3];a.lineJoin=b[4];a.miterLimit=b[5];od&&(a.lineDashOffset=b[7],a.setLineDash(b[6]))} 
     229function Gj(a,b,c){if(b&&5<b.length){var d=b[4];if(1==d||d==b.length-5){c={fa:b[0],ea:b[1],la:b[2],ka:b[3],value:c};if(!a.ra.Ok(c))for(a.ra.Ca(c),c=5,d=b.length;c<d;++c){var e=b[c];e&&(11<e.length&&xj(a,e[0],e[13],e[14],e[15],e[16],e[11],e[12]),si.apply(void 0,e))}b.length=5;Oa(b)}}} 
     230function Hj(a,b,c,d,e,f,g){if(a.oa&&jc(c,a.ca))var h=a.oa;else a.oa||(a.oa=[]),h=Te(a.coordinates,0,a.coordinates.length,2,c,a.oa),$e(a.ca,c);for(var l=!nb(d),m=0,n=e.length,p=0,q,r,u,v,z,A,E,S,Ia,ta=0,la=0,ca=null,ia=null,xa=a.Ub,Va=a.$,ic={context:b,pixelRatio:a.pixelRatio,resolution:a.resolution,rotation:Va},Xa=a.a!=e||a.overlaps?0:200;m<n;){var Z=e[m];switch(Z[0]){case 0:var Zb=Z[1];l&&d[x(Zb).toString()]||!Zb.U()?m=Z[2]:void 0===g||hb(g,Zb.U().G())?++m:m=Z[2]+1;break;case 1:ta>Xa&&(a.Xa(b),ta= 
     2310);la>Xa&&(b.stroke(),la=0);ta||la||(b.beginPath(),v=z=NaN);++m;break;case 2:p=Z[1];var Le=h[p],Uf=h[p+1],Id=h[p+2]-Le,te=h[p+3]-Uf,Jh=Math.sqrt(Id*Id+te*te);b.moveTo(Le+Jh,Uf);b.arc(Le,Uf,Jh,0,2*Math.PI,!0);++m;break;case 3:b.closePath();++m;break;case 4:p=Z[1];q=Z[2];var Mg=Z[4],Ng=6==Z.length?Z[5]:void 0;ic.geometry=Z[3];ic.feature=Zb;m in xa||(xa[m]=[]);var Wf=xa[m];Ng?Ng(h,p,q,2,Wf):(Wf[0]=h[p],Wf[1]=h[p+1],Wf.length=2);Mg(Wf,ic);++m;break;case 6:p=Z[1];q=Z[2];Ia=Z[3];r=Z[4];u=Z[5];S=f?null: 
     232Z[6];var rf=Z[7],yu=Z[8],zu=Z[9],Au=Z[10],Bu=Z[11],jp=Z[12],Cu=Z[13],Du=Z[14],Eu=Z[15];if(16<Z.length){var kp=Z[16];var lp=Z[17];var mp=Z[18]}else kp=hi,lp=mp=!1;for(Bu&&(jp+=Va);p<q;p+=2)zj(a,b,h[p],h[p+1],Ia,r,u,S,rf,yu,zu,Au,jp,Cu,Du,Eu,kp,lp?ca:null,mp?ia:null);Gj(a,S,Zb);++m;break;case 5:var np=Z[1],op=Z[2],Lk=Z[3];S=f?null:Z[4];var Fu=Z[5],pp=Z[6],Gu=Z[7],qp=Z[8],rp=Z[9],sp=Z[10],tp=Z[11],up=Z[12],Mk=Z[13],vp=Z[14],wp=tj(h,np,op,2),xp=qp(up);if(Fu||xp<=wp){a:{var Ni=void 0,yp=void 0,Xf=void 0, 
     233sf=h,ve=np,zp=op,Ap=up,Hu=qp,Bp=(wp-xp)*vj[a.s[Mk].textAlign],Iu=Gu,Nk=[],Kh=sf[ve]>sf[zp-2],Cp=Ap.length,Lh=sf[ve],Mh=sf[ve+1];ve+=2;for(var Og=sf[ve],Pg=sf[ve+1],Ok=0,Oi=Math.sqrt(Math.pow(Og-Lh,2)+Math.pow(Pg-Mh,2)),Yf="",Pk=0,Pi=0;Pi<Cp;++Pi){yp=Kh?Cp-Pi-1:Pi;var Qk=Ap.charAt(yp);Yf=Kh?Qk+Yf:Yf+Qk;var Qg=Hu(Yf)-Pk;Pk+=Qg;for(var Dp=Bp+Qg/2;ve<zp-2&&Ok+Oi<Dp;)Lh=Og,Mh=Pg,ve+=2,Og=sf[ve],Pg=sf[ve+1],Ok+=Oi,Oi=Math.sqrt(Math.pow(Og-Lh,2)+Math.pow(Pg-Mh,2));var Ju=Dp-Ok,Rg=Math.atan2(Pg-Mh,Og-Lh); 
     234Kh&&(Rg+=0<Rg?-Math.PI:Math.PI);if(void 0!==Ni){var Qi=Rg-Ni;Qi+=Qi>Math.PI?-2*Math.PI:Qi<-Math.PI?2*Math.PI:0;if(Math.abs(Qi)>Iu){var Sg=null;break a}}var Ep=Ju/Oi,Fp=ya(Lh,Og,Ep),Gp=ya(Mh,Pg,Ep);Ni==Rg?(Kh&&(Xf[0]=Fp,Xf[1]=Gp,Xf[2]=Qg/2),Xf[4]=Yf):(Yf=Qk,Pk=Qg,Xf=[Fp,Gp,Qg/2,Rg,Yf],Kh?Nk.unshift(Xf):Nk.push(Xf),Ni=Rg);Bp+=Qg}Sg=Nk}if(Sg){var Ri;if(sp){var Zf=0;for(Ri=Sg.length;Zf<Ri;++Zf){var ee=Sg[Zf];var Rk=ee[4];var Ne=a.Y(Rk,Mk,"",sp);r=ee[2]+tp;u=Lk*Ne.height+2*(.5-Lk)*tp-rp;zj(a,b,ee[0],ee[1], 
     235Ne,r,u,S,Ne.height,1,0,0,ee[3],vp,!1,Ne.width,hi,null,null)}}if(pp)for(Zf=0,Ri=Sg.length;Zf<Ri;++Zf)ee=Sg[Zf],Rk=ee[4],Ne=a.Y(Rk,Mk,pp,""),r=ee[2],u=Lk*Ne.height-rp,zj(a,b,ee[0],ee[1],Ne,r,u,S,Ne.height,1,0,0,ee[3],vp,!1,Ne.width,hi,null,null)}}Gj(a,S,Zb);++m;break;case 7:if(void 0!==f){Zb=Z[1];var Hp=f(Zb);if(Hp)return Hp}++m;break;case 8:Xa?ta++:a.Xa(b);++m;break;case 9:p=Z[1];q=Z[2];var Nh=h[p];var Oh=h[p+1];A=Nh+.5|0;E=Oh+.5|0;if(A!==v||E!==z)b.moveTo(Nh,Oh),v=A,z=E;for(p+=2;p<q;p+=2)if(Nh=h[p], 
     236Oh=h[p+1],A=Nh+.5|0,E=Oh+.5|0,p==q-2||A!==v||E!==z)b.lineTo(Nh,Oh),v=A,z=E;++m;break;case 10:ca=Z;a.O=Z[2];ta&&(a.Xa(b),ta=0,la&&(b.stroke(),la=0));b.fillStyle=Z[1];++m;break;case 11:ia=Z;la&&(b.stroke(),la=0);yj(b,Z);++m;break;case 12:Xa?la++:b.stroke();++m;break;default:++m}}ta&&a.Xa(b);la&&b.stroke()}k.Na=function(a,b,c,d){this.$=c;Hj(this,a,b,d,this.a,void 0,void 0)}; 
     237function Ij(a){var b=a.b;b.reverse();var c,d=b.length,e=-1;for(c=0;c<d;++c){var f=b[c];var g=f[0];if(7==g)e=c;else if(0==g){f[2]=c;f=a.b;for(g=c;e<g;){var h=f[e];f[e]=f[g];f[g]=h;++e;--g}e=-1}}} 
     238k.Oa=function(a,b){var c=this.state;a?(a=a.b,c.fillStyle=zi(a?a:ei)):c.fillStyle=void 0;b?(a=b.a,c.strokeStyle=zi(a?a:gi),a=b.f,c.lineCap=void 0!==a?a:"round",a=b.g,c.lineDash=a?a.slice():fi,a=b.i,c.lineDashOffset=a?a:0,a=b.j,c.lineJoin=void 0!==a?a:"round",a=b.c,c.lineWidth=void 0!==a?a:1,b=b.l,c.miterLimit=void 0!==b?b:10,c.lineWidth>this.Wa&&(this.Wa=c.lineWidth,this.i=null)):(c.strokeStyle=void 0,c.lineCap=void 0,c.lineDash=null,c.lineDashOffset=void 0,c.lineJoin=void 0,c.lineWidth=void 0,c.miterLimit= 
     239void 0)};k.Ah=function(a,b){var c=a.fillStyle;a=[10,c];"string"!==typeof c&&(b=b.G(),a.push([b[0],b[3]]));this.a.push(a)};k.pd=function(a){this.a.push([11,a.strokeStyle,a.lineWidth*this.pixelRatio,a.lineCap,a.lineJoin,a.miterLimit,Aj(this,a.lineDash),a.lineDashOffset*this.pixelRatio])};function Jj(a,b,c,d){var e=b.fillStyle;if("string"!==typeof e||b.Pk!=e)c.call(a,b,d),b.Pk=e} 
     240function Kj(a,b,c){var d=b.strokeStyle,e=b.lineCap,f=b.lineDash,g=b.lineDashOffset,h=b.lineJoin,l=b.lineWidth,m=b.miterLimit;if(b.Vk!=d||b.Qk!=e||f!=b.Fh&&!jc(b.Fh,f)||b.Rk!=g||b.Sk!=h||b.Tk!=l||b.Uk!=m)c.call(a,b),b.Vk=d,b.Qk=e,b.Fh=f,b.Rk=g,b.Sk=h,b.Tk=l,b.Uk=m}function Fj(a,b){a.qa[2]=a.a.length;a.qa=null;a.T[2]=a.b.length;a.T=null;b=[7,b];a.a.push(b);a.b.push(b)}k.bf=ea;function Cj(a){a.i||(a.i=Ga(a.Ea),0<a.Wa&&Fa(a.i,a.resolution*(a.Wa+1)/2,a.i));return a.i};function Lj(a,b,c,d,e,f){wj.call(this,a,b,c,d,e,f);this.M=this.V=this.B=null;this.N=this.o=this.v=this.s=this.l=this.C=this.D=this.j=this.f=this.c=this.g=void 0}w(Lj,wj); 
     241Lj.prototype.yc=function(a,b){if(this.M){Ej(this,b);var c=a.da(),d=this.coordinates.length;a=Bj(this,c,0,c.length,a.pa(),!1,!1);this.a.push([6,d,a,this.M,this.g,this.c,this.B,this.f,this.j,this.D,this.C,this.l,this.s,this.v*this.pixelRatio,this.o,this.N]);this.b.push([6,d,a,this.V,this.g,this.c,this.B,this.f,this.j,this.D,this.C,this.l,this.s,this.v,this.o,this.N]);Fj(this,b)}}; 
     242Lj.prototype.wc=function(a,b){if(this.M){Ej(this,b);var c=a.da(),d=this.coordinates.length;a=Bj(this,c,0,c.length,a.pa(),!1,!1);this.a.push([6,d,a,this.M,this.g,this.c,this.B,this.f,this.j,this.D,this.C,this.l,this.s,this.v*this.pixelRatio,this.o,this.N]);this.b.push([6,d,a,this.V,this.g,this.c,this.B,this.f,this.j,this.D,this.C,this.l,this.s,this.v,this.o,this.N]);Fj(this,b)}}; 
     243Lj.prototype.bf=function(){Ij(this);this.c=this.g=void 0;this.M=this.V=null;this.N=this.o=this.s=this.l=this.C=this.D=this.j=this.v=this.f=void 0};Lj.prototype.Zb=function(a,b){var c=a.Vc(),d=a.oc(),e=a.Eg(),f=a.Y(1),g=a.bd();this.g=c[0];this.c=c[1];this.B=b;this.V=e;this.M=f;this.f=d[1];this.j=a.i;this.D=g[0];this.C=g[1];this.l=a.s;this.s=a.f;this.v=a.a;this.o=a.v;this.N=d[0]};function Mj(a,b,c,d,e,f){wj.call(this,a,b,c,d,e,f)}w(Mj,wj);function Nj(a,b,c,d,e){var f=a.coordinates.length;b=Bj(a,b,c,d,e,!1,!1);f=[9,f,b];a.a.push(f);a.b.push(f);return d}Mj.prototype.uc=function(a,b){var c=this.state,d=c.lineWidth;void 0!==c.strokeStyle&&void 0!==d&&(Kj(this,c,this.pd),Ej(this,b),this.b.push([11,c.strokeStyle,c.lineWidth,c.lineCap,c.lineJoin,c.miterLimit,c.lineDash,c.lineDashOffset],[1]),c=a.da(),Nj(this,c,0,c.length,a.pa()),this.b.push([12]),Fj(this,b))}; 
     244Mj.prototype.vc=function(a,b){var c=this.state,d=c.lineWidth;if(void 0!==c.strokeStyle&&void 0!==d){Kj(this,c,this.pd);Ej(this,b);this.b.push([11,c.strokeStyle,c.lineWidth,c.lineCap,c.lineJoin,c.miterLimit,c.lineDash,c.lineDashOffset],[1]);c=a.pb();d=a.da();a=a.pa();var e=0,f;var g=0;for(f=c.length;g<f;++g)e=Nj(this,d,e,c[g],a);this.b.push([12]);Fj(this,b)}};Mj.prototype.bf=function(){var a=this.state;void 0!=a.$d&&a.$d!=this.coordinates.length&&this.a.push([12]);Ij(this);this.state=null}; 
     245Mj.prototype.pd=function(a){void 0!=a.$d&&a.$d!=this.coordinates.length&&(this.a.push([12]),a.$d=this.coordinates.length);a.$d=0;wj.prototype.pd.call(this,a);this.a.push([1])};function Oj(a,b,c,d,e,f){wj.call(this,a,b,c,d,e,f)}w(Oj,wj);function Pj(a,b,c,d,e){var f=a.state,g=void 0!==f.fillStyle;f=void 0!=f.strokeStyle;var h=d.length,l=[1];a.a.push(l);a.b.push(l);for(l=0;l<h;++l){var m=d[l],n=a.coordinates.length;c=Bj(a,b,c,m,e,!0,!f);c=[9,n,c];a.a.push(c);a.b.push(c);f&&(c=[3],a.a.push(c),a.b.push(c));c=m}b=[8];a.b.push(b);g&&a.a.push(b);f&&(g=[12],a.a.push(g),a.b.push(g));return c} 
     246Oj.prototype.cc=function(a,b){var c=this.state,d=c.strokeStyle;if(void 0!==c.fillStyle||void 0!==d){Qj(this,a);Ej(this,b);this.b.push([10,xi(ei)]);void 0!==c.strokeStyle&&this.b.push([11,c.strokeStyle,c.lineWidth,c.lineCap,c.lineJoin,c.miterLimit,c.lineDash,c.lineDashOffset]);var e=a.da();d=this.coordinates.length;Bj(this,e,0,e.length,a.pa(),!1,!1);a=[1];d=[2,d];this.a.push(a,d);this.b.push(a,d);a=[8];this.b.push(a);void 0!==c.fillStyle&&this.a.push(a);void 0!==c.strokeStyle&&(c=[12],this.a.push(c), 
     247this.b.push(c));Fj(this,b)}};Oj.prototype.zc=function(a,b){var c=this.state;Qj(this,a);Ej(this,b);this.b.push([10,xi(ei)]);void 0!==c.strokeStyle&&this.b.push([11,c.strokeStyle,c.lineWidth,c.lineCap,c.lineJoin,c.miterLimit,c.lineDash,c.lineDashOffset]);c=a.pb();var d=a.Xb();Pj(this,d,0,c,a.pa());Fj(this,b)}; 
     248Oj.prototype.xc=function(a,b){var c=this.state,d=c.strokeStyle;if(void 0!==c.fillStyle||void 0!==d){Qj(this,a);Ej(this,b);this.b.push([10,xi(ei)]);void 0!==c.strokeStyle&&this.b.push([11,c.strokeStyle,c.lineWidth,c.lineCap,c.lineJoin,c.miterLimit,c.lineDash,c.lineDashOffset]);c=a.td();d=Ii(a);a=a.pa();var e=0,f;var g=0;for(f=c.length;g<f;++g)e=Pj(this,d,e,c[g],a);Fj(this,b)}}; 
     249Oj.prototype.bf=function(){Ij(this);this.state=null;var a=this.ob;if(0!==a){var b=this.coordinates,c;var d=0;for(c=b.length;d<c;++d)b[d]=a*Math.round(b[d]/a)}};function Qj(a,b){var c=a.state;void 0!==c.fillStyle&&Jj(a,c,a.Ah,b);void 0!==c.strokeStyle&&Kj(a,c,a.pd)};function Rj(a,b,c,d,e,f){wj.call(this,a,b,c,d,e,f);this.ta="";this.l=this.D=0;this.C=void 0;this.B=0;this.c=null;this.o={};this.g=null;this.ab={};this.f={};this.s={};this.V=this.v=this.j="";for(this.ua={};di(ii);)ii.pop()}w(Rj,wj); 
     250Rj.prototype.Wb=function(a,b){var c=this.c,d=this.g,e=this.f;if(""!==this.ta&&e&&(c||d)){c=this.coordinates.length;var f=a.S();d=null;var g=2,h=2;if("line"===e.placement){if(!hb(Cj(this),a.G()))return;d=a.da();h=a.pa();if("LineString"==f)var l=[d.length];else if("MultiLineString"==f)l=a.pb();else if("Polygon"==f)l=a.pb().slice(0,1);else if("MultiPolygon"==f)for(a=a.td(),l=[],g=0,f=a.length;g<f;++g)l.push(a[g][0]);Ej(this,b);a=e.textAlign;var m=0,n;f=0;for(var p=l.length;f<p;++f){if(void 0==a){for(var q, 
     251r,u=void 0,v=void 0,z=g=r=q=void 0,A=n=m,E=0,S=0,Ia=m;m<l[f];m+=h){var ta=d[m],la=d[m+1];void 0!==r&&(r=ta-r,q=la-q,g=Math.sqrt(r*r+q*q),void 0!==v&&(S+=z,u=Math.acos((v*r+u*q)/(z*g)),u>e.maxAngle&&(S>E&&(E=S,n=Ia,A=m),S=0,Ia=m-h)),z=g,v=r,u=q);r=ta;q=la}g=S+g>E?[Ia,m]:[n,A];m=g[0];n=g[1]}else n=l[f];for(g=m;g<n;g+=h)this.coordinates.push(d[g],d[g+1]);g=this.coordinates.length;m=l[f];Sj(this,c,g,this.N);c=g}}else{l=this.Y(this.ta,this.j,this.v,this.V);p=l.width/this.pixelRatio;switch(f){case "Point":case "MultiPoint":d= 
     252a.da();g=d.length;break;case "LineString":d=a.Fe();break;case "Circle":d=a.xa();break;case "MultiLineString":d=a.Ge();g=d.length;break;case "Polygon":d=a.Td();if(!e.overflow&&d[2]/this.resolution<p)return;h=3;break;case "MultiPolygon":n=Ji(a);d=[];g=0;for(f=n.length;g<f;g+=3)(e.overflow||n[g+2]/this.resolution>=p)&&d.push(n[g],n[g+1]);g=d.length;if(0==g)return}g=Bj(this,d,0,g,h,!1,!1);Ej(this,b);if(e.backgroundFill||e.backgroundStroke)this.Oa(e.backgroundFill,e.backgroundStroke),Jj(this,this.state, 
     253this.Ah,a),Kj(this,this.state,this.pd);Tj(this,l,c,g)}Fj(this,b)}}; 
     254Rj.prototype.Y=function(a,b,c,d){var e=d+b+a+c+this.pixelRatio;if(!ii.a.hasOwnProperty(e)){var f=d?this.ab[d]||this.g:null,g=c?this.o[c]||this.c:null,h=this.s[b]||this.f,l=h.scale*this.pixelRatio,m=vj[h.textAlign||"center"];b=d&&f.lineWidth?f.lineWidth:0;a=a.split("\n");var n=a.length,p=[],q=h.font;var r=a.length;var u=0;var v;for(v=0;v<r;++v){var z=pi(q,a[v]);u=Math.max(u,z);p.push(z)}r=u;q=oi(h.font);r=hg(Math.ceil((r+b)*l),Math.ceil((q*n+b)*l));u=r.canvas;ii.set(e,u);1!=l&&r.scale(l,l);r.font= 
     255h.font;d&&(r.strokeStyle=f.strokeStyle,r.lineWidth=b*(kd?l:1),r.lineCap=f.lineCap,r.lineJoin=f.lineJoin,r.miterLimit=f.miterLimit,od&&f.lineDash.length&&(r.setLineDash(f.lineDash),r.lineDashOffset=f.lineDashOffset));c&&(r.fillStyle=g.fillStyle);r.textBaseline="middle";r.textAlign="center";f=.5-m;g=m*u.width/l+f*b;if(d)for(d=0;d<n;++d)r.strokeText(a[d],g+f*p[d],.5*(b+q)+d*q);if(c)for(d=0;d<n;++d)r.fillText(a[d],g+f*p[d],.5*(b+q)+d*q)}return ii.get(e)}; 
     256function Tj(a,b,c,d){var e=a.f,f=a.g,g=a.pixelRatio,h=vj[e.textAlign||"center"],l=vj[e.textBaseline];f=f&&f.lineWidth?f.lineWidth:0;h=h*b.width/g+2*(.5-h)*f;l=l*b.height/g+2*(.5-l)*f;a.a.push([6,c,d,b,(h-a.D)*g,(l-a.l)*g,a.N,b.height,1,0,0,a.C,a.B,1,!0,b.width,e.padding==hi?hi:e.padding.map(function(a){return a*g}),!!e.backgroundFill,!!e.backgroundStroke]);a.b.push([6,c,d,b,(h-a.D)*g,(l-a.l)*g,a.N,b.height,1,0,0,a.C,a.B,1/g,!0,b.width,e.padding,!!e.backgroundFill,!!e.backgroundStroke])} 
     257function Sj(a,b,c,d){var e=a.g,f=a.f,g=a.c,h=a.V;e&&(h in a.ab||(a.ab[h]={strokeStyle:e.strokeStyle,lineCap:e.lineCap,lineDashOffset:e.lineDashOffset,lineWidth:e.lineWidth,lineJoin:e.lineJoin,miterLimit:e.miterLimit,lineDash:e.lineDash}));var l=a.j;a.j in a.s||(a.s[a.j]={font:f.font,textAlign:f.textAlign||"center",scale:f.scale});var m=a.v;g&&(m in a.o||(a.o[m]={fillStyle:g.fillStyle}));var n=a.pixelRatio;g=vj[f.textBaseline];var p=a.l*n,q=a.ta,r=f.font,u=f.scale;e=e?e.lineWidth*u/2:0;var v=a.ua[r]; 
     258v||(a.ua[r]=v={});a.a.push([5,b,c,g,d,f.overflow,m,f.maxAngle,function(a){var b=v[a];b||(b=v[a]=pi(r,a));return b*u*n},p,h,e*n,q,l,1]);a.b.push([5,b,c,g,d,f.overflow,m,f.maxAngle,function(a){var b=v[a];b||(b=v[a]=pi(r,a));return b*u},p,h,e,q,l,1/n])} 
     259Rj.prototype.nb=function(a,b){var c,d;if(a){this.N=b;(d=a.Fa())?(b=this.c,b||(b=this.c={}),b.fillStyle=zi(d.b||ei)):b=this.c=null;if(c=a.Ga()){d=this.g;d||(d=this.g={});var e=c.g,f=c.i,g=c.c,h=c.l;d.lineCap=c.f||"round";d.lineDash=e?e.slice():fi;d.lineDashOffset=void 0===f?0:f;d.lineJoin=c.j||"round";d.lineWidth=void 0===g?1:g;d.miterLimit=void 0===h?10:h;d.strokeStyle=zi(c.a||gi)}else d=this.g=null;c=this.f;e=a.a||"10px sans-serif";ni(e);f=a.b;c.overflow=a.v;c.font=e;c.maxAngle=a.s;c.placement=a.o; 
     260c.textAlign=a.f;c.textBaseline=a.j||"middle";c.backgroundFill=a.N;c.backgroundStroke=a.D;c.padding=a.C||hi;c.scale=void 0===f?1:f;e=a.g;f=a.c;g=a.l;h=a.i;this.ta=a.Ka()||"";this.D=void 0===e?0:e;this.l=void 0===f?0:f;this.C=void 0===g?!1:g;this.B=void 0===h?0:h;this.V=d?("string"==typeof d.strokeStyle?d.strokeStyle:x(d.strokeStyle))+d.lineCap+d.lineDashOffset+"|"+d.lineWidth+d.lineJoin+d.miterLimit+"["+d.lineDash.join()+"]":"";this.j=c.font+c.scale+(c.textAlign||"?");this.v=b?"string"==typeof b.fillStyle? 
     261b.fillStyle:"|"+x(b.fillStyle):""}else this.ta=""};function Uj(a,b,c,d,e,f,g){this.a=f;this.g=null;this.o=a;this.c=b;this.l=e;this.s=d;this.v=c;this.i=g;this.b={};this.f=hg(1,1);this.j=We()}w(Uj,sj);var Vj={0:[[!0]]};function Wj(a,b,c){var d,e=Math.floor(a.length/2);if(b>=e)for(d=e;d<b;d++)a[d][c]=!0;else if(b<e)for(d=b+1;d<e;d++)a[d][c]=!0} 
     262function Xj(a){if(void 0!==Vj[a])return Vj[a];for(var b=2*a+1,c=Array(b),d=0;d<b;d++)c[d]=Array(b);b=a;for(var e=d=0;b>=d;)Wj(c,a+b,a+d),Wj(c,a+d,a+b),Wj(c,a-d,a+b),Wj(c,a-b,a+d),Wj(c,a-b,a-d),Wj(c,a-d,a-b),Wj(c,a+d,a-b),Wj(c,a+b,a-d),d++,e+=1+2*d,0<2*(e-b)+1&&(--b,e+=1-2*b);return Vj[a]=c}k=Uj.prototype;k.Vb=function(a){var b=null;this.a&&(a?(b=this.g,b[4]++):(b=this.g=Da(),b.push(1)));return b};function Yj(a){for(var b in a.b){var c=a.b[b],d;for(d in c)c[d].bf()}} 
     263k.wa=function(a,b,c,d,e,f,g){d=Math.round(d);var h=2*d+1,l=ef(this.j,d+.5,d+.5,1/b,-1/b,-c,-a[0],-a[1]),m=this.f;m.canvas.width!==h||m.canvas.height!==h?(m.canvas.width=h,m.canvas.height=h):m.clearRect(0,0,h,h);if(void 0!==this.i){var n=Da();Ea(n,a);Fa(n,b*(this.i+d),n)}var p=Xj(d),q;this.a&&(q=this.a.all().map(function(a){return a.value}));return Zj(this,m,l,c,e,function(a){for(var b=m.getImageData(0,0,h,h).data,c=0;c<h;c++)for(var d=0;d<h;d++)if(p[c][d]&&0<b[4*(d*h+c)+3]){var e;q&&-1===q.indexOf(a)|| 
     264(e=f(a));if(e)return e;m.clearRect(0,0,h,h);return}},n,g)};function ak(a,b){var c=a.c;a=c[0];var d=c[1],e=c[2];c=c[3];a=[a,d,a,c,e,c,e,d];Te(a,0,8,2,b,a);return a}k.Ja=function(a,b){var c=void 0!==a?a.toString():"0";a=this.b[c];void 0===a&&(a={},this.b[c]=a);c=a[b];void 0===c&&(c=new bk[b](this.o,this.c,this.v,this.s,this.l,this.a),a[b]=c);return c};k.yg=function(){return nb(this.b)}; 
     265k.Na=function(a,b,c,d,e,f){var g=Object.keys(this.b).map(Number);g.sort(dc);a.save();var h=ak(this,b);a.beginPath();a.moveTo(h[0],h[1]);a.lineTo(h[2],h[3]);a.lineTo(h[4],h[5]);a.lineTo(h[6],h[7]);a.clip();e=e?e:uj;var l,m;h=0;for(l=g.length;h<l;++h){var n=g[h].toString();var p=this.b[n];var q=0;for(m=e.length;q<m;++q){var r=e[q];var u=p[r];void 0!==u&&(!f||"Image"!=r&&"Text"!=r?u.Na(a,b,c,d):(r=f[n])?r.push(u,b.slice(0)):f[n]=[u,b.slice(0)])}}a.restore()}; 
     266function Zj(a,b,c,d,e,f,g,h){var l=Object.keys(a.b).map(Number);l.sort(dc);var m,n;for(m=l.length-1;0<=m;--m){var p=l[m].toString();var q=a.b[p];for(n=uj.length-1;0<=n;--n){var r=uj[n];var u=q[r];if(void 0!==u)if(!h||"Image"!=r&&"Text"!=r){r=b;var v=c,z=e,A=f,E=g;u.$=d;if(u=Hj(u,r,v,z,u.b,A,E))return u}else(r=h[p])?r.push(u,c.slice(0)):h[p]=[u,c.slice(0)]}}}var bk={Circle:Oj,Default:wj,Image:Lj,LineString:Mj,Polygon:Oj,Text:Rj};function ck(a,b){return x(a)-x(b)}function dk(a,b){a=.5*a/b;return a*a}function ek(a,b,c,d,e,f){var g=!1,h;if(h=c.Y()){var l=h.gf();2==l||3==l?h.Yj(e,f):(0==l&&h.load(),h.gi(e,f),g=!0)}if(e=(0,c.cb)(b))if(d=e.Wd(d),c.Ie())fk(a,d,c,b);else(0,gk[d.S()])(a,d,c,b);return g}function fk(a,b,c,d){if("GeometryCollection"==b.S()){b=b.vd();for(var e=0,f=b.length;e<f;++e)fk(a,b[e],c,d)}else a.Ja(c.Ba(),"Default").Hh(b,d,c.Ie())} 
     267var gk={Point:function(a,b,c,d){var e=c.Y();if(e){if(2!=e.gf())return;var f=a.Ja(c.Ba(),"Image");f.Zb(e,a.Vb(!1));f.yc(b,d)}if(f=c.Ka())c=a.Ja(c.Ba(),"Text"),c.nb(f,a.Vb(!!e)),c.Wb(b,d)},LineString:function(a,b,c,d){var e=c.Ga();if(e){var f=a.Ja(c.Ba(),"LineString");f.Oa(null,e);f.uc(b,d)}if(e=c.Ka())c=a.Ja(c.Ba(),"Text"),c.nb(e,a.Vb(!1)),c.Wb(b,d)},Polygon:function(a,b,c,d){var e=c.Fa(),f=c.Ga();if(e||f){var g=a.Ja(c.Ba(),"Polygon");g.Oa(e,f);g.zc(b,d)}if(e=c.Ka())c=a.Ja(c.Ba(),"Text"),c.nb(e,a.Vb(!1)), 
     268c.Wb(b,d)},MultiPoint:function(a,b,c,d){var e=c.Y();if(e){if(2!=e.gf())return;var f=a.Ja(c.Ba(),"Image");f.Zb(e,a.Vb(!1));f.wc(b,d)}if(f=c.Ka())c=a.Ja(c.Ba(),"Text"),c.nb(f,a.Vb(!!e)),c.Wb(b,d)},MultiLineString:function(a,b,c,d){var e=c.Ga();if(e){var f=a.Ja(c.Ba(),"LineString");f.Oa(null,e);f.vc(b,d)}if(e=c.Ka())c=a.Ja(c.Ba(),"Text"),c.nb(e,a.Vb(!1)),c.Wb(b,d)},MultiPolygon:function(a,b,c,d){var e=c.Fa(),f=c.Ga();if(f||e){var g=a.Ja(c.Ba(),"Polygon");g.Oa(e,f);g.xc(b,d)}if(e=c.Ka())c=a.Ja(c.Ba(), 
     269"Text"),c.nb(e,a.Vb(!1)),c.Wb(b,d)},GeometryCollection:function(a,b,c,d){b=b.a;var e;var f=0;for(e=b.length;f<e;++f)(0,gk[b[f].S()])(a,b[f],c,d)},Circle:function(a,b,c,d){var e=c.Fa(),f=c.Ga();if(e||f){var g=a.Ja(c.Ba(),"Circle");g.Oa(e,f);g.cc(b,d)}if(e=c.Ka())c=a.Ja(c.Ba(),"Text"),c.nb(e,a.Vb(!1)),c.Wb(b,d)}};function hk(a){Xi.call(this,a);this.f=a.D?rj.Jc(9):null;this.i=!1;this.N=-1;this.o=NaN;this.l=Da();this.c=this.v=null;this.j=!0;this.context=hg();y(ii,"clear",this.Vi,this)}w(hk,Xi);hk.handles=function(a,b){return"canvas"===a&&"VECTOR"===b.S()};hk.create=function(a,b){return new hk(b)};k=hk.prototype;k.ia=function(){Mc(ii,"clear",this.Vi,this);Xi.prototype.ia.call(this)}; 
     270k.df=function(a,b,c){var d=a.extent,e=a.pixelRatio,f=b.Te?a.skippedFeatureUids:{},g=a.viewState,h=g.projection,l=g.rotation,m=h.G(),n=this.a.ha(),p=$i(this,a,0);Zi(this,"precompose",c,a,p);var q=b.extent;(g=void 0!==q)&&Yi(c,a,q);var r=this.c;if(r&&!r.yg()){this.f&&this.f.clear();var u=q=0,v=1!==b.opacity,z=Tc(this.a,"render");if(v||z){var A=c.canvas.width;var E=c.canvas.height;if(l){var S=Math.round(Math.sqrt(A*A+E*E));q=(S-A)/2;u=(S-E)/2;A=E=S}this.context.canvas.width=A;this.context.canvas.height= 
     271E;A=this.context}else A=c;E=A.globalAlpha;v||(A.globalAlpha=b.opacity);A!=c&&A.translate(q,u);S=a.size[0]*e;e*=a.size[1];qi(A,-l,S/2,e/2);r.Na(A,p,l,f);if(n.D&&h.g&&!La(m,d)){h=d[0];n=cb(m);for(var Ia=0;h<m[0];)--Ia,p=n*Ia,p=$i(this,a,p),r.Na(A,p,l,f),h+=n;Ia=0;for(h=d[2];h>m[2];)++Ia,p=n*Ia,p=$i(this,a,p),r.Na(A,p,l,f),h-=n;p=$i(this,a,0)}qi(A,l,S/2,e/2);A!=c&&(z&&Zi(this,"render",A,a,p),v?(d=c.globalAlpha,c.globalAlpha=b.opacity,c.drawImage(A.canvas,-q,-u),c.globalAlpha=d):c.drawImage(A.canvas, 
     272-q,-u),A.translate(-q,-u));v||(A.globalAlpha=E)}g&&c.restore();this.pf(c,a,b,p)};k.wa=function(a,b,c,d,e){if(this.c){var f=this.a,g={};return this.c.wa(a,b.viewState.resolution,b.viewState.rotation,c,{},function(a){var b=x(a).toString();if(!(b in g))return g[b]=!0,d.call(e,a,f)},null)}};k.Vi=function(){var a=this.a;a.Jb()&&this.c&&a.u()};k.Wi=function(){Mi(this)}; 
     273k.$c=function(a){var b=this.a,c=b.ha();Ui(a,c);var d=a.viewHints[0],e=a.viewHints[1],f=b.ca,g=b.ra;if(!this.i&&!f&&d||!g&&e)return!0;f=a.extent;var h=a.viewState;g=h.projection;var l=h.resolution,m=a.pixelRatio;d=b.g;var n=b.f;e=b.get(ik);void 0===e&&(e=ck);f=Fa(f,n*l);n=h.projection.G();c.D&&h.projection.g&&!La(n,a.extent)&&(a=Math.max(cb(f)/2,cb(n)),f[0]=n[0]-a,f[2]=n[2]+a);if(!this.i&&this.o==l&&this.N==d&&this.v==e&&La(this.l,f))return this.j=!1,!0;this.c=null;this.i=!1;var p=new Uj(.5*l/m,f, 
     274l,m,c.$,this.f,b.f);c.ae(f,l,g);a=function(a){var c=a.ib();if(c)var d=c.call(a,l);else(c=b.ib())&&(d=c(a,l));if(d){if(d){c=!1;if(Array.isArray(d))for(var e=0,f=d.length;e<f;++e)c=ek(p,a,d[e],dk(l,m),this.Wi,this)||c;else c=ek(p,a,d,dk(l,m),this.Wi,this);a=c}else a=!1;this.i=this.i||a}}.bind(this);if(e){var q=[];c.ec(f,function(a){q.push(a)},this);q.sort(e);c=0;for(g=q.length;c<g;++c)a(q[c])}else c.ec(f,a,this);Yj(p);this.o=l;this.N=d;this.v=e;this.l=f;this.c=p;return this.j=!0};function jk(a){this.context=null;mj.call(this,a);this.N=a.D?rj.Jc(9):null;this.D=!1;this.ca=We();this.O="vector"==a.l?1:0;y(ii,"clear",this.Xi,this)}w(jk,mj);jk.handles=function(a,b){return"canvas"===a&&"VECTOR_TILE"===b.S()};jk.create=function(a,b){return new jk(b)};var kk={image:["Polygon","Circle","LineString","Image","Text"],hybrid:["Polygon","LineString"]},lk={image:["Default"],hybrid:["Image","Text","Default"],vector:uj};k=jk.prototype;k.ia=function(){Mc(ii,"clear",this.Xi,this);mj.prototype.ia.call(this)}; 
     275k.$c=function(a,b){var c=this.a,d=c.g;this.B!=d&&(this.f.length=0,c=c.l,this.context||"vector"==c||(this.context=hg()),this.context&&"vector"==c&&(this.context=null));this.B=d;return mj.prototype.$c.apply(this,arguments)}; 
     276k.Sf=function(a,b,c,d,e,f,g,h,l){var m=a,n=this.a,p=b.pixelRatio,q=b.viewState.projection,r=n.g,u=n.get(ik)||null,v=mk(m,n);if(v.Be||v.wf!=r||v.eh!=u){var z=n.ha(),A=z.tileGrid,E=z.eb(q),S=E.Ta(m.ya[0]);E=E.Ma(m.l);for(var Ia=0,ta=m.a.length;Ia<ta;++Ia){var la=m.c[m.a[Ia]];if(3!=la.getState()){var ca=A.Ma(la.ya),ia=gb(E,ca),xa=Sa(ca,ia)?null:Fa(ia,n.f*S),Va=la.o,ic=!1;Xb(q,Va)||(ic=!0,la.vg(q));v.Be=!1;ia=new Uj(0,ia,S,p,z.s,this.N,n.f);var Xa=dk(S,p),Z=la.a;u&&u!==v.eh&&Z.sort(u);for(var Zb,Le=0, 
     277Uf=Z.length;Le<Uf;++Le)if(Zb=Z[Le],ic&&("tile-pixels"==Va.a&&(Va.Sj(ca),Va.Si(la.G())),Zb.U().mb(Va,q)),!xa||hb(xa,Zb.U().G())){var Id=void 0,te=Zb.ib();te?Id=te.call(Zb,S):(te=n.ib())&&(Id=te(Zb,S));if(Id){te=Xa;var Jh=ia;if(Id){var Mg=!1;if(Array.isArray(Id))for(var Ng=0,Wf=Id.length;Ng<Wf;++Ng)Mg=ek(Jh,Zb,Id[Ng],te,this.Yi,this)||Mg;else Mg=ek(Jh,Zb,Id,te,this.Yi,this);Zb=Mg}else Zb=!1;this.D=this.D||Zb;v.Be=v.Be||Zb}}Yj(ia);for(var rf in ia.b);ca=m.ya.toString();xa=ia;la.f[x(n)+","+ca]=xa}}v.wf= 
     278r;v.eh=u}if(this.context){v=b;n=this.a;q=mk(m,n);r=n.g;if((p=kk[n.l])&&q.fh!==r)for(q.fh=r,z=m.l,S=z[0],q=v.pixelRatio,rf=n.ha(),A=rf.eb(v.viewState.projection),r=A.Ta(S),u=nk(m,n),v=rf.Zd(S,q,v.viewState.projection),u.canvas.width=v[0],u.canvas.height=v[1],v=A.Ma(z),z=0,A=m.a.length;z<A;++z)S=m.c[m.a[z]],3!=S.getState()&&(rf=q/r,E=Xe(this.ca),cf(E,rf,-rf),df(E,-v[0],-v[3]),ok(S,n,m.ya.toString()).Na(u,E,0,{},p));mj.prototype.Sf.apply(this,arguments)}}; 
     279k.wa=function(a,b,c,d,e){var f=b.viewState.resolution,g=b.viewState.rotation;c=void 0==c?0:c;var h=this.a,l={},m=this.f;b=h.ha().eb(b.viewState.projection);var n;var p=0;for(n=m.length;p<n;++p){var q=m[p];var r=q.l;r=b.Ma(r,this.T);var u=Fa(r,c*f,u);if(Ja(u,a)){r=0;for(var v=q.a.length;r<v;++r){var z=q.c[q.a[r]];if(3!=z.getState()){z=ok(z,h,q.ya.toString());var A=A||z.wa(a,f,g,c,{},function(a){var b=x(a).toString();if(!(b in l))return l[b]=!0,d.call(e,a,h)},null)}}}}return A}; 
     280k.Xi=function(){var a=this.a;a.Jb()&&void 0!==this.B&&a.u()};k.Yi=function(){Mi(this)}; 
     281k.pf=function(a,b,c){var d=this.a,e=d.D?{}:null,f=d.ha(),g=d.l,h=lk[g],l=b.pixelRatio,m=b.viewState.rotation,n=b.size;if(m){var p=Math.round(l*n[0]/2);var q=Math.round(l*n[1]/2);qi(a,-m,p,q)}e&&this.N.clear();l=this.f;f=f.eb(b.viewState.projection);n=[];for(var r=[],u=l.length-1;0<=u;--u){var v=l[u];if(5!=v.getState())for(var z=v.ya,A=f.Ma(z)[0]-f.Ma(v.l)[0],E=void 0,S=0,Ia=v.a.length;S<Ia;++S){var ta=v.c[v.a[S]];if(3!=ta.getState()){var la=ok(ta,d,z.toString()),ca;if(!(ca="vector"==g))a:{ca=void 0; 
     282for(ca in la.b)for(var ia=la.b[ca],xa=0,Va=h.length;xa<Va;++xa)if(h[xa]in ia){ca=!0;break a}ca=!1}if(ca){E||(E=$i(this,b,A));ta=ta.ya[0];ca=ak(la,E);a.save();a.globalAlpha=c.opacity;ia=0;for(xa=n.length;ia<xa;++ia)Va=n[ia],ta<r[ia]&&(a.beginPath(),a.moveTo(ca[0],ca[1]),a.lineTo(ca[2],ca[3]),a.lineTo(ca[4],ca[5]),a.lineTo(ca[6],ca[7]),a.moveTo(Va[6],Va[7]),a.lineTo(Va[4],Va[5]),a.lineTo(Va[2],Va[3]),a.lineTo(Va[0],Va[1]),a.clip());la.Na(a,E,m,{},h,e);a.restore();n.push(ca);r.push(ta)}}}}if(e)for(d= 
     283a,g=Object.keys(e).map(Number).sort(dc),h={},l=0,f=g.length;l<f;++l)for(n=e[g[l].toString()],r=0,u=n.length;r<u;)v=n[r++],z=n[r++],v.Na(d,z,m,h);m&&qi(a,m,p,q);mj.prototype.pf.apply(this,arguments)};qg("MAP_RENDERER",kj);rg([bj,mj,hk,jk]);function H(a){a=kb({},a);delete a.renderer;a.controls||(a.controls=Fg());a.interactions||(a.interactions=Zh());G.call(this,a)}w(H,G);function pk(a){Vc.call(this);a=a?a:{};this.a=null;y(this,Xc(qk),this.$m,this);this.rg(void 0!==a.tracking?a.tracking:!1)}w(pk,Vc);k=pk.prototype;k.ia=function(){this.rg(!1);Vc.prototype.ia.call(this)}; 
     284k.Dp=function(a){if(null!==a.alpha){var b=va(a.alpha);this.set(rk,b);"boolean"===typeof a.absolute&&a.absolute?this.set(sk,b):"number"===typeof a.webkitCompassHeading&&-1!=a.webkitCompassAccuracy&&this.set(sk,va(a.webkitCompassHeading))}null!==a.beta&&this.set(tk,va(a.beta));null!==a.gamma&&this.set(uk,va(a.gamma));this.u()};k.Ym=function(){return this.get(rk)};k.ll=function(){return this.get(tk)};k.ql=function(){return this.get(uk)};k.Zm=function(){return this.get(sk)};k.li=function(){return this.get(qk)}; 
     285k.$m=function(){if(qd){var a=this.li();a&&!this.a?this.a=y(window,"deviceorientation",this.Dp,this):a||null===this.a||(Gc(this.a),this.a=null)}};k.rg=function(a){this.set(qk,a)};var rk="alpha",tk="beta",uk="gamma",sk="heading",qk="tracking";function vk(a){this.i=a.opacity;this.s=a.rotateWithView;this.f=a.rotation;this.a=a.scale;this.v=a.snapToPixel}k=vk.prototype;k.hf=function(){return this.i};k.jf=function(){return this.s};k.kf=function(){return this.f};k.lf=function(){return this.a};k.Ke=function(){return this.v};k.Ed=function(a){this.i=a};k.mf=function(a){this.f=a};k.Fd=function(a){this.a=a};function wk(a){this.D=this.o=this.c=null;this.Xa=void 0!==a.fill?a.fill:null;this.oa=[0,0];this.l=a.points;this.b=void 0!==a.radius?a.radius:a.radius1;this.g=a.radius2;this.j=void 0!==a.angle?a.angle:0;this.Ya=void 0!==a.stroke?a.stroke:null;this.B=this.qa=this.C=null;this.N=a.atlasManager;xk(this,this.N);vk.call(this,{opacity:1,rotateWithView:void 0!==a.rotateWithView?a.rotateWithView:!1,rotation:void 0!==a.rotation?a.rotation:0,scale:1,snapToPixel:void 0!==a.snapToPixel?a.snapToPixel:!0})} 
     286w(wk,vk);k=wk.prototype;k.clone=function(){var a=new wk({fill:this.Fa()?this.Fa().clone():void 0,points:this.l,radius:this.b,radius2:this.g,angle:this.j,snapToPixel:this.v,stroke:this.Ga()?this.Ga().clone():void 0,rotation:this.f,rotateWithView:this.s,atlasManager:this.N});a.Ed(this.i);a.Fd(this.a);return a};k.Vc=function(){return this.C};k.ij=function(){return this.j};k.Fa=function(){return this.Xa};k.Eg=function(){return this.D};k.Y=function(){return this.o};k.He=function(){return this.B}; 
     287k.gf=function(){return 2};k.bd=function(){return this.oa};k.jj=function(){return this.l};k.kj=function(){return this.b};k.Zh=function(){return this.g};k.oc=function(){return this.qa};k.Ga=function(){return this.Ya};k.gi=function(){};k.load=function(){};k.Yj=function(){}; 
     288function xk(a,b){var c="",d="",e=0,f=null,g=0,h=0;if(a.Ya){var l=a.Ya.a;null===l&&(l=gi);l=zi(l);h=a.Ya.c;void 0===h&&(h=1);f=a.Ya.g;g=a.Ya.i;od||(f=null,g=0);d=a.Ya.j;void 0===d&&(d="round");c=a.Ya.f;void 0===c&&(c="round");e=a.Ya.l;void 0===e&&(e=10)}var m=2*(a.b+h)+1;c={strokeStyle:l,Wj:h,size:m,lineCap:c,lineDash:f,lineDashOffset:g,lineJoin:d,miterLimit:e};if(void 0===b){var n=hg(m,m);a.o=n.canvas;b=m=a.o.width;a.Jh(c,n,0,0);a.Xa?a.D=a.o:(n=hg(c.size,c.size),a.D=n.canvas,a.Ih(c,n,0,0))}else m= 
     289Math.round(m),(d=!a.Xa)&&(n=a.Ih.bind(a,c)),a.Ya?(e=a.Ya,void 0===e.b&&(e.b="s",e.b=e.a?"string"===typeof e.a?e.b+e.a:e.b+x(e.a).toString():e.b+"-",e.b+=","+(void 0!==e.f?e.f.toString():"-")+","+(e.g?e.g.toString():"-")+","+(void 0!==e.i?e.i:"-")+","+(void 0!==e.j?e.j:"-")+","+(void 0!==e.l?e.l.toString():"-")+","+(void 0!==e.c?e.c.toString():"-")),e=e.b):e="-",a.Xa?(f=a.Xa,void 0===f.a&&(f.a=f.b instanceof CanvasPattern||f.b instanceof CanvasGradient?x(f.b).toString():"f"+(f.b?xi(f.b):"-")),f=f.a): 
     290f="-",a.c&&e==a.c[1]&&f==a.c[2]&&a.b==a.c[3]&&a.g==a.c[4]&&a.j==a.c[5]&&a.l==a.c[6]||(a.c=["r"+e+f+(void 0!==a.b?a.b.toString():"-")+(void 0!==a.g?a.g.toString():"-")+(void 0!==a.j?a.j.toString():"-")+(void 0!==a.l?a.l.toString():"-"),e,f,a.b,a.g,a.j,a.l]),n=b.add(a.c[0],m,m,a.Jh.bind(a,c),n),a.o=n.image,a.oa=[n.offsetX,n.offsetY],b=n.image.width,a.D=d?n.Bm:a.o;a.C=[m/2,m/2];a.qa=[m,m];a.B=[b,b]} 
     291k.Jh=function(a,b,c,d){b.setTransform(1,0,0,1,0,0);b.translate(c,d);b.beginPath();var e=this.l;if(Infinity===e)b.arc(a.size/2,a.size/2,this.b,0,2*Math.PI,!0);else{var f=void 0!==this.g?this.g:this.b;f!==this.b&&(e*=2);for(c=0;c<=e;c++){d=2*c*Math.PI/e-Math.PI/2+this.j;var g=0===c%2?this.b:f;b.lineTo(a.size/2+g*Math.cos(d),a.size/2+g*Math.sin(d))}}this.Xa&&(c=this.Xa.b,null===c&&(c=ei),b.fillStyle=zi(c),b.fill());this.Ya&&(b.strokeStyle=a.strokeStyle,b.lineWidth=a.Wj,a.lineDash&&(b.setLineDash(a.lineDash), 
     292b.lineDashOffset=a.lineDashOffset),b.lineCap=a.lineCap,b.lineJoin=a.lineJoin,b.miterLimit=a.miterLimit,b.stroke());b.closePath()}; 
     293k.Ih=function(a,b,c,d){b.setTransform(1,0,0,1,0,0);b.translate(c,d);b.beginPath();c=this.l;if(Infinity===c)b.arc(a.size/2,a.size/2,this.b,0,2*Math.PI,!0);else{d=void 0!==this.g?this.g:this.b;d!==this.b&&(c*=2);var e;for(e=0;e<=c;e++){var f=2*e*Math.PI/c-Math.PI/2+this.j;var g=0===e%2?this.b:d;b.lineTo(a.size/2+g*Math.cos(f),a.size/2+g*Math.sin(f))}}b.fillStyle=ei;b.fill();this.Ya&&(b.strokeStyle=a.strokeStyle,b.lineWidth=a.Wj,a.lineDash&&(b.setLineDash(a.lineDash),b.lineDashOffset=a.lineDashOffset), 
     294b.stroke());b.closePath()};function yk(a){a=a||{};wk.call(this,{points:Infinity,fill:a.fill,radius:a.radius,snapToPixel:a.snapToPixel,stroke:a.stroke,atlasManager:a.atlasManager})}w(yk,wk);yk.prototype.clone=function(){var a=new yk({fill:this.Fa()?this.Fa().clone():void 0,stroke:this.Ga()?this.Ga().clone():void 0,radius:this.b,snapToPixel:this.v,atlasManager:this.N});a.Ed(this.i);a.Fd(this.a);return a};yk.prototype.fd=function(a){this.b=a;xk(this,this.N)};function zk(a){a=a||{};this.b=void 0!==a.color?a.color:null;this.a=void 0}zk.prototype.clone=function(){var a=this.b;return new zk({color:a&&a.slice?a.slice():a||void 0})};zk.prototype.g=function(){return this.b};zk.prototype.c=function(a){this.b=a;this.a=void 0};function Ak(a){a=a||{};this.a=void 0!==a.color?a.color:null;this.f=a.lineCap;this.g=void 0!==a.lineDash?a.lineDash:null;this.i=a.lineDashOffset;this.j=a.lineJoin;this.l=a.miterLimit;this.c=a.width;this.b=void 0}k=Ak.prototype;k.clone=function(){var a=this.a;return new Ak({color:a&&a.slice?a.slice():a||void 0,lineCap:this.f,lineDash:this.g?this.g.slice():void 0,lineDashOffset:this.i,lineJoin:this.j,miterLimit:this.l,width:this.c})};k.pp=function(){return this.a};k.vl=function(){return this.f}; 
     295k.qp=function(){return this.g};k.wl=function(){return this.i};k.xl=function(){return this.j};k.Dl=function(){return this.l};k.rp=function(){return this.c};k.sp=function(a){this.a=a;this.b=void 0};k.yq=function(a){this.f=a;this.b=void 0};k.setLineDash=function(a){this.g=a;this.b=void 0};k.zq=function(a){this.i=a;this.b=void 0};k.Aq=function(a){this.j=a;this.b=void 0};k.Eq=function(a){this.l=a;this.b=void 0};k.Kq=function(a){this.c=a;this.b=void 0};function Bk(a){a=a||{};this.Uc=null;this.cb=Ck;void 0!==a.geometry&&this.Va(a.geometry);this.Xa=void 0!==a.fill?a.fill:null;this.M=void 0!==a.image?a.image:null;this.pc=void 0!==a.renderer?a.renderer:null;this.Ya=void 0!==a.stroke?a.stroke:null;this.ta=void 0!==a.text?a.text:null;this.bk=a.zIndex}k=Bk.prototype; 
     296k.clone=function(){var a=this.U();a&&a.clone&&(a=a.clone());return new Bk({geometry:a,fill:this.Fa()?this.Fa().clone():void 0,image:this.Y()?this.Y().clone():void 0,stroke:this.Ga()?this.Ga().clone():void 0,text:this.Ka()?this.Ka().clone():void 0,zIndex:this.Ba()})};k.Ie=function(){return this.pc};k.Iq=function(a){this.pc=a};k.U=function(){return this.Uc};k.rl=function(){return this.cb};k.Fa=function(){return this.Xa};k.yf=function(a){this.Xa=a};k.Y=function(){return this.M}; 
     297k.ih=function(a){this.M=a};k.Ga=function(){return this.Ya};k.Af=function(a){this.Ya=a};k.Ka=function(){return this.ta};k.Hd=function(a){this.ta=a};k.Ba=function(){return this.bk};k.Va=function(a){"function"===typeof a?this.cb=a:"string"===typeof a?this.cb=function(b){return b.get(a)}:a?void 0!==a&&(this.cb=function(){return a}):this.cb=Ck;this.Uc=a};k.$b=function(a){this.bk=a}; 
     298function Dk(a){if("function"!==typeof a){if(Array.isArray(a))var b=a;else oa(a instanceof Bk,41),b=[a];a=function(){return b}}return a}var Ek=null;function Fk(){if(!Ek){var a=new zk({color:"rgba(255,255,255,0.4)"}),b=new Ak({color:"#3399CC",width:1.25});Ek=[new Bk({image:new yk({fill:a,stroke:b,radius:5}),fill:a,stroke:b})]}return Ek} 
     299function Gk(){var a={},b=[255,255,255,1],c=[0,153,255,1];a.Polygon=[new Bk({fill:new zk({color:[255,255,255,.5]})})];a.MultiPolygon=a.Polygon;a.LineString=[new Bk({stroke:new Ak({color:b,width:5})}),new Bk({stroke:new Ak({color:c,width:3})})];a.MultiLineString=a.LineString;a.Circle=a.Polygon.concat(a.LineString);a.Point=[new Bk({image:new yk({radius:6,fill:new zk({color:c}),stroke:new Ak({color:b,width:1.5})}),zIndex:Infinity})];a.MultiPoint=a.Point;a.GeometryCollection=a.Polygon.concat(a.LineString, 
     300a.Point);return a}function Ck(a){return a.U()};function Hk(a){Vc.call(this);this.c=void 0;this.a="geometry";this.f=null;this.j=void 0;this.i=null;y(this,Xc(this.a),this.Oe,this);void 0!==a&&(a instanceof gf||!a?this.Va(a):this.H(a))}w(Hk,Vc);k=Hk.prototype;k.clone=function(){var a=new Hk(this.L());a.Lc(this.a);var b=this.U();b&&a.Va(b.clone());(b=this.f)&&a.sg(b);return a};k.U=function(){return this.get(this.a)};k.an=function(){return this.c};k.sl=function(){return this.a};k.bn=function(){return this.f};k.ib=function(){return this.j};k.bm=function(){this.u()}; 
     301k.Oe=function(){this.i&&(Gc(this.i),this.i=null);var a=this.U();a&&(this.i=y(a,"change",this.bm,this));this.u()};k.Va=function(a){this.set(this.a,a)};k.sg=function(a){this.j=(this.f=a)?Ik(a):void 0;this.u()};k.qc=function(a){this.c=a;this.u()};k.Lc=function(a){Mc(this,Xc(this.a),this.Oe,this);this.a=a;y(this,Xc(this.a),this.Oe,this);this.Oe()}; 
     302function Ik(a){var b;if("function"===typeof a)2==a.length?b=function(b){return a(this,b)}:b=a;else{if(Array.isArray(a))var c=a;else oa(a instanceof Bk,41),c=[a];b=function(){return c}}return b};function Jk(a){Vc.call(this);a=a||{};this.a=null;this.i=$b;this.f=new ob(6378137);this.c=void 0;y(this,Xc("projection"),this.en,this);y(this,Xc("tracking"),this.fn,this);void 0!==a.projection&&this.oi(a.projection);void 0!==a.trackingOptions&&this.Rj(a.trackingOptions);this.Ue(void 0!==a.tracking?a.tracking:!1)}w(Jk,Vc);k=Jk.prototype;k.ia=function(){this.Ue(!1);Vc.prototype.ia.call(this)};k.en=function(){var a=this.mi();a&&(this.i=Pb(Ob("EPSG:4326"),a),this.a&&this.set("position",this.i(this.a)))}; 
     303k.fn=function(){if(rd){var a=this.ni();a&&void 0===this.c?this.c=navigator.geolocation.watchPosition(this.Pp.bind(this),this.Qp.bind(this),this.ai()):a||void 0===this.c||(navigator.geolocation.clearWatch(this.c),this.c=void 0)}}; 
     304k.Pp=function(a){a=a.coords;this.set("accuracy",a.accuracy);this.set("altitude",null===a.altitude?void 0:a.altitude);this.set("altitudeAccuracy",null===a.altitudeAccuracy?void 0:a.altitudeAccuracy);this.set("heading",null===a.heading?void 0:va(a.heading));this.a?(this.a[0]=a.longitude,this.a[1]=a.latitude):this.a=[a.longitude,a.latitude];var b=this.i(this.a);this.set("position",b);this.set("speed",null===a.speed?void 0:a.speed);a=Qf(this.f,this.a,a.accuracy);a.Rc(this.i);this.set("accuracyGeometry", 
     305a);this.u()};k.Qp=function(a){a.type="error";this.Ue(!1);this.b(a)};k.el=function(){return this.get("accuracy")};k.fl=function(){return this.get("accuracyGeometry")||null};k.gl=function(){return this.get("altitude")};k.hl=function(){return this.get("altitudeAccuracy")};k.cn=function(){return this.get("heading")};k.dn=function(){return this.get("position")};k.mi=function(){return this.get("projection")};k.Ol=function(){return this.get("speed")};k.ni=function(){return this.get("tracking")};k.ai=function(){return this.get("trackingOptions")}; 
     306k.oi=function(a){this.set("projection",Ob(a))};k.Ue=function(a){this.set("tracking",a)};k.Rj=function(a){this.set("trackingOptions",a)};function Kk(a,b,c,d,e,f){var g=NaN,h=NaN,l=(c-b)/d;if(1===l)g=a[b],h=a[b+1];else if(2==l)g=(1-e)*a[b]+e*a[b+d],h=(1-e)*a[b+1]+e*a[b+d+1];else if(0!==l){h=a[b];l=a[b+1];var m=0;g=[0];var n;for(n=b+d;n<c;n+=d){var p=a[n],q=a[n+1];m+=Math.sqrt((p-h)*(p-h)+(q-l)*(q-l));g.push(m);h=p;l=q}c=e*m;l=0;m=g.length;for(n=!1;l<m;)e=l+(m-l>>1),h=+dc(g[e],c),0>h?l=e+1:(m=e,n=!h);e=n?l:~l;0>e?(c=(c-g[-e-2])/(g[-e-1]-g[-e-2]),b+=(-e-2)*d,g=ya(a[b],a[b+d],c),h=ya(a[b+1],a[b+d+1],c)):(g=a[b+e*d],h=a[b+e*d+1])}return f? 
     307(f[0]=g,f[1]=h,f):[g,h]}function Sk(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(ya(a[(b-1)*d+g],a[b*d+g],f));c.push(e);return c} 
     308function Tk(a,b,c,d,e,f){var g=0;if(f)return Sk(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 Sk(a,g,h,c,d,!1);g=h}}return null};function I(a,b){hf.call(this);this.c=null;this.o=this.D=this.j=-1;this.na(a,b)}w(I,hf);k=I.prototype;k.Fk=function(a){this.A?gc(this.A,a):this.A=a.slice();this.u()};k.clone=function(){var a=new I(null);a.ba(this.ja,this.A.slice());return a};k.Nb=function(a,b,c,d){if(d<Ha(this.G(),a,b))return d;this.o!=this.g&&(this.D=Math.sqrt(pf(this.A,0,this.A.length,this.a,0)),this.o=this.g);return tf(this.A,0,this.A.length,this.a,this.D,!1,a,b,c,d)}; 
     309k.dl=function(a,b){return Jf(this.A,0,this.A.length,this.a,a,b)};k.Tn=function(a,b){return"XYM"!=this.ja&&"XYZM"!=this.ja?null:Sk(this.A,0,this.A.length,this.a,a,void 0!==b?b:!1)};k.W=function(){return yf(this.A,0,this.A.length,this.a)};k.Ph=function(a,b){return Kk(this.A,0,this.A.length,this.a,a,b)};k.Un=function(){return tj(this.A,0,this.A.length,this.a)};k.Fe=function(){this.j!=this.g&&(this.c=this.Ph(.5,this.c),this.j=this.g);return this.c}; 
     310k.xd=function(a){var b=[];b.length=Bf(this.A,0,this.A.length,this.a,a,b,0);a=new I(null);a.ba("XY",b);return a};k.S=function(){return"LineString"};k.$a=function(a){return Kf(this.A,0,this.A.length,this.a,a)};k.na=function(a,b){a?(lf(this,b,a,1),this.A||(this.A=[]),this.A.length=wf(this.A,0,a,this.a),this.u()):this.ba("XY",null)};k.ba=function(a,b){kf(this,a,b);this.u()};function Uk(a,b,c){for(var d=[],e=a(0),f=a(1),g=b(e),h=b(f),l=[f,e],m=[h,g],n=[1,0],p={},q=1E5,r,u,v,z,A;0<--q&&0<n.length;)v=n.pop(),e=l.pop(),g=m.pop(),f=v.toString(),f in p||(d.push(g[0],g[1]),p[f]=!0),z=n.pop(),f=l.pop(),h=m.pop(),A=(v+z)/2,r=a(A),u=b(r),sa(u[0],u[1],g[0],g[1],h[0],h[1])<c?(d.push(h[0],h[1]),f=z.toString(),p[f]=!0):(n.push(z,A,A,v),m.push(h,u,u,g),l.push(f,r,r,e));return d}function Vk(a,b,c,d,e){var f=Ob("EPSG:4326");return Uk(function(d){return[a,b+(c-b)*d]},Yb(f,d),e)} 
     311function Wk(a,b,c,d,e){var f=Ob("EPSG:4326");return Uk(function(d){return[b+(c-b)*d,a]},Yb(f,d),e)};function J(a){a=a||{};this.a=a.font;this.i=a.rotation;this.l=a.rotateWithView;this.b=a.scale;this.ta=a.text;this.f=a.textAlign;this.j=a.textBaseline;this.Xa=void 0!==a.fill?a.fill:new zk({color:"#333"});this.s=void 0!==a.maxAngle?a.maxAngle:Math.PI/4;this.o=void 0!==a.placement?a.placement:"point";var b=void 0===a.overflow?a.exceedLength:a.overflow;this.v=void 0!==b?b:!1;this.Ya=void 0!==a.stroke?a.stroke:null;this.g=void 0!==a.offsetX?a.offsetX:0;this.c=void 0!==a.offsetY?a.offsetY:0;this.N=a.backgroundFill? 
     312a.backgroundFill:null;this.D=a.backgroundStroke?a.backgroundStroke:null;this.C=void 0===a.padding?null:a.padding}k=J.prototype;k.clone=function(){return new J({font:this.a,placement:this.o,maxAngle:this.s,overflow:this.v,rotation:this.i,rotateWithView:this.l,scale:this.b,text:this.Ka(),textAlign:this.f,textBaseline:this.j,fill:this.Fa()?this.Fa().clone():void 0,stroke:this.Ga()?this.Ga().clone():void 0,offsetX:this.g,offsetY:this.c})};k.Gl=function(){return this.v};k.pl=function(){return this.a}; 
     313k.Bl=function(){return this.s};k.Kl=function(){return this.o};k.El=function(){return this.g};k.Fl=function(){return this.c};k.Fa=function(){return this.Xa};k.tp=function(){return this.l};k.up=function(){return this.i};k.vp=function(){return this.b};k.Ga=function(){return this.Ya};k.Ka=function(){return this.ta};k.Ql=function(){return this.f};k.Rl=function(){return this.j};k.jl=function(){return this.N};k.kl=function(){return this.D};k.Il=function(){return this.C};k.Fq=function(a){this.v=a}; 
     314k.Jj=function(a){this.a=a};k.Bq=function(a){this.s=a};k.Nj=function(a){this.g=a};k.Oj=function(a){this.c=a};k.Hq=function(a){this.o=a};k.yf=function(a){this.Xa=a};k.wp=function(a){this.i=a};k.lj=function(a){this.b=a};k.Af=function(a){this.Ya=a};k.Hd=function(a){this.ta=a};k.Qj=function(a){this.f=a};k.Jq=function(a){this.j=a};k.sq=function(a){this.N=a};k.tq=function(a){this.D=a};k.Gq=function(a){this.C=a};function Xk(a){a=a||{};this.i=this.v=null;this.j=this.f=Infinity;this.s=this.l=-Infinity;this.qa=this.oa=Infinity;this.O=this.T=-Infinity;this.ua=void 0!==a.targetSize?a.targetSize:100;this.ab=void 0!==a.maxLines?a.maxLines:100;this.g=[];this.c=[];this.ra=void 0!==a.strokeStyle?a.strokeStyle:Yk;this.D=this.o=void 0;this.a=this.b=this.N=null;1==a.showLabels&&(this.$=void 0==a.lonLabelFormatter?Ce.bind(this,"EW"):a.lonLabelFormatter,this.Wa=void 0==a.latLabelFormatter?Ce.bind(this,"NS"):a.latLabelFormatter, 
     315this.ca=void 0==a.lonLabelPosition?0:a.lonLabelPosition,this.V=void 0==a.latLabelPosition?1:a.latLabelPosition,this.B=void 0!==a.lonLabelStyle?a.lonLabelStyle:new J({font:"12px Calibri,sans-serif",textBaseline:"bottom",fill:new zk({color:"rgba(0,0,0,1)"}),stroke:new Ak({color:"rgba(255,255,255,1)",width:3})}),this.C=void 0!==a.latLabelStyle?a.latLabelStyle:new J({font:"12px Calibri,sans-serif",textAlign:"end",fill:new zk({color:"rgba(0,0,0,1)"}),stroke:new Ak({color:"rgba(255,255,255,1)",width:3})}), 
     316this.b=[],this.a=[]);this.setMap(void 0!==a.map?a.map:null)}var Yk=new Ak({color:"rgba(0,0,0,0.2)"}),Zk=[90,45,30,20,10,5,2,1,.5,.2,.1,.05,.01,.005,.002,.001];function $k(a,b,c,d,e,f,g){var h=g;c=Vk(b,c,d,a.i,e);h=void 0!==a.g[h]?a.g[h]:new I(null);h.ba("XY",c);hb(h.G(),f)&&(a.b&&(c=g,d=h.da(),f=[d[0],pa(f[1]+Math.abs(f[1]-f[3])*a.ca,Math.max(f[1],d[1]),Math.min(f[3],d[d.length-1]))],c=void 0!==a.b[c]?a.b[c].Qd:new C(null),c.na(f),a.b[g]={Qd:c,text:a.$(b)}),a.g[g++]=h);return g} 
     317function al(a,b,c,d,e,f,g){var h=g;c=Wk(b,c,d,a.i,e);h=void 0!==a.c[h]?a.c[h]:new I(null);h.ba("XY",c);hb(h.G(),f)&&(a.a&&(c=g,d=h.da(),f=[pa(f[0]+Math.abs(f[0]-f[2])*a.V,Math.max(f[0],d[0]),Math.min(f[2],d[d.length-2])),d[1]],c=void 0!==a.a[c]?a.a[c].Qd:new C(null),c.na(f),a.a[g]={Qd:c,text:a.Wa(b)}),a.c[g++]=h);return g}k=Xk.prototype;k.gn=function(){return this.v};k.Cl=function(){return this.g};k.Jl=function(){return this.c}; 
     318k.di=function(a){var b=a.vectorContext,c=a.frameState;a=c.extent;var d=c.viewState,e=d.center,f=d.projection;d=d.resolution;c=c.pixelRatio;c=d*d/(4*c*c);if(!this.i||!Xb(this.i,f)){var g=Ob("EPSG:4326"),h=f.G(),l=f.oe,m=bc(l,g,f),n=l[2],p=l[1],q=l[0],r=m[3],u=m[2],v=m[1];m=m[0];this.f=l[3];this.j=n;this.l=p;this.s=q;this.oa=r;this.qa=u;this.T=v;this.O=m;this.o=Yb(g,f);this.D=Yb(f,g);this.N=this.D(eb(h));this.i=f}f=this.N[0];g=this.N[1];h=-1;n=Math.pow(this.ua*d,2);p=[];q=[];d=0;for(l=Zk.length;d<l;++d){r= 
     319Zk[d]/2;p[0]=f-r;p[1]=g-r;q[0]=f+r;q[1]=g+r;this.o(p,p);this.o(q,q);r=Math.pow(q[0]-p[0],2)+Math.pow(q[1]-p[1],2);if(r<=n)break;h=Zk[d]}d=h;if(-1==d)this.g.length=this.c.length=0,this.b&&(this.b.length=0),this.a&&(this.a.length=0);else{f=this.D(e);e=f[0];f=f[1];g=this.ab;l=[Math.max(a[0],this.O),Math.max(a[1],this.T),Math.min(a[2],this.qa),Math.min(a[3],this.oa)];l=bc(l,this.i,"EPSG:4326");p=l[3];h=l[2];q=l[1];r=l[0];e=Math.floor(e/d)*d;u=pa(e,this.s,this.j);n=$k(this,u,q,p,c,a,0);for(l=0;u!=this.s&& 
     320l++<g;)u=Math.max(u-d,this.s),n=$k(this,u,q,p,c,a,n);u=pa(e,this.s,this.j);for(l=0;u!=this.j&&l++<g;)u=Math.min(u+d,this.j),n=$k(this,u,q,p,c,a,n);this.g.length=n;this.b&&(this.b.length=n);f=Math.floor(f/d)*d;e=pa(f,this.l,this.f);n=al(this,e,r,h,c,a,0);for(l=0;e!=this.l&&l++<g;)e=Math.max(e-d,this.l),n=al(this,e,r,h,c,a,n);e=pa(f,this.l,this.f);for(l=0;e!=this.f&&l++<g;)e=Math.min(e+d,this.f),n=al(this,e,r,h,c,a,n);this.c.length=n;this.a&&(this.a.length=n)}b.Oa(null,this.ra);a=0;for(c=this.g.length;a< 
     321c;++a)e=this.g[a],b.Hb(e);a=0;for(c=this.c.length;a<c;++a)e=this.c[a],b.Hb(e);if(this.b)for(a=0,c=this.b.length;a<c;++a)e=this.b[a],this.B.Hd(e.text),b.nb(this.B),b.Hb(e.Qd);if(this.a)for(a=0,c=this.a.length;a<c;++a)e=this.a[a],this.C.Hd(e.text),b.nb(this.C),b.Hb(e.Qd)};k.setMap=function(a){this.v&&(this.v.J("postcompose",this.di,this),this.v.render());a&&(a.I("postcompose",this.di,this),a.render());this.v=a};function bl(a,b,c,d,e,f){$h.call(this,a,b,c,0);this.i=d;this.M=new Image;null!==e&&(this.M.crossOrigin=e);this.g=null;this.state=0;this.c=f}w(bl,$h);k=bl.prototype;k.Y=function(){return this.M};k.kn=function(){this.state=3;this.g.forEach(Gc);this.g=null;this.u()};k.ln=function(){void 0===this.resolution&&(this.resolution=db(this.extent)/this.M.height);this.state=2;this.g.forEach(Gc);this.g=null;this.u()}; 
     322k.load=function(){if(0==this.state||3==this.state)this.state=1,this.u(),this.g=[Lc(this.M,"error",this.kn,this),Lc(this.M,"load",this.ln,this)],this.c(this,this.i)};k.ih=function(a){this.M=a};function cl(a,b,c){Sc.call(this);c=c?c:{};this.ya=a;this.state=b;this.g=null;this.key="";this.j=void 0===c.transition?250:c.transition;this.s={}}w(cl,Sc);cl.prototype.u=function(){this.b("change")};cl.prototype.lb=function(){return this.key+"/"+this.ya};function pj(a){if(!a.g)return a;var b=a.g;do{if(2==b.getState())return b;b=b.g}while(b);return a}function dl(a){if(a.g){var b=a.g;do{if(2==b.getState()){b.g=null;break}else 1==b.getState()?a=b:0==b.getState()?a.g=b.g:a=b;b=a.g}while(b)}} 
     323cl.prototype.i=function(){return this.ya};cl.prototype.getState=function(){return this.state};function oj(a,b){a.state=b;a.u()}function qj(a,b,c){if(!a.j)return 1;var d=a.s[b];if(!d)d=c,a.s[b]=d;else if(-1===d)return 1;b=c-d+1E3/60;return b>=a.j?1:Me(b/a.j)};function el(a,b,c,d,e,f){cl.call(this,a,b,f);this.f=d;this.l=c;this.M=new Image;null!==d&&(this.M.crossOrigin=d);this.c=null;this.v=e}w(el,cl);k=el.prototype;k.ia=function(){1==this.state&&(fl(this),this.M=gl());this.g&&Pc(this.g);this.state=5;this.u();cl.prototype.ia.call(this)};k.Y=function(){return this.M};k.lb=function(){return this.l};k.hn=function(){this.state=3;fl(this);this.M=gl();this.u()};k.jn=function(){this.state=this.M.naturalWidth&&this.M.naturalHeight?2:4;fl(this);this.u()}; 
     324k.load=function(){3==this.state&&(this.state=0,this.M=new Image,null!==this.f&&(this.M.crossOrigin=this.f));0==this.state&&(this.state=1,this.u(),this.c=[Lc(this.M,"error",this.hn,this),Lc(this.M,"load",this.jn,this)],this.v(this,this.l))};function fl(a){a.c.forEach(Gc);a.c=null}function gl(){var a=hg(1,1);a.fillStyle="rgba(0,0,0,0)";a.fillRect(0,0,1,1);return a.canvas};function hl(a){this.b=a};function il(a){this.b=a}w(il,hl);il.prototype.S=function(){return 35632};function jl(a){this.b=a}w(jl,hl);jl.prototype.S=function(){return 35633};var kl=new il("precision mediump float;varying vec2 a;varying vec2 b;varying float c;varying float d;uniform float m;uniform vec4 n;uniform vec4 o;uniform vec2 p;void main(void){vec2 windowCenter=vec2((a.x+1.0)/2.0*p.x*d,(a.y+1.0)/2.0*p.y*d);vec2 windowOffset=vec2((b.x+1.0)/2.0*p.x*d,(b.y+1.0)/2.0*p.y*d);float radius=length(windowCenter-windowOffset);float dist=length(windowCenter-gl_FragCoord.xy);if(dist>radius+c){if(o.a==0.0){gl_FragColor=n;}else{gl_FragColor=o;}gl_FragColor.a=gl_FragColor.a-(dist-(radius+c));}else if(n.a==0.0){gl_FragColor=o;if(dist<radius-c){gl_FragColor.a=gl_FragColor.a-(radius-c-dist);}} else{gl_FragColor=n;float strokeDist=radius-c;float antialias=2.0*d;if(dist>strokeDist){gl_FragColor=o;}else if(dist>=strokeDist-antialias){float step=smoothstep(strokeDist-antialias,strokeDist,dist);gl_FragColor=mix(n,o,step);}} gl_FragColor.a=gl_FragColor.a*m;if(gl_FragColor.a<=0.0){discard;}}"), 
     325ll=new jl("varying vec2 a;varying vec2 b;varying float c;varying float d;attribute vec2 e;attribute float f;attribute float g;uniform mat4 h;uniform mat4 i;uniform mat4 j;uniform float k;uniform float l;void main(void){mat4 offsetMatrix=i*j;a=vec4(h*vec4(e,0.0,1.0)).xy;d=l;float lineWidth=k*l;c=lineWidth/2.0;if(lineWidth==0.0){lineWidth=2.0*l;}vec2 offset;float radius=g+3.0*l;//Until we get gl_VertexID in WebGL,we store an instruction.if(f==0.0){//Offsetting the edges of the triangle by lineWidth/2 is necessary,however//we should also leave some space for the antialiasing,thus we offset by lineWidth.offset=vec2(-1.0,1.0);}else if(f==1.0){offset=vec2(-1.0,-1.0);}else if(f==2.0){offset=vec2(1.0,-1.0);}else{offset=vec2(1.0,1.0);}gl_Position=h*vec4(e+offset*radius,0.0,1.0)+offsetMatrix*vec4(offset*lineWidth,0.0,0.0);b=vec4(h*vec4(e.x+g,e.y,0.0,1.0)).xy;if(distance(a,b)>20000.0){gl_Position=vec4(a,0.0,1.0);}}");function ml(a,b){this.g=a.getUniformLocation(b,"h");this.i=a.getUniformLocation(b,"i");this.c=a.getUniformLocation(b,"j");this.oa=a.getUniformLocation(b,"k");this.qa=a.getUniformLocation(b,"l");this.a=a.getUniformLocation(b,"m");this.C=a.getUniformLocation(b,"n");this.O=a.getUniformLocation(b,"o");this.T=a.getUniformLocation(b,"p");this.b=a.getAttribLocation(b,"e");this.j=a.getAttribLocation(b,"f");this.N=a.getAttribLocation(b,"g")};function nl(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function pl(a,b){a[0]=b[0];a[1]=b[1];a[4]=b[2];a[5]=b[3];a[12]=b[4];a[13]=b[5];return a};function ql(a,b){this.origin=eb(b);this.bb=We();this.Ea=We();this.La=We();this.V=nl();this.b=[];this.j=null;this.g=[];this.i=[];this.a=[];this.s=null;this.f=void 0}w(ql,Ai); 
     326ql.prototype.Na=function(a,b,c,d,e,f,g,h,l,m,n){var p=a.b;if(this.f){var q=p.isEnabled(p.STENCIL_TEST);var r=p.getParameter(p.STENCIL_FUNC);var u=p.getParameter(p.STENCIL_VALUE_MASK);var v=p.getParameter(p.STENCIL_REF);var z=p.getParameter(p.STENCIL_WRITEMASK);var A=p.getParameter(p.STENCIL_FAIL);var E=p.getParameter(p.STENCIL_PASS_DEPTH_PASS);var S=p.getParameter(p.STENCIL_PASS_DEPTH_FAIL);p.enable(p.STENCIL_TEST);p.clear(p.STENCIL_BUFFER_BIT);p.stencilMask(255);p.stencilFunc(p.ALWAYS,1,255);p.stencilOp(p.KEEP, 
     327p.KEEP,p.REPLACE);this.f.Na(a,b,c,d,e,f,g,h,l,m,n);p.stencilMask(0);p.stencilFunc(p.NOTEQUAL,1,255)}rl(a,34962,this.s);rl(a,34963,this.j);f=this.Bf(p,a,e,f);var Ia=Xe(this.bb);cf(Ia,2/(c*e[0]),2/(c*e[1]));bf(Ia,-d);df(Ia,-(b[0]-this.origin[0]),-(b[1]-this.origin[1]));b=Xe(this.La);cf(b,2/e[0],2/e[1]);e=Xe(this.Ea);0!==d&&bf(e,-d);p.uniformMatrix4fv(f.g,!1,pl(this.V,Ia));p.uniformMatrix4fv(f.i,!1,pl(this.V,b));p.uniformMatrix4fv(f.c,!1,pl(this.V,e));p.uniform1f(f.a,g);if(void 0===l)this.Od(p,a,h,!1); 
     328else{m?a=this.Ee(p,a,h,l,n):(p.clear(p.COLOR_BUFFER_BIT|p.DEPTH_BUFFER_BIT),this.Od(p,a,h,!0),a=(a=l(null))?a:void 0);var ta=a}this.Cf(p,f);this.f&&(q||p.disable(p.STENCIL_TEST),p.clear(p.STENCIL_BUFFER_BIT),p.stencilFunc(r,v,u),p.stencilMask(z),p.stencilOp(A,S,E));return ta};function sl(a,b,c,d){a.drawElements(4,d-c,b.f?5125:5123,c*(b.f?4:2))};var tl=[0,0,0,1],ul=[],vl=[0,0,0,1];function wl(a,b,c,d,e,f){a=(c-a)*(f-b)-(e-a)*(d-b);return a<=xl&&a>=-xl?void 0:0<a}var xl=Number.EPSILON||2.220446049250313E-16;function yl(a){this.b=void 0!==a?a:[];this.a=zl}var zl=35044;function Al(a,b){ql.call(this,a,b);this.v=null;this.l=[];this.o=[];this.N=0;this.c={fillColor:null,strokeColor:null,lineDash:null,lineDashOffset:void 0,lineWidth:void 0,u:!1}}w(Al,ql);k=Al.prototype; 
     329k.cc=function(a,b){var c=a.Bd(),d=a.pa();if(c){this.g.push(this.b.length);this.i.push(b);this.c.u&&(this.o.push(this.b.length),this.c.u=!1);this.N=c;a=a.da();a=Ue(a,0,2,d,-this.origin[0],-this.origin[1]);b=this.a.length;c=this.b.length;var e=b/4,f;for(f=0;2>f;f+=d)this.a[b++]=a[f],this.a[b++]=a[f+1],this.a[b++]=0,this.a[b++]=this.N,this.a[b++]=a[f],this.a[b++]=a[f+1],this.a[b++]=1,this.a[b++]=this.N,this.a[b++]=a[f],this.a[b++]=a[f+1],this.a[b++]=2,this.a[b++]=this.N,this.a[b++]=a[f],this.a[b++]= 
     330a[f+1],this.a[b++]=3,this.a[b++]=this.N,this.b[c++]=e,this.b[c++]=e+1,this.b[c++]=e+2,this.b[c++]=e+2,this.b[c++]=e+3,this.b[c++]=e,e+=4}else this.c.u&&(this.l.pop(),this.l.length&&(d=this.l[this.l.length-1],this.c.fillColor=d[0],this.c.strokeColor=d[1],this.c.lineWidth=d[2],this.c.u=!1))};k.gb=function(){this.s=new yl(this.a);this.j=new yl(this.b);this.g.push(this.b.length);0===this.o.length&&0<this.l.length&&(this.l=[]);this.b=this.a=null}; 
     331k.Db=function(a){var b=this.s,c=this.j;return function(){Bl(a,b);Bl(a,c)}};k.Bf=function(a,b,c,d){var e=Cl(b,kl,ll);if(this.v)var f=this.v;else this.v=f=new ml(a,e);b.cd(e);a.enableVertexAttribArray(f.b);a.vertexAttribPointer(f.b,2,5126,!1,16,0);a.enableVertexAttribArray(f.j);a.vertexAttribPointer(f.j,1,5126,!1,16,8);a.enableVertexAttribArray(f.N);a.vertexAttribPointer(f.N,1,5126,!1,16,12);a.uniform2fv(f.T,c);a.uniform1f(f.qa,d);return f}; 
     332k.Cf=function(a,b){a.disableVertexAttribArray(b.b);a.disableVertexAttribArray(b.j);a.disableVertexAttribArray(b.N)}; 
     333k.Od=function(a,b,c){if(nb(c)){var d=this.g[this.g.length-1];for(c=this.o.length-1;0<=c;--c){var e=this.o[c];var f=this.l[c];a.uniform4fv(this.v.C,f[0]);Dl(this,a,f[1],f[2]);sl(a,b,e,d);d=e}}else{var g=this.g.length-2;f=d=this.g[g+1];for(e=this.o.length-1;0<=e;--e){var h=this.l[e];a.uniform4fv(this.v.C,h[0]);Dl(this,a,h[1],h[2]);for(h=this.o[e];0<=g&&this.g[g]>=h;){var l=this.g[g];var m=this.i[g];m=x(m).toString();c[m]&&(d!==f&&sl(a,b,d,f),f=l);g--;d=l}d!==f&&sl(a,b,d,f);d=f=h}}}; 
     334k.Ee=function(a,b,c,d,e){var f,g;var h=this.g.length-2;var l=this.g[h+1];for(f=this.o.length-1;0<=f;--f){var m=this.l[f];a.uniform4fv(this.v.C,m[0]);Dl(this,a,m[1],m[2]);for(g=this.o[f];0<=h&&this.g[h]>=g;){m=this.g[h];var n=this.i[h];var p=x(n).toString();if(void 0===c[p]&&n.U()&&(void 0===e||hb(e,n.U().G()))&&(a.clear(a.COLOR_BUFFER_BIT|a.DEPTH_BUFFER_BIT),sl(a,b,m,l),l=d(n)))return l;h--;l=m}}};function Dl(a,b,c,d){b.uniform4fv(a.v.O,c);b.uniform1f(a.v.oa,d)} 
     335k.Oa=function(a,b){if(b){var c=b.g;this.c.lineDash=c?c:ul;c=b.i;this.c.lineDashOffset=c?c:0;c=b.a;c instanceof CanvasGradient||c instanceof CanvasPattern?c=vl:c=vi(c).map(function(a,b){return 3!=b?a/255:a})||vl;b=b.c;b=void 0!==b?b:1}else c=[0,0,0,0],b=0;a=a?a.b:[0,0,0,0];a instanceof CanvasGradient||a instanceof CanvasPattern?a=tl:a=vi(a).map(function(a,b){return 3!=b?a/255:a})||tl;this.c.strokeColor&&jc(this.c.strokeColor,c)&&this.c.fillColor&&jc(this.c.fillColor,a)&&this.c.lineWidth===b||(this.c.u= 
     336!0,this.c.fillColor=a,this.c.strokeColor=c,this.c.lineWidth=b,this.l.push([a,c,b]))};var El=new il("precision mediump float;varying vec2 a;varying float b;uniform float k;uniform sampler2D l;void main(void){vec4 texColor=texture2D(l,a);gl_FragColor.rgb=texColor.rgb;float alpha=texColor.a*b*k;if(alpha==0.0){discard;}gl_FragColor.a=alpha;}"),Fl=new jl("varying vec2 a;varying float b;attribute vec2 c;attribute vec2 d;attribute vec2 e;attribute float f;attribute float g;uniform mat4 h;uniform mat4 i;uniform mat4 j;void main(void){mat4 offsetMatrix=i;if(g==1.0){offsetMatrix=i*j;}vec4 offsets=offsetMatrix*vec4(e,0.0,0.0);gl_Position=h*vec4(c,0.0,1.0)+offsets;a=d;b=f;}");function Gl(a,b){this.g=a.getUniformLocation(b,"h");this.i=a.getUniformLocation(b,"i");this.c=a.getUniformLocation(b,"j");this.a=a.getUniformLocation(b,"k");this.b=a.getAttribLocation(b,"c");this.B=a.getAttribLocation(b,"d");this.v=a.getAttribLocation(b,"e");this.o=a.getAttribLocation(b,"f");this.D=a.getAttribLocation(b,"g")};function Hl(a,b){this.j=a;this.b=b;this.a={};this.c={};this.g={};this.s=this.v=this.i=this.l=null;(this.f=ec(da,"OES_element_index_uint"))&&b.getExtension("OES_element_index_uint");y(this.j,"webglcontextlost",this.zp,this);y(this.j,"webglcontextrestored",this.Ap,this)}w(Hl,Oc); 
     337function rl(a,b,c){var d=a.b,e=c.b,f=String(x(c));if(f in a.a)d.bindBuffer(b,a.a[f].buffer);else{var g=d.createBuffer();d.bindBuffer(b,g);var h;34962==b?h=new Float32Array(e):34963==b&&(h=a.f?new Uint32Array(e):new Uint16Array(e));d.bufferData(b,h,c.a);a.a[f]={tc:c,buffer:g}}}function Bl(a,b){var c=a.b;b=String(x(b));var d=a.a[b];c.isContextLost()||c.deleteBuffer(d.buffer);delete a.a[b]}k=Hl.prototype; 
     338k.ia=function(){Nc(this.j);var a=this.b;if(!a.isContextLost()){for(var b in this.a)a.deleteBuffer(this.a[b].buffer);for(b in this.g)a.deleteProgram(this.g[b]);for(b in this.c)a.deleteShader(this.c[b]);a.deleteFramebuffer(this.i);a.deleteRenderbuffer(this.s);a.deleteTexture(this.v)}};k.yp=function(){return this.b}; 
     339function Il(a){if(!a.i){var b=a.b,c=b.createFramebuffer();b.bindFramebuffer(b.FRAMEBUFFER,c);var d=Jl(b,1,1),e=b.createRenderbuffer();b.bindRenderbuffer(b.RENDERBUFFER,e);b.renderbufferStorage(b.RENDERBUFFER,b.DEPTH_COMPONENT16,1,1);b.framebufferTexture2D(b.FRAMEBUFFER,b.COLOR_ATTACHMENT0,b.TEXTURE_2D,d,0);b.framebufferRenderbuffer(b.FRAMEBUFFER,b.DEPTH_ATTACHMENT,b.RENDERBUFFER,e);b.bindTexture(b.TEXTURE_2D,null);b.bindRenderbuffer(b.RENDERBUFFER,null);b.bindFramebuffer(b.FRAMEBUFFER,null);a.i=c; 
     340a.v=d;a.s=e}return a.i}function Kl(a,b){var c=String(x(b));if(c in a.c)return a.c[c];var d=a.b,e=d.createShader(b.S());d.shaderSource(e,b.b);d.compileShader(e);return a.c[c]=e}function Cl(a,b,c){var d=x(b)+"/"+x(c);if(d in a.g)return a.g[d];var e=a.b,f=e.createProgram();e.attachShader(f,Kl(a,b));e.attachShader(f,Kl(a,c));e.linkProgram(f);return a.g[d]=f}k.zp=function(){lb(this.a);lb(this.c);lb(this.g);this.s=this.v=this.i=this.l=null};k.Ap=function(){}; 
     341k.cd=function(a){if(a==this.l)return!1;this.b.useProgram(a);this.l=a;return!0};function Ll(a,b,c){var d=a.createTexture();a.bindTexture(a.TEXTURE_2D,d);a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MAG_FILTER,a.LINEAR);a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MIN_FILTER,a.LINEAR);void 0!==b&&a.texParameteri(3553,10242,b);void 0!==c&&a.texParameteri(3553,10243,c);return d}function Jl(a,b,c){var d=Ll(a,void 0,void 0);a.texImage2D(a.TEXTURE_2D,0,a.RGBA,b,c,0,a.RGBA,a.UNSIGNED_BYTE,null);return d} 
     342function Ml(a,b){var c=Ll(a,33071,33071);a.texImage2D(a.TEXTURE_2D,0,a.RGBA,a.RGBA,a.UNSIGNED_BYTE,b);return c};function Nl(a,b){ql.call(this,a,b);this.C=this.D=void 0;this.v=[];this.o=[];this.qa=this.oa=this.height=void 0;this.Wa=null;this.width=this.scale=this.rotation=this.rotateWithView=this.O=this.T=this.opacity=void 0}w(Nl,ql);k=Nl.prototype;k.Db=function(a){var b=this.s,c=this.j,d=this.ig(!0),e=a.b;return function(){if(!e.isContextLost()){var f;var g=0;for(f=d.length;g<f;++g)e.deleteTexture(d[g])}Bl(a,b);Bl(a,c)}}; 
     343function Ol(a,b,c,d){var e=a.D,f=a.C,g=a.height,h=a.oa,l=a.qa,m=a.opacity,n=a.T,p=a.O,q=a.rotateWithView?1:0,r=-a.rotation,u=a.scale,v=a.width,z=Math.cos(r);r=Math.sin(r);var A=a.b.length,E=a.a.length,S;for(S=0;S<c;S+=d){var Ia=b[S]-a.origin[0];var ta=b[S+1]-a.origin[1];var la=E/8;var ca=-u*e;var ia=-u*(g-f);a.a[E++]=Ia;a.a[E++]=ta;a.a[E++]=ca*z-ia*r;a.a[E++]=ca*r+ia*z;a.a[E++]=n/l;a.a[E++]=(p+g)/h;a.a[E++]=m;a.a[E++]=q;ca=u*(v-e);ia=-u*(g-f);a.a[E++]=Ia;a.a[E++]=ta;a.a[E++]=ca*z-ia*r;a.a[E++]=ca* 
     344r+ia*z;a.a[E++]=(n+v)/l;a.a[E++]=(p+g)/h;a.a[E++]=m;a.a[E++]=q;ca=u*(v-e);ia=u*f;a.a[E++]=Ia;a.a[E++]=ta;a.a[E++]=ca*z-ia*r;a.a[E++]=ca*r+ia*z;a.a[E++]=(n+v)/l;a.a[E++]=p/h;a.a[E++]=m;a.a[E++]=q;ca=-u*e;ia=u*f;a.a[E++]=Ia;a.a[E++]=ta;a.a[E++]=ca*z-ia*r;a.a[E++]=ca*r+ia*z;a.a[E++]=n/l;a.a[E++]=p/h;a.a[E++]=m;a.a[E++]=q;a.b[A++]=la;a.b[A++]=la+1;a.b[A++]=la+2;a.b[A++]=la;a.b[A++]=la+2;a.b[A++]=la+3}} 
     345function Pl(a,b,c,d){var e,f=b.length;for(e=0;e<f;++e){var g=b[e];var h=x(g).toString();h in c?g=c[h]:(g=Ml(d,g),c[h]=g);a[e]=g}} 
     346k.Bf=function(a,b){var c=Cl(b,El,Fl);if(this.Wa)var d=this.Wa;else this.Wa=d=new Gl(a,c);b.cd(c);a.enableVertexAttribArray(d.b);a.vertexAttribPointer(d.b,2,5126,!1,32,0);a.enableVertexAttribArray(d.v);a.vertexAttribPointer(d.v,2,5126,!1,32,8);a.enableVertexAttribArray(d.B);a.vertexAttribPointer(d.B,2,5126,!1,32,16);a.enableVertexAttribArray(d.o);a.vertexAttribPointer(d.o,1,5126,!1,32,24);a.enableVertexAttribArray(d.D);a.vertexAttribPointer(d.D,1,5126,!1,32,28);return d}; 
     347k.Cf=function(a,b){a.disableVertexAttribArray(b.b);a.disableVertexAttribArray(b.v);a.disableVertexAttribArray(b.B);a.disableVertexAttribArray(b.o);a.disableVertexAttribArray(b.D)}; 
     348k.Od=function(a,b,c,d){var e=d?this.ag():this.ig();d=d?this.o:this.v;if(nb(c)){var f;c=0;var g=e.length;for(f=0;c<g;++c){a.bindTexture(3553,e[c]);var h=d[c];sl(a,b,f,h);f=h}}else for(f=g=0,h=e.length;f<h;++f){a.bindTexture(3553,e[f]);for(var l=0<f?d[f-1]:0,m=d[f],n=l;g<this.g.length&&this.g[g]<=m;){var p=x(this.i[g]).toString();void 0!==c[p]?(n!==l&&sl(a,b,n,l),l=n=g===this.g.length-1?m:this.g[g+1]):l=g===this.g.length-1?m:this.g[g+1];g++}n!==l&&sl(a,b,n,l)}}; 
     349k.Ee=function(a,b,c,d,e){var f,g,h=this.g.length-1,l=this.ag();for(f=l.length-1;0<=f;--f){a.bindTexture(3553,l[f]);var m=0<f?this.o[f-1]:0;for(g=this.o[f];0<=h&&this.g[h]>=m;){var n=this.g[h];var p=this.i[h];var q=x(p).toString();if(void 0===c[q]&&p.U()&&(void 0===e||hb(e,p.U().G()))&&(a.clear(a.COLOR_BUFFER_BIT|a.DEPTH_BUFFER_BIT),sl(a,b,n,g),g=d(p)))return g;g=n;h--}}}; 
     350k.gb=function(){this.qa=this.oa=this.height=this.C=this.D=void 0;this.b=null;this.scale=this.rotation=this.rotateWithView=this.O=this.T=this.opacity=void 0;this.a=null;this.width=void 0};function Ql(a,b){Nl.call(this,a,b);this.l=[];this.c=[];this.B=[];this.N=[]}w(Ql,Nl);k=Ql.prototype;k.wc=function(a,b){this.g.push(this.b.length);this.i.push(b);b=a.da();Ol(this,b,b.length,a.pa())};k.yc=function(a,b){this.g.push(this.b.length);this.i.push(b);b=a.da();Ol(this,b,b.length,a.pa())}; 
     351k.gb=function(a){var b=a.b;this.v.push(this.b.length);this.o.push(this.b.length);this.s=new yl(this.a);this.j=new yl(this.b);var c={};Pl(this.B,this.l,c,b);Pl(this.N,this.c,c,b);this.c=this.l=null;Nl.prototype.gb.call(this,a)}; 
     352k.Zb=function(a){var b=a.Vc(),c=a.Y(1),d=a.He(),e=a.Eg(),f=a.i,g=a.bd(),h=a.s,l=a.f,m=a.oc();a=a.a;if(0===this.l.length)this.l.push(c);else{var n=this.l[this.l.length-1];x(n)!=x(c)&&(this.v.push(this.b.length),this.l.push(c))}0===this.c.length?this.c.push(e):(n=this.c[this.c.length-1],x(n)!=x(e)&&(this.o.push(this.b.length),this.c.push(e)));this.D=b[0];this.C=b[1];this.height=m[1];this.oa=d[1];this.qa=d[0];this.opacity=f;this.T=g[0];this.O=g[1];this.rotation=l;this.rotateWithView=h;this.scale=a;this.width= 
     353m[0]};k.ig=function(a){return a?this.B.concat(this.N):this.B};k.ag=function(){return this.N};function Rl(a,b,c){var d=b-c;return a[0]===a[d]&&a[1]===a[d+1]&&3<(b-0)/c?!!mf(a,0,b,c):!1};var Sl=new il("precision mediump float;varying float a;varying vec2 aVertex;varying float c;uniform float m;uniform vec4 n;uniform vec2 o;uniform float p;void main(void){if(a>0.0){vec2 windowCoords=vec2((aVertex.x+1.0)/2.0*o.x*p,(aVertex.y+1.0)/2.0*o.y*p);if(length(windowCoords-gl_FragCoord.xy)>c*p){discard;}} gl_FragColor=n;float alpha=n.a*m;if(alpha==0.0){discard;}gl_FragColor.a=alpha;}"),Tl=new jl("varying float a;varying vec2 aVertex;varying float c;attribute vec2 d;attribute vec2 e;attribute vec2 f;attribute float g;uniform mat4 h;uniform mat4 i;uniform mat4 j;uniform float k;uniform float l;bool nearlyEquals(in float value,in float ref){float epsilon=0.000000000001;return value>=ref-epsilon&&value<=ref+epsilon;}void alongNormal(out vec2 offset,in vec2 nextP,in float turnDir,in float direction){vec2 dirVect=nextP-e;vec2 normal=normalize(vec2(-turnDir*dirVect.y,turnDir*dirVect.x));offset=k/2.0*normal*direction;}void miterUp(out vec2 offset,out float round,in bool isRound,in float direction){float halfWidth=k/2.0;vec2 tangent=normalize(normalize(f-e)+normalize(e-d));vec2 normal=vec2(-tangent.y,tangent.x);vec2 dirVect=f-e;vec2 tmpNormal=normalize(vec2(-dirVect.y,dirVect.x));float miterLength=abs(halfWidth/dot(normal,tmpNormal));offset=normal*direction*miterLength;round=0.0;if(isRound){round=1.0;}else if(miterLength>l+k){offset=halfWidth*tmpNormal*direction;}} bool miterDown(out vec2 offset,in vec4 projPos,in mat4 offsetMatrix,in float direction){bool degenerate=false;vec2 tangent=normalize(normalize(f-e)+normalize(e-d));vec2 normal=vec2(-tangent.y,tangent.x);vec2 dirVect=d-e;vec2 tmpNormal=normalize(vec2(-dirVect.y,dirVect.x));vec2 longOffset,shortOffset,longVertex;vec4 shortProjVertex;float halfWidth=k/2.0;if(length(f-e)>length(d-e)){longOffset=tmpNormal*direction*halfWidth;shortOffset=normalize(vec2(dirVect.y,-dirVect.x))*direction*halfWidth;longVertex=f;shortProjVertex=h*vec4(d,0.0,1.0);}else{shortOffset=tmpNormal*direction*halfWidth;longOffset=normalize(vec2(dirVect.y,-dirVect.x))*direction*halfWidth;longVertex=d;shortProjVertex=h*vec4(f,0.0,1.0);}vec4 p1=h*vec4(longVertex,0.0,1.0)+offsetMatrix*vec4(longOffset,0.0,0.0);vec4 p2=projPos+offsetMatrix*vec4(longOffset,0.0,0.0);vec4 p3=shortProjVertex+offsetMatrix*vec4(-shortOffset,0.0,0.0);vec4 p4=shortProjVertex+offsetMatrix*vec4(shortOffset,0.0,0.0);float denom=(p4.y-p3.y)*(p2.x-p1.x)-(p4.x-p3.x)*(p2.y-p1.y);float firstU=((p4.x-p3.x)*(p1.y-p3.y)-(p4.y-p3.y)*(p1.x-p3.x))/denom;float secondU=((p2.x-p1.x)*(p1.y-p3.y)-(p2.y-p1.y)*(p1.x-p3.x))/denom;float epsilon=0.000000000001;if(firstU>epsilon&&firstU<1.0-epsilon&&secondU>epsilon&&secondU<1.0-epsilon){shortProjVertex.x=p1.x+firstU*(p2.x-p1.x);shortProjVertex.y=p1.y+firstU*(p2.y-p1.y);offset=shortProjVertex.xy;degenerate=true;}else{float miterLength=abs(halfWidth/dot(normal,tmpNormal));offset=normal*direction*miterLength;}return degenerate;}void squareCap(out vec2 offset,out float round,in bool isRound,in vec2 nextP,in float turnDir,in float direction){round=0.0;vec2 dirVect=e-nextP;vec2 firstNormal=normalize(dirVect);vec2 secondNormal=vec2(turnDir*firstNormal.y*direction,-turnDir*firstNormal.x*direction);vec2 hypotenuse=normalize(firstNormal-secondNormal);vec2 normal=vec2(turnDir*hypotenuse.y*direction,-turnDir*hypotenuse.x*direction);float length=sqrt(c*c*2.0);offset=normal*length;if(isRound){round=1.0;}} void main(void){bool degenerate=false;float direction=float(sign(g));mat4 offsetMatrix=i*j;vec2 offset;vec4 projPos=h*vec4(e,0.0,1.0);bool round=nearlyEquals(mod(g,2.0),0.0);a=0.0;c=k/2.0;aVertex=projPos.xy;if(nearlyEquals(mod(g,3.0),0.0)||nearlyEquals(mod(g,17.0),0.0)){alongNormal(offset,f,1.0,direction);}else if(nearlyEquals(mod(g,5.0),0.0)||nearlyEquals(mod(g,13.0),0.0)){alongNormal(offset,d,-1.0,direction);}else if(nearlyEquals(mod(g,23.0),0.0)){miterUp(offset,a,round,direction);}else if(nearlyEquals(mod(g,19.0),0.0)){degenerate=miterDown(offset,projPos,offsetMatrix,direction);}else if(nearlyEquals(mod(g,7.0),0.0)){squareCap(offset,a,round,f,1.0,direction);}else if(nearlyEquals(mod(g,11.0),0.0)){squareCap(offset,a,round,d,-1.0,direction);}if(!degenerate){vec4 offsets=offsetMatrix*vec4(offset,0.0,0.0);gl_Position=projPos+offsets;}else{gl_Position=vec4(offset,0.0,1.0);}}");function Ul(a,b){this.g=a.getUniformLocation(b,"h");this.i=a.getUniformLocation(b,"i");this.c=a.getUniformLocation(b,"j");this.oa=a.getUniformLocation(b,"k");this.O=a.getUniformLocation(b,"l");this.a=a.getUniformLocation(b,"m");this.C=a.getUniformLocation(b,"n");this.T=a.getUniformLocation(b,"o");this.qa=a.getUniformLocation(b,"p");this.l=a.getAttribLocation(b,"d");this.b=a.getAttribLocation(b,"e");this.s=a.getAttribLocation(b,"f");this.f=a.getAttribLocation(b,"g")};function Vl(a,b){ql.call(this,a,b);this.v=null;this.o=[];this.l=[];this.c={strokeColor:null,lineCap:void 0,lineDash:null,lineDashOffset:void 0,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0,u:!1}}w(Vl,ql); 
     354function Wl(a,b,c,d){var e,f=a.a.length,g=a.b.length,h="bevel"===a.c.lineJoin?0:"miter"===a.c.lineJoin?1:2,l="butt"===a.c.lineCap?0:"square"===a.c.lineCap?1:2,m=Rl(b,c,d),n=g,p=1;for(e=0;e<c;e+=d){var q=f/7;var r=u;var u=v||[b[e],b[e+1]];if(0===e){var v=[b[e+d],b[e+d+1]];if(c-0===2*d&&jc(u,v))break;if(m){r=[b[c-2*d],b[c-2*d+1]];var z=v}else{l&&(f=Xl(a,[0,0],u,v,p*Yl*l,f),f=Xl(a,[0,0],u,v,-p*Yl*l,f),a.b[g++]=q+2,a.b[g++]=q,a.b[g++]=q+1,a.b[g++]=q+1,a.b[g++]=q+3,a.b[g++]=q+2);f=Xl(a,[0,0],u,v,p*Zl* 
     355(l||1),f);f=Xl(a,[0,0],u,v,-p*Zl*(l||1),f);n=f/7-1;continue}}else if(e===c-d){m?v=z:(r=r||[0,0],f=Xl(a,r,u,[0,0],p*$l*(l||1),f),f=Xl(a,r,u,[0,0],-p*$l*(l||1),f),a.b[g++]=q,a.b[g++]=n-1,a.b[g++]=n,a.b[g++]=n,a.b[g++]=q+1,a.b[g++]=q,l&&(f=Xl(a,r,u,[0,0],p*am*l,f),f=Xl(a,r,u,[0,0],-p*am*l,f),a.b[g++]=q+2,a.b[g++]=q,a.b[g++]=q+1,a.b[g++]=q+1,a.b[g++]=q+3,a.b[g++]=q+2));break}else v=[b[e+d],b[e+d+1]];var A=wl(r[0],r[1],u[0],u[1],v[0],v[1])?-1:1;f=Xl(a,r,u,v,A*bm*(h||1),f);f=Xl(a,r,u,v,A*cm*(h||1),f);f= 
     356Xl(a,r,u,v,-A*dm*(h||1),f);0<e&&(a.b[g++]=q,a.b[g++]=n-1,a.b[g++]=n,a.b[g++]=q+2,a.b[g++]=q,a.b[g++]=0<p*A?n:n-1);a.b[g++]=q;a.b[g++]=q+2;a.b[g++]=q+1;n=q+2;p=A;h&&(f=Xl(a,r,u,v,A*em*h,f),a.b[g++]=q+1,a.b[g++]=q+3,a.b[g++]=q)}m&&(q=q||f/7,A=Mf([r[0],r[1],u[0],u[1],v[0],v[1]],0,6,2)?1:-1,f=Xl(a,r,u,v,A*bm*(h||1),f),Xl(a,r,u,v,-A*dm*(h||1),f),a.b[g++]=q,a.b[g++]=n-1,a.b[g++]=n,a.b[g++]=q+1,a.b[g++]=q,a.b[g++]=0<p*A?n:n-1)} 
     357function Xl(a,b,c,d,e,f){a.a[f++]=b[0];a.a[f++]=b[1];a.a[f++]=c[0];a.a[f++]=c[1];a.a[f++]=d[0];a.a[f++]=d[1];a.a[f++]=e;return f}function fm(a,b,c,d){c-=b;return c<2*d?!1:c===2*d?!jc([a[b],a[b+1]],[a[b+d],a[b+d+1]]):!0}k=Vl.prototype;k.uc=function(a,b){var c=a.da();a=a.pa();fm(c,0,c.length,a)&&(c=Ue(c,0,c.length,a,-this.origin[0],-this.origin[1]),this.c.u&&(this.l.push(this.b.length),this.c.u=!1),this.g.push(this.b.length),this.i.push(b),Wl(this,c,c.length,a))}; 
     358k.vc=function(a,b){var c=this.b.length,d=a.pb();d.unshift(0);var e=a.da();a=a.pa();var f;if(1<d.length){var g=1;for(f=d.length;g<f;++g)if(fm(e,d[g-1],d[g],a)){var h=Ue(e,d[g-1],d[g],a,-this.origin[0],-this.origin[1]);Wl(this,h,h.length,a)}}this.b.length>c&&(this.g.push(c),this.i.push(b),this.c.u&&(this.l.push(c),this.c.u=!1))}; 
     359function gm(a,b,c,d){Rl(b,b.length,d)||(b.push(b[0]),b.push(b[1]));Wl(a,b,b.length,d);if(c.length){var e;b=0;for(e=c.length;b<e;++b)Rl(c[b],c[b].length,d)||(c[b].push(c[b][0]),c[b].push(c[b][1])),Wl(a,c[b],c[b].length,d)}}function hm(a,b,c){c=void 0===c?a.b.length:c;a.g.push(c);a.i.push(b);a.c.u&&(a.l.push(c),a.c.u=!1)}k.gb=function(){this.s=new yl(this.a);this.j=new yl(this.b);this.g.push(this.b.length);0===this.l.length&&0<this.o.length&&(this.o=[]);this.b=this.a=null}; 
     360k.Db=function(a){var b=this.s,c=this.j;return function(){Bl(a,b);Bl(a,c)}}; 
     361k.Bf=function(a,b,c,d){var e=Cl(b,Sl,Tl);if(this.v)var f=this.v;else this.v=f=new Ul(a,e);b.cd(e);a.enableVertexAttribArray(f.l);a.vertexAttribPointer(f.l,2,5126,!1,28,0);a.enableVertexAttribArray(f.b);a.vertexAttribPointer(f.b,2,5126,!1,28,8);a.enableVertexAttribArray(f.s);a.vertexAttribPointer(f.s,2,5126,!1,28,16);a.enableVertexAttribArray(f.f);a.vertexAttribPointer(f.f,1,5126,!1,28,24);a.uniform2fv(f.T,c);a.uniform1f(f.qa,d);return f}; 
     362k.Cf=function(a,b){a.disableVertexAttribArray(b.l);a.disableVertexAttribArray(b.b);a.disableVertexAttribArray(b.s);a.disableVertexAttribArray(b.f)}; 
     363k.Od=function(a,b,c,d){var e=a.getParameter(a.DEPTH_FUNC),f=a.getParameter(a.DEPTH_WRITEMASK);d||(a.enable(a.DEPTH_TEST),a.depthMask(!0),a.depthFunc(a.NOTEQUAL));if(nb(c)){var g=this.g[this.g.length-1];for(c=this.l.length-1;0<=c;--c){var h=this.l[c];var l=this.o[c];im(this,a,l[0],l[1],l[2]);sl(a,b,h,g);a.clear(a.DEPTH_BUFFER_BIT);g=h}}else{var m=this.g.length-2;l=g=this.g[m+1];for(h=this.l.length-1;0<=h;--h){var n=this.o[h];im(this,a,n[0],n[1],n[2]);for(n=this.l[h];0<=m&&this.g[m]>=n;){var p=this.g[m]; 
     364var q=this.i[m];q=x(q).toString();c[q]&&(g!==l&&(sl(a,b,g,l),a.clear(a.DEPTH_BUFFER_BIT)),l=p);m--;g=p}g!==l&&(sl(a,b,g,l),a.clear(a.DEPTH_BUFFER_BIT));g=l=n}}d||(a.disable(a.DEPTH_TEST),a.clear(a.DEPTH_BUFFER_BIT),a.depthMask(f),a.depthFunc(e))}; 
     365k.Ee=function(a,b,c,d,e){var f,g;var h=this.g.length-2;var l=this.g[h+1];for(f=this.l.length-1;0<=f;--f){var m=this.o[f];im(this,a,m[0],m[1],m[2]);for(g=this.l[f];0<=h&&this.g[h]>=g;){m=this.g[h];var n=this.i[h];var p=x(n).toString();if(void 0===c[p]&&n.U()&&(void 0===e||hb(e,n.U().G()))&&(a.clear(a.COLOR_BUFFER_BIT|a.DEPTH_BUFFER_BIT),sl(a,b,m,l),l=d(n)))return l;h--;l=m}}};function im(a,b,c,d,e){b.uniform4fv(a.v.C,c);b.uniform1f(a.v.oa,d);b.uniform1f(a.v.O,e)} 
     366k.Oa=function(a,b){a=b.f;this.c.lineCap=void 0!==a?a:"round";a=b.g;this.c.lineDash=a?a:ul;a=b.i;this.c.lineDashOffset=a?a:0;a=b.j;this.c.lineJoin=void 0!==a?a:"round";a=b.a;a instanceof CanvasGradient||a instanceof CanvasPattern?a=vl:a=vi(a).map(function(a,b){return 3!=b?a/255:a})||vl;var c=b.c;c=void 0!==c?c:1;b=b.l;b=void 0!==b?b:10;this.c.strokeColor&&jc(this.c.strokeColor,a)&&this.c.lineWidth===c&&this.c.miterLimit===b||(this.c.u=!0,this.c.strokeColor=a,this.c.lineWidth=c,this.c.miterLimit=b, 
     367this.o.push([a,c,b]))};var Zl=3,$l=5,Yl=7,am=11,bm=13,cm=17,dm=19,em=23;var jm=new il("precision mediump float;uniform vec4 e;uniform float f;void main(void){gl_FragColor=e;float alpha=e.a*f;if(alpha==0.0){discard;}gl_FragColor.a=alpha;}"),km=new jl("attribute vec2 a;uniform mat4 b;uniform mat4 c;uniform mat4 d;void main(void){gl_Position=b*vec4(a,0.0,1.0);}");function lm(a,b){this.g=a.getUniformLocation(b,"b");this.i=a.getUniformLocation(b,"c");this.c=a.getUniformLocation(b,"d");this.C=a.getUniformLocation(b,"e");this.a=a.getUniformLocation(b,"f");this.b=a.getAttribLocation(b,"a")};function mm(){this.b=this.a=this.g=void 0;this.c=0}function nm(a){var b=a.b;if(b){var c=b.next,d=b.Eb;c&&(c.Eb=d);d&&(d.next=c);a.b=c||d;a.g===a.a?(a.b=void 0,a.g=void 0,a.a=void 0):a.g===b?a.g=a.b:a.a===b&&(a.a=d?a.b.Eb:a.b);a.c--}}function om(a){a.b=a.g;if(a.b)return a.b.data}function pm(a){if(a.b&&a.b.next)return a.b=a.b.next,a.b.data}function qm(a){if(a.b&&a.b.next)return a.b.next.data}function rm(a){if(a.b&&a.b.Eb)return a.b=a.b.Eb,a.b.data}function sm(a){if(a.b&&a.b.Eb)return a.b.Eb.data} 
     368function tm(a){if(a.b)return a.b.data}mm.prototype.concat=function(a){if(a.b){if(this.b){var b=this.b.next;this.b.next=a.g;a.g.Eb=this.b;b.Eb=a.a;a.a.next=b;this.c+=a.c}else this.b=a.b,this.g=a.g,this.a=a.a,this.c=a.c;a.b=void 0;a.g=void 0;a.a=void 0;a.c=0}};function um(){this.a=rj.Jc(void 0);this.b={}}k=um.prototype;k.Ca=function(a,b){a={fa:a[0],ea:a[1],la:a[2],ka:a[3],value:b};this.a.Ca(a);this.b[x(b)]=a};k.load=function(a,b){for(var c=Array(b.length),d=0,e=b.length;d<e;d++){var f=a[d],g=b[d];f={fa:f[0],ea:f[1],la:f[2],ka:f[3],value:g};c[d]=f;this.b[x(g)]=f}this.a.load(c)};k.remove=function(a){a=x(a);var b=this.b[a];delete this.b[a];return null!==this.a.remove(b)}; 
     369function vm(a,b,c){var d=a.b[x(c)];Sa([d.fa,d.ea,d.la,d.ka],b)||(a.remove(c),a.Ca(b,c))}function wm(a){return a.a.all().map(function(a){return a.value})}function xm(a,b){return a.a.search({fa:b[0],ea:b[1],la:b[2],ka:b[3]}).map(function(a){return a.value})}k.forEach=function(a,b){return ym(wm(this),a,b)};function zm(a,b,c,d){return ym(xm(a,b),c,d)}function ym(a,b,c){for(var d,e=0,f=a.length;e<f&&!(d=b.call(c,a[e]));e++);return d}k.clear=function(){this.a.clear();this.b={}}; 
     370k.G=function(a){var b=this.a.data;return Na(b.fa,b.ea,b.la,b.ka,a)};k.concat=function(a){this.a.load(a.a.all());for(var b in a.b)this.b[b|0]=a.b[b|0]};function Am(a,b){ql.call(this,a,b);this.f=new Vl(a,b);this.v=null;this.o=[];this.c=[];this.l={fillColor:null,u:!1}}w(Am,ql); 
     371function Bm(a,b,c,d){var e=new mm,f=new um;Cm(a,b,d,e,f,!0);b=Dm(e);if(c.length){var g,h=[];var l=0;for(g=c.length;l<g;++l){var m={list:new mm,Ec:void 0,gh:new um};h.push(m);Cm(a,c[l],d,m.list,m.gh,!1);Em(m.list,m.gh,!0);m.Ec=Dm(m.list)}h.sort(function(a,b){return b.Ec[0]===a.Ec[0]?a.Ec[1]-b.Ec[1]:b.Ec[0]-a.Ec[0]});for(l=0;l<h.length;++l){c=h[l].list;g=d=om(c);do{if(Fm(g,f).length){var n=!0;break}g=pm(c)}while(d!==g);!n&&Gm(c,h[l].Ec[0],e,b[0],f)&&(f.concat(h[l].gh),Em(e,f,!1))}}else Em(e,f,!1);Hm(a, 
     372e,f)} 
     373function Cm(a,b,c,d,e,f){var g,h=a.a.length/2,l=[],m=[];if(f===Mf(b,0,b.length,c)){var n=f=Im(a,b[0],b[1],h++);var p=c;for(g=b.length;p<g;p+=c){var q=Im(a,b[p],b[p+1],h++);m.push(Jm(n,q,d));l.push([Math.min(n.x,q.x),Math.min(n.y,q.y),Math.max(n.x,q.x),Math.max(n.y,q.y)]);n=q}}else for(p=b.length-c,n=f=Im(a,b[p],b[p+1],h++),p-=c,g=0;p>=g;p-=c)q=Im(a,b[p],b[p+1],h++),m.push(Jm(n,q,d)),l.push([Math.min(n.x,q.x),Math.min(n.y,q.y),Math.max(n.x,q.x),Math.max(n.y,q.y)]),n=q;m.push(Jm(q,f,d));l.push([Math.min(n.x,q.x), 
     374Math.min(n.y,q.y),Math.max(n.x,q.x),Math.max(n.y,q.y)]);e.load(l,m)}function Dm(a){var b=om(a),c=b,d=[c.Z.x,c.Z.y];do c=pm(a),c.Z.x>d[0]&&(d=[c.Z.x,c.Z.y]);while(c!==b);return d}function Em(a,b,c){var d=om(a),e=d,f=pm(a),g=!1;do{var h=c?wl(f.X.x,f.X.y,e.X.x,e.X.y,e.Z.x,e.Z.y):wl(e.Z.x,e.Z.y,e.X.x,e.X.y,f.X.x,f.X.y);void 0===h?(Km(e,f,a,b),g=!0,f===d&&(d=qm(a)),f=e,rm(a)):e.X.Kb!==h&&(e.X.Kb=h,g=!0);e=f;f=pm(a)}while(e!==d);return g} 
     375function Gm(a,b,c,d,e){for(var f=om(a);f.X.x!==b;)f=pm(a);b=f.X;d={x:d,y:b.y,qb:-1};var g=Infinity,h;var l=Fm({Z:b,X:d},e,!0);var m=0;for(h=l.length;m<h;++m){var n=l[m],p=Lm(b,d,n.Z,n.X,!0),q=Math.abs(b.x-p[0]);if(q<g&&void 0!==wl(b.x,b.y,n.Z.x,n.Z.y,n.X.x,n.X.y)){g=q;var r={x:p[0],y:p[1],qb:-1};f=n}}if(Infinity===g)return!1;l=f.X;if(0<g&&(f=Mm(b,r,f.X,e),f.length))for(r=Infinity,m=0,h=f.length;m<h;++m)if(g=f[m],n=Math.atan2(b.y-g.y,d.x-g.x),n<r||n===r&&g.x<l.x)r=n,l=g;for(f=om(c);f.X.x!==l.x||f.X.y!== 
     376l.y;)f=pm(c);d={x:b.x,y:b.y,qb:b.qb,Kb:void 0};m={x:f.X.x,y:f.X.y,qb:f.X.qb,Kb:void 0};qm(a).Z=d;Jm(b,f.X,a,e);Jm(m,d,a,e);f.X=m;a.b&&(a.g=a.b,a.a=a.b.Eb);c.concat(a);return!0} 
     377function Hm(a,b,c){for(var d=!1,e=Nm(b,c);3<b.c;)if(e){if(!Om(a,b,c,e,d)&&!Em(b,c,d)&&!Pm(a,b,c,!0))break}else if(!Om(a,b,c,e,d)&&!Em(b,c,d)&&!Pm(a,b,c))if(e=Nm(b,c)){d=b;var f=2*d.c,g=Array(f),h=om(d),l=h,m=0;do g[m++]=l.Z.x,g[m++]=l.Z.y,l=pm(d);while(l!==h);d=!Mf(g,0,f,2);Em(b,c,d)}else{e=a;d=b;f=g=om(d);do{h=Fm(f,c);if(h.length){g=h[0];h=Lm(f.Z,f.X,g.Z,g.X);h=Im(e,h[0],h[1],e.a.length/2);l=new mm;m=new um;Jm(h,f.X,l,m);f.X=h;vm(c,[Math.min(f.Z.x,h.x),Math.min(f.Z.y,h.y),Math.max(f.Z.x,h.x),Math.max(f.Z.y, 
     378h.y)],f);for(f=pm(d);f!==g;)Jm(f.Z,f.X,l,m),c.remove(f),nm(d),f=tm(d);Jm(g.Z,h,l,m);g.Z=h;vm(c,[Math.min(g.X.x,h.x),Math.min(g.X.y,h.y),Math.max(g.X.x,h.x),Math.max(g.X.y,h.y)],g);Em(d,c,!1);Hm(e,d,c);Em(l,m,!1);Hm(e,l,m);break}f=pm(d)}while(f!==g);break}3===b.c&&(e=a.b.length,a.b[e++]=sm(b).Z.qb,a.b[e++]=tm(b).Z.qb,a.b[e++]=qm(b).Z.qb)} 
     379function Om(a,b,c,d,e){var f=a.b.length,g=om(b),h=sm(b),l=g,m=pm(b),n=qm(b),p=!1;do{var q=l.Z;var r=l.X;var u=m.X;if(!1===r.Kb){var v=d?0===Mm(q,r,u,c,!0).length:e?Qm(n.X,u,r,q,h.Z):Qm(h.Z,q,r,u,n.X);!d&&0!==Fm({Z:q,X:u},c).length||!v||!d&&!1!==q.Kb&&!1!==u.Kb&&Mf([h.Z.x,h.Z.y,q.x,q.y,r.x,r.y,u.x,u.y,n.X.x,n.X.y],0,10,2)!==!e||(a.b[f++]=q.qb,a.b[f++]=r.qb,a.b[f++]=u.qb,Km(l,m,b,c),m===g&&(g=n),p=!0)}h=sm(b);l=tm(b);m=pm(b);n=qm(b)}while(l!==g&&3<b.c);return p} 
     380function Pm(a,b,c,d){var e=om(b);pm(b);var f=e,g=pm(b),h=!1;do{var l=Lm(f.Z,f.X,g.Z,g.X,d);if(l){h=a.b.length;var m=a.a.length/2,n=rm(b);nm(b);c.remove(n);var p=n===e;d?(l[0]===f.Z.x&&l[1]===f.Z.y?(rm(b),l=f.Z,g.Z=l,c.remove(f),p=p||f===e):(l=g.X,f.X=l,c.remove(g),p=p||g===e),nm(b)):(l=Im(a,l[0],l[1],m),f.X=l,g.Z=l,vm(c,[Math.min(f.Z.x,f.X.x),Math.min(f.Z.y,f.X.y),Math.max(f.Z.x,f.X.x),Math.max(f.Z.y,f.X.y)],f),vm(c,[Math.min(g.Z.x,g.X.x),Math.min(g.Z.y,g.X.y),Math.max(g.Z.x,g.X.x),Math.max(g.Z.y, 
     381g.X.y)],g));a.b[h++]=n.Z.qb;a.b[h++]=n.X.qb;a.b[h++]=l.qb;h=!0;if(p)break}f=sm(b);g=pm(b)}while(f!==e);return h}function Nm(a,b){var c=om(a),d=c;do{if(Fm(d,b).length)return!1;d=pm(a)}while(d!==c);return!0}function Im(a,b,c,d){var e=a.a.length;a.a[e++]=b;a.a[e++]=c;return{x:b,y:c,qb:d,Kb:void 0}} 
     382function Jm(a,b,c,d){var e={Z:a,X:b},f={Eb:void 0,next:void 0,data:e},g=c.b;if(g){var h=g.next;f.Eb=g;f.next=h;g.next=f;h&&(h.Eb=f);g===c.a&&(c.a=f)}else c.g=f,c.a=f,f.next=f,f.Eb=f;c.b=f;c.c++;d&&d.Ca([Math.min(a.x,b.x),Math.min(a.y,b.y),Math.max(a.x,b.x),Math.max(a.y,b.y)],e);return e}function Km(a,b,c,d){tm(c)===b&&(nm(c),a.X=b.X,d.remove(b),vm(d,[Math.min(a.Z.x,a.X.x),Math.min(a.Z.y,a.X.y),Math.max(a.Z.x,a.X.x),Math.max(a.Z.y,a.X.y)],a))} 
     383function Mm(a,b,c,d,e){var f,g,h=[],l=xm(d,[Math.min(a.x,b.x,c.x),Math.min(a.y,b.y,c.y),Math.max(a.x,b.x,c.x),Math.max(a.y,b.y,c.y)]);d=0;for(f=l.length;d<f;++d)for(g in l[d]){var m=l[d][g];"object"!==typeof m||e&&!m.Kb||m.x===a.x&&m.y===a.y||m.x===b.x&&m.y===b.y||m.x===c.x&&m.y===c.y||-1!==h.indexOf(m)||!Gf([a.x,a.y,b.x,b.y,c.x,c.y],0,6,2,m.x,m.y)||h.push(m)}return h} 
     384function Fm(a,b,c){var d=a.Z,e=a.X;b=xm(b,[Math.min(d.x,e.x),Math.min(d.y,e.y),Math.max(d.x,e.x),Math.max(d.y,e.y)]);var f=[],g;var h=0;for(g=b.length;h<g;++h){var l=b[h];a!==l&&(c||l.Z!==e||l.X!==d)&&Lm(d,e,l.Z,l.X,c)&&f.push(l)}return f} 
     385function Lm(a,b,c,d,e){var f=(d.y-c.y)*(b.x-a.x)-(d.x-c.x)*(b.y-a.y);if(0!==f&&(d=((d.x-c.x)*(a.y-c.y)-(d.y-c.y)*(a.x-c.x))/f,c=((b.x-a.x)*(a.y-c.y)-(b.y-a.y)*(a.x-c.x))/f,!e&&d>xl&&d<1-xl&&c>xl&&c<1-xl||e&&0<=d&&1>=d&&0<=c&&1>=c))return[a.x+d*(b.x-a.x),a.y+d*(b.y-a.y)]} 
     386function Qm(a,b,c,d,e){if(void 0===b.Kb||void 0===d.Kb)return!1;var f=(c.x-d.x)*(b.y-d.y)>(c.y-d.y)*(b.x-d.x);e=(e.x-d.x)*(b.y-d.y)<(e.y-d.y)*(b.x-d.x);a=(a.x-b.x)*(d.y-b.y)>(a.y-b.y)*(d.x-b.x);c=(c.x-b.x)*(d.y-b.y)<(c.y-b.y)*(d.x-b.x);b=b.Kb?c||a:c&&a;return(d.Kb?e||f:e&&f)&&b}k=Am.prototype; 
     387k.xc=function(a,b){var c=a.td(),d=a.pa(),e=this.b.length,f=this.f.b.length;a=a.da();var g,h,l;var m=h=0;for(g=c.length;m<g;++m){var n=c[m];if(0<n.length){var p=Ue(a,h,n[0],d,-this.origin[0],-this.origin[1]);if(p.length){var q=[];h=1;for(l=n.length;h<l;++h)if(n[h]!==n[h-1]){var r=Ue(a,n[h-1],n[h],d,-this.origin[0],-this.origin[1]);q.push(r)}gm(this.f,p,q,d);Bm(this,p,q,d)}}h=n[n.length-1]}this.b.length>e&&(this.g.push(e),this.i.push(b),this.l.u&&(this.c.push(e),this.l.u=!1));this.f.b.length>f&&hm(this.f, 
     388b,f)};k.zc=function(a,b){var c=a.pb(),d=a.pa();if(0<c.length){a=a.da().map(Number);var e=Ue(a,0,c[0],d,-this.origin[0],-this.origin[1]);if(e.length){var f=[],g;var h=1;for(g=c.length;h<g;++h)if(c[h]!==c[h-1]){var l=Ue(a,c[h-1],c[h],d,-this.origin[0],-this.origin[1]);f.push(l)}this.g.push(this.b.length);this.i.push(b);this.l.u&&(this.c.push(this.b.length),this.l.u=!1);hm(this.f,b);gm(this.f,e,f,d);Bm(this,e,f,d)}}}; 
     389k.gb=function(a){this.s=new yl(this.a);this.j=new yl(this.b);this.g.push(this.b.length);this.f.gb(a);0===this.c.length&&0<this.o.length&&(this.o=[]);this.b=this.a=null};k.Db=function(a){var b=this.s,c=this.j,d=this.f.Db(a);return function(){Bl(a,b);Bl(a,c);d()}};k.Bf=function(a,b){var c=Cl(b,jm,km);if(this.v)var d=this.v;else this.v=d=new lm(a,c);b.cd(c);a.enableVertexAttribArray(d.b);a.vertexAttribPointer(d.b,2,5126,!1,8,0);return d};k.Cf=function(a,b){a.disableVertexAttribArray(b.b)}; 
     390k.Od=function(a,b,c,d){var e=a.getParameter(a.DEPTH_FUNC),f=a.getParameter(a.DEPTH_WRITEMASK);d||(a.enable(a.DEPTH_TEST),a.depthMask(!0),a.depthFunc(a.NOTEQUAL));if(nb(c)){var g=this.g[this.g.length-1];for(c=this.c.length-1;0<=c;--c){var h=this.c[c];var l=this.o[c];a.uniform4fv(this.v.C,l);sl(a,b,h,g);g=h}}else{var m=this.g.length-2;l=g=this.g[m+1];for(h=this.c.length-1;0<=h;--h){var n=this.o[h];a.uniform4fv(this.v.C,n);for(n=this.c[h];0<=m&&this.g[m]>=n;){var p=this.g[m];var q=this.i[m];q=x(q).toString(); 
     391c[q]&&(g!==l&&(sl(a,b,g,l),a.clear(a.DEPTH_BUFFER_BIT)),l=p);m--;g=p}g!==l&&(sl(a,b,g,l),a.clear(a.DEPTH_BUFFER_BIT));g=l=n}}d||(a.disable(a.DEPTH_TEST),a.clear(a.DEPTH_BUFFER_BIT),a.depthMask(f),a.depthFunc(e))}; 
     392k.Ee=function(a,b,c,d,e){var f,g;var h=this.g.length-2;var l=this.g[h+1];for(f=this.c.length-1;0<=f;--f){var m=this.o[f];a.uniform4fv(this.v.C,m);for(g=this.c[f];0<=h&&this.g[h]>=g;){m=this.g[h];var n=this.i[h];var p=x(n).toString();if(void 0===c[p]&&n.U()&&(void 0===e||hb(e,n.U().G()))&&(a.clear(a.COLOR_BUFFER_BIT|a.DEPTH_BUFFER_BIT),sl(a,b,m,l),l=d(n)))return l;h--;l=m}}}; 
     393k.Oa=function(a,b){a=a?a.b:[0,0,0,0];a instanceof CanvasGradient||a instanceof CanvasPattern?a=tl:a=vi(a).map(function(a,b){return 3!=b?a/255:a})||tl;this.l.fillColor&&jc(a,this.l.fillColor)||(this.l.fillColor=a,this.l.u=!0,this.o.push(a));b?this.f.Oa(null,b):this.f.Oa(null,new Ak({color:[0,0,0,0],lineWidth:0}))};function Rm(a,b){this.b=b;this.a=[{x:0,y:0,width:a,height:a}];this.c={};this.g=hg(a,a);this.i=this.g.canvas}Rm.prototype.get=function(a){return this.c[a]||null}; 
     394Rm.prototype.add=function(a,b,c,d,e){var f;var g=0;for(f=this.a.length;g<f;++g){var h=this.a[g];if(h.width>=b+this.b&&h.height>=c+this.b)return f={offsetX:h.x+this.b,offsetY:h.y+this.b,image:this.i},this.c[a]=f,d.call(e,this.g,h.x+this.b,h.y+this.b),a=g,b+=this.b,d=c+this.b,h.width-b>h.height-d?(c={x:h.x+b,y:h.y,width:h.width-b,height:h.height},b={x:h.x,y:h.y+d,width:b,height:h.height-d},Sm(this,a,c,b)):(c={x:h.x+b,y:h.y,width:h.width-b,height:d},b={x:h.x,y:h.y+d,width:h.width,height:h.height-d}, 
     395Sm(this,a,c,b)),f}return null};function Sm(a,b,c,d){b=[b,1];0<c.width&&0<c.height&&b.push(c);0<d.width&&0<d.height&&b.push(d);a.a.splice.apply(a.a,b)};function Tm(a){a=a||{};this.a=void 0!==a.initialSize?a.initialSize:256;this.g=void 0!==a.maxSize?a.maxSize:void 0!==ba?ba:2048;this.b=void 0!==a.space?a.space:1;this.f=[new Rm(this.a,this.b)];this.c=this.a;this.i=[new Rm(this.c,this.b)]}function Um(a,b){var c;var d=0;for(c=a.length;d<c;++d){var e=a[d];if(e=e.get(b))return e}return null}function Vm(a,b){return{offsetX:a.offsetX,offsetY:a.offsetY,image:a.image,Bm:b.image}} 
     396Tm.prototype.add=function(a,b,c,d,e,f){if(b+this.b>this.g||c+this.b>this.g)return null;d=Wm(this,!1,a,b,c,d,f);if(!d)return null;a=Wm(this,!0,a,b,c,void 0!==e?e:ea,f);return Vm(d,a)};function Wm(a,b,c,d,e,f,g){var h=b?a.i:a.f,l;var m=0;for(l=h.length;m<l;++m){var n=h[m];if(n=n.add(c,d,e,f,g))return n;n||m!==l-1||(b?(n=Math.min(2*a.c,a.g),a.c=n):(n=Math.min(2*a.a,a.g),a.a=n),n=new Rm(n,a.b),h.push(n),++l)}return null};function Xm(a,b){Nl.call(this,a,b);this.c=[];this.ua=[];this.Ub=hg(0,0).canvas;this.N={strokeColor:null,lineCap:void 0,lineDash:null,lineDashOffset:void 0,lineJoin:void 0,lineWidth:0,miterLimit:void 0,fillColor:null,font:void 0,scale:void 0};this.ta="";this.ca=this.$=this.ra=this.ab=void 0;this.B={};this.l=void 0;this.opacity=this.scale=1}w(Xm,Nl);k=Xm.prototype; 
     397k.Wb=function(a,b){if(this.ta){var c=null,d=2,e=2;switch(a.S()){case "Point":case "MultiPoint":c=a.da();d=c.length;e=a.pa();break;case "Circle":c=a.xa();break;case "LineString":c=a.Fe();break;case "MultiLineString":c=a.Ge();d=c.length;break;case "Polygon":c=a.Td();break;case "MultiPolygon":c=Ji(a),d=c.length}this.g.push(this.b.length);this.i.push(b);a=this.l;b=this.ta.split("\n");var f=Ym(this,b),g,h,l=Math.round(f[0]*this.ab-this.$),m=Math.round(f[1]*this.ra-this.ca),n=this.N.lineWidth/2*this.N.scale; 
     398f=0;for(g=b.length;f<g;++f){var p=0;var q=a.height*f;var r=b[f].split("");var u=0;for(h=r.length;u<h;++u){var v=a.Bh;var z=r[u],A=Um(v.f,z);A?(v=Um(v.i,z),v=Vm(A,v)):v=null;if(v){A=v.image;this.D=l-p;this.C=m-q;this.T=0===u?v.offsetX-n:v.offsetX;this.O=v.offsetY;this.height=a.height;this.width=0===u||u===r.length-1?a.width[r[u]]+n:a.width[r[u]];this.oa=A.height;this.qa=A.width;0===this.c.length?this.c.push(A):(v=this.c[this.c.length-1],x(v)!=x(A)&&(this.v.push(this.b.length),this.c.push(A)));v=c; 
     399z=d;var E=e;for(A=0;A<z;A+=E)Ol(this,v,z,E)}p+=this.width}}}};function Ym(a,b){var c=a.l,d=b.length*c.height;return[b.map(function(b){var d=0,e;var h=0;for(e=b.length;h<e;++h){var l=b[h];c.width[l]||Zm(a,l);d+=c.width[l]?c.width[l]:0}return d}).reduce(function(a,b){return Math.max(a,b)}),d]} 
     400function Zm(a,b){if(1===b.length){var c=a.l,d=a.N;a=a.Ub.getContext("2d");a.font=d.font;a=Math.ceil(a.measureText(b).width*d.scale);c.Bh.add(b,a,c.height,function(a,c,g){a.font=d.font;a.fillStyle=d.fillColor;a.strokeStyle=d.strokeColor;a.lineWidth=d.lineWidth;a.lineCap=d.lineCap;a.lineJoin=d.lineJoin;a.miterLimit=d.miterLimit;a.textAlign="left";a.textBaseline="top";od&&d.lineDash&&(a.setLineDash(d.lineDash),a.lineDashOffset=d.lineDashOffset);1!==d.scale&&a.setTransform(d.scale,0,0,d.scale,0,0);d.strokeColor&& 
     401a.strokeText(b,c,g);d.fillColor&&a.fillText(b,c,g)})&&(c.width[b]=a)}}k.gb=function(a){var b=a.b;this.v.push(this.b.length);this.o=this.v;this.s=new yl(this.a);this.j=new yl(this.b);Pl(this.ua,this.c,{},b);this.N={strokeColor:null,lineCap:void 0,lineDash:null,lineDashOffset:void 0,lineJoin:void 0,lineWidth:0,miterLimit:void 0,fillColor:null,font:void 0,scale:void 0};this.ta="";this.ca=this.$=this.ra=this.ab=void 0;this.c=null;this.B={};this.l=void 0;Nl.prototype.gb.call(this,a)}; 
     402k.nb=function(a){var b=this.N,c=a.Fa(),d=a.Ga();if(a&&a.Ka()&&(c||d)){c?(c=c.b,b.fillColor=zi(c?c:tl)):b.fillColor=null;d?(c=d.a,b.strokeColor=zi(c?c:vl),b.lineWidth=d.c||1,b.lineCap=d.f||"round",b.lineDashOffset=d.i||0,b.lineJoin=d.j||"round",b.miterLimit=d.l||10,d=d.g,b.lineDash=d?d.slice():ul):(b.strokeColor=null,b.lineWidth=0);b.font=a.a||"10px sans-serif";b.scale=a.b||1;this.ta=a.Ka();d=vj[a.f];c=vj[a.j];this.ab=void 0===d?.5:d;this.ra=void 0===c?.5:c;this.$=a.g||0;this.ca=a.c||0;this.rotateWithView= 
     403!!a.l;this.rotation=a.i||0;a=[];for(var e in b)if(b[e]||0===b[e])Array.isArray(b[e])?a=a.concat(b[e]):a.push(b[e]);c="";e=0;for(d=a.length;e<d;++e)c+=a[e];e=c;this.B[e]||(a=this.Ub.getContext("2d"),a.font=b.font,a=Math.ceil((1.5*a.measureText("M").width+b.lineWidth/2)*b.scale),this.B[e]={Bh:new Tm({space:b.lineWidth+1}),width:{},height:a});this.l=this.B[e]}else this.ta=""};k.ig=function(){return this.ua};k.ag=function(){return this.ua};function $m(a,b,c){this.c=b;this.i=a;this.g=c;this.a={}}w($m,sj);k=$m.prototype;k.Vb=function(){};function an(a,b){var c=[],d;for(d in a.a){var e=a.a[d],f;for(f in e)c.push(e[f].Db(b))}return function(){for(var a=c.length,b,d=0;d<a;d++)b=c[d].apply(this,arguments);return b}}function bn(a,b){for(var c in a.a){var d=a.a[c],e;for(e in d)d[e].gb(b)}}k.Ja=function(a,b){var c=void 0!==a?a.toString():"0";a=this.a[c];void 0===a&&(a={},this.a[c]=a);c=a[b];void 0===c&&(c=new cn[b](this.i,this.c),a[b]=c);return c}; 
     404k.yg=function(){return nb(this.a)};k.Na=function(a,b,c,d,e,f,g,h){var l=Object.keys(this.a).map(Number);l.sort(dc);var m,n;var p=0;for(m=l.length;p<m;++p){var q=this.a[l[p].toString()];var r=0;for(n=uj.length;r<n;++r){var u=q[uj[r]];void 0!==u&&u.Na(a,b,c,d,e,f,g,h,void 0,!1)}}}; 
     405function dn(a,b,c,d,e,f,g,h,l,m,n){var p=en,q=Object.keys(a.a).map(Number);q.sort(function(a,b){return b-a});var r,u;var v=0;for(r=q.length;v<r;++v){var z=a.a[q[v].toString()];for(u=uj.length-1;0<=u;--u){var A=z[uj[u]];if(void 0!==A&&(A=A.Na(b,c,d,e,p,f,g,h,l,m,n)))return A}}} 
     406k.wa=function(a,b,c,d,e,f,g,h,l,m){var n=b.b;n.bindFramebuffer(n.FRAMEBUFFER,Il(b));var p;void 0!==this.g&&(p=Fa(Pa(a),d*this.g));return dn(this,b,a,d,e,g,h,l,function(a){var b=new Uint8Array(4);n.readPixels(0,0,1,1,n.RGBA,n.UNSIGNED_BYTE,b);if(0<b[3]&&(a=m(a)))return a},!0,p)};function fn(a,b,c,d,e,f,g,h){var l=c.b;l.bindFramebuffer(l.FRAMEBUFFER,Il(c));return void 0!==dn(a,c,b,d,e,f,g,h,function(){var a=new Uint8Array(4);l.readPixels(0,0,1,1,l.RGBA,l.UNSIGNED_BYTE,a);return 0<a[3]},!1)} 
     407var en=[1,1],cn={Circle:Al,Image:Ql,LineString:Vl,Polygon:Am,Text:Xm};function gn(a,b,c,d,e,f,g){this.b=a;this.g=b;this.c=f;this.i=g;this.l=e;this.j=d;this.f=c;this.a=this.s=this.v=this.o=null}w(gn,Ai);function hn(a,b,c){var d=a.b;b=b.Ja(0,"Text");b.nb(a.a);b.Wb(c,null);b.gb(d);b.Na(a.b,a.g,a.f,a.j,a.l,a.i,1,{},void 0,!1);b.Db(d)()}k=gn.prototype;k.Dd=function(a){this.Oa(a.Fa(),a.Ga());this.Zb(a.Y());this.nb(a.Ka())}; 
     408k.Hb=function(a){switch(a.S()){case "Point":this.yc(a,null);break;case "LineString":this.uc(a,null);break;case "Polygon":this.zc(a,null);break;case "MultiPoint":this.wc(a,null);break;case "MultiLineString":this.vc(a,null);break;case "MultiPolygon":this.xc(a,null);break;case "GeometryCollection":this.De(a);break;case "Circle":this.cc(a,null)}};k.Ce=function(a,b){(a=(0,b.cb)(a))&&hb(this.c,a.G())&&(this.Dd(b),this.Hb(a))};k.De=function(a){a=a.a;var b;var c=0;for(b=a.length;c<b;++c)this.Hb(a[c])}; 
     409k.yc=function(a,b){var c=this.b,d=new $m(1,this.c),e=d.Ja(0,"Image");e.Zb(this.o);e.yc(a,b);e.gb(c);e.Na(this.b,this.g,this.f,this.j,this.l,this.i,1,{},void 0,!1);e.Db(c)();this.a&&hn(this,d,a)};k.wc=function(a,b){var c=this.b,d=new $m(1,this.c),e=d.Ja(0,"Image");e.Zb(this.o);e.wc(a,b);e.gb(c);e.Na(this.b,this.g,this.f,this.j,this.l,this.i,1,{},void 0,!1);e.Db(c)();this.a&&hn(this,d,a)}; 
     410k.uc=function(a,b){var c=this.b,d=new $m(1,this.c),e=d.Ja(0,"LineString");e.Oa(null,this.s);e.uc(a,b);e.gb(c);e.Na(this.b,this.g,this.f,this.j,this.l,this.i,1,{},void 0,!1);e.Db(c)();this.a&&hn(this,d,a)};k.vc=function(a,b){var c=this.b,d=new $m(1,this.c),e=d.Ja(0,"LineString");e.Oa(null,this.s);e.vc(a,b);e.gb(c);e.Na(this.b,this.g,this.f,this.j,this.l,this.i,1,{},void 0,!1);e.Db(c)();this.a&&hn(this,d,a)}; 
     411k.zc=function(a,b){var c=this.b,d=new $m(1,this.c),e=d.Ja(0,"Polygon");e.Oa(this.v,this.s);e.zc(a,b);e.gb(c);e.Na(this.b,this.g,this.f,this.j,this.l,this.i,1,{},void 0,!1);e.Db(c)();this.a&&hn(this,d,a)};k.xc=function(a,b){var c=this.b,d=new $m(1,this.c),e=d.Ja(0,"Polygon");e.Oa(this.v,this.s);e.xc(a,b);e.gb(c);e.Na(this.b,this.g,this.f,this.j,this.l,this.i,1,{},void 0,!1);e.Db(c)();this.a&&hn(this,d,a)}; 
     412k.cc=function(a,b){var c=this.b,d=new $m(1,this.c),e=d.Ja(0,"Circle");e.Oa(this.v,this.s);e.cc(a,b);e.gb(c);e.Na(this.b,this.g,this.f,this.j,this.l,this.i,1,{},void 0,!1);e.Db(c)();this.a&&hn(this,d,a)};k.Zb=function(a){this.o=a};k.Oa=function(a,b){this.v=a;this.s=b};k.nb=function(a){this.a=a};var jn=new il("precision mediump float;varying vec2 a;uniform float f;uniform sampler2D g;void main(void){vec4 texColor=texture2D(g,a);gl_FragColor.rgb=texColor.rgb;gl_FragColor.a=texColor.a*f;}"),kn=new jl("varying vec2 a;attribute vec2 b;attribute vec2 c;uniform mat4 d;uniform mat4 e;void main(void){gl_Position=e*vec4(b,0.,1.);a=(d*vec4(c,0.,1.)).st;}");function ln(a,b){this.f=a.getUniformLocation(b,"d");this.c=a.getUniformLocation(b,"e");this.g=a.getUniformLocation(b,"f");this.i=a.getUniformLocation(b,"g");this.b=a.getAttribLocation(b,"b");this.a=a.getAttribLocation(b,"c")};function mn(a,b){Ki.call(this,b);this.c=a;this.V=new yl([-1,-1,0,0,1,-1,1,0,-1,1,0,1,1,1,1,1]);this.f=this.Mb=null;this.j=void 0;this.v=We();this.N=We();this.C=nl();this.o=null}w(mn,Ki); 
     413function nn(a,b,c){var d=a.c.g;if(void 0===a.j||a.j!=c){b.postRenderFunctions.push(function(a,b,c){a.isContextLost()||(a.deleteFramebuffer(b),a.deleteTexture(c))}.bind(null,d,a.f,a.Mb));b=Jl(d,c,c);var e=d.createFramebuffer();d.bindFramebuffer(36160,e);d.framebufferTexture2D(36160,36064,3553,b,0);a.Mb=b;a.f=e;a.j=c}else d.bindFramebuffer(36160,a.f)} 
     414mn.prototype.Zi=function(a,b,c){on(this,"precompose",c,a);rl(c,34962,this.V);var d=c.b,e=Cl(c,jn,kn);if(this.o)var f=this.o;else this.o=f=new ln(d,e);c.cd(e)&&(d.enableVertexAttribArray(f.b),d.vertexAttribPointer(f.b,2,5126,!1,16,0),d.enableVertexAttribArray(f.a),d.vertexAttribPointer(f.a,2,5126,!1,16,8),d.uniform1i(f.i,0));d.uniformMatrix4fv(f.f,!1,pl(this.C,this.v));d.uniformMatrix4fv(f.c,!1,pl(this.C,this.N));d.uniform1f(f.g,b.opacity);d.bindTexture(3553,this.Mb);d.drawArrays(5,0,4);on(this,"postcompose", 
     415c,a)};function on(a,b,c,d){a=a.a;if(Tc(a,b)){var e=d.viewState;a.b(new bi(b,new gn(c,e.center,e.resolution,e.rotation,d.size,d.extent,d.pixelRatio),d,null,c))}}mn.prototype.Ag=function(){this.f=this.Mb=null;this.j=void 0};function pn(a,b){mn.call(this,a,b);this.l=this.i=this.M=null}w(pn,mn);pn.handles=function(a,b){return"webgl"===a&&"IMAGE"===b.S()};pn.create=function(a,b){return new pn(a,b)};function qn(a,b){b=b.Y();return Ml(a.c.g,b)}pn.prototype.wa=function(a,b,c,d,e){var f=this.a;return f.ha().wa(a,b.viewState.resolution,b.viewState.rotation,c,b.skippedFeatureUids,function(a){return d.call(e,a,f)})}; 
     416pn.prototype.Bg=function(a,b){var c=this.c.g,d=a.pixelRatio,e=a.viewState,f=e.center,g=e.resolution,h=e.rotation,l=this.M,m=this.Mb,n=this.a.ha(),p=a.viewHints,q=a.extent;void 0!==b.extent&&(q=gb(q,b.extent));p[0]||p[1]||bb(q)||(b=n.Y(q,g,d,e.projection))&&Si(this,b)&&(l=b,m=qn(this,b),this.Mb&&a.postRenderFunctions.push(function(a,b){a.isContextLost()||a.deleteTexture(b)}.bind(null,c,this.Mb)));l&&(c=this.c.i.j,rn(this,c.width,c.height,d,f,g,h,l.G()),this.l=null,d=this.v,Xe(d),cf(d,1,-1),df(d,0, 
     417-1),this.M=l,this.Mb=m,Ui(a,n));return!!l};function rn(a,b,c,d,e,f,g,h){b*=f;c*=f;a=a.N;Xe(a);cf(a,2*d/b,2*d/c);bf(a,-g);df(a,h[0]-e[0],h[1]-e[1]);cf(a,(h[2]-h[0])/2,(h[3]-h[1])/2);df(a,1,1)}pn.prototype.cf=function(a,b){return void 0!==this.wa(a,b,0,Re,this)}; 
     418pn.prototype.zg=function(a,b,c,d){if(this.M&&this.M.Y())if(this.a.ha().wa!==ea){var e=af(b.pixelToCoordinateTransform,a.slice());if(this.wa(e,b,0,Re,this))return c.call(d,this.a,null)}else{e=[this.M.Y().width,this.M.Y().height];if(!this.l){var f=b.size;b=We();df(b,-1,-1);cf(b,2/f[0],2/f[1]);df(b,0,f[1]);cf(b,1,-1);f=ff(this.N.slice());var g=We();df(g,0,e[1]);cf(g,1,-1);cf(g,e[0]/2,e[1]/2);df(g,1,1);Ze(g,f);Ze(g,b);this.l=g}a=af(this.l,a.slice());if(!(0>a[0]||a[0]>e[0]||0>a[1]||a[1]>e[1])&&(this.i|| 
     419(this.i=hg(1,1)),this.i.clearRect(0,0,1,1),this.i.drawImage(this.M.Y(),a[0],a[1],1,1,0,0,1,1),e=this.i.getImageData(0,0,1,1).data,0<e[3]))return c.call(d,this.a,e)}};function sn(a,b){fj.call(this,a,b);this.b=document.createElement("CANVAS");this.b.style.width="100%";this.b.style.height="100%";this.b.style.display="block";this.b.className="ol-unselectable";a.insertBefore(this.b,a.childNodes[0]||null);this.N=this.D=0;this.C=hg();this.s=!0;this.g=gd(this.b,{antialias:!0,depth:!0,failIfMajorPerformanceCaveat:!0,preserveDrawingBuffer:!1,stencil:!0});this.i=new Hl(this.b,this.g);y(this.b,"webglcontextlost",this.Co,this);y(this.b,"webglcontextrestored",this.Do,this); 
     420this.a=new ci;this.o=null;this.j=new ge(function(a){var b=a[1];a=a[2];var c=b[0]-this.o[0];b=b[1]-this.o[1];return 65536*Math.log(a)+Math.sqrt(c*c+b*b)/a}.bind(this),function(a){return a[0].lb()});this.B=function(){if(0!==this.j.b.length){ke(this.j);var a=he(this.j);tn(this,a[0],a[3],a[4])}return!1}.bind(this);this.f=0;un(this)}w(sn,fj);sn.handles=function(a){return hd&&"webgl"===a};sn.create=function(a,b){return new sn(a,b)}; 
     421function tn(a,b,c,d){var e=a.g,f=b.lb();if(a.a.a.hasOwnProperty(f))a=a.a.get(f),e.bindTexture(3553,a.Mb),9729!=a.hi&&(e.texParameteri(3553,10240,9729),a.hi=9729),9729!=a.ji&&(e.texParameteri(3553,10241,9729),a.ji=9729);else{var g=e.createTexture();e.bindTexture(3553,g);if(0<d){var h=a.C.canvas,l=a.C;a.D!==c[0]||a.N!==c[1]?(h.width=c[0],h.height=c[1],a.D=c[0],a.N=c[1]):l.clearRect(0,0,c[0],c[1]);l.drawImage(b.Y(),d,d,c[0],c[1],0,0,c[0],c[1]);e.texImage2D(3553,0,6408,6408,5121,h)}else e.texImage2D(3553, 
     4220,6408,6408,5121,b.Y());e.texParameteri(3553,10240,9729);e.texParameteri(3553,10241,9729);e.texParameteri(3553,10242,33071);e.texParameteri(3553,10243,33071);a.a.set(f,{Mb:g,hi:9729,ji:9729})}}function vn(a,b,c){var d=a.l;if(Tc(d,b)){a=a.i;var e=c.viewState;d.b(new bi(b,new gn(a,e.center,e.resolution,e.rotation,c.size,c.extent,c.pixelRatio),c,null,a))}}k=sn.prototype;k.ia=function(){var a=this.g;a.isContextLost()||this.a.forEach(function(b){b&&a.deleteTexture(b.Mb)});Pc(this.i);fj.prototype.ia.call(this)}; 
     423k.Yk=function(a,b){a=this.g;for(var c;1024<this.a.i-this.f;){if(c=this.a.g.Pc)a.deleteTexture(c.Mb);else if(+this.a.g.jc==b.index)break;else--this.f;this.a.pop()}};k.S=function(){return"webgl"};k.Co=function(a){a.preventDefault();this.a.clear();this.f=0;a=this.c;for(var b in a)a[b].Ag()};k.Do=function(){un(this);this.l.render()};function un(a){a=a.g;a.activeTexture(33984);a.blendFuncSeparate(770,771,1,771);a.disable(2884);a.disable(2929);a.disable(3089);a.disable(2960)} 
     424k.bh=function(a){var b=this.i,c=this.g;if(c.isContextLost())return!1;if(!a)return this.s&&(this.b.style.display="none",this.s=!1),!1;this.o=a.focus;this.a.set((-a.index).toString(),null);++this.f;vn(this,"precompose",a);var d=[],e=a.layerStatesArray;kc(e);var f=a.viewState.resolution,g;var h=0;for(g=e.length;h<g;++h){var l=e[h];if(yg(l,f)&&"ready"==l.Vj){var m=ij(this,l.layer);m.Bg(a,l,b)&&d.push(l)}}e=a.size[0]*a.pixelRatio;f=a.size[1]*a.pixelRatio;if(this.b.width!=e||this.b.height!=f)this.b.width= 
     425e,this.b.height=f;c.bindFramebuffer(36160,null);c.clearColor(0,0,0,0);c.clear(16384);c.enable(3042);c.viewport(0,0,this.b.width,this.b.height);h=0;for(g=d.length;h<g;++h)l=d[h],m=ij(this,l.layer),m.Zi(a,l,b);this.s||(this.b.style.display="",this.s=!0);gj(a);1024<this.a.i-this.f&&a.postRenderFunctions.push(this.Yk.bind(this));0!==this.j.b.length&&(a.postRenderFunctions.push(this.B),a.animate=!0);vn(this,"postcompose",a);jj(this,a);a.postRenderFunctions.push(hj)}; 
     426k.wa=function(a,b,c,d,e,f,g){if(this.g.isContextLost())return!1;var h=b.viewState,l=b.layerStatesArray,m;for(m=l.length-1;0<=m;--m){var n=l[m];var p=n.layer;if(yg(n,h.resolution)&&f.call(g,p)&&(n=ij(this,p).wa(a,b,c,d,e)))return n}};k.Ui=function(a,b,c,d,e){c=!1;if(this.g.isContextLost())return!1;var f=b.viewState,g=b.layerStatesArray,h;for(h=g.length-1;0<=h;--h){var l=g[h],m=l.layer;if(yg(l,f.resolution)&&d.call(e,m)&&(c=ij(this,m).cf(a,b)))return!0}return c}; 
     427k.Ti=function(a,b,c,d,e){if(this.g.isContextLost())return!1;var f=b.viewState,g=b.layerStatesArray,h;for(h=g.length-1;0<=h;--h){var l=g[h];var m=l.layer;if(yg(l,f.resolution)&&e.call(d,m)&&(l=ij(this,m).zg(a,b,c,d)))return l}};var wn=new il("precision mediump float;varying vec2 a;uniform sampler2D e;void main(void){gl_FragColor=texture2D(e,a);}"),xn=new jl("varying vec2 a;attribute vec2 b;attribute vec2 c;uniform vec4 d;void main(void){gl_Position=vec4(b*d.xy+d.zw,0.,1.);a=c;}");function yn(a,b){this.c=a.getUniformLocation(b,"d");this.g=a.getUniformLocation(b,"e");this.b=a.getAttribLocation(b,"b");this.a=a.getAttribLocation(b,"c")};function zn(a,b){mn.call(this,a,b);this.T=wn;this.ca=xn;this.i=null;this.B=new yl([0,0,0,1,1,0,1,1,0,1,0,0,1,1,1,0]);this.D=this.l=null;this.s=-1;this.O=[0,0]}w(zn,mn);zn.handles=function(a,b){return"webgl"===a&&"TILE"===b.S()};zn.create=function(a,b){return new zn(a,b)};k=zn.prototype;k.ia=function(){Bl(this.c.i,this.B);mn.prototype.ia.call(this)}; 
     428k.Rf=function(a,b,c){var d=this.c;return function(e,f){return Li(a,b,e,f,function(a){var b=d.a.a.hasOwnProperty(a.lb());b&&(c[e]||(c[e]={}),c[e][a.ya.toString()]=a);return b})}};k.Ag=function(){mn.prototype.Ag.call(this);this.i=null}; 
     429k.Bg=function(a,b,c){var d=this.c,e=c.b,f=a.viewState,g=f.projection,h=this.a,l=h.ha(),m=l.eb(g),n=m.Dc(f.resolution),p=m.Ta(n),q=l.Zd(n,a.pixelRatio,g),r=q[0]/Ba(m.Za(n),this.O)[0],u=p/r,v=l.Xc(r)*l.Zf(g),z=f.center,A=a.extent,E=tc(m,A,n);if(this.l&&na(this.l,E)&&this.s==l.g)u=this.D;else{var S=[E.la-E.fa+1,E.ka-E.ea+1],Ia=ra(Math.max(S[0]*q[0],S[1]*q[1]));S=u*Ia;var ta=m.Ic(n),la=ta[0]+E.fa*q[0]*u;u=ta[1]+E.ea*q[1]*u;u=[la,u,la+S,u+S];nn(this,a,Ia);e.viewport(0,0,Ia,Ia);e.clearColor(0,0,0,0);e.clear(16384); 
     430e.disable(3042);Ia=Cl(c,this.T,this.ca);c.cd(Ia);this.i||(this.i=new yn(e,Ia));rl(c,34962,this.B);e.enableVertexAttribArray(this.i.b);e.vertexAttribPointer(this.i.b,2,5126,!1,16,0);e.enableVertexAttribArray(this.i.a);e.vertexAttribPointer(this.i.a,2,5126,!1,16,8);e.uniform1i(this.i.g,0);c={};c[n]={};var ca=this.Rf(l,g,c),ia=h.i();Ia=!0;la=Da();var xa=new ja(0,0,0,0),Va,ic;for(Va=E.fa;Va<=E.la;++Va)for(ic=E.ea;ic<=E.ka;++ic){ta=l.ad(n,Va,ic,r,g);if(void 0!==b.extent){var Xa=m.Ma(ta.ya,la);if(!hb(Xa, 
     431b.extent))continue}Xa=ta.getState();(Xa=2==Xa||4==Xa||3==Xa&&!ia)||(ta=pj(ta));Xa=ta.getState();if(2==Xa){if(d.a.a.hasOwnProperty(ta.lb())){c[n][ta.ya.toString()]=ta;continue}}else if(4==Xa||3==Xa&&!ia)continue;Ia=!1;Xa=uc(m,ta.ya,ca,xa,la);Xa||(ta=vc(m,ta.ya,xa,la))&&ca(n+1,ta)}b=Object.keys(c).map(Number);b.sort(dc);ca=new Float32Array(4);var Z;ia=0;for(xa=b.length;ia<xa;++ia)for(Z in Va=c[b[ia]],Va)ta=Va[Z],Xa=m.Ma(ta.ya,la),ca[0]=2*(Xa[2]-Xa[0])/S,ca[1]=2*(Xa[3]-Xa[1])/S,ca[2]=2*(Xa[0]-u[0])/ 
     432S-1,ca[3]=2*(Xa[1]-u[1])/S-1,e.uniform4fv(this.i.c,ca),tn(d,ta,q,v*r),e.drawArrays(5,0,4);Ia?(this.l=E,this.D=u,this.s=l.g):(this.D=this.l=null,this.s=-1,a.animate=!0)}Vi(a.usedTiles,l,n,E);var Zb=d.j;Wi(a,l,m,r,g,A,n,h.c(),function(a){2!=a.getState()||d.a.a.hasOwnProperty(a.lb())||a.lb()in Zb.a||Zb.i([a,yc(m,a.ya),m.Ta(a.ya[0]),q,v*r])},this);Ti(a,l);Ui(a,l);e=this.v;Xe(e);df(e,(Math.round(z[0]/p)*p-u[0])/(u[2]-u[0]),(Math.round(z[1]/p)*p-u[1])/(u[3]-u[1]));0!==f.rotation&&bf(e,f.rotation);cf(e, 
     433a.size[0]*f.resolution/(u[2]-u[0]),a.size[1]*f.resolution/(u[3]-u[1]));df(e,-.5,-.5);return!0};k.zg=function(a,b,c,d){if(this.f){a=af(this.v,[a[0]/b.size[0],(b.size[1]-a[1])/b.size[1]].slice());a=[a[0]*this.j,a[1]*this.j];b=this.c.i.b;b.bindFramebuffer(b.FRAMEBUFFER,this.f);var e=new Uint8Array(4);b.readPixels(a[0],a[1],1,1,b.RGBA,b.UNSIGNED_BYTE,e);if(0<e[3])return c.call(d,this.a,e)}};function An(a,b){mn.call(this,a,b);this.s=!1;this.O=-1;this.T=NaN;this.D=Da();this.l=this.i=this.B=null}w(An,mn);An.handles=function(a,b){return"webgl"===a&&"VECTOR"===b.S()};An.create=function(a,b){return new An(a,b)};k=An.prototype;k.Zi=function(a,b,c){this.l=b;var d=a.viewState,e=this.i,f=a.size,g=a.pixelRatio,h=this.c.g;e&&!e.yg()&&(h.enable(h.SCISSOR_TEST),h.scissor(0,0,f[0]*g,f[1]*g),e.Na(c,d.center,d.resolution,d.rotation,f,g,b.opacity,b.Te?a.skippedFeatureUids:{}),h.disable(h.SCISSOR_TEST))}; 
     434k.ia=function(){var a=this.i;a&&(an(a,this.c.i)(),this.i=null);mn.prototype.ia.call(this)};k.wa=function(a,b,c,d,e){if(this.i&&this.l){c=b.viewState;var f=this.a,g={};return this.i.wa(a,this.c.i,c.center,c.resolution,c.rotation,b.size,b.pixelRatio,this.l.opacity,{},function(a){var b=x(a).toString();if(!(b in g))return g[b]=!0,d.call(e,a,f)})}};k.cf=function(a,b){if(this.i&&this.l){var c=b.viewState;return fn(this.i,a,this.c.i,c.resolution,c.rotation,b.pixelRatio,this.l.opacity,b.skippedFeatureUids)}return!1}; 
     435k.zg=function(a,b,c,d){a=af(b.pixelToCoordinateTransform,a.slice());if(this.cf(a,b))return c.call(d,this.a,null)};k.$i=function(){Mi(this)}; 
     436k.Bg=function(a,b,c){function d(a){var b=a.ib();if(b)var c=b.call(a,m);else(b=e.ib())&&(c=b(a,m));if(c){if(c){b=!1;if(Array.isArray(c))for(var d=c.length-1;0<=d;--d)b=ek(q,a,c[d],dk(m,n),this.$i,this)||b;else b=ek(q,a,c,dk(m,n),this.$i,this)||b;a=b}else a=!1;this.s=this.s||a}}var e=this.a;b=e.ha();Ui(a,b);var f=a.viewHints[0],g=a.viewHints[1],h=e.ca,l=e.ra;if(!this.s&&!h&&f||!l&&g)return!0;g=a.extent;h=a.viewState;f=h.projection;var m=h.resolution,n=a.pixelRatio;h=e.g;var p=e.f;l=e.get(ik);void 0=== 
     437l&&(l=ck);g=Fa(g,p*m);if(!this.s&&this.T==m&&this.O==h&&this.B==l&&La(this.D,g))return!0;this.i&&a.postRenderFunctions.push(an(this.i,c));this.s=!1;var q=new $m(.5*m/n,g,e.f);b.ae(g,m,f);if(l){var r=[];b.ec(g,function(a){r.push(a)},this);r.sort(l);r.forEach(d,this)}else b.ec(g,d,this);bn(q,c);this.T=m;this.O=h;this.B=l;this.D=g;this.i=q;return!0};qg("MAP_RENDERER",kj);rg([bj,mj,hk,jk]);qg("MAP_RENDERER",sn);rg([pn,zn,An]);function K(a){a=kb({},a);a.controls||(a.controls=Fg());a.interactions||(a.interactions=Zh());G.call(this,a)}w(K,G);function Bn(a){Vc.call(this);this.id=a.id;this.insertFirst=void 0!==a.insertFirst?a.insertFirst:!0;this.stopEvent=void 0!==a.stopEvent?a.stopEvent:!0;this.element=document.createElement("DIV");this.element.className=void 0!==a.className?a.className:"ol-overlay-container ol-selectable";this.element.style.position="absolute";this.autoPan=void 0!==a.autoPan?a.autoPan:!1;this.autoPanAnimation=a.autoPanAnimation||{};this.autoPanMargin=void 0!==a.autoPanMargin?a.autoPanMargin:20;this.a={ze:"",Se:"",xf:"", 
     438Ef:"",visible:!0};this.c=null;y(this,Xc(Cn),this.am,this);y(this,Xc(Dn),this.km,this);y(this,Xc(En),this.om,this);y(this,Xc(Fn),this.qm,this);y(this,Xc(Gn),this.rm,this);void 0!==a.element&&this.Hj(a.element);this.Mj(void 0!==a.offset?a.offset:[0,0]);this.Pj(void 0!==a.positioning?a.positioning:"top-left");void 0!==a.position&&this.We(a.position)}w(Bn,Vc);k=Bn.prototype;k.Rd=function(){return this.get(Cn)};k.nn=function(){return this.id};k.Ve=function(){return this.get(Dn)};k.Xh=function(){return this.get(En)}; 
     439k.pi=function(){return this.get(Fn)};k.Yh=function(){return this.get(Gn)};k.am=function(){for(var a=this.element;a.lastChild;)a.removeChild(a.lastChild);(a=this.Rd())&&this.element.appendChild(a)};k.km=function(){this.c&&(jg(this.element),Gc(this.c),this.c=null);var a=this.Ve();a&&(this.c=y(a,"postrender",this.render,this),Hn(this),a=this.stopEvent?a.v:a.o,this.insertFirst?a.insertBefore(this.element,a.childNodes[0]||null):a.appendChild(this.element))};k.render=function(){Hn(this)};k.om=function(){Hn(this)}; 
     440k.qm=function(){Hn(this);if(this.get(Fn)&&this.autoPan){var a=this.Ve();if(a&&a.Cc()){var b=In(a.Cc(),a.Cb()),c=this.Rd(),d=c.offsetWidth,e=getComputedStyle(c);d+=parseInt(e.marginLeft,10)+parseInt(e.marginRight,10);e=c.offsetHeight;var f=getComputedStyle(c);e+=parseInt(f.marginTop,10)+parseInt(f.marginBottom,10);var g=In(c,[d,e]);c=this.autoPanMargin;La(b,g)||(d=g[0]-b[0],e=b[2]-g[2],f=g[1]-b[1],g=b[3]-g[3],b=[0,0],0>d?b[0]=d-c:0>e&&(b[0]=Math.abs(e)+c),0>f?b[1]=f-c:0>g&&(b[1]=Math.abs(g)+c),0=== 
     441b[0]&&0===b[1])||(c=a.aa().xa(),c=a.Ia(c),b=[c[0]+b[0],c[1]+b[1]],a.aa().animate({center:a.Ra(b),duration:this.autoPanAnimation.duration,easing:this.autoPanAnimation.easing}))}}};k.rm=function(){Hn(this)};k.Hj=function(a){this.set(Cn,a)};k.setMap=function(a){this.set(Dn,a)};k.Mj=function(a){this.set(En,a)};k.We=function(a){this.set(Fn,a)};function In(a,b){var c=a.getBoundingClientRect();a=c.left+window.pageXOffset;c=c.top+window.pageYOffset;return[a,c,a+b[0],c+b[1]]}k.Pj=function(a){this.set(Gn,a)}; 
     442function Jn(a,b){a.a.visible!==b&&(a.element.style.display=b?"":"none",a.a.visible=b)} 
     443function Hn(a){var b=a.Ve(),c=a.pi();if(b&&b.c&&c){c=b.Ia(c);var d=b.Cb();b=a.element.style;var e=a.Xh(),f=a.Yh();Jn(a,!0);var g=e[0];e=e[1];if("bottom-right"==f||"center-right"==f||"top-right"==f)""!==a.a.Se&&(a.a.Se=b.left=""),g=Math.round(d[0]-c[0]-g)+"px",a.a.xf!=g&&(a.a.xf=b.right=g);else{""!==a.a.xf&&(a.a.xf=b.right="");if("bottom-center"==f||"center-center"==f||"top-center"==f)g-=a.element.offsetWidth/2;g=Math.round(c[0]+g)+"px";a.a.Se!=g&&(a.a.Se=b.left=g)}if("bottom-left"==f||"bottom-center"== 
     444f||"bottom-right"==f)""!==a.a.Ef&&(a.a.Ef=b.top=""),c=Math.round(d[1]-c[1]-e)+"px",a.a.ze!=c&&(a.a.ze=b.bottom=c);else{""!==a.a.ze&&(a.a.ze=b.bottom="");if("center-left"==f||"center-center"==f||"center-right"==f)e-=a.element.offsetHeight/2;c=Math.round(c[1]+e)+"px";a.a.Ef!=c&&(a.a.Ef=b.top=c)}}else Jn(a,!1)}var Cn="element",Dn="map",En="offset",Fn="position",Gn="positioning";function Kn(a,b,c,d,e,f){cl.call(this,a,b,f);this.c=0;this.l=null;this.v=d;this.a=null;this.f={};this.C=e;this.N=c}w(Kn,cl);k=Kn.prototype;k.ia=function(){this.a=null;this.f={};this.state=5;this.u();cl.prototype.ia.call(this)};k.G=function(){return this.l||Ln};k.qn=function(){return this.v};k.pn=function(){return this.a};k.lb=function(){return this.N};k.rn=function(){return this.o};function ok(a,b,c){return a.f[x(b)+","+c]} 
     445k.load=function(){0==this.state&&(oj(this,1),this.C(this,this.N),this.D(null,NaN,null))};k.Cp=function(a,b,c){this.vg(b);this.Ij(a);this.ri(c)};k.Bp=function(){oj(this,3)};k.ri=function(a){this.l=a};k.Ij=function(a){this.a=a;oj(this,2)};k.vg=function(a){this.o=a};k.ug=function(a){this.D=a};var Ln=[0,0,4096,4096];function Mn(a){a=a?a:{};this.c=void 0!==a.className?a.className:"ol-full-screen";var b=void 0!==a.label?a.label:"\u2922";this.l="string"===typeof b?document.createTextNode(b):b;b=void 0!==a.labelActive?a.labelActive:"\u00d7";this.v="string"===typeof b?document.createTextNode(b):b;var c=a.tipLabel?a.tipLabel:"Toggle full-screen";b=document.createElement("button");b.className=this.c+"-"+Nn();b.setAttribute("type","button");b.title=c;b.appendChild(this.l);y(b,"click",this.C,this);c=document.createElement("div"); 
     446c.className=this.c+" ol-unselectable ol-control "+(On()?"":"ol-unsupported");c.appendChild(b);vg.call(this,{element:c,target:a.target});this.D=void 0!==a.keys?a.keys:!1;this.j=a.source}w(Mn,vg); 
     447Mn.prototype.C=function(a){a.preventDefault();On()&&(a=this.a)&&(Nn()?document.exitFullscreen?document.exitFullscreen():document.msExitFullscreen?document.msExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen():(a=this.j?"string"===typeof this.j?document.getElementById(this.j):this.j:a.Cc(),this.D?a.mozRequestFullScreenWithKeys?a.mozRequestFullScreenWithKeys():a.webkitRequestFullscreen?a.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT): 
     448Pn(a):Pn(a)))};Mn.prototype.o=function(){var a=this.element.firstElementChild,b=this.a;Nn()?(a.className=this.c+"-true",ig(this.v,this.l)):(a.className=this.c+"-false",ig(this.l,this.v));b&&b.Oc()};Mn.prototype.setMap=function(a){vg.prototype.setMap.call(this,a);a&&this.s.push(y(document,Qn(),this.o,this))}; 
     449function On(){var a=document.body;return!!(a.webkitRequestFullscreen||a.mozRequestFullScreen&&document.mozFullScreenEnabled||a.msRequestFullscreen&&document.msFullscreenEnabled||a.requestFullscreen&&document.fullscreenEnabled)}function Nn(){return!!(document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||document.fullscreenElement)} 
     450function Pn(a){a.requestFullscreen?a.requestFullscreen():a.msRequestFullscreen?a.msRequestFullscreen():a.mozRequestFullScreen?a.mozRequestFullScreen():a.webkitRequestFullscreen&&a.webkitRequestFullscreen()}var Qn=function(){var a;return function(){if(!a){var b=document.body;b.webkitRequestFullscreen?a="webkitfullscreenchange":b.mozRequestFullScreen?a="mozfullscreenchange":b.msRequestFullscreen?a="MSFullscreenChange":b.requestFullscreen&&(a="fullscreenchange")}return a}}();function Rn(a){a=a?a:{};var b=document.createElement("DIV");b.className=void 0!==a.className?a.className:"ol-mouse-position";vg.call(this,{element:b,render:a.render?a.render:Sn,target:a.target});y(this,Xc(Tn),this.En,this);a.coordinateFormat&&this.Gj(a.coordinateFormat);a.projection&&this.ti(a.projection);this.o=void 0!==a.undefinedHTML?a.undefinedHTML:"";this.v=b.innerHTML;this.l=this.j=this.c=null}w(Rn,vg); 
     451function Sn(a){a=a.frameState;a?this.c!=a.viewState.projection&&(this.c=a.viewState.projection,this.j=null):this.c=null;Un(this,this.l)}k=Rn.prototype;k.En=function(){this.j=null};k.Qh=function(){return this.get(Vn)};k.si=function(){return this.get(Tn)};k.mm=function(a){this.l=this.a.ud(a);Un(this,this.l)};k.nm=function(){Un(this,null);this.l=null};k.setMap=function(a){vg.prototype.setMap.call(this,a);a&&(a=a.a,this.s.push(y(a,"mousemove",this.mm,this),y(a,"mouseout",this.nm,this)))}; 
     452k.Gj=function(a){this.set(Vn,a)};k.ti=function(a){this.set(Tn,Ob(a))};function Un(a,b){var c=a.o;if(b&&a.c){if(!a.j){var d=a.si();a.j=d?Pb(a.c,d):$b}if(b=a.a.Ra(b))a.j(b,b),c=(c=a.Qh())?c(b):b.toString()}a.v&&c==a.v||(a.element.innerHTML=c,a.v=c)}var Tn="projection",Vn="coordinateFormat";function Wn(a){function b(a){a=h.Sd(a);l.a.aa().ub(a);window.removeEventListener("mousemove",c);window.removeEventListener("mouseup",b)}function c(a){a=h.Sd({clientX:a.clientX-n.offsetWidth/2,clientY:a.clientY+n.offsetHeight/2});m.We(a)}a=a?a:{};this.j=void 0!==a.collapsed?a.collapsed:!0;this.l=void 0!==a.collapsible?a.collapsible:!0;this.l||(this.j=!1);var d=void 0!==a.className?a.className:"ol-overviewmap",e=void 0!==a.tipLabel?a.tipLabel:"Overview map",f=void 0!==a.collapseLabel?a.collapseLabel: 
     453"\u00ab";"string"===typeof f?(this.o=document.createElement("span"),this.o.textContent=f):this.o=f;f=void 0!==a.label?a.label:"\u00bb";"string"===typeof f?(this.D=document.createElement("span"),this.D.textContent=f):this.D=f;var g=this.l&&!this.j?this.o:this.D;f=document.createElement("button");f.setAttribute("type","button");f.title=e;f.appendChild(g);y(f,"click",this.Hn,this);this.C=document.createElement("DIV");this.C.className="ol-overviewmap-map";var h=this.c=new G({controls:new B,interactions:new B, 
     454view:a.view});a.layers&&a.layers.forEach(function(a){h.xe(a)},this);e=document.createElement("DIV");e.className="ol-overviewmap-box";e.style.boxSizing="border-box";this.v=new Bn({position:[0,0],positioning:"bottom-left",element:e});this.c.ye(this.v);e=document.createElement("div");e.className=d+" ol-unselectable ol-control"+(this.j&&this.l?" ol-collapsed":"")+(this.l?"":" ol-uncollapsible");e.appendChild(this.C);e.appendChild(f);vg.call(this,{element:e,render:a.render?a.render:Xn,target:a.target}); 
     455var l=this,m=this.v,n=this.v.Rd();n.addEventListener("mousedown",function(){window.addEventListener("mousemove",c);window.addEventListener("mouseup",b)})}w(Wn,vg);k=Wn.prototype;k.setMap=function(a){var b=this.a;a!==b&&(b&&((b=b.aa())&&Mc(b,Xc("rotation"),this.Qe,this),this.c.Ad(null)),vg.prototype.setMap.call(this,a),a&&(this.c.Ad(this.C),this.s.push(y(a,"propertychange",this.lm,this)),0===this.c.Xe().kc()&&this.c.zf(a.hc()),a=a.aa()))&&(y(a,Xc("rotation"),this.Qe,this),ag(a)&&(this.c.Oc(),Yn(this)))}; 
     456k.lm=function(a){"view"===a.key&&((a=a.oldValue)&&Mc(a,Xc("rotation"),this.Qe,this),a=this.a.aa(),y(a,Xc("rotation"),this.Qe,this))};k.Qe=function(){this.c.aa().ce(this.a.aa().Sa())};function Xn(){var a=this.a,b=this.c;if(a.c&&b.c){var c=a.Cb();a=a.aa().qd(c);var d=b.Cb();c=b.aa().qd(d);var e=b.Ia($a(a)),f=b.Ia(Ya(a));b=Math.abs(e[0]-f[0]);e=Math.abs(e[1]-f[1]);f=d[0];d=d[1];b<.1*f||e<.1*d||b>.75*f||e>.75*d?Yn(this):La(c,a)||(a=this.c,c=this.a.aa(),a.aa().ub(c.xa()))}Zn(this)} 
     457function Yn(a){var b=a.a;a=a.c;var c=b.Cb();b=b.aa().qd(c);a=a.aa();ib(b,1/(.1*Math.pow(2,Math.log(7.5)/Math.LN2/2)));a.Uf(b)}function Zn(a){var b=a.a,c=a.c;if(b.c&&c.c){var d=b.Cb(),e=b.aa(),f=c.aa();c=e.Sa();b=a.v;var g=a.v.Rd(),h=e.qd(d);d=f.Pa();e=Wa(h);f=Za(h);if(a=a.a.aa().xa()){var l=[e[0]-a[0],e[1]-a[1]];Fe(l,c);ze(l,a)}b.We(l);g&&(g.style.width=Math.abs((e[0]-f[0])/d)+"px",g.style.height=Math.abs((f[1]-e[1])/d)+"px")}}k.Hn=function(a){a.preventDefault();$n(this)}; 
     458function $n(a){a.element.classList.toggle("ol-collapsed");a.j?ig(a.o,a.D):ig(a.D,a.o);a.j=!a.j;var b=a.c;a.j||b.c||(b.Oc(),Yn(a),Lc(b,"postrender",function(){Zn(this)},a))}k.Gn=function(){return this.l};k.Jn=function(a){this.l!==a&&(this.l=a,this.element.classList.toggle("ol-uncollapsible"),!a&&this.j&&$n(this))};k.In=function(a){this.l&&this.j!==a&&$n(this)};k.Fn=function(){return this.j};k.Hl=function(){return this.c};function ao(a){a=a?a:{};var b=void 0!==a.className?a.className:"ol-scale-line";this.l=document.createElement("DIV");this.l.className=b+"-inner";this.c=document.createElement("DIV");this.c.className=b+" ol-unselectable";this.c.appendChild(this.l);this.o=null;this.v=void 0!==a.minWidth?a.minWidth:64;this.j=!1;this.B=void 0;this.D="";vg.call(this,{element:this.c,render:a.render?a.render:bo,target:a.target});y(this,Xc(co),this.V,this);this.O(a.units||"metric")}w(ao,vg);var eo=[1,2,5];ao.prototype.C=function(){return this.get(co)}; 
     459function bo(a){(a=a.frameState)?this.o=a.viewState:this.o=null;fo(this)}ao.prototype.V=function(){fo(this)};ao.prototype.O=function(a){this.set(co,a)}; 
     460function fo(a){var b=a.o;if(b){var c=b.center,d=b.projection,e=a.C();b=Nb(d,b.resolution,c,"degrees"==e?"degrees":"m");"degrees"!=e&&(b*=d.Bc());var f=a.v*b;c="";"degrees"==e?(c=ub.degrees,"degrees"==d.a?f*=c:b/=c,f<c/60?(c="\u2033",b*=3600):f<c?(c="\u2032",b*=60):c="\u00b0"):"imperial"==e?.9144>f?(c="in",b/=.0254):1609.344>f?(c="ft",b/=.3048):(c="mi",b/=1609.344):"nautical"==e?(b/=1852,c="nm"):"metric"==e?.001>f?(c="\u03bcm",b*=1E6):1>f?(c="mm",b*=1E3):1E3>f?c="m":(c="km",b/=1E3):"us"==e?.9144>f? 
     461(c="in",b*=39.37):1609.344>f?(c="ft",b/=.30480061):(c="mi",b/=1609.3472):oa(!1,33);for(e=3*Math.floor(Math.log(a.v*b)/Math.log(10));;){f=eo[(e%3+3)%3]*Math.pow(10,Math.floor(e/3));d=Math.round(f/b);if(isNaN(d)){a.c.style.display="none";a.j=!1;return}if(d>=a.v)break;++e}b=f+" "+c;a.D!=b&&(a.l.innerHTML=b,a.D=b);a.B!=d&&(a.l.style.width=d+"px",a.B=d);a.j||(a.c.style.display="",a.j=!0)}else a.j&&(a.c.style.display="none",a.j=!1)}var co="units";function go(a){a=a?a:{};this.c=void 0;this.j=ho;this.D=this.v=0;this.O=null;this.$=!1;this.V=void 0!==a.duration?a.duration:200;var b=void 0!==a.className?a.className:"ol-zoomslider",c=document.createElement("button");c.setAttribute("type","button");c.className=b+"-thumb ol-unselectable";var d=document.createElement("div");d.className=b+" ol-unselectable ol-control";d.appendChild(c);this.l=new Xd(d);y(this.l,"pointerdown",this.$l,this);y(this.l,"pointermove",this.Yl,this);y(this.l,"pointerup",this.Zl, 
     462this);y(d,"click",this.Xl,this);y(c,"click",Rc);vg.call(this,{element:d,render:a.render?a.render:io})}w(go,vg);go.prototype.ia=function(){Pc(this.l);vg.prototype.ia.call(this)};var ho=0;k=go.prototype;k.setMap=function(a){vg.prototype.setMap.call(this,a);a&&a.render()}; 
     463function io(a){if(a.frameState){if(!this.$){var b=this.element,c=b.offsetWidth,d=b.offsetHeight,e=b.firstElementChild,f=getComputedStyle(e);b=e.offsetWidth+parseFloat(f.marginRight)+parseFloat(f.marginLeft);e=e.offsetHeight+parseFloat(f.marginTop)+parseFloat(f.marginBottom);this.O=[b,e];c>d?(this.j=1,this.D=c-b):(this.j=ho,this.v=d-e);this.$=!0}a=a.frameState.viewState.resolution;a!==this.c&&(this.c=a,jo(this,a))}} 
     464k.Xl=function(a){var b=this.a.aa();a=ko(this,pa(1===this.j?(a.offsetX-this.O[0]/2)/this.D:(a.offsetY-this.O[1]/2)/this.v,0,1));b.animate({resolution:b.constrainResolution(a),duration:this.V,easing:Oe})};k.$l=function(a){this.o||a.b.target!==this.element.firstElementChild||(bg(this.a.aa(),1,1),this.C=a.clientX,this.B=a.clientY,this.o=!0)}; 
     465k.Yl=function(a){if(this.o){var b=this.element.firstElementChild;this.c=ko(this,pa(1===this.j?(a.clientX-this.C+parseInt(b.style.left,10))/this.D:(a.clientY-this.B+parseInt(b.style.top,10))/this.v,0,1));this.a.aa().gd(this.c);jo(this,this.c);this.C=a.clientX;this.B=a.clientY}};k.Zl=function(){if(this.o){var a=this.a.aa();bg(a,1,-1);a.animate({resolution:a.constrainResolution(this.c),duration:this.V,easing:Oe});this.o=!1;this.B=this.C=void 0}}; 
     466function jo(a,b){b=1-gg(a.a.aa())(b);var c=a.element.firstElementChild;1==a.j?c.style.left=a.D*b+"px":c.style.top=a.v*b+"px"}function ko(a,b){return fg(a.a.aa())(1-b)};function lo(a){a=a?a:{};this.extent=a.extent?a.extent:null;var b=void 0!==a.className?a.className:"ol-zoom-extent",c=void 0!==a.label?a.label:"E",d=void 0!==a.tipLabel?a.tipLabel:"Fit to extent",e=document.createElement("button");e.setAttribute("type","button");e.title=d;e.appendChild("string"===typeof c?document.createTextNode(c):c);y(e,"click",this.c,this);c=document.createElement("div");c.className=b+" ol-unselectable ol-control";c.appendChild(e);vg.call(this,{element:c,target:a.target})} 
     467w(lo,vg);lo.prototype.c=function(a){a.preventDefault();a=this.a.aa();var b=this.extent?this.extent:a.v.G();a.Uf(b)};var mo=document.implementation.createDocument("","",null);function no(a,b){return mo.createElementNS(a,b)}function oo(a,b){return po(a,b,[]).join("")}function po(a,b,c){if(a.nodeType==Node.CDATA_SECTION_NODE||a.nodeType==Node.TEXT_NODE)b?c.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):c.push(a.nodeValue);else for(a=a.firstChild;a;a=a.nextSibling)po(a,b,c);return c}function qo(a){return a instanceof Document}function ro(a){return a instanceof Node} 
     468function so(a){return(new DOMParser).parseFromString(a,"application/xml")}function to(a,b){return function(c,d){c=a.call(b,c,d);void 0!==c&&gc(d[d.length-1],c)}}function uo(a,b){return function(c,d){c=a.call(void 0!==b?b:this,c,d);void 0!==c&&d[d.length-1].push(c)}}function vo(a,b){return function(c,d){c=a.call(void 0!==b?b:this,c,d);void 0!==c&&(d[d.length-1]=c)}} 
     469function wo(a){return function(b,c){var d=a.call(this,b,c);if(void 0!==d){c=c[c.length-1];b=b.localName;var e;b in c?e=c[b]:e=c[b]=[];e.push(d)}}}function L(a,b){return function(c,d){var e=a.call(this,c,d);void 0!==e&&(d[d.length-1][void 0!==b?b:c.localName]=e)}}function M(a,b){return function(c,d,e){a.call(void 0!==b?b:this,c,d,e);e[e.length-1].node.appendChild(c)}} 
     470function xo(a){var b,c;return function(d,e,f){if(void 0===b){b={};var g={};g[d.localName]=a;b[d.namespaceURI]=g;c=yo(d.localName)}zo(b,c,e,f)}}function yo(a,b){return function(c,d,e){c=d[d.length-1].node;d=a;void 0===d&&(d=e);e=b;void 0===b&&(e=c.namespaceURI);return no(e,d)}}var Ao=yo();function Bo(a,b){for(var c=b.length,d=Array(c),e=0;e<c;++e)d[e]=a[b[e]];return d}function N(a,b,c){c=void 0!==c?c:{};var d;var e=0;for(d=a.length;e<d;++e)c[a[e]]=b;return c} 
     471function Co(a,b,c,d){for(b=b.firstElementChild;b;b=b.nextElementSibling){var e=a[b.namespaceURI];void 0!==e&&(e=e[b.localName],void 0!==e&&e.call(d,b,c))}}function O(a,b,c,d,e){d.push(a);Co(b,c,d,e);return d.pop()}function zo(a,b,c,d,e,f){for(var g=(void 0!==e?e:c).length,h,l,m=0;m<g;++m)h=c[m],void 0!==h&&(l=b.call(f,h,d,void 0!==e?e[m]:void 0),void 0!==l&&a[l.namespaceURI][l.localName].call(f,l,h,d))}function Do(a,b,c,d,e,f,g){e.push(a);zo(b,c,d,e,f,g);e.pop()};function Eo(a,b,c,d){return function(e,f,g){var h=new XMLHttpRequest;h.open("GET","function"===typeof a?a(e,f,g):a,!0);"arraybuffer"==b.S()&&(h.responseType="arraybuffer");h.onload=function(){if(!h.status||200<=h.status&&300>h.status){var a=b.S();if("json"==a||"text"==a)var e=h.responseText;else"xml"==a?(e=h.responseXML)||(e=so(h.responseText)):"arraybuffer"==a&&(e=h.response);e?c.call(this,b.Qa(e,{featureProjection:g}),b.sb(e),b.cg()):d.call(this)}else d.call(this)}.bind(this);h.onerror=function(){d.call(this)}.bind(this); 
     472h.send()}}function Fo(a,b){return Eo(a,b,function(a){this.Qc(a)},ea)};function Go(){this.i=this.defaultDataProjection=null}function Ho(a,b,c){var d;c&&(d={dataProjection:c.dataProjection?c.dataProjection:a.sb(b),featureProjection:c.featureProjection});return Io(a,d)}function Io(a,b){return kb({dataProjection:a.defaultDataProjection,featureProjection:a.i},b)}Go.prototype.cg=function(){return null}; 
     473function Jo(a,b,c){var d=c?Ob(c.featureProjection):null,e=c?Ob(c.dataProjection):null,f;d&&e&&!Xb(d,e)?a instanceof gf?f=(b?a.clone():a).mb(b?d:e,b?e:d):f=bc(a,e,d):f=a;if(b&&c&&void 0!==c.decimals){var g=Math.pow(10,c.decimals);f===a&&(f=f.clone());f.Rc(function(a){for(var b=0,c=a.length;b<c;++b)a[b]=Math.round(a[b]*g)/g;return a})}return f};function Ko(){Go.call(this)}w(Ko,Go);function Lo(a){return"string"===typeof a?(a=JSON.parse(a))?a:null:null!==a?a:null}k=Ko.prototype;k.S=function(){return"json"};k.Yb=function(a,b){return this.dd(Lo(a),Ho(this,a,b))};k.Qa=function(a,b){return this.Mg(Lo(a),Ho(this,a,b))};k.ed=function(a,b){return this.Qg(Lo(a),Ho(this,a,b))};k.sb=function(a){return this.Tg(Lo(a))};k.Jd=function(a,b){return JSON.stringify(this.ld(a,b))};k.ac=function(a,b){return JSON.stringify(this.qe(a,b))}; 
     474k.md=function(a,b){return JSON.stringify(this.se(a,b))};function P(a,b){hf.call(this);this.c=[];this.j=this.o=-1;this.na(a,b)}w(P,hf);k=P.prototype;k.Gk=function(a){this.A?gc(this.A,a.da().slice()):this.A=a.da().slice();this.c.push(this.A.length);this.u()};k.clone=function(){var a=new P(null);a.ba(this.ja,this.A.slice(),this.c.slice());return a};k.Nb=function(a,b,c,d){if(d<Ha(this.G(),a,b))return d;this.j!=this.g&&(this.o=Math.sqrt(qf(this.A,0,this.c,this.a,0)),this.j=this.g);return uf(this.A,0,this.c,this.a,this.o,!1,a,b,c,d)}; 
     475k.Wn=function(a,b,c){return"XYM"!=this.ja&&"XYZM"!=this.ja||0===this.A.length?null:Tk(this.A,this.c,this.a,a,void 0!==b?b:!1,void 0!==c?c:!1)};k.W=function(){return zf(this.A,0,this.c,this.a)};k.pb=function(){return this.c};k.yl=function(a){if(0>a||this.c.length<=a)return null;var b=new I(null);b.ba(this.ja,this.A.slice(0===a?0:this.c[a-1],this.c[a]));return b}; 
     476k.wd=function(){var a=this.A,b=this.c,c=this.ja,d=[],e=0,f;var g=0;for(f=b.length;g<f;++g){var h=b[g],l=new I(null);l.ba(c,a.slice(e,h));d.push(l);e=h}return d};k.Ge=function(){var a=[],b=this.A,c=0,d=this.c,e=this.a,f;var g=0;for(f=d.length;g<f;++g){var h=d[g];c=Kk(b,c,h,e,.5);gc(a,c);c=h}return a};k.xd=function(a){var b=[],c=[],d=this.A,e=this.c,f=this.a,g=0,h=0,l;var m=0;for(l=e.length;m<l;++m){var n=e[m];h=Bf(d,g,n,f,a,b,h);c.push(h);g=n}b.length=h;a=new P(null);a.ba("XY",b,c);return a};k.S=function(){return"MultiLineString"}; 
     477k.$a=function(a){a:{var b=this.A,c=this.c,d=this.a,e=0,f;var g=0;for(f=c.length;g<f;++g){if(Kf(b,e,c[g],d,a)){a=!0;break a}e=c[g]}a=!1}return a};k.na=function(a,b){a?(lf(this,b,a,2),this.A||(this.A=[]),a=xf(this.A,0,a,this.a,this.c),this.A.length=0===a.length?0:a[a.length-1],this.u()):this.ba("XY",null,this.c)};k.ba=function(a,b,c){kf(this,a,b);this.c=c;this.u()}; 
     478function Mo(a,b){var c=a.ja,d=[],e=[],f;var g=0;for(f=b.length;g<f;++g){var h=b[g];0===g&&(c=h.ja);gc(d,h.da());e.push(d.length)}a.ba(c,d,e)};function No(a,b){hf.call(this);this.na(a,b)}w(No,hf);k=No.prototype;k.Ik=function(a){this.A?gc(this.A,a.da()):this.A=a.da().slice();this.u()};k.clone=function(){var a=new No(null);a.ba(this.ja,this.A.slice());return a};k.Nb=function(a,b,c,d){if(d<Ha(this.G(),a,b))return d;var e=this.A,f=this.a,g;var h=0;for(g=e.length;h<g;h+=f){var l=ua(a,b,e[h],e[h+1]);if(l<d){d=l;for(l=0;l<f;++l)c[l]=e[h+l];c.length=f}}return d};k.W=function(){return yf(this.A,0,this.A.length,this.a)}; 
     479k.Ll=function(a){var b=this.A?this.A.length/this.a:0;if(0>a||b<=a)return null;b=new C(null);b.ba(this.ja,this.A.slice(a*this.a,(a+1)*this.a));return b};k.de=function(){var a=this.A,b=this.ja,c=this.a,d=[],e;var f=0;for(e=a.length;f<e;f+=c){var g=new C(null);g.ba(b,a.slice(f,f+c));d.push(g)}return d};k.S=function(){return"MultiPoint"};k.$a=function(a){var b=this.A,c=this.a,d;var e=0;for(d=b.length;e<d;e+=c){var f=b[e];var g=b[e+1];if(Ka(a,f,g))return!0}return!1}; 
     480k.na=function(a,b){a?(lf(this,b,a,1),this.A||(this.A=[]),this.A.length=wf(this.A,0,a,this.a),this.u()):this.ba("XY",null)};k.ba=function(a,b){kf(this,a,b);this.u()};function Q(a,b){hf.call(this);this.c=[];this.o=-1;this.D=null;this.T=this.C=this.B=-1;this.j=null;this.na(a,b)}w(Q,hf);k=Q.prototype;k.Jk=function(a){if(this.A){var b=this.A.length;gc(this.A,a.da());a=a.pb().slice();var c;var d=0;for(c=a.length;d<c;++d)a[d]+=b}else this.A=a.da().slice(),a=a.pb().slice(),this.c.push();this.c.push(a);this.u()};k.clone=function(){for(var a=new Q(null),b=this.c.length,c=Array(b),d=0;d<b;++d)c[d]=this.c[d].slice();a.ba(this.ja,this.A.slice(),c);return a}; 
     481k.Nb=function(a,b,c,d){if(d<Ha(this.G(),a,b))return d;if(this.C!=this.g){var e=this.c,f=0,g=0,h;var l=0;for(h=e.length;l<h;++l){var m=e[l];g=qf(this.A,f,m,this.a,g);f=m[m.length-1]}this.B=Math.sqrt(g);this.C=this.g}e=Ii(this);f=this.c;g=this.a;l=this.B;h=0;m=[NaN,NaN];var n;var p=0;for(n=f.length;p<n;++p){var q=f[p];d=uf(e,h,q,g,l,!0,a,b,c,d,m);h=q[q.length-1]}return d}; 
     482k.Zc=function(a,b){a:{var c=Ii(this),d=this.c,e=0;if(0!==d.length){var f;var g=0;for(f=d.length;g<f;++g){var h=d[g];if(Hf(c,e,h,this.a,a,b)){a=!0;break a}e=h[h.length-1]}}a=!1}return a};k.Xn=function(){var a=Ii(this),b=this.c,c=0,d=0,e;var f=0;for(e=b.length;f<e;++f){var g=b[f];d+=nf(a,c,g,this.a);c=g[g.length-1]}return d};k.W=function(a){if(void 0!==a){var b=Ii(this).slice();Pf(b,this.c,this.a,a)}else b=this.A;return Af(b,0,this.c,this.a)};k.td=function(){return this.c}; 
     483function Ji(a){if(a.o!=a.g){var b=a.A,c=a.c,d=a.a,e=0,f=[],g;var h=0;for(g=c.length;h<g;++h){var l=c[h];e=Qa(b,e,l[0],d);f.push((e[0]+e[2])/2,(e[1]+e[3])/2);e=l[l.length-1]}b=Ii(a);c=a.c;d=a.a;h=0;g=[];l=0;for(e=c.length;l<e;++l){var m=c[l];g=If(b,h,m,d,f,2*l,g);h=m[m.length-1]}a.D=g;a.o=a.g}return a.D}k.ul=function(){var a=new No(null);a.ba("XYM",Ji(this).slice());return a}; 
     484function Ii(a){if(a.T!=a.g){var b=a.A;a:{var c=a.c;var d;var e=0;for(d=c.length;e<d;++e)if(!Nf(b,c[e],a.a,void 0)){c=!1;break a}c=!0}c?a.j=b:(a.j=b.slice(),a.j.length=Pf(a.j,a.c,a.a));a.T=a.g}return a.j}k.xd=function(a){var b=[],c=[],d=this.A,e=this.c,f=this.a;a=Math.sqrt(a);var g=0,h=0,l;var m=0;for(l=e.length;m<l;++m){var n=e[m],p=[];h=Cf(d,g,n,f,a,b,h,p);c.push(p);g=n[n.length-1]}b.length=h;d=new Q(null);d.ba("XY",b,c);return d}; 
     485k.Ml=function(a){if(0>a||this.c.length<=a)return null;if(0===a)var b=0;else 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;var e=0;for(d=a.length;e<d;++e)a[e]-=b}e=new D(null);e.ba(this.ja,this.A.slice(b,c),a);return e};k.Vd=function(){var a=this.ja,b=this.A,c=this.c,d=[],e=0,f,g;var h=0;for(f=c.length;h<f;++h){var l=c[h].slice(),m=l[l.length-1];if(0!==e){var n=0;for(g=l.length;n<g;++n)l[n]-=e}n=new D(null);n.ba(a,b.slice(e,m),l);d.push(n);e=m}return d}; 
     486k.S=function(){return"MultiPolygon"};k.$a=function(a){a:{var b=Ii(this),c=this.c,d=this.a,e=0,f;var g=0;for(f=c.length;g<f;++g){var h=c[g];if(Lf(b,e,h,d,a)){a=!0;break a}e=h[h.length-1]}a=!1}return a}; 
     487k.na=function(a,b){if(a){lf(this,b,a,3);this.A||(this.A=[]);b=this.A;var c=this.a,d=this.c,e=0;d=d?d:[];var f=0,g;var h=0;for(g=a.length;h<g;++h)e=xf(b,e,a[h],c,d[f]),d[f++]=e,e=e[e.length-1];d.length=f;0===d.length?this.A.length=0:(a=d[d.length-1],this.A.length=0===a.length?0:a[a.length-1]);this.u()}else this.ba("XY",null,this.c)};k.ba=function(a,b,c){kf(this,a,b);this.c=c;this.u()}; 
     488function Oo(a,b){var c=a.ja,d=[],e=[],f;var g=0;for(f=b.length;g<f;++g){var h=b[g];0===g&&(c=h.ja);var l=d.length;var m=h.pb();var n;var p=0;for(n=m.length;p<n;++p)m[p]+=l;gc(d,h.da());e.push(m)}a.ba(c,d,e)};function Po(a){a=a?a:{};Go.call(this);this.b=a.geometryName}w(Po,Ko); 
     489function Qo(a,b){if(!a)return null;if("number"===typeof a.x&&"number"===typeof a.y)var c="Point";else if(a.points)c="MultiPoint";else if(a.paths)c=1===a.paths.length?"LineString":"MultiLineString";else if(a.rings){var d=a.rings,e=Ro(a),f=[],g=[];c=[];var h;var l=0;for(h=d.length;l<h;++l)f.length=0,wf(f,0,d[l],e.length),Mf(f,0,f.length,e.length)?g.push([d[l]]):c.push(d[l]);for(;c.length;){d=c.shift();e=!1;for(l=g.length-1;0<=l;l--)if(La((new Df(g[l][0])).G(),(new Df(d)).G())){g[l].push(d);e=!0;break}e|| 
     490g.push([d.reverse()])}a=kb({},a);1===g.length?(c="Polygon",a.rings=g[0]):(c="MultiPolygon",a.rings=g)}return Jo((0,So[c])(a),!1,b)}function Ro(a){var b="XY";!0===a.hasZ&&!0===a.hasM?b="XYZM":!0===a.hasZ?b="XYZ":!0===a.hasM&&(b="XYM");return b}function To(a){a=a.ja;return{hasZ:"XYZ"===a||"XYZM"===a,hasM:"XYM"===a||"XYZM"===a}} 
     491var So={Point:function(a){return void 0!==a.m&&void 0!==a.z?new C([a.x,a.y,a.z,a.m],"XYZM"):void 0!==a.z?new C([a.x,a.y,a.z],"XYZ"):void 0!==a.m?new C([a.x,a.y,a.m],"XYM"):new C([a.x,a.y])},LineString:function(a){return new I(a.paths[0],Ro(a))},Polygon:function(a){return new D(a.rings,Ro(a))},MultiPoint:function(a){return new No(a.points,Ro(a))},MultiLineString:function(a){return new P(a.paths,Ro(a))},MultiPolygon:function(a){return new Q(a.rings,Ro(a))}},Uo={Point:function(a){var b=a.W(),c;a=a.ja; 
     492"XYZ"===a?c={x:b[0],y:b[1],z:b[2]}:"XYM"===a?c={x:b[0],y:b[1],m:b[2]}:"XYZM"===a?c={x:b[0],y:b[1],z:b[2],m:b[3]}:"XY"===a?c={x:b[0],y:b[1]}:oa(!1,34);return c},LineString:function(a){var b=To(a);return{hasZ:b.hasZ,hasM:b.hasM,paths:[a.W()]}},Polygon:function(a){var b=To(a);return{hasZ:b.hasZ,hasM:b.hasM,rings:a.W(!1)}},MultiPoint:function(a){var b=To(a);return{hasZ:b.hasZ,hasM:b.hasM,points:a.W()}},MultiLineString:function(a){var b=To(a);return{hasZ:b.hasZ,hasM:b.hasM,paths:a.W()}},MultiPolygon:function(a){var b= 
     493To(a);a=a.W(!1);for(var c=[],d=0;d<a.length;d++)for(var e=a[d].length-1;0<=e;e--)c.push(a[d][e]);return{hasZ:b.hasZ,hasM:b.hasM,rings:c}}};k=Po.prototype;k.dd=function(a,b){var c=Qo(a.geometry,b),d=new Hk;this.b&&d.Lc(this.b);d.Va(c);b&&b.pg&&a.attributes[b.pg]&&d.qc(a.attributes[b.pg]);a.attributes&&d.H(a.attributes);return d};k.Mg=function(a,b){b=b?b:{};if(a.features){var c=[],d=a.features,e;b.pg=a.objectIdFieldName;a=0;for(e=d.length;a<e;++a)c.push(this.dd(d[a],b));return c}return[this.dd(a,b)]}; 
     494k.Qg=function(a,b){return Qo(a,b)};k.Tg=function(a){return a.spatialReference&&a.spatialReference.wkid?Ob("EPSG:"+a.spatialReference.wkid):null};function Vo(a,b){return(0,Uo[a.S()])(Jo(a,!0,b),b)}k.se=function(a,b){return Vo(a,Io(this,b))};k.ld=function(a,b){b=Io(this,b);var c={},d=a.U();d&&(c.geometry=Vo(d,b),b&&b.featureProjection&&(c.geometry.spatialReference={wkid:Ob(b.featureProjection).wb.split(":").pop()}));b=a.L();delete b[a.a];c.attributes=nb(b)?{}:b;return c}; 
     495k.qe=function(a,b){b=Io(this,b);var c=[],d;var e=0;for(d=a.length;e<d;++e)c.push(this.ld(a[e],b));return{features:c}};function Wo(){this.g=new XMLSerializer;Go.call(this)}w(Wo,Go);k=Wo.prototype;k.S=function(){return"xml"};k.Yb=function(a,b){return qo(a)?Xo(this,a,b):ro(a)?this.Lg(a,b):"string"===typeof a?(a=so(a),Xo(this,a,b)):null};function Xo(a,b,c){a=Yo(a,b,c);return 0<a.length?a[0]:null}k.Lg=function(){return null};k.Qa=function(a,b){return qo(a)?Yo(this,a,b):ro(a)?this.Kc(a,b):"string"===typeof a?(a=so(a),Yo(this,a,b)):[]}; 
     496function Yo(a,b,c){var d=[];for(b=b.firstChild;b;b=b.nextSibling)b.nodeType==Node.ELEMENT_NODE&&gc(d,a.Kc(b,c));return d}k.ed=function(a,b){if(qo(a))return null;if(ro(a))return this.vj(a,b);"string"===typeof a&&so(a);return null};k.vj=function(){return null};k.sb=function(a){return qo(a)?this.Sg(a):ro(a)?this.uf(a):"string"===typeof a?(a=so(a),this.Sg(a)):null};k.Sg=function(){return this.defaultDataProjection};k.uf=function(){return this.defaultDataProjection};k.Jd=function(){return this.g.serializeToString(this.mh())}; 
     497k.mh=function(){return null};k.ac=function(a,b){a=this.bc(a,b);return this.g.serializeToString(a)};k.bc=function(){return null};k.md=function(a,b){a=this.re(a,b);return this.g.serializeToString(a)};k.re=function(){return null};function Zo(a){a=a?a:{};this.featureType=a.featureType;this.featureNS=a.featureNS;this.srsName=a.srsName;this.schemaLocation="";this.b={};this.b["http://www.opengis.net/gml"]={featureMember:vo(Zo.prototype.ge),featureMembers:vo(Zo.prototype.ge)};Wo.call(this)}w(Zo,Wo);var $o=/^[\s\xa0]*$/;k=Zo.prototype; 
     498k.ge=function(a,b){var c=a.localName,d=null;if("FeatureCollection"==c)"http://www.opengis.net/wfs"===a.namespaceURI?d=O([],this.b,a,b,this):d=O(null,this.b,a,b,this);else if("featureMembers"==c||"featureMember"==c){var e=b[0],f=e.featureType,g=e.featureNS,h;if(!f&&a.childNodes){f=[];g={};var l=0;for(h=a.childNodes.length;l<h;++l){var m=a.childNodes[l];if(1===m.nodeType){var n=m.nodeName.split(":").pop();if(-1===f.indexOf(n)){var p="",q=0;m=m.namespaceURI;for(var r in g){if(g[r]===m){p=r;break}++q}p|| 
     499(p="p"+q,g[p]=m);f.push(p+":"+n)}}}"featureMember"!=c&&(e.featureType=f,e.featureNS=g)}"string"===typeof g&&(l=g,g={},g.p0=l);e={};f=Array.isArray(f)?f:[f];for(var u in g){n={};l=0;for(h=f.length;l<h;++l)(-1===f[l].indexOf(":")?"p0":f[l].split(":")[0])===u&&(n[f[l].split(":").pop()]="featureMembers"==c?uo(this.Kg,this):vo(this.Kg,this));e[g[u]]=n}"featureMember"==c?d=O(void 0,e,a,b):d=O([],e,a,b)}null===d&&(d=[]);return d}; 
     500k.rf=function(a,b){var c=b[0];c.srsName=a.firstElementChild.getAttribute("srsName");c.srsDimension=a.firstElementChild.getAttribute("srsDimension");if(a=O(null,this.qh,a,b,this))return Jo(a,!1,c)}; 
     501k.Kg=function(a,b){var c;(c=a.getAttribute("fid"))||(c=a.getAttributeNS("http://www.opengis.net/gml","id")||"");var d={},e;for(a=a.firstElementChild;a;a=a.nextElementSibling){var f=a.localName;if(0===a.childNodes.length||1===a.childNodes.length&&(3===a.firstChild.nodeType||4===a.firstChild.nodeType)){var g=oo(a,!1);$o.test(g)&&(g=void 0);d[f]=g}else"boundedBy"!==f&&(e=f),d[f]=this.rf(a,b)}b=new Hk(d);e&&b.Lc(e);c&&b.qc(c);return b}; 
     502k.Aj=function(a,b){if(a=this.qf(a,b))return b=new C(null),b.ba("XYZ",a),b};k.yj=function(a,b){if(a=O([],this.kk,a,b,this))return new No(a)};k.xj=function(a,b){if(a=O([],this.jk,a,b,this))return b=new P(null),Mo(b,a),b};k.zj=function(a,b){if(a=O([],this.lk,a,b,this))return b=new Q(null),Oo(b,a),b};k.qj=function(a,b){Co(this.pk,a,b,this)};k.fi=function(a,b){Co(this.hk,a,b,this)};k.rj=function(a,b){Co(this.qk,a,b,this)};k.sf=function(a,b){if(a=this.qf(a,b))return b=new I(null),b.ba("XYZ",a),b}; 
     503k.Xp=function(a,b){if(a=O(null,this.te,a,b,this))return a};k.wj=function(a,b){if(a=this.qf(a,b))return b=new Df(null),Ef(b,"XYZ",a),b};k.tf=function(a,b){if((a=O([null],this.Gf,a,b,this))&&a[0]){b=new D(null);var c=a[0],d=[c.length],e;var f=1;for(e=a.length;f<e;++f)gc(c,a[f]),d.push(c.length);b.ba("XYZ",c,d);return b}};k.qf=function(a,b){return O(null,this.te,a,b,this)};k.kk={"http://www.opengis.net/gml":{pointMember:uo(Zo.prototype.qj),pointMembers:uo(Zo.prototype.qj)}}; 
     504k.jk={"http://www.opengis.net/gml":{lineStringMember:uo(Zo.prototype.fi),lineStringMembers:uo(Zo.prototype.fi)}};k.lk={"http://www.opengis.net/gml":{polygonMember:uo(Zo.prototype.rj),polygonMembers:uo(Zo.prototype.rj)}};k.pk={"http://www.opengis.net/gml":{Point:uo(Zo.prototype.qf)}};k.hk={"http://www.opengis.net/gml":{LineString:uo(Zo.prototype.sf)}};k.qk={"http://www.opengis.net/gml":{Polygon:uo(Zo.prototype.tf)}};k.ue={"http://www.opengis.net/gml":{LinearRing:vo(Zo.prototype.Xp)}}; 
     505k.vj=function(a,b){return(a=this.rf(a,[Ho(this,a,b?b:{})]))?a:null};k.Kc=function(a,b){var c={featureType:this.featureType,featureNS:this.featureNS};b&&kb(c,Ho(this,a,b));return this.ge(a,[c])||[]};k.uf=function(a){return Ob(this.srsName?this.srsName:a.firstElementChild.getAttribute("srsName"))};function ap(a){a=oo(a,!1);return bp(a)}function bp(a){if(a=/^\s*(true|1)|(false|0)\s*$/.exec(a))return void 0!==a[1]||!1}function cp(a){a=oo(a,!1);a=Date.parse(a);return isNaN(a)?void 0:a/1E3}function dp(a){a=oo(a,!1);return ep(a)}function ep(a){if(a=/^\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)\s*$/i.exec(a))return parseFloat(a[1])}function fp(a){a=oo(a,!1);return gp(a)}function gp(a){if(a=/^\s*(\d+)\s*$/.exec(a))return parseInt(a[1],10)}function R(a){return oo(a,!1).trim()} 
     506function hp(a,b){ip(a,b?"1":"0")}function Ip(a,b){a.appendChild(mo.createTextNode(b.toPrecision()))}function Jp(a,b){a.appendChild(mo.createTextNode(b.toString()))}function ip(a,b){a.appendChild(mo.createTextNode(b))};function Kp(a){a=a?a:{};Zo.call(this,a);this.s=void 0!==a.surface?a.surface:!1;this.c=void 0!==a.curve?a.curve:!1;this.f=void 0!==a.multiCurve?a.multiCurve:!0;this.j=void 0!==a.multiSurface?a.multiSurface:!0;this.schemaLocation=a.schemaLocation?a.schemaLocation:"http://www.opengis.net/gml http://schemas.opengis.net/gml/3.1.1/profiles/gmlsfProfile/1.0.0/gmlsf.xsd";this.hasZ=void 0!==a.hasZ?a.hasZ:!1}w(Kp,Zo);k=Kp.prototype; 
     507k.aq=function(a,b){if(a=O([],this.ik,a,b,this))return b=new P(null),Mo(b,a),b};k.bq=function(a,b){if(a=O([],this.mk,a,b,this))return b=new Q(null),Oo(b,a),b};k.Gh=function(a,b){Co(this.ek,a,b,this)};k.Xj=function(a,b){Co(this.sk,a,b,this)};k.fq=function(a,b){return O([null],this.nk,a,b,this)};k.iq=function(a,b){return O([null],this.rk,a,b,this)};k.gq=function(a,b){return O([null],this.Gf,a,b,this)};k.$p=function(a,b){return O([null],this.te,a,b,this)}; 
     508k.Fm=function(a,b){(a=O(void 0,this.ue,a,b,this))&&b[b.length-1].push(a)};k.Zk=function(a,b){(a=O(void 0,this.ue,a,b,this))&&(b[b.length-1][0]=a)};k.Bj=function(a,b){if((a=O([null],this.tk,a,b,this))&&a[0]){b=new D(null);var c=a[0],d=[c.length],e;var f=1;for(e=a.length;f<e;++f)gc(c,a[f]),d.push(c.length);b.ba("XYZ",c,d);return b}};k.tj=function(a,b){if(a=O([null],this.fk,a,b,this))return b=new I(null),b.ba("XYZ",a),b}; 
     509k.Wp=function(a,b){a=O([null],this.gk,a,b,this);return Na(a[1][0],a[1][1],a[2][0],a[2][1])};k.Yp=function(a,b){var c=oo(a,!1),d=/^\s*([+\-]?\d*\.?\d+(?:[eE][+\-]?\d+)?)\s*/;a=[];for(var e;e=d.exec(c);)a.push(parseFloat(e[1])),c=c.substr(e[0].length);if(""===c){b=b[0].srsName;c="enu";b&&(c=Ob(b).b);if("neu"===c)for(b=0,c=a.length;b<c;b+=3)d=a[b],a[b]=a[b+1],a[b+1]=d;b=a.length;2==b&&a.push(0);if(0!==b)return a}}; 
     510k.Pg=function(a,b){var c=oo(a,!1).replace(/^\s*|\s*$/g,"");b=b[0];var d=b.srsName,e=b.srsDimension;b="enu";d&&(b=Ob(d).b);c=c.split(/\s+/);d=2;a.getAttribute("srsDimension")?d=gp(a.getAttribute("srsDimension")):a.getAttribute("dimension")?d=gp(a.getAttribute("dimension")):a.parentNode.getAttribute("srsDimension")?d=gp(a.parentNode.getAttribute("srsDimension")):e&&(d=gp(e));for(var f,g=[],h=0,l=c.length;h<l;h+=d)a=parseFloat(c[h]),e=parseFloat(c[h+1]),f=3===d?parseFloat(c[h+2]):0,"en"===b.substr(0, 
     5112)?g.push(a,e,f):g.push(e,a,f);return g};k.te={"http://www.opengis.net/gml":{pos:vo(Kp.prototype.Yp),posList:vo(Kp.prototype.Pg)}};k.Gf={"http://www.opengis.net/gml":{interior:Kp.prototype.Fm,exterior:Kp.prototype.Zk}}; 
     512k.qh={"http://www.opengis.net/gml":{Point:vo(Zo.prototype.Aj),MultiPoint:vo(Zo.prototype.yj),LineString:vo(Zo.prototype.sf),MultiLineString:vo(Zo.prototype.xj),LinearRing:vo(Zo.prototype.wj),Polygon:vo(Zo.prototype.tf),MultiPolygon:vo(Zo.prototype.zj),Surface:vo(Kp.prototype.Bj),MultiSurface:vo(Kp.prototype.bq),Curve:vo(Kp.prototype.tj),MultiCurve:vo(Kp.prototype.aq),Envelope:vo(Kp.prototype.Wp)}};k.ik={"http://www.opengis.net/gml":{curveMember:uo(Kp.prototype.Gh),curveMembers:uo(Kp.prototype.Gh)}}; 
     513k.mk={"http://www.opengis.net/gml":{surfaceMember:uo(Kp.prototype.Xj),surfaceMembers:uo(Kp.prototype.Xj)}};k.ek={"http://www.opengis.net/gml":{LineString:uo(Zo.prototype.sf),Curve:uo(Kp.prototype.tj)}};k.sk={"http://www.opengis.net/gml":{Polygon:uo(Zo.prototype.tf),Surface:uo(Kp.prototype.Bj)}};k.tk={"http://www.opengis.net/gml":{patches:vo(Kp.prototype.fq)}};k.fk={"http://www.opengis.net/gml":{segments:vo(Kp.prototype.iq)}};k.gk={"http://www.opengis.net/gml":{lowerCorner:uo(Kp.prototype.Pg),upperCorner:uo(Kp.prototype.Pg)}}; 
     514k.nk={"http://www.opengis.net/gml":{PolygonPatch:vo(Kp.prototype.gq)}};k.rk={"http://www.opengis.net/gml":{LineStringSegment:vo(Kp.prototype.$p)}};function Lp(a,b,c){var d=c[c.length-1];c=d.hasZ;a.setAttribute("srsDimension",c?3:2);d=d.srsName;b=b.W();for(var e=b.length,f=Array(e),g,h=0;h<e;++h){g=b[h];var l=h,m=c,n="enu";d&&(n=Ob(d).b);n="en"===n.substr(0,2)?g[0]+" "+g[1]:g[1]+" "+g[0];m&&(n+=" "+(g[2]||0));f[l]=n}ip(a,f.join(" "))} 
     515k.Hi=function(a,b,c){var d=c[c.length-1].srsName;d&&a.setAttribute("srsName",d);d=no(a.namespaceURI,"pos");a.appendChild(d);c=c[c.length-1];a=c.hasZ;d.setAttribute("srsDimension",a?3:2);var e=c.srsName;c="enu";e&&(c=Ob(e).b);b=b.W();c="en"===c.substr(0,2)?b[0]+" "+b[1]:b[1]+" "+b[0];a&&(c+=" "+(b[2]||0));ip(d,c)};var Mp={"http://www.opengis.net/gml":{lowerCorner:M(ip),upperCorner:M(ip)}};k=Kp.prototype; 
     516k.Pn=function(a,b,c){var d=c[c.length-1].srsName;d&&a.setAttribute("srsName",d);Do({node:a},Mp,Ao,[b[0]+" "+b[1],b[2]+" "+b[3]],c,["lowerCorner","upperCorner"],this)};k.Ei=function(a,b,c){var d=c[c.length-1].srsName;d&&a.setAttribute("srsName",d);d=no(a.namespaceURI,"posList");a.appendChild(d);Lp(d,b,c)};k.On=function(a,b){a=b[b.length-1];b=a.node;var c=a.exteriorWritten;void 0===c&&(a.exteriorWritten=!0);return no(b.namespaceURI,void 0!==c?"interior":"exterior")}; 
     517k.af=function(a,b,c){var d=c[c.length-1],e=d.hasZ;d=d.srsName;"PolygonPatch"!==a.nodeName&&d&&a.setAttribute("srsName",d);"Polygon"===a.nodeName||"PolygonPatch"===a.nodeName?(b=b.Ud(),Do({node:a,hasZ:e,srsName:d},Np,this.On,b,c,void 0,this)):"Surface"===a.nodeName&&(e=no(a.namespaceURI,"patches"),a.appendChild(e),a=no(e.namespaceURI,"PolygonPatch"),e.appendChild(a),this.af(a,b,c))}; 
     518k.$e=function(a,b,c){var d=c[c.length-1].srsName;"LineStringSegment"!==a.nodeName&&d&&a.setAttribute("srsName",d);"LineString"===a.nodeName||"LineStringSegment"===a.nodeName?(d=no(a.namespaceURI,"posList"),a.appendChild(d),Lp(d,b,c)):"Curve"===a.nodeName&&(d=no(a.namespaceURI,"segments"),a.appendChild(d),a=no(d.namespaceURI,"LineStringSegment"),d.appendChild(a),this.$e(a,b,c))}; 
     519k.Gi=function(a,b,c){var d=c[c.length-1],e=d.hasZ,f=d.srsName;d=d.surface;f&&a.setAttribute("srsName",f);b=b.Vd();Do({node:a,hasZ:e,srsName:f,surface:d},Op,this.l,b,c,void 0,this)};k.Qn=function(a,b,c){var d=c[c.length-1],e=d.srsName;d=d.hasZ;e&&a.setAttribute("srsName",e);b=b.de();Do({node:a,hasZ:d,srsName:e},Pp,yo("pointMember"),b,c,void 0,this)}; 
     520k.Fi=function(a,b,c){var d=c[c.length-1],e=d.hasZ,f=d.srsName;d=d.curve;f&&a.setAttribute("srsName",f);b=b.wd();Do({node:a,hasZ:e,srsName:f,curve:d},Qp,this.l,b,c,void 0,this)};k.Ii=function(a,b,c){var d=no(a.namespaceURI,"LinearRing");a.appendChild(d);this.Ei(d,b,c)};k.Ji=function(a,b,c){var d=this.a(b,c);d&&(a.appendChild(d),this.af(d,b,c))};k.Rn=function(a,b,c){var d=no(a.namespaceURI,"Point");a.appendChild(d);this.Hi(d,b,c)}; 
     521k.Di=function(a,b,c){var d=this.a(b,c);d&&(a.appendChild(d),this.$e(d,b,c))};k.Yc=function(a,b,c){var d=c[c.length-1],e=kb({},d);e.node=a;var f;Array.isArray(b)?d.dataProjection?f=bc(b,d.featureProjection,d.dataProjection):f=b:f=Jo(b,!0,d);Do(e,Rp,this.a,[f],c,void 0,this)}; 
     522k.Ci=function(a,b,c){var d=b.c;d&&a.setAttribute("fid",d);d=c[c.length-1];var e=d.featureNS,f=b.a;d.tb||(d.tb={},d.tb[e]={});var g=b.L();b=[];var h=[];for(m in g){var l=g[m];null!==l&&(b.push(m),h.push(l),m==f||l instanceof gf?m in d.tb[e]||(d.tb[e][m]=M(this.Yc,this)):m in d.tb[e]||(d.tb[e][m]=M(ip)))}var m=kb({},d);m.node=a;Do(m,d.tb,yo(void 0,e),h,c,b)}; 
     523var Op={"http://www.opengis.net/gml":{surfaceMember:M(Kp.prototype.Ji),polygonMember:M(Kp.prototype.Ji)}},Pp={"http://www.opengis.net/gml":{pointMember:M(Kp.prototype.Rn)}},Qp={"http://www.opengis.net/gml":{lineStringMember:M(Kp.prototype.Di),curveMember:M(Kp.prototype.Di)}},Np={"http://www.opengis.net/gml":{exterior:M(Kp.prototype.Ii),interior:M(Kp.prototype.Ii)}},Rp={"http://www.opengis.net/gml":{Curve:M(Kp.prototype.$e),MultiCurve:M(Kp.prototype.Fi),Point:M(Kp.prototype.Hi),MultiPoint:M(Kp.prototype.Qn), 
     524LineString:M(Kp.prototype.$e),MultiLineString:M(Kp.prototype.Fi),LinearRing:M(Kp.prototype.Ei),Polygon:M(Kp.prototype.af),MultiPolygon:M(Kp.prototype.Gi),Surface:M(Kp.prototype.af),MultiSurface:M(Kp.prototype.Gi),Envelope:M(Kp.prototype.Pn)}},Sp={MultiLineString:"lineStringMember",MultiCurve:"curveMember",MultiPolygon:"polygonMember",MultiSurface:"surfaceMember"};Kp.prototype.l=function(a,b){return no("http://www.opengis.net/gml",Sp[b[b.length-1].node.nodeName])}; 
     525Kp.prototype.a=function(a,b){var c=b[b.length-1];b=c.multiSurface;var d=c.surface,e=c.curve;c=c.multiCurve;Array.isArray(a)?a="Envelope":(a=a.S(),"MultiPolygon"===a&&!0===b?a="MultiSurface":"Polygon"===a&&!0===d?a="Surface":"LineString"===a&&!0===e?a="Curve":"MultiLineString"===a&&!0===c&&(a="MultiCurve"));return no("http://www.opengis.net/gml",a)}; 
     526Kp.prototype.re=function(a,b){b=Io(this,b);var c=no("http://www.opengis.net/gml","geom"),d={node:c,hasZ:this.hasZ,srsName:this.srsName,curve:this.c,surface:this.s,multiSurface:this.j,multiCurve:this.f};b&&kb(d,b);this.Yc(c,a,[d]);return c}; 
     527Kp.prototype.bc=function(a,b){b=Io(this,b);var c=no("http://www.opengis.net/gml","featureMembers");c.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",this.schemaLocation);var d={srsName:this.srsName,hasZ:this.hasZ,curve:this.c,surface:this.s,multiSurface:this.j,multiCurve:this.f,featureNS:this.featureNS,featureType:this.featureType};b&&kb(d,b);b=[d];var e=b[b.length-1];d=e.featureType;var f=e.featureNS,g={};g[f]={};g[f][d]=M(this.Ci,this);e=kb({},e);e.node=c;Do(e,g, 
     528yo(d,f),a,b);return c};function Tp(a){a=a?a:{};Zo.call(this,a);this.b["http://www.opengis.net/gml"].featureMember=uo(Zo.prototype.ge);this.schemaLocation=a.schemaLocation?a.schemaLocation:"http://www.opengis.net/gml http://schemas.opengis.net/gml/2.1.2/feature.xsd"}w(Tp,Zo);k=Tp.prototype; 
     529k.uj=function(a,b){a=oo(a,!1).replace(/^\s*|\s*$/g,"");var c=b[0].srsName;b="enu";c&&(c=Ob(c))&&(b=c.b);a=a.trim().split(/\s+/);for(var d,e,f=[],g=0,h=a.length;g<h;g++)e=a[g].split(/,+/),c=parseFloat(e[0]),d=parseFloat(e[1]),e=3===e.length?parseFloat(e[2]):0,"en"===b.substr(0,2)?f.push(c,d,e):f.push(d,c,e);return f};k.Up=function(a,b){a=O([null],this.dk,a,b,this);return Na(a[1][0],a[1][1],a[1][3],a[1][4])};k.Dm=function(a,b){(a=O(void 0,this.ue,a,b,this))&&b[b.length-1].push(a)}; 
     530k.Ep=function(a,b){(a=O(void 0,this.ue,a,b,this))&&(b[b.length-1][0]=a)};k.te={"http://www.opengis.net/gml":{coordinates:vo(Tp.prototype.uj)}};k.Gf={"http://www.opengis.net/gml":{innerBoundaryIs:Tp.prototype.Dm,outerBoundaryIs:Tp.prototype.Ep}};k.dk={"http://www.opengis.net/gml":{coordinates:uo(Tp.prototype.uj)}}; 
     531k.qh={"http://www.opengis.net/gml":{Point:vo(Zo.prototype.Aj),MultiPoint:vo(Zo.prototype.yj),LineString:vo(Zo.prototype.sf),MultiLineString:vo(Zo.prototype.xj),LinearRing:vo(Zo.prototype.wj),Polygon:vo(Zo.prototype.tf),MultiPolygon:vo(Zo.prototype.zj),Box:vo(Tp.prototype.Up)}}; 
     532k.wg=function(a,b){var c=b[b.length-1];b=c.multiSurface;var d=c.surface;c=c.multiCurve;Array.isArray(a)?a="Envelope":(a=a.S(),"MultiPolygon"===a&&!0===b?a="MultiSurface":"Polygon"===a&&!0===d?a="Surface":"MultiLineString"===a&&!0===c&&(a="MultiCurve"));return no("http://www.opengis.net/gml",a)};k.ui=function(a,b,c){var d=c[c.length-1],e=kb({},d);e.node=a;var f;Array.isArray(b)?d.dataProjection?f=bc(b,d.featureProjection,d.dataProjection):f=b:f=Jo(b,!0,d);Do(e,Up,this.wg,[f],c,void 0,this)}; 
     533k.Ye=function(a,b,c){var d=c[c.length-1].srsName;"LineStringSegment"!==a.nodeName&&d&&a.setAttribute("srsName",d);"LineString"===a.nodeName||"LineStringSegment"===a.nodeName?(d=Vp(a.namespaceURI),a.appendChild(d),Wp(d,b,c)):"Curve"===a.nodeName&&(d=no(a.namespaceURI,"segments"),a.appendChild(d),a=no(d.namespaceURI,"LineStringSegment"),d.appendChild(a),this.Ye(a,b,c))};function Vp(a){a=no(a,"coordinates");a.setAttribute("decimal",".");a.setAttribute("cs",",");a.setAttribute("ts"," ");return a} 
     534function Wp(a,b,c){var d=c[c.length-1];c=d.hasZ;d=d.srsName;b=b.W();for(var e=b.length,f=Array(e),g,h=0;h<e;++h)g=b[h],f[h]=Xp(g,d,c);ip(a,f.join(" "))} 
     535k.Ze=function(a,b,c){var d=c[c.length-1],e=d.hasZ;d=d.srsName;"PolygonPatch"!==a.nodeName&&d&&a.setAttribute("srsName",d);"Polygon"===a.nodeName||"PolygonPatch"===a.nodeName?(b=b.Ud(),Do({node:a,hasZ:e,srsName:d},Yp,this.Kn,b,c,void 0,this)):"Surface"===a.nodeName&&(e=no(a.namespaceURI,"patches"),a.appendChild(e),a=no(e.namespaceURI,"PolygonPatch"),e.appendChild(a),this.Ze(a,b,c))}; 
     536k.Kn=function(a,b){a=b[b.length-1];b=a.node;var c=a.exteriorWritten;void 0===c&&(a.exteriorWritten=!0);return no(b.namespaceURI,void 0!==c?"innerBoundaryIs":"outerBoundaryIs")};k.Ai=function(a,b,c){var d=no(a.namespaceURI,"LinearRing");a.appendChild(d);this.wi(d,b,c)};function Xp(a,b,c){var d="enu";b&&(d=Ob(b).b);b="en"===d.substr(0,2)?a[0]+","+a[1]:a[1]+","+a[0];c&&(b+=","+(a[2]||0));return b} 
     537k.xi=function(a,b,c){var d=c[c.length-1],e=d.hasZ,f=d.srsName;d=d.curve;f&&a.setAttribute("srsName",f);b=b.wd();Do({node:a,hasZ:e,srsName:f,curve:d},Zp,this.a,b,c,void 0,this)};k.zi=function(a,b,c){var d=c[c.length-1];c=d.hasZ;var e=d.srsName;e&&a.setAttribute("srsName",e);d=Vp(a.namespaceURI);a.appendChild(d);a=b.W();a=Xp(a,e,c);ip(d,a)}; 
     538k.Mn=function(a,b,c){var d=c[c.length-1],e=d.hasZ;(d=d.srsName)&&a.setAttribute("srsName",d);b=b.de();Do({node:a,hasZ:e,srsName:d},$p,yo("pointMember"),b,c,void 0,this)};k.Nn=function(a,b,c){var d=no(a.namespaceURI,"Point");a.appendChild(d);this.zi(d,b,c)};k.vi=function(a,b,c){var d=this.wg(b,c);d&&(a.appendChild(d),this.Ye(d,b,c))};k.wi=function(a,b,c){var d=c[c.length-1].srsName;d&&a.setAttribute("srsName",d);d=Vp(a.namespaceURI);a.appendChild(d);Wp(d,b,c)}; 
     539k.yi=function(a,b,c){var d=c[c.length-1],e=d.hasZ,f=d.srsName;d=d.surface;f&&a.setAttribute("srsName",f);b=b.Vd();Do({node:a,hasZ:e,srsName:f,surface:d},aq,this.a,b,c,void 0,this)};k.Bi=function(a,b,c){var d=this.wg(b,c);d&&(a.appendChild(d),this.Ze(d,b,c))};k.Ln=function(a,b,c){var d=c[c.length-1].srsName;d&&a.setAttribute("srsName",d);Do({node:a},bq,Ao,[b[0]+" "+b[1],b[2]+" "+b[3]],c,["lowerCorner","upperCorner"],this)}; 
     540var Up={"http://www.opengis.net/gml":{Curve:M(Tp.prototype.Ye),MultiCurve:M(Tp.prototype.xi),Point:M(Tp.prototype.zi),MultiPoint:M(Tp.prototype.Mn),LineString:M(Tp.prototype.Ye),MultiLineString:M(Tp.prototype.xi),LinearRing:M(Tp.prototype.wi),Polygon:M(Tp.prototype.Ze),MultiPolygon:M(Tp.prototype.yi),Surface:M(Tp.prototype.Ze),MultiSurface:M(Tp.prototype.yi),Envelope:M(Tp.prototype.Ln)}},Yp={"http://www.opengis.net/gml":{outerBoundaryIs:M(Tp.prototype.Ai),innerBoundaryIs:M(Tp.prototype.Ai)}},$p={"http://www.opengis.net/gml":{pointMember:M(Tp.prototype.Nn)}}, 
     541Zp={"http://www.opengis.net/gml":{lineStringMember:M(Tp.prototype.vi),curveMember:M(Tp.prototype.vi)}};Tp.prototype.a=function(a,b){return no("http://www.opengis.net/gml",cq[b[b.length-1].node.nodeName])};var cq={MultiLineString:"lineStringMember",MultiCurve:"curveMember",MultiPolygon:"polygonMember",MultiSurface:"surfaceMember"},aq={"http://www.opengis.net/gml":{surfaceMember:M(Tp.prototype.Bi),polygonMember:M(Tp.prototype.Bi)}},bq={"http://www.opengis.net/gml":{lowerCorner:M(ip),upperCorner:M(ip)}};function dq(a){a=a?a:{};Wo.call(this);this.defaultDataProjection=Ob("EPSG:4326");this.b=a.readExtensions}w(dq,Wo);var eq=[null,"http://www.topografix.com/GPX/1/0","http://www.topografix.com/GPX/1/1"];function fq(a,b,c,d){a.push(parseFloat(c.getAttribute("lon")),parseFloat(c.getAttribute("lat")));"ele"in d?(a.push(d.ele),delete d.ele,b.hasZ=!0):a.push(0);"time"in d?(a.push(d.time),delete d.time,b.hasM=!0):a.push(0);return a} 
     542function gq(a,b,c){var d="XY",e=2;a.hasZ&&a.hasM?(d="XYZM",e=4):a.hasZ?(d="XYZ",e=3):a.hasM&&(d="XYM",e=3);if(4!==e){var f;var g=0;for(f=b.length/4;g<f;g++)b[g*e]=b[4*g],b[g*e+1]=b[4*g+1],a.hasZ&&(b[g*e+2]=b[4*g+2]),a.hasM&&(b[g*e+2]=b[4*g+3]);b.length=b.length/4*e;if(c)for(g=0,f=c.length;g<f;g++)c[g]=c[g]/4*e}return d}function hq(a,b){var c=b[b.length-1],d=a.getAttribute("href");null!==d&&(c.link=d);Co(iq,a,b)}function jq(a,b){b[b.length-1].extensionsNode_=a} 
     543function kq(a,b){var c=b[0];if(a=O({flatCoordinates:[],layoutOptions:{}},lq,a,b)){b=a.flatCoordinates;delete a.flatCoordinates;var d=a.layoutOptions;delete a.layoutOptions;d=gq(d,b);var e=new I(null);e.ba(d,b);Jo(e,!1,c);c=new Hk(e);c.H(a);return c}} 
     544function mq(a,b){var c=b[0];if(a=O({flatCoordinates:[],ends:[],layoutOptions:{}},nq,a,b)){b=a.flatCoordinates;delete a.flatCoordinates;var d=a.ends;delete a.ends;var e=a.layoutOptions;delete a.layoutOptions;e=gq(e,b,d);var f=new P(null);f.ba(e,b,d);Jo(f,!1,c);c=new Hk(f);c.H(a);return c}}function oq(a,b){var c=b[0];if(b=O({},pq,a,b)){var d={};a=fq([],d,a,b);d=gq(d,a);a=new C(a,d);Jo(a,!1,c);c=new Hk(a);c.H(b);return c}} 
     545var qq={rte:kq,trk:mq,wpt:oq},rq=N(eq,{rte:uo(kq),trk:uo(mq),wpt:uo(oq)}),iq=N(eq,{text:L(R,"linkText"),type:L(R,"linkType")}),lq=N(eq,{name:L(R),cmt:L(R),desc:L(R),src:L(R),link:hq,number:L(fp),extensions:jq,type:L(R),rtept:function(a,b){var c=O({},sq,a,b);c&&(b=b[b.length-1],fq(b.flatCoordinates,b.layoutOptions,a,c))}}),sq=N(eq,{ele:L(dp),time:L(cp)}),nq=N(eq,{name:L(R),cmt:L(R),desc:L(R),src:L(R),link:hq,number:L(fp),type:L(R),extensions:jq,trkseg:function(a,b){var c=b[b.length-1];Co(tq,a,b);c.ends.push(c.flatCoordinates.length)}}), 
     546tq=N(eq,{trkpt:function(a,b){var c=O({},uq,a,b);c&&(b=b[b.length-1],fq(b.flatCoordinates,b.layoutOptions,a,c))}}),uq=N(eq,{ele:L(dp),time:L(cp)}),pq=N(eq,{ele:L(dp),time:L(cp),magvar:L(dp),geoidheight:L(dp),name:L(R),cmt:L(R),desc:L(R),src:L(R),link:hq,sym:L(R),type:L(R),fix:L(R),sat:L(fp),hdop:L(dp),vdop:L(dp),pdop:L(dp),ageofdgpsdata:L(dp),dgpsid:L(fp),extensions:jq}); 
     547function vq(a,b){b||(b=[]);for(var c=0,d=b.length;c<d;++c){var e=b[c];if(a.b){var f=e.get("extensionsNode_")||null;a.b(e,f)}e.set("extensionsNode_",void 0)}}dq.prototype.Lg=function(a,b){if(!ec(eq,a.namespaceURI))return null;var c=qq[a.localName];if(!c)return null;a=c(a,[Ho(this,a,b)]);if(!a)return null;vq(this,[a]);return a};dq.prototype.Kc=function(a,b){return ec(eq,a.namespaceURI)?"gpx"==a.localName&&(a=O([],rq,a,[Ho(this,a,b)]))?(vq(this,a),a):[]:[]}; 
     548function wq(a,b,c){a.setAttribute("href",b);b=c[c.length-1].properties;Do({node:a},xq,Ao,[b.linkText,b.linkType],c,yq)}function zq(a,b,c){var d=c[c.length-1],e=d.node.namespaceURI,f=d.properties;a.setAttributeNS(null,"lat",b[1]);a.setAttributeNS(null,"lon",b[0]);switch(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="rtept"==a.nodeName?Aq[e]:Bq[e];d=Bo(f,b);Do({node:a,properties:f},Cq,Ao,d,c,b)} 
     549var yq=["text","type"],xq=N(eq,{text:M(ip),type:M(ip)}),Dq=N(eq,"name cmt desc src link number type rtept".split(" ")),Eq=N(eq,{name:M(ip),cmt:M(ip),desc:M(ip),src:M(ip),link:M(wq),number:M(Jp),type:M(ip),rtept:xo(M(zq))}),Aq=N(eq,["ele","time"]),Fq=N(eq,"name cmt desc src link number type trkseg".split(" ")),Iq=N(eq,{name:M(ip),cmt:M(ip),desc:M(ip),src:M(ip),link:M(wq),number:M(Jp),type:M(ip),trkseg:xo(M(function(a,b,c){Do({node:a,geometryLayout:b.ja,properties:{}},Gq,Hq,b.W(),c)}))}),Hq=yo("trkpt"), 
     550Gq=N(eq,{trkpt:M(zq)}),Bq=N(eq,"ele time magvar geoidheight name cmt desc src link sym type fix sat hdop vdop pdop ageofdgpsdata dgpsid".split(" ")),Cq=N(eq,{ele:M(Ip),time:M(function(a,b){b=new Date(1E3*b);a.appendChild(mo.createTextNode(b.getUTCFullYear()+"-"+xe(b.getUTCMonth()+1)+"-"+xe(b.getUTCDate())+"T"+xe(b.getUTCHours())+":"+xe(b.getUTCMinutes())+":"+xe(b.getUTCSeconds())+"Z"))}),magvar:M(Ip),geoidheight:M(Ip),name:M(ip),cmt:M(ip),desc:M(ip),src:M(ip),link:M(wq),sym:M(ip),type:M(ip),fix:M(ip), 
     551sat:M(Jp),hdop:M(Ip),vdop:M(Ip),pdop:M(Ip),ageofdgpsdata:M(Ip),dgpsid:M(Jp)}),Jq={Point:"wpt",LineString:"rte",MultiLineString:"trk"};function Kq(a,b){if(a=a.U())if(a=Jq[a.S()])return no(b[b.length-1].node.namespaceURI,a)} 
     552var Lq=N(eq,{rte:M(function(a,b,c){var d=c[0],e=b.L();a={node:a,properties:e};if(b=b.U())b=Jo(b,!0,d),a.geometryLayout=b.ja,e.rtept=b.W();d=Dq[c[c.length-1].node.namespaceURI];e=Bo(e,d);Do(a,Eq,Ao,e,c,d)}),trk:M(function(a,b,c){var d=c[0],e=b.L();a={node:a,properties:e};if(b=b.U())b=Jo(b,!0,d),e.trkseg=b.wd();d=Fq[c[c.length-1].node.namespaceURI];e=Bo(e,d);Do(a,Iq,Ao,e,c,d)}),wpt:M(function(a,b,c){var d=c[0],e=c[c.length-1];e.properties=b.L();if(b=b.U())b=Jo(b,!0,d),e.geometryLayout=b.ja,zq(a,b.W(), 
     553c)})});dq.prototype.bc=function(a,b){b=Io(this,b);var c=no("http://www.topografix.com/GPX/1/1","gpx");c.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xsi","http://www.w3.org/2001/XMLSchema-instance");c.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation","http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd");c.setAttribute("version","1.1");c.setAttribute("creator","OpenLayers");Do({node:c},Lq,Kq,a,[b]);return c};function Mq(a){gf.call(this);this.a=a?a:null;Nq(this)}w(Mq,gf);function Oq(a){var b=[],c;var d=0;for(c=a.length;d<c;++d)b.push(a[d].clone());return b}function Pq(a){var b;if(a.a){var c=0;for(b=a.a.length;c<b;++c)Mc(a.a[c],"change",a.u,a)}}function Nq(a){var b;if(a.a){var c=0;for(b=a.a.length;c<b;++c)y(a.a[c],"change",a.u,a)}}k=Mq.prototype;k.clone=function(){var a=new Mq(null);a.Kj(this.a);return a}; 
     554k.Nb=function(a,b,c,d){if(d<Ha(this.G(),a,b))return d;var e=this.a,f;var g=0;for(f=e.length;g<f;++g)d=e[g].Nb(a,b,c,d);return d};k.Zc=function(a,b){var c=this.a,d;var e=0;for(d=c.length;e<d;++e)if(c[e].Zc(a,b))return!0;return!1};k.Ae=function(a){Oa(a);for(var b=this.a,c=0,d=b.length;c<d;++c)Ta(a,b[c].G());return a};k.vd=function(){return Oq(this.a)}; 
     555k.Wd=function(a){this.l!=this.g&&(lb(this.i),this.f=0,this.l=this.g);if(0>a||0!==this.f&&a<this.f)return this;var b=a.toString();if(this.i.hasOwnProperty(b))return this.i[b];var c=[],d=this.a,e=!1,f;var g=0;for(f=d.length;g<f;++g){var h=d[g],l=h.Wd(a);c.push(l);l!==h&&(e=!0)}if(e)return a=new Mq(null),Pq(a),a.a=c,Nq(a),a.u(),this.i[b]=a;this.f=a;return this};k.S=function(){return"GeometryCollection"};k.$a=function(a){var b=this.a,c;var d=0;for(c=b.length;d<c;++d)if(b[d].$a(a))return!0;return!1}; 
     556k.rotate=function(a,b){for(var c=this.a,d=0,e=c.length;d<e;++d)c[d].rotate(a,b);this.u()};k.scale=function(a,b,c){c||(c=eb(this.G()));for(var d=this.a,e=0,f=d.length;e<f;++e)d[e].scale(a,b,c);this.u()};k.Kj=function(a){a=Oq(a);Pq(this);this.a=a;Nq(this);this.u()};k.Rc=function(a){var b=this.a,c;var d=0;for(c=b.length;d<c;++d)b[d].Rc(a);this.u()};k.translate=function(a,b){var c=this.a,d;var e=0;for(d=c.length;e<d;++e)c[e].translate(a,b);this.u()};k.ia=function(){Pq(this);gf.prototype.ia.call(this)};function Qq(a){a=a?a:{};Go.call(this);this.defaultDataProjection=Ob(a.defaultDataProjection?a.defaultDataProjection:"EPSG:4326");a.featureProjection&&(this.i=Ob(a.featureProjection));this.b=a.geometryName;this.a=a.extractGeometryName}w(Qq,Ko);function Rq(a,b){return a?Jo((0,Sq[a.type])(a),!1,b):null}function Tq(a,b){return(0,Uq[a.S()])(Jo(a,!0,b),b)} 
     557var Sq={Point:function(a){return new C(a.coordinates)},LineString:function(a){return new I(a.coordinates)},Polygon:function(a){return new D(a.coordinates)},MultiPoint:function(a){return new No(a.coordinates)},MultiLineString:function(a){return new P(a.coordinates)},MultiPolygon:function(a){return new Q(a.coordinates)},GeometryCollection:function(a,b){a=a.geometries.map(function(a){return Rq(a,b)});return new Mq(a)}},Uq={Point:function(a){return{type:"Point",coordinates:a.W()}},LineString:function(a){return{type:"LineString", 
     558coordinates:a.W()}},Polygon:function(a,b){if(b)var c=b.rightHanded;return{type:"Polygon",coordinates:a.W(c)}},MultiPoint:function(a){return{type:"MultiPoint",coordinates:a.W()}},MultiLineString:function(a){return{type:"MultiLineString",coordinates:a.W()}},MultiPolygon:function(a,b){if(b)var c=b.rightHanded;return{type:"MultiPolygon",coordinates:a.W(c)}},GeometryCollection:function(a,b){return{type:"GeometryCollection",geometries:a.a.map(function(a){var c=kb({},b);delete c.featureProjection;return Tq(a, 
     559c)})}},Circle:function(){return{type:"GeometryCollection",geometries:[]}}};k=Qq.prototype;k.dd=function(a,b){a="Feature"===a.type?a:{type:"Feature",geometry:a};b=Rq(a.geometry,b);var c=new Hk;this.b?c.Lc(this.b):this.a&&void 0!==a.geometry_name&&c.Lc(a.geometry_name);c.Va(b);void 0!==a.id&&c.qc(a.id);a.properties&&c.H(a.properties);return c}; 
     560k.Mg=function(a,b){if("FeatureCollection"===a.type){var c=[];a=a.features;var d;var e=0;for(d=a.length;e<d;++e)c.push(this.dd(a[e],b))}else c=[this.dd(a,b)];return c};k.Qg=function(a,b){return Rq(a,b)};k.Tg=function(a){a=a.crs;var b;a?"name"==a.type?b=Ob(a.properties.name):oa(!1,36):b=this.defaultDataProjection;return b}; 
     561k.ld=function(a,b){b=Io(this,b);var c={type:"Feature"},d=a.c;void 0!==d&&(c.id=d);(d=a.U())?c.geometry=Tq(d,b):c.geometry=null;b=a.L();delete b[a.a];nb(b)?c.properties=null:c.properties=b;return c};k.qe=function(a,b){b=Io(this,b);var c=[],d;var e=0;for(d=a.length;e<d;++e)c.push(this.ld(a[e],b));return{type:"FeatureCollection",features:c}};k.se=function(a,b){return Tq(a,Io(this,b))};function Vq(){Go.call(this)}w(Vq,Go);function Wq(a){return"string"===typeof a?a:""}k=Vq.prototype;k.S=function(){return"text"};k.Yb=function(a,b){return this.fe(Wq(a),Io(this,b))};k.Qa=function(a,b){return this.Ng(Wq(a),Io(this,b))};k.ed=function(a,b){return this.Gd(Wq(a),Io(this,b))};k.sb=function(){return this.defaultDataProjection};k.Jd=function(a,b){return this.pe(a,Io(this,b))};k.ac=function(a,b){return this.nh(a,Io(this,b))};k.md=function(a,b){return this.Kd(a,Io(this,b))};function Xq(a){a=a?a:{};Go.call(this);this.defaultDataProjection=Ob("EPSG:4326");this.b=a.altitudeMode?a.altitudeMode:"none"}w(Xq,Vq);var Yq=/^B(\d{2})(\d{2})(\d{2})(\d{2})(\d{5})([NS])(\d{3})(\d{5})([EW])([AV])(\d{5})(\d{5})/,Zq=/^H.([A-Z]{3}).*?:(.*)/,$q=/^HFDTE(\d{2})(\d{2})(\d{2})/,ar=/\r\n|\r|\n/;k=Xq.prototype; 
     562k.fe=function(a,b){var c=this.b,d=a.split(ar);a={};var e=[],f=2E3,g=0,h=1,l=-1,m;var n=0;for(m=d.length;n<m;++n){var p=d[n],q;if("B"==p.charAt(0)){if(q=Yq.exec(p)){p=parseInt(q[1],10);var r=parseInt(q[2],10),u=parseInt(q[3],10),v=parseInt(q[4],10)+parseInt(q[5],10)/6E4;"S"==q[6]&&(v=-v);var z=parseInt(q[7],10)+parseInt(q[8],10)/6E4;"W"==q[9]&&(z=-z);e.push(z,v);"none"!=c&&e.push("gps"==c?parseInt(q[11],10):"barometric"==c?parseInt(q[12],10):0);q=Date.UTC(f,g,h,p,r,u);q<l&&(q=Date.UTC(f,g,h+1,p,r, 
     563u));e.push(q/1E3);l=q}}else"H"==p.charAt(0)&&((q=$q.exec(p))?(h=parseInt(q[1],10),g=parseInt(q[2],10)-1,f=2E3+parseInt(q[3],10)):(q=Zq.exec(p))&&(a[q[1]]=q[2].trim()))}if(0===e.length)return null;d=new I(null);d.ba("none"==c?"XYM":"XYZM",e);b=new Hk(Jo(d,!1,b));b.H(a);return b};k.Ng=function(a,b){return(a=this.fe(a,b))?[a]:[]};k.pe=function(){};k.nh=function(){};k.Kd=function(){};k.Gd=function(){};function br(a,b,c,d,e,f){Sc.call(this);this.j=null;this.M=a?a:new Image;null!==d&&(this.M.crossOrigin=d);this.c=f?document.createElement("CANVAS"):null;this.f=f;this.i=null;this.g=e;this.a=c;this.l=b;this.s=!1;2==this.g&&cr(this)}w(br,Sc);function cr(a){var b=hg(1,1);try{b.drawImage(a.M,0,0),b.getImageData(0,0,1,1)}catch(c){a.s=!0}}br.prototype.v=function(){this.g=3;this.i.forEach(Gc);this.i=null;this.b("change")}; 
     564br.prototype.o=function(){this.g=2;this.a&&(this.M.width=this.a[0],this.M.height=this.a[1]);this.a=[this.M.width,this.M.height];this.i.forEach(Gc);this.i=null;cr(this);if(!this.s&&null!==this.f){this.c.width=this.M.width;this.c.height=this.M.height;var a=this.c.getContext("2d");a.drawImage(this.M,0,0);for(var b=a.getImageData(0,0,this.M.width,this.M.height),c=b.data,d=this.f[0]/255,e=this.f[1]/255,f=this.f[2]/255,g=0,h=c.length;g<h;g+=4)c[g]*=d,c[g+1]*=e,c[g+2]*=f;a.putImageData(b,0,0)}this.b("change")}; 
     565br.prototype.Y=function(){return this.c?this.c:this.M};br.prototype.load=function(){if(0==this.g){this.g=1;this.i=[Lc(this.M,"error",this.v,this),Lc(this.M,"load",this.o,this)];try{this.M.src=this.l}catch(a){this.v()}}};function dr(a){a=a||{};this.l=void 0!==a.anchor?a.anchor:[.5,.5];this.o=null;this.g=void 0!==a.anchorOrigin?a.anchorOrigin:"top-left";this.C=void 0!==a.anchorXUnits?a.anchorXUnits:"fraction";this.B=void 0!==a.anchorYUnits?a.anchorYUnits:"fraction";this.qa=void 0!==a.crossOrigin?a.crossOrigin:null;var b=void 0!==a.img?a.img:null,c=void 0!==a.imgSize?a.imgSize:null,d=a.src;oa(!(void 0!==d&&b),4);oa(!b||b&&c,5);void 0!==d&&0!==d.length||!b||(d=b.src||x(b).toString());oa(void 0!==d&&0<d.length,6);var e= 
     566void 0!==a.src?0:2;this.j=void 0!==a.color?vi(a.color):null;var f=this.qa,g=this.j,h=ej.get(d,f,g);h||(h=new br(b,d,c,f,e,g),ej.set(d,f,g,h));this.b=h;this.oa=void 0!==a.offset?a.offset:[0,0];this.c=void 0!==a.offsetOrigin?a.offsetOrigin:"top-left";this.N=null;this.D=void 0!==a.size?a.size:null;vk.call(this,{opacity:void 0!==a.opacity?a.opacity:1,rotation:void 0!==a.rotation?a.rotation:0,scale:void 0!==a.scale?a.scale:1,snapToPixel:void 0!==a.snapToPixel?a.snapToPixel:!0,rotateWithView:void 0!==a.rotateWithView? 
     567a.rotateWithView:!1})}w(dr,vk);k=dr.prototype;k.clone=function(){return new dr({anchor:this.l.slice(),anchorOrigin:this.g,anchorXUnits:this.C,anchorYUnits:this.B,crossOrigin:this.qa,color:this.j&&this.j.slice?this.j.slice():this.j||void 0,src:this.b.l,offset:this.oa.slice(),offsetOrigin:this.c,size:null!==this.D?this.D.slice():void 0,opacity:this.i,scale:this.a,snapToPixel:this.v,rotation:this.f,rotateWithView:this.s})}; 
     568k.Vc=function(){if(this.o)return this.o;var a=this.l,b=this.oc();if("fraction"==this.C||"fraction"==this.B){if(!b)return null;a=this.l.slice();"fraction"==this.C&&(a[0]*=b[0]);"fraction"==this.B&&(a[1]*=b[1])}if("top-left"!=this.g){if(!b)return null;a===this.l&&(a=this.l.slice());if("top-right"==this.g||"bottom-right"==this.g)a[0]=-a[0]+b[0];if("bottom-left"==this.g||"bottom-right"==this.g)a[1]=-a[1]+b[1]}return this.o=a};k.np=function(){return this.j};k.Y=function(a){return this.b.Y(a)};k.He=function(){return this.b.a}; 
     569k.gf=function(){return this.b.g};k.Eg=function(){var a=this.b;if(!a.j)if(a.s){var b=a.a[0],c=a.a[1],d=hg(b,c);d.fillRect(0,0,b,c);a.j=d.canvas}else a.j=a.M;return a.j};k.bd=function(){if(this.N)return this.N;var a=this.oa;if("top-left"!=this.c){var b=this.oc(),c=this.b.a;if(!b||!c)return null;a=a.slice();if("top-right"==this.c||"bottom-right"==this.c)a[0]=c[0]-b[0]-a[0];if("bottom-left"==this.c||"bottom-right"==this.c)a[1]=c[1]-b[1]-a[1]}return this.N=a};k.op=function(){return this.b.l}; 
     570k.oc=function(){return this.D?this.D:this.b.a};k.gi=function(a,b){y(this.b,"change",a,b)};k.load=function(){this.b.load()};k.Yj=function(a,b){Mc(this.b,"change",a,b)};function er(a){a=a?a:{};Wo.call(this);fr||(gr=[255,255,255,1],hr=new zk({color:gr}),ir=[20,2],jr=kr="pixels",lr=[64,64],mr="https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png",nr=.5,or=new dr({anchor:ir,anchorOrigin:"bottom-left",anchorXUnits:kr,anchorYUnits:jr,crossOrigin:"anonymous",rotation:0,scale:nr,size:lr,src:mr}),pr="NO_IMAGE",qr=new Ak({color:gr,width:1}),rr=new Ak({color:[51,51,51,1],width:2}),sr=new J({font:"bold 16px Helvetica",fill:hr,stroke:rr,scale:.8}),tr=new Bk({fill:hr, 
     571image:or,text:sr,stroke:qr,zIndex:0}),fr=[tr]);this.defaultDataProjection=Ob("EPSG:4326");this.a=a.defaultStyle?a.defaultStyle:fr;this.c=void 0!==a.extractStyles?a.extractStyles:!0;this.j=void 0!==a.writeStyles?a.writeStyles:!0;this.b={};this.f=void 0!==a.showPointNames?a.showPointNames:!0}var fr,gr,hr,ir,kr,jr,lr,mr,nr,or,pr,qr,rr,sr,tr;w(er,Wo); 
     572var ur=["http://www.google.com/kml/ext/2.2"],vr=[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"],wr={fraction:"fraction",pixels:"pixels",insetPixels:"pixels"}; 
     573function xr(a,b){var c=[0,0],d="start";if(a.Y()){var e=a.Y().He();null===e&&(e=lr);2==e.length&&(d=a.Y().a,c[0]=d*e[0]/2,c[1]=-d*e[1]/2,d="left")}null!==a.Ka()?(e=a.Ka(),a=e.clone(),a.Jj(e.a||sr.a),a.lj(e.b||sr.b),a.yf(e.Fa()||sr.Fa()),a.Af(e.Ga()||rr)):a=sr.clone();a.Hd(b);a.Nj(c[0]);a.Oj(c[1]);a.Qj(d);return new Bk({text:a})} 
     574function yr(a,b,c,d,e){return function(){var f=e,g="";f&&this.U()&&(f="Point"===this.U().S());f&&(g=this.get("name"),f=f&&g);if(a)return f?(f=xr(a[0],g),a.concat(f)):a;if(b){var h=zr(b,c,d);return f?(f=xr(h[0],g),h.concat(f)):h}return f?(f=xr(c[0],g),c.concat(f)):c}}function zr(a,b,c){return Array.isArray(a)?a:"string"===typeof a?(!(a in c)&&"#"+a in c&&(a="#"+a),zr(c[a],b,c)):b} 
     575function Ar(a){a=oo(a,!1);if(a=/^\s*#?\s*([0-9A-Fa-f]{8})\s*$/.exec(a))return a=a[1],[parseInt(a.substr(6,2),16),parseInt(a.substr(4,2),16),parseInt(a.substr(2,2),16),parseInt(a.substr(0,2),16)/255]}function Br(a){a=oo(a,!1);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);if(""===a)return b} 
     576function Cr(a){var b=oo(a,!1).trim();a=a.baseURI;a&&"about:blank"!=a||(a=window.location.href);return a?(new URL(b,a)).href:b}function Dr(a){return dp(a)}function Er(a,b){return O(null,Fr,a,b)}function Gr(a,b){if(b=O({A:[],ak:[]},Hr,a,b)){a=b.A;b=b.ak;var c;var d=0;for(c=Math.min(a.length,b.length);d<c;++d)a[4*d+3]=b[d];b=new I(null);b.ba("XYZM",a);return b}}function Ir(a,b){var c=O({},Jr,a,b);if(a=O(null,Kr,a,b))return b=new I(null),b.ba("XYZ",a),b.H(c),b} 
     577function Lr(a,b){var c=O({},Jr,a,b);if(a=O(null,Kr,a,b))return b=new D(null),b.ba("XYZ",a,[a.length]),b.H(c),b} 
     578function Mr(a,b){a=O([],Nr,a,b);if(!a)return null;if(0===a.length)return new Mq(a);var c=!0,d=a[0].S(),e;var f=1;for(e=a.length;f<e;++f)if(b=a[f],b.S()!=d){c=!1;break}if(c)if("Point"==d){var g=a[0];c=g.ja;d=g.da();f=1;for(e=a.length;f<e;++f)b=a[f],gc(d,b.da());g=new No(null);g.ba(c,d);Or(g,a)}else"LineString"==d?(g=new P(null),Mo(g,a),Or(g,a)):"Polygon"==d?(g=new Q(null),Oo(g,a),Or(g,a)):"GeometryCollection"==d?g=new Mq(a):oa(!1,37);else g=new Mq(a);return g} 
     579function Pr(a,b){var c=O({},Jr,a,b);if(a=O(null,Kr,a,b))return b=new C(null),b.ba("XYZ",a),b.H(c),b}function Qr(a,b){var c=O({},Jr,a,b);if((a=O([null],Rr,a,b))&&a[0]){b=new D(null);var d=a[0],e=[d.length],f;var g=1;for(f=a.length;g<f;++g)gc(d,a[g]),e.push(d.length);b.ba("XYZ",d,e);b.H(c);return b}} 
     580function Sr(a,b){b=O({},Tr,a,b);if(!b)return null;a="fillStyle"in b?b.fillStyle:hr;var c=b.fill;void 0===c||c||(a=null);c="imageStyle"in b?b.imageStyle:or;c==pr&&(c=void 0);var d="textStyle"in b?b.textStyle:sr,e="strokeStyle"in b?b.strokeStyle:qr;b=b.outline;void 0===b||b||(e=null);return[new Bk({fill:a,image:c,stroke:e,text:d,zIndex:void 0})]} 
     581function Or(a,b){var c=b.length,d=Array(b.length),e=Array(b.length),f=Array(b.length),g,h,l;var m=h=l=!1;for(g=0;g<c;++g){var n=b[g];d[g]=n.get("extrude");e[g]=n.get("tessellate");f[g]=n.get("altitudeMode");m=m||void 0!==d[g];h=h||void 0!==e[g];l=l||f[g]}m&&a.set("extrude",d);h&&a.set("tessellate",e);l&&a.set("altitudeMode",f)}function Ur(a,b){Co(Vr,a,b)}function Wr(a,b){Co(Xr,a,b)} 
     582var Yr=N(vr,{displayName:L(R),value:L(R)}),Vr=N(vr,{Data:function(a,b){var c=a.getAttribute("name");Co(Yr,a,b);a=b[b.length-1];null!==c?a[c]=a.value:null!==a.displayName&&(a[a.displayName]=a.value);delete a.value},SchemaData:function(a,b){Co(Zr,a,b)}}),Xr=N(vr,{LatLonAltBox:function(a,b){if(a=O({},$r,a,b))b=b[b.length-1],b.extent=[parseFloat(a.west),parseFloat(a.south),parseFloat(a.east),parseFloat(a.north)],b.altitudeMode=a.altitudeMode,b.minAltitude=parseFloat(a.minAltitude),b.maxAltitude=parseFloat(a.maxAltitude)}, 
     583Lod:function(a,b){if(a=O({},as,a,b))b=b[b.length-1],b.minLodPixels=parseFloat(a.minLodPixels),b.maxLodPixels=parseFloat(a.maxLodPixels),b.minFadeExtent=parseFloat(a.minFadeExtent),b.maxFadeExtent=parseFloat(a.maxFadeExtent)}}),$r=N(vr,{altitudeMode:L(R),minAltitude:L(dp),maxAltitude:L(dp),north:L(dp),south:L(dp),east:L(dp),west:L(dp)}),as=N(vr,{minLodPixels:L(dp),maxLodPixels:L(dp),minFadeExtent:L(dp),maxFadeExtent:L(dp)}),Jr=N(vr,{extrude:L(ap),tessellate:L(ap),altitudeMode:L(R)}),Fr=N(vr,{coordinates:vo(Br)}), 
     584Rr=N(vr,{innerBoundaryIs:function(a,b){(a=O(void 0,bs,a,b))&&b[b.length-1].push(a)},outerBoundaryIs:function(a,b){(a=O(void 0,cs,a,b))&&(b[b.length-1][0]=a)}}),Hr=N(vr,{when:function(a,b){b=b[b.length-1].ak;a=oo(a,!1);a=Date.parse(a);b.push(isNaN(a)?0:a)}},N(ur,{coord:function(a,b){b=b[b.length-1].A;a=oo(a,!1);(a=/^\s*([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s+([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s+([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s*$/i.exec(a))?b.push(parseFloat(a[1]),parseFloat(a[2]),parseFloat(a[3]), 
     5850):b.push(0,0,0,0)}})),Kr=N(vr,{coordinates:vo(Br)}),ds=N(vr,{href:L(Cr)},N(ur,{x:L(dp),y:L(dp),w:L(dp),h:L(dp)})),es=N(vr,{Icon:L(function(a,b){return(a=O({},ds,a,b))?a:null}),heading:L(dp),hotSpot:L(function(a){var b=a.getAttribute("xunits"),c=a.getAttribute("yunits");var d="insetPixels"!==b?"insetPixels"!==c?"bottom-left":"top-left":"insetPixels"!==c?"bottom-right":"top-right";return{x:parseFloat(a.getAttribute("x")),oh:wr[b],y:parseFloat(a.getAttribute("y")),ph:wr[c],origin:d}}),scale:L(Dr)}), 
     586bs=N(vr,{LinearRing:vo(Er)}),fs=N(vr,{color:L(Ar),scale:L(Dr)}),gs=N(vr,{color:L(Ar),width:L(dp)}),Nr=N(vr,{LineString:uo(Ir),LinearRing:uo(Lr),MultiGeometry:uo(Mr),Point:uo(Pr),Polygon:uo(Qr)}),hs=N(ur,{Track:uo(Gr)}),js=N(vr,{ExtendedData:Ur,Region:Wr,Link:function(a,b){Co(is,a,b)},address:L(R),description:L(R),name:L(R),open:L(ap),phoneNumber:L(R),visibility:L(ap)}),is=N(vr,{href:L(Cr)}),cs=N(vr,{LinearRing:vo(Er)}),ks=N(vr,{Style:L(Sr),key:L(R),styleUrl:L(Cr)}),ms=N(vr,{ExtendedData:Ur,Region:Wr, 
     587MultiGeometry:L(Mr,"geometry"),LineString:L(Ir,"geometry"),LinearRing:L(Lr,"geometry"),Point:L(Pr,"geometry"),Polygon:L(Qr,"geometry"),Style:L(Sr),StyleMap:function(a,b){if(a=O(void 0,ls,a,b))b=b[b.length-1],Array.isArray(a)?b.Style=a:"string"===typeof a?b.styleUrl=a:oa(!1,38)},address:L(R),description:L(R),name:L(R),open:L(ap),phoneNumber:L(R),styleUrl:L(Cr),visibility:L(ap)},N(ur,{MultiTrack:L(function(a,b){if(a=O([],hs,a,b))return b=new P(null),Mo(b,a),b},"geometry"),Track:L(Gr,"geometry")})), 
     588ns=N(vr,{color:L(Ar),fill:L(ap),outline:L(ap)}),Zr=N(vr,{SimpleData:function(a,b){var c=a.getAttribute("name");null!==c&&(a=R(a),b[b.length-1][c]=a)}}),Tr=N(vr,{IconStyle:function(a,b){if(a=O({},es,a,b)){b=b[b.length-1];var c="Icon"in a?a.Icon:{},d=!("Icon"in a)||0<Object.keys(c).length,e,f=c.href;f?e=f:d&&(e=mr);f="bottom-left";var g=a.hotSpot;if(g){var h=[g.x,g.y];var l=g.oh;var m=g.ph;f=g.origin}else e===mr?(h=ir,l=kr,m=jr):/^http:\/\/maps\.(?:google|gstatic)\.com\//.test(e)&&(h=[.5,0],m=l="fraction"); 
     589var n;g=c.x;var p=c.y;void 0!==g&&void 0!==p&&(n=[g,p]);var q;g=c.w;c=c.h;void 0!==g&&void 0!==c&&(q=[g,c]);var r;c=a.heading;void 0!==c&&(r=va(c));a=a.scale;d?(e==mr&&(q=lr,void 0===a&&(a=nr)),e=new dr({anchor:h,anchorOrigin:f,anchorXUnits:l,anchorYUnits:m,crossOrigin:"anonymous",offset:n,offsetOrigin:"bottom-left",rotation:r,scale:a,size:q,src:e}),b.imageStyle=e):b.imageStyle=pr}},LabelStyle:function(a,b){(a=O({},fs,a,b))&&(b[b.length-1].textStyle=new J({fill:new zk({color:"color"in a?a.color:gr}), 
     590scale:a.scale}))},LineStyle:function(a,b){(a=O({},gs,a,b))&&(b[b.length-1].strokeStyle=new Ak({color:"color"in a?a.color:gr,width:"width"in a?a.width:1}))},PolyStyle:function(a,b){if(a=O({},ns,a,b)){b=b[b.length-1];b.fillStyle=new zk({color:"color"in a?a.color:gr});var c=a.fill;void 0!==c&&(b.fill=c);a=a.outline;void 0!==a&&(b.outline=a)}}}),ls=N(vr,{Pair:function(a,b){if(a=O({},ks,a,b)){var c=a.key;c&&"normal"==c&&((c=a.styleUrl)&&(b[b.length-1]=c),(a=a.Style)&&(b[b.length-1]=a))}}});k=er.prototype; 
     591k.Jg=function(a,b){var c=N(vr,{Document:to(this.Jg,this),Folder:to(this.Jg,this),Placemark:uo(this.Rg,this),Style:this.kq.bind(this),StyleMap:this.jq.bind(this)});if(a=O([],c,a,b,this))return a};k.Rg=function(a,b){var c=O({geometry:null},ms,a,b);if(c){var d=new Hk;a=a.getAttribute("id");null!==a&&d.qc(a);b=b[0];(a=c.geometry)&&Jo(a,!1,b);d.Va(a);delete c.geometry;this.c&&d.sg(yr(c.Style,c.styleUrl,this.a,this.b,this.f));delete c.Style;d.H(c);return d}}; 
     592k.kq=function(a,b){var c=a.getAttribute("id");null!==c&&(b=Sr(a,b))&&(a=a.baseURI,a&&"about:blank"!=a||(a=window.location.href),c=a?(new URL("#"+c,a)).href:"#"+c,this.b[c]=b)};k.jq=function(a,b){var c=a.getAttribute("id");null!==c&&(b=O(void 0,ls,a,b))&&(a=a.baseURI,a&&"about:blank"!=a||(a=window.location.href),c=a?(new URL("#"+c,a)).href:"#"+c,this.b[c]=b)};k.Lg=function(a,b){return ec(vr,a.namespaceURI)?(a=this.Rg(a,[Ho(this,a,b)]))?a:null:null}; 
     593k.Kc=function(a,b){if(!ec(vr,a.namespaceURI))return[];var c=a.localName;if("Document"==c||"Folder"==c)return(c=this.Jg(a,[Ho(this,a,b)]))?c:[];if("Placemark"==c)return(b=this.Rg(a,[Ho(this,a,b)]))?[b]:[];if("kml"==c){c=[];for(a=a.firstElementChild;a;a=a.nextElementSibling){var d=this.Kc(a,b);d&&gc(c,d)}return c}return[]};k.cq=function(a){if(qo(a))return os(this,a);if(ro(a))return ps(this,a);if("string"===typeof a)return a=so(a),os(this,a)}; 
     594function os(a,b){for(b=b.firstChild;b;b=b.nextSibling)if(b.nodeType==Node.ELEMENT_NODE){var c=ps(a,b);if(c)return c}}function ps(a,b){var c;for(c=b.firstElementChild;c;c=c.nextElementSibling)if(ec(vr,c.namespaceURI)&&"name"==c.localName)return R(c);for(c=b.firstElementChild;c;c=c.nextElementSibling)if(b=c.localName,ec(vr,c.namespaceURI)&&("Document"==b||"Folder"==b||"Placemark"==b||"kml"==b)&&(b=ps(a,c)))return b} 
     595k.eq=function(a){var b=[];qo(a)?gc(b,qs(this,a)):ro(a)?gc(b,rs(this,a)):"string"===typeof a&&(a=so(a),gc(b,qs(this,a)));return b};function qs(a,b){var c=[];for(b=b.firstChild;b;b=b.nextSibling)b.nodeType==Node.ELEMENT_NODE&&gc(c,rs(a,b));return c} 
     596function rs(a,b){var c,d=[];for(c=b.firstElementChild;c;c=c.nextElementSibling)if(ec(vr,c.namespaceURI)&&"NetworkLink"==c.localName){var e=O({},js,c,[]);d.push(e)}for(c=b.firstElementChild;c;c=c.nextElementSibling)b=c.localName,!ec(vr,c.namespaceURI)||"Document"!=b&&"Folder"!=b&&"kml"!=b||gc(d,rs(a,c));return d}k.hq=function(a){var b=[];qo(a)?gc(b,ss(this,a)):ro(a)?gc(b,this.vf(a)):"string"===typeof a&&(a=so(a),gc(b,ss(this,a)));return b}; 
     597function ss(a,b){var c=[];for(b=b.firstChild;b;b=b.nextSibling)b.nodeType==Node.ELEMENT_NODE&&gc(c,a.vf(b));return c}k.vf=function(a){var b,c=[];for(b=a.firstElementChild;b;b=b.nextElementSibling)if(ec(vr,b.namespaceURI)&&"Region"==b.localName){var d=O({},Xr,b,[]);c.push(d)}for(b=a.firstElementChild;b;b=b.nextElementSibling)a=b.localName,!ec(vr,b.namespaceURI)||"Document"!=a&&"Folder"!=a&&"kml"!=a||gc(c,this.vf(b));return c}; 
     598function ts(a,b){b=vi(b);b=[255*(4==b.length?b[3]:1),b[2],b[1],b[0]];var c;for(c=0;4>c;++c){var d=parseInt(b[c],10).toString(16);b[c]=1==d.length?"0"+d:d}ip(a,b.join(""))}function us(a,b,c){a={node:a};var d=b.S();if("GeometryCollection"==d){var e=b.vd();var f=vs}else"MultiPoint"==d?(e=b.de(),f=ws):"MultiLineString"==d?(e=b.wd(),f=xs):"MultiPolygon"==d?(e=b.Vd(),f=ys):oa(!1,39);Do(a,zs,f,e,c)}function As(a,b,c){Do({node:a},Bs,Cs,[b],c)} 
     599function Ds(a,b,c){var d={node:a};b.c&&a.setAttribute("id",b.c);a=b.L();var e={address:1,description:1,name:1,open:1,phoneNumber:1,styleUrl:1,visibility:1};e[b.a]=1;var f=Object.keys(a||{}).sort().filter(function(a){return!e[a]});if(0<f.length){var g=Bo(a,f);Do(d,Es,Fs,[{names:f,values:g}],c)}if(f=b.ib())if(f=f.call(b,0))f=Array.isArray(f)?f[0]:f,this.j&&(a.Style=f),(f=f.Ka())&&(a.name=f.Ka());f=Gs[c[c.length-1].node.namespaceURI];a=Bo(a,f);Do(d,Es,Ao,a,c,f);a=c[0];(b=b.U())&&(b=Jo(b,!0,a));Do(d, 
     600Es,vs,[b],c)}function Hs(a,b,c){var d=b.da();a={node:a};a.layout=b.ja;a.stride=b.pa();b=b.L();b.coordinates=d;d=Is[c[c.length-1].node.namespaceURI];b=Bo(b,d);Do(a,Js,Ao,b,c,d)}function Ks(a,b,c){b=b.Ud();var d=b.shift();a={node:a};Do(a,Ls,Ms,b,c);Do(a,Ls,Ns,[d],c)}function Os(a,b){Ip(a,Math.round(1E6*b)/1E6)} 
     601var Ps=N(vr,["Document","Placemark"]),Ss=N(vr,{Document:M(function(a,b,c){Do({node:a},Qs,Rs,b,c,void 0,this)}),Placemark:M(Ds)}),Qs=N(vr,{Placemark:M(Ds)}),Ts=N(vr,{Data:M(function(a,b,c){a.setAttribute("name",b.name);a={node:a};b=b.value;"object"==typeof b?(null!==b&&b.displayName&&Do(a,Ts,Ao,[b.displayName],c,["displayName"]),null!==b&&b.value&&Do(a,Ts,Ao,[b.value],c,["value"])):Do(a,Ts,Ao,[b],c,["value"])}),value:M(function(a,b){ip(a,b)}),displayName:M(function(a,b){a.appendChild(mo.createCDATASection(b))})}), 
     602Us={Point:"Point",LineString:"LineString",LinearRing:"LinearRing",Polygon:"Polygon",MultiPoint:"MultiGeometry",MultiLineString:"MultiGeometry",MultiPolygon:"MultiGeometry",GeometryCollection:"MultiGeometry"},Vs=N(vr,["href"],N(ur,["x","y","w","h"])),Ws=N(vr,{href:M(ip)},N(ur,{x:M(Ip),y:M(Ip),w:M(Ip),h:M(Ip)})),Xs=N(vr,["scale","heading","Icon","hotSpot"]),Zs=N(vr,{Icon:M(function(a,b,c){a={node:a};var d=Vs[c[c.length-1].node.namespaceURI],e=Bo(b,d);Do(a,Ws,Ao,e,c,d);d=Vs[ur[0]];e=Bo(b,d);Do(a,Ws, 
     603Ys,e,c,d)}),heading:M(Ip),hotSpot:M(function(a,b){a.setAttribute("x",b.x);a.setAttribute("y",b.y);a.setAttribute("xunits",b.oh);a.setAttribute("yunits",b.ph)}),scale:M(Os)}),$s=N(vr,["color","scale"]),at=N(vr,{color:M(ts),scale:M(Os)}),bt=N(vr,["color","width"]),ct=N(vr,{color:M(ts),width:M(Ip)}),Bs=N(vr,{LinearRing:M(Hs)}),zs=N(vr,{LineString:M(Hs),Point:M(Hs),Polygon:M(Ks),GeometryCollection:M(us)}),Gs=N(vr,"name open visibility address phoneNumber description styleUrl Style".split(" ")),Es=N(vr, 
     604{ExtendedData:M(function(a,b,c){a={node:a};var d=b.names;b=b.values;for(var e=d.length,f=0;f<e;f++)Do(a,Ts,dt,[{name:d[f],value:b[f]}],c)}),MultiGeometry:M(us),LineString:M(Hs),LinearRing:M(Hs),Point:M(Hs),Polygon:M(Ks),Style:M(function(a,b,c){a={node:a};var d={},e=b.Fa(),f=b.Ga(),g=b.Y();b=b.Ka();g instanceof dr&&(d.IconStyle=g);b&&(d.LabelStyle=b);f&&(d.LineStyle=f);e&&(d.PolyStyle=e);b=et[c[c.length-1].node.namespaceURI];d=Bo(d,b);Do(a,ft,Ao,d,c,b)}),address:M(ip),description:M(ip),name:M(ip), 
     605open:M(hp),phoneNumber:M(ip),styleUrl:M(ip),visibility:M(hp)}),Is=N(vr,["extrude","tessellate","altitudeMode","coordinates"]),Js=N(vr,{extrude:M(hp),tessellate:M(hp),altitudeMode:M(ip),coordinates:M(function(a,b,c){c=c[c.length-1];var d=c.layout;c=c.stride;var e;"XY"==d||"XYM"==d?e=2:"XYZ"==d||"XYZM"==d?e=3:oa(!1,34);var f,g=b.length,h="";if(0<g){h+=b[0];for(d=1;d<e;++d)h+=","+b[d];for(f=c;f<g;f+=c)for(h+=" "+b[f],d=1;d<e;++d)h+=","+b[f+d]}ip(a,h)})}),Ls=N(vr,{outerBoundaryIs:M(As),innerBoundaryIs:M(As)}), 
     606gt=N(vr,{color:M(ts)}),et=N(vr,["IconStyle","LabelStyle","LineStyle","PolyStyle"]),ft=N(vr,{IconStyle:M(function(a,b,c){a={node:a};var d={},e=b.oc(),f=b.He(),g={href:b.b.l};if(e){g.w=e[0];g.h=e[1];var h=b.Vc(),l=b.bd();l&&f&&0!==l[0]&&l[1]!==e[1]&&(g.x=l[0],g.y=f[1]-(l[1]+e[1]));!h||h[0]===e[0]/2&&h[1]===e[1]/2||(d.hotSpot={x:h[0],oh:"pixels",y:e[1]-h[1],ph:"pixels"})}d.Icon=g;e=b.a;1!==e&&(d.scale=e);b=b.f;0!==b&&(d.heading=b);b=Xs[c[c.length-1].node.namespaceURI];d=Bo(d,b);Do(a,Zs,Ao,d,c,b)}),LabelStyle:M(function(a, 
     607b,c){a={node:a};var d={},e=b.Fa();e&&(d.color=e.b);(b=b.b)&&1!==b&&(d.scale=b);b=$s[c[c.length-1].node.namespaceURI];d=Bo(d,b);Do(a,at,Ao,d,c,b)}),LineStyle:M(function(a,b,c){a={node:a};var d=bt[c[c.length-1].node.namespaceURI];b=Bo({color:b.a,width:b.c},d);Do(a,ct,Ao,b,c,d)}),PolyStyle:M(function(a,b,c){Do({node:a},gt,ht,[b.b],c)})});function Ys(a,b,c){return no(ur[0],"gx:"+c)}function Rs(a,b){return no(b[b.length-1].node.namespaceURI,"Placemark")} 
     608function vs(a,b){if(a)return no(b[b.length-1].node.namespaceURI,Us[a.S()])}var ht=yo("color"),dt=yo("Data"),Fs=yo("ExtendedData"),Ms=yo("innerBoundaryIs"),ws=yo("Point"),xs=yo("LineString"),Cs=yo("LinearRing"),ys=yo("Polygon"),Ns=yo("outerBoundaryIs"); 
     609er.prototype.bc=function(a,b){b=Io(this,b);var c=no(vr[4],"kml");c.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:gx",ur[0]);c.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xsi","http://www.w3.org/2001/XMLSchema-instance");c.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation","http://www.opengis.net/kml/2.2 https://developers.google.com/kml/schema/kml22gx.xsd");var d={node:c},e={};1<a.length?e.Document=a:1==a.length&&(e.Placemark=a[0]);a=Ps[c.namespaceURI]; 
     610e=Bo(e,a);Do(d,Ss,Ao,e,[b],a,this);return c};rj.Ld=function(){}; 
     611(function(a){function b(a){this.tc=ArrayBuffer.isView&&ArrayBuffer.isView(a)?a:new Uint8Array(a||0);this.type=this.ga=0;this.length=this.tc.length}function c(a,b,c){var e=c.tc;var f=e[c.ga++];var g=(f&112)>>4;if(128>f)return d(a,g,b);f=e[c.ga++];g|=(f&127)<<3;if(128>f)return d(a,g,b);f=e[c.ga++];g|=(f&127)<<10;if(128>f)return d(a,g,b);f=e[c.ga++];g|=(f&127)<<17;if(128>f)return d(a,g,b);f=e[c.ga++];g|=(f&127)<<24;if(128>f)return d(a,g,b);f=e[c.ga++];if(128>f)return d(a,g|(f&1)<<31,b);throw Error("Expected varint not more than 10 bytes"); 
     612}function d(a,b,c){return c?4294967296*b+(a>>>0):4294967296*(b>>>0)+(a>>>0)}var e={read:function(a,b,c,d,e){var f=8*e-d-1;var g=(1<<f)-1,h=g>>1,l=-7;e=c?e-1:0;var m=c?-1:1,v=a[b+e];e+=m;c=v&(1<<-l)-1;v>>=-l;for(l+=f;0<l;c=256*c+a[b+e],e+=m,l-=8);f=c&(1<<-l)-1;c>>=-l;for(l+=d;0<l;f=256*f+a[b+e],e+=m,l-=8);if(0===c)c=1-h;else{if(c===g)return f?NaN:Infinity*(v?-1:1);f+=Math.pow(2,d);c-=h}return(v?-1:1)*f*Math.pow(2,c-d)},write:function(a,b,c,d,e,n){var f,g=8*n-e-1,h=(1<<g)-1,l=h>>1,m=23===e?Math.pow(2, 
     613-24)-Math.pow(2,-77):0;n=d?0:n-1;var z=d?1:-1,A=0>b||0===b&&0>1/b?1:0;b=Math.abs(b);isNaN(b)||Infinity===b?(b=isNaN(b)?1:0,d=h):(d=Math.floor(Math.log(b)/Math.LN2),1>b*(f=Math.pow(2,-d))&&(d--,f*=2),b=1<=d+l?b+m/f:b+m*Math.pow(2,1-l),2<=b*f&&(d++,f/=2),d+l>=h?(b=0,d=h):1<=d+l?(b=(b*f-1)*Math.pow(2,e),d+=l):(b=b*Math.pow(2,l-1)*Math.pow(2,e),d=0));for(;8<=e;a[c+n]=b&255,n+=z,b/=256,e-=8);d=d<<e|b;for(g+=e;0<g;a[c+n]=d&255,n+=z,d/=256,g-=8);a[c+n-z]|=128*A}};b.c=0;b.g=1;b.b=2;b.a=5;b.prototype={Og:function(a, 
     614b,c){for(c=c||this.length;this.ga<c;){var d=this.Ua(),e=d>>3,f=this.ga;this.type=d&7;a(e,b,this);this.ga===f&&this.Lq(d)}return b},Zp:function(){var a=e.read(this.tc,this.ga,!0,23,4);this.ga+=4;return a},Vp:function(){var a=e.read(this.tc,this.ga,!0,52,8);this.ga+=8;return a},Ua:function(a){var b=this.tc;var d=b[this.ga++];var e=d&127;if(128>d)return e;d=b[this.ga++];e|=(d&127)<<7;if(128>d)return e;d=b[this.ga++];e|=(d&127)<<14;if(128>d)return e;d=b[this.ga++];e|=(d&127)<<21;if(128>d)return e;d=b[this.ga]; 
     615return c(e|(d&15)<<28,a,this)},lq:function(){return this.Ua(!0)},Ug:function(){var a=this.Ua();return 1===a%2?(a+1)/-2:a/2},Tp:function(){return!!this.Ua()},Vg:function(){for(var a=this.Ua()+this.ga,b=this.tc,c="",d=this.ga;d<a;){var e=b[d],n=null,p=239<e?4:223<e?3:191<e?2:1;if(d+p>a)break;if(1===p)128>e&&(n=e);else if(2===p){var q=b[d+1];128===(q&192)&&(n=(e&31)<<6|q&63,127>=n&&(n=null))}else if(3===p){q=b[d+1];var r=b[d+2];128===(q&192)&&128===(r&192)&&(n=(e&15)<<12|(q&63)<<6|r&63,2047>=n||55296<= 
     616n&&57343>=n)&&(n=null)}else if(4===p){q=b[d+1];r=b[d+2];var u=b[d+3];128===(q&192)&&128===(r&192)&&128===(u&192)&&(n=(e&15)<<18|(q&63)<<12|(r&63)<<6|u&63,65535>=n||1114112<=n)&&(n=null)}null===n?(n=65533,p=1):65535<n&&(n-=65536,c+=String.fromCharCode(n>>>10&1023|55296),n=56320|n&1023);c+=String.fromCharCode(n);d+=p}this.ga=a;return c},Lq:function(a){a&=7;if(a===b.c)for(;127<this.tc[this.ga++];);else if(a===b.b)this.ga=this.Ua()+this.ga;else if(a===b.a)this.ga+=4;else if(a===b.g)this.ga+=8;else throw Error("Unimplemented type: "+ 
     617a);}};a["default"]=b})(rj.Ld=rj.Ld||{});rj.Ld=rj.Ld.default;function it(a,b,c,d,e){this.l=e;this.f=a;this.b=b;this.a=this.c=null;this.g=c;this.j=d;this.s=We()}k=it.prototype;k.get=function(a){return this.j[a]};k.pb=it.prototype.td=function(){return this.g};k.G=function(){this.i||(this.i="Point"===this.f?Pa(this.b):Qa(this.b,0,this.b.length,2));return this.i};k.Td=function(){if(!this.c){var a=eb(this.G());this.c=If(this.b,0,this.g,2,a,0)}return this.c};k.Fe=function(){this.a||(this.a=Kk(this.b,0,this.b.length,2,.5));return this.a}; 
     618k.Ge=function(){if(!this.a){this.a=[];for(var a=this.b,b=0,c=this.g,d=0,e=c.length;d<e;++d){var f=c[d];b=Kk(a,b,f,2,.5);gc(this.a,b);b=f}}return this.a};k.Ao=function(){return this.l};k.Xb=function(){return this.b};k.da=it.prototype.Xb;k.U=function(){return this};k.Bo=function(){return this.j};k.Wd=it.prototype.U;k.pa=function(){return 2};k.ib=ea;k.S=function(){return this.f};k.mb=function(a){var b=a.G();a=a.oe;b=db(a)/db(b);var c=this.s;ef(c,a[0],a[3],b,-b,0,0,0);Te(this.b,0,this.b.length,2,c,this.b)};function jt(a){Go.call(this);a=a?a:{};this.defaultDataProjection=new wb({code:"EPSG:3857",units:"tile-pixels"});this.b=a.featureClass?a.featureClass:it;this.g=a.geometryName;this.f=a.layerName?a.layerName:"layer";this.c=a.layers?a.layers:null;this.a=null}w(jt,Go);function kt(a,b,c){if(3===a){a={keys:[],values:[],features:[]};var d=c.Ua()+c.ga;c.Og(lt,a,d);a.length=a.features.length;a.length&&(b[a.name]=a)}} 
     619function lt(a,b,c){if(15===a)b.version=c.Ua();else if(1===a)b.name=c.Vg();else if(5===a)b.extent=c.Ua();else if(2===a)b.features.push(c.ga);else if(3===a)b.keys.push(c.Vg());else if(4===a){a=null;for(var d=c.Ua()+c.ga;c.ga<d;)a=c.Ua()>>3,a=1===a?c.Vg():2===a?c.Zp():3===a?c.Vp():4===a?c.lq():5===a?c.Ua():6===a?c.Ug():7===a?c.Tp():null;b.values.push(a)}} 
     620function mt(a,b,c){if(1==a)b.id=c.Ua();else if(2==a)for(a=c.Ua()+c.ga;c.ga<a;){var d=b.layer.keys[c.Ua()],e=b.layer.values[c.Ua()];b.properties[d]=e}else 3==a?b.type=c.Ua():4==a&&(b.geometry=c.ga)} 
     621function nt(a,b,c){var d=c.type;if(0===d)return null;var e=c.id,f=c.properties;f[a.f]=c.layer.name;var g=[];var h=[],l=h;b.ga=c.geometry;c=b.Ua()+b.ga;for(var m=1,n=0,p=0,q=0,r=0,u=0;b.ga<c;)n||(n=b.Ua(),m=n&7,n>>=3),n--,1===m||2===m?(p+=b.Ug(),q+=b.Ug(),1===m&&r>u&&(l.push(r),u=r),g.push(p,q),r+=2):7===m?r>u&&(g.push(g[u],g[u+1]),r+=2):oa(!1,59);r>u&&l.push(r);b=h.length;var v;1===d?v=1===b?"Point":"MultiPoint":2===d?v=1===b?"LineString":"MultiLineString":3===d&&(v="Polygon");d=v;if(a.b===it)g=new a.b(d, 
     622g,h,f,e);else{if("Polygon"==d){d=[];l=b=v=0;for(c=h.length;l<c;++l)m=h[l],Mf(g,v,m,2)||(d.push(h.slice(b,l)),b=l),v=m;1<d.length?(h=d,d=new Q(null)):d=new D(null)}else d="Point"===d?new C(null):"LineString"===d?new I(null):"Polygon"===d?new D(null):"MultiPoint"===d?new No(null):"MultiLineString"===d?new P(null):null;d.ba("XY",g,h);g=new a.b;a.g&&g.Lc(a.g);a=Jo(d,!1,Io(a,void 0));g.Va(a);g.qc(e);g.H(f)}return g}k=jt.prototype;k.cg=function(){return this.a};k.S=function(){return"arraybuffer"}; 
     623k.Qa=function(a){var b=this.c;a=new rj.Ld(a);var c=a.Og(kt,{}),d=[],e;for(e in c)if(!b||-1!=b.indexOf(e)){var f=c[e];for(var g,h=0,l=f.length;h<l;++h){g=a;var m=f;g.ga=m.features[h];var n=g.Ua()+g.ga;m={layer:m,type:0,properties:{}};g.Og(mt,m,n);g=m;d.push(nt(this,a,g))}this.a=f?[0,0,f.extent,f.extent]:null}return d};k.sb=function(){return this.defaultDataProjection};k.Sn=function(a){this.c=a};k.Yb=function(){};k.ed=function(){};k.Jd=function(){};k.md=function(){};k.ac=function(){};function ot(){Wo.call(this);this.defaultDataProjection=Ob("EPSG:4326")}w(ot,Wo);function pt(a,b){b[b.length-1].le[a.getAttribute("k")]=a.getAttribute("v")} 
     624var qt=[null],rt=N(qt,{nd:function(a,b){b[b.length-1].zd.push(a.getAttribute("ref"))},tag:pt}),tt=N(qt,{node:function(a,b){var c=b[0],d=b[b.length-1],e=a.getAttribute("id"),f=[parseFloat(a.getAttribute("lon")),parseFloat(a.getAttribute("lat"))];d.ki[e]=f;a=O({le:{}},st,a,b);nb(a.le)||(f=new C(f),Jo(f,!1,c),c=new Hk(f),c.qc(e),c.H(a.le),d.features.push(c))},way:function(a,b){var c=a.getAttribute("id");a=O({id:c,zd:[],le:{}},rt,a,b);b[b.length-1].lh.push(a)}}),st=N(qt,{tag:pt}); 
     625ot.prototype.Kc=function(a,b){b=Ho(this,a,b);if("osm"==a.localName){a=O({ki:{},lh:[],features:[]},tt,a,[b]);for(var c=0;c<a.lh.length;c++){for(var d=a.lh[c],e=[],f=0,g=d.zd.length;f<g;f++)gc(e,a.ki[d.zd[f]]);d.zd[0]==d.zd[d.zd.length-1]?(f=new D(null),f.ba("XY",e,[e.length])):(f=new I(null),f.ba("XY",e));Jo(f,!1,b);e=new Hk(f);e.qc(d.id);e.H(d.le);a.features.push(e)}if(a.features)return a.features}return[]};ot.prototype.mh=function(){};ot.prototype.bc=function(){};ot.prototype.re=function(){};function ut(a,b,c,d){var e;void 0!==d?e=d:e=[];for(var f=d=0;f<b;){var g=a[f++];e[d++]=a[f++];e[d++]=g;for(g=2;g<c;++g)e[d++]=a[f++]}e.length=d};function vt(a){a=a?a:{};Go.call(this);this.defaultDataProjection=Ob("EPSG:4326");this.b=a.factor?a.factor:1E5;this.a=a.geometryLayout?a.geometryLayout:"XY"}w(vt,Vq);function wt(a,b,c){var d,e=Array(b);for(d=0;d<b;++d)e[d]=0;var f;var g=0;for(f=a.length;g<f;)for(d=0;d<b;++d,++g){var h=a[g],l=h-e[d];e[d]=h;a[g]=l}return xt(a,c?c:1E5)}function yt(a,b,c){var d,e=Array(b);for(d=0;d<b;++d)e[d]=0;a=zt(a,c?c:1E5);var f;c=0;for(f=a.length;c<f;)for(d=0;d<b;++d,++c)e[d]+=a[c],a[c]=e[d];return a} 
     626function xt(a,b){b=b?b:1E5;var c;var d=0;for(c=a.length;d<c;++d)a[d]=Math.round(a[d]*b);b=0;for(d=a.length;b<d;++b)c=a[b],a[b]=0>c?~(c<<1):c<<1;b="";d=0;for(c=a.length;d<c;++d){for(var e,f=a[d],g="";32<=f;)e=(32|f&31)+63,g+=String.fromCharCode(e),f>>=5;g+=String.fromCharCode(f+63);b+=g}return b} 
     627function zt(a,b){b=b?b:1E5;var c=[],d=0,e=0,f;var g=0;for(f=a.length;g<f;++g){var h=a.charCodeAt(g)-63;d|=(h&31)<<e;32>h?(c.push(d),e=d=0):e+=5}a=0;for(d=c.length;a<d;++a)e=c[a],c[a]=e&1?~(e>>1):e>>1;a=0;for(d=c.length;a<d;++a)c[a]/=b;return c}k=vt.prototype;k.fe=function(a,b){a=this.Gd(a,b);return new Hk(a)};k.Ng=function(a,b){return[this.fe(a,b)]};k.Gd=function(a,b){var c=jf(this.a);a=yt(a,c,this.b);ut(a,a.length,c,a);c=yf(a,0,a.length,c);return Jo(new I(c,this.a),!1,Io(this,b))}; 
     628k.pe=function(a,b){if(a=a.U())return this.Kd(a,b);oa(!1,40);return""};k.nh=function(a,b){return this.pe(a[0],b)};k.Kd=function(a,b){a=Jo(a,!0,Io(this,b));b=a.da();a=a.pa();ut(b,b.length,a,b);return wt(b,a,this.b)};function At(a){a=a?a:{};Go.call(this);this.a=a.layerName;this.b=a.layers?a.layers:null;this.defaultDataProjection=Ob(a.defaultDataProjection?a.defaultDataProjection:"EPSG:4326")}w(At,Ko);function Bt(a,b){var c=[],d,e;var f=0;for(e=a.length;f<e;++f){var g=a[f];0<f&&c.pop();0<=g?d=b[g]:d=b[~g].slice().reverse();c.push.apply(c,d)}a=0;for(b=c.length;a<b;++a)c[a]=c[a].slice();return c} 
     629function Ct(a,b,c,d,e,f,g){a=a.geometries;var h=[],l;var m=0;for(l=a.length;m<l;++m)h[m]=Dt(a[m],b,c,d,e,f,g);return h}function Dt(a,b,c,d,e,f,g){var h=a.type,l=Et[h];c="Point"===h||"MultiPoint"===h?l(a,c,d):l(a,b);b=new Hk;b.Va(Jo(c,!1,g));void 0!==a.id&&b.qc(a.id);a=a.properties;e&&(a||(a={}),a[e]=f);a&&b.H(a);return b} 
     630At.prototype.Mg=function(a,b){if("Topology"==a.type){var c=null,d=null;if(a.transform){var e=a.transform;c=e.scale;d=e.translate}var f=a.arcs;if(e){e=c;var g=d,h;var l=0;for(h=f.length;l<h;++l){var m,n=f[l],p=e,q=g,r=0,u=0;var v=0;for(m=n.length;v<m;++v){var z=n[v];r+=z[0];u+=z[1];z[0]=r;z[1]=u;Ft(z,p,q)}}}e=[];a=a.objects;g=this.a;for(var A in a)this.b&&-1==this.b.indexOf(A)||("GeometryCollection"===a[A].type?(l=a[A],e.push.apply(e,Ct(l,f,c,d,g,A,b))):(l=a[A],e.push(Dt(l,f,c,d,g,A,b))));return e}return[]}; 
     631function Ft(a,b,c){a[0]=a[0]*b[0]+c[0];a[1]=a[1]*b[1]+c[1]}At.prototype.Tg=function(){return this.defaultDataProjection}; 
     632var Et={Point:function(a,b,c){a=a.coordinates;b&&c&&Ft(a,b,c);return new C(a)},LineString:function(a,b){a=Bt(a.arcs,b);return new I(a)},Polygon:function(a,b){var c=[],d;var e=0;for(d=a.arcs.length;e<d;++e)c[e]=Bt(a.arcs[e],b);return new D(c)},MultiPoint:function(a,b,c){a=a.coordinates;var d;if(b&&c){var e=0;for(d=a.length;e<d;++e)Ft(a[e],b,c)}return new No(a)},MultiLineString:function(a,b){var c=[],d;var e=0;for(d=a.arcs.length;e<d;++e)c[e]=Bt(a.arcs[e],b);return new P(c)},MultiPolygon:function(a, 
     633b){var c=[],d,e;var f=0;for(e=a.arcs.length;f<e;++f){var g=a.arcs[f];var h=[];var l=0;for(d=g.length;l<d;++l)h[l]=Bt(g[l],b);c[f]=h}return new Q(c)}};k=At.prototype;k.ld=function(){};k.qe=function(){};k.se=function(){};k.Qg=function(){};k.dd=function(){};function Gt(a){this.rc=a};function Ht(a,b){this.rc=a;this.b=Array.prototype.slice.call(arguments,1);oa(2<=this.b.length,57)}w(Ht,Gt);function It(a){var b=["And"].concat(Array.prototype.slice.call(arguments));Ht.apply(this,b)}w(It,Ht);function Jt(a,b,c){this.rc="BBOX";this.geometryName=a;this.extent=b;this.srsName=c}w(Jt,Gt);function Kt(a,b,c,d){this.rc=a;this.geometryName=b||"the_geom";this.geometry=c;this.srsName=d}w(Kt,Gt);function Lt(a,b,c){Kt.call(this,"Contains",a,b,c)}w(Lt,Kt);function Mt(a,b){this.rc=a;this.b=b}w(Mt,Gt);function Nt(a,b,c){Mt.call(this,"During",a);this.a=b;this.g=c}w(Nt,Mt);function Ot(a,b,c,d){Mt.call(this,a,b);this.g=c;this.a=d}w(Ot,Mt);function Pt(a,b,c){Ot.call(this,"PropertyIsEqualTo",a,b,c)}w(Pt,Ot);function Qt(a,b){Ot.call(this,"PropertyIsGreaterThan",a,b)}w(Qt,Ot);function Rt(a,b){Ot.call(this,"PropertyIsGreaterThanOrEqualTo",a,b)}w(Rt,Ot);function St(a,b,c){Kt.call(this,"Intersects",a,b,c)}w(St,Kt);function Tt(a,b,c){Mt.call(this,"PropertyIsBetween",a);this.a=b;this.g=c}w(Tt,Mt);function Ut(a,b,c,d,e,f){Mt.call(this,"PropertyIsLike",a);this.c=b;this.f=void 0!==c?c:"*";this.i=void 0!==d?d:".";this.g=void 0!==e?e:"!";this.a=f}w(Ut,Mt);function Vt(a){Mt.call(this,"PropertyIsNull",a)}w(Vt,Mt);function Wt(a,b){Ot.call(this,"PropertyIsLessThan",a,b)}w(Wt,Ot);function Xt(a,b){Ot.call(this,"PropertyIsLessThanOrEqualTo",a,b)}w(Xt,Ot);function Yt(a){this.rc="Not";this.condition=a}w(Yt,Gt);function Zt(a,b,c){Ot.call(this,"PropertyIsNotEqualTo",a,b,c)}w(Zt,Ot);function $t(a){var b=["Or"].concat(Array.prototype.slice.call(arguments));Ht.apply(this,b)}w($t,Ht);function au(a,b,c){Kt.call(this,"Within",a,b,c)}w(au,Kt);function bu(a){var b=[null].concat(Array.prototype.slice.call(arguments));return new (Function.prototype.bind.apply(It,b))}function cu(a,b,c){return new Jt(a,b,c)};function du(a){a=a?a:{};this.c=a.featureType;this.a=a.featureNS;this.b=a.gmlFormat?a.gmlFormat:new Kp;this.l=a.schemaLocation?a.schemaLocation:eu["1.1.0"];Wo.call(this)}w(du,Wo);var eu={"1.1.0":"http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd","1.0.0":"http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.0.0/wfs.xsd"}; 
     634du.prototype.Kc=function(a,b){var c={featureType:this.c,featureNS:this.a};kb(c,Ho(this,a,b?b:{}));b=[c];this.b.b["http://www.opengis.net/gml"].featureMember=uo(Zo.prototype.ge);(a=O([],this.b.b,a,b,this.b))||(a=[]);return a};du.prototype.j=function(a){if(qo(a))return fu(a);if(ro(a))return O({},gu,a,[]);if("string"===typeof a)return a=so(a),fu(a)};du.prototype.f=function(a){if(qo(a))return hu(this,a);if(ro(a))return iu(this,a);if("string"===typeof a)return a=so(a),hu(this,a)}; 
     635function hu(a,b){for(b=b.firstChild;b;b=b.nextSibling)if(b.nodeType==Node.ELEMENT_NODE)return iu(a,b)}var ju={"http://www.opengis.net/gml":{boundedBy:L(Zo.prototype.rf,"bounds")}};function iu(a,b){var c={},d=gp(b.getAttribute("numberOfFeatures"));c.numberOfFeatures=d;return O(c,ju,b,[],a.b)} 
     636var ku={"http://www.opengis.net/wfs":{totalInserted:L(fp),totalUpdated:L(fp),totalDeleted:L(fp)}},lu={"http://www.opengis.net/ogc":{FeatureId:uo(function(a){return a.getAttribute("fid")})}},mu={"http://www.opengis.net/wfs":{Feature:function(a,b){Co(lu,a,b)}}},gu={"http://www.opengis.net/wfs":{TransactionSummary:L(function(a,b){return O({},ku,a,b)},"transactionSummary"),InsertResults:L(function(a,b){return O([],mu,a,b)},"insertIds")}}; 
     637function fu(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType==Node.ELEMENT_NODE)return O({},gu,a,[])}var nu={"http://www.opengis.net/wfs":{PropertyName:M(ip)}};function ou(a,b){var c=no("http://www.opengis.net/ogc","Filter"),d=no("http://www.opengis.net/ogc","FeatureId");c.appendChild(d);d.setAttribute("fid",b);a.appendChild(c)}function pu(a,b){a=(a?a:"feature")+":";return 0===b.indexOf(a)?b:a+b} 
     638var qu={"http://www.opengis.net/wfs":{Insert:M(function(a,b,c){var d=c[c.length-1],e=d.gmlVersion;d=no(d.featureNS,d.featureType);a.appendChild(d);if(2===e){a=Tp.prototype;(e=b.c)&&d.setAttribute("fid",e);e=c[c.length-1];var f=e.featureNS,g=b.a;e.tb||(e.tb={},e.tb[f]={});var h=b.L();b=[];var l=[];for(n in h){var m=h[n];null!==m&&(b.push(n),l.push(m),n==g||m instanceof gf?n in e.tb[f]||(e.tb[f][n]=M(a.ui,a)):n in e.tb[f]||(e.tb[f][n]=M(ip)))}var n=kb({},e);n.node=d;Do(n,e.tb,yo(void 0,f),l,c,b)}else Kp.prototype.Ci(d, 
     639b,c)}),Update:M(function(a,b,c){var d=c[c.length-1];oa(void 0!==b.c,27);var e=d.featurePrefix,f=d.featureNS,g=b.a;a.setAttribute("typeName",pu(e,d.featureType));a.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:"+e,f);e=b.c;if(void 0!==e){f=b.P();for(var h=[],l=0,m=f.length;l<m;l++){var n=b.get(f[l]);if(void 0!==n){var p=f[l];n instanceof gf&&(p=g);h.push({name:p,value:n})}}Do({gmlVersion:d.gmlVersion,node:a,hasZ:d.hasZ,srsName:d.srsName},qu,yo("Property"),h,c);ou(a,e)}}),Delete:M(function(a, 
     640b,c){c=c[c.length-1];oa(void 0!==b.c,26);var d=c.featurePrefix,e=c.featureNS;a.setAttribute("typeName",pu(d,c.featureType));a.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:"+d,e);b=b.c;void 0!==b&&ou(a,b)}),Property:M(function(a,b,c){var d=no("http://www.opengis.net/wfs","Name"),e=c[c.length-1].gmlVersion;a.appendChild(d);ip(d,b.name);void 0!==b.value&&null!==b.value&&(d=no("http://www.opengis.net/wfs","Value"),a.appendChild(d),b.value instanceof gf?2===e?Tp.prototype.ui(d,b.value,c):Kp.prototype.Yc(d, 
     641