PageSourceSearch

https://www.praguecoolpass.com/js/chunk-d9f757e2.e22200d8.js

js praguecoolpass.com collected 2026-09-24 10:14:43 UTC 333,513 bytes, 7 lines download raw bytes

1(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-d9f757e2"],{"03d6":function(t,e,i){var n=i("9c0e"),o=i("6ca1"),s=i("39ad")(!1),r=i("5a94")("IE_PROTO");t.exports=function(t,e){var i,a=o(t),u=0,l=[];for(i in a)i!=r&&n(a,i)&&l.push(i);while(e.length>u)n(a,i=e[u++])&&(~s(l,i)||l.push(i));return l}},"051b":function(t,e,i){var n=i("1a14"),o=i("10db");t.exports=i("0bad")?function(t,e,i){return n.f(t,e,o(1,i))}:function(t,e,i){return t[e]=i,t}},"05f5":function(t,e,i){var n=i("7a41"),o=i("ef08").document,s=n(o)&&n(o.createElement);t.exports=function(t){return s?o.createElement(t):{}}},"0671":function(t,e,i){"use strict";i("ec06")},"0983":function(t,e,i){var n=i("c901");t.exports=function(t){return Object(n(t))}},"0ae2":function(t,e,i){var n=i("9876"),o=i("fed5"),s=i("1917");t.exports=function(t){var e=n(t),i=o.f;if(i){var r,a=i(t),u=s.f,l=0;while(a.length>l)u.call(t,r=a[l++])&&e.push(r)}return e}},"0b99":function(t,e,i){"use strict";var n=i("19fa")(!0);i("393a")(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,i=this._i;return i>=e.length?{value:void 0,done:!0}:(t=n(e,i),this._i+=t.length,{value:t,done:!1})}))},"0bad":function(t,e,i){t.exports=!i("4b8b")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},1098:function(t,e,i){"use strict";e.__esModule=!0;var n=i("17ed"),o=u(n),s=i("f893"),r=u(s),a="function"===typeof r.default&&"symbol"===typeof o.default?function(t){return typeof t}:function(t){return t&&"function"===typeof r.default&&t.constructor===r.default&&t!==r.default.prototype?"symbol":typeof t};function u(t){return t&&t.__esModule?t:{default:t}}e.default="function"===typeof r.default&&"symbol"===a(o.default)?function(t){return"undefined"===typeof t?"undefined":a(t)}:function(t){return t&&"function"===typeof r.default&&t.constructor===r.default&&t!==r.default.prototype?"symbol":"undefined"===typeof t?"undefined":a(t)}},"10db":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},1609:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},"17ed":function(t,e,i){t.exports={default:i("511f"),__esModule:!0}},1836:function(t,e,i){var n=i("6ca1"),o=i("6438").f,s={}.toString,r="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return o(t)}catch(e){return r.slice()}};t.exports.f=function(t){return r&&"[object Window]"==s.call(t)?a(t):o(n(t))}},1917:function(t,e){e.f={}.propertyIsEnumerable},"19fa":function(t,e,i){var n=i("fc5e"),o=i("c901");t.exports=function(t){return function(e,i){var s,r,a=String(o(e)),u=n(i),l=a.length;return u<0||u>=l?t?"":void 0:(s=a.charCodeAt(u),s<55296||s>56319||u+1===l||(r=a.charCodeAt(u+1))<56320||r>57343?t?a.charAt(u):s:t?a.slice(u,u+2):r-56320+(s-55296<<10)+65536)}}},"1a14":function(t,e,i){var n=i("77e9"),o=i("faf5"),s=i("3397"),r=Object.defineProperty;e.f=i("0bad")?Object.defineProperty:function(t,e,i){if(n(t),e=s(e,!0),n(i),o)try{return r(t,e,i)}catch(a){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(t[e]=i.value),t}},2253:function(t,e,i){"use strict";var n=i("e11e"),o=function(t){return t&&"function"===typeof t.charAt?t.charAt(0).toUpperCase()+t.slice(1):t},s=function(t,e,i,s){var r=function(s){var r="set"+o(s),a=i[s].type===Object||i[s].type===Array||Array.isArray(i[s].type);i[s].custom&&t[r]?t.$watch(s,(function(e,i){t[r](e,i)}),{deep:a}):"setOptions"===r?t.$watch(s,(function(t,i){Object(n["setOptions"])(e,t)}),{deep:a}):e[r]&&t.$watch(s,(function(t,i){e[r](t)}),{deep:a})};for(var a in i)r(a)},r=function(t){var e={};for(var i in t){var n=t[i];null!==n&&void 0!==n&&(e[i]=n)}return e},a=function(t,e){var i=e.options&&e.options.constructor===Object?e.options:{};t=t&&t.constructor===Object?t:{};var n=r(i);t=r(t);var o=e.$options.props;for(var s in t){var a=o[s]?o[s].default&&"function"===typeof o[s].default?o[s].default.call():o[s].default:Symbol("unique"),u=!1;u=Array.isArray(a)?JSON.stringify(a)===JSON.stringify(t[s]):a===t[s],n[s]&&!u?(console.warn(s+" props is overriding the value passed in the options props"),n[s]=t[s]):n[s]||(n[s]=t[s])}return n},u=function(t){var e=!1;while(t&&!e)void 0===t.mapObject?t=t.$parent:e=!0;return t},l={props:{position:{type:String,default:"topright"}},mounted:function(){this.controlOptions={position:this.position}},beforeDestroy:function(){this.mapObject&&this.mapObject.remove()}},c={props:{options:{type:Object,default:function(){return{}}}}},h={name:"LControl",mixins:[l,c],props:{disableClickPropagation:{type:Boolean,custom:!0,default:!0},disableScrollPropagation:{type:Boolean,custom:!0,default:!1}},mounted:function(){var t=this,e=n["Control"].extend({element:void 0,onAdd:function(){return this.element},setElement:function(t){this.element=t}}),i=a(this.controlOptions,this);
1this.mapObject=new e(i),s(this,this.mapObject,this.$options.props),this.parentContainer=u(this.$parent),this.mapObject.setElement(this.$el),this.disableClickPropagation&&n["DomEvent"].disableClickPropagation(this.$el),this.disableScrollPropagation&&n["DomEvent"].disableScrollPropagation(this.$el),this.mapObject.addTo(this.parentContainer.mapObject),this.$nextTick((function(){t.$emit("ready",t.mapObject)}))}};function p(t,e,i,n,o,s,r,a,u,l){"boolean"!==typeof r&&(u=a,a=r,r=!1);var c,h="function"===typeof i?i.options:i;if(t&&t.render&&(h.render=t.render,h.staticRenderFns=t.staticRenderFns,h._compiled=!0,o&&(h.functional=!0)),n&&(h._scopeId=n),s?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,u(t)),t&&t._registeredComponents&&t._registeredComponents.add(s)},h._ssrRegister=c):e&&(c=r?function(t){e.call(this,l(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,a(t))}),c)if(h.functional){var p=h.render;h.render=function(t,e){return c.call(e),p(t,e)}}else{var d=h.beforeCreate;h.beforeCreate=d?[].concat(d,c):[c]}return i}var d=h,f=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[t._t("default")],2)},m=[],_=void 0,y=void 0,v=void 0,g=!1,b=p({render:f,staticRenderFns:m},_,d,y,g,v,!1,void 0,void 0,void 0);e["a"]=b},2520:function(t,e,i){"use strict";i("87f5")},"258a":function(t,e,i){"use strict";var n=i("e11e"),o=function(t){return t&&"function"===typeof t.charAt?t.charAt(0).toUpperCase()+t.slice(1):t},s=function(t,e,i,s){var r=function(s){var r="set"+o(s),a=i[s].type===Object||i[s].type===Array||Array.isArray(i[s].type);i[s].custom&&t[r]?t.$watch(s,(function(e,i){t[r](e,i)}),{deep:a}):"setOptions"===r?t.$watch(s,(function(t,i){Object(n["setOptions"])(e,t)}),{deep:a}):e[r]&&t.$watch(s,(function(t,i){e[r](t)}),{deep:a})};for(var a in i)r(a)},r=function(t){var e={};for(var i in t){var n=t[i];null!==n&&void 0!==n&&(e[i]=n)}return e},a=function(t,e){var i=e.options&&e.options.constructor===Object?e.options:{};t=t&&t.constructor===Object?t:{};var n=r(i);t=r(t);var o=e.$options.props;for(var s in t){var a=o[s]?o[s].default&&"function"===typeof o[s].default?o[s].default.call():o[s].default:Symbol("unique"),u=!1;u=Array.isArray(a)?JSON.stringify(a)===JSON.stringify(t[s]):a===t[s],n[s]&&!u?(console.warn(s+" props is overriding the value passed in the options props"),n[s]=t[s]):n[s]||(n[s]=t[s])}return n},u=function(t){var e=!1;while(t&&!e)void 0===t.mapObject?t=t.$parent:e=!0;return t},l={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,e){var i=this.$parent.mapObject.attributionControl;i.removeAttribution(e).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)}}},c={props:{interactive:{type:Boolean,default:!0},bubblingMouseEvents:{type:Boolean,default:!0}},mounted:function(){this.interactiveLayerOptions={interactive:this.interactive,bubblingMouseEvents:this.bubblingMouseEvents}}},h={mixins:[l,c],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)for(var t in console.warn("lStyle is deprecated and is going to be removed in the next major version"),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})}}},p={mixins:[h],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)}}},d={mixins:[p],props:{fill:{type:Boolean,custom:!0,default:!0}},mounted:function(){this.polygonOptions=this.polyLineOptions},methods:{getGeoJSONData:function(){return this.mapObject.toGeoJSON()}}},f={props:{options:{type:Object,default:function(){return{}}}}},m={name:"LPolygon",mixins:[d,f],props:{latLngs:{type:Array,default:function(){return[]}}},data:function(){return{ready:!1}},mounted:function(){var t=this,e=a(this.polygonOptions,this);this.mapObject=Object(n["polygon"])(this.latLngs,e),n["DomEvent"].on(this.mapObject,this.$listeners),s(this,this.mapObject,this.$options.props),this.ready=!0,this.parentContainer=u(this.$parent),this.parentContainer.addLayer(this,!this.visible),this.$nextTick((function(){t.$emit("ready",t.mapObject)}))}};function _(t,e,i,n,o,s,r,a,u,l){"boolean"!==typeof r&&(u=a,a=r,r=!1);var c,h="function"===typeof i?i.options:i;if(t&&t.render&&(h.render=t.render,h.staticRenderFns=t.staticRenderFns,h._compiled=!0,o&&(h.functional=!0)),n&&(h._scopeId=n),s?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,u(t)),t&&t._registeredComponents&&t._registeredComponents.add(s)},h._ssrRegister=c):e&&(c=r?function(t){e.call(this,l(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,a(t))}),c)if(h.functional){var p=h.render;h.render=function(t,e){return c.call(e),p(t,e)}}else{var d=h.beforeCreate;h.beforeCreate=d?[].concat(d,c):[c]}return i}var y=m,v=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticStyle:{display:"none"}},[t.ready?t._t("default"):t._e()],2)},g=[],b=void 0,O=void 0,C=void 0,L=!1,S=_({render:v,staticRenderFns:g}
1,b,y,O,L,C,!1,void 0,void 0,void 0);e["a"]=S},2699:function(t,e,i){"use strict";var n=i("e11e"),o=function(t,e){var i,n=function(){var n=[],o=arguments.length;while(o--)n[o]=arguments[o];var s=this;i&&clearTimeout(i),i=setTimeout((function(){t.apply(s,n),i=null}),e)};return n.cancel=function(){i&&clearTimeout(i)},n},s=function(t){return t&&"function"===typeof t.charAt?t.charAt(0).toUpperCase()+t.slice(1):t},r=function(t,e,i,o){var r=function(o){var r="set"+s(o),a=i[o].type===Object||i[o].type===Array||Array.isArray(i[o].type);i[o].custom&&t[r]?t.$watch(o,(function(e,i){t[r](e,i)}),{deep:a}):"setOptions"===r?t.$watch(o,(function(t,i){Object(n["setOptions"])(e,t)}),{deep:a}):e[r]&&t.$watch(o,(function(t,i){e[r](t)}),{deep:a})};for(var a in i)r(a)},a=function(t){var e={};for(var i in t){var n=t[i];null!==n&&void 0!==n&&(e[i]=n)}return e},u=function(t,e){var i=e.options&&e.options.constructor===Object?e.options:{};t=t&&t.constructor===Object?t:{};var n=a(i);t=a(t);var o=e.$options.props;for(var s in t){var r=o[s]?o[s].default&&"function"===typeof o[s].default?o[s].default.call():o[s].default:Symbol("unique"),u=!1;u=Array.isArray(r)?JSON.stringify(r)===JSON.stringify(t[s]):r===t[s],n[s]&&!u?(console.warn(s+" props is overriding the value passed in the options props"),n[s]=t[s]):n[s]||(n[s]=t[s])}return n},l={props:{options:{type:Object,default:function(){return{}}}}},c={name:"LMap",mixins:[l],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 n["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?Object(n["latLng"])(this.center):null,lastSetBounds:this.bounds?Object(n["latLngBounds"])(this.bounds):null,layerControl:void 0,layersToAdd:[],layersInControl:[]}},computed:{fitBoundsOptions:function(){var t={animate:!this.noBlockingAnimations&&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,e=u({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=Object(n["map"])(this.$el,e),this.bounds&&this.fitBounds(this.bounds),this.debouncedMoveEndHandler=o(this.moveEndHandler,100),this.mapObject.on("moveend",this.debouncedMoveEndHandler),this.mapObject.on("overlayadd",this.overlayAddHandler),this.mapObject.on("overlayremove",this.overlayRemoveHandler),n["DomEvent"].on(this.mapObject,this.$listeners),r(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 e=this;this.layerControl=t,this.mapObject.addControl(t.mapObject),this.layersToAdd.forEac
1h((function(t){e.layerControl.addLayer(t)})),this.layersToAdd=[]},addLayer:function(t,e){if(void 0!==t.layerType)if(void 0===this.layerControl)this.layersToAdd.push(t);else{var i=this.layersInControl.find((function(e){return e.mapObject._leaflet_id===t.mapObject._leaflet_id}));i||(this.layerControl.addLayer(t),this.layersInControl.push(t))}e||!1===t.visible||this.mapObject.addLayer(t.mapObject)},hideLayer:function(t){this.mapObject.removeLayer(t.mapObject)},removeLayer:function(t,e){void 0!==t.layerType&&(void 0===this.layerControl?this.layersToAdd=this.layersToAdd.filter((function(e){return e.name!==t.name})):(this.layerControl.removeLayer(t),this.layersInControl=this.layersInControl.filter((function(e){return e.mapObject._leaflet_id!==t.mapObject._leaflet_id})))),e||this.mapObject.removeLayer(t.mapObject)},setZoom:function(t,e){void 0!==t&&null!==t&&(this.mapObject.setZoom(t,{animate:!this.noBlockingAnimations&&null}),this.cacheMapView())},setCenter:function(t,e){if(null!=t){var i=Object(n["latLng"])(t),o=this.lastSetCenter||this.mapObject.getCenter();o.lat===i.lat&&o.lng===i.lng||(this.lastSetCenter=i,this.mapObject.panTo(i,{animate:!this.noBlockingAnimations&&null}),this.cacheMapView(void 0,i))}},setBounds:function(t,e){if(t){var i=Object(n["latLngBounds"])(t);if(i.isValid()){var o=this.lastSetBounds||this.mapObject.getBounds(),s=!o.equals(i,0);s&&(this.fitBounds(i),this.cacheMapView(i))}}},setPaddingBottomRight:function(t,e){this.paddingBottomRight=t},setPaddingTopLeft:function(t,e){this.paddingTopLeft=t},setPadding:function(t,e){this.padding=t},setCrs:function(t,e){var i=this.mapObject,n=i.getBounds();i.options.crs=t,this.fitBounds(n,{animate:!1})},fitBounds:function(t,e){this.mapObject.fitBounds(t,Object.assign({},this.fitBoundsOptions,e))},moveEndHandler:function(){this.$emit("update:zoom",this.mapObject.getZoom());var t=this.mapObject.getCenter();this.$emit("update:center",t);var e=this.mapObject.getBounds();this.$emit("update:bounds",e)},overlayAddHandler:function(t){var e=this.layersInControl.find((function(e){return e.name===t.name}));e&&e.updateVisibleProp(!0)},overlayRemoveHandler:function(t){var e=this.layersInControl.find((function(e){return e.name===t.name}));e&&e.updateVisibleProp(!1)},cacheMapView:function(t,e){this.lastSetBounds=t||this.mapObject.getBounds(),this.lastSetCenter=e||this.lastSetBounds.getCenter()}}};function h(t,e,i,n,o,s,r,a,u,l){"boolean"!==typeof r&&(u=a,a=r,r=!1);var c,h="function"===typeof i?i.options:i;if(t&&t.render&&(h.render=t.render,h.staticRenderFns=t.staticRenderFns,h._compiled=!0,o&&(h.functional=!0)),n&&(h._scopeId=n),s?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,u(t)),t&&t._registeredComponents&&t._registeredComponents.add(s)},h._ssrRegister=c):e&&(c=r?function(t){e.call(this,l(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,a(t))}),c)if(h.functional){var p=h.render;h.render=function(t,e){return c.call(e),p(t,e)}}else{var d=h.beforeCreate;h.beforeCreate=d?[].concat(d,c):[c]}return i}var p,d="undefined"!==typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());function f(t){return function(t,e){return _(t,e)}}var m={};function _(t,e){var i=d?e.media||"default":t,n=m[i]||(m[i]={ids:new Set,styles:[]});if(!n.ids.has(t)){n.ids.add(t);var o=e.source;if(e.map&&(o+="\n/*# sourceURL="+e.map.sources[0]+" */",o+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e.map))))+" */"),n.element||(n.element=document.createElement("style"),n.element.type="text/css",e.media&&n.element.setAttribute("media",e.media),void 0===p&&(p=document.head||document.getElementsByTagName("head")[0]),p.appendChild(n.element)),"styleSheet"in n.element)n.styles.push(o),n.element.styleSheet.cssText=n.styles.filter(Boolean).join("\n");else{var s=n.ids.size-1,r=document.createTextNode(o),a=n.element.childNodes;a[s]&&n.element.removeChild(a[s]),a.length?n.element.insertBefore(r,a[s]):n.element.appendChild(r)}}}var y=c,v=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"vue2leaflet-map"},[t.ready?t._t("default"):t._e()],2)},g=[],b=function(t){t&&t("data-v-09f270aa_0",{source:".vue2leaflet-map{height:100%;width:100%}",map:void 0,media:void 0})},O=void 0,C=void 0,L=!1,S=h({render:v,staticRenderFns:g}
1,b,y,O,L,C,!1,f,void 0,void 0);e["a"]=S},"26dd":function(t,e,i){"use strict";var n=i("6f4f"),o=i("10db"),s=i("92f0"),r={};i("051b")(r,i("cc15")("iterator"),(function(){return this})),t.exports=function(t,e,i){t.prototype=n(r,{next:o(1,i)}),s(t,e+" Iterator")}},"2acb":function(t,e){L.GridLayer.GoogleMutant=L.GridLayer.extend({options:{minZoom:0,maxZoom:21,tileSize:256,subdomains:"abc",errorTileUrl:"",attribution:"",opacity:1,continuousWorld:!1,noWrap:!1,type:"roadmap",maxNativeZoom:21},initialize:function(t){L.GridLayer.prototype.initialize.call(this,t),this._ready=!!window.google&&!!window.google.maps&&!!window.google.maps.Map,this._isMounted=!0,this._GAPIPromise=this._ready?Promise.resolve(window.google):new Promise((function(t,e){var i=0,n=null;n=setInterval((function(){return i>=10?(clearInterval(n),e(new Error("window.google not found after 10 attempts"))):window.google&&window.google.maps&&window.google.maps.Map?(clearInterval(n),t(window.google)):void++i}),500)})),this.once("spawned",(function(){if(this._subLayers)for(var t in this._subLayers)this._subLayers[t].setMap(this._mutant)})),this._tileCallbacks={},this._freshTiles={},this._imagesPerTile="hybrid"===this.options.type?2:1,this._boundOnMutatedImage=this._onMutatedImage.bind(this)},onAdd:function(t){L.GridLayer.prototype.onAdd.call(this,t),this._initMutantContainer(),this._GAPIPromise.then(function(){if(this._isMounted&&(this._ready=!0,this._initMutant(),t=this._map,t)){var e=this.options.updateWhenIdle?"moveend":"move";t.on(e,this._update,this),this.once("remove",(function(){this._map.off(e,this._update,this)})),google.maps.event.addListenerOnce(this._mutant,"idle",function(){this._map&&(this._checkZoomLevels(),this._mutantIsReady=!0)}.bind(this)),this._update()}}.bind(this)),t._controlCorners.bottomright.style.marginBottom="20px",t._controlCorners.bottomleft.style.marginBottom="20px"},onRemove:function(t){L.GridLayer.prototype.onRemove.call(this,t),this._observer.disconnect(),t._container.removeChild(this._mutantContainer),t._controlContainer&&t._controlContainer.removeChild(this._attributesContainer),google.maps.event.clearListeners(t,"idle"),this._mutant&&google.maps.event.clearListeners(this._mutant,"idle"),t.off("viewreset",this._reset,this),t.off("move",this._update,this),t.off("moveend",this._update,this),t.off("zoomend",this._handleZoomAnim,this),t.off("resize",this._resize,this),t._controlCorners&&(t._controlCorners.bottomright.style.marginBottom=0,t._controlCorners.bottomleft.style.marginBottom=0),this._isMounted=!1},addGoogleLayer:function(t,e){return this._subLayers||(this._subLayers={}),this._GAPIPromise.then(function(){var i=google.maps[t],n=new i(e);this._mutant&&n.setMap(this._mutant),this._subLayers[t]=n}.bind(this)),this},removeGoogleLayer:function(t){return this._GAPIPromise.then(function(){var e=this._subLayers&&this._subLayers[t];e&&(e.setMap(null),delete this._subLayers[t])}.bind(this)),this},_initMutantContainer:function(){this._mutantContainer||(this._attributesContainer=L.DomUtil.create("div","mutant-attr-container"),this._mutantContainer=L.DomUtil.create("div","leaflet-google-mutant leaflet-top leaflet-left"),this._mutantContainer.id="_MutantContainer_"+L.Util.stamp(this._mutantContainer),this._mutantContainer.style.zIndex=800,this._mutantContainer.style.pointerEvents="none",L.DomEvent.off(this._mutantContainer)),this._map.getContainer().appendChild(this._mutantContainer),this._map._controlContainer.appendChild(this._attributesContainer),this.setOpacity(this.options.opacity);var t=this._mutantContainer.style;t.width="100%",t.height="100%",t.zIndex=-1,this._attachObserver(this._mutantContainer)},_initMutant:function(){if(!this._mutant){var t=new google.maps.Map(this._mutantContainer,{center:{lat:0,lng:0},zoom:0,tilt:0,mapTypeId:this.options.type,disableDefaultUI:!0,keyboardShortcuts:!1,draggable:!1,disableDoubleClickZoom:!0,scrollwheel:!1,streetViewControl:!1,styles:this.options.styles||{},backgroundColor:"transparent"});this._mutant=t,google.maps.event.addListenerOnce(t,"idle",function(){for(var t=this._mutantContainer.querySelectorAll("a"),e=0;e<t.length;++e)t[e].style.pointerEvents="auto"}.bind(this)),this.fire("spawned",{mapObject:t})}},_attachObserver:function(t){this._observer||(this._observer=new MutationObserver(this._onMutations.bind(this))),this._observer.observe(t,{childList:!0,subtree:!0}),Array.prototype.forEach.call(t.querySelectorAll("img"),this._boundOnMutatedImage)},_onMutations:function(t){for(var e=0;e<t.length;++e)for(var i=t[e],n=0;n<i.addedNodes.length;++n){var o=i.addedNodes[n];
1o instanceof HTMLImageElement?this._onMutatedImage(o):o instanceof HTMLElement&&(Array.prototype.forEach.call(o.querySelectorAll("img"),this._boundOnMutatedImage),"white"===o.style.backgroundColor&&L.DomUtil.remove(o),0===o.textContent.indexOf("For development purposes only")&&L.DomUtil.remove(o),Array.prototype.forEach.call(o.querySelectorAll('div[draggable=false][style*="text-align: center"]'),L.DomUtil.remove),(o.querySelectorAll(".gmnoprint").length>0||o.querySelectorAll('a[title="Click to see this area on Google Maps"]').length>0)&&this._attributesContainer.appendChild(o))}},_roadRegexp:/!1i(\d+)!2i(\d+)!3i(\d+)!/,_satRegexp:/x=(\d+)&y=(\d+)&z=(\d+)/,_staticRegExp:/StaticMapService\.GetMapImage/,_onMutatedImage:function(t){var e,i=t.src.match(this._roadRegexp),n=0;if(i?(e={z:i[1],x:i[2],y:i[3]},this._imagesPerTile>1&&(t.style.zIndex=1,n=1)):(i=t.src.match(this._satRegexp),i&&(e={x:i[1],y:i[2],z:i[3]}),n=0),e){var o=this._tileCoordsToKey(e);t.style.position="absolute",t.style.visibility="hidden";var s=o+"/"+n;if(this._freshTiles[s]=t,s in this._tileCallbacks&&this._tileCallbacks[s])this._tileCallbacks[s].pop()(t),this._tileCallbacks[s].length||delete this._tileCallbacks[s];else if(this._tiles[o]){var r=this._tiles[o].el,a=0===n?r.firstChild:r.firstChild.nextSibling,u=this._clone(t);r.replaceChild(u,a)}}else t.src.match(this._staticRegExp)&&(t.style.visibility="hidden")},createTile:function(t,e){var i=this._tileCoordsToKey(t),n=L.DomUtil.create("div");n.dataset.pending=this._imagesPerTile,e=e.bind(this,null,n);for(var o=0;o<this._imagesPerTile;++o){var s=i+"/"+o;if(s in this._freshTiles){var r=this._freshTiles[s];n.appendChild(this._clone(r)),--n.dataset.pending}else this._tileCallbacks[s]=this._tileCallbacks[s]||[],this._tileCallbacks[s].push(function(t){return function(i){t.appendChild(this._clone(i)),--t.dataset.pending,parseInt(t.dataset.pending)||e()}.bind(this)}.bind(this)(n))}return parseInt(n.dataset.pending)||L.Util.requestAnimFrame(e),n},_clone:function(t){var e=t.cloneNode(!0);return e.style.visibility="visible",e},_checkZoomLevels:function(){var t=this._map.getZoom(),e=this._mutant.getZoom();t&&e&&(e!==t||e>this.options.maxNativeZoom)&&this._setMaxNativeZoom(e)},_setMaxNativeZoom:function(t){t!==this.options.maxNativeZoom&&(this.options.maxNativeZoom=t,this._resetView())},_update:function(){if(this._mutant){var t=this._map.getCenter(),e=new google.maps.LatLng(t.lat,t.lng);this._mutant.setCenter(e);var i=this._map.getZoom(),n=i!==Math.round(i),o=this._mutant.getZoom();n||i===o||(this._mutant.setZoom(i),this._mutantIsReady&&this._checkZoomLevels())}L.GridLayer.prototype._update.call(this)},_resize:function(){var t=this._map.getSize();this._mutantContainer.style.width===t.x&&this._mutantContainer.style.height===t.y||(this.setElementSize(this._mutantContainer,t),this._mutant&&google.maps.event.trigger(this._mutant,"resize"))},_handleZoomAnim:function(){if(this._mutant){var t=this._map.getCenter(),e=new google.maps.LatLng(t.lat,t.lng);this._mutant.setCenter(e),this._mutant.setZoom(Math.round(this._map.getZoom()));var i=this._mutant.getZoom();for(var n in Object.keys(this._freshTiles))i!==parseFloat(n.split(":")[2])&&delete this._freshTiles[n]}},_removeTile:function(t){if(this._mutant)return setTimeout(this._pruneTile.bind(this,t),1e3),L.GridLayer.prototype._removeTile.call(this,t)}
1,_getLargeGMapBound:function(t){var e=t.getSouthWest(),i=t.getNorthEast(),n=e.lat(),o=e.lng(),s=i.lat(),r=i.lng(),a=Math.abs(s-n),u=Math.abs(r-o);return L.latLngBounds([[n-a,o-u],[s+a,r+u]])},_pruneTile:function(t){var e=this._mutant.getZoom(),i=t.split(":")[2],n=this._mutant.getBounds();if(n)for(var o=this._getLargeGMapBound(n),s=0;s<this._imagesPerTile;++s){var r=t+"/"+s;if(r in this._freshTiles){var a=this._map&&this._keyToBounds(t),u=this._map&&a.overlaps(o)&&parseFloat(i)===e;u||delete this._freshTiles[r]}}}}),L.gridLayer.googleMutant=function(t){return new L.GridLayer.GoogleMutant(t)}},"2dbc":function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("Layout",[t.pageData&&t.pageData.content&&t.pageImg?i("section",{staticClass:"header justify-center",style:t.getBackground(t.pageImg.url),attrs:{title:t.getSeoText(t.pageImg.title),role:"img","aria-label":t.getSeoText(t.pageImg.alt)}},[i("div",{staticClass:"header-block"},[i("h1",{staticClass:"header-title",domProps:{innerHTML:t._s(t.getTranslatedContent("title",t.pageData.content))}}),t.getTranslatedContent("subtitle",t.pageData.content)?i("h3",{staticClass:"header-subtitle",domProps:{innerHTML:t._s(t.getTranslatedContent("subtitle",t.pageData.content))}}):t._e()])]):t._e(),t.pageData&&t.pageContent&&t.pageContent.description_banner?i("section",{staticClass:"description-banner justify-center"},[t.authorLabel(t.pageData)?i("p",{staticClass:"author container",domProps:{innerHTML:t._s(t.authorLabel(t.pageData))}}):t._e(),i("div",{staticClass:"description"},[t.pageContent.description_banner[0]?i("div",{staticClass:"description-card"},[i("div",{staticClass:"banner-phone"},[i("div",{staticClass:"banner-phone",style:t.getBannerBackground(t.bannerPhoneImg)})]),i("div",{staticClass:"banner-content"},[t.pageContent.description_banner[0].title?i("h3",{staticClass:"banner-title",domProps:{innerHTML:t._s(t.textSanitize(t.pageContent.description_banner[0].title))}}):t._e(),t.pageContent.description_banner[0].subtitle?i("h4",{staticClass:"banner-subtitle",domProps:{innerHTML:t._s(t.textSanitize(t.pageContent.description_banner[0].subtitle))}}):t._e(),t.pageContent.description_banner[0].text?i("div",{staticClass:"banner-text",domProps:{innerHTML:t._s(t.textSanitize(t.pageContent.description_banner[0].text))}}):t._e()])]):t._e(),t.pageContent.description_banner[1]?i("div",{staticClass:"description-card"},[i("div",{staticClass:"banner-card"},[i("div",{staticClass:"banner-card",style:t.getBannerBackground(t.bannerCardImg)})]),i("div",{staticClass:"banner-content"},[t.pageContent.description_banner[1].title?i("h3",{staticClass:"banner-title",domProps:{innerHTML:t._s(t.textSanitize(t.pageContent.description_banner[1].title))}}):t._e(),t.pageContent.description_banner[1].subtitle?i("h4",{staticClass:"banner-subtitle",domProps:{innerHTML:t._s(t.textSanitize(t.pageContent.description_banner[1].subtitle))}}):t._e(),t.pageContent.description_banner[1].text?i("div",{staticClass:"banner-text",domProps:{innerHTML:t._s(t.textSanitize(t.pageContent.description_banner[1].text))}}):t._e()])]):t._e()])]):t._e(),i("SharedBlockSlot",{attrs:{"slot-index":1}}),t.pageData&&t.pageData.isVisibleSharedEShop?i("section",{staticClass:"calculator-section justify-center",attrs:{id:"prices"}},[i("div",{staticClass:"container"},[i("h3",{staticClass:"section-title",domProps:{innerHTML:t._s(t.getSharedTitle("sharedEShopTitle"))}}),i("h3",{staticClass:"calculator-section-subtitle",domProps:{innerHTML:t._s(t.textSanitize(t.pageContentU("prices_description")))}}),i("CalculatorSection"),i("div",{staticClass:"tips"},[i("div",{staticClass:"first-tip-block"},[i("ul",{staticClass:"bullet-list",style:t.getListStyleBullet},[i("li",[t._v(t._s(t.getTranslatedContent("CALCULATOR_card_validity")))]),i("li",[t._v(t._s(t.getTranslatedContent("CALCULATOR_child_card_validity_tip")))]),i("li",[t._v(t._s(t.getTranslatedContent("CALCULATOR_student_id_info")))])])]),i("div",{staticClass:"second-tip-block"},[i("ul",{staticClass:"bullet-list",style:t.getListStyleBullet},[i("li",[t._v(" "+t._s(t.getTranslatedContent("CALCULATOR_groups_info"))+" ")])])]),i("div",{staticClass:"third-tip-block"},[i("div",[i("p",[t._v(t._s(t.getTranslatedContent("ADULT_AGE")))]),i("p",[t._v(t._s(t.getTranslatedContent("STUDENT_AGE")))]),i("p",[t._v(t._s(t.getTranslatedContent("CHILD_AGE")))])]),i("router-link",{staticClass:"link",attrs:{to:t.$l("cancellationRefund")}},[i("button",{staticClass:"button-cancel"},[t._v(" "+t._s(t.getTranslatedContent("CANCELLATION_POLICY"))+" ")])])],1)])],1)]):t._e(),i("section",{staticClass:"steps-section justify-center",attrs:{id:"using-coolpass"}},[i("div",{staticClass:"container"},[i("h3",{staticClass:"section-title",domProps:{innerHTML:t._s(t.getContent("steps_title"))}}),i("HowToUseSection",{attrs:{steps:t.pageContentU("steps")}})],1)]),[i("section",{staticClass:"tips-section justify-center"},[i("div",{staticClass:"container"},[i("h3",{staticClass:"using-title",domProps:{innerHTML:t._s(t.getContent("tips_title"))}}
1),i("div",{staticClass:"tips-details"},[i("div",{staticClass:"first-tip-detail-block"},[i("ul",{style:t.getListStyleTick},t._l(t.tipsColumn1,(function(e,n){return i("li",{key:n,domProps:{innerHTML:t._s(e.text)}})})),0)]),i("div",{staticClass:"second-tip-detail-block"},[i("ul",{style:t.getListStyleTick},t._l(t.tipsColumn2,(function(e,n){return i("li",{key:n,domProps:{innerHTML:t._s(e.text)}})})),0)]),i("div",{staticClass:"third-tip-detail-block"},[i("ul",{style:t.getListStyleTick},t._l(t.tipsColumn3,(function(e,n){return i("li",{key:n,domProps:{innerHTML:t._s(e.text)}})})),0),i("router-link",{staticClass:"link",attrs:{to:t.$l("faq")}},[i("button",{staticClass:"button-faq"},[t._v(" "+t._s(t.getTranslatedContent("GET_YOUR_PASS_read_faq_button"))+" ")])])],1)])])])],i("section",{staticClass:"how-to-get-section justify-center",attrs:{id:"how-to-get"}},[i("div",{staticClass:"container"},[i("h3",{staticClass:"section-title",domProps:{innerHTML:t._s(t.getContent("how_to_get_title"))}}),i("div",{staticClass:"tips-get-card"},[i("div",{staticClass:"tips-get-card-text compact-prices",domProps:{innerHTML:t._s(t.textSanitize(t.injectPrices(t.pageContentU("how_to_get_text"))))}})])])]),i("section",{staticClass:"justify-center",attrs:{id:"sales-points"}},[i("div",{staticClass:"container"},[i("h3",{staticClass:"section-title sales-title",domProps:{innerHTML:t._s(t.getContent("sales_point_title"))}}),i("p",{staticClass:"sales-points-subtitle",domProps:{innerHTML:t._s(t.getTranslatedContent("GET_YOUR_PASS_sales_points_section_text"))}})])]),i("section",{staticClass:"justify-center top-attractions-carousel"},[i("Slider",{attrs:{points:t.points}})],1),i("section",{staticClass:"justify-center map-section"},[i("div",{staticClass:"container"},[i("PointsMap",{attrs:{points:t.points}})],1)]),i("SharedBlockSlot",{attrs:{"slot-index":2}}),i("SharedBlockSlot",{attrs:{"slot-index":3}}),i("SharedBlockSlot",{attrs:{"slot-index":4}})],2)},o=[],s=(i("13d5"),i("2f62")),r=i("444f"),a=i("5e5b"),u=i("0f4e"),l=i.n(u),c=i("43de"),h=i.n(c),p=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"map-wrapper"},[i("LMap",{ref:"map",attrs:{zoom:t.constants.ZOOM_LEVEL.STREETS,"min-zoom":t.constants.ZOOM_LEVEL.CITY,center:t.calculateCenterCoords(),options:t.mapOptions}},[i("Vue2LeafletGoogleMutant",{attrs:{apikey:t.API_KEY,options:t.googleOptions}}),t._l(t.markers,(function(e,n){return i("LMarker",{key:n,attrs:{"lat-lng":t.getPosition(e)},on:{click:function(i){return t.navigate(e)},mouseenter:t.openPopup,mouseleave:t.closePopup}},[i("LIcon",{attrs:{"icon-url":t.getMarkerIcon()}}),i("LPopup",[i("router-link",{staticClass:"link",attrs:{to:{name:"point",params:{slug:e.pointData.slug}}}},[i("div",{staticClass:"popup-container"},[i("div",{staticClass:"point-image",style:t.getBackground(e.pointData.image)}),i("div",{staticClass:"text-content"},[i("h5",{staticClass:"point-title-popup"},[t._v(t._s(t.getTranslatedContent("title",e.pointData.content)))]),i("p",{staticClass:"address-line"},[t._v(t._s(e.pointData.address))])])])])],1)],1)})),t.desktopScreen?t._e():i("LControlFullscreen",{attrs:{position:"bottomleft"}})],2)],1)},d=[],f=i("c46f"),m=i("2699"),_=i("4e2b"),y=i("fbba"),v=i("f60f"),g=i("9fe3"),b=i.n(g),O=i("c222"),C=(i("b048"),i("9eb3"),i("6cc5"),i("f2e5")),L=i("3a78"),S=i("4104"),x=i.n(S),w={name:"PointMap",components:{LMap:m["a"],LMarker:_["a"],LIcon:y["a"],LPopup:v["a"],Vue2LeafletGoogleMutant:b.a,LControlFullscreen:O["a"]},mixins:[C["a"],L["a"]],props:{points:{type:Array,required:!0}},data(){return{API_KEY:Object({VUE_APP_BASE_URL:"https://www.praguecoolpass.com/",VUE_APP_API_BASE_URL:"https://api2.praguecoolpass.com/",VUE_APP_API_BASE_URL_NEW:"https://attractionapi.coolpass.online",VUE_APP_STATIC_URL:"https://productionimages.s3.de.io.cloud.ovh.net/",VUE_APP_ESHOP_BASE_URL:"https://payment.coolpass.info",VUE_APP_STRIPE_KEY:"pk_live_51SHJzoBKDfl7xRvlp3r5MMrJnAWzhyj7EH8gTrZ5kkNPfONLH9a4yDlE9zfI4YRezgKCb7SkseQ3J0X9HTL0D3aT00PCguJOdn",VUE_APP_AUTH_HEADRES:"Basic cm9vdDpVaG9kaTIwMjA=",VUE_APP_ESHOP_ID:"77a85a2a-6b84-4d79-b856-dfafc14340a0",VUE_APP_DESTINATION_ID:"633a81c5b448ed27832327aa",NODE_ENV:"production",BASE_URL:"/"}).GOOGLE_MAPS_API_KEY,constants:{ZOOM_LEVEL:{CITY:10,STREETS:15}}}},computed:{mapOptions(){return{zoomSnap:.5,gestureHandling:!this.desktopScreen,scrollWheelZoom:this.desktopScreen}},googleOptions(){return{styles:[]}},markers(){return this.points?this.points.map(t=>({position:{latitude:t.lat,longitude:t.lon},icon:this.getMarkerIcon(),pointData:{image:"https://productionimages.s3.de.io.cloud.ovh.net/"+f["a"].sample(t.images),content:t.content,address:t.address1,id:t._id,slug:t.slug}})).filter(t=>t.position.latitude&&t.position.longitude):[]}},mounted(){},methods:{calculateCenterCoords(){if(this.markers.length){const t=this.markers.reduce((t,e)=>t+e.position.latitude,0)/this.markers.length,e=this.markers.reduce((t,e)=>t+e.position.longitude,0)/this.markers.length;return{lat:t,lng:e}}return[50.083,14.417]},centerMap(t){this.$refs.map.setCenter(this.getPosition(t))},getMarkerIcon(){return""+x.a},getPosition(t){return[t.position.latitude,t.position.longitude]}
1,getBackground(t){return{backgroundImage:`url(${t})`}},openPopup:function(t){this.desktopScreen&&t.target.openPopup()},closePopup:function(t){this.desktopScreen&&t.target.closePopup()},navigate(t){this.desktopScreen?this.$router.push(this.$l("point_detail",{slug:t.pointData.slug})):this.centerMap(t)}}},j=w,T=(i("4f5e"),i("2877")),P=Object(T["a"])(j,p,d,!1,null,"e4af43c0",null),A=P.exports,E=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wrapper"},[i("div",{staticClass:"how-to-use-steps"},t._l(t.steps,(function(t,e){return i("HowToUseStep",{key:e,attrs:{step:t,"ordering-num":e+1}})})),1),i("div",{staticClass:"how-to-use-slider"},[i("Swiper",{ref:"stepsSlider",attrs:{options:t.howToUseSliderOptions}},[t._l(t.steps,(function(t,e){return i("SwiperSlide",{key:e,staticClass:"how-to-use-slide"},[i("HowToUseStep",{attrs:{step:t,"ordering-num":e+1}})],1)})),i("div",{staticClass:"pagination",attrs:{slot:"pagination"},slot:"pagination"})],2)],1)])},M=[],k=i("7212"),z=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"card"},[i("div",[i("h4",{staticClass:"step-title",domProps:{innerHTML:t._s(t.step.title)}}),i("div",{staticClass:"step-caption",domProps:{innerHTML:t._s(t.step.description)}})]),i("div",{class:1===t.orderingNum?"content-first":"content"},[1===t.orderingNum?i("div",{staticClass:"app-container"},[t.storeLinks?i("a",{attrs:{href:t.storeLinks.ios,target:"_blank"}},[i("div",{staticClass:"appstore"})]):t._e(),t.storeLinks?i("a",{attrs:{href:t.storeLinks.android,target:"_blank"}},[i("div",{staticClass:"googleplay"})]):t._e()]):t._e(),i("div",{staticClass:"ordering"},[t._v(" "+t._s(t.orderingNum)+" ")])])])},N=[],$=i("c69b"),B={mixins:[C["a"]],props:{step:{type:Object,required:!0},orderingNum:{type:Number,required:!0}},computed:{...Object(s["b"])("plan",["appLinks"]),...Object(s["b"])("translations",["currentLanguage"]),storeLinks(){return Object($["a"])(this.currentLanguage)}}},R=B,I=(i("42f0"),Object(T["a"])(R,z,N,!1,null,"593ff1ec",null)),Z=I.exports,D={mixins:[L["a"]],props:{steps:{type:Array,required:!0}},components:{HowToUseStep:Z,Swiper:k["Swiper"],SwiperSlide:k["SwiperSlide"]},data(){return{howToUseSliderOptions:{allowTouchMove:!0,spaceBetween:20,pagination:{el:".pagination",clickable:!0,bulletClass:"bullet",bulletActiveClass:"bullet-active"},breakpoints:{320:{slidesPerView:1.2,slidesPerGroup:1.2}}}}},watch:{desktopScreen(t){t||this.$nextTick(()=>{const t=this.$refs.stepsSlider&&this.$refs.stepsSlider.$swiper;t&&t.update()})}}},F=D,U=(i("42cf"),Object(T["a"])(F,E,M,!1,null,"1fcdb676",null)),V=U.exports,H=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"carousel-container justify-center"},[t.points.length>4?i("div",{staticClass:"left-control",class:t.id}):t._e(),i("div",{staticClass:"container"},[i("Swiper",{attrs:{id:t.id,options:t.swiperOptions}},[t._l(t.points,(function(t){return i("SwiperSlide",{key:t._id},[i("Card",{attrs:{point:t}})],1)})),i("div",{staticClass:"pagination",attrs:{slot:"pagination"},slot:"pagination"})],2)],1),t.points.length>4?i("div",{staticClass:"right-control",class:t.id}):t._e()])},W=[],J=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"card-container",style:t.backgroundImage,attrs:{title:t.getSeoText(t.mainImageObj?t.mainImageObj.title:{}),role:"img","aria-label":t.getSeoText(t.mainImageObj?t.mainImageObj.alt:{})}},[i("router-link",{staticClass:"link",attrs:{to:t.pointLink}},[i("div",{staticClass:"card-benefit"},[i("p",{staticClass:"benefit-text"},[t._v(t._s(t.pointType))])]),i("div",{ref:"footer",class:t.isFooterExpanded?"card-footer-expanded":"card-footer",on:{mouseenter:t.toggle,mouseleave:t.toggle}},[i("div",{staticClass:"card-footer-content"},[i("p",{staticClass:"attraction-title"},[t._v(" "+t._s(t.getTranslatedContent("title",t.point.content))+" ")]),t.isFooterExpanded?i("p",{staticClass:"attraction-subtitle",domProps:{innerHTML:t._s(t.getTranslatedContent("subtitle",t.point.content))}}):t._e()])])])],1)},G=[],q={mixins:[C["a"]],props:{point:{type:Object,required:!0}},data(){return{isFooterExpanded:!1}},computed:{...Object(s["b"])("translations",["currentLanguage"]),pointLink(){const t=this.point.slugs||this.point.urlSlug||{},e=t[this.currentLanguage]||t.en||this.point.slug;return this.$l("point_detail",{slug:e})},mainImageObj(){const t=this.point.images||[];if(!t.length)return null;const e=t[0];return"object"===typeof e&&e.url?e:{url:e,alt:{},title:{}}},backgroundImage(){const t=this.mainImageObj?this.mainImageObj.url:"";return{backgroundImage:`url(${t})`,backgroundSize:"cover"}},pointType(){switch(this.point.pointType){case"SalesAndCollection":return this.getTranslatedContent("SALES_COLLECTIONS_POINTS_label_sale_collection");case"Sales":return this.getTranslatedContent("SALES_COLLECTIONS_POINTS_label_sale");case"Information":return this.getTranslatedContent("SALES_COLLECTIONS_POINTS_label_information");default:return""}}}
1,methods:{toggle(){this.isFooterExpanded=!this.isFooterExpanded},getSeoText(t){return t&&(t[this.currentLanguage]||t.en)||""}}},X=q,K=(i("0671"),Object(T["a"])(X,J,G,!1,null,"bf8df11a",null)),Y=K.exports,Q=(i("a7a3"),{directives:{swiper:k["directive"]},mixins:[L["a"]],props:{points:{type:Array,required:!0},id:{type:String,default:"attractions-slider"}},components:{Swiper:k["Swiper"],SwiperSlide:k["SwiperSlide"],Card:Y},data(){return{swiperOptions:{allowTouchMove:!0,spaceBetween:20,navigation:{nextEl:".right-control."+this.id,prevEl:".left-control."+this.id},pagination:{el:".pagination",clickable:!0,bulletClass:"bullet",bulletActiveClass:"bullet-active"},breakpoints:{320:{slidesPerView:1.1,slidesPerGroup:1.1},768:{speed:1300,slidesPerView:4,slidesPerGroup:3}}}}}}),tt=Q,et=(i("9024"),Object(T["a"])(tt,H,W,!1,null,"65e73ce1",null)),it=et.exports,nt=i("f092"),ot=i("6f14"),st=i("3c21"),rt=i("a4dd"),at=i("1b88"),ut=i("36e5"),lt=i("854c"),ct={components:{Layout:r["a"],CalculatorSection:a["a"],HowToUseSection:V,Slider:it,PointsMap:A,SharedBlockSlot:lt["a"]},mixins:[C["a"],nt["a"],ot["a"],L["a"],st["a"],rt["a"],ut["a"],at["a"]],data(){return{toggle:!0}},computed:{...Object(s["b"])("getYourPass",["pageData"]),...Object(s["b"])("points",["points"]),...Object(s["b"])("reviews",["averageRating","fifteenRandomReviews"]),seoProductFacts(){const t={};return this.seoPassOffers&&(t.offers=this.seoPassOffers),this.seoSharedSections.isVisibleSharedReviews&&this.seoPassRating&&(t.aggregateRating=this.seoPassRating),Object.keys(t).length?t:null},seoEntity(){return{...this.pageData,isStatic:!0}},bannerPhoneImg(){var t,e;const i=null===(t=this.pageData)||void 0===t||null===(e=t.web_images)||void 0===e?void 0:e[0];return i?"https://productionimages.s3.de.io.cloud.ovh.net/"+i:""},bannerCardImg(){var t,e;const i=null===(t=this.pageData)||void 0===t||null===(e=t.web_images)||void 0===e?void 0:e[1];return i?"https://productionimages.s3.de.io.cloud.ovh.net/"+i:""},getListStyleBullet(){return{listStyleImage:`url(${l.a})`}},getListStyleTick(){return{listStyleImage:`url(${h.a})`}},pageImg(){return this.pageData.mainImage?this.desktopScreen?this.pageData.mainImage.web:this.pageData.mainImage.app:null},pageContent(){var t;if(null===(t=this.pageData)||void 0===t||!t.content)return null;const e=this.pageData.content[this.currentLanguage];return e&&e.title?e:this.pageData.content.en||null},tipsList(){return this.getContent("tips")||[]},tipsColumn1(){const t=this.tipsList.length;if(0===t)return[];const e=Math.ceil(t/3);return this.tipsList.slice(0,e)},tipsColumn2(){const t=this.tipsList.length;if(t<2)return[];const e=Math.ceil(t/3);return this.tipsList.slice(e,2*e)},tipsColumn3(){const t=this.tipsList.length;if(t<3)return[];const e=Math.ceil(t/3);return this.tipsList.slice(2*e)}},watch:{pageData:{immediate:!0,handler(t){t&&t.slugs&&this.$store.commit("translations/SET_ALTERNATE_SLUGS",t.slugs)}}},provide(){const t={};return Object.defineProperty(t,"sortedSharedBlocks",{enumerable:!0,get:()=>this.sortedSharedBlocks}),{sharedBlocksProvider:t}},methods:{getSeoText(t){return t&&(t[this.currentLanguage]||t.en)||""},pageContentU(t){return this.getContent(t)||[]},getContent(t){var e;const i=t.split(".");if(null===(e=this.pageData)||void 0===e||!e.content)return"";const n=(t,e)=>e.reduce((t,e)=>null===t||void 0===t?void 0:t[e],t),o=n(this.pageData.content[this.currentLanguage],i);return o||(n(this.pageData.content.en,i)||"")},getSharedTitle(t){var e,i,n;const o=null===(e=this.pageData)||void 0===e?void 0:e[t];if(!o)return"";const s=null===(i=o[this.currentLanguage])||void 0===i?void 0:i.title;return s||((null===(n=o.en)||void 0===n?void 0:n.title)||"")},getBannerBackground(t){return t?{backgroundImage:`url(${t})`}:{}},injectPrices(t){var e;const i=(null===(e=this.pageData)||void 0===e?void 0:e.currencyPrices)||this.currencyPrices;if(!t||!i||0===i.length)return t;const n=t=>t?Number(t).toLocaleString("de-DE"):"0",o=t.replace(/{{([^}]+)}}/g,t=>t.replace(/<[^>]*>/g,""));let s=o;return i.forEach(t=>{if(t.adultPlaceholder&&t.childStudentPlaceholder){const e=`{{${t.adultPlaceholder}}}`,i=`{{${t.childStudentPlaceholder}}}`,o=n(t.adultPrice),r=n(t.childStudentPrice);s=s.split(e).join(o),s=s.split(i).join(r)}}),s=s.replace(/ \/ (?=\d+)/g,'<span class="mobile-price-separator"> / </span><br class="mobile-price-break">'),s}}},ht=ct,pt=(i("2520"),Object(T["a"])(ht,n,o,!1,null,"38866318",null));e["default"]=pt.exports},"2f9a":function(t,e){t.exports=function(){}}
1,"301c":function(t,e,i){i("e198")("asyncIterator")},3397:function(t,e,i){var n=i("7a41");t.exports=function(t,e){if(!n(t))return t;var i,o;if(e&&"function"==typeof(i=t.toString)&&!n(o=i.call(t)))return o;if("function"==typeof(i=t.valueOf)&&!n(o=i.call(t)))return o;if(!e&&"function"==typeof(i=t.toString)&&!n(o=i.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},"36e5":function(t,e,i){"use strict";var n=i("2f62"),o=i("0006");e["a"]={computed:{...Object(n["b"])("eShop",["cards"]),...Object(n["b"])("reviews",["averageRating","reviewsCards"]),seoSharedSections(){return this.pageData&&this.pageData.sharedSections||{}},seoPassOffers(){const t=Object(o["f"])({cards:this.cards,url:this.seoCanonicalUrl,labels:{day:this.getTranslatedContent("ESHOP_product_name_DAY"),pass:this.getTranslatedContent("ESHOP_product_name_PASS"),adult:this.getTranslatedContent("ADULT"),studentChild:this.getTranslatedContent("STUDENT_CHILD")}});return t.length?t:null},seoPassRating(){return Object(o["g"])({value:this.averageRating&&Number(this.averageRating.toFixed(1)),count:this.reviewsCards.length})}}}},"393a":function(t,e,i){"use strict";var n=i("e444"),o=i("512c"),s=i("ba01"),r=i("051b"),a=i("8a0d"),u=i("26dd"),l=i("92f0"),c=i("ce7a"),h=i("cc15")("iterator"),p=!([].keys&&"next"in[].keys()),d="@@iterator",f="keys",m="values",_=function(){return this};t.exports=function(t,e,i,y,v,g,b){u(i,e,y);var O,C,L,S=function(t){if(!p&&t in T)return T[t];switch(t){case f:return function(){return new i(this,t)};case m:return function(){return new i(this,t)}}return function(){return new i(this,t)}},x=e+" Iterator",w=v==m,j=!1,T=t.prototype,P=T[h]||T[d]||v&&T[v],A=P||S(v),E=v?w?S("entries"):A:void 0,M="Array"==e&&T.entries||P;if(M&&(L=c(M.call(new t)),L!==Object.prototype&&L.next&&(l(L,x,!0),n||"function"==typeof L[h]||r(L,h,_))),w&&P&&P.name!==m&&(j=!0,A=function(){return P.call(this)}),n&&!b||!p&&!j&&T[h]||r(T,h,A),a[e]=A,a[x]=_,v)if(O={values:w?A:S(m),keys:g?A:S(f),entries:E},b)for(C in O)C in T||s(T,C,O[C]);else o(o.P+o.F*(p||j),e,O);return O}},"39ad":function(t,e,i){var n=i("6ca1"),o=i("d16a"),s=i("9d11");t.exports=function(t){return function(e,i,r){var a,u=n(e),l=o(u.length),c=s(r,l);if(t&&i!=i){while(l>c)if(a=u[c++],a!=a)return!0}else for(;l>c;c++)if((t||c in u)&&u[c]===i)return t||c||0;return!t&&-1}}},4104:function(t,e,i){t.exports=i.p+"img/marker.7a1240c3.svg"},"42cf":function(t,e,i){"use strict";i("d2d5")},"42f0":function(t,e,i){"use strict";i("b795")},"43de":function(t,e,i){t.exports=i.p+"img/list-tick.56ac1c21.svg"},"4b8b":function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"4d20":function(t,e,i){var n=i("1917"),o=i("10db"),s=i("6ca1"),r=i("3397"),a=i("9c0e"),u=i("faf5"),l=Object.getOwnPropertyDescriptor;e.f=i("0bad")?l:function(t,e){if(t=s(t),e=r(e,!0),u)try{return l(t,e)}catch(i){}if(a(t,e))return o(!n.f.call(t,e),t[e])}},"4d88":function(t,e){var i={}.toString;t.exports=function(t){return i.call(t).slice(8,-1)}},"4e2b":function(t,e,i){"use strict";var n=i("e11e"),o=function(t,e){var i,n=function(){var n=[],o=arguments.length;while(o--)n[o]=arguments[o];var s=this;i&&clearTimeout(i),i=setTimeout((function(){t.apply(s,n),i=null}),e)};return n.cancel=function(){i&&clearTimeout(i)},n},s=function(t){return t&&"function"===typeof t.charAt?t.charAt(0).toUpperCase()+t.slice(1):t},r=function(t,e,i,o){var r=function(o){var r="set"+s(o),a=i[o].type===Object||i[o].type===Array||Array.isArray(i[o].type);i[o].custom&&t[r]?t.$watch(o,(function(e,i){t[r](e,i)}),{deep:a}):"setOptions"===r?t.$watch(o,(function(t,i){Object(n["setOptions"])(e,t)}),{deep:a}):e[r]&&t.$watch(o,(function(t,i){e[r](t)}),{deep:a})};for(var a in i)r(a)},a=function(t){var e={};for(var i in t){var n=t[i];null!==n&&void 0!==n&&(e[i]=n)}return e},u=function(t,e){var i=e.options&&e.options.constructor===Object?e.options:{};t=t&&t.constructor===Object?t:{};var n=a(i);t=a(t);var o=e.$options.props;for(var s in t){var r=o[s]?o[s].default&&"function"===typeof o[s].default?o[s].default.call():o[s].default:Symbol("unique"),u=!1;u=Array.isArray(r)?JSON.stringify(r)===JSON.stringify(t[s]):r===t[s],n[s]&&!u?(console.warn(s+" props is overriding the value passed in the options props"),n[s]=t[s]):n[s]||(n[s]=t[s])}return n},l=function(t){var e=!1;while(t&&!e)void 0===t.mapObject?t=t.$parent:e=!0;return t},c={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,e){var i=this.$parent.mapObject.attributionControl;i.removeAttribution(e).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)}}},h={props:{options:{type:Object,default:function(){return{}}}}},p={name:"LMarker",mixins:[c,h],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 n["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,e=u(Object.assign({},this.layerOptions,{icon:this.icon,zIndexOffset:this.zIndexOffset,draggable:this.draggable,opacity:this.opacity}),this);this.mapObject=Object(n["marker"])(this.latLng,e),n["DomEvent"].on(this.mapObject,this.$listeners),this.debouncedLatLngSync=o(this.latLngSync,100),this.mapObject.on("move",this.debouncedLatLngSync),r(this,this.mapObject,this.$options.props),this.parentContainer=l(this.$parent),this.parentContainer.addLayer(this,!this.visible),this.ready=!0,this.$nextTick((function(){t.$emit("ready",t.mapObject)}))},methods:{setDraggable:function(t,e){this.mapObject.dragging&&(t?this.mapObject.dragging.enable():this.mapObject.dragging.disable())},setLatLng:function(t){if(null!=t&&this.mapObject){var e=this.mapObject.getLatLng(),i=Object(n["latLng"])(t);i.lat===e.lat&&i.lng===e.lng||this.mapObject.setLatLng(i)}},latLngSync:function(t){this.$emit("update:latLng",t.latlng),this.$emit("update:lat-lng",t.latlng)}
1},render:function(t){return this.ready&&this.$slots.default?t("div",{style:{display:"none"}},this.$slots.default):null}};function d(t,e,i,n,o,s,r,a,u,l){"boolean"!==typeof r&&(u=a,a=r,r=!1);var c,h="function"===typeof i?i.options:i;if(t&&t.render&&(h.render=t.render,h.staticRenderFns=t.staticRenderFns,h._compiled=!0,o&&(h.functional=!0)),n&&(h._scopeId=n),s?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,u(t)),t&&t._registeredComponents&&t._registeredComponents.add(s)},h._ssrRegister=c):e&&(c=r?function(t){e.call(this,l(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,a(t))}),c)if(h.functional){var p=h.render;h.render=function(t,e){return c.call(e),p(t,e)}}else{var d=h.beforeCreate;h.beforeCreate=d?[].concat(d,c):[c]}return i}var f=p,m=void 0,_=void 0,y=void 0,v=void 0,g=d({},m,f,_,v,y,!1,void 0,void 0,void 0);e["a"]=g},"4e71":function(t,e,i){i("e198")("observable")},"4ebc":function(t,e,i){var n=i("4d88");t.exports=Array.isArray||function(t){return"Array"==n(t)}},"4f5e":function(t,e,i){"use strict";i("76b4")},"503e":function(t,e,i){"use strict";var n={props:{options:{type:Object,default:function(){return{}}}}};e["a"]=n},"511f":function(t,e,i){i("0b99"),i("658f"),t.exports=i("fcd4").f("iterator")},"512c":function(t,e,i){var n=i("ef08"),o=i("5524"),s=i("9c0c"),r=i("051b"),a=i("9c0e"),u="prototype",l=function(t,e,i){var c,h,p,d=t&l.F,f=t&l.G,m=t&l.S,_=t&l.P,y=t&l.B,v=t&l.W,g=f?o:o[e]||(o[e]={}),b=g[u],O=f?n:m?n[e]:(n[e]||{})[u];for(c in f&&(i=e),i)h=!d&&O&&void 0!==O[c],h&&a(g,c)||(p=h?O[c]:i[c],g[c]=f&&"function"!=typeof O[c]?i[c]:y&&h?s(p,n):v&&O[c]==p?function(t){var e=function(e,i,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,i)}return new t(e,i,n)}return t.apply(this,arguments)};return e[u]=t[u],e}(p):_&&"function"==typeof p?s(Function.call,p):p,_&&((g.virtual||(g.virtual={}))[c]=p,t&l.R&&b&&!b[c]&&r(b,c,p)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},5524:function(t,e){var i=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=i)},"5a94":function(t,e,i){var n=i("b367")("keys"),o=i("8b1a");t.exports=function(t){return n[t]||(n[t]=o(t))}},6005:function(t,e){L.Control.Fullscreen=L.Control.extend({options:{position:"topleft",title:{false:"View Fullscreen",true:"Exit Fullscreen"}},onAdd:function(t){var e=L.DomUtil.create("div","leaflet-control-fullscreen leaflet-bar leaflet-control");return this.link=L.DomUtil.create("a","leaflet-control-fullscreen-button leaflet-bar-part",e),this.link.href="#",this._map=t,this._map.on("fullscreenchange",this._toggleTitle,this),this._toggleTitle(),L.DomEvent.on(this.link,"click",this._click,this),e},_click:function(t){L.DomEvent.stopPropagation(t),L.DomEvent.preventDefault(t),this._map.toggleFullscreen(this.options)},_toggleTitle:function(){this.link.title=this.options.title[this._map.isFullscreen()]}}),L.Map.include({isFullscreen:function(){return this._isFullscreen||!1},toggleFullscreen:function(t){var e=this.getContainer();this.isFullscreen()?t&&t.pseudoFullscreen?this._disablePseudoFullscreen(e):document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitCancelFullScreen?document.webkitCancelFullScreen():document.msExitFullscreen?document.msExitFullscreen():this._disablePseudoFullscreen(e):t&&t.pseudoFullscreen?this._enablePseudoFullscreen(e):e.requestFullscreen?e.requestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT):e.msRequestFullscreen?e.msRequestFullscreen():this._enablePseudoFullscreen(e)},_enablePseudoFullscreen:function(t){L.DomUtil.addClass(t,"leaflet-pseudo-fullscreen"),this._setFullscreen(!0),this.fire("fullscreenchange")},_disablePseudoFullscreen:function(t){L.DomUtil.removeClass(t,"leaflet-pseudo-fullscreen"),this._setFullscreen(!1),this.fire("fullscreenchange")},_setFullscreen:function(t){this._isFullscreen=t;var e=this.getContainer();t?L.DomUtil.addClass(e,"leaflet-fullscreen-on"):L.DomUtil.removeClass(e,"leaflet-fullscreen-on"),this.invalidateSize()},_onFullscreenChange:function(t){var e=document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement;e!==this.getContainer()||this._isFullscreen?e!==this.getContainer()&&this._isFullscreen&&(this._setFullscreen(!1),this.fire("fullscreenchange")):(this._setFullscreen(!0),this.fire("fullscreenchange"))}}),L.Map.mergeOptions({fullscreenControl:!1}),L.Map.addInitHook((function(){var t;if(this.options.fullscreenControl&&(this.fullscreenControl=new L.Control.Fullscreen(this.options.fullscreenControl),this.addControl(this.fullscreenControl)),"onfullscreenchange"in document?t="fullscreenchange":"onmozfullscreenchange"in document?t="mozfullscreenchange":"onwebkitfullscreenchange"in document?t="webkitfullscreenchange":"onmsfullscreenchange"in document&&(t="MSFullscreenChange"),t){var e=L.bind(this._onFullscreenChange,this);this.whenReady((function(){L.DomEvent.on(document,t,e)})),this.on("unload",(function(){L.DomEvent.off(document,t,e)}))}})),L.control.fullscreen=function(t){return new L.Control.Fullscreen(t)}}
1,6438:function(t,e,i){var n=i("03d6"),o=i("9742").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},"658f":function(t,e,i){i("6858");for(var n=i("ef08"),o=i("051b"),s=i("8a0d"),r=i("cc15")("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;u<a.length;u++){var l=a[u],c=n[l],h=c&&c.prototype;h&&!h[r]&&o(h,r,l),s[l]=s.Array}},6858:function(t,e,i){"use strict";var n=i("2f9a"),o=i("ea34"),s=i("8a0d"),r=i("6ca1");t.exports=i("393a")(Array,"Array",(function(t,e){this._t=r(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,i=this._i++;return!t||i>=t.length?(this._t=void 0,o(1)):o(0,"keys"==e?i:"values"==e?t[i]:[i,t[i]])}),"values"),s.Arguments=s.Array,n("keys"),n("values"),n("entries")},"693d":function(t,e,i){"use strict";var n=i("ef08"),o=i("9c0e"),s=i("0bad"),r=i("512c"),a=i("ba01"),u=i("e34a").KEY,l=i("4b8b"),c=i("b367"),h=i("92f0"),p=i("8b1a"),d=i("cc15"),f=i("fcd4"),m=i("e198"),_=i("0ae2"),y=i("4ebc"),v=i("77e9"),g=i("7a41"),b=i("0983"),O=i("6ca1"),C=i("3397"),L=i("10db"),S=i("6f4f"),x=i("1836"),w=i("4d20"),j=i("fed5"),T=i("1a14"),P=i("9876"),A=w.f,E=T.f,M=x.f,k=n.Symbol,z=n.JSON,N=z&&z.stringify,$="prototype",B=d("_hidden"),R=d("toPrimitive"),I={}.propertyIsEnumerable,Z=c("symbol-registry"),D=c("symbols"),F=c("op-symbols"),U=Object[$],V="function"==typeof k&&!!j.f,H=n.QObject,W=!H||!H[$]||!H[$].findChild,J=s&&l((function(){return 7!=S(E({},"a",{get:function(){return E(this,"a",{value:7}).a}})).a}))?function(t,e,i){var n=A(U,e);n&&delete U[e],E(t,e,i),n&&t!==U&&E(U,e,n)}:E,G=function(t){var e=D[t]=S(k[$]);return e._k=t,e},q=V&&"symbol"==typeof k.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof k},X=function(t,e,i){return t===U&&X(F,e,i),v(t),e=C(e,!0),v(i),o(D,e)?(i.enumerable?(o(t,B)&&t[B][e]&&(t[B][e]=!1),i=S(i,{enumerable:L(0,!1)})):(o(t,B)||E(t,B,L(1,{})),t[B][e]=!0),J(t,e,i)):E(t,e,i)},K=function(t,e){v(t);var i,n=_(e=O(e)),o=0,s=n.length;while(s>o)X(t,i=n[o++],e[i]);return t},Y=function(t,e){return void 0===e?S(t):K(S(t),e)},Q=function(t){var e=I.call(this,t=C(t,!0));return!(this===U&&o(D,t)&&!o(F,t))&&(!(e||!o(this,t)||!o(D,t)||o(this,B)&&this[B][t])||e)},tt=function(t,e){if(t=O(t),e=C(e,!0),t!==U||!o(D,e)||o(F,e)){var i=A(t,e);return!i||!o(D,e)||o(t,B)&&t[B][e]||(i.enumerable=!0),i}},et=function(t){var e,i=M(O(t)),n=[],s=0;while(i.length>s)o(D,e=i[s++])||e==B||e==u||n.push(e);return n},it=function(t){var e,i=t===U,n=M(i?F:O(t)),s=[],r=0;while(n.length>r)!o(D,e=n[r++])||i&&!o(U,e)||s.push(D[e]);return s};V||(k=function(){if(this instanceof k)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(i){this===U&&e.call(F,i),o(this,B)&&o(this[B],t)&&(this[B][t]=!1),J(this,t,L(1,i))};return s&&W&&J(U,t,{configurable:!0,set:e}),G(t)},a(k[$],"toString",(function(){return this._k})),w.f=tt,T.f=X,i("6438").f=x.f=et,i("1917").f=Q,j.f=it,s&&!i("e444")&&a(U,"propertyIsEnumerable",Q,!0),f.f=function(t){return G(d(t))}),r(r.G+r.W+r.F*!V,{Symbol:k});for(var nt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ot=0;nt.length>ot;)d(nt[ot++]);for(var st=P(d.store),rt=0;st.length>rt;)m(st[rt++]);r(r.S+r.F*!V,"Symbol",{for:function(t){return o(Z,t+="")?Z[t]:Z[t]=k(t)},keyFor:function(t){if(!q(t))throw TypeError(t+" is not a symbol!");for(var e in Z)if(Z[e]===t)return e},useSetter:function(){W=!0},useSimple:function(){W=!1}}),r(r.S+r.F*!V,"Object",{create:Y,defineProperty:X,defineProperties:K,getOwnPropertyDescriptor:tt,getOwnPropertyNames:et,getOwnPropertySymbols:it});var at=l((function(){j.f(1)}));r(r.S+r.F*at,"Object",{getOwnPropertySymbols:function(t){return j.f(b(t))}}),z&&r(r.S+r.F*(!V||l((function(){var t=k();return"[null]"!=N([t])||"{}"!=N({a:t})||"{}"!=N(Object(t))}))),"JSON",{stringify:function(t){var e,i,n=[t],o=1;while(arguments.length>o)n.push(arguments[o++]);if(i=e=n[1],(g(e)||void 0!==t)&&!q(t))return y(e)||(e=function(t,e){if("function"==typeof i&&(e=i.call(this,t,e)),!q(e))return e}),n[1]=e,N.apply(z,n)}}),k[$][R]||i("051b")(k[$],R,k[$].valueOf),h(k,"Symbol"),h(Math,"Math",!0),h(n.JSON,"JSON",!0)}
1,"6ca1":function(t,e,i){var n=i("9fbb"),o=i("c901");t.exports=function(t){return n(o(t))}},"6cc5":function(t,e,i){},"6df6":function(t,e,i){"use strict";var n={props:{position:{type:String,default:"topright"}},mounted:function(){this.controlOptions={position:this.position}},beforeDestroy:function(){this.mapObject&&this.mapObject.remove()}};e["a"]=n},"6f4f":function(t,e,i){var n=i("77e9"),o=i("85e7"),s=i("9742"),r=i("5a94")("IE_PROTO"),a=function(){},u="prototype",l=function(){var t,e=i("05f5")("iframe"),n=s.length,o="<",r=">";e.style.display="none",i("9141").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(o+"script"+r+"document.F=Object"+o+"/script"+r),t.close(),l=t.F;while(n--)delete l[u][s[n]];return l()};t.exports=Object.create||function(t,e){var i;return null!==t?(a[u]=n(t),i=new a,a[u]=null,i[r]=t):i=l(),void 0===e?i:o(i,e)}},"76b4":function(t,e,i){},"77e9":function(t,e,i){var n=i("7a41");t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},"7a41":function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},8119:function(t,e,i){i("693d"),i("dfe5"),i("301c"),i("4e71"),t.exports=i("5524").Symbol},"85e7":function(t,e,i){var n=i("1a14"),o=i("77e9"),s=i("9876");t.exports=i("0bad")?Object.defineProperties:function(t,e){o(t);var i,r=s(e),a=r.length,u=0;while(a>u)n.f(t,i=r[u++],e[i]);return t}},"87f5":function(t,e,i){},"8a0d":function(t,e){t.exports={}},"8b1a":function(t,e){var i=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++i+n).toString(36))}},9024:function(t,e,i){"use strict";i("badd")},9141:function(t,e,i){var n=i("ef08").document;t.exports=n&&n.documentElement},"92f0":function(t,e,i){var n=i("1a14").f,o=i("9c0e"),s=i("cc15")("toStringTag");t.exports=function(t,e,i){t&&!o(t=i?t:t.prototype,s)&&n(t,s,{configurable:!0,value:e})}},9742:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},9876:function(t,e,i){var n=i("03d6"),o=i("9742");t.exports=Object.keys||function(t){return n(t,o)}},"9c0c":function(t,e,i){var n=i("1609");t.exports=function(t,e,i){if(n(t),void 0===e)return t;switch(i){case 1:return function(i){return t.call(e,i)};case 2:return function(i,n){return t.call(e,i,n)};case 3:return function(i,n,o){return t.call(e,i,n,o)}}return function(){return t.apply(e,arguments)}}},"9c0e":function(t,e){var i={}.hasOwnProperty;t.exports=function(t,e){return i.call(t,e)}},"9d11":function(t,e,i){var n=i("fc5e"),o=Math.max,s=Math.min;t.exports=function(t,e){return t=n(t),t<0?o(t+e,0):s(t,e)}},"9eb3":function(t,e,i){},"9fbb":function(t,e,i){var n=i("4d88");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},"9fe3":function(t,e,i){(function(e,n){t.exports=n(i("1098"),i("e11e"),i("2acb"),i("bb3f"))})(0,(function(t,e,n,o){return function(t){function e(n){if(i[n])return i[n].exports;var o=i[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var i={};return e.m=t,e.c=i,e.i=function(t){return t},e.d=function(t,i,n){e.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/",e(e.s=8)}([function(t,e,i){var n=i(2)(i(1),i(3),null,null);t.exports=n.exports},function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=i(4),s=n(o),r=i(5),a=n(r);i(6);var u=i(7),l={options:{type:Object,default:function(){return{}}},apikey:{type:String,default:function(){return""}},lang:{type:String,default:null},region:{type:String,default:null},name:{type:String,default:""},layerType:{type:String,default:"base"},visible:{type:Boolean,default:!0}};e.default={props:l,data:function(){return{ready:!1}},mounted:function(){if(this.mapObject=a.default.gridLayer.googleMutant(this.options),a.default.DomEvent.on(this.mapObject,this.$listeners),(0,u.propsBinder)(this,this.mapObject,l),"object"!==("undefined"==typeof google?"undefined":(0,s.default)(google))||"object"!==(0,s.default)(google.maps)){var t=document.createElement("script"),e="https://maps.googleapis.com/ma
1ps/api/js?key="+this.apikey;e+=this.lang?"&language="+this.lang:"",e+=this.region?"&region="+this.region:"",t.setAttribute("src",e),document.head.appendChild(t)}this.ready=!0,this.parentContainer=(0,u.findRealParent)(this.$parent),this.parentContainer.addLayer(this,!this.visible)},beforeDestroy:function(){this.parentContainer.removeLayer(this)},methods:{addLayer:function(t,e){e||this.mapObject.addLayer(t.mapObject)},removeLayer:function(t,e){e||this.mapObject.removeLayer(t.mapObject)}}}},function(t,e){t.exports=function(t,e,i,n){var o,s=t=t||{},r=typeof t.default;"object"!==r&&"function"!==r||(o=t,s=t.default);var a="function"==typeof s?s.options:s;if(e&&(a.render=e.render,a.staticRenderFns=e.staticRenderFns),i&&(a._scopeId=i),n){var u=a.computed||(a.computed={});Object.keys(n).forEach((function(t){var e=n[t];u[t]=function(){return e}}))}return{esModule:o,exports:s,options:a}}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticStyle:{display:"none"}},[t.ready?t._t("default"):t._e()],2)},staticRenderFns:[]}},function(t,e){t.exports=i("1098")},function(t,e){t.exports=i("e11e")},function(t,e){t.exports=i("2acb")},function(t,e){t.exports=i("bb3f")},function(t,e,i){t.exports=i(0)}])}))},b048:function(t,e,i){},b367:function(t,e,i){var n=i("5524"),o=i("ef08"),s="__core-js_shared__",r=o[s]||(o[s]={});(t.exports=function(t,e){return r[t]||(r[t]=void 0!==e?e:{})})("versions",[]).push({version:n.version,mode:i("e444")?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},b795:function(t,e,i){},ba01:function(t,e,i){t.exports=i("051b")},badd:function(t,e,i){},bb3f:function(t,e,i){"use strict";i.r(e),i.d(e,"capitalizeFirstLetter",(function(){return n["a"]})),i.d(e,"collectionCleaner",(function(){return n["b"]})),i.d(e,"debounce",(function(){return n["c"]})),i.d(e,"findRealParent",(function(){return n["d"]})),i.d(e,"optionsMerger",(function(){return n["e"]})),i.d(e,"propsBinder",(function(){return n["f"]})),i.d(e,"CircleMixin",(function(){return u})),i.d(e,"ControlMixin",(function(){return l["a"]})),i.d(e,"GridLayerMixin",(function(){return p})),i.d(e,"ImageOverlayMixin",(function(){return _})),i.d(e,"InteractiveLayerMixin",(function(){return v})),i.d(e,"LayerMixin",(function(){return b})),i.d(e,"LayerGroupMixin",(function(){return L})),i.d(e,"OptionsMixin",(function(){return S["a"]})),i.d(e,"PathMixin",(function(){return T})),i.d(e,"PolygonMixin",(function(){return z})),i.d(e,"PolylineMixin",(function(){return I})),i.d(e,"PopperMixin",(function(){return D})),i.d(e,"TileLayerMixin",(function(){return H})),i.d(e,"TileLayerWMSMixin",(function(){return X})),i.d(e,"LCircle",(function(){return vt})),i.d(e,"LCircleMarker",(function(){return It})),i.d(e,"LControl",(function(){return Zt["a"]})),i.d(e,"LControlAttribution",(function(){return ee})),i.d(e,"LControlLayers",(function(){return _e})),i.d(e,"LControlScale",(function(){return Ee})),i.d(e,"LControlZoom",(function(){return Me["a"]})),i.d(e,"LFeatureGroup",(function(){return qe})),i.d(e,"LGeoJson",(function(){return pi})),i.d(e,"LGridLayer",(function(){return Mi})),i.d(e,"LIcon",(function(){return ki["a"]})),i.d(e,"LIconDefault",(function(){return Vi})),i.d(e,"LImageOverlay",(function(){return ln})),i.d(e,"LLayerGroup",(function(){return wn})),i.d(e,"LMap",(function(){return jn["a"]})),i.d(e,"LMarker",(function(){return Tn["a"]})),i.d(e,"LPolygon",(function(){return Pn["a"]})),i.d(e,"LPolyline",(function(){return Xn})),i.d(e,"LPopup",(function(){return Kn["a"]})),i.d(e,"LRectangle",(function(){return bo})),i.d(e,"LTileLayer",(function(){return Zo})),i.d(e,"LTooltip",(function(){return is})),i.d(e,"LWMSTileLayer",(function(){return Os}));var n=i("ef62"),o={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,e){var i=this.$parent.mapObject.attributionControl;i.removeAttribution(e).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={props:{interactive:{type:Boolean,default:!0},bubblingMouseEvents:{type:Boolean,default:!0}},mounted:function(){this.interactiveLayerOptions={interactive:this.interactive,bubblingMouseEvents:this.bubblingMouseEvents}}},r={mixins:[o,s],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)for(var t in console.warn("lStyle is deprecated and is going to be removed in the next major version"),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})}}},a={mixins:[r],props:{fill:{type:Boolean,custom:!0,default:!0},radius:{type:Number,default:null}},mounted:function(){this.circleOptions=Object.assign({},this.pathOptions,{radius:this.radius})}},u=a,l=i("6df6"),c={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,e){var i=this.$parent.mapObject.attributionControl;i.removeAttribution(e).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)}}},h={mixins:[c],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})}},p=h,d={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,e){var i=this.$parent.mapObject.attributionControl;i.removeAttribution(e).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)}}},f={props:{interactive:{type:Boolean,default:!0},bubblingMouseEvents:{type:Boolean,default:!0}},mounted:function(){this.interactiveLayerOptions={interactive:this.interactive,bubblingMouseEvents:this.bubblingMouseEvents}}},m={mixins:[d,f],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}},_=m,y={props:{interactive:{type:Boolean,default:!0},bubblingMouseEvents:{type:Boolean,default:!0}},mounted:function(){this.interactiveLayerOptions={interactive:this.interactive,bubblingMouseEvents:this.bubblingMouseEvents}}},v=y,g={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,e){var i=this.$parent.mapObject.attributionControl;i.removeAttribution(e).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)}}},b=g,O={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,e){var i=this.$parent.mapObject.attributionControl;i.removeAttribution(e).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)}}},C={mixins:[O],mounted:function(){this.layerGroupOptions=this.layerOptions},methods:{addLayer:function(t,e){e||this.mapObject.addLayer(t.mapObject),this.parentContainer.addLayer(t,!0)},removeLayer:function(t,e){e||this.mapObject.removeLayer(t.mapObject),this.parentContainer.removeLayer(t,!0)}}},L=C,S=i("503e"),x={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,e){var i=this.$parent.mapObject.attributionControl;i.removeAttribution(e).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)}}},w={props:{interactive:{type:Boolean,default:!0},bubblingMouseEvents:{type:Boolean,default:!0}},mounted:function(){this.interactiveLayerOptions={interactive:this.interactive,bubblingMouseEvents:this.bubblingMouseEvents}}},j={mixins:[x,w],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},opaci
1ty:{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)for(var t in console.warn("lStyle is deprecated and is going to be removed in the next major version"),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})}}},T=j,P={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,e){var i=this.$parent.mapObject.attributionControl;i.removeAttribution(e).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)}}},A={props:{interactive:{type:Boolean,default:!0},bubblingMouseEvents:{type:Boolean,default:!0}},mounted:function(){this.interactiveLayerOptions={interactive:this.interactive,bubblingMouseEvents:this.bubblingMouseEvents}}},E={mixins:[P,A],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)for(var t in console.warn("lStyle is deprecated and is going to be removed in the next major version"),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})}}},M={mixins:[E],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)}}},k={mixins:[M],props:{fill:{type:Boolean,custom:!0,default:!0}},mounted:function(){this.polygonOptions=this.polyLineOptions},methods:{getGeoJSONData:function(){return this.mapObject.toGeoJSON()}}},z=k,N={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,e){var i=this.$parent.mapObject.attributionControl;i.removeAttribution(e).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)}}},$={props:{interactive:{type:Boolean,default:!0},bubblingMouseEvents:{type:Boolean,default:!0}},mounted:function(){this.interactiveLayerOptions={interactive:this.interactive,bubblingMouseEvents:this.bubblingMouseEvents}}},B={mixins:[N,$],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)for(var t in console.warn("lStyle is deprecated and is going to be removed in the next major version"),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})}}},R={mixins:[B],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)}}},I=R,Z={props:{content:{type:String,default:null,custom:!0}},mounted:function(){this.popperOptions={}},methods:{setContent:function(t){this.mapObject&&null!==t&&void 0!==t&&this.mapObject.setContent(t)}},render:function(t){return this.$slots.default?t("div",this.$slots.default):null}},D=Z,F={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,e){var i=this.$parent.mapObject.attributionControl;i.removeAttribution(e).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)}}},U={mixins:[F],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})}},V={mixins:[U],props:{tms:{type:Boolean,default:!1},subdomains:{type:[String,Array],default:"abc",validator:function(t){return"string"===typeof t||!!Array.isArray(t)&&t.every((function(t){return"string"===typeof t}))}},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}},H=V,W={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,e){var i=this.$parent.mapObject.attributionControl;i.removeAttribution(e).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)}}},J={mixins:[W],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})}},G={mixins:[J],props:{tms:{type:Boolean,default:!1},subdomains:{type:[String,Array],default:"abc",validator:function(t){return"string"===typeof t||!!Array.isArray(t)&&t.every((function(t){return"string"===typeof t}))}},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}},q={mixins:[G],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})}},X=q,K=i("e11e"),Y=function(t){return t&&"function"===typeof t.charAt?t.charAt(0).toUpperCase()+t.slice(1):t}
1,Q=function(t,e,i,n){var o=function(n){var o="set"+Y(n),s=i[n].type===Object||i[n].type===Array||Array.isArray(i[n].type);i[n].custom&&t[o]?t.$watch(n,(function(e,i){t[o](e,i)}),{deep:s}):"setOptions"===o?t.$watch(n,(function(t,i){Object(K["setOptions"])(e,t)}),{deep:s}):e[o]&&t.$watch(n,(function(t,i){e[o](t)}),{deep:s})};for(var s in i)o(s)},tt=function(t){var e={};for(var i in t){var n=t[i];null!==n&&void 0!==n&&(e[i]=n)}return e},et=function(t,e){var i=e.options&&e.options.constructor===Object?e.options:{};t=t&&t.constructor===Object?t:{};var n=tt(i);t=tt(t);var o=e.$options.props;for(var s in t){var r=o[s]?o[s].default&&"function"===typeof o[s].default?o[s].default.call():o[s].default:Symbol("unique"),a=!1;a=Array.isArray(r)?JSON.stringify(r)===JSON.stringify(t[s]):r===t[s],n[s]&&!a?(console.warn(s+" props is overriding the value passed in the options props"),n[s]=t[s]):n[s]||(n[s]=t[s])}return n},it=function(t){var e=!1;while(t&&!e)void 0===t.mapObject?t=t.$parent:e=!0;return t},nt={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,e){var i=this.$parent.mapObject.attributionControl;i.removeAttribution(e).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)}}},ot={props:{interactive:{type:Boolean,default:!0},bubblingMouseEvents:{type:Boolean,default:!0}},mounted:function(){this.interactiveLayerOptions={interactive:this.interactive,bubblingMouseEvents:this.bubblingMouseEvents}}},st={mixins:[nt,ot],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)for(var t in console.warn("lStyle is deprecated and is going to be removed in the next major version"),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})}}},rt={mixins:[st],props:{fill:{type:Boolean,custom:!0,default:!0},radius:{type:Number,default:null}},mounted:function(){this.circleOptions=Object.assign({},this.pathOptions,{radius:this.radius})}},at={props:{options:{type:Object,default:function(){return{}}}}},ut={name:"LCircle",mixins:[rt,at],props:{latLng:{type:[Object,Array],default:function(){return[0,0]}}},data:function(){return{ready:!1}},mounted:function(){var t=this,e=et(this.circleOptions,this);this.mapObject=Object(K["circle"])(this.latLng,e),K["DomEvent"].on(this.mapObject,this.$listeners),Q(this,this.mapObject,this.$options.props),this.ready=!0,this.parentContainer=it(this.$parent),this.parentContainer.addLayer(this,!this.visible),this.$nextTick((function(){t.$emit("ready",t.mapObject)}))},methods:{}};function lt(t,e,i,n,o,s,r,a,u,l){"boolean"!==typeof r&&(u=a,a=r,r=!1);var c,h="function"===typeof i?i.options:i;if(t&&t.render&&(h.render=t.render,h.staticRenderFns=t.staticRenderFns,h._compiled=!0,o&&(h.functional=!0)),n&&(h._scopeId=n),s?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,u(t)),t&&t._registeredComponents&&t._registeredComponents.add(s)},h._ssrRegister=c):e&&(c=r?function(t){e.call(this,l(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,a(t))}),c)if(h.functional){var p=h.render;h.render=function(t,e){return c.call(e),p(t,e)}}else{var d=h.beforeCreate;h.beforeCreate=d?[].concat(d,c):[c]}return i}var ct=ut,ht=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticStyle:{display:"none"}},[t.ready?t._t("default"):t._e()],2)},pt=[],dt=void 0,ft=void 0,mt=void 0,_t=!1,yt=lt({render:ht,staticRenderFns:pt},dt,ct,ft,_t,mt,!1,void 0,void 0,void 0),vt=yt,gt=function(t){return t&&"function"===typeof t.charAt?t.charAt(0).toUpperCase()+t.slice(1):t}
1,bt=function(t,e,i,n){var o=function(n){var o="set"+gt(n),s=i[n].type===Object||i[n].type===Array||Array.isArray(i[n].type);i[n].custom&&t[o]?t.$watch(n,(function(e,i){t[o](e,i)}),{deep:s}):"setOptions"===o?t.$watch(n,(function(t,i){Object(K["setOptions"])(e,t)}),{deep:s}):e[o]&&t.$watch(n,(function(t,i){e[o](t)}),{deep:s})};for(var s in i)o(s)},Ot=function(t){var e={};for(var i in t){var n=t[i];null!==n&&void 0!==n&&(e[i]=n)}return e},Ct=function(t,e){var i=e.options&&e.options.constructor===Object?e.options:{};t=t&&t.constructor===Object?t:{};var n=Ot(i);t=Ot(t);var o=e.$options.props;for(var s in t){var r=o[s]?o[s].default&&"function"===typeof o[s].default?o[s].default.call():o[s].default:Symbol("unique"),a=!1;a=Array.isArray(r)?JSON.stringify(r)===JSON.stringify(t[s]):r===t[s],n[s]&&!a?(console.warn(s+" props is overriding the value passed in the options props"),n[s]=t[s]):n[s]||(n[s]=t[s])}return n},Lt=function(t){var e=!1;while(t&&!e)void 0===t.mapObject?t=t.$parent:e=!0;return t},St={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,e){var i=this.$parent.mapObject.attributionControl;i.removeAttribution(e).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)}}},xt={props:{interactive:{type:Boolean,default:!0},bubblingMouseEvents:{type:Boolean,default:!0}},mounted:function(){this.interactiveLayerOptions={interactive:this.interactive,bubblingMouseEvents:this.bubblingMouseEvents}}},wt={mixins:[St,xt],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)for(var t in console.warn("lStyle is deprecated and is going to be removed in the next major version"),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})}}},jt={mixins:[wt],props:{fill:{type:Boolean,custom:!0,default:!0},radius:{type:Number,default:null}},mounted:function(){this.circleOptions=Object.assign({},this.pathOptions,{radius:this.radius})}},Tt={props:{options:{type:Object,default:function(){return{}}}}},Pt={name:"LCircleMarker",mixins:[jt,Tt],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,e=Ct(this.circleOptions,this);this.mapObject=Object(K["circleMarker"])(this.latLng,e),K["DomEvent"].on(this.mapObject,this.$listeners),bt(this,this.mapObject,this.$options.props),this.ready=!0,this.parentContainer=Lt(this.$parent),this.parentContainer.addLayer(this,!this.visible),this.$nextTick((function(){t.$emit("ready",t.mapObject)}))}};function At(t,e,i,n,o,s,r,a,u,l){"boolean"!==typeof r&&(u=a,a=r,r=!1);var c,h="function"===typeof i?i.options:i;if(t&&t.render&&(h.render=t.render,h.staticRenderFns=t.staticRenderFns,h._compiled=!0,o&&(h.functional=!0)),n&&(h._scopeId=n),s?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,u(t)),t&&t._registeredComponents&&t._registeredComponents.add(s)},h._ssrRegister=c):e&&(c=r?function(t){e.call(this,l(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,a(t))}),c)if(h.functional){var p=h.render;h.render=function(t,e){return c.call(e),p(t,e)}}else{var d=h.beforeCreate;h.beforeCreate=d?[].concat(d,c):[c]}return i}var Et=Pt,Mt=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticStyle:{display:"none"}},[t.ready?t._t("default"):t._e()],2)},kt=[],zt=void 0,Nt=void 0,$t=void 0,Bt=!1,Rt=At({render:Mt,staticRenderFns:kt},zt,Et,Nt,Bt,$t,!1,void 0,void 0,void 0),It=Rt,Zt=i("2253"),Dt=function(t){return t&&"function"===typeof t.charAt?t.charAt(0).toUpperCase()+t.slice(1):t}
1,Ft=function(t,e,i,n){var o=function(n){var o="set"+Dt(n),s=i[n].type===Object||i[n].type===Array||Array.isArray(i[n].type);i[n].custom&&t[o]?t.$watch(n,(function(e,i){t[o](e,i)}),{deep:s}):"setOptions"===o?t.$watch(n,(function(t,i){Object(K["setOptions"])(e,t)}),{deep:s}):e[o]&&t.$watch(n,(function(t,i){e[o](t)}),{deep:s})};for(var s in i)o(s)},Ut=function(t){var e={};for(var i in t){var n=t[i];null!==n&&void 0!==n&&(e[i]=n)}return e},Vt=function(t,e){var i=e.options&&e.options.constructor===Object?e.options:{};t=t&&t.constructor===Object?t:{};var n=Ut(i);t=Ut(t);var o=e.$options.props;for(var s in t){var r=o[s]?o[s].default&&"function"===typeof o[s].default?o[s].default.call():o[s].default:Symbol("unique"),a=!1;a=Array.isArray(r)?JSON.stringify(r)===JSON.stringify(t[s]):r===t[s],n[s]&&!a?(console.warn(s+" props is overriding the value passed in the options props"),n[s]=t[s]):n[s]||(n[s]=t[s])}return n},Ht={props:{position:{type:String,default:"topright"}},mounted:function(){this.controlOptions={position:this.position}},beforeDestroy:function(){this.mapObject&&this.mapObject.remove()}},Wt={props:{options:{type:Object,default:function(){return{}}}}},Jt={name:"LControlAttribution",mixins:[Ht,Wt],props:{prefix:{type:[String,Boolean],default:null}},mounted:function(){var t=this,e=Vt(Object.assign({},this.controlOptions,{prefix:this.prefix}),this);this.mapObject=K["control"].attribution(e),Ft(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 Gt(t,e,i,n,o,s,r,a,u,l){"boolean"!==typeof r&&(u=a,a=r,r=!1);var c,h="function"===typeof i?i.options:i;if(t&&t.render&&(h.render=t.render,h.staticRenderFns=t.staticRenderFns,h._compiled=!0,o&&(h.functional=!0)),n&&(h._scopeId=n),s?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,u(t)),t&&t._registeredComponents&&t._registeredComponents.add(s)},h._ssrRegister=c):e&&(c=r?function(t){e.call(this,l(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,a(t))}),c)if(h.functional){var p=h.render;h.render=function(t,e){return c.call(e),p(t,e)}}else{var d=h.beforeCreate;h.beforeCreate=d?[].concat(d,c):[c]}return i}var qt=Jt,Xt=void 0,Kt=void 0,Yt=void 0,Qt=void 0,te=Gt({},Xt,qt,Kt,Qt,Yt,!1,void 0,void 0,void 0),ee=te,ie=function(t){return t&&"function"===typeof t.charAt?t.charAt(0).toUpperCase()+t.slice(1):t},ne=function(t,e,i,n){var o=function(n){var o="set"+ie(n),s=i[n].type===Object||i[n].type===Array||Array.isArray(i[n].type);i[n].custom&&t[o]?t.$watch(n,(function(e,i){t[o](e,i)}),{deep:s}):"setOptions"===o?t.$watch(n,(function(t,i){Object(K["setOptions"])(e,t)}),{deep:s}):e[o]&&t.$watch(n,(function(t,i){e[o](t)}),{deep:s})};for(var s in i)o(s)},oe=function(t){var e={};for(var i in t){var n=t[i];null!==n&&void 0!==n&&(e[i]=n)}return e},se=function(t,e){var i=e.options&&e.options.constructor===Object?e.options:{};t=t&&t.constructor===Object?t:{};var n=oe(i);t=oe(t);var o=e.$options.props;for(var s in t){var r=o[s]?o[s].default&&"function"===typeof o[s].default?o[s].default.call():o[s].default:Symbol("unique"),a=!1;a=Array.isArray(r)?JSON.stringify(r)===JSON.stringify(t[s]):r===t[s],n[s]&&!a?(console.warn(s+" props is overriding the value passed in the options props"),n[s]=t[s]):n[s]||(n[s]=t[s])}return n},re={props:{position:{type:String,default:"topright"}},mounted:function(){this.controlOptions={position:this.position}},beforeDestroy:function(){this.mapObject&&this.mapObject.remove()}},ae={props:{options:{type:Object,default:function(){return{}}}}},ue={name:"LControlLayers",mixins:[re,ae],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,e=se(Object.assign({},this.controlOptions,{collapsed:this.collapsed,autoZIndex:this.autoZIndex,hideSingleBase:this.hideSingleBase,sortLayers:this.sortLayers,sortFunction:this.sortFunction}),this);this.mapObject=K["control"].layers(null,null,e),ne(this,this.mapObject,this.$options.props),this.$parent.registerLayerControl(this),this.$nextTick((function(){t.$emit("ready",t.mapObject)}))},methods:{addLayer:function(t){"base"===t.layerType?this.mapObject.addBaseLayer(t.mapObject,t.name):"overlay"===t.layerType&&this.mapObject.addOverlay(t.mapObject,t.name)},removeLayer:function(t){this.mapObject.removeLayer(t.mapObject)}},render:function(){return null}};function le(t,e,i,n,o,s,r,a,u,l){"boolean"!==typeof r&&(u=a,a=r,r=!1);var c,h="function"===typeof i?i.options:i;if(t&&t.render&&(h.render=t.render,h.staticRenderFns=t.staticRenderFns,h._compiled=!0,o&&(h.functional=!0)),n&&(h._scopeId=n),s?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,u(t)),t&&t._registeredComponents&&t._registeredComponents.add(s)},h._ssrRegister=c):e&&(c=r?function(t){e.call(this,l(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,a(t))}),c)if(h.functional){var p=h.render;h.render=function(t,e){return c.call(e),p(t,e)}}else{var d=h.beforeCreate;h.beforeCreate=d?[].concat(d,c):[c]}return i}
1var ce=ue,he=void 0,pe=void 0,de=void 0,fe=void 0,me=le({},he,ce,pe,fe,de,!1,void 0,void 0,void 0),_e=me,ye=function(t){return t&&"function"===typeof t.charAt?t.charAt(0).toUpperCase()+t.slice(1):t},ve=function(t,e,i,n){var o=function(n){var o="set"+ye(n),s=i[n].type===Object||i[n].type===Array||Array.isArray(i[n].type);i[n].custom&&t[o]?t.$watch(n,(function(e,i){t[o](e,i)}),{deep:s}):"setOptions"===o?t.$watch(n,(function(t,i){Object(K["setOptions"])(e,t)}),{deep:s}):e[o]&&t.$watch(n,(function(t,i){e[o](t)}),{deep:s})};for(var s in i)o(s)},ge=function(t){var e={};for(var i in t){var n=t[i];null!==n&&void 0!==n&&(e[i]=n)}return e},be=function(t,e){var i=e.options&&e.options.constructor===Object?e.options:{};t=t&&t.constructor===Object?t:{};var n=ge(i);t=ge(t);var o=e.$options.props;for(var s in t){var r=o[s]?o[s].default&&"function"===typeof o[s].default?o[s].default.call():o[s].default:Symbol("unique"),a=!1;a=Array.isArray(r)?JSON.stringify(r)===JSON.stringify(t[s]):r===t[s],n[s]&&!a?(console.warn(s+" props is overriding the value passed in the options props"),n[s]=t[s]):n[s]||(n[s]=t[s])}return n},Oe={props:{position:{type:String,default:"topright"}},mounted:function(){this.controlOptions={position:this.position}},beforeDestroy:function(){this.mapObject&&this.mapObject.remove()}},Ce={props:{options:{type:Object,default:function(){return{}}}}},Le={name:"LControlScale",mixins:[Oe,Ce],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,e=be(Object.assign({},this.controlOptions,{maxWidth:this.maxWidth,metric:this.metric,imperial:this.imperial,updateWhenIdle:this.updateWhenIdle}),this);this.mapObject=K["control"].scale(e),ve(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 Se(t,e,i,n,o,s,r,a,u,l){"boolean"!==typeof r&&(u=a,a=r,r=!1);var c,h="function"===typeof i?i.options:i;if(t&&t.render&&(h.render=t.render,h.staticRenderFns=t.staticRenderFns,h._compiled=!0,o&&(h.functional=!0)),n&&(h._scopeId=n),s?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,u(t)),t&&t._registeredComponents&&t._registeredComponents.add(s)},h._ssrRegister=c):e&&(c=r?function(t){e.call(this,l(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,a(t))}),c)if(h.functional){var p=h.render;h.render=function(t,e){return c.call(e),p(t,e)}}else{var d=h.beforeCreate;h.beforeCreate=d?[].concat(d,c):[c]}return i}var xe=Le,we=void 0,je=void 0,Te=void 0,Pe=void 0,Ae=Se({},we,xe,je,Pe,Te,!1,void 0,void 0,void 0),Ee=Ae,Me=i("c8b6"),ke=function(t){return t&&"function"===typeof t.charAt?t.charAt(0).toUpperCase()+t.slice(1):t},ze=function(t,e,i,n){var o=function(n){var o="set"+ke(n),s=i[n].type===Object||i[n].type===Array||Array.isArray(i[n].type);i[n].custom&&t[o]?t.$watch(n,(function(e,i){t[o](e,i)}),{deep:s}):"setOptions"===o?t.$watch(n,(function(t,i){Object(K["setOptions"])(e,t)}),{deep:s}):e[o]&&t.$watch(n,(function(t,i){e[o](t)}),{deep:s})};for(var s in i)o(s)},Ne=function(t){var e=!1;while(t&&!e)void 0===t.mapObject?t=t.$parent:e=!0;return t},$e={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,e){var i=this.$parent.mapObject.attributionControl;i.removeAttribution(e).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)}}},Be={mixins:[$e],mounted:function(){this.layerGroupOptions=this.layerOptions},methods:{addLayer:function(t,e){e||this.mapObject.addLayer(t.mapObject),this.parentContainer.addLayer(t,!0)},removeLayer:function(t,e){e||this.mapObject.removeLayer(t.mapObject),this.parentContainer.removeLayer(t,!0)}}},Re={props:{options:{type:Object,default:function(){return{}}}}},Ie={name:"LFeatureGroup",mixins:[Be,Re],data:function(){return{ready:!1}},mounted:function(){var t=this;this.mapObject=Object(K["featureGroup"])(),ze(this,this.mapObject,this.$options.props),K["DomEvent"].on(this.mapObject,this.$listeners),this.ready=!0,this.parentContainer=Ne(this.$parent),this.visible&&this.parentContainer.addLayer(this),this.$nextTick((function(){t.$emit("ready",t.mapObject)}))}};function Ze(t,e,i,n,o,s,r,a,u,l){"boolean"!==typeof r&&(u=a,a=r,r=!1);var c,h="function"===typeof i?i.options:i;if(t&&t.render&&(h.render=t.render,h.staticRenderFns=t.staticRenderFns,h._compiled=!0,o&&(h.functional=!0)),n&&(h._scopeId=n),s?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,u(t)),t&&t._registeredComponents&&t._registeredComponents.add(s)},h._ssrRegister=c):e&&(c=r?function(t){e.call(this,l(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,a(t))}),c)if(h.functional){var p=h.render;h.render=function(t,e){return c.call(e),p(t,e)}}else{var d=h.beforeCreate;h.beforeCreate=d?[].concat(d,c):[c]}return i}var De=Ie,Fe=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticStyle:{display:"none"}},[t.ready?t._t("default"):t._e()],2)},Ue=[],Ve=void 0,He=void 0,We=void 0,Je=!1,Ge=Ze({render:Fe,staticRenderFns:Ue},Ve,De,He,Je,We,!1,void 0,void 0,void 0),qe=Ge,Xe=function(t){return t&&"function"===typeof t.charAt?t.charAt(0).toUpperCase()+t.slice(1):t}
1,Ke=function(t,e,i,n){var o=function(n){var o="set"+Xe(n),s=i[n].type===Object||i[n].type===Array||Array.isArray(i[n].type);i[n].custom&&t[o]?t.$watch(n,(function(e,i){t[o](e,i)}),{deep:s}):"setOptions"===o?t.$watch(n,(function(t,i){Object(K["setOptions"])(e,t)}),{deep:s}):e[o]&&t.$watch(n,(function(t,i){e[o](t)}),{deep:s})};for(var s in i)o(s)},Ye=function(t){var e={};for(var i in t){var n=t[i];null!==n&&void 0!==n&&(e[i]=n)}return e},Qe=function(t,e){var i=e.options&&e.options.constructor===Object?e.options:{};t=t&&t.constructor===Object?t:{};var n=Ye(i);t=Ye(t);var o=e.$options.props;for(var s in t){var r=o[s]?o[s].default&&"function"===typeof o[s].default?o[s].default.call():o[s].default:Symbol("unique"),a=!1;a=Array.isArray(r)?JSON.stringify(r)===JSON.stringify(t[s]):r===t[s],n[s]&&!a?(console.warn(s+" props is overriding the value passed in the options props"),n[s]=t[s]):n[s]||(n[s]=t[s])}return n},ti=function(t){var e=!1;while(t&&!e)void 0===t.mapObject?t=t.$parent:e=!0;return t},ei={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,e){var i=this.$parent.mapObject.attributionControl;i.removeAttribution(e).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)}}},ii={mixins:[ei],mounted:function(){this.layerGroupOptions=this.layerOptions},methods:{addLayer:function(t,e){e||this.mapObject.addLayer(t.mapObject),this.parentContainer.addLayer(t,!0)},removeLayer:function(t,e){e||this.mapObject.removeLayer(t.mapObject),this.parentContainer.removeLayer(t,!0)}}},ni={props:{options:{type:Object,default:function(){return{}}}}},oi={name:"LGeoJson",mixins:[ii,ni],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 Qe(Object.assign({},this.layerGroupOptions,{style:this.optionsStyle}),this)}},mounted:function(){var t=this;this.mapObject=Object(K["geoJSON"])(this.geojson,this.mergedOptions),K["DomEvent"].on(this.mapObject,this.$listeners),Ke(this,this.mapObject,this.$options.props),this.parentContainer=ti(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,e){this.mapObject.clearLayers(),Object(K["setOptions"])(this.mapObject,this.mergedOptions),this.mapObject.addData(this.geojson)},setOptionsStyle:function(t,e){this.mapObject.setStyle(t)}},render:function(){return null}};function si(t,e,i,n,o,s,r,a,u,l){"boolean"!==typeof r&&(u=a,a=r,r=!1);var c,h="function"===typeof i?i.options:i;if(t&&t.render&&(h.render=t.render,h.staticRenderFns=t.staticRenderFns,h._compiled=!0,o&&(h.functional=!0)),n&&(h._scopeId=n),s?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,u(t)),t&&t._registeredComponents&&t._registeredComponents.add(s)},h._ssrRegister=c):e&&(c=r?function(t){e.call(this,l(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,a(t))}),c)if(h.functional){var p=h.render;h.render=function(t,e){return c.call(e),p(t,e)}}else{var d=h.beforeCreate;h.beforeCreate=d?[].concat(d,c):[c]}return i}var ri=oi,ai=void 0,ui=void 0,li=void 0,ci=void 0,hi=si({},ai,ri,ui,ci,li,!1,void 0,void 0,void 0),pi=hi,di=i("2b0e"),fi=function(t){return t&&"function"===typeof t.charAt?t.charAt(0).toUpperCase()+t.slice(1):t}
1,mi=function(t,e,i,n){var o=function(n){var o="set"+fi(n),s=i[n].type===Object||i[n].type===Array||Array.isArray(i[n].type);i[n].custom&&t[o]?t.$watch(n,(function(e,i){t[o](e,i)}),{deep:s}):"setOptions"===o?t.$watch(n,(function(t,i){Object(K["setOptions"])(e,t)}),{deep:s}):e[o]&&t.$watch(n,(function(t,i){e[o](t)}),{deep:s})};for(var s in i)o(s)},_i=function(t){var e={};for(var i in t){var n=t[i];null!==n&&void 0!==n&&(e[i]=n)}return e},yi=function(t,e){var i=e.options&&e.options.constructor===Object?e.options:{};t=t&&t.constructor===Object?t:{};var n=_i(i);t=_i(t);var o=e.$options.props;for(var s in t){var r=o[s]?o[s].default&&"function"===typeof o[s].default?o[s].default.call():o[s].default:Symbol("unique"),a=!1;a=Array.isArray(r)?JSON.stringify(r)===JSON.stringify(t[s]):r===t[s],n[s]&&!a?(console.warn(s+" props is overriding the value passed in the options props"),n[s]=t[s]):n[s]||(n[s]=t[s])}return n},vi=function(t){var e=!1;while(t&&!e)void 0===t.mapObject?t=t.$parent:e=!0;return t},gi={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,e){var i=this.$parent.mapObject.attributionControl;i.removeAttribution(e).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)}}},bi={mixins:[gi],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})}},Oi={props:{options:{type:Object,default:function(){return{}}}}},Ci={name:"LGridLayer",mixins:[bi,Oi],props:{tileComponent:{type:Object,custom:!0,required:!0}},data:function(){return{tileComponents:{}}},computed:{TileConstructor:function(){return di["default"].extend(this.tileComponent)}},mounted:function(){var t=this,e=K["GridLayer"].extend({}),i=yi(this.gridLayerOptions,this);this.mapObject=new e(i),K["DomEvent"].on(this.mapObject,this.$listeners),this.mapObject.on("tileunload",this.onUnload,this),mi(this,this.mapObject,this.$options.props),this.mapObject.createTile=this.createTile,this.parentContainer=vi(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 e=K["DomUtil"].create("div"),i=K["DomUtil"].create("div");e.appendChild(i);var n=new this.TileConstructor({el:i,parent:this,propsData:{coords:t}}),o=this.mapObject._tileCoordsToKey(t);return this.tileComponents[o]=n,e},onUnload:function(t){var e=this.mapObject._tileCoordsToKey(t.coords);"undefined"!==typeof this.tileComponents[e]&&(this.tileComponents[e].$destroy(),this.tileComponents[e].$el.remove(),delete this.tileComponents[e])},setTileComponent:function(t){this.mapObject.redraw()}}};function Li(t,e,i,n,o,s,r,a,u,l){"boolean"!==typeof r&&(u=a,a=r,r=!1);var c,h="function"===typeof i?i.options:i;if(t&&t.render&&(h.render=t.render,h.staticRenderFns=t.staticRenderFns,h._compiled=!0,o&&(h.functional=!0)),n&&(h._scopeId=n),s?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,u(t)),t&&t._registeredComponents&&t._registeredComponents.add(s)},h._ssrRegister=c):e&&(c=r?function(t){e.call(this,l(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,a(t))}),c)if(h.functional){var p=h.render;h.render=function(t,e){return c.call(e),p(t,e)}}else{var d=h.beforeCreate;h.beforeCreate=d?[].concat(d,c):[c]}return i}var Si=Ci,xi=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div")},wi=[],ji=void 0,Ti=void 0,Pi=void 0,Ai=!1,Ei=Li({render:xi,staticRenderFns:wi},ji,Si,Ti,Ai,Pi,!1,void 0,void 0,void 0),Mi=Ei,ki=i("fbba"),zi=function(t){return t&&"function"===typeof t.charAt?t.charAt(0).toUpperCase()+t.slice(1):t}
1,Ni=function(t,e,i,n){var o=function(n){var o="set"+zi(n),s=i[n].type===Object||i[n].type===Array||Array.isArray(i[n].type);i[n].custom&&t[o]?t.$watch(n,(function(e,i){t[o](e,i)}),{deep:s}):"setOptions"===o?t.$watch(n,(function(t,i){Object(K["setOptions"])(e,t)}),{deep:s}):e[o]&&t.$watch(n,(function(t,i){e[o](t)}),{deep:s})};for(var s in i)o(s)},$i={name:"LIconDefault",props:{imagePath:{type:String,custom:!0,default:""}},mounted:function(){K["Icon"].Default.imagePath=this.imagePath,Ni(this,{},this.$options.props)},methods:{setImagePath:function(t){K["Icon"].Default.imagePath=t}},render:function(){return null}};function Bi(t,e,i,n,o,s,r,a,u,l){"boolean"!==typeof r&&(u=a,a=r,r=!1);var c,h="function"===typeof i?i.options:i;if(t&&t.render&&(h.render=t.render,h.staticRenderFns=t.staticRenderFns,h._compiled=!0,o&&(h.functional=!0)),n&&(h._scopeId=n),s?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,u(t)),t&&t._registeredComponents&&t._registeredComponents.add(s)},h._ssrRegister=c):e&&(c=r?function(t){e.call(this,l(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,a(t))}),c)if(h.functional){var p=h.render;h.render=function(t,e){return c.call(e),p(t,e)}}else{var d=h.beforeCreate;h.beforeCreate=d?[].concat(d,c):[c]}return i}var Ri=$i,Ii=void 0,Zi=void 0,Di=void 0,Fi=void 0,Ui=Bi({},Ii,Ri,Zi,Fi,Di,!1,void 0,void 0,void 0),Vi=Ui,Hi=function(t){return t&&"function"===typeof t.charAt?t.charAt(0).toUpperCase()+t.slice(1):t},Wi=function(t,e,i,n){var o=function(n){var o="set"+Hi(n),s=i[n].type===Object||i[n].type===Array||Array.isArray(i[n].type);i[n].custom&&t[o]?t.$watch(n,(function(e,i){t[o](e,i)}),{deep:s}):"setOptions"===o?t.$watch(n,(function(t,i){Object(K["setOptions"])(e,t)}),{deep:s}):e[o]&&t.$watch(n,(function(t,i){e[o](t)}),{deep:s})};for(var s in i)o(s)},Ji=function(t){var e={};for(var i in t){var n=t[i];null!==n&&void 0!==n&&(e[i]=n)}return e},Gi=function(t,e){var i=e.options&&e.options.constructor===Object?e.options:{};t=t&&t.constructor===Object?t:{};var n=Ji(i);t=Ji(t);var o=e.$options.props;for(var s in t){var r=o[s]?o[s].default&&"function"===typeof o[s].default?o[s].default.call():o[s].default:Symbol("unique"),a=!1;a=Array.isArray(r)?JSON.stringify(r)===JSON.stringify(t[s]):r===t[s],n[s]&&!a?(console.warn(s+" props is overriding the value passed in the options props"),n[s]=t[s]):n[s]||(n[s]=t[s])}return n},qi=function(t){var e=!1;while(t&&!e)void 0===t.mapObject?t=t.$parent:e=!0;return t},Xi={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,e){var i=this.$parent.mapObject.attributionControl;i.removeAttribution(e).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)}}},Ki={props:{interactive:{type:Boolean,default:!0},bubblingMouseEvents:{type:Boolean,default:!0}},mounted:function(){this.interactiveLayerOptions={interactive:this.interactive,bubblingMouseEvents:this.bubblingMouseEvents}}},Yi={mixins:[Xi,Ki],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}},Qi={props:{options:{type:Object,default:function(){return{}}}}},tn={name:"LImageOverlay",mixins:[Yi,Qi],mounted:function(){var t=this,e=Gi(this.imageOverlayOptions,this);this.mapObject=Object(K["imageOverlay"])(this.url,this.bounds,e),K["DomEvent"].on(this.mapObject,this.$listeners),Wi(this,this.mapObject,this.$options.props),this.parentContainer=qi(this.$parent),this.parentContainer.addLayer(this,!this.visible),this.$nextTick((function(){t.$emit("ready",t.mapObject)}))},render:function(){return null}};function en(t,e,i,n,o,s,r,a,u,l){"boolean"!==typeof r&&(u=a,a=r,r=!1);var c,h="function"===typeof i?i.options:i;if(t&&t.render&&(h.render=t.render,h.staticRenderFns=t.staticRenderFns,h._compiled=!0,o&&(h.functional=!0)),n&&(h._scopeId=n),s?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,u(t)),t&&t._registeredComponents&&t._registeredComponents.add(s)},h._ssrRegister=c):e&&(c=r?function(t){e.call(this,l(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,a(t))}),c)if(h.functional){var p=h.render;h.render=function(t,e){return c.call(e),p(t,e)}}else{var d=h.beforeCreate;h.beforeCreate=d?[].concat(d,c):[c]}return i}var nn=tn,on=void 0,sn=void 0,rn=void 0,an=void 0,un=en({},on,nn,sn,an,rn,!1,void 0,void 0,void 0),ln=un,cn=function(t){return t&&"function"===typeof t.charAt?t.charAt(0).toUpperCase()+t.slice(1):t}
1,hn=function(t,e,i,n){var o=function(n){var o="set"+cn(n),s=i[n].type===Object||i[n].type===Array||Array.isArray(i[n].type);i[n].custom&&t[o]?t.$watch(n,(function(e,i){t[o](e,i)}),{deep:s}):"setOptions"===o?t.$watch(n,(function(t,i){Object(K["setOptions"])(e,t)}),{deep:s}):e[o]&&t.$watch(n,(function(t,i){e[o](t)}),{deep:s})};for(var s in i)o(s)},pn=function(t){var e=!1;while(t&&!e)void 0===t.mapObject?t=t.$parent:e=!0;return t},dn={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,e){var i=this.$parent.mapObject.attributionControl;i.removeAttribution(e).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)}}},fn={mixins:[dn],mounted:function(){this.layerGroupOptions=this.layerOptions},methods:{addLayer:function(t,e){e||this.mapObject.addLayer(t.mapObject),this.parentContainer.addLayer(t,!0)},removeLayer:function(t,e){e||this.mapObject.removeLayer(t.mapObject),this.parentContainer.removeLayer(t,!0)}}},mn={props:{options:{type:Object,default:function(){return{}}}}},_n={name:"LLayerGroup",mixins:[fn,mn],data:function(){return{ready:!1}},mounted:function(){var t=this;this.mapObject=Object(K["layerGroup"])(),hn(this,this.mapObject,this.$options.props),K["DomEvent"].on(this.mapObject,this.$listeners),this.ready=!0,this.parentContainer=pn(this.$parent),this.parentContainer.addLayer(this,!this.visible),this.$nextTick((function(){t.$emit("ready",t.mapObject)}))}};function yn(t,e,i,n,o,s,r,a,u,l){"boolean"!==typeof r&&(u=a,a=r,r=!1);var c,h="function"===typeof i?i.options:i;if(t&&t.render&&(h.render=t.render,h.staticRenderFns=t.staticRenderFns,h._compiled=!0,o&&(h.functional=!0)),n&&(h._scopeId=n),s?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,u(t)),t&&t._registeredComponents&&t._registeredComponents.add(s)},h._ssrRegister=c):e&&(c=r?function(t){e.call(this,l(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,a(t))}),c)if(h.functional){var p=h.render;h.render=function(t,e){return c.call(e),p(t,e)}}else{var d=h.beforeCreate;h.beforeCreate=d?[].concat(d,c):[c]}return i}var vn=_n,gn=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticStyle:{display:"none"}},[t.ready?t._t("default"):t._e()],2)},bn=[],On=void 0,Cn=void 0,Ln=void 0,Sn=!1,xn=yn({render:gn,staticRenderFns:bn},On,vn,Cn,Sn,Ln,!1,void 0,void 0,void 0),wn=xn,jn=i("2699"),Tn=i("4e2b"),Pn=i("258a"),An=function(t){return t&&"function"===typeof t.charAt?t.charAt(0).toUpperCase()+t.slice(1):t},En=function(t,e,i,n){var o=function(n){var o="set"+An(n),s=i[n].type===Object||i[n].type===Array||Array.isArray(i[n].type);i[n].custom&&t[o]?t.$watch(n,(function(e,i){t[o](e,i)}),{deep:s}):"setOptions"===o?t.$watch(n,(function(t,i){Object(K["setOptions"])(e,t)}),{deep:s}):e[o]&&t.$watch(n,(function(t,i){e[o](t)}),{deep:s})};for(var s in i)o(s)},Mn=function(t){var e={};for(var i in t){var n=t[i];null!==n&&void 0!==n&&(e[i]=n)}return e},kn=function(t,e){var i=e.options&&e.options.constructor===Object?e.options:{};t=t&&t.constructor===Object?t:{};var n=Mn(i);t=Mn(t);var o=e.$options.props;for(var s in t){var r=o[s]?o[s].default&&"function"===typeof o[s].default?o[s].default.call():o[s].default:Symbol("unique"),a=!1;a=Array.isArray(r)?JSON.stringify(r)===JSON.stringify(t[s]):r===t[s],n[s]&&!a?(console.warn(s+" props is overriding the value passed in the options props"),n[s]=t[s]):n[s]||(n[s]=t[s])}return n},zn=function(t){var e=!1;while(t&&!e)void 0===t.mapObject?t=t.$parent:e=!0;return t},Nn={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,e){var i=this.$parent.mapObject.attributionControl;i.removeAttribution(e).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)}}},$n={props:{interactive:{type:Boolean,default:!0},bubblingMouseEvents:{type:Boolean,default:!0}},mounted:function(){this.interactiveLayerOptions={interactive:this.interactive,bubblingMouseEvents:this.bubblingMouseEvents}}},Bn={mixins:[Nn,$n],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)for(var t in console.warn("lStyle is deprecated and is going to be removed in the next major version"),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})}}},Rn={mixins:[Bn],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)}}},In={props:{options:{type:Object,default:function(){return{}}}}},Zn={name:"LPolyline",mixins:[Rn,In],props:{latLngs:{type:Array,default:function(){return[]}}},data:function(){return{ready:!1}},mounted:function(){var t=this,e=kn(this.polyLineOptions,this);this.mapObject=Object(K["polyline"])(this.latLngs,e),K["DomEvent"].on(this.mapObject,this.$listeners),En(this,this.mapObject,this.$options.props),this.ready=!0,this.parentContainer=zn(this.$parent),this.parentContainer.addLayer(this,!this.visible),this.$nextTick((function(){t.$emit("ready",t.mapObject)}))}};function Dn(t,e,i,n,o,s,r,a,u,l){"boolean"!==typeof r&&(u=a,a=r,r=!1);var c,h="function"===typeof i?i.options:i;if(t&&t.render&&(h.render=t.render,h.staticRenderFns=t.staticRenderFns,h._compiled=!0,o&&(h.functional=!0)),n&&(h._scopeId=n),s?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,u(t)),t&&t._registeredComponents&&t._registeredComponents.add(s)},h._ssrRegister=c):e&&(c=r?function(t){e.call(this,l(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,a(t))}),c)if(h.functional){var p=h.render;h.render=function(t,e){return c.call(e),p(t,e)}}else{var d=h.beforeCreate;h.beforeCreate=d?[].concat(d,c):[c]}return i}var Fn=Zn,Un=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticStyle:{display:"none"}},[t.ready?t._t("default"):t._e()],2)},Vn=[],Hn=void 0,Wn=void 0,Jn=void 0,Gn=!1,qn=Dn({render:Un,staticRenderFns:Vn},Hn,Fn,Wn,Gn,Jn,!1,void 0,void 0,void 0),Xn=qn,Kn=i("f60f"),Yn=function(t){return t&&"function"===typeof t.charAt?t.charAt(0).toUpperCase()+t.slice(1):t}
1,Qn=function(t,e,i,n){var o=function(n){var o="set"+Yn(n),s=i[n].type===Object||i[n].type===Array||Array.isArray(i[n].type);i[n].custom&&t[o]?t.$watch(n,(function(e,i){t[o](e,i)}),{deep:s}):"setOptions"===o?t.$watch(n,(function(t,i){Object(K["setOptions"])(e,t)}),{deep:s}):e[o]&&t.$watch(n,(function(t,i){e[o](t)}),{deep:s})};for(var s in i)o(s)},to=function(t){var e={};for(var i in t){var n=t[i];null!==n&&void 0!==n&&(e[i]=n)}return e},eo=function(t,e){var i=e.options&&e.options.constructor===Object?e.options:{};t=t&&t.constructor===Object?t:{};var n=to(i);t=to(t);var o=e.$options.props;for(var s in t){var r=o[s]?o[s].default&&"function"===typeof o[s].default?o[s].default.call():o[s].default:Symbol("unique"),a=!1;a=Array.isArray(r)?JSON.stringify(r)===JSON.stringify(t[s]):r===t[s],n[s]&&!a?(console.warn(s+" props is overriding the value passed in the options props"),n[s]=t[s]):n[s]||(n[s]=t[s])}return n},io=function(t){var e=!1;while(t&&!e)void 0===t.mapObject?t=t.$parent:e=!0;return t},no={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,e){var i=this.$parent.mapObject.attributionControl;i.removeAttribution(e).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)}}},oo={props:{interactive:{type:Boolean,default:!0},bubblingMouseEvents:{type:Boolean,default:!0}},mounted:function(){this.interactiveLayerOptions={interactive:this.interactive,bubblingMouseEvents:this.bubblingMouseEvents}}},so={mixins:[no,oo],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)for(var t in console.warn("lStyle is deprecated and is going to be removed in the next major version"),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})}}},ro={mixins:[so],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)}}},ao={mixins:[ro],props:{fill:{type:Boolean,custom:!0,default:!0}},mounted:function(){this.polygonOptions=this.polyLineOptions},methods:{getGeoJSONData:function(){return this.mapObject.toGeoJSON()}}},uo={props:{options:{type:Object,default:function(){return{}}}}},lo={name:"LRectangle",mixins:[ao,uo],props:{bounds:{default:function(){return[[0,0],[0,0]]},validator:function(t){return t&&Object(K["latLngBounds"])(t).isValid()}}},data:function(){return{ready:!1}},mounted:function(){var t=this,e=eo(this.polygonOptions,this);this.mapObject=Object(K["rectangle"])(this.bounds,e),K["DomEvent"].on(this.mapObject,this.$listeners),Qn(this,this.mapObject,this.$options.props),this.ready=!0,this.parentContainer=io(this.$parent),this.parentContainer.addLayer(this,!this.visible),this.$nextTick((function(){t.$emit("ready",t.mapObject)}))}};function co(t,e,i,n,o,s,r,a,u,l){"boolean"!==typeof r&&(u=a,a=r,r=!1);var c,h="function"===typeof i?i.options:i;if(t&&t.render&&(h.render=t.render,h.staticRenderFns=t.staticRenderFns,h._compiled=!0,o&&(h.functional=!0)),n&&(h._scopeId=n),s?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,u(t)),t&&t._registeredComponents&&t._registeredComponents.add(s)},h._ssrRegister=c):e&&(c=r?function(t){e.call(this,l(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,a(t))}),c)if(h.functional){var p=h.render;h.render=function(t,e){return c.call(e),p(t,e)}}else{var d=h.beforeCreate;h.beforeCreate=d?[].concat(d,c):[c]}return i}var ho=lo,po=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticStyle:{display:"none"}},[t.ready?t._t("default"):t._e()],2)},fo=[],mo=void 0,_o=void 0,yo=void 0,vo=!1,go=co({render:po,staticRenderFns:fo},mo,ho,_o,vo,yo,!1,void 0,void 0,void 0),bo=go,Oo=function(t){return t&&"function"===typeof t.charAt?t.charAt(0).toUpperCase()+t.slice(1):t}
1,Co=function(t,e,i,n){var o=function(n){var o="set"+Oo(n),s=i[n].type===Object||i[n].type===Array||Array.isArray(i[n].type);i[n].custom&&t[o]?t.$watch(n,(function(e,i){t[o](e,i)}),{deep:s}):"setOptions"===o?t.$watch(n,(function(t,i){Object(K["setOptions"])(e,t)}),{deep:s}):e[o]&&t.$watch(n,(function(t,i){e[o](t)}),{deep:s})};for(var s in i)o(s)},Lo=function(t){var e={};for(var i in t){var n=t[i];null!==n&&void 0!==n&&(e[i]=n)}return e},So=function(t,e){var i=e.options&&e.options.constructor===Object?e.options:{};t=t&&t.constructor===Object?t:{};var n=Lo(i);t=Lo(t);var o=e.$options.props;for(var s in t){var r=o[s]?o[s].default&&"function"===typeof o[s].default?o[s].default.call():o[s].default:Symbol("unique"),a=!1;a=Array.isArray(r)?JSON.stringify(r)===JSON.stringify(t[s]):r===t[s],n[s]&&!a?(console.warn(s+" props is overriding the value passed in the options props"),n[s]=t[s]):n[s]||(n[s]=t[s])}return n},xo=function(t){var e=!1;while(t&&!e)void 0===t.mapObject?t=t.$parent:e=!0;return t},wo={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,e){var i=this.$parent.mapObject.attributionControl;i.removeAttribution(e).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)}}},jo={mixins:[wo],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})}},To={mixins:[jo],props:{tms:{type:Boolean,default:!1},subdomains:{type:[String,Array],default:"abc",validator:function(t){return"string"===typeof t||!!Array.isArray(t)&&t.every((function(t){return"string"===typeof t}))}},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}},Po={props:{options:{type:Object,default:function(){return{}}}}},Ao={name:"LTileLayer",mixins:[To,Po],props:{url:{type:String,default:null},tileLayerClass:{type:Function,default:K["tileLayer"]}},mounted:function(){var t=this,e=So(this.tileLayerOptions,this);this.mapObject=this.tileLayerClass(this.url,e),K["DomEvent"].on(this.mapObject,this.$listeners),Co(this,this.mapObject,this.$options.props),this.parentContainer=xo(this.$parent),this.parentContainer.addLayer(this,!this.visible),this.$nextTick((function(){t.$emit("ready",t.mapObject)}))}};function Eo(t,e,i,n,o,s,r,a,u,l){"boolean"!==typeof r&&(u=a,a=r,r=!1);var c,h="function"===typeof i?i.options:i;if(t&&t.render&&(h.render=t.render,h.staticRenderFns=t.staticRenderFns,h._compiled=!0,o&&(h.functional=!0)),n&&(h._scopeId=n),s?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,u(t)),t&&t._registeredComponents&&t._registeredComponents.add(s)},h._ssrRegister=c):e&&(c=r?function(t){e.call(this,l(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,a(t))}),c)if(h.functional){var p=h.render;h.render=function(t,e){return c.call(e),p(t,e)}}else{var d=h.beforeCreate;h.beforeCreate=d?[].concat(d,c):[c]}return i}var Mo=Ao,ko=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div")},zo=[],No=void 0,$o=void 0,Bo=void 0,Ro=!1,Io=Eo({render:ko,staticRenderFns:zo},No,Mo,$o,Ro,Bo,!1,void 0,void 0,void 0),Zo=Io,Do=function(t){return t&&"function"===typeof t.charAt?t.charAt(0).toUpperCase()+t.slice(1):t}
1,Fo=function(t,e,i,n){var o=function(n){var o="set"+Do(n),s=i[n].type===Object||i[n].type===Array||Array.isArray(i[n].type);i[n].custom&&t[o]?t.$watch(n,(function(e,i){t[o](e,i)}),{deep:s}):"setOptions"===o?t.$watch(n,(function(t,i){Object(K["setOptions"])(e,t)}),{deep:s}):e[o]&&t.$watch(n,(function(t,i){e[o](t)}),{deep:s})};for(var s in i)o(s)},Uo=function(t){var e={};for(var i in t){var n=t[i];null!==n&&void 0!==n&&(e[i]=n)}return e},Vo=function(t,e){var i=e.options&&e.options.constructor===Object?e.options:{};t=t&&t.constructor===Object?t:{};var n=Uo(i);t=Uo(t);var o=e.$options.props;for(var s in t){var r=o[s]?o[s].default&&"function"===typeof o[s].default?o[s].default.call():o[s].default:Symbol("unique"),a=!1;a=Array.isArray(r)?JSON.stringify(r)===JSON.stringify(t[s]):r===t[s],n[s]&&!a?(console.warn(s+" props is overriding the value passed in the options props"),n[s]=t[s]):n[s]||(n[s]=t[s])}return n},Ho=function(t){var e=!1;while(t&&!e)void 0===t.mapObject?t=t.$parent:e=!0;return t},Wo={props:{content:{type:String,default:null,custom:!0}},mounted:function(){this.popperOptions={}},methods:{setContent:function(t){this.mapObject&&null!==t&&void 0!==t&&this.mapObject.setContent(t)}},render:function(t){return this.$slots.default?t("div",this.$slots.default):null}},Jo={props:{options:{type:Object,default:function(){return{}}}}},Go={name:"LTooltip",mixins:[Wo,Jo],mounted:function(){var t=this,e=Vo(this.popperOptions,this);this.mapObject=Object(K["tooltip"])(e),K["DomEvent"].on(this.mapObject,this.$listeners),Fo(this,this.mapObject,this.$options.props),this.mapObject.setContent(this.content||this.$el),this.parentContainer=Ho(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 qo(t,e,i,n,o,s,r,a,u,l){"boolean"!==typeof r&&(u=a,a=r,r=!1);var c,h="function"===typeof i?i.options:i;if(t&&t.render&&(h.render=t.render,h.staticRenderFns=t.staticRenderFns,h._compiled=!0,o&&(h.functional=!0)),n&&(h._scopeId=n),s?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,u(t)),t&&t._registeredComponents&&t._registeredComponents.add(s)},h._ssrRegister=c):e&&(c=r?function(t){e.call(this,l(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,a(t))}),c)if(h.functional){var p=h.render;h.render=function(t,e){return c.call(e),p(t,e)}}else{var d=h.beforeCreate;h.beforeCreate=d?[].concat(d,c):[c]}return i}var Xo=Go,Ko=void 0,Yo=void 0,Qo=void 0,ts=void 0,es=qo({},Ko,Xo,Yo,ts,Qo,!1,void 0,void 0,void 0),is=es,ns=function(t){return t&&"function"===typeof t.charAt?t.charAt(0).toUpperCase()+t.slice(1):t},os=function(t,e,i,n){var o=function(n){var o="set"+ns(n),s=i[n].type===Object||i[n].type===Array||Array.isArray(i[n].type);i[n].custom&&t[o]?t.$watch(n,(function(e,i){t[o](e,i)}),{deep:s}):"setOptions"===o?t.$watch(n,(function(t,i){Object(K["setOptions"])(e,t)}),{deep:s}):e[o]&&t.$watch(n,(function(t,i){e[o](t)}),{deep:s})};for(var s in i)o(s)},ss=function(t){var e={};for(var i in t){var n=t[i];null!==n&&void 0!==n&&(e[i]=n)}return e},rs=function(t,e){var i=e.options&&e.options.constructor===Object?e.options:{};t=t&&t.constructor===Object?t:{};var n=ss(i);t=ss(t);var o=e.$options.props;for(var s in t){var r=o[s]?o[s].default&&"function"===typeof o[s].default?o[s].default.call():o[s].default:Symbol("unique"),a=!1;a=Array.isArray(r)?JSON.stringify(r)===JSON.stringify(t[s]):r===t[s],n[s]&&!a?(console.warn(s+" props is overriding the value passed in the options props"),n[s]=t[s]):n[s]||(n[s]=t[s])}return n},as=function(t){var e=!1;while(t&&!e)void 0===t.mapObject?t=t.$parent:e=!0;return t},us={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,e){var i=this.$parent.mapObject.attributionControl;i.removeAttribution(e).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)}}},ls={mixins:[us],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})}},cs={mixins:[ls],props:{tms:{type:Boolean,default:!1},subdomains:{type:[String,Array],default:"abc",validator:function(t){return"string"===typeof t||!!Array.isArray(t)&&t.every((function(t){return"string"===typeof t}))}},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}},hs={mixins:[cs],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})}},ps={props:{options:{type:Object,default:function(){return{}}}}},ds={name:"LWMSTileLayer",mixins:[hs,ps],props:{baseUrl:{type:String,default:null}},mounted:function(){var t=this,e=rs(this.tileLayerWMSOptions,this);this.mapObject=K["tileLayer"].wms(this.baseUrl,e),K["DomEvent"].on(this.mapObject,this.$listeners),os(this,this.mapObject,this.$options.props),this.parentContainer=as(this.$parent),this.parentContainer.addLayer(this,!this.visible),this.$nextTick((function(){t.$emit("ready",t.mapObject)}))}};function fs(t,e,i,n,o,s,r,a,u,l){"boolean"!==typeof r&&(u=a,a=r,r=!1);var c,h="function"===typeof i?i.options:i;if(t&&t.render&&(h.render=t.render,h.staticRenderFns=t.staticRenderFns,h._compiled=!0,o&&(h.functional=!0)),n&&(h._scopeId=n),s?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,u(t)),t&&t._registeredComponents&&t._registeredComponents.add(s)},h._ssrRegister=c):e&&(c=r?function(t){e.call(this,l(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,a(t))}),c)if(h.functional){var p=h.render;h.render=function(t,e){return c.call(e),p(t,e)}}else{var d=h.beforeCreate;h.beforeCreate=d?[].concat(d,c):[c]}return i}var ms=ds,_s=void 0,ys=void 0,vs=void 0,gs=void 0,bs=fs({},_s,ms,ys,gs,vs,!1,void 0,void 0,void 0),Os=bs}
1,c222:function(t,e,i){"use strict";var n,o,s=i("6df6"),r=i("503e"),a=i("ef62"),u=(i("6005"),i("b048"),{name:"LControlFullscreen",mixins:[s["a"],r["a"]],mounted(){const t=Object(a["e"])({...this.controlOptions,options:this.options},this);this.mapObject=new L.Control.Fullscreen(t),Object(a["f"])(this,this.mapObject,this.$options.props),this.mapObject.addTo(this.$parent.mapObject)},render(){return null}}),l=u,c=i("2877"),h=Object(c["a"])(l,n,o,!1,null,null,null);e["a"]=h.exports},c8b6:function(t,e,i){"use strict";var n=i("e11e"),o=function(t){return t&&"function"===typeof t.charAt?t.charAt(0).toUpperCase()+t.slice(1):t},s=function(t,e,i,s){var r=function(s){var r="set"+o(s),a=i[s].type===Object||i[s].type===Array||Array.isArray(i[s].type);i[s].custom&&t[r]?t.$watch(s,(function(e,i){t[r](e,i)}),{deep:a}):"setOptions"===r?t.$watch(s,(function(t,i){Object(n["setOptions"])(e,t)}),{deep:a}):e[r]&&t.$watch(s,(function(t,i){e[r](t)}),{deep:a})};for(var a in i)r(a)},r=function(t){var e={};for(var i in t){var n=t[i];null!==n&&void 0!==n&&(e[i]=n)}return e},a=function(t,e){var i=e.options&&e.options.constructor===Object?e.options:{};t=t&&t.constructor===Object?t:{};var n=r(i);t=r(t);var o=e.$options.props;for(var s in t){var a=o[s]?o[s].default&&"function"===typeof o[s].default?o[s].default.call():o[s].default:Symbol("unique"),u=!1;u=Array.isArray(a)?JSON.stringify(a)===JSON.stringify(t[s]):a===t[s],n[s]&&!u?(console.warn(s+" props is overriding the value passed in the options props"),n[s]=t[s]):n[s]||(n[s]=t[s])}return n},u={props:{position:{type:String,default:"topright"}},mounted:function(){this.controlOptions={position:this.position}},beforeDestroy:function(){this.mapObject&&this.mapObject.remove()}},l={props:{options:{type:Object,default:function(){return{}}}}},c={name:"LControlZoom",mixins:[u,l],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,e=a(Object.assign({},this.controlOptions,{zoomInText:this.zoomInText,zoomInTitle:this.zoomInTitle,zoomOutText:this.zoomOutText,zoomOutTitle:this.zoomOutTitle}),this);this.mapObject=n["control"].zoom(e),s(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 h(t,e,i,n,o,s,r,a,u,l){"boolean"!==typeof r&&(u=a,a=r,r=!1);var c,h="function"===typeof i?i.options:i;if(t&&t.render&&(h.render=t.render,h.staticRenderFns=t.staticRenderFns,h._compiled=!0,o&&(h.functional=!0)),n&&(h._scopeId=n),s?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,u(t)),t&&t._registeredComponents&&t._registeredComponents.add(s)},h._ssrRegister=c):e&&(c=r?function(t){e.call(this,l(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,a(t))}),c)if(h.functional){var p=h.render;h.render=function(t,e){return c.call(e),p(t,e)}}else{var d=h.beforeCreate;h.beforeCreate=d?[].concat(d,c):[c]}return i}var p=c,d=void 0,f=void 0,m=void 0,_=void 0,y=h({},d,p,f,_,m,!1,void 0,void 0,void 0);e["a"]=y},c901:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on  "+t);return t}},cc15:function(t,e,i){var n=i("b367")("wks"),o=i("8b1a"),s=i("ef08").Symbol,r="function"==typeof s,a=t.exports=function(t){return n[t]||(n[t]=r&&s[t]||(r?s:o)("Symbol."+t))};a.store=n},ce7a:function(t,e,i){var n=i("9c0e"),o=i("0983"),s=i("5a94")("IE_PROTO"),r=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),n(t,s)?t[s]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?r:null}},d16a:function(t,e,i){var n=i("fc5e"),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},d2d5:function(t,e,i){},dfe5:function(t,e){},e11e:function(t,e,i){
2/* @preserve
3 * Leaflet 1.7.1, a JS library for interactive maps. http://leafletjs.com
4 * (c) 2010-2019 Vladimir Agafonkin, (c) 2010-2011 CloudMade
5 */
6(function(t,i){i(e)})(0,(function(t){"use strict";var e="1.7.1";function i(t){var e,i,n,o;for(i=1,n=arguments.length;i<n;i++)for(e in o=arguments[i],o)t[e]=o[e];return t}var n=Object.create||function(){function t(){}return function(e){return t.prototype=e,new t}}();function o(t,e){var i=Array.prototype.slice;
6if(t.bind)return t.bind.apply(t,i.call(arguments,1));var n=i.call(arguments,2);return function(){return t.apply(e,n.length?n.concat(i.call(arguments)):arguments)}}var s=0;function r(t){return t._leaflet_id=t._leaflet_id||++s,t._leaflet_id}function a(t,e,i){var n,o,s,r;return r=function(){n=!1,o&&(s.apply(i,o),o=!1)},s=function(){n?o=arguments:(t.apply(i,arguments),setTimeout(r,e),n=!0)},s}function u(t,e,i){var n=e[1],o=e[0],s=n-o;return t===n&&i?t:((t-o)%s+s)%s+o}function l(){return!1}function c(t,e){var i=Math.pow(10,void 0===e?6:e);return Math.round(t*i)/i}function h(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function p(t){return h(t).split(/\s+/)}function d(t,e){for(var i in Object.prototype.hasOwnProperty.call(t,"options")||(t.options=t.options?n(t.options):{}),e)t.options[i]=e[i];return t.options}function f(t,e,i){var n=[];for(var o in t)n.push(encodeURIComponent(i?o.toUpperCase():o)+"="+encodeURIComponent(t[o]));return(e&&-1!==e.indexOf("?")?"&":"?")+n.join("&")}var m=/\{ *([\w_-]+) *\}/g;function _(t,e){return t.replace(m,(function(t,i){var n=e[i];if(void 0===n)throw new Error("No value provided for variable "+t);return"function"===typeof n&&(n=n(e)),n}))}var y=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function v(t,e){for(var i=0;i<t.length;i++)if(t[i]===e)return i;return-1}var g="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function b(t){return window["webkit"+t]||window["moz"+t]||window["ms"+t]}var O=0;function C(t){var e=+new Date,i=Math.max(0,16-(e-O));return O=e+i,window.setTimeout(t,i)}var S=window.requestAnimationFrame||b("RequestAnimationFrame")||C,x=window.cancelAnimationFrame||b("CancelAnimationFrame")||b("CancelRequestAnimationFrame")||function(t){window.clearTimeout(t)};function w(t,e,i){if(!i||S!==C)return S.call(window,o(t,e));t.call(e)}function j(t){t&&x.call(window,t)}var T={extend:i,create:n,bind:o,lastId:s,stamp:r,throttle:a,wrapNum:u,falseFn:l,formatNum:c,trim:h,splitWords:p,setOptions:d,getParamString:f,template:_,isArray:y,indexOf:v,emptyImageUrl:g,requestFn:S,cancelFn:x,requestAnimFrame:w,cancelAnimFrame:j};function P(){}function A(t){if("undefined"!==typeof L&&L&&L.Mixin){t=y(t)?t:[t];for(var e=0;e<t.length;
6e++)t[e]===L.Mixin.Events&&console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.",(new Error).stack)}}P.extend=function(t){var e=function(){this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()},o=e.__super__=this.prototype,s=n(o);for(var r in s.constructor=e,e.prototype=s,this)Object.prototype.hasOwnProperty.call(this,r)&&"prototype"!==r&&"__super__"!==r&&(e[r]=this[r]);return t.statics&&(i(e,t.statics),delete t.statics),t.includes&&(A(t.includes),i.apply(null,[s].concat(t.includes)),delete t.includes),s.options&&(t.options=i(n(s.options),t.options)),i(s,t),s._initHooks=[],s.callInitHooks=function(){if(!this._initHooksCalled){o.callInitHooks&&o.callInitHooks.call(this),this._initHooksCalled=!0;for(var t=0,e=s._initHooks.length;t<e;t++)s._initHooks[t].call(this)}},e},P.include=function(t){return i(this.prototype,t),this},P.mergeOptions=function(t){return i(this.prototype.options,t),this},P.addInitHook=function(t){var e=Array.prototype.slice.call(arguments,1),i="function"===typeof t?t:function(){this[t].apply(this,e)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(i),this};var E={on:function(t,e,i){if("object"===typeof t)for(var n in t)this._on(n,t[n],e);else{t=p(t);for(var o=0,s=t.length;o<s;o++)this._on(t[o],e,i)}return this},off:function(t,e,i){if(t)if("object"===typeof t)for(var n in t)this._off(n,t[n],e);else{t=p(t);for(var o=0,s=t.length;o<s;o++)this._off(t[o],e,i)}else delete this._events;return this},_on:function(t,e,i){this._events=this._events||{};var n=this._events[t];n||(n=[],this._events[t]=n),i===this&&(i=void 0);for(var o={fn:e,ctx:i},s=n,r=0,a=s.length;r<a;r++)if(s[r].fn===e&&s[r].ctx===i)return;s.push(o)},_off:function(t,e,i){var n,o,s;if(this._events&&(n=this._events[t],n))if(e){if(i===this&&(i=void 0),n)for(o=0,s=n.length;o<s;o++){var r=n[o];if(r.ctx===i&&r.fn===e)return r.fn=l,this._firingCount&&(this._events[t]=n=n.slice()),void n.splice(o,1)}}else{for(o=0,s=n.length;o<s;o++)n[o].fn=l;delete this._events[t]}},fire:function(t,e,n){if(!this.listens(t,n))return this;var o=i({},e,{type:t,target:this,sourceTarget:e&&e.sourceTarget||this});if(this._events){var s=this._events[t];if(s){this._firingCount=this._firingCount+1||1;for(var r=0,a=s.length;r<a;r++){var u=s[r];u.fn.call(u.ctx||this,o)}this._firingCount--}}return n&&this._propagateEvent(o),this},listens:function(t,e){var i=this._events&&this._events[t];if(i&&i.length)return!0;if(e)for(var n in this._eventParents)if(this._eventParents[n].listens(t,e))return!0;return!1},once:function(t,e,i){if("object"===typeof t){for(var n in t)this.once(n,t[n],e);return this}var s=o((function(){this.off(t,e,i).off(t,s,i)}),this);return this.on(t,e,i).on(t,s,i)},addEventParent:function(t){return this._eventParents=this._eventParents||{},this._eventParents[r(t)]=t,this},removeEventParent:function(t){return this._eventParents&&delete this._eventParents[r(t)],this},_propagateEvent:function(t){for(var e in this._eventParents)this._eventParents[e].fire(t.type,i({layer:t.target,propagatedFrom:t.target},t),!0)}};E.addEventListener=E.on,E.removeEventListener=E.clearAllEventListeners=E.off,E.addOneTimeEventListener=E.once,E.fireEvent=E.fire,E.hasEventListeners=E.listens;var M=P.extend(E);function k(t,e,i){this.x=i?Math.round(t):t,this.y=i?Math.round(e):e}var z=Math.trunc||function(t){return t>0?Math.floor(t):Math.ceil(t)};function N(t,e,i){return t instanceof k?t:y(t)?new k(t[0],t[1]):void 0===t||null===t?t:"object"===typeof t&&"x"in t&&"y"in t?new k(t.x,t.y):new k(t,e,i)}function $(t,e){if(t)for(var i=e?[t,e]:t,n=0,o=i.length;n<o;n++)this.extend(i[n])}function B(t,e){return!t||t instanceof $?t:new $(t,e)}function R(t,e){if(t)for(var i=e?[t,e]:t,n=0,o=i.length;n<o;n++)this.extend(i[n])}function I(t,e){return t instanceof R?t:new R(t,e)}function Z(t,e,i){if(isNaN(t)||isNaN(e))throw new Error("Invalid LatLng object: ("+t+", "+e+")");this.lat=+t,this.lng=+e,void 0!==i&&(this.alt=+i)}function D(t,e,i){return t instanceof Z?t:y(t)&&"object"!==typeof t[0]?3===t.length?new Z(t[0],t[1],t[2]):2===t.length?new Z(t[0],t[1]):null:void 0===t||null===t?t:"object"===typeof t&&"lat"in t?new Z(t.lat,"lng"in t?t.lng:t.lon,t.alt):void 0===e?null:new Z(t,e,i)}k.prototype={clone:function(){return new k(this.x,this.y)},add:function(t){return this.clone()._add(N(t))},_add:function(t){return this.x+=t.x,this.y+=t.y,this},subtract:function(t){return this.clone()._subtract(N(t))},_subtract:function(t){return this.x-=t.x,this.y-=t.y,this},divideBy:function(t){return this.clone()._divideBy(t)},_divideBy:function(t){return this.x/=t,this.y/=t,this},multiplyBy:function(t){return this.clone()._multiplyBy(t)},_multiplyBy:function(t){return this.x*=t,this.y*=t,this},scaleBy:function(t){return new k(this.x*t.x,this.y*t.y)},unscaleBy:function(t){return new k(this.x/t.x,this.y/t.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=z(this.x),this.y=z(this.y),this},distanceTo:function(t){t=N(t);var e=t.x-this.x,i=t.y-this.y;return Math.sqrt(e*e+i*i)},equals:function(t){return t=N(t),t.x===this.x&&t.y===this.y},contains:function(t){return t=N(t),Math.abs(t.x)<=Math.abs(this.x)&&Math.abs(t.y)<=Math.abs(this.y)},toString:function(){return"Point("+c(this.x)+", "+c(this.y)+")"}},$.prototype={extend:function(t){return t=N(t),this.min||this.max?(this.min.x=Math.min(t.x,this.min.x),this.max.x=Math.max(t.x,this.max.x),this.min.y=Math.min(t.y,this.min.y),this.max.y=Math.max(t.y,this.max.y)):(this.min=t.clone(),this.max=t.clone()),this},getCenter:function(t){return new k((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,t)},getBottomLeft:function(){return new k(this.min.x,this.max.y)},getTopRight:function(){return new k(this.max.x,this.min.y)},getTopLeft:function(){return this.min},getBottomRight:function(){return this.max},getSize:function(){return this.max.subtract(this.min)},contains:function(t){var e,i;return t="number"===typeof t[0]||t instanceof k?N(t):B(t),t instanceof $?(e=t.min,i=t.max):e=i=t,e.x>=this.min.x&&i.x<=this.max.x&&e.y>=this.min.y&&i.y<=this.max.y},intersects:function(t){t=B(t);var e=this.min,i=this.max,n=t.min,o=t.max,s=o.x>=e.x&&n.x<=i.x,r=o.y>=e.y&&n.y<=i.y;return s&&r},overlaps:function(t){t=B(t);var e=this.min,i=this.max,n=t.min,o=t.max,s=o.x>e.x&&n.x<i.x,r=o.y>e.y&&n.y<i.y;return s&&r},isValid:function(){return!(!this.min||!this.max)}},R.prototype={extend:function(t){var e,i,n=this._southWest,o=this._northEast;if(t instanceof Z)e=t,i=t;else{if(!(t instanceof R))return t?this.extend(D(t)||I(t)):this;if(e=t._southWest,i=t._northEast,!e||!i)return this}return n||o?(n.lat=Math.min(e.lat,n.lat),n.lng=Math.min(e.lng,n.lng),o.lat=Math.max(i.lat,o.lat),o.lng=Math.max(i.lng,o.lng)):(this._southWest=new Z(e.lat,e.lng),this._northEast=new Z(i.lat,i.lng)),this},pad:function(t){var e=this._southWest,i=this._northEast,n=Math.abs(e.lat-i.lat)*t,o=Math.abs(e.lng-i.lng)*t;return new R(new Z(e.lat-n,e.lng-o),new Z(i.lat+n,i.lng+o))},getCenter:function(){return new Z((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},getNorthWest:function(){return new Z(this.getNorth(),this.getWest())},getSouthEast:function(){return new Z(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat}
6,getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(t){t="number"===typeof t[0]||t instanceof Z||"lat"in t?D(t):I(t);var e,i,n=this._southWest,o=this._northEast;return t instanceof R?(e=t.getSouthWest(),i=t.getNorthEast()):e=i=t,e.lat>=n.lat&&i.lat<=o.lat&&e.lng>=n.lng&&i.lng<=o.lng},intersects:function(t){t=I(t);var e=this._southWest,i=this._northEast,n=t.getSouthWest(),o=t.getNorthEast(),s=o.lat>=e.lat&&n.lat<=i.lat,r=o.lng>=e.lng&&n.lng<=i.lng;return s&&r},overlaps:function(t){t=I(t);var e=this._southWest,i=this._northEast,n=t.getSouthWest(),o=t.getNorthEast(),s=o.lat>e.lat&&n.lat<i.lat,r=o.lng>e.lng&&n.lng<i.lng;return s&&r},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(t,e){return!!t&&(t=I(t),this._southWest.equals(t.getSouthWest(),e)&&this._northEast.equals(t.getNorthEast(),e))},isValid:function(){return!(!this._southWest||!this._northEast)}},Z.prototype={equals:function(t,e){if(!t)return!1;t=D(t);var i=Math.max(Math.abs(this.lat-t.lat),Math.abs(this.lng-t.lng));return i<=(void 0===e?1e-9:e)},toString:function(t){return"LatLng("+c(this.lat,t)+", "+c(this.lng,t)+")"},distanceTo:function(t){return U.distance(this,D(t))},wrap:function(){return U.wrapLatLng(this)},toBounds:function(t){var e=180*t/40075017,i=e/Math.cos(Math.PI/180*this.lat);return I([this.lat-e,this.lng-i],[this.lat+e,this.lng+i])},clone:function(){return new Z(this.lat,this.lng,this.alt)}};var F={latLngToPoint:function(t,e){var i=this.projection.project(t),n=this.scale(e);return this.transformation._transform(i,n)},pointToLatLng:function(t,e){var i=this.scale(e),n=this.transformation.untransform(t,i);return this.projection.unproject(n)},project:function(t){return this.projection.project(t)},unproject:function(t){return this.projection.unproject(t)},scale:function(t){return 256*Math.pow(2,t)},zoom:function(t){return Math.log(t/256)/Math.LN2},getProjectedBounds:function(t){if(this.infinite)return null;var e=this.projection.bounds,i=this.scale(t),n=this.transformation.transform(e.min,i),o=this.transformation.transform(e.max,i);return new $(n,o)},infinite:!1,wrapLatLng:function(t){var e=this.wrapLng?u(t.lng,this.wrapLng,!0):t.lng,i=this.wrapLat?u(t.lat,this.wrapLat,!0):t.lat,n=t.alt;return new Z(i,e,n)},wrapLatLngBounds:function(t){var e=t.getCenter(),i=this.wrapLatLng(e),n=e.lat-i.lat,o=e.lng-i.lng;if(0===n&&0===o)return t;
6var s=t.getSouthWest(),r=t.getNorthEast(),a=new Z(s.lat-n,s.lng-o),u=new Z(r.lat-n,r.lng-o);return new R(a,u)}},U=i({},F,{wrapLng:[-180,180],R:6371e3,distance:function(t,e){var i=Math.PI/180,n=t.lat*i,o=e.lat*i,s=Math.sin((e.lat-t.lat)*i/2),r=Math.sin((e.lng-t.lng)*i/2),a=s*s+Math.cos(n)*Math.cos(o)*r*r,u=2*Math.atan2(Math.sqrt(a),Math.sqrt(1-a));return this.R*u}}),V=6378137,H={R:V,MAX_LATITUDE:85.0511287798,project:function(t){var e=Math.PI/180,i=this.MAX_LATITUDE,n=Math.max(Math.min(i,t.lat),-i),o=Math.sin(n*e);return new k(this.R*t.lng*e,this.R*Math.log((1+o)/(1-o))/2)},unproject:function(t){var e=180/Math.PI;return new Z((2*Math.atan(Math.exp(t.y/this.R))-Math.PI/2)*e,t.x*e/this.R)},bounds:function(){var t=V*Math.PI;return new $([-t,-t],[t,t])}()};function W(t,e,i,n){if(y(t))return this._a=t[0],this._b=t[1],this._c=t[2],void(this._d=t[3]);this._a=t,this._b=e,this._c=i,this._d=n}function J(t,e,i,n){return new W(t,e,i,n)}W.prototype={transform:function(t,e){return this._transform(t.clone(),e)},_transform:function(t,e){return e=e||1,t.x=e*(this._a*t.x+this._b),t.y=e*(this._c*t.y+this._d),t},untransform:function(t,e){return e=e||1,new k((t.x/e-this._b)/this._a,(t.y/e-this._d)/this._c)}};var G=i({},U,{code:"EPSG:3857",projection:H,transformation:function(){var t=.5/(Math.PI*H.R);return J(t,.5,-t,.5)}()}),q=i({},G,{code:"EPSG:900913"});function X(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function K(t,e){var i,n,o,s,r,a,u="";for(i=0,o=t.length;i<o;i++){for(r=t[i],n=0,s=r.length;n<s;n++)a=r[n],u+=(n?"L":"M")+a.x+" "+a.y;u+=e?Pt?"z":"x":""}return u||"M0 0"}var Y=document.documentElement.style,Q="ActiveXObject"in window,tt=Q&&!document.addEventListener,et="msLaunchUri"in navigator&&!("documentMode"in document),it=Et("webkit"),nt=Et("android"),ot=Et("android 2")||Et("android 3"),st=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),rt=nt&&Et("Google")&&st<537&&!("AudioNode"in window),at=!!window.opera,ut=!et&&Et("chrome"),lt=Et("gecko")&&!it&&!at&&!Q,ct=!ut&&Et("safari"),ht=Et("phantom"),pt="OTransition"in Y,dt=0===navigator.platform.indexOf("Win"),ft=Q&&"transition"in Y,mt="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!ot,_t="MozPerspective"in Y,yt=!window.L_DISABLE_3D&&(ft||mt||_t)&&!pt&&!ht,vt="undefined"!==typeof orientation||Et("mobile"),gt=vt&&it,bt=vt&&mt,Ot=!window.PointerEvent&&window.MSPointerEvent,Ct=!(!window.PointerEvent&&!Ot),Lt=!window.L_NO_TOUCH&&(Ct||"ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch),St=vt&&at,xt=vt&&lt,wt=(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI)>1,jt=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassiveEventSupport",l,e),window.removeEventListener("testPassiveEventSupport",l,e)}catch(i){}return t}(),Tt=function(){return!!document.createElement("canvas").getContext}(),Pt=!(!document.createElementNS||!X("svg").createSVGRect),At=!Pt&&function(){try{var t=document.createElement("div");t.innerHTML='<v:shape adj="1"/>';var e=t.firstChild;return e.style.behavior="url(#default#VML)",e&&"object"===typeof e.adj}catch(i){return!1}}();function Et(t){return navigator.userAgent.toLowerCase().indexOf(t)>=0}var Mt={ie:Q,ielt9:tt,edge:et,webkit:it,android:nt,android23:ot,androidStock:rt,opera:at,chrome:ut,gecko:lt,safari:ct,phantom:ht,opera12:pt,win:dt,ie3d:ft,webkit3d:mt,gecko3d:_t,any3d:yt,mobile:vt,mobileWebkit:gt,mobileWebkit3d:bt,msPointer:Ot,pointer:Ct,touch:Lt,mobileOpera:St,mobileGecko:xt,retina:wt,passiveEvents:jt,canvas:Tt,svg:Pt,vml:At},kt=Ot?"MSPointerDown":"pointerdown",zt=Ot?"MSPointerMove":"pointermove",Nt=Ot?"MSPointerUp":"pointerup",$t=Ot?"MSPointerCancel":"pointercancel",Bt={},Rt=!1;function It(t,e,i,n){return"touchstart"===e?Dt(t,i,n):"touchmove"===e?Wt(t,i,n):"touchend"===e&&Jt(t,i,n),this}function Zt(t,e,i){var n=t["_leaflet_"+e+i];return"touchstart"===e?t.removeEventListener(kt,n,!1):"touchmove"===e?t.removeEventListener(zt,n,!1):"touchend"===e&&(t.removeEventListener(Nt,n,!1),t.removeEventListener($t,n,!1)),this}function Dt(t,e,i){var n=o((function(t){t.MSPOINTER_TYPE_TOUCH&&t.pointerType===t.MSPOINTER_TYPE_TOUCH&&Ue(t),Ht(t,e)}));t["_leaflet_touchstart"+i]=n,t.addEventListener(kt,n,!1),Rt||(document.addEventListener(kt,Ft,!0),document.addEventListener(zt,Ut,!0),document.addEventListener(Nt,Vt,!0),document.addEventListener($t,Vt,!0),Rt=!0)}function Ft(t){Bt[t.pointerId]=t}function Ut(t){Bt[t.pointerId]&&(Bt[t.pointerId]=t)}function Vt(t){delete Bt[t.pointerId]}function Ht(t,e){for(var i in t.touches=[],Bt)t.touches.push(Bt[i]);t.changedTouches=[t],e(t)}function Wt(t,e,i){var n=function(t){t.pointerType===(t.MSPOINTER_TYPE_MOUSE||"mouse")&&0===t.buttons||Ht(t,e)};t["_leaflet_touchmove"+i]=n,t.addEventListener(zt,n,!1)}function Jt(t,e,i){var n=function(t){Ht(t,e)};t["_leaflet_touchend"+i]=n,t.addEventListener(Nt,n,!1),t.addEventListener($t,n,!1)}var Gt=Ot?"MSPointerDown":Ct?"pointerdown":"touchstart",qt=Ot?"MSPointerUp":Ct?"pointerup":"touchend",Xt="_leaflet_";function Kt(t,e,i){var n,o,s=!1,r=250;function a(t){if(Ct){if(!t.isPrimary)return;if("mouse"===t.pointerType)return}else if(t.touches.length>1)return;var e=Date.now(),i=e-(n||e);o=t.touches?t.touches[0]:t,s=i>0&&i<=r,n=e}function u(t){if(s&&!o.cancelBubble){if(Ct){if("mouse"===t.pointerType)return;var i,r,a={};for(r in o)i=o[r],a[r]=i&&i.bind?i.bind(o):i;o=a}o.type="dblclick",o.button=0,e(o),n=null}}return t[Xt+Gt+i]=a,t[Xt+qt+i]=u,t[Xt+"dblclick"+i]=e,t.addEventListener(Gt,a,!!jt&&{passive:!1}),t.addEventListener(qt,u,!!jt&&{passive:!1}),t.addEventListener("dblclick",e,!1),this}function Yt(t,e){var i=t[Xt+Gt+e],n=t[Xt+qt+e],o=t[Xt+"dblclick"+e];return t.removeEventListener(Gt,i,!!jt&&{passive:!1}),t.removeEventListener(qt,n,!!jt&&{passive:!1}),t.removeEventListener("dblclick",o,!1),this}var Qt,te,ee,ie,ne,oe=Oe(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),se=Oe(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),re="webkitTransition"===se||"OTransition"===se?se+"End":"transitionend";function ae(t){return"string"===typeof t?document.getElementById(t):t}function ue(t,e){var i=t.style[e]||t.currentStyle&&t.currentStyle[e];if((!i||"auto"===i)&&document.defaultView){var n=document.defaultView.getComputedStyle(t,null);i=n?n[e]:null}return"auto"===i?null:i}function le(t,e,i){var n=document.createElement(t);return n.className=e||"",i&&i.appendChild(n),n}function ce(t){var e=t.parentNode;e&&e.removeChild(t)}function he(t){while(t.firstChild)t.removeChild(t.firstChild)}function pe(t){var e=t.parentNode;e&&e.lastChild!==t&&e.appendChild(t)}function de(t){var e=t.parentNode;e&&e.firstChild!==t&&e.insertBefore(t,e.firstChild)}function fe(t,e){if(void 0!==t.classList)return t.classList.contains(e);var i=ve(t);return i.length>0&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(i)}function me(t,e){if(void 0!==t.classList)for(var i=p(e),n=0,o=i.length;n<o;n++)t.classList.add(i[n]);else if(!fe(t,e)){var s=ve(t);ye(t,(s?s+" ":"")+e)}}function _e(t,e){void 0!==t.classList?t.classList.remove(e):ye(t,h((" "+ve(t)+" ").replace(" "+e+" "," ")))}function ye(t,e){void 0===t.className.baseVal?t.className=e:t.className.baseVal=e}function ve(t){return t.correspondingElement&&(t=t.correspondingElement),void 0===t.className.baseVal?t.className:t.className.baseVal}function ge(t,e){"opacity"in t.style?t.style.opacity=e:"filter"in t.style&&be(t,e)}function be(t,e){var i=!1,n="DXImageTransform.Microsoft.Alpha";try{i=t.filters.item(n)}catch(o){if(1===e)return}e=Math.round(100*e),i?(i.Enabled=100!==e,i.Opacity=e):t.style.filter+=" progid:"+n+"(opacity="+e+")"}function Oe(t){for(var e=document.documentElement.style,i=0;i<t.length;i++)if(t[i]in e)return t[i];return!1}function Ce(t,e,i){var n=e||new k(0,0);t.style[oe]=(ft?"translate("+n.x+"px,"+n.y+"px)":"translate3d("+n.x+"px,"+n.y+"px,0)")+(i?" scale("+i+")":"")}function Le(t,e){t._leaflet_pos=e,yt?Ce(t,e):(t.style.left=e.x+"px",t.style.top=e.y+"px")}function Se(t){return t._leaflet_pos||new k(0,0)}if("onselectstart"in document)Qt=function(){ke(window,"selectstart",
6Ue)},te=function(){Ne(window,"selectstart",Ue)};else{var xe=Oe(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]);Qt=function(){if(xe){var t=document.documentElement.style;ee=t[xe],t[xe]="none"}},te=function(){xe&&(document.documentElement.style[xe]=ee,ee=void 0)}}function we(){ke(window,"dragstart",Ue)}function je(){Ne(window,"dragstart",Ue)}function Te(t){while(-1===t.tabIndex)t=t.parentNode;t.style&&(Pe(),ie=t,ne=t.style.outline,t.style.outline="none",ke(window,"keydown",Pe))}function Pe(){ie&&(ie.style.outline=ne,ie=void 0,ne=void 0,Ne(window,"keydown",Pe))}function Ae(t){do{t=t.parentNode}while((!t.offsetWidth||!t.offsetHeight)&&t!==document.body);return t}function Ee(t){var e=t.getBoundingClientRect();return{x:e.width/t.offsetWidth||1,y:e.height/t.offsetHeight||1,boundingClientRect:e}}var Me={TRANSFORM:oe,TRANSITION:se,TRANSITION_END:re,get:ae,getStyle:ue,create:le,remove:ce,empty:he,toFront:pe,toBack:de,hasClass:fe,addClass:me,removeClass:_e,setClass:ye,getClass:ve,setOpacity:ge,testProp:Oe,setTransform:Ce,setPosition:Le,getPosition:Se,disableTextSelection:Qt,enableTextSelection:te,disableImageDrag:we,enableImageDrag:je,preventOutline:Te,restoreOutline:Pe,getSizedParentNode:Ae,getScale:Ee};function ke(t,e,i,n){if("object"===typeof e)for(var o in e)Re(t,o,e[o],i);else{e=p(e);for(var s=0,r=e.length;s<r;s++)Re(t,e[s],i,n)}return this}var ze="_leaflet_events";function Ne(t,e,i,n){if("object"===typeof e)for(var o in e)Ie(t,o,e[o],i);else if(e){e=p(e);for(var s=0,r=e.length;s<r;s++)Ie(t,e[s],i,n)}else{for(var a in t[ze])Ie(t,a,t[ze][a]);delete t[ze]}return this}function $e(){if(Ct)return!(et||ct)}
6var Be={mouseenter:"mouseover",mouseleave:"mouseout",wheel:!("onwheel"in window)&&"mousewheel"};function Re(t,e,i,n){var o=e+r(i)+(n?"_"+r(n):"");if(t[ze]&&t[ze][o])return this;var s=function(e){return i.call(n||t,e||window.event)},a=s;Ct&&0===e.indexOf("touch")?It(t,e,s,o):Lt&&"dblclick"===e&&!$e()?Kt(t,s,o):"addEventListener"in t?"touchstart"===e||"touchmove"===e||"wheel"===e||"mousewheel"===e?t.addEventListener(Be[e]||e,s,!!jt&&{passive:!1}):"mouseenter"===e||"mouseleave"===e?(s=function(e){e=e||window.event,Ke(t,e)&&a(e)},t.addEventListener(Be[e],s,!1)):t.addEventListener(e,a,!1):"attachEvent"in t&&t.attachEvent("on"+e,s),t[ze]=t[ze]||{},t[ze][o]=s}function Ie(t,e,i,n){var o=e+r(i)+(n?"_"+r(n):""),s=t[ze]&&t[ze][o];if(!s)return this;Ct&&0===e.indexOf("touch")?Zt(t,e,o):Lt&&"dblclick"===e&&!$e()?Yt(t,o):"removeEventListener"in t?t.removeEventListener(Be[e]||e,s,!1):"detachEvent"in t&&t.detachEvent("on"+e,s),t[ze][o]=null}function Ze(t){return t.stopPropagation?t.stopPropagation():t.originalEvent?t.originalEvent._stopped=!0:t.cancelBubble=!0,Xe(t),this}function De(t){return Re(t,"wheel",Ze),this}function Fe(t){return ke(t,"mousedown touchstart dblclick",Ze),Re(t,"click",qe),this}function Ue(t){return t.preventDefault?t.preventDefault():t.returnValue=!1,this}function Ve(t){return Ue(t),Ze(t),this}function He(t,e){if(!e)return new k(t.clientX,t.clientY);var i=Ee(e),n=i.boundingClientRect;return new k((t.clientX-n.left)/i.x-e.clientLeft,(t.clientY-n.top)/i.y-e.clientTop)}var We=dt&&ut?2*window.devicePixelRatio:lt?window.devicePixelRatio:1;function Je(t){return et?t.wheelDeltaY/2:t.deltaY&&0===t.deltaMode?-t.deltaY/We:t.deltaY&&1===t.deltaMode?20*-t.deltaY:t.deltaY&&2===t.deltaMode?60*-t.deltaY:t.deltaX||t.deltaZ?0:t.wheelDelta?(t.wheelDeltaY||t.wheelDelta)/2:t.detail&&Math.abs(t.detail)<32765?20*-t.detail:t.detail?t.detail/-32765*60:0}var Ge={};function qe(t){Ge[t.type]=!0}function Xe(t){var e=Ge[t.type];return Ge[t.type]=!1,e}function Ke(t,e){var i=e.relatedTarget;if(!i)return!0;try{while(i&&i!==t)i=i.parentNode}catch(n){return!1}return i!==t}var Ye={on:ke,off:Ne,stopPropagation:Ze,disableScrollPropagation:De,disableClickPropagation:Fe,preventDefault:Ue,stop:Ve,getMousePosition:He,getWheelDelta:Je,fakeStop:qe,skipped:Xe,isExternalTarget:Ke,addListener:ke,removeListener:Ne},Qe=M.extend({run:function(t,e,i,n){this.stop(),this._el=t,this._inProgress=!0,this._duration=i||.25,this._easeOutPower=1/Math.max(n||.5,.2),this._startPos=Se(t),this._offset=e.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=w(this._animate,this),this._step()},_step:function(t){var e=+new Date-this._startTime,i=1e3*this._duration;e<i?this._runFrame(this._easeOut(e/i),t):(this._runFrame(1),this._complete())},_runFrame:function(t,e){var i=this._startPos.add(this._offset.multiplyBy(t));e&&i._round(),Le(this._el,i),this.fire("step")},_complete:function(){j(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(t){return 1-Math.pow(1-t,this._easeOutPower)}}),ti=M.extend({options:{crs:G,center:void 0,zoom:void 0,minZoom:void 0,maxZoom:void 0,layers:[],maxBounds:void 0,renderer:void 0,zoomAnimation:!0,zoomAnimationThreshold:4,fadeAnimation:!0,markerZoomAnimation:!0,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:!0},initialize:function(t,e){e=d(this,e),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(t),this._initLayout(),this._onResize=o(this._onResize,this),this._initEvents(),e.maxBounds&&this.setMaxBounds(e.maxBounds),void 0!==e.zoom&&(this._zoom=this._limitZoom(e.zoom)),e.center&&void 0!==e.zoom&&this.setView(D(e.center),e.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=se&&yt&&!St&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),ke(this._proxy,re,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)},setView:function(t,e,n){if(e=void 0===e?this._zoom:this._limitZoom(e),t=this._limitCenter(D(t),e,this.options.maxBounds),n=n||{},this._stop(),this._loaded&&!n.reset&&!0!==n){void 0!==n.animate&&(n.zoom=i({animate:n.animate},n.zoom),n.pan=i({animate:n.animate,duration:n.duration},n.pan));
6var o=this._zoom!==e?this._tryAnimatedZoom&&this._tryAnimatedZoom(t,e,n.zoom):this._tryAnimatedPan(t,n.pan);if(o)return clearTimeout(this._sizeTimer),this}return this._resetView(t,e),this},setZoom:function(t,e){return this._loaded?this.setView(this.getCenter(),t,{zoom:e}):(this._zoom=t,this)},zoomIn:function(t,e){return t=t||(yt?this.options.zoomDelta:1),this.setZoom(this._zoom+t,e)},zoomOut:function(t,e){return t=t||(yt?this.options.zoomDelta:1),this.setZoom(this._zoom-t,e)},setZoomAround:function(t,e,i){var n=this.getZoomScale(e),o=this.getSize().divideBy(2),s=t instanceof k?t:this.latLngToContainerPoint(t),r=s.subtract(o).multiplyBy(1-1/n),a=this.containerPointToLatLng(o.add(r));return this.setView(a,e,{zoom:i})},_getBoundsCenterZoom:function(t,e){e=e||{},t=t.getBounds?t.getBounds():I(t);var i=N(e.paddingTopLeft||e.padding||[0,0]),n=N(e.paddingBottomRight||e.padding||[0,0]),o=this.getBoundsZoom(t,!1,i.add(n));if(o="number"===typeof e.maxZoom?Math.min(e.maxZoom,o):o,o===1/0)return{center:t.getCenter(),zoom:o};
6var s=n.subtract(i).divideBy(2),r=this.project(t.getSouthWest(),o),a=this.project(t.getNorthEast(),o),u=this.unproject(r.add(a).divideBy(2).add(s),o);return{center:u,zoom:o}},fitBounds:function(t,e){if(t=I(t),!t.isValid())throw new Error("Bounds are not valid.");var i=this._getBoundsCenterZoom(t,e);return this.setView(i.center,i.zoom,e)},fitWorld:function(t){return this.fitBounds([[-90,-180],[90,180]],t)},panTo:function(t,e){return this.setView(t,this._zoom,{pan:e})},panBy:function(t,e){if(t=N(t).round(),e=e||{},!t.x&&!t.y)return this.fire("moveend");if(!0!==e.animate&&!this.getSize().contains(t))return this._resetView(this.unproject(this.project(this.getCenter()).add(t)),this.getZoom()),this;if(this._panAnim||(this._panAnim=new Qe,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),e.noMoveStart||this.fire("movestart"),!1!==e.animate){me(this._mapPane,"leaflet-pan-anim");var i=this._getMapPanePos().subtract(t).round();this._panAnim.run(this._mapPane,i,e.duration||.25,e.easeLinearity)}else this._rawPanBy(t),this.fire("move").fire("moveend");return this},flyTo:function(t,e,i){if(i=i||{},!1===i.animate||!yt)return this.setView(t,e,i);this._stop();var n=this.project(this.getCenter()),o=this.project(t),s=this.getSize(),r=this._zoom;t=D(t),e=void 0===e?r:e;var a=Math.max(s.x,s.y),u=a*this.getZoomScale(r,e),l=o.distanceTo(n)||1,c=1.42,h=c*c;function p(t){var e=t?-1:1,i=t?u:a,n=u*u-a*a+e*h*h*l*l,o=2*i*h*l,s=n/o,r=Math.sqrt(s*s+1)-s,c=r<1e-9?-18:Math.log(r);return c}function d(t){return(Math.exp(t)-Math.exp(-t))/2}function f(t){return(Math.exp(t)+Math.exp(-t))/2}function m(t){return d(t)/f(t)}var _=p(0);function y(t){return a*(f(_)/f(_+c*t))}function v(t){return a*(f(_)*m(_+c*t)-d(_))/h}function g(t){return 1-Math.pow(1-t,1.5)}var b=Date.now(),O=(p(1)-_)/c,C=i.duration?1e3*i.duration:1e3*O*.8;function L(){var i=(Date.now()-b)/C,s=g(i)*O;i<=1?(this._flyToFrame=w(L,this),this._move(this.unproject(n.add(o.subtract(n).multiplyBy(v(s)/l)),r),this.getScaleZoom(a/y(s),r),{flyTo:!0})):this._move(t,e)._moveEnd(!0)}return this._moveStart(!0,i.noMoveStart),L.call(this),this},flyToBounds:function(t,e){var i=this._getBoundsCenterZoom(t,e);return this.flyTo(i.center,i.zoom,e)},setMaxBounds:function(t){return t=I(t),t.isValid()?(this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this.options.maxBounds=t,this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds)):(this.options.maxBounds=null,this.off("moveend",this._panInsideMaxBounds))},setMinZoom:function(t){var e=this.options.minZoom;return this.options.minZoom=t,this._loaded&&e!==t&&(this.fire("zoomlevelschange"),this.getZoom()<this.options.minZoom)?this.setZoom(t):this},setMaxZoom:function(t){var e=this.options.maxZoom;return this.options.maxZoom=t,this._loaded&&e!==t&&(this.fire("zoomlevelschange"),this.getZoom()>this.options.maxZoom)?this.setZoom(t):this},panInsideBounds:function(t,e){this._enforcingBounds=!0;var i=this.getCenter(),n=this._limitCenter(i,this._zoom,I(t));return i.equals(n)||this.panTo(n,e),this._enforcingBounds=!1,this},panInside:function(t,e){e=e||{};var i=N(e.paddingTopLeft||e.padding||[0,0]),n=N(e.paddingBottomRight||e.padding||[0,0]),o=this.getCenter(),s=this.project(o),r=this.project(t),a=this.getPixelBounds(),u=a.getSize().divideBy(2),l=B([a.min.add(i),a.max.subtract(n)]);if(!l.contains(r)){this._enforcingBounds=!0;var c=s.subtract(r),h=N(r.x+c.x,r.y+c.y);(r.x<l.min.x||r.x>l.max.x)&&(h.x=s.x-c.x,c.x>0?h.x+=u.x-i.x:h.x-=u.x-n.x),(r.y<l.min.y||r.y>l.max.y)&&(h.y=s.y-c.y,c.y>0?h.y+=u.y-i.y:h.y-=u.y-n.y),this.panTo(this.unproject(h),e),this._enforcingBounds=!1}return this},invalidateSize:function(t){if(!this._loaded)return this;t=i({animate:!1,pan:!0},!0===t?{animate:!0}:t);var e=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var n=this.getSize(),s=e.divideBy(2).round(),r=n.divideBy(2).round(),a=s.subtract(r);return a.x||a.y?(t.animate&&t.pan?this.panBy(a):(t.pan&&this._rawPanBy(a),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(o(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:e,newSize:n})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){if(t=this._locateOptions=i({timeout:1e4,watch:!1},t),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var e=o(this._handleGeolocationResponse,this),n=o(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(e,n,t):navigator.geolocation.getCurrentPosition(e,n,t),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){var e=t.code,i=t.message||(1===e?"permission denied":2===e?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:e,message:"Geolocation error: "+i+"."})},_handleGeolocationResponse:function(t){var e=t.coords.latitude,i=t.coords.longitude,n=new Z(e,i),o=n.toBounds(2*t.coords.accuracy),s=this._locateOptions;if(s.setView){var r=this.getBoundsZoom(o);this.setView(n,s.maxZoom?Math.min(r,s.maxZoom):r)}var a={latlng:n,bounds:o,timestamp:t.timestamp};for(var u in t.coords)"number"===typeof t.coords[u]&&(a[u]=t.coords[u]);this.fire("locationfound",a)},addHandler:function(t,e){if(!e)return this;var i=this[t]=new e(this);return this._handlers.push(i),this.options[t]&&i.enable(),this},remove:function(){if(this._initEvents(!0),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(e){this._container._leaflet_id=void 0,this._containerId=void 0}var t;for(t in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),ce(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(j(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[t].remove();for(t in this._panes)ce(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,e){var i="leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),n=le("div",i,e||this._mapPane);return t&&(this._panes[t]=n),n},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter:this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds(),e=this.unproject(t.getBottomLeft()),i=this.unproject(t.getTopRight());return new R(e,i)},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZo
6om?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,e,i){t=I(t),i=N(i||[0,0]);var n=this.getZoom()||0,o=this.getMinZoom(),s=this.getMaxZoom(),r=t.getNorthWest(),a=t.getSouthEast(),u=this.getSize().subtract(i),l=B(this.project(a,n),this.project(r,n)).getSize(),c=yt?this.options.zoomSnap:1,h=u.x/l.x,p=u.y/l.y,d=e?Math.max(h,p):Math.min(h,p);return n=this.getScaleZoom(d,n),c&&(n=Math.round(n/(c/100))*(c/100),n=e?Math.ceil(n/c)*c:Math.floor(n/c)*c),Math.max(o,Math.min(s,n))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new k(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,e){var i=this._getTopLeftPoint(t,e);return new $(i,i.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(void 0===t?this.getZoom():t)},getPane:function(t){return"string"===typeof t?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,e){var i=this.options.crs;return e=void 0===e?this._zoom:e,i.scale(t)/i.scale(e)},getScaleZoom:function(t,e){var i=this.options.crs;e=void 0===e?this._zoom:e;var n=i.zoom(t*i.scale(e));return isNaN(n)?1/0:n},project:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.latLngToPoint(D(t),e)},unproject:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.pointToLatLng(N(t),e)},layerPointToLatLng:function(t){var e=N(t).add(this.getPixelOrigin());return this.unproject(e)},latLngToLayerPoint:function(t){var e=this.project(D(t))._round();return e._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(D(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(I(t))},distance:function(t,e){return this.options.crs.distance(D(t),D(e))},containerPointToLayerPoint:function(t){return N(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return N(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var e=this.containerPointToLayerPoint(N(t));return this.layerPointToLatLng(e)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(D(t)))},mouseEventToContainerPoint:function(t){return He(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){var e=this._container=ae(t);if(!e)throw new Error("Map container not found.");if(e._leaflet_id)throw new Error("Map container is already initialized.");ke(e,"scroll",this._onScroll,this),this._containerId=r(e)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&yt,me(t,"leaflet-container"+(Lt?" leaflet-touch":"")+(wt?" leaflet-retina":"")+(tt?" leaflet-oldie":"")+(ct?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var e=ue(t,"position");"absolute"!==e&&"relative"!==e&&"fixed"!==e&&(t.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var t=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),Le(this._mapPane,new k(0,0)),this.createPane("tilePane"),this.createPane("shadowPane"),this.createPane("overlayPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(me(t.markerPane,"leaflet-zoom-hide"),me(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,e){Le(this._mapPane,new k(0,0));var i=!this._loaded;this._loaded=!0,e=this._limitZoom(e),this.fire("viewprereset");var n=this._zoom!==e;this._moveStart(n,!1)._move(t,e)._moveEnd(n),this.fire("viewreset"),i&&this.fire("load")},_moveStart:function(t,e){return t&&this.fire("zoomstart"),e||this.fire("movestart"),this},_move:function(t,e,i){void 0===e&&(e=this._zoom);var n=this._zoom!==e;return this._zoom=e,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),(n||i&&i.pinch)&&this.fire("zoom",i),this.fire("move",i)},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return j(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){Le(this._mapPane,this._getMapPanePos().subtract(t))},_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(t){this._targets={},this._targets[r(this._container)]=this;var e=t?Ne:ke;e(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&e(window,"resize",this._onResize,this),yt&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){j(this._resizeRequest),this._resizeRequest=w((function(){this.invalidateSize({debounceMoveend:!0})}),this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var t=this._getMapPanePos();Math.max(Math.abs(t.x),Math.abs(t.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(t,e){var i,n=[],o="mouseout"===e||"mouseover"===e,s=t.target||t.srcElement,a=!1;while(s){if(i=this._targets[r(s)],i&&("click"===e||"preclick"===e)&&!t._simulated&&this._draggableMoved(i)){a=!0;break}if(i&&i.listens(e,!0)){if(o&&!Ke(s,t))break;if(n.push(i),o)break}if(s===this._container)break;s=s.parentNode}return n.length||a||o||!Ke(s,t)||(n=[this]),n},_handleDOMEvent:function(t){if(this._loaded&&!Xe(t)){var e=t.type;"mousedown"!==e&&"keypress"!==e&&"keyup"!==e&&"keydown"!==e||Te(t.target||t.srcElement),this._fireDOMEvent(t,e)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,e,n){if("click"===t.type){var o=i({},t);o.type="preclick",this._fireDOMEvent(o,o.type,n)}if(!t._stopped&&(n=(n||[]).concat(this._findEventTargets(t,e)),n.length)){var s=n[0];"contextmenu"===e&&s.listens(e,!0)&&Ue(t);var r={originalEvent:t};if("keypress"!==t.type&&"keydown"!==t.type&&"keyup"!==t.type){var a=s.getLatLng&&(!s._radius||s._radius<=10);r.containerPoint=a?this.latLngToContainerPoint(s.getLatLng()):this.mouseEventToContainerPoint(t),r.layerPoint=this.containerPointToLayerPoint(r.containerPoint),r.latlng=a?s.getLatLng():this.layerPointToLatLng(r.layerPoint)}for(var u=0;u<n.length;u++)if(n[u].fire(e,r,!0),r.originalEvent._stopped||!1===n[u].options.bubblingMouseEvents&&-1!==v(this._mouseEvents,e))return}},_draggableMoved:function(t){return t=t.dragging&&t.dragging.enabled()?t:this,t.dragging&&t.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var t=0,e=this._handlers.length;t<e;t++)this._handlers[t].disable()},whenReady:function(t,e){return this._loaded?t.call(e||this,{target:this}):this.on("load",t,e),this},_getMapPanePos:function(){return Se(this._mapPane)||new k(0,0)},_moved:function(){var t=this._getMapPanePos();return t&&!t.equals([0,0])},_getTopLeftPoint:function(t,e){var i=t&&void 0!==e?this._getNewPixelOrigin(t,e):this.getPixelOrigin();return i.subtract(this._getMapPanePos())},_getNewPixelOrigin:function(t,e){var i=this.getSize()._divideBy(2);return this.project(t,e)._subtract(i)._add(this._getMapPanePos())._round()}
6,_latLngToNewLayerPoint:function(t,e,i){var n=this._getNewPixelOrigin(i,e);return this.project(t,e)._subtract(n)},_latLngBoundsToNewLayerBounds:function(t,e,i){var n=this._getNewPixelOrigin(i,e);return B([this.project(t.getSouthWest(),e)._subtract(n),this.project(t.getNorthWest(),e)._subtract(n),this.project(t.getSouthEast(),e)._subtract(n),this.project(t.getNorthEast(),e)._subtract(n)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(t){return this.latLngToLayerPoint(t).subtract(this._getCenterLayerPoint())},_limitCenter:function(t,e,i){if(!i)return t;var n=this.project(t,e),o=this.getSize().divideBy(2),s=new $(n.subtract(o),n.add(o)),r=this._getBoundsOffset(s,i,e);return r.round().equals([0,0])?t:this.unproject(n.add(r),e)},_limitOffset:function(t,e){if(!e)return t;var i=this.getPixelBounds(),n=new $(i.min.add(t),i.max.add(t));return t.add(this._getBoundsOffset(n,e))},_getBoundsOffset:function(t,e,i){var n=B(this.project(e.getNorthEast(),i),this.project(e.getSouthWest
6(),i)),o=n.min.subtract(t.min),s=n.max.subtract(t.max),r=this._rebound(o.x,-s.x),a=this._rebound(o.y,-s.y);return new k(r,a)},_rebound:function(t,e){return t+e>0?Math.round(t-e)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(e))},_limitZoom:function(t){var e=this.getMinZoom(),i=this.getMaxZoom(),n=yt?this.options.zoomSnap:1;return n&&(t=Math.round(t/n)*n),Math.max(e,Math.min(i,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){_e(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,e){var i=this._getCenterOffset(t)._trunc();return!(!0!==(e&&e.animate)&&!this.getSize().contains(i))&&(this.panBy(i,e),!0)},_createAnimProxy:function(){var t=this._proxy=le("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",(function(t){var e=oe,i=this._proxy.style[e];Ce(this._proxy,this.project(t.center,t.zoom),this.getZoomScale(t.zoom,1)),i===this._proxy.style[e]&&this._animatingZoom&&this._onZoomTransitionEnd()}),this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){ce(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var t=this.getCenter(),e=this.getZoom();Ce(this._proxy,this.project(t,e),this.getZoomScale(e,1))},_catchTransitionEnd:function(t){this._animatingZoom&&t.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,e,i){if(this._animatingZoom)return!0;if(i=i||{},!this._zoomAnimated||!1===i.animate||this._nothingToAnimate()||Math.abs(e-this._zoom)>this.options.zoomAnimationThreshold)return!1;var n=this.getZoomScale(e),o=this._getCenterOffset(t)._divideBy(1-1/n);return!(!0!==i.animate&&!this.getSize().contains(o))&&(w((function(){this._moveStart(!0,!1)._animateZoom(t,e,!0)}),this),!0)},_animateZoom:function(t,e,i,n){this._mapPane&&(i&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=e,me(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:e,noUpdate:n}),setTimeout(o(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&_e(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom),w((function(){this._moveEnd(!0)}),this))}});function ei(t,e){return new ti(t,e)}var ii=P.extend({options:{position:"topright"},initialize:function(t){d(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var e=this._map;return e&&e.removeControl(this),this.options.position=t,e&&e.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var e=this._container=this.onAdd(t),i=this.getPosition(),n=t._controlCorners[i];return me(e,"leaflet-control"),-1!==i.indexOf("bottom")?n.insertBefore(e,n.firstChild):n.appendChild(e),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(ce(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(t){this._map&&t&&t.screenX>0&&t.screenY>0&&this._map.getContainer().focus()}}),ni=function(t){return new ii(t)};ti.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this},_initControlPos:function(){var t=this._controlCorners={},e="leaflet-",i=this._controlContainer=le("div",e+"control-container",this._container);function n(n,o){var s=e+n+" "+e+o;t[n+o]=le("div",s,i)}n("top","left"),n("top","right"),n("bottom","left"),n("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)ce(this._controlCorners[t]);ce(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var oi=ii.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,e,i,n){return i<n?-1:n<i?1:0}}
6,initialize:function(t,e,i){for(var n in d(this,i),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1,t)this._addLayer(t[n],n);for(n in e)this._addLayer(e[n],n,!0)},onAdd:function(t){this._initLayout(),this._update(),this._map=t,t.on("zoomend",this._checkDisabledLayers,this);for(var e=0;e<this._layers.length;e++)this._layers[e].layer.on("add remove",this._onLayerChange,this);return this._container},addTo:function(t){return ii.prototype.addTo.call(this,t),this._expandIfNotCollapsed()},onRemove:function(){this._map.off("zoomend",this._checkDisabledLayers,this);for(var t=0;t<this._layers.length;t++)this._layers[t].layer.off("add remove",this._onLayerChange,this)},addBaseLayer:function(t,e){return this._addLayer(t,e),this._map?this._update():this},addOverlay:function(t,e){return this._addLayer(t,e,!0),this._map?this._update():this},removeLayer:function(t){t.off("add remove",this._onLayerChange,this);var e=this._getLayer(r(t));return e&&this._layers.splice(this._layers.indexOf(e),1),this._map?this._update():this},expand:function(){me(this._container,"leaflet-control-layers-expanded"),this._section.style.height=null;var t=this._map.getSize().y-(this._container.offsetTop+50);return t<this._section.clientHeight?(me(this._section,"leaflet-control-layers-scrollbar"),this._section.style.height=t+"px"):_e(this._section,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return _e(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var t="leaflet-control-layers",e=this._container=le("div",t),i=this.options.collapsed;e.setAttribute("aria-haspopup",!0),Fe(e),De(e);var n=this._section=le("section",t+"-list");i&&(this._map.on("click",this.collapse,this),nt||ke(e,{mouseenter:this.expand,mouseleave:this.collapse},this));var o=this._layersLink=le("a",t+"-toggle",e);o.href="#",o.title="Layers",Lt?(ke(o,"click",Ve),ke(o,"click",this.expand,this)):ke(o,"focus",this.expand,this),i||this.expand(),this._baseLayersList=le("div",t+"-base",n),this._separator=le("div",t+"-separator",n),this._overlaysList=le("div",t+"-overlays",n),e.appendChild(n)},_getLayer:function(t){for(var e=0;e<this._layers.length;e++)if(this._layers[e]&&r(this._layers[e].layer)===t)return this._layers[e]},_addLayer:function(t,e,i){this._map&&t.on("add remove",this._onLayerChange,this),this._layers.push({layer:t,name:e,overlay:i}),this.options.sortLayers&&this._layers.sort(o((function(t,e){return this.options.sortFunction(t.layer,e.layer,t.name,e.name)}),this)),this.options.autoZIndex&&t.setZIndex&&(this._lastZIndex++,t.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(!this._container)return this;he(this._baseLayersList),he(this._overlaysList),this._layerControlInputs=[];var t,e,i,n,o=0;for(i=0;i<this._layers.length;i++)n=this._layers[i],this._addItem(n),e=e||n.overlay,t=t||!n.overlay,o+=n.overlay?0:1;return this.options.hideSingleBase&&(t=t&&o>1,this._baseLayersList.style.display=t?"":"none"),this._separator.style.display=e&&t?"":"none",this},_onLayerChange:function(t){this._handlingClick||this._update();var e=this._getLayer(r(t.target)),i=e.overlay?"add"===t.type?"overlayadd":"overlayremove":"add"===t.type?"baselayerchange":null;i&&this._map.fire(i,e)},_createRadioElement:function(t,e){var i='<input type="radio" class="leaflet-control-layers-selector" name="'+t+'"'+(e?' checked="checked"':"")+"/>",n=document.createElement("div");return n.innerHTML=i,n.firstChild},_addItem:function(t){var e,i=document.createElement("label"),n=this._map.hasLayer(t.layer);t.overlay?(e=document.createElement("input"),e.type="checkbox",e.className="leaflet-control-layers-selector",e.defaultChecked=n):e=this._createRadioElement("leaflet-base-layers_"+r(this),n),this._layerControlInputs.push(e),e.layerId=r(t.layer),ke(e,"click",this._onInputClick,this);var o=document.createElement("span");o.innerHTML=" "+t.name;var s=document.createElement("div");i.appendChild(s),s.appendChild(e),s.appendChild(o);var a=t.overlay?this._overlaysList:this._baseLayersList;return a.appendChild(i),this._checkDisabledLayers(),i},_onInputClick:function(){var t,e,i=this._layerControlInputs,n=[],o=[];this._handlingClick=!0;for(var s=i.length-1;s>=0;s--)t=i[s],e=this._getLayer(t.layerId).layer,t.checked?n.push(e):t.checked||o.push(e);for(s=0;s<o.length;s++)this._map.hasLayer(o[s])&&this._map.removeLayer(o[s]);for(s=0;s<n.length;s++)this._map.hasLayer(n[s])||this._map.addLayer(n[s]);this._handlingClick=!1,this._refocusOnMap()},_checkDisabledLayers:function(){for(var t,e,i=this._layerControlInputs,n=this._map.getZoom(),o=i.length-1;o>=0;o--)t=i[o],e=this._getLayer(t.layerId).layer,t.disabled=void 0!==e.options.minZoom&&n<e.options.minZoom||void 0!==e.options.maxZoom&&n>e.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expand:function(){return this.expand()},_collapse:function(){return this.collapse()}}
6),si=function(t,e,i){return new oi(t,e,i)},ri=ii.extend({options:{position:"topleft",zoomInText:"+",zoomInTitle:"Zoom in",zoomOutText:"&#x2212;",zoomOutTitle:"Zoom out"},onAdd:function(t){var e="leaflet-control-zoom",i=le("div",e+" leaflet-bar"),n=this.options;return this._zoomInButton=this._createButton(n.zoomInText,n.zoomInTitle,e+"-in",i,this._zoomIn),this._zoomOutButton=this._createButton(n.zoomOutText,n.zoomOutTitle,e+"-out",i,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),i},onRemove:function(t){t.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(t){!this._disabled&&this._map._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(t.shiftKey?3:1))},_zoomOut:function(t){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))},_createButton:function(t,e,i,n,o){var s=le("a",i,n);return s.innerHTML=t,s.href="#",s.title=e,s.setAttribute("role","button"),s.setAttribute("aria-label",e),Fe(s),ke(s,"click",Ve),ke(s,"click",o,this),ke(s,"click",this._refocusOnMap,this),s},_updateDisabled:function(){var t=this._map,e="leaflet-disabled";_e(this._zoomInButton,e),_e(this._zoomOutButton,e),(this._disabled||t._zoom===t.getMinZoom())&&me(this._zoomOutButton,e),(this._disabled||t._zoom===t.getMaxZoom())&&me(this._zoomInButton,e)}});ti.mergeOptions({zoomControl:!0}),ti.addInitHook((function(){this.options.zoomControl&&(this.zoomControl=new ri,this.addControl(this.zoomControl))}));var ai=function(t){return new ri(t)},ui=ii.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var e="leaflet-control-scale",i=le("div",e),n=this.options;return this._addScales(n,e+"-line",i),t.on(n.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),i},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,e,i){t.metric&&(this._mScale=le("div",e,i)),t.imperial&&(this._iScale=le("div",e,i))},_update:function(){var t=this._map,e=t.getSize().y/2,i=t.distance(t.containerPointToLatLng([0,e]),t.containerPointToLatLng([this.options.maxWidth,e]));this._updateScales(i)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var e=this._getRoundNum(t),i=e<1e3?e+" m":e/1e3+" km";this._updateScale(this._mScale,i,e/t)},_updateImperial:function(t){var e,i,n,o=3.2808399*t;o>5280?(e=o/5280,i=this._getRoundNum(e),this._updateScale(this._iScale,i+" mi",i/e)):(n=this._getRoundNum(o),this._updateScale(this._iScale,n+" ft",n/o))},_updateScale:function(t,e,i){t.style.width=Math.round(this.options.maxWidth*i)+"px",t.innerHTML=e},_getRoundNum:function(t){var e=Math.pow(10,(Math.floor(t)+"").length-1),i=t/e;return i=i>=10?10:i>=5?5:i>=3?3:i>=2?2:1,e*i}}),li=function(t){return new ui(t)},ci=ii.extend({options:{position:"bottomright",prefix:'<a href="https://leafletjs.com" title="A JS library for interactive maps">Leaflet</a>'},initialize:function(t){d(this,t),this._attributions={}},onAdd:function(t){for(var e in t.attributionControl=this,this._container=le("div","leaflet-control-attribution"),Fe(this._container),t._layers)t._layers[e].getAttribution&&this.addAttribution(t._layers[e].getAttribution());return this._update(),this._container},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t?(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update(),this):this},removeAttribution:function(t){return t?(this._attributions[t]&&(this._attributions[t]--,this._update()),this):this},_update:function(){if(this._map){var t=[];for(var e in this._attributions)this._attributions[e]&&t.push(e);var i=[];this.options.prefix&&i.push(this.options.prefix),t.length&&i.push(t.join(", ")),this._container.innerHTML=i.join(" | ")}}});ti.mergeOptions({attributionControl:!0}),ti.addInitHook((function(){this.options.attributionControl&&(new ci).addTo(this)}));var hi=function(t){return new ci(t)};ii.Layers=oi,ii.Zoom=ri,ii.Scale=ui,ii.Attribution=ci,ni.layers=si,ni.zoom=
6ai,ni.scale=li,ni.attribution=hi;var pi=P.extend({initialize:function(t){this._map=t},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});pi.addTo=function(t,e){return t.addHandler(e,this),this};var di,fi={Events:E},mi=Lt?"touchstart mousedown":"mousedown",_i={mousedown:"mouseup",touchstart:"touchend",pointerdown:"touchend",MSPointerDown:"touchend"},yi={mousedown:"mousemove",touchstart:"touchmove",pointerdown:"touchmove",MSPointerDown:"touchmove"},vi=M.extend({options:{clickTolerance:3},initialize:function(t,e,i,n){d(this,n),this._element=t,this._dragStartTarget=e||t,this._preventOutline=i},enable:function(){this._enabled||(ke(this._dragStartTarget,mi,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(vi._dragging===this&&this.finishDrag(),Ne(this._dragStartTarget,mi,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(!t._simulated&&this._enabled&&(this._moved=!1,!fe(this._element,"leaflet-zoom-anim")&&!(vi._dragging||t.shiftKey||1!==t.which&&1!==t.button&&!t.touches)&&(vi._dragging=this,this._preventOutline&&Te(this._element),we(),Qt(),!this._moving))){this.fire("down");var e=t.touches?t.touches[0]:t,i=Ae(this._element);this._startPoint=new k(e.clientX,e.clientY),this._parentScale=Ee(i),ke(document,yi[t.type],this._onMove,this),ke(document,_i[t.type],this._onUp,this)}},_onMove:function(t){if(!t._simulated&&this._enabled)if(t.touches&&t.touches.length>1)this._moved=!0;else{var e=t.touches&&1===t.touches.length?t.touches[0]:t,i=new k(e.clientX,e.clientY)._subtract(this._startPoint);(i.x||i.y)&&(Math.abs(i.x)+Math.abs(i.y)<this.options.clickTolerance||(i.x/=this._parentScale.x,i.y/=this._parentScale.y,Ue(t),this._moved||(this.fire("dragstart"),this._moved=!0,this._startPos=Se(this._element).subtract(i),me(document.body,"leaflet-dragging"),this._lastTarget=t.target||t.srcElement,window.SVGElementInstance&&this._lastTarget instanceof window.SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),me(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(i),this._moving=!0,j(this._animRequest),this._lastEvent=t,this._animRequest=w(this._updatePosition,this,!0)))}},_updatePosition:function(){var t={originalEvent:this._lastEvent};this.fire("predrag",t),Le(this._element,this._newPos),this.fire("drag",t)},_onUp:function(t){!t._simulated&&this._enabled&&this.finishDrag()},finishDrag:function(){for(var t in _e(document.body,"leaflet-dragging"),this._lastTarget&&(_e(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),yi)Ne(document,yi[t],this._onMove,this),Ne(document,_i[t],this._onUp,this);je(),te(),this._moved&&this._moving&&(j(this._animRequest),this.fire("dragend",{distance:this._newPos.distanceTo(this._startPos)})),this._moving=!1,vi._dragging=!1}});function gi(t,e){if(!e||!t.length)return t.slice();var i=e*e;return t=Si(t,i),t=Ci(t,i),t}function bi(t,e,i){return Math.sqrt(Pi(t,e,i,!0))}function Oi(t,e,i){return Pi(t,e,i)}function Ci(t,e){var i=t.length,n=typeof Uint8Array!==void 0+""?Uint8Array:Array,o=new n(i);o[0]=o[i-1]=1,Li(t,o,e,0,i-1);var s,r=[];for(s=0;s<i;s++)o[s]&&r.push(t[s]);return r}function Li(t,e,i,n,o){var s,r,a,u=0;for(r=n+1;r<=o-1;r++)a=Pi(t[r],t[n],t[o],!0),a>u&&(s=r,u=a);u>i&&(e[s]=1,Li(t,e,i,n,s),Li(t,e,i,s,o))}function Si(t,e){for(var i=[t[0]],n=1,o=0,s=t.length;n<s;n++)Ti(t[n],t[o])>e&&(i.push(t[n]),o=n);return o<s-1&&i.push(t[s-1]),i}function xi(t,e,i,n,o){var s,r,a,u=n?di:ji(t,i),l=ji(e,i);di=l;while(1){if(!(u|l))return[t,e];if(u&l)return!1;s=u||l,r=wi(t,e,s,i,o),a=ji(r,i),s===u?(t=r,u=a):(e=r,l=a)}}function wi(t,e,i,n,o){var s,r,a=e.x-t.x,u=e.y-t.y,l=n.min,c=n.max;return 8&i?(s=t.x+a*(c.y-t.y)/u,r=c.y):4&i?(s=t.x+a*(l.y-t.y)/u,r=l.y):2&i?(s=c.x,r=t.y+u*(c.x-t.x)/a):1&i&&(s=l.x,r=t.y+u*(l.x-t.x)/a),new k(s,r,o)}function ji(t,e){var i=0;return t.x<e.min.x?i|=1:t.x>e.max.x&&(i|=2),t.y<e.min.y?i|=4:t.y>e.max.y&&(i|=8),i}function Ti(t,e){var i=e.x-t.x,n=e.y-t.y;return i*i+n*n}function Pi(t,e,i,n){var o,s=e.x,r=e.y,a=i.x-s,u=i.y-r,l=a*a+u*u;return l>0&&(o=((t.x-s)*a+(t.y-r)*u)/l,o>1?(s=i.x,r=i.y):o>0&&(s+=a*o,r+=u*o)),a=t.x-s,u=t.y-r,n?a*a+u*u:new k(s,r)}function Ai(t){return!y(t[0])||"object"!==typeof t[0][0]&&"undefined"!==typeof t[0][0]}function Ei(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),Ai(t)}var Mi={simplify:gi,pointToSegmentDistance:bi,closestPointOnSegment:Oi,clipSegment:xi,_getEdgeIntersection:wi,_getBitCode:ji,_sqClosestPointOnSegment:Pi,isFlat:Ai,_flat:Ei};function ki(t,e,i){var n,o,s,r,a,u,l,c,h,p=[1,4,2,8];for(o=0,l=t.length;o<l;o++)t[o]._code=ji(t[o],e);for(r=0;r<4;r++){for(c=p[r],n=[],o=0,l=t.length,s=l-1;o<l;s=o++)a=t[o],u=t[s],a._code&c?u._code&c||(h=wi(u,a,c,e,i),h._code=ji(h,e),n.push(h)):(u._code&c&&(h=wi(u,a,c,e,i),h._code=ji(h,e),n.push(h)),n.push(a));t=n}return t}var zi={clipPolygon:ki},Ni={project:function(t){return new k(t.lng,t.lat)},unproject:function(t){return new Z(t.y,t.x)},bounds:new $([-180,-90],[180,90])},$i={R:6378137,R_MINOR:6356752.314245179,bounds:new $([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(t){var e=Math.PI/180,i=this.R,n=t.lat*e,o=this.R_MINOR/i,s=Math.sqrt(1-o*o),r=s*Math.sin(n),a=Math.tan(Math.PI/4-n/2)/Math.pow((1-r)/(1+r),s/2);return n=-i*Math.log(Math.max(a,1e-10)),new k(t.lng*e*i,n)},unproject:function(t){for(var e,i=180/Math.PI,n=this.R,o=this.R_MINOR/n,s=Math.sqrt(1-o*o),r=Math.exp(-t.y/n),a=Math.PI/2-2*Math.atan(r),u=0,l=.1;u<15&&Math.abs(l)>1e-7;u++)e=s*Math.sin(a),e=Math.pow((1-e)/(1+e),s/2),l=Math.PI/2-2*Math.atan(r*e)-a,a+=l;return new Z(a*i,t.x*i/n)}},Bi={LonLat:Ni,Mercator:$i,SphericalMercator:H},Ri=i({}
6,U,{code:"EPSG:3395",projection:$i,transformation:function(){var t=.5/(Math.PI*$i.R);return J(t,.5,-t,.5)}()}),Ii=i({},U,{code:"EPSG:4326",projection:Ni,transformation:J(1/180,1,-1/180,.5)}),Zi=i({},F,{projection:Ni,transformation:J(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,e){var i=e.lng-t.lng,n=e.lat-t.lat;return Math.sqrt(i*i+n*n)},infinite:!0});F.Earth=U,F.EPSG3395=Ri,F.EPSG3857=G,F.EPSG900913=q,F.EPSG4326=Ii,F.Simple=Zi;var Di=M.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(t){return t.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(t){return t&&t.removeLayer(this),this},getPane:function(t){return this._map.getPane(t?this.options[t]||t:this.options.pane)},addInteractiveTarget:function(t){return this._map._targets[r(t)]=this,this},removeInteractiveTarget:function(t){return delete this._map._targets[r(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var e=t.target;if(e.hasLayer(this)){if(this._map=e,this._zoomAnimated=e._zoomAnimated,this.getEvents){var i=this.getEvents();e.on(i,this),this.once("remove",(function(){e.off(i,this)}),this)}this.onAdd(e),this.getAttribution&&e.attributionControl&&e.attributionControl.addAttribution(this.getAttribution()),this.fire("add"),e.fire("layeradd",{layer:this})}}});ti.include({addLayer:function(t){if(!t._layerAdd)throw new Error("The provided object is not a Layer.");var e=r(t);return this._layers[e]||(this._layers[e]=t,t._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t)),this},removeLayer:function(t){var e=r(t);return this._layers[e]?(this._loaded&&t.onRemove(this),t.getAttribution&&this.attributionControl&&this.attributionControl.removeAttribution(t.getAttribution()),delete this._layers[e],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null,this):this},hasLayer:function(t){return!!t&&r(t)in this._layers},eachLayer:function(t,e){for(var i in this._layers)t.call(e,this._layers[i]);return this},_addLayers:function(t){t=t?y(t)?t:[t]:[];for(var e=0,i=t.length;e<i;e++)this.addLayer(t[e])},_addZoomLimit:function(t){!isNaN(t.options.maxZoom)&&isNaN(t.options.minZoom)||(this._zoomBoundLayers[r(t)]=t,this._updateZoomLevels())},_removeZoomLimit:function(t){var e=r(t);this._zoomBoundLayers[e]&&(delete this._zoomBoundLayers[e],this._updateZoomLevels())},_updateZoomLevels:function(){var t=1/0,e=-1/0,i=this._getZoomSpan();for(var n in this._zoomBoundLayers){var o=this._zoomBoundLayers[n].options;t=void 0===o.minZoom?t:Math.min(t,o.minZoom),e=void 0===o.maxZoom?e:Math.max(e,o.maxZoom)}this._layersMaxZoom=e===-1/0?void 0:e,this._layersMinZoom=t===1/0?void 0:t,i!==this._getZoomSpan()&&this.fire("zoomlevelschange"),void 0===this.options.maxZoom&&this._layersMaxZoom&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom&&this.setZoom(this._layersMinZoom)}});var Fi=Di.extend({initialize:function(t,e){var i,n;if(d(this,e),this._layers={},t)for(i=0,n=t.length;i<n;i++)this.addLayer(t[i])},addLayer:function(t){var e=this.getLayerId(t);return this._layers[e]=t,this._map&&this._map.addLayer(t),this},removeLayer:function(t){var e=t in this._layers?t:this.getLayerId(t);return this._map&&this._layers[e]&&this._map.removeLayer(this._layers[e]),delete this._layers[e],this},hasLayer:function(t){if(!t)return!1;var e="number"===typeof t?t:this.getLayerId(t);return e in this._layers},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(t){var e,i,n=Array.prototype.slice.call(arguments,1);for(e in this._layers)i=this._layers[e],i[t]&&i[t].apply(i,n);return this},onAdd:function(t){this.eachLayer(t.addLayer,t)},onRemove:function(t){this.eachLayer(t.removeLayer,t)},eachLayer:function(t,e){for(var i in this._layers)t.call(e,this._layers[i]);return this},getLayer:function(t){return this._layers[t]},getLayers:function(){var t=[];return this.eachLayer(t.push,t),t},setZIndex:function(t){return this.invoke("setZIndex",t)},getLayerId:function(t){return r(t)}}),Ui=function(t,e){return new Fi(t,e)},Vi=Fi.extend({addLayer:function(t){return this.hasLayer(t)?this:(t.addEventParent(this),Fi.prototype.addLayer.call(this,t),this.fire("layeradd",{layer:t}))},removeLayer:function(t){return this.hasLayer(t)?(t in this._layers&&(t=this._layers[t]),t.removeEventParent(this),Fi.prototype.removeLayer.call(this,t),this.fire("layerremove",{layer:t})):this},setStyle:function(t){return this.invoke("setStyle",t)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var t=new R;for(var e in this._layers){var i=this._layers[e];t.extend(i.getBounds?i.getBounds():i.getLatLng())}return t}}),Hi=function(t,e){return new Vi(t,e)},Wi=P.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0]},initialize:function(t){d(this,t)},createIcon:function(t){return this._createIcon("icon",t)},createShadow:function(t){return this._createIcon("shadow",t)},_createIcon:function(t,e){var i=this._getIconUrl(t);if(!i){if("icon"===t)throw new Error("iconUrl not set in Icon options (see the docs).");return null}var n=this._createImg(i,e&&"IMG"===e.tagName?e:null);return this._setIconStyles(n,t),n},_setIconStyles:function(t,e){var i=this.options,n=i[e+"Size"];"number"===typeof n&&(n=[n,n]);var o=N(n),s=N("shadow"===e&&i.shadowAnchor||i.iconAnchor||o&&o.divideBy(2,!0));t.className="leaflet-marker-"+e+" "+(i.className||""),s&&(t.style.marginLeft=-s.x+"px",t.style.marginTop=-s.y+"px"),o&&(t.style.width=o.x+"px",t.style.height=o.y+"px")},_createImg:function(t,e){return e=e||document.createElement("img"),e.src=t,e},_getIconUrl:function(t){return wt&&this.options[t+"RetinaUrl"]||this.options[t+"Url"]}});function Ji(t){return new Wi(t)}var Gi=Wi.extend({options:{iconUrl:"marker-icon.png",iconRetinaUrl:"marker-icon-2x.png",shadowUrl:"marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(t){return Gi.imagePath||(Gi.imagePath=this._detectIconPath()),(this.options.imagePath||Gi.imagePath)+Wi.prototype._getIconUrl.call(this,t)},_detectIconPath:function(){var t=le("div","leaflet-default-icon-path",document.body),e=ue(t,"background-image")||ue(t,"backgroundImage");return document.body.removeChild(t),e=null===e||0!==e.indexOf("url")?"":e.replace(/^url\(["']?/,"").replace(/marker-icon\.png["']?\)$/,""),e}}),qi=pi.extend({initialize:function(t){this._marker=t},addHooks:function(){var t=this._marker._icon;this._draggable||(this._draggable=new vi(t,t,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),me(t,"leaflet-marker-draggable")},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).disable(),this._marker._icon&&_e(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(t){var e=this._marker,i=e._map,n=this._marker.options.autoPanSpeed,o=this._marker.options.autoPanPadding,s=Se(e._icon),r=i.getPixelBounds(),a=i.getPixelOrigin(),u=B(r.min._subtract(a).add(o),r.max._subtract(a).subtract(o));if(!u.contains(s)){var l=N((Math.max(u.max.x,s.x)-u.max.x)/(r.max.x-u.max.x)-(Math.min(u.min.x,s.x)-u.min.x)/(r.min.x-u.min.x),(Math.max(u.max.y,s.y)-u.max.y)/(r.max.y-u.max.y)-(Math.min(u.min.y,s.y)-u.min.y)/(r.min.y-u.min.y)).multiplyBy(n);i.panBy(l,{animate:!1}),this._draggable._newPos._add(l),this._draggable._startPos._add(l),Le(e._icon,this._draggable._newPos),this._onDrag(t),this._panRequest=w(this._adjustPan.bind(this,t))}},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup&&this._marker.closePopup(),this._marker.fire("movestart").fire("dragstart")},_onPreDrag:function(t){this._marker.options.autoPan&&(j(this._panRequest),this._panRequest=w(this._adjustPan.bind(this,t)))},_onDrag:function(t){var e=this._marker,i=e._shadow,n=Se(e._icon),o=e._map.layerPointToLatLng(n);i&&Le(i,n),e._latlng=o,t.latlng=o,t.oldLatLng=this._oldLatLng,e.fire("move",t).fire("drag",t)},_onDragEnd:function(t){j(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",t)}}),Xi=Di.extend({options:{icon:new Gi,interactive:!0,keyboard:!0,title:"",alt:"",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:"markerPane",shadowPane:"shadowPane",bubblingMouseEvents:!1,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10},initialize:function(t,e){d(this,e),this._latlng=D(t)},onAdd:function(t){this._zoomAnimated=this._zoomAnimated&&t.options.markerZoomAnimation,this._zoomAnimated&&t.on("zoomanim",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(t){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&t.off("zoomanim",this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(t){var e=this._latlng;return this._latlng=D(t),this.update(),this.fire("move",{oldLatLng:e,latlng:this._latlng})},setZIndexOffset:function(t){return this.options.zIndexOffset=t,this.update()},getIcon:function(){return this.options.icon},setIcon:function(t){return this.options.icon=t,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){if(this._icon&&this._map){var t=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(t)}return this},_initIcon:function(){var t=this.options,e="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),i=t.icon.createIcon(this._icon),n=!1;i!==this._icon&&(this._icon&&this._removeIcon(),n=!0,t.title&&(i.title=t.title),"IMG"===i.tagName&&(i.alt=t.alt||"")),me(i,e),t.keyboard&&(i.tabIndex="0"),this._icon=i,t.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex});var o=t.icon.createShadow(this._shadow),s=!1;o!==this._shadow&&(this._removeShadow(),s=!0),o&&(me(o,e),o.alt=""),this._shadow=o,t.opacity<1&&this._updateOpacity(),n&&this.getPane().appendChild(this._icon),this._initInteraction(),o&&s&&this.getPane(t.shadowPane).appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),ce(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&ce(this._shadow),this._shadow=null},_setPos:function(t){this._icon&&Le(this._icon,t),this._shadow&&Le(this._shadow,t),this._zIndex=t.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(t){this._icon&&(this._icon.style.zIndex=this._zIndex+t)},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center).round();this._setPos(e)},_initInteraction:function(){if(this.options.interactive&&(me(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),qi)){var t=this.options.draggable;this.dragging&&(t=this.dragging.enabled(),this.dragging.disable()),this.dragging=new qi(this),t&&this.dragging.enable()}},setOpacity:function(t){return this.options.opacity=t,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var t=this.options.opacity;this._icon&&ge(this._icon,t),this._shadow&&ge(this._shadow,t)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}});function Ki(t,e){return new Xi(t,e)}var Yi=Di.extend({options:{stroke:!0,color:"#3388ff",weight:3,opacity:1,lineCap:"round",lineJoin:"round",dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,f
vendor: 1,332 bytes, line 6
6illRule:"evenodd",interactive:!0,bubblingMouseEvents:!0},beforeAdd:function(t){this._renderer=t.getRenderer(this)},onAdd:function(){this._renderer._initPath(this),this._reset(),this._renderer._addPath(this)},onRemove:function(){this._renderer._removePath(this)},redraw:function(){return this._map&&this._renderer._updatePath(this),this},setStyle:function(t){return d(this,t),this._renderer&&(this._renderer._updateStyle(this),this.options.stroke&&t&&Object.prototype.hasOwnProperty.call(t,"weight")&&this._updateBounds()),this},bringToFront:function(){return this._renderer&&this._renderer._bringToFront(this),this},bringToBack:function(){return this._renderer&&this._renderer._bringToBack(this),this},getElement:function(){return this._path},_reset:function(){this._project(),this._update()},_clickTolerance:function(){return(this.options.stroke?this.options.weight/2:0)+this._renderer.options.tolerance}}),Qi=Yi.extend({options:{fill:!0,radius:10},initialize:function(t,e){d(this,e),this._latlng=D(t),this._radius=this.options.radius},setLatLng:function(t){var e=this._latlng;return this._latlng=D(t),this.redraw(),this.fire("move",{oldLatLng:e,latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(t){return this.options.radius=this._radius=t,this.redraw()},getRadius:function(){return this._radius}
6,setStyle:function(t){var e=t&&t.radius||this._radius;return Yi.prototype.setStyle.call(this,t),this.setRadius(e),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var t=this._radius,e=this._radiusY||t,i=this._clickTolerance(),n=[t+i,e+i];this._pxBounds=new $(this._point.subtract(n),this._point.add(n))},_update:function(){this._map&&this._updatePath()},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)},_containsPoint:function(t){return t.distanceTo(this._point)<=this._radius+this._clickTolerance()}});function tn(t,e){return new Qi(t,e)}var en=Qi.extend({initialize:function(t,e,n){if("number"===typeof e&&(e=i({},n,{radius:e})),d(this,e),this._latlng=D(t),isNaN(this.options.radius))throw new Error("Circle radius cannot be NaN");this._mRadius=this.options.radius},setRadius:function(t){return this._mRadius=t,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var t=[this._radius,this._radiusY||this._radius];return new R(this._map.layerPointToLatLng(this._point.subtract(t)),this._map.layerPointToLatLng(this._point.add(t)))},setStyle:Yi.prototype.setStyle,_project:function(){var t=this._latlng.lng,e=this._latlng.lat,i=this._map,n=i.options.crs;if(n.distance===U.distance){var o=Math.PI/180,s=this._mRadius/U.R/o,r=i.project([e+s,t]),a=i.project([e-s,t]),u=r.add(a).divideBy(2),l=i.unproject(u).lat,c=Math.acos((Math.cos(s*o)-Math.sin(e*o)*Math.sin(l*o))/(Math.cos(e*o)*Math.cos(l*o)))/o;(isNaN(c)||0===c)&&(c=s/Math.cos(Math.PI/180*e)),this._point=u.subtract(i.getPixelOrigin()),this._radius=isNaN(c)?0:u.x-i.project([l,t-c]).x,this._radiusY=u.y-r.y}else{var h=n.unproject(n.project(this._latlng).subtract([this._mRadius,0]));this._point=i.latLngToLayerPoint(this._latlng),this._radius=this._point.x-i.latLngToLayerPoint(h).x}this._updateBounds()}});function nn(t,e,i){return new en(t,e,i)}var on=Yi.extend({options:{smoothFactor:1,noClip:!1},initialize:function(t,e){d(this,e),this._setLatLngs(t)},getLatLngs:function(){return this._latlngs},setLatLngs:function(t){return this._setLatLngs(t),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(t){for(var e,i,n=1/0,o=null,s=Pi,r=0,a=this._parts.length;r<a;r++)for(var u=this._parts[r],l=1,c=u.length;l<c;l++){e=u[l-1],i=u[l];var h=s(t,e,i,!0);h<n&&(n=h,o=s(t,e,i))}return o&&(o.distance=Math.sqrt(n)),o}
6,getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");var t,e,i,n,o,s,r,a=this._rings[0],u=a.length;if(!u)return null;for(t=0,e=0;t<u-1;t++)e+=a[t].distanceTo(a[t+1])/2;if(0===e)return this._map.layerPointToLatLng(a[0]);for(t=0,n=0;t<u-1;t++)if(o=a[t],s=a[t+1],i=o.distanceTo(s),n+=i,n>e)return r=(n-e)/i,this._map.layerPointToLatLng([s.x-r*(s.x-o.x),s.y-r*(s.y-o.y)])},getBounds:function(){return this._bounds},addLatLng:function(t,e){return e=e||this._defaultShape(),t=D(t),e.push(t),this._bounds.extend(t),this.redraw()},_setLatLngs:function(t){this._bounds=new R,this._latlngs=this._convertLatLngs(t)},_defaultShape:function(){return Ai(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(t){for(var e=[],i=Ai(t),n=0,o=t.length;n<o;n++)i?(e[n]=D(t[n]),this._bounds.extend(e[n])):e[n]=this._convertLatLngs(t[n]);return e},_project:function(){var t=new $;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,t),this._bounds.isValid()&&t.isValid()&&(this._rawPxBounds=t,this._updateBounds())},_updateBounds:function(){var t=this._clickTolerance(),e=new k(t,t);this._pxBounds=new $([this._rawPxBounds.min.subtract(e),this._rawPxBounds.max.add(e)])},_projectLatlngs:function(t,e,i){var n,o,s=t[0]instanceof Z,r=t.length;if(s){for(o=[],n=0;n<r;n++)o[n]=this._map.latLngToLayerPoint(t[n]),i.extend(o[n]);e.push(o)}else for(n=0;n<r;n++)this._projectLatlngs(t[n],e,i)},_clipPoints:function(){var t=this._renderer._bounds;if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else{var e,i,n,o,s,r,a,u=this._parts;for(e=0,n=0,o=this._rings.length;e<o;e++)for(a=this._rings[e],i=0,s=a.length;i<s-1;i++)r=xi(a[i],a[i+1],t,i,!0),r&&(u[n]=u[n]||[],u[n].push(r[0]),r[1]===a[i+1]&&i!==s-2||(u[n].push(r[1]),n++))}},_simplifyPoints:function(){for(var t=this._parts,e=this.options.smoothFactor,i=0,n=t.length;i<n;i++)t[i]=gi(t[i],e)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(t,e){var i,n,o,s,r,a,u=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(i=0,s=this._parts.length;i<s;i++)for(a=this._parts[i],n=0,r=a.length,o=r-1;n<r;o=n++)if((e||0!==n)&&bi(t,a[o],a[n])<=u)return!0;return!1}});function sn(t,e){return new on(t,e)}on._flat=Ei;var rn=on.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length}
6,getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");var t,e,i,n,o,s,r,a,u,l=this._rings[0],c=l.length;if(!c)return null;for(s=r=a=0,t=0,e=c-1;t<c;e=t++)i=l[t],n=l[e],o=i.y*n.x-n.y*i.x,r+=(i.x+n.x)*o,a+=(i.y+n.y)*o,s+=3*o;return u=0===s?l[0]:[r/s,a/s],this._map.layerPointToLatLng(u)},_convertLatLngs:function(t){var e=on.prototype._convertLatLngs.call(this,t),i=e.length;return i>=2&&e[0]instanceof Z&&e[0].equals(e[i-1])&&e.pop(),e},_setLatLngs:function(t){on.prototype._setLatLngs.call(this,t),Ai(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return Ai(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,e=this.options.weight,i=new k(e,e);if(t=new $(t.min.subtract(i),t.max.add(i)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else for(var n,o=0,s=this._rings.length;o<s;o++)n=ki(this._rings[o],t,!0),n.length&&this._parts.push(n)},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(t){var e,i,n,o,s,r,a,u,l=!1;if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(o=0,a=this._parts.length;o<a;o++)for(e=this._parts[o],s=0,u=e.length,r=u-1;s<u;r=s++)i=e[s],n=e[r],i.y>t.y!==n.y>t.y&&t.x<(n.x-i.x)*(t.y-i.y)/(n.y-i.y)+i.x&&(l=!l);return l||on.prototype._containsPoint.call(this,t,!0)}});function an(t,e){return new rn(t,e)}var un=Vi.extend({initialize:function(t,e){d(this,e),this._layers={},t&&this.addData(t)},addData:function(t){var e,i,n,o=y(t)?t:t.features;if(o){for(e=0,i=o.length;e<i;e++)n=o[e],(n.geometries||n.geometry||n.features||n.coordinates)&&this.addData(n);return this}var s=this.options;if(s.filter&&!s.filter(t))return this;var r=ln(t,s);return r?(r.feature=_n(t),r.defaultOptions=r.options,this.resetStyle(r),s.onEachFeature&&s.onEachFeature(t,r),this.addLayer(r)):this},resetStyle:function(t){return void 0===t?this.eachLayer(this.resetStyle,this):(t.options=i({},t.defaultOptions),this._setLayerStyle(t,this.options.style),this)},setStyle:function(t){return this.eachLayer((function(e){this._setLayerStyle(e,t)}),this)},_setLayerStyle:function(t,e){t.setStyle&&("function"===typeof e&&(e=e(t.feature)),t.setStyle(e))}});function ln(t,e){var i,n,o,s,r="Feature"===t.type?t.geometry:t,a=r?r.coordinates:null,u=[],l=e&&e.pointToLayer,c=e&&e.coordsToLatLng||hn;if(!a&&!r)return null;switch(r.type){case"Point":return i=c(a),cn(l,t,i,e);case"MultiPoint":for(o=0,s=a.length;o<s;o++)i=c(a[o]),u.push(cn(l,t,i,e));return new Vi(u);case"LineString":case"MultiLineString":return n=pn(a,"LineString"===r.type?0:1,c),new on(n,e);case"Polygon":case"MultiPolygon":return n=pn(a,"Polygon"===r.type?1:2,c),new rn(n,e);case"GeometryCollection":for(o=0,s=r.geometries.length;o<s;o++){var h=ln({geometry:r.geometries[o],type:"Feature",properties:t.properties},e);h&&u.push(h)}return new Vi(u);default:throw new Error("Invalid GeoJSON object.")}}function cn(t,e,i,n){return t?t(e,i):new Xi(i,n&&n.markersInheritOptions&&n)}function hn(t){return new Z(t[1],t[0],t[2])}function pn(t,e,i){for(var n,o=[],s=0,r=t.length;s<r;s++)n=e?pn(t[s],e-1,i):(i||hn)(t[s]),o.push(n);return o}function dn(t,e){return e="number"===typeof e?e:6,void 0!==t.alt?[c(t.lng,e),c(t.lat,e),c(t.alt,e)]:[c(t.lng,e),c(t.lat,e)]}function fn(t,e,i,n){for(var o=[],s=0,r=t.length;s<r;s++)o.push(e?fn(t[s],e-1,i,n):dn(t[s],n));return!e&&i&&o.push(o[0]),o}function mn(t,e){return t.feature?i({},t.feature,{geometry:e}):_n(e)}function _n(t){return"Feature"===t.type||"FeatureCollection"===t.type?t:{type:"Feature",properties:{},geometry:t}}var yn={toGeoJSON:function(t){return mn(this,{type:"Point",coordinates:dn(this.getLatLng(),t)})}};function vn(t,e){return new un(t,e)}Xi.include(yn),en.include(yn),Qi.include(yn),on.include({toGeoJSON:function(t){var e=!Ai(this._latlngs),i=fn(this._latlngs,e?1:0,!1,t);return mn(this,{type:(e?"Multi":"")+"LineString",coordinates:i})}}),rn.include({toGeoJSON:function(t){var e=!Ai(this._latlngs),i=e&&!Ai(this._latlngs[0]),n=fn(this._latlngs,i?2:e?1:0,!0,t);return e||(n=[n]),mn(this,{type:(i?"Multi":"")+"Polygon",coordinates:n})}}),Fi.include({toMultiPoint:function(t){var e=[];return this.eachLayer((function(i){e.push(i.toGeoJSON(t).geometry.coordinates)})),mn(this,{type:"MultiPoint",coordinates:e})},toGeoJSON:function(t){var e=this.feature&&this.feature.geometry&&this.feature.geometry.type;if("MultiPoint"===e)return this.toMultiPoint(t);var i="GeometryCollection"===e,n=[];return this.eachLayer((function(e){if(e.toGeoJSON){var o=e.toGeoJSON(t);if(i)n.push(o.geometry);else{var s=_n(o);"FeatureCollection"===s.type?n.push.apply(n,s.features):n.push(s)}}})),i?mn(this,{geometries:n,type:"GeometryCollection"}):{type:"FeatureCollection",features:n}}});var gn=vn,bn=Di.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""}
6,initialize:function(t,e,i){this._url=t,this._bounds=I(e),d(this,i)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(me(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){ce(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(t){return this.options.opacity=t,this._image&&this._updateOpacity(),this},setStyle:function(t){return t.opacity&&this.setOpacity(t.opacity),this},bringToFront:function(){return this._map&&pe(this._image),this},bringToBack:function(){return this._map&&de(this._image),this},setUrl:function(t){return this._url=t,this._image&&(this._image.src=t),this},setBounds:function(t){return this._bounds=I(t),this._map&&this._reset(),this},getEvents:function(){var t={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var t="IMG"===this._url.tagName,e=this._image=t?this._url:le("img");me(e,"leaflet-image-layer"),this._zoomAnimated&&me(e,"leaflet-zoom-animated"),this.options.className&&me(e,this.options.className),e.onselectstart=l,e.onmousemove=l,e.onload=o(this.fire,this,"load"),e.onerror=o(this._overlayOnError,this,"error"),(this.options.crossOrigin||""===this.options.crossOrigin)&&(e.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),t?this._url=e.src:(e.src=this._url,e.alt=this.options.alt)},_animateZoom:function(t){var e=this._map.getZoomScale(t.zoom),i=this._map._latLngBoundsToNewLayerBounds(this._bounds,t.zoom,t.center).min;Ce(this._image,i,e)},_reset:function(){var t=this._image,e=new $(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),i=e.getSize();Le(t,e.min),t.style.width=i.x+"px",t.style.height=i.y+"px"},_updateOpacity:function(){ge(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var t=this.options.errorOverlayUrl;t&&this._url!==t&&(this._url=t,this._image.src=t)}}),On=function(t,e,i){return new bn(t,e,i)},Cn=bn.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1},_initImage:function(){var t="VIDEO"===this._url.tagName,e=this._image=t?this._url:le("video");if(me(e,"leaflet-image-layer"),this._zoomAnimated&&me(e,"leaflet-zoom-animated"),this.options.className&&me(e,this.options.className),e.onselectstart=l,e.onmousemove=l,e.onloadeddata=o(this.fire,this,"load"),t){for(var i=e.getElementsByTagName("source"),n=[],s=0;s<i.length;s++)n.push(i[s].src);this._url=i.length>0?n:[e.src]}else{y(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(e.style,"objectFit")&&(e.style["objectFit"]="fill"),e.autoplay=!!this.options.autoplay,e.loop=!!this.options.loop,e.muted=!!this.options.muted;for(var r=0;r<this._url.length;r++){var a=le("source");a.src=this._url[r],e.appendChild(a)}}}});function Ln(t,e,i){return new Cn(t,e,i)}var Sn=bn.extend({_initImage:function(){var t=this._image=this._url;me(t,"leaflet-image-layer"),this._zoomAnimated&&me(t,"leaflet-zoom-animated"),this.options.className&&me(t,this.options.className),t.onselectstart=l,t.onmousemove=l}});
6function xn(t,e,i){return new Sn(t,e,i)}var wn=Di.extend({options:{offset:[0,7],className:"",pane:"popupPane"},initialize:function(t,e){d(this,t),this._source=e},onAdd:function(t){this._zoomAnimated=t._zoomAnimated,this._container||this._initLayout(),t._fadeAnimated&&ge(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),t._fadeAnimated&&ge(this._container,1),this.bringToFront()},onRemove:function(t){t._fadeAnimated?(ge(this._container,0),this._removeTimeout=setTimeout(o(ce,void 0,this._container),200)):ce(this._container)},getLatLng:function(){return this._latlng},setLatLng:function(t){return this._latlng=D(t),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(t){return this._content=t,this.update(),this},getElement:function(){return this._container},update:function(){this._map&&(this._container.style.visibility="hidden",this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility="",this._adjustPan())},getEvents:function(){var t={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&pe(this._container),this},bringToBack:function(){return this._map&&de(this._container),this},_prepareOpen:function(t,e,i){if(e instanceof Di||(i=e,e=t),e instanceof Vi)for(var n in t._layers){e=t._layers[n];break}if(!i)if(e.getCenter)i=e.getCenter();else{if(!e.getLatLng)throw new Error("Unable to get source layer LatLng.");i=e.getLatLng()}return this._source=e,this.update(),i},_updateContent:function(){if(this._content){var t=this._contentNode,e="function"===typeof this._content?this._content(this._source||this):this._content;if("string"===typeof e)t.innerHTML=e;else{while(t.hasChildNodes())t.removeChild(t.firstChild);t.appendChild(e)}this.fire("contentupdate")}},_updatePosition:function(){if(this._map){var t=this._map.latLngToLayerPoint(this._latlng),e=N(this.options.offset),i=this._getAnchor();this._zoomAnimated?Le(this._container,t.add(i)):e=e.add(t).add(i);var n=this._containerBottom=-e.y,o=this._containerLeft=-Math.round(this._containerWidth/2)+e.x;this._container.style.bottom=n+"px",this._container.style.left=o+"px"}},_getAnchor:function(){return[0,0]}}),jn=wn.extend({options:{maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,closeOnEscapeKey:!0,className:""},openOn:function(t){return t.openPopup(this),this},onAdd:function(t){wn.prototype.onAdd.call(this,t),t.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof Yi||this._source.on("preclick",Ze))},onRemove:function(t){wn.prototype.onRemove.call(this,t),t.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof Yi||this._source.off("preclick",Ze))},getEvents:function(){var t=wn.prototype.getEvents.call(this);return(void 0!==this.options.closeOnClick?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(t.preclick=this._close),this.options.keepInView&&(t.moveend=this._adjustPan),t},_close:function(){this._map&&this._map.closePopup(this)},_initLayout:function(){var t="leaflet-popup",e=this._container=le("div",t+" "+(this.options.className||"")+" leaflet-zoom-animated"),i=this._wrapper=le("div",t+"-content-wrapper",e);if(this._contentNode=le("div",t+"-content",i),Fe(e),De(this._contentNode),ke(e,"contextmenu",Ze),this._tipContainer=le("div",t+"-tip-container",e),this._tip=le("div",t+"-tip",this._tipContainer),this.options.closeButton){var n=this._closeButton=le("a",t+"-close-button",e);n.href="#close",n.innerHTML="&#215;",ke(n,"click",this._onCloseButtonClick,this)}},_updateLayout:function(){var t=this._contentNode,e=t.style;e.width="",e.whiteSpace="nowrap";var i=t.offsetWidth;i=Math.min(i,this.options.maxWidth),i=Math.max(i,this.options.minWidth),e.width=i+1+"px",e.whiteSpace="",e.height="";var n=t.offsetHeight,o=this.options.maxHeight,s="leaflet-popup-scrolled";o&&n>o?(e.height=o+"px",me(t,s)):_e(t,s),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),i=this._getAnchor();Le(this._container,e.add(i))},_adjustPan:function(){if(this.options.autoPan){this._map._panAnim&&this._map._panAnim.stop();var t=this._map,e=parseInt(ue(this._container,"marginBottom"),10)||0,i=this._container.offsetHeight+e,n=this._containerWidth,o=new k(this._containerLeft,-i-this._containerBottom);o._add(Se(this._container));var s=t.layerPointToContainerPoint(o),r=N(this.options.autoPanPadding),a=N(this.options.autoPanPaddingTopLeft||r),u=N(this.options.autoPanPaddingBottomRight||r),l=t.getSize(),c=0,h=0;s.x+n+u.x>l.x&&(c=s.x+n-l.x+u.x),s.x-c-a.x<0&&(c=s.x-a.x),s.y+i+u.y>l.y&&(h=s.y+i-l.y+u.y),s.y-h-a.y<0&&(h=s.y-a.y),(c||h)&&t.fire("autopanstart").panBy([c,h])}},_onCloseButtonClick:function(t){this._close(),Ve(t)},_getAnchor:function(){return N(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),Tn=function(t,e){return new jn(t,e)};ti.mergeOptions({closePopupOnClick:!0}
6),ti.include({openPopup:function(t,e,i){return t instanceof jn||(t=new jn(i).setContent(t)),e&&t.setLatLng(e),this.hasLayer(t)?this:(this._popup&&this._popup.options.autoClose&&this.closePopup(),this._popup=t,this.addLayer(t))},closePopup:function(t){return t&&t!==this._popup||(t=this._popup,this._popup=null),t&&this.removeLayer(t),this}}),Di.include({bindPopup:function(t,e){return t instanceof jn?(d(t,e),this._popup=t,t._source=this):(this._popup&&!e||(this._popup=new jn(e,this)),this._popup.setContent(t)),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(t,e){return this._popup&&this._map&&(e=this._popup._prepareOpen(this,t,e),this._map.openPopup(this._popup,e)),this},closePopup:function(){return this._popup&&this._popup._close(),this},togglePopup:function(t){return this._popup&&(this._popup._map?this.closePopup():this.openPopup(t)),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},getPopup:function(){return this._popup},_openPopup:function(t){var e=t.layer||t.target;this._popup&&this._map&&(Ve(t),e instanceof Yi?this.openPopup(t.layer||t.target,t.latlng):this._map.hasLayer(this._popup)&&this._popup._source===e?this.closePopup():this.openPopup(e,t.latlng))},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){13===t.originalEvent.keyCode&&this._openPopup(t)}});var Pn=wn.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,interactive:!1,opacity:.9},onAdd:function(t){wn.prototype.onAdd.call(this,t),this.setOpacity(this.options.opacity),t.fire("tooltipopen",{tooltip:this}),this._source&&this._source.fire("tooltipopen",{tooltip:this},!0)},onRemove:function(t){wn.prototype.onRemove.call(this,t),t.fire("tooltipclose",{tooltip:this}),this._source&&this._source.fire("tooltipclose",{tooltip:this},!0)},getEvents:function(){var t=wn.prototype.getEvents.call(this);return Lt&&!this.options.permanent&&(t.preclick=this._close),t},_close:function(){this._map&&this._map.closeTooltip(this)},_initLayout:function(){var t="leaflet-tooltip",e=t+" "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=le("div",e)},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var e,i,n=this._map,o=this._container,s=n.latLngToContainerPoint(n.getCenter()),r=n.layerPointToContainerPoint(t),a=this.options.direction,u=o.offsetWidth,l=o.offsetHeight,c=N(this.options.offset),h=this._getAnchor();"top"===a?(e=u/2,i=l):"bottom"===a?(e=u/2,i=0):"center"===a?(e=u/2,i=l/2):"right"===a?(e=0,i=l/2):"left"===a?(e=u,i=l/2):r.x<s.x?(a="right",e=0,i=l/2):(a="left",e=u+2*(c.x+h.x),i=l/2),t=t.subtract(N(e,i,!0)).add(c).add(h),_e(o,"leaflet-tooltip-right"),_e(o,"leaflet-tooltip-left"),_e(o,"leaflet-tooltip-top"),_e(o,"leaflet-tooltip-bottom"),me(o,"leaflet-tooltip-"+a),Le(o,t)},_updatePosition:function(){var t=this._map.latLngToLayerPoint(this._latlng);this._setPosition(t)},setOpacity:function(t){this.options.opacity=t,this._container&&ge(this._container,t)},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center);this._setPosition(e)},_getAnchor:function(){return N(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}}),An=function(t,e){return new Pn(t,e)};ti.include({openTooltip:function(t,e,i){return t instanceof Pn||(t=new Pn(i).setContent(t)),e&&t.setLatLng(e),this.hasLayer(t)?this:this.addLayer(t)},closeTooltip:function(t){return t&&this.removeLayer(t),this}}),Di.include({bindTooltip:function(t,e){return t instanceof Pn?(d(t,e),this._tooltip=t,t._source=this):(this._tooltip&&!e||(this._tooltip=new Pn(e,this)),this._tooltip.setContent(t)),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(t){if(t||!this._tooltipHandlersAdded){var e=t?"off":"on",i={remove:this.closeTooltip,move:this._moveTooltip};
6this._tooltip.options.permanent?i.add=this._openTooltip:(i.mouseover=this._openTooltip,i.mouseout=this.closeTooltip,this._tooltip.options.sticky&&(i.mousemove=this._moveTooltip),Lt&&(i.click=this._openTooltip)),this[e](i),this._tooltipHandlersAdded=!t}},openTooltip:function(t,e){return this._tooltip&&this._map&&(e=this._tooltip._prepareOpen(this,t,e),this._map.openTooltip(this._tooltip,e),this._tooltip.options.interactive&&this._tooltip._container&&(me(this._tooltip._container,"leaflet-clickable"),this.addInteractiveTarget(this._tooltip._container))),this},closeTooltip:function(){return this._tooltip&&(this._tooltip._close(),this._tooltip.options.interactive&&this._tooltip._container&&(_e(this._tooltip._container,"leaflet-clickable"),this.removeInteractiveTarget(this._tooltip._container))),this},toggleTooltip:function(t){return this._tooltip&&(this._tooltip._map?this.closeTooltip():this.openTooltip(t)),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(t){return this._tooltip&&this._tooltip.setContent(t),this},getTooltip:function(){return this._tooltip},_openTooltip:function(t){var e=t.layer||t.target;this._tooltip&&this._map&&this.openTooltip(e,this._tooltip.options.sticky?t.latlng:void 0)},_moveTooltip:function(t){var e,i,n=t.latlng;this._tooltip.options.sticky&&t.originalEvent&&(e=this._map.mouseEventToContainerPoint(t.originalEvent),i=this._map.containerPointToLayerPoint(e),n=this._map.layerPointToLatLng(i)),this._tooltip.setLatLng(n)}});var En=Wi.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(t){var e=t&&"DIV"===t.tagName?t:document.createElement("div"),i=this.options;if(i.html instanceof Element?(he(e),e.appendChild(i.html)):e.innerHTML=!1!==i.html?i.html:"",i.bgPos){var n=N(i.bgPos);e.style.backgroundPosition=-n.x+"px "+-n.y+"px"}return this._setIconStyles(e,"icon"),e},createShadow:function(){return null}});function Mn(t){return new En(t)}Wi.Default=Gi;var kn=Di.extend({options:{tileSize:256,opacity:1,updateWhenIdle:vt,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:"tilePane",className:"",keepBuffer:2},initialize:function(t){d(this,t)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView(),this._update()},beforeAdd:function(t){t._addZoomLimit(this)},onRemove:function(t){this._removeAllTiles(),ce(this._container),t._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(pe(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(de(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(t){return this.options.opacity=t,this._updateOpacity(),this},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){return this._map&&(this._removeAllTiles(),this._update()),this},getEvents:function(){var t={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=a(this._onMoveEnd,this.options.updateInterval,this)),t.move=this._onMove),this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},createTile:function(){return document.createElement("div")},getTileSize:function(){var t=this.options.tileSize;return t instanceof k?t:new k(t,t)},_updateZIndex:function(){this._container&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(t){for(var e,i=this.getPane().children,n=-t(-1/0,1/0),o=0,s=i.length;o<s;o++)e=i[o].style.zIndex,i[o]!==this._container&&e&&(n=t(n,+e));isFinite(n)&&(this.options.zIndex=n+t(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!tt){ge(this._container,this.options.opacity);var t=+new Date,e=!1,i=!1;for(var n in this._tiles){var o=this._tiles[n];if(o.current&&o.loaded){var s=Math.min(1,(t-o.loaded)/200);ge(o.el,s),s<1?e=!0:(o.active?i=!0:this._onOpaqueTile(o),o.active=!0)}}i&&!this._noPrune&&this._pruneTiles(),e&&(j(this._fadeFrame),this._fadeFrame=w(this._updateOpacity,this))}},_onOpaqueTile:l,_initContainer:function(){this._container||(this._container=le("div","leaflet-layer "+(this.options.className||"")),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var t=this._tileZoom,e=this.options.maxZoom;if(void 0!==t){for(var i in this._levels)i=Number(i),this._levels[i].el.children.length||i===t?(this._levels[i].el.style.zIndex=e-Math.abs(t-i),this._onUpdateLevel(i)):(ce(this._levels[i].el),this._removeTilesAtZoom(i),this._onRemoveLevel(i),delete this._levels[i]);var n=this._levels[t],o=this._map;return n||(n=this._levels[t]={},n.el=le("div","leaflet-tile-container leaflet-zoom-animated",this._container),n.el.style.zIndex=e,n.origin=o.project(o.unproject(o.getPixelOrigin()),t).round(),n.zoom=t,this._setZoomTransform(n,o.getCenter(),o.getZoom()),l(n.el.offsetWidth),this._onCreateLevel(n)),this._level=n,n}},_onUpdateLevel:l,_onRemoveLevel:l,_onCreateLevel:l,_pruneTiles:function(){if(this._map){var t,e,i=this._map.getZoom();if(i>this.options.maxZoom||i<this.options.minZoom)this._removeAllTiles();else{for(t in this._tiles)e=this._tiles[t],e.retain=e.current;for(t in this._tiles)if(e=this._tiles[t],e.current&&!e.active){var n=e.coords;this._retainParent(n.x,n.y,n.z,n.z-5)||this._retainChildren(n.x,n.y,n.z,n.z+2)}for(t in this._tiles)this._tiles[t].retain||this._removeTile(t)}}},_removeTilesAtZoom:function(t){for(var e in this._tiles)this._tiles[e].coords.z===t&&this._removeTile(e)},_removeAllTiles:function(){for(var t in this._tiles)this._removeTile(t)},_invalidateAll:function(){for(var t in this._levels)ce(this._levels[t].el),this._onRemoveLevel(Number(t)),delete this._levels[t];this._removeAllTiles(),this._tileZoom=void 0}
6,_retainParent:function(t,e,i,n){var o=Math.floor(t/2),s=Math.floor(e/2),r=i-1,a=new k(+o,+s);a.z=+r;var u=this._tileCoordsToKey(a),l=this._tiles[u];return l&&l.active?(l.retain=!0,!0):(l&&l.loaded&&(l.retain=!0),r>n&&this._retainParent(o,s,r,n))},_retainChildren:function(t,e,i,n){for(var o=2*t;o<2*t+2;o++)for(var s=2*e;s<2*e+2;s++){var r=new k(o,s);r.z=i+1;var a=this._tileCoordsToKey(r),u=this._tiles[a];u&&u.active?u.retain=!0:(u&&u.loaded&&(u.retain=!0),i+1<n&&this._retainChildren(o,s,i+1,n))}},_resetView:function(t){var e=t&&(t.pinch||t.flyTo);this._setView(this._map.getCenter(),this._map.getZoom(),e,e)},_animateZoom:function(t){this._setView(t.center,t.zoom,!0,t.noUpdate)},_clampZoom:function(t){var e=this.options;return void 0!==e.minNativeZoom&&t<e.minNativeZoom?e.minNativeZoom:void 0!==e.maxNativeZoom&&e.maxNativeZoom<t?e.maxNativeZoom:t},_setView:function(t,e,i,n){var o=Math.round(e);o=void 0!==this.options.maxZoom&&o>this.options.maxZoom||void 0!==this.options.minZoom&&o<this.options.minZoom?void 0:this._clampZoom(o);var s=this.options.updateWhenZooming&&o!==this._tileZoom;n&&!s||(this._tileZoom=o,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),void 0!==o&&this._update(t),i||this._pruneTiles(),this._noPrune=!!i),this._setZoomTransforms(t,e)},_setZoomTransforms:function(t,e){for(var i in this._levels)this._setZoomTransform(this._levels[i],t,e)},_setZoomTransform:function(t,e,i){var n=this._map.getZoomScale(i,t.zoom),o=t.origin.multiplyBy(n).subtract(this._map._getNewPixelOrigin(e,i)).round();yt?Ce(t.el,o,n):Le(t.el,o)},_resetGrid:function(){var t=this._map,e=t.options.crs,i=this._tileSize=this.getTileSize(),n=this._tileZoom,o=this._map.getPixelWorldBounds(this._tileZoom);o&&(this._globalTileRange=this._pxBoundsToTileRange(o)),this._wrapX=e.wrapLng&&!this.options.noWrap&&[Math.floor(t.project([0,e.wrapLng[0]],n).x/i.x),Math.ceil(t.project([0,e.wrapLng[1]],n).x/i.y)],this._wrapY=e.wrapLat&&!this.options.noWrap&&[Math.floor(t.project([e.wrapLat[0],0],n).y/i.x),Math.ceil(t.project([e.wrapLat[1],0],n).y/i.y)]},_onMoveEnd:function(){this._map&&!this._map._animatingZoom&&this._update()},_getTiledPixelBounds:function(t){var e=this._map,i=e._animatingZoom?Math.max(e._animateToZoom,e.getZoom()):e.getZoom(),n=e.getZoomScale(i,this._tileZoom),o=e.project(t,this._tileZoom).floor(),s=e.getSize().divideBy(2*n);return new $(o.subtract(s),o.add(s))},_update:function(t){var e=this._map;if(e){var i=this._clampZoom(e.getZoom());if(void 0===t&&(t=e.getCenter()),void 0!==this._tileZoom){var n=this._getTiledPixelBounds(t),o=this._pxBoundsToTileRange(n),s=o.getCenter(),r=[],a=this.options.keepBuffer,u=new $(o.getBottomLeft().subtract([a,-a]),o.getTopRight().add([a,-a]));if(!(isFinite(o.min.x)&&isFinite(o.min.y)&&isFinite(o.max.x)&&isFinite(o.max.y)))throw new Error("Attempted to load an infinite number of tiles");for(var l in this._tiles){var c=this._tiles[l].coords;c.z===this._tileZoom&&u.contains(new k(c.x,c.y))||(this._tiles[l].current=!1)}if(Math.abs(i-this._tileZoom)>1)this._setView(t,i);else{for(var h=o.min.y;h<=o.max.y;h++)for(var p=o.min.x;p<=o.max.x;p++){var d=new k(p,h);if(d.z=this._tileZoom,this._isValidTile(d)){var f=this._tiles[this._tileCoordsToKey(d)];f?f.current=!0:r.push(d)}}if(r.sort((function(t,e){return t.distanceTo(s)-e.distanceTo(s)})),0!==r.length){this._loading||(this._loading=!0,this.fire("loading"));var m=document.createDocumentFragment();for(p=0;p<r.length;p++)this._addTile(r[p],m);this._level.el.appendChild(m)}}}}},_isValidTile:function(t){var e=this._map.options.crs;if(!e.infinite){var i=this._globalTileRange;if(!e.wrapLng&&(t.x<i.min.x||t.x>i.max.x)||!e.wrapLat&&(t.y<i.min.y||t.y>i.max.y))return!1}if(!this.options.bounds)return!0;var n=this._tileCoordsToBounds(t);return I(this.options.bounds).overlaps(n)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var e=this._map,i=this.getTileSize(),n=t.scaleBy(i),o=n.add(i),s=e.unproject(n,t.z),r=e.unproject(o,t.z);return[s,r]},_tileCoordsToBounds:function(t){var e=this._tileCoordsToNwSe(t),i=new R(e[0],e[1]);return this.options.noWrap||(i=this._map.wrapLatLngBounds(i)),i},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var e=t.split(":"),i=new k(+e[0],+e[1]);return i.z=+e[2],i},_removeTile:function(t){var e=this._tiles[t];e&&(ce(e.el),delete this._tiles[t],this.fire("tileunload",{tile:e.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){me(t,"leaflet-tile");var e=this.getTileSize();t.style.width=e.x+"px",t.style.height=e.y+"px",t.onselectstart=l,t.onmousemove=l,tt&&this.options.opacity<1&&ge(t,this.options.opacity),nt&&!ot&&(t.style.WebkitBackfaceVisibility="hidden")},_addTile:function(t,e){var i=this._getTilePos(t),n=this._tileCoordsToKey(t),s=this.createTile(this._wrapCoords(t),o(this._tileReady,this,t));this._initTile(s),this.createTile.length<2&&w(o(this._tileReady,this,t,null,s)),Le(s,i),this._tiles[n]={el:s,coords:t,current:!0},e.appendChild(s),this.fire("tileloadstart",{tile:s,coords:t})}
6,_tileReady:function(t,e,i){e&&this.fire("tileerror",{error:e,tile:i,coords:t});var n=this._tileCoordsToKey(t);i=this._tiles[n],i&&(i.loaded=+new Date,this._map._fadeAnimated?(ge(i.el,0),j(this._fadeFrame),this._fadeFrame=w(this._updateOpacity,this)):(i.active=!0,this._pruneTiles()),e||(me(i.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:i.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),tt||!this._map._fadeAnimated?w(this._pruneTiles,this):setTimeout(o(this._pruneTiles,this),250)))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var e=new k(this._wrapX?u(t.x,this._wrapX):t.x,this._wrapY?u(t.y,this._wrapY):t.y);return e.z=t.z,e},_pxBoundsToTileRange:function(t){var e=this.getTileSize();return new $(t.min.unscaleBy(e).floor(),t.max.unscaleBy(e).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}});function zn(t){return new kn(t)}var Nn=kn.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1},initialize:function(t,e){this._url=t,e=d(this,e),e.detectRetina&&wt&&e.maxZoom>0&&(e.tileSize=Math.floor(e.tileSize/2),e.zoomReverse?(e.zoomOffset--,e.minZoom++):(e.zoomOffset++,e.maxZoom--),e.minZoom=Math.max(0,e.minZoom)),"string"===typeof e.subdomains&&(e.subdomains=e.subdomains.split("")),nt||this.on("tileunload",this._onTileRemove)},setUrl:function(t,e){return this._url===t&&void 0===e&&(e=!0),this._url=t,e||this.redraw(),this},createTile:function(t,e){var i=document.createElement("img");return ke(i,"load",o(this._tileOnLoad,this,e,i)),ke(i,"error",o(this._tileOnError,this,e,i)),(this.options.crossOrigin||""===this.options.crossOrigin)&&(i.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),i.alt="",i.setAttribute("role","presentation"),i.src=this.getTileUrl(t),i},getTileUrl:function(t){var e={r:wt?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var n=this._globalTileRange.max.y-t.y;this.options.tms&&(e["y"]=n),e["-y"]=n}return _(this._url,i(e,this.options))},_tileOnLoad:function(t,e){tt?setTimeout(o(t,this,null,e),0):t(null,e)},_tileOnError:function(t,e,i){var n=this.options.errorTileUrl;n&&e.getAttribute("src")!==n&&(e.src=n),t(i,e)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,e=this.options.maxZoom,i=this.options.zoomReverse,n=this.options.zoomOffset;return i&&(t=e-t),t+n},_getSubdomain:function(t){var e=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[e]},_abortLoading:function(){var t,e;for(t in this._tiles)this._tiles[t].coords.z!==this._tileZoom&&(e=this._tiles[t].el,e.onload=l,e.onerror=l,e.complete||(e.src=g,ce(e),delete this._tiles[t]))},_removeTile:function(t){var e=this._tiles[t];if(e)return rt||e.el.setAttribute("src",g),kn.prototype._removeTile.call(this,t)},_tileReady:function(t,e,i){if(this._map&&(!i||i.getAttribute("src")!==g))return kn.prototype._tileReady.call(this,t,e,i)}});function $n(t,e){return new Nn(t,e)}var Bn=Nn.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(t,e){this._url=t;var n=i({},this.defaultWmsParams);for(var o in e)o in this.options||(n[o]=e[o]);e=d(this,e);var s=e.detectRetina&&wt?2:1,r=this.getTileSize();n.width=r.x*s,n.height=r.y*s,this.wmsParams=n},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var e=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[e]=this._crs.code,Nn.prototype.onAdd.call(this,t)},getTileUrl:function(t){var e=this._tileCoordsToNwSe(t),i=this._crs,n=B(i.project(e[0]),i.project(e[1])),o=n.min,s=n.max,r=(this._wmsVersion>=1.3&&this._crs===Ii?[o.y,o.x,s.y,s.x]:[o.x,o.y,s.x,s.y]).join(","),a=Nn.prototype.getTileUrl.call(this,t);return a+f(this.wmsParams,a,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+r},setParams:function(t,e){return i(this.wmsParams,t),e||this.redraw(),this}});function Rn(t,e){return new Bn(t,e)}Nn.WMS=Bn,$n.wms=Rn;var In=Di.extend({options:{padding:.1,tolerance:0},initialize:function(t){d(this,t),r(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),this._zoomAnimated&&me(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 t={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(t.zoomanim=this._onAnimZoom),t},_onAnimZoom:function(t){this._updateTransform(t.center,t.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(t,e){var i=this._map.getZoomScale(e,this._zoom),n=Se(this._container),o=this._map.getSize().multiplyBy(.5+this.options.padding),s=this._map.project(this._center,e),r=this._map.project(t,e),a=r.subtract(s),u=o.multiplyBy(-i).add(n).add(o).subtract(a);yt?Ce(this._container,u,i):Le(this._container,u)},_reset:function(){for(var t in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[t]._reset()},_onZoomEnd:function(){for(var t in this._layers)this._layers[t]._project()},_updatePaths:function(){for(var t in this._layers)this._layers[t]._update()},_update:function(){var t=this.options.padding,e=this._map.getSize(),i=this._map.containerPointToLayerPoint(e.multiplyBy(-t)).roun
6d();this._bounds=new $(i,i.add(e.multiplyBy(1+2*t)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),Zn=In.extend({getEvents:function(){var t=In.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){In.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");ke(t,"mousemove",this._onMouseMove,this),ke(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),ke(t,"mouseout",this._handleMouseOut,this),this._ctx=t.getContext("2d")},_destroyContainer:function(){j(this._redrawRequest),delete this._ctx,ce(this._container),Ne(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){var t;for(var e in this._redrawBounds=null,this._layers)t=this._layers[e],t._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){In.prototype._update.call(this);var t=this._bounds,e=this._container,i=t.getSize(),n=wt?2:1;Le(e,t.min),e.width=n*i.x,e.height=n*i.y,e.style.width=i.x+"px",e.style.height=i.y+"px",wt&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update")}},_reset:function(){In.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t),this._layers[r(t)]=t;var e=t._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=e),this._drawLast=e,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var e=t._order,i=e.next,n=e.prev;i?i.prev=n:this._drawLast=n,n?n.next=i:this._drawFirst=i,delete t._order,delete this._layers[r(t)],this._requestRedraw(t)},_updatePath:function(t){this._extendRedrawBounds(t),t._project(),t._update(),this._requestRedraw(t)},_updateStyle:function(t){this._updateDashArray(t),this._requestRedraw(t)},_updateDashArray:function(t){if("string"===typeof t.options.dashArray){var e,i,n=t.options.dashArray.split(/[, ]+/),o=[];for(i=0;i<n.length;i++){if(e=Number(n[i]),isNaN(e))return;o.push(e)}t.options._dashArray=o}else t.options._dashArray=t.options.dashArray},_requestRedraw:function(t){this._map&&(this._extendRedrawBounds(t),this._redrawRequest=this._redrawRequest||w(this._redraw,this))},_extendRedrawBounds:function(t){if(t._pxBounds){var e=(t.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new $,this._redrawBounds.extend(t._pxBounds.min.subtract([e,e])),this._redrawBounds.extend(t._pxBounds.max.add([e,e]))}},_redraw:function(){this._redrawRequest=null,this._redrawBounds&&(this._redrawBounds.min._floor(),this._redrawBounds.max._ceil()),this._clear(),this._draw(),this._redrawBounds=null},_clear:function(){var t=this._redrawBounds;if(t){var e=t.getSize();this._ctx.clearRect(t.min.x,t.min.y,e.x,e.y)}else this._ctx.save(),this._ctx.setTransform(1,0,0,1,0,0),this._ctx.clearRect(0,0,this._container.width,this._container.height),this._ctx.restore()},_draw:function(){var t,e=this._redrawBounds;if(this._ctx.save(),e){var i=e.getSize();this._ctx.beginPath(),this._ctx.rect(e.min.x,e.min.y,i.x,i.y),this._ctx.clip()}this._drawing=!0;for(var n=this._drawFirst;n;n=n.next)t=n.layer,(!e||t._pxBounds&&t._pxBounds.intersects(e))&&t._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(t,e){if(this._drawing){var i,n,o,s,r=t._parts,a=r.length,u=this._ctx;if(a){for(u.beginPath(),i=0;i<a;i++){for(n=0,o=r[i].length;n<o;n++)s=r[i][n],u[n?"lineTo":"moveTo"](s.x,s.y);e&&u.closePath()}this._fillStroke(u,t)}}},_updateCircle:function(t){if(this._drawing&&!t._empty()){var e=t._point,i=this._ctx,n=Math.max(Math.round(t._radius),1),o=(Math.max(Math.round(t._radiusY),1)||n)/n;1!==o&&(i.save(),i.scale(1,o)),i.beginPath(),i.arc(e.x,e.y/o,n,0,2*Math.PI,!1),1!==o&&i.restore(),this._fillStroke(i,t)}},_fillStroke:function(t,e){var i=e.options;i.fill&&(t.globalAlpha=i.fillOpacity,t.fillStyle=i.fillColor||i.color,t.fill(i.fillRule||"evenodd")),i.stroke&&0!==i.weight&&(t.setLineDash&&t.setLineDash(e.options&&e.options._dashArray||[]),t.globalAlpha=i.opacity,t.lineWidth=i.weight,t.strokeStyle=i.color,t.lineCap=i.lineCap,t.lineJoin=i.lineJoin,t.stroke())},_onClick:function(t){for(var e,i,n=this._map.mouseEventToLayerPoint(t),o=this._drawFirst;o;o=o.next)e=o.layer,e.options.interactive&&e._containsPoint(n)&&("click"!==t.type&&"preclick"===t.type||!this._map._draggableMoved(e))&&(i=e);i&&(qe(t),this._fireEvent([i],t))},_onMouseMove:function(t){if(this._map&&!this._map.dragging.moving()&&!this._map._animatingZoom){var e=this._map.mouseEventToLayerPoint(t);this._handleMouseHover(t,e)}},_handleMouseOut:function(t){var e=this._hoveredLayer;e&&(_e(this._container,"leaflet-interactive"),this._fireEvent([e],t,"mouseout"),this._hoveredLayer=null,this._mouseHoverThrottled=!1)},_handleMouseHover:function(t,e){if(!this._mouseHoverThrottled){for(var i,n,s=this._drawFirst;s;s=s.next)i=s.layer,i.options.interactive&&i._containsPoint(e)&&(n=i);n!==this._hoveredLayer&&(this._handleMouseOut(t),n&&(me(this._container,"leaflet-interactive"),this._fireEvent([n],t,"mouseover"),this._hoveredLayer=n)),this._hoveredLayer&&this._fireEvent([this._hoveredLayer],t),this._mouseHoverThrottled=!0,setTimeout(o((function(){this._mouseHoverThrottled=!1}),this),32)}}
6,_fireEvent:function(t,e,i){this._map._fireDOMEvent(e,i||e.type,t)},_bringToFront:function(t){var e=t._order;if(e){var i=e.next,n=e.prev;i&&(i.prev=n,n?n.next=i:i&&(this._drawFirst=i),e.prev=this._drawLast,this._drawLast.next=e,e.next=null,this._drawLast=e,this._requestRedraw(t))}},_bringToBack:function(t){var e=t._order;if(e){var i=e.next,n=e.prev;n&&(n.next=i,i?i.prev=n:n&&(this._drawLast=n),e.prev=null,e.next=this._drawFirst,this._drawFirst.prev=e,this._drawFirst=e,this._requestRedraw(t))}}});function Dn(t){return Tt?new Zn(t):null}var Fn=function(){try{return document.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(t){return document.createElement("<lvml:"+t+' class="lvml">')}}catch(t){return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}}(),Un={_initContainer:function(){this._container=le("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(In.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var e=t._container=Fn("shape");me(e,"leaflet-vml-shape "+(this.options.className||"")),e.coordsize="1 1",t._path=Fn("path"),e.appendChild(t._path),this._updateStyle(t),this._layers[r(t)]=t},_addPath:function(t){var e=t._container;this._container.appendChild(e),t.options.interactive&&t.addInteractiveTarget(e)},_removePath:function(t){var e=t._container;ce(e),t.removeInteractiveTarget(e),delete this._layers[r(t)]},_updateStyle:function(t){var e=t._stroke,i=t._fill,n=t.options,o=t._container;o.stroked=!!n.stroke,o.filled=!!n.fill,n.stroke?(e||(e=t._stroke=Fn("stroke")),o.appendChild(e),e.weight=n.weight+"px",e.color=n.color,e.opacity=n.opacity,n.dashArray?e.dashStyle=y(n.dashArray)?n.dashArray.join(" "):n.dashArray.replace(/( *, *)/g," "):e.dashStyle="",e.endcap=n.lineCap.replace("butt","flat"),e.joinstyle=n.lineJoin):e&&(o.removeChild(e),t._stroke=null),n.fill?(i||(i=t._fill=Fn("fill")),o.appendChild(i),i.color=n.fillColor||n.color,i.opacity=n.fillOpacity):i&&(o.removeChild(i),t._fill=null)},_updateCircle:function(t){var e=t._point.round(),i=Math.round(t._radius),n=Math.round(t._radiusY||i);this._setPath(t,t._empty()?"M0 0":"AL "+e.x+","+e.y+" "+i+","+n+" 0,23592600")},_setPath:function(t,e){t._path.v=e},_bringToFront:function(t){pe(t._container)},_bringToBack:function(t){de(t._container)}},Vn=At?Fn:X,Hn=In.extend({getEvents:function(){var t=In.prototype.getEvents.call(this);return t.zoomstart=this._onZoomStart,t},_initContainer:function(){this._container=Vn("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=Vn("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){ce(this._container),Ne(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_onZoomStart:function(){this._update()},_update:function(){if(!this._map._animatingZoom||!this._bounds){In.prototype._update.call(this);var t=this._bounds,e=t.getSize(),i=this._container;this._svgSize&&this._svgSize.equals(e)||(this._svgSize=e,i.setAttribute("width",e.x),i.setAttribute("height",e.y)),Le(i,t.min),i.setAttribute("viewBox",[t.min.x,t.min.y,e.x,e.y].join(" ")),this.fire("update")}},_initPath:function(t){var e=t._path=Vn("path");t.options.className&&me(e,t.options.className),t.options.interactive&&me(e,"leaflet-interactive"),this._updateStyle(t),this._layers[r(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){ce(t._path),t.removeInteractiveTarget(t._path),delete this._layers[r(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var e=t._path,i=t.options;e&&(i.stroke?(e.setAttribute("stroke",i.color),e.setAttribute("stroke-opacity",i.opacity),e.setAttribute("stroke-width",i.weight),e.setAttribute("stroke-linecap",i.lineCap),e.setAttribute("stroke-linejoin",i.lineJoin),i.dashArray?e.setAttribute("stroke-dasharray",i.dashArray):e.removeAttribute("stroke-dasharray"),i.dashOffset?e.setAttribute("stroke-dashoffset",i.dashOffset):e.removeAttribute("stroke-dashoffset")):e.setAttribute("stroke","none"),i.fill?(e.setAttribute("fill",i.fillColor||i.color),e.setAttribute("fill-opacity",i.fillOpacity),e.setAttribute("fill-rule",i.fillRule||"evenodd")):e.setAttribute("fill","none"))},_updatePoly:function(t,e){this._setPath(t,K(t._parts,e))},_updateCircle:function(t){var e=t._point,i=Math.max(Math.round(t._radius),1),n=Math.max(Math.round(t._radiusY),1)||i,o="a"+i+","+n+" 0 1,0 ",s=t._empty()?"M0 0":"M"+(e.x-i)+","+e.y+o+2*i+",0 "+o+2*-i+",0 ";this._setPath(t,s)},_setPath:function(t,e){t._path.setAttribute("d",e)},_bringToFront:function(t){pe(t._path)},_bringToBack:function(t){de(t._path)}});function Wn(t){return Pt||At?new Hn(t):null}At&&Hn.include(Un),ti.include({getRenderer:function(t){var e=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer;return e||(e=this._renderer=this._createRenderer()),this.hasLayer(e)||this.addLayer(e),e},_getPaneRenderer:function(t){if("overlayPane"===t||void 0===t)return!1;var e=this._paneRenderers[t];return void 0===e&&(e=this._createRenderer({pane:t}),this._paneRenderers[t]=e),e},_createRenderer:function(t){return this.options.preferCanvas&&Dn(t)||Wn(t)}});var Jn=rn.extend({initialize:function(t,e){rn.prototype.initialize.call(this,this._boundsToLatLngs(t),e)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))}
6,_boundsToLatLngs:function(t){return t=I(t),[t.getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});function Gn(t,e){return new Jn(t,e)}Hn.create=Vn,Hn.pointsToPath=K,un.geometryToLayer=ln,un.coordsToLatLng=hn,un.coordsToLatLngs=pn,un.latLngToCoords=dn,un.latLngsToCoords=fn,un.getFeature=mn,un.asFeature=_n,ti.mergeOptions({boxZoom:!0});var qn=pi.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane,this._resetStateTimeout=0,t.on("unload",this._destroy,this)},addHooks:function(){ke(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Ne(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){ce(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(t){if(!t.shiftKey||1!==t.which&&1!==t.button)return!1;this._clearDeferredResetState(),this._resetState(),Qt(),we(),this._startPoint=this._map.mouseEventToContainerPoint(t),ke(document,{contextmenu:Ve,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=le("div","leaflet-zoom-box",this._container),me(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var e=new $(this._point,this._startPoint),i=e.getSize();Le(this._box,e.min),this._box.style.width=i.x+"px",this._box.style.height=i.y+"px"},_finish:function(){this._moved&&(ce(this._box),_e(this._container,"leaflet-crosshair")),te(),je(),Ne(document,{contextmenu:Ve,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){if((1===t.which||1===t.button)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(o(this._resetState,this),0);var e=new R(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(e).fire("boxzoomend",{boxZoomBounds:e})}},_onKeyDown:function(t){27===t.keyCode&&this._finish()}});ti.addInitHook("addHandler","boxZoom",qn),ti.mergeOptions({doubleClickZoom:!0});var Xn=pi.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var e=this._map,i=e.getZoom(),n=e.options.zoomDelta,o=t.originalEvent.shiftKey?i-n:i+n;"center"===e.options.doubleClickZoom?e.setZoom(o):e.setZoomAround(t.containerPoint,o)}});ti.addInitHook("addHandler","doubleClickZoom",Xn),ti.mergeOptions({dragging:!0,inertia:!ot,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var Kn=pi.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new vi(t._mapPane,t._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),t.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),t.on("zoomend",this._onZoomEnd,this),t.whenReady(this._onZoomEnd,this))}me(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){_e(this._map._container,"leaflet-grab"),_e(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 t=this._map;if(t._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var e=I(this._map.options.maxBounds);this._offsetLimit=B(this._map.latLngToContainerPoint(e.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(e.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;t.fire("movestart").fire("dragstart"),t.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(t){if(this._map.options.inertia){var e=this._lastTime=+new Date,i=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(i),this._times.push(e),this._prunePositions(e)}this._map.fire("move",t).fire("drag",t)},_prunePositions:function(t){while(this._positions.length>1&&t-this._times[0]>50)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),e=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=e.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,e){return t-(t-e)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var t=this._draggable._newPos.subtract(this._draggable._startPos),e=this._offsetLimit;t.x<e.min.x&&(t.x=this._viscousLimit(t.x,e.min.x)),t.y<e.min.y&&(t.y=this._viscousLimit(t.y,e.min.y)),t.x>e.max.x&&(t.x=this._viscousLimit(t.x,e.max.x)),t.y>e.max.y&&(t.y=this._viscousLimit(t.y,e.max.y)),this._draggable._newPos=this._draggable._startPos.add(t)}},_onPreDragWrap:function(){var t=this._worldWidth,e=Math.round(t/2),i=this._initialWorldOffset,n=this._draggable._newPos.x,o=(n-e+i)%t+e-i,s=(n+e+i)%t-e-i,r=Math.abs(o+i)<Math.abs(s+i)?o:s;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=r},_onDragEnd:function(t){var e=this._map,i=e.options,n=!i.inertia||this._times.length<2;if(e.fire("dragend",t),n)e.fire("moveend");else{this._prunePositions(+new Date);var o=this._lastPos.subtract(this._positions[0]),s=(this._lastTime-this._times[0])/1e3,r=i.easeLinearity,a=o.multiplyBy(r/s),u=a.distanceTo([0,0]),l=Math.min(i.inertiaMaxSpeed,u),c=a.multiplyBy(l/u),h=l/(i.inertiaDeceleration*r),p=c.multiplyBy(-h
6/2).round();p.x||p.y?(p=e._limitOffset(p,e.options.maxBounds),w((function(){e.panBy(p,{duration:h,easeLinearity:r,noMoveStart:!0,animate:!0})}))):e.fire("moveend")}}});ti.addInitHook("addHandler","dragging",Kn),ti.mergeOptions({keyboard:!0,keyboardPanDelta:80});var Yn=pi.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(t){this._map=t,this._setPanDelta(t.options.keyboardPanDelta),this._setZoomDelta(t.options.zoomDelta)},addHooks:function(){var t=this._map._container;t.tabIndex<=0&&(t.tabIndex="0"),ke(t,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),Ne(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){if(!this._focused){var t=document.body,e=document.documentElement,i=t.scrollTop||e.scrollTop,n=t.scrollLeft||e.scrollLeft;this._map._container.focus(),window.scrollTo(n,i)}},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(t){var e,i,n=this._panKeys={},o=this.keyCodes;for(e=0,i=o.left.length;e<i;e++)n[o.left[e]]=[-1*t,0];for(e=0,i=o.right.length;e<i;e++)n[o.right[e]]=[t,0];for(e=0,i=o.down.length;e<i;e++)n[o.down[e]]=[0,t];for(e=0,i=o.up.length;e<i;e++)n[o.up[e]]=[0,-1*t]},_setZoomDelta:function(t){var e,i,n=this._zoomKeys={},o=this.keyCodes;for(e=0,i=o.zoomIn.length;e<i;e++)n[o.zoomIn[e]]=t;for(e=0,i=o.zoomOut.length;e<i;e++)n[o.zoomOut[e]]=-t},_addHooks:function(){ke(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){Ne(document,"keydown",this._onKeyDown,this)},_onKeyDown:function(t){if(!(t.altKey||t.ctrlKey||t.metaKey)){var e,i=t.keyCode,n=this._map;if(i in this._panKeys)n._panAnim&&n._panAnim._inProgress||(e=this._panKeys[i],t.shiftKey&&(e=N(e).multiplyBy(3)),n.panBy(e),n.options.maxBounds&&n.panInsideBounds(n.options.maxBounds));else if(i in this._zoomKeys)n.setZoom(n.getZoom()+(t.shiftKey?3:1)*this._zoomKeys[i]);else{if(27!==i||!n._popup||!n._popup.options.closeOnEscapeKey)return;n.closePopup()}Ve(t)}}});ti.addInitHook("addHandler","keyboard",Yn),ti.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60});var Qn=pi.extend({addHooks:function(){ke(this._map._container,"wheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){Ne(this._map._container,"wheel",this._onWheelScroll,this)},_onWheelScroll:function(t){var e=Je(t),i=this._map.options.wheelDebounceTime;this._delta+=e,this._lastMousePos=this._map.mouseEventToContainerPoint(t),this._startTime||(this._startTime=+new Date);var n=Math.max(i-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(o(this._performZoom,this),n),Ve(t)},_performZoom:function(){var t=this._map,e=t.getZoom(),i=this._map.options.zoomSnap||0;t._stop();var n=this._delta/(4*this._map.options.wheelPxPerZoomLevel),o=4*Math.log(2/(1+Math.exp(-Math.abs(n))))/Math.LN2,s=i?Math.ceil(o/i)*i:o,r=t._limitZoom(e+(this._delta>0?s:-s))-e;this._delta=0,this._startTime=null,r&&("center"===t.options.scrollWheelZoom?t.setZoom(e+r):t.setZoomAround(this._lastMousePos,e+r))}});ti.addInitHook("addHandler","scrollWheelZoom",Qn),ti.mergeOptions({tap:!0,tapTolerance:15});var to=pi.extend({addHooks:function(){ke(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){Ne(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){if(t.touches){if(Ue(t),this._fireClick=!0,t.touches.length>1)return this._fireClick=!1,void clearTimeout(this._holdTimeout);var e=t.touches[0],i=e.target;this._startPos=this._newPos=new k(e.clientX,e.clientY),i.tagName&&"a"===i.tagName.toLowerCase()&&me(i,"leaflet-active"),this._holdTimeout=setTimeout(o((function(){this._isTapValid()&&(this._fireClick=!1,this._onUp(),this._simulateEvent("contextmenu",e))}),this),1e3),this._simulateEvent("mousedown",e),ke(document,{touchmove:this._onMove,touchend:this._onUp},this)}},_onUp:function(t){if(clearTimeout(this._holdTimeout),Ne(document,{touchmove:this._onMove,touchend:this._onUp},this),this._fireClick&&t&&t.changedTouches){var e=t.changedTouches[0],i=e.target;i&&i.tagName&&"a"===i.tagName.toLowerCase()&&_e(i,"leaflet-active"),this._simulateEvent("mouseup",e),this._isTapValid()&&this._simulateEvent("click",e)}},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_onMove:function(t){var e=t.touches[0];this._newPos=new k(e.clientX,e.clientY),this._simulateEvent("mousemove",e)},_simulateEvent:function(t,e){var i=document.createEvent("MouseEvents");i._simulated=!0,e.target._simulatedClick=!0,i.initMouseEvent(t,!0,!0,window,1,e.screenX,e.screenY,e.clientX,e.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(i)}});!Lt||Ct&&!ct||ti.addInitHook("addHandler","tap",to),ti.mergeOptions({touchZoom:Lt&&!ot,bounceAtZoomLimits:!0});var eo=pi.extend({addHooks:function(){me(this._map._container,"leaflet-touch-zoom"),ke(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){_e(this._map._container,"leaflet-touch-zoom"),Ne(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var e=this._map;if(t.touches&&2===t.touches.length&&!e._animatingZoom&&!this._zooming){var i=e.mouseEventToContainerPoint(t.touches[0]),n=e.mouseEventToContainerPoint(t.touches[1]);this._centerPoint=e.getSize()._divideBy(2),this._startLatLng=e.containerPointToLatLng(this._centerPoint),"center"!==e.options.touchZoom&&(this._pinchStartLatLng=e.containerPointToLatLng(i.add(n)._divideBy(2))),this._startDist=i.distanceTo(n),this._startZoom=e.getZoom(),this._moved=!1,this._zooming=!0,e._stop(),ke(document,"touchmove",this._onTouchMove,this),ke(document,"touchend",this._onTouchEnd,this),Ue(t)}},_onTouchMove:function(t){if(t.touches&&2===t.touches.length&&this._zooming){var e=this._map,i=e.mouseEventToContainerPoint(t.touches[0]),n=e.mouseEventToContainerPoint(t.touches[1]),s=i.distanceTo(n)/this._startDist;if(this._zoom=e.getScaleZoom(s,this._startZoom),!e.options.bounceAtZoomLimits&&(this._zoom<e.getMin
6Zoom()&&s<1||this._zoom>e.getMaxZoom()&&s>1)&&(this._zoom=e._limitZoom(this._zoom)),"center"===e.options.touchZoom){if(this._center=this._startLatLng,1===s)return}else{var r=i._add(n)._divideBy(2)._subtract(this._centerPoint);if(1===s&&0===r.x&&0===r.y)return;this._center=e.unproject(e.project(this._pinchStartLatLng,this._zoom).subtract(r),this._zoom)}this._moved||(e._moveStart(!0,!1),this._moved=!0),j(this._animRequest);var a=o(e._move,e,this._center,this._zoom,{pinch:!0,round:!1});this._animRequest=w(a,this,!0),Ue(t)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,j(this._animRequest),Ne(document,"touchmove",this._onTouchMove,this),Ne(document,"touchend",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))):this._zooming=!1}});ti.addInitHook("addHandler","touchZoom",eo),ti.BoxZoom=qn,ti.DoubleClickZoom=Xn,ti.Drag=Kn,ti.Keyboard=Yn,ti.ScrollWheelZoom=Qn,ti.Tap=to,ti.TouchZoom=eo,t.version=e,t.Control=ii,t.control=ni,t.Browser=Mt,t.Evented=M,t.Mixin=fi,t.Util=T,t.Class=P,t.Handler=pi,t.extend=i,t.bind=o,t.stamp=r,t.setOptions=d,t.DomEvent=Ye,t.DomUtil=Me,t.PosAnimation=Qe,t.Draggable=vi,t.LineUtil=Mi,t.PolyUtil=zi,t.Point=k,t.point=N,t.Bounds=$,t.bounds=B,t.Transformation=W,t.transformation=J,t.Projection=Bi,t.LatLng=Z,t.latLng=D,t.LatLngBounds=R,t.latLngBounds=I,t.CRS=F,t.GeoJSON=un,t.geoJSON=vn,t.geoJson=gn,t.Layer=Di,t.LayerGroup=Fi,t.layerGroup=Ui,t.FeatureGroup=Vi,t.featureGroup=Hi,t.ImageOverlay=bn,t.imageOverlay=On,t.VideoOverlay=Cn,t.videoOverlay=Ln,t.SVGOverlay=Sn,t.svgOverlay=xn,t.DivOverlay=wn,t.Popup=jn,t.popup=Tn,t.Tooltip=Pn,t.tooltip=An,t.Icon=Wi,t.icon=Ji,t.DivIcon=En,t.divIcon=Mn,t.Marker=Xi,t.marker=Ki,t.TileLayer=Nn,t.tileLayer=$n,t.GridLayer=kn,t.gridLayer=zn,t.SVG=Hn,t.svg=Wn,t.Renderer=In,t.Canvas=Zn,t.canvas=Dn,t.Path=Yi,t.CircleMarker=Qi,t.circleMarker=tn,t.Circle=en,t.circle=nn,t.Polyline=on,t.polyline=sn,t.Polygon=rn,t.polygon=an,t.Rectangle=Jn,t.rectangle=Gn,t.Map=ti,t.map=ei;var io=window.L;t.noConflict=function(){return window.L=io,this},window.L=t}))},e198:function(t,e,i){var n=i("ef08"),o=i("5524"),s=i("e444"),r=i("fcd4"),a=i("1a14").f;t.exports=function(t){var e=o.Symbol||(o.Symbol=s?{}:n.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:r.f(t)})}},e34a:function(t,e,i){var n=i("8b1a")("meta"),o=i("7a41"),s=i("9c0e"),r=i("1a14").f,a=0,u=Object.isExtensible||function(){return!0},l=!i("4b8b")((function(){return u(Object.preventExtensions({}))})),c=function(t){r(t,n,{value:{i:"O"+ ++a,w:{}}})},h=function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!s(t,n)){if(!u(t))return"F";if(!e)return"E";c(t)}return t[n].i},p=function(t,e){if(!s(t,n)){if(!u(t))return!0;if(!e)return!1;c(t)}return t[n].w},d=function(t){return l&&f.NEED&&u(t)&&!s(t,n)&&c(t),t},f=t.exports={KEY:n,NEED:!1,fastKey:h,getWeak:p,onFreeze:d}},e444:function(t,e){t.exports=!0},ea34:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},ec06:function(t,e,i){},ef08:function(t,e){var i=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=i)},ef62:function(t,e,i){"use strict";i.d(e,"a",(function(){return s})),i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"d",(function(){return l})),i.d(e,"e",(function(){return u})),i.d(e,"f",(function(){return r}));var n=i("e11e"),o=function(t,e){var i,n=function(){var n=[],o=arguments.length;while(o--)n[o]=arguments[o];var s=this;i&&clearTimeout(i),i=setTimeout((function(){t.apply(s,n),i=null}),e)};return n.cancel=function(){i&&clearTimeout(i)},n},s=function(t){return t&&"function"===typeof t.charAt?t.charAt(0).toUpperCase()+t.slice(1):t},r=function(t,e,i,o){var r=function(o){var r="set"+s(o),a=i[o].type===Object||i[o].type===Array||Array.isArray(i[o].type);i[o].custom&&t[r]?t.$watch(o,(function(e,i){t[r](e,i)}),{deep:a}):"setOptions"===r?t.$watch(o,(function(t,i){Object(n["setOptions"])(e,t)}),{deep:a}):e[r]&&t.$watch(o,(function(t,i){e[r](t)}),{deep:a})};for(var a in i)r(a)},a=function(t){var e={};for(var i in t){var n=t[i];null!==n&&void 0!==n&&(e[i]=n)}return e},u=function(t,e){var i=e.options&&e.options.constructor===Object?e.options:{};t=t&&t.constructor===Object?t:{};var n=a(i);t=a(t);var o=e.$options.props;for(var s in t){var r=o[s]?o[s].default&&"function"===typeof o[s].default?o[s].default.call():o[s].default:Symbol("unique"),u=!1;u=Array.isArray(r)?JSON.stringify(r)===JSON.stringify(t[s]):r===t[s],n[s]&&!u?(console.warn(s+" props is overriding the value passed in the options props"),n[s]=t[s]):n[s]||(n[s]=t[s])}return n},l=function(t){var e=!1;while(t&&!e)void 0===t.mapObject?t=t.$parent:e=!0;return t}}
6,f60f:function(t,e,i){"use strict";var n=i("e11e"),o=function(t){return t&&"function"===typeof t.charAt?t.charAt(0).toUpperCase()+t.slice(1):t},s=function(t,e,i,s){var r=function(s){var r="set"+o(s),a=i[s].type===Object||i[s].type===Array||Array.isArray(i[s].type);i[s].custom&&t[r]?t.$watch(s,(function(e,i){t[r](e,i)}),{deep:a}):"setOptions"===r?t.$watch(s,(function(t,i){Object(n["setOptions"])(e,t)}),{deep:a}):e[r]&&t.$watch(s,(function(t,i){e[r](t)}),{deep:a})};for(var a in i)r(a)},r=function(t){var e={};for(var i in t){var n=t[i];null!==n&&void 0!==n&&(e[i]=n)}return e},a=function(t,e){var i=e.options&&e.options.constructor===Object?e.options:{};t=t&&t.constructor===Object?t:{};var n=r(i);t=r(t);var o=e.$options.props;for(var s in t){var a=o[s]?o[s].default&&"function"===typeof o[s].default?o[s].default.call():o[s].default:Symbol("unique"),u=!1;u=Array.isArray(a)?JSON.stringify(a)===JSON.stringify(t[s]):a===t[s],n[s]&&!u?(console.warn(s+" props is overriding the value passed in the options props"),n[s]=t[s]):n[s]||(n[s]=t[s])}return n},u=function(t){var e=!1;while(t&&!e)void 0===t.mapObject?t=t.$parent:e=!0;return t},l={props:{content:{type:String,default:null,custom:!0}},mounted:function(){this.popperOptions={}},methods:{setContent:function(t){this.mapObject&&null!==t&&void 0!==t&&this.mapObject.setContent(t)}},render:function(t){return this.$slots.default?t("div",this.$slots.default):null}},c={props:{options:{type:Object,default:function(){return{}}}}},h={name:"LPopup",mixins:[l,c],props:{latLng:{type:[Object,Array],default:function(){return[]}}},mounted:function(){var t=this,e=a(this.popperOptions,this);this.mapObject=Object(n["popup"])(e),void 0!==this.latLng&&this.mapObject.setLatLng(this.latLng),n["DomEvent"].on(this.mapObject,this.$listeners),s(this,this.mapObject,this.$options.props),this.mapObject.setContent(this.content||this.$el),this.parentContainer=u(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 p(t,e,i,n,o,s,r,a,u,l){"boolean"!==typeof r&&(u=a,a=r,r=!1);var c,h="function"===typeof i?i.options:i;if(t&&t.render&&(h.render=t.render,h.staticRenderFns=t.staticRenderFns,h._compiled=!0,o&&(h.functional=!0)),n&&(h._scopeId=n),s?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,u(t)),t&&t._registeredComponents&&t._registeredComponents.add(s)},h._ssrRegister=c):e&&(c=r?function(t){e.call(this,l(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,a(t))}),c)if(h.functional){var p=h.render;h.render=function(t,e){return c.call(e),p(t,e)}}else{var d=h.beforeCreate;h.beforeCreate=d?[].concat(d,c):[c]}return i}var d=h,f=void 0,m=void 0,_=void 0,y=void 0,v=p({},f,d,m,y,_,!1,void 0,void 0,void 0);e["a"]=v},f893:function(t,e,i){t.exports={default:i("8119"),__esModule:!0}},faf5:function(t,e,i){t.exports=!i("0bad")&&!i("4b8b")((function(){return 7!=Object.defineProperty(i("05f5")("div"),"a",{get:function(){return 7}}).a}))},fbba:function(t,e,i){"use strict";var n=i("e11e"),o=function(t){return t&&"function"===typeof t.charAt?t.charAt(0).toUpperCase()+t.slice(1):t},s=function(t,e,i,s){var r=function(s){var r="set"+o(s),a=i[s].type===Object||i[s].type===Array||Array.isArray(i[s].type);i[s].custom&&t[r]?t.$watch(s,(function(e,i){t[r](e,i)}),{deep:a}):"setOptions"===r?t.$watch(s,(function(t,i){Object(n["setOptions"])(e,t)}),{deep:a}):e[r]&&t.$watch(s,(function(t,i){e[r](t)}),{deep:a})};for(var a in i)r(a)},r=function(t){var e={};for(var i in t){var n=t[i];null!==n&&void 0!==n&&(e[i]=n)}return e},a=function(t,e){var i=e.options&&e.options.constructor===Object?e.options:{};t=t&&t.constructor===Object?t:{};var n=r(i);t=r(t);var o=e.$options.props;for(var s in t){var a=o[s]?o[s].default&&"function"===typeof o[s].default?o[s].default.call():o[s].default:Symbol("unique"),u=!1;u=Array.isArray(a)?JSON.stringify(a)===JSON.stringify(t[s]):a===t[s],n[s]&&!u?(console.warn(s+" props is overriding the value passed in the options props"),n[s]=t[s]):n[s]||(n[s]=t[s])}return n},u=function(t){var e=!1;while(t&&!e)void 0===t.mapObject?t=t.$parent:e=!0;return t},l={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=u(this.$parent),!this.parentContainer)throw new Error("No parent container with mapObject found for LIcon");s(this,this.parentContainer.mapObject,this.$options.props),this.observer=new MutationObserver((function(){t.sc
6heduleHtmlSwap()})),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())return this.parentContainer.mapObject.getElement().innerHTML=this.$el.innerHTML,void(this.htmlSwapNeeded=!1);if(this.recreationNeeded){this.iconObject&&n["DomEvent"].off(this.iconObject,this.$listeners);var t=a({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=Object(n["divIcon"])(t):this.iconObject=Object(n["icon"])(t),n["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 c(t,e,i,n,o,s,r,a,u,l){"boolean"!==typeof r&&(u=a,a=r,r=!1);var c,h="function"===typeof i?i.options:i;if(t&&t.render&&(h.render=t.render,h.staticRenderFns=t.staticRenderFns,h._compiled=!0,o&&(h.functional=!0)),n&&(h._scopeId=n),s?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,u(t)),t&&t._registeredComponents&&t._registeredComponents.add(s)},h._ssrRegister=c):e&&(c=r?function(t){e.call(this,l(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,a(t))}),c)if(h.functional){var p=h.render;h.render=function(t,e){return c.call(e),p(t,e)}}else{var d=h.beforeCreate;h.beforeCreate=d?[].concat(d,c):[c]}return i}var h=l,p=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[t._t("default")],2)},d=[],f=void 0,m=void 0,_=void 0,y=!1,v=c({render:p,staticRenderFns:d},f,h,m,y,_,!1,void 0,void 0,void 0);e["a"]=v},fc5e:function(t,e){var i=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:i)(t)}},fcd4:function(t,e,i){e.f=i("cc15")},fed5:function(t,e){e.f=Object.getOwnPropertySymbols}}]);
7//# sourceMappingURL=chunk-d9f757e2.e22200d8.js.map

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.