@elaraai/e3-ui-cli 1.0.103 → 1.0.104
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as e,c as t,d as n,f as r,g as i,h as a,i as o,l as s,m as c,n as l,o as u,p as d,r as f,s as p,t as m,u as h}from"./index-CIZ3E4P0.js";var g=i(a(),1),_=d(),v=l(m(((e,t,n)=>{(function(n,r){typeof e==`object`&&t!==void 0?r(e):typeof define==`function`&&define.amd?define([`exports`],r):(n=typeof globalThis<`u`?globalThis:n||self,r(n.leaflet={}))})(n,(function(e){var t=`1.9.4`;function n(e){for(var t,n=1,r=arguments.length,i;n<r;n++)for(t in i=arguments[n],i)e[t]=i[t];return e}var r=Object.create||(function(){function e(){}return function(t){return e.prototype=t,new e}})();function i(e,t){var n=Array.prototype.slice;if(e.bind)return e.bind.apply(e,n.call(arguments,1));var r=n.call(arguments,2);return function(){return e.apply(t,r.length?r.concat(n.call(arguments)):arguments)}}var a=0;function o(e){return`_leaflet_id`in e||(e._leaflet_id=++a),e._leaflet_id}function s(e,t,n){var r,i,a,o=function(){r=!1,i&&=(a.apply(n,i),!1)};return a=function(){r?i=arguments:(e.apply(n,arguments),setTimeout(o,t),r=!0)},a}function c(e,t,n){var r=t[1],i=t[0],a=r-i;return e===r&&n?e:((e-i)%a+a)%a+i}function l(){return!1}function u(e,t){if(t===!1)return e;var n=10**(t===void 0?6:t);return Math.round(e*n)/n}function d(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,``)}function f(e){return d(e).split(/\s+/)}function p(e,t){for(var n in Object.prototype.hasOwnProperty.call(e,`options`)||(e.options=e.options?r(e.options):{}),t)e.options[n]=t[n];return e.options}function m(e,t,n){var r=[];for(var i in e)r.push(encodeURIComponent(n?i.toUpperCase():i)+`=`+encodeURIComponent(e[i]));return(!t||t.indexOf(`?`)===-1?`?`:`&`)+r.join(`&`)}var h=/\{ *([\w_ -]+) *\}/g;function g(e,t){return e.replace(h,function(e,n){var r=t[n];if(r===void 0)throw Error(`No value provided for variable `+e);return typeof r==`function`&&(r=r(t)),r})}var _=Array.isArray||function(e){return Object.prototype.toString.call(e)===`[object Array]`};function v(e,t){for(var n=0;n<e.length;n++)if(e[n]===t)return n;return-1}var y=`data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=`;function b(e){return window[`webkit`+e]||window[`moz`+e]||window[`ms`+e]}var x=0;function S(e){var t=+new Date,n=Math.max(0,16-(t-x));return x=t+n,window.setTimeout(e,n)}var C=window.requestAnimationFrame||b(`RequestAnimationFrame`)||S,w=window.cancelAnimationFrame||b(`CancelAnimationFrame`)||b(`CancelRequestAnimationFrame`)||function(e){window.clearTimeout(e)};function T(e,t,n){if(n&&C===S)e.call(t);else return C.call(window,i(e,t))}function E(e){e&&w.call(window,e)}var D={__proto__:null,extend:n,create:r,bind:i,get lastId(){return a},stamp:o,throttle:s,wrapNum:c,falseFn:l,formatNum:u,trim:d,splitWords:f,setOptions:p,getParamString:m,template:g,isArray:_,indexOf:v,emptyImageUrl:y,requestFn:C,cancelFn:w,requestAnimFrame:T,cancelAnimFrame:E};function O(){}O.extend=function(e){var t=function(){p(this),this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()},i=t.__super__=this.prototype,a=r(i);for(var o in a.constructor=t,t.prototype=a,this)Object.prototype.hasOwnProperty.call(this,o)&&o!==`prototype`&&o!==`__super__`&&(t[o]=this[o]);return e.statics&&n(t,e.statics),e.includes&&(k(e.includes),n.apply(null,[a].concat(e.includes))),n(a,e),delete a.statics,delete a.includes,a.options&&(a.options=i.options?r(i.options):{},n(a.options,e.options)),a._initHooks=[],a.callInitHooks=function(){if(!this._initHooksCalled){i.callInitHooks&&i.callInitHooks.call(this),this._initHooksCalled=!0;for(var e=0,t=a._initHooks.length;e<t;e++)a._initHooks[e].call(this)}},t},O.include=function(e){var t=this.prototype.options;return n(this.prototype,e),e.options&&(this.prototype.options=t,this.mergeOptions(e.options)),this},O.mergeOptions=function(e){return n(this.prototype.options,e),this},O.addInitHook=function(e){var t=Array.prototype.slice.call(arguments,1),n=typeof e==`function`?e:function(){this[e].apply(this,t)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(n),this};function k(e){if(typeof L<`u`&&L&&L.Mixin){e=_(e)?e:[e];for(var t=0;t<e.length;t++)e[t]===L.Mixin.Events&&console.warn(`Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.`,Error().stack)}}var A={on:function(e,t,n){if(typeof e==`object`)for(var r in e)this._on(r,e[r],t);else{e=f(e);for(var i=0,a=e.length;i<a;i++)this._on(e[i],t,n)}return this},off:function(e,t,n){if(!arguments.length)delete this._events;else if(typeof e==`object`)for(var r in e)this._off(r,e[r],t);else{e=f(e);for(var i=arguments.length===1,a=0,o=e.length;a<o;a++)i?this._off(e[a]):this._off(e[a],t,n)}return this},_on:function(e,t,n,r){if(typeof t!=`function`)console.warn(`wrong listener type: `+typeof t);else if(this._listens(e,t,n)===!1){n===this&&(n=void 0);var i={fn:t,ctx:n};r&&(i.once=!0),this._events=this._events||{},this._events[e]=this._events[e]||[],this._events[e].push(i)}},_off:function(e,t,n){var r,i,a;if(this._events&&(r=this._events[e],r)){if(arguments.length===1){if(this._firingCount)for(i=0,a=r.length;i<a;i++)r[i].fn=l;delete this._events[e]}else if(typeof t!=`function`)console.warn(`wrong listener type: `+typeof t);else{var o=this._listens(e,t,n);if(o!==!1){var s=r[o];this._firingCount&&(s.fn=l,this._events[e]=r=r.slice()),r.splice(o,1)}}}},fire:function(e,t,r){if(!this.listens(e,r))return this;var i=n({},t,{type:e,target:this,sourceTarget:t&&t.sourceTarget||this});if(this._events){var a=this._events[e];if(a){this._firingCount=this._firingCount+1||1;for(var o=0,s=a.length;o<s;o++){var c=a[o],l=c.fn;c.once&&this.off(e,l,c.ctx),l.call(c.ctx||this,i)}this._firingCount--}}return r&&this._propagateEvent(i),this},listens:function(e,t,n,r){typeof e!=`string`&&console.warn(`"string" type argument expected`);var i=t;typeof t!=`function`&&(r=!!t,i=void 0,n=void 0);var a=this._events&&this._events[e];if(a&&a.length&&this._listens(e,i,n)!==!1)return!0;if(r){for(var o in this._eventParents)if(this._eventParents[o].listens(e,t,n,r))return!0}return!1},_listens:function(e,t,n){if(!this._events)return!1;var r=this._events[e]||[];if(!t)return!!r.length;n===this&&(n=void 0);for(var i=0,a=r.length;i<a;i++)if(r[i].fn===t&&r[i].ctx===n)return i;return!1},once:function(e,t,n){if(typeof e==`object`)for(var r in e)this._on(r,e[r],t,!0);else{e=f(e);for(var i=0,a=e.length;i<a;i++)this._on(e[i],t,n,!0)}return this},addEventParent:function(e){return this._eventParents=this._eventParents||{},this._eventParents[o(e)]=e,this},removeEventParent:function(e){return this._eventParents&&delete this._eventParents[o(e)],this},_propagateEvent:function(e){for(var t in this._eventParents)this._eventParents[t].fire(e.type,n({layer:e.target,propagatedFrom:e.target},e),!0)}};A.addEventListener=A.on,A.removeEventListener=A.clearAllEventListeners=A.off,A.addOneTimeEventListener=A.once,A.fireEvent=A.fire,A.hasEventListeners=A.listens;var j=O.extend(A);function M(e,t,n){this.x=n?Math.round(e):e,this.y=n?Math.round(t):t}var N=Math.trunc||function(e){return e>0?Math.floor(e):Math.ceil(e)};M.prototype={clone:function(){return new M(this.x,this.y)},add:function(e){return this.clone()._add(P(e))},_add:function(e){return this.x+=e.x,this.y+=e.y,this},subtract:function(e){return this.clone()._subtract(P(e))},_subtract:function(e){return this.x-=e.x,this.y-=e.y,this},divideBy:function(e){return this.clone()._divideBy(e)},_divideBy:function(e){return this.x/=e,this.y/=e,this},multiplyBy:function(e){return this.clone()._multiplyBy(e)},_multiplyBy:function(e){return this.x*=e,this.y*=e,this},scaleBy:function(e){return new M(this.x*e.x,this.y*e.y)},unscaleBy:function(e){return new M(this.x/e.x,this.y/e.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=N(this.x),this.y=N(this.y),this},distanceTo:function(e){e=P(e);var t=e.x-this.x,n=e.y-this.y;return Math.sqrt(t*t+n*n)},equals:function(e){return e=P(e),e.x===this.x&&e.y===this.y},contains:function(e){return e=P(e),Math.abs(e.x)<=Math.abs(this.x)&&Math.abs(e.y)<=Math.abs(this.y)},toString:function(){return`Point(`+u(this.x)+`, `+u(this.y)+`)`}};function P(e,t,n){return e instanceof M?e:_(e)?new M(e[0],e[1]):e==null?e:typeof e==`object`&&`x`in e&&`y`in e?new M(e.x,e.y):new M(e,t,n)}function F(e,t){if(e)for(var n=t?[e,t]:e,r=0,i=n.length;r<i;r++)this.extend(n[r])}F.prototype={extend:function(e){var t,n;if(!e)return this;if(e instanceof M||typeof e[0]==`number`||`x`in e)t=n=P(e);else if(e=I(e),t=e.min,n=e.max,!t||!n)return this;return!this.min&&!this.max?(this.min=t.clone(),this.max=n.clone()):(this.min.x=Math.min(t.x,this.min.x),this.max.x=Math.max(n.x,this.max.x),this.min.y=Math.min(t.y,this.min.y),this.max.y=Math.max(n.y,this.max.y)),this},getCenter:function(e){return P((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,e)},getBottomLeft:function(){return P(this.min.x,this.max.y)},getTopRight:function(){return P(this.max.x,this.min.y)},getTopLeft:function(){return this.min},getBottomRight:function(){return this.max},getSize:function(){return this.max.subtract(this.min)},contains:function(e){var t,n;return e=typeof e[0]==`number`||e instanceof M?P(e):I(e),e instanceof F?(t=e.min,n=e.max):t=n=e,t.x>=this.min.x&&n.x<=this.max.x&&t.y>=this.min.y&&n.y<=this.max.y},intersects:function(e){e=I(e);var t=this.min,n=this.max,r=e.min,i=e.max,a=i.x>=t.x&&r.x<=n.x,o=i.y>=t.y&&r.y<=n.y;return a&&o},overlaps:function(e){e=I(e);var t=this.min,n=this.max,r=e.min,i=e.max,a=i.x>t.x&&r.x<n.x,o=i.y>t.y&&r.y<n.y;return a&&o},isValid:function(){return!!(this.min&&this.max)},pad:function(e){var t=this.min,n=this.max,r=Math.abs(t.x-n.x)*e,i=Math.abs(t.y-n.y)*e;return I(P(t.x-r,t.y-i),P(n.x+r,n.y+i))},equals:function(e){return e?(e=I(e),this.min.equals(e.getTopLeft())&&this.max.equals(e.getBottomRight())):!1}};function I(e,t){return!e||e instanceof F?e:new F(e,t)}function R(e,t){if(e)for(var n=t?[e,t]:e,r=0,i=n.length;r<i;r++)this.extend(n[r])}R.prototype={extend:function(e){var t=this._southWest,n=this._northEast,r,i;if(e instanceof z)r=e,i=e;else if(e instanceof R){if(r=e._southWest,i=e._northEast,!r||!i)return this}else return e?this.extend(B(e)||ee(e)):this;return!t&&!n?(this._southWest=new z(r.lat,r.lng),this._northEast=new z(i.lat,i.lng)):(t.lat=Math.min(r.lat,t.lat),t.lng=Math.min(r.lng,t.lng),n.lat=Math.max(i.lat,n.lat),n.lng=Math.max(i.lng,n.lng)),this},pad:function(e){var t=this._southWest,n=this._northEast,r=Math.abs(t.lat-n.lat)*e,i=Math.abs(t.lng-n.lng)*e;return new R(new z(t.lat-r,t.lng-i),new z(n.lat+r,n.lng+i))},getCenter:function(){return new z((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},getNorthWest:function(){return new z(this.getNorth(),this.getWest())},getSouthEast:function(){return new z(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat},getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(e){e=typeof e[0]==`number`||e instanceof z||`lat`in e?B(e):ee(e);var t=this._southWest,n=this._northEast,r,i;return e instanceof R?(r=e.getSouthWest(),i=e.getNorthEast()):r=i=e,r.lat>=t.lat&&i.lat<=n.lat&&r.lng>=t.lng&&i.lng<=n.lng},intersects:function(e){e=ee(e);var t=this._southWest,n=this._northEast,r=e.getSouthWest(),i=e.getNorthEast(),a=i.lat>=t.lat&&r.lat<=n.lat,o=i.lng>=t.lng&&r.lng<=n.lng;return a&&o},overlaps:function(e){e=ee(e);var t=this._southWest,n=this._northEast,r=e.getSouthWest(),i=e.getNorthEast(),a=i.lat>t.lat&&r.lat<n.lat,o=i.lng>t.lng&&r.lng<n.lng;return a&&o},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(`,`)},equals:function(e,t){return e?(e=ee(e),this._southWest.equals(e.getSouthWest(),t)&&this._northEast.equals(e.getNorthEast(),t)):!1},isValid:function(){return!!(this._southWest&&this._northEast)}};function ee(e,t){return e instanceof R?e:new R(e,t)}function z(e,t,n){if(isNaN(e)||isNaN(t))throw Error(`Invalid LatLng object: (`+e+`, `+t+`)`);this.lat=+e,this.lng=+t,n!==void 0&&(this.alt=+n)}z.prototype={equals:function(e,t){return e?(e=B(e),Math.max(Math.abs(this.lat-e.lat),Math.abs(this.lng-e.lng))<=(t===void 0?1e-9:t)):!1},toString:function(e){return`LatLng(`+u(this.lat,e)+`, `+u(this.lng,e)+`)`},distanceTo:function(e){return ne.distance(this,B(e))},wrap:function(){return ne.wrapLatLng(this)},toBounds:function(e){var t=180*e/40075017,n=t/Math.cos(Math.PI/180*this.lat);return ee([this.lat-t,this.lng-n],[this.lat+t,this.lng+n])},clone:function(){return new z(this.lat,this.lng,this.alt)}};function B(e,t,n){return e instanceof z?e:_(e)&&typeof e[0]!=`object`?e.length===3?new z(e[0],e[1],e[2]):e.length===2?new z(e[0],e[1]):null:e==null?e:typeof e==`object`&&`lat`in e?new z(e.lat,`lng`in e?e.lng:e.lon,e.alt):t===void 0?null:new z(e,t,n)}var te={latLngToPoint:function(e,t){var n=this.projection.project(e),r=this.scale(t);return this.transformation._transform(n,r)},pointToLatLng:function(e,t){var n=this.scale(t),r=this.transformation.untransform(e,n);return this.projection.unproject(r)},project:function(e){return this.projection.project(e)},unproject:function(e){return this.projection.unproject(e)},scale:function(e){return 256*2**e},zoom:function(e){return Math.log(e/256)/Math.LN2},getProjectedBounds:function(e){if(this.infinite)return null;var t=this.projection.bounds,n=this.scale(e);return new F(this.transformation.transform(t.min,n),this.transformation.transform(t.max,n))},infinite:!1,wrapLatLng:function(e){var t=this.wrapLng?c(e.lng,this.wrapLng,!0):e.lng,n=this.wrapLat?c(e.lat,this.wrapLat,!0):e.lat,r=e.alt;return new z(n,t,r)},wrapLatLngBounds:function(e){var t=e.getCenter(),n=this.wrapLatLng(t),r=t.lat-n.lat,i=t.lng-n.lng;if(r===0&&i===0)return e;var a=e.getSouthWest(),o=e.getNorthEast();return new R(new z(a.lat-r,a.lng-i),new z(o.lat-r,o.lng-i))}},ne=n({},te,{wrapLng:[-180,180],R:6371e3,distance:function(e,t){var n=Math.PI/180,r=e.lat*n,i=t.lat*n,a=Math.sin((t.lat-e.lat)*n/2),o=Math.sin((t.lng-e.lng)*n/2),s=a*a+Math.cos(r)*Math.cos(i)*o*o,c=2*Math.atan2(Math.sqrt(s),Math.sqrt(1-s));return this.R*c}}),re=6378137,ie={R:re,MAX_LATITUDE:85.0511287798,project:function(e){var t=Math.PI/180,n=this.MAX_LATITUDE,r=Math.max(Math.min(n,e.lat),-n),i=Math.sin(r*t);return new M(this.R*e.lng*t,this.R*Math.log((1+i)/(1-i))/2)},unproject:function(e){var t=180/Math.PI;return new z((2*Math.atan(Math.exp(e.y/this.R))-Math.PI/2)*t,e.x*t/this.R)},bounds:(function(){var e=re*Math.PI;return new F([-e,-e],[e,e])})()};function ae(e,t,n,r){_(e)?(this._a=e[0],this._b=e[1],this._c=e[2],this._d=e[3]):(this._a=e,this._b=t,this._c=n,this._d=r)}ae.prototype={transform:function(e,t){return this._transform(e.clone(),t)},_transform:function(e,t){return t||=1,e.x=t*(this._a*e.x+this._b),e.y=t*(this._c*e.y+this._d),e},untransform:function(e,t){return t||=1,new M((e.x/t-this._b)/this._a,(e.y/t-this._d)/this._c)}};function oe(e,t,n,r){return new ae(e,t,n,r)}var se=n({},ne,{code:`EPSG:3857`,projection:ie,transformation:function(){var e=.5/(Math.PI*ie.R);return oe(e,.5,-e,.5)}()}),ce=n({},se,{code:`EPSG:900913`});function le(e){return document.createElementNS(`http://www.w3.org/2000/svg`,e)}function ue(e,t){for(var n=``,r=0,i,a=e.length,o,s,c;r<a;r++){for(s=e[r],i=0,o=s.length;i<o;i++)c=s[i],n+=(i?`L`:`M`)+c.x+` `+c.y;n+=t?H.svg?`z`:`x`:``}return n||`M0 0`}var de=document.documentElement.style,fe=`ActiveXObject`in window,pe=fe&&!document.addEventListener,me=`msLaunchUri`in navigator&&!(`documentMode`in document),he=qe(`webkit`),ge=qe(`android`),_e=qe(`android 2`)||qe(`android 3`),ve=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),ye=ge&&qe(`Google`)&&ve<537&&!(`AudioNode`in window),be=!!window.opera,xe=!me&&qe(`chrome`),Se=qe(`gecko`)&&!he&&!be&&!fe,Ce=!xe&&qe(`safari`),we=qe(`phantom`),Te=`OTransition`in de,Ee=navigator.platform.indexOf(`Win`)===0,De=fe&&`transition`in de,Oe=`WebKitCSSMatrix`in window&&`m11`in new window.WebKitCSSMatrix&&!_e,ke=`MozPerspective`in de,Ae=!window.L_DISABLE_3D&&(De||Oe||ke)&&!Te&&!we,je=typeof orientation<`u`||qe(`mobile`),Me=je&&he,Ne=je&&Oe,Pe=!window.PointerEvent&&window.MSPointerEvent,Fe=!!(window.PointerEvent||Pe),Ie=`ontouchstart`in window||!!window.TouchEvent,Le=!window.L_NO_TOUCH&&(Ie||Fe),Re=je&&be,V=je&&Se,ze=(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI)>1,Be=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener(`testPassiveEventSupport`,l,t),window.removeEventListener(`testPassiveEventSupport`,l,t)}catch{}return e}(),Ve=function(){return!!document.createElement(`canvas`).getContext}(),He=!!(document.createElementNS&&le(`svg`).createSVGRect),Ue=!!He&&(function(){var e=document.createElement(`div`);return e.innerHTML=`<svg/>`,(e.firstChild&&e.firstChild.namespaceURI)===`http://www.w3.org/2000/svg`})(),We=!He&&function(){try{var e=document.createElement(`div`);e.innerHTML=`<v:shape adj="1"/>`;var t=e.firstChild;return t.style.behavior=`url(#default#VML)`,t&&typeof t.adj==`object`}catch{return!1}}(),Ge=navigator.platform.indexOf(`Mac`)===0,Ke=navigator.platform.indexOf(`Linux`)===0;function qe(e){return navigator.userAgent.toLowerCase().indexOf(e)>=0}var H={ie:fe,ielt9:pe,edge:me,webkit:he,android:ge,android23:_e,androidStock:ye,opera:be,chrome:xe,gecko:Se,safari:Ce,phantom:we,opera12:Te,win:Ee,ie3d:De,webkit3d:Oe,gecko3d:ke,any3d:Ae,mobile:je,mobileWebkit:Me,mobileWebkit3d:Ne,msPointer:Pe,pointer:Fe,touch:Le,touchNative:Ie,mobileOpera:Re,mobileGecko:V,retina:ze,passiveEvents:Be,canvas:Ve,svg:He,vml:We,inlineSvg:Ue,mac:Ge,linux:Ke},Je=H.msPointer?`MSPointerDown`:`pointerdown`,Ye=H.msPointer?`MSPointerMove`:`pointermove`,Xe=H.msPointer?`MSPointerUp`:`pointerup`,Ze=H.msPointer?`MSPointerCancel`:`pointercancel`,Qe={touchstart:Je,touchmove:Ye,touchend:Xe,touchcancel:Ze},$e={touchstart:lt,touchmove:ct,touchend:ct,touchcancel:ct},et={},tt=!1;function nt(e,t,n){return t===`touchstart`&&st(),$e[t]?(n=$e[t].bind(this,n),e.addEventListener(Qe[t],n,!1),n):(console.warn(`wrong event specified:`,t),l)}function rt(e,t,n){Qe[t]?e.removeEventListener(Qe[t],n,!1):console.warn(`wrong event specified:`,t)}function it(e){et[e.pointerId]=e}function at(e){et[e.pointerId]&&(et[e.pointerId]=e)}function ot(e){delete et[e.pointerId]}function st(){tt||=(document.addEventListener(Je,it,!0),document.addEventListener(Ye,at,!0),document.addEventListener(Xe,ot,!0),document.addEventListener(Ze,ot,!0),!0)}function ct(e,t){if(t.pointerType!==(t.MSPOINTER_TYPE_MOUSE||`mouse`)){for(var n in t.touches=[],et)t.touches.push(et[n]);t.changedTouches=[t],e(t)}}function lt(e,t){t.MSPOINTER_TYPE_TOUCH&&t.pointerType===t.MSPOINTER_TYPE_TOUCH&&Qt(t),ct(e,t)}function ut(e){var t={},n,r;for(r in e)n=e[r],t[r]=n&&n.bind?n.bind(e):n;return e=t,t.type=`dblclick`,t.detail=2,t.isTrusted=!1,t._simulated=!0,t}var dt=200;function ft(e,t){e.addEventListener(`dblclick`,t);var n=0,r;function i(e){if(e.detail!==1)r=e.detail;else if(!(e.pointerType===`mouse`||e.sourceCapabilities&&!e.sourceCapabilities.firesTouchEvents)){var i=en(e);if(!i.some(function(e){return e instanceof HTMLLabelElement&&e.attributes.for})||i.some(function(e){return e instanceof HTMLInputElement||e instanceof HTMLSelectElement})){var a=Date.now();a-n<=dt?(r++,r===2&&t(ut(e))):r=1,n=a}}}return e.addEventListener(`click`,i),{dblclick:t,simDblclick:i}}function pt(e,t){e.removeEventListener(`dblclick`,t.dblclick),e.removeEventListener(`click`,t.simDblclick)}var mt=Ot([`transform`,`webkitTransform`,`OTransform`,`MozTransform`,`msTransform`]),ht=Ot([`webkitTransition`,`transition`,`OTransition`,`MozTransition`,`msTransition`]),gt=ht===`webkitTransition`||ht===`OTransition`?ht+`End`:`transitionend`;function _t(e){return typeof e==`string`?document.getElementById(e):e}function vt(e,t){var n=e.style[t]||e.currentStyle&&e.currentStyle[t];if((!n||n===`auto`)&&document.defaultView){var r=document.defaultView.getComputedStyle(e,null);n=r?r[t]:null}return n===`auto`?null:n}function U(e,t,n){var r=document.createElement(e);return r.className=t||``,n&&n.appendChild(r),r}function W(e){var t=e.parentNode;t&&t.removeChild(e)}function yt(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function bt(e){var t=e.parentNode;t&&t.lastChild!==e&&t.appendChild(e)}function xt(e){var t=e.parentNode;t&&t.firstChild!==e&&t.insertBefore(e,t.firstChild)}function St(e,t){if(e.classList!==void 0)return e.classList.contains(t);var n=Tt(e);return n.length>0&&RegExp(`(^|\\s)`+t+`(\\s|$)`).test(n)}function G(e,t){if(e.classList!==void 0)for(var n=f(t),r=0,i=n.length;r<i;r++)e.classList.add(n[r]);else if(!St(e,t)){var a=Tt(e);wt(e,(a?a+` `:``)+t)}}function Ct(e,t){e.classList===void 0?wt(e,d((` `+Tt(e)+` `).replace(` `+t+` `,` `))):e.classList.remove(t)}function wt(e,t){e.className.baseVal===void 0?e.className=t:e.className.baseVal=t}function Tt(e){return e.correspondingElement&&(e=e.correspondingElement),e.className.baseVal===void 0?e.className:e.className.baseVal}function Et(e,t){`opacity`in e.style?e.style.opacity=t:`filter`in e.style&&Dt(e,t)}function Dt(e,t){var n=!1,r=`DXImageTransform.Microsoft.Alpha`;try{n=e.filters.item(r)}catch{if(t===1)return}t=Math.round(t*100),n?(n.Enabled=t!==100,n.Opacity=t):e.style.filter+=` progid:`+r+`(opacity=`+t+`)`}function Ot(e){for(var t=document.documentElement.style,n=0;n<e.length;n++)if(e[n]in t)return e[n];return!1}function kt(e,t,n){var r=t||new M(0,0);e.style[mt]=(H.ie3d?`translate(`+r.x+`px,`+r.y+`px)`:`translate3d(`+r.x+`px,`+r.y+`px,0)`)+(n?` scale(`+n+`)`:``)}function K(e,t){e._leaflet_pos=t,H.any3d?kt(e,t):(e.style.left=t.x+`px`,e.style.top=t.y+`px`)}function At(e){return e._leaflet_pos||new M(0,0)}var jt,Mt,Nt;if(`onselectstart`in document)jt=function(){q(window,`selectstart`,Qt)},Mt=function(){J(window,`selectstart`,Qt)};else{var Pt=Ot([`userSelect`,`WebkitUserSelect`,`OUserSelect`,`MozUserSelect`,`msUserSelect`]);jt=function(){if(Pt){var e=document.documentElement.style;Nt=e[Pt],e[Pt]=`none`}},Mt=function(){Pt&&(document.documentElement.style[Pt]=Nt,Nt=void 0)}}function Ft(){q(window,`dragstart`,Qt)}function It(){J(window,`dragstart`,Qt)}var Lt,Rt;function zt(e){for(;e.tabIndex===-1;)e=e.parentNode;e.style&&(Bt(),Lt=e,Rt=e.style.outlineStyle,e.style.outlineStyle=`none`,q(window,`keydown`,Bt))}function Bt(){Lt&&(Lt.style.outlineStyle=Rt,Lt=void 0,Rt=void 0,J(window,`keydown`,Bt))}function Vt(e){do e=e.parentNode;while((!e.offsetWidth||!e.offsetHeight)&&e!==document.body);return e}function Ht(e){var t=e.getBoundingClientRect();return{x:t.width/e.offsetWidth||1,y:t.height/e.offsetHeight||1,boundingClientRect:t}}var Ut={__proto__:null,TRANSFORM:mt,TRANSITION:ht,TRANSITION_END:gt,get:_t,getStyle:vt,create:U,remove:W,empty:yt,toFront:bt,toBack:xt,hasClass:St,addClass:G,removeClass:Ct,setClass:wt,getClass:Tt,setOpacity:Et,testProp:Ot,setTransform:kt,setPosition:K,getPosition:At,get disableTextSelection(){return jt},get enableTextSelection(){return Mt},disableImageDrag:Ft,enableImageDrag:It,preventOutline:zt,restoreOutline:Bt,getSizedParentNode:Vt,getScale:Ht};function q(e,t,n,r){if(t&&typeof t==`object`)for(var i in t)qt(e,i,t[i],n);else{t=f(t);for(var a=0,o=t.length;a<o;a++)qt(e,t[a],n,r)}return this}var Wt=`_leaflet_events`;function J(e,t,n,r){if(arguments.length===1)Gt(e),delete e[Wt];else if(t&&typeof t==`object`)for(var i in t)Jt(e,i,t[i],n);else if(t=f(t),arguments.length===2)Gt(e,function(e){return v(t,e)!==-1});else for(var a=0,o=t.length;a<o;a++)Jt(e,t[a],n,r);return this}function Gt(e,t){for(var n in e[Wt]){var r=n.split(/\d/)[0];(!t||t(r))&&Jt(e,r,null,null,n)}}var Kt={mouseenter:`mouseover`,mouseleave:`mouseout`,wheel:!(`onwheel`in window)&&`mousewheel`};function qt(e,t,n,r){var i=t+o(n)+(r?`_`+o(r):``);if(e[Wt]&&e[Wt][i])return this;var a=function(t){return n.call(r||e,t||window.event)},s=a;!H.touchNative&&H.pointer&&t.indexOf(`touch`)===0?a=nt(e,t,a):H.touch&&t===`dblclick`?a=ft(e,a):`addEventListener`in e?t===`touchstart`||t===`touchmove`||t===`wheel`||t===`mousewheel`?e.addEventListener(Kt[t]||t,a,H.passiveEvents?{passive:!1}:!1):t===`mouseenter`||t===`mouseleave`?(a=function(t){t||=window.event,an(e,t)&&s(t)},e.addEventListener(Kt[t],a,!1)):e.addEventListener(t,s,!1):e.attachEvent(`on`+t,a),e[Wt]=e[Wt]||{},e[Wt][i]=a}function Jt(e,t,n,r,i){i||=t+o(n)+(r?`_`+o(r):``);var a=e[Wt]&&e[Wt][i];if(!a)return this;!H.touchNative&&H.pointer&&t.indexOf(`touch`)===0?rt(e,t,a):H.touch&&t===`dblclick`?pt(e,a):`removeEventListener`in e?e.removeEventListener(Kt[t]||t,a,!1):e.detachEvent(`on`+t,a),e[Wt][i]=null}function Yt(e){return e.stopPropagation?e.stopPropagation():e.originalEvent?e.originalEvent._stopped=!0:e.cancelBubble=!0,this}function Xt(e){return qt(e,`wheel`,Yt),this}function Zt(e){return q(e,`mousedown touchstart dblclick contextmenu`,Yt),e._leaflet_disable_click=!0,this}function Qt(e){return e.preventDefault?e.preventDefault():e.returnValue=!1,this}function $t(e){return Qt(e),Yt(e),this}function en(e){if(e.composedPath)return e.composedPath();for(var t=[],n=e.target;n;)t.push(n),n=n.parentNode;return t}function tn(e,t){if(!t)return new M(e.clientX,e.clientY);var n=Ht(t),r=n.boundingClientRect;return new M((e.clientX-r.left)/n.x-t.clientLeft,(e.clientY-r.top)/n.y-t.clientTop)}var nn=H.linux&&H.chrome?window.devicePixelRatio:H.mac?window.devicePixelRatio*3:window.devicePixelRatio>0?2*window.devicePixelRatio:1;function rn(e){return H.edge?e.wheelDeltaY/2:e.deltaY&&e.deltaMode===0?-e.deltaY/nn:e.deltaY&&e.deltaMode===1?-e.deltaY*20:e.deltaY&&e.deltaMode===2?-e.deltaY*60:e.deltaX||e.deltaZ?0:e.wheelDelta?(e.wheelDeltaY||e.wheelDelta)/2:e.detail&&Math.abs(e.detail)<32765?-e.detail*20:e.detail?e.detail/-32765*60:0}function an(e,t){var n=t.relatedTarget;if(!n)return!0;try{for(;n&&n!==e;)n=n.parentNode}catch{return!1}return n!==e}var on={__proto__:null,on:q,off:J,stopPropagation:Yt,disableScrollPropagation:Xt,disableClickPropagation:Zt,preventDefault:Qt,stop:$t,getPropagationPath:en,getMousePosition:tn,getWheelDelta:rn,isExternalTarget:an,addListener:q,removeListener:J},sn=j.extend({run:function(e,t,n,r){this.stop(),this._el=e,this._inProgress=!0,this._duration=n||.25,this._easeOutPower=1/Math.max(r||.5,.2),this._startPos=At(e),this._offset=t.subtract(this._startPos),this._startTime=+new Date,this.fire(`start`),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=T(this._animate,this),this._step()},_step:function(e){var t=+new Date-this._startTime,n=this._duration*1e3;t<n?this._runFrame(this._easeOut(t/n),e):(this._runFrame(1),this._complete())},_runFrame:function(e,t){var n=this._startPos.add(this._offset.multiplyBy(e));t&&n._round(),K(this._el,n),this.fire(`step`)},_complete:function(){E(this._animId),this._inProgress=!1,this.fire(`end`)},_easeOut:function(e){return 1-(1-e)**this._easeOutPower}}),Y=j.extend({options:{crs:se,center:void 0,zoom:void 0,minZoom:void 0,maxZoom:void 0,layers:[],maxBounds:void 0,renderer:void 0,zoomAnimation:!0,zoomAnimationThreshold:4,fadeAnimation:!0,markerZoomAnimation:!0,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:!0},initialize:function(e,t){t=p(this,t),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(e),this._initLayout(),this._onResize=i(this._onResize,this),this._initEvents(),t.maxBounds&&this.setMaxBounds(t.maxBounds),t.zoom!==void 0&&(this._zoom=this._limitZoom(t.zoom)),t.center&&t.zoom!==void 0&&this.setView(B(t.center),t.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=ht&&H.any3d&&!H.mobileOpera&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),q(this._proxy,gt,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)},setView:function(e,t,r){return t=t===void 0?this._zoom:this._limitZoom(t),e=this._limitCenter(B(e),t,this.options.maxBounds),r||={},this._stop(),this._loaded&&!r.reset&&r!==!0&&(r.animate!==void 0&&(r.zoom=n({animate:r.animate},r.zoom),r.pan=n({animate:r.animate,duration:r.duration},r.pan)),this._zoom===t?this._tryAnimatedPan(e,r.pan):this._tryAnimatedZoom&&this._tryAnimatedZoom(e,t,r.zoom))?(clearTimeout(this._sizeTimer),this):(this._resetView(e,t,r.pan&&r.pan.noMoveStart),this)},setZoom:function(e,t){return this._loaded?this.setView(this.getCenter(),e,{zoom:t}):(this._zoom=e,this)},zoomIn:function(e,t){return e||=H.any3d?this.options.zoomDelta:1,this.setZoom(this._zoom+e,t)},zoomOut:function(e,t){return e||=H.any3d?this.options.zoomDelta:1,this.setZoom(this._zoom-e,t)},setZoomAround:function(e,t,n){var r=this.getZoomScale(t),i=this.getSize().divideBy(2),a=(e instanceof M?e:this.latLngToContainerPoint(e)).subtract(i).multiplyBy(1-1/r),o=this.containerPointToLatLng(i.add(a));return this.setView(o,t,{zoom:n})},_getBoundsCenterZoom:function(e,t){t||={},e=e.getBounds?e.getBounds():ee(e);var n=P(t.paddingTopLeft||t.padding||[0,0]),r=P(t.paddingBottomRight||t.padding||[0,0]),i=this.getBoundsZoom(e,!1,n.add(r));if(i=typeof t.maxZoom==`number`?Math.min(t.maxZoom,i):i,i===1/0)return{center:e.getCenter(),zoom:i};var a=r.subtract(n).divideBy(2),o=this.project(e.getSouthWest(),i),s=this.project(e.getNorthEast(),i);return{center:this.unproject(o.add(s).divideBy(2).add(a),i),zoom:i}},fitBounds:function(e,t){if(e=ee(e),!e.isValid())throw Error(`Bounds are not valid.`);var n=this._getBoundsCenterZoom(e,t);return this.setView(n.center,n.zoom,t)},fitWorld:function(e){return this.fitBounds([[-90,-180],[90,180]],e)},panTo:function(e,t){return this.setView(e,this._zoom,{pan:t})},panBy:function(e,t){if(e=P(e).round(),t||={},!e.x&&!e.y)return this.fire(`moveend`);if(t.animate!==!0&&!this.getSize().contains(e))return this._resetView(this.unproject(this.project(this.getCenter()).add(e)),this.getZoom()),this;if(this._panAnim||(this._panAnim=new sn,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),t.noMoveStart||this.fire(`movestart`),t.animate!==!1){G(this._mapPane,`leaflet-pan-anim`);var n=this._getMapPanePos().subtract(e).round();this._panAnim.run(this._mapPane,n,t.duration||.25,t.easeLinearity)}else this._rawPanBy(e),this.fire(`move`).fire(`moveend`);return this},flyTo:function(e,t,n){if(n||={},n.animate===!1||!H.any3d)return this.setView(e,t,n);this._stop();var r=this.project(this.getCenter()),i=this.project(e),a=this.getSize(),o=this._zoom;e=B(e),t=t===void 0?o:t;var s=Math.max(a.x,a.y),c=s*this.getZoomScale(o,t),l=i.distanceTo(r)||1,u=1.42,d=u*u;function f(e){var t=e?-1:1,n=e?c:s,r=(c*c-s*s+t*d*d*l*l)/(2*n*d*l),i=Math.sqrt(r*r+1)-r;return i<1e-9?-18:Math.log(i)}function p(e){return(Math.exp(e)-Math.exp(-e))/2}function m(e){return(Math.exp(e)+Math.exp(-e))/2}function h(e){return p(e)/m(e)}var g=f(0);function _(e){return s*(m(g)/m(g+u*e))}function v(e){return s*(m(g)*h(g+u*e)-p(g))/d}function y(e){return 1-(1-e)**1.5}var b=Date.now(),x=(f(1)-g)/u,S=n.duration?1e3*n.duration:1e3*x*.8;function C(){var n=(Date.now()-b)/S,a=y(n)*x;n<=1?(this._flyToFrame=T(C,this),this._move(this.unproject(r.add(i.subtract(r).multiplyBy(v(a)/l)),o),this.getScaleZoom(s/_(a),o),{flyTo:!0})):this._move(e,t)._moveEnd(!0)}return this._moveStart(!0,n.noMoveStart),C.call(this),this},flyToBounds:function(e,t){var n=this._getBoundsCenterZoom(e,t);return this.flyTo(n.center,n.zoom,t)},setMaxBounds:function(e){return e=ee(e),this.listens(`moveend`,this._panInsideMaxBounds)&&this.off(`moveend`,this._panInsideMaxBounds),e.isValid()?(this.options.maxBounds=e,this._loaded&&this._panInsideMaxBounds(),this.on(`moveend`,this._panInsideMaxBounds)):(this.options.maxBounds=null,this)},setMinZoom:function(e){var t=this.options.minZoom;return this.options.minZoom=e,this._loaded&&t!==e&&(this.fire(`zoomlevelschange`),this.getZoom()<this.options.minZoom)?this.setZoom(e):this},setMaxZoom:function(e){var t=this.options.maxZoom;return this.options.maxZoom=e,this._loaded&&t!==e&&(this.fire(`zoomlevelschange`),this.getZoom()>this.options.maxZoom)?this.setZoom(e):this},panInsideBounds:function(e,t){this._enforcingBounds=!0;var n=this.getCenter(),r=this._limitCenter(n,this._zoom,ee(e));return n.equals(r)||this.panTo(r,t),this._enforcingBounds=!1,this},panInside:function(e,t){t||={};var n=P(t.paddingTopLeft||t.padding||[0,0]),r=P(t.paddingBottomRight||t.padding||[0,0]),i=this.project(this.getCenter()),a=this.project(e),o=this.getPixelBounds(),s=I([o.min.add(n),o.max.subtract(r)]),c=s.getSize();if(!s.contains(a)){this._enforcingBounds=!0;var l=a.subtract(s.getCenter()),u=s.extend(a).getSize().subtract(c);i.x+=l.x<0?-u.x:u.x,i.y+=l.y<0?-u.y:u.y,this.panTo(this.unproject(i),t),this._enforcingBounds=!1}return this},invalidateSize:function(e){if(!this._loaded)return this;e=n({animate:!1,pan:!0},e===!0?{animate:!0}:e);var t=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var r=this.getSize(),a=t.divideBy(2).round(),o=r.divideBy(2).round(),s=a.subtract(o);return!s.x&&!s.y?this:(e.animate&&e.pan?this.panBy(s):(e.pan&&this._rawPanBy(s),this.fire(`move`),e.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(i(this.fire,this,`moveend`),200)):this.fire(`moveend`)),this.fire(`resize`,{oldSize:t,newSize:r}))},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire(`viewreset`),this._stop()},locate:function(e){if(e=this._locateOptions=n({timeout:1e4,watch:!1},e),!(`geolocation`in navigator))return this._handleGeolocationError({code:0,message:`Geolocation not supported.`}),this;var t=i(this._handleGeolocationResponse,this),r=i(this._handleGeolocationError,this);return e.watch?this._locationWatchId=navigator.geolocation.watchPosition(t,r,e):navigator.geolocation.getCurrentPosition(t,r,e),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(e){if(this._container._leaflet_id){var t=e.code,n=e.message||(t===1?`permission denied`:t===2?`position unavailable`:`timeout`);this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire(`locationerror`,{code:t,message:`Geolocation error: `+n+`.`})}},_handleGeolocationResponse:function(e){if(this._container._leaflet_id){var t=e.coords.latitude,n=e.coords.longitude,r=new z(t,n),i=r.toBounds(e.coords.accuracy*2),a=this._locateOptions;if(a.setView){var o=this.getBoundsZoom(i);this.setView(r,a.maxZoom?Math.min(o,a.maxZoom):o)}var s={latlng:r,bounds:i,timestamp:e.timestamp};for(var c in e.coords)typeof e.coords[c]==`number`&&(s[c]=e.coords[c]);this.fire(`locationfound`,s)}},addHandler:function(e,t){if(!t)return this;var n=this[e]=new t(this);return this._handlers.push(n),this.options[e]&&n.enable(),this},remove:function(){if(this._initEvents(!0),this.options.maxBounds&&this.off(`moveend`,this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw Error(`Map container is being reused by another instance`);try{delete this._container._leaflet_id,delete this._containerId}catch{this._container._leaflet_id=void 0,this._containerId=void 0}for(var e in this._locationWatchId!==void 0&&this.stopLocate(),this._stop(),W(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&=(E(this._resizeRequest),null),this._clearHandlers(),this._loaded&&this.fire(`unload`),this._layers)this._layers[e].remove();for(e in this._panes)W(this._panes[e]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(e,t){var n=U(`div`,`leaflet-pane`+(e?` leaflet-`+e.replace(`Pane`,``)+`-pane`:``),t||this._mapPane);return e&&(this._panes[e]=n),n},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var e=this.getPixelBounds();return new R(this.unproject(e.getBottomLeft()),this.unproject(e.getTopRight()))},getMinZoom:function(){return this.options.minZoom===void 0?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return this.options.maxZoom===void 0?this._layersMaxZoom===void 0?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(e,t,n){e=ee(e),n=P(n||[0,0]);var r=this.getZoom()||0,i=this.getMinZoom(),a=this.getMaxZoom(),o=e.getNorthWest(),s=e.getSouthEast(),c=this.getSize().subtract(n),l=I(this.project(s,r),this.project(o,r)).getSize(),u=H.any3d?this.options.zoomSnap:1,d=c.x/l.x,f=c.y/l.y,p=t?Math.max(d,f):Math.min(d,f);return r=this.getScaleZoom(p,r),u&&(r=Math.round(r/(u/100))*(u/100),r=t?Math.ceil(r/u)*u:Math.floor(r/u)*u),Math.max(i,Math.min(a,r))},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new M(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(e,t){var n=this._getTopLeftPoint(e,t);return new F(n,n.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(e){return this.options.crs.getProjectedBounds(e===void 0?this.getZoom():e)},getPane:function(e){return typeof e==`string`?this._panes[e]:e},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(e,t){var n=this.options.crs;return t=t===void 0?this._zoom:t,n.scale(e)/n.scale(t)},getScaleZoom:function(e,t){var n=this.options.crs;t=t===void 0?this._zoom:t;var r=n.zoom(e*n.scale(t));return isNaN(r)?1/0:r},project:function(e,t){return t=t===void 0?this._zoom:t,this.options.crs.latLngToPoint(B(e),t)},unproject:function(e,t){return t=t===void 0?this._zoom:t,this.options.crs.pointToLatLng(P(e),t)},layerPointToLatLng:function(e){var t=P(e).add(this.getPixelOrigin());return this.unproject(t)},latLngToLayerPoint:function(e){return this.project(B(e))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(e){return this.options.crs.wrapLatLng(B(e))},wrapLatLngBounds:function(e){return this.options.crs.wrapLatLngBounds(ee(e))},distance:function(e,t){return this.options.crs.distance(B(e),B(t))},containerPointToLayerPoint:function(e){return P(e).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(e){return P(e).add(this._getMapPanePos())},containerPointToLatLng:function(e){var t=this.containerPointToLayerPoint(P(e));return this.layerPointToLatLng(t)},latLngToContainerPoint:function(e){return this.layerPointToContainerPoint(this.latLngToLayerPoint(B(e)))},mouseEventToContainerPoint:function(e){return tn(e,this._container)},mouseEventToLayerPoint:function(e){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(e))},mouseEventToLatLng:function(e){return this.layerPointToLatLng(this.mouseEventToLayerPoint(e))},_initContainer:function(e){var t=this._container=_t(e);if(!t)throw Error(`Map container not found.`);if(t._leaflet_id)throw Error(`Map container is already initialized.`);q(t,`scroll`,this._onScroll,this),this._containerId=o(t)},_initLayout:function(){var e=this._container;this._fadeAnimated=this.options.fadeAnimation&&H.any3d,G(e,`leaflet-container`+(H.touch?` leaflet-touch`:``)+(H.retina?` leaflet-retina`:``)+(H.ielt9?` leaflet-oldie`:``)+(H.safari?` leaflet-safari`:``)+(this._fadeAnimated?` leaflet-fade-anim`:``));var t=vt(e,`position`);t!==`absolute`&&t!==`relative`&&t!==`fixed`&&t!==`sticky`&&(e.style.position=`relative`),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var e=this._panes={};this._paneRenderers={},this._mapPane=this.createPane(`mapPane`,this._container),K(this._mapPane,new M(0,0)),this.createPane(`tilePane`),this.createPane(`overlayPane`),this.createPane(`shadowPane`),this.createPane(`markerPane`),this.createPane(`tooltipPane`),this.createPane(`popupPane`),this.options.markerZoomAnimation||(G(e.markerPane,`leaflet-zoom-hide`),G(e.shadowPane,`leaflet-zoom-hide`))},_resetView:function(e,t,n){K(this._mapPane,new M(0,0));var r=!this._loaded;this._loaded=!0,t=this._limitZoom(t),this.fire(`viewprereset`);var i=this._zoom!==t;this._moveStart(i,n)._move(e,t)._moveEnd(i),this.fire(`viewreset`),r&&this.fire(`load`)},_moveStart:function(e,t){return e&&this.fire(`zoomstart`),t||this.fire(`movestart`),this},_move:function(e,t,n,r){t===void 0&&(t=this._zoom);var i=this._zoom!==t;return this._zoom=t,this._lastCenter=e,this._pixelOrigin=this._getNewPixelOrigin(e),r?n&&n.pinch&&this.fire(`zoom`,n):((i||n&&n.pinch)&&this.fire(`zoom`,n),this.fire(`move`,n)),this},_moveEnd:function(e){return e&&this.fire(`zoomend`),this.fire(`moveend`)},_stop:function(){return E(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(e){K(this._mapPane,this._getMapPanePos().subtract(e))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw Error(`Set map center and zoom first.`)},_initEvents:function(e){this._targets={},this._targets[o(this._container)]=this;var t=e?J:q;t(this._container,`click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup`,this._handleDOMEvent,this),this.options.trackResize&&t(window,`resize`,this._onResize,this),H.any3d&&this.options.transform3DLimit&&(e?this.off:this.on).call(this,`moveend`,this._onMoveEnd)},_onResize:function(){E(this._resizeRequest),this._resizeRequest=T(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var e=this._getMapPanePos();Math.max(Math.abs(e.x),Math.abs(e.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(e,t){for(var n=[],r,i=t===`mouseout`||t===`mouseover`,a=e.target||e.srcElement,s=!1;a;){if(r=this._targets[o(a)],r&&(t===`click`||t===`preclick`)&&this._draggableMoved(r)){s=!0;break}if(r&&r.listens(t,!0)&&(i&&!an(a,e)||(n.push(r),i))||a===this._container)break;a=a.parentNode}return!n.length&&!s&&!i&&this.listens(t,!0)&&(n=[this]),n},_isClickDisabled:function(e){for(;e&&e!==this._container;){if(e._leaflet_disable_click)return!0;e=e.parentNode}},_handleDOMEvent:function(e){var t=e.target||e.srcElement;if(!(!this._loaded||t._leaflet_disable_events||e.type===`click`&&this._isClickDisabled(t))){var n=e.type;n===`mousedown`&&zt(t),this._fireDOMEvent(e,n)}},_mouseEvents:[`click`,`dblclick`,`mouseover`,`mouseout`,`contextmenu`],_fireDOMEvent:function(e,t,r){if(e.type===`click`){var i=n({},e);i.type=`preclick`,this._fireDOMEvent(i,i.type,r)}var a=this._findEventTargets(e,t);if(r){for(var o=[],s=0;s<r.length;s++)r[s].listens(t,!0)&&o.push(r[s]);a=o.concat(a)}if(a.length){t===`contextmenu`&&Qt(e);var c=a[0],l={originalEvent:e};if(e.type!==`keypress`&&e.type!==`keydown`&&e.type!==`keyup`){var u=c.getLatLng&&(!c._radius||c._radius<=10);l.containerPoint=u?this.latLngToContainerPoint(c.getLatLng()):this.mouseEventToContainerPoint(e),l.layerPoint=this.containerPointToLayerPoint(l.containerPoint),l.latlng=u?c.getLatLng():this.layerPointToLatLng(l.layerPoint)}for(s=0;s<a.length;s++)if(a[s].fire(t,l,!0),l.originalEvent._stopped||a[s].options.bubblingMouseEvents===!1&&v(this._mouseEvents,t)!==-1)return}},_draggableMoved:function(e){return e=e.dragging&&e.dragging.enabled()?e:this,e.dragging&&e.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var e=0,t=this._handlers.length;e<t;e++)this._handlers[e].disable()},whenReady:function(e,t){return this._loaded?e.call(t||this,{target:this}):this.on(`load`,e,t),this},_getMapPanePos:function(){return At(this._mapPane)||new M(0,0)},_moved:function(){var e=this._getMapPanePos();return e&&!e.equals([0,0])},_getTopLeftPoint:function(e,t){return(e&&t!==void 0?this._getNewPixelOrigin(e,t):this.getPixelOrigin()).subtract(this._getMapPanePos())},_getNewPixelOrigin:function(e,t){var n=this.getSize()._divideBy(2);return this.project(e,t)._subtract(n)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(e,t,n){var r=this._getNewPixelOrigin(n,t);return this.project(e,t)._subtract(r)},_latLngBoundsToNewLayerBounds:function(e,t,n){var r=this._getNewPixelOrigin(n,t);return I([this.project(e.getSouthWest(),t)._subtract(r),this.project(e.getNorthWest(),t)._subtract(r),this.project(e.getSouthEast(),t)._subtract(r),this.project(e.getNorthEast(),t)._subtract(r)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(e){return this.latLngToLayerPoint(e).subtract(this._getCenterLayerPoint())},_limitCenter:function(e,t,n){if(!n)return e;var r=this.project(e,t),i=this.getSize().divideBy(2),a=new F(r.subtract(i),r.add(i)),o=this._getBoundsOffset(a,n,t);return Math.abs(o.x)<=1&&Math.abs(o.y)<=1?e:this.unproject(r.add(o),t)},_limitOffset:function(e,t){if(!t)return e;var n=this.getPixelBounds(),r=new F(n.min.add(e),n.max.add(e));return e.add(this._getBoundsOffset(r,t))},_getBoundsOffset:function(e,t,n){var r=I(this.project(t.getNorthEast(),n),this.project(t.getSouthWest(),n)),i=r.min.subtract(e.min),a=r.max.subtract(e.max);return new M(this._rebound(i.x,-a.x),this._rebound(i.y,-a.y))},_rebound:function(e,t){return e+t>0?Math.round(e-t)/2:Math.max(0,Math.ceil(e))-Math.max(0,Math.floor(t))},_limitZoom:function(e){var t=this.getMinZoom(),n=this.getMaxZoom(),r=H.any3d?this.options.zoomSnap:1;return r&&(e=Math.round(e/r)*r),Math.max(t,Math.min(n,e))},_onPanTransitionStep:function(){this.fire(`move`)},_onPanTransitionEnd:function(){Ct(this._mapPane,`leaflet-pan-anim`),this.fire(`moveend`)},_tryAnimatedPan:function(e,t){var n=this._getCenterOffset(e)._trunc();return(t&&t.animate)!==!0&&!this.getSize().contains(n)?!1:(this.panBy(n,t),!0)},_createAnimProxy:function(){var e=this._proxy=U(`div`,`leaflet-proxy leaflet-zoom-animated`);this._panes.mapPane.appendChild(e),this.on(`zoomanim`,function(e){var t=mt,n=this._proxy.style[t];kt(this._proxy,this.project(e.center,e.zoom),this.getZoomScale(e.zoom,1)),n===this._proxy.style[t]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on(`load moveend`,this._animMoveEnd,this),this._on(`unload`,this._destroyAnimProxy,this)},_destroyAnimProxy:function(){W(this._proxy),this.off(`load moveend`,this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var e=this.getCenter(),t=this.getZoom();kt(this._proxy,this.project(e,t),this.getZoomScale(t,1))},_catchTransitionEnd:function(e){this._animatingZoom&&e.propertyName.indexOf(`transform`)>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName(`leaflet-zoom-animated`).length},_tryAnimatedZoom:function(e,t,n){if(this._animatingZoom)return!0;if(n||={},!this._zoomAnimated||n.animate===!1||this._nothingToAnimate()||Math.abs(t-this._zoom)>this.options.zoomAnimationThreshold)return!1;var r=this.getZoomScale(t),i=this._getCenterOffset(e)._divideBy(1-1/r);return n.animate!==!0&&!this.getSize().contains(i)?!1:(T(function(){this._moveStart(!0,n.noMoveStart||!1)._animateZoom(e,t,!0)},this),!0)},_animateZoom:function(e,t,n,r){this._mapPane&&(n&&(this._animatingZoom=!0,this._animateToCenter=e,this._animateToZoom=t,G(this._mapPane,`leaflet-zoom-anim`)),this.fire(`zoomanim`,{center:e,zoom:t,noUpdate:r}),this._tempFireZoomEvent||=this._zoom!==this._animateToZoom,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(i(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&Ct(this._mapPane,`leaflet-zoom-anim`),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),this._tempFireZoomEvent&&this.fire(`zoom`),delete this._tempFireZoomEvent,this.fire(`move`),this._moveEnd(!0))}});function cn(e,t){return new Y(e,t)}var ln=O.extend({options:{position:`topright`},initialize:function(e){p(this,e)},getPosition:function(){return this.options.position},setPosition:function(e){var t=this._map;return t&&t.removeControl(this),this.options.position=e,t&&t.addControl(this),this},getContainer:function(){return this._container},addTo:function(e){this.remove(),this._map=e;var t=this._container=this.onAdd(e),n=this.getPosition(),r=e._controlCorners[n];return G(t,`leaflet-control`),n.indexOf(`bottom`)===-1?r.appendChild(t):r.insertBefore(t,r.firstChild),this._map.on(`unload`,this.remove,this),this},remove:function(){return this._map&&=(W(this._container),this.onRemove&&this.onRemove(this._map),this._map.off(`unload`,this.remove,this),null),this},_refocusOnMap:function(e){this._map&&e&&e.screenX>0&&e.screenY>0&&this._map.getContainer().focus()}}),un=function(e){return new ln(e)};Y.include({addControl:function(e){return e.addTo(this),this},removeControl:function(e){return e.remove(),this},_initControlPos:function(){var e=this._controlCorners={},t=`leaflet-`,n=this._controlContainer=U(`div`,t+`control-container`,this._container);function r(r,i){var a=t+r+` `+t+i;e[r+i]=U(`div`,a,n)}r(`top`,`left`),r(`top`,`right`),r(`bottom`,`left`),r(`bottom`,`right`)},_clearControlPos:function(){for(var e in this._controlCorners)W(this._controlCorners[e]);W(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var dn=ln.extend({options:{collapsed:!0,position:`topright`,autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(e,t,n,r){return n<r?-1:+(r<n)}},initialize:function(e,t,n){for(var r in p(this,n),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1,this._preventClick=!1,e)this._addLayer(e[r],r);for(r in t)this._addLayer(t[r],r,!0)},onAdd:function(e){this._initLayout(),this._update(),this._map=e,e.on(`zoomend`,this._checkDisabledLayers,this);for(var t=0;t<this._layers.length;t++)this._layers[t].layer.on(`add remove`,this._onLayerChange,this);return this._container},addTo:function(e){return ln.prototype.addTo.call(this,e),this._expandIfNotCollapsed()},onRemove:function(){this._map.off(`zoomend`,this._checkDisabledLayers,this);for(var e=0;e<this._layers.length;e++)this._layers[e].layer.off(`add remove`,this._onLayerChange,this)},addBaseLayer:function(e,t){return this._addLayer(e,t),this._map?this._update():this},addOverlay:function(e,t){return this._addLayer(e,t,!0),this._map?this._update():this},removeLayer:function(e){e.off(`add remove`,this._onLayerChange,this);var t=this._getLayer(o(e));return t&&this._layers.splice(this._layers.indexOf(t),1),this._map?this._update():this},expand:function(){G(this._container,`leaflet-control-layers-expanded`),this._section.style.height=null;var e=this._map.getSize().y-(this._container.offsetTop+50);return e<this._section.clientHeight?(G(this._section,`leaflet-control-layers-scrollbar`),this._section.style.height=e+`px`):Ct(this._section,`leaflet-control-layers-scrollbar`),this._checkDisabledLayers(),this},collapse:function(){return Ct(this._container,`leaflet-control-layers-expanded`),this},_initLayout:function(){var e=`leaflet-control-layers`,t=this._container=U(`div`,e),n=this.options.collapsed;t.setAttribute(`aria-haspopup`,!0),Zt(t),Xt(t);var r=this._section=U(`section`,e+`-list`);n&&(this._map.on(`click`,this.collapse,this),q(t,{mouseenter:this._expandSafely,mouseleave:this.collapse},this));var i=this._layersLink=U(`a`,e+`-toggle`,t);i.href=`#`,i.title=`Layers`,i.setAttribute(`role`,`button`),q(i,{keydown:function(e){e.keyCode===13&&this._expandSafely()},click:function(e){Qt(e),this._expandSafely()}},this),n||this.expand(),this._baseLayersList=U(`div`,e+`-base`,r),this._separator=U(`div`,e+`-separator`,r),this._overlaysList=U(`div`,e+`-overlays`,r),t.appendChild(r)},_getLayer:function(e){for(var t=0;t<this._layers.length;t++)if(this._layers[t]&&o(this._layers[t].layer)===e)return this._layers[t]},_addLayer:function(e,t,n){this._map&&e.on(`add remove`,this._onLayerChange,this),this._layers.push({layer:e,name:t,overlay:n}),this.options.sortLayers&&this._layers.sort(i(function(e,t){return this.options.sortFunction(e.layer,t.layer,e.name,t.name)},this)),this.options.autoZIndex&&e.setZIndex&&(this._lastZIndex++,e.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(!this._container)return this;yt(this._baseLayersList),yt(this._overlaysList),this._layerControlInputs=[];var e,t,n,r,i=0;for(n=0;n<this._layers.length;n++)r=this._layers[n],this._addItem(r),t||=r.overlay,e||=!r.overlay,i+=+!r.overlay;return this.options.hideSingleBase&&(e&&=i>1,this._baseLayersList.style.display=e?``:`none`),this._separator.style.display=t&&e?``:`none`,this},_onLayerChange:function(e){this._handlingClick||this._update();var t=this._getLayer(o(e.target)),n=t.overlay?e.type===`add`?`overlayadd`:`overlayremove`:e.type===`add`?`baselayerchange`:null;n&&this._map.fire(n,t)},_createRadioElement:function(e,t){var n=`<input type="radio" class="leaflet-control-layers-selector" name="`+e+`"`+(t?` checked="checked"`:``)+`/>`,r=document.createElement(`div`);return r.innerHTML=n,r.firstChild},_addItem:function(e){var t=document.createElement(`label`),n=this._map.hasLayer(e.layer),r;e.overlay?(r=document.createElement(`input`),r.type=`checkbox`,r.className=`leaflet-control-layers-selector`,r.defaultChecked=n):r=this._createRadioElement(`leaflet-base-layers_`+o(this),n),this._layerControlInputs.push(r),r.layerId=o(e.layer),q(r,`click`,this._onInputClick,this);var i=document.createElement(`span`);i.innerHTML=` `+e.name;var a=document.createElement(`span`);return t.appendChild(a),a.appendChild(r),a.appendChild(i),(e.overlay?this._overlaysList:this._baseLayersList).appendChild(t),this._checkDisabledLayers(),t},_onInputClick:function(){if(!this._preventClick){var e=this._layerControlInputs,t,n,r=[],i=[];this._handlingClick=!0;for(var a=e.length-1;a>=0;a--)t=e[a],n=this._getLayer(t.layerId).layer,t.checked?r.push(n):t.checked||i.push(n);for(a=0;a<i.length;a++)this._map.hasLayer(i[a])&&this._map.removeLayer(i[a]);for(a=0;a<r.length;a++)this._map.hasLayer(r[a])||this._map.addLayer(r[a]);this._handlingClick=!1,this._refocusOnMap()}},_checkDisabledLayers:function(){for(var e=this._layerControlInputs,t,n,r=this._map.getZoom(),i=e.length-1;i>=0;i--)t=e[i],n=this._getLayer(t.layerId).layer,t.disabled=n.options.minZoom!==void 0&&r<n.options.minZoom||n.options.maxZoom!==void 0&&r>n.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var e=this._section;this._preventClick=!0,q(e,`click`,Qt),this.expand();var t=this;setTimeout(function(){J(e,`click`,Qt),t._preventClick=!1})}}),fn=function(e,t,n){return new dn(e,t,n)},pn=ln.extend({options:{position:`topleft`,zoomInText:`<span aria-hidden="true">+</span>`,zoomInTitle:`Zoom in`,zoomOutText:`<span aria-hidden="true">−</span>`,zoomOutTitle:`Zoom out`},onAdd:function(e){var t=`leaflet-control-zoom`,n=U(`div`,t+` leaflet-bar`),r=this.options;return this._zoomInButton=this._createButton(r.zoomInText,r.zoomInTitle,t+`-in`,n,this._zoomIn),this._zoomOutButton=this._createButton(r.zoomOutText,r.zoomOutTitle,t+`-out`,n,this._zoomOut),this._updateDisabled(),e.on(`zoomend zoomlevelschange`,this._updateDisabled,this),n},onRemove:function(e){e.off(`zoomend zoomlevelschange`,this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(e){!this._disabled&&this._map._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(e.shiftKey?3:1))},_zoomOut:function(e){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(e.shiftKey?3:1))},_createButton:function(e,t,n,r,i){var a=U(`a`,n,r);return a.innerHTML=e,a.href=`#`,a.title=t,a.setAttribute(`role`,`button`),a.setAttribute(`aria-label`,t),Zt(a),q(a,`click`,$t),q(a,`click`,i,this),q(a,`click`,this._refocusOnMap,this),a},_updateDisabled:function(){var e=this._map,t=`leaflet-disabled`;Ct(this._zoomInButton,t),Ct(this._zoomOutButton,t),this._zoomInButton.setAttribute(`aria-disabled`,`false`),this._zoomOutButton.setAttribute(`aria-disabled`,`false`),(this._disabled||e._zoom===e.getMinZoom())&&(G(this._zoomOutButton,t),this._zoomOutButton.setAttribute(`aria-disabled`,`true`)),(this._disabled||e._zoom===e.getMaxZoom())&&(G(this._zoomInButton,t),this._zoomInButton.setAttribute(`aria-disabled`,`true`))}});Y.mergeOptions({zoomControl:!0}),Y.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new pn,this.addControl(this.zoomControl))});var mn=function(e){return new pn(e)},hn=ln.extend({options:{position:`bottomleft`,maxWidth:100,metric:!0,imperial:!0},onAdd:function(e){var t=`leaflet-control-scale`,n=U(`div`,t),r=this.options;return this._addScales(r,t+`-line`,n),e.on(r.updateWhenIdle?`moveend`:`move`,this._update,this),e.whenReady(this._update,this),n},onRemove:function(e){e.off(this.options.updateWhenIdle?`moveend`:`move`,this._update,this)},_addScales:function(e,t,n){e.metric&&(this._mScale=U(`div`,t,n)),e.imperial&&(this._iScale=U(`div`,t,n))},_update:function(){var e=this._map,t=e.getSize().y/2,n=e.distance(e.containerPointToLatLng([0,t]),e.containerPointToLatLng([this.options.maxWidth,t]));this._updateScales(n)},_updateScales:function(e){this.options.metric&&e&&this._updateMetric(e),this.options.imperial&&e&&this._updateImperial(e)},_updateMetric:function(e){var t=this._getRoundNum(e),n=t<1e3?t+` m`:t/1e3+` km`;this._updateScale(this._mScale,n,t/e)},_updateImperial:function(e){var t=e*3.2808399,n,r,i;t>5280?(n=t/5280,r=this._getRoundNum(n),this._updateScale(this._iScale,r+` mi`,r/n)):(i=this._getRoundNum(t),this._updateScale(this._iScale,i+` ft`,i/t))},_updateScale:function(e,t,n){e.style.width=Math.round(this.options.maxWidth*n)+`px`,e.innerHTML=t},_getRoundNum:function(e){var t=10**((Math.floor(e)+``).length-1),n=e/t;return n=n>=10?10:n>=5?5:n>=3?3:n>=2?2:1,t*n}}),gn=function(e){return new hn(e)},_n=ln.extend({options:{position:`bottomright`,prefix:`<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">`+(H.inlineSvg?`<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" class="leaflet-attribution-flag"><path fill="#4C7BE1" d="M0 0h12v4H0z"/><path fill="#FFD500" d="M0 4h12v3H0z"/><path fill="#E0BC00" d="M0 7h12v1H0z"/></svg> `:``)+`Leaflet</a>`},initialize:function(e){p(this,e),this._attributions={}},onAdd:function(e){for(var t in e.attributionControl=this,this._container=U(`div`,`leaflet-control-attribution`),Zt(this._container),e._layers)e._layers[t].getAttribution&&this.addAttribution(e._layers[t].getAttribution());return this._update(),e.on(`layeradd`,this._addAttribution,this),this._container},onRemove:function(e){e.off(`layeradd`,this._addAttribution,this)},_addAttribution:function(e){e.layer.getAttribution&&(this.addAttribution(e.layer.getAttribution()),e.layer.once(`remove`,function(){this.removeAttribution(e.layer.getAttribution())},this))},setPrefix:function(e){return this.options.prefix=e,this._update(),this},addAttribution:function(e){return e&&(this._attributions[e]||(this._attributions[e]=0),this._attributions[e]++,this._update()),this},removeAttribution:function(e){return e&&this._attributions[e]&&(this._attributions[e]--,this._update()),this},_update:function(){if(this._map){var e=[];for(var t in this._attributions)this._attributions[t]&&e.push(t);var n=[];this.options.prefix&&n.push(this.options.prefix),e.length&&n.push(e.join(`, `)),this._container.innerHTML=n.join(` <span aria-hidden="true">|</span> `)}}});Y.mergeOptions({attributionControl:!0}),Y.addInitHook(function(){this.options.attributionControl&&new _n().addTo(this)}),ln.Layers=dn,ln.Zoom=pn,ln.Scale=hn,ln.Attribution=_n,un.layers=fn,un.zoom=mn,un.scale=gn,un.attribution=function(e){return new _n(e)};var vn=O.extend({initialize:function(e){this._map=e},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled&&(this._enabled=!1,this.removeHooks()),this},enabled:function(){return!!this._enabled}});vn.addTo=function(e,t){return e.addHandler(t,this),this};var yn={Events:A},bn=H.touch?`touchstart mousedown`:`mousedown`,xn=j.extend({options:{clickTolerance:3},initialize:function(e,t,n,r){p(this,r),this._element=e,this._dragStartTarget=t||e,this._preventOutline=n},enable:function(){this._enabled||=(q(this._dragStartTarget,bn,this._onDown,this),!0)},disable:function(){this._enabled&&(xn._dragging===this&&this.finishDrag(!0),J(this._dragStartTarget,bn,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(e){if(this._enabled&&(this._moved=!1,!St(this._element,`leaflet-zoom-anim`))){if(e.touches&&e.touches.length!==1)xn._dragging===this&&this.finishDrag();else if(!(xn._dragging||e.shiftKey||e.which!==1&&e.button!==1&&!e.touches)&&(xn._dragging=this,this._preventOutline&&zt(this._element),Ft(),jt(),!this._moving)){this.fire(`down`);var t=e.touches?e.touches[0]:e,n=Vt(this._element);this._startPoint=new M(t.clientX,t.clientY),this._startPos=At(this._element),this._parentScale=Ht(n);var r=e.type===`mousedown`;q(document,r?`mousemove`:`touchmove`,this._onMove,this),q(document,r?`mouseup`:`touchend touchcancel`,this._onUp,this)}}},_onMove:function(e){if(this._enabled){if(e.touches&&e.touches.length>1)this._moved=!0;else{var t=e.touches&&e.touches.length===1?e.touches[0]:e,n=new M(t.clientX,t.clientY)._subtract(this._startPoint);(n.x||n.y)&&(Math.abs(n.x)+Math.abs(n.y)<this.options.clickTolerance||(n.x/=this._parentScale.x,n.y/=this._parentScale.y,Qt(e),this._moved||(this.fire(`dragstart`),this._moved=!0,G(document.body,`leaflet-dragging`),this._lastTarget=e.target||e.srcElement,window.SVGElementInstance&&this._lastTarget instanceof window.SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),G(this._lastTarget,`leaflet-drag-target`)),this._newPos=this._startPos.add(n),this._moving=!0,this._lastEvent=e,this._updatePosition()))}}},_updatePosition:function(){var e={originalEvent:this._lastEvent};this.fire(`predrag`,e),K(this._element,this._newPos),this.fire(`drag`,e)},_onUp:function(){this._enabled&&this.finishDrag()},finishDrag:function(e){Ct(document.body,`leaflet-dragging`),this._lastTarget&&=(Ct(this._lastTarget,`leaflet-drag-target`),null),J(document,`mousemove touchmove`,this._onMove,this),J(document,`mouseup touchend touchcancel`,this._onUp,this),It(),Mt();var t=this._moved&&this._moving;this._moving=!1,xn._dragging=!1,t&&this.fire(`dragend`,{noInertia:e,distance:this._newPos.distanceTo(this._startPos)})}});function Sn(e,t,n){for(var r,i=[1,4,2,8],a=0,o,s,c,l,u=e.length,d,f;a<u;a++)e[a]._code=Fn(e[a],t);for(s=0;s<4;s++){for(d=i[s],r=[],a=0,u=e.length,o=u-1;a<u;o=a++)c=e[a],l=e[o],c._code&d?l._code&d||(f=Pn(l,c,d,t,n),f._code=Fn(f,t),r.push(f)):(l._code&d&&(f=Pn(l,c,d,t,n),f._code=Fn(f,t),r.push(f)),r.push(c));e=r}return e}function Cn(e,t){var n,r,i,a,o,s,c,l,u;if(!e||e.length===0)throw Error(`latlngs not passed`);Rn(e)||(console.warn(`latlngs are not flat! Only the first ring will be used`),e=e[0]);var d=B([0,0]),f=ee(e);f.getNorthWest().distanceTo(f.getSouthWest())*f.getNorthEast().distanceTo(f.getNorthWest())<1700&&(d=wn(e));var p=e.length,m=[];for(n=0;n<p;n++){var h=B(e[n]);m.push(t.project(B([h.lat-d.lat,h.lng-d.lng])))}for(s=c=l=0,n=0,r=p-1;n<p;r=n++)i=m[n],a=m[r],o=i.y*a.x-a.y*i.x,c+=(i.x+a.x)*o,l+=(i.y+a.y)*o,s+=o*3;u=s===0?m[0]:[c/s,l/s];var g=t.unproject(P(u));return B([g.lat+d.lat,g.lng+d.lng])}function wn(e){for(var t=0,n=0,r=0,i=0;i<e.length;i++){var a=B(e[i]);t+=a.lat,n+=a.lng,r++}return B([t/r,n/r])}var Tn={__proto__:null,clipPolygon:Sn,polygonCenter:Cn,centroid:wn};function En(e,t){if(!t||!e.length)return e.slice();var n=t*t;return e=jn(e,n),e=kn(e,n),e}function Dn(e,t,n){return Math.sqrt(Ln(e,t,n,!0))}function On(e,t,n){return Ln(e,t,n)}function kn(e,t){var n=e.length,r=new(typeof Uint8Array<`u`?Uint8Array:Array)(n);r[0]=r[n-1]=1,An(e,r,t,0,n-1);var i,a=[];for(i=0;i<n;i++)r[i]&&a.push(e[i]);return a}function An(e,t,n,r,i){for(var a=0,o,s=r+1,c;s<=i-1;s++)c=Ln(e[s],e[r],e[i],!0),c>a&&(o=s,a=c);a>n&&(t[o]=1,An(e,t,n,r,o),An(e,t,n,o,i))}function jn(e,t){for(var n=[e[0]],r=1,i=0,a=e.length;r<a;r++)In(e[r],e[i])>t&&(n.push(e[r]),i=r);return i<a-1&&n.push(e[a-1]),n}var Mn;function Nn(e,t,n,r,i){var a=r?Mn:Fn(e,n),o=Fn(t,n),s,c,l;for(Mn=o;;){if(!(a|o))return[e,t];if(a&o)return!1;s=a||o,c=Pn(e,t,s,n,i),l=Fn(c,n),s===a?(e=c,a=l):(t=c,o=l)}}function Pn(e,t,n,r,i){var a=t.x-e.x,o=t.y-e.y,s=r.min,c=r.max,l,u;return n&8?(l=e.x+a*(c.y-e.y)/o,u=c.y):n&4?(l=e.x+a*(s.y-e.y)/o,u=s.y):n&2?(l=c.x,u=e.y+o*(c.x-e.x)/a):n&1&&(l=s.x,u=e.y+o*(s.x-e.x)/a),new M(l,u,i)}function Fn(e,t){var n=0;return e.x<t.min.x?n|=1:e.x>t.max.x&&(n|=2),e.y<t.min.y?n|=4:e.y>t.max.y&&(n|=8),n}function In(e,t){var n=t.x-e.x,r=t.y-e.y;return n*n+r*r}function Ln(e,t,n,r){var i=t.x,a=t.y,o=n.x-i,s=n.y-a,c=o*o+s*s,l;return c>0&&(l=((e.x-i)*o+(e.y-a)*s)/c,l>1?(i=n.x,a=n.y):l>0&&(i+=o*l,a+=s*l)),o=e.x-i,s=e.y-a,r?o*o+s*s:new M(i,a)}function Rn(e){return!_(e[0])||typeof e[0][0]!=`object`&&e[0][0]!==void 0}function zn(e){return console.warn(`Deprecated use of _flat, please use L.LineUtil.isFlat instead.`),Rn(e)}function Bn(e,t){var n,r,i,a,o,s,c,l;if(!e||e.length===0)throw Error(`latlngs not passed`);Rn(e)||(console.warn(`latlngs are not flat! Only the first ring will be used`),e=e[0]);var u=B([0,0]),d=ee(e);d.getNorthWest().distanceTo(d.getSouthWest())*d.getNorthEast().distanceTo(d.getNorthWest())<1700&&(u=wn(e));var f=e.length,p=[];for(n=0;n<f;n++){var m=B(e[n]);p.push(t.project(B([m.lat-u.lat,m.lng-u.lng])))}for(n=0,r=0;n<f-1;n++)r+=p[n].distanceTo(p[n+1])/2;if(r===0)l=p[0];else for(n=0,a=0;n<f-1;n++)if(o=p[n],s=p[n+1],i=o.distanceTo(s),a+=i,a>r){c=(a-r)/i,l=[s.x-c*(s.x-o.x),s.y-c*(s.y-o.y)];break}var h=t.unproject(P(l));return B([h.lat+u.lat,h.lng+u.lng])}var Vn={__proto__:null,simplify:En,pointToSegmentDistance:Dn,closestPointOnSegment:On,clipSegment:Nn,_getEdgeIntersection:Pn,_getBitCode:Fn,_sqClosestPointOnSegment:Ln,isFlat:Rn,_flat:zn,polylineCenter:Bn},Hn={project:function(e){return new M(e.lng,e.lat)},unproject:function(e){return new z(e.y,e.x)},bounds:new F([-180,-90],[180,90])},Un={R:6378137,R_MINOR:6356752.314245179,bounds:new F([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(e){var t=Math.PI/180,n=this.R,r=e.lat*t,i=this.R_MINOR/n,a=Math.sqrt(1-i*i),o=a*Math.sin(r),s=Math.tan(Math.PI/4-r/2)/((1-o)/(1+o))**(a/2);return r=-n*Math.log(Math.max(s,1e-10)),new M(e.lng*t*n,r)},unproject:function(e){for(var t=180/Math.PI,n=this.R,r=this.R_MINOR/n,i=Math.sqrt(1-r*r),a=Math.exp(-e.y/n),o=Math.PI/2-2*Math.atan(a),s=0,c=.1,l;s<15&&Math.abs(c)>1e-7;s++)l=i*Math.sin(o),l=((1-l)/(1+l))**(i/2),c=Math.PI/2-2*Math.atan(a*l)-o,o+=c;return new z(o*t,e.x*t/n)}},Wn={__proto__:null,LonLat:Hn,Mercator:Un,SphericalMercator:ie},Gn=n({},ne,{code:`EPSG:3395`,projection:Un,transformation:function(){var e=.5/(Math.PI*Un.R);return oe(e,.5,-e,.5)}()}),Kn=n({},ne,{code:`EPSG:4326`,projection:Hn,transformation:oe(1/180,1,-1/180,.5)}),qn=n({},te,{projection:Hn,transformation:oe(1,0,-1,0),scale:function(e){return 2**e},zoom:function(e){return Math.log(e)/Math.LN2},distance:function(e,t){var n=t.lng-e.lng,r=t.lat-e.lat;return Math.sqrt(n*n+r*r)},infinite:!0});te.Earth=ne,te.EPSG3395=Gn,te.EPSG3857=se,te.EPSG900913=ce,te.EPSG4326=Kn,te.Simple=qn;var Jn=j.extend({options:{pane:`overlayPane`,attribution:null,bubblingMouseEvents:!0},addTo:function(e){return e.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(e){return e&&e.removeLayer(this),this},getPane:function(e){return this._map.getPane(e?this.options[e]||e:this.options.pane)},addInteractiveTarget:function(e){return this._map._targets[o(e)]=this,this},removeInteractiveTarget:function(e){return delete this._map._targets[o(e)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(e){var t=e.target;if(t.hasLayer(this)){if(this._map=t,this._zoomAnimated=t._zoomAnimated,this.getEvents){var n=this.getEvents();t.on(n,this),this.once(`remove`,function(){t.off(n,this)},this)}this.onAdd(t),this.fire(`add`),t.fire(`layeradd`,{layer:this})}}});Y.include({addLayer:function(e){if(!e._layerAdd)throw Error(`The provided object is not a Layer.`);var t=o(e);return this._layers[t]||(this._layers[t]=e,e._mapToAdd=this,e.beforeAdd&&e.beforeAdd(this),this.whenReady(e._layerAdd,e)),this},removeLayer:function(e){var t=o(e);return this._layers[t]&&(this._loaded&&e.onRemove(this),delete this._layers[t],this._loaded&&(this.fire(`layerremove`,{layer:e}),e.fire(`remove`)),e._map=e._mapToAdd=null),this},hasLayer:function(e){return o(e)in this._layers},eachLayer:function(e,t){for(var n in this._layers)e.call(t,this._layers[n]);return this},_addLayers:function(e){e=e?_(e)?e:[e]:[];for(var t=0,n=e.length;t<n;t++)this.addLayer(e[t])},_addZoomLimit:function(e){isNaN(e.options.maxZoom)&&isNaN(e.options.minZoom)||(this._zoomBoundLayers[o(e)]=e,this._updateZoomLevels())},_removeZoomLimit:function(e){var t=o(e);this._zoomBoundLayers[t]&&(delete this._zoomBoundLayers[t],this._updateZoomLevels())},_updateZoomLevels:function(){var e=1/0,t=-1/0,n=this._getZoomSpan();for(var r in this._zoomBoundLayers){var i=this._zoomBoundLayers[r].options;e=i.minZoom===void 0?e:Math.min(e,i.minZoom),t=i.maxZoom===void 0?t:Math.max(t,i.maxZoom)}this._layersMaxZoom=t===-1/0?void 0:t,this._layersMinZoom=e===1/0?void 0:e,n!==this._getZoomSpan()&&this.fire(`zoomlevelschange`),this.options.maxZoom===void 0&&this._layersMaxZoom&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),this.options.minZoom===void 0&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom&&this.setZoom(this._layersMinZoom)}});var Yn=Jn.extend({initialize:function(e,t){p(this,t),this._layers={};var n,r;if(e)for(n=0,r=e.length;n<r;n++)this.addLayer(e[n])},addLayer:function(e){var t=this.getLayerId(e);return this._layers[t]=e,this._map&&this._map.addLayer(e),this},removeLayer:function(e){var t=e in this._layers?e:this.getLayerId(e);return this._map&&this._layers[t]&&this._map.removeLayer(this._layers[t]),delete this._layers[t],this},hasLayer:function(e){return(typeof e==`number`?e:this.getLayerId(e))in this._layers},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(e){var t=Array.prototype.slice.call(arguments,1),n,r;for(n in this._layers)r=this._layers[n],r[e]&&r[e].apply(r,t);return this},onAdd:function(e){this.eachLayer(e.addLayer,e)},onRemove:function(e){this.eachLayer(e.removeLayer,e)},eachLayer:function(e,t){for(var n in this._layers)e.call(t,this._layers[n]);return this},getLayer:function(e){return this._layers[e]},getLayers:function(){var e=[];return this.eachLayer(e.push,e),e},setZIndex:function(e){return this.invoke(`setZIndex`,e)},getLayerId:function(e){return o(e)}}),Xn=function(e,t){return new Yn(e,t)},Zn=Yn.extend({addLayer:function(e){return this.hasLayer(e)?this:(e.addEventParent(this),Yn.prototype.addLayer.call(this,e),this.fire(`layeradd`,{layer:e}))},removeLayer:function(e){return this.hasLayer(e)?(e in this._layers&&(e=this._layers[e]),e.removeEventParent(this),Yn.prototype.removeLayer.call(this,e),this.fire(`layerremove`,{layer:e})):this},setStyle:function(e){return this.invoke(`setStyle`,e)},bringToFront:function(){return this.invoke(`bringToFront`)},bringToBack:function(){return this.invoke(`bringToBack`)},getBounds:function(){var e=new R;for(var t in this._layers){var n=this._layers[t];e.extend(n.getBounds?n.getBounds():n.getLatLng())}return e}}),Qn=function(e,t){return new Zn(e,t)},$n=O.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0],crossOrigin:!1},initialize:function(e){p(this,e)},createIcon:function(e){return this._createIcon(`icon`,e)},createShadow:function(e){return this._createIcon(`shadow`,e)},_createIcon:function(e,t){var n=this._getIconUrl(e);if(!n){if(e===`icon`)throw Error(`iconUrl not set in Icon options (see the docs).`);return null}var r=this._createImg(n,t&&t.tagName===`IMG`?t:null);return this._setIconStyles(r,e),(this.options.crossOrigin||this.options.crossOrigin===``)&&(r.crossOrigin=this.options.crossOrigin===!0?``:this.options.crossOrigin),r},_setIconStyles:function(e,t){var n=this.options,r=n[t+`Size`];typeof r==`number`&&(r=[r,r]);var i=P(r),a=P(t===`shadow`&&n.shadowAnchor||n.iconAnchor||i&&i.divideBy(2,!0));e.className=`leaflet-marker-`+t+` `+(n.className||``),a&&(e.style.marginLeft=-a.x+`px`,e.style.marginTop=-a.y+`px`),i&&(e.style.width=i.x+`px`,e.style.height=i.y+`px`)},_createImg:function(e,t){return t||=document.createElement(`img`),t.src=e,t},_getIconUrl:function(e){return H.retina&&this.options[e+`RetinaUrl`]||this.options[e+`Url`]}});function er(e){return new $n(e)}var tr=$n.extend({options:{iconUrl:`marker-icon.png`,iconRetinaUrl:`marker-icon-2x.png`,shadowUrl:`marker-shadow.png`,iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(e){return typeof tr.imagePath!=`string`&&(tr.imagePath=this._detectIconPath()),(this.options.imagePath||tr.imagePath)+$n.prototype._getIconUrl.call(this,e)},_stripUrl:function(e){var t=function(e,t,n){var r=t.exec(e);return r&&r[n]};return e=t(e,/^url\((['"])?(.+)\1\)$/,2),e&&t(e,/^(.*)marker-icon\.png$/,1)},_detectIconPath:function(){var e=U(`div`,`leaflet-default-icon-path`,document.body),t=vt(e,`background-image`)||vt(e,`backgroundImage`);if(document.body.removeChild(e),t=this._stripUrl(t),t)return t;var n=document.querySelector(`link[href$="leaflet.css"]`);return n?n.href.substring(0,n.href.length-11-1):``}}),nr=vn.extend({initialize:function(e){this._marker=e},addHooks:function(){var e=this._marker._icon;this._draggable||=new xn(e,e,!0),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),G(e,`leaflet-marker-draggable`)},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).disable(),this._marker._icon&&Ct(this._marker._icon,`leaflet-marker-draggable`)},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(e){var t=this._marker,n=t._map,r=this._marker.options.autoPanSpeed,i=this._marker.options.autoPanPadding,a=At(t._icon),o=n.getPixelBounds(),s=n.getPixelOrigin(),c=I(o.min._subtract(s).add(i),o.max._subtract(s).subtract(i));if(!c.contains(a)){var l=P((Math.max(c.max.x,a.x)-c.max.x)/(o.max.x-c.max.x)-(Math.min(c.min.x,a.x)-c.min.x)/(o.min.x-c.min.x),(Math.max(c.max.y,a.y)-c.max.y)/(o.max.y-c.max.y)-(Math.min(c.min.y,a.y)-c.min.y)/(o.min.y-c.min.y)).multiplyBy(r);n.panBy(l,{animate:!1}),this._draggable._newPos._add(l),this._draggable._startPos._add(l),K(t._icon,this._draggable._newPos),this._onDrag(e),this._panRequest=T(this._adjustPan.bind(this,e))}},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup&&this._marker.closePopup(),this._marker.fire(`movestart`).fire(`dragstart`)},_onPreDrag:function(e){this._marker.options.autoPan&&(E(this._panRequest),this._panRequest=T(this._adjustPan.bind(this,e)))},_onDrag:function(e){var t=this._marker,n=t._shadow,r=At(t._icon),i=t._map.layerPointToLatLng(r);n&&K(n,r),t._latlng=i,e.latlng=i,e.oldLatLng=this._oldLatLng,t.fire(`move`,e).fire(`drag`,e)},_onDragEnd:function(e){E(this._panRequest),delete this._oldLatLng,this._marker.fire(`moveend`).fire(`dragend`,e)}}),rr=Jn.extend({options:{icon:new tr,interactive:!0,keyboard:!0,title:``,alt:`Marker`,zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:`markerPane`,shadowPane:`shadowPane`,bubblingMouseEvents:!1,autoPanOnFocus:!0,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10},initialize:function(e,t){p(this,t),this._latlng=B(e)},onAdd:function(e){this._zoomAnimated=this._zoomAnimated&&e.options.markerZoomAnimation,this._zoomAnimated&&e.on(`zoomanim`,this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(e){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&e.off(`zoomanim`,this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(e){var t=this._latlng;return this._latlng=B(e),this.update(),this.fire(`move`,{oldLatLng:t,latlng:this._latlng})},setZIndexOffset:function(e){return this.options.zIndexOffset=e,this.update()},getIcon:function(){return this.options.icon},setIcon:function(e){return this.options.icon=e,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){if(this._icon&&this._map){var e=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(e)}return this},_initIcon:function(){var e=this.options,t=`leaflet-zoom-`+(this._zoomAnimated?`animated`:`hide`),n=e.icon.createIcon(this._icon),r=!1;n!==this._icon&&(this._icon&&this._removeIcon(),r=!0,e.title&&(n.title=e.title),n.tagName===`IMG`&&(n.alt=e.alt||``)),G(n,t),e.keyboard&&(n.tabIndex=`0`,n.setAttribute(`role`,`button`)),this._icon=n,e.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&q(n,`focus`,this._panOnFocus,this);var i=e.icon.createShadow(this._shadow),a=!1;i!==this._shadow&&(this._removeShadow(),a=!0),i&&(G(i,t),i.alt=``),this._shadow=i,e.opacity<1&&this._updateOpacity(),r&&this.getPane().appendChild(this._icon),this._initInteraction(),i&&a&&this.getPane(e.shadowPane).appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&J(this._icon,`focus`,this._panOnFocus,this),W(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&W(this._shadow),this._shadow=null},_setPos:function(e){this._icon&&K(this._icon,e),this._shadow&&K(this._shadow,e),this._zIndex=e.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(e){this._icon&&(this._icon.style.zIndex=this._zIndex+e)},_animateZoom:function(e){var t=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center).round();this._setPos(t)},_initInteraction:function(){if(this.options.interactive&&(G(this._icon,`leaflet-interactive`),this.addInteractiveTarget(this._icon),nr)){var e=this.options.draggable;this.dragging&&(e=this.dragging.enabled(),this.dragging.disable()),this.dragging=new nr(this),e&&this.dragging.enable()}},setOpacity:function(e){return this.options.opacity=e,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var e=this.options.opacity;this._icon&&Et(this._icon,e),this._shadow&&Et(this._shadow,e)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_panOnFocus:function(){var e=this._map;if(e){var t=this.options.icon.options,n=t.iconSize?P(t.iconSize):P(0,0),r=t.iconAnchor?P(t.iconAnchor):P(0,0);e.panInside(this._latlng,{paddingTopLeft:r,paddingBottomRight:n.subtract(r)})}},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}});function ir(e,t){return new rr(e,t)}var ar=Jn.extend({options:{stroke:!0,color:`#3388ff`,weight:3,opacity:1,lineCap:`round`,lineJoin:`round`,dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,fillRule:`evenodd`,interactive:!0,bubblingMouseEvents:!0},beforeAdd:function(e){this._renderer=e.getRenderer(this)},onAdd:function(){this._renderer._initPath(this),this._reset(),this._renderer._addPath(this)},onRemove:function(){this._renderer._removePath(this)},redraw:function(){return this._map&&this._renderer._updatePath(this),this},setStyle:function(e){return p(this,e),this._renderer&&(this._renderer._updateStyle(this),this.options.stroke&&e&&Object.prototype.hasOwnProperty.call(e,`weight`)&&this._updateBounds()),this},bringToFront:function(){return this._renderer&&this._renderer._bringToFront(this),this},bringToBack:function(){return this._renderer&&this._renderer._bringToBack(this),this},getElement:function(){return this._path},_reset:function(){this._project(),this._update()},_clickTolerance:function(){return(this.options.stroke?this.options.weight/2:0)+(this._renderer.options.tolerance||0)}}),or=ar.extend({options:{fill:!0,radius:10},initialize:function(e,t){p(this,t),this._latlng=B(e),this._radius=this.options.radius},setLatLng:function(e){var t=this._latlng;return this._latlng=B(e),this.redraw(),this.fire(`move`,{oldLatLng:t,latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(e){return this.options.radius=this._radius=e,this.redraw()},getRadius:function(){return this._radius},setStyle:function(e){var t=e&&e.radius||this._radius;return ar.prototype.setStyle.call(this,e),this.setRadius(t),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var e=this._radius,t=this._radiusY||e,n=this._clickTolerance(),r=[e+n,t+n];this._pxBounds=new F(this._point.subtract(r),this._point.add(r))},_update:function(){this._map&&this._updatePath()},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)},_containsPoint:function(e){return e.distanceTo(this._point)<=this._radius+this._clickTolerance()}});function sr(e,t){return new or(e,t)}var cr=or.extend({initialize:function(e,t,r){if(typeof t==`number`&&(t=n({},r,{radius:t})),p(this,t),this._latlng=B(e),isNaN(this.options.radius))throw Error(`Circle radius cannot be NaN`);this._mRadius=this.options.radius},setRadius:function(e){return this._mRadius=e,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var e=[this._radius,this._radiusY||this._radius];return new R(this._map.layerPointToLatLng(this._point.subtract(e)),this._map.layerPointToLatLng(this._point.add(e)))},setStyle:ar.prototype.setStyle,_project:function(){var e=this._latlng.lng,t=this._latlng.lat,n=this._map,r=n.options.crs;if(r.distance===ne.distance){var i=Math.PI/180,a=this._mRadius/ne.R/i,o=n.project([t+a,e]),s=n.project([t-a,e]),c=o.add(s).divideBy(2),l=n.unproject(c).lat,u=Math.acos((Math.cos(a*i)-Math.sin(t*i)*Math.sin(l*i))/(Math.cos(t*i)*Math.cos(l*i)))/i;(isNaN(u)||u===0)&&(u=a/Math.cos(Math.PI/180*t)),this._point=c.subtract(n.getPixelOrigin()),this._radius=isNaN(u)?0:c.x-n.project([l,e-u]).x,this._radiusY=c.y-o.y}else{var d=r.unproject(r.project(this._latlng).subtract([this._mRadius,0]));this._point=n.latLngToLayerPoint(this._latlng),this._radius=this._point.x-n.latLngToLayerPoint(d).x}this._updateBounds()}});function lr(e,t,n){return new cr(e,t,n)}var ur=ar.extend({options:{smoothFactor:1,noClip:!1},initialize:function(e,t){p(this,t),this._setLatLngs(e)},getLatLngs:function(){return this._latlngs},setLatLngs:function(e){return this._setLatLngs(e),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(e){for(var t=1/0,n=null,r=Ln,i,a,o=0,s=this._parts.length;o<s;o++)for(var c=this._parts[o],l=1,u=c.length;l<u;l++){i=c[l-1],a=c[l];var d=r(e,i,a,!0);d<t&&(t=d,n=r(e,i,a))}return n&&(n.distance=Math.sqrt(t)),n},getCenter:function(){if(!this._map)throw Error(`Must add layer to map before using getCenter()`);return Bn(this._defaultShape(),this._map.options.crs)},getBounds:function(){return this._bounds},addLatLng:function(e,t){return t||=this._defaultShape(),e=B(e),t.push(e),this._bounds.extend(e),this.redraw()},_setLatLngs:function(e){this._bounds=new R,this._latlngs=this._convertLatLngs(e)},_defaultShape:function(){return Rn(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(e){for(var t=[],n=Rn(e),r=0,i=e.length;r<i;r++)n?(t[r]=B(e[r]),this._bounds.extend(t[r])):t[r]=this._convertLatLngs(e[r]);return t},_project:function(){var e=new F;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,e),this._bounds.isValid()&&e.isValid()&&(this._rawPxBounds=e,this._updateBounds())},_updateBounds:function(){var e=this._clickTolerance(),t=new M(e,e);this._rawPxBounds&&(this._pxBounds=new F([this._rawPxBounds.min.subtract(t),this._rawPxBounds.max.add(t)]))},_projectLatlngs:function(e,t,n){var r=e[0]instanceof z,i=e.length,a,o;if(r){for(o=[],a=0;a<i;a++)o[a]=this._map.latLngToLayerPoint(e[a]),n.extend(o[a]);t.push(o)}else for(a=0;a<i;a++)this._projectLatlngs(e[a],t,n)},_clipPoints:function(){var e=this._renderer._bounds;if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(e)){if(this.options.noClip)this._parts=this._rings;else for(var t=this._parts,n=0,r,i=0,a=this._rings.length,o,s,c;n<a;n++)for(c=this._rings[n],r=0,o=c.length;r<o-1;r++)s=Nn(c[r],c[r+1],e,r,!0),s&&(t[i]=t[i]||[],t[i].push(s[0]),(s[1]!==c[r+1]||r===o-2)&&(t[i].push(s[1]),i++))}},_simplifyPoints:function(){for(var e=this._parts,t=this.options.smoothFactor,n=0,r=e.length;n<r;n++)e[n]=En(e[n],t)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(e,t){var n,r,i,a,o,s,c=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(e))return!1;for(n=0,a=this._parts.length;n<a;n++)for(s=this._parts[n],r=0,o=s.length,i=o-1;r<o;i=r++)if((t||r!==0)&&Dn(e,s[i],s[r])<=c)return!0;return!1}});function dr(e,t){return new ur(e,t)}ur._flat=zn;var fr=ur.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length},getCenter:function(){if(!this._map)throw Error(`Must add layer to map before using getCenter()`);return Cn(this._defaultShape(),this._map.options.crs)},_convertLatLngs:function(e){var t=ur.prototype._convertLatLngs.call(this,e),n=t.length;return n>=2&&t[0]instanceof z&&t[0].equals(t[n-1])&&t.pop(),t},_setLatLngs:function(e){ur.prototype._setLatLngs.call(this,e),Rn(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return Rn(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var e=this._renderer._bounds,t=this.options.weight,n=new M(t,t);if(e=new F(e.min.subtract(n),e.max.add(n)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(e)){if(this.options.noClip)this._parts=this._rings;else for(var r=0,i=this._rings.length,a;r<i;r++)a=Sn(this._rings[r],e,!0),a.length&&this._parts.push(a)}},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(e){var t=!1,n,r,i,a,o,s,c,l;if(!this._pxBounds||!this._pxBounds.contains(e))return!1;for(a=0,c=this._parts.length;a<c;a++)for(n=this._parts[a],o=0,l=n.length,s=l-1;o<l;s=o++)r=n[o],i=n[s],r.y>e.y!=i.y>e.y&&e.x<(i.x-r.x)*(e.y-r.y)/(i.y-r.y)+r.x&&(t=!t);return t||ur.prototype._containsPoint.call(this,e,!0)}});function pr(e,t){return new fr(e,t)}var mr=Zn.extend({initialize:function(e,t){p(this,t),this._layers={},e&&this.addData(e)},addData:function(e){var t=_(e)?e:e.features,n,r,i;if(t){for(n=0,r=t.length;n<r;n++)i=t[n],(i.geometries||i.geometry||i.features||i.coordinates)&&this.addData(i);return this}var a=this.options;if(a.filter&&!a.filter(e))return this;var o=hr(e,a);return o?(o.feature=Sr(e),o.defaultOptions=o.options,this.resetStyle(o),a.onEachFeature&&a.onEachFeature(e,o),this.addLayer(o)):this},resetStyle:function(e){return e===void 0?this.eachLayer(this.resetStyle,this):(e.options=n({},e.defaultOptions),this._setLayerStyle(e,this.options.style),this)},setStyle:function(e){return this.eachLayer(function(t){this._setLayerStyle(t,e)},this)},_setLayerStyle:function(e,t){e.setStyle&&(typeof t==`function`&&(t=t(e.feature)),e.setStyle(t))}});function hr(e,t){var n=e.type===`Feature`?e.geometry:e,r=n?n.coordinates:null,i=[],a=t&&t.pointToLayer,o=t&&t.coordsToLatLng||_r,s,c,l,u;if(!r&&!n)return null;switch(n.type){case`Point`:return s=o(r),gr(a,e,s,t);case`MultiPoint`:for(l=0,u=r.length;l<u;l++)s=o(r[l]),i.push(gr(a,e,s,t));return new Zn(i);case`LineString`:case`MultiLineString`:return c=vr(r,n.type===`LineString`?0:1,o),new ur(c,t);case`Polygon`:case`MultiPolygon`:return c=vr(r,n.type===`Polygon`?1:2,o),new fr(c,t);case`GeometryCollection`:for(l=0,u=n.geometries.length;l<u;l++){var d=hr({geometry:n.geometries[l],type:`Feature`,properties:e.properties},t);d&&i.push(d)}return new Zn(i);case`FeatureCollection`:for(l=0,u=n.features.length;l<u;l++){var f=hr(n.features[l],t);f&&i.push(f)}return new Zn(i);default:throw Error(`Invalid GeoJSON object.`)}}function gr(e,t,n,r){return e?e(t,n):new rr(n,r&&r.markersInheritOptions&&r)}function _r(e){return new z(e[1],e[0],e[2])}function vr(e,t,n){for(var r=[],i=0,a=e.length,o;i<a;i++)o=t?vr(e[i],t-1,n):(n||_r)(e[i]),r.push(o);return r}function yr(e,t){return e=B(e),e.alt===void 0?[u(e.lng,t),u(e.lat,t)]:[u(e.lng,t),u(e.lat,t),u(e.alt,t)]}function br(e,t,n,r){for(var i=[],a=0,o=e.length;a<o;a++)i.push(t?br(e[a],Rn(e[a])?0:t-1,n,r):yr(e[a],r));return!t&&n&&i.length>0&&i.push(i[0].slice()),i}function xr(e,t){return e.feature?n({},e.feature,{geometry:t}):Sr(t)}function Sr(e){return e.type===`Feature`||e.type===`FeatureCollection`?e:{type:`Feature`,properties:{},geometry:e}}var Cr={toGeoJSON:function(e){return xr(this,{type:`Point`,coordinates:yr(this.getLatLng(),e)})}};rr.include(Cr),cr.include(Cr),or.include(Cr),ur.include({toGeoJSON:function(e){var t=!Rn(this._latlngs),n=br(this._latlngs,+!!t,!1,e);return xr(this,{type:(t?`Multi`:``)+`LineString`,coordinates:n})}}),fr.include({toGeoJSON:function(e){var t=!Rn(this._latlngs),n=t&&!Rn(this._latlngs[0]),r=br(this._latlngs,n?2:+!!t,!0,e);return t||(r=[r]),xr(this,{type:(n?`Multi`:``)+`Polygon`,coordinates:r})}}),Yn.include({toMultiPoint:function(e){var t=[];return this.eachLayer(function(n){t.push(n.toGeoJSON(e).geometry.coordinates)}),xr(this,{type:`MultiPoint`,coordinates:t})},toGeoJSON:function(e){var t=this.feature&&this.feature.geometry&&this.feature.geometry.type;if(t===`MultiPoint`)return this.toMultiPoint(e);var n=t===`GeometryCollection`,r=[];return this.eachLayer(function(t){if(t.toGeoJSON){var i=t.toGeoJSON(e);if(n)r.push(i.geometry);else{var a=Sr(i);a.type===`FeatureCollection`?r.push.apply(r,a.features):r.push(a)}}}),n?xr(this,{geometries:r,type:`GeometryCollection`}):{type:`FeatureCollection`,features:r}}});function X(e,t){return new mr(e,t)}var wr=X,Z=Jn.extend({options:{opacity:1,alt:``,interactive:!1,crossOrigin:!1,errorOverlayUrl:``,zIndex:1,className:``},initialize:function(e,t,n){this._url=e,this._bounds=ee(t),p(this,n)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(G(this._image,`leaflet-interactive`),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){W(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(e){return this.options.opacity=e,this._image&&this._updateOpacity(),this},setStyle:function(e){return e.opacity&&this.setOpacity(e.opacity),this},bringToFront:function(){return this._map&&bt(this._image),this},bringToBack:function(){return this._map&&xt(this._image),this},setUrl:function(e){return this._url=e,this._image&&(this._image.src=e),this},setBounds:function(e){return this._bounds=ee(e),this._map&&this._reset(),this},getEvents:function(){var e={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},setZIndex:function(e){return this.options.zIndex=e,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var e=this._url.tagName===`IMG`,t=this._image=e?this._url:U(`img`);G(t,`leaflet-image-layer`),this._zoomAnimated&&G(t,`leaflet-zoom-animated`),this.options.className&&G(t,this.options.className),t.onselectstart=l,t.onmousemove=l,t.onload=i(this.fire,this,`load`),t.onerror=i(this._overlayOnError,this,`error`),(this.options.crossOrigin||this.options.crossOrigin===``)&&(t.crossOrigin=this.options.crossOrigin===!0?``:this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),e?this._url=t.src:(t.src=this._url,t.alt=this.options.alt)},_animateZoom:function(e){var t=this._map.getZoomScale(e.zoom),n=this._map._latLngBoundsToNewLayerBounds(this._bounds,e.zoom,e.center).min;kt(this._image,n,t)},_reset:function(){var e=this._image,t=new F(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),n=t.getSize();K(e,t.min),e.style.width=n.x+`px`,e.style.height=n.y+`px`},_updateOpacity:function(){Et(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&this.options.zIndex!==void 0&&this.options.zIndex!==null&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire(`error`);var e=this.options.errorOverlayUrl;e&&this._url!==e&&(this._url=e,this._image.src=e)},getCenter:function(){return this._bounds.getCenter()}}),Tr=function(e,t,n){return new Z(e,t,n)},Er=Z.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var e=this._url.tagName===`VIDEO`,t=this._image=e?this._url:U(`video`);if(G(t,`leaflet-image-layer`),this._zoomAnimated&&G(t,`leaflet-zoom-animated`),this.options.className&&G(t,this.options.className),t.onselectstart=l,t.onmousemove=l,t.onloadeddata=i(this.fire,this,`load`),e){for(var n=t.getElementsByTagName(`source`),r=[],a=0;a<n.length;a++)r.push(n[a].src);this._url=n.length>0?r:[t.src]}else{_(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(t.style,`objectFit`)&&(t.style.objectFit=`fill`),t.autoplay=!!this.options.autoplay,t.loop=!!this.options.loop,t.muted=!!this.options.muted,t.playsInline=!!this.options.playsInline;for(var o=0;o<this._url.length;o++){var s=U(`source`);s.src=this._url[o],t.appendChild(s)}}}});function Dr(e,t,n){return new Er(e,t,n)}var Or=Z.extend({_initImage:function(){var e=this._image=this._url;G(e,`leaflet-image-layer`),this._zoomAnimated&&G(e,`leaflet-zoom-animated`),this.options.className&&G(e,this.options.className),e.onselectstart=l,e.onmousemove=l}});function kr(e,t,n){return new Or(e,t,n)}var Ar=Jn.extend({options:{interactive:!1,offset:[0,0],className:``,pane:void 0,content:``},initialize:function(e,t){e&&(e instanceof z||_(e))?(this._latlng=B(e),p(this,t)):(p(this,e),this._source=t),this.options.content&&(this._content=this.options.content)},openOn:function(e){return e=arguments.length?e:this._source._map,e.hasLayer(this)||e.addLayer(this),this},close:function(){return this._map&&this._map.removeLayer(this),this},toggle:function(e){return this._map?this.close():(arguments.length?this._source=e:e=this._source,this._prepareOpen(),this.openOn(e._map)),this},onAdd:function(e){this._zoomAnimated=e._zoomAnimated,this._container||this._initLayout(),e._fadeAnimated&&Et(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),e._fadeAnimated&&Et(this._container,1),this.bringToFront(),this.options.interactive&&(G(this._container,`leaflet-interactive`),this.addInteractiveTarget(this._container))},onRemove:function(e){e._fadeAnimated?(Et(this._container,0),this._removeTimeout=setTimeout(i(W,void 0,this._container),200)):W(this._container),this.options.interactive&&(Ct(this._container,`leaflet-interactive`),this.removeInteractiveTarget(this._container))},getLatLng:function(){return this._latlng},setLatLng:function(e){return this._latlng=B(e),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(e){return this._content=e,this.update(),this},getElement:function(){return this._container},update:function(){this._map&&(this._container.style.visibility=`hidden`,this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility=``,this._adjustPan())},getEvents:function(){var e={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&bt(this._container),this},bringToBack:function(){return this._map&&xt(this._container),this},_prepareOpen:function(e){var t=this._source;if(!t._map)return!1;if(t instanceof Zn){t=null;var n=this._source._layers;for(var r in n)if(n[r]._map){t=n[r];break}if(!t)return!1;this._source=t}if(!e){if(t.getCenter)e=t.getCenter();else if(t.getLatLng)e=t.getLatLng();else if(t.getBounds)e=t.getBounds().getCenter();else throw Error(`Unable to get source layer LatLng.`)}return this.setLatLng(e),this._map&&this.update(),!0},_updateContent:function(){if(this._content){var e=this._contentNode,t=typeof this._content==`function`?this._content(this._source||this):this._content;if(typeof t==`string`)e.innerHTML=t;else{for(;e.hasChildNodes();)e.removeChild(e.firstChild);e.appendChild(t)}this.fire(`contentupdate`)}},_updatePosition:function(){if(this._map){var e=this._map.latLngToLayerPoint(this._latlng),t=P(this.options.offset),n=this._getAnchor();this._zoomAnimated?K(this._container,e.add(n)):t=t.add(e).add(n);var r=this._containerBottom=-t.y,i=this._containerLeft=-Math.round(this._containerWidth/2)+t.x;this._container.style.bottom=r+`px`,this._container.style.left=i+`px`}},_getAnchor:function(){return[0,0]}});Y.include({_initOverlay:function(e,t,n,r){var i=t;return i instanceof e||(i=new e(r).setContent(t)),n&&i.setLatLng(n),i}}),Jn.include({_initOverlay:function(e,t,n,r){var i=n;return i instanceof e?(p(i,r),i._source=this):(i=t&&!r?t:new e(r,this),i.setContent(n)),i}});var jr=Ar.extend({options:{pane:`popupPane`,offset:[0,7],maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,closeOnEscapeKey:!0,className:``},openOn:function(e){return e=arguments.length?e:this._source._map,!e.hasLayer(this)&&e._popup&&e._popup.options.autoClose&&e.removeLayer(e._popup),e._popup=this,Ar.prototype.openOn.call(this,e)},onAdd:function(e){Ar.prototype.onAdd.call(this,e),e.fire(`popupopen`,{popup:this}),this._source&&(this._source.fire(`popupopen`,{popup:this},!0),this._source instanceof ar||this._source.on(`preclick`,Yt))},onRemove:function(e){Ar.prototype.onRemove.call(this,e),e.fire(`popupclose`,{popup:this}),this._source&&(this._source.fire(`popupclose`,{popup:this},!0),this._source instanceof ar||this._source.off(`preclick`,Yt))},getEvents:function(){var e=Ar.prototype.getEvents.call(this);return(this.options.closeOnClick===void 0?this._map.options.closePopupOnClick:this.options.closeOnClick)&&(e.preclick=this.close),this.options.keepInView&&(e.moveend=this._adjustPan),e},_initLayout:function(){var e=`leaflet-popup`,t=this._container=U(`div`,e+` `+(this.options.className||``)+` leaflet-zoom-animated`),n=this._wrapper=U(`div`,e+`-content-wrapper`,t);if(this._contentNode=U(`div`,e+`-content`,n),Zt(t),Xt(this._contentNode),q(t,`contextmenu`,Yt),this._tipContainer=U(`div`,e+`-tip-container`,t),this._tip=U(`div`,e+`-tip`,this._tipContainer),this.options.closeButton){var r=this._closeButton=U(`a`,e+`-close-button`,t);r.setAttribute(`role`,`button`),r.setAttribute(`aria-label`,`Close popup`),r.href=`#close`,r.innerHTML=`<span aria-hidden="true">×</span>`,q(r,`click`,function(e){Qt(e),this.close()},this)}},_updateLayout:function(){var e=this._contentNode,t=e.style;t.width=``,t.whiteSpace=`nowrap`;var n=e.offsetWidth;n=Math.min(n,this.options.maxWidth),n=Math.max(n,this.options.minWidth),t.width=n+1+`px`,t.whiteSpace=``,t.height=``;var r=e.offsetHeight,i=this.options.maxHeight,a=`leaflet-popup-scrolled`;i&&r>i?(t.height=i+`px`,G(e,a)):Ct(e,a),this._containerWidth=this._container.offsetWidth},_animateZoom:function(e){var t=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center),n=this._getAnchor();K(this._container,t.add(n))},_adjustPan:function(){if(this.options.autoPan){if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning)this._autopanning=!1;else{var e=this._map,t=parseInt(vt(this._container,`marginBottom`),10)||0,n=this._container.offsetHeight+t,r=this._containerWidth,i=new M(this._containerLeft,-n-this._containerBottom);i._add(At(this._container));var a=e.layerPointToContainerPoint(i),o=P(this.options.autoPanPadding),s=P(this.options.autoPanPaddingTopLeft||o),c=P(this.options.autoPanPaddingBottomRight||o),l=e.getSize(),u=0,d=0;a.x+r+c.x>l.x&&(u=a.x+r-l.x+c.x),a.x-u-s.x<0&&(u=a.x-s.x),a.y+n+c.y>l.y&&(d=a.y+n-l.y+c.y),a.y-d-s.y<0&&(d=a.y-s.y),(u||d)&&(this.options.keepInView&&(this._autopanning=!0),e.fire(`autopanstart`).panBy([u,d]))}}},_getAnchor:function(){return P(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),Mr=function(e,t){return new jr(e,t)};Y.mergeOptions({closePopupOnClick:!0}),Y.include({openPopup:function(e,t,n){return this._initOverlay(jr,e,t,n).openOn(this),this},closePopup:function(e){return e=arguments.length?e:this._popup,e&&e.close(),this}}),Jn.include({bindPopup:function(e,t){return this._popup=this._initOverlay(jr,this._popup,e,t),this._popupHandlersAdded||=(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),!0),this},unbindPopup:function(){return this._popup&&=(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,null),this},openPopup:function(e){return this._popup&&(this instanceof Zn||(this._popup._source=this),this._popup._prepareOpen(e||this._latlng)&&this._popup.openOn(this._map)),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return this._popup?this._popup.isOpen():!1},setPopupContent:function(e){return this._popup&&this._popup.setContent(e),this},getPopup:function(){return this._popup},_openPopup:function(e){if(this._popup&&this._map){$t(e);var t=e.layer||e.target;this._popup._source===t&&!(t instanceof ar)?this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(e.latlng):(this._popup._source=t,this.openPopup(e.latlng))}},_movePopup:function(e){this._popup.setLatLng(e.latlng)},_onKeyPress:function(e){e.originalEvent.keyCode===13&&this._openPopup(e)}});var Nr=Ar.extend({options:{pane:`tooltipPane`,offset:[0,0],direction:`auto`,permanent:!1,sticky:!1,opacity:.9},onAdd:function(e){Ar.prototype.onAdd.call(this,e),this.setOpacity(this.options.opacity),e.fire(`tooltipopen`,{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire(`tooltipopen`,{tooltip:this},!0))},onRemove:function(e){Ar.prototype.onRemove.call(this,e),e.fire(`tooltipclose`,{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire(`tooltipclose`,{tooltip:this},!0))},getEvents:function(){var e=Ar.prototype.getEvents.call(this);return this.options.permanent||(e.preclick=this.close),e},_initLayout:function(){var e=`leaflet-tooltip `+(this.options.className||``)+` leaflet-zoom-`+(this._zoomAnimated?`animated`:`hide`);this._contentNode=this._container=U(`div`,e),this._container.setAttribute(`role`,`tooltip`),this._container.setAttribute(`id`,`leaflet-tooltip-`+o(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(e){var t,n,r=this._map,i=this._container,a=r.latLngToContainerPoint(r.getCenter()),o=r.layerPointToContainerPoint(e),s=this.options.direction,c=i.offsetWidth,l=i.offsetHeight,u=P(this.options.offset),d=this._getAnchor();s===`top`?(t=c/2,n=l):s===`bottom`?(t=c/2,n=0):s===`center`?(t=c/2,n=l/2):s===`right`?(t=0,n=l/2):s===`left`?(t=c,n=l/2):o.x<a.x?(s=`right`,t=0,n=l/2):(s=`left`,t=c+(u.x+d.x)*2,n=l/2),e=e.subtract(P(t,n,!0)).add(u).add(d),Ct(i,`leaflet-tooltip-right`),Ct(i,`leaflet-tooltip-left`),Ct(i,`leaflet-tooltip-top`),Ct(i,`leaflet-tooltip-bottom`),G(i,`leaflet-tooltip-`+s),K(i,e)},_updatePosition:function(){var e=this._map.latLngToLayerPoint(this._latlng);this._setPosition(e)},setOpacity:function(e){this.options.opacity=e,this._container&&Et(this._container,e)},_animateZoom:function(e){var t=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center);this._setPosition(t)},_getAnchor:function(){return P(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}}),Q=function(e,t){return new Nr(e,t)};Y.include({openTooltip:function(e,t,n){return this._initOverlay(Nr,e,t,n).openOn(this),this},closeTooltip:function(e){return e.close(),this}}),Jn.include({bindTooltip:function(e,t){return this._tooltip&&this.isTooltipOpen()&&this.unbindTooltip(),this._tooltip=this._initOverlay(Nr,this._tooltip,e,t),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&=(this._initTooltipInteractions(!0),this.closeTooltip(),null),this},_initTooltipInteractions:function(e){if(e||!this._tooltipHandlersAdded){var t=e?`off`:`on`,n={remove:this.closeTooltip,move:this._moveTooltip};this._tooltip.options.permanent?n.add=this._openTooltip:(n.mouseover=this._openTooltip,n.mouseout=this.closeTooltip,n.click=this._openTooltip,this._map?this._addFocusListeners():n.add=this._addFocusListeners),this._tooltip.options.sticky&&(n.mousemove=this._moveTooltip),this[t](n),this._tooltipHandlersAdded=!e}},openTooltip:function(e){return this._tooltip&&(this instanceof Zn||(this._tooltip._source=this),this._tooltip._prepareOpen(e)&&(this._tooltip.openOn(this._map),this.getElement?this._setAriaDescribedByOnLayer(this):this.eachLayer&&this.eachLayer(this._setAriaDescribedByOnLayer,this))),this},closeTooltip:function(){if(this._tooltip)return this._tooltip.close()},toggleTooltip:function(){return this._tooltip&&this._tooltip.toggle(this),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(e){return this._tooltip&&this._tooltip.setContent(e),this},getTooltip:function(){return this._tooltip},_addFocusListeners:function(){this.getElement?this._addFocusListenersOnLayer(this):this.eachLayer&&this.eachLayer(this._addFocusListenersOnLayer,this)},_addFocusListenersOnLayer:function(e){var t=typeof e.getElement==`function`&&e.getElement();t&&(q(t,`focus`,function(){this._tooltip._source=e,this.openTooltip()},this),q(t,`blur`,this.closeTooltip,this))},_setAriaDescribedByOnLayer:function(e){var t=typeof e.getElement==`function`&&e.getElement();t&&t.setAttribute(`aria-describedby`,this._tooltip._container.id)},_openTooltip:function(e){if(this._tooltip&&this._map){if(this._map.dragging&&this._map.dragging.moving()&&!this._openOnceFlag){this._openOnceFlag=!0;var t=this;this._map.once(`moveend`,function(){t._openOnceFlag=!1,t._openTooltip(e)})}else this._tooltip._source=e.layer||e.target,this.openTooltip(this._tooltip.options.sticky?e.latlng:void 0)}},_moveTooltip:function(e){var t=e.latlng,n,r;this._tooltip.options.sticky&&e.originalEvent&&(n=this._map.mouseEventToContainerPoint(e.originalEvent),r=this._map.containerPointToLayerPoint(n),t=this._map.layerPointToLatLng(r)),this._tooltip.setLatLng(t)}});var $=$n.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:`leaflet-div-icon`},createIcon:function(e){var t=e&&e.tagName===`DIV`?e:document.createElement(`div`),n=this.options;if(n.html instanceof Element?(yt(t),t.appendChild(n.html)):t.innerHTML=n.html===!1?``:n.html,n.bgPos){var r=P(n.bgPos);t.style.backgroundPosition=-r.x+`px `+-r.y+`px`}return this._setIconStyles(t,`icon`),t},createShadow:function(){return null}});function Pr(e){return new $(e)}$n.Default=tr;var Fr=Jn.extend({options:{tileSize:256,opacity:1,updateWhenIdle:H.mobile,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:`tilePane`,className:``,keepBuffer:2},initialize:function(e){p(this,e)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView()},beforeAdd:function(e){e._addZoomLimit(this)},onRemove:function(e){this._removeAllTiles(),W(this._container),e._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(bt(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(xt(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(e){return this.options.opacity=e,this._updateOpacity(),this},setZIndex:function(e){return this.options.zIndex=e,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){if(this._map){this._removeAllTiles();var e=this._clampZoom(this._map.getZoom());e!==this._tileZoom&&(this._tileZoom=e,this._updateLevels()),this._update()}return this},getEvents:function(){var e={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||=s(this._onMoveEnd,this.options.updateInterval,this),e.move=this._onMove),this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},createTile:function(){return document.createElement(`div`)},getTileSize:function(){var e=this.options.tileSize;return e instanceof M?e:new M(e,e)},_updateZIndex:function(){this._container&&this.options.zIndex!==void 0&&this.options.zIndex!==null&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(e){for(var t=this.getPane().children,n=-e(-1/0,1/0),r=0,i=t.length,a;r<i;r++)a=t[r].style.zIndex,t[r]!==this._container&&a&&(n=e(n,+a));isFinite(n)&&(this.options.zIndex=n+e(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!H.ielt9){Et(this._container,this.options.opacity);var e=+new Date,t=!1,n=!1;for(var r in this._tiles){var i=this._tiles[r];if(i.current&&i.loaded){var a=Math.min(1,(e-i.loaded)/200);Et(i.el,a),a<1?t=!0:(i.active?n=!0:this._onOpaqueTile(i),i.active=!0)}}n&&!this._noPrune&&this._pruneTiles(),t&&(E(this._fadeFrame),this._fadeFrame=T(this._updateOpacity,this))}},_onOpaqueTile:l,_initContainer:function(){this._container||(this._container=U(`div`,`leaflet-layer `+(this.options.className||``)),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var e=this._tileZoom,t=this.options.maxZoom;if(e!==void 0){for(var n in this._levels)n=Number(n),this._levels[n].el.children.length||n===e?(this._levels[n].el.style.zIndex=t-Math.abs(e-n),this._onUpdateLevel(n)):(W(this._levels[n].el),this._removeTilesAtZoom(n),this._onRemoveLevel(n),delete this._levels[n]);var r=this._levels[e],i=this._map;return r||(r=this._levels[e]={},r.el=U(`div`,`leaflet-tile-container leaflet-zoom-animated`,this._container),r.el.style.zIndex=t,r.origin=i.project(i.unproject(i.getPixelOrigin()),e).round(),r.zoom=e,this._setZoomTransform(r,i.getCenter(),i.getZoom()),r.el.offsetWidth,this._onCreateLevel(r)),this._level=r,r}},_onUpdateLevel:l,_onRemoveLevel:l,_onCreateLevel:l,_pruneTiles:function(){if(this._map){var e,t,n=this._map.getZoom();if(n>this.options.maxZoom||n<this.options.minZoom)this._removeAllTiles();else{for(e in this._tiles)t=this._tiles[e],t.retain=t.current;for(e in this._tiles)if(t=this._tiles[e],t.current&&!t.active){var r=t.coords;this._retainParent(r.x,r.y,r.z,r.z-5)||this._retainChildren(r.x,r.y,r.z,r.z+2)}for(e in this._tiles)this._tiles[e].retain||this._removeTile(e)}}},_removeTilesAtZoom:function(e){for(var t in this._tiles)this._tiles[t].coords.z===e&&this._removeTile(t)},_removeAllTiles:function(){for(var e in this._tiles)this._removeTile(e)},_invalidateAll:function(){for(var e in this._levels)W(this._levels[e].el),this._onRemoveLevel(Number(e)),delete this._levels[e];this._removeAllTiles(),this._tileZoom=void 0},_retainParent:function(e,t,n,r){var i=Math.floor(e/2),a=Math.floor(t/2),o=n-1,s=new M(+i,+a);s.z=+o;var c=this._tileCoordsToKey(s),l=this._tiles[c];return l&&l.active?(l.retain=!0,!0):(l&&l.loaded&&(l.retain=!0),o>r&&this._retainParent(i,a,o,r))},_retainChildren:function(e,t,n,r){for(var i=2*e;i<2*e+2;i++)for(var a=2*t;a<2*t+2;a++){var o=new M(i,a);o.z=n+1;var s=this._tileCoordsToKey(o),c=this._tiles[s];c&&c.active?c.retain=!0:(c&&c.loaded&&(c.retain=!0),n+1<r&&this._retainChildren(i,a,n+1,r))}},_resetView:function(e){var t=e&&(e.pinch||e.flyTo);this._setView(this._map.getCenter(),this._map.getZoom(),t,t)},_animateZoom:function(e){this._setView(e.center,e.zoom,!0,e.noUpdate)},_clampZoom:function(e){var t=this.options;return t.minNativeZoom!==void 0&&e<t.minNativeZoom?t.minNativeZoom:t.maxNativeZoom!==void 0&&t.maxNativeZoom<e?t.maxNativeZoom:e},_setView:function(e,t,n,r){var i=Math.round(t);i=this.options.maxZoom!==void 0&&i>this.options.maxZoom||this.options.minZoom!==void 0&&i<this.options.minZoom?void 0:this._clampZoom(i);var a=this.options.updateWhenZooming&&i!==this._tileZoom;(!r||a)&&(this._tileZoom=i,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),i!==void 0&&this._update(e),n||this._pruneTiles(),this._noPrune=!!n),this._setZoomTransforms(e,t)},_setZoomTransforms:function(e,t){for(var n in this._levels)this._setZoomTransform(this._levels[n],e,t)},_setZoomTransform:function(e,t,n){var r=this._map.getZoomScale(n,e.zoom),i=e.origin.multiplyBy(r).subtract(this._map._getNewPixelOrigin(t,n)).round();H.any3d?kt(e.el,i,r):K(e.el,i)},_resetGrid:function(){var e=this._map,t=e.options.crs,n=this._tileSize=this.getTileSize(),r=this._tileZoom,i=this._map.getPixelWorldBounds(this._tileZoom);i&&(this._globalTileRange=this._pxBoundsToTileRange(i)),this._wrapX=t.wrapLng&&!this.options.noWrap&&[Math.floor(e.project([0,t.wrapLng[0]],r).x/n.x),Math.ceil(e.project([0,t.wrapLng[1]],r).x/n.y)],this._wrapY=t.wrapLat&&!this.options.noWrap&&[Math.floor(e.project([t.wrapLat[0],0],r).y/n.x),Math.ceil(e.project([t.wrapLat[1],0],r).y/n.y)]},_onMoveEnd:function(){this._map&&!this._map._animatingZoom&&this._update()},_getTiledPixelBounds:function(e){var t=this._map,n=t._animatingZoom?Math.max(t._animateToZoom,t.getZoom()):t.getZoom(),r=t.getZoomScale(n,this._tileZoom),i=t.project(e,this._tileZoom).floor(),a=t.getSize().divideBy(r*2);return new F(i.subtract(a),i.add(a))},_update:function(e){var t=this._map;if(t){var n=this._clampZoom(t.getZoom());if(e===void 0&&(e=t.getCenter()),this._tileZoom!==void 0){var r=this._getTiledPixelBounds(e),i=this._pxBoundsToTileRange(r),a=i.getCenter(),o=[],s=this.options.keepBuffer,c=new F(i.getBottomLeft().subtract([s,-s]),i.getTopRight().add([s,-s]));if(!(isFinite(i.min.x)&&isFinite(i.min.y)&&isFinite(i.max.x)&&isFinite(i.max.y)))throw Error(`Attempted to load an infinite number of tiles`);for(var l in this._tiles){var u=this._tiles[l].coords;u.z===this._tileZoom&&c.contains(new M(u.x,u.y))||(this._tiles[l].current=!1)}if(Math.abs(n-this._tileZoom)>1)this._setView(e,n);else{for(var d=i.min.y;d<=i.max.y;d++)for(var f=i.min.x;f<=i.max.x;f++){var p=new M(f,d);if(p.z=this._tileZoom,this._isValidTile(p)){var m=this._tiles[this._tileCoordsToKey(p)];m?m.current=!0:o.push(p)}}if(o.sort(function(e,t){return e.distanceTo(a)-t.distanceTo(a)}),o.length!==0){this._loading||(this._loading=!0,this.fire(`loading`));var h=document.createDocumentFragment();for(f=0;f<o.length;f++)this._addTile(o[f],h);this._level.el.appendChild(h)}}}}},_isValidTile:function(e){var t=this._map.options.crs;if(!t.infinite){var n=this._globalTileRange;if(!t.wrapLng&&(e.x<n.min.x||e.x>n.max.x)||!t.wrapLat&&(e.y<n.min.y||e.y>n.max.y))return!1}if(!this.options.bounds)return!0;var r=this._tileCoordsToBounds(e);return ee(this.options.bounds).overlaps(r)},_keyToBounds:function(e){return this._tileCoordsToBounds(this._keyToTileCoords(e))},_tileCoordsToNwSe:function(e){var t=this._map,n=this.getTileSize(),r=e.scaleBy(n),i=r.add(n);return[t.unproject(r,e.z),t.unproject(i,e.z)]},_tileCoordsToBounds:function(e){var t=this._tileCoordsToNwSe(e),n=new R(t[0],t[1]);return this.options.noWrap||(n=this._map.wrapLatLngBounds(n)),n},_tileCoordsToKey:function(e){return e.x+`:`+e.y+`:`+e.z},_keyToTileCoords:function(e){var t=e.split(`:`),n=new M(+t[0],+t[1]);return n.z=+t[2],n},_removeTile:function(e){var t=this._tiles[e];t&&(W(t.el),delete this._tiles[e],this.fire(`tileunload`,{tile:t.el,coords:this._keyToTileCoords(e)}))},_initTile:function(e){G(e,`leaflet-tile`);var t=this.getTileSize();e.style.width=t.x+`px`,e.style.height=t.y+`px`,e.onselectstart=l,e.onmousemove=l,H.ielt9&&this.options.opacity<1&&Et(e,this.options.opacity)},_addTile:function(e,t){var n=this._getTilePos(e),r=this._tileCoordsToKey(e),a=this.createTile(this._wrapCoords(e),i(this._tileReady,this,e));this._initTile(a),this.createTile.length<2&&T(i(this._tileReady,this,e,null,a)),K(a,n),this._tiles[r]={el:a,coords:e,current:!0},t.appendChild(a),this.fire(`tileloadstart`,{tile:a,coords:e})},_tileReady:function(e,t,n){t&&this.fire(`tileerror`,{error:t,tile:n,coords:e});var r=this._tileCoordsToKey(e);n=this._tiles[r],n&&(n.loaded=+new Date,this._map._fadeAnimated?(Et(n.el,0),E(this._fadeFrame),this._fadeFrame=T(this._updateOpacity,this)):(n.active=!0,this._pruneTiles()),t||(G(n.el,`leaflet-tile-loaded`),this.fire(`tileload`,{tile:n.el,coords:e})),this._noTilesToLoad()&&(this._loading=!1,this.fire(`load`),H.ielt9||!this._map._fadeAnimated?T(this._pruneTiles,this):setTimeout(i(this._pruneTiles,this),250)))},_getTilePos:function(e){return e.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(e){var t=new M(this._wrapX?c(e.x,this._wrapX):e.x,this._wrapY?c(e.y,this._wrapY):e.y);return t.z=e.z,t},_pxBoundsToTileRange:function(e){var t=this.getTileSize();return new F(e.min.unscaleBy(t).floor(),e.max.unscaleBy(t).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var e in this._tiles)if(!this._tiles[e].loaded)return!1;return!0}});function Ir(e){return new Fr(e)}var Lr=Fr.extend({options:{minZoom:0,maxZoom:18,subdomains:`abc`,errorTileUrl:``,zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(e,t){this._url=e,t=p(this,t),t.detectRetina&&H.retina&&t.maxZoom>0?(t.tileSize=Math.floor(t.tileSize/2),t.zoomReverse?(t.zoomOffset--,t.minZoom=Math.min(t.maxZoom,t.minZoom+1)):(t.zoomOffset++,t.maxZoom=Math.max(t.minZoom,t.maxZoom-1)),t.minZoom=Math.max(0,t.minZoom)):t.zoomReverse?t.minZoom=Math.min(t.maxZoom,t.minZoom):t.maxZoom=Math.max(t.minZoom,t.maxZoom),typeof t.subdomains==`string`&&(t.subdomains=t.subdomains.split(``)),this.on(`tileunload`,this._onTileRemove)},setUrl:function(e,t){return this._url===e&&t===void 0&&(t=!0),this._url=e,t||this.redraw(),this},createTile:function(e,t){var n=document.createElement(`img`);return q(n,`load`,i(this._tileOnLoad,this,t,n)),q(n,`error`,i(this._tileOnError,this,t,n)),(this.options.crossOrigin||this.options.crossOrigin===``)&&(n.crossOrigin=this.options.crossOrigin===!0?``:this.options.crossOrigin),typeof this.options.referrerPolicy==`string`&&(n.referrerPolicy=this.options.referrerPolicy),n.alt=``,n.src=this.getTileUrl(e),n},getTileUrl:function(e){var t={r:H.retina?`@2x`:``,s:this._getSubdomain(e),x:e.x,y:e.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var r=this._globalTileRange.max.y-e.y;this.options.tms&&(t.y=r),t[`-y`]=r}return g(this._url,n(t,this.options))},_tileOnLoad:function(e,t){H.ielt9?setTimeout(i(e,this,null,t),0):e(null,t)},_tileOnError:function(e,t,n){var r=this.options.errorTileUrl;r&&t.getAttribute(`src`)!==r&&(t.src=r),e(n,t)},_onTileRemove:function(e){e.tile.onload=null},_getZoomForUrl:function(){var e=this._tileZoom,t=this.options.maxZoom,n=this.options.zoomReverse,r=this.options.zoomOffset;return n&&(e=t-e),e+r},_getSubdomain:function(e){var t=Math.abs(e.x+e.y)%this.options.subdomains.length;return this.options.subdomains[t]},_abortLoading:function(){var e,t;for(e in this._tiles)if(this._tiles[e].coords.z!==this._tileZoom&&(t=this._tiles[e].el,t.onload=l,t.onerror=l,!t.complete)){t.src=y;var n=this._tiles[e].coords;W(t),delete this._tiles[e],this.fire(`tileabort`,{tile:t,coords:n})}},_removeTile:function(e){var t=this._tiles[e];if(t)return t.el.setAttribute(`src`,y),Fr.prototype._removeTile.call(this,e)},_tileReady:function(e,t,n){if(!(!this._map||n&&n.getAttribute(`src`)===y))return Fr.prototype._tileReady.call(this,e,t,n)}});function Rr(e,t){return new Lr(e,t)}var zr=Lr.extend({defaultWmsParams:{service:`WMS`,request:`GetMap`,layers:``,styles:``,format:`image/jpeg`,transparent:!1,version:`1.1.1`},options:{crs:null,uppercase:!1},initialize:function(e,t){this._url=e;var r=n({},this.defaultWmsParams);for(var i in t)i in this.options||(r[i]=t[i]);t=p(this,t);var a=t.detectRetina&&H.retina?2:1,o=this.getTileSize();r.width=o.x*a,r.height=o.y*a,this.wmsParams=r},onAdd:function(e){this._crs=this.options.crs||e.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var t=this._wmsVersion>=1.3?`crs`:`srs`;this.wmsParams[t]=this._crs.code,Lr.prototype.onAdd.call(this,e)},getTileUrl:function(e){var t=this._tileCoordsToNwSe(e),n=this._crs,r=I(n.project(t[0]),n.project(t[1])),i=r.min,a=r.max,o=(this._wmsVersion>=1.3&&this._crs===Kn?[i.y,i.x,a.y,a.x]:[i.x,i.y,a.x,a.y]).join(`,`),s=Lr.prototype.getTileUrl.call(this,e);return s+m(this.wmsParams,s,this.options.uppercase)+(this.options.uppercase?`&BBOX=`:`&bbox=`)+o},setParams:function(e,t){return n(this.wmsParams,e),t||this.redraw(),this}});function Br(e,t){return new zr(e,t)}Lr.WMS=zr,Rr.wms=Br;var Vr=Jn.extend({options:{padding:.1},initialize:function(e){p(this,e),o(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),G(this._container,`leaflet-zoom-animated`)),this.getPane().appendChild(this._container),this._update(),this.on(`update`,this._updatePaths,this)},onRemove:function(){this.off(`update`,this._updatePaths,this),this._destroyContainer()},getEvents:function(){var e={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(e.zoomanim=this._onAnimZoom),e},_onAnimZoom:function(e){this._updateTransform(e.center,e.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(e,t){var n=this._map.getZoomScale(t,this._zoom),r=this._map.getSize().multiplyBy(.5+this.options.padding),i=this._map.project(this._center,t),a=r.multiplyBy(-n).add(i).subtract(this._map._getNewPixelOrigin(e,t));H.any3d?kt(this._container,a,n):K(this._container,a)},_reset:function(){for(var e in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[e]._reset()},_onZoomEnd:function(){for(var e in this._layers)this._layers[e]._project()},_updatePaths:function(){for(var e in this._layers)this._layers[e]._update()},_update:function(){var e=this.options.padding,t=this._map.getSize(),n=this._map.containerPointToLayerPoint(t.multiplyBy(-e)).round();this._bounds=new F(n,n.add(t.multiplyBy(1+e*2)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),Hr=Vr.extend({options:{tolerance:0},getEvents:function(){var e=Vr.prototype.getEvents.call(this);return e.viewprereset=this._onViewPreReset,e},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){Vr.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var e=this._container=document.createElement(`canvas`);q(e,`mousemove`,this._onMouseMove,this),q(e,`click dblclick mousedown mouseup contextmenu`,this._onClick,this),q(e,`mouseout`,this._handleMouseOut,this),e._leaflet_disable_events=!0,this._ctx=e.getContext(`2d`)},_destroyContainer:function(){E(this._redrawRequest),delete this._ctx,W(this._container),J(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){var e;for(var t in this._redrawBounds=null,this._layers)e=this._layers[t],e._update();this._redraw()}},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){Vr.prototype._update.call(this);var e=this._bounds,t=this._container,n=e.getSize(),r=H.retina?2:1;K(t,e.min),t.width=r*n.x,t.height=r*n.y,t.style.width=n.x+`px`,t.style.height=n.y+`px`,H.retina&&this._ctx.scale(2,2),this._ctx.translate(-e.min.x,-e.min.y),this.fire(`update`)}},_reset:function(){Vr.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(e){this._updateDashArray(e),this._layers[o(e)]=e;var t=e._order={layer:e,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=t),this._drawLast=t,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(e){this._requestRedraw(e)},_removePath:function(e){var t=e._order,n=t.next,r=t.prev;n?n.prev=r:this._drawLast=r,r?r.next=n:this._drawFirst=n,delete e._order,delete this._layers[o(e)],this._requestRedraw(e)},_updatePath:function(e){this._extendRedrawBounds(e),e._project(),e._update(),this._requestRedraw(e)},_updateStyle:function(e){this._updateDashArray(e),this._requestRedraw(e)},_updateDashArray:function(e){if(typeof e.options.dashArray==`string`){for(var t=e.options.dashArray.split(/[, ]+/),n=[],r,i=0;i<t.length;i++){if(r=Number(t[i]),isNaN(r))return;n.push(r)}e.options._dashArray=n}else e.options._dashArray=e.options.dashArray},_requestRedraw:function(e){this._map&&(this._extendRedrawBounds(e),this._redrawRequest=this._redrawRequest||T(this._redraw,this))},_extendRedrawBounds:function(e){if(e._pxBounds){var t=(e.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new F,this._redrawBounds.extend(e._pxBounds.min.subtract([t,t])),this._redrawBounds.extend(e._pxBounds.max.add([t,t]))}},_redraw:function(){this._redrawRequest=null,this._redrawBounds&&(this._redrawBounds.min._floor(),this._redrawBounds.max._ceil()),this._clear(),this._draw(),this._redrawBounds=null},_clear:function(){var e=this._redrawBounds;if(e){var t=e.getSize();this._ctx.clearRect(e.min.x,e.min.y,t.x,t.y)}else this._ctx.save(),this._ctx.setTransform(1,0,0,1,0,0),this._ctx.clearRect(0,0,this._container.width,this._container.height),this._ctx.restore()},_draw:function(){var e,t=this._redrawBounds;if(this._ctx.save(),t){var n=t.getSize();this._ctx.beginPath(),this._ctx.rect(t.min.x,t.min.y,n.x,n.y),this._ctx.clip()}this._drawing=!0;for(var r=this._drawFirst;r;r=r.next)e=r.layer,(!t||e._pxBounds&&e._pxBounds.intersects(t))&&e._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(e,t){if(this._drawing){var n,r,i,a,o=e._parts,s=o.length,c=this._ctx;if(s){for(c.beginPath(),n=0;n<s;n++){for(r=0,i=o[n].length;r<i;r++)a=o[n][r],c[r?`lineTo`:`moveTo`](a.x,a.y);t&&c.closePath()}this._fillStroke(c,e)}}},_updateCircle:function(e){if(this._drawing&&!e._empty()){var t=e._point,n=this._ctx,r=Math.max(Math.round(e._radius),1),i=(Math.max(Math.round(e._radiusY),1)||r)/r;i!==1&&(n.save(),n.scale(1,i)),n.beginPath(),n.arc(t.x,t.y/i,r,0,Math.PI*2,!1),i!==1&&n.restore(),this._fillStroke(n,e)}},_fillStroke:function(e,t){var n=t.options;n.fill&&(e.globalAlpha=n.fillOpacity,e.fillStyle=n.fillColor||n.color,e.fill(n.fillRule||`evenodd`)),n.stroke&&n.weight!==0&&(e.setLineDash&&e.setLineDash(t.options&&t.options._dashArray||[]),e.globalAlpha=n.opacity,e.lineWidth=n.weight,e.strokeStyle=n.color,e.lineCap=n.lineCap,e.lineJoin=n.lineJoin,e.stroke())},_onClick:function(e){for(var t=this._map.mouseEventToLayerPoint(e),n,r,i=this._drawFirst;i;i=i.next)n=i.layer,n.options.interactive&&n._containsPoint(t)&&(e.type!==`click`&&e.type!==`preclick`||!this._map._draggableMoved(n))&&(r=n);this._fireEvent(r?[r]:!1,e)},_onMouseMove:function(e){if(!(!this._map||this._map.dragging.moving()||this._map._animatingZoom)){var t=this._map.mouseEventToLayerPoint(e);this._handleMouseHover(e,t)}},_handleMouseOut:function(e){var t=this._hoveredLayer;t&&(Ct(this._container,`leaflet-interactive`),this._fireEvent([t],e,`mouseout`),this._hoveredLayer=null,this._mouseHoverThrottled=!1)},_handleMouseHover:function(e,t){if(!this._mouseHoverThrottled){for(var n,r,a=this._drawFirst;a;a=a.next)n=a.layer,n.options.interactive&&n._containsPoint(t)&&(r=n);r!==this._hoveredLayer&&(this._handleMouseOut(e),r&&(G(this._container,`leaflet-interactive`),this._fireEvent([r],e,`mouseover`),this._hoveredLayer=r)),this._fireEvent(this._hoveredLayer?[this._hoveredLayer]:!1,e),this._mouseHoverThrottled=!0,setTimeout(i(function(){this._mouseHoverThrottled=!1},this),32)}},_fireEvent:function(e,t,n){this._map._fireDOMEvent(t,n||t.type,e)},_bringToFront:function(e){var t=e._order;if(t){var n=t.next,r=t.prev;if(n)n.prev=r;else return;r?r.next=n:n&&(this._drawFirst=n),t.prev=this._drawLast,this._drawLast.next=t,t.next=null,this._drawLast=t,this._requestRedraw(e)}},_bringToBack:function(e){var t=e._order;if(t){var n=t.next,r=t.prev;if(r)r.next=n;else return;n?n.prev=r:r&&(this._drawLast=r),t.prev=null,t.next=this._drawFirst,this._drawFirst.prev=t,this._drawFirst=t,this._requestRedraw(e)}}});function Ur(e){return H.canvas?new Hr(e):null}var Wr=(function(){try{return document.namespaces.add(`lvml`,`urn:schemas-microsoft-com:vml`),function(e){return document.createElement(`<lvml:`+e+` class="lvml">`)}}catch{}return function(e){return document.createElement(`<`+e+` xmlns="urn:schemas-microsoft.com:vml" class="lvml">`)}})(),Gr={_initContainer:function(){this._container=U(`div`,`leaflet-vml-container`)},_update:function(){this._map._animatingZoom||(Vr.prototype._update.call(this),this.fire(`update`))},_initPath:function(e){var t=e._container=Wr(`shape`);G(t,`leaflet-vml-shape `+(this.options.className||``)),t.coordsize=`1 1`,e._path=Wr(`path`),t.appendChild(e._path),this._updateStyle(e),this._layers[o(e)]=e},_addPath:function(e){var t=e._container;this._container.appendChild(t),e.options.interactive&&e.addInteractiveTarget(t)},_removePath:function(e){var t=e._container;W(t),e.removeInteractiveTarget(t),delete this._layers[o(e)]},_updateStyle:function(e){var t=e._stroke,n=e._fill,r=e.options,i=e._container;i.stroked=!!r.stroke,i.filled=!!r.fill,r.stroke?(t||=e._stroke=Wr(`stroke`),i.appendChild(t),t.weight=r.weight+`px`,t.color=r.color,t.opacity=r.opacity,r.dashArray?t.dashStyle=_(r.dashArray)?r.dashArray.join(` `):r.dashArray.replace(/( *, *)/g,` `):t.dashStyle=``,t.endcap=r.lineCap.replace(`butt`,`flat`),t.joinstyle=r.lineJoin):t&&(i.removeChild(t),e._stroke=null),r.fill?(n||=e._fill=Wr(`fill`),i.appendChild(n),n.color=r.fillColor||r.color,n.opacity=r.fillOpacity):n&&(i.removeChild(n),e._fill=null)},_updateCircle:function(e){var t=e._point.round(),n=Math.round(e._radius),r=Math.round(e._radiusY||n);this._setPath(e,e._empty()?`M0 0`:`AL `+t.x+`,`+t.y+` `+n+`,`+r+` 0,23592600`)},_setPath:function(e,t){e._path.v=t},_bringToFront:function(e){bt(e._container)},_bringToBack:function(e){xt(e._container)}},Kr=H.vml?Wr:le,qr=Vr.extend({_initContainer:function(){this._container=Kr(`svg`),this._container.setAttribute(`pointer-events`,`none`),this._rootGroup=Kr(`g`),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){W(this._container),J(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){Vr.prototype._update.call(this);var e=this._bounds,t=e.getSize(),n=this._container;this._svgSize&&this._svgSize.equals(t)||(this._svgSize=t,n.setAttribute(`width`,t.x),n.setAttribute(`height`,t.y)),K(n,e.min),n.setAttribute(`viewBox`,[e.min.x,e.min.y,t.x,t.y].join(` `)),this.fire(`update`)}},_initPath:function(e){var t=e._path=Kr(`path`);e.options.className&&G(t,e.options.className),e.options.interactive&&G(t,`leaflet-interactive`),this._updateStyle(e),this._layers[o(e)]=e},_addPath:function(e){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(e._path),e.addInteractiveTarget(e._path)},_removePath:function(e){W(e._path),e.removeInteractiveTarget(e._path),delete this._layers[o(e)]},_updatePath:function(e){e._project(),e._update()},_updateStyle:function(e){var t=e._path,n=e.options;t&&(n.stroke?(t.setAttribute(`stroke`,n.color),t.setAttribute(`stroke-opacity`,n.opacity),t.setAttribute(`stroke-width`,n.weight),t.setAttribute(`stroke-linecap`,n.lineCap),t.setAttribute(`stroke-linejoin`,n.lineJoin),n.dashArray?t.setAttribute(`stroke-dasharray`,n.dashArray):t.removeAttribute(`stroke-dasharray`),n.dashOffset?t.setAttribute(`stroke-dashoffset`,n.dashOffset):t.removeAttribute(`stroke-dashoffset`)):t.setAttribute(`stroke`,`none`),n.fill?(t.setAttribute(`fill`,n.fillColor||n.color),t.setAttribute(`fill-opacity`,n.fillOpacity),t.setAttribute(`fill-rule`,n.fillRule||`evenodd`)):t.setAttribute(`fill`,`none`))},_updatePoly:function(e,t){this._setPath(e,ue(e._parts,t))},_updateCircle:function(e){var t=e._point,n=Math.max(Math.round(e._radius),1),r=Math.max(Math.round(e._radiusY),1)||n,i=`a`+n+`,`+r+` 0 1,0 `,a=e._empty()?`M0 0`:`M`+(t.x-n)+`,`+t.y+i+n*2+`,0 `+i+-n*2+`,0 `;this._setPath(e,a)},_setPath:function(e,t){e._path.setAttribute(`d`,t)},_bringToFront:function(e){bt(e._path)},_bringToBack:function(e){xt(e._path)}});H.vml&&qr.include(Gr);function Jr(e){return H.svg||H.vml?new qr(e):null}Y.include({getRenderer:function(e){var t=e.options.renderer||this._getPaneRenderer(e.options.pane)||this.options.renderer||this._renderer;return t||=this._renderer=this._createRenderer(),this.hasLayer(t)||this.addLayer(t),t},_getPaneRenderer:function(e){if(e===`overlayPane`||e===void 0)return!1;var t=this._paneRenderers[e];return t===void 0&&(t=this._createRenderer({pane:e}),this._paneRenderers[e]=t),t},_createRenderer:function(e){return this.options.preferCanvas&&Ur(e)||Jr(e)}});var Yr=fr.extend({initialize:function(e,t){fr.prototype.initialize.call(this,this._boundsToLatLngs(e),t)},setBounds:function(e){return this.setLatLngs(this._boundsToLatLngs(e))},_boundsToLatLngs:function(e){return e=ee(e),[e.getSouthWest(),e.getNorthWest(),e.getNorthEast(),e.getSouthEast()]}});function Xr(e,t){return new Yr(e,t)}qr.create=Kr,qr.pointsToPath=ue,mr.geometryToLayer=hr,mr.coordsToLatLng=_r,mr.coordsToLatLngs=vr,mr.latLngToCoords=yr,mr.latLngsToCoords=br,mr.getFeature=xr,mr.asFeature=Sr,Y.mergeOptions({boxZoom:!0});var Zr=vn.extend({initialize:function(e){this._map=e,this._container=e._container,this._pane=e._panes.overlayPane,this._resetStateTimeout=0,e.on(`unload`,this._destroy,this)},addHooks:function(){q(this._container,`mousedown`,this._onMouseDown,this)},removeHooks:function(){J(this._container,`mousedown`,this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){W(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){this._resetStateTimeout!==0&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(e){if(!e.shiftKey||e.which!==1&&e.button!==1)return!1;this._clearDeferredResetState(),this._resetState(),jt(),Ft(),this._startPoint=this._map.mouseEventToContainerPoint(e),q(document,{contextmenu:$t,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(e){this._moved||(this._moved=!0,this._box=U(`div`,`leaflet-zoom-box`,this._container),G(this._container,`leaflet-crosshair`),this._map.fire(`boxzoomstart`)),this._point=this._map.mouseEventToContainerPoint(e);var t=new F(this._point,this._startPoint),n=t.getSize();K(this._box,t.min),this._box.style.width=n.x+`px`,this._box.style.height=n.y+`px`},_finish:function(){this._moved&&(W(this._box),Ct(this._container,`leaflet-crosshair`)),Mt(),It(),J(document,{contextmenu:$t,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(e){if((e.which===1||e.button===1)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(i(this._resetState,this),0);var t=new R(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(t).fire(`boxzoomend`,{boxZoomBounds:t})}},_onKeyDown:function(e){e.keyCode===27&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});Y.addInitHook(`addHandler`,`boxZoom`,Zr),Y.mergeOptions({doubleClickZoom:!0});var Qr=vn.extend({addHooks:function(){this._map.on(`dblclick`,this._onDoubleClick,this)},removeHooks:function(){this._map.off(`dblclick`,this._onDoubleClick,this)},_onDoubleClick:function(e){var t=this._map,n=t.getZoom(),r=t.options.zoomDelta,i=e.originalEvent.shiftKey?n-r:n+r;t.options.doubleClickZoom===`center`?t.setZoom(i):t.setZoomAround(e.containerPoint,i)}});Y.addInitHook(`addHandler`,`doubleClickZoom`,Qr),Y.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var $r=vn.extend({addHooks:function(){if(!this._draggable){var e=this._map;this._draggable=new xn(e._mapPane,e._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on(`predrag`,this._onPreDragLimit,this),e.options.worldCopyJump&&(this._draggable.on(`predrag`,this._onPreDragWrap,this),e.on(`zoomend`,this._onZoomEnd,this),e.whenReady(this._onZoomEnd,this))}G(this._map._container,`leaflet-grab leaflet-touch-drag`),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){Ct(this._map._container,`leaflet-grab`),Ct(this._map._container,`leaflet-touch-drag`),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var e=this._map;if(e._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var t=ee(this._map.options.maxBounds);this._offsetLimit=I(this._map.latLngToContainerPoint(t.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(t.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;e.fire(`movestart`).fire(`dragstart`),e.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(e){if(this._map.options.inertia){var t=this._lastTime=+new Date,n=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(n),this._times.push(t),this._prunePositions(t)}this._map.fire(`move`,e).fire(`drag`,e)},_prunePositions:function(e){for(;this._positions.length>1&&e-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var e=this._map.getSize().divideBy(2),t=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=t.subtract(e).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(e,t){return e-(e-t)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var e=this._draggable._newPos.subtract(this._draggable._startPos),t=this._offsetLimit;e.x<t.min.x&&(e.x=this._viscousLimit(e.x,t.min.x)),e.y<t.min.y&&(e.y=this._viscousLimit(e.y,t.min.y)),e.x>t.max.x&&(e.x=this._viscousLimit(e.x,t.max.x)),e.y>t.max.y&&(e.y=this._viscousLimit(e.y,t.max.y)),this._draggable._newPos=this._draggable._startPos.add(e)}},_onPreDragWrap:function(){var e=this._worldWidth,t=Math.round(e/2),n=this._initialWorldOffset,r=this._draggable._newPos.x,i=(r-t+n)%e+t-n,a=(r+t+n)%e-t-n,o=Math.abs(i+n)<Math.abs(a+n)?i:a;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=o},_onDragEnd:function(e){var t=this._map,n=t.options,r=!n.inertia||e.noInertia||this._times.length<2;if(t.fire(`dragend`,e),r)t.fire(`moveend`);else{this._prunePositions(+new Date);var i=this._lastPos.subtract(this._positions[0]),a=(this._lastTime-this._times[0])/1e3,o=n.easeLinearity,s=i.multiplyBy(o/a),c=s.distanceTo([0,0]),l=Math.min(n.inertiaMaxSpeed,c),u=s.multiplyBy(l/c),d=l/(n.inertiaDeceleration*o),f=u.multiplyBy(-d/2).round();!f.x&&!f.y?t.fire(`moveend`):(f=t._limitOffset(f,t.options.maxBounds),T(function(){t.panBy(f,{duration:d,easeLinearity:o,noMoveStart:!0,animate:!0})}))}}});Y.addInitHook(`addHandler`,`dragging`,$r),Y.mergeOptions({keyboard:!0,keyboardPanDelta:80});var ei=vn.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(e){this._map=e,this._setPanDelta(e.options.keyboardPanDelta),this._setZoomDelta(e.options.zoomDelta)},addHooks:function(){var e=this._map._container;e.tabIndex<=0&&(e.tabIndex=`0`),q(e,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),J(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){if(!this._focused){var e=document.body,t=document.documentElement,n=e.scrollTop||t.scrollTop,r=e.scrollLeft||t.scrollLeft;this._map._container.focus(),window.scrollTo(r,n)}},_onFocus:function(){this._focused=!0,this._map.fire(`focus`)},_onBlur:function(){this._focused=!1,this._map.fire(`blur`)},_setPanDelta:function(e){for(var t=this._panKeys={},n=this.keyCodes,r=0,i=n.left.length;r<i;r++)t[n.left[r]]=[-1*e,0];for(r=0,i=n.right.length;r<i;r++)t[n.right[r]]=[e,0];for(r=0,i=n.down.length;r<i;r++)t[n.down[r]]=[0,e];for(r=0,i=n.up.length;r<i;r++)t[n.up[r]]=[0,-1*e]},_setZoomDelta:function(e){for(var t=this._zoomKeys={},n=this.keyCodes,r=0,i=n.zoomIn.length;r<i;r++)t[n.zoomIn[r]]=e;for(r=0,i=n.zoomOut.length;r<i;r++)t[n.zoomOut[r]]=-e},_addHooks:function(){q(document,`keydown`,this._onKeyDown,this)},_removeHooks:function(){J(document,`keydown`,this._onKeyDown,this)},_onKeyDown:function(e){if(!(e.altKey||e.ctrlKey||e.metaKey)){var t=e.keyCode,n=this._map,r;if(t in this._panKeys){if(!n._panAnim||!n._panAnim._inProgress){if(r=this._panKeys[t],e.shiftKey&&(r=P(r).multiplyBy(3)),n.options.maxBounds&&(r=n._limitOffset(P(r),n.options.maxBounds)),n.options.worldCopyJump){var i=n.wrapLatLng(n.unproject(n.project(n.getCenter()).add(r)));n.panTo(i)}else n.panBy(r)}}else if(t in this._zoomKeys)n.setZoom(n.getZoom()+(e.shiftKey?3:1)*this._zoomKeys[t]);else if(t===27&&n._popup&&n._popup.options.closeOnEscapeKey)n.closePopup();else return;$t(e)}}});Y.addInitHook(`addHandler`,`keyboard`,ei),Y.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60});var ti=vn.extend({addHooks:function(){q(this._map._container,`wheel`,this._onWheelScroll,this),this._delta=0},removeHooks:function(){J(this._map._container,`wheel`,this._onWheelScroll,this)},_onWheelScroll:function(e){var t=rn(e),n=this._map.options.wheelDebounceTime;this._delta+=t,this._lastMousePos=this._map.mouseEventToContainerPoint(e),this._startTime||=+new Date;var r=Math.max(n-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(i(this._performZoom,this),r),$t(e)},_performZoom:function(){var e=this._map,t=e.getZoom(),n=this._map.options.zoomSnap||0;e._stop();var r=this._delta/(this._map.options.wheelPxPerZoomLevel*4),i=4*Math.log(2/(1+Math.exp(-Math.abs(r))))/Math.LN2,a=n?Math.ceil(i/n)*n:i,o=e._limitZoom(t+(this._delta>0?a:-a))-t;this._delta=0,this._startTime=null,o&&(e.options.scrollWheelZoom===`center`?e.setZoom(t+o):e.setZoomAround(this._lastMousePos,t+o))}});Y.addInitHook(`addHandler`,`scrollWheelZoom`,ti);var ni=600;Y.mergeOptions({tapHold:H.touchNative&&H.safari&&H.mobile,tapTolerance:15});var ri=vn.extend({addHooks:function(){q(this._map._container,`touchstart`,this._onDown,this)},removeHooks:function(){J(this._map._container,`touchstart`,this._onDown,this)},_onDown:function(e){if(clearTimeout(this._holdTimeout),e.touches.length===1){var t=e.touches[0];this._startPos=this._newPos=new M(t.clientX,t.clientY),this._holdTimeout=setTimeout(i(function(){this._cancel(),this._isTapValid()&&(q(document,`touchend`,Qt),q(document,`touchend touchcancel`,this._cancelClickPrevent),this._simulateEvent(`contextmenu`,t))},this),ni),q(document,`touchend touchcancel contextmenu`,this._cancel,this),q(document,`touchmove`,this._onMove,this)}},_cancelClickPrevent:function e(){J(document,`touchend`,Qt),J(document,`touchend touchcancel`,e)},_cancel:function(){clearTimeout(this._holdTimeout),J(document,`touchend touchcancel contextmenu`,this._cancel,this),J(document,`touchmove`,this._onMove,this)},_onMove:function(e){var t=e.touches[0];this._newPos=new M(t.clientX,t.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(e,t){var n=new MouseEvent(e,{bubbles:!0,cancelable:!0,view:window,screenX:t.screenX,screenY:t.screenY,clientX:t.clientX,clientY:t.clientY});n._simulated=!0,t.target.dispatchEvent(n)}});Y.addInitHook(`addHandler`,`tapHold`,ri),Y.mergeOptions({touchZoom:H.touch,bounceAtZoomLimits:!0});var ii=vn.extend({addHooks:function(){G(this._map._container,`leaflet-touch-zoom`),q(this._map._container,`touchstart`,this._onTouchStart,this)},removeHooks:function(){Ct(this._map._container,`leaflet-touch-zoom`),J(this._map._container,`touchstart`,this._onTouchStart,this)},_onTouchStart:function(e){var t=this._map;if(!(!e.touches||e.touches.length!==2||t._animatingZoom||this._zooming)){var n=t.mouseEventToContainerPoint(e.touches[0]),r=t.mouseEventToContainerPoint(e.touches[1]);this._centerPoint=t.getSize()._divideBy(2),this._startLatLng=t.containerPointToLatLng(this._centerPoint),t.options.touchZoom!==`center`&&(this._pinchStartLatLng=t.containerPointToLatLng(n.add(r)._divideBy(2))),this._startDist=n.distanceTo(r),this._startZoom=t.getZoom(),this._moved=!1,this._zooming=!0,t._stop(),q(document,`touchmove`,this._onTouchMove,this),q(document,`touchend touchcancel`,this._onTouchEnd,this),Qt(e)}},_onTouchMove:function(e){if(e.touches&&e.touches.length===2&&this._zooming){var t=this._map,n=t.mouseEventToContainerPoint(e.touches[0]),r=t.mouseEventToContainerPoint(e.touches[1]),a=n.distanceTo(r)/this._startDist;if(this._zoom=t.getScaleZoom(a,this._startZoom),!t.options.bounceAtZoomLimits&&(this._zoom<t.getMinZoom()&&a<1||this._zoom>t.getMaxZoom()&&a>1)&&(this._zoom=t._limitZoom(this._zoom)),t.options.touchZoom===`center`){if(this._center=this._startLatLng,a===1)return}else{var o=n._add(r)._divideBy(2)._subtract(this._centerPoint);if(a===1&&o.x===0&&o.y===0)return;this._center=t.unproject(t.project(this._pinchStartLatLng,this._zoom).subtract(o),this._zoom)}this._moved||=(t._moveStart(!0,!1),!0),E(this._animRequest);var s=i(t._move,t,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=T(s,this,!0),Qt(e)}},_onTouchEnd:function(){!this._moved||!this._zooming?this._zooming=!1:(this._zooming=!1,E(this._animRequest),J(document,`touchmove`,this._onTouchMove,this),J(document,`touchend touchcancel`,this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom)))}});Y.addInitHook(`addHandler`,`touchZoom`,ii),Y.BoxZoom=Zr,Y.DoubleClickZoom=Qr,Y.Drag=$r,Y.Keyboard=ei,Y.ScrollWheelZoom=ti,Y.TapHold=ri,Y.TouchZoom=ii,e.Bounds=F,e.Browser=H,e.CRS=te,e.Canvas=Hr,e.Circle=cr,e.CircleMarker=or,e.Class=O,e.Control=ln,e.DivIcon=$,e.DivOverlay=Ar,e.DomEvent=on,e.DomUtil=Ut,e.Draggable=xn,e.Evented=j,e.FeatureGroup=Zn,e.GeoJSON=mr,e.GridLayer=Fr,e.Handler=vn,e.Icon=$n,e.ImageOverlay=Z,e.LatLng=z,e.LatLngBounds=R,e.Layer=Jn,e.LayerGroup=Yn,e.LineUtil=Vn,e.Map=Y,e.Marker=rr,e.Mixin=yn,e.Path=ar,e.Point=M,e.PolyUtil=Tn,e.Polygon=fr,e.Polyline=ur,e.Popup=jr,e.PosAnimation=sn,e.Projection=Wn,e.Rectangle=Yr,e.Renderer=Vr,e.SVG=qr,e.SVGOverlay=Or,e.TileLayer=Lr,e.Tooltip=Nr,e.Transformation=ae,e.Util=D,e.VideoOverlay=Er,e.bind=i,e.bounds=I,e.canvas=Ur,e.circle=lr,e.circleMarker=sr,e.control=un,e.divIcon=Pr,e.extend=n,e.featureGroup=Qn,e.geoJSON=X,e.geoJson=wr,e.gridLayer=Ir,e.icon=er,e.imageOverlay=Tr,e.latLng=B,e.latLngBounds=ee,e.layerGroup=Xn,e.map=cn,e.marker=ir,e.point=P,e.polygon=pr,e.polyline=dr,e.popup=Mr,e.rectangle=Xr,e.setOptions=p,e.stamp=o,e.svg=Jr,e.svgOverlay=kr,e.tileLayer=Rr,e.tooltip=Q,e.transformation=oe,e.version=t,e.videoOverlay=Dr;var ai=window.L;e.noConflict=function(){return window.L=ai,this},window.L=e}))}))(),1),y=function(e){e||={};var t=e===void 0?{}:e,n={},r;for(r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);var i=[],a=``;function o(e){return t.locateFile?t.locateFile(e,a):a+e}var s;typeof document<`u`&&document.currentScript&&(a=document.currentScript.src),a=a.indexOf(`blob:`)===0?``:a.substr(0,a.lastIndexOf(`/`)+1),s=function(e,t,n){var r=new XMLHttpRequest;r.open(`GET`,e,!0),r.responseType=`arraybuffer`,r.onload=function(){if(r.status==200||r.status==0&&r.response)t(r.response);else{var i=Re(e);i?t(i.buffer):n()}},r.onerror=n,r.send(null)};var c=t.print||console.log.bind(console),l=t.printErr||console.warn.bind(console);for(r in n)n.hasOwnProperty(r)&&(t[r]=n[r]);n=null,t.arguments&&(i=t.arguments);var u=0,d=function(e){u=e},f=function(){return u},p=8;function m(e,t,n,r){switch(n||=`i8`,n.charAt(n.length-1)===`*`&&(n=`i32`),n){case`i1`:k[e|0]=t;break;case`i8`:k[e|0]=t;break;case`i16`:j[e>>1]=t;break;case`i32`:M[e>>2]=t;break;case`i64`:Ce=[t>>>0,(Se=t,+ue(Se)>=1?Se>0?(pe(+fe(Se/4294967296),4294967295)|0)>>>0:~~+de((Se-+(~~Se>>>0))/4294967296)>>>0:0)],M[e>>2]=Ce[0],M[e+4>>2]=Ce[1];break;case`float`:N[e>>2]=t;break;case`double`:P[e>>3]=t;break;default:Je(`invalid type for setValue: `+n)}}function h(e,t,n){switch(t||=`i8`,t.charAt(t.length-1)===`*`&&(t=`i32`),t){case`i1`:return k[e|0];case`i8`:return k[e|0];case`i16`:return j[e>>1];case`i32`:return M[e>>2];case`i64`:return M[e>>2];case`float`:return N[e>>2];case`double`:return P[e>>3];default:Je(`invalid type for getValue: `+t)}return null}var g=!1;function _(e,t){e||Je(`Assertion failed: `+t)}function v(e){var n=t[`_`+e];return _(n,`Cannot call unknown function `+e+`, make sure it is exported`),n}function y(e,t,n,r,i){var a={string:function(e){var t=0;if(e!=null&&e!==0){var n=(e.length<<2)+1;t=Be(n),T(e,t,n)}return t},array:function(e){var t=Be(e.length);return E(e,t),t}};function o(e){return t===`string`?C(e):t===`boolean`?!!e:e}var s=v(e),c=[],l=0;if(r)for(var u=0;u<r.length;u++){var d=a[n[u]];d?(l===0&&(l=He()),c[u]=d(r[u])):c[u]=r[u]}var f=s.apply(null,c);return f=o(f),l!==0&&Ve(l),f}function b(e,t,n,r){n||=[];var i=n.every(function(e){return e===`number`});return t!==`string`&&i&&!r?v(e):function(){return y(e,t,n,arguments,r)}}var x=typeof TextDecoder<`u`?new TextDecoder(`utf8`):void 0;function S(e,t,n){for(var r=t+n,i=t;e[i]&&!(i>=r);)++i;if(i-t>16&&e.subarray&&x)return x.decode(e.subarray(t,i));for(var a=``;t<i;){var o=e[t++];if(!(o&128))a+=String.fromCharCode(o);else{var s=e[t++]&63;if((o&224)==192)a+=String.fromCharCode((o&31)<<6|s);else{var c=e[t++]&63;if(o=(o&240)==224?(o&15)<<12|s<<6|c:(o&7)<<18|s<<12|c<<6|e[t++]&63,o<65536)a+=String.fromCharCode(o);else{var l=o-65536;a+=String.fromCharCode(55296|l>>10,56320|l&1023)}}}}return a}function C(e,t){return e?S(A,e,t):``}function w(e,t,n,r){if(!(r>0))return 0;for(var i=n,a=n+r-1,o=0;o<e.length;++o){var s=e.charCodeAt(o);if(s>=55296&&s<=57343){var c=e.charCodeAt(++o);s=65536+((s&1023)<<10)|c&1023}if(s<=127){if(n>=a)break;t[n++]=s}else if(s<=2047){if(n+1>=a)break;t[n++]=192|s>>6,t[n++]=128|s&63}else if(s<=65535){if(n+2>=a)break;t[n++]=224|s>>12,t[n++]=128|s>>6&63,t[n++]=128|s&63}else{if(n+3>=a)break;t[n++]=240|s>>18,t[n++]=128|s>>12&63,t[n++]=128|s>>6&63,t[n++]=128|s&63}}return t[n]=0,n-i}function T(e,t,n){return w(e,A,t,n)}typeof TextDecoder<`u`&&new TextDecoder(`utf-16le`);function E(e,t){k.set(e,t)}function D(e,t){return e%t>0&&(e+=t-e%t),e}var O,k,A,j,M,N,P;function F(e){O=e,t.HEAP8=k=new Int8Array(e),t.HEAP16=j=new Int16Array(e),t.HEAP32=M=new Int32Array(e),t.HEAPU8=A=new Uint8Array(e),t.HEAPU16=new Uint16Array(e),t.HEAPU32=new Uint32Array(e),t.HEAPF32=N=new Float32Array(e),t.HEAPF64=P=new Float64Array(e)}var I=5271536,R=28624,ee=t.TOTAL_MEMORY||33554432;O=t.buffer?t.buffer:new ArrayBuffer(ee),ee=O.byteLength,F(O),M[R>>2]=I;function z(e){for(;e.length>0;){var n=e.shift();if(typeof n==`function`)n();else{var r=n.func;typeof r==`number`?n.arg===void 0?t.dynCall_v(r):t.dynCall_vi(r,n.arg):r(n.arg===void 0?null:n.arg)}}}var B=[],te=[],ne=[],re=[];function ie(){if(t.preRun)for(typeof t.preRun==`function`&&(t.preRun=[t.preRun]);t.preRun.length;)ce(t.preRun.shift());z(B)}function ae(){z(te)}function oe(){z(ne)}function se(){if(t.postRun)for(typeof t.postRun==`function`&&(t.postRun=[t.postRun]);t.postRun.length;)le(t.postRun.shift());z(re)}function ce(e){B.unshift(e)}function le(e){re.unshift(e)}var ue=Math.abs,de=Math.ceil,fe=Math.floor,pe=Math.min,me=0,he=null,ge=null;function _e(e){me++,t.monitorRunDependencies&&t.monitorRunDependencies(me)}function ve(e){if(me--,t.monitorRunDependencies&&t.monitorRunDependencies(me),me==0&&(he!==null&&(clearInterval(he),he=null),ge)){var n=ge;ge=null,n()}}t.preloadedImages={},t.preloadedAudios={};var ye=null,be=`data:application/octet-stream;base64,`;function xe(e){return String.prototype.startsWith?e.startsWith(be):e.indexOf(be)===0}var Se,Ce;ye=`data:application/octet-stream;base64,AAAAAAAAAAAAAAAAAQAAAAIAAAADAAAABAAAAAUAAAAGAAAAAQAAAAQAAAADAAAABgAAAAUAAAACAAAAAAAAAAIAAAADAAAAAQAAAAQAAAAGAAAAAAAAAAUAAAADAAAABgAAAAQAAAAFAAAAAAAAAAEAAAACAAAABAAAAAUAAAAGAAAAAAAAAAIAAAADAAAAAQAAAAUAAAACAAAAAAAAAAEAAAADAAAABgAAAAQAAAAGAAAAAAAAAAUAAAACAAAAAQAAAAQAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAEAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAIAAAADAAAAAAAAAAAAAAACAAAAAAAAAAEAAAADAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAABAAAAAYAAAAAAAAABQAAAAAAAAAAAAAABAAAAAUAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAYAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAgAAAAMAAAAEAAAABQAAAAYAAAABAAAAAgAAAAMAAAAEAAAABQAAAAYAAAAAAAAAAgAAAAMAAAAEAAAABQAAAAYAAAAAAAAAAQAAAAMAAAAEAAAABQAAAAYAAAAAAAAAAQAAAAIAAAAEAAAABQAAAAYAAAAAAAAAAQAAAAIAAAADAAAABQAAAAYAAAAAAAAAAQAAAAIAAAADAAAABAAAA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C1AFuz93fyCSnlfvvzK2y4doAMa/NRg5t1/X6T/vhq4QJaHDv5yNIAKPOeK/wJn7BSE30j/W4YQrO6nrP78Ziv/Thtq/CaQ0envF578XY0xlUADXP7zaz7HYEuK/CvbK1sn16b8rAQfWwxLWvzKn/YuFN96/zWLlF7EmzL8GUgo9XBHlv3lbK7T9COe/kOOhPthhyz+cGEpnrOvCvzBFhLs15u6/c5bqB6H4u79IuuLF5sveP6lzLKY31eu/AQAAAP////8HAAAA/////zEAAAD/////VwEAAP////9hCQAA/////6dBAAD/////kcsBAP/////3kAwA/////8H2VwAAAAAAAAAAAAAAAAACAAAA/////w4AAAD/////YgAAAP////+uAgAA/////8ISAAD/////ToMAAP////8ilwMA/////+4hGQD/////gu2vAAAAAAAAAAAAAAAAAAAAAAACAAAA//////////8BAAAAAwAAAP//////////////////////////////////////////////////////////////////////////AQAAAAAAAAACAAAA////////////////AwAAAP//////////////////////////////////////////////////////////////////////////AQAAAAAAAAACAAAA////////////////AwAAAP//////////////////////////////////////////////////////////////////////////AQAAAAAAAAACAAAA////////////////AwAAAP//////////////////////////////////////////////////////////AgAAAP//////////AQAAAAAAAAD/////////////////////AwAAAP////////////////////////////////////////////////////8DAAAA/////////////////////wAAAAD/////////////////////AQAAAP///////////////wIAAAD///////////////////////////////8DAAAA/////////////////////wAAAAD///////////////8CAAAAAQAAAP////////////////////////////////////////////////////8DAAAA/////////////////////wAAAAD///////////////8CAAAAAQAAAP////////////////////////////////////////////////////8DAAAA/////////////////////wAAAAD///////////////8CAAAAAQAAAP////////////////////////////////////////////////////8DAAAA/////////////////////wAAAAD///////////////8CAAAAAQAAAP////////////////////////////////////////////////////8BAAAAAgAAAP///////////////wAAAAD/////////////////////AwAAAP////////////////////////////////////////////////////8BAAAAAgAAAP///////////////wAAAAD/////////////////////AwAAAP////////////////////////////////////////////////////8BAAAAAgAAAP///////////////wAAAAD/////////////////////AwAAAP////////////////////////////////////////////////////8BAAAAAgAAAP///////////////wAAAAD/////////////////////AwAAAP///////////////////////////////wIAAAD///////////////8BAAAA/////////////////////wAAAAD/////////////////////AwAAAP////////////////////////////////////////////////////8DAAAA/////////////////////wAAAAABAAAA//////////8CAAAA//////////////////////////////////////////////////////////8DAAAA////////////////AgAAAAAAAAABAAAA//////////////////////////////////////////////////////////////////////////8DAAAA////////////////AgAAAAAAAAABAAAA//////////////////////////////////////////////////////////////////////////8DAAAA////////////////AgAAAAAAAAABAAAA//////////////////////////////////////////////////////////////////////////8DAAAAAQAAAP//////////AgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAACAAAAAAAAAAIAAAABAAAAAQAAAAIAAAACAAAAAAAAAAUAAAAFAAAAAAAAAAIAAAACAAAAAwAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAgAAAAEAAAACAAAAAgAAAAIAAAAAAAAABQAAAAYAAAAAAAAAAgAAAAIAAAADAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAgAAAAAAAAACAAAAAQAAAAMAAAACAAAAAgAAAAAAAAAFAAAABwAAAAAAAAACAAAAAgAAAAMAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAACAAAAAAAAAAIAAAABAAAABAAAAAIAAAACAAAAAAAAAAUAAAAIAAAAAAAAAAIAAAACAAAAAwAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAIAAAAAAAAAAgAAAAEAAAAAAAAAAgAAAAIAAAAAAAAABQAAAAkAAAAAAAAAAgAAAAIAAAADAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAKAAAAAgAAAAIAAAAAAAAAAwAAAA4AAAACAAAAAAAAAAIAAAADAAAAAAAAAAAAAAACAAAAAgAAAAMAAAAGAAAAAAAAAAAAAAAAAAAAAAAAAAsAAAACAAAAAgAAAAAAAAADAAAACgAAAAIAAAAAAAAAAgAAAAMAAAABAAAAAAAAAAIAAAACAAAAAwAAAAcAAAAAAAAAAAAAAAAAAAAAAAAADAAAAAIAAAAC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QYC3UDFJOoFBSJsFV1OwU0FK5fcxX4AmQWhy/zZIt/lACqaCPsBjzUDbdUNIScugQMYQlVJ4MXNANiuq8GTvRUDxTXnulxEZQFZ8QX5kpuw/qmG/JwYFlEAluh3Q6DB+QKn4vyNq0GZAKOXekas+UUB8xabXXhI6QG63C2pLtSNAdDBtyNfLDUDyOcu67ID2P0rCMvRXAeE/Ki2TSVyzyT9Dk+8Sz2uzP5J+w5ARWp0/NQAoOiMuhj9YnP+RyMJwPxgW7TvQVFk/KgsLYF0kQz9g5dAC6IwzQcgHPVvDex1B1XjppodHBkHJq3OMM9fwQNvcmJ7wddlAInGPpQs/w0BRobq5EBmtQJZ2ai7n+ZVAtv2G5E+bgECG+gIfKBlpQK5f8jdI91JAL39sL/WpPEB8rGxhDqklQK6yUf43XhBAxL9y/tK8+D86XyZpgrHiPwAAAAD/////AAAAAAAAAAAAAAAAAAAAAAAAAAD/////////////////////////////////////AAAAAP////8AAAAAAAAAAAAAAAABAAAAAAAAAAAAAAD/////AAAAAAAAAAABAAAAAQAAAAAAAAAAAAAA/////wAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAP////8FAAAABQAAAAAAAAAAAAAAAAAAAAAAAAD/////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/////////////////////////////////////wAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP////////////////////////////////////8AAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAA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pRXacaDT/v3k6GZRqoQXAVB67LiP56r94+LDK0Sn0vwO6pZ9b7wFAvK0nKVcc9j8+U/hCvyruv6QMsuuLQ/W/FPhKFYv46j8MyxaDTOW/v9L18g1caO2/vebfvctE9b/7GD8ZrF3xv3gx1AR9bQDAuMEtsM4c77+SabgA2nj0v5xKFIwxsATArKNSBaKsB0Cjara6ozTwv33ArMz7sfa/dF2U0FcWCcDxL357DJX/P69pJmt7c/G/quJYWJZl+L/YntVJlnrSP4sRLzXM+fe/46uU8w3c8r+q4lhYlmX4v85lu5+QRwRAsI0H/WU8479jaeZNtj/zv6riWFiWZfi/sI0H/WU847/OZbufkEcEQHAoPUBrnss/9exKzDtFtT88wM8kax+gP9OqeKeAYog/MW0ItiZvcj+ph+smvt5bP2lCaV5dEUU/StaUmQDaLz+kK9y22BMYP0O3whZuMwI/IIbgZGWE6z7UkjYaEM3UPuezxwa9cr8+LybxRMnFpz6E1N8DbPiRPsYjySMvK3s+//////8fAAj//////zMQCP////9/MiAI/////28yMAj/////YzJACP///z9iMlAI////N2IyYAj///8zYjJwCP//vzNiMoAI//+rM2IykAj/f6szYjKgCP8PqzNiMrAI/wOrM2IywAi/A6szYjLQCJ8DqzNiMuAImQOrM2Iy8Aj//////z8PCP//////Kx8I/////38pLwj/////Pyk/CP////85KU8I////PzgpXwj///8POClvCP///w44KX8I//8fDjgpjwj//w8OOCmfCP9/DQ44Ka8I/w8NDjgpvwj/DQ0OOCnPCP8MDQ44Kd8IxwwNDjgp7wjEDA0OOCn/CAcAAAAHAAAAAQAAAAIAAAAEAAAAAwAAAAAAAAAAAAAABwAAAAMAAAABAAAAAgAAAAUAAAAEAAAAAAAAAAAAAAAEAAAABAAAAAAAAAACAAAAAQAAAAMAAAAOAAAABgAAAAsAAAACAAAABwAAAAEAAAAYAAAABQAAAAoAAAABAAAABgAAAAAAAAAmAAAABwAAAAwAAAADAAAACAAAAAIAAAAxAAAACQAAAA4AAAAAAAAABQAAAAQAAAA6AAAACAAAAA0A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aW5rZWRDb29yZABsb29wLT5maXJzdCA9PSBOVUxMAGlubmVyTG9vcHMgIT0gTlVMTABub3JtYWxpemVNdWx0aVBvbHlnb24AYmJveGVzICE9IE5VTEwAY2FuZGlkYXRlcyAhPSBOVUxMAGZpbmRQb2x5Z29uRm9ySG9sZQBjYW5kaWRhdGVCQm94ZXMgIT0gTlVMTAByZXZEaXIgIT0gSU5WQUxJRF9ESUdJVABsb2NhbGlqLmMAY2VsbFRvTG9jYWxJamsAYmFzZUNlbGwgIT0gb3JpZ2luQmFzZUNlbGwAIShvcmlnaW5PblBlbnQgJiYgaW5kZXhPblBlbnQpAGJhc2VDZWxsID09IG9yaWdpbkJhc2VDZWxsAGJhc2VDZWxsICE9IElOVkFMSURfQkFTRV9DRUxMAGxvY2FsSWprVG9DZWxsACFfaXNCYXNlQ2VsbFBlbnRhZ29uKGJhc2VDZWxsKQBiYXNlQ2VsbFJvdGF0aW9ucyA+PSAwAGdyaWRQYXRoQ2VsbHMAcG9seWZpbGwuYwBpdGVyU3RlcFBvbHlnb25Db21wYWN0ADAAdmVydGV4LmMAdmVydGV4Um90YXRpb25zAGNlbGxUb1ZlcnRleABncmFwaC0+YnVja2V0cyAhPSBOVUxMAHZlcnRleEdyYXBoLmMAaW5pdFZlcnRleEdyYXBoAG5vZGUgIT0gTlVMTABhZGRWZXJ0ZXhOb2Rl`;var we=28640;function Te(e){return e}function Ee(e){return e.replace(/\b__Z[\w\d_]+/g,function(e){var t=Te(e);return e===t?e:t+` [`+e+`]`})}function De(){var e=Error();if(!e.stack){try{throw Error(0)}catch(t){e=t}if(!e.stack)return`(no stack trace available)`}return e.stack.toString()}function Oe(){var e=De();return t.extraStackTrace&&(e+=`
|
|
1
|
+
import{a as e,c as t,d as n,f as r,g as i,h as a,i as o,l as s,m as c,n as l,o as u,p as d,r as f,s as p,t as m,u as h}from"./index-DqONQytp.js";var g=i(a(),1),_=d(),v=l(m(((e,t,n)=>{(function(n,r){typeof e==`object`&&t!==void 0?r(e):typeof define==`function`&&define.amd?define([`exports`],r):(n=typeof globalThis<`u`?globalThis:n||self,r(n.leaflet={}))})(n,(function(e){var t=`1.9.4`;function n(e){for(var t,n=1,r=arguments.length,i;n<r;n++)for(t in i=arguments[n],i)e[t]=i[t];return e}var r=Object.create||(function(){function e(){}return function(t){return e.prototype=t,new e}})();function i(e,t){var n=Array.prototype.slice;if(e.bind)return e.bind.apply(e,n.call(arguments,1));var r=n.call(arguments,2);return function(){return e.apply(t,r.length?r.concat(n.call(arguments)):arguments)}}var a=0;function o(e){return`_leaflet_id`in e||(e._leaflet_id=++a),e._leaflet_id}function s(e,t,n){var r,i,a,o=function(){r=!1,i&&=(a.apply(n,i),!1)};return a=function(){r?i=arguments:(e.apply(n,arguments),setTimeout(o,t),r=!0)},a}function c(e,t,n){var r=t[1],i=t[0],a=r-i;return e===r&&n?e:((e-i)%a+a)%a+i}function l(){return!1}function u(e,t){if(t===!1)return e;var n=10**(t===void 0?6:t);return Math.round(e*n)/n}function d(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,``)}function f(e){return d(e).split(/\s+/)}function p(e,t){for(var n in Object.prototype.hasOwnProperty.call(e,`options`)||(e.options=e.options?r(e.options):{}),t)e.options[n]=t[n];return e.options}function m(e,t,n){var r=[];for(var i in e)r.push(encodeURIComponent(n?i.toUpperCase():i)+`=`+encodeURIComponent(e[i]));return(!t||t.indexOf(`?`)===-1?`?`:`&`)+r.join(`&`)}var h=/\{ *([\w_ -]+) *\}/g;function g(e,t){return e.replace(h,function(e,n){var r=t[n];if(r===void 0)throw Error(`No value provided for variable `+e);return typeof r==`function`&&(r=r(t)),r})}var _=Array.isArray||function(e){return Object.prototype.toString.call(e)===`[object Array]`};function v(e,t){for(var n=0;n<e.length;n++)if(e[n]===t)return n;return-1}var y=`data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=`;function b(e){return window[`webkit`+e]||window[`moz`+e]||window[`ms`+e]}var x=0;function S(e){var t=+new Date,n=Math.max(0,16-(t-x));return x=t+n,window.setTimeout(e,n)}var C=window.requestAnimationFrame||b(`RequestAnimationFrame`)||S,w=window.cancelAnimationFrame||b(`CancelAnimationFrame`)||b(`CancelRequestAnimationFrame`)||function(e){window.clearTimeout(e)};function T(e,t,n){if(n&&C===S)e.call(t);else return C.call(window,i(e,t))}function E(e){e&&w.call(window,e)}var D={__proto__:null,extend:n,create:r,bind:i,get lastId(){return a},stamp:o,throttle:s,wrapNum:c,falseFn:l,formatNum:u,trim:d,splitWords:f,setOptions:p,getParamString:m,template:g,isArray:_,indexOf:v,emptyImageUrl:y,requestFn:C,cancelFn:w,requestAnimFrame:T,cancelAnimFrame:E};function O(){}O.extend=function(e){var t=function(){p(this),this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()},i=t.__super__=this.prototype,a=r(i);for(var o in a.constructor=t,t.prototype=a,this)Object.prototype.hasOwnProperty.call(this,o)&&o!==`prototype`&&o!==`__super__`&&(t[o]=this[o]);return e.statics&&n(t,e.statics),e.includes&&(k(e.includes),n.apply(null,[a].concat(e.includes))),n(a,e),delete a.statics,delete a.includes,a.options&&(a.options=i.options?r(i.options):{},n(a.options,e.options)),a._initHooks=[],a.callInitHooks=function(){if(!this._initHooksCalled){i.callInitHooks&&i.callInitHooks.call(this),this._initHooksCalled=!0;for(var e=0,t=a._initHooks.length;e<t;e++)a._initHooks[e].call(this)}},t},O.include=function(e){var t=this.prototype.options;return n(this.prototype,e),e.options&&(this.prototype.options=t,this.mergeOptions(e.options)),this},O.mergeOptions=function(e){return n(this.prototype.options,e),this},O.addInitHook=function(e){var t=Array.prototype.slice.call(arguments,1),n=typeof e==`function`?e:function(){this[e].apply(this,t)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(n),this};function k(e){if(typeof L<`u`&&L&&L.Mixin){e=_(e)?e:[e];for(var t=0;t<e.length;t++)e[t]===L.Mixin.Events&&console.warn(`Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.`,Error().stack)}}var A={on:function(e,t,n){if(typeof e==`object`)for(var r in e)this._on(r,e[r],t);else{e=f(e);for(var i=0,a=e.length;i<a;i++)this._on(e[i],t,n)}return this},off:function(e,t,n){if(!arguments.length)delete this._events;else if(typeof e==`object`)for(var r in e)this._off(r,e[r],t);else{e=f(e);for(var i=arguments.length===1,a=0,o=e.length;a<o;a++)i?this._off(e[a]):this._off(e[a],t,n)}return this},_on:function(e,t,n,r){if(typeof t!=`function`)console.warn(`wrong listener type: `+typeof t);else if(this._listens(e,t,n)===!1){n===this&&(n=void 0);var i={fn:t,ctx:n};r&&(i.once=!0),this._events=this._events||{},this._events[e]=this._events[e]||[],this._events[e].push(i)}},_off:function(e,t,n){var r,i,a;if(this._events&&(r=this._events[e],r)){if(arguments.length===1){if(this._firingCount)for(i=0,a=r.length;i<a;i++)r[i].fn=l;delete this._events[e]}else if(typeof t!=`function`)console.warn(`wrong listener type: `+typeof t);else{var o=this._listens(e,t,n);if(o!==!1){var s=r[o];this._firingCount&&(s.fn=l,this._events[e]=r=r.slice()),r.splice(o,1)}}}},fire:function(e,t,r){if(!this.listens(e,r))return this;var i=n({},t,{type:e,target:this,sourceTarget:t&&t.sourceTarget||this});if(this._events){var a=this._events[e];if(a){this._firingCount=this._firingCount+1||1;for(var o=0,s=a.length;o<s;o++){var c=a[o],l=c.fn;c.once&&this.off(e,l,c.ctx),l.call(c.ctx||this,i)}this._firingCount--}}return r&&this._propagateEvent(i),this},listens:function(e,t,n,r){typeof e!=`string`&&console.warn(`"string" type argument expected`);var i=t;typeof t!=`function`&&(r=!!t,i=void 0,n=void 0);var a=this._events&&this._events[e];if(a&&a.length&&this._listens(e,i,n)!==!1)return!0;if(r){for(var o in this._eventParents)if(this._eventParents[o].listens(e,t,n,r))return!0}return!1},_listens:function(e,t,n){if(!this._events)return!1;var r=this._events[e]||[];if(!t)return!!r.length;n===this&&(n=void 0);for(var i=0,a=r.length;i<a;i++)if(r[i].fn===t&&r[i].ctx===n)return i;return!1},once:function(e,t,n){if(typeof e==`object`)for(var r in e)this._on(r,e[r],t,!0);else{e=f(e);for(var i=0,a=e.length;i<a;i++)this._on(e[i],t,n,!0)}return this},addEventParent:function(e){return this._eventParents=this._eventParents||{},this._eventParents[o(e)]=e,this},removeEventParent:function(e){return this._eventParents&&delete this._eventParents[o(e)],this},_propagateEvent:function(e){for(var t in this._eventParents)this._eventParents[t].fire(e.type,n({layer:e.target,propagatedFrom:e.target},e),!0)}};A.addEventListener=A.on,A.removeEventListener=A.clearAllEventListeners=A.off,A.addOneTimeEventListener=A.once,A.fireEvent=A.fire,A.hasEventListeners=A.listens;var j=O.extend(A);function M(e,t,n){this.x=n?Math.round(e):e,this.y=n?Math.round(t):t}var N=Math.trunc||function(e){return e>0?Math.floor(e):Math.ceil(e)};M.prototype={clone:function(){return new M(this.x,this.y)},add:function(e){return this.clone()._add(P(e))},_add:function(e){return this.x+=e.x,this.y+=e.y,this},subtract:function(e){return this.clone()._subtract(P(e))},_subtract:function(e){return this.x-=e.x,this.y-=e.y,this},divideBy:function(e){return this.clone()._divideBy(e)},_divideBy:function(e){return this.x/=e,this.y/=e,this},multiplyBy:function(e){return this.clone()._multiplyBy(e)},_multiplyBy:function(e){return this.x*=e,this.y*=e,this},scaleBy:function(e){return new M(this.x*e.x,this.y*e.y)},unscaleBy:function(e){return new M(this.x/e.x,this.y/e.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=N(this.x),this.y=N(this.y),this},distanceTo:function(e){e=P(e);var t=e.x-this.x,n=e.y-this.y;return Math.sqrt(t*t+n*n)},equals:function(e){return e=P(e),e.x===this.x&&e.y===this.y},contains:function(e){return e=P(e),Math.abs(e.x)<=Math.abs(this.x)&&Math.abs(e.y)<=Math.abs(this.y)},toString:function(){return`Point(`+u(this.x)+`, `+u(this.y)+`)`}};function P(e,t,n){return e instanceof M?e:_(e)?new M(e[0],e[1]):e==null?e:typeof e==`object`&&`x`in e&&`y`in e?new M(e.x,e.y):new M(e,t,n)}function F(e,t){if(e)for(var n=t?[e,t]:e,r=0,i=n.length;r<i;r++)this.extend(n[r])}F.prototype={extend:function(e){var t,n;if(!e)return this;if(e instanceof M||typeof e[0]==`number`||`x`in e)t=n=P(e);else if(e=I(e),t=e.min,n=e.max,!t||!n)return this;return!this.min&&!this.max?(this.min=t.clone(),this.max=n.clone()):(this.min.x=Math.min(t.x,this.min.x),this.max.x=Math.max(n.x,this.max.x),this.min.y=Math.min(t.y,this.min.y),this.max.y=Math.max(n.y,this.max.y)),this},getCenter:function(e){return P((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,e)},getBottomLeft:function(){return P(this.min.x,this.max.y)},getTopRight:function(){return P(this.max.x,this.min.y)},getTopLeft:function(){return this.min},getBottomRight:function(){return this.max},getSize:function(){return this.max.subtract(this.min)},contains:function(e){var t,n;return e=typeof e[0]==`number`||e instanceof M?P(e):I(e),e instanceof F?(t=e.min,n=e.max):t=n=e,t.x>=this.min.x&&n.x<=this.max.x&&t.y>=this.min.y&&n.y<=this.max.y},intersects:function(e){e=I(e);var t=this.min,n=this.max,r=e.min,i=e.max,a=i.x>=t.x&&r.x<=n.x,o=i.y>=t.y&&r.y<=n.y;return a&&o},overlaps:function(e){e=I(e);var t=this.min,n=this.max,r=e.min,i=e.max,a=i.x>t.x&&r.x<n.x,o=i.y>t.y&&r.y<n.y;return a&&o},isValid:function(){return!!(this.min&&this.max)},pad:function(e){var t=this.min,n=this.max,r=Math.abs(t.x-n.x)*e,i=Math.abs(t.y-n.y)*e;return I(P(t.x-r,t.y-i),P(n.x+r,n.y+i))},equals:function(e){return e?(e=I(e),this.min.equals(e.getTopLeft())&&this.max.equals(e.getBottomRight())):!1}};function I(e,t){return!e||e instanceof F?e:new F(e,t)}function R(e,t){if(e)for(var n=t?[e,t]:e,r=0,i=n.length;r<i;r++)this.extend(n[r])}R.prototype={extend:function(e){var t=this._southWest,n=this._northEast,r,i;if(e instanceof z)r=e,i=e;else if(e instanceof R){if(r=e._southWest,i=e._northEast,!r||!i)return this}else return e?this.extend(B(e)||ee(e)):this;return!t&&!n?(this._southWest=new z(r.lat,r.lng),this._northEast=new z(i.lat,i.lng)):(t.lat=Math.min(r.lat,t.lat),t.lng=Math.min(r.lng,t.lng),n.lat=Math.max(i.lat,n.lat),n.lng=Math.max(i.lng,n.lng)),this},pad:function(e){var t=this._southWest,n=this._northEast,r=Math.abs(t.lat-n.lat)*e,i=Math.abs(t.lng-n.lng)*e;return new R(new z(t.lat-r,t.lng-i),new z(n.lat+r,n.lng+i))},getCenter:function(){return new z((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},getNorthWest:function(){return new z(this.getNorth(),this.getWest())},getSouthEast:function(){return new z(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat},getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(e){e=typeof e[0]==`number`||e instanceof z||`lat`in e?B(e):ee(e);var t=this._southWest,n=this._northEast,r,i;return e instanceof R?(r=e.getSouthWest(),i=e.getNorthEast()):r=i=e,r.lat>=t.lat&&i.lat<=n.lat&&r.lng>=t.lng&&i.lng<=n.lng},intersects:function(e){e=ee(e);var t=this._southWest,n=this._northEast,r=e.getSouthWest(),i=e.getNorthEast(),a=i.lat>=t.lat&&r.lat<=n.lat,o=i.lng>=t.lng&&r.lng<=n.lng;return a&&o},overlaps:function(e){e=ee(e);var t=this._southWest,n=this._northEast,r=e.getSouthWest(),i=e.getNorthEast(),a=i.lat>t.lat&&r.lat<n.lat,o=i.lng>t.lng&&r.lng<n.lng;return a&&o},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(`,`)},equals:function(e,t){return e?(e=ee(e),this._southWest.equals(e.getSouthWest(),t)&&this._northEast.equals(e.getNorthEast(),t)):!1},isValid:function(){return!!(this._southWest&&this._northEast)}};function ee(e,t){return e instanceof R?e:new R(e,t)}function z(e,t,n){if(isNaN(e)||isNaN(t))throw Error(`Invalid LatLng object: (`+e+`, `+t+`)`);this.lat=+e,this.lng=+t,n!==void 0&&(this.alt=+n)}z.prototype={equals:function(e,t){return e?(e=B(e),Math.max(Math.abs(this.lat-e.lat),Math.abs(this.lng-e.lng))<=(t===void 0?1e-9:t)):!1},toString:function(e){return`LatLng(`+u(this.lat,e)+`, `+u(this.lng,e)+`)`},distanceTo:function(e){return ne.distance(this,B(e))},wrap:function(){return ne.wrapLatLng(this)},toBounds:function(e){var t=180*e/40075017,n=t/Math.cos(Math.PI/180*this.lat);return ee([this.lat-t,this.lng-n],[this.lat+t,this.lng+n])},clone:function(){return new z(this.lat,this.lng,this.alt)}};function B(e,t,n){return e instanceof z?e:_(e)&&typeof e[0]!=`object`?e.length===3?new z(e[0],e[1],e[2]):e.length===2?new z(e[0],e[1]):null:e==null?e:typeof e==`object`&&`lat`in e?new z(e.lat,`lng`in e?e.lng:e.lon,e.alt):t===void 0?null:new z(e,t,n)}var te={latLngToPoint:function(e,t){var n=this.projection.project(e),r=this.scale(t);return this.transformation._transform(n,r)},pointToLatLng:function(e,t){var n=this.scale(t),r=this.transformation.untransform(e,n);return this.projection.unproject(r)},project:function(e){return this.projection.project(e)},unproject:function(e){return this.projection.unproject(e)},scale:function(e){return 256*2**e},zoom:function(e){return Math.log(e/256)/Math.LN2},getProjectedBounds:function(e){if(this.infinite)return null;var t=this.projection.bounds,n=this.scale(e);return new F(this.transformation.transform(t.min,n),this.transformation.transform(t.max,n))},infinite:!1,wrapLatLng:function(e){var t=this.wrapLng?c(e.lng,this.wrapLng,!0):e.lng,n=this.wrapLat?c(e.lat,this.wrapLat,!0):e.lat,r=e.alt;return new z(n,t,r)},wrapLatLngBounds:function(e){var t=e.getCenter(),n=this.wrapLatLng(t),r=t.lat-n.lat,i=t.lng-n.lng;if(r===0&&i===0)return e;var a=e.getSouthWest(),o=e.getNorthEast();return new R(new z(a.lat-r,a.lng-i),new z(o.lat-r,o.lng-i))}},ne=n({},te,{wrapLng:[-180,180],R:6371e3,distance:function(e,t){var n=Math.PI/180,r=e.lat*n,i=t.lat*n,a=Math.sin((t.lat-e.lat)*n/2),o=Math.sin((t.lng-e.lng)*n/2),s=a*a+Math.cos(r)*Math.cos(i)*o*o,c=2*Math.atan2(Math.sqrt(s),Math.sqrt(1-s));return this.R*c}}),re=6378137,ie={R:re,MAX_LATITUDE:85.0511287798,project:function(e){var t=Math.PI/180,n=this.MAX_LATITUDE,r=Math.max(Math.min(n,e.lat),-n),i=Math.sin(r*t);return new M(this.R*e.lng*t,this.R*Math.log((1+i)/(1-i))/2)},unproject:function(e){var t=180/Math.PI;return new z((2*Math.atan(Math.exp(e.y/this.R))-Math.PI/2)*t,e.x*t/this.R)},bounds:(function(){var e=re*Math.PI;return new F([-e,-e],[e,e])})()};function ae(e,t,n,r){_(e)?(this._a=e[0],this._b=e[1],this._c=e[2],this._d=e[3]):(this._a=e,this._b=t,this._c=n,this._d=r)}ae.prototype={transform:function(e,t){return this._transform(e.clone(),t)},_transform:function(e,t){return t||=1,e.x=t*(this._a*e.x+this._b),e.y=t*(this._c*e.y+this._d),e},untransform:function(e,t){return t||=1,new M((e.x/t-this._b)/this._a,(e.y/t-this._d)/this._c)}};function oe(e,t,n,r){return new ae(e,t,n,r)}var se=n({},ne,{code:`EPSG:3857`,projection:ie,transformation:function(){var e=.5/(Math.PI*ie.R);return oe(e,.5,-e,.5)}()}),ce=n({},se,{code:`EPSG:900913`});function le(e){return document.createElementNS(`http://www.w3.org/2000/svg`,e)}function ue(e,t){for(var n=``,r=0,i,a=e.length,o,s,c;r<a;r++){for(s=e[r],i=0,o=s.length;i<o;i++)c=s[i],n+=(i?`L`:`M`)+c.x+` `+c.y;n+=t?H.svg?`z`:`x`:``}return n||`M0 0`}var de=document.documentElement.style,fe=`ActiveXObject`in window,pe=fe&&!document.addEventListener,me=`msLaunchUri`in navigator&&!(`documentMode`in document),he=qe(`webkit`),ge=qe(`android`),_e=qe(`android 2`)||qe(`android 3`),ve=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),ye=ge&&qe(`Google`)&&ve<537&&!(`AudioNode`in window),be=!!window.opera,xe=!me&&qe(`chrome`),Se=qe(`gecko`)&&!he&&!be&&!fe,Ce=!xe&&qe(`safari`),we=qe(`phantom`),Te=`OTransition`in de,Ee=navigator.platform.indexOf(`Win`)===0,De=fe&&`transition`in de,Oe=`WebKitCSSMatrix`in window&&`m11`in new window.WebKitCSSMatrix&&!_e,ke=`MozPerspective`in de,Ae=!window.L_DISABLE_3D&&(De||Oe||ke)&&!Te&&!we,je=typeof orientation<`u`||qe(`mobile`),Me=je&&he,Ne=je&&Oe,Pe=!window.PointerEvent&&window.MSPointerEvent,Fe=!!(window.PointerEvent||Pe),Ie=`ontouchstart`in window||!!window.TouchEvent,Le=!window.L_NO_TOUCH&&(Ie||Fe),Re=je&&be,V=je&&Se,ze=(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI)>1,Be=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener(`testPassiveEventSupport`,l,t),window.removeEventListener(`testPassiveEventSupport`,l,t)}catch{}return e}(),Ve=function(){return!!document.createElement(`canvas`).getContext}(),He=!!(document.createElementNS&&le(`svg`).createSVGRect),Ue=!!He&&(function(){var e=document.createElement(`div`);return e.innerHTML=`<svg/>`,(e.firstChild&&e.firstChild.namespaceURI)===`http://www.w3.org/2000/svg`})(),We=!He&&function(){try{var e=document.createElement(`div`);e.innerHTML=`<v:shape adj="1"/>`;var t=e.firstChild;return t.style.behavior=`url(#default#VML)`,t&&typeof t.adj==`object`}catch{return!1}}(),Ge=navigator.platform.indexOf(`Mac`)===0,Ke=navigator.platform.indexOf(`Linux`)===0;function qe(e){return navigator.userAgent.toLowerCase().indexOf(e)>=0}var H={ie:fe,ielt9:pe,edge:me,webkit:he,android:ge,android23:_e,androidStock:ye,opera:be,chrome:xe,gecko:Se,safari:Ce,phantom:we,opera12:Te,win:Ee,ie3d:De,webkit3d:Oe,gecko3d:ke,any3d:Ae,mobile:je,mobileWebkit:Me,mobileWebkit3d:Ne,msPointer:Pe,pointer:Fe,touch:Le,touchNative:Ie,mobileOpera:Re,mobileGecko:V,retina:ze,passiveEvents:Be,canvas:Ve,svg:He,vml:We,inlineSvg:Ue,mac:Ge,linux:Ke},Je=H.msPointer?`MSPointerDown`:`pointerdown`,Ye=H.msPointer?`MSPointerMove`:`pointermove`,Xe=H.msPointer?`MSPointerUp`:`pointerup`,Ze=H.msPointer?`MSPointerCancel`:`pointercancel`,Qe={touchstart:Je,touchmove:Ye,touchend:Xe,touchcancel:Ze},$e={touchstart:lt,touchmove:ct,touchend:ct,touchcancel:ct},et={},tt=!1;function nt(e,t,n){return t===`touchstart`&&st(),$e[t]?(n=$e[t].bind(this,n),e.addEventListener(Qe[t],n,!1),n):(console.warn(`wrong event specified:`,t),l)}function rt(e,t,n){Qe[t]?e.removeEventListener(Qe[t],n,!1):console.warn(`wrong event specified:`,t)}function it(e){et[e.pointerId]=e}function at(e){et[e.pointerId]&&(et[e.pointerId]=e)}function ot(e){delete et[e.pointerId]}function st(){tt||=(document.addEventListener(Je,it,!0),document.addEventListener(Ye,at,!0),document.addEventListener(Xe,ot,!0),document.addEventListener(Ze,ot,!0),!0)}function ct(e,t){if(t.pointerType!==(t.MSPOINTER_TYPE_MOUSE||`mouse`)){for(var n in t.touches=[],et)t.touches.push(et[n]);t.changedTouches=[t],e(t)}}function lt(e,t){t.MSPOINTER_TYPE_TOUCH&&t.pointerType===t.MSPOINTER_TYPE_TOUCH&&Qt(t),ct(e,t)}function ut(e){var t={},n,r;for(r in e)n=e[r],t[r]=n&&n.bind?n.bind(e):n;return e=t,t.type=`dblclick`,t.detail=2,t.isTrusted=!1,t._simulated=!0,t}var dt=200;function ft(e,t){e.addEventListener(`dblclick`,t);var n=0,r;function i(e){if(e.detail!==1)r=e.detail;else if(!(e.pointerType===`mouse`||e.sourceCapabilities&&!e.sourceCapabilities.firesTouchEvents)){var i=en(e);if(!i.some(function(e){return e instanceof HTMLLabelElement&&e.attributes.for})||i.some(function(e){return e instanceof HTMLInputElement||e instanceof HTMLSelectElement})){var a=Date.now();a-n<=dt?(r++,r===2&&t(ut(e))):r=1,n=a}}}return e.addEventListener(`click`,i),{dblclick:t,simDblclick:i}}function pt(e,t){e.removeEventListener(`dblclick`,t.dblclick),e.removeEventListener(`click`,t.simDblclick)}var mt=Ot([`transform`,`webkitTransform`,`OTransform`,`MozTransform`,`msTransform`]),ht=Ot([`webkitTransition`,`transition`,`OTransition`,`MozTransition`,`msTransition`]),gt=ht===`webkitTransition`||ht===`OTransition`?ht+`End`:`transitionend`;function _t(e){return typeof e==`string`?document.getElementById(e):e}function vt(e,t){var n=e.style[t]||e.currentStyle&&e.currentStyle[t];if((!n||n===`auto`)&&document.defaultView){var r=document.defaultView.getComputedStyle(e,null);n=r?r[t]:null}return n===`auto`?null:n}function U(e,t,n){var r=document.createElement(e);return r.className=t||``,n&&n.appendChild(r),r}function W(e){var t=e.parentNode;t&&t.removeChild(e)}function yt(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function bt(e){var t=e.parentNode;t&&t.lastChild!==e&&t.appendChild(e)}function xt(e){var t=e.parentNode;t&&t.firstChild!==e&&t.insertBefore(e,t.firstChild)}function St(e,t){if(e.classList!==void 0)return e.classList.contains(t);var n=Tt(e);return n.length>0&&RegExp(`(^|\\s)`+t+`(\\s|$)`).test(n)}function G(e,t){if(e.classList!==void 0)for(var n=f(t),r=0,i=n.length;r<i;r++)e.classList.add(n[r]);else if(!St(e,t)){var a=Tt(e);wt(e,(a?a+` `:``)+t)}}function Ct(e,t){e.classList===void 0?wt(e,d((` `+Tt(e)+` `).replace(` `+t+` `,` `))):e.classList.remove(t)}function wt(e,t){e.className.baseVal===void 0?e.className=t:e.className.baseVal=t}function Tt(e){return e.correspondingElement&&(e=e.correspondingElement),e.className.baseVal===void 0?e.className:e.className.baseVal}function Et(e,t){`opacity`in e.style?e.style.opacity=t:`filter`in e.style&&Dt(e,t)}function Dt(e,t){var n=!1,r=`DXImageTransform.Microsoft.Alpha`;try{n=e.filters.item(r)}catch{if(t===1)return}t=Math.round(t*100),n?(n.Enabled=t!==100,n.Opacity=t):e.style.filter+=` progid:`+r+`(opacity=`+t+`)`}function Ot(e){for(var t=document.documentElement.style,n=0;n<e.length;n++)if(e[n]in t)return e[n];return!1}function kt(e,t,n){var r=t||new M(0,0);e.style[mt]=(H.ie3d?`translate(`+r.x+`px,`+r.y+`px)`:`translate3d(`+r.x+`px,`+r.y+`px,0)`)+(n?` scale(`+n+`)`:``)}function K(e,t){e._leaflet_pos=t,H.any3d?kt(e,t):(e.style.left=t.x+`px`,e.style.top=t.y+`px`)}function At(e){return e._leaflet_pos||new M(0,0)}var jt,Mt,Nt;if(`onselectstart`in document)jt=function(){q(window,`selectstart`,Qt)},Mt=function(){J(window,`selectstart`,Qt)};else{var Pt=Ot([`userSelect`,`WebkitUserSelect`,`OUserSelect`,`MozUserSelect`,`msUserSelect`]);jt=function(){if(Pt){var e=document.documentElement.style;Nt=e[Pt],e[Pt]=`none`}},Mt=function(){Pt&&(document.documentElement.style[Pt]=Nt,Nt=void 0)}}function Ft(){q(window,`dragstart`,Qt)}function It(){J(window,`dragstart`,Qt)}var Lt,Rt;function zt(e){for(;e.tabIndex===-1;)e=e.parentNode;e.style&&(Bt(),Lt=e,Rt=e.style.outlineStyle,e.style.outlineStyle=`none`,q(window,`keydown`,Bt))}function Bt(){Lt&&(Lt.style.outlineStyle=Rt,Lt=void 0,Rt=void 0,J(window,`keydown`,Bt))}function Vt(e){do e=e.parentNode;while((!e.offsetWidth||!e.offsetHeight)&&e!==document.body);return e}function Ht(e){var t=e.getBoundingClientRect();return{x:t.width/e.offsetWidth||1,y:t.height/e.offsetHeight||1,boundingClientRect:t}}var Ut={__proto__:null,TRANSFORM:mt,TRANSITION:ht,TRANSITION_END:gt,get:_t,getStyle:vt,create:U,remove:W,empty:yt,toFront:bt,toBack:xt,hasClass:St,addClass:G,removeClass:Ct,setClass:wt,getClass:Tt,setOpacity:Et,testProp:Ot,setTransform:kt,setPosition:K,getPosition:At,get disableTextSelection(){return jt},get enableTextSelection(){return Mt},disableImageDrag:Ft,enableImageDrag:It,preventOutline:zt,restoreOutline:Bt,getSizedParentNode:Vt,getScale:Ht};function q(e,t,n,r){if(t&&typeof t==`object`)for(var i in t)qt(e,i,t[i],n);else{t=f(t);for(var a=0,o=t.length;a<o;a++)qt(e,t[a],n,r)}return this}var Wt=`_leaflet_events`;function J(e,t,n,r){if(arguments.length===1)Gt(e),delete e[Wt];else if(t&&typeof t==`object`)for(var i in t)Jt(e,i,t[i],n);else if(t=f(t),arguments.length===2)Gt(e,function(e){return v(t,e)!==-1});else for(var a=0,o=t.length;a<o;a++)Jt(e,t[a],n,r);return this}function Gt(e,t){for(var n in e[Wt]){var r=n.split(/\d/)[0];(!t||t(r))&&Jt(e,r,null,null,n)}}var Kt={mouseenter:`mouseover`,mouseleave:`mouseout`,wheel:!(`onwheel`in window)&&`mousewheel`};function qt(e,t,n,r){var i=t+o(n)+(r?`_`+o(r):``);if(e[Wt]&&e[Wt][i])return this;var a=function(t){return n.call(r||e,t||window.event)},s=a;!H.touchNative&&H.pointer&&t.indexOf(`touch`)===0?a=nt(e,t,a):H.touch&&t===`dblclick`?a=ft(e,a):`addEventListener`in e?t===`touchstart`||t===`touchmove`||t===`wheel`||t===`mousewheel`?e.addEventListener(Kt[t]||t,a,H.passiveEvents?{passive:!1}:!1):t===`mouseenter`||t===`mouseleave`?(a=function(t){t||=window.event,an(e,t)&&s(t)},e.addEventListener(Kt[t],a,!1)):e.addEventListener(t,s,!1):e.attachEvent(`on`+t,a),e[Wt]=e[Wt]||{},e[Wt][i]=a}function Jt(e,t,n,r,i){i||=t+o(n)+(r?`_`+o(r):``);var a=e[Wt]&&e[Wt][i];if(!a)return this;!H.touchNative&&H.pointer&&t.indexOf(`touch`)===0?rt(e,t,a):H.touch&&t===`dblclick`?pt(e,a):`removeEventListener`in e?e.removeEventListener(Kt[t]||t,a,!1):e.detachEvent(`on`+t,a),e[Wt][i]=null}function Yt(e){return e.stopPropagation?e.stopPropagation():e.originalEvent?e.originalEvent._stopped=!0:e.cancelBubble=!0,this}function Xt(e){return qt(e,`wheel`,Yt),this}function Zt(e){return q(e,`mousedown touchstart dblclick contextmenu`,Yt),e._leaflet_disable_click=!0,this}function Qt(e){return e.preventDefault?e.preventDefault():e.returnValue=!1,this}function $t(e){return Qt(e),Yt(e),this}function en(e){if(e.composedPath)return e.composedPath();for(var t=[],n=e.target;n;)t.push(n),n=n.parentNode;return t}function tn(e,t){if(!t)return new M(e.clientX,e.clientY);var n=Ht(t),r=n.boundingClientRect;return new M((e.clientX-r.left)/n.x-t.clientLeft,(e.clientY-r.top)/n.y-t.clientTop)}var nn=H.linux&&H.chrome?window.devicePixelRatio:H.mac?window.devicePixelRatio*3:window.devicePixelRatio>0?2*window.devicePixelRatio:1;function rn(e){return H.edge?e.wheelDeltaY/2:e.deltaY&&e.deltaMode===0?-e.deltaY/nn:e.deltaY&&e.deltaMode===1?-e.deltaY*20:e.deltaY&&e.deltaMode===2?-e.deltaY*60:e.deltaX||e.deltaZ?0:e.wheelDelta?(e.wheelDeltaY||e.wheelDelta)/2:e.detail&&Math.abs(e.detail)<32765?-e.detail*20:e.detail?e.detail/-32765*60:0}function an(e,t){var n=t.relatedTarget;if(!n)return!0;try{for(;n&&n!==e;)n=n.parentNode}catch{return!1}return n!==e}var on={__proto__:null,on:q,off:J,stopPropagation:Yt,disableScrollPropagation:Xt,disableClickPropagation:Zt,preventDefault:Qt,stop:$t,getPropagationPath:en,getMousePosition:tn,getWheelDelta:rn,isExternalTarget:an,addListener:q,removeListener:J},sn=j.extend({run:function(e,t,n,r){this.stop(),this._el=e,this._inProgress=!0,this._duration=n||.25,this._easeOutPower=1/Math.max(r||.5,.2),this._startPos=At(e),this._offset=t.subtract(this._startPos),this._startTime=+new Date,this.fire(`start`),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=T(this._animate,this),this._step()},_step:function(e){var t=+new Date-this._startTime,n=this._duration*1e3;t<n?this._runFrame(this._easeOut(t/n),e):(this._runFrame(1),this._complete())},_runFrame:function(e,t){var n=this._startPos.add(this._offset.multiplyBy(e));t&&n._round(),K(this._el,n),this.fire(`step`)},_complete:function(){E(this._animId),this._inProgress=!1,this.fire(`end`)},_easeOut:function(e){return 1-(1-e)**this._easeOutPower}}),Y=j.extend({options:{crs:se,center:void 0,zoom:void 0,minZoom:void 0,maxZoom:void 0,layers:[],maxBounds:void 0,renderer:void 0,zoomAnimation:!0,zoomAnimationThreshold:4,fadeAnimation:!0,markerZoomAnimation:!0,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:!0},initialize:function(e,t){t=p(this,t),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(e),this._initLayout(),this._onResize=i(this._onResize,this),this._initEvents(),t.maxBounds&&this.setMaxBounds(t.maxBounds),t.zoom!==void 0&&(this._zoom=this._limitZoom(t.zoom)),t.center&&t.zoom!==void 0&&this.setView(B(t.center),t.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=ht&&H.any3d&&!H.mobileOpera&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),q(this._proxy,gt,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)},setView:function(e,t,r){return t=t===void 0?this._zoom:this._limitZoom(t),e=this._limitCenter(B(e),t,this.options.maxBounds),r||={},this._stop(),this._loaded&&!r.reset&&r!==!0&&(r.animate!==void 0&&(r.zoom=n({animate:r.animate},r.zoom),r.pan=n({animate:r.animate,duration:r.duration},r.pan)),this._zoom===t?this._tryAnimatedPan(e,r.pan):this._tryAnimatedZoom&&this._tryAnimatedZoom(e,t,r.zoom))?(clearTimeout(this._sizeTimer),this):(this._resetView(e,t,r.pan&&r.pan.noMoveStart),this)},setZoom:function(e,t){return this._loaded?this.setView(this.getCenter(),e,{zoom:t}):(this._zoom=e,this)},zoomIn:function(e,t){return e||=H.any3d?this.options.zoomDelta:1,this.setZoom(this._zoom+e,t)},zoomOut:function(e,t){return e||=H.any3d?this.options.zoomDelta:1,this.setZoom(this._zoom-e,t)},setZoomAround:function(e,t,n){var r=this.getZoomScale(t),i=this.getSize().divideBy(2),a=(e instanceof M?e:this.latLngToContainerPoint(e)).subtract(i).multiplyBy(1-1/r),o=this.containerPointToLatLng(i.add(a));return this.setView(o,t,{zoom:n})},_getBoundsCenterZoom:function(e,t){t||={},e=e.getBounds?e.getBounds():ee(e);var n=P(t.paddingTopLeft||t.padding||[0,0]),r=P(t.paddingBottomRight||t.padding||[0,0]),i=this.getBoundsZoom(e,!1,n.add(r));if(i=typeof t.maxZoom==`number`?Math.min(t.maxZoom,i):i,i===1/0)return{center:e.getCenter(),zoom:i};var a=r.subtract(n).divideBy(2),o=this.project(e.getSouthWest(),i),s=this.project(e.getNorthEast(),i);return{center:this.unproject(o.add(s).divideBy(2).add(a),i),zoom:i}},fitBounds:function(e,t){if(e=ee(e),!e.isValid())throw Error(`Bounds are not valid.`);var n=this._getBoundsCenterZoom(e,t);return this.setView(n.center,n.zoom,t)},fitWorld:function(e){return this.fitBounds([[-90,-180],[90,180]],e)},panTo:function(e,t){return this.setView(e,this._zoom,{pan:t})},panBy:function(e,t){if(e=P(e).round(),t||={},!e.x&&!e.y)return this.fire(`moveend`);if(t.animate!==!0&&!this.getSize().contains(e))return this._resetView(this.unproject(this.project(this.getCenter()).add(e)),this.getZoom()),this;if(this._panAnim||(this._panAnim=new sn,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),t.noMoveStart||this.fire(`movestart`),t.animate!==!1){G(this._mapPane,`leaflet-pan-anim`);var n=this._getMapPanePos().subtract(e).round();this._panAnim.run(this._mapPane,n,t.duration||.25,t.easeLinearity)}else this._rawPanBy(e),this.fire(`move`).fire(`moveend`);return this},flyTo:function(e,t,n){if(n||={},n.animate===!1||!H.any3d)return this.setView(e,t,n);this._stop();var r=this.project(this.getCenter()),i=this.project(e),a=this.getSize(),o=this._zoom;e=B(e),t=t===void 0?o:t;var s=Math.max(a.x,a.y),c=s*this.getZoomScale(o,t),l=i.distanceTo(r)||1,u=1.42,d=u*u;function f(e){var t=e?-1:1,n=e?c:s,r=(c*c-s*s+t*d*d*l*l)/(2*n*d*l),i=Math.sqrt(r*r+1)-r;return i<1e-9?-18:Math.log(i)}function p(e){return(Math.exp(e)-Math.exp(-e))/2}function m(e){return(Math.exp(e)+Math.exp(-e))/2}function h(e){return p(e)/m(e)}var g=f(0);function _(e){return s*(m(g)/m(g+u*e))}function v(e){return s*(m(g)*h(g+u*e)-p(g))/d}function y(e){return 1-(1-e)**1.5}var b=Date.now(),x=(f(1)-g)/u,S=n.duration?1e3*n.duration:1e3*x*.8;function C(){var n=(Date.now()-b)/S,a=y(n)*x;n<=1?(this._flyToFrame=T(C,this),this._move(this.unproject(r.add(i.subtract(r).multiplyBy(v(a)/l)),o),this.getScaleZoom(s/_(a),o),{flyTo:!0})):this._move(e,t)._moveEnd(!0)}return this._moveStart(!0,n.noMoveStart),C.call(this),this},flyToBounds:function(e,t){var n=this._getBoundsCenterZoom(e,t);return this.flyTo(n.center,n.zoom,t)},setMaxBounds:function(e){return e=ee(e),this.listens(`moveend`,this._panInsideMaxBounds)&&this.off(`moveend`,this._panInsideMaxBounds),e.isValid()?(this.options.maxBounds=e,this._loaded&&this._panInsideMaxBounds(),this.on(`moveend`,this._panInsideMaxBounds)):(this.options.maxBounds=null,this)},setMinZoom:function(e){var t=this.options.minZoom;return this.options.minZoom=e,this._loaded&&t!==e&&(this.fire(`zoomlevelschange`),this.getZoom()<this.options.minZoom)?this.setZoom(e):this},setMaxZoom:function(e){var t=this.options.maxZoom;return this.options.maxZoom=e,this._loaded&&t!==e&&(this.fire(`zoomlevelschange`),this.getZoom()>this.options.maxZoom)?this.setZoom(e):this},panInsideBounds:function(e,t){this._enforcingBounds=!0;var n=this.getCenter(),r=this._limitCenter(n,this._zoom,ee(e));return n.equals(r)||this.panTo(r,t),this._enforcingBounds=!1,this},panInside:function(e,t){t||={};var n=P(t.paddingTopLeft||t.padding||[0,0]),r=P(t.paddingBottomRight||t.padding||[0,0]),i=this.project(this.getCenter()),a=this.project(e),o=this.getPixelBounds(),s=I([o.min.add(n),o.max.subtract(r)]),c=s.getSize();if(!s.contains(a)){this._enforcingBounds=!0;var l=a.subtract(s.getCenter()),u=s.extend(a).getSize().subtract(c);i.x+=l.x<0?-u.x:u.x,i.y+=l.y<0?-u.y:u.y,this.panTo(this.unproject(i),t),this._enforcingBounds=!1}return this},invalidateSize:function(e){if(!this._loaded)return this;e=n({animate:!1,pan:!0},e===!0?{animate:!0}:e);var t=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var r=this.getSize(),a=t.divideBy(2).round(),o=r.divideBy(2).round(),s=a.subtract(o);return!s.x&&!s.y?this:(e.animate&&e.pan?this.panBy(s):(e.pan&&this._rawPanBy(s),this.fire(`move`),e.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(i(this.fire,this,`moveend`),200)):this.fire(`moveend`)),this.fire(`resize`,{oldSize:t,newSize:r}))},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire(`viewreset`),this._stop()},locate:function(e){if(e=this._locateOptions=n({timeout:1e4,watch:!1},e),!(`geolocation`in navigator))return this._handleGeolocationError({code:0,message:`Geolocation not supported.`}),this;var t=i(this._handleGeolocationResponse,this),r=i(this._handleGeolocationError,this);return e.watch?this._locationWatchId=navigator.geolocation.watchPosition(t,r,e):navigator.geolocation.getCurrentPosition(t,r,e),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(e){if(this._container._leaflet_id){var t=e.code,n=e.message||(t===1?`permission denied`:t===2?`position unavailable`:`timeout`);this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire(`locationerror`,{code:t,message:`Geolocation error: `+n+`.`})}},_handleGeolocationResponse:function(e){if(this._container._leaflet_id){var t=e.coords.latitude,n=e.coords.longitude,r=new z(t,n),i=r.toBounds(e.coords.accuracy*2),a=this._locateOptions;if(a.setView){var o=this.getBoundsZoom(i);this.setView(r,a.maxZoom?Math.min(o,a.maxZoom):o)}var s={latlng:r,bounds:i,timestamp:e.timestamp};for(var c in e.coords)typeof e.coords[c]==`number`&&(s[c]=e.coords[c]);this.fire(`locationfound`,s)}},addHandler:function(e,t){if(!t)return this;var n=this[e]=new t(this);return this._handlers.push(n),this.options[e]&&n.enable(),this},remove:function(){if(this._initEvents(!0),this.options.maxBounds&&this.off(`moveend`,this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw Error(`Map container is being reused by another instance`);try{delete this._container._leaflet_id,delete this._containerId}catch{this._container._leaflet_id=void 0,this._containerId=void 0}for(var e in this._locationWatchId!==void 0&&this.stopLocate(),this._stop(),W(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&=(E(this._resizeRequest),null),this._clearHandlers(),this._loaded&&this.fire(`unload`),this._layers)this._layers[e].remove();for(e in this._panes)W(this._panes[e]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(e,t){var n=U(`div`,`leaflet-pane`+(e?` leaflet-`+e.replace(`Pane`,``)+`-pane`:``),t||this._mapPane);return e&&(this._panes[e]=n),n},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var e=this.getPixelBounds();return new R(this.unproject(e.getBottomLeft()),this.unproject(e.getTopRight()))},getMinZoom:function(){return this.options.minZoom===void 0?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return this.options.maxZoom===void 0?this._layersMaxZoom===void 0?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(e,t,n){e=ee(e),n=P(n||[0,0]);var r=this.getZoom()||0,i=this.getMinZoom(),a=this.getMaxZoom(),o=e.getNorthWest(),s=e.getSouthEast(),c=this.getSize().subtract(n),l=I(this.project(s,r),this.project(o,r)).getSize(),u=H.any3d?this.options.zoomSnap:1,d=c.x/l.x,f=c.y/l.y,p=t?Math.max(d,f):Math.min(d,f);return r=this.getScaleZoom(p,r),u&&(r=Math.round(r/(u/100))*(u/100),r=t?Math.ceil(r/u)*u:Math.floor(r/u)*u),Math.max(i,Math.min(a,r))},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new M(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(e,t){var n=this._getTopLeftPoint(e,t);return new F(n,n.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(e){return this.options.crs.getProjectedBounds(e===void 0?this.getZoom():e)},getPane:function(e){return typeof e==`string`?this._panes[e]:e},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(e,t){var n=this.options.crs;return t=t===void 0?this._zoom:t,n.scale(e)/n.scale(t)},getScaleZoom:function(e,t){var n=this.options.crs;t=t===void 0?this._zoom:t;var r=n.zoom(e*n.scale(t));return isNaN(r)?1/0:r},project:function(e,t){return t=t===void 0?this._zoom:t,this.options.crs.latLngToPoint(B(e),t)},unproject:function(e,t){return t=t===void 0?this._zoom:t,this.options.crs.pointToLatLng(P(e),t)},layerPointToLatLng:function(e){var t=P(e).add(this.getPixelOrigin());return this.unproject(t)},latLngToLayerPoint:function(e){return this.project(B(e))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(e){return this.options.crs.wrapLatLng(B(e))},wrapLatLngBounds:function(e){return this.options.crs.wrapLatLngBounds(ee(e))},distance:function(e,t){return this.options.crs.distance(B(e),B(t))},containerPointToLayerPoint:function(e){return P(e).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(e){return P(e).add(this._getMapPanePos())},containerPointToLatLng:function(e){var t=this.containerPointToLayerPoint(P(e));return this.layerPointToLatLng(t)},latLngToContainerPoint:function(e){return this.layerPointToContainerPoint(this.latLngToLayerPoint(B(e)))},mouseEventToContainerPoint:function(e){return tn(e,this._container)},mouseEventToLayerPoint:function(e){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(e))},mouseEventToLatLng:function(e){return this.layerPointToLatLng(this.mouseEventToLayerPoint(e))},_initContainer:function(e){var t=this._container=_t(e);if(!t)throw Error(`Map container not found.`);if(t._leaflet_id)throw Error(`Map container is already initialized.`);q(t,`scroll`,this._onScroll,this),this._containerId=o(t)},_initLayout:function(){var e=this._container;this._fadeAnimated=this.options.fadeAnimation&&H.any3d,G(e,`leaflet-container`+(H.touch?` leaflet-touch`:``)+(H.retina?` leaflet-retina`:``)+(H.ielt9?` leaflet-oldie`:``)+(H.safari?` leaflet-safari`:``)+(this._fadeAnimated?` leaflet-fade-anim`:``));var t=vt(e,`position`);t!==`absolute`&&t!==`relative`&&t!==`fixed`&&t!==`sticky`&&(e.style.position=`relative`),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var e=this._panes={};this._paneRenderers={},this._mapPane=this.createPane(`mapPane`,this._container),K(this._mapPane,new M(0,0)),this.createPane(`tilePane`),this.createPane(`overlayPane`),this.createPane(`shadowPane`),this.createPane(`markerPane`),this.createPane(`tooltipPane`),this.createPane(`popupPane`),this.options.markerZoomAnimation||(G(e.markerPane,`leaflet-zoom-hide`),G(e.shadowPane,`leaflet-zoom-hide`))},_resetView:function(e,t,n){K(this._mapPane,new M(0,0));var r=!this._loaded;this._loaded=!0,t=this._limitZoom(t),this.fire(`viewprereset`);var i=this._zoom!==t;this._moveStart(i,n)._move(e,t)._moveEnd(i),this.fire(`viewreset`),r&&this.fire(`load`)},_moveStart:function(e,t){return e&&this.fire(`zoomstart`),t||this.fire(`movestart`),this},_move:function(e,t,n,r){t===void 0&&(t=this._zoom);var i=this._zoom!==t;return this._zoom=t,this._lastCenter=e,this._pixelOrigin=this._getNewPixelOrigin(e),r?n&&n.pinch&&this.fire(`zoom`,n):((i||n&&n.pinch)&&this.fire(`zoom`,n),this.fire(`move`,n)),this},_moveEnd:function(e){return e&&this.fire(`zoomend`),this.fire(`moveend`)},_stop:function(){return E(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(e){K(this._mapPane,this._getMapPanePos().subtract(e))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw Error(`Set map center and zoom first.`)},_initEvents:function(e){this._targets={},this._targets[o(this._container)]=this;var t=e?J:q;t(this._container,`click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup`,this._handleDOMEvent,this),this.options.trackResize&&t(window,`resize`,this._onResize,this),H.any3d&&this.options.transform3DLimit&&(e?this.off:this.on).call(this,`moveend`,this._onMoveEnd)},_onResize:function(){E(this._resizeRequest),this._resizeRequest=T(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var e=this._getMapPanePos();Math.max(Math.abs(e.x),Math.abs(e.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(e,t){for(var n=[],r,i=t===`mouseout`||t===`mouseover`,a=e.target||e.srcElement,s=!1;a;){if(r=this._targets[o(a)],r&&(t===`click`||t===`preclick`)&&this._draggableMoved(r)){s=!0;break}if(r&&r.listens(t,!0)&&(i&&!an(a,e)||(n.push(r),i))||a===this._container)break;a=a.parentNode}return!n.length&&!s&&!i&&this.listens(t,!0)&&(n=[this]),n},_isClickDisabled:function(e){for(;e&&e!==this._container;){if(e._leaflet_disable_click)return!0;e=e.parentNode}},_handleDOMEvent:function(e){var t=e.target||e.srcElement;if(!(!this._loaded||t._leaflet_disable_events||e.type===`click`&&this._isClickDisabled(t))){var n=e.type;n===`mousedown`&&zt(t),this._fireDOMEvent(e,n)}},_mouseEvents:[`click`,`dblclick`,`mouseover`,`mouseout`,`contextmenu`],_fireDOMEvent:function(e,t,r){if(e.type===`click`){var i=n({},e);i.type=`preclick`,this._fireDOMEvent(i,i.type,r)}var a=this._findEventTargets(e,t);if(r){for(var o=[],s=0;s<r.length;s++)r[s].listens(t,!0)&&o.push(r[s]);a=o.concat(a)}if(a.length){t===`contextmenu`&&Qt(e);var c=a[0],l={originalEvent:e};if(e.type!==`keypress`&&e.type!==`keydown`&&e.type!==`keyup`){var u=c.getLatLng&&(!c._radius||c._radius<=10);l.containerPoint=u?this.latLngToContainerPoint(c.getLatLng()):this.mouseEventToContainerPoint(e),l.layerPoint=this.containerPointToLayerPoint(l.containerPoint),l.latlng=u?c.getLatLng():this.layerPointToLatLng(l.layerPoint)}for(s=0;s<a.length;s++)if(a[s].fire(t,l,!0),l.originalEvent._stopped||a[s].options.bubblingMouseEvents===!1&&v(this._mouseEvents,t)!==-1)return}},_draggableMoved:function(e){return e=e.dragging&&e.dragging.enabled()?e:this,e.dragging&&e.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var e=0,t=this._handlers.length;e<t;e++)this._handlers[e].disable()},whenReady:function(e,t){return this._loaded?e.call(t||this,{target:this}):this.on(`load`,e,t),this},_getMapPanePos:function(){return At(this._mapPane)||new M(0,0)},_moved:function(){var e=this._getMapPanePos();return e&&!e.equals([0,0])},_getTopLeftPoint:function(e,t){return(e&&t!==void 0?this._getNewPixelOrigin(e,t):this.getPixelOrigin()).subtract(this._getMapPanePos())},_getNewPixelOrigin:function(e,t){var n=this.getSize()._divideBy(2);return this.project(e,t)._subtract(n)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(e,t,n){var r=this._getNewPixelOrigin(n,t);return this.project(e,t)._subtract(r)},_latLngBoundsToNewLayerBounds:function(e,t,n){var r=this._getNewPixelOrigin(n,t);return I([this.project(e.getSouthWest(),t)._subtract(r),this.project(e.getNorthWest(),t)._subtract(r),this.project(e.getSouthEast(),t)._subtract(r),this.project(e.getNorthEast(),t)._subtract(r)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(e){return this.latLngToLayerPoint(e).subtract(this._getCenterLayerPoint())},_limitCenter:function(e,t,n){if(!n)return e;var r=this.project(e,t),i=this.getSize().divideBy(2),a=new F(r.subtract(i),r.add(i)),o=this._getBoundsOffset(a,n,t);return Math.abs(o.x)<=1&&Math.abs(o.y)<=1?e:this.unproject(r.add(o),t)},_limitOffset:function(e,t){if(!t)return e;var n=this.getPixelBounds(),r=new F(n.min.add(e),n.max.add(e));return e.add(this._getBoundsOffset(r,t))},_getBoundsOffset:function(e,t,n){var r=I(this.project(t.getNorthEast(),n),this.project(t.getSouthWest(),n)),i=r.min.subtract(e.min),a=r.max.subtract(e.max);return new M(this._rebound(i.x,-a.x),this._rebound(i.y,-a.y))},_rebound:function(e,t){return e+t>0?Math.round(e-t)/2:Math.max(0,Math.ceil(e))-Math.max(0,Math.floor(t))},_limitZoom:function(e){var t=this.getMinZoom(),n=this.getMaxZoom(),r=H.any3d?this.options.zoomSnap:1;return r&&(e=Math.round(e/r)*r),Math.max(t,Math.min(n,e))},_onPanTransitionStep:function(){this.fire(`move`)},_onPanTransitionEnd:function(){Ct(this._mapPane,`leaflet-pan-anim`),this.fire(`moveend`)},_tryAnimatedPan:function(e,t){var n=this._getCenterOffset(e)._trunc();return(t&&t.animate)!==!0&&!this.getSize().contains(n)?!1:(this.panBy(n,t),!0)},_createAnimProxy:function(){var e=this._proxy=U(`div`,`leaflet-proxy leaflet-zoom-animated`);this._panes.mapPane.appendChild(e),this.on(`zoomanim`,function(e){var t=mt,n=this._proxy.style[t];kt(this._proxy,this.project(e.center,e.zoom),this.getZoomScale(e.zoom,1)),n===this._proxy.style[t]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on(`load moveend`,this._animMoveEnd,this),this._on(`unload`,this._destroyAnimProxy,this)},_destroyAnimProxy:function(){W(this._proxy),this.off(`load moveend`,this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var e=this.getCenter(),t=this.getZoom();kt(this._proxy,this.project(e,t),this.getZoomScale(t,1))},_catchTransitionEnd:function(e){this._animatingZoom&&e.propertyName.indexOf(`transform`)>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName(`leaflet-zoom-animated`).length},_tryAnimatedZoom:function(e,t,n){if(this._animatingZoom)return!0;if(n||={},!this._zoomAnimated||n.animate===!1||this._nothingToAnimate()||Math.abs(t-this._zoom)>this.options.zoomAnimationThreshold)return!1;var r=this.getZoomScale(t),i=this._getCenterOffset(e)._divideBy(1-1/r);return n.animate!==!0&&!this.getSize().contains(i)?!1:(T(function(){this._moveStart(!0,n.noMoveStart||!1)._animateZoom(e,t,!0)},this),!0)},_animateZoom:function(e,t,n,r){this._mapPane&&(n&&(this._animatingZoom=!0,this._animateToCenter=e,this._animateToZoom=t,G(this._mapPane,`leaflet-zoom-anim`)),this.fire(`zoomanim`,{center:e,zoom:t,noUpdate:r}),this._tempFireZoomEvent||=this._zoom!==this._animateToZoom,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(i(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&Ct(this._mapPane,`leaflet-zoom-anim`),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),this._tempFireZoomEvent&&this.fire(`zoom`),delete this._tempFireZoomEvent,this.fire(`move`),this._moveEnd(!0))}});function cn(e,t){return new Y(e,t)}var ln=O.extend({options:{position:`topright`},initialize:function(e){p(this,e)},getPosition:function(){return this.options.position},setPosition:function(e){var t=this._map;return t&&t.removeControl(this),this.options.position=e,t&&t.addControl(this),this},getContainer:function(){return this._container},addTo:function(e){this.remove(),this._map=e;var t=this._container=this.onAdd(e),n=this.getPosition(),r=e._controlCorners[n];return G(t,`leaflet-control`),n.indexOf(`bottom`)===-1?r.appendChild(t):r.insertBefore(t,r.firstChild),this._map.on(`unload`,this.remove,this),this},remove:function(){return this._map&&=(W(this._container),this.onRemove&&this.onRemove(this._map),this._map.off(`unload`,this.remove,this),null),this},_refocusOnMap:function(e){this._map&&e&&e.screenX>0&&e.screenY>0&&this._map.getContainer().focus()}}),un=function(e){return new ln(e)};Y.include({addControl:function(e){return e.addTo(this),this},removeControl:function(e){return e.remove(),this},_initControlPos:function(){var e=this._controlCorners={},t=`leaflet-`,n=this._controlContainer=U(`div`,t+`control-container`,this._container);function r(r,i){var a=t+r+` `+t+i;e[r+i]=U(`div`,a,n)}r(`top`,`left`),r(`top`,`right`),r(`bottom`,`left`),r(`bottom`,`right`)},_clearControlPos:function(){for(var e in this._controlCorners)W(this._controlCorners[e]);W(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var dn=ln.extend({options:{collapsed:!0,position:`topright`,autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(e,t,n,r){return n<r?-1:+(r<n)}},initialize:function(e,t,n){for(var r in p(this,n),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1,this._preventClick=!1,e)this._addLayer(e[r],r);for(r in t)this._addLayer(t[r],r,!0)},onAdd:function(e){this._initLayout(),this._update(),this._map=e,e.on(`zoomend`,this._checkDisabledLayers,this);for(var t=0;t<this._layers.length;t++)this._layers[t].layer.on(`add remove`,this._onLayerChange,this);return this._container},addTo:function(e){return ln.prototype.addTo.call(this,e),this._expandIfNotCollapsed()},onRemove:function(){this._map.off(`zoomend`,this._checkDisabledLayers,this);for(var e=0;e<this._layers.length;e++)this._layers[e].layer.off(`add remove`,this._onLayerChange,this)},addBaseLayer:function(e,t){return this._addLayer(e,t),this._map?this._update():this},addOverlay:function(e,t){return this._addLayer(e,t,!0),this._map?this._update():this},removeLayer:function(e){e.off(`add remove`,this._onLayerChange,this);var t=this._getLayer(o(e));return t&&this._layers.splice(this._layers.indexOf(t),1),this._map?this._update():this},expand:function(){G(this._container,`leaflet-control-layers-expanded`),this._section.style.height=null;var e=this._map.getSize().y-(this._container.offsetTop+50);return e<this._section.clientHeight?(G(this._section,`leaflet-control-layers-scrollbar`),this._section.style.height=e+`px`):Ct(this._section,`leaflet-control-layers-scrollbar`),this._checkDisabledLayers(),this},collapse:function(){return Ct(this._container,`leaflet-control-layers-expanded`),this},_initLayout:function(){var e=`leaflet-control-layers`,t=this._container=U(`div`,e),n=this.options.collapsed;t.setAttribute(`aria-haspopup`,!0),Zt(t),Xt(t);var r=this._section=U(`section`,e+`-list`);n&&(this._map.on(`click`,this.collapse,this),q(t,{mouseenter:this._expandSafely,mouseleave:this.collapse},this));var i=this._layersLink=U(`a`,e+`-toggle`,t);i.href=`#`,i.title=`Layers`,i.setAttribute(`role`,`button`),q(i,{keydown:function(e){e.keyCode===13&&this._expandSafely()},click:function(e){Qt(e),this._expandSafely()}},this),n||this.expand(),this._baseLayersList=U(`div`,e+`-base`,r),this._separator=U(`div`,e+`-separator`,r),this._overlaysList=U(`div`,e+`-overlays`,r),t.appendChild(r)},_getLayer:function(e){for(var t=0;t<this._layers.length;t++)if(this._layers[t]&&o(this._layers[t].layer)===e)return this._layers[t]},_addLayer:function(e,t,n){this._map&&e.on(`add remove`,this._onLayerChange,this),this._layers.push({layer:e,name:t,overlay:n}),this.options.sortLayers&&this._layers.sort(i(function(e,t){return this.options.sortFunction(e.layer,t.layer,e.name,t.name)},this)),this.options.autoZIndex&&e.setZIndex&&(this._lastZIndex++,e.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(!this._container)return this;yt(this._baseLayersList),yt(this._overlaysList),this._layerControlInputs=[];var e,t,n,r,i=0;for(n=0;n<this._layers.length;n++)r=this._layers[n],this._addItem(r),t||=r.overlay,e||=!r.overlay,i+=+!r.overlay;return this.options.hideSingleBase&&(e&&=i>1,this._baseLayersList.style.display=e?``:`none`),this._separator.style.display=t&&e?``:`none`,this},_onLayerChange:function(e){this._handlingClick||this._update();var t=this._getLayer(o(e.target)),n=t.overlay?e.type===`add`?`overlayadd`:`overlayremove`:e.type===`add`?`baselayerchange`:null;n&&this._map.fire(n,t)},_createRadioElement:function(e,t){var n=`<input type="radio" class="leaflet-control-layers-selector" name="`+e+`"`+(t?` checked="checked"`:``)+`/>`,r=document.createElement(`div`);return r.innerHTML=n,r.firstChild},_addItem:function(e){var t=document.createElement(`label`),n=this._map.hasLayer(e.layer),r;e.overlay?(r=document.createElement(`input`),r.type=`checkbox`,r.className=`leaflet-control-layers-selector`,r.defaultChecked=n):r=this._createRadioElement(`leaflet-base-layers_`+o(this),n),this._layerControlInputs.push(r),r.layerId=o(e.layer),q(r,`click`,this._onInputClick,this);var i=document.createElement(`span`);i.innerHTML=` `+e.name;var a=document.createElement(`span`);return t.appendChild(a),a.appendChild(r),a.appendChild(i),(e.overlay?this._overlaysList:this._baseLayersList).appendChild(t),this._checkDisabledLayers(),t},_onInputClick:function(){if(!this._preventClick){var e=this._layerControlInputs,t,n,r=[],i=[];this._handlingClick=!0;for(var a=e.length-1;a>=0;a--)t=e[a],n=this._getLayer(t.layerId).layer,t.checked?r.push(n):t.checked||i.push(n);for(a=0;a<i.length;a++)this._map.hasLayer(i[a])&&this._map.removeLayer(i[a]);for(a=0;a<r.length;a++)this._map.hasLayer(r[a])||this._map.addLayer(r[a]);this._handlingClick=!1,this._refocusOnMap()}},_checkDisabledLayers:function(){for(var e=this._layerControlInputs,t,n,r=this._map.getZoom(),i=e.length-1;i>=0;i--)t=e[i],n=this._getLayer(t.layerId).layer,t.disabled=n.options.minZoom!==void 0&&r<n.options.minZoom||n.options.maxZoom!==void 0&&r>n.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var e=this._section;this._preventClick=!0,q(e,`click`,Qt),this.expand();var t=this;setTimeout(function(){J(e,`click`,Qt),t._preventClick=!1})}}),fn=function(e,t,n){return new dn(e,t,n)},pn=ln.extend({options:{position:`topleft`,zoomInText:`<span aria-hidden="true">+</span>`,zoomInTitle:`Zoom in`,zoomOutText:`<span aria-hidden="true">−</span>`,zoomOutTitle:`Zoom out`},onAdd:function(e){var t=`leaflet-control-zoom`,n=U(`div`,t+` leaflet-bar`),r=this.options;return this._zoomInButton=this._createButton(r.zoomInText,r.zoomInTitle,t+`-in`,n,this._zoomIn),this._zoomOutButton=this._createButton(r.zoomOutText,r.zoomOutTitle,t+`-out`,n,this._zoomOut),this._updateDisabled(),e.on(`zoomend zoomlevelschange`,this._updateDisabled,this),n},onRemove:function(e){e.off(`zoomend zoomlevelschange`,this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(e){!this._disabled&&this._map._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(e.shiftKey?3:1))},_zoomOut:function(e){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(e.shiftKey?3:1))},_createButton:function(e,t,n,r,i){var a=U(`a`,n,r);return a.innerHTML=e,a.href=`#`,a.title=t,a.setAttribute(`role`,`button`),a.setAttribute(`aria-label`,t),Zt(a),q(a,`click`,$t),q(a,`click`,i,this),q(a,`click`,this._refocusOnMap,this),a},_updateDisabled:function(){var e=this._map,t=`leaflet-disabled`;Ct(this._zoomInButton,t),Ct(this._zoomOutButton,t),this._zoomInButton.setAttribute(`aria-disabled`,`false`),this._zoomOutButton.setAttribute(`aria-disabled`,`false`),(this._disabled||e._zoom===e.getMinZoom())&&(G(this._zoomOutButton,t),this._zoomOutButton.setAttribute(`aria-disabled`,`true`)),(this._disabled||e._zoom===e.getMaxZoom())&&(G(this._zoomInButton,t),this._zoomInButton.setAttribute(`aria-disabled`,`true`))}});Y.mergeOptions({zoomControl:!0}),Y.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new pn,this.addControl(this.zoomControl))});var mn=function(e){return new pn(e)},hn=ln.extend({options:{position:`bottomleft`,maxWidth:100,metric:!0,imperial:!0},onAdd:function(e){var t=`leaflet-control-scale`,n=U(`div`,t),r=this.options;return this._addScales(r,t+`-line`,n),e.on(r.updateWhenIdle?`moveend`:`move`,this._update,this),e.whenReady(this._update,this),n},onRemove:function(e){e.off(this.options.updateWhenIdle?`moveend`:`move`,this._update,this)},_addScales:function(e,t,n){e.metric&&(this._mScale=U(`div`,t,n)),e.imperial&&(this._iScale=U(`div`,t,n))},_update:function(){var e=this._map,t=e.getSize().y/2,n=e.distance(e.containerPointToLatLng([0,t]),e.containerPointToLatLng([this.options.maxWidth,t]));this._updateScales(n)},_updateScales:function(e){this.options.metric&&e&&this._updateMetric(e),this.options.imperial&&e&&this._updateImperial(e)},_updateMetric:function(e){var t=this._getRoundNum(e),n=t<1e3?t+` m`:t/1e3+` km`;this._updateScale(this._mScale,n,t/e)},_updateImperial:function(e){var t=e*3.2808399,n,r,i;t>5280?(n=t/5280,r=this._getRoundNum(n),this._updateScale(this._iScale,r+` mi`,r/n)):(i=this._getRoundNum(t),this._updateScale(this._iScale,i+` ft`,i/t))},_updateScale:function(e,t,n){e.style.width=Math.round(this.options.maxWidth*n)+`px`,e.innerHTML=t},_getRoundNum:function(e){var t=10**((Math.floor(e)+``).length-1),n=e/t;return n=n>=10?10:n>=5?5:n>=3?3:n>=2?2:1,t*n}}),gn=function(e){return new hn(e)},_n=ln.extend({options:{position:`bottomright`,prefix:`<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">`+(H.inlineSvg?`<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" class="leaflet-attribution-flag"><path fill="#4C7BE1" d="M0 0h12v4H0z"/><path fill="#FFD500" d="M0 4h12v3H0z"/><path fill="#E0BC00" d="M0 7h12v1H0z"/></svg> `:``)+`Leaflet</a>`},initialize:function(e){p(this,e),this._attributions={}},onAdd:function(e){for(var t in e.attributionControl=this,this._container=U(`div`,`leaflet-control-attribution`),Zt(this._container),e._layers)e._layers[t].getAttribution&&this.addAttribution(e._layers[t].getAttribution());return this._update(),e.on(`layeradd`,this._addAttribution,this),this._container},onRemove:function(e){e.off(`layeradd`,this._addAttribution,this)},_addAttribution:function(e){e.layer.getAttribution&&(this.addAttribution(e.layer.getAttribution()),e.layer.once(`remove`,function(){this.removeAttribution(e.layer.getAttribution())},this))},setPrefix:function(e){return this.options.prefix=e,this._update(),this},addAttribution:function(e){return e&&(this._attributions[e]||(this._attributions[e]=0),this._attributions[e]++,this._update()),this},removeAttribution:function(e){return e&&this._attributions[e]&&(this._attributions[e]--,this._update()),this},_update:function(){if(this._map){var e=[];for(var t in this._attributions)this._attributions[t]&&e.push(t);var n=[];this.options.prefix&&n.push(this.options.prefix),e.length&&n.push(e.join(`, `)),this._container.innerHTML=n.join(` <span aria-hidden="true">|</span> `)}}});Y.mergeOptions({attributionControl:!0}),Y.addInitHook(function(){this.options.attributionControl&&new _n().addTo(this)}),ln.Layers=dn,ln.Zoom=pn,ln.Scale=hn,ln.Attribution=_n,un.layers=fn,un.zoom=mn,un.scale=gn,un.attribution=function(e){return new _n(e)};var vn=O.extend({initialize:function(e){this._map=e},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled&&(this._enabled=!1,this.removeHooks()),this},enabled:function(){return!!this._enabled}});vn.addTo=function(e,t){return e.addHandler(t,this),this};var yn={Events:A},bn=H.touch?`touchstart mousedown`:`mousedown`,xn=j.extend({options:{clickTolerance:3},initialize:function(e,t,n,r){p(this,r),this._element=e,this._dragStartTarget=t||e,this._preventOutline=n},enable:function(){this._enabled||=(q(this._dragStartTarget,bn,this._onDown,this),!0)},disable:function(){this._enabled&&(xn._dragging===this&&this.finishDrag(!0),J(this._dragStartTarget,bn,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(e){if(this._enabled&&(this._moved=!1,!St(this._element,`leaflet-zoom-anim`))){if(e.touches&&e.touches.length!==1)xn._dragging===this&&this.finishDrag();else if(!(xn._dragging||e.shiftKey||e.which!==1&&e.button!==1&&!e.touches)&&(xn._dragging=this,this._preventOutline&&zt(this._element),Ft(),jt(),!this._moving)){this.fire(`down`);var t=e.touches?e.touches[0]:e,n=Vt(this._element);this._startPoint=new M(t.clientX,t.clientY),this._startPos=At(this._element),this._parentScale=Ht(n);var r=e.type===`mousedown`;q(document,r?`mousemove`:`touchmove`,this._onMove,this),q(document,r?`mouseup`:`touchend touchcancel`,this._onUp,this)}}},_onMove:function(e){if(this._enabled){if(e.touches&&e.touches.length>1)this._moved=!0;else{var t=e.touches&&e.touches.length===1?e.touches[0]:e,n=new M(t.clientX,t.clientY)._subtract(this._startPoint);(n.x||n.y)&&(Math.abs(n.x)+Math.abs(n.y)<this.options.clickTolerance||(n.x/=this._parentScale.x,n.y/=this._parentScale.y,Qt(e),this._moved||(this.fire(`dragstart`),this._moved=!0,G(document.body,`leaflet-dragging`),this._lastTarget=e.target||e.srcElement,window.SVGElementInstance&&this._lastTarget instanceof window.SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),G(this._lastTarget,`leaflet-drag-target`)),this._newPos=this._startPos.add(n),this._moving=!0,this._lastEvent=e,this._updatePosition()))}}},_updatePosition:function(){var e={originalEvent:this._lastEvent};this.fire(`predrag`,e),K(this._element,this._newPos),this.fire(`drag`,e)},_onUp:function(){this._enabled&&this.finishDrag()},finishDrag:function(e){Ct(document.body,`leaflet-dragging`),this._lastTarget&&=(Ct(this._lastTarget,`leaflet-drag-target`),null),J(document,`mousemove touchmove`,this._onMove,this),J(document,`mouseup touchend touchcancel`,this._onUp,this),It(),Mt();var t=this._moved&&this._moving;this._moving=!1,xn._dragging=!1,t&&this.fire(`dragend`,{noInertia:e,distance:this._newPos.distanceTo(this._startPos)})}});function Sn(e,t,n){for(var r,i=[1,4,2,8],a=0,o,s,c,l,u=e.length,d,f;a<u;a++)e[a]._code=Fn(e[a],t);for(s=0;s<4;s++){for(d=i[s],r=[],a=0,u=e.length,o=u-1;a<u;o=a++)c=e[a],l=e[o],c._code&d?l._code&d||(f=Pn(l,c,d,t,n),f._code=Fn(f,t),r.push(f)):(l._code&d&&(f=Pn(l,c,d,t,n),f._code=Fn(f,t),r.push(f)),r.push(c));e=r}return e}function Cn(e,t){var n,r,i,a,o,s,c,l,u;if(!e||e.length===0)throw Error(`latlngs not passed`);Rn(e)||(console.warn(`latlngs are not flat! Only the first ring will be used`),e=e[0]);var d=B([0,0]),f=ee(e);f.getNorthWest().distanceTo(f.getSouthWest())*f.getNorthEast().distanceTo(f.getNorthWest())<1700&&(d=wn(e));var p=e.length,m=[];for(n=0;n<p;n++){var h=B(e[n]);m.push(t.project(B([h.lat-d.lat,h.lng-d.lng])))}for(s=c=l=0,n=0,r=p-1;n<p;r=n++)i=m[n],a=m[r],o=i.y*a.x-a.y*i.x,c+=(i.x+a.x)*o,l+=(i.y+a.y)*o,s+=o*3;u=s===0?m[0]:[c/s,l/s];var g=t.unproject(P(u));return B([g.lat+d.lat,g.lng+d.lng])}function wn(e){for(var t=0,n=0,r=0,i=0;i<e.length;i++){var a=B(e[i]);t+=a.lat,n+=a.lng,r++}return B([t/r,n/r])}var Tn={__proto__:null,clipPolygon:Sn,polygonCenter:Cn,centroid:wn};function En(e,t){if(!t||!e.length)return e.slice();var n=t*t;return e=jn(e,n),e=kn(e,n),e}function Dn(e,t,n){return Math.sqrt(Ln(e,t,n,!0))}function On(e,t,n){return Ln(e,t,n)}function kn(e,t){var n=e.length,r=new(typeof Uint8Array<`u`?Uint8Array:Array)(n);r[0]=r[n-1]=1,An(e,r,t,0,n-1);var i,a=[];for(i=0;i<n;i++)r[i]&&a.push(e[i]);return a}function An(e,t,n,r,i){for(var a=0,o,s=r+1,c;s<=i-1;s++)c=Ln(e[s],e[r],e[i],!0),c>a&&(o=s,a=c);a>n&&(t[o]=1,An(e,t,n,r,o),An(e,t,n,o,i))}function jn(e,t){for(var n=[e[0]],r=1,i=0,a=e.length;r<a;r++)In(e[r],e[i])>t&&(n.push(e[r]),i=r);return i<a-1&&n.push(e[a-1]),n}var Mn;function Nn(e,t,n,r,i){var a=r?Mn:Fn(e,n),o=Fn(t,n),s,c,l;for(Mn=o;;){if(!(a|o))return[e,t];if(a&o)return!1;s=a||o,c=Pn(e,t,s,n,i),l=Fn(c,n),s===a?(e=c,a=l):(t=c,o=l)}}function Pn(e,t,n,r,i){var a=t.x-e.x,o=t.y-e.y,s=r.min,c=r.max,l,u;return n&8?(l=e.x+a*(c.y-e.y)/o,u=c.y):n&4?(l=e.x+a*(s.y-e.y)/o,u=s.y):n&2?(l=c.x,u=e.y+o*(c.x-e.x)/a):n&1&&(l=s.x,u=e.y+o*(s.x-e.x)/a),new M(l,u,i)}function Fn(e,t){var n=0;return e.x<t.min.x?n|=1:e.x>t.max.x&&(n|=2),e.y<t.min.y?n|=4:e.y>t.max.y&&(n|=8),n}function In(e,t){var n=t.x-e.x,r=t.y-e.y;return n*n+r*r}function Ln(e,t,n,r){var i=t.x,a=t.y,o=n.x-i,s=n.y-a,c=o*o+s*s,l;return c>0&&(l=((e.x-i)*o+(e.y-a)*s)/c,l>1?(i=n.x,a=n.y):l>0&&(i+=o*l,a+=s*l)),o=e.x-i,s=e.y-a,r?o*o+s*s:new M(i,a)}function Rn(e){return!_(e[0])||typeof e[0][0]!=`object`&&e[0][0]!==void 0}function zn(e){return console.warn(`Deprecated use of _flat, please use L.LineUtil.isFlat instead.`),Rn(e)}function Bn(e,t){var n,r,i,a,o,s,c,l;if(!e||e.length===0)throw Error(`latlngs not passed`);Rn(e)||(console.warn(`latlngs are not flat! Only the first ring will be used`),e=e[0]);var u=B([0,0]),d=ee(e);d.getNorthWest().distanceTo(d.getSouthWest())*d.getNorthEast().distanceTo(d.getNorthWest())<1700&&(u=wn(e));var f=e.length,p=[];for(n=0;n<f;n++){var m=B(e[n]);p.push(t.project(B([m.lat-u.lat,m.lng-u.lng])))}for(n=0,r=0;n<f-1;n++)r+=p[n].distanceTo(p[n+1])/2;if(r===0)l=p[0];else for(n=0,a=0;n<f-1;n++)if(o=p[n],s=p[n+1],i=o.distanceTo(s),a+=i,a>r){c=(a-r)/i,l=[s.x-c*(s.x-o.x),s.y-c*(s.y-o.y)];break}var h=t.unproject(P(l));return B([h.lat+u.lat,h.lng+u.lng])}var Vn={__proto__:null,simplify:En,pointToSegmentDistance:Dn,closestPointOnSegment:On,clipSegment:Nn,_getEdgeIntersection:Pn,_getBitCode:Fn,_sqClosestPointOnSegment:Ln,isFlat:Rn,_flat:zn,polylineCenter:Bn},Hn={project:function(e){return new M(e.lng,e.lat)},unproject:function(e){return new z(e.y,e.x)},bounds:new F([-180,-90],[180,90])},Un={R:6378137,R_MINOR:6356752.314245179,bounds:new F([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(e){var t=Math.PI/180,n=this.R,r=e.lat*t,i=this.R_MINOR/n,a=Math.sqrt(1-i*i),o=a*Math.sin(r),s=Math.tan(Math.PI/4-r/2)/((1-o)/(1+o))**(a/2);return r=-n*Math.log(Math.max(s,1e-10)),new M(e.lng*t*n,r)},unproject:function(e){for(var t=180/Math.PI,n=this.R,r=this.R_MINOR/n,i=Math.sqrt(1-r*r),a=Math.exp(-e.y/n),o=Math.PI/2-2*Math.atan(a),s=0,c=.1,l;s<15&&Math.abs(c)>1e-7;s++)l=i*Math.sin(o),l=((1-l)/(1+l))**(i/2),c=Math.PI/2-2*Math.atan(a*l)-o,o+=c;return new z(o*t,e.x*t/n)}},Wn={__proto__:null,LonLat:Hn,Mercator:Un,SphericalMercator:ie},Gn=n({},ne,{code:`EPSG:3395`,projection:Un,transformation:function(){var e=.5/(Math.PI*Un.R);return oe(e,.5,-e,.5)}()}),Kn=n({},ne,{code:`EPSG:4326`,projection:Hn,transformation:oe(1/180,1,-1/180,.5)}),qn=n({},te,{projection:Hn,transformation:oe(1,0,-1,0),scale:function(e){return 2**e},zoom:function(e){return Math.log(e)/Math.LN2},distance:function(e,t){var n=t.lng-e.lng,r=t.lat-e.lat;return Math.sqrt(n*n+r*r)},infinite:!0});te.Earth=ne,te.EPSG3395=Gn,te.EPSG3857=se,te.EPSG900913=ce,te.EPSG4326=Kn,te.Simple=qn;var Jn=j.extend({options:{pane:`overlayPane`,attribution:null,bubblingMouseEvents:!0},addTo:function(e){return e.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(e){return e&&e.removeLayer(this),this},getPane:function(e){return this._map.getPane(e?this.options[e]||e:this.options.pane)},addInteractiveTarget:function(e){return this._map._targets[o(e)]=this,this},removeInteractiveTarget:function(e){return delete this._map._targets[o(e)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(e){var t=e.target;if(t.hasLayer(this)){if(this._map=t,this._zoomAnimated=t._zoomAnimated,this.getEvents){var n=this.getEvents();t.on(n,this),this.once(`remove`,function(){t.off(n,this)},this)}this.onAdd(t),this.fire(`add`),t.fire(`layeradd`,{layer:this})}}});Y.include({addLayer:function(e){if(!e._layerAdd)throw Error(`The provided object is not a Layer.`);var t=o(e);return this._layers[t]||(this._layers[t]=e,e._mapToAdd=this,e.beforeAdd&&e.beforeAdd(this),this.whenReady(e._layerAdd,e)),this},removeLayer:function(e){var t=o(e);return this._layers[t]&&(this._loaded&&e.onRemove(this),delete this._layers[t],this._loaded&&(this.fire(`layerremove`,{layer:e}),e.fire(`remove`)),e._map=e._mapToAdd=null),this},hasLayer:function(e){return o(e)in this._layers},eachLayer:function(e,t){for(var n in this._layers)e.call(t,this._layers[n]);return this},_addLayers:function(e){e=e?_(e)?e:[e]:[];for(var t=0,n=e.length;t<n;t++)this.addLayer(e[t])},_addZoomLimit:function(e){isNaN(e.options.maxZoom)&&isNaN(e.options.minZoom)||(this._zoomBoundLayers[o(e)]=e,this._updateZoomLevels())},_removeZoomLimit:function(e){var t=o(e);this._zoomBoundLayers[t]&&(delete this._zoomBoundLayers[t],this._updateZoomLevels())},_updateZoomLevels:function(){var e=1/0,t=-1/0,n=this._getZoomSpan();for(var r in this._zoomBoundLayers){var i=this._zoomBoundLayers[r].options;e=i.minZoom===void 0?e:Math.min(e,i.minZoom),t=i.maxZoom===void 0?t:Math.max(t,i.maxZoom)}this._layersMaxZoom=t===-1/0?void 0:t,this._layersMinZoom=e===1/0?void 0:e,n!==this._getZoomSpan()&&this.fire(`zoomlevelschange`),this.options.maxZoom===void 0&&this._layersMaxZoom&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),this.options.minZoom===void 0&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom&&this.setZoom(this._layersMinZoom)}});var Yn=Jn.extend({initialize:function(e,t){p(this,t),this._layers={};var n,r;if(e)for(n=0,r=e.length;n<r;n++)this.addLayer(e[n])},addLayer:function(e){var t=this.getLayerId(e);return this._layers[t]=e,this._map&&this._map.addLayer(e),this},removeLayer:function(e){var t=e in this._layers?e:this.getLayerId(e);return this._map&&this._layers[t]&&this._map.removeLayer(this._layers[t]),delete this._layers[t],this},hasLayer:function(e){return(typeof e==`number`?e:this.getLayerId(e))in this._layers},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(e){var t=Array.prototype.slice.call(arguments,1),n,r;for(n in this._layers)r=this._layers[n],r[e]&&r[e].apply(r,t);return this},onAdd:function(e){this.eachLayer(e.addLayer,e)},onRemove:function(e){this.eachLayer(e.removeLayer,e)},eachLayer:function(e,t){for(var n in this._layers)e.call(t,this._layers[n]);return this},getLayer:function(e){return this._layers[e]},getLayers:function(){var e=[];return this.eachLayer(e.push,e),e},setZIndex:function(e){return this.invoke(`setZIndex`,e)},getLayerId:function(e){return o(e)}}),Xn=function(e,t){return new Yn(e,t)},Zn=Yn.extend({addLayer:function(e){return this.hasLayer(e)?this:(e.addEventParent(this),Yn.prototype.addLayer.call(this,e),this.fire(`layeradd`,{layer:e}))},removeLayer:function(e){return this.hasLayer(e)?(e in this._layers&&(e=this._layers[e]),e.removeEventParent(this),Yn.prototype.removeLayer.call(this,e),this.fire(`layerremove`,{layer:e})):this},setStyle:function(e){return this.invoke(`setStyle`,e)},bringToFront:function(){return this.invoke(`bringToFront`)},bringToBack:function(){return this.invoke(`bringToBack`)},getBounds:function(){var e=new R;for(var t in this._layers){var n=this._layers[t];e.extend(n.getBounds?n.getBounds():n.getLatLng())}return e}}),Qn=function(e,t){return new Zn(e,t)},$n=O.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0],crossOrigin:!1},initialize:function(e){p(this,e)},createIcon:function(e){return this._createIcon(`icon`,e)},createShadow:function(e){return this._createIcon(`shadow`,e)},_createIcon:function(e,t){var n=this._getIconUrl(e);if(!n){if(e===`icon`)throw Error(`iconUrl not set in Icon options (see the docs).`);return null}var r=this._createImg(n,t&&t.tagName===`IMG`?t:null);return this._setIconStyles(r,e),(this.options.crossOrigin||this.options.crossOrigin===``)&&(r.crossOrigin=this.options.crossOrigin===!0?``:this.options.crossOrigin),r},_setIconStyles:function(e,t){var n=this.options,r=n[t+`Size`];typeof r==`number`&&(r=[r,r]);var i=P(r),a=P(t===`shadow`&&n.shadowAnchor||n.iconAnchor||i&&i.divideBy(2,!0));e.className=`leaflet-marker-`+t+` `+(n.className||``),a&&(e.style.marginLeft=-a.x+`px`,e.style.marginTop=-a.y+`px`),i&&(e.style.width=i.x+`px`,e.style.height=i.y+`px`)},_createImg:function(e,t){return t||=document.createElement(`img`),t.src=e,t},_getIconUrl:function(e){return H.retina&&this.options[e+`RetinaUrl`]||this.options[e+`Url`]}});function er(e){return new $n(e)}var tr=$n.extend({options:{iconUrl:`marker-icon.png`,iconRetinaUrl:`marker-icon-2x.png`,shadowUrl:`marker-shadow.png`,iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(e){return typeof tr.imagePath!=`string`&&(tr.imagePath=this._detectIconPath()),(this.options.imagePath||tr.imagePath)+$n.prototype._getIconUrl.call(this,e)},_stripUrl:function(e){var t=function(e,t,n){var r=t.exec(e);return r&&r[n]};return e=t(e,/^url\((['"])?(.+)\1\)$/,2),e&&t(e,/^(.*)marker-icon\.png$/,1)},_detectIconPath:function(){var e=U(`div`,`leaflet-default-icon-path`,document.body),t=vt(e,`background-image`)||vt(e,`backgroundImage`);if(document.body.removeChild(e),t=this._stripUrl(t),t)return t;var n=document.querySelector(`link[href$="leaflet.css"]`);return n?n.href.substring(0,n.href.length-11-1):``}}),nr=vn.extend({initialize:function(e){this._marker=e},addHooks:function(){var e=this._marker._icon;this._draggable||=new xn(e,e,!0),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),G(e,`leaflet-marker-draggable`)},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).disable(),this._marker._icon&&Ct(this._marker._icon,`leaflet-marker-draggable`)},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(e){var t=this._marker,n=t._map,r=this._marker.options.autoPanSpeed,i=this._marker.options.autoPanPadding,a=At(t._icon),o=n.getPixelBounds(),s=n.getPixelOrigin(),c=I(o.min._subtract(s).add(i),o.max._subtract(s).subtract(i));if(!c.contains(a)){var l=P((Math.max(c.max.x,a.x)-c.max.x)/(o.max.x-c.max.x)-(Math.min(c.min.x,a.x)-c.min.x)/(o.min.x-c.min.x),(Math.max(c.max.y,a.y)-c.max.y)/(o.max.y-c.max.y)-(Math.min(c.min.y,a.y)-c.min.y)/(o.min.y-c.min.y)).multiplyBy(r);n.panBy(l,{animate:!1}),this._draggable._newPos._add(l),this._draggable._startPos._add(l),K(t._icon,this._draggable._newPos),this._onDrag(e),this._panRequest=T(this._adjustPan.bind(this,e))}},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup&&this._marker.closePopup(),this._marker.fire(`movestart`).fire(`dragstart`)},_onPreDrag:function(e){this._marker.options.autoPan&&(E(this._panRequest),this._panRequest=T(this._adjustPan.bind(this,e)))},_onDrag:function(e){var t=this._marker,n=t._shadow,r=At(t._icon),i=t._map.layerPointToLatLng(r);n&&K(n,r),t._latlng=i,e.latlng=i,e.oldLatLng=this._oldLatLng,t.fire(`move`,e).fire(`drag`,e)},_onDragEnd:function(e){E(this._panRequest),delete this._oldLatLng,this._marker.fire(`moveend`).fire(`dragend`,e)}}),rr=Jn.extend({options:{icon:new tr,interactive:!0,keyboard:!0,title:``,alt:`Marker`,zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:`markerPane`,shadowPane:`shadowPane`,bubblingMouseEvents:!1,autoPanOnFocus:!0,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10},initialize:function(e,t){p(this,t),this._latlng=B(e)},onAdd:function(e){this._zoomAnimated=this._zoomAnimated&&e.options.markerZoomAnimation,this._zoomAnimated&&e.on(`zoomanim`,this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(e){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&e.off(`zoomanim`,this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(e){var t=this._latlng;return this._latlng=B(e),this.update(),this.fire(`move`,{oldLatLng:t,latlng:this._latlng})},setZIndexOffset:function(e){return this.options.zIndexOffset=e,this.update()},getIcon:function(){return this.options.icon},setIcon:function(e){return this.options.icon=e,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){if(this._icon&&this._map){var e=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(e)}return this},_initIcon:function(){var e=this.options,t=`leaflet-zoom-`+(this._zoomAnimated?`animated`:`hide`),n=e.icon.createIcon(this._icon),r=!1;n!==this._icon&&(this._icon&&this._removeIcon(),r=!0,e.title&&(n.title=e.title),n.tagName===`IMG`&&(n.alt=e.alt||``)),G(n,t),e.keyboard&&(n.tabIndex=`0`,n.setAttribute(`role`,`button`)),this._icon=n,e.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&q(n,`focus`,this._panOnFocus,this);var i=e.icon.createShadow(this._shadow),a=!1;i!==this._shadow&&(this._removeShadow(),a=!0),i&&(G(i,t),i.alt=``),this._shadow=i,e.opacity<1&&this._updateOpacity(),r&&this.getPane().appendChild(this._icon),this._initInteraction(),i&&a&&this.getPane(e.shadowPane).appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&J(this._icon,`focus`,this._panOnFocus,this),W(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&W(this._shadow),this._shadow=null},_setPos:function(e){this._icon&&K(this._icon,e),this._shadow&&K(this._shadow,e),this._zIndex=e.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(e){this._icon&&(this._icon.style.zIndex=this._zIndex+e)},_animateZoom:function(e){var t=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center).round();this._setPos(t)},_initInteraction:function(){if(this.options.interactive&&(G(this._icon,`leaflet-interactive`),this.addInteractiveTarget(this._icon),nr)){var e=this.options.draggable;this.dragging&&(e=this.dragging.enabled(),this.dragging.disable()),this.dragging=new nr(this),e&&this.dragging.enable()}},setOpacity:function(e){return this.options.opacity=e,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var e=this.options.opacity;this._icon&&Et(this._icon,e),this._shadow&&Et(this._shadow,e)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_panOnFocus:function(){var e=this._map;if(e){var t=this.options.icon.options,n=t.iconSize?P(t.iconSize):P(0,0),r=t.iconAnchor?P(t.iconAnchor):P(0,0);e.panInside(this._latlng,{paddingTopLeft:r,paddingBottomRight:n.subtract(r)})}},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}});function ir(e,t){return new rr(e,t)}var ar=Jn.extend({options:{stroke:!0,color:`#3388ff`,weight:3,opacity:1,lineCap:`round`,lineJoin:`round`,dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,fillRule:`evenodd`,interactive:!0,bubblingMouseEvents:!0},beforeAdd:function(e){this._renderer=e.getRenderer(this)},onAdd:function(){this._renderer._initPath(this),this._reset(),this._renderer._addPath(this)},onRemove:function(){this._renderer._removePath(this)},redraw:function(){return this._map&&this._renderer._updatePath(this),this},setStyle:function(e){return p(this,e),this._renderer&&(this._renderer._updateStyle(this),this.options.stroke&&e&&Object.prototype.hasOwnProperty.call(e,`weight`)&&this._updateBounds()),this},bringToFront:function(){return this._renderer&&this._renderer._bringToFront(this),this},bringToBack:function(){return this._renderer&&this._renderer._bringToBack(this),this},getElement:function(){return this._path},_reset:function(){this._project(),this._update()},_clickTolerance:function(){return(this.options.stroke?this.options.weight/2:0)+(this._renderer.options.tolerance||0)}}),or=ar.extend({options:{fill:!0,radius:10},initialize:function(e,t){p(this,t),this._latlng=B(e),this._radius=this.options.radius},setLatLng:function(e){var t=this._latlng;return this._latlng=B(e),this.redraw(),this.fire(`move`,{oldLatLng:t,latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(e){return this.options.radius=this._radius=e,this.redraw()},getRadius:function(){return this._radius},setStyle:function(e){var t=e&&e.radius||this._radius;return ar.prototype.setStyle.call(this,e),this.setRadius(t),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var e=this._radius,t=this._radiusY||e,n=this._clickTolerance(),r=[e+n,t+n];this._pxBounds=new F(this._point.subtract(r),this._point.add(r))},_update:function(){this._map&&this._updatePath()},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)},_containsPoint:function(e){return e.distanceTo(this._point)<=this._radius+this._clickTolerance()}});function sr(e,t){return new or(e,t)}var cr=or.extend({initialize:function(e,t,r){if(typeof t==`number`&&(t=n({},r,{radius:t})),p(this,t),this._latlng=B(e),isNaN(this.options.radius))throw Error(`Circle radius cannot be NaN`);this._mRadius=this.options.radius},setRadius:function(e){return this._mRadius=e,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var e=[this._radius,this._radiusY||this._radius];return new R(this._map.layerPointToLatLng(this._point.subtract(e)),this._map.layerPointToLatLng(this._point.add(e)))},setStyle:ar.prototype.setStyle,_project:function(){var e=this._latlng.lng,t=this._latlng.lat,n=this._map,r=n.options.crs;if(r.distance===ne.distance){var i=Math.PI/180,a=this._mRadius/ne.R/i,o=n.project([t+a,e]),s=n.project([t-a,e]),c=o.add(s).divideBy(2),l=n.unproject(c).lat,u=Math.acos((Math.cos(a*i)-Math.sin(t*i)*Math.sin(l*i))/(Math.cos(t*i)*Math.cos(l*i)))/i;(isNaN(u)||u===0)&&(u=a/Math.cos(Math.PI/180*t)),this._point=c.subtract(n.getPixelOrigin()),this._radius=isNaN(u)?0:c.x-n.project([l,e-u]).x,this._radiusY=c.y-o.y}else{var d=r.unproject(r.project(this._latlng).subtract([this._mRadius,0]));this._point=n.latLngToLayerPoint(this._latlng),this._radius=this._point.x-n.latLngToLayerPoint(d).x}this._updateBounds()}});function lr(e,t,n){return new cr(e,t,n)}var ur=ar.extend({options:{smoothFactor:1,noClip:!1},initialize:function(e,t){p(this,t),this._setLatLngs(e)},getLatLngs:function(){return this._latlngs},setLatLngs:function(e){return this._setLatLngs(e),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(e){for(var t=1/0,n=null,r=Ln,i,a,o=0,s=this._parts.length;o<s;o++)for(var c=this._parts[o],l=1,u=c.length;l<u;l++){i=c[l-1],a=c[l];var d=r(e,i,a,!0);d<t&&(t=d,n=r(e,i,a))}return n&&(n.distance=Math.sqrt(t)),n},getCenter:function(){if(!this._map)throw Error(`Must add layer to map before using getCenter()`);return Bn(this._defaultShape(),this._map.options.crs)},getBounds:function(){return this._bounds},addLatLng:function(e,t){return t||=this._defaultShape(),e=B(e),t.push(e),this._bounds.extend(e),this.redraw()},_setLatLngs:function(e){this._bounds=new R,this._latlngs=this._convertLatLngs(e)},_defaultShape:function(){return Rn(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(e){for(var t=[],n=Rn(e),r=0,i=e.length;r<i;r++)n?(t[r]=B(e[r]),this._bounds.extend(t[r])):t[r]=this._convertLatLngs(e[r]);return t},_project:function(){var e=new F;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,e),this._bounds.isValid()&&e.isValid()&&(this._rawPxBounds=e,this._updateBounds())},_updateBounds:function(){var e=this._clickTolerance(),t=new M(e,e);this._rawPxBounds&&(this._pxBounds=new F([this._rawPxBounds.min.subtract(t),this._rawPxBounds.max.add(t)]))},_projectLatlngs:function(e,t,n){var r=e[0]instanceof z,i=e.length,a,o;if(r){for(o=[],a=0;a<i;a++)o[a]=this._map.latLngToLayerPoint(e[a]),n.extend(o[a]);t.push(o)}else for(a=0;a<i;a++)this._projectLatlngs(e[a],t,n)},_clipPoints:function(){var e=this._renderer._bounds;if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(e)){if(this.options.noClip)this._parts=this._rings;else for(var t=this._parts,n=0,r,i=0,a=this._rings.length,o,s,c;n<a;n++)for(c=this._rings[n],r=0,o=c.length;r<o-1;r++)s=Nn(c[r],c[r+1],e,r,!0),s&&(t[i]=t[i]||[],t[i].push(s[0]),(s[1]!==c[r+1]||r===o-2)&&(t[i].push(s[1]),i++))}},_simplifyPoints:function(){for(var e=this._parts,t=this.options.smoothFactor,n=0,r=e.length;n<r;n++)e[n]=En(e[n],t)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(e,t){var n,r,i,a,o,s,c=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(e))return!1;for(n=0,a=this._parts.length;n<a;n++)for(s=this._parts[n],r=0,o=s.length,i=o-1;r<o;i=r++)if((t||r!==0)&&Dn(e,s[i],s[r])<=c)return!0;return!1}});function dr(e,t){return new ur(e,t)}ur._flat=zn;var fr=ur.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length},getCenter:function(){if(!this._map)throw Error(`Must add layer to map before using getCenter()`);return Cn(this._defaultShape(),this._map.options.crs)},_convertLatLngs:function(e){var t=ur.prototype._convertLatLngs.call(this,e),n=t.length;return n>=2&&t[0]instanceof z&&t[0].equals(t[n-1])&&t.pop(),t},_setLatLngs:function(e){ur.prototype._setLatLngs.call(this,e),Rn(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return Rn(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var e=this._renderer._bounds,t=this.options.weight,n=new M(t,t);if(e=new F(e.min.subtract(n),e.max.add(n)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(e)){if(this.options.noClip)this._parts=this._rings;else for(var r=0,i=this._rings.length,a;r<i;r++)a=Sn(this._rings[r],e,!0),a.length&&this._parts.push(a)}},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(e){var t=!1,n,r,i,a,o,s,c,l;if(!this._pxBounds||!this._pxBounds.contains(e))return!1;for(a=0,c=this._parts.length;a<c;a++)for(n=this._parts[a],o=0,l=n.length,s=l-1;o<l;s=o++)r=n[o],i=n[s],r.y>e.y!=i.y>e.y&&e.x<(i.x-r.x)*(e.y-r.y)/(i.y-r.y)+r.x&&(t=!t);return t||ur.prototype._containsPoint.call(this,e,!0)}});function pr(e,t){return new fr(e,t)}var mr=Zn.extend({initialize:function(e,t){p(this,t),this._layers={},e&&this.addData(e)},addData:function(e){var t=_(e)?e:e.features,n,r,i;if(t){for(n=0,r=t.length;n<r;n++)i=t[n],(i.geometries||i.geometry||i.features||i.coordinates)&&this.addData(i);return this}var a=this.options;if(a.filter&&!a.filter(e))return this;var o=hr(e,a);return o?(o.feature=Sr(e),o.defaultOptions=o.options,this.resetStyle(o),a.onEachFeature&&a.onEachFeature(e,o),this.addLayer(o)):this},resetStyle:function(e){return e===void 0?this.eachLayer(this.resetStyle,this):(e.options=n({},e.defaultOptions),this._setLayerStyle(e,this.options.style),this)},setStyle:function(e){return this.eachLayer(function(t){this._setLayerStyle(t,e)},this)},_setLayerStyle:function(e,t){e.setStyle&&(typeof t==`function`&&(t=t(e.feature)),e.setStyle(t))}});function hr(e,t){var n=e.type===`Feature`?e.geometry:e,r=n?n.coordinates:null,i=[],a=t&&t.pointToLayer,o=t&&t.coordsToLatLng||_r,s,c,l,u;if(!r&&!n)return null;switch(n.type){case`Point`:return s=o(r),gr(a,e,s,t);case`MultiPoint`:for(l=0,u=r.length;l<u;l++)s=o(r[l]),i.push(gr(a,e,s,t));return new Zn(i);case`LineString`:case`MultiLineString`:return c=vr(r,n.type===`LineString`?0:1,o),new ur(c,t);case`Polygon`:case`MultiPolygon`:return c=vr(r,n.type===`Polygon`?1:2,o),new fr(c,t);case`GeometryCollection`:for(l=0,u=n.geometries.length;l<u;l++){var d=hr({geometry:n.geometries[l],type:`Feature`,properties:e.properties},t);d&&i.push(d)}return new Zn(i);case`FeatureCollection`:for(l=0,u=n.features.length;l<u;l++){var f=hr(n.features[l],t);f&&i.push(f)}return new Zn(i);default:throw Error(`Invalid GeoJSON object.`)}}function gr(e,t,n,r){return e?e(t,n):new rr(n,r&&r.markersInheritOptions&&r)}function _r(e){return new z(e[1],e[0],e[2])}function vr(e,t,n){for(var r=[],i=0,a=e.length,o;i<a;i++)o=t?vr(e[i],t-1,n):(n||_r)(e[i]),r.push(o);return r}function yr(e,t){return e=B(e),e.alt===void 0?[u(e.lng,t),u(e.lat,t)]:[u(e.lng,t),u(e.lat,t),u(e.alt,t)]}function br(e,t,n,r){for(var i=[],a=0,o=e.length;a<o;a++)i.push(t?br(e[a],Rn(e[a])?0:t-1,n,r):yr(e[a],r));return!t&&n&&i.length>0&&i.push(i[0].slice()),i}function xr(e,t){return e.feature?n({},e.feature,{geometry:t}):Sr(t)}function Sr(e){return e.type===`Feature`||e.type===`FeatureCollection`?e:{type:`Feature`,properties:{},geometry:e}}var Cr={toGeoJSON:function(e){return xr(this,{type:`Point`,coordinates:yr(this.getLatLng(),e)})}};rr.include(Cr),cr.include(Cr),or.include(Cr),ur.include({toGeoJSON:function(e){var t=!Rn(this._latlngs),n=br(this._latlngs,+!!t,!1,e);return xr(this,{type:(t?`Multi`:``)+`LineString`,coordinates:n})}}),fr.include({toGeoJSON:function(e){var t=!Rn(this._latlngs),n=t&&!Rn(this._latlngs[0]),r=br(this._latlngs,n?2:+!!t,!0,e);return t||(r=[r]),xr(this,{type:(n?`Multi`:``)+`Polygon`,coordinates:r})}}),Yn.include({toMultiPoint:function(e){var t=[];return this.eachLayer(function(n){t.push(n.toGeoJSON(e).geometry.coordinates)}),xr(this,{type:`MultiPoint`,coordinates:t})},toGeoJSON:function(e){var t=this.feature&&this.feature.geometry&&this.feature.geometry.type;if(t===`MultiPoint`)return this.toMultiPoint(e);var n=t===`GeometryCollection`,r=[];return this.eachLayer(function(t){if(t.toGeoJSON){var i=t.toGeoJSON(e);if(n)r.push(i.geometry);else{var a=Sr(i);a.type===`FeatureCollection`?r.push.apply(r,a.features):r.push(a)}}}),n?xr(this,{geometries:r,type:`GeometryCollection`}):{type:`FeatureCollection`,features:r}}});function X(e,t){return new mr(e,t)}var wr=X,Z=Jn.extend({options:{opacity:1,alt:``,interactive:!1,crossOrigin:!1,errorOverlayUrl:``,zIndex:1,className:``},initialize:function(e,t,n){this._url=e,this._bounds=ee(t),p(this,n)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(G(this._image,`leaflet-interactive`),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){W(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(e){return this.options.opacity=e,this._image&&this._updateOpacity(),this},setStyle:function(e){return e.opacity&&this.setOpacity(e.opacity),this},bringToFront:function(){return this._map&&bt(this._image),this},bringToBack:function(){return this._map&&xt(this._image),this},setUrl:function(e){return this._url=e,this._image&&(this._image.src=e),this},setBounds:function(e){return this._bounds=ee(e),this._map&&this._reset(),this},getEvents:function(){var e={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},setZIndex:function(e){return this.options.zIndex=e,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var e=this._url.tagName===`IMG`,t=this._image=e?this._url:U(`img`);G(t,`leaflet-image-layer`),this._zoomAnimated&&G(t,`leaflet-zoom-animated`),this.options.className&&G(t,this.options.className),t.onselectstart=l,t.onmousemove=l,t.onload=i(this.fire,this,`load`),t.onerror=i(this._overlayOnError,this,`error`),(this.options.crossOrigin||this.options.crossOrigin===``)&&(t.crossOrigin=this.options.crossOrigin===!0?``:this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),e?this._url=t.src:(t.src=this._url,t.alt=this.options.alt)},_animateZoom:function(e){var t=this._map.getZoomScale(e.zoom),n=this._map._latLngBoundsToNewLayerBounds(this._bounds,e.zoom,e.center).min;kt(this._image,n,t)},_reset:function(){var e=this._image,t=new F(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),n=t.getSize();K(e,t.min),e.style.width=n.x+`px`,e.style.height=n.y+`px`},_updateOpacity:function(){Et(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&this.options.zIndex!==void 0&&this.options.zIndex!==null&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire(`error`);var e=this.options.errorOverlayUrl;e&&this._url!==e&&(this._url=e,this._image.src=e)},getCenter:function(){return this._bounds.getCenter()}}),Tr=function(e,t,n){return new Z(e,t,n)},Er=Z.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var e=this._url.tagName===`VIDEO`,t=this._image=e?this._url:U(`video`);if(G(t,`leaflet-image-layer`),this._zoomAnimated&&G(t,`leaflet-zoom-animated`),this.options.className&&G(t,this.options.className),t.onselectstart=l,t.onmousemove=l,t.onloadeddata=i(this.fire,this,`load`),e){for(var n=t.getElementsByTagName(`source`),r=[],a=0;a<n.length;a++)r.push(n[a].src);this._url=n.length>0?r:[t.src]}else{_(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(t.style,`objectFit`)&&(t.style.objectFit=`fill`),t.autoplay=!!this.options.autoplay,t.loop=!!this.options.loop,t.muted=!!this.options.muted,t.playsInline=!!this.options.playsInline;for(var o=0;o<this._url.length;o++){var s=U(`source`);s.src=this._url[o],t.appendChild(s)}}}});function Dr(e,t,n){return new Er(e,t,n)}var Or=Z.extend({_initImage:function(){var e=this._image=this._url;G(e,`leaflet-image-layer`),this._zoomAnimated&&G(e,`leaflet-zoom-animated`),this.options.className&&G(e,this.options.className),e.onselectstart=l,e.onmousemove=l}});function kr(e,t,n){return new Or(e,t,n)}var Ar=Jn.extend({options:{interactive:!1,offset:[0,0],className:``,pane:void 0,content:``},initialize:function(e,t){e&&(e instanceof z||_(e))?(this._latlng=B(e),p(this,t)):(p(this,e),this._source=t),this.options.content&&(this._content=this.options.content)},openOn:function(e){return e=arguments.length?e:this._source._map,e.hasLayer(this)||e.addLayer(this),this},close:function(){return this._map&&this._map.removeLayer(this),this},toggle:function(e){return this._map?this.close():(arguments.length?this._source=e:e=this._source,this._prepareOpen(),this.openOn(e._map)),this},onAdd:function(e){this._zoomAnimated=e._zoomAnimated,this._container||this._initLayout(),e._fadeAnimated&&Et(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),e._fadeAnimated&&Et(this._container,1),this.bringToFront(),this.options.interactive&&(G(this._container,`leaflet-interactive`),this.addInteractiveTarget(this._container))},onRemove:function(e){e._fadeAnimated?(Et(this._container,0),this._removeTimeout=setTimeout(i(W,void 0,this._container),200)):W(this._container),this.options.interactive&&(Ct(this._container,`leaflet-interactive`),this.removeInteractiveTarget(this._container))},getLatLng:function(){return this._latlng},setLatLng:function(e){return this._latlng=B(e),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(e){return this._content=e,this.update(),this},getElement:function(){return this._container},update:function(){this._map&&(this._container.style.visibility=`hidden`,this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility=``,this._adjustPan())},getEvents:function(){var e={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&bt(this._container),this},bringToBack:function(){return this._map&&xt(this._container),this},_prepareOpen:function(e){var t=this._source;if(!t._map)return!1;if(t instanceof Zn){t=null;var n=this._source._layers;for(var r in n)if(n[r]._map){t=n[r];break}if(!t)return!1;this._source=t}if(!e){if(t.getCenter)e=t.getCenter();else if(t.getLatLng)e=t.getLatLng();else if(t.getBounds)e=t.getBounds().getCenter();else throw Error(`Unable to get source layer LatLng.`)}return this.setLatLng(e),this._map&&this.update(),!0},_updateContent:function(){if(this._content){var e=this._contentNode,t=typeof this._content==`function`?this._content(this._source||this):this._content;if(typeof t==`string`)e.innerHTML=t;else{for(;e.hasChildNodes();)e.removeChild(e.firstChild);e.appendChild(t)}this.fire(`contentupdate`)}},_updatePosition:function(){if(this._map){var e=this._map.latLngToLayerPoint(this._latlng),t=P(this.options.offset),n=this._getAnchor();this._zoomAnimated?K(this._container,e.add(n)):t=t.add(e).add(n);var r=this._containerBottom=-t.y,i=this._containerLeft=-Math.round(this._containerWidth/2)+t.x;this._container.style.bottom=r+`px`,this._container.style.left=i+`px`}},_getAnchor:function(){return[0,0]}});Y.include({_initOverlay:function(e,t,n,r){var i=t;return i instanceof e||(i=new e(r).setContent(t)),n&&i.setLatLng(n),i}}),Jn.include({_initOverlay:function(e,t,n,r){var i=n;return i instanceof e?(p(i,r),i._source=this):(i=t&&!r?t:new e(r,this),i.setContent(n)),i}});var jr=Ar.extend({options:{pane:`popupPane`,offset:[0,7],maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,closeOnEscapeKey:!0,className:``},openOn:function(e){return e=arguments.length?e:this._source._map,!e.hasLayer(this)&&e._popup&&e._popup.options.autoClose&&e.removeLayer(e._popup),e._popup=this,Ar.prototype.openOn.call(this,e)},onAdd:function(e){Ar.prototype.onAdd.call(this,e),e.fire(`popupopen`,{popup:this}),this._source&&(this._source.fire(`popupopen`,{popup:this},!0),this._source instanceof ar||this._source.on(`preclick`,Yt))},onRemove:function(e){Ar.prototype.onRemove.call(this,e),e.fire(`popupclose`,{popup:this}),this._source&&(this._source.fire(`popupclose`,{popup:this},!0),this._source instanceof ar||this._source.off(`preclick`,Yt))},getEvents:function(){var e=Ar.prototype.getEvents.call(this);return(this.options.closeOnClick===void 0?this._map.options.closePopupOnClick:this.options.closeOnClick)&&(e.preclick=this.close),this.options.keepInView&&(e.moveend=this._adjustPan),e},_initLayout:function(){var e=`leaflet-popup`,t=this._container=U(`div`,e+` `+(this.options.className||``)+` leaflet-zoom-animated`),n=this._wrapper=U(`div`,e+`-content-wrapper`,t);if(this._contentNode=U(`div`,e+`-content`,n),Zt(t),Xt(this._contentNode),q(t,`contextmenu`,Yt),this._tipContainer=U(`div`,e+`-tip-container`,t),this._tip=U(`div`,e+`-tip`,this._tipContainer),this.options.closeButton){var r=this._closeButton=U(`a`,e+`-close-button`,t);r.setAttribute(`role`,`button`),r.setAttribute(`aria-label`,`Close popup`),r.href=`#close`,r.innerHTML=`<span aria-hidden="true">×</span>`,q(r,`click`,function(e){Qt(e),this.close()},this)}},_updateLayout:function(){var e=this._contentNode,t=e.style;t.width=``,t.whiteSpace=`nowrap`;var n=e.offsetWidth;n=Math.min(n,this.options.maxWidth),n=Math.max(n,this.options.minWidth),t.width=n+1+`px`,t.whiteSpace=``,t.height=``;var r=e.offsetHeight,i=this.options.maxHeight,a=`leaflet-popup-scrolled`;i&&r>i?(t.height=i+`px`,G(e,a)):Ct(e,a),this._containerWidth=this._container.offsetWidth},_animateZoom:function(e){var t=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center),n=this._getAnchor();K(this._container,t.add(n))},_adjustPan:function(){if(this.options.autoPan){if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning)this._autopanning=!1;else{var e=this._map,t=parseInt(vt(this._container,`marginBottom`),10)||0,n=this._container.offsetHeight+t,r=this._containerWidth,i=new M(this._containerLeft,-n-this._containerBottom);i._add(At(this._container));var a=e.layerPointToContainerPoint(i),o=P(this.options.autoPanPadding),s=P(this.options.autoPanPaddingTopLeft||o),c=P(this.options.autoPanPaddingBottomRight||o),l=e.getSize(),u=0,d=0;a.x+r+c.x>l.x&&(u=a.x+r-l.x+c.x),a.x-u-s.x<0&&(u=a.x-s.x),a.y+n+c.y>l.y&&(d=a.y+n-l.y+c.y),a.y-d-s.y<0&&(d=a.y-s.y),(u||d)&&(this.options.keepInView&&(this._autopanning=!0),e.fire(`autopanstart`).panBy([u,d]))}}},_getAnchor:function(){return P(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),Mr=function(e,t){return new jr(e,t)};Y.mergeOptions({closePopupOnClick:!0}),Y.include({openPopup:function(e,t,n){return this._initOverlay(jr,e,t,n).openOn(this),this},closePopup:function(e){return e=arguments.length?e:this._popup,e&&e.close(),this}}),Jn.include({bindPopup:function(e,t){return this._popup=this._initOverlay(jr,this._popup,e,t),this._popupHandlersAdded||=(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),!0),this},unbindPopup:function(){return this._popup&&=(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,null),this},openPopup:function(e){return this._popup&&(this instanceof Zn||(this._popup._source=this),this._popup._prepareOpen(e||this._latlng)&&this._popup.openOn(this._map)),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return this._popup?this._popup.isOpen():!1},setPopupContent:function(e){return this._popup&&this._popup.setContent(e),this},getPopup:function(){return this._popup},_openPopup:function(e){if(this._popup&&this._map){$t(e);var t=e.layer||e.target;this._popup._source===t&&!(t instanceof ar)?this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(e.latlng):(this._popup._source=t,this.openPopup(e.latlng))}},_movePopup:function(e){this._popup.setLatLng(e.latlng)},_onKeyPress:function(e){e.originalEvent.keyCode===13&&this._openPopup(e)}});var Nr=Ar.extend({options:{pane:`tooltipPane`,offset:[0,0],direction:`auto`,permanent:!1,sticky:!1,opacity:.9},onAdd:function(e){Ar.prototype.onAdd.call(this,e),this.setOpacity(this.options.opacity),e.fire(`tooltipopen`,{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire(`tooltipopen`,{tooltip:this},!0))},onRemove:function(e){Ar.prototype.onRemove.call(this,e),e.fire(`tooltipclose`,{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire(`tooltipclose`,{tooltip:this},!0))},getEvents:function(){var e=Ar.prototype.getEvents.call(this);return this.options.permanent||(e.preclick=this.close),e},_initLayout:function(){var e=`leaflet-tooltip `+(this.options.className||``)+` leaflet-zoom-`+(this._zoomAnimated?`animated`:`hide`);this._contentNode=this._container=U(`div`,e),this._container.setAttribute(`role`,`tooltip`),this._container.setAttribute(`id`,`leaflet-tooltip-`+o(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(e){var t,n,r=this._map,i=this._container,a=r.latLngToContainerPoint(r.getCenter()),o=r.layerPointToContainerPoint(e),s=this.options.direction,c=i.offsetWidth,l=i.offsetHeight,u=P(this.options.offset),d=this._getAnchor();s===`top`?(t=c/2,n=l):s===`bottom`?(t=c/2,n=0):s===`center`?(t=c/2,n=l/2):s===`right`?(t=0,n=l/2):s===`left`?(t=c,n=l/2):o.x<a.x?(s=`right`,t=0,n=l/2):(s=`left`,t=c+(u.x+d.x)*2,n=l/2),e=e.subtract(P(t,n,!0)).add(u).add(d),Ct(i,`leaflet-tooltip-right`),Ct(i,`leaflet-tooltip-left`),Ct(i,`leaflet-tooltip-top`),Ct(i,`leaflet-tooltip-bottom`),G(i,`leaflet-tooltip-`+s),K(i,e)},_updatePosition:function(){var e=this._map.latLngToLayerPoint(this._latlng);this._setPosition(e)},setOpacity:function(e){this.options.opacity=e,this._container&&Et(this._container,e)},_animateZoom:function(e){var t=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center);this._setPosition(t)},_getAnchor:function(){return P(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}}),Q=function(e,t){return new Nr(e,t)};Y.include({openTooltip:function(e,t,n){return this._initOverlay(Nr,e,t,n).openOn(this),this},closeTooltip:function(e){return e.close(),this}}),Jn.include({bindTooltip:function(e,t){return this._tooltip&&this.isTooltipOpen()&&this.unbindTooltip(),this._tooltip=this._initOverlay(Nr,this._tooltip,e,t),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&=(this._initTooltipInteractions(!0),this.closeTooltip(),null),this},_initTooltipInteractions:function(e){if(e||!this._tooltipHandlersAdded){var t=e?`off`:`on`,n={remove:this.closeTooltip,move:this._moveTooltip};this._tooltip.options.permanent?n.add=this._openTooltip:(n.mouseover=this._openTooltip,n.mouseout=this.closeTooltip,n.click=this._openTooltip,this._map?this._addFocusListeners():n.add=this._addFocusListeners),this._tooltip.options.sticky&&(n.mousemove=this._moveTooltip),this[t](n),this._tooltipHandlersAdded=!e}},openTooltip:function(e){return this._tooltip&&(this instanceof Zn||(this._tooltip._source=this),this._tooltip._prepareOpen(e)&&(this._tooltip.openOn(this._map),this.getElement?this._setAriaDescribedByOnLayer(this):this.eachLayer&&this.eachLayer(this._setAriaDescribedByOnLayer,this))),this},closeTooltip:function(){if(this._tooltip)return this._tooltip.close()},toggleTooltip:function(){return this._tooltip&&this._tooltip.toggle(this),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(e){return this._tooltip&&this._tooltip.setContent(e),this},getTooltip:function(){return this._tooltip},_addFocusListeners:function(){this.getElement?this._addFocusListenersOnLayer(this):this.eachLayer&&this.eachLayer(this._addFocusListenersOnLayer,this)},_addFocusListenersOnLayer:function(e){var t=typeof e.getElement==`function`&&e.getElement();t&&(q(t,`focus`,function(){this._tooltip._source=e,this.openTooltip()},this),q(t,`blur`,this.closeTooltip,this))},_setAriaDescribedByOnLayer:function(e){var t=typeof e.getElement==`function`&&e.getElement();t&&t.setAttribute(`aria-describedby`,this._tooltip._container.id)},_openTooltip:function(e){if(this._tooltip&&this._map){if(this._map.dragging&&this._map.dragging.moving()&&!this._openOnceFlag){this._openOnceFlag=!0;var t=this;this._map.once(`moveend`,function(){t._openOnceFlag=!1,t._openTooltip(e)})}else this._tooltip._source=e.layer||e.target,this.openTooltip(this._tooltip.options.sticky?e.latlng:void 0)}},_moveTooltip:function(e){var t=e.latlng,n,r;this._tooltip.options.sticky&&e.originalEvent&&(n=this._map.mouseEventToContainerPoint(e.originalEvent),r=this._map.containerPointToLayerPoint(n),t=this._map.layerPointToLatLng(r)),this._tooltip.setLatLng(t)}});var $=$n.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:`leaflet-div-icon`},createIcon:function(e){var t=e&&e.tagName===`DIV`?e:document.createElement(`div`),n=this.options;if(n.html instanceof Element?(yt(t),t.appendChild(n.html)):t.innerHTML=n.html===!1?``:n.html,n.bgPos){var r=P(n.bgPos);t.style.backgroundPosition=-r.x+`px `+-r.y+`px`}return this._setIconStyles(t,`icon`),t},createShadow:function(){return null}});function Pr(e){return new $(e)}$n.Default=tr;var Fr=Jn.extend({options:{tileSize:256,opacity:1,updateWhenIdle:H.mobile,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:`tilePane`,className:``,keepBuffer:2},initialize:function(e){p(this,e)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView()},beforeAdd:function(e){e._addZoomLimit(this)},onRemove:function(e){this._removeAllTiles(),W(this._container),e._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(bt(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(xt(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(e){return this.options.opacity=e,this._updateOpacity(),this},setZIndex:function(e){return this.options.zIndex=e,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){if(this._map){this._removeAllTiles();var e=this._clampZoom(this._map.getZoom());e!==this._tileZoom&&(this._tileZoom=e,this._updateLevels()),this._update()}return this},getEvents:function(){var e={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||=s(this._onMoveEnd,this.options.updateInterval,this),e.move=this._onMove),this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},createTile:function(){return document.createElement(`div`)},getTileSize:function(){var e=this.options.tileSize;return e instanceof M?e:new M(e,e)},_updateZIndex:function(){this._container&&this.options.zIndex!==void 0&&this.options.zIndex!==null&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(e){for(var t=this.getPane().children,n=-e(-1/0,1/0),r=0,i=t.length,a;r<i;r++)a=t[r].style.zIndex,t[r]!==this._container&&a&&(n=e(n,+a));isFinite(n)&&(this.options.zIndex=n+e(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!H.ielt9){Et(this._container,this.options.opacity);var e=+new Date,t=!1,n=!1;for(var r in this._tiles){var i=this._tiles[r];if(i.current&&i.loaded){var a=Math.min(1,(e-i.loaded)/200);Et(i.el,a),a<1?t=!0:(i.active?n=!0:this._onOpaqueTile(i),i.active=!0)}}n&&!this._noPrune&&this._pruneTiles(),t&&(E(this._fadeFrame),this._fadeFrame=T(this._updateOpacity,this))}},_onOpaqueTile:l,_initContainer:function(){this._container||(this._container=U(`div`,`leaflet-layer `+(this.options.className||``)),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var e=this._tileZoom,t=this.options.maxZoom;if(e!==void 0){for(var n in this._levels)n=Number(n),this._levels[n].el.children.length||n===e?(this._levels[n].el.style.zIndex=t-Math.abs(e-n),this._onUpdateLevel(n)):(W(this._levels[n].el),this._removeTilesAtZoom(n),this._onRemoveLevel(n),delete this._levels[n]);var r=this._levels[e],i=this._map;return r||(r=this._levels[e]={},r.el=U(`div`,`leaflet-tile-container leaflet-zoom-animated`,this._container),r.el.style.zIndex=t,r.origin=i.project(i.unproject(i.getPixelOrigin()),e).round(),r.zoom=e,this._setZoomTransform(r,i.getCenter(),i.getZoom()),r.el.offsetWidth,this._onCreateLevel(r)),this._level=r,r}},_onUpdateLevel:l,_onRemoveLevel:l,_onCreateLevel:l,_pruneTiles:function(){if(this._map){var e,t,n=this._map.getZoom();if(n>this.options.maxZoom||n<this.options.minZoom)this._removeAllTiles();else{for(e in this._tiles)t=this._tiles[e],t.retain=t.current;for(e in this._tiles)if(t=this._tiles[e],t.current&&!t.active){var r=t.coords;this._retainParent(r.x,r.y,r.z,r.z-5)||this._retainChildren(r.x,r.y,r.z,r.z+2)}for(e in this._tiles)this._tiles[e].retain||this._removeTile(e)}}},_removeTilesAtZoom:function(e){for(var t in this._tiles)this._tiles[t].coords.z===e&&this._removeTile(t)},_removeAllTiles:function(){for(var e in this._tiles)this._removeTile(e)},_invalidateAll:function(){for(var e in this._levels)W(this._levels[e].el),this._onRemoveLevel(Number(e)),delete this._levels[e];this._removeAllTiles(),this._tileZoom=void 0},_retainParent:function(e,t,n,r){var i=Math.floor(e/2),a=Math.floor(t/2),o=n-1,s=new M(+i,+a);s.z=+o;var c=this._tileCoordsToKey(s),l=this._tiles[c];return l&&l.active?(l.retain=!0,!0):(l&&l.loaded&&(l.retain=!0),o>r&&this._retainParent(i,a,o,r))},_retainChildren:function(e,t,n,r){for(var i=2*e;i<2*e+2;i++)for(var a=2*t;a<2*t+2;a++){var o=new M(i,a);o.z=n+1;var s=this._tileCoordsToKey(o),c=this._tiles[s];c&&c.active?c.retain=!0:(c&&c.loaded&&(c.retain=!0),n+1<r&&this._retainChildren(i,a,n+1,r))}},_resetView:function(e){var t=e&&(e.pinch||e.flyTo);this._setView(this._map.getCenter(),this._map.getZoom(),t,t)},_animateZoom:function(e){this._setView(e.center,e.zoom,!0,e.noUpdate)},_clampZoom:function(e){var t=this.options;return t.minNativeZoom!==void 0&&e<t.minNativeZoom?t.minNativeZoom:t.maxNativeZoom!==void 0&&t.maxNativeZoom<e?t.maxNativeZoom:e},_setView:function(e,t,n,r){var i=Math.round(t);i=this.options.maxZoom!==void 0&&i>this.options.maxZoom||this.options.minZoom!==void 0&&i<this.options.minZoom?void 0:this._clampZoom(i);var a=this.options.updateWhenZooming&&i!==this._tileZoom;(!r||a)&&(this._tileZoom=i,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),i!==void 0&&this._update(e),n||this._pruneTiles(),this._noPrune=!!n),this._setZoomTransforms(e,t)},_setZoomTransforms:function(e,t){for(var n in this._levels)this._setZoomTransform(this._levels[n],e,t)},_setZoomTransform:function(e,t,n){var r=this._map.getZoomScale(n,e.zoom),i=e.origin.multiplyBy(r).subtract(this._map._getNewPixelOrigin(t,n)).round();H.any3d?kt(e.el,i,r):K(e.el,i)},_resetGrid:function(){var e=this._map,t=e.options.crs,n=this._tileSize=this.getTileSize(),r=this._tileZoom,i=this._map.getPixelWorldBounds(this._tileZoom);i&&(this._globalTileRange=this._pxBoundsToTileRange(i)),this._wrapX=t.wrapLng&&!this.options.noWrap&&[Math.floor(e.project([0,t.wrapLng[0]],r).x/n.x),Math.ceil(e.project([0,t.wrapLng[1]],r).x/n.y)],this._wrapY=t.wrapLat&&!this.options.noWrap&&[Math.floor(e.project([t.wrapLat[0],0],r).y/n.x),Math.ceil(e.project([t.wrapLat[1],0],r).y/n.y)]},_onMoveEnd:function(){this._map&&!this._map._animatingZoom&&this._update()},_getTiledPixelBounds:function(e){var t=this._map,n=t._animatingZoom?Math.max(t._animateToZoom,t.getZoom()):t.getZoom(),r=t.getZoomScale(n,this._tileZoom),i=t.project(e,this._tileZoom).floor(),a=t.getSize().divideBy(r*2);return new F(i.subtract(a),i.add(a))},_update:function(e){var t=this._map;if(t){var n=this._clampZoom(t.getZoom());if(e===void 0&&(e=t.getCenter()),this._tileZoom!==void 0){var r=this._getTiledPixelBounds(e),i=this._pxBoundsToTileRange(r),a=i.getCenter(),o=[],s=this.options.keepBuffer,c=new F(i.getBottomLeft().subtract([s,-s]),i.getTopRight().add([s,-s]));if(!(isFinite(i.min.x)&&isFinite(i.min.y)&&isFinite(i.max.x)&&isFinite(i.max.y)))throw Error(`Attempted to load an infinite number of tiles`);for(var l in this._tiles){var u=this._tiles[l].coords;u.z===this._tileZoom&&c.contains(new M(u.x,u.y))||(this._tiles[l].current=!1)}if(Math.abs(n-this._tileZoom)>1)this._setView(e,n);else{for(var d=i.min.y;d<=i.max.y;d++)for(var f=i.min.x;f<=i.max.x;f++){var p=new M(f,d);if(p.z=this._tileZoom,this._isValidTile(p)){var m=this._tiles[this._tileCoordsToKey(p)];m?m.current=!0:o.push(p)}}if(o.sort(function(e,t){return e.distanceTo(a)-t.distanceTo(a)}),o.length!==0){this._loading||(this._loading=!0,this.fire(`loading`));var h=document.createDocumentFragment();for(f=0;f<o.length;f++)this._addTile(o[f],h);this._level.el.appendChild(h)}}}}},_isValidTile:function(e){var t=this._map.options.crs;if(!t.infinite){var n=this._globalTileRange;if(!t.wrapLng&&(e.x<n.min.x||e.x>n.max.x)||!t.wrapLat&&(e.y<n.min.y||e.y>n.max.y))return!1}if(!this.options.bounds)return!0;var r=this._tileCoordsToBounds(e);return ee(this.options.bounds).overlaps(r)},_keyToBounds:function(e){return this._tileCoordsToBounds(this._keyToTileCoords(e))},_tileCoordsToNwSe:function(e){var t=this._map,n=this.getTileSize(),r=e.scaleBy(n),i=r.add(n);return[t.unproject(r,e.z),t.unproject(i,e.z)]},_tileCoordsToBounds:function(e){var t=this._tileCoordsToNwSe(e),n=new R(t[0],t[1]);return this.options.noWrap||(n=this._map.wrapLatLngBounds(n)),n},_tileCoordsToKey:function(e){return e.x+`:`+e.y+`:`+e.z},_keyToTileCoords:function(e){var t=e.split(`:`),n=new M(+t[0],+t[1]);return n.z=+t[2],n},_removeTile:function(e){var t=this._tiles[e];t&&(W(t.el),delete this._tiles[e],this.fire(`tileunload`,{tile:t.el,coords:this._keyToTileCoords(e)}))},_initTile:function(e){G(e,`leaflet-tile`);var t=this.getTileSize();e.style.width=t.x+`px`,e.style.height=t.y+`px`,e.onselectstart=l,e.onmousemove=l,H.ielt9&&this.options.opacity<1&&Et(e,this.options.opacity)},_addTile:function(e,t){var n=this._getTilePos(e),r=this._tileCoordsToKey(e),a=this.createTile(this._wrapCoords(e),i(this._tileReady,this,e));this._initTile(a),this.createTile.length<2&&T(i(this._tileReady,this,e,null,a)),K(a,n),this._tiles[r]={el:a,coords:e,current:!0},t.appendChild(a),this.fire(`tileloadstart`,{tile:a,coords:e})},_tileReady:function(e,t,n){t&&this.fire(`tileerror`,{error:t,tile:n,coords:e});var r=this._tileCoordsToKey(e);n=this._tiles[r],n&&(n.loaded=+new Date,this._map._fadeAnimated?(Et(n.el,0),E(this._fadeFrame),this._fadeFrame=T(this._updateOpacity,this)):(n.active=!0,this._pruneTiles()),t||(G(n.el,`leaflet-tile-loaded`),this.fire(`tileload`,{tile:n.el,coords:e})),this._noTilesToLoad()&&(this._loading=!1,this.fire(`load`),H.ielt9||!this._map._fadeAnimated?T(this._pruneTiles,this):setTimeout(i(this._pruneTiles,this),250)))},_getTilePos:function(e){return e.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(e){var t=new M(this._wrapX?c(e.x,this._wrapX):e.x,this._wrapY?c(e.y,this._wrapY):e.y);return t.z=e.z,t},_pxBoundsToTileRange:function(e){var t=this.getTileSize();return new F(e.min.unscaleBy(t).floor(),e.max.unscaleBy(t).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var e in this._tiles)if(!this._tiles[e].loaded)return!1;return!0}});function Ir(e){return new Fr(e)}var Lr=Fr.extend({options:{minZoom:0,maxZoom:18,subdomains:`abc`,errorTileUrl:``,zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(e,t){this._url=e,t=p(this,t),t.detectRetina&&H.retina&&t.maxZoom>0?(t.tileSize=Math.floor(t.tileSize/2),t.zoomReverse?(t.zoomOffset--,t.minZoom=Math.min(t.maxZoom,t.minZoom+1)):(t.zoomOffset++,t.maxZoom=Math.max(t.minZoom,t.maxZoom-1)),t.minZoom=Math.max(0,t.minZoom)):t.zoomReverse?t.minZoom=Math.min(t.maxZoom,t.minZoom):t.maxZoom=Math.max(t.minZoom,t.maxZoom),typeof t.subdomains==`string`&&(t.subdomains=t.subdomains.split(``)),this.on(`tileunload`,this._onTileRemove)},setUrl:function(e,t){return this._url===e&&t===void 0&&(t=!0),this._url=e,t||this.redraw(),this},createTile:function(e,t){var n=document.createElement(`img`);return q(n,`load`,i(this._tileOnLoad,this,t,n)),q(n,`error`,i(this._tileOnError,this,t,n)),(this.options.crossOrigin||this.options.crossOrigin===``)&&(n.crossOrigin=this.options.crossOrigin===!0?``:this.options.crossOrigin),typeof this.options.referrerPolicy==`string`&&(n.referrerPolicy=this.options.referrerPolicy),n.alt=``,n.src=this.getTileUrl(e),n},getTileUrl:function(e){var t={r:H.retina?`@2x`:``,s:this._getSubdomain(e),x:e.x,y:e.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var r=this._globalTileRange.max.y-e.y;this.options.tms&&(t.y=r),t[`-y`]=r}return g(this._url,n(t,this.options))},_tileOnLoad:function(e,t){H.ielt9?setTimeout(i(e,this,null,t),0):e(null,t)},_tileOnError:function(e,t,n){var r=this.options.errorTileUrl;r&&t.getAttribute(`src`)!==r&&(t.src=r),e(n,t)},_onTileRemove:function(e){e.tile.onload=null},_getZoomForUrl:function(){var e=this._tileZoom,t=this.options.maxZoom,n=this.options.zoomReverse,r=this.options.zoomOffset;return n&&(e=t-e),e+r},_getSubdomain:function(e){var t=Math.abs(e.x+e.y)%this.options.subdomains.length;return this.options.subdomains[t]},_abortLoading:function(){var e,t;for(e in this._tiles)if(this._tiles[e].coords.z!==this._tileZoom&&(t=this._tiles[e].el,t.onload=l,t.onerror=l,!t.complete)){t.src=y;var n=this._tiles[e].coords;W(t),delete this._tiles[e],this.fire(`tileabort`,{tile:t,coords:n})}},_removeTile:function(e){var t=this._tiles[e];if(t)return t.el.setAttribute(`src`,y),Fr.prototype._removeTile.call(this,e)},_tileReady:function(e,t,n){if(!(!this._map||n&&n.getAttribute(`src`)===y))return Fr.prototype._tileReady.call(this,e,t,n)}});function Rr(e,t){return new Lr(e,t)}var zr=Lr.extend({defaultWmsParams:{service:`WMS`,request:`GetMap`,layers:``,styles:``,format:`image/jpeg`,transparent:!1,version:`1.1.1`},options:{crs:null,uppercase:!1},initialize:function(e,t){this._url=e;var r=n({},this.defaultWmsParams);for(var i in t)i in this.options||(r[i]=t[i]);t=p(this,t);var a=t.detectRetina&&H.retina?2:1,o=this.getTileSize();r.width=o.x*a,r.height=o.y*a,this.wmsParams=r},onAdd:function(e){this._crs=this.options.crs||e.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var t=this._wmsVersion>=1.3?`crs`:`srs`;this.wmsParams[t]=this._crs.code,Lr.prototype.onAdd.call(this,e)},getTileUrl:function(e){var t=this._tileCoordsToNwSe(e),n=this._crs,r=I(n.project(t[0]),n.project(t[1])),i=r.min,a=r.max,o=(this._wmsVersion>=1.3&&this._crs===Kn?[i.y,i.x,a.y,a.x]:[i.x,i.y,a.x,a.y]).join(`,`),s=Lr.prototype.getTileUrl.call(this,e);return s+m(this.wmsParams,s,this.options.uppercase)+(this.options.uppercase?`&BBOX=`:`&bbox=`)+o},setParams:function(e,t){return n(this.wmsParams,e),t||this.redraw(),this}});function Br(e,t){return new zr(e,t)}Lr.WMS=zr,Rr.wms=Br;var Vr=Jn.extend({options:{padding:.1},initialize:function(e){p(this,e),o(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),G(this._container,`leaflet-zoom-animated`)),this.getPane().appendChild(this._container),this._update(),this.on(`update`,this._updatePaths,this)},onRemove:function(){this.off(`update`,this._updatePaths,this),this._destroyContainer()},getEvents:function(){var e={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(e.zoomanim=this._onAnimZoom),e},_onAnimZoom:function(e){this._updateTransform(e.center,e.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(e,t){var n=this._map.getZoomScale(t,this._zoom),r=this._map.getSize().multiplyBy(.5+this.options.padding),i=this._map.project(this._center,t),a=r.multiplyBy(-n).add(i).subtract(this._map._getNewPixelOrigin(e,t));H.any3d?kt(this._container,a,n):K(this._container,a)},_reset:function(){for(var e in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[e]._reset()},_onZoomEnd:function(){for(var e in this._layers)this._layers[e]._project()},_updatePaths:function(){for(var e in this._layers)this._layers[e]._update()},_update:function(){var e=this.options.padding,t=this._map.getSize(),n=this._map.containerPointToLayerPoint(t.multiplyBy(-e)).round();this._bounds=new F(n,n.add(t.multiplyBy(1+e*2)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),Hr=Vr.extend({options:{tolerance:0},getEvents:function(){var e=Vr.prototype.getEvents.call(this);return e.viewprereset=this._onViewPreReset,e},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){Vr.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var e=this._container=document.createElement(`canvas`);q(e,`mousemove`,this._onMouseMove,this),q(e,`click dblclick mousedown mouseup contextmenu`,this._onClick,this),q(e,`mouseout`,this._handleMouseOut,this),e._leaflet_disable_events=!0,this._ctx=e.getContext(`2d`)},_destroyContainer:function(){E(this._redrawRequest),delete this._ctx,W(this._container),J(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){var e;for(var t in this._redrawBounds=null,this._layers)e=this._layers[t],e._update();this._redraw()}},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){Vr.prototype._update.call(this);var e=this._bounds,t=this._container,n=e.getSize(),r=H.retina?2:1;K(t,e.min),t.width=r*n.x,t.height=r*n.y,t.style.width=n.x+`px`,t.style.height=n.y+`px`,H.retina&&this._ctx.scale(2,2),this._ctx.translate(-e.min.x,-e.min.y),this.fire(`update`)}},_reset:function(){Vr.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(e){this._updateDashArray(e),this._layers[o(e)]=e;var t=e._order={layer:e,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=t),this._drawLast=t,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(e){this._requestRedraw(e)},_removePath:function(e){var t=e._order,n=t.next,r=t.prev;n?n.prev=r:this._drawLast=r,r?r.next=n:this._drawFirst=n,delete e._order,delete this._layers[o(e)],this._requestRedraw(e)},_updatePath:function(e){this._extendRedrawBounds(e),e._project(),e._update(),this._requestRedraw(e)},_updateStyle:function(e){this._updateDashArray(e),this._requestRedraw(e)},_updateDashArray:function(e){if(typeof e.options.dashArray==`string`){for(var t=e.options.dashArray.split(/[, ]+/),n=[],r,i=0;i<t.length;i++){if(r=Number(t[i]),isNaN(r))return;n.push(r)}e.options._dashArray=n}else e.options._dashArray=e.options.dashArray},_requestRedraw:function(e){this._map&&(this._extendRedrawBounds(e),this._redrawRequest=this._redrawRequest||T(this._redraw,this))},_extendRedrawBounds:function(e){if(e._pxBounds){var t=(e.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new F,this._redrawBounds.extend(e._pxBounds.min.subtract([t,t])),this._redrawBounds.extend(e._pxBounds.max.add([t,t]))}},_redraw:function(){this._redrawRequest=null,this._redrawBounds&&(this._redrawBounds.min._floor(),this._redrawBounds.max._ceil()),this._clear(),this._draw(),this._redrawBounds=null},_clear:function(){var e=this._redrawBounds;if(e){var t=e.getSize();this._ctx.clearRect(e.min.x,e.min.y,t.x,t.y)}else this._ctx.save(),this._ctx.setTransform(1,0,0,1,0,0),this._ctx.clearRect(0,0,this._container.width,this._container.height),this._ctx.restore()},_draw:function(){var e,t=this._redrawBounds;if(this._ctx.save(),t){var n=t.getSize();this._ctx.beginPath(),this._ctx.rect(t.min.x,t.min.y,n.x,n.y),this._ctx.clip()}this._drawing=!0;for(var r=this._drawFirst;r;r=r.next)e=r.layer,(!t||e._pxBounds&&e._pxBounds.intersects(t))&&e._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(e,t){if(this._drawing){var n,r,i,a,o=e._parts,s=o.length,c=this._ctx;if(s){for(c.beginPath(),n=0;n<s;n++){for(r=0,i=o[n].length;r<i;r++)a=o[n][r],c[r?`lineTo`:`moveTo`](a.x,a.y);t&&c.closePath()}this._fillStroke(c,e)}}},_updateCircle:function(e){if(this._drawing&&!e._empty()){var t=e._point,n=this._ctx,r=Math.max(Math.round(e._radius),1),i=(Math.max(Math.round(e._radiusY),1)||r)/r;i!==1&&(n.save(),n.scale(1,i)),n.beginPath(),n.arc(t.x,t.y/i,r,0,Math.PI*2,!1),i!==1&&n.restore(),this._fillStroke(n,e)}},_fillStroke:function(e,t){var n=t.options;n.fill&&(e.globalAlpha=n.fillOpacity,e.fillStyle=n.fillColor||n.color,e.fill(n.fillRule||`evenodd`)),n.stroke&&n.weight!==0&&(e.setLineDash&&e.setLineDash(t.options&&t.options._dashArray||[]),e.globalAlpha=n.opacity,e.lineWidth=n.weight,e.strokeStyle=n.color,e.lineCap=n.lineCap,e.lineJoin=n.lineJoin,e.stroke())},_onClick:function(e){for(var t=this._map.mouseEventToLayerPoint(e),n,r,i=this._drawFirst;i;i=i.next)n=i.layer,n.options.interactive&&n._containsPoint(t)&&(e.type!==`click`&&e.type!==`preclick`||!this._map._draggableMoved(n))&&(r=n);this._fireEvent(r?[r]:!1,e)},_onMouseMove:function(e){if(!(!this._map||this._map.dragging.moving()||this._map._animatingZoom)){var t=this._map.mouseEventToLayerPoint(e);this._handleMouseHover(e,t)}},_handleMouseOut:function(e){var t=this._hoveredLayer;t&&(Ct(this._container,`leaflet-interactive`),this._fireEvent([t],e,`mouseout`),this._hoveredLayer=null,this._mouseHoverThrottled=!1)},_handleMouseHover:function(e,t){if(!this._mouseHoverThrottled){for(var n,r,a=this._drawFirst;a;a=a.next)n=a.layer,n.options.interactive&&n._containsPoint(t)&&(r=n);r!==this._hoveredLayer&&(this._handleMouseOut(e),r&&(G(this._container,`leaflet-interactive`),this._fireEvent([r],e,`mouseover`),this._hoveredLayer=r)),this._fireEvent(this._hoveredLayer?[this._hoveredLayer]:!1,e),this._mouseHoverThrottled=!0,setTimeout(i(function(){this._mouseHoverThrottled=!1},this),32)}},_fireEvent:function(e,t,n){this._map._fireDOMEvent(t,n||t.type,e)},_bringToFront:function(e){var t=e._order;if(t){var n=t.next,r=t.prev;if(n)n.prev=r;else return;r?r.next=n:n&&(this._drawFirst=n),t.prev=this._drawLast,this._drawLast.next=t,t.next=null,this._drawLast=t,this._requestRedraw(e)}},_bringToBack:function(e){var t=e._order;if(t){var n=t.next,r=t.prev;if(r)r.next=n;else return;n?n.prev=r:r&&(this._drawLast=r),t.prev=null,t.next=this._drawFirst,this._drawFirst.prev=t,this._drawFirst=t,this._requestRedraw(e)}}});function Ur(e){return H.canvas?new Hr(e):null}var Wr=(function(){try{return document.namespaces.add(`lvml`,`urn:schemas-microsoft-com:vml`),function(e){return document.createElement(`<lvml:`+e+` class="lvml">`)}}catch{}return function(e){return document.createElement(`<`+e+` xmlns="urn:schemas-microsoft.com:vml" class="lvml">`)}})(),Gr={_initContainer:function(){this._container=U(`div`,`leaflet-vml-container`)},_update:function(){this._map._animatingZoom||(Vr.prototype._update.call(this),this.fire(`update`))},_initPath:function(e){var t=e._container=Wr(`shape`);G(t,`leaflet-vml-shape `+(this.options.className||``)),t.coordsize=`1 1`,e._path=Wr(`path`),t.appendChild(e._path),this._updateStyle(e),this._layers[o(e)]=e},_addPath:function(e){var t=e._container;this._container.appendChild(t),e.options.interactive&&e.addInteractiveTarget(t)},_removePath:function(e){var t=e._container;W(t),e.removeInteractiveTarget(t),delete this._layers[o(e)]},_updateStyle:function(e){var t=e._stroke,n=e._fill,r=e.options,i=e._container;i.stroked=!!r.stroke,i.filled=!!r.fill,r.stroke?(t||=e._stroke=Wr(`stroke`),i.appendChild(t),t.weight=r.weight+`px`,t.color=r.color,t.opacity=r.opacity,r.dashArray?t.dashStyle=_(r.dashArray)?r.dashArray.join(` `):r.dashArray.replace(/( *, *)/g,` `):t.dashStyle=``,t.endcap=r.lineCap.replace(`butt`,`flat`),t.joinstyle=r.lineJoin):t&&(i.removeChild(t),e._stroke=null),r.fill?(n||=e._fill=Wr(`fill`),i.appendChild(n),n.color=r.fillColor||r.color,n.opacity=r.fillOpacity):n&&(i.removeChild(n),e._fill=null)},_updateCircle:function(e){var t=e._point.round(),n=Math.round(e._radius),r=Math.round(e._radiusY||n);this._setPath(e,e._empty()?`M0 0`:`AL `+t.x+`,`+t.y+` `+n+`,`+r+` 0,23592600`)},_setPath:function(e,t){e._path.v=t},_bringToFront:function(e){bt(e._container)},_bringToBack:function(e){xt(e._container)}},Kr=H.vml?Wr:le,qr=Vr.extend({_initContainer:function(){this._container=Kr(`svg`),this._container.setAttribute(`pointer-events`,`none`),this._rootGroup=Kr(`g`),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){W(this._container),J(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){Vr.prototype._update.call(this);var e=this._bounds,t=e.getSize(),n=this._container;this._svgSize&&this._svgSize.equals(t)||(this._svgSize=t,n.setAttribute(`width`,t.x),n.setAttribute(`height`,t.y)),K(n,e.min),n.setAttribute(`viewBox`,[e.min.x,e.min.y,t.x,t.y].join(` `)),this.fire(`update`)}},_initPath:function(e){var t=e._path=Kr(`path`);e.options.className&&G(t,e.options.className),e.options.interactive&&G(t,`leaflet-interactive`),this._updateStyle(e),this._layers[o(e)]=e},_addPath:function(e){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(e._path),e.addInteractiveTarget(e._path)},_removePath:function(e){W(e._path),e.removeInteractiveTarget(e._path),delete this._layers[o(e)]},_updatePath:function(e){e._project(),e._update()},_updateStyle:function(e){var t=e._path,n=e.options;t&&(n.stroke?(t.setAttribute(`stroke`,n.color),t.setAttribute(`stroke-opacity`,n.opacity),t.setAttribute(`stroke-width`,n.weight),t.setAttribute(`stroke-linecap`,n.lineCap),t.setAttribute(`stroke-linejoin`,n.lineJoin),n.dashArray?t.setAttribute(`stroke-dasharray`,n.dashArray):t.removeAttribute(`stroke-dasharray`),n.dashOffset?t.setAttribute(`stroke-dashoffset`,n.dashOffset):t.removeAttribute(`stroke-dashoffset`)):t.setAttribute(`stroke`,`none`),n.fill?(t.setAttribute(`fill`,n.fillColor||n.color),t.setAttribute(`fill-opacity`,n.fillOpacity),t.setAttribute(`fill-rule`,n.fillRule||`evenodd`)):t.setAttribute(`fill`,`none`))},_updatePoly:function(e,t){this._setPath(e,ue(e._parts,t))},_updateCircle:function(e){var t=e._point,n=Math.max(Math.round(e._radius),1),r=Math.max(Math.round(e._radiusY),1)||n,i=`a`+n+`,`+r+` 0 1,0 `,a=e._empty()?`M0 0`:`M`+(t.x-n)+`,`+t.y+i+n*2+`,0 `+i+-n*2+`,0 `;this._setPath(e,a)},_setPath:function(e,t){e._path.setAttribute(`d`,t)},_bringToFront:function(e){bt(e._path)},_bringToBack:function(e){xt(e._path)}});H.vml&&qr.include(Gr);function Jr(e){return H.svg||H.vml?new qr(e):null}Y.include({getRenderer:function(e){var t=e.options.renderer||this._getPaneRenderer(e.options.pane)||this.options.renderer||this._renderer;return t||=this._renderer=this._createRenderer(),this.hasLayer(t)||this.addLayer(t),t},_getPaneRenderer:function(e){if(e===`overlayPane`||e===void 0)return!1;var t=this._paneRenderers[e];return t===void 0&&(t=this._createRenderer({pane:e}),this._paneRenderers[e]=t),t},_createRenderer:function(e){return this.options.preferCanvas&&Ur(e)||Jr(e)}});var Yr=fr.extend({initialize:function(e,t){fr.prototype.initialize.call(this,this._boundsToLatLngs(e),t)},setBounds:function(e){return this.setLatLngs(this._boundsToLatLngs(e))},_boundsToLatLngs:function(e){return e=ee(e),[e.getSouthWest(),e.getNorthWest(),e.getNorthEast(),e.getSouthEast()]}});function Xr(e,t){return new Yr(e,t)}qr.create=Kr,qr.pointsToPath=ue,mr.geometryToLayer=hr,mr.coordsToLatLng=_r,mr.coordsToLatLngs=vr,mr.latLngToCoords=yr,mr.latLngsToCoords=br,mr.getFeature=xr,mr.asFeature=Sr,Y.mergeOptions({boxZoom:!0});var Zr=vn.extend({initialize:function(e){this._map=e,this._container=e._container,this._pane=e._panes.overlayPane,this._resetStateTimeout=0,e.on(`unload`,this._destroy,this)},addHooks:function(){q(this._container,`mousedown`,this._onMouseDown,this)},removeHooks:function(){J(this._container,`mousedown`,this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){W(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){this._resetStateTimeout!==0&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(e){if(!e.shiftKey||e.which!==1&&e.button!==1)return!1;this._clearDeferredResetState(),this._resetState(),jt(),Ft(),this._startPoint=this._map.mouseEventToContainerPoint(e),q(document,{contextmenu:$t,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(e){this._moved||(this._moved=!0,this._box=U(`div`,`leaflet-zoom-box`,this._container),G(this._container,`leaflet-crosshair`),this._map.fire(`boxzoomstart`)),this._point=this._map.mouseEventToContainerPoint(e);var t=new F(this._point,this._startPoint),n=t.getSize();K(this._box,t.min),this._box.style.width=n.x+`px`,this._box.style.height=n.y+`px`},_finish:function(){this._moved&&(W(this._box),Ct(this._container,`leaflet-crosshair`)),Mt(),It(),J(document,{contextmenu:$t,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(e){if((e.which===1||e.button===1)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(i(this._resetState,this),0);var t=new R(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(t).fire(`boxzoomend`,{boxZoomBounds:t})}},_onKeyDown:function(e){e.keyCode===27&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});Y.addInitHook(`addHandler`,`boxZoom`,Zr),Y.mergeOptions({doubleClickZoom:!0});var Qr=vn.extend({addHooks:function(){this._map.on(`dblclick`,this._onDoubleClick,this)},removeHooks:function(){this._map.off(`dblclick`,this._onDoubleClick,this)},_onDoubleClick:function(e){var t=this._map,n=t.getZoom(),r=t.options.zoomDelta,i=e.originalEvent.shiftKey?n-r:n+r;t.options.doubleClickZoom===`center`?t.setZoom(i):t.setZoomAround(e.containerPoint,i)}});Y.addInitHook(`addHandler`,`doubleClickZoom`,Qr),Y.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var $r=vn.extend({addHooks:function(){if(!this._draggable){var e=this._map;this._draggable=new xn(e._mapPane,e._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on(`predrag`,this._onPreDragLimit,this),e.options.worldCopyJump&&(this._draggable.on(`predrag`,this._onPreDragWrap,this),e.on(`zoomend`,this._onZoomEnd,this),e.whenReady(this._onZoomEnd,this))}G(this._map._container,`leaflet-grab leaflet-touch-drag`),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){Ct(this._map._container,`leaflet-grab`),Ct(this._map._container,`leaflet-touch-drag`),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var e=this._map;if(e._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var t=ee(this._map.options.maxBounds);this._offsetLimit=I(this._map.latLngToContainerPoint(t.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(t.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;e.fire(`movestart`).fire(`dragstart`),e.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(e){if(this._map.options.inertia){var t=this._lastTime=+new Date,n=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(n),this._times.push(t),this._prunePositions(t)}this._map.fire(`move`,e).fire(`drag`,e)},_prunePositions:function(e){for(;this._positions.length>1&&e-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var e=this._map.getSize().divideBy(2),t=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=t.subtract(e).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(e,t){return e-(e-t)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var e=this._draggable._newPos.subtract(this._draggable._startPos),t=this._offsetLimit;e.x<t.min.x&&(e.x=this._viscousLimit(e.x,t.min.x)),e.y<t.min.y&&(e.y=this._viscousLimit(e.y,t.min.y)),e.x>t.max.x&&(e.x=this._viscousLimit(e.x,t.max.x)),e.y>t.max.y&&(e.y=this._viscousLimit(e.y,t.max.y)),this._draggable._newPos=this._draggable._startPos.add(e)}},_onPreDragWrap:function(){var e=this._worldWidth,t=Math.round(e/2),n=this._initialWorldOffset,r=this._draggable._newPos.x,i=(r-t+n)%e+t-n,a=(r+t+n)%e-t-n,o=Math.abs(i+n)<Math.abs(a+n)?i:a;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=o},_onDragEnd:function(e){var t=this._map,n=t.options,r=!n.inertia||e.noInertia||this._times.length<2;if(t.fire(`dragend`,e),r)t.fire(`moveend`);else{this._prunePositions(+new Date);var i=this._lastPos.subtract(this._positions[0]),a=(this._lastTime-this._times[0])/1e3,o=n.easeLinearity,s=i.multiplyBy(o/a),c=s.distanceTo([0,0]),l=Math.min(n.inertiaMaxSpeed,c),u=s.multiplyBy(l/c),d=l/(n.inertiaDeceleration*o),f=u.multiplyBy(-d/2).round();!f.x&&!f.y?t.fire(`moveend`):(f=t._limitOffset(f,t.options.maxBounds),T(function(){t.panBy(f,{duration:d,easeLinearity:o,noMoveStart:!0,animate:!0})}))}}});Y.addInitHook(`addHandler`,`dragging`,$r),Y.mergeOptions({keyboard:!0,keyboardPanDelta:80});var ei=vn.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(e){this._map=e,this._setPanDelta(e.options.keyboardPanDelta),this._setZoomDelta(e.options.zoomDelta)},addHooks:function(){var e=this._map._container;e.tabIndex<=0&&(e.tabIndex=`0`),q(e,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),J(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){if(!this._focused){var e=document.body,t=document.documentElement,n=e.scrollTop||t.scrollTop,r=e.scrollLeft||t.scrollLeft;this._map._container.focus(),window.scrollTo(r,n)}},_onFocus:function(){this._focused=!0,this._map.fire(`focus`)},_onBlur:function(){this._focused=!1,this._map.fire(`blur`)},_setPanDelta:function(e){for(var t=this._panKeys={},n=this.keyCodes,r=0,i=n.left.length;r<i;r++)t[n.left[r]]=[-1*e,0];for(r=0,i=n.right.length;r<i;r++)t[n.right[r]]=[e,0];for(r=0,i=n.down.length;r<i;r++)t[n.down[r]]=[0,e];for(r=0,i=n.up.length;r<i;r++)t[n.up[r]]=[0,-1*e]},_setZoomDelta:function(e){for(var t=this._zoomKeys={},n=this.keyCodes,r=0,i=n.zoomIn.length;r<i;r++)t[n.zoomIn[r]]=e;for(r=0,i=n.zoomOut.length;r<i;r++)t[n.zoomOut[r]]=-e},_addHooks:function(){q(document,`keydown`,this._onKeyDown,this)},_removeHooks:function(){J(document,`keydown`,this._onKeyDown,this)},_onKeyDown:function(e){if(!(e.altKey||e.ctrlKey||e.metaKey)){var t=e.keyCode,n=this._map,r;if(t in this._panKeys){if(!n._panAnim||!n._panAnim._inProgress){if(r=this._panKeys[t],e.shiftKey&&(r=P(r).multiplyBy(3)),n.options.maxBounds&&(r=n._limitOffset(P(r),n.options.maxBounds)),n.options.worldCopyJump){var i=n.wrapLatLng(n.unproject(n.project(n.getCenter()).add(r)));n.panTo(i)}else n.panBy(r)}}else if(t in this._zoomKeys)n.setZoom(n.getZoom()+(e.shiftKey?3:1)*this._zoomKeys[t]);else if(t===27&&n._popup&&n._popup.options.closeOnEscapeKey)n.closePopup();else return;$t(e)}}});Y.addInitHook(`addHandler`,`keyboard`,ei),Y.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60});var ti=vn.extend({addHooks:function(){q(this._map._container,`wheel`,this._onWheelScroll,this),this._delta=0},removeHooks:function(){J(this._map._container,`wheel`,this._onWheelScroll,this)},_onWheelScroll:function(e){var t=rn(e),n=this._map.options.wheelDebounceTime;this._delta+=t,this._lastMousePos=this._map.mouseEventToContainerPoint(e),this._startTime||=+new Date;var r=Math.max(n-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(i(this._performZoom,this),r),$t(e)},_performZoom:function(){var e=this._map,t=e.getZoom(),n=this._map.options.zoomSnap||0;e._stop();var r=this._delta/(this._map.options.wheelPxPerZoomLevel*4),i=4*Math.log(2/(1+Math.exp(-Math.abs(r))))/Math.LN2,a=n?Math.ceil(i/n)*n:i,o=e._limitZoom(t+(this._delta>0?a:-a))-t;this._delta=0,this._startTime=null,o&&(e.options.scrollWheelZoom===`center`?e.setZoom(t+o):e.setZoomAround(this._lastMousePos,t+o))}});Y.addInitHook(`addHandler`,`scrollWheelZoom`,ti);var ni=600;Y.mergeOptions({tapHold:H.touchNative&&H.safari&&H.mobile,tapTolerance:15});var ri=vn.extend({addHooks:function(){q(this._map._container,`touchstart`,this._onDown,this)},removeHooks:function(){J(this._map._container,`touchstart`,this._onDown,this)},_onDown:function(e){if(clearTimeout(this._holdTimeout),e.touches.length===1){var t=e.touches[0];this._startPos=this._newPos=new M(t.clientX,t.clientY),this._holdTimeout=setTimeout(i(function(){this._cancel(),this._isTapValid()&&(q(document,`touchend`,Qt),q(document,`touchend touchcancel`,this._cancelClickPrevent),this._simulateEvent(`contextmenu`,t))},this),ni),q(document,`touchend touchcancel contextmenu`,this._cancel,this),q(document,`touchmove`,this._onMove,this)}},_cancelClickPrevent:function e(){J(document,`touchend`,Qt),J(document,`touchend touchcancel`,e)},_cancel:function(){clearTimeout(this._holdTimeout),J(document,`touchend touchcancel contextmenu`,this._cancel,this),J(document,`touchmove`,this._onMove,this)},_onMove:function(e){var t=e.touches[0];this._newPos=new M(t.clientX,t.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(e,t){var n=new MouseEvent(e,{bubbles:!0,cancelable:!0,view:window,screenX:t.screenX,screenY:t.screenY,clientX:t.clientX,clientY:t.clientY});n._simulated=!0,t.target.dispatchEvent(n)}});Y.addInitHook(`addHandler`,`tapHold`,ri),Y.mergeOptions({touchZoom:H.touch,bounceAtZoomLimits:!0});var ii=vn.extend({addHooks:function(){G(this._map._container,`leaflet-touch-zoom`),q(this._map._container,`touchstart`,this._onTouchStart,this)},removeHooks:function(){Ct(this._map._container,`leaflet-touch-zoom`),J(this._map._container,`touchstart`,this._onTouchStart,this)},_onTouchStart:function(e){var t=this._map;if(!(!e.touches||e.touches.length!==2||t._animatingZoom||this._zooming)){var n=t.mouseEventToContainerPoint(e.touches[0]),r=t.mouseEventToContainerPoint(e.touches[1]);this._centerPoint=t.getSize()._divideBy(2),this._startLatLng=t.containerPointToLatLng(this._centerPoint),t.options.touchZoom!==`center`&&(this._pinchStartLatLng=t.containerPointToLatLng(n.add(r)._divideBy(2))),this._startDist=n.distanceTo(r),this._startZoom=t.getZoom(),this._moved=!1,this._zooming=!0,t._stop(),q(document,`touchmove`,this._onTouchMove,this),q(document,`touchend touchcancel`,this._onTouchEnd,this),Qt(e)}},_onTouchMove:function(e){if(e.touches&&e.touches.length===2&&this._zooming){var t=this._map,n=t.mouseEventToContainerPoint(e.touches[0]),r=t.mouseEventToContainerPoint(e.touches[1]),a=n.distanceTo(r)/this._startDist;if(this._zoom=t.getScaleZoom(a,this._startZoom),!t.options.bounceAtZoomLimits&&(this._zoom<t.getMinZoom()&&a<1||this._zoom>t.getMaxZoom()&&a>1)&&(this._zoom=t._limitZoom(this._zoom)),t.options.touchZoom===`center`){if(this._center=this._startLatLng,a===1)return}else{var o=n._add(r)._divideBy(2)._subtract(this._centerPoint);if(a===1&&o.x===0&&o.y===0)return;this._center=t.unproject(t.project(this._pinchStartLatLng,this._zoom).subtract(o),this._zoom)}this._moved||=(t._moveStart(!0,!1),!0),E(this._animRequest);var s=i(t._move,t,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=T(s,this,!0),Qt(e)}},_onTouchEnd:function(){!this._moved||!this._zooming?this._zooming=!1:(this._zooming=!1,E(this._animRequest),J(document,`touchmove`,this._onTouchMove,this),J(document,`touchend touchcancel`,this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom)))}});Y.addInitHook(`addHandler`,`touchZoom`,ii),Y.BoxZoom=Zr,Y.DoubleClickZoom=Qr,Y.Drag=$r,Y.Keyboard=ei,Y.ScrollWheelZoom=ti,Y.TapHold=ri,Y.TouchZoom=ii,e.Bounds=F,e.Browser=H,e.CRS=te,e.Canvas=Hr,e.Circle=cr,e.CircleMarker=or,e.Class=O,e.Control=ln,e.DivIcon=$,e.DivOverlay=Ar,e.DomEvent=on,e.DomUtil=Ut,e.Draggable=xn,e.Evented=j,e.FeatureGroup=Zn,e.GeoJSON=mr,e.GridLayer=Fr,e.Handler=vn,e.Icon=$n,e.ImageOverlay=Z,e.LatLng=z,e.LatLngBounds=R,e.Layer=Jn,e.LayerGroup=Yn,e.LineUtil=Vn,e.Map=Y,e.Marker=rr,e.Mixin=yn,e.Path=ar,e.Point=M,e.PolyUtil=Tn,e.Polygon=fr,e.Polyline=ur,e.Popup=jr,e.PosAnimation=sn,e.Projection=Wn,e.Rectangle=Yr,e.Renderer=Vr,e.SVG=qr,e.SVGOverlay=Or,e.TileLayer=Lr,e.Tooltip=Nr,e.Transformation=ae,e.Util=D,e.VideoOverlay=Er,e.bind=i,e.bounds=I,e.canvas=Ur,e.circle=lr,e.circleMarker=sr,e.control=un,e.divIcon=Pr,e.extend=n,e.featureGroup=Qn,e.geoJSON=X,e.geoJson=wr,e.gridLayer=Ir,e.icon=er,e.imageOverlay=Tr,e.latLng=B,e.latLngBounds=ee,e.layerGroup=Xn,e.map=cn,e.marker=ir,e.point=P,e.polygon=pr,e.polyline=dr,e.popup=Mr,e.rectangle=Xr,e.setOptions=p,e.stamp=o,e.svg=Jr,e.svgOverlay=kr,e.tileLayer=Rr,e.tooltip=Q,e.transformation=oe,e.version=t,e.videoOverlay=Dr;var ai=window.L;e.noConflict=function(){return window.L=ai,this},window.L=e}))}))(),1),y=function(e){e||={};var t=e===void 0?{}:e,n={},r;for(r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);var i=[],a=``;function o(e){return t.locateFile?t.locateFile(e,a):a+e}var s;typeof document<`u`&&document.currentScript&&(a=document.currentScript.src),a=a.indexOf(`blob:`)===0?``:a.substr(0,a.lastIndexOf(`/`)+1),s=function(e,t,n){var r=new XMLHttpRequest;r.open(`GET`,e,!0),r.responseType=`arraybuffer`,r.onload=function(){if(r.status==200||r.status==0&&r.response)t(r.response);else{var i=Re(e);i?t(i.buffer):n()}},r.onerror=n,r.send(null)};var c=t.print||console.log.bind(console),l=t.printErr||console.warn.bind(console);for(r in n)n.hasOwnProperty(r)&&(t[r]=n[r]);n=null,t.arguments&&(i=t.arguments);var u=0,d=function(e){u=e},f=function(){return u},p=8;function m(e,t,n,r){switch(n||=`i8`,n.charAt(n.length-1)===`*`&&(n=`i32`),n){case`i1`:k[e|0]=t;break;case`i8`:k[e|0]=t;break;case`i16`:j[e>>1]=t;break;case`i32`:M[e>>2]=t;break;case`i64`:Ce=[t>>>0,(Se=t,+ue(Se)>=1?Se>0?(pe(+fe(Se/4294967296),4294967295)|0)>>>0:~~+de((Se-+(~~Se>>>0))/4294967296)>>>0:0)],M[e>>2]=Ce[0],M[e+4>>2]=Ce[1];break;case`float`:N[e>>2]=t;break;case`double`:P[e>>3]=t;break;default:Je(`invalid type for setValue: `+n)}}function h(e,t,n){switch(t||=`i8`,t.charAt(t.length-1)===`*`&&(t=`i32`),t){case`i1`:return k[e|0];case`i8`:return k[e|0];case`i16`:return j[e>>1];case`i32`:return M[e>>2];case`i64`:return M[e>>2];case`float`:return N[e>>2];case`double`:return P[e>>3];default:Je(`invalid type for getValue: `+t)}return null}var g=!1;function _(e,t){e||Je(`Assertion failed: `+t)}function v(e){var n=t[`_`+e];return _(n,`Cannot call unknown function `+e+`, make sure it is exported`),n}function y(e,t,n,r,i){var a={string:function(e){var t=0;if(e!=null&&e!==0){var n=(e.length<<2)+1;t=Be(n),T(e,t,n)}return t},array:function(e){var t=Be(e.length);return E(e,t),t}};function o(e){return t===`string`?C(e):t===`boolean`?!!e:e}var s=v(e),c=[],l=0;if(r)for(var u=0;u<r.length;u++){var d=a[n[u]];d?(l===0&&(l=He()),c[u]=d(r[u])):c[u]=r[u]}var f=s.apply(null,c);return f=o(f),l!==0&&Ve(l),f}function b(e,t,n,r){n||=[];var i=n.every(function(e){return e===`number`});return t!==`string`&&i&&!r?v(e):function(){return y(e,t,n,arguments,r)}}var x=typeof TextDecoder<`u`?new TextDecoder(`utf8`):void 0;function S(e,t,n){for(var r=t+n,i=t;e[i]&&!(i>=r);)++i;if(i-t>16&&e.subarray&&x)return x.decode(e.subarray(t,i));for(var a=``;t<i;){var o=e[t++];if(!(o&128))a+=String.fromCharCode(o);else{var s=e[t++]&63;if((o&224)==192)a+=String.fromCharCode((o&31)<<6|s);else{var c=e[t++]&63;if(o=(o&240)==224?(o&15)<<12|s<<6|c:(o&7)<<18|s<<12|c<<6|e[t++]&63,o<65536)a+=String.fromCharCode(o);else{var l=o-65536;a+=String.fromCharCode(55296|l>>10,56320|l&1023)}}}}return a}function C(e,t){return e?S(A,e,t):``}function w(e,t,n,r){if(!(r>0))return 0;for(var i=n,a=n+r-1,o=0;o<e.length;++o){var s=e.charCodeAt(o);if(s>=55296&&s<=57343){var c=e.charCodeAt(++o);s=65536+((s&1023)<<10)|c&1023}if(s<=127){if(n>=a)break;t[n++]=s}else if(s<=2047){if(n+1>=a)break;t[n++]=192|s>>6,t[n++]=128|s&63}else if(s<=65535){if(n+2>=a)break;t[n++]=224|s>>12,t[n++]=128|s>>6&63,t[n++]=128|s&63}else{if(n+3>=a)break;t[n++]=240|s>>18,t[n++]=128|s>>12&63,t[n++]=128|s>>6&63,t[n++]=128|s&63}}return t[n]=0,n-i}function T(e,t,n){return w(e,A,t,n)}typeof TextDecoder<`u`&&new TextDecoder(`utf-16le`);function E(e,t){k.set(e,t)}function D(e,t){return e%t>0&&(e+=t-e%t),e}var O,k,A,j,M,N,P;function F(e){O=e,t.HEAP8=k=new Int8Array(e),t.HEAP16=j=new Int16Array(e),t.HEAP32=M=new Int32Array(e),t.HEAPU8=A=new Uint8Array(e),t.HEAPU16=new Uint16Array(e),t.HEAPU32=new Uint32Array(e),t.HEAPF32=N=new Float32Array(e),t.HEAPF64=P=new Float64Array(e)}var I=5271536,R=28624,ee=t.TOTAL_MEMORY||33554432;O=t.buffer?t.buffer:new ArrayBuffer(ee),ee=O.byteLength,F(O),M[R>>2]=I;function z(e){for(;e.length>0;){var n=e.shift();if(typeof n==`function`)n();else{var r=n.func;typeof r==`number`?n.arg===void 0?t.dynCall_v(r):t.dynCall_vi(r,n.arg):r(n.arg===void 0?null:n.arg)}}}var B=[],te=[],ne=[],re=[];function ie(){if(t.preRun)for(typeof t.preRun==`function`&&(t.preRun=[t.preRun]);t.preRun.length;)ce(t.preRun.shift());z(B)}function ae(){z(te)}function oe(){z(ne)}function se(){if(t.postRun)for(typeof t.postRun==`function`&&(t.postRun=[t.postRun]);t.postRun.length;)le(t.postRun.shift());z(re)}function ce(e){B.unshift(e)}function le(e){re.unshift(e)}var ue=Math.abs,de=Math.ceil,fe=Math.floor,pe=Math.min,me=0,he=null,ge=null;function _e(e){me++,t.monitorRunDependencies&&t.monitorRunDependencies(me)}function ve(e){if(me--,t.monitorRunDependencies&&t.monitorRunDependencies(me),me==0&&(he!==null&&(clearInterval(he),he=null),ge)){var n=ge;ge=null,n()}}t.preloadedImages={},t.preloadedAudios={};var ye=null,be=`data:application/octet-stream;base64,`;function xe(e){return String.prototype.startsWith?e.startsWith(be):e.indexOf(be)===0}var Se,Ce;ye=`data:application/octet-stream;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CQAA/////6dBAAD/////kcsBAP/////3kAwA/////8H2VwAAAAAAAAAAAAAAAAACAAAA/////w4AAAD/////YgAAAP////+uAgAA/////8ISAAD/////ToMAAP////8ilwMA/////+4hGQD/////gu2vAAAAAAAAAAAAAAAAAAAAAAACAAAA//////////8BAAAAAwAAAP//////////////////////////////////////////////////////////////////////////AQAAAAAAAAACAAAA////////////////AwAAAP//////////////////////////////////////////////////////////////////////////AQAAAAAAAAACAAAA////////////////AwAAAP//////////////////////////////////////////////////////////////////////////AQAAAAAAAAACAAAA////////////////AwAAAP//////////////////////////////////////////////////////////AgAAAP//////////AQAAAAAAAAD/////////////////////AwAAAP////////////////////////////////////////////////////8DAAAA/////////////////////wAAAAD/////////////////////AQAAAP///////////////wIAAAD///////////////////////////////8DAAAA/////////////////////wAAAAD///////////////8CAAAAAQAAAP////////////////////////////////////////////////////8DAAAA/////////////////////wAAAAD///////////////8CAAAAAQAAAP////////////////////////////////////////////////////8DAAAA/////////////////////wAAAAD///////////////8CAAAAAQAAAP////////////////////////////////////////////////////8DAAAA/////////////////////wAAAAD///////////////8CAAAAAQAAAP////////////////////////////////////////////////////8BAAAAAgAAAP///////////////wAAAAD/////////////////////AwAAAP////////////////////////////////////////////////////8BAAAAAgAAAP///////////////wAAAAD/////////////////////AwAAAP////////////////////////////////////////////////////8BAAAAAgAAAP///////////////wAAAAD/////////////////////AwAAAP////////////////////////////////////////////////////8BAAAAAgAAAP///////////////wAAAAD/////////////////////AwAAAP///////////////////////////////wIAAAD///////////////8BAAAA/////////////////////wAAAAD/////////////////////AwAAAP////////////////////////////////////////////////////8DAAAA/////////////////////wAAAAABAAAA//////////8CAAAA//////////////////////////////////////////////////////////8DAAAA////////////////AgAAAAAAAAABAAAA//////////////////////////////////////////////////////////////////////////8DAAAA////////////////AgAAAAAAAAABAAAA//////////////////////////////////////////////////////////////////////////8DAAAA////////////////AgAAAAAAAAABAAAA//////////////////////////////////////////////////////////////////////////8DAAAAAQAAAP//////////AgAAAAAAAA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0kQz9g5dAC6IwzQcgHPVvDex1B1XjppodHBkHJq3OMM9fwQNvcmJ7wddlAInGPpQs/w0BRobq5EBmtQJZ2ai7n+ZVAtv2G5E+bgECG+gIfKBlpQK5f8jdI91JAL39sL/WpPEB8rGxhDqklQK6yUf43XhBAxL9y/tK8+D86XyZpgrHiPwAAAAD/////AAAAAAAAAAAAAAAAAAAAAAAAAAD/////////////////////////////////////AAAAAP////8AAAAAAAAAAAAAAAABAAAAAAAAAAAAAAD/////AAAAAAAAAAABAAAAAQAAAAAAAAAAAAAA/////wAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAP////8FAAAABQAAAAAAAAAAAAAAAAAAAAAAAAD/////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/////////////////////////////////////wAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP////////////////////////////////////8AAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAFAAAAAQAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/////////////////////////////////////AAAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAA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+q4lhYlmX4v85lu5+QRwRAsI0H/WU8479jaeZNtj/zv6riWFiWZfi/sI0H/WU847/OZbufkEcEQHAoPUBrnss/9exKzDtFtT88wM8kax+gP9OqeKeAYog/MW0ItiZvcj+ph+smvt5bP2lCaV5dEUU/StaUmQDaLz+kK9y22BMYP0O3whZuMwI/IIbgZGWE6z7UkjYaEM3UPuezxwa9cr8+LybxRMnFpz6E1N8DbPiRPsYjySMvK3s+//////8fAAj//////zMQCP////9/MiAI/////28yMAj/////YzJACP///z9iMlAI////N2IyYAj///8zYjJwCP//vzNiMoAI//+rM2IykAj/f6szYjKgCP8PqzNiMrAI/wOrM2IywAi/A6szYjLQCJ8DqzNiMuAImQOrM2Iy8Aj//////z8PCP//////Kx8I/////38pLwj/////Pyk/CP////85KU8I////PzgpXwj///8POClvCP///w44KX8I//8fDjgpjwj//w8OOCmfCP9/DQ44Ka8I/w8NDjgpvwj/DQ0OOCnPCP8MDQ44Kd8IxwwNDjgp7wjEDA0OOCn/CAcAAAAHAAAAAQAAAAIAAAAEAAAAAwAAAAAAAAAAAAAABwAAAAMAAAABAAAAAgAAAAUAAAAEAAAAAAAAAAAAAAAEAAAABAAAAAAAAAACAAAAAQAAAAMAAAAOAAAABgAAAAsAAAACAAAABwAAAAEAAAAYAAAABQAAAAoAAAABAAAABgAAAAAAAAAmAAAABwAAAAwAAAADAAAACAAAAAIAAAAxAAAACQAAAA4AAAAAAAAABQAAAAQAAAA6AAAACAAAAA0AAAAEAAAACQAAAAMAAAA/AAAACwAAAAYAAAAPAAAACgAAABAAAABIAAAADAAAAAcAAAAQAAAACwAAABEAAABTAAAACgAAAAUAAAATAAAADgAAAA8AAABhAAAADQAAAAgAAAARAAAADAAAABIAAABrAAAADgAAAAkAAAASAAAADQAAABMAAAB1AAAADwAAABMAAAARAAAAEgAAABAAAAAGAAAAAgAAAAMAAAAFAAAABAAAAAAAAAAAAAAAAAAAAAYAAAACAAAAAwAAAAEAAAAFAAAABAAAAAAAAAAAAAAABwA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pZ2luQmFzZUNlbGwAIShvcmlnaW5PblBlbnQgJiYgaW5kZXhPblBlbnQpAGJhc2VDZWxsID09IG9yaWdpbkJhc2VDZWxsAGJhc2VDZWxsICE9IElOVkFMSURfQkFTRV9DRUxMAGxvY2FsSWprVG9DZWxsACFfaXNCYXNlQ2VsbFBlbnRhZ29uKGJhc2VDZWxsKQBiYXNlQ2VsbFJvdGF0aW9ucyA+PSAwAGdyaWRQYXRoQ2VsbHMAcG9seWZpbGwuYwBpdGVyU3RlcFBvbHlnb25Db21wYWN0ADAAdmVydGV4LmMAdmVydGV4Um90YXRpb25zAGNlbGxUb1ZlcnRleABncmFwaC0+YnVja2V0cyAhPSBOVUxMAHZlcnRleEdyYXBoLmMAaW5pdFZlcnRleEdyYXBoAG5vZGUgIT0gTlVMTABhZGRWZXJ0ZXhOb2Rl`;var we=28640;function Te(e){return e}function Ee(e){return e.replace(/\b__Z[\w\d_]+/g,function(e){var t=Te(e);return e===t?e:t+` [`+e+`]`})}function De(){var e=Error();if(!e.stack){try{throw Error(0)}catch(t){e=t}if(!e.stack)return`(no stack trace available)`}return e.stack.toString()}function Oe(){var e=De();return t.extraStackTrace&&(e+=`
|
|
2
2
|
`+t.extraStackTrace()),Ee(e)}function ke(e,t,n,r){Je(`Assertion failed: `+C(e)+`, at: `+[t?C(t):`unknown filename`,n,r?C(r):`unknown function`])}function Ae(){return k.length}function je(e,t,n){A.set(A.subarray(t,t+n),e)}function Me(e){return t.___errno_location&&(M[t.___errno_location()>>2]=e),e}function Ne(e){Je(`OOM`)}function Pe(e){try{var t=new ArrayBuffer(e);return t.byteLength==e?(new Int8Array(t).set(k),ze(t),F(t),1):void 0}catch{}}function Fe(e){var t=Ae(),n=16777216,r=2147483648-n;if(e>r)return!1;for(var i=Math.max(t,16777216);i<e;)i=i<=536870912?D(2*i,n):Math.min(D((3*i+2147483648)/4,n),r);return!!Pe(i)}var Ie=typeof atob==`function`?atob:function(e){var t=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=`,n=``,r,i,a,o,s,c,l,u=0;e=e.replace(/[^A-Za-z0-9\+\/\=]/g,``);do o=t.indexOf(e.charAt(u++)),s=t.indexOf(e.charAt(u++)),c=t.indexOf(e.charAt(u++)),l=t.indexOf(e.charAt(u++)),r=o<<2|s>>4,i=(s&15)<<4|c>>2,a=(c&3)<<6|l,n+=String.fromCharCode(r),c!==64&&(n+=String.fromCharCode(i)),l!==64&&(n+=String.fromCharCode(a));while(u<e.length);return n};function Le(e){try{for(var t=Ie(e),n=new Uint8Array(t.length),r=0;r<t.length;++r)n[r]=t.charCodeAt(r);return n}catch{throw Error(`Converting base64 string to bytes failed.`)}}function Re(e){if(xe(e))return Le(e.slice(be.length))}var V=(function(e,t,n){"almost asm";var r=new e.Int8Array(n),i=new e.Int32Array(n);new e.Uint8Array(n),new e.Float32Array(n);var a=new e.Float64Array(n),o=t.o|0,s=t.p|0,c=e.Math.floor,l=e.Math.abs,u=e.Math.sqrt,d=e.Math.pow,f=e.Math.cos,p=e.Math.sin,m=e.Math.tan,h=e.Math.acos,g=e.Math.asin,_=e.Math.atan,v=e.Math.atan2,y=e.Math.ceil,b=e.Math.imul,x=e.Math.min,S=e.Math.max,C=e.Math.clz32,w=t.b,T=t.c,E=t.d,D=t.e,O=t.f,k=t.g,A=t.h,j=t.i,M=28656;function N(e){return r=new Int8Array(e),new Uint8Array(e),i=new Int32Array(e),new Float32Array(e),a=new Float64Array(e),n=e,!0}function P(e){e|=0;var t=0;return t=M,M=M+e|0,M=M+15&-16,t|0}function F(){return M|0}function I(e){e|=0,M=e}function R(e,t){e|=0,t|=0,M=e}function ee(e,t){e|=0,t|=0;var n=0,r=0,a=0;return(e|0)<0?(t=2,t|0):(e|0)>13780509?(t=mn(15,t)|0,t|0):(n=((e|0)<0)<<31>>31,a=Ar(e|0,n|0,3,0)|0,r=T()|0,n=Z(e|0,n|0,1,0)|0,n=Ar(a|0,r|0,n|0,T()|0)|0,n=Z(n|0,T()|0,1,0)|0,e=T()|0,i[t>>2]=n,i[t+4>>2]=e,t=0,t|0)}function z(e,t,n,r){return e|=0,t|=0,n|=0,r|=0,B(e,t,n,r,0)|0}function B(e,t,n,r,a){e|=0,t|=0,n|=0,r|=0,a|=0;var o=0,s=0,c=0,l=0,u=0;if(l=M,M=M+16|0,s=l,!(te(e,t,n,r,a)|0))return r=0,M=l,r|0;do if((n|0)>=0){if((n|0)>13780509){if(o=mn(15,s)|0,o|0)break;c=s,s=i[c>>2]|0,c=i[c+4>>2]|0}else o=((n|0)<0)<<31>>31,u=Ar(n|0,o|0,3,0)|0,c=T()|0,o=Z(n|0,o|0,1,0)|0,o=Ar(u|0,c|0,o|0,T()|0)|0,o=Z(o|0,T()|0,1,0)|0,c=T()|0,i[s>>2]=o,i[s+4>>2]=c,s=o;if(zr(r|0,0,s<<3)|0,a|0){zr(a|0,0,s<<2)|0,o=ne(e,t,n,r,a,s,c,0)|0;break}o=wr(s,4)|0,o?(u=ne(e,t,n,r,o,s,c,0)|0,X(o),o=u):o=13}else o=2;while(0);return u=o,M=l,u|0}function te(e,t,n,r,a){e|=0,t|=0,n|=0,r|=0,a|=0;var o=0,s=0,c=0,l=0,u=0,d=0,f=0,p=0,m=0,h=0,g=0;if(g=M,M=M+16|0,m=g,h=g+8|0,p=m,i[p>>2]=e,i[p+4>>2]=t,(n|0)<0)return h=2,M=g,h|0;if(o=r,i[o>>2]=e,i[o+4>>2]=t,o=!!(a|0),o&&(i[a>>2]=0),K(e,t)|0)return h=9,M=g,h|0;i[h>>2]=0;a:do if((n|0)>=1){if(o)for(d=1,u=0,f=0,p=1,o=e;;){if(!(u|f)){if(o=re(o,t,4,h,m)|0,o|0)break a;if(t=m,o=i[t>>2]|0,t=i[t+4>>2]|0,K(o,t)|0){o=9;break a}}if(o=re(o,t,i[26800+(f<<2)>>2]|0,h,m)|0,o|0)break a;if(t=m,o=i[t>>2]|0,t=i[t+4>>2]|0,e=r+(d<<3)|0,i[e>>2]=o,i[e+4>>2]=t,i[a+(d<<2)>>2]=p,e=u+1|0,s=(e|0)==(p|0),c=f+1|0,l=(c|0)==6,K(o,t)|0){o=9;break a}if(p=p+(l&s&1)|0,(p|0)>(n|0)){o=0;break}d=d+1|0,u=s?0:e,f=s?l?0:c:f}else for(d=1,u=0,f=0,p=1,o=e;;){if(!(u|f)){if(o=re(o,t,4,h,m)|0,o|0)break a;if(t=m,o=i[t>>2]|0,t=i[t+4>>2]|0,K(o,t)|0){o=9;break a}}if(o=re(o,t,i[26800+(f<<2)>>2]|0,h,m)|0,o|0)break a;if(t=m,o=i[t>>2]|0,t=i[t+4>>2]|0,e=r+(d<<3)|0,i[e>>2]=o,i[e+4>>2]=t,e=u+1|0,s=(e|0)==(p|0),c=f+1|0,l=(c|0)==6,K(o,t)|0){o=9;break a}if(p=p+(l&s&1)|0,(p|0)>(n|0)){o=0;break}d=d+1|0,u=s?0:e,f=s?l?0:c:f}}else o=0;while(0);return h=o,M=g,h|0}function ne(e,t,n,r,a,o,s,c){e|=0,t|=0,n|=0,r|=0,a|=0,o|=0,s|=0,c|=0;var l=0,u=0,d=0,f=0,p=0,m=0,h=0,g=0,_=0,v=0;if(g=M,M=M+16|0,m=g+8|0,h=g,l=Mr(e|0,t|0,o|0,s|0)|0,d=T()|0,f=r+(l<<3)|0,_=f,v=i[_>>2]|0,_=i[_+4>>2]|0,u=(v|0)==(e|0)&(_|0)==(t|0),!(!(v|0)&!(_|0)|u))do l=Z(l|0,d|0,1,0)|0,l=jr(l|0,T()|0,o|0,s|0)|0,d=T()|0,f=r+(l<<3)|0,v=f,_=i[v>>2]|0,v=i[v+4>>2]|0,u=(_|0)==(e|0)&(v|0)==(t|0);while(!(!(_|0)&!(v|0)|u));if(l=a+(l<<2)|0,u&&(i[l>>2]|0)<=(c|0)||(v=f,i[v>>2]=e,i[v+4>>2]=t,i[l>>2]=c,(c|0)>=(n|0)))return v=0,M=g,v|0;switch(u=c+1|0,i[m>>2]=0,l=re(e,t,2,m,h)|0,l|0){case 9:p=9;break;case 0:l=h,l=ne(i[l>>2]|0,i[l+4>>2]|0,n,r,a,o,s,u)|0,l||(p=9)}a:do if((p|0)==9){switch(i[m>>2]=0,l=re(e,t,3,m,h)|0,l|0){case 9:break;case 0:if(l=h,l=ne(i[l>>2]|0,i[l+4>>2]|0,n,r,a,o,s,u)|0,l|0)break a;break;default:break a}switch(i[m>>2]=0,l=re(e,t,1,m,h)|0,l|0){case 9:break;case 0:if(l=h,l=ne(i[l>>2]|0,i[l+4>>2]|0,n,r,a,o,s,u)|0,l|0)break a;break;default:break a}switch(i[m>>2]=0,l=re(e,t,5,m,h)|0,l|0){case 9:break;case 0:if(l=h,l=ne(i[l>>2]|0,i[l+4>>2]|0,n,r,a,o,s,u)|0,l|0)break a;break;default:break a}switch(i[m>>2]=0,l=re(e,t,4,m,h)|0,l|0){case 9:break;case 0:if(l=h,l=ne(i[l>>2]|0,i[l+4>>2]|0,n,r,a,o,s,u)|0,l|0)break a;break;default:break a}switch(i[m>>2]=0,l=re(e,t,6,m,h)|0,l|0){case 9:break;case 0:if(l=h,l=ne(i[l>>2]|0,i[l+4>>2]|0,n,r,a,o,s,u)|0,l|0)break a;break;default:break a}return v=0,M=g,v|0}while(0);return v=l,M=g,v|0}function re(e,t,n,r,a){e|=0,t|=0,n|=0,r|=0,a|=0;var o=0,s=0,c=0,l=0,u=0,d=0,f=0,p=0,m=0,h=0;if(n>>>0>6)return a=1,a|0;if(f=(i[r>>2]|0)%6|0,i[r>>2]=f,(f|0)>0){o=0;do n=Xe(n)|0,o=o+1|0;while((o|0)<(i[r>>2]|0))}if(f=Q(e|0,t|0,45)|0,T()|0,d=f&127,d>>>0>121)return a=5,a|0;l=Lt(e,t)|0,o=Q(e|0,t|0,52)|0,T()|0,o&=15;a:do if(!o)u=8;else{for(;;){if(s=(15-o|0)*3|0,c=Q(e|0,t|0,s|0)|0,T()|0,c&=7,(c|0)==7){t=5;break}if(h=!(Ut(o)|0),o=o+-1|0,p=$(7,0,s|0)|0,t&=~(T()|0),m=$(i[(h?432:16)+(c*28|0)+(n<<2)>>2]|0,0,s|0)|0,s=T()|0,n=i[(h?640:224)+(c*28|0)+(n<<2)>>2]|0,e=m|e&~p,t=s|t,!n){n=0;break a}if(!o){u=8;break a}}return t|0}while(0);(u|0)==8&&(h=i[848+(d*28|0)+(n<<2)>>2]|0,m=$(h|0,0,45)|0,e=m|e,t=T()|0|t&-1040385,n=i[4272+(d*28|0)+(n<<2)>>2]|0,(h&127)==127&&(h=$(i[848+(d*28|0)+20>>2]|0,0,45)|0,t=T()|0|t&-1040385,n=i[4272+(d*28|0)+20>>2]|0,e=zt(h|e,t)|0,t=T()|0,i[r>>2]=(i[r>>2]|0)+1)),c=Q(e|0,t|0,45)|0,T()|0,c&=127;b:do if(pe(c)|0){c:do if((Lt(e,t)|0)==1){if((d|0)!=(c|0)){if(ye(c,i[7696+(d*28|0)>>2]|0)|0){e=Vt(e,t)|0,s=1,t=T()|0;break}E(27795,26864,533,26872)}switch(l|0){case 3:e=zt(e,t)|0,t=T()|0,i[r>>2]=(i[r>>2]|0)+1,s=0;break c;case 5:e=Vt(e,t)|0,t=T()|0,i[r>>2]=(i[r>>2]|0)+5,s=0;break c;case 0:return h=9,h|0;default:return h=1,h|0}}else s=0;while(0);if((n|0)>0){o=0;do e=Rt(e,t)|0,t=T()|0,o=o+1|0;while((o|0)!=(n|0))}if((d|0)!=(c|0)){if(!(me(c)|0)){if(!!(s|0)|(Lt(e,t)|0)!=5)break;i[r>>2]=(i[r>>2]|0)+1;break}switch(f&127){case 8:case 118:break b}(Lt(e,t)|0)!=3&&(i[r>>2]=(i[r>>2]|0)+1)}}else if((n|0)>0){o=0;do e=zt(e,t)|0,t=T()|0,o=o+1|0;while((o|0)!=(n|0))}while(0);return i[r>>2]=((i[r>>2]|0)+n|0)%6|0,h=a,i[h>>2]=e,i[h+4>>2]=t,h=0,h|0}function ie(e,t,n,r){return e|=0,t|=0,n|=0,r|=0,ae(e,t,n,r)|0?(zr(r|0,0,n*48|0)|0,r=oe(e,t,n,r)|0,r|0):(r=0,r|0)}function ae(e,t,n,r){e|=0,t|=0,n|=0,r|=0;var a=0,o=0,s=0,c=0,l=0,u=0,d=0,f=0,p=0,m=0,h=0;if(h=M,M=M+16|0,p=h,m=h+8|0,f=p,i[f>>2]=e,i[f+4>>2]=t,(n|0)<0)return m=2,M=h,m|0;if(!n)return m=r,i[m>>2]=e,i[m+4>>2]=t,m=0,M=h,m|0;i[m>>2]=0;a:do if(K(e,t)|0)e=9;else{a=0,f=e;do{if(e=re(f,t,4,m,p)|0,e|0)break a;if(t=p,f=i[t>>2]|0,t=i[t+4>>2]|0,a=a+1|0,K(f,t)|0){e=9;break a}}while((a|0)<(n|0));d=r,i[d>>2]=f,i[d+4>>2]=t,d=n+-1|0,u=0,e=1;do{if(a=26800+(u<<2)|0,(u|0)==5)for(s=i[a>>2]|0,o=0,a=e;;){if(e=p,e=re(i[e>>2]|0,i[e+4>>2]|0,s,m,p)|0,e|0)break a;if((o|0)!=(d|0)){if(l=p,c=i[l>>2]|0,l=i[l+4>>2]|0,e=r+(a<<3)|0,i[e>>2]=c,i[e+4>>2]=l,!(K(c,l)|0))e=a+1|0;else{e=9;break a}}else e=a;if(o=o+1|0,(o|0)>=(n|0))break;a=e}else for(s=p,l=i[a>>2]|0,c=0,a=e,o=i[s>>2]|0,s=i[s+4>>2]|0;;){if(e=re(o,s,l,m,p)|0,e|0)break a;if(s=p,o=i[s>>2]|0,s=i[s+4>>2]|0,e=r+(a<<3)|0,i[e>>2]=o,i[e+4>>2]=s,e=a+1|0,K(o,s)|0){e=9;break a}if(c=c+1|0,(c|0)>=(n|0))break;a=e}u=u+1|0}while(u>>>0<6);e=p,e=(f|0)==(i[e>>2]|0)&&(t|0)==(i[e+4>>2]|0)?0:9}while(0);return m=e,M=h,m|0}function oe(e,t,n,r){e|=0,t|=0,n|=0,r|=0;var a=0,o=0,s=0,c=0,l=0,u=0,d=0,f=0,p=0;if(f=M,M=M+16|0,s=f,!n)return i[r>>2]=e,i[r+4>>2]=t,r=0,M=f,r|0;do if((n|0)>=0){if((n|0)>13780509){if(a=mn(15,s)|0,a|0)break;o=s,a=i[o>>2]|0,o=i[o+4>>2]|0}else a=((n|0)<0)<<31>>31,d=Ar(n|0,a|0,3,0)|0,o=T()|0,a=Z(n|0,a|0,1,0)|0,a=Ar(d|0,o|0,a|0,T()|0)|0,a=Z(a|0,T()|0,1,0)|0,o=T()|0,d=s,i[d>>2]=a,i[d+4>>2]=o;if(u=wr(a,8)|0,!u)a=13;else{if(d=wr(a,4)|0,!d){X(u),a=13;break}if(a=ne(e,t,n,u,d,a,o,0)|0,a|0){X(u),X(d);break}if(t=i[s>>2]|0,s=i[s+4>>2]|0,(s|0)>0|!(s|0)&t>>>0>0){a=0,c=0,l=0;do e=u+(c<<3)|0,o=i[e>>2]|0,e=i[e+4>>2]|0,!(!(o|0)&!(e|0))&&(i[d+(c<<2)>>2]|0)==(n|0)&&(p=r+(a<<3)|0,i[p>>2]=o,i[p+4>>2]=e,a=a+1|0),c=Z(c|0,l|0,1,0)|0,l=T()|0;while((l|0)<(s|0)|(l|0)==(s|0)&c>>>0<t>>>0)}X(u),X(d),a=0}}else a=2;while(0);return p=a,M=f,p|0}function se(e,t,n,r){e|=0,t|=0,n|=0,r|=0;var a=0,o=0,s=0,c=0,l=0,u=0;for(c=M,M=M+16|0,o=c,s=c+8|0,a=!(K(e,t)|0),a=a?1:2;;){if(i[s>>2]=0,u=!(re(e,t,a,s,o)|0),l=o,u&((i[l>>2]|0)==(n|0)?(i[l+4>>2]|0)==(r|0):0)){e=4;break}if(a=a+1|0,a>>>0>=7){a=7,e=4;break}}return(e|0)==4?(M=c,a|0):0}function ce(e,t,n,r){e|=0,t|=0,n|=0,r|=0;var a=0,o=0,s=0,c=0,l=0,u=0;if(c=M,M=M+48|0,a=c+16|0,o=c+8|0,s=c,n=Un(n)|0,n|0)return s=n,M=c,s|0;if(u=e,l=i[u+4>>2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|0)&d>>>0>0){y=0,b=0;b:for(;;){if(R=1/(+(d>>>0)+4294967296*(u|0)),z=+a[A>>3],u=Tr(d|0,u|0,y|0,b|0)|0,ee=+(u>>>0)+4294967296*(T()|0),I=+(y>>>0)+4294967296*(b|0),a[C>>3]=z*ee*R+R*(+a[j>>3]*I),a[k>>3]=R*(+a[D>>3]*ee)+R*(+a[O>>3]*I),u=q(C,r,w)|0,u|0){l=u;break}v=w,_=i[v>>2]|0,v=i[v+4>>2]|0,m=Mr(_|0,v|0,t|0,n|0)|0,f=T()|0,u=c+(m<<3)|0,p=u,d=i[p>>2]|0,p=i[p+4>>2]|0;c:do if(!(d|0)&!(p|0))S=u,P=16;else for(h=0,g=0;;){if((h|0)>(n|0)|(h|0)==(n|0)&g>>>0>t>>>0){l=1;break b}if((d|0)==(_|0)&(p|0)==(v|0))break c;if(u=Z(m|0,f|0,1,0)|0,m=jr(u|0,T()|0,t|0,n|0)|0,f=T()|0,g=Z(g|0,h|0,1,0)|0,h=T()|0,u=c+(m<<3)|0,p=u,d=i[p>>2]|0,p=i[p+4>>2]|0,!(d|0)&!(p|0)){S=u,P=16;break}}while(0);if((P|0)==16&&(P=0,!(!(_|0)&!(v|0)))&&(g=S,i[g>>2]=_,i[g+4>>2]=v,g=s+(i[o>>2]<<3)|0,i[g>>2]=_,i[g+4>>2]=v,g=o,g=Z(i[g>>2]|0,i[g+4>>2]|0,1,0)|0,_=T()|0,v=o,i[v>>2]=g,i[v+4>>2]=_),y=Z(y|0,b|0,1,0)|0,b=T()|0,u=N,d=i[u>>2]|0,u=i[u+4>>2]|0,!((u|0)>(b|0)|(u|0)==(b|0)&d>>>0>y>>>0)){d=1;break a}}d=0}else d=1;while(0);if(x=x+1|0,!d){P=21;break}if(u=i[e>>2]|0,(x|0)>=(u|0)){l=0,P=21;break}}return(P|0)==21?(M=F,l|0):0}function ue(e,t,n,r){e|=0,t|=0,n|=0,r|=0;var a=0,o=0,s=0,c=0,l=0,u=0,d=0,f=0,p=0,m=0,h=0,g=0,_=0,v=0,y=0,b=0,x=0,S=0,C=0,w=0,E=0,D=0,O=0,k=0,A=0,j=0,N=0,P=0,F=0,I=0,R=0;if(R=M,M=M+112|0,N=R+80|0,l=R+72|0,P=R,F=R+56|0,a=Un(n)|0,a|0)return I=a,M=R,I|0;if(u=e+8|0,I=Cr((i[u>>2]<<5)+32|0)|0,!I)return I=13,M=R,I|0;if(Wn(e,I),a=Un(n)|0,!a){if(A=e,j=i[A+4>>2]|0,a=l,i[a>>2]=i[A>>2],i[a+4>>2]=j,Hn(l,N),a=Me(N,t,P)|0,a)A=0,j=0;else{if(a=i[l>>2]|0,o=i[u>>2]|0,(o|0)>0){s=i[e+12>>2]|0,n=0;do a=(i[s+(n<<3)>>2]|0)+a|0,n=n+1|0;while((n|0)!=(o|0));n=a}else n=a;a=P,o=i[a>>2]|0,a=i[a+4>>2]|0,s=((n|0)<0)<<31>>31,(a|0)<(s|0)|(a|0)==(s|0)&o>>>0<n>>>0?(a=P,i[a>>2]=n,i[a+4>>2]=s,a=s):n=o,A=Z(n|0,a|0,12,0)|0,j=T()|0,a=P,i[a>>2]=A,i[a+4>>2]=j,a=0}if(!a){if(n=wr(A,8)|0,!n)return X(I),I=13,M=R,I|0;if(c=wr(A,8)|0,!c)return X(I),X(n),I=13,M=R,I|0;O=N,i[O>>2]=0,i[O+4>>2]=0,O=e,k=i[O+4>>2]|0,a=l,i[a>>2]=i[O>>2],i[a+4>>2]=k,a=le(l,A,j,t,N,n,c)|0;a:do if(a)X(n),X(c),X(I);else{b:do if((i[u>>2]|0)>0){for(s=e+12|0,o=0;a=le((i[s>>2]|0)+(o<<3)|0,A,j,t,N,n,c)|0,o=o+1|0,!(a|0);)if((o|0)>=(i[u>>2]|0))break b;X(n),X(c),X(I);break a}while(0);(j|0)>0|!(j|0)&A>>>0>0&&zr(c|0,0,A<<3)|0,k=N,O=i[k+4>>2]|0;c:do if((O|0)>0|!(O|0)&(i[k>>2]|0)>>>0>0){w=n,E=c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0,i[b+4>>2]=0,o=Z(o|0,s|0,1,0)|0,s=T()|0,b=N,y=i[b+4>>2]|0;while((s|0)<(y|0)|((s|0)==(y|0)?o>>>0<(i[b>>2]|0)>>>0:0))}if(b=N,i[b>>2]=c,i[b+4>>2]=l,(l|0)>0|!(l|0)&c>>>0>0)g=n,_=C,v=k,y=S,b=E,n=x,C=a,S=D,x=g,a=_,k=O,O=v,D=y,E=w,w=b;else break c}X(D),X(O),X(I),a=1;break a}else a=c;while(0);X(I),X(n),X(a),a=0}while(0);return I=a,M=R,I|0}}return X(I),I=a,M=R,I|0}function de(e,t,n){e|=0,t|=0,n|=0;var r=0,a=0,o=0,s=0,c=0,l=0,u=0,d=0;if(d=M,M=M+176|0,l=d,(t|0)<1)return mr(n,0,0),u=0,M=d,u|0;for(c=e,c=Q(i[c>>2]|0,i[c+4>>2]|0,52)|0,T()|0,mr(n,(t|0)>6?t:6,c&15),c=0;r=e+(c<<3)|0,r=Kt(i[r>>2]|0,i[r+4>>2]|0,l)|0,!(r|0);){if(r=i[l>>2]|0,(r|0)>0){s=0;do o=l+8+(s<<4)|0,s=s+1|0,r=l+8+(((s|0)%(r|0)|0)<<4)|0,a=yr(n,r,o)|0,a?_r(n,a)|0:vr(n,o,r)|0,r=i[l>>2]|0;while((s|0)<(r|0))}if(c=c+1|0,(c|0)>=(t|0)){r=0,u=13;break}}return(u|0)==13?(M=d,r|0):(hr(n),u=r,M=d,u|0)}function fe(e,t,n){e|=0,t|=0,n|=0;var r=0,a=0,o=0,s=0;if(o=M,M=M+32|0,r=o,a=o+16|0,e=de(e,t,a)|0,e|0)return n=e,M=o,n|0;if(i[n>>2]=0,i[n+4>>2]=0,i[n+8>>2]=0,e=gr(a)|0,e|0)do{t=Sn(n)|0;do Cn(t,e)|0,s=e+16|0,i[r>>2]=i[s>>2],i[r+4>>2]=i[s+4>>2],i[r+8>>2]=i[s+8>>2],i[r+12>>2]=i[s+12>>2],_r(a,e)|0,e=br(a,r)|0;while(e|0);e=gr(a)|0}while(e|0);return hr(a),e=Tn(n)|0,e?(wn(n),s=e,M=o,s|0):(s=0,M=o,s|0)}function pe(e){return e|=0,e>>>0>121?(e=0,e|0):(e=i[7696+(e*28|0)+16>>2]|0,e|0)}function me(e){return e|=0,(e|0)==4|(e|0)==117}function he(e){return e|=0,i[11120+((i[e>>2]|0)*216|0)+((i[e+4>>2]|0)*72|0)+((i[e+8>>2]|0)*24|0)+(i[e+12>>2]<<3)>>2]|0}function ge(e){return e|=0,i[11120+((i[e>>2]|0)*216|0)+((i[e+4>>2]|0)*72|0)+((i[e+8>>2]|0)*24|0)+(i[e+12>>2]<<3)+4>>2]|0}function _e(e,t){e|=0,t|=0,e=7696+(e*28|0)|0,i[t>>2]=i[e>>2],i[t+4>>2]=i[e+4>>2],i[t+8>>2]=i[e+8>>2],i[t+12>>2]=i[e+12>>2]}function ve(e,t){e|=0,t|=0;var n=0,r=0;if(t>>>0>20)return t=-1,t|0;do if((i[11120+(t*216|0)>>2]|0)!=(e|0)){if((i[11120+(t*216|0)+8>>2]|0)!=(e|0)){if((i[11120+(t*216|0)+16>>2]|0)!=(e|0)){if((i[11120+(t*216|0)+24>>2]|0)!=(e|0)){if((i[11120+(t*216|0)+32>>2]|0)!=(e|0)){if((i[11120+(t*216|0)+40>>2]|0)!=(e|0)){if((i[11120+(t*216|0)+48>>2]|0)!=(e|0)){if((i[11120+(t*216|0)+56>>2]|0)!=(e|0)){if((i[11120+(t*216|0)+64>>2]|0)!=(e|0)){if((i[11120+(t*216|0)+72>>2]|0)!=(e|0)){if((i[11120+(t*216|0)+80>>2]|0)!=(e|0)){if((i[11120+(t*216|0)+88>>2]|0)!=(e|0)){if((i[11120+(t*216|0)+96>>2]|0)!=(e|0)){if((i[11120+(t*216|0)+104>>2]|0)!=(e|0)){if((i[11120+(t*216|0)+112>>2]|0)!=(e|0)){if((i[11120+(t*216|0)+120>>2]|0)!=(e|0)){if((i[11120+(t*216|0)+128>>2]|0)!=(e|0)){if((i[11120+(t*216|0)+136>>2]|0)==(e|0))e=2,n=1,r=2;else{if((i[11120+(t*216|0)+144>>2]|0)==(e|0)){e=0,n=2,r=0;break}if((i[11120+(t*216|0)+152>>2]|0)==(e|0)){e=0,n=2,r=1;break}if((i[11120+(t*216|0)+160>>2]|0)==(e|0)){e=0,n=2,r=2;break}if((i[11120+(t*216|0)+168>>2]|0)==(e|0)){e=1,n=2,r=0;break}if((i[11120+(t*216|0)+176>>2]|0)==(e|0)){e=1,n=2,r=1;break}if((i[11120+(t*216|0)+184>>2]|0)==(e|0)){e=1,n=2,r=2;break}if((i[11120+(t*216|0)+192>>2]|0)==(e|0)){e=2,n=2,r=0;break}if((i[11120+(t*216|0)+200>>2]|0)==(e|0)){e=2,n=2,r=1;break}if((i[11120+(t*216|0)+208>>2]|0)==(e|0)){e=2,n=2,r=2;break}return e=-1,e|0}}else e=2,n=1,r=1}else e=2,n=1,r=0}else e=1,n=1,r=2}else e=1,n=1,r=1}else e=1,n=1,r=0}else e=0,n=1,r=2}else e=0,n=1,r=1}else e=0,n=1,r=0}else e=2,n=0,r=2}else e=2,n=0,r=1}else e=2,n=0,r=0}else e=1,n=0,r=2}else e=1,n=0,r=1}else e=1,n=0,r=0}else e=0,n=0,r=2}else e=0,n=0,r=1}else e=0,n=0,r=0;while(0);return t=i[11120+(t*216|0)+(n*72|0)+(e*24|0)+(r<<3)+4>>2]|0,t|0}function ye(e,t){return e|=0,t|=0,(i[7696+(e*28|0)+20>>2]|0)==(t|0)?(t=1,t|0):(t=(i[7696+(e*28|0)+24>>2]|0)==(t|0),t|0)}function be(e,t){return e|=0,t|=0,i[848+(e*28|0)+(t<<2)>>2]|0}function xe(e,t){return e|=0,t|=0,(i[848+(e*28|0)>>2]|0)==(t|0)?(t=0,t|0):(i[848+(e*28|0)+4>>2]|0)==(t|0)?(t=1,t|0):(i[848+(e*28|0)+8>>2]|0)==(t|0)?(t=2,t|0):(i[848+(e*28|0)+12>>2]|0)==(t|0)?(t=3,t|0):(i[848+(e*28|0)+16>>2]|0)==(t|0)?(t=4,t|0):(i[848+(e*28|0)+20>>2]|0)==(t|0)?(t=5,t|0):((i[848+(e*28|0)+24>>2]|0)==(t|0)?6:7)|0}function Se(){return 122}function Ce(e){e|=0;var t=0,n=0,r=0;t=0;do $(t|0,0,45)|0,r=T()|134225919,n=e+(t<<3)|0,i[n>>2]=-1,i[n+4>>2]=r,t=t+1|0;while((t|0)!=122);return 0}function we(e){e|=0;var t=0,n=0,r=0;return r=+a[e+16>>3],n=+a[e+24>>3],t=r-n,+(r<n?t+6.283185307179586:t)}function Te(e){return e|=0,+a[e+16>>3]<+a[e+24>>3]|0}function Ee(e){return e|=0,+(+a[e>>3]-a[e+8>>3])}function De(e,t){e|=0,t|=0;var n=0,r=0,i=0;return n=+a[t>>3],!(n>=+a[e+8>>3])||!(n<=+a[e>>3])?(t=0,t|0):(r=+a[e+16>>3],n=+a[e+24>>3],i=+a[t+8>>3],t=i>=n,e=i<=r&1,r<n?t&&(e=1):t||(e=0),t=!!(e|0),t|0)}function Oe(e,t){e|=0,t|=0;var n=0,r=0,i=0,o=0,s=0,c=0,l=0,u=0,d=0;return+a[e>>3]<+a[t+8>>3]||+a[e+8>>3]>+a[t>>3]?(r=0,r|0):(o=+a[e+16>>3],n=e+24|0,d=+a[n>>3],s=o<d,r=t+16|0,u=+a[r>>3],i=t+24|0,l=+a[i>>3],c=u<l,t=d-u<l-o,e=s?c|t?1:2:0,t=c?s?1:t?2:1:0,o=+an(o,e),o<+an(+a[i>>3],t)||(d=+an(+a[n>>3],e),d>+an(+a[r>>3],t))?(c=0,c|0):(c=1,c|0))}function ke(e,t,n,r){e|=0,t|=0,n|=0,r|=0;var o=0,s=0,c=0,l=0,u=0;s=+a[e+16>>3],u=+a[e+24>>3],e=s<u,l=+a[t+16>>3],c=+a[t+24>>3],o=l<c,t=u-l<c-s,i[n>>2]=e?o|t?1:2:0,i[r>>2]=o?e?1:t?2:1:0}function Ae(e,t){e|=0,t|=0;var n=0,r=0,i=0,o=0,s=0,c=0,l=0,u=0,d=0;return+a[e>>3]<+a[t>>3]||+a[e+8>>3]>+a[t+8>>3]?(r=0,r|0):(r=e+16|0,l=+a[r>>3],o=+a[e+24>>3],s=l<o,n=t+16|0,d=+a[n>>3],i=t+24|0,u=+a[i>>3],c=d<u,t=o-d<u-l,e=s?c|t?1:2:0,t=c?s?1:t?2:1:0,o=+an(o,e),o<=+an(+a[i>>3],t)?(d=+an(+a[r>>3],e),c=d>=+an(+a[n>>3],t),c|0):(c=0,c|0))}function je(e,t){e|=0,t|=0;var n=0,r=0,o=0,s=0,c=0,l=0;o=M,M=M+176|0,r=o,i[r>>2]=4,l=+a[t>>3],a[r+8>>3]=l,s=+a[t+16>>3],a[r+16>>3]=s,a[r+24>>3]=l,l=+a[t+24>>3],a[r+32>>3]=l,c=+a[t+8>>3],a[r+40>>3]=c,a[r+48>>3]=l,a[r+56>>3]=c,a[r+64>>3]=s,t=r+72|0,n=t+96|0;do i[t>>2]=0,t=t+4|0;while((t|0)<(n|0));Rr(e|0,r|0,168)|0,M=o}function Me(e,t,n){e|=0,t|=0,n|=0;var r=0,s=0,u=0,d=0,f=0,p=0,m=0,h=0,g=0,_=0,v=0,b=0,S=0,C=0;b=M,M=M+288|0,h=b+264|0,g=b+96|0,m=b,f=m,p=f+96|0;do i[f>>2]=0,f=f+4|0;while((f|0)<(p|0));return t=Xt(t,m)|0,t|0?(v=t,M=b,v|0):(p=m,m=i[p>>2]|0,p=i[p+4>>2]|0,Gt(m,p,h)|0,Kt(m,p,g)|0,d=+sn(h,g+8|0),a[h>>3]=+a[e>>3],p=h+8|0,a[p>>3]=+a[e+16>>3],a[g>>3]=+a[e+8>>3],m=g+8|0,a[m>>3]=+a[e+24>>3],s=+sn(h,g),C=+a[p>>3]-a[m>>3],u=+l(+C),S=+a[h>>3]-a[g>>3],r=+l(+S),!(C==0|S==0)&&(C=+Fr(+u,+r),C=+y(+(s*s/+Ir(+(C/+Ir(+u,+r)),3)/(d*2.59807621135*d*.8))),a[o>>3]=C,_=~~C>>>0,v=+l(C)>=1?C>0?~~+x(+c(C/4294967296),4294967295)>>>0:~~+y((C-+(~~C>>>0))/4294967296)>>>0:0,(i[o+4>>2]&2146435072)!=2146435072)?(g=!(_|0)&!(v|0),t=n,i[t>>2]=g?1:_,i[t+4>>2]=g?0:v,t=0):t=1,v=t,M=b,v|0)}function Ne(e,t,n,r){e|=0,t|=0,n|=0,r|=0;var s=0,u=0,d=0,f=0,p=0,m=0,h=0;m=M,M=M+288|0,d=m+264|0,f=m+96|0,p=m,s=p,u=s+96|0;do i[s>>2]=0,s=s+4|0;while((s|0)<(u|0));return n=Xt(n,p)|0,n|0?(r=n,M=m,r|0):(n=p,s=i[n>>2]|0,n=i[n+4>>2]|0,Gt(s,n,d)|0,Kt(s,n,f)|0,h=+sn(d,f+8|0),h=+y(+(+sn(e,t)/(h*2))),a[o>>3]=h,n=~~h>>>0,s=+l(h)>=1?h>0?~~+x(+c(h/4294967296),4294967295)>>>0:~~+y((h-+(~~h>>>0))/4294967296)>>>0:0,(i[o+4>>2]&2146435072)==2146435072?(r=1,M=m,r|0):(p=!(n|0)&!(s|0),i[r>>2]=p?1:n,i[r+4>>2]=p?0:s,r=0,M=m,r|0))}function Pe(e,t){e|=0,t=+t;var n=0,r=0,i=0,o=0,s=0,c=0,l=0,u=0,d=0;o=e+16|0,s=+a[o>>3],n=e+24|0,i=+a[n>>3],r=s-i,r=s<i?r+6.283185307179586:r,u=+a[e>>3],c=e+8|0,l=+a[c>>3],d=u-l,r=(r*t-r)*.5,t=(d*t-d)*.5,u+=t,a[e>>3]=u>1.5707963267948966?1.5707963267948966:u,t=l-t,a[c>>3]=t<-1.5707963267948966?-1.5707963267948966:t,t=s+r,t=t>3.141592653589793?t+-6.283185307179586:t,a[o>>3]=t<-3.141592653589793?t+6.283185307179586:t,t=i-r,t=t>3.141592653589793?t+-6.283185307179586:t,a[n>>3]=t<-3.141592653589793?t+6.283185307179586:t}function Fe(e,t,n,r){e|=0,t|=0,n|=0,r|=0,i[e>>2]=t,i[e+4>>2]=n,i[e+8>>2]=r}function Ie(e,t){e|=0,t|=0;var n=0,r=0,o=0,s=0,c=0,u=0,d=0,f=0,p=0,m=0,h=0;m=t+8|0,i[m>>2]=0,d=+a[e>>3],c=+l(+d),f=+a[e+8>>3],u=l(+f)*1.1547005383792515,c+=u*.5,n=~~c,e=~~u,c-=+(n|0),u-=+(e|0);do if(c<.5){if(c<.3333333333333333){if(i[t>>2]=n,u<(c+1)*.5){i[t+4>>2]=e;break}e=e+1|0,i[t+4>>2]=e;break}if(h=1-c,e=(!(u<h)&1)+e|0,i[t+4>>2]=e,h<=u&u<c*2){n=n+1|0,i[t>>2]=n;break}i[t>>2]=n;break}else{if(!(c<.6666666666666666)){if(n=n+1|0,i[t>>2]=n,u<c*.5){i[t+4>>2]=e;break}e=e+1|0,i[t+4>>2]=e;break}if(u<1-c){if(i[t+4>>2]=e,c*2+-1<u){i[t>>2]=n;break}}else e=e+1|0,i[t+4>>2]=e;n=n+1|0,i[t>>2]=n}while(0);do if(d<0){if(e&1){p=(e+1|0)/2|0,p=Tr(n|0,((n|0)<0)<<31>>31,p|0,((p|0)<0)<<31>>31)|0,n=~~(+(n|0)-((+(p>>>0)+4294967296*(T()|0))*2+1)),i[t>>2]=n;break}p=(e|0)/2|0,p=Tr(n|0,((n|0)<0)<<31>>31,p|0,((p|0)<0)<<31>>31)|0,n=~~(+(n|0)-(+(p>>>0)+4294967296*(T()|0))*2),i[t>>2]=n;break}while(0);p=t+4|0,f<0&&(n=n-((e<<1|1)/2|0)|0,i[t>>2]=n,e=0-e|0,i[p>>2]=e),r=e-n|0,(n|0)<0?(o=0-n|0,i[p>>2]=r,i[m>>2]=o,i[t>>2]=0,e=r,n=0):o=0,(e|0)<0&&(n=n-e|0,i[t>>2]=n,o=o-e|0,i[m>>2]=o,i[p>>2]=0,e=0),s=n-o|0,r=e-o|0,(o|0)<0&&(i[t>>2]=s,i[p>>2]=r,i[m>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=0,c=0;s=i[e>>2]|0,c=(s|0)<0,r=(i[e+4>>2]|0)-(c?s:0)|0,o=(r|0)<0,a=(o?0-r|0:0)+((i[e+8>>2]|0)-(c?s:0))|0,n=(a|0)<0,e=n?0:a,t=(o?0:r)-(n?a:0)|0,a=(c?0:s)-(o?r:0)-(n?a:0)|0,n=(t|0)<(a|0)?t:a,n=(e|0)<(n|0)?e:n,r=(n|0)>0,e=e-(r?n:0)|0,t=t-(r?n:0)|0;a:do switch(a-(r?n:0)|0){case 0:switch(t|0){case 0:return c=e|0?(e|0)==1?1:7:0,c|0;case 1:return c=e|0?(e|0)==1?3:7:2,c|0;default:break a}case 1:switch(t|0){case 0:return c=e|0?(e|0)==1?5:7:4,c|0;case 1:if(!e)e=6;else break a;return e|0;default:break a}}while(0);return c=7,c|0}function He(e){e|=0;var t=0,n=0,r=0,a=0,o=0,s=0,c=0,l=0,u=0;if(l=e+8|0,s=i[l>>2]|0,c=(i[e>>2]|0)-s|0,u=e+4|0,s=(i[u>>2]|0)-s|0,c>>>0>715827881|s>>>0>715827881){if(r=(c|0)>0,a=2147483647-c|0,o=-2147483648-c|0,(r?(a|0)<(c|0):(o|0)>(c|0))||(n=c<<1,r?(2147483647-n|0)<(c|0):(-2147483648-n|0)>(c|0))||((s|0)>0?(2147483647-s|0)<(s|0):(-2147483648-s|0)>(s|0))||(t=c*3|0,n=s<<1,(r?(a|0)<(n|0):(o|0)>(n|0))||((c|0)>-1?(t|-2147483648)>=(s|0):(t^-2147483648)<(s|0))))return u=1,u|0}else n=s<<1,t=c*3|0;return r=Sr((t-s|0)*.14285714285714285)|0,i[e>>2]=r,a=Sr((n+c|0)*.14285714285714285)|0,i[u>>2]=a,i[l>>2]=0,n=(a|0)<(r|0),t=n?r:a,n=n?a:r,(n|0)<0&&(((n|0)==-2147483648||((t|0)>0?(2147483647-t|0)<(n|0):(-2147483648-t|0)>(n|0)))&&E(27795,26892,354,26903),((t|0)>-1?(t|-2147483648)>=(n|0):(t^-2147483648)<(n|0))&&E(27795,26892,354,26903)),t=a-r|0,(r|0)<0?(n=0-r|0,i[u>>2]=t,i[l>>2]=n,i[e>>2]=0,r=0):(t=a,n=0),(t|0)<0&&(r=r-t|0,i[e>>2]=r,n=n-t|0,i[l>>2]=n,i[u>>2]=0,t=0),o=r-n|0,a=t-n|0,(n|0)<0?(i[e>>2]=o,i[u>>2]=a,i[l>>2]=0,t=a,a=o,n=0):a=r,r=(t|0)<(a|0)?t:a,r=(n|0)<(r|0)?n:r,(r|0)<=0?(u=0,u|0):(i[e>>2]=a-r,i[u>>2]=t-r,i[l>>2]=n-r,u=0,u|0)}function Ue(e){e|=0;var t=0,n=0,r=0,a=0,o=0,s=0,c=0,l=0;if(s=e+8|0,a=i[s>>2]|0,o=(i[e>>2]|0)-a|0,c=e+4|0,a=(i[c>>2]|0)-a|0,o>>>0>715827881|a>>>0>715827881){if(n=(o|0)>0,(n?(2147483647-o|0)<(o|0):(-2147483648-o|0)>(o|0))||(t=o<<1,r=(a|0)>0,r?(2147483647-a|0)<(a|0):(-2147483648-a|0)>(a|0)))return c=1,c|0;if(l=a<<1,(r?(2147483647-l|0)<(a|0):(-2147483648-l|0)>(a|0))||(n?(2147483647-t|0)<(a|0):(-2147483648-t|0)>(a|0))||(n=a*3|0,(a|0)>-1?(n|-2147483648)>=(o|0):(n^-2147483648)<(o|0)))return l=1,l|0}else n=a*3|0,t=o<<1;return r=Sr((t+a|0)*.14285714285714285)|0,i[e>>2]=r,a=Sr((n-o|0)*.14285714285714285)|0,i[c>>2]=a,i[s>>2]=0,n=(a|0)<(r|0),t=n?r:a,n=n?a:r,(n|0)<0&&(((n|0)==-2147483648||((t|0)>0?(2147483647-t|0)<(n|0):(-2147483648-t|0)>(n|0)))&&E(27795,26892,402,26917),((t|0)>-1?(t|-2147483648)>=(n|0):(t^-2147483648)<(n|0))&&E(27795,26892,402,26917)),t=a-r|0,(r|0)<0?(n=0-r|0,i[c>>2]=t,i[s>>2]=n,i[e>>2]=0,r=0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=e+8|0,n=i[c>>2]|0,a=r+t|0,i[e>>2]=a,r=n+r|0,i[s>>2]=r,t=n+t|0,i[c>>2]=t,n=r-a|0,(a|0)<0?(t=t-a|0,i[s>>2]=n,i[c>>2]=t,i[e>>2]=0,r=0):(n=r,r=a),(n|0)<0&&(r=r-n|0,i[e>>2]=r,t=t-n|0,i[c>>2]=t,i[s>>2]=0,n=0),o=r-t|0,a=n-t|0,(t|0)<0?(i[e>>2]=o,i[s>>2]=a,i[c>>2]=0,r=o,t=0):a=n,n=(a|0)<(r|0)?a:r,n=(t|0)<(n|0)?t:n,(n|0)<=0||(i[e>>2]=r-n,i[s>>2]=a-n,i[c>>2]=t-n)}function Xe(e){switch(e|=0,e|0){case 1:e=5;break;case 5:e=4;break;case 4:e=6;break;case 6:e=2;break;case 2:e=3;break;case 3:e=1}return e|0}function Ze(e){switch(e|=0,e|0){case 1:e=3;break;case 3:e=2;break;case 2:e=6;break;case 6:e=4;break;case 4:e=5;break;case 5:e=1}return e|0}function Qe(e){e|=0;var t=0,n=0,r=0,a=0,o=0,s=0,c=0;t=i[e>>2]|0,s=e+4|0,n=i[s>>2]|0,c=e+8|0,r=i[c>>2]|0,a=n+(t<<1)|0,i[e>>2]=a,n=r+(n<<1)|0,i[s>>2]=n,t=(r<<1)+t|0,i[c>>2]=t,r=n-a|0,(a|0)<0?(t=t-a|0,i[s>>2]=r,i[c>>2]=t,i[e>>2]=0,n=r,r=0):r=a,(n|0)<0&&(r=r-n|0,i[e>>2]=r,t=t-n|0,i[c>>2]=t,i[s>>2]=0,n=0),o=r-t|0,a=n-t|0,(t|0)<0?(i[e>>2]=o,i[s>>2]=a,i[c>>2]=0,r=o,t=0):a=n,n=(a|0)<(r|0)?a:r,n=(t|0)<(n|0)?t:n,(n|0)<=0||(i[e>>2]=r-n,i[s>>2]=a-n,i[c>>2]=t-n)}function $e(e){e|=0;var t=0,n=0,r=0,a=0,o=0,s=0,c=0;a=i[e>>2]|0,s=e+4|0,t=i[s>>2]|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0&(t&2013265920)==134217728&(!0&(r&2013265920)==134217728)))return a=5,M=f,a|0;if((e|0)==(n|0)&(t|0)==(r|0))return i[a>>2]=0,a=0,M=f,a|0;if(s=Q(e|0,t|0,52)|0,T()|0,s&=15,u=Q(n|0,r|0,52)|0,T()|0,(s|0)!=(u&15))return a=12,M=f,a|0;if(o=s+-1|0,s>>>0>1){Ot(e,t,o,d)|0,Ot(n,r,o,c)|0,u=d,l=i[u>>2]|0,u=i[u+4>>2]|0;a:do if((l|0)==(i[c>>2]|0)&&(u|0)==(i[c+4>>2]|0)){s=(s^15)*3|0,o=Q(e|0,t|0,s|0)|0,T()|0,o&=7,s=Q(n|0,r|0,s|0)|0,T()|0,s&=7;do if(!(o|0)|!(s|0))i[a>>2]=1,o=0;else if((o|0)==7)o=5;else{if((o|0)==1|(s|0)==1&&K(l,u)|0){o=5;break}if((i[15536+(o<<2)>>2]|0)!=(s|0)&&(i[15568+(o<<2)>>2]|0)!=(s|0))break a;i[a>>2]=1,o=0}while(0);return a=o,M=f,a|0}while(0)}o=d,s=o+56|0;do i[o>>2]=0,o=o+4|0;while((o|0)<(s|0));return z(e,t,1,d)|0,t=d,((i[t>>2]|0)!=(n|0)||(i[t+4>>2]|0)!=(r|0))&&(t=d+8|0,(i[t>>2]|0)!=(n|0)||(i[t+4>>2]|0)!=(r|0))&&(t=d+16|0,(i[t>>2]|0)!=(n|0)||(i[t+4>>2]|0)!=(r|0))&&(t=d+24|0,(i[t>>2]|0)!=(n|0)||(i[t+4>>2]|0)!=(r|0))&&(t=d+32|0,(i[t>>2]|0)!=(n|0)||(i[t+4>>2]|0)!=(r|0))&&(t=d+40|0,(i[t>>2]|0)!=(n|0)||(i[t+4>>2]|0)!=(r|0))?(o=d+48|0,o=((i[o>>2]|0)==(n|0)?(i[o+4>>2]|0)==(r|0):0)&1):o=1,i[a>>2]=o,a=0,M=f,a|0}function ot(e,t,n,r,a){return e|=0,t|=0,n|=0,r|=0,a|=0,n=se(e,t,n,r)|0,(n|0)==7?(a=11,a|0):(r=$(n|0,0,56)|0,t=t&-2130706433|T()|268435456,i[a>>2]=e|r,i[a+4>>2]=t,a=0,a|0)}function st(e,t,n){return e|=0,t|=0,n|=0,!0&(t&2013265920)==268435456?(i[n>>2]=e,i[n+4>>2]=t&-2130706433|134217728,n=0,n|0):(n=6,n|0)}function ct(e,t,n){e|=0,t|=0,n|=0;var r=0,a=0,o=0;return a=M,M=M+16|0,r=a,i[r>>2]=0,!0&(t&2013265920)==268435456?(o=Q(e|0,t|0,56)|0,T()|0,r=re(e,t&-2130706433|134217728,o&7,r,n)|0,M=a,r|0):(r=6,M=a,r|0)}function lt(e,t){e|=0,t|=0;var n=0;switch(n=Q(e|0,t|0,56)|0,T()|0,n&7){case 0:case 7:return n=0,n|0}return n=t&-2130706433|134217728,!(!0&(t&2013265920)==268435456)||!0&(t&117440512)==16777216&!!(K(e,n)|0)?(n=0,n|0):(n=Tt(e,n)|0,n|0)}function ut(e,t,n){e|=0,t|=0,n|=0;var r=0,a=0,o=0,s=0;return a=M,M=M+16|0,r=a,!0&(t&2013265920)==268435456?(o=t&-2130706433|134217728,s=n,i[s>>2]=e,i[s+4>>2]=o,i[r>>2]=0,t=Q(e|0,t|0,56)|0,T()|0,r=re(e,o,t&7,r,n+8|0)|0,M=a,r|0):(r=6,M=a,r|0)}function dt(e,t,n){e|=0,t|=0,n|=0;var r=0,a=0;return a=!(K(e,t)|0),t&=-2130706433,r=n,i[r>>2]=a?e:0,i[r+4>>2]=a?t|285212672:0,r=n+8|0,i[r>>2]=e,i[r+4>>2]=t|301989888,r=n+16|0,i[r>>2]=e,i[r+4>>2]=t|318767104,r=n+24|0,i[r>>2]=e,i[r+4>>2]=t|335544320,r=n+32|0,i[r>>2]=e,i[r+4>>2]=t|352321536,n=n+40|0,i[n>>2]=e,i[n+4>>2]=t|369098752,0}function ft(e,t,n){e|=0,t|=0,n|=0;var r=0,a=0,o=0,s=0;return s=M,M=M+16|0,a=s,o=t&-2130706433|134217728,!0&(t&2013265920)==268435456?(r=Q(e|0,t|0,56)|0,T()|0,r=cr(e,o,r&7)|0,(r|0)==-1?(i[n>>2]=0,o=6,M=s,o|0):(J(e,o,a)|0&&E(27795,26932,282,26947),t=Q(e|0,t|0,52)|0,T()|0,t&=15,K(e,o)|0?vt(a,t,r,2,n):bt(a,t,r,2,n),o=0,M=s,o|0)):(o=6,M=s,o|0)}function pt(e,t,n){e|=0,t|=0,n|=0;var r=0,i=0;r=M,M=M+16|0,i=r,mt(e,t,n,i),Ie(i,n+4|0),M=r}function mt(e,t,n,r){e|=0,t|=0,n|=0,r|=0;var o=0,s=0,c=0,l=0,u=0;if(l=M,M=M+16|0,u=l,ht(e,n,u),s=+h(+(1-a[u>>3]*.5)),s<1e-16)i[r>>2]=0,i[r+4>>2]=0,i[r+8>>2]=0,i[r+12>>2]=0,M=l;else{if(u=i[n>>2]|0,o=+a[15920+(u*24|0)>>3],o=+nn(o-+nn(+cn(15600+(u<<4)|0,e))),c=Ut(t)|0?+nn(o+-.3334731722518321):o,o=m(+s)*2.618033988749896,(t|0)>0){e=0;do o*=2.6457513110645907,e=e+1|0;while((e|0)!=(t|0))}s=+f(+c)*o,a[r>>3]=s,c=+p(+c)*o,a[r+8>>3]=c,M=l}}function ht(e,t,n){e|=0,t|=0,n|=0;var r=0,o=0,s=0;s=M,M=M+32|0,o=s,sr(e,o),i[t>>2]=0,a[n>>3]=5,r=+or(16400,o),r<+a[n>>3]&&(i[t>>2]=0,a[n>>3]=r),r=+or(16424,o),r<+a[n>>3]&&(i[t>>2]=1,a[n>>3]=r),r=+or(16448,o),r<+a[n>>3]&&(i[t>>2]=2,a[n>>3]=r),r=+or(16472,o),r<+a[n>>3]&&(i[t>>2]=3,a[n>>3]=r),r=+or(16496,o),r<+a[n>>3]&&(i[t>>2]=4,a[n>>3]=r),r=+or(16520,o),r<+a[n>>3]&&(i[t>>2]=5,a[n>>3]=r),r=+or(16544,o),r<+a[n>>3]&&(i[t>>2]=6,a[n>>3]=r),r=+or(16568,o),r<+a[n>>3]&&(i[t>>2]=7,a[n>>3]=r),r=+or(16592,o),r<+a[n>>3]&&(i[t>>2]=8,a[n>>3]=r),r=+or(16616,o),r<+a[n>>3]&&(i[t>>2]=9,a[n>>3]=r),r=+or(16640,o),r<+a[n>>3]&&(i[t>>2]=10,a[n>>3]=r),r=+or(16664,o),r<+a[n>>3]&&(i[t>>2]=11,a[n>>3]=r),r=+or(16688,o),r<+a[n>>3]&&(i[t>>2]=12,a[n>>3]=r),r=+or(16712,o),r<+a[n>>3]&&(i[t>>2]=13,a[n>>3]=r),r=+or(16736,o),r<+a[n>>3]&&(i[t>>2]=14,a[n>>3]=r),r=+or(16760,o),r<+a[n>>3]&&(i[t>>2]=15,a[n>>3]=r),r=+or(16784,o),r<+a[n>>3]&&(i[t>>2]=16,a[n>>3]=r),r=+or(16808,o),r<+a[n>>3]&&(i[t>>2]=17,a[n>>3]=r),r=+or(16832,o),r<+a[n>>3]&&(i[t>>2]=18,a[n>>3]=r),r=+or(16856,o),r<+a[n>>3]&&(i[t>>2]=19,a[n>>3]=r),M=s}function gt(e,t,n,r,o){e|=0,t|=0,n|=0,r|=0,o|=0;var s=0,c=0,l=0;if(s=+rr(e),s<1e-16)t=15600+(t<<4)|0,i[o>>2]=i[t>>2],i[o+4>>2]=i[t+4>>2],i[o+8>>2]=i[t+8>>2],i[o+12>>2]=i[t+12>>2];else{if(c=+v(+ +a[e+8>>3],+ +a[e>>3]),(n|0)>0){e=0;do s*=.37796447300922725,e=e+1|0;while((e|0)!=(n|0))}l=s*.3333333333333333,r?(n=!(Ut(n)|0),s=+_(+((n?l:l*.37796447300922725)*.381966011250105))):(s=+_(+(s*.381966011250105)),Ut(n)|0&&(c=+nn(c+.3334731722518321))),ln(15600+(t<<4)|0,+nn(+a[15920+(t*24|0)>>3]-c),s,o)}}function _t(e,t,n){e|=0,t|=0,n|=0;var r=0,a=0;r=M,M=M+16|0,a=r,Re(e+4|0,a),gt(a,i[e>>2]|0,t,0,n),M=r}function vt(e,t,n,r,o){e|=0,t|=0,n|=0,r|=0,o|=0;var s=0,c=0,l=0,u=0,d=0,f=0,p=0,m=0,h=0,g=0,_=0,v=0,y=0,b=0,x=0,S=0,C=0,w=0,T=0,D=0,O=0,k=0,A=0,j=0,N=0,P=0,F=0,I=0;if(P=M,M=M+272|0,s=P+256|0,b=P+240|0,A=P,j=P+224|0,N=P+208|0,x=P+176|0,S=P+160|0,C=P+192|0,w=P+144|0,T=P+128|0,D=P+112|0,O=P+96|0,k=P+80|0,i[s>>2]=t,i[b>>2]=i[e>>2],i[b+4>>2]=i[e+4>>2],i[b+8>>2]=i[e+8>>2],i[b+12>>2]=i[e+12>>2],U(b,s,A),i[o>>2]=0,b=r+n+((r|0)==5&1)|0,(b|0)<=(n|0))M=P;else{u=i[s>>2]|0,d=j+4|0,f=x+4|0,p=n+5|0,m=16880+(u<<2)|0,h=16960+(u<<2)|0,g=T+8|0,_=D+8|0,v=O+8|0,y=N+4|0,l=n;a:for(;;){c=A+(((l|0)%5|0)<<4)|0,i[N>>2]=i[c>>2],i[N+4>>2]=i[c+4>>2],i[N+8>>2]=i[c+8>>2],i[N+12>>2]=i[c+12>>2];do;while((W(N,u,0,1)|0)==2);if((l|0)>(n|0)&!!(Ut(t)|0)){if(i[x>>2]=i[N>>2],i[x+4>>2]=i[N+4>>2],i[x+8>>2]=i[N+8>>2],i[x+12>>2]=i[N+12>>2],Re(d,S),r=i[x>>2]|0,s=i[17040+(r*80|0)+(i[j>>2]<<2)>>2]|0,i[x>>2]=i[18640+(r*80|0)+(s*20|0)>>2],c=i[18640+(r*80|0)+(s*20|0)+16>>2]|0,(c|0)>0){e=0;do Je(f),e=e+1|0;while((e|0)<(c|0))}switch(c=18640+(r*80|0)+(s*20|0)+4|0,i[C>>2]=i[c>>2],i[C+4>>2]=i[c+4>>2],i[C+8>>2]=i[c+8>>2],Be(C,(i[m>>2]|0)*3|0),V(f,C,f),Le(f),Re(f,w),F=+(i[h>>2]|0),a[T>>3]=F*3,a[g>>3]=0,I=F*-1.5,a[D>>3]=I,a[_>>3]=F*2.598076211353316,a[O>>3]=I,a[v>>3]=F*-2.598076211353316,i[17040+((i[x>>2]|0)*80|0)+(i[N>>2]<<2)>>2]|0){case 1:e=D,r=T;break;case 3:e=O,r=D;break;case 2:e=T,r=O;break;default:e=12;break a}ir(S,w,r,e,k),gt(k,i[x>>2]|0,u,1,o+8+(i[o>>2]<<4)|0),i[o>>2]=(i[o>>2]|0)+1}if((l|0)<(p|0)&&(Re(y,x),gt(x,i[N>>2]|0,u,1,o+8+(i[o>>2]<<4)|0),i[o>>2]=(i[o>>2]|0)+1),i[j>>2]=i[N>>2],i[j+4>>2]=i[N+4>>2],i[j+8>>2]=i[N+8>>2],i[j+12>>2]=i[N+12>>2],l=l+1|0,(l|0)>=(b|0)){e=3;break}}(e|0)==3?M=P:(e|0)==12&&E(26970,27017,572,27027)}}function U(e,t,n){e|=0,t|=0,n|=0;var r=0,a=0,o=0,s=0,c=0,l=0;l=M,M=M+128|0,r=l+64|0,a=l,o=r,s=20240,c=o+60|0;do i[o>>2]=i[s>>2],o=o+4|0,s=s+4|0;while((o|0)<(c|0));o=a,s=20304,c=o+60|0;do i[o>>2]=i[s>>2],o=o+4|0,s=s+4|0;while((o|0)<(c|0));c=!(Ut(i[t>>2]|0)|0),r=c?r:a,a=e+4|0,Qe(a),$e(a),Ut(i[t>>2]|0)|0&&(qe(a),i[t>>2]=(i[t>>2]|0)+1),i[n>>2]=i[e>>2],t=n+4|0,V(a,r,t),Le(t),i[n+16>>2]=i[e>>2],t=n+20|0,V(a,r+12|0,t),Le(t),i[n+32>>2]=i[e>>2],t=n+36|0,V(a,r+24|0,t),Le(t),i[n+48>>2]=i[e>>2],t=n+52|0,V(a,r+36|0,t),Le(t),i[n+64>>2]=i[e>>2],n=n+68|0,V(a,r+48|0,n),Le(n),M=l}function W(e,t,n,r){e|=0,t|=0,n|=0,r|=0;var a=0,o=0,s=0,c=0,l=0,u=0,d=0,f=0,p=0,m=0,h=0;if(h=M,M=M+32|0,p=h+12|0,c=h,m=e+4|0,f=i[16960+(t<<2)>>2]|0,d=!!(r|0),f=d?f*3|0:f,a=i[m>>2]|0,u=e+8|0,s=i[u>>2]|0,d){if(o=e+12|0,r=i[o>>2]|0,a=s+a+r|0,(a|0)==(f|0))return m=1,M=h,m|0;l=o}else l=e+12|0,r=i[l>>2]|0,a=s+a+r|0;if((a|0)<=(f|0))return m=0,M=h,m|0;do if((r|0)>0){if(r=i[e>>2]|0,(s|0)>0){o=18640+(r*80|0)+60|0,r=e;break}r=18640+(r*80|0)+40|0,n?(Fe(p,f,0,0),ze(m,p,c),Ye(c),V(c,p,m),o=r,r=e):(o=r,r=e)}else o=18640+((i[e>>2]|0)*80|0)+20|0,r=e;while(0);if(i[r>>2]=i[o>>2],a=o+16|0,(i[a>>2]|0)>0){r=0;do Je(m),r=r+1|0;while((r|0)<(i[a>>2]|0))}return e=o+4|0,i[p>>2]=i[e>>2],i[p+4>>2]=i[e+4>>2],i[p+8>>2]=i[e+8>>2],t=i[16880+(t<<2)>>2]|0,Be(p,d?t*3|0:t),V(m,p,m),Le(m),r=d&&((i[u>>2]|0)+(i[m>>2]|0)+(i[l>>2]|0)|0)==(f|0)?1:2,m=r,M=h,m|0}function yt(e,t){e|=0,t|=0;var n=0;do n=W(e,t,0,1)|0;while((n|0)==2);return n|0}function bt(e,t,n,r,o){e|=0,t|=0,n|=0,r|=0,o|=0;var s=0,c=0,l=0,u=0,d=0,f=0,p=0,m=0,h=0,g=0,_=0,v=0,y=0,b=0,x=0,S=0,C=0,w=0,T=0,D=0,O=0,k=0,A=0;if(O=M,M=M+240|0,s=O+224|0,C=O+208|0,w=O,T=O+192|0,D=O+176|0,v=O+160|0,y=O+144|0,b=O+128|0,x=O+112|0,S=O+96|0,i[s>>2]=t,i[C>>2]=i[e>>2],i[C+4>>2]=i[e+4>>2],i[C+8>>2]=i[e+8>>2],i[C+12>>2]=i[e+12>>2],xt(C,s,w),i[o>>2]=0,_=r+n+((r|0)==6&1)|0,(_|0)<=(n|0))M=O;else{u=i[s>>2]|0,d=n+6|0,f=16960+(u<<2)|0,p=y+8|0,m=b+8|0,h=x+8|0,g=T+4|0,c=0,l=n,r=-1;a:for(;;){if(s=(l|0)%6|0,e=w+(s<<4)|0,i[T>>2]=i[e>>2],i[T+4>>2]=i[e+4>>2],i[T+8>>2]=i[e+8>>2],i[T+12>>2]=i[e+12>>2],e=c,c=W(T,u,0,1)|0,(l|0)>(n|0)&!!(Ut(t)|0)&&(e|0)!=1&&(i[T>>2]|0)!=(r|0)){switch(Re(w+(((s+5|0)%6|0)<<4)+4|0,D),Re(w+(s<<4)+4|0,v),k=+(i[f>>2]|0),a[y>>3]=k*3,a[p>>3]=0,A=k*-1.5,a[b>>3]=A,a[m>>3]=k*2.598076211353316,a[x>>3]=A,a[h>>3]=k*-2.598076211353316,s=i[C>>2]|0,i[17040+(s*80|0)+(((r|0)==(s|0)?i[T>>2]|0:r)<<2)>>2]|0){case 1:e=b,r=y;break;case 3:e=x,r=b;break;case 2:e=y,r=x;break;default:e=8;break a}ir(D,v,r,e,S),!(ar(D,S)|0)&&!(ar(v,S)|0)&&(gt(S,i[C>>2]|0,u,1,o+8+(i[o>>2]<<4)|0),i[o>>2]=(i[o>>2]|0)+1)}if((l|0)<(d|0)&&(Re(g,D),gt(D,i[T>>2]|0,u,1,o+8+(i[o>>2]<<4)|0),i[o>>2]=(i[o>>2]|0)+1),l=l+1|0,(l|0)>=(_|0)){e=3;break}r=i[T>>2]|0}(e|0)==3?M=O:(e|0)==8&&E(27054,27017,737,27099)}}function xt(e,t,n){e|=0,t|=0,n|=0;var r=0,a=0,o=0,s=0,c=0,l=0;l=M,M=M+160|0,r=l+80|0,a=l,o=r,s=20368,c=o+72|0;do i[o>>2]=i[s>>2],o=o+4|0,s=s+4|0;while((o|0)<(c|0));o=a,s=20448,c=o+72|0;do i[o>>2]=i[s>>2],o=o+4|0,s=s+4|0;while((o|0)<(c|0));c=!(Ut(i[t>>2]|0)|0),r=c?r:a,a=e+4|0,Qe(a),$e(a),Ut(i[t>>2]|0)|0&&(qe(a),i[t>>2]=(i[t>>2]|0)+1),i[n>>2]=i[e>>2],t=n+4|0,V(a,r,t),Le(t),i[n+16>>2]=i[e>>2],t=n+20|0,V(a,r+12|0,t),Le(t),i[n+32>>2]=i[e>>2],t=n+36|0,V(a,r+24|0,t),Le(t),i[n+48>>2]=i[e>>2],t=n+52|0,V(a,r+36|0,t),Le(t),i[n+64>>2]=i[e>>2],t=n+68|0,V(a,r+48|0,t),Le(t),i[n+80>>2]=i[e>>2],n=n+84|0,V(a,r+60|0,n),Le(n),M=l}function St(e,t){return e|=0,t|=0,t=Q(e|0,t|0,52)|0,T()|0,t&15}function G(e,t){return e|=0,t|=0,t=Q(e|0,t|0,45)|0,T()|0,t&127}function Ct(e,t,n,r){return e|=0,t|=0,n|=0,r|=0,(n+-1|0)>>>0>14?(r=4,r|0):(n=Q(e|0,t|0,(15-n|0)*3|0)|0,T()|0,i[r>>2]=n&7,r=0,r|0)}function wt(e,t,n,a){e|=0,t|=0,n|=0,a|=0;var o=0,s=0,c=0,l=0,u=0,d=0;if(e>>>0>15)return a=4,a|0;if(t>>>0>121)return a=17,a|0;c=$(e|0,0,52)|0,o=T()|0,l=$(t|0,0,45)|0,o=o|T()|134225919;a:do if((e|0)>=1){for(l=1,c=!!(r[20528+t|0]|0),s=-1;;){if(t=i[n+(l+-1<<2)>>2]|0,t>>>0>6){o=18,t=10;break}if(!(!(t|0)|c^1)){if((t|0)==1){o=19,t=10;break}c=0}if(d=(15-l|0)*3|0,u=$(7,0,d|0)|0,o&=~(T()|0),t=$(t|0,((t|0)<0)<<31>>31,d|0)|0,s=t|s&~u,o=T()|0|o,(l|0)<(e|0))l=l+1|0;else break a}if((t|0)==10)return o|0}else s=-1;while(0);return d=a,i[d>>2]=s,i[d+4>>2]=o,d=0,d|0}function Tt(e,t){e|=0,t|=0;var n=0,i=0,a=0,o=0,s=0;return!(!0&(t&-16777216)==134217728)||(i=Q(e|0,t|0,52)|0,T()|0,i&=15,n=Q(e|0,t|0,45)|0,T()|0,n&=127,n>>>0>121)?(e=0,e|0):(s=(i^15)*3|0,a=Q(e|0,t|0,s|0)|0,s=$(a|0,T()|0,s|0)|0,a=T()|0,o=Tr(-1227133514,-1171,s|0,a|0)|0,!(!(s&613566756&o)&!(a&4681&(T()|0)))||(s=(i*3|0)+19|0,o=$(~e|0,~t|0,s|0)|0,s=Q(o|0,T()|0,s|0)|0,!((i|0)==15|!(s|0)&!(T()|0)))?(s=0,s|0):!(r[20528+n|0]|0)||(t&=8191,!(e|0)&!(t|0))?(s=1,s|0):(s=Pr(e|0,t|0,0)|0,T()|0,!!((63-s|0)%3|0)|0))}function Et(e,t){e|=0,t|=0;var n=0,i=0,a=0,o=0,s=0;return!0&(t&-16777216)==134217728&&(i=Q(e|0,t|0,52)|0,T()|0,i&=15,n=Q(e|0,t|0,45)|0,T()|0,n&=127,n>>>0<=121)&&(s=(i^15)*3|0,a=Q(e|0,t|0,s|0)|0,s=$(a|0,T()|0,s|0)|0,a=T()|0,o=Tr(-1227133514,-1171,s|0,a|0)|0,!(s&613566756&o)&!(a&4681&(T()|0)))&&(s=(i*3|0)+19|0,o=$(~e|0,~t|0,s|0)|0,s=Q(o|0,T()|0,s|0)|0,(i|0)==15|!(s|0)&!(T()|0))&&(!(r[20528+n|0]|0)||(n=t&8191,!(e|0)&!(n|0))||(s=Pr(e|0,n|0,0)|0,T()|0,(63-s|0)%3|0))||lt(e,t)|0?(s=1,s|0):(s=!!(pr(e,t)|0)&1,s|0)}function Dt(e,t,n,r){e|=0,t|=0,n|=0,r|=0;var a=0,o=0,s=0,c=0;if(a=$(t|0,0,52)|0,o=T()|0,n=$(n|0,0,45)|0,n=o|T()|134225919,(t|0)<1)o=-1,r=n,t=e,i[t>>2]=o,e=e+4|0,i[e>>2]=r;else{for(o=1,a=-1;s=(15-o|0)*3|0,c=$(7,0,s|0)|0,n&=~(T()|0),s=$(r|0,0,s|0)|0,a=a&~c|s,n=n|T()|0,(o|0)!=(t|0);)o=o+1|0;c=e,s=c,i[s>>2]=a,c=c+4|0,i[c>>2]=n}}function Ot(e,t,n,r){e|=0,t|=0,n|=0,r|=0;var a=0,o=0;if(o=Q(e|0,t|0,52)|0,T()|0,o&=15,n>>>0>15)return r=4,r|0;if((o|0)<(n|0))return r=12,r|0;if((o|0)==(n|0))return i[r>>2]=e,i[r+4>>2]=t,r=0,r|0;if(a=$(n|0,0,52)|0,a|=e,e=T()|0|t&-15728641,(o|0)>(n|0))do t=$(7,0,(14-n|0)*3|0)|0,n=n+1|0,a=t|a,e=T()|0|e;while((n|0)<(o|0));return i[r>>2]=a,i[r+4>>2]=e,r=0,r|0}function kt(e,t,n,r){e|=0,t|=0,n|=0,r|=0;var a=0,o=0,s=0;if(o=Q(e|0,t|0,52)|0,T()|0,o&=15,!((n|0)<16&(o|0)<=(n|0)))return r=4,r|0;a=n-o|0,n=Q(e|0,t|0,45)|0,T()|0;a:do if(!(pe(n&127)|0))n=Pn(7,0,a,((a|0)<0)<<31>>31)|0,a=T()|0;else{b:do if(o|0){for(n=1;s=$(7,0,(15-n|0)*3|0)|0,!(s&e|0)&!((T()|0)&t);)if(n>>>0<o>>>0)n=n+1|0;else break b;n=Pn(7,0,a,((a|0)<0)<<31>>31)|0,a=T()|0;break a}while(0);n=Pn(7,0,a,((a|0)<0)<<31>>31)|0,n=Ar(n|0,T()|0,5,0)|0,n=Z(n|0,T()|0,-5,-1)|0,n=Or(n|0,T()|0,6,0)|0,n=Z(n|0,T()|0,1,0)|0,a=T()|0}while(0);return s=r,i[s>>2]=n,i[s+4>>2]=a,s=0,s|0}function K(e,t){e|=0,t|=0;var n=0,r=0,i=0;if(i=Q(e|0,t|0,45)|0,T()|0,!(pe(i&127)|0))return i=0,i|0;i=Q(e|0,t|0,52)|0,T()|0,i&=15;a:do if(!i)n=0;else for(r=1;;){if(n=Q(e|0,t|0,(15-r|0)*3|0)|0,T()|0,n&=7,n|0)break a;if(r>>>0<i>>>0)r=r+1|0;else{n=0;break}}while(0);return i=!(n|0)&1,i|0}function At(e,t,n,r){e|=0,t|=0,n|=0,r|=0;var a=0,o=0,s=0,c=0;if(s=M,M=M+16|0,o=s,$t(o,e,t,n),t=o,e=i[t>>2]|0,t=i[t+4>>2]|0,!(e|0)&!(t|0))return M=s,0;a=0,n=0;do c=r+(a<<3)|0,i[c>>2]=e,i[c+4>>2]=t,a=Z(a|0,n|0,1,0)|0,n=T()|0,tn(o),c=o,e=i[c>>2]|0,t=i[c+4>>2]|0;while(!(!(e|0)&!(t|0)));return M=s,0}function jt(e,t,n,r){return e|=0,t|=0,n|=0,r|=0,(r|0)<(n|0)?(n=t,r=e,w(n|0),r|0):(n=$(-1,-1,((r-n|0)*3|0)+3|0)|0,r=$(~n|0,~(T()|0)|0,(15-r|0)*3|0)|0,n=~(T()|0)&t,r=~r&e,w(n|0),r|0)}function Mt(e,t,n,r){e|=0,t|=0,n|=0,r|=0;var a=0;return a=Q(e|0,t|0,52)|0,T()|0,a&=15,(n|0)<16&(a|0)<=(n|0)?((a|0)<(n|0)&&(a=$(-1,-1,((n+-1-a|0)*3|0)+3|0)|0,a=$(~a|0,~(T()|0)|0,(15-n|0)*3|0)|0,t=~(T()|0)&t,e=~a&e),a=$(n|0,0,52)|0,n=t&-15728641|T(),i[r>>2]=e|a,i[r+4>>2]=n,r=0,r|0):(r=4,r|0)}function Nt(e,t,n,r){e|=0,t|=0,n|=0,r|=0;var a=0,o=0,s=0,c=0,l=0,u=0,d=0,f=0,p=0,m=0,h=0,g=0,_=0,v=0,y=0,b=0,x=0,S=0,C=0,w=0,D=0,O=0,k=0,A=0,j=0,M=0;if(!(n|0)&!(r|0))return M=0,M|0;if(a=e,o=i[a>>2]|0,a=i[a+4>>2]|0,!0&!(a&15728640)){if(!((r|0)>0|!(r|0)&n>>>0>0)||(M=t,i[M>>2]=o,i[M+4>>2]=a,(n|0)==1&!(r|0)))return M=0,M|0;a=1,o=0;do A=e+(a<<3)|0,j=i[A+4>>2]|0,M=t+(a<<3)|0,i[M>>2]=i[A>>2],i[M+4>>2]=j,a=Z(a|0,o|0,1,0)|0,o=T()|0;while((o|0)<(r|0)|(o|0)==(r|0)&a>>>0<n>>>0);return a=0,a|0}if(k=n<<3,j=Cr(k)|0,!j)return M=13,M|0;if(Rr(j|0,e|0,k|0)|0,A=wr(n,8)|0,!A)return X(j),M=13,M|0;a:for(;;){a=j,u=i[a>>2]|0,a=i[a+4>>2]|0,D=Q(u|0,a|0,52)|0,T()|0,D&=15,O=D+-1|0,w=!!(D|0),C=(r|0)>0|!(r|0)&n>>>0>0;b:do if(w&C){if(y=$(O|0,0,52)|0,b=T()|0,O>>>0>15){if(!(!(u|0)&!(a|0))){M=16;break a}for(o=0,e=0;;){if(o=Z(o|0,e|0,1,0)|0,e=T()|0,!((e|0)<(r|0)|(e|0)==(r|0)&o>>>0<n>>>0))break b;if(s=j+(o<<3)|0,S=i[s>>2]|0,s=i[s+4>>2]|0,!(!(S|0)&!(s|0))){a=s,M=16;break a}}}for(c=u,e=a,o=0,s=0;;){if(!(!(c|0)&!(e|0))){if(!(!0&!(e&117440512))){M=21;break a}if(d=Q(c|0,e|0,52)|0,T()|0,d&=15,(d|0)<(O|0)){a=12,M=27;break a}if((d|0)!=(O|0)&&(c|=y,e=e&-15728641|b,d>>>0>=D>>>0)){l=O;do S=$(7,0,(14-l|0)*3|0)|0,l=l+1|0,c=S|c,e=T()|0|e;while(l>>>0<d>>>0)}if(p=Mr(c|0,e|0,n|0,r|0)|0,m=T()|0,l=A+(p<<3)|0,d=l,f=i[d>>2]|0,d=i[d+4>>2]|0,!(!(f|0)&!(d|0))){_=0,v=0;do{if((_|0)>(r|0)|(_|0)==(r|0)&v>>>0>n>>>0){M=31;break a}if((f|0)==(c|0)&(d&-117440513)==(e|0)){h=Q(f|0,d|0,56)|0,T()|0,h&=7,g=h+1|0,S=Q(f|0,d|0,45)|0,T()|0;c:do if(!(pe(S&127)|0))d=7;else{if(f=Q(f|0,d|0,52)|0,T()|0,f&=15,!f){d=6;break}for(d=1;;){if(S=$(7,0,(15-d|0)*3|0)|0,!(!(S&c|0)&!((T()|0)&e))){d=7;break c}if(d>>>0<f>>>0)d=d+1|0;else{d=6;break}}}while(0);if((h+2|0)>>>0>d>>>0){M=41;break a}S=$(g|0,0,56)|0,e=T()|0|e&-117440513,x=l,i[x>>2]=0,i[x+4>>2]=0,c=S|c}else p=Z(p|0,m|0,1,0)|0,p=jr(p|0,T()|0,n|0,r|0)|0,m=T()|0;v=Z(v|0,_|0,1,0)|0,_=T()|0,l=A+(p<<3)|0,d=l,f=i[d>>2]|0,d=i[d+4>>2]|0}while(!(!(f|0)&!(d|0)))}S=l,i[S>>2]=c,i[S+4>>2]=e}if(o=Z(o|0,s|0,1,0)|0,s=T()|0,!((s|0)<(r|0)|(s|0)==(r|0)&o>>>0<n>>>0))break b;e=j+(o<<3)|0,c=i[e>>2]|0,e=i[e+4>>2]|0}}while(0);if(S=Z(n|0,r|0,5,0)|0,x=T()|0,x>>>0<0|!(x|0)&S>>>0<11){M=85;break}if(S=Or(n|0,r|0,6,0)|0,T()|0,S=wr(S,8)|0,!S){M=48;break}do if(C){for(g=0,e=0,h=0,_=0;;){if(d=A+(g<<3)|0,s=d,o=i[s>>2]|0,s=i[s+4>>2]|0,!(o|0)&!(s|0))x=h;else{f=Q(o|0,s|0,56)|0,T()|0,f&=7,c=f+1|0,p=s&-117440513,x=Q(o|0,s|0,45)|0,T()|0;d:do if(pe(x&127)|0){if(m=Q(o|0,s|0,52)|0,T()|0,m&=15,m|0)for(l=1;;){if(x=$(7,0,(15-l|0)*3|0)|0,!(!(o&x|0)&!(p&(T()|0))))break d;if(l>>>0<m>>>0)l=l+1|0;else break}s=$(c|0,0,56)|0,o=s|o,s=T()|0|p,c=d,i[c>>2]=o,i[c+4>>2]=s,c=f+2|0}while(0);(c|0)==7?(x=S+(e<<3)|0,i[x>>2]=o,i[x+4>>2]=s&-117440513,e=Z(e|0,h|0,1,0)|0,x=T()|0):x=h}if(g=Z(g|0,_|0,1,0)|0,_=T()|0,(_|0)<(r|0)|(_|0)==(r|0)&g>>>0<n>>>0)h=x;else break}if(C){if(v=O>>>0>15,y=$(O|0,0,52)|0,b=T()|0,!w){for(o=0,l=0,c=0,s=0;!(u|0)&!(a|0)||(O=t+(o<<3)|0,i[O>>2]=u,i[O+4>>2]=a,o=Z(o|0,l|0,1,0)|0,l=T()|0),c=Z(c|0,s|0,1,0)|0,s=T()|0,(s|0)<(r|0)|(s|0)==(r|0)&c>>>0<n>>>0;)a=j+(c<<3)|0,u=i[a>>2]|0,a=i[a+4>>2]|0;a=x;break}for(o=0,l=0,s=0,c=0;;){do if(!(!(u|0)&!(a|0))){if(m=Q(u|0,a|0,52)|0,T()|0,m&=15,v|(m|0)<(O|0)){M=80;break a}if((m|0)!=(O|0)){if(d=u|y,f=a&-15728641|b,m>>>0>=D>>>0){p=O;do w=$(7,0,(14-p|0)*3|0)|0,p=p+1|0,d=w|d,f=T()|0|f;while(p>>>0<m>>>0)}}else d=u,f=a;h=Mr(d|0,f|0,n|0,r|0)|0,p=0,m=0,_=T()|0;do{if((p|0)>(r|0)|(p|0)==(r|0)&m>>>0>n>>>0){M=81;break a}if(w=A+(h<<3)|0,g=i[w+4>>2]|0,(g&-117440513)==(f|0)&&(i[w>>2]|0)==(d|0)){M=65;break}w=Z(h|0,_|0,1,0)|0,h=jr(w|0,T()|0,n|0,r|0)|0,_=T()|0,m=Z(m|0,p|0,1,0)|0,p=T()|0,w=A+(h<<3)|0}while((i[w>>2]|0)!=(d|0)||(i[w+4>>2]|0)!=(f|0));if((M|0)==65&&(M=0,!0&(g&117440512)==100663296))break;w=t+(o<<3)|0,i[w>>2]=u,i[w+4>>2]=a,o=Z(o|0,l|0,1,0)|0,l=T()|0}while(0);if(s=Z(s|0,c|0,1,0)|0,c=T()|0,!((c|0)<(r|0)|(c|0)==(r|0)&s>>>0<n>>>0))break;a=j+(s<<3)|0,u=i[a>>2]|0,a=i[a+4>>2]|0}a=x}else o=0,a=x}else o=0,e=0,a=0;while(0);if(zr(A|0,0,k|0)|0,Rr(j|0,S|0,e<<3)|0,X(S),!(e|0)&!(a|0)){M=89;break}t=t+(o<<3)|0,r=a,n=e}if((M|0)==16)!0&!(a&117440512)?(a=4,M=27):M=21;else if((M|0)==31)E(27795,27122,620,27132);else if((M|0)==41)return X(j),X(A),M=10,M|0;else if((M|0)==48)return X(j),X(A),M=13,M|0;else(M|0)==80?E(27795,27122,711,27132):(M|0)==81?E(27795,27122,723,27132):(M|0)==85&&(Rr(t|0,j|0,n<<3)|0,M=89);return(M|0)==21?(X(j),X(A),M=5,M|0):(M|0)==27?(X(j),X(A),M=a,M|0):(M|0)==89?(X(j),X(A),M=0,M|0):0}function Pt(e,t,n,r,a,o,s){e|=0,t|=0,n|=0,r|=0,a|=0,o|=0,s|=0;var c=0,l=0,u=0,d=0,f=0,p=0,m=0,h=0,g=0;if(g=M,M=M+16|0,h=g,!((n|0)>0|!(n|0)&t>>>0>0))return h=0,M=g,h|0;if((s|0)>=16)return h=12,M=g,h|0;p=0,m=0,f=0,c=0;a:for(;;){if(u=e+(p<<3)|0,l=i[u>>2]|0,u=i[u+4>>2]|0,d=Q(l|0,u|0,52)|0,T()|0,(d&15)>(s|0)){c=12,l=11;break}if($t(h,l,u,s),d=h,u=i[d>>2]|0,d=i[d+4>>2]|0,!(u|0)&!(d|0))l=f;else{l=f;do{if(!((c|0)<(o|0)|(c|0)==(o|0)&l>>>0<a>>>0)){l=10;break a}f=r+(l<<3)|0,i[f>>2]=u,i[f+4>>2]=d,l=Z(l|0,c|0,1,0)|0,c=T()|0,tn(h),f=h,u=i[f>>2]|0,d=i[f+4>>2]|0}while(!(!(u|0)&!(d|0)))}if(p=Z(p|0,m|0,1,0)|0,m=T()|0,(m|0)<(n|0)|(m|0)==(n|0)&p>>>0<t>>>0)f=l;else{c=0,l=11;break}}return(l|0)==10?(h=14,M=g,h|0):(l|0)==11?(M=g,c|0):0}function Ft(e,t,n,r,a){e|=0,t|=0,n|=0,r|=0,a|=0;var o=0,s=0,c=0,l=0,u=0,d=0,f=0,p=0;p=M,M=M+16|0,f=p;a:do if((n|0)>0|!(n|0)&t>>>0>0){for(u=0,s=0,o=0,d=0;;){if(l=e+(u<<3)|0,c=i[l>>2]|0,l=i[l+4>>2]|0,!(!(c|0)&!(l|0))&&(l=!(kt(c,l,r,f)|0),c=f,s=Z(i[c>>2]|0,i[c+4>>2]|0,s|0,o|0)|0,o=T()|0,!l)){o=12;break}if(u=Z(u|0,d|0,1,0)|0,d=T()|0,!((d|0)<(n|0)|(d|0)==(n|0)&u>>>0<t>>>0))break a}return M=p,o|0}else s=0,o=0;while(0);return i[a>>2]=s,i[a+4>>2]=o,a=0,M=p,a|0}function It(e,t){return e|=0,t|=0,t=Q(e|0,t|0,52)|0,T()|0,t&1}function Lt(e,t){e|=0,t|=0;var n=0,r=0,i=0;if(i=Q(e|0,t|0,52)|0,T()|0,i&=15,!i)return i=0,i|0;for(r=1;;){if(n=Q(e|0,t|0,(15-r|0)*3|0)|0,T()|0,n&=7,n|0){r=5;break}if(r>>>0<i>>>0)r=r+1|0;else{n=0,r=5;break}}return(r|0)==5?n|0:0}function Rt(e,t){e|=0,t|=0;var n=0,r=0,i=0,a=0,o=0,s=0,c=0;if(c=Q(e|0,t|0,52)|0,T()|0,c&=15,!c)return s=t,c=e,w(s|0),c|0;for(s=1,n=0;;){a=(15-s|0)*3|0,r=$(7,0,a|0)|0,i=T()|0,o=Q(e|0,t|0,a|0)|0,T()|0,a=$(Xe(o&7)|0,0,a|0)|0,o=T()|0,e=a|e&~r,t=o|t&~i;a:do if(!n){if(!(a&r|0)&!(o&i|0))n=0;else if(r=Q(e|0,t|0,52)|0,T()|0,r&=15,!r)n=1;else{n=1;b:for(;;){switch(o=Q(e|0,t|0,(15-n|0)*3|0)|0,T()|0,o&7){case 1:break b;case 0:break;default:n=1;break a}if(n>>>0<r>>>0)n=n+1|0;else{n=1;break a}}for(n=1;;)if(o=(15-n|0)*3|0,i=Q(e|0,t|0,o|0)|0,T()|0,a=$(7,0,o|0)|0,t&=~(T()|0),o=$(Xe(i&7)|0,0,o|0)|0,e=e&~a|o,t=t|T()|0,n>>>0<r>>>0)n=n+1|0;else{n=1;break}}}while(0);if(s>>>0<c>>>0)s=s+1|0;else break}return w(t|0),e|0}function zt(e,t){e|=0,t|=0;var n=0,r=0,i=0,a=0,o=0;if(r=Q(e|0,t|0,52)|0,T()|0,r&=15,!r)return n=t,r=e,w(n|0),r|0;for(n=1;a=(15-n|0)*3|0,o=Q(e|0,t|0,a|0)|0,T()|0,i=$(7,0,a|0)|0,t&=~(T()|0),a=$(Xe(o&7)|0,0,a|0)|0,e=a|e&~i,t=T()|0|t,n>>>0<r>>>0;)n=n+1|0;return w(t|0),e|0}function Bt(e,t){e|=0,t|=0;var n=0,r=0,i=0,a=0,o=0,s=0,c=0;if(c=Q(e|0,t|0,52)|0,T()|0,c&=15,!c)return s=t,c=e,w(s|0),c|0;for(s=1,n=0;;){a=(15-s|0)*3|0,r=$(7,0,a|0)|0,i=T()|0,o=Q(e|0,t|0,a|0)|0,T()|0,a=$(Ze(o&7)|0,0,a|0)|0,o=T()|0,e=a|e&~r,t=o|t&~i;a:do if(!n){if(!(a&r|0)&!(o&i|0))n=0;else if(r=Q(e|0,t|0,52)|0,T()|0,r&=15,!r)n=1;else{n=1;b:for(;;){switch(o=Q(e|0,t|0,(15-n|0)*3|0)|0,T()|0,o&7){case 1:break b;case 0:break;default:n=1;break a}if(n>>>0<r>>>0)n=n+1|0;else{n=1;break a}}for(n=1;;)if(i=(15-n|0)*3|0,a=$(7,0,i|0)|0,o=t&~(T()|0),t=Q(e|0,t|0,i|0)|0,T()|0,t=$(Ze(t&7)|0,0,i|0)|0,e=e&~a|t,t=o|T()|0,n>>>0<r>>>0)n=n+1|0;else{n=1;break}}}while(0);if(s>>>0<c>>>0)s=s+1|0;else break}return w(t|0),e|0}function Vt(e,t){e|=0,t|=0;var n=0,r=0,i=0,a=0,o=0;if(r=Q(e|0,t|0,52)|0,T()|0,r&=15,!r)return n=t,r=e,w(n|0),r|0;for(n=1;o=(15-n|0)*3|0,a=$(7,0,o|0)|0,i=t&~(T()|0),t=Q(e|0,t|0,o|0)|0,T()|0,t=$(Ze(t&7)|0,0,o|0)|0,e=t|e&~a,t=T()|0|i,n>>>0<r>>>0;)n=n+1|0;return w(t|0),e|0}function Ht(e,t){e|=0,t|=0;var n=0,r=0,a=0,o=0,s=0,c=0,l=0,u=0,d=0;if(l=M,M=M+64|0,c=l+40|0,r=l+24|0,a=l+12|0,o=l,$(t|0,0,52)|0,n=T()|134225919,!t)return(i[e+4>>2]|0)>2||(i[e+8>>2]|0)>2||(i[e+12>>2]|0)>2?(s=0,c=0,w(s|0),M=l,c|0):($(he(e)|0,0,45)|0,s=T()|0|n,c=-1,w(s|0),M=l,c|0);if(i[c>>2]=i[e>>2],i[c+4>>2]=i[e+4>>2],i[c+8>>2]=i[e+8>>2],i[c+12>>2]=i[e+12>>2],s=c+4|0,(t|0)>0)for(e=-1;i[r>>2]=i[s>>2],i[r+4>>2]=i[s+4>>2],i[r+8>>2]=i[s+8>>2],t&1?(We(s),i[a>>2]=i[s>>2],i[a+4>>2]=i[s+4>>2],i[a+8>>2]=i[s+8>>2],Ke(a)):(Ge(s),i[a>>2]=i[s>>2],i[a+4>>2]=i[s+4>>2],i[a+8>>2]=i[s+8>>2],qe(a)),ze(r,a,o),Le(o),d=(15-t|0)*3|0,u=$(7,0,d|0)|0,n&=~(T()|0),d=$(Ve(o)|0,0,d|0)|0,e=d|e&~u,n=T()|0|n,(t|0)>1;)t=t+-1|0;else e=-1;a:do if((i[s>>2]|0)<=2&&(i[c+8>>2]|0)<=2&&(i[c+12>>2]|0)<=2){if(r=he(c)|0,t=$(r|0,0,45)|0,t|=e,e=T()|0|n&-1040385,o=ge(c)|0,!(pe(r)|0)){if((o|0)<=0)break;for(a=0;;){if(r=Q(t|0,e|0,52)|0,T()|0,r&=15,r)for(n=1;d=(15-n|0)*3|0,c=Q(t|0,e|0,d|0)|0,T()|0,u=$(7,0,d|0)|0,e&=~(T()|0),d=$(Xe(c&7)|0,0,d|0)|0,t=t&~u|d,e=e|T()|0,n>>>0<r>>>0;)n=n+1|0;if(a=a+1|0,(a|0)==(o|0))break a}}a=Q(t|0,e|0,52)|0,T()|0,a&=15;b:do if(a){n=1;c:for(;;){switch(d=Q(t|0,e|0,(15-n|0)*3|0)|0,T()|0,d&7){case 1:break c;case 0:break;default:break b}if(n>>>0<a>>>0)n=n+1|0;else break b}if(ye(r,i[c>>2]|0)|0)for(n=1;c=(15-n|0)*3|0,u=$(7,0,c|0)|0,d=e&~(T()|0),e=Q(t|0,e|0,c|0)|0,T()|0,e=$(Ze(e&7)|0,0,c|0)|0,t=t&~u|e,e=d|T()|0,n>>>0<a>>>0;)n=n+1|0;else for(n=1;d=(15-n|0)*3|0,c=Q(t|0,e|0,d|0)|0,T()|0,u=$(7,0,d|0)|0,e&=~(T()|0),d=$(Xe(c&7)|0,0,d|0)|0,t=t&~u|d,e=e|T()|0,n>>>0<a>>>0;)n=n+1|0}while(0);if((o|0)>0){n=0;do t=Rt(t,e)|0,e=T()|0,n=n+1|0;while((n|0)!=(o|0))}}else t=0,e=0;while(0);return u=e,d=t,w(u|0),M=l,d|0}function Ut(e){return e|=0,(e|0)%2|0}function q(e,t,n){e|=0,t|=0,n|=0;var r=0,a=0;return a=M,M=M+16|0,r=a,t>>>0>15?(r=4,M=a,r|0):(i[e+4>>2]&2146435072)==2146435072||(i[e+8+4>>2]&2146435072)==2146435072?(r=3,M=a,r|0):(pt(e,t,r),t=Ht(r,t)|0,r=T()|0,i[n>>2]=t,i[n+4>>2]=r,!(t|0)&!(r|0)&&E(27795,27122,1050,27145),r=0,M=a,r|0)}function Wt(e,t,n){e|=0,t|=0,n|=0;var r=0,a=0,o=0,s=0;if(a=n+4|0,o=Q(e|0,t|0,52)|0,T()|0,o&=15,s=Q(e|0,t|0,45)|0,T()|0,r=!(o|0),!(pe(s&127)|0)){if(r)return s=0,s|0;r=!(i[a>>2]|0)&&!(i[n+8>>2]|0)?!!(i[n+12>>2]|0)&1:1}else if(r)return s=1,s|0;else r=1;for(n=1;n&1?Ke(a):qe(a),s=Q(e|0,t|0,(15-n|0)*3|0)|0,T()|0,H(a,s&7),n>>>0<o>>>0;)n=n+1|0;return r|0}function J(e,t,n){e|=0,t|=0,n|=0;var r=0,a=0,o=0,s=0,c=0,l=0,u=0,d=0;if(d=M,M=M+16|0,l=d,u=Q(e|0,t|0,45)|0,T()|0,u&=127,u>>>0>121)return i[n>>2]=0,i[n+4>>2]=0,i[n+8>>2]=0,i[n+12>>2]=0,u=5,M=d,u|0;a:do if(pe(u)|0&&(o=Q(e|0,t|0,52)|0,T()|0,o&=15,o|0)){r=1;b:for(;;){switch(c=Q(e|0,t|0,(15-r|0)*3|0)|0,T()|0,c&7){case 5:break b;case 0:break;default:r=t;break a}if(r>>>0<o>>>0)r=r+1|0;else{r=t;break a}}for(a=1,r=t;t=(15-a|0)*3|0,s=$(7,0,t|0)|0,c=r&~(T()|0),r=Q(e|0,r|0,t|0)|0,T()|0,r=$(Ze(r&7)|0,0,t|0)|0,e=e&~s|r,r=c|T()|0,a>>>0<o>>>0;)a=a+1|0}else r=t;while(0);if(c=7696+(u*28|0)|0,i[n>>2]=i[c>>2],i[n+4>>2]=i[c+4>>2],i[n+8>>2]=i[c+8>>2],i[n+12>>2]=i[c+12>>2],!(Wt(e,r,n)|0))return u=0,M=d,u|0;if(s=n+4|0,i[l>>2]=i[s>>2],i[l+4>>2]=i[s+4>>2],i[l+8>>2]=i[s+8>>2],o=Q(e|0,r|0,52)|0,T()|0,c=o&15,o&1?(qe(s),o=c+1|0):o=c,!(pe(u)|0))r=0;else{c:do if(!c)r=0;else for(t=1;;){if(a=Q(e|0,r|0,(15-t|0)*3|0)|0,T()|0,a&=7,a|0){r=a;break c}if(t>>>0<c>>>0)t=t+1|0;else{r=0;break}}while(0);r=(r|0)==4&1}if(!(W(n,o,r,0)|0))(o|0)!=(c|0)&&(i[s>>2]=i[l>>2],i[s+4>>2]=i[l+4>>2],i[s+8>>2]=i[l+8>>2]);else{if(pe(u)|0)do;while(W(n,o,0,0)|0);(o|0)!=(c|0)&&Ge(s)}return u=0,M=d,u|0}function Gt(e,t,n){e|=0,t|=0,n|=0;var r=0,i=0,a=0;return a=M,M=M+16|0,r=a,i=J(e,t,r)|0,i|0?(M=a,i|0):(i=Q(e|0,t|0,52)|0,T()|0,_t(r,i&15,n),i=0,M=a,i|0)}function Kt(e,t,n){e|=0,t|=0,n|=0;var r=0,i=0,a=0,o=0,s=0;if(o=M,M=M+16|0,a=o,r=J(e,t,a)|0,r|0)return a=r,M=o,a|0;r=Q(e|0,t|0,45)|0,T()|0,r=!(pe(r&127)|0),i=Q(e|0,t|0,52)|0,T()|0,i&=15;a:do if(!r){if(i|0)for(r=1;;){if(s=$(7,0,(15-r|0)*3|0)|0,!(!(s&e|0)&!((T()|0)&t)))break a;if(r>>>0<i>>>0)r=r+1|0;else break}return vt(a,i,0,5,n),s=0,M=o,s|0}while(0);return bt(a,i,0,6,n),s=0,M=o,s|0}function qt(e,t,n){e|=0,t|=0,n|=0;var r=0,a=0,o=0;if(a=Q(e|0,t|0,45)|0,T()|0,!(pe(a&127)|0))return a=2,i[n>>2]=a,0;if(a=Q(e|0,t|0,52)|0,T()|0,a&=15,!a)return a=5,i[n>>2]=a,0;for(r=1;;){if(o=$(7,0,(15-r|0)*3|0)|0,!(!(o&e|0)&!((T()|0)&t))){r=2,e=6;break}if(r>>>0<a>>>0)r=r+1|0;else{r=5,e=6;break}}return(e|0)==6&&(i[n>>2]=r),0}function Jt(e,t,n){e|=0,t|=0,n|=0;var r=0,a=0,o=0,s=0,c=0,l=0,u=0,d=0,f=0;f=M,M=M+128|0,u=f+112|0,o=f+96|0,d=f,a=Q(e|0,t|0,52)|0,T()|0,c=a&15,i[u>>2]=c,s=Q(e|0,t|0,45)|0,T()|0,s&=127;a:do if(pe(s)|0){if(c|0)for(r=1;;){if(l=$(7,0,(15-r|0)*3|0)|0,!(!(l&e|0)&!((T()|0)&t))){a=0;break a}if(r>>>0<c>>>0)r=r+1|0;else break}if(a&1)a=1;else return l=$(c+1|0,0,52)|0,d=T()|0|t&-15728641,u=$(7,0,(14-c|0)*3|0)|0,d=Jt((l|e)&~u,d&~(T()|0),n)|0,M=f,d|0}else a=0;while(0);if(r=J(e,t,o)|0,!r){a?(U(o,u,d),l=5):(xt(o,u,d),l=6);b:do if(pe(s)|0){if(!c)e=5;else for(r=1;;){if(s=$(7,0,(15-r|0)*3|0)|0,!(!(s&e|0)&!((T()|0)&t))){e=2;break b}if(r>>>0<c>>>0)r=r+1|0;else{e=5;break}}}else e=2;while(0);zr(n|0,-1,e<<2)|0;c:do if(a)for(o=0;;){if(s=d+(o<<4)|0,yt(s,i[u>>2]|0)|0,s=i[s>>2]|0,c=i[n>>2]|0,(c|0)==-1|(c|0)==(s|0))r=n;else{a=0;do{if(a=a+1|0,a>>>0>=e>>>0){r=1;break c}r=n+(a<<2)|0,c=i[r>>2]|0}while(!((c|0)==-1|(c|0)==(s|0)))}if(i[r>>2]=s,o=o+1|0,o>>>0>=l>>>0){r=0;break}}else for(o=0;;){if(s=d+(o<<4)|0,W(s,i[u>>2]|0,0,1)|0,s=i[s>>2]|0,c=i[n>>2]|0,(c|0)==-1|(c|0)==(s|0))r=n;else{a=0;do{if(a=a+1|0,a>>>0>=e>>>0){r=1;break c}r=n+(a<<2)|0,c=i[r>>2]|0}while(!((c|0)==-1|(c|0)==(s|0)))}if(i[r>>2]=s,o=o+1|0,o>>>0>=l>>>0){r=0;break}}while(0)}return d=r,M=f,d|0}function Yt(){return 12}function Xt(e,t){e|=0,t|=0;var n=0,r=0,a=0,o=0,s=0,c=0,l=0;if(e>>>0>15)return c=4,c|0;if($(e|0,0,52)|0,c=T()|134225919,!e){n=0,r=0;do pe(r)|0&&($(r|0,0,45)|0,s=c|T()|0,e=t+(n<<3)|0,i[e>>2]=-1,i[e+4>>2]=s,n=n+1|0),r=r+1|0;while((r|0)!=122);return n=0,n|0}n=0,s=0;do{if(pe(s)|0){for($(s|0,0,45)|0,r=1,a=-1,o=c|T()|0;l=$(7,0,(15-r|0)*3|0)|0,a&=~l,o&=~(T()|0),(r|0)!=(e|0);)r=r+1|0;l=t+(n<<3)|0,i[l>>2]=a,i[l+4>>2]=o,n=n+1|0}s=s+1|0}while((s|0)!=122);return n=0,n|0}function Zt(e,t,n,r){e|=0,t|=0,n|=0,r|=0;var a=0,o=0,s=0,c=0,l=0,u=0,d=0,f=0,p=0,m=0,h=0,g=0,_=0,v=0,y=0;if(y=M,M=M+16|0,_=y,v=Q(e|0,t|0,52)|0,T()|0,v&=15,n>>>0>15)return v=4,M=y,v|0;if((v|0)<(n|0))return v=12,M=y,v|0;if((v|0)!=(n|0)){if(o=$(n|0,0,52)|0,o|=e,c=T()|0|t&-15728641,(v|0)>(n|0)){l=n;do g=$(7,0,(14-l|0)*3|0)|0,l=l+1|0,o=g|o,c=T()|0|c;while((l|0)<(v|0));g=o}else g=o}else g=e,c=t;h=Q(g|0,c|0,45)|0,T()|0;a:do if(pe(h&127)|0){if(l=Q(g|0,c|0,52)|0,T()|0,l&=15,l|0)for(o=1;;){if(h=$(7,0,(15-o|0)*3|0)|0,!(!(h&g|0)&!((T()|0)&c))){u=33;break a}if(o>>>0<l>>>0)o=o+1|0;else break}if(h=r,i[h>>2]=0,i[h+4>>2]=0,(v|0)>(n|0)){for(h=t&-15728641,m=v;;){if(p=m,m=m+-1|0,m>>>0>15|(v|0)<(m|0)){u=19;break}if((v|0)!=(m|0)){if(o=$(m|0,0,52)|0,o|=e,l=T()|0|h,(v|0)<(p|0))f=o;else{u=m;do f=$(7,0,(14-u|0)*3|0)|0,u=u+1|0,o=f|o,l=T()|0|l;while((u|0)<(v|0));f=o}}else f=e,l=t;if(d=Q(f|0,l|0,45)|0,T()|0,!(pe(d&127)|0))o=0;else{d=Q(f|0,l|0,52)|0,T()|0,d&=15;b:do if(!d)o=0;else for(u=1;;){if(o=Q(f|0,l|0,(15-u|0)*3|0)|0,T()|0,o&=7,o|0)break b;if(u>>>0<d>>>0)u=u+1|0;else{o=0;break}}while(0);o=!(o|0)&1}if(l=Q(e|0,t|0,(15-p|0)*3|0)|0,T()|0,l&=7,(l|0)==7||(o=!!(o|0),(l|0)==1&o)){a=5,u=42;break}if(f=l+((!!(l|0)&o)<<31>>31)|0,f|0&&(u=v-p|0,u=Pn(7,0,u,((u|0)<0)<<31>>31)|0,d=T()|0,o?(o=Ar(u|0,d|0,5,0)|0,o=Z(o|0,T()|0,-5,-1)|0,o=Or(o|0,T()|0,6,0)|0,o=Z(o|0,T()|0,1,0)|0,l=T()|0):(o=u,l=d),p=f+-1|0,p=Ar(u|0,d|0,p|0,((p|0)<0)<<31>>31)|0,p=Z(o|0,l|0,p|0,T()|0)|0,f=T()|0,d=r,d=Z(p|0,f|0,i[d>>2]|0,i[d+4>>2]|0)|0,f=T()|0,p=r,i[p>>2]=d,i[p+4>>2]=f),(m|0)<=(n|0)){u=37;break}}if((u|0)==19)E(27795,27122,1367,27158);else if((u|0)==37){s=r,a=i[s+4>>2]|0,s=i[s>>2]|0;break}else if((u|0)==42)return M=y,a|0}else a=0,s=0}else u=33;while(0);c:do if((u|0)==33){if(h=r,i[h>>2]=0,i[h+4>>2]=0,(v|0)>(n|0)){for(o=v;;){if(a=Q(e|0,t|0,(15-o|0)*3|0)|0,T()|0,a&=7,(a|0)==7){a=5;break}if(s=v-o|0,s=Pn(7,0,s,((s|0)<0)<<31>>31)|0,a=Ar(s|0,T()|0,a|0,0)|0,s=T()|0,h=r,s=Z(i[h>>2]|0,i[h+4>>2]|0,a|0,s|0)|0,a=T()|0,h=r,i[h>>2]=s,i[h+4>>2]=a,o=o+-1|0,(o|0)<=(n|0))break c}return M=y,a|0}a=0,s=0}while(0);return kt(g,c,v,_)|0&&E(27795,27122,1327,27173),v=_,_=i[v+4>>2]|0,((a|0)>-1|(a|0)==-1&s>>>0>4294967295)&((_|0)>(a|0)|((_|0)==(a|0)?(i[v>>2]|0)>>>0>s>>>0:0))?(v=0,M=y,v|0):(E(27795,27122,1407,27158),0)}function Qt(e,t,n,r,a,o){e|=0,t|=0,n|=0,r|=0,a|=0,o|=0;var s=0,c=0,l=0,u=0,d=0,f=0,p=0,m=0,h=0,g=0;if(f=M,M=M+16|0,s=f,a>>>0>15)return o=4,M=f,o|0;if(c=Q(n|0,r|0,52)|0,T()|0,c&=15,(c|0)>(a|0))return o=12,M=f,o|0;if(kt(n,r,a,s)|0&&E(27795,27122,1327,27173),d=s,u=i[d+4>>2]|0,!(((t|0)>-1|(t|0)==-1&e>>>0>4294967295)&((u|0)>(t|0)|((u|0)==(t|0)?(i[d>>2]|0)>>>0>e>>>0:0))))return o=2,M=f,o|0;d=a-c|0,a=$(a|0,0,52)|0,l=T()|0|r&-15728641,u=o,i[u>>2]=a|n,i[u+4>>2]=l,u=Q(n|0,r|0,45)|0,T()|0;a:do if(pe(u&127)|0){if(c|0)for(s=1;;){if(u=$(7,0,(15-s|0)*3|0)|0,!(!(u&n|0)&!((T()|0)&r)))break a;if(s>>>0<c>>>0)s=s+1|0;else break}if((d|0)<1)return o=0,M=f,o|0;for(u=c^15,r=-1,l=1,s=1;;){c=d-l|0,c=Pn(7,0,c,((c|0)<0)<<31>>31)|0,n=T()|0;do if(s){if(s=Ar(c|0,n|0,5,0)|0,s=Z(s|0,T()|0,-5,-1)|0,s=Or(s|0,T()|0,6,0)|0,a=T()|0,(t|0)>(a|0)|(t|0)==(a|0)&e>>>0>s>>>0){t=Z(e|0,t|0,-1,-1)|0,t=Tr(t|0,T()|0,s|0,a|0)|0,s=T()|0,p=o,h=i[p>>2]|0,p=i[p+4>>2]|0,g=(u+r|0)*3|0,m=$(7,0,g|0)|0,p&=~(T()|0),r=Or(t|0,s|0,c|0,n|0)|0,e=T()|0,a=Z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=o+-1):r|0}}function nn(e){e=+e;var t=0;return t=e<0?e+6.283185307179586:e,+(e>=6.283185307179586?t+-6.283185307179586:t)}function rn(e,t){return e|=0,t|=0,+l(+(+a[e>>3]-a[t>>3]))<17453292519943298e-27?(t=+l(+(+a[e+8>>3]-a[t+8>>3]))<17453292519943298e-27,t|0):(t=0,t|0)}function an(e,t){switch(e=+e,t|=0,t|0){case 1:e=e<0?e+6.283185307179586:e;break;case 2:e=e>0?e+-6.283185307179586:e}return+e}function on(e,t){e|=0,t|=0;var n=0,r=0,i=0,o=0;return i=+a[t>>3],r=+a[e>>3],o=+p(+((i-r)*.5)),n=+p(+((+a[t+8>>3]-a[e+8>>3])*.5)),n=o*o+n*(+f(+i)*f(+r)*n),+(v(+ +u(+n),+ +u(+(1-n)))*2)}function sn(e,t){e|=0,t|=0;var n=0,r=0,i=0,o=0;return i=+a[t>>3],r=+a[e>>3],o=+p(+((i-r)*.5)),n=+p(+((+a[t+8>>3]-a[e+8>>3])*.5)),n=o*o+n*(+f(+i)*f(+r)*n),+(v(+ +u(+n),+ +u(+(1-n)))*2*6371.007180918475)}function Y(e,t){e|=0,t|=0;var n=0,r=0,i=0,o=0;return i=+a[t>>3],r=+a[e>>3],o=+p(+((i-r)*.5)),n=+p(+((+a[t+8>>3]-a[e+8>>3])*.5)),n=o*o+n*(+f(+i)*f(+r)*n),+(v(+ +u(+n),+ +u(+(1-n)))*2*6371.007180918475*1e3)}function cn(e,t){e|=0,t|=0;var n=0,r=0,i=0,o=0,s=0;return o=+a[t>>3],r=+f(+o),i=+a[t+8>>3]-a[e+8>>3],s=r*+p(+i),n=+a[e>>3],+ +v(+s,+(+p(+o)*f(+n)-+f(+i)*(r*+p(+n))))}function ln(e,t,n,r){e|=0,t=+t,n=+n,r|=0;var o=0,s=0,c=0,u=0;if(n<1e-16)i[r>>2]=i[e>>2],i[r+4>>2]=i[e+4>>2],i[r+8>>2]=i[e+8>>2],i[r+12>>2]=i[e+12>>2];else{s=t<0?t+6.283185307179586:t,s=t>=6.283185307179586?s+-6.283185307179586:s;do if(s<1e-16)t=+a[e>>3]+n,a[r>>3]=t,o=r;else{if(o=+l(+(s+-3.141592653589793))<1e-16,t=+a[e>>3],o){t-=n,a[r>>3]=t,o=r;break}if(c=+f(+n),n=+p(+n),t=c*+p(+t)+ +f(+s)*(n*+f(+t)),t=t>1?1:t,t=+g(+(t<-1?-1:t)),a[r>>3]=t,+l(+(t+-1.5707963267948966))<1e-16){a[r>>3]=1.5707963267948966,a[r+8>>3]=0;return}if(+l(+(t+1.5707963267948966))<1e-16){a[r>>3]=-1.5707963267948966,a[r+8>>3]=0;return}if(u=1/f(+t),s=n*+p(+s)*u,n=+a[e>>3],t=u*((c-+p(+t)*p(+n))/f(+n)),c=s>1?1:s,t=t>1?1:t,t=+a[e+8>>3]+ +v(+(c<-1?-1:c),+(t<-1?-1:t)),t>3.141592653589793)do t+=-6.283185307179586;while(t>3.141592653589793);if(t<-3.141592653589793)do t+=6.283185307179586;while(t<-3.141592653589793);a[r+8>>3]=t;return}while(0);if(+l(+(t+-1.5707963267948966))<1e-16)a[o>>3]=1.5707963267948966,a[r+8>>3]=0;else if(+l(+(t+1.5707963267948966))<1e-16)a[o>>3]=-1.5707963267948966,a[r+8>>3]=0;else{if(t=+a[e+8>>3],t>3.141592653589793)do t+=-6.283185307179586;while(t>3.141592653589793);if(t<-3.141592653589793)do t+=6.283185307179586;while(t<-3.141592653589793);a[r+8>>3]=t}}}function un(e,t){return e|=0,t|=0,e>>>0>15?(t=4,t|0):(a[t>>3]=+a[20656+(e<<3)>>3],t=0,t|0)}function dn(e,t){return e|=0,t|=0,e>>>0>15?(t=4,t|0):(a[t>>3]=+a[20784+(e<<3)>>3],t=0,t|0)}function fn(e,t){return e|=0,t|=0,e>>>0>15?(t=4,t|0):(a[t>>3]=+a[20912+(e<<3)>>3],t=0,t|0)}function pn(e,t){return e|=0,t|=0,e>>>0>15?(t=4,t|0):(a[t>>3]=+a[21040+(e<<3)>>3],t=0,t|0)}function mn(e,t){e|=0,t|=0;var n=0;return e>>>0>15?(t=4,t|0):(n=Pn(7,0,e,((e|0)<0)<<31>>31)|0,n=Ar(n|0,T()|0,120,0)|0,e=T()|0,i[t>>2]=n|2,i[t+4>>2]=e,t=0,t|0)}function hn(e,t,n){e|=0,t|=0,n|=0;var r=0,i=0,o=0,s=0,c=0,l=0,d=0,h=0,g=0,y=0;return y=+a[t>>3],h=+a[e>>3],l=+p(+((y-h)*.5)),o=+a[t+8>>3],d=+a[e+8>>3],s=+p(+((o-d)*.5)),c=+f(+h),g=+f(+y),s=l*l+s*(g*c*s),s=v(+ +u(+s),+ +u(+(1-s)))*2,l=+a[n>>3],y=+p(+((l-y)*.5)),r=+a[n+8>>3],o=+p(+((r-o)*.5)),i=+f(+l),o=y*y+o*(g*i*o),o=v(+ +u(+o),+ +u(+(1-o)))*2,l=+p(+((h-l)*.5)),r=+p(+((d-r)*.5)),r=l*l+r*(c*i*r),r=v(+ +u(+r),+ +u(+(1-r)))*2,i=(s+o+r)*.5,+(_(+ +u(+(+m(+(i*.5))*m(+((i-s)*.5))*m(+((i-o)*.5))*m(+((i-r)*.5)))))*4)}function gn(e,t,n){e|=0,t|=0,n|=0;var r=0,o=0,s=0,c=0,l=0;if(l=M,M=M+192|0,s=l+168|0,c=l,o=Gt(e,t,s)|0,o|0)return n=o,M=l,n|0;if(Kt(e,t,c)|0&&E(27795,27190,415,27199),t=i[c>>2]|0,(t|0)>0){if(r=+hn(c+8|0,c+8+(((t|0)!=1&1)<<4)|0,s)+0,(t|0)!=1){e=1;do o=e,e=e+1|0,r+=+hn(c+8+(o<<4)|0,c+8+(((e|0)%(t|0)|0)<<4)|0,s);while((e|0)<(t|0))}}else r=0;return a[n>>3]=r,n=0,M=l,n|0}function _n(e,t,n){return e|=0,t|=0,n|=0,e=gn(e,t,n)|0,e|0||(a[n>>3]=a[n>>3]*6371.007180918475*6371.007180918475),e|0}function vn(e,t,n){return e|=0,t|=0,n|=0,e=gn(e,t,n)|0,e|0||(a[n>>3]=a[n>>3]*6371.007180918475*6371.007180918475*1e3*1e3),e|0}function yn(e,t,n){e|=0,t|=0,n|=0;var r=0,o=0,s=0,c=0,l=0,d=0,m=0,h=0;if(l=M,M=M+176|0,c=l,e=ft(e,t,c)|0,e|0)return c=e,M=l,c|0;if(a[n>>3]=0,e=i[c>>2]|0,(e|0)<=1)return c=0,M=l,c|0;t=e+-1|0,e=0,r=+a[c+8>>3],o=+a[c+16>>3],s=0;do e=e+1|0,m=r,r=+a[c+8+(e<<4)>>3],h=+p(+((r-m)*.5)),d=o,o=+a[c+8+(e<<4)+8>>3],d=+p(+((o-d)*.5)),d=h*h+d*(+f(+r)*f(+m)*d),s+=v(+ +u(+d),+ +u(+(1-d)))*2;while((e|0)<(t|0));return a[n>>3]=s,c=0,M=l,c|0}function bn(e,t,n){e|=0,t|=0,n|=0;var r=0,o=0,s=0,c=0,l=0,d=0,m=0,h=0;if(l=M,M=M+176|0,c=l,e=ft(e,t,c)|0,e|0)return c=e,s=+a[n>>3],s*=6371.007180918475,a[n>>3]=s,M=l,c|0;if(a[n>>3]=0,e=i[c>>2]|0,(e|0)<=1)return c=0,s=0,s*=6371.007180918475,a[n>>3]=s,M=l,c|0;t=e+-1|0,e=0,r=+a[c+8>>3],o=+a[c+16>>3],s=0;do e=e+1|0,m=r,r=+a[c+8+(e<<4)>>3],h=+p(+((r-m)*.5)),d=o,o=+a[c+8+(e<<4)+8>>3],d=+p(+((o-d)*.5)),d=h*h+d*(+f(+m)*f(+r)*d),s+=v(+ +u(+d),+ +u(+(1-d)))*2;while((e|0)!=(t|0));return a[n>>3]=s,c=0,h=s,h*=6371.007180918475,a[n>>3]=h,M=l,c|0}function xn(e,t,n){e|=0,t|=0,n|=0;var r=0,o=0,s=0,c=0,l=0,d=0,m=0,h=0;if(l=M,M=M+176|0,c=l,e=ft(e,t,c)|0,e|0)return c=e,s=+a[n>>3],s*=6371.007180918475,s*=1e3,a[n>>3]=s,M=l,c|0;if(a[n>>3]=0,e=i[c>>2]|0,(e|0)<=1)return c=0,s=0,s*=6371.007180918475,s*=1e3,a[n>>3]=s,M=l,c|0;t=e+-1|0,e=0,r=+a[c+8>>3],o=+a[c+16>>3],s=0;do e=e+1|0,m=r,r=+a[c+8+(e<<4)>>3],h=+p(+((r-m)*.5)),d=o,o=+a[c+8+(e<<4)+8>>3],d=+p(+((o-d)*.5)),d=h*h+d*(+f(+m)*f(+r)*d),s+=v(+ +u(+d),+ +u(+(1-d)))*2;while((e|0)!=(t|0));return a[n>>3]=s,c=0,h=s,h*=6371.007180918475,h*=1e3,a[n>>3]=h,M=l,c|0}function Sn(e){e|=0;var t=0,n=0,r=0;return t=wr(1,12)|0,t||E(27280,27235,49,27293),n=e+4|0,r=i[n>>2]|0,r|0?(r=r+8|0,i[r>>2]=t,i[n>>2]=t,t|0):(i[e>>2]|0&&E(27310,27235,61,27333),r=e,i[r>>2]=t,i[n>>2]=t,t|0)}function Cn(e,t){e|=0,t|=0;var n=0,r=0;return r=Cr(24)|0,r||E(27347,27235,78,27361),i[r>>2]=i[t>>2],i[r+4>>2]=i[t+4>>2],i[r+8>>2]=i[t+8>>2],i[r+12>>2]=i[t+12>>2],i[r+16>>2]=0,t=e+4|0,n=i[t>>2]|0,n|0?(i[n+16>>2]=r,i[t>>2]=r,r|0):(i[e>>2]|0&&E(27376,27235,82,27361),i[e>>2]=r,i[t>>2]=r,r|0)}function wn(e){e|=0;var t=0,n=0,r=0,a=0;if(e)for(r=1;;){if(t=i[e>>2]|0,t|0)do{if(n=i[t>>2]|0,n|0)do a=n,n=i[n+16>>2]|0,X(a);while(n|0);a=t,t=i[t+8>>2]|0,X(a)}while(t|0);if(t=e,e=i[e+8>>2]|0,r||X(t),e)r=0;else break}}function Tn(e){e|=0;var t=0,n=0,r=0,o=0,s=0,c=0,u=0,d=0,f=0,p=0,m=0,h=0,g=0,_=0,v=0,y=0,b=0,x=0,S=0,C=0,w=0,T=0,D=0,O=0,k=0,A=0,j=0,M=0,N=0,P=0,F=0,I=0;if(o=e+8|0,i[o>>2]|0)return I=1,I|0;if(r=i[e>>2]|0,!r)return I=0,I|0;t=r,n=0;do n=n+1|0,t=i[t+8>>2]|0;while(t|0);if(n>>>0<2)return I=0,I|0;P=Cr(n<<2)|0,P||E(27396,27235,317,27415),N=Cr(n<<5)|0,N||E(27437,27235,321,27415),i[e>>2]=0,T=e+4|0,i[T>>2]=0,i[o>>2]=0,n=0,M=0,w=0,m=0;a:for(;;){if(p=i[r>>2]|0,p){s=0,c=p;do{if(d=+a[c+8>>3],t=c,c=i[c+16>>2]|0,f=!(c|0),o=f?p:c,u=+a[o+8>>3],+l(+(d-u))>3.141592653589793){I=14;break}s+=(u-d)*(+a[t>>3]+ +a[o>>3])}while(!f);if((I|0)==14){I=0,s=0,t=p;do C=+a[t+8>>3],j=t+16|0,A=i[j>>2]|0,A=A|0?A:p,S=+a[A+8>>3],s+=(+a[t>>3]+ +a[A>>3])*((S<0?S+6.283185307179586:S)-(C<0?C+6.283185307179586:C)),t=i[(t|0?j:r)>>2]|0;while(t|0)}s>0?(i[P+(M<<2)>>2]=r,M=M+1|0,o=w,t=m):I=19}else I=19;if((I|0)==19){I=0;do if(n){if(t=n+8|0,i[t>>2]|0){I=21;break a}if(n=wr(1,12)|0,!n){I=23;break a}i[t>>2]=n,o=n+4|0,c=n,t=m}else{if(m){o=T,c=m+8|0,t=r,n=e;break}if(i[e>>2]|0){I=27;break a}o=T,c=e,t=r,n=e;break}while(0);if(i[c>>2]=r,i[o>>2]=r,c=N+(w<<5)|0,f=i[r>>2]|0,f){for(p=N+(w<<5)+8|0,a[p>>3]=17976931348623157e292,m=N+(w<<5)+24|0,a[m>>3]=17976931348623157e292,a[c>>3]=-17976931348623157e292,h=N+(w<<5)+16|0,a[h>>3]=-17976931348623157e292,b=17976931348623157e292,x=-17976931348623157e292,o=0,g=f,d=17976931348623157e292,v=17976931348623157e292,y=-17976931348623157e292,u=-17976931348623157e292;s=+a[g>>3],C=+a[g+8>>3],g=i[g+16>>2]|0,_=!(g|0),S=+a[(_?f:g)+8>>3],s<d&&(a[p>>3]=s,d=s),C<v&&(a[m>>3]=C,v=C),s>y?a[c>>3]=s:s=y,C>u&&(a[h>>3]=C,u=C),b=C>0&C<b?C:b,x=C<0&C>x?C:x,o|=+l(+(C-S))>3.141592653589793,!_;)y=s;o&&(a[h>>3]=x,a[m>>3]=b)}else i[c>>2]=0,i[c+4>>2]=0,i[c+8>>2]=0,i[c+12>>2]=0,i[c+16>>2]=0,i[c+20>>2]=0,i[c+24>>2]=0,i[c+28>>2]=0;o=w+1|0}if(j=r+8|0,r=i[j>>2]|0,i[j>>2]=0,r)w=o,m=t;else{I=45;break}}if((I|0)==21)E(27213,27235,35,27247);else if((I|0)==23)E(27267,27235,37,27247);else if((I|0)==27)E(27310,27235,61,27333);else if((I|0)==45){b:do if((M|0)>0){for(j=!(o|0),k=o<<2,A=!(e|0),O=0,t=0;;){if(D=i[P+(O<<2)>>2]|0,j)I=73;else{if(w=Cr(k)|0,!w){I=50;break}if(T=Cr(k)|0,!T){I=52;break}c:do if(A)n=0;else{for(o=0,n=0,c=e;r=N+(o<<5)|0,En(i[c>>2]|0,r,i[D>>2]|0)|0?(i[w+(n<<2)>>2]=c,i[T+(n<<2)>>2]=r,_=n+1|0):_=n,c=i[c+8>>2]|0,c;)o=o+1|0,n=_;if((_|0)>0){if(r=i[w>>2]|0,(_|0)==1)n=r;else for(h=0,g=-1,n=r,m=r;;){for(f=i[m>>2]|0,r=0,c=0;o=i[i[w+(c<<2)>>2]>>2]|0,p=(o|0)==(f|0)?r:r+((En(o,i[T+(c<<2)>>2]|0,i[f>>2]|0)|0)&1)|0,c=c+1|0,(c|0)!=(_|0);)r=p;if(o=(p|0)>(g|0),n=o?m:n,r=h+1|0,(r|0)==(_|0))break c;h=r,g=o?p:g,m=i[w+(r<<2)>>2]|0}}else n=0}while(0);if(X(w),X(T),n){if(o=n+4|0,r=i[o>>2]|0,r)n=r+8|0;else if(i[n>>2]|0){I=70;break}i[n>>2]=D,i[o>>2]=D}else I=73}if((I|0)==73){if(I=0,t=i[D>>2]|0,t|0)do T=t,t=i[t+16>>2]|0,X(T);while(t|0);X(D),t=1}if(O=O+1|0,(O|0)>=(M|0)){F=t;break b}}(I|0)==50?E(27452,27235,249,27471):(I|0)==52?E(27490,27235,252,27471):(I|0)==70&&E(27310,27235,61,27333)}else F=0;while(0);return X(P),X(N),I=F,I|0}return 0}function En(e,t,n){e|=0,t|=0,n|=0;var r=0,o=0,s=0,c=0,l=0,u=0,d=0,f=0;if(!(De(t,n)|0)||(t=Te(t)|0,r=+a[n>>3],o=+a[n+8>>3],o=t&o<0?o+6.283185307179586:o,e=i[e>>2]|0,!e))return e=0,e|0;if(t){t=0,d=o,n=e;a:for(;;){for(;c=+a[n>>3],o=+a[n+8>>3],n=n+16|0,f=i[n>>2]|0,f=f|0?f:e,s=+a[f>>3],l=+a[f+8>>3],c>s?(u=c,c=l):(u=s,s=c,c=o,o=l),r=r==s|r==u?r+2220446049250313e-31:r,r<s|r>u;)if(n=i[n>>2]|0,!n){n=22;break a}if(l=c<0?c+6.283185307179586:c,c=o<0?o+6.283185307179586:o,d=l==d|c==d?d+-2220446049250313e-31:d,u=l+(c-l)*((r-s)/(u-s)),(u<0?u+6.283185307179586:u)>d&&(t^=1),n=i[n>>2]|0,!n){n=22;break}}if((n|0)==22)return t|0}else{t=0,d=o,n=e;b:for(;;){for(;c=+a[n>>3],o=+a[n+8>>3],n=n+16|0,f=i[n>>2]|0,f=f|0?f:e,s=+a[f>>3],l=+a[f+8>>3],c>s?(u=c,c=l):(u=s,s=c,c=o,o=l),r=r==s|r==u?r+2220446049250313e-31:r,r<s|r>u;)if(n=i[n>>2]|0,!n){n=22;break b}if(d=c==d|o==d?d+-2220446049250313e-31:d,c+(o-c)*((r-s)/(u-s))>d&&(t^=1),n=i[n>>2]|0,!n){n=22;break}}if((n|0)==22)return t|0}return 0}function Dn(e,t,n,a,o){e|=0,t|=0,n|=0,a|=0,o|=0;var s=0,c=0,l=0,u=0,d=0,f=0,p=0,m=0,h=0,g=0,_=0,v=0,y=0,b=0;if(b=M,M=M+32|0,y=b+16|0,v=b,s=Q(e|0,t|0,52)|0,T()|0,s&=15,h=Q(n|0,a|0,52)|0,T()|0,(s|0)!=(h&15))return y=12,M=b,y|0;if(d=Q(e|0,t|0,45)|0,T()|0,d&=127,f=Q(n|0,a|0,45)|0,T()|0,f&=127,d>>>0>121|f>>>0>121)return y=5,M=b,y|0;if(h=(d|0)!=(f|0),h){if(l=xe(d,f)|0,(l|0)==7)return y=1,M=b,y|0;u=xe(f,d)|0,(u|0)==7?E(27514,27538,161,27548):(g=l,c=u)}else g=0,c=0;p=pe(d)|0,m=pe(f)|0,i[y>>2]=0,i[y+4>>2]=0,i[y+8>>2]=0,i[y+12>>2]=0;do if(g){if(f=i[4272+(d*28|0)+(g<<2)>>2]|0,l=(f|0)>0,!m){if(l){d=0,u=n,l=a;do u=Vt(u,l)|0,l=T()|0,c=Ze(c)|0,d=d+1|0;while((d|0)!=(f|0));f=c,d=u,u=l}else f=c,d=n,u=a}else if(l){d=0,u=n,l=a;do u=Bt(u,l)|0,l=T()|0,c=Ze(c)|0,(c|0)==1&&(c=Ze(1)|0),d=d+1|0;while((d|0)!=(f|0));f=c,d=u,u=l}else f=c,d=n,u=a;if(Wt(d,u,y)|0,h||E(27563,27538,191,27548),l=!!(p|0),c=!!(m|0),l&c&&E(27590,27538,192,27548),l){if(c=Lt(e,t)|0,(c|0)==7){s=5;break}if(r[22e3+(c*7|0)+g|0]|0){s=1;break}u=i[21168+(c*28|0)+(g<<2)>>2]|0,d=u}else if(c){if(c=Lt(d,u)|0,(c|0)==7){s=5;break}if(r[22e3+(c*7|0)+f|0]|0){s=1;break}d=0,u=i[21168+(f*28|0)+(c<<2)>>2]|0}else d=0,u=0;if((d|u|0)<0)s=5;else{if((u|0)>0){l=y+4|0,c=0;do Ye(l),c=c+1|0;while((c|0)!=(u|0))}if(i[v>>2]=0,i[v+4>>2]=0,i[v+8>>2]=0,H(v,g),s|0)for(;Ut(s)|0?Ke(v):qe(v),(s|0)>1;)s=s+-1|0;if((d|0)>0){s=0;do Ye(v),s=s+1|0;while((s|0)!=(d|0))}_=y+4|0,V(_,v,_),Le(_),_=51}}else if(Wt(n,a,y)|0,!!(p|0)&!!(m|0)){if((f|0)!=(d|0)&&E(27621,27538,261,27548),c=Lt(e,t)|0,s=Lt(n,a)|0,(c|0)==7|(s|0)==7)s=5;else if(r[22e3+(c*7|0)+s|0]|0)s=1;else if(c=i[21168+(c*28|0)+(s<<2)>>2]|0,(c|0)>0){l=y+4|0,s=0;do Ye(l),s=s+1|0;while((s|0)!=(c|0));_=51}else _=51}else _=51;while(0);return(_|0)==51&&(s=y+4|0,i[o>>2]=i[s>>2],i[o+4>>2]=i[s+4>>2],i[o+8>>2]=i[s+8>>2],s=0),y=s,M=b,y|0}function On(e,t,n,r){e|=0,t|=0,n|=0,r|=0;var a=0,o=0,s=0,c=0,l=0,u=0,d=0,f=0,p=0,m=0,h=0,g=0,_=0,v=0,y=0,b=0;if(g=M,M=M+48|0,u=g+36|0,s=g+24|0,c=g+12|0,l=g,a=Q(e|0,t|0,52)|0,T()|0,a&=15,p=Q(e|0,t|0,45)|0,T()|0,p&=127,p>>>0>121)return r=5,M=g,r|0;if(d=pe(p)|0,$(a|0,0,52)|0,_=T()|134225919,o=r,i[o>>2]=-1,i[o+4>>2]=_,!a)return a=Ve(n)|0,(a|0)==7||(a=be(p,a)|0,(a|0)==127)?(_=1,M=g,_|0):(m=$(a|0,0,45)|0,h=T()|0,p=r,h=i[p+4>>2]&-1040385|h,_=r,i[_>>2]=i[p>>2]|m,i[_+4>>2]=h,_=0,M=g,_|0);for(i[u>>2]=i[n>>2],i[u+4>>2]=i[n+4>>2],i[u+8>>2]=i[n+8>>2],n=a;;){if(o=n,n=n+-1|0,i[s>>2]=i[u>>2],i[s+4>>2]=i[u+4>>2],i[s+8>>2]=i[u+8>>2],Ut(o)|0){if(a=He(u)|0,a|0){n=13;break}i[c>>2]=i[u>>2],i[c+4>>2]=i[u+4>>2],i[c+8>>2]=i[u+8>>2],Ke(c)}else{if(a=Ue(u)|0,a|0){n=13;break}i[c>>2]=i[u>>2],i[c+4>>2]=i[u+4>>2],i[c+8>>2]=i[u+8>>2],qe(c)}if(ze(s,c,l),Le(l),a=r,y=i[a>>2]|0,a=i[a+4>>2]|0,b=(15-o|0)*3|0,v=$(7,0,b|0)|0,a&=~(T()|0),b=$(Ve(l)|0,0,b|0)|0,a=T()|0|a,_=r,i[_>>2]=b|y&~v,i[_+4>>2]=a,(o|0)<=1){n=14;break}}a:do if((n|0)!=13&&(n|0)==14){if((i[u>>2]|0)<=1&&(i[u+4>>2]|0)<=1&&(i[u+8>>2]|0)<=1){n=Ve(u)|0,a=be(p,n)|0,l=(a|0)==127?0:pe(a)|0;b:do if(n){if(d){if(a=Lt(e,t)|0,(a|0)==7){a=5;break a}if(o=i[21376+(a*28|0)+(n<<2)>>2]|0,(o|0)>0){a=n,n=0;do a=Xe(a)|0,n=n+1|0;while((n|0)!=(o|0))}else a=n;if((a|0)==1){a=9;break a}n=be(p,a)|0,(n|0)==127&&E(27648,27538,411,27678),pe(n)|0?E(27693,27538,412,27678):(h=n,m=o,f=a)}else h=a,m=0,f=n;if(c=i[4272+(p*28|0)+(f<<2)>>2]|0,(c|0)<=-1&&E(27724,27538,419,27678),!l){if((m|0)<0){a=5;break a}if(m|0){o=r,a=0,n=i[o>>2]|0,o=i[o+4>>2]|0;do n=zt(n,o)|0,o=T()|0,b=r,i[b>>2]=n,i[b+4>>2]=o,a=a+1|0;while((a|0)<(m|0))}if((c|0)<=0){a=h,n=58;break}for(o=r,a=0,n=i[o>>2]|0,o=i[o+4>>2]|0;;)if(n=zt(n,o)|0,o=T()|0,b=r,i[b>>2]=n,i[b+4>>2]=o,a=a+1|0,(a|0)==(c|0)){a=h,n=58;break b}}if(s=xe(h,p)|0,(s|0)==7&&E(27514,27538,428,27678),a=r,n=i[a>>2]|0,a=i[a+4>>2]|0,(c|0)>0){o=0;do n=zt(n,a)|0,a=T()|0,b=r,i[b>>2]=n,i[b+4>>2]=a,o=o+1|0;while((o|0)!=(c|0))}if(a=Lt(n,a)|0,(a|0)==7&&E(27795,27538,440,27678),n=me(h)|0,n=i[(n?21792:21584)+(s*28|0)+(a<<2)>>2]|0,(n|0)<0&&E(27795,27538,454,27678),!n)a=h,n=58;else{s=r,a=0,o=i[s>>2]|0,s=i[s+4>>2]|0;do o=Rt(o,s)|0,s=T()|0,b=r,i[b>>2]=o,i[b+4>>2]=s,a=a+1|0;while((a|0)<(n|0));a=h,n=58}}else if(!!(d|0)&!!(l|0)){if(n=Lt(e,t)|0,o=r,o=Lt(i[o>>2]|0,i[o+4>>2]|0)|0,(n|0)==7|(o|0)==7||(o=i[21376+(n*28|0)+(o<<2)>>2]|0,(o|0)<0)){a=5;break a}if(!o)n=59;else{c=r,n=0,s=i[c>>2]|0,c=i[c+4>>2]|0;do s=zt(s,c)|0,c=T()|0,b=r,i[b>>2]=s,i[b+4>>2]=c,n=n+1|0;while((n|0)<(o|0));n=58}}else n=58;while(0);if((n|0)==58&&l&&(n=59),(n|0)==59&&(b=r,(Lt(i[b>>2]|0,i[b+4>>2]|0)|0)==1)){a=9;break}b=r,v=i[b>>2]|0,b=i[b+4>>2]&-1040385,y=$(a|0,0,45)|0,b=b|T()|0,a=r,i[a>>2]=v|y,i[a+4>>2]=b,a=0}else a=1}while(0);return b=a,M=g,b|0}function kn(e,t,n,r,i,a){e|=0,t|=0,n|=0,r|=0,i|=0,a|=0;var o=0,s=0;return s=M,M=M+16|0,o=s,i?e=15:(e=Dn(e,t,n,r,o)|0,e||=(tt(o,a),0)),M=s,e|0}function An(e,t,n,r,i){e|=0,t|=0,n|=0,r|=0,i|=0;var a=0,o=0;return o=M,M=M+16|0,a=o,r?n=15:(n=nt(n,a)|0,n||=On(e,t,a,i)|0),M=o,n|0}function jn(e,t,n,r,a){e|=0,t|=0,n|=0,r|=0,a|=0;var o=0,s=0,c=0,l=0;return l=M,M=M+32|0,s=l+12|0,c=l,o=Dn(e,t,e,t,s)|0,o|0?(c=o,M=l,c|0):(e=Dn(e,t,n,r,c)|0,e|0?(c=e,M=l,c|0):(s=et(s,c)|0,c=a,i[c>>2]=s,i[c+4>>2]=((s|0)<0)<<31>>31,c=0,M=l,c|0))}function Mn(e,t,n,r,a){e|=0,t|=0,n|=0,r|=0,a|=0;var o=0,s=0,c=0,l=0;return l=M,M=M+32|0,s=l+12|0,c=l,o=Dn(e,t,e,t,s)|0,!o&&(o=Dn(e,t,n,r,c)|0,!o)?(r=et(s,c)|0,r=Z(r|0,((r|0)<0)<<31>>31,1,0)|0,s=T()|0,c=a,i[c>>2]=r,i[c+4>>2]=s,c=0,M=l,c|0):(c=o,M=l,c|0)}function Nn(e,t,n,r,a){e|=0,t|=0,n|=0,r|=0,a|=0;var o=0,s=0,c=0,u=0,d=0,f=0,p=0,m=0,h=0,g=0,_=0,v=0,y=0,b=0,x=0,S=0,C=0,w=0,D=0,O=0;if(D=M,M=M+48|0,C=D+24|0,s=D+12|0,w=D,o=Dn(e,t,e,t,C)|0,!o&&(o=Dn(e,t,n,r,s)|0,!o)){x=et(C,s)|0,S=((x|0)<0)<<31>>31,i[C>>2]=0,i[C+4>>2]=0,i[C+8>>2]=0,i[s>>2]=0,i[s+4>>2]=0,i[s+8>>2]=0,Dn(e,t,e,t,C)|0&&E(27795,27538,692,27747),Dn(e,t,n,r,s)|0&&E(27795,27538,697,27747),rt(C),rt(s),f=x|0?1/(x|0):0,n=i[C>>2]|0,_=f*+((i[s>>2]|0)-n|0),v=C+4|0,r=i[v>>2]|0,y=f*+((i[s+4>>2]|0)-r|0),b=C+8|0,o=i[b>>2]|0,f*=+((i[s+8>>2]|0)-o|0),i[w>>2]=n,p=w+4|0,i[p>>2]=r,m=w+8|0,i[m>>2]=o;a:do if((x|0)<0)o=0;else for(h=0,g=0;;){u=+(g>>>0)+4294967296*(h|0),O=_*u+ +(n|0),c=y*u+ +(r|0),u=f*u+ +(o|0),n=~~+Lr(+O),s=~~+Lr(+c),o=~~+Lr(+u),O=+l(+(+(n|0)-O)),c=+l(+(+(s|0)-c)),u=+l(+(+(o|0)-u));do if(O>c&O>u)n=0-(s+o)|0,r=s;else{if(d=0-n|0,c>u){r=d-o|0;break}r=s,o=d-s|0;break}while(0);if(i[w>>2]=n,i[p>>2]=r,i[m>>2]=o,it(w),o=On(e,t,w,a+(g<<3)|0)|0,o|0)break a;if(!((h|0)<(S|0)|(h|0)==(S|0)&g>>>0<x>>>0)){o=0;break a}n=Z(g|0,h|0,1,0)|0,r=T()|0,h=r,g=n,n=i[C>>2]|0,r=i[v>>2]|0,o=i[b>>2]|0}while(0);return w=o,M=D,w|0}return w=o,M=D,w|0}function Pn(e,t,n,r){e|=0,t|=0,n|=0,r|=0;var i=0,a=0,o=0;if(!(n|0)&!(r|0))return i=0,a=1,w(i|0),a|0;a=e,i=t,e=1,t=0;do o=!(n&1)&!0,e=Ar((o?1:a)|0,(o?0:i)|0,e|0,t|0)|0,t=T()|0,n=Nr(n|0,r|0,1)|0,r=T()|0,a=Ar(a|0,i|0,a|0,i|0)|0,i=T()|0;while(!(!(n|0)&!(r|0)));return w(t|0),e|0}function Fn(e,t,n,r){e|=0,t|=0,n|=0,r|=0;var o=0,s=0,c=0,l=0,u=0,d=0,p=0;l=M,M=M+16|0,s=l,c=Q(e|0,t|0,52)|0,T()|0,c&=15;do if(c){if(o=Gt(e,t,s)|0,!o){d=+a[s>>3],u=1/f(+d),p=+a[25968+(c<<3)>>3],a[n>>3]=d+p,a[n+8>>3]=d-p,d=+a[s+8>>3],u=p*u,a[n+16>>3]=u+d,a[n+24>>3]=d-u;break}return c=o,M=l,c|0}else{if(o=Q(e|0,t|0,45)|0,T()|0,o&=127,o>>>0>121)return c=5,M=l,c|0;s=22064+(o<<5)|0,i[n>>2]=i[s>>2],i[n+4>>2]=i[s+4>>2],i[n+8>>2]=i[s+8>>2],i[n+12>>2]=i[s+12>>2],i[n+16>>2]=i[s+16>>2],i[n+20>>2]=i[s+20>>2],i[n+24>>2]=i[s+24>>2],i[n+28>>2]=i[s+28>>2];break}while(0);return Pe(n,r?1.4:1.1),r=26096+(c<<3)|0,(i[r>>2]|0)==(e|0)&&(i[r+4>>2]|0)==(t|0)&&(a[n>>3]=1.5707963267948966),c=26224+(c<<3)|0,(i[c>>2]|0)==(e|0)&&(i[c+4>>2]|0)==(t|0)&&(a[n+8>>3]=-1.5707963267948966),+a[n>>3]!=1.5707963267948966&&+a[n+8>>3]!=-1.5707963267948966?(c=0,M=l,c|0):(a[n+16>>3]=3.141592653589793,a[n+24>>3]=-3.141592653589793,c=0,M=l,c|0)}function In(e,t,n,a){e|=0,t|=0,n|=0,a|=0;var o=0,s=0,c=0,l=0,u=0,d=0,f=0;d=M,M=M+48|0,c=d+32|0,s=d+40|0,l=d,Dt(c,0,0,0),u=i[c>>2]|0,c=i[c+4>>2]|0;do if(n>>>0<=15){if(o=Un(a)|0,o|0){a=l,i[a>>2]=0,i[a+4>>2]=0,i[l+8>>2]=o,i[l+12>>2]=-1,a=l+16|0,u=l+29|0,i[a>>2]=0,i[a+4>>2]=0,i[a+8>>2]=0,r[a+12|0]=0,r[u|0]=r[s|0]|0,r[u+1|0]=r[s+1|0]|0,r[u+2|0]=r[s+2|0]|0;break}if(o=wr((i[t+8>>2]|0)+1|0,32)|0,o){Wn(t,o),f=l,i[f>>2]=u,i[f+4>>2]=c,i[l+8>>2]=0,i[l+12>>2]=n,i[l+16>>2]=a,i[l+20>>2]=t,i[l+24>>2]=o,r[l+28|0]=0,u=l+29|0,r[u|0]=r[s|0]|0,r[u+1|0]=r[s+1|0]|0,r[u+2|0]=r[s+2|0]|0;break}a=l,i[a>>2]=0,i[a+4>>2]=0,i[l+8>>2]=13,i[l+12>>2]=-1,a=l+16|0,u=l+29|0,i[a>>2]=0,i[a+4>>2]=0,i[a+8>>2]=0,r[a+12|0]=0,r[u|0]=r[s|0]|0,r[u+1|0]=r[s+1|0]|0,r[u+2|0]=r[s+2|0]|0;break}else u=l,i[u>>2]=0,i[u+4>>2]=0,i[l+8>>2]=4,i[l+12>>2]=-1,u=l+16|0,f=l+29|0,i[u>>2]=0,i[u+4>>2]=0,i[u+8>>2]=0,r[u+12|0]=0,r[f|0]=r[s|0]|0,r[f+1|0]=r[s+1|0]|0,r[f+2|0]=r[s+2|0]|0;while(0);Ln(l),i[e>>2]=i[l>>2],i[e+4>>2]=i[l+4>>2],i[e+8>>2]=i[l+8>>2],i[e+12>>2]=i[l+12>>2],i[e+16>>2]=i[l+16>>2],i[e+20>>2]=i[l+20>>2],i[e+24>>2]=i[l+24>>2],i[e+28>>2]=i[l+28>>2],M=d}function Ln(e){e|=0;var t=0,n=0,a=0,o=0,s=0,c=0,l=0,u=0,d=0,f=0,p=0,m=0,h=0,g=0,_=0,v=0,y=0,b=0,x=0,S=0;if(S=M,M=M+336|0,h=S+168|0,g=S,a=e,n=i[a>>2]|0,a=i[a+4>>2]|0,!(n|0)&!(a|0))M=S;else if(t=e+28|0,r[t|0]|0?(n=Rn(n,a)|0,a=T()|0):r[t|0]=1,x=e+20|0,!(i[i[x>>2]>>2]|0))t=e+24|0,n=i[t>>2]|0,n|0&&X(n),b=e,i[b>>2]=0,i[b+4>>2]=0,i[e+8>>2]=0,i[x>>2]=0,i[e+12>>2]=-1,i[e+16>>2]=0,i[t>>2]=0,M=S;else{b=e+16|0,t=i[b>>2]|0,o=t&15;a:do if(!(n|0)&!(a|0))y=e+24|0;else{_=e+12|0,p=(o|0)==3,f=t&255,u=(o|1)==3,m=e+24|0,d=(o+-1|0)>>>0<3,c=(o|2)==3,l=g+8|0;b:for(;;){if(s=Q(n|0,a|0,52)|0,T()|0,s&=15,(s|0)==(i[_>>2]|0)){switch(f&15){case 0:case 2:case 3:if(o=Gt(n,a,h)|0,o|0){v=15;break b}if(Gn(i[x>>2]|0,i[m>>2]|0,h)|0){v=19;break b}}if(u&&(o=i[(i[x>>2]|0)+4>>2]|0,i[h>>2]=i[o>>2],i[h+4>>2]=i[o+4>>2],i[h+8>>2]=i[o+8>>2],i[h+12>>2]=i[o+12>>2],De(26832,h)|0)){if(q(i[(i[x>>2]|0)+4>>2]|0,s,g)|0){v=25;break}if(o=g,(i[o>>2]|0)==(n|0)&&(i[o+4>>2]|0)==(a|0)){v=29;break}}if(d){if(o=Kt(n,a,h)|0,o|0){v=32;break}if(Fn(n,a,g,0)|0){v=36;break}if(c&&Kn(i[x>>2]|0,i[m>>2]|0,h,g)|0||u&&Jn(i[x>>2]|0,i[m>>2]|0,h,g)|0){v=42;break}}if(p){if(t=Fn(n,a,h,1)|0,o=i[m>>2]|0,t|0){v=45;break}if(Oe(o,h)|0&&(je(g,h),Ae(h,i[m>>2]|0)|0||Gn(i[x>>2]|0,i[m>>2]|0,l)|0||Jn(i[x>>2]|0,i[m>>2]|0,g,h)|0)){v=53;break}}}do if((s|0)<(i[_>>2]|0)){if(t=Fn(n,a,h,1)|0,o=i[m>>2]|0,t|0){v=58;break b}if(!(Oe(o,h)|0)){v=73;break}if(Ae(i[m>>2]|0,h)|0&&(je(g,h),Kn(i[x>>2]|0,i[m>>2]|0,g,h)|0)){v=65;break b}if(n=Mt(n,a,s+1|0,g)|0,n|0){v=67;break b}a=g,n=i[a>>2]|0,a=i[a+4>>2]|0}else v=73;while(0);if((v|0)==73&&(v=0,n=Rn(n,a)|0,a=T()|0),!(n|0)&!(a|0)){y=m;break a}}switch(v|0){case 15:t=i[m>>2]|0,t|0&&X(t),v=e,i[v>>2]=0,i[v+4>>2]=0,i[x>>2]=0,i[_>>2]=-1,i[b>>2]=0,i[m>>2]=0,i[e+8>>2]=o,v=20;break;case 19:i[e>>2]=n,i[e+4>>2]=a,v=20;break;case 25:E(27795,27761,470,27772);break;case 29:i[e>>2]=n,i[e+4>>2]=a,M=S;return;case 32:t=i[m>>2]|0,t|0&&X(t),y=e,i[y>>2]=0,i[y+4>>2]=0,i[x>>2]=0,i[_>>2]=-1,i[b>>2]=0,i[m>>2]=0,i[e+8>>2]=o,M=S;return;case 36:E(27795,27761,493,27772);break;case 42:i[e>>2]=n,i[e+4>>2]=a,M=S;return;case 45:o|0&&X(o),v=e,i[v>>2]=0,i[v+4>>2]=0,i[x>>2]=0,i[_>>2]=-1,i[b>>2]=0,i[m>>2]=0,i[e+8>>2]=t,v=55;break;case 53:i[e>>2]=n,i[e+4>>2]=a,v=55;break;case 58:o|0&&X(o),v=e,i[v>>2]=0,i[v+4>>2]=0,i[x>>2]=0,i[_>>2]=-1,i[b>>2]=0,i[m>>2]=0,i[e+8>>2]=t,v=71;break;case 65:i[e>>2]=n,i[e+4>>2]=a,v=71;break;case 67:t=i[m>>2]|0,t|0&&X(t),y=e,i[y>>2]=0,i[y+4>>2]=0,i[x>>2]=0,i[_>>2]=-1,i[b>>2]=0,i[m>>2]=0,i[e+8>>2]=n,M=S;return}if((v|0)==20||(v|0)==55||(v|0)==71){M=S;return}}while(0);t=i[y>>2]|0,t|0&&X(t),v=e,i[v>>2]=0,i[v+4>>2]=0,i[e+8>>2]=0,i[x>>2]=0,i[e+12>>2]=-1,i[b>>2]=0,i[y>>2]=0,M=S}}function Rn(e,t){e|=0,t|=0;var n=0,r=0,a=0,o=0,s=0,c=0,l=0,u=0,d=0,f=0;f=M,M=M+16|0,d=f,r=Q(e|0,t|0,52)|0,T()|0,r&=15,n=Q(e|0,t|0,45)|0,T()|0;do if(r){for(;n=$(r+4095|0,0,52)|0,a=T()|0|t&-15728641,o=(15-r|0)*3|0,s=$(7,0,o|0)|0,c=T()|0,n=n|e|s,a|=c,l=Q(e|0,t|0,o|0)|0,T()|0,l&=7,r=r+-1|0,!(l>>>0<6);)if(r)t=a,e=n;else{u=4;break}if((u|0)==4){n=Q(n|0,a|0,45)|0,T()|0;break}return d=!(l|0)&!!(K(n,a)|0),d=$((d?2:1)+l|0,0,o|0)|0,u=T()|0|t&~c,d|=e&~s,w(u|0),M=f,d|0}while(0);return n&=127,n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=r[d+2|0]|0,n=13,h=9;break}Wn(e,n),v=m,i[v>>2]=s,i[v+4>>2]=u,u=m+8|0,i[u>>2]=0,i[m+12>>2]=t,i[m+20>>2]=e,i[m+24>>2]=n,r[m+28|0]=0,s=m+29|0,r[s|0]=r[d|0]|0,r[s+1|0]=r[d+1|0]|0,r[s+2|0]=r[d+2|0]|0,i[m+16>>2]=3,_=+Ee(n),_*=+we(n),c=+l(+ +a[n>>3]),c=_/+f(+ +Ir(+c,+ +l(+ +a[n+8>>3])))*6371.007180918475*6371.007180918475,s=m+12|0,n=i[s>>2]|0;a:do if((n|0)>0)do{if(un(n+-1|0,p)|0,!(c/+a[p>>3]>10))break a;v=i[s>>2]|0,n=v+-1|0,i[s>>2]=n}while((v|0)>1);while(0);if(Ln(m),s=o,i[s>>2]=0,i[s+4>>2]=0,s=m,n=i[s>>2]|0,s=i[s+4>>2]|0,!(!(n|0)&!(s|0)))do kt(n,s,t,p)|0,d=p,e=o,d=Z(i[e>>2]|0,i[e+4>>2]|0,i[d>>2]|0,i[d+4>>2]|0)|0,e=T()|0,v=o,i[v>>2]=d,i[v+4>>2]=e,Ln(m),v=m,n=i[v>>2]|0,s=i[v+4>>2]|0;while(!(!(n|0)&!(s|0)));n=i[u>>2]|0}while(0);return v=n,M=g,v|0}function Vn(e,t,n){e|=0,t|=0,n|=0;var r=0,o=0,s=0,c=0,l=0,u=0,d=0,f=0,p=0,m=0;if(!(De(t,n)|0)||(t=Te(t)|0,r=+a[n>>3],o=+a[n+8>>3],o=t&o<0?o+6.283185307179586:o,m=i[e>>2]|0,(m|0)<=0))return m=0,m|0;if(p=i[e+4>>2]|0,t){t=0,f=o,n=-1,e=0;a:for(;;){for(d=e;c=+a[p+(d<<4)>>3],o=+a[p+(d<<4)+8>>3],e=(n+2|0)%(m|0)|0,s=+a[p+(e<<4)>>3],l=+a[p+(e<<4)+8>>3],c>s?(u=c,c=l):(u=s,s=c,c=o,o=l),r=r==s|r==u?r+2220446049250313e-31:r,r<s|r>u;){if(n=d+1|0,(n|0)>=(m|0)){n=22;break a}e=d,d=n,n=e}if(l=c<0?c+6.283185307179586:c,c=o<0?o+6.283185307179586:o,f=l==f|c==f?f+-2220446049250313e-31:f,u=l+(c-l)*((r-s)/(u-s)),(u<0?u+6.283185307179586:u)>f&&(t^=1),e=d+1|0,(e|0)>=(m|0)){n=22;break}n=d}if((n|0)==22)return t|0}else{t=0,f=o,n=-1,e=0;b:for(;;){for(d=e;c=+a[p+(d<<4)>>3],o=+a[p+(d<<4)+8>>3],e=(n+2|0)%(m|0)|0,s=+a[p+(e<<4)>>3],l=+a[p+(e<<4)+8>>3],c>s?(u=c,c=l):(u=s,s=c,c=o,o=l),r=r==s|r==u?r+2220446049250313e-31:r,r<s|r>u;){if(n=d+1|0,(n|0)>=(m|0)){n=22;break b}e=d,d=n,n=e}if(f=c==f|o==f?f+-2220446049250313e-31:f,c+(o-c)*((r-s)/(u-s))>f&&(t^=1),e=d+1|0,(e|0)>=(m|0)){n=22;break}n=d}if((n|0)==22)return t|0}return 0}function Hn(e,t){e|=0,t|=0;var n=0,r=0,o=0,s=0,c=0,u=0,d=0,f=0,p=0,m=0,h=0,g=0,_=0,v=0,y=0,b=0,x=0;if(_=i[e>>2]|0,!_)i[t>>2]=0,i[t+4>>2]=0,i[t+8>>2]=0,i[t+12>>2]=0,i[t+16>>2]=0,i[t+20>>2]=0,i[t+24>>2]=0,i[t+28>>2]=0;else if(v=t+8|0,a[v>>3]=17976931348623157e292,y=t+24|0,a[y>>3]=17976931348623157e292,a[t>>3]=-17976931348623157e292,b=t+16|0,a[b>>3]=-17976931348623157e292,!((_|0)<=0)){for(h=i[e+4>>2]|0,f=17976931348623157e292,p=-17976931348623157e292,m=0,e=-1,s=17976931348623157e292,c=17976931348623157e292,d=-17976931348623157e292,r=-17976931348623157e292,g=0;n=+a[h+(g<<4)>>3],u=+a[h+(g<<4)+8>>3],e=e+2|0,o=+a[h+(((e|0)==(_|0)?0:e)<<4)+8>>3],n<s&&(a[v>>3]=n,s=n),u<c&&(a[y>>3]=u,c=u),n>d?a[t>>3]=n:n=d,u>r&&(a[b>>3]=u,r=u),f=u>0&u<f?u:f,p=u<0&u>p?u:p,m|=+l(+(u-o))>3.141592653589793,e=g+1|0,(e|0)!=(_|0);)x=g,d=n,g=e,e=x;m&&(a[b>>3]=p,a[y>>3]=f)}}function Un(e){return e|=0,(e>>>0<4?0:15)|0}function Wn(e,t){e|=0,t|=0;var n=0,r=0,o=0,s=0,c=0,u=0,d=0,f=0,p=0,m=0,h=0,g=0,_=0,v=0,y=0,b=0,x=0,S=0,C=0,w=0,T=0,E=0;if(_=i[e>>2]|0,_){if(v=t+8|0,a[v>>3]=17976931348623157e292,y=t+24|0,a[y>>3]=17976931348623157e292,a[t>>3]=-17976931348623157e292,b=t+16|0,a[b>>3]=-17976931348623157e292,(_|0)>0){for(o=i[e+4>>2]|0,h=17976931348623157e292,g=-17976931348623157e292,r=0,n=-1,d=17976931348623157e292,f=17976931348623157e292,m=-17976931348623157e292,c=-17976931348623157e292,x=0;s=+a[o+(x<<4)>>3],p=+a[o+(x<<4)+8>>3],T=n+2|0,u=+a[o+(((T|0)==(_|0)?0:T)<<4)+8>>3],s<d&&(a[v>>3]=s,d=s),p<f&&(a[y>>3]=p,f=p),s>m?a[t>>3]=s:s=m,p>c&&(a[b>>3]=p,c=p),h=p>0&p<h?p:h,g=p<0&p>g?p:g,r|=+l(+(p-u))>3.141592653589793,n=x+1|0,(n|0)!=(_|0);)T=x,m=s,x=n,n=T;r&&(a[b>>3]=g,a[y>>3]=h)}}else i[t>>2]=0,i[t+4>>2]=0,i[t+8>>2]=0,i[t+12>>2]=0,i[t+16>>2]=0,i[t+20>>2]=0,i[t+24>>2]=0,i[t+28>>2]=0;if(T=e+8|0,n=i[T>>2]|0,!((n|0)<=0)){w=e+12|0,C=0;do if(o=i[w>>2]|0,r=C,C=C+1|0,y=t+(C<<5)|0,b=i[o+(r<<3)>>2]|0,b){if(x=t+(C<<5)+8|0,a[x>>3]=17976931348623157e292,e=t+(C<<5)+24|0,a[e>>3]=17976931348623157e292,a[y>>3]=-17976931348623157e292,S=t+(C<<5)+16|0,a[S>>3]=-17976931348623157e292,(b|0)>0){for(_=i[o+(r<<3)+4>>2]|0,h=17976931348623157e292,g=-17976931348623157e292,o=0,r=-1,v=0,d=17976931348623157e292,f=17976931348623157e292,p=-17976931348623157e292,c=-17976931348623157e292;s=+a[_+(v<<4)>>3],m=+a[_+(v<<4)+8>>3],r=r+2|0,u=+a[_+(((r|0)==(b|0)?0:r)<<4)+8>>3],s<d&&(a[x>>3]=s,d=s),m<f&&(a[e>>3]=m,f=m),s>p?a[y>>3]=s:s=p,m>c&&(a[S>>3]=m,c=m),h=m>0&m<h?m:h,g=m<0&m>g?m:g,o|=+l(+(m-u))>3.141592653589793,r=v+1|0,(r|0)!=(b|0);)E=v,v=r,p=s,r=E;o&&(a[S>>3]=g,a[e>>3]=h)}}else i[y>>2]=0,i[y+4>>2]=0,i[y+8>>2]=0,i[y+12>>2]=0,i[y+16>>2]=0,i[y+20>>2]=0,i[y+24>>2]=0,i[y+28>>2]=0,n=i[T>>2]|0;while((C|0)<(n|0))}}function Gn(e,t,n){e|=0,t|=0,n|=0;var r=0,a=0,o=0;if(!(Vn(e,t,n)|0))return a=0,a|0;if(a=e+8|0,(i[a>>2]|0)<=0)return a=1,a|0;for(r=e+12|0,e=0;;){if(o=e,e=e+1|0,Vn((i[r>>2]|0)+(o<<3)|0,t+(e<<5)|0,n)|0){e=0,r=6;break}if((e|0)>=(i[a>>2]|0)){e=1,r=6;break}}return(r|0)==6?e|0:0}function Kn(e,t,n,r){e|=0,t|=0,n|=0,r|=0;var a=0,o=0,s=0,c=0,l=0,u=0,d=0;if(u=M,M=M+16|0,c=u,s=n+8|0,!(Vn(e,t,s)|0))return l=0,M=u,l|0;l=e+8|0;a:do if((i[l>>2]|0)>0){for(o=e+12|0,a=0;;){if(d=a,a=a+1|0,Vn((i[o>>2]|0)+(d<<3)|0,t+(a<<5)|0,s)|0){a=0;break}if((a|0)>=(i[l>>2]|0))break a}return M=u,a|0}while(0);if(qn(e,t,n,r)|0)return d=0,M=u,d|0;i[c>>2]=i[n>>2],i[c+4>>2]=s,a=i[l>>2]|0;b:do if((a|0)>0)for(e=e+12|0,s=0,o=a;;){if(a=i[e>>2]|0,(i[a+(s<<3)>>2]|0)>0){if(Vn(c,r,i[a+(s<<3)+4>>2]|0)|0||(a=s+1|0,qn((i[e>>2]|0)+(s<<3)|0,t+(a<<5)|0,n,r)|0)){a=0;break b}o=i[l>>2]|0}else a=s+1|0;if((a|0)<(o|0))s=a;else{a=1;break}}else a=1;while(0);return d=a,M=u,d|0}function qn(e,t,n,r){e|=0,t|=0,n|=0,r|=0;var o=0,s=0,c=0,l=0,u=0,d=0,f=0,p=0,m=0,h=0,g=0,_=0,v=0,y=0,b=0,x=0,S=0,C=0,w=0,T=0,E=0;if(w=M,M=M+176|0,b=w+172|0,o=w+168|0,x=w,!(Oe(t,r)|0))return e=0,M=w,e|0;if(ke(t,r,b,o),Rr(x|0,n|0,168)|0,(i[n>>2]|0)>0){t=0;do T=x+8+(t<<4)+8|0,y=+an(+a[T>>3],i[o>>2]|0),a[T>>3]=y,t=t+1|0;while((t|0)<(i[n>>2]|0))}_=+a[r>>3],v=+a[r+8>>3],y=+an(+a[r+16>>3],i[o>>2]|0),h=+an(+a[r+24>>3],i[o>>2]|0);a:do if((i[e>>2]|0)>0){if(r=e+4|0,o=i[x>>2]|0,(o|0)<=0){for(t=0;;)if(t=t+1|0,(t|0)>=(i[e>>2]|0)){t=0;break a}}for(n=0;;){if(t=i[r>>2]|0,m=+a[t+(n<<4)>>3],g=+an(+a[t+(n<<4)+8>>3],i[b>>2]|0),t=i[r>>2]|0,n=n+1|0,T=(n|0)%(i[e>>2]|0)|0,s=+a[t+(T<<4)>>3],c=+an(+a[t+(T<<4)+8>>3],i[b>>2]|0),!(m>=_)|!(s>=_)&&!(m<=v)|!(s<=v)&&!(g<=h)|!(c<=h)&&!(g>=y)|!(c>=y)){p=s-m,d=c-g,t=0;do if(E=t,t=t+1|0,T=(t|0)==(o|0)?0:t,s=+a[x+8+(E<<4)+8>>3],c=+a[x+8+(T<<4)+8>>3]-s,l=+a[x+8+(E<<4)>>3],u=+a[x+8+(T<<4)>>3]-l,f=p*c-d*u,f!=0&&(S=g-s,C=m-l,u=(S*u-c*C)/f,!(u<0|u>1))&&(f=(p*S-d*C)/f,f>=0&f<=1)){t=1;break a}while((t|0)<(o|0))}if((n|0)>=(i[e>>2]|0)){t=0;break}}}else t=0;while(0);return E=t,M=w,E|0}function Jn(e,t,n,r){e|=0,t|=0,n|=0,r|=0;var a=0,o=0,s=0;if(qn(e,t,n,r)|0)return o=1,o|0;if(o=e+8|0,(i[o>>2]|0)<=0)return o=0,o|0;for(a=e+12|0,e=0;;){if(s=e,e=e+1|0,qn((i[a>>2]|0)+(s<<3)|0,t+(e<<5)|0,n,r)|0){e=1,a=6;break}if((e|0)>=(i[o>>2]|0)){e=0,a=6;break}}return(a|0)==6?e|0:0}function Yn(){return 8}function Xn(){return 16}function Zn(){return 168}function Qn(){return 8}function $n(){return 16}function er(){return 12}function tr(){return 8}function nr(e){return e|=0,+(+((i[e>>2]|0)>>>0)+4294967296*(i[e+4>>2]|0))}function rr(e){e|=0;var t=0,n=0;return n=+a[e>>3],t=+a[e+8>>3],+ +u(+(n*n+t*t))}function ir(e,t,n,r,i){e|=0,t|=0,n|=0,r|=0,i|=0;var o=0,s=0,c=0,l=0,u=0,d=0,f=0,p=0;u=+a[e>>3],l=+a[t>>3]-u,c=+a[e+8>>3],s=+a[t+8>>3]-c,f=+a[n>>3],o=+a[r>>3]-f,p=+a[n+8>>3],d=+a[r+8>>3]-p,o=(o*(c-p)-(u-f)*d)/(l*d-s*o),a[i>>3]=u+l*o,a[i+8>>3]=c+s*o}function ar(e,t){return e|=0,t|=0,+l(+(+a[e>>3]-a[t>>3]))<1.1920928955078125e-7?(t=+l(+(+a[e+8>>3]-a[t+8>>3]))<1.1920928955078125e-7,t|0):(t=0,t|0)}function or(e,t){e|=0,t|=0;var n=0,r=0,i=0;return i=+a[e>>3]-a[t>>3],r=+a[e+8>>3]-a[t+8>>3],n=+a[e+16>>3]-a[t+16>>3],+(i*i+r*r+n*n)}function sr(e,t){e|=0,t|=0;var n=0,r=0,i=0;n=+a[e>>3],r=+f(+n),n=+p(+n),a[t+16>>3]=n,n=+a[e+8>>3],i=r*+f(+n),a[t>>3]=i,n=r*+p(+n),a[t+8>>3]=n}function cr(e,t,n){e|=0,t|=0,n|=0;var r=0,a=0,o=0;if(o=M,M=M+16|0,a=o,r=K(e,t)|0,(n+-1|0)>>>0>5||(r=!!(r|0),(n|0)==1&r))return a=-1,M=o,a|0;do if(lr(e,t,a)|0)r=-1;else{if(r){r=((i[26352+(n<<2)>>2]|0)+5-(i[a>>2]|0)|0)%5|0;break}r=((i[26384+(n<<2)>>2]|0)+6-(i[a>>2]|0)|0)%6|0;break}while(0);return a=r,M=o,a|0}function lr(e,t,n){e|=0,t|=0,n|=0;var r=0,a=0,o=0,s=0,c=0,l=0,u=0,d=0;if(d=M,M=M+32|0,c=d+16|0,l=d,r=J(e,t,c)|0,r|0)return n=r,M=d,n|0;o=G(e,t)|0,u=Lt(e,t)|0,_e(o,l),r=ve(o,i[c>>2]|0)|0;do if(pe(o)|0){do switch(o|0){case 4:a=0;break;case 14:a=1;break;case 24:a=2;break;case 38:a=3;break;case 49:a=4;break;case 58:a=5;break;case 63:a=6;break;case 72:a=7;break;case 83:a=8;break;case 97:a=9;break;case 107:a=10;break;case 117:a=11;break;default:E(27795,27797,75,27806)}while(0);if(s=i[26416+(a*24|0)+8>>2]|0,t=i[26416+(a*24|0)+16>>2]|0,e=i[c>>2]|0,(e|0)!=(i[l>>2]|0)&&(l=me(o)|0,e=i[c>>2]|0,l|(e|0)==(t|0)&&(r=(r+1|0)%6|0)),(u|0)==3&(e|0)==(t|0)){r=(r+5|0)%6|0;break}(u|0)==5&(e|0)==(s|0)&&(r=(r+1|0)%6|0)}while(0);return i[n>>2]=r,n=0,M=d,n|0}function ur(e,t,n,r){e|=0,t|=0,n|=0,r|=0;var a=0,o=0,s=0,c=0,l=0,u=0,d=0,f=0,p=0,m=0,h=0,g=0,_=0,v=0,y=0,b=0;if(b=M,M=M+32|0,y=b+24|0,_=b+20|0,h=b+8|0,m=b+16|0,p=b,l=!(K(e,t)|0),l=l?6:5,d=Q(e|0,t|0,52)|0,T()|0,d&=15,l>>>0<=n>>>0)return r=2,M=b,r|0;f=!(d|0),!f&&(g=$(7,0,(d^15)*3|0)|0,!(g&e|0)&!((T()|0)&t))?a=n:o=4;a:do if((o|0)==4){if(a=!!(K(e,t)|0),((a?4:5)|0)<(n|0)||lr(e,t,y)|0||(o=(i[y>>2]|0)+n|0,a=a?26704+(((o|0)%5|0)<<2)|0:26736+(((o|0)%6|0)<<2)|0,g=i[a>>2]|0,(g|0)==7))return r=1,M=b,r|0;i[_>>2]=0,a=re(e,t,g,_,h)|0;do if(!a){if(c=h,u=i[c>>2]|0,c=i[c+4>>2]|0,s=c>>>0<t>>>0|(c|0)==(t|0)&u>>>0<e>>>0,o=s?u:e,s=s?c:t,!f&&(f=$(7,0,(d^15)*3|0)|0,!(u&f|0)&!(c&(T()|0))))a=n;else{if(c=(n+-1+l|0)%(l|0)|0,a=K(e,t)|0,(c|0)<0&&E(27795,27797,248,27822),l=!!(a|0),((l?4:5)|0)<(c|0)&&E(27795,27797,248,27822),lr(e,t,y)|0&&E(27795,27797,248,27822),a=(i[y>>2]|0)+c|0,a=l?26704+(((a|0)%5|0)<<2)|0:26736+(((a|0)%6|0)<<2)|0,c=i[a>>2]|0,(c|0)==7&&E(27795,27797,248,27822),i[m>>2]=0,a=re(e,t,c,m,p)|0,a|0)break;u=p,l=i[u>>2]|0,u=i[u+4>>2]|0;do if(u>>>0<s>>>0|(u|0)==(s|0)&l>>>0<o>>>0){if(o=K(l,u)|0?se(l,u,e,t)|0:i[26800+((((i[m>>2]|0)+(i[26768+(c<<2)>>2]|0)|0)%6|0)<<2)>>2]|0,a=K(l,u)|0,(o+-1|0)>>>0>5||(a=!!(a|0),(o|0)==1&a)){a=-1,o=l,s=u;break}do if(lr(l,u,y)|0)a=-1;else{if(a){a=((i[26352+(o<<2)>>2]|0)+5-(i[y>>2]|0)|0)%5|0;break}a=((i[26384+(o<<2)>>2]|0)+6-(i[y>>2]|0)|0)%6|0;break}while(0);o=l,s=u}else a=n;while(0);c=h,u=i[c>>2]|0,c=i[c+4>>2]|0}if((o|0)==(u|0)&(s|0)==(c|0)){if(l=!!(K(u,c)|0),e=l?se(u,c,e,t)|0:i[26800+((((i[_>>2]|0)+(i[26768+(g<<2)>>2]|0)|0)%6|0)<<2)>>2]|0,a=K(u,c)|0,(e+-1|0)>>>0<=5&&(v=!!(a|0),!((e|0)==1&v)))do if(lr(u,c,y)|0)a=-1;else{if(v){a=((i[26352+(e<<2)>>2]|0)+5-(i[y>>2]|0)|0)%5|0;break}a=((i[26384+(e<<2)>>2]|0)+6-(i[y>>2]|0)|0)%6|0;break}while(0);else a=-1;a=a+1|0,a=(a|0)==6|l&(a|0)==5?0:a}t=s,e=o;break a}while(0);return r=a,M=b,r|0}while(0);return v=$(a|0,0,56)|0,y=T()|0|t&-2130706433|536870912,i[r>>2]=v|e,i[r+4>>2]=y,r=0,M=b,r|0}function dr(e,t,n){e|=0,t|=0,n|=0;var r=0,a=0,o=0;return o=!(K(e,t)|0),r=ur(e,t,0,n)|0,a=!(r|0),o?!a||(r=ur(e,t,1,n+8|0)|0,r|0)||(r=ur(e,t,2,n+16|0)|0,r|0)||(r=ur(e,t,3,n+24|0)|0,r|0)||(r=ur(e,t,4,n+32|0)|0,r)?(o=r,o|0):ur(e,t,5,n+40|0)|0:!a||(r=ur(e,t,1,n+8|0)|0,r|0)||(r=ur(e,t,2,n+16|0)|0,r|0)||(r=ur(e,t,3,n+24|0)|0,r|0)||(r=ur(e,t,4,n+32|0)|0,r|0)?(o=r,o|0):(o=n+40|0,i[o>>2]=0,i[o+4>>2]=0,o=0,o|0)}function fr(e,t,n){e|=0,t|=0,n|=0;var r=0,a=0,o=0,s=0,c=0,l=0;return l=M,M=M+192|0,a=l,o=l+168|0,s=Q(e|0,t|0,56)|0,T()|0,s&=7,c=t&-2130706433|134217728,r=J(e,c,o)|0,r|0?(c=r,M=l,c|0):(t=Q(e|0,t|0,52)|0,T()|0,t&=15,K(e,c)|0?vt(o,t,s,1,a):bt(o,t,s,1,a),c=a+8|0,i[n>>2]=i[c>>2],i[n+4>>2]=i[c+4>>2],i[n+8>>2]=i[c+8>>2],i[n+12>>2]=i[c+12>>2],c=0,M=l,c|0)}function pr(e,t){e|=0,t|=0;var n=0,r=0,a=0,o=0;return a=M,M=M+16|0,n=a,!(!0&(t&2013265920)==536870912)||(r=t&-2130706433|134217728,!(Tt(e,r)|0))?(r=0,M=a,r|0):(o=Q(e|0,t|0,56)|0,T()|0,o=!(ur(e,r,o&7,n)|0),r=n,r=o&((i[r>>2]|0)==(e|0)?(i[r+4>>2]|0)==(t|0):0)&1,M=a,r|0)}function mr(e,t,n){e|=0,t|=0,n|=0;var r=0;(t|0)>0?(r=wr(t,4)|0,i[e>>2]=r,r||E(27835,27858,40,27872)):i[e>>2]=0,i[e+4>>2]=t,i[e+8>>2]=0,i[e+12>>2]=n}function hr(e){e|=0;var t=0,n=0,r=0,o=0,s=0,c=0,u=0;o=e+4|0,s=e+12|0,c=e+8|0;a:for(;;){for(n=i[o>>2]|0,t=0;;){if((t|0)>=(n|0))break a;if(r=i[e>>2]|0,u=i[r+(t<<2)>>2]|0,!u)t=t+1|0;else break}t=r+(~~(+l(+(+d(10,+ +(15-(i[s>>2]|0)|0))*(+a[u>>3]+ +a[u+8>>3])))%(n|0))>>>0<<2)|0,n=i[t>>2]|0;b:do if(n|0){if(r=u+32|0,(n|0)==(u|0))i[t>>2]=i[r>>2];else{if(n=n+32|0,t=i[n>>2]|0,!t)break;for(;(t|0)!=(u|0);)if(n=t+32|0,t=i[n>>2]|0,!t)break b;i[n>>2]=i[r>>2]}X(u),i[c>>2]=(i[c>>2]|0)+-1}while(0)}X(i[e>>2]|0)}function gr(e){e|=0;var t=0,n=0,r=0;for(r=i[e+4>>2]|0,n=0;;){if((n|0)>=(r|0)){t=0,n=4;break}if(t=i[(i[e>>2]|0)+(n<<2)>>2]|0,!t)n=n+1|0;else{n=4;break}}return(n|0)==4?t|0:0}function _r(e,t){e|=0,t|=0;var n=0,r=0,o=0,s=0;if(n=~~(+l(+(+d(10,+ +(15-(i[e+12>>2]|0)|0))*(+a[t>>3]+ +a[t+8>>3])))%(i[e+4>>2]|0))>>>0,n=(i[e>>2]|0)+(n<<2)|0,r=i[n>>2]|0,!r)return s=1,s|0;s=t+32|0;do if((r|0)!=(t|0)){if(n=i[r+32>>2]|0,!n)return s=1,s|0;for(o=n;;){if((o|0)==(t|0)){o=8;break}if(n=i[o+32>>2]|0,n)r=o,o=n;else{n=1,o=10;break}}if((o|0)==8){i[r+32>>2]=i[s>>2];break}if((o|0)==10)return n|0}else i[n>>2]=i[s>>2];while(0);return X(t),s=e+8|0,i[s>>2]=(i[s>>2]|0)+-1,s=0,s|0}function vr(e,t,n){e|=0,t|=0,n|=0;var r=0,o=0,s=0,c=0;s=Cr(40)|0,s||E(27888,27858,98,27901),i[s>>2]=i[t>>2],i[s+4>>2]=i[t+4>>2],i[s+8>>2]=i[t+8>>2],i[s+12>>2]=i[t+12>>2],o=s+16|0,i[o>>2]=i[n>>2],i[o+4>>2]=i[n+4>>2],i[o+8>>2]=i[n+8>>2],i[o+12>>2]=i[n+12>>2],i[s+32>>2]=0,o=~~(+l(+(+d(10,+ +(15-(i[e+12>>2]|0)|0))*(+a[t>>3]+ +a[t+8>>3])))%(i[e+4>>2]|0))>>>0,o=(i[e>>2]|0)+(o<<2)|0,r=i[o>>2]|0;do if(!r)i[o>>2]=s;else{for(;!(rn(r,t)|0&&rn(r+16|0,n)|0);)if(o=i[r+32>>2]|0,r=o|0?o:r,!(i[r+32>>2]|0)){c=10;break}if((c|0)==10){i[r+32>>2]=s;break}return X(s),c=r,c|0}while(0);return c=e+8|0,i[c>>2]=(i[c>>2]|0)+1,c=s,c|0}function yr(e,t,n){e|=0,t|=0,n|=0;var r=0,o=0;if(o=~~(+l(+(+d(10,+ +(15-(i[e+12>>2]|0)|0))*(+a[t>>3]+ +a[t+8>>3])))%(i[e+4>>2]|0))>>>0,o=i[(i[e>>2]|0)+(o<<2)>>2]|0,!o)return n=0,n|0;if(!n){for(e=o;;){if(rn(e,t)|0){r=10;break}if(e=i[e+32>>2]|0,!e){e=0,r=10;break}}if((r|0)==10)return e|0}for(e=o;;){if(rn(e,t)|0&&rn(e+16|0,n)|0){r=10;break}if(e=i[e+32>>2]|0,!e){e=0,r=10;break}}return(r|0)==10?e|0:0}function br(e,t){e|=0,t|=0;var n=0;if(n=~~(+l(+(+d(10,+ +(15-(i[e+12>>2]|0)|0))*(+a[t>>3]+ +a[t+8>>3])))%(i[e+4>>2]|0))>>>0,e=i[(i[e>>2]|0)+(n<<2)>>2]|0,!e)return n=0,n|0;for(;;){if(rn(e,t)|0){t=5;break}if(e=i[e+32>>2]|0,!e){e=0,t=5;break}}return(t|0)==5?e|0:0}function xr(){return 27920}function Sr(e){return e=+e,~~+Br(+e)|0}function Cr(e){e|=0;var t=0,n=0,r=0,a=0,o=0,s=0,c=0,l=0,u=0,d=0,f=0,p=0,m=0,h=0,g=0,_=0,v=0,y=0,b=0,x=0,S=0;S=M,M=M+16|0,p=S;do if(e>>>0<245){if(u=e>>>0<11?16:e+11&-8,e=u>>>3,f=i[6981]|0,n=f>>>e,n&3)return t=(n&1^1)+e|0,e=27964+(t<<1<<2)|0,n=e+8|0,r=i[n>>2]|0,a=r+8|0,o=i[a>>2]|0,(o|0)==(e|0)?i[6981]=f&~(1<<t):(i[o+12>>2]=e,i[n>>2]=o),x=t<<3,i[r+4>>2]=x|3,x=r+x+4|0,i[x>>2]=i[x>>2]|1,x=a,M=S,x|0;if(d=i[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]=n,n=t;while(0);do if(a|0){if(t=i[c+28>>2]|0,e=28228+(t<<2)|0,(c|0)==(i[e>>2]|0)){if(i[e>>2]=n,!n){i[6982]=o&~(1<<t);break}}else if(x=a+16|0,i[((i[x>>2]|0)==(c|0)?x:a+20|0)>>2]=n,!n)break;i[n+24>>2]=a,t=i[c+16>>2]|0,t|0&&(i[n+16>>2]=t,i[t+24>>2]=n),t=i[c+20>>2]|0,t|0&&(i[n+20>>2]=t,i[t+24>>2]=n)}while(0);return l>>>0<16?(x=l+u|0,i[c+4>>2]=x|3,x=c+x+4|0,i[x>>2]=i[x>>2]|1):(i[c+4>>2]=u|3,i[s+4>>2]=l|1,i[s+l>>2]=l,d|0&&(r=i[6986]|0,t=d>>>3,n=27964+(t<<1<<2)|0,t=1<<t,t&f?(e=n+8|0,t=i[e>>2]|0):(i[6981]=t|f,t=n,e=n+8|0),i[e>>2]=r,i[t+12>>2]=r,i[r+8>>2]=t,i[r+12>>2]=n),i[6983]=l,i[6986]=s),x=c+8|0,M=S,x|0}f=u}else f=u}else f=u}else if(e>>>0<=4294967231){if(e=e+11|0,u=e&-8,r=i[6982]|0,r){a=0-u|0,e>>>=8,e?u>>>0>16777215?l=31:(f=(e+1048320|0)>>>16&8,g=e<<f,c=(g+520192|0)>>>16&4,g<<=c,l=(g+245760|0)>>>16&2,l=14-(c|f|l)+(g<<l>>>15)|0,l=u>>>(l+7|0)&1|l<<1):l=0,n=i[28228+(l<<2)>>2]|0;a:do if(!n)n=0,e=0,g=61;else for(e=0,c=u<<((l|0)==31?0:25-(l>>>1)|0),o=0;;){if(s=(i[n+4>>2]&-8)-u|0,s>>>0<a>>>0){if(s)e=n,a=s;else{e=n,a=0,g=65;break a}}if(g=i[n+20>>2]|0,n=i[n+16+(c>>>31<<2)>>2]|0,o=!(g|0)|(g|0)==(n|0)?o:g,n)c<<=1;else{n=o,g=61;break}}while(0);if((g|0)==61){if(!(n|0)&!(e|0)){if(e=2<<l,e=(e|0-e)&r,!e){f=u;break}f=(e&0-e)+-1|0,s=f>>>12&16,f>>>=s,o=f>>>5&8,f>>>=o,c=f>>>2&4,f>>>=c,l=f>>>1&2,f>>>=l,n=f>>>1&1,e=0,n=i[28228+((o|s|c|l|n)+(f>>>n)<<2)>>2]|0}n?g=65:(c=e,s=a)}if((g|0)==65)for(o=n;;)if(f=(i[o+4>>2]&-8)-u|0,n=f>>>0<a>>>0,a=n?f:a,e=n?o:e,n=i[o+16>>2]|0,n||=i[o+20>>2]|0,n)o=n;else{c=e,s=a;break}if(c|0&&s>>>0<((i[6983]|0)-u|0)>>>0&&(d=c+u|0,d>>>0>c>>>0)){o=i[c+24>>2]|0,t=i[c+12>>2]|0;do if((t|0)==(c|0)){if(e=c+20|0,t=i[e>>2]|0,!t&&(e=c+16|0,t=i[e>>2]|0,!t)){t=0;break}for(;;)if(a=t+20|0,n=i[a>>2]|0,n)t=n,e=a;else if(a=t+16|0,n=i[a>>2]|0,n)t=n,e=a;else break;i[e>>2]=0}else x=i[c+8>>2]|0,i[x+12>>2]=t,i[t+8>>2]=x;while(0);do if(o){if(e=i[c+28>>2]|0,n=28228+(e<<2)|0,(c|0)==(i[n>>2]|0)){if(i[n>>2]=t,!t){r&=~(1<<e),i[6982]=r;break}}else if(x=o+16|0,i[((i[x>>2]|0)==(c|0)?x:o+20|0)>>2]=t,!t)break;i[t+24>>2]=o,e=i[c+16>>2]|0,e|0&&(i[t+16>>2]=e,i[e+24>>2]=t),e=i[c+20>>2]|0,e&&(i[t+20>>2]=e,i[e+24>>2]=t)}while(0);b:do if(s>>>0<16)x=s+u|0,i[c+4>>2]=x|3,x=c+x+4|0,i[x>>2]=i[x>>2]|1;else{if(i[c+4>>2]=u|3,i[d+4>>2]=s|1,i[d+s>>2]=s,t=s>>>3,s>>>0<256){n=27964+(t<<1<<2)|0,e=i[6981]|0,t=1<<t,e&t?(e=n+8|0,t=i[e>>2]|0):(i[6981]=e|t,t=n,e=n+8|0),i[e>>2]=d,i[t+12>>2]=d,i[d+8>>2]=t,i[d+12>>2]=n;break}if(t=s>>>8,t?s>>>0>16777215?n=31:(b=(t+1048320|0)>>>16&8,x=t<<b,y=(x+520192|0)>>>16&4,x<<=y,n=(x+245760|0)>>>16&2,n=14-(y|b|n)+(x<<n>>>15)|0,n=s>>>(n+7|0)&1|n<<1):n=0,t=28228+(n<<2)|0,i[d+28>>2]=n,e=d+16|0,i[e+4>>2]=0,i[e>>2]=0,e=1<<n,!(r&e)){i[6982]=r|e,i[t>>2]=d,i[d+24>>2]=t,i[d+12>>2]=d,i[d+8>>2]=d;break}t=i[t>>2]|0;c:do if((i[t+4>>2]&-8)!=(s|0)){for(r=s<<((n|0)==31?0:25-(n>>>1)|0);n=t+16+(r>>>31<<2)|0,e=i[n>>2]|0,e;){if((i[e+4>>2]&-8)==(s|0)){t=e;break c}r<<=1,t=e}i[n>>2]=d,i[d+24>>2]=t,i[d+12>>2]=d,i[d+8>>2]=d;break b}while(0);b=t+8|0,x=i[b>>2]|0,i[x+12>>2]=d,i[b>>2]=d,i[d+8>>2]=x,i[d+12>>2]=t,i[d+24>>2]=0}while(0);return x=c+8|0,M=S,x|0}f=u}else f=u}else f=-1;while(0);if(n=i[6983]|0,n>>>0>=f>>>0)return t=n-f|0,e=i[6986]|0,t>>>0>15?(x=e+f|0,i[6986]=x,i[6983]=t,i[x+4>>2]=t|1,i[e+n>>2]=t,i[e+4>>2]=f|3):(i[6983]=0,i[6986]=0,i[e+4>>2]=n|3,x=e+n+4|0,i[x>>2]=i[x>>2]|1),x=e+8|0,M=S,x|0;if(s=i[6984]|0,s>>>0>f>>>0)return y=s-f|0,i[6984]=y,x=i[6987]|0,b=x+f|0,i[6987]=b,i[b+4>>2]=y|1,i[x+4>>2]=f|3,x=x+8|0,M=S,x|0;if(i[7099]|0?e=i[7101]|0:(i[7101]=4096,i[7100]=4096,i[7102]=-1,i[7103]=-1,i[7104]=0,i[7092]=0,i[7099]=p&-16^1431655768,e=4096),c=f+48|0,l=f+47|0,o=e+l|0,a=0-e|0,u=o&a,u>>>0<=f>>>0||(e=i[7091]|0,e|0&&(d=i[7089]|0,p=d+u|0,p>>>0<=d>>>0|p>>>0>e>>>0)))return x=0,M=S,x|0;d:do if(i[7092]&4)t=0,g=143;else{n=i[6987]|0;e:do if(n){for(r=28372;p=i[r>>2]|0,!(p>>>0<=n>>>0&&(p+(i[r+4>>2]|0)|0)>>>0>n>>>0);)if(e=i[r+8>>2]|0,e)r=e;else{g=128;break e}if(t=o-s&a,t>>>0<2147483647){if(e=Vr(t|0)|0,(e|0)==((i[r>>2]|0)+(i[r+4>>2]|0)|0)){if((e|0)!=-1){s=t,o=e,g=145;break d}}else r=e,g=136}else t=0}else g=128;while(0);do if((g|0)==128){if(n=Vr(0)|0,(n|0)!=-1&&(t=n,m=i[7100]|0,h=m+-1|0,t=(h&t|0?(h+t&0-m)-t|0:0)+u|0,m=i[7089]|0,h=t+m|0,t>>>0>f>>>0&t>>>0<2147483647)){if(p=i[7091]|0,p|0&&h>>>0<=m>>>0|h>>>0>p>>>0){t=0;break}if(e=Vr(t|0)|0,(e|0)==(n|0)){s=t,o=n,g=145;break d}r=e,g=136}else t=0}while(0);do if((g|0)==136){if(n=0-t|0,!(c>>>0>t>>>0&(t>>>0<2147483647&(r|0)!=-1))){if((r|0)==-1){t=0;break}s=t,o=r,g=145;break d}if(e=i[7101]|0,e=l-t+e&0-e,e>>>0>=2147483647){s=t,o=r,g=145;break d}if((Vr(e|0)|0)==-1){Vr(n|0)|0,t=0;break}s=e+t|0,o=r,g=145;break d}while(0);i[7092]|=4,g=143}while(0);if((g|0)==143&&u>>>0<2147483647&&(y=Vr(u|0)|0,h=Vr(0)|0,_=h-y|0,v=_>>>0>(f+40|0)>>>0,!((y|0)==-1|v^1|y>>>0<h>>>0&((y|0)!=-1&(h|0)!=-1)^1))&&(s=v?_:t,o=y,g=145),(g|0)==145){t=(i[7089]|0)+s|0,i[7089]=t,t>>>0>(i[7090]|0)>>>0&&(i[7090]=t),l=i[6987]|0;f:do if(l){for(t=28372;;){if(e=i[t>>2]|0,n=i[t+4>>2]|0,(o|0)==(e+n|0)){g=154;break}if(r=i[t+8>>2]|0,r)t=r;else break}if((g|0)==154&&(b=t+4|0,!(i[t+12>>2]&8))&&o>>>0>l>>>0&e>>>0<=l>>>0){i[b>>2]=n+s,x=(i[6984]|0)+s|0,y=l+8|0,y=y&7?0-y&7:0,b=l+y|0,y=x-y|0,i[6987]=b,i[6984]=y,i[b+4>>2]=y|1,i[l+x+4>>2]=40,i[6988]=i[7103];break}for(o>>>0<(i[6985]|0)>>>0&&(i[6985]=o),n=o+s|0,t=28372;;){if((i[t>>2]|0)==(n|0)){g=162;break}if(e=i[t+8>>2]|0,e)t=e;else break}if((g|0)==162&&!(i[t+12>>2]&8)){i[t>>2]=o,d=t+4|0,i[d>>2]=(i[d>>2]|0)+s,d=o+8|0,d=o+(d&7?0-d&7:0)|0,t=n+8|0,t=n+(t&7?0-t&7:0)|0,u=d+f|0,c=t-d-f|0,i[d+4>>2]=f|3;g:do if((l|0)==(t|0))x=(i[6984]|0)+c|0,i[6984]=x,i[6987]=u,i[u+4>>2]=x|1;else{if((i[6986]|0)==(t|0)){x=(i[6983]|0)+c|0,i[6983]=x,i[6986]=u,i[u+4>>2]=x|1,i[u+x>>2]=x;break}if(e=i[t+4>>2]|0,(e&3)==1){s=e&-8,r=e>>>3;h:do if(e>>>0<256){if(e=i[t+8>>2]|0,n=i[t+12>>2]|0,(n|0)==(e|0)){i[6981]&=~(1<<r);break}i[e+12>>2]=n,i[n+8>>2]=e;break}else{o=i[t+24>>2]|0,e=i[t+12>>2]|0;do if((e|0)==(t|0)){if(n=t+16|0,r=n+4|0,e=i[r>>2]|0,e)n=r;else if(e=i[n>>2]|0,!e){e=0;break}for(;;)if(a=e+20|0,r=i[a>>2]|0,r)e=r,n=a;else if(a=e+16|0,r=i[a>>2]|0,r)e=r,n=a;else break;i[n>>2]=0}else x=i[t+8>>2]|0,i[x+12>>2]=e,i[e+8>>2]=x;while(0);if(!o)break;n=i[t+28>>2]|0,r=28228+(n<<2)|0;do if((i[r>>2]|0)!=(t|0)){if(x=o+16|0,i[((i[x>>2]|0)==(t|0)?x:o+20|0)>>2]=e,!e)break h}else{if(i[r>>2]=e,e|0)break;i[6982]&=~(1<<n);break h}while(0);if(i[e+24>>2]=o,n=t+16|0,r=i[n>>2]|0,r|0&&(i[e+16>>2]=r,i[r+24>>2]=e),n=i[n+4>>2]|0,!n)break;i[e+20>>2]=n,i[n+24>>2]=e}while(0);t=t+s|0,a=s+c|0}else a=c;if(t=t+4|0,i[t>>2]=i[t>>2]&-2,i[u+4>>2]=a|1,i[u+a>>2]=a,t=a>>>3,a>>>0<256){n=27964+(t<<1<<2)|0,e=i[6981]|0,t=1<<t,e&t?(e=n+8|0,t=i[e>>2]|0):(i[6981]=e|t,t=n,e=n+8|0),i[e>>2]=u,i[t+12>>2]=u,i[u+8>>2]=t,i[u+12>>2]=n;break}t=a>>>8;do if(!t)r=0;else{if(a>>>0>16777215){r=31;break}b=(t+1048320|0)>>>16&8,x=t<<b,y=(x+520192|0)>>>16&4,x<<=y,r=(x+245760|0)>>>16&2,r=14-(y|b|r)+(x<<r>>>15)|0,r=a>>>(r+7|0)&1|r<<1}while(0);if(t=28228+(r<<2)|0,i[u+28>>2]=r,e=u+16|0,i[e+4>>2]=0,i[e>>2]=0,e=i[6982]|0,n=1<<r,!(e&n)){i[6982]=e|n,i[t>>2]=u,i[u+24>>2]=t,i[u+12>>2]=u,i[u+8>>2]=u;break}t=i[t>>2]|0;i:do if((i[t+4>>2]&-8)!=(a|0)){for(r=a<<((r|0)==31?0:25-(r>>>1)|0);n=t+16+(r>>>31<<2)|0,e=i[n>>2]|0,e;){if((i[e+4>>2]&-8)==(a|0)){t=e;break i}r<<=1,t=e}i[n>>2]=u,i[u+24>>2]=t,i[u+12>>2]=u,i[u+8>>2]=u;break g}while(0);b=t+8|0,x=i[b>>2]|0,i[x+12>>2]=u,i[b>>2]=u,i[u+8>>2]=x,i[u+12>>2]=t,i[u+24>>2]=0}while(0);return x=d+8|0,M=S,x|0}for(t=28372;e=i[t>>2]|0,!(e>>>0<=l>>>0&&(x=e+(i[t+4>>2]|0)|0,x>>>0>l>>>0));)t=i[t+8>>2]|0;a=x+-47|0,e=a+8|0,e=a+(e&7?0-e&7:0)|0,a=l+16|0,e=e>>>0<a>>>0?l:e,t=e+8|0,n=s+-40|0,y=o+8|0,y=y&7?0-y&7:0,b=o+y|0,y=n-y|0,i[6987]=b,i[6984]=y,i[b+4>>2]=y|1,i[o+n+4>>2]=40,i[6988]=i[7103],n=e+4|0,i[n>>2]=27,i[t>>2]=i[7093],i[t+4>>2]=i[7094],i[t+8>>2]=i[7095],i[t+12>>2]=i[7096],i[7093]=o,i[7094]=s,i[7096]=0,i[7095]=t,t=e+24|0;do b=t,t=t+4|0,i[t>>2]=7;while((b+8|0)>>>0<x>>>0);if((e|0)!=(l|0)){if(o=e-l|0,i[n>>2]=i[n>>2]&-2,i[l+4>>2]=o|1,i[e>>2]=o,t=o>>>3,o>>>0<256){n=27964+(t<<1<<2)|0,e=i[6981]|0,t=1<<t,e&t?(e=n+8|0,t=i[e>>2]|0):(i[6981]=e|t,t=n,e=n+8|0),i[e>>2]=l,i[t+12>>2]=l,i[l+8>>2]=t,i[l+12>>2]=n;break}if(t=o>>>8,t?o>>>0>16777215?r=31:(b=(t+1048320|0)>>>16&8,x=t<<b,y=(x+520192|0)>>>16&4,x<<=y,r=(x+245760|0)>>>16&2,r=14-(y|b|r)+(x<<r>>>15)|0,r=o>>>(r+7|0)&1|r<<1):r=0,n=28228+(r<<2)|0,i[l+28>>2]=r,i[l+20>>2]=0,i[a>>2]=0,t=i[6982]|0,e=1<<r,!(t&e)){i[6982]=t|e,i[n>>2]=l,i[l+24>>2]=n,i[l+12>>2]=l,i[l+8>>2]=l;break}t=i[n>>2]|0;j:do if((i[t+4>>2]&-8)!=(o|0)){for(r=o<<((r|0)==31?0:25-(r>>>1)|0);n=t+16+(r>>>31<<2)|0,e=i[n>>2]|0,e;){if((i[e+4>>2]&-8)==(o|0)){t=e;break j}r<<=1,t=e}i[n>>2]=l,i[l+24>>2]=t,i[l+12>>2]=l,i[l+8>>2]=l;break f}while(0);b=t+8|0,x=i[b>>2]|0,i[x+12>>2]=l,i[b>>2]=l,i[l+8>>2]=x,i[l+12>>2]=t,i[l+24>>2]=0}}else x=i[6985]|0,!(x|0)|o>>>0<x>>>0&&(i[6985]=o),i[7093]=o,i[7094]=s,i[7096]=0,i[6990]=i[7099],i[6989]=-1,i[6994]=27964,i[6993]=27964,i[6996]=27972,i[6995]=27972,i[6998]=27980,i[6997]=27980,i[7e3]=27988,i[6999]=27988,i[7002]=27996,i[7001]=27996,i[7004]=28004,i[7003]=28004,i[7006]=28012,i[7005]=28012,i[7008]=28020,i[7007]=28020,i[7010]=28028,i[7009]=28028,i[7012]=28036,i[7011]=28036,i[7014]=28044,i[7013]=28044,i[7016]=28052,i[7015]=28052,i[7018]=28060,i[7017]=28060,i[7020]=28068,i[7019]=28068,i[7022]=28076,i[7021]=28076,i[7024]=28084,i[7023]=28084,i[7026]=28092,i[7025]=28092,i[7028]=28100,i[7027]=28100,i[7030]=28108,i[7029]=28108,i[7032]=28116,i[7031]=28116,i[7034]=28124,i[7033]=28124,i[7036]=28132,i[7035]=28132,i[7038]=28140,i[7037]=28140,i[7040]=28148,i[7039]=28148,i[7042]=28156,i[7041]=28156,i[7044]=28164,i[7043]=28164,i[7046]=28172,i[7045]=28172,i[7048]=28180,i[7047]=28180,i[7050]=28188,i[7049]=28188,i[7052]=28196,i[7051]=28196,i[7054]=28204,i[7053]=28204,i[7056]=28212,i[7055]=28212,x=s+-40|0,y=o+8|0,y=y&7?0-y&7:0,b=o+y|0,y=x-y|0,i[6987]=b,i[6984]=y,i[b+4>>2]=y|1,i[o+x+4>>2]=40,i[6988]=i[7103];while(0);if(t=i[6984]|0,t>>>0>f>>>0)return y=t-f|0,i[6984]=y,x=i[6987]|0,b=x+f|0,i[6987]=b,i[b+4>>2]=y|1,i[x+4>>2]=f|3,x=x+8|0,M=S,x|0}return x=xr()|0,i[x>>2]=12,x=0,M=S,x|0}function X(e){e|=0;var t=0,n=0,r=0,a=0,o=0,s=0,c=0,l=0;if(e){n=e+-8|0,a=i[6985]|0,e=i[e+-4>>2]|0,t=e&-8,l=n+t|0;do if(e&1)c=n,s=n;else{if(r=i[n>>2]|0,!(e&3)||(s=n+(0-r)|0,o=r+t|0,s>>>0<a>>>0))return;if((i[6986]|0)==(s|0)){if(e=l+4|0,t=i[e>>2]|0,(t&3)!=3){c=s,t=o;break}i[6983]=o,i[e>>2]=t&-2,i[s+4>>2]=o|1,i[s+o>>2]=o;return}if(n=r>>>3,r>>>0<256){if(e=i[s+8>>2]|0,t=i[s+12>>2]|0,(t|0)==(e|0)){i[6981]&=~(1<<n),c=s,t=o;break}i[e+12>>2]=t,i[t+8>>2]=e,c=s,t=o;break}a=i[s+24>>2]|0,e=i[s+12>>2]|0;do if((e|0)==(s|0)){if(t=s+16|0,n=t+4|0,e=i[n>>2]|0,e)t=n;else if(e=i[t>>2]|0,!e){e=0;break}for(;;)if(r=e+20|0,n=i[r>>2]|0,n)e=n,t=r;else if(r=e+16|0,n=i[r>>2]|0,n)e=n,t=r;else break;i[t>>2]=0}else c=i[s+8>>2]|0,i[c+12>>2]=e,i[e+8>>2]=c;while(0);if(a){if(t=i[s+28>>2]|0,n=28228+(t<<2)|0,(i[n>>2]|0)==(s|0)){if(i[n>>2]=e,!e){i[6982]&=~(1<<t),c=s,t=o;break}}else if(c=a+16|0,i[((i[c>>2]|0)==(s|0)?c:a+20|0)>>2]=e,!e){c=s,t=o;break}i[e+24>>2]=a,t=s+16|0,n=i[t>>2]|0,n|0&&(i[e+16>>2]=n,i[n+24>>2]=e),t=i[t+4>>2]|0,t?(i[e+20>>2]=t,i[t+24>>2]=e,c=s,t=o):(c=s,t=o)}else c=s,t=o}while(0);if(!(s>>>0>=l>>>0)&&(e=l+4|0,r=i[e>>2]|0,r&1)){if(r&2)i[e>>2]=r&-2,i[c+4>>2]=t|1,i[s+t>>2]=t,a=t;else{if((i[6987]|0)==(l|0)){if(l=(i[6984]|0)+t|0,i[6984]=l,i[6987]=c,i[c+4>>2]=l|1,(c|0)!=(i[6986]|0))return;i[6986]=0,i[6983]=0;return}if((i[6986]|0)==(l|0)){l=(i[6983]|0)+t|0,i[6983]=l,i[6986]=s,i[c+4>>2]=l|1,i[s+l>>2]=l;return}a=(r&-8)+t|0,n=r>>>3;do if(r>>>0<256){if(t=i[l+8>>2]|0,e=i[l+12>>2]|0,(e|0)==(t|0)){i[6981]&=~(1<<n);break}i[t+12>>2]=e,i[e+8>>2]=t;break}else{o=i[l+24>>2]|0,e=i[l+12>>2]|0;do if((e|0)==(l|0)){if(t=l+16|0,n=t+4|0,e=i[n>>2]|0,e)t=n;else if(e=i[t>>2]|0,!e){n=0;break}for(;;)if(r=e+20|0,n=i[r>>2]|0,n)e=n,t=r;else if(r=e+16|0,n=i[r>>2]|0,n)e=n,t=r;else break;i[t>>2]=0,n=e}else n=i[l+8>>2]|0,i[n+12>>2]=e,i[e+8>>2]=n,n=e;while(0);if(o|0){if(e=i[l+28>>2]|0,t=28228+(e<<2)|0,(i[t>>2]|0)==(l|0)){if(i[t>>2]=n,!n){i[6982]&=~(1<<e);break}}else if(r=o+16|0,i[((i[r>>2]|0)==(l|0)?r:o+20|0)>>2]=n,!n)break;i[n+24>>2]=o,e=l+16|0,t=i[e>>2]|0,t|0&&(i[n+16>>2]=t,i[t+24>>2]=n),e=i[e+4>>2]|0,e|0&&(i[n+20>>2]=e,i[e+24>>2]=n)}}while(0);if(i[c+4>>2]=a|1,i[s+a>>2]=a,(c|0)==(i[6986]|0)){i[6983]=a;return}}if(e=a>>>3,a>>>0<256)n=27964+(e<<1<<2)|0,t=i[6981]|0,e=1<<e,t&e?(t=n+8|0,e=i[t>>2]|0):(i[6981]=t|e,e=n,t=n+8|0),i[t>>2]=c,i[e+12>>2]=c,i[c+8>>2]=e,i[c+12>>2]=n;else{e=a>>>8,e?a>>>0>16777215?r=31:(s=(e+1048320|0)>>>16&8,l=e<<s,o=(l+520192|0)>>>16&4,l<<=o,r=(l+245760|0)>>>16&2,r=14-(o|s|r)+(l<<r>>>15)|0,r=a>>>(r+7|0)&1|r<<1):r=0,e=28228+(r<<2)|0,i[c+28>>2]=r,i[c+20>>2]=0,i[c+16>>2]=0,t=i[6982]|0,n=1<<r;a:do if(!(t&n))i[6982]=t|n,i[e>>2]=c,i[c+24>>2]=e,i[c+12>>2]=c,i[c+8>>2]=c;else{e=i[e>>2]|0;b:do if((i[e+4>>2]&-8)!=(a|0)){for(r=a<<((r|0)==31?0:25-(r>>>1)|0);n=e+16+(r>>>31<<2)|0,t=i[n>>2]|0,t;){if((i[t+4>>2]&-8)==(a|0)){e=t;break b}r<<=1,e=t}i[n>>2]=c,i[c+24>>2]=e,i[c+12>>2]=c,i[c+8>>2]=c;break a}while(0);s=e+8|0,l=i[s>>2]|0,i[l+12>>2]=c,i[s>>2]=c,i[c+8>>2]=l,i[c+12>>2]=e,i[c+24>>2]=0}while(0);if(l=(i[6989]|0)+-1|0,i[6989]=l,!(l|0)){for(e=28380;e=i[e>>2]|0,e;)e=e+8|0;i[6989]=-1}}}}}function wr(e,t){e|=0,t|=0;var n=0;return e?(n=b(t,e)|0,(t|e)>>>0>65535&&(n=((n>>>0)/(e>>>0)|0)==(t|0)?n:-1)):n=0,e=Cr(n)|0,!e||!(i[e+-4>>2]&3)||zr(e|0,0,n|0)|0,e|0}function Z(e,t,n,r){return e|=0,t|=0,n|=0,r|=0,n=e+n>>>0,w(t+r+(n>>>0<e>>>0|0)>>>0|0),n|0}function Tr(e,t,n,r){return e|=0,t|=0,n|=0,r|=0,r=t-r-(n>>>0>e>>>0|0)>>>0,w(r|0),e-n>>>0|0}function Er(e){return e|=0,(e?31-(C(e^e-1)|0)|0:32)|0}function Dr(e,t,n,r,a){e|=0,t|=0,n|=0,r|=0,a|=0;var o=0,s=0,c=0,l=0,u=0,d=0,f=0,p=0,m=0,h=0;if(d=e,l=t,u=l,s=n,p=r,c=p,!u)return o=!!(a|0),c?o?(i[a>>2]=e|0,i[a+4>>2]=t&0,p=0,a=0,w(p|0),a|0):(p=0,a=0,w(p|0),a|0):(o&&(i[a>>2]=(d>>>0)%(s>>>0),i[a+4>>2]=0),p=0,a=(d>>>0)/(s>>>0)>>>0,w(p|0),a|0);o=!(c|0);do if(s){if(!o){if(o=(C(c|0)|0)-(C(u|0)|0)|0,o>>>0<=31){f=o+1|0,c=31-o|0,t=o-31>>31,s=f,e=d>>>(f>>>0)&t|u<<c,t=u>>>(f>>>0)&t,o=0,c=d<<c;break}return a?(i[a>>2]=e|0,i[a+4>>2]=l|t&0,p=0,a=0,w(p|0),a|0):(p=0,a=0,w(p|0),a|0)}if(o=s-1|0,o&s|0){c=(C(s|0)|0)+33-(C(u|0)|0)|0,h=64-c|0,f=32-c|0,l=f>>31,m=c-32|0,t=m>>31,s=c,e=f-1>>31&u>>>(m>>>0)|(u<<f|d>>>(c>>>0))&t,t&=u>>>(c>>>0),o=d<<h&l,c=(u<<h|d>>>(m>>>0))&l|d<<f&c-33>>31;break}return a|0&&(i[a>>2]=o&d,i[a+4>>2]=0),(s|0)==1?(m=l|t&0,h=e|0,w(m|0),h|0):(h=Er(s|0)|0,m=u>>>(h>>>0)|0,h=u<<32-h|d>>>(h>>>0),w(m|0),h|0)}else{if(o)return a|0&&(i[a>>2]=(u>>>0)%(s>>>0),i[a+4>>2]=0),m=0,h=(u>>>0)/(s>>>0)>>>0,w(m|0),h|0;if(!d)return a|0&&(i[a>>2]=0,i[a+4>>2]=(u>>>0)%(c>>>0)),m=0,h=(u>>>0)/(c>>>0)>>>0,w(m|0),h|0;if(o=c-1|0,!(o&c))return a|0&&(i[a>>2]=e|0,i[a+4>>2]=o&u|t&0),m=0,h=u>>>((Er(c|0)|0)>>>0),w(m|0),h|0;if(o=(C(c|0)|0)-(C(u|0)|0)|0,o>>>0<=30){t=o+1|0,c=31-o|0,s=t,e=u<<c|d>>>(t>>>0),t=u>>>(t>>>0),o=0,c=d<<c;break}return a?(i[a>>2]=e|0,i[a+4>>2]=l|t&0,m=0,h=0,w(m|0),h|0):(m=0,h=0,w(m|0),h|0)}while(0);if(!s)u=c,l=0,c=0;else{f=n|0,d=p|r&0,u=Z(f|0,d|0,-1,-1)|0,n=T()|0,l=c,c=0;do r=l,l=o>>>31|l<<1,o=c|o<<1,r=e<<1|r>>>31,p=e>>>31|t<<1,Tr(u|0,n|0,r|0,p|0)|0,h=T()|0,m=h>>31|((h|0)<0?-1:0)<<1,c=m&1,e=Tr(r|0,p|0,m&f|0,(((h|0)<0?-1:0)>>31|((h|0)<0?-1:0)<<1)&d)|0,t=T()|0,s=s-1|0;while(s|0);u=l,l=0}return s=0,a|0&&(i[a>>2]=e,i[a+4>>2]=t),m=(o|0)>>>31|(u|s)<<1|(s<<1|o>>>31)&0|l,h=o<<1&-2|c,w(m|0),h|0}function Or(e,t,n,r){e|=0,t|=0,n|=0,r|=0;var i=0,a=0,o=0,s=0,c=0,l=0;return l=t>>31|((t|0)<0?-1:0)<<1,c=((t|0)<0?-1:0)>>31|((t|0)<0?-1:0)<<1,a=r>>31|((r|0)<0?-1:0)<<1,i=((r|0)<0?-1:0)>>31|((r|0)<0?-1:0)<<1,s=Tr(l^e|0,c^t|0,l|0,c|0)|0,o=T()|0,e=a^l,t=i^c,Tr((Dr(s,o,Tr(a^n|0,i^r|0,a|0,i|0)|0,T()|0,0)|0)^e,(T()|0)^t,e|0,t|0)|0}function kr(e,t){e|=0,t|=0;var n=0,r=0,i=0,a=0;return a=e&65535,i=t&65535,n=b(i,a)|0,r=e>>>16,e=(n>>>16)+(b(i,r)|0)|0,i=t>>>16,t=b(i,a)|0,w((e>>>16)+(b(i,r)|0)+(((e&65535)+t|0)>>>16)|0),e+t<<16|n&65535}function Ar(e,t,n,r){e|=0,t|=0,n|=0,r|=0;var i=0,a=0;return i=e,a=n,n=kr(i,a)|0,e=T()|0,w((b(t,a)|0)+(b(r,i)|0)+e|e&0),n|0}function jr(e,t,n,r){e|=0,t|=0,n|=0,r|=0;var a=0,o=0,s=0,c=0,l=0,u=0;return a=M,M=M+16|0,c=a|0,s=t>>31|((t|0)<0?-1:0)<<1,o=((t|0)<0?-1:0)>>31|((t|0)<0?-1:0)<<1,u=r>>31|((r|0)<0?-1:0)<<1,l=((r|0)<0?-1:0)>>31|((r|0)<0?-1:0)<<1,e=Tr(s^e|0,o^t|0,s|0,o|0)|0,t=T()|0,Dr(e,t,Tr(u^n|0,l^r|0,u|0,l|0)|0,T()|0,c)|0,r=Tr(i[c>>2]^s|0,i[c+4>>2]^o|0,s|0,o|0)|0,n=T()|0,M=a,w(n|0),r|0}function Mr(e,t,n,r){e|=0,t|=0,n|=0,r|=0;var a=0,o=0;return o=M,M=M+16|0,a=o|0,Dr(e,t,n,r,a)|0,M=o,w(i[a+4>>2]|0),i[a>>2]|0}function Nr(e,t,n){return e|=0,t|=0,n|=0,(n|0)<32?(w(t>>n|0),e>>>n|(t&(1<<n)-1)<<32-n):(w(((t|0)<0?-1:0)|0),t>>n-32)}function Q(e,t,n){return e|=0,t|=0,n|=0,(n|0)<32?(w(t>>>n|0),e>>>n|(t&(1<<n)-1)<<32-n):(w(0),t>>>n-32|0)}function $(e,t,n){return e|=0,t|=0,n|=0,(n|0)<32?(w(t<<n|(e&(1<<n)-1<<32-n)>>>32-n),e<<n):(w(e<<n-32),0)}function Pr(e,t,n){return e|=0,t|=0,n|=0,t=C(t)|0,(t|0)==32&&(t=t+(C(e)|0)|0),w(0),t|0}function Fr(e,t){return e=+e,t=+t,e==e?t==t?+S(+e,+t):+e:+t}function Ir(e,t){return e=+e,t=+t,e==e?t==t?+x(+e,+t):+e:+t}function Lr(e){return e=+e,e>=0?+c(e+.5):+y(e-.5)}function Rr(e,t,n){e|=0,t|=0,n|=0;var a=0,o=0,s=0;if((n|0)>=8192)return k(e|0,t|0,n|0)|0,e|0;if(s=e|0,o=e+n|0,(e&3)==(t&3)){for(;e&3;){if(!n)return s|0;r[e|0]=r[t|0]|0,e=e+1|0,t=t+1|0,n=n-1|0}for(n=o&-4,a=n-64|0;(e|0)<=(a|0);)i[e>>2]=i[t>>2],i[e+4>>2]=i[t+4>>2],i[e+8>>2]=i[t+8>>2],i[e+12>>2]=i[t+12>>2],i[e+16>>2]=i[t+16>>2],i[e+20>>2]=i[t+20>>2],i[e+24>>2]=i[t+24>>2],i[e+28>>2]=i[t+28>>2],i[e+32>>2]=i[t+32>>2],i[e+36>>2]=i[t+36>>2],i[e+40>>2]=i[t+40>>2],i[e+44>>2]=i[t+44>>2],i[e+48>>2]=i[t+48>>2],i[e+52>>2]=i[t+52>>2],i[e+56>>2]=i[t+56>>2],i[e+60>>2]=i[t+60>>2],e=e+64|0,t=t+64|0;for(;(e|0)<(n|0);)i[e>>2]=i[t>>2],e=e+4|0,t=t+4|0}else for(n=o-4|0;(e|0)<(n|0);)r[e|0]=r[t|0]|0,r[e+1|0]=r[t+1|0]|0,r[e+2|0]=r[t+2|0]|0,r[e+3|0]=r[t+3|0]|0,e=e+4|0,t=t+4|0;for(;(e|0)<(o|0);)r[e|0]=r[t|0]|0,e=e+1|0,t=t+1|0;return s|0}function zr(e,t,n){e|=0,t|=0,n|=0;var a=0,o=0,s=0,c=0;if(s=e+n|0,t&=255,(n|0)>=67){for(;e&3;)r[e|0]=t,e=e+1|0;for(a=s&-4,c=t|t<<8|t<<16|t<<24,o=a-64|0;(e|0)<=(o|0);)i[e>>2]=c,i[e+4>>2]=c,i[e+8>>2]=c,i[e+12>>2]=c,i[e+16>>2]=c,i[e+20>>2]=c,i[e+24>>2]=c,i[e+28>>2]=c,i[e+32>>2]=c,i[e+36>>2]=c,i[e+40>>2]=c,i[e+44>>2]=c,i[e+48>>2]=c,i[e+52>>2]=c,i[e+56>>2]=c,i[e+60>>2]=c,e=e+64|0;for(;(e|0)<(a|0);)i[e>>2]=c,e=e+4|0}for(;(e|0)<(s|0);)r[e|0]=t,e=e+1|0;return s-n|0}function Br(e){return e=+e,e>=0?+c(e+.5):+y(e-.5)}function Vr(e){e|=0;var t=0,n=0,r=0;return r=O()|0,n=i[s>>2]|0,t=n+e|0,(e|0)>0&(t|0)<(n|0)|(t|0)<0?(j(t|0)|0,D(12),-1):(t|0)>(r|0)&&!(A(t|0)|0)?(D(12),-1):(i[s>>2]=t,n|0)}return{___divdi3:Or,___muldi3:Ar,___remdi3:jr,___uremdi3:Mr,_areNeighborCells:at,_bitshift64Ashr:Nr,_bitshift64Lshr:Q,_bitshift64Shl:$,_calloc:wr,_cellAreaKm2:_n,_cellAreaM2:vn,_cellAreaRads2:gn,_cellToBoundary:Kt,_cellToCenterChild:Mt,_cellToChildPos:Zt,_cellToChildren:At,_cellToChildrenSize:kt,_cellToLatLng:Gt,_cellToLocalIj:kn,_cellToParent:Ot,_cellToVertex:ur,_cellToVertexes:dr,_cellsToDirectedEdge:ot,_cellsToLinkedMultiPolygon:fe,_childPosToCell:Qt,_compactCells:Nt,_constructCell:wt,_destroyLinkedMultiPolygon:wn,_directedEdgeToBoundary:ft,_directedEdgeToCells:ut,_edgeLengthKm:bn,_edgeLengthM:xn,_edgeLengthRads:yn,_emscripten_replace_memory:N,_free:X,_getBaseCellNumber:G,_getDirectedEdgeDestination:ct,_getDirectedEdgeOrigin:st,_getHexagonAreaAvgKm2:un,_getHexagonAreaAvgM2:dn,_getHexagonEdgeLengthAvgKm:fn,_getHexagonEdgeLengthAvgM:pn,_getIcosahedronFaces:Jt,_getIndexDigit:Ct,_getNumCells:mn,_getPentagons:Xt,_getRes0Cells:Ce,_getResolution:St,_greatCircleDistanceKm:sn,_greatCircleDistanceM:Y,_greatCircleDistanceRads:on,_gridDisk:z,_gridDiskDistances:B,_gridDistance:jn,_gridPathCells:Nn,_gridPathCellsSize:Mn,_gridRing:ie,_gridRingUnsafe:ae,_i64Add:Z,_i64Subtract:Tr,_isPentagon:K,_isResClassIII:It,_isValidCell:Tt,_isValidDirectedEdge:lt,_isValidIndex:Et,_isValidVertex:pr,_latLngToCell:q,_llvm_ctlz_i64:Pr,_llvm_maxnum_f64:Fr,_llvm_minnum_f64:Ir,_llvm_round_f64:Lr,_localIjToCell:An,_malloc:Cr,_maxFaceCount:qt,_maxGridDiskSize:ee,_maxPolygonToCellsSize:ce,_maxPolygonToCellsSizeExperimental:Bn,_memcpy:Rr,_memset:zr,_originToDirectedEdges:dt,_pentagonCount:Yt,_polygonToCells:ue,_polygonToCellsExperimental:zn,_readInt64AsDoubleFromPointer:nr,_res0CellCount:Se,_round:Br,_sbrk:Vr,_sizeOfCellBoundary:Zn,_sizeOfCoordIJ:tr,_sizeOfGeoLoop:Qn,_sizeOfGeoPolygon:$n,_sizeOfH3Index:Yn,_sizeOfLatLng:Xn,_sizeOfLinkedGeoPolygon:er,_uncompactCells:Pt,_uncompactCellsSize:Ft,_vertexToLatLng:fr,establishStackSpace:R,stackAlloc:P,stackRestore:I,stackSave:F}})({Math,Int8Array,Int32Array,Uint8Array,Float32Array,Float64Array},{a:Je,b:d,c:f,d:ke,e:Me,f:Ae,g:je,h:Fe,i:Ne,j:Te,k:Ee,l:Pe,m:De,n:Oe,o:we,p:R},O);t.___divdi3=V.___divdi3,t.___muldi3=V.___muldi3,t.___remdi3=V.___remdi3,t.___uremdi3=V.___uremdi3,t._areNeighborCells=V._areNeighborCells,t._bitshift64Ashr=V._bitshift64Ashr,t._bitshift64Lshr=V._bitshift64Lshr,t._bitshift64Shl=V._bitshift64Shl,t._calloc=V._calloc,t._cellAreaKm2=V._cellAreaKm2,t._cellAreaM2=V._cellAreaM2,t._cellAreaRads2=V._cellAreaRads2,t._cellToBoundary=V._cellToBoundary,t._cellToCenterChild=V._cellToCenterChild,t._cellToChildPos=V._cellToChildPos,t._cellToChildren=V._cellToChildren,t._cellToChildrenSize=V._cellToChildrenSize,t._cellToLatLng=V._cellToLatLng,t._cellToLocalIj=V._cellToLocalIj,t._cellToParent=V._cellToParent,t._cellToVertex=V._cellToVertex,t._cellToVertexes=V._cellToVertexes,t._cellsToDirectedEdge=V._cellsToDirectedEdge,t._cellsToLinkedMultiPolygon=V._cellsToLinkedMultiPolygon,t._childPosToCell=V._childPosToCell,t._compactCells=V._compactCells,t._constructCell=V._constructCell,t._destroyLinkedMultiPolygon=V._destroyLinkedMultiPolygon,t._directedEdgeToBoundary=V._directedEdgeToBoundary,t._directedEdgeToCells=V._directedEdgeToCells,t._edgeLengthKm=V._edgeLengthKm,t._edgeLengthM=V._edgeLengthM,t._edgeLengthRads=V._edgeLengthRads;var ze=t._emscripten_replace_memory=V._emscripten_replace_memory;t._free=V._free,t._getBaseCellNumber=V._getBaseCellNumber,t._getDirectedEdgeDestination=V._getDirectedEdgeDestination,t._getDirectedEdgeOrigin=V._getDirectedEdgeOrigin,t._getHexagonAreaAvgKm2=V._getHexagonAreaAvgKm2,t._getHexagonAreaAvgM2=V._getHexagonAreaAvgM2,t._getHexagonEdgeLengthAvgKm=V._getHexagonEdgeLengthAvgKm,t._getHexagonEdgeLengthAvgM=V._getHexagonEdgeLengthAvgM,t._getIcosahedronFaces=V._getIcosahedronFaces,t._getIndexDigit=V._getIndexDigit,t._getNumCells=V._getNumCells,t._getPentagons=V._getPentagons,t._getRes0Cells=V._getRes0Cells,t._getResolution=V._getResolution,t._greatCircleDistanceKm=V._greatCircleDistanceKm,t._greatCircleDistanceM=V._greatCircleDistanceM,t._greatCircleDistanceRads=V._greatCircleDistanceRads,t._gridDisk=V._gridDisk,t._gridDiskDistances=V._gridDiskDistances,t._gridDistance=V._gridDistance,t._gridPathCells=V._gridPathCells,t._gridPathCellsSize=V._gridPathCellsSize,t._gridRing=V._gridRing,t._gridRingUnsafe=V._gridRingUnsafe,t._i64Add=V._i64Add,t._i64Subtract=V._i64Subtract,t._isPentagon=V._isPentagon,t._isResClassIII=V._isResClassIII,t._isValidCell=V._isValidCell,t._isValidDirectedEdge=V._isValidDirectedEdge,t._isValidIndex=V._isValidIndex,t._isValidVertex=V._isValidVertex,t._latLngToCell=V._latLngToCell,t._llvm_ctlz_i64=V._llvm_ctlz_i64,t._llvm_maxnum_f64=V._llvm_maxnum_f64,t._llvm_minnum_f64=V._llvm_minnum_f64,t._llvm_round_f64=V._llvm_round_f64,t._localIjToCell=V._localIjToCell,t._malloc=V._malloc,t._maxFaceCount=V._maxFaceCount,t._maxGridDiskSize=V._maxGridDiskSize,t._maxPolygonToCellsSize=V._maxPolygonToCellsSize,t._maxPolygonToCellsSizeExperimental=V._maxPolygonToCellsSizeExperimental,t._memcpy=V._memcpy,t._memset=V._memset,t._originToDirectedEdges=V._originToDirectedEdges,t._pentagonCount=V._pentagonCount,t._polygonToCells=V._polygonToCells,t._polygonToCellsExperimental=V._polygonToCellsExperimental,t._readInt64AsDoubleFromPointer=V._readInt64AsDoubleFromPointer,t._res0CellCount=V._res0CellCount,t._round=V._round,t._sbrk=V._sbrk,t._sizeOfCellBoundary=V._sizeOfCellBoundary,t._sizeOfCoordIJ=V._sizeOfCoordIJ,t._sizeOfGeoLoop=V._sizeOfGeoLoop,t._sizeOfGeoPolygon=V._sizeOfGeoPolygon,t._sizeOfH3Index=V._sizeOfH3Index,t._sizeOfLatLng=V._sizeOfLatLng,t._sizeOfLinkedGeoPolygon=V._sizeOfLinkedGeoPolygon,t._uncompactCells=V._uncompactCells,t._uncompactCellsSize=V._uncompactCellsSize,t._vertexToLatLng=V._vertexToLatLng,t.establishStackSpace=V.establishStackSpace;var Be=t.stackAlloc=V.stackAlloc,Ve=t.stackRestore=V.stackRestore,He=t.stackSave=V.stackSave;if(t.asm=V,t.cwrap=b,t.setValue=m,t.getValue=h,ye){xe(ye)||(ye=o(ye)),_e(`memory initializer`);var Ue=function(e){e.byteLength&&(e=new Uint8Array(e)),A.set(e,p),t.memoryInitializerRequest&&delete t.memoryInitializerRequest.response,ve(`memory initializer`)},We=function(){s(ye,Ue,function(){throw`could not load memory initializer `+ye})},Ge=Re(ye);if(Ge)Ue(Ge.buffer);else if(t.memoryInitializerRequest){var Ke=function(){var e=t.memoryInitializerRequest,n=e.response;if(e.status!==200&&e.status!==0){var r=Re(t.memoryInitializerRequestURL);if(r)n=r.buffer;else{console.warn(`a problem seems to have happened with Module.memoryInitializerRequest, status: `+e.status+`, retrying `+ye),We();return}}Ue(n)};t.memoryInitializerRequest.response?setTimeout(Ke,0):t.memoryInitializerRequest.addEventListener(`load`,Ke)}else We()}var qe;ge=function e(){qe||H(),qe||(ge=e)};function H(e){if(e||=i,me>0||(ie(),me>0))return;function n(){qe||(qe=!0,g||(ae(),oe(),t.onRuntimeInitialized&&t.onRuntimeInitialized(),se()))}t.setStatus?(t.setStatus(`Running...`),setTimeout(function(){setTimeout(function(){t.setStatus(``)},1),n()},1)):n()}t.run=H;function Je(e){throw t.onAbort&&t.onAbort(e),e+=``,c(e),l(e),g=!0,`abort(`+e+`). Build with -s ASSERTIONS=1 for more info.`}if(t.abort=Je,t.preInit)for(typeof t.preInit==`function`&&(t.preInit=[t.preInit]);t.preInit.length>0;)t.preInit.pop()();return H(),e}(typeof y==`object`?y:{}),b=`number`,x=b,S=b,C=b,w=b,T=b,E=b,D=[[`sizeOfH3Index`,b],[`sizeOfLatLng`,b],[`sizeOfCellBoundary`,b],[`sizeOfGeoLoop`,b],[`sizeOfGeoPolygon`,b],[`sizeOfLinkedGeoPolygon`,b],[`sizeOfCoordIJ`,b],[`readInt64AsDoubleFromPointer`,b],[`isValidCell`,S,[C,w]],[`isValidIndex`,S,[C,w]],[`latLngToCell`,x,[b,b,T,E]],[`cellToLatLng`,x,[C,w,E]],[`cellToBoundary`,x,[C,w,E]],[`maxGridDiskSize`,x,[b,E]],[`gridDisk`,x,[C,w,b,E]],[`gridDiskDistances`,x,[C,w,b,E,E]],[`gridRing`,x,[C,w,b,E]],[`gridRingUnsafe`,x,[C,w,b,E]],[`maxPolygonToCellsSize`,x,[E,T,b,E]],[`polygonToCells`,x,[E,T,b,E]],[`maxPolygonToCellsSizeExperimental`,x,[E,T,b,E]],[`polygonToCellsExperimental`,x,[E,T,b,b,b,E]],[`cellsToLinkedMultiPolygon`,x,[E,b,E]],[`destroyLinkedMultiPolygon`,null,[E]],[`compactCells`,x,[E,E,b,b]],[`uncompactCells`,x,[E,b,b,E,b,T]],[`uncompactCellsSize`,x,[E,b,b,T,E]],[`isPentagon`,S,[C,w]],[`isResClassIII`,S,[C,w]],[`getBaseCellNumber`,b,[C,w]],[`getResolution`,b,[C,w]],[`getIndexDigit`,b,[C,w,b]],[`constructCell`,x,[b,b,E,E]],[`maxFaceCount`,x,[C,w,E]],[`getIcosahedronFaces`,x,[C,w,E]],[`cellToParent`,x,[C,w,T,E]],[`cellToChildren`,x,[C,w,T,E]],[`cellToCenterChild`,x,[C,w,T,E]],[`cellToChildrenSize`,x,[C,w,T,E]],[`cellToChildPos`,x,[C,w,T,E]],[`childPosToCell`,x,[b,b,C,w,T,E]],[`areNeighborCells`,x,[C,w,C,w,E]],[`cellsToDirectedEdge`,x,[C,w,C,w,E]],[`getDirectedEdgeOrigin`,x,[C,w,E]],[`getDirectedEdgeDestination`,x,[C,w,E]],[`isValidDirectedEdge`,S,[C,w]],[`directedEdgeToCells`,x,[C,w,E]],[`originToDirectedEdges`,x,[C,w,E]],[`directedEdgeToBoundary`,x,[C,w,E]],[`gridDistance`,x,[C,w,C,w,E]],[`gridPathCells`,x,[C,w,C,w,E]],[`gridPathCellsSize`,x,[C,w,C,w,E]],[`cellToLocalIj`,x,[C,w,C,w,b,E]],[`localIjToCell`,x,[C,w,E,b,E]],[`getHexagonAreaAvgM2`,x,[T,E]],[`getHexagonAreaAvgKm2`,x,[T,E]],[`getHexagonEdgeLengthAvgM`,x,[T,E]],[`getHexagonEdgeLengthAvgKm`,x,[T,E]],[`greatCircleDistanceM`,b,[E,E]],[`greatCircleDistanceKm`,b,[E,E]],[`greatCircleDistanceRads`,b,[E,E]],[`cellAreaM2`,x,[C,w,E]],[`cellAreaKm2`,x,[C,w,E]],[`cellAreaRads2`,x,[C,w,E]],[`edgeLengthM`,x,[C,w,E]],[`edgeLengthKm`,x,[C,w,E]],[`edgeLengthRads`,x,[C,w,E]],[`getNumCells`,x,[T,E]],[`getRes0Cells`,x,[E]],[`res0CellCount`,b],[`getPentagons`,x,[b,E]],[`pentagonCount`,b],[`cellToVertex`,x,[C,w,b,E]],[`cellToVertexes`,x,[C,w,E]],[`vertexToLatLng`,x,[C,w,E]],[`isValidVertex`,S,[C,w]]],O=0,k=1,A=2,j=3,M=4,N=5,P=6,F=7,I=8,R=9,ee=10,z=11,B=12,te=13,ne=14,re=15,ie=16,ae=17,oe=18,se=19,ce={};ce[O]=`Success`,ce[k]=`The operation failed but a more specific error is not available`,ce[A]=`Argument was outside of acceptable range`,ce[j]=`Latitude or longitude arguments were outside of acceptable range`,ce[M]=`Resolution argument was outside of acceptable range`,ce[N]=`Cell argument was not valid`,ce[P]=`Directed edge argument was not valid`,ce[F]=`Undirected edge argument was not valid`,ce[I]=`Vertex argument was not valid`,ce[R]=`Pentagon distortion was encountered`,ce[ee]=`Duplicate input`,ce[z]=`Cell arguments were not neighbors`,ce[B]=`Cell arguments had incompatible resolutions`,ce[te]=`Memory allocation failed`,ce[ne]=`Bounds of provided memory were insufficient`,ce[re]=`Mode or flags argument was not valid`,ce[ie]=`Index argument was not valid`,ce[ae]=`Base cell number was outside of acceptable range`,ce[oe]=`Child indexing digits invalid`,ce[se]=`Child indexing digits refer to a deleted subsequence`;var le=1e3,ue=1001,de=1002,fe={};fe[le]=`Unknown unit`,fe[ue]=`Array length out of bounds`,fe[de]=`Got unexpected null value for H3 index`;var pe=`Unknown error`;function me(e,t,n){var r=n&&`value`in n,i=Error((e[t]||pe)+` (code: `+t+(r?`, value: `+n.value:``)+`)`);return i.code=t,i}function he(e,t){return me(ce,e,arguments.length===2?{value:t}:{})}function ge(e,t){return me(fe,e,arguments.length===2?{value:t}:{})}function _e(e){if(e!==0)throw he(e)}var ve={};D.forEach(function(e){ve[e[0]]=y.cwrap.apply(y,e)});var ye=16,be=4,xe=8,Se=8,Ce=ve.sizeOfH3Index(),we=ve.sizeOfLatLng(),Te=ve.sizeOfCellBoundary();ve.sizeOfGeoPolygon(),ve.sizeOfGeoLoop(),ve.sizeOfLinkedGeoPolygon(),ve.sizeOfCoordIJ();function Ee(e){if(!e)throw ge(de);return e}var De=2**32-1;function Oe(e){if(e>De)throw ge(ue,e);return e}var ke=/[^0-9a-fA-F]/;function Ae(e){if(Array.isArray(e)&&e.length===2&&Number.isInteger(e[0])&&Number.isInteger(e[1]))return e;if(typeof e!=`string`||ke.test(e))return[0,0];var t=parseInt(e.substring(0,e.length-8),ye);return[parseInt(e.substring(e.length-8),ye),t]}function je(e){if(e>=0)return e.toString(ye);e&=2147483647;var t=Ne(8,e.toString(ye));return t=(parseInt(t[0],ye)+8).toString(ye)+t.substring(1),t}function Me(e,t){return je(t)+Ne(8,je(e))}function Ne(e,t){for(var n=e-t.length,r=``,i=0;i<n;i++)r+=`0`;return r+=t,r}function Pe(e,t){t===void 0&&(t=0);var n=y.getValue(e+Ce*t,`i32`),r=y.getValue(e+Ce*t+be,`i32`);return r?Me(n,r):null}function Fe(e){return ve.readInt64AsDoubleFromPointer(e)}function Ie(e,t){for(var n=[],r=0;r<t;r++){var i=Pe(e,r);i!==null&&n.push(i)}return n}function Le(e){return We(y.getValue(e,`double`))}function Re(e){return[Le(e),Le(e+xe)]}function V(e){return[Le(e+xe),Le(e)]}function ze(e,t,n){for(var r=y.getValue(e,`i32`),i=e+xe,a=[],o=t?V:Re,s=0;s<r*2;s+=2)a.push(o(i+xe*s));return n&&a.push(a[0]),a}function Be(e,t,n){var r=y._malloc(we);y.HEAPF64.set([e,t].map(Ue),r/xe);var i=y._malloc(Ce);try{return _e(ve.latLngToCell(r,n,i)),Ee(Pe(i))}finally{y._free(i),y._free(r)}}function Ve(e,t){var n=y._malloc(Te),r=Ae(e),i=r[0],a=r[1];try{return _e(ve.cellToBoundary(i,a,n)),ze(n,t,t)}finally{y._free(n)}}function He(e,t){var n=Ae(e),r=n[0],i=n[1],a=y._malloc(Se);try{_e(ve.maxGridDiskSize(t,a));var o=Oe(Fe(a)),s=y._calloc(o,Ce);try{return _e(ve.gridDisk(r,i,t,s)),Ie(s,o)}finally{y._free(s)}}finally{y._free(a)}}function Ue(e){return e*Math.PI/180}function We(e){return e*180/Math.PI}function Ge(e,t,n){return He(Be(e[0],e[1],n),t).map(e=>Ve(e))}function Ke(e){return e.map(e=>Ve(e))}function qe(e,t=.0016){if(e.length<2)return;let n=e[e.length-1],r=e[e.length-2],i=Math.max(Math.cos(n[0]*Math.PI/180),1e-6),a=e=>[e[1]*i,e[0]],o=e=>[e[1],e[0]/i],s=a(n),c=a(r),l=s[0]-c[0],u=s[1]-c[1],d=Math.hypot(l,u)||1;l/=d,u/=d;let f=-u,p=l,m=t,h=t*.6,g=s[0]-l*m,_=s[1]-u*m;return[n,o([g+f*h,_+p*h]),o([g-f*h,_-p*h])]}function H(e){let t=1/0,n=1/0,r=-1/0,i=-1/0;for(let a of e)for(let[e,o]of a)e<t&&(t=e),e>r&&(r=e),o<n&&(n=o),o>i&&(i=o);if(Number.isFinite(t))return[[t,n],[r,i]]}t.add(r);function Je(t){let n=e({prefix:`fas`,iconName:t});return n?p(n).html.join(``):``}function Ye(e){let t=e.shape;return t.type===`hexDisk`?Ge([t.value.center.lat,t.value.center.lng],Number(t.value.k),Number(t.value.resolution)):t.type===`cells`?Ke(t.value):[t.value.map(e=>[e.lat,e.lng])]}function Xe({value:e,containerClassName:t,onAreaClickFn:r,onMarkerClickFn:i,onZoomFn:a,onSelectFn:l,onZoomChange:d}){let p=(0,g.useRef)(null),m=(0,g.useRef)(null),y=(0,g.useRef)(null),[b,x]=(0,g.useState)(()=>Number(e.zoom)),S=(0,g.useRef)({onAreaClickFn:r,onMarkerClickFn:i,onZoomFn:a,onSelectFn:l,onZoomChange:d});S.current={onAreaClickFn:r,onMarkerClickFn:i,onZoomFn:a,onSelectFn:l,onZoomChange:d};let C=c(e.lodZoom),w=C!==void 0&&b>=Number(C);return(0,g.useEffect)(()=>{let t=p.current;if(t===null)return;let r=v.default.map(t,{center:[e.center.lat,e.center.lng],zoom:Number(e.zoom),minZoom:e.minZoom.type===`some`?Number(e.minZoom.value):void 0,maxZoom:e.maxZoom.type===`some`?Number(e.maxZoom.value):void 0,scrollWheelZoom:c(e.scrollWheelZoom)??!0,attributionControl:!0});m.current=r;let i=n(e.tiles);v.default.tileLayer(i.url,{subdomains:i.subdomains,attribution:i.attribution,maxZoom:i.maxZoom,detectRetina:i.detectRetina}).addTo(r),(c(e.attributionPrefix)??!1)!==!0&&r.attributionControl.setPrefix(!1);let a=c(e.fitBounds);a!==void 0&&(a.type===`bounds`?r.fitBounds([[a.value.sw.lat,a.value.sw.lng],[a.value.ne.lat,a.value.ne.lng]]):r.setView([a.value.center.lat,a.value.center.lng],Number(a.value.zoom))),y.current=v.default.layerGroup().addTo(r),r.invalidateSize();let o=setTimeout(()=>r.invalidateSize(),250),s=()=>{let e=r.getZoom();x(e),S.current.onZoomChange?.(e),S.current.onZoomFn?.(BigInt(Math.round(e)))};return r.on(`zoomend`,s),()=>{clearTimeout(o),r.off(`zoomend`,s),r.remove(),m.current=null,y.current=null}},[]),(0,g.useEffect)(()=>{let t=m.current,n=y.current;if(t===null||n===null)return;n.clearLayers();let r=c(e.hexes);if(r!==void 0){let e=c(r.lattice);if(e!==void 0){let t=Ge([e.center.lat,e.center.lng],Number(e.k),Number(e.resolution));for(let e of t)v.default.polygon(e,{className:`elara-map-hex`,interactive:!1}).addTo(n)}let t=c(r.interactive)??!1;for(let e of r.cells){let r=Ke([e.id])[0];if(r===void 0)continue;let i=c(e.status),a=c(e.detail),o=v.default.polygon(r,{className:u(i?.type),weight:.6,fillOpacity:e.fillOpacity.type===`some`?e.fillOpacity.value:.12,interactive:t}).addTo(n);w&&a!==void 0&&o.bindTooltip(a,{permanent:!0,direction:`center`,className:`elara-map-tip`,opacity:1})}}for(let r of e.areas){let e=Ye(r),i=f(r),a=c(r.label),o=c(r.detailLabel),s=w?o??a:a,l=c(r.flyTo),u=c(r.color),d=S.current.onAreaClickFn!==void 0||S.current.onSelectFn!==void 0,p=c(r.interactive)??(d||l!==void 0),m=e.map(e=>v.default.polygon(e,{className:i,weight:r.weight.type===`some`?r.weight.value:1.5,fillOpacity:r.fillOpacity.type===`some`?r.fillOpacity.value:.14,interactive:p,...u===void 0?{}:{color:u,fillColor:u}}).addTo(n));if(p){let n=()=>{if(S.current.onAreaClickFn?.(r.key),S.current.onSelectFn?.(r.key),l!==void 0)l.type===`point`?t.flyTo([l.value.center.lat,l.value.center.lng],Number(l.value.zoom),{duration:1.1}):t.flyToBounds([[l.value.sw.lat,l.value.sw.lng],[l.value.ne.lat,l.value.ne.lng]],{duration:1.1});else if(d){let n=H(e);n!==void 0&&t.flyToBounds(n,{duration:1.1})}};for(let e of m)e.on(`click`,n)}s!==void 0&&m[0]!==void 0&&m[0].bindTooltip(s,{permanent:!0,direction:`top`,className:`elara-map-tip`,opacity:1})}for(let t of e.lines){let e=t.style.type===`dashed`,r=t.style.value.weight.type===`some`?t.style.value.weight.value:e?2:2.5,i=t.points.map(e=>[e.lat,e.lng]);if(v.default.polyline(i,{className:s(t),weight:r,dashArray:e?`6 8`:void 0,interactive:!1}).addTo(n),c(t.arrow)??!1){let e=qe(i);e!==void 0&&v.default.polygon(e,{className:o(t),weight:1,interactive:!1}).addTo(n)}}for(let t of e.labels)v.default.marker([t.at.lat,t.at.lng],{interactive:!1,icon:v.default.divIcon({className:`elara-map-label`,html:Ze(t.text)})}).addTo(n);for(let t of e.markers){let e=c(t.minZoom);if(e!==void 0&&b<Number(e))continue;let r=c(t.label),i=c(t.interactive)??!0,a=h(t),o=c(t.icon),s=o===void 0?``:Je(o),l=s===``?`<span class="elara-map-pin-dot elara-map-pin-dot${a}"></span>`:`<span class="elara-map-pin-icon elara-map-pin-icon${a}">${s}</span>`,u=r===void 0?``:`<span class="elara-map-pin-label">${Ze(r)}</span>`,d=v.default.marker([t.at.lat,t.at.lng],{interactive:i,icon:v.default.divIcon({className:`elara-map-pin`,html:`${l}${u}`})}).addTo(n);i&&d.on(`click`,()=>{S.current.onMarkerClickFn?.(t.key),S.current.onSelectFn?.(t.key)})}},[e,w,b]),(0,_.jsx)(`div`,{ref:p,className:t,style:{height:`100%`,width:`100%`}})}function Ze(e){return e.replace(/[&<>"']/g,e=>e===`&`?`&`:e===`<`?`<`:e===`>`?`>`:e===`"`?`"`:`'`)}export{Xe as default};
|