!function(t,i){"object"==typeofexports&&"undefined"!=typeofmodule?i(exports):"function"==typeofdefine&&define.amd?define(["exports"],i):i(t.L={})}(this,function(t){"use strict";vari=Object.freeze;functionh(t){vari,e,n,o;for(e=1,n=arguments.length;e<n;e++)for(iino=arguments[e])t[i]=o[i];returnt}Object.freeze=function(t){returnt};vars=Object.create||function(t){returne.prototype=t,newe};functione(){}functiona(t,i){vare=Array.prototype.slice;if(t.bind)returnt.bind.apply(t,e.call(arguments,1));varn=e.call(arguments,2);returnfunction(){returnt.apply(i,n.length?n.concat(e.call(arguments)):arguments)}}varn=0;functionu(t){returnt._leaflet_id=t._leaflet_id||++n,t._leaflet_id}functiono(t,i,e){varn,o,s,r;returnr=function(){n=!1,o&&(s.apply(e,o),o=!1)},s=function(){n?o=arguments:(t.apply(e,arguments),setTimeout(r,i),n=!0)}}functionr(t,i,e){varn=i[1],o=i[0],s=n-o;returnt===n&&e?t:((t-o)%s+s)%s+o}functionl(){return!1}functionc(t,i){vare=Math.pow(10,void0===i?6:i);returnMath.round(t*e)/e}function_(t){returnt.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}functiond(t){return_(t).split(/\s+/)}functionp(t,i){for(vareint.hasOwnProperty("options")||(t.options=t.options?s(t.options):{}),i)t.options[e]=i[e];returnt.options}functionm(t,i,e){varn=[];for(varoint)n.push(encodeURIComponent(e?o.toUpperCase():o)+"="+encodeURIComponent(t[o]));return(i&&-1!==i.indexOf("?")?"&":"?")+n.join("&")}varf=/\{ *([\w_-]+) *\}/g;functiong(t,n){returnt.replace(f,function(t,i){vare=n[i];if(void0===e)thrownewError("No value provided for variable "+t);return"function"==typeofe&&(e=e(n)),e})}varv=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};functiony(t,i){for(vare=0;e<t.length;e++)if(t[e]===i)returne;return-1}varx="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";functionw(t){returnwindow["webkit"+t]||window["moz"+t]||window["ms"+t]}varP=0;functionb(t){vari=+newDate,e=Math.max(0,16-(i-P));returnP=i+e,window.setTimeout(t,e)}varT=window.requestAnimationFrame||w("RequestAnimationFrame")||b,z=window.cancelAnimationFrame||w("CancelAnimationFrame")||w("CancelRequestAnimationFrame")||function(t){window.clearTimeout(t)};functionM(t,i,e){if(!e||T!==b)returnT.call(window,a(t,i));t.call(i)}functionC(t){t&&z.call(window,t)}varS=(Object.freeze||Object)({freeze:i,extend:h,create:s,bind:a,lastId:n,stamp:u,throttle:o,wrapNum:r,falseFn:l,formatNum:c,trim:_,splitWords:d,setOptions:p,getParamString:m,template:g,isArray:v,indexOf:y,emptyImageUrl:x,requestFn:T,cancelFn:z,requestAnimFrame:M,cancelAnimFrame:C});functionE(){}E.extend=function(t){functioni(){this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()}vare=i.__super__=this.prototype,n=s(e);for(varoin(n.constructor=i).prototype=n,this)this.hasOwnProperty(o)&&"prototype"!==o&&"__super__"!==o&&(i[o]=this[o]);returnt.statics&&(h(i,t.statics),deletet.statics),t.includes&&(function(t){if("undefined"==typeofL||!L||!L.Mixin)return;t=v(t)?t:[t];for(vari=0;i<t.length;i++)t[i]===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)}(t.includes),h.apply(null,[n].concat(t.includes)),deletet.includes),n.options&&(t.options=h(s(n.options),t.options)),h(n,t),n._initHooks=[],n.callInitHooks=function(){if(!this._initHooksCalled){e.callInitHooks&&e.callInitHooks.call(this),this._initHooksCalled=!0;for(vart=0,i=n._initHooks.length;t<i;t++)n._initHooks[t].call(this)}},i},E.include=function(t){returnh(this.prototype,t),this},E.mergeOptions=function(t){returnh(this.prototype.options,t),this},E.addInitHook=function(t){vari=Array.prototype.slice.call(arguments,1),e="function"==typeoft?t:function(){this[t].apply(this,i)};returnthis.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(e),this};varZ={on:function(t,i,e){if("object"==typeoft)for(varnint)this._on(n,t[n],i);elsefor(varo=0,s=(t=d(t)).length;o<s;o++)this._on(t[o],i,e);returnthis},off: