!function(t,i){"object"==typeofexports&&"undefined"!=typeofmodule?i(exports):"function"==typeofdefine&&define.amd?define(["exports"],i):i(t.L={})}(this,function(t){"use strict";functioni(t){vari,e,n,o;for(e=1,n=arguments.length;e<n;e++){o=arguments[e];for(iino)t[i]=o[i]}returnt}functione(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)}}functionn(t){returnt._leaflet_id=t._leaflet_id||++ei,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)}}functions(t,i,e){varn=i[1],o=i[0],s=n-o;returnt===n&&e?t:((t-o)%s+s)%s+o}functionr(){return!1}functiona(t,i){vare=Math.pow(10,void0===i?6:i);returnMath.round(t*e)/e}functionh(t){returnt.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}functionu(t){returnh(t).split(/\s+/)}functionl(t,i){t.hasOwnProperty("options")||(t.options=t.options?ii(t.options):{});for(vareini)t.options[e]=i[e];returnt.options}functionc(t,i,e){varn=[];for(varoint)n.push(encodeURIComponent(e?o.toUpperCase():o)+"="+encodeURIComponent(t[o]));return(i&&-1!==i.indexOf("?")?"&":"?")+n.join("&")}function_(t,i){returnt.replace(ni,function(t,e){varn=i[e];if(void0===n)thrownewError("No value provided for variable "+t);return"function"==typeofn&&(n=n(i)),n})}functiond(t,i){for(vare=0;e<t.length;e++)if(t[e]===i)returne;return-1}functionp(t){returnwindow["webkit"+t]||window["moz"+t]||window["ms"+t]}functionm(t){vari=+newDate,e=Math.max(0,16-(i-ri));returnri=i+e,window.setTimeout(t,e)}functionf(t,i,n){if(!n||ai!==m)returnai.call(window,e(t,i));t.call(i)}functiong(t){t&&hi.call(window,t)}functionv(){}functiony(t){if("undefined"!=typeofL&&L&&L.Mixin){t=oi(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)}}functionx(t,i,e){this.x=e?Math.round(t):t,this.y=e?Math.round(i):i}functionw(t,i,e){returntinstanceofx?t:oi(t)?newx(t[0],t[1]):void0===t||null===t?t:"object"==typeoft&&"x"int&&"y"int?newx(t.x,t.y):newx(t,i,e)}functionP(t,i){if(t)for(vare=i?[t,i]:t,n=0,o=e.length;n<o;n++)this.extend(e[n])}functionb(t,i){return!t||tinstanceofP?t:newP(t,i)}functionT(t,i){if(t)for(vare=i?[t,i]:t,n=0,o=e.length;n<o;n++)this.extend(e[n])}functionz(t,i){returntinstanceofT?t:newT(t,i)}functionM(t,i,e){if(isNaN(t)||isNaN(i))thrownewError("Invalid LatLng object: ("+t+", "+i+")");this.lat=+t,this.lng=+i,void0!==e&&(this.alt=+e)}functionC(t,i,e){returntinstanceofM?t:oi(t)&&"object"!=typeoft[0]?3===t.length?newM(t[0],t[1],t[2]):2===t.length?newM(t[0],t[1]):null:void0===t||null===t?t:"object"==typeoft&&"lat"int?newM(t.lat,"lng"int?t.lng:t.lon,t.alt):void0===i?null:newM(t,i,e)}functionS(t,i,e,n){if(oi(t))returnthis._a=t[0],this._b=t[1],this._c=t[2],void(this._d=t[3]);this._a=t,this._b=i,this._c=e,this._d=n}functionZ(t,i,e,n){returnnewS(t,i,e,n)}functionE(t){returndocument.createElementNS("http://www.w3.org/2000/svg",t)}functionk(t,i){vare,n,o,s,r,a,h="";for(e=0,o=t.length;e<o;e++){for(n=0,s=(r=t[e]).length;n<s;n++)a=r[n],h+=(n?"L":"M")+a.x+" "+a.y;h+=i?Ji?"z":"x":""}returnh||"M0 0"}functionB(t){returnnavigator.userAgent.toLowerCase().indexOf(t)>=0}functionA(t,i,e,n){return"touchstart"===i?O(t,e,n):"touchmove"===i?W(t,e,n):"touchend"===i&&H(t,e,n),this}functionI(t,i,e){varn=t["_leaflet_"+i+e];return"touchstart"===i?t.removeEventListener(te,n,!1):"touchmove"===i?t.removeEventListener(ie,n,!1):"touchend"===i&&(t.removeEventListener(ee,n,!1),t.removeEventListener(ne,n,!1)),this}functionO(t,i,n){varo=e(function(t){if("mouse"!==t.pointerType&&t.MSPOINTER_TYPE_MOUSE&&t.pointerType!==t.MSPOINTER_TYPE_MOUSE){if(!(oe.indexOf(t.target.tagName)<0))return;Pt(t)}j(t,i)});t["_leaflet_touchstart"+n]=o,t.addEventListener(te,o,!1),re||(document.documen