From 3207ceb76fd3d840e0fc7613563467a316600d45 Mon Sep 17 00:00:00 2001 From: Rafnuss Date: Wed, 12 Jul 2023 13:52:41 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20Zoziolog?= =?UTF-8?q?ie/view-geojson@29edda591ec05b0c9bd5a9cc302286ee076e33b8=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/{index-5bf0f62d.js => index-9a2092e7.js} | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename assets/{index-5bf0f62d.js => index-9a2092e7.js} (99%) diff --git a/assets/index-5bf0f62d.js b/assets/index-9a2092e7.js similarity index 99% rename from assets/index-5bf0f62d.js rename to assets/index-9a2092e7.js index 505c7aa..c2ac6c5 100644 --- a/assets/index-5bf0f62d.js +++ b/assets/index-9a2092e7.js @@ -8,7 +8,7 @@ */(function(e,t){(function(a,n){n(t)})(Ju,function(a){var n="1.9.3";function i(r){var l,d,m,b;for(d=1,m=arguments.length;d"u"||!L||!L.Mixin)){r=x(r)?r:[r];for(var l=0;l0?Math.floor(r):Math.ceil(r)};N.prototype={clone:function(){return new N(this.x,this.y)},add:function(r){return this.clone()._add(G(r))},_add:function(r){return this.x+=r.x,this.y+=r.y,this},subtract:function(r){return this.clone()._subtract(G(r))},_subtract:function(r){return this.x-=r.x,this.y-=r.y,this},divideBy:function(r){return this.clone()._divideBy(r)},_divideBy:function(r){return this.x/=r,this.y/=r,this},multiplyBy:function(r){return this.clone()._multiplyBy(r)},_multiplyBy:function(r){return this.x*=r,this.y*=r,this},scaleBy:function(r){return new N(this.x*r.x,this.y*r.y)},unscaleBy:function(r){return new N(this.x/r.x,this.y/r.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=ht(this.x),this.y=ht(this.y),this},distanceTo:function(r){r=G(r);var l=r.x-this.x,d=r.y-this.y;return Math.sqrt(l*l+d*d)},equals:function(r){return r=G(r),r.x===this.x&&r.y===this.y},contains:function(r){return r=G(r),Math.abs(r.x)<=Math.abs(this.x)&&Math.abs(r.y)<=Math.abs(this.y)},toString:function(){return"Point("+y(this.x)+", "+y(this.y)+")"}};function G(r,l,d){return r instanceof N?r:x(r)?new N(r[0],r[1]):r==null?r:typeof r=="object"&&"x"in r&&"y"in r?new N(r.x,r.y):new N(r,l,d)}function Q(r,l){if(r)for(var d=l?[r,l]:r,m=0,b=d.length;m=this.min.x&&d.x<=this.max.x&&l.y>=this.min.y&&d.y<=this.max.y},intersects:function(r){r=ut(r);var l=this.min,d=this.max,m=r.min,b=r.max,M=b.x>=l.x&&m.x<=d.x,A=b.y>=l.y&&m.y<=d.y;return M&&A},overlaps:function(r){r=ut(r);var l=this.min,d=this.max,m=r.min,b=r.max,M=b.x>l.x&&m.xl.y&&m.y=l.lat&&b.lat<=d.lat&&m.lng>=l.lng&&b.lng<=d.lng},intersects:function(r){r=Ft(r);var l=this._southWest,d=this._northEast,m=r.getSouthWest(),b=r.getNorthEast(),M=b.lat>=l.lat&&m.lat<=d.lat,A=b.lng>=l.lng&&m.lng<=d.lng;return M&&A},overlaps:function(r){r=Ft(r);var l=this._southWest,d=this._northEast,m=r.getSouthWest(),b=r.getNorthEast(),M=b.lat>l.lat&&m.latl.lng&&m.lng1,nz=function(){var r=!1;try{var l=Object.defineProperty({},"passive",{get:function(){r=!0}});window.addEventListener("testPassiveEventSupport",g,l),window.removeEventListener("testPassiveEventSupport",g,l)}catch{}return r}(),rz=function(){return!!document.createElement("canvas").getContext}(),bl=!!(document.createElementNS&&pl("svg").createSVGRect),iz=!!bl&&function(){var r=document.createElement("div");return r.innerHTML="",(r.firstChild&&r.firstChild.namespaceURI)==="http://www.w3.org/2000/svg"}(),oz=!bl&&function(){try{var r=document.createElement("div");r.innerHTML='';var l=r.firstChild;return l.style.behavior="url(#default#VML)",l&&typeof l.adj=="object"}catch{return!1}}(),sz=navigator.platform.indexOf("Mac")===0,lz=navigator.platform.indexOf("Linux")===0;function e1(r){return navigator.userAgent.toLowerCase().indexOf(r)>=0}var lt={ie:Qi,ielt9:Gy,edge:ud,webkit:ml,android:hd,android23:dd,androidStock:Zy,opera:gl,chrome:fd,gecko:pd,safari:qy,phantom:vd,opera12:md,win:Ky,ie3d:gd,webkit3d:_l,gecko3d:_d,any3d:Xy,mobile:fr,mobileWebkit:Yy,mobileWebkit3d:Jy,msPointer:bd,pointer:yd,touch:Qy,touchNative:zd,mobileOpera:tz,mobileGecko:ez,retina:az,passiveEvents:nz,canvas:rz,svg:bl,vml:oz,inlineSvg:iz,mac:sz,linux:lz},Od=lt.msPointer?"MSPointerDown":"pointerdown",Md=lt.msPointer?"MSPointerMove":"pointermove",Bd=lt.msPointer?"MSPointerUp":"pointerup",Cd=lt.msPointer?"MSPointerCancel":"pointercancel",yl={touchstart:Od,touchmove:Md,touchend:Bd,touchcancel:Cd},Ad={touchstart:pz,touchmove:to,touchend:to,touchcancel:to},pn={},Ld=!1;function cz(r,l,d){return l==="touchstart"&&fz(),Ad[l]?(d=Ad[l].bind(this,d),r.addEventListener(yl[l],d,!1),d):(console.warn("wrong event specified:",l),g)}function uz(r,l,d){if(!yl[l]){console.warn("wrong event specified:",l);return}r.removeEventListener(yl[l],d,!1)}function hz(r){pn[r.pointerId]=r}function dz(r){pn[r.pointerId]&&(pn[r.pointerId]=r)}function Id(r){delete pn[r.pointerId]}function fz(){Ld||(document.addEventListener(Od,hz,!0),document.addEventListener(Md,dz,!0),document.addEventListener(Bd,Id,!0),document.addEventListener(Cd,Id,!0),Ld=!0)}function to(r,l){if(l.pointerType!==(l.MSPOINTER_TYPE_MOUSE||"mouse")){l.touches=[];for(var d in pn)l.touches.push(pn[d]);l.changedTouches=[l],r(l)}}function pz(r,l){l.MSPOINTER_TYPE_TOUCH&&l.pointerType===l.MSPOINTER_TYPE_TOUCH&&Pe(l),to(r,l)}function vz(r){var l={},d,m;for(m in r)d=r[m],l[m]=d&&d.bind?d.bind(r):d;return r=l,l.type="dblclick",l.detail=2,l.isTrusted=!1,l._simulated=!0,l}var mz=200;function gz(r,l){r.addEventListener("dblclick",l);var d=0,m;function b(M){if(M.detail!==1){m=M.detail;return}if(!(M.pointerType==="mouse"||M.sourceCapabilities&&!M.sourceCapabilities.firesTouchEvents)){var A=Vd(M);if(!(A.some(function(H){return H instanceof HTMLLabelElement&&H.attributes.for})&&!A.some(function(H){return H instanceof HTMLInputElement||H instanceof HTMLSelectElement}))){var T=Date.now();T-d<=mz?(m++,m===2&&l(vz(M))):m=1,d=T}}}return r.addEventListener("click",b),{dblclick:l,simDblclick:b}}function _z(r,l){r.removeEventListener("dblclick",l.dblclick),r.removeEventListener("click",l.simDblclick)}var zl=no(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),pr=no(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),Sd=pr==="webkitTransition"||pr==="OTransition"?pr+"End":"transitionend";function wd(r){return typeof r=="string"?document.getElementById(r):r}function vr(r,l){var d=r.style[l]||r.currentStyle&&r.currentStyle[l];if((!d||d==="auto")&&document.defaultView){var m=document.defaultView.getComputedStyle(r,null);d=m?m[l]:null}return d==="auto"?null:d}function kt(r,l,d){var m=document.createElement(r);return m.className=l||"",d&&d.appendChild(m),m}function ie(r){var l=r.parentNode;l&&l.removeChild(r)}function eo(r){for(;r.firstChild;)r.removeChild(r.firstChild)}function vn(r){var l=r.parentNode;l&&l.lastChild!==r&&l.appendChild(r)}function mn(r){var l=r.parentNode;l&&l.firstChild!==r&&l.insertBefore(r,l.firstChild)}function Ol(r,l){if(r.classList!==void 0)return r.classList.contains(l);var d=ao(r);return d.length>0&&new RegExp("(^|\\s)"+l+"(\\s|$)").test(d)}function wt(r,l){if(r.classList!==void 0)for(var d=_(l),m=0,b=d.length;m0?2*window.devicePixelRatio:1;function Fd(r){return lt.edge?r.wheelDeltaY/2:r.deltaY&&r.deltaMode===0?-r.deltaY/zz:r.deltaY&&r.deltaMode===1?-r.deltaY*20:r.deltaY&&r.deltaMode===2?-r.deltaY*60:r.deltaX||r.deltaZ?0:r.wheelDelta?(r.wheelDeltaY||r.wheelDelta)/2:r.detail&&Math.abs(r.detail)<32765?-r.detail*20:r.detail?r.detail/-32765*60:0}function Hl(r,l){var d=l.relatedTarget;if(!d)return!0;try{for(;d&&d!==r;)d=d.parentNode}catch{return!1}return d!==r}var Oz={__proto__:null,on:Lt,off:Jt,stopPropagation:Ca,disableScrollPropagation:Vl,disableClickPropagation:br,preventDefault:Pe,stop:Aa,getPropagationPath:Vd,getMousePosition:Hd,getWheelDelta:Fd,isExternalTarget:Hl,addListener:Lt,removeListener:Jt},Ed=st.extend({run:function(r,l,d,m){this.stop(),this._el=r,this._inProgress=!0,this._duration=d||.25,this._easeOutPower=1/Math.max(m||.5,.2),this._startPos=Ba(r),this._offset=l.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=nt(this._animate,this),this._step()},_step:function(r){var l=+new Date-this._startTime,d=this._duration*1e3;lthis.options.maxZoom)?this.setZoom(r):this},panInsideBounds:function(r,l){this._enforcingBounds=!0;var d=this.getCenter(),m=this._limitCenter(d,this._zoom,Ft(r));return d.equals(m)||this.panTo(m,l),this._enforcingBounds=!1,this},panInside:function(r,l){l=l||{};var d=G(l.paddingTopLeft||l.padding||[0,0]),m=G(l.paddingBottomRight||l.padding||[0,0]),b=this.project(this.getCenter()),M=this.project(r),A=this.getPixelBounds(),T=ut([A.min.add(d),A.max.subtract(m)]),H=T.getSize();if(!T.contains(M)){this._enforcingBounds=!0;var R=M.subtract(T.getCenter()),X=T.extend(M).getSize().subtract(H);b.x+=R.x<0?-X.x:X.x,b.y+=R.y<0?-X.y:X.y,this.panTo(this.unproject(b),l),this._enforcingBounds=!1}return this},invalidateSize:function(r){if(!this._loaded)return this;r=i({animate:!1,pan:!0},r===!0?{animate:!0}:r);var l=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var d=this.getSize(),m=l.divideBy(2).round(),b=d.divideBy(2).round(),M=m.subtract(b);return!M.x&&!M.y?this:(r.animate&&r.pan?this.panBy(M):(r.pan&&this._rawPanBy(M),this.fire("move"),r.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(s(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:l,newSize:d}))},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(r){if(r=this._locateOptions=i({timeout:1e4,watch:!1},r),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var l=s(this._handleGeolocationResponse,this),d=s(this._handleGeolocationError,this);return r.watch?this._locationWatchId=navigator.geolocation.watchPosition(l,d,r):navigator.geolocation.getCurrentPosition(l,d,r),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(r){if(this._container._leaflet_id){var l=r.code,d=r.message||(l===1?"permission denied":l===2?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:l,message:"Geolocation error: "+d+"."})}},_handleGeolocationResponse:function(r){if(this._container._leaflet_id){var l=r.coords.latitude,d=r.coords.longitude,m=new _t(l,d),b=m.toBounds(r.coords.accuracy*2),M=this._locateOptions;if(M.setView){var A=this.getBoundsZoom(b);this.setView(m,M.maxZoom?Math.min(A,M.maxZoom):A)}var T={latlng:m,bounds:b,timestamp:r.timestamp};for(var H in r.coords)typeof r.coords[H]=="number"&&(T[H]=r.coords[H]);this.fire("locationfound",T)}},addHandler:function(r,l){if(!l)return this;var d=this[r]=new l(this);return this._handlers.push(d),this.options[r]&&d.enable(),this},remove:function(){if(this._initEvents(!0),this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new 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}this._locationWatchId!==void 0&&this.stopLocate(),this._stop(),ie(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(S(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload");var r;for(r in this._layers)this._layers[r].remove();for(r in this._panes)ie(this._panes[r]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(r,l){var d="leaflet-pane"+(r?" leaflet-"+r.replace("Pane","")+"-pane":""),m=kt("div",d,l||this._mapPane);return r&&(this._panes[r]=m),m},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var r=this.getPixelBounds(),l=this.unproject(r.getBottomLeft()),d=this.unproject(r.getTopRight());return new At(l,d)},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(r,l,d){r=Ft(r),d=G(d||[0,0]);var m=this.getZoom()||0,b=this.getMinZoom(),M=this.getMaxZoom(),A=r.getNorthWest(),T=r.getSouthEast(),H=this.getSize().subtract(d),R=ut(this.project(T,m),this.project(A,m)).getSize(),X=lt.any3d?this.options.zoomSnap:1,yt=H.x/R.x,Et=H.y/R.y,L0=l?Math.max(yt,Et):Math.min(yt,Et);return m=this.getScaleZoom(L0,m),X&&(m=Math.round(m/(X/100))*(X/100),m=l?Math.ceil(m/X)*X:Math.floor(m/X)*X),Math.max(b,Math.min(M,m))},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new N(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(r,l){var d=this._getTopLeftPoint(r,l);return new Q(d,d.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(r){return this.options.crs.getProjectedBounds(r===void 0?this.getZoom():r)},getPane:function(r){return typeof r=="string"?this._panes[r]:r},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(r,l){var d=this.options.crs;return l=l===void 0?this._zoom:l,d.scale(r)/d.scale(l)},getScaleZoom:function(r,l){var d=this.options.crs;l=l===void 0?this._zoom:l;var m=d.zoom(r*d.scale(l));return isNaN(m)?1/0:m},project:function(r,l){return l=l===void 0?this._zoom:l,this.options.crs.latLngToPoint(bt(r),l)},unproject:function(r,l){return l=l===void 0?this._zoom:l,this.options.crs.pointToLatLng(G(r),l)},layerPointToLatLng:function(r){var l=G(r).add(this.getPixelOrigin());return this.unproject(l)},latLngToLayerPoint:function(r){var l=this.project(bt(r))._round();return l._subtract(this.getPixelOrigin())},wrapLatLng:function(r){return this.options.crs.wrapLatLng(bt(r))},wrapLatLngBounds:function(r){return this.options.crs.wrapLatLngBounds(Ft(r))},distance:function(r,l){return this.options.crs.distance(bt(r),bt(l))},containerPointToLayerPoint:function(r){return G(r).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(r){return G(r).add(this._getMapPanePos())},containerPointToLatLng:function(r){var l=this.containerPointToLayerPoint(G(r));return this.layerPointToLatLng(l)},latLngToContainerPoint:function(r){return this.layerPointToContainerPoint(this.latLngToLayerPoint(bt(r)))},mouseEventToContainerPoint:function(r){return Hd(r,this._container)},mouseEventToLayerPoint:function(r){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(r))},mouseEventToLatLng:function(r){return this.layerPointToLatLng(this.mouseEventToLayerPoint(r))},_initContainer:function(r){var l=this._container=wd(r);if(l){if(l._leaflet_id)throw new Error("Map container is already initialized.")}else throw new Error("Map container not found.");Lt(l,"scroll",this._onScroll,this),this._containerId=h(l)},_initLayout:function(){var r=this._container;this._fadeAnimated=this.options.fadeAnimation&<.any3d,wt(r,"leaflet-container"+(lt.touch?" leaflet-touch":"")+(lt.retina?" leaflet-retina":"")+(lt.ielt9?" leaflet-oldie":"")+(lt.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var l=vr(r,"position");l!=="absolute"&&l!=="relative"&&l!=="fixed"&&l!=="sticky"&&(r.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var r=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),be(this._mapPane,new N(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(wt(r.markerPane,"leaflet-zoom-hide"),wt(r.shadowPane,"leaflet-zoom-hide"))},_resetView:function(r,l,d){be(this._mapPane,new N(0,0));var m=!this._loaded;this._loaded=!0,l=this._limitZoom(l),this.fire("viewprereset");var b=this._zoom!==l;this._moveStart(b,d)._move(r,l)._moveEnd(b),this.fire("viewreset"),m&&this.fire("load")},_moveStart:function(r,l){return r&&this.fire("zoomstart"),l||this.fire("movestart"),this},_move:function(r,l,d,m){l===void 0&&(l=this._zoom);var b=this._zoom!==l;return this._zoom=l,this._lastCenter=r,this._pixelOrigin=this._getNewPixelOrigin(r),m?d&&d.pinch&&this.fire("zoom",d):((b||d&&d.pinch)&&this.fire("zoom",d),this.fire("move",d)),this},_moveEnd:function(r){return r&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return S(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(r){be(this._mapPane,this._getMapPanePos().subtract(r))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(r){this._targets={},this._targets[h(this._container)]=this;var l=r?Jt:Lt;l(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&l(window,"resize",this._onResize,this),lt.any3d&&this.options.transform3DLimit&&(r?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){S(this._resizeRequest),this._resizeRequest=nt(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var r=this._getMapPanePos();Math.max(Math.abs(r.x),Math.abs(r.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(r,l){for(var d=[],m,b=l==="mouseout"||l==="mouseover",M=r.target||r.srcElement,A=!1;M;){if(m=this._targets[h(M)],m&&(l==="click"||l==="preclick")&&this._draggableMoved(m)){A=!0;break}if(m&&m.listens(l,!0)&&(b&&!Hl(M,r)||(d.push(m),b))||M===this._container)break;M=M.parentNode}return!d.length&&!A&&!b&&this.listens(l,!0)&&(d=[this]),d},_isClickDisabled:function(r){for(;r&&r!==this._container;){if(r._leaflet_disable_click)return!0;r=r.parentNode}},_handleDOMEvent:function(r){var l=r.target||r.srcElement;if(!(!this._loaded||l._leaflet_disable_events||r.type==="click"&&this._isClickDisabled(l))){var d=r.type;d==="mousedown"&&Il(l),this._fireDOMEvent(r,d)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(r,l,d){if(r.type==="click"){var m=i({},r);m.type="preclick",this._fireDOMEvent(m,m.type,d)}var b=this._findEventTargets(r,l);if(d){for(var M=[],A=0;A0?Math.round(r-l)/2:Math.max(0,Math.ceil(r))-Math.max(0,Math.floor(l))},_limitZoom:function(r){var l=this.getMinZoom(),d=this.getMaxZoom(),m=lt.any3d?this.options.zoomSnap:1;return m&&(r=Math.round(r/m)*m),Math.max(l,Math.min(d,r))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){de(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(r,l){var d=this._getCenterOffset(r)._trunc();return(l&&l.animate)!==!0&&!this.getSize().contains(d)?!1:(this.panBy(d,l),!0)},_createAnimProxy:function(){var r=this._proxy=kt("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(r),this.on("zoomanim",function(l){var d=zl,m=this._proxy.style[d];Ma(this._proxy,this.project(l.center,l.zoom),this.getZoomScale(l.zoom,1)),m===this._proxy.style[d]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){ie(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var r=this.getCenter(),l=this.getZoom();Ma(this._proxy,this.project(r,l),this.getZoomScale(l,1))},_catchTransitionEnd:function(r){this._animatingZoom&&r.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(r,l,d){if(this._animatingZoom)return!0;if(d=d||{},!this._zoomAnimated||d.animate===!1||this._nothingToAnimate()||Math.abs(l-this._zoom)>this.options.zoomAnimationThreshold)return!1;var m=this.getZoomScale(l),b=this._getCenterOffset(r)._divideBy(1-1/m);return d.animate!==!0&&!this.getSize().contains(b)?!1:(nt(function(){this._moveStart(!0,!1)._animateZoom(r,l,!0)},this),!0)},_animateZoom:function(r,l,d,m){this._mapPane&&(d&&(this._animatingZoom=!0,this._animateToCenter=r,this._animateToZoom=l,wt(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:r,zoom:l,noUpdate:m}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(s(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&de(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 Mz(r,l){return new xt(r,l)}var R0=E.extend({options:{position:"topright"},initialize:function(r){B(this,r)},getPosition:function(){return this.options.position},setPosition:function(r){var l=this._map;return l&&l.removeControl(this),this.options.position=r,l&&l.addControl(this),this},getContainer:function(){return this._container},addTo:function(r){this.remove(),this._map=r;var l=this._container=this.onAdd(r),d=this.getPosition(),m=r._controlCorners[d];return wt(l,"leaflet-control"),d.indexOf("bottom")!==-1?m.insertBefore(l,m.firstChild):m.appendChild(l),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(ie(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(r){this._map&&r&&r.screenX>0&&r.screenY>0&&this._map.getContainer().focus()}}),yr=function(r){return new R0(r)};xt.include({addControl:function(r){return r.addTo(this),this},removeControl:function(r){return r.remove(),this},_initControlPos:function(){var r=this._controlCorners={},l="leaflet-",d=this._controlContainer=kt("div",l+"control-container",this._container);function m(b,M){var A=l+b+" "+l+M;r[b+M]=kt("div",A,d)}m("top","left"),m("top","right"),m("bottom","left"),m("bottom","right")},_clearControlPos:function(){for(var r in this._controlCorners)ie(this._controlCorners[r]);ie(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var $d=R0.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(r,l,d,m){return d1,this._baseLayersList.style.display=r?"":"none"),this._separator.style.display=l&&r?"":"none",this},_onLayerChange:function(r){this._handlingClick||this._update();var l=this._getLayer(h(r.target)),d=l.overlay?r.type==="add"?"overlayadd":"overlayremove":r.type==="add"?"baselayerchange":null;d&&this._map.fire(d,l)},_createRadioElement:function(r,l){var d='",m=document.createElement("div");return m.innerHTML=d,m.firstChild},_addItem:function(r){var l=document.createElement("label"),d=this._map.hasLayer(r.layer),m;r.overlay?(m=document.createElement("input"),m.type="checkbox",m.className="leaflet-control-layers-selector",m.defaultChecked=d):m=this._createRadioElement("leaflet-base-layers_"+h(this),d),this._layerControlInputs.push(m),m.layerId=h(r.layer),Lt(m,"click",this._onInputClick,this);var b=document.createElement("span");b.innerHTML=" "+r.name;var M=document.createElement("span");l.appendChild(M),M.appendChild(m),M.appendChild(b);var A=r.overlay?this._overlaysList:this._baseLayersList;return A.appendChild(l),this._checkDisabledLayers(),l},_onInputClick:function(){var r=this._layerControlInputs,l,d,m=[],b=[];this._handlingClick=!0;for(var M=r.length-1;M>=0;M--)l=r[M],d=this._getLayer(l.layerId).layer,l.checked?m.push(d):l.checked||b.push(d);for(M=0;M=0;b--)l=r[b],d=this._getLayer(l.layerId).layer,l.disabled=d.options.minZoom!==void 0&&md.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var r=this._section;Lt(r,"click",Pe),this.expand(),setTimeout(function(){Jt(r,"click",Pe)})}}),Bz=function(r,l,d){return new $d(r,l,d)},Fl=R0.extend({options:{position:"topleft",zoomInText:'',zoomInTitle:"Zoom in",zoomOutText:'',zoomOutTitle:"Zoom out"},onAdd:function(r){var l="leaflet-control-zoom",d=kt("div",l+" leaflet-bar"),m=this.options;return this._zoomInButton=this._createButton(m.zoomInText,m.zoomInTitle,l+"-in",d,this._zoomIn),this._zoomOutButton=this._createButton(m.zoomOutText,m.zoomOutTitle,l+"-out",d,this._zoomOut),this._updateDisabled(),r.on("zoomend zoomlevelschange",this._updateDisabled,this),d},onRemove:function(r){r.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(r){!this._disabled&&this._map._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(r.shiftKey?3:1))},_createButton:function(r,l,d,m,b){var M=kt("a",d,m);return M.innerHTML=r,M.href="#",M.title=l,M.setAttribute("role","button"),M.setAttribute("aria-label",l),br(M),Lt(M,"click",Aa),Lt(M,"click",b,this),Lt(M,"click",this._refocusOnMap,this),M},_updateDisabled:function(){var r=this._map,l="leaflet-disabled";de(this._zoomInButton,l),de(this._zoomOutButton,l),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||r._zoom===r.getMinZoom())&&(wt(this._zoomOutButton,l),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||r._zoom===r.getMaxZoom())&&(wt(this._zoomInButton,l),this._zoomInButton.setAttribute("aria-disabled","true"))}});xt.mergeOptions({zoomControl:!0}),xt.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new Fl,this.addControl(this.zoomControl))});var Cz=function(r){return new Fl(r)},Dd=R0.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(r){var l="leaflet-control-scale",d=kt("div",l),m=this.options;return this._addScales(m,l+"-line",d),r.on(m.updateWhenIdle?"moveend":"move",this._update,this),r.whenReady(this._update,this),d},onRemove:function(r){r.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(r,l,d){r.metric&&(this._mScale=kt("div",l,d)),r.imperial&&(this._iScale=kt("div",l,d))},_update:function(){var r=this._map,l=r.getSize().y/2,d=r.distance(r.containerPointToLatLng([0,l]),r.containerPointToLatLng([this.options.maxWidth,l]));this._updateScales(d)},_updateScales:function(r){this.options.metric&&r&&this._updateMetric(r),this.options.imperial&&r&&this._updateImperial(r)},_updateMetric:function(r){var l=this._getRoundNum(r),d=l<1e3?l+" m":l/1e3+" km";this._updateScale(this._mScale,d,l/r)},_updateImperial:function(r){var l=r*3.2808399,d,m,b;l>5280?(d=l/5280,m=this._getRoundNum(d),this._updateScale(this._iScale,m+" mi",m/d)):(b=this._getRoundNum(l),this._updateScale(this._iScale,b+" ft",b/l))},_updateScale:function(r,l,d){r.style.width=Math.round(this.options.maxWidth*d)+"px",r.innerHTML=l},_getRoundNum:function(r){var l=Math.pow(10,(Math.floor(r)+"").length-1),d=r/l;return d=d>=10?10:d>=5?5:d>=3?3:d>=2?2:1,l*d}}),Az=function(r){return new Dd(r)},Lz='',El=R0.extend({options:{position:"bottomright",prefix:''+(lt.inlineSvg?Lz+" ":"")+"Leaflet"},initialize:function(r){B(this,r),this._attributions={}},onAdd:function(r){r.attributionControl=this,this._container=kt("div","leaflet-control-attribution"),br(this._container);for(var l in r._layers)r._layers[l].getAttribution&&this.addAttribution(r._layers[l].getAttribution());return this._update(),r.on("layeradd",this._addAttribution,this),this._container},onRemove:function(r){r.off("layeradd",this._addAttribution,this)},_addAttribution:function(r){r.layer.getAttribution&&(this.addAttribution(r.layer.getAttribution()),r.layer.once("remove",function(){this.removeAttribution(r.layer.getAttribution())},this))},setPrefix:function(r){return this.options.prefix=r,this._update(),this},addAttribution:function(r){return r?(this._attributions[r]||(this._attributions[r]=0),this._attributions[r]++,this._update(),this):this},removeAttribution:function(r){return r?(this._attributions[r]&&(this._attributions[r]--,this._update()),this):this},_update:function(){if(this._map){var r=[];for(var l in this._attributions)this._attributions[l]&&r.push(l);var d=[];this.options.prefix&&d.push(this.options.prefix),r.length&&d.push(r.join(", ")),this._container.innerHTML=d.join(' ')}}});xt.mergeOptions({attributionControl:!0}),xt.addInitHook(function(){this.options.attributionControl&&new El().addTo(this)});var Iz=function(r){return new El(r)};R0.Layers=$d,R0.Zoom=Fl,R0.Scale=Dd,R0.Attribution=El,yr.layers=Bz,yr.zoom=Cz,yr.scale=Az,yr.attribution=Iz;var n1=E.extend({initialize:function(r){this._map=r},enable:function(){return this._enabled?this:(this._enabled=!0,this.addHooks(),this)},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});n1.addTo=function(r,l){return r.addHandler(l,this),this};var Sz={Events:U},xd=lt.touch?"touchstart mousedown":"mousedown",Z1=st.extend({options:{clickTolerance:3},initialize:function(r,l,d,m){B(this,m),this._element=r,this._dragStartTarget=l||r,this._preventOutline=d},enable:function(){this._enabled||(Lt(this._dragStartTarget,xd,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(Z1._dragging===this&&this.finishDrag(!0),Jt(this._dragStartTarget,xd,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(r){if(this._enabled&&(this._moved=!1,!Ol(this._element,"leaflet-zoom-anim"))){if(r.touches&&r.touches.length!==1){Z1._dragging===this&&this.finishDrag();return}if(!(Z1._dragging||r.shiftKey||r.which!==1&&r.button!==1&&!r.touches)&&(Z1._dragging=this,this._preventOutline&&Il(this._element),Cl(),mr(),!this._moving)){this.fire("down");var l=r.touches?r.touches[0]:r,d=Pd(this._element);this._startPoint=new N(l.clientX,l.clientY),this._startPos=Ba(this._element),this._parentScale=Sl(d);var m=r.type==="mousedown";Lt(document,m?"mousemove":"touchmove",this._onMove,this),Lt(document,m?"mouseup":"touchend touchcancel",this._onUp,this)}}},_onMove:function(r){if(this._enabled){if(r.touches&&r.touches.length>1){this._moved=!0;return}var l=r.touches&&r.touches.length===1?r.touches[0]:r,d=new N(l.clientX,l.clientY)._subtract(this._startPoint);!d.x&&!d.y||Math.abs(d.x)+Math.abs(d.y)M&&(A=T,M=H);M>d&&(l[A]=1,$l(r,l,d,m,A),$l(r,l,d,A,b))}function Tz(r,l){for(var d=[r[0]],m=1,b=0,M=r.length;ml&&(d.push(r[m]),b=m);return bl.max.x&&(d|=2),r.yl.max.y&&(d|=8),d}function Vz(r,l){var d=l.x-r.x,m=l.y-r.y;return d*d+m*m}function zr(r,l,d,m){var b=l.x,M=l.y,A=d.x-b,T=d.y-M,H=A*A+T*T,R;return H>0&&(R=((r.x-b)*A+(r.y-M)*T)/H,R>1?(b=d.x,M=d.y):R>0&&(b+=A*R,M+=T*R)),A=r.x-b,T=r.y-M,m?A*A+T*T:new N(b,M)}function A0(r){return!x(r[0])||typeof r[0][0]!="object"&&typeof r[0][0]<"u"}function Ud(r){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),A0(r)}function Gd(r,l){var d,m,b,M,A,T,H,R;if(!r||r.length===0)throw new Error("latlngs not passed");A0(r)||(console.warn("latlngs are not flat! Only the first ring will be used"),r=r[0]);var X=[];for(var yt in r)X.push(l.project(bt(r[yt])));var Et=X.length;for(d=0,m=0;dm){H=(M-m)/b,R=[T.x-H*(T.x-A.x),T.y-H*(T.y-A.y)];break}return l.unproject(G(R))}var Hz={__proto__:null,simplify:Rd,pointToSegmentDistance:kd,closestPointOnSegment:wz,clipSegment:jd,_getEdgeIntersection:oo,_getBitCode:La,_sqClosestPointOnSegment:zr,isFlat:A0,_flat:Ud,polylineCenter:Gd};function Wd(r,l,d){var m,b=[1,4,2,8],M,A,T,H,R,X,yt,Et;for(M=0,X=r.length;M1e-7;T++)R=b*Math.sin(A),R=Math.pow((1-R)/(1+R),b/2),H=Math.PI/2-2*Math.atan(M*R)-A,A+=H;return new _t(A*l,r.x*l/d)}},Ez={__proto__:null,LonLat:Dl,Mercator:xl,SphericalMercator:we},$z=i({},ke,{code:"EPSG:3395",projection:xl,transformation:function(){var r=.5/(Math.PI*xl.R);return x0(r,.5,-r,.5)}()}),qd=i({},ke,{code:"EPSG:4326",projection:Dl,transformation:x0(1/180,1,-1/180,.5)}),Dz=i({},It,{projection:Dl,transformation:x0(1,0,-1,0),scale:function(r){return Math.pow(2,r)},zoom:function(r){return Math.log(r)/Math.LN2},distance:function(r,l){var d=l.lng-r.lng,m=l.lat-r.lat;return Math.sqrt(d*d+m*m)},infinite:!0});It.Earth=ke,It.EPSG3395=$z,It.EPSG3857=dr,It.EPSG900913=fl,It.EPSG4326=qd,It.Simple=Dz;var k0=st.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(r){return r.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(r){return r&&r.removeLayer(this),this},getPane:function(r){return this._map.getPane(r?this.options[r]||r:this.options.pane)},addInteractiveTarget:function(r){return this._map._targets[h(r)]=this,this},removeInteractiveTarget:function(r){return delete this._map._targets[h(r)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(r){var l=r.target;if(l.hasLayer(this)){if(this._map=l,this._zoomAnimated=l._zoomAnimated,this.getEvents){var d=this.getEvents();l.on(d,this),this.once("remove",function(){l.off(d,this)},this)}this.onAdd(l),this.fire("add"),l.fire("layeradd",{layer:this})}}});xt.include({addLayer:function(r){if(!r._layerAdd)throw new Error("The provided object is not a Layer.");var l=h(r);return this._layers[l]?this:(this._layers[l]=r,r._mapToAdd=this,r.beforeAdd&&r.beforeAdd(this),this.whenReady(r._layerAdd,r),this)},removeLayer:function(r){var l=h(r);return this._layers[l]?(this._loaded&&r.onRemove(this),delete this._layers[l],this._loaded&&(this.fire("layerremove",{layer:r}),r.fire("remove")),r._map=r._mapToAdd=null,this):this},hasLayer:function(r){return h(r)in this._layers},eachLayer:function(r,l){for(var d in this._layers)r.call(l,this._layers[d]);return this},_addLayers:function(r){r=r?x(r)?r:[r]:[];for(var l=0,d=r.length;lthis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),this.options.minZoom===void 0&&this._layersMinZoom&&this.getZoom()=2&&l[0]instanceof _t&&l[0].equals(l[d-1])&&l.pop(),l},_setLatLngs:function(r){O1.prototype._setLatLngs.call(this,r),A0(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return A0(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var r=this._renderer._bounds,l=this.options.weight,d=new N(l,l);if(r=new Q(r.min.subtract(d),r.max.add(d)),this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(r))){if(this.options.noClip){this._parts=this._rings;return}for(var m=0,b=this._rings.length,M;mr.y!=b.y>r.y&&r.x<(b.x-m.x)*(r.y-m.y)/(b.y-m.y)+m.x&&(l=!l);return l||O1.prototype._containsPoint.call(this,r,!0)}});function Wz(r,l){return new bn(r,l)}var M1=z1.extend({initialize:function(r,l){B(this,l),this._layers={},r&&this.addData(r)},addData:function(r){var l=x(r)?r:r.features,d,m,b;if(l){for(d=0,m=l.length;d0?m:[l.src];return}x(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(l.style,"objectFit")&&(l.style.objectFit="fill"),l.autoplay=!!this.options.autoplay,l.loop=!!this.options.loop,l.muted=!!this.options.muted,l.playsInline=!!this.options.playsInline;for(var M=0;Mb?(l.height=b+"px",wt(r,M)):de(r,M),this._containerWidth=this._container.offsetWidth},_animateZoom:function(r){var l=this._map._latLngToNewLayerPoint(this._latlng,r.zoom,r.center),d=this._getAnchor();be(this._container,l.add(d))},_adjustPan:function(){if(this.options.autoPan){if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning){this._autopanning=!1;return}var r=this._map,l=parseInt(vr(this._container,"marginBottom"),10)||0,d=this._container.offsetHeight+l,m=this._containerWidth,b=new N(this._containerLeft,-d-this._containerBottom);b._add(Ba(this._container));var M=r.layerPointToContainerPoint(b),A=G(this.options.autoPanPadding),T=G(this.options.autoPanPaddingTopLeft||A),H=G(this.options.autoPanPaddingBottomRight||A),R=r.getSize(),X=0,yt=0;M.x+m+H.x>R.x&&(X=M.x+m-R.x+H.x),M.x-X-T.x<0&&(X=M.x-T.x),M.y+d+H.y>R.y&&(yt=M.y+d-R.y+H.y),M.y-yt-T.y<0&&(yt=M.y-T.y),(X||yt)&&(this.options.keepInView&&(this._autopanning=!0),r.fire("autopanstart").panBy([X,yt]))}},_getAnchor:function(){return G(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),Yz=function(r,l){return new vo(r,l)};xt.mergeOptions({closePopupOnClick:!0}),xt.include({openPopup:function(r,l,d){return this._initOverlay(vo,r,l,d).openOn(this),this},closePopup:function(r){return r=arguments.length?r:this._popup,r&&r.close(),this}}),k0.include({bindPopup:function(r,l){return this._popup=this._initOverlay(vo,this._popup,r,l),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(r){return this._popup&&(this instanceof z1||(this._popup._source=this),this._popup._prepareOpen(r||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(r){return this._popup&&this._popup.setContent(r),this},getPopup:function(){return this._popup},_openPopup:function(r){if(!(!this._popup||!this._map)){Aa(r);var l=r.layer||r.target;if(this._popup._source===l&&!(l instanceof q1)){this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(r.latlng);return}this._popup._source=l,this.openPopup(r.latlng)}},_movePopup:function(r){this._popup.setLatLng(r.latlng)},_onKeyPress:function(r){r.originalEvent.keyCode===13&&this._openPopup(r)}});var mo=r1.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(r){r1.prototype.onAdd.call(this,r),this.setOpacity(this.options.opacity),r.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(r){r1.prototype.onRemove.call(this,r),r.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var r=r1.prototype.getEvents.call(this);return this.options.permanent||(r.preclick=this.close),r},_initLayout:function(){var r="leaflet-tooltip",l=r+" "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=kt("div",l),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+h(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(r){var l,d,m=this._map,b=this._container,M=m.latLngToContainerPoint(m.getCenter()),A=m.layerPointToContainerPoint(r),T=this.options.direction,H=b.offsetWidth,R=b.offsetHeight,X=G(this.options.offset),yt=this._getAnchor();T==="top"?(l=H/2,d=R):T==="bottom"?(l=H/2,d=0):T==="center"?(l=H/2,d=R/2):T==="right"?(l=0,d=R/2):T==="left"?(l=H,d=R/2):A.xthis.options.maxZoom||dm?this._retainParent(b,M,A,m):!1)},_retainChildren:function(r,l,d,m){for(var b=2*r;b<2*r+2;b++)for(var M=2*l;M<2*l+2;M++){var A=new N(b,M);A.z=d+1;var T=this._tileCoordsToKey(A),H=this._tiles[T];if(H&&H.active){H.retain=!0;continue}else H&&H.loaded&&(H.retain=!0);d+1this.options.maxZoom||this.options.minZoom!==void 0&&b1){this._setView(r,d);return}for(var yt=b.min.y;yt<=b.max.y;yt++)for(var Et=b.min.x;Et<=b.max.x;Et++){var L0=new N(Et,yt);if(L0.z=this._tileZoom,!!this._isValidTile(L0)){var Ia=this._tiles[this._tileCoordsToKey(L0)];Ia?Ia.current=!0:A.push(L0)}}if(A.sort(function(K1,Ul){return K1.distanceTo(M)-Ul.distanceTo(M)}),A.length!==0){this._loading||(this._loading=!0,this.fire("loading"));var _o=document.createDocumentFragment();for(Et=0;Etd.max.x)||!l.wrapLat&&(r.yd.max.y))return!1}if(!this.options.bounds)return!0;var m=this._tileCoordsToBounds(r);return Ft(this.options.bounds).overlaps(m)},_keyToBounds:function(r){return this._tileCoordsToBounds(this._keyToTileCoords(r))},_tileCoordsToNwSe:function(r){var l=this._map,d=this.getTileSize(),m=r.scaleBy(d),b=m.add(d),M=l.unproject(m,r.z),A=l.unproject(b,r.z);return[M,A]},_tileCoordsToBounds:function(r){var l=this._tileCoordsToNwSe(r),d=new At(l[0],l[1]);return this.options.noWrap||(d=this._map.wrapLatLngBounds(d)),d},_tileCoordsToKey:function(r){return r.x+":"+r.y+":"+r.z},_keyToTileCoords:function(r){var l=r.split(":"),d=new N(+l[0],+l[1]);return d.z=+l[2],d},_removeTile:function(r){var l=this._tiles[r];l&&(ie(l.el),delete this._tiles[r],this.fire("tileunload",{tile:l.el,coords:this._keyToTileCoords(r)}))},_initTile:function(r){wt(r,"leaflet-tile");var l=this.getTileSize();r.style.width=l.x+"px",r.style.height=l.y+"px",r.onselectstart=g,r.onmousemove=g,lt.ielt9&&this.options.opacity<1&&C0(r,this.options.opacity)},_addTile:function(r,l){var d=this._getTilePos(r),m=this._tileCoordsToKey(r),b=this.createTile(this._wrapCoords(r),s(this._tileReady,this,r));this._initTile(b),this.createTile.length<2&&nt(s(this._tileReady,this,r,null,b)),be(b,d),this._tiles[m]={el:b,coords:r,current:!0},l.appendChild(b),this.fire("tileloadstart",{tile:b,coords:r})},_tileReady:function(r,l,d){l&&this.fire("tileerror",{error:l,tile:d,coords:r});var m=this._tileCoordsToKey(r);d=this._tiles[m],d&&(d.loaded=+new Date,this._map._fadeAnimated?(C0(d.el,0),S(this._fadeFrame),this._fadeFrame=nt(this._updateOpacity,this)):(d.active=!0,this._pruneTiles()),l||(wt(d.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:d.el,coords:r})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),lt.ielt9||!this._map._fadeAnimated?nt(this._pruneTiles,this):setTimeout(s(this._pruneTiles,this),250)))},_getTilePos:function(r){return r.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(r){var l=new N(this._wrapX?p(r.x,this._wrapX):r.x,this._wrapY?p(r.y,this._wrapY):r.y);return l.z=r.z,l},_pxBoundsToTileRange:function(r){var l=this.getTileSize();return new Q(r.min.unscaleBy(l).floor(),r.max.unscaleBy(l).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var r in this._tiles)if(!this._tiles[r].loaded)return!1;return!0}});function tO(r){return new Mr(r)}var zn=Mr.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(r,l){this._url=r,l=B(this,l),l.detectRetina&<.retina&&l.maxZoom>0?(l.tileSize=Math.floor(l.tileSize/2),l.zoomReverse?(l.zoomOffset--,l.minZoom=Math.min(l.maxZoom,l.minZoom+1)):(l.zoomOffset++,l.maxZoom=Math.max(l.minZoom,l.maxZoom-1)),l.minZoom=Math.max(0,l.minZoom)):l.zoomReverse?l.minZoom=Math.min(l.maxZoom,l.minZoom):l.maxZoom=Math.max(l.minZoom,l.maxZoom),typeof l.subdomains=="string"&&(l.subdomains=l.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(r,l){return this._url===r&&l===void 0&&(l=!0),this._url=r,l||this.redraw(),this},createTile:function(r,l){var d=document.createElement("img");return Lt(d,"load",s(this._tileOnLoad,this,l,d)),Lt(d,"error",s(this._tileOnError,this,l,d)),(this.options.crossOrigin||this.options.crossOrigin==="")&&(d.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),typeof this.options.referrerPolicy=="string"&&(d.referrerPolicy=this.options.referrerPolicy),d.alt="",d.src=this.getTileUrl(r),d},getTileUrl:function(r){var l={r:lt.retina?"@2x":"",s:this._getSubdomain(r),x:r.x,y:r.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var d=this._globalTileRange.max.y-r.y;this.options.tms&&(l.y=d),l["-y"]=d}return D(this._url,i(l,this.options))},_tileOnLoad:function(r,l){lt.ielt9?setTimeout(s(r,this,null,l),0):r(null,l)},_tileOnError:function(r,l,d){var m=this.options.errorTileUrl;m&&l.getAttribute("src")!==m&&(l.src=m),r(d,l)},_onTileRemove:function(r){r.tile.onload=null},_getZoomForUrl:function(){var r=this._tileZoom,l=this.options.maxZoom,d=this.options.zoomReverse,m=this.options.zoomOffset;return d&&(r=l-r),r+m},_getSubdomain:function(r){var l=Math.abs(r.x+r.y)%this.options.subdomains.length;return this.options.subdomains[l]},_abortLoading:function(){var r,l;for(r in this._tiles)if(this._tiles[r].coords.z!==this._tileZoom&&(l=this._tiles[r].el,l.onload=g,l.onerror=g,!l.complete)){l.src=k;var d=this._tiles[r].coords;ie(l),delete this._tiles[r],this.fire("tileabort",{tile:l,coords:d})}},_removeTile:function(r){var l=this._tiles[r];if(l)return l.el.setAttribute("src",k),Mr.prototype._removeTile.call(this,r)},_tileReady:function(r,l,d){if(!(!this._map||d&&d.getAttribute("src")===k))return Mr.prototype._tileReady.call(this,r,l,d)}});function e4(r,l){return new zn(r,l)}var a4=zn.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(r,l){this._url=r;var d=i({},this.defaultWmsParams);for(var m in l)m in this.options||(d[m]=l[m]);l=B(this,l);var b=l.detectRetina&<.retina?2:1,M=this.getTileSize();d.width=M.x*b,d.height=M.y*b,this.wmsParams=d},onAdd:function(r){this._crs=this.options.crs||r.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var l=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[l]=this._crs.code,zn.prototype.onAdd.call(this,r)},getTileUrl:function(r){var l=this._tileCoordsToNwSe(r),d=this._crs,m=ut(d.project(l[0]),d.project(l[1])),b=m.min,M=m.max,A=(this._wmsVersion>=1.3&&this._crs===qd?[b.y,b.x,M.y,M.x]:[b.x,b.y,M.x,M.y]).join(","),T=zn.prototype.getTileUrl.call(this,r);return T+I(this.wmsParams,T,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+A},setParams:function(r,l){return i(this.wmsParams,r),l||this.redraw(),this}});function eO(r,l){return new a4(r,l)}zn.WMS=a4,e4.wms=eO;var B1=k0.extend({options:{padding:.1},initialize:function(r){B(this,r),h(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),this._zoomAnimated&&wt(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 r={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(r.zoomanim=this._onAnimZoom),r},_onAnimZoom:function(r){this._updateTransform(r.center,r.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(r,l){var d=this._map.getZoomScale(l,this._zoom),m=this._map.getSize().multiplyBy(.5+this.options.padding),b=this._map.project(this._center,l),M=m.multiplyBy(-d).add(b).subtract(this._map._getNewPixelOrigin(r,l));lt.any3d?Ma(this._container,M,d):be(this._container,M)},_reset:function(){this._update(),this._updateTransform(this._center,this._zoom);for(var r in this._layers)this._layers[r]._reset()},_onZoomEnd:function(){for(var r in this._layers)this._layers[r]._project()},_updatePaths:function(){for(var r in this._layers)this._layers[r]._update()},_update:function(){var r=this.options.padding,l=this._map.getSize(),d=this._map.containerPointToLayerPoint(l.multiplyBy(-r)).round();this._bounds=new Q(d,d.add(l.multiplyBy(1+r*2)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),n4=B1.extend({options:{tolerance:0},getEvents:function(){var r=B1.prototype.getEvents.call(this);return r.viewprereset=this._onViewPreReset,r},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){B1.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var r=this._container=document.createElement("canvas");Lt(r,"mousemove",this._onMouseMove,this),Lt(r,"click dblclick mousedown mouseup contextmenu",this._onClick,this),Lt(r,"mouseout",this._handleMouseOut,this),r._leaflet_disable_events=!0,this._ctx=r.getContext("2d")},_destroyContainer:function(){S(this._redrawRequest),delete this._ctx,ie(this._container),Jt(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){var r;this._redrawBounds=null;for(var l in this._layers)r=this._layers[l],r._update();this._redraw()}},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){B1.prototype._update.call(this);var r=this._bounds,l=this._container,d=r.getSize(),m=lt.retina?2:1;be(l,r.min),l.width=m*d.x,l.height=m*d.y,l.style.width=d.x+"px",l.style.height=d.y+"px",lt.retina&&this._ctx.scale(2,2),this._ctx.translate(-r.min.x,-r.min.y),this.fire("update")}},_reset:function(){B1.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(r){this._updateDashArray(r),this._layers[h(r)]=r;var l=r._order={layer:r,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=l),this._drawLast=l,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(r){this._requestRedraw(r)},_removePath:function(r){var l=r._order,d=l.next,m=l.prev;d?d.prev=m:this._drawLast=m,m?m.next=d:this._drawFirst=d,delete r._order,delete this._layers[h(r)],this._requestRedraw(r)},_updatePath:function(r){this._extendRedrawBounds(r),r._project(),r._update(),this._requestRedraw(r)},_updateStyle:function(r){this._updateDashArray(r),this._requestRedraw(r)},_updateDashArray:function(r){if(typeof r.options.dashArray=="string"){var l=r.options.dashArray.split(/[, ]+/),d=[],m,b;for(b=0;b')}}catch{}return function(r){return document.createElement("<"+r+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),aO={_initContainer:function(){this._container=kt("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(B1.prototype._update.call(this),this.fire("update"))},_initPath:function(r){var l=r._container=Br("shape");wt(l,"leaflet-vml-shape "+(this.options.className||"")),l.coordsize="1 1",r._path=Br("path"),l.appendChild(r._path),this._updateStyle(r),this._layers[h(r)]=r},_addPath:function(r){var l=r._container;this._container.appendChild(l),r.options.interactive&&r.addInteractiveTarget(l)},_removePath:function(r){var l=r._container;ie(l),r.removeInteractiveTarget(l),delete this._layers[h(r)]},_updateStyle:function(r){var l=r._stroke,d=r._fill,m=r.options,b=r._container;b.stroked=!!m.stroke,b.filled=!!m.fill,m.stroke?(l||(l=r._stroke=Br("stroke")),b.appendChild(l),l.weight=m.weight+"px",l.color=m.color,l.opacity=m.opacity,m.dashArray?l.dashStyle=x(m.dashArray)?m.dashArray.join(" "):m.dashArray.replace(/( *, *)/g," "):l.dashStyle="",l.endcap=m.lineCap.replace("butt","flat"),l.joinstyle=m.lineJoin):l&&(b.removeChild(l),r._stroke=null),m.fill?(d||(d=r._fill=Br("fill")),b.appendChild(d),d.color=m.fillColor||m.color,d.opacity=m.fillOpacity):d&&(b.removeChild(d),r._fill=null)},_updateCircle:function(r){var l=r._point.round(),d=Math.round(r._radius),m=Math.round(r._radiusY||d);this._setPath(r,r._empty()?"M0 0":"AL "+l.x+","+l.y+" "+d+","+m+" 0,"+65535*360)},_setPath:function(r,l){r._path.v=l},_bringToFront:function(r){vn(r._container)},_bringToBack:function(r){mn(r._container)}},go=lt.vml?Br:pl,Cr=B1.extend({_initContainer:function(){this._container=go("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=go("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){ie(this._container),Jt(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){B1.prototype._update.call(this);var r=this._bounds,l=r.getSize(),d=this._container;(!this._svgSize||!this._svgSize.equals(l))&&(this._svgSize=l,d.setAttribute("width",l.x),d.setAttribute("height",l.y)),be(d,r.min),d.setAttribute("viewBox",[r.min.x,r.min.y,l.x,l.y].join(" ")),this.fire("update")}},_initPath:function(r){var l=r._path=go("path");r.options.className&&wt(l,r.options.className),r.options.interactive&&wt(l,"leaflet-interactive"),this._updateStyle(r),this._layers[h(r)]=r},_addPath:function(r){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(r._path),r.addInteractiveTarget(r._path)},_removePath:function(r){ie(r._path),r.removeInteractiveTarget(r._path),delete this._layers[h(r)]},_updatePath:function(r){r._project(),r._update()},_updateStyle:function(r){var l=r._path,d=r.options;l&&(d.stroke?(l.setAttribute("stroke",d.color),l.setAttribute("stroke-opacity",d.opacity),l.setAttribute("stroke-width",d.weight),l.setAttribute("stroke-linecap",d.lineCap),l.setAttribute("stroke-linejoin",d.lineJoin),d.dashArray?l.setAttribute("stroke-dasharray",d.dashArray):l.removeAttribute("stroke-dasharray"),d.dashOffset?l.setAttribute("stroke-dashoffset",d.dashOffset):l.removeAttribute("stroke-dashoffset")):l.setAttribute("stroke","none"),d.fill?(l.setAttribute("fill",d.fillColor||d.color),l.setAttribute("fill-opacity",d.fillOpacity),l.setAttribute("fill-rule",d.fillRule||"evenodd")):l.setAttribute("fill","none"))},_updatePoly:function(r,l){this._setPath(r,cd(r._parts,l))},_updateCircle:function(r){var l=r._point,d=Math.max(Math.round(r._radius),1),m=Math.max(Math.round(r._radiusY),1)||d,b="a"+d+","+m+" 0 1,0 ",M=r._empty()?"M0 0":"M"+(l.x-d)+","+l.y+b+d*2+",0 "+b+-d*2+",0 ";this._setPath(r,M)},_setPath:function(r,l){r._path.setAttribute("d",l)},_bringToFront:function(r){vn(r._path)},_bringToBack:function(r){mn(r._path)}});lt.vml&&Cr.include(aO);function i4(r){return lt.svg||lt.vml?new Cr(r):null}xt.include({getRenderer:function(r){var l=r.options.renderer||this._getPaneRenderer(r.options.pane)||this.options.renderer||this._renderer;return l||(l=this._renderer=this._createRenderer()),this.hasLayer(l)||this.addLayer(l),l},_getPaneRenderer:function(r){if(r==="overlayPane"||r===void 0)return!1;var l=this._paneRenderers[r];return l===void 0&&(l=this._createRenderer({pane:r}),this._paneRenderers[r]=l),l},_createRenderer:function(r){return this.options.preferCanvas&&r4(r)||i4(r)}});var o4=bn.extend({initialize:function(r,l){bn.prototype.initialize.call(this,this._boundsToLatLngs(r),l)},setBounds:function(r){return this.setLatLngs(this._boundsToLatLngs(r))},_boundsToLatLngs:function(r){return r=Ft(r),[r.getSouthWest(),r.getNorthWest(),r.getNorthEast(),r.getSouthEast()]}});function nO(r,l){return new o4(r,l)}Cr.create=go,Cr.pointsToPath=cd,M1.geometryToLayer=co,M1.coordsToLatLng=kl,M1.coordsToLatLngs=uo,M1.latLngToCoords=Nl,M1.latLngsToCoords=ho,M1.getFeature=yn,M1.asFeature=fo,xt.mergeOptions({boxZoom:!0});var s4=n1.extend({initialize:function(r){this._map=r,this._container=r._container,this._pane=r._panes.overlayPane,this._resetStateTimeout=0,r.on("unload",this._destroy,this)},addHooks:function(){Lt(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Jt(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){ie(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(r){if(!r.shiftKey||r.which!==1&&r.button!==1)return!1;this._clearDeferredResetState(),this._resetState(),mr(),Cl(),this._startPoint=this._map.mouseEventToContainerPoint(r),Lt(document,{contextmenu:Aa,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(r){this._moved||(this._moved=!0,this._box=kt("div","leaflet-zoom-box",this._container),wt(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(r);var l=new Q(this._point,this._startPoint),d=l.getSize();be(this._box,l.min),this._box.style.width=d.x+"px",this._box.style.height=d.y+"px"},_finish:function(){this._moved&&(ie(this._box),de(this._container,"leaflet-crosshair")),gr(),Al(),Jt(document,{contextmenu:Aa,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(r){if(!(r.which!==1&&r.button!==1)&&(this._finish(),!!this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(s(this._resetState,this),0);var l=new At(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(l).fire("boxzoomend",{boxZoomBounds:l})}},_onKeyDown:function(r){r.keyCode===27&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});xt.addInitHook("addHandler","boxZoom",s4),xt.mergeOptions({doubleClickZoom:!0});var l4=n1.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(r){var l=this._map,d=l.getZoom(),m=l.options.zoomDelta,b=r.originalEvent.shiftKey?d-m:d+m;l.options.doubleClickZoom==="center"?l.setZoom(b):l.setZoomAround(r.containerPoint,b)}});xt.addInitHook("addHandler","doubleClickZoom",l4),xt.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var c4=n1.extend({addHooks:function(){if(!this._draggable){var r=this._map;this._draggable=new Z1(r._mapPane,r._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),r.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),r.on("zoomend",this._onZoomEnd,this),r.whenReady(this._onZoomEnd,this))}wt(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){de(this._map._container,"leaflet-grab"),de(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 r=this._map;if(r._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var l=Ft(this._map.options.maxBounds);this._offsetLimit=ut(this._map.latLngToContainerPoint(l.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(l.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;r.fire("movestart").fire("dragstart"),r.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(r){if(this._map.options.inertia){var l=this._lastTime=+new Date,d=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(d),this._times.push(l),this._prunePositions(l)}this._map.fire("move",r).fire("drag",r)},_prunePositions:function(r){for(;this._positions.length>1&&r-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var r=this._map.getSize().divideBy(2),l=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=l.subtract(r).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(r,l){return r-(r-l)*this._viscosity},_onPreDragLimit:function(){if(!(!this._viscosity||!this._offsetLimit)){var r=this._draggable._newPos.subtract(this._draggable._startPos),l=this._offsetLimit;r.xl.max.x&&(r.x=this._viscousLimit(r.x,l.max.x)),r.y>l.max.y&&(r.y=this._viscousLimit(r.y,l.max.y)),this._draggable._newPos=this._draggable._startPos.add(r)}},_onPreDragWrap:function(){var r=this._worldWidth,l=Math.round(r/2),d=this._initialWorldOffset,m=this._draggable._newPos.x,b=(m-l+d)%r+l-d,M=(m+l+d)%r-l-d,A=Math.abs(b+d)0?M:-M))-l;this._delta=0,this._startTime=null,A&&(r.options.scrollWheelZoom==="center"?r.setZoom(l+A):r.setZoomAround(this._lastMousePos,l+A))}});xt.addInitHook("addHandler","scrollWheelZoom",h4);var rO=600;xt.mergeOptions({tapHold:lt.touchNative&<.safari&<.mobile,tapTolerance:15});var d4=n1.extend({addHooks:function(){Lt(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){Jt(this._map._container,"touchstart",this._onDown,this)},_onDown:function(r){if(clearTimeout(this._holdTimeout),r.touches.length===1){var l=r.touches[0];this._startPos=this._newPos=new N(l.clientX,l.clientY),this._holdTimeout=setTimeout(s(function(){this._cancel(),this._isTapValid()&&(Lt(document,"touchend",Pe),Lt(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",l))},this),rO),Lt(document,"touchend touchcancel contextmenu",this._cancel,this),Lt(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function r(){Jt(document,"touchend",Pe),Jt(document,"touchend touchcancel",r)},_cancel:function(){clearTimeout(this._holdTimeout),Jt(document,"touchend touchcancel contextmenu",this._cancel,this),Jt(document,"touchmove",this._onMove,this)},_onMove:function(r){var l=r.touches[0];this._newPos=new N(l.clientX,l.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(r,l){var d=new MouseEvent(r,{bubbles:!0,cancelable:!0,view:window,screenX:l.screenX,screenY:l.screenY,clientX:l.clientX,clientY:l.clientY});d._simulated=!0,l.target.dispatchEvent(d)}});xt.addInitHook("addHandler","tapHold",d4),xt.mergeOptions({touchZoom:lt.touch,bounceAtZoomLimits:!0});var f4=n1.extend({addHooks:function(){wt(this._map._container,"leaflet-touch-zoom"),Lt(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){de(this._map._container,"leaflet-touch-zoom"),Jt(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(r){var l=this._map;if(!(!r.touches||r.touches.length!==2||l._animatingZoom||this._zooming)){var d=l.mouseEventToContainerPoint(r.touches[0]),m=l.mouseEventToContainerPoint(r.touches[1]);this._centerPoint=l.getSize()._divideBy(2),this._startLatLng=l.containerPointToLatLng(this._centerPoint),l.options.touchZoom!=="center"&&(this._pinchStartLatLng=l.containerPointToLatLng(d.add(m)._divideBy(2))),this._startDist=d.distanceTo(m),this._startZoom=l.getZoom(),this._moved=!1,this._zooming=!0,l._stop(),Lt(document,"touchmove",this._onTouchMove,this),Lt(document,"touchend touchcancel",this._onTouchEnd,this),Pe(r)}},_onTouchMove:function(r){if(!(!r.touches||r.touches.length!==2||!this._zooming)){var l=this._map,d=l.mouseEventToContainerPoint(r.touches[0]),m=l.mouseEventToContainerPoint(r.touches[1]),b=d.distanceTo(m)/this._startDist;if(this._zoom=l.getScaleZoom(b,this._startZoom),!l.options.bounceAtZoomLimits&&(this._zooml.getMaxZoom()&&b>1)&&(this._zoom=l._limitZoom(this._zoom)),l.options.touchZoom==="center"){if(this._center=this._startLatLng,b===1)return}else{var M=d._add(m)._divideBy(2)._subtract(this._centerPoint);if(b===1&&M.x===0&&M.y===0)return;this._center=l.unproject(l.project(this._pinchStartLatLng,this._zoom).subtract(M),this._zoom)}this._moved||(l._moveStart(!0,!1),this._moved=!0),S(this._animRequest);var A=s(l._move,l,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=nt(A,this,!0),Pe(r)}},_onTouchEnd:function(){if(!this._moved||!this._zooming){this._zooming=!1;return}this._zooming=!1,S(this._animRequest),Jt(document,"touchmove",this._onTouchMove,this),Jt(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))}});xt.addInitHook("addHandler","touchZoom",f4),xt.BoxZoom=s4,xt.DoubleClickZoom=l4,xt.Drag=c4,xt.Keyboard=u4,xt.ScrollWheelZoom=h4,xt.TapHold=d4,xt.TouchZoom=f4,a.Bounds=Q,a.Browser=lt,a.CRS=It,a.Canvas=n4,a.Circle=Rl,a.CircleMarker=lo,a.Class=E,a.Control=R0,a.DivIcon=t4,a.DivOverlay=r1,a.DomEvent=Oz,a.DomUtil=yz,a.Draggable=Z1,a.Evented=st,a.FeatureGroup=z1,a.GeoJSON=M1,a.GridLayer=Mr,a.Handler=n1,a.Icon=_n,a.ImageOverlay=po,a.LatLng=_t,a.LatLngBounds=At,a.Layer=k0,a.LayerGroup=gn,a.LineUtil=Hz,a.Map=xt,a.Marker=so,a.Mixin=Sz,a.Path=q1,a.Point=N,a.PolyUtil=Fz,a.Polygon=bn,a.Polyline=O1,a.Popup=vo,a.PosAnimation=Ed,a.Projection=Ez,a.Rectangle=o4,a.Renderer=B1,a.SVG=Cr,a.SVGOverlay=Qd,a.TileLayer=zn,a.Tooltip=mo,a.Transformation=W1,a.Util=P,a.VideoOverlay=Jd,a.bind=s,a.bounds=ut,a.canvas=r4,a.circle=Uz,a.circleMarker=jz,a.control=yr,a.divIcon=Qz,a.extend=i,a.featureGroup=Rz,a.geoJSON=Yd,a.geoJson=Zz,a.gridLayer=tO,a.icon=kz,a.imageOverlay=qz,a.latLng=bt,a.latLngBounds=Ft,a.layerGroup=xz,a.map=Mz,a.marker=Nz,a.point=G,a.polygon=Wz,a.polyline=Gz,a.popup=Yz,a.rectangle=nO,a.setOptions=B,a.stamp=h,a.svg=i4,a.svgOverlay=Xz,a.tileLayer=e4,a.tooltip=Jz,a.transformation=x0,a.version=n,a.videoOverlay=Kz;var iO=window.L;a.noConflict=function(){return window.L=iO,this},window.L=a})})(HC,W);var FC=function(e,t){var a,n=function(){for(var i=[],o=arguments.length;o--;)i[o]=arguments[o];var s=this;a&&clearTimeout(a),a=setTimeout(function(){e.apply(s,i),a=null},t)};return n.cancel=function(){a&&clearTimeout(a)},n},$v=function(e){return!e||typeof e.charAt!="function"?e:e.charAt(0).toUpperCase()+e.slice(1)},EC=function(e,t,a,n){var i=function(s){var c="set"+$v(s),h=a[s].type===Object||a[s].type===Array||Array.isArray(a[s].type);a[s].custom&&e[c]?e.$watch(s,function(v,p){e[c](v,p)},{deep:h}):c==="setOptions"?e.$watch(s,function(v,p){W.setOptions(t,v)},{deep:h}):t[c]&&e.$watch(s,function(v,p){t[c](v)},{deep:h})};for(var o in a)i(o)},Bc=function(e){var t={};for(var a in e){var n=e[a];n!=null&&(t[a]=n)}return t},$C=function(e,t){var a=t.options&&t.options.constructor===Object?t.options:{};e=e&&e.constructor===Object?e:{};var n=Bc(a);e=Bc(e);var i=t.$options.props;for(var o in e){var s=i[o]?i[o].default&&typeof i[o].default=="function"?i[o].default.call():i[o].default:Symbol("unique"),c=!1;Array.isArray(s)?c=JSON.stringify(s)===JSON.stringify(e[o]):c=s===e[o],n[o]&&!c?(console.warn(o+" props is overriding the value passed in the options props"),n[o]=e[o]):n[o]||(n[o]=e[o])}return n},DC=function(e){for(var t=!1;e&&!t;)e.mapObject===void 0?e=e.$parent:t=!0;return e},xC={props:{pane:{type:String,default:"overlayPane"},attribution:{type:String,default:null,custom:!0},name:{type:String,custom:!0,default:void 0},layerType:{type:String,custom:!0,default:void 0},visible:{type:Boolean,custom:!0,default:!0}},mounted:function(){this.layerOptions={attribution:this.attribution,pane:this.pane}},beforeDestroy:function(){this.unbindPopup(),this.unbindTooltip(),this.parentContainer.removeLayer(this)},methods:{setAttribution:function(t,a){var n=this.$parent.mapObject.attributionControl;n.removeAttribution(a).addAttribution(t)},setName:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setLayerType:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setVisible:function(t){this.mapObject&&(t?this.parentContainer.addLayer(this):this.parentContainer.hideLayer?this.parentContainer.hideLayer(this):this.parentContainer.removeLayer(this))},unbindTooltip:function(){var t=this.mapObject?this.mapObject.getTooltip():null;t&&t.unbindTooltip()},unbindPopup:function(){var t=this.mapObject?this.mapObject.getPopup():null;t&&t.unbindPopup()},updateVisibleProp:function(t){this.$emit("update:visible",t)}}},RC={props:{interactive:{type:Boolean,default:!0},bubblingMouseEvents:{type:Boolean,default:!0}},mounted:function(){this.interactiveLayerOptions={interactive:this.interactive,bubblingMouseEvents:this.bubblingMouseEvents}}},kC={mixins:[xC,RC],props:{lStyle:{type:Object,custom:!0,default:null},stroke:{type:Boolean,custom:!0,default:!0},color:{type:String,custom:!0,default:"#3388ff"},weight:{type:Number,custom:!0,default:3},opacity:{type:Number,custom:!0,default:1},lineCap:{type:String,custom:!0,default:"round"},lineJoin:{type:String,custom:!0,default:"round"},dashArray:{type:String,custom:!0,default:null},dashOffset:{type:String,custom:!0,default:null},fill:{type:Boolean,custom:!0,default:!1},fillColor:{type:String,custom:!0,default:"#3388ff"},fillOpacity:{type:Number,custom:!0,default:.2},fillRule:{type:String,custom:!0,default:"evenodd"},className:{type:String,custom:!0,default:null}},mounted:function(){if(this.pathOptions=Object.assign({},this.layerOptions,this.interactiveLayerOptions,{stroke:this.stroke,color:this.color,weight:this.weight,opacity:this.opacity,lineCap:this.lineCap,lineJoin:this.lineJoin,dashArray:this.dashArray,dashOffset:this.dashOffset,fill:this.fill,fillColor:this.fillColor,fillOpacity:this.fillOpacity,fillRule:this.fillRule,className:this.className}),this.lStyle){console.warn("lStyle is deprecated and is going to be removed in the next major version");for(var t in this.lStyle)this.pathOptions[t]=this.lStyle[t]}},beforeDestroy:function(){this.parentContainer?this.parentContainer.removeLayer(this):console.error("Missing parent container")},methods:{setLStyle:function(t){this.mapObject.setStyle(t)},setStroke:function(t){this.mapObject.setStyle({stroke:t})},setColor:function(t){this.mapObject.setStyle({color:t})},setWeight:function(t){this.mapObject.setStyle({weight:t})},setOpacity:function(t){this.mapObject.setStyle({opacity:t})},setLineCap:function(t){this.mapObject.setStyle({lineCap:t})},setLineJoin:function(t){this.mapObject.setStyle({lineJoin:t})},setDashArray:function(t){this.mapObject.setStyle({dashArray:t})},setDashOffset:function(t){this.mapObject.setStyle({dashOffset:t})},setFill:function(t){this.mapObject.setStyle({fill:t})},setFillColor:function(t){this.mapObject.setStyle({fillColor:t})},setFillOpacity:function(t){this.mapObject.setStyle({fillOpacity:t})},setFillRule:function(t){this.mapObject.setStyle({fillRule:t})},setClassName:function(t){this.mapObject.setStyle({className:t})}}},NC={mixins:[kC],props:{fill:{type:Boolean,custom:!0,default:!0},radius:{type:Number,default:null}},mounted:function(){this.circleOptions=Object.assign({},this.pathOptions,{radius:this.radius})}};const jC=NC;var UC={props:{position:{type:String,default:"topright"}},mounted:function(){this.controlOptions={position:this.position}},beforeDestroy:function(){this.mapObject&&this.mapObject.remove()}};const GC=UC;var WC={props:{pane:{type:String,default:"overlayPane"},attribution:{type:String,default:null,custom:!0},name:{type:String,custom:!0,default:void 0},layerType:{type:String,custom:!0,default:void 0},visible:{type:Boolean,custom:!0,default:!0}},mounted:function(){this.layerOptions={attribution:this.attribution,pane:this.pane}},beforeDestroy:function(){this.unbindPopup(),this.unbindTooltip(),this.parentContainer.removeLayer(this)},methods:{setAttribution:function(t,a){var n=this.$parent.mapObject.attributionControl;n.removeAttribution(a).addAttribution(t)},setName:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setLayerType:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setVisible:function(t){this.mapObject&&(t?this.parentContainer.addLayer(this):this.parentContainer.hideLayer?this.parentContainer.hideLayer(this):this.parentContainer.removeLayer(this))},unbindTooltip:function(){var t=this.mapObject?this.mapObject.getTooltip():null;t&&t.unbindTooltip()},unbindPopup:function(){var t=this.mapObject?this.mapObject.getPopup():null;t&&t.unbindPopup()},updateVisibleProp:function(t){this.$emit("update:visible",t)}}},ZC={mixins:[WC],props:{pane:{type:String,default:"tilePane"},opacity:{type:Number,custom:!1,default:1},zIndex:{type:Number,default:1},tileSize:{type:Number,default:256},noWrap:{type:Boolean,default:!1}},mounted:function(){this.gridLayerOptions=Object.assign({},this.layerOptions,{pane:this.pane,opacity:this.opacity,zIndex:this.zIndex,tileSize:this.tileSize,noWrap:this.noWrap})}};const qC=ZC;var KC={props:{pane:{type:String,default:"overlayPane"},attribution:{type:String,default:null,custom:!0},name:{type:String,custom:!0,default:void 0},layerType:{type:String,custom:!0,default:void 0},visible:{type:Boolean,custom:!0,default:!0}},mounted:function(){this.layerOptions={attribution:this.attribution,pane:this.pane}},beforeDestroy:function(){this.unbindPopup(),this.unbindTooltip(),this.parentContainer.removeLayer(this)},methods:{setAttribution:function(t,a){var n=this.$parent.mapObject.attributionControl;n.removeAttribution(a).addAttribution(t)},setName:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setLayerType:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setVisible:function(t){this.mapObject&&(t?this.parentContainer.addLayer(this):this.parentContainer.hideLayer?this.parentContainer.hideLayer(this):this.parentContainer.removeLayer(this))},unbindTooltip:function(){var t=this.mapObject?this.mapObject.getTooltip():null;t&&t.unbindTooltip()},unbindPopup:function(){var t=this.mapObject?this.mapObject.getPopup():null;t&&t.unbindPopup()},updateVisibleProp:function(t){this.$emit("update:visible",t)}}},XC={props:{interactive:{type:Boolean,default:!0},bubblingMouseEvents:{type:Boolean,default:!0}},mounted:function(){this.interactiveLayerOptions={interactive:this.interactive,bubblingMouseEvents:this.bubblingMouseEvents}}},YC={mixins:[KC,XC],props:{url:{type:String,custom:!0},bounds:{custom:!0},opacity:{type:Number,custom:!0,default:1},alt:{type:String,default:""},interactive:{type:Boolean,default:!1},crossOrigin:{type:Boolean,default:!1},errorOverlayUrl:{type:String,custom:!0,default:""},zIndex:{type:Number,custom:!0,default:1},className:{type:String,default:""}},mounted:function(){this.imageOverlayOptions=Object.assign({},this.layerOptions,this.interactiveLayerOptions,{opacity:this.opacity,alt:this.alt,interactive:this.interactive,crossOrigin:this.crossOrigin,errorOverlayUrl:this.errorOverlayUrl,zIndex:this.zIndex,className:this.className})},methods:{setOpacity:function(t){return this.mapObject.setOpacity(t)},setUrl:function(t){return this.mapObject.setUrl(t)},setBounds:function(t){return this.mapObject.setBounds(t)},getBounds:function(){return this.mapObject.getBounds()},getElement:function(){return this.mapObject.getElement()},bringToFront:function(){return this.mapObject.bringToFront()},bringToBack:function(){return this.mapObject.bringToBack()}},render:function(){return null}};const JC=YC;var QC={props:{interactive:{type:Boolean,default:!0},bubblingMouseEvents:{type:Boolean,default:!0}},mounted:function(){this.interactiveLayerOptions={interactive:this.interactive,bubblingMouseEvents:this.bubblingMouseEvents}}};const tA=QC;var eA={props:{pane:{type:String,default:"overlayPane"},attribution:{type:String,default:null,custom:!0},name:{type:String,custom:!0,default:void 0},layerType:{type:String,custom:!0,default:void 0},visible:{type:Boolean,custom:!0,default:!0}},mounted:function(){this.layerOptions={attribution:this.attribution,pane:this.pane}},beforeDestroy:function(){this.unbindPopup(),this.unbindTooltip(),this.parentContainer.removeLayer(this)},methods:{setAttribution:function(t,a){var n=this.$parent.mapObject.attributionControl;n.removeAttribution(a).addAttribution(t)},setName:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setLayerType:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setVisible:function(t){this.mapObject&&(t?this.parentContainer.addLayer(this):this.parentContainer.hideLayer?this.parentContainer.hideLayer(this):this.parentContainer.removeLayer(this))},unbindTooltip:function(){var t=this.mapObject?this.mapObject.getTooltip():null;t&&t.unbindTooltip()},unbindPopup:function(){var t=this.mapObject?this.mapObject.getPopup():null;t&&t.unbindPopup()},updateVisibleProp:function(t){this.$emit("update:visible",t)}}};const aA=eA;var nA={props:{pane:{type:String,default:"overlayPane"},attribution:{type:String,default:null,custom:!0},name:{type:String,custom:!0,default:void 0},layerType:{type:String,custom:!0,default:void 0},visible:{type:Boolean,custom:!0,default:!0}},mounted:function(){this.layerOptions={attribution:this.attribution,pane:this.pane}},beforeDestroy:function(){this.unbindPopup(),this.unbindTooltip(),this.parentContainer.removeLayer(this)},methods:{setAttribution:function(t,a){var n=this.$parent.mapObject.attributionControl;n.removeAttribution(a).addAttribution(t)},setName:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setLayerType:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setVisible:function(t){this.mapObject&&(t?this.parentContainer.addLayer(this):this.parentContainer.hideLayer?this.parentContainer.hideLayer(this):this.parentContainer.removeLayer(this))},unbindTooltip:function(){var t=this.mapObject?this.mapObject.getTooltip():null;t&&t.unbindTooltip()},unbindPopup:function(){var t=this.mapObject?this.mapObject.getPopup():null;t&&t.unbindPopup()},updateVisibleProp:function(t){this.$emit("update:visible",t)}}},rA={mixins:[nA],mounted:function(){this.layerGroupOptions=this.layerOptions},methods:{addLayer:function(t,a){a||this.mapObject.addLayer(t.mapObject),this.parentContainer.addLayer(t,!0)},removeLayer:function(t,a){a||this.mapObject.removeLayer(t.mapObject),this.parentContainer.removeLayer(t,!0)}}};const iA=rA;var oA={props:{options:{type:Object,default:function(){return{}}}}};const sA=oA;var lA={props:{pane:{type:String,default:"overlayPane"},attribution:{type:String,default:null,custom:!0},name:{type:String,custom:!0,default:void 0},layerType:{type:String,custom:!0,default:void 0},visible:{type:Boolean,custom:!0,default:!0}},mounted:function(){this.layerOptions={attribution:this.attribution,pane:this.pane}},beforeDestroy:function(){this.unbindPopup(),this.unbindTooltip(),this.parentContainer.removeLayer(this)},methods:{setAttribution:function(t,a){var n=this.$parent.mapObject.attributionControl;n.removeAttribution(a).addAttribution(t)},setName:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setLayerType:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setVisible:function(t){this.mapObject&&(t?this.parentContainer.addLayer(this):this.parentContainer.hideLayer?this.parentContainer.hideLayer(this):this.parentContainer.removeLayer(this))},unbindTooltip:function(){var t=this.mapObject?this.mapObject.getTooltip():null;t&&t.unbindTooltip()},unbindPopup:function(){var t=this.mapObject?this.mapObject.getPopup():null;t&&t.unbindPopup()},updateVisibleProp:function(t){this.$emit("update:visible",t)}}},cA={props:{interactive:{type:Boolean,default:!0},bubblingMouseEvents:{type:Boolean,default:!0}},mounted:function(){this.interactiveLayerOptions={interactive:this.interactive,bubblingMouseEvents:this.bubblingMouseEvents}}},uA={mixins:[lA,cA],props:{lStyle:{type:Object,custom:!0,default:null},stroke:{type:Boolean,custom:!0,default:!0},color:{type:String,custom:!0,default:"#3388ff"},weight:{type:Number,custom:!0,default:3},opacity:{type:Number,custom:!0,default:1},lineCap:{type:String,custom:!0,default:"round"},lineJoin:{type:String,custom:!0,default:"round"},dashArray:{type:String,custom:!0,default:null},dashOffset:{type:String,custom:!0,default:null},fill:{type:Boolean,custom:!0,default:!1},fillColor:{type:String,custom:!0,default:"#3388ff"},fillOpacity:{type:Number,custom:!0,default:.2},fillRule:{type:String,custom:!0,default:"evenodd"},className:{type:String,custom:!0,default:null}},mounted:function(){if(this.pathOptions=Object.assign({},this.layerOptions,this.interactiveLayerOptions,{stroke:this.stroke,color:this.color,weight:this.weight,opacity:this.opacity,lineCap:this.lineCap,lineJoin:this.lineJoin,dashArray:this.dashArray,dashOffset:this.dashOffset,fill:this.fill,fillColor:this.fillColor,fillOpacity:this.fillOpacity,fillRule:this.fillRule,className:this.className}),this.lStyle){console.warn("lStyle is deprecated and is going to be removed in the next major version");for(var t in this.lStyle)this.pathOptions[t]=this.lStyle[t]}},beforeDestroy:function(){this.parentContainer?this.parentContainer.removeLayer(this):console.error("Missing parent container")},methods:{setLStyle:function(t){this.mapObject.setStyle(t)},setStroke:function(t){this.mapObject.setStyle({stroke:t})},setColor:function(t){this.mapObject.setStyle({color:t})},setWeight:function(t){this.mapObject.setStyle({weight:t})},setOpacity:function(t){this.mapObject.setStyle({opacity:t})},setLineCap:function(t){this.mapObject.setStyle({lineCap:t})},setLineJoin:function(t){this.mapObject.setStyle({lineJoin:t})},setDashArray:function(t){this.mapObject.setStyle({dashArray:t})},setDashOffset:function(t){this.mapObject.setStyle({dashOffset:t})},setFill:function(t){this.mapObject.setStyle({fill:t})},setFillColor:function(t){this.mapObject.setStyle({fillColor:t})},setFillOpacity:function(t){this.mapObject.setStyle({fillOpacity:t})},setFillRule:function(t){this.mapObject.setStyle({fillRule:t})},setClassName:function(t){this.mapObject.setStyle({className:t})}}};const hA=uA;var dA={props:{pane:{type:String,default:"overlayPane"},attribution:{type:String,default:null,custom:!0},name:{type:String,custom:!0,default:void 0},layerType:{type:String,custom:!0,default:void 0},visible:{type:Boolean,custom:!0,default:!0}},mounted:function(){this.layerOptions={attribution:this.attribution,pane:this.pane}},beforeDestroy:function(){this.unbindPopup(),this.unbindTooltip(),this.parentContainer.removeLayer(this)},methods:{setAttribution:function(t,a){var n=this.$parent.mapObject.attributionControl;n.removeAttribution(a).addAttribution(t)},setName:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setLayerType:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setVisible:function(t){this.mapObject&&(t?this.parentContainer.addLayer(this):this.parentContainer.hideLayer?this.parentContainer.hideLayer(this):this.parentContainer.removeLayer(this))},unbindTooltip:function(){var t=this.mapObject?this.mapObject.getTooltip():null;t&&t.unbindTooltip()},unbindPopup:function(){var t=this.mapObject?this.mapObject.getPopup():null;t&&t.unbindPopup()},updateVisibleProp:function(t){this.$emit("update:visible",t)}}},fA={props:{interactive:{type:Boolean,default:!0},bubblingMouseEvents:{type:Boolean,default:!0}},mounted:function(){this.interactiveLayerOptions={interactive:this.interactive,bubblingMouseEvents:this.bubblingMouseEvents}}},pA={mixins:[dA,fA],props:{lStyle:{type:Object,custom:!0,default:null},stroke:{type:Boolean,custom:!0,default:!0},color:{type:String,custom:!0,default:"#3388ff"},weight:{type:Number,custom:!0,default:3},opacity:{type:Number,custom:!0,default:1},lineCap:{type:String,custom:!0,default:"round"},lineJoin:{type:String,custom:!0,default:"round"},dashArray:{type:String,custom:!0,default:null},dashOffset:{type:String,custom:!0,default:null},fill:{type:Boolean,custom:!0,default:!1},fillColor:{type:String,custom:!0,default:"#3388ff"},fillOpacity:{type:Number,custom:!0,default:.2},fillRule:{type:String,custom:!0,default:"evenodd"},className:{type:String,custom:!0,default:null}},mounted:function(){if(this.pathOptions=Object.assign({},this.layerOptions,this.interactiveLayerOptions,{stroke:this.stroke,color:this.color,weight:this.weight,opacity:this.opacity,lineCap:this.lineCap,lineJoin:this.lineJoin,dashArray:this.dashArray,dashOffset:this.dashOffset,fill:this.fill,fillColor:this.fillColor,fillOpacity:this.fillOpacity,fillRule:this.fillRule,className:this.className}),this.lStyle){console.warn("lStyle is deprecated and is going to be removed in the next major version");for(var t in this.lStyle)this.pathOptions[t]=this.lStyle[t]}},beforeDestroy:function(){this.parentContainer?this.parentContainer.removeLayer(this):console.error("Missing parent container")},methods:{setLStyle:function(t){this.mapObject.setStyle(t)},setStroke:function(t){this.mapObject.setStyle({stroke:t})},setColor:function(t){this.mapObject.setStyle({color:t})},setWeight:function(t){this.mapObject.setStyle({weight:t})},setOpacity:function(t){this.mapObject.setStyle({opacity:t})},setLineCap:function(t){this.mapObject.setStyle({lineCap:t})},setLineJoin:function(t){this.mapObject.setStyle({lineJoin:t})},setDashArray:function(t){this.mapObject.setStyle({dashArray:t})},setDashOffset:function(t){this.mapObject.setStyle({dashOffset:t})},setFill:function(t){this.mapObject.setStyle({fill:t})},setFillColor:function(t){this.mapObject.setStyle({fillColor:t})},setFillOpacity:function(t){this.mapObject.setStyle({fillOpacity:t})},setFillRule:function(t){this.mapObject.setStyle({fillRule:t})},setClassName:function(t){this.mapObject.setStyle({className:t})}}},vA={mixins:[pA],props:{smoothFactor:{type:Number,custom:!0,default:1},noClip:{type:Boolean,custom:!0,default:!1}},data:function(){return{ready:!1}},mounted:function(){this.polyLineOptions=Object.assign({},this.pathOptions,{smoothFactor:this.smoothFactor,noClip:this.noClip})},methods:{setSmoothFactor:function(t){this.mapObject.setStyle({smoothFactor:t})},setNoClip:function(t){this.mapObject.setStyle({noClip:t})},addLatLng:function(t){this.mapObject.addLatLng(t)}}},mA={mixins:[vA],props:{fill:{type:Boolean,custom:!0,default:!0}},mounted:function(){this.polygonOptions=this.polyLineOptions},methods:{getGeoJSONData:function(){return this.mapObject.toGeoJSON()}}};const gA=mA;var _A={props:{pane:{type:String,default:"overlayPane"},attribution:{type:String,default:null,custom:!0},name:{type:String,custom:!0,default:void 0},layerType:{type:String,custom:!0,default:void 0},visible:{type:Boolean,custom:!0,default:!0}},mounted:function(){this.layerOptions={attribution:this.attribution,pane:this.pane}},beforeDestroy:function(){this.unbindPopup(),this.unbindTooltip(),this.parentContainer.removeLayer(this)},methods:{setAttribution:function(t,a){var n=this.$parent.mapObject.attributionControl;n.removeAttribution(a).addAttribution(t)},setName:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setLayerType:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setVisible:function(t){this.mapObject&&(t?this.parentContainer.addLayer(this):this.parentContainer.hideLayer?this.parentContainer.hideLayer(this):this.parentContainer.removeLayer(this))},unbindTooltip:function(){var t=this.mapObject?this.mapObject.getTooltip():null;t&&t.unbindTooltip()},unbindPopup:function(){var t=this.mapObject?this.mapObject.getPopup():null;t&&t.unbindPopup()},updateVisibleProp:function(t){this.$emit("update:visible",t)}}},bA={props:{interactive:{type:Boolean,default:!0},bubblingMouseEvents:{type:Boolean,default:!0}},mounted:function(){this.interactiveLayerOptions={interactive:this.interactive,bubblingMouseEvents:this.bubblingMouseEvents}}},yA={mixins:[_A,bA],props:{lStyle:{type:Object,custom:!0,default:null},stroke:{type:Boolean,custom:!0,default:!0},color:{type:String,custom:!0,default:"#3388ff"},weight:{type:Number,custom:!0,default:3},opacity:{type:Number,custom:!0,default:1},lineCap:{type:String,custom:!0,default:"round"},lineJoin:{type:String,custom:!0,default:"round"},dashArray:{type:String,custom:!0,default:null},dashOffset:{type:String,custom:!0,default:null},fill:{type:Boolean,custom:!0,default:!1},fillColor:{type:String,custom:!0,default:"#3388ff"},fillOpacity:{type:Number,custom:!0,default:.2},fillRule:{type:String,custom:!0,default:"evenodd"},className:{type:String,custom:!0,default:null}},mounted:function(){if(this.pathOptions=Object.assign({},this.layerOptions,this.interactiveLayerOptions,{stroke:this.stroke,color:this.color,weight:this.weight,opacity:this.opacity,lineCap:this.lineCap,lineJoin:this.lineJoin,dashArray:this.dashArray,dashOffset:this.dashOffset,fill:this.fill,fillColor:this.fillColor,fillOpacity:this.fillOpacity,fillRule:this.fillRule,className:this.className}),this.lStyle){console.warn("lStyle is deprecated and is going to be removed in the next major version");for(var t in this.lStyle)this.pathOptions[t]=this.lStyle[t]}},beforeDestroy:function(){this.parentContainer?this.parentContainer.removeLayer(this):console.error("Missing parent container")},methods:{setLStyle:function(t){this.mapObject.setStyle(t)},setStroke:function(t){this.mapObject.setStyle({stroke:t})},setColor:function(t){this.mapObject.setStyle({color:t})},setWeight:function(t){this.mapObject.setStyle({weight:t})},setOpacity:function(t){this.mapObject.setStyle({opacity:t})},setLineCap:function(t){this.mapObject.setStyle({lineCap:t})},setLineJoin:function(t){this.mapObject.setStyle({lineJoin:t})},setDashArray:function(t){this.mapObject.setStyle({dashArray:t})},setDashOffset:function(t){this.mapObject.setStyle({dashOffset:t})},setFill:function(t){this.mapObject.setStyle({fill:t})},setFillColor:function(t){this.mapObject.setStyle({fillColor:t})},setFillOpacity:function(t){this.mapObject.setStyle({fillOpacity:t})},setFillRule:function(t){this.mapObject.setStyle({fillRule:t})},setClassName:function(t){this.mapObject.setStyle({className:t})}}},zA={mixins:[yA],props:{smoothFactor:{type:Number,custom:!0,default:1},noClip:{type:Boolean,custom:!0,default:!1}},data:function(){return{ready:!1}},mounted:function(){this.polyLineOptions=Object.assign({},this.pathOptions,{smoothFactor:this.smoothFactor,noClip:this.noClip})},methods:{setSmoothFactor:function(t){this.mapObject.setStyle({smoothFactor:t})},setNoClip:function(t){this.mapObject.setStyle({noClip:t})},addLatLng:function(t){this.mapObject.addLatLng(t)}}};const OA=zA;var MA={props:{content:{type:String,default:null,custom:!0}},mounted:function(){this.popperOptions={}},methods:{setContent:function(t){this.mapObject&&t!==null&&t!==void 0&&this.mapObject.setContent(t)}},render:function(t){return this.$slots.default?t("div",this.$slots.default):null}};const BA=MA;var CA={props:{pane:{type:String,default:"overlayPane"},attribution:{type:String,default:null,custom:!0},name:{type:String,custom:!0,default:void 0},layerType:{type:String,custom:!0,default:void 0},visible:{type:Boolean,custom:!0,default:!0}},mounted:function(){this.layerOptions={attribution:this.attribution,pane:this.pane}},beforeDestroy:function(){this.unbindPopup(),this.unbindTooltip(),this.parentContainer.removeLayer(this)},methods:{setAttribution:function(t,a){var n=this.$parent.mapObject.attributionControl;n.removeAttribution(a).addAttribution(t)},setName:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setLayerType:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setVisible:function(t){this.mapObject&&(t?this.parentContainer.addLayer(this):this.parentContainer.hideLayer?this.parentContainer.hideLayer(this):this.parentContainer.removeLayer(this))},unbindTooltip:function(){var t=this.mapObject?this.mapObject.getTooltip():null;t&&t.unbindTooltip()},unbindPopup:function(){var t=this.mapObject?this.mapObject.getPopup():null;t&&t.unbindPopup()},updateVisibleProp:function(t){this.$emit("update:visible",t)}}},AA={mixins:[CA],props:{pane:{type:String,default:"tilePane"},opacity:{type:Number,custom:!1,default:1},zIndex:{type:Number,default:1},tileSize:{type:Number,default:256},noWrap:{type:Boolean,default:!1}},mounted:function(){this.gridLayerOptions=Object.assign({},this.layerOptions,{pane:this.pane,opacity:this.opacity,zIndex:this.zIndex,tileSize:this.tileSize,noWrap:this.noWrap})}},LA={mixins:[AA],props:{tms:{type:Boolean,default:!1},subdomains:{type:[String,Array],default:"abc",validator:function(e){return typeof e=="string"?!0:Array.isArray(e)?e.every(function(t){return typeof t=="string"}):!1}},detectRetina:{type:Boolean,default:!1}},mounted:function(){this.tileLayerOptions=Object.assign({},this.gridLayerOptions,{tms:this.tms,subdomains:this.subdomains,detectRetina:this.detectRetina})},render:function(){return null}};const IA=LA;var SA={props:{pane:{type:String,default:"overlayPane"},attribution:{type:String,default:null,custom:!0},name:{type:String,custom:!0,default:void 0},layerType:{type:String,custom:!0,default:void 0},visible:{type:Boolean,custom:!0,default:!0}},mounted:function(){this.layerOptions={attribution:this.attribution,pane:this.pane}},beforeDestroy:function(){this.unbindPopup(),this.unbindTooltip(),this.parentContainer.removeLayer(this)},methods:{setAttribution:function(t,a){var n=this.$parent.mapObject.attributionControl;n.removeAttribution(a).addAttribution(t)},setName:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setLayerType:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setVisible:function(t){this.mapObject&&(t?this.parentContainer.addLayer(this):this.parentContainer.hideLayer?this.parentContainer.hideLayer(this):this.parentContainer.removeLayer(this))},unbindTooltip:function(){var t=this.mapObject?this.mapObject.getTooltip():null;t&&t.unbindTooltip()},unbindPopup:function(){var t=this.mapObject?this.mapObject.getPopup():null;t&&t.unbindPopup()},updateVisibleProp:function(t){this.$emit("update:visible",t)}}},wA={mixins:[SA],props:{pane:{type:String,default:"tilePane"},opacity:{type:Number,custom:!1,default:1},zIndex:{type:Number,default:1},tileSize:{type:Number,default:256},noWrap:{type:Boolean,default:!1}},mounted:function(){this.gridLayerOptions=Object.assign({},this.layerOptions,{pane:this.pane,opacity:this.opacity,zIndex:this.zIndex,tileSize:this.tileSize,noWrap:this.noWrap})}},PA={mixins:[wA],props:{tms:{type:Boolean,default:!1},subdomains:{type:[String,Array],default:"abc",validator:function(e){return typeof e=="string"?!0:Array.isArray(e)?e.every(function(t){return typeof t=="string"}):!1}},detectRetina:{type:Boolean,default:!1}},mounted:function(){this.tileLayerOptions=Object.assign({},this.gridLayerOptions,{tms:this.tms,subdomains:this.subdomains,detectRetina:this.detectRetina})},render:function(){return null}},TA={mixins:[PA],props:{layers:{type:String,default:""},styles:{type:String,default:""},format:{type:String,default:"image/jpeg"},transparent:{type:Boolean,custom:!1},version:{type:String,default:"1.1.1"},crs:{default:null},upperCase:{type:Boolean,default:!1}},mounted:function(){this.tileLayerWMSOptions=Object.assign({},this.tileLayerOptions,{layers:this.layers,styles:this.styles,format:this.format,transparent:this.transparent,version:this.version,crs:this.crs,upperCase:this.upperCase})}};const VA=TA;var HA=function(e){return!e||typeof e.charAt!="function"?e:e.charAt(0).toUpperCase()+e.slice(1)},FA=function(e,t,a,n){var i=function(s){var c="set"+HA(s),h=a[s].type===Object||a[s].type===Array||Array.isArray(a[s].type);a[s].custom&&e[c]?e.$watch(s,function(v,p){e[c](v,p)},{deep:h}):c==="setOptions"?e.$watch(s,function(v,p){W.setOptions(t,v)},{deep:h}):t[c]&&e.$watch(s,function(v,p){t[c](v)},{deep:h})};for(var o in a)i(o)},u3=function(e){var t={};for(var a in e){var n=e[a];n!=null&&(t[a]=n)}return t},EA=function(e,t){var a=t.options&&t.options.constructor===Object?t.options:{};e=e&&e.constructor===Object?e:{};var n=u3(a);e=u3(e);var i=t.$options.props;for(var o in e){var s=i[o]?i[o].default&&typeof i[o].default=="function"?i[o].default.call():i[o].default:Symbol("unique"),c=!1;Array.isArray(s)?c=JSON.stringify(s)===JSON.stringify(e[o]):c=s===e[o],n[o]&&!c?(console.warn(o+" props is overriding the value passed in the options props"),n[o]=e[o]):n[o]||(n[o]=e[o])}return n},$A=function(e){for(var t=!1;e&&!t;)e.mapObject===void 0?e=e.$parent:t=!0;return e},DA={props:{pane:{type:String,default:"overlayPane"},attribution:{type:String,default:null,custom:!0},name:{type:String,custom:!0,default:void 0},layerType:{type:String,custom:!0,default:void 0},visible:{type:Boolean,custom:!0,default:!0}},mounted:function(){this.layerOptions={attribution:this.attribution,pane:this.pane}},beforeDestroy:function(){this.unbindPopup(),this.unbindTooltip(),this.parentContainer.removeLayer(this)},methods:{setAttribution:function(t,a){var n=this.$parent.mapObject.attributionControl;n.removeAttribution(a).addAttribution(t)},setName:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setLayerType:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setVisible:function(t){this.mapObject&&(t?this.parentContainer.addLayer(this):this.parentContainer.hideLayer?this.parentContainer.hideLayer(this):this.parentContainer.removeLayer(this))},unbindTooltip:function(){var t=this.mapObject?this.mapObject.getTooltip():null;t&&t.unbindTooltip()},unbindPopup:function(){var t=this.mapObject?this.mapObject.getPopup():null;t&&t.unbindPopup()},updateVisibleProp:function(t){this.$emit("update:visible",t)}}},xA={props:{interactive:{type:Boolean,default:!0},bubblingMouseEvents:{type:Boolean,default:!0}},mounted:function(){this.interactiveLayerOptions={interactive:this.interactive,bubblingMouseEvents:this.bubblingMouseEvents}}},RA={mixins:[DA,xA],props:{lStyle:{type:Object,custom:!0,default:null},stroke:{type:Boolean,custom:!0,default:!0},color:{type:String,custom:!0,default:"#3388ff"},weight:{type:Number,custom:!0,default:3},opacity:{type:Number,custom:!0,default:1},lineCap:{type:String,custom:!0,default:"round"},lineJoin:{type:String,custom:!0,default:"round"},dashArray:{type:String,custom:!0,default:null},dashOffset:{type:String,custom:!0,default:null},fill:{type:Boolean,custom:!0,default:!1},fillColor:{type:String,custom:!0,default:"#3388ff"},fillOpacity:{type:Number,custom:!0,default:.2},fillRule:{type:String,custom:!0,default:"evenodd"},className:{type:String,custom:!0,default:null}},mounted:function(){if(this.pathOptions=Object.assign({},this.layerOptions,this.interactiveLayerOptions,{stroke:this.stroke,color:this.color,weight:this.weight,opacity:this.opacity,lineCap:this.lineCap,lineJoin:this.lineJoin,dashArray:this.dashArray,dashOffset:this.dashOffset,fill:this.fill,fillColor:this.fillColor,fillOpacity:this.fillOpacity,fillRule:this.fillRule,className:this.className}),this.lStyle){console.warn("lStyle is deprecated and is going to be removed in the next major version");for(var t in this.lStyle)this.pathOptions[t]=this.lStyle[t]}},beforeDestroy:function(){this.parentContainer?this.parentContainer.removeLayer(this):console.error("Missing parent container")},methods:{setLStyle:function(t){this.mapObject.setStyle(t)},setStroke:function(t){this.mapObject.setStyle({stroke:t})},setColor:function(t){this.mapObject.setStyle({color:t})},setWeight:function(t){this.mapObject.setStyle({weight:t})},setOpacity:function(t){this.mapObject.setStyle({opacity:t})},setLineCap:function(t){this.mapObject.setStyle({lineCap:t})},setLineJoin:function(t){this.mapObject.setStyle({lineJoin:t})},setDashArray:function(t){this.mapObject.setStyle({dashArray:t})},setDashOffset:function(t){this.mapObject.setStyle({dashOffset:t})},setFill:function(t){this.mapObject.setStyle({fill:t})},setFillColor:function(t){this.mapObject.setStyle({fillColor:t})},setFillOpacity:function(t){this.mapObject.setStyle({fillOpacity:t})},setFillRule:function(t){this.mapObject.setStyle({fillRule:t})},setClassName:function(t){this.mapObject.setStyle({className:t})}}},kA={mixins:[RA],props:{fill:{type:Boolean,custom:!0,default:!0},radius:{type:Number,default:null}},mounted:function(){this.circleOptions=Object.assign({},this.pathOptions,{radius:this.radius})}},NA={props:{options:{type:Object,default:function(){return{}}}}},jA={name:"LCircle",mixins:[kA,NA],props:{latLng:{type:[Object,Array],default:function(){return[0,0]}}},data:function(){return{ready:!1}},mounted:function(){var t=this,a=EA(this.circleOptions,this);this.mapObject=W.circle(this.latLng,a),W.DomEvent.on(this.mapObject,this.$listeners),FA(this,this.mapObject,this.$options.props),this.ready=!0,this.parentContainer=$A(this.$parent),this.parentContainer.addLayer(this,!this.visible),this.$nextTick(function(){t.$emit("ready",t.mapObject)})},methods:{}};function UA(e,t,a,n,i,o,s,c,h,v){typeof s!="boolean"&&(h=c,c=s,s=!1);var p=typeof a=="function"?a.options:a;e&&e.render&&(p.render=e.render,p.staticRenderFns=e.staticRenderFns,p._compiled=!0,i&&(p.functional=!0)),n&&(p._scopeId=n);var g;if(o?(g=function(_){_=_||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!_&&typeof __VUE_SSR_CONTEXT__<"u"&&(_=__VUE_SSR_CONTEXT__),t&&t.call(this,h(_)),_&&_._registeredComponents&&_._registeredComponents.add(o)},p._ssrRegister=g):t&&(g=s?function(_){t.call(this,v(_,this.$root.$options.shadowRoot))}:function(_){t.call(this,c(_))}),g)if(p.functional){var y=p.render;p.render=function(B,I){return g.call(I),y(B,I)}}else{var O=p.beforeCreate;p.beforeCreate=O?[].concat(O,g):[g]}return a}var GA=jA,WA=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticStyle:{display:"none"}},[e.ready?e._t("default"):e._e()],2)},ZA=[],qA=void 0,KA=void 0,XA=void 0,YA=!1,JA=UA({render:WA,staticRenderFns:ZA},qA,GA,KA,YA,XA,!1,void 0,void 0,void 0);const Dv=JA;var QA=function(e){return!e||typeof e.charAt!="function"?e:e.charAt(0).toUpperCase()+e.slice(1)},tL=function(e,t,a,n){var i=function(s){var c="set"+QA(s),h=a[s].type===Object||a[s].type===Array||Array.isArray(a[s].type);a[s].custom&&e[c]?e.$watch(s,function(v,p){e[c](v,p)},{deep:h}):c==="setOptions"?e.$watch(s,function(v,p){W.setOptions(t,v)},{deep:h}):t[c]&&e.$watch(s,function(v,p){t[c](v)},{deep:h})};for(var o in a)i(o)},h3=function(e){var t={};for(var a in e){var n=e[a];n!=null&&(t[a]=n)}return t},eL=function(e,t){var a=t.options&&t.options.constructor===Object?t.options:{};e=e&&e.constructor===Object?e:{};var n=h3(a);e=h3(e);var i=t.$options.props;for(var o in e){var s=i[o]?i[o].default&&typeof i[o].default=="function"?i[o].default.call():i[o].default:Symbol("unique"),c=!1;Array.isArray(s)?c=JSON.stringify(s)===JSON.stringify(e[o]):c=s===e[o],n[o]&&!c?(console.warn(o+" props is overriding the value passed in the options props"),n[o]=e[o]):n[o]||(n[o]=e[o])}return n},aL=function(e){for(var t=!1;e&&!t;)e.mapObject===void 0?e=e.$parent:t=!0;return e},nL={props:{pane:{type:String,default:"overlayPane"},attribution:{type:String,default:null,custom:!0},name:{type:String,custom:!0,default:void 0},layerType:{type:String,custom:!0,default:void 0},visible:{type:Boolean,custom:!0,default:!0}},mounted:function(){this.layerOptions={attribution:this.attribution,pane:this.pane}},beforeDestroy:function(){this.unbindPopup(),this.unbindTooltip(),this.parentContainer.removeLayer(this)},methods:{setAttribution:function(t,a){var n=this.$parent.mapObject.attributionControl;n.removeAttribution(a).addAttribution(t)},setName:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setLayerType:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setVisible:function(t){this.mapObject&&(t?this.parentContainer.addLayer(this):this.parentContainer.hideLayer?this.parentContainer.hideLayer(this):this.parentContainer.removeLayer(this))},unbindTooltip:function(){var t=this.mapObject?this.mapObject.getTooltip():null;t&&t.unbindTooltip()},unbindPopup:function(){var t=this.mapObject?this.mapObject.getPopup():null;t&&t.unbindPopup()},updateVisibleProp:function(t){this.$emit("update:visible",t)}}},rL={props:{interactive:{type:Boolean,default:!0},bubblingMouseEvents:{type:Boolean,default:!0}},mounted:function(){this.interactiveLayerOptions={interactive:this.interactive,bubblingMouseEvents:this.bubblingMouseEvents}}},iL={mixins:[nL,rL],props:{lStyle:{type:Object,custom:!0,default:null},stroke:{type:Boolean,custom:!0,default:!0},color:{type:String,custom:!0,default:"#3388ff"},weight:{type:Number,custom:!0,default:3},opacity:{type:Number,custom:!0,default:1},lineCap:{type:String,custom:!0,default:"round"},lineJoin:{type:String,custom:!0,default:"round"},dashArray:{type:String,custom:!0,default:null},dashOffset:{type:String,custom:!0,default:null},fill:{type:Boolean,custom:!0,default:!1},fillColor:{type:String,custom:!0,default:"#3388ff"},fillOpacity:{type:Number,custom:!0,default:.2},fillRule:{type:String,custom:!0,default:"evenodd"},className:{type:String,custom:!0,default:null}},mounted:function(){if(this.pathOptions=Object.assign({},this.layerOptions,this.interactiveLayerOptions,{stroke:this.stroke,color:this.color,weight:this.weight,opacity:this.opacity,lineCap:this.lineCap,lineJoin:this.lineJoin,dashArray:this.dashArray,dashOffset:this.dashOffset,fill:this.fill,fillColor:this.fillColor,fillOpacity:this.fillOpacity,fillRule:this.fillRule,className:this.className}),this.lStyle){console.warn("lStyle is deprecated and is going to be removed in the next major version");for(var t in this.lStyle)this.pathOptions[t]=this.lStyle[t]}},beforeDestroy:function(){this.parentContainer?this.parentContainer.removeLayer(this):console.error("Missing parent container")},methods:{setLStyle:function(t){this.mapObject.setStyle(t)},setStroke:function(t){this.mapObject.setStyle({stroke:t})},setColor:function(t){this.mapObject.setStyle({color:t})},setWeight:function(t){this.mapObject.setStyle({weight:t})},setOpacity:function(t){this.mapObject.setStyle({opacity:t})},setLineCap:function(t){this.mapObject.setStyle({lineCap:t})},setLineJoin:function(t){this.mapObject.setStyle({lineJoin:t})},setDashArray:function(t){this.mapObject.setStyle({dashArray:t})},setDashOffset:function(t){this.mapObject.setStyle({dashOffset:t})},setFill:function(t){this.mapObject.setStyle({fill:t})},setFillColor:function(t){this.mapObject.setStyle({fillColor:t})},setFillOpacity:function(t){this.mapObject.setStyle({fillOpacity:t})},setFillRule:function(t){this.mapObject.setStyle({fillRule:t})},setClassName:function(t){this.mapObject.setStyle({className:t})}}},oL={mixins:[iL],props:{fill:{type:Boolean,custom:!0,default:!0},radius:{type:Number,default:null}},mounted:function(){this.circleOptions=Object.assign({},this.pathOptions,{radius:this.radius})}},sL={props:{options:{type:Object,default:function(){return{}}}}},lL={name:"LCircleMarker",mixins:[oL,sL],props:{latLng:{type:[Object,Array],default:function(){return[0,0]}},pane:{type:String,default:"markerPane"}},data:function(){return{ready:!1}},mounted:function(){var t=this,a=eL(this.circleOptions,this);this.mapObject=W.circleMarker(this.latLng,a),W.DomEvent.on(this.mapObject,this.$listeners),tL(this,this.mapObject,this.$options.props),this.ready=!0,this.parentContainer=aL(this.$parent),this.parentContainer.addLayer(this,!this.visible),this.$nextTick(function(){t.$emit("ready",t.mapObject)})}};function cL(e,t,a,n,i,o,s,c,h,v){typeof s!="boolean"&&(h=c,c=s,s=!1);var p=typeof a=="function"?a.options:a;e&&e.render&&(p.render=e.render,p.staticRenderFns=e.staticRenderFns,p._compiled=!0,i&&(p.functional=!0)),n&&(p._scopeId=n);var g;if(o?(g=function(_){_=_||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!_&&typeof __VUE_SSR_CONTEXT__<"u"&&(_=__VUE_SSR_CONTEXT__),t&&t.call(this,h(_)),_&&_._registeredComponents&&_._registeredComponents.add(o)},p._ssrRegister=g):t&&(g=s?function(_){t.call(this,v(_,this.$root.$options.shadowRoot))}:function(_){t.call(this,c(_))}),g)if(p.functional){var y=p.render;p.render=function(B,I){return g.call(I),y(B,I)}}else{var O=p.beforeCreate;p.beforeCreate=O?[].concat(O,g):[g]}return a}var uL=lL,hL=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticStyle:{display:"none"}},[e.ready?e._t("default"):e._e()],2)},dL=[],fL=void 0,pL=void 0,vL=void 0,mL=!1,gL=cL({render:hL,staticRenderFns:dL},fL,uL,pL,mL,vL,!1,void 0,void 0,void 0);const xv=gL;var _L=function(e){return!e||typeof e.charAt!="function"?e:e.charAt(0).toUpperCase()+e.slice(1)},bL=function(e,t,a,n){var i=function(s){var c="set"+_L(s),h=a[s].type===Object||a[s].type===Array||Array.isArray(a[s].type);a[s].custom&&e[c]?e.$watch(s,function(v,p){e[c](v,p)},{deep:h}):c==="setOptions"?e.$watch(s,function(v,p){W.setOptions(t,v)},{deep:h}):t[c]&&e.$watch(s,function(v,p){t[c](v)},{deep:h})};for(var o in a)i(o)},d3=function(e){var t={};for(var a in e){var n=e[a];n!=null&&(t[a]=n)}return t},yL=function(e,t){var a=t.options&&t.options.constructor===Object?t.options:{};e=e&&e.constructor===Object?e:{};var n=d3(a);e=d3(e);var i=t.$options.props;for(var o in e){var s=i[o]?i[o].default&&typeof i[o].default=="function"?i[o].default.call():i[o].default:Symbol("unique"),c=!1;Array.isArray(s)?c=JSON.stringify(s)===JSON.stringify(e[o]):c=s===e[o],n[o]&&!c?(console.warn(o+" props is overriding the value passed in the options props"),n[o]=e[o]):n[o]||(n[o]=e[o])}return n},zL=function(e){for(var t=!1;e&&!t;)e.mapObject===void 0?e=e.$parent:t=!0;return e},OL={props:{position:{type:String,default:"topright"}},mounted:function(){this.controlOptions={position:this.position}},beforeDestroy:function(){this.mapObject&&this.mapObject.remove()}},ML={props:{options:{type:Object,default:function(){return{}}}}},BL={name:"LControl",mixins:[OL,ML],props:{disableClickPropagation:{type:Boolean,custom:!0,default:!0},disableScrollPropagation:{type:Boolean,custom:!0,default:!1}},mounted:function(){var t=this,a=W.Control.extend({element:void 0,onAdd:function(){return this.element},setElement:function(o){this.element=o}}),n=yL(this.controlOptions,this);this.mapObject=new a(n),bL(this,this.mapObject,this.$options.props),this.parentContainer=zL(this.$parent),this.mapObject.setElement(this.$el),this.disableClickPropagation&&W.DomEvent.disableClickPropagation(this.$el),this.disableScrollPropagation&&W.DomEvent.disableScrollPropagation(this.$el),this.mapObject.addTo(this.parentContainer.mapObject),this.$nextTick(function(){t.$emit("ready",t.mapObject)})}};function CL(e,t,a,n,i,o,s,c,h,v){typeof s!="boolean"&&(h=c,c=s,s=!1);var p=typeof a=="function"?a.options:a;e&&e.render&&(p.render=e.render,p.staticRenderFns=e.staticRenderFns,p._compiled=!0,i&&(p.functional=!0)),n&&(p._scopeId=n);var g;if(o?(g=function(_){_=_||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!_&&typeof __VUE_SSR_CONTEXT__<"u"&&(_=__VUE_SSR_CONTEXT__),t&&t.call(this,h(_)),_&&_._registeredComponents&&_._registeredComponents.add(o)},p._ssrRegister=g):t&&(g=s?function(_){t.call(this,v(_,this.$root.$options.shadowRoot))}:function(_){t.call(this,c(_))}),g)if(p.functional){var y=p.render;p.render=function(B,I){return g.call(I),y(B,I)}}else{var O=p.beforeCreate;p.beforeCreate=O?[].concat(O,g):[g]}return a}var AL=BL,LL=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[e._t("default")],2)},IL=[],SL=void 0,wL=void 0,PL=void 0,TL=!1,VL=CL({render:LL,staticRenderFns:IL},SL,AL,wL,TL,PL,!1,void 0,void 0,void 0);const Qu=VL;var HL=function(e){return!e||typeof e.charAt!="function"?e:e.charAt(0).toUpperCase()+e.slice(1)},FL=function(e,t,a,n){var i=function(s){var c="set"+HL(s),h=a[s].type===Object||a[s].type===Array||Array.isArray(a[s].type);a[s].custom&&e[c]?e.$watch(s,function(v,p){e[c](v,p)},{deep:h}):c==="setOptions"?e.$watch(s,function(v,p){W.setOptions(t,v)},{deep:h}):t[c]&&e.$watch(s,function(v,p){t[c](v)},{deep:h})};for(var o in a)i(o)},f3=function(e){var t={};for(var a in e){var n=e[a];n!=null&&(t[a]=n)}return t},EL=function(e,t){var a=t.options&&t.options.constructor===Object?t.options:{};e=e&&e.constructor===Object?e:{};var n=f3(a);e=f3(e);var i=t.$options.props;for(var o in e){var s=i[o]?i[o].default&&typeof i[o].default=="function"?i[o].default.call():i[o].default:Symbol("unique"),c=!1;Array.isArray(s)?c=JSON.stringify(s)===JSON.stringify(e[o]):c=s===e[o],n[o]&&!c?(console.warn(o+" props is overriding the value passed in the options props"),n[o]=e[o]):n[o]||(n[o]=e[o])}return n},$L={props:{position:{type:String,default:"topright"}},mounted:function(){this.controlOptions={position:this.position}},beforeDestroy:function(){this.mapObject&&this.mapObject.remove()}},DL={props:{options:{type:Object,default:function(){return{}}}}},xL={name:"LControlAttribution",mixins:[$L,DL],props:{prefix:{type:[String,Boolean],default:null}},mounted:function(){var t=this,a=EL(Object.assign({},this.controlOptions,{prefix:this.prefix}),this);this.mapObject=W.control.attribution(a),FL(this,this.mapObject,this.$options.props),this.mapObject.addTo(this.$parent.mapObject),this.$nextTick(function(){t.$emit("ready",t.mapObject)})},render:function(){return null}};function RL(e,t,a,n,i,o,s,c,h,v){typeof s!="boolean"&&(h=c,c=s,s=!1);var p=typeof a=="function"?a.options:a;e&&e.render&&(p.render=e.render,p.staticRenderFns=e.staticRenderFns,p._compiled=!0,i&&(p.functional=!0)),n&&(p._scopeId=n);var g;if(o?(g=function(_){_=_||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!_&&typeof __VUE_SSR_CONTEXT__<"u"&&(_=__VUE_SSR_CONTEXT__),t&&t.call(this,h(_)),_&&_._registeredComponents&&_._registeredComponents.add(o)},p._ssrRegister=g):t&&(g=s?function(_){t.call(this,v(_,this.$root.$options.shadowRoot))}:function(_){t.call(this,c(_))}),g)if(p.functional){var y=p.render;p.render=function(B,I){return g.call(I),y(B,I)}}else{var O=p.beforeCreate;p.beforeCreate=O?[].concat(O,g):[g]}return a}var kL=xL,NL=void 0,jL=void 0,UL=void 0,GL=void 0,WL=RL({},NL,kL,jL,GL,UL,!1,void 0,void 0,void 0);const ZL=WL;var qL=function(e){return!e||typeof e.charAt!="function"?e:e.charAt(0).toUpperCase()+e.slice(1)},KL=function(e,t,a,n){var i=function(s){var c="set"+qL(s),h=a[s].type===Object||a[s].type===Array||Array.isArray(a[s].type);a[s].custom&&e[c]?e.$watch(s,function(v,p){e[c](v,p)},{deep:h}):c==="setOptions"?e.$watch(s,function(v,p){W.setOptions(t,v)},{deep:h}):t[c]&&e.$watch(s,function(v,p){t[c](v)},{deep:h})};for(var o in a)i(o)},p3=function(e){var t={};for(var a in e){var n=e[a];n!=null&&(t[a]=n)}return t},XL=function(e,t){var a=t.options&&t.options.constructor===Object?t.options:{};e=e&&e.constructor===Object?e:{};var n=p3(a);e=p3(e);var i=t.$options.props;for(var o in e){var s=i[o]?i[o].default&&typeof i[o].default=="function"?i[o].default.call():i[o].default:Symbol("unique"),c=!1;Array.isArray(s)?c=JSON.stringify(s)===JSON.stringify(e[o]):c=s===e[o],n[o]&&!c?(console.warn(o+" props is overriding the value passed in the options props"),n[o]=e[o]):n[o]||(n[o]=e[o])}return n},YL={props:{position:{type:String,default:"topright"}},mounted:function(){this.controlOptions={position:this.position}},beforeDestroy:function(){this.mapObject&&this.mapObject.remove()}},JL={props:{options:{type:Object,default:function(){return{}}}}},QL={name:"LControlLayers",mixins:[YL,JL],props:{collapsed:{type:Boolean,default:!0},autoZIndex:{type:Boolean,default:!0},hideSingleBase:{type:Boolean,default:!1},sortLayers:{type:Boolean,default:!1},sortFunction:{type:Function,default:void 0}},mounted:function(){var t=this,a=XL(Object.assign({},this.controlOptions,{collapsed:this.collapsed,autoZIndex:this.autoZIndex,hideSingleBase:this.hideSingleBase,sortLayers:this.sortLayers,sortFunction:this.sortFunction}),this);this.mapObject=W.control.layers(null,null,a),KL(this,this.mapObject,this.$options.props),this.$parent.registerLayerControl(this),this.$nextTick(function(){t.$emit("ready",t.mapObject)})},methods:{addLayer:function(t){t.layerType==="base"?this.mapObject.addBaseLayer(t.mapObject,t.name):t.layerType==="overlay"&&this.mapObject.addOverlay(t.mapObject,t.name)},removeLayer:function(t){this.mapObject.removeLayer(t.mapObject)}},render:function(){return null}};function tI(e,t,a,n,i,o,s,c,h,v){typeof s!="boolean"&&(h=c,c=s,s=!1);var p=typeof a=="function"?a.options:a;e&&e.render&&(p.render=e.render,p.staticRenderFns=e.staticRenderFns,p._compiled=!0,i&&(p.functional=!0)),n&&(p._scopeId=n);var g;if(o?(g=function(_){_=_||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!_&&typeof __VUE_SSR_CONTEXT__<"u"&&(_=__VUE_SSR_CONTEXT__),t&&t.call(this,h(_)),_&&_._registeredComponents&&_._registeredComponents.add(o)},p._ssrRegister=g):t&&(g=s?function(_){t.call(this,v(_,this.$root.$options.shadowRoot))}:function(_){t.call(this,c(_))}),g)if(p.functional){var y=p.render;p.render=function(B,I){return g.call(I),y(B,I)}}else{var O=p.beforeCreate;p.beforeCreate=O?[].concat(O,g):[g]}return a}var eI=QL,aI=void 0,nI=void 0,rI=void 0,iI=void 0,oI=tI({},aI,eI,nI,iI,rI,!1,void 0,void 0,void 0);const th=oI;var sI=function(e){return!e||typeof e.charAt!="function"?e:e.charAt(0).toUpperCase()+e.slice(1)},lI=function(e,t,a,n){var i=function(s){var c="set"+sI(s),h=a[s].type===Object||a[s].type===Array||Array.isArray(a[s].type);a[s].custom&&e[c]?e.$watch(s,function(v,p){e[c](v,p)},{deep:h}):c==="setOptions"?e.$watch(s,function(v,p){W.setOptions(t,v)},{deep:h}):t[c]&&e.$watch(s,function(v,p){t[c](v)},{deep:h})};for(var o in a)i(o)},v3=function(e){var t={};for(var a in e){var n=e[a];n!=null&&(t[a]=n)}return t},cI=function(e,t){var a=t.options&&t.options.constructor===Object?t.options:{};e=e&&e.constructor===Object?e:{};var n=v3(a);e=v3(e);var i=t.$options.props;for(var o in e){var s=i[o]?i[o].default&&typeof i[o].default=="function"?i[o].default.call():i[o].default:Symbol("unique"),c=!1;Array.isArray(s)?c=JSON.stringify(s)===JSON.stringify(e[o]):c=s===e[o],n[o]&&!c?(console.warn(o+" props is overriding the value passed in the options props"),n[o]=e[o]):n[o]||(n[o]=e[o])}return n},uI={props:{position:{type:String,default:"topright"}},mounted:function(){this.controlOptions={position:this.position}},beforeDestroy:function(){this.mapObject&&this.mapObject.remove()}},hI={props:{options:{type:Object,default:function(){return{}}}}},dI={name:"LControlScale",mixins:[uI,hI],props:{maxWidth:{type:Number,default:100},metric:{type:Boolean,default:!0},imperial:{type:Boolean,default:!0},updateWhenIdle:{type:Boolean,default:!1}},mounted:function(){var t=this,a=cI(Object.assign({},this.controlOptions,{maxWidth:this.maxWidth,metric:this.metric,imperial:this.imperial,updateWhenIdle:this.updateWhenIdle}),this);this.mapObject=W.control.scale(a),lI(this,this.mapObject,this.$options.props),this.mapObject.addTo(this.$parent.mapObject),this.$nextTick(function(){t.$emit("ready",t.mapObject)})},render:function(){return null}};function fI(e,t,a,n,i,o,s,c,h,v){typeof s!="boolean"&&(h=c,c=s,s=!1);var p=typeof a=="function"?a.options:a;e&&e.render&&(p.render=e.render,p.staticRenderFns=e.staticRenderFns,p._compiled=!0,i&&(p.functional=!0)),n&&(p._scopeId=n);var g;if(o?(g=function(_){_=_||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!_&&typeof __VUE_SSR_CONTEXT__<"u"&&(_=__VUE_SSR_CONTEXT__),t&&t.call(this,h(_)),_&&_._registeredComponents&&_._registeredComponents.add(o)},p._ssrRegister=g):t&&(g=s?function(_){t.call(this,v(_,this.$root.$options.shadowRoot))}:function(_){t.call(this,c(_))}),g)if(p.functional){var y=p.render;p.render=function(B,I){return g.call(I),y(B,I)}}else{var O=p.beforeCreate;p.beforeCreate=O?[].concat(O,g):[g]}return a}var pI=dI,vI=void 0,mI=void 0,gI=void 0,_I=void 0,bI=fI({},vI,pI,mI,_I,gI,!1,void 0,void 0,void 0);const yI=bI;var zI=function(e){return!e||typeof e.charAt!="function"?e:e.charAt(0).toUpperCase()+e.slice(1)},OI=function(e,t,a,n){var i=function(s){var c="set"+zI(s),h=a[s].type===Object||a[s].type===Array||Array.isArray(a[s].type);a[s].custom&&e[c]?e.$watch(s,function(v,p){e[c](v,p)},{deep:h}):c==="setOptions"?e.$watch(s,function(v,p){W.setOptions(t,v)},{deep:h}):t[c]&&e.$watch(s,function(v,p){t[c](v)},{deep:h})};for(var o in a)i(o)},m3=function(e){var t={};for(var a in e){var n=e[a];n!=null&&(t[a]=n)}return t},MI=function(e,t){var a=t.options&&t.options.constructor===Object?t.options:{};e=e&&e.constructor===Object?e:{};var n=m3(a);e=m3(e);var i=t.$options.props;for(var o in e){var s=i[o]?i[o].default&&typeof i[o].default=="function"?i[o].default.call():i[o].default:Symbol("unique"),c=!1;Array.isArray(s)?c=JSON.stringify(s)===JSON.stringify(e[o]):c=s===e[o],n[o]&&!c?(console.warn(o+" props is overriding the value passed in the options props"),n[o]=e[o]):n[o]||(n[o]=e[o])}return n},BI={props:{position:{type:String,default:"topright"}},mounted:function(){this.controlOptions={position:this.position}},beforeDestroy:function(){this.mapObject&&this.mapObject.remove()}},CI={props:{options:{type:Object,default:function(){return{}}}}},AI={name:"LControlZoom",mixins:[BI,CI],props:{zoomInText:{type:String,default:"+"},zoomInTitle:{type:String,default:"Zoom in"},zoomOutText:{type:String,default:"-"},zoomOutTitle:{type:String,default:"Zoom out"}},mounted:function(){var t=this,a=MI(Object.assign({},this.controlOptions,{zoomInText:this.zoomInText,zoomInTitle:this.zoomInTitle,zoomOutText:this.zoomOutText,zoomOutTitle:this.zoomOutTitle}),this);this.mapObject=W.control.zoom(a),OI(this,this.mapObject,this.$options.props),this.mapObject.addTo(this.$parent.mapObject),this.$nextTick(function(){t.$emit("ready",t.mapObject)})},render:function(){return null}};function LI(e,t,a,n,i,o,s,c,h,v){typeof s!="boolean"&&(h=c,c=s,s=!1);var p=typeof a=="function"?a.options:a;e&&e.render&&(p.render=e.render,p.staticRenderFns=e.staticRenderFns,p._compiled=!0,i&&(p.functional=!0)),n&&(p._scopeId=n);var g;if(o?(g=function(_){_=_||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!_&&typeof __VUE_SSR_CONTEXT__<"u"&&(_=__VUE_SSR_CONTEXT__),t&&t.call(this,h(_)),_&&_._registeredComponents&&_._registeredComponents.add(o)},p._ssrRegister=g):t&&(g=s?function(_){t.call(this,v(_,this.$root.$options.shadowRoot))}:function(_){t.call(this,c(_))}),g)if(p.functional){var y=p.render;p.render=function(B,I){return g.call(I),y(B,I)}}else{var O=p.beforeCreate;p.beforeCreate=O?[].concat(O,g):[g]}return a}var II=AI,SI=void 0,wI=void 0,PI=void 0,TI=void 0,VI=LI({},SI,II,wI,TI,PI,!1,void 0,void 0,void 0);const eh=VI;var HI=function(e){return!e||typeof e.charAt!="function"?e:e.charAt(0).toUpperCase()+e.slice(1)},FI=function(e,t,a,n){var i=function(s){var c="set"+HI(s),h=a[s].type===Object||a[s].type===Array||Array.isArray(a[s].type);a[s].custom&&e[c]?e.$watch(s,function(v,p){e[c](v,p)},{deep:h}):c==="setOptions"?e.$watch(s,function(v,p){W.setOptions(t,v)},{deep:h}):t[c]&&e.$watch(s,function(v,p){t[c](v)},{deep:h})};for(var o in a)i(o)},EI=function(e){for(var t=!1;e&&!t;)e.mapObject===void 0?e=e.$parent:t=!0;return e},$I={props:{pane:{type:String,default:"overlayPane"},attribution:{type:String,default:null,custom:!0},name:{type:String,custom:!0,default:void 0},layerType:{type:String,custom:!0,default:void 0},visible:{type:Boolean,custom:!0,default:!0}},mounted:function(){this.layerOptions={attribution:this.attribution,pane:this.pane}},beforeDestroy:function(){this.unbindPopup(),this.unbindTooltip(),this.parentContainer.removeLayer(this)},methods:{setAttribution:function(t,a){var n=this.$parent.mapObject.attributionControl;n.removeAttribution(a).addAttribution(t)},setName:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setLayerType:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setVisible:function(t){this.mapObject&&(t?this.parentContainer.addLayer(this):this.parentContainer.hideLayer?this.parentContainer.hideLayer(this):this.parentContainer.removeLayer(this))},unbindTooltip:function(){var t=this.mapObject?this.mapObject.getTooltip():null;t&&t.unbindTooltip()},unbindPopup:function(){var t=this.mapObject?this.mapObject.getPopup():null;t&&t.unbindPopup()},updateVisibleProp:function(t){this.$emit("update:visible",t)}}},DI={mixins:[$I],mounted:function(){this.layerGroupOptions=this.layerOptions},methods:{addLayer:function(t,a){a||this.mapObject.addLayer(t.mapObject),this.parentContainer.addLayer(t,!0)},removeLayer:function(t,a){a||this.mapObject.removeLayer(t.mapObject),this.parentContainer.removeLayer(t,!0)}}},xI={props:{options:{type:Object,default:function(){return{}}}}},RI={name:"LFeatureGroup",mixins:[DI,xI],data:function(){return{ready:!1}},mounted:function(){var t=this;this.mapObject=W.featureGroup(),FI(this,this.mapObject,this.$options.props),W.DomEvent.on(this.mapObject,this.$listeners),this.ready=!0,this.parentContainer=EI(this.$parent),this.visible&&this.parentContainer.addLayer(this),this.$nextTick(function(){t.$emit("ready",t.mapObject)})}};function kI(e,t,a,n,i,o,s,c,h,v){typeof s!="boolean"&&(h=c,c=s,s=!1);var p=typeof a=="function"?a.options:a;e&&e.render&&(p.render=e.render,p.staticRenderFns=e.staticRenderFns,p._compiled=!0,i&&(p.functional=!0)),n&&(p._scopeId=n);var g;if(o?(g=function(_){_=_||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!_&&typeof __VUE_SSR_CONTEXT__<"u"&&(_=__VUE_SSR_CONTEXT__),t&&t.call(this,h(_)),_&&_._registeredComponents&&_._registeredComponents.add(o)},p._ssrRegister=g):t&&(g=s?function(_){t.call(this,v(_,this.$root.$options.shadowRoot))}:function(_){t.call(this,c(_))}),g)if(p.functional){var y=p.render;p.render=function(B,I){return g.call(I),y(B,I)}}else{var O=p.beforeCreate;p.beforeCreate=O?[].concat(O,g):[g]}return a}var NI=RI,jI=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticStyle:{display:"none"}},[e.ready?e._t("default"):e._e()],2)},UI=[],GI=void 0,WI=void 0,ZI=void 0,qI=!1,KI=kI({render:jI,staticRenderFns:UI},GI,NI,WI,qI,ZI,!1,void 0,void 0,void 0);const XI=KI;var YI=function(e){return!e||typeof e.charAt!="function"?e:e.charAt(0).toUpperCase()+e.slice(1)},JI=function(e,t,a,n){var i=function(s){var c="set"+YI(s),h=a[s].type===Object||a[s].type===Array||Array.isArray(a[s].type);a[s].custom&&e[c]?e.$watch(s,function(v,p){e[c](v,p)},{deep:h}):c==="setOptions"?e.$watch(s,function(v,p){W.setOptions(t,v)},{deep:h}):t[c]&&e.$watch(s,function(v,p){t[c](v)},{deep:h})};for(var o in a)i(o)},g3=function(e){var t={};for(var a in e){var n=e[a];n!=null&&(t[a]=n)}return t},QI=function(e,t){var a=t.options&&t.options.constructor===Object?t.options:{};e=e&&e.constructor===Object?e:{};var n=g3(a);e=g3(e);var i=t.$options.props;for(var o in e){var s=i[o]?i[o].default&&typeof i[o].default=="function"?i[o].default.call():i[o].default:Symbol("unique"),c=!1;Array.isArray(s)?c=JSON.stringify(s)===JSON.stringify(e[o]):c=s===e[o],n[o]&&!c?(console.warn(o+" props is overriding the value passed in the options props"),n[o]=e[o]):n[o]||(n[o]=e[o])}return n},tS=function(e){for(var t=!1;e&&!t;)e.mapObject===void 0?e=e.$parent:t=!0;return e},eS={props:{pane:{type:String,default:"overlayPane"},attribution:{type:String,default:null,custom:!0},name:{type:String,custom:!0,default:void 0},layerType:{type:String,custom:!0,default:void 0},visible:{type:Boolean,custom:!0,default:!0}},mounted:function(){this.layerOptions={attribution:this.attribution,pane:this.pane}},beforeDestroy:function(){this.unbindPopup(),this.unbindTooltip(),this.parentContainer.removeLayer(this)},methods:{setAttribution:function(t,a){var n=this.$parent.mapObject.attributionControl;n.removeAttribution(a).addAttribution(t)},setName:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setLayerType:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setVisible:function(t){this.mapObject&&(t?this.parentContainer.addLayer(this):this.parentContainer.hideLayer?this.parentContainer.hideLayer(this):this.parentContainer.removeLayer(this))},unbindTooltip:function(){var t=this.mapObject?this.mapObject.getTooltip():null;t&&t.unbindTooltip()},unbindPopup:function(){var t=this.mapObject?this.mapObject.getPopup():null;t&&t.unbindPopup()},updateVisibleProp:function(t){this.$emit("update:visible",t)}}},aS={mixins:[eS],mounted:function(){this.layerGroupOptions=this.layerOptions},methods:{addLayer:function(t,a){a||this.mapObject.addLayer(t.mapObject),this.parentContainer.addLayer(t,!0)},removeLayer:function(t,a){a||this.mapObject.removeLayer(t.mapObject),this.parentContainer.removeLayer(t,!0)}}},nS={props:{options:{type:Object,default:function(){return{}}}}},rS={name:"LGeoJson",mixins:[aS,nS],props:{geojson:{type:[Object,Array],custom:!0,default:function(){return{}}},options:{type:Object,custom:!0,default:function(){return{}}},optionsStyle:{type:[Object,Function],custom:!0,default:null}},computed:{mergedOptions:function(){return QI(Object.assign({},this.layerGroupOptions,{style:this.optionsStyle}),this)}},mounted:function(){var t=this;this.mapObject=W.geoJSON(this.geojson,this.mergedOptions),W.DomEvent.on(this.mapObject,this.$listeners),JI(this,this.mapObject,this.$options.props),this.parentContainer=tS(this.$parent),this.parentContainer.addLayer(this,!this.visible),this.$nextTick(function(){t.$emit("ready",t.mapObject)})},beforeDestroy:function(){this.parentContainer.mapObject.removeLayer(this.mapObject)},methods:{setGeojson:function(t){this.mapObject.clearLayers(),this.mapObject.addData(t)},getGeoJSONData:function(){return this.mapObject.toGeoJSON()},getBounds:function(){return this.mapObject.getBounds()},setOptions:function(t,a){this.mapObject.clearLayers(),W.setOptions(this.mapObject,this.mergedOptions),this.mapObject.addData(this.geojson)},setOptionsStyle:function(t,a){this.mapObject.setStyle(t)}},render:function(){return null}};function iS(e,t,a,n,i,o,s,c,h,v){typeof s!="boolean"&&(h=c,c=s,s=!1);var p=typeof a=="function"?a.options:a;e&&e.render&&(p.render=e.render,p.staticRenderFns=e.staticRenderFns,p._compiled=!0,i&&(p.functional=!0)),n&&(p._scopeId=n);var g;if(o?(g=function(_){_=_||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!_&&typeof __VUE_SSR_CONTEXT__<"u"&&(_=__VUE_SSR_CONTEXT__),t&&t.call(this,h(_)),_&&_._registeredComponents&&_._registeredComponents.add(o)},p._ssrRegister=g):t&&(g=s?function(_){t.call(this,v(_,this.$root.$options.shadowRoot))}:function(_){t.call(this,c(_))}),g)if(p.functional){var y=p.render;p.render=function(B,I){return g.call(I),y(B,I)}}else{var O=p.beforeCreate;p.beforeCreate=O?[].concat(O,g):[g]}return a}var oS=rS,sS=void 0,lS=void 0,cS=void 0,uS=void 0,hS=iS({},sS,oS,lS,uS,cS,!1,void 0,void 0,void 0);const dS=hS;var fS=function(e){return!e||typeof e.charAt!="function"?e:e.charAt(0).toUpperCase()+e.slice(1)},pS=function(e,t,a,n){var i=function(s){var c="set"+fS(s),h=a[s].type===Object||a[s].type===Array||Array.isArray(a[s].type);a[s].custom&&e[c]?e.$watch(s,function(v,p){e[c](v,p)},{deep:h}):c==="setOptions"?e.$watch(s,function(v,p){W.setOptions(t,v)},{deep:h}):t[c]&&e.$watch(s,function(v,p){t[c](v)},{deep:h})};for(var o in a)i(o)},_3=function(e){var t={};for(var a in e){var n=e[a];n!=null&&(t[a]=n)}return t},vS=function(e,t){var a=t.options&&t.options.constructor===Object?t.options:{};e=e&&e.constructor===Object?e:{};var n=_3(a);e=_3(e);var i=t.$options.props;for(var o in e){var s=i[o]?i[o].default&&typeof i[o].default=="function"?i[o].default.call():i[o].default:Symbol("unique"),c=!1;Array.isArray(s)?c=JSON.stringify(s)===JSON.stringify(e[o]):c=s===e[o],n[o]&&!c?(console.warn(o+" props is overriding the value passed in the options props"),n[o]=e[o]):n[o]||(n[o]=e[o])}return n},mS=function(e){for(var t=!1;e&&!t;)e.mapObject===void 0?e=e.$parent:t=!0;return e},gS={props:{pane:{type:String,default:"overlayPane"},attribution:{type:String,default:null,custom:!0},name:{type:String,custom:!0,default:void 0},layerType:{type:String,custom:!0,default:void 0},visible:{type:Boolean,custom:!0,default:!0}},mounted:function(){this.layerOptions={attribution:this.attribution,pane:this.pane}},beforeDestroy:function(){this.unbindPopup(),this.unbindTooltip(),this.parentContainer.removeLayer(this)},methods:{setAttribution:function(t,a){var n=this.$parent.mapObject.attributionControl;n.removeAttribution(a).addAttribution(t)},setName:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setLayerType:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setVisible:function(t){this.mapObject&&(t?this.parentContainer.addLayer(this):this.parentContainer.hideLayer?this.parentContainer.hideLayer(this):this.parentContainer.removeLayer(this))},unbindTooltip:function(){var t=this.mapObject?this.mapObject.getTooltip():null;t&&t.unbindTooltip()},unbindPopup:function(){var t=this.mapObject?this.mapObject.getPopup():null;t&&t.unbindPopup()},updateVisibleProp:function(t){this.$emit("update:visible",t)}}},_S={mixins:[gS],props:{pane:{type:String,default:"tilePane"},opacity:{type:Number,custom:!1,default:1},zIndex:{type:Number,default:1},tileSize:{type:Number,default:256},noWrap:{type:Boolean,default:!1}},mounted:function(){this.gridLayerOptions=Object.assign({},this.layerOptions,{pane:this.pane,opacity:this.opacity,zIndex:this.zIndex,tileSize:this.tileSize,noWrap:this.noWrap})}},bS={props:{options:{type:Object,default:function(){return{}}}}},yS={name:"LGridLayer",mixins:[_S,bS],props:{tileComponent:{type:Object,custom:!0,required:!0}},data:function(){return{tileComponents:{}}},computed:{TileConstructor:function(){return Ot.extend(this.tileComponent)}},mounted:function(){var t=this,a=W.GridLayer.extend({}),n=vS(this.gridLayerOptions,this);this.mapObject=new a(n),W.DomEvent.on(this.mapObject,this.$listeners),this.mapObject.on("tileunload",this.onUnload,this),pS(this,this.mapObject,this.$options.props),this.mapObject.createTile=this.createTile,this.parentContainer=mS(this.$parent),this.parentContainer.addLayer(this,!this.visible),this.$nextTick(function(){t.$emit("ready",t.mapObject)})},beforeDestroy:function(){this.parentContainer.removeLayer(this.mapObject),this.mapObject.off("tileunload",this.onUnload),this.mapObject=null},methods:{createTile:function(t){var a=W.DomUtil.create("div"),n=W.DomUtil.create("div");a.appendChild(n);var i=new this.TileConstructor({el:n,parent:this,propsData:{coords:t}}),o=this.mapObject._tileCoordsToKey(t);return this.tileComponents[o]=i,a},onUnload:function(t){var a=this.mapObject._tileCoordsToKey(t.coords);typeof this.tileComponents[a]<"u"&&(this.tileComponents[a].$destroy(),this.tileComponents[a].$el.remove(),delete this.tileComponents[a])},setTileComponent:function(t){this.mapObject.redraw()}}};function zS(e,t,a,n,i,o,s,c,h,v){typeof s!="boolean"&&(h=c,c=s,s=!1);var p=typeof a=="function"?a.options:a;e&&e.render&&(p.render=e.render,p.staticRenderFns=e.staticRenderFns,p._compiled=!0,i&&(p.functional=!0)),n&&(p._scopeId=n);var g;if(o?(g=function(_){_=_||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!_&&typeof __VUE_SSR_CONTEXT__<"u"&&(_=__VUE_SSR_CONTEXT__),t&&t.call(this,h(_)),_&&_._registeredComponents&&_._registeredComponents.add(o)},p._ssrRegister=g):t&&(g=s?function(_){t.call(this,v(_,this.$root.$options.shadowRoot))}:function(_){t.call(this,c(_))}),g)if(p.functional){var y=p.render;p.render=function(B,I){return g.call(I),y(B,I)}}else{var O=p.beforeCreate;p.beforeCreate=O?[].concat(O,g):[g]}return a}var OS=yS,MS=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div")},BS=[],CS=void 0,AS=void 0,LS=void 0,IS=!1,SS=zS({render:MS,staticRenderFns:BS},CS,OS,AS,IS,LS,!1,void 0,void 0,void 0);const wS=SS;var PS=function(e){return!e||typeof e.charAt!="function"?e:e.charAt(0).toUpperCase()+e.slice(1)},TS=function(e,t,a,n){var i=function(s){var c="set"+PS(s),h=a[s].type===Object||a[s].type===Array||Array.isArray(a[s].type);a[s].custom&&e[c]?e.$watch(s,function(v,p){e[c](v,p)},{deep:h}):c==="setOptions"?e.$watch(s,function(v,p){W.setOptions(t,v)},{deep:h}):t[c]&&e.$watch(s,function(v,p){t[c](v)},{deep:h})};for(var o in a)i(o)},b3=function(e){var t={};for(var a in e){var n=e[a];n!=null&&(t[a]=n)}return t},VS=function(e,t){var a=t.options&&t.options.constructor===Object?t.options:{};e=e&&e.constructor===Object?e:{};var n=b3(a);e=b3(e);var i=t.$options.props;for(var o in e){var s=i[o]?i[o].default&&typeof i[o].default=="function"?i[o].default.call():i[o].default:Symbol("unique"),c=!1;Array.isArray(s)?c=JSON.stringify(s)===JSON.stringify(e[o]):c=s===e[o],n[o]&&!c?(console.warn(o+" props is overriding the value passed in the options props"),n[o]=e[o]):n[o]||(n[o]=e[o])}return n},HS=function(e){for(var t=!1;e&&!t;)e.mapObject===void 0?e=e.$parent:t=!0;return e},FS={name:"LIcon",props:{iconUrl:{type:String,custom:!0,default:null},iconRetinaUrl:{type:String,custom:!0,default:null},iconSize:{type:[Object,Array],custom:!0,default:null},iconAnchor:{type:[Object,Array],custom:!0,default:null},popupAnchor:{type:[Object,Array],custom:!0,default:function(){return[0,0]}},tooltipAnchor:{type:[Object,Array],custom:!0,default:function(){return[0,0]}},shadowUrl:{type:String,custom:!0,default:null},shadowRetinaUrl:{type:String,custom:!0,default:null},shadowSize:{type:[Object,Array],custom:!0,default:null},shadowAnchor:{type:[Object,Array],custom:!0,default:null},bgPos:{type:[Object,Array],custom:!0,default:function(){return[0,0]}},className:{type:String,custom:!0,default:""},options:{type:Object,custom:!0,default:function(){return{}}}},data:function(){return{parentContainer:null,observer:null,recreationNeeded:!1,swapHtmlNeeded:!1}},mounted:function(){var t=this;if(this.parentContainer=HS(this.$parent),!this.parentContainer)throw new Error("No parent container with mapObject found for LIcon");TS(this,this.parentContainer.mapObject,this.$options.props),this.observer=new MutationObserver(function(){t.scheduleHtmlSwap()}),this.observer.observe(this.$el,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),this.scheduleCreateIcon()},beforeDestroy:function(){this.parentContainer.mapObject&&this.parentContainer.mapObject.setIcon(this.parentContainer.$props.icon),this.observer.disconnect()},methods:{scheduleCreateIcon:function(){this.recreationNeeded=!0,this.$nextTick(this.createIcon)},scheduleHtmlSwap:function(){this.htmlSwapNeeded=!0,this.$nextTick(this.createIcon)},createIcon:function(){if(this.htmlSwapNeeded&&!this.recreationNeeded&&this.iconObject&&this.parentContainer.mapObject.getElement()){this.parentContainer.mapObject.getElement().innerHTML=this.$el.innerHTML,this.htmlSwapNeeded=!1;return}if(this.recreationNeeded){this.iconObject&&W.DomEvent.off(this.iconObject,this.$listeners);var t=VS({iconUrl:this.iconUrl,iconRetinaUrl:this.iconRetinaUrl,iconSize:this.iconSize,iconAnchor:this.iconAnchor,popupAnchor:this.popupAnchor,tooltipAnchor:this.tooltipAnchor,shadowUrl:this.shadowUrl,shadowRetinaUrl:this.shadowRetinaUrl,shadowSize:this.shadowSize,shadowAnchor:this.shadowAnchor,bgPos:this.bgPos,className:this.className,html:this.$el.innerHTML||this.html},this);t.html?this.iconObject=W.divIcon(t):this.iconObject=W.icon(t),W.DomEvent.on(this.iconObject,this.$listeners),this.parentContainer.mapObject.setIcon(this.iconObject),this.recreationNeeded=!1,this.htmlSwapNeeded=!1}},setIconUrl:function(){this.scheduleCreateIcon()},setIconRetinaUrl:function(){this.scheduleCreateIcon()},setIconSize:function(){this.scheduleCreateIcon()},setIconAnchor:function(){this.scheduleCreateIcon()},setPopupAnchor:function(){this.scheduleCreateIcon()},setTooltipAnchor:function(){this.scheduleCreateIcon()},setShadowUrl:function(){this.scheduleCreateIcon()},setShadowRetinaUrl:function(){this.scheduleCreateIcon()},setShadowAnchor:function(){this.scheduleCreateIcon()},setBgPos:function(){this.scheduleCreateIcon()},setClassName:function(){this.scheduleCreateIcon()},setHtml:function(){this.scheduleCreateIcon()}},render:function(){return null}};function ES(e,t,a,n,i,o,s,c,h,v){typeof s!="boolean"&&(h=c,c=s,s=!1);var p=typeof a=="function"?a.options:a;e&&e.render&&(p.render=e.render,p.staticRenderFns=e.staticRenderFns,p._compiled=!0,i&&(p.functional=!0)),n&&(p._scopeId=n);var g;if(o?(g=function(_){_=_||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!_&&typeof __VUE_SSR_CONTEXT__<"u"&&(_=__VUE_SSR_CONTEXT__),t&&t.call(this,h(_)),_&&_._registeredComponents&&_._registeredComponents.add(o)},p._ssrRegister=g):t&&(g=s?function(_){t.call(this,v(_,this.$root.$options.shadowRoot))}:function(_){t.call(this,c(_))}),g)if(p.functional){var y=p.render;p.render=function(B,I){return g.call(I),y(B,I)}}else{var O=p.beforeCreate;p.beforeCreate=O?[].concat(O,g):[g]}return a}var $S=FS,DS=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[e._t("default")],2)},xS=[],RS=void 0,kS=void 0,NS=void 0,jS=!1,US=ES({render:DS,staticRenderFns:xS},RS,$S,kS,jS,NS,!1,void 0,void 0,void 0);const Rv=US;var GS=function(e){return!e||typeof e.charAt!="function"?e:e.charAt(0).toUpperCase()+e.slice(1)},WS=function(e,t,a,n){var i=function(s){var c="set"+GS(s),h=a[s].type===Object||a[s].type===Array||Array.isArray(a[s].type);a[s].custom&&e[c]?e.$watch(s,function(v,p){e[c](v,p)},{deep:h}):c==="setOptions"?e.$watch(s,function(v,p){W.setOptions(t,v)},{deep:h}):t[c]&&e.$watch(s,function(v,p){t[c](v)},{deep:h})};for(var o in a)i(o)},ZS={name:"LIconDefault",props:{imagePath:{type:String,custom:!0,default:""}},mounted:function(){W.Icon.Default.imagePath=this.imagePath,WS(this,{},this.$options.props)},methods:{setImagePath:function(t){W.Icon.Default.imagePath=t}},render:function(){return null}};function qS(e,t,a,n,i,o,s,c,h,v){typeof s!="boolean"&&(h=c,c=s,s=!1);var p=typeof a=="function"?a.options:a;e&&e.render&&(p.render=e.render,p.staticRenderFns=e.staticRenderFns,p._compiled=!0,i&&(p.functional=!0)),n&&(p._scopeId=n);var g;if(o?(g=function(_){_=_||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!_&&typeof __VUE_SSR_CONTEXT__<"u"&&(_=__VUE_SSR_CONTEXT__),t&&t.call(this,h(_)),_&&_._registeredComponents&&_._registeredComponents.add(o)},p._ssrRegister=g):t&&(g=s?function(_){t.call(this,v(_,this.$root.$options.shadowRoot))}:function(_){t.call(this,c(_))}),g)if(p.functional){var y=p.render;p.render=function(B,I){return g.call(I),y(B,I)}}else{var O=p.beforeCreate;p.beforeCreate=O?[].concat(O,g):[g]}return a}var KS=ZS,XS=void 0,YS=void 0,JS=void 0,QS=void 0,tw=qS({},XS,KS,YS,QS,JS,!1,void 0,void 0,void 0);const ew=tw;var aw=function(e){return!e||typeof e.charAt!="function"?e:e.charAt(0).toUpperCase()+e.slice(1)},nw=function(e,t,a,n){var i=function(s){var c="set"+aw(s),h=a[s].type===Object||a[s].type===Array||Array.isArray(a[s].type);a[s].custom&&e[c]?e.$watch(s,function(v,p){e[c](v,p)},{deep:h}):c==="setOptions"?e.$watch(s,function(v,p){W.setOptions(t,v)},{deep:h}):t[c]&&e.$watch(s,function(v,p){t[c](v)},{deep:h})};for(var o in a)i(o)},y3=function(e){var t={};for(var a in e){var n=e[a];n!=null&&(t[a]=n)}return t},rw=function(e,t){var a=t.options&&t.options.constructor===Object?t.options:{};e=e&&e.constructor===Object?e:{};var n=y3(a);e=y3(e);var i=t.$options.props;for(var o in e){var s=i[o]?i[o].default&&typeof i[o].default=="function"?i[o].default.call():i[o].default:Symbol("unique"),c=!1;Array.isArray(s)?c=JSON.stringify(s)===JSON.stringify(e[o]):c=s===e[o],n[o]&&!c?(console.warn(o+" props is overriding the value passed in the options props"),n[o]=e[o]):n[o]||(n[o]=e[o])}return n},iw=function(e){for(var t=!1;e&&!t;)e.mapObject===void 0?e=e.$parent:t=!0;return e},ow={props:{pane:{type:String,default:"overlayPane"},attribution:{type:String,default:null,custom:!0},name:{type:String,custom:!0,default:void 0},layerType:{type:String,custom:!0,default:void 0},visible:{type:Boolean,custom:!0,default:!0}},mounted:function(){this.layerOptions={attribution:this.attribution,pane:this.pane}},beforeDestroy:function(){this.unbindPopup(),this.unbindTooltip(),this.parentContainer.removeLayer(this)},methods:{setAttribution:function(t,a){var n=this.$parent.mapObject.attributionControl;n.removeAttribution(a).addAttribution(t)},setName:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setLayerType:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setVisible:function(t){this.mapObject&&(t?this.parentContainer.addLayer(this):this.parentContainer.hideLayer?this.parentContainer.hideLayer(this):this.parentContainer.removeLayer(this))},unbindTooltip:function(){var t=this.mapObject?this.mapObject.getTooltip():null;t&&t.unbindTooltip()},unbindPopup:function(){var t=this.mapObject?this.mapObject.getPopup():null;t&&t.unbindPopup()},updateVisibleProp:function(t){this.$emit("update:visible",t)}}},sw={props:{interactive:{type:Boolean,default:!0},bubblingMouseEvents:{type:Boolean,default:!0}},mounted:function(){this.interactiveLayerOptions={interactive:this.interactive,bubblingMouseEvents:this.bubblingMouseEvents}}},lw={mixins:[ow,sw],props:{url:{type:String,custom:!0},bounds:{custom:!0},opacity:{type:Number,custom:!0,default:1},alt:{type:String,default:""},interactive:{type:Boolean,default:!1},crossOrigin:{type:Boolean,default:!1},errorOverlayUrl:{type:String,custom:!0,default:""},zIndex:{type:Number,custom:!0,default:1},className:{type:String,default:""}},mounted:function(){this.imageOverlayOptions=Object.assign({},this.layerOptions,this.interactiveLayerOptions,{opacity:this.opacity,alt:this.alt,interactive:this.interactive,crossOrigin:this.crossOrigin,errorOverlayUrl:this.errorOverlayUrl,zIndex:this.zIndex,className:this.className})},methods:{setOpacity:function(t){return this.mapObject.setOpacity(t)},setUrl:function(t){return this.mapObject.setUrl(t)},setBounds:function(t){return this.mapObject.setBounds(t)},getBounds:function(){return this.mapObject.getBounds()},getElement:function(){return this.mapObject.getElement()},bringToFront:function(){return this.mapObject.bringToFront()},bringToBack:function(){return this.mapObject.bringToBack()}},render:function(){return null}},cw={props:{options:{type:Object,default:function(){return{}}}}},uw={name:"LImageOverlay",mixins:[lw,cw],mounted:function(){var t=this,a=rw(this.imageOverlayOptions,this);this.mapObject=W.imageOverlay(this.url,this.bounds,a),W.DomEvent.on(this.mapObject,this.$listeners),nw(this,this.mapObject,this.$options.props),this.parentContainer=iw(this.$parent),this.parentContainer.addLayer(this,!this.visible),this.$nextTick(function(){t.$emit("ready",t.mapObject)})},render:function(){return null}};function hw(e,t,a,n,i,o,s,c,h,v){typeof s!="boolean"&&(h=c,c=s,s=!1);var p=typeof a=="function"?a.options:a;e&&e.render&&(p.render=e.render,p.staticRenderFns=e.staticRenderFns,p._compiled=!0,i&&(p.functional=!0)),n&&(p._scopeId=n);var g;if(o?(g=function(_){_=_||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!_&&typeof __VUE_SSR_CONTEXT__<"u"&&(_=__VUE_SSR_CONTEXT__),t&&t.call(this,h(_)),_&&_._registeredComponents&&_._registeredComponents.add(o)},p._ssrRegister=g):t&&(g=s?function(_){t.call(this,v(_,this.$root.$options.shadowRoot))}:function(_){t.call(this,c(_))}),g)if(p.functional){var y=p.render;p.render=function(B,I){return g.call(I),y(B,I)}}else{var O=p.beforeCreate;p.beforeCreate=O?[].concat(O,g):[g]}return a}var dw=uw,fw=void 0,pw=void 0,vw=void 0,mw=void 0,gw=hw({},fw,dw,pw,mw,vw,!1,void 0,void 0,void 0);const _w=gw;var bw=function(e){return!e||typeof e.charAt!="function"?e:e.charAt(0).toUpperCase()+e.slice(1)},yw=function(e,t,a,n){var i=function(s){var c="set"+bw(s),h=a[s].type===Object||a[s].type===Array||Array.isArray(a[s].type);a[s].custom&&e[c]?e.$watch(s,function(v,p){e[c](v,p)},{deep:h}):c==="setOptions"?e.$watch(s,function(v,p){W.setOptions(t,v)},{deep:h}):t[c]&&e.$watch(s,function(v,p){t[c](v)},{deep:h})};for(var o in a)i(o)},zw=function(e){for(var t=!1;e&&!t;)e.mapObject===void 0?e=e.$parent:t=!0;return e},Ow={props:{pane:{type:String,default:"overlayPane"},attribution:{type:String,default:null,custom:!0},name:{type:String,custom:!0,default:void 0},layerType:{type:String,custom:!0,default:void 0},visible:{type:Boolean,custom:!0,default:!0}},mounted:function(){this.layerOptions={attribution:this.attribution,pane:this.pane}},beforeDestroy:function(){this.unbindPopup(),this.unbindTooltip(),this.parentContainer.removeLayer(this)},methods:{setAttribution:function(t,a){var n=this.$parent.mapObject.attributionControl;n.removeAttribution(a).addAttribution(t)},setName:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setLayerType:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setVisible:function(t){this.mapObject&&(t?this.parentContainer.addLayer(this):this.parentContainer.hideLayer?this.parentContainer.hideLayer(this):this.parentContainer.removeLayer(this))},unbindTooltip:function(){var t=this.mapObject?this.mapObject.getTooltip():null;t&&t.unbindTooltip()},unbindPopup:function(){var t=this.mapObject?this.mapObject.getPopup():null;t&&t.unbindPopup()},updateVisibleProp:function(t){this.$emit("update:visible",t)}}},Mw={mixins:[Ow],mounted:function(){this.layerGroupOptions=this.layerOptions},methods:{addLayer:function(t,a){a||this.mapObject.addLayer(t.mapObject),this.parentContainer.addLayer(t,!0)},removeLayer:function(t,a){a||this.mapObject.removeLayer(t.mapObject),this.parentContainer.removeLayer(t,!0)}}},Bw={props:{options:{type:Object,default:function(){return{}}}}},Cw={name:"LLayerGroup",mixins:[Mw,Bw],data:function(){return{ready:!1}},mounted:function(){var t=this;this.mapObject=W.layerGroup(),yw(this,this.mapObject,this.$options.props),W.DomEvent.on(this.mapObject,this.$listeners),this.ready=!0,this.parentContainer=zw(this.$parent),this.parentContainer.addLayer(this,!this.visible),this.$nextTick(function(){t.$emit("ready",t.mapObject)})}};function Aw(e,t,a,n,i,o,s,c,h,v){typeof s!="boolean"&&(h=c,c=s,s=!1);var p=typeof a=="function"?a.options:a;e&&e.render&&(p.render=e.render,p.staticRenderFns=e.staticRenderFns,p._compiled=!0,i&&(p.functional=!0)),n&&(p._scopeId=n);var g;if(o?(g=function(_){_=_||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!_&&typeof __VUE_SSR_CONTEXT__<"u"&&(_=__VUE_SSR_CONTEXT__),t&&t.call(this,h(_)),_&&_._registeredComponents&&_._registeredComponents.add(o)},p._ssrRegister=g):t&&(g=s?function(_){t.call(this,v(_,this.$root.$options.shadowRoot))}:function(_){t.call(this,c(_))}),g)if(p.functional){var y=p.render;p.render=function(B,I){return g.call(I),y(B,I)}}else{var O=p.beforeCreate;p.beforeCreate=O?[].concat(O,g):[g]}return a}var Lw=Cw,Iw=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticStyle:{display:"none"}},[e.ready?e._t("default"):e._e()],2)},Sw=[],ww=void 0,Pw=void 0,Tw=void 0,Vw=!1,Hw=Aw({render:Iw,staticRenderFns:Sw},ww,Lw,Pw,Vw,Tw,!1,void 0,void 0,void 0);const Fw=Hw;var Ew=function(e,t){var a,n=function(){for(var i=[],o=arguments.length;o--;)i[o]=arguments[o];var s=this;a&&clearTimeout(a),a=setTimeout(function(){e.apply(s,i),a=null},t)};return n.cancel=function(){a&&clearTimeout(a)},n},$w=function(e){return!e||typeof e.charAt!="function"?e:e.charAt(0).toUpperCase()+e.slice(1)},Dw=function(e,t,a,n){var i=function(s){var c="set"+$w(s),h=a[s].type===Object||a[s].type===Array||Array.isArray(a[s].type);a[s].custom&&e[c]?e.$watch(s,function(v,p){e[c](v,p)},{deep:h}):c==="setOptions"?e.$watch(s,function(v,p){W.setOptions(t,v)},{deep:h}):t[c]&&e.$watch(s,function(v,p){t[c](v)},{deep:h})};for(var o in a)i(o)},z3=function(e){var t={};for(var a in e){var n=e[a];n!=null&&(t[a]=n)}return t},xw=function(e,t){var a=t.options&&t.options.constructor===Object?t.options:{};e=e&&e.constructor===Object?e:{};var n=z3(a);e=z3(e);var i=t.$options.props;for(var o in e){var s=i[o]?i[o].default&&typeof i[o].default=="function"?i[o].default.call():i[o].default:Symbol("unique"),c=!1;Array.isArray(s)?c=JSON.stringify(s)===JSON.stringify(e[o]):c=s===e[o],n[o]&&!c?(console.warn(o+" props is overriding the value passed in the options props"),n[o]=e[o]):n[o]||(n[o]=e[o])}return n},Rw={props:{options:{type:Object,default:function(){return{}}}}},kw={name:"LMap",mixins:[Rw],props:{center:{type:[Object,Array],custom:!0,default:function(){return[0,0]}},bounds:{type:[Array,Object],custom:!0,default:null},maxBounds:{type:[Array,Object],default:null},zoom:{type:Number,custom:!0,default:0},minZoom:{type:Number,default:null},maxZoom:{type:Number,default:null},paddingBottomRight:{type:Array,custom:!0,default:null},paddingTopLeft:{type:Array,custom:!0,default:null},padding:{type:Array,custom:!0,default:null},worldCopyJump:{type:Boolean,default:!1},crs:{type:Object,custom:!0,default:function(){return W.CRS.EPSG3857}},maxBoundsViscosity:{type:Number,default:null},inertia:{type:Boolean,default:null},inertiaDeceleration:{type:Number,default:null},inertiaMaxSpeed:{type:Number,default:null},easeLinearity:{type:Number,default:null},zoomAnimation:{type:Boolean,default:null},zoomAnimationThreshold:{type:Number,default:null},fadeAnimation:{type:Boolean,default:null},markerZoomAnimation:{type:Boolean,default:null},noBlockingAnimations:{type:Boolean,default:!1}},data:function(){return{ready:!1,lastSetCenter:this.center?W.latLng(this.center):null,lastSetBounds:this.bounds?W.latLngBounds(this.bounds):null,layerControl:void 0,layersToAdd:[],layersInControl:[]}},computed:{fitBoundsOptions:function(){var t={animate:this.noBlockingAnimations?!1:null};return this.padding?t.padding=this.padding:(this.paddingBottomRight&&(t.paddingBottomRight=this.paddingBottomRight),this.paddingTopLeft&&(t.paddingTopLeft=this.paddingTopLeft)),t}},beforeDestroy:function(){this.debouncedMoveEndHandler&&this.debouncedMoveEndHandler.cancel(),this.mapObject&&this.mapObject.remove()},mounted:function(){var t=this,a=xw({minZoom:this.minZoom,maxZoom:this.maxZoom,maxBounds:this.maxBounds,maxBoundsViscosity:this.maxBoundsViscosity,worldCopyJump:this.worldCopyJump,crs:this.crs,center:this.center,zoom:this.zoom,inertia:this.inertia,inertiaDeceleration:this.inertiaDeceleration,inertiaMaxSpeed:this.inertiaMaxSpeed,easeLinearity:this.easeLinearity,zoomAnimation:this.zoomAnimation,zoomAnimationThreshold:this.zoomAnimationThreshold,fadeAnimation:this.fadeAnimation,markerZoomAnimation:this.markerZoomAnimation},this);this.mapObject=W.map(this.$el,a),this.bounds&&this.fitBounds(this.bounds),this.debouncedMoveEndHandler=Ew(this.moveEndHandler,100),this.mapObject.on("moveend",this.debouncedMoveEndHandler),this.mapObject.on("overlayadd",this.overlayAddHandler),this.mapObject.on("overlayremove",this.overlayRemoveHandler),W.DomEvent.on(this.mapObject,this.$listeners),Dw(this,this.mapObject,this.$options.props),this.ready=!0,this.$emit("leaflet:load"),this.$nextTick(function(){t.$emit("ready",t.mapObject)})},methods:{registerLayerControl:function(t){var a=this;this.layerControl=t,this.mapObject.addControl(t.mapObject),this.layersToAdd.forEach(function(n){a.layerControl.addLayer(n)}),this.layersToAdd=[]},addLayer:function(t,a){if(t.layerType!==void 0)if(this.layerControl===void 0)this.layersToAdd.push(t);else{var n=this.layersInControl.find(function(i){return i.mapObject._leaflet_id===t.mapObject._leaflet_id});n||(this.layerControl.addLayer(t),this.layersInControl.push(t))}!a&&t.visible!==!1&&this.mapObject.addLayer(t.mapObject)},hideLayer:function(t){this.mapObject.removeLayer(t.mapObject)},removeLayer:function(t,a){t.layerType!==void 0&&(this.layerControl===void 0?this.layersToAdd=this.layersToAdd.filter(function(n){return n.name!==t.name}):(this.layerControl.removeLayer(t),this.layersInControl=this.layersInControl.filter(function(n){return n.mapObject._leaflet_id!==t.mapObject._leaflet_id}))),a||this.mapObject.removeLayer(t.mapObject)},setZoom:function(t,a){t!=null&&(this.mapObject.setZoom(t,{animate:this.noBlockingAnimations?!1:null}),this.cacheMapView())},setCenter:function(t,a){if(t!=null){var n=W.latLng(t),i=this.lastSetCenter||this.mapObject.getCenter();(i.lat!==n.lat||i.lng!==n.lng)&&(this.lastSetCenter=n,this.mapObject.panTo(n,{animate:this.noBlockingAnimations?!1:null}),this.cacheMapView(void 0,n))}},setBounds:function(t,a){if(t){var n=W.latLngBounds(t);if(n.isValid()){var i=this.lastSetBounds||this.mapObject.getBounds(),o=!i.equals(n,0);o&&(this.fitBounds(n),this.cacheMapView(n))}}},setPaddingBottomRight:function(t,a){this.paddingBottomRight=t},setPaddingTopLeft:function(t,a){this.paddingTopLeft=t},setPadding:function(t,a){this.padding=t},setCrs:function(t,a){var n=this.mapObject,i=n.getBounds();n.options.crs=t,this.fitBounds(i,{animate:!1})},fitBounds:function(t,a){this.mapObject.fitBounds(t,Object.assign({},this.fitBoundsOptions,a))},moveEndHandler:function(){this.$emit("update:zoom",this.mapObject.getZoom());var t=this.mapObject.getCenter();this.$emit("update:center",t);var a=this.mapObject.getBounds();this.$emit("update:bounds",a)},overlayAddHandler:function(t){var a=this.layersInControl.find(function(n){return n.name===t.name});a&&a.updateVisibleProp(!0)},overlayRemoveHandler:function(t){var a=this.layersInControl.find(function(n){return n.name===t.name});a&&a.updateVisibleProp(!1)},cacheMapView:function(t,a){this.lastSetBounds=t||this.mapObject.getBounds(),this.lastSetCenter=a||this.lastSetBounds.getCenter()}}};function Nw(e,t,a,n,i,o,s,c,h,v){typeof s!="boolean"&&(h=c,c=s,s=!1);var p=typeof a=="function"?a.options:a;e&&e.render&&(p.render=e.render,p.staticRenderFns=e.staticRenderFns,p._compiled=!0,i&&(p.functional=!0)),n&&(p._scopeId=n);var g;if(o?(g=function(_){_=_||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!_&&typeof __VUE_SSR_CONTEXT__<"u"&&(_=__VUE_SSR_CONTEXT__),t&&t.call(this,h(_)),_&&_._registeredComponents&&_._registeredComponents.add(o)},p._ssrRegister=g):t&&(g=s?function(_){t.call(this,v(_,this.$root.$options.shadowRoot))}:function(_){t.call(this,c(_))}),g)if(p.functional){var y=p.render;p.render=function(B,I){return g.call(I),y(B,I)}}else{var O=p.beforeCreate;p.beforeCreate=O?[].concat(O,g):[g]}return a}var jw=typeof navigator<"u"&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());function Uw(e){return function(t,a){return Gw(t,a)}}var t2,O3={};function Gw(e,t){var a=jw?t.media||"default":e,n=O3[a]||(O3[a]={ids:new Set,styles:[]});if(!n.ids.has(e)){n.ids.add(e);var i=t.source;if(t.map&&(i+=` /*# sourceURL=`+t.map.sources[0]+" */",i+=` /*# sourceMappingURL=data:application/json;base64,`+btoa(unescape(encodeURIComponent(JSON.stringify(t.map))))+" */"),n.element||(n.element=document.createElement("style"),n.element.type="text/css",t.media&&n.element.setAttribute("media",t.media),t2===void 0&&(t2=document.head||document.getElementsByTagName("head")[0]),t2.appendChild(n.element)),"styleSheet"in n.element)n.styles.push(i),n.element.styleSheet.cssText=n.styles.filter(Boolean).join(` -`);else{var o=n.ids.size-1,s=document.createTextNode(i),c=n.element.childNodes;c[o]&&n.element.removeChild(c[o]),c.length?n.element.insertBefore(s,c[o]):n.element.appendChild(s)}}}var Ww=kw,Zw=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"vue2leaflet-map"},[e.ready?e._t("default"):e._e()],2)},qw=[],Kw=function(e){e&&e("data-v-09f270aa_0",{source:".vue2leaflet-map{height:100%;width:100%}",map:void 0,media:void 0})},Xw=void 0,Yw=void 0,Jw=!1,Qw=Nw({render:Zw,staticRenderFns:qw},Kw,Ww,Xw,Jw,Yw,!1,Uw,void 0,void 0);const ah=Qw;var tP=function(e,t){var a,n=function(){for(var i=[],o=arguments.length;o--;)i[o]=arguments[o];var s=this;a&&clearTimeout(a),a=setTimeout(function(){e.apply(s,i),a=null},t)};return n.cancel=function(){a&&clearTimeout(a)},n},eP=function(e){return!e||typeof e.charAt!="function"?e:e.charAt(0).toUpperCase()+e.slice(1)},aP=function(e,t,a,n){var i=function(s){var c="set"+eP(s),h=a[s].type===Object||a[s].type===Array||Array.isArray(a[s].type);a[s].custom&&e[c]?e.$watch(s,function(v,p){e[c](v,p)},{deep:h}):c==="setOptions"?e.$watch(s,function(v,p){W.setOptions(t,v)},{deep:h}):t[c]&&e.$watch(s,function(v,p){t[c](v)},{deep:h})};for(var o in a)i(o)},M3=function(e){var t={};for(var a in e){var n=e[a];n!=null&&(t[a]=n)}return t},nP=function(e,t){var a=t.options&&t.options.constructor===Object?t.options:{};e=e&&e.constructor===Object?e:{};var n=M3(a);e=M3(e);var i=t.$options.props;for(var o in e){var s=i[o]?i[o].default&&typeof i[o].default=="function"?i[o].default.call():i[o].default:Symbol("unique"),c=!1;Array.isArray(s)?c=JSON.stringify(s)===JSON.stringify(e[o]):c=s===e[o],n[o]&&!c?(console.warn(o+" props is overriding the value passed in the options props"),n[o]=e[o]):n[o]||(n[o]=e[o])}return n},rP=function(e){for(var t=!1;e&&!t;)e.mapObject===void 0?e=e.$parent:t=!0;return e},iP={props:{pane:{type:String,default:"overlayPane"},attribution:{type:String,default:null,custom:!0},name:{type:String,custom:!0,default:void 0},layerType:{type:String,custom:!0,default:void 0},visible:{type:Boolean,custom:!0,default:!0}},mounted:function(){this.layerOptions={attribution:this.attribution,pane:this.pane}},beforeDestroy:function(){this.unbindPopup(),this.unbindTooltip(),this.parentContainer.removeLayer(this)},methods:{setAttribution:function(t,a){var n=this.$parent.mapObject.attributionControl;n.removeAttribution(a).addAttribution(t)},setName:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setLayerType:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setVisible:function(t){this.mapObject&&(t?this.parentContainer.addLayer(this):this.parentContainer.hideLayer?this.parentContainer.hideLayer(this):this.parentContainer.removeLayer(this))},unbindTooltip:function(){var t=this.mapObject?this.mapObject.getTooltip():null;t&&t.unbindTooltip()},unbindPopup:function(){var t=this.mapObject?this.mapObject.getPopup():null;t&&t.unbindPopup()},updateVisibleProp:function(t){this.$emit("update:visible",t)}}},oP={props:{options:{type:Object,default:function(){return{}}}}},sP={name:"LMarker",mixins:[iP,oP],props:{pane:{type:String,default:"markerPane"},draggable:{type:Boolean,custom:!0,default:!1},latLng:{type:[Object,Array],custom:!0,default:null},icon:{type:[Object],custom:!1,default:function(){return new W.Icon.Default}},opacity:{type:Number,custom:!1,default:1},zIndexOffset:{type:Number,custom:!1,default:null}},data:function(){return{ready:!1}},beforeDestroy:function(){this.debouncedLatLngSync&&this.debouncedLatLngSync.cancel()},mounted:function(){var t=this,a=nP(Object.assign({},this.layerOptions,{icon:this.icon,zIndexOffset:this.zIndexOffset,draggable:this.draggable,opacity:this.opacity}),this);this.mapObject=W.marker(this.latLng,a),W.DomEvent.on(this.mapObject,this.$listeners),this.debouncedLatLngSync=tP(this.latLngSync,100),this.mapObject.on("move",this.debouncedLatLngSync),aP(this,this.mapObject,this.$options.props),this.parentContainer=rP(this.$parent),this.parentContainer.addLayer(this,!this.visible),this.ready=!0,this.$nextTick(function(){t.$emit("ready",t.mapObject)})},methods:{setDraggable:function(t,a){this.mapObject.dragging&&(t?this.mapObject.dragging.enable():this.mapObject.dragging.disable())},setLatLng:function(t){if(t!=null&&this.mapObject){var a=this.mapObject.getLatLng(),n=W.latLng(t);(n.lat!==a.lat||n.lng!==a.lng)&&this.mapObject.setLatLng(n)}},latLngSync:function(t){this.$emit("update:latLng",t.latlng),this.$emit("update:lat-lng",t.latlng)}},render:function(e){return this.ready&&this.$slots.default?e("div",{style:{display:"none"}},this.$slots.default):null}};function lP(e,t,a,n,i,o,s,c,h,v){typeof s!="boolean"&&(h=c,c=s,s=!1);var p=typeof a=="function"?a.options:a;e&&e.render&&(p.render=e.render,p.staticRenderFns=e.staticRenderFns,p._compiled=!0,i&&(p.functional=!0)),n&&(p._scopeId=n);var g;if(o?(g=function(_){_=_||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!_&&typeof __VUE_SSR_CONTEXT__<"u"&&(_=__VUE_SSR_CONTEXT__),t&&t.call(this,h(_)),_&&_._registeredComponents&&_._registeredComponents.add(o)},p._ssrRegister=g):t&&(g=s?function(_){t.call(this,v(_,this.$root.$options.shadowRoot))}:function(_){t.call(this,c(_))}),g)if(p.functional){var y=p.render;p.render=function(B,I){return g.call(I),y(B,I)}}else{var O=p.beforeCreate;p.beforeCreate=O?[].concat(O,g):[g]}return a}var cP=sP,uP=void 0,hP=void 0,dP=void 0,fP=void 0,pP=lP({},uP,cP,hP,fP,dP,!1,void 0,void 0,void 0);const nh=pP;var vP=function(e){return!e||typeof e.charAt!="function"?e:e.charAt(0).toUpperCase()+e.slice(1)},mP=function(e,t,a,n){var i=function(s){var c="set"+vP(s),h=a[s].type===Object||a[s].type===Array||Array.isArray(a[s].type);a[s].custom&&e[c]?e.$watch(s,function(v,p){e[c](v,p)},{deep:h}):c==="setOptions"?e.$watch(s,function(v,p){W.setOptions(t,v)},{deep:h}):t[c]&&e.$watch(s,function(v,p){t[c](v)},{deep:h})};for(var o in a)i(o)},B3=function(e){var t={};for(var a in e){var n=e[a];n!=null&&(t[a]=n)}return t},gP=function(e,t){var a=t.options&&t.options.constructor===Object?t.options:{};e=e&&e.constructor===Object?e:{};var n=B3(a);e=B3(e);var i=t.$options.props;for(var o in e){var s=i[o]?i[o].default&&typeof i[o].default=="function"?i[o].default.call():i[o].default:Symbol("unique"),c=!1;Array.isArray(s)?c=JSON.stringify(s)===JSON.stringify(e[o]):c=s===e[o],n[o]&&!c?(console.warn(o+" props is overriding the value passed in the options props"),n[o]=e[o]):n[o]||(n[o]=e[o])}return n},_P=function(e){for(var t=!1;e&&!t;)e.mapObject===void 0?e=e.$parent:t=!0;return e},bP={props:{pane:{type:String,default:"overlayPane"},attribution:{type:String,default:null,custom:!0},name:{type:String,custom:!0,default:void 0},layerType:{type:String,custom:!0,default:void 0},visible:{type:Boolean,custom:!0,default:!0}},mounted:function(){this.layerOptions={attribution:this.attribution,pane:this.pane}},beforeDestroy:function(){this.unbindPopup(),this.unbindTooltip(),this.parentContainer.removeLayer(this)},methods:{setAttribution:function(t,a){var n=this.$parent.mapObject.attributionControl;n.removeAttribution(a).addAttribution(t)},setName:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setLayerType:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setVisible:function(t){this.mapObject&&(t?this.parentContainer.addLayer(this):this.parentContainer.hideLayer?this.parentContainer.hideLayer(this):this.parentContainer.removeLayer(this))},unbindTooltip:function(){var t=this.mapObject?this.mapObject.getTooltip():null;t&&t.unbindTooltip()},unbindPopup:function(){var t=this.mapObject?this.mapObject.getPopup():null;t&&t.unbindPopup()},updateVisibleProp:function(t){this.$emit("update:visible",t)}}},yP={props:{interactive:{type:Boolean,default:!0},bubblingMouseEvents:{type:Boolean,default:!0}},mounted:function(){this.interactiveLayerOptions={interactive:this.interactive,bubblingMouseEvents:this.bubblingMouseEvents}}},zP={mixins:[bP,yP],props:{lStyle:{type:Object,custom:!0,default:null},stroke:{type:Boolean,custom:!0,default:!0},color:{type:String,custom:!0,default:"#3388ff"},weight:{type:Number,custom:!0,default:3},opacity:{type:Number,custom:!0,default:1},lineCap:{type:String,custom:!0,default:"round"},lineJoin:{type:String,custom:!0,default:"round"},dashArray:{type:String,custom:!0,default:null},dashOffset:{type:String,custom:!0,default:null},fill:{type:Boolean,custom:!0,default:!1},fillColor:{type:String,custom:!0,default:"#3388ff"},fillOpacity:{type:Number,custom:!0,default:.2},fillRule:{type:String,custom:!0,default:"evenodd"},className:{type:String,custom:!0,default:null}},mounted:function(){if(this.pathOptions=Object.assign({},this.layerOptions,this.interactiveLayerOptions,{stroke:this.stroke,color:this.color,weight:this.weight,opacity:this.opacity,lineCap:this.lineCap,lineJoin:this.lineJoin,dashArray:this.dashArray,dashOffset:this.dashOffset,fill:this.fill,fillColor:this.fillColor,fillOpacity:this.fillOpacity,fillRule:this.fillRule,className:this.className}),this.lStyle){console.warn("lStyle is deprecated and is going to be removed in the next major version");for(var t in this.lStyle)this.pathOptions[t]=this.lStyle[t]}},beforeDestroy:function(){this.parentContainer?this.parentContainer.removeLayer(this):console.error("Missing parent container")},methods:{setLStyle:function(t){this.mapObject.setStyle(t)},setStroke:function(t){this.mapObject.setStyle({stroke:t})},setColor:function(t){this.mapObject.setStyle({color:t})},setWeight:function(t){this.mapObject.setStyle({weight:t})},setOpacity:function(t){this.mapObject.setStyle({opacity:t})},setLineCap:function(t){this.mapObject.setStyle({lineCap:t})},setLineJoin:function(t){this.mapObject.setStyle({lineJoin:t})},setDashArray:function(t){this.mapObject.setStyle({dashArray:t})},setDashOffset:function(t){this.mapObject.setStyle({dashOffset:t})},setFill:function(t){this.mapObject.setStyle({fill:t})},setFillColor:function(t){this.mapObject.setStyle({fillColor:t})},setFillOpacity:function(t){this.mapObject.setStyle({fillOpacity:t})},setFillRule:function(t){this.mapObject.setStyle({fillRule:t})},setClassName:function(t){this.mapObject.setStyle({className:t})}}},OP={mixins:[zP],props:{smoothFactor:{type:Number,custom:!0,default:1},noClip:{type:Boolean,custom:!0,default:!1}},data:function(){return{ready:!1}},mounted:function(){this.polyLineOptions=Object.assign({},this.pathOptions,{smoothFactor:this.smoothFactor,noClip:this.noClip})},methods:{setSmoothFactor:function(t){this.mapObject.setStyle({smoothFactor:t})},setNoClip:function(t){this.mapObject.setStyle({noClip:t})},addLatLng:function(t){this.mapObject.addLatLng(t)}}},MP={mixins:[OP],props:{fill:{type:Boolean,custom:!0,default:!0}},mounted:function(){this.polygonOptions=this.polyLineOptions},methods:{getGeoJSONData:function(){return this.mapObject.toGeoJSON()}}},BP={props:{options:{type:Object,default:function(){return{}}}}},CP={name:"LPolygon",mixins:[MP,BP],props:{latLngs:{type:Array,default:function(){return[]}}},data:function(){return{ready:!1}},mounted:function(){var t=this,a=gP(this.polygonOptions,this);this.mapObject=W.polygon(this.latLngs,a),W.DomEvent.on(this.mapObject,this.$listeners),mP(this,this.mapObject,this.$options.props),this.ready=!0,this.parentContainer=_P(this.$parent),this.parentContainer.addLayer(this,!this.visible),this.$nextTick(function(){t.$emit("ready",t.mapObject)})}};function AP(e,t,a,n,i,o,s,c,h,v){typeof s!="boolean"&&(h=c,c=s,s=!1);var p=typeof a=="function"?a.options:a;e&&e.render&&(p.render=e.render,p.staticRenderFns=e.staticRenderFns,p._compiled=!0,i&&(p.functional=!0)),n&&(p._scopeId=n);var g;if(o?(g=function(_){_=_||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!_&&typeof __VUE_SSR_CONTEXT__<"u"&&(_=__VUE_SSR_CONTEXT__),t&&t.call(this,h(_)),_&&_._registeredComponents&&_._registeredComponents.add(o)},p._ssrRegister=g):t&&(g=s?function(_){t.call(this,v(_,this.$root.$options.shadowRoot))}:function(_){t.call(this,c(_))}),g)if(p.functional){var y=p.render;p.render=function(B,I){return g.call(I),y(B,I)}}else{var O=p.beforeCreate;p.beforeCreate=O?[].concat(O,g):[g]}return a}var LP=CP,IP=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticStyle:{display:"none"}},[e.ready?e._t("default"):e._e()],2)},SP=[],wP=void 0,PP=void 0,TP=void 0,VP=!1,HP=AP({render:IP,staticRenderFns:SP},wP,LP,PP,VP,TP,!1,void 0,void 0,void 0);const FP=HP;var EP=function(e){return!e||typeof e.charAt!="function"?e:e.charAt(0).toUpperCase()+e.slice(1)},$P=function(e,t,a,n){var i=function(s){var c="set"+EP(s),h=a[s].type===Object||a[s].type===Array||Array.isArray(a[s].type);a[s].custom&&e[c]?e.$watch(s,function(v,p){e[c](v,p)},{deep:h}):c==="setOptions"?e.$watch(s,function(v,p){W.setOptions(t,v)},{deep:h}):t[c]&&e.$watch(s,function(v,p){t[c](v)},{deep:h})};for(var o in a)i(o)},C3=function(e){var t={};for(var a in e){var n=e[a];n!=null&&(t[a]=n)}return t},DP=function(e,t){var a=t.options&&t.options.constructor===Object?t.options:{};e=e&&e.constructor===Object?e:{};var n=C3(a);e=C3(e);var i=t.$options.props;for(var o in e){var s=i[o]?i[o].default&&typeof i[o].default=="function"?i[o].default.call():i[o].default:Symbol("unique"),c=!1;Array.isArray(s)?c=JSON.stringify(s)===JSON.stringify(e[o]):c=s===e[o],n[o]&&!c?(console.warn(o+" props is overriding the value passed in the options props"),n[o]=e[o]):n[o]||(n[o]=e[o])}return n},xP=function(e){for(var t=!1;e&&!t;)e.mapObject===void 0?e=e.$parent:t=!0;return e},RP={props:{pane:{type:String,default:"overlayPane"},attribution:{type:String,default:null,custom:!0},name:{type:String,custom:!0,default:void 0},layerType:{type:String,custom:!0,default:void 0},visible:{type:Boolean,custom:!0,default:!0}},mounted:function(){this.layerOptions={attribution:this.attribution,pane:this.pane}},beforeDestroy:function(){this.unbindPopup(),this.unbindTooltip(),this.parentContainer.removeLayer(this)},methods:{setAttribution:function(t,a){var n=this.$parent.mapObject.attributionControl;n.removeAttribution(a).addAttribution(t)},setName:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setLayerType:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setVisible:function(t){this.mapObject&&(t?this.parentContainer.addLayer(this):this.parentContainer.hideLayer?this.parentContainer.hideLayer(this):this.parentContainer.removeLayer(this))},unbindTooltip:function(){var t=this.mapObject?this.mapObject.getTooltip():null;t&&t.unbindTooltip()},unbindPopup:function(){var t=this.mapObject?this.mapObject.getPopup():null;t&&t.unbindPopup()},updateVisibleProp:function(t){this.$emit("update:visible",t)}}},kP={props:{interactive:{type:Boolean,default:!0},bubblingMouseEvents:{type:Boolean,default:!0}},mounted:function(){this.interactiveLayerOptions={interactive:this.interactive,bubblingMouseEvents:this.bubblingMouseEvents}}},NP={mixins:[RP,kP],props:{lStyle:{type:Object,custom:!0,default:null},stroke:{type:Boolean,custom:!0,default:!0},color:{type:String,custom:!0,default:"#3388ff"},weight:{type:Number,custom:!0,default:3},opacity:{type:Number,custom:!0,default:1},lineCap:{type:String,custom:!0,default:"round"},lineJoin:{type:String,custom:!0,default:"round"},dashArray:{type:String,custom:!0,default:null},dashOffset:{type:String,custom:!0,default:null},fill:{type:Boolean,custom:!0,default:!1},fillColor:{type:String,custom:!0,default:"#3388ff"},fillOpacity:{type:Number,custom:!0,default:.2},fillRule:{type:String,custom:!0,default:"evenodd"},className:{type:String,custom:!0,default:null}},mounted:function(){if(this.pathOptions=Object.assign({},this.layerOptions,this.interactiveLayerOptions,{stroke:this.stroke,color:this.color,weight:this.weight,opacity:this.opacity,lineCap:this.lineCap,lineJoin:this.lineJoin,dashArray:this.dashArray,dashOffset:this.dashOffset,fill:this.fill,fillColor:this.fillColor,fillOpacity:this.fillOpacity,fillRule:this.fillRule,className:this.className}),this.lStyle){console.warn("lStyle is deprecated and is going to be removed in the next major version");for(var t in this.lStyle)this.pathOptions[t]=this.lStyle[t]}},beforeDestroy:function(){this.parentContainer?this.parentContainer.removeLayer(this):console.error("Missing parent container")},methods:{setLStyle:function(t){this.mapObject.setStyle(t)},setStroke:function(t){this.mapObject.setStyle({stroke:t})},setColor:function(t){this.mapObject.setStyle({color:t})},setWeight:function(t){this.mapObject.setStyle({weight:t})},setOpacity:function(t){this.mapObject.setStyle({opacity:t})},setLineCap:function(t){this.mapObject.setStyle({lineCap:t})},setLineJoin:function(t){this.mapObject.setStyle({lineJoin:t})},setDashArray:function(t){this.mapObject.setStyle({dashArray:t})},setDashOffset:function(t){this.mapObject.setStyle({dashOffset:t})},setFill:function(t){this.mapObject.setStyle({fill:t})},setFillColor:function(t){this.mapObject.setStyle({fillColor:t})},setFillOpacity:function(t){this.mapObject.setStyle({fillOpacity:t})},setFillRule:function(t){this.mapObject.setStyle({fillRule:t})},setClassName:function(t){this.mapObject.setStyle({className:t})}}},jP={mixins:[NP],props:{smoothFactor:{type:Number,custom:!0,default:1},noClip:{type:Boolean,custom:!0,default:!1}},data:function(){return{ready:!1}},mounted:function(){this.polyLineOptions=Object.assign({},this.pathOptions,{smoothFactor:this.smoothFactor,noClip:this.noClip})},methods:{setSmoothFactor:function(t){this.mapObject.setStyle({smoothFactor:t})},setNoClip:function(t){this.mapObject.setStyle({noClip:t})},addLatLng:function(t){this.mapObject.addLatLng(t)}}},UP={props:{options:{type:Object,default:function(){return{}}}}},GP={name:"LPolyline",mixins:[jP,UP],props:{latLngs:{type:Array,default:function(){return[]}}},data:function(){return{ready:!1}},mounted:function(){var t=this,a=DP(this.polyLineOptions,this);this.mapObject=W.polyline(this.latLngs,a),W.DomEvent.on(this.mapObject,this.$listeners),$P(this,this.mapObject,this.$options.props),this.ready=!0,this.parentContainer=xP(this.$parent),this.parentContainer.addLayer(this,!this.visible),this.$nextTick(function(){t.$emit("ready",t.mapObject)})}};function WP(e,t,a,n,i,o,s,c,h,v){typeof s!="boolean"&&(h=c,c=s,s=!1);var p=typeof a=="function"?a.options:a;e&&e.render&&(p.render=e.render,p.staticRenderFns=e.staticRenderFns,p._compiled=!0,i&&(p.functional=!0)),n&&(p._scopeId=n);var g;if(o?(g=function(_){_=_||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!_&&typeof __VUE_SSR_CONTEXT__<"u"&&(_=__VUE_SSR_CONTEXT__),t&&t.call(this,h(_)),_&&_._registeredComponents&&_._registeredComponents.add(o)},p._ssrRegister=g):t&&(g=s?function(_){t.call(this,v(_,this.$root.$options.shadowRoot))}:function(_){t.call(this,c(_))}),g)if(p.functional){var y=p.render;p.render=function(B,I){return g.call(I),y(B,I)}}else{var O=p.beforeCreate;p.beforeCreate=O?[].concat(O,g):[g]}return a}var ZP=GP,qP=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticStyle:{display:"none"}},[e.ready?e._t("default"):e._e()],2)},KP=[],XP=void 0,YP=void 0,JP=void 0,QP=!1,tT=WP({render:qP,staticRenderFns:KP},XP,ZP,YP,QP,JP,!1,void 0,void 0,void 0);const rh=tT;var eT=function(e){return!e||typeof e.charAt!="function"?e:e.charAt(0).toUpperCase()+e.slice(1)},aT=function(e,t,a,n){var i=function(s){var c="set"+eT(s),h=a[s].type===Object||a[s].type===Array||Array.isArray(a[s].type);a[s].custom&&e[c]?e.$watch(s,function(v,p){e[c](v,p)},{deep:h}):c==="setOptions"?e.$watch(s,function(v,p){W.setOptions(t,v)},{deep:h}):t[c]&&e.$watch(s,function(v,p){t[c](v)},{deep:h})};for(var o in a)i(o)},A3=function(e){var t={};for(var a in e){var n=e[a];n!=null&&(t[a]=n)}return t},nT=function(e,t){var a=t.options&&t.options.constructor===Object?t.options:{};e=e&&e.constructor===Object?e:{};var n=A3(a);e=A3(e);var i=t.$options.props;for(var o in e){var s=i[o]?i[o].default&&typeof i[o].default=="function"?i[o].default.call():i[o].default:Symbol("unique"),c=!1;Array.isArray(s)?c=JSON.stringify(s)===JSON.stringify(e[o]):c=s===e[o],n[o]&&!c?(console.warn(o+" props is overriding the value passed in the options props"),n[o]=e[o]):n[o]||(n[o]=e[o])}return n},rT=function(e){for(var t=!1;e&&!t;)e.mapObject===void 0?e=e.$parent:t=!0;return e},iT={props:{content:{type:String,default:null,custom:!0}},mounted:function(){this.popperOptions={}},methods:{setContent:function(t){this.mapObject&&t!==null&&t!==void 0&&this.mapObject.setContent(t)}},render:function(t){return this.$slots.default?t("div",this.$slots.default):null}},oT={props:{options:{type:Object,default:function(){return{}}}}},sT={name:"LPopup",mixins:[iT,oT],props:{latLng:{type:[Object,Array],default:function(){return[]}}},mounted:function(){var t=this,a=nT(this.popperOptions,this);this.mapObject=W.popup(a),this.latLng!==void 0&&this.mapObject.setLatLng(this.latLng),W.DomEvent.on(this.mapObject,this.$listeners),aT(this,this.mapObject,this.$options.props),this.mapObject.setContent(this.content||this.$el),this.parentContainer=rT(this.$parent),this.parentContainer.mapObject.bindPopup(this.mapObject),this.$nextTick(function(){t.$emit("ready",t.mapObject)})},beforeDestroy:function(){this.parentContainer&&(this.parentContainer.unbindPopup?this.parentContainer.unbindPopup():this.parentContainer.mapObject&&this.parentContainer.mapObject.unbindPopup&&this.parentContainer.mapObject.unbindPopup())}};function lT(e,t,a,n,i,o,s,c,h,v){typeof s!="boolean"&&(h=c,c=s,s=!1);var p=typeof a=="function"?a.options:a;e&&e.render&&(p.render=e.render,p.staticRenderFns=e.staticRenderFns,p._compiled=!0,i&&(p.functional=!0)),n&&(p._scopeId=n);var g;if(o?(g=function(_){_=_||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!_&&typeof __VUE_SSR_CONTEXT__<"u"&&(_=__VUE_SSR_CONTEXT__),t&&t.call(this,h(_)),_&&_._registeredComponents&&_._registeredComponents.add(o)},p._ssrRegister=g):t&&(g=s?function(_){t.call(this,v(_,this.$root.$options.shadowRoot))}:function(_){t.call(this,c(_))}),g)if(p.functional){var y=p.render;p.render=function(B,I){return g.call(I),y(B,I)}}else{var O=p.beforeCreate;p.beforeCreate=O?[].concat(O,g):[g]}return a}var cT=sT,uT=void 0,hT=void 0,dT=void 0,fT=void 0,pT=lT({},uT,cT,hT,fT,dT,!1,void 0,void 0,void 0);const ih=pT;var vT=function(e){return!e||typeof e.charAt!="function"?e:e.charAt(0).toUpperCase()+e.slice(1)},mT=function(e,t,a,n){var i=function(s){var c="set"+vT(s),h=a[s].type===Object||a[s].type===Array||Array.isArray(a[s].type);a[s].custom&&e[c]?e.$watch(s,function(v,p){e[c](v,p)},{deep:h}):c==="setOptions"?e.$watch(s,function(v,p){W.setOptions(t,v)},{deep:h}):t[c]&&e.$watch(s,function(v,p){t[c](v)},{deep:h})};for(var o in a)i(o)},L3=function(e){var t={};for(var a in e){var n=e[a];n!=null&&(t[a]=n)}return t},gT=function(e,t){var a=t.options&&t.options.constructor===Object?t.options:{};e=e&&e.constructor===Object?e:{};var n=L3(a);e=L3(e);var i=t.$options.props;for(var o in e){var s=i[o]?i[o].default&&typeof i[o].default=="function"?i[o].default.call():i[o].default:Symbol("unique"),c=!1;Array.isArray(s)?c=JSON.stringify(s)===JSON.stringify(e[o]):c=s===e[o],n[o]&&!c?(console.warn(o+" props is overriding the value passed in the options props"),n[o]=e[o]):n[o]||(n[o]=e[o])}return n},_T=function(e){for(var t=!1;e&&!t;)e.mapObject===void 0?e=e.$parent:t=!0;return e},bT={props:{pane:{type:String,default:"overlayPane"},attribution:{type:String,default:null,custom:!0},name:{type:String,custom:!0,default:void 0},layerType:{type:String,custom:!0,default:void 0},visible:{type:Boolean,custom:!0,default:!0}},mounted:function(){this.layerOptions={attribution:this.attribution,pane:this.pane}},beforeDestroy:function(){this.unbindPopup(),this.unbindTooltip(),this.parentContainer.removeLayer(this)},methods:{setAttribution:function(t,a){var n=this.$parent.mapObject.attributionControl;n.removeAttribution(a).addAttribution(t)},setName:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setLayerType:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setVisible:function(t){this.mapObject&&(t?this.parentContainer.addLayer(this):this.parentContainer.hideLayer?this.parentContainer.hideLayer(this):this.parentContainer.removeLayer(this))},unbindTooltip:function(){var t=this.mapObject?this.mapObject.getTooltip():null;t&&t.unbindTooltip()},unbindPopup:function(){var t=this.mapObject?this.mapObject.getPopup():null;t&&t.unbindPopup()},updateVisibleProp:function(t){this.$emit("update:visible",t)}}},yT={props:{interactive:{type:Boolean,default:!0},bubblingMouseEvents:{type:Boolean,default:!0}},mounted:function(){this.interactiveLayerOptions={interactive:this.interactive,bubblingMouseEvents:this.bubblingMouseEvents}}},zT={mixins:[bT,yT],props:{lStyle:{type:Object,custom:!0,default:null},stroke:{type:Boolean,custom:!0,default:!0},color:{type:String,custom:!0,default:"#3388ff"},weight:{type:Number,custom:!0,default:3},opacity:{type:Number,custom:!0,default:1},lineCap:{type:String,custom:!0,default:"round"},lineJoin:{type:String,custom:!0,default:"round"},dashArray:{type:String,custom:!0,default:null},dashOffset:{type:String,custom:!0,default:null},fill:{type:Boolean,custom:!0,default:!1},fillColor:{type:String,custom:!0,default:"#3388ff"},fillOpacity:{type:Number,custom:!0,default:.2},fillRule:{type:String,custom:!0,default:"evenodd"},className:{type:String,custom:!0,default:null}},mounted:function(){if(this.pathOptions=Object.assign({},this.layerOptions,this.interactiveLayerOptions,{stroke:this.stroke,color:this.color,weight:this.weight,opacity:this.opacity,lineCap:this.lineCap,lineJoin:this.lineJoin,dashArray:this.dashArray,dashOffset:this.dashOffset,fill:this.fill,fillColor:this.fillColor,fillOpacity:this.fillOpacity,fillRule:this.fillRule,className:this.className}),this.lStyle){console.warn("lStyle is deprecated and is going to be removed in the next major version");for(var t in this.lStyle)this.pathOptions[t]=this.lStyle[t]}},beforeDestroy:function(){this.parentContainer?this.parentContainer.removeLayer(this):console.error("Missing parent container")},methods:{setLStyle:function(t){this.mapObject.setStyle(t)},setStroke:function(t){this.mapObject.setStyle({stroke:t})},setColor:function(t){this.mapObject.setStyle({color:t})},setWeight:function(t){this.mapObject.setStyle({weight:t})},setOpacity:function(t){this.mapObject.setStyle({opacity:t})},setLineCap:function(t){this.mapObject.setStyle({lineCap:t})},setLineJoin:function(t){this.mapObject.setStyle({lineJoin:t})},setDashArray:function(t){this.mapObject.setStyle({dashArray:t})},setDashOffset:function(t){this.mapObject.setStyle({dashOffset:t})},setFill:function(t){this.mapObject.setStyle({fill:t})},setFillColor:function(t){this.mapObject.setStyle({fillColor:t})},setFillOpacity:function(t){this.mapObject.setStyle({fillOpacity:t})},setFillRule:function(t){this.mapObject.setStyle({fillRule:t})},setClassName:function(t){this.mapObject.setStyle({className:t})}}},OT={mixins:[zT],props:{smoothFactor:{type:Number,custom:!0,default:1},noClip:{type:Boolean,custom:!0,default:!1}},data:function(){return{ready:!1}},mounted:function(){this.polyLineOptions=Object.assign({},this.pathOptions,{smoothFactor:this.smoothFactor,noClip:this.noClip})},methods:{setSmoothFactor:function(t){this.mapObject.setStyle({smoothFactor:t})},setNoClip:function(t){this.mapObject.setStyle({noClip:t})},addLatLng:function(t){this.mapObject.addLatLng(t)}}},MT={mixins:[OT],props:{fill:{type:Boolean,custom:!0,default:!0}},mounted:function(){this.polygonOptions=this.polyLineOptions},methods:{getGeoJSONData:function(){return this.mapObject.toGeoJSON()}}},BT={props:{options:{type:Object,default:function(){return{}}}}},CT={name:"LRectangle",mixins:[MT,BT],props:{bounds:{default:function(){return[[0,0],[0,0]]},validator:function(e){return e&&W.latLngBounds(e).isValid()}}},data:function(){return{ready:!1}},mounted:function(){var t=this,a=gT(this.polygonOptions,this);this.mapObject=W.rectangle(this.bounds,a),W.DomEvent.on(this.mapObject,this.$listeners),mT(this,this.mapObject,this.$options.props),this.ready=!0,this.parentContainer=_T(this.$parent),this.parentContainer.addLayer(this,!this.visible),this.$nextTick(function(){t.$emit("ready",t.mapObject)})}};function AT(e,t,a,n,i,o,s,c,h,v){typeof s!="boolean"&&(h=c,c=s,s=!1);var p=typeof a=="function"?a.options:a;e&&e.render&&(p.render=e.render,p.staticRenderFns=e.staticRenderFns,p._compiled=!0,i&&(p.functional=!0)),n&&(p._scopeId=n);var g;if(o?(g=function(_){_=_||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!_&&typeof __VUE_SSR_CONTEXT__<"u"&&(_=__VUE_SSR_CONTEXT__),t&&t.call(this,h(_)),_&&_._registeredComponents&&_._registeredComponents.add(o)},p._ssrRegister=g):t&&(g=s?function(_){t.call(this,v(_,this.$root.$options.shadowRoot))}:function(_){t.call(this,c(_))}),g)if(p.functional){var y=p.render;p.render=function(B,I){return g.call(I),y(B,I)}}else{var O=p.beforeCreate;p.beforeCreate=O?[].concat(O,g):[g]}return a}var LT=CT,IT=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticStyle:{display:"none"}},[e.ready?e._t("default"):e._e()],2)},ST=[],wT=void 0,PT=void 0,TT=void 0,VT=!1,HT=AT({render:IT,staticRenderFns:ST},wT,LT,PT,VT,TT,!1,void 0,void 0,void 0);const FT=HT;var ET=function(e){return!e||typeof e.charAt!="function"?e:e.charAt(0).toUpperCase()+e.slice(1)},$T=function(e,t,a,n){var i=function(s){var c="set"+ET(s),h=a[s].type===Object||a[s].type===Array||Array.isArray(a[s].type);a[s].custom&&e[c]?e.$watch(s,function(v,p){e[c](v,p)},{deep:h}):c==="setOptions"?e.$watch(s,function(v,p){W.setOptions(t,v)},{deep:h}):t[c]&&e.$watch(s,function(v,p){t[c](v)},{deep:h})};for(var o in a)i(o)},I3=function(e){var t={};for(var a in e){var n=e[a];n!=null&&(t[a]=n)}return t},DT=function(e,t){var a=t.options&&t.options.constructor===Object?t.options:{};e=e&&e.constructor===Object?e:{};var n=I3(a);e=I3(e);var i=t.$options.props;for(var o in e){var s=i[o]?i[o].default&&typeof i[o].default=="function"?i[o].default.call():i[o].default:Symbol("unique"),c=!1;Array.isArray(s)?c=JSON.stringify(s)===JSON.stringify(e[o]):c=s===e[o],n[o]&&!c?(console.warn(o+" props is overriding the value passed in the options props"),n[o]=e[o]):n[o]||(n[o]=e[o])}return n},xT=function(e){for(var t=!1;e&&!t;)e.mapObject===void 0?e=e.$parent:t=!0;return e},RT={props:{pane:{type:String,default:"overlayPane"},attribution:{type:String,default:null,custom:!0},name:{type:String,custom:!0,default:void 0},layerType:{type:String,custom:!0,default:void 0},visible:{type:Boolean,custom:!0,default:!0}},mounted:function(){this.layerOptions={attribution:this.attribution,pane:this.pane}},beforeDestroy:function(){this.unbindPopup(),this.unbindTooltip(),this.parentContainer.removeLayer(this)},methods:{setAttribution:function(t,a){var n=this.$parent.mapObject.attributionControl;n.removeAttribution(a).addAttribution(t)},setName:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setLayerType:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setVisible:function(t){this.mapObject&&(t?this.parentContainer.addLayer(this):this.parentContainer.hideLayer?this.parentContainer.hideLayer(this):this.parentContainer.removeLayer(this))},unbindTooltip:function(){var t=this.mapObject?this.mapObject.getTooltip():null;t&&t.unbindTooltip()},unbindPopup:function(){var t=this.mapObject?this.mapObject.getPopup():null;t&&t.unbindPopup()},updateVisibleProp:function(t){this.$emit("update:visible",t)}}},kT={mixins:[RT],props:{pane:{type:String,default:"tilePane"},opacity:{type:Number,custom:!1,default:1},zIndex:{type:Number,default:1},tileSize:{type:Number,default:256},noWrap:{type:Boolean,default:!1}},mounted:function(){this.gridLayerOptions=Object.assign({},this.layerOptions,{pane:this.pane,opacity:this.opacity,zIndex:this.zIndex,tileSize:this.tileSize,noWrap:this.noWrap})}},NT={mixins:[kT],props:{tms:{type:Boolean,default:!1},subdomains:{type:[String,Array],default:"abc",validator:function(e){return typeof e=="string"?!0:Array.isArray(e)?e.every(function(t){return typeof t=="string"}):!1}},detectRetina:{type:Boolean,default:!1}},mounted:function(){this.tileLayerOptions=Object.assign({},this.gridLayerOptions,{tms:this.tms,subdomains:this.subdomains,detectRetina:this.detectRetina})},render:function(){return null}},jT={props:{options:{type:Object,default:function(){return{}}}}},UT={name:"LTileLayer",mixins:[NT,jT],props:{url:{type:String,default:null},tileLayerClass:{type:Function,default:W.tileLayer}},mounted:function(){var t=this,a=DT(this.tileLayerOptions,this);this.mapObject=this.tileLayerClass(this.url,a),W.DomEvent.on(this.mapObject,this.$listeners),$T(this,this.mapObject,this.$options.props),this.parentContainer=xT(this.$parent),this.parentContainer.addLayer(this,!this.visible),this.$nextTick(function(){t.$emit("ready",t.mapObject)})}};function GT(e,t,a,n,i,o,s,c,h,v){typeof s!="boolean"&&(h=c,c=s,s=!1);var p=typeof a=="function"?a.options:a;e&&e.render&&(p.render=e.render,p.staticRenderFns=e.staticRenderFns,p._compiled=!0,i&&(p.functional=!0)),n&&(p._scopeId=n);var g;if(o?(g=function(_){_=_||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!_&&typeof __VUE_SSR_CONTEXT__<"u"&&(_=__VUE_SSR_CONTEXT__),t&&t.call(this,h(_)),_&&_._registeredComponents&&_._registeredComponents.add(o)},p._ssrRegister=g):t&&(g=s?function(_){t.call(this,v(_,this.$root.$options.shadowRoot))}:function(_){t.call(this,c(_))}),g)if(p.functional){var y=p.render;p.render=function(B,I){return g.call(I),y(B,I)}}else{var O=p.beforeCreate;p.beforeCreate=O?[].concat(O,g):[g]}return a}var WT=UT,ZT=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div")},qT=[],KT=void 0,XT=void 0,YT=void 0,JT=!1,QT=GT({render:ZT,staticRenderFns:qT},KT,WT,XT,JT,YT,!1,void 0,void 0,void 0);const oh=QT;var tV=function(e){return!e||typeof e.charAt!="function"?e:e.charAt(0).toUpperCase()+e.slice(1)},eV=function(e,t,a,n){var i=function(s){var c="set"+tV(s),h=a[s].type===Object||a[s].type===Array||Array.isArray(a[s].type);a[s].custom&&e[c]?e.$watch(s,function(v,p){e[c](v,p)},{deep:h}):c==="setOptions"?e.$watch(s,function(v,p){W.setOptions(t,v)},{deep:h}):t[c]&&e.$watch(s,function(v,p){t[c](v)},{deep:h})};for(var o in a)i(o)},S3=function(e){var t={};for(var a in e){var n=e[a];n!=null&&(t[a]=n)}return t},aV=function(e,t){var a=t.options&&t.options.constructor===Object?t.options:{};e=e&&e.constructor===Object?e:{};var n=S3(a);e=S3(e);var i=t.$options.props;for(var o in e){var s=i[o]?i[o].default&&typeof i[o].default=="function"?i[o].default.call():i[o].default:Symbol("unique"),c=!1;Array.isArray(s)?c=JSON.stringify(s)===JSON.stringify(e[o]):c=s===e[o],n[o]&&!c?(console.warn(o+" props is overriding the value passed in the options props"),n[o]=e[o]):n[o]||(n[o]=e[o])}return n},nV=function(e){for(var t=!1;e&&!t;)e.mapObject===void 0?e=e.$parent:t=!0;return e},rV={props:{content:{type:String,default:null,custom:!0}},mounted:function(){this.popperOptions={}},methods:{setContent:function(t){this.mapObject&&t!==null&&t!==void 0&&this.mapObject.setContent(t)}},render:function(t){return this.$slots.default?t("div",this.$slots.default):null}},iV={props:{options:{type:Object,default:function(){return{}}}}},oV={name:"LTooltip",mixins:[rV,iV],mounted:function(){var t=this,a=aV(this.popperOptions,this);this.mapObject=W.tooltip(a),W.DomEvent.on(this.mapObject,this.$listeners),eV(this,this.mapObject,this.$options.props),this.mapObject.setContent(this.content||this.$el),this.parentContainer=nV(this.$parent),this.parentContainer.mapObject.bindTooltip(this.mapObject),this.$nextTick(function(){t.$emit("ready",t.mapObject)})},beforeDestroy:function(){this.parentContainer&&(this.parentContainer.unbindTooltip?this.parentContainer.unbindTooltip():this.parentContainer.mapObject&&this.parentContainer.mapObject.unbindTooltip&&this.parentContainer.mapObject.unbindTooltip())}};function sV(e,t,a,n,i,o,s,c,h,v){typeof s!="boolean"&&(h=c,c=s,s=!1);var p=typeof a=="function"?a.options:a;e&&e.render&&(p.render=e.render,p.staticRenderFns=e.staticRenderFns,p._compiled=!0,i&&(p.functional=!0)),n&&(p._scopeId=n);var g;if(o?(g=function(_){_=_||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!_&&typeof __VUE_SSR_CONTEXT__<"u"&&(_=__VUE_SSR_CONTEXT__),t&&t.call(this,h(_)),_&&_._registeredComponents&&_._registeredComponents.add(o)},p._ssrRegister=g):t&&(g=s?function(_){t.call(this,v(_,this.$root.$options.shadowRoot))}:function(_){t.call(this,c(_))}),g)if(p.functional){var y=p.render;p.render=function(B,I){return g.call(I),y(B,I)}}else{var O=p.beforeCreate;p.beforeCreate=O?[].concat(O,g):[g]}return a}var lV=oV,cV=void 0,uV=void 0,hV=void 0,dV=void 0,fV=sV({},cV,lV,uV,dV,hV,!1,void 0,void 0,void 0);const pV=fV;var vV=function(e){return!e||typeof e.charAt!="function"?e:e.charAt(0).toUpperCase()+e.slice(1)},mV=function(e,t,a,n){var i=function(s){var c="set"+vV(s),h=a[s].type===Object||a[s].type===Array||Array.isArray(a[s].type);a[s].custom&&e[c]?e.$watch(s,function(v,p){e[c](v,p)},{deep:h}):c==="setOptions"?e.$watch(s,function(v,p){W.setOptions(t,v)},{deep:h}):t[c]&&e.$watch(s,function(v,p){t[c](v)},{deep:h})};for(var o in a)i(o)},w3=function(e){var t={};for(var a in e){var n=e[a];n!=null&&(t[a]=n)}return t},gV=function(e,t){var a=t.options&&t.options.constructor===Object?t.options:{};e=e&&e.constructor===Object?e:{};var n=w3(a);e=w3(e);var i=t.$options.props;for(var o in e){var s=i[o]?i[o].default&&typeof i[o].default=="function"?i[o].default.call():i[o].default:Symbol("unique"),c=!1;Array.isArray(s)?c=JSON.stringify(s)===JSON.stringify(e[o]):c=s===e[o],n[o]&&!c?(console.warn(o+" props is overriding the value passed in the options props"),n[o]=e[o]):n[o]||(n[o]=e[o])}return n},_V=function(e){for(var t=!1;e&&!t;)e.mapObject===void 0?e=e.$parent:t=!0;return e},bV={props:{pane:{type:String,default:"overlayPane"},attribution:{type:String,default:null,custom:!0},name:{type:String,custom:!0,default:void 0},layerType:{type:String,custom:!0,default:void 0},visible:{type:Boolean,custom:!0,default:!0}},mounted:function(){this.layerOptions={attribution:this.attribution,pane:this.pane}},beforeDestroy:function(){this.unbindPopup(),this.unbindTooltip(),this.parentContainer.removeLayer(this)},methods:{setAttribution:function(t,a){var n=this.$parent.mapObject.attributionControl;n.removeAttribution(a).addAttribution(t)},setName:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setLayerType:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setVisible:function(t){this.mapObject&&(t?this.parentContainer.addLayer(this):this.parentContainer.hideLayer?this.parentContainer.hideLayer(this):this.parentContainer.removeLayer(this))},unbindTooltip:function(){var t=this.mapObject?this.mapObject.getTooltip():null;t&&t.unbindTooltip()},unbindPopup:function(){var t=this.mapObject?this.mapObject.getPopup():null;t&&t.unbindPopup()},updateVisibleProp:function(t){this.$emit("update:visible",t)}}},yV={mixins:[bV],props:{pane:{type:String,default:"tilePane"},opacity:{type:Number,custom:!1,default:1},zIndex:{type:Number,default:1},tileSize:{type:Number,default:256},noWrap:{type:Boolean,default:!1}},mounted:function(){this.gridLayerOptions=Object.assign({},this.layerOptions,{pane:this.pane,opacity:this.opacity,zIndex:this.zIndex,tileSize:this.tileSize,noWrap:this.noWrap})}},zV={mixins:[yV],props:{tms:{type:Boolean,default:!1},subdomains:{type:[String,Array],default:"abc",validator:function(e){return typeof e=="string"?!0:Array.isArray(e)?e.every(function(t){return typeof t=="string"}):!1}},detectRetina:{type:Boolean,default:!1}},mounted:function(){this.tileLayerOptions=Object.assign({},this.gridLayerOptions,{tms:this.tms,subdomains:this.subdomains,detectRetina:this.detectRetina})},render:function(){return null}},OV={mixins:[zV],props:{layers:{type:String,default:""},styles:{type:String,default:""},format:{type:String,default:"image/jpeg"},transparent:{type:Boolean,custom:!1},version:{type:String,default:"1.1.1"},crs:{default:null},upperCase:{type:Boolean,default:!1}},mounted:function(){this.tileLayerWMSOptions=Object.assign({},this.tileLayerOptions,{layers:this.layers,styles:this.styles,format:this.format,transparent:this.transparent,version:this.version,crs:this.crs,upperCase:this.upperCase})}},MV={props:{options:{type:Object,default:function(){return{}}}}},BV={name:"LWMSTileLayer",mixins:[OV,MV],props:{baseUrl:{type:String,default:null}},mounted:function(){var t=this,a=gV(this.tileLayerWMSOptions,this);this.mapObject=W.tileLayer.wms(this.baseUrl,a),W.DomEvent.on(this.mapObject,this.$listeners),mV(this,this.mapObject,this.$options.props),this.parentContainer=_V(this.$parent),this.parentContainer.addLayer(this,!this.visible),this.$nextTick(function(){t.$emit("ready",t.mapObject)})}};function CV(e,t,a,n,i,o,s,c,h,v){typeof s!="boolean"&&(h=c,c=s,s=!1);var p=typeof a=="function"?a.options:a;e&&e.render&&(p.render=e.render,p.staticRenderFns=e.staticRenderFns,p._compiled=!0,i&&(p.functional=!0)),n&&(p._scopeId=n);var g;if(o?(g=function(_){_=_||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!_&&typeof __VUE_SSR_CONTEXT__<"u"&&(_=__VUE_SSR_CONTEXT__),t&&t.call(this,h(_)),_&&_._registeredComponents&&_._registeredComponents.add(o)},p._ssrRegister=g):t&&(g=s?function(_){t.call(this,v(_,this.$root.$options.shadowRoot))}:function(_){t.call(this,c(_))}),g)if(p.functional){var y=p.render;p.render=function(B,I){return g.call(I),y(B,I)}}else{var O=p.beforeCreate;p.beforeCreate=O?[].concat(O,g):[g]}return a}var AV=BV,LV=void 0,IV=void 0,SV=void 0,wV=void 0,PV=CV({},LV,AV,IV,wV,SV,!1,void 0,void 0,void 0);const TV=PV,VV=Object.freeze(Object.defineProperty({__proto__:null,CircleMixin:jC,ControlMixin:GC,GridLayerMixin:qC,ImageOverlayMixin:JC,InteractiveLayerMixin:tA,LCircle:Dv,LCircleMarker:xv,LControl:Qu,LControlAttribution:ZL,LControlLayers:th,LControlScale:yI,LControlZoom:eh,LFeatureGroup:XI,LGeoJson:dS,LGridLayer:wS,LIcon:Rv,LIconDefault:ew,LImageOverlay:_w,LLayerGroup:Fw,LMap:ah,LMarker:nh,LPolygon:FP,LPolyline:rh,LPopup:ih,LRectangle:FT,LTileLayer:oh,LTooltip:pV,LWMSTileLayer:TV,LayerGroupMixin:iA,LayerMixin:aA,OptionsMixin:sA,PathMixin:hA,PolygonMixin:gA,PolylineMixin:OA,PopperMixin:BA,TileLayerMixin:IA,TileLayerWMSMixin:VA,capitalizeFirstLetter:$v,collectionCleaner:Bc,debounce:FC,findRealParent:DC,optionsMerger:$C,propsBinder:EC},Symbol.toStringTag,{value:"Module"}));var Cc={},HV={get exports(){return Cc},set exports(e){Cc=e}},ci={},FV={get exports(){return ci},set exports(e){ci=e}},P3;function T3(){return P3||(P3=1,function(e,t){(function(a,n){n(t)})(Ju,function(a){var n=L.MarkerClusterGroup=L.FeatureGroup.extend({options:{maxClusterRadius:80,iconCreateFunction:null,clusterPane:L.Marker.prototype.options.pane,spiderfyOnEveryZoom:!1,spiderfyOnMaxZoom:!0,showCoverageOnHover:!0,zoomToBoundsOnClick:!0,singleMarkerMode:!1,disableClusteringAtZoom:null,removeOutsideVisibleBounds:!0,animate:!0,animateAddingMarkers:!1,spiderfyShapePositions:null,spiderfyDistanceMultiplier:1,spiderLegPolylineOptions:{weight:1.5,color:"#222",opacity:.5},chunkedLoading:!1,chunkInterval:200,chunkDelay:50,chunkProgress:null,polygonOptions:{}},initialize:function(o){L.Util.setOptions(this,o),this.options.iconCreateFunction||(this.options.iconCreateFunction=this._defaultIconCreateFunction),this._featureGroup=L.featureGroup(),this._featureGroup.addEventParent(this),this._nonPointGroup=L.featureGroup(),this._nonPointGroup.addEventParent(this),this._inZoomAnimation=0,this._needsClustering=[],this._needsRemoving=[],this._currentShownBounds=null,this._queue=[],this._childMarkerEventHandlers={dragstart:this._childMarkerDragStart,move:this._childMarkerMoved,dragend:this._childMarkerDragEnd};var s=L.DomUtil.TRANSITION&&this.options.animate;L.extend(this,s?this._withAnimation:this._noAnimation),this._markerCluster=s?L.MarkerCluster:L.MarkerClusterNonAnimated},addLayer:function(o){if(o instanceof L.LayerGroup)return this.addLayers([o]);if(!o.getLatLng)return this._nonPointGroup.addLayer(o),this.fire("layeradd",{layer:o}),this;if(!this._map)return this._needsClustering.push(o),this.fire("layeradd",{layer:o}),this;if(this.hasLayer(o))return this;this._unspiderfy&&this._unspiderfy(),this._addLayer(o,this._maxZoom),this.fire("layeradd",{layer:o}),this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons();var s=o,c=this._zoom;if(o.__parent)for(;s.__parent._zoom>=c;)s=s.__parent;return this._currentShownBounds.contains(s.getLatLng())&&(this.options.animateAddingMarkers?this._animationAddLayer(o,s):this._animationAddLayerNonAnimated(o,s)),this},removeLayer:function(o){return o instanceof L.LayerGroup?this.removeLayers([o]):o.getLatLng?this._map?o.__parent?(this._unspiderfy&&(this._unspiderfy(),this._unspiderfyLayer(o)),this._removeLayer(o,!0),this.fire("layerremove",{layer:o}),this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),o.off(this._childMarkerEventHandlers,this),this._featureGroup.hasLayer(o)&&(this._featureGroup.removeLayer(o),o.clusterShow&&o.clusterShow()),this):this:(!this._arraySplice(this._needsClustering,o)&&this.hasLayer(o)&&this._needsRemoving.push({layer:o,latlng:o._latlng}),this.fire("layerremove",{layer:o}),this):(this._nonPointGroup.removeLayer(o),this.fire("layerremove",{layer:o}),this)},addLayers:function(o,s){if(!L.Util.isArray(o))return this.addLayer(o);var c=this._featureGroup,h=this._nonPointGroup,v=this.options.chunkedLoading,p=this.options.chunkInterval,g=this.options.chunkProgress,y=o.length,O=0,_=!0,B;if(this._map){var I=new Date().getTime(),V=L.bind(function(){var x=new Date().getTime();for(this._map&&this._unspiderfy&&this._unspiderfy();Op)break}if(B=o[O],B instanceof L.LayerGroup){_&&(o=o.slice(),_=!1),this._extractNonGroupLayers(B,o),y=o.length;continue}if(!B.getLatLng){h.addLayer(B),s||this.fire("layeradd",{layer:B});continue}if(!this.hasLayer(B)&&(this._addLayer(B,this._maxZoom),s||this.fire("layeradd",{layer:B}),B.__parent&&B.__parent.getChildCount()===2)){var k=B.__parent.getAllChildMarkers(),Y=k[0]===B?k[1]:k[0];c.removeLayer(Y)}}g&&g(O,y,new Date().getTime()-I),O===y?(this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),this._topClusterLevel._recursivelyAddChildrenToMap(null,this._zoom,this._currentShownBounds)):setTimeout(V,this.options.chunkDelay)},this);V()}else for(var D=this._needsClustering;O=0;s--)o.extend(this._needsClustering[s].getLatLng());return o.extend(this._nonPointGroup.getBounds()),o},eachLayer:function(o,s){var c=this._needsClustering.slice(),h=this._needsRemoving,v,p,g;for(this._topClusterLevel&&this._topClusterLevel.getAllChildMarkers(c),p=c.length-1;p>=0;p--){for(v=!0,g=h.length-1;g>=0;g--)if(h[g].layer===c[p]){v=!1;break}v&&o.call(s,c[p])}this._nonPointGroup.eachLayer(o,s)},getLayers:function(){var o=[];return this.eachLayer(function(s){o.push(s)}),o},getLayer:function(o){var s=null;return o=parseInt(o,10),this.eachLayer(function(c){L.stamp(c)===o&&(s=c)}),s},hasLayer:function(o){if(!o)return!1;var s,c=this._needsClustering;for(s=c.length-1;s>=0;s--)if(c[s]===o)return!0;for(c=this._needsRemoving,s=c.length-1;s>=0;s--)if(c[s].layer===o)return!1;return!!(o.__parent&&o.__parent._group===this)||this._nonPointGroup.hasLayer(o)},zoomToShowLayer:function(o,s){var c=this._map;typeof s!="function"&&(s=function(){});var h=function(){(c.hasLayer(o)||c.hasLayer(o.__parent))&&!this._inZoomAnimation&&(this._map.off("moveend",h,this),this.off("animationend",h,this),c.hasLayer(o)?s():o.__parent._icon&&(this.once("spiderfied",s,this),o.__parent.spiderfy()))};o._icon&&this._map.getBounds().contains(o.getLatLng())?s():o.__parent._zoom=0;c--)if(o[c]===s)return o.splice(c,1),!0},_removeFromGridUnclustered:function(o,s){for(var c=this._map,h=this._gridUnclustered,v=Math.floor(this._map.getMinZoom());s>=v&&h[s].removeObject(o,c.project(o.getLatLng(),s));s--);},_childMarkerDragStart:function(o){o.target.__dragStart=o.target._latlng},_childMarkerMoved:function(o){if(!this._ignoreMove&&!o.target.__dragStart){var s=o.target._popup&&o.target._popup.isOpen();this._moveChild(o.target,o.oldLatLng,o.latlng),s&&o.target.openPopup()}},_moveChild:function(o,s,c){o._latlng=s,this.removeLayer(o),o._latlng=c,this.addLayer(o)},_childMarkerDragEnd:function(o){var s=o.target.__dragStart;delete o.target.__dragStart,s&&this._moveChild(o.target,s,o.target._latlng)},_removeLayer:function(o,s,c){var h=this._gridClusters,v=this._gridUnclustered,p=this._featureGroup,g=this._map,y=Math.floor(this._map.getMinZoom());s&&this._removeFromGridUnclustered(o,this._maxZoom);var O=o.__parent,_=O._markers,B;for(this._arraySplice(_,o);O&&(O._childCount--,O._boundsNeedUpdate=!0,!(O._zoom"+s+"",className:"marker-cluster"+c,iconSize:new L.Point(40,40)})},_bindEvents:function(){var o=this._map,s=this.options.spiderfyOnMaxZoom,c=this.options.showCoverageOnHover,h=this.options.zoomToBoundsOnClick,v=this.options.spiderfyOnEveryZoom;(s||h||v)&&this.on("clusterclick clusterkeypress",this._zoomOrSpiderfy,this),c&&(this.on("clustermouseover",this._showCoverage,this),this.on("clustermouseout",this._hideCoverage,this),o.on("zoomend",this._hideCoverage,this))},_zoomOrSpiderfy:function(o){var s=o.layer,c=s;if(!(o.type==="clusterkeypress"&&o.originalEvent&&o.originalEvent.keyCode!==13)){for(;c._childClusters.length===1;)c=c._childClusters[0];c._zoom===this._maxZoom&&c._childCount===s._childCount&&this.options.spiderfyOnMaxZoom?s.spiderfy():this.options.zoomToBoundsOnClick&&s.zoomToBounds(),this.options.spiderfyOnEveryZoom&&s.spiderfy(),o.originalEvent&&o.originalEvent.keyCode===13&&this._map._container.focus()}},_showCoverage:function(o){var s=this._map;this._inZoomAnimation||(this._shownPolygon&&s.removeLayer(this._shownPolygon),o.layer.getChildCount()>2&&o.layer!==this._spiderfied&&(this._shownPolygon=new L.Polygon(o.layer.getConvexHull(),this.options.polygonOptions),s.addLayer(this._shownPolygon)))},_hideCoverage:function(){this._shownPolygon&&(this._map.removeLayer(this._shownPolygon),this._shownPolygon=null)},_unbindEvents:function(){var o=this.options.spiderfyOnMaxZoom,s=this.options.showCoverageOnHover,c=this.options.zoomToBoundsOnClick,h=this.options.spiderfyOnEveryZoom,v=this._map;(o||c||h)&&this.off("clusterclick clusterkeypress",this._zoomOrSpiderfy,this),s&&(this.off("clustermouseover",this._showCoverage,this),this.off("clustermouseout",this._hideCoverage,this),v.off("zoomend",this._hideCoverage,this))},_zoomEnd:function(){this._map&&(this._mergeSplitClusters(),this._zoom=Math.round(this._map._zoom),this._currentShownBounds=this._getExpandedVisibleBounds())},_moveEnd:function(){if(!this._inZoomAnimation){var o=this._getExpandedVisibleBounds();this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),this._zoom,o),this._topClusterLevel._recursivelyAddChildrenToMap(null,Math.round(this._map._zoom),o),this._currentShownBounds=o}},_generateInitialClusters:function(){var o=Math.ceil(this._map.getMaxZoom()),s=Math.floor(this._map.getMinZoom()),c=this.options.maxClusterRadius,h=c;typeof c!="function"&&(h=function(){return c}),this.options.disableClusteringAtZoom!==null&&(o=this.options.disableClusteringAtZoom-1),this._maxZoom=o,this._gridClusters={},this._gridUnclustered={};for(var v=o;v>=s;v--)this._gridClusters[v]=new L.DistanceGrid(h(v)),this._gridUnclustered[v]=new L.DistanceGrid(h(v));this._topClusterLevel=new this._markerCluster(this,s-1)},_addLayer:function(o,s){var c=this._gridClusters,h=this._gridUnclustered,v=Math.floor(this._map.getMinZoom()),p,g;for(this.options.singleMarkerMode&&this._overrideMarkerIcon(o),o.on(this._childMarkerEventHandlers,this);s>=v;s--){p=this._map.project(o.getLatLng(),s);var y=c[s].getNearObject(p);if(y){y._addChild(o),o.__parent=y;return}if(y=h[s].getNearObject(p),y){var O=y.__parent;O&&this._removeLayer(y,!1);var _=new this._markerCluster(this,s,y,o);c[s].addObject(_,this._map.project(_._cLatLng,s)),y.__parent=_,o.__parent=_;var B=_;for(g=s-1;g>O._zoom;g--)B=new this._markerCluster(this,g,B),c[g].addObject(B,this._map.project(y.getLatLng(),g));O._addChild(B),this._removeFromGridUnclustered(y,s);return}h[s].addObject(o,p)}this._topClusterLevel._addChild(o),o.__parent=this._topClusterLevel},_refreshClustersIcons:function(){this._featureGroup.eachLayer(function(o){o instanceof L.MarkerCluster&&o._iconNeedsUpdate&&o._updateIcon()})},_enqueue:function(o){this._queue.push(o),this._queueTimeout||(this._queueTimeout=setTimeout(L.bind(this._processQueue,this),300))},_processQueue:function(){for(var o=0;oo?(this._animationStart(),this._animationZoomOut(this._zoom,o)):this._moveEnd()},_getExpandedVisibleBounds:function(){if(this.options.removeOutsideVisibleBounds){if(L.Browser.mobile)return this._checkBoundsMaxLat(this._map.getBounds())}else return this._mapBoundsInfinite;return this._checkBoundsMaxLat(this._map.getBounds().pad(1))},_checkBoundsMaxLat:function(o){var s=this._maxLat;return s!==void 0&&(o.getNorth()>=s&&(o._northEast.lat=1/0),o.getSouth()<=-s&&(o._southWest.lat=-1/0)),o},_animationAddLayerNonAnimated:function(o,s){if(s===o)this._featureGroup.addLayer(o);else if(s._childCount===2){s._addToMap();var c=s.getAllChildMarkers();this._featureGroup.removeLayer(c[0]),this._featureGroup.removeLayer(c[1])}else s._updateIcon()},_extractNonGroupLayers:function(o,s){var c=o.getLayers(),h=0,v;for(s=s||[];h=0;p--)_=O[p],c.contains(_._latlng)||h.removeLayer(_)}),this._forceLayout(),this._topClusterLevel._recursivelyBecomeVisible(c,s),h.eachLayer(function(g){!(g instanceof L.MarkerCluster)&&g._icon&&g.clusterShow()}),this._topClusterLevel._recursively(c,o,s,function(g){g._recursivelyRestoreChildPositions(s)}),this._ignoreMove=!1,this._enqueue(function(){this._topClusterLevel._recursively(c,o,v,function(g){h.removeLayer(g),g.clusterShow()}),this._animationEnd()})},_animationZoomOut:function(o,s){this._animationZoomOutSingle(this._topClusterLevel,o-1,s),this._topClusterLevel._recursivelyAddChildrenToMap(null,s,this._getExpandedVisibleBounds()),this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),o,this._getExpandedVisibleBounds())},_animationAddLayer:function(o,s){var c=this,h=this._featureGroup;h.addLayer(o),s!==o&&(s._childCount>2?(s._updateIcon(),this._forceLayout(),this._animationStart(),o._setPos(this._map.latLngToLayerPoint(s.getLatLng())),o.clusterHide(),this._enqueue(function(){h.removeLayer(o),o.clusterShow(),c._animationEnd()})):(this._forceLayout(),c._animationStart(),c._animationZoomOutSingle(s,this._map.getMaxZoom(),this._zoom)))}},_animationZoomOutSingle:function(o,s,c){var h=this._getExpandedVisibleBounds(),v=Math.floor(this._map.getMinZoom());o._recursivelyAnimateChildrenInAndAddSelfToMap(h,v,s+1,c);var p=this;this._forceLayout(),o._recursivelyBecomeVisible(h,c),this._enqueue(function(){if(o._childCount===1){var g=o._markers[0];this._ignoreMove=!0,g.setLatLng(g.getLatLng()),this._ignoreMove=!1,g.clusterShow&&g.clusterShow()}else o._recursively(h,c,v,function(y){y._recursivelyRemoveChildrenFromMap(h,v,s+1)});p._animationEnd()})},_animationEnd:function(){this._map&&(this._map._mapPane.className=this._map._mapPane.className.replace(" leaflet-cluster-anim","")),this._inZoomAnimation--,this.fire("animationend")},_forceLayout:function(){L.Util.falseFn(document.body.offsetWidth)}}),L.markerClusterGroup=function(o){return new L.MarkerClusterGroup(o)};var i=L.MarkerCluster=L.Marker.extend({options:L.Icon.prototype.options,initialize:function(o,s,c,h){L.Marker.prototype.initialize.call(this,c?c._cLatLng||c.getLatLng():new L.LatLng(0,0),{icon:this,pane:o.options.clusterPane}),this._group=o,this._zoom=s,this._markers=[],this._childClusters=[],this._childCount=0,this._iconNeedsUpdate=!0,this._boundsNeedUpdate=!0,this._bounds=new L.LatLngBounds,c&&this._addChild(c),h&&this._addChild(h)},getAllChildMarkers:function(o,s){o=o||[];for(var c=this._childClusters.length-1;c>=0;c--)this._childClusters[c].getAllChildMarkers(o,s);for(var h=this._markers.length-1;h>=0;h--)s&&this._markers[h].__dragStart||o.push(this._markers[h]);return o},getChildCount:function(){return this._childCount},zoomToBounds:function(o){for(var s=this._childClusters.slice(),c=this._group._map,h=c.getBoundsZoom(this._bounds),v=this._zoom+1,p=c.getZoom(),g;s.length>0&&h>v;){v++;var y=[];for(g=0;gv?this._group._map.setView(this._latlng,v):h<=p?this._group._map.setView(this._latlng,p+1):this._group._map.fitBounds(this._bounds,o)},getBounds:function(){var o=new L.LatLngBounds;return o.extend(this._bounds),o},_updateIcon:function(){this._iconNeedsUpdate=!0,this._icon&&this.setIcon(this)},createIcon:function(){return this._iconNeedsUpdate&&(this._iconObj=this._group.options.iconCreateFunction(this),this._iconNeedsUpdate=!1),this._iconObj.createIcon()},createShadow:function(){return this._iconObj.createShadow()},_addChild:function(o,s){this._iconNeedsUpdate=!0,this._boundsNeedUpdate=!0,this._setClusterCenter(o),o instanceof L.MarkerCluster?(s||(this._childClusters.push(o),o.__parent=this),this._childCount+=o._childCount):(s||this._markers.push(o),this._childCount++),this.__parent&&this.__parent._addChild(o,!0)},_setClusterCenter:function(o){this._cLatLng||(this._cLatLng=o._cLatLng||o._latlng)},_resetBounds:function(){var o=this._bounds;o._southWest&&(o._southWest.lat=1/0,o._southWest.lng=1/0),o._northEast&&(o._northEast.lat=-1/0,o._northEast.lng=-1/0)},_recalculateBounds:function(){var o=this._markers,s=this._childClusters,c=0,h=0,v=this._childCount,p,g,y,O;if(v!==0){for(this._resetBounds(),p=0;p=0;p--)g=v[p],g._icon&&(g._setPos(s),g.clusterHide())},function(h){var v=h._childClusters,p,g;for(p=v.length-1;p>=0;p--)g=v[p],g._icon&&(g._setPos(s),g.clusterHide())})},_recursivelyAnimateChildrenInAndAddSelfToMap:function(o,s,c,h){this._recursively(o,h,s,function(v){v._recursivelyAnimateChildrenIn(o,v._group._map.latLngToLayerPoint(v.getLatLng()).round(),c),v._isSingleParent()&&c-1===h?(v.clusterShow(),v._recursivelyRemoveChildrenFromMap(o,s,c)):v.clusterHide(),v._addToMap()})},_recursivelyBecomeVisible:function(o,s){this._recursively(o,this._group._map.getMinZoom(),s,null,function(c){c.clusterShow()})},_recursivelyAddChildrenToMap:function(o,s,c){this._recursively(c,this._group._map.getMinZoom()-1,s,function(h){if(s!==h._zoom)for(var v=h._markers.length-1;v>=0;v--){var p=h._markers[v];c.contains(p._latlng)&&(o&&(p._backupLatlng=p.getLatLng(),p.setLatLng(o),p.clusterHide&&p.clusterHide()),h._group._featureGroup.addLayer(p))}},function(h){h._addToMap(o)})},_recursivelyRestoreChildPositions:function(o){for(var s=this._markers.length-1;s>=0;s--){var c=this._markers[s];c._backupLatlng&&(c.setLatLng(c._backupLatlng),delete c._backupLatlng)}if(o-1===this._zoom)for(var h=this._childClusters.length-1;h>=0;h--)this._childClusters[h]._restorePosition();else for(var v=this._childClusters.length-1;v>=0;v--)this._childClusters[v]._recursivelyRestoreChildPositions(o)},_restorePosition:function(){this._backupLatlng&&(this.setLatLng(this._backupLatlng),delete this._backupLatlng)},_recursivelyRemoveChildrenFromMap:function(o,s,c,h){var v,p;this._recursively(o,s-1,c-1,function(g){for(p=g._markers.length-1;p>=0;p--)v=g._markers[p],(!h||!h.contains(v._latlng))&&(g._group._featureGroup.removeLayer(v),v.clusterShow&&v.clusterShow())},function(g){for(p=g._childClusters.length-1;p>=0;p--)v=g._childClusters[p],(!h||!h.contains(v._latlng))&&(g._group._featureGroup.removeLayer(v),v.clusterShow&&v.clusterShow())})},_recursively:function(o,s,c,h,v){var p=this._childClusters,g=this._zoom,y,O;if(s<=g&&(h&&h(this),v&&g===c&&v(this)),g=0;y--)O=p[y],O._boundsNeedUpdate&&O._recalculateBounds(),o.intersects(O._bounds)&&O._recursively(o,s,c,h,v)},_isSingleParent:function(){return this._childClusters.length>0&&this._childClusters[0]._childCount===this._childCount}});L.Marker.include({clusterHide:function(){var o=this.options.opacity;return this.setOpacity(0),this.options.opacity=o,this},clusterShow:function(){return this.setOpacity(this.options.opacity)}}),L.DistanceGrid=function(o){this._cellSize=o,this._sqCellSize=o*o,this._grid={},this._objectPoint={}},L.DistanceGrid.prototype={addObject:function(o,s){var c=this._getCoord(s.x),h=this._getCoord(s.y),v=this._grid,p=v[h]=v[h]||{},g=p[c]=p[c]||[],y=L.Util.stamp(o);this._objectPoint[y]=s,g.push(o)},updateObject:function(o,s){this.removeObject(o),this.addObject(o,s)},removeObject:function(o,s){var c=this._getCoord(s.x),h=this._getCoord(s.y),v=this._grid,p=v[h]=v[h]||{},g=p[c]=p[c]||[],y,O;for(delete this._objectPoint[L.Util.stamp(o)],y=0,O=g.length;y=0;p--){if(g=s[p],y=this.getDistant(g,o),y>0)v.push(g);else continue;y>c&&(c=y,h=g)}return{maxPoint:h,newPoints:v}},buildConvexHull:function(o,s){var c=[],h=this.findMostDistantPointFromBaseLine(o,s);return h.maxPoint?(c=c.concat(this.buildConvexHull([o[0],h.maxPoint],h.newPoints)),c=c.concat(this.buildConvexHull([h.maxPoint,o[1]],h.newPoints)),c):[o[0]]},getConvexHull:function(o){var s=!1,c=!1,h=!1,v=!1,p=null,g=null,y=null,O=null,_=null,B=null,I;for(I=o.length-1;I>=0;I--){var V=o[I];(s===!1||V.lat>s)&&(p=V,s=V.lat),(c===!1||V.lath)&&(y=V,h=V.lng),(v===!1||V.lng=0;h--)c=o[h].getLatLng(),s.push(c);return L.QuickHull.getConvexHull(s)}}),L.MarkerCluster.include({_2PI:Math.PI*2,_circleFootSeparation:25,_circleStartAngle:0,_spiralFootSeparation:28,_spiralLengthStart:11,_spiralLengthFactor:5,_circleSpiralSwitchover:9,spiderfy:function(){if(!(this._group._spiderfied===this||this._group._inZoomAnimation)){var o=this.getAllChildMarkers(null,!0),s=this._group,c=s._map,h=c.latLngToLayerPoint(this._latlng),v;this._group._unspiderfy(),this._group._spiderfied=this,this._group.options.spiderfyShapePositions?v=this._group.options.spiderfyShapePositions(o.length,h):o.length>=this._circleSpiralSwitchover?v=this._generatePointsSpiral(o.length,h):(h.y+=10,v=this._generatePointsCircle(o.length,h)),this._animationSpiderfy(o,v)}},unspiderfy:function(o){this._group._inZoomAnimation||(this._animationUnspiderfy(o),this._group._spiderfied=null)},_generatePointsCircle:function(o,s){var c=this._group.options.spiderfyDistanceMultiplier*this._circleFootSeparation*(2+o),h=c/this._2PI,v=this._2PI/o,p=[],g,y;for(h=Math.max(h,35),p.length=o,g=0;g=0;O--)O=0;p--)v=h[p],c.removeLayer(v),v._preSpiderfyLatlng&&(v.setLatLng(v._preSpiderfyLatlng),delete v._preSpiderfyLatlng),v.setZIndexOffset&&v.setZIndexOffset(0),v._spiderLeg&&(s.removeLayer(v._spiderLeg),delete v._spiderLeg);o.fire("unspiderfied",{cluster:this,markers:h}),o._ignoreMove=!1,o._spiderfied=null}}),L.MarkerClusterNonAnimated=L.MarkerCluster.extend({_animationSpiderfy:function(o,s){var c=this._group,h=c._map,v=c._featureGroup,p=this._group.options.spiderLegPolylineOptions,g,y,O,_;for(c._ignoreMove=!0,g=0;g=0;I--)k=v.layerPointToLatLng(s[I]),V=o[I],V._preSpiderfyLatlng=V._latlng,V.setLatLng(k),V.clusterShow&&V.clusterShow(),O&&(D=V._spiderLeg,x=D._path,x.style.strokeDashoffset=0,D.setStyle({opacity:B}));this.setOpacity(.3),h._ignoreMove=!1,setTimeout(function(){h._animationEnd(),h.fire("spiderfied",{cluster:c,markers:o})},200)},_animationUnspiderfy:function(o){var s=this,c=this._group,h=c._map,v=c._featureGroup,p=o?h._latLngToNewLayerPoint(this._latlng,o.zoom,o.center):h.latLngToLayerPoint(this._latlng),g=this.getAllChildMarkers(null,!0),y=L.Path.SVG,O,_,B,I,V,D;for(c._ignoreMove=!0,c._animationStart(),this.setOpacity(1),_=g.length-1;_>=0;_--)O=g[_],O._preSpiderfyLatlng&&(O.closePopup(),O.setLatLng(O._preSpiderfyLatlng),delete O._preSpiderfyLatlng,D=!0,O._setPos&&(O._setPos(p),D=!1),O.clusterHide&&(O.clusterHide(),D=!1),D&&v.removeLayer(O),y&&(B=O._spiderLeg,I=B._path,V=I.getTotalLength()+.1,I.style.strokeDashoffset=V,B.setStyle({opacity:0})));c._ignoreMove=!1,setTimeout(function(){var x=0;for(_=g.length-1;_>=0;_--)O=g[_],O._spiderLeg&&x++;for(_=g.length-1;_>=0;_--)O=g[_],O._spiderLeg&&(O.clusterShow&&O.clusterShow(),O.setZIndexOffset&&O.setZIndexOffset(0),x>1&&v.removeLayer(O),h.removeLayer(O._spiderLeg),delete O._spiderLeg);c._animationEnd(),c.fire("unspiderfied",{cluster:s,markers:g})},200)}}),L.MarkerClusterGroup.include({_spiderfied:null,unspiderfy:function(){this._unspiderfy.apply(this,arguments)},_spiderfierOnAdd:function(){this._map.on("click",this._unspiderfyWrapper,this),this._map.options.zoomAnimation&&this._map.on("zoomstart",this._unspiderfyZoomStart,this),this._map.on("zoomend",this._noanimationUnspiderfy,this),L.Browser.touch||this._map.getRenderer(this)},_spiderfierOnRemove:function(){this._map.off("click",this._unspiderfyWrapper,this),this._map.off("zoomstart",this._unspiderfyZoomStart,this),this._map.off("zoomanim",this._unspiderfyZoomAnim,this),this._map.off("zoomend",this._noanimationUnspiderfy,this),this._noanimationUnspiderfy()},_unspiderfyZoomStart:function(){this._map&&this._map.on("zoomanim",this._unspiderfyZoomAnim,this)},_unspiderfyZoomAnim:function(o){L.DomUtil.hasClass(this._map._mapPane,"leaflet-touching")||(this._map.off("zoomanim",this._unspiderfyZoomAnim,this),this._unspiderfy(o))},_unspiderfyWrapper:function(){this._unspiderfy()},_unspiderfy:function(o){this._spiderfied&&this._spiderfied.unspiderfy(o)},_noanimationUnspiderfy:function(){this._spiderfied&&this._spiderfied._noanimationUnspiderfy()},_unspiderfyLayer:function(o){o._spiderLeg&&(this._featureGroup.removeLayer(o),o.clusterShow&&o.clusterShow(),o.setZIndexOffset&&o.setZIndexOffset(0),this._map.removeLayer(o._spiderLeg),delete o._spiderLeg)}}),L.MarkerClusterGroup.include({refreshClusters:function(o){return o?o instanceof L.MarkerClusterGroup?o=o._topClusterLevel.getAllChildMarkers():o instanceof L.LayerGroup?o=o._layers:o instanceof L.MarkerCluster?o=o.getAllChildMarkers():o instanceof L.Marker&&(o=[o]):o=this._topClusterLevel.getAllChildMarkers(),this._flagParentsIconsNeedUpdate(o),this._refreshClustersIcons(),this.options.singleMarkerMode&&this._refreshSingleMarkerModeMarkers(o),this},_flagParentsIconsNeedUpdate:function(o){var s,c;for(s in o)for(c=o[s].__parent;c;)c._iconNeedsUpdate=!0,c=c.__parent},_refreshSingleMarkerModeMarkers:function(o){var s,c;for(s in o)c=o[s],this.hasLayer(c)&&c.setIcon(this._overrideMarkerIcon(c))}}),L.Marker.include({refreshIconOptions:function(o,s){var c=this.options.icon;return L.setOptions(c,o),this.setIcon(c),s&&this.__parent&&this.__parent._group.refreshClusters(this),this}}),a.MarkerClusterGroup=n,a.MarkerCluster=i,Object.defineProperty(a,"__esModule",{value:!0})})}(FV,ci)),ci}const V3=VC(VV);(function(e,t){(function(a,n){e.exports=n(W,T3(),V3)})(Ju,function(a,n,i){return function(o){function s(h){if(c[h])return c[h].exports;var v=c[h]={i:h,l:!1,exports:{}};return o[h].call(v.exports,v,v.exports,s),v.l=!0,v.exports}var c={};return s.m=o,s.c=c,s.i=function(h){return h},s.d=function(h,v,p){s.o(h,v)||Object.defineProperty(h,v,{configurable:!1,enumerable:!0,get:p})},s.n=function(h){var v=h&&h.__esModule?function(){return h.default}:function(){return h};return s.d(v,"a",v),v},s.o=function(h,v){return Object.prototype.hasOwnProperty.call(h,v)},s.p="/",s(s.s=7)}([function(o,s,c){var h=c(2)(c(1),c(3),null,null);o.exports=h.exports},function(o,s,c){Object.defineProperty(s,"__esModule",{value:!0});var h=c(5),v=c(6),p=c(4),g={options:{type:Object,default:function(){return{}}}};s.default={props:g,data:function(){return{ready:!1}},mounted:function(){var y=this;this.mapObject=new h.MarkerClusterGroup(this.options),p.DomEvent.on(this.mapObject,this.$listeners),(0,v.propsBinder)(this,this.mapObject,g),this.ready=!0,this.parentContainer=(0,v.findRealParent)(this.$parent),this.parentContainer.addLayer(this),this.$nextTick(function(){y.$emit("ready",y.mapObject)})},beforeDestroy:function(){this.parentContainer.removeLayer(this)},methods:{addLayer:function(y,O){O||this.mapObject.addLayer(y.mapObject)},removeLayer:function(y,O){O||this.mapObject.removeLayer(y.mapObject)}}}},function(o,s){o.exports=function(c,h,v,p){var g,y=c=c||{},O=typeof c.default;O!=="object"&&O!=="function"||(g=c,y=c.default);var _=typeof y=="function"?y.options:y;if(h&&(_.render=h.render,_.staticRenderFns=h.staticRenderFns),v&&(_._scopeId=v),p){var B=_.computed||(_.computed={});Object.keys(p).forEach(function(I){var V=p[I];B[I]=function(){return V}})}return{esModule:g,exports:y,options:_}}},function(o,s){o.exports={render:function(){var c=this,h=c.$createElement;return(c._self._c||h)("div",{staticStyle:{display:"none"}},[c.ready?c._t("default"):c._e()],2)},staticRenderFns:[]}},function(o,s){o.exports=W},function(o,s){o.exports=T3()},function(o,s){o.exports=V3},function(o,s,c){o.exports=c(0)}])})})(HV);const EV=TC(Cc),kv="/view-geojson/assets/logo-f3a1ab6d.svg";function $V(e,t,a,n,i,o,s,c){var h=typeof e=="function"?e.options:e;t&&(h.render=t,h.staticRenderFns=a,h._compiled=!0),n&&(h.functional=!0),o&&(h._scopeId="data-v-"+o);var v;if(s?(v=function(y){y=y||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!y&&typeof __VUE_SSR_CONTEXT__<"u"&&(y=__VUE_SSR_CONTEXT__),i&&i.call(this,y),y&&y._registeredComponents&&y._registeredComponents.add(s)},h._ssrRegister=v):i&&(v=c?function(){i.call(this,(h.functional?this.parent:this).$root.$options.shadowRoot)}:i),v)if(h.functional){h._injectStyles=v;var p=h.render;h.render=function(O,_){return v.call(_),p(O,_)}}else{var g=h.beforeCreate;h.beforeCreate=g?[].concat(g,v):[v]}return{exports:e,options:h}}const DV={components:{LMap:ah,LTileLayer:oh,LControlLayers:th,LControl:Qu,LControlZoom:eh,LMarker:nh,LPopup:ih,LIcon:Rv,LCircle:Dv,LCircleMarker:xv,LPolyline:rh,"v-marker-cluster":EV},data(){return{logo:kv,bounds:W.latLngBounds([[90,180],[-90,-180]]),tileProviders:[{name:"Mapbox.Streets",visible:!1,url:"https://api.mapbox.com/styles/v1/mapbox/streets-v9/tiles/{z}/{x}/{y}?access_token=pk.eyJ1IjoicmFmbnVzcyIsImEiOiIzMVE1dnc0In0.3FNMKIlQ_afYktqki-6m0g",attribution:""},{name:"Mapbox.Satellite",visible:!0,url:"https://api.mapbox.com/styles/v1/mapbox/satellite-streets-v9/tiles/{z}/{x}/{y}?access_token=pk.eyJ1IjoicmFmbnVzcyIsImEiOiIzMVE1dnc0In0.3FNMKIlQ_afYktqki-6m0g",attribution:""},{name:"OpenStreetMap",visible:!1,attribution:'© OpenStreetMap contributors',url:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}],sightings_species:[],sightings:[],path:null,filter_text:"",hover_s:!1}},methods:{unloadOld(e){this.sightings=e.features.filter(t=>t.geometry.type=="Point").map(t=>{let a=t.properties;return{location_name:a.place,lat:t.geometry.coordinates[0],lon:t.geometry.coordinates[1],date:a.date.split(" ")[0],time:a.date.split(" ")[1],common_name:a.specie,scientific_name:a.latin,count:parseInt(a.count),count_precision:"",comment:a.description}}),this.sightings_species=this.sightings.reduce((t,a)=>{const n=a.common_name;return t[n]=(t[n]||[]).concat(a),t},{}),this.path=e.features.filter(t=>t.geometry.type=="LineString")[0].geometry.coordinates.map(t=>[t[1],t[0]]),setTimeout(()=>{this.$refs.map.mapObject.fitBounds(this.sightings.map(t=>[t.lon,t.lat]))},500)},iconCreateFunction:function(e){var t=e.getAllChildMarkers().reduce((n,i)=>n+i.options.count,0),a=" marker-cluster-";return t<10?a+="small":t<100?a+="medium":a+="large",new L.DivIcon({html:"
"+t+"
",className:"marker-cluster"+a,iconSize:new L.Point(40,40)})},getIcon(e){return L.divIcon({className:"my-custom-icon",popupAnchor:[0,-34],iconAnchor:[12.5,34],iconSize:[25,34],html:` +`);else{var o=n.ids.size-1,s=document.createTextNode(i),c=n.element.childNodes;c[o]&&n.element.removeChild(c[o]),c.length?n.element.insertBefore(s,c[o]):n.element.appendChild(s)}}}var Ww=kw,Zw=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"vue2leaflet-map"},[e.ready?e._t("default"):e._e()],2)},qw=[],Kw=function(e){e&&e("data-v-09f270aa_0",{source:".vue2leaflet-map{height:100%;width:100%}",map:void 0,media:void 0})},Xw=void 0,Yw=void 0,Jw=!1,Qw=Nw({render:Zw,staticRenderFns:qw},Kw,Ww,Xw,Jw,Yw,!1,Uw,void 0,void 0);const ah=Qw;var tP=function(e,t){var a,n=function(){for(var i=[],o=arguments.length;o--;)i[o]=arguments[o];var s=this;a&&clearTimeout(a),a=setTimeout(function(){e.apply(s,i),a=null},t)};return n.cancel=function(){a&&clearTimeout(a)},n},eP=function(e){return!e||typeof e.charAt!="function"?e:e.charAt(0).toUpperCase()+e.slice(1)},aP=function(e,t,a,n){var i=function(s){var c="set"+eP(s),h=a[s].type===Object||a[s].type===Array||Array.isArray(a[s].type);a[s].custom&&e[c]?e.$watch(s,function(v,p){e[c](v,p)},{deep:h}):c==="setOptions"?e.$watch(s,function(v,p){W.setOptions(t,v)},{deep:h}):t[c]&&e.$watch(s,function(v,p){t[c](v)},{deep:h})};for(var o in a)i(o)},M3=function(e){var t={};for(var a in e){var n=e[a];n!=null&&(t[a]=n)}return t},nP=function(e,t){var a=t.options&&t.options.constructor===Object?t.options:{};e=e&&e.constructor===Object?e:{};var n=M3(a);e=M3(e);var i=t.$options.props;for(var o in e){var s=i[o]?i[o].default&&typeof i[o].default=="function"?i[o].default.call():i[o].default:Symbol("unique"),c=!1;Array.isArray(s)?c=JSON.stringify(s)===JSON.stringify(e[o]):c=s===e[o],n[o]&&!c?(console.warn(o+" props is overriding the value passed in the options props"),n[o]=e[o]):n[o]||(n[o]=e[o])}return n},rP=function(e){for(var t=!1;e&&!t;)e.mapObject===void 0?e=e.$parent:t=!0;return e},iP={props:{pane:{type:String,default:"overlayPane"},attribution:{type:String,default:null,custom:!0},name:{type:String,custom:!0,default:void 0},layerType:{type:String,custom:!0,default:void 0},visible:{type:Boolean,custom:!0,default:!0}},mounted:function(){this.layerOptions={attribution:this.attribution,pane:this.pane}},beforeDestroy:function(){this.unbindPopup(),this.unbindTooltip(),this.parentContainer.removeLayer(this)},methods:{setAttribution:function(t,a){var n=this.$parent.mapObject.attributionControl;n.removeAttribution(a).addAttribution(t)},setName:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setLayerType:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setVisible:function(t){this.mapObject&&(t?this.parentContainer.addLayer(this):this.parentContainer.hideLayer?this.parentContainer.hideLayer(this):this.parentContainer.removeLayer(this))},unbindTooltip:function(){var t=this.mapObject?this.mapObject.getTooltip():null;t&&t.unbindTooltip()},unbindPopup:function(){var t=this.mapObject?this.mapObject.getPopup():null;t&&t.unbindPopup()},updateVisibleProp:function(t){this.$emit("update:visible",t)}}},oP={props:{options:{type:Object,default:function(){return{}}}}},sP={name:"LMarker",mixins:[iP,oP],props:{pane:{type:String,default:"markerPane"},draggable:{type:Boolean,custom:!0,default:!1},latLng:{type:[Object,Array],custom:!0,default:null},icon:{type:[Object],custom:!1,default:function(){return new W.Icon.Default}},opacity:{type:Number,custom:!1,default:1},zIndexOffset:{type:Number,custom:!1,default:null}},data:function(){return{ready:!1}},beforeDestroy:function(){this.debouncedLatLngSync&&this.debouncedLatLngSync.cancel()},mounted:function(){var t=this,a=nP(Object.assign({},this.layerOptions,{icon:this.icon,zIndexOffset:this.zIndexOffset,draggable:this.draggable,opacity:this.opacity}),this);this.mapObject=W.marker(this.latLng,a),W.DomEvent.on(this.mapObject,this.$listeners),this.debouncedLatLngSync=tP(this.latLngSync,100),this.mapObject.on("move",this.debouncedLatLngSync),aP(this,this.mapObject,this.$options.props),this.parentContainer=rP(this.$parent),this.parentContainer.addLayer(this,!this.visible),this.ready=!0,this.$nextTick(function(){t.$emit("ready",t.mapObject)})},methods:{setDraggable:function(t,a){this.mapObject.dragging&&(t?this.mapObject.dragging.enable():this.mapObject.dragging.disable())},setLatLng:function(t){if(t!=null&&this.mapObject){var a=this.mapObject.getLatLng(),n=W.latLng(t);(n.lat!==a.lat||n.lng!==a.lng)&&this.mapObject.setLatLng(n)}},latLngSync:function(t){this.$emit("update:latLng",t.latlng),this.$emit("update:lat-lng",t.latlng)}},render:function(e){return this.ready&&this.$slots.default?e("div",{style:{display:"none"}},this.$slots.default):null}};function lP(e,t,a,n,i,o,s,c,h,v){typeof s!="boolean"&&(h=c,c=s,s=!1);var p=typeof a=="function"?a.options:a;e&&e.render&&(p.render=e.render,p.staticRenderFns=e.staticRenderFns,p._compiled=!0,i&&(p.functional=!0)),n&&(p._scopeId=n);var g;if(o?(g=function(_){_=_||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!_&&typeof __VUE_SSR_CONTEXT__<"u"&&(_=__VUE_SSR_CONTEXT__),t&&t.call(this,h(_)),_&&_._registeredComponents&&_._registeredComponents.add(o)},p._ssrRegister=g):t&&(g=s?function(_){t.call(this,v(_,this.$root.$options.shadowRoot))}:function(_){t.call(this,c(_))}),g)if(p.functional){var y=p.render;p.render=function(B,I){return g.call(I),y(B,I)}}else{var O=p.beforeCreate;p.beforeCreate=O?[].concat(O,g):[g]}return a}var cP=sP,uP=void 0,hP=void 0,dP=void 0,fP=void 0,pP=lP({},uP,cP,hP,fP,dP,!1,void 0,void 0,void 0);const nh=pP;var vP=function(e){return!e||typeof e.charAt!="function"?e:e.charAt(0).toUpperCase()+e.slice(1)},mP=function(e,t,a,n){var i=function(s){var c="set"+vP(s),h=a[s].type===Object||a[s].type===Array||Array.isArray(a[s].type);a[s].custom&&e[c]?e.$watch(s,function(v,p){e[c](v,p)},{deep:h}):c==="setOptions"?e.$watch(s,function(v,p){W.setOptions(t,v)},{deep:h}):t[c]&&e.$watch(s,function(v,p){t[c](v)},{deep:h})};for(var o in a)i(o)},B3=function(e){var t={};for(var a in e){var n=e[a];n!=null&&(t[a]=n)}return t},gP=function(e,t){var a=t.options&&t.options.constructor===Object?t.options:{};e=e&&e.constructor===Object?e:{};var n=B3(a);e=B3(e);var i=t.$options.props;for(var o in e){var s=i[o]?i[o].default&&typeof i[o].default=="function"?i[o].default.call():i[o].default:Symbol("unique"),c=!1;Array.isArray(s)?c=JSON.stringify(s)===JSON.stringify(e[o]):c=s===e[o],n[o]&&!c?(console.warn(o+" props is overriding the value passed in the options props"),n[o]=e[o]):n[o]||(n[o]=e[o])}return n},_P=function(e){for(var t=!1;e&&!t;)e.mapObject===void 0?e=e.$parent:t=!0;return e},bP={props:{pane:{type:String,default:"overlayPane"},attribution:{type:String,default:null,custom:!0},name:{type:String,custom:!0,default:void 0},layerType:{type:String,custom:!0,default:void 0},visible:{type:Boolean,custom:!0,default:!0}},mounted:function(){this.layerOptions={attribution:this.attribution,pane:this.pane}},beforeDestroy:function(){this.unbindPopup(),this.unbindTooltip(),this.parentContainer.removeLayer(this)},methods:{setAttribution:function(t,a){var n=this.$parent.mapObject.attributionControl;n.removeAttribution(a).addAttribution(t)},setName:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setLayerType:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setVisible:function(t){this.mapObject&&(t?this.parentContainer.addLayer(this):this.parentContainer.hideLayer?this.parentContainer.hideLayer(this):this.parentContainer.removeLayer(this))},unbindTooltip:function(){var t=this.mapObject?this.mapObject.getTooltip():null;t&&t.unbindTooltip()},unbindPopup:function(){var t=this.mapObject?this.mapObject.getPopup():null;t&&t.unbindPopup()},updateVisibleProp:function(t){this.$emit("update:visible",t)}}},yP={props:{interactive:{type:Boolean,default:!0},bubblingMouseEvents:{type:Boolean,default:!0}},mounted:function(){this.interactiveLayerOptions={interactive:this.interactive,bubblingMouseEvents:this.bubblingMouseEvents}}},zP={mixins:[bP,yP],props:{lStyle:{type:Object,custom:!0,default:null},stroke:{type:Boolean,custom:!0,default:!0},color:{type:String,custom:!0,default:"#3388ff"},weight:{type:Number,custom:!0,default:3},opacity:{type:Number,custom:!0,default:1},lineCap:{type:String,custom:!0,default:"round"},lineJoin:{type:String,custom:!0,default:"round"},dashArray:{type:String,custom:!0,default:null},dashOffset:{type:String,custom:!0,default:null},fill:{type:Boolean,custom:!0,default:!1},fillColor:{type:String,custom:!0,default:"#3388ff"},fillOpacity:{type:Number,custom:!0,default:.2},fillRule:{type:String,custom:!0,default:"evenodd"},className:{type:String,custom:!0,default:null}},mounted:function(){if(this.pathOptions=Object.assign({},this.layerOptions,this.interactiveLayerOptions,{stroke:this.stroke,color:this.color,weight:this.weight,opacity:this.opacity,lineCap:this.lineCap,lineJoin:this.lineJoin,dashArray:this.dashArray,dashOffset:this.dashOffset,fill:this.fill,fillColor:this.fillColor,fillOpacity:this.fillOpacity,fillRule:this.fillRule,className:this.className}),this.lStyle){console.warn("lStyle is deprecated and is going to be removed in the next major version");for(var t in this.lStyle)this.pathOptions[t]=this.lStyle[t]}},beforeDestroy:function(){this.parentContainer?this.parentContainer.removeLayer(this):console.error("Missing parent container")},methods:{setLStyle:function(t){this.mapObject.setStyle(t)},setStroke:function(t){this.mapObject.setStyle({stroke:t})},setColor:function(t){this.mapObject.setStyle({color:t})},setWeight:function(t){this.mapObject.setStyle({weight:t})},setOpacity:function(t){this.mapObject.setStyle({opacity:t})},setLineCap:function(t){this.mapObject.setStyle({lineCap:t})},setLineJoin:function(t){this.mapObject.setStyle({lineJoin:t})},setDashArray:function(t){this.mapObject.setStyle({dashArray:t})},setDashOffset:function(t){this.mapObject.setStyle({dashOffset:t})},setFill:function(t){this.mapObject.setStyle({fill:t})},setFillColor:function(t){this.mapObject.setStyle({fillColor:t})},setFillOpacity:function(t){this.mapObject.setStyle({fillOpacity:t})},setFillRule:function(t){this.mapObject.setStyle({fillRule:t})},setClassName:function(t){this.mapObject.setStyle({className:t})}}},OP={mixins:[zP],props:{smoothFactor:{type:Number,custom:!0,default:1},noClip:{type:Boolean,custom:!0,default:!1}},data:function(){return{ready:!1}},mounted:function(){this.polyLineOptions=Object.assign({},this.pathOptions,{smoothFactor:this.smoothFactor,noClip:this.noClip})},methods:{setSmoothFactor:function(t){this.mapObject.setStyle({smoothFactor:t})},setNoClip:function(t){this.mapObject.setStyle({noClip:t})},addLatLng:function(t){this.mapObject.addLatLng(t)}}},MP={mixins:[OP],props:{fill:{type:Boolean,custom:!0,default:!0}},mounted:function(){this.polygonOptions=this.polyLineOptions},methods:{getGeoJSONData:function(){return this.mapObject.toGeoJSON()}}},BP={props:{options:{type:Object,default:function(){return{}}}}},CP={name:"LPolygon",mixins:[MP,BP],props:{latLngs:{type:Array,default:function(){return[]}}},data:function(){return{ready:!1}},mounted:function(){var t=this,a=gP(this.polygonOptions,this);this.mapObject=W.polygon(this.latLngs,a),W.DomEvent.on(this.mapObject,this.$listeners),mP(this,this.mapObject,this.$options.props),this.ready=!0,this.parentContainer=_P(this.$parent),this.parentContainer.addLayer(this,!this.visible),this.$nextTick(function(){t.$emit("ready",t.mapObject)})}};function AP(e,t,a,n,i,o,s,c,h,v){typeof s!="boolean"&&(h=c,c=s,s=!1);var p=typeof a=="function"?a.options:a;e&&e.render&&(p.render=e.render,p.staticRenderFns=e.staticRenderFns,p._compiled=!0,i&&(p.functional=!0)),n&&(p._scopeId=n);var g;if(o?(g=function(_){_=_||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!_&&typeof __VUE_SSR_CONTEXT__<"u"&&(_=__VUE_SSR_CONTEXT__),t&&t.call(this,h(_)),_&&_._registeredComponents&&_._registeredComponents.add(o)},p._ssrRegister=g):t&&(g=s?function(_){t.call(this,v(_,this.$root.$options.shadowRoot))}:function(_){t.call(this,c(_))}),g)if(p.functional){var y=p.render;p.render=function(B,I){return g.call(I),y(B,I)}}else{var O=p.beforeCreate;p.beforeCreate=O?[].concat(O,g):[g]}return a}var LP=CP,IP=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticStyle:{display:"none"}},[e.ready?e._t("default"):e._e()],2)},SP=[],wP=void 0,PP=void 0,TP=void 0,VP=!1,HP=AP({render:IP,staticRenderFns:SP},wP,LP,PP,VP,TP,!1,void 0,void 0,void 0);const FP=HP;var EP=function(e){return!e||typeof e.charAt!="function"?e:e.charAt(0).toUpperCase()+e.slice(1)},$P=function(e,t,a,n){var i=function(s){var c="set"+EP(s),h=a[s].type===Object||a[s].type===Array||Array.isArray(a[s].type);a[s].custom&&e[c]?e.$watch(s,function(v,p){e[c](v,p)},{deep:h}):c==="setOptions"?e.$watch(s,function(v,p){W.setOptions(t,v)},{deep:h}):t[c]&&e.$watch(s,function(v,p){t[c](v)},{deep:h})};for(var o in a)i(o)},C3=function(e){var t={};for(var a in e){var n=e[a];n!=null&&(t[a]=n)}return t},DP=function(e,t){var a=t.options&&t.options.constructor===Object?t.options:{};e=e&&e.constructor===Object?e:{};var n=C3(a);e=C3(e);var i=t.$options.props;for(var o in e){var s=i[o]?i[o].default&&typeof i[o].default=="function"?i[o].default.call():i[o].default:Symbol("unique"),c=!1;Array.isArray(s)?c=JSON.stringify(s)===JSON.stringify(e[o]):c=s===e[o],n[o]&&!c?(console.warn(o+" props is overriding the value passed in the options props"),n[o]=e[o]):n[o]||(n[o]=e[o])}return n},xP=function(e){for(var t=!1;e&&!t;)e.mapObject===void 0?e=e.$parent:t=!0;return e},RP={props:{pane:{type:String,default:"overlayPane"},attribution:{type:String,default:null,custom:!0},name:{type:String,custom:!0,default:void 0},layerType:{type:String,custom:!0,default:void 0},visible:{type:Boolean,custom:!0,default:!0}},mounted:function(){this.layerOptions={attribution:this.attribution,pane:this.pane}},beforeDestroy:function(){this.unbindPopup(),this.unbindTooltip(),this.parentContainer.removeLayer(this)},methods:{setAttribution:function(t,a){var n=this.$parent.mapObject.attributionControl;n.removeAttribution(a).addAttribution(t)},setName:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setLayerType:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setVisible:function(t){this.mapObject&&(t?this.parentContainer.addLayer(this):this.parentContainer.hideLayer?this.parentContainer.hideLayer(this):this.parentContainer.removeLayer(this))},unbindTooltip:function(){var t=this.mapObject?this.mapObject.getTooltip():null;t&&t.unbindTooltip()},unbindPopup:function(){var t=this.mapObject?this.mapObject.getPopup():null;t&&t.unbindPopup()},updateVisibleProp:function(t){this.$emit("update:visible",t)}}},kP={props:{interactive:{type:Boolean,default:!0},bubblingMouseEvents:{type:Boolean,default:!0}},mounted:function(){this.interactiveLayerOptions={interactive:this.interactive,bubblingMouseEvents:this.bubblingMouseEvents}}},NP={mixins:[RP,kP],props:{lStyle:{type:Object,custom:!0,default:null},stroke:{type:Boolean,custom:!0,default:!0},color:{type:String,custom:!0,default:"#3388ff"},weight:{type:Number,custom:!0,default:3},opacity:{type:Number,custom:!0,default:1},lineCap:{type:String,custom:!0,default:"round"},lineJoin:{type:String,custom:!0,default:"round"},dashArray:{type:String,custom:!0,default:null},dashOffset:{type:String,custom:!0,default:null},fill:{type:Boolean,custom:!0,default:!1},fillColor:{type:String,custom:!0,default:"#3388ff"},fillOpacity:{type:Number,custom:!0,default:.2},fillRule:{type:String,custom:!0,default:"evenodd"},className:{type:String,custom:!0,default:null}},mounted:function(){if(this.pathOptions=Object.assign({},this.layerOptions,this.interactiveLayerOptions,{stroke:this.stroke,color:this.color,weight:this.weight,opacity:this.opacity,lineCap:this.lineCap,lineJoin:this.lineJoin,dashArray:this.dashArray,dashOffset:this.dashOffset,fill:this.fill,fillColor:this.fillColor,fillOpacity:this.fillOpacity,fillRule:this.fillRule,className:this.className}),this.lStyle){console.warn("lStyle is deprecated and is going to be removed in the next major version");for(var t in this.lStyle)this.pathOptions[t]=this.lStyle[t]}},beforeDestroy:function(){this.parentContainer?this.parentContainer.removeLayer(this):console.error("Missing parent container")},methods:{setLStyle:function(t){this.mapObject.setStyle(t)},setStroke:function(t){this.mapObject.setStyle({stroke:t})},setColor:function(t){this.mapObject.setStyle({color:t})},setWeight:function(t){this.mapObject.setStyle({weight:t})},setOpacity:function(t){this.mapObject.setStyle({opacity:t})},setLineCap:function(t){this.mapObject.setStyle({lineCap:t})},setLineJoin:function(t){this.mapObject.setStyle({lineJoin:t})},setDashArray:function(t){this.mapObject.setStyle({dashArray:t})},setDashOffset:function(t){this.mapObject.setStyle({dashOffset:t})},setFill:function(t){this.mapObject.setStyle({fill:t})},setFillColor:function(t){this.mapObject.setStyle({fillColor:t})},setFillOpacity:function(t){this.mapObject.setStyle({fillOpacity:t})},setFillRule:function(t){this.mapObject.setStyle({fillRule:t})},setClassName:function(t){this.mapObject.setStyle({className:t})}}},jP={mixins:[NP],props:{smoothFactor:{type:Number,custom:!0,default:1},noClip:{type:Boolean,custom:!0,default:!1}},data:function(){return{ready:!1}},mounted:function(){this.polyLineOptions=Object.assign({},this.pathOptions,{smoothFactor:this.smoothFactor,noClip:this.noClip})},methods:{setSmoothFactor:function(t){this.mapObject.setStyle({smoothFactor:t})},setNoClip:function(t){this.mapObject.setStyle({noClip:t})},addLatLng:function(t){this.mapObject.addLatLng(t)}}},UP={props:{options:{type:Object,default:function(){return{}}}}},GP={name:"LPolyline",mixins:[jP,UP],props:{latLngs:{type:Array,default:function(){return[]}}},data:function(){return{ready:!1}},mounted:function(){var t=this,a=DP(this.polyLineOptions,this);this.mapObject=W.polyline(this.latLngs,a),W.DomEvent.on(this.mapObject,this.$listeners),$P(this,this.mapObject,this.$options.props),this.ready=!0,this.parentContainer=xP(this.$parent),this.parentContainer.addLayer(this,!this.visible),this.$nextTick(function(){t.$emit("ready",t.mapObject)})}};function WP(e,t,a,n,i,o,s,c,h,v){typeof s!="boolean"&&(h=c,c=s,s=!1);var p=typeof a=="function"?a.options:a;e&&e.render&&(p.render=e.render,p.staticRenderFns=e.staticRenderFns,p._compiled=!0,i&&(p.functional=!0)),n&&(p._scopeId=n);var g;if(o?(g=function(_){_=_||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!_&&typeof __VUE_SSR_CONTEXT__<"u"&&(_=__VUE_SSR_CONTEXT__),t&&t.call(this,h(_)),_&&_._registeredComponents&&_._registeredComponents.add(o)},p._ssrRegister=g):t&&(g=s?function(_){t.call(this,v(_,this.$root.$options.shadowRoot))}:function(_){t.call(this,c(_))}),g)if(p.functional){var y=p.render;p.render=function(B,I){return g.call(I),y(B,I)}}else{var O=p.beforeCreate;p.beforeCreate=O?[].concat(O,g):[g]}return a}var ZP=GP,qP=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticStyle:{display:"none"}},[e.ready?e._t("default"):e._e()],2)},KP=[],XP=void 0,YP=void 0,JP=void 0,QP=!1,tT=WP({render:qP,staticRenderFns:KP},XP,ZP,YP,QP,JP,!1,void 0,void 0,void 0);const rh=tT;var eT=function(e){return!e||typeof e.charAt!="function"?e:e.charAt(0).toUpperCase()+e.slice(1)},aT=function(e,t,a,n){var i=function(s){var c="set"+eT(s),h=a[s].type===Object||a[s].type===Array||Array.isArray(a[s].type);a[s].custom&&e[c]?e.$watch(s,function(v,p){e[c](v,p)},{deep:h}):c==="setOptions"?e.$watch(s,function(v,p){W.setOptions(t,v)},{deep:h}):t[c]&&e.$watch(s,function(v,p){t[c](v)},{deep:h})};for(var o in a)i(o)},A3=function(e){var t={};for(var a in e){var n=e[a];n!=null&&(t[a]=n)}return t},nT=function(e,t){var a=t.options&&t.options.constructor===Object?t.options:{};e=e&&e.constructor===Object?e:{};var n=A3(a);e=A3(e);var i=t.$options.props;for(var o in e){var s=i[o]?i[o].default&&typeof i[o].default=="function"?i[o].default.call():i[o].default:Symbol("unique"),c=!1;Array.isArray(s)?c=JSON.stringify(s)===JSON.stringify(e[o]):c=s===e[o],n[o]&&!c?(console.warn(o+" props is overriding the value passed in the options props"),n[o]=e[o]):n[o]||(n[o]=e[o])}return n},rT=function(e){for(var t=!1;e&&!t;)e.mapObject===void 0?e=e.$parent:t=!0;return e},iT={props:{content:{type:String,default:null,custom:!0}},mounted:function(){this.popperOptions={}},methods:{setContent:function(t){this.mapObject&&t!==null&&t!==void 0&&this.mapObject.setContent(t)}},render:function(t){return this.$slots.default?t("div",this.$slots.default):null}},oT={props:{options:{type:Object,default:function(){return{}}}}},sT={name:"LPopup",mixins:[iT,oT],props:{latLng:{type:[Object,Array],default:function(){return[]}}},mounted:function(){var t=this,a=nT(this.popperOptions,this);this.mapObject=W.popup(a),this.latLng!==void 0&&this.mapObject.setLatLng(this.latLng),W.DomEvent.on(this.mapObject,this.$listeners),aT(this,this.mapObject,this.$options.props),this.mapObject.setContent(this.content||this.$el),this.parentContainer=rT(this.$parent),this.parentContainer.mapObject.bindPopup(this.mapObject),this.$nextTick(function(){t.$emit("ready",t.mapObject)})},beforeDestroy:function(){this.parentContainer&&(this.parentContainer.unbindPopup?this.parentContainer.unbindPopup():this.parentContainer.mapObject&&this.parentContainer.mapObject.unbindPopup&&this.parentContainer.mapObject.unbindPopup())}};function lT(e,t,a,n,i,o,s,c,h,v){typeof s!="boolean"&&(h=c,c=s,s=!1);var p=typeof a=="function"?a.options:a;e&&e.render&&(p.render=e.render,p.staticRenderFns=e.staticRenderFns,p._compiled=!0,i&&(p.functional=!0)),n&&(p._scopeId=n);var g;if(o?(g=function(_){_=_||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!_&&typeof __VUE_SSR_CONTEXT__<"u"&&(_=__VUE_SSR_CONTEXT__),t&&t.call(this,h(_)),_&&_._registeredComponents&&_._registeredComponents.add(o)},p._ssrRegister=g):t&&(g=s?function(_){t.call(this,v(_,this.$root.$options.shadowRoot))}:function(_){t.call(this,c(_))}),g)if(p.functional){var y=p.render;p.render=function(B,I){return g.call(I),y(B,I)}}else{var O=p.beforeCreate;p.beforeCreate=O?[].concat(O,g):[g]}return a}var cT=sT,uT=void 0,hT=void 0,dT=void 0,fT=void 0,pT=lT({},uT,cT,hT,fT,dT,!1,void 0,void 0,void 0);const ih=pT;var vT=function(e){return!e||typeof e.charAt!="function"?e:e.charAt(0).toUpperCase()+e.slice(1)},mT=function(e,t,a,n){var i=function(s){var c="set"+vT(s),h=a[s].type===Object||a[s].type===Array||Array.isArray(a[s].type);a[s].custom&&e[c]?e.$watch(s,function(v,p){e[c](v,p)},{deep:h}):c==="setOptions"?e.$watch(s,function(v,p){W.setOptions(t,v)},{deep:h}):t[c]&&e.$watch(s,function(v,p){t[c](v)},{deep:h})};for(var o in a)i(o)},L3=function(e){var t={};for(var a in e){var n=e[a];n!=null&&(t[a]=n)}return t},gT=function(e,t){var a=t.options&&t.options.constructor===Object?t.options:{};e=e&&e.constructor===Object?e:{};var n=L3(a);e=L3(e);var i=t.$options.props;for(var o in e){var s=i[o]?i[o].default&&typeof i[o].default=="function"?i[o].default.call():i[o].default:Symbol("unique"),c=!1;Array.isArray(s)?c=JSON.stringify(s)===JSON.stringify(e[o]):c=s===e[o],n[o]&&!c?(console.warn(o+" props is overriding the value passed in the options props"),n[o]=e[o]):n[o]||(n[o]=e[o])}return n},_T=function(e){for(var t=!1;e&&!t;)e.mapObject===void 0?e=e.$parent:t=!0;return e},bT={props:{pane:{type:String,default:"overlayPane"},attribution:{type:String,default:null,custom:!0},name:{type:String,custom:!0,default:void 0},layerType:{type:String,custom:!0,default:void 0},visible:{type:Boolean,custom:!0,default:!0}},mounted:function(){this.layerOptions={attribution:this.attribution,pane:this.pane}},beforeDestroy:function(){this.unbindPopup(),this.unbindTooltip(),this.parentContainer.removeLayer(this)},methods:{setAttribution:function(t,a){var n=this.$parent.mapObject.attributionControl;n.removeAttribution(a).addAttribution(t)},setName:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setLayerType:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setVisible:function(t){this.mapObject&&(t?this.parentContainer.addLayer(this):this.parentContainer.hideLayer?this.parentContainer.hideLayer(this):this.parentContainer.removeLayer(this))},unbindTooltip:function(){var t=this.mapObject?this.mapObject.getTooltip():null;t&&t.unbindTooltip()},unbindPopup:function(){var t=this.mapObject?this.mapObject.getPopup():null;t&&t.unbindPopup()},updateVisibleProp:function(t){this.$emit("update:visible",t)}}},yT={props:{interactive:{type:Boolean,default:!0},bubblingMouseEvents:{type:Boolean,default:!0}},mounted:function(){this.interactiveLayerOptions={interactive:this.interactive,bubblingMouseEvents:this.bubblingMouseEvents}}},zT={mixins:[bT,yT],props:{lStyle:{type:Object,custom:!0,default:null},stroke:{type:Boolean,custom:!0,default:!0},color:{type:String,custom:!0,default:"#3388ff"},weight:{type:Number,custom:!0,default:3},opacity:{type:Number,custom:!0,default:1},lineCap:{type:String,custom:!0,default:"round"},lineJoin:{type:String,custom:!0,default:"round"},dashArray:{type:String,custom:!0,default:null},dashOffset:{type:String,custom:!0,default:null},fill:{type:Boolean,custom:!0,default:!1},fillColor:{type:String,custom:!0,default:"#3388ff"},fillOpacity:{type:Number,custom:!0,default:.2},fillRule:{type:String,custom:!0,default:"evenodd"},className:{type:String,custom:!0,default:null}},mounted:function(){if(this.pathOptions=Object.assign({},this.layerOptions,this.interactiveLayerOptions,{stroke:this.stroke,color:this.color,weight:this.weight,opacity:this.opacity,lineCap:this.lineCap,lineJoin:this.lineJoin,dashArray:this.dashArray,dashOffset:this.dashOffset,fill:this.fill,fillColor:this.fillColor,fillOpacity:this.fillOpacity,fillRule:this.fillRule,className:this.className}),this.lStyle){console.warn("lStyle is deprecated and is going to be removed in the next major version");for(var t in this.lStyle)this.pathOptions[t]=this.lStyle[t]}},beforeDestroy:function(){this.parentContainer?this.parentContainer.removeLayer(this):console.error("Missing parent container")},methods:{setLStyle:function(t){this.mapObject.setStyle(t)},setStroke:function(t){this.mapObject.setStyle({stroke:t})},setColor:function(t){this.mapObject.setStyle({color:t})},setWeight:function(t){this.mapObject.setStyle({weight:t})},setOpacity:function(t){this.mapObject.setStyle({opacity:t})},setLineCap:function(t){this.mapObject.setStyle({lineCap:t})},setLineJoin:function(t){this.mapObject.setStyle({lineJoin:t})},setDashArray:function(t){this.mapObject.setStyle({dashArray:t})},setDashOffset:function(t){this.mapObject.setStyle({dashOffset:t})},setFill:function(t){this.mapObject.setStyle({fill:t})},setFillColor:function(t){this.mapObject.setStyle({fillColor:t})},setFillOpacity:function(t){this.mapObject.setStyle({fillOpacity:t})},setFillRule:function(t){this.mapObject.setStyle({fillRule:t})},setClassName:function(t){this.mapObject.setStyle({className:t})}}},OT={mixins:[zT],props:{smoothFactor:{type:Number,custom:!0,default:1},noClip:{type:Boolean,custom:!0,default:!1}},data:function(){return{ready:!1}},mounted:function(){this.polyLineOptions=Object.assign({},this.pathOptions,{smoothFactor:this.smoothFactor,noClip:this.noClip})},methods:{setSmoothFactor:function(t){this.mapObject.setStyle({smoothFactor:t})},setNoClip:function(t){this.mapObject.setStyle({noClip:t})},addLatLng:function(t){this.mapObject.addLatLng(t)}}},MT={mixins:[OT],props:{fill:{type:Boolean,custom:!0,default:!0}},mounted:function(){this.polygonOptions=this.polyLineOptions},methods:{getGeoJSONData:function(){return this.mapObject.toGeoJSON()}}},BT={props:{options:{type:Object,default:function(){return{}}}}},CT={name:"LRectangle",mixins:[MT,BT],props:{bounds:{default:function(){return[[0,0],[0,0]]},validator:function(e){return e&&W.latLngBounds(e).isValid()}}},data:function(){return{ready:!1}},mounted:function(){var t=this,a=gT(this.polygonOptions,this);this.mapObject=W.rectangle(this.bounds,a),W.DomEvent.on(this.mapObject,this.$listeners),mT(this,this.mapObject,this.$options.props),this.ready=!0,this.parentContainer=_T(this.$parent),this.parentContainer.addLayer(this,!this.visible),this.$nextTick(function(){t.$emit("ready",t.mapObject)})}};function AT(e,t,a,n,i,o,s,c,h,v){typeof s!="boolean"&&(h=c,c=s,s=!1);var p=typeof a=="function"?a.options:a;e&&e.render&&(p.render=e.render,p.staticRenderFns=e.staticRenderFns,p._compiled=!0,i&&(p.functional=!0)),n&&(p._scopeId=n);var g;if(o?(g=function(_){_=_||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!_&&typeof __VUE_SSR_CONTEXT__<"u"&&(_=__VUE_SSR_CONTEXT__),t&&t.call(this,h(_)),_&&_._registeredComponents&&_._registeredComponents.add(o)},p._ssrRegister=g):t&&(g=s?function(_){t.call(this,v(_,this.$root.$options.shadowRoot))}:function(_){t.call(this,c(_))}),g)if(p.functional){var y=p.render;p.render=function(B,I){return g.call(I),y(B,I)}}else{var O=p.beforeCreate;p.beforeCreate=O?[].concat(O,g):[g]}return a}var LT=CT,IT=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticStyle:{display:"none"}},[e.ready?e._t("default"):e._e()],2)},ST=[],wT=void 0,PT=void 0,TT=void 0,VT=!1,HT=AT({render:IT,staticRenderFns:ST},wT,LT,PT,VT,TT,!1,void 0,void 0,void 0);const FT=HT;var ET=function(e){return!e||typeof e.charAt!="function"?e:e.charAt(0).toUpperCase()+e.slice(1)},$T=function(e,t,a,n){var i=function(s){var c="set"+ET(s),h=a[s].type===Object||a[s].type===Array||Array.isArray(a[s].type);a[s].custom&&e[c]?e.$watch(s,function(v,p){e[c](v,p)},{deep:h}):c==="setOptions"?e.$watch(s,function(v,p){W.setOptions(t,v)},{deep:h}):t[c]&&e.$watch(s,function(v,p){t[c](v)},{deep:h})};for(var o in a)i(o)},I3=function(e){var t={};for(var a in e){var n=e[a];n!=null&&(t[a]=n)}return t},DT=function(e,t){var a=t.options&&t.options.constructor===Object?t.options:{};e=e&&e.constructor===Object?e:{};var n=I3(a);e=I3(e);var i=t.$options.props;for(var o in e){var s=i[o]?i[o].default&&typeof i[o].default=="function"?i[o].default.call():i[o].default:Symbol("unique"),c=!1;Array.isArray(s)?c=JSON.stringify(s)===JSON.stringify(e[o]):c=s===e[o],n[o]&&!c?(console.warn(o+" props is overriding the value passed in the options props"),n[o]=e[o]):n[o]||(n[o]=e[o])}return n},xT=function(e){for(var t=!1;e&&!t;)e.mapObject===void 0?e=e.$parent:t=!0;return e},RT={props:{pane:{type:String,default:"overlayPane"},attribution:{type:String,default:null,custom:!0},name:{type:String,custom:!0,default:void 0},layerType:{type:String,custom:!0,default:void 0},visible:{type:Boolean,custom:!0,default:!0}},mounted:function(){this.layerOptions={attribution:this.attribution,pane:this.pane}},beforeDestroy:function(){this.unbindPopup(),this.unbindTooltip(),this.parentContainer.removeLayer(this)},methods:{setAttribution:function(t,a){var n=this.$parent.mapObject.attributionControl;n.removeAttribution(a).addAttribution(t)},setName:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setLayerType:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setVisible:function(t){this.mapObject&&(t?this.parentContainer.addLayer(this):this.parentContainer.hideLayer?this.parentContainer.hideLayer(this):this.parentContainer.removeLayer(this))},unbindTooltip:function(){var t=this.mapObject?this.mapObject.getTooltip():null;t&&t.unbindTooltip()},unbindPopup:function(){var t=this.mapObject?this.mapObject.getPopup():null;t&&t.unbindPopup()},updateVisibleProp:function(t){this.$emit("update:visible",t)}}},kT={mixins:[RT],props:{pane:{type:String,default:"tilePane"},opacity:{type:Number,custom:!1,default:1},zIndex:{type:Number,default:1},tileSize:{type:Number,default:256},noWrap:{type:Boolean,default:!1}},mounted:function(){this.gridLayerOptions=Object.assign({},this.layerOptions,{pane:this.pane,opacity:this.opacity,zIndex:this.zIndex,tileSize:this.tileSize,noWrap:this.noWrap})}},NT={mixins:[kT],props:{tms:{type:Boolean,default:!1},subdomains:{type:[String,Array],default:"abc",validator:function(e){return typeof e=="string"?!0:Array.isArray(e)?e.every(function(t){return typeof t=="string"}):!1}},detectRetina:{type:Boolean,default:!1}},mounted:function(){this.tileLayerOptions=Object.assign({},this.gridLayerOptions,{tms:this.tms,subdomains:this.subdomains,detectRetina:this.detectRetina})},render:function(){return null}},jT={props:{options:{type:Object,default:function(){return{}}}}},UT={name:"LTileLayer",mixins:[NT,jT],props:{url:{type:String,default:null},tileLayerClass:{type:Function,default:W.tileLayer}},mounted:function(){var t=this,a=DT(this.tileLayerOptions,this);this.mapObject=this.tileLayerClass(this.url,a),W.DomEvent.on(this.mapObject,this.$listeners),$T(this,this.mapObject,this.$options.props),this.parentContainer=xT(this.$parent),this.parentContainer.addLayer(this,!this.visible),this.$nextTick(function(){t.$emit("ready",t.mapObject)})}};function GT(e,t,a,n,i,o,s,c,h,v){typeof s!="boolean"&&(h=c,c=s,s=!1);var p=typeof a=="function"?a.options:a;e&&e.render&&(p.render=e.render,p.staticRenderFns=e.staticRenderFns,p._compiled=!0,i&&(p.functional=!0)),n&&(p._scopeId=n);var g;if(o?(g=function(_){_=_||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!_&&typeof __VUE_SSR_CONTEXT__<"u"&&(_=__VUE_SSR_CONTEXT__),t&&t.call(this,h(_)),_&&_._registeredComponents&&_._registeredComponents.add(o)},p._ssrRegister=g):t&&(g=s?function(_){t.call(this,v(_,this.$root.$options.shadowRoot))}:function(_){t.call(this,c(_))}),g)if(p.functional){var y=p.render;p.render=function(B,I){return g.call(I),y(B,I)}}else{var O=p.beforeCreate;p.beforeCreate=O?[].concat(O,g):[g]}return a}var WT=UT,ZT=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div")},qT=[],KT=void 0,XT=void 0,YT=void 0,JT=!1,QT=GT({render:ZT,staticRenderFns:qT},KT,WT,XT,JT,YT,!1,void 0,void 0,void 0);const oh=QT;var tV=function(e){return!e||typeof e.charAt!="function"?e:e.charAt(0).toUpperCase()+e.slice(1)},eV=function(e,t,a,n){var i=function(s){var c="set"+tV(s),h=a[s].type===Object||a[s].type===Array||Array.isArray(a[s].type);a[s].custom&&e[c]?e.$watch(s,function(v,p){e[c](v,p)},{deep:h}):c==="setOptions"?e.$watch(s,function(v,p){W.setOptions(t,v)},{deep:h}):t[c]&&e.$watch(s,function(v,p){t[c](v)},{deep:h})};for(var o in a)i(o)},S3=function(e){var t={};for(var a in e){var n=e[a];n!=null&&(t[a]=n)}return t},aV=function(e,t){var a=t.options&&t.options.constructor===Object?t.options:{};e=e&&e.constructor===Object?e:{};var n=S3(a);e=S3(e);var i=t.$options.props;for(var o in e){var s=i[o]?i[o].default&&typeof i[o].default=="function"?i[o].default.call():i[o].default:Symbol("unique"),c=!1;Array.isArray(s)?c=JSON.stringify(s)===JSON.stringify(e[o]):c=s===e[o],n[o]&&!c?(console.warn(o+" props is overriding the value passed in the options props"),n[o]=e[o]):n[o]||(n[o]=e[o])}return n},nV=function(e){for(var t=!1;e&&!t;)e.mapObject===void 0?e=e.$parent:t=!0;return e},rV={props:{content:{type:String,default:null,custom:!0}},mounted:function(){this.popperOptions={}},methods:{setContent:function(t){this.mapObject&&t!==null&&t!==void 0&&this.mapObject.setContent(t)}},render:function(t){return this.$slots.default?t("div",this.$slots.default):null}},iV={props:{options:{type:Object,default:function(){return{}}}}},oV={name:"LTooltip",mixins:[rV,iV],mounted:function(){var t=this,a=aV(this.popperOptions,this);this.mapObject=W.tooltip(a),W.DomEvent.on(this.mapObject,this.$listeners),eV(this,this.mapObject,this.$options.props),this.mapObject.setContent(this.content||this.$el),this.parentContainer=nV(this.$parent),this.parentContainer.mapObject.bindTooltip(this.mapObject),this.$nextTick(function(){t.$emit("ready",t.mapObject)})},beforeDestroy:function(){this.parentContainer&&(this.parentContainer.unbindTooltip?this.parentContainer.unbindTooltip():this.parentContainer.mapObject&&this.parentContainer.mapObject.unbindTooltip&&this.parentContainer.mapObject.unbindTooltip())}};function sV(e,t,a,n,i,o,s,c,h,v){typeof s!="boolean"&&(h=c,c=s,s=!1);var p=typeof a=="function"?a.options:a;e&&e.render&&(p.render=e.render,p.staticRenderFns=e.staticRenderFns,p._compiled=!0,i&&(p.functional=!0)),n&&(p._scopeId=n);var g;if(o?(g=function(_){_=_||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!_&&typeof __VUE_SSR_CONTEXT__<"u"&&(_=__VUE_SSR_CONTEXT__),t&&t.call(this,h(_)),_&&_._registeredComponents&&_._registeredComponents.add(o)},p._ssrRegister=g):t&&(g=s?function(_){t.call(this,v(_,this.$root.$options.shadowRoot))}:function(_){t.call(this,c(_))}),g)if(p.functional){var y=p.render;p.render=function(B,I){return g.call(I),y(B,I)}}else{var O=p.beforeCreate;p.beforeCreate=O?[].concat(O,g):[g]}return a}var lV=oV,cV=void 0,uV=void 0,hV=void 0,dV=void 0,fV=sV({},cV,lV,uV,dV,hV,!1,void 0,void 0,void 0);const pV=fV;var vV=function(e){return!e||typeof e.charAt!="function"?e:e.charAt(0).toUpperCase()+e.slice(1)},mV=function(e,t,a,n){var i=function(s){var c="set"+vV(s),h=a[s].type===Object||a[s].type===Array||Array.isArray(a[s].type);a[s].custom&&e[c]?e.$watch(s,function(v,p){e[c](v,p)},{deep:h}):c==="setOptions"?e.$watch(s,function(v,p){W.setOptions(t,v)},{deep:h}):t[c]&&e.$watch(s,function(v,p){t[c](v)},{deep:h})};for(var o in a)i(o)},w3=function(e){var t={};for(var a in e){var n=e[a];n!=null&&(t[a]=n)}return t},gV=function(e,t){var a=t.options&&t.options.constructor===Object?t.options:{};e=e&&e.constructor===Object?e:{};var n=w3(a);e=w3(e);var i=t.$options.props;for(var o in e){var s=i[o]?i[o].default&&typeof i[o].default=="function"?i[o].default.call():i[o].default:Symbol("unique"),c=!1;Array.isArray(s)?c=JSON.stringify(s)===JSON.stringify(e[o]):c=s===e[o],n[o]&&!c?(console.warn(o+" props is overriding the value passed in the options props"),n[o]=e[o]):n[o]||(n[o]=e[o])}return n},_V=function(e){for(var t=!1;e&&!t;)e.mapObject===void 0?e=e.$parent:t=!0;return e},bV={props:{pane:{type:String,default:"overlayPane"},attribution:{type:String,default:null,custom:!0},name:{type:String,custom:!0,default:void 0},layerType:{type:String,custom:!0,default:void 0},visible:{type:Boolean,custom:!0,default:!0}},mounted:function(){this.layerOptions={attribution:this.attribution,pane:this.pane}},beforeDestroy:function(){this.unbindPopup(),this.unbindTooltip(),this.parentContainer.removeLayer(this)},methods:{setAttribution:function(t,a){var n=this.$parent.mapObject.attributionControl;n.removeAttribution(a).addAttribution(t)},setName:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setLayerType:function(){this.parentContainer.removeLayer(this),this.visible&&this.parentContainer.addLayer(this)},setVisible:function(t){this.mapObject&&(t?this.parentContainer.addLayer(this):this.parentContainer.hideLayer?this.parentContainer.hideLayer(this):this.parentContainer.removeLayer(this))},unbindTooltip:function(){var t=this.mapObject?this.mapObject.getTooltip():null;t&&t.unbindTooltip()},unbindPopup:function(){var t=this.mapObject?this.mapObject.getPopup():null;t&&t.unbindPopup()},updateVisibleProp:function(t){this.$emit("update:visible",t)}}},yV={mixins:[bV],props:{pane:{type:String,default:"tilePane"},opacity:{type:Number,custom:!1,default:1},zIndex:{type:Number,default:1},tileSize:{type:Number,default:256},noWrap:{type:Boolean,default:!1}},mounted:function(){this.gridLayerOptions=Object.assign({},this.layerOptions,{pane:this.pane,opacity:this.opacity,zIndex:this.zIndex,tileSize:this.tileSize,noWrap:this.noWrap})}},zV={mixins:[yV],props:{tms:{type:Boolean,default:!1},subdomains:{type:[String,Array],default:"abc",validator:function(e){return typeof e=="string"?!0:Array.isArray(e)?e.every(function(t){return typeof t=="string"}):!1}},detectRetina:{type:Boolean,default:!1}},mounted:function(){this.tileLayerOptions=Object.assign({},this.gridLayerOptions,{tms:this.tms,subdomains:this.subdomains,detectRetina:this.detectRetina})},render:function(){return null}},OV={mixins:[zV],props:{layers:{type:String,default:""},styles:{type:String,default:""},format:{type:String,default:"image/jpeg"},transparent:{type:Boolean,custom:!1},version:{type:String,default:"1.1.1"},crs:{default:null},upperCase:{type:Boolean,default:!1}},mounted:function(){this.tileLayerWMSOptions=Object.assign({},this.tileLayerOptions,{layers:this.layers,styles:this.styles,format:this.format,transparent:this.transparent,version:this.version,crs:this.crs,upperCase:this.upperCase})}},MV={props:{options:{type:Object,default:function(){return{}}}}},BV={name:"LWMSTileLayer",mixins:[OV,MV],props:{baseUrl:{type:String,default:null}},mounted:function(){var t=this,a=gV(this.tileLayerWMSOptions,this);this.mapObject=W.tileLayer.wms(this.baseUrl,a),W.DomEvent.on(this.mapObject,this.$listeners),mV(this,this.mapObject,this.$options.props),this.parentContainer=_V(this.$parent),this.parentContainer.addLayer(this,!this.visible),this.$nextTick(function(){t.$emit("ready",t.mapObject)})}};function CV(e,t,a,n,i,o,s,c,h,v){typeof s!="boolean"&&(h=c,c=s,s=!1);var p=typeof a=="function"?a.options:a;e&&e.render&&(p.render=e.render,p.staticRenderFns=e.staticRenderFns,p._compiled=!0,i&&(p.functional=!0)),n&&(p._scopeId=n);var g;if(o?(g=function(_){_=_||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!_&&typeof __VUE_SSR_CONTEXT__<"u"&&(_=__VUE_SSR_CONTEXT__),t&&t.call(this,h(_)),_&&_._registeredComponents&&_._registeredComponents.add(o)},p._ssrRegister=g):t&&(g=s?function(_){t.call(this,v(_,this.$root.$options.shadowRoot))}:function(_){t.call(this,c(_))}),g)if(p.functional){var y=p.render;p.render=function(B,I){return g.call(I),y(B,I)}}else{var O=p.beforeCreate;p.beforeCreate=O?[].concat(O,g):[g]}return a}var AV=BV,LV=void 0,IV=void 0,SV=void 0,wV=void 0,PV=CV({},LV,AV,IV,wV,SV,!1,void 0,void 0,void 0);const TV=PV,VV=Object.freeze(Object.defineProperty({__proto__:null,CircleMixin:jC,ControlMixin:GC,GridLayerMixin:qC,ImageOverlayMixin:JC,InteractiveLayerMixin:tA,LCircle:Dv,LCircleMarker:xv,LControl:Qu,LControlAttribution:ZL,LControlLayers:th,LControlScale:yI,LControlZoom:eh,LFeatureGroup:XI,LGeoJson:dS,LGridLayer:wS,LIcon:Rv,LIconDefault:ew,LImageOverlay:_w,LLayerGroup:Fw,LMap:ah,LMarker:nh,LPolygon:FP,LPolyline:rh,LPopup:ih,LRectangle:FT,LTileLayer:oh,LTooltip:pV,LWMSTileLayer:TV,LayerGroupMixin:iA,LayerMixin:aA,OptionsMixin:sA,PathMixin:hA,PolygonMixin:gA,PolylineMixin:OA,PopperMixin:BA,TileLayerMixin:IA,TileLayerWMSMixin:VA,capitalizeFirstLetter:$v,collectionCleaner:Bc,debounce:FC,findRealParent:DC,optionsMerger:$C,propsBinder:EC},Symbol.toStringTag,{value:"Module"}));var Cc={},HV={get exports(){return Cc},set exports(e){Cc=e}},ci={},FV={get exports(){return ci},set exports(e){ci=e}},P3;function T3(){return P3||(P3=1,function(e,t){(function(a,n){n(t)})(Ju,function(a){var n=L.MarkerClusterGroup=L.FeatureGroup.extend({options:{maxClusterRadius:80,iconCreateFunction:null,clusterPane:L.Marker.prototype.options.pane,spiderfyOnEveryZoom:!1,spiderfyOnMaxZoom:!0,showCoverageOnHover:!0,zoomToBoundsOnClick:!0,singleMarkerMode:!1,disableClusteringAtZoom:null,removeOutsideVisibleBounds:!0,animate:!0,animateAddingMarkers:!1,spiderfyShapePositions:null,spiderfyDistanceMultiplier:1,spiderLegPolylineOptions:{weight:1.5,color:"#222",opacity:.5},chunkedLoading:!1,chunkInterval:200,chunkDelay:50,chunkProgress:null,polygonOptions:{}},initialize:function(o){L.Util.setOptions(this,o),this.options.iconCreateFunction||(this.options.iconCreateFunction=this._defaultIconCreateFunction),this._featureGroup=L.featureGroup(),this._featureGroup.addEventParent(this),this._nonPointGroup=L.featureGroup(),this._nonPointGroup.addEventParent(this),this._inZoomAnimation=0,this._needsClustering=[],this._needsRemoving=[],this._currentShownBounds=null,this._queue=[],this._childMarkerEventHandlers={dragstart:this._childMarkerDragStart,move:this._childMarkerMoved,dragend:this._childMarkerDragEnd};var s=L.DomUtil.TRANSITION&&this.options.animate;L.extend(this,s?this._withAnimation:this._noAnimation),this._markerCluster=s?L.MarkerCluster:L.MarkerClusterNonAnimated},addLayer:function(o){if(o instanceof L.LayerGroup)return this.addLayers([o]);if(!o.getLatLng)return this._nonPointGroup.addLayer(o),this.fire("layeradd",{layer:o}),this;if(!this._map)return this._needsClustering.push(o),this.fire("layeradd",{layer:o}),this;if(this.hasLayer(o))return this;this._unspiderfy&&this._unspiderfy(),this._addLayer(o,this._maxZoom),this.fire("layeradd",{layer:o}),this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons();var s=o,c=this._zoom;if(o.__parent)for(;s.__parent._zoom>=c;)s=s.__parent;return this._currentShownBounds.contains(s.getLatLng())&&(this.options.animateAddingMarkers?this._animationAddLayer(o,s):this._animationAddLayerNonAnimated(o,s)),this},removeLayer:function(o){return o instanceof L.LayerGroup?this.removeLayers([o]):o.getLatLng?this._map?o.__parent?(this._unspiderfy&&(this._unspiderfy(),this._unspiderfyLayer(o)),this._removeLayer(o,!0),this.fire("layerremove",{layer:o}),this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),o.off(this._childMarkerEventHandlers,this),this._featureGroup.hasLayer(o)&&(this._featureGroup.removeLayer(o),o.clusterShow&&o.clusterShow()),this):this:(!this._arraySplice(this._needsClustering,o)&&this.hasLayer(o)&&this._needsRemoving.push({layer:o,latlng:o._latlng}),this.fire("layerremove",{layer:o}),this):(this._nonPointGroup.removeLayer(o),this.fire("layerremove",{layer:o}),this)},addLayers:function(o,s){if(!L.Util.isArray(o))return this.addLayer(o);var c=this._featureGroup,h=this._nonPointGroup,v=this.options.chunkedLoading,p=this.options.chunkInterval,g=this.options.chunkProgress,y=o.length,O=0,_=!0,B;if(this._map){var I=new Date().getTime(),V=L.bind(function(){var x=new Date().getTime();for(this._map&&this._unspiderfy&&this._unspiderfy();Op)break}if(B=o[O],B instanceof L.LayerGroup){_&&(o=o.slice(),_=!1),this._extractNonGroupLayers(B,o),y=o.length;continue}if(!B.getLatLng){h.addLayer(B),s||this.fire("layeradd",{layer:B});continue}if(!this.hasLayer(B)&&(this._addLayer(B,this._maxZoom),s||this.fire("layeradd",{layer:B}),B.__parent&&B.__parent.getChildCount()===2)){var k=B.__parent.getAllChildMarkers(),Y=k[0]===B?k[1]:k[0];c.removeLayer(Y)}}g&&g(O,y,new Date().getTime()-I),O===y?(this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),this._topClusterLevel._recursivelyAddChildrenToMap(null,this._zoom,this._currentShownBounds)):setTimeout(V,this.options.chunkDelay)},this);V()}else for(var D=this._needsClustering;O=0;s--)o.extend(this._needsClustering[s].getLatLng());return o.extend(this._nonPointGroup.getBounds()),o},eachLayer:function(o,s){var c=this._needsClustering.slice(),h=this._needsRemoving,v,p,g;for(this._topClusterLevel&&this._topClusterLevel.getAllChildMarkers(c),p=c.length-1;p>=0;p--){for(v=!0,g=h.length-1;g>=0;g--)if(h[g].layer===c[p]){v=!1;break}v&&o.call(s,c[p])}this._nonPointGroup.eachLayer(o,s)},getLayers:function(){var o=[];return this.eachLayer(function(s){o.push(s)}),o},getLayer:function(o){var s=null;return o=parseInt(o,10),this.eachLayer(function(c){L.stamp(c)===o&&(s=c)}),s},hasLayer:function(o){if(!o)return!1;var s,c=this._needsClustering;for(s=c.length-1;s>=0;s--)if(c[s]===o)return!0;for(c=this._needsRemoving,s=c.length-1;s>=0;s--)if(c[s].layer===o)return!1;return!!(o.__parent&&o.__parent._group===this)||this._nonPointGroup.hasLayer(o)},zoomToShowLayer:function(o,s){var c=this._map;typeof s!="function"&&(s=function(){});var h=function(){(c.hasLayer(o)||c.hasLayer(o.__parent))&&!this._inZoomAnimation&&(this._map.off("moveend",h,this),this.off("animationend",h,this),c.hasLayer(o)?s():o.__parent._icon&&(this.once("spiderfied",s,this),o.__parent.spiderfy()))};o._icon&&this._map.getBounds().contains(o.getLatLng())?s():o.__parent._zoom=0;c--)if(o[c]===s)return o.splice(c,1),!0},_removeFromGridUnclustered:function(o,s){for(var c=this._map,h=this._gridUnclustered,v=Math.floor(this._map.getMinZoom());s>=v&&h[s].removeObject(o,c.project(o.getLatLng(),s));s--);},_childMarkerDragStart:function(o){o.target.__dragStart=o.target._latlng},_childMarkerMoved:function(o){if(!this._ignoreMove&&!o.target.__dragStart){var s=o.target._popup&&o.target._popup.isOpen();this._moveChild(o.target,o.oldLatLng,o.latlng),s&&o.target.openPopup()}},_moveChild:function(o,s,c){o._latlng=s,this.removeLayer(o),o._latlng=c,this.addLayer(o)},_childMarkerDragEnd:function(o){var s=o.target.__dragStart;delete o.target.__dragStart,s&&this._moveChild(o.target,s,o.target._latlng)},_removeLayer:function(o,s,c){var h=this._gridClusters,v=this._gridUnclustered,p=this._featureGroup,g=this._map,y=Math.floor(this._map.getMinZoom());s&&this._removeFromGridUnclustered(o,this._maxZoom);var O=o.__parent,_=O._markers,B;for(this._arraySplice(_,o);O&&(O._childCount--,O._boundsNeedUpdate=!0,!(O._zoom"+s+"",className:"marker-cluster"+c,iconSize:new L.Point(40,40)})},_bindEvents:function(){var o=this._map,s=this.options.spiderfyOnMaxZoom,c=this.options.showCoverageOnHover,h=this.options.zoomToBoundsOnClick,v=this.options.spiderfyOnEveryZoom;(s||h||v)&&this.on("clusterclick clusterkeypress",this._zoomOrSpiderfy,this),c&&(this.on("clustermouseover",this._showCoverage,this),this.on("clustermouseout",this._hideCoverage,this),o.on("zoomend",this._hideCoverage,this))},_zoomOrSpiderfy:function(o){var s=o.layer,c=s;if(!(o.type==="clusterkeypress"&&o.originalEvent&&o.originalEvent.keyCode!==13)){for(;c._childClusters.length===1;)c=c._childClusters[0];c._zoom===this._maxZoom&&c._childCount===s._childCount&&this.options.spiderfyOnMaxZoom?s.spiderfy():this.options.zoomToBoundsOnClick&&s.zoomToBounds(),this.options.spiderfyOnEveryZoom&&s.spiderfy(),o.originalEvent&&o.originalEvent.keyCode===13&&this._map._container.focus()}},_showCoverage:function(o){var s=this._map;this._inZoomAnimation||(this._shownPolygon&&s.removeLayer(this._shownPolygon),o.layer.getChildCount()>2&&o.layer!==this._spiderfied&&(this._shownPolygon=new L.Polygon(o.layer.getConvexHull(),this.options.polygonOptions),s.addLayer(this._shownPolygon)))},_hideCoverage:function(){this._shownPolygon&&(this._map.removeLayer(this._shownPolygon),this._shownPolygon=null)},_unbindEvents:function(){var o=this.options.spiderfyOnMaxZoom,s=this.options.showCoverageOnHover,c=this.options.zoomToBoundsOnClick,h=this.options.spiderfyOnEveryZoom,v=this._map;(o||c||h)&&this.off("clusterclick clusterkeypress",this._zoomOrSpiderfy,this),s&&(this.off("clustermouseover",this._showCoverage,this),this.off("clustermouseout",this._hideCoverage,this),v.off("zoomend",this._hideCoverage,this))},_zoomEnd:function(){this._map&&(this._mergeSplitClusters(),this._zoom=Math.round(this._map._zoom),this._currentShownBounds=this._getExpandedVisibleBounds())},_moveEnd:function(){if(!this._inZoomAnimation){var o=this._getExpandedVisibleBounds();this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),this._zoom,o),this._topClusterLevel._recursivelyAddChildrenToMap(null,Math.round(this._map._zoom),o),this._currentShownBounds=o}},_generateInitialClusters:function(){var o=Math.ceil(this._map.getMaxZoom()),s=Math.floor(this._map.getMinZoom()),c=this.options.maxClusterRadius,h=c;typeof c!="function"&&(h=function(){return c}),this.options.disableClusteringAtZoom!==null&&(o=this.options.disableClusteringAtZoom-1),this._maxZoom=o,this._gridClusters={},this._gridUnclustered={};for(var v=o;v>=s;v--)this._gridClusters[v]=new L.DistanceGrid(h(v)),this._gridUnclustered[v]=new L.DistanceGrid(h(v));this._topClusterLevel=new this._markerCluster(this,s-1)},_addLayer:function(o,s){var c=this._gridClusters,h=this._gridUnclustered,v=Math.floor(this._map.getMinZoom()),p,g;for(this.options.singleMarkerMode&&this._overrideMarkerIcon(o),o.on(this._childMarkerEventHandlers,this);s>=v;s--){p=this._map.project(o.getLatLng(),s);var y=c[s].getNearObject(p);if(y){y._addChild(o),o.__parent=y;return}if(y=h[s].getNearObject(p),y){var O=y.__parent;O&&this._removeLayer(y,!1);var _=new this._markerCluster(this,s,y,o);c[s].addObject(_,this._map.project(_._cLatLng,s)),y.__parent=_,o.__parent=_;var B=_;for(g=s-1;g>O._zoom;g--)B=new this._markerCluster(this,g,B),c[g].addObject(B,this._map.project(y.getLatLng(),g));O._addChild(B),this._removeFromGridUnclustered(y,s);return}h[s].addObject(o,p)}this._topClusterLevel._addChild(o),o.__parent=this._topClusterLevel},_refreshClustersIcons:function(){this._featureGroup.eachLayer(function(o){o instanceof L.MarkerCluster&&o._iconNeedsUpdate&&o._updateIcon()})},_enqueue:function(o){this._queue.push(o),this._queueTimeout||(this._queueTimeout=setTimeout(L.bind(this._processQueue,this),300))},_processQueue:function(){for(var o=0;oo?(this._animationStart(),this._animationZoomOut(this._zoom,o)):this._moveEnd()},_getExpandedVisibleBounds:function(){if(this.options.removeOutsideVisibleBounds){if(L.Browser.mobile)return this._checkBoundsMaxLat(this._map.getBounds())}else return this._mapBoundsInfinite;return this._checkBoundsMaxLat(this._map.getBounds().pad(1))},_checkBoundsMaxLat:function(o){var s=this._maxLat;return s!==void 0&&(o.getNorth()>=s&&(o._northEast.lat=1/0),o.getSouth()<=-s&&(o._southWest.lat=-1/0)),o},_animationAddLayerNonAnimated:function(o,s){if(s===o)this._featureGroup.addLayer(o);else if(s._childCount===2){s._addToMap();var c=s.getAllChildMarkers();this._featureGroup.removeLayer(c[0]),this._featureGroup.removeLayer(c[1])}else s._updateIcon()},_extractNonGroupLayers:function(o,s){var c=o.getLayers(),h=0,v;for(s=s||[];h=0;p--)_=O[p],c.contains(_._latlng)||h.removeLayer(_)}),this._forceLayout(),this._topClusterLevel._recursivelyBecomeVisible(c,s),h.eachLayer(function(g){!(g instanceof L.MarkerCluster)&&g._icon&&g.clusterShow()}),this._topClusterLevel._recursively(c,o,s,function(g){g._recursivelyRestoreChildPositions(s)}),this._ignoreMove=!1,this._enqueue(function(){this._topClusterLevel._recursively(c,o,v,function(g){h.removeLayer(g),g.clusterShow()}),this._animationEnd()})},_animationZoomOut:function(o,s){this._animationZoomOutSingle(this._topClusterLevel,o-1,s),this._topClusterLevel._recursivelyAddChildrenToMap(null,s,this._getExpandedVisibleBounds()),this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),o,this._getExpandedVisibleBounds())},_animationAddLayer:function(o,s){var c=this,h=this._featureGroup;h.addLayer(o),s!==o&&(s._childCount>2?(s._updateIcon(),this._forceLayout(),this._animationStart(),o._setPos(this._map.latLngToLayerPoint(s.getLatLng())),o.clusterHide(),this._enqueue(function(){h.removeLayer(o),o.clusterShow(),c._animationEnd()})):(this._forceLayout(),c._animationStart(),c._animationZoomOutSingle(s,this._map.getMaxZoom(),this._zoom)))}},_animationZoomOutSingle:function(o,s,c){var h=this._getExpandedVisibleBounds(),v=Math.floor(this._map.getMinZoom());o._recursivelyAnimateChildrenInAndAddSelfToMap(h,v,s+1,c);var p=this;this._forceLayout(),o._recursivelyBecomeVisible(h,c),this._enqueue(function(){if(o._childCount===1){var g=o._markers[0];this._ignoreMove=!0,g.setLatLng(g.getLatLng()),this._ignoreMove=!1,g.clusterShow&&g.clusterShow()}else o._recursively(h,c,v,function(y){y._recursivelyRemoveChildrenFromMap(h,v,s+1)});p._animationEnd()})},_animationEnd:function(){this._map&&(this._map._mapPane.className=this._map._mapPane.className.replace(" leaflet-cluster-anim","")),this._inZoomAnimation--,this.fire("animationend")},_forceLayout:function(){L.Util.falseFn(document.body.offsetWidth)}}),L.markerClusterGroup=function(o){return new L.MarkerClusterGroup(o)};var i=L.MarkerCluster=L.Marker.extend({options:L.Icon.prototype.options,initialize:function(o,s,c,h){L.Marker.prototype.initialize.call(this,c?c._cLatLng||c.getLatLng():new L.LatLng(0,0),{icon:this,pane:o.options.clusterPane}),this._group=o,this._zoom=s,this._markers=[],this._childClusters=[],this._childCount=0,this._iconNeedsUpdate=!0,this._boundsNeedUpdate=!0,this._bounds=new L.LatLngBounds,c&&this._addChild(c),h&&this._addChild(h)},getAllChildMarkers:function(o,s){o=o||[];for(var c=this._childClusters.length-1;c>=0;c--)this._childClusters[c].getAllChildMarkers(o,s);for(var h=this._markers.length-1;h>=0;h--)s&&this._markers[h].__dragStart||o.push(this._markers[h]);return o},getChildCount:function(){return this._childCount},zoomToBounds:function(o){for(var s=this._childClusters.slice(),c=this._group._map,h=c.getBoundsZoom(this._bounds),v=this._zoom+1,p=c.getZoom(),g;s.length>0&&h>v;){v++;var y=[];for(g=0;gv?this._group._map.setView(this._latlng,v):h<=p?this._group._map.setView(this._latlng,p+1):this._group._map.fitBounds(this._bounds,o)},getBounds:function(){var o=new L.LatLngBounds;return o.extend(this._bounds),o},_updateIcon:function(){this._iconNeedsUpdate=!0,this._icon&&this.setIcon(this)},createIcon:function(){return this._iconNeedsUpdate&&(this._iconObj=this._group.options.iconCreateFunction(this),this._iconNeedsUpdate=!1),this._iconObj.createIcon()},createShadow:function(){return this._iconObj.createShadow()},_addChild:function(o,s){this._iconNeedsUpdate=!0,this._boundsNeedUpdate=!0,this._setClusterCenter(o),o instanceof L.MarkerCluster?(s||(this._childClusters.push(o),o.__parent=this),this._childCount+=o._childCount):(s||this._markers.push(o),this._childCount++),this.__parent&&this.__parent._addChild(o,!0)},_setClusterCenter:function(o){this._cLatLng||(this._cLatLng=o._cLatLng||o._latlng)},_resetBounds:function(){var o=this._bounds;o._southWest&&(o._southWest.lat=1/0,o._southWest.lng=1/0),o._northEast&&(o._northEast.lat=-1/0,o._northEast.lng=-1/0)},_recalculateBounds:function(){var o=this._markers,s=this._childClusters,c=0,h=0,v=this._childCount,p,g,y,O;if(v!==0){for(this._resetBounds(),p=0;p=0;p--)g=v[p],g._icon&&(g._setPos(s),g.clusterHide())},function(h){var v=h._childClusters,p,g;for(p=v.length-1;p>=0;p--)g=v[p],g._icon&&(g._setPos(s),g.clusterHide())})},_recursivelyAnimateChildrenInAndAddSelfToMap:function(o,s,c,h){this._recursively(o,h,s,function(v){v._recursivelyAnimateChildrenIn(o,v._group._map.latLngToLayerPoint(v.getLatLng()).round(),c),v._isSingleParent()&&c-1===h?(v.clusterShow(),v._recursivelyRemoveChildrenFromMap(o,s,c)):v.clusterHide(),v._addToMap()})},_recursivelyBecomeVisible:function(o,s){this._recursively(o,this._group._map.getMinZoom(),s,null,function(c){c.clusterShow()})},_recursivelyAddChildrenToMap:function(o,s,c){this._recursively(c,this._group._map.getMinZoom()-1,s,function(h){if(s!==h._zoom)for(var v=h._markers.length-1;v>=0;v--){var p=h._markers[v];c.contains(p._latlng)&&(o&&(p._backupLatlng=p.getLatLng(),p.setLatLng(o),p.clusterHide&&p.clusterHide()),h._group._featureGroup.addLayer(p))}},function(h){h._addToMap(o)})},_recursivelyRestoreChildPositions:function(o){for(var s=this._markers.length-1;s>=0;s--){var c=this._markers[s];c._backupLatlng&&(c.setLatLng(c._backupLatlng),delete c._backupLatlng)}if(o-1===this._zoom)for(var h=this._childClusters.length-1;h>=0;h--)this._childClusters[h]._restorePosition();else for(var v=this._childClusters.length-1;v>=0;v--)this._childClusters[v]._recursivelyRestoreChildPositions(o)},_restorePosition:function(){this._backupLatlng&&(this.setLatLng(this._backupLatlng),delete this._backupLatlng)},_recursivelyRemoveChildrenFromMap:function(o,s,c,h){var v,p;this._recursively(o,s-1,c-1,function(g){for(p=g._markers.length-1;p>=0;p--)v=g._markers[p],(!h||!h.contains(v._latlng))&&(g._group._featureGroup.removeLayer(v),v.clusterShow&&v.clusterShow())},function(g){for(p=g._childClusters.length-1;p>=0;p--)v=g._childClusters[p],(!h||!h.contains(v._latlng))&&(g._group._featureGroup.removeLayer(v),v.clusterShow&&v.clusterShow())})},_recursively:function(o,s,c,h,v){var p=this._childClusters,g=this._zoom,y,O;if(s<=g&&(h&&h(this),v&&g===c&&v(this)),g=0;y--)O=p[y],O._boundsNeedUpdate&&O._recalculateBounds(),o.intersects(O._bounds)&&O._recursively(o,s,c,h,v)},_isSingleParent:function(){return this._childClusters.length>0&&this._childClusters[0]._childCount===this._childCount}});L.Marker.include({clusterHide:function(){var o=this.options.opacity;return this.setOpacity(0),this.options.opacity=o,this},clusterShow:function(){return this.setOpacity(this.options.opacity)}}),L.DistanceGrid=function(o){this._cellSize=o,this._sqCellSize=o*o,this._grid={},this._objectPoint={}},L.DistanceGrid.prototype={addObject:function(o,s){var c=this._getCoord(s.x),h=this._getCoord(s.y),v=this._grid,p=v[h]=v[h]||{},g=p[c]=p[c]||[],y=L.Util.stamp(o);this._objectPoint[y]=s,g.push(o)},updateObject:function(o,s){this.removeObject(o),this.addObject(o,s)},removeObject:function(o,s){var c=this._getCoord(s.x),h=this._getCoord(s.y),v=this._grid,p=v[h]=v[h]||{},g=p[c]=p[c]||[],y,O;for(delete this._objectPoint[L.Util.stamp(o)],y=0,O=g.length;y=0;p--){if(g=s[p],y=this.getDistant(g,o),y>0)v.push(g);else continue;y>c&&(c=y,h=g)}return{maxPoint:h,newPoints:v}},buildConvexHull:function(o,s){var c=[],h=this.findMostDistantPointFromBaseLine(o,s);return h.maxPoint?(c=c.concat(this.buildConvexHull([o[0],h.maxPoint],h.newPoints)),c=c.concat(this.buildConvexHull([h.maxPoint,o[1]],h.newPoints)),c):[o[0]]},getConvexHull:function(o){var s=!1,c=!1,h=!1,v=!1,p=null,g=null,y=null,O=null,_=null,B=null,I;for(I=o.length-1;I>=0;I--){var V=o[I];(s===!1||V.lat>s)&&(p=V,s=V.lat),(c===!1||V.lath)&&(y=V,h=V.lng),(v===!1||V.lng=0;h--)c=o[h].getLatLng(),s.push(c);return L.QuickHull.getConvexHull(s)}}),L.MarkerCluster.include({_2PI:Math.PI*2,_circleFootSeparation:25,_circleStartAngle:0,_spiralFootSeparation:28,_spiralLengthStart:11,_spiralLengthFactor:5,_circleSpiralSwitchover:9,spiderfy:function(){if(!(this._group._spiderfied===this||this._group._inZoomAnimation)){var o=this.getAllChildMarkers(null,!0),s=this._group,c=s._map,h=c.latLngToLayerPoint(this._latlng),v;this._group._unspiderfy(),this._group._spiderfied=this,this._group.options.spiderfyShapePositions?v=this._group.options.spiderfyShapePositions(o.length,h):o.length>=this._circleSpiralSwitchover?v=this._generatePointsSpiral(o.length,h):(h.y+=10,v=this._generatePointsCircle(o.length,h)),this._animationSpiderfy(o,v)}},unspiderfy:function(o){this._group._inZoomAnimation||(this._animationUnspiderfy(o),this._group._spiderfied=null)},_generatePointsCircle:function(o,s){var c=this._group.options.spiderfyDistanceMultiplier*this._circleFootSeparation*(2+o),h=c/this._2PI,v=this._2PI/o,p=[],g,y;for(h=Math.max(h,35),p.length=o,g=0;g=0;O--)O=0;p--)v=h[p],c.removeLayer(v),v._preSpiderfyLatlng&&(v.setLatLng(v._preSpiderfyLatlng),delete v._preSpiderfyLatlng),v.setZIndexOffset&&v.setZIndexOffset(0),v._spiderLeg&&(s.removeLayer(v._spiderLeg),delete v._spiderLeg);o.fire("unspiderfied",{cluster:this,markers:h}),o._ignoreMove=!1,o._spiderfied=null}}),L.MarkerClusterNonAnimated=L.MarkerCluster.extend({_animationSpiderfy:function(o,s){var c=this._group,h=c._map,v=c._featureGroup,p=this._group.options.spiderLegPolylineOptions,g,y,O,_;for(c._ignoreMove=!0,g=0;g=0;I--)k=v.layerPointToLatLng(s[I]),V=o[I],V._preSpiderfyLatlng=V._latlng,V.setLatLng(k),V.clusterShow&&V.clusterShow(),O&&(D=V._spiderLeg,x=D._path,x.style.strokeDashoffset=0,D.setStyle({opacity:B}));this.setOpacity(.3),h._ignoreMove=!1,setTimeout(function(){h._animationEnd(),h.fire("spiderfied",{cluster:c,markers:o})},200)},_animationUnspiderfy:function(o){var s=this,c=this._group,h=c._map,v=c._featureGroup,p=o?h._latLngToNewLayerPoint(this._latlng,o.zoom,o.center):h.latLngToLayerPoint(this._latlng),g=this.getAllChildMarkers(null,!0),y=L.Path.SVG,O,_,B,I,V,D;for(c._ignoreMove=!0,c._animationStart(),this.setOpacity(1),_=g.length-1;_>=0;_--)O=g[_],O._preSpiderfyLatlng&&(O.closePopup(),O.setLatLng(O._preSpiderfyLatlng),delete O._preSpiderfyLatlng,D=!0,O._setPos&&(O._setPos(p),D=!1),O.clusterHide&&(O.clusterHide(),D=!1),D&&v.removeLayer(O),y&&(B=O._spiderLeg,I=B._path,V=I.getTotalLength()+.1,I.style.strokeDashoffset=V,B.setStyle({opacity:0})));c._ignoreMove=!1,setTimeout(function(){var x=0;for(_=g.length-1;_>=0;_--)O=g[_],O._spiderLeg&&x++;for(_=g.length-1;_>=0;_--)O=g[_],O._spiderLeg&&(O.clusterShow&&O.clusterShow(),O.setZIndexOffset&&O.setZIndexOffset(0),x>1&&v.removeLayer(O),h.removeLayer(O._spiderLeg),delete O._spiderLeg);c._animationEnd(),c.fire("unspiderfied",{cluster:s,markers:g})},200)}}),L.MarkerClusterGroup.include({_spiderfied:null,unspiderfy:function(){this._unspiderfy.apply(this,arguments)},_spiderfierOnAdd:function(){this._map.on("click",this._unspiderfyWrapper,this),this._map.options.zoomAnimation&&this._map.on("zoomstart",this._unspiderfyZoomStart,this),this._map.on("zoomend",this._noanimationUnspiderfy,this),L.Browser.touch||this._map.getRenderer(this)},_spiderfierOnRemove:function(){this._map.off("click",this._unspiderfyWrapper,this),this._map.off("zoomstart",this._unspiderfyZoomStart,this),this._map.off("zoomanim",this._unspiderfyZoomAnim,this),this._map.off("zoomend",this._noanimationUnspiderfy,this),this._noanimationUnspiderfy()},_unspiderfyZoomStart:function(){this._map&&this._map.on("zoomanim",this._unspiderfyZoomAnim,this)},_unspiderfyZoomAnim:function(o){L.DomUtil.hasClass(this._map._mapPane,"leaflet-touching")||(this._map.off("zoomanim",this._unspiderfyZoomAnim,this),this._unspiderfy(o))},_unspiderfyWrapper:function(){this._unspiderfy()},_unspiderfy:function(o){this._spiderfied&&this._spiderfied.unspiderfy(o)},_noanimationUnspiderfy:function(){this._spiderfied&&this._spiderfied._noanimationUnspiderfy()},_unspiderfyLayer:function(o){o._spiderLeg&&(this._featureGroup.removeLayer(o),o.clusterShow&&o.clusterShow(),o.setZIndexOffset&&o.setZIndexOffset(0),this._map.removeLayer(o._spiderLeg),delete o._spiderLeg)}}),L.MarkerClusterGroup.include({refreshClusters:function(o){return o?o instanceof L.MarkerClusterGroup?o=o._topClusterLevel.getAllChildMarkers():o instanceof L.LayerGroup?o=o._layers:o instanceof L.MarkerCluster?o=o.getAllChildMarkers():o instanceof L.Marker&&(o=[o]):o=this._topClusterLevel.getAllChildMarkers(),this._flagParentsIconsNeedUpdate(o),this._refreshClustersIcons(),this.options.singleMarkerMode&&this._refreshSingleMarkerModeMarkers(o),this},_flagParentsIconsNeedUpdate:function(o){var s,c;for(s in o)for(c=o[s].__parent;c;)c._iconNeedsUpdate=!0,c=c.__parent},_refreshSingleMarkerModeMarkers:function(o){var s,c;for(s in o)c=o[s],this.hasLayer(c)&&c.setIcon(this._overrideMarkerIcon(c))}}),L.Marker.include({refreshIconOptions:function(o,s){var c=this.options.icon;return L.setOptions(c,o),this.setIcon(c),s&&this.__parent&&this.__parent._group.refreshClusters(this),this}}),a.MarkerClusterGroup=n,a.MarkerCluster=i,Object.defineProperty(a,"__esModule",{value:!0})})}(FV,ci)),ci}const V3=VC(VV);(function(e,t){(function(a,n){e.exports=n(W,T3(),V3)})(Ju,function(a,n,i){return function(o){function s(h){if(c[h])return c[h].exports;var v=c[h]={i:h,l:!1,exports:{}};return o[h].call(v.exports,v,v.exports,s),v.l=!0,v.exports}var c={};return s.m=o,s.c=c,s.i=function(h){return h},s.d=function(h,v,p){s.o(h,v)||Object.defineProperty(h,v,{configurable:!1,enumerable:!0,get:p})},s.n=function(h){var v=h&&h.__esModule?function(){return h.default}:function(){return h};return s.d(v,"a",v),v},s.o=function(h,v){return Object.prototype.hasOwnProperty.call(h,v)},s.p="/",s(s.s=7)}([function(o,s,c){var h=c(2)(c(1),c(3),null,null);o.exports=h.exports},function(o,s,c){Object.defineProperty(s,"__esModule",{value:!0});var h=c(5),v=c(6),p=c(4),g={options:{type:Object,default:function(){return{}}}};s.default={props:g,data:function(){return{ready:!1}},mounted:function(){var y=this;this.mapObject=new h.MarkerClusterGroup(this.options),p.DomEvent.on(this.mapObject,this.$listeners),(0,v.propsBinder)(this,this.mapObject,g),this.ready=!0,this.parentContainer=(0,v.findRealParent)(this.$parent),this.parentContainer.addLayer(this),this.$nextTick(function(){y.$emit("ready",y.mapObject)})},beforeDestroy:function(){this.parentContainer.removeLayer(this)},methods:{addLayer:function(y,O){O||this.mapObject.addLayer(y.mapObject)},removeLayer:function(y,O){O||this.mapObject.removeLayer(y.mapObject)}}}},function(o,s){o.exports=function(c,h,v,p){var g,y=c=c||{},O=typeof c.default;O!=="object"&&O!=="function"||(g=c,y=c.default);var _=typeof y=="function"?y.options:y;if(h&&(_.render=h.render,_.staticRenderFns=h.staticRenderFns),v&&(_._scopeId=v),p){var B=_.computed||(_.computed={});Object.keys(p).forEach(function(I){var V=p[I];B[I]=function(){return V}})}return{esModule:g,exports:y,options:_}}},function(o,s){o.exports={render:function(){var c=this,h=c.$createElement;return(c._self._c||h)("div",{staticStyle:{display:"none"}},[c.ready?c._t("default"):c._e()],2)},staticRenderFns:[]}},function(o,s){o.exports=W},function(o,s){o.exports=T3()},function(o,s){o.exports=V3},function(o,s,c){o.exports=c(0)}])})})(HV);const EV=TC(Cc),kv="/view-geojson/assets/logo-f3a1ab6d.svg";function $V(e,t,a,n,i,o,s,c){var h=typeof e=="function"?e.options:e;t&&(h.render=t,h.staticRenderFns=a,h._compiled=!0),n&&(h.functional=!0),o&&(h._scopeId="data-v-"+o);var v;if(s?(v=function(y){y=y||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!y&&typeof __VUE_SSR_CONTEXT__<"u"&&(y=__VUE_SSR_CONTEXT__),i&&i.call(this,y),y&&y._registeredComponents&&y._registeredComponents.add(s)},h._ssrRegister=v):i&&(v=c?function(){i.call(this,(h.functional?this.parent:this).$root.$options.shadowRoot)}:i),v)if(h.functional){h._injectStyles=v;var p=h.render;h.render=function(O,_){return v.call(_),p(O,_)}}else{var g=h.beforeCreate;h.beforeCreate=g?[].concat(g,v):[v]}return{exports:e,options:h}}const DV={components:{LMap:ah,LTileLayer:oh,LControlLayers:th,LControl:Qu,LControlZoom:eh,LMarker:nh,LPopup:ih,LIcon:Rv,LCircle:Dv,LCircleMarker:xv,LPolyline:rh,"v-marker-cluster":EV},data(){return{logo:kv,bounds:W.latLngBounds([[90,180],[-90,-180]]),tileProviders:[{name:"Mapbox.Streets",visible:!1,url:"https://api.mapbox.com/styles/v1/mapbox/streets-v9/tiles/{z}/{x}/{y}?access_token=pk.eyJ1IjoicmFmbnVzcyIsImEiOiIzMVE1dnc0In0.3FNMKIlQ_afYktqki-6m0g",attribution:""},{name:"Mapbox.Satellite",visible:!0,url:"https://api.mapbox.com/styles/v1/mapbox/satellite-streets-v9/tiles/{z}/{x}/{y}?access_token=pk.eyJ1IjoicmFmbnVzcyIsImEiOiIzMVE1dnc0In0.3FNMKIlQ_afYktqki-6m0g",attribution:""},{name:"OpenStreetMap",visible:!1,attribution:'© OpenStreetMap contributors',url:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}],sightings_species:[],sightings:[],path:null,filter_text:"",hover_s:!1}},methods:{unloadOld(e){this.sightings=e.features.filter(t=>t.geometry.type=="Point").map(t=>{let a=t.properties;return console.log(a),{location_name:a.place,lat:t.geometry.coordinates[0],lon:t.geometry.coordinates[1],date:a.date?a.date.split(" ")[0]:"",time:a.date?a.date.split(" ")[1]:"",common_name:a.specie,scientific_name:a.latin,count:parseInt(a.count),count_precision:"",comment:a.description}}),this.sightings_species=this.sightings.reduce((t,a)=>{const n=a.common_name;return t[n]=(t[n]||[]).concat(a),t},{}),this.path=e.features.filter(t=>t.geometry.type=="LineString")[0].geometry.coordinates.map(t=>[t[1],t[0]]),setTimeout(()=>{this.$refs.map.mapObject.fitBounds(this.sightings.map(t=>[t.lon,t.lat]))},500)},iconCreateFunction:function(e){var t=e.getAllChildMarkers().reduce((n,i)=>n+i.options.count,0),a=" marker-cluster-";return t<10?a+="small":t<100?a+="medium":a+="large",new L.DivIcon({html:"
"+t+"
",className:"marker-cluster"+a,iconSize:new L.Point(40,40)})},getIcon(e){return L.divIcon({className:"my-custom-icon",popupAnchor:[0,-34],iconAnchor:[12.5,34],iconSize:[25,34],html:` ${e.count}`})}},computed:{sightings_species_filters_map(){return Object.keys(this.sightings_species_filters).reduce((e,t)=>[...e,...this.sightings_species_filters[t]],[])},sightings_species_filters(){return Object.keys(this.sightings_species).filter(e=>{const t=this.sightings_species[e][0];return t.common_name.toLowerCase().includes(this.filter_text.toLowerCase())||t.scientific_name.toLowerCase().includes(this.filter_text.toLowerCase())}).reduce((e,t)=>Object.assign(e,{[t]:this.sightings_species[t]}),{})}},mounted(){const e=decodeURIComponent(window.location.href.split("?")[1]);console.log(e),e&&fetch(e).then(t=>t.json()).then(t=>{t.type&&t.type=="FeatureCollection"&&this.unloadOld(t)})},created(){},watch:{}},xV=Object.assign(DV,{__name:"App",setup(e){return{__sfc:!0,LMap:ah,LTileLayer:oh,LControlLayers:th,LControl:Qu,LControlZoom:eh,LMarker:nh,LPopup:ih,LPolyline:rh,logo:kv}}});var RV=function(){var t=this,a=t._self._c,n=t._self._setupProxy;return a("b-container",{staticClass:"h-100 d-flex flex-column",attrs:{fluid:""}},[a("b-row",{staticClass:"flex-grow-1"},[a(n.LMap,{ref:"map",attrs:{bounds:t.bounds,options:{zoomControl:!1,preferCanvas:!0}}},[a(n.LControlLayers,{attrs:{position:"topright"}}),a(n.LControl,{attrs:{position:"topleft"}},[a("b-button",{directives:[{name:"b-toggle",rawName:"v-b-toggle.sidebar-1",modifiers:{"sidebar-1":!0}}]},[a("b-icon-layout-sidebar-inset")],1)],1),t._l(t.tileProviders,function(i){return a(n.LTileLayer,{key:i.name,attrs:{name:i.name,visible:i.visible,url:i.url,attribution:i.attribution,"layer-type":"base"}})}),a(n.LControlZoom,{attrs:{position:"bottomright"}}),t.path&&t.path.length>0?a(n.LPolyline,{attrs:{"lat-lngs":t.path,color:"#ad8533",weight:5,opacity:1}}):t._e(),a("v-marker-cluster",{attrs:{options:{showCoverageOnHover:!1,maxClusterRadius:50,iconCreateFunction:t.iconCreateFunction}}},t._l(t.hover_s?t.hover_s:t.sightings_species_filters_map,function(i){return a(n.LMarker,{key:i.time+i.common_name+i.comment,ref:"markers",refInFor:!0,attrs:{options:{count:i.count},"lat-lng":[i.lon,i.lat],icon:t.getIcon(i)}},[a(n.LPopup,{attrs:{options:{width:600}}},[a("p",{domProps:{innerHTML:t._s(i.comment)}})])],1)}),1)],2),a("b-sidebar",{attrs:{id:"sidebar-1",title:"View Geojson",visible:"",shadow:""},scopedSlots:t._u([{key:"footer",fn:function(){return[a("div",{staticClass:"d-flex bg-dark text-light align-items-center px-3 py-2 w-100 justify-content-between"},[a("a",{attrs:{href:"https://github.com/Zoziologie/view-geojson/",target:"_blank",title:"github"}},[a("b-icon-github",{staticStyle:{color:"white"}})],1),a("a",{attrs:{href:"https://zoziologie.raphaelnussbaumer.com/",target:"_blank",title:"zoziologie.com"}},[a("b-img",{staticClass:"zozio",staticStyle:{height:"1rem"},attrs:{src:n.logo}})],1)])]},proxy:!0}])},[a("div",{staticClass:"px-3 py-2"},[a("b-form-input",{attrs:{placeholder:"Filter species name..."},model:{value:t.filter_text,callback:function(i){t.filter_text=i},expression:"filter_text"}}),a("b-card-group",{staticClass:"mt-2",attrs:{deck:""}},[a("b-card",{attrs:{header:"Sightings","no-body":""}},[a("b-list-group",{attrs:{flush:""}},t._l(t.sightings_species_filters,function(i){return a("b-list-group-item",{key:i[0].common_name,staticClass:"d-flex justify-content-between align-items-center py-2 px-2",attrs:{href:"#"},on:{mouseover:function(o){t.hover_s=i},mouseout:function(o){t.hover_s=!1}}},[t._v(" "+t._s(i[0].common_name)+" "),a("b-badge",{attrs:{variant:"primary",pill:""}},[t._v(t._s(i.length))])],1)}),1)],1)],1)],1)])],1)],1)},kV=[],NV=$V(xV,RV,kV,!1,null,null,null,null);const jV=NV.exports;var Nv=function(){return(Nv=Object.assign||function(e){for(var t,a=1,n=arguments.length;a=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function qV(e,t){if(e==null)return{};var a={},n=Object.keys(e),i,o;for(o=0;o=0)&&(a[i]=e[i]);return a}function E5(e){return E5=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},E5(e)}var E1="_uid",Ke=Ot.version.startsWith("3"),sh=Ke?"ref_for":"refInFor",KV=["class","staticClass","style","attrs","props","domProps","on","nativeOn","directives","scopedSlots","slot","key","ref","refInFor"],w=Ot.extend.bind(Ot);if(Ke){var XV=Ot.extend,YV=["router-link","transition","transition-group"],JV=Ot.vModelDynamic.created,QV=Ot.vModelDynamic.beforeUpdate;Ot.vModelDynamic.created=function(e,t,a){JV.call(this,e,t,a),e._assign||(e._assign=function(){})},Ot.vModelDynamic.beforeUpdate=function(e,t,a){QV.call(this,e,t,a),e._assign||(e._assign=function(){})},w=function(t){if(E5(t)==="object"&&t.render&&!t.__alreadyPatched){var a=t.render;t.__alreadyPatched=!0,t.render=function(n){var i=function(y,O,_){var B=_===void 0?[]:[Array.isArray(_)?_.filter(Boolean):_],I=typeof y=="string"&&!YV.includes(y),V=O&&E5(O)==="object"&&!Array.isArray(O);if(!V)return n.apply(void 0,[y,O].concat(B));var D=O.attrs,x=O.props,j=ZV(O,["attrs","props"]),k=Sr(Sr({},j),{},{attrs:D,props:I?{}:x});return y==="router-link"&&!k.slots&&!k.scopedSlots&&(k.scopedSlots={$hasNormal:function(){}}),n.apply(void 0,[y,k].concat(B))};if(t.functional){var o,s,c=arguments[1],h=Sr({},c);h.data={attrs:Sr({},c.data.attrs||{}),props:Sr({},c.data.props||{})},Object.keys(c.data||{}).forEach(function(g){KV.includes(g)?h.data[g]=c.data[g]:g in c.props?h.data.props[g]=c.data[g]:g.startsWith("on")||(h.data.attrs[g]=c.data[g])});var v=["_ctx"],p=((o=c.children)===null||o===void 0||(s=o.default)===null||s===void 0?void 0:s.call(o))||c.children;return p&&Object.keys(h.children).filter(function(g){return!v.includes(g)}).length===0?delete h.children:h.children=p,h.data.on=c.listeners,a.call(this,i,h)}return a.call(this,i)}}return XV.call(this,t)}.bind(Ot)}var lh=Ot.nextTick,cr=typeof window<"u",jv=typeof document<"u",Uv=typeof navigator<"u",Gv=typeof Promise<"u",tH=typeof MutationObserver<"u"||typeof WebKitMutationObserver<"u"||typeof MozMutationObserver<"u",Gt=cr&&jv&&Uv,se=cr?window:{},ur=jv?document:{},Wv=Uv?navigator:{},eH=(Wv.userAgent||"").toLowerCase(),aH=eH.indexOf("jsdom")>0,nH=function(){var e=!1;if(Gt)try{var t={get passive(){e=!0}};se.addEventListener("test",t,t),se.removeEventListener("test",t,t)}catch{e=!1}return e}(),$5=Gt&&("ontouchstart"in ur.documentElement||Wv.maxTouchPoints>0),wr=Gt&&Boolean(se.PointerEvent||se.MSPointerEvent),F3=Gt&&"IntersectionObserver"in se&&"IntersectionObserverEntry"in se&&"intersectionRatio"in se.IntersectionObserverEntry.prototype,rH="BvConfig",Fn="$bvConfig",iH=["xs","sm","md","lg","xl"],oH=/\[(\d+)]/g,sH=/^(BV?)/,Zv=/^\d+$/,lH=/^\..+/,cH=/^#/,uH=/^#[A-Za-z]+[\w\-:.]*$/,hH=/(<([^>]+)>)/gi,dH=/\B([A-Z])/g,fH=/([a-z])([A-Z])/g,pH=/^[0-9]*\.?[0-9]+$/,vH=/\+/g,mH=/[-/\\^$*+?.()|[\]{}]/g,qv=/[\s\uFEFF\xA0]+/g,Qo=/\s+/,gH=/\/\*$/,_H=/(\s|^)(\w)/g,bH=/^\s+/,yH=/_/g,zH=/-(\w)/g,OH=/^\d+-\d\d?-\d\d?(?:\s|T|$)/,MH=/-|\s|T/,BH=/^([0-1]?[0-9]|2[0-3]):[0-5]?[0-9](:[0-5]?[0-9])?$/,E3=/^.*(#[^#]+)$/,CH=/%2C/g,AH=/[!'()*]/g,LH=/^(\?|#|&)/,IH=/^\d+(\.\d*)?[/:]\d+(\.\d*)?$/,SH=/[/:]/,wH=/^col-/,PH=/^BIcon/,TH=/-u-.+/;function Ac(e){return Ac=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ac(e)}function Os(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ms(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");Object.defineProperty(e,"prototype",{value:Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),writable:!1}),t&&Ci(e,t)}function Bs(e){var t=Kv();return function(){var n=Ai(e),i;if(t){var o=Ai(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return VH(this,i)}}function VH(e,t){if(t&&(Ac(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return HH(e)}function HH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D5(e){var t=typeof Map=="function"?new Map:void 0;return D5=function(n){if(n===null||!FH(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(n))return t.get(n);t.set(n,i)}function i(){return t5(n,arguments,Ai(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Ci(i,n)},D5(e)}function t5(e,t,a){return Kv()?t5=Reflect.construct:t5=function(i,o,s){var c=[null];c.push.apply(c,o);var h=Function.bind.apply(i,c),v=new h;return s&&Ci(v,s.prototype),v},t5.apply(null,arguments)}function Kv(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function FH(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Ci(e,t){return Ci=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Ci(e,t)}function Ai(e){return Ai=Object.setPrototypeOf?Object.getPrototypeOf:function(a){return a.__proto__||Object.getPrototypeOf(a)},Ai(e)}var ch=cr?se.Element:function(e){Ms(a,e);var t=Bs(a);function a(){return Os(this,a),t.apply(this,arguments)}return a}(D5(Object)),oa=cr?se.HTMLElement:function(e){Ms(a,e);var t=Bs(a);function a(){return Os(this,a),t.apply(this,arguments)}return a}(ch),Xv=cr?se.SVGElement:function(e){Ms(a,e);var t=Bs(a);function a(){return Os(this,a),t.apply(this,arguments)}return a}(ch),Yv=cr?se.File:function(e){Ms(a,e);var t=Bs(a);function a(){return Os(this,a),t.apply(this,arguments)}return a}(D5(Object));function x5(e){return x5=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},x5(e)}var Cs=function(t){return x5(t)},EH=function(t){return Object.prototype.toString.call(t).slice(8,-1)},he=function(t){return t===void 0},Kt=function(t){return t===null},Nt=function(t){return he(t)||Kt(t)},it=function(t){return Cs(t)==="function"},V0=function(t){return Cs(t)==="boolean"},Tt=function(t){return Cs(t)==="string"},U0=function(t){return Cs(t)==="number"},ui=function(t){return pH.test(String(t))},Rt=function(t){return Array.isArray(t)},ce=function(t){return t!==null&&x5(t)==="object"},De=function(t){return Object.prototype.toString.call(t)==="[object Object]"},qn=function(t){return t instanceof Date},tn=function(t){return t instanceof Event},$H=function(t){return t instanceof Yv},$3=function(t){return EH(t)==="RegExp"},DH=function(t){return!Nt(t)&&it(t.then)&&it(t.catch)};function D3(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),a.push.apply(a,n)}return a}function en(e){for(var t=1;te.length)&&(t=e.length);for(var a=0,n=new Array(t);a1&&arguments[1]!==void 0?arguments[1]:t;return Rt(t)?t.reduce(function(n,i){return[].concat(kH(n),[e(i,i)])},[]):De(t)?mt(t).reduce(function(n,i){return k3(k3({},n),{},Jv({},i,e(t[i],t[i])))},{}):a},ft=function(t){return t},Qv=function(t,a){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;if(a=Rt(a)?a.join("."):a,!a||!ce(t))return n;if(a in t)return t[a];a=String(a).replace(oH,".$1");var i=a.split(".").filter(ft);return i.length===0?n:i.every(function(o){return ce(t)&&o in t&&!Nt(t=t[o])})?t:Kt(t)?null:n},Ve=function(t,a){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,i=Qv(t,a);return Nt(i)?n:i},N3=function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=typeof process<"u"&&process?process.env||{}:{};return t?n[t]||a:n},WH=function(){return N3("BOOTSTRAP_VUE_NO_WARN")||N3("NODE_ENV")==="production"},Oe=function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;WH()||console.warn("[BootstrapVue warn]: ".concat(a?"".concat(a," - "):"").concat(t))},R5=function(t){return Gt?!1:(Oe("".concat(t,": Can not be called during SSR.")),!0)},j3=function(t){return Gv?!1:(Oe("".concat(t,": Requires Promise support.")),!0)},ZH=function(t){return tH?!1:(Oe("".concat(t,": Requires MutationObserver support.")),!0)};function qH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function U3(e,t){for(var a=0;a0&&arguments[0]!==void 0?arguments[0]:{};if(De(n)){var i=x3(n);i.forEach(function(o){var s=n[o];o==="breakpoints"?!Rt(s)||s.length<2||s.some(function(c){return!Tt(c)||c.length===0})?Oe('"breakpoints" must be an array of at least 2 breakpoint names',rH):a.$_config[o]=H0(s):De(s)&&(a.$_config[o]=x3(s).reduce(function(c,h){return he(s[h])||(c[h]=H0(s[h])),c},a.$_config[o]||{}))})}}},{key:"resetConfig",value:function(){this.$_config={}}},{key:"getConfig",value:function(){return H0(this.$_config)}},{key:"getConfigValue",value:function(a){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;return H0(Qv(this.$_config,a,n))}}]),e}(),YH=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ot;a.prototype[Fn]=Ot.prototype[Fn]=a.prototype[Fn]||Ot.prototype[Fn]||new XH,a.prototype[Fn].setConfig(t)};function G3(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),a.push.apply(a,n)}return a}function k5(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:{},a=t.components,n=t.directives,i=t.plugins,o=function s(c){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};s.installed||(s.installed=!0,tm(c),YH(h,c),rm(c,a),im(c,n),nm(c,i))};return o.installed=!1,o},QH=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=t.components,n=t.directives,i=t.plugins,o=function s(c){s.installed||(s.installed=!0,tm(c),rm(c,a),im(c,n),nm(c,i))};return o.installed=!1,o},et=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return k5(k5({},a),{},{install:em(t)})},am=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return k5(k5({},a),{},{install:QH(t)})},nm=function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var n in a)n&&a[n]&&t.use(a[n])},tF=function(t,a,n){t&&a&&n&&t.component(a,n)},rm=function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var n in a)tF(t,n,a[n])},eF=function(t,a,n){t&&a&&n&&t.directive(a.replace(/^VB/,"B"),n)},im=function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var n in a)eF(t,n,a[n])},om="BAlert",sm="BAspect",lm="BAvatar",cm="BAvatarGroup",um="BBadge",hm="BBreadcrumb",dm="BBreadcrumbItem",fm="BBreadcrumbLink",pm="BButton",vm="BButtonClose",mm="BButtonGroup",gm="BButtonToolbar",_m="BCalendar",hh="BCard",bm="BCardBody",ym="BCardFooter",zm="BCardGroup",Om="BCardHeader",Mm="BCardImg",Bm="BCardImgLazy",Cm="BCardSubTitle",Am="BCardText",Lm="BCardTitle",Im="BCarousel",Sm="BCarouselSlide",wm="BCol",He="BCollapse",Pm="BContainer",nn="BDropdown",Tm="BDropdownDivider",Vm="BDropdownForm",Hm="BDropdownGroup",Fm="BDropdownHeader",Em="BDropdownItem",$m="BDropdownItemButton",Dm="BDropdownText",xm="BEmbed",Rm="BForm",km="BFormCheckbox",Nm="BFormCheckboxGroup",jm="BFormDatalist",Um="BFormDatepicker",dh="BFormFile",Gm="BFormGroup",Wm="BFormInput",Zm="BFormInvalidFeedback",qm="BFormRadio",Km="BFormRadioGroup",Xm="BFormRating",Ym="BFormRow",Jm="BFormSelect",Qm="BFormSelectOption",t9="BFormSelectOptionGroup",e9="BFormSpinbutton",a9="BFormTag",n9="BFormTags",r9="BFormText",i9="BFormTextarea",o9="BFormTimepicker",s9="BFormValidFeedback",l9="BIcon",c9="BIconstack",aF="BIconBase",u9="BImg",h9="BImgLazy",d9="BInputGroup",f9="BInputGroupAddon",p9="BInputGroupAppend",v9="BInputGroupPrepend",m9="BInputGroupText",g9="BJumbotron",fh="BLink",_9="BListGroup",b9="BListGroupItem",y9="BMedia",z9="BMediaAside",O9="BMediaBody",Qe="BModal",nF="BMsgBox",M9="BNav",B9="BNavbar",C9="BNavbarBrand",A9="BNavbarNav",L9="BNavbarToggle",I9="BNavForm",S9="BNavItem",w9="BNavItemDropdown",rF="BNavText",P9="BOverlay",Ls="BPagination",Ic="BPaginationNav",xa="BPopover",T9="BProgress",V9="BProgressBar",H9="BRow",F9="BSidebar",E9="BSkeleton",$9="BSkeletonIcon",D9="BSkeletonImg",x9="BSkeletonTable",R9="BSkeletonWrapper",k9="BSpinner",N9="BTab",rn="BTable",j9="BTableCell",U9="BTableLite",G9="BTableSimple",W9="BTabs",Z9="BTbody",q9="BTfoot",K9="BTh",X9="BThead",Y9="BTime",H1="BToast",Zn="BToaster",Ra="BTooltip",J9="BTr",iF="BVCollapse",oF="BVFormBtnLabelControl",sF="BVFormRatingStar",lF="BVPopover",cF="BVPopoverTemplate",uF="BVPopper",hF="BVTabButton",dF="BVToastPop",fF="BVTooltip",pF="BVTooltipTemplate",vF="BVTransition",Q9="BVTransporter",mF="BVTransporterTarget",gF="activate-tab",tg="blur",_F="cancel",i0="change",bF="changed",D0="click",Sc="close",Kn="context",eg="context-changed",ph="destroyed",wc="disable",e5="disabled",yF="dismissed",zF="dismiss-count-down",Pc="enable",a5="enabled",Tc="filtered",ag="first",OF="focus",N5="focusin",j5="focusout",hi="head-clicked",ue="hidden",e0="hide",MF="img-error",ng="input",rg="last",ig="mouseenter",og="mouseleave",sg="next",BF="ok",W3="open",lg="page-click",CF="paused",cg="prev",AF="refresh",Kr="refreshed",LF="remove",U5="row-clicked",IF="row-contextmenu",SF="row-dblclicked",wF="row-hovered",PF="row-middle-clicked",TF="row-selected",VF="row-unhovered",ug="selected",Ie="show",Ge="shown",a2="sliding-end",HF="sliding-start",FF="sort-changed",EF="tag-state",hg="toggle",$F="unpaused",DF="update",dg=Ke?"vnodeBeforeUnmount":"hook:beforeDestroy",Li=Ke?"vNodeUnmounted":"hook:destroyed",ya="update:",fg="bv",pg="::",t0={passive:!0},Pt={passive:!0,capture:!1},Xn=void 0,We=Array,C=Boolean,xF=Date,qe=Function,Ee=Number,me=Object,RF=RegExp,z=String,vg=[We,qe],kF=[We,me],dt=[We,me,z],xe=[We,z],NF=[C,Ee],Ii=[C,Ee,z],Re=[C,z],Za=[xF,z],jF=[qe,z],J=[Ee,z],UF=[Ee,me,z],GF=[me,qe],mg=[me,z],WF="add-button-text",Z3="append",ZF="aside",q3="badge",K3="bottom-row",x1="button-content",X3="custom-foot",qF="decrement",ze="default",KF="description",XF="dismiss",YF="drop-placeholder",JF="ellipsis-text",gg="empty",QF="emptyfiltered",Y3="file-name",vh="first",tE="first-text",Vc="footer",fa="header",eE="header-close",aE="icon-clear",nE="icon-empty",rE="icon-full",iE="icon-half",oE="img",sE="increment",lE="invalid-feedback",_g="label",cE="last-text",J3="lead",uE="loading",hE="modal-backdrop",Q3="modal-cancel",dE="modal-footer",fE="modal-header",pE="modal-header-close",tf="modal-ok",n2="modal-title",vE="nav-next-decade",mE="nav-next-month",gE="nav-next-year",_E="nav-prev-decade",bE="nav-prev-month",yE="nav-prev-year",zE="nav-this-month",OE="next-text",ME="overlay",BE="page",CE="placeholder",ef="prepend",AE="prev-text",Pr="row-details",Xr="table-busy",af="table-caption",nf="table-colgroup",LE="tabs-end",IE="tabs-start",SE="text",wE="thead-top",ji="title",PE="toast-title",rf="top-row",TE="valid-feedback",on=function(){return Array.from.apply(Array,arguments)},pt=function(t,a){return t.indexOf(a)!==-1},Vt=function(){for(var t=arguments.length,a=new Array(t),n=0;n1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return t=Vt(t).filter(ft),t.some(function(i){return a[i]||n[i]})},Se=function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};t=Vt(t).filter(ft);for(var o,s=0;s0&&arguments[0]!==void 0?arguments[0]:ze,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.$scopedSlots,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.$slots;return R1(t,a,n)},normalizeSlot:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ze,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.$scopedSlots,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:this.$slots,o=Se(t,a,n,i);return o&&Vt(o)}}}),K=function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:NaN,n=parseInt(t,10);return isNaN(n)?a:n},St=function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:NaN,n=parseFloat(t);return isNaN(n)?a:n},r2=function(t,a){return St(t).toFixed(K(a,0))},mh=function(t){return t.replace(dH,"-$1").toLowerCase()},bg=function(t){return t=mh(t).replace(zH,function(a,n){return n?n.toUpperCase():""}),t.charAt(0).toUpperCase()+t.slice(1)},n5=function(t){return t.replace(yH," ").replace(fH,function(a,n,i){return n+" "+i}).replace(_H,function(a,n,i){return n+i.toUpperCase()})},HE=function(t){return t=Tt(t)?t.trim():String(t),t.charAt(0).toLowerCase()+t.slice(1)},yg=function(t){return t=Tt(t)?t.trim():String(t),t.charAt(0).toUpperCase()+t.slice(1)},gh=function(t){return t.replace(mH,"\\$&")},ct=function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;return Nt(t)?"":Rt(t)||De(t)&&t.toString===Object.prototype.toString?JSON.stringify(t,null,a):String(t)},FE=function(t){return ct(t).replace(bH,"")},sa=function(t){return ct(t).trim()},G5=function(t){return ct(t).toLowerCase()},r5=ch.prototype,EE=["button","[href]:not(.disabled)","input","select","textarea","[tabindex]","[contenteditable]"].map(function(e){return"".concat(e,":not(:disabled):not([disabled])")}).join(", "),$E=r5.matches||r5.msMatchesSelector||r5.webkitMatchesSelector,DE=r5.closest||function(e){var t=this;do{if($1(t,e))return t;t=t.parentElement||t.parentNode}while(!Kt(t)&&t.nodeType===Node.ELEMENT_NODE);return null},jt=(se.requestAnimationFrame||se.webkitRequestAnimationFrame||se.mozRequestAnimationFrame||se.msRequestAnimationFrame||se.oRequestAnimationFrame||function(e){return setTimeout(e,16)}).bind(se),xE=se.MutationObserver||se.WebKitMutationObserver||se.MozMutationObserver||null,RE=function(t){return t&&t.parentNode&&t.parentNode.removeChild(t)},Zt=function(t){return!!(t&&t.nodeType===Node.ELEMENT_NODE)},pa=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],a=ur.activeElement;return a&&!t.some(function(n){return n===a})?a:null},_1=function(t,a){return ct(t).toLowerCase()===ct(a).toLowerCase()},_h=function(t){return Zt(t)&&t===pa()},G0=function(t){if(!Zt(t)||!t.parentNode||!pe(ur.body,t)||kn(t,"display")==="none")return!1;var a=sn(t);return!!(a&&a.height>0&&a.width>0)},Na=function(t){return!Zt(t)||t.disabled||p1(t,"disabled")||Si(t,"disabled")},bh=function(t){return Zt(t)&&t.offsetHeight},z0=function(t,a){return on((Zt(a)?a:ur).querySelectorAll(t))},b0=function(t,a){return(Zt(a)?a:ur).querySelector(t)||null},$1=function(t,a){return Zt(t)?$E.call(t,a):!1},a0=function(t,a){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(!Zt(a))return null;var i=DE.call(a,t);return n?i:i===a?null:i},pe=function(t,a){return t&&it(t.contains)?t.contains(a):!1},Hc=function(t){return ur.getElementById(/^#/.test(t)?t.slice(1):t)||null},je=function(t,a){a&&Zt(t)&&t.classList&&t.classList.add(a)},Fe=function(t,a){a&&Zt(t)&&t.classList&&t.classList.remove(a)},Si=function(t,a){return a&&Zt(t)&&t.classList?t.classList.contains(a):!1},Qt=function(t,a,n){a&&Zt(t)&&t.setAttribute(a,n)},f1=function(t,a){a&&Zt(t)&&t.removeAttribute(a)},y0=function(t,a){return a&&Zt(t)?t.getAttribute(a):null},p1=function(t,a){return a&&Zt(t)?t.hasAttribute(a):null},Te=function(t,a,n){a&&Zt(t)&&(t.style[a]=n)},Is=function(t,a){a&&Zt(t)&&(t.style[a]="")},kn=function(t,a){return a&&Zt(t)&&t.style[a]||null},sn=function(t){return Zt(t)?t.getBoundingClientRect():null},m0=function(t){var a=se.getComputedStyle;return a&&Zt(t)?a(t):{}},kE=function(){var t=se.getSelection;return t?se.getSelection():null},Fc=function(t){var a={top:0,left:0};if(!Zt(t)||t.getClientRects().length===0)return a;var n=sn(t);if(n){var i=t.ownerDocument.defaultView;a.top=n.top+i.pageYOffset,a.left=n.left+i.pageXOffset}return a},NE=function(t){var a={top:0,left:0};if(!Zt(t))return a;var n={top:0,left:0},i=m0(t);if(i.position==="fixed")a=sn(t)||a;else{a=Fc(t);for(var o=t.ownerDocument,s=t.offsetParent||o.documentElement;s&&(s===o.body||s===o.documentElement)&&m0(s).position==="static";)s=s.parentNode;if(s&&s!==t&&s.nodeType===Node.ELEMENT_NODE){n=Fc(s);var c=m0(s);n.top+=St(c.borderTopWidth,0),n.left+=St(c.borderLeftWidth,0)}}return{top:a.top-n.top-St(i.marginTop,0),left:a.left-n.left-St(i.marginLeft,0)}},Ec=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;return z0(EE,t).filter(G0).filter(function(a){return a.tabIndex>-1&&!a.disabled})},Bt=function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};try{t.focus(a)}catch{}return _h(t)},s0=function(t){try{t.blur()}catch{}return!_h(t)},Ui=function(t){var a=ra(null);return function(){for(var n=arguments.length,i=new Array(n),o=0;o1&&arguments[1]!==void 0?arguments[1]:void 0,n=jE[Fn];return n?n.getConfigValue(t,a):H0(a)},g0=function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;return a?$c("".concat(t,".").concat(a),n):$c(t,{})},zg=function(){return $c("breakpoints",iH)},UE=Ui(function(){return zg()}),GE=function(){return H0(UE())},wi=Ui(function(){var e=GE();return e[0]="",e});function of(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),a.push.apply(a,n)}return a}function qa(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:Xn,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:void 0,o=n===!0;return i=o?i:n,qa(qa(qa({},t?{type:t}:{}),o?{required:o}:he(a)?{}:{default:ce(a)?function(){return a}:a}),he(i)?{}:{validator:i})},ws=function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ft;if(Rt(t))return t.map(a);var n={};for(var i in t)an(t,i)&&(n[a(i)]=ce(t[i])?ba(t[i]):t[i]);return n},Yt=function(t,a){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ft;return(Rt(t)?t.slice():mt(t)).reduce(function(i,o){return i[n(o)]=a[o],i},{})},Bg=function(t,a,n){return qa(qa({},H0(t)),{},{default:function(){var o=g0(n,a,t.default);return it(o)?o():o}})},$=function(t,a){return mt(t).reduce(function(n,i){return qa(qa({},n),{},Og({},i,Bg(t[i],i,a)))},{})},WE=Bg({},"","").default.name,m1=function(t){return it(t)&&t.name&&t.name!==WE};function ZE(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var ge=function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=a.type,i=n===void 0?Xn:n,o=a.defaultValue,s=o===void 0?void 0:o,c=a.validator,h=c===void 0?void 0:c,v=a.event,p=v===void 0?ng:v,g=ZE({},t,f(i,s,h)),y=w({model:{prop:t,event:p},props:g});return{mixin:y,props:g,prop:t,event:p}},Cg=function(t){return nH?ce(t)?t:{capture:!!t||!1}:!!(ce(t)?t.capture:t)},Xt=function(t,a,n,i){t&&t.addEventListener&&t.addEventListener(a,n,Cg(i))},ee=function(t,a,n,i){t&&t.removeEventListener&&t.removeEventListener(a,n,Cg(i))},W0=function(t){for(var a=t?Xt:ee,n=arguments.length,i=new Array(n>1?n-1:0),o=1;o1&&arguments[1]!==void 0?arguments[1]:{},n=a.preventDefault,i=n===void 0?!0:n,o=a.propagation,s=o===void 0?!0:o,c=a.immediatePropagation,h=c===void 0?!1:c;i&&t.preventDefault(),s&&t.stopPropagation(),h&&t.stopImmediatePropagation()},Ag=function(t){return mh(t.replace(sH,""))},re=function(t,a){return[fg,Ag(t),a].join(pg)},ve=function(t,a){return[fg,a,Ag(t)].join(pg)};function qE(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var KE=$({ariaLabel:f(z,"Close"),content:f(z,"×"),disabled:f(C,!1),textVariant:f(z)},vm),ln=w({name:vm,functional:!0,props:KE,render:function(t,a){var n=a.props,i=a.data,o=a.slots,s=a.scopedSlots,c=o(),h=s||{},v={staticClass:"close",class:qE({},"text-".concat(n.textVariant),n.textVariant),attrs:{type:"button",disabled:n.disabled,"aria-label":n.ariaLabel?String(n.ariaLabel):null},on:{click:function(g){n.disabled&&tn(g)&&Mt(g)}}};return R1(ze,h,c)||(v.domProps={innerHTML:n.content}),t("button",rt(i,v),Se(ze,{},h,c))}});function sf(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),a.push.apply(a,n)}return a}function ka(e){for(var t=1;t0?t:0)},i2=function(t){return t===""||t===!0?!0:K(t,0)<1?!1:!!t},e$=$(tt(cf(cf({},t$),{},{dismissLabel:f(z,"Close"),dismissible:f(C,!1),fade:f(C,!1),variant:f(z,"info")})),om),a$=w({name:om,mixins:[QE,vt],props:e$,data:function(){return{countDown:0,localShow:i2(this[Hr])}},watch:(Vr={},Yr(Vr,Hr,function(e){this.countDown=hf(e),this.localShow=i2(e)}),Yr(Vr,"countDown",function(t){var a=this;this.clearCountDownInterval();var n=this[Hr];ui(n)&&(this.$emit(zF,t),n!==t&&this.$emit(uf,t),t>0?(this.localShow=!0,this.$_countDownTimeout=setTimeout(function(){a.countDown--},1e3)):this.$nextTick(function(){jt(function(){a.localShow=!1})}))}),Yr(Vr,"localShow",function(t){var a=this[Hr];!t&&(this.dismissible||ui(a))&&this.$emit(yF),!ui(a)&&a!==t&&this.$emit(uf,t)}),Vr),created:function(){this.$_filterTimer=null;var t=this[Hr];this.countDown=hf(t),this.localShow=i2(t)},beforeDestroy:function(){this.clearCountDownInterval()},methods:{dismiss:function(){this.clearCountDownInterval(),this.countDown=0,this.localShow=!1},clearCountDownInterval:function(){clearTimeout(this.$_countDownTimeout),this.$_countDownTimeout=null}},render:function(t){var a=t();if(this.localShow){var n=this.dismissible,i=this.variant,o=t();n&&(o=t(ln,{attrs:{"aria-label":this.dismissLabel},on:{click:this.dismiss}},[this.normalizeSlot(XF)])),a=t("div",{staticClass:"alert",class:Yr({"alert-dismissible":n},"alert-".concat(i),i),attrs:{role:"alert","aria-live":"polite","aria-atomic":!0},key:this[E1]},[o,this.normalizeSlot()])}return t(un,{props:{noFade:!this.fade}},[a])}}),n$=et({components:{BAlert:a$}}),F1=Math.min,$t=Math.max,Ig=Math.abs,Sg=Math.ceil,Pi=Math.floor,wg=Math.pow,Dc=Math.round;function r$(e,t){return l$(e)||s$(e,t)||o$(e,t)||i$()}function i$(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. diff --git a/index.html b/index.html index a998e1c..94b0cb5 100644 --- a/index.html +++ b/index.html @@ -15,7 +15,7 @@ gtag('js', new Date()); gtag('config', 'G-1YGJHDR2PZ'); - +