!function(t,e){"object"==typeofexports&&"undefined"!=typeofmodule?e(exports):"function"==typeofdefine&&define.amd?define(["exports"],e):e((t="undefined"!=typeofglobalThis?globalThis:t||self).leaflet={})}(this,function(t){"use strict";functionl(t){for(vare,i,n=1,o=arguments.length;n<o;n++)for(eini=arguments[n])t[e]=i[e];returnt}varR=Object.create||function(t){returnN.prototype=t,newN};functionN(){}functiona(t,e){vari,n=Array.prototype.slice;returnt.bind?t.bind.apply(t,n.call(arguments,1)):(i=n.call(arguments,2),function(){returnt.apply(e,i.length?i.concat(n.call(arguments)):arguments)})}varD=0;functionh(t){return"_leaflet_id"int||(t._leaflet_id=++D),t._leaflet_id}functionj(t,e,i){varn,o,s=function(){n=!1,o&&(r.apply(i,o),o=!1)},r=function(){n?o=arguments:(t.apply(i,arguments),setTimeout(s,e),n=!0)};returnr}functionH(t,e,i){varn=e[1],e=e[0],o=n-e;returnt===n&&i?t:((t-e)%o+o)%o+e}functionu(){return!1}functioni(t,e){return!1===e?t:(e=Math.pow(10,void0===e?6:e),Math.round(t*e)/e)}functionF(t){returnt.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}functionW(t){returnF(t).split(/\s+/)}functionc(t,e){for(variinObject.prototype.hasOwnProperty.call(t,"options")||(t.options=t.options?R(t.options):{}),e)t.options[i]=e[i];returnt.options}functionU(t,e,i){varn,o=[];for(nint)o.push(encodeURIComponent(i?n.toUpperCase():n)+"="+encodeURIComponent(t[n]));return(e&&-1!==e.indexOf("?")?"&":"?")+o.join("&")}varV=/\{ *([\w_ -]+) *\}/g;functionq(t,i){returnt.replace(V,function(t,e){e=i[e];if(void0===e)thrownewError("No value provided for variable "+t);returne="function"==typeofe?e(i):e})}vard=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};functionG(t,e){for(vari=0;i<t.length;i++)if(t[i]===e)returni;return-1}varK="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";functionY(t){returnwindow["webkit"+t]||window["moz"+t]||window["ms"+t]}varX=0;functionJ(t){vare=+newDate,i=Math.max(0,16-(e-X));returnX=e+i,window.setTimeout(t,i)}var$=window.requestAnimationFrame||Y("RequestAnimationFrame")||J,Q=window.cancelAnimationFrame||Y("CancelAnimationFrame")||Y("CancelRequestAnimationFrame")||function(t){window.clearTimeout(t)};functionx(t,e,i){if(!i||$!==J)return$.call(window,a(t,e));t.call(e)}functionr(t){t&&Q.call(window,t)}vartt={__proto__:null,extend:l,create:R,bind:a,getlastId(){returnD},stamp:h,throttle:j,wrapNum:H,falseFn:u,formatNum:i,trim:F,splitWords:W,setOptions:c,getParamString:U,template:q,isArray:d,indexOf:G,emptyImageUrl:K,requestFn:$,cancelFn:Q,requestAnimFrame:x,cancelAnimFrame:r};functionet(){}et.extend=function(t){functione(){c(this),this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()}vari,n=e.__super__=this.prototype,o=R(n);for(iin(o.constructor=e).prototype=o,this)Object.prototype.hasOwnProperty.call(this,i)&&"prototype"!==i&&"__super__"!==i&&(e[i]=this[i]);if(t.statics&&l(e,t.statics),t.includes){vars=t.includes;if("undefined"!=typeofL&&L&&L.Mixin){s=d(s)?s:[s];for(varr=0;r<s.length;r++)s[r]===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.",(newError).stack)}l.apply(null,[o].concat(t.includes))}returnl(o,t),deleteo.statics,deleteo.includes,o.options&&(o.options=n.options?R(n.options):{},l(o.options,t.options)),o._initHooks=[],o.callInitHooks=function(){if(!this._initHooksCalled){n.callInitHooks&&n.callInitHooks.call(this),this._initHooksCalled=!0;for(vart=0,e=o._initHooks.length;t<e;t++)o._initHooks[t].call(this)}},e},et.include=function(t){vare=this.prototype.options;returnl(this.prototype,t),t.options&&(this.prototype.options=e,this.mergeOptions(t.options)),this},et.mergeOptions=function(t){returnl(this.prototype.options,t),this},et.addInitHook=function(t){vare=Array.prototype.slice.call(arguments,1),i="function"==typeoft?t:function(){this[t].apply(this,e)};returnthis.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(i),this};vare={on:function