| 1 | | (()=>{var __webpack_modules__={741:function(__unused_webpack_module,exports){eval('/* @preserve\n * Leaflet 1.9.4, a JS library for interactive maps. https://leafletjs.com\n * (c) 2010-2023 Vladimir Agafonkin, (c) 2010-2011 CloudMade\n */\n!function (t, e) {\n true ? e(exports) : 0;\n}(this, function (t) {\n "use strict";\n\n function l(t) {\n for (var e, i, n = 1, o = arguments.length; n < o; n++) for (e in i = arguments[n]) t[e] = i[e];\n return t;\n }\n var R = Object.create || function (t) {\n return N.prototype = t, new N();\n };\n function N() {}\n function a(t, e) {\n var i,\n n = Array.prototype.slice;\n return t.bind ? t.bind.apply(t, n.call(arguments, 1)) : (i = n.call(arguments, 2), function () {\n return t.apply(e, i.length ? i.concat(n.call(arguments)) : arguments);\n });\n }\n var D = 0;\n function h(t) {\n return "_leaflet_id" in t || (t._leaflet_id = ++D), t._leaflet_id;\n }\n function j(t, e, i) {\n var n,\n o,\n s = function () {\n n = !1, o && (r.apply(i, o), o = !1);\n },\n r = function () {\n n ? o = arguments : (t.apply(i, arguments), setTimeout(s, e), n = !0);\n };\n return r;\n }\n function H(t, e, i) {\n var n = e[1],\n e = e[0],\n o = n - e;\n return t === n && i ? t : ((t - e) % o + o) % o + e;\n }\n function u() {\n return !1;\n }\n function i(t, e) {\n return !1 === e ? t : (e = Math.pow(10, void 0 === e ? 6 : e), Math.round(t * e) / e);\n }\n function W(t) {\n return t.trim ? t.trim() : t.replace(/^\\s+|\\s+$/g, "");\n }\n function F(t) {\n return W(t).split(/\\s+/);\n }\n function c(t, e) {\n for (var i in Object.prototype.hasOwnProperty.call(t, "options") || (t.options = t.options ? R(t.options) : {}), e) t.options[i] = e[i];\n return t.options;\n }\n function U(t, e, i) {\n var n,\n o = [];\n for (n in t) o.push(encodeURIComponent(i ? n.toUpperCase() : n) + "=" + encodeURIComponent(t[n]));\n return (e && -1 !== e.indexOf("?") ? "&" : "?") + o.join("&");\n }\n var V = /\\{ *([\\w_ -]+) *\\}/g;\n function q(t, i) {\n return t.replace(V, function (t, e) {\n e = i[e];\n if (void 0 === e) throw new Error("No value provided for variable " + t);\n return e = "function" == typeof e ? e(i) : e;\n });\n }\n var d = Array.isArray || function (t) {\n return "[object Array]" === Object.prototype.toString.call(t);\n };\n function G(t, e) {\n for (var i = 0; i < t.length; i++) if (t[i] === e) return i;\n return -1;\n }\n var K = "data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";\n function Y(t) {\n return window["webkit" + t] || window["moz" + t] || window["ms" + t];\n }\n var X = 0;\n function J(t) {\n var e = +new Date(),\n i = Math.max(0, 16 - (e - X));\n return X = e + i, window.setTimeout(t, i);\n }\n var $ = window.requestAnimationFrame || Y("RequestAnimationFrame") || J,\n Q = window.cancelAnimationFrame || Y("CancelAnimationFrame") || Y("CancelRequestAnimationFrame") || function (t) {\n window.clearTimeout(t);\n };\n function x(t, e, i) {\n if (!i || $ !== J) return $.call(window, a(t, e));\n t.call(e);\n }\n function r(t) {\n t && Q.call(window, t);\n }\n var tt = {\n __proto__: null,\n extend: l,\n create: R,\n bind: a,\n get lastId() {\n return D;\n },\n stamp: h,\n throttle: j,\n wrapNum: H,\n falseFn: u,\n formatNum: i,\n trim: W,\n splitWords: F,\n setOptions: c,\n getParamString: U,\n template: q,\n isArray: d,\n indexOf: G,\n emptyImageUrl: K,\n requestFn: $,\n cancelFn: Q,\n requestAnimFrame: x,\n cancelAnimFrame: r\n };\n function et() {}\n et.extend = function (t) {\n function e() {\n c(this), this.initialize && this.initialize.apply(this, arguments), this.callInitHooks();\n }\n var i,\n n = e.__super__ = this.prototype,\n o = R(n);\n for (i in (o.constructor = e).prototype = o, this) Object.prototype.hasOwnProperty.call(this, i) && "prototype" !== i && "__super__" !== i && (e[i] = this[i]);\n if (t.statics && l(e, t.statics), t.includes) {\n var s = t.includes;\n if ("undefined" != typeof L && L && L.Mixin) {\n s = d(s) ? s : [s];\n for (var r = 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.", new Error().stack);\n }\n l.apply(null, [o].concat(t.includes));\n }\n return l(o, t), delete o.statics, delete o.includes, o.options && (o.options = n.options ? R(n.options) : {}, l(o.options, t.options)), o._initHooks = [], o.callInitHooks = function () {\n if (!this._initHooksCalled) {\n n.callInitHooks && n.callInitHooks.call(this), this._initHooksCalled = !0;\n for (var t = 0, e = o._initHooks.length; t < e; t++) o._initHooks[t].call(this);\n }\n }, e;\n }, et.include = function (t) {\n var e = this.prototype.options;\n return l(this.prototype, t), t.options && (this.prototype.options = e, this.mergeOptions(t.options)), this;\n }, et.mergeOptions = function (t) {\n return l(this.prototype.options, t), this;\n }, et.addInitHook = function (t) {\n var e = Array.prototype.slice.call(arguments, 1),\n i = "function" == typeof t ? t : function () {\n this[t].apply(this, e);\n };\n return this.prototype._initHooks = this.prototype._initHooks || [], this.prototype._initHooks.push(i), this;\n };\n var e = {\n on: function (t, e, i) {\n if ("object" == typeof t) for (var n in t) this._on(n, t[n], e);else for (var o = 0, s = (t = F(t)).length; o < s; o++) this._on(t[o], e, i);\n return this;\n },\n off: function (t, e, i) {\n if (arguments.length) {\n if ("object" == typeof t) for (var n in t) this._off(n, t[n], e);else {\n t = F(t);\n for (var o = 1 === arguments.length, s = 0, r = t.length; s < r; s++) o ? this._off(t[s]) : this._off(t[s], e, i);\n }\n } else delete this._events;\n return this;\n },\n _on: function (t, e, i, n) {\n "function" != typeof e ? console.warn("wrong listener type: " + typeof e) : !1 === this._listens(t, e, i) && (e = {\n fn: e,\n ctx: i = i === this ? void 0 : i\n }, n && (e.once = !0), this._events = this._events || {}, this._events[t] = this._events[t] || [], this._events[t].push(e));\n },\n _off: function (t, e, i) {\n var n, o, s;\n if (this._events && (n = this._events[t])) if (1 === arguments.length) {\n if (this._firingCount) for (o = 0, s = n.length; o < s; o++) n[o].fn = u;\n delete this._events[t];\n } else "function" != typeof e ? console.warn("wrong listener type: " + typeof e) : !1 !== (e = this._listens(t, e, i)) && (i = n[e], this._firingCount && (i.fn = u, this._events[t] = n = n.slice()), n.splice(e, 1));\n },\n fire: function (t, e, i) {\n if (this.listens(t, i)) {\n var n = l({}, e, {\n type: t,\n target: this,\n sourceTarget: e && e.sourceTarget || this\n });\n if (this._events) {\n var o = this._events[t];\n if (o) {\n this._firingCount = this._firingCount + 1 || 1;\n for (var s = 0, r = o.length; s < r; s++) {\n var a = o[s],\n h = a.fn;\n a.once && this.off(t, h, a.ctx), h.call(a.ctx || this, n);\n }\n this._firingCount--;\n }\n }\n i && this._propagateEvent(n);\n }\n return this;\n },\n listens: function (t, e, i, n) {\n "string" != typeof t && console.warn(\'"string" type argument expected\');\n var o = e,\n s = ("function" != typeof e && (n = !!e, i = o = void 0), this._events && this._events[t]);\n if (s && s.length && !1 !== this._listens(t, o, i)) return !0;\n if (n) for (var r in this._eventParents) if (this._eventParents[r].listens(t, e, i, n)) return !0;\n return !1;\n },\n _listens: function (t, e, i) {\n if (this._events) {\n var n = this._events[t] || [];\n if (!e) return !!n.length;\n i === this && (i = void 0);\n for (var o = 0, s = n.length; o < s; o++) if (n[o].fn === e && n[o].ctx === i) return o;\n }\n return !1;\n },\n once: function (t, e, i) {\n if ("object" == typeof t) for (var n in t) this._on(n, t[n], e, !0);else for (var o = 0, s = (t = F(t)).length; o < s; o++) this._on(t[o], e, i, !0);\n return this;\n },\n addEventParent: function (t) {\n return this._eventParents = this._eventParents || {}, this._eventParents[h(t)] = t, this;\n },\n removeEventParent: function (t) {\n return this._eventParents && delete this._eventParents[h(t)], this;\n },\n _propagateEvent: function (t) {\n for (var e in this._eventParents) this._eventParents[e].fire(t.type, l({\n layer: t.target,\n propagatedFrom: t.target\n }, t), !0);\n }\n },\n it = (e.addEventListener = e.on, e.removeEventListener = e.clearAllEventListeners = e.off, e.addOneTimeEventListener = e.once, e.fireEvent = e.fire, e.hasEventListeners = e.listens, et.extend(e));\n function p(t, e, i) {\n this.x = i ? Math.round(t) : t, this.y = i ? Math.round(e) : e;\n }\n var nt = Math.trunc || function (t) {\n return 0 < t ? Math.floor(t) : Math.ceil(t);\n };\n function m(t, e, i) {\n return t instanceof p ? t : d(t) ? new p(t[0], t[1]) : null == t ? t : "object" == typeof t && "x" in t && "y" in t ? new p(t.x, t.y) : new p(t, e, i);\n }\n function f(t, e) {\n if (t) for (var i = e ? [t, e] : t, n = 0, o = i.length; n < o; n++) this.extend(i[n]);\n }\n function _(t, e) {\n return !t || t instanceof f ? t : new f(t, e);\n }\n function s(t, e) {\n if (t) for (var i = e ? [t, e] : t, n = 0, o = i.length; n < o; n++) this.extend(i[n]);\n }\n function g(t, e) {\n return t instanceof s ? t : new s(t, e);\n }\n function v(t, e, i) {\n if (isNaN(t) || isNaN(e)) throw new Error("Invalid LatLng object: (" + t + ", " + e + ")");\n this.lat = +t, this.lng = +e, void 0 !== i && (this.alt = +i);\n }\n function w(t, e, i) {\n return t instanceof v ? t : d(t) && "object" != typeof t[0] ? 3 === t.length ? new v(t[0], t[1], t[2]) : 2 === t.length ? new v(t[0], t[1]) : null : null == t ? t : "object" == typeof t && "lat" in t ? new v(t.lat, "lng" in t ? t.lng : t.lon, t.alt) : void 0 === e ? null : new v(t, e, i);\n }\n p.prototype = {\n clone: function () {\n return new p(this.x, this.y);\n },\n add: function (t) {\n return this.clone()._add(m(t));\n },\n _add: function (t) {\n return this.x += t.x, this.y += t.y, this;\n },\n subtract: function (t) {\n return this.clone()._subtract(m(t));\n },\n _subtract: function (t) {\n return this.x -= t.x, this.y -= t.y, this;\n },\n divideBy: function (t) {\n return this.clone()._divideBy(t);\n },\n _divideBy: function (t) {\n return this.x /= t, this.y /= t, this;\n },\n multiplyBy: function (t) {\n return this.clone()._multiplyBy(t);\n },\n _multiplyBy: function (t) {\n return this.x *= t, this.y *= t, this;\n },\n scaleBy: function (t) {\n return new p(this.x * t.x, this.y * t.y);\n },\n unscaleBy: function (t) {\n return new p(this.x / t.x, this.y / t.y);\n },\n round: function () {\n return this.clone()._round();\n },\n _round: function () {\n return this.x = Math.round(this.x), this.y = Math.round(this.y), this;\n },\n floor: function () {\n return this.clone()._floor();\n },\n _floor: function () {\n return this.x = Math.floor(this.x), this.y = Math.floor(this.y), this;\n },\n ceil: function () {\n return this.clone()._ceil();\n },\n _ceil: function () {\n return this.x = Math.ceil(this.x), this.y = Math.ceil(this.y), this;\n },\n trunc: function () {\n return this.clone()._trunc();\n },\n _trunc: function () {\n return this.x = nt(this.x), this.y = nt(this.y), this;\n },\n distanceTo: function (t) {\n var e = (t = m(t)).x - this.x,\n t = t.y - this.y;\n return Math.sqrt(e * e + t * t);\n },\n equals: function (t) {\n return (t = m(t)).x === this.x && t.y === this.y;\n },\n contains: function (t) {\n return t = m(t), Math.abs(t.x) <= Math.abs(this.x) && Math.abs(t.y) <= Math.abs(this.y);\n },\n toString: function () {\n return "Point(" + i(this.x) + ", " + i(this.y) + ")";\n }\n }, f.prototype = {\n extend: function (t) {\n var e, i;\n if (t) {\n if (t instanceof p || "number" == typeof t[0] || "x" in t) e = i = m(t);else if (e = (t = _(t)).min, i = t.max, !e || !i) return this;\n this.min || this.max ? (this.min.x = Math.min(e.x, this.min.x), this.max.x = Math.max(i.x, this.max.x), this.min.y = Math.min(e.y, this.min.y), this.max.y = Math.max(i.y, this.max.y)) : (this.min = e.clone(), this.max = i.clone());\n }\n return this;\n },\n getCenter: function (t) {\n return m((this.min.x + this.max.x) / 2, (this.min.y + this.max.y) / 2, t);\n },\n getBottomLeft: function () {\n return m(this.min.x, this.max.y);\n },\n getTopRight: function () {\n return m(this.max.x, this.min.y);\n },\n getTopLeft: function () {\n return this.min;\n },\n getBottomRight: function () {\n return this.max;\n },\n getSize: function () {\n return this.max.subtract(this.min);\n },\n contains: function (t) {\n var e, i;\n return (t = ("number" == typeof t[0] || t instanceof p ? m : _)(t)) instanceof f ? (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;\n },\n intersects: function (t) {\n t = _(t);\n var e = this.min,\n i = this.max,\n n = t.min,\n t = t.max,\n o = t.x >= e.x && n.x <= i.x,\n t = t.y >= e.y && n.y <= i.y;\n return o && t;\n },\n overlaps: function (t) {\n t = _(t);\n var e = this.min,\n i = this.max,\n n = t.min,\n t = t.max,\n o = t.x > e.x && n.x < i.x,\n t = t.y > e.y && n.y < i.y;\n return o && t;\n },\n isValid: function () {\n return !(!this.min || !this.max);\n },\n pad: function (t) {\n var e = this.min,\n i = this.max,\n n = Math.abs(e.x - i.x) * t,\n t = Math.abs(e.y - i.y) * t;\n return _(m(e.x - n, e.y - t), m(i.x + n, i.y + t));\n },\n equals: function (t) {\n return !!t && (t = _(t), this.min.equals(t.getTopLeft()) && this.max.equals(t.getBottomRight()));\n }\n }, s.prototype = {\n extend: function (t) {\n var e,\n i,\n n = this._southWest,\n o = this._northEast;\n if (t instanceof v) i = e = t;else {\n if (!(t instanceof s)) return t ? this.extend(w(t) || g(t)) : this;\n if (e = t._southWest, i = t._northEast, !e || !i) return this;\n }\n 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 v(e.lat, e.lng), this._northEast = new v(i.lat, i.lng)), this;\n },\n pad: function (t) {\n var e = this._southWest,\n i = this._northEast,\n n = Math.abs(e.lat - i.lat) * t,\n t = Math.abs(e.lng - i.lng) * t;\n return new s(new v(e.lat - n, e.lng - t), new v(i.lat + n, i.lng + t));\n },\n getCenter: function () {\n return new v((this._southWest.lat + this._northEast.lat) / 2, (this._southWest.lng + this._northEast.lng) / 2);\n },\n getSouthWest: function () {\n return this._southWest;\n },\n getNorthEast: function () {\n return this._northEast;\n },\n getNorthWest: function () {\n return new v(this.getNorth(), this.getWest());\n },\n getSouthEast: function () {\n return new v(this.getSouth(), this.getEast());\n },\n getWest: function () {\n return this._southWest.lng;\n },\n getSouth: function () {\n return this._southWest.lat;\n },\n getEast: function () {\n return this._northEast.lng;\n },\n getNorth: function () {\n return this._northEast.lat;\n },\n contains: function (t) {\n t = ("number" == typeof t[0] || t instanceof v || "lat" in t ? w : g)(t);\n var e,\n i,\n n = this._southWest,\n o = this._northEast;\n return t instanceof s ? (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;\n },\n intersects: function (t) {\n t = g(t);\n var e = this._southWest,\n i = this._northEast,\n n = t.getSouthWest(),\n t = t.getNorthEast(),\n o = t.lat >= e.lat && n.lat <= i.lat,\n t = t.lng >= e.lng && n.lng <= i.lng;\n return o && t;\n },\n overlaps: function (t) {\n t = g(t);\n var e = this._southWest,\n i = this._northEast,\n n = t.getSouthWest(),\n t = t.getNorthEast(),\n o = t.lat > e.lat && n.lat < i.lat,\n t = t.lng > e.lng && n.lng < i.lng;\n return o && t;\n },\n toBBoxString: function () {\n return [this.getWest(), this.getSouth(), this.getEast(), this.getNorth()].join(",");\n },\n equals: function (t, e) {\n return !!t && (t = g(t), this._southWest.equals(t.getSouthWest(), e) && this._northEast.equals(t.getNorthEast(), e));\n },\n isValid: function () {\n return !(!this._southWest || !this._northEast);\n }\n };\n var ot = {\n latLngToPoint: function (t, e) {\n t = this.projection.project(t), e = this.scale(e);\n return this.transformation._transform(t, e);\n },\n pointToLatLng: function (t, e) {\n e = this.scale(e), t = this.transformation.untransform(t, e);\n return this.projection.unproject(t);\n },\n project: function (t) {\n return this.projection.project(t);\n },\n unproject: function (t) {\n return this.projection.unproject(t);\n },\n scale: function (t) {\n return 256 * Math.pow(2, t);\n },\n zoom: function (t) {\n return Math.log(t / 256) / Math.LN2;\n },\n getProjectedBounds: function (t) {\n var e;\n return this.infinite ? null : (e = this.projection.bounds, t = this.scale(t), new f(this.transformation.transform(e.min, t), this.transformation.transform(e.max, t)));\n },\n infinite: !(v.prototype = {\n equals: function (t, e) {\n return !!t && (t = w(t), Math.max(Math.abs(this.lat - t.lat), Math.abs(this.lng - t.lng)) <= (void 0 === e ? 1e-9 : e));\n },\n toString: function (t) {\n return "LatLng(" + i(this.lat, t) + ", " + i(this.lng, t) + ")";\n },\n distanceTo: function (t) {\n return st.distance(this, w(t));\n },\n wrap: function () {\n return st.wrapLatLng(this);\n },\n toBounds: function (t) {\n var t = 180 * t / 40075017,\n e = t / Math.cos(Math.PI / 180 * this.lat);\n return g([this.lat - t, this.lng - e], [this.lat + t, this.lng + e]);\n },\n clone: function () {\n return new v(this.lat, this.lng, this.alt);\n }\n }),\n wrapLatLng: function (t) {\n var e = this.wrapLng ? H(t.lng, this.wrapLng, !0) : t.lng;\n return new v(this.wrapLat ? H(t.lat, this.wrapLat, !0) : t.lat, e, t.alt);\n },\n wrapLatLngBounds: function (t) {\n var e = t.getCenter(),\n i = this.wrapLatLng(e),\n n = e.lat - i.lat,\n e = e.lng - i.lng;\n return 0 == n && 0 == e ? t : (i = t.getSouthWest(), t = t.getNorthEast(), new s(new v(i.lat - n, i.lng - e), new v(t.lat - n, t.lng - e)));\n }\n },\n st = l({}, ot, {\n wrapLng: [-180, 180],\n R: 6371e3,\n distance: function (t, e) {\n var i = Math.PI / 180,\n n = t.lat * i,\n o = e.lat * i,\n s = Math.sin((e.lat - t.lat) * i / 2),\n e = Math.sin((e.lng - t.lng) * i / 2),\n t = s * s + Math.cos(n) * Math.cos(o) * e * e,\n i = 2 * Math.atan2(Math.sqrt(t), Math.sqrt(1 - t));\n return this.R * i;\n }\n }),\n rt = 6378137,\n rt = {\n R: rt,\n MAX_LATITUDE: 85.0511287798,\n project: function (t) {\n var e = Math.PI / 180,\n i = this.MAX_LATITUDE,\n i = Math.max(Math.min(i, t.lat), -i),\n i = Math.sin(i * e);\n return new p(this.R * t.lng * e, this.R * Math.log((1 + i) / (1 - i)) / 2);\n },\n unproject: function (t) {\n var e = 180 / Math.PI;\n return new v((2 * Math.atan(Math.exp(t.y / this.R)) - Math.PI / 2) * e, t.x * e / this.R);\n },\n bounds: new f([-(rt = rt * Math.PI), -rt], [rt, rt])\n };\n function at(t, e, i, n) {\n d(t) ? (this._a = t[0], this._b = t[1], this._c = t[2], this._d = t[3]) : (this._a = t, this._b = e, this._c = i, this._d = n);\n }\n function ht(t, e, i, n) {\n return new at(t, e, i, n);\n }\n at.prototype = {\n transform: function (t, e) {\n return this._transform(t.clone(), e);\n },\n _transform: function (t, e) {\n return t.x = (e = e || 1) * (this._a * t.x + this._b), t.y = e * (this._c * t.y + this._d), t;\n },\n untransform: function (t, e) {\n return new p((t.x / (e = e || 1) - this._b) / this._a, (t.y / e - this._d) / this._c);\n }\n };\n var lt = l({}, st, {\n code: "EPSG:3857",\n projection: rt,\n transformation: ht(lt = .5 / (Math.PI * rt.R), .5, -lt, .5)\n }),\n ut = l({}, lt, {\n code: "EPSG:900913"\n });\n function ct(t) {\n return document.createElementNS("http://www.w3.org/2000/svg", t);\n }\n function dt(t, e) {\n for (var i, n, o, s, r = "", a = 0, h = t.length; a < h; a++) {\n for (i = 0, n = (o = t[a]).length; i < n; i++) r += (i ? "L" : "M") + (s = o[i]).x + " " + s.y;\n r += e ? b.svg ? "z" : "x" : "";\n }\n return r || "M0 0";\n }\n var _t = document.documentElement.style,\n pt = "ActiveXObject" in window,\n mt = pt && !document.addEventListener,\n n = "msLaunchUri" in navigator && !("documentMode" in document),\n ft = y("webkit"),\n gt = y("android"),\n vt = y("android 2") || y("android 3"),\n yt = parseInt(/WebKit\\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10),\n yt = gt && y("Google") && yt < 537 && !("AudioNode" in window),\n xt = !!window.opera,\n wt = !n && y("chrome"),\n bt = y("gecko") && !ft && !xt && !pt,\n Pt = !wt && y("safari"),\n Lt = y("phantom"),\n o = "OTransition" in _t,\n Tt = 0 === navigator.platform.indexOf("Win"),\n Mt = pt && "transition" in _t,\n zt = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !vt,\n _t = "MozPerspective" in _t,\n Ct = !window.L_DISABLE_3D && (Mt || zt || _t) && !o && !Lt,\n Zt = "undefined" != typeof orientation || y("mobile"),\n St = Zt && ft,\n Et = Zt && zt,\n kt = !window.PointerEvent && window.MSPointerEvent,\n Ot = !(!window.PointerEvent && !kt),\n At = "ontouchstart" in window || !!window.TouchEvent,\n Bt = !window.L_NO_TOUCH && (At || Ot),\n It = Zt && xt,\n Rt = Zt && bt,\n Nt = 1 < (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI),\n Dt = function () {\n var t = !1;\n try {\n var e = Object.defineProperty({}, "passive", {\n get: function () {\n t = !0;\n }\n });\n window.addEventListener("testPassiveEventSupport", u, e), window.removeEventListener("testPassiveEventSupport", u, e);\n } catch (t) {}\n return t;\n }(),\n jt = !!document.createElement("canvas").getContext,\n Ht = !(!document.createElementNS || !ct("svg").createSVGRect),\n Wt = !!Ht && ((Wt = document.createElement("div")).innerHTML = "<svg/>", "http://www.w3.org/2000/svg" === (Wt.firstChild && Wt.firstChild.namespaceURI));\n function y(t) {\n return 0 <= navigator.userAgent.toLowerCase().indexOf(t);\n }\n var b = {\n ie: pt,\n ielt9: mt,\n edge: n,\n webkit: ft,\n android: gt,\n android23: vt,\n androidStock: yt,\n opera: xt,\n chrome: wt,\n gecko: bt,\n safari: Pt,\n phantom: Lt,\n opera12: o,\n win: Tt,\n ie3d: Mt,\n webkit3d: zt,\n gecko3d: _t,\n any3d: Ct,\n mobile: Zt,\n mobileWebkit: St,\n mobileWebkit3d: Et,\n msPointer: kt,\n pointer: Ot,\n touch: Bt,\n touchNative: At,\n mobileOpera: It,\n mobileGecko: Rt,\n retina: Nt,\n passiveEvents: Dt,\n canvas: jt,\n svg: Ht,\n vml: !Ht && function () {\n try {\n var t = document.createElement("div"),\n e = (t.innerHTML = \'<v:shape adj="1"/>\', t.firstChild);\n return e.style.behavior = "url(#default#VML)", e && "object" == typeof e.adj;\n } catch (t) {\n return !1;\n }\n }(),\n inlineSvg: Wt,\n mac: 0 === navigator.platform.indexOf("Mac"),\n linux: 0 === navigator.platform.indexOf("Linux")\n },\n Ft = b.msPointer ? "MSPointerDown" : "pointerdown",\n Ut = b.msPointer ? "MSPointerMove" : "pointermove",\n Vt = b.msPointer ? "MSPointerUp" : "pointerup",\n qt = b.msPointer ? "MSPointerCancel" : "pointercancel",\n Gt = {\n touchstart: Ft,\n touchmove: Ut,\n touchend: Vt,\n touchcancel: qt\n },\n Kt = {\n touchstart: function (t, e) {\n e.MSPOINTER_TYPE_TOUCH && e.pointerType === e.MSPOINTER_TYPE_TOUCH && O(e);\n ee(t, e);\n },\n touchmove: ee,\n touchend: ee,\n touchcancel: ee\n },\n Yt = {},\n Xt = !1;\n function Jt(t, e, i) {\n return "touchstart" !== e || Xt || (document.addEventListener(Ft, $t, !0), document.addEventListener(Ut, Qt, !0), document.addEventListener(Vt, te, !0), document.addEventListener(qt, te, !0), Xt = !0), Kt[e] ? (i = Kt[e].bind(this, i), t.addEventListener(Gt[e], i, !1), i) : (console.warn("wrong event specified:", e), u);\n }\n function $t(t) {\n Yt[t.pointerId] = t;\n }\n function Qt(t) {\n Yt[t.pointerId] && (Yt[t.pointerId] = t);\n }\n function te(t) {\n delete Yt[t.pointerId];\n }\n function ee(t, e) {\n if (e.pointerType !== (e.MSPOINTER_TYPE_MOUSE || "mouse")) {\n for (var i in e.touches = [], Yt) e.touches.push(Yt[i]);\n e.changedTouches = [e], t(e);\n }\n }\n var ie = 200;\n function ne(t, i) {\n t.addEventListener("dblclick", i);\n var n,\n o = 0;\n function e(t) {\n var e;\n 1 !== t.detail ? n = t.detail : "mouse" === t.pointerType || t.sourceCapabilities && !t.sourceCapabilities.firesTouchEvents || (e = Ne(t)).some(function (t) {\n return t instanceof HTMLLabelElement && t.attributes.for;\n }) && !e.some(function (t) {\n return t instanceof HTMLInputElement || t instanceof HTMLSelectElement;\n }) || ((e = Date.now()) - o <= ie ? 2 === ++n && i(function (t) {\n var e,\n i,\n n = {};\n for (i in t) e = t[i], n[i] = e && e.bind ? e.bind(t) : e;\n return (t = n).type = "dblclick", n.detail = 2, n.isTrusted = !1, n._simulated = !0, n;\n }(t)) : n = 1, o = e);\n }\n return t.addEventListener("click", e), {\n dblclick: i,\n simDblclick: e\n };\n }\n var oe,\n se,\n re,\n ae,\n he,\n le,\n ue = we(["transform", "webkitTransform", "OTransform", "MozTransform", "msTransform"]),\n ce = we(["webkitTransition", "transition", "OTransition", "MozTransition", "msTransition"]),\n de = "webkitTransition" === ce || "OTransition" === ce ? ce + "End" : "transitionend";\n function _e(t) {\n return "string" == typeof t ? document.getElementById(t) : t;\n }\n function pe(t, e) {\n var i = t.style[e] || t.currentStyle && t.currentStyle[e];\n return "auto" === (i = i && "auto" !== i || !document.defaultView ? i : (t = document.defaultView.getComputedStyle(t, null)) ? t[e] : null) ? null : i;\n }\n function P(t, e, i) {\n t = document.createElement(t);\n return t.className = e || "", i && i.appendChild(t), t;\n }\n function T(t) {\n var e = t.parentNode;\n e && e.removeChild(t);\n }\n function me(t) {\n for (; t.firstChild;) t.removeChild(t.firstChild);\n }\n function fe(t) {\n var e = t.parentNode;\n e && e.lastChild !== t && e.appendChild(t);\n }\n function ge(t) {\n var e = t.parentNode;\n e && e.firstChild !== t && e.insertBefore(t, e.firstChild);\n }\n function ve(t, e) {\n return void 0 !== t.classList ? t.classList.contains(e) : 0 < (t = xe(t)).length && new RegExp("(^|\\\\s)" + e + "(\\\\s|$)").test(t);\n }\n function M(t, e) {\n var i;\n if (void 0 !== t.classList) for (var n = F(e), o = 0, s = n.length; o < s; o++) t.classList.add(n[o]);else ve(t, e) || ye(t, ((i = xe(t)) ? i + " " : "") + e);\n }\n function z(t, e) {\n void 0 !== t.classList ? t.classList.remove(e) : ye(t, W((" " + xe(t) + " ").replace(" " + e + " ", " ")));\n }\n function ye(t, e) {\n void 0 === t.className.baseVal ? t.className = e : t.className.baseVal = e;\n }\n function xe(t) {\n return void 0 === (t = t.correspondingElement ? t.correspondingElement : t).className.baseVal ? t.className : t.className.baseVal;\n }\n function C(t, e) {\n if ("opacity" in t.style) t.style.opacity = e;else if ("filter" in t.style) {\n var i = !1,\n n = "DXImageTransform.Microsoft.Alpha";\n try {\n i = t.filters.item(n);\n } catch (t) {\n if (1 === e) return;\n }\n e = Math.round(100 * e), i ? (i.Enabled = 100 !== e, i.Opacity = e) : t.style.filter += " progid:" + n + "(opacity=" + e + ")";\n }\n }\n function we(t) {\n for (var e = document.documentElement.style, i = 0; i < t.length; i++) if (t[i] in e) return t[i];\n return !1;\n }\n function be(t, e, i) {\n e = e || new p(0, 0);\n t.style[ue] = (b.ie3d ? "translate(" + e.x + "px," + e.y + "px)" : "translate3d(" + e.x + "px," + e.y + "px,0)") + (i ? " scale(" + i + ")" : "");\n }\n function Z(t, e) {\n t._leaflet_pos = e, b.any3d ? be(t, e) : (t.style.left = e.x + "px", t.style.top = e.y + "px");\n }\n function Pe(t) {\n return t._leaflet_pos || new p(0, 0);\n }\n function Le() {\n S(window, "dragstart", O);\n }\n function Te() {\n k(window, "dragstart", O);\n }\n function Me(t) {\n for (; -1 === t.tabIndex;) t = t.parentNode;\n t.style && (ze(), le = (he = t).style.outlineStyle, t.style.outlineStyle = "none", S(window, "keydown", ze));\n }\n function ze() {\n he && (he.style.outlineStyle = le, le = he = void 0, k(window, "keydown", ze));\n }\n function Ce(t) {\n for (; !((t = t.parentNode).offsetWidth && t.offsetHeight || t === document.body););\n return t;\n }\n function Ze(t) {\n var e = t.getBoundingClientRect();\n return {\n x: e.width / t.offsetWidth || 1,\n y: e.height / t.offsetHeight || 1,\n boundingClientRect: e\n };\n }\n ae = "onselectstart" in document ? (re = function () {\n S(window, "selectstart", O);\n }, function () {\n k(window, "selectstart", O);\n }) : (se = we(["userSelect", "WebkitUserSelect", "OUserSelect", "MozUserSelect", "msUserSelect"]), re = function () {\n var t;\n se && (t = document.documentElement.style, oe = t[se], t[se] = "none");\n }, function () {\n se && (document.documentElement.style[se] = oe, oe = void 0);\n });\n pt = {\n __proto__: null,\n TRANSFORM: ue,\n TRANSITION: ce,\n TRANSITION_END: de,\n get: _e,\n getStyle: pe,\n create: P,\n remove: T,\n empty: me,\n toFront: fe,\n toBack: ge,\n hasClass: ve,\n addClass: M,\n removeClass: z,\n setClass: ye,\n getClass: xe,\n setOpacity: C,\n testProp: we,\n setTransform: be,\n setPosition: Z,\n getPosition: Pe,\n get disableTextSelection() {\n return re;\n },\n get enableTextSelection() {\n return ae;\n },\n disableImageDrag: Le,\n enableImageDrag: Te,\n preventOutline: Me,\n restoreOutline: ze,\n getSizedParentNode: Ce,\n getScale: Ze\n };\n function S(t, e, i, n) {\n if (e && "object" == typeof e) for (var o in e) ke(t, o, e[o], i);else for (var s = 0, r = (e = F(e)).length; s < r; s++) ke(t, e[s], i, n);\n return this;\n }\n var E = "_leaflet_events";\n function k(t, e, i, n) {\n if (1 === arguments.length) Se(t), delete t[E];else if (e && "object" == typeof e) for (var o in e) Oe(t, o, e[o], i);else if (e = F(e), 2 === arguments.length) Se(t, function (t) {\n return -1 !== G(e, t);\n });else for (var s = 0, r = e.length; s < r; s++) Oe(t, e[s], i, n);\n return this;\n }\n function Se(t, e) {\n for (var i in t[E]) {\n var n = i.split(/\\d/)[0];\n e && !e(n) || Oe(t, n, null, null, i);\n }\n }\n var Ee = {\n mouseenter: "mouseover",\n mouseleave: "mouseout",\n wheel: !("onwheel" in window) && "mousewheel"\n };\n function ke(e, t, i, n) {\n var o,\n s,\n r = t + h(i) + (n ? "_" + h(n) : "");\n e[E] && e[E][r] || (s = o = function (t) {\n return i.call(n || e, t || window.event);\n }, !b.touchNative && b.pointer && 0 === t.indexOf("touch") ? o = Jt(e, t, o) : b.touch && "dblclick" === t ? o = ne(e, o) : "addEventListener" in e ? "touchstart" === t || "touchmove" === t || "wheel" === t || "mousewheel" === t ? e.addEventListener(Ee[t] || t, o, !!b.passiveEvents && {\n passive: !1\n }) : "mouseenter" === t || "mouseleave" === t ? e.addEventListener(Ee[t], o = function (t) {\n t = t || window.event, We(e, t) && s(t);\n }, !1) : e.addEventListener(t, s, !1) : e.attachEvent("on" + t, o), e[E] = e[E] || {}, e[E][r] = o);\n }\n function Oe(t, e, i, n, o) {\n o = o || e + h(i) + (n ? "_" + h(n) : "");\n var s,\n r,\n i = t[E] && t[E][o];\n i && (!b.touchNative && b.pointer && 0 === e.indexOf("touch") ? (n = t, r = i, Gt[s = e] ? n.removeEventListener(Gt[s], r, !1) : console.warn("wrong event specified:", s)) : b.touch && "dblclick" === e ? (n = i, (r = t).removeEventListener("dblclick", n.dblclick), r.removeEventListener("click", n.simDblclick)) : "removeEventListener" in t ? t.removeEventListener(Ee[e] || e, i, !1) : t.detachEvent("on" + e, i), t[E][o] = null);\n }\n function Ae(t) {\n return t.stopPropagation ? t.stopPropagation() : t.originalEvent ? t.originalEvent._stopped = !0 : t.cancelBubble = !0, this;\n }\n function Be(t) {\n return ke(t, "wheel", Ae), this;\n }\n function Ie(t) {\n return S(t, "mousedown touchstart dblclick contextmenu", Ae), t._leaflet_disable_click = !0, this;\n }\n function O(t) {\n return t.preventDefault ? t.preventDefault() : t.returnValue = !1, this;\n }\n function Re(t) {\n return O(t), Ae(t), this;\n }\n function Ne(t) {\n if (t.composedPath) return t.composedPath();\n for (var e = [], i = t.target; i;) e.push(i), i = i.parentNode;\n return e;\n }\n function De(t, e) {\n var i, n;\n return e ? (n = (i = Ze(e)).boundingClientRect, new p((t.clientX - n.left) / i.x - e.clientLeft, (t.clientY - n.top) / i.y - e.clientTop)) : new p(t.clientX, t.clientY);\n }\n var je = b.linux && b.chrome ? window.devicePixelRatio : b.mac ? 3 * window.devicePixelRatio : 0 < window.devicePixelRatio ? 2 * window.devicePixelRatio : 1;\n function He(t) {\n return b.edge ? t.wheelDeltaY / 2 : t.deltaY && 0 === t.deltaMode ? -t.deltaY / je : 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;\n }\n function We(t, e) {\n var i = e.relatedTarget;\n if (!i) return !0;\n try {\n for (; i && i !== t;) i = i.parentNode;\n } catch (t) {\n return !1;\n }\n return i !== t;\n }\n var mt = {\n __proto__: null,\n on: S,\n off: k,\n stopPropagation: Ae,\n disableScrollPropagation: Be,\n disableClickPropagation: Ie,\n preventDefault: O,\n stop: Re,\n getPropagationPath: Ne,\n getMousePosition: De,\n getWheelDelta: He,\n isExternalTarget: We,\n addListener: S,\n removeListener: k\n },\n Fe = it.extend({\n run: function (t, e, i, n) {\n this.stop(), this._el = t, this._inProgress = !0, this._duration = i || .25, this._easeOutPower = 1 / Math.max(n || .5, .2), this._startPos = Pe(t), this._offset = e.subtract(this._startPos), this._startTime = +new Date(), this.fire("start"), this._animate();\n },\n stop: function () {\n this._inProgress && (this._step(!0), this._complete());\n },\n _animate: function () {\n this._animId = x(this._animate, this), this._step();\n },\n _step: function (t) {\n var e = +new Date() - this._startTime,\n i = 1e3 * this._duration;\n e < i ? this._runFrame(this._easeOut(e / i), t) : (this._runFrame(1), this._complete());\n },\n _runFrame: function (t, e) {\n t = this._startPos.add(this._offset.multiplyBy(t));\n e && t._round(), Z(this._el, t), this.fire("step");\n },\n _complete: function () {\n r(this._animId), this._inProgress = !1, this.fire("end");\n },\n _easeOut: function (t) {\n return 1 - Math.pow(1 - t, this._easeOutPower);\n }\n }),\n A = it.extend({\n options: {\n crs: lt,\n center: void 0,\n zoom: void 0,\n minZoom: void 0,\n maxZoom: void 0,\n layers: [],\n maxBounds: void 0,\n renderer: void 0,\n zoomAnimation: !0,\n zoomAnimationThreshold: 4,\n fadeAnimation: !0,\n markerZoomAnimation: !0,\n transform3DLimit: 8388608,\n zoomSnap: 1,\n zoomDelta: 1,\n trackResize: !0\n },\n initialize: function (t, e) {\n e = c(this, e), this._handlers = [], this._layers = {}, this._zoomBoundLayers = {}, this._sizeChanged = !0, this._initContainer(t), this._initLayout(), this._onResize = a(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(w(e.center), e.zoom, {\n reset: !0\n }), this.callInitHooks(), this._zoomAnimated = ce && b.any3d && !b.mobileOpera && this.options.zoomAnimation, this._zoomAnimated && (this._createAnimProxy(), S(this._proxy, de, this._catchTransitionEnd, this)), this._addLayers(this.options.layers);\n },\n setView: function (t, e, i) {\n if ((e = void 0 === e ? this._zoom : this._limitZoom(e), t = this._limitCenter(w(t), e, this.options.maxBounds), i = i || {}, this._stop(), this._loaded && !i.reset && !0 !== i) && (void 0 !== i.animate && (i.zoom = l({\n animate: i.animate\n }, i.zoom), i.pan = l({\n animate: i.animate,\n duration: i.duration\n }, i.pan)), this._zoom !== e ? this._tryAnimatedZoom && this._tryAnimatedZoom(t, e, i.zoom) : this._tryAnimatedPan(t, i.pan))) return clearTimeout(this._sizeTimer), this;\n return this._resetView(t, e, i.pan && i.pan.noMoveStart), this;\n },\n setZoom: function (t, e) {\n return this._loaded ? this.setView(this.getCenter(), t, {\n zoom: e\n }) : (this._zoom = t, this);\n },\n zoomIn: function (t, e) {\n return t = t || (b.any3d ? this.options.zoomDelta : 1), this.setZoom(this._zoom + t, e);\n },\n zoomOut: function (t, e) {\n return t = t || (b.any3d ? this.options.zoomDelta : 1), this.setZoom(this._zoom - t, e);\n },\n setZoomAround: function (t, e, i) {\n var n = this.getZoomScale(e),\n o = this.getSize().divideBy(2),\n t = (t instanceof p ? t : this.latLngToContainerPoint(t)).subtract(o).multiplyBy(1 - 1 / n),\n n = this.containerPointToLatLng(o.add(t));\n return this.setView(n, e, {\n zoom: i\n });\n },\n _getBoundsCenterZoom: function (t, e) {\n e = e || {}, t = t.getBounds ? t.getBounds() : g(t);\n var i = m(e.paddingTopLeft || e.padding || [0, 0]),\n n = m(e.paddingBottomRight || e.padding || [0, 0]),\n o = this.getBoundsZoom(t, !1, i.add(n));\n return (o = "number" == typeof e.maxZoom ? Math.min(e.maxZoom, o) : o) === 1 / 0 ? {\n center: t.getCenter(),\n zoom: o\n } : (e = n.subtract(i).divideBy(2), n = this.project(t.getSouthWest(), o), i = this.project(t.getNorthEast(), o), {\n center: this.unproject(n.add(i).divideBy(2).add(e), o),\n zoom: o\n });\n },\n fitBounds: function (t, e) {\n if ((t = g(t)).isValid()) return t = this._getBoundsCenterZoom(t, e), this.setView(t.center, t.zoom, e);\n throw new Error("Bounds are not valid.");\n },\n fitWorld: function (t) {\n return this.fitBounds([[-90, -180], [90, 180]], t);\n },\n panTo: function (t, e) {\n return this.setView(t, this._zoom, {\n pan: e\n });\n },\n panBy: function (t, e) {\n var i;\n return e = e || {}, (t = m(t).round()).x || t.y ? (!0 === e.animate || this.getSize().contains(t) ? (this._panAnim || (this._panAnim = new Fe(), this._panAnim.on({\n step: this._onPanTransitionStep,\n end: this._onPanTransitionEnd\n }, this)), e.noMoveStart || this.fire("movestart"), !1 !== e.animate ? (M(this._mapPane, "leaflet-pan-anim"), i = this._getMapPanePos().subtract(t).round(), this._panAnim.run(this._mapPane, i, e.duration || .25, e.easeLinearity)) : (this._rawPanBy(t), this.fire("move").fire("moveend"))) : this._resetView(this.unproject(this.project(this.getCenter()).add(t)), this.getZoom()), this) : this.fire("moveend");\n },\n flyTo: function (n, o, t) {\n if (!1 === (t = t || {}).animate || !b.any3d) return this.setView(n, o, t);\n this._stop();\n var s = this.project(this.getCenter()),\n r = this.project(n),\n e = this.getSize(),\n a = this._zoom,\n h = (n = w(n), o = void 0 === o ? a : o, Math.max(e.x, e.y)),\n i = h * this.getZoomScale(a, o),\n l = r.distanceTo(s) || 1,\n u = 1.42,\n c = u * u;\n function d(t) {\n t = (i * i - h * h + (t ? -1 : 1) * c * c * l * l) / (2 * (t ? i : h) * c * l), t = Math.sqrt(t * t + 1) - t;\n return t < 1e-9 ? -18 : Math.log(t);\n }\n function _(t) {\n return (Math.exp(t) - Math.exp(-t)) / 2;\n }\n function p(t) {\n return (Math.exp(t) + Math.exp(-t)) / 2;\n }\n var m = d(0);\n function f(t) {\n return h * (p(m) * (_(t = m + u * t) / p(t)) - _(m)) / c;\n }\n var g = Date.now(),\n v = (d(1) - m) / u,\n y = t.duration ? 1e3 * t.duration : 1e3 * v * .8;\n return this._moveStart(!0, t.noMoveStart), function t() {\n var e = (Date.now() - g) / y,\n i = (1 - Math.pow(1 - e, 1.5)) * v;\n e <= 1 ? (this._flyToFrame = x(t, this), this._move(this.unproject(s.add(r.subtract(s).multiplyBy(f(i) / l)), a), this.getScaleZoom(h / (e = i, h * (p(m) / p(m + u * e))), a), {\n flyTo: !0\n })) : this._move(n, o)._moveEnd(!0);\n }.call(this), this;\n },\n flyToBounds: function (t, e) {\n t = this._getBoundsCenterZoom(t, e);\n return this.flyTo(t.center, t.zoom, e);\n },\n setMaxBounds: function (t) {\n return t = g(t), this.listens("moveend", this._panInsideMaxBounds) && this.off("moveend", this._panInsideMaxBounds), t.isValid() ? (this.options.maxBounds = t, this._loaded && this._panInsideMaxBounds(), this.on("moveend", this._panInsideMaxBounds)) : (this.options.maxBounds = null, this);\n },\n setMinZoom: function (t) {\n var e = this.options.minZoom;\n return this.options.minZoom = t, this._loaded && e !== t && (this.fire("zoomlevelschange"), this.getZoom() < this.options.minZoom) ? this.setZoom(t) : this;\n },\n setMaxZoom: function (t) {\n var e = this.options.maxZoom;\n return this.options.maxZoom = t, this._loaded && e !== t && (this.fire("zoomlevelschange"), this.getZoom() > this.options.maxZoom) ? this.setZoom(t) : this;\n },\n panInsideBounds: function (t, e) {\n this._enforcingBounds = !0;\n var i = this.getCenter(),\n t = this._limitCenter(i, this._zoom, g(t));\n return i.equals(t) || this.panTo(t, e), this._enforcingBounds = !1, this;\n },\n panInside: function (t, e) {\n var i = m((e = e || {}).paddingTopLeft || e.padding || [0, 0]),\n n = m(e.paddingBottomRight || e.padding || [0, 0]),\n o = this.project(this.getCenter()),\n t = this.project(t),\n s = this.getPixelBounds(),\n i = _([s.min.add(i), s.max.subtract(n)]),\n s = i.getSize();\n return i.contains(t) || (this._enforcingBounds = !0, n = t.subtract(i.getCenter()), i = i.extend(t).getSize().subtract(s), o.x += n.x < 0 ? -i.x : i.x, o.y += n.y < 0 ? -i.y : i.y, this.panTo(this.unproject(o), e), this._enforcingBounds = !1), this;\n },\n invalidateSize: function (t) {\n if (!this._loaded) return this;\n t = l({\n animate: !1,\n pan: !0\n }, !0 === t ? {\n animate: !0\n } : t);\n var e = this.getSize(),\n i = (this._sizeChanged = !0, this._lastCenter = null, this.getSize()),\n n = e.divideBy(2).round(),\n o = i.divideBy(2).round(),\n n = n.subtract(o);\n return n.x || n.y ? (t.animate && t.pan ? this.panBy(n) : (t.pan && this._rawPanBy(n), this.fire("move"), t.debounceMoveend ? (clearTimeout(this._sizeTimer), this._sizeTimer = setTimeout(a(this.fire, this, "moveend"), 200)) : this.fire("moveend")), this.fire("resize", {\n oldSize: e,\n newSize: i\n })) : this;\n },\n stop: function () {\n return this.setZoom(this._limitZoom(this._zoom)), this.options.zoomSnap || this.fire("viewreset"), this._stop();\n },\n locate: function (t) {\n var e, i;\n return t = this._locateOptions = l({\n timeout: 1e4,\n watch: !1\n }, t), "geolocation" in navigator ? (e = a(this._handleGeolocationResponse, this), i = a(this._handleGeolocationError, this), t.watch ? this._locationWatchId = navigator.geolocation.watchPosition(e, i, t) : navigator.geolocation.getCurrentPosition(e, i, t)) : this._handleGeolocationError({\n code: 0,\n message: "Geolocation not supported."\n }), this;\n },\n stopLocate: function () {\n return navigator.geolocation && navigator.geolocation.clearWatch && navigator.geolocation.clearWatch(this._locationWatchId), this._locateOptions && (this._locateOptions.setView = !1), this;\n },\n _handleGeolocationError: function (t) {\n var e;\n this._container._leaflet_id && (e = t.code, t = t.message || (1 === e ? "permission denied" : 2 === e ? "position unavailable" : "timeout"), this._locateOptions.setView && !this._loaded && this.fitWorld(), this.fire("locationerror", {\n code: e,\n message: "Geolocation error: " + t + "."\n }));\n },\n _handleGeolocationResponse: function (t) {\n if (this._container._leaflet_id) {\n var e,\n i,\n n = new v(t.coords.latitude, t.coords.longitude),\n o = n.toBounds(2 * t.coords.accuracy),\n s = this._locateOptions,\n r = (s.setView && (e = this.getBoundsZoom(o), this.setView(n, s.maxZoom ? Math.min(e, s.maxZoom) : e)), {\n latlng: n,\n bounds: o,\n timestamp: t.timestamp\n });\n for (i in t.coords) "number" == typeof t.coords[i] && (r[i] = t.coords[i]);\n this.fire("locationfound", r);\n }\n },\n addHandler: function (t, e) {\n return e && (e = this[t] = new e(this), this._handlers.push(e), this.options[t] && e.enable()), this;\n },\n remove: function () {\n if (this._initEvents(!0), this.options.maxBounds && this.off("moveend", this._panInsideMaxBounds), this._containerId !== this._container._leaflet_id) throw new Error("Map container is being reused by another instance");\n try {\n delete this._container._leaflet_id, delete this._containerId;\n } catch (t) {\n this._container._leaflet_id = void 0, this._containerId = void 0;\n }\n for (var t in void 0 !== this._locationWatchId && this.stopLocate(), this._stop(), T(this._mapPane), this._clearControlPos && this._clearControlPos(), this._resizeRequest && (r(this._resizeRequest), this._resizeRequest = null), this._clearHandlers(), this._loaded && this.fire("unload"), this._layers) this._layers[t].remove();\n for (t in this._panes) T(this._panes[t]);\n return this._layers = [], this._panes = [], delete this._mapPane, delete this._renderer, this;\n },\n createPane: function (t, e) {\n e = P("div", "leaflet-pane" + (t ? " leaflet-" + t.replace("Pane", "") + "-pane" : ""), e || this._mapPane);\n return t && (this._panes[t] = e), e;\n },\n getCenter: function () {\n return this._checkIfLoaded(), this._lastCenter && !this._moved() ? this._lastCenter.clone() : this.layerPointToLatLng(this._getCenterLayerPoint());\n },\n getZoom: function () {\n return this._zoom;\n },\n getBounds: function () {\n var t = this.getPixelBounds();\n return new s(this.unproject(t.getBottomLeft()), this.unproject(t.getTopRight()));\n },\n getMinZoom: function () {\n return void 0 === this.options.minZoom ? this._layersMinZoom || 0 : this.options.minZoom;\n },\n getMaxZoom: function () {\n return void 0 === this.options.maxZoom ? void 0 === this._layersMaxZoom ? 1 / 0 : this._layersMaxZoom : this.options.maxZoom;\n },\n getBoundsZoom: function (t, e, i) {\n t = g(t), i = m(i || [0, 0]);\n var n = this.getZoom() || 0,\n o = this.getMinZoom(),\n s = this.getMaxZoom(),\n r = t.getNorthWest(),\n t = t.getSouthEast(),\n i = this.getSize().subtract(i),\n t = _(this.project(t, n), this.project(r, n)).getSize(),\n r = b.any3d ? this.options.zoomSnap : 1,\n a = i.x / t.x,\n i = i.y / t.y,\n t = e ? Math.max(a, i) : Math.min(a, i),\n n = this.getScaleZoom(t, n);\n return r && (n = Math.round(n / (r / 100)) * (r / 100), n = e ? Math.ceil(n / r) * r : Math.floor(n / r) * r), Math.max(o, Math.min(s, n));\n },\n getSize: function () {\n return this._size && !this._sizeChanged || (this._size = new p(this._container.clientWidth || 0, this._container.clientHeight || 0), this._sizeChanged = !1), this._size.clone();\n },\n getPixelBounds: function (t, e) {\n t = this._getTopLeftPoint(t, e);\n return new f(t, t.add(this.getSize()));\n },\n getPixelOrigin: function () {\n return this._checkIfLoaded(), this._pixelOrigin;\n },\n getPixelWorldBounds: function (t) {\n return this.options.crs.getProjectedBounds(void 0 === t ? this.getZoom() : t);\n },\n getPane: function (t) {\n return "string" == typeof t ? this._panes[t] : t;\n },\n getPanes: function () {\n return this._panes;\n },\n getContainer: function () {\n return this._container;\n },\n getZoomScale: function (t, e) {\n var i = this.options.crs;\n return e = void 0 === e ? this._zoom : e, i.scale(t) / i.scale(e);\n },\n getScaleZoom: function (t, e) {\n var i = this.options.crs,\n t = (e = void 0 === e ? this._zoom : e, i.zoom(t * i.scale(e)));\n return isNaN(t) ? 1 / 0 : t;\n },\n project: function (t, e) {\n return e = void 0 === e ? this._zoom : e, this.options.crs.latLngToPoint(w(t), e);\n },\n unproject: function (t, e) {\n return e = void 0 === e ? this._zoom : e, this.options.crs.pointToLatLng(m(t), e);\n },\n layerPointToLatLng: function (t) {\n t = m(t).add(this.getPixelOrigin());\n return this.unproject(t);\n },\n latLngToLayerPoint: function (t) {\n return this.project(w(t))._round()._subtract(this.getPixelOrigin());\n },\n wrapLatLng: function (t) {\n return this.options.crs.wrapLatLng(w(t));\n },\n wrapLatLngBounds: function (t) {\n return this.options.crs.wrapLatLngBounds(g(t));\n },\n distance: function (t, e) {\n return this.options.crs.distance(w(t), w(e));\n },\n containerPointToLayerPoint: function (t) {\n return m(t).subtract(this._getMapPanePos());\n },\n layerPointToContainerPoint: function (t) {\n return m(t).add(this._getMapPanePos());\n },\n containerPointToLatLng: function (t) {\n t = this.containerPointToLayerPoint(m(t));\n return this.layerPointToLatLng(t);\n },\n latLngToContainerPoint: function (t) {\n return this.layerPointToContainerPoint(this.latLngToLayerPoint(w(t)));\n },\n mouseEventToContainerPoint: function (t) {\n return De(t, this._container);\n },\n mouseEventToLayerPoint: function (t) {\n return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t));\n },\n mouseEventToLatLng: function (t) {\n return this.layerPointToLatLng(this.mouseEventToLayerPoint(t));\n },\n _initContainer: function (t) {\n t = this._container = _e(t);\n if (!t) throw new Error("Map container not found.");\n if (t._leaflet_id) throw new Error("Map container is already initialized.");\n S(t, "scroll", this._onScroll, this), this._containerId = h(t);\n },\n _initLayout: function () {\n var t = this._container,\n e = (this._fadeAnimated = this.options.fadeAnimation && b.any3d, M(t, "leaflet-container" + (b.touch ? " leaflet-touch" : "") + (b.retina ? " leaflet-retina" : "") + (b.ielt9 ? " leaflet-oldie" : "") + (b.safari ? " leaflet-safari" : "") + (this._fadeAnimated ? " leaflet-fade-anim" : "")), pe(t, "position"));\n "absolute" !== e && "relative" !== e && "fixed" !== e && "sticky" !== e && (t.style.position = "relative"), this._initPanes(), this._initControlPos && this._initControlPos();\n },\n _initPanes: function () {\n var t = this._panes = {};\n this._paneRenderers = {}, this._mapPane = this.createPane("mapPane", this._container), Z(this._mapPane, new p(0, 0)), this.createPane("tilePane"), this.createPane("overlayPane"), this.createPane("shadowPane"), this.createPane("markerPane"), this.createPane("tooltipPane"), this.createPane("popupPane"), this.options.markerZoomAnimation || (M(t.markerPane, "leaflet-zoom-hide"), M(t.shadowPane, "leaflet-zoom-hide"));\n },\n _resetView: function (t, e, i) {\n Z(this._mapPane, new p(0, 0));\n var n = !this._loaded,\n o = (this._loaded = !0, e = this._limitZoom(e), this.fire("viewprereset"), this._zoom !== e);\n this._moveStart(o, i)._move(t, e)._moveEnd(o), this.fire("viewreset"), n && this.fire("load");\n },\n _moveStart: function (t, e) {\n return t && this.fire("zoomstart"), e || this.fire("movestart"), this;\n },\n _move: function (t, e, i, n) {\n void 0 === e && (e = this._zoom);\n var o = this._zoom !== e;\n return this._zoom = e, this._lastCenter = t, this._pixelOrigin = this._getNewPixelOrigin(t), n ? i && i.pinch && this.fire("zoom", i) : ((o || i && i.pinch) && this.fire("zoom", i), this.fire("move", i)), this;\n },\n _moveEnd: function (t) {\n return t && this.fire("zoomend"), this.fire("moveend");\n },\n _stop: function () {\n return r(this._flyToFrame), this._panAnim && this._panAnim.stop(), this;\n },\n _rawPanBy: function (t) {\n Z(this._mapPane, this._getMapPanePos().subtract(t));\n },\n _getZoomSpan: function () {\n return this.getMaxZoom() - this.getMinZoom();\n },\n _panInsideMaxBounds: function () {\n this._enforcingBounds || this.panInsideBounds(this.options.maxBounds);\n },\n _checkIfLoaded: function () {\n if (!this._loaded) throw new Error("Set map center and zoom first.");\n },\n _initEvents: function (t) {\n this._targets = {};\n var e = t ? k : S;\n e((this._targets[h(this._container)] = 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), b.any3d && this.options.transform3DLimit && (t ? this.off : this.on).call(this, "moveend", this._onMoveEnd);\n },\n _onResize: function () {\n r(this._resizeRequest), this._resizeRequest = x(function () {\n this.invalidateSize({\n debounceMoveend: !0\n });\n }, this);\n },\n _onScroll: function () {\n this._container.scrollTop = 0, this._container.scrollLeft = 0;\n },\n _onMoveEnd: function () {\n var t = this._getMapPanePos();\n Math.max(Math.abs(t.x), Math.abs(t.y)) >= this.options.transform3DLimit && this._resetView(this.getCenter(), this.getZoom());\n },\n _findEventTargets: function (t, e) {\n for (var i, n = [], o = "mouseout" === e || "mouseover" === e, s = t.target || t.srcElement, r = !1; s;) {\n if ((i = this._targets[h(s)]) && ("click" === e || "preclick" === e) && this._draggableMoved(i)) {\n r = !0;\n break;\n }\n if (i && i.listens(e, !0)) {\n if (o && !We(s, t)) break;\n if (n.push(i), o) break;\n }\n if (s === this._container) break;\n s = s.parentNode;\n }\n return n = n.length || r || o || !this.listens(e, !0) ? n : [this];\n },\n _isClickDisabled: function (t) {\n for (; t && t !== this._container;) {\n if (t._leaflet_disable_click) return !0;\n t = t.parentNode;\n }\n },\n _handleDOMEvent: function (t) {\n var e,\n i = t.target || t.srcElement;\n !this._loaded || i._leaflet_disable_events || "click" === t.type && this._isClickDisabled(i) || ("mousedown" === (e = t.type) && Me(i), this._fireDOMEvent(t, e));\n },\n _mouseEvents: ["click", "dblclick", "mouseover", "mouseout", "contextmenu"],\n _fireDOMEvent: function (t, e, i) {\n "click" === t.type && ((a = l({}, t)).type = "preclick", this._fireDOMEvent(a, a.type, i));\n var n = this._findEventTargets(t, e);\n if (i) {\n for (var o = [], s = 0; s < i.length; s++) i[s].listens(e, !0) && o.push(i[s]);\n n = o.concat(n);\n }\n if (n.length) {\n "contextmenu" === e && O(t);\n var r,\n a = n[0],\n h = {\n originalEvent: t\n };\n for ("keypress" !== t.type && "keydown" !== t.type && "keyup" !== t.type && (r = a.getLatLng && (!a._radius || a._radius <= 10), h.containerPoint = r ? this.latLngToContainerPoint(a.getLatLng()) : this.mouseEventToContainerPoint(t), h.layerPoint = this.containerPointToLayerPoint(h.containerPoint), h.latlng = r ? a.getLatLng() : this.layerPointToLatLng(h.layerPoint)), s = 0; s < n.length; s++) if (n[s].fire(e, h, !0), h.originalEvent._stopped || !1 === n[s].options.bubblingMouseEvents && -1 !== G(this._mouseEvents, e)) return;\n }\n },\n _draggableMoved: function (t) {\n return (t = t.dragging && t.dragging.enabled() ? t : this).dragging && t.dragging.moved() || this.boxZoom && this.boxZoom.moved();\n },\n _clearHandlers: function () {\n for (var t = 0, e = this._handlers.length; t < e; t++) this._handlers[t].disable();\n },\n whenReady: function (t, e) {\n return this._loaded ? t.call(e || this, {\n target: this\n }) : this.on("load", t, e), this;\n },\n _getMapPanePos: function () {\n return Pe(this._mapPane) || new p(0, 0);\n },\n _moved: function () {\n var t = this._getMapPanePos();\n return t && !t.equals([0, 0]);\n },\n _getTopLeftPoint: function (t, e) {\n return (t && void 0 !== e ? this._getNewPixelOrigin(t, e) : this.getPixelOrigin()).subtract(this._getMapPanePos());\n },\n _getNewPixelOrigin: function (t, e) {\n var i = this.getSize()._divideBy(2);\n return this.project(t, e)._subtract(i)._add(this._getMapPanePos())._round();\n },\n _latLngToNewLayerPoint: function (t, e, i) {\n i = this._getNewPixelOrigin(i, e);\n return this.project(t, e)._subtract(i);\n },\n _latLngBoundsToNewLayerBounds: function (t, e, i) {\n i = this._getNewPixelOrigin(i, e);\n return _([this.project(t.getSouthWest(), e)._subtract(i), this.project(t.getNorthWest(), e)._subtract(i), this.project(t.getSouthEast(), e)._subtract(i), this.project(t.getNorthEast(), e)._subtract(i)]);\n },\n _getCenterLayerPoint: function () {\n return this.containerPointToLayerPoint(this.getSize()._divideBy(2));\n },\n _getCenterOffset: function (t) {\n return this.latLngToLayerPoint(t).subtract(this._getCenterLayerPoint());\n },\n _limitCenter: function (t, e, i) {\n var n, o;\n return !i || (n = this.project(t, e), o = this.getSize().divideBy(2), o = new f(n.subtract(o), n.add(o)), o = this._getBoundsOffset(o, i, e), Math.abs(o.x) <= 1 && Math.abs(o.y) <= 1) ? t : this.unproject(n.add(o), e);\n },\n _limitOffset: function (t, e) {\n var i;\n return e ? (i = new f((i = this.getPixelBounds()).min.add(t), i.max.add(t)), t.add(this._getBoundsOffset(i, e))) : t;\n },\n _getBoundsOffset: function (t, e, i) {\n e = _(this.project(e.getNorthEast(), i), this.project(e.getSouthWest(), i)), i = e.min.subtract(t.min), e = e.max.subtract(t.max);\n return new p(this._rebound(i.x, -e.x), this._rebound(i.y, -e.y));\n },\n _rebound: function (t, e) {\n return 0 < t + e ? Math.round(t - e) / 2 : Math.max(0, Math.ceil(t)) - Math.max(0, Math.floor(e));\n },\n _limitZoom: function (t) {\n var e = this.getMinZoom(),\n i = this.getMaxZoom(),\n n = b.any3d ? this.options.zoomSnap : 1;\n return n && (t = Math.round(t / n) * n), Math.max(e, Math.min(i, t));\n },\n _onPanTransitionStep: function () {\n this.fire("move");\n },\n _onPanTransitionEnd: function () {\n z(this._mapPane, "leaflet-pan-anim"), this.fire("moveend");\n },\n _tryAnimatedPan: function (t, e) {\n t = this._getCenterOffset(t)._trunc();\n return !(!0 !== (e && e.animate) && !this.getSize().contains(t)) && (this.panBy(t, e), !0);\n },\n _createAnimProxy: function () {\n var t = this._proxy = P("div", "leaflet-proxy leaflet-zoom-animated");\n this._panes.mapPane.appendChild(t), this.on("zoomanim", function (t) {\n var e = ue,\n i = this._proxy.style[e];\n be(this._proxy, this.project(t.center, t.zoom), this.getZoomScale(t.zoom, 1)), i === this._proxy.style[e] && this._animatingZoom && this._onZoomTransitionEnd();\n }, this), this.on("load moveend", this._animMoveEnd, this), this._on("unload", this._destroyAnimProxy, this);\n },\n _destroyAnimProxy: function () {\n T(this._proxy), this.off("load moveend", this._animMoveEnd, this), delete this._proxy;\n },\n _animMoveEnd: function () {\n var t = this.getCenter(),\n e = this.getZoom();\n be(this._proxy, this.project(t, e), this.getZoomScale(e, 1));\n },\n _catchTransitionEnd: function (t) {\n this._animatingZoom && 0 <= t.propertyName.indexOf("transform") && this._onZoomTransitionEnd();\n },\n _nothingToAnimate: function () {\n return !this._container.getElementsByClassName("leaflet-zoom-animated").length;\n },\n _tryAnimatedZoom: function (t, e, i) {\n if (!this._animatingZoom) {\n if (i = i || {}, !this._zoomAnimated || !1 === i.animate || this._nothingToAnimate() || Math.abs(e - this._zoom) > this.options.zoomAnimationThreshold) return !1;\n var n = this.getZoomScale(e),\n n = this._getCenterOffset(t)._divideBy(1 - 1 / n);\n if (!0 !== i.animate && !this.getSize().contains(n)) return !1;\n x(function () {\n this._moveStart(!0, i.noMoveStart || !1)._animateZoom(t, e, !0);\n }, this);\n }\n return !0;\n },\n _animateZoom: function (t, e, i, n) {\n this._mapPane && (i && (this._animatingZoom = !0, this._animateToCenter = t, this._animateToZoom = e, M(this._mapPane, "leaflet-zoom-anim")), this.fire("zoomanim", {\n center: t,\n zoom: e,\n noUpdate: n\n }), this._tempFireZoomEvent || (this._tempFireZoomEvent = this._zoom !== this._animateToZoom), this._move(this._animateToCenter, this._animateToZoom, void 0, !0), setTimeout(a(this._onZoomTransitionEnd, this), 250));\n },\n _onZoomTransitionEnd: function () {\n this._animatingZoom && (this._mapPane && z(this._mapPane, "leaflet-zoom-anim"), this._animatingZoom = !1, this._move(this._animateToCenter, this._animateToZoom, void 0, !0), this._tempFireZoomEvent && this.fire("zoom"), delete this._tempFireZoomEvent, this.fire("move"), this._moveEnd(!0));\n }\n });\n function Ue(t) {\n return new B(t);\n }\n var B = et.extend({\n options: {\n position: "topright"\n },\n initialize: function (t) {\n c(this, t);\n },\n getPosition: function () {\n return this.options.position;\n },\n setPosition: function (t) {\n var e = this._map;\n return e && e.removeControl(this), this.options.position = t, e && e.addControl(this), this;\n },\n getContainer: function () {\n return this._container;\n },\n addTo: function (t) {\n this.remove(), this._map = t;\n var e = this._container = this.onAdd(t),\n i = this.getPosition(),\n t = t._controlCorners[i];\n return M(e, "leaflet-control"), -1 !== i.indexOf("bottom") ? t.insertBefore(e, t.firstChild) : t.appendChild(e), this._map.on("unload", this.remove, this), this;\n },\n remove: function () {\n return this._map && (T(this._container), this.onRemove && this.onRemove(this._map), this._map.off("unload", this.remove, this), this._map = null), this;\n },\n _refocusOnMap: function (t) {\n this._map && t && 0 < t.screenX && 0 < t.screenY && this._map.getContainer().focus();\n }\n }),\n Ve = (A.include({\n addControl: function (t) {\n return t.addTo(this), this;\n },\n removeControl: function (t) {\n return t.remove(), this;\n },\n _initControlPos: function () {\n var i = this._controlCorners = {},\n n = "leaflet-",\n o = this._controlContainer = P("div", n + "control-container", this._container);\n function t(t, e) {\n i[t + e] = P("div", n + t + " " + n + e, o);\n }\n t("top", "left"), t("top", "right"), t("bottom", "left"), t("bottom", "right");\n },\n _clearControlPos: function () {\n for (var t in this._controlCorners) T(this._controlCorners[t]);\n T(this._controlContainer), delete this._controlCorners, delete this._controlContainer;\n }\n }), B.extend({\n options: {\n collapsed: !0,\n position: "topright",\n autoZIndex: !0,\n hideSingleBase: !1,\n sortLayers: !1,\n sortFunction: function (t, e, i, n) {\n return i < n ? -1 : n < i ? 1 : 0;\n }\n },\n initialize: function (t, e, i) {\n for (var n in c(this, i), this._layerControlInputs = [], this._layers = [], this._lastZIndex = 0, this._handlingClick = !1, this._preventClick = !1, t) this._addLayer(t[n], n);\n for (n in e) this._addLayer(e[n], n, !0);\n },\n onAdd: function (t) {\n this._initLayout(), this._update(), (this._map = t).on("zoomend", this._checkDisabledLayers, this);\n for (var e = 0; e < this._layers.length; e++) this._layers[e].layer.on("add remove", this._onLayerChange, this);\n return this._container;\n },\n addTo: function (t) {\n return B.prototype.addTo.call(this, t), this._expandIfNotCollapsed();\n },\n onRemove: function () {\n this._map.off("zoomend", this._checkDisabledLayers, this);\n for (var t = 0; t < this._layers.length; t++) this._layers[t].layer.off("add remove", this._onLayerChange, this);\n },\n addBaseLayer: function (t, e) {\n return this._addLayer(t, e), this._map ? this._update() : this;\n },\n addOverlay: function (t, e) {\n return this._addLayer(t, e, !0), this._map ? this._update() : this;\n },\n removeLayer: function (t) {\n t.off("add remove", this._onLayerChange, this);\n t = this._getLayer(h(t));\n return t && this._layers.splice(this._layers.indexOf(t), 1), this._map ? this._update() : this;\n },\n expand: function () {\n M(this._container, "leaflet-control-layers-expanded"), this._section.style.height = null;\n var t = this._map.getSize().y - (this._container.offsetTop + 50);\n return t < this._section.clientHeight ? (M(this._section, "leaflet-control-layers-scrollbar"), this._section.style.height = t + "px") : z(this._section, "leaflet-control-layers-scrollbar"), this._checkDisabledLayers(), this;\n },\n collapse: function () {\n return z(this._container, "leaflet-control-layers-expanded"), this;\n },\n _initLayout: function () {\n var t = "leaflet-control-layers",\n e = this._container = P("div", t),\n i = this.options.collapsed,\n n = (e.setAttribute("aria-haspopup", !0), Ie(e), Be(e), this._section = P("section", t + "-list")),\n o = (i && (this._map.on("click", this.collapse, this), S(e, {\n mouseenter: this._expandSafely,\n mouseleave: this.collapse\n }, this)), this._layersLink = P("a", t + "-toggle", e));\n o.href = "#", o.title = "Layers", o.setAttribute("role", "button"), S(o, {\n keydown: function (t) {\n 13 === t.keyCode && this._expandSafely();\n },\n click: function (t) {\n O(t), this._expandSafely();\n }\n }, this), i || this.expand(), this._baseLayersList = P("div", t + "-base", n), this._separator = P("div", t + "-separator", n), this._overlaysList = P("div", t + "-overlays", n), e.appendChild(n);\n },\n _getLayer: function (t) {\n for (var e = 0; e < this._layers.length; e++) if (this._layers[e] && h(this._layers[e].layer) === t) return this._layers[e];\n },\n _addLayer: function (t, e, i) {\n this._map && t.on("add remove", this._onLayerChange, this), this._layers.push({\n layer: t,\n name: e,\n overlay: i\n }), this.options.sortLayers && this._layers.sort(a(function (t, e) {\n return this.options.sortFunction(t.layer, e.layer, t.name, e.name);\n }, this)), this.options.autoZIndex && t.setZIndex && (this._lastZIndex++, t.setZIndex(this._lastZIndex)), this._expandIfNotCollapsed();\n },\n _update: function () {\n if (this._container) {\n me(this._baseLayersList), me(this._overlaysList), this._layerControlInputs = [];\n for (var t, e, i, n = 0, o = 0; o < this._layers.length; o++) i = this._layers[o], this._addItem(i), e = e || i.overlay, t = t || !i.overlay, n += i.overlay ? 0 : 1;\n this.options.hideSingleBase && (this._baseLayersList.style.display = (t = t && 1 < n) ? "" : "none"), this._separator.style.display = e && t ? "" : "none";\n }\n return this;\n },\n _onLayerChange: function (t) {\n this._handlingClick || this._update();\n var e = this._getLayer(h(t.target)),\n t = e.overlay ? "add" === t.type ? "overlayadd" : "overlayremove" : "add" === t.type ? "baselayerchange" : null;\n t && this._map.fire(t, e);\n },\n _createRadioElement: function (t, e) {\n t = \'<input type="radio" class="leaflet-control-layers-selector" name="\' + t + \'"\' + (e ? \' checked="checked"\' : "") + "/>", e = document.createElement("div");\n return e.innerHTML = t, e.firstChild;\n },\n _addItem: function (t) {\n var e,\n i = document.createElement("label"),\n n = this._map.hasLayer(t.layer),\n n = (t.overlay ? ((e = document.createElement("input")).type = "checkbox", e.className = "leaflet-control-layers-selector", e.defaultChecked = n) : e = this._createRadioElement("leaflet-base-layers_" + h(this), n), this._layerControlInputs.push(e), e.layerId = h(t.layer), S(e, "click", this._onInputClick, this), document.createElement("span")),\n o = (n.innerHTML = " " + t.name, document.createElement("span"));\n return i.appendChild(o), o.appendChild(e), o.appendChild(n), (t.overlay ? this._overlaysList : this._baseLayersList).appendChild(i), this._checkDisabledLayers(), i;\n },\n _onInputClick: function () {\n if (!this._preventClick) {\n var t,\n e,\n i = this._layerControlInputs,\n n = [],\n o = [];\n this._handlingClick = !0;\n for (var s = i.length - 1; 0 <= s; s--) t = i[s], e = this._getLayer(t.layerId).layer, t.checked ? n.push(e) : t.checked || o.push(e);\n for (s = 0; s < o.length; s++) this._map.hasLayer(o[s]) && this._map.removeLayer(o[s]);\n for (s = 0; s < n.length; s++) this._map.hasLayer(n[s]) || this._map.addLayer(n[s]);\n this._handlingClick = !1, this._refocusOnMap();\n }\n },\n _checkDisabledLayers: function () {\n for (var t, e, i = this._layerControlInputs, n = this._map.getZoom(), o = i.length - 1; 0 <= o; 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;\n },\n _expandIfNotCollapsed: function () {\n return this._map && !this.options.collapsed && this.expand(), this;\n },\n _expandSafely: function () {\n var t = this._section,\n e = (this._preventClick = !0, S(t, "click", O), this.expand(), this);\n setTimeout(function () {\n k(t, "click", O), e._preventClick = !1;\n });\n }\n })),\n qe = B.extend({\n options: {\n position: "topleft",\n zoomInText: \'<span aria-hidden="true">+</span>\',\n zoomInTitle: "Zoom in",\n zoomOutText: \'<span aria-hidden="true">−</span>\',\n zoomOutTitle: "Zoom out"\n },\n onAdd: function (t) {\n var e = "leaflet-control-zoom",\n i = P("div", e + " leaflet-bar"),\n n = this.options;\n 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;\n },\n onRemove: function (t) {\n t.off("zoomend zoomlevelschange", this._updateDisabled, this);\n },\n disable: function () {\n return this._disabled = !0, this._updateDisabled(), this;\n },\n enable: function () {\n return this._disabled = !1, this._updateDisabled(), this;\n },\n _zoomIn: function (t) {\n !this._disabled && this._map._zoom < this._map.getMaxZoom() && this._map.zoomIn(this._map.options.zoomDelta * (t.shiftKey ? 3 : 1));\n },\n _zoomOut: function (t) {\n !this._disabled && this._map._zoom > this._map.getMinZoom() && this._map.zoomOut(this._map.options.zoomDelta * (t.shiftKey ? 3 : 1));\n },\n _createButton: function (t, e, i, n, o) {\n i = P("a", i, n);\n return i.innerHTML = t, i.href = "#", i.title = e, i.setAttribute("role", "button"), i.setAttribute("aria-label", e), Ie(i), S(i, "click", Re), S(i, "click", o, this), S(i, "click", this._refocusOnMap, this), i;\n },\n _updateDisabled: function () {\n var t = this._map,\n e = "leaflet-disabled";\n z(this._zoomInButton, e), z(this._zoomOutButton, e), this._zoomInButton.setAttribute("aria-disabled", "false"), this._zoomOutButton.setAttribute("aria-disabled", "false"), !this._disabled && t._zoom !== t.getMinZoom() || (M(this._zoomOutButton, e), this._zoomOutButton.setAttribute("aria-disabled", "true")), !this._disabled && t._zoom !== t.getMaxZoom() || (M(this._zoomInButton, e), this._zoomInButton.setAttribute("aria-disabled", "true"));\n }\n }),\n Ge = (A.mergeOptions({\n zoomControl: !0\n }), A.addInitHook(function () {\n this.options.zoomControl && (this.zoomControl = new qe(), this.addControl(this.zoomControl));\n }), B.extend({\n options: {\n position: "bottomleft",\n maxWidth: 100,\n metric: !0,\n imperial: !0\n },\n onAdd: function (t) {\n var e = "leaflet-control-scale",\n i = P("div", e),\n n = this.options;\n return this._addScales(n, e + "-line", i), t.on(n.updateWhenIdle ? "moveend" : "move", this._update, this), t.whenReady(this._update, this), i;\n },\n onRemove: function (t) {\n t.off(this.options.updateWhenIdle ? "moveend" : "move", this._update, this);\n },\n _addScales: function (t, e, i) {\n t.metric && (this._mScale = P("div", e, i)), t.imperial && (this._iScale = P("div", e, i));\n },\n _update: function () {\n var t = this._map,\n e = t.getSize().y / 2,\n t = t.distance(t.containerPointToLatLng([0, e]), t.containerPointToLatLng([this.options.maxWidth, e]));\n this._updateScales(t);\n },\n _updateScales: function (t) {\n this.options.metric && t && this._updateMetric(t), this.options.imperial && t && this._updateImperial(t);\n },\n _updateMetric: function (t) {\n var e = this._getRoundNum(t);\n this._updateScale(this._mScale, e < 1e3 ? e + " m" : e / 1e3 + " km", e / t);\n },\n _updateImperial: function (t) {\n var e,\n i,\n t = 3.2808399 * t;\n 5280 < t ? (i = this._getRoundNum(e = t / 5280), this._updateScale(this._iScale, i + " mi", i / e)) : (i = this._getRoundNum(t), this._updateScale(this._iScale, i + " ft", i / t));\n },\n _updateScale: function (t, e, i) {\n t.style.width = Math.round(this.options.maxWidth * i) + "px", t.innerHTML = e;\n },\n _getRoundNum: function (t) {\n var e = Math.pow(10, (Math.floor(t) + "").length - 1),\n t = t / e;\n return e * (t = 10 <= t ? 10 : 5 <= t ? 5 : 3 <= t ? 3 : 2 <= t ? 2 : 1);\n }\n })),\n Ke = B.extend({\n options: {\n position: "bottomright",\n prefix: \'<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">\' + (b.inlineSvg ? \'<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" class="leaflet-attribution-flag"><path fill="#4C7BE1" d="M0 0h12v4H0z"/><path fill="#FFD500" d="M0 4h12v3H0z"/><path fill="#E0BC00" d="M0 7h12v1H0z"/></svg> \' : "") + "Leaflet</a>"\n },\n initialize: function (t) {\n c(this, t), this._attributions = {};\n },\n onAdd: function (t) {\n for (var e in (t.attributionControl = this)._container = P("div", "leaflet-control-attribution"), Ie(this._container), t._layers) t._layers[e].getAttribution && this.addAttribution(t._layers[e].getAttribution());\n return this._update(), t.on("layeradd", this._addAttribution, this), this._container;\n },\n onRemove: function (t) {\n t.off("layeradd", this._addAttribution, this);\n },\n _addAttribution: function (t) {\n t.layer.getAttribution && (this.addAttribution(t.layer.getAttribution()), t.layer.once("remove", function () {\n this.removeAttribution(t.layer.getAttribution());\n }, this));\n },\n setPrefix: function (t) {\n return this.options.prefix = t, this._update(), this;\n },\n addAttribution: function (t) {\n return t && (this._attributions[t] || (this._attributions[t] = 0), this._attributions[t]++, this._update()), this;\n },\n removeAttribution: function (t) {\n return t && this._attributions[t] && (this._attributions[t]--, this._update()), this;\n },\n _update: function () {\n if (this._map) {\n var t,\n e = [];\n for (t in this._attributions) this._attributions[t] && e.push(t);\n var i = [];\n this.options.prefix && i.push(this.options.prefix), e.length && i.push(e.join(", ")), this._container.innerHTML = i.join(\' <span aria-hidden="true">|</span> \');\n }\n }\n }),\n n = (A.mergeOptions({\n attributionControl: !0\n }), A.addInitHook(function () {\n this.options.attributionControl && new Ke().addTo(this);\n }), B.Layers = Ve, B.Zoom = qe, B.Scale = Ge, B.Attribution = Ke, Ue.layers = function (t, e, i) {\n return new Ve(t, e, i);\n }, Ue.zoom = function (t) {\n return new qe(t);\n }, Ue.scale = function (t) {\n return new Ge(t);\n }, Ue.attribution = function (t) {\n return new Ke(t);\n }, et.extend({\n initialize: function (t) {\n this._map = t;\n },\n enable: function () {\n return this._enabled || (this._enabled = !0, this.addHooks()), this;\n },\n disable: function () {\n return this._enabled && (this._enabled = !1, this.removeHooks()), this;\n },\n enabled: function () {\n return !!this._enabled;\n }\n })),\n ft = (n.addTo = function (t, e) {\n return t.addHandler(e, this), this;\n }, {\n Events: e\n }),\n Ye = b.touch ? "touchstart mousedown" : "mousedown",\n Xe = it.extend({\n options: {\n clickTolerance: 3\n },\n initialize: function (t, e, i, n) {\n c(this, n), this._element = t, this._dragStartTarget = e || t, this._preventOutline = i;\n },\n enable: function () {\n this._enabled || (S(this._dragStartTarget, Ye, this._onDown, this), this._enabled = !0);\n },\n disable: function () {\n this._enabled && (Xe._dragging === this && this.finishDrag(!0), k(this._dragStartTarget, Ye, this._onDown, this), this._enabled = !1, this._moved = !1);\n },\n _onDown: function (t) {\n var e, i;\n this._enabled && (this._moved = !1, ve(this._element, "leaflet-zoom-anim") || (t.touches && 1 !== t.touches.length ? Xe._dragging === this && this.finishDrag() : Xe._dragging || t.shiftKey || 1 !== t.which && 1 !== t.button && !t.touches || ((Xe._dragging = this)._preventOutline && Me(this._element), Le(), re(), this._moving || (this.fire("down"), i = t.touches ? t.touches[0] : t, e = Ce(this._element), this._startPoint = new p(i.clientX, i.clientY), this._startPos = Pe(this._element), this._parentScale = Ze(e), i = "mousedown" === t.type, S(document, i ? "mousemove" : "touchmove", this._onMove, this), S(document, i ? "mouseup" : "touchend touchcancel", this._onUp, this)))));\n },\n _onMove: function (t) {\n var e;\n this._enabled && (t.touches && 1 < t.touches.length ? this._moved = !0 : !(e = new p((e = t.touches && 1 === t.touches.length ? t.touches[0] : t).clientX, e.clientY)._subtract(this._startPoint)).x && !e.y || Math.abs(e.x) + Math.abs(e.y) < this.options.clickTolerance || (e.x /= this._parentScale.x, e.y /= this._parentScale.y, O(t), this._moved || (this.fire("dragstart"), this._moved = !0, M(document.body, "leaflet-dragging"), this._lastTarget = t.target || t.srcElement, window.SVGElementInstance && this._lastTarget instanceof window.SVGElementInstance && (this._lastTarget = this._lastTarget.correspondingUseElement), M(this._lastTarget, "leaflet-drag-target")), this._newPos = this._startPos.add(e), this._moving = !0, this._lastEvent = t, this._updatePosition()));\n },\n _updatePosition: function () {\n var t = {\n originalEvent: this._lastEvent\n };\n this.fire("predrag", t), Z(this._element, this._newPos), this.fire("drag", t);\n },\n _onUp: function () {\n this._enabled && this.finishDrag();\n },\n finishDrag: function (t) {\n z(document.body, "leaflet-dragging"), this._lastTarget && (z(this._lastTarget, "leaflet-drag-target"), this._lastTarget = null), k(document, "mousemove touchmove", this._onMove, this), k(document, "mouseup touchend touchcancel", this._onUp, this), Te(), ae();\n var e = this._moved && this._moving;\n this._moving = !1, Xe._dragging = !1, e && this.fire("dragend", {\n noInertia: t,\n distance: this._newPos.distanceTo(this._startPos)\n });\n }\n });\n function Je(t, e, i) {\n for (var n, o, s, r, a, h, l, u = [1, 4, 2, 8], c = 0, d = t.length; c < d; c++) t[c]._code = si(t[c], e);\n for (s = 0; s < 4; s++) {\n for (h = u[s], n = [], c = 0, o = (d = t.length) - 1; c < d; o = c++) r = t[c], a = t[o], r._code & h ? a._code & h || ((l = oi(a, r, h, e, i))._code = si(l, e), n.push(l)) : (a._code & h && ((l = oi(a, r, h, e, i))._code = si(l, e), n.push(l)), n.push(r));\n t = n;\n }\n return t;\n }\n function $e(t, e) {\n var i, n, o, s, r, a, h;\n if (!t || 0 === t.length) throw new Error("latlngs not passed");\n I(t) || (console.warn("latlngs are not flat! Only the first ring will be used"), t = t[0]);\n for (var l = w([0, 0]), u = g(t), c = (u.getNorthWest().distanceTo(u.getSouthWest()) * u.getNorthEast().distanceTo(u.getNorthWest()) < 1700 && (l = Qe(t)), t.length), d = [], _ = 0; _ < c; _++) {\n var p = w(t[_]);\n d.push(e.project(w([p.lat - l.lat, p.lng - l.lng])));\n }\n for (_ = r = a = h = 0, i = c - 1; _ < c; i = _++) n = d[_], o = d[i], s = n.y * o.x - o.y * n.x, a += (n.x + o.x) * s, h += (n.y + o.y) * s, r += 3 * s;\n u = 0 === r ? d[0] : [a / r, h / r], u = e.unproject(m(u));\n return w([u.lat + l.lat, u.lng + l.lng]);\n }\n function Qe(t) {\n for (var e = 0, i = 0, n = 0, o = 0; o < t.length; o++) {\n var s = w(t[o]);\n e += s.lat, i += s.lng, n++;\n }\n return w([e / n, i / n]);\n }\n var ti,\n gt = {\n __proto__: null,\n clipPolygon: Je,\n polygonCenter: $e,\n centroid: Qe\n };\n function ei(t, e) {\n if (e && t.length) {\n var i = t = function (t, e) {\n for (var i = [t[0]], n = 1, o = 0, s = t.length; n < s; n++) (function (t, e) {\n var i = e.x - t.x,\n e = e.y - t.y;\n return i * i + e * e;\n })(t[n], t[o]) > e && (i.push(t[n]), o = n);\n o < s - 1 && i.push(t[s - 1]);\n return i;\n }(t, e = e * e),\n n = i.length,\n o = new (typeof Uint8Array != void 0 + "" ? Uint8Array : Array)(n);\n o[0] = o[n - 1] = 1, function t(e, i, n, o, s) {\n var r,\n a,\n h,\n l = 0;\n for (a = o + 1; a <= s - 1; a++) h = ri(e[a], e[o], e[s], !0), l < h && (r = a, l = h);\n n < l && (i[r] = 1, t(e, i, n, o, r), t(e, i, n, r, s));\n }(i, o, e, 0, n - 1);\n var s,\n r = [];\n for (s = 0; s < n; s++) o[s] && r.push(i[s]);\n return r;\n }\n return t.slice();\n }\n function ii(t, e, i) {\n return Math.sqrt(ri(t, e, i, !0));\n }\n function ni(t, e, i, n, o) {\n var s,\n r,\n a,\n h = n ? ti : si(t, i),\n l = si(e, i);\n for (ti = l;;) {\n if (!(h | l)) return [t, e];\n if (h & l) return !1;\n a = si(r = oi(t, e, s = h || l, i, o), i), s === h ? (t = r, h = a) : (e = r, l = a);\n }\n }\n function oi(t, e, i, n, o) {\n var s,\n r,\n a = e.x - t.x,\n e = e.y - t.y,\n h = n.min,\n n = n.max;\n return 8 & i ? (s = t.x + a * (n.y - t.y) / e, r = n.y) : 4 & i ? (s = t.x + a * (h.y - t.y) / e, r = h.y) : 2 & i ? (s = n.x, r = t.y + e * (n.x - t.x) / a) : 1 & i && (s = h.x, r = t.y + e * (h.x - t.x) / a), new p(s, r, o);\n }\n function si(t, e) {\n var i = 0;\n 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;\n }\n function ri(t, e, i, n) {\n var o = e.x,\n e = e.y,\n s = i.x - o,\n r = i.y - e,\n a = s * s + r * r;\n return 0 < a && (1 < (a = ((t.x - o) * s + (t.y - e) * r) / a) ? (o = i.x, e = i.y) : 0 < a && (o += s * a, e += r * a)), s = t.x - o, r = t.y - e, n ? s * s + r * r : new p(o, e);\n }\n function I(t) {\n return !d(t[0]) || "object" != typeof t[0][0] && void 0 !== t[0][0];\n }\n function ai(t) {\n return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."), I(t);\n }\n function hi(t, e) {\n var i, n, o, s, r, a;\n if (!t || 0 === t.length) throw new Error("latlngs not passed");\n I(t) || (console.warn("latlngs are not flat! Only the first ring will be used"), t = t[0]);\n for (var h = w([0, 0]), l = g(t), u = (l.getNorthWest().distanceTo(l.getSouthWest()) * l.getNorthEast().distanceTo(l.getNorthWest()) < 1700 && (h = Qe(t)), t.length), c = [], d = 0; d < u; d++) {\n var _ = w(t[d]);\n c.push(e.project(w([_.lat - h.lat, _.lng - h.lng])));\n }\n for (i = d = 0; d < u - 1; d++) i += c[d].distanceTo(c[d + 1]) / 2;\n if (0 === i) a = c[0];else for (n = d = 0; d < u - 1; d++) if (o = c[d], s = c[d + 1], i < (n += r = o.distanceTo(s))) {\n a = [s.x - (r = (n - i) / r) * (s.x - o.x), s.y - r * (s.y - o.y)];\n break;\n }\n l = e.unproject(m(a));\n return w([l.lat + h.lat, l.lng + h.lng]);\n }\n var vt = {\n __proto__: null,\n simplify: ei,\n pointToSegmentDistance: ii,\n closestPointOnSegment: function (t, e, i) {\n return ri(t, e, i);\n },\n clipSegment: ni,\n _getEdgeIntersection: oi,\n _getBitCode: si,\n _sqClosestPointOnSegment: ri,\n isFlat: I,\n _flat: ai,\n polylineCenter: hi\n },\n yt = {\n project: function (t) {\n return new p(t.lng, t.lat);\n },\n unproject: function (t) {\n return new v(t.y, t.x);\n },\n bounds: new f([-180, -90], [180, 90])\n },\n xt = {\n R: 6378137,\n R_MINOR: 6356752.314245179,\n bounds: new f([-20037508.34279, -15496570.73972], [20037508.34279, 18764656.23138]),\n project: function (t) {\n var e = Math.PI / 180,\n i = this.R,\n n = t.lat * e,\n o = this.R_MINOR / i,\n o = Math.sqrt(1 - o * o),\n s = o * Math.sin(n),\n s = Math.tan(Math.PI / 4 - n / 2) / Math.pow((1 - s) / (1 + s), o / 2),\n n = -i * Math.log(Math.max(s, 1e-10));\n return new p(t.lng * e * i, n);\n },\n unproject: function (t) {\n 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), h = 0, l = .1; h < 15 && 1e-7 < Math.abs(l); h++) e = s * Math.sin(a), e = Math.pow((1 - e) / (1 + e), s / 2), a += l = Math.PI / 2 - 2 * Math.atan(r * e) - a;\n return new v(a * i, t.x * i / n);\n }\n },\n wt = {\n __proto__: null,\n LonLat: yt,\n Mercator: xt,\n SphericalMercator: rt\n },\n Pt = l({}, st, {\n code: "EPSG:3395",\n projection: xt,\n transformation: ht(bt = .5 / (Math.PI * xt.R), .5, -bt, .5)\n }),\n li = l({}, st, {\n code: "EPSG:4326",\n projection: yt,\n transformation: ht(1 / 180, 1, -1 / 180, .5)\n }),\n Lt = l({}, ot, {\n projection: yt,\n transformation: ht(1, 0, -1, 0),\n scale: function (t) {\n return Math.pow(2, t);\n },\n zoom: function (t) {\n return Math.log(t) / Math.LN2;\n },\n distance: function (t, e) {\n var i = e.lng - t.lng,\n e = e.lat - t.lat;\n return Math.sqrt(i * i + e * e);\n },\n infinite: !0\n }),\n o = (ot.Earth = st, ot.EPSG3395 = Pt, ot.EPSG3857 = lt, ot.EPSG900913 = ut, ot.EPSG4326 = li, ot.Simple = Lt, it.extend({\n options: {\n pane: "overlayPane",\n attribution: null,\n bubblingMouseEvents: !0\n },\n addTo: function (t) {\n return t.addLayer(this), this;\n },\n remove: function () {\n return this.removeFrom(this._map || this._mapToAdd);\n },\n removeFrom: function (t) {\n return t && t.removeLayer(this), this;\n },\n getPane: function (t) {\n return this._map.getPane(t ? this.options[t] || t : this.options.pane);\n },\n addInteractiveTarget: function (t) {\n return this._map._targets[h(t)] = this;\n },\n removeInteractiveTarget: function (t) {\n return delete this._map._targets[h(t)], this;\n },\n getAttribution: function () {\n return this.options.attribution;\n },\n _layerAdd: function (t) {\n var e,\n i = t.target;\n i.hasLayer(this) && (this._map = i, this._zoomAnimated = i._zoomAnimated, this.getEvents && (e = this.getEvents(), i.on(e, this), this.once("remove", function () {\n i.off(e, this);\n }, this)), this.onAdd(i), this.fire("add"), i.fire("layeradd", {\n layer: this\n }));\n }\n })),\n ui = (A.include({\n addLayer: function (t) {\n var e;\n if (t._layerAdd) return e = h(t), this._layers[e] || ((this._layers[e] = t)._mapToAdd = this, t.beforeAdd && t.beforeAdd(this), this.whenReady(t._layerAdd, t)), this;\n throw new Error("The provided object is not a Layer.");\n },\n removeLayer: function (t) {\n var e = h(t);\n return this._layers[e] && (this._loaded && t.onRemove(this), delete this._layers[e], this._loaded && (this.fire("layerremove", {\n layer: t\n }), t.fire("remove")), t._map = t._mapToAdd = null), this;\n },\n hasLayer: function (t) {\n return h(t) in this._layers;\n },\n eachLayer: function (t, e) {\n for (var i in this._layers) t.call(e, this._layers[i]);\n return this;\n },\n _addLayers: function (t) {\n for (var e = 0, i = (t = t ? d(t) ? t : [t] : []).length; e < i; e++) this.addLayer(t[e]);\n },\n _addZoomLimit: function (t) {\n isNaN(t.options.maxZoom) && isNaN(t.options.minZoom) || (this._zoomBoundLayers[h(t)] = t, this._updateZoomLevels());\n },\n _removeZoomLimit: function (t) {\n t = h(t);\n this._zoomBoundLayers[t] && (delete this._zoomBoundLayers[t], this._updateZoomLevels());\n },\n _updateZoomLevels: function () {\n var t,\n e = 1 / 0,\n i = -1 / 0,\n n = this._getZoomSpan();\n for (t in this._zoomBoundLayers) var o = this._zoomBoundLayers[t].options, e = void 0 === o.minZoom ? e : Math.min(e, o.minZoom), i = void 0 === o.maxZoom ? i : Math.max(i, o.maxZoom);\n this._layersMaxZoom = i === -1 / 0 ? void 0 : i, this._layersMinZoom = e === 1 / 0 ? void 0 : e, n !== 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);\n }\n }), o.extend({\n initialize: function (t, e) {\n var i, n;\n if (c(this, e), this._layers = {}, t) for (i = 0, n = t.length; i < n; i++) this.addLayer(t[i]);\n },\n addLayer: function (t) {\n var e = this.getLayerId(t);\n return this._layers[e] = t, this._map && this._map.addLayer(t), this;\n },\n removeLayer: function (t) {\n t = t in this._layers ? t : this.getLayerId(t);\n return this._map && this._layers[t] && this._map.removeLayer(this._layers[t]), delete this._layers[t], this;\n },\n hasLayer: function (t) {\n return ("number" == typeof t ? t : this.getLayerId(t)) in this._layers;\n },\n clearLayers: function () {\n return this.eachLayer(this.removeLayer, this);\n },\n invoke: function (t) {\n var e,\n i,\n n = Array.prototype.slice.call(arguments, 1);\n for (e in this._layers) (i = this._layers[e])[t] && i[t].apply(i, n);\n return this;\n },\n onAdd: function (t) {\n this.eachLayer(t.addLayer, t);\n },\n onRemove: function (t) {\n this.eachLayer(t.removeLayer, t);\n },\n eachLayer: function (t, e) {\n for (var i in this._layers) t.call(e, this._layers[i]);\n return this;\n },\n getLayer: function (t) {\n return this._layers[t];\n },\n getLayers: function () {\n var t = [];\n return this.eachLayer(t.push, t), t;\n },\n setZIndex: function (t) {\n return this.invoke("setZIndex", t);\n },\n getLayerId: h\n })),\n ci = ui.extend({\n addLayer: function (t) {\n return this.hasLayer(t) ? this : (t.addEventParent(this), ui.prototype.addLayer.call(this, t), this.fire("layeradd", {\n layer: t\n }));\n },\n removeLayer: function (t) {\n return this.hasLayer(t) ? ((t = t in this._layers ? this._layers[t] : t).removeEventParent(this), ui.prototype.removeLayer.call(this, t), this.fire("layerremove", {\n layer: t\n })) : this;\n },\n setStyle: function (t) {\n return this.invoke("setStyle", t);\n },\n bringToFront: function () {\n return this.invoke("bringToFront");\n },\n bringToBack: function () {\n return this.invoke("bringToBack");\n },\n getBounds: function () {\n var t,\n e = new s();\n for (t in this._layers) {\n var i = this._layers[t];\n e.extend(i.getBounds ? i.getBounds() : i.getLatLng());\n }\n return e;\n }\n }),\n di = et.extend({\n options: {\n popupAnchor: [0, 0],\n tooltipAnchor: [0, 0],\n crossOrigin: !1\n },\n initialize: function (t) {\n c(this, t);\n },\n createIcon: function (t) {\n return this._createIcon("icon", t);\n },\n createShadow: function (t) {\n return this._createIcon("shadow", t);\n },\n _createIcon: function (t, e) {\n var i = this._getIconUrl(t);\n if (i) return i = this._createImg(i, e && "IMG" === e.tagName ? e : null), this._setIconStyles(i, t), !this.options.crossOrigin && "" !== this.options.crossOrigin || (i.crossOrigin = !0 === this.options.crossOrigin ? "" : this.options.crossOrigin), i;\n if ("icon" === t) throw new Error("iconUrl not set in Icon options (see the docs).");\n return null;\n },\n _setIconStyles: function (t, e) {\n var i = this.options,\n n = i[e + "Size"],\n n = m(n = "number" == typeof n ? [n, n] : n),\n o = m("shadow" === e && i.shadowAnchor || i.iconAnchor || n && n.divideBy(2, !0));\n t.className = "leaflet-marker-" + e + " " + (i.className || ""), o && (t.style.marginLeft = -o.x + "px", t.style.marginTop = -o.y + "px"), n && (t.style.width = n.x + "px", t.style.height = n.y + "px");\n },\n _createImg: function (t, e) {\n return (e = e || document.createElement("img")).src = t, e;\n },\n _getIconUrl: function (t) {\n return b.retina && this.options[t + "RetinaUrl"] || this.options[t + "Url"];\n }\n });\n var _i = di.extend({\n options: {\n iconUrl: "marker-icon.png",\n iconRetinaUrl: "marker-icon-2x.png",\n shadowUrl: "marker-shadow.png",\n iconSize: [25, 41],\n iconAnchor: [12, 41],\n popupAnchor: [1, -34],\n tooltipAnchor: [16, -28],\n shadowSize: [41, 41]\n },\n _getIconUrl: function (t) {\n return "string" != typeof _i.imagePath && (_i.imagePath = this._detectIconPath()), (this.options.imagePath || _i.imagePath) + di.prototype._getIconUrl.call(this, t);\n },\n _stripUrl: function (t) {\n function e(t, e, i) {\n return (e = e.exec(t)) && e[i];\n }\n return (t = e(t, /^url\\(([\'"])?(.+)\\1\\)$/, 2)) && e(t, /^(.*)marker-icon\\.png$/, 1);\n },\n _detectIconPath: function () {\n var t = P("div", "leaflet-default-icon-path", document.body),\n e = pe(t, "background-image") || pe(t, "backgroundImage");\n return document.body.removeChild(t), (e = this._stripUrl(e)) ? e : (t = document.querySelector(\'link[href$="leaflet.css"]\')) ? t.href.substring(0, t.href.length - "leaflet.css".length - 1) : "";\n }\n }),\n pi = n.extend({\n initialize: function (t) {\n this._marker = t;\n },\n addHooks: function () {\n var t = this._marker._icon;\n this._draggable || (this._draggable = new Xe(t, t, !0)), this._draggable.on({\n dragstart: this._onDragStart,\n predrag: this._onPreDrag,\n drag: this._onDrag,\n dragend: this._onDragEnd\n }, this).enable(), M(t, "leaflet-marker-draggable");\n },\n removeHooks: function () {\n this._draggable.off({\n dragstart: this._onDragStart,\n predrag: this._onPreDrag,\n drag: this._onDrag,\n dragend: this._onDragEnd\n }, this).disable(), this._marker._icon && z(this._marker._icon, "leaflet-marker-draggable");\n },\n moved: function () {\n return this._draggable && this._draggable._moved;\n },\n _adjustPan: function (t) {\n var e = this._marker,\n i = e._map,\n n = this._marker.options.autoPanSpeed,\n o = this._marker.options.autoPanPadding,\n s = Pe(e._icon),\n r = i.getPixelBounds(),\n a = i.getPixelOrigin(),\n a = _(r.min._subtract(a).add(o), r.max._subtract(a).subtract(o));\n a.contains(s) || (o = m((Math.max(a.max.x, s.x) - a.max.x) / (r.max.x - a.max.x) - (Math.min(a.min.x, s.x) - a.min.x) / (r.min.x - a.min.x), (Math.max(a.max.y, s.y) - a.max.y) / (r.max.y - a.max.y) - (Math.min(a.min.y, s.y) - a.min.y) / (r.min.y - a.min.y)).multiplyBy(n), i.panBy(o, {\n animate: !1\n }), this._draggable._newPos._add(o), this._draggable._startPos._add(o), Z(e._icon, this._draggable._newPos), this._onDrag(t), this._panRequest = x(this._adjustPan.bind(this, t)));\n },\n _onDragStart: function () {\n this._oldLatLng = this._marker.getLatLng(), this._marker.closePopup && this._marker.closePopup(), this._marker.fire("movestart").fire("dragstart");\n },\n _onPreDrag: function (t) {\n this._marker.options.autoPan && (r(this._panRequest), this._panRequest = x(this._adjustPan.bind(this, t)));\n },\n _onDrag: function (t) {\n var e = this._marker,\n i = e._shadow,\n n = Pe(e._icon),\n o = e._map.layerPointToLatLng(n);\n i && Z(i, n), e._latlng = o, t.latlng = o, t.oldLatLng = this._oldLatLng, e.fire("move", t).fire("drag", t);\n },\n _onDragEnd: function (t) {\n r(this._panRequest), delete this._oldLatLng, this._marker.fire("moveend").fire("dragend", t);\n }\n }),\n mi = o.extend({\n options: {\n icon: new _i(),\n interactive: !0,\n keyboard: !0,\n title: "",\n alt: "Marker",\n zIndexOffset: 0,\n opacity: 1,\n riseOnHover: !1,\n riseOffset: 250,\n pane: "markerPane",\n shadowPane: "shadowPane",\n bubblingMouseEvents: !1,\n autoPanOnFocus: !0,\n draggable: !1,\n autoPan: !1,\n autoPanPadding: [50, 50],\n autoPanSpeed: 10\n },\n initialize: function (t, e) {\n c(this, e), this._latlng = w(t);\n },\n onAdd: function (t) {\n this._zoomAnimated = this._zoomAnimated && t.options.markerZoomAnimation, this._zoomAnimated && t.on("zoomanim", this._animateZoom, this), this._initIcon(), this.update();\n },\n onRemove: function (t) {\n 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();\n },\n getEvents: function () {\n return {\n zoom: this.update,\n viewreset: this.update\n };\n },\n getLatLng: function () {\n return this._latlng;\n },\n setLatLng: function (t) {\n var e = this._latlng;\n return this._latlng = w(t), this.update(), this.fire("move", {\n oldLatLng: e,\n latlng: this._latlng\n });\n },\n setZIndexOffset: function (t) {\n return this.options.zIndexOffset = t, this.update();\n },\n getIcon: function () {\n return this.options.icon;\n },\n setIcon: function (t) {\n return this.options.icon = t, this._map && (this._initIcon(), this.update()), this._popup && this.bindPopup(this._popup, this._popup.options), this;\n },\n getElement: function () {\n return this._icon;\n },\n update: function () {\n var t;\n return this._icon && this._map && (t = this._map.latLngToLayerPoint(this._latlng).round(), this._setPos(t)), this;\n },\n _initIcon: function () {\n var t = this.options,\n e = "leaflet-zoom-" + (this._zoomAnimated ? "animated" : "hide"),\n i = t.icon.createIcon(this._icon),\n n = !1,\n i = (i !== this._icon && (this._icon && this._removeIcon(), n = !0, t.title && (i.title = t.title), "IMG" === i.tagName && (i.alt = t.alt || "")), M(i, e), t.keyboard && (i.tabIndex = "0", i.setAttribute("role", "button")), this._icon = i, t.riseOnHover && this.on({\n mouseover: this._bringToFront,\n mouseout: this._resetZIndex\n }), this.options.autoPanOnFocus && S(i, "focus", this._panOnFocus, this), t.icon.createShadow(this._shadow)),\n o = !1;\n i !== this._shadow && (this._removeShadow(), o = !0), i && (M(i, e), i.alt = ""), this._shadow = i, t.opacity < 1 && this._updateOpacity(), n && this.getPane().appendChild(this._icon), this._initInteraction(), i && o && this.getPane(t.shadowPane).appendChild(this._shadow);\n },\n _removeIcon: function () {\n this.options.riseOnHover && this.off({\n mouseover: this._bringToFront,\n mouseout: this._resetZIndex\n }), this.options.autoPanOnFocus && k(this._icon, "focus", this._panOnFocus, this), T(this._icon), this.removeInteractiveTarget(this._icon), this._icon = null;\n },\n _removeShadow: function () {\n this._shadow && T(this._shadow), this._shadow = null;\n },\n _setPos: function (t) {\n this._icon && Z(this._icon, t), this._shadow && Z(this._shadow, t), this._zIndex = t.y + this.options.zIndexOffset, this._resetZIndex();\n },\n _updateZIndex: function (t) {\n this._icon && (this._icon.style.zIndex = this._zIndex + t);\n },\n _animateZoom: function (t) {\n t = this._map._latLngToNewLayerPoint(this._latlng, t.zoom, t.center).round();\n this._setPos(t);\n },\n _initInteraction: function () {\n var t;\n this.options.interactive && (M(this._icon, "leaflet-interactive"), this.addInteractiveTarget(this._icon), pi && (t = this.options.draggable, this.dragging && (t = this.dragging.enabled(), this.dragging.disable()), this.dragging = new pi(this), t && this.dragging.enable()));\n },\n setOpacity: function (t) {\n return this.options.opacity = t, this._map && this._updateOpacity(), this;\n },\n _updateOpacity: function () {\n var t = this.options.opacity;\n this._icon && C(this._icon, t), this._shadow && C(this._shadow, t);\n },\n _bringToFront: function () {\n this._updateZIndex(this.options.riseOffset);\n },\n _resetZIndex: function () {\n this._updateZIndex(0);\n },\n _panOnFocus: function () {\n var t,\n e,\n i = this._map;\n i && (t = (e = this.options.icon.options).iconSize ? m(e.iconSize) : m(0, 0), e = e.iconAnchor ? m(e.iconAnchor) : m(0, 0), i.panInside(this._latlng, {\n paddingTopLeft: e,\n paddingBottomRight: t.subtract(e)\n }));\n },\n _getPopupAnchor: function () {\n return this.options.icon.options.popupAnchor;\n },\n _getTooltipAnchor: function () {\n return this.options.icon.options.tooltipAnchor;\n }\n });\n var fi = o.extend({\n options: {\n stroke: !0,\n color: "#3388ff",\n weight: 3,\n opacity: 1,\n lineCap: "round",\n lineJoin: "round",\n dashArray: null,\n dashOffset: null,\n fill: !1,\n fillColor: null,\n fillOpacity: .2,\n fillRule: "evenodd",\n interactive: !0,\n bubblingMouseEvents: !0\n },\n beforeAdd: function (t) {\n this._renderer = t.getRenderer(this);\n },\n onAdd: function () {\n this._renderer._initPath(this), this._reset(), this._renderer._addPath(this);\n },\n onRemove: function () {\n this._renderer._removePath(this);\n },\n redraw: function () {\n return this._map && this._renderer._updatePath(this), this;\n },\n setStyle: function (t) {\n return c(this, t), this._renderer && (this._renderer._updateStyle(this), this.options.stroke && t && Object.prototype.hasOwnProperty.call(t, "weight") && this._updateBounds()), this;\n },\n bringToFront: function () {\n return this._renderer && this._renderer._bringToFront(this), this;\n },\n bringToBack: function () {\n return this._renderer && this._renderer._bringToBack(this), this;\n },\n getElement: function () {\n return this._path;\n },\n _reset: function () {\n this._project(), this._update();\n },\n _clickTolerance: function () {\n return (this.options.stroke ? this.options.weight / 2 : 0) + (this._renderer.options.tolerance || 0);\n }\n }),\n gi = fi.extend({\n options: {\n fill: !0,\n radius: 10\n },\n initialize: function (t, e) {\n c(this, e), this._latlng = w(t), this._radius = this.options.radius;\n },\n setLatLng: function (t) {\n var e = this._latlng;\n return this._latlng = w(t), this.redraw(), this.fire("move", {\n oldLatLng: e,\n latlng: this._latlng\n });\n },\n getLatLng: function () {\n return this._latlng;\n },\n setRadius: function (t) {\n return this.options.radius = this._radius = t, this.redraw();\n },\n getRadius: function () {\n return this._radius;\n },\n setStyle: function (t) {\n var e = t && t.radius || this._radius;\n return fi.prototype.setStyle.call(this, t), this.setRadius(e), this;\n },\n _project: function () {\n this._point = this._map.latLngToLayerPoint(this._latlng), this._updateBounds();\n },\n _updateBounds: function () {\n var t = this._radius,\n e = this._radiusY || t,\n i = this._clickTolerance(),\n t = [t + i, e + i];\n this._pxBounds = new f(this._point.subtract(t), this._point.add(t));\n },\n _update: function () {\n this._map && this._updatePath();\n },\n _updatePath: function () {\n this._renderer._updateCircle(this);\n },\n _empty: function () {\n return this._radius && !this._renderer._bounds.intersects(this._pxBounds);\n },\n _containsPoint: function (t) {\n return t.distanceTo(this._point) <= this._radius + this._clickTolerance();\n }\n });\n var vi = gi.extend({\n initialize: function (t, e, i) {\n if (c(this, e = "number" == typeof e ? l({}, i, {\n radius: e\n }) : e), this._latlng = w(t), isNaN(this.options.radius)) throw new Error("Circle radius cannot be NaN");\n this._mRadius = this.options.radius;\n },\n setRadius: function (t) {\n return this._mRadius = t, this.redraw();\n },\n getRadius: function () {\n return this._mRadius;\n },\n getBounds: function () {\n var t = [this._radius, this._radiusY || this._radius];\n return new s(this._map.layerPointToLatLng(this._point.subtract(t)), this._map.layerPointToLatLng(this._point.add(t)));\n },\n setStyle: fi.prototype.setStyle,\n _project: function () {\n var t,\n e,\n i,\n n,\n o,\n s = this._latlng.lng,\n r = this._latlng.lat,\n a = this._map,\n h = a.options.crs;\n h.distance === st.distance ? (n = Math.PI / 180, o = this._mRadius / st.R / n, t = a.project([r + o, s]), e = a.project([r - o, s]), e = t.add(e).divideBy(2), i = a.unproject(e).lat, n = Math.acos((Math.cos(o * n) - Math.sin(r * n) * Math.sin(i * n)) / (Math.cos(r * n) * Math.cos(i * n))) / n, !isNaN(n) && 0 !== n || (n = o / Math.cos(Math.PI / 180 * r)), this._point = e.subtract(a.getPixelOrigin()), this._radius = isNaN(n) ? 0 : e.x - a.project([i, s - n]).x, this._radiusY = e.y - t.y) : (o = h.unproject(h.project(this._latlng).subtract([this._mRadius, 0])), this._point = a.latLngToLayerPoint(this._latlng), this._radius = this._point.x - a.latLngToLayerPoint(o).x), this._updateBounds();\n }\n });\n var yi = fi.extend({\n options: {\n smoothFactor: 1,\n noClip: !1\n },\n initialize: function (t, e) {\n c(this, e), this._setLatLngs(t);\n },\n getLatLngs: function () {\n return this._latlngs;\n },\n setLatLngs: function (t) {\n return this._setLatLngs(t), this.redraw();\n },\n isEmpty: function () {\n return !this._latlngs.length;\n },\n closestLayerPoint: function (t) {\n for (var e = 1 / 0, i = null, n = ri, o = 0, s = this._parts.length; o < s; o++) for (var r = this._parts[o], a = 1, h = r.length; a < h; a++) {\n var l,\n u,\n c = n(t, l = r[a - 1], u = r[a], !0);\n c < e && (e = c, i = n(t, l, u));\n }\n return i && (i.distance = Math.sqrt(e)), i;\n },\n getCenter: function () {\n if (this._map) return hi(this._defaultShape(), this._map.options.crs);\n throw new Error("Must add layer to map before using getCenter()");\n },\n getBounds: function () {\n return this._bounds;\n },\n addLatLng: function (t, e) {\n return e = e || this._defaultShape(), t = w(t), e.push(t), this._bounds.extend(t), this.redraw();\n },\n _setLatLngs: function (t) {\n this._bounds = new s(), this._latlngs = this._convertLatLngs(t);\n },\n _defaultShape: function () {\n return I(this._latlngs) ? this._latlngs : this._latlngs[0];\n },\n _convertLatLngs: function (t) {\n for (var e = [], i = I(t), n = 0, o = t.length; n < o; n++) i ? (e[n] = w(t[n]), this._bounds.extend(e[n])) : e[n] = this._convertLatLngs(t[n]);\n return e;\n },\n _project: function () {\n var t = new f();\n this._rings = [], this._projectLatlngs(this._latlngs, this._rings, t), this._bounds.isValid() && t.isValid() && (this._rawPxBounds = t, this._updateBounds());\n },\n _updateBounds: function () {\n var t = this._clickTolerance(),\n t = new p(t, t);\n this._rawPxBounds && (this._pxBounds = new f([this._rawPxBounds.min.subtract(t), this._rawPxBounds.max.add(t)]));\n },\n _projectLatlngs: function (t, e, i) {\n var n,\n o,\n s = t[0] instanceof v,\n r = t.length;\n if (s) {\n for (o = [], n = 0; n < r; n++) o[n] = this._map.latLngToLayerPoint(t[n]), i.extend(o[n]);\n e.push(o);\n } else for (n = 0; n < r; n++) this._projectLatlngs(t[n], e, i);\n },\n _clipPoints: function () {\n var t = this._renderer._bounds;\n if (this._parts = [], this._pxBounds && this._pxBounds.intersects(t)) if (this.options.noClip) this._parts = this._rings;else for (var e, i, n, o, s = this._parts, r = 0, a = 0, h = this._rings.length; r < h; r++) for (e = 0, i = (o = this._rings[r]).length; e < i - 1; e++) (n = ni(o[e], o[e + 1], t, e, !0)) && (s[a] = s[a] || [], s[a].push(n[0]), n[1] === o[e + 1] && e !== i - 2 || (s[a].push(n[1]), a++));\n },\n _simplifyPoints: function () {\n for (var t = this._parts, e = this.options.smoothFactor, i = 0, n = t.length; i < n; i++) t[i] = ei(t[i], e);\n },\n _update: function () {\n this._map && (this._clipPoints(), this._simplifyPoints(), this._updatePath());\n },\n _updatePath: function () {\n this._renderer._updatePoly(this);\n },\n _containsPoint: function (t, e) {\n var i,\n n,\n o,\n s,\n r,\n a,\n h = this._clickTolerance();\n if (this._pxBounds && this._pxBounds.contains(t)) for (i = 0, s = this._parts.length; i < s; i++) for (n = 0, o = (r = (a = this._parts[i]).length) - 1; n < r; o = n++) if ((e || 0 !== n) && ii(t, a[o], a[n]) <= h) return !0;\n return !1;\n }\n });\n yi._flat = ai;\n var xi = yi.extend({\n options: {\n fill: !0\n },\n isEmpty: function () {\n return !this._latlngs.length || !this._latlngs[0].length;\n },\n getCenter: function () {\n if (this._map) return $e(this._defaultShape(), this._map.options.crs);\n throw new Error("Must add layer to map before using getCenter()");\n },\n _convertLatLngs: function (t) {\n var t = yi.prototype._convertLatLngs.call(this, t),\n e = t.length;\n return 2 <= e && t[0] instanceof v && t[0].equals(t[e - 1]) && t.pop(), t;\n },\n _setLatLngs: function (t) {\n yi.prototype._setLatLngs.call(this, t), I(this._latlngs) && (this._latlngs = [this._latlngs]);\n },\n _defaultShape: function () {\n return (I(this._latlngs[0]) ? this._latlngs : this._latlngs[0])[0];\n },\n _clipPoints: function () {\n var t = this._renderer._bounds,\n e = this.options.weight,\n e = new p(e, e),\n t = new f(t.min.subtract(e), t.max.add(e));\n if (this._parts = [], this._pxBounds && this._pxBounds.intersects(t)) if (this.options.noClip) this._parts = this._rings;else for (var i, n = 0, o = this._rings.length; n < o; n++) (i = Je(this._rings[n], t, !0)).length && this._parts.push(i);\n },\n _updatePath: function () {\n this._renderer._updatePoly(this, !0);\n },\n _containsPoint: function (t) {\n var e,\n i,\n n,\n o,\n s,\n r,\n a,\n h,\n l = !1;\n if (!this._pxBounds || !this._pxBounds.contains(t)) return !1;\n for (o = 0, a = this._parts.length; o < a; o++) for (s = 0, r = (h = (e = this._parts[o]).length) - 1; s < h; 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);\n return l || yi.prototype._containsPoint.call(this, t, !0);\n }\n });\n var wi = ci.extend({\n initialize: function (t, e) {\n c(this, e), this._layers = {}, t && this.addData(t);\n },\n addData: function (t) {\n var e,\n i,\n n,\n o = d(t) ? t : t.features;\n if (o) {\n for (e = 0, i = o.length; e < i; e++) ((n = o[e]).geometries || n.geometry || n.features || n.coordinates) && this.addData(n);\n return this;\n }\n var s,\n r = this.options;\n return (!r.filter || r.filter(t)) && (s = bi(t, r)) ? (s.feature = Zi(t), s.defaultOptions = s.options, this.resetStyle(s), r.onEachFeature && r.onEachFeature(t, s), this.addLayer(s)) : this;\n },\n resetStyle: function (t) {\n return void 0 === t ? this.eachLayer(this.resetStyle, this) : (t.options = l({}, t.defaultOptions), this._setLayerStyle(t, this.options.style), this);\n },\n setStyle: function (e) {\n return this.eachLayer(function (t) {\n this._setLayerStyle(t, e);\n }, this);\n },\n _setLayerStyle: function (t, e) {\n t.setStyle && ("function" == typeof e && (e = e(t.feature)), t.setStyle(e));\n }\n });\n function bi(t, e) {\n var i,\n n,\n o,\n s,\n r = "Feature" === t.type ? t.geometry : t,\n a = r ? r.coordinates : null,\n h = [],\n l = e && e.pointToLayer,\n u = e && e.coordsToLatLng || Li;\n if (!a && !r) return null;\n switch (r.type) {\n case "Point":\n return Pi(l, t, i = u(a), e);\n case "MultiPoint":\n for (o = 0, s = a.length; o < s; o++) i = u(a[o]), h.push(Pi(l, t, i, e));\n return new ci(h);\n case "LineString":\n case "MultiLineString":\n return n = Ti(a, "LineString" === r.type ? 0 : 1, u), new yi(n, e);\n case "Polygon":\n case "MultiPolygon":\n return n = Ti(a, "Polygon" === r.type ? 1 : 2, u), new xi(n, e);\n case "GeometryCollection":\n for (o = 0, s = r.geometries.length; o < s; o++) {\n var c = bi({\n geometry: r.geometries[o],\n type: "Feature",\n properties: t.properties\n }, e);\n c && h.push(c);\n }\n return new ci(h);\n case "FeatureCollection":\n for (o = 0, s = r.features.length; o < s; o++) {\n var d = bi(r.features[o], e);\n d && h.push(d);\n }\n return new ci(h);\n default:\n throw new Error("Invalid GeoJSON object.");\n }\n }\n function Pi(t, e, i, n) {\n return t ? t(e, i) : new mi(i, n && n.markersInheritOptions && n);\n }\n function Li(t) {\n return new v(t[1], t[0], t[2]);\n }\n function Ti(t, e, i) {\n for (var n, o = [], s = 0, r = t.length; s < r; s++) n = e ? Ti(t[s], e - 1, i) : (i || Li)(t[s]), o.push(n);\n return o;\n }\n function Mi(t, e) {\n return void 0 !== (t = w(t)).alt ? [i(t.lng, e), i(t.lat, e), i(t.alt, e)] : [i(t.lng, e), i(t.lat, e)];\n }\n function zi(t, e, i, n) {\n for (var o = [], s = 0, r = t.length; s < r; s++) o.push(e ? zi(t[s], I(t[s]) ? 0 : e - 1, i, n) : Mi(t[s], n));\n return !e && i && 0 < o.length && o.push(o[0].slice()), o;\n }\n function Ci(t, e) {\n return t.feature ? l({}, t.feature, {\n geometry: e\n }) : Zi(e);\n }\n function Zi(t) {\n return "Feature" === t.type || "FeatureCollection" === t.type ? t : {\n type: "Feature",\n properties: {},\n geometry: t\n };\n }\n Tt = {\n toGeoJSON: function (t) {\n return Ci(this, {\n type: "Point",\n coordinates: Mi(this.getLatLng(), t)\n });\n }\n };\n function Si(t, e) {\n return new wi(t, e);\n }\n mi.include(Tt), vi.include(Tt), gi.include(Tt), yi.include({\n toGeoJSON: function (t) {\n var e = !I(this._latlngs);\n return Ci(this, {\n type: (e ? "Multi" : "") + "LineString",\n coordinates: zi(this._latlngs, e ? 1 : 0, !1, t)\n });\n }\n }), xi.include({\n toGeoJSON: function (t) {\n var e = !I(this._latlngs),\n i = e && !I(this._latlngs[0]),\n t = zi(this._latlngs, i ? 2 : e ? 1 : 0, !0, t);\n return Ci(this, {\n type: (i ? "Multi" : "") + "Polygon",\n coordinates: t = e ? t : [t]\n });\n }\n }), ui.include({\n toMultiPoint: function (e) {\n var i = [];\n return this.eachLayer(function (t) {\n i.push(t.toGeoJSON(e).geometry.coordinates);\n }), Ci(this, {\n type: "MultiPoint",\n coordinates: i\n });\n },\n toGeoJSON: function (e) {\n var i,\n n,\n t = this.feature && this.feature.geometry && this.feature.geometry.type;\n return "MultiPoint" === t ? this.toMultiPoint(e) : (i = "GeometryCollection" === t, n = [], this.eachLayer(function (t) {\n t.toGeoJSON && (t = t.toGeoJSON(e), i ? n.push(t.geometry) : "FeatureCollection" === (t = Zi(t)).type ? n.push.apply(n, t.features) : n.push(t));\n }), i ? Ci(this, {\n geometries: n,\n type: "GeometryCollection"\n }) : {\n type: "FeatureCollection",\n features: n\n });\n }\n });\n var Mt = Si,\n Ei = o.extend({\n options: {\n opacity: 1,\n alt: "",\n interactive: !1,\n crossOrigin: !1,\n errorOverlayUrl: "",\n zIndex: 1,\n className: ""\n },\n initialize: function (t, e, i) {\n this._url = t, this._bounds = g(e), c(this, i);\n },\n onAdd: function () {\n this._image || (this._initImage(), this.options.opacity < 1 && this._updateOpacity()), this.options.interactive && (M(this._image, "leaflet-interactive"), this.addInteractiveTarget(this._image)), this.getPane().appendChild(this._image), this._reset();\n },\n onRemove: function () {\n T(this._image), this.options.interactive && this.removeInteractiveTarget(this._image);\n },\n setOpacity: function (t) {\n return this.options.opacity = t, this._image && this._updateOpacity(), this;\n },\n setStyle: function (t) {\n return t.opacity && this.setOpacity(t.opacity), this;\n },\n bringToFront: function () {\n return this._map && fe(this._image), this;\n },\n bringToBack: function () {\n return this._map && ge(this._image), this;\n },\n setUrl: function (t) {\n return this._url = t, this._image && (this._image.src = t), this;\n },\n setBounds: function (t) {\n return this._bounds = g(t), this._map && this._reset(), this;\n },\n getEvents: function () {\n var t = {\n zoom: this._reset,\n viewreset: this._reset\n };\n return this._zoomAnimated && (t.zoomanim = this._animateZoom), t;\n },\n setZIndex: function (t) {\n return this.options.zIndex = t, this._updateZIndex(), this;\n },\n getBounds: function () {\n return this._bounds;\n },\n getElement: function () {\n return this._image;\n },\n _initImage: function () {\n var t = "IMG" === this._url.tagName,\n e = this._image = t ? this._url : P("img");\n M(e, "leaflet-image-layer"), this._zoomAnimated && M(e, "leaflet-zoom-animated"), this.options.className && M(e, this.options.className), e.onselectstart = u, e.onmousemove = u, e.onload = a(this.fire, this, "load"), e.onerror = a(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);\n },\n _animateZoom: function (t) {\n var e = this._map.getZoomScale(t.zoom),\n t = this._map._latLngBoundsToNewLayerBounds(this._bounds, t.zoom, t.center).min;\n be(this._image, t, e);\n },\n _reset: function () {\n var t = this._image,\n e = new f(this._map.latLngToLayerPoint(this._bounds.getNorthWest()), this._map.latLngToLayerPoint(this._bounds.getSouthEast())),\n i = e.getSize();\n Z(t, e.min), t.style.width = i.x + "px", t.style.height = i.y + "px";\n },\n _updateOpacity: function () {\n C(this._image, this.options.opacity);\n },\n _updateZIndex: function () {\n this._image && void 0 !== this.options.zIndex && null !== this.options.zIndex && (this._image.style.zIndex = this.options.zIndex);\n },\n _overlayOnError: function () {\n this.fire("error");\n var t = this.options.errorOverlayUrl;\n t && this._url !== t && (this._url = t, this._image.src = t);\n },\n getCenter: function () {\n return this._bounds.getCenter();\n }\n }),\n ki = Ei.extend({\n options: {\n autoplay: !0,\n loop: !0,\n keepAspectRatio: !0,\n muted: !1,\n playsInline: !0\n },\n _initImage: function () {\n var t = "VIDEO" === this._url.tagName,\n e = this._image = t ? this._url : P("video");\n if (M(e, "leaflet-image-layer"), this._zoomAnimated && M(e, "leaflet-zoom-animated"), this.options.className && M(e, this.options.className), e.onselectstart = u, e.onmousemove = u, e.onloadeddata = a(this.fire, this, "load"), t) {\n for (var i = e.getElementsByTagName("source"), n = [], o = 0; o < i.length; o++) n.push(i[o].src);\n this._url = 0 < i.length ? n : [e.src];\n } else {\n d(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, e.playsInline = !!this.options.playsInline;\n for (var s = 0; s < this._url.length; s++) {\n var r = P("source");\n r.src = this._url[s], e.appendChild(r);\n }\n }\n }\n });\n var Oi = Ei.extend({\n _initImage: function () {\n var t = this._image = this._url;\n M(t, "leaflet-image-layer"), this._zoomAnimated && M(t, "leaflet-zoom-animated"), this.options.className && M(t, this.options.className), t.onselectstart = u, t.onmousemove = u;\n }\n });\n var Ai = o.extend({\n options: {\n interactive: !1,\n offset: [0, 0],\n className: "",\n pane: void 0,\n content: ""\n },\n initialize: function (t, e) {\n t && (t instanceof v || d(t)) ? (this._latlng = w(t), c(this, e)) : (c(this, t), this._source = e), this.options.content && (this._content = this.options.content);\n },\n openOn: function (t) {\n return (t = arguments.length ? t : this._source._map).hasLayer(this) || t.addLayer(this), this;\n },\n close: function () {\n return this._map && this._map.removeLayer(this), this;\n },\n toggle: function (t) {\n return this._map ? this.close() : (arguments.length ? this._source = t : t = this._source, this._prepareOpen(), this.openOn(t._map)), this;\n },\n onAdd: function (t) {\n this._zoomAnimated = t._zoomAnimated, this._container || this._initLayout(), t._fadeAnimated && C(this._container, 0), clearTimeout(this._removeTimeout), this.getPane().appendChild(this._container), this.update(), t._fadeAnimated && C(this._container, 1), this.bringToFront(), this.options.interactive && (M(this._container, "leaflet-interactive"), this.addInteractiveTarget(this._container));\n },\n onRemove: function (t) {\n t._fadeAnimated ? (C(this._container, 0), this._removeTimeout = setTimeout(a(T, void 0, this._container), 200)) : T(this._container), this.options.interactive && (z(this._container, "leaflet-interactive"), this.removeInteractiveTarget(this._container));\n },\n getLatLng: function () {\n return this._latlng;\n },\n setLatLng: function (t) {\n return this._latlng = w(t), this._map && (this._updatePosition(), this._adjustPan()), this;\n },\n getContent: function () {\n return this._content;\n },\n setContent: function (t) {\n return this._content = t, this.update(), this;\n },\n getElement: function () {\n return this._container;\n },\n update: function () {\n this._map && (this._container.style.visibility = "hidden", this._updateContent(), this._updateLayout(), this._updatePosition(), this._container.style.visibility = "", this._adjustPan());\n },\n getEvents: function () {\n var t = {\n zoom: this._updatePosition,\n viewreset: this._updatePosition\n };\n return this._zoomAnimated && (t.zoomanim = this._animateZoom), t;\n },\n isOpen: function () {\n return !!this._map && this._map.hasLayer(this);\n },\n bringToFront: function () {\n return this._map && fe(this._container), this;\n },\n bringToBack: function () {\n return this._map && ge(this._container), this;\n },\n _prepareOpen: function (t) {\n if (!(i = this._source)._map) return !1;\n if (i instanceof ci) {\n var e,\n i = null,\n n = this._source._layers;\n for (e in n) if (n[e]._map) {\n i = n[e];\n break;\n }\n if (!i) return !1;\n this._source = i;\n }\n if (!t) if (i.getCenter) t = i.getCenter();else if (i.getLatLng) t = i.getLatLng();else {\n if (!i.getBounds) throw new Error("Unable to get source layer LatLng.");\n t = i.getBounds().getCenter();\n }\n return this.setLatLng(t), this._map && this.update(), !0;\n },\n _updateContent: function () {\n if (this._content) {\n var t = this._contentNode,\n e = "function" == typeof this._content ? this._content(this._source || this) : this._content;\n if ("string" == typeof e) t.innerHTML = e;else {\n for (; t.hasChildNodes();) t.removeChild(t.firstChild);\n t.appendChild(e);\n }\n this.fire("contentupdate");\n }\n },\n _updatePosition: function () {\n var t, e, i;\n this._map && (e = this._map.latLngToLayerPoint(this._latlng), t = m(this.options.offset), i = this._getAnchor(), this._zoomAnimated ? Z(this._container, e.add(i)) : t = t.add(e).add(i), e = this._containerBottom = -t.y, i = this._containerLeft = -Math.round(this._containerWidth / 2) + t.x, this._container.style.bottom = e + "px", this._container.style.left = i + "px");\n },\n _getAnchor: function () {\n return [0, 0];\n }\n }),\n Bi = (A.include({\n _initOverlay: function (t, e, i, n) {\n var o = e;\n return o instanceof t || (o = new t(n).setContent(e)), i && o.setLatLng(i), o;\n }\n }), o.include({\n _initOverlay: function (t, e, i, n) {\n var o = i;\n return o instanceof t ? (c(o, n), o._source = this) : (o = e && !n ? e : new t(n, this)).setContent(i), o;\n }\n }), Ai.extend({\n options: {\n pane: "popupPane",\n offset: [0, 7],\n maxWidth: 300,\n minWidth: 50,\n maxHeight: null,\n autoPan: !0,\n autoPanPaddingTopLeft: null,\n autoPanPaddingBottomRight: null,\n autoPanPadding: [5, 5],\n keepInView: !1,\n closeButton: !0,\n autoClose: !0,\n closeOnEscapeKey: !0,\n className: ""\n },\n openOn: function (t) {\n return !(t = arguments.length ? t : this._source._map).hasLayer(this) && t._popup && t._popup.options.autoClose && t.removeLayer(t._popup), t._popup = this, Ai.prototype.openOn.call(this, t);\n },\n onAdd: function (t) {\n Ai.prototype.onAdd.call(this, t), t.fire("popupopen", {\n popup: this\n }), this._source && (this._source.fire("popupopen", {\n popup: this\n }, !0), this._source instanceof fi || this._source.on("preclick", Ae));\n },\n onRemove: function (t) {\n Ai.prototype.onRemove.call(this, t), t.fire("popupclose", {\n popup: this\n }), this._source && (this._source.fire("popupclose", {\n popup: this\n }, !0), this._source instanceof fi || this._source.off("preclick", Ae));\n },\n getEvents: function () {\n var t = Ai.prototype.getEvents.call(this);\n 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;\n },\n _initLayout: function () {\n var t = "leaflet-popup",\n e = this._container = P("div", t + " " + (this.options.className || "") + " leaflet-zoom-animated"),\n i = this._wrapper = P("div", t + "-content-wrapper", e);\n this._contentNode = P("div", t + "-content", i), Ie(e), Be(this._contentNode), S(e, "contextmenu", Ae), this._tipContainer = P("div", t + "-tip-container", e), this._tip = P("div", t + "-tip", this._tipContainer), this.options.closeButton && ((i = this._closeButton = P("a", t + "-close-button", e)).setAttribute("role", "button"), i.setAttribute("aria-label", "Close popup"), i.href = "#close", i.innerHTML = \'<span aria-hidden="true">×</span>\', S(i, "click", function (t) {\n O(t), this.close();\n }, this));\n },\n _updateLayout: function () {\n var t = this._contentNode,\n e = t.style,\n i = (e.width = "", e.whiteSpace = "nowrap", t.offsetWidth),\n i = Math.min(i, this.options.maxWidth),\n i = (i = Math.max(i, this.options.minWidth), e.width = i + 1 + "px", e.whiteSpace = "", e.height = "", t.offsetHeight),\n n = this.options.maxHeight,\n o = "leaflet-popup-scrolled";\n (n && n < i ? (e.height = n + "px", M) : z)(t, o), this._containerWidth = this._container.offsetWidth;\n },\n _animateZoom: function (t) {\n var t = this._map._latLngToNewLayerPoint(this._latlng, t.zoom, t.center),\n e = this._getAnchor();\n Z(this._container, t.add(e));\n },\n _adjustPan: function () {\n var t, e, i, n, o, s, r, a;\n this.options.autoPan && (this._map._panAnim && this._map._panAnim.stop(), this._autopanning ? this._autopanning = !1 : (t = this._map, e = parseInt(pe(this._container, "marginBottom"), 10) || 0, e = this._container.offsetHeight + e, a = this._containerWidth, (i = new p(this._containerLeft, -e - this._containerBottom))._add(Pe(this._container)), i = t.layerPointToContainerPoint(i), o = m(this.options.autoPanPadding), n = m(this.options.autoPanPaddingTopLeft || o), o = m(this.options.autoPanPaddingBottomRight || o), s = t.getSize(), r = 0, i.x + a + o.x > s.x && (r = i.x + a - s.x + o.x), i.x - r - n.x < (a = 0) && (r = i.x - n.x), i.y + e + o.y > s.y && (a = i.y + e - s.y + o.y), i.y - a - n.y < 0 && (a = i.y - n.y), (r || a) && (this.options.keepInView && (this._autopanning = !0), t.fire("autopanstart").panBy([r, a]))));\n },\n _getAnchor: function () {\n return m(this._source && this._source._getPopupAnchor ? this._source._getPopupAnchor() : [0, 0]);\n }\n })),\n Ii = (A.mergeOptions({\n closePopupOnClick: !0\n }), A.include({\n openPopup: function (t, e, i) {\n return this._initOverlay(Bi, t, e, i).openOn(this), this;\n },\n closePopup: function (t) {\n return (t = arguments.length ? t : this._popup) && t.close(), this;\n }\n }), o.include({\n bindPopup: function (t, e) {\n return this._popup = this._initOverlay(Bi, this._popup, t, e), this._popupHandlersAdded || (this.on({\n click: this._openPopup,\n keypress: this._onKeyPress,\n remove: this.closePopup,\n move: this._movePopup\n }), this._popupHandlersAdded = !0), this;\n },\n unbindPopup: function () {\n return this._popup && (this.off({\n click: this._openPopup,\n keypress: this._onKeyPress,\n remove: this.closePopup,\n move: this._movePopup\n }), this._popupHandlersAdded = !1, this._popup = null), this;\n },\n openPopup: function (t) {\n return this._popup && (this instanceof ci || (this._popup._source = this), this._popup._prepareOpen(t || this._latlng) && this._popup.openOn(this._map)), this;\n },\n closePopup: function () {\n return this._popup && this._popup.close(), this;\n },\n togglePopup: function () {\n return this._popup && this._popup.toggle(this), this;\n },\n isPopupOpen: function () {\n return !!this._popup && this._popup.isOpen();\n },\n setPopupContent: function (t) {\n return this._popup && this._popup.setContent(t), this;\n },\n getPopup: function () {\n return this._popup;\n },\n _openPopup: function (t) {\n var e;\n this._popup && this._map && (Re(t), e = t.layer || t.target, this._popup._source !== e || e instanceof fi ? (this._popup._source = e, this.openPopup(t.latlng)) : this._map.hasLayer(this._popup) ? this.closePopup() : this.openPopup(t.latlng));\n },\n _movePopup: function (t) {\n this._popup.setLatLng(t.latlng);\n },\n _onKeyPress: function (t) {\n 13 === t.originalEvent.keyCode && this._openPopup(t);\n }\n }), Ai.extend({\n options: {\n pane: "tooltipPane",\n offset: [0, 0],\n direction: "auto",\n permanent: !1,\n sticky: !1,\n opacity: .9\n },\n onAdd: function (t) {\n Ai.prototype.onAdd.call(this, t), this.setOpacity(this.options.opacity), t.fire("tooltipopen", {\n tooltip: this\n }), this._source && (this.addEventParent(this._source), this._source.fire("tooltipopen", {\n tooltip: this\n }, !0));\n },\n onRemove: function (t) {\n Ai.prototype.onRemove.call(this, t), t.fire("tooltipclose", {\n tooltip: this\n }), this._source && (this.removeEventParent(this._source), this._source.fire("tooltipclose", {\n tooltip: this\n }, !0));\n },\n getEvents: function () {\n var t = Ai.prototype.getEvents.call(this);\n return this.options.permanent || (t.preclick = this.close), t;\n },\n _initLayout: function () {\n var t = "leaflet-tooltip " + (this.options.className || "") + " leaflet-zoom-" + (this._zoomAnimated ? "animated" : "hide");\n this._contentNode = this._container = P("div", t), this._container.setAttribute("role", "tooltip"), this._container.setAttribute("id", "leaflet-tooltip-" + h(this));\n },\n _updateLayout: function () {},\n _adjustPan: function () {},\n _setPosition: function (t) {\n var e,\n i = this._map,\n n = this._container,\n o = i.latLngToContainerPoint(i.getCenter()),\n i = i.layerPointToContainerPoint(t),\n s = this.options.direction,\n r = n.offsetWidth,\n a = n.offsetHeight,\n h = m(this.options.offset),\n l = this._getAnchor(),\n i = "top" === s ? (e = r / 2, a) : "bottom" === s ? (e = r / 2, 0) : (e = "center" === s ? r / 2 : "right" === s ? 0 : "left" === s ? r : i.x < o.x ? (s = "right", 0) : (s = "left", r + 2 * (h.x + l.x)), a / 2);\n t = t.subtract(m(e, i, !0)).add(h).add(l), z(n, "leaflet-tooltip-right"), z(n, "leaflet-tooltip-left"), z(n, "leaflet-tooltip-top"), z(n, "leaflet-tooltip-bottom"), M(n, "leaflet-tooltip-" + s), Z(n, t);\n },\n _updatePosition: function () {\n var t = this._map.latLngToLayerPoint(this._latlng);\n this._setPosition(t);\n },\n setOpacity: function (t) {\n this.options.opacity = t, this._container && C(this._container, t);\n },\n _animateZoom: function (t) {\n t = this._map._latLngToNewLayerPoint(this._latlng, t.zoom, t.center);\n this._setPosition(t);\n },\n _getAnchor: function () {\n return m(this._source && this._source._getTooltipAnchor && !this.options.sticky ? this._source._getTooltipAnchor() : [0, 0]);\n }\n })),\n Ri = (A.include({\n openTooltip: function (t, e, i) {\n return this._initOverlay(Ii, t, e, i).openOn(this), this;\n },\n closeTooltip: function (t) {\n return t.close(), this;\n }\n }), o.include({\n bindTooltip: function (t, e) {\n return this._tooltip && this.isTooltipOpen() && this.unbindTooltip(), this._tooltip = this._initOverlay(Ii, this._tooltip, t, e), this._initTooltipInteractions(), this._tooltip.options.permanent && this._map && this._map.hasLayer(this) && this.openTooltip(), this;\n },\n unbindTooltip: function () {\n return this._tooltip && (this._initTooltipInteractions(!0), this.closeTooltip(), this._tooltip = null), this;\n },\n _initTooltipInteractions: function (t) {\n var e, i;\n !t && this._tooltipHandlersAdded || (e = t ? "off" : "on", i = {\n remove: this.closeTooltip,\n move: this._moveTooltip\n }, this._tooltip.options.permanent ? i.add = this._openTooltip : (i.mouseover = this._openTooltip, i.mouseout = this.closeTooltip, i.click = this._openTooltip, this._map ? this._addFocusListeners() : i.add = this._addFocusListeners), this._tooltip.options.sticky && (i.mousemove = this._moveTooltip), this[e](i), this._tooltipHandlersAdded = !t);\n },\n openTooltip: function (t) {\n return this._tooltip && (this instanceof ci || (this._tooltip._source = this), this._tooltip._prepareOpen(t) && (this._tooltip.openOn(this._map), this.getElement ? this._setAriaDescribedByOnLayer(this) : this.eachLayer && this.eachLayer(this._setAriaDescribedByOnLayer, this))), this;\n },\n closeTooltip: function () {\n if (this._tooltip) return this._tooltip.close();\n },\n toggleTooltip: function () {\n return this._tooltip && this._tooltip.toggle(this), this;\n },\n isTooltipOpen: function () {\n return this._tooltip.isOpen();\n },\n setTooltipContent: function (t) {\n return this._tooltip && this._tooltip.setContent(t), this;\n },\n getTooltip: function () {\n return this._tooltip;\n },\n _addFocusListeners: function () {\n this.getElement ? this._addFocusListenersOnLayer(this) : this.eachLayer && this.eachLayer(this._addFocusListenersOnLayer, this);\n },\n _addFocusListenersOnLayer: function (t) {\n var e = "function" == typeof t.getElement && t.getElement();\n e && (S(e, "focus", function () {\n this._tooltip._source = t, this.openTooltip();\n }, this), S(e, "blur", this.closeTooltip, this));\n },\n _setAriaDescribedByOnLayer: function (t) {\n t = "function" == typeof t.getElement && t.getElement();\n t && t.setAttribute("aria-describedby", this._tooltip._container.id);\n },\n _openTooltip: function (t) {\n var e;\n this._tooltip && this._map && (this._map.dragging && this._map.dragging.moving() && !this._openOnceFlag ? (this._openOnceFlag = !0, (e = this)._map.once("moveend", function () {\n e._openOnceFlag = !1, e._openTooltip(t);\n })) : (this._tooltip._source = t.layer || t.target, this.openTooltip(this._tooltip.options.sticky ? t.latlng : void 0)));\n },\n _moveTooltip: function (t) {\n var e = t.latlng;\n this._tooltip.options.sticky && t.originalEvent && (t = this._map.mouseEventToContainerPoint(t.originalEvent), t = this._map.containerPointToLayerPoint(t), e = this._map.layerPointToLatLng(t)), this._tooltip.setLatLng(e);\n }\n }), di.extend({\n options: {\n iconSize: [12, 12],\n html: !1,\n bgPos: null,\n className: "leaflet-div-icon"\n },\n createIcon: function (t) {\n var t = t && "DIV" === t.tagName ? t : document.createElement("div"),\n e = this.options;\n return e.html instanceof Element ? (me(t), t.appendChild(e.html)) : t.innerHTML = !1 !== e.html ? e.html : "", e.bgPos && (e = m(e.bgPos), t.style.backgroundPosition = -e.x + "px " + -e.y + "px"), this._setIconStyles(t, "icon"), t;\n },\n createShadow: function () {\n return null;\n }\n }));\n di.Default = _i;\n var Ni = o.extend({\n options: {\n tileSize: 256,\n opacity: 1,\n updateWhenIdle: b.mobile,\n updateWhenZooming: !0,\n updateInterval: 200,\n zIndex: 1,\n bounds: null,\n minZoom: 0,\n maxZoom: void 0,\n maxNativeZoom: void 0,\n minNativeZoom: void 0,\n noWrap: !1,\n pane: "tilePane",\n className: "",\n keepBuffer: 2\n },\n initialize: function (t) {\n c(this, t);\n },\n onAdd: function () {\n this._initContainer(), this._levels = {}, this._tiles = {}, this._resetView();\n },\n beforeAdd: function (t) {\n t._addZoomLimit(this);\n },\n onRemove: function (t) {\n this._removeAllTiles(), T(this._container), t._removeZoomLimit(this), this._container = null, this._tileZoom = void 0;\n },\n bringToFront: function () {\n return this._map && (fe(this._container), this._setAutoZIndex(Math.max)), this;\n },\n bringToBack: function () {\n return this._map && (ge(this._container), this._setAutoZIndex(Math.min)), this;\n },\n getContainer: function () {\n return this._container;\n },\n setOpacity: function (t) {\n return this.options.opacity = t, this._updateOpacity(), this;\n },\n setZIndex: function (t) {\n return this.options.zIndex = t, this._updateZIndex(), this;\n },\n isLoading: function () {\n return this._loading;\n },\n redraw: function () {\n var t;\n return this._map && (this._removeAllTiles(), (t = this._clampZoom(this._map.getZoom())) !== this._tileZoom && (this._tileZoom = t, this._updateLevels()), this._update()), this;\n },\n getEvents: function () {\n var t = {\n viewprereset: this._invalidateAll,\n viewreset: this._resetView,\n zoom: this._resetView,\n moveend: this._onMoveEnd\n };\n return this.options.updateWhenIdle || (this._onMove || (this._onMove = j(this._onMoveEnd, this.options.updateInterval, this)), t.move = this._onMove), this._zoomAnimated && (t.zoomanim = this._animateZoom), t;\n },\n createTile: function () {\n return document.createElement("div");\n },\n getTileSize: function () {\n var t = this.options.tileSize;\n return t instanceof p ? t : new p(t, t);\n },\n _updateZIndex: function () {\n this._container && void 0 !== this.options.zIndex && null !== this.options.zIndex && (this._container.style.zIndex = this.options.zIndex);\n },\n _setAutoZIndex: function (t) {\n 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));\n isFinite(n) && (this.options.zIndex = n + t(-1, 1), this._updateZIndex());\n },\n _updateOpacity: function () {\n if (this._map && !b.ielt9) {\n C(this._container, this.options.opacity);\n var t,\n e = +new Date(),\n i = !1,\n n = !1;\n for (t in this._tiles) {\n var o,\n s = this._tiles[t];\n s.current && s.loaded && (o = Math.min(1, (e - s.loaded) / 200), C(s.el, o), o < 1 ? i = !0 : (s.active ? n = !0 : this._onOpaqueTile(s), s.active = !0));\n }\n n && !this._noPrune && this._pruneTiles(), i && (r(this._fadeFrame), this._fadeFrame = x(this._updateOpacity, this));\n }\n },\n _onOpaqueTile: u,\n _initContainer: function () {\n this._container || (this._container = P("div", "leaflet-layer " + (this.options.className || "")), this._updateZIndex(), this.options.opacity < 1 && this._updateOpacity(), this.getPane().appendChild(this._container));\n },\n _updateLevels: function () {\n var t = this._tileZoom,\n e = this.options.maxZoom;\n if (void 0 !== t) {\n 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)) : (T(this._levels[i].el), this._removeTilesAtZoom(i), this._onRemoveLevel(i), delete this._levels[i]);\n var n = this._levels[t],\n o = this._map;\n return n || ((n = this._levels[t] = {}).el = P("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()), u(n.el.offsetWidth), this._onCreateLevel(n)), this._level = n;\n }\n },\n _onUpdateLevel: u,\n _onRemoveLevel: u,\n _onCreateLevel: u,\n _pruneTiles: function () {\n if (this._map) {\n var t,\n e,\n i,\n n = this._map.getZoom();\n if (n > this.options.maxZoom || n < this.options.minZoom) this._removeAllTiles();else {\n for (t in this._tiles) (i = this._tiles[t]).retain = i.current;\n for (t in this._tiles) (i = this._tiles[t]).current && !i.active && (e = i.coords, this._retainParent(e.x, e.y, e.z, e.z - 5) || this._retainChildren(e.x, e.y, e.z, e.z + 2));\n for (t in this._tiles) this._tiles[t].retain || this._removeTile(t);\n }\n }\n },\n _removeTilesAtZoom: function (t) {\n for (var e in this._tiles) this._tiles[e].coords.z === t && this._removeTile(e);\n },\n _removeAllTiles: function () {\n for (var t in this._tiles) this._removeTile(t);\n },\n _invalidateAll: function () {\n for (var t in this._levels) T(this._levels[t].el), this._onRemoveLevel(Number(t)), delete this._levels[t];\n this._removeAllTiles(), this._tileZoom = void 0;\n },\n _retainParent: function (t, e, i, n) {\n var t = Math.floor(t / 2),\n e = Math.floor(e / 2),\n i = i - 1,\n o = new p(+t, +e),\n o = (o.z = i, this._tileCoordsToKey(o)),\n o = this._tiles[o];\n return o && o.active ? o.retain = !0 : (o && o.loaded && (o.retain = !0), n < i && this._retainParent(t, e, i, n));\n },\n _retainChildren: function (t, e, i, n) {\n for (var o = 2 * t; o < 2 * t + 2; o++) for (var s = 2 * e; s < 2 * e + 2; s++) {\n var r = new p(o, s),\n r = (r.z = i + 1, this._tileCoordsToKey(r)),\n r = this._tiles[r];\n r && r.active ? r.retain = !0 : (r && r.loaded && (r.retain = !0), i + 1 < n && this._retainChildren(o, s, i + 1, n));\n }\n },\n _resetView: function (t) {\n t = t && (t.pinch || t.flyTo);\n this._setView(this._map.getCenter(), this._map.getZoom(), t, t);\n },\n _animateZoom: function (t) {\n this._setView(t.center, t.zoom, !0, t.noUpdate);\n },\n _clampZoom: function (t) {\n var e = this.options;\n return void 0 !== e.minNativeZoom && t < e.minNativeZoom ? e.minNativeZoom : void 0 !== e.maxNativeZoom && e.maxNativeZoom < t ? e.maxNativeZoom : t;\n },\n _setView: function (t, e, i, n) {\n var o = Math.round(e),\n o = void 0 !== this.options.maxZoom && o > this.options.maxZoom || void 0 !== this.options.minZoom && o < this.options.minZoom ? void 0 : this._clampZoom(o),\n s = this.options.updateWhenZooming && o !== this._tileZoom;\n 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);\n },\n _setZoomTransforms: function (t, e) {\n for (var i in this._levels) this._setZoomTransform(this._levels[i], t, e);\n },\n _setZoomTransform: function (t, e, i) {\n var n = this._map.getZoomScale(i, t.zoom),\n e = t.origin.multiplyBy(n).subtract(this._map._getNewPixelOrigin(e, i)).round();\n b.any3d ? be(t.el, e, n) : Z(t.el, e);\n },\n _resetGrid: function () {\n var t = this._map,\n e = t.options.crs,\n i = this._tileSize = this.getTileSize(),\n n = this._tileZoom,\n o = this._map.getPixelWorldBounds(this._tileZoom);\n 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)];\n },\n _onMoveEnd: function () {\n this._map && !this._map._animatingZoom && this._update();\n },\n _getTiledPixelBounds: function (t) {\n var e = this._map,\n i = e._animatingZoom ? Math.max(e._animateToZoom, e.getZoom()) : e.getZoom(),\n i = e.getZoomScale(i, this._tileZoom),\n t = e.project(t, this._tileZoom).floor(),\n e = e.getSize().divideBy(2 * i);\n return new f(t.subtract(e), t.add(e));\n },\n _update: function (t) {\n var e = this._map;\n if (e) {\n var i = this._clampZoom(e.getZoom());\n if (void 0 === t && (t = e.getCenter()), void 0 !== this._tileZoom) {\n var n,\n e = this._getTiledPixelBounds(t),\n o = this._pxBoundsToTileRange(e),\n s = o.getCenter(),\n r = [],\n e = this.options.keepBuffer,\n a = new f(o.getBottomLeft().subtract([e, -e]), o.getTopRight().add([e, -e]));\n 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");\n for (n in this._tiles) {\n var h = this._tiles[n].coords;\n h.z === this._tileZoom && a.contains(new p(h.x, h.y)) || (this._tiles[n].current = !1);\n }\n if (1 < Math.abs(i - this._tileZoom)) this._setView(t, i);else {\n for (var l = o.min.y; l <= o.max.y; l++) for (var u = o.min.x; u <= o.max.x; u++) {\n var c,\n d = new p(u, l);\n d.z = this._tileZoom, this._isValidTile(d) && ((c = this._tiles[this._tileCoordsToKey(d)]) ? c.current = !0 : r.push(d));\n }\n if (r.sort(function (t, e) {\n return t.distanceTo(s) - e.distanceTo(s);\n }), 0 !== r.length) {\n this._loading || (this._loading = !0, this.fire("loading"));\n for (var _ = document.createDocumentFragment(), u = 0; u < r.length; u++) this._addTile(r[u], _);\n this._level.el.appendChild(_);\n }\n }\n }\n }\n },\n _isValidTile: function (t) {\n var e = this._map.options.crs;\n if (!e.infinite) {\n var i = this._globalTileRange;\n 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;\n }\n return !this.options.bounds || (e = this._tileCoordsToBounds(t), g(this.options.bounds).overlaps(e));\n },\n _keyToBounds: function (t) {\n return this._tileCoordsToBounds(this._keyToTileCoords(t));\n },\n _tileCoordsToNwSe: function (t) {\n var e = this._map,\n i = this.getTileSize(),\n n = t.scaleBy(i),\n i = n.add(i);\n return [e.unproject(n, t.z), e.unproject(i, t.z)];\n },\n _tileCoordsToBounds: function (t) {\n t = this._tileCoordsToNwSe(t), t = new s(t[0], t[1]);\n return t = this.options.noWrap ? t : this._map.wrapLatLngBounds(t);\n },\n _tileCoordsToKey: function (t) {\n return t.x + ":" + t.y + ":" + t.z;\n },\n _keyToTileCoords: function (t) {\n var t = t.split(":"),\n e = new p(+t[0], +t[1]);\n return e.z = +t[2], e;\n },\n _removeTile: function (t) {\n var e = this._tiles[t];\n e && (T(e.el), delete this._tiles[t], this.fire("tileunload", {\n tile: e.el,\n coords: this._keyToTileCoords(t)\n }));\n },\n _initTile: function (t) {\n M(t, "leaflet-tile");\n var e = this.getTileSize();\n t.style.width = e.x + "px", t.style.height = e.y + "px", t.onselectstart = u, t.onmousemove = u, b.ielt9 && this.options.opacity < 1 && C(t, this.options.opacity);\n },\n _addTile: function (t, e) {\n var i = this._getTilePos(t),\n n = this._tileCoordsToKey(t),\n o = this.createTile(this._wrapCoords(t), a(this._tileReady, this, t));\n this._initTile(o), this.createTile.length < 2 && x(a(this._tileReady, this, t, null, o)), Z(o, i), this._tiles[n] = {\n el: o,\n coords: t,\n current: !0\n }, e.appendChild(o), this.fire("tileloadstart", {\n tile: o,\n coords: t\n });\n },\n _tileReady: function (t, e, i) {\n e && this.fire("tileerror", {\n error: e,\n tile: i,\n coords: t\n });\n var n = this._tileCoordsToKey(t);\n (i = this._tiles[n]) && (i.loaded = +new Date(), this._map._fadeAnimated ? (C(i.el, 0), r(this._fadeFrame), this._fadeFrame = x(this._updateOpacity, this)) : (i.active = !0, this._pruneTiles()), e || (M(i.el, "leaflet-tile-loaded"), this.fire("tileload", {\n tile: i.el,\n coords: t\n })), this._noTilesToLoad() && (this._loading = !1, this.fire("load"), b.ielt9 || !this._map._fadeAnimated ? x(this._pruneTiles, this) : setTimeout(a(this._pruneTiles, this), 250)));\n },\n _getTilePos: function (t) {\n return t.scaleBy(this.getTileSize()).subtract(this._level.origin);\n },\n _wrapCoords: function (t) {\n var e = new p(this._wrapX ? H(t.x, this._wrapX) : t.x, this._wrapY ? H(t.y, this._wrapY) : t.y);\n return e.z = t.z, e;\n },\n _pxBoundsToTileRange: function (t) {\n var e = this.getTileSize();\n return new f(t.min.unscaleBy(e).floor(), t.max.unscaleBy(e).ceil().subtract([1, 1]));\n },\n _noTilesToLoad: function () {\n for (var t in this._tiles) if (!this._tiles[t].loaded) return !1;\n return !0;\n }\n });\n var Di = Ni.extend({\n options: {\n minZoom: 0,\n maxZoom: 18,\n subdomains: "abc",\n errorTileUrl: "",\n zoomOffset: 0,\n tms: !1,\n zoomReverse: !1,\n detectRetina: !1,\n crossOrigin: !1,\n referrerPolicy: !1\n },\n initialize: function (t, e) {\n this._url = t, (e = c(this, e)).detectRetina && b.retina && 0 < e.maxZoom ? (e.tileSize = Math.floor(e.tileSize / 2), e.zoomReverse ? (e.zoomOffset--, e.minZoom = Math.min(e.maxZoom, e.minZoom + 1)) : (e.zoomOffset++, e.maxZoom = Math.max(e.minZoom, e.maxZoom - 1)), e.minZoom = Math.max(0, e.minZoom)) : e.zoomReverse ? e.minZoom = Math.min(e.maxZoom, e.minZoom) : e.maxZoom = Math.max(e.minZoom, e.maxZoom), "string" == typeof e.subdomains && (e.subdomains = e.subdomains.split("")), this.on("tileunload", this._onTileRemove);\n },\n setUrl: function (t, e) {\n return this._url === t && void 0 === e && (e = !0), this._url = t, e || this.redraw(), this;\n },\n createTile: function (t, e) {\n var i = document.createElement("img");\n return S(i, "load", a(this._tileOnLoad, this, e, i)), S(i, "error", a(this._tileOnError, this, e, i)), !this.options.crossOrigin && "" !== this.options.crossOrigin || (i.crossOrigin = !0 === this.options.crossOrigin ? "" : this.options.crossOrigin), "string" == typeof this.options.referrerPolicy && (i.referrerPolicy = this.options.referrerPolicy), i.alt = "", i.src = this.getTileUrl(t), i;\n },\n getTileUrl: function (t) {\n var e = {\n r: b.retina ? "@2x" : "",\n s: this._getSubdomain(t),\n x: t.x,\n y: t.y,\n z: this._getZoomForUrl()\n };\n return this._map && !this._map.options.crs.infinite && (t = this._globalTileRange.max.y - t.y, this.options.tms && (e.y = t), e["-y"] = t), q(this._url, l(e, this.options));\n },\n _tileOnLoad: function (t, e) {\n b.ielt9 ? setTimeout(a(t, this, null, e), 0) : t(null, e);\n },\n _tileOnError: function (t, e, i) {\n var n = this.options.errorTileUrl;\n n && e.getAttribute("src") !== n && (e.src = n), t(i, e);\n },\n _onTileRemove: function (t) {\n t.tile.onload = null;\n },\n _getZoomForUrl: function () {\n var t = this._tileZoom,\n e = this.options.maxZoom;\n return (t = this.options.zoomReverse ? e - t : t) + this.options.zoomOffset;\n },\n _getSubdomain: function (t) {\n t = Math.abs(t.x + t.y) % this.options.subdomains.length;\n return this.options.subdomains[t];\n },\n _abortLoading: function () {\n var t, e, i;\n for (t in this._tiles) this._tiles[t].coords.z !== this._tileZoom && ((i = this._tiles[t].el).onload = u, i.onerror = u, i.complete || (i.src = K, e = this._tiles[t].coords, T(i), delete this._tiles[t], this.fire("tileabort", {\n tile: i,\n coords: e\n })));\n },\n _removeTile: function (t) {\n var e = this._tiles[t];\n if (e) return e.el.setAttribute("src", K), Ni.prototype._removeTile.call(this, t);\n },\n _tileReady: function (t, e, i) {\n if (this._map && (!i || i.getAttribute("src") !== K)) return Ni.prototype._tileReady.call(this, t, e, i);\n }\n });\n function ji(t, e) {\n return new Di(t, e);\n }\n var Hi = Di.extend({\n defaultWmsParams: {\n service: "WMS",\n request: "GetMap",\n layers: "",\n styles: "",\n format: "image/jpeg",\n transparent: !1,\n version: "1.1.1"\n },\n options: {\n crs: null,\n uppercase: !1\n },\n initialize: function (t, e) {\n this._url = t;\n var i,\n n = l({}, this.defaultWmsParams);\n for (i in e) i in this.options || (n[i] = e[i]);\n var t = (e = c(this, e)).detectRetina && b.retina ? 2 : 1,\n o = this.getTileSize();\n n.width = o.x * t, n.height = o.y * t, this.wmsParams = n;\n },\n onAdd: function (t) {\n this._crs = this.options.crs || t.options.crs, this._wmsVersion = parseFloat(this.wmsParams.version);\n var e = 1.3 <= this._wmsVersion ? "crs" : "srs";\n this.wmsParams[e] = this._crs.code, Di.prototype.onAdd.call(this, t);\n },\n getTileUrl: function (t) {\n var e = this._tileCoordsToNwSe(t),\n i = this._crs,\n i = _(i.project(e[0]), i.project(e[1])),\n e = i.min,\n i = i.max,\n e = (1.3 <= this._wmsVersion && this._crs === li ? [e.y, e.x, i.y, i.x] : [e.x, e.y, i.x, i.y]).join(","),\n i = Di.prototype.getTileUrl.call(this, t);\n return i + U(this.wmsParams, i, this.options.uppercase) + (this.options.uppercase ? "&BBOX=" : "&bbox=") + e;\n },\n setParams: function (t, e) {\n return l(this.wmsParams, t), e || this.redraw(), this;\n }\n });\n Di.WMS = Hi, ji.wms = function (t, e) {\n return new Hi(t, e);\n };\n var Wi = o.extend({\n options: {\n padding: .1\n },\n initialize: function (t) {\n c(this, t), h(this), this._layers = this._layers || {};\n },\n onAdd: function () {\n this._container || (this._initContainer(), M(this._container, "leaflet-zoom-animated")), this.getPane().appendChild(this._container), this._update(), this.on("update", this._updatePaths, this);\n },\n onRemove: function () {\n this.off("update", this._updatePaths, this), this._destroyContainer();\n },\n getEvents: function () {\n var t = {\n viewreset: this._reset,\n zoom: this._onZoom,\n moveend: this._update,\n zoomend: this._onZoomEnd\n };\n return this._zoomAnimated && (t.zoomanim = this._onAnimZoom), t;\n },\n _onAnimZoom: function (t) {\n this._updateTransform(t.center, t.zoom);\n },\n _onZoom: function () {\n this._updateTransform(this._map.getCenter(), this._map.getZoom());\n },\n _updateTransform: function (t, e) {\n var i = this._map.getZoomScale(e, this._zoom),\n n = this._map.getSize().multiplyBy(.5 + this.options.padding),\n o = this._map.project(this._center, e),\n n = n.multiplyBy(-i).add(o).subtract(this._map._getNewPixelOrigin(t, e));\n b.any3d ? be(this._container, n, i) : Z(this._container, n);\n },\n _reset: function () {\n for (var t in this._update(), this._updateTransform(this._center, this._zoom), this._layers) this._layers[t]._reset();\n },\n _onZoomEnd: function () {\n for (var t in this._layers) this._layers[t]._project();\n },\n _updatePaths: function () {\n for (var t in this._layers) this._layers[t]._update();\n },\n _update: function () {\n var t = this.options.padding,\n e = this._map.getSize(),\n i = this._map.containerPointToLayerPoint(e.multiplyBy(-t)).round();\n this._bounds = new f(i, i.add(e.multiplyBy(1 + 2 * t)).round()), this._center = this._map.getCenter(), this._zoom = this._map.getZoom();\n }\n }),\n Fi = Wi.extend({\n options: {\n tolerance: 0\n },\n getEvents: function () {\n var t = Wi.prototype.getEvents.call(this);\n return t.viewprereset = this._onViewPreReset, t;\n },\n _onViewPreReset: function () {\n this._postponeUpdatePaths = !0;\n },\n onAdd: function () {\n Wi.prototype.onAdd.call(this), this._draw();\n },\n _initContainer: function () {\n var t = this._container = document.createElement("canvas");\n S(t, "mousemove", this._onMouseMove, this), S(t, "click dblclick mousedown mouseup contextmenu", this._onClick, this), S(t, "mouseout", this._handleMouseOut, this), t._leaflet_disable_events = !0, this._ctx = t.getContext("2d");\n },\n _destroyContainer: function () {\n r(this._redrawRequest), delete this._ctx, T(this._container), k(this._container), delete this._container;\n },\n _updatePaths: function () {\n if (!this._postponeUpdatePaths) {\n for (var t in this._redrawBounds = null, this._layers) this._layers[t]._update();\n this._redraw();\n }\n },\n _update: function () {\n var t, e, i, n;\n this._map._animatingZoom && this._bounds || (Wi.prototype._update.call(this), t = this._bounds, e = this._container, i = t.getSize(), n = b.retina ? 2 : 1, Z(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", b.retina && this._ctx.scale(2, 2), this._ctx.translate(-t.min.x, -t.min.y), this.fire("update"));\n },\n _reset: function () {\n Wi.prototype._reset.call(this), this._postponeUpdatePaths && (this._postponeUpdatePaths = !1, this._updatePaths());\n },\n _initPath: function (t) {\n this._updateDashArray(t);\n t = (this._layers[h(t)] = t)._order = {\n layer: t,\n prev: this._drawLast,\n next: null\n };\n this._drawLast && (this._drawLast.next = t), this._drawLast = t, this._drawFirst = this._drawFirst || this._drawLast;\n },\n _addPath: function (t) {\n this._requestRedraw(t);\n },\n _removePath: function (t) {\n var e = t._order,\n i = e.next,\n e = e.prev;\n i ? i.prev = e : this._drawLast = e, e ? e.next = i : this._drawFirst = i, delete t._order, delete this._layers[h(t)], this._requestRedraw(t);\n },\n _updatePath: function (t) {\n this._extendRedrawBounds(t), t._project(), t._update(), this._requestRedraw(t);\n },\n _updateStyle: function (t) {\n this._updateDashArray(t), this._requestRedraw(t);\n },\n _updateDashArray: function (t) {\n if ("string" == typeof t.options.dashArray) {\n for (var e, i = t.options.dashArray.split(/[, ]+/), n = [], o = 0; o < i.length; o++) {\n if (e = Number(i[o]), isNaN(e)) return;\n n.push(e);\n }\n t.options._dashArray = n;\n } else t.options._dashArray = t.options.dashArray;\n },\n _requestRedraw: function (t) {\n this._map && (this._extendRedrawBounds(t), this._redrawRequest = this._redrawRequest || x(this._redraw, this));\n },\n _extendRedrawBounds: function (t) {\n var e;\n t._pxBounds && (e = (t.options.weight || 0) + 1, this._redrawBounds = this._redrawBounds || new f(), this._redrawBounds.extend(t._pxBounds.min.subtract([e, e])), this._redrawBounds.extend(t._pxBounds.max.add([e, e])));\n },\n _redraw: function () {\n this._redrawRequest = null, this._redrawBounds && (this._redrawBounds.min._floor(), this._redrawBounds.max._ceil()), this._clear(), this._draw(), this._redrawBounds = null;\n },\n _clear: function () {\n var t,\n e = this._redrawBounds;\n e ? (t = e.getSize(), this._ctx.clearRect(e.min.x, e.min.y, t.x, t.y)) : (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());\n },\n _draw: function () {\n var t,\n e,\n i = this._redrawBounds;\n this._ctx.save(), i && (e = i.getSize(), this._ctx.beginPath(), this._ctx.rect(i.min.x, i.min.y, e.x, e.y), this._ctx.clip()), this._drawing = !0;\n for (var n = this._drawFirst; n; n = n.next) t = n.layer, (!i || t._pxBounds && t._pxBounds.intersects(i)) && t._updatePath();\n this._drawing = !1, this._ctx.restore();\n },\n _updatePoly: function (t, e) {\n if (this._drawing) {\n var i,\n n,\n o,\n s,\n r = t._parts,\n a = r.length,\n h = this._ctx;\n if (a) {\n for (h.beginPath(), i = 0; i < a; i++) {\n for (n = 0, o = r[i].length; n < o; n++) s = r[i][n], h[n ? "lineTo" : "moveTo"](s.x, s.y);\n e && h.closePath();\n }\n this._fillStroke(h, t);\n }\n }\n },\n _updateCircle: function (t) {\n var e, i, n, o;\n this._drawing && !t._empty() && (e = t._point, i = this._ctx, n = Math.max(Math.round(t._radius), 1), 1 != (o = (Math.max(Math.round(t._radiusY), 1) || n) / n) && (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));\n },\n _fillStroke: function (t, e) {\n var i = e.options;\n 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());\n },\n _onClick: function (t) {\n for (var e, i, n = this._map.mouseEventToLayerPoint(t), o = this._drawFirst; o; o = o.next) (e = o.layer).options.interactive && e._containsPoint(n) && (("click" === t.type || "preclick" === t.type) && this._map._draggableMoved(e) || (i = e));\n this._fireEvent(!!i && [i], t);\n },\n _onMouseMove: function (t) {\n var e;\n !this._map || this._map.dragging.moving() || this._map._animatingZoom || (e = this._map.mouseEventToLayerPoint(t), this._handleMouseHover(t, e));\n },\n _handleMouseOut: function (t) {\n var e = this._hoveredLayer;\n e && (z(this._container, "leaflet-interactive"), this._fireEvent([e], t, "mouseout"), this._hoveredLayer = null, this._mouseHoverThrottled = !1);\n },\n _handleMouseHover: function (t, e) {\n if (!this._mouseHoverThrottled) {\n for (var i, n, o = this._drawFirst; o; o = o.next) (i = o.layer).options.interactive && i._containsPoint(e) && (n = i);\n n !== this._hoveredLayer && (this._handleMouseOut(t), n && (M(this._container, "leaflet-interactive"), this._fireEvent([n], t, "mouseover"), this._hoveredLayer = n)), this._fireEvent(!!this._hoveredLayer && [this._hoveredLayer], t), this._mouseHoverThrottled = !0, setTimeout(a(function () {\n this._mouseHoverThrottled = !1;\n }, this), 32);\n }\n },\n _fireEvent: function (t, e, i) {\n this._map._fireDOMEvent(e, i || e.type, t);\n },\n _bringToFront: function (t) {\n var e,\n i,\n n = t._order;\n n && (e = n.next, i = n.prev, e && ((e.prev = i) ? i.next = e : e && (this._drawFirst = e), n.prev = this._drawLast, (this._drawLast.next = n).next = null, this._drawLast = n, this._requestRedraw(t)));\n },\n _bringToBack: function (t) {\n var e,\n i,\n n = t._order;\n n && (e = n.next, (i = n.prev) && ((i.next = e) ? e.prev = i : i && (this._drawLast = i), n.prev = null, n.next = this._drawFirst, this._drawFirst.prev = n, this._drawFirst = n, this._requestRedraw(t)));\n }\n });\n function Ui(t) {\n return b.canvas ? new Fi(t) : null;\n }\n var Vi = function () {\n try {\n return document.namespaces.add("lvml", "urn:schemas-microsoft-com:vml"), function (t) {\n return document.createElement("<lvml:" + t + \' class="lvml">\');\n };\n } catch (t) {}\n return function (t) {\n return document.createElement("<" + t + \' xmlns="urn:schemas-microsoft.com:vml" class="lvml">\');\n };\n }(),\n zt = {\n _initContainer: function () {\n this._container = P("div", "leaflet-vml-container");\n },\n _update: function () {\n this._map._animatingZoom || (Wi.prototype._update.call(this), this.fire("update"));\n },\n _initPath: function (t) {\n var e = t._container = Vi("shape");\n M(e, "leaflet-vml-shape " + (this.options.className || "")), e.coordsize = "1 1", t._path = Vi("path"), e.appendChild(t._path), this._updateStyle(t), this._layers[h(t)] = t;\n },\n _addPath: function (t) {\n var e = t._container;\n this._container.appendChild(e), t.options.interactive && t.addInteractiveTarget(e);\n },\n _removePath: function (t) {\n var e = t._container;\n T(e), t.removeInteractiveTarget(e), delete this._layers[h(t)];\n },\n _updateStyle: function (t) {\n var e = t._stroke,\n i = t._fill,\n n = t.options,\n o = t._container;\n o.stroked = !!n.stroke, o.filled = !!n.fill, n.stroke ? (e = e || (t._stroke = Vi("stroke")), o.appendChild(e), e.weight = n.weight + "px", e.color = n.color, e.opacity = n.opacity, n.dashArray ? e.dashStyle = d(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 = Vi("fill")), o.appendChild(i), i.color = n.fillColor || n.color, i.opacity = n.fillOpacity) : i && (o.removeChild(i), t._fill = null);\n },\n _updateCircle: function (t) {\n var e = t._point.round(),\n i = Math.round(t._radius),\n n = Math.round(t._radiusY || i);\n this._setPath(t, t._empty() ? "M0 0" : "AL " + e.x + "," + e.y + " " + i + "," + n + " 0,23592600");\n },\n _setPath: function (t, e) {\n t._path.v = e;\n },\n _bringToFront: function (t) {\n fe(t._container);\n },\n _bringToBack: function (t) {\n ge(t._container);\n }\n },\n qi = b.vml ? Vi : ct,\n Gi = Wi.extend({\n _initContainer: function () {\n this._container = qi("svg"), this._container.setAttribute("pointer-events", "none"), this._rootGroup = qi("g"), this._container.appendChild(this._rootGroup);\n },\n _destroyContainer: function () {\n T(this._container), k(this._container), delete this._container, delete this._rootGroup, delete this._svgSize;\n },\n _update: function () {\n var t, e, i;\n this._map._animatingZoom && this._bounds || (Wi.prototype._update.call(this), e = (t = this._bounds).getSize(), i = this._container, this._svgSize && this._svgSize.equals(e) || (this._svgSize = e, i.setAttribute("width", e.x), i.setAttribute("height", e.y)), Z(i, t.min), i.setAttribute("viewBox", [t.min.x, t.min.y, e.x, e.y].join(" ")), this.fire("update"));\n },\n _initPath: function (t) {\n var e = t._path = qi("path");\n t.options.className && M(e, t.options.className), t.options.interactive && M(e, "leaflet-interactive"), this._updateStyle(t), this._layers[h(t)] = t;\n },\n _addPath: function (t) {\n this._rootGroup || this._initContainer(), this._rootGroup.appendChild(t._path), t.addInteractiveTarget(t._path);\n },\n _removePath: function (t) {\n T(t._path), t.removeInteractiveTarget(t._path), delete this._layers[h(t)];\n },\n _updatePath: function (t) {\n t._project(), t._update();\n },\n _updateStyle: function (t) {\n var e = t._path,\n t = t.options;\n e && (t.stroke ? (e.setAttribute("stroke", t.color), e.setAttribute("stroke-opacity", t.opacity), e.setAttribute("stroke-width", t.weight), e.setAttribute("stroke-linecap", t.lineCap), e.setAttribute("stroke-linejoin", t.lineJoin), t.dashArray ? e.setAttribute("stroke-dasharray", t.dashArray) : e.removeAttribute("stroke-dasharray"), t.dashOffset ? e.setAttribute("stroke-dashoffset", t.dashOffset) : e.removeAttribute("stroke-dashoffset")) : e.setAttribute("stroke", "none"), t.fill ? (e.setAttribute("fill", t.fillColor || t.color), e.setAttribute("fill-opacity", t.fillOpacity), e.setAttribute("fill-rule", t.fillRule || "evenodd")) : e.setAttribute("fill", "none"));\n },\n _updatePoly: function (t, e) {\n this._setPath(t, dt(t._parts, e));\n },\n _updateCircle: function (t) {\n var e = t._point,\n i = Math.max(Math.round(t._radius), 1),\n n = "a" + i + "," + (Math.max(Math.round(t._radiusY), 1) || i) + " 0 1,0 ",\n e = t._empty() ? "M0 0" : "M" + (e.x - i) + "," + e.y + n + 2 * i + ",0 " + n + 2 * -i + ",0 ";\n this._setPath(t, e);\n },\n _setPath: function (t, e) {\n t._path.setAttribute("d", e);\n },\n _bringToFront: function (t) {\n fe(t._path);\n },\n _bringToBack: function (t) {\n ge(t._path);\n }\n });\n function Ki(t) {\n return b.svg || b.vml ? new Gi(t) : null;\n }\n b.vml && Gi.include(zt), A.include({\n getRenderer: function (t) {\n t = (t = t.options.renderer || this._getPaneRenderer(t.options.pane) || this.options.renderer || this._renderer) || (this._renderer = this._createRenderer());\n return this.hasLayer(t) || this.addLayer(t), t;\n },\n _getPaneRenderer: function (t) {\n var e;\n return "overlayPane" !== t && void 0 !== t && (void 0 === (e = this._paneRenderers[t]) && (e = this._createRenderer({\n pane: t\n }), this._paneRenderers[t] = e), e);\n },\n _createRenderer: function (t) {\n return this.options.preferCanvas && Ui(t) || Ki(t);\n }\n });\n var Yi = xi.extend({\n initialize: function (t, e) {\n xi.prototype.initialize.call(this, this._boundsToLatLngs(t), e);\n },\n setBounds: function (t) {\n return this.setLatLngs(this._boundsToLatLngs(t));\n },\n _boundsToLatLngs: function (t) {\n return [(t = g(t)).getSouthWest(), t.getNorthWest(), t.getNorthEast(), t.getSouthEast()];\n }\n });\n Gi.create = qi, Gi.pointsToPath = dt, wi.geometryToLayer = bi, wi.coordsToLatLng = Li, wi.coordsToLatLngs = Ti, wi.latLngToCoords = Mi, wi.latLngsToCoords = zi, wi.getFeature = Ci, wi.asFeature = Zi, A.mergeOptions({\n boxZoom: !0\n });\n var _t = n.extend({\n initialize: function (t) {\n this._map = t, this._container = t._container, this._pane = t._panes.overlayPane, this._resetStateTimeout = 0, t.on("unload", this._destroy, this);\n },\n addHooks: function () {\n S(this._container, "mousedown", this._onMouseDown, this);\n },\n removeHooks: function () {\n k(this._container, "mousedown", this._onMouseDown, this);\n },\n moved: function () {\n return this._moved;\n },\n _destroy: function () {\n T(this._pane), delete this._pane;\n },\n _resetState: function () {\n this._resetStateTimeout = 0, this._moved = !1;\n },\n _clearDeferredResetState: function () {\n 0 !== this._resetStateTimeout && (clearTimeout(this._resetStateTimeout), this._resetStateTimeout = 0);\n },\n _onMouseDown: function (t) {\n if (!t.shiftKey || 1 !== t.which && 1 !== t.button) return !1;\n this._clearDeferredResetState(), this._resetState(), re(), Le(), this._startPoint = this._map.mouseEventToContainerPoint(t), S(document, {\n contextmenu: Re,\n mousemove: this._onMouseMove,\n mouseup: this._onMouseUp,\n keydown: this._onKeyDown\n }, this);\n },\n _onMouseMove: function (t) {\n this._moved || (this._moved = !0, this._box = P("div", "leaflet-zoom-box", this._container), M(this._container, "leaflet-crosshair"), this._map.fire("boxzoomstart")), this._point = this._map.mouseEventToContainerPoint(t);\n var t = new f(this._point, this._startPoint),\n e = t.getSize();\n Z(this._box, t.min), this._box.style.width = e.x + "px", this._box.style.height = e.y + "px";\n },\n _finish: function () {\n this._moved && (T(this._box), z(this._container, "leaflet-crosshair")), ae(), Te(), k(document, {\n contextmenu: Re,\n mousemove: this._onMouseMove,\n mouseup: this._onMouseUp,\n keydown: this._onKeyDown\n }, this);\n },\n _onMouseUp: function (t) {\n 1 !== t.which && 1 !== t.button || (this._finish(), this._moved && (this._clearDeferredResetState(), this._resetStateTimeout = setTimeout(a(this._resetState, this), 0), t = new s(this._map.containerPointToLatLng(this._startPoint), this._map.containerPointToLatLng(this._point)), this._map.fitBounds(t).fire("boxzoomend", {\n boxZoomBounds: t\n })));\n },\n _onKeyDown: function (t) {\n 27 === t.keyCode && (this._finish(), this._clearDeferredResetState(), this._resetState());\n }\n }),\n Ct = (A.addInitHook("addHandler", "boxZoom", _t), A.mergeOptions({\n doubleClickZoom: !0\n }), n.extend({\n addHooks: function () {\n this._map.on("dblclick", this._onDoubleClick, this);\n },\n removeHooks: function () {\n this._map.off("dblclick", this._onDoubleClick, this);\n },\n _onDoubleClick: function (t) {\n var e = this._map,\n i = e.getZoom(),\n n = e.options.zoomDelta,\n i = t.originalEvent.shiftKey ? i - n : i + n;\n "center" === e.options.doubleClickZoom ? e.setZoom(i) : e.setZoomAround(t.containerPoint, i);\n }\n })),\n Zt = (A.addInitHook("addHandler", "doubleClickZoom", Ct), A.mergeOptions({\n dragging: !0,\n inertia: !0,\n inertiaDeceleration: 3400,\n inertiaMaxSpeed: 1 / 0,\n easeLinearity: .2,\n worldCopyJump: !1,\n maxBoundsViscosity: 0\n }), n.extend({\n addHooks: function () {\n var t;\n this._draggable || (t = this._map, this._draggable = new Xe(t._mapPane, t._container), this._draggable.on({\n dragstart: this._onDragStart,\n drag: this._onDrag,\n dragend: this._onDragEnd\n }, 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))), M(this._map._container, "leaflet-grab leaflet-touch-drag"), this._draggable.enable(), this._positions = [], this._times = [];\n },\n removeHooks: function () {\n z(this._map._container, "leaflet-grab"), z(this._map._container, "leaflet-touch-drag"), this._draggable.disable();\n },\n moved: function () {\n return this._draggable && this._draggable._moved;\n },\n moving: function () {\n return this._draggable && this._draggable._moving;\n },\n _onDragStart: function () {\n var t,\n e = this._map;\n e._stop(), this._map.options.maxBounds && this._map.options.maxBoundsViscosity ? (t = g(this._map.options.maxBounds), this._offsetLimit = _(this._map.latLngToContainerPoint(t.getNorthWest()).multiplyBy(-1), this._map.latLngToContainerPoint(t.getSouthEast()).multiplyBy(-1).add(this._map.getSize())), this._viscosity = Math.min(1, Math.max(0, this._map.options.maxBoundsViscosity))) : this._offsetLimit = null, e.fire("movestart").fire("dragstart"), e.options.inertia && (this._positions = [], this._times = []);\n },\n _onDrag: function (t) {\n var e, i;\n this._map.options.inertia && (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);\n },\n _prunePositions: function (t) {\n for (; 1 < this._positions.length && 50 < t - this._times[0];) this._positions.shift(), this._times.shift();\n },\n _onZoomEnd: function () {\n var t = this._map.getSize().divideBy(2),\n e = this._map.latLngToLayerPoint([0, 0]);\n this._initialWorldOffset = e.subtract(t).x, this._worldWidth = this._map.getPixelWorldBounds().getSize().x;\n },\n _viscousLimit: function (t, e) {\n return t - (t - e) * this._viscosity;\n },\n _onPreDragLimit: function () {\n var t, e;\n this._viscosity && this._offsetLimit && (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));\n },\n _onPreDragWrap: function () {\n var t = this._worldWidth,\n e = Math.round(t / 2),\n i = this._initialWorldOffset,\n n = this._draggable._newPos.x,\n o = (n - e + i) % t + e - i,\n n = (n + e + i) % t - e - i,\n t = Math.abs(o + i) < Math.abs(n + i) ? o : n;\n this._draggable._absPos = this._draggable._newPos.clone(), this._draggable._newPos.x = t;\n },\n _onDragEnd: function (t) {\n var e,\n i,\n n,\n o,\n s = this._map,\n r = s.options,\n a = !r.inertia || t.noInertia || this._times.length < 2;\n s.fire("dragend", t), !a && (this._prunePositions(+new Date()), t = this._lastPos.subtract(this._positions[0]), a = (this._lastTime - this._times[0]) / 1e3, e = r.easeLinearity, a = (t = t.multiplyBy(e / a)).distanceTo([0, 0]), i = Math.min(r.inertiaMaxSpeed, a), t = t.multiplyBy(i / a), n = i / (r.inertiaDeceleration * e), (o = t.multiplyBy(-n / 2).round()).x || o.y) ? (o = s._limitOffset(o, s.options.maxBounds), x(function () {\n s.panBy(o, {\n duration: n,\n easeLinearity: e,\n noMoveStart: !0,\n animate: !0\n });\n })) : s.fire("moveend");\n }\n })),\n St = (A.addInitHook("addHandler", "dragging", Zt), A.mergeOptions({\n keyboard: !0,\n keyboardPanDelta: 80\n }), n.extend({\n keyCodes: {\n left: [37],\n right: [39],\n down: [40],\n up: [38],\n zoomIn: [187, 107, 61, 171],\n zoomOut: [189, 109, 54, 173]\n },\n initialize: function (t) {\n this._map = t, this._setPanDelta(t.options.keyboardPanDelta), this._setZoomDelta(t.options.zoomDelta);\n },\n addHooks: function () {\n var t = this._map._container;\n t.tabIndex <= 0 && (t.tabIndex = "0"), S(t, {\n focus: this._onFocus,\n blur: this._onBlur,\n mousedown: this._onMouseDown\n }, this), this._map.on({\n focus: this._addHooks,\n blur: this._removeHooks\n }, this);\n },\n removeHooks: function () {\n this._removeHooks(), k(this._map._container, {\n focus: this._onFocus,\n blur: this._onBlur,\n mousedown: this._onMouseDown\n }, this), this._map.off({\n focus: this._addHooks,\n blur: this._removeHooks\n }, this);\n },\n _onMouseDown: function () {\n var t, e, i;\n this._focused || (i = document.body, t = document.documentElement, e = i.scrollTop || t.scrollTop, i = i.scrollLeft || t.scrollLeft, this._map._container.focus(), window.scrollTo(i, e));\n },\n _onFocus: function () {\n this._focused = !0, this._map.fire("focus");\n },\n _onBlur: function () {\n this._focused = !1, this._map.fire("blur");\n },\n _setPanDelta: function (t) {\n for (var e = this._panKeys = {}, i = this.keyCodes, n = 0, o = i.left.length; n < o; n++) e[i.left[n]] = [-1 * t, 0];\n for (n = 0, o = i.right.length; n < o; n++) e[i.right[n]] = [t, 0];\n for (n = 0, o = i.down.length; n < o; n++) e[i.down[n]] = [0, t];\n for (n = 0, o = i.up.length; n < o; n++) e[i.up[n]] = [0, -1 * t];\n },\n _setZoomDelta: function (t) {\n for (var e = this._zoomKeys = {}, i = this.keyCodes, n = 0, o = i.zoomIn.length; n < o; n++) e[i.zoomIn[n]] = t;\n for (n = 0, o = i.zoomOut.length; n < o; n++) e[i.zoomOut[n]] = -t;\n },\n _addHooks: function () {\n S(document, "keydown", this._onKeyDown, this);\n },\n _removeHooks: function () {\n k(document, "keydown", this._onKeyDown, this);\n },\n _onKeyDown: function (t) {\n if (!(t.altKey || t.ctrlKey || t.metaKey)) {\n var e,\n i,\n n = t.keyCode,\n o = this._map;\n if (n in this._panKeys) o._panAnim && o._panAnim._inProgress || (i = this._panKeys[n], t.shiftKey && (i = m(i).multiplyBy(3)), o.options.maxBounds && (i = o._limitOffset(m(i), o.options.maxBounds)), o.options.worldCopyJump ? (e = o.wrapLatLng(o.unproject(o.project(o.getCenter()).add(i))), o.panTo(e)) : o.panBy(i));else if (n in this._zoomKeys) o.setZoom(o.getZoom() + (t.shiftKey ? 3 : 1) * this._zoomKeys[n]);else {\n if (27 !== n || !o._popup || !o._popup.options.closeOnEscapeKey) return;\n o.closePopup();\n }\n Re(t);\n }\n }\n })),\n Et = (A.addInitHook("addHandler", "keyboard", St), A.mergeOptions({\n scrollWheelZoom: !0,\n wheelDebounceTime: 40,\n wheelPxPerZoomLevel: 60\n }), n.extend({\n addHooks: function () {\n S(this._map._container, "wheel", this._onWheelScroll, this), this._delta = 0;\n },\n removeHooks: function () {\n k(this._map._container, "wheel", this._onWheelScroll, this);\n },\n _onWheelScroll: function (t) {\n var e = He(t),\n i = this._map.options.wheelDebounceTime,\n e = (this._delta += e, this._lastMousePos = this._map.mouseEventToContainerPoint(t), this._startTime || (this._startTime = +new Date()), Math.max(i - (+new Date() - this._startTime), 0));\n clearTimeout(this._timer), this._timer = setTimeout(a(this._performZoom, this), e), Re(t);\n },\n _performZoom: function () {\n var t = this._map,\n e = t.getZoom(),\n i = this._map.options.zoomSnap || 0,\n n = (t._stop(), this._delta / (4 * this._map.options.wheelPxPerZoomLevel)),\n n = 4 * Math.log(2 / (1 + Math.exp(-Math.abs(n)))) / Math.LN2,\n i = i ? Math.ceil(n / i) * i : n,\n n = t._limitZoom(e + (0 < this._delta ? i : -i)) - e;\n this._delta = 0, this._startTime = null, n && ("center" === t.options.scrollWheelZoom ? t.setZoom(e + n) : t.setZoomAround(this._lastMousePos, e + n));\n }\n })),\n kt = (A.addInitHook("addHandler", "scrollWheelZoom", Et), A.mergeOptions({\n tapHold: b.touchNative && b.safari && b.mobile,\n tapTolerance: 15\n }), n.extend({\n addHooks: function () {\n S(this._map._container, "touchstart", this._onDown, this);\n },\n removeHooks: function () {\n k(this._map._container, "touchstart", this._onDown, this);\n },\n _onDown: function (t) {\n var e;\n clearTimeout(this._holdTimeout), 1 === t.touches.length && (e = t.touches[0], this._startPos = this._newPos = new p(e.clientX, e.clientY), this._holdTimeout = setTimeout(a(function () {\n this._cancel(), this._isTapValid() && (S(document, "touchend", O), S(document, "touchend touchcancel", this._cancelClickPrevent), this._simulateEvent("contextmenu", e));\n }, this), 600), S(document, "touchend touchcancel contextmenu", this._cancel, this), S(document, "touchmove", this._onMove, this));\n },\n _cancelClickPrevent: function t() {\n k(document, "touchend", O), k(document, "touchend touchcancel", t);\n },\n _cancel: function () {\n clearTimeout(this._holdTimeout), k(document, "touchend touchcancel contextmenu", this._cancel, this), k(document, "touchmove", this._onMove, this);\n },\n _onMove: function (t) {\n t = t.touches[0];\n this._newPos = new p(t.clientX, t.clientY);\n },\n _isTapValid: function () {\n return this._newPos.distanceTo(this._startPos) <= this._map.options.tapTolerance;\n },\n _simulateEvent: function (t, e) {\n t = new MouseEvent(t, {\n bubbles: !0,\n cancelable: !0,\n view: window,\n screenX: e.screenX,\n screenY: e.screenY,\n clientX: e.clientX,\n clientY: e.clientY\n });\n t._simulated = !0, e.target.dispatchEvent(t);\n }\n })),\n Ot = (A.addInitHook("addHandler", "tapHold", kt), A.mergeOptions({\n touchZoom: b.touch,\n bounceAtZoomLimits: !0\n }), n.extend({\n addHooks: function () {\n M(this._map._container, "leaflet-touch-zoom"), S(this._map._container, "touchstart", this._onTouchStart, this);\n },\n removeHooks: function () {\n z(this._map._container, "leaflet-touch-zoom"), k(this._map._container, "touchstart", this._onTouchStart, this);\n },\n _onTouchStart: function (t) {\n var e,\n i,\n n = this._map;\n !t.touches || 2 !== t.touches.length || n._animatingZoom || this._zooming || (e = n.mouseEventToContainerPoint(t.touches[0]), i = n.mouseEventToContainerPoint(t.touches[1]), this._centerPoint = n.getSize()._divideBy(2), this._startLatLng = n.containerPointToLatLng(this._centerPoint), "center" !== n.options.touchZoom && (this._pinchStartLatLng = n.containerPointToLatLng(e.add(i)._divideBy(2))), this._startDist = e.distanceTo(i), this._startZoom = n.getZoom(), this._moved = !1, this._zooming = !0, n._stop(), S(document, "touchmove", this._onTouchMove, this), S(document, "touchend touchcancel", this._onTouchEnd, this), O(t));\n },\n _onTouchMove: function (t) {\n if (t.touches && 2 === t.touches.length && this._zooming) {\n var e = this._map,\n i = e.mouseEventToContainerPoint(t.touches[0]),\n n = e.mouseEventToContainerPoint(t.touches[1]),\n o = i.distanceTo(n) / this._startDist;\n if (this._zoom = e.getScaleZoom(o, this._startZoom), !e.options.bounceAtZoomLimits && (this._zoom < e.getMinZoom() && o < 1 || this._zoom > e.getMaxZoom() && 1 < o) && (this._zoom = e._limitZoom(this._zoom)), "center" === e.options.touchZoom) {\n if (this._center = this._startLatLng, 1 == o) return;\n } else {\n i = i._add(n)._divideBy(2)._subtract(this._centerPoint);\n if (1 == o && 0 === i.x && 0 === i.y) return;\n this._center = e.unproject(e.project(this._pinchStartLatLng, this._zoom).subtract(i), this._zoom);\n }\n this._moved || (e._moveStart(!0, !1), this._moved = !0), r(this._animRequest);\n n = a(e._move, e, this._center, this._zoom, {\n pinch: !0,\n round: !1\n }, void 0);\n this._animRequest = x(n, this, !0), O(t);\n }\n },\n _onTouchEnd: function () {\n this._moved && this._zooming ? (this._zooming = !1, r(this._animRequest), k(document, "touchmove", this._onTouchMove, this), k(document, "touchend touchcancel", 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;\n }\n })),\n Xi = (A.addInitHook("addHandler", "touchZoom", Ot), A.BoxZoom = _t, A.DoubleClickZoom = Ct, A.Drag = Zt, A.Keyboard = St, A.ScrollWheelZoom = Et, A.TapHold = kt, A.TouchZoom = Ot, t.Bounds = f, t.Browser = b, t.CRS = ot, t.Canvas = Fi, t.Circle = vi, t.CircleMarker = gi, t.Class = et, t.Control = B, t.DivIcon = Ri, t.DivOverlay = Ai, t.DomEvent = mt, t.DomUtil = pt, t.Draggable = Xe, t.Evented = it, t.FeatureGroup = ci, t.GeoJSON = wi, t.GridLayer = Ni, t.Handler = n, t.Icon = di, t.ImageOverlay = Ei, t.LatLng = v, t.LatLngBounds = s, t.Layer = o, t.LayerGroup = ui, t.LineUtil = vt, t.Map = A, t.Marker = mi, t.Mixin = ft, t.Path = fi, t.Point = p, t.PolyUtil = gt, t.Polygon = xi, t.Polyline = yi, t.Popup = Bi, t.PosAnimation = Fe, t.Projection = wt, t.Rectangle = Yi, t.Renderer = Wi, t.SVG = Gi, t.SVGOverlay = Oi, t.TileLayer = Di, t.Tooltip = Ii, t.Transformation = at, t.Util = tt, t.VideoOverlay = ki, t.bind = a, t.bounds = _, t.canvas = Ui, t.circle = function (t, e, i) {\n return new vi(t, e, i);\n }, t.circleMarker = function (t, e) {\n return new gi(t, e);\n }, t.control = Ue, t.divIcon = function (t) {\n return new Ri(t);\n }, t.extend = l, t.featureGroup = function (t, e) {\n return new ci(t, e);\n }, t.geoJSON = Si, t.geoJson = Mt, t.gridLayer = function (t) {\n return new Ni(t);\n }, t.icon = function (t) {\n return new di(t);\n }, t.imageOverlay = function (t, e, i) {\n return new Ei(t, e, i);\n }, t.latLng = w, t.latLngBounds = g, t.layerGroup = function (t, e) {\n return new ui(t, e);\n }, t.map = function (t, e) {\n return new A(t, e);\n }, t.marker = function (t, e) {\n return new mi(t, e);\n }, t.point = m, t.polygon = function (t, e) {\n return new xi(t, e);\n }, t.polyline = function (t, e) {\n return new yi(t, e);\n }, t.popup = function (t, e) {\n return new Bi(t, e);\n }, t.rectangle = function (t, e) {\n return new Yi(t, e);\n }, t.setOptions = c, t.stamp = h, t.svg = Ki, t.svgOverlay = function (t, e, i) {\n return new Oi(t, e, i);\n }, t.tileLayer = ji, t.tooltip = function (t, e) {\n return new Ii(t, e);\n }, t.transformation = ht, t.version = "1.9.4", t.videoOverlay = function (t, e, i) {\n return new ki(t, e, i);\n }, window.L);\n t.noCon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