PageSourceSearch

https://carte.destination-parc-monts-ardeche.fr/_next/static/chunks/362.f348b7313241c80d.js

js destination-parc-monts-ardeche.fr collected 2026-10-01 14:18:21 UTC 50,838 bytes, 1 lines download raw bytes

1!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="f1f92c86-a461-47c4-9661-c689fda5b64e",t._sentryDebugIdIdentifier="sentry-dbid-f1f92c86-a461-47c4-9661-c689fda5b64e")}catch(t){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[362],{43769:function(t,e,n){"use strict";var i=n(25780),o=n(29344);let r=o.Control.extend({options:{position:"topleft",title:"Reset map view",icon:"☐"},onAdd:function(t){o.Util.setOptions(this,{zoom:t.getZoom(),center:t.getCenter()});let{title:e,icon:n}=this.options,i=o.DomUtil.create("div","leaflet-bar"),r=o.DomUtil.create("a","",i);return Object.entries({title:e,href:"#"}).forEach(([t,e])=>{r.setAttribute(t,e)}),r.innerHTML=n,RegExp(/url\(.+\)/).test(n)&&(r.innerHTML="",r.style.backgroundImage=n),o.DomEvent.on(r,"mousedown dblclick",o.DomEvent.stopPropagation).on(r,"click",o.DomEvent.stop).on(r,"click",this._resetView,this),i},_resetView:function(){let{center:t,zoom:e}=this.options;
1return this._map.setView(t,e)}});e.Z=(0,i.vm)(t=>new r(t))},80385:function(){var t,e;t=function(t,e){if(4!==t.length)return!1;var n,i=0,o=0;for(n=0;n<4;n++){if(t[n].x!==e.min.x&&t[n].x!==e.max.x||t[n].y!==e.min.y&&t[n].y!==e.max.y)return!1;i+=t[n].x,o+=t[n].y}return i===2*(e.min.x+e.max.x)&&o===2*(e.min.y+e.max.y)},e={_toMercGeometry:function(t,e){var n,i,o,r,s,l,a=[];for(e||(t[0]instanceof Array?t[0][0]instanceof Array||(t=[t]):t=[[t]]),n=0;n<t.length;n++){for(i=0,r=[];i<t[n].length;i++){for(o=0,s=[];o<t[n][i].length;o++)l=e?L.latLng(t[n][i][o][1],t[n][i][o][0]):t[n][i][o],s.push(this._map.project(l,0));r.push(s)}a.push(r)}return a},_getOriginalMercBoundary:function(){if(this._mercBoundary)return this._mercBoundary;if(L.Util.isArray(this.options.boundary))this._mercBoundary=this._toMercGeometry(this.options.boundary);else{this._mercBoundary=[];var t,e=(function(t){"GeometryCollection"===t.type?t.geometries.forEach(e):"Feature"===t.type?e(t.geometry):"FeatureCollection"===t.type?t.features.forEach(e):"Polygon"===t.type?this._mercBoundary=this._mercBoundary.concat(this._toMercGeometry([t.coordinates],!0)):"MultiPolygon"===t.type&&(this._mercBoundary=this._mercBoundary.concat(this._toMercGeometry(t.coordinates,!0)))}).bind(this);e(this.options.boundary)}this._mercBbox=new L.Bounds;for(var n=0;n<this._mercBoundary.length;n++)t=new L.Bounds(this._mercBoundary[n][0]),this._mercBbox.extend(t.min),this._mercBbox.extend(t.max);return this._mercBoundary},_getClippedGeometry:function(e,n){var i,o,r,s,l,a=[];for(s=0;s<e.length;s++)if(i=[],0!==(o=L.PolyUtil.clipPolygon(e[s][0],n)).length){for(i.push(o),l=1;l<e[s].length;l++)(r=L.PolyUtil.clipPolygon(e[s][l],n)).length>0&&i.push(r);a.push(i)}if(0===a.length)return{isOut:!0};for(s=0;s<a.length;s++){if(!t(a[s][0],n))return{geometry:a};if(1===a[s].length)return{isIn:!0};for(l=1;l<a[s].length;l++)if(!t(a[s][l],n))return{geometry:a}}return{isOut:!0}},_getTileGeometry:function(t,e,n,i){if(!this.options.boundary)return{isIn:!0};var o,r=t+":"+e+":"+n,s=Math.pow(2,n),l=this._boundaryCache;if(l[r])return l[r];var a=this._getOriginalMercBoundary(),u=this.options.tileSize,c=new L.Bounds(new L.Point(t*u/s,e*u/s),new L.Point((t+1)*u/s,(e+1)*u/s));return i||c.intersects(this._mercBbox)?0===n?(l[r]={geometry:a},l[r]):(o=this._getTileGeometry(Math.floor(t/2),Math.floor(e/2),n-1,!0)).isOut||o.isIn?o:(l[r]=this._getClippedGeometry(o.geometry,c),l[r]):{isOut:!0}},_drawTileInternal:function(t,e,n,i){var o=this._getZoomForUrl(),r=this._getTileGeometry(e.x,e.y,o);if(r.isOut){i();return}var s=this.options.tileSize,l=s*e.x,a=s*e.y,u=Math.pow(2,o),c=t.getContext("2d"),h=new Image,f=function(){var e,n,o,s,f;if(!r.isIn){for(f=r.geometry,c.beginPath(),e=0;e<f.length;e++)for(n=0;n<f[e].length;n++)if(0!==f[e][n].length)for(c.moveTo(f[e][n][0].x*u-l,f[e][n][0].y*u-a),o=1;o<f[e][n].length;o++)c.lineTo(f[e][n][o].x*u-l,f[e][n][o].y*u-a);c.clip()}s=c.createPattern(h,"repeat"),c.beginPath(),c.rect(0,0,t.width,t.height),c.fillStyle=s,c.fill(),i()};this.options.crossOrigin&&(h.crossOrigin=""),h.onload=function(){t.complete=!0,setTimeout(f,0)},h.src=n},onAdd:function(t){(L.TileLayer.Canvas||L.TileLayer).prototype.onAdd.call(this,t),this.options.trackAttribution&&(t.on("moveend",this._updateAttribution,this),this._updateAttribution())},onRemove:function(t){if((L.TileLayer.Canvas||L.TileLayer).prototype.onRemove.call(this,t),this.options.trackAttribution&&(t.off("moveend",this._updateAttribution,this),!this._attributionRemoved)){var e=L.TileLayer.BoundaryCanvas.prototype.getAttribution.call(this);t.attributionControl.removeAttribution(e)}},_updateAttribution:function(){var t=this._getOriginalMercBoundary(),e=this._map.getBounds(),n=L.bounds(this._map.project(e.getSouthWest
1(),0),this._map.project(e.getNorthEast(),0)),i=this._getClippedGeometry(t,n);if(!!i.isOut!==this._attributionRemoved){var o=L.TileLayer.BoundaryCanvas.prototype.getAttribution.call(this);this._map.attributionControl[i.isOut?"removeAttribution":"addAttribution"](o),this._attributionRemoved=!!i.isOut}}},L.version>="0.8"?L.TileLayer.BoundaryCanvas=L.TileLayer.extend({options:{boundary:null},includes:e,initialize:function(t,e){L.TileLayer.prototype.initialize.call(this,t,e),this._boundaryCache={},this._mercBoundary=null,this._mercBbox=null,this.options.trackAttribution&&(this._attributionRemoved=!0,this.getAttribution=null)},createTile:function(t,e){var n=document.createElement("canvas"),i=this.getTileUrl(t);return n.width=n.height=this.options.tileSize,this._drawTileInternal(n,t,i,L.bind(e,null,null,n)),n}}):L.TileLayer.BoundaryCanvas=L.TileLayer.Canvas.extend({options:{boundary:null},includes:e,initialize:function(t,e){L.Util.setOptions(this,e),L.Util.setOptions(this,{async:!0}),this._url=t,this._boundaryCache={},this._mercBoundary=null,this._mercBbox=null,this.options.trackAttribution&&(this._attributionRemoved=!0,this.getAttribution=null)},drawTile:function(t,e){var n,i=L.extend({},e);this._adjustTilePoint(i),n=this.getTileUrl(i),this._drawTileInternal(t,e,n,L.bind(this.tileDrawn,this,t)),this._getTileSize()!==this.options.tileSize&&(t.style.width=t.style.height=this._getTileSize()+"px")}}),L.TileLayer.boundaryCanvas=function(t,e){return new L.TileLayer.BoundaryCanvas(t,e)},L.TileLayer.BoundaryCanvas.createFromLayer=function(t,e){return t instanceof L.TileLayer?new L.TileLayer.BoundaryCanvas(t._url,L.extend({},t.options,e)):(console.warn("Your tileLayer doesn' instanceof L.TileLayer"),t)}},52515:function(t,e,n){var i,o,r,s,l,a;"undefined"!=typeof self&&self,"function"==typeof(o=function(){"use strict";var t="undefined"!=typeof window&&void 0!==window.document?window.document:{},e=function(){for(var e,n=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],i=0,o=n.length,r={};i<o;i++)if((e=n[i])&&e[1]in t){for(i=0;i<e.length;i++)r[n[0][i]]=e[i];return r}return!1}(),n={change:e.fullscreenchange,error:e.fullscreenerror},i={request:function(n,i){return new Promise((function(o,r){var s=(function(){this.off("change",s),o()}).bind(this);this.on("change",s);var l=(n=n||t.documentElement)[e.requestFullscreen](i);l instanceof Promise&&l.then(s).catch(r)}).bind(this))},exit:function(){return new Promise((function(n,i){if(!this.isFullscreen){n();return}var o=(function(){this.off("change",o),n()}).bind(this);this.on("change",o);var r=t[e.exitFullscreen]();r instanceof Promise&&r.then(o).catch(i)}).bind(this))},toggle:function(t,e){return this.isFullscreen?this.exit():this.request(t,e)},onchange:function(t){this.on("change",t)},onerror:function(t){this.on("error",t)},on:function(e,i){var o=n[e];o&&t.addEventListener(o,i,!1)},off:function(e,i){var o=n[e];o&&t.removeEventListener(o,i,!1)},raw:e};return e?(Object.defineProperties(i,{isFullscreen:{get:function(){return!!t[e.fullscreenElement]}},element:{enumerable:!0,get:function(){return t[e.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return!!t[e.fullscreenEnabled]}}}),i):{isEnabled:!1}})?(r={id:"screenfull",exports:{},loaded:!1},i=o.call(r.exports,n,r.exports,r),r.loaded=!0,void 0===i&&(i=r.exports)):i=o,"undefined"!=typeof self&&self,a=function(t,e){return t.Control.FullScreen=t.Control.extend({options:{position:"topleft",title:"Full Screen",titleCancel:"Exit Full Screen",forceSeparateButton:!1,forcePseudoFullscreen:!1,fullscreenElement:!1},_screenfull:e,onAdd:function(e){var n,i="leaflet-control-zoom-fullscreen",o="";return n=e.zoomControl&&!this.options.forceSeparateButton?e.zoomControl._container:t.DomUtil.create("div","leaflet-bar"),this.options.content?o=this.options.content:i+=" fullscreen-icon",this._createButton(this.options.title,i,o,n,this.toggleFullScreen,this),this._map.fullscreenControl=this,this._map.on("enterFullscreen exitFullscreen",this._toggleState,this),n},onRemove:function(){t.DomEvent.off(this.link,"click",t.DomEvent.stop).off(this.link,"click",this.toggleFullScreen,this),this._screenfull.isEnabled&&(t.DomEvent.off(this._container,this._screenfull.raw.fullscreenchange,t.DomEvent.stop).off(this._container,this._screenfull.raw.fullscreenchange,this._handleFullscreenChange,this),t.DomEvent.off(document,this._screenfull.raw.fullscreenchange,t.DomEvent.stop).off(document,this._screenfull.raw.fullscreenchange,this._handleFullscreenChange,this))},_createButton:function(e,n,i,o,r,s){return this.link=t.DomUtil.create("a",n,o),this.link.href="#",this.link.title=e,this.link.innerHTML=i,this.link.setAttribute("role","button"),this.link.setAttribute("aria-label",e),L.DomEvent.disableClickPropagation(o),t.DomEvent.on(this.link,"click",t.DomEvent.stop).on(this.link,"click",r,s),this._screenfull.isEnabled&&(t.DomEvent.on(o,this._screenfull.raw.fullscreenchange,t.DomEvent.stop).on(o,this._screenfull.raw.fullscreenchange,this._handleFullscreenChange,s),t.DomEvent.on(document,this._screenfull.raw.fullscreenchange,t.DomEvent.stop).on(document,this._screenfull.raw.fullscreenchange,this._handleFullscreenChange,s)),this.link},toggleFullScreen:function(){var e=this._map;e._exitFired=!1,e._isFullscreen?(this._screenfull.isEnabled&&!this.options.forcePseudoFullscreen?this._screenfull.exit():(t.DomUtil.removeClass(this.options.fullscreenElement?this.options.fullscreenElement:e._container,"leaflet-pseudo-fullscreen"),e.invali
1dateSize()),e.fire("exitFullscreen"),e._exitFired=!0,e._isFullscreen=!1):(this._screenfull.isEnabled&&!this.options.forcePseudoFullscreen?this._screenfull.request(this.options.fullscreenElement?this.options.fullscreenElement:e._container):(t.DomUtil.addClass(this.options.fullscreenElement?this.options.fullscreenElement:e._container,"leaflet-pseudo-fullscreen"),e.invalidateSize()),e.fire("enterFullscreen"),e._isFullscreen=!0)},_toggleState:function(){this.link.title=this._map._isFullscreen?this.options.title:this.options.titleCancel,this._map._isFullscreen?L.DomUtil.removeClass(this.link,"leaflet-fullscreen-on"):L.DomUtil.addClass(this.link,"leaflet-fullscreen-on")},_handleFullscreenChange:function(){var t=this._map;t.invalidateSize(),this._screenfull.isFullscreen||t._exitFired||(t.fire("exitFullscreen"),t._exitFired=!0,t._isFullscreen=!1)}}),t.Map.include({toggleFullscreen:function(){this.fullscreenControl.toggleFullScreen()}}),t.Map.addInitHook(function(){this.options.fullscreenControl&&this.addControl(t.control.fullscreen(this.options.fullscreenControlOptions))}),t.control.fullscreen=function(e){return new t.Control.FullScreen(e)},{leaflet:t,screenfull:e}},s=[n(29344),i],void 0!==(l=a.apply(e,s))&&(t.exports=l)},97877:function(t,e,n){var i,o,r,s;r=function(t){let e=(e,n,i)=>{(i=i.split(" ")).forEach(function(i){t.DomUtil[e].call(this,n,i)})},n=(t,n)=>e("addClass",t,n),i=(t,n)=>e("removeClass",t,n),o=t.Marker.extend({initialize(e,n){t.Util.setOptions(this,n),this._latlng=e,this.createIcon()},createIcon(){let e=this.options,n="";void 0!==e.color&&(n+=`stroke:${e.color};`),void 0!==e.weight&&(n+=`stroke-width:${e.weight};`),void 0!==e.fillColor&&(n+=`fill:${e.fillColor};`),void 0!==e.fillOpacity&&(n+=`fill-opacity:${e.fillOpacity};`),void 0!==e.opacity&&(n+=`opacity:${e.opacity};`);let i=this._getIconSVG(e,n);this._locationIcon=t.divIcon({className:i.className,html:i.svg,iconSize:[i.w,i.h]}),this.setIcon(this._locationIcon)},_getIconSVG(t,e){let n=t.radius,i=n+t.weight,o=2*i;return{className:"leaflet-control-locate-location",svg:`<svg xmlns="http://www.w3.org/2000/svg" width="${o}" height="${o}" version="1.1" viewBox="-${i} -${i} ${o} ${o}"><circle r="`+n+'" style="'+e+'" /></svg>',w:o,h:o}},setStyle(e){t.Util.setOptions(this,e),this.createIcon()}}),r=o.extend({initialize(e,n,i){t.Util.setOptions(this,i),this._latlng=e,this._heading=n,this.createIcon()},setHeading(t){this._heading=t},_getIconSVG(t,e){let n=t.radius,i=t.width+t.weight,o=(n+t.depth+t.weight)*2,r=`M0,0 l${t.width/2},${t.depth} l-${i},0 z`,s=`transform: rotate(${this._heading}deg)`;return{className:"leaflet-control-locate-heading",svg:`<svg xmlns="http://www.w3.org/2000/svg" width="${i}" height="${o}" version="1.1" viewBox="-${i/2} 0 ${i} ${o}" style="${s}"><path d="`+r+'" style="'+e+'" /></svg>',w:i,h:o}}}),s=t.Control.extend({options:{position:"topleft",layer:void 0,setView:"untilPanOrZoom",keepCurrentZoomLevel:!1,initialZoomLevel:!1,getLocationBounds:t=>t.bounds,flyTo:!1,clickBehavior:{inView:"stop",outOfView:"setView",inViewNotFollowing:"inView"},returnToPrevBounds:!1,cacheLocation:!0,drawCircle:!0,drawMarker:!0,showCompass:!0,markerClass:o,compassClass:r,circleStyle:{className:"leaflet-control-locate-circle",color:"#136AEC",fillColor:"#136AEC",fillOpacity:.15,weight:0},markerStyle:{className:"leaflet-control-locate-marker",color:"#fff",fillColor:"#2A93EE",fillOpacity:1,weight:3,opacity:1,radius:9},compassStyle:{fillColor:"#2A93EE",fillOpacity:1,weight:0,color:"#fff",opacity:1,radius:9,width:9,depth:6},followCircleStyle:{},followMarkerStyle:{},followCompassStyle:{},icon:"leaflet-control-locate-location-arrow",iconLoading:"leaflet-control-locate-spinner",iconElementTag:"span",textElementTag:"small",circlePadding:[0,0],metric:!0,createButtonCallback(e,n){let i=t.DomUtil.create("a","leaflet-bar-part leaflet-bar-part-single",e);i.title=n.strings.title,i.href="#",i.setAttribute("role","button");let o=t.DomUtil.create(n.iconElementTag,n.icon,i);return void 0!==n.strings.text&&(t.DomUtil.create(n.textElementTag,"leaflet-locate-text",i).textContent=n.strings.text,i.classList.add("leaflet-locate-text-active"),i.parentNode.style.display="flex",n.icon.length>0&&o.classList.add("leaflet-locate-icon")),{link:i,icon:o}},onLocationError(t,e){alert(t.message)},onLocationOutsideMapBounds(t){t.stop(),alert(t.options.strings.outsideMapBoundsMsg)},showPopup:!0,strings:{title:"Show me where I am",metersUnit:"meters",feetUnit:"feet",popup:"You are within {distance} {unit} from this point",outsideMapBoundsMsg:"You seem located outside the boundaries of the map"},locateOptions:{maxZoom:1/0,watch:!0,setView:!1}},initialize(e){for(let n in e)"object"==typeof this.options[n]?t.extend(this.options[n],e[n]):this.options[n]=e[n];this.options.followMarkerStyle=t.extend({},this.options.markerStyle,this.options.followMarkerStyle),this.options.followCircleStyle=t.extend({},this.options.circleStyle,this.options.followCircleStyle),this.options.followCompassStyle=t.extend({},this.options.compassStyle,this.options.followCompassStyle)},onAdd(e){let n=t.DomUtil.create("div","leaflet-control-locate leaflet-bar leaflet-control");this._container=n,this._map=e,this._layer=this.options.layer||new t.LayerGroup,this._layer.addTo(e),this._event=void 0,this._compassHeading=null,this._prevBounds=null;let i=this.options.createButtonCallback(n,this.options);return this._link=i.link,this._icon=i.icon,t.DomEvent.on(this._link,"click",function(e){t.DomEvent.stopPropagation(e),t.DomEvent.preventDefault(e),this._onClick()},this).on(this._link,"dblclick",t.DomEvent.stopPropagation),this._resetVariables(),this._map.on("unload",this._unload,this),n},_onClick(){this._justClicked=!0;let t=this._isFollowing();if(this._userPanned=!1,this._userZoomed=!1,this._active&&!this._event)this.stop();else if(this._active){let e=this.options.clickBehavior,n=e.outOfView;switch(this._map.getBounds().contains(this._event.latlng)&&(n=t?e.inView:e.inViewNotFollowing),e[n]&&(n=e[n]),n){case"setView":this.setView();break;case"stop":this.stop(),this.options.returnToPrevBounds&&(this.options.flyTo?this._map.flyToBounds:this._map.fitBounds).bind(this._map)(this._prevBounds)}}else this.options.returnToPrevBounds&&(this._prevBounds=this._map.getBounds()),this.start();this._updateContainerStyle()},start(){this._activate(),this._event&&(this._drawMarker(this._map),this.options.setView&&this.setView()),this._updateContainerStyle()}
1,stop(){this._deactivate(),this._cleanClasses(),this._resetVariables(),this._removeMarker()},stopFollowing(){this._userPanned=!0,this._updateContainerStyle(),this._drawMarker()},_activate(){if(!this._active&&this._map&&(this._map.locate(this.options.locateOptions),this._map.fire("locateactivate",this),this._active=!0,this._map.on("locationfound",this._onLocationFound,this),this._map.on("locationerror",this._onLocationError,this),this._map.on("dragstart",this._onDrag,this),this._map.on("zoomstart",this._onZoom,this),this._map.on("zoomend",this._onZoomEnd,this),this.options.showCompass)){let e="ondeviceorientationabsolute"in window;if(e||"ondeviceorientation"in window){let n=this,i=function(){t.DomEvent.on(window,e?"deviceorientationabsolute":"deviceorientation",n._onDeviceOrientation,n)};DeviceOrientationEvent&&"function"==typeof DeviceOrientationEvent.requestPermission?DeviceOrientationEvent.requestPermission().then(function(t){"granted"===t&&i()}):i()}}},_deactivate(){this._active&&this._map&&(this._map.stopLocate(),this._map.fire("locatedeactivate",this),this._active=!1,this.options.cacheLocation||(this._event=void 0),this._map.off("locationfound",this._onLocationFound,this),this._map.off("locationerror",this._onLocationError,this),this._map.off("dragstart",this._onDrag,this),this._map.off("zoomstart",this._onZoom,this),this._map.off("zoomend",this._onZoomEnd,this),this.options.showCompass&&(this._compassHeading=null,"ondeviceorientationabsolute"in window?t.DomEvent.off(window,"deviceorientationabsolute",this._onDeviceOrientation,this):"ondeviceorientation"in window&&t.DomEvent.off(window,"deviceorientation",this._onDeviceOrientation,this)))},setView(){if(this._drawMarker(),this._isOutsideMapBounds())this._event=void 0,this.options.onLocationOutsideMapBounds(this);else if(this._justClicked&&!1!==this.options.initialZoomLevel){var e=this.options.flyTo?this._map.flyTo:this._map.setVie
1w;e.bind(this._map)([this._event.latitude,this._event.longitude],this.options.initialZoomLevel)}else if(this.options.keepCurrentZoomLevel){var e=this.options.flyTo?this._map.flyTo:this._map.panTo;e.bind(this._map)([this._event.latitude,this._event.longitude])}else{var e=this.options.flyTo?this._map.flyToBounds:this._map.fitBounds;this._ignoreEvent=!0,e.bind(this._map)(this.options.getLocationBounds(this._event),{padding:this.options.circlePadding,maxZoom:this.options.initialZoomLevel||this.options.locateOptions.maxZoom}),t.Util.requestAnimFrame(function(){this._ignoreEvent=!1},this)}},_drawCompass(){if(!this._event)return;let t=this._event.latlng;if(this.options.showCompass&&t&&null!==this._compassHeading){let e=this._isFollowing()?this.options.followCompassStyle:this.options.compassStyle;this._compass?(this._compass.setLatLng(t),this._compass.setHeading(this._compassHeading),this._compass.setStyle&&this._compass.setStyle(e)):this._compass=new this.options.compassClass(t,this._compassHeading,e).addTo(this._layer)}this._compass&&(!this.options.showCompass||null===this._compassHeading)&&(this._compass.removeFrom(this._layer),this._compass=null)},_drawMarker(){let e,n;void 0===this._event.accuracy&&(this._event.accuracy=0);let i=this._event.accuracy,o=this._event.latlng;if(this.options.drawCircle){let e=this._isFollowing()?this.options.followCircleStyle:this.options.circleStyle;this._circle?this._circle.setLatLng(o).setRadius(i).setStyle(e):this._circle=t.circle(o,i,e).addTo(this._layer)}if(this.options.metric?(e=i.toFixed(0),n=this.options.strings.metersUnit):(e=(3.2808399*i).toFixed(0),n=this.options.strings.feetUnit),this.options.drawMarker){let t=this._isFollowing()?this.options.followMarkerStyle:this.options.markerStyle;this._marker?(this._marker.setLatLng(o),this._marker.setStyle&&this._marker.setStyle(t)):this._marker=new this.options.markerClass(o,t).addTo(this._layer)}this._drawCompass();let r=this.options.strings.popup;function s(){return"string"==typeof r?t.Util.template(r,{distance:e,unit:n}):"function"==typeof r?r({distance:e,unit:n}):r}this.options.showPopup&&r&&this._marker&&this._marker.bindPopup(s())._popup.setLatLng(o),this.options.showPopup&&r&&this._compass&&this._compass.bindPopup(s())._popup.setLatLng(o)},_removeMarker(){this._layer.clearLayers(),this._marker=void 0,this._circle=void 0},_unload(){this.stop(),this._map&&this._map.off("unload",this._unload,this)},_setCompassHeading(e){!isNaN(parseFloat(e))&&isFinite(e)?(e=Math.round(e),this._compassHeading=e,t.Util.requestAnimFrame(this._drawCompass,this)):this._compassHeading=null},_onCompassNeedsCalibration(){this._setCompassHeading()},_onDeviceOrientation(t){this._active&&(t.webkitCompassHeading?this._setCompassHeading(t.webkitCompassHeading):t.absolute&&t.alpha&&this._setCompassHeading(360-t.alpha))},_onLocationError(t){3==t.code&&this.options.locateOptions.watch||(this.stop(),this.options.onLocationError(t,this))},_onLocationFound(t){if((!this._event||this._event.latlng.lat!==t.latlng.lat||this._event.latlng.lng!==t.latlng.lng||this._event.accuracy!==t.accuracy)&&this._active){switch(this._event=t,this._drawMarker(),this._updateContainerStyle(),this.options.setView){case"once":this._justClicked&&this.setView();break;case"untilPan":this._userPanned||this.setView();break;case"untilPanOrZoom":this._userPanned||this._userZoomed||this.setView();break;case"always":this.setView()}this._justClicked=!1}},_onDrag(){this._event&&!this._ignoreEvent&&(this._userPanned=!0,this._updateContainerStyle(),this._drawMarker())},_onZoom(){this._event&&!this._ignoreEvent&&(this._userZoomed=!0,this._updateContainerStyle(),this._drawMarker())},_onZoomEnd(){this._event&&this._drawCompass(),this._event&&!this._ignoreEvent&&this._marker&&!this._map.getBounds().pad(-.3).contains(this._marker.getLatLng())&&(this._userPanned=!0,this._updateContainerStyle(),this._drawMarker())},_isFollowing(){return!!this._active&&("always"===this.options.setView||("untilPan"===this.options.setView?!this._userPanned:"untilPanOrZoom"===this.options.setView?!this._userPanned&&!this._userZoomed:void 0))},_isOutsideMapBounds(){return void 0!==this._event&&this._map.options.maxBounds&&!this._map.options.maxBounds.contains(this._event.latlng)}
1,_updateContainerStyle(){this._container&&(this._active&&!this._event?this._setClasses("requesting"):this._isFollowing()?this._setClasses("following"):this._active?this._setClasses("active"):this._cleanClasses())},_setClasses(t){"requesting"==t?(i(this._container,"active following"),n(this._container,"requesting"),i(this._icon,this.options.icon),n(this._icon,this.options.iconLoading)):"active"==t?(i(this._container,"requesting following"),n(this._container,"active"),i(this._icon,this.options.iconLoading),n(this._icon,this.options.icon)):"following"==t&&(i(this._container,"requesting"),n(this._container,"active following"),i(this._icon,this.options.iconLoading),n(this._icon,this.options.icon))},_cleanClasses(){t.DomUtil.removeClass(this._container,"requesting"),t.DomUtil.removeClass(this._container,"active"),t.DomUtil.removeClass(this._container,"following"),i(this._icon,this.options.iconLoading),n(this._icon,this.options.icon)},_resetVariables(){this._active=!1,this._justClicked=!1,this._userPanned=!1,this._userZoomed=!1}});return t.control.locate=e=>new t.Control.Locate(e),s},s=window,i=[n(29344)],void 0!==(o=r.apply(e,i))&&(t.exports=o),void 0!==s&&s.L&&(s.L.Control.Locate=r(L))},57261:function(t,e,n){(function(t,e,n){"use strict";let i;function o(t,e,n,i){return new(n||(n=Promise))(function(o,r){function s(t){try{a(i.next(t))}catch(t){r(t)}}function l(t){try{a(i.throw(t))}catch(t){r(t)}}function a(t){var e;t.done?o(t.value):((e=t.value)instanceof n?e:new n(function(t){t(e)})).then(s,l)}a((i=i.apply(t,e||[])).next())})}let r="tileStore",s="urlTemplate";function l(){return i||(i=n.openDB("leaflet.offline",2,{upgrade(t,e){if(n.deleteDB("leaflet_offline"),n.deleteDB("leaflet_offline_areas"),e<1){let e=t.createObjectStore(r,{keyPath:"key"});e.createIndex(s,"urlTemplate"),e.createIndex("z","z")}}}))}function a(){return o(this,void 0,void 0,function*(){return(yield l()).count(r)})}function u(t){return o(this,void 0,void 0,function*(){let e=yield fetch(t);if(!e.ok)throw Error(`Request failed with status ${e.statusText}`);return e.blob()})}function c(t,e){return o(this,void 0,void 0,function*(){return(yield l()).put(r,Object.assign({blob:e},t))})}function h(t,n){return e.Util.template(t,Object.assign(Object.assign({},n),{r:e.Browser.retina?"@2x":""}))}function f(t,n){let i=[];if(!t.min||!t.max)return i;let o=t.min.divideBy(n.x).floor(),r=t.max.divideBy(n.x).floor();for(let t=o.y;t<=r.y;t+=1)for(let n=o.x;n<=r.x;n+=1)i.push(new e.Point(n,t));return i}function d(t){return o(this,void 0,void 0,function*(){return(yield l()).get(r,t).then(t=>t&&t.blob)})}function p(t){return o(this,void 0,void 0,function*(){let e=yield l();return void 0!==(yield e.getKey(r,t))})}function m(){return o(this,void 0,void 0,function*(){return(yield l()).clear(r)})}function v(t,e){return o(this,void 0,void 0,function*(){if(!(yield p(t)))return e;let n=yield d(t);return URL.createObjectURL(n)})}class _ extends e.TileLayer{createTile(t,n){let i=document.createElement("img");return e.DomEvent.on(i,"load",e.Util.bind(this._tileOnLoad,this,n,i)),e.DomEvent.on(i,"error",e.Util.bind(this._tileOnError,this,n,i)),(this.options.crossOrigin||""===this.options.crossOrigin)&&(i.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),i.alt="",i.setAttribute("role","presentation"),v(this._getStorageKey(t),this.getTileUrl(t)).then(t=>i.src=t),i}_getStorageKey(t){return h(this._url,Object.assign(Object.assign(Object.assign({},t),this.options),{s:this.options.subdomains["0"]}))}getTileUrls(t,e){var n;let i=[],o=f(t,this.getTileSize());for(let t=0;t<o.length;t+=1){let r=o[t],s=Object.assign(Object.assign({},this.options),{x:r.x,y:r.y,z:e+(this.options.zoomOffset||0)});i.push({key:h(this._url,Object.assign(Object.assign({},s),{s:null===(n=this.options.subdomains)||void 0===n?void 0:n[0]})),url:h(this._url,Object.assign(Object.assign({},s),{s:this._getSubdomain(r)})),z:e,x:r.x,y:r.y,urlTemplate:this._url,createdAt:Date.now()})}return i}}function g(t,e){return new _(t,e)}window.L&&(window.L.tileLayer.offline=g);class y extends e.Control{constructor(t,e){super(e),this.status={storagesize:0,lengthToBeSaved:0,lengthSaved:0,lengthLoaded:0,_tilesforSave:[]},this._baseLayer=t,this.setStorageSize(),this.options=Object.assign({position:"topleft",saveText:"+",rmText:"-",maxZoom:19,saveWhatYouSee:!1,bounds:null,confirm:null,confirmRemoval:null,parallel:50,zoomlevels:void 0,alwaysDownload:!0},e)}setStorageSize(){return this.status.storagesize?Promise.resolve(this.status.storagesize):a().then(t=>(this.status.storagesize=t,this._baseLayer.fire("storagesize",this.status),t)).catch(()=>0)}getStorageSize(t){this.setStorageSize().then(e=>{t&&t(e)})}setLayer(t){this._baseLayer=t}onAdd(){let t=e.DomUtil.create("div","savetiles leaflet-bar"),{options:n}=this;return this._createButton(n.saveText,"savetiles",t,this._saveTiles),this._createButton(n.rmText,"rmtiles",t,this._rmTiles),t}_createButton(t,n,i,o){let r=e.DomUtil.create("a",n,i);return r.innerHTML=t,r.href="#",r.ariaRoleDescription="button",e.DomEvent.on(r,"mousedown dblclick",e.DomEvent.stopPropagation).on(r,"click",e.DomEvent.stop).on(r,"click",o,this).on(r,"click",this._refocusOnMap,this),r}_saveTiles(){let t=this._calculateTiles();this._resetStatus(t);let e=()=>
1o(this,void 0,void 0,function*(){this._baseLayer.fire("savestart",this.status);let e=()=>o(this,void 0,void 0,function*(){let n=t.shift();if(void 0===n)return Promise.resolve();let i=yield this._loadTile(n);return i&&(yield this._saveTile(n,i)),e()}),n=Math.min(t.length,this.options.parallel);for(let t=0;t<n;t+=1)e()});this.options.confirm?this.options.confirm(this.status,e):e()}_calculateTiles(){let t=[],n=[];if(this.options.saveWhatYouSee){let t=this._map.getZoom();if(t<5)throw Error("It's not possible to save with zoom below level 5.");let{maxZoom:e}=this.options;for(let i=t;i<=e;i+=1)n.push(i)}else n=this.options.zoomlevels||[this._map.getZoom()];let i=this.options.bounds||this._map.getBounds();for(let o=0;o<n.length;o+=1){let r=e.bounds(this._map.project(i.getNorthWest(),n[o]),this._map.project(i.getSouthEast(),n[o]));t=t.concat(this._baseLayer.getTileUrls(r,n[o]))}return t}_resetStatus(t){this.status={lengthLoaded:0,lengthToBeSaved:t.length,lengthSaved:0,_tilesforSave:t,storagesize:this.status.storagesize}}_loadTile(t){return o(this,void 0,void 0,function*(){let e;return(!0===this.options.alwaysDownload||(yield p(t.key))===!1)&&(e=yield u(t.url),this.status.lengthLoaded+=1),this.status.lengthLoaded+=1,this._baseLayer.fire("loadtileend",this.status),this.status.lengthLoaded===this.status.lengthToBeSaved&&this._baseLayer.fire("loadend",this.status),e})}_saveTile(t,e){return o(this,void 0,void 0,function*(){yield c(t,e),this.status.lengthSaved+=1,this._baseLayer.fire("savetileend",this.status),this.status.lengthSaved===this.status.lengthToBeSaved&&(this._baseLayer.fire("saveend",this.status),this.setStorageSize())})}_rmTiles(){let t=()=>{m().then(()=>{this.status.storagesize=0,this._baseLayer.fire("tilesremoved"),this._baseLayer.fire("storagesize",this.status)})};this.options.confirmRemoval?this.options.confirmRemoval(this.status,t):t()}}function w(t,e){return new y(t,e)}window.L&&(window.L.control.savetiles=w),t.downloadTile=u,t.getBlobByKey=d,t.getStorageInfo=function(t){return o(this,void 0,void 0,function*(){let e=IDBKeyRange.only(t);return(yield l()).getAllFromIndex(r,s,e)})},t.getStorageLength=a,t.getStoredTilesAsJson=function(t,n){let i={type:"FeatureCollection",features:[]};for(let o=0;o<n.length;o+=1){let r=new e.Point(n[o].x*t.x,n[o].y*t.y),s=new e.Point(r.x+t.x,r.y+t.y),l=e.CRS.EPSG3857.pointToLatLng(r,n[o].z),a=e.CRS.EPSG3857.pointToLatLng(s,n[o].z);i.features.push({type:"Feature",properties:n[o],geometry:{type:"Polygon",coordinates:[[[l.lng,l.lat],[a.lng,l.lat],[a.lng,a.lat],[l.lng,a.lat],[l.lng,l.lat]]]}})}return i},t.getTileImageSource=v,t.getTilePoints=f,t.getTileUrl=h,t.hasTile=p,t.removeTile=function(t){return o(this,void 0,void 0,function*(){return(yield l()).delete(r,t)})},t.saveTile=c,t.savetiles=w,t.tileLayerOffline=g,t.truncate=m})(e,n(29344),n(31640))},60875:function(){},66665:function(){},2156:function(){},27762:function(t,e,n){"use strict";var i=n(29344);n(52515);var o=n(27378),r=n(35982);e.o=function(t){let e=r.useMap(),n=o.useRef(i.control.fullscreen(t));return o.useEffect(()=>(n.current.addTo(e),()=>{n.current.remove(),n.current.link.remove()})),null}},15819:function(t,e,n){"use strict";n.d(e,{d:function(){return o}});var i=n(27378);function o(t,e){let n=(0,i.useRef)(e);(0,i.useEffect)(function(){e!==n.current&&null!=t.attributionControl&&(null!=n.current&&t.attributionControl.removeAttribution(n.current),null!=e&&t.attributionControl.addAttribution(e)),n.current=e},[t,e])}},63504:function(t,e,n){"use strict";function i(t,e,n){e.center!==n.center&&t.setLatLng(e.center),null!=e.radius&&e.radius!==n.radius&&t.setRadius(e.radius)}n.d(e,{T:function(){return i}})},34825:function(t,e,n){"use strict";n.d(e,{G5:function(){return a},LE:function(){return l},RA:function(){return s}});var i=n(27378),o=n(31542),r=n(51828);function s(t){return(0,i.forwardRef)(function(e,n){let{instance:o,context:s}=t(e).current;return(0,i.useImperativeHandle)(n,()=>o),null==e.children?null:i.createElement(r.UO,{value:s},e.children)})}function l(t){return(0,i.forwardRef)(function(e,n){let[r,s]=(0,i.useState)(!1),{instance:l}=t(e,s).current;(0,i.useImperativeHandle)(n,()=>
1l),(0,i.useEffect)(function(){r&&l.update()},[l,r,e.children]);let a=l._contentNode;return a?(0,o.createPortal)(e.children,a):null})}function a(t){return(0,i.forwardRef)(function(e,n){let{instance:o}=t(e).current;return(0,i.useImperativeHandle)(n,()=>o),null})}},51828:function(t,e,n){"use strict";n.d(e,{Hb:function(){return r},U1:function(){return l},UO:function(){return a},cV:function(){return o},mE:function(){return u},sj:function(){return s}});var i=n(27378);let o=1;function r(t){return Object.freeze({__version:o,map:t})}function s(t,e){return Object.freeze({...t,...e})}let l=(0,i.createContext)(null),a=l.Provider;function u(){let t=(0,i.useContext)(l);if(null==t)throw Error("No context provided: useLeafletContext() can only be used in a descendant of <MapContainer>");return t}},11689:function(t,e,n){"use strict";n.d(e,{y:function(){return r}});var i=n(27378),o=n(51828);function r(t){return function(e){let n=(0,o.mE)(),r=t(e,n),{instance:s}=r.current,l=(0,i.useRef)(e.position),{position:a}=e;return(0,i.useEffect)(function(){return s.addTo(n.map),function(){s.remove()}},[n.map,s]),(0,i.useEffect)(function(){null!=a&&a!==l.current&&(s.setPosition(a),l.current=a)},[s,a]),r}}},11816:function(t,e,n){"use strict";n.d(e,{W:function(){return l}});var i=n(15819),o=n(51828),r=n(61101),s=n(54633);function l(t,e){return function(n,l){let a=(0,o.mE)(),u=t((0,s.q)(n,a),a);return(0,i.d)(a.map,n.attribution),(0,r.t)(u.current,n.eventHandlers),e(u.current,a,n,l),u}}},86706:function(t,e,n){"use strict";n.d(e,{KZ:function(){return l},rP:function(){return s},yn:function(){return r}});var i=n(29344);function o(t){return t.split(" ").filter(Boolean)}function r(t,e){o(e).forEach(e=>{i.DomUtil.addClass(t,e)})}function s(t,e){o(e).forEach(e=>{i.DomUtil.removeClass(t,e)})}function l(t,e,n){null!=t&&n!==e&&(null!=e&&e.length>0&&s(t,e),null!=n&&n.length>0&&r(t,n))}},22364:function(t,e,n){"use strict";n.d(e,{I:function(){return r},O:function(){return o}});var i=n(27378);function o(t,e,n){return Object.freeze({instance:t,context:e,container:n})}function r(t,e){return null==e?function(e,n){let o=(0,i.useRef)();return o.current||(o.current=t(e,n)),o}:function(n,o){let r=(0,i.useRef)();r.current||(r.current=t(n,o));let s=(0,i.useRef)(n),{instance:l}=r.current;return(0,i.useEffect)(function(){s.current!==n&&(e(l,n,s.current),s.current=n)},[l,n,o]),r}}},61101:function(t,e,n){"use strict";n.d(e,{t:function(){return o}});var i=n(27378);function o(t,e){let n=(0,i.useRef)();(0,i.useEffect)(function(){return null!=e&&t.instance.on(e),n.current=e,function(){null!=n.current&&t.instance.off(n.current),n.current=null}},[t,e])}},25780:function(t,e,n){"use strict";n.d(e,{Au:function(){return f},Lf:function(){return d},SO:function(){return h},dW:function(){return c},vm:function(){return u}});var i=n(34825),o=n(11689),r=n(22364),s=n(85545),l=n(11816),a=n(43454);function u(t){let e=(0,r.I)(function(e,n){return(0,r.O)(t(e),n)}),n=(0,o.y)(e);return(0,i.G5)(n)}function c(t,e){let n=(0,r.I)(t,e),o=(0,s.u)(n);return(0,i.RA)(o)}function h(t,e){let n=(0,r.I)(t),o=(0,l.W)(n,e);return(0,i.LE)(o)}function f(t,e){let n=(0,r.I)(t,e),o=(0,a.n)(n);return(0,i.RA)(o)}function d(t,e){let n=(0,r.I)(t,e),o=(0,s.u)(n);return(0,i.G5)(o)}},15676:function(t,e,n){"use strict";function i(t,e,n){let{opacity:i,zIndex:o}=e;null!=i&&i!==n.opacity&&t.setOpacity(i),null!=o&&o!==n.zIndex&&t.setZIndex(o)}n.d(e,{I:function(){return i}})},85545:function(t,e,n){"use strict";n.d(e,{g:function(){return a},u:function(){return u}});var i=n(27378),o=n(15819),r=n(51828),s=n(61101),l=n(54633);function a(t,e){(0,i.useEffect)(function(){return(e.layerContainer??e.map).addLayer(t.instance),function(){e.layerContainer?.removeLayer(t.instance),e.map.removeLayer(t.instance)}},[e,t])}function u(t){return function(e){let n=(0,r.mE)(),i=t((0,l.q)(e,n),n);return(0,o.d)(n.map,e.attribution),(0,s.t)(i.current,e.eventHandlers),a(i.current,n),i}}},37551:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var i=n(29344);function o(t,e,n){e.bounds instanceof i.LatLngBounds&&e.bounds!==n.bounds&&t.setBounds(e.bounds),null!=e.opacity&&e.opacity!==n.opacity&&t.setOpacity(e.opacity),null!=e.zIndex&&e.zIndex!==n.zIndex&&t.setZIndex(e.zIndex)}},54633:function(t,e,n){"use strict";function i(t,e){let n=t.pane??e.pane;return n?{...t,pane:n}:t}n.d(e,{q:function(){return i}})},43454:function(t,e,n){"use strict";n.d(e,{_:function(){return a},n:function(){return u}});var i=n(27378),o=n(51828),r=n(61101),s=n(85545),l=n(54633);function a(t,e){let n=(0,i.useRef)();(0,i.useEffect)(function(){if(e.pathOptions!==n.current){let i=e.pathOptions??{};t.instance.setStyle(i),n.current=i}},[t,e])}function u(t){return function(e){let n=(0,o.mE)(),i=t((0,l.q)(e,n),n);return(0,r.t)(i.current,e.eventHandlers),(0,s.g)(i.current,n),a(i.current,e),i}}},31640:function(t,e,n){"use strict";let i,o,r;n.r(e),n.d(e,{deleteDB:function(){return v},openDB:function(){return m},unwrap:function(){return p},wrap:function(){return d}});let s=(t,e)=>e.some(e=>t instanceof e),l=new WeakMap,a=new WeakMap,u=new WeakMap,c=new WeakMap,h=new WeakMap,f={get(t,e,n){if(t instanceof IDBTransaction){if("done"===e)return a.get(t);if("objectStoreNames"===e)return t.objectStoreNames||u.get(t);if("store"===e)return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return d(t[e])},set:(t,e,n)=>(t[e]=n,!0),has:(t,e)=>t instanceof IDBTransaction&&("done"===e||"store"===e)||e in t};function d(t){var e;if(t instanceof IDBRequest)return function(t){let e=new Promise((e,n
1)=>{let i=()=>{t.removeEventListener("success",o),t.removeEventListener("error",r)},o=()=>{e(d(t.result)),i()},r=()=>{n(t.error),i()};t.addEventListener("success",o),t.addEventListener("error",r)});return e.then(e=>{e instanceof IDBCursor&&l.set(e,t)}).catch(()=>{}),h.set(e,t),e}(t);if(c.has(t))return c.get(t);let n="function"==typeof(e=t)?e!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?(o||(o=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(e)?function(...t){return e.apply(p(this),t),d(l.get(this))}:function(...t){return d(e.apply(p(this),t))}:function(t,...n){let i=e.call(p(this),t,...n);return u.set(i,t.sort?t.sort():[t]),d(i)}:(e instanceof IDBTransaction&&function(t){if(a.has(t))return;let e=new Promise((e,n)=>{let i=()=>{t.removeEventListener("complete",o),t.removeEventListener("error",r),t.removeEventListener("abort",r)},o=()=>{e(),i()},r=()=>{n(t.error||new DOMException("AbortError","AbortError")),i()};t.addEventListener("complete",o),t.addEventListener("error",r),t.addEventListener("abort",r)});a.set(t,e)}(e),s(e,i||(i=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])))?new Proxy(e,f):e;return n!==t&&(c.set(t,n),h.set(n,t)),n}let p=t=>h.get(t);function m(t,e,{blocked:n,upgrade:i,blocking:o,terminated:r}={}){let s=indexedDB.open(t,e),l=d(s);return i&&s.addEventListener("upgradeneeded",t=>{i(d(s.result),t.oldVersion,t.newVersion,d(s.transaction),t)}),n&&s.addEventListener("blocked",t=>n(t.oldVersion,t.newVersion,t)),l.then(t=>{r&&t.addEventListener("close",()=>r()),o&&t.addEventListener("versionchange",t=>o(t.oldVersion,t.newVersion,t))}).catch(()=>{}),l}function v(t,{blocked:e}={}){let n=indexedDB.deleteDatabase(t);return e&&n.addEventListener("blocked",t=>e(t.oldVersion,t)),d(n).then(()=>void 0)}let _=["get","getKey","getAll","getAllKeys","count"],g=["put","add","delete","clear"],y=new Map;function w(t,e){if(!(t instanceof IDBDatabase&&!(e in t)&&"string"==typeof e))return;if(y.get(e))return y.get(e);let n=e.replace(/FromIndex$/,""),i=e!==n,o=g.includes(n);if(!(n in(i?IDBIndex:IDBObjectStore).prototype)||!(o||_.includes(n)))return;let r=async function(t,...e){let r=this.transaction(t,o?"readwrite":"readonly"),s=r.store;return i&&(s=s.index(e.shift())),(await Promise.all([s[n](...e),o&&r.done]))[0]};return y.set(e,r),r}f={...r=f,get:(t,e,n)=>w(t,e)||r.get(t,e,n),has:(t,e)=>!!w(t,e)||r.has(t,e)}},81387:function(t,e,n){"use strict";n.d(e,{C:function(){return a}});var i=n(25780),o=n(22364),r=n(51828),s=n(63504),l=n(29344);let a=(0,i.Au)(function({center:t,children:e,...n},i){let s=new l.Circle(t,n);return(0,o.O)(s,(0,r.sj)(i,{overlayContainer:s}))},s.T)},24016:function(t,e,n){"use strict";n.d(e,{c:function(){return a}});var i=n(25780),o=n(22364),r=n(51828),s=n(63504),l=n(29344);let a=(0,i.Au)(function({center:t,children:e,...n},i){let s=new l.CircleMarker(t,n);return(0,o.O)(s,(0,r.sj)(i,{overlayContainer:s}))},s.T)},53740:function(t,e,n){"use strict";n.d(e,{h:function(){return l}});var i=n(51828),o=n(29344),r=n(27378);function s(){return(s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}).apply(this,arguments)}let l=(0,r.forwardRef)(function({bounds:t,boundsOptions:e,center:n,children:l,className:a,id:u,placeholder:c,style:h,whenReady:f,zoom:d,...p},m){let[v]=(0,r.useState)({className:a,id:u,style:h}),[_,g]=(0,r.useState)(null);(0,r.useImperativeHandle)(m,()=>_?.map??null,[_]);let y=(0,r.useCallback)(r=>{if(null!==r&&null===_){let s=new o.Map(r,p);null!=n&&null!=d?s.setView(n,d):null!=t&&s.fitBounds(t,e),null!=f&&s.whenReady(f),g((0,i.Hb)(s))}},[]);(0,r.useEffect)(()=>()=>{_?.map.remove()},[_]);let w=_?r.createElement(i.UO,{value:_},l):c??null;return r.createElement("div",s({},v,{ref:y}),w)})},10132:function(t,e,n){"use strict";n.d(e,{J:function(){return l}});var i=n(25780),o=n(22364),r=n(51828),s=n(29344);let l=(0,i.dW)(function({position:t,...e},n){let i=new s.Marker(t,e);return(0,o.O)(i,(0,r.sj)(n,{overlayContainer:i}))},function(t,e,n){e.position!==n.position&&t.setLatLng(e.position),null!=e.icon&&e.icon!==n.icon&&t.setIcon(e.icon),null!=e.zIndexOffset&&e.zIndexOffset!==n.zIndexOffset&&t.setZIndexOffset(e.zIndexOffset),null!=e.opacity&&e.opacity!==n.opacity&&t.setOpacity(e.opacity),null!=t.dragging&&e.draggable!==n.draggable&&(!0===e.draggable?t.dragging.enable():t.dragging.disable())})},26327:function(t,e,n){"use strict";n.d(e,{m:function(){return l}});var i=n(25780),o=n(22364),r=n(51828),s=n(29344);let l=(0,i.Au)(function({positions:t,...e},n){let i=new s.Polygon(t,e);return(0,o.O)(i,(0,r.sj)(n,{overlayContainer:i}))},function(t,e,n){e.positions!==n.positions&&t.setLatLngs(e.positions)})},9432:function(t,e,n){"use strict";n.d(e,{a:function(){return l}});var i=n(25780),o=n(22364),r=n(51828),s=n(29344);let l=(0,i.Au)(function({positions:t,...e},n){let i=new s.Polyline(t,e);return(0,o.O)(i,(0,r.sj)(n,{overlayContainer:i}))},function(t,e,n){e.positions!==n.positions&&t.setLatLngs(e.positions)})},86711:function(t,e,n){"use strict";n.d(e,{G:function(){return l}});var i=n(25780),o=n(22364),r=n(29344),s=n(27378);let l=(0,i.SO)(function(t,e){let n=new r.Popup(t,e.overlayContainer);return(0,o.O)(n,e)},function(t,e,{position:n},i){(0,s.useEffect)(function(){let{instance:o}=t;function r(t){t.popup===o&&(o.update(),i(!0))}function s(t){t.popup===o&&i(!1)}return e.map.on({popupopen:r,popupclose:s}),null==e.overlayContainer?(null!=n&&o.setLatLng(n),o.openOn(e.map)):e.overlayContainer.bindPopup(o),function(){e.map.off({popupopen:r,popupclose:s}),e.overlayContainer?.unbindPopup(),e.map.removeLayer(o)}},[t,e,i,n])})},90290:function(t,e,n){"use strict";n.d(e,{j:function(){return r}});var i=n(25780),o=n(29344);let r=(0,i.vm)(function(t){return new o.Control.Scale(t)})},38e3:function(t,e,n){"use strict";n.d(e,{u:function(){return l}});var i=n(25780),o=n(22364),r=n(29344),s=n(27378);let l=(0,i.SO)(function(t,e){let n=new r.Tooltip(t,e.overlayContainer);return(0,o.O)(n,e)},function(t,e,{position:n},i){(0,s.useEffect)(function(){let o=e.overlayContainer;if(null==o)return;let{instance:r}=t,s=t=>
1{t.tooltip===r&&(null!=n&&r.setLatLng(n),r.update(),i(!0))},l=t=>{t.tooltip===r&&i(!1)};return o.on({tooltipopen:s,tooltipclose:l}),o.bindTooltip(r),function(){o.off({tooltipopen:s,tooltipclose:l}),null!=o._map&&o.unbindTooltip()}},[t,e,i,n])})},50724:function(t,e,n){"use strict";n.d(e,{$_:function(){return s},Sx:function(){return r},zV:function(){return l}});var i=n(51828),o=n(27378);function r(){return(0,i.mE)().map}function s(t,e){let n=r();return(0,o.useEffect)(function(){return n.on(t,e),function(){n.off(t,e)}},[n,t,e]),n}function l(t){let e=r();return(0,o.useEffect)(function(){return e.on(t),function(){e.off(t)}},[e,t]),e}},35982:function(t,e,n){"use strict";n.r(e),n.d(e,{AttributionControl:function(){return s},Circle:function(){return l.C},CircleMarker:function(){return a.c},FeatureGroup:function(){return h},GeoJSON:function(){return f},ImageOverlay:function(){return p},LayerGroup:function(){return m},LayersControl:function(){return b},MapContainer:function(){return E.h},Marker:function(){return S.J},Pane:function(){return T},Polygon:function(){return D.m},Polyline:function(){return P.a},Popup:function(){return F.G},Rectangle:function(){return I},SVGOverlay:function(){return U},ScaleControl:function(){return M.j},TileLayer:function(){return Z},Tooltip:function(){return H.u},VideoOverlay:function(){return G},WMSTileLayer:function(){return q},ZoomControl:function(){return N},useMap:function(){return i.Sx},useMapEvent:function(){return i.$_},useMapEvents:function(){return i.zV}});var i=n(50724),o=n(25780),r=n(29344);let s=(0,o.vm)(function(t){return new r.Control.Attribution(t)});var l=n(81387),a=n(24016),u=n(22364),c=n(51828);let h=(0,o.Au)(function({children:t,...e},n){let i=new r.FeatureGroup([],e);return(0,u.O)(i,(0,c.sj)(n,{layerContainer:i,overlayContainer:i}))}),f=(0,o.Au)(function({data:t,...e},n){let i=new r.GeoJSON(t,e);return(0,u.O)(i,(0,c.sj)(n,{overlayContainer:i}))},function(t,e,n){e.style!==n.style&&(null==e.style?t.resetStyle():t.setStyle(e.style))});var d=n(37551);let p=(0,o.dW)(function({bounds:t,url:e,...n},i){let o=new r.ImageOverlay(e,t,n);return(0,u.O)(o,(0,c.sj)(i,{overlayContainer:o}))},function(t,e,n){if((0,d.Z)(t,e,n),e.bounds!==n.bounds){let n=e.bounds instanceof r.LatLngBounds?e.bounds:new r.LatLngBounds(e.bounds);t.setBounds(n)}e.url!==n.url&&t.setUrl(e.url)}),m=(0,o.dW)(function({children:t,...e},n){let i=new r.LayerGroup([],e);return(0,u.O)(i,(0,c.sj)(n,{layerContainer:i}))});var v=n(11689),_=n(34825),g=n(27378);let y=(0,u.I)(function({children:t,...e},n){let i=new r.Control.Layers(void 0,void 0,e);return(0,u.O)(i,(0,c.sj)(n,{layersControl:i}))},function(t,e,n){e.collapsed!==n.collapsed&&(!0===e.collapsed?t.collapse():t.expand())}),w=(0,v.y)(y),b=(0,_.RA)(w);function C(t){return function(e){let n=(0,c.mE)(),i=(0,g.useRef)(e),[o,r]=(0,g.useState)(null),{layersControl:s,map:l}=n,a=(0,g.useCallback)(e=>{null!=s&&(i.current.checked&&l.addLayer(e),t(s,e,i.current.name),r(e))},[s,l]),u=(0,g.useCallback)(t=>{s?.removeLayer(t),r(null)},[s]),h=(0,g.useMemo)(()=>(0,c.sj)(n,{layerContainer:{addLayer:a,removeLayer:u}}),[n,a,u]);return(0,g.useEffect)(()=>{null!==o&&i.current!==e&&(!0===e.checked&&(null==i.current.checked||!1===i.current.checked)?l.addLayer(o):!0===i.current.checked&&(null==e.checked||!1===e.checked)&&l.removeLayer(o),i.current=e)}),e.children?g.createElement(c.UO,{value:h},e.children):null}}b.BaseLayer=C(function(t,e,n){t.addBaseLayer(e,n)}),b.Overlay=C(function(t,e,n){t.addOverlay(e,n)});var E=n(53740),S=n(10132),k=n(86706),x=n(31542);let O=["mapPane","markerPane","overlayPane","popupPane","shadowPane","tilePane","tooltipPane"];function B(t,e){let{[e]:n,...i}=t;return i}let T=(0,g.forwardRef)(function(t,e){let[n]=(0,g.useState)(t.name),[i,o]=(0,g.useState)(null);(0,g.useImperativeHandle)(e,()=>i,[i]);let r=(0,c.mE)(),s=(0,g.useMemo)(()=>({...r,pane:n}),[r]);return(0,g.useEffect)(()=>(o(function(t,e,n){if(-1!==O.indexOf(t))throw Error(`You must use a unique name for a pane that is not a default Leaflet pane: ${t}`);if(null!=n.map.getPane(t))throw Error(`A pane with this name already exists: ${t}`);let i=e.pane??n.pane,o=i?n.map.getPane(i):void 0,r=n.map.createPane(t,o);return null!=e.className&&(0,k.yn)(r,e.className),null!=e.style&&Object.keys(e.style).forEach(t=>{r.style[t]=e.style[t]}),r}(n,t,r)),function(){let t=r.map.getPane(n);t?.remove?.(),null!=r.map._panes&&(r.map._panes=B(r.map._panes,n),r.map._paneRenderers=B(r.map._paneRenderers,n))}),[]),null!=t.children&&null!=i?(0,x.createPortal)(g.createElement(c.UO,{value:s},t.children),i):null});var D=n(26327),P=n(9432),F=n(86711);let I=(0,o.Au)(function({bounds:t,...e},n){let i=new r.Rectangle(t,e);
1return(0,u.O)(i,(0,c.sj)(n,{overlayContainer:i}))},function(t,e,n){e.bounds!==n.bounds&&t.setBounds(e.bounds)});var M=n(90290),z=n(85545);let A=(0,u.I)(function(t,e){let{attributes:n,bounds:i,...o}=t,s=document.createElementNS("http://www.w3.org/2000/svg","svg");s.setAttribute("xmlns","http://www.w3.org/2000/svg"),null!=n&&Object.keys(n).forEach(t=>{s.setAttribute(t,n[t])});let l=new r.SVGOverlay(s,i,o);return(0,u.O)(l,e,s)},d.Z),j=(0,z.u)(A),U=(0,g.forwardRef)(function({children:t,...e},n){let{instance:i,container:o}=j(e).current;return(0,g.useImperativeHandle)(n,()=>i),null==o||null==t?null:(0,x.createPortal)(t,o)});var R=n(54633),V=n(15676);let Z=(0,o.Lf)(function({url:t,...e},n){let i=new r.TileLayer(t,(0,R.q)(e,n));return(0,u.O)(i,n)},function(t,e,n){(0,V.I)(t,e,n);let{url:i}=e;null!=i&&i!==n.url&&t.setUrl(i)});var H=n(38e3);let G=(0,o.dW)(function({bounds:t,url:e,...n},i){let o=new r.VideoOverlay(e,t,n);return!0===n.play&&o.getElement()?.play(),(0,u.O)(o,(0,c.sj)(i,{overlayContainer:o}))},function(t,e,n){(0,d.Z)(t,e,n),"string"==typeof e.url&&e.url!==n.url&&t.setUrl(e.url);let i=t.getElement();null==i||(!0!==e.play||n.play?e.play||!0!==n.play||i.pause():i.play())}),q=(0,o.Lf)(function({eventHandlers:t,params:e={},url:n,...i},o){let s=new r.TileLayer.WMS(n,{...e,...(0,R.q)(i,o)});return(0,u.O)(s,o)},function(t,e,n){(0,V.I)(t,e,n),null!=e.params&&e.params!==n.params&&t.setParams(e.params)}),N=(0,o.vm)(function(t){return new r.Control.Zoom(t)})}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.