@revolugo/elements 6.15.8-alpha.2 → 6.15.8-alpha.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/{revolugo.banktransferdetails.nisOLtQ_.min.js → revolugo.banktransferdetails.Cs5w66mg.min.js} +6 -6
  2. package/dist/{revolugo.bookingdetailssidebar.Vx6r1YDq.min.js → revolugo.bookingdetailssidebar.IA-CbTjt.min.js} +6 -6
  3. package/dist/{revolugo.bookingmanager.CBkh_VVh.min.js → revolugo.bookingmanager.CHbjOV9n.min.js} +6 -6
  4. package/dist/{revolugo.cancellationpoliciesbadge.DKQ_ez8n.min.js → revolugo.cancellationpoliciesbadge.DgVJ0ewm.min.js} +6 -6
  5. package/dist/{revolugo.cancellationpoliciesbadge.props.DNlFcGm6.min.js → revolugo.cancellationpoliciesbadge.props.Bl5MlDOX.min.js} +1862 -1847
  6. package/dist/{revolugo.cancellationpolicieslist.CVOkdbez.min.js → revolugo.cancellationpolicieslist.hqoV3ghZ.min.js} +6 -6
  7. package/dist/{revolugo.creditcardstripeform.BxFE1IDq.min.js → revolugo.creditcardstripeform.Ct0N5HDi.min.js} +4 -4
  8. package/dist/{revolugo.creditcardstripeform.CrJgLF__.min.js → revolugo.creditcardstripeform.DtLGs0L3.min.js} +353 -342
  9. package/dist/{revolugo.currencypickerbtn.zl7yTJ48.min.js → revolugo.currencypickerbtn.mMRvONg8.min.js} +6 -6
  10. package/dist/{revolugo.dialog-attach.Bzfs22Yu.min.js → revolugo.dialog-attach.CsQpI0dO.min.js} +2 -2
  11. package/dist/{revolugo.fastbookingflow.BcZWs658.min.js → revolugo.fastbookingflow.BLs5EtoO.min.js} +6 -6
  12. package/dist/{revolugo.fullbookingflow.De5LJbLM.min.js → revolugo.fullbookingflow.nHR-g3xv.min.js} +6 -6
  13. package/dist/{revolugo.hoteldescriptionview.qw3KT49O.min.js → revolugo.hoteldescriptionview.CSW8upbx.min.js} +6 -6
  14. package/dist/{revolugo.hotelofferlist.BPJoA3MY.min.js → revolugo.hotelofferlist.sJZVldCx.min.js} +6 -6
  15. package/dist/{revolugo.hoteloffersearchmenu.DPS8arq2.min.js → revolugo.hoteloffersearchmenu.BHp0YOaT.min.js} +7 -7
  16. package/dist/{revolugo.hoteloffersmap.Btil3aWa.min.js → revolugo.hoteloffersmap.BRqI56TU.min.js} +6 -6
  17. package/dist/{revolugo.hoteloffersview.BUjioYiY.min.js → revolugo.hoteloffersview.cglPNHld.min.js} +6 -6
  18. package/dist/{revolugo.hotelroomofferlist.DASR-DAv.min.js → revolugo.hotelroomofferlist.CFxiGG90.min.js} +6 -6
  19. package/dist/{revolugo.hotelroomoffersbookingflow.GAdP607d.min.js → revolugo.hotelroomoffersbookingflow.CeLWDPuZ.min.js} +6 -6
  20. package/dist/{revolugo.hotelroomoffersearchmenu.BImGNs6J.min.js → revolugo.hotelroomoffersearchmenu.CmnA7S-g.min.js} +6 -6
  21. package/dist/{revolugo.hotelroomoffersview.CreSI2I0.min.js → revolugo.hotelroomoffersview.QT7CXgV-.min.js} +6 -6
  22. package/dist/{revolugo.index.DhKm4Isq.min.js → revolugo.index.A7WHyXi0.min.js} +10 -10
  23. package/dist/{revolugo.index.wc.ul7M3bAo.min.js → revolugo.index.wc.D8Ao6_NY.min.js} +5279 -5262
  24. package/dist/{revolugo.langpickerbtn.DzRnnn1K.min.js → revolugo.langpickerbtn.D5bmXGFB.min.js} +6 -6
  25. package/dist/{revolugo.leaflet-src.esm.BSRIxBxW.min.js → revolugo.leaflet-src.esm.6sTpRDd5.min.js} +689 -782
  26. package/dist/revolugo.min.js +1 -1
  27. package/dist/{revolugo.prebookform.wPHMxKlZ.min.js → revolugo.prebookform.DgVUuMts.min.js} +6 -6
  28. package/dist/{revolugo.preferencesmenu.WGnFBlzl.min.js → revolugo.preferencesmenu.Bd-c1UbH.min.js} +9 -9
  29. package/dist/{revolugo.preferencesmenu.D0VN4vr5.min.js → revolugo.preferencesmenu.CwV8YEKN.min.js} +4 -4
  30. package/dist/{revolugo.roominglisteditor.CowcW3LM.min.js → revolugo.roominglisteditor.43uMUR-w.min.js} +6 -6
  31. package/dist/{revolugo.storybooktoolbar.CGqQCkAU.min.js → revolugo.storybooktoolbar.-XLbjH7M.min.js} +5 -5
  32. package/dist/{revolugo.termsandconditions.QAgD4WqA.min.js → revolugo.termsandconditions.DBMnKNVH.min.js} +8 -8
  33. package/dist/{revolugo.vtoolbar.zLPRwT_-.min.js → revolugo.vtoolbar.lnVV5kE5.min.js} +14 -14
  34. package/dist/{revolugo.webcomponentwrapper.CNwHKZ3t.min.js → revolugo.webcomponentwrapper.k5NFn2Jh.min.js} +11 -11
  35. package/package.json +3 -3
@@ -1,4 +1,3 @@
1
- var fo = "1.9.4";
2
1
  function T(t) {
3
2
  var e, i, n, o;
4
3
  for (i = 1, n = arguments.length; i < n; i++) {
@@ -8,7 +7,7 @@ function T(t) {
8
7
  }
9
8
  return t;
10
9
  }
11
- var Wt = Object.create || /* @__PURE__ */ (function() {
10
+ var Rt = Object.create || /* @__PURE__ */ (function() {
12
11
  function t() {
13
12
  }
14
13
  return function(e) {
@@ -24,11 +23,11 @@ function M(t, e) {
24
23
  return t.apply(e, n.length ? n.concat(i.call(arguments)) : arguments);
25
24
  };
26
25
  }
27
- var oi = 0;
26
+ var Xe = 0;
28
27
  function w(t) {
29
- return "_leaflet_id" in t || (t._leaflet_id = ++oi), t._leaflet_id;
28
+ return "_leaflet_id" in t || (t._leaflet_id = ++Xe), t._leaflet_id;
30
29
  }
31
- function si(t, e, i) {
30
+ function Je(t, e, i) {
32
31
  var n, o, s, r;
33
32
  return r = function() {
34
33
  n = !1, o && (s.apply(i, o), o = !1);
@@ -36,11 +35,11 @@ function si(t, e, i) {
36
35
  n ? o = arguments : (t.apply(i, arguments), setTimeout(r, e), n = !0);
37
36
  }, s;
38
37
  }
39
- function Ct(t, e, i) {
38
+ function Mt(t, e, i) {
40
39
  var n = e[1], o = e[0], s = n - o;
41
40
  return t === n && i ? t : ((t - o) % s + s) % s + o;
42
41
  }
43
- function k() {
42
+ function E() {
44
43
  return !1;
45
44
  }
46
45
  function K(t, e) {
@@ -49,27 +48,27 @@ function K(t, e) {
49
48
  var i = Math.pow(10, e === void 0 ? 6 : e);
50
49
  return Math.round(t * i) / i;
51
50
  }
52
- function me(t) {
51
+ function le(t) {
53
52
  return t.trim ? t.trim() : t.replace(/^\s+|\s+$/g, "");
54
53
  }
55
- function ut(t) {
56
- return me(t).split(/\s+/);
54
+ function at(t) {
55
+ return le(t).split(/\s+/);
57
56
  }
58
- function S(t, e) {
59
- Object.prototype.hasOwnProperty.call(t, "options") || (t.options = t.options ? Wt(t.options) : {});
57
+ function z(t, e) {
58
+ Object.prototype.hasOwnProperty.call(t, "options") || (t.options = t.options ? Rt(t.options) : {});
60
59
  for (var i in e)
61
60
  t.options[i] = e[i];
62
61
  return t.options;
63
62
  }
64
- function ri(t, e, i) {
63
+ function $e(t, e, i) {
65
64
  var n = [];
66
65
  for (var o in t)
67
66
  n.push(encodeURIComponent(i ? o.toUpperCase() : o) + "=" + encodeURIComponent(t[o]));
68
67
  return (!e || e.indexOf("?") === -1 ? "?" : "&") + n.join("&");
69
68
  }
70
- var un = /\{ *([\w_ -]+) *\}/g;
71
- function ai(t, e) {
72
- return t.replace(un, function(i, n) {
69
+ var Gi = /\{ *([\w_ -]+) *\}/g;
70
+ function Qe(t, e) {
71
+ return t.replace(Gi, function(i, n) {
73
72
  var o = e[n];
74
73
  if (o === void 0)
75
74
  throw new Error("No value provided for variable " + i);
@@ -79,69 +78,69 @@ function ai(t, e) {
79
78
  var j = Array.isArray || function(t) {
80
79
  return Object.prototype.toString.call(t) === "[object Array]";
81
80
  };
82
- function pe(t, e) {
81
+ function ce(t, e) {
83
82
  for (var i = 0; i < t.length; i++)
84
83
  if (t[i] === e)
85
84
  return i;
86
85
  return -1;
87
86
  }
88
- var Nt = "data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";
89
- function se(t) {
87
+ var Ot = "data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";
88
+ function ee(t) {
90
89
  return window["webkit" + t] || window["moz" + t] || window["ms" + t];
91
90
  }
92
- var je = 0;
93
- function hi(t) {
94
- var e = +/* @__PURE__ */ new Date(), i = Math.max(0, 16 - (e - je));
95
- return je = e + i, window.setTimeout(t, i);
91
+ var Ne = 0;
92
+ function ti(t) {
93
+ var e = +/* @__PURE__ */ new Date(), i = Math.max(0, 16 - (e - Ne));
94
+ return Ne = e + i, window.setTimeout(t, i);
96
95
  }
97
- var re = window.requestAnimationFrame || se("RequestAnimationFrame") || hi, ui = window.cancelAnimationFrame || se("CancelAnimationFrame") || se("CancelRequestAnimationFrame") || function(t) {
96
+ var ie = window.requestAnimationFrame || ee("RequestAnimationFrame") || ti, ei = window.cancelAnimationFrame || ee("CancelAnimationFrame") || ee("CancelRequestAnimationFrame") || function(t) {
98
97
  window.clearTimeout(t);
99
98
  };
100
99
  function D(t, e, i) {
101
- if (i && re === hi)
100
+ if (i && ie === ti)
102
101
  t.call(e);
103
102
  else
104
- return re.call(window, M(t, e));
103
+ return ie.call(window, M(t, e));
105
104
  }
106
- function V(t) {
107
- t && ui.call(window, t);
105
+ function q(t) {
106
+ t && ei.call(window, t);
108
107
  }
109
- var _o = {
108
+ var eo = {
110
109
  __proto__: null,
111
110
  extend: T,
112
- create: Wt,
111
+ create: Rt,
113
112
  bind: M,
114
113
  get lastId() {
115
- return oi;
114
+ return Xe;
116
115
  },
117
116
  stamp: w,
118
- throttle: si,
119
- wrapNum: Ct,
120
- falseFn: k,
117
+ throttle: Je,
118
+ wrapNum: Mt,
119
+ falseFn: E,
121
120
  formatNum: K,
122
- trim: me,
123
- splitWords: ut,
124
- setOptions: S,
125
- getParamString: ri,
126
- template: ai,
121
+ trim: le,
122
+ splitWords: at,
123
+ setOptions: z,
124
+ getParamString: $e,
125
+ template: Qe,
127
126
  isArray: j,
128
- indexOf: pe,
129
- emptyImageUrl: Nt,
130
- requestFn: re,
131
- cancelFn: ui,
127
+ indexOf: ce,
128
+ emptyImageUrl: Ot,
129
+ requestFn: ie,
130
+ cancelFn: ei,
132
131
  requestAnimFrame: D,
133
- cancelAnimFrame: V
132
+ cancelAnimFrame: q
134
133
  };
135
- function st() {
134
+ function nt() {
136
135
  }
137
- st.extend = function(t) {
136
+ nt.extend = function(t) {
138
137
  var e = function() {
139
- S(this), this.initialize && this.initialize.apply(this, arguments), this.callInitHooks();
140
- }, i = e.__super__ = this.prototype, n = Wt(i);
138
+ z(this), this.initialize && this.initialize.apply(this, arguments), this.callInitHooks();
139
+ }, i = e.__super__ = this.prototype, n = Rt(i);
141
140
  n.constructor = e, e.prototype = n;
142
141
  for (var o in this)
143
142
  Object.prototype.hasOwnProperty.call(this, o) && o !== "prototype" && o !== "__super__" && (e[o] = this[o]);
144
- return t.statics && T(e, t.statics), t.includes && (ln(t.includes), T.apply(null, [n].concat(t.includes))), T(n, t), delete n.statics, delete n.includes, n.options && (n.options = i.options ? Wt(i.options) : {}, T(n.options, t.options)), n._initHooks = [], n.callInitHooks = function() {
143
+ return t.statics && T(e, t.statics), t.includes && (ji(t.includes), T.apply(null, [n].concat(t.includes))), T(n, t), delete n.statics, delete n.includes, n.options && (n.options = i.options ? Rt(i.options) : {}, T(n.options, t.options)), n._initHooks = [], n.callInitHooks = function() {
145
144
  if (!this._initHooksCalled) {
146
145
  i.callInitHooks && i.callInitHooks.call(this), this._initHooksCalled = !0;
147
146
  for (var s = 0, r = n._initHooks.length; s < r; s++)
@@ -149,27 +148,27 @@ st.extend = function(t) {
149
148
  }
150
149
  }, e;
151
150
  };
152
- st.include = function(t) {
151
+ nt.include = function(t) {
153
152
  var e = this.prototype.options;
154
153
  return T(this.prototype, t), t.options && (this.prototype.options = e, this.mergeOptions(t.options)), this;
155
154
  };
156
- st.mergeOptions = function(t) {
155
+ nt.mergeOptions = function(t) {
157
156
  return T(this.prototype.options, t), this;
158
157
  };
159
- st.addInitHook = function(t) {
158
+ nt.addInitHook = function(t) {
160
159
  var e = Array.prototype.slice.call(arguments, 1), i = typeof t == "function" ? t : function() {
161
160
  this[t].apply(this, e);
162
161
  };
163
162
  return this.prototype._initHooks = this.prototype._initHooks || [], this.prototype._initHooks.push(i), this;
164
163
  };
165
- function ln(t) {
164
+ function ji(t) {
166
165
  if (!(typeof L > "u" || !L || !L.Mixin)) {
167
166
  t = j(t) ? t : [t];
168
167
  for (var e = 0; e < t.length; e++)
169
168
  t[e] === L.Mixin.Events && console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.", new Error().stack);
170
169
  }
171
170
  }
172
- var W = {
171
+ var V = {
173
172
  /* @method on(type: String, fn: Function, context?: Object): this
174
173
  * Adds a listener function (`fn`) to a particular event type of the object. You can optionally specify the context of the listener (object the this keyword will point to). You can also pass several space-separated types (e.g. `'click dblclick'`).
175
174
  *
@@ -182,7 +181,7 @@ var W = {
182
181
  for (var n in t)
183
182
  this._on(n, t[n], e);
184
183
  else {
185
- t = ut(t);
184
+ t = at(t);
186
185
  for (var o = 0, s = t.length; o < s; o++)
187
186
  this._on(t[o], e, i);
188
187
  }
@@ -206,7 +205,7 @@ var W = {
206
205
  for (var n in t)
207
206
  this._off(n, t[n], e);
208
207
  else {
209
- t = ut(t);
208
+ t = at(t);
210
209
  for (var o = arguments.length === 1, s = 0, r = t.length; s < r; s++)
211
210
  o ? this._off(t[s]) : this._off(t[s], e, i);
212
211
  }
@@ -230,7 +229,7 @@ var W = {
230
229
  if (arguments.length === 1) {
231
230
  if (this._firingCount)
232
231
  for (o = 0, s = n.length; o < s; o++)
233
- n[o].fn = k;
232
+ n[o].fn = E;
234
233
  delete this._events[t];
235
234
  return;
236
235
  }
@@ -241,7 +240,7 @@ var W = {
241
240
  var r = this._listens(t, e, i);
242
241
  if (r !== !1) {
243
242
  var a = n[r];
244
- this._firingCount && (a.fn = k, this._events[t] = n = n.slice()), n.splice(r, 1);
243
+ this._firingCount && (a.fn = E, this._events[t] = n = n.slice()), n.splice(r, 1);
245
244
  }
246
245
  }
247
246
  },
@@ -308,7 +307,7 @@ var W = {
308
307
  for (var n in t)
309
308
  this._on(n, t[n], e, !0);
310
309
  else {
311
- t = ut(t);
310
+ t = at(t);
312
311
  for (var o = 0, s = t.length; o < s; o++)
313
312
  this._on(t[o], e, i, !0);
314
313
  }
@@ -332,16 +331,16 @@ var W = {
332
331
  }, t), !0);
333
332
  }
334
333
  };
335
- W.addEventListener = W.on;
336
- W.removeEventListener = W.clearAllEventListeners = W.off;
337
- W.addOneTimeEventListener = W.once;
338
- W.fireEvent = W.fire;
339
- W.hasEventListeners = W.listens;
340
- var Kt = st.extend(W);
334
+ V.addEventListener = V.on;
335
+ V.removeEventListener = V.clearAllEventListeners = V.off;
336
+ V.addOneTimeEventListener = V.once;
337
+ V.fireEvent = V.fire;
338
+ V.hasEventListeners = V.listens;
339
+ var qt = nt.extend(V);
341
340
  function m(t, e, i) {
342
341
  this.x = i ? Math.round(t) : t, this.y = i ? Math.round(e) : e;
343
342
  }
344
- var Ke = Math.trunc || function(t) {
343
+ var Re = Math.trunc || function(t) {
345
344
  return t > 0 ? Math.floor(t) : Math.ceil(t);
346
345
  };
347
346
  m.prototype = {
@@ -426,7 +425,7 @@ m.prototype = {
426
425
  return this.clone()._trunc();
427
426
  },
428
427
  _trunc: function() {
429
- return this.x = Ke(this.x), this.y = Ke(this.y), this;
428
+ return this.x = Re(this.x), this.y = Re(this.y), this;
430
429
  },
431
430
  // @method distanceTo(otherPoint: Point): Number
432
431
  // Returns the cartesian distance between the current and the given points.
@@ -454,12 +453,12 @@ m.prototype = {
454
453
  function d(t, e, i) {
455
454
  return t instanceof m ? t : j(t) ? new m(t[0], t[1]) : t == null ? t : typeof t == "object" && "x" in t && "y" in t ? new m(t.x, t.y) : new m(t, e, i);
456
455
  }
457
- function z(t, e) {
456
+ function S(t, e) {
458
457
  if (t)
459
458
  for (var i = e ? [t, e] : t, n = 0, o = i.length; n < o; n++)
460
459
  this.extend(i[n]);
461
460
  }
462
- z.prototype = {
461
+ S.prototype = {
463
462
  // @method extend(point: Point): this
464
463
  // Extends the bounds to contain the given point.
465
464
  // @alternative
@@ -516,7 +515,7 @@ z.prototype = {
516
515
  // Returns `true` if the rectangle contains the given point.
517
516
  contains: function(t) {
518
517
  var e, i;
519
- return typeof t[0] == "number" || t instanceof m ? t = d(t) : t = H(t), t instanceof z ? (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;
518
+ return typeof t[0] == "number" || t instanceof m ? t = d(t) : t = H(t), t instanceof S ? (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;
520
519
  },
521
520
  // @method intersects(otherBounds: Bounds): Boolean
522
521
  // Returns `true` if the rectangle intersects the given bounds. Two bounds
@@ -557,7 +556,7 @@ z.prototype = {
557
556
  }
558
557
  };
559
558
  function H(t, e) {
560
- return !t || t instanceof z ? t : new z(t, e);
559
+ return !t || t instanceof S ? t : new S(t, e);
561
560
  }
562
561
  function F(t, e) {
563
562
  if (t)
@@ -709,12 +708,12 @@ P.prototype = {
709
708
  // @method distanceTo(otherLatLng: LatLng): Number
710
709
  // Returns the distance (in meters) to the given `LatLng` calculated using the [Spherical Law of Cosines](https://en.wikipedia.org/wiki/Spherical_law_of_cosines).
711
710
  distanceTo: function(t) {
712
- return ot.distance(this, g(t));
711
+ return it.distance(this, g(t));
713
712
  },
714
713
  // @method wrap(): LatLng
715
714
  // Returns a new `LatLng` object with the longitude wrapped so it's always between -180 and +180 degrees.
716
715
  wrap: function() {
717
- return ot.wrapLatLng(this);
716
+ return it.wrapLatLng(this);
718
717
  },
719
718
  // @method toBounds(sizeInMeters: Number): LatLngBounds
720
719
  // Returns a new `LatLngBounds` object in which each boundary is `sizeInMeters/2` meters apart from the `LatLng`.
@@ -732,7 +731,7 @@ P.prototype = {
732
731
  function g(t, e, i) {
733
732
  return t instanceof P ? t : j(t) && typeof t[0] != "object" ? t.length === 3 ? new P(t[0], t[1], t[2]) : t.length === 2 ? new P(t[0], t[1]) : null : t == null ? t : typeof t == "object" && "lat" in t ? new P(t.lat, "lng" in t ? t.lng : t.lon, t.alt) : e === void 0 ? null : new P(t, e, i);
734
733
  }
735
- var rt = {
734
+ var ot = {
736
735
  // @method latLngToPoint(latlng: LatLng, zoom: Number): Point
737
736
  // Projects geographical coordinates into pixel coordinates for a given zoom.
738
737
  latLngToPoint: function(t, e) {
@@ -777,7 +776,7 @@ var rt = {
777
776
  if (this.infinite)
778
777
  return null;
779
778
  var e = this.projection.bounds, i = this.scale(t), n = this.transformation.transform(e.min, i), o = this.transformation.transform(e.max, i);
780
- return new z(n, o);
779
+ return new S(n, o);
781
780
  },
782
781
  // @method distance(latlng1: LatLng, latlng2: LatLng): Number
783
782
  // Returns the distance between two geographical coordinates.
@@ -800,7 +799,7 @@ var rt = {
800
799
  // Returns a `LatLng` where lat and lng has been wrapped according to the
801
800
  // CRS's `wrapLat` and `wrapLng` properties, if they are outside the CRS's bounds.
802
801
  wrapLatLng: function(t) {
803
- var e = this.wrapLng ? Ct(t.lng, this.wrapLng, !0) : t.lng, i = this.wrapLat ? Ct(t.lat, this.wrapLat, !0) : t.lat, n = t.alt;
802
+ var e = this.wrapLng ? Mt(t.lng, this.wrapLng, !0) : t.lng, i = this.wrapLat ? Mt(t.lat, this.wrapLat, !0) : t.lat, n = t.alt;
804
803
  return new P(i, e, n);
805
804
  },
806
805
  // @method wrapLatLngBounds(bounds: LatLngBounds): LatLngBounds
@@ -814,7 +813,7 @@ var rt = {
814
813
  var s = t.getSouthWest(), r = t.getNorthEast(), a = new P(s.lat - n, s.lng - o), h = new P(r.lat - n, r.lng - o);
815
814
  return new F(a, h);
816
815
  }
817
- }, ot = T({}, rt, {
816
+ }, it = T({}, ot, {
818
817
  wrapLng: [-180, 180],
819
818
  // Mean Earth Radius, as recommended for use by
820
819
  // the International Union of Geodesy and Geophysics,
@@ -825,8 +824,8 @@ var rt = {
825
824
  var i = Math.PI / 180, n = t.lat * i, o = e.lat * i, s = Math.sin((e.lat - t.lat) * i / 2), r = Math.sin((e.lng - t.lng) * i / 2), a = s * s + Math.cos(n) * Math.cos(o) * r * r, h = 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1 - a));
826
825
  return this.R * h;
827
826
  }
828
- }), Ye = 6378137, ae = {
829
- R: Ye,
827
+ }), De = 6378137, He = {
828
+ R: De,
830
829
  MAX_LATITUDE: 85.0511287798,
831
830
  project: function(t) {
832
831
  var e = Math.PI / 180, i = this.MAX_LATITUDE, n = Math.max(Math.min(i, t.lat), -i), o = Math.sin(n * e);
@@ -843,18 +842,18 @@ var rt = {
843
842
  );
844
843
  },
845
844
  bounds: (function() {
846
- var t = Ye * Math.PI;
847
- return new z([-t, -t], [t, t]);
845
+ var t = De * Math.PI;
846
+ return new S([-t, -t], [t, t]);
848
847
  })()
849
848
  };
850
- function li(t, e, i, n) {
849
+ function ii(t, e, i, n) {
851
850
  if (j(t)) {
852
851
  this._a = t[0], this._b = t[1], this._c = t[2], this._d = t[3];
853
852
  return;
854
853
  }
855
854
  this._a = t, this._b = e, this._c = i, this._d = n;
856
855
  }
857
- li.prototype = {
856
+ ii.prototype = {
858
857
  // @method transform(point: Point, scale?: Number): Point
859
858
  // Returns a transformed point, optionally multiplied by the given scale.
860
859
  // Only accepts actual `L.Point` instances, not arrays.
@@ -875,23 +874,23 @@ li.prototype = {
875
874
  );
876
875
  }
877
876
  };
878
- function Yt(t, e, i, n) {
879
- return new li(t, e, i, n);
877
+ function Vt(t, e, i, n) {
878
+ return new ii(t, e, i, n);
880
879
  }
881
- var ve = T({}, ot, {
880
+ var fe = T({}, it, {
882
881
  code: "EPSG:3857",
883
- projection: ae,
882
+ projection: He,
884
883
  transformation: (function() {
885
- var t = 0.5 / (Math.PI * ae.R);
886
- return Yt(t, 0.5, -t, 0.5);
884
+ var t = 0.5 / (Math.PI * He.R);
885
+ return Vt(t, 0.5, -t, 0.5);
887
886
  })()
888
- }), cn = T({}, ve, {
887
+ }), Ki = T({}, fe, {
889
888
  code: "EPSG:900913"
890
889
  });
891
- function ci(t) {
890
+ function ni(t) {
892
891
  return document.createElementNS("http://www.w3.org/2000/svg", t);
893
892
  }
894
- function fi(t, e) {
893
+ function oi(t, e) {
895
894
  var i = "", n, o, s, r, a, h;
896
895
  for (n = 0, s = t.length; n < s; n++) {
897
896
  for (a = t[n], o = 0, r = a.length; o < r; o++)
@@ -900,7 +899,13 @@ function fi(t, e) {
900
899
  }
901
900
  return i || "M0 0";
902
901
  }
903
- var ge = document.documentElement.style, Xt = "ActiveXObject" in window, fn = Xt && !document.addEventListener, di = "msLaunchUri" in navigator && !("documentMode" in document), ye = X("webkit"), _i = X("android"), mi = X("android 2") || X("android 3"), dn = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), _n = _i && X("Google") && dn < 537 && !("AudioNode" in window), xe = !!window.opera, pi = !di && X("chrome"), vi = X("gecko") && !ye && !xe && !Xt, mn = !pi && X("safari"), gi = X("phantom"), yi = "OTransition" in ge, pn = navigator.platform.indexOf("Win") === 0, xi = Xt && "transition" in ge, we = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !mi, wi = "MozPerspective" in ge, vn = !window.L_DISABLE_3D && (xi || we || wi) && !yi && !gi, Ot = typeof orientation < "u" || X("mobile"), gn = Ot && ye, yn = Ot && we, Pi = !window.PointerEvent && window.MSPointerEvent, Li = !!(window.PointerEvent || Pi), Ti = "ontouchstart" in window || !!window.TouchEvent, xn = !window.L_NO_TOUCH && (Ti || Li), wn = Ot && xe, Pn = Ot && vi, Ln = (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI) > 1, Tn = (function() {
902
+ var de = document.documentElement.style, _e = "ActiveXObject" in window, Yi = _e && !document.addEventListener, si = "msLaunchUri" in navigator && !("documentMode" in document), Xi = X("webkit"), Ji = X("android"), $i = X("android 2") || X("android 3"), Qi = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10);
903
+ Ji && X("Google") && Qi < 537 && "AudioNode" in window;
904
+ var ri = !!window.opera, ai = !si && X("chrome");
905
+ X("gecko");
906
+ var tn = !ai && X("safari"), en = X("phantom"), nn = "OTransition" in de;
907
+ navigator.platform.indexOf("Win");
908
+ var hi = _e && "transition" in de, on = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !$i, sn = "MozPerspective" in de, rn = !window.L_DISABLE_3D && (hi || on || sn) && !nn && !en, ui = typeof orientation < "u" || X("mobile"), li = !window.PointerEvent && window.MSPointerEvent, ci = !!(window.PointerEvent || li), fi = "ontouchstart" in window || !!window.TouchEvent, an = !window.L_NO_TOUCH && (fi || ci), hn = ui && ri, un = (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI) > 1, ln = (function() {
904
909
  var t = !1;
905
910
  try {
906
911
  var e = Object.defineProperty({}, "passive", {
@@ -908,16 +913,16 @@ var ge = document.documentElement.style, Xt = "ActiveXObject" in window, fn = Xt
908
913
  t = !0;
909
914
  }
910
915
  });
911
- window.addEventListener("testPassiveEventSupport", k, e), window.removeEventListener("testPassiveEventSupport", k, e);
916
+ window.addEventListener("testPassiveEventSupport", E, e), window.removeEventListener("testPassiveEventSupport", E, e);
912
917
  } catch {
913
918
  }
914
919
  return t;
915
- })(), bn = (function() {
920
+ })(), cn = (function() {
916
921
  return !!document.createElement("canvas").getContext;
917
- })(), Pe = !!(document.createElementNS && ci("svg").createSVGRect), Mn = !!Pe && (function() {
922
+ })(), me = !!(document.createElementNS && ni("svg").createSVGRect), fn = !!me && (function() {
918
923
  var t = document.createElement("div");
919
924
  return t.innerHTML = "<svg/>", (t.firstChild && t.firstChild.namespaceURI) === "http://www.w3.org/2000/svg";
920
- })(), Cn = !Pe && (function() {
925
+ })(), dn = !me && (function() {
921
926
  try {
922
927
  var t = document.createElement("div");
923
928
  t.innerHTML = '<v:shape adj="1"/>';
@@ -926,80 +931,65 @@ var ge = document.documentElement.style, Xt = "ActiveXObject" in window, fn = Xt
926
931
  } catch {
927
932
  return !1;
928
933
  }
929
- })(), Sn = navigator.platform.indexOf("Mac") === 0, zn = navigator.platform.indexOf("Linux") === 0;
934
+ })(), _n = navigator.platform.indexOf("Mac") === 0, mn = navigator.platform.indexOf("Linux") === 0;
930
935
  function X(t) {
931
936
  return navigator.userAgent.toLowerCase().indexOf(t) >= 0;
932
937
  }
933
938
  var c = {
934
- ie: Xt,
935
- ielt9: fn,
936
- edge: di,
937
- webkit: ye,
938
- android: _i,
939
- android23: mi,
940
- androidStock: _n,
941
- opera: xe,
942
- chrome: pi,
943
- gecko: vi,
944
- safari: mn,
945
- phantom: gi,
946
- opera12: yi,
947
- win: pn,
948
- ie3d: xi,
949
- webkit3d: we,
950
- gecko3d: wi,
951
- any3d: vn,
952
- mobile: Ot,
953
- mobileWebkit: gn,
954
- mobileWebkit3d: yn,
955
- msPointer: Pi,
956
- pointer: Li,
957
- touch: xn,
958
- touchNative: Ti,
959
- mobileOpera: wn,
960
- mobileGecko: Pn,
961
- retina: Ln,
962
- passiveEvents: Tn,
963
- canvas: bn,
964
- svg: Pe,
965
- vml: Cn,
966
- inlineSvg: Mn,
967
- mac: Sn,
968
- linux: zn
969
- }, bi = c.msPointer ? "MSPointerDown" : "pointerdown", Mi = c.msPointer ? "MSPointerMove" : "pointermove", Ci = c.msPointer ? "MSPointerUp" : "pointerup", Si = c.msPointer ? "MSPointerCancel" : "pointercancel", he = {
970
- touchstart: bi,
971
- touchmove: Mi,
972
- touchend: Ci,
973
- touchcancel: Si
974
- }, Xe = {
975
- touchstart: An,
976
- touchmove: Rt,
977
- touchend: Rt,
978
- touchcancel: Rt
979
- }, vt = {}, Je = !1;
980
- function kn(t, e, i) {
981
- return e === "touchstart" && In(), Xe[e] ? (i = Xe[e].bind(this, i), t.addEventListener(he[e], i, !1), i) : (console.warn("wrong event specified:", e), k);
939
+ ielt9: Yi,
940
+ edge: si,
941
+ chrome: ai,
942
+ safari: tn,
943
+ ie3d: hi,
944
+ any3d: rn,
945
+ mobile: ui,
946
+ msPointer: li,
947
+ pointer: ci,
948
+ touch: an,
949
+ touchNative: fi,
950
+ mobileOpera: hn,
951
+ retina: un,
952
+ passiveEvents: ln,
953
+ canvas: cn,
954
+ svg: me,
955
+ vml: dn,
956
+ inlineSvg: fn,
957
+ mac: _n,
958
+ linux: mn
959
+ }, di = c.msPointer ? "MSPointerDown" : "pointerdown", _i = c.msPointer ? "MSPointerMove" : "pointermove", mi = c.msPointer ? "MSPointerUp" : "pointerup", pi = c.msPointer ? "MSPointerCancel" : "pointercancel", ne = {
960
+ touchstart: di,
961
+ touchmove: _i,
962
+ touchend: mi,
963
+ touchcancel: pi
964
+ }, Fe = {
965
+ touchstart: wn,
966
+ touchmove: It,
967
+ touchend: It,
968
+ touchcancel: It
969
+ }, vt = {}, We = !1;
970
+ function pn(t, e, i) {
971
+ return e === "touchstart" && xn(), Fe[e] ? (i = Fe[e].bind(this, i), t.addEventListener(ne[e], i, !1), i) : (console.warn("wrong event specified:", e), E);
982
972
  }
983
- function En(t, e, i) {
984
- if (!he[e]) {
973
+ function vn(t, e, i) {
974
+ if (!ne[e]) {
985
975
  console.warn("wrong event specified:", e);
986
976
  return;
987
977
  }
988
- t.removeEventListener(he[e], i, !1);
978
+ t.removeEventListener(ne[e], i, !1);
989
979
  }
990
- function Zn(t) {
980
+ function gn(t) {
991
981
  vt[t.pointerId] = t;
992
982
  }
993
- function On(t) {
983
+ function yn(t) {
994
984
  vt[t.pointerId] && (vt[t.pointerId] = t);
995
985
  }
996
- function $e(t) {
986
+ function Ue(t) {
997
987
  delete vt[t.pointerId];
998
988
  }
999
- function In() {
1000
- Je || (document.addEventListener(bi, Zn, !0), document.addEventListener(Mi, On, !0), document.addEventListener(Ci, $e, !0), document.addEventListener(Si, $e, !0), Je = !0);
989
+ function xn() {
990
+ We || (document.addEventListener(di, gn, !0), document.addEventListener(_i, yn, !0), document.addEventListener(mi, Ue, !0), document.addEventListener(pi, Ue, !0), We = !0);
1001
991
  }
1002
- function Rt(t, e) {
992
+ function It(t, e) {
1003
993
  if (e.pointerType !== (e.MSPOINTER_TYPE_MOUSE || "mouse")) {
1004
994
  e.touches = [];
1005
995
  for (var i in vt)
@@ -1007,17 +997,17 @@ function Rt(t, e) {
1007
997
  e.changedTouches = [e], t(e);
1008
998
  }
1009
999
  }
1010
- function An(t, e) {
1011
- e.MSPOINTER_TYPE_TOUCH && e.pointerType === e.MSPOINTER_TYPE_TOUCH && B(e), Rt(t, e);
1000
+ function wn(t, e) {
1001
+ e.MSPOINTER_TYPE_TOUCH && e.pointerType === e.MSPOINTER_TYPE_TOUCH && B(e), It(t, e);
1012
1002
  }
1013
- function Bn(t) {
1003
+ function Pn(t) {
1014
1004
  var e = {}, i, n;
1015
1005
  for (n in t)
1016
1006
  i = t[n], e[n] = i && i.bind ? i.bind(t) : i;
1017
1007
  return t = e, e.type = "dblclick", e.detail = 2, e.isTrusted = !1, e._simulated = !0, e;
1018
1008
  }
1019
- var Nn = 200;
1020
- function Rn(t, e) {
1009
+ var Ln = 200;
1010
+ function Tn(t, e) {
1021
1011
  t.addEventListener("dblclick", e);
1022
1012
  var i = 0, n;
1023
1013
  function o(s) {
@@ -1026,14 +1016,14 @@ function Rn(t, e) {
1026
1016
  return;
1027
1017
  }
1028
1018
  if (!(s.pointerType === "mouse" || s.sourceCapabilities && !s.sourceCapabilities.firesTouchEvents)) {
1029
- var r = Zi(s);
1019
+ var r = xi(s);
1030
1020
  if (!(r.some(function(h) {
1031
1021
  return h instanceof HTMLLabelElement && h.attributes.for;
1032
1022
  }) && !r.some(function(h) {
1033
1023
  return h instanceof HTMLInputElement || h instanceof HTMLSelectElement;
1034
1024
  }))) {
1035
1025
  var a = Date.now();
1036
- a - i <= Nn ? (n++, n === 2 && e(Bn(s))) : n = 1, i = a;
1026
+ a - i <= Ln ? (n++, n === 2 && e(Pn(s))) : n = 1, i = a;
1037
1027
  }
1038
1028
  }
1039
1029
  }
@@ -1042,18 +1032,18 @@ function Rn(t, e) {
1042
1032
  simDblclick: o
1043
1033
  };
1044
1034
  }
1045
- function Dn(t, e) {
1035
+ function bn(t, e) {
1046
1036
  t.removeEventListener("dblclick", e.dblclick), t.removeEventListener("click", e.simDblclick);
1047
1037
  }
1048
- var Le = $t(
1038
+ var pe = jt(
1049
1039
  ["transform", "webkitTransform", "OTransform", "MozTransform", "msTransform"]
1050
- ), Lt = $t(
1040
+ ), Lt = jt(
1051
1041
  ["webkitTransition", "transition", "OTransition", "MozTransition", "msTransition"]
1052
- ), zi = Lt === "webkitTransition" || Lt === "OTransition" ? Lt + "End" : "transitionend";
1053
- function ki(t) {
1042
+ ), vi = Lt === "webkitTransition" || Lt === "OTransition" ? Lt + "End" : "transitionend";
1043
+ function gi(t) {
1054
1044
  return typeof t == "string" ? document.getElementById(t) : t;
1055
1045
  }
1056
- function St(t, e) {
1046
+ function Ct(t, e) {
1057
1047
  var i = t.style[e] || t.currentStyle && t.currentStyle[e];
1058
1048
  if ((!i || i === "auto") && document.defaultView) {
1059
1049
  var n = document.defaultView.getComputedStyle(t, null);
@@ -1069,7 +1059,7 @@ function C(t) {
1069
1059
  var e = t.parentNode;
1070
1060
  e && e.removeChild(t);
1071
1061
  }
1072
- function Ut(t) {
1062
+ function Dt(t) {
1073
1063
  for (; t.firstChild; )
1074
1064
  t.removeChild(t.firstChild);
1075
1065
  }
@@ -1081,34 +1071,34 @@ function xt(t) {
1081
1071
  var e = t.parentNode;
1082
1072
  e && e.firstChild !== t && e.insertBefore(t, e.firstChild);
1083
1073
  }
1084
- function Te(t, e) {
1074
+ function ve(t, e) {
1085
1075
  if (t.classList !== void 0)
1086
1076
  return t.classList.contains(e);
1087
- var i = Jt(t);
1077
+ var i = Gt(t);
1088
1078
  return i.length > 0 && new RegExp("(^|\\s)" + e + "(\\s|$)").test(i);
1089
1079
  }
1090
1080
  function p(t, e) {
1091
1081
  if (t.classList !== void 0)
1092
- for (var i = ut(e), n = 0, o = i.length; n < o; n++)
1082
+ for (var i = at(e), n = 0, o = i.length; n < o; n++)
1093
1083
  t.classList.add(i[n]);
1094
- else if (!Te(t, e)) {
1095
- var s = Jt(t);
1096
- be(t, (s ? s + " " : "") + e);
1084
+ else if (!ve(t, e)) {
1085
+ var s = Gt(t);
1086
+ ge(t, (s ? s + " " : "") + e);
1097
1087
  }
1098
1088
  }
1099
- function E(t, e) {
1100
- t.classList !== void 0 ? t.classList.remove(e) : be(t, me((" " + Jt(t) + " ").replace(" " + e + " ", " ")));
1089
+ function Z(t, e) {
1090
+ t.classList !== void 0 ? t.classList.remove(e) : ge(t, le((" " + Gt(t) + " ").replace(" " + e + " ", " ")));
1101
1091
  }
1102
- function be(t, e) {
1092
+ function ge(t, e) {
1103
1093
  t.className.baseVal === void 0 ? t.className = e : t.className.baseVal = e;
1104
1094
  }
1105
- function Jt(t) {
1095
+ function Gt(t) {
1106
1096
  return t.correspondingElement && (t = t.correspondingElement), t.className.baseVal === void 0 ? t.className : t.className.baseVal;
1107
1097
  }
1108
- function q(t, e) {
1109
- "opacity" in t.style ? t.style.opacity = e : "filter" in t.style && Hn(t, e);
1098
+ function U(t, e) {
1099
+ "opacity" in t.style ? t.style.opacity = e : "filter" in t.style && Mn(t, e);
1110
1100
  }
1111
- function Hn(t, e) {
1101
+ function Mn(t, e) {
1112
1102
  var i = !1, n = "DXImageTransform.Microsoft.Alpha";
1113
1103
  try {
1114
1104
  i = t.filters.item(n);
@@ -1118,64 +1108,64 @@ function Hn(t, e) {
1118
1108
  }
1119
1109
  e = Math.round(e * 100), i ? (i.Enabled = e !== 100, i.Opacity = e) : t.style.filter += " progid:" + n + "(opacity=" + e + ")";
1120
1110
  }
1121
- function $t(t) {
1111
+ function jt(t) {
1122
1112
  for (var e = document.documentElement.style, i = 0; i < t.length; i++)
1123
1113
  if (t[i] in e)
1124
1114
  return t[i];
1125
1115
  return !1;
1126
1116
  }
1127
- function ft(t, e, i) {
1117
+ function lt(t, e, i) {
1128
1118
  var n = e || new m(0, 0);
1129
- t.style[Le] = (c.ie3d ? "translate(" + n.x + "px," + n.y + "px)" : "translate3d(" + n.x + "px," + n.y + "px,0)") + (i ? " scale(" + i + ")" : "");
1119
+ t.style[pe] = (c.ie3d ? "translate(" + n.x + "px," + n.y + "px)" : "translate3d(" + n.x + "px," + n.y + "px,0)") + (i ? " scale(" + i + ")" : "");
1130
1120
  }
1131
1121
  function O(t, e) {
1132
- t._leaflet_pos = e, c.any3d ? ft(t, e) : (t.style.left = e.x + "px", t.style.top = e.y + "px");
1122
+ t._leaflet_pos = e, c.any3d ? lt(t, e) : (t.style.left = e.x + "px", t.style.top = e.y + "px");
1133
1123
  }
1134
- function dt(t) {
1124
+ function ct(t) {
1135
1125
  return t._leaflet_pos || new m(0, 0);
1136
1126
  }
1137
- var zt, kt, oe;
1127
+ var zt, St, Qt;
1138
1128
  if ("onselectstart" in document)
1139
1129
  zt = function() {
1140
1130
  _(window, "selectstart", B);
1141
- }, kt = function() {
1131
+ }, St = function() {
1142
1132
  b(window, "selectstart", B);
1143
1133
  };
1144
1134
  else {
1145
- var wt = $t(
1135
+ var wt = jt(
1146
1136
  ["userSelect", "WebkitUserSelect", "OUserSelect", "MozUserSelect", "msUserSelect"]
1147
1137
  );
1148
1138
  zt = function() {
1149
1139
  if (wt) {
1150
1140
  var t = document.documentElement.style;
1151
- oe = t[wt], t[wt] = "none";
1141
+ Qt = t[wt], t[wt] = "none";
1152
1142
  }
1153
- }, kt = function() {
1154
- wt && (document.documentElement.style[wt] = oe, oe = void 0);
1143
+ }, St = function() {
1144
+ wt && (document.documentElement.style[wt] = Qt, Qt = void 0);
1155
1145
  };
1156
1146
  }
1157
- function Me() {
1147
+ function ye() {
1158
1148
  _(window, "dragstart", B);
1159
1149
  }
1160
- function Ce() {
1150
+ function xe() {
1161
1151
  b(window, "dragstart", B);
1162
1152
  }
1163
- var Dt, ue;
1164
- function Se(t) {
1153
+ var At, oe;
1154
+ function we(t) {
1165
1155
  for (; t.tabIndex === -1; )
1166
1156
  t = t.parentNode;
1167
- t.style && (qt(), Dt = t, ue = t.style.outlineStyle, t.style.outlineStyle = "none", _(window, "keydown", qt));
1157
+ t.style && (Ht(), At = t, oe = t.style.outlineStyle, t.style.outlineStyle = "none", _(window, "keydown", Ht));
1168
1158
  }
1169
- function qt() {
1170
- Dt && (Dt.style.outlineStyle = ue, Dt = void 0, ue = void 0, b(window, "keydown", qt));
1159
+ function Ht() {
1160
+ At && (At.style.outlineStyle = oe, At = void 0, oe = void 0, b(window, "keydown", Ht));
1171
1161
  }
1172
- function Ei(t) {
1162
+ function yi(t) {
1173
1163
  do
1174
1164
  t = t.parentNode;
1175
1165
  while ((!t.offsetWidth || !t.offsetHeight) && t !== document.body);
1176
1166
  return t;
1177
1167
  }
1178
- function ze(t) {
1168
+ function Pe(t) {
1179
1169
  var e = t.getBoundingClientRect();
1180
1170
  return {
1181
1171
  x: e.width / t.offsetWidth || 1,
@@ -1183,123 +1173,123 @@ function ze(t) {
1183
1173
  boundingClientRect: e
1184
1174
  };
1185
1175
  }
1186
- var mo = {
1176
+ var io = {
1187
1177
  __proto__: null,
1188
- TRANSFORM: Le,
1178
+ TRANSFORM: pe,
1189
1179
  TRANSITION: Lt,
1190
- TRANSITION_END: zi,
1191
- get: ki,
1192
- getStyle: St,
1180
+ TRANSITION_END: vi,
1181
+ get: gi,
1182
+ getStyle: Ct,
1193
1183
  create: x,
1194
1184
  remove: C,
1195
- empty: Ut,
1185
+ empty: Dt,
1196
1186
  toFront: yt,
1197
1187
  toBack: xt,
1198
- hasClass: Te,
1188
+ hasClass: ve,
1199
1189
  addClass: p,
1200
- removeClass: E,
1201
- setClass: be,
1202
- getClass: Jt,
1203
- setOpacity: q,
1204
- testProp: $t,
1205
- setTransform: ft,
1190
+ removeClass: Z,
1191
+ setClass: ge,
1192
+ getClass: Gt,
1193
+ setOpacity: U,
1194
+ testProp: jt,
1195
+ setTransform: lt,
1206
1196
  setPosition: O,
1207
- getPosition: dt,
1197
+ getPosition: ct,
1208
1198
  get disableTextSelection() {
1209
1199
  return zt;
1210
1200
  },
1211
1201
  get enableTextSelection() {
1212
- return kt;
1213
- },
1214
- disableImageDrag: Me,
1215
- enableImageDrag: Ce,
1216
- preventOutline: Se,
1217
- restoreOutline: qt,
1218
- getSizedParentNode: Ei,
1219
- getScale: ze
1202
+ return St;
1203
+ },
1204
+ disableImageDrag: ye,
1205
+ enableImageDrag: xe,
1206
+ preventOutline: we,
1207
+ restoreOutline: Ht,
1208
+ getSizedParentNode: yi,
1209
+ getScale: Pe
1220
1210
  };
1221
1211
  function _(t, e, i, n) {
1222
1212
  if (e && typeof e == "object")
1223
1213
  for (var o in e)
1224
- ce(t, o, e[o], i);
1214
+ re(t, o, e[o], i);
1225
1215
  else {
1226
- e = ut(e);
1216
+ e = at(e);
1227
1217
  for (var s = 0, r = e.length; s < r; s++)
1228
- ce(t, e[s], i, n);
1218
+ re(t, e[s], i, n);
1229
1219
  }
1230
1220
  return this;
1231
1221
  }
1232
1222
  var Y = "_leaflet_events";
1233
1223
  function b(t, e, i, n) {
1234
1224
  if (arguments.length === 1)
1235
- Qe(t), delete t[Y];
1225
+ qe(t), delete t[Y];
1236
1226
  else if (e && typeof e == "object")
1237
1227
  for (var o in e)
1238
- fe(t, o, e[o], i);
1239
- else if (e = ut(e), arguments.length === 2)
1240
- Qe(t, function(a) {
1241
- return pe(e, a) !== -1;
1228
+ ae(t, o, e[o], i);
1229
+ else if (e = at(e), arguments.length === 2)
1230
+ qe(t, function(a) {
1231
+ return ce(e, a) !== -1;
1242
1232
  });
1243
1233
  else
1244
1234
  for (var s = 0, r = e.length; s < r; s++)
1245
- fe(t, e[s], i, n);
1235
+ ae(t, e[s], i, n);
1246
1236
  return this;
1247
1237
  }
1248
- function Qe(t, e) {
1238
+ function qe(t, e) {
1249
1239
  for (var i in t[Y]) {
1250
1240
  var n = i.split(/\d/)[0];
1251
- (!e || e(n)) && fe(t, n, null, null, i);
1241
+ (!e || e(n)) && ae(t, n, null, null, i);
1252
1242
  }
1253
1243
  }
1254
- var le = {
1244
+ var se = {
1255
1245
  mouseenter: "mouseover",
1256
1246
  mouseleave: "mouseout",
1257
1247
  wheel: !("onwheel" in window) && "mousewheel"
1258
1248
  };
1259
- function ce(t, e, i, n) {
1249
+ function re(t, e, i, n) {
1260
1250
  var o = e + w(i) + (n ? "_" + w(n) : "");
1261
1251
  if (t[Y] && t[Y][o])
1262
1252
  return this;
1263
1253
  var s = function(a) {
1264
1254
  return i.call(n || t, a || window.event);
1265
1255
  }, r = s;
1266
- !c.touchNative && c.pointer && e.indexOf("touch") === 0 ? s = kn(t, e, s) : c.touch && e === "dblclick" ? s = Rn(t, s) : "addEventListener" in t ? e === "touchstart" || e === "touchmove" || e === "wheel" || e === "mousewheel" ? t.addEventListener(le[e] || e, s, c.passiveEvents ? { passive: !1 } : !1) : e === "mouseenter" || e === "mouseleave" ? (s = function(a) {
1267
- a = a || window.event, Ee(t, a) && r(a);
1268
- }, t.addEventListener(le[e], s, !1)) : t.addEventListener(e, r, !1) : t.attachEvent("on" + e, s), t[Y] = t[Y] || {}, t[Y][o] = s;
1256
+ !c.touchNative && c.pointer && e.indexOf("touch") === 0 ? s = pn(t, e, s) : c.touch && e === "dblclick" ? s = Tn(t, s) : "addEventListener" in t ? e === "touchstart" || e === "touchmove" || e === "wheel" || e === "mousewheel" ? t.addEventListener(se[e] || e, s, c.passiveEvents ? { passive: !1 } : !1) : e === "mouseenter" || e === "mouseleave" ? (s = function(a) {
1257
+ a = a || window.event, Te(t, a) && r(a);
1258
+ }, t.addEventListener(se[e], s, !1)) : t.addEventListener(e, r, !1) : t.attachEvent("on" + e, s), t[Y] = t[Y] || {}, t[Y][o] = s;
1269
1259
  }
1270
- function fe(t, e, i, n, o) {
1260
+ function ae(t, e, i, n, o) {
1271
1261
  o = o || e + w(i) + (n ? "_" + w(n) : "");
1272
1262
  var s = t[Y] && t[Y][o];
1273
1263
  if (!s)
1274
1264
  return this;
1275
- !c.touchNative && c.pointer && e.indexOf("touch") === 0 ? En(t, e, s) : c.touch && e === "dblclick" ? Dn(t, s) : "removeEventListener" in t ? t.removeEventListener(le[e] || e, s, !1) : t.detachEvent("on" + e, s), t[Y][o] = null;
1265
+ !c.touchNative && c.pointer && e.indexOf("touch") === 0 ? vn(t, e, s) : c.touch && e === "dblclick" ? bn(t, s) : "removeEventListener" in t ? t.removeEventListener(se[e] || e, s, !1) : t.detachEvent("on" + e, s), t[Y][o] = null;
1276
1266
  }
1277
- function lt(t) {
1267
+ function ht(t) {
1278
1268
  return t.stopPropagation ? t.stopPropagation() : t.originalEvent ? t.originalEvent._stopped = !0 : t.cancelBubble = !0, this;
1279
1269
  }
1280
- function ke(t) {
1281
- return ce(t, "wheel", lt), this;
1270
+ function Le(t) {
1271
+ return re(t, "wheel", ht), this;
1282
1272
  }
1283
- function It(t) {
1284
- return _(t, "mousedown touchstart dblclick contextmenu", lt), t._leaflet_disable_click = !0, this;
1273
+ function Zt(t) {
1274
+ return _(t, "mousedown touchstart dblclick contextmenu", ht), t._leaflet_disable_click = !0, this;
1285
1275
  }
1286
1276
  function B(t) {
1287
1277
  return t.preventDefault ? t.preventDefault() : t.returnValue = !1, this;
1288
1278
  }
1289
- function _t(t) {
1290
- return B(t), lt(t), this;
1279
+ function ft(t) {
1280
+ return B(t), ht(t), this;
1291
1281
  }
1292
- function Zi(t) {
1282
+ function xi(t) {
1293
1283
  if (t.composedPath)
1294
1284
  return t.composedPath();
1295
1285
  for (var e = [], i = t.target; i; )
1296
1286
  e.push(i), i = i.parentNode;
1297
1287
  return e;
1298
1288
  }
1299
- function Oi(t, e) {
1289
+ function wi(t, e) {
1300
1290
  if (!e)
1301
1291
  return new m(t.clientX, t.clientY);
1302
- var i = ze(e), n = i.boundingClientRect;
1292
+ var i = Pe(e), n = i.boundingClientRect;
1303
1293
  return new m(
1304
1294
  // offset.left/top values are in page scale (like clientX/Y),
1305
1295
  // whereas clientLeft/Top (border width) values are the original values (before CSS scale applies).
@@ -1307,11 +1297,11 @@ function Oi(t, e) {
1307
1297
  (t.clientY - n.top) / i.y - e.clientTop
1308
1298
  );
1309
1299
  }
1310
- var Fn = c.linux && c.chrome ? window.devicePixelRatio : c.mac ? window.devicePixelRatio * 3 : window.devicePixelRatio > 0 ? 2 * window.devicePixelRatio : 1;
1311
- function Ii(t) {
1300
+ var Cn = c.linux && c.chrome ? window.devicePixelRatio : c.mac ? window.devicePixelRatio * 3 : window.devicePixelRatio > 0 ? 2 * window.devicePixelRatio : 1;
1301
+ function Pi(t) {
1312
1302
  return c.edge ? t.wheelDeltaY / 2 : (
1313
1303
  // Don't trust window-geometry-based delta
1314
- t.deltaY && t.deltaMode === 0 ? -t.deltaY / Fn : (
1304
+ t.deltaY && t.deltaMode === 0 ? -t.deltaY / Cn : (
1315
1305
  // Pixels
1316
1306
  t.deltaY && t.deltaMode === 1 ? -t.deltaY * 20 : (
1317
1307
  // Lines
@@ -1335,7 +1325,7 @@ function Ii(t) {
1335
1325
  )
1336
1326
  );
1337
1327
  }
1338
- function Ee(t, e) {
1328
+ function Te(t, e) {
1339
1329
  var i = e.relatedTarget;
1340
1330
  if (!i)
1341
1331
  return !0;
@@ -1347,29 +1337,29 @@ function Ee(t, e) {
1347
1337
  }
1348
1338
  return i !== t;
1349
1339
  }
1350
- var po = {
1340
+ var no = {
1351
1341
  __proto__: null,
1352
1342
  on: _,
1353
1343
  off: b,
1354
- stopPropagation: lt,
1355
- disableScrollPropagation: ke,
1356
- disableClickPropagation: It,
1344
+ stopPropagation: ht,
1345
+ disableScrollPropagation: Le,
1346
+ disableClickPropagation: Zt,
1357
1347
  preventDefault: B,
1358
- stop: _t,
1359
- getPropagationPath: Zi,
1360
- getMousePosition: Oi,
1361
- getWheelDelta: Ii,
1362
- isExternalTarget: Ee,
1348
+ stop: ft,
1349
+ getPropagationPath: xi,
1350
+ getMousePosition: wi,
1351
+ getWheelDelta: Pi,
1352
+ isExternalTarget: Te,
1363
1353
  addListener: _,
1364
1354
  removeListener: b
1365
- }, Wn = Kt.extend({
1355
+ }, zn = qt.extend({
1366
1356
  // @method run(el: HTMLElement, newPos: Point, duration?: Number, easeLinearity?: Number)
1367
1357
  // Run an animation of a given element to a new position, optionally setting
1368
1358
  // duration in seconds (`0.25` by default) and easing linearity factor (3rd
1369
1359
  // argument of the [cubic bezier curve](https://cubic-bezier.com/#0,0,.5,1),
1370
1360
  // `0.5` by default).
1371
1361
  run: function(t, e, i, n) {
1372
- this.stop(), this._el = t, this._inProgress = !0, this._duration = i || 0.25, this._easeOutPower = 1 / Math.max(n || 0.5, 0.2), this._startPos = dt(t), this._offset = e.subtract(this._startPos), this._startTime = +/* @__PURE__ */ new Date(), this.fire("start"), this._animate();
1362
+ this.stop(), this._el = t, this._inProgress = !0, this._duration = i || 0.25, this._easeOutPower = 1 / Math.max(n || 0.5, 0.2), this._startPos = ct(t), this._offset = e.subtract(this._startPos), this._startTime = +/* @__PURE__ */ new Date(), this.fire("start"), this._animate();
1373
1363
  },
1374
1364
  // @method stop()
1375
1365
  // Stops the animation (if currently running).
@@ -1388,18 +1378,18 @@ var po = {
1388
1378
  e && i._round(), O(this._el, i), this.fire("step");
1389
1379
  },
1390
1380
  _complete: function() {
1391
- V(this._animId), this._inProgress = !1, this.fire("end");
1381
+ q(this._animId), this._inProgress = !1, this.fire("end");
1392
1382
  },
1393
1383
  _easeOut: function(t) {
1394
1384
  return 1 - Math.pow(1 - t, this._easeOutPower);
1395
1385
  }
1396
- }), y = Kt.extend({
1386
+ }), y = qt.extend({
1397
1387
  options: {
1398
1388
  // @section Map State Options
1399
1389
  // @option crs: CRS = L.CRS.EPSG3857
1400
1390
  // The [Coordinate Reference System](#crs) to use. Don't change this if you're not
1401
1391
  // sure what it means.
1402
- crs: ve,
1392
+ crs: fe,
1403
1393
  // @option center: LatLng = undefined
1404
1394
  // Initial geographic center of the map
1405
1395
  center: void 0,
@@ -1471,7 +1461,7 @@ var po = {
1471
1461
  trackResize: !0
1472
1462
  },
1473
1463
  initialize: function(t, e) {
1474
- e = S(this, e), this._handlers = [], this._layers = {}, this._zoomBoundLayers = {}, this._sizeChanged = !0, this._initContainer(t), this._initLayout(), this._onResize = M(this._onResize, this), this._initEvents(), e.maxBounds && this.setMaxBounds(e.maxBounds), e.zoom !== void 0 && (this._zoom = this._limitZoom(e.zoom)), e.center && e.zoom !== void 0 && this.setView(g(e.center), e.zoom, { reset: !0 }), this.callInitHooks(), this._zoomAnimated = Lt && c.any3d && !c.mobileOpera && this.options.zoomAnimation, this._zoomAnimated && (this._createAnimProxy(), _(this._proxy, zi, this._catchTransitionEnd, this)), this._addLayers(this.options.layers);
1464
+ e = z(this, e), this._handlers = [], this._layers = {}, this._zoomBoundLayers = {}, this._sizeChanged = !0, this._initContainer(t), this._initLayout(), this._onResize = M(this._onResize, this), this._initEvents(), e.maxBounds && this.setMaxBounds(e.maxBounds), e.zoom !== void 0 && (this._zoom = this._limitZoom(e.zoom)), e.center && e.zoom !== void 0 && this.setView(g(e.center), e.zoom, { reset: !0 }), this.callInitHooks(), this._zoomAnimated = Lt && c.any3d && !c.mobileOpera && this.options.zoomAnimation, this._zoomAnimated && (this._createAnimProxy(), _(this._proxy, vi, this._catchTransitionEnd, this)), this._addLayers(this.options.layers);
1475
1465
  },
1476
1466
  // @section Methods for modifying map state
1477
1467
  // @method setView(center: LatLng, zoom: Number, options?: Zoom/pan options): this
@@ -1552,7 +1542,7 @@ var po = {
1552
1542
  return this.fire("moveend");
1553
1543
  if (e.animate !== !0 && !this.getSize().contains(t))
1554
1544
  return this._resetView(this.unproject(this.project(this.getCenter()).add(t)), this.getZoom()), this;
1555
- if (this._panAnim || (this._panAnim = new Wn(), this._panAnim.on({
1545
+ if (this._panAnim || (this._panAnim = new zn(), this._panAnim.on({
1556
1546
  step: this._onPanTransitionStep,
1557
1547
  end: this._onPanTransitionEnd
1558
1548
  }, this)), e.noMoveStart || this.fire("movestart"), e.animate !== !1) {
@@ -1573,39 +1563,39 @@ var po = {
1573
1563
  var n = this.project(this.getCenter()), o = this.project(t), s = this.getSize(), r = this._zoom;
1574
1564
  t = g(t), e = e === void 0 ? r : e;
1575
1565
  var a = Math.max(s.x, s.y), h = a * this.getZoomScale(r, e), u = o.distanceTo(n) || 1, l = 1.42, f = l * l;
1576
- function v(Z) {
1577
- var Bt = Z ? -1 : 1, sn = Z ? h : a, rn = h * h - a * a + Bt * f * f * u * u, an = 2 * sn * f * u, ne = rn / an, Ge = Math.sqrt(ne * ne + 1) - ne, hn = Ge < 1e-9 ? -18 : Math.log(Ge);
1578
- return hn;
1566
+ function v(k) {
1567
+ var kt = k ? -1 : 1, Wi = k ? h : a, Ui = h * h - a * a + kt * f * f * u * u, qi = 2 * Wi * f * u, $t = Ui / qi, Be = Math.sqrt($t * $t + 1) - $t, Vi = Be < 1e-9 ? -18 : Math.log(Be);
1568
+ return Vi;
1579
1569
  }
1580
- function N(Z) {
1581
- return (Math.exp(Z) - Math.exp(-Z)) / 2;
1570
+ function N(k) {
1571
+ return (Math.exp(k) - Math.exp(-k)) / 2;
1582
1572
  }
1583
- function A(Z) {
1584
- return (Math.exp(Z) + Math.exp(-Z)) / 2;
1573
+ function A(k) {
1574
+ return (Math.exp(k) + Math.exp(-k)) / 2;
1585
1575
  }
1586
- function U(Z) {
1587
- return N(Z) / A(Z);
1576
+ function W(k) {
1577
+ return N(k) / A(k);
1588
1578
  }
1589
1579
  var R = v(0);
1590
- function pt(Z) {
1591
- return a * (A(R) / A(R + l * Z));
1580
+ function mt(k) {
1581
+ return a * (A(R) / A(R + l * k));
1592
1582
  }
1593
- function tn(Z) {
1594
- return a * (A(R) * U(R + l * Z) - N(R)) / f;
1583
+ function Ri(k) {
1584
+ return a * (A(R) * W(R + l * k) - N(R)) / f;
1595
1585
  }
1596
- function en(Z) {
1597
- return 1 - Math.pow(1 - Z, 1.5);
1586
+ function Di(k) {
1587
+ return 1 - Math.pow(1 - k, 1.5);
1598
1588
  }
1599
- var nn = Date.now(), qe = (v(1) - R) / l, on = i.duration ? 1e3 * i.duration : 1e3 * qe * 0.8;
1600
- function Ve() {
1601
- var Z = (Date.now() - nn) / on, Bt = en(Z) * qe;
1602
- Z <= 1 ? (this._flyToFrame = D(Ve, this), this._move(
1603
- this.unproject(n.add(o.subtract(n).multiplyBy(tn(Bt) / u)), r),
1604
- this.getScaleZoom(a / pt(Bt), r),
1589
+ var Hi = Date.now(), Ie = (v(1) - R) / l, Fi = i.duration ? 1e3 * i.duration : 1e3 * Ie * 0.8;
1590
+ function Ae() {
1591
+ var k = (Date.now() - Hi) / Fi, kt = Di(k) * Ie;
1592
+ k <= 1 ? (this._flyToFrame = D(Ae, this), this._move(
1593
+ this.unproject(n.add(o.subtract(n).multiplyBy(Ri(kt) / u)), r),
1594
+ this.getScaleZoom(a / mt(kt), r),
1605
1595
  { flyTo: !0 }
1606
1596
  )) : this._move(t, e)._moveEnd(!0);
1607
1597
  }
1608
- return this._moveStart(!0, i.noMoveStart), Ve.call(this), this;
1598
+ return this._moveStart(!0, i.noMoveStart), Ae.call(this), this;
1609
1599
  },
1610
1600
  // @method flyToBounds(bounds: LatLngBounds, options?: fitBounds options): this
1611
1601
  // Sets the view of the map with a smooth animation like [`flyTo`](#map-flyto),
@@ -1764,7 +1754,7 @@ var po = {
1764
1754
  } catch {
1765
1755
  this._container._leaflet_id = void 0, this._containerId = void 0;
1766
1756
  }
1767
- this._locationWatchId !== void 0 && this.stopLocate(), this._stop(), C(this._mapPane), this._clearControlPos && this._clearControlPos(), this._resizeRequest && (V(this._resizeRequest), this._resizeRequest = null), this._clearHandlers(), this._loaded && this.fire("unload");
1757
+ this._locationWatchId !== void 0 && this.stopLocate(), this._stop(), C(this._mapPane), this._clearControlPos && this._clearControlPos(), this._resizeRequest && (q(this._resizeRequest), this._resizeRequest = null), this._clearHandlers(), this._loaded && this.fire("unload");
1768
1758
  var t;
1769
1759
  for (t in this._layers)
1770
1760
  this._layers[t].remove();
@@ -1831,7 +1821,7 @@ var po = {
1831
1821
  // coordinates (sometimes useful in layer and overlay implementations).
1832
1822
  getPixelBounds: function(t, e) {
1833
1823
  var i = this._getTopLeftPoint(t, e);
1834
- return new z(i, i.add(this.getSize()));
1824
+ return new S(i, i.add(this.getSize()));
1835
1825
  },
1836
1826
  // TODO: Check semantics - isn't the pixel origin the 0,0 coord relative to
1837
1827
  // the map pane? "left point of the map layer" can be confusing, specially
@@ -1963,7 +1953,7 @@ var po = {
1963
1953
  // Given a MouseEvent object, returns the pixel coordinate relative to the
1964
1954
  // map container where the event took place.
1965
1955
  mouseEventToContainerPoint: function(t) {
1966
- return Oi(t, this._container);
1956
+ return wi(t, this._container);
1967
1957
  },
1968
1958
  // @method mouseEventToLayerPoint(ev: MouseEvent): Point
1969
1959
  // Given a MouseEvent object, returns the pixel coordinate relative to
@@ -1979,7 +1969,7 @@ var po = {
1979
1969
  },
1980
1970
  // map initialization methods
1981
1971
  _initContainer: function(t) {
1982
- var e = this._container = ki(t);
1972
+ var e = this._container = gi(t);
1983
1973
  if (e) {
1984
1974
  if (e._leaflet_id)
1985
1975
  throw new Error("Map container is already initialized.");
@@ -1989,7 +1979,7 @@ var po = {
1989
1979
  _initLayout: function() {
1990
1980
  var t = this._container;
1991
1981
  this._fadeAnimated = this.options.fadeAnimation && c.any3d, p(t, "leaflet-container" + (c.touch ? " leaflet-touch" : "") + (c.retina ? " leaflet-retina" : "") + (c.ielt9 ? " leaflet-oldie" : "") + (c.safari ? " leaflet-safari" : "") + (this._fadeAnimated ? " leaflet-fade-anim" : ""));
1992
- var e = St(t, "position");
1982
+ var e = Ct(t, "position");
1993
1983
  e !== "absolute" && e !== "relative" && e !== "fixed" && e !== "sticky" && (t.style.position = "relative"), this._initPanes(), this._initControlPos && this._initControlPos();
1994
1984
  },
1995
1985
  _initPanes: function() {
@@ -2017,7 +2007,7 @@ var po = {
2017
2007
  return t && this.fire("zoomend"), this.fire("moveend");
2018
2008
  },
2019
2009
  _stop: function() {
2020
- return V(this._flyToFrame), this._panAnim && this._panAnim.stop(), this;
2010
+ return q(this._flyToFrame), this._panAnim && this._panAnim.stop(), this;
2021
2011
  },
2022
2012
  _rawPanBy: function(t) {
2023
2013
  O(this._mapPane, this._getMapPanePos().subtract(t));
@@ -2040,7 +2030,7 @@ var po = {
2040
2030
  e(this._container, "click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup", this._handleDOMEvent, this), this.options.trackResize && e(window, "resize", this._onResize, this), c.any3d && this.options.transform3DLimit && (t ? this.off : this.on).call(this, "moveend", this._onMoveEnd);
2041
2031
  },
2042
2032
  _onResize: function() {
2043
- V(this._resizeRequest), this._resizeRequest = D(
2033
+ q(this._resizeRequest), this._resizeRequest = D(
2044
2034
  function() {
2045
2035
  this.invalidateSize({ debounceMoveend: !0 });
2046
2036
  },
@@ -2060,7 +2050,7 @@ var po = {
2060
2050
  r = !0;
2061
2051
  break;
2062
2052
  }
2063
- if (n && n.listens(e, !0) && (o && !Ee(s, t) || (i.push(n), o)) || s === this._container)
2053
+ if (n && n.listens(e, !0) && (o && !Te(s, t) || (i.push(n), o)) || s === this._container)
2064
2054
  break;
2065
2055
  s = s.parentNode;
2066
2056
  }
@@ -2077,7 +2067,7 @@ var po = {
2077
2067
  var e = t.target || t.srcElement;
2078
2068
  if (!(!this._loaded || e._leaflet_disable_events || t.type === "click" && this._isClickDisabled(e))) {
2079
2069
  var i = t.type;
2080
- i === "mousedown" && Se(e), this._fireDOMEvent(t, i);
2070
+ i === "mousedown" && we(e), this._fireDOMEvent(t, i);
2081
2071
  }
2082
2072
  },
2083
2073
  _mouseEvents: ["click", "dblclick", "mouseover", "mouseout", "contextmenu"],
@@ -2102,7 +2092,7 @@ var po = {
2102
2092
  h.containerPoint = u ? this.latLngToContainerPoint(a.getLatLng()) : this.mouseEventToContainerPoint(t), h.layerPoint = this.containerPointToLayerPoint(h.containerPoint), h.latlng = u ? a.getLatLng() : this.layerPointToLatLng(h.layerPoint);
2103
2093
  }
2104
2094
  for (r = 0; r < o.length; r++)
2105
- if (o[r].fire(e, h, !0), h.originalEvent._stopped || o[r].options.bubblingMouseEvents === !1 && pe(this._mouseEvents, e) !== -1)
2095
+ if (o[r].fire(e, h, !0), h.originalEvent._stopped || o[r].options.bubblingMouseEvents === !1 && ce(this._mouseEvents, e) !== -1)
2106
2096
  return;
2107
2097
  }
2108
2098
  },
@@ -2123,7 +2113,7 @@ var po = {
2123
2113
  },
2124
2114
  // private methods for getting map state
2125
2115
  _getMapPanePos: function() {
2126
- return dt(this._mapPane) || new m(0, 0);
2116
+ return ct(this._mapPane) || new m(0, 0);
2127
2117
  },
2128
2118
  _moved: function() {
2129
2119
  var t = this._getMapPanePos();
@@ -2162,14 +2152,14 @@ var po = {
2162
2152
  _limitCenter: function(t, e, i) {
2163
2153
  if (!i)
2164
2154
  return t;
2165
- var n = this.project(t, e), o = this.getSize().divideBy(2), s = new z(n.subtract(o), n.add(o)), r = this._getBoundsOffset(s, i, e);
2155
+ var n = this.project(t, e), o = this.getSize().divideBy(2), s = new S(n.subtract(o), n.add(o)), r = this._getBoundsOffset(s, i, e);
2166
2156
  return Math.abs(r.x) <= 1 && Math.abs(r.y) <= 1 ? t : this.unproject(n.add(r), e);
2167
2157
  },
2168
2158
  // adjust offset for view to get inside bounds
2169
2159
  _limitOffset: function(t, e) {
2170
2160
  if (!e)
2171
2161
  return t;
2172
- var i = this.getPixelBounds(), n = new z(i.min.add(t), i.max.add(t));
2162
+ var i = this.getPixelBounds(), n = new S(i.min.add(t), i.max.add(t));
2173
2163
  return t.add(this._getBoundsOffset(n, e));
2174
2164
  },
2175
2165
  // returns offset needed for pxBounds to get inside maxBounds at a specified zoom
@@ -2191,7 +2181,7 @@ var po = {
2191
2181
  this.fire("move");
2192
2182
  },
2193
2183
  _onPanTransitionEnd: function() {
2194
- E(this._mapPane, "leaflet-pan-anim"), this.fire("moveend");
2184
+ Z(this._mapPane, "leaflet-pan-anim"), this.fire("moveend");
2195
2185
  },
2196
2186
  _tryAnimatedPan: function(t, e) {
2197
2187
  var i = this._getCenterOffset(t)._trunc();
@@ -2200,8 +2190,8 @@ var po = {
2200
2190
  _createAnimProxy: function() {
2201
2191
  var t = this._proxy = x("div", "leaflet-proxy leaflet-zoom-animated");
2202
2192
  this._panes.mapPane.appendChild(t), this.on("zoomanim", function(e) {
2203
- var i = Le, n = this._proxy.style[i];
2204
- ft(this._proxy, this.project(e.center, e.zoom), this.getZoomScale(e.zoom, 1)), n === this._proxy.style[i] && this._animatingZoom && this._onZoomTransitionEnd();
2193
+ var i = pe, n = this._proxy.style[i];
2194
+ lt(this._proxy, this.project(e.center, e.zoom), this.getZoomScale(e.zoom, 1)), n === this._proxy.style[i] && this._animatingZoom && this._onZoomTransitionEnd();
2205
2195
  }, this), this.on("load moveend", this._animMoveEnd, this), this._on("unload", this._destroyAnimProxy, this);
2206
2196
  },
2207
2197
  _destroyAnimProxy: function() {
@@ -2209,7 +2199,7 @@ var po = {
2209
2199
  },
2210
2200
  _animMoveEnd: function() {
2211
2201
  var t = this.getCenter(), e = this.getZoom();
2212
- ft(this._proxy, this.project(t, e), this.getZoomScale(e, 1));
2202
+ lt(this._proxy, this.project(t, e), this.getZoomScale(e, 1));
2213
2203
  },
2214
2204
  _catchTransitionEnd: function(t) {
2215
2205
  this._animatingZoom && t.propertyName.indexOf("transform") >= 0 && this._onZoomTransitionEnd();
@@ -2235,13 +2225,13 @@ var po = {
2235
2225
  }), this._tempFireZoomEvent || (this._tempFireZoomEvent = this._zoom !== this._animateToZoom), this._move(this._animateToCenter, this._animateToZoom, void 0, !0), setTimeout(M(this._onZoomTransitionEnd, this), 250));
2236
2226
  },
2237
2227
  _onZoomTransitionEnd: function() {
2238
- this._animatingZoom && (this._mapPane && E(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));
2228
+ 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));
2239
2229
  }
2240
2230
  });
2241
- function vo(t, e) {
2231
+ function oo(t, e) {
2242
2232
  return new y(t, e);
2243
2233
  }
2244
- var J = st.extend({
2234
+ var J = nt.extend({
2245
2235
  // @section
2246
2236
  // @aka Control Options
2247
2237
  options: {
@@ -2251,7 +2241,7 @@ var J = st.extend({
2251
2241
  position: "topright"
2252
2242
  },
2253
2243
  initialize: function(t) {
2254
- S(this, t);
2244
+ z(this, t);
2255
2245
  },
2256
2246
  /* @section
2257
2247
  * Classes extending L.Control will inherit the following methods:
@@ -2288,7 +2278,7 @@ var J = st.extend({
2288
2278
  _refocusOnMap: function(t) {
2289
2279
  this._map && t && t.screenX > 0 && t.screenY > 0 && this._map.getContainer().focus();
2290
2280
  }
2291
- }), Qt = function(t) {
2281
+ }), Kt = function(t) {
2292
2282
  return new J(t);
2293
2283
  };
2294
2284
  y.include({
@@ -2316,7 +2306,7 @@ y.include({
2316
2306
  C(this._controlContainer), delete this._controlCorners, delete this._controlContainer;
2317
2307
  }
2318
2308
  });
2319
- var Ai = J.extend({
2309
+ var Li = J.extend({
2320
2310
  // @section
2321
2311
  // @aka Control.Layers options
2322
2312
  options: {
@@ -2345,7 +2335,7 @@ var Ai = J.extend({
2345
2335
  }
2346
2336
  },
2347
2337
  initialize: function(t, e, i) {
2348
- S(this, i), this._layerControlInputs = [], this._layers = [], this._lastZIndex = 0, this._handlingClick = !1, this._preventClick = !1;
2338
+ z(this, i), this._layerControlInputs = [], this._layers = [], this._lastZIndex = 0, this._handlingClick = !1, this._preventClick = !1;
2349
2339
  for (var n in t)
2350
2340
  this._addLayer(t[n], n);
2351
2341
  for (n in e)
@@ -2387,16 +2377,16 @@ var Ai = J.extend({
2387
2377
  expand: function() {
2388
2378
  p(this._container, "leaflet-control-layers-expanded"), this._section.style.height = null;
2389
2379
  var t = this._map.getSize().y - (this._container.offsetTop + 50);
2390
- return t < this._section.clientHeight ? (p(this._section, "leaflet-control-layers-scrollbar"), this._section.style.height = t + "px") : E(this._section, "leaflet-control-layers-scrollbar"), this._checkDisabledLayers(), this;
2380
+ return t < this._section.clientHeight ? (p(this._section, "leaflet-control-layers-scrollbar"), this._section.style.height = t + "px") : Z(this._section, "leaflet-control-layers-scrollbar"), this._checkDisabledLayers(), this;
2391
2381
  },
2392
2382
  // @method collapse(): this
2393
2383
  // Collapse the control container if expanded.
2394
2384
  collapse: function() {
2395
- return E(this._container, "leaflet-control-layers-expanded"), this;
2385
+ return Z(this._container, "leaflet-control-layers-expanded"), this;
2396
2386
  },
2397
2387
  _initLayout: function() {
2398
2388
  var t = "leaflet-control-layers", e = this._container = x("div", t), i = this.options.collapsed;
2399
- e.setAttribute("aria-haspopup", !0), It(e), ke(e);
2389
+ e.setAttribute("aria-haspopup", !0), Zt(e), Le(e);
2400
2390
  var n = this._section = x("section", t + "-list");
2401
2391
  i && (this._map.on("click", this.collapse, this), _(e, {
2402
2392
  mouseenter: this._expandSafely,
@@ -2430,7 +2420,7 @@ var Ai = J.extend({
2430
2420
  _update: function() {
2431
2421
  if (!this._container)
2432
2422
  return this;
2433
- Ut(this._baseLayersList), Ut(this._overlaysList), this._layerControlInputs = [];
2423
+ Dt(this._baseLayersList), Dt(this._overlaysList), this._layerControlInputs = [];
2434
2424
  var t, e, i, n, o = 0;
2435
2425
  for (i = 0; i < this._layers.length; i++)
2436
2426
  n = this._layers[i], this._addItem(n), e = e || n.overlay, t = t || !n.overlay, o += n.overlay ? 0 : 1;
@@ -2484,9 +2474,9 @@ var Ai = J.extend({
2484
2474
  b(t, "click", B), e._preventClick = !1;
2485
2475
  });
2486
2476
  }
2487
- }), Un = function(t, e, i) {
2488
- return new Ai(t, e, i);
2489
- }, Ze = J.extend({
2477
+ }), Sn = function(t, e, i) {
2478
+ return new Li(t, e, i);
2479
+ }, be = J.extend({
2490
2480
  // @section
2491
2481
  // @aka Control.Zoom options
2492
2482
  options: {
@@ -2537,22 +2527,22 @@ var Ai = J.extend({
2537
2527
  },
2538
2528
  _createButton: function(t, e, i, n, o) {
2539
2529
  var s = x("a", i, n);
2540
- return s.innerHTML = t, s.href = "#", s.title = e, s.setAttribute("role", "button"), s.setAttribute("aria-label", e), It(s), _(s, "click", _t), _(s, "click", o, this), _(s, "click", this._refocusOnMap, this), s;
2530
+ return s.innerHTML = t, s.href = "#", s.title = e, s.setAttribute("role", "button"), s.setAttribute("aria-label", e), Zt(s), _(s, "click", ft), _(s, "click", o, this), _(s, "click", this._refocusOnMap, this), s;
2541
2531
  },
2542
2532
  _updateDisabled: function() {
2543
2533
  var t = this._map, e = "leaflet-disabled";
2544
- E(this._zoomInButton, e), E(this._zoomOutButton, e), this._zoomInButton.setAttribute("aria-disabled", "false"), this._zoomOutButton.setAttribute("aria-disabled", "false"), (this._disabled || t._zoom === t.getMinZoom()) && (p(this._zoomOutButton, e), this._zoomOutButton.setAttribute("aria-disabled", "true")), (this._disabled || t._zoom === t.getMaxZoom()) && (p(this._zoomInButton, e), this._zoomInButton.setAttribute("aria-disabled", "true"));
2534
+ 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()) && (p(this._zoomOutButton, e), this._zoomOutButton.setAttribute("aria-disabled", "true")), (this._disabled || t._zoom === t.getMaxZoom()) && (p(this._zoomInButton, e), this._zoomInButton.setAttribute("aria-disabled", "true"));
2545
2535
  }
2546
2536
  });
2547
2537
  y.mergeOptions({
2548
2538
  zoomControl: !0
2549
2539
  });
2550
2540
  y.addInitHook(function() {
2551
- this.options.zoomControl && (this.zoomControl = new Ze(), this.addControl(this.zoomControl));
2541
+ this.options.zoomControl && (this.zoomControl = new be(), this.addControl(this.zoomControl));
2552
2542
  });
2553
- var qn = function(t) {
2554
- return new Ze(t);
2555
- }, Bi = J.extend({
2543
+ var En = function(t) {
2544
+ return new be(t);
2545
+ }, Ti = J.extend({
2556
2546
  // @section
2557
2547
  // @aka Control.Scale options
2558
2548
  options: {
@@ -2604,22 +2594,22 @@ var qn = function(t) {
2604
2594
  var e = Math.pow(10, (Math.floor(t) + "").length - 1), i = t / e;
2605
2595
  return i = i >= 10 ? 10 : i >= 5 ? 5 : i >= 3 ? 3 : i >= 2 ? 2 : 1, e * i;
2606
2596
  }
2607
- }), Vn = function(t) {
2608
- return new Bi(t);
2609
- }, Gn = '<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>', Oe = J.extend({
2597
+ }), Zn = function(t) {
2598
+ return new Ti(t);
2599
+ }, kn = '<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>', Me = J.extend({
2610
2600
  // @section
2611
2601
  // @aka Control.Attribution options
2612
2602
  options: {
2613
2603
  position: "bottomright",
2614
2604
  // @option prefix: String|false = 'Leaflet'
2615
2605
  // The HTML text shown before the attributions. Pass `false` to disable.
2616
- prefix: '<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">' + (c.inlineSvg ? Gn + " " : "") + "Leaflet</a>"
2606
+ prefix: '<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">' + (c.inlineSvg ? kn + " " : "") + "Leaflet</a>"
2617
2607
  },
2618
2608
  initialize: function(t) {
2619
- S(this, t), this._attributions = {};
2609
+ z(this, t), this._attributions = {};
2620
2610
  },
2621
2611
  onAdd: function(t) {
2622
- t.attributionControl = this, this._container = x("div", "leaflet-control-attribution"), It(this._container);
2612
+ t.attributionControl = this, this._container = x("div", "leaflet-control-attribution"), Zt(this._container);
2623
2613
  for (var e in t._layers)
2624
2614
  t._layers[e].getAttribution && this.addAttribution(t._layers[e].getAttribution());
2625
2615
  return this._update(), t.on("layeradd", this._addAttribution, this), this._container;
@@ -2661,20 +2651,20 @@ y.mergeOptions({
2661
2651
  attributionControl: !0
2662
2652
  });
2663
2653
  y.addInitHook(function() {
2664
- this.options.attributionControl && new Oe().addTo(this);
2654
+ this.options.attributionControl && new Me().addTo(this);
2665
2655
  });
2666
- var jn = function(t) {
2667
- return new Oe(t);
2656
+ var On = function(t) {
2657
+ return new Me(t);
2668
2658
  };
2669
- J.Layers = Ai;
2670
- J.Zoom = Ze;
2671
- J.Scale = Bi;
2672
- J.Attribution = Oe;
2673
- Qt.layers = Un;
2674
- Qt.zoom = qn;
2675
- Qt.scale = Vn;
2676
- Qt.attribution = jn;
2677
- var tt = st.extend({
2659
+ J.Layers = Li;
2660
+ J.Zoom = be;
2661
+ J.Scale = Ti;
2662
+ J.Attribution = Me;
2663
+ Kt.layers = Sn;
2664
+ Kt.zoom = En;
2665
+ Kt.scale = Zn;
2666
+ Kt.attribution = On;
2667
+ var tt = nt.extend({
2678
2668
  initialize: function(t) {
2679
2669
  this._map = t;
2680
2670
  },
@@ -2703,7 +2693,7 @@ var tt = st.extend({
2703
2693
  tt.addTo = function(t, e) {
2704
2694
  return t.addHandler(e, this), this;
2705
2695
  };
2706
- var go = { Events: W }, ti = c.touch ? "touchstart mousedown" : "mousedown", ht = Kt.extend({
2696
+ var Ve = c.touch ? "touchstart mousedown" : "mousedown", st = qt.extend({
2707
2697
  options: {
2708
2698
  // @section
2709
2699
  // @aka Draggable options
@@ -2715,28 +2705,28 @@ var go = { Events: W }, ti = c.touch ? "touchstart mousedown" : "mousedown", ht
2715
2705
  // @constructor L.Draggable(el: HTMLElement, dragHandle?: HTMLElement, preventOutline?: Boolean, options?: Draggable options)
2716
2706
  // Creates a `Draggable` object for moving `el` when you start dragging the `dragHandle` element (equals `el` itself by default).
2717
2707
  initialize: function(t, e, i, n) {
2718
- S(this, n), this._element = t, this._dragStartTarget = e || t, this._preventOutline = i;
2708
+ z(this, n), this._element = t, this._dragStartTarget = e || t, this._preventOutline = i;
2719
2709
  },
2720
2710
  // @method enable()
2721
2711
  // Enables the dragging ability
2722
2712
  enable: function() {
2723
- this._enabled || (_(this._dragStartTarget, ti, this._onDown, this), this._enabled = !0);
2713
+ this._enabled || (_(this._dragStartTarget, Ve, this._onDown, this), this._enabled = !0);
2724
2714
  },
2725
2715
  // @method disable()
2726
2716
  // Disables the dragging ability
2727
2717
  disable: function() {
2728
- this._enabled && (ht._dragging === this && this.finishDrag(!0), b(this._dragStartTarget, ti, this._onDown, this), this._enabled = !1, this._moved = !1);
2718
+ this._enabled && (st._dragging === this && this.finishDrag(!0), b(this._dragStartTarget, Ve, this._onDown, this), this._enabled = !1, this._moved = !1);
2729
2719
  },
2730
2720
  _onDown: function(t) {
2731
- if (this._enabled && (this._moved = !1, !Te(this._element, "leaflet-zoom-anim"))) {
2721
+ if (this._enabled && (this._moved = !1, !ve(this._element, "leaflet-zoom-anim"))) {
2732
2722
  if (t.touches && t.touches.length !== 1) {
2733
- ht._dragging === this && this.finishDrag();
2723
+ st._dragging === this && this.finishDrag();
2734
2724
  return;
2735
2725
  }
2736
- if (!(ht._dragging || t.shiftKey || t.which !== 1 && t.button !== 1 && !t.touches) && (ht._dragging = this, this._preventOutline && Se(this._element), Me(), zt(), !this._moving)) {
2726
+ if (!(st._dragging || t.shiftKey || t.which !== 1 && t.button !== 1 && !t.touches) && (st._dragging = this, this._preventOutline && we(this._element), ye(), zt(), !this._moving)) {
2737
2727
  this.fire("down");
2738
- var e = t.touches ? t.touches[0] : t, i = Ei(this._element);
2739
- this._startPoint = new m(e.clientX, e.clientY), this._startPos = dt(this._element), this._parentScale = ze(i);
2728
+ var e = t.touches ? t.touches[0] : t, i = yi(this._element);
2729
+ this._startPoint = new m(e.clientX, e.clientY), this._startPos = ct(this._element), this._parentScale = Pe(i);
2740
2730
  var n = t.type === "mousedown";
2741
2731
  _(document, n ? "mousemove" : "touchmove", this._onMove, this), _(document, n ? "mouseup" : "touchend touchcancel", this._onUp, this);
2742
2732
  }
@@ -2760,131 +2750,122 @@ var go = { Events: W }, ti = c.touch ? "touchstart mousedown" : "mousedown", ht
2760
2750
  this._enabled && this.finishDrag();
2761
2751
  },
2762
2752
  finishDrag: function(t) {
2763
- E(document.body, "leaflet-dragging"), this._lastTarget && (E(this._lastTarget, "leaflet-drag-target"), this._lastTarget = null), b(document, "mousemove touchmove", this._onMove, this), b(document, "mouseup touchend touchcancel", this._onUp, this), Ce(), kt();
2753
+ Z(document.body, "leaflet-dragging"), this._lastTarget && (Z(this._lastTarget, "leaflet-drag-target"), this._lastTarget = null), b(document, "mousemove touchmove", this._onMove, this), b(document, "mouseup touchend touchcancel", this._onUp, this), xe(), St();
2764
2754
  var e = this._moved && this._moving;
2765
- this._moving = !1, ht._dragging = !1, e && this.fire("dragend", {
2755
+ this._moving = !1, st._dragging = !1, e && this.fire("dragend", {
2766
2756
  noInertia: t,
2767
2757
  distance: this._newPos.distanceTo(this._startPos)
2768
2758
  });
2769
2759
  }
2770
2760
  });
2771
- function Ni(t, e, i) {
2761
+ function In(t, e, i) {
2772
2762
  var n, o = [1, 4, 2, 8], s, r, a, h, u, l, f, v;
2773
2763
  for (s = 0, l = t.length; s < l; s++)
2774
- t[s]._code = ct(t[s], e);
2764
+ t[s]._code = pt(t[s], e);
2775
2765
  for (a = 0; a < 4; a++) {
2776
2766
  for (f = o[a], n = [], s = 0, l = t.length, r = l - 1; s < l; r = s++)
2777
- h = t[s], u = t[r], h._code & f ? u._code & f || (v = Vt(u, h, f, e, i), v._code = ct(v, e), n.push(v)) : (u._code & f && (v = Vt(u, h, f, e, i), v._code = ct(v, e), n.push(v)), n.push(h));
2767
+ h = t[s], u = t[r], h._code & f ? u._code & f || (v = ue(u, h, f, e, i), v._code = pt(v, e), n.push(v)) : (u._code & f && (v = ue(u, h, f, e, i), v._code = pt(v, e), n.push(v)), n.push(h));
2778
2768
  t = n;
2779
2769
  }
2780
2770
  return t;
2781
2771
  }
2782
- function Ri(t, e) {
2772
+ function An(t, e) {
2783
2773
  var i, n, o, s, r, a, h, u, l;
2784
2774
  if (!t || t.length === 0)
2785
2775
  throw new Error("latlngs not passed");
2786
2776
  G(t) || (console.warn("latlngs are not flat! Only the first ring will be used"), t = t[0]);
2787
2777
  var f = g([0, 0]), v = I(t), N = v.getNorthWest().distanceTo(v.getSouthWest()) * v.getNorthEast().distanceTo(v.getNorthWest());
2788
- N < 1700 && (f = Ie(t));
2789
- var A = t.length, U = [];
2778
+ N < 1700 && (f = bi(t));
2779
+ var A = t.length, W = [];
2790
2780
  for (i = 0; i < A; i++) {
2791
2781
  var R = g(t[i]);
2792
- U.push(e.project(g([R.lat - f.lat, R.lng - f.lng])));
2782
+ W.push(e.project(g([R.lat - f.lat, R.lng - f.lng])));
2793
2783
  }
2794
2784
  for (a = h = u = 0, i = 0, n = A - 1; i < A; n = i++)
2795
- o = U[i], s = U[n], r = o.y * s.x - s.y * o.x, h += (o.x + s.x) * r, u += (o.y + s.y) * r, a += r * 3;
2796
- a === 0 ? l = U[0] : l = [h / a, u / a];
2797
- var pt = e.unproject(d(l));
2798
- return g([pt.lat + f.lat, pt.lng + f.lng]);
2785
+ o = W[i], s = W[n], r = o.y * s.x - s.y * o.x, h += (o.x + s.x) * r, u += (o.y + s.y) * r, a += r * 3;
2786
+ a === 0 ? l = W[0] : l = [h / a, u / a];
2787
+ var mt = e.unproject(d(l));
2788
+ return g([mt.lat + f.lat, mt.lng + f.lng]);
2799
2789
  }
2800
- function Ie(t) {
2790
+ function bi(t) {
2801
2791
  for (var e = 0, i = 0, n = 0, o = 0; o < t.length; o++) {
2802
2792
  var s = g(t[o]);
2803
2793
  e += s.lat, i += s.lng, n++;
2804
2794
  }
2805
2795
  return g([e / n, i / n]);
2806
2796
  }
2807
- var yo = {
2808
- __proto__: null,
2809
- clipPolygon: Ni,
2810
- polygonCenter: Ri,
2811
- centroid: Ie
2812
- };
2813
- function Di(t, e) {
2797
+ function Bn(t, e) {
2814
2798
  if (!e || !t.length)
2815
2799
  return t.slice();
2816
2800
  var i = e * e;
2817
- return t = Xn(t, i), t = Yn(t, i), t;
2818
- }
2819
- function Hi(t, e, i) {
2820
- return Math.sqrt(At(t, e, i, !0));
2801
+ return t = Dn(t, i), t = Rn(t, i), t;
2821
2802
  }
2822
- function Kn(t, e, i) {
2823
- return At(t, e, i);
2803
+ function Nn(t, e, i) {
2804
+ return Math.sqrt(Ce(t, e, i, !0));
2824
2805
  }
2825
- function Yn(t, e) {
2806
+ function Rn(t, e) {
2826
2807
  var i = t.length, n = typeof Uint8Array < "u" ? Uint8Array : Array, o = new n(i);
2827
- o[0] = o[i - 1] = 1, de(t, o, e, 0, i - 1);
2808
+ o[0] = o[i - 1] = 1, he(t, o, e, 0, i - 1);
2828
2809
  var s, r = [];
2829
2810
  for (s = 0; s < i; s++)
2830
2811
  o[s] && r.push(t[s]);
2831
2812
  return r;
2832
2813
  }
2833
- function de(t, e, i, n, o) {
2814
+ function he(t, e, i, n, o) {
2834
2815
  var s = 0, r, a, h;
2835
2816
  for (a = n + 1; a <= o - 1; a++)
2836
- h = At(t[a], t[n], t[o], !0), h > s && (r = a, s = h);
2837
- s > i && (e[r] = 1, de(t, e, i, n, r), de(t, e, i, r, o));
2817
+ h = Ce(t[a], t[n], t[o], !0), h > s && (r = a, s = h);
2818
+ s > i && (e[r] = 1, he(t, e, i, n, r), he(t, e, i, r, o));
2838
2819
  }
2839
- function Xn(t, e) {
2820
+ function Dn(t, e) {
2840
2821
  for (var i = [t[0]], n = 1, o = 0, s = t.length; n < s; n++)
2841
- Jn(t[n], t[o]) > e && (i.push(t[n]), o = n);
2822
+ Fn(t[n], t[o]) > e && (i.push(t[n]), o = n);
2842
2823
  return o < s - 1 && i.push(t[s - 1]), i;
2843
2824
  }
2844
- var ei;
2845
- function Fi(t, e, i, n, o) {
2846
- var s = n ? ei : ct(t, i), r = ct(e, i), a, h, u;
2847
- for (ei = r; ; ) {
2825
+ var Ge;
2826
+ function Hn(t, e, i, n, o) {
2827
+ var s = n ? Ge : pt(t, i), r = pt(e, i), a, h, u;
2828
+ for (Ge = r; ; ) {
2848
2829
  if (!(s | r))
2849
2830
  return [t, e];
2850
2831
  if (s & r)
2851
2832
  return !1;
2852
- a = s || r, h = Vt(t, e, a, i, o), u = ct(h, i), a === s ? (t = h, s = u) : (e = h, r = u);
2833
+ a = s || r, h = ue(t, e, a, i, o), u = pt(h, i), a === s ? (t = h, s = u) : (e = h, r = u);
2853
2834
  }
2854
2835
  }
2855
- function Vt(t, e, i, n, o) {
2836
+ function ue(t, e, i, n, o) {
2856
2837
  var s = e.x - t.x, r = e.y - t.y, a = n.min, h = n.max, u, l;
2857
2838
  return i & 8 ? (u = t.x + s * (h.y - t.y) / r, l = h.y) : i & 4 ? (u = t.x + s * (a.y - t.y) / r, l = a.y) : i & 2 ? (u = h.x, l = t.y + r * (h.x - t.x) / s) : i & 1 && (u = a.x, l = t.y + r * (a.x - t.x) / s), new m(u, l, o);
2858
2839
  }
2859
- function ct(t, e) {
2840
+ function pt(t, e) {
2860
2841
  var i = 0;
2861
2842
  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;
2862
2843
  }
2863
- function Jn(t, e) {
2844
+ function Fn(t, e) {
2864
2845
  var i = e.x - t.x, n = e.y - t.y;
2865
2846
  return i * i + n * n;
2866
2847
  }
2867
- function At(t, e, i, n) {
2848
+ function Ce(t, e, i, n) {
2868
2849
  var o = e.x, s = e.y, r = i.x - o, a = i.y - s, h = r * r + a * a, u;
2869
2850
  return h > 0 && (u = ((t.x - o) * r + (t.y - s) * a) / h, u > 1 ? (o = i.x, s = i.y) : u > 0 && (o += r * u, s += a * u)), r = t.x - o, a = t.y - s, n ? r * r + a * a : new m(o, s);
2870
2851
  }
2871
2852
  function G(t) {
2872
2853
  return !j(t[0]) || typeof t[0][0] != "object" && typeof t[0][0] < "u";
2873
2854
  }
2874
- function Wi(t) {
2855
+ function Wn(t) {
2875
2856
  return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."), G(t);
2876
2857
  }
2877
- function Ui(t, e) {
2858
+ function Un(t, e) {
2878
2859
  var i, n, o, s, r, a, h, u;
2879
2860
  if (!t || t.length === 0)
2880
2861
  throw new Error("latlngs not passed");
2881
2862
  G(t) || (console.warn("latlngs are not flat! Only the first ring will be used"), t = t[0]);
2882
2863
  var l = g([0, 0]), f = I(t), v = f.getNorthWest().distanceTo(f.getSouthWest()) * f.getNorthEast().distanceTo(f.getNorthWest());
2883
- v < 1700 && (l = Ie(t));
2864
+ v < 1700 && (l = bi(t));
2884
2865
  var N = t.length, A = [];
2885
2866
  for (i = 0; i < N; i++) {
2886
- var U = g(t[i]);
2887
- A.push(e.project(g([U.lat - l.lat, U.lng - l.lng])));
2867
+ var W = g(t[i]);
2868
+ A.push(e.project(g([W.lat - l.lat, W.lng - l.lng])));
2888
2869
  }
2889
2870
  for (i = 0, n = 0; i < N - 1; i++)
2890
2871
  n += A[i].distanceTo(A[i + 1]) / 2;
@@ -2902,30 +2883,18 @@ function Ui(t, e) {
2902
2883
  var R = e.unproject(d(u));
2903
2884
  return g([R.lat + l.lat, R.lng + l.lng]);
2904
2885
  }
2905
- var xo = {
2906
- __proto__: null,
2907
- simplify: Di,
2908
- pointToSegmentDistance: Hi,
2909
- closestPointOnSegment: Kn,
2910
- clipSegment: Fi,
2911
- _getEdgeIntersection: Vt,
2912
- _getBitCode: ct,
2913
- _sqClosestPointOnSegment: At,
2914
- isFlat: G,
2915
- _flat: Wi,
2916
- polylineCenter: Ui
2917
- }, Ae = {
2886
+ var Mi = {
2918
2887
  project: function(t) {
2919
2888
  return new m(t.lng, t.lat);
2920
2889
  },
2921
2890
  unproject: function(t) {
2922
2891
  return new P(t.y, t.x);
2923
2892
  },
2924
- bounds: new z([-180, -90], [180, 90])
2925
- }, _e = {
2893
+ bounds: new S([-180, -90], [180, 90])
2894
+ }, je = {
2926
2895
  R: 6378137,
2927
2896
  R_MINOR: 6356752314245179e-9,
2928
- bounds: new z([-2003750834279e-5, -1549657073972e-5], [2003750834279e-5, 1876465623138e-5]),
2897
+ bounds: new S([-2003750834279e-5, -1549657073972e-5], [2003750834279e-5, 1876465623138e-5]),
2929
2898
  project: function(t) {
2930
2899
  var e = Math.PI / 180, i = this.R, n = t.lat * e, o = this.R_MINOR / i, s = Math.sqrt(1 - o * o), r = s * Math.sin(n), a = Math.tan(Math.PI / 4 - n / 2) / Math.pow((1 - r) / (1 + r), s / 2);
2931
2900
  return n = -i * Math.log(Math.max(a, 1e-10)), new m(t.lng * e * i, n);
@@ -2935,25 +2904,20 @@ var xo = {
2935
2904
  u = o * Math.sin(r), u = Math.pow((1 - u) / (1 + u), o / 2), h = Math.PI / 2 - 2 * Math.atan(s * u) - r, r += h;
2936
2905
  return new P(r * e, t.x * e / i);
2937
2906
  }
2938
- }, wo = {
2939
- __proto__: null,
2940
- LonLat: Ae,
2941
- Mercator: _e,
2942
- SphericalMercator: ae
2943
- }, $n = T({}, ot, {
2907
+ }, qn = T({}, it, {
2944
2908
  code: "EPSG:3395",
2945
- projection: _e,
2909
+ projection: je,
2946
2910
  transformation: (function() {
2947
- var t = 0.5 / (Math.PI * _e.R);
2948
- return Yt(t, 0.5, -t, 0.5);
2911
+ var t = 0.5 / (Math.PI * je.R);
2912
+ return Vt(t, 0.5, -t, 0.5);
2949
2913
  })()
2950
- }), qi = T({}, ot, {
2914
+ }), Ci = T({}, it, {
2951
2915
  code: "EPSG:4326",
2952
- projection: Ae,
2953
- transformation: Yt(1 / 180, 1, -1 / 180, 0.5)
2954
- }), Qn = T({}, rt, {
2955
- projection: Ae,
2956
- transformation: Yt(1, 0, -1, 0),
2916
+ projection: Mi,
2917
+ transformation: Vt(1 / 180, 1, -1 / 180, 0.5)
2918
+ }), Vn = T({}, ot, {
2919
+ projection: Mi,
2920
+ transformation: Vt(1, 0, -1, 0),
2957
2921
  scale: function(t) {
2958
2922
  return Math.pow(2, t);
2959
2923
  },
@@ -2966,13 +2930,13 @@ var xo = {
2966
2930
  },
2967
2931
  infinite: !0
2968
2932
  });
2969
- rt.Earth = ot;
2970
- rt.EPSG3395 = $n;
2971
- rt.EPSG3857 = ve;
2972
- rt.EPSG900913 = cn;
2973
- rt.EPSG4326 = qi;
2974
- rt.Simple = Qn;
2975
- var $ = Kt.extend({
2933
+ ot.Earth = it;
2934
+ ot.EPSG3395 = qn;
2935
+ ot.EPSG3857 = fe;
2936
+ ot.EPSG900913 = Ki;
2937
+ ot.EPSG4326 = Ci;
2938
+ ot.Simple = Vn;
2939
+ var $ = qt.extend({
2976
2940
  // Classes extending `L.Layer` will inherit the following options:
2977
2941
  options: {
2978
2942
  // @option pane: String = 'overlayPane'
@@ -3089,9 +3053,9 @@ y.include({
3089
3053
  this._layersMaxZoom = e === -1 / 0 ? void 0 : e, this._layersMinZoom = t === 1 / 0 ? void 0 : t, i !== this._getZoomSpan() && this.fire("zoomlevelschange"), this.options.maxZoom === void 0 && this._layersMaxZoom && this.getZoom() > this._layersMaxZoom && this.setZoom(this._layersMaxZoom), this.options.minZoom === void 0 && this._layersMinZoom && this.getZoom() < this._layersMinZoom && this.setZoom(this._layersMinZoom);
3090
3054
  }
3091
3055
  });
3092
- var Tt = $.extend({
3056
+ var Bt = $.extend({
3093
3057
  initialize: function(t, e) {
3094
- S(this, e), this._layers = {};
3058
+ z(this, e), this._layers = {};
3095
3059
  var i, n;
3096
3060
  if (t)
3097
3061
  for (i = 0, n = t.length; i < n; i++)
@@ -3175,14 +3139,12 @@ var Tt = $.extend({
3175
3139
  getLayerId: function(t) {
3176
3140
  return w(t);
3177
3141
  }
3178
- }), Po = function(t, e) {
3179
- return new Tt(t, e);
3180
- }, nt = Tt.extend({
3142
+ }), ut = Bt.extend({
3181
3143
  addLayer: function(t) {
3182
- return this.hasLayer(t) ? this : (t.addEventParent(this), Tt.prototype.addLayer.call(this, t), this.fire("layeradd", { layer: t }));
3144
+ return this.hasLayer(t) ? this : (t.addEventParent(this), Bt.prototype.addLayer.call(this, t), this.fire("layeradd", { layer: t }));
3183
3145
  },
3184
3146
  removeLayer: function(t) {
3185
- return this.hasLayer(t) ? (t in this._layers && (t = this._layers[t]), t.removeEventParent(this), Tt.prototype.removeLayer.call(this, t), this.fire("layerremove", { layer: t })) : this;
3147
+ return this.hasLayer(t) ? (t in this._layers && (t = this._layers[t]), t.removeEventParent(this), Bt.prototype.removeLayer.call(this, t), this.fire("layerremove", { layer: t })) : this;
3186
3148
  },
3187
3149
  // @method setStyle(style: Path options): this
3188
3150
  // Sets the given path options to each layer of the group that has a `setStyle` method.
@@ -3209,9 +3171,7 @@ var Tt = $.extend({
3209
3171
  }
3210
3172
  return t;
3211
3173
  }
3212
- }), Lo = function(t, e) {
3213
- return new nt(t, e);
3214
- }, Et = st.extend({
3174
+ }), Et = nt.extend({
3215
3175
  /* @section
3216
3176
  * @aka Icon options
3217
3177
  *
@@ -3261,7 +3221,7 @@ var Tt = $.extend({
3261
3221
  crossOrigin: !1
3262
3222
  },
3263
3223
  initialize: function(t) {
3264
- S(this, t);
3224
+ z(this, t);
3265
3225
  },
3266
3226
  // @method createIcon(oldIcon?: HTMLElement): HTMLElement
3267
3227
  // Called internally when the icon has to be shown, returns a `<img>` HTML element
@@ -3297,10 +3257,10 @@ var Tt = $.extend({
3297
3257
  return c.retina && this.options[t + "RetinaUrl"] || this.options[t + "Url"];
3298
3258
  }
3299
3259
  });
3300
- function To(t) {
3260
+ function so(t) {
3301
3261
  return new Et(t);
3302
3262
  }
3303
- var bt = Et.extend({
3263
+ var Tt = Et.extend({
3304
3264
  options: {
3305
3265
  iconUrl: "marker-icon.png",
3306
3266
  iconRetinaUrl: "marker-icon-2x.png",
@@ -3312,7 +3272,7 @@ var bt = Et.extend({
3312
3272
  shadowSize: [41, 41]
3313
3273
  },
3314
3274
  _getIconUrl: function(t) {
3315
- return typeof bt.imagePath != "string" && (bt.imagePath = this._detectIconPath()), (this.options.imagePath || bt.imagePath) + Et.prototype._getIconUrl.call(this, t);
3275
+ return typeof Tt.imagePath != "string" && (Tt.imagePath = this._detectIconPath()), (this.options.imagePath || Tt.imagePath) + Et.prototype._getIconUrl.call(this, t);
3316
3276
  },
3317
3277
  _stripUrl: function(t) {
3318
3278
  var e = function(i, n, o) {
@@ -3322,19 +3282,19 @@ var bt = Et.extend({
3322
3282
  return t = e(t, /^url\((['"])?(.+)\1\)$/, 2), t && e(t, /^(.*)marker-icon\.png$/, 1);
3323
3283
  },
3324
3284
  _detectIconPath: function() {
3325
- var t = x("div", "leaflet-default-icon-path", document.body), e = St(t, "background-image") || St(t, "backgroundImage");
3285
+ var t = x("div", "leaflet-default-icon-path", document.body), e = Ct(t, "background-image") || Ct(t, "backgroundImage");
3326
3286
  if (document.body.removeChild(t), e = this._stripUrl(e), e)
3327
3287
  return e;
3328
3288
  var i = document.querySelector('link[href$="leaflet.css"]');
3329
3289
  return i ? i.href.substring(0, i.href.length - 11 - 1) : "";
3330
3290
  }
3331
- }), ii = tt.extend({
3291
+ }), Ke = tt.extend({
3332
3292
  initialize: function(t) {
3333
3293
  this._marker = t;
3334
3294
  },
3335
3295
  addHooks: function() {
3336
3296
  var t = this._marker._icon;
3337
- this._draggable || (this._draggable = new ht(t, t, !0)), this._draggable.on({
3297
+ this._draggable || (this._draggable = new st(t, t, !0)), this._draggable.on({
3338
3298
  dragstart: this._onDragStart,
3339
3299
  predrag: this._onPreDrag,
3340
3300
  drag: this._onDrag,
@@ -3347,13 +3307,13 @@ var bt = Et.extend({
3347
3307
  predrag: this._onPreDrag,
3348
3308
  drag: this._onDrag,
3349
3309
  dragend: this._onDragEnd
3350
- }, this).disable(), this._marker._icon && E(this._marker._icon, "leaflet-marker-draggable");
3310
+ }, this).disable(), this._marker._icon && Z(this._marker._icon, "leaflet-marker-draggable");
3351
3311
  },
3352
3312
  moved: function() {
3353
3313
  return this._draggable && this._draggable._moved;
3354
3314
  },
3355
3315
  _adjustPan: function(t) {
3356
- var e = this._marker, i = e._map, n = this._marker.options.autoPanSpeed, o = this._marker.options.autoPanPadding, s = dt(e._icon), r = i.getPixelBounds(), a = i.getPixelOrigin(), h = H(
3316
+ var e = this._marker, i = e._map, n = this._marker.options.autoPanSpeed, o = this._marker.options.autoPanPadding, s = ct(e._icon), r = i.getPixelBounds(), a = i.getPixelOrigin(), h = H(
3357
3317
  r.min._subtract(a).add(o),
3358
3318
  r.max._subtract(a).subtract(o)
3359
3319
  );
@@ -3369,16 +3329,16 @@ var bt = Et.extend({
3369
3329
  this._oldLatLng = this._marker.getLatLng(), this._marker.closePopup && this._marker.closePopup(), this._marker.fire("movestart").fire("dragstart");
3370
3330
  },
3371
3331
  _onPreDrag: function(t) {
3372
- this._marker.options.autoPan && (V(this._panRequest), this._panRequest = D(this._adjustPan.bind(this, t)));
3332
+ this._marker.options.autoPan && (q(this._panRequest), this._panRequest = D(this._adjustPan.bind(this, t)));
3373
3333
  },
3374
3334
  _onDrag: function(t) {
3375
- var e = this._marker, i = e._shadow, n = dt(e._icon), o = e._map.layerPointToLatLng(n);
3335
+ var e = this._marker, i = e._shadow, n = ct(e._icon), o = e._map.layerPointToLatLng(n);
3376
3336
  i && O(i, n), e._latlng = o, t.latlng = o, t.oldLatLng = this._oldLatLng, e.fire("move", t).fire("drag", t);
3377
3337
  },
3378
3338
  _onDragEnd: function(t) {
3379
- V(this._panRequest), delete this._oldLatLng, this._marker.fire("moveend").fire("dragend", t);
3339
+ q(this._panRequest), delete this._oldLatLng, this._marker.fire("moveend").fire("dragend", t);
3380
3340
  }
3381
- }), Be = $.extend({
3341
+ }), ze = $.extend({
3382
3342
  // @section
3383
3343
  // @aka Marker options
3384
3344
  options: {
@@ -3386,7 +3346,7 @@ var bt = Et.extend({
3386
3346
  // Icon instance to use for rendering the marker.
3387
3347
  // See [Icon documentation](#L.Icon) for details on how to customize the marker icon.
3388
3348
  // If not specified, a common instance of `L.Icon.Default` is used.
3389
- icon: new bt(),
3349
+ icon: new Tt(),
3390
3350
  // Option inherited from "Interactive layer" abstract class
3391
3351
  interactive: !0,
3392
3352
  // @option keyboard: Boolean = true
@@ -3447,7 +3407,7 @@ var bt = Et.extend({
3447
3407
  * In addition to [shared layer methods](#Layer) like `addTo()` and `remove()` and [popup methods](#Popup) like bindPopup() you can also use the following methods:
3448
3408
  */
3449
3409
  initialize: function(t, e) {
3450
- S(this, e), this._latlng = g(t);
3410
+ z(this, e), this._latlng = g(t);
3451
3411
  },
3452
3412
  onAdd: function(t) {
3453
3413
  this._zoomAnimated = this._zoomAnimated && t.options.markerZoomAnimation, this._zoomAnimated && t.on("zoomanim", this._animateZoom, this), this._initIcon(), this.update();
@@ -3526,9 +3486,9 @@ var bt = Et.extend({
3526
3486
  this._setPos(e);
3527
3487
  },
3528
3488
  _initInteraction: function() {
3529
- if (this.options.interactive && (p(this._icon, "leaflet-interactive"), this.addInteractiveTarget(this._icon), ii)) {
3489
+ if (this.options.interactive && (p(this._icon, "leaflet-interactive"), this.addInteractiveTarget(this._icon), Ke)) {
3530
3490
  var t = this.options.draggable;
3531
- this.dragging && (t = this.dragging.enabled(), this.dragging.disable()), this.dragging = new ii(this), t && this.dragging.enable();
3491
+ this.dragging && (t = this.dragging.enabled(), this.dragging.disable()), this.dragging = new Ke(this), t && this.dragging.enable();
3532
3492
  }
3533
3493
  },
3534
3494
  // @method setOpacity(opacity: Number): this
@@ -3538,7 +3498,7 @@ var bt = Et.extend({
3538
3498
  },
3539
3499
  _updateOpacity: function() {
3540
3500
  var t = this.options.opacity;
3541
- this._icon && q(this._icon, t), this._shadow && q(this._shadow, t);
3501
+ this._icon && U(this._icon, t), this._shadow && U(this._shadow, t);
3542
3502
  },
3543
3503
  _bringToFront: function() {
3544
3504
  this._updateZIndex(this.options.riseOffset);
@@ -3563,10 +3523,10 @@ var bt = Et.extend({
3563
3523
  return this.options.icon.options.tooltipAnchor;
3564
3524
  }
3565
3525
  });
3566
- function bo(t, e) {
3567
- return new Be(t, e);
3526
+ function ro(t, e) {
3527
+ return new ze(t, e);
3568
3528
  }
3569
- var mt = $.extend({
3529
+ var dt = $.extend({
3570
3530
  // @section
3571
3531
  // @aka Path options
3572
3532
  options: {
@@ -3631,7 +3591,7 @@ var mt = $.extend({
3631
3591
  // @method setStyle(style: Path options): this
3632
3592
  // Changes the appearance of a Path based on the options in the `Path options` object.
3633
3593
  setStyle: function(t) {
3634
- return S(this, t), this._renderer && (this._renderer._updateStyle(this), this.options.stroke && t && Object.prototype.hasOwnProperty.call(t, "weight") && this._updateBounds()), this;
3594
+ return z(this, t), this._renderer && (this._renderer._updateStyle(this), this.options.stroke && t && Object.prototype.hasOwnProperty.call(t, "weight") && this._updateBounds()), this;
3635
3595
  },
3636
3596
  // @method bringToFront(): this
3637
3597
  // Brings the layer to the top of all path layers.
@@ -3652,7 +3612,7 @@ var mt = $.extend({
3652
3612
  _clickTolerance: function() {
3653
3613
  return (this.options.stroke ? this.options.weight / 2 : 0) + (this._renderer.options.tolerance || 0);
3654
3614
  }
3655
- }), Ne = mt.extend({
3615
+ }), zi = dt.extend({
3656
3616
  // @section
3657
3617
  // @aka CircleMarker options
3658
3618
  options: {
@@ -3662,7 +3622,7 @@ var mt = $.extend({
3662
3622
  radius: 10
3663
3623
  },
3664
3624
  initialize: function(t, e) {
3665
- S(this, e), this._latlng = g(t), this._radius = this.options.radius;
3625
+ z(this, e), this._latlng = g(t), this._radius = this.options.radius;
3666
3626
  },
3667
3627
  // @method setLatLng(latLng: LatLng): this
3668
3628
  // Sets the position of a circle marker to a new location.
@@ -3687,14 +3647,14 @@ var mt = $.extend({
3687
3647
  },
3688
3648
  setStyle: function(t) {
3689
3649
  var e = t && t.radius || this._radius;
3690
- return mt.prototype.setStyle.call(this, t), this.setRadius(e), this;
3650
+ return dt.prototype.setStyle.call(this, t), this.setRadius(e), this;
3691
3651
  },
3692
3652
  _project: function() {
3693
3653
  this._point = this._map.latLngToLayerPoint(this._latlng), this._updateBounds();
3694
3654
  },
3695
3655
  _updateBounds: function() {
3696
3656
  var t = this._radius, e = this._radiusY || t, i = this._clickTolerance(), n = [t + i, e + i];
3697
- this._pxBounds = new z(this._point.subtract(n), this._point.add(n));
3657
+ this._pxBounds = new S(this._point.subtract(n), this._point.add(n));
3698
3658
  },
3699
3659
  _update: function() {
3700
3660
  this._map && this._updatePath();
@@ -3709,13 +3669,9 @@ var mt = $.extend({
3709
3669
  _containsPoint: function(t) {
3710
3670
  return t.distanceTo(this._point) <= this._radius + this._clickTolerance();
3711
3671
  }
3712
- });
3713
- function Mo(t, e) {
3714
- return new Ne(t, e);
3715
- }
3716
- var Vi = Ne.extend({
3672
+ }), Gn = zi.extend({
3717
3673
  initialize: function(t, e, i) {
3718
- if (typeof e == "number" && (e = T({}, i, { radius: e })), S(this, e), this._latlng = g(t), isNaN(this.options.radius))
3674
+ if (typeof e == "number" && (e = T({}, i, { radius: e })), z(this, e), this._latlng = g(t), isNaN(this.options.radius))
3719
3675
  throw new Error("Circle radius cannot be NaN");
3720
3676
  this._mRadius = this.options.radius;
3721
3677
  },
@@ -3738,11 +3694,11 @@ var Vi = Ne.extend({
3738
3694
  this._map.layerPointToLatLng(this._point.add(t))
3739
3695
  );
3740
3696
  },
3741
- setStyle: mt.prototype.setStyle,
3697
+ setStyle: dt.prototype.setStyle,
3742
3698
  _project: function() {
3743
3699
  var t = this._latlng.lng, e = this._latlng.lat, i = this._map, n = i.options.crs;
3744
- if (n.distance === ot.distance) {
3745
- var o = Math.PI / 180, s = this._mRadius / ot.R / o, r = i.project([e + s, t]), a = i.project([e - s, t]), h = r.add(a).divideBy(2), u = i.unproject(h).lat, l = Math.acos((Math.cos(s * o) - Math.sin(e * o) * Math.sin(u * o)) / (Math.cos(e * o) * Math.cos(u * o))) / o;
3700
+ if (n.distance === it.distance) {
3701
+ var o = Math.PI / 180, s = this._mRadius / it.R / o, r = i.project([e + s, t]), a = i.project([e - s, t]), h = r.add(a).divideBy(2), u = i.unproject(h).lat, l = Math.acos((Math.cos(s * o) - Math.sin(e * o) * Math.sin(u * o)) / (Math.cos(e * o) * Math.cos(u * o))) / o;
3746
3702
  (isNaN(l) || l === 0) && (l = s / Math.cos(Math.PI / 180 * e)), this._point = h.subtract(i.getPixelOrigin()), this._radius = isNaN(l) ? 0 : h.x - i.project([u, t - l]).x, this._radiusY = h.y - r.y;
3747
3703
  } else {
3748
3704
  var f = n.unproject(n.project(this._latlng).subtract([this._mRadius, 0]));
@@ -3750,11 +3706,7 @@ var Vi = Ne.extend({
3750
3706
  }
3751
3707
  this._updateBounds();
3752
3708
  }
3753
- });
3754
- function Co(t, e, i) {
3755
- return new Vi(t, e, i);
3756
- }
3757
- var it = mt.extend({
3709
+ }), rt = dt.extend({
3758
3710
  // @section
3759
3711
  // @aka Polyline options
3760
3712
  options: {
@@ -3767,7 +3719,7 @@ var it = mt.extend({
3767
3719
  noClip: !1
3768
3720
  },
3769
3721
  initialize: function(t, e) {
3770
- S(this, e), this._setLatLngs(t);
3722
+ z(this, e), this._setLatLngs(t);
3771
3723
  },
3772
3724
  // @method getLatLngs(): LatLng[]
3773
3725
  // Returns an array of the points in the path, or nested arrays of points in case of multi-polyline.
@@ -3787,7 +3739,7 @@ var it = mt.extend({
3787
3739
  // @method closestLayerPoint(p: Point): Point
3788
3740
  // Returns the point closest to `p` on the Polyline.
3789
3741
  closestLayerPoint: function(t) {
3790
- for (var e = 1 / 0, i = null, n = At, o, s, r = 0, a = this._parts.length; r < a; r++)
3742
+ for (var e = 1 / 0, i = null, n = Ce, o, s, r = 0, a = this._parts.length; r < a; r++)
3791
3743
  for (var h = this._parts[r], u = 1, l = h.length; u < l; u++) {
3792
3744
  o = h[u - 1], s = h[u];
3793
3745
  var f = n(t, o, s, !0);
@@ -3800,7 +3752,7 @@ var it = mt.extend({
3800
3752
  getCenter: function() {
3801
3753
  if (!this._map)
3802
3754
  throw new Error("Must add layer to map before using getCenter()");
3803
- return Ui(this._defaultShape(), this._map.options.crs);
3755
+ return Un(this._defaultShape(), this._map.options.crs);
3804
3756
  },
3805
3757
  // @method getBounds(): LatLngBounds
3806
3758
  // Returns the `LatLngBounds` of the path.
@@ -3827,12 +3779,12 @@ var it = mt.extend({
3827
3779
  return e;
3828
3780
  },
3829
3781
  _project: function() {
3830
- var t = new z();
3782
+ var t = new S();
3831
3783
  this._rings = [], this._projectLatlngs(this._latlngs, this._rings, t), this._bounds.isValid() && t.isValid() && (this._rawPxBounds = t, this._updateBounds());
3832
3784
  },
3833
3785
  _updateBounds: function() {
3834
3786
  var t = this._clickTolerance(), e = new m(t, t);
3835
- this._rawPxBounds && (this._pxBounds = new z([
3787
+ this._rawPxBounds && (this._pxBounds = new S([
3836
3788
  this._rawPxBounds.min.subtract(e),
3837
3789
  this._rawPxBounds.max.add(e)
3838
3790
  ]));
@@ -3859,13 +3811,13 @@ var it = mt.extend({
3859
3811
  var e = this._parts, i, n, o, s, r, a, h;
3860
3812
  for (i = 0, o = 0, s = this._rings.length; i < s; i++)
3861
3813
  for (h = this._rings[i], n = 0, r = h.length; n < r - 1; n++)
3862
- a = Fi(h[n], h[n + 1], t, n, !0), a && (e[o] = e[o] || [], e[o].push(a[0]), (a[1] !== h[n + 1] || n === r - 2) && (e[o].push(a[1]), o++));
3814
+ a = Hn(h[n], h[n + 1], t, n, !0), a && (e[o] = e[o] || [], e[o].push(a[0]), (a[1] !== h[n + 1] || n === r - 2) && (e[o].push(a[1]), o++));
3863
3815
  }
3864
3816
  },
3865
3817
  // simplify each clipped part of the polyline for performance
3866
3818
  _simplifyPoints: function() {
3867
3819
  for (var t = this._parts, e = this.options.smoothFactor, i = 0, n = t.length; i < n; i++)
3868
- t[i] = Di(t[i], e);
3820
+ t[i] = Bn(t[i], e);
3869
3821
  },
3870
3822
  _update: function() {
3871
3823
  this._map && (this._clipPoints(), this._simplifyPoints(), this._updatePath());
@@ -3880,16 +3832,13 @@ var it = mt.extend({
3880
3832
  return !1;
3881
3833
  for (i = 0, s = this._parts.length; i < s; i++)
3882
3834
  for (a = this._parts[i], n = 0, r = a.length, o = r - 1; n < r; o = n++)
3883
- if (!(!e && n === 0) && Hi(t, a[o], a[n]) <= h)
3835
+ if (!(!e && n === 0) && Nn(t, a[o], a[n]) <= h)
3884
3836
  return !0;
3885
3837
  return !1;
3886
3838
  }
3887
3839
  });
3888
- function So(t, e) {
3889
- return new it(t, e);
3890
- }
3891
- it._flat = Wi;
3892
- var Zt = it.extend({
3840
+ rt._flat = Wn;
3841
+ var Ft = rt.extend({
3893
3842
  options: {
3894
3843
  fill: !0
3895
3844
  },
@@ -3901,27 +3850,27 @@ var Zt = it.extend({
3901
3850
  getCenter: function() {
3902
3851
  if (!this._map)
3903
3852
  throw new Error("Must add layer to map before using getCenter()");
3904
- return Ri(this._defaultShape(), this._map.options.crs);
3853
+ return An(this._defaultShape(), this._map.options.crs);
3905
3854
  },
3906
3855
  _convertLatLngs: function(t) {
3907
- var e = it.prototype._convertLatLngs.call(this, t), i = e.length;
3856
+ var e = rt.prototype._convertLatLngs.call(this, t), i = e.length;
3908
3857
  return i >= 2 && e[0] instanceof P && e[0].equals(e[i - 1]) && e.pop(), e;
3909
3858
  },
3910
3859
  _setLatLngs: function(t) {
3911
- it.prototype._setLatLngs.call(this, t), G(this._latlngs) && (this._latlngs = [this._latlngs]);
3860
+ rt.prototype._setLatLngs.call(this, t), G(this._latlngs) && (this._latlngs = [this._latlngs]);
3912
3861
  },
3913
3862
  _defaultShape: function() {
3914
3863
  return G(this._latlngs[0]) ? this._latlngs[0] : this._latlngs[0][0];
3915
3864
  },
3916
3865
  _clipPoints: function() {
3917
3866
  var t = this._renderer._bounds, e = this.options.weight, i = new m(e, e);
3918
- if (t = new z(t.min.subtract(i), t.max.add(i)), this._parts = [], !(!this._pxBounds || !this._pxBounds.intersects(t))) {
3867
+ if (t = new S(t.min.subtract(i), t.max.add(i)), this._parts = [], !(!this._pxBounds || !this._pxBounds.intersects(t))) {
3919
3868
  if (this.options.noClip) {
3920
3869
  this._parts = this._rings;
3921
3870
  return;
3922
3871
  }
3923
3872
  for (var n = 0, o = this._rings.length, s; n < o; n++)
3924
- s = Ni(this._rings[n], t, !0), s.length && this._parts.push(s);
3873
+ s = In(this._rings[n], t, !0), s.length && this._parts.push(s);
3925
3874
  }
3926
3875
  },
3927
3876
  _updatePath: function() {
@@ -3935,13 +3884,9 @@ var Zt = it.extend({
3935
3884
  for (s = 0, h = this._parts.length; s < h; s++)
3936
3885
  for (i = this._parts[s], r = 0, u = i.length, a = u - 1; r < u; a = r++)
3937
3886
  n = i[r], o = i[a], n.y > t.y != o.y > t.y && t.x < (o.x - n.x) * (t.y - n.y) / (o.y - n.y) + n.x && (e = !e);
3938
- return e || it.prototype._containsPoint.call(this, t, !0);
3887
+ return e || rt.prototype._containsPoint.call(this, t, !0);
3939
3888
  }
3940
- });
3941
- function zo(t, e) {
3942
- return new Zt(t, e);
3943
- }
3944
- var at = nt.extend({
3889
+ }), _t = ut.extend({
3945
3890
  /* @section
3946
3891
  * @aka GeoJSON options
3947
3892
  *
@@ -3992,7 +3937,7 @@ var at = nt.extend({
3992
3937
  * Whether default Markers for "Point" type Features inherit from group options.
3993
3938
  */
3994
3939
  initialize: function(t, e) {
3995
- S(this, e), this._layers = {}, t && this.addData(t);
3940
+ z(this, e), this._layers = {}, t && this.addData(t);
3996
3941
  },
3997
3942
  // @method addData( <GeoJSON> data ): this
3998
3943
  // Adds a GeoJSON object to the layer.
@@ -4006,8 +3951,8 @@ var at = nt.extend({
4006
3951
  var s = this.options;
4007
3952
  if (s.filter && !s.filter(t))
4008
3953
  return this;
4009
- var r = Gt(t, s);
4010
- return r ? (r.feature = ee(t), r.defaultOptions = r.options, this.resetStyle(r), s.onEachFeature && s.onEachFeature(t, r), this.addLayer(r)) : this;
3954
+ var r = Wt(t, s);
3955
+ return r ? (r.feature = Xt(t), r.defaultOptions = r.options, this.resetStyle(r), s.onEachFeature && s.onEachFeature(t, r), this.addLayer(r)) : this;
4011
3956
  },
4012
3957
  // @method resetStyle( <Path> layer? ): this
4013
3958
  // Resets the given vector layer's style to the original GeoJSON style, useful for resetting style after hover events.
@@ -4026,102 +3971,102 @@ var at = nt.extend({
4026
3971
  t.setStyle && (typeof e == "function" && (e = e(t.feature)), t.setStyle(e));
4027
3972
  }
4028
3973
  });
4029
- function Gt(t, e) {
4030
- var i = t.type === "Feature" ? t.geometry : t, n = i ? i.coordinates : null, o = [], s = e && e.pointToLayer, r = e && e.coordsToLatLng || Re, a, h, u, l;
3974
+ function Wt(t, e) {
3975
+ var i = t.type === "Feature" ? t.geometry : t, n = i ? i.coordinates : null, o = [], s = e && e.pointToLayer, r = e && e.coordsToLatLng || Se, a, h, u, l;
4031
3976
  if (!n && !i)
4032
3977
  return null;
4033
3978
  switch (i.type) {
4034
3979
  case "Point":
4035
- return a = r(n), ni(s, t, a, e);
3980
+ return a = r(n), Ye(s, t, a, e);
4036
3981
  case "MultiPoint":
4037
3982
  for (u = 0, l = n.length; u < l; u++)
4038
- a = r(n[u]), o.push(ni(s, t, a, e));
4039
- return new nt(o);
3983
+ a = r(n[u]), o.push(Ye(s, t, a, e));
3984
+ return new ut(o);
4040
3985
  case "LineString":
4041
3986
  case "MultiLineString":
4042
- return h = jt(n, i.type === "LineString" ? 0 : 1, r), new it(h, e);
3987
+ return h = Ut(n, i.type === "LineString" ? 0 : 1, r), new rt(h, e);
4043
3988
  case "Polygon":
4044
3989
  case "MultiPolygon":
4045
- return h = jt(n, i.type === "Polygon" ? 1 : 2, r), new Zt(h, e);
3990
+ return h = Ut(n, i.type === "Polygon" ? 1 : 2, r), new Ft(h, e);
4046
3991
  case "GeometryCollection":
4047
3992
  for (u = 0, l = i.geometries.length; u < l; u++) {
4048
- var f = Gt({
3993
+ var f = Wt({
4049
3994
  geometry: i.geometries[u],
4050
3995
  type: "Feature",
4051
3996
  properties: t.properties
4052
3997
  }, e);
4053
3998
  f && o.push(f);
4054
3999
  }
4055
- return new nt(o);
4000
+ return new ut(o);
4056
4001
  case "FeatureCollection":
4057
4002
  for (u = 0, l = i.features.length; u < l; u++) {
4058
- var v = Gt(i.features[u], e);
4003
+ var v = Wt(i.features[u], e);
4059
4004
  v && o.push(v);
4060
4005
  }
4061
- return new nt(o);
4006
+ return new ut(o);
4062
4007
  default:
4063
4008
  throw new Error("Invalid GeoJSON object.");
4064
4009
  }
4065
4010
  }
4066
- function ni(t, e, i, n) {
4067
- return t ? t(e, i) : new Be(i, n && n.markersInheritOptions && n);
4011
+ function Ye(t, e, i, n) {
4012
+ return t ? t(e, i) : new ze(i, n && n.markersInheritOptions && n);
4068
4013
  }
4069
- function Re(t) {
4014
+ function Se(t) {
4070
4015
  return new P(t[1], t[0], t[2]);
4071
4016
  }
4072
- function jt(t, e, i) {
4017
+ function Ut(t, e, i) {
4073
4018
  for (var n = [], o = 0, s = t.length, r; o < s; o++)
4074
- r = e ? jt(t[o], e - 1, i) : (i || Re)(t[o]), n.push(r);
4019
+ r = e ? Ut(t[o], e - 1, i) : (i || Se)(t[o]), n.push(r);
4075
4020
  return n;
4076
4021
  }
4077
- function De(t, e) {
4022
+ function Ee(t, e) {
4078
4023
  return t = g(t), t.alt !== void 0 ? [K(t.lng, e), K(t.lat, e), K(t.alt, e)] : [K(t.lng, e), K(t.lat, e)];
4079
4024
  }
4080
- function te(t, e, i, n) {
4025
+ function Yt(t, e, i, n) {
4081
4026
  for (var o = [], s = 0, r = t.length; s < r; s++)
4082
- o.push(e ? te(t[s], G(t[s]) ? 0 : e - 1, i, n) : De(t[s], n));
4027
+ o.push(e ? Yt(t[s], G(t[s]) ? 0 : e - 1, i, n) : Ee(t[s], n));
4083
4028
  return !e && i && o.length > 0 && o.push(o[0].slice()), o;
4084
4029
  }
4085
4030
  function gt(t, e) {
4086
- return t.feature ? T({}, t.feature, { geometry: e }) : ee(e);
4031
+ return t.feature ? T({}, t.feature, { geometry: e }) : Xt(e);
4087
4032
  }
4088
- function ee(t) {
4033
+ function Xt(t) {
4089
4034
  return t.type === "Feature" || t.type === "FeatureCollection" ? t : {
4090
4035
  type: "Feature",
4091
4036
  properties: {},
4092
4037
  geometry: t
4093
4038
  };
4094
4039
  }
4095
- var He = {
4040
+ var Ze = {
4096
4041
  toGeoJSON: function(t) {
4097
4042
  return gt(this, {
4098
4043
  type: "Point",
4099
- coordinates: De(this.getLatLng(), t)
4044
+ coordinates: Ee(this.getLatLng(), t)
4100
4045
  });
4101
4046
  }
4102
4047
  };
4103
- Be.include(He);
4104
- Vi.include(He);
4105
- Ne.include(He);
4106
- it.include({
4048
+ ze.include(Ze);
4049
+ Gn.include(Ze);
4050
+ zi.include(Ze);
4051
+ rt.include({
4107
4052
  toGeoJSON: function(t) {
4108
- var e = !G(this._latlngs), i = te(this._latlngs, e ? 1 : 0, !1, t);
4053
+ var e = !G(this._latlngs), i = Yt(this._latlngs, e ? 1 : 0, !1, t);
4109
4054
  return gt(this, {
4110
4055
  type: (e ? "Multi" : "") + "LineString",
4111
4056
  coordinates: i
4112
4057
  });
4113
4058
  }
4114
4059
  });
4115
- Zt.include({
4060
+ Ft.include({
4116
4061
  toGeoJSON: function(t) {
4117
- var e = !G(this._latlngs), i = e && !G(this._latlngs[0]), n = te(this._latlngs, i ? 2 : e ? 1 : 0, !0, t);
4062
+ var e = !G(this._latlngs), i = e && !G(this._latlngs[0]), n = Yt(this._latlngs, i ? 2 : e ? 1 : 0, !0, t);
4118
4063
  return e || (n = [n]), gt(this, {
4119
4064
  type: (i ? "Multi" : "") + "Polygon",
4120
4065
  coordinates: n
4121
4066
  });
4122
4067
  }
4123
4068
  });
4124
- Tt.include({
4069
+ Bt.include({
4125
4070
  toMultiPoint: function(t) {
4126
4071
  var e = [];
4127
4072
  return this.eachLayer(function(i) {
@@ -4145,7 +4090,7 @@ Tt.include({
4145
4090
  if (i)
4146
4091
  n.push(s.geometry);
4147
4092
  else {
4148
- var r = ee(s);
4093
+ var r = Xt(s);
4149
4094
  r.type === "FeatureCollection" ? n.push.apply(n, r.features) : n.push(r);
4150
4095
  }
4151
4096
  }
@@ -4158,10 +4103,7 @@ Tt.include({
4158
4103
  };
4159
4104
  }
4160
4105
  });
4161
- function to(t, e) {
4162
- return new at(t, e);
4163
- }
4164
- var ko = to, Fe = $.extend({
4106
+ var Si = $.extend({
4165
4107
  // @section
4166
4108
  // @aka ImageOverlay options
4167
4109
  options: {
@@ -4190,7 +4132,7 @@ var ko = to, Fe = $.extend({
4190
4132
  className: ""
4191
4133
  },
4192
4134
  initialize: function(t, e, i) {
4193
- this._url = t, this._bounds = I(e), S(this, i);
4135
+ this._url = t, this._bounds = I(e), z(this, i);
4194
4136
  },
4195
4137
  onAdd: function() {
4196
4138
  this._image || (this._initImage(), this.options.opacity < 1 && this._updateOpacity()), this.options.interactive && (p(this._image, "leaflet-interactive"), this.addInteractiveTarget(this._image)), this.getPane().appendChild(this._image), this._reset();
@@ -4251,7 +4193,7 @@ var ko = to, Fe = $.extend({
4251
4193
  },
4252
4194
  _initImage: function() {
4253
4195
  var t = this._url.tagName === "IMG", e = this._image = t ? this._url : x("img");
4254
- if (p(e, "leaflet-image-layer"), this._zoomAnimated && p(e, "leaflet-zoom-animated"), this.options.className && p(e, this.options.className), e.onselectstart = k, e.onmousemove = k, e.onload = M(this.fire, this, "load"), e.onerror = M(this._overlayOnError, this, "error"), (this.options.crossOrigin || this.options.crossOrigin === "") && (e.crossOrigin = this.options.crossOrigin === !0 ? "" : this.options.crossOrigin), this.options.zIndex && this._updateZIndex(), t) {
4196
+ if (p(e, "leaflet-image-layer"), this._zoomAnimated && p(e, "leaflet-zoom-animated"), this.options.className && p(e, this.options.className), e.onselectstart = E, e.onmousemove = E, e.onload = M(this.fire, this, "load"), e.onerror = M(this._overlayOnError, this, "error"), (this.options.crossOrigin || this.options.crossOrigin === "") && (e.crossOrigin = this.options.crossOrigin === !0 ? "" : this.options.crossOrigin), this.options.zIndex && this._updateZIndex(), t) {
4255
4197
  this._url = e.src;
4256
4198
  return;
4257
4199
  }
@@ -4259,17 +4201,17 @@ var ko = to, Fe = $.extend({
4259
4201
  },
4260
4202
  _animateZoom: function(t) {
4261
4203
  var e = this._map.getZoomScale(t.zoom), i = this._map._latLngBoundsToNewLayerBounds(this._bounds, t.zoom, t.center).min;
4262
- ft(this._image, i, e);
4204
+ lt(this._image, i, e);
4263
4205
  },
4264
4206
  _reset: function() {
4265
- var t = this._image, e = new z(
4207
+ var t = this._image, e = new S(
4266
4208
  this._map.latLngToLayerPoint(this._bounds.getNorthWest()),
4267
4209
  this._map.latLngToLayerPoint(this._bounds.getSouthEast())
4268
4210
  ), i = e.getSize();
4269
4211
  O(t, e.min), t.style.width = i.x + "px", t.style.height = i.y + "px";
4270
4212
  },
4271
4213
  _updateOpacity: function() {
4272
- q(this._image, this.options.opacity);
4214
+ U(this._image, this.options.opacity);
4273
4215
  },
4274
4216
  _updateZIndex: function() {
4275
4217
  this._image && this.options.zIndex !== void 0 && this.options.zIndex !== null && (this._image.style.zIndex = this.options.zIndex);
@@ -4284,9 +4226,8 @@ var ko = to, Fe = $.extend({
4284
4226
  getCenter: function() {
4285
4227
  return this._bounds.getCenter();
4286
4228
  }
4287
- }), Eo = function(t, e, i) {
4288
- return new Fe(t, e, i);
4289
- }, eo = Fe.extend({
4229
+ });
4230
+ Si.extend({
4290
4231
  // @section
4291
4232
  // @aka VideoOverlay options
4292
4233
  options: {
@@ -4310,7 +4251,7 @@ var ko = to, Fe = $.extend({
4310
4251
  },
4311
4252
  _initImage: function() {
4312
4253
  var t = this._url.tagName === "VIDEO", e = this._image = t ? this._url : x("video");
4313
- if (p(e, "leaflet-image-layer"), this._zoomAnimated && p(e, "leaflet-zoom-animated"), this.options.className && p(e, this.options.className), e.onselectstart = k, e.onmousemove = k, e.onloadeddata = M(this.fire, this, "load"), t) {
4254
+ if (p(e, "leaflet-image-layer"), this._zoomAnimated && p(e, "leaflet-zoom-animated"), this.options.className && p(e, this.options.className), e.onselectstart = E, e.onmousemove = E, e.onloadeddata = M(this.fire, this, "load"), t) {
4314
4255
  for (var i = e.getElementsByTagName("source"), n = [], o = 0; o < i.length; o++)
4315
4256
  n.push(i[o].src);
4316
4257
  this._url = i.length > 0 ? n : [e.src];
@@ -4326,21 +4267,15 @@ var ko = to, Fe = $.extend({
4326
4267
  // Returns the instance of [`HTMLVideoElement`](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement)
4327
4268
  // used by this overlay.
4328
4269
  });
4329
- function Zo(t, e, i) {
4330
- return new eo(t, e, i);
4331
- }
4332
- var io = Fe.extend({
4270
+ Si.extend({
4333
4271
  _initImage: function() {
4334
4272
  var t = this._image = this._url;
4335
- p(t, "leaflet-image-layer"), this._zoomAnimated && p(t, "leaflet-zoom-animated"), this.options.className && p(t, this.options.className), t.onselectstart = k, t.onmousemove = k;
4273
+ p(t, "leaflet-image-layer"), this._zoomAnimated && p(t, "leaflet-zoom-animated"), this.options.className && p(t, this.options.className), t.onselectstart = E, t.onmousemove = E;
4336
4274
  }
4337
4275
  // @method getElement(): SVGElement
4338
4276
  // Returns the instance of [`SVGElement`](https://developer.mozilla.org/docs/Web/API/SVGElement)
4339
4277
  // used by this overlay.
4340
4278
  });
4341
- function Oo(t, e, i) {
4342
- return new io(t, e, i);
4343
- }
4344
4279
  var Q = $.extend({
4345
4280
  // @section
4346
4281
  // @aka DivOverlay options
@@ -4363,7 +4298,7 @@ var Q = $.extend({
4363
4298
  content: ""
4364
4299
  },
4365
4300
  initialize: function(t, e) {
4366
- t && (t instanceof P || j(t)) ? (this._latlng = g(t), S(this, e)) : (S(this, t), this._source = e), this.options.content && (this._content = this.options.content);
4301
+ t && (t instanceof P || j(t)) ? (this._latlng = g(t), z(this, e)) : (z(this, t), this._source = e), this.options.content && (this._content = this.options.content);
4367
4302
  },
4368
4303
  // @method openOn(map: Map): this
4369
4304
  // Adds the overlay to the map.
@@ -4386,10 +4321,10 @@ var Q = $.extend({
4386
4321
  return this._map ? this.close() : (arguments.length ? this._source = t : t = this._source, this._prepareOpen(), this.openOn(t._map)), this;
4387
4322
  },
4388
4323
  onAdd: function(t) {
4389
- this._zoomAnimated = t._zoomAnimated, this._container || this._initLayout(), t._fadeAnimated && q(this._container, 0), clearTimeout(this._removeTimeout), this.getPane().appendChild(this._container), this.update(), t._fadeAnimated && q(this._container, 1), this.bringToFront(), this.options.interactive && (p(this._container, "leaflet-interactive"), this.addInteractiveTarget(this._container));
4324
+ this._zoomAnimated = t._zoomAnimated, this._container || this._initLayout(), t._fadeAnimated && U(this._container, 0), clearTimeout(this._removeTimeout), this.getPane().appendChild(this._container), this.update(), t._fadeAnimated && U(this._container, 1), this.bringToFront(), this.options.interactive && (p(this._container, "leaflet-interactive"), this.addInteractiveTarget(this._container));
4390
4325
  },
4391
4326
  onRemove: function(t) {
4392
- t._fadeAnimated ? (q(this._container, 0), this._removeTimeout = setTimeout(M(C, void 0, this._container), 200)) : C(this._container), this.options.interactive && (E(this._container, "leaflet-interactive"), this.removeInteractiveTarget(this._container));
4327
+ t._fadeAnimated ? (U(this._container, 0), this._removeTimeout = setTimeout(M(C, void 0, this._container), 200)) : C(this._container), this.options.interactive && (Z(this._container, "leaflet-interactive"), this.removeInteractiveTarget(this._container));
4393
4328
  },
4394
4329
  // @namespace DivOverlay
4395
4330
  // @method getLatLng: LatLng
@@ -4450,7 +4385,7 @@ var Q = $.extend({
4450
4385
  var e = this._source;
4451
4386
  if (!e._map)
4452
4387
  return !1;
4453
- if (e instanceof nt) {
4388
+ if (e instanceof ut) {
4454
4389
  e = null;
4455
4390
  var i = this._source._layers;
4456
4391
  for (var n in i)
@@ -4507,10 +4442,10 @@ y.include({
4507
4442
  $.include({
4508
4443
  _initOverlay: function(t, e, i, n) {
4509
4444
  var o = i;
4510
- return o instanceof t ? (S(o, n), o._source = this) : (o = e && !n ? e : new t(n, this), o.setContent(i)), o;
4445
+ return o instanceof t ? (z(o, n), o._source = this) : (o = e && !n ? e : new t(n, this), o.setContent(i)), o;
4511
4446
  }
4512
4447
  });
4513
- var We = Q.extend({
4448
+ var ke = Q.extend({
4514
4449
  // @section
4515
4450
  // @aka Popup options
4516
4451
  options: {
@@ -4577,10 +4512,10 @@ var We = Q.extend({
4577
4512
  return t = arguments.length ? t : this._source._map, !t.hasLayer(this) && t._popup && t._popup.options.autoClose && t.removeLayer(t._popup), t._popup = this, Q.prototype.openOn.call(this, t);
4578
4513
  },
4579
4514
  onAdd: function(t) {
4580
- Q.prototype.onAdd.call(this, t), t.fire("popupopen", { popup: this }), this._source && (this._source.fire("popupopen", { popup: this }, !0), this._source instanceof mt || this._source.on("preclick", lt));
4515
+ Q.prototype.onAdd.call(this, t), t.fire("popupopen", { popup: this }), this._source && (this._source.fire("popupopen", { popup: this }, !0), this._source instanceof dt || this._source.on("preclick", ht));
4581
4516
  },
4582
4517
  onRemove: function(t) {
4583
- Q.prototype.onRemove.call(this, t), t.fire("popupclose", { popup: this }), this._source && (this._source.fire("popupclose", { popup: this }, !0), this._source instanceof mt || this._source.off("preclick", lt));
4518
+ Q.prototype.onRemove.call(this, t), t.fire("popupclose", { popup: this }), this._source && (this._source.fire("popupclose", { popup: this }, !0), this._source instanceof dt || this._source.off("preclick", ht));
4584
4519
  },
4585
4520
  getEvents: function() {
4586
4521
  var t = Q.prototype.getEvents.call(this);
@@ -4591,7 +4526,7 @@ var We = Q.extend({
4591
4526
  "div",
4592
4527
  t + " " + (this.options.className || "") + " leaflet-zoom-animated"
4593
4528
  ), i = this._wrapper = x("div", t + "-content-wrapper", e);
4594
- if (this._contentNode = x("div", t + "-content", i), It(e), ke(this._contentNode), _(e, "contextmenu", lt), this._tipContainer = x("div", t + "-tip-container", e), this._tip = x("div", t + "-tip", this._tipContainer), this.options.closeButton) {
4529
+ if (this._contentNode = x("div", t + "-content", i), Zt(e), Le(this._contentNode), _(e, "contextmenu", ht), this._tipContainer = x("div", t + "-tip-container", e), this._tip = x("div", t + "-tip", this._tipContainer), this.options.closeButton) {
4595
4530
  var n = this._closeButton = x("a", t + "-close-button", e);
4596
4531
  n.setAttribute("role", "button"), n.setAttribute("aria-label", "Close popup"), n.href = "#close", n.innerHTML = '<span aria-hidden="true">&#215;</span>', _(n, "click", function(o) {
4597
4532
  B(o), this.close();
@@ -4604,7 +4539,7 @@ var We = Q.extend({
4604
4539
  var i = t.offsetWidth;
4605
4540
  i = Math.min(i, this.options.maxWidth), i = Math.max(i, this.options.minWidth), e.width = i + 1 + "px", e.whiteSpace = "", e.height = "";
4606
4541
  var n = t.offsetHeight, o = this.options.maxHeight, s = "leaflet-popup-scrolled";
4607
- o && n > o ? (e.height = o + "px", p(t, s)) : E(t, s), this._containerWidth = this._container.offsetWidth;
4542
+ o && n > o ? (e.height = o + "px", p(t, s)) : Z(t, s), this._containerWidth = this._container.offsetWidth;
4608
4543
  },
4609
4544
  _animateZoom: function(t) {
4610
4545
  var e = this._map._latLngToNewLayerPoint(this._latlng, t.zoom, t.center), i = this._getAnchor();
@@ -4616,8 +4551,8 @@ var We = Q.extend({
4616
4551
  this._autopanning = !1;
4617
4552
  return;
4618
4553
  }
4619
- var t = this._map, e = parseInt(St(this._container, "marginBottom"), 10) || 0, i = this._container.offsetHeight + e, n = this._containerWidth, o = new m(this._containerLeft, -i - this._containerBottom);
4620
- o._add(dt(this._container));
4554
+ var t = this._map, e = parseInt(Ct(this._container, "marginBottom"), 10) || 0, i = this._container.offsetHeight + e, n = this._containerWidth, o = new m(this._containerLeft, -i - this._containerBottom);
4555
+ o._add(ct(this._container));
4621
4556
  var s = t.layerPointToContainerPoint(o), r = d(this.options.autoPanPadding), a = d(this.options.autoPanPaddingTopLeft || r), h = d(this.options.autoPanPaddingBottomRight || r), u = t.getSize(), l = 0, f = 0;
4622
4557
  s.x + n + h.x > u.x && (l = s.x + n - u.x + h.x), s.x - l - a.x < 0 && (l = s.x - a.x), s.y + i + h.y > u.y && (f = s.y + i - u.y + h.y), s.y - f - a.y < 0 && (f = s.y - a.y), (l || f) && (this.options.keepInView && (this._autopanning = !0), t.fire("autopanstart").panBy([l, f]));
4623
4558
  }
@@ -4625,8 +4560,8 @@ var We = Q.extend({
4625
4560
  _getAnchor: function() {
4626
4561
  return d(this._source && this._source._getPopupAnchor ? this._source._getPopupAnchor() : [0, 0]);
4627
4562
  }
4628
- }), Io = function(t, e) {
4629
- return new We(t, e);
4563
+ }), ao = function(t, e) {
4564
+ return new ke(t, e);
4630
4565
  };
4631
4566
  y.mergeOptions({
4632
4567
  closePopupOnClick: !0
@@ -4638,7 +4573,7 @@ y.include({
4638
4573
  // @method openPopup(content: String|HTMLElement, latlng: LatLng, options?: Popup options): this
4639
4574
  // Creates a popup with the specified content and options and opens it in the given point on a map.
4640
4575
  openPopup: function(t, e, i) {
4641
- return this._initOverlay(We, t, e, i).openOn(this), this;
4576
+ return this._initOverlay(ke, t, e, i).openOn(this), this;
4642
4577
  },
4643
4578
  // @method closePopup(popup?: Popup): this
4644
4579
  // Closes the popup previously opened with [openPopup](#map-openpopup) (or the given one).
@@ -4652,7 +4587,7 @@ $.include({
4652
4587
  // necessary event listeners. If a `Function` is passed it will receive
4653
4588
  // the layer as the first argument and should return a `String` or `HTMLElement`.
4654
4589
  bindPopup: function(t, e) {
4655
- return this._popup = this._initOverlay(We, this._popup, t, e), this._popupHandlersAdded || (this.on({
4590
+ return this._popup = this._initOverlay(ke, this._popup, t, e), this._popupHandlersAdded || (this.on({
4656
4591
  click: this._openPopup,
4657
4592
  keypress: this._onKeyPress,
4658
4593
  remove: this.closePopup,
@@ -4672,7 +4607,7 @@ $.include({
4672
4607
  // @method openPopup(latlng?: LatLng): this
4673
4608
  // Opens the bound popup at the specified `latlng` or at the default popup anchor if no `latlng` is passed.
4674
4609
  openPopup: function(t) {
4675
- return this._popup && (this instanceof nt || (this._popup._source = this), this._popup._prepareOpen(t || this._latlng) && this._popup.openOn(this._map)), this;
4610
+ return this._popup && (this instanceof ut || (this._popup._source = this), this._popup._prepareOpen(t || this._latlng) && this._popup.openOn(this._map)), this;
4676
4611
  },
4677
4612
  // @method closePopup(): this
4678
4613
  // Closes the popup bound to this layer if it is open.
@@ -4701,9 +4636,9 @@ $.include({
4701
4636
  },
4702
4637
  _openPopup: function(t) {
4703
4638
  if (!(!this._popup || !this._map)) {
4704
- _t(t);
4639
+ ft(t);
4705
4640
  var e = t.layer || t.target;
4706
- if (this._popup._source === e && !(e instanceof mt)) {
4641
+ if (this._popup._source === e && !(e instanceof dt)) {
4707
4642
  this._map.hasLayer(this._popup) ? this.closePopup() : this.openPopup(t.latlng);
4708
4643
  return;
4709
4644
  }
@@ -4717,7 +4652,7 @@ $.include({
4717
4652
  t.originalEvent.keyCode === 13 && this._openPopup(t);
4718
4653
  }
4719
4654
  });
4720
- var Ue = Q.extend({
4655
+ var Oe = Q.extend({
4721
4656
  // @section
4722
4657
  // @aka Tooltip options
4723
4658
  options: {
@@ -4763,14 +4698,14 @@ var Ue = Q.extend({
4763
4698
  },
4764
4699
  _setPosition: function(t) {
4765
4700
  var e, i, n = this._map, o = this._container, s = n.latLngToContainerPoint(n.getCenter()), r = n.layerPointToContainerPoint(t), a = this.options.direction, h = o.offsetWidth, u = o.offsetHeight, l = d(this.options.offset), f = this._getAnchor();
4766
- a === "top" ? (e = h / 2, i = u) : a === "bottom" ? (e = h / 2, i = 0) : a === "center" ? (e = h / 2, i = u / 2) : a === "right" ? (e = 0, i = u / 2) : a === "left" ? (e = h, i = u / 2) : r.x < s.x ? (a = "right", e = 0, i = u / 2) : (a = "left", e = h + (l.x + f.x) * 2, i = u / 2), t = t.subtract(d(e, i, !0)).add(l).add(f), E(o, "leaflet-tooltip-right"), E(o, "leaflet-tooltip-left"), E(o, "leaflet-tooltip-top"), E(o, "leaflet-tooltip-bottom"), p(o, "leaflet-tooltip-" + a), O(o, t);
4701
+ a === "top" ? (e = h / 2, i = u) : a === "bottom" ? (e = h / 2, i = 0) : a === "center" ? (e = h / 2, i = u / 2) : a === "right" ? (e = 0, i = u / 2) : a === "left" ? (e = h, i = u / 2) : r.x < s.x ? (a = "right", e = 0, i = u / 2) : (a = "left", e = h + (l.x + f.x) * 2, i = u / 2), t = t.subtract(d(e, i, !0)).add(l).add(f), Z(o, "leaflet-tooltip-right"), Z(o, "leaflet-tooltip-left"), Z(o, "leaflet-tooltip-top"), Z(o, "leaflet-tooltip-bottom"), p(o, "leaflet-tooltip-" + a), O(o, t);
4767
4702
  },
4768
4703
  _updatePosition: function() {
4769
4704
  var t = this._map.latLngToLayerPoint(this._latlng);
4770
4705
  this._setPosition(t);
4771
4706
  },
4772
4707
  setOpacity: function(t) {
4773
- this.options.opacity = t, this._container && q(this._container, t);
4708
+ this.options.opacity = t, this._container && U(this._container, t);
4774
4709
  },
4775
4710
  _animateZoom: function(t) {
4776
4711
  var e = this._map._latLngToNewLayerPoint(this._latlng, t.zoom, t.center);
@@ -4779,8 +4714,8 @@ var Ue = Q.extend({
4779
4714
  _getAnchor: function() {
4780
4715
  return d(this._source && this._source._getTooltipAnchor && !this.options.sticky ? this._source._getTooltipAnchor() : [0, 0]);
4781
4716
  }
4782
- }), Ao = function(t, e) {
4783
- return new Ue(t, e);
4717
+ }), ho = function(t, e) {
4718
+ return new Oe(t, e);
4784
4719
  };
4785
4720
  y.include({
4786
4721
  // @method openTooltip(tooltip: Tooltip): this
@@ -4789,7 +4724,7 @@ y.include({
4789
4724
  // @method openTooltip(content: String|HTMLElement, latlng: LatLng, options?: Tooltip options): this
4790
4725
  // Creates a tooltip with the specified content and options and open it.
4791
4726
  openTooltip: function(t, e, i) {
4792
- return this._initOverlay(Ue, t, e, i).openOn(this), this;
4727
+ return this._initOverlay(Oe, t, e, i).openOn(this), this;
4793
4728
  },
4794
4729
  // @method closeTooltip(tooltip: Tooltip): this
4795
4730
  // Closes the tooltip given as parameter.
@@ -4803,7 +4738,7 @@ $.include({
4803
4738
  // necessary event listeners. If a `Function` is passed it will receive
4804
4739
  // the layer as the first argument and should return a `String` or `HTMLElement`.
4805
4740
  bindTooltip: function(t, e) {
4806
- return this._tooltip && this.isTooltipOpen() && this.unbindTooltip(), this._tooltip = this._initOverlay(Ue, this._tooltip, t, e), this._initTooltipInteractions(), this._tooltip.options.permanent && this._map && this._map.hasLayer(this) && this.openTooltip(), this;
4741
+ return this._tooltip && this.isTooltipOpen() && this.unbindTooltip(), this._tooltip = this._initOverlay(Oe, this._tooltip, t, e), this._initTooltipInteractions(), this._tooltip.options.permanent && this._map && this._map.hasLayer(this) && this.openTooltip(), this;
4807
4742
  },
4808
4743
  // @method unbindTooltip(): this
4809
4744
  // Removes the tooltip previously bound with `bindTooltip`.
@@ -4822,7 +4757,7 @@ $.include({
4822
4757
  // @method openTooltip(latlng?: LatLng): this
4823
4758
  // Opens the bound tooltip at the specified `latlng` or at the default tooltip anchor if no `latlng` is passed.
4824
4759
  openTooltip: function(t) {
4825
- return this._tooltip && (this instanceof nt || (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;
4760
+ return this._tooltip && (this instanceof ut || (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;
4826
4761
  },
4827
4762
  // @method closeTooltip(): this
4828
4763
  // Closes the tooltip bound to this layer if it is open.
@@ -4881,7 +4816,7 @@ $.include({
4881
4816
  this._tooltip.options.sticky && t.originalEvent && (i = this._map.mouseEventToContainerPoint(t.originalEvent), n = this._map.containerPointToLayerPoint(i), e = this._map.layerPointToLatLng(n)), this._tooltip.setLatLng(e);
4882
4817
  }
4883
4818
  });
4884
- var no = Et.extend({
4819
+ var jn = Et.extend({
4885
4820
  options: {
4886
4821
  // @section
4887
4822
  // @aka DivIcon options
@@ -4900,7 +4835,7 @@ var no = Et.extend({
4900
4835
  },
4901
4836
  createIcon: function(t) {
4902
4837
  var e = t && t.tagName === "DIV" ? t : document.createElement("div"), i = this.options;
4903
- if (i.html instanceof Element ? (Ut(e), e.appendChild(i.html)) : e.innerHTML = i.html !== !1 ? i.html : "", i.bgPos) {
4838
+ if (i.html instanceof Element ? (Dt(e), e.appendChild(i.html)) : e.innerHTML = i.html !== !1 ? i.html : "", i.bgPos) {
4904
4839
  var n = d(i.bgPos);
4905
4840
  e.style.backgroundPosition = -n.x + "px " + -n.y + "px";
4906
4841
  }
@@ -4910,11 +4845,11 @@ var no = Et.extend({
4910
4845
  return null;
4911
4846
  }
4912
4847
  });
4913
- function Bo(t) {
4914
- return new no(t);
4848
+ function uo(t) {
4849
+ return new jn(t);
4915
4850
  }
4916
- Et.Default = bt;
4917
- var Ht = $.extend({
4851
+ Et.Default = Tt;
4852
+ var te = $.extend({
4918
4853
  // @section
4919
4854
  // @aka GridLayer options
4920
4855
  options: {
@@ -4976,7 +4911,7 @@ var Ht = $.extend({
4976
4911
  keepBuffer: 2
4977
4912
  },
4978
4913
  initialize: function(t) {
4979
- S(this, t);
4914
+ z(this, t);
4980
4915
  },
4981
4916
  onAdd: function() {
4982
4917
  this._initContainer(), this._levels = {}, this._tiles = {}, this._resetView();
@@ -5034,7 +4969,7 @@ var Ht = $.extend({
5034
4969
  zoom: this._resetView,
5035
4970
  moveend: this._onMoveEnd
5036
4971
  };
5037
- return this.options.updateWhenIdle || (this._onMove || (this._onMove = si(this._onMoveEnd, this.options.updateInterval, this)), t.move = this._onMove), this._zoomAnimated && (t.zoomanim = this._animateZoom), t;
4972
+ return this.options.updateWhenIdle || (this._onMove || (this._onMove = Je(this._onMoveEnd, this.options.updateInterval, this)), t.move = this._onMove), this._zoomAnimated && (t.zoomanim = this._animateZoom), t;
5038
4973
  },
5039
4974
  // @section Extension methods
5040
4975
  // Layers extending `GridLayer` shall reimplement the following method.
@@ -5062,19 +4997,19 @@ var Ht = $.extend({
5062
4997
  },
5063
4998
  _updateOpacity: function() {
5064
4999
  if (this._map && !c.ielt9) {
5065
- q(this._container, this.options.opacity);
5000
+ U(this._container, this.options.opacity);
5066
5001
  var t = +/* @__PURE__ */ new Date(), e = !1, i = !1;
5067
5002
  for (var n in this._tiles) {
5068
5003
  var o = this._tiles[n];
5069
5004
  if (!(!o.current || !o.loaded)) {
5070
5005
  var s = Math.min(1, (t - o.loaded) / 200);
5071
- q(o.el, s), s < 1 ? e = !0 : (o.active ? i = !0 : this._onOpaqueTile(o), o.active = !0);
5006
+ U(o.el, s), s < 1 ? e = !0 : (o.active ? i = !0 : this._onOpaqueTile(o), o.active = !0);
5072
5007
  }
5073
5008
  }
5074
- i && !this._noPrune && this._pruneTiles(), e && (V(this._fadeFrame), this._fadeFrame = D(this._updateOpacity, this));
5009
+ i && !this._noPrune && this._pruneTiles(), e && (q(this._fadeFrame), this._fadeFrame = D(this._updateOpacity, this));
5075
5010
  }
5076
5011
  },
5077
- _onOpaqueTile: k,
5012
+ _onOpaqueTile: E,
5078
5013
  _initContainer: function() {
5079
5014
  this._container || (this._container = x("div", "leaflet-layer " + (this.options.className || "")), this._updateZIndex(), this.options.opacity < 1 && this._updateOpacity(), this.getPane().appendChild(this._container));
5080
5015
  },
@@ -5084,12 +5019,12 @@ var Ht = $.extend({
5084
5019
  for (var i in this._levels)
5085
5020
  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)) : (C(this._levels[i].el), this._removeTilesAtZoom(i), this._onRemoveLevel(i), delete this._levels[i]);
5086
5021
  var n = this._levels[t], o = this._map;
5087
- return n || (n = this._levels[t] = {}, n.el = x("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()), k(n.el.offsetWidth), this._onCreateLevel(n)), this._level = n, n;
5022
+ return n || (n = this._levels[t] = {}, n.el = x("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()), E(n.el.offsetWidth), this._onCreateLevel(n)), this._level = n, n;
5088
5023
  }
5089
5024
  },
5090
- _onUpdateLevel: k,
5091
- _onRemoveLevel: k,
5092
- _onCreateLevel: k,
5025
+ _onUpdateLevel: E,
5026
+ _onRemoveLevel: E,
5027
+ _onCreateLevel: E,
5093
5028
  _pruneTiles: function() {
5094
5029
  if (this._map) {
5095
5030
  var t, e, i = this._map.getZoom();
@@ -5163,7 +5098,7 @@ var Ht = $.extend({
5163
5098
  },
5164
5099
  _setZoomTransform: function(t, e, i) {
5165
5100
  var n = this._map.getZoomScale(i, t.zoom), o = t.origin.multiplyBy(n).subtract(this._map._getNewPixelOrigin(e, i)).round();
5166
- c.any3d ? ft(t.el, o, n) : O(t.el, o);
5101
+ c.any3d ? lt(t.el, o, n) : O(t.el, o);
5167
5102
  },
5168
5103
  _resetGrid: function() {
5169
5104
  var t = this._map, e = t.options.crs, i = this._tileSize = this.getTileSize(), n = this._tileZoom, o = this._map.getPixelWorldBounds(this._tileZoom);
@@ -5180,7 +5115,7 @@ var Ht = $.extend({
5180
5115
  },
5181
5116
  _getTiledPixelBounds: function(t) {
5182
5117
  var e = this._map, i = e._animatingZoom ? Math.max(e._animateToZoom, e.getZoom()) : e.getZoom(), n = e.getZoomScale(i, this._tileZoom), o = e.project(t, this._tileZoom).floor(), s = e.getSize().divideBy(n * 2);
5183
- return new z(o.subtract(s), o.add(s));
5118
+ return new S(o.subtract(s), o.add(s));
5184
5119
  },
5185
5120
  // Private method to load tiles in the grid's active zoom level according to map bounds
5186
5121
  _update: function(t) {
@@ -5188,7 +5123,7 @@ var Ht = $.extend({
5188
5123
  if (e) {
5189
5124
  var i = this._clampZoom(e.getZoom());
5190
5125
  if (t === void 0 && (t = e.getCenter()), this._tileZoom !== void 0) {
5191
- var n = this._getTiledPixelBounds(t), o = this._pxBoundsToTileRange(n), s = o.getCenter(), r = [], a = this.options.keepBuffer, h = new z(
5126
+ var n = this._getTiledPixelBounds(t), o = this._pxBoundsToTileRange(n), s = o.getCenter(), r = [], a = this.options.keepBuffer, h = new S(
5192
5127
  o.getBottomLeft().subtract([a, -a]),
5193
5128
  o.getTopRight().add([a, -a])
5194
5129
  );
@@ -5210,14 +5145,14 @@ var Ht = $.extend({
5210
5145
  A ? A.current = !0 : r.push(N);
5211
5146
  }
5212
5147
  }
5213
- if (r.sort(function(R, pt) {
5214
- return R.distanceTo(s) - pt.distanceTo(s);
5148
+ if (r.sort(function(R, mt) {
5149
+ return R.distanceTo(s) - mt.distanceTo(s);
5215
5150
  }), r.length !== 0) {
5216
5151
  this._loading || (this._loading = !0, this.fire("loading"));
5217
- var U = document.createDocumentFragment();
5152
+ var W = document.createDocumentFragment();
5218
5153
  for (v = 0; v < r.length; v++)
5219
- this._addTile(r[v], U);
5220
- this._level.el.appendChild(U);
5154
+ this._addTile(r[v], W);
5155
+ this._level.el.appendChild(W);
5221
5156
  }
5222
5157
  }
5223
5158
  }
@@ -5265,7 +5200,7 @@ var Ht = $.extend({
5265
5200
  _initTile: function(t) {
5266
5201
  p(t, "leaflet-tile");
5267
5202
  var e = this.getTileSize();
5268
- t.style.width = e.x + "px", t.style.height = e.y + "px", t.onselectstart = k, t.onmousemove = k, c.ielt9 && this.options.opacity < 1 && q(t, this.options.opacity);
5203
+ t.style.width = e.x + "px", t.style.height = e.y + "px", t.onselectstart = E, t.onmousemove = E, c.ielt9 && this.options.opacity < 1 && U(t, this.options.opacity);
5269
5204
  },
5270
5205
  _addTile: function(t, e) {
5271
5206
  var i = this._getTilePos(t), n = this._tileCoordsToKey(t), o = this.createTile(this._wrapCoords(t), M(this._tileReady, this, t));
@@ -5285,7 +5220,7 @@ var Ht = $.extend({
5285
5220
  coords: t
5286
5221
  });
5287
5222
  var n = this._tileCoordsToKey(t);
5288
- i = this._tiles[n], i && (i.loaded = +/* @__PURE__ */ new Date(), this._map._fadeAnimated ? (q(i.el, 0), V(this._fadeFrame), this._fadeFrame = D(this._updateOpacity, this)) : (i.active = !0, this._pruneTiles()), e || (p(i.el, "leaflet-tile-loaded"), this.fire("tileload", {
5223
+ i = this._tiles[n], i && (i.loaded = +/* @__PURE__ */ new Date(), this._map._fadeAnimated ? (U(i.el, 0), q(this._fadeFrame), this._fadeFrame = D(this._updateOpacity, this)) : (i.active = !0, this._pruneTiles()), e || (p(i.el, "leaflet-tile-loaded"), this.fire("tileload", {
5289
5224
  tile: i.el,
5290
5225
  coords: t
5291
5226
  })), this._noTilesToLoad() && (this._loading = !1, this.fire("load"), c.ielt9 || !this._map._fadeAnimated ? D(this._pruneTiles, this) : setTimeout(M(this._pruneTiles, this), 250)));
@@ -5295,14 +5230,14 @@ var Ht = $.extend({
5295
5230
  },
5296
5231
  _wrapCoords: function(t) {
5297
5232
  var e = new m(
5298
- this._wrapX ? Ct(t.x, this._wrapX) : t.x,
5299
- this._wrapY ? Ct(t.y, this._wrapY) : t.y
5233
+ this._wrapX ? Mt(t.x, this._wrapX) : t.x,
5234
+ this._wrapY ? Mt(t.y, this._wrapY) : t.y
5300
5235
  );
5301
5236
  return e.z = t.z, e;
5302
5237
  },
5303
5238
  _pxBoundsToTileRange: function(t) {
5304
5239
  var e = this.getTileSize();
5305
- return new z(
5240
+ return new S(
5306
5241
  t.min.unscaleBy(e).floor(),
5307
5242
  t.max.unscaleBy(e).ceil().subtract([1, 1])
5308
5243
  );
@@ -5313,11 +5248,7 @@ var Ht = $.extend({
5313
5248
  return !1;
5314
5249
  return !0;
5315
5250
  }
5316
- });
5317
- function No(t) {
5318
- return new Ht(t);
5319
- }
5320
- var Mt = Ht.extend({
5251
+ }), bt = te.extend({
5321
5252
  // @section
5322
5253
  // @aka TileLayer options
5323
5254
  options: {
@@ -5359,7 +5290,7 @@ var Mt = Ht.extend({
5359
5290
  referrerPolicy: !1
5360
5291
  },
5361
5292
  initialize: function(t, e) {
5362
- this._url = t, e = S(this, e), e.detectRetina && c.retina && e.maxZoom > 0 ? (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), typeof e.subdomains == "string" && (e.subdomains = e.subdomains.split("")), this.on("tileunload", this._onTileRemove);
5293
+ this._url = t, e = z(this, e), e.detectRetina && c.retina && e.maxZoom > 0 ? (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), typeof e.subdomains == "string" && (e.subdomains = e.subdomains.split("")), this.on("tileunload", this._onTileRemove);
5363
5294
  },
5364
5295
  // @method setUrl(url: String, noRedraw?: Boolean): this
5365
5296
  // Updates the layer's URL template and redraws it (unless `noRedraw` is set to `true`).
@@ -5394,7 +5325,7 @@ var Mt = Ht.extend({
5394
5325
  var i = this._globalTileRange.max.y - t.y;
5395
5326
  this.options.tms && (e.y = i), e["-y"] = i;
5396
5327
  }
5397
- return ai(this._url, T(e, this.options));
5328
+ return Qe(this._url, T(e, this.options));
5398
5329
  },
5399
5330
  _tileOnLoad: function(t, e) {
5400
5331
  c.ielt9 ? setTimeout(M(t, this, null, e), 0) : t(null, e);
@@ -5418,8 +5349,8 @@ var Mt = Ht.extend({
5418
5349
  _abortLoading: function() {
5419
5350
  var t, e;
5420
5351
  for (t in this._tiles)
5421
- if (this._tiles[t].coords.z !== this._tileZoom && (e = this._tiles[t].el, e.onload = k, e.onerror = k, !e.complete)) {
5422
- e.src = Nt;
5352
+ if (this._tiles[t].coords.z !== this._tileZoom && (e = this._tiles[t].el, e.onload = E, e.onerror = E, !e.complete)) {
5353
+ e.src = Ot;
5423
5354
  var i = this._tiles[t].coords;
5424
5355
  C(e), delete this._tiles[t], this.fire("tileabort", {
5425
5356
  tile: e,
@@ -5430,17 +5361,17 @@ var Mt = Ht.extend({
5430
5361
  _removeTile: function(t) {
5431
5362
  var e = this._tiles[t];
5432
5363
  if (e)
5433
- return e.el.setAttribute("src", Nt), Ht.prototype._removeTile.call(this, t);
5364
+ return e.el.setAttribute("src", Ot), te.prototype._removeTile.call(this, t);
5434
5365
  },
5435
5366
  _tileReady: function(t, e, i) {
5436
- if (!(!this._map || i && i.getAttribute("src") === Nt))
5437
- return Ht.prototype._tileReady.call(this, t, e, i);
5367
+ if (!(!this._map || i && i.getAttribute("src") === Ot))
5368
+ return te.prototype._tileReady.call(this, t, e, i);
5438
5369
  }
5439
5370
  });
5440
- function oo(t, e) {
5441
- return new Mt(t, e);
5371
+ function Kn(t, e) {
5372
+ return new bt(t, e);
5442
5373
  }
5443
- var Gi = Mt.extend({
5374
+ var Ei = bt.extend({
5444
5375
  // @section
5445
5376
  // @aka TileLayer.WMS options
5446
5377
  // If any custom options not documented here are used, they will be sent to the
@@ -5479,18 +5410,18 @@ var Gi = Mt.extend({
5479
5410
  var i = T({}, this.defaultWmsParams);
5480
5411
  for (var n in e)
5481
5412
  n in this.options || (i[n] = e[n]);
5482
- e = S(this, e);
5413
+ e = z(this, e);
5483
5414
  var o = e.detectRetina && c.retina ? 2 : 1, s = this.getTileSize();
5484
5415
  i.width = s.x * o, i.height = s.y * o, this.wmsParams = i;
5485
5416
  },
5486
5417
  onAdd: function(t) {
5487
5418
  this._crs = this.options.crs || t.options.crs, this._wmsVersion = parseFloat(this.wmsParams.version);
5488
5419
  var e = this._wmsVersion >= 1.3 ? "crs" : "srs";
5489
- this.wmsParams[e] = this._crs.code, Mt.prototype.onAdd.call(this, t);
5420
+ this.wmsParams[e] = this._crs.code, bt.prototype.onAdd.call(this, t);
5490
5421
  },
5491
5422
  getTileUrl: function(t) {
5492
- var e = this._tileCoordsToNwSe(t), i = this._crs, n = H(i.project(e[0]), i.project(e[1])), o = n.min, s = n.max, r = (this._wmsVersion >= 1.3 && this._crs === qi ? [o.y, o.x, s.y, s.x] : [o.x, o.y, s.x, s.y]).join(","), a = Mt.prototype.getTileUrl.call(this, t);
5493
- return a + ri(this.wmsParams, a, this.options.uppercase) + (this.options.uppercase ? "&BBOX=" : "&bbox=") + r;
5423
+ var e = this._tileCoordsToNwSe(t), i = this._crs, n = H(i.project(e[0]), i.project(e[1])), o = n.min, s = n.max, r = (this._wmsVersion >= 1.3 && this._crs === Ci ? [o.y, o.x, s.y, s.x] : [o.x, o.y, s.x, s.y]).join(","), a = bt.prototype.getTileUrl.call(this, t);
5424
+ return a + $e(this.wmsParams, a, this.options.uppercase) + (this.options.uppercase ? "&BBOX=" : "&bbox=") + r;
5494
5425
  },
5495
5426
  // @method setParams(params: Object, noRedraw?: Boolean): this
5496
5427
  // Merges an object with the new parameters and re-requests tiles on the current screen (unless `noRedraw` was set to true).
@@ -5498,11 +5429,11 @@ var Gi = Mt.extend({
5498
5429
  return T(this.wmsParams, t), e || this.redraw(), this;
5499
5430
  }
5500
5431
  });
5501
- function so(t, e) {
5502
- return new Gi(t, e);
5432
+ function Yn(t, e) {
5433
+ return new Ei(t, e);
5503
5434
  }
5504
- Mt.WMS = Gi;
5505
- oo.wms = so;
5435
+ bt.WMS = Ei;
5436
+ Kn.wms = Yn;
5506
5437
  var et = $.extend({
5507
5438
  // @section
5508
5439
  // @aka Renderer options
@@ -5513,7 +5444,7 @@ var et = $.extend({
5513
5444
  padding: 0.1
5514
5445
  },
5515
5446
  initialize: function(t) {
5516
- S(this, t), w(this), this._layers = this._layers || {};
5447
+ z(this, t), w(this), this._layers = this._layers || {};
5517
5448
  },
5518
5449
  onAdd: function() {
5519
5450
  this._container || (this._initContainer(), p(this._container, "leaflet-zoom-animated")), this.getPane().appendChild(this._container), this._update(), this.on("update", this._updatePaths, this);
@@ -5538,7 +5469,7 @@ var et = $.extend({
5538
5469
  },
5539
5470
  _updateTransform: function(t, e) {
5540
5471
  var i = this._map.getZoomScale(e, this._zoom), n = this._map.getSize().multiplyBy(0.5 + this.options.padding), o = this._map.project(this._center, e), s = n.multiplyBy(-i).add(o).subtract(this._map._getNewPixelOrigin(t, e));
5541
- c.any3d ? ft(this._container, s, i) : O(this._container, s);
5472
+ c.any3d ? lt(this._container, s, i) : O(this._container, s);
5542
5473
  },
5543
5474
  _reset: function() {
5544
5475
  this._update(), this._updateTransform(this._center, this._zoom);
@@ -5555,9 +5486,9 @@ var et = $.extend({
5555
5486
  },
5556
5487
  _update: function() {
5557
5488
  var t = this.options.padding, e = this._map.getSize(), i = this._map.containerPointToLayerPoint(e.multiplyBy(-t)).round();
5558
- this._bounds = new z(i, i.add(e.multiplyBy(1 + t * 2)).round()), this._center = this._map.getCenter(), this._zoom = this._map.getZoom();
5489
+ this._bounds = new S(i, i.add(e.multiplyBy(1 + t * 2)).round()), this._center = this._map.getCenter(), this._zoom = this._map.getZoom();
5559
5490
  }
5560
- }), ro = et.extend({
5491
+ }), Xn = et.extend({
5561
5492
  // @section
5562
5493
  // @aka Canvas options
5563
5494
  options: {
@@ -5580,7 +5511,7 @@ var et = $.extend({
5580
5511
  _(t, "mousemove", this._onMouseMove, this), _(t, "click dblclick mousedown mouseup contextmenu", this._onClick, this), _(t, "mouseout", this._handleMouseOut, this), t._leaflet_disable_events = !0, this._ctx = t.getContext("2d");
5581
5512
  },
5582
5513
  _destroyContainer: function() {
5583
- V(this._redrawRequest), delete this._ctx, C(this._container), b(this._container), delete this._container;
5514
+ q(this._redrawRequest), delete this._ctx, C(this._container), b(this._container), delete this._container;
5584
5515
  },
5585
5516
  _updatePaths: function() {
5586
5517
  if (!this._postponeUpdatePaths) {
@@ -5641,7 +5572,7 @@ var et = $.extend({
5641
5572
  _extendRedrawBounds: function(t) {
5642
5573
  if (t._pxBounds) {
5643
5574
  var e = (t.options.weight || 0) + 1;
5644
- this._redrawBounds = this._redrawBounds || new z(), this._redrawBounds.extend(t._pxBounds.min.subtract([e, e])), this._redrawBounds.extend(t._pxBounds.max.add([e, e]));
5575
+ this._redrawBounds = this._redrawBounds || new S(), this._redrawBounds.extend(t._pxBounds.min.subtract([e, e])), this._redrawBounds.extend(t._pxBounds.max.add([e, e]));
5645
5576
  }
5646
5577
  },
5647
5578
  _redraw: function() {
@@ -5704,7 +5635,7 @@ var et = $.extend({
5704
5635
  },
5705
5636
  _handleMouseOut: function(t) {
5706
5637
  var e = this._hoveredLayer;
5707
- e && (E(this._container, "leaflet-interactive"), this._fireEvent([e], t, "mouseout"), this._hoveredLayer = null, this._mouseHoverThrottled = !1);
5638
+ e && (Z(this._container, "leaflet-interactive"), this._fireEvent([e], t, "mouseout"), this._hoveredLayer = null, this._mouseHoverThrottled = !1);
5708
5639
  },
5709
5640
  _handleMouseHover: function(t, e) {
5710
5641
  if (!this._mouseHoverThrottled) {
@@ -5741,8 +5672,8 @@ var et = $.extend({
5741
5672
  }
5742
5673
  }
5743
5674
  });
5744
- function ao(t) {
5745
- return c.canvas ? new ro(t) : null;
5675
+ function Jn(t) {
5676
+ return c.canvas ? new Xn(t) : null;
5746
5677
  }
5747
5678
  var Pt = (function() {
5748
5679
  try {
@@ -5754,7 +5685,7 @@ var Pt = (function() {
5754
5685
  return function(t) {
5755
5686
  return document.createElement("<" + t + ' xmlns="urn:schemas-microsoft.com:vml" class="lvml">');
5756
5687
  };
5757
- })(), ho = {
5688
+ })(), $n = {
5758
5689
  _initContainer: function() {
5759
5690
  this._container = x("div", "leaflet-vml-container");
5760
5691
  },
@@ -5790,9 +5721,9 @@ var Pt = (function() {
5790
5721
  _bringToBack: function(t) {
5791
5722
  xt(t._container);
5792
5723
  }
5793
- }, Ft = c.vml ? Pt : ci, ie = et.extend({
5724
+ }, Nt = c.vml ? Pt : ni, Jt = et.extend({
5794
5725
  _initContainer: function() {
5795
- this._container = Ft("svg"), this._container.setAttribute("pointer-events", "none"), this._rootGroup = Ft("g"), this._container.appendChild(this._rootGroup);
5726
+ this._container = Nt("svg"), this._container.setAttribute("pointer-events", "none"), this._rootGroup = Nt("g"), this._container.appendChild(this._rootGroup);
5796
5727
  },
5797
5728
  _destroyContainer: function() {
5798
5729
  C(this._container), b(this._container), delete this._container, delete this._rootGroup, delete this._svgSize;
@@ -5806,7 +5737,7 @@ var Pt = (function() {
5806
5737
  },
5807
5738
  // methods below are called by vector layers implementations
5808
5739
  _initPath: function(t) {
5809
- var e = t._path = Ft("path");
5740
+ var e = t._path = Nt("path");
5810
5741
  t.options.className && p(e, t.options.className), t.options.interactive && p(e, "leaflet-interactive"), this._updateStyle(t), this._layers[w(t)] = t;
5811
5742
  },
5812
5743
  _addPath: function(t) {
@@ -5823,7 +5754,7 @@ var Pt = (function() {
5823
5754
  e && (i.stroke ? (e.setAttribute("stroke", i.color), e.setAttribute("stroke-opacity", i.opacity), e.setAttribute("stroke-width", i.weight), e.setAttribute("stroke-linecap", i.lineCap), e.setAttribute("stroke-linejoin", i.lineJoin), i.dashArray ? e.setAttribute("stroke-dasharray", i.dashArray) : e.removeAttribute("stroke-dasharray"), i.dashOffset ? e.setAttribute("stroke-dashoffset", i.dashOffset) : e.removeAttribute("stroke-dashoffset")) : e.setAttribute("stroke", "none"), i.fill ? (e.setAttribute("fill", i.fillColor || i.color), e.setAttribute("fill-opacity", i.fillOpacity), e.setAttribute("fill-rule", i.fillRule || "evenodd")) : e.setAttribute("fill", "none"));
5824
5755
  },
5825
5756
  _updatePoly: function(t, e) {
5826
- this._setPath(t, fi(t._parts, e));
5757
+ this._setPath(t, oi(t._parts, e));
5827
5758
  },
5828
5759
  _updateCircle: function(t) {
5829
5760
  var e = t._point, i = Math.max(Math.round(t._radius), 1), n = Math.max(Math.round(t._radiusY), 1) || i, o = "a" + i + "," + n + " 0 1,0 ", s = t._empty() ? "M0 0" : "M" + (e.x - i) + "," + e.y + o + i * 2 + ",0 " + o + -i * 2 + ",0 ";
@@ -5840,9 +5771,9 @@ var Pt = (function() {
5840
5771
  xt(t._path);
5841
5772
  }
5842
5773
  });
5843
- c.vml && ie.include(ho);
5844
- function uo(t) {
5845
- return c.svg || c.vml ? new ie(t) : null;
5774
+ c.vml && Jt.include($n);
5775
+ function Qn(t) {
5776
+ return c.svg || c.vml ? new Jt(t) : null;
5846
5777
  }
5847
5778
  y.include({
5848
5779
  // @namespace Map; @method getRenderer(layer: Path): Renderer
@@ -5860,12 +5791,12 @@ y.include({
5860
5791
  return e === void 0 && (e = this._createRenderer({ pane: t }), this._paneRenderers[t] = e), e;
5861
5792
  },
5862
5793
  _createRenderer: function(t) {
5863
- return this.options.preferCanvas && ao(t) || uo(t);
5794
+ return this.options.preferCanvas && Jn(t) || Qn(t);
5864
5795
  }
5865
5796
  });
5866
- var lo = Zt.extend({
5797
+ Ft.extend({
5867
5798
  initialize: function(t, e) {
5868
- Zt.prototype.initialize.call(this, this._boundsToLatLngs(t), e);
5799
+ Ft.prototype.initialize.call(this, this._boundsToLatLngs(t), e);
5869
5800
  },
5870
5801
  // @method setBounds(latLngBounds: LatLngBounds): this
5871
5802
  // Redraws the rectangle with the passed bounds.
@@ -5881,25 +5812,22 @@ var lo = Zt.extend({
5881
5812
  ];
5882
5813
  }
5883
5814
  });
5884
- function Ro(t, e) {
5885
- return new lo(t, e);
5886
- }
5887
- ie.create = Ft;
5888
- ie.pointsToPath = fi;
5889
- at.geometryToLayer = Gt;
5890
- at.coordsToLatLng = Re;
5891
- at.coordsToLatLngs = jt;
5892
- at.latLngToCoords = De;
5893
- at.latLngsToCoords = te;
5894
- at.getFeature = gt;
5895
- at.asFeature = ee;
5815
+ Jt.create = Nt;
5816
+ Jt.pointsToPath = oi;
5817
+ _t.geometryToLayer = Wt;
5818
+ _t.coordsToLatLng = Se;
5819
+ _t.coordsToLatLngs = Ut;
5820
+ _t.latLngToCoords = Ee;
5821
+ _t.latLngsToCoords = Yt;
5822
+ _t.getFeature = gt;
5823
+ _t.asFeature = Xt;
5896
5824
  y.mergeOptions({
5897
5825
  // @option boxZoom: Boolean = true
5898
5826
  // Whether the map can be zoomed to a rectangular area specified by
5899
5827
  // dragging the mouse while pressing the shift key.
5900
5828
  boxZoom: !0
5901
5829
  });
5902
- var ji = tt.extend({
5830
+ var Zi = tt.extend({
5903
5831
  initialize: function(t) {
5904
5832
  this._map = t, this._container = t._container, this._pane = t._panes.overlayPane, this._resetStateTimeout = 0, t.on("unload", this._destroy, this);
5905
5833
  },
@@ -5924,8 +5852,8 @@ var ji = tt.extend({
5924
5852
  _onMouseDown: function(t) {
5925
5853
  if (!t.shiftKey || t.which !== 1 && t.button !== 1)
5926
5854
  return !1;
5927
- this._clearDeferredResetState(), this._resetState(), zt(), Me(), this._startPoint = this._map.mouseEventToContainerPoint(t), _(document, {
5928
- contextmenu: _t,
5855
+ this._clearDeferredResetState(), this._resetState(), zt(), ye(), this._startPoint = this._map.mouseEventToContainerPoint(t), _(document, {
5856
+ contextmenu: ft,
5929
5857
  mousemove: this._onMouseMove,
5930
5858
  mouseup: this._onMouseUp,
5931
5859
  keydown: this._onKeyDown
@@ -5933,12 +5861,12 @@ var ji = tt.extend({
5933
5861
  },
5934
5862
  _onMouseMove: function(t) {
5935
5863
  this._moved || (this._moved = !0, this._box = x("div", "leaflet-zoom-box", this._container), p(this._container, "leaflet-crosshair"), this._map.fire("boxzoomstart")), this._point = this._map.mouseEventToContainerPoint(t);
5936
- var e = new z(this._point, this._startPoint), i = e.getSize();
5864
+ var e = new S(this._point, this._startPoint), i = e.getSize();
5937
5865
  O(this._box, e.min), this._box.style.width = i.x + "px", this._box.style.height = i.y + "px";
5938
5866
  },
5939
5867
  _finish: function() {
5940
- this._moved && (C(this._box), E(this._container, "leaflet-crosshair")), kt(), Ce(), b(document, {
5941
- contextmenu: _t,
5868
+ this._moved && (C(this._box), Z(this._container, "leaflet-crosshair")), St(), xe(), b(document, {
5869
+ contextmenu: ft,
5942
5870
  mousemove: this._onMouseMove,
5943
5871
  mouseup: this._onMouseUp,
5944
5872
  keydown: this._onKeyDown
@@ -5958,7 +5886,7 @@ var ji = tt.extend({
5958
5886
  t.keyCode === 27 && (this._finish(), this._clearDeferredResetState(), this._resetState());
5959
5887
  }
5960
5888
  });
5961
- y.addInitHook("addHandler", "boxZoom", ji);
5889
+ y.addInitHook("addHandler", "boxZoom", Zi);
5962
5890
  y.mergeOptions({
5963
5891
  // @option doubleClickZoom: Boolean|String = true
5964
5892
  // Whether the map can be zoomed in by double clicking on it and
@@ -5967,7 +5895,7 @@ y.mergeOptions({
5967
5895
  // view regardless of where the mouse was.
5968
5896
  doubleClickZoom: !0
5969
5897
  });
5970
- var Ki = tt.extend({
5898
+ var ki = tt.extend({
5971
5899
  addHooks: function() {
5972
5900
  this._map.on("dblclick", this._onDoubleClick, this);
5973
5901
  },
@@ -5979,7 +5907,7 @@ var Ki = tt.extend({
5979
5907
  e.options.doubleClickZoom === "center" ? e.setZoom(o) : e.setZoomAround(t.containerPoint, o);
5980
5908
  }
5981
5909
  });
5982
- y.addInitHook("addHandler", "doubleClickZoom", Ki);
5910
+ y.addInitHook("addHandler", "doubleClickZoom", ki);
5983
5911
  y.mergeOptions({
5984
5912
  // @option dragging: Boolean = true
5985
5913
  // Whether the map is draggable with mouse/touch or not.
@@ -6015,11 +5943,11 @@ y.mergeOptions({
6015
5943
  // solid, preventing the user from dragging outside the bounds.
6016
5944
  maxBoundsViscosity: 0
6017
5945
  });
6018
- var Yi = tt.extend({
5946
+ var Oi = tt.extend({
6019
5947
  addHooks: function() {
6020
5948
  if (!this._draggable) {
6021
5949
  var t = this._map;
6022
- this._draggable = new ht(t._mapPane, t._container), this._draggable.on({
5950
+ this._draggable = new st(t._mapPane, t._container), this._draggable.on({
6023
5951
  dragstart: this._onDragStart,
6024
5952
  drag: this._onDrag,
6025
5953
  dragend: this._onDragEnd
@@ -6028,7 +5956,7 @@ var Yi = tt.extend({
6028
5956
  p(this._map._container, "leaflet-grab leaflet-touch-drag"), this._draggable.enable(), this._positions = [], this._times = [];
6029
5957
  },
6030
5958
  removeHooks: function() {
6031
- E(this._map._container, "leaflet-grab"), E(this._map._container, "leaflet-touch-drag"), this._draggable.disable();
5959
+ Z(this._map._container, "leaflet-grab"), Z(this._map._container, "leaflet-touch-drag"), this._draggable.disable();
6032
5960
  },
6033
5961
  moved: function() {
6034
5962
  return this._draggable && this._draggable._moved;
@@ -6094,7 +6022,7 @@ var Yi = tt.extend({
6094
6022
  }
6095
6023
  }
6096
6024
  });
6097
- y.addInitHook("addHandler", "dragging", Yi);
6025
+ y.addInitHook("addHandler", "dragging", Oi);
6098
6026
  y.mergeOptions({
6099
6027
  // @option keyboard: Boolean = true
6100
6028
  // Makes the map focusable and allows users to navigate the map with keyboard
@@ -6104,7 +6032,7 @@ y.mergeOptions({
6104
6032
  // Amount of pixels to pan when pressing an arrow key.
6105
6033
  keyboardPanDelta: 80
6106
6034
  });
6107
- var Xi = tt.extend({
6035
+ var Ii = tt.extend({
6108
6036
  keyCodes: {
6109
6037
  left: [37],
6110
6038
  right: [39],
@@ -6189,11 +6117,11 @@ var Xi = tt.extend({
6189
6117
  i.closePopup();
6190
6118
  else
6191
6119
  return;
6192
- _t(t);
6120
+ ft(t);
6193
6121
  }
6194
6122
  }
6195
6123
  });
6196
- y.addInitHook("addHandler", "keyboard", Xi);
6124
+ y.addInitHook("addHandler", "keyboard", Ii);
6197
6125
  y.mergeOptions({
6198
6126
  // @section Mouse wheel options
6199
6127
  // @option scrollWheelZoom: Boolean|String = true
@@ -6210,7 +6138,7 @@ y.mergeOptions({
6210
6138
  // faster (and vice versa).
6211
6139
  wheelPxPerZoomLevel: 60
6212
6140
  });
6213
- var Ji = tt.extend({
6141
+ var Ai = tt.extend({
6214
6142
  addHooks: function() {
6215
6143
  _(this._map._container, "wheel", this._onWheelScroll, this), this._delta = 0;
6216
6144
  },
@@ -6218,10 +6146,10 @@ var Ji = tt.extend({
6218
6146
  b(this._map._container, "wheel", this._onWheelScroll, this);
6219
6147
  },
6220
6148
  _onWheelScroll: function(t) {
6221
- var e = Ii(t), i = this._map.options.wheelDebounceTime;
6149
+ var e = Pi(t), i = this._map.options.wheelDebounceTime;
6222
6150
  this._delta += e, this._lastMousePos = this._map.mouseEventToContainerPoint(t), this._startTime || (this._startTime = +/* @__PURE__ */ new Date());
6223
6151
  var n = Math.max(i - (+/* @__PURE__ */ new Date() - this._startTime), 0);
6224
- clearTimeout(this._timer), this._timer = setTimeout(M(this._performZoom, this), n), _t(t);
6152
+ clearTimeout(this._timer), this._timer = setTimeout(M(this._performZoom, this), n), ft(t);
6225
6153
  },
6226
6154
  _performZoom: function() {
6227
6155
  var t = this._map, e = t.getZoom(), i = this._map.options.zoomSnap || 0;
@@ -6230,8 +6158,8 @@ var Ji = tt.extend({
6230
6158
  this._delta = 0, this._startTime = null, r && (t.options.scrollWheelZoom === "center" ? t.setZoom(e + r) : t.setZoomAround(this._lastMousePos, e + r));
6231
6159
  }
6232
6160
  });
6233
- y.addInitHook("addHandler", "scrollWheelZoom", Ji);
6234
- var co = 600;
6161
+ y.addInitHook("addHandler", "scrollWheelZoom", Ai);
6162
+ var to = 600;
6235
6163
  y.mergeOptions({
6236
6164
  // @section Touch interaction options
6237
6165
  // @option tapHold: Boolean
@@ -6242,7 +6170,7 @@ y.mergeOptions({
6242
6170
  // for it to be considered a valid tap.
6243
6171
  tapTolerance: 15
6244
6172
  });
6245
- var $i = tt.extend({
6173
+ var Bi = tt.extend({
6246
6174
  addHooks: function() {
6247
6175
  _(this._map._container, "touchstart", this._onDown, this);
6248
6176
  },
@@ -6254,7 +6182,7 @@ var $i = tt.extend({
6254
6182
  var e = t.touches[0];
6255
6183
  this._startPos = this._newPos = new m(e.clientX, e.clientY), this._holdTimeout = setTimeout(M(function() {
6256
6184
  this._cancel(), this._isTapValid() && (_(document, "touchend", B), _(document, "touchend touchcancel", this._cancelClickPrevent), this._simulateEvent("contextmenu", e));
6257
- }, this), co), _(document, "touchend touchcancel contextmenu", this._cancel, this), _(document, "touchmove", this._onMove, this);
6185
+ }, this), to), _(document, "touchend touchcancel contextmenu", this._cancel, this), _(document, "touchmove", this._onMove, this);
6258
6186
  }
6259
6187
  },
6260
6188
  _cancelClickPrevent: function t() {
@@ -6286,7 +6214,7 @@ var $i = tt.extend({
6286
6214
  i._simulated = !0, e.target.dispatchEvent(i);
6287
6215
  }
6288
6216
  });
6289
- y.addInitHook("addHandler", "tapHold", $i);
6217
+ y.addInitHook("addHandler", "tapHold", Bi);
6290
6218
  y.mergeOptions({
6291
6219
  // @section Touch interaction options
6292
6220
  // @option touchZoom: Boolean|String = *
@@ -6300,12 +6228,12 @@ y.mergeOptions({
6300
6228
  // and then bounce back when pinch-zooming.
6301
6229
  bounceAtZoomLimits: !0
6302
6230
  });
6303
- var Qi = tt.extend({
6231
+ var Ni = tt.extend({
6304
6232
  addHooks: function() {
6305
6233
  p(this._map._container, "leaflet-touch-zoom"), _(this._map._container, "touchstart", this._onTouchStart, this);
6306
6234
  },
6307
6235
  removeHooks: function() {
6308
- E(this._map._container, "leaflet-touch-zoom"), b(this._map._container, "touchstart", this._onTouchStart, this);
6236
+ Z(this._map._container, "leaflet-touch-zoom"), b(this._map._container, "touchstart", this._onTouchStart, this);
6309
6237
  },
6310
6238
  _onTouchStart: function(t) {
6311
6239
  var e = this._map;
@@ -6326,7 +6254,7 @@ var Qi = tt.extend({
6326
6254
  return;
6327
6255
  this._center = e.unproject(e.project(this._pinchStartLatLng, this._zoom).subtract(s), this._zoom);
6328
6256
  }
6329
- this._moved || (e._moveStart(!0, !1), this._moved = !0), V(this._animRequest);
6257
+ this._moved || (e._moveStart(!0, !1), this._moved = !0), q(this._animRequest);
6330
6258
  var r = M(e._move, e, this._center, this._zoom, { pinch: !0, round: !1 }, void 0);
6331
6259
  this._animRequest = D(r, this, !0), B(t);
6332
6260
  }
@@ -6336,95 +6264,74 @@ var Qi = tt.extend({
6336
6264
  this._zooming = !1;
6337
6265
  return;
6338
6266
  }
6339
- this._zooming = !1, V(this._animRequest), b(document, "touchmove", this._onTouchMove, this), b(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));
6267
+ this._zooming = !1, q(this._animRequest), b(document, "touchmove", this._onTouchMove, this), b(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));
6340
6268
  }
6341
6269
  });
6342
- y.addInitHook("addHandler", "touchZoom", Qi);
6343
- y.BoxZoom = ji;
6344
- y.DoubleClickZoom = Ki;
6345
- y.Drag = Yi;
6346
- y.Keyboard = Xi;
6347
- y.ScrollWheelZoom = Ji;
6348
- y.TapHold = $i;
6349
- y.TouchZoom = Qi;
6270
+ y.addInitHook("addHandler", "touchZoom", Ni);
6271
+ y.BoxZoom = Zi;
6272
+ y.DoubleClickZoom = ki;
6273
+ y.Drag = Oi;
6274
+ y.Keyboard = Ii;
6275
+ y.ScrollWheelZoom = Ai;
6276
+ y.TapHold = Bi;
6277
+ y.TouchZoom = Ni;
6350
6278
  export {
6351
- z as Bounds,
6279
+ S as Bounds,
6352
6280
  c as Browser,
6353
- rt as CRS,
6354
- ro as Canvas,
6355
- Vi as Circle,
6356
- Ne as CircleMarker,
6357
- st as Class,
6281
+ ot as CRS,
6282
+ Xn as Canvas,
6283
+ Gn as Circle,
6284
+ zi as CircleMarker,
6285
+ nt as Class,
6358
6286
  J as Control,
6359
- no as DivIcon,
6287
+ jn as DivIcon,
6360
6288
  Q as DivOverlay,
6361
- po as DomEvent,
6362
- mo as DomUtil,
6363
- ht as Draggable,
6364
- Kt as Evented,
6365
- nt as FeatureGroup,
6366
- at as GeoJSON,
6367
- Ht as GridLayer,
6289
+ no as DomEvent,
6290
+ io as DomUtil,
6291
+ st as Draggable,
6292
+ qt as Evented,
6293
+ ut as FeatureGroup,
6294
+ _t as GeoJSON,
6295
+ te as GridLayer,
6368
6296
  tt as Handler,
6369
6297
  Et as Icon,
6370
- Fe as ImageOverlay,
6298
+ Si as ImageOverlay,
6371
6299
  P as LatLng,
6372
6300
  F as LatLngBounds,
6373
6301
  $ as Layer,
6374
- Tt as LayerGroup,
6375
- xo as LineUtil,
6302
+ Bt as LayerGroup,
6376
6303
  y as Map,
6377
- Be as Marker,
6378
- go as Mixin,
6379
- mt as Path,
6304
+ ze as Marker,
6305
+ dt as Path,
6380
6306
  m as Point,
6381
- yo as PolyUtil,
6382
- Zt as Polygon,
6383
- it as Polyline,
6384
- We as Popup,
6385
- Wn as PosAnimation,
6386
- wo as Projection,
6387
- lo as Rectangle,
6307
+ Ft as Polygon,
6308
+ rt as Polyline,
6309
+ ke as Popup,
6310
+ zn as PosAnimation,
6388
6311
  et as Renderer,
6389
- ie as SVG,
6390
- io as SVGOverlay,
6391
- Mt as TileLayer,
6392
- Ue as Tooltip,
6393
- li as Transformation,
6394
- _o as Util,
6395
- eo as VideoOverlay,
6312
+ Jt as SVG,
6313
+ bt as TileLayer,
6314
+ Oe as Tooltip,
6315
+ ii as Transformation,
6316
+ eo as Util,
6396
6317
  M as bind,
6397
6318
  H as bounds,
6398
- ao as canvas,
6399
- Co as circle,
6400
- Mo as circleMarker,
6401
- Qt as control,
6402
- Bo as divIcon,
6319
+ Jn as canvas,
6320
+ Kt as control,
6321
+ uo as divIcon,
6403
6322
  T as extend,
6404
- Lo as featureGroup,
6405
- to as geoJSON,
6406
- ko as geoJson,
6407
- No as gridLayer,
6408
- To as icon,
6409
- Eo as imageOverlay,
6323
+ so as icon,
6410
6324
  g as latLng,
6411
6325
  I as latLngBounds,
6412
- Po as layerGroup,
6413
- vo as map,
6414
- bo as marker,
6326
+ oo as map,
6327
+ ro as marker,
6415
6328
  d as point,
6416
- zo as polygon,
6417
- So as polyline,
6418
- Io as popup,
6419
- Ro as rectangle,
6420
- S as setOptions,
6329
+ ao as popup,
6330
+ z as setOptions,
6421
6331
  w as stamp,
6422
- uo as svg,
6423
- Oo as svgOverlay,
6424
- oo as tileLayer,
6425
- Ao as tooltip,
6426
- Yt as transformation,
6427
- fo as version,
6428
- Zo as videoOverlay
6332
+ Qn as svg,
6333
+ Kn as tileLayer,
6334
+ ho as tooltip,
6335
+ Vt as transformation
6429
6336
  };
6430
- //# sourceMappingURL=revolugo.leaflet-src.esm.BSRIxBxW.min.js.map
6337
+ //# sourceMappingURL=revolugo.leaflet-src.esm.6sTpRDd5.min.js.map