@datagouv/components-next 1.0.2-dev.27 → 1.0.2-dev.29
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.
- package/dist/{Datafair.client-Ds3VQrRi.js → Datafair.client-CSUWxY1U.js} +4 -4
- package/dist/{Event--kp8kMdJ.js → Event-B0pbfyAo.js} +1 -1
- package/dist/{JsonPreview.client-CYxmz0yV.js → JsonPreview.client-DWP5adeD.js} +9 -9
- package/dist/{Map-BjUnLyj8.js → Map-ByzoJvTf.js} +2 -2
- package/dist/{MapContainer.client-B2BijMx5.js → MapContainer.client-B0oJPrx5.js} +10 -10
- package/dist/{OSM-s40W6sQ2.js → OSM-FSBCBM2l.js} +1 -1
- package/dist/{PdfPreview.client-DJBMzrlC.js → PdfPreview.client-B2E_IWUj.js} +4 -4
- package/dist/{Pmtiles.client-C_hvRDuy.js → Pmtiles.client-STSFvULL.js} +4 -4
- package/dist/Swagger.client-mrRTl6ll.js +4 -0
- package/dist/{Tile-DbNFNPfU.js → Tile-nykTnQlb.js} +4 -4
- package/dist/{TileImage-BsXBxMtq.js → TileImage-RLU-wMoy.js} +1 -1
- package/dist/{View-BR92hTWP.js → View-SHblmfOT.js} +1 -1
- package/dist/{XmlPreview.client-LETEfNBH.js → XmlPreview.client-C0zaJXWA.js} +7 -7
- package/dist/components-next.css +3 -3
- package/dist/components-next.js +13 -13
- package/dist/{index-BFQX7Ccz.js → index-kxzw3Ssm.js} +1164 -1164
- package/dist/{leaflet-src-7m1mB8LI.js → leaflet-src-DfyFSZpM.js} +185 -183
- package/dist/{main-vqhkVhVS.js → main-BMXOPzsN.js} +11023 -11023
- package/dist/{text-clamp.esm-B5kW_XMt.js → text-clamp.esm-DVseBqZZ.js} +4 -4
- package/dist/{tilecoord-Db24Px13.js → tilecoord-BgTy1qJO.js} +5 -5
- package/dist/{vue3-json-viewer-BXwup7nO.js → vue3-json-viewer-BgCuOAH6.js} +10 -10
- package/dist/{vue3-xml-viewer.common-BcNJo35o.js → vue3-xml-viewer.common-CwN-5lms.js} +16 -16
- package/package.json +3 -3
- package/src/types/users.ts +0 -1
- package/dist/Swagger.client-B4y0hXME.js +0 -4
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { g as qo } from "./main-BMXOPzsN.js";
|
|
2
|
+
function jo(Vt, qt) {
|
|
2
3
|
for (var l = 0; l < qt.length; l++) {
|
|
3
4
|
const it = qt[l];
|
|
4
5
|
if (typeof it != "string" && !Array.isArray(it)) {
|
|
@@ -19,12 +20,12 @@ var Gt = { exports: {} };
|
|
|
19
20
|
* Leaflet 1.9.4, a JS library for interactive maps. https://leafletjs.com
|
|
20
21
|
* (c) 2010-2023 Vladimir Agafonkin, (c) 2010-2011 CloudMade
|
|
21
22
|
*/
|
|
22
|
-
var
|
|
23
|
-
function
|
|
23
|
+
var Ko = Gt.exports, pn;
|
|
24
|
+
function Yo() {
|
|
24
25
|
return pn || (pn = 1, (function(Vt, qt) {
|
|
25
26
|
(function(l, it) {
|
|
26
27
|
it(qt);
|
|
27
|
-
})(
|
|
28
|
+
})(Ko, (function(l) {
|
|
28
29
|
var it = "1.9.4";
|
|
29
30
|
function x(t) {
|
|
30
31
|
var e, i, n, o;
|
|
@@ -55,7 +56,7 @@ function jo() {
|
|
|
55
56
|
function P(t) {
|
|
56
57
|
return "_leaflet_id" in t || (t._leaflet_id = ++Je), t._leaflet_id;
|
|
57
58
|
}
|
|
58
|
-
function
|
|
59
|
+
function Qe(t, e, i) {
|
|
59
60
|
var n, o, s, r;
|
|
60
61
|
return r = function() {
|
|
61
62
|
n = !1, o && (s.apply(i, o), o = !1);
|
|
@@ -88,15 +89,15 @@ function jo() {
|
|
|
88
89
|
t.options[i] = e[i];
|
|
89
90
|
return t.options;
|
|
90
91
|
}
|
|
91
|
-
function
|
|
92
|
+
function $e(t, e, i) {
|
|
92
93
|
var n = [];
|
|
93
94
|
for (var o in t)
|
|
94
95
|
n.push(encodeURIComponent(i ? o.toUpperCase() : o) + "=" + encodeURIComponent(t[o]));
|
|
95
96
|
return (!e || e.indexOf("?") === -1 ? "?" : "&") + n.join("&");
|
|
96
97
|
}
|
|
97
|
-
var
|
|
98
|
+
var gn = /\{ *([\w_ -]+) *\}/g;
|
|
98
99
|
function ti(t, e) {
|
|
99
|
-
return t.replace(
|
|
100
|
+
return t.replace(gn, function(i, n) {
|
|
100
101
|
var o = e[n];
|
|
101
102
|
if (o === void 0)
|
|
102
103
|
throw new Error("No value provided for variable " + i);
|
|
@@ -133,7 +134,7 @@ function jo() {
|
|
|
133
134
|
function G(t) {
|
|
134
135
|
t && ni.call(window, t);
|
|
135
136
|
}
|
|
136
|
-
var
|
|
137
|
+
var yn = {
|
|
137
138
|
__proto__: null,
|
|
138
139
|
extend: x,
|
|
139
140
|
create: ut,
|
|
@@ -142,14 +143,14 @@ function jo() {
|
|
|
142
143
|
return Je;
|
|
143
144
|
},
|
|
144
145
|
stamp: P,
|
|
145
|
-
throttle:
|
|
146
|
+
throttle: Qe,
|
|
146
147
|
wrapNum: Ct,
|
|
147
148
|
falseFn: E,
|
|
148
149
|
formatNum: J,
|
|
149
150
|
trim: de,
|
|
150
151
|
splitWords: dt,
|
|
151
152
|
setOptions: C,
|
|
152
|
-
getParamString:
|
|
153
|
+
getParamString: $e,
|
|
153
154
|
template: ti,
|
|
154
155
|
isArray: K,
|
|
155
156
|
indexOf: _e,
|
|
@@ -168,7 +169,7 @@ function jo() {
|
|
|
168
169
|
n.constructor = e, e.prototype = n;
|
|
169
170
|
for (var o in this)
|
|
170
171
|
Object.prototype.hasOwnProperty.call(this, o) && o !== "prototype" && o !== "__super__" && (e[o] = this[o]);
|
|
171
|
-
return t.statics && x(e, t.statics), t.includes && (
|
|
172
|
+
return t.statics && x(e, t.statics), t.includes && (wn(t.includes), x.apply(null, [n].concat(t.includes))), x(n, t), delete n.statics, delete n.includes, n.options && (n.options = i.options ? ut(i.options) : {}, x(n.options, t.options)), n._initHooks = [], n.callInitHooks = function() {
|
|
172
173
|
if (!this._initHooksCalled) {
|
|
173
174
|
i.callInitHooks && i.callInitHooks.call(this), this._initHooksCalled = !0;
|
|
174
175
|
for (var s = 0, r = n._initHooks.length; s < r; s++)
|
|
@@ -186,7 +187,7 @@ function jo() {
|
|
|
186
187
|
};
|
|
187
188
|
return this.prototype._initHooks = this.prototype._initHooks || [], this.prototype._initHooks.push(i), this;
|
|
188
189
|
};
|
|
189
|
-
function
|
|
190
|
+
function wn(t) {
|
|
190
191
|
if (!(typeof L > "u" || !L || !L.Mixin)) {
|
|
191
192
|
t = K(t) ? t : [t];
|
|
192
193
|
for (var e = 0; e < t.length; e++)
|
|
@@ -491,7 +492,7 @@ function jo() {
|
|
|
491
492
|
return this;
|
|
492
493
|
if (t instanceof m || typeof t[0] == "number" || "x" in t)
|
|
493
494
|
e = i = _(t);
|
|
494
|
-
else if (t =
|
|
495
|
+
else if (t = F(t), e = t.min, i = t.max, !e || !i)
|
|
495
496
|
return this;
|
|
496
497
|
return !this.min && !this.max ? (this.min = e.clone(), this.max = i.clone()) : (this.min.x = Math.min(e.x, this.min.x), this.max.x = Math.max(i.x, this.max.x), this.min.y = Math.min(e.y, this.min.y), this.max.y = Math.max(i.y, this.max.y)), this;
|
|
497
498
|
},
|
|
@@ -536,13 +537,13 @@ function jo() {
|
|
|
536
537
|
// Returns `true` if the rectangle contains the given point.
|
|
537
538
|
contains: function(t) {
|
|
538
539
|
var e, i;
|
|
539
|
-
return typeof t[0] == "number" || t instanceof m ? t = _(t) : t =
|
|
540
|
+
return typeof t[0] == "number" || t instanceof m ? t = _(t) : t = F(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;
|
|
540
541
|
},
|
|
541
542
|
// @method intersects(otherBounds: Bounds): Boolean
|
|
542
543
|
// Returns `true` if the rectangle intersects the given bounds. Two bounds
|
|
543
544
|
// intersect if they have at least one point in common.
|
|
544
545
|
intersects: function(t) {
|
|
545
|
-
t =
|
|
546
|
+
t = F(t);
|
|
546
547
|
var e = this.min, i = this.max, n = t.min, o = t.max, s = o.x >= e.x && n.x <= i.x, r = o.y >= e.y && n.y <= i.y;
|
|
547
548
|
return s && r;
|
|
548
549
|
},
|
|
@@ -550,7 +551,7 @@ function jo() {
|
|
|
550
551
|
// Returns `true` if the rectangle overlaps the given bounds. Two bounds
|
|
551
552
|
// overlap if their intersection is an area.
|
|
552
553
|
overlaps: function(t) {
|
|
553
|
-
t =
|
|
554
|
+
t = F(t);
|
|
554
555
|
var e = this.min, i = this.max, n = t.min, o = t.max, s = o.x > e.x && n.x < i.x, r = o.y > e.y && n.y < i.y;
|
|
555
556
|
return s && r;
|
|
556
557
|
},
|
|
@@ -565,7 +566,7 @@ function jo() {
|
|
|
565
566
|
// Negative values will retract the bounds.
|
|
566
567
|
pad: function(t) {
|
|
567
568
|
var e = this.min, i = this.max, n = Math.abs(e.x - i.x) * t, o = Math.abs(e.y - i.y) * t;
|
|
568
|
-
return
|
|
569
|
+
return F(
|
|
569
570
|
_(e.x - n, e.y - o),
|
|
570
571
|
_(i.x + n, i.y + o)
|
|
571
572
|
);
|
|
@@ -573,18 +574,18 @@ function jo() {
|
|
|
573
574
|
// @method equals(otherBounds: Bounds): Boolean
|
|
574
575
|
// Returns `true` if the rectangle is equivalent to the given bounds.
|
|
575
576
|
equals: function(t) {
|
|
576
|
-
return t ? (t =
|
|
577
|
+
return t ? (t = F(t), this.min.equals(t.getTopLeft()) && this.max.equals(t.getBottomRight())) : !1;
|
|
577
578
|
}
|
|
578
579
|
};
|
|
579
|
-
function
|
|
580
|
+
function F(t, e) {
|
|
580
581
|
return !t || t instanceof z ? t : new z(t, e);
|
|
581
582
|
}
|
|
582
|
-
function
|
|
583
|
+
function H(t, e) {
|
|
583
584
|
if (t)
|
|
584
585
|
for (var i = e ? [t, e] : t, n = 0, o = i.length; n < o; n++)
|
|
585
586
|
this.extend(i[n]);
|
|
586
587
|
}
|
|
587
|
-
|
|
588
|
+
H.prototype = {
|
|
588
589
|
// @method extend(latlng: LatLng): this
|
|
589
590
|
// Extend the bounds to contain the given point
|
|
590
591
|
// @alternative
|
|
@@ -594,7 +595,7 @@ function jo() {
|
|
|
594
595
|
var e = this._southWest, i = this._northEast, n, o;
|
|
595
596
|
if (t instanceof b)
|
|
596
597
|
n = t, o = t;
|
|
597
|
-
else if (t instanceof
|
|
598
|
+
else if (t instanceof H) {
|
|
598
599
|
if (n = t._southWest, o = t._northEast, !n || !o)
|
|
599
600
|
return this;
|
|
600
601
|
} else
|
|
@@ -607,7 +608,7 @@ function jo() {
|
|
|
607
608
|
// Negative values will retract the bounds.
|
|
608
609
|
pad: function(t) {
|
|
609
610
|
var e = this._southWest, i = this._northEast, n = Math.abs(e.lat - i.lat) * t, o = Math.abs(e.lng - i.lng) * t;
|
|
610
|
-
return new
|
|
611
|
+
return new H(
|
|
611
612
|
new b(e.lat - n, e.lng - o),
|
|
612
613
|
new b(i.lat + n, i.lng + o)
|
|
613
614
|
);
|
|
@@ -668,7 +669,7 @@ function jo() {
|
|
|
668
669
|
contains: function(t) {
|
|
669
670
|
typeof t[0] == "number" || t instanceof b || "lat" in t ? t = y(t) : t = O(t);
|
|
670
671
|
var e = this._southWest, i = this._northEast, n, o;
|
|
671
|
-
return t instanceof
|
|
672
|
+
return t instanceof H ? (n = t.getSouthWest(), o = t.getNorthEast()) : n = o = t, n.lat >= e.lat && o.lat <= i.lat && n.lng >= e.lng && o.lng <= i.lng;
|
|
672
673
|
},
|
|
673
674
|
// @method intersects(otherBounds: LatLngBounds): Boolean
|
|
674
675
|
// Returns `true` if the rectangle intersects the given bounds. Two bounds intersect if they have at least one point in common.
|
|
@@ -701,7 +702,7 @@ function jo() {
|
|
|
701
702
|
}
|
|
702
703
|
};
|
|
703
704
|
function O(t, e) {
|
|
704
|
-
return t instanceof
|
|
705
|
+
return t instanceof H ? t : new H(t, e);
|
|
705
706
|
}
|
|
706
707
|
function b(t, e, i) {
|
|
707
708
|
if (isNaN(t) || isNaN(e))
|
|
@@ -832,7 +833,7 @@ function jo() {
|
|
|
832
833
|
if (n === 0 && o === 0)
|
|
833
834
|
return t;
|
|
834
835
|
var s = t.getSouthWest(), r = t.getNorthEast(), a = new b(s.lat - n, s.lng - o), h = new b(r.lat - n, r.lng - o);
|
|
835
|
-
return new
|
|
836
|
+
return new H(a, h);
|
|
836
837
|
}
|
|
837
838
|
}, lt = x({}, ot, {
|
|
838
839
|
wrapLng: [-180, 180],
|
|
@@ -905,7 +906,7 @@ function jo() {
|
|
|
905
906
|
var t = 0.5 / (Math.PI * ve.R);
|
|
906
907
|
return kt(t, 0.5, -t, 0.5);
|
|
907
908
|
})()
|
|
908
|
-
}),
|
|
909
|
+
}), xn = x({}, ye, {
|
|
909
910
|
code: "EPSG:900913"
|
|
910
911
|
});
|
|
911
912
|
function ri(t) {
|
|
@@ -920,7 +921,7 @@ function jo() {
|
|
|
920
921
|
}
|
|
921
922
|
return i || "M0 0";
|
|
922
923
|
}
|
|
923
|
-
var we = document.documentElement.style, Kt = "ActiveXObject" in window,
|
|
924
|
+
var we = document.documentElement.style, Kt = "ActiveXObject" in window, Pn = Kt && !document.addEventListener, hi = "msLaunchUri" in navigator && !("documentMode" in document), xe = Q("webkit"), ui = Q("android"), li = Q("android 2") || Q("android 3"), Ln = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), Tn = ui && Q("Google") && Ln < 537 && !("AudioNode" in window), Pe = !!window.opera, ci = !hi && Q("chrome"), fi = Q("gecko") && !xe && !Pe && !Kt, bn = !ci && Q("safari"), di = Q("phantom"), _i = "OTransition" in we, Mn = navigator.platform.indexOf("Win") === 0, mi = Kt && "transition" in we, Le = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !li, pi = "MozPerspective" in we, Sn = !window.L_DISABLE_3D && (mi || Le || pi) && !_i && !di, Et = typeof orientation < "u" || Q("mobile"), Cn = Et && xe, zn = Et && Le, vi = !window.PointerEvent && window.MSPointerEvent, gi = !!(window.PointerEvent || vi), yi = "ontouchstart" in window || !!window.TouchEvent, kn = !window.L_NO_TOUCH && (yi || gi), En = Et && Pe, Zn = Et && fi, On = (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI) > 1, In = (function() {
|
|
924
925
|
var t = !1;
|
|
925
926
|
try {
|
|
926
927
|
var e = Object.defineProperty({}, "passive", {
|
|
@@ -932,12 +933,12 @@ function jo() {
|
|
|
932
933
|
} catch {
|
|
933
934
|
}
|
|
934
935
|
return t;
|
|
935
|
-
})(),
|
|
936
|
+
})(), An = (function() {
|
|
936
937
|
return !!document.createElement("canvas").getContext;
|
|
937
|
-
})(), Te = !!(document.createElementNS && ri("svg").createSVGRect),
|
|
938
|
+
})(), Te = !!(document.createElementNS && ri("svg").createSVGRect), Bn = !!Te && (function() {
|
|
938
939
|
var t = document.createElement("div");
|
|
939
940
|
return t.innerHTML = "<svg/>", (t.firstChild && t.firstChild.namespaceURI) === "http://www.w3.org/2000/svg";
|
|
940
|
-
})(),
|
|
941
|
+
})(), Nn = !Te && (function() {
|
|
941
942
|
try {
|
|
942
943
|
var t = document.createElement("div");
|
|
943
944
|
t.innerHTML = '<v:shape adj="1"/>';
|
|
@@ -946,59 +947,59 @@ function jo() {
|
|
|
946
947
|
} catch {
|
|
947
948
|
return !1;
|
|
948
949
|
}
|
|
949
|
-
})(),
|
|
950
|
-
function
|
|
950
|
+
})(), Rn = navigator.platform.indexOf("Mac") === 0, Dn = navigator.platform.indexOf("Linux") === 0;
|
|
951
|
+
function Q(t) {
|
|
951
952
|
return navigator.userAgent.toLowerCase().indexOf(t) >= 0;
|
|
952
953
|
}
|
|
953
954
|
var f = {
|
|
954
955
|
ie: Kt,
|
|
955
|
-
ielt9:
|
|
956
|
+
ielt9: Pn,
|
|
956
957
|
edge: hi,
|
|
957
958
|
webkit: xe,
|
|
958
959
|
android: ui,
|
|
959
960
|
android23: li,
|
|
960
|
-
androidStock:
|
|
961
|
+
androidStock: Tn,
|
|
961
962
|
opera: Pe,
|
|
962
963
|
chrome: ci,
|
|
963
964
|
gecko: fi,
|
|
964
|
-
safari:
|
|
965
|
+
safari: bn,
|
|
965
966
|
phantom: di,
|
|
966
967
|
opera12: _i,
|
|
967
|
-
win:
|
|
968
|
+
win: Mn,
|
|
968
969
|
ie3d: mi,
|
|
969
970
|
webkit3d: Le,
|
|
970
971
|
gecko3d: pi,
|
|
971
|
-
any3d:
|
|
972
|
+
any3d: Sn,
|
|
972
973
|
mobile: Et,
|
|
973
|
-
mobileWebkit:
|
|
974
|
-
mobileWebkit3d:
|
|
974
|
+
mobileWebkit: Cn,
|
|
975
|
+
mobileWebkit3d: zn,
|
|
975
976
|
msPointer: vi,
|
|
976
977
|
pointer: gi,
|
|
977
|
-
touch:
|
|
978
|
+
touch: kn,
|
|
978
979
|
touchNative: yi,
|
|
979
|
-
mobileOpera:
|
|
980
|
-
mobileGecko:
|
|
981
|
-
retina:
|
|
982
|
-
passiveEvents:
|
|
983
|
-
canvas:
|
|
980
|
+
mobileOpera: En,
|
|
981
|
+
mobileGecko: Zn,
|
|
982
|
+
retina: On,
|
|
983
|
+
passiveEvents: In,
|
|
984
|
+
canvas: An,
|
|
984
985
|
svg: Te,
|
|
985
|
-
vml:
|
|
986
|
-
inlineSvg:
|
|
987
|
-
mac:
|
|
988
|
-
linux:
|
|
986
|
+
vml: Nn,
|
|
987
|
+
inlineSvg: Bn,
|
|
988
|
+
mac: Rn,
|
|
989
|
+
linux: Dn
|
|
989
990
|
}, wi = f.msPointer ? "MSPointerDown" : "pointerdown", xi = f.msPointer ? "MSPointerMove" : "pointermove", Pi = f.msPointer ? "MSPointerUp" : "pointerup", Li = f.msPointer ? "MSPointerCancel" : "pointercancel", be = {
|
|
990
991
|
touchstart: wi,
|
|
991
992
|
touchmove: xi,
|
|
992
993
|
touchend: Pi,
|
|
993
994
|
touchcancel: Li
|
|
994
995
|
}, Ti = {
|
|
995
|
-
touchstart:
|
|
996
|
+
touchstart: Vn,
|
|
996
997
|
touchmove: Yt,
|
|
997
998
|
touchend: Yt,
|
|
998
999
|
touchcancel: Yt
|
|
999
1000
|
}, yt = {}, bi = !1;
|
|
1000
|
-
function
|
|
1001
|
-
return e === "touchstart" &&
|
|
1001
|
+
function Fn(t, e, i) {
|
|
1002
|
+
return e === "touchstart" && Gn(), Ti[e] ? (i = Ti[e].bind(this, i), t.addEventListener(be[e], i, !1), i) : (console.warn("wrong event specified:", e), E);
|
|
1002
1003
|
}
|
|
1003
1004
|
function Hn(t, e, i) {
|
|
1004
1005
|
if (!be[e]) {
|
|
@@ -1007,17 +1008,17 @@ function jo() {
|
|
|
1007
1008
|
}
|
|
1008
1009
|
t.removeEventListener(be[e], i, !1);
|
|
1009
1010
|
}
|
|
1010
|
-
function
|
|
1011
|
+
function Wn(t) {
|
|
1011
1012
|
yt[t.pointerId] = t;
|
|
1012
1013
|
}
|
|
1013
|
-
function
|
|
1014
|
+
function Un(t) {
|
|
1014
1015
|
yt[t.pointerId] && (yt[t.pointerId] = t);
|
|
1015
1016
|
}
|
|
1016
1017
|
function Mi(t) {
|
|
1017
1018
|
delete yt[t.pointerId];
|
|
1018
1019
|
}
|
|
1019
|
-
function
|
|
1020
|
-
bi || (document.addEventListener(wi,
|
|
1020
|
+
function Gn() {
|
|
1021
|
+
bi || (document.addEventListener(wi, Wn, !0), document.addEventListener(xi, Un, !0), document.addEventListener(Pi, Mi, !0), document.addEventListener(Li, Mi, !0), bi = !0);
|
|
1021
1022
|
}
|
|
1022
1023
|
function Yt(t, e) {
|
|
1023
1024
|
if (e.pointerType !== (e.MSPOINTER_TYPE_MOUSE || "mouse")) {
|
|
@@ -1027,17 +1028,17 @@ function jo() {
|
|
|
1027
1028
|
e.changedTouches = [e], t(e);
|
|
1028
1029
|
}
|
|
1029
1030
|
}
|
|
1030
|
-
function
|
|
1031
|
+
function Vn(t, e) {
|
|
1031
1032
|
e.MSPOINTER_TYPE_TOUCH && e.pointerType === e.MSPOINTER_TYPE_TOUCH && N(e), Yt(t, e);
|
|
1032
1033
|
}
|
|
1033
|
-
function
|
|
1034
|
+
function qn(t) {
|
|
1034
1035
|
var e = {}, i, n;
|
|
1035
1036
|
for (n in t)
|
|
1036
1037
|
i = t[n], e[n] = i && i.bind ? i.bind(t) : i;
|
|
1037
1038
|
return t = e, e.type = "dblclick", e.detail = 2, e.isTrusted = !1, e._simulated = !0, e;
|
|
1038
1039
|
}
|
|
1039
|
-
var
|
|
1040
|
-
function
|
|
1040
|
+
var jn = 200;
|
|
1041
|
+
function Kn(t, e) {
|
|
1041
1042
|
t.addEventListener("dblclick", e);
|
|
1042
1043
|
var i = 0, n;
|
|
1043
1044
|
function o(s) {
|
|
@@ -1053,7 +1054,7 @@ function jo() {
|
|
|
1053
1054
|
return h instanceof HTMLInputElement || h instanceof HTMLSelectElement;
|
|
1054
1055
|
}))) {
|
|
1055
1056
|
var a = Date.now();
|
|
1056
|
-
a - i <=
|
|
1057
|
+
a - i <= jn ? (n++, n === 2 && e(qn(s))) : n = 1, i = a;
|
|
1057
1058
|
}
|
|
1058
1059
|
}
|
|
1059
1060
|
}
|
|
@@ -1062,12 +1063,12 @@ function jo() {
|
|
|
1062
1063
|
simDblclick: o
|
|
1063
1064
|
};
|
|
1064
1065
|
}
|
|
1065
|
-
function
|
|
1066
|
+
function Yn(t, e) {
|
|
1066
1067
|
t.removeEventListener("dblclick", e.dblclick), t.removeEventListener("click", e.simDblclick);
|
|
1067
1068
|
}
|
|
1068
|
-
var Me =
|
|
1069
|
+
var Me = Qt(
|
|
1069
1070
|
["transform", "webkitTransform", "OTransform", "MozTransform", "msTransform"]
|
|
1070
|
-
), Zt =
|
|
1071
|
+
), Zt = Qt(
|
|
1071
1072
|
["webkitTransition", "transition", "OTransition", "MozTransition", "msTransition"]
|
|
1072
1073
|
), Si = Zt === "webkitTransition" || Zt === "OTransition" ? Zt + "End" : "transitionend";
|
|
1073
1074
|
function Ci(t) {
|
|
@@ -1126,9 +1127,9 @@ function jo() {
|
|
|
1126
1127
|
return t.correspondingElement && (t = t.correspondingElement), t.className.baseVal === void 0 ? t.className : t.className.baseVal;
|
|
1127
1128
|
}
|
|
1128
1129
|
function V(t, e) {
|
|
1129
|
-
"opacity" in t.style ? t.style.opacity = e : "filter" in t.style &&
|
|
1130
|
+
"opacity" in t.style ? t.style.opacity = e : "filter" in t.style && Xn(t, e);
|
|
1130
1131
|
}
|
|
1131
|
-
function
|
|
1132
|
+
function Xn(t, e) {
|
|
1132
1133
|
var i = !1, n = "DXImageTransform.Microsoft.Alpha";
|
|
1133
1134
|
try {
|
|
1134
1135
|
i = t.filters.item(n);
|
|
@@ -1138,7 +1139,7 @@ function jo() {
|
|
|
1138
1139
|
}
|
|
1139
1140
|
e = Math.round(e * 100), i ? (i.Enabled = e !== 100, i.Opacity = e) : t.style.filter += " progid:" + n + "(opacity=" + e + ")";
|
|
1140
1141
|
}
|
|
1141
|
-
function
|
|
1142
|
+
function Qt(t) {
|
|
1142
1143
|
for (var e = document.documentElement.style, i = 0; i < t.length; i++)
|
|
1143
1144
|
if (t[i] in e)
|
|
1144
1145
|
return t[i];
|
|
@@ -1162,7 +1163,7 @@ function jo() {
|
|
|
1162
1163
|
M(window, "selectstart", N);
|
|
1163
1164
|
};
|
|
1164
1165
|
else {
|
|
1165
|
-
var Bt =
|
|
1166
|
+
var Bt = Qt(
|
|
1166
1167
|
["userSelect", "WebkitUserSelect", "OUserSelect", "MozUserSelect", "msUserSelect"]
|
|
1167
1168
|
);
|
|
1168
1169
|
It = function() {
|
|
@@ -1180,14 +1181,14 @@ function jo() {
|
|
|
1180
1181
|
function Ee() {
|
|
1181
1182
|
M(window, "dragstart", N);
|
|
1182
1183
|
}
|
|
1183
|
-
var
|
|
1184
|
+
var $t, Ze;
|
|
1184
1185
|
function Oe(t) {
|
|
1185
1186
|
for (; t.tabIndex === -1; )
|
|
1186
1187
|
t = t.parentNode;
|
|
1187
|
-
t.style && (te(),
|
|
1188
|
+
t.style && (te(), $t = t, Ze = t.style.outlineStyle, t.style.outlineStyle = "none", p(window, "keydown", te));
|
|
1188
1189
|
}
|
|
1189
1190
|
function te() {
|
|
1190
|
-
|
|
1191
|
+
$t && ($t.style.outlineStyle = Ze, $t = void 0, Ze = void 0, M(window, "keydown", te));
|
|
1191
1192
|
}
|
|
1192
1193
|
function zi(t) {
|
|
1193
1194
|
do
|
|
@@ -1203,7 +1204,7 @@ function jo() {
|
|
|
1203
1204
|
boundingClientRect: e
|
|
1204
1205
|
};
|
|
1205
1206
|
}
|
|
1206
|
-
var
|
|
1207
|
+
var Jn = {
|
|
1207
1208
|
__proto__: null,
|
|
1208
1209
|
TRANSFORM: Me,
|
|
1209
1210
|
TRANSITION: Zt,
|
|
@@ -1221,7 +1222,7 @@ function jo() {
|
|
|
1221
1222
|
setClass: Ce,
|
|
1222
1223
|
getClass: Jt,
|
|
1223
1224
|
setOpacity: V,
|
|
1224
|
-
testProp:
|
|
1225
|
+
testProp: Qt,
|
|
1225
1226
|
setTransform: _t,
|
|
1226
1227
|
setPosition: I,
|
|
1227
1228
|
getPosition: mt,
|
|
@@ -1249,10 +1250,10 @@ function jo() {
|
|
|
1249
1250
|
}
|
|
1250
1251
|
return this;
|
|
1251
1252
|
}
|
|
1252
|
-
var
|
|
1253
|
+
var $ = "_leaflet_events";
|
|
1253
1254
|
function M(t, e, i, n) {
|
|
1254
1255
|
if (arguments.length === 1)
|
|
1255
|
-
ki(t), delete t[
|
|
1256
|
+
ki(t), delete t[$];
|
|
1256
1257
|
else if (e && typeof e == "object")
|
|
1257
1258
|
for (var o in e)
|
|
1258
1259
|
Ne(t, o, e[o], i);
|
|
@@ -1266,7 +1267,7 @@ function jo() {
|
|
|
1266
1267
|
return this;
|
|
1267
1268
|
}
|
|
1268
1269
|
function ki(t, e) {
|
|
1269
|
-
for (var i in t[
|
|
1270
|
+
for (var i in t[$]) {
|
|
1270
1271
|
var n = i.split(/\d/)[0];
|
|
1271
1272
|
(!e || e(n)) && Ne(t, n, null, null, i);
|
|
1272
1273
|
}
|
|
@@ -1278,21 +1279,21 @@ function jo() {
|
|
|
1278
1279
|
};
|
|
1279
1280
|
function Be(t, e, i, n) {
|
|
1280
1281
|
var o = e + P(i) + (n ? "_" + P(n) : "");
|
|
1281
|
-
if (t[
|
|
1282
|
+
if (t[$] && t[$][o])
|
|
1282
1283
|
return this;
|
|
1283
1284
|
var s = function(a) {
|
|
1284
1285
|
return i.call(n || t, a || window.event);
|
|
1285
1286
|
}, r = s;
|
|
1286
|
-
!f.touchNative && f.pointer && e.indexOf("touch") === 0 ? s =
|
|
1287
|
+
!f.touchNative && f.pointer && e.indexOf("touch") === 0 ? s = Fn(t, e, s) : f.touch && e === "dblclick" ? s = Kn(t, s) : "addEventListener" in t ? e === "touchstart" || e === "touchmove" || e === "wheel" || e === "mousewheel" ? t.addEventListener(Ae[e] || e, s, f.passiveEvents ? { passive: !1 } : !1) : e === "mouseenter" || e === "mouseleave" ? (s = function(a) {
|
|
1287
1288
|
a = a || window.event, De(t, a) && r(a);
|
|
1288
|
-
}, t.addEventListener(Ae[e], s, !1)) : t.addEventListener(e, r, !1) : t.attachEvent("on" + e, s), t[
|
|
1289
|
+
}, t.addEventListener(Ae[e], s, !1)) : t.addEventListener(e, r, !1) : t.attachEvent("on" + e, s), t[$] = t[$] || {}, t[$][o] = s;
|
|
1289
1290
|
}
|
|
1290
1291
|
function Ne(t, e, i, n, o) {
|
|
1291
1292
|
o = o || e + P(i) + (n ? "_" + P(n) : "");
|
|
1292
|
-
var s = t[
|
|
1293
|
+
var s = t[$] && t[$][o];
|
|
1293
1294
|
if (!s)
|
|
1294
1295
|
return this;
|
|
1295
|
-
!f.touchNative && f.pointer && e.indexOf("touch") === 0 ? Hn(t, e, s) : f.touch && e === "dblclick" ?
|
|
1296
|
+
!f.touchNative && f.pointer && e.indexOf("touch") === 0 ? Hn(t, e, s) : f.touch && e === "dblclick" ? Yn(t, s) : "removeEventListener" in t ? t.removeEventListener(Ae[e] || e, s, !1) : t.detachEvent("on" + e, s), t[$][o] = null;
|
|
1296
1297
|
}
|
|
1297
1298
|
function pt(t) {
|
|
1298
1299
|
return t.stopPropagation ? t.stopPropagation() : t.originalEvent ? t.originalEvent._stopped = !0 : t.cancelBubble = !0, this;
|
|
@@ -1327,11 +1328,11 @@ function jo() {
|
|
|
1327
1328
|
(t.clientY - n.top) / i.y - e.clientTop
|
|
1328
1329
|
);
|
|
1329
1330
|
}
|
|
1330
|
-
var
|
|
1331
|
+
var Qn = f.linux && f.chrome ? window.devicePixelRatio : f.mac ? window.devicePixelRatio * 3 : window.devicePixelRatio > 0 ? 2 * window.devicePixelRatio : 1;
|
|
1331
1332
|
function Oi(t) {
|
|
1332
1333
|
return f.edge ? t.wheelDeltaY / 2 : (
|
|
1333
1334
|
// Don't trust window-geometry-based delta
|
|
1334
|
-
t.deltaY && t.deltaMode === 0 ? -t.deltaY /
|
|
1335
|
+
t.deltaY && t.deltaMode === 0 ? -t.deltaY / Qn : (
|
|
1335
1336
|
// Pixels
|
|
1336
1337
|
t.deltaY && t.deltaMode === 1 ? -t.deltaY * 20 : (
|
|
1337
1338
|
// Lines
|
|
@@ -1594,8 +1595,8 @@ function jo() {
|
|
|
1594
1595
|
t = y(t), e = e === void 0 ? r : e;
|
|
1595
1596
|
var a = Math.max(s.x, s.y), h = a * this.getZoomScale(r, e), u = o.distanceTo(n) || 1, c = 1.42, d = c * c;
|
|
1596
1597
|
function g(A) {
|
|
1597
|
-
var fe = A ? -1 : 1,
|
|
1598
|
-
return
|
|
1598
|
+
var fe = A ? -1 : 1, Wo = A ? h : a, Uo = h * h - a * a + fe * d * d * u * u, Go = 2 * Wo * d * u, Xe = Uo / Go, mn = Math.sqrt(Xe * Xe + 1) - Xe, Vo = mn < 1e-9 ? -18 : Math.log(mn);
|
|
1599
|
+
return Vo;
|
|
1599
1600
|
}
|
|
1600
1601
|
function R(A) {
|
|
1601
1602
|
return (Math.exp(A) - Math.exp(-A)) / 2;
|
|
@@ -1610,17 +1611,17 @@ function jo() {
|
|
|
1610
1611
|
function St(A) {
|
|
1611
1612
|
return a * (B(W) / B(W + c * A));
|
|
1612
1613
|
}
|
|
1613
|
-
function
|
|
1614
|
+
function Ro(A) {
|
|
1614
1615
|
return a * (B(W) * j(W + c * A) - R(W)) / d;
|
|
1615
1616
|
}
|
|
1616
|
-
function
|
|
1617
|
+
function Do(A) {
|
|
1617
1618
|
return 1 - Math.pow(1 - A, 1.5);
|
|
1618
1619
|
}
|
|
1619
|
-
var
|
|
1620
|
+
var Fo = Date.now(), dn = (g(1) - W) / c, Ho = i.duration ? 1e3 * i.duration : 1e3 * dn * 0.8;
|
|
1620
1621
|
function _n() {
|
|
1621
|
-
var A = (Date.now() -
|
|
1622
|
+
var A = (Date.now() - Fo) / Ho, fe = Do(A) * dn;
|
|
1622
1623
|
A <= 1 ? (this._flyToFrame = D(_n, this), this._move(
|
|
1623
|
-
this.unproject(n.add(o.subtract(n).multiplyBy(
|
|
1624
|
+
this.unproject(n.add(o.subtract(n).multiplyBy(Ro(fe) / u)), r),
|
|
1624
1625
|
this.getScaleZoom(a / St(fe), r),
|
|
1625
1626
|
{ flyTo: !0 }
|
|
1626
1627
|
)) : this._move(t, e)._moveEnd(!0);
|
|
@@ -1665,7 +1666,7 @@ function jo() {
|
|
|
1665
1666
|
// the map will not be panned.
|
|
1666
1667
|
panInside: function(t, e) {
|
|
1667
1668
|
e = e || {};
|
|
1668
|
-
var i = _(e.paddingTopLeft || e.padding || [0, 0]), n = _(e.paddingBottomRight || e.padding || [0, 0]), o = this.project(this.getCenter()), s = this.project(t), r = this.getPixelBounds(), a =
|
|
1669
|
+
var i = _(e.paddingTopLeft || e.padding || [0, 0]), n = _(e.paddingBottomRight || e.padding || [0, 0]), o = this.project(this.getCenter()), s = this.project(t), r = this.getPixelBounds(), a = F([r.min.add(i), r.max.subtract(n)]), h = a.getSize();
|
|
1669
1670
|
if (!a.contains(s)) {
|
|
1670
1671
|
this._enforcingBounds = !0;
|
|
1671
1672
|
var u = s.subtract(a.getCenter()), c = a.extend(s).getSize().subtract(h);
|
|
@@ -1816,7 +1817,7 @@ function jo() {
|
|
|
1816
1817
|
// Returns the geographical bounds visible in the current map view
|
|
1817
1818
|
getBounds: function() {
|
|
1818
1819
|
var t = this.getPixelBounds(), e = this.unproject(t.getBottomLeft()), i = this.unproject(t.getTopRight());
|
|
1819
|
-
return new
|
|
1820
|
+
return new H(e, i);
|
|
1820
1821
|
},
|
|
1821
1822
|
// @method getMinZoom(): Number
|
|
1822
1823
|
// Returns the minimum zoom level of the map (if set in the `minZoom` option of the map or of any layers), or `0` by default.
|
|
@@ -1835,7 +1836,7 @@ function jo() {
|
|
|
1835
1836
|
// the given bounds in its entirety.
|
|
1836
1837
|
getBoundsZoom: function(t, e, i) {
|
|
1837
1838
|
t = O(t), i = _(i || [0, 0]);
|
|
1838
|
-
var n = this.getZoom() || 0, o = this.getMinZoom(), s = this.getMaxZoom(), r = t.getNorthWest(), a = t.getSouthEast(), h = this.getSize().subtract(i), u =
|
|
1839
|
+
var n = this.getZoom() || 0, o = this.getMinZoom(), s = this.getMaxZoom(), r = t.getNorthWest(), a = t.getSouthEast(), h = this.getSize().subtract(i), u = F(this.project(a, n), this.project(r, n)).getSize(), c = f.any3d ? this.options.zoomSnap : 1, d = h.x / u.x, g = h.y / u.y, R = e ? Math.max(d, g) : Math.min(d, g);
|
|
1839
1840
|
return n = this.getScaleZoom(R, n), c && (n = Math.round(n / (c / 100)) * (c / 100), n = e ? Math.ceil(n / c) * c : Math.floor(n / c) * c), Math.max(o, Math.min(s, n));
|
|
1840
1841
|
},
|
|
1841
1842
|
// @method getSize(): Point
|
|
@@ -2163,7 +2164,7 @@ function jo() {
|
|
|
2163
2164
|
},
|
|
2164
2165
|
_latLngBoundsToNewLayerBounds: function(t, e, i) {
|
|
2165
2166
|
var n = this._getNewPixelOrigin(i, e);
|
|
2166
|
-
return
|
|
2167
|
+
return F([
|
|
2167
2168
|
this.project(t.getSouthWest(), e)._subtract(n),
|
|
2168
2169
|
this.project(t.getNorthWest(), e)._subtract(n),
|
|
2169
2170
|
this.project(t.getSouthEast(), e)._subtract(n),
|
|
@@ -2194,7 +2195,7 @@ function jo() {
|
|
|
2194
2195
|
},
|
|
2195
2196
|
// returns offset needed for pxBounds to get inside maxBounds at a specified zoom
|
|
2196
2197
|
_getBoundsOffset: function(t, e, i) {
|
|
2197
|
-
var n =
|
|
2198
|
+
var n = F(
|
|
2198
2199
|
this.project(e.getNorthEast(), i),
|
|
2199
2200
|
this.project(e.getSouthWest(), i)
|
|
2200
2201
|
), o = n.min.subtract(t.min), s = n.max.subtract(t.max), r = this._rebound(o.x, -s.x), a = this._rebound(o.y, -s.y);
|
|
@@ -2258,7 +2259,7 @@ function jo() {
|
|
|
2258
2259
|
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));
|
|
2259
2260
|
}
|
|
2260
2261
|
});
|
|
2261
|
-
function
|
|
2262
|
+
function to(t, e) {
|
|
2262
2263
|
return new w(t, e);
|
|
2263
2264
|
}
|
|
2264
2265
|
var Y = nt.extend({
|
|
@@ -2504,9 +2505,9 @@ function jo() {
|
|
|
2504
2505
|
M(t, "click", N), e._preventClick = !1;
|
|
2505
2506
|
});
|
|
2506
2507
|
}
|
|
2507
|
-
}),
|
|
2508
|
+
}), eo = function(t, e, i) {
|
|
2508
2509
|
return new Ai(t, e, i);
|
|
2509
|
-
},
|
|
2510
|
+
}, Fe = Y.extend({
|
|
2510
2511
|
// @section
|
|
2511
2512
|
// @aka Control.Zoom options
|
|
2512
2513
|
options: {
|
|
@@ -2567,10 +2568,10 @@ function jo() {
|
|
|
2567
2568
|
w.mergeOptions({
|
|
2568
2569
|
zoomControl: !0
|
|
2569
2570
|
}), w.addInitHook(function() {
|
|
2570
|
-
this.options.zoomControl && (this.zoomControl = new
|
|
2571
|
+
this.options.zoomControl && (this.zoomControl = new Fe(), this.addControl(this.zoomControl));
|
|
2571
2572
|
});
|
|
2572
|
-
var
|
|
2573
|
-
return new
|
|
2573
|
+
var io = function(t) {
|
|
2574
|
+
return new Fe(t);
|
|
2574
2575
|
}, Bi = Y.extend({
|
|
2575
2576
|
// @section
|
|
2576
2577
|
// @aka Control.Scale options
|
|
@@ -2623,16 +2624,16 @@ function jo() {
|
|
|
2623
2624
|
var e = Math.pow(10, (Math.floor(t) + "").length - 1), i = t / e;
|
|
2624
2625
|
return i = i >= 10 ? 10 : i >= 5 ? 5 : i >= 3 ? 3 : i >= 2 ? 2 : 1, e * i;
|
|
2625
2626
|
}
|
|
2626
|
-
}),
|
|
2627
|
+
}), no = function(t) {
|
|
2627
2628
|
return new Bi(t);
|
|
2628
|
-
},
|
|
2629
|
+
}, oo = '<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>', He = Y.extend({
|
|
2629
2630
|
// @section
|
|
2630
2631
|
// @aka Control.Attribution options
|
|
2631
2632
|
options: {
|
|
2632
2633
|
position: "bottomright",
|
|
2633
2634
|
// @option prefix: String|false = 'Leaflet'
|
|
2634
2635
|
// The HTML text shown before the attributions. Pass `false` to disable.
|
|
2635
|
-
prefix: '<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">' + (f.inlineSvg ?
|
|
2636
|
+
prefix: '<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">' + (f.inlineSvg ? oo + " " : "") + "Leaflet</a>"
|
|
2636
2637
|
},
|
|
2637
2638
|
initialize: function(t) {
|
|
2638
2639
|
C(this, t), this._attributions = {};
|
|
@@ -2679,12 +2680,12 @@ function jo() {
|
|
|
2679
2680
|
w.mergeOptions({
|
|
2680
2681
|
attributionControl: !0
|
|
2681
2682
|
}), w.addInitHook(function() {
|
|
2682
|
-
this.options.attributionControl && new
|
|
2683
|
+
this.options.attributionControl && new He().addTo(this);
|
|
2683
2684
|
});
|
|
2684
|
-
var
|
|
2685
|
-
return new
|
|
2685
|
+
var so = function(t) {
|
|
2686
|
+
return new He(t);
|
|
2686
2687
|
};
|
|
2687
|
-
Y.Layers = Ai, Y.Zoom =
|
|
2688
|
+
Y.Layers = Ai, Y.Zoom = Fe, Y.Scale = Bi, Y.Attribution = He, Rt.layers = eo, Rt.zoom = io, Rt.scale = no, Rt.attribution = so;
|
|
2688
2689
|
var tt = nt.extend({
|
|
2689
2690
|
initialize: function(t) {
|
|
2690
2691
|
this._map = t;
|
|
@@ -2714,7 +2715,7 @@ function jo() {
|
|
|
2714
2715
|
tt.addTo = function(t, e) {
|
|
2715
2716
|
return t.addHandler(e, this), this;
|
|
2716
2717
|
};
|
|
2717
|
-
var
|
|
2718
|
+
var ro = { Events: U }, Ni = f.touch ? "touchstart mousedown" : "mousedown", ct = zt.extend({
|
|
2718
2719
|
options: {
|
|
2719
2720
|
// @section
|
|
2720
2721
|
// @aka Draggable options
|
|
@@ -2815,25 +2816,25 @@ function jo() {
|
|
|
2815
2816
|
}
|
|
2816
2817
|
return y([e / n, i / n]);
|
|
2817
2818
|
}
|
|
2818
|
-
var
|
|
2819
|
+
var ao = {
|
|
2819
2820
|
__proto__: null,
|
|
2820
2821
|
clipPolygon: Ri,
|
|
2821
2822
|
polygonCenter: Di,
|
|
2822
2823
|
centroid: We
|
|
2823
2824
|
};
|
|
2824
|
-
function
|
|
2825
|
+
function Fi(t, e) {
|
|
2825
2826
|
if (!e || !t.length)
|
|
2826
2827
|
return t.slice();
|
|
2827
2828
|
var i = e * e;
|
|
2828
|
-
return t =
|
|
2829
|
+
return t = lo(t, i), t = uo(t, i), t;
|
|
2829
2830
|
}
|
|
2830
|
-
function
|
|
2831
|
+
function Hi(t, e, i) {
|
|
2831
2832
|
return Math.sqrt(Dt(t, e, i, !0));
|
|
2832
2833
|
}
|
|
2833
|
-
function
|
|
2834
|
+
function ho(t, e, i) {
|
|
2834
2835
|
return Dt(t, e, i);
|
|
2835
2836
|
}
|
|
2836
|
-
function
|
|
2837
|
+
function uo(t, e) {
|
|
2837
2838
|
var i = t.length, n = typeof Uint8Array < "u" ? Uint8Array : Array, o = new n(i);
|
|
2838
2839
|
o[0] = o[i - 1] = 1, Ue(t, o, e, 0, i - 1);
|
|
2839
2840
|
var s, r = [];
|
|
@@ -2847,9 +2848,9 @@ function jo() {
|
|
|
2847
2848
|
h = Dt(t[a], t[n], t[o], !0), h > s && (r = a, s = h);
|
|
2848
2849
|
s > i && (e[r] = 1, Ue(t, e, i, n, r), Ue(t, e, i, r, o));
|
|
2849
2850
|
}
|
|
2850
|
-
function
|
|
2851
|
+
function lo(t, e) {
|
|
2851
2852
|
for (var i = [t[0]], n = 1, o = 0, s = t.length; n < s; n++)
|
|
2852
|
-
|
|
2853
|
+
co(t[n], t[o]) > e && (i.push(t[n]), o = n);
|
|
2853
2854
|
return o < s - 1 && i.push(t[s - 1]), i;
|
|
2854
2855
|
}
|
|
2855
2856
|
var Wi;
|
|
@@ -2871,7 +2872,7 @@ function jo() {
|
|
|
2871
2872
|
var i = 0;
|
|
2872
2873
|
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;
|
|
2873
2874
|
}
|
|
2874
|
-
function
|
|
2875
|
+
function co(t, e) {
|
|
2875
2876
|
var i = e.x - t.x, n = e.y - t.y;
|
|
2876
2877
|
return i * i + n * n;
|
|
2877
2878
|
}
|
|
@@ -2913,11 +2914,11 @@ function jo() {
|
|
|
2913
2914
|
var W = e.unproject(_(u));
|
|
2914
2915
|
return y([W.lat + c.lat, W.lng + c.lng]);
|
|
2915
2916
|
}
|
|
2916
|
-
var
|
|
2917
|
+
var fo = {
|
|
2917
2918
|
__proto__: null,
|
|
2918
|
-
simplify:
|
|
2919
|
-
pointToSegmentDistance:
|
|
2920
|
-
closestPointOnSegment:
|
|
2919
|
+
simplify: Fi,
|
|
2920
|
+
pointToSegmentDistance: Hi,
|
|
2921
|
+
closestPointOnSegment: ho,
|
|
2921
2922
|
clipSegment: Ui,
|
|
2922
2923
|
_getEdgeIntersection: ee,
|
|
2923
2924
|
_getBitCode: gt,
|
|
@@ -2946,12 +2947,12 @@ function jo() {
|
|
|
2946
2947
|
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;
|
|
2947
2948
|
return new b(r * e, t.x * e / i);
|
|
2948
2949
|
}
|
|
2949
|
-
},
|
|
2950
|
+
}, _o = {
|
|
2950
2951
|
__proto__: null,
|
|
2951
2952
|
LonLat: Ge,
|
|
2952
2953
|
Mercator: Ve,
|
|
2953
2954
|
SphericalMercator: ve
|
|
2954
|
-
},
|
|
2955
|
+
}, mo = x({}, lt, {
|
|
2955
2956
|
code: "EPSG:3395",
|
|
2956
2957
|
projection: Ve,
|
|
2957
2958
|
transformation: (function() {
|
|
@@ -2962,7 +2963,7 @@ function jo() {
|
|
|
2962
2963
|
code: "EPSG:4326",
|
|
2963
2964
|
projection: Ge,
|
|
2964
2965
|
transformation: kt(1 / 180, 1, -1 / 180, 0.5)
|
|
2965
|
-
}),
|
|
2966
|
+
}), po = x({}, ot, {
|
|
2966
2967
|
projection: Ge,
|
|
2967
2968
|
transformation: kt(1, 0, -1, 0),
|
|
2968
2969
|
scale: function(t) {
|
|
@@ -2977,7 +2978,7 @@ function jo() {
|
|
|
2977
2978
|
},
|
|
2978
2979
|
infinite: !0
|
|
2979
2980
|
});
|
|
2980
|
-
ot.Earth = lt, ot.EPSG3395 =
|
|
2981
|
+
ot.Earth = lt, ot.EPSG3395 = mo, ot.EPSG3857 = ye, ot.EPSG900913 = xn, ot.EPSG4326 = qi, ot.Simple = po;
|
|
2981
2982
|
var X = zt.extend({
|
|
2982
2983
|
// Classes extending `L.Layer` will inherit the following options:
|
|
2983
2984
|
options: {
|
|
@@ -3181,7 +3182,7 @@ function jo() {
|
|
|
3181
3182
|
getLayerId: function(t) {
|
|
3182
3183
|
return P(t);
|
|
3183
3184
|
}
|
|
3184
|
-
}),
|
|
3185
|
+
}), vo = function(t, e) {
|
|
3185
3186
|
return new Pt(t, e);
|
|
3186
3187
|
}, st = Pt.extend({
|
|
3187
3188
|
addLayer: function(t) {
|
|
@@ -3208,14 +3209,14 @@ function jo() {
|
|
|
3208
3209
|
// @method getBounds(): LatLngBounds
|
|
3209
3210
|
// Returns the LatLngBounds of the Feature Group (created from bounds and coordinates of its children).
|
|
3210
3211
|
getBounds: function() {
|
|
3211
|
-
var t = new
|
|
3212
|
+
var t = new H();
|
|
3212
3213
|
for (var e in this._layers) {
|
|
3213
3214
|
var i = this._layers[e];
|
|
3214
3215
|
t.extend(i.getBounds ? i.getBounds() : i.getLatLng());
|
|
3215
3216
|
}
|
|
3216
3217
|
return t;
|
|
3217
3218
|
}
|
|
3218
|
-
}),
|
|
3219
|
+
}), go = function(t, e) {
|
|
3219
3220
|
return new st(t, e);
|
|
3220
3221
|
}, Lt = nt.extend({
|
|
3221
3222
|
/* @section
|
|
@@ -3303,10 +3304,10 @@ function jo() {
|
|
|
3303
3304
|
return f.retina && this.options[t + "RetinaUrl"] || this.options[t + "Url"];
|
|
3304
3305
|
}
|
|
3305
3306
|
});
|
|
3306
|
-
function
|
|
3307
|
+
function yo(t) {
|
|
3307
3308
|
return new Lt(t);
|
|
3308
3309
|
}
|
|
3309
|
-
var
|
|
3310
|
+
var Ft = Lt.extend({
|
|
3310
3311
|
options: {
|
|
3311
3312
|
iconUrl: "marker-icon.png",
|
|
3312
3313
|
iconRetinaUrl: "marker-icon-2x.png",
|
|
@@ -3318,7 +3319,7 @@ function jo() {
|
|
|
3318
3319
|
shadowSize: [41, 41]
|
|
3319
3320
|
},
|
|
3320
3321
|
_getIconUrl: function(t) {
|
|
3321
|
-
return typeof
|
|
3322
|
+
return typeof Ft.imagePath != "string" && (Ft.imagePath = this._detectIconPath()), (this.options.imagePath || Ft.imagePath) + Lt.prototype._getIconUrl.call(this, t);
|
|
3322
3323
|
},
|
|
3323
3324
|
_stripUrl: function(t) {
|
|
3324
3325
|
var e = function(i, n, o) {
|
|
@@ -3359,7 +3360,7 @@ function jo() {
|
|
|
3359
3360
|
return this._draggable && this._draggable._moved;
|
|
3360
3361
|
},
|
|
3361
3362
|
_adjustPan: function(t) {
|
|
3362
|
-
var e = this._marker, i = e._map, n = this._marker.options.autoPanSpeed, o = this._marker.options.autoPanPadding, s = mt(e._icon), r = i.getPixelBounds(), a = i.getPixelOrigin(), h =
|
|
3363
|
+
var e = this._marker, i = e._map, n = this._marker.options.autoPanSpeed, o = this._marker.options.autoPanPadding, s = mt(e._icon), r = i.getPixelBounds(), a = i.getPixelOrigin(), h = F(
|
|
3363
3364
|
r.min._subtract(a).add(o),
|
|
3364
3365
|
r.max._subtract(a).subtract(o)
|
|
3365
3366
|
);
|
|
@@ -3392,7 +3393,7 @@ function jo() {
|
|
|
3392
3393
|
// Icon instance to use for rendering the marker.
|
|
3393
3394
|
// See [Icon documentation](#L.Icon) for details on how to customize the marker icon.
|
|
3394
3395
|
// If not specified, a common instance of `L.Icon.Default` is used.
|
|
3395
|
-
icon: new
|
|
3396
|
+
icon: new Ft(),
|
|
3396
3397
|
// Option inherited from "Interactive layer" abstract class
|
|
3397
3398
|
interactive: !0,
|
|
3398
3399
|
// @option keyboard: Boolean = true
|
|
@@ -3569,7 +3570,7 @@ function jo() {
|
|
|
3569
3570
|
return this.options.icon.options.tooltipAnchor;
|
|
3570
3571
|
}
|
|
3571
3572
|
});
|
|
3572
|
-
function
|
|
3573
|
+
function wo(t, e) {
|
|
3573
3574
|
return new ie(t, e);
|
|
3574
3575
|
}
|
|
3575
3576
|
var ft = X.extend({
|
|
@@ -3716,7 +3717,7 @@ function jo() {
|
|
|
3716
3717
|
return t.distanceTo(this._point) <= this._radius + this._clickTolerance();
|
|
3717
3718
|
}
|
|
3718
3719
|
});
|
|
3719
|
-
function
|
|
3720
|
+
function xo(t, e) {
|
|
3720
3721
|
return new ne(t, e);
|
|
3721
3722
|
}
|
|
3722
3723
|
var qe = ne.extend({
|
|
@@ -3739,7 +3740,7 @@ function jo() {
|
|
|
3739
3740
|
// Returns the `LatLngBounds` of the path.
|
|
3740
3741
|
getBounds: function() {
|
|
3741
3742
|
var t = [this._radius, this._radiusY || this._radius];
|
|
3742
|
-
return new
|
|
3743
|
+
return new H(
|
|
3743
3744
|
this._map.layerPointToLatLng(this._point.subtract(t)),
|
|
3744
3745
|
this._map.layerPointToLatLng(this._point.add(t))
|
|
3745
3746
|
);
|
|
@@ -3757,7 +3758,7 @@ function jo() {
|
|
|
3757
3758
|
this._updateBounds();
|
|
3758
3759
|
}
|
|
3759
3760
|
});
|
|
3760
|
-
function
|
|
3761
|
+
function Po(t, e, i) {
|
|
3761
3762
|
return new qe(t, e, i);
|
|
3762
3763
|
}
|
|
3763
3764
|
var rt = ft.extend({
|
|
@@ -3821,7 +3822,7 @@ function jo() {
|
|
|
3821
3822
|
return e = e || this._defaultShape(), t = y(t), e.push(t), this._bounds.extend(t), this.redraw();
|
|
3822
3823
|
},
|
|
3823
3824
|
_setLatLngs: function(t) {
|
|
3824
|
-
this._bounds = new
|
|
3825
|
+
this._bounds = new H(), this._latlngs = this._convertLatLngs(t);
|
|
3825
3826
|
},
|
|
3826
3827
|
_defaultShape: function() {
|
|
3827
3828
|
return q(this._latlngs) ? this._latlngs : this._latlngs[0];
|
|
@@ -3871,7 +3872,7 @@ function jo() {
|
|
|
3871
3872
|
// simplify each clipped part of the polyline for performance
|
|
3872
3873
|
_simplifyPoints: function() {
|
|
3873
3874
|
for (var t = this._parts, e = this.options.smoothFactor, i = 0, n = t.length; i < n; i++)
|
|
3874
|
-
t[i] =
|
|
3875
|
+
t[i] = Fi(t[i], e);
|
|
3875
3876
|
},
|
|
3876
3877
|
_update: function() {
|
|
3877
3878
|
this._map && (this._clipPoints(), this._simplifyPoints(), this._updatePath());
|
|
@@ -3886,12 +3887,12 @@ function jo() {
|
|
|
3886
3887
|
return !1;
|
|
3887
3888
|
for (i = 0, s = this._parts.length; i < s; i++)
|
|
3888
3889
|
for (a = this._parts[i], n = 0, r = a.length, o = r - 1; n < r; o = n++)
|
|
3889
|
-
if (!(!e && n === 0) &&
|
|
3890
|
+
if (!(!e && n === 0) && Hi(t, a[o], a[n]) <= h)
|
|
3890
3891
|
return !0;
|
|
3891
3892
|
return !1;
|
|
3892
3893
|
}
|
|
3893
3894
|
});
|
|
3894
|
-
function
|
|
3895
|
+
function Lo(t, e) {
|
|
3895
3896
|
return new rt(t, e);
|
|
3896
3897
|
}
|
|
3897
3898
|
rt._flat = Gi;
|
|
@@ -3944,7 +3945,7 @@ function jo() {
|
|
|
3944
3945
|
return e || rt.prototype._containsPoint.call(this, t, !0);
|
|
3945
3946
|
}
|
|
3946
3947
|
});
|
|
3947
|
-
function
|
|
3948
|
+
function To(t, e) {
|
|
3948
3949
|
return new Tt(t, e);
|
|
3949
3950
|
}
|
|
3950
3951
|
var at = st.extend({
|
|
@@ -4162,7 +4163,7 @@ function jo() {
|
|
|
4162
4163
|
function Yi(t, e) {
|
|
4163
4164
|
return new at(t, e);
|
|
4164
4165
|
}
|
|
4165
|
-
var
|
|
4166
|
+
var bo = Yi, he = X.extend({
|
|
4166
4167
|
// @section
|
|
4167
4168
|
// @aka ImageOverlay options
|
|
4168
4169
|
options: {
|
|
@@ -4285,7 +4286,7 @@ function jo() {
|
|
|
4285
4286
|
getCenter: function() {
|
|
4286
4287
|
return this._bounds.getCenter();
|
|
4287
4288
|
}
|
|
4288
|
-
}),
|
|
4289
|
+
}), Mo = function(t, e, i) {
|
|
4289
4290
|
return new he(t, e, i);
|
|
4290
4291
|
}, Xi = he.extend({
|
|
4291
4292
|
// @section
|
|
@@ -4327,7 +4328,7 @@ function jo() {
|
|
|
4327
4328
|
// Returns the instance of [`HTMLVideoElement`](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement)
|
|
4328
4329
|
// used by this overlay.
|
|
4329
4330
|
});
|
|
4330
|
-
function
|
|
4331
|
+
function So(t, e, i) {
|
|
4331
4332
|
return new Xi(t, e, i);
|
|
4332
4333
|
}
|
|
4333
4334
|
var Ji = he.extend({
|
|
@@ -4339,7 +4340,7 @@ function jo() {
|
|
|
4339
4340
|
// Returns the instance of [`SVGElement`](https://developer.mozilla.org/docs/Web/API/SVGElement)
|
|
4340
4341
|
// used by this overlay.
|
|
4341
4342
|
});
|
|
4342
|
-
function
|
|
4343
|
+
function Co(t, e, i) {
|
|
4343
4344
|
return new Ji(t, e, i);
|
|
4344
4345
|
}
|
|
4345
4346
|
var et = X.extend({
|
|
@@ -4625,7 +4626,7 @@ function jo() {
|
|
|
4625
4626
|
_getAnchor: function() {
|
|
4626
4627
|
return _(this._source && this._source._getPopupAnchor ? this._source._getPopupAnchor() : [0, 0]);
|
|
4627
4628
|
}
|
|
4628
|
-
}),
|
|
4629
|
+
}), zo = function(t, e) {
|
|
4629
4630
|
return new ue(t, e);
|
|
4630
4631
|
};
|
|
4631
4632
|
w.mergeOptions({
|
|
@@ -4777,7 +4778,7 @@ function jo() {
|
|
|
4777
4778
|
_getAnchor: function() {
|
|
4778
4779
|
return _(this._source && this._source._getTooltipAnchor && !this.options.sticky ? this._source._getTooltipAnchor() : [0, 0]);
|
|
4779
4780
|
}
|
|
4780
|
-
}),
|
|
4781
|
+
}), ko = function(t, e) {
|
|
4781
4782
|
return new le(t, e);
|
|
4782
4783
|
};
|
|
4783
4784
|
w.include({
|
|
@@ -4878,7 +4879,7 @@ function jo() {
|
|
|
4878
4879
|
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);
|
|
4879
4880
|
}
|
|
4880
4881
|
});
|
|
4881
|
-
var
|
|
4882
|
+
var Qi = Lt.extend({
|
|
4882
4883
|
options: {
|
|
4883
4884
|
// @section
|
|
4884
4885
|
// @aka DivIcon options
|
|
@@ -4907,11 +4908,11 @@ function jo() {
|
|
|
4907
4908
|
return null;
|
|
4908
4909
|
}
|
|
4909
4910
|
});
|
|
4910
|
-
function
|
|
4911
|
-
return new
|
|
4911
|
+
function Eo(t) {
|
|
4912
|
+
return new Qi(t);
|
|
4912
4913
|
}
|
|
4913
|
-
Lt.Default =
|
|
4914
|
-
var
|
|
4914
|
+
Lt.Default = Ft;
|
|
4915
|
+
var Ht = X.extend({
|
|
4915
4916
|
// @section
|
|
4916
4917
|
// @aka GridLayer options
|
|
4917
4918
|
options: {
|
|
@@ -5031,7 +5032,7 @@ function jo() {
|
|
|
5031
5032
|
zoom: this._resetView,
|
|
5032
5033
|
moveend: this._onMoveEnd
|
|
5033
5034
|
};
|
|
5034
|
-
return this.options.updateWhenIdle || (this._onMove || (this._onMove =
|
|
5035
|
+
return this.options.updateWhenIdle || (this._onMove || (this._onMove = Qe(this._onMoveEnd, this.options.updateInterval, this)), t.move = this._onMove), this._zoomAnimated && (t.zoomanim = this._animateZoom), t;
|
|
5035
5036
|
},
|
|
5036
5037
|
// @section Extension methods
|
|
5037
5038
|
// Layers extending `GridLayer` shall reimplement the following method.
|
|
@@ -5240,7 +5241,7 @@ function jo() {
|
|
|
5240
5241
|
},
|
|
5241
5242
|
// converts tile coordinates to its geographical bounds
|
|
5242
5243
|
_tileCoordsToBounds: function(t) {
|
|
5243
|
-
var e = this._tileCoordsToNwSe(t), i = new
|
|
5244
|
+
var e = this._tileCoordsToNwSe(t), i = new H(e[0], e[1]);
|
|
5244
5245
|
return this.options.noWrap || (i = this._map.wrapLatLngBounds(i)), i;
|
|
5245
5246
|
},
|
|
5246
5247
|
// converts tile coordinates to key for the tile cache
|
|
@@ -5311,10 +5312,10 @@ function jo() {
|
|
|
5311
5312
|
return !0;
|
|
5312
5313
|
}
|
|
5313
5314
|
});
|
|
5314
|
-
function
|
|
5315
|
-
return new
|
|
5315
|
+
function Zo(t) {
|
|
5316
|
+
return new Ht(t);
|
|
5316
5317
|
}
|
|
5317
|
-
var Mt =
|
|
5318
|
+
var Mt = Ht.extend({
|
|
5318
5319
|
// @section
|
|
5319
5320
|
// @aka TileLayer options
|
|
5320
5321
|
options: {
|
|
@@ -5427,14 +5428,14 @@ function jo() {
|
|
|
5427
5428
|
_removeTile: function(t) {
|
|
5428
5429
|
var e = this._tiles[t];
|
|
5429
5430
|
if (e)
|
|
5430
|
-
return e.el.setAttribute("src", jt),
|
|
5431
|
+
return e.el.setAttribute("src", jt), Ht.prototype._removeTile.call(this, t);
|
|
5431
5432
|
},
|
|
5432
5433
|
_tileReady: function(t, e, i) {
|
|
5433
5434
|
if (!(!this._map || i && i.getAttribute("src") === jt))
|
|
5434
|
-
return
|
|
5435
|
+
return Ht.prototype._tileReady.call(this, t, e, i);
|
|
5435
5436
|
}
|
|
5436
5437
|
});
|
|
5437
|
-
function
|
|
5438
|
+
function $i(t, e) {
|
|
5438
5439
|
return new Mt(t, e);
|
|
5439
5440
|
}
|
|
5440
5441
|
var tn = Mt.extend({
|
|
@@ -5486,8 +5487,8 @@ function jo() {
|
|
|
5486
5487
|
this.wmsParams[e] = this._crs.code, Mt.prototype.onAdd.call(this, t);
|
|
5487
5488
|
},
|
|
5488
5489
|
getTileUrl: function(t) {
|
|
5489
|
-
var e = this._tileCoordsToNwSe(t), i = this._crs, n =
|
|
5490
|
-
return a +
|
|
5490
|
+
var e = this._tileCoordsToNwSe(t), i = this._crs, n = F(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);
|
|
5491
|
+
return a + $e(this.wmsParams, a, this.options.uppercase) + (this.options.uppercase ? "&BBOX=" : "&bbox=") + r;
|
|
5491
5492
|
},
|
|
5492
5493
|
// @method setParams(params: Object, noRedraw?: Boolean): this
|
|
5493
5494
|
// Merges an object with the new parameters and re-requests tiles on the current screen (unless `noRedraw` was set to true).
|
|
@@ -5495,10 +5496,10 @@ function jo() {
|
|
|
5495
5496
|
return x(this.wmsParams, t), e || this.redraw(), this;
|
|
5496
5497
|
}
|
|
5497
5498
|
});
|
|
5498
|
-
function
|
|
5499
|
+
function Oo(t, e) {
|
|
5499
5500
|
return new tn(t, e);
|
|
5500
5501
|
}
|
|
5501
|
-
Mt.WMS = tn,
|
|
5502
|
+
Mt.WMS = tn, $i.wms = Oo;
|
|
5502
5503
|
var ht = X.extend({
|
|
5503
5504
|
// @section
|
|
5504
5505
|
// @aka Renderer options
|
|
@@ -5750,7 +5751,7 @@ function jo() {
|
|
|
5750
5751
|
return function(t) {
|
|
5751
5752
|
return document.createElement("<" + t + ' xmlns="urn:schemas-microsoft.com:vml" class="lvml">');
|
|
5752
5753
|
};
|
|
5753
|
-
})(),
|
|
5754
|
+
})(), Io = {
|
|
5754
5755
|
_initContainer: function() {
|
|
5755
5756
|
this._container = T("div", "leaflet-vml-container");
|
|
5756
5757
|
},
|
|
@@ -5836,7 +5837,7 @@ function jo() {
|
|
|
5836
5837
|
xt(t._path);
|
|
5837
5838
|
}
|
|
5838
5839
|
});
|
|
5839
|
-
f.vml && Ut.include(
|
|
5840
|
+
f.vml && Ut.include(Io);
|
|
5840
5841
|
function on(t) {
|
|
5841
5842
|
return f.svg || f.vml ? new Ut(t) : null;
|
|
5842
5843
|
}
|
|
@@ -5877,7 +5878,7 @@ function jo() {
|
|
|
5877
5878
|
];
|
|
5878
5879
|
}
|
|
5879
5880
|
});
|
|
5880
|
-
function
|
|
5881
|
+
function Ao(t, e) {
|
|
5881
5882
|
return new sn(t, e);
|
|
5882
5883
|
}
|
|
5883
5884
|
Ut.create = ce, Ut.pointsToPath = ai, at.geometryToLayer = oe, at.coordsToLatLng = je, at.coordsToLatLngs = se, at.latLngToCoords = Ke, at.latLngsToCoords = re, at.getFeature = bt, at.asFeature = ae, w.mergeOptions({
|
|
@@ -5934,7 +5935,7 @@ function jo() {
|
|
|
5934
5935
|
_onMouseUp: function(t) {
|
|
5935
5936
|
if (!(t.which !== 1 && t.button !== 1) && (this._finish(), !!this._moved)) {
|
|
5936
5937
|
this._clearDeferredResetState(), this._resetStateTimeout = setTimeout(S(this._resetState, this), 0);
|
|
5937
|
-
var e = new
|
|
5938
|
+
var e = new H(
|
|
5938
5939
|
this._map.containerPointToLatLng(this._startPoint),
|
|
5939
5940
|
this._map.containerPointToLatLng(this._point)
|
|
5940
5941
|
);
|
|
@@ -6025,7 +6026,7 @@ function jo() {
|
|
|
6025
6026
|
var t = this._map;
|
|
6026
6027
|
if (t._stop(), this._map.options.maxBounds && this._map.options.maxBoundsViscosity) {
|
|
6027
6028
|
var e = O(this._map.options.maxBounds);
|
|
6028
|
-
this._offsetLimit =
|
|
6029
|
+
this._offsetLimit = F(
|
|
6029
6030
|
this._map.latLngToContainerPoint(e.getNorthWest()).multiplyBy(-1),
|
|
6030
6031
|
this._map.latLngToContainerPoint(e.getSouthEast()).multiplyBy(-1).add(this._map.getSize())
|
|
6031
6032
|
), this._viscosity = Math.min(1, Math.max(0, this._map.options.maxBoundsViscosity));
|
|
@@ -6214,7 +6215,7 @@ function jo() {
|
|
|
6214
6215
|
}
|
|
6215
6216
|
});
|
|
6216
6217
|
w.addInitHook("addHandler", "scrollWheelZoom", ln);
|
|
6217
|
-
var
|
|
6218
|
+
var Bo = 600;
|
|
6218
6219
|
w.mergeOptions({
|
|
6219
6220
|
// @section Touch interaction options
|
|
6220
6221
|
// @option tapHold: Boolean
|
|
@@ -6237,7 +6238,7 @@ function jo() {
|
|
|
6237
6238
|
var e = t.touches[0];
|
|
6238
6239
|
this._startPos = this._newPos = new m(e.clientX, e.clientY), this._holdTimeout = setTimeout(S(function() {
|
|
6239
6240
|
this._cancel(), this._isTapValid() && (p(document, "touchend", N), p(document, "touchend touchcancel", this._cancelClickPrevent), this._simulateEvent("contextmenu", e));
|
|
6240
|
-
}, this),
|
|
6241
|
+
}, this), Bo), p(document, "touchend touchcancel contextmenu", this._cancel, this), p(document, "touchmove", this._onMove, this);
|
|
6241
6242
|
}
|
|
6242
6243
|
},
|
|
6243
6244
|
_cancelClickPrevent: function t() {
|
|
@@ -6321,18 +6322,19 @@ function jo() {
|
|
|
6321
6322
|
this._zooming = !1, G(this._animRequest), M(document, "touchmove", this._onTouchMove, this), M(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));
|
|
6322
6323
|
}
|
|
6323
6324
|
});
|
|
6324
|
-
w.addInitHook("addHandler", "touchZoom", fn), w.BoxZoom = rn, w.DoubleClickZoom = an, w.Drag = hn, w.Keyboard = un, w.ScrollWheelZoom = ln, w.TapHold = cn, w.TouchZoom = fn, l.Bounds = z, l.Browser = f, l.CRS = ot, l.Canvas = en, l.Circle = qe, l.CircleMarker = ne, l.Class = nt, l.Control = Y, l.DivIcon =
|
|
6325
|
-
var
|
|
6325
|
+
w.addInitHook("addHandler", "touchZoom", fn), w.BoxZoom = rn, w.DoubleClickZoom = an, w.Drag = hn, w.Keyboard = un, w.ScrollWheelZoom = ln, w.TapHold = cn, w.TouchZoom = fn, l.Bounds = z, l.Browser = f, l.CRS = ot, l.Canvas = en, l.Circle = qe, l.CircleMarker = ne, l.Class = nt, l.Control = Y, l.DivIcon = Qi, l.DivOverlay = et, l.DomEvent = $n, l.DomUtil = Jn, l.Draggable = ct, l.Evented = zt, l.FeatureGroup = st, l.GeoJSON = at, l.GridLayer = Ht, l.Handler = tt, l.Icon = Lt, l.ImageOverlay = he, l.LatLng = b, l.LatLngBounds = H, l.Layer = X, l.LayerGroup = Pt, l.LineUtil = fo, l.Map = w, l.Marker = ie, l.Mixin = ro, l.Path = ft, l.Point = m, l.PolyUtil = ao, l.Polygon = Tt, l.Polyline = rt, l.Popup = ue, l.PosAnimation = Ii, l.Projection = _o, l.Rectangle = sn, l.Renderer = ht, l.SVG = Ut, l.SVGOverlay = Ji, l.TileLayer = Mt, l.Tooltip = le, l.Transformation = ge, l.Util = yn, l.VideoOverlay = Xi, l.bind = S, l.bounds = F, l.canvas = nn, l.circle = Po, l.circleMarker = xo, l.control = Rt, l.divIcon = Eo, l.extend = x, l.featureGroup = go, l.geoJSON = Yi, l.geoJson = bo, l.gridLayer = Zo, l.icon = yo, l.imageOverlay = Mo, l.latLng = y, l.latLngBounds = O, l.layerGroup = vo, l.map = to, l.marker = wo, l.point = _, l.polygon = To, l.polyline = Lo, l.popup = zo, l.rectangle = Ao, l.setOptions = C, l.stamp = P, l.svg = on, l.svgOverlay = Co, l.tileLayer = $i, l.tooltip = ko, l.transformation = kt, l.version = it, l.videoOverlay = So;
|
|
6326
|
+
var No = window.L;
|
|
6326
6327
|
l.noConflict = function() {
|
|
6327
|
-
return window.L =
|
|
6328
|
+
return window.L = No, this;
|
|
6328
6329
|
}, window.L = l;
|
|
6329
6330
|
}));
|
|
6330
6331
|
})(Gt, Gt.exports)), Gt.exports;
|
|
6331
6332
|
}
|
|
6332
|
-
var
|
|
6333
|
-
const
|
|
6334
|
-
__proto__: null
|
|
6335
|
-
|
|
6333
|
+
var vn = Yo();
|
|
6334
|
+
const Xo = /* @__PURE__ */ qo(vn), Qo = /* @__PURE__ */ jo({
|
|
6335
|
+
__proto__: null,
|
|
6336
|
+
default: Xo
|
|
6337
|
+
}, [vn]);
|
|
6336
6338
|
export {
|
|
6337
|
-
|
|
6339
|
+
Qo as l
|
|
6338
6340
|
};
|