meshcentral
Version:
Web based remote computer management and file server
1 lines • 511 kB
JavaScript
!function(t,e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define([],e):t.ol=e()}(this,function(){var t,e,o,r={},n=this;function i(t,e){var o,i=r;t=t.split("."),i=i||n,t[0]in i||!i.execScript||i.execScript("var "+t[0]);for(;t.length&&(o=t.shift());)t.length||void 0===e?i=i[o]&&i[o]!==Object.prototype[o]?i[o]:i[o]={}:i[o]=e}function N(t,e){return e<t?1:t<e?-1:0}function d(t,e){return 0<=t.indexOf(e)}function l(t,e,o){var i=t.length;if(t[0]<=e)return 0;if(!(e<=t[i-1]))if(0<o){for(o=1;o<i;++o)if(t[o]<e)return o-1}else if(o<0){for(o=1;o<i;++o)if(t[o]<=e)return o}else for(o=1;o<i;++o){if(t[o]==e)return o;if(t[o]<e)return t[o-1]-e<e-t[o]?o-1:o}return i-1}function c(t,e){var o=Array.isArray(e)?e:[e],i=o.length;for(e=0;e<i;e++)t[t.length]=o[e]}function p(t,e){-1<(e=t.indexOf(e))&&t.splice(e,1)}function v(t,e){for(var o,i=t.length>>>0,r=0;r<i;r++)if(e(o=t[r],r,t))return o;return null}function U(t,e){var o=t.length;if(o!==e.length)return!1;for(var i=0;i<o;i++)if(t[i]!==e[i])return!1;return!0}function u(t){var e,o=cp,i=t.length,r=Array(t.length);for(e=0;e<i;e++)r[e]={index:e,value:t[e]};for(r.sort(function(t,e){return o(t.value,e.value)||t.index-e.index}),e=0;e<t.length;e++)t[e]=r[e].value}function b(o,i){var r;return o.every(function(t,e){return!i(t,r=e,o)})?-1:r}function s(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t}function m(){}function G(t){return t.Vo||(t.Vo=++a)}var a=0;function h(t){this.message="Assertion failed. See https://openlayers.org/en/v4.2.0/doc/errors/#"+t+" for details.",this.code=t,this.name="AssertionError"}function R(t,e){if(!t)throw new h(e)}function I(t,e,o,i){this.ca=t,this.$=e,this.da=o,this.ia=i}function y(t,e,o){return t.ca<=e&&e<=t.$&&t.da<=o&&o<=t.ia}function C(t,e){return t.ca<=e.$&&t.$>=e.ca&&t.da<=e.ia&&t.ia>=e.da}function w(t,e,o){return Math.min(Math.max(t,e),o)}s(h,Error);var f="cosh"in Math?Math.cosh:function(t){return((t=Math.exp(t))+1/t)/2};function x(t,e,o,i,r,n){var p=r-o,s=n-i;if(p||s){var a=((t-o)*p+(e-i)*s)/(p*p+s*s);1<a?(o=r,i=n):0<a&&(o+=p*a,i+=s*a)}return g(t,e,o,i)}function g(t,e,o,i){return(t=o-t)*t+(e=i-e)*e}function S(t){return t*Math.PI/180}function L(t,e){return(t%=e)*e<0?t+e:t}function M(t,e,o){return t+o*(e-t)}function P(t,e,o){return void 0===o&&(o=[0,0]),o[0]=t[0]+2*e,o[1]=t[1]+2*e,o}function A(t,e,o){return void 0===o&&(o=[0,0]),o[0]=t[0]*e+.5|0,o[1]=t[1]*e+.5|0,o}function F(t,e){return Array.isArray(t)?t:(void 0===e?e=[t,t]:e[0]=e[1]=t,e)}function E(t){for(var e=V(),o=0,i=t.length;o<i;++o)q(e,t[o]);return e}function T(t,e,o){return o?(o[0]=t[0]-e,o[1]=t[1]-e,o[2]=t[2]+e,o[3]=t[3]+e,o):[t[0]-e,t[1]-e,t[2]+e,t[3]+e]}function j(t,e){return e?(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e):t.slice()}function k(t,e,o){return(e=e<t[0]?t[0]-e:t[2]<e?e-t[2]:0)*e+(t=o<t[1]?t[1]-o:t[3]<o?o-t[3]:0)*t}function D(t,e){return B(t,e[0],e[1])}function O(t,e){return t[0]<=e[0]&&e[2]<=t[2]&&t[1]<=e[1]&&e[3]<=t[3]}function B(t,e,o){return t[0]<=e&&e<=t[2]&&t[1]<=o&&o<=t[3]}function X(t,e){var o=t[1],i=t[2],r=t[3],n=e[0];e=e[1];var p=0;return n<t[0]?p|=16:i<n&&(p|=4),e<o?p|=8:r<e&&(p|=2),p=p||1}function V(){return[1/0,1/0,-1/0,-1/0]}function W(t,e,o,i,r){return r?(r[0]=t,r[1]=e,r[2]=o,r[3]=i,r):[t,e,o,i]}function Z(t){return W(1/0,1/0,-1/0,-1/0,t)}function K(t,e){var o=t[0];return W(o,t=t[1],o,t,e)}function z(t,e,o,i,r){return J(r=Z(r),t,e,o,i)}function Y(t,e){return t[0]==e[0]&&t[2]==e[2]&&t[1]==e[1]&&t[3]==e[3]}function H(t,e){return e[0]<t[0]&&(t[0]=e[0]),e[2]>t[2]&&(t[2]=e[2]),e[1]<t[1]&&(t[1]=e[1]),e[3]>t[3]&&(t[3]=e[3]),t}function q(t,e){e[0]<t[0]&&(t[0]=e[0]),e[0]>t[2]&&(t[2]=e[0]),e[1]<t[1]&&(t[1]=e[1]),e[1]>t[3]&&(t[3]=e[1])}function J(t,e,o,i,r){for(;o<i;o+=r){var n=t,p=e[o],s=e[o+1];n[0]=Math.min(n[0],p),n[1]=Math.min(n[1],s),n[2]=Math.max(n[2],p),n[3]=Math.max(n[3],s)}return t}function _(t,e,o){var i;return(i=e.call(o,Q(t)))||(i=e.call(o,tt(t)))||(i=e.call(o,pt(t)))?i:!!(i=e.call(o,nt(t)))&&i}function $(t){var e=0;return ht(t)||(e=st(t)*it(t)),e}function Q(t){return[t[0],t[1]]}function tt(t){return[t[2],t[1]]}function et(t){return[(t[0]+t[2])/2,(t[1]+t[3])/2]}function ot(t,e,o,i,r){var n=e*i[0]/2;i=e*i[1]/2,e=Math.cos(o);var p=Math.sin(o);o=n*e,n*=p,e*=i;var s=i*p,a=t[0],h=t[1];t=a-o+s,i=a-o-s,p=a+o-s,o=a+o+s;s=h-n-e,a=h-n+e;var l=h+n+e;n=h+n-e;return W(Math.min(t,i,p,o),Math.min(s,a,l,n),Math.max(t,i,p,o),Math.max(s,a,l,n),r)}function it(t){return t[3]-t[1]}function rt(t,e,o){return o=o||[1/0,1/0,-1/0,-1/0],at(t,e)&&(o[0]=t[0]>e[0]?t[0]:e[0],o[1]=t[1]>e[1]?t[1]:e[1],o[2]=t[2]<e[2]?t[2]:e[2],o[3]=t[3]<e[3]?t[3]:e[3]),o}function nt(t){return[t[0],t[3]]}function pt(t){return[t[2],t[3]]}function st(t){return t[2]-t[0]}function at(t,e){return t[0]<=e[2]&&t[2]>=e[0]&&t[1]<=e[3]&&t[3]>=e[1]}function ht(t){return t[2]<t[0]||t[3]<t[1]}function lt(t,e){var o=(t[2]-t[0])/2*(e-1);e=(t[3]-t[1])/2*(e-1),t[0]-=o,t[2]+=o,t[1]-=e,t[3]+=e}function ut(t,e,o){e(t=[t[0],t[1],t[0],t[3],t[2],t[1],t[2],t[3]],t,2);var i=[t[0],t[2],t[4],t[6]],r=[t[1],t[3],t[5],t[7]];return W(e=Math.min.apply(null,i),t=Math.min.apply(null,r),i=Math.max.apply(null,i),r=Math.max.apply(null,r),o)}var ct="function"==typeof Object.assign?Object.assign:function(t,e){if(!t||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var o=Object(t),i=1,r=arguments.length;i<r;++i){var n=arguments[i];if(null!=n)for(var p in n)n.hasOwnProperty(p)&&(o[p]=n[p])}return o};function yt(t){for(var e in t)delete t[e]}function ft(t){var e,o=[];for(e in t)o.push(t[e]);return o}function gt(t){for(var e in t)return!1;return!e}function dt(t){this.radius=t}dt.prototype.a=function(t){for(var e=0,o=t.length,i=t[o-1][0],r=t[o-1][1],n=0;n<o;n++){var p=t[n][0],s=t[n][1];e=e+S(p-i)*(2+Math.sin(S(r))+Math.sin(S(s))),i=p,r=s}return e*this.radius*this.radius/2},dt.prototype.b=function(t,e){var o=S(t[1]),i=S(e[1]),r=(i-o)/2;return t=S(e[0]-t[0])/2,o=Math.sin(r)*Math.sin(r)+Math.sin(t)*Math.sin(t)*Math.cos(o)*Math.cos(i),2*this.radius*Math.atan2(Math.sqrt(o),Math.sqrt(1-o))},dt.prototype.offset=function(t,e,o){var i=S(t[1]);e/=this.radius;var r=Math.asin(Math.sin(i)*Math.cos(e)+Math.cos(i)*Math.sin(e)*Math.cos(o));return[180*(S(t[0])+Math.atan2(Math.sin(o)*Math.sin(e)*Math.cos(i),Math.cos(e)-Math.sin(i)*Math.sin(r)))/Math.PI,180*r/Math.PI]};var vt=new dt(6370997),bt={};bt.degrees=2*Math.PI*vt.radius/360,bt.ft=.3048,bt.m=1,bt["us-ft"]=1200/3937;var mt=null;function wt(t){this.mb=t.code,this.a=t.units,this.f=void 0!==t.extent?t.extent:null,this.g=void 0!==t.worldExtent?t.worldExtent:null,this.b=void 0!==t.axisOrientation?t.axisOrientation:"enu",this.c=void 0!==t.global&&t.global,this.i=!(!this.c||!this.f),this.o=t.getPointResolution,this.j=null,this.l=t.metersPerUnit;var e=t.code,o=mt||window.proj4;"function"!=typeof o||void 0!==(e=o.defs(e))&&(void 0!==e.axis&&void 0===t.axisOrientation&&(this.b=e.axis),void 0===t.metersPerUnit&&(this.l=e.to_meter),void 0===t.units&&(this.a=e.units))}function xt(t){wt.call(this,{code:t,units:"m",extent:Mt,global:!0,worldExtent:Pt,getPointResolution:function(t,e){return t/f(e[1]/6378137)}})}(t=wt.prototype).Jk=function(){return this.mb},t.G=function(){return this.f},t.Un=function(){return this.a},t.sc=function(){return this.l||bt[this.a]},t.tl=function(){return this.g},t.dm=function(){return this.c},t.$p=function(t){this.c=t,this.i=!(!t||!this.f)},t.Vn=function(t){this.f=t,this.i=!(!this.c||!t)},t.kq=function(t){this.g=t},t.Zp=function(t){this.o=t},s(xt,wt);var St=6378137*Math.PI,Mt=[-St,-St,St,St],Pt=[-180,-85,180,85],At="EPSG:3857 EPSG:102100 EPSG:102113 EPSG:900913 urn:ogc:def:crs:EPSG:6.18:3:3857 urn:ogc:def:crs:EPSG::3857 http://www.opengis.net/gml/srs/epsg.xml#3857".split(" ").map(function(t){return new xt(t)});function Et(t,e,o){var i=t.length;o=1<o?o:2,void 0===e&&(e=2<o?t.slice():Array(i));for(var r=0;r<i;r+=o){e[r]=St*t[r]/180;var n=6378137*Math.log(Math.tan(Math.PI*(t[r+1]+90)/360));St<n?n=St:n<-St&&(n=-St),e[r+1]=n}return e}function Tt(t,e,o){var i=t.length;o=1<o?o:2,void 0===e&&(e=2<o?t.slice():Array(i));for(var r=0;r<i;r+=o)e[r]=180*t[r]/St,e[r+1]=360*Math.atan(Math.exp(t[r+1]/6378137))/Math.PI-90;return e}var jt=new dt(6378137);function Ct(t,e){wt.call(this,{code:t,units:"degrees",extent:Lt,axisOrientation:e,global:!0,metersPerUnit:Rt,worldExtent:Lt})}s(Ct,wt);var Lt=[-180,-90,180,90],Rt=Math.PI*jt.radius/180,It=[new Ct("CRS:84"),new Ct("EPSG:4326","neu"),new Ct("urn:ogc:def:crs:EPSG::4326","neu"),new Ct("urn:ogc:def:crs:EPSG:6.6:4326","neu"),new Ct("urn:ogc:def:crs:OGC:1.3:CRS84"),new Ct("urn:ogc:def:crs:OGC:2:84"),new Ct("http://www.opengis.net/gml/srs/epsg.xml#4326","neu"),new Ct("urn:x-ogc:def:crs:EPSG:4326","neu")],Nt={},Ft={};function kt(t,e,o){t=t.mb,e=e.mb,t in Ft||(Ft[t]={}),Ft[t][e]=o}function Dt(t,e){var o;return t in Ft&&e in Ft[t]&&(o=Ft[t][e]),o}function Ot(t,e,o){var i=(t=Wt(t)).o;return i?e=i(e,o):"degrees"!=t.a&&(e=(i=zt(t,Wt("EPSG:4326")))(e=[o[0]-e/2,o[1],o[0]+e/2,o[1],o[0],o[1]-e/2,o[0],o[1]+e/2],e,2),e=(vt.b(e.slice(0,2),e.slice(2,4))+vt.b(e.slice(4,6),e.slice(6,8)))/2,void 0!==(t=t.sc())&&(e/=t)),e}function Ut(t){t.forEach(Gt),t.forEach(function(e){t.forEach(function(t){e!==t&&kt(e,t,Ht)})})}function Gt(t){kt(Nt[t.mb]=t,t,Ht)}function Bt(t){return t?"string"==typeof t?Wt(t):t:Wt("EPSG:3857")}function Xt(t,e,o,i){kt(t=Wt(t),e=Wt(e),Vt(o)),kt(e,t,Vt(i))}function Vt(p){return function(t,e,o){var i,r=t.length;for(o=void 0!==o?o:2,e=void 0!==e?e:Array(r),i=0;i<r;i+=o){var n=p([t[i],t[i+1]]);for(e[i]=n[0],e[i+1]=n[1],n=o-1;2<=n;--n)e[i+n]=t[i+n]}return e}}function Wt(t){var e=null;if(t instanceof wt)e=t;else if("string"==typeof t){e=Nt[t]||null;var o=mt||window.proj4;e||"function"!=typeof o||void 0===o.defs(t)||Gt(e=new wt({code:t}))}return e}function Zt(t,e){if(t===e)return!0;var o=t.a===e.a;return t.mb===e.mb?o:zt(t,e)===Ht&&o}function Kt(t,e){return zt(t=Wt(t),e=Wt(e))}function zt(t,e){var o=t.mb,i=e.mb,r=Dt(o,i);if(!r){var n=mt||window.proj4;if("function"==typeof n){var p=n.defs(o),s=n.defs(i);void 0!==p&&void 0!==s&&(p===s?Ut([e,t]):Xt(e,t,(r=n(i,o)).forward,r.inverse),r=Dt(o,i))}}return r=r||Yt}function Yt(t,e){if(void 0!==e&&t!==e){for(var o=0,i=t.length;o<i;++o)e[o]=t[o];t=e}return t}function Ht(t,e){if(void 0!==e){for(var o=0,i=t.length;o<i;++o)e[o]=t[o];t=e}else t=t.slice();return t}function qt(t,e,o){return Kt(e,o)(t,void 0,t.length)}function Jt(t,e,o){return ut(t,e=Kt(e,o))}function _t(){Ut(At),Ut(It),It.forEach(function(e){At.forEach(function(t){kt(e,t,Et),kt(t,e,Tt)})})}function $t(t,e,o,i){return void 0!==i?(i[0]=t,i[1]=e,i[2]=o,i):[t,e,o]}function Qt(t){this.minZoom=void 0!==t.minZoom?t.minZoom:0,this.b=t.resolutions,R(function(o,t){var i=t||N;return o.every(function(t,e){return!e||!(0<(t=i(o[e-1],t))||0===t)})}(this.b,function(t,e){return e-t}),17),this.maxZoom=this.b.length-1,this.i=void 0!==t.origin?t.origin:null,this.c=null,void 0!==t.origins&&(this.c=t.origins,R(this.c.length==this.b.length,20));var e=t.extent;void 0===e||this.i||this.c||(this.i=nt(e)),R(!this.i&&this.c||this.i&&!this.c,18),this.f=null,void 0!==t.tileSizes&&(this.f=t.tileSizes,R(this.f.length==this.b.length,19)),this.g=void 0!==t.tileSize?t.tileSize:this.f?null:256,R(!this.g&&this.f||this.g&&!this.f,22),this.v=void 0!==e?e:null,this.a=null,this.j=[0,0],void 0!==t.sizes?this.a=t.sizes.map(function(t){return new I(Math.min(0,t[0]),Math.max(t[0]-1,-1),Math.min(0,t[1]),Math.max(t[1]-1,-1))},this):e&&function(t,e){for(var o=t.b.length,i=Array(o),r=t.minZoom;r<o;++r)i[r]=re(t,e,r);t.a=i}(this,e)}_t();var te=[0,0,0];function ee(t,e,o,i,r){for(r=t.Aa(e,r),e=e[0]-1;e>=t.minZoom;){if(o.call(null,e,re(t,r,e,i)))return!0;--e}return!1}function oe(t,e,o,i){return e[0]<t.maxZoom?(i=t.Aa(e,i),re(t,i,e[0]+1,o)):null}function ie(t,e,o,i){pe(t,e[0],e[1],o,!1,te);var r=te[1],n=te[2];return pe(t,e[2],e[3],o,!0,te),t=te[1],e=te[2],void 0!==i?(i.ca=r,i.$=t,i.da=n,i.ia=e):i=new I(r,t,n,e),i}function re(t,e,o,i){return ie(t,e,t.Da(o),i)}function ne(t,e){var o=t.Pc(e[0]),i=t.Da(e[0]);return t=F(t.gb(e[0]),t.j),[o[0]+(e[1]+.5)*t[0]*i,o[1]+(e[2]+.5)*t[1]*i]}function pe(t,e,o,i,r,n){var p=t.tc(i),s=i/t.Da(p),a=t.Pc(p);return t=F(t.gb(p),t.j),e=s*Math.floor((e-a[0])/i+(r?.5:0))/t[0],o=s*Math.floor((o-a[1])/i+(r?0:.5))/t[1],o=r?(e=Math.ceil(e)-1,Math.ceil(o)-1):(e=Math.floor(e),Math.floor(o)),$t(p,e,o,n)}function se(t){var e=t.j;return e||(e=le(t),t.j=e),e}function ae(t){var e={};return ct(e,t||{}),void 0===e.extent&&(e.extent=Wt("EPSG:3857").G()),e.resolutions=he(e.extent,e.maxZoom,e.tileSize),delete e.maxZoom,new Qt(e)}function he(t,e,o){e=void 0!==e?e:42;var i=it(t);for(t=st(t),o=F(void 0!==o?o:256),o=Math.max(t/o[0],i/o[1]),e+=1,i=Array(e),t=0;t<e;++t)i[t]=o/Math.pow(2,t);return i}function le(t,e,o){return e=he(t=ue(t),e,o),new Qt({extent:t,origin:nt(t),resolutions:e,tileSize:o})}function ue(t){var e=(t=Wt(t)).G();return e||(e=W(-(t=180*bt.degrees/t.sc()),-t,t,t)),e}function ce(t){this.b=t.html,this.a=t.tileRanges?t.tileRanges:null}function ye(t){return t}function fe(i){return i.mh=function(t){var e=i.listener,o=i.lh||i.target;return i.nh&&Se(i),e.call(o,t)}}function ge(t,e,o,i){for(var r,n=0,p=t.length;n<p;++n)if((r=t[n]).listener===e&&r.lh===o)return i&&(r.deleteIndex=n),r}function de(t,e){return(t=t.fb)?t[e]:void 0}function ve(t){var e=t.fb;return e=e||(t.fb={})}function be(t,e){var o=de(t,e);if(o){for(var i=0,r=o.length;i<r;++i)t.removeEventListener(e,o[i].mh),yt(o[i]);o.length=0,(o=t.fb)&&(delete o[e],Object.keys(o).length||delete t.fb)}}function me(t,e,o,i,r){var n=ve(t),p=n[e];return(n=ge(p=p||(n[e]=[]),o,i,!1))?r||(n.nh=!1):(n={lh:i,nh:!!r,listener:o,target:t,type:e},t.addEventListener(e,fe(n)),p.push(n)),n}function we(t,e,o,i){return me(t,e,o,i,!0)}function xe(t,e,o,i){(t=de(t,e))&&(o=ge(t,o,i,!0))&&Se(o)}function Se(t){if(t&&t.target){t.target.removeEventListener(t.type,t.mh);var e=de(t.target,t.type);if(e){var o="deleteIndex"in t?t.deleteIndex:e.indexOf(t);-1!==o&&e.splice(o,1),e.length||be(t.target,t.type)}yt(t)}}function Me(t){var e,o=ve(t);for(e in o)be(t,e)}function Pe(){}function Ae(t){t.Jb||(t.Jb=!0,t.ka())}function Ee(t){this.type=t,this.target=null}function Te(t){t.stopPropagation()}function je(){this.Ua={},this.ra={},this.oa={}}function Ce(t,e){return e?e in t.oa:0<Object.keys(t.oa).length}function Le(){je.call(this),this.i=0}function Re(t){Le.call(this),G(this),this.S={},void 0!==t&&this.H(t)}(t=Qt.prototype).Rf=function(t,e,o){for(var i=(t=re(this,t,e)).ca,r=t.$;i<=r;++i)for(var n=t.da,p=t.ia;n<=p;++n)o([e,i,n])},t.G=function(){return this.v},t.Ti=function(){return this.maxZoom},t.Ui=function(){return this.minZoom},t.Pc=function(t){return this.i?this.i:this.c[t]},t.Da=function(t){return this.b[t]},t.Vi=function(){return this.b},t.Aa=function(t,e){var o=this.Pc(t[0]),i=this.Da(t[0]),r=F(this.gb(t[0]),this.j),n=o[0]+t[1]*r[0]*i;return W(n,t=o[1]+t[2]*r[1]*i,n+r[0]*i,t+r[1]*i,e)},t.Be=function(t,e,o){return pe(this,t[0],t[1],e,!1,o)},t.bg=function(t,e,o){return pe(this,t[0],t[1],this.Da(e),!1,o)},t.gb=function(t){return this.g?this.g:this.f[t]},t.tc=function(t,e){return w(l(this.b,t,e||0),this.minZoom,this.maxZoom)},Pe.prototype.Jb=!(ce.prototype.i=function(){return this.b}),Pe.prototype.ka=m,Ee.prototype.preventDefault=Ee.prototype.stopPropagation=function(){this.qp=!0},s(je,Pe),je.prototype.addEventListener=function(t,e){var o=this.oa[t];-1===(o=o||(this.oa[t]=[])).indexOf(e)&&o.push(e)},je.prototype.b=function(t){var e="string"==typeof t?new Ee(t):t;t=e.type;var o=(e.target=this).oa[t];if(o){t in this.ra||(this.ra[t]=0,this.Ua[t]=0),++this.ra[t];for(var i=0,r=o.length;i<r;++i)if(!1===o[i].call(this,e)||e.qp){var n=!1;break}if(--this.ra[t],!this.ra[t]){for(e=this.Ua[t],delete this.Ua[t];e--;)this.removeEventListener(t,m);delete this.ra[t]}return n}},je.prototype.ka=function(){Me(this)},je.prototype.removeEventListener=function(t,e){var o=this.oa[t];o&&(e=o.indexOf(e),t in this.Ua?(o[e]=m,++this.Ua[t]):(o.splice(e,1),o.length||delete this.oa[t]))},s(Le,je),(t=Le.prototype).s=function(){++this.i,this.b("change")},t.L=function(){return this.i},t.J=function(t,e,o){if(Array.isArray(t)){for(var i=t.length,r=Array(i),n=0;n<i;++n)r[n]=me(this,t[n],e,o);return r}return me(this,t,e,o)},t.once=function(t,e,o){if(Array.isArray(t)){for(var i=t.length,r=Array(i),n=0;n<i;++n)r[n]=we(this,t[n],e,o);return r}return we(this,t,e,o)},t.K=function(t,e,o){if(Array.isArray(t))for(var i=0,r=t.length;i<r;++i)xe(this,t[i],e,o);else xe(this,t,e,o)},s(Re,Le);var Ie={};function Ne(t){return Ie.hasOwnProperty(t)?Ie[t]:Ie[t]="change:"+t}function Fe(t,e,o){var i=Ne(e);t.b(new ke(i,e,o)),t.b(new ke("propertychange",e,o))}function ke(t,e,o){Ee.call(this,t),this.key=e,this.oldValue=o}function De(t,e){if(Re.call(this),this.c=!!(e||{}).unique,this.a=t||[],this.c)for(t=0,e=this.a.length;t<e;++t)Ue(this,this.a[t],t);Oe(this)}function Oe(t){t.set(Ge,t.a.length)}function Ue(t,e,o){for(var i=0,r=t.a.length;i<r;++i)if(t.a[i]===e&&i!==o)throw new h(58)}(t=Re.prototype).get=function(t){var e;return this.S.hasOwnProperty(t)&&(e=this.S[t]),e},t.O=function(){return Object.keys(this.S)},t.N=function(){return ct({},this.S)},t.set=function(t,e,o){o?this.S[t]=e:(o=this.S[t])!==(this.S[t]=e)&&Fe(this,t,o)},t.H=function(t,e){for(var o in t)this.set(o,t[o],e)},t.P=function(t,e){if(t in this.S){var o=this.S[t];delete this.S[t],e||Fe(this,t,o)}},s(ke,Ee),s(De,Re),(t=De.prototype).clear=function(){for(;0<this.dc();)this.pop()},t.fg=function(t){var e,o=0;for(e=t.length;o<e;++o)this.push(t[o]);return this},t.forEach=function(t,e){this.a.forEach(t,e)},t.tm=function(){return this.a},t.item=function(t){return this.a[t]},t.dc=function(){return this.get(Ge)},t.He=function(t,e){this.c&&Ue(this,e),this.a.splice(t,0,e),Oe(this),this.b(new Be("add",e))},t.pop=function(){return this.Hg(this.dc()-1)},t.push=function(t){this.c&&Ue(this,t);var e=this.dc();return this.He(e,t),this.dc()},t.remove=function(t){var e,o=this.a,i=0;for(e=o.length;i<e;++i)if(o[i]===t)return this.Hg(i)},t.Hg=function(t){var e=this.a[t];return this.a.splice(t,1),Oe(this),this.b(new Be("remove",e)),e},t.Wp=function(t,e){var o=this.dc();if(t<o)this.c&&Ue(this,e,t),o=this.a[t],this.a[t]=e,this.b(new Be("remove",o)),this.b(new Be("add",e));else{for(;o<t;++o)this.He(o,void 0);this.He(t,e)}};var Ge="length";function Be(t,e){Ee.call(this,t),this.element=e}s(Be,Ee);var Xe=/^#(?:[0-9a-f]{3}){1,2}$/i,Ve=/^([a-z]*)$/i;function We(t){return Array.isArray(t)?t:Ye(t)}function Ze(t){if("string"!=typeof t){var e=t[0];e!=(0|e)&&(e=e+.5|0);var o=t[1];o!=(0|o)&&(o=o+.5|0);var i=t[2];i!=(0|i)&&(i=i+.5|0),t="rgba("+e+","+o+","+i+","+(void 0===t[3]?1:t[3])+")"}return t}var Ke,ze,Ye=(Ke={},ze=0,function(t){if(Ke.hasOwnProperty(t))var e=Ke[t];else{if(1024<=ze)for(var o in e=0,Ke)3&e++||(delete Ke[o],--ze);if(e=t,Ve.exec(e)&&((o=document.createElement("div")).style.color=e,document.body.appendChild(o),e=getComputedStyle(o).color,document.body.removeChild(o)),Xe.exec(e)){var i=e.length-1;R(3==i||6==i,54);var r=3==i?1:2;i=parseInt(e.substr(1+0*r,r),16),o=parseInt(e.substr(1+1*r,r),16),e=parseInt(e.substr(1+2*r,r),16),1==r&&(i=(i<<4)+i,o=(o<<4)+o,e=(e<<4)+e),i=[i,o,e,1]}else e.indexOf("rgba(")?e.indexOf("rgb(")?R(!1,14):((e=e.slice(4,-1).split(",").map(Number)).push(1),i=He(e)):i=He(e=e.slice(5,-1).split(",").map(Number));e=i,Ke[t]=e,++ze}return e});function He(t){var e=[];return e[0]=w(t[0]+.5|0,0,255),e[1]=w(t[1]+.5|0,0,255),e[2]=w(t[2]+.5|0,0,255),e[3]=w(t[3],0,1),e}function qe(t){return"string"==typeof t||t instanceof CanvasPattern||t instanceof CanvasGradient?t:Ze(t)}function Je(t,e){var o=document.createElement("CANVAS");return t&&(o.width=t),e&&(o.height=e),o.getContext("2d")}function _e(t,e){var o=e.parentNode;o&&o.replaceChild(t,e)}function $e(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function Qe(t){Re.call(this),this.element=t.element?t.element:null,this.a=this.R=null,this.v=[],this.render=t.render?t.render:m,t.target&&this.f(t.target)}function to(t){t=t||{},this.I=document.createElement("UL"),this.u=document.createElement("LI"),this.I.appendChild(this.u),this.u.style.display="none",this.c=void 0===t.collapsed||t.collapsed,this.o=void 0===t.collapsible||t.collapsible,this.o||(this.c=!1);var e=void 0!==t.className?t.className:"ol-attribution",o=void 0!==t.tipLabel?t.tipLabel:"Attributions";"string"==typeof(i=void 0!==t.collapseLabel?t.collapseLabel:"»")?(this.D=document.createElement("span"),this.D.textContent=i):this.D=i,"string"==typeof(i=void 0!==t.label?t.label:"i")?(this.C=document.createElement("span"),this.C.textContent=i):this.C=i;var i,r=this.o&&!this.c?this.D:this.C;(i=document.createElement("button")).setAttribute("type","button"),i.title=o,i.appendChild(r),me(i,"click",this.Vm,this),(o=document.createElement("div")).className=e+" ol-unselectable ol-control"+(this.c&&this.o?" ol-collapsed":"")+(this.o?"":" ol-uncollapsible"),o.appendChild(this.I),o.appendChild(i),Qe.call(this,{element:o,render:t.render?t.render:eo,target:t.target}),this.B=!0,this.l={},this.j={},this.T={}}function eo(t){if(t=t.frameState){var e,o,i,r,n,p=t.layerStatesArray,s=ct({},t.attributions),a={},h={},l=t.viewState.projection,u=0;for(e=p.length;u<e;u++)if(r=p[u].layer.ha()){var c=G(r).toString();if(n=r.j){var y=0;for(o=n.length;y<o;y++){var f=n[y],g=G(f).toString();if(!(g in s)){if(i=t.usedTiles[c])t:{var d,v=void 0,b=f,m=x=r.Ta(l),w=l;if(b.a){for(v in i)if(v in b.a){var x=i[v],S=0;for(d=b.a[v].length;S<d;++S){var M=b.a[v][S];if(C(M,x)){v=!0;break t}var P=re(m,ue(w),parseInt(v,10)),A=P.$-P.ca+1;if((x.ca<P.ca||x.$>P.$)&&(C(M,new I(L(x.ca,A),L(x.$,A),x.da,x.ia))||x.$-x.ca+1>A&&C(M,P))){v=!0;break t}}}v=!1}else v=!0}else v=!1;v?(g in a&&delete a[g],(v=f.b)in h||(h[v]=!0,s[g]=f)):a[g]=f}}}}for(var E in u=(e=[s,a])[0],e=e[1],this.l)E in u?(this.j[E]||(this.l[E].style.display="",this.j[E]=!0),delete u[E]):E in e?(this.j[E]&&(this.l[E].style.display="none",delete this.j[E]),delete e[E]):($e(this.l[E]),delete this.l[E],delete this.j[E]);for(E in u)(y=document.createElement("LI")).innerHTML=u[E].b,this.I.appendChild(y),this.l[E]=y,this.j[E]=!0;for(E in e)(y=document.createElement("LI")).innerHTML=e[E].b,y.style.display="none",this.I.appendChild(y),this.l[E]=y;for(j in E=!gt(this.j)||!gt(t.logos),this.B!=E&&(this.element.style.display=E?"":"none",this.B=E),E&>(this.j)?this.element.classList.add("ol-logo-only"):this.element.classList.remove("ol-logo-only"),t=t.logos,E=this.T)j in t||($e(E[j]),delete E[j]);for(var T in t)if((e=t[T])instanceof HTMLElement&&(this.u.appendChild(e),E[T]=e),!(T in E)){var j=new Image;j.src=T,""===e?u=j:((u=document.createElement("a")).href=e,u.appendChild(j)),this.u.appendChild(u),E[T]=u}this.u.style.display=gt(t)?"none":""}else this.B&&(this.element.style.display="none",this.B=!1)}function oo(t){t.element.classList.toggle("ol-collapsed"),t.c?_e(t.D,t.C):_e(t.C,t.D),t.c=!t.c}function io(t){return Math.pow(t,3)}function ro(t){return 1-io(1-t)}function no(t){return 3*t*t-2*t*t*t}function po(t){return t}function so(t){var e=void 0!==(t=t||{}).className?t.className:"ol-rotate",o=void 0!==t.label?t.label:"⇧";this.c=null,"string"==typeof o?(this.c=document.createElement("span"),this.c.className="ol-compass",this.c.textContent=o):(this.c=o,this.c.classList.add("ol-compass"));var i=t.tipLabel?t.tipLabel:"Reset rotation";(o=document.createElement("button")).className=e+"-reset",o.setAttribute("type","button"),o.title=i,o.appendChild(this.c),me(o,"click",so.prototype.D,this),(i=document.createElement("div")).className=e+" ol-unselectable ol-control",i.appendChild(o),e=t.render?t.render:ao,this.o=t.resetNorth?t.resetNorth:void 0,Qe.call(this,{element:i,render:e,target:t.target}),this.l=void 0!==t.duration?t.duration:250,this.j=void 0===t.autoHide||t.autoHide,this.u=void 0,this.j&&this.element.classList.add("ol-hidden")}function ao(t){if(t=t.frameState){if((t=t.viewState.rotation)!=this.u){var e="rotate("+t+"rad)";if(this.j){var o=this.element.classList.contains("ol-hidden");o||t?o&&t&&this.element.classList.remove("ol-hidden"):this.element.classList.add("ol-hidden")}this.c.style.msTransform=e,this.c.style.webkitTransform=e,this.c.style.transform=e}this.u=t}}function ho(t){var e=void 0!==(t=t||{}).className?t.className:"ol-zoom",o=void 0!==t.delta?t.delta:1,i=void 0!==t.zoomInLabel?t.zoomInLabel:"+",r=void 0!==t.zoomOutLabel?t.zoomOutLabel:"−",n=void 0!==t.zoomInTipLabel?t.zoomInTipLabel:"Zoom in",p=void 0!==t.zoomOutTipLabel?t.zoomOutTipLabel:"Zoom out",s=document.createElement("button");s.className=e+"-in",s.setAttribute("type","button"),s.title=n,s.appendChild("string"==typeof i?document.createTextNode(i):i),me(s,"click",ho.prototype.j.bind(this,o)),(i=document.createElement("button")).className=e+"-out",i.setAttribute("type","button"),i.title=p,i.appendChild("string"==typeof r?document.createTextNode(r):r),me(i,"click",ho.prototype.j.bind(this,-o)),(o=document.createElement("div")).className=e+" ol-unselectable ol-control",o.appendChild(s),o.appendChild(i),Qe.call(this,{element:o,target:t.target}),this.c=void 0!==t.duration?t.duration:250}function lo(t){t=t||{};var e=new De;return void 0!==t.zoom&&!t.zoom||e.push(new ho(t.zoomOptions)),void 0!==t.rotate&&!t.rotate||e.push(new so(t.rotateOptions)),void 0!==t.attribution&&!t.attribution||e.push(new to(t.attributionOptions)),e}function uo(t){t=t||{},this.c=void 0!==t.className?t.className:"ol-full-screen";var e=void 0!==t.label?t.label:"⤢";this.o="string"==typeof e?document.createTextNode(e):e,e=void 0!==t.labelActive?t.labelActive:"×",this.l="string"==typeof e?document.createTextNode(e):e;var o=t.tipLabel?t.tipLabel:"Toggle full-screen";(e=document.createElement("button")).className=this.c+"-"+yo(),e.setAttribute("type","button"),e.title=o,e.appendChild(this.o),me(e,"click",this.C,this),(o=document.createElement("div")).className=this.c+" ol-unselectable ol-control "+(co()?"":"ol-unsupported"),o.appendChild(e),Qe.call(this,{element:o,target:t.target}),this.D=void 0!==t.keys&&t.keys,this.j=t.source}function co(){var t=document.body;return!!(t.webkitRequestFullscreen||t.mozRequestFullScreen&&document.mozFullScreenEnabled||t.msRequestFullscreen&&document.msFullscreenEnabled||t.requestFullscreen&&document.fullscreenEnabled)}function yo(){return!!(document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||document.fullscreenElement)}function fo(t){t.requestFullscreen?t.requestFullscreen():t.msRequestFullscreen?t.msRequestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.webkitRequestFullscreen&&t.webkitRequestFullscreen()}s(Qe,Re),Qe.prototype.ka=function(){$e(this.element),Re.prototype.ka.call(this)},Qe.prototype.g=function(){return this.a},Qe.prototype.setMap=function(t){this.a&&$e(this.element);for(var e=0,o=this.v.length;e<o;++e)Se(this.v[e]);this.v.length=0,(this.a=t)&&((this.R?this.R:t.D).appendChild(this.element),this.render!==m&&this.v.push(me(t,"postrender",this.render,this)),t.render())},Qe.prototype.f=function(t){this.R="string"==typeof t?document.getElementById(t):t},s(to,Qe),(t=to.prototype).Vm=function(t){t.preventDefault(),oo(this)},t.Um=function(){return this.o},t.Xm=function(t){this.o!==t&&(this.o=t,this.element.classList.toggle("ol-uncollapsible"),!t&&this.c&&oo(this))},t.Wm=function(t){this.o&&this.c!==t&&oo(this)},t.Tm=function(){return this.c},s(so,Qe),so.prototype.D=function(t){t.preventDefault(),this.o?this.o():(t=this.a.Z())&&void 0!==t.Qa()&&(0<this.l?t.animate({rotation:0,duration:this.l,easing:ro}):t.Oe(0))},s(ho,Qe),ho.prototype.j=function(t,e){if(e.preventDefault(),e=this.a.Z()){var o=e.Pa();o&&(t=e.constrainResolution(o,t),0<this.c?(e.Ic()&&e.ed(),e.animate({resolution:t,duration:this.c,easing:ro})):e.Vc(t))}},s(uo,Qe),uo.prototype.C=function(t){t.preventDefault(),co()&&(t=this.a)&&(yo()?document.exitFullscreen?document.exitFullscreen():document.msExitFullscreen?document.msExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen():(t=this.j?"string"==typeof this.j?document.getElementById(this.j):this.j:t.jd(),this.D?t.mozRequestFullScreenWithKeys?t.mozRequestFullScreenWithKeys():t.webkitRequestFullscreen?t.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT):fo(t):fo(t)))},uo.prototype.u=function(){var t=this.element.firstElementChild,e=this.a;yo()?(t.className=this.c+"-true",_e(this.l,this.o)):(t.className=this.c+"-false",_e(this.o,this.l)),e&&e.Ad()},uo.prototype.setMap=function(t){Qe.prototype.setMap.call(this,t),t&&this.v.push(me(document,vo(),this.u,this))};var go,vo=function(){if(!go){var t=document.body;t.webkitRequestFullscreen?go="webkitfullscreenchange":t.mozRequestFullScreen?go="mozfullscreenchange":t.msRequestFullscreen?go="MSFullscreenChange":t.requestFullscreen&&(go="fullscreenchange")}return go};function bo(t){t=t||{};var e=document.createElement("DIV");e.className=void 0!==t.className?t.className:"ol-mouse-position",Qe.call(this,{element:e,render:t.render?t.render:mo,target:t.target}),me(this,Ne(xo),this.Ym,this),t.coordinateFormat&&this.kj(t.coordinateFormat),t.projection&&this.$h(t.projection),this.u=void 0!==t.undefinedHTML?t.undefinedHTML:"",this.l=e.innerHTML,this.o=this.j=this.c=null}function mo(t){(t=t.frameState)?this.c!=t.viewState.projection&&(this.c=t.viewState.projection,this.j=null):this.c=null,wo(this,this.o)}function wo(t,e){var o=t.u;if(e&&t.c){if(!t.j){var i=t.Zh();t.j=i?zt(t.c,i):Yt}(e=t.a.Wa(e))&&(t.j(e,e),o=(o=t.xh())?o(e):e.toString())}t.l&&o==t.l||(t.element.innerHTML=o,t.l=o)}s(bo,Qe),(t=bo.prototype).Ym=function(){this.j=null},t.xh=function(){return this.get(So)},t.Zh=function(){return this.get(xo)},t.Ll=function(t){this.o=this.a.xe(t),wo(this,this.o)},t.Ml=function(){wo(this,null),this.o=null},t.setMap=function(t){Qe.prototype.setMap.call(this,t),t&&(t=t.a,this.v.push(me(t,"mousemove",this.Ll,this),me(t,"mouseout",this.Ml,this)))},t.kj=function(t){this.set(So,t)},t.$h=function(t){this.set(xo,Wt(t))};var xo="projection",So="coordinateFormat";function Mo(t,e,o){Ee.call(this,t),this.map=e,this.frameState=void 0!==o?o:null}function Po(t,e,o,i,r){Mo.call(this,t,e,r),this.originalEvent=o,this.pixel=e.xe(o),this.coordinate=e.Wa(this.pixel),this.dragging=void 0!==i&&i}s(Mo,Ee),s(Po,Mo),Po.prototype.preventDefault=function(){Mo.prototype.preventDefault.call(this),this.originalEvent.preventDefault()},Po.prototype.stopPropagation=function(){Mo.prototype.stopPropagation.call(this),this.originalEvent.stopPropagation()};var Ao=["experimental-webgl","webgl","webkit-3d","moz-webgl"];function Eo(t,e){var o,i,r=Ao.length;for(i=0;i<r;++i)try{if(o=t.getContext(Ao[i],e))return o}catch(t){}return null}var To,jo,Co="undefined"!=typeof navigator?navigator.userAgent.toLowerCase():"",Lo=-1!==Co.indexOf("firefox"),Ro=-1!==Co.indexOf("safari")&&-1==Co.indexOf("chrom"),Io=-1!==Co.indexOf("webkit")&&-1==Co.indexOf("edge"),No=-1!==Co.indexOf("macintosh"),Fo=window.devicePixelRatio||1,ko=!1,Do=function(){if(!("HTMLCanvasElement"in window))return!1;try{var t=document.createElement("CANVAS").getContext("2d");return!!t&&(void 0!==t.setLineDash&&(ko=!0),!0)}catch(t){return!1}}(),Oo="DeviceOrientationEvent"in window,Uo="geolocation"in navigator,Go="ontouchstart"in window,Bo="PointerEvent"in window,Xo=!!navigator.msPointerEnabled,Vo=!1,Wo=[];if("WebGLRenderingContext"in window)try{var Zo=Eo(document.createElement("CANVAS"),{failIfMajorPerformanceCaveat:!0});Zo&&(Vo=!0,jo=Zo.getParameter(Zo.MAX_TEXTURE_SIZE),Wo=Zo.getSupportedExtensions())}catch(t){}To=Vo,o=Wo,e=jo;var Ko={Iq:"singleclick",xq:"click",yq:"dblclick",Bq:"pointerdrag",Eq:"pointermove",Aq:"pointerdown",Hq:"pointerup",Gq:"pointerover",Fq:"pointerout",Cq:"pointerenter",Dq:"pointerleave",zq:"pointercancel"};function zo(t,e,o,i,r){Po.call(this,t,e,o.b,i,r),this.b=o}function Yo(t,e){this.b=t,this.f=e}function Ho(t){Yo.call(this,t,{mousedown:this.fm,mousemove:this.gm,mouseup:this.jm,mouseover:this.im,mouseout:this.hm}),this.a=t.i,this.i=[]}function qo(t,e){t=t.i;var o=e.clientX;e=e.clientY;for(var i,r=0,n=t.length;r<n&&(i=t[r]);r++){var p=Math.abs(e-i[1]);if(Math.abs(o-i[0])<=25&&p<=25)return!0}return!1}function Jo(t){var e=si(t,t),o=e.preventDefault;return e.preventDefault=function(){t.preventDefault(),o()},e.pointerId=1,e.isPrimary=!0,e.pointerType="mouse",e}function _o(t){Yo.call(this,t,{MSPointerDown:this.om,MSPointerMove:this.pm,MSPointerUp:this.sm,MSPointerOut:this.qm,MSPointerOver:this.rm,MSPointerCancel:this.nm,MSGotPointerCapture:this.lm,MSLostPointerCapture:this.mm}),this.a=t.i,this.i=["","unavailable","touch","pen","mouse"]}function $o(t,e){var o=e;return"number"==typeof e.pointerType&&((o=si(e,e)).pointerType=t.i[e.pointerType]),o}function Qo(t){Yo.call(this,t,{pointerdown:this.ip,pointermove:this.jp,pointerup:this.mp,pointerout:this.kp,pointerover:this.lp,pointercancel:this.hp,gotpointercapture:this.ul,lostpointercapture:this.em})}function ti(t,e,o){Ee.call(this,t),this.b=e,t=o||{},this.buttons=function(t){if(t.buttons||ei)t=t.buttons;else switch(t.which){case 1:t=1;break;case 2:t=4;break;case 3:t=2;break;default:t=0}return t}(t),this.pressure=function(t,e){return t.pressure?t.pressure:e?.5:0}(t,this.buttons),this.bubbles="bubbles"in t&&t.bubbles,this.cancelable="cancelable"in t&&t.cancelable,this.view="view"in t?t.view:null,this.detail="detail"in t?t.detail:null,this.screenX="screenX"in t?t.screenX:0,this.screenY="screenY"in t?t.screenY:0,this.clientX="clientX"in t?t.clientX:0,this.clientY="clientY"in t?t.clientY:0,this.ctrlKey="ctrlKey"in t&&t.ctrlKey,this.altKey="altKey"in t&&t.altKey,this.shiftKey="shiftKey"in t&&t.shiftKey,this.metaKey="metaKey"in t&&t.metaKey,this.button="button"in t?t.button:0,this.relatedTarget="relatedTarget"in t?t.relatedTarget:null,this.pointerId="pointerId"in t?t.pointerId:0,this.width="width"in t?t.width:0,this.height="height"in t?t.height:0,this.tiltX="tiltX"in t?t.tiltX:0,this.tiltY="tiltY"in t?t.tiltY:0,this.pointerType="pointerType"in t?t.pointerType:"",this.isPrimary="isPrimary"in t&&t.isPrimary,e.preventDefault&&(this.preventDefault=function(){e.preventDefault()})}s(zo,Po),s(Ho,Yo),(t=Ho.prototype).fm=function(t){if(!qo(this,t)){1..toString()in this.a&&this.cancel(t);var e=Jo(t);this.a[1..toString()]=t,ui(this.b,"pointerdown",e,t)}},t.gm=function(t){if(!qo(this,t)){var e=Jo(t);ui(this.b,"pointermove",e,t)}},t.jm=function(t){if(!qo(this,t)){var e=this.a[1..toString()];e&&e.button===t.button&&(e=Jo(t),ui(this.b,"pointerup",e,t),delete this.a[1..toString()])}},t.im=function(t){if(!qo(this,t)){var e=Jo(t);li(this.b,e,t)}},t.hm=function(t){if(!qo(this,t)){var e=Jo(t);hi(this.b,e,t)}},t.cancel=function(t){var e=Jo(t);this.b.cancel(e,t),delete this.a[1..toString()]},s(_o,Yo),(t=_o.prototype).om=function(t){this.a[t.pointerId.toString()]=t;var e=$o(this,t);ui(this.b,"pointerdown",e,t)},t.pm=function(t){var e=$o(this,t);ui(this.b,"pointermove",e,t)},t.sm=function(t){var e=$o(this,t);ui(this.b,"pointerup",e,t),delete this.a[t.pointerId.toString()]},t.qm=function(t){var e=$o(this,t);hi(this.b,e,t)},t.rm=function(t){var e=$o(this,t);li(this.b,e,t)},t.nm=function(t){var e=$o(this,t);this.b.cancel(e,t),delete this.a[t.pointerId.toString()]},t.mm=function(t){this.b.b(new ti("lostpointercapture",t,t))},t.lm=function(t){this.b.b(new ti("gotpointercapture",t,t))},s(Qo,Yo),(t=Qo.prototype).ip=function(t){ci(this.b,t)},t.jp=function(t){ci(this.b,t)},t.mp=function(t){ci(this.b,t)},t.kp=function(t){ci(this.b,t)},t.lp=function(t){ci(this.b,t)},t.hp=function(t){ci(this.b,t)},t.em=function(t){ci(this.b,t)},t.ul=function(t){ci(this.b,t)},s(ti,Ee);var ei=!1;try{ei=1===new MouseEvent("click",{buttons:1}).buttons}catch(t){}function oi(t,e){Yo.call(this,t,{touchstart:this.rq,touchmove:this.qq,touchend:this.pq,touchcancel:this.oq}),this.a=t.i,this.j=e,this.i=void 0,this.g=0,this.c=void 0}function ii(t,e,o){function i(){e.preventDefault()}var r,n,p,s,a=Array.prototype.slice.call(e.changedTouches),h=a.length;for(r=0;r<h;++r){var l=(n=t,p=e,s=a[r],(p=si(p,s)).pointerId=s.identifier+2,p.bubbles=!0,p.cancelable=!0,p.detail=n.g,p.button=0,p.buttons=1,p.width=s.webkitRadiusX||s.radiusX||0,p.height=s.webkitRadiusY||s.radiusY||0,p.pressure=s.webkitForce||s.force||.5,p.isPrimary=n.i===s.identifier,p.pointerType="touch",p.clientX=s.clientX,p.clientY=s.clientY,p.screenX=s.screenX,p.screenY=s.screenY,p);l.preventDefault=i,o.call(t,e,l)}}function ri(t,e){var o=t.j.i;if(e=e.changedTouches[0],t.i===e.identifier){var i=[e.clientX,e.clientY];o.push(i),setTimeout(function(){p(o,i)},2500)}}function ni(t){je.call(this),this.g=t,this.i={},this.f={},this.a=[],Bo?pi(this,new Qo(this)):Xo?pi(this,new _o(this)):(pi(this,t=new Ho(this)),Go&&pi(this,new oi(this,t))),t=this.a.length;for(var e,o=0;o<t;o++)e=this.a[o],i=this,Object.keys(e.f).forEach(function(t){me(this.g,t,this.c,this)},i);var i}function pi(t,o){var e=Object.keys(o.f);e&&(e.forEach(function(t){var e=o.f[t];e&&(this.f[t]=e.bind(o))},t),t.a.push(o))}function si(t,e){for(var o,i={},r=0,n=yi.length;r<n;r++)i[o=yi[r][0]]=t[o]||e[o]||yi[r][1];return i}function ai(t,e,o){e.bubbles=!1,ui(t,"pointerleave",e,o)}function hi(t,e,o){t.out(e,o);var i=e.target,r=e.relatedTarget;i&&r&&i.contains(r)||ai(t,e,o)}function li(t,e,o){e.bubbles=!0,ui(t,"pointerover",e,o);var i=e.target,r=e.relatedTarget;i&&r&&i.contains(r)||(e.bubbles=!1,ui(t,"pointerenter",e,o))}function ui(t,e,o,i){t.b(new ti(e,i,o))}function ci(t,e){t.b(new ti(e.type,e,e))}s(oi,Yo),(t=oi.prototype).ij=function(){this.g=0,this.c=void 0},t.rq=function(t){var e=t.touches,o=Object.keys(this.a),i=o.length;if(i>=e.length){var r,n=[];for(r=0;r<i;++r){var p,s=o[r],a=this.a[s];if(!(p=1==s))t:{for(var h=e.length,l=0;l<h;l++)if((p=e[l]).identifier===s-2){p=!0;break t}p=!1}p||n.push(a.out)}for(r=0;r<n.length;++r)this.Kf(t,n[r])}e=t.changedTouches[0],(!(o=Object.keys(this.a).length)||1===o&&1..toString()in this.a)&&(this.i=e.identifier,void 0!==this.c&&clearTimeout(this.c)),ri(this,t),this.g++,ii(this,t,this.cp)},t.cp=function(t,e){this.a[e.pointerId]={target:e.target,out:e,Wi:e.target};var o=this.b;e.bubbles=!0,ui(o,"pointerover",e,t),o=this.b,e.bubbles=!1,ui(o,"pointerenter",e,t),ui(this.b,"pointerdown",e,t)},t.qq=function(t){t.preventDefault(),ii(this,t,this.km)},t.km=function(t,e){var o=this.a[e.pointerId];if(o){var i=o.out,r=o.Wi;ui(this.b,"pointermove",e,t),i&&r!==e.target&&(i.relatedTarget=e.target,e.relatedTarget=r,i.target=r,e.target?(hi(this.b,i,t),li(this.b,e,t)):(e.target=r,e.relatedTarget=null,this.Kf(t,e))),o.out=e,o.Wi=e.target}},t.pq=function(t){ri(this,t),ii(this,t,this.sq)},t.sq=function(t,e){ui(this.b,"pointerup",e,t),this.b.out(e,t),ai(this.b,e,t),delete this.a[e.pointerId],e.isPrimary&&(this.i=void 0,this.c=setTimeout(this.ij.bind(this),200))},t.oq=function(t){ii(this,t,this.Kf)},t.Kf=function(t,e){this.b.cancel(e,t),this.b.out(e,t),ai(this.b,e,t),delete this.a[e.pointerId],e.isPrimary&&(this.i=void 0,this.c=setTimeout(this.ij.bind(this),200))},s(ni,je),ni.prototype.c=function(t){var e=this.f[t.type];e&&e(t)},ni.prototype.out=function(t,e){t.bubbles=!0,ui(this,"pointerout",t,e)},ni.prototype.cancel=function(t,e){ui(this,"pointercancel",t,e)};var yi=[["bubbles",!(ni.prototype.ka=function(){for(var t,e=this.a.length,o=0;o<e;o++)t=this.a[o],i=this,Object.keys(t.f).forEach(function(t){xe(this.g,t,this.c,this)},i);var i;je.prototype.ka.call(this)})],["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 fi(t,e){je.call(this),this.i=t,this.j=0,this.o=!1,this.f=[],this.D=e?e*Fo:Fo,this.c=null,t=this.i.a,this.S=0,this.u={},this.g=new ni(t),this.a=null,this.l=me(this.g,"pointerdown",this.Ol,this),this.v=me(this.g,"pointermove",this.Lp,this)}function gi(t,e){"pointerup"==e.type||"pointercancel"==e.type?delete t.u[e.pointerId]:"pointerdown"==e.type&&(t.u[e.pointerId]=!0),t.S=Object.keys(t.u).length}function di(t,e){return Math.abs(e.clientX-t.c.clientX)>t.D||Math.abs(e.clientY-t.c.clientY)>t.D}function vi(t,e){this.l=t,this.c=e,this.b=[],this.i=[],this.a={}}function bi(t){var e=t.b,o=t.i,i=e[0];return 1==e.length?(e.length=0,o.length=0):(e[0]=e.pop(),o[0]=o.pop(),mi(t,0)),e=t.c(i),delete t.a[e],i}function mi(t,e){for(var o=t.b,i=t.i,r=o.length,n=o[e],p=i[e],s=e;e<r>>1;){var a=2*e+1,h=2*e+2;a=h<r&&i[h]<i[a]?h:a;o[e]=o[a],i[e]=i[a],e=a}o[e]=n,i[e]=p,wi(t,s,e)}function wi(t,e,o){var i=t.b;t=t.i;for(var r=i[o],n=t[o];e<o;){var p=o-1>>1;if(!(t[p]>n))break;i[o]=i[p],t[o]=t[p],o=p}i[o]=r,t[o]=n}function xi(t){var e,o=t.l,i=t.b,r=t.i,n=0,p=i.length;for(e=0;e<p;++e){var s=i[e],a=o(s);1/0==a?delete t.a[t.c(s)]:(r[n]=a,i[n++]=s)}for(i.length=n,r.length=n,o=(t.b.length>>1)-1;0<=o;o--)mi(t,o)}function Si(e,t){vi.call(this,function(t){return e.apply(null,t)},function(t){return t[0].bb()}),this.v=t,this.j=0,this.g={}}function Mi(t,e,o){for(var i,r,n=0;t.j<e&&n<o&&0<t.b.length;)r=(i=bi(t)[0]).bb(),0!==i.getState()||r in t.g||(t.g[r]=!0,++t.j,++n,i.load())}function Pi(t){if(void 0!==t)return 0}function Ai(t,e){if(void 0!==t)return t+e}function Ei(t,e){return 2<(e=-1===(e=(t=void 0!==e?t.toFixed(e):""+t).indexOf("."))?t.length:e)?t:Array(3-e).join("0")+t}function Ti(t){t=(""+t).split(".");for(var e=["1","3"],o=0;o<Math.max(t.length,e.length);o++){var i=parseInt(t[o]||"0",10),r=parseInt(e[o]||"0",10);if(r<i)return 1;if(i<r)return-1}return 0}function ji(t,e){return t[0]+=e[0],t[1]+=e[1],t}function Ci(t,e){var o=t[0];t=t[1];var i=e[0],r=e[1];e=i[0];i=i[1];var n=r[0],p=n-e,s=(r=r[1])-i;return o=(o=p||s?(p*(o-e)+s*(t-i))/(p*p+s*s||0):0)<=0?(t=e,i):1<=o?(t=n,r):(t=e+o*p,i+o*s),[t,o]}function Li(t,e,o){e=L(e+180,360)-180;var i=Math.abs(3600*e);o=o||0;var r=Math.pow(10,o),n=Math.floor(i/3600),p=Math.floor((i-3600*n)/60);return 60<=(i=Math.ceil((i-3600*n-60*p)*r)/r)&&(i=0,p+=1),60<=p&&(p=0,n+=1),n+"° "+Ei(p)+"′ "+Ei(i,o)+"″"+(e?" "+t.charAt(e<0?1:0):"")}function Ri(t,e,o){return t?e.replace("{x}",t[0].toFixed(o)).replace("{y}",t[1].toFixed(o)):""}function Ii(t,e){for(var o=!0,i=t.length-1;0<=i;--i)if(t[i]!=e[i]){o=!1;break}return o}function Ni(t,e){var o=Math.cos(e);e=Math.sin(e);var i=t[1]*o+t[0]*e;return t[0]=t[0]*o-t[1]*e,t[1]=i,t}function Fi(t,e){t[0]*=e,t[1]*=e}function ki(t,e){var o=t[0]-e[0];return o*o+(t=t[1]-e[1])*t}function Di(t,e){return Math.sqrt(ki(t,e))}function Oi(t,e){return ki(t,Ci(t,e))}function Ui(t,e){return Ri(t,"{x}, {y}",e)}function Gi(){return!0}function Bi(){return!1}function Xi(){Re.call(this),this.l=[1/0,1/0,-1/0,-1/0],this.v=-1,this.f={},this.o=this.g=0}function Vi(t,e,o,i,r,n){for(var p=n||[],s=0;e<o;e+=i){var a=t[e],h=t[e+1];p[s++]=r[0]*a+r[2]*h+r[4],p[s++]=r[1]*a+r[3]*h+r[5]}return n&&p.length!=s&&(p.length=s),p}function Wi(t,e,o,i,r,n,p){for(var s,a=p||[],h=0;e<o;e+=i)for(a[h++]=t[e]+r,a[h++]=t[e+1]+n,s=e+2;s<e+i;++s)a[h++]=t[s];return p&&a.length!=h&&(a.length=h),a}function Zi(){Xi.call(this),this.ja="XY",this.a=2,this.A=null}function Ki(t){var e;return"XY"==t?e=2:"XYZ"==t||"XYM"==t?e=3:"XYZM"==t&&(e=4),e}function zi(t,e,o){t.a=Ki(e),t.ja=e,t.A=o}function Yi(t,e,o,i){if(e)o=Ki(e);else{for(e=0;e<i;++e){if(!o.length)return t.ja="XY",void(t.a=2);o=o[0]}var r;2==(o=o.length)?r="XY":3==o?r="XYZ":4==o&&(r="XYZM"),e=r}t.ja=e,t.a=o}function Hi(t,e,o,i){for(var r=0,n=t[o-i],p=t[o-i+1];e<o;e+=i){var s=t[e],a=t[e+1];r=r+(p*s-n*a),n=s,p=a}return r/2}function qi(t,e,o,i){var r,n=0,p=0;for(r=o.length;p<r;++p){var s=o[p];n=n+Hi(t,e,s,i);e=s}return n}function Ji(t,e,o,i,r,n,p){var s=t[e],a=t[e+1],h=t[o]-s,l=t[o+1]-a;if(h||l)if(1<(n=((r-s)*h+(n-a)*l)/(h*h+l*l)))e=o;else if(0<n){for(r=0;r<i;++r)p[r]=M(t[e+r],t[o+r],n);return void(p.length=i)}for(r=0;r<i;++r)p[r]=t[e+r];p.length=i}function _i(t,e,o,i,r){var n=t[e],p=t[e+1];for(e+=i;e<o;e+=i){var s=t[e],a=t[e+1];r<(n=g(n,p,s,a))&&(r=n),n=s,p=a}return r}function $i(t,e,o,i,r){var n,p=0;for(n=o.length;p<n;++p){var s=o[p];r=_i(t,e,s,i,r),e=s}return r}function Qi(t,e,o,i,r,n,p,s,a,h,l){if(e==o)return h;if(!r){var u=g(p,s,t[e],t[e+1]);if(u<h){for(l=0;l<i;++l)a[l]=t[e+l];return a.length=i,u}return h}for(var c=l||[NaN,NaN],y=e+i;y<o;)if(Ji(t,y-i,y,i,p,s,c),(u=g(p,s,c[0],c[1]))<h){for(h=u,l=0;l<i;++l)a[l]=c[l];y+=a.length=i}else y+=i*Math.max((Math.sqrt(u)-Math.sqrt(h))/r|0,1);if(n&&(Ji(t,o-i,e,i,p,s,c),(u=g(p,s,c[0],c[1]))<h)){for(h=u,l=0;l<i;++l)a[l]=c[l];a.length=i}return h}function tr(t,e,o,i,r,n,p,s,a,h,l){var u;l=l||[NaN,NaN];var c=0;for(u=o.length;c<u;++c){var y=o[c];h=Qi(t,e,y,i,r,n,p,s,a,h,l),e=y}return h}function er(t,e){var o,i=0,r=0;for(o=e.length;r<o;++r)t[i++]=e[r];return i}function or(t,e,o,i){var r,n=0;for(r=o.length;n<r;++n){var p,s=o[n];for(p=0;p<i;++p)t[e++]=s[p]}return e}function ir(t,e,o,i,r){r=r||[];var n,p=0,s=0;for(n=o.length;s<n;++s)e=or(t,e,o[s],i),r[p++]=e;return r.length=p,r}function rr(t,e,o,i,r){r=void 0!==r?r:[];for(var n=0;e<o;e+=i)r[n++]=t.slice(e,e+i);return r.length=n,r}function nr(t,e,o,i,r){r=void 0!==r?r:[];var n,p=0,s=0;for(n=o.length;s<n;++s){var a=o[s];r[p++]=rr(t,e,a,i,r[p]),e=a}return r.length=p,r}function pr(t,e,o,i,r,n,p){var s=(o-e)/i;if(s<3){for(;e<o;e+=i)n[p++]=t[e],n[p++]=t[e+1];return p}var a=Array(s);a[0]=1,a[s-1]=1,o=[e,o-i];for(var h,l=0;0<o.length;){var u=o.pop(),c=o.pop(),y=0,f=t[c],g=t[c+1],d=t[u],v=t[u+1];for(h=c+i;h<u;h+=i){var b=x(t[h],t[h+1],f,g,d,v);y<b&&(l=h,y=b)}r<y&&(a[(l-e)/i]=1,c+i<l&&o.push(c,l),l+i<u&&o.push(l,u))}for(h=0;h<s;++h)a[h]&&(n[p++]=t[e+h*i],n[p++]=t[e+h*i+1]);return p}function sr(t,e,o,i,r,n,p,s){var a,h=0;for(a=o.length;h<a;++h){var l=o[h];t:{var u=t,c=l,y=i,f=r,g=n,d=p;if(e!=c){var v=f*Math.round(u[e]/f),b=f*Math.round(u[e+1]/f);e+=y,g[d++]=v,g[d++]=b;do{var m=f*Math.round(u[e]/f);if(p=f*Math.round(u[e+1]/f),(e+=y)==c){g[d++]=m,g[d++]=p,p=d;break t}}while(m==v&&p==b);for(;e<c;){var w=f*Math.round(u[e]/f),x=f*Math.round(u[e+1]/f);if(e+=y,w!=m||x!=p){var S=m-v,M=p-b,P=w-v,A=x-b;S*A==M*P&&(S<0&&P<S||S==P||0<S&&S<P)&&(M<0&&A<M||M==A||0<M&&M<A)||(v=g[d++]=m,b=g[d++]=p),m=w,p=x}}g[d++]=m,g[d++]=p}p=d}s.push(p),e=l}return p}function ar(t,e){Zi.call(this),this.c=this.j=-1,this.ma(t,e)}function hr(t,e,o){zi(t,e,o),t.s()}function lr(t,e){Zi.call(this),this.ma(t,e)}function ur(e,o,i,r,t){return!_(t,function(t){return!cr(e,o,i,r,t[0],t[1])})}function cr(t,e,o,i,r,n){for(var p=0,s=t[o-i],a=t[o-i+1];e<o;e+=i){var h=t[e],l=t[e+1];a<=n?n<l&&0<(h-s)*(n-a)-(r-s)*(l-a)&&p++:l<=n&&(h-s)*(n-a)-(r-s)*(l-a)<0&&p--,s=h,a=l}return!!p}function yr(t,e,o,i,r,n){if(!o.length||!cr(t,e,o[0],i,r,n))return!1;var p;for(e=1,p=o.length;e<p;++e)if(cr(t,o[e-1],o[e],i,r,n))return!1;return!0}function fr(t,e,o,i,r,n,p){var s,a=r[n+1],h=[],l=o[0],u=t[l-i],c=t[l-i+1];for(s=e;s<l;s+=i){var y=t[s],f=t[s+1];(a<=c&&f<=a||c<=a&&a<=f)&&(u=(a-c)/(f-c)*(y-u)+u,h.push(u)),u=y,c=f}for(l=NaN,c=-1/0,h.sort(N),u=h[0],s=1,f=h.length;s<f;++s){y=h[s];var g=Math.abs(y-u);c<g&&(yr(t,e,o,i,u=(u+y)/2,a)&&(l=u,c=g)),u=y}return isNaN(l)&&(l=r[n]),p?(p.push(l,a),p):[l,a]}function gr(t,e,o,i,r,n){for(var p,s=[t[e],t[e+1]],a=[];e+i<o;e+=i){if(a[0]=t[e+i],a[1]=t[e+i+1],p=r.call(n,s,a))return p;s[0]=a[0],s[1]=a[1]}return!1}function dr(t,e,o,i,l){var r=J([1/0,1/0,-1/0,-1/0],t,e,o,i);return!!at(l,r)&&(!!(O(l,r)||r[0]>=l[0]&&r[2]<=l[2]||r[1]>=l[1]&&r[3]<=l[3])||gr(t,e,o,i,function(t,e){var o=!1,i=X(l,t),r=X(l,e);if(1===i||1===r)o=!0;else{var n=l[0],p=l[1],s=l[2],a=l[3],h=e[0];t=((e=e[1])-t[1])/(h-t[0]),2&r&&!(2&i)&&(o=n<=(o=h-(e-a)/t)&&o<=s),o||!(4&r)||4&i||(o=p<=(o=e-(h-s)*t)&&o<=a),o||!(8&r)||8&i||(o=n<=(o=h-(e-p)/t)&&o<=s),o||!(16&r)||16&i||(o=p<=(o=e-(h-n)*t)&&o<=a)}return o}))}function vr(t,e,o,i,r){var n=o[0];if(!(dr(t,e,n,i,r)||cr(t,e,n,i,r[0],r[1])||cr(t,e,n,i,r[0],r[3])||cr(t,e,n,i,r[2],r[1])||cr(t,e,n,i,r[2],r[3])))return!1;if(1===o.length)return!0;for(e=1,n=o.length;e<n;++e)if(ur(t,o[e-1],o[e],i,r))return!1;return!0}function br(t,e,o,i){for(var r=0,n=t[o-i],p=t[o-i+1];e<o;e+=i){var s=t[e],a=t[e+1];r=r+(s-n)*(a+p),n=s,p=a}return 0<r}function mr(t,e,o,i){var r,n=0;i=void 0!==i&&i;var p=0;for(r=e.length;p<r;++p){var s=e[p];n=br(t,n,s,o);if(p){if(i&&!n||!i&&n)return!1}else if(i&&n||!i&&!n)return!1;n=s}return!0}function wr(t,e,o,i,r){var n;r=void 0!==r&&r;var p=0;for(n=o.length;p<n;++p){var s=o[p],a=br(t,e,s,i);if(p?r&&!a||!r&&a:r&&a||!r&&!a){a=t;for(var h=s,l=i;e<h-l;){var u;for(u=0;u<l;++u){var c=a[e+u];a[e+u]=a[h-l+u],a[h-l+u]=c}e+=l,h-=l}}e=s}return e}function xr(t,e,o,i){var r,n=0,p=0;for(r=e.length;p<r;++p)n=wr(t,n,e[p],o,i);return n}function Sr(t,e){Zi.call(this),this.c=[],this.u=-1,this.D=null,this.I=this.C=this.B=-1,this.j=null,this.ma(t,e)}function Mr(t){if(t.u!=t.i){var e=et(t.G());t.D=fr(t.ec(),0,t.c,t.a,e,0),t.u=t.i}return t.D}function Pr(t,e,o,i){var r,n=i||32;for(i=[],r=0;r<n;++r)c(i,t.offset(e,o,2*Math.PI*r/n));return i.push(i[0],i[1]),(t=new Sr(null)).ba("XY",i,[i.length]),t}function Ar(t){var e=t[0],o=t[1],i=t[2];return e=[e,o,e,t=t[3],i,t,i,o,e,o],(o=new Sr(null)).ba("XY",e,[e.length]),o}function Er(t,e,o){for(var i=e||32,r=t.qa(),n=new Sr(null,e=t.ja),p=(i=r*(i+1),r=Array(i),0);p<i;p++)r[p]=0;return n.ba(e,r,[r.length]),Tr(n,t.wa(),t.pd(),o),n}function Tr(t,e,o,i){var r=t.ga(),n=t.ja,p=t.qa(),s=t.Bb(),a=r.length/p-1;i=i||0;for(var h,l,u=0;u<=a;++u)l=u*p,h=i+2*L(u,a)*Math.PI/a,r[l]=e[0]+o*Math.cos(h),r[1+l]=e[1]+o*Math.sin(h);t.ba(n,r,s)}function jr(t){Re.call(this),t=ct({},t),this.o=[0,0],this.c=[],this.wf=this.wf.bind(this),this.v=Bt(t.projection),Cr(this,t)}function Cr(t,e){var o={};o.center=void 0!==e.center?e.center:null;var i=void 0!==e.minZoom?e.minZoom:0,r=void 0!==e.maxZoom?e.maxZoom:28,n=void 0!==e.zoomFactor?e.zoomFactor:2;if(void 0!==e.resolutions){var p=(r=e.resolutions)[0],s=r[r.length-1];r=function(i){return function(t,e,o){if(void 0!==t)return(t=w((t=l(i,t,o))+e,0,i.length-1))!=(e=Math.floor(t))&&e<i.length-1?i[e]/Math.pow(i[e]/i[e+1],t-e):i[e]}}(r)}else{var a=((s=(p=Bt(e.projection)).G())?Math.max(st(s),it(s)):360*bt.degrees/p.sc())/256/Math.pow(2,0),h=a/Math.pow(2,28);void 0!