@rural-environmental-registry/map_component 2.0.4 → 2.0.5
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/index.mjs +651 -651
- package/package.json +1 -1
- package/src/components/map/LeafletMap.vue +4 -4
- package/src/components/menu/LayerMenu.vue +2 -2
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var H3 = Object.defineProperty;
|
|
2
2
|
var Q3 = (e, t, n) => t in e ? H3(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var Ze = (e, t, n) => Q3(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
|
-
import { defineComponent as Ke, createElementBlock as Ae, createCommentVNode as He, openBlock as te, createElementVNode as Ie,
|
|
4
|
+
import { defineComponent as Ke, createElementBlock as Ae, createCommentVNode as He, openBlock as te, createElementVNode as Ie, shallowRef as Zi, onMounted as fn, nextTick as Zt, onBeforeUnmount as qn, getCurrentInstance as Kt, inject as gt, ref as se, computed as $, unref as I, readonly as Jh, getCurrentScope as U3, onScopeDispose as K3, watchEffect as lo, watch as ot, isRef as tl, warn as j3, provide as Ln, mergeProps as Ri, renderSlot as et, toRef as ai, onUnmounted as Wu, useAttrs as q3, useSlots as Yu, normalizeStyle as Ut, normalizeClass as Ee, Fragment as on, createBlock as $e, withCtx as Ue, resolveDynamicComponent as zn, withModifiers as qt, createVNode as Oe, toDisplayString as dt, Transition as Yo, withDirectives as Hn, vShow as jr, reactive as Mr, onActivated as V3, onUpdated as r0, cloneVNode as W3, Text as f_, Comment as d_, Teleport as Y3, onBeforeMount as a0, onDeactivated as $3, createTextVNode as Ci, isVNode as Su, toRaw as Qd, vModelCheckbox as xh, toRefs as $u, toHandlers as Z3, resolveComponent as $t, normalizeProps as J3, guardReactiveProps as X3, createSlots as Ud, h as Ct, resolveDirective as o0, toHandlerKey as e2, renderList as Yi, withKeys as no, vModelText as t2, render as Lh, TransitionGroup as n2, shallowReactive as i2 } from "vue";
|
|
5
5
|
var Qc = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
6
6
|
function p_(e) {
|
|
7
7
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
@@ -48,11 +48,11 @@ function a2() {
|
|
|
48
48
|
return "_leaflet_id" in a || (a._leaflet_id = ++c), a._leaflet_id;
|
|
49
49
|
}
|
|
50
50
|
function g(a, h, m) {
|
|
51
|
-
var A, P, U,
|
|
52
|
-
return
|
|
51
|
+
var A, P, U, oe;
|
|
52
|
+
return oe = function() {
|
|
53
53
|
A = !1, P && (U.apply(m, P), P = !1);
|
|
54
54
|
}, U = function() {
|
|
55
|
-
A ? P = arguments : (a.apply(m, arguments), setTimeout(
|
|
55
|
+
A ? P = arguments : (a.apply(m, arguments), setTimeout(oe, h), A = !0);
|
|
56
56
|
}, U;
|
|
57
57
|
}
|
|
58
58
|
function y(a, h, m) {
|
|
@@ -163,7 +163,7 @@ function a2() {
|
|
|
163
163
|
return a.statics && r(h, a.statics), a.includes && (Ge(a.includes), r.apply(null, [A].concat(a.includes))), r(A, a), delete A.statics, delete A.includes, A.options && (A.options = m.options ? s(m.options) : {}, r(A.options, a.options)), A._initHooks = [], A.callInitHooks = function() {
|
|
164
164
|
if (!this._initHooksCalled) {
|
|
165
165
|
m.callInitHooks && m.callInitHooks.call(this), this._initHooksCalled = !0;
|
|
166
|
-
for (var U = 0,
|
|
166
|
+
for (var U = 0, oe = A._initHooks.length; U < oe; U++)
|
|
167
167
|
A._initHooks[U].call(this);
|
|
168
168
|
}
|
|
169
169
|
}, h;
|
|
@@ -223,7 +223,7 @@ function a2() {
|
|
|
223
223
|
this._off(A, a[A], h);
|
|
224
224
|
else {
|
|
225
225
|
a = b(a);
|
|
226
|
-
for (var P = arguments.length === 1, U = 0,
|
|
226
|
+
for (var P = arguments.length === 1, U = 0, oe = a.length; U < oe; U++)
|
|
227
227
|
P ? this._off(a[U]) : this._off(a[U], h, m);
|
|
228
228
|
}
|
|
229
229
|
return this;
|
|
@@ -254,10 +254,10 @@ function a2() {
|
|
|
254
254
|
console.warn("wrong listener type: " + typeof h);
|
|
255
255
|
return;
|
|
256
256
|
}
|
|
257
|
-
var
|
|
258
|
-
if (
|
|
259
|
-
var _e = A[
|
|
260
|
-
this._firingCount && (_e.fn = _, this._events[a] = A = A.slice()), A.splice(
|
|
257
|
+
var oe = this._listens(a, h, m);
|
|
258
|
+
if (oe !== !1) {
|
|
259
|
+
var _e = A[oe];
|
|
260
|
+
this._firingCount && (_e.fn = _, this._events[a] = A = A.slice()), A.splice(oe, 1);
|
|
261
261
|
}
|
|
262
262
|
}
|
|
263
263
|
},
|
|
@@ -277,7 +277,7 @@ function a2() {
|
|
|
277
277
|
var P = this._events[a];
|
|
278
278
|
if (P) {
|
|
279
279
|
this._firingCount = this._firingCount + 1 || 1;
|
|
280
|
-
for (var U = 0,
|
|
280
|
+
for (var U = 0, oe = P.length; U < oe; U++) {
|
|
281
281
|
var _e = P[U], Pe = _e.fn;
|
|
282
282
|
_e.once && this.off(a, Pe, _e.ctx), Pe.call(_e.ctx || this, A);
|
|
283
283
|
}
|
|
@@ -298,8 +298,8 @@ function a2() {
|
|
|
298
298
|
if (U && U.length && this._listens(a, P, m) !== !1)
|
|
299
299
|
return !0;
|
|
300
300
|
if (A) {
|
|
301
|
-
for (var
|
|
302
|
-
if (this._eventParents[
|
|
301
|
+
for (var oe in this._eventParents)
|
|
302
|
+
if (this._eventParents[oe].listens(a, h, m, A))
|
|
303
303
|
return !0;
|
|
304
304
|
}
|
|
305
305
|
return !1;
|
|
@@ -535,16 +535,16 @@ function a2() {
|
|
|
535
535
|
// intersect if they have at least one point in common.
|
|
536
536
|
intersects: function(a) {
|
|
537
537
|
a = De(a);
|
|
538
|
-
var h = this.min, m = this.max, A = a.min, P = a.max, U = P.x >= h.x && A.x <= m.x,
|
|
539
|
-
return U &&
|
|
538
|
+
var h = this.min, m = this.max, A = a.min, P = a.max, U = P.x >= h.x && A.x <= m.x, oe = P.y >= h.y && A.y <= m.y;
|
|
539
|
+
return U && oe;
|
|
540
540
|
},
|
|
541
541
|
// @method overlaps(otherBounds: Bounds): Boolean
|
|
542
542
|
// Returns `true` if the rectangle overlaps the given bounds. Two bounds
|
|
543
543
|
// overlap if their intersection is an area.
|
|
544
544
|
overlaps: function(a) {
|
|
545
545
|
a = De(a);
|
|
546
|
-
var h = this.min, m = this.max, A = a.min, P = a.max, U = P.x > h.x && A.x < m.x,
|
|
547
|
-
return U &&
|
|
546
|
+
var h = this.min, m = this.max, A = a.min, P = a.max, U = P.x > h.x && A.x < m.x, oe = P.y > h.y && A.y < m.y;
|
|
547
|
+
return U && oe;
|
|
548
548
|
},
|
|
549
549
|
// @method isValid(): Boolean
|
|
550
550
|
// Returns `true` if the bounds are properly initialized.
|
|
@@ -666,15 +666,15 @@ function a2() {
|
|
|
666
666
|
// Returns `true` if the rectangle intersects the given bounds. Two bounds intersect if they have at least one point in common.
|
|
667
667
|
intersects: function(a) {
|
|
668
668
|
a = nt(a);
|
|
669
|
-
var h = this._southWest, m = this._northEast, A = a.getSouthWest(), P = a.getNorthEast(), U = P.lat >= h.lat && A.lat <= m.lat,
|
|
670
|
-
return U &&
|
|
669
|
+
var h = this._southWest, m = this._northEast, A = a.getSouthWest(), P = a.getNorthEast(), U = P.lat >= h.lat && A.lat <= m.lat, oe = P.lng >= h.lng && A.lng <= m.lng;
|
|
670
|
+
return U && oe;
|
|
671
671
|
},
|
|
672
672
|
// @method overlaps(otherBounds: LatLngBounds): Boolean
|
|
673
673
|
// Returns `true` if the rectangle overlaps the given bounds. Two bounds overlap if their intersection is an area.
|
|
674
674
|
overlaps: function(a) {
|
|
675
675
|
a = nt(a);
|
|
676
|
-
var h = this._southWest, m = this._northEast, A = a.getSouthWest(), P = a.getNorthEast(), U = P.lat > h.lat && A.lat < m.lat,
|
|
677
|
-
return U &&
|
|
676
|
+
var h = this._southWest, m = this._northEast, A = a.getSouthWest(), P = a.getNorthEast(), U = P.lat > h.lat && A.lat < m.lat, oe = P.lng > h.lng && A.lng < m.lng;
|
|
677
|
+
return U && oe;
|
|
678
678
|
},
|
|
679
679
|
// @method toBBoxString(): String
|
|
680
680
|
// Returns a string with bounding box coordinates in a 'southwest_lng,southwest_lat,northeast_lng,northeast_lat' format. Useful for sending requests to web services that return geo data.
|
|
@@ -823,7 +823,7 @@ function a2() {
|
|
|
823
823
|
var h = a.getCenter(), m = this.wrapLatLng(h), A = h.lat - m.lat, P = h.lng - m.lng;
|
|
824
824
|
if (A === 0 && P === 0)
|
|
825
825
|
return a;
|
|
826
|
-
var U = a.getSouthWest(),
|
|
826
|
+
var U = a.getSouthWest(), oe = a.getNorthEast(), _e = new Je(U.lat - A, U.lng - P), Pe = new Je(oe.lat - A, oe.lng - P);
|
|
827
827
|
return new Re(_e, Pe);
|
|
828
828
|
}
|
|
829
829
|
}, Qe = r({}, ze, {
|
|
@@ -834,7 +834,7 @@ function a2() {
|
|
|
834
834
|
R: 6371e3,
|
|
835
835
|
// distance between two geographical points using spherical law of cosines approximation
|
|
836
836
|
distance: function(a, h) {
|
|
837
|
-
var m = Math.PI / 180, A = a.lat * m, P = h.lat * m, U = Math.sin((h.lat - a.lat) * m / 2),
|
|
837
|
+
var m = Math.PI / 180, A = a.lat * m, P = h.lat * m, U = Math.sin((h.lat - a.lat) * m / 2), oe = Math.sin((h.lng - a.lng) * m / 2), _e = U * U + Math.cos(A) * Math.cos(P) * oe * oe, Pe = 2 * Math.atan2(Math.sqrt(_e), Math.sqrt(1 - _e));
|
|
838
838
|
return this.R * Pe;
|
|
839
839
|
}
|
|
840
840
|
}), ve = 6378137, Me = {
|
|
@@ -904,15 +904,15 @@ function a2() {
|
|
|
904
904
|
return document.createElementNS("http://www.w3.org/2000/svg", a);
|
|
905
905
|
}
|
|
906
906
|
function mt(a, h) {
|
|
907
|
-
var m = "", A, P, U,
|
|
907
|
+
var m = "", A, P, U, oe, _e, Pe;
|
|
908
908
|
for (A = 0, U = a.length; A < U; A++) {
|
|
909
|
-
for (_e = a[A], P = 0,
|
|
909
|
+
for (_e = a[A], P = 0, oe = _e.length; P < oe; P++)
|
|
910
910
|
Pe = _e[P], m += (P ? "L" : "M") + Pe.x + " " + Pe.y;
|
|
911
911
|
m += h ? _t.svg ? "z" : "x" : "";
|
|
912
912
|
}
|
|
913
913
|
return m || "M0 0";
|
|
914
914
|
}
|
|
915
|
-
var Ht = document.documentElement.style, ht = "ActiveXObject" in window, Bt = ht && !document.addEventListener, Vt = "msLaunchUri" in navigator && !("documentMode" in document), dn = ki("webkit"), vn = ki("android"), Un = ki("android 2") || ki("android 3"), Ve = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), Pt = vn && ki("Google") && Ve < 537 && !("AudioNode" in window), jt = !!window.opera, sn = !Vt && ki("chrome"), wn = ki("gecko") && !dn && !jt && !ht,
|
|
915
|
+
var Ht = document.documentElement.style, ht = "ActiveXObject" in window, Bt = ht && !document.addEventListener, Vt = "msLaunchUri" in navigator && !("documentMode" in document), dn = ki("webkit"), vn = ki("android"), Un = ki("android 2") || ki("android 3"), Ve = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), Pt = vn && ki("Google") && Ve < 537 && !("AudioNode" in window), jt = !!window.opera, sn = !Vt && ki("chrome"), wn = ki("gecko") && !dn && !jt && !ht, nr = !sn && ki("safari"), gi = ki("phantom"), Ni = "OTransition" in Ht, Pn = navigator.platform.indexOf("Win") === 0, ut = ht && "transition" in Ht, Et = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !Un, It = "MozPerspective" in Ht, Wt = !window.L_DISABLE_3D && (ut || Et || It) && !Ni && !gi, Rt = typeof orientation < "u" || ki("mobile"), An = Rt && dn, oi = Rt && Et, si = !window.PointerEvent && window.MSPointerEvent, mi = !!(window.PointerEvent || si), Gi = "ontouchstart" in window || !!window.TouchEvent, Yr = !window.L_NO_TOUCH && (Gi || mi), Cl = Rt && jt, ts = Rt && wn, ns = (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI) > 1, is = (function() {
|
|
916
916
|
var a = !1;
|
|
917
917
|
try {
|
|
918
918
|
var h = Object.defineProperty({}, "passive", {
|
|
@@ -953,7 +953,7 @@ function a2() {
|
|
|
953
953
|
opera: jt,
|
|
954
954
|
chrome: sn,
|
|
955
955
|
gecko: wn,
|
|
956
|
-
safari:
|
|
956
|
+
safari: nr,
|
|
957
957
|
phantom: gi,
|
|
958
958
|
opera12: Ni,
|
|
959
959
|
win: Pn,
|
|
@@ -988,7 +988,7 @@ function a2() {
|
|
|
988
988
|
touchmove: ls,
|
|
989
989
|
touchend: ls,
|
|
990
990
|
touchcancel: ls
|
|
991
|
-
}, Bi = {},
|
|
991
|
+
}, Bi = {}, ir = !1;
|
|
992
992
|
function Ha(a, h, m) {
|
|
993
993
|
return h === "touchstart" && Sl(), Jn[h] ? (m = Jn[h].bind(this, m), a.addEventListener(Cn[h], m, !1), m) : (console.warn("wrong event specified:", h), _);
|
|
994
994
|
}
|
|
@@ -1009,7 +1009,7 @@ function a2() {
|
|
|
1009
1009
|
delete Bi[a.pointerId];
|
|
1010
1010
|
}
|
|
1011
1011
|
function Sl() {
|
|
1012
|
-
|
|
1012
|
+
ir || (document.addEventListener(os, Ll, !0), document.addEventListener(Te, kf, !0), document.addEventListener(it, ss, !0), document.addEventListener(Ot, ss, !0), ir = !0);
|
|
1013
1013
|
}
|
|
1014
1014
|
function ls(a, h) {
|
|
1015
1015
|
if (h.pointerType !== (h.MSPOINTER_TYPE_MOUSE || "mouse")) {
|
|
@@ -1038,10 +1038,10 @@ function a2() {
|
|
|
1038
1038
|
return;
|
|
1039
1039
|
}
|
|
1040
1040
|
if (!(U.pointerType === "mouse" || U.sourceCapabilities && !U.sourceCapabilities.firesTouchEvents)) {
|
|
1041
|
-
var
|
|
1042
|
-
if (!(
|
|
1041
|
+
var oe = vc(U);
|
|
1042
|
+
if (!(oe.some(function(Pe) {
|
|
1043
1043
|
return Pe instanceof HTMLLabelElement && Pe.attributes.for;
|
|
1044
|
-
}) && !
|
|
1044
|
+
}) && !oe.some(function(Pe) {
|
|
1045
1045
|
return Pe instanceof HTMLInputElement || Pe instanceof HTMLSelectElement;
|
|
1046
1046
|
}))) {
|
|
1047
1047
|
var _e = Date.now();
|
|
@@ -1236,15 +1236,15 @@ function a2() {
|
|
|
1236
1236
|
Gl(a, P, h[P], m);
|
|
1237
1237
|
else {
|
|
1238
1238
|
h = b(h);
|
|
1239
|
-
for (var U = 0,
|
|
1239
|
+
for (var U = 0, oe = h.length; U < oe; U++)
|
|
1240
1240
|
Gl(a, h[U], m, A);
|
|
1241
1241
|
}
|
|
1242
1242
|
return this;
|
|
1243
1243
|
}
|
|
1244
|
-
var
|
|
1244
|
+
var hr = "_leaflet_events";
|
|
1245
1245
|
function pn(a, h, m, A) {
|
|
1246
1246
|
if (arguments.length === 1)
|
|
1247
|
-
mc(a), delete a[
|
|
1247
|
+
mc(a), delete a[hr];
|
|
1248
1248
|
else if (h && typeof h == "object")
|
|
1249
1249
|
for (var P in h)
|
|
1250
1250
|
Jr(a, P, h[P], m);
|
|
@@ -1253,12 +1253,12 @@ function a2() {
|
|
|
1253
1253
|
return F(h, _e) !== -1;
|
|
1254
1254
|
});
|
|
1255
1255
|
else
|
|
1256
|
-
for (var U = 0,
|
|
1256
|
+
for (var U = 0, oe = h.length; U < oe; U++)
|
|
1257
1257
|
Jr(a, h[U], m, A);
|
|
1258
1258
|
return this;
|
|
1259
1259
|
}
|
|
1260
1260
|
function mc(a, h) {
|
|
1261
|
-
for (var m in a[
|
|
1261
|
+
for (var m in a[hr]) {
|
|
1262
1262
|
var A = m.split(/\d/)[0];
|
|
1263
1263
|
(!h || h(A)) && Jr(a, A, null, null, m);
|
|
1264
1264
|
}
|
|
@@ -1270,21 +1270,21 @@ function a2() {
|
|
|
1270
1270
|
};
|
|
1271
1271
|
function Gl(a, h, m, A) {
|
|
1272
1272
|
var P = h + d(m) + (A ? "_" + d(A) : "");
|
|
1273
|
-
if (a[
|
|
1273
|
+
if (a[hr] && a[hr][P])
|
|
1274
1274
|
return this;
|
|
1275
1275
|
var U = function(_e) {
|
|
1276
1276
|
return m.call(A || a, _e || window.event);
|
|
1277
|
-
},
|
|
1277
|
+
}, oe = U;
|
|
1278
1278
|
!_t.touchNative && _t.pointer && h.indexOf("touch") === 0 ? U = Ha(a, h, U) : _t.touch && h === "dblclick" ? U = Tf(a, U) : "addEventListener" in a ? h === "touchstart" || h === "touchmove" || h === "wheel" || h === "mousewheel" ? a.addEventListener(Nl[h] || h, U, _t.passiveEvents ? { passive: !1 } : !1) : h === "mouseenter" || h === "mouseleave" ? (U = function(_e) {
|
|
1279
|
-
_e = _e || window.event, Hl(a, _e) &&
|
|
1280
|
-
}, a.addEventListener(Nl[h], U, !1)) : a.addEventListener(h,
|
|
1279
|
+
_e = _e || window.event, Hl(a, _e) && oe(_e);
|
|
1280
|
+
}, a.addEventListener(Nl[h], U, !1)) : a.addEventListener(h, oe, !1) : a.attachEvent("on" + h, U), a[hr] = a[hr] || {}, a[hr][P] = U;
|
|
1281
1281
|
}
|
|
1282
1282
|
function Jr(a, h, m, A, P) {
|
|
1283
1283
|
P = P || h + d(m) + (A ? "_" + d(A) : "");
|
|
1284
|
-
var U = a[
|
|
1284
|
+
var U = a[hr] && a[hr][P];
|
|
1285
1285
|
if (!U)
|
|
1286
1286
|
return this;
|
|
1287
|
-
!_t.touchNative && _t.pointer && h.indexOf("touch") === 0 ? pa(a, h, U) : _t.touch && h === "dblclick" ? Of(a, U) : "removeEventListener" in a ? a.removeEventListener(Nl[h] || h, U, !1) : a.detachEvent("on" + h, U), a[
|
|
1287
|
+
!_t.touchNative && _t.pointer && h.indexOf("touch") === 0 ? pa(a, h, U) : _t.touch && h === "dblclick" ? Of(a, U) : "removeEventListener" in a ? a.removeEventListener(Nl[h] || h, U, !1) : a.detachEvent("on" + h, U), a[hr][P] = null;
|
|
1288
1288
|
}
|
|
1289
1289
|
function ya(a) {
|
|
1290
1290
|
return a.stopPropagation ? a.stopPropagation() : a.originalEvent ? a.originalEvent._stopped = !0 : a.cancelBubble = !0, this;
|
|
@@ -1520,7 +1520,7 @@ function a2() {
|
|
|
1520
1520
|
// @method setZoomAround(offset: Point, zoom: Number, options: Zoom options): this
|
|
1521
1521
|
// Zooms the map while keeping a specified pixel on the map (relative to the top-left corner) stationary.
|
|
1522
1522
|
setZoomAround: function(a, h, m) {
|
|
1523
|
-
var A = this.getZoomScale(h), P = this.getSize().divideBy(2), U = a instanceof re ? a : this.latLngToContainerPoint(a),
|
|
1523
|
+
var A = this.getZoomScale(h), P = this.getSize().divideBy(2), U = a instanceof re ? a : this.latLngToContainerPoint(a), oe = U.subtract(P).multiplyBy(1 - 1 / A), _e = this.containerPointToLatLng(P.add(oe));
|
|
1524
1524
|
return this.setView(_e, h, { zoom: m });
|
|
1525
1525
|
},
|
|
1526
1526
|
_getBoundsCenterZoom: function(a, h) {
|
|
@@ -1531,7 +1531,7 @@ function a2() {
|
|
|
1531
1531
|
center: a.getCenter(),
|
|
1532
1532
|
zoom: P
|
|
1533
1533
|
};
|
|
1534
|
-
var U = A.subtract(m).divideBy(2),
|
|
1534
|
+
var U = A.subtract(m).divideBy(2), oe = this.project(a.getSouthWest(), P), _e = this.project(a.getNorthEast(), P), Pe = this.unproject(oe.add(_e).divideBy(2).add(U), P);
|
|
1535
1535
|
return {
|
|
1536
1536
|
center: Pe,
|
|
1537
1537
|
zoom: P
|
|
@@ -1582,11 +1582,11 @@ function a2() {
|
|
|
1582
1582
|
if (m = m || {}, m.animate === !1 || !_t.any3d)
|
|
1583
1583
|
return this.setView(a, h, m);
|
|
1584
1584
|
this._stop();
|
|
1585
|
-
var A = this.project(this.getCenter()), P = this.project(a), U = this.getSize(),
|
|
1586
|
-
a = fe(a), h = h === void 0 ?
|
|
1587
|
-
var _e = Math.max(U.x, U.y), Pe = _e * this.getZoomScale(
|
|
1585
|
+
var A = this.project(this.getCenter()), P = this.project(a), U = this.getSize(), oe = this._zoom;
|
|
1586
|
+
a = fe(a), h = h === void 0 ? oe : h;
|
|
1587
|
+
var _e = Math.max(U.x, U.y), Pe = _e * this.getZoomScale(oe, h), qe = P.distanceTo(A) || 1, ct = 1.42, St = ct * ct;
|
|
1588
1588
|
function Qt(kn) {
|
|
1589
|
-
var Oo = kn ? -1 : 1, ad = kn ? Pe : _e,
|
|
1589
|
+
var Oo = kn ? -1 : 1, ad = kn ? Pe : _e, vr = Pe * Pe - _e * _e + Oo * St * St * qe * qe, od = 2 * ad * St * qe, $a = vr / od, Xl = Math.sqrt($a * $a + 1) - $a, sd = Xl < 1e-9 ? -18 : Math.log(Xl);
|
|
1590
1590
|
return sd;
|
|
1591
1591
|
}
|
|
1592
1592
|
function hi(kn) {
|
|
@@ -1599,7 +1599,7 @@ function a2() {
|
|
|
1599
1599
|
return hi(kn) / Kn(kn);
|
|
1600
1600
|
}
|
|
1601
1601
|
var xn = Qt(0);
|
|
1602
|
-
function
|
|
1602
|
+
function mr(kn) {
|
|
1603
1603
|
return _e * (Kn(xn) / Kn(xn + ct * kn));
|
|
1604
1604
|
}
|
|
1605
1605
|
function Jl(kn) {
|
|
@@ -1612,8 +1612,8 @@ function a2() {
|
|
|
1612
1612
|
function Rc() {
|
|
1613
1613
|
var kn = (Date.now() - Dc) / rd, Oo = Os(kn) * To;
|
|
1614
1614
|
kn <= 1 ? (this._flyToFrame = J(Rc, this), this._move(
|
|
1615
|
-
this.unproject(A.add(P.subtract(A).multiplyBy(Jl(Oo) / qe)),
|
|
1616
|
-
this.getScaleZoom(_e /
|
|
1615
|
+
this.unproject(A.add(P.subtract(A).multiplyBy(Jl(Oo) / qe)), oe),
|
|
1616
|
+
this.getScaleZoom(_e / mr(Oo), oe),
|
|
1617
1617
|
{ flyTo: !0 }
|
|
1618
1618
|
)) : this._move(a, h)._moveEnd(!0);
|
|
1619
1619
|
}
|
|
@@ -1657,7 +1657,7 @@ function a2() {
|
|
|
1657
1657
|
// the map will not be panned.
|
|
1658
1658
|
panInside: function(a, h) {
|
|
1659
1659
|
h = h || {};
|
|
1660
|
-
var m = de(h.paddingTopLeft || h.padding || [0, 0]), A = de(h.paddingBottomRight || h.padding || [0, 0]), P = this.project(this.getCenter()), U = this.project(a),
|
|
1660
|
+
var m = de(h.paddingTopLeft || h.padding || [0, 0]), A = de(h.paddingBottomRight || h.padding || [0, 0]), P = this.project(this.getCenter()), U = this.project(a), oe = this.getPixelBounds(), _e = De([oe.min.add(m), oe.max.subtract(A)]), Pe = _e.getSize();
|
|
1661
1661
|
if (!_e.contains(U)) {
|
|
1662
1662
|
this._enforcingBounds = !0;
|
|
1663
1663
|
var qe = U.subtract(_e.getCenter()), ct = _e.extend(U).getSize().subtract(Pe);
|
|
@@ -1743,8 +1743,8 @@ function a2() {
|
|
|
1743
1743
|
if (this._container._leaflet_id) {
|
|
1744
1744
|
var h = a.coords.latitude, m = a.coords.longitude, A = new Je(h, m), P = A.toBounds(a.coords.accuracy * 2), U = this._locateOptions;
|
|
1745
1745
|
if (U.setView) {
|
|
1746
|
-
var
|
|
1747
|
-
this.setView(A, U.maxZoom ? Math.min(
|
|
1746
|
+
var oe = this.getBoundsZoom(P);
|
|
1747
|
+
this.setView(A, U.maxZoom ? Math.min(oe, U.maxZoom) : oe);
|
|
1748
1748
|
}
|
|
1749
1749
|
var _e = {
|
|
1750
1750
|
latlng: A,
|
|
@@ -1827,7 +1827,7 @@ function a2() {
|
|
|
1827
1827
|
// the given bounds in its entirety.
|
|
1828
1828
|
getBoundsZoom: function(a, h, m) {
|
|
1829
1829
|
a = nt(a), m = de(m || [0, 0]);
|
|
1830
|
-
var A = this.getZoom() || 0, P = this.getMinZoom(), U = this.getMaxZoom(),
|
|
1830
|
+
var A = this.getZoom() || 0, P = this.getMinZoom(), U = this.getMaxZoom(), oe = a.getNorthWest(), _e = a.getSouthEast(), Pe = this.getSize().subtract(m), qe = De(this.project(_e, A), this.project(oe, A)).getSize(), ct = _t.any3d ? this.options.zoomSnap : 1, St = Pe.x / qe.x, Qt = Pe.y / qe.y, hi = h ? Math.max(St, Qt) : Math.min(St, Qt);
|
|
1831
1831
|
return A = this.getScaleZoom(hi, A), ct && (A = Math.round(A / (ct / 100)) * (ct / 100), A = h ? Math.ceil(A / ct) * ct : Math.floor(A / ct) * ct), Math.max(P, Math.min(U, A));
|
|
1832
1832
|
},
|
|
1833
1833
|
// @method getSize(): Point
|
|
@@ -2067,16 +2067,16 @@ function a2() {
|
|
|
2067
2067
|
Math.max(Math.abs(a.x), Math.abs(a.y)) >= this.options.transform3DLimit && this._resetView(this.getCenter(), this.getZoom());
|
|
2068
2068
|
},
|
|
2069
2069
|
_findEventTargets: function(a, h) {
|
|
2070
|
-
for (var m = [], A, P = h === "mouseout" || h === "mouseover", U = a.target || a.srcElement,
|
|
2070
|
+
for (var m = [], A, P = h === "mouseout" || h === "mouseover", U = a.target || a.srcElement, oe = !1; U; ) {
|
|
2071
2071
|
if (A = this._targets[d(U)], A && (h === "click" || h === "preclick") && this._draggableMoved(A)) {
|
|
2072
|
-
|
|
2072
|
+
oe = !0;
|
|
2073
2073
|
break;
|
|
2074
2074
|
}
|
|
2075
2075
|
if (A && A.listens(h, !0) && (P && !Hl(U, a) || (m.push(A), P)) || U === this._container)
|
|
2076
2076
|
break;
|
|
2077
2077
|
U = U.parentNode;
|
|
2078
2078
|
}
|
|
2079
|
-
return !m.length && !
|
|
2079
|
+
return !m.length && !oe && !P && this.listens(h, !0) && (m = [this]), m;
|
|
2080
2080
|
},
|
|
2081
2081
|
_isClickDisabled: function(a) {
|
|
2082
2082
|
for (; a && a !== this._container; ) {
|
|
@@ -2100,8 +2100,8 @@ function a2() {
|
|
|
2100
2100
|
}
|
|
2101
2101
|
var P = this._findEventTargets(a, h);
|
|
2102
2102
|
if (m) {
|
|
2103
|
-
for (var U = [],
|
|
2104
|
-
m[
|
|
2103
|
+
for (var U = [], oe = 0; oe < m.length; oe++)
|
|
2104
|
+
m[oe].listens(h, !0) && U.push(m[oe]);
|
|
2105
2105
|
P = U.concat(P);
|
|
2106
2106
|
}
|
|
2107
2107
|
if (P.length) {
|
|
@@ -2113,8 +2113,8 @@ function a2() {
|
|
|
2113
2113
|
var qe = _e.getLatLng && (!_e._radius || _e._radius <= 10);
|
|
2114
2114
|
Pe.containerPoint = qe ? this.latLngToContainerPoint(_e.getLatLng()) : this.mouseEventToContainerPoint(a), Pe.layerPoint = this.containerPointToLayerPoint(Pe.containerPoint), Pe.latlng = qe ? _e.getLatLng() : this.layerPointToLatLng(Pe.layerPoint);
|
|
2115
2115
|
}
|
|
2116
|
-
for (
|
|
2117
|
-
if (P[
|
|
2116
|
+
for (oe = 0; oe < P.length; oe++)
|
|
2117
|
+
if (P[oe].fire(h, Pe, !0), Pe.originalEvent._stopped || P[oe].options.bubblingMouseEvents === !1 && F(this._mouseEvents, h) !== -1)
|
|
2118
2118
|
return;
|
|
2119
2119
|
}
|
|
2120
2120
|
},
|
|
@@ -2174,8 +2174,8 @@ function a2() {
|
|
|
2174
2174
|
_limitCenter: function(a, h, m) {
|
|
2175
2175
|
if (!m)
|
|
2176
2176
|
return a;
|
|
2177
|
-
var A = this.project(a, h), P = this.getSize().divideBy(2), U = new Se(A.subtract(P), A.add(P)),
|
|
2178
|
-
return Math.abs(
|
|
2177
|
+
var A = this.project(a, h), P = this.getSize().divideBy(2), U = new Se(A.subtract(P), A.add(P)), oe = this._getBoundsOffset(U, m, h);
|
|
2178
|
+
return Math.abs(oe.x) <= 1 && Math.abs(oe.y) <= 1 ? a : this.unproject(A.add(oe), h);
|
|
2179
2179
|
},
|
|
2180
2180
|
// adjust offset for view to get inside bounds
|
|
2181
2181
|
_limitOffset: function(a, h) {
|
|
@@ -2189,8 +2189,8 @@ function a2() {
|
|
|
2189
2189
|
var A = De(
|
|
2190
2190
|
this.project(h.getNorthEast(), m),
|
|
2191
2191
|
this.project(h.getSouthWest(), m)
|
|
2192
|
-
), P = A.min.subtract(a.min), U = A.max.subtract(a.max),
|
|
2193
|
-
return new re(
|
|
2192
|
+
), P = A.min.subtract(a.min), U = A.max.subtract(a.max), oe = this._rebound(P.x, -U.x), _e = this._rebound(P.y, -U.y);
|
|
2193
|
+
return new re(oe, _e);
|
|
2194
2194
|
},
|
|
2195
2195
|
_rebound: function(a, h) {
|
|
2196
2196
|
return a + h > 0 ? Math.round(a - h) / 2 : Math.max(0, Math.ceil(a)) - Math.max(0, Math.floor(h));
|
|
@@ -2317,8 +2317,8 @@ function a2() {
|
|
|
2317
2317
|
_initControlPos: function() {
|
|
2318
2318
|
var a = this._controlCorners = {}, h = "leaflet-", m = this._controlContainer = nn("div", h + "control-container", this._container);
|
|
2319
2319
|
function A(P, U) {
|
|
2320
|
-
var
|
|
2321
|
-
a[P + U] = nn("div",
|
|
2320
|
+
var oe = h + P + " " + h + U;
|
|
2321
|
+
a[P + U] = nn("div", oe, m);
|
|
2322
2322
|
}
|
|
2323
2323
|
A("top", "left"), A("top", "right"), A("bottom", "left"), A("bottom", "right");
|
|
2324
2324
|
},
|
|
@@ -2465,8 +2465,8 @@ function a2() {
|
|
|
2465
2465
|
P.innerHTML = " " + a.name;
|
|
2466
2466
|
var U = document.createElement("span");
|
|
2467
2467
|
h.appendChild(U), U.appendChild(A), U.appendChild(P);
|
|
2468
|
-
var
|
|
2469
|
-
return
|
|
2468
|
+
var oe = a.overlay ? this._overlaysList : this._baseLayersList;
|
|
2469
|
+
return oe.appendChild(h), this._checkDisabledLayers(), h;
|
|
2470
2470
|
},
|
|
2471
2471
|
_onInputClick: function() {
|
|
2472
2472
|
if (!this._preventClick) {
|
|
@@ -2617,7 +2617,7 @@ function a2() {
|
|
|
2617
2617
|
}
|
|
2618
2618
|
}), ms = function(a) {
|
|
2619
2619
|
return new gs(a);
|
|
2620
|
-
}, zf = '<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>',
|
|
2620
|
+
}, zf = '<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>', fr = Dt.extend({
|
|
2621
2621
|
// @section
|
|
2622
2622
|
// @aka Control.Attribution options
|
|
2623
2623
|
options: {
|
|
@@ -2671,12 +2671,12 @@ function a2() {
|
|
|
2671
2671
|
Yt.mergeOptions({
|
|
2672
2672
|
attributionControl: !0
|
|
2673
2673
|
}), Yt.addInitHook(function() {
|
|
2674
|
-
this.options.attributionControl && new
|
|
2674
|
+
this.options.attributionControl && new fr().addTo(this);
|
|
2675
2675
|
});
|
|
2676
2676
|
var Ac = function(a) {
|
|
2677
|
-
return new
|
|
2677
|
+
return new fr(a);
|
|
2678
2678
|
};
|
|
2679
|
-
Dt.Layers = xo, Dt.Zoom = ps, Dt.Scale = gs, Dt.Attribution =
|
|
2679
|
+
Dt.Layers = xo, Dt.Zoom = ps, Dt.Scale = gs, Dt.Attribution = fr, ba.layers = Nf, ba.zoom = Gf, ba.scale = ms, ba.attribution = Ac;
|
|
2680
2680
|
var li = Ne.extend({
|
|
2681
2681
|
initialize: function(a) {
|
|
2682
2682
|
this._map = a;
|
|
@@ -2772,18 +2772,18 @@ function a2() {
|
|
|
2772
2772
|
}
|
|
2773
2773
|
});
|
|
2774
2774
|
function Mc(a, h, m) {
|
|
2775
|
-
var A, P = [1, 4, 2, 8], U,
|
|
2775
|
+
var A, P = [1, 4, 2, 8], U, oe, _e, Pe, qe, ct, St, Qt;
|
|
2776
2776
|
for (U = 0, ct = a.length; U < ct; U++)
|
|
2777
2777
|
a[U]._code = vi(a[U], h);
|
|
2778
2778
|
for (_e = 0; _e < 4; _e++) {
|
|
2779
|
-
for (St = P[_e], A = [], U = 0, ct = a.length,
|
|
2780
|
-
Pe = a[U], qe = a[
|
|
2779
|
+
for (St = P[_e], A = [], U = 0, ct = a.length, oe = ct - 1; U < ct; oe = U++)
|
|
2780
|
+
Pe = a[U], qe = a[oe], Pe._code & St ? qe._code & St || (Qt = ea(qe, Pe, St, h, m), Qt._code = vi(Qt, h), A.push(Qt)) : (qe._code & St && (Qt = ea(qe, Pe, St, h, m), Qt._code = vi(Qt, h), A.push(Qt)), A.push(Pe));
|
|
2781
2781
|
a = A;
|
|
2782
2782
|
}
|
|
2783
2783
|
return a;
|
|
2784
2784
|
}
|
|
2785
2785
|
function Ec(a, h) {
|
|
2786
|
-
var m, A, P, U,
|
|
2786
|
+
var m, A, P, U, oe, _e, Pe, qe, ct;
|
|
2787
2787
|
if (!a || a.length === 0)
|
|
2788
2788
|
throw new Error("latlngs not passed");
|
|
2789
2789
|
yi(a) || (console.warn("latlngs are not flat! Only the first ring will be used"), a = a[0]);
|
|
@@ -2795,10 +2795,10 @@ function a2() {
|
|
|
2795
2795
|
_i.push(h.project(fe([xn.lat - St.lat, xn.lng - St.lng])));
|
|
2796
2796
|
}
|
|
2797
2797
|
for (_e = Pe = qe = 0, m = 0, A = Kn - 1; m < Kn; A = m++)
|
|
2798
|
-
P = _i[m], U = _i[A],
|
|
2798
|
+
P = _i[m], U = _i[A], oe = P.y * U.x - U.y * P.x, Pe += (P.x + U.x) * oe, qe += (P.y + U.y) * oe, _e += oe * 3;
|
|
2799
2799
|
_e === 0 ? ct = _i[0] : ct = [Pe / _e, qe / _e];
|
|
2800
|
-
var
|
|
2801
|
-
return fe([
|
|
2800
|
+
var mr = h.unproject(de(ct));
|
|
2801
|
+
return fe([mr.lat + St.lat, mr.lng + St.lng]);
|
|
2802
2802
|
}
|
|
2803
2803
|
function Ql(a) {
|
|
2804
2804
|
for (var h = 0, m = 0, A = 0, P = 0; P < a.length; P++) {
|
|
@@ -2828,16 +2828,16 @@ function a2() {
|
|
|
2828
2828
|
function Yn(a, h) {
|
|
2829
2829
|
var m = a.length, A = typeof Uint8Array < "u" ? Uint8Array : Array, P = new A(m);
|
|
2830
2830
|
P[0] = P[m - 1] = 1, Xn(a, P, h, 0, m - 1);
|
|
2831
|
-
var U,
|
|
2831
|
+
var U, oe = [];
|
|
2832
2832
|
for (U = 0; U < m; U++)
|
|
2833
|
-
P[U] &&
|
|
2834
|
-
return
|
|
2833
|
+
P[U] && oe.push(a[U]);
|
|
2834
|
+
return oe;
|
|
2835
2835
|
}
|
|
2836
2836
|
function Xn(a, h, m, A, P) {
|
|
2837
|
-
var U = 0,
|
|
2837
|
+
var U = 0, oe, _e, Pe;
|
|
2838
2838
|
for (_e = A + 1; _e <= P - 1; _e++)
|
|
2839
|
-
Pe = Lo(a[_e], a[A], a[P], !0), Pe > U && (
|
|
2840
|
-
U > m && (h[
|
|
2839
|
+
Pe = Lo(a[_e], a[A], a[P], !0), Pe > U && (oe = _e, U = Pe);
|
|
2840
|
+
U > m && (h[oe] = 1, Xn(a, h, m, A, oe), Xn(a, h, m, oe, P));
|
|
2841
2841
|
}
|
|
2842
2842
|
function Lc(a, h) {
|
|
2843
2843
|
for (var m = [a[0]], A = 1, P = 0, U = a.length; A < U; A++)
|
|
@@ -2846,18 +2846,18 @@ function a2() {
|
|
|
2846
2846
|
}
|
|
2847
2847
|
var wa;
|
|
2848
2848
|
function Aa(a, h, m, A, P) {
|
|
2849
|
-
var U = A ? wa : vi(a, m),
|
|
2850
|
-
for (wa =
|
|
2851
|
-
if (!(U |
|
|
2849
|
+
var U = A ? wa : vi(a, m), oe = vi(h, m), _e, Pe, qe;
|
|
2850
|
+
for (wa = oe; ; ) {
|
|
2851
|
+
if (!(U | oe))
|
|
2852
2852
|
return [a, h];
|
|
2853
|
-
if (U &
|
|
2853
|
+
if (U & oe)
|
|
2854
2854
|
return !1;
|
|
2855
|
-
_e = U ||
|
|
2855
|
+
_e = U || oe, Pe = ea(a, h, _e, m, P), qe = vi(Pe, m), _e === U ? (a = Pe, U = qe) : (h = Pe, oe = qe);
|
|
2856
2856
|
}
|
|
2857
2857
|
}
|
|
2858
2858
|
function ea(a, h, m, A, P) {
|
|
2859
|
-
var U = h.x - a.x,
|
|
2860
|
-
return m & 8 ? (qe = a.x + U * (Pe.y - a.y) /
|
|
2859
|
+
var U = h.x - a.x, oe = h.y - a.y, _e = A.min, Pe = A.max, qe, ct;
|
|
2860
|
+
return m & 8 ? (qe = a.x + U * (Pe.y - a.y) / oe, ct = Pe.y) : m & 4 ? (qe = a.x + U * (_e.y - a.y) / oe, ct = _e.y) : m & 2 ? (qe = Pe.x, ct = a.y + oe * (Pe.x - a.x) / U) : m & 1 && (qe = _e.x, ct = a.y + oe * (_e.x - a.x) / U), new re(qe, ct, P);
|
|
2861
2861
|
}
|
|
2862
2862
|
function vi(a, h) {
|
|
2863
2863
|
var m = 0;
|
|
@@ -2868,8 +2868,8 @@ function a2() {
|
|
|
2868
2868
|
return m * m + A * A;
|
|
2869
2869
|
}
|
|
2870
2870
|
function Lo(a, h, m, A) {
|
|
2871
|
-
var P = h.x, U = h.y,
|
|
2872
|
-
return Pe > 0 && (qe = ((a.x - P) *
|
|
2871
|
+
var P = h.x, U = h.y, oe = m.x - P, _e = m.y - U, Pe = oe * oe + _e * _e, qe;
|
|
2872
|
+
return Pe > 0 && (qe = ((a.x - P) * oe + (a.y - U) * _e) / Pe, qe > 1 ? (P = m.x, U = m.y) : qe > 0 && (P += oe * qe, U += _e * qe)), oe = a.x - P, _e = a.y - U, A ? oe * oe + _e * _e : new re(P, U);
|
|
2873
2873
|
}
|
|
2874
2874
|
function yi(a) {
|
|
2875
2875
|
return !T(a[0]) || typeof a[0][0] != "object" && typeof a[0][0] < "u";
|
|
@@ -2878,7 +2878,7 @@ function a2() {
|
|
|
2878
2878
|
return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."), yi(a);
|
|
2879
2879
|
}
|
|
2880
2880
|
function Kl(a, h) {
|
|
2881
|
-
var m, A, P, U,
|
|
2881
|
+
var m, A, P, U, oe, _e, Pe, qe;
|
|
2882
2882
|
if (!a || a.length === 0)
|
|
2883
2883
|
throw new Error("latlngs not passed");
|
|
2884
2884
|
yi(a) || (console.warn("latlngs are not flat! Only the first ring will be used"), a = a[0]);
|
|
@@ -2895,10 +2895,10 @@ function a2() {
|
|
|
2895
2895
|
qe = Kn[0];
|
|
2896
2896
|
else
|
|
2897
2897
|
for (m = 0, U = 0; m < hi - 1; m++)
|
|
2898
|
-
if (
|
|
2898
|
+
if (oe = Kn[m], _e = Kn[m + 1], P = oe.distanceTo(_e), U += P, U > A) {
|
|
2899
2899
|
Pe = (U - A) / P, qe = [
|
|
2900
|
-
_e.x - Pe * (_e.x -
|
|
2901
|
-
_e.y - Pe * (_e.y -
|
|
2900
|
+
_e.x - Pe * (_e.x - oe.x),
|
|
2901
|
+
_e.y - Pe * (_e.y - oe.y)
|
|
2902
2902
|
];
|
|
2903
2903
|
break;
|
|
2904
2904
|
}
|
|
@@ -2930,15 +2930,15 @@ function a2() {
|
|
|
2930
2930
|
R_MINOR: 6356752314245179e-9,
|
|
2931
2931
|
bounds: new Se([-2003750834279e-5, -1549657073972e-5], [2003750834279e-5, 1876465623138e-5]),
|
|
2932
2932
|
project: function(a) {
|
|
2933
|
-
var h = Math.PI / 180, m = this.R, A = a.lat * h, P = this.R_MINOR / m, U = Math.sqrt(1 - P * P),
|
|
2933
|
+
var h = Math.PI / 180, m = this.R, A = a.lat * h, P = this.R_MINOR / m, U = Math.sqrt(1 - P * P), oe = U * Math.sin(A), _e = Math.tan(Math.PI / 4 - A / 2) / Math.pow((1 - oe) / (1 + oe), U / 2);
|
|
2934
2934
|
return A = -m * Math.log(Math.max(_e, 1e-10)), new re(a.lng * h * m, A);
|
|
2935
2935
|
},
|
|
2936
2936
|
unproject: function(a) {
|
|
2937
|
-
for (var h = 180 / Math.PI, m = this.R, A = this.R_MINOR / m, P = Math.sqrt(1 - A * A), U = Math.exp(-a.y / m),
|
|
2938
|
-
qe = P * Math.sin(
|
|
2939
|
-
return new Je(
|
|
2937
|
+
for (var h = 180 / Math.PI, m = this.R, A = this.R_MINOR / m, P = Math.sqrt(1 - A * A), U = Math.exp(-a.y / m), oe = Math.PI / 2 - 2 * Math.atan(U), _e = 0, Pe = 0.1, qe; _e < 15 && Math.abs(Pe) > 1e-7; _e++)
|
|
2938
|
+
qe = P * Math.sin(oe), qe = Math.pow((1 - qe) / (1 + qe), P / 2), Pe = Math.PI / 2 - 2 * Math.atan(U * qe) - oe, oe += Pe;
|
|
2939
|
+
return new Je(oe * h, a.x * h / m);
|
|
2940
2940
|
}
|
|
2941
|
-
},
|
|
2941
|
+
}, dr = {
|
|
2942
2942
|
__proto__: null,
|
|
2943
2943
|
LonLat: jl,
|
|
2944
2944
|
Mercator: Qi,
|
|
@@ -3175,7 +3175,7 @@ function a2() {
|
|
|
3175
3175
|
}
|
|
3176
3176
|
}), jf = function(a, h) {
|
|
3177
3177
|
return new Ka(a, h);
|
|
3178
|
-
},
|
|
3178
|
+
}, rr = Ka.extend({
|
|
3179
3179
|
addLayer: function(a) {
|
|
3180
3180
|
return this.hasLayer(a) ? this : (a.addEventParent(this), Ka.prototype.addLayer.call(this, a), this.fire("layeradd", { layer: a }));
|
|
3181
3181
|
},
|
|
@@ -3208,7 +3208,7 @@ function a2() {
|
|
|
3208
3208
|
return a;
|
|
3209
3209
|
}
|
|
3210
3210
|
}), qf = function(a, h) {
|
|
3211
|
-
return new
|
|
3211
|
+
return new rr(a, h);
|
|
3212
3212
|
}, ja = Ne.extend({
|
|
3213
3213
|
/* @section
|
|
3214
3214
|
* @aka Icon options
|
|
@@ -3351,14 +3351,14 @@ function a2() {
|
|
|
3351
3351
|
return this._draggable && this._draggable._moved;
|
|
3352
3352
|
},
|
|
3353
3353
|
_adjustPan: function(a) {
|
|
3354
|
-
var h = this._marker, m = h._map, A = this._marker.options.autoPanSpeed, P = this._marker.options.autoPanPadding, U = va(h._icon),
|
|
3355
|
-
|
|
3356
|
-
|
|
3354
|
+
var h = this._marker, m = h._map, A = this._marker.options.autoPanSpeed, P = this._marker.options.autoPanPadding, U = va(h._icon), oe = m.getPixelBounds(), _e = m.getPixelOrigin(), Pe = De(
|
|
3355
|
+
oe.min._subtract(_e).add(P),
|
|
3356
|
+
oe.max._subtract(_e).subtract(P)
|
|
3357
3357
|
);
|
|
3358
3358
|
if (!Pe.contains(U)) {
|
|
3359
3359
|
var qe = de(
|
|
3360
|
-
(Math.max(Pe.max.x, U.x) - Pe.max.x) / (
|
|
3361
|
-
(Math.max(Pe.max.y, U.y) - Pe.max.y) / (
|
|
3360
|
+
(Math.max(Pe.max.x, U.x) - Pe.max.x) / (oe.max.x - Pe.max.x) - (Math.min(Pe.min.x, U.x) - Pe.min.x) / (oe.min.x - Pe.min.x),
|
|
3361
|
+
(Math.max(Pe.max.y, U.y) - Pe.max.y) / (oe.max.y - Pe.max.y) - (Math.min(Pe.min.y, U.y) - Pe.min.y) / (oe.min.y - Pe.min.y)
|
|
3362
3362
|
).multiplyBy(A);
|
|
3363
3363
|
m.panBy(qe, { animate: !1 }), this._draggable._newPos._add(qe), this._draggable._startPos._add(qe), In(h._icon, this._draggable._newPos), this._onDrag(a), this._panRequest = J(this._adjustPan.bind(this, a));
|
|
3364
3364
|
}
|
|
@@ -3564,7 +3564,7 @@ function a2() {
|
|
|
3564
3564
|
function Wf(a, h) {
|
|
3565
3565
|
return new bs(a, h);
|
|
3566
3566
|
}
|
|
3567
|
-
var
|
|
3567
|
+
var kr = ui.extend({
|
|
3568
3568
|
// @section
|
|
3569
3569
|
// @aka Path options
|
|
3570
3570
|
options: {
|
|
@@ -3650,7 +3650,7 @@ function a2() {
|
|
|
3650
3650
|
_clickTolerance: function() {
|
|
3651
3651
|
return (this.options.stroke ? this.options.weight / 2 : 0) + (this._renderer.options.tolerance || 0);
|
|
3652
3652
|
}
|
|
3653
|
-
}),
|
|
3653
|
+
}), pr = kr.extend({
|
|
3654
3654
|
// @section
|
|
3655
3655
|
// @aka CircleMarker options
|
|
3656
3656
|
options: {
|
|
@@ -3685,7 +3685,7 @@ function a2() {
|
|
|
3685
3685
|
},
|
|
3686
3686
|
setStyle: function(a) {
|
|
3687
3687
|
var h = a && a.radius || this._radius;
|
|
3688
|
-
return
|
|
3688
|
+
return kr.prototype.setStyle.call(this, a), this.setRadius(h), this;
|
|
3689
3689
|
},
|
|
3690
3690
|
_project: function() {
|
|
3691
3691
|
this._point = this._map.latLngToLayerPoint(this._latlng), this._updateBounds();
|
|
@@ -3709,9 +3709,9 @@ function a2() {
|
|
|
3709
3709
|
}
|
|
3710
3710
|
});
|
|
3711
3711
|
function Sc(a, h) {
|
|
3712
|
-
return new
|
|
3712
|
+
return new pr(a, h);
|
|
3713
3713
|
}
|
|
3714
|
-
var Wl =
|
|
3714
|
+
var Wl = pr.extend({
|
|
3715
3715
|
initialize: function(a, h, m) {
|
|
3716
3716
|
if (typeof h == "number" && (h = r({}, m, { radius: h })), E(this, h), this._latlng = fe(a), isNaN(this.options.radius))
|
|
3717
3717
|
throw new Error("Circle radius cannot be NaN");
|
|
@@ -3736,12 +3736,12 @@ function a2() {
|
|
|
3736
3736
|
this._map.layerPointToLatLng(this._point.add(a))
|
|
3737
3737
|
);
|
|
3738
3738
|
},
|
|
3739
|
-
setStyle:
|
|
3739
|
+
setStyle: kr.prototype.setStyle,
|
|
3740
3740
|
_project: function() {
|
|
3741
3741
|
var a = this._latlng.lng, h = this._latlng.lat, m = this._map, A = m.options.crs;
|
|
3742
3742
|
if (A.distance === Qe.distance) {
|
|
3743
|
-
var P = Math.PI / 180, U = this._mRadius / Qe.R / P,
|
|
3744
|
-
(isNaN(ct) || ct === 0) && (ct = U / Math.cos(Math.PI / 180 * h)), this._point = Pe.subtract(m.getPixelOrigin()), this._radius = isNaN(ct) ? 0 : Pe.x - m.project([qe, a - ct]).x, this._radiusY = Pe.y -
|
|
3743
|
+
var P = Math.PI / 180, U = this._mRadius / Qe.R / P, oe = m.project([h + U, a]), _e = m.project([h - U, a]), Pe = oe.add(_e).divideBy(2), qe = m.unproject(Pe).lat, ct = Math.acos((Math.cos(U * P) - Math.sin(h * P) * Math.sin(qe * P)) / (Math.cos(h * P) * Math.cos(qe * P))) / P;
|
|
3744
|
+
(isNaN(ct) || ct === 0) && (ct = U / Math.cos(Math.PI / 180 * h)), this._point = Pe.subtract(m.getPixelOrigin()), this._radius = isNaN(ct) ? 0 : Pe.x - m.project([qe, a - ct]).x, this._radiusY = Pe.y - oe.y;
|
|
3745
3745
|
} else {
|
|
3746
3746
|
var St = A.unproject(A.project(this._latlng).subtract([this._mRadius, 0]));
|
|
3747
3747
|
this._point = m.latLngToLayerPoint(this._latlng), this._radius = this._point.x - m.latLngToLayerPoint(St).x;
|
|
@@ -3752,7 +3752,7 @@ function a2() {
|
|
|
3752
3752
|
function Ca(a, h, m) {
|
|
3753
3753
|
return new Wl(a, h, m);
|
|
3754
3754
|
}
|
|
3755
|
-
var
|
|
3755
|
+
var Br = kr.extend({
|
|
3756
3756
|
// @section
|
|
3757
3757
|
// @aka Polyline options
|
|
3758
3758
|
options: {
|
|
@@ -3785,8 +3785,8 @@ function a2() {
|
|
|
3785
3785
|
// @method closestLayerPoint(p: Point): Point
|
|
3786
3786
|
// Returns the point closest to `p` on the Polyline.
|
|
3787
3787
|
closestLayerPoint: function(a) {
|
|
3788
|
-
for (var h = 1 / 0, m = null, A = Lo, P, U,
|
|
3789
|
-
for (var Pe = this._parts[
|
|
3788
|
+
for (var h = 1 / 0, m = null, A = Lo, P, U, oe = 0, _e = this._parts.length; oe < _e; oe++)
|
|
3789
|
+
for (var Pe = this._parts[oe], qe = 1, ct = Pe.length; qe < ct; qe++) {
|
|
3790
3790
|
P = Pe[qe - 1], U = Pe[qe];
|
|
3791
3791
|
var St = A(a, P, U, !0);
|
|
3792
3792
|
St < h && (h = St, m = A(a, P, U));
|
|
@@ -3837,11 +3837,11 @@ function a2() {
|
|
|
3837
3837
|
},
|
|
3838
3838
|
// recursively turns latlngs into a set of rings with projected coordinates
|
|
3839
3839
|
_projectLatlngs: function(a, h, m) {
|
|
3840
|
-
var A = a[0] instanceof Je, P = a.length, U,
|
|
3840
|
+
var A = a[0] instanceof Je, P = a.length, U, oe;
|
|
3841
3841
|
if (A) {
|
|
3842
|
-
for (
|
|
3843
|
-
|
|
3844
|
-
h.push(
|
|
3842
|
+
for (oe = [], U = 0; U < P; U++)
|
|
3843
|
+
oe[U] = this._map.latLngToLayerPoint(a[U]), m.extend(oe[U]);
|
|
3844
|
+
h.push(oe);
|
|
3845
3845
|
} else
|
|
3846
3846
|
for (U = 0; U < P; U++)
|
|
3847
3847
|
this._projectLatlngs(a[U], h, m);
|
|
@@ -3854,10 +3854,10 @@ function a2() {
|
|
|
3854
3854
|
this._parts = this._rings;
|
|
3855
3855
|
return;
|
|
3856
3856
|
}
|
|
3857
|
-
var h = this._parts, m, A, P, U,
|
|
3857
|
+
var h = this._parts, m, A, P, U, oe, _e, Pe;
|
|
3858
3858
|
for (m = 0, P = 0, U = this._rings.length; m < U; m++)
|
|
3859
|
-
for (Pe = this._rings[m], A = 0,
|
|
3860
|
-
_e = Aa(Pe[A], Pe[A + 1], a, A, !0), _e && (h[P] = h[P] || [], h[P].push(_e[0]), (_e[1] !== Pe[A + 1] || A ===
|
|
3859
|
+
for (Pe = this._rings[m], A = 0, oe = Pe.length; A < oe - 1; A++)
|
|
3860
|
+
_e = Aa(Pe[A], Pe[A + 1], a, A, !0), _e && (h[P] = h[P] || [], h[P].push(_e[0]), (_e[1] !== Pe[A + 1] || A === oe - 2) && (h[P].push(_e[1]), P++));
|
|
3861
3861
|
}
|
|
3862
3862
|
},
|
|
3863
3863
|
// simplify each clipped part of the polyline for performance
|
|
@@ -3873,21 +3873,21 @@ function a2() {
|
|
|
3873
3873
|
},
|
|
3874
3874
|
// Needed by the `Canvas` renderer for interactivity
|
|
3875
3875
|
_containsPoint: function(a, h) {
|
|
3876
|
-
var m, A, P, U,
|
|
3876
|
+
var m, A, P, U, oe, _e, Pe = this._clickTolerance();
|
|
3877
3877
|
if (!this._pxBounds || !this._pxBounds.contains(a))
|
|
3878
3878
|
return !1;
|
|
3879
3879
|
for (m = 0, U = this._parts.length; m < U; m++)
|
|
3880
|
-
for (_e = this._parts[m], A = 0,
|
|
3880
|
+
for (_e = this._parts[m], A = 0, oe = _e.length, P = oe - 1; A < oe; P = A++)
|
|
3881
3881
|
if (!(!h && A === 0) && Ul(a, _e[P], _e[A]) <= Pe)
|
|
3882
3882
|
return !0;
|
|
3883
3883
|
return !1;
|
|
3884
3884
|
}
|
|
3885
3885
|
});
|
|
3886
3886
|
function Yf(a, h) {
|
|
3887
|
-
return new
|
|
3887
|
+
return new Br(a, h);
|
|
3888
3888
|
}
|
|
3889
|
-
|
|
3890
|
-
var ta =
|
|
3889
|
+
Br._flat = Hi;
|
|
3890
|
+
var ta = Br.extend({
|
|
3891
3891
|
options: {
|
|
3892
3892
|
fill: !0
|
|
3893
3893
|
},
|
|
@@ -3902,11 +3902,11 @@ function a2() {
|
|
|
3902
3902
|
return Ec(this._defaultShape(), this._map.options.crs);
|
|
3903
3903
|
},
|
|
3904
3904
|
_convertLatLngs: function(a) {
|
|
3905
|
-
var h =
|
|
3905
|
+
var h = Br.prototype._convertLatLngs.call(this, a), m = h.length;
|
|
3906
3906
|
return m >= 2 && h[0] instanceof Je && h[0].equals(h[m - 1]) && h.pop(), h;
|
|
3907
3907
|
},
|
|
3908
3908
|
_setLatLngs: function(a) {
|
|
3909
|
-
|
|
3909
|
+
Br.prototype._setLatLngs.call(this, a), yi(this._latlngs) && (this._latlngs = [this._latlngs]);
|
|
3910
3910
|
},
|
|
3911
3911
|
_defaultShape: function() {
|
|
3912
3912
|
return yi(this._latlngs[0]) ? this._latlngs[0] : this._latlngs[0][0];
|
|
@@ -3927,19 +3927,19 @@ function a2() {
|
|
|
3927
3927
|
},
|
|
3928
3928
|
// Needed by the `Canvas` renderer for interactivity
|
|
3929
3929
|
_containsPoint: function(a) {
|
|
3930
|
-
var h = !1, m, A, P, U,
|
|
3930
|
+
var h = !1, m, A, P, U, oe, _e, Pe, qe;
|
|
3931
3931
|
if (!this._pxBounds || !this._pxBounds.contains(a))
|
|
3932
3932
|
return !1;
|
|
3933
3933
|
for (U = 0, Pe = this._parts.length; U < Pe; U++)
|
|
3934
|
-
for (m = this._parts[U],
|
|
3935
|
-
A = m[
|
|
3936
|
-
return h ||
|
|
3934
|
+
for (m = this._parts[U], oe = 0, qe = m.length, _e = qe - 1; oe < qe; _e = oe++)
|
|
3935
|
+
A = m[oe], P = m[_e], A.y > a.y != P.y > a.y && a.x < (P.x - A.x) * (a.y - A.y) / (P.y - A.y) + A.x && (h = !h);
|
|
3936
|
+
return h || Br.prototype._containsPoint.call(this, a, !0);
|
|
3937
3937
|
}
|
|
3938
3938
|
});
|
|
3939
3939
|
function ko(a, h) {
|
|
3940
3940
|
return new ta(a, h);
|
|
3941
3941
|
}
|
|
3942
|
-
var
|
|
3942
|
+
var Pr = rr.extend({
|
|
3943
3943
|
/* @section
|
|
3944
3944
|
* @aka GeoJSON options
|
|
3945
3945
|
*
|
|
@@ -4004,8 +4004,8 @@ function a2() {
|
|
|
4004
4004
|
var U = this.options;
|
|
4005
4005
|
if (U.filter && !U.filter(a))
|
|
4006
4006
|
return this;
|
|
4007
|
-
var
|
|
4008
|
-
return
|
|
4007
|
+
var oe = ws(a, U);
|
|
4008
|
+
return oe ? (oe.feature = xs(a), oe.defaultOptions = oe.options, this.resetStyle(oe), U.onEachFeature && U.onEachFeature(a, oe), this.addLayer(oe)) : this;
|
|
4009
4009
|
},
|
|
4010
4010
|
// @method resetStyle( <Path> layer? ): this
|
|
4011
4011
|
// Resets the given vector layer's style to the original GeoJSON style, useful for resetting style after hover events.
|
|
@@ -4025,22 +4025,22 @@ function a2() {
|
|
|
4025
4025
|
}
|
|
4026
4026
|
});
|
|
4027
4027
|
function ws(a, h) {
|
|
4028
|
-
var m = a.type === "Feature" ? a.geometry : a, A = m ? m.coordinates : null, P = [], U = h && h.pointToLayer,
|
|
4028
|
+
var m = a.type === "Feature" ? a.geometry : a, A = m ? m.coordinates : null, P = [], U = h && h.pointToLayer, oe = h && h.coordsToLatLng || As, _e, Pe, qe, ct;
|
|
4029
4029
|
if (!A && !m)
|
|
4030
4030
|
return null;
|
|
4031
4031
|
switch (m.type) {
|
|
4032
4032
|
case "Point":
|
|
4033
|
-
return _e =
|
|
4033
|
+
return _e = oe(A), kc(U, a, _e, h);
|
|
4034
4034
|
case "MultiPoint":
|
|
4035
4035
|
for (qe = 0, ct = A.length; qe < ct; qe++)
|
|
4036
|
-
_e =
|
|
4037
|
-
return new
|
|
4036
|
+
_e = oe(A[qe]), P.push(kc(U, a, _e, h));
|
|
4037
|
+
return new rr(P);
|
|
4038
4038
|
case "LineString":
|
|
4039
4039
|
case "MultiLineString":
|
|
4040
|
-
return Pe = Cs(A, m.type === "LineString" ? 0 : 1,
|
|
4040
|
+
return Pe = Cs(A, m.type === "LineString" ? 0 : 1, oe), new Br(Pe, h);
|
|
4041
4041
|
case "Polygon":
|
|
4042
4042
|
case "MultiPolygon":
|
|
4043
|
-
return Pe = Cs(A, m.type === "Polygon" ? 1 : 2,
|
|
4043
|
+
return Pe = Cs(A, m.type === "Polygon" ? 1 : 2, oe), new ta(Pe, h);
|
|
4044
4044
|
case "GeometryCollection":
|
|
4045
4045
|
for (qe = 0, ct = m.geometries.length; qe < ct; qe++) {
|
|
4046
4046
|
var St = ws({
|
|
@@ -4050,13 +4050,13 @@ function a2() {
|
|
|
4050
4050
|
}, h);
|
|
4051
4051
|
St && P.push(St);
|
|
4052
4052
|
}
|
|
4053
|
-
return new
|
|
4053
|
+
return new rr(P);
|
|
4054
4054
|
case "FeatureCollection":
|
|
4055
4055
|
for (qe = 0, ct = m.features.length; qe < ct; qe++) {
|
|
4056
4056
|
var Qt = ws(m.features[qe], h);
|
|
4057
4057
|
Qt && P.push(Qt);
|
|
4058
4058
|
}
|
|
4059
|
-
return new
|
|
4059
|
+
return new rr(P);
|
|
4060
4060
|
default:
|
|
4061
4061
|
throw new Error("Invalid GeoJSON object.");
|
|
4062
4062
|
}
|
|
@@ -4068,15 +4068,15 @@ function a2() {
|
|
|
4068
4068
|
return new Je(a[1], a[0], a[2]);
|
|
4069
4069
|
}
|
|
4070
4070
|
function Cs(a, h, m) {
|
|
4071
|
-
for (var A = [], P = 0, U = a.length,
|
|
4072
|
-
|
|
4071
|
+
for (var A = [], P = 0, U = a.length, oe; P < U; P++)
|
|
4072
|
+
oe = h ? Cs(a[P], h - 1, m) : (m || As)(a[P]), A.push(oe);
|
|
4073
4073
|
return A;
|
|
4074
4074
|
}
|
|
4075
4075
|
function Ms(a, h) {
|
|
4076
4076
|
return a = fe(a), a.alt !== void 0 ? [w(a.lng, h), w(a.lat, h), w(a.alt, h)] : [w(a.lng, h), w(a.lat, h)];
|
|
4077
4077
|
}
|
|
4078
4078
|
function Es(a, h, m, A) {
|
|
4079
|
-
for (var P = [], U = 0,
|
|
4079
|
+
for (var P = [], U = 0, oe = a.length; U < oe; U++)
|
|
4080
4080
|
P.push(h ? Es(a[U], yi(a[U]) ? 0 : h - 1, m, A) : Ms(a[U], A));
|
|
4081
4081
|
return !h && m && P.length > 0 && P.push(P[0].slice()), P;
|
|
4082
4082
|
}
|
|
@@ -4098,7 +4098,7 @@ function a2() {
|
|
|
4098
4098
|
});
|
|
4099
4099
|
}
|
|
4100
4100
|
};
|
|
4101
|
-
bs.include(Ls), Wl.include(Ls),
|
|
4101
|
+
bs.include(Ls), Wl.include(Ls), pr.include(Ls), Br.include({
|
|
4102
4102
|
toGeoJSON: function(a) {
|
|
4103
4103
|
var h = !yi(this._latlngs), m = Es(this._latlngs, h ? 1 : 0, !1, a);
|
|
4104
4104
|
return qa(this, {
|
|
@@ -4138,8 +4138,8 @@ function a2() {
|
|
|
4138
4138
|
if (m)
|
|
4139
4139
|
A.push(U.geometry);
|
|
4140
4140
|
else {
|
|
4141
|
-
var
|
|
4142
|
-
|
|
4141
|
+
var oe = xs(U);
|
|
4142
|
+
oe.type === "FeatureCollection" ? A.push.apply(A, oe.features) : A.push(oe);
|
|
4143
4143
|
}
|
|
4144
4144
|
}
|
|
4145
4145
|
}), m ? qa(this, {
|
|
@@ -4152,7 +4152,7 @@ function a2() {
|
|
|
4152
4152
|
}
|
|
4153
4153
|
});
|
|
4154
4154
|
function Ss(a, h) {
|
|
4155
|
-
return new
|
|
4155
|
+
return new Pr(a, h);
|
|
4156
4156
|
}
|
|
4157
4157
|
var Bc = Ss, Va = ui.extend({
|
|
4158
4158
|
// @section
|
|
@@ -4311,8 +4311,8 @@ function a2() {
|
|
|
4311
4311
|
}
|
|
4312
4312
|
T(this._url) || (this._url = [this._url]), !this.options.keepAspectRatio && Object.prototype.hasOwnProperty.call(h.style, "objectFit") && (h.style.objectFit = "fill"), h.autoplay = !!this.options.autoplay, h.loop = !!this.options.loop, h.muted = !!this.options.muted, h.playsInline = !!this.options.playsInline;
|
|
4313
4313
|
for (var U = 0; U < this._url.length; U++) {
|
|
4314
|
-
var
|
|
4315
|
-
|
|
4314
|
+
var oe = nn("source");
|
|
4315
|
+
oe.src = this._url[U], h.appendChild(oe);
|
|
4316
4316
|
}
|
|
4317
4317
|
}
|
|
4318
4318
|
// @method getElement(): HTMLVideoElement
|
|
@@ -4334,7 +4334,7 @@ function a2() {
|
|
|
4334
4334
|
function Zf(a, h, m) {
|
|
4335
4335
|
return new Ic(a, h, m);
|
|
4336
4336
|
}
|
|
4337
|
-
var
|
|
4337
|
+
var gr = ui.extend({
|
|
4338
4338
|
// @section
|
|
4339
4339
|
// @aka DivOverlay options
|
|
4340
4340
|
options: {
|
|
@@ -4443,7 +4443,7 @@ function a2() {
|
|
|
4443
4443
|
var h = this._source;
|
|
4444
4444
|
if (!h._map)
|
|
4445
4445
|
return !1;
|
|
4446
|
-
if (h instanceof
|
|
4446
|
+
if (h instanceof rr) {
|
|
4447
4447
|
h = null;
|
|
4448
4448
|
var m = this._source._layers;
|
|
4449
4449
|
for (var A in m)
|
|
@@ -4502,7 +4502,7 @@ function a2() {
|
|
|
4502
4502
|
return P instanceof a ? (E(P, A), P._source = this) : (P = h && !A ? h : new a(A, this), P.setContent(m)), P;
|
|
4503
4503
|
}
|
|
4504
4504
|
});
|
|
4505
|
-
var na =
|
|
4505
|
+
var na = gr.extend({
|
|
4506
4506
|
// @section
|
|
4507
4507
|
// @aka Popup options
|
|
4508
4508
|
options: {
|
|
@@ -4566,16 +4566,16 @@ function a2() {
|
|
|
4566
4566
|
// Alternative to `map.openPopup(popup)`.
|
|
4567
4567
|
// Adds the popup to the map and closes the previous one.
|
|
4568
4568
|
openOn: function(a) {
|
|
4569
|
-
return a = arguments.length ? a : this._source._map, !a.hasLayer(this) && a._popup && a._popup.options.autoClose && a.removeLayer(a._popup), a._popup = this,
|
|
4569
|
+
return a = arguments.length ? a : this._source._map, !a.hasLayer(this) && a._popup && a._popup.options.autoClose && a.removeLayer(a._popup), a._popup = this, gr.prototype.openOn.call(this, a);
|
|
4570
4570
|
},
|
|
4571
4571
|
onAdd: function(a) {
|
|
4572
|
-
|
|
4572
|
+
gr.prototype.onAdd.call(this, a), a.fire("popupopen", { popup: this }), this._source && (this._source.fire("popupopen", { popup: this }, !0), this._source instanceof kr || this._source.on("preclick", ya));
|
|
4573
4573
|
},
|
|
4574
4574
|
onRemove: function(a) {
|
|
4575
|
-
|
|
4575
|
+
gr.prototype.onRemove.call(this, a), a.fire("popupclose", { popup: this }), this._source && (this._source.fire("popupclose", { popup: this }, !0), this._source instanceof kr || this._source.off("preclick", ya));
|
|
4576
4576
|
},
|
|
4577
4577
|
getEvents: function() {
|
|
4578
|
-
var a =
|
|
4578
|
+
var a = gr.prototype.getEvents.call(this);
|
|
4579
4579
|
return (this.options.closeOnClick !== void 0 ? this.options.closeOnClick : this._map.options.closePopupOnClick) && (a.preclick = this.close), this.options.keepInView && (a.moveend = this._adjustPan), a;
|
|
4580
4580
|
},
|
|
4581
4581
|
_initLayout: function() {
|
|
@@ -4610,7 +4610,7 @@ function a2() {
|
|
|
4610
4610
|
}
|
|
4611
4611
|
var a = this._map, h = parseInt(Zr(this._container, "marginBottom"), 10) || 0, m = this._container.offsetHeight + h, A = this._containerWidth, P = new re(this._containerLeft, -m - this._containerBottom);
|
|
4612
4612
|
P._add(va(this._container));
|
|
4613
|
-
var U = a.layerPointToContainerPoint(P),
|
|
4613
|
+
var U = a.layerPointToContainerPoint(P), oe = de(this.options.autoPanPadding), _e = de(this.options.autoPanPaddingTopLeft || oe), Pe = de(this.options.autoPanPaddingBottomRight || oe), qe = a.getSize(), ct = 0, St = 0;
|
|
4614
4614
|
U.x + A + Pe.x > qe.x && (ct = U.x + A - qe.x + Pe.x), U.x - ct - _e.x < 0 && (ct = U.x - _e.x), U.y + m + Pe.y > qe.y && (St = U.y + m - qe.y + Pe.y), U.y - St - _e.y < 0 && (St = U.y - _e.y), (ct || St) && (this.options.keepInView && (this._autopanning = !0), a.fire("autopanstart").panBy([ct, St]));
|
|
4615
4615
|
}
|
|
4616
4616
|
},
|
|
@@ -4662,7 +4662,7 @@ function a2() {
|
|
|
4662
4662
|
// @method openPopup(latlng?: LatLng): this
|
|
4663
4663
|
// Opens the bound popup at the specified `latlng` or at the default popup anchor if no `latlng` is passed.
|
|
4664
4664
|
openPopup: function(a) {
|
|
4665
|
-
return this._popup && (this instanceof
|
|
4665
|
+
return this._popup && (this instanceof rr || (this._popup._source = this), this._popup._prepareOpen(a || this._latlng) && this._popup.openOn(this._map)), this;
|
|
4666
4666
|
},
|
|
4667
4667
|
// @method closePopup(): this
|
|
4668
4668
|
// Closes the popup bound to this layer if it is open.
|
|
@@ -4693,7 +4693,7 @@ function a2() {
|
|
|
4693
4693
|
if (!(!this._popup || !this._map)) {
|
|
4694
4694
|
_a(a);
|
|
4695
4695
|
var h = a.layer || a.target;
|
|
4696
|
-
if (this._popup._source === h && !(h instanceof
|
|
4696
|
+
if (this._popup._source === h && !(h instanceof kr)) {
|
|
4697
4697
|
this._map.hasLayer(this._popup) ? this.closePopup() : this.openPopup(a.latlng);
|
|
4698
4698
|
return;
|
|
4699
4699
|
}
|
|
@@ -4707,7 +4707,7 @@ function a2() {
|
|
|
4707
4707
|
a.originalEvent.keyCode === 13 && this._openPopup(a);
|
|
4708
4708
|
}
|
|
4709
4709
|
});
|
|
4710
|
-
var ks =
|
|
4710
|
+
var ks = gr.extend({
|
|
4711
4711
|
// @section
|
|
4712
4712
|
// @aka Tooltip options
|
|
4713
4713
|
options: {
|
|
@@ -4734,13 +4734,13 @@ function a2() {
|
|
|
4734
4734
|
opacity: 0.9
|
|
4735
4735
|
},
|
|
4736
4736
|
onAdd: function(a) {
|
|
4737
|
-
|
|
4737
|
+
gr.prototype.onAdd.call(this, a), this.setOpacity(this.options.opacity), a.fire("tooltipopen", { tooltip: this }), this._source && (this.addEventParent(this._source), this._source.fire("tooltipopen", { tooltip: this }, !0));
|
|
4738
4738
|
},
|
|
4739
4739
|
onRemove: function(a) {
|
|
4740
|
-
|
|
4740
|
+
gr.prototype.onRemove.call(this, a), a.fire("tooltipclose", { tooltip: this }), this._source && (this.removeEventParent(this._source), this._source.fire("tooltipclose", { tooltip: this }, !0));
|
|
4741
4741
|
},
|
|
4742
4742
|
getEvents: function() {
|
|
4743
|
-
var a =
|
|
4743
|
+
var a = gr.prototype.getEvents.call(this);
|
|
4744
4744
|
return this.options.permanent || (a.preclick = this.close), a;
|
|
4745
4745
|
},
|
|
4746
4746
|
_initLayout: function() {
|
|
@@ -4752,8 +4752,8 @@ function a2() {
|
|
|
4752
4752
|
_adjustPan: function() {
|
|
4753
4753
|
},
|
|
4754
4754
|
_setPosition: function(a) {
|
|
4755
|
-
var h, m, A = this._map, P = this._container, U = A.latLngToContainerPoint(A.getCenter()),
|
|
4756
|
-
_e === "top" ? (h = Pe / 2, m = qe) : _e === "bottom" ? (h = Pe / 2, m = 0) : _e === "center" ? (h = Pe / 2, m = qe / 2) : _e === "right" ? (h = 0, m = qe / 2) : _e === "left" ? (h = Pe, m = qe / 2) :
|
|
4755
|
+
var h, m, A = this._map, P = this._container, U = A.latLngToContainerPoint(A.getCenter()), oe = A.layerPointToContainerPoint(a), _e = this.options.direction, Pe = P.offsetWidth, qe = P.offsetHeight, ct = de(this.options.offset), St = this._getAnchor();
|
|
4756
|
+
_e === "top" ? (h = Pe / 2, m = qe) : _e === "bottom" ? (h = Pe / 2, m = 0) : _e === "center" ? (h = Pe / 2, m = qe / 2) : _e === "right" ? (h = 0, m = qe / 2) : _e === "left" ? (h = Pe, m = qe / 2) : oe.x < U.x ? (_e = "right", h = 0, m = qe / 2) : (_e = "left", h = Pe + (ct.x + St.x) * 2, m = qe / 2), a = a.subtract(de(h, m, !0)).add(ct).add(St), Sn(P, "leaflet-tooltip-right"), Sn(P, "leaflet-tooltip-left"), Sn(P, "leaflet-tooltip-top"), Sn(P, "leaflet-tooltip-bottom"), Nt(P, "leaflet-tooltip-" + _e), In(P, a);
|
|
4757
4757
|
},
|
|
4758
4758
|
_updatePosition: function() {
|
|
4759
4759
|
var a = this._map.latLngToLayerPoint(this._latlng);
|
|
@@ -4811,7 +4811,7 @@ function a2() {
|
|
|
4811
4811
|
// @method openTooltip(latlng?: LatLng): this
|
|
4812
4812
|
// Opens the bound tooltip at the specified `latlng` or at the default tooltip anchor if no `latlng` is passed.
|
|
4813
4813
|
openTooltip: function(a) {
|
|
4814
|
-
return this._tooltip && (this instanceof
|
|
4814
|
+
return this._tooltip && (this instanceof rr || (this._tooltip._source = this), this._tooltip._prepareOpen(a) && (this._tooltip.openOn(this._map), this.getElement ? this._setAriaDescribedByOnLayer(this) : this.eachLayer && this.eachLayer(this._setAriaDescribedByOnLayer, this))), this;
|
|
4815
4815
|
},
|
|
4816
4816
|
// @method closeTooltip(): this
|
|
4817
4817
|
// Closes the tooltip bound to this layer if it is open.
|
|
@@ -5111,17 +5111,17 @@ function a2() {
|
|
|
5111
5111
|
this._removeAllTiles(), this._tileZoom = void 0;
|
|
5112
5112
|
},
|
|
5113
5113
|
_retainParent: function(a, h, m, A) {
|
|
5114
|
-
var P = Math.floor(a / 2), U = Math.floor(h / 2),
|
|
5115
|
-
_e.z = +
|
|
5114
|
+
var P = Math.floor(a / 2), U = Math.floor(h / 2), oe = m - 1, _e = new re(+P, +U);
|
|
5115
|
+
_e.z = +oe;
|
|
5116
5116
|
var Pe = this._tileCoordsToKey(_e), qe = this._tiles[Pe];
|
|
5117
|
-
return qe && qe.active ? (qe.retain = !0, !0) : (qe && qe.loaded && (qe.retain = !0),
|
|
5117
|
+
return qe && qe.active ? (qe.retain = !0, !0) : (qe && qe.loaded && (qe.retain = !0), oe > A ? this._retainParent(P, U, oe, A) : !1);
|
|
5118
5118
|
},
|
|
5119
5119
|
_retainChildren: function(a, h, m, A) {
|
|
5120
5120
|
for (var P = 2 * a; P < 2 * a + 2; P++)
|
|
5121
5121
|
for (var U = 2 * h; U < 2 * h + 2; U++) {
|
|
5122
|
-
var
|
|
5123
|
-
|
|
5124
|
-
var _e = this._tileCoordsToKey(
|
|
5122
|
+
var oe = new re(P, U);
|
|
5123
|
+
oe.z = m + 1;
|
|
5124
|
+
var _e = this._tileCoordsToKey(oe), Pe = this._tiles[_e];
|
|
5125
5125
|
if (Pe && Pe.active) {
|
|
5126
5126
|
Pe.retain = !0;
|
|
5127
5127
|
continue;
|
|
@@ -5177,7 +5177,7 @@ function a2() {
|
|
|
5177
5177
|
if (h) {
|
|
5178
5178
|
var m = this._clampZoom(h.getZoom());
|
|
5179
5179
|
if (a === void 0 && (a = h.getCenter()), this._tileZoom !== void 0) {
|
|
5180
|
-
var A = this._getTiledPixelBounds(a), P = this._pxBoundsToTileRange(A), U = P.getCenter(),
|
|
5180
|
+
var A = this._getTiledPixelBounds(a), P = this._pxBoundsToTileRange(A), U = P.getCenter(), oe = [], _e = this.options.keepBuffer, Pe = new Se(
|
|
5181
5181
|
P.getBottomLeft().subtract([_e, -_e]),
|
|
5182
5182
|
P.getTopRight().add([_e, -_e])
|
|
5183
5183
|
);
|
|
@@ -5196,16 +5196,16 @@ function a2() {
|
|
|
5196
5196
|
var hi = new re(Qt, St);
|
|
5197
5197
|
if (hi.z = this._tileZoom, !!this._isValidTile(hi)) {
|
|
5198
5198
|
var Kn = this._tiles[this._tileCoordsToKey(hi)];
|
|
5199
|
-
Kn ? Kn.current = !0 :
|
|
5199
|
+
Kn ? Kn.current = !0 : oe.push(hi);
|
|
5200
5200
|
}
|
|
5201
5201
|
}
|
|
5202
|
-
if (
|
|
5203
|
-
return xn.distanceTo(U) -
|
|
5204
|
-
}),
|
|
5202
|
+
if (oe.sort(function(xn, mr) {
|
|
5203
|
+
return xn.distanceTo(U) - mr.distanceTo(U);
|
|
5204
|
+
}), oe.length !== 0) {
|
|
5205
5205
|
this._loading || (this._loading = !0, this.fire("loading"));
|
|
5206
5206
|
var _i = document.createDocumentFragment();
|
|
5207
|
-
for (Qt = 0; Qt <
|
|
5208
|
-
this._addTile(
|
|
5207
|
+
for (Qt = 0; Qt < oe.length; Qt++)
|
|
5208
|
+
this._addTile(oe[Qt], _i);
|
|
5209
5209
|
this._level.el.appendChild(_i);
|
|
5210
5210
|
}
|
|
5211
5211
|
}
|
|
@@ -5227,8 +5227,8 @@ function a2() {
|
|
|
5227
5227
|
return this._tileCoordsToBounds(this._keyToTileCoords(a));
|
|
5228
5228
|
},
|
|
5229
5229
|
_tileCoordsToNwSe: function(a) {
|
|
5230
|
-
var h = this._map, m = this.getTileSize(), A = a.scaleBy(m), P = A.add(m), U = h.unproject(A, a.z),
|
|
5231
|
-
return [U,
|
|
5230
|
+
var h = this._map, m = this.getTileSize(), A = a.scaleBy(m), P = A.add(m), U = h.unproject(A, a.z), oe = h.unproject(P, a.z);
|
|
5231
|
+
return [U, oe];
|
|
5232
5232
|
},
|
|
5233
5233
|
// converts tile coordinates to its geographical bounds
|
|
5234
5234
|
_tileCoordsToBounds: function(a) {
|
|
@@ -5478,8 +5478,8 @@ function a2() {
|
|
|
5478
5478
|
this.wmsParams[h] = this._crs.code, Wa.prototype.onAdd.call(this, a);
|
|
5479
5479
|
},
|
|
5480
5480
|
getTileUrl: function(a) {
|
|
5481
|
-
var h = this._tileCoordsToNwSe(a), m = this._crs, A = De(m.project(h[0]), m.project(h[1])), P = A.min, U = A.max,
|
|
5482
|
-
return _e + k(this.wmsParams, _e, this.options.uppercase) + (this.options.uppercase ? "&BBOX=" : "&bbox=") +
|
|
5481
|
+
var h = this._tileCoordsToNwSe(a), m = this._crs, A = De(m.project(h[0]), m.project(h[1])), P = A.min, U = A.max, oe = (this._wmsVersion >= 1.3 && this._crs === ql ? [P.y, P.x, U.y, U.x] : [P.x, P.y, U.x, U.y]).join(","), _e = Wa.prototype.getTileUrl.call(this, a);
|
|
5482
|
+
return _e + k(this.wmsParams, _e, this.options.uppercase) + (this.options.uppercase ? "&BBOX=" : "&bbox=") + oe;
|
|
5483
5483
|
},
|
|
5484
5484
|
// @method setParams(params: Object, noRedraw?: Boolean): this
|
|
5485
5485
|
// Merges an object with the new parameters and re-requests tiles on the current screen (unless `noRedraw` was set to true).
|
|
@@ -5491,7 +5491,7 @@ function a2() {
|
|
|
5491
5491
|
return new Bs(a, h);
|
|
5492
5492
|
}
|
|
5493
5493
|
Wa.WMS = Bs, Yl.wms = nd;
|
|
5494
|
-
var
|
|
5494
|
+
var Ir = ui.extend({
|
|
5495
5495
|
// @section
|
|
5496
5496
|
// @aka Renderer options
|
|
5497
5497
|
options: {
|
|
@@ -5545,7 +5545,7 @@ function a2() {
|
|
|
5545
5545
|
var a = this.options.padding, h = this._map.getSize(), m = this._map.containerPointToLayerPoint(h.multiplyBy(-a)).round();
|
|
5546
5546
|
this._bounds = new Se(m, m.add(h.multiplyBy(1 + a * 2)).round()), this._center = this._map.getCenter(), this._zoom = this._map.getZoom();
|
|
5547
5547
|
}
|
|
5548
|
-
}), $l =
|
|
5548
|
+
}), $l = Ir.extend({
|
|
5549
5549
|
// @section
|
|
5550
5550
|
// @aka Canvas options
|
|
5551
5551
|
options: {
|
|
@@ -5554,14 +5554,14 @@ function a2() {
|
|
|
5554
5554
|
tolerance: 0
|
|
5555
5555
|
},
|
|
5556
5556
|
getEvents: function() {
|
|
5557
|
-
var a =
|
|
5557
|
+
var a = Ir.prototype.getEvents.call(this);
|
|
5558
5558
|
return a.viewprereset = this._onViewPreReset, a;
|
|
5559
5559
|
},
|
|
5560
5560
|
_onViewPreReset: function() {
|
|
5561
5561
|
this._postponeUpdatePaths = !0;
|
|
5562
5562
|
},
|
|
5563
5563
|
onAdd: function() {
|
|
5564
|
-
|
|
5564
|
+
Ir.prototype.onAdd.call(this), this._draw();
|
|
5565
5565
|
},
|
|
5566
5566
|
_initContainer: function() {
|
|
5567
5567
|
var a = this._container = document.createElement("canvas");
|
|
@@ -5581,13 +5581,13 @@ function a2() {
|
|
|
5581
5581
|
},
|
|
5582
5582
|
_update: function() {
|
|
5583
5583
|
if (!(this._map._animatingZoom && this._bounds)) {
|
|
5584
|
-
|
|
5584
|
+
Ir.prototype._update.call(this);
|
|
5585
5585
|
var a = this._bounds, h = this._container, m = a.getSize(), A = _t.retina ? 2 : 1;
|
|
5586
5586
|
In(h, a.min), h.width = A * m.x, h.height = A * m.y, h.style.width = m.x + "px", h.style.height = m.y + "px", _t.retina && this._ctx.scale(2, 2), this._ctx.translate(-a.min.x, -a.min.y), this.fire("update");
|
|
5587
5587
|
}
|
|
5588
5588
|
},
|
|
5589
5589
|
_reset: function() {
|
|
5590
|
-
|
|
5590
|
+
Ir.prototype._reset.call(this), this._postponeUpdatePaths && (this._postponeUpdatePaths = !1, this._updatePaths());
|
|
5591
5591
|
},
|
|
5592
5592
|
_initPath: function(a) {
|
|
5593
5593
|
this._updateDashArray(a), this._layers[d(a)] = a;
|
|
@@ -5656,11 +5656,11 @@ function a2() {
|
|
|
5656
5656
|
},
|
|
5657
5657
|
_updatePoly: function(a, h) {
|
|
5658
5658
|
if (this._drawing) {
|
|
5659
|
-
var m, A, P, U,
|
|
5659
|
+
var m, A, P, U, oe = a._parts, _e = oe.length, Pe = this._ctx;
|
|
5660
5660
|
if (_e) {
|
|
5661
5661
|
for (Pe.beginPath(), m = 0; m < _e; m++) {
|
|
5662
|
-
for (A = 0, P =
|
|
5663
|
-
U =
|
|
5662
|
+
for (A = 0, P = oe[m].length; A < P; A++)
|
|
5663
|
+
U = oe[m][A], Pe[A ? "lineTo" : "moveTo"](U.x, U.y);
|
|
5664
5664
|
h && Pe.closePath();
|
|
5665
5665
|
}
|
|
5666
5666
|
this._fillStroke(Pe, a);
|
|
@@ -5747,7 +5747,7 @@ function a2() {
|
|
|
5747
5747
|
this._container = nn("div", "leaflet-vml-container");
|
|
5748
5748
|
},
|
|
5749
5749
|
_update: function() {
|
|
5750
|
-
this._map._animatingZoom || (
|
|
5750
|
+
this._map._animatingZoom || (Ir.prototype._update.call(this), this.fire("update"));
|
|
5751
5751
|
},
|
|
5752
5752
|
_initPath: function(a) {
|
|
5753
5753
|
var h = a._container = Io("shape");
|
|
@@ -5778,7 +5778,7 @@ function a2() {
|
|
|
5778
5778
|
_bringToBack: function(a) {
|
|
5779
5779
|
ga(a._container);
|
|
5780
5780
|
}
|
|
5781
|
-
}, Ya = _t.vml ? Io : yt, ei =
|
|
5781
|
+
}, Ya = _t.vml ? Io : yt, ei = Ir.extend({
|
|
5782
5782
|
_initContainer: function() {
|
|
5783
5783
|
this._container = Ya("svg"), this._container.setAttribute("pointer-events", "none"), this._rootGroup = Ya("g"), this._container.appendChild(this._rootGroup);
|
|
5784
5784
|
},
|
|
@@ -5787,7 +5787,7 @@ function a2() {
|
|
|
5787
5787
|
},
|
|
5788
5788
|
_update: function() {
|
|
5789
5789
|
if (!(this._map._animatingZoom && this._bounds)) {
|
|
5790
|
-
|
|
5790
|
+
Ir.prototype._update.call(this);
|
|
5791
5791
|
var a = this._bounds, h = a.getSize(), m = this._container;
|
|
5792
5792
|
(!this._svgSize || !this._svgSize.equals(h)) && (this._svgSize = h, m.setAttribute("width", h.x), m.setAttribute("height", h.y)), In(m, a.min), m.setAttribute("viewBox", [a.min.x, a.min.y, h.x, h.y].join(" ")), this.fire("update");
|
|
5793
5793
|
}
|
|
@@ -5869,10 +5869,10 @@ function a2() {
|
|
|
5869
5869
|
];
|
|
5870
5870
|
}
|
|
5871
5871
|
});
|
|
5872
|
-
function
|
|
5872
|
+
function ar(a, h) {
|
|
5873
5873
|
return new Zl(a, h);
|
|
5874
5874
|
}
|
|
5875
|
-
ei.create = Ya, ei.pointsToPath = mt,
|
|
5875
|
+
ei.create = Ya, ei.pointsToPath = mt, Pr.geometryToLayer = ws, Pr.coordsToLatLng = As, Pr.coordsToLatLngs = Cs, Pr.latLngToCoords = Ms, Pr.latLngsToCoords = Es, Pr.getFeature = qa, Pr.asFeature = xs, Yt.mergeOptions({
|
|
5876
5876
|
// @option boxZoom: Boolean = true
|
|
5877
5877
|
// Whether the map can be zoomed to a rectangular area specified by
|
|
5878
5878
|
// dragging the mouse while pressing the shift key.
|
|
@@ -6050,8 +6050,8 @@ function a2() {
|
|
|
6050
6050
|
}
|
|
6051
6051
|
},
|
|
6052
6052
|
_onPreDragWrap: function() {
|
|
6053
|
-
var a = this._worldWidth, h = Math.round(a / 2), m = this._initialWorldOffset, A = this._draggable._newPos.x, P = (A - h + m) % a + h - m, U = (A + h + m) % a - h - m,
|
|
6054
|
-
this._draggable._absPos = this._draggable._newPos.clone(), this._draggable._newPos.x =
|
|
6053
|
+
var a = this._worldWidth, h = Math.round(a / 2), m = this._initialWorldOffset, A = this._draggable._newPos.x, P = (A - h + m) % a + h - m, U = (A + h + m) % a - h - m, oe = Math.abs(P + m) < Math.abs(U + m) ? P : U;
|
|
6054
|
+
this._draggable._absPos = this._draggable._newPos.clone(), this._draggable._newPos.x = oe;
|
|
6055
6055
|
},
|
|
6056
6056
|
_onDragEnd: function(a) {
|
|
6057
6057
|
var h = this._map, m = h.options, A = !m.inertia || a.noInertia || this._times.length < 2;
|
|
@@ -6059,11 +6059,11 @@ function a2() {
|
|
|
6059
6059
|
h.fire("moveend");
|
|
6060
6060
|
else {
|
|
6061
6061
|
this._prunePositions(+/* @__PURE__ */ new Date());
|
|
6062
|
-
var P = this._lastPos.subtract(this._positions[0]), U = (this._lastTime - this._times[0]) / 1e3,
|
|
6062
|
+
var P = this._lastPos.subtract(this._positions[0]), U = (this._lastTime - this._times[0]) / 1e3, oe = m.easeLinearity, _e = P.multiplyBy(oe / U), Pe = _e.distanceTo([0, 0]), qe = Math.min(m.inertiaMaxSpeed, Pe), ct = _e.multiplyBy(qe / Pe), St = qe / (m.inertiaDeceleration * oe), Qt = ct.multiplyBy(-St / 2).round();
|
|
6063
6063
|
!Qt.x && !Qt.y ? h.fire("moveend") : (Qt = h._limitOffset(Qt, h.options.maxBounds), J(function() {
|
|
6064
6064
|
h.panBy(Qt, {
|
|
6065
6065
|
duration: St,
|
|
6066
|
-
easeLinearity:
|
|
6066
|
+
easeLinearity: oe,
|
|
6067
6067
|
noMoveStart: !0,
|
|
6068
6068
|
animate: !0
|
|
6069
6069
|
});
|
|
@@ -6080,7 +6080,7 @@ function a2() {
|
|
|
6080
6080
|
// Amount of pixels to pan when pressing an arrow key.
|
|
6081
6081
|
keyboardPanDelta: 80
|
|
6082
6082
|
});
|
|
6083
|
-
var
|
|
6083
|
+
var Tr = li.extend({
|
|
6084
6084
|
keyCodes: {
|
|
6085
6085
|
left: [37],
|
|
6086
6086
|
right: [39],
|
|
@@ -6169,7 +6169,7 @@ function a2() {
|
|
|
6169
6169
|
}
|
|
6170
6170
|
}
|
|
6171
6171
|
});
|
|
6172
|
-
Yt.addInitHook("addHandler", "keyboard",
|
|
6172
|
+
Yt.addInitHook("addHandler", "keyboard", Tr), Yt.mergeOptions({
|
|
6173
6173
|
// @section Mouse wheel options
|
|
6174
6174
|
// @option scrollWheelZoom: Boolean|String = true
|
|
6175
6175
|
// Whether the map can be zoomed by using the mouse wheel. If passed `'center'`,
|
|
@@ -6201,8 +6201,8 @@ function a2() {
|
|
|
6201
6201
|
_performZoom: function() {
|
|
6202
6202
|
var a = this._map, h = a.getZoom(), m = this._map.options.zoomSnap || 0;
|
|
6203
6203
|
a._stop();
|
|
6204
|
-
var A = this._delta / (this._map.options.wheelPxPerZoomLevel * 4), P = 4 * Math.log(2 / (1 + Math.exp(-Math.abs(A)))) / Math.LN2, U = m ? Math.ceil(P / m) * m : P,
|
|
6205
|
-
this._delta = 0, this._startTime = null,
|
|
6204
|
+
var A = this._delta / (this._map.options.wheelPxPerZoomLevel * 4), P = 4 * Math.log(2 / (1 + Math.exp(-Math.abs(A)))) / Math.LN2, U = m ? Math.ceil(P / m) * m : P, oe = a._limitZoom(h + (this._delta > 0 ? U : -U)) - h;
|
|
6205
|
+
this._delta = 0, this._startTime = null, oe && (a.options.scrollWheelZoom === "center" ? a.setZoom(h + oe) : a.setZoomAround(this._lastMousePos, h + oe));
|
|
6206
6206
|
}
|
|
6207
6207
|
});
|
|
6208
6208
|
Yt.addInitHook("addHandler", "scrollWheelZoom", Fn);
|
|
@@ -6301,8 +6301,8 @@ function a2() {
|
|
|
6301
6301
|
this._center = h.unproject(h.project(this._pinchStartLatLng, this._zoom).subtract(U), this._zoom);
|
|
6302
6302
|
}
|
|
6303
6303
|
this._moved || (h._moveStart(!0, !1), this._moved = !0), ne(this._animRequest);
|
|
6304
|
-
var
|
|
6305
|
-
this._animRequest = J(
|
|
6304
|
+
var oe = l(h._move, h, this._center, this._zoom, { pinch: !0, round: !1 }, void 0);
|
|
6305
|
+
this._animRequest = J(oe, this, !0), Wn(a);
|
|
6306
6306
|
}
|
|
6307
6307
|
},
|
|
6308
6308
|
_onTouchEnd: function() {
|
|
@@ -6313,7 +6313,7 @@ function a2() {
|
|
|
6313
6313
|
this._zooming = !1, ne(this._animRequest), pn(document, "touchmove", this._onTouchMove, this), pn(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));
|
|
6314
6314
|
}
|
|
6315
6315
|
});
|
|
6316
|
-
Yt.addInitHook("addHandler", "touchZoom", Ii), Yt.BoxZoom = Tt, Yt.DoubleClickZoom = Is, Yt.Drag = Ts, Yt.Keyboard =
|
|
6316
|
+
Yt.addInitHook("addHandler", "touchZoom", Ii), Yt.BoxZoom = Tt, Yt.DoubleClickZoom = Is, Yt.Drag = Ts, Yt.Keyboard = Tr, Yt.ScrollWheelZoom = Fn, Yt.TapHold = Pi, Yt.TouchZoom = Ii, n.Bounds = Se, n.Browser = _t, n.CRS = ze, n.Canvas = $l, n.Circle = Wl, n.CircleMarker = pr, n.Class = Ne, n.Control = Dt, n.DivIcon = Tc, n.DivOverlay = gr, n.DomEvent = ds, n.DomUtil = Rf, n.Draggable = Xr, n.Evented = X, n.FeatureGroup = rr, n.GeoJSON = Pr, n.GridLayer = Po, n.Handler = li, n.Icon = ja, n.ImageOverlay = Va, n.LatLng = Je, n.LatLngBounds = Re, n.Layer = ui, n.LayerGroup = Ka, n.LineUtil = vs, n.Map = Yt, n.Marker = bs, n.Mixin = Hf, n.Path = kr, n.Point = re, n.PolyUtil = Qf, n.Polygon = ta, n.Polyline = Br, n.Popup = na, n.PosAnimation = bc, n.Projection = dr, n.Rectangle = Zl, n.Renderer = Ir, n.SVG = ei, n.SVGOverlay = Ic, n.TileLayer = Wa, n.Tooltip = ks, n.Transformation = Fe, n.Util = xe, n.VideoOverlay = Bo, n.bind = l, n.bounds = De, n.canvas = Ps, n.circle = Ca, n.circleMarker = Sc, n.control = ba, n.divIcon = ed, n.extend = r, n.featureGroup = qf, n.geoJSON = Ss, n.geoJson = Bc, n.gridLayer = td, n.icon = Vf, n.imageOverlay = $f, n.latLng = fe, n.latLngBounds = nt, n.layerGroup = jf, n.map = wc, n.marker = Wf, n.point = de, n.polygon = ko, n.polyline = Yf, n.popup = Jf, n.rectangle = ar, n.setOptions = E, n.stamp = d, n.svg = ci, n.svgOverlay = Zf, n.tileLayer = Yl, n.tooltip = Xf, n.transformation = rt, n.version = i, n.videoOverlay = Pc;
|
|
6317
6317
|
var Ma = window.L;
|
|
6318
6318
|
n.noConflict = function() {
|
|
6319
6319
|
return window.L = Ma, this;
|
|
@@ -6731,7 +6731,7 @@ function u2() {
|
|
|
6731
6731
|
};
|
|
6732
6732
|
}
|
|
6733
6733
|
u.exports = f;
|
|
6734
|
-
}),
|
|
6734
|
+
}), nr = l((o, u) => {
|
|
6735
6735
|
var f = wn(), p = f(Object.getPrototypeOf, Object);
|
|
6736
6736
|
u.exports = p;
|
|
6737
6737
|
}), gi = l((o, u) => {
|
|
@@ -6742,7 +6742,7 @@ function u2() {
|
|
|
6742
6742
|
}
|
|
6743
6743
|
u.exports = p;
|
|
6744
6744
|
}), Ni = l((o, u) => {
|
|
6745
|
-
var f = sn(), p =
|
|
6745
|
+
var f = sn(), p = nr(), v = gi();
|
|
6746
6746
|
function C(S) {
|
|
6747
6747
|
return typeof S.constructor == "function" && !v(S) ? f(p(S)) : {};
|
|
6748
6748
|
}
|
|
@@ -6795,7 +6795,7 @@ function u2() {
|
|
|
6795
6795
|
var f = K(), p = oi(), v = typeof o == "object" && o && !o.nodeType && o, C = v && typeof u == "object" && u && !u.nodeType && u, S = C && C.exports === v, B = S ? f.Buffer : void 0, D = B ? B.isBuffer : void 0, H = D || p;
|
|
6796
6796
|
u.exports = H;
|
|
6797
6797
|
}), mi = l((o, u) => {
|
|
6798
|
-
var f = Q(), p =
|
|
6798
|
+
var f = Q(), p = nr(), v = Pn(), C = "[object Object]", S = Function.prototype, B = Object.prototype, D = S.toString, H = B.hasOwnProperty, ae = D.call(Object);
|
|
6799
6799
|
function ee(Ce) {
|
|
6800
6800
|
if (!v(Ce) || f(Ce) != C) return !1;
|
|
6801
6801
|
var ke = p(Ce);
|
|
@@ -6974,7 +6974,7 @@ function u2() {
|
|
|
6974
6974
|
return p(S, "toString", { configurable: !0, enumerable: !1, value: f(B), writable: !0 });
|
|
6975
6975
|
} : v;
|
|
6976
6976
|
u.exports = C;
|
|
6977
|
-
}),
|
|
6977
|
+
}), ir = l((o, u) => {
|
|
6978
6978
|
var f = 800, p = 16, v = Date.now;
|
|
6979
6979
|
function C(S) {
|
|
6980
6980
|
var B = 0, D = 0;
|
|
@@ -6988,7 +6988,7 @@ function u2() {
|
|
|
6988
6988
|
}
|
|
6989
6989
|
u.exports = C;
|
|
6990
6990
|
}), Ha = l((o, u) => {
|
|
6991
|
-
var f = Bi(), p =
|
|
6991
|
+
var f = Bi(), p = ir(), v = p(f);
|
|
6992
6992
|
u.exports = v;
|
|
6993
6993
|
}), pa = l((o, u) => {
|
|
6994
6994
|
var f = it(), p = Cn(), v = Ha();
|
|
@@ -7895,7 +7895,7 @@ function u2() {
|
|
|
7895
7895
|
}
|
|
7896
7896
|
return !1;
|
|
7897
7897
|
} });
|
|
7898
|
-
var Bl = { version: "2.18.3" }, Nt = d(ss()), Sn = { tooltips: { placeMarker: "Click to place marker", firstVertex: "Click to place first vertex", continueLine: "Click to continue drawing", finishLine: "Click any existing marker to finish", finishPoly: "Click first marker to finish", finishRect: "Click to finish", startCircle: "Click to place circle center", finishCircle: "Click to finish circle", placeCircleMarker: "Click to place circle marker", placeText: "Click to place text", selectFirstLayerFor: "Select first layer for {action}", selectSecondLayerFor: "Select second layer for {action}" }, actions: { finish: "Finish", cancel: "Cancel", removeLastVertex: "Remove Last Vertex" }, buttonTitles: { drawMarkerButton: "Draw Marker", drawPolyButton: "Draw Polygons", drawLineButton: "Draw Polyline", drawCircleButton: "Draw Circle", drawRectButton: "Draw Rectangle", editButton: "Edit Layers", dragButton: "Drag Layers", cutButton: "Cut Layers", deleteButton: "Remove Layers", drawCircleMarkerButton: "Draw Circle Marker", snappingButton: "Snap dragged marker to other layers and vertices", pinningButton: "Pin shared vertices together", rotateButton: "Rotate Layers", drawTextButton: "Draw Text", scaleButton: "Scale Layers", autoTracingButton: "Auto trace Line", snapGuidesButton: "Show SnapGuides", unionButton: "Union layers", differenceButton: "Subtract layers" }, measurements: { totalLength: "Length", segmentLength: "Segment length", area: "Area", radius: "Radius", perimeter: "Perimeter", height: "Height", width: "Width", coordinates: "Position", coordinatesMarker: "Position Marker" } }, Pl = { tooltips: { placeMarker: "Platziere den Marker mit Klick", firstVertex: "Platziere den ersten Marker mit Klick", continueLine: "Klicke, um weiter zu zeichnen", finishLine: "Beende mit Klick auf existierenden Marker", finishPoly: "Beende mit Klick auf ersten Marker", finishRect: "Beende mit Klick", startCircle: "Platziere das Kreiszentrum mit Klick", finishCircle: "Beende den Kreis mit Klick", placeCircleMarker: "Platziere den Kreismarker mit Klick", placeText: "Platziere den Text mit Klick" }, actions: { finish: "Beenden", cancel: "Abbrechen", removeLastVertex: "Letzten Vertex löschen" }, buttonTitles: { drawMarkerButton: "Marker zeichnen", drawPolyButton: "Polygon zeichnen", drawLineButton: "Polyline zeichnen", drawCircleButton: "Kreis zeichnen", drawRectButton: "Rechteck zeichnen", editButton: "Layer editieren", dragButton: "Layer bewegen", cutButton: "Layer schneiden", deleteButton: "Layer löschen", drawCircleMarkerButton: "Kreismarker zeichnen", snappingButton: "Bewegter Layer an andere Layer oder Vertexe einhacken", pinningButton: "Vertexe an der gleichen Position verknüpfen", rotateButton: "Layer drehen", drawTextButton: "Text zeichnen", scaleButton: "Layer skalieren", autoTracingButton: "Linie automatisch nachzeichen" }, measurements: { totalLength: "Länge", segmentLength: "Segment Länge", area: "Fläche", radius: "Radius", perimeter: "Umfang", height: "Höhe", width: "Breite", coordinates: "Position", coordinatesMarker: "Position Marker" } }, us = { tooltips: { placeMarker: "Clicca per posizionare un Marker", firstVertex: "Clicca per posizionare il primo vertice", continueLine: "Clicca per continuare a disegnare", finishLine: "Clicca qualsiasi marker esistente per terminare", finishPoly: "Clicca il primo marker per terminare", finishRect: "Clicca per terminare", startCircle: "Clicca per posizionare il punto centrale del cerchio", finishCircle: "Clicca per terminare il cerchio", placeCircleMarker: "Clicca per posizionare un Marker del cherchio" }, actions: { finish: "Termina", cancel: "Annulla", removeLastVertex: "Rimuovi l'ultimo vertice" }, buttonTitles: { drawMarkerButton: "Disegna Marker", drawPolyButton: "Disegna Poligoni", drawLineButton: "Disegna Polilinea", drawCircleButton: "Disegna Cerchio", drawRectButton: "Disegna Rettangolo", editButton: "Modifica Livelli", dragButton: "Sposta Livelli", cutButton: "Ritaglia Livelli", deleteButton: "Elimina Livelli", drawCircleMarkerButton: "Disegna Marker del Cerchio", snappingButton: "Snap ha trascinato il pennarello su altri strati e vertici", pinningButton: "Pin condiviso vertici insieme", rotateButton: "Ruota livello" } }, zi = { tooltips: { placeMarker: "Klik untuk menempatkan marker", firstVertex: "Klik untuk menempatkan vertex pertama", continueLine: "Klik untuk meneruskan digitasi", finishLine: "Klik pada sembarang marker yang ada untuk mengakhiri", finishPoly: "Klik marker pertama untuk mengakhiri", finishRect: "Klik untuk mengakhiri", startCircle: "Klik untuk menempatkan titik pusat lingkaran", finishCircle: "Klik untuk mengakhiri lingkaran", placeCircleMarker: "Klik untuk menempatkan penanda lingkarann" }, actions: { finish: "Selesai", cancel: "Batal", removeLastVertex: "Hilangkan Vertex Terakhir" }, buttonTitles: { drawMarkerButton: "Digitasi Marker", drawPolyButton: "Digitasi Polygon", drawLineButton: "Digitasi Polyline", drawCircleButton: "Digitasi Lingkaran", drawRectButton: "Digitasi Segi Empat", editButton: "Edit Layer", dragButton: "Geser Layer", cutButton: "Potong Layer", deleteButton: "Hilangkan Layer", drawCircleMarkerButton: "Digitasi Penanda Lingkaran", snappingButton: "Jepretkan penanda yang ditarik ke lapisan dan simpul lain", pinningButton: "Sematkan simpul bersama bersama", rotateButton: "Putar lapisan" } }, Df = { tooltips: { placeMarker: "Adaugă un punct", firstVertex: "Apasă aici pentru a adăuga primul Vertex", continueLine: "Apasă aici pentru a continua desenul", finishLine: "Apasă pe orice obiect pentru a finisa desenul", finishPoly: "Apasă pe primul obiect pentru a finisa", finishRect: "Apasă pentru a finisa", startCircle: "Apasă pentru a desena un cerc", finishCircle: "Apasă pentru a finisa un cerc", placeCircleMarker: "Adaugă un punct" }, actions: { finish: "Termină", cancel: "Anulează", removeLastVertex: "Șterge ultimul Vertex" }, buttonTitles: { drawMarkerButton: "Adaugă o bulină", drawPolyButton: "Desenează un poligon", drawLineButton: "Desenează o linie", drawCircleButton: "Desenează un cerc", drawRectButton: "Desenează un dreptunghi", editButton: "Editează straturile", dragButton: "Mută straturile", cutButton: "Taie straturile", deleteButton: "Șterge straturile", drawCircleMarkerButton: "Desenează marcatorul cercului", snappingButton: "Fixați marcatorul glisat pe alte straturi și vârfuri", pinningButton: "Fixați vârfurile partajate împreună", rotateButton: "Rotiți stratul" } }, cs = { tooltips: { placeMarker: "Нажмите, чтобы нанести маркер", firstVertex: "Нажмите, чтобы нанести первый объект", continueLine: "Нажмите, чтобы продолжить рисование", finishLine: "Нажмите любой существующий маркер для завершения", finishPoly: "Выберите первую точку, чтобы закончить", finishRect: "Нажмите, чтобы закончить", startCircle: "Нажмите, чтобы добавить центр круга", finishCircle: "Нажмите, чтобы задать радиус", placeCircleMarker: "Нажмите, чтобы нанести круговой маркер" }, actions: { finish: "Завершить", cancel: "Отменить", removeLastVertex: "Отменить последнее действие" }, buttonTitles: { drawMarkerButton: "Добавить маркер", drawPolyButton: "Рисовать полигон", drawLineButton: "Рисовать кривую", drawCircleButton: "Рисовать круг", drawRectButton: "Рисовать прямоугольник", editButton: "Редактировать слой", dragButton: "Перенести слой", cutButton: "Вырезать слой", deleteButton: "Удалить слой", drawCircleMarkerButton: "Добавить круговой маркер", snappingButton: "Привязать перетаскиваемый маркер к другим слоям и вершинам", pinningButton: "Связать общие точки вместе", rotateButton: "Поворот слоя" } }, ma = { tooltips: { placeMarker: "Presiona para colocar un marcador", firstVertex: "Presiona para colocar el primer vértice", continueLine: "Presiona para continuar dibujando", finishLine: "Presiona cualquier marcador existente para finalizar", finishPoly: "Presiona el primer marcador para finalizar", finishRect: "Presiona para finalizar", startCircle: "Presiona para colocar el centro del círculo", finishCircle: "Presiona para finalizar el círculo", placeCircleMarker: "Presiona para colocar un marcador de círculo" }, actions: { finish: "Finalizar", cancel: "Cancelar", removeLastVertex: "Eliminar último vértice" }, buttonTitles: { drawMarkerButton: "Dibujar Marcador", drawPolyButton: "Dibujar Polígono", drawLineButton: "Dibujar Línea", drawCircleButton: "Dibujar Círculo", drawRectButton: "Dibujar Rectángulo", editButton: "Editar Capas", dragButton: "Arrastrar Capas", cutButton: "Cortar Capas", deleteButton: "Eliminar Capas", drawCircleMarkerButton: "Dibujar Marcador de Círculo", snappingButton: "El marcador de Snap arrastrado a otras capas y vértices", pinningButton: "Fijar juntos los vértices compartidos", rotateButton: "Rotar capa" } }, In = { tooltips: { placeMarker: "Klik om een marker te plaatsen", firstVertex: "Klik om het eerste punt te plaatsen", continueLine: "Klik om te blijven tekenen", finishLine: "Klik op een bestaand punt om te beëindigen", finishPoly: "Klik op het eerst punt om te beëindigen", finishRect: "Klik om te beëindigen", startCircle: "Klik om het middelpunt te plaatsen", finishCircle: "Klik om de cirkel te beëindigen", placeCircleMarker: "Klik om een marker te plaatsen" }, actions: { finish: "Bewaar", cancel: "Annuleer", removeLastVertex: "Verwijder laatste punt" }, buttonTitles: { drawMarkerButton: "Plaats Marker", drawPolyButton: "Teken een vlak", drawLineButton: "Teken een lijn", drawCircleButton: "Teken een cirkel", drawRectButton: "Teken een vierkant", editButton: "Bewerk", dragButton: "Verplaats", cutButton: "Knip", deleteButton: "Verwijder", drawCircleMarkerButton: "Plaats Marker", snappingButton: "Snap gesleepte marker naar andere lagen en hoekpunten", pinningButton: "Speld gedeelde hoekpunten samen", rotateButton: "Laag roteren" } }, va = { tooltips: { placeMarker: "Cliquez pour placer un marqueur", firstVertex: "Cliquez pour placer le premier sommet", continueLine: "Cliquez pour continuer à dessiner", finishLine: "Cliquez sur n'importe quel marqueur pour terminer", finishPoly: "Cliquez sur le premier marqueur pour terminer", finishRect: "Cliquez pour terminer", startCircle: "Cliquez pour placer le centre du cercle", finishCircle: "Cliquez pour finir le cercle", placeCircleMarker: "Cliquez pour placer le marqueur circulaire" }, actions: { finish: "Terminer", cancel: "Annuler", removeLastVertex: "Retirer le dernier sommet" }, buttonTitles: { drawMarkerButton: "Placer des marqueurs", drawPolyButton: "Dessiner des polygones", drawLineButton: "Dessiner des polylignes", drawCircleButton: "Dessiner un cercle", drawRectButton: "Dessiner un rectangle", editButton: "Éditer des calques", dragButton: "Déplacer des calques", cutButton: "Couper des calques", deleteButton: "Supprimer des calques", drawCircleMarkerButton: "Dessiner un marqueur circulaire", snappingButton: "Glisser le marqueur vers d'autres couches et sommets", pinningButton: "Épingler ensemble les sommets partagés", rotateButton: "Tourner des calques" } }, Co = { tooltips: { placeMarker: "单击放置标记", firstVertex: "单击放置首个顶点", continueLine: "单击继续绘制", finishLine: "单击任何存在的标记以完成", finishPoly: "单击第一个标记以完成", finishRect: "单击完成", startCircle: "单击放置圆心", finishCircle: "单击完成圆形", placeCircleMarker: "点击放置圆形标记" }, actions: { finish: "完成", cancel: "取消", removeLastVertex: "移除最后的顶点" }, buttonTitles: { drawMarkerButton: "绘制标记", drawPolyButton: "绘制多边形", drawLineButton: "绘制线段", drawCircleButton: "绘制圆形", drawRectButton: "绘制长方形", editButton: "编辑图层", dragButton: "拖拽图层", cutButton: "剪切图层", deleteButton: "删除图层", drawCircleMarkerButton: "画圆圈标记", snappingButton: "将拖动的标记捕捉到其他图层和顶点", pinningButton: "将共享顶点固定在一起", rotateButton: "旋转图层" } }, Mo = { tooltips: { placeMarker: "單擊放置標記", firstVertex: "單擊放置第一個頂點", continueLine: "單擊繼續繪製", finishLine: "單擊任何存在的標記以完成", finishPoly: "單擊第一個標記以完成", finishRect: "單擊完成", startCircle: "單擊放置圓心", finishCircle: "單擊完成圓形", placeCircleMarker: "點擊放置圓形標記" }, actions: { finish: "完成", cancel: "取消", removeLastVertex: "移除最後一個頂點" }, buttonTitles: { drawMarkerButton: "放置標記", drawPolyButton: "繪製多邊形", drawLineButton: "繪製線段", drawCircleButton: "繪製圓形", drawRectButton: "繪製方形", editButton: "編輯圖形", dragButton: "移動圖形", cutButton: "裁切圖形", deleteButton: "刪除圖形", drawCircleMarkerButton: "畫圓圈標記", snappingButton: "將拖動的標記對齊到其他圖層和頂點", pinningButton: "將共享頂點固定在一起", rotateButton: "旋轉圖形" } }, Il = { tooltips: { placeMarker: "Clique para posicionar o marcador", firstVertex: "Clique para posicionar o primeiro vértice", continueLine: "Clique para continuar desenhando", finishLine: "Clique em qualquer marcador existente para finalizar", finishPoly: "Clique no primeiro marcador para finalizar", finishRect: "Clique para finalizar", startCircle: "Clique para posicionar o centro do círculo", finishCircle: "Clique para finalizar o círculo", placeCircleMarker: "Clique para posicionar o marcador circular", placeText: "Clique para inserir texto" }, actions: { finish: "Finalizar", cancel: "Cancelar", removeLastVertex: "Remover último vértice" }, buttonTitles: { drawMarkerButton: "Desenhar Marcador", drawPolyButton: "Desenhar Polígonos", drawLineButton: "Desenhar Linha Poligonal", drawCircleButton: "Desenhar Círculo", drawRectButton: "Desenhar Retângulo", editButton: "Editar Camadas", dragButton: "Arrastar Camadas", cutButton: "Recortar Camadas", deleteButton: "Remover Camadas", drawCircleMarkerButton: "Desenhar Marcador de Círculo", snappingButton: "Ajustar marcador arrastado a outras camadas e vértices", pinningButton: "Unir vértices compartilhados", rotateButton: "Rotacionar Camadas", drawTextButton: "Desenhar Texto", scaleButton: "Redimensionar Camadas", autoTracingButton: "Traçado Automático de Linha" }, measurements: { totalLength: "Comprimento", segmentLength: "Comprimento do Segmento", area: "Área", radius: "Raio", perimeter: "Perímetro", height: "Altura", width: "Largura", coordinates: "Posição", coordinatesMarker: "Marcador de Posição" } }, Ua = { tooltips: { placeMarker: "Clique para colocar marcador", firstVertex: "Clique para colocar primeiro vértice", continueLine: "Clique para continuar a desenhar", finishLine: "Clique num marcador existente para terminar", finishPoly: "Clique no primeiro marcador para terminar", finishRect: "Clique para terminar", startCircle: "Clique para colocar o centro do círculo", finishCircle: "Clique para terminar o círculo", placeCircleMarker: "Clique para colocar marcador de círculo", placeText: "Clique para colocar texto" }, actions: { finish: "Terminar", cancel: "Cancelar", removeLastVertex: "Remover Último Vértice" }, buttonTitles: { drawMarkerButton: "Desenhar Marcador", drawPolyButton: "Desenhar Polígonos", drawLineButton: "Desenhar Polilinha", drawCircleButton: "Desenhar Círculo", drawRectButton: "Desenhar Retângulo", editButton: "Editar Camadas", dragButton: "Arrastar Camadas", cutButton: "Cortar Camadas", deleteButton: "Remover Camadas", drawCircleMarkerButton: "Desenhar Marcador de Círculo", snappingButton: "Ajustar marcador arrastado a outras camadas e vértices", pinningButton: "Unir vértices partilhados", rotateButton: "Rodar Camadas", drawTextButton: "Desenhar Texto", scaleButton: "Escalar Camadas", autoTracingButton: "Traçado Automático de Linha" }, measurements: { totalLength: "Comprimento", segmentLength: "Comprimento do Segmento", area: "Área", radius: "Raio", perimeter: "Perímetro", height: "Altura", width: "Largura", coordinates: "Posição", coordinatesMarker: "Marcador de Posição" } }, Tl = { tooltips: { placeMarker: "Kliknij, aby umieścić znacznik", firstVertex: "Kliknij, aby umieścić pierwszy wierzchołek", continueLine: "Kliknij, aby kontynuować rysowanie", finishLine: "Kliknij dowolny istniejący znacznik, aby zakończyć", finishPoly: "Kliknij pierwszy znacznik, aby zakończyć", finishRect: "Kliknij, aby zakończyć", startCircle: "Kliknij, aby umieścić środek okręgu", finishCircle: "Kliknij, aby zakończyć okrąg", placeCircleMarker: "Kliknij, aby umieścić znacznik okręgu", placeText: "Kliknij, aby umieścić tekst" }, actions: { finish: "Zakończ", cancel: "Anuluj", removeLastVertex: "Usuń ostatni wierzchołek" }, buttonTitles: { drawMarkerButton: "Rysuj znacznik", drawPolyButton: "Rysuj wielokąt", drawLineButton: "Rysuj linię", drawCircleButton: "Rysuj okrąg", drawRectButton: "Rysuj prostokąt", editButton: "Edytuj warstwy", dragButton: "Przeciągnij warstwy", cutButton: "Wytnij warstwy", deleteButton: "Usuń warstwy", drawCircleMarkerButton: "Rysuj znacznik okrągły", snappingButton: "Przyciągnij przenoszony znacznik do innych warstw i wierzchołków", pinningButton: "Przypnij wspólne wierzchołki razem", rotateButton: "Obróć warstwy", drawTextButton: "Rysuj tekst", scaleButton: "Skaluj warstwy", autoTracingButton: "Automatyczne śledzenie linii" }, measurements: { totalLength: "Długość", segmentLength: "Długość odcinka", area: "Obszar", radius: "Promień", perimeter: "Obwód", height: "Wysokość", width: "Szerokość", coordinates: "Pozycja", coordinatesMarker: "Znacznik pozycji" } }, Ol = { tooltips: { placeMarker: "Klicka för att placera markör", firstVertex: "Klicka för att placera första hörnet", continueLine: "Klicka för att fortsätta rita", finishLine: "Klicka på en existerande punkt för att slutföra", finishPoly: "Klicka på den första punkten för att slutföra", finishRect: "Klicka för att slutföra", startCircle: "Klicka för att placera cirkelns centrum", finishCircle: "Klicka för att slutföra cirkeln", placeCircleMarker: "Klicka för att placera cirkelmarkör" }, actions: { finish: "Slutför", cancel: "Avbryt", removeLastVertex: "Ta bort sista hörnet" }, buttonTitles: { drawMarkerButton: "Rita Markör", drawPolyButton: "Rita Polygoner", drawLineButton: "Rita Linje", drawCircleButton: "Rita Cirkel", drawRectButton: "Rita Rektangel", editButton: "Redigera Lager", dragButton: "Dra Lager", cutButton: "Klipp i Lager", deleteButton: "Ta bort Lager", drawCircleMarkerButton: "Rita Cirkelmarkör", snappingButton: "Snäpp dra markören till andra lager och hörn", pinningButton: "Fäst delade hörn tillsammans", rotateButton: "Rotera lagret" } }, hs = { tooltips: { placeMarker: "Κάντε κλικ για να τοποθετήσετε Δείκτη", firstVertex: "Κάντε κλικ για να τοποθετήσετε το πρώτο σημείο", continueLine: "Κάντε κλικ για να συνεχίσετε να σχεδιάζετε", finishLine: "Κάντε κλικ σε οποιονδήποτε υπάρχον σημείο για να ολοκληρωθεί", finishPoly: "Κάντε κλικ στο πρώτο σημείο για να τελειώσετε", finishRect: "Κάντε κλικ για να τελειώσετε", startCircle: "Κάντε κλικ για να τοποθετήσετε κέντρο Κύκλου", finishCircle: "Κάντε κλικ για να ολοκληρώσετε τον Κύκλο", placeCircleMarker: "Κάντε κλικ για να τοποθετήσετε Κυκλικό Δείκτη" }, actions: { finish: "Τέλος", cancel: "Ακύρωση", removeLastVertex: "Κατάργηση τελευταίου σημείου" }, buttonTitles: { drawMarkerButton: "Σχεδίαση Δείκτη", drawPolyButton: "Σχεδίαση Πολυγώνου", drawLineButton: "Σχεδίαση Γραμμής", drawCircleButton: "Σχεδίαση Κύκλου", drawRectButton: "Σχεδίαση Ορθογωνίου", editButton: "Επεξεργασία Επιπέδων", dragButton: "Μεταφορά Επιπέδων", cutButton: "Αποκοπή Επιπέδων", deleteButton: "Κατάργηση Επιπέδων", drawCircleMarkerButton: "Σχεδίαση Κυκλικού Δείκτη", snappingButton: "Προσκόλληση του Δείκτη μεταφοράς σε άλλα Επίπεδα και Κορυφές", pinningButton: "Περικοπή κοινών κορυφών μαζί", rotateButton: "Περιστρέψτε το στρώμα" } }, Dl = { tooltips: { placeMarker: "Kattintson a jelölő elhelyezéséhez", firstVertex: "Kattintson az első pont elhelyezéséhez", continueLine: "Kattintson a következő pont elhelyezéséhez", finishLine: "A befejezéshez kattintson egy meglévő pontra", finishPoly: "A befejezéshez kattintson az első pontra", finishRect: "Kattintson a befejezéshez", startCircle: "Kattintson a kör középpontjának elhelyezéséhez", finishCircle: "Kattintson a kör befejezéséhez", placeCircleMarker: "Kattintson a körjelölő elhelyezéséhez" }, actions: { finish: "Befejezés", cancel: "Mégse", removeLastVertex: "Utolsó pont eltávolítása" }, buttonTitles: { drawMarkerButton: "Jelölő rajzolása", drawPolyButton: "Poligon rajzolása", drawLineButton: "Vonal rajzolása", drawCircleButton: "Kör rajzolása", drawRectButton: "Négyzet rajzolása", editButton: "Elemek szerkesztése", dragButton: "Elemek mozgatása", cutButton: "Elemek vágása", deleteButton: "Elemek törlése", drawCircleMarkerButton: "Kör jelölő rajzolása", snappingButton: "Kapcsolja a jelöltőt másik elemhez vagy ponthoz", pinningButton: "Közös pontok összekötése", rotateButton: "Fólia elforgatása" } }, Rl = { tooltips: { placeMarker: "Tryk for at placere en markør", firstVertex: "Tryk for at placere det første punkt", continueLine: "Tryk for at fortsætte linjen", finishLine: "Tryk på et eksisterende punkt for at afslutte", finishPoly: "Tryk på det første punkt for at afslutte", finishRect: "Tryk for at afslutte", startCircle: "Tryk for at placere cirklens center", finishCircle: "Tryk for at afslutte cirklen", placeCircleMarker: "Tryk for at placere en cirkelmarkør" }, actions: { finish: "Afslut", cancel: "Afbryd", removeLastVertex: "Fjern sidste punkt" }, buttonTitles: { drawMarkerButton: "Placer markør", drawPolyButton: "Tegn polygon", drawLineButton: "Tegn linje", drawCircleButton: "Tegn cirkel", drawRectButton: "Tegn firkant", editButton: "Rediger", dragButton: "Træk", cutButton: "Klip", deleteButton: "Fjern", drawCircleMarkerButton: "Tegn cirkelmarkør", snappingButton: "Fastgør trukket markør til andre elementer", pinningButton: "Sammenlæg delte elementer", rotateButton: "Roter laget" } }, fs = { tooltips: { placeMarker: "Klikk for å plassere punkt", firstVertex: "Klikk for å plassere første punkt", continueLine: "Klikk for å tegne videre", finishLine: "Klikk på et eksisterende punkt for å fullføre", finishPoly: "Klikk første punkt for å fullføre", finishRect: "Klikk for å fullføre", startCircle: "Klikk for å sette sirkel midtpunkt", finishCircle: "Klikk for å fullføre sirkel", placeCircleMarker: "Klikk for å plassere sirkel", placeText: "Klikk for å plassere tekst" }, actions: { finish: "Fullfør", cancel: "Kanseller", removeLastVertex: "Fjern forrige punkt" }, buttonTitles: { drawMarkerButton: "Tegn punkt", drawPolyButton: "Tegn flate", drawLineButton: "Tegn linje", drawCircleButton: "Tegn sirkel", drawRectButton: "Tegn rektangel", editButton: "Rediger objekter", dragButton: "Dra objekter", cutButton: "Kutt objekter", deleteButton: "Fjern objekter", drawCircleMarkerButton: "Tegn sirkel-punkt", snappingButton: "Fest dratt punkt til andre objekter og punkt", pinningButton: "Pin delte punkter sammen", rotateButton: "Rotér objekter", drawTextButton: "Tegn tekst", scaleButton: "Skalér objekter", autoTracingButton: "Automatisk sporing av linje" }, measurements: { totalLength: "Lengde", segmentLength: "Segmentlengde", area: "Område", radius: "Radius", perimeter: "Omriss", height: "Høyde", width: "Bredde", coordinates: "Posisjon", coordinatesMarker: "Posisjonsmarkør" } }, gc = { tooltips: { placeMarker: "کلیک برای جانمایی نشان", firstVertex: "کلیک برای رسم اولین رأس", continueLine: "کلیک برای ادامه رسم", finishLine: "کلیک روی هر نشان موجود برای پایان", finishPoly: "کلیک روی اولین نشان برای پایان", finishRect: "کلیک برای پایان", startCircle: "کلیک برای رسم مرکز دایره", finishCircle: "کلیک برای پایان رسم دایره", placeCircleMarker: "کلیک برای رسم نشان دایره", placeText: "کلیک برای نوشتن متن" }, actions: { finish: "پایان", cancel: "لفو", removeLastVertex: "حذف آخرین رأس" }, buttonTitles: { drawMarkerButton: "درج نشان", drawPolyButton: "رسم چندضلعی", drawLineButton: "رسم خط", drawCircleButton: "رسم دایره", drawRectButton: "رسم چهارضلعی", editButton: "ویرایش لایهها", dragButton: "جابجایی لایهها", cutButton: "برش لایهها", deleteButton: "حذف لایهها", drawCircleMarkerButton: "رسم نشان دایره", snappingButton: "نشانگر را به لایهها و رئوس دیگر بکشید", pinningButton: "رئوس مشترک را با هم پین کنید", rotateButton: "چرخش لایه", drawTextButton: "رسم متن", scaleButton: "مقیاسگذاری", autoTracingButton: "ردیاب خودکار" }, measurements: { totalLength: "طول", segmentLength: "طول بخش", area: "ناحیه", radius: "شعاع", perimeter: "محیط", height: "ارتفاع", width: "عرض", coordinates: "موقعیت", coordinatesMarker: "موقعیت نشان" } }, Fl = { tooltips: { placeMarker: "Натисніть, щоб нанести маркер", firstVertex: "Натисніть, щоб нанести першу вершину", continueLine: "Натисніть, щоб продовжити малювати", finishLine: "Натисніть будь-який існуючий маркер для завершення", finishPoly: "Виберіть перший маркер, щоб завершити", finishRect: "Натисніть, щоб завершити", startCircle: "Натисніть, щоб додати центр кола", finishCircle: "Натисніть, щоб завершити коло", placeCircleMarker: "Натисніть, щоб нанести круговий маркер" }, actions: { finish: "Завершити", cancel: "Відмінити", removeLastVertex: "Видалити попередню вершину" }, buttonTitles: { drawMarkerButton: "Малювати маркер", drawPolyButton: "Малювати полігон", drawLineButton: "Малювати криву", drawCircleButton: "Малювати коло", drawRectButton: "Малювати прямокутник", editButton: "Редагувати шари", dragButton: "Перенести шари", cutButton: "Вирізати шари", deleteButton: "Видалити шари", drawCircleMarkerButton: "Малювати круговий маркер", snappingButton: "Прив’язати перетягнутий маркер до інших шарів та вершин", pinningButton: "Зв'язати спільні вершини разом", rotateButton: "Повернути шар" } }, Rf = { tooltips: { placeMarker: "İşaretçi yerleştirmek için tıklayın", firstVertex: "İlk tepe noktasını yerleştirmek için tıklayın", continueLine: "Çizime devam etmek için tıklayın", finishLine: "Bitirmek için mevcut herhangi bir işaretçiyi tıklayın", finishPoly: "Bitirmek için ilk işaretçiyi tıklayın", finishRect: "Bitirmek için tıklayın", startCircle: "Daire merkezine yerleştirmek için tıklayın", finishCircle: "Daireyi bitirmek için tıklayın", placeCircleMarker: "Daire işaretçisi yerleştirmek için tıklayın" }, actions: { finish: "Bitir", cancel: "İptal", removeLastVertex: "Son köşeyi kaldır" }, buttonTitles: { drawMarkerButton: "Çizim İşaretçisi", drawPolyButton: "Çokgenler çiz", drawLineButton: "Çoklu çizgi çiz", drawCircleButton: "Çember çiz", drawRectButton: "Dikdörtgen çiz", editButton: "Katmanları düzenle", dragButton: "Katmanları sürükle", cutButton: "Katmanları kes", deleteButton: "Katmanları kaldır", drawCircleMarkerButton: "Daire işaretçisi çiz", snappingButton: "Sürüklenen işaretçiyi diğer katmanlara ve köşelere yapıştır", pinningButton: "Paylaşılan köşeleri birbirine sabitle", rotateButton: "Katmanı döndür" } }, Ft = { tooltips: { placeMarker: "Kliknutím vytvoříte značku", firstVertex: "Kliknutím vytvoříte první objekt", continueLine: "Kliknutím pokračujte v kreslení", finishLine: "Kliknutí na libovolnou existující značku pro dokončení", finishPoly: "Vyberte první bod pro dokončení", finishRect: "Klikněte pro dokončení", startCircle: "Kliknutím přidejte střed kruhu", finishCircle: "Нажмите, чтобы задать радиус", placeCircleMarker: "Kliknutím nastavte poloměr" }, actions: { finish: "Dokončit", cancel: "Zrušit", removeLastVertex: "Zrušit poslední akci" }, buttonTitles: { drawMarkerButton: "Přidat značku", drawPolyButton: "Nakreslit polygon", drawLineButton: "Nakreslit křivku", drawCircleButton: "Nakreslit kruh", drawRectButton: "Nakreslit obdélník", editButton: "Upravit vrstvu", dragButton: "Přeneste vrstvu", cutButton: "Vyjmout vrstvu", deleteButton: "Smazat vrstvu", drawCircleMarkerButton: "Přidat kruhovou značku", snappingButton: "Navázat tažnou značku k dalším vrstvám a vrcholům", pinningButton: "Spojit společné body dohromady", rotateButton: "Otočte vrstvu" } }, cr = { tooltips: { placeMarker: "クリックしてマーカーを配置", firstVertex: "クリックして最初の頂点を配置", continueLine: "クリックして描画を続ける", finishLine: "任意のマーカーをクリックして終了", finishPoly: "最初のマーカーをクリックして終了", finishRect: "クリックして終了", startCircle: "クリックして円の中心を配置", finishCircle: "クリックして円の描画を終了", placeCircleMarker: "クリックして円マーカーを配置", placeText: "クリックしてテキストを配置" }, actions: { finish: "終了", cancel: "キャンセル", removeLastVertex: "最後の頂点を削除" }, buttonTitles: { drawMarkerButton: "マーカーを描画", drawPolyButton: "ポリゴンを描画", drawLineButton: "折れ線を描画", drawCircleButton: "円を描画", drawRectButton: "矩形を描画", editButton: "レイヤーを編集", dragButton: "レイヤーをドラッグ", cutButton: "レイヤーを切り取り", deleteButton: "レイヤーを削除", drawCircleMarkerButton: "円マーカーを描画", snappingButton: "ドラッグしたマーカーを他のレイヤーや頂点にスナップする", pinningButton: "共有する頂点を同時に動かす", rotateButton: "レイヤーを回転", drawTextButton: "テキストを描画" } }, pn = { tooltips: { placeMarker: "Klikkaa asettaaksesi merkin", firstVertex: "Klikkaa asettaakseni ensimmäisen osuuden", continueLine: "Klikkaa jatkaaksesi piirtämistä", finishLine: "Klikkaa olemassa olevaa merkkiä lopettaaksesi", finishPoly: "Klikkaa ensimmäistä merkkiä lopettaaksesi", finishRect: "Klikkaa lopettaaksesi", startCircle: "Klikkaa asettaaksesi ympyrän keskipisteen", finishCircle: "Klikkaa lopettaaksesi ympyrän", placeCircleMarker: "Klikkaa asettaaksesi ympyrämerkin", placeText: "Klikkaa asettaaksesi tekstin" }, actions: { finish: "Valmis", cancel: "Peruuta", removeLastVertex: "Poista viimeinen osuus" }, buttonTitles: { drawMarkerButton: "Piirrä merkkejä", drawPolyButton: "Piirrä monikulmioita", drawLineButton: "Piirrä viivoja", drawCircleButton: "Piirrä ympyrä", drawRectButton: "Piirrä neliskulmioita", editButton: "Muokkaa", dragButton: "Siirrä", cutButton: "Leikkaa", deleteButton: "Poista", drawCircleMarkerButton: "Piirrä ympyrämerkki", snappingButton: "Kiinnitä siirrettävä merkki toisiin muotoihin", pinningButton: "Kiinnitä jaetut muodot yhteen", rotateButton: "Käännä", drawTextButton: "Piirrä tekstiä" } }, mc = { tooltips: { placeMarker: "마커 위치를 클릭하세요", firstVertex: "첫번째 꼭지점 위치을 클릭하세요", continueLine: "계속 그리려면 클릭하세요", finishLine: "끝내려면 기존 마커를 클릭하세요", finishPoly: "끝내려면 처음 마커를 클릭하세요", finishRect: "끝내려면 클릭하세요", startCircle: "원의 중심이 될 위치를 클릭하세요", finishCircle: "원을 끝내려면 클릭하세요", placeCircleMarker: "원 마커 위치를 클릭하세요", placeText: "텍스트 위치를 클릭하세요" }, actions: { finish: "끝내기", cancel: "취소", removeLastVertex: "마지막 꼭지점 제거" }, buttonTitles: { drawMarkerButton: "마커 그리기", drawPolyButton: "다각형 그리기", drawLineButton: "다각선 그리기", drawCircleButton: "원 그리기", drawRectButton: "직사각형 그리기", editButton: "레이어 편집하기", dragButton: "레이어 끌기", cutButton: "레이어 자르기", deleteButton: "레이어 제거하기", drawCircleMarkerButton: "원 마커 그리기", snappingButton: "잡아끈 마커를 다른 레이어 및 꼭지점에 들러붙게 하기", pinningButton: "공유 꼭지점을 함께 찍기", rotateButton: "레이어 회전하기", drawTextButton: "텍스트 그리기" } }, Nl = { tooltips: { placeMarker: "Маркерди жайгаштыруу үчүн басыңыз", firstVertex: "Биринчи чокуну жайгаштырууну үчүн басыңыз", continueLine: "Сүрөт тартууну улантуу үчүн басыңыз", finishLine: "Аяктоо үчүн учурдагы маркерди басыңыз", finishPoly: "Бүтүрүү үчүн биринчи маркерди басыңыз", finishRect: "Бүтүрүү үчүн басыңыз", startCircle: "Айлананын борборун жайгаштырууну үчүн басыңыз", finishCircle: "Айлананы бүтүрүү үчүн басыңыз", placeCircleMarker: "Тегерек маркерди жайгаштыруу үчүн басыңыз", placeText: "Текстти жайгаштыруу үчүн басыңыз" }, actions: { finish: "Аягы", cancel: "Жок кылуу", removeLastVertex: "Акыркы чокуну өчүрүү" }, buttonTitles: { drawMarkerButton: "Маркерди чизуу", drawPolyButton: "Полигон чизуу", drawLineButton: "Полилиния чизуу", drawCircleButton: "Дайынды чизуу", drawRectButton: "Прямоугольник чизуу", editButton: "Слоопту түзөтүү", dragButton: "Слоопту карап сүйлөү", cutButton: "Слооптун башын кесүү", deleteButton: "Слооптун өчүрүү", drawCircleMarkerButton: "Дайынды маркерди чизуу", snappingButton: "Башка слооптордун жана вертекстердин арасына чекилдөө", pinningButton: "Бөлүшкөн вертекстерди бирге тутуштуруу", rotateButton: "Слооптун өзгөртүү", drawTextButton: "Текст чизуу", scaleButton: "Слооптун өлчөмүн өзгөртүү", autoTracingButton: "Автоматтык тизмеги чизуу" }, measurements: { totalLength: "Узундук", segmentLength: "Сегмент узундугу", area: "Аймак", radius: "Радиус", perimeter: "Периметр", height: "Диаметр", width: "Кенчилик", coordinates: "Координаттар", coordinatesMarker: "Маркердин координаттары" } }, Gl = Ua, Jr = { en: Sn, de: Pl, it: us, id: zi, ro: Df, ru: cs, es: ma, nl: In, fr: va, pt: Gl, pt_br: Il, pt_pt: Ua, zh: Co, zh_tw: Mo, pl: Tl, sv: Ol, el: hs, hu: Dl, da: Rl, no: fs, fa: gc, ua: Fl, tr: Rf, cz: Ft, ja: cr, fi: pn, ko: mc, ky: Nl }, ya = { _globalEditModeEnabled: !1, enableGlobalEditMode(o) {
|
|
7898
|
+
var Bl = { version: "2.18.3" }, Nt = d(ss()), Sn = { tooltips: { placeMarker: "Click to place marker", firstVertex: "Click to place first vertex", continueLine: "Click to continue drawing", finishLine: "Click any existing marker to finish", finishPoly: "Click first marker to finish", finishRect: "Click to finish", startCircle: "Click to place circle center", finishCircle: "Click to finish circle", placeCircleMarker: "Click to place circle marker", placeText: "Click to place text", selectFirstLayerFor: "Select first layer for {action}", selectSecondLayerFor: "Select second layer for {action}" }, actions: { finish: "Finish", cancel: "Cancel", removeLastVertex: "Remove Last Vertex" }, buttonTitles: { drawMarkerButton: "Draw Marker", drawPolyButton: "Draw Polygons", drawLineButton: "Draw Polyline", drawCircleButton: "Draw Circle", drawRectButton: "Draw Rectangle", editButton: "Edit Layers", dragButton: "Drag Layers", cutButton: "Cut Layers", deleteButton: "Remove Layers", drawCircleMarkerButton: "Draw Circle Marker", snappingButton: "Snap dragged marker to other layers and vertices", pinningButton: "Pin shared vertices together", rotateButton: "Rotate Layers", drawTextButton: "Draw Text", scaleButton: "Scale Layers", autoTracingButton: "Auto trace Line", snapGuidesButton: "Show SnapGuides", unionButton: "Union layers", differenceButton: "Subtract layers" }, measurements: { totalLength: "Length", segmentLength: "Segment length", area: "Area", radius: "Radius", perimeter: "Perimeter", height: "Height", width: "Width", coordinates: "Position", coordinatesMarker: "Position Marker" } }, Pl = { tooltips: { placeMarker: "Platziere den Marker mit Klick", firstVertex: "Platziere den ersten Marker mit Klick", continueLine: "Klicke, um weiter zu zeichnen", finishLine: "Beende mit Klick auf existierenden Marker", finishPoly: "Beende mit Klick auf ersten Marker", finishRect: "Beende mit Klick", startCircle: "Platziere das Kreiszentrum mit Klick", finishCircle: "Beende den Kreis mit Klick", placeCircleMarker: "Platziere den Kreismarker mit Klick", placeText: "Platziere den Text mit Klick" }, actions: { finish: "Beenden", cancel: "Abbrechen", removeLastVertex: "Letzten Vertex löschen" }, buttonTitles: { drawMarkerButton: "Marker zeichnen", drawPolyButton: "Polygon zeichnen", drawLineButton: "Polyline zeichnen", drawCircleButton: "Kreis zeichnen", drawRectButton: "Rechteck zeichnen", editButton: "Layer editieren", dragButton: "Layer bewegen", cutButton: "Layer schneiden", deleteButton: "Layer löschen", drawCircleMarkerButton: "Kreismarker zeichnen", snappingButton: "Bewegter Layer an andere Layer oder Vertexe einhacken", pinningButton: "Vertexe an der gleichen Position verknüpfen", rotateButton: "Layer drehen", drawTextButton: "Text zeichnen", scaleButton: "Layer skalieren", autoTracingButton: "Linie automatisch nachzeichen" }, measurements: { totalLength: "Länge", segmentLength: "Segment Länge", area: "Fläche", radius: "Radius", perimeter: "Umfang", height: "Höhe", width: "Breite", coordinates: "Position", coordinatesMarker: "Position Marker" } }, us = { tooltips: { placeMarker: "Clicca per posizionare un Marker", firstVertex: "Clicca per posizionare il primo vertice", continueLine: "Clicca per continuare a disegnare", finishLine: "Clicca qualsiasi marker esistente per terminare", finishPoly: "Clicca il primo marker per terminare", finishRect: "Clicca per terminare", startCircle: "Clicca per posizionare il punto centrale del cerchio", finishCircle: "Clicca per terminare il cerchio", placeCircleMarker: "Clicca per posizionare un Marker del cherchio" }, actions: { finish: "Termina", cancel: "Annulla", removeLastVertex: "Rimuovi l'ultimo vertice" }, buttonTitles: { drawMarkerButton: "Disegna Marker", drawPolyButton: "Disegna Poligoni", drawLineButton: "Disegna Polilinea", drawCircleButton: "Disegna Cerchio", drawRectButton: "Disegna Rettangolo", editButton: "Modifica Livelli", dragButton: "Sposta Livelli", cutButton: "Ritaglia Livelli", deleteButton: "Elimina Livelli", drawCircleMarkerButton: "Disegna Marker del Cerchio", snappingButton: "Snap ha trascinato il pennarello su altri strati e vertici", pinningButton: "Pin condiviso vertici insieme", rotateButton: "Ruota livello" } }, zi = { tooltips: { placeMarker: "Klik untuk menempatkan marker", firstVertex: "Klik untuk menempatkan vertex pertama", continueLine: "Klik untuk meneruskan digitasi", finishLine: "Klik pada sembarang marker yang ada untuk mengakhiri", finishPoly: "Klik marker pertama untuk mengakhiri", finishRect: "Klik untuk mengakhiri", startCircle: "Klik untuk menempatkan titik pusat lingkaran", finishCircle: "Klik untuk mengakhiri lingkaran", placeCircleMarker: "Klik untuk menempatkan penanda lingkarann" }, actions: { finish: "Selesai", cancel: "Batal", removeLastVertex: "Hilangkan Vertex Terakhir" }, buttonTitles: { drawMarkerButton: "Digitasi Marker", drawPolyButton: "Digitasi Polygon", drawLineButton: "Digitasi Polyline", drawCircleButton: "Digitasi Lingkaran", drawRectButton: "Digitasi Segi Empat", editButton: "Edit Layer", dragButton: "Geser Layer", cutButton: "Potong Layer", deleteButton: "Hilangkan Layer", drawCircleMarkerButton: "Digitasi Penanda Lingkaran", snappingButton: "Jepretkan penanda yang ditarik ke lapisan dan simpul lain", pinningButton: "Sematkan simpul bersama bersama", rotateButton: "Putar lapisan" } }, Df = { tooltips: { placeMarker: "Adaugă un punct", firstVertex: "Apasă aici pentru a adăuga primul Vertex", continueLine: "Apasă aici pentru a continua desenul", finishLine: "Apasă pe orice obiect pentru a finisa desenul", finishPoly: "Apasă pe primul obiect pentru a finisa", finishRect: "Apasă pentru a finisa", startCircle: "Apasă pentru a desena un cerc", finishCircle: "Apasă pentru a finisa un cerc", placeCircleMarker: "Adaugă un punct" }, actions: { finish: "Termină", cancel: "Anulează", removeLastVertex: "Șterge ultimul Vertex" }, buttonTitles: { drawMarkerButton: "Adaugă o bulină", drawPolyButton: "Desenează un poligon", drawLineButton: "Desenează o linie", drawCircleButton: "Desenează un cerc", drawRectButton: "Desenează un dreptunghi", editButton: "Editează straturile", dragButton: "Mută straturile", cutButton: "Taie straturile", deleteButton: "Șterge straturile", drawCircleMarkerButton: "Desenează marcatorul cercului", snappingButton: "Fixați marcatorul glisat pe alte straturi și vârfuri", pinningButton: "Fixați vârfurile partajate împreună", rotateButton: "Rotiți stratul" } }, cs = { tooltips: { placeMarker: "Нажмите, чтобы нанести маркер", firstVertex: "Нажмите, чтобы нанести первый объект", continueLine: "Нажмите, чтобы продолжить рисование", finishLine: "Нажмите любой существующий маркер для завершения", finishPoly: "Выберите первую точку, чтобы закончить", finishRect: "Нажмите, чтобы закончить", startCircle: "Нажмите, чтобы добавить центр круга", finishCircle: "Нажмите, чтобы задать радиус", placeCircleMarker: "Нажмите, чтобы нанести круговой маркер" }, actions: { finish: "Завершить", cancel: "Отменить", removeLastVertex: "Отменить последнее действие" }, buttonTitles: { drawMarkerButton: "Добавить маркер", drawPolyButton: "Рисовать полигон", drawLineButton: "Рисовать кривую", drawCircleButton: "Рисовать круг", drawRectButton: "Рисовать прямоугольник", editButton: "Редактировать слой", dragButton: "Перенести слой", cutButton: "Вырезать слой", deleteButton: "Удалить слой", drawCircleMarkerButton: "Добавить круговой маркер", snappingButton: "Привязать перетаскиваемый маркер к другим слоям и вершинам", pinningButton: "Связать общие точки вместе", rotateButton: "Поворот слоя" } }, ma = { tooltips: { placeMarker: "Presiona para colocar un marcador", firstVertex: "Presiona para colocar el primer vértice", continueLine: "Presiona para continuar dibujando", finishLine: "Presiona cualquier marcador existente para finalizar", finishPoly: "Presiona el primer marcador para finalizar", finishRect: "Presiona para finalizar", startCircle: "Presiona para colocar el centro del círculo", finishCircle: "Presiona para finalizar el círculo", placeCircleMarker: "Presiona para colocar un marcador de círculo" }, actions: { finish: "Finalizar", cancel: "Cancelar", removeLastVertex: "Eliminar último vértice" }, buttonTitles: { drawMarkerButton: "Dibujar Marcador", drawPolyButton: "Dibujar Polígono", drawLineButton: "Dibujar Línea", drawCircleButton: "Dibujar Círculo", drawRectButton: "Dibujar Rectángulo", editButton: "Editar Capas", dragButton: "Arrastrar Capas", cutButton: "Cortar Capas", deleteButton: "Eliminar Capas", drawCircleMarkerButton: "Dibujar Marcador de Círculo", snappingButton: "El marcador de Snap arrastrado a otras capas y vértices", pinningButton: "Fijar juntos los vértices compartidos", rotateButton: "Rotar capa" } }, In = { tooltips: { placeMarker: "Klik om een marker te plaatsen", firstVertex: "Klik om het eerste punt te plaatsen", continueLine: "Klik om te blijven tekenen", finishLine: "Klik op een bestaand punt om te beëindigen", finishPoly: "Klik op het eerst punt om te beëindigen", finishRect: "Klik om te beëindigen", startCircle: "Klik om het middelpunt te plaatsen", finishCircle: "Klik om de cirkel te beëindigen", placeCircleMarker: "Klik om een marker te plaatsen" }, actions: { finish: "Bewaar", cancel: "Annuleer", removeLastVertex: "Verwijder laatste punt" }, buttonTitles: { drawMarkerButton: "Plaats Marker", drawPolyButton: "Teken een vlak", drawLineButton: "Teken een lijn", drawCircleButton: "Teken een cirkel", drawRectButton: "Teken een vierkant", editButton: "Bewerk", dragButton: "Verplaats", cutButton: "Knip", deleteButton: "Verwijder", drawCircleMarkerButton: "Plaats Marker", snappingButton: "Snap gesleepte marker naar andere lagen en hoekpunten", pinningButton: "Speld gedeelde hoekpunten samen", rotateButton: "Laag roteren" } }, va = { tooltips: { placeMarker: "Cliquez pour placer un marqueur", firstVertex: "Cliquez pour placer le premier sommet", continueLine: "Cliquez pour continuer à dessiner", finishLine: "Cliquez sur n'importe quel marqueur pour terminer", finishPoly: "Cliquez sur le premier marqueur pour terminer", finishRect: "Cliquez pour terminer", startCircle: "Cliquez pour placer le centre du cercle", finishCircle: "Cliquez pour finir le cercle", placeCircleMarker: "Cliquez pour placer le marqueur circulaire" }, actions: { finish: "Terminer", cancel: "Annuler", removeLastVertex: "Retirer le dernier sommet" }, buttonTitles: { drawMarkerButton: "Placer des marqueurs", drawPolyButton: "Dessiner des polygones", drawLineButton: "Dessiner des polylignes", drawCircleButton: "Dessiner un cercle", drawRectButton: "Dessiner un rectangle", editButton: "Éditer des calques", dragButton: "Déplacer des calques", cutButton: "Couper des calques", deleteButton: "Supprimer des calques", drawCircleMarkerButton: "Dessiner un marqueur circulaire", snappingButton: "Glisser le marqueur vers d'autres couches et sommets", pinningButton: "Épingler ensemble les sommets partagés", rotateButton: "Tourner des calques" } }, Co = { tooltips: { placeMarker: "单击放置标记", firstVertex: "单击放置首个顶点", continueLine: "单击继续绘制", finishLine: "单击任何存在的标记以完成", finishPoly: "单击第一个标记以完成", finishRect: "单击完成", startCircle: "单击放置圆心", finishCircle: "单击完成圆形", placeCircleMarker: "点击放置圆形标记" }, actions: { finish: "完成", cancel: "取消", removeLastVertex: "移除最后的顶点" }, buttonTitles: { drawMarkerButton: "绘制标记", drawPolyButton: "绘制多边形", drawLineButton: "绘制线段", drawCircleButton: "绘制圆形", drawRectButton: "绘制长方形", editButton: "编辑图层", dragButton: "拖拽图层", cutButton: "剪切图层", deleteButton: "删除图层", drawCircleMarkerButton: "画圆圈标记", snappingButton: "将拖动的标记捕捉到其他图层和顶点", pinningButton: "将共享顶点固定在一起", rotateButton: "旋转图层" } }, Mo = { tooltips: { placeMarker: "單擊放置標記", firstVertex: "單擊放置第一個頂點", continueLine: "單擊繼續繪製", finishLine: "單擊任何存在的標記以完成", finishPoly: "單擊第一個標記以完成", finishRect: "單擊完成", startCircle: "單擊放置圓心", finishCircle: "單擊完成圓形", placeCircleMarker: "點擊放置圓形標記" }, actions: { finish: "完成", cancel: "取消", removeLastVertex: "移除最後一個頂點" }, buttonTitles: { drawMarkerButton: "放置標記", drawPolyButton: "繪製多邊形", drawLineButton: "繪製線段", drawCircleButton: "繪製圓形", drawRectButton: "繪製方形", editButton: "編輯圖形", dragButton: "移動圖形", cutButton: "裁切圖形", deleteButton: "刪除圖形", drawCircleMarkerButton: "畫圓圈標記", snappingButton: "將拖動的標記對齊到其他圖層和頂點", pinningButton: "將共享頂點固定在一起", rotateButton: "旋轉圖形" } }, Il = { tooltips: { placeMarker: "Clique para posicionar o marcador", firstVertex: "Clique para posicionar o primeiro vértice", continueLine: "Clique para continuar desenhando", finishLine: "Clique em qualquer marcador existente para finalizar", finishPoly: "Clique no primeiro marcador para finalizar", finishRect: "Clique para finalizar", startCircle: "Clique para posicionar o centro do círculo", finishCircle: "Clique para finalizar o círculo", placeCircleMarker: "Clique para posicionar o marcador circular", placeText: "Clique para inserir texto" }, actions: { finish: "Finalizar", cancel: "Cancelar", removeLastVertex: "Remover último vértice" }, buttonTitles: { drawMarkerButton: "Desenhar Marcador", drawPolyButton: "Desenhar Polígonos", drawLineButton: "Desenhar Linha Poligonal", drawCircleButton: "Desenhar Círculo", drawRectButton: "Desenhar Retângulo", editButton: "Editar Camadas", dragButton: "Arrastar Camadas", cutButton: "Recortar Camadas", deleteButton: "Remover Camadas", drawCircleMarkerButton: "Desenhar Marcador de Círculo", snappingButton: "Ajustar marcador arrastado a outras camadas e vértices", pinningButton: "Unir vértices compartilhados", rotateButton: "Rotacionar Camadas", drawTextButton: "Desenhar Texto", scaleButton: "Redimensionar Camadas", autoTracingButton: "Traçado Automático de Linha" }, measurements: { totalLength: "Comprimento", segmentLength: "Comprimento do Segmento", area: "Área", radius: "Raio", perimeter: "Perímetro", height: "Altura", width: "Largura", coordinates: "Posição", coordinatesMarker: "Marcador de Posição" } }, Ua = { tooltips: { placeMarker: "Clique para colocar marcador", firstVertex: "Clique para colocar primeiro vértice", continueLine: "Clique para continuar a desenhar", finishLine: "Clique num marcador existente para terminar", finishPoly: "Clique no primeiro marcador para terminar", finishRect: "Clique para terminar", startCircle: "Clique para colocar o centro do círculo", finishCircle: "Clique para terminar o círculo", placeCircleMarker: "Clique para colocar marcador de círculo", placeText: "Clique para colocar texto" }, actions: { finish: "Terminar", cancel: "Cancelar", removeLastVertex: "Remover Último Vértice" }, buttonTitles: { drawMarkerButton: "Desenhar Marcador", drawPolyButton: "Desenhar Polígonos", drawLineButton: "Desenhar Polilinha", drawCircleButton: "Desenhar Círculo", drawRectButton: "Desenhar Retângulo", editButton: "Editar Camadas", dragButton: "Arrastar Camadas", cutButton: "Cortar Camadas", deleteButton: "Remover Camadas", drawCircleMarkerButton: "Desenhar Marcador de Círculo", snappingButton: "Ajustar marcador arrastado a outras camadas e vértices", pinningButton: "Unir vértices partilhados", rotateButton: "Rodar Camadas", drawTextButton: "Desenhar Texto", scaleButton: "Escalar Camadas", autoTracingButton: "Traçado Automático de Linha" }, measurements: { totalLength: "Comprimento", segmentLength: "Comprimento do Segmento", area: "Área", radius: "Raio", perimeter: "Perímetro", height: "Altura", width: "Largura", coordinates: "Posição", coordinatesMarker: "Marcador de Posição" } }, Tl = { tooltips: { placeMarker: "Kliknij, aby umieścić znacznik", firstVertex: "Kliknij, aby umieścić pierwszy wierzchołek", continueLine: "Kliknij, aby kontynuować rysowanie", finishLine: "Kliknij dowolny istniejący znacznik, aby zakończyć", finishPoly: "Kliknij pierwszy znacznik, aby zakończyć", finishRect: "Kliknij, aby zakończyć", startCircle: "Kliknij, aby umieścić środek okręgu", finishCircle: "Kliknij, aby zakończyć okrąg", placeCircleMarker: "Kliknij, aby umieścić znacznik okręgu", placeText: "Kliknij, aby umieścić tekst" }, actions: { finish: "Zakończ", cancel: "Anuluj", removeLastVertex: "Usuń ostatni wierzchołek" }, buttonTitles: { drawMarkerButton: "Rysuj znacznik", drawPolyButton: "Rysuj wielokąt", drawLineButton: "Rysuj linię", drawCircleButton: "Rysuj okrąg", drawRectButton: "Rysuj prostokąt", editButton: "Edytuj warstwy", dragButton: "Przeciągnij warstwy", cutButton: "Wytnij warstwy", deleteButton: "Usuń warstwy", drawCircleMarkerButton: "Rysuj znacznik okrągły", snappingButton: "Przyciągnij przenoszony znacznik do innych warstw i wierzchołków", pinningButton: "Przypnij wspólne wierzchołki razem", rotateButton: "Obróć warstwy", drawTextButton: "Rysuj tekst", scaleButton: "Skaluj warstwy", autoTracingButton: "Automatyczne śledzenie linii" }, measurements: { totalLength: "Długość", segmentLength: "Długość odcinka", area: "Obszar", radius: "Promień", perimeter: "Obwód", height: "Wysokość", width: "Szerokość", coordinates: "Pozycja", coordinatesMarker: "Znacznik pozycji" } }, Ol = { tooltips: { placeMarker: "Klicka för att placera markör", firstVertex: "Klicka för att placera första hörnet", continueLine: "Klicka för att fortsätta rita", finishLine: "Klicka på en existerande punkt för att slutföra", finishPoly: "Klicka på den första punkten för att slutföra", finishRect: "Klicka för att slutföra", startCircle: "Klicka för att placera cirkelns centrum", finishCircle: "Klicka för att slutföra cirkeln", placeCircleMarker: "Klicka för att placera cirkelmarkör" }, actions: { finish: "Slutför", cancel: "Avbryt", removeLastVertex: "Ta bort sista hörnet" }, buttonTitles: { drawMarkerButton: "Rita Markör", drawPolyButton: "Rita Polygoner", drawLineButton: "Rita Linje", drawCircleButton: "Rita Cirkel", drawRectButton: "Rita Rektangel", editButton: "Redigera Lager", dragButton: "Dra Lager", cutButton: "Klipp i Lager", deleteButton: "Ta bort Lager", drawCircleMarkerButton: "Rita Cirkelmarkör", snappingButton: "Snäpp dra markören till andra lager och hörn", pinningButton: "Fäst delade hörn tillsammans", rotateButton: "Rotera lagret" } }, hs = { tooltips: { placeMarker: "Κάντε κλικ για να τοποθετήσετε Δείκτη", firstVertex: "Κάντε κλικ για να τοποθετήσετε το πρώτο σημείο", continueLine: "Κάντε κλικ για να συνεχίσετε να σχεδιάζετε", finishLine: "Κάντε κλικ σε οποιονδήποτε υπάρχον σημείο για να ολοκληρωθεί", finishPoly: "Κάντε κλικ στο πρώτο σημείο για να τελειώσετε", finishRect: "Κάντε κλικ για να τελειώσετε", startCircle: "Κάντε κλικ για να τοποθετήσετε κέντρο Κύκλου", finishCircle: "Κάντε κλικ για να ολοκληρώσετε τον Κύκλο", placeCircleMarker: "Κάντε κλικ για να τοποθετήσετε Κυκλικό Δείκτη" }, actions: { finish: "Τέλος", cancel: "Ακύρωση", removeLastVertex: "Κατάργηση τελευταίου σημείου" }, buttonTitles: { drawMarkerButton: "Σχεδίαση Δείκτη", drawPolyButton: "Σχεδίαση Πολυγώνου", drawLineButton: "Σχεδίαση Γραμμής", drawCircleButton: "Σχεδίαση Κύκλου", drawRectButton: "Σχεδίαση Ορθογωνίου", editButton: "Επεξεργασία Επιπέδων", dragButton: "Μεταφορά Επιπέδων", cutButton: "Αποκοπή Επιπέδων", deleteButton: "Κατάργηση Επιπέδων", drawCircleMarkerButton: "Σχεδίαση Κυκλικού Δείκτη", snappingButton: "Προσκόλληση του Δείκτη μεταφοράς σε άλλα Επίπεδα και Κορυφές", pinningButton: "Περικοπή κοινών κορυφών μαζί", rotateButton: "Περιστρέψτε το στρώμα" } }, Dl = { tooltips: { placeMarker: "Kattintson a jelölő elhelyezéséhez", firstVertex: "Kattintson az első pont elhelyezéséhez", continueLine: "Kattintson a következő pont elhelyezéséhez", finishLine: "A befejezéshez kattintson egy meglévő pontra", finishPoly: "A befejezéshez kattintson az első pontra", finishRect: "Kattintson a befejezéshez", startCircle: "Kattintson a kör középpontjának elhelyezéséhez", finishCircle: "Kattintson a kör befejezéséhez", placeCircleMarker: "Kattintson a körjelölő elhelyezéséhez" }, actions: { finish: "Befejezés", cancel: "Mégse", removeLastVertex: "Utolsó pont eltávolítása" }, buttonTitles: { drawMarkerButton: "Jelölő rajzolása", drawPolyButton: "Poligon rajzolása", drawLineButton: "Vonal rajzolása", drawCircleButton: "Kör rajzolása", drawRectButton: "Négyzet rajzolása", editButton: "Elemek szerkesztése", dragButton: "Elemek mozgatása", cutButton: "Elemek vágása", deleteButton: "Elemek törlése", drawCircleMarkerButton: "Kör jelölő rajzolása", snappingButton: "Kapcsolja a jelöltőt másik elemhez vagy ponthoz", pinningButton: "Közös pontok összekötése", rotateButton: "Fólia elforgatása" } }, Rl = { tooltips: { placeMarker: "Tryk for at placere en markør", firstVertex: "Tryk for at placere det første punkt", continueLine: "Tryk for at fortsætte linjen", finishLine: "Tryk på et eksisterende punkt for at afslutte", finishPoly: "Tryk på det første punkt for at afslutte", finishRect: "Tryk for at afslutte", startCircle: "Tryk for at placere cirklens center", finishCircle: "Tryk for at afslutte cirklen", placeCircleMarker: "Tryk for at placere en cirkelmarkør" }, actions: { finish: "Afslut", cancel: "Afbryd", removeLastVertex: "Fjern sidste punkt" }, buttonTitles: { drawMarkerButton: "Placer markør", drawPolyButton: "Tegn polygon", drawLineButton: "Tegn linje", drawCircleButton: "Tegn cirkel", drawRectButton: "Tegn firkant", editButton: "Rediger", dragButton: "Træk", cutButton: "Klip", deleteButton: "Fjern", drawCircleMarkerButton: "Tegn cirkelmarkør", snappingButton: "Fastgør trukket markør til andre elementer", pinningButton: "Sammenlæg delte elementer", rotateButton: "Roter laget" } }, fs = { tooltips: { placeMarker: "Klikk for å plassere punkt", firstVertex: "Klikk for å plassere første punkt", continueLine: "Klikk for å tegne videre", finishLine: "Klikk på et eksisterende punkt for å fullføre", finishPoly: "Klikk første punkt for å fullføre", finishRect: "Klikk for å fullføre", startCircle: "Klikk for å sette sirkel midtpunkt", finishCircle: "Klikk for å fullføre sirkel", placeCircleMarker: "Klikk for å plassere sirkel", placeText: "Klikk for å plassere tekst" }, actions: { finish: "Fullfør", cancel: "Kanseller", removeLastVertex: "Fjern forrige punkt" }, buttonTitles: { drawMarkerButton: "Tegn punkt", drawPolyButton: "Tegn flate", drawLineButton: "Tegn linje", drawCircleButton: "Tegn sirkel", drawRectButton: "Tegn rektangel", editButton: "Rediger objekter", dragButton: "Dra objekter", cutButton: "Kutt objekter", deleteButton: "Fjern objekter", drawCircleMarkerButton: "Tegn sirkel-punkt", snappingButton: "Fest dratt punkt til andre objekter og punkt", pinningButton: "Pin delte punkter sammen", rotateButton: "Rotér objekter", drawTextButton: "Tegn tekst", scaleButton: "Skalér objekter", autoTracingButton: "Automatisk sporing av linje" }, measurements: { totalLength: "Lengde", segmentLength: "Segmentlengde", area: "Område", radius: "Radius", perimeter: "Omriss", height: "Høyde", width: "Bredde", coordinates: "Posisjon", coordinatesMarker: "Posisjonsmarkør" } }, gc = { tooltips: { placeMarker: "کلیک برای جانمایی نشان", firstVertex: "کلیک برای رسم اولین رأس", continueLine: "کلیک برای ادامه رسم", finishLine: "کلیک روی هر نشان موجود برای پایان", finishPoly: "کلیک روی اولین نشان برای پایان", finishRect: "کلیک برای پایان", startCircle: "کلیک برای رسم مرکز دایره", finishCircle: "کلیک برای پایان رسم دایره", placeCircleMarker: "کلیک برای رسم نشان دایره", placeText: "کلیک برای نوشتن متن" }, actions: { finish: "پایان", cancel: "لفو", removeLastVertex: "حذف آخرین رأس" }, buttonTitles: { drawMarkerButton: "درج نشان", drawPolyButton: "رسم چندضلعی", drawLineButton: "رسم خط", drawCircleButton: "رسم دایره", drawRectButton: "رسم چهارضلعی", editButton: "ویرایش لایهها", dragButton: "جابجایی لایهها", cutButton: "برش لایهها", deleteButton: "حذف لایهها", drawCircleMarkerButton: "رسم نشان دایره", snappingButton: "نشانگر را به لایهها و رئوس دیگر بکشید", pinningButton: "رئوس مشترک را با هم پین کنید", rotateButton: "چرخش لایه", drawTextButton: "رسم متن", scaleButton: "مقیاسگذاری", autoTracingButton: "ردیاب خودکار" }, measurements: { totalLength: "طول", segmentLength: "طول بخش", area: "ناحیه", radius: "شعاع", perimeter: "محیط", height: "ارتفاع", width: "عرض", coordinates: "موقعیت", coordinatesMarker: "موقعیت نشان" } }, Fl = { tooltips: { placeMarker: "Натисніть, щоб нанести маркер", firstVertex: "Натисніть, щоб нанести першу вершину", continueLine: "Натисніть, щоб продовжити малювати", finishLine: "Натисніть будь-який існуючий маркер для завершення", finishPoly: "Виберіть перший маркер, щоб завершити", finishRect: "Натисніть, щоб завершити", startCircle: "Натисніть, щоб додати центр кола", finishCircle: "Натисніть, щоб завершити коло", placeCircleMarker: "Натисніть, щоб нанести круговий маркер" }, actions: { finish: "Завершити", cancel: "Відмінити", removeLastVertex: "Видалити попередню вершину" }, buttonTitles: { drawMarkerButton: "Малювати маркер", drawPolyButton: "Малювати полігон", drawLineButton: "Малювати криву", drawCircleButton: "Малювати коло", drawRectButton: "Малювати прямокутник", editButton: "Редагувати шари", dragButton: "Перенести шари", cutButton: "Вирізати шари", deleteButton: "Видалити шари", drawCircleMarkerButton: "Малювати круговий маркер", snappingButton: "Прив’язати перетягнутий маркер до інших шарів та вершин", pinningButton: "Зв'язати спільні вершини разом", rotateButton: "Повернути шар" } }, Rf = { tooltips: { placeMarker: "İşaretçi yerleştirmek için tıklayın", firstVertex: "İlk tepe noktasını yerleştirmek için tıklayın", continueLine: "Çizime devam etmek için tıklayın", finishLine: "Bitirmek için mevcut herhangi bir işaretçiyi tıklayın", finishPoly: "Bitirmek için ilk işaretçiyi tıklayın", finishRect: "Bitirmek için tıklayın", startCircle: "Daire merkezine yerleştirmek için tıklayın", finishCircle: "Daireyi bitirmek için tıklayın", placeCircleMarker: "Daire işaretçisi yerleştirmek için tıklayın" }, actions: { finish: "Bitir", cancel: "İptal", removeLastVertex: "Son köşeyi kaldır" }, buttonTitles: { drawMarkerButton: "Çizim İşaretçisi", drawPolyButton: "Çokgenler çiz", drawLineButton: "Çoklu çizgi çiz", drawCircleButton: "Çember çiz", drawRectButton: "Dikdörtgen çiz", editButton: "Katmanları düzenle", dragButton: "Katmanları sürükle", cutButton: "Katmanları kes", deleteButton: "Katmanları kaldır", drawCircleMarkerButton: "Daire işaretçisi çiz", snappingButton: "Sürüklenen işaretçiyi diğer katmanlara ve köşelere yapıştır", pinningButton: "Paylaşılan köşeleri birbirine sabitle", rotateButton: "Katmanı döndür" } }, Ft = { tooltips: { placeMarker: "Kliknutím vytvoříte značku", firstVertex: "Kliknutím vytvoříte první objekt", continueLine: "Kliknutím pokračujte v kreslení", finishLine: "Kliknutí na libovolnou existující značku pro dokončení", finishPoly: "Vyberte první bod pro dokončení", finishRect: "Klikněte pro dokončení", startCircle: "Kliknutím přidejte střed kruhu", finishCircle: "Нажмите, чтобы задать радиус", placeCircleMarker: "Kliknutím nastavte poloměr" }, actions: { finish: "Dokončit", cancel: "Zrušit", removeLastVertex: "Zrušit poslední akci" }, buttonTitles: { drawMarkerButton: "Přidat značku", drawPolyButton: "Nakreslit polygon", drawLineButton: "Nakreslit křivku", drawCircleButton: "Nakreslit kruh", drawRectButton: "Nakreslit obdélník", editButton: "Upravit vrstvu", dragButton: "Přeneste vrstvu", cutButton: "Vyjmout vrstvu", deleteButton: "Smazat vrstvu", drawCircleMarkerButton: "Přidat kruhovou značku", snappingButton: "Navázat tažnou značku k dalším vrstvám a vrcholům", pinningButton: "Spojit společné body dohromady", rotateButton: "Otočte vrstvu" } }, hr = { tooltips: { placeMarker: "クリックしてマーカーを配置", firstVertex: "クリックして最初の頂点を配置", continueLine: "クリックして描画を続ける", finishLine: "任意のマーカーをクリックして終了", finishPoly: "最初のマーカーをクリックして終了", finishRect: "クリックして終了", startCircle: "クリックして円の中心を配置", finishCircle: "クリックして円の描画を終了", placeCircleMarker: "クリックして円マーカーを配置", placeText: "クリックしてテキストを配置" }, actions: { finish: "終了", cancel: "キャンセル", removeLastVertex: "最後の頂点を削除" }, buttonTitles: { drawMarkerButton: "マーカーを描画", drawPolyButton: "ポリゴンを描画", drawLineButton: "折れ線を描画", drawCircleButton: "円を描画", drawRectButton: "矩形を描画", editButton: "レイヤーを編集", dragButton: "レイヤーをドラッグ", cutButton: "レイヤーを切り取り", deleteButton: "レイヤーを削除", drawCircleMarkerButton: "円マーカーを描画", snappingButton: "ドラッグしたマーカーを他のレイヤーや頂点にスナップする", pinningButton: "共有する頂点を同時に動かす", rotateButton: "レイヤーを回転", drawTextButton: "テキストを描画" } }, pn = { tooltips: { placeMarker: "Klikkaa asettaaksesi merkin", firstVertex: "Klikkaa asettaakseni ensimmäisen osuuden", continueLine: "Klikkaa jatkaaksesi piirtämistä", finishLine: "Klikkaa olemassa olevaa merkkiä lopettaaksesi", finishPoly: "Klikkaa ensimmäistä merkkiä lopettaaksesi", finishRect: "Klikkaa lopettaaksesi", startCircle: "Klikkaa asettaaksesi ympyrän keskipisteen", finishCircle: "Klikkaa lopettaaksesi ympyrän", placeCircleMarker: "Klikkaa asettaaksesi ympyrämerkin", placeText: "Klikkaa asettaaksesi tekstin" }, actions: { finish: "Valmis", cancel: "Peruuta", removeLastVertex: "Poista viimeinen osuus" }, buttonTitles: { drawMarkerButton: "Piirrä merkkejä", drawPolyButton: "Piirrä monikulmioita", drawLineButton: "Piirrä viivoja", drawCircleButton: "Piirrä ympyrä", drawRectButton: "Piirrä neliskulmioita", editButton: "Muokkaa", dragButton: "Siirrä", cutButton: "Leikkaa", deleteButton: "Poista", drawCircleMarkerButton: "Piirrä ympyrämerkki", snappingButton: "Kiinnitä siirrettävä merkki toisiin muotoihin", pinningButton: "Kiinnitä jaetut muodot yhteen", rotateButton: "Käännä", drawTextButton: "Piirrä tekstiä" } }, mc = { tooltips: { placeMarker: "마커 위치를 클릭하세요", firstVertex: "첫번째 꼭지점 위치을 클릭하세요", continueLine: "계속 그리려면 클릭하세요", finishLine: "끝내려면 기존 마커를 클릭하세요", finishPoly: "끝내려면 처음 마커를 클릭하세요", finishRect: "끝내려면 클릭하세요", startCircle: "원의 중심이 될 위치를 클릭하세요", finishCircle: "원을 끝내려면 클릭하세요", placeCircleMarker: "원 마커 위치를 클릭하세요", placeText: "텍스트 위치를 클릭하세요" }, actions: { finish: "끝내기", cancel: "취소", removeLastVertex: "마지막 꼭지점 제거" }, buttonTitles: { drawMarkerButton: "마커 그리기", drawPolyButton: "다각형 그리기", drawLineButton: "다각선 그리기", drawCircleButton: "원 그리기", drawRectButton: "직사각형 그리기", editButton: "레이어 편집하기", dragButton: "레이어 끌기", cutButton: "레이어 자르기", deleteButton: "레이어 제거하기", drawCircleMarkerButton: "원 마커 그리기", snappingButton: "잡아끈 마커를 다른 레이어 및 꼭지점에 들러붙게 하기", pinningButton: "공유 꼭지점을 함께 찍기", rotateButton: "레이어 회전하기", drawTextButton: "텍스트 그리기" } }, Nl = { tooltips: { placeMarker: "Маркерди жайгаштыруу үчүн басыңыз", firstVertex: "Биринчи чокуну жайгаштырууну үчүн басыңыз", continueLine: "Сүрөт тартууну улантуу үчүн басыңыз", finishLine: "Аяктоо үчүн учурдагы маркерди басыңыз", finishPoly: "Бүтүрүү үчүн биринчи маркерди басыңыз", finishRect: "Бүтүрүү үчүн басыңыз", startCircle: "Айлананын борборун жайгаштырууну үчүн басыңыз", finishCircle: "Айлананы бүтүрүү үчүн басыңыз", placeCircleMarker: "Тегерек маркерди жайгаштыруу үчүн басыңыз", placeText: "Текстти жайгаштыруу үчүн басыңыз" }, actions: { finish: "Аягы", cancel: "Жок кылуу", removeLastVertex: "Акыркы чокуну өчүрүү" }, buttonTitles: { drawMarkerButton: "Маркерди чизуу", drawPolyButton: "Полигон чизуу", drawLineButton: "Полилиния чизуу", drawCircleButton: "Дайынды чизуу", drawRectButton: "Прямоугольник чизуу", editButton: "Слоопту түзөтүү", dragButton: "Слоопту карап сүйлөү", cutButton: "Слооптун башын кесүү", deleteButton: "Слооптун өчүрүү", drawCircleMarkerButton: "Дайынды маркерди чизуу", snappingButton: "Башка слооптордун жана вертекстердин арасына чекилдөө", pinningButton: "Бөлүшкөн вертекстерди бирге тутуштуруу", rotateButton: "Слооптун өзгөртүү", drawTextButton: "Текст чизуу", scaleButton: "Слооптун өлчөмүн өзгөртүү", autoTracingButton: "Автоматтык тизмеги чизуу" }, measurements: { totalLength: "Узундук", segmentLength: "Сегмент узундугу", area: "Аймак", radius: "Радиус", perimeter: "Периметр", height: "Диаметр", width: "Кенчилик", coordinates: "Координаттар", coordinatesMarker: "Маркердин координаттары" } }, Gl = Ua, Jr = { en: Sn, de: Pl, it: us, id: zi, ro: Df, ru: cs, es: ma, nl: In, fr: va, pt: Gl, pt_br: Il, pt_pt: Ua, zh: Co, zh_tw: Mo, pl: Tl, sv: Ol, el: hs, hu: Dl, da: Rl, no: fs, fa: gc, ua: Fl, tr: Rf, cz: Ft, ja: hr, fi: pn, ko: mc, ky: Nl }, ya = { _globalEditModeEnabled: !1, enableGlobalEditMode(o) {
|
|
7899
7899
|
let u = { ...o };
|
|
7900
7900
|
this._globalEditModeEnabled = !0, this.Toolbar.toggleButton("editMode", this.globalEditModeEnabled()), L.PM.Utils.findLayers(this.map).forEach((f) => {
|
|
7901
7901
|
this._isRelevantForEdit(f) && f.pm.enable(u);
|
|
@@ -8197,7 +8197,7 @@ function u2() {
|
|
|
8197
8197
|
return Ce < ke ? We = -1 : Ce > ke && (We = 1), f === "desc" ? We * -1 : We;
|
|
8198
8198
|
};
|
|
8199
8199
|
}
|
|
8200
|
-
function
|
|
8200
|
+
function fr(o, u = o.getLatLngs()) {
|
|
8201
8201
|
return o instanceof L.Polygon ? L.polygon(u).getLatLngs() : L.polyline(u).getLatLngs();
|
|
8202
8202
|
}
|
|
8203
8203
|
function Ac(o, u) {
|
|
@@ -9109,7 +9109,7 @@ function u2() {
|
|
|
9109
9109
|
if (Array.isArray(o) && o.length >= 2 && !Array.isArray(o[0]) && !Array.isArray(o[1])) return o;
|
|
9110
9110
|
throw new Error("coord must be GeoJSON Point or an Array of numbers");
|
|
9111
9111
|
}
|
|
9112
|
-
function
|
|
9112
|
+
function dr(o) {
|
|
9113
9113
|
if (Array.isArray(o)) return o;
|
|
9114
9114
|
if (o.type === "Feature") {
|
|
9115
9115
|
if (o.geometry !== null) return o.geometry.coordinates;
|
|
@@ -9217,7 +9217,7 @@ function u2() {
|
|
|
9217
9217
|
Ce++;
|
|
9218
9218
|
}
|
|
9219
9219
|
}
|
|
9220
|
-
function
|
|
9220
|
+
function rr(o, u) {
|
|
9221
9221
|
jf(o, function(f, p, v, C, S) {
|
|
9222
9222
|
var B = f === null ? null : f.type;
|
|
9223
9223
|
switch (B) {
|
|
@@ -9248,7 +9248,7 @@ function u2() {
|
|
|
9248
9248
|
function qf(o) {
|
|
9249
9249
|
if (!o) throw new Error("geojson is required");
|
|
9250
9250
|
var u = [];
|
|
9251
|
-
return
|
|
9251
|
+
return rr(o, function(f) {
|
|
9252
9252
|
ja(f, u);
|
|
9253
9253
|
}), vi(u);
|
|
9254
9254
|
}
|
|
@@ -9257,10 +9257,10 @@ function u2() {
|
|
|
9257
9257
|
if (p !== null) {
|
|
9258
9258
|
switch (p.type) {
|
|
9259
9259
|
case "Polygon":
|
|
9260
|
-
f =
|
|
9260
|
+
f = dr(p);
|
|
9261
9261
|
break;
|
|
9262
9262
|
case "LineString":
|
|
9263
|
-
f = [
|
|
9263
|
+
f = [dr(p)];
|
|
9264
9264
|
}
|
|
9265
9265
|
f.forEach(function(v) {
|
|
9266
9266
|
var C = Vf(v, o.properties);
|
|
@@ -9285,22 +9285,22 @@ function u2() {
|
|
|
9285
9285
|
function Wf(o, u) {
|
|
9286
9286
|
var f = {}, p = [];
|
|
9287
9287
|
if (o.type === "LineString" && (o = wa(o)), u.type === "LineString" && (u = wa(u)), o.type === "Feature" && u.type === "Feature" && o.geometry !== null && u.geometry !== null && o.geometry.type === "LineString" && u.geometry.type === "LineString" && o.geometry.coordinates.length === 2 && u.geometry.coordinates.length === 2) {
|
|
9288
|
-
var v =
|
|
9288
|
+
var v = kr(o, u);
|
|
9289
9289
|
return v && p.push(v), vi(p);
|
|
9290
9290
|
}
|
|
9291
9291
|
var C = (0, bs.default)();
|
|
9292
9292
|
return C.load(_s(u)), ui(_s(o), function(S) {
|
|
9293
9293
|
ui(C.search(S), function(B) {
|
|
9294
|
-
var D =
|
|
9294
|
+
var D = kr(S, B);
|
|
9295
9295
|
if (D) {
|
|
9296
|
-
var H =
|
|
9296
|
+
var H = dr(D).join(",");
|
|
9297
9297
|
f[H] || (f[H] = !0, p.push(D));
|
|
9298
9298
|
}
|
|
9299
9299
|
});
|
|
9300
9300
|
}), vi(p);
|
|
9301
9301
|
}
|
|
9302
|
-
function
|
|
9303
|
-
var f =
|
|
9302
|
+
function kr(o, u) {
|
|
9303
|
+
var f = dr(o), p = dr(u);
|
|
9304
9304
|
if (f.length !== 2) throw new Error("<intersects> line1 must only contain 2 coordinates");
|
|
9305
9305
|
if (p.length !== 2) throw new Error("<intersects> line2 must only contain 2 coordinates");
|
|
9306
9306
|
var v = f[0][0], C = f[0][1], S = f[1][0], B = f[1][1], D = p[0][0], H = p[0][1], ae = p[1][0], ee = p[1][1], Ce = (ee - H) * (S - v) - (ae - D) * (B - C), ke = (ae - D) * (C - H) - (ee - H) * (v - D), We = (S - v) * (C - H) - (B - C) * (v - D);
|
|
@@ -9312,14 +9312,14 @@ function u2() {
|
|
|
9312
9312
|
}
|
|
9313
9313
|
return null;
|
|
9314
9314
|
}
|
|
9315
|
-
var
|
|
9315
|
+
var pr = Wf, Sc = d(ga(), 1);
|
|
9316
9316
|
function Wl(o, u, f) {
|
|
9317
9317
|
f === void 0 && (f = {});
|
|
9318
9318
|
var p = Qi(o), v = Qi(u), C = Hi(v[1] - p[1]), S = Hi(v[0] - p[0]), B = Hi(p[1]), D = Hi(v[1]), H = Math.pow(Math.sin(C / 2), 2) + Math.pow(Math.sin(S / 2), 2) * Math.cos(B) * Math.cos(D);
|
|
9319
9319
|
return Kf(2 * Math.atan2(Math.sqrt(H), Math.sqrt(1 - H)), f.units);
|
|
9320
9320
|
}
|
|
9321
9321
|
var Ca = Wl;
|
|
9322
|
-
function
|
|
9322
|
+
function Br(o) {
|
|
9323
9323
|
var u = o[0], f = o[1], p = o[2], v = o[3], C = Ca(o.slice(0, 2), [p, f]), S = Ca(o.slice(0, 2), [u, v]);
|
|
9324
9324
|
if (C >= S) {
|
|
9325
9325
|
var B = (f + v) / 2;
|
|
@@ -9329,7 +9329,7 @@ function u2() {
|
|
|
9329
9329
|
return [D - (v - f) / 2, f, D + (v - f) / 2, v];
|
|
9330
9330
|
}
|
|
9331
9331
|
}
|
|
9332
|
-
var Yf =
|
|
9332
|
+
var Yf = Br;
|
|
9333
9333
|
function ta(o) {
|
|
9334
9334
|
var u = [1 / 0, 1 / 0, -1 / 0, -1 / 0];
|
|
9335
9335
|
return Vl(o, function(f) {
|
|
@@ -9338,7 +9338,7 @@ function u2() {
|
|
|
9338
9338
|
}
|
|
9339
9339
|
ta.default = ta;
|
|
9340
9340
|
var ko = ta;
|
|
9341
|
-
function
|
|
9341
|
+
function Pr(o, u) {
|
|
9342
9342
|
u === void 0 && (u = {});
|
|
9343
9343
|
var f = u.precision, p = u.coordinates, v = u.mutate;
|
|
9344
9344
|
if (f = f == null || isNaN(f) ? 6 : f, p = p == null || isNaN(p) ? 3 : p, !o) throw new Error("<geojson> is required");
|
|
@@ -9355,7 +9355,7 @@ function u2() {
|
|
|
9355
9355
|
for (var p = 0; p < o.length; p++) o[p] = Math.round(o[p] * u) / u;
|
|
9356
9356
|
return o;
|
|
9357
9357
|
}
|
|
9358
|
-
var kc =
|
|
9358
|
+
var kc = Pr;
|
|
9359
9359
|
function As(o, u, f) {
|
|
9360
9360
|
if (f === void 0 && (f = {}), f.final === !0) return Cs(o, u);
|
|
9361
9361
|
var p = Qi(o), v = Qi(u), C = Hi(p[0]), S = Hi(v[0]), B = Hi(p[1]), D = Hi(v[1]), H = Math.sin(S - C) * Math.cos(D), ae = Math.cos(B) * Math.sin(D) - Math.sin(B) * Math.cos(D) * Math.cos(S - C);
|
|
@@ -9373,13 +9373,13 @@ function u2() {
|
|
|
9373
9373
|
function Es(o, u, f) {
|
|
9374
9374
|
f === void 0 && (f = {});
|
|
9375
9375
|
var p = Aa([1 / 0, 1 / 0], { dist: 1 / 0 }), v = 0;
|
|
9376
|
-
return
|
|
9377
|
-
for (var S =
|
|
9376
|
+
return rr(o, function(C) {
|
|
9377
|
+
for (var S = dr(C), B = 0; B < S.length - 1; B++) {
|
|
9378
9378
|
var D = Aa(S[B]);
|
|
9379
9379
|
D.properties.dist = Ca(u, D, f);
|
|
9380
9380
|
var H = Aa(S[B + 1]);
|
|
9381
9381
|
H.properties.dist = Ca(u, H, f);
|
|
9382
|
-
var ae = Ca(D, H, f), ee = Math.max(D.properties.dist, H.properties.dist), Ce = As(D, H), ke = Ms(u, ee, Ce + 90, f), We = Ms(u, ee, Ce - 90, f), st =
|
|
9382
|
+
var ae = Ca(D, H, f), ee = Math.max(D.properties.dist, H.properties.dist), Ce = As(D, H), ke = Ms(u, ee, Ce + 90, f), We = Ms(u, ee, Ce - 90, f), st = pr(ea([ke.geometry.coordinates, We.geometry.coordinates]), ea([D.geometry.coordinates, H.geometry.coordinates])), pt = null;
|
|
9383
9383
|
st.features.length > 0 && (pt = st.features[0], pt.properties.dist = Ca(u, pt, f), pt.properties.location = v + Ca(D, pt, f)), D.properties.dist < p.properties.dist && (p = D, p.properties.index = B, p.properties.location = v), H.properties.dist < p.properties.dist && (p = H, p.properties.index = B + 1, p.properties.location = v + ae), pt && pt.properties.dist < p.properties.dist && (p = pt, p.properties.index = B), v += ae;
|
|
9384
9384
|
}
|
|
9385
9385
|
}), p;
|
|
@@ -9402,12 +9402,12 @@ function u2() {
|
|
|
9402
9402
|
case "MultiLineString":
|
|
9403
9403
|
case "Polygon":
|
|
9404
9404
|
case "MultiPolygon":
|
|
9405
|
-
return Ls(o,
|
|
9405
|
+
return Ls(o, pr(o, v));
|
|
9406
9406
|
}
|
|
9407
9407
|
}
|
|
9408
9408
|
function Ls(o, u) {
|
|
9409
9409
|
var f = [], p = (0, Sc.default)();
|
|
9410
|
-
return
|
|
9410
|
+
return rr(u, function(v) {
|
|
9411
9411
|
if (f.forEach(function(B, D) {
|
|
9412
9412
|
B.id = D;
|
|
9413
9413
|
}), !f.length) f = Ss(o, v).features, f.forEach(function(B) {
|
|
@@ -9427,14 +9427,14 @@ function u2() {
|
|
|
9427
9427
|
}), vi(f);
|
|
9428
9428
|
}
|
|
9429
9429
|
function Ss(o, u) {
|
|
9430
|
-
var f = [], p =
|
|
9430
|
+
var f = [], p = dr(o)[0], v = dr(o)[o.geometry.coordinates.length - 1];
|
|
9431
9431
|
if (Va(p, Qi(u)) || Va(v, Qi(u))) return vi([o]);
|
|
9432
9432
|
var C = (0, Sc.default)(), S = _s(o);
|
|
9433
9433
|
C.load(S);
|
|
9434
9434
|
var B = C.search(u);
|
|
9435
9435
|
if (!B.features.length) return vi([o]);
|
|
9436
9436
|
var D = Bc(u, B), H = [p], ae = Ka(S, function(ee, Ce, ke) {
|
|
9437
|
-
var We =
|
|
9437
|
+
var We = dr(Ce)[1], st = Qi(u);
|
|
9438
9438
|
return ke === D.id ? (ee.push(st), f.push(ea(ee)), Va(st, We) ? [st] : [st, We]) : (ee.push(We), ee);
|
|
9439
9439
|
}, H);
|
|
9440
9440
|
return ae.length > 1 && f.push(ea(ae)), vi(f);
|
|
@@ -9480,13 +9480,13 @@ function u2() {
|
|
|
9480
9480
|
}
|
|
9481
9481
|
function Zf(o, u, f) {
|
|
9482
9482
|
f === void 0 && (f = {});
|
|
9483
|
-
for (var p = Qi(o), v =
|
|
9483
|
+
for (var p = Qi(o), v = dr(u), C = 0; C < v.length - 1; C++) {
|
|
9484
9484
|
var S = !1;
|
|
9485
|
-
if (f.ignoreEndVertices && (C === 0 && (S = "start"), C === v.length - 2 && (S = "end"), C === 0 && C + 1 === v.length - 1 && (S = "both")),
|
|
9485
|
+
if (f.ignoreEndVertices && (C === 0 && (S = "start"), C === v.length - 2 && (S = "end"), C === 0 && C + 1 === v.length - 1 && (S = "both")), gr(v[C], v[C + 1], p, S, typeof f.epsilon > "u" ? null : f.epsilon)) return !0;
|
|
9486
9486
|
}
|
|
9487
9487
|
return !1;
|
|
9488
9488
|
}
|
|
9489
|
-
function
|
|
9489
|
+
function gr(o, u, f, p, v) {
|
|
9490
9490
|
var C = f[0], S = f[1], B = o[0], D = o[1], H = u[0], ae = u[1], ee = f[0] - B, Ce = f[1] - D, ke = H - B, We = ae - D, st = ee * We - Ce * ke;
|
|
9491
9491
|
if (v !== null) {
|
|
9492
9492
|
if (Math.abs(st) > v) return !1;
|
|
@@ -9619,7 +9619,7 @@ function u2() {
|
|
|
9619
9619
|
function nd(o, u) {
|
|
9620
9620
|
return [(o[0] + u[0]) / 2, (o[1] + u[1]) / 2];
|
|
9621
9621
|
}
|
|
9622
|
-
var
|
|
9622
|
+
var Ir = d(Zr()), $l = (o) => () => o, Ps = (o) => {
|
|
9623
9623
|
let u = o ? (f, p) => p.minus(f).abs().isLessThanOrEqualTo(o) : $l(!1);
|
|
9624
9624
|
return (f, p) => u(f, p) ? 0 : f.comparedTo(p);
|
|
9625
9625
|
};
|
|
@@ -9630,7 +9630,7 @@ function u2() {
|
|
|
9630
9630
|
return u(H, C, S, B, D) ? 0 : H.comparedTo(0);
|
|
9631
9631
|
};
|
|
9632
9632
|
}
|
|
9633
|
-
var id = /^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i, Ya = Math.ceil, ei = Math.floor, ci = "[BigNumber Error] ", Zl = ci + "Number primitive has more than 15 significant digits: ",
|
|
9633
|
+
var id = /^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i, Ya = Math.ceil, ei = Math.floor, ci = "[BigNumber Error] ", Zl = ci + "Number primitive has more than 15 significant digits: ", ar = 1e14, Tt = 14, Is = 9007199254740991, Ts = [1, 10, 100, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10, 1e11, 1e12, 1e13], Tr = 1e7, Fn = 1e9;
|
|
9634
9634
|
function Oc(o) {
|
|
9635
9635
|
var u, f, p, v = ie.prototype = { constructor: ie, toString: null, valueOf: null }, C = new ie(1), S = 20, B = 4, D = -7, H = 21, ae = -1e7, ee = 1e7, Ce = !1, ke = 1, We = 0, st = { prefix: "", groupSize: 3, secondaryGroupSize: 0, groupSeparator: ",", decimalSeparator: ".", fractionGroupSize: 0, fractionGroupSeparator: " ", suffix: "" }, pt = "0123456789abcdefghijklmnopqrstuvwxyz", tn = !0;
|
|
9636
9636
|
function ie(R, q) {
|
|
@@ -9716,7 +9716,7 @@ function u2() {
|
|
|
9716
9716
|
break e;
|
|
9717
9717
|
}
|
|
9718
9718
|
if (q = (Y + 1) % Tt, q < 1 && (q += Tt), String(V[0]).length == q) {
|
|
9719
|
-
for (q = 0; q < V.length; q++) if (W = V[q], W < 0 || W >=
|
|
9719
|
+
for (q = 0; q < V.length; q++) if (W = V[q], W < 0 || W >= ar || W !== ei(W)) break e;
|
|
9720
9720
|
if (W !== 0) return !0;
|
|
9721
9721
|
}
|
|
9722
9722
|
}
|
|
@@ -9778,8 +9778,8 @@ function u2() {
|
|
|
9778
9778
|
};
|
|
9779
9779
|
})(), u = /* @__PURE__ */ (function() {
|
|
9780
9780
|
function R(V, Y, Z) {
|
|
9781
|
-
var he, ce, pe, we, be = 0, je = V.length, ft = Y %
|
|
9782
|
-
for (V = V.slice(); je--; ) pe = V[je] %
|
|
9781
|
+
var he, ce, pe, we, be = 0, je = V.length, ft = Y % Tr, vt = Y / Tr | 0;
|
|
9782
|
+
for (V = V.slice(); je--; ) pe = V[je] % Tr, we = V[je] / Tr | 0, he = vt * pe + we * ft, ce = ft * pe + he % Tr * Tr + be, be = (ce / Z | 0) + (he / Tr | 0) + vt * we, V[je] = ce % Z;
|
|
9783
9783
|
return be && (V = [be].concat(V)), V;
|
|
9784
9784
|
}
|
|
9785
9785
|
function q(V, Y, Z, he) {
|
|
@@ -9796,12 +9796,12 @@ function u2() {
|
|
|
9796
9796
|
for (; !V[0] && V.length > 1; V.splice(0, 1)) ;
|
|
9797
9797
|
}
|
|
9798
9798
|
return function(V, Y, Z, he, ce) {
|
|
9799
|
-
var pe, we, be, je, ft, vt, xt, ln, gn, an, mn, bi, Hc, ud, cd, ia, tu,
|
|
9800
|
-
if (!Ti || !Ti[0] || !Tn || !Tn[0]) return new ie(!V.s || !Y.s || (Ti ? Tn && Ti[0] == Tn[0] : !Tn) ? NaN : Ti && Ti[0] == 0 || !Tn ?
|
|
9801
|
-
for (ln = new ie(
|
|
9802
|
-
if (Tn[be] > (Ti[be] || 0) && we--,
|
|
9799
|
+
var pe, we, be, je, ft, vt, xt, ln, gn, an, mn, bi, Hc, ud, cd, ia, tu, yr = V.s == Y.s ? 1 : -1, Ti = V.c, Tn = Y.c;
|
|
9800
|
+
if (!Ti || !Ti[0] || !Tn || !Tn[0]) return new ie(!V.s || !Y.s || (Ti ? Tn && Ti[0] == Tn[0] : !Tn) ? NaN : Ti && Ti[0] == 0 || !Tn ? yr * 0 : yr / 0);
|
|
9801
|
+
for (ln = new ie(yr), gn = ln.c = [], we = V.e - Y.e, yr = Z + we + 1, ce || (ce = ar, we = Pi(V.e / Tt) - Pi(Y.e / Tt), yr = yr / Tt | 0), be = 0; Tn[be] == (Ti[be] || 0); be++) ;
|
|
9802
|
+
if (Tn[be] > (Ti[be] || 0) && we--, yr < 0) gn.push(1), je = !0;
|
|
9803
9803
|
else {
|
|
9804
|
-
for (ud = Ti.length, ia = Tn.length, be = 0,
|
|
9804
|
+
for (ud = Ti.length, ia = Tn.length, be = 0, yr += 2, ft = ei(ce / (Tn[0] + 1)), ft > 1 && (Tn = R(Tn, ft, ce), Ti = R(Ti, ft, ce), ia = Tn.length, ud = Ti.length), Hc = ia, an = Ti.slice(0, ia), mn = an.length; mn < ia; an[mn++] = 0) ;
|
|
9805
9805
|
tu = Tn.slice(), tu = [0].concat(tu), cd = Tn[0], Tn[1] >= ce / 2 && cd++;
|
|
9806
9806
|
do {
|
|
9807
9807
|
if (ft = 0, pe = q(Tn, an, ia, mn), pe < 0) {
|
|
@@ -9810,11 +9810,11 @@ function u2() {
|
|
|
9810
9810
|
if (xt < mn && (vt = [0].concat(vt)), W(an, vt, mn, ce), mn = an.length, pe == -1) for (; q(Tn, an, ia, mn) < 1; ) ft++, W(an, ia < mn ? tu : Tn, mn, ce), mn = an.length;
|
|
9811
9811
|
} else pe === 0 && (ft++, an = [0]);
|
|
9812
9812
|
gn[be++] = ft, an[0] ? an[mn++] = Ti[Hc] || 0 : (an = [Ti[Hc]], mn = 1);
|
|
9813
|
-
} while ((Hc++ < ud || an[0] != null) &&
|
|
9813
|
+
} while ((Hc++ < ud || an[0] != null) && yr--);
|
|
9814
9814
|
je = an[0] != null, gn[0] || gn.splice(0, 1);
|
|
9815
9815
|
}
|
|
9816
|
-
if (ce ==
|
|
9817
|
-
for (be = 1,
|
|
9816
|
+
if (ce == ar) {
|
|
9817
|
+
for (be = 1, yr = gn[0]; yr >= 10; yr /= 10, be++) ;
|
|
9818
9818
|
ye(ln, Z + (ln.e = be + we * Tt - 1) + 1, he, je);
|
|
9819
9819
|
} else ln.e = we, ln.r = +je;
|
|
9820
9820
|
return ln;
|
|
@@ -9874,10 +9874,10 @@ function u2() {
|
|
|
9874
9874
|
if (Z == 0 ? (je.length = we, ce = 1, we--) : (je.length = we + 1, ce = ft[Tt - Z], je[we] = he > 0 ? ei(pe / ft[Y - he] % ft[he]) * ce : 0), V) for (; ; ) if (we == 0) {
|
|
9875
9875
|
for (Z = 1, he = je[0]; he >= 10; he /= 10, Z++) ;
|
|
9876
9876
|
for (he = je[0] += ce, ce = 1; he >= 10; he /= 10, ce++) ;
|
|
9877
|
-
Z != ce && (R.e++, je[0] ==
|
|
9877
|
+
Z != ce && (R.e++, je[0] == ar && (je[0] = 1));
|
|
9878
9878
|
break;
|
|
9879
9879
|
} else {
|
|
9880
|
-
if (je[we] += ce, je[we] !=
|
|
9880
|
+
if (je[we] += ce, je[we] != ar) break;
|
|
9881
9881
|
je[we--] = 0, ce = 1;
|
|
9882
9882
|
}
|
|
9883
9883
|
for (Z = je.length; je[--Z] === 0; je.pop()) ;
|
|
@@ -9974,10 +9974,10 @@ function u2() {
|
|
|
9974
9974
|
break;
|
|
9975
9975
|
}
|
|
9976
9976
|
if (Z && (Y = be, be = je, je = Y, R.s = -R.s), q = (V = je.length) - (W = be.length), q > 0) for (; q--; be[W++] = 0) ;
|
|
9977
|
-
for (q =
|
|
9977
|
+
for (q = ar - 1; V > ce; ) {
|
|
9978
9978
|
if (be[--V] < je[V]) {
|
|
9979
9979
|
for (W = V; W && !be[--W]; be[W] = q) ;
|
|
9980
|
-
--be[W], be[V] +=
|
|
9980
|
+
--be[W], be[V] += ar;
|
|
9981
9981
|
}
|
|
9982
9982
|
be[V] -= je[V];
|
|
9983
9983
|
}
|
|
@@ -9990,7 +9990,7 @@ function u2() {
|
|
|
9990
9990
|
var W, V, Y, Z, he, ce, pe, we, be, je, ft, vt, xt, ln, gn, an = this, mn = an.c, bi = (R = new ie(R, q)).c;
|
|
9991
9991
|
if (!mn || !bi || !mn[0] || !bi[0]) return !an.s || !R.s || mn && !mn[0] && !bi || bi && !bi[0] && !mn ? R.c = R.e = R.s = null : (R.s *= an.s, !mn || !bi ? R.c = R.e = null : (R.c = [0], R.e = 0)), R;
|
|
9992
9992
|
for (V = Pi(an.e / Tt) + Pi(R.e / Tt), R.s *= an.s, pe = mn.length, je = bi.length, pe < je && (xt = mn, mn = bi, bi = xt, Y = pe, pe = je, je = Y), Y = pe + je, xt = []; Y--; xt.push(0)) ;
|
|
9993
|
-
for (ln =
|
|
9993
|
+
for (ln = ar, gn = Tr, Y = je; --Y >= 0; ) {
|
|
9994
9994
|
for (W = 0, ft = bi[Y] % gn, vt = bi[Y] / gn | 0, he = pe, Z = Y + he; Z > Y; ) we = mn[--he] % gn, be = mn[he] / gn | 0, ce = vt * we + be * ft, we = ft * we + ce % gn * gn + xt[Z] + W, W = (we / ln | 0) + (ce / gn | 0) + vt * be, xt[Z--] = we % ln;
|
|
9995
9995
|
xt[Z] = W;
|
|
9996
9996
|
}
|
|
@@ -10011,7 +10011,7 @@ function u2() {
|
|
|
10011
10011
|
for (Y > 0 ? (he = Z, W = pe) : (Y = -Y, W = ce), W.reverse(); Y--; W.push(0)) ;
|
|
10012
10012
|
W.reverse();
|
|
10013
10013
|
}
|
|
10014
|
-
for (Y = ce.length, q = pe.length, Y - q < 0 && (W = pe, pe = ce, ce = W, q = Y), Y = 0; q; ) Y = (ce[--q] = ce[q] + pe[q] + Y) /
|
|
10014
|
+
for (Y = ce.length, q = pe.length, Y - q < 0 && (W = pe, pe = ce, ce = W, q = Y), Y = 0; q; ) Y = (ce[--q] = ce[q] + pe[q] + Y) / ar | 0, ce[q] = ar === ce[q] ? 0 : ce[q] % ar;
|
|
10015
10015
|
return Y && (ce = [Y].concat(ce), ++he), Be(R, ce, he);
|
|
10016
10016
|
}, v.precision = v.sd = function(R, q) {
|
|
10017
10017
|
var W, V, Y, Z = this;
|
|
@@ -10117,14 +10117,14 @@ function u2() {
|
|
|
10117
10117
|
} else u < p && (o = o.slice(0, u) + "." + o.slice(u));
|
|
10118
10118
|
return o;
|
|
10119
10119
|
}
|
|
10120
|
-
var P = Oc(), U = P,
|
|
10120
|
+
var P = Oc(), U = P, oe = class {
|
|
10121
10121
|
constructor(o) {
|
|
10122
10122
|
Ze(this, "key");
|
|
10123
10123
|
Ze(this, "left", null);
|
|
10124
10124
|
Ze(this, "right", null);
|
|
10125
10125
|
this.key = o;
|
|
10126
10126
|
}
|
|
10127
|
-
}, _e = class extends
|
|
10127
|
+
}, _e = class extends oe {
|
|
10128
10128
|
constructor(o) {
|
|
10129
10129
|
super(o);
|
|
10130
10130
|
}
|
|
@@ -10400,7 +10400,7 @@ function u2() {
|
|
|
10400
10400
|
return hi;
|
|
10401
10401
|
}, _i = (o) => ({ set: (u) => {
|
|
10402
10402
|
xn = _i(u);
|
|
10403
|
-
}, reset: () => _i(o), compare: Ps(o), snap: Kn(o), orient: Io(o) }), xn = _i(),
|
|
10403
|
+
}, reset: () => _i(o), compare: Ps(o), snap: Kn(o), orient: Io(o) }), xn = _i(), mr = (o, u) => o.ll.x.isLessThanOrEqualTo(u.x) && u.x.isLessThanOrEqualTo(o.ur.x) && o.ll.y.isLessThanOrEqualTo(u.y) && u.y.isLessThanOrEqualTo(o.ur.y), Jl = (o, u) => {
|
|
10404
10404
|
if (u.ur.x.isLessThan(o.ll.x) || o.ur.x.isLessThan(u.ll.x) || u.ur.y.isLessThan(o.ll.y) || o.ur.y.isLessThan(u.ll.y)) return null;
|
|
10405
10405
|
let f = o.ll.x.isLessThan(u.ll.x) ? u.ll.x : o.ll.x, p = o.ur.x.isLessThan(u.ur.x) ? o.ur.x : u.ur.x, v = o.ll.y.isLessThan(u.ll.y) ? u.ll.y : o.ll.y, C = o.ur.y.isLessThan(u.ur.y) ? o.ur.y : u.ur.y;
|
|
10406
10406
|
return { ll: { x: f, y: v }, ur: { x: p, y: C } };
|
|
@@ -10419,7 +10419,7 @@ function u2() {
|
|
|
10419
10419
|
if (v.isZero()) return null;
|
|
10420
10420
|
let C = { x: f.x.minus(o.x), y: f.y.minus(o.y) }, S = Os(C, u).div(v), B = Os(C, p).div(v), D = o.x.plus(B.times(u.x)), H = f.x.plus(S.times(p.x)), ae = o.y.plus(B.times(u.y)), ee = f.y.plus(S.times(p.y)), Ce = D.plus(H).div(2), ke = ae.plus(ee).div(2);
|
|
10421
10421
|
return { x: Ce, y: ke };
|
|
10422
|
-
},
|
|
10422
|
+
}, vr = class g_ {
|
|
10423
10423
|
constructor(u, f) {
|
|
10424
10424
|
Ze(this, "point");
|
|
10425
10425
|
Ze(this, "isLeft");
|
|
@@ -10530,11 +10530,11 @@ function u2() {
|
|
|
10530
10530
|
return C.isGreaterThan(S) ? 1 : C.isLessThan(S) || H.isLessThan(ae) ? -1 : H.isGreaterThan(ae) ? 1 : u.id < f.id ? -1 : u.id > f.id ? 1 : 0;
|
|
10531
10531
|
}
|
|
10532
10532
|
static fromRing(u, f, p) {
|
|
10533
|
-
let v, C, S, B =
|
|
10533
|
+
let v, C, S, B = vr.comparePoints(u, f);
|
|
10534
10534
|
if (B < 0) v = u, C = f, S = 1;
|
|
10535
10535
|
else if (B > 0) v = f, C = u, S = -1;
|
|
10536
10536
|
else throw new Error(`Tried to create degenerate segment at [${u.x}, ${u.y}]`);
|
|
10537
|
-
let D = new
|
|
10537
|
+
let D = new vr(v, !0), H = new vr(C, !1);
|
|
10538
10538
|
return new oh(D, H, [p], [S]);
|
|
10539
10539
|
}
|
|
10540
10540
|
replaceRightSE(u) {
|
|
@@ -10556,7 +10556,7 @@ function u2() {
|
|
|
10556
10556
|
getIntersection(u) {
|
|
10557
10557
|
let f = this.bbox(), p = u.bbox(), v = Jl(f, p);
|
|
10558
10558
|
if (v === null) return null;
|
|
10559
|
-
let C = this.leftSE.point, S = this.rightSE.point, B = u.leftSE.point, D = u.rightSE.point, H =
|
|
10559
|
+
let C = this.leftSE.point, S = this.rightSE.point, B = u.leftSE.point, D = u.rightSE.point, H = mr(f, B) && this.comparePoint(B) === 0, ae = mr(p, C) && u.comparePoint(C) === 0, ee = mr(f, D) && this.comparePoint(D) === 0, Ce = mr(p, S) && u.comparePoint(S) === 0;
|
|
10560
10560
|
if (ae && H) return Ce && !ee ? S : !Ce && ee ? D : null;
|
|
10561
10561
|
if (ae) return ee && C.x.eq(D.x) && C.y.eq(D.y) ? null : C;
|
|
10562
10562
|
if (H) return Ce && S.x.eq(B.x) && S.y.eq(B.y) ? null : B;
|
|
@@ -10564,13 +10564,13 @@ function u2() {
|
|
|
10564
10564
|
if (Ce) return S;
|
|
10565
10565
|
if (ee) return D;
|
|
10566
10566
|
let ke = ad(C, this.vector(), B, u.vector());
|
|
10567
|
-
return ke === null || !
|
|
10567
|
+
return ke === null || !mr(v, ke) ? null : xn.snap(ke);
|
|
10568
10568
|
}
|
|
10569
10569
|
split(u) {
|
|
10570
|
-
let f = [], p = u.events !== void 0, v = new
|
|
10570
|
+
let f = [], p = u.events !== void 0, v = new vr(u, !0), C = new vr(u, !1), S = this.rightSE;
|
|
10571
10571
|
this.replaceRightSE(C), f.push(C), f.push(v);
|
|
10572
10572
|
let B = new oh(v, S, this.rings.slice(), this.windings.slice());
|
|
10573
|
-
return
|
|
10573
|
+
return vr.comparePoints(B.leftSE.point, B.rightSE.point) > 0 && B.swapEvents(), vr.comparePoints(this.leftSE.point, this.rightSE.point) > 0 && this.swapEvents(), p && (v.checkForConsuming(), C.checkForConsuming()), f;
|
|
10574
10574
|
}
|
|
10575
10575
|
swapEvents() {
|
|
10576
10576
|
let u = this.rightSE;
|
|
@@ -10810,7 +10810,7 @@ function u2() {
|
|
|
10810
10810
|
let u = this.events[0];
|
|
10811
10811
|
for (let S = 1, B = this.events.length; S < B; S++) {
|
|
10812
10812
|
let D = this.events[S];
|
|
10813
|
-
|
|
10813
|
+
vr.compare(u, D) > 0 && (u = D);
|
|
10814
10814
|
}
|
|
10815
10815
|
let f = u.segment.prevInResult(), p = f ? f.prevInResult() : null;
|
|
10816
10816
|
for (; ; ) {
|
|
@@ -10903,7 +10903,7 @@ function u2() {
|
|
|
10903
10903
|
}
|
|
10904
10904
|
if (C !== null || S !== null) {
|
|
10905
10905
|
let B = null;
|
|
10906
|
-
C === null ? B = S : S === null ? B = C : B =
|
|
10906
|
+
C === null ? B = S : S === null ? B = C : B = vr.comparePoints(C, S) <= 0 ? C : S, this.queue.delete(u.rightSE), f.push(u.rightSE);
|
|
10907
10907
|
let D = u.split(B);
|
|
10908
10908
|
for (let H = 0, ae = D.length; H < ae; H++) f.push(D[H]);
|
|
10909
10909
|
}
|
|
@@ -10950,7 +10950,7 @@ function u2() {
|
|
|
10950
10950
|
let ae = p[D];
|
|
10951
10951
|
for (let ee = D + 1, Ce = p.length; ee < Ce; ee++) if (Jl(ae.bbox, p[ee].bbox) === null) return [];
|
|
10952
10952
|
}
|
|
10953
|
-
let v = new qe(
|
|
10953
|
+
let v = new qe(vr.compare);
|
|
10954
10954
|
for (let D = 0, H = p.length; D < H; D++) {
|
|
10955
10955
|
let ae = p[D].getSweepEvents();
|
|
10956
10956
|
for (let ee = 0, Ce = ae.length; ee < Ce; ee++) v.add(ae[ee]);
|
|
@@ -11032,7 +11032,7 @@ function u2() {
|
|
|
11032
11032
|
let u = this._map._layers, f = o._latlngInfos || [];
|
|
11033
11033
|
Object.keys(u).map((p) => u[p]).filter((p) => p.pm).filter((p) => !p._pmTempLayer).filter((p) => !L.PM.optIn && !p.options.pmIgnore || L.PM.optIn && p.options.pmIgnore === !1).filter((p) => p instanceof L.Polyline).filter((p) => p !== o).filter((p) => p.pm.options.allowCutting).filter((p) => this.options.layersToCut && L.Util.isArray(this.options.layersToCut) && this.options.layersToCut.length > 0 ? this.options.layersToCut.indexOf(p) > -1 : !0).filter((p) => !this._layerGroup.hasLayer(p)).filter((p) => {
|
|
11034
11034
|
try {
|
|
11035
|
-
let v = !!
|
|
11035
|
+
let v = !!pr(o.toGeoJSON(15), p.toGeoJSON(15)).features.length > 0;
|
|
11036
11036
|
return v || p instanceof L.Polyline && !(p instanceof L.Polygon) ? v : !!E3(o.toGeoJSON(15), p.toGeoJSON(15));
|
|
11037
11037
|
} catch {
|
|
11038
11038
|
return p instanceof L.Polygon && console.error("You can't cut polygons with self-intersections"), !1;
|
|
@@ -11049,7 +11049,7 @@ function u2() {
|
|
|
11049
11049
|
let { segment: Ce } = ee;
|
|
11050
11050
|
if (Ce && Ce.length === 2) {
|
|
11051
11051
|
let { indexPath: ke, parentPath: We, newIndex: st } = L.PM.Utils._getIndexFromSegment(D, Ce);
|
|
11052
|
-
(ke.length > 1 ? (0,
|
|
11052
|
+
(ke.length > 1 ? (0, Ir.default)(D, We) : D).splice(st, 0, ae);
|
|
11053
11053
|
}
|
|
11054
11054
|
}
|
|
11055
11055
|
}
|
|
@@ -11235,8 +11235,8 @@ function u2() {
|
|
|
11235
11235
|
return f === 1 / 0 && (f = o.getZoom()), o.unproject(u, f);
|
|
11236
11236
|
}
|
|
11237
11237
|
var T3 = { _onRotateStart(o) {
|
|
11238
|
-
this._preventRenderingMarkers(!0), this._rotationOriginLatLng = this._getRotationCenter().clone(), this._rotationOriginPoint = Ds(this._map, this._rotationOriginLatLng), this._rotationStartPoint = Ds(this._map, o.target.getLatLng()), this._initialRotateLatLng =
|
|
11239
|
-
let u =
|
|
11238
|
+
this._preventRenderingMarkers(!0), this._rotationOriginLatLng = this._getRotationCenter().clone(), this._rotationOriginPoint = Ds(this._map, this._rotationOriginLatLng), this._rotationStartPoint = Ds(this._map, o.target.getLatLng()), this._initialRotateLatLng = fr(this._layer), this._startAngle = this.getAngle();
|
|
11239
|
+
let u = fr(this._rotationLayer, this._rotationLayer.pm._rotateOrgLatLng);
|
|
11240
11240
|
this._fireRotationStart(this._rotationLayer, u), this._fireRotationStart(this._map, u);
|
|
11241
11241
|
}, _onRotate(o) {
|
|
11242
11242
|
let u = Ds(this._map, o.target.getLatLng()), f = this._rotationStartPoint, p = this._rotationOriginPoint, v = Math.atan2(u.y - p.y, u.x - p.x) - Math.atan2(f.y - p.y, f.x - p.x);
|
|
@@ -11252,7 +11252,7 @@ function u2() {
|
|
|
11252
11252
|
}
|
|
11253
11253
|
}
|
|
11254
11254
|
S(this._layer.getLatLngs());
|
|
11255
|
-
let B =
|
|
11255
|
+
let B = fr(this._rotationLayer);
|
|
11256
11256
|
this._rotationLayer.setLatLngs(this._rotateLayer(v, this._rotationLayer.pm._rotateOrgLatLng, this._rotationOriginLatLng, L.PM.Matrix.init(), this._map));
|
|
11257
11257
|
let D = v * 180 / Math.PI;
|
|
11258
11258
|
D = D < 0 ? D + 360 : D;
|
|
@@ -11261,8 +11261,8 @@ function u2() {
|
|
|
11261
11261
|
}, _onRotateEnd() {
|
|
11262
11262
|
let o = this._startAngle;
|
|
11263
11263
|
delete this._rotationOriginLatLng, delete this._rotationOriginPoint, delete this._rotationStartPoint, delete this._initialRotateLatLng, delete this._startAngle;
|
|
11264
|
-
let u =
|
|
11265
|
-
this._rotationLayer.pm._rotateOrgLatLng =
|
|
11264
|
+
let u = fr(this._rotationLayer, this._rotationLayer.pm._rotateOrgLatLng);
|
|
11265
|
+
this._rotationLayer.pm._rotateOrgLatLng = fr(this._rotationLayer), this._fireRotationEnd(this._rotationLayer, o, u), this._fireRotationEnd(this._map, o, u), this._rotationLayer.pm._fireEdit(this._rotationLayer, "Rotation"), this._preventRenderingMarkers(!1), this._layerRotated = !0;
|
|
11266
11266
|
}, _rotateLayer(o, u, f, p, v) {
|
|
11267
11267
|
let C = Ds(v, f);
|
|
11268
11268
|
return this._matrix = p.clone().rotate(o, C).flip(), Fg(u, this._matrix, v);
|
|
@@ -11279,7 +11279,7 @@ function u2() {
|
|
|
11279
11279
|
}
|
|
11280
11280
|
this.rotateEnabled() && this.disableRotate(), this._layer instanceof L.Rectangle && this._angle === void 0 && this.setInitAngle(gs(this._layer._map, this._layer.getLatLngs()[0][0], this._layer.getLatLngs()[0][1]) || 0);
|
|
11281
11281
|
let o = { fill: !1, stroke: !1, pmIgnore: !1, snapIgnore: !0 };
|
|
11282
|
-
this._rotatePoly = L.polygon(this._layer.getLatLngs(), o), this._rotatePoly._pmTempLayer = !0, this._rotatePoly.addTo(this._layer._map), this._rotatePoly.pm._setAngle(this.getAngle()), this._rotatePoly.pm.setRotationCenter(this.getRotationCenter()), this._rotatePoly.pm.setOptions(this._layer._map.pm.getGlobalOptions()), this._rotatePoly.pm.setOptions({ rotate: !0, snappable: !1, hideMiddleMarkers: !0 }), this._rotatePoly.pm._rotationLayer = this._layer, this._rotatePoly.pm.enable(), this._rotateOrgLatLng =
|
|
11282
|
+
this._rotatePoly = L.polygon(this._layer.getLatLngs(), o), this._rotatePoly._pmTempLayer = !0, this._rotatePoly.addTo(this._layer._map), this._rotatePoly.pm._setAngle(this.getAngle()), this._rotatePoly.pm.setRotationCenter(this.getRotationCenter()), this._rotatePoly.pm.setOptions(this._layer._map.pm.getGlobalOptions()), this._rotatePoly.pm.setOptions({ rotate: !0, snappable: !1, hideMiddleMarkers: !0 }), this._rotatePoly.pm._rotationLayer = this._layer, this._rotatePoly.pm.enable(), this._rotateOrgLatLng = fr(this._layer), this._rotateEnabled = !0, this._layer.on("remove", this.disableRotate, this), this._fireRotationEnable(this._layer), this._fireRotationEnable(this._layer._map);
|
|
11283
11283
|
}, disableRotate() {
|
|
11284
11284
|
this.rotateEnabled() && (this._rotatePoly.pm._layerRotated && this._fireUpdate(), this._rotatePoly.pm._layerRotated = !1, this._rotatePoly.pm.disable(), this._rotatePoly.remove(), this._rotatePoly.pm.setOptions({ rotate: !1 }), this._rotatePoly = void 0, this._rotateOrgLatLng = void 0, this._layer.off("remove", this.disableRotate, this), this._rotateEnabled = !1, this._fireRotationDisable(this._layer), this._fireRotationDisable(this._layer._map));
|
|
11285
11285
|
}, rotateEnabled() {
|
|
@@ -11521,7 +11521,7 @@ function u2() {
|
|
|
11521
11521
|
}, _removeMarker(o) {
|
|
11522
11522
|
let u = o.target;
|
|
11523
11523
|
if (!this._vertexValidation("remove", o)) return;
|
|
11524
|
-
this.options.allowSelfIntersection || (this._coordsBeforeEdit =
|
|
11524
|
+
this.options.allowSelfIntersection || (this._coordsBeforeEdit = fr(this._layer, this._layer.getLatLngs()));
|
|
11525
11525
|
let f = this._layer.getLatLngs(), { indexPath: p, index: v, parentPath: C } = L.PM.Utils.findDeepMarkerIndex(this._markers, u);
|
|
11526
11526
|
if (!p) return;
|
|
11527
11527
|
let S = p.length > 1 ? (0, Za.default)(f, C) : f, B = p.length > 1 ? (0, Za.default)(this._markers, C) : this._markers, D = C[C.length - 1] > 0 && this._layer instanceof L.Polygon;
|
|
@@ -11547,13 +11547,13 @@ function u2() {
|
|
|
11547
11547
|
let { indexPath: u, index: f, parentPath: p } = L.PM.Utils.findDeepMarkerIndex(this._markers, o), v = u.length > 1 ? (0, Za.default)(this._markers, p) : this._markers, C = (f + 1) % v.length, S = (f + (v.length - 1)) % v.length, B = v[S], D = v[C];
|
|
11548
11548
|
return { prevMarker: B, nextMarker: D };
|
|
11549
11549
|
}, _checkMarkerAllowedToDrag(o) {
|
|
11550
|
-
let { prevMarker: u, nextMarker: f } = this._getNeighborMarkers(o), p = L.polyline([u.getLatLng(), o.getLatLng()]), v = L.polyline([o.getLatLng(), f.getLatLng()]), C =
|
|
11550
|
+
let { prevMarker: u, nextMarker: f } = this._getNeighborMarkers(o), p = L.polyline([u.getLatLng(), o.getLatLng()]), v = L.polyline([o.getLatLng(), f.getLatLng()]), C = pr(this._layer.toGeoJSON(15), p.toGeoJSON(15)).features.length, S = pr(this._layer.toGeoJSON(15), v.toGeoJSON(15)).features.length;
|
|
11551
11551
|
return o.getLatLng() === this._markers[0][0].getLatLng() ? S += 1 : o.getLatLng() === this._markers[0][this._markers[0].length - 1].getLatLng() && (C += 1), !(C <= 2 && S <= 2);
|
|
11552
11552
|
}, _onMarkerDragStart(o) {
|
|
11553
11553
|
let u = o.target;
|
|
11554
11554
|
if (this.cachedColor || (this.cachedColor = this._layer.options.color), !this._vertexValidation("move", o)) return;
|
|
11555
11555
|
let { indexPath: f } = L.PM.Utils.findDeepMarkerIndex(this._markers, u);
|
|
11556
|
-
this._fireMarkerDragStart(o, f), this.options.allowSelfIntersection || (this._coordsBeforeEdit =
|
|
11556
|
+
this._fireMarkerDragStart(o, f), this.options.allowSelfIntersection || (this._coordsBeforeEdit = fr(this._layer, this._layer.getLatLngs())), !this.options.allowSelfIntersection && this.options.allowSelfIntersectionEdit && this.hasSelfIntersection() ? this._markerAllowedToDrag = this._checkMarkerAllowedToDrag(u) : this._markerAllowedToDrag = null;
|
|
11557
11557
|
}, _onMarkerDrag(o) {
|
|
11558
11558
|
let u = o.target;
|
|
11559
11559
|
if (!this._vertexValidationDrag(u)) return;
|
|
@@ -11591,7 +11591,7 @@ function u2() {
|
|
|
11591
11591
|
let { indexPath: f } = L.PM.Utils.findDeepMarkerIndex(this._markers, u);
|
|
11592
11592
|
this._fireVertexClick(o, f);
|
|
11593
11593
|
} }), ti.Polygon = ti.Line.extend({ _shape: "Polygon", _checkMarkerAllowedToDrag(o) {
|
|
11594
|
-
let { prevMarker: u, nextMarker: f } = this._getNeighborMarkers(o), p = L.polyline([u.getLatLng(), o.getLatLng()]), v = L.polyline([o.getLatLng(), f.getLatLng()]), C =
|
|
11594
|
+
let { prevMarker: u, nextMarker: f } = this._getNeighborMarkers(o), p = L.polyline([u.getLatLng(), o.getLatLng()]), v = L.polyline([o.getLatLng(), f.getLatLng()]), C = pr(this._layer.toGeoJSON(15), p.toGeoJSON(15)).features.length, S = pr(this._layer.toGeoJSON(15), v.toGeoJSON(15)).features.length;
|
|
11595
11595
|
return !(C <= 2 && S <= 2);
|
|
11596
11596
|
} }), ti.Rectangle = ti.Polygon.extend({ _shape: "Rectangle", _initMarkers() {
|
|
11597
11597
|
let o = this._map, u = this._findCorners();
|
|
@@ -13083,22 +13083,22 @@ function lw(e, t, n, i, r, s, l, c) {
|
|
|
13083
13083
|
};
|
|
13084
13084
|
return d = (c - s) * (n - e) - (l - r) * (i - t), d === 0 ? M.x !== null && M.y !== null ? M : !1 : (g = t - s, y = e - r, _ = (l - r) * g - (c - s) * y, w = (n - e) * g - (i - t) * y, g = _ / d, y = w / d, M.x = e + g * (n - e), M.y = t + g * (i - t), g >= 0 && g <= 1 && (M.onLine1 = !0), y >= 0 && y <= 1 && (M.onLine2 = !0), M.onLine1 && M.onLine2 ? [M.x, M.y] : !1);
|
|
13085
13085
|
}
|
|
13086
|
-
var
|
|
13087
|
-
centimeters:
|
|
13088
|
-
centimetres:
|
|
13086
|
+
var or = 63710088e-1, uw = {
|
|
13087
|
+
centimeters: or * 100,
|
|
13088
|
+
centimetres: or * 100,
|
|
13089
13089
|
degrees: 360 / (2 * Math.PI),
|
|
13090
|
-
feet:
|
|
13091
|
-
inches:
|
|
13092
|
-
kilometers:
|
|
13093
|
-
kilometres:
|
|
13094
|
-
meters:
|
|
13095
|
-
metres:
|
|
13096
|
-
miles:
|
|
13097
|
-
millimeters:
|
|
13098
|
-
millimetres:
|
|
13099
|
-
nauticalmiles:
|
|
13090
|
+
feet: or * 3.28084,
|
|
13091
|
+
inches: or * 39.37,
|
|
13092
|
+
kilometers: or / 1e3,
|
|
13093
|
+
kilometres: or / 1e3,
|
|
13094
|
+
meters: or,
|
|
13095
|
+
metres: or,
|
|
13096
|
+
miles: or / 1609.344,
|
|
13097
|
+
millimeters: or * 1e3,
|
|
13098
|
+
millimetres: or * 1e3,
|
|
13099
|
+
nauticalmiles: or / 1852,
|
|
13100
13100
|
radians: 1,
|
|
13101
|
-
yards:
|
|
13101
|
+
yards: or * 1.0936
|
|
13102
13102
|
};
|
|
13103
13103
|
function Vd(e, t, n = {}) {
|
|
13104
13104
|
const i = { type: "Feature" };
|
|
@@ -14035,7 +14035,7 @@ const zw = ["id"], Hw = /* @__PURE__ */ Ke({
|
|
|
14035
14035
|
},
|
|
14036
14036
|
emits: ["startLoading", "stopLoading", "onDrawing", "onFullscreenChange", "onMeasureComplete"],
|
|
14037
14037
|
setup(e, { expose: t, emit: n }) {
|
|
14038
|
-
const i = n, r = e, s =
|
|
14038
|
+
const i = n, r = e, s = Zi(), l = Zi(), c = Zi();
|
|
14039
14039
|
let d = null, g = null, y = null;
|
|
14040
14040
|
const _ = () => {
|
|
14041
14041
|
var K, j;
|
|
@@ -14114,7 +14114,7 @@ const zw = ["id"], Hw = /* @__PURE__ */ Ke({
|
|
|
14114
14114
|
let s = `${e}-${t}`;
|
|
14115
14115
|
return n && (s += `-${n}`), i && (s += `__${i}`), r && (s += `--${r}`), s;
|
|
14116
14116
|
}, P_ = Symbol("namespaceContextKey"), c0 = (e) => {
|
|
14117
|
-
const t = e || (Kt() ? gt(P_,
|
|
14117
|
+
const t = e || (Kt() ? gt(P_, se(sh)) : se(sh));
|
|
14118
14118
|
return $(() => I(t) || sh);
|
|
14119
14119
|
}, bt = (e, t) => {
|
|
14120
14120
|
const n = c0(t);
|
|
@@ -14159,7 +14159,7 @@ const Nn = () => {
|
|
|
14159
14159
|
const t = /* @__PURE__ */ Object.create(null);
|
|
14160
14160
|
return (n) => t[n] || (t[n] = e(n));
|
|
14161
14161
|
}, Vw = qw((e) => e.charAt(0).toUpperCase() + e.slice(1));
|
|
14162
|
-
var I_ = typeof global == "object" && global && global.Object === Object && global, Ww = typeof self == "object" && self && self.Object === Object && self, Vr = I_ || Ww || Function("return this")(),
|
|
14162
|
+
var I_ = typeof global == "object" && global && global.Object === Object && global, Ww = typeof self == "object" && self && self.Object === Object && self, Vr = I_ || Ww || Function("return this")(), Er = Vr.Symbol, T_ = Object.prototype, Yw = T_.hasOwnProperty, $w = T_.toString, nu = Er ? Er.toStringTag : void 0;
|
|
14163
14163
|
function Zw(e) {
|
|
14164
14164
|
var t = Yw.call(e, nu), n = e[nu];
|
|
14165
14165
|
try {
|
|
@@ -14174,7 +14174,7 @@ var Jw = Object.prototype, Xw = Jw.toString;
|
|
|
14174
14174
|
function eA(e) {
|
|
14175
14175
|
return Xw.call(e);
|
|
14176
14176
|
}
|
|
14177
|
-
var tA = "[object Null]", nA = "[object Undefined]", vm =
|
|
14177
|
+
var tA = "[object Null]", nA = "[object Undefined]", vm = Er ? Er.toStringTag : void 0;
|
|
14178
14178
|
function $o(e) {
|
|
14179
14179
|
return e == null ? e === void 0 ? nA : tA : vm && vm in Object(e) ? Zw(e) : eA(e);
|
|
14180
14180
|
}
|
|
@@ -14190,7 +14190,7 @@ function O_(e, t) {
|
|
|
14190
14190
|
r[n] = t(e[n], n, e);
|
|
14191
14191
|
return r;
|
|
14192
14192
|
}
|
|
14193
|
-
var Fi = Array.isArray, ym =
|
|
14193
|
+
var Fi = Array.isArray, ym = Er ? Er.prototype : void 0, _m = ym ? ym.toString : void 0;
|
|
14194
14194
|
function D_(e) {
|
|
14195
14195
|
if (typeof e == "string")
|
|
14196
14196
|
return e;
|
|
@@ -14211,7 +14211,7 @@ var oA = /^\s+/;
|
|
|
14211
14211
|
function sA(e) {
|
|
14212
14212
|
return e && e.slice(0, aA(e) + 1).replace(oA, "");
|
|
14213
14213
|
}
|
|
14214
|
-
function
|
|
14214
|
+
function er(e) {
|
|
14215
14215
|
var t = typeof e;
|
|
14216
14216
|
return e != null && (t == "object" || t == "function");
|
|
14217
14217
|
}
|
|
@@ -14221,9 +14221,9 @@ function wm(e) {
|
|
|
14221
14221
|
return e;
|
|
14222
14222
|
if (Xh(e))
|
|
14223
14223
|
return bm;
|
|
14224
|
-
if (
|
|
14224
|
+
if (er(e)) {
|
|
14225
14225
|
var t = typeof e.valueOf == "function" ? e.valueOf() : e;
|
|
14226
|
-
e =
|
|
14226
|
+
e = er(t) ? t + "" : t;
|
|
14227
14227
|
}
|
|
14228
14228
|
if (typeof e != "string")
|
|
14229
14229
|
return e === 0 ? e : +e;
|
|
@@ -14236,7 +14236,7 @@ function h0(e) {
|
|
|
14236
14236
|
}
|
|
14237
14237
|
var fA = "[object AsyncFunction]", dA = "[object Function]", pA = "[object GeneratorFunction]", gA = "[object Proxy]";
|
|
14238
14238
|
function f0(e) {
|
|
14239
|
-
if (!
|
|
14239
|
+
if (!er(e))
|
|
14240
14240
|
return !1;
|
|
14241
14241
|
var t = $o(e);
|
|
14242
14242
|
return t == dA || t == pA || t == fA || t == gA;
|
|
@@ -14266,7 +14266,7 @@ var _A = /[\\^$.*+?()[\]{}|]/g, bA = /^\[object .+?Constructor\]$/, wA = Functio
|
|
|
14266
14266
|
"^" + CA.call(MA).replace(_A, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
14267
14267
|
);
|
|
14268
14268
|
function xA(e) {
|
|
14269
|
-
if (!
|
|
14269
|
+
if (!er(e) || mA(e))
|
|
14270
14270
|
return !1;
|
|
14271
14271
|
var t = f0(e) ? EA : bA;
|
|
14272
14272
|
return t.test(Zo(e));
|
|
@@ -14282,7 +14282,7 @@ var $d = Jo(Vr, "WeakMap"), Cm = Object.create, SA = /* @__PURE__ */ (function()
|
|
|
14282
14282
|
function e() {
|
|
14283
14283
|
}
|
|
14284
14284
|
return function(t) {
|
|
14285
|
-
if (!
|
|
14285
|
+
if (!er(t))
|
|
14286
14286
|
return {};
|
|
14287
14287
|
if (Cm)
|
|
14288
14288
|
return Cm(t);
|
|
@@ -14406,7 +14406,7 @@ function vl(e) {
|
|
|
14406
14406
|
return e != null && g0(e.length) && !f0(e);
|
|
14407
14407
|
}
|
|
14408
14408
|
function qA(e, t, n) {
|
|
14409
|
-
if (!
|
|
14409
|
+
if (!er(n))
|
|
14410
14410
|
return !1;
|
|
14411
14411
|
var i = typeof t;
|
|
14412
14412
|
return (i == "number" ? vl(n) && ef(t, n.length) : i == "string" && t in n) ? Ju(n[t], e) : !1;
|
|
@@ -14497,7 +14497,7 @@ function OC(e) {
|
|
|
14497
14497
|
}
|
|
14498
14498
|
var DC = Object.prototype, RC = DC.hasOwnProperty;
|
|
14499
14499
|
function FC(e) {
|
|
14500
|
-
if (!
|
|
14500
|
+
if (!er(e))
|
|
14501
14501
|
return OC(e);
|
|
14502
14502
|
var t = m0(e), n = [];
|
|
14503
14503
|
for (var i in e)
|
|
@@ -14680,7 +14680,7 @@ function A0(e, t) {
|
|
|
14680
14680
|
e = e[Xu(t[n++])];
|
|
14681
14681
|
return n && n == i ? e : void 0;
|
|
14682
14682
|
}
|
|
14683
|
-
function
|
|
14683
|
+
function Gr(e, t, n) {
|
|
14684
14684
|
var i = e == null ? void 0 : A0(e, t);
|
|
14685
14685
|
return i === void 0 ? n : i;
|
|
14686
14686
|
}
|
|
@@ -14689,7 +14689,7 @@ function K_(e, t) {
|
|
|
14689
14689
|
e[r + n] = t[n];
|
|
14690
14690
|
return e;
|
|
14691
14691
|
}
|
|
14692
|
-
var km =
|
|
14692
|
+
var km = Er ? Er.isConcatSpreadable : void 0;
|
|
14693
14693
|
function vM(e) {
|
|
14694
14694
|
return Fi(e) || Iu(e) || !!(km && e && e[km]);
|
|
14695
14695
|
}
|
|
@@ -14786,8 +14786,8 @@ function NM(e, t, n) {
|
|
|
14786
14786
|
function Zd(e) {
|
|
14787
14787
|
return NM(e, _0, FM);
|
|
14788
14788
|
}
|
|
14789
|
-
var Jd = Jo(Vr, "DataView"), Xd = Jo(Vr, "Promise"), ep = Jo(Vr, "Set"), Om = "[object Map]", GM = "[object Object]", Dm = "[object Promise]", Rm = "[object Set]", Fm = "[object WeakMap]", Nm = "[object DataView]", zM = Zo(Jd), HM = Zo(Du), QM = Zo(Xd), UM = Zo(ep), KM = Zo($d),
|
|
14790
|
-
(Jd &&
|
|
14789
|
+
var Jd = Jo(Vr, "DataView"), Xd = Jo(Vr, "Promise"), ep = Jo(Vr, "Set"), Om = "[object Map]", GM = "[object Object]", Dm = "[object Promise]", Rm = "[object Set]", Fm = "[object WeakMap]", Nm = "[object DataView]", zM = Zo(Jd), HM = Zo(Du), QM = Zo(Xd), UM = Zo(ep), KM = Zo($d), Fr = $o;
|
|
14790
|
+
(Jd && Fr(new Jd(new ArrayBuffer(1))) != Nm || Du && Fr(new Du()) != Om || Xd && Fr(Xd.resolve()) != Dm || ep && Fr(new ep()) != Rm || $d && Fr(new $d()) != Fm) && (Fr = function(e) {
|
|
14791
14791
|
var t = $o(e), n = t == GM ? e.constructor : void 0, i = n ? Zo(n) : "";
|
|
14792
14792
|
if (i)
|
|
14793
14793
|
switch (i) {
|
|
@@ -14823,7 +14823,7 @@ function $M(e) {
|
|
|
14823
14823
|
var t = new e.constructor(e.source, YM.exec(e));
|
|
14824
14824
|
return t.lastIndex = e.lastIndex, t;
|
|
14825
14825
|
}
|
|
14826
|
-
var Gm =
|
|
14826
|
+
var Gm = Er ? Er.prototype : void 0, zm = Gm ? Gm.valueOf : void 0;
|
|
14827
14827
|
function ZM(e) {
|
|
14828
14828
|
return zm ? Object(zm.call(e)) : {};
|
|
14829
14829
|
}
|
|
@@ -14870,11 +14870,11 @@ function Z_(e) {
|
|
|
14870
14870
|
}
|
|
14871
14871
|
var yE = "[object Map]";
|
|
14872
14872
|
function _E(e) {
|
|
14873
|
-
return ca(e) &&
|
|
14873
|
+
return ca(e) && Fr(e) == yE;
|
|
14874
14874
|
}
|
|
14875
14875
|
var Hm = nl && nl.isMap, bE = Hm ? v0(Hm) : _E, wE = "[object Set]";
|
|
14876
14876
|
function AE(e) {
|
|
14877
|
-
return ca(e) &&
|
|
14877
|
+
return ca(e) && Fr(e) == wE;
|
|
14878
14878
|
}
|
|
14879
14879
|
var Qm = nl && nl.isSet, CE = Qm ? v0(Qm) : AE, ME = 1, J_ = "[object Arguments]", EE = "[object Array]", xE = "[object Boolean]", LE = "[object Date]", SE = "[object Error]", X_ = "[object Function]", kE = "[object GeneratorFunction]", BE = "[object Map]", PE = "[object Number]", e1 = "[object Object]", IE = "[object RegExp]", TE = "[object Set]", OE = "[object String]", DE = "[object Symbol]", RE = "[object WeakMap]", FE = "[object ArrayBuffer]", NE = "[object DataView]", GE = "[object Float32Array]", zE = "[object Float64Array]", HE = "[object Int8Array]", QE = "[object Int16Array]", UE = "[object Int32Array]", KE = "[object Uint8Array]", jE = "[object Uint8ClampedArray]", qE = "[object Uint16Array]", VE = "[object Uint32Array]", bn = {};
|
|
14880
14880
|
bn[J_] = bn[EE] = bn[FE] = bn[NE] = bn[xE] = bn[LE] = bn[GE] = bn[zE] = bn[HE] = bn[QE] = bn[UE] = bn[BE] = bn[PE] = bn[e1] = bn[IE] = bn[TE] = bn[OE] = bn[DE] = bn[KE] = bn[jE] = bn[qE] = bn[VE] = !0;
|
|
@@ -14883,13 +14883,13 @@ function lh(e, t, n, i, r, s) {
|
|
|
14883
14883
|
var l, c = t & ME;
|
|
14884
14884
|
if (l !== void 0)
|
|
14885
14885
|
return l;
|
|
14886
|
-
if (!
|
|
14886
|
+
if (!er(e))
|
|
14887
14887
|
return e;
|
|
14888
14888
|
var d = Fi(e);
|
|
14889
14889
|
if (d)
|
|
14890
14890
|
l = VM(e);
|
|
14891
14891
|
else {
|
|
14892
|
-
var g =
|
|
14892
|
+
var g = Fr(e), y = g == X_ || g == kE;
|
|
14893
14893
|
if (Tu(e))
|
|
14894
14894
|
return Y_(e, c);
|
|
14895
14895
|
if (g == e1 || g == J_ || y && !r)
|
|
@@ -14987,7 +14987,7 @@ function rx(e) {
|
|
|
14987
14987
|
n[++t] = i;
|
|
14988
14988
|
}), n;
|
|
14989
14989
|
}
|
|
14990
|
-
var ax = 1, ox = 2, sx = "[object Boolean]", lx = "[object Date]", ux = "[object Error]", cx = "[object Map]", hx = "[object Number]", fx = "[object RegExp]", dx = "[object Set]", px = "[object String]", gx = "[object Symbol]", mx = "[object ArrayBuffer]", vx = "[object DataView]", Km =
|
|
14990
|
+
var ax = 1, ox = 2, sx = "[object Boolean]", lx = "[object Date]", ux = "[object Error]", cx = "[object Map]", hx = "[object Number]", fx = "[object RegExp]", dx = "[object Set]", px = "[object String]", gx = "[object Symbol]", mx = "[object ArrayBuffer]", vx = "[object DataView]", Km = Er ? Er.prototype : void 0, gd = Km ? Km.valueOf : void 0;
|
|
14991
14991
|
function yx(e, t, n, i, r, s, l) {
|
|
14992
14992
|
switch (n) {
|
|
14993
14993
|
case vx:
|
|
@@ -15057,7 +15057,7 @@ function Ax(e, t, n, i, r, s) {
|
|
|
15057
15057
|
}
|
|
15058
15058
|
var Cx = 1, jm = "[object Arguments]", qm = "[object Array]", Vc = "[object Object]", Mx = Object.prototype, Vm = Mx.hasOwnProperty;
|
|
15059
15059
|
function Ex(e, t, n, i, r, s) {
|
|
15060
|
-
var l = Fi(e), c = Fi(t), d = l ? qm :
|
|
15060
|
+
var l = Fi(e), c = Fi(t), d = l ? qm : Fr(e), g = c ? qm : Fr(t);
|
|
15061
15061
|
d = d == jm ? Vc : d, g = g == jm ? Vc : g;
|
|
15062
15062
|
var y = d == Vc, _ = g == Vc, w = d == g;
|
|
15063
15063
|
if (w && Tu(e)) {
|
|
@@ -15104,7 +15104,7 @@ function Sx(e, t, n, i) {
|
|
|
15104
15104
|
return !0;
|
|
15105
15105
|
}
|
|
15106
15106
|
function n1(e) {
|
|
15107
|
-
return e === e && !
|
|
15107
|
+
return e === e && !er(e);
|
|
15108
15108
|
}
|
|
15109
15109
|
function kx(e) {
|
|
15110
15110
|
for (var t = _0(e), n = t.length; n--; ) {
|
|
@@ -15143,7 +15143,7 @@ function r1(e, t) {
|
|
|
15143
15143
|
var Tx = 1, Ox = 2;
|
|
15144
15144
|
function Dx(e, t) {
|
|
15145
15145
|
return b0(e) && n1(t) ? i1(Xu(e), t) : function(n) {
|
|
15146
|
-
var i =
|
|
15146
|
+
var i = Gr(n, e);
|
|
15147
15147
|
return i === void 0 && i === t ? r1(n, e) : af(t, i, Tx | Ox);
|
|
15148
15148
|
};
|
|
15149
15149
|
}
|
|
@@ -15195,7 +15195,7 @@ function Ru(e, t, n) {
|
|
|
15195
15195
|
var i, r, s, l, c, d, g = 0, y = !1, _ = !1, w = !0;
|
|
15196
15196
|
if (typeof e != "function")
|
|
15197
15197
|
throw new TypeError(Ux);
|
|
15198
|
-
t = wm(t) || 0,
|
|
15198
|
+
t = wm(t) || 0, er(n) && (y = !!n.leading, _ = "maxWait" in n, s = _ ? Kx(wm(n.maxWait) || 0, t) : s, w = "trailing" in n ? !!n.trailing : w);
|
|
15199
15199
|
function M(K) {
|
|
15200
15200
|
var j = i, O = r;
|
|
15201
15201
|
return i = r = void 0, g = K, l = e.apply(O, j), l;
|
|
@@ -15260,13 +15260,13 @@ function Wx(e, t, n, i, r, s, l) {
|
|
|
15260
15260
|
var y = s ? s(c, d, n + "", e, t, l) : void 0, _ = y === void 0;
|
|
15261
15261
|
if (_) {
|
|
15262
15262
|
var w = Fi(d), M = !w && Tu(d), b = !w && !M && y0(d);
|
|
15263
|
-
y = d, w || M || b ? Fi(c) ? y = c : qx(c) ? y = BA(c) : M ? (_ = !1, y = Y_(d, !0)) : b ? (_ = !1, y = $_(d, !0)) : y = [] : EM(d) || Iu(d) ? (y = c, Iu(c) ? y = Vx(c) : (!
|
|
15263
|
+
y = d, w || M || b ? Fi(c) ? y = c : qx(c) ? y = BA(c) : M ? (_ = !1, y = Y_(d, !0)) : b ? (_ = !1, y = $_(d, !0)) : y = [] : EM(d) || Iu(d) ? (y = c, Iu(c) ? y = Vx(c) : (!er(c) || f0(c)) && (y = Z_(d))) : _ = !1;
|
|
15264
15264
|
}
|
|
15265
15265
|
_ && (l.set(d, y), r(y, d, i, s, l), l.delete(d)), tp(e, n, y);
|
|
15266
15266
|
}
|
|
15267
15267
|
function s1(e, t, n, i, r) {
|
|
15268
15268
|
e !== t && o1(t, function(s, l) {
|
|
15269
|
-
if (r || (r = new Hr()),
|
|
15269
|
+
if (r || (r = new Hr()), er(s))
|
|
15270
15270
|
Wx(e, t, l, n, s1, i, r);
|
|
15271
15271
|
else {
|
|
15272
15272
|
var c = i ? i(np(e, l), s, l + "", e, t, r) : void 0;
|
|
@@ -15317,7 +15317,7 @@ var l1 = VA(function(e, t, n) {
|
|
|
15317
15317
|
s1(e, t, n);
|
|
15318
15318
|
});
|
|
15319
15319
|
function u1(e, t, n, i) {
|
|
15320
|
-
if (!
|
|
15320
|
+
if (!er(e))
|
|
15321
15321
|
return e;
|
|
15322
15322
|
t = rf(t, e);
|
|
15323
15323
|
for (var r = -1, s = t.length, l = s - 1, c = e; c != null && ++r < s; ) {
|
|
@@ -15326,7 +15326,7 @@ function u1(e, t, n, i) {
|
|
|
15326
15326
|
return e;
|
|
15327
15327
|
if (r != l) {
|
|
15328
15328
|
var y = c[d];
|
|
15329
|
-
g = void 0, g === void 0 && (g =
|
|
15329
|
+
g = void 0, g === void 0 && (g = er(y) ? y : ef(t[r + 1]) ? [] : {});
|
|
15330
15330
|
}
|
|
15331
15331
|
p0(c, d, g), c = c[d];
|
|
15332
15332
|
}
|
|
@@ -15361,7 +15361,7 @@ var rL = Object.defineProperty, aL = Object.defineProperties, oL = Object.getOwn
|
|
|
15361
15361
|
}, cL = (e, t) => aL(e, oL(t));
|
|
15362
15362
|
function ip(e, t) {
|
|
15363
15363
|
var n;
|
|
15364
|
-
const i =
|
|
15364
|
+
const i = Zi();
|
|
15365
15365
|
return lo(() => {
|
|
15366
15366
|
i.value = e();
|
|
15367
15367
|
}, cL(uL({}, t), {
|
|
@@ -15386,7 +15386,7 @@ function gL(e, t = !0) {
|
|
|
15386
15386
|
function ap(e, t, n = {}) {
|
|
15387
15387
|
const {
|
|
15388
15388
|
immediate: i = !0
|
|
15389
|
-
} = n, r =
|
|
15389
|
+
} = n, r = se(!1);
|
|
15390
15390
|
let s = null;
|
|
15391
15391
|
function l() {
|
|
15392
15392
|
s && (clearTimeout(s), s = null);
|
|
@@ -15463,7 +15463,7 @@ function vL(e, t, n = {}) {
|
|
|
15463
15463
|
return () => y.forEach((w) => w());
|
|
15464
15464
|
}
|
|
15465
15465
|
function f1(e, t = !1) {
|
|
15466
|
-
const n =
|
|
15466
|
+
const n = se(), i = () => n.value = !!e();
|
|
15467
15467
|
return i(), gL(i, t), n;
|
|
15468
15468
|
}
|
|
15469
15469
|
function yL(e) {
|
|
@@ -15473,8 +15473,8 @@ const Jm = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window :
|
|
|
15473
15473
|
Jm[Xm] = Jm[Xm] || {};
|
|
15474
15474
|
function _L({ document: e = mL } = {}) {
|
|
15475
15475
|
if (!e)
|
|
15476
|
-
return
|
|
15477
|
-
const t =
|
|
15476
|
+
return se("visible");
|
|
15477
|
+
const t = se(e.visibilityState);
|
|
15478
15478
|
return ii(e, "visibilitychange", () => {
|
|
15479
15479
|
t.value = e.visibilityState;
|
|
15480
15480
|
}), t;
|
|
@@ -15581,7 +15581,7 @@ function IL(e, t, n, i = {}) {
|
|
|
15581
15581
|
b = g || b || `update:${t.toString()}`;
|
|
15582
15582
|
const E = (x) => c ? fL(c) ? c(x) : yL(x) : x, k = () => hL(e[t]) ? E(e[t]) : _;
|
|
15583
15583
|
if (d) {
|
|
15584
|
-
const x = k(), z =
|
|
15584
|
+
const x = k(), z = se(x);
|
|
15585
15585
|
return ot(() => e[t], (T) => z.value = E(T)), ot(z, (T) => {
|
|
15586
15586
|
(T !== e[t] || y) && M(b, T);
|
|
15587
15587
|
}, { deep: y }), z;
|
|
@@ -15597,8 +15597,8 @@ function IL(e, t, n, i = {}) {
|
|
|
15597
15597
|
}
|
|
15598
15598
|
function TL({ window: e = nc } = {}) {
|
|
15599
15599
|
if (!e)
|
|
15600
|
-
return
|
|
15601
|
-
const t =
|
|
15600
|
+
return se(!1);
|
|
15601
|
+
const t = se(e.document.hasFocus());
|
|
15602
15602
|
return ii(e, "blur", () => {
|
|
15603
15603
|
t.value = !1;
|
|
15604
15604
|
}), ii(e, "focus", () => {
|
|
@@ -15610,7 +15610,7 @@ class d1 extends Error {
|
|
|
15610
15610
|
super(t), this.name = "ElementPlusError";
|
|
15611
15611
|
}
|
|
15612
15612
|
}
|
|
15613
|
-
function
|
|
15613
|
+
function lr(e, t) {
|
|
15614
15614
|
throw new d1(`[${e}] ${t}`);
|
|
15615
15615
|
}
|
|
15616
15616
|
function Rn(e, t) {
|
|
@@ -15621,7 +15621,7 @@ function Rn(e, t) {
|
|
|
15621
15621
|
}
|
|
15622
15622
|
const av = {
|
|
15623
15623
|
current: 0
|
|
15624
|
-
}, ov =
|
|
15624
|
+
}, ov = se(0), p1 = 2e3, sv = Symbol("elZIndexContextKey"), g1 = Symbol("zIndexContextKey"), m1 = (e) => {
|
|
15625
15625
|
const t = Kt() ? gt(sv, av) : av, n = e || (Kt() ? gt(g1, void 0) : void 0), i = $(() => {
|
|
15626
15626
|
const l = I(n);
|
|
15627
15627
|
return hn(l) ? l : p1;
|
|
@@ -15812,18 +15812,18 @@ var OL = {
|
|
|
15812
15812
|
}
|
|
15813
15813
|
}
|
|
15814
15814
|
};
|
|
15815
|
-
const DL = (e) => (t, n) => RL(t, n, I(e)), RL = (e, t, n) =>
|
|
15815
|
+
const DL = (e) => (t, n) => RL(t, n, I(e)), RL = (e, t, n) => Gr(n, e, e).replace(/\{(\w+)\}/g, (i, r) => {
|
|
15816
15816
|
var s;
|
|
15817
15817
|
return `${(s = t == null ? void 0 : t[r]) != null ? s : `{${r}}`}`;
|
|
15818
15818
|
}), FL = (e) => {
|
|
15819
|
-
const t = $(() => I(e).name), n = tl(e) ? e :
|
|
15819
|
+
const t = $(() => I(e).name), n = tl(e) ? e : se(e);
|
|
15820
15820
|
return {
|
|
15821
15821
|
lang: t,
|
|
15822
15822
|
locale: n,
|
|
15823
15823
|
t: DL(e)
|
|
15824
15824
|
};
|
|
15825
15825
|
}, v1 = Symbol("localeContextKey"), yl = (e) => {
|
|
15826
|
-
const t = e || gt(v1,
|
|
15826
|
+
const t = e || gt(v1, se());
|
|
15827
15827
|
return FL($(() => t.value || OL));
|
|
15828
15828
|
}, y1 = "__epPropKey", tt = (e) => e, NL = (e) => $n(e) && !!e[y1], of = (e, t) => {
|
|
15829
15829
|
if (!$n(e) || NL(e))
|
|
@@ -15860,7 +15860,7 @@ const DL = (e) => (t, n) => RL(t, n, I(e)), RL = (e, t, n) => Nr(n, e, e).replac
|
|
|
15860
15860
|
validator: (e) => rn(e) ? !e() : !e
|
|
15861
15861
|
}
|
|
15862
15862
|
}), UL = (e, t) => {
|
|
15863
|
-
const n = Kt() ? gt(b1,
|
|
15863
|
+
const n = Kt() ? gt(b1, se({})) : se({}), i = $(() => e.emptyValues || n.value.emptyValues || HL), r = $(() => rn(e.valueOnClear) ? e.valueOnClear() : e.valueOnClear !== void 0 ? e.valueOnClear : rn(n.value.valueOnClear) ? n.value.valueOnClear() : n.value.valueOnClear !== void 0 ? n.value.valueOnClear : QL), s = (l) => i.value.includes(l);
|
|
15864
15864
|
return i.value.includes(r.value) || Rn(zL, "value-on-clear should be a value of empty-values"), {
|
|
15865
15865
|
emptyValues: i,
|
|
15866
15866
|
valueOnClear: r,
|
|
@@ -15868,12 +15868,12 @@ const DL = (e) => (t, n) => RL(t, n, I(e)), RL = (e, t, n) => Nr(n, e, e).replac
|
|
|
15868
15868
|
};
|
|
15869
15869
|
}, lv = (e) => Object.keys(e), KL = (e) => Object.entries(e), jL = (e, t, n) => ({
|
|
15870
15870
|
get value() {
|
|
15871
|
-
return
|
|
15871
|
+
return Gr(e, t, n);
|
|
15872
15872
|
},
|
|
15873
15873
|
set value(i) {
|
|
15874
15874
|
nL(e, t, i);
|
|
15875
15875
|
}
|
|
15876
|
-
}), Oh =
|
|
15876
|
+
}), Oh = se();
|
|
15877
15877
|
function x0(e, t = void 0) {
|
|
15878
15878
|
const n = Kt() ? gt(B_, Oh) : Oh;
|
|
15879
15879
|
return e ? $(() => {
|
|
@@ -15975,7 +15975,7 @@ const Vn = (e, t) => {
|
|
|
15975
15975
|
return e;
|
|
15976
15976
|
}, ZL = (e, t) => (e.install = (n) => {
|
|
15977
15977
|
e._context = n._context, n.config.globalProperties[t] = e;
|
|
15978
|
-
}, e),
|
|
15978
|
+
}, e), Sr = (e) => (e.install = Nn, e), JL = Gt({
|
|
15979
15979
|
size: {
|
|
15980
15980
|
type: tt([Number, String])
|
|
15981
15981
|
},
|
|
@@ -16316,7 +16316,7 @@ const di = tt([
|
|
|
16316
16316
|
success: L0,
|
|
16317
16317
|
error: uf
|
|
16318
16318
|
}, DS = () => yn && /firefox/i.test(window.navigator.userAgent);
|
|
16319
|
-
let
|
|
16319
|
+
let Or;
|
|
16320
16320
|
const RS = `
|
|
16321
16321
|
height:0 !important;
|
|
16322
16322
|
visibility:hidden !important;
|
|
@@ -16348,13 +16348,13 @@ function NS(e) {
|
|
|
16348
16348
|
}
|
|
16349
16349
|
function cv(e, t = 1, n) {
|
|
16350
16350
|
var i;
|
|
16351
|
-
|
|
16351
|
+
Or || (Or = document.createElement("textarea"), document.body.appendChild(Or));
|
|
16352
16352
|
const { paddingSize: r, borderSize: s, boxSizing: l, contextStyle: c } = NS(e);
|
|
16353
|
-
|
|
16354
|
-
let d =
|
|
16353
|
+
Or.setAttribute("style", `${c};${RS}`), Or.value = e.value || e.placeholder || "";
|
|
16354
|
+
let d = Or.scrollHeight;
|
|
16355
16355
|
const g = {};
|
|
16356
|
-
l === "border-box" ? d = d + s : l === "content-box" && (d = d - r),
|
|
16357
|
-
const y =
|
|
16356
|
+
l === "border-box" ? d = d + s : l === "content-box" && (d = d - r), Or.value = "";
|
|
16357
|
+
const y = Or.scrollHeight - r;
|
|
16358
16358
|
if (hn(t)) {
|
|
16359
16359
|
let _ = y * t;
|
|
16360
16360
|
l === "border-box" && (_ = _ + r + s), d = Math.max(_, d), g.minHeight = `${_}px`;
|
|
@@ -16363,7 +16363,7 @@ function cv(e, t = 1, n) {
|
|
|
16363
16363
|
let _ = y * n;
|
|
16364
16364
|
l === "border-box" && (_ = _ + r + s), d = Math.min(_, d);
|
|
16365
16365
|
}
|
|
16366
|
-
return g.height = `${d}px`, (i =
|
|
16366
|
+
return g.height = `${d}px`, (i = Or.parentNode) == null || i.removeChild(Or), Or = void 0, g;
|
|
16367
16367
|
}
|
|
16368
16368
|
const ho = (e) => e, GS = Gt({
|
|
16369
16369
|
ariaLabel: String,
|
|
@@ -16495,8 +16495,8 @@ usage: app.provide(ID_INJECTION_KEY, {
|
|
|
16495
16495
|
disableIdGeneration: n,
|
|
16496
16496
|
disableIdManagement: i
|
|
16497
16497
|
}) => {
|
|
16498
|
-
n || (n =
|
|
16499
|
-
const r =
|
|
16498
|
+
n || (n = se(!1)), i || (i = se(!1));
|
|
16499
|
+
const r = se();
|
|
16500
16500
|
let s;
|
|
16501
16501
|
const l = $(() => {
|
|
16502
16502
|
var c;
|
|
@@ -16520,7 +16520,7 @@ usage: app.provide(ID_INJECTION_KEY, {
|
|
|
16520
16520
|
return (i = (n = t == null ? void 0 : t.proxy) == null ? void 0 : n.$props) == null ? void 0 : i[e];
|
|
16521
16521
|
});
|
|
16522
16522
|
}, Ia = (e, t = {}) => {
|
|
16523
|
-
const n =
|
|
16523
|
+
const n = se(void 0), i = t.prop ? n : S1("size"), r = t.global ? n : GL(), s = t.form ? { size: void 0 } : gt(S0, void 0), l = t.formItem ? { size: void 0 } : gt(Dh, void 0);
|
|
16524
16524
|
return $(() => i.value || I(e) || (l == null ? void 0 : l.size) || (s == null ? void 0 : s.size) || r.value || "");
|
|
16525
16525
|
}, Na = (e) => {
|
|
16526
16526
|
const t = S1("disabled"), n = gt(S0, void 0);
|
|
@@ -16532,7 +16532,7 @@ function k1(e, {
|
|
|
16532
16532
|
beforeBlur: i,
|
|
16533
16533
|
afterBlur: r
|
|
16534
16534
|
} = {}) {
|
|
16535
|
-
const s = Kt(), { emit: l } = s, c =
|
|
16535
|
+
const s = Kt(), { emit: l } = s, c = Zi(), d = se(!1), g = (w) => {
|
|
16536
16536
|
rn(t) && t(w) || d.value || (d.value = !0, l("focus", w), n == null || n());
|
|
16537
16537
|
}, y = (w) => {
|
|
16538
16538
|
var M;
|
|
@@ -16558,7 +16558,7 @@ function B1({
|
|
|
16558
16558
|
afterComposition: e,
|
|
16559
16559
|
emit: t
|
|
16560
16560
|
}) {
|
|
16561
|
-
const n =
|
|
16561
|
+
const n = se(!1), i = (c) => {
|
|
16562
16562
|
t == null || t("compositionstart", c), n.value = !0;
|
|
16563
16563
|
}, r = (c) => {
|
|
16564
16564
|
var d;
|
|
@@ -16640,7 +16640,7 @@ const WS = Ke({
|
|
|
16640
16640
|
b.is("focus", O.value)
|
|
16641
16641
|
]), { form: g, formItem: y } = es(), { inputId: _ } = ic(i, {
|
|
16642
16642
|
formItemContext: y
|
|
16643
|
-
}), w = Ia(), M = Na(), b = bt("input"), E = bt("textarea"), k =
|
|
16643
|
+
}), w = Ia(), M = Na(), b = bt("input"), E = bt("textarea"), k = Zi(), x = Zi(), z = se(!1), T = se(!1), F = se(), G = Zi(i.inputStyle), K = $(() => k.value || x.value), { wrapperRef: j, isFocused: O, handleFocus: N, handleBlur: Q } = k1(K, {
|
|
16644
16644
|
beforeFocus() {
|
|
16645
16645
|
return M.value;
|
|
16646
16646
|
},
|
|
@@ -16974,8 +16974,8 @@ const ra = Vn($S), Fs = 4, ZS = {
|
|
|
16974
16974
|
props: XS,
|
|
16975
16975
|
setup(e) {
|
|
16976
16976
|
const t = e, n = gt(k0), i = bt("scrollbar");
|
|
16977
|
-
n ||
|
|
16978
|
-
const r =
|
|
16977
|
+
n || lr(e6, "can not inject scrollbar context");
|
|
16978
|
+
const r = se(), s = se(), l = se({}), c = se(!1);
|
|
16979
16979
|
let d = !1, g = !1, y = yn ? document.onselectstart : null;
|
|
16980
16980
|
const _ = $(() => ZS[t.vertical ? "vertical" : "horizontal"]), w = $(() => JS({
|
|
16981
16981
|
size: t.size,
|
|
@@ -17056,7 +17056,7 @@ const n6 = Gt({
|
|
|
17056
17056
|
__name: "bar",
|
|
17057
17057
|
props: n6,
|
|
17058
17058
|
setup(e, { expose: t }) {
|
|
17059
|
-
const n = e, i = gt(k0), r =
|
|
17059
|
+
const n = e, i = gt(k0), r = se(0), s = se(0), l = se(""), c = se(""), d = se(1), g = se(1);
|
|
17060
17060
|
return t({
|
|
17061
17061
|
handleScroll: (w) => {
|
|
17062
17062
|
if (w) {
|
|
@@ -17149,7 +17149,7 @@ const a6 = Gt({
|
|
|
17149
17149
|
setup(e, { expose: t, emit: n }) {
|
|
17150
17150
|
const i = e, r = bt("scrollbar");
|
|
17151
17151
|
let s, l, c = 0, d = 0;
|
|
17152
|
-
const g =
|
|
17152
|
+
const g = se(), y = se(), _ = se(), w = se(), M = $(() => {
|
|
17153
17153
|
const G = {};
|
|
17154
17154
|
return i.height && (G.height = Ko(i.height)), i.maxHeight && (G.maxHeight = Ko(i.maxHeight)), [i.wrapStyle, G];
|
|
17155
17155
|
}), b = $(() => [
|
|
@@ -17189,7 +17189,7 @@ const a6 = Gt({
|
|
|
17189
17189
|
var G;
|
|
17190
17190
|
F(), y.value && ((G = w.value) == null || G.handleScroll(y.value));
|
|
17191
17191
|
});
|
|
17192
|
-
}), Ln(k0,
|
|
17192
|
+
}), Ln(k0, Mr({
|
|
17193
17193
|
scrollbarElement: g,
|
|
17194
17194
|
wrapElement: y
|
|
17195
17195
|
})), V3(() => {
|
|
@@ -17267,7 +17267,7 @@ const hf = Vn(u6), B0 = Symbol("popper"), P1 = Symbol("popperContent"), c6 = [
|
|
|
17267
17267
|
...h6,
|
|
17268
17268
|
props: I1,
|
|
17269
17269
|
setup(e, { expose: t }) {
|
|
17270
|
-
const n = e, i =
|
|
17270
|
+
const n = e, i = se(), r = se(), s = se(), l = se(), c = $(() => n.role), d = {
|
|
17271
17271
|
triggerRef: i,
|
|
17272
17272
|
popperInstanceRef: r,
|
|
17273
17273
|
contentRef: s,
|
|
@@ -17504,7 +17504,7 @@ const yd = "focus-trap.focus-after-trapped", _d = "focus-trap.focus-after-releas
|
|
|
17504
17504
|
}, C6 = {
|
|
17505
17505
|
cancelable: !0,
|
|
17506
17506
|
bubbles: !1
|
|
17507
|
-
}, pv = "focusAfterTrapped", gv = "focusAfterReleased", N1 = Symbol("elFocusTrap"), P0 =
|
|
17507
|
+
}, pv = "focusAfterTrapped", gv = "focusAfterReleased", N1 = Symbol("elFocusTrap"), P0 = se(), ff = se(0), I0 = se(0);
|
|
17508
17508
|
let Wc = 0;
|
|
17509
17509
|
const G1 = (e) => {
|
|
17510
17510
|
const t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, {
|
|
@@ -17626,7 +17626,7 @@ const bv = (e) => {
|
|
|
17626
17626
|
"release-requested"
|
|
17627
17627
|
],
|
|
17628
17628
|
setup(e, { emit: t }) {
|
|
17629
|
-
const n =
|
|
17629
|
+
const n = se();
|
|
17630
17630
|
let i, r;
|
|
17631
17631
|
const { focusReason: s } = B6();
|
|
17632
17632
|
P6((b) => {
|
|
@@ -17742,7 +17742,7 @@ const bv = (e) => {
|
|
|
17742
17742
|
function T6(e, t, n, i, r, s) {
|
|
17743
17743
|
return et(e.$slots, "default", { handleKeydown: e.onKeydown });
|
|
17744
17744
|
}
|
|
17745
|
-
var O6 = /* @__PURE__ */ kt(I6, [["render", T6], ["__file", "focus-trap.vue"]]),
|
|
17745
|
+
var O6 = /* @__PURE__ */ kt(I6, [["render", T6], ["__file", "focus-trap.vue"]]), Ji = "top", xr = "bottom", Lr = "right", Xi = "left", T0 = "auto", rc = [Ji, xr, Lr, Xi], rl = "start", Nu = "end", D6 = "clippingParents", z1 = "viewport", iu = "popper", R6 = "reference", wv = rc.reduce(function(e, t) {
|
|
17746
17746
|
return e.concat([t + "-" + rl, t + "-" + Nu]);
|
|
17747
17747
|
}, []), df = [].concat(rc, [T0]).reduce(function(e, t) {
|
|
17748
17748
|
return e.concat([t, t + "-" + rl, t + "-" + Nu]);
|
|
@@ -17762,7 +17762,7 @@ function al(e) {
|
|
|
17762
17762
|
var t = Wr(e).Element;
|
|
17763
17763
|
return e instanceof t || e instanceof Element;
|
|
17764
17764
|
}
|
|
17765
|
-
function
|
|
17765
|
+
function Ar(e) {
|
|
17766
17766
|
var t = Wr(e).HTMLElement;
|
|
17767
17767
|
return e instanceof t || e instanceof HTMLElement;
|
|
17768
17768
|
}
|
|
@@ -17775,7 +17775,7 @@ function V6(e) {
|
|
|
17775
17775
|
var t = e.state;
|
|
17776
17776
|
Object.keys(t.elements).forEach(function(n) {
|
|
17777
17777
|
var i = t.styles[n] || {}, r = t.attributes[n] || {}, s = t.elements[n];
|
|
17778
|
-
!
|
|
17778
|
+
!Ar(s) || !ha(s) || (Object.assign(s.style, i), Object.keys(r).forEach(function(l) {
|
|
17779
17779
|
var c = r[l];
|
|
17780
17780
|
c === !1 ? s.removeAttribute(l) : s.setAttribute(l, c === !0 ? "" : c);
|
|
17781
17781
|
}));
|
|
@@ -17788,7 +17788,7 @@ function W6(e) {
|
|
|
17788
17788
|
var r = t.elements[i], s = t.attributes[i] || {}, l = Object.keys(t.styles.hasOwnProperty(i) ? t.styles[i] : n[i]), c = l.reduce(function(d, g) {
|
|
17789
17789
|
return d[g] = "", d;
|
|
17790
17790
|
}, {});
|
|
17791
|
-
!
|
|
17791
|
+
!Ar(r) || !ha(r) || (Object.assign(r.style, c), Object.keys(s).forEach(function(d) {
|
|
17792
17792
|
r.removeAttribute(d);
|
|
17793
17793
|
}));
|
|
17794
17794
|
});
|
|
@@ -17802,7 +17802,7 @@ var Ho = Math.max, Rh = Math.min, ol = Math.round;
|
|
|
17802
17802
|
function sl(e, t) {
|
|
17803
17803
|
t === void 0 && (t = !1);
|
|
17804
17804
|
var n = e.getBoundingClientRect(), i = 1, r = 1;
|
|
17805
|
-
if (
|
|
17805
|
+
if (Ar(e) && t) {
|
|
17806
17806
|
var s = e.offsetHeight, l = e.offsetWidth;
|
|
17807
17807
|
l > 0 && (i = ol(n.width) / l || 1), s > 0 && (r = ol(n.height) / s || 1);
|
|
17808
17808
|
}
|
|
@@ -17837,16 +17837,16 @@ function pf(e) {
|
|
|
17837
17837
|
return ha(e) === "html" ? e : e.assignedSlot || e.parentNode || (O0(e) ? e.host : null) || _o(e);
|
|
17838
17838
|
}
|
|
17839
17839
|
function Av(e) {
|
|
17840
|
-
return !
|
|
17840
|
+
return !Ar(e) || Ta(e).position === "fixed" ? null : e.offsetParent;
|
|
17841
17841
|
}
|
|
17842
17842
|
function $6(e) {
|
|
17843
17843
|
var t = navigator.userAgent.toLowerCase().indexOf("firefox") !== -1, n = navigator.userAgent.indexOf("Trident") !== -1;
|
|
17844
|
-
if (n &&
|
|
17844
|
+
if (n && Ar(e)) {
|
|
17845
17845
|
var i = Ta(e);
|
|
17846
17846
|
if (i.position === "fixed") return null;
|
|
17847
17847
|
}
|
|
17848
17848
|
var r = pf(e);
|
|
17849
|
-
for (O0(r) && (r = r.host);
|
|
17849
|
+
for (O0(r) && (r = r.host); Ar(r) && ["html", "body"].indexOf(ha(r)) < 0; ) {
|
|
17850
17850
|
var s = Ta(r);
|
|
17851
17851
|
if (s.transform !== "none" || s.perspective !== "none" || s.contain === "paint" || ["transform", "perspective"].indexOf(s.willChange) !== -1 || t && s.willChange === "filter" || t && s.filter && s.filter !== "none") return r;
|
|
17852
17852
|
r = r.parentNode;
|
|
@@ -17882,9 +17882,9 @@ var J6 = function(e, t) {
|
|
|
17882
17882
|
return e = typeof e == "function" ? e(Object.assign({}, t.rects, { placement: t.placement })) : e, K1(typeof e != "number" ? e : j1(e, rc));
|
|
17883
17883
|
};
|
|
17884
17884
|
function X6(e) {
|
|
17885
|
-
var t, n = e.state, i = e.name, r = e.options, s = n.elements.arrow, l = n.modifiersData.popperOffsets, c = ua(n.placement), d = R0(c), g = [
|
|
17885
|
+
var t, n = e.state, i = e.name, r = e.options, s = n.elements.arrow, l = n.modifiersData.popperOffsets, c = ua(n.placement), d = R0(c), g = [Xi, Lr].indexOf(c) >= 0, y = g ? "height" : "width";
|
|
17886
17886
|
if (!(!s || !l)) {
|
|
17887
|
-
var _ = J6(r.padding, n), w = D0(s), M = d === "y" ?
|
|
17887
|
+
var _ = J6(r.padding, n), w = D0(s), M = d === "y" ? Ji : Xi, b = d === "y" ? xr : Lr, E = n.rects.reference[y] + n.rects.reference[d] - l[d] - n.rects.popper[y], k = l[d] - n.rects.reference[d], x = ac(s), z = x ? d === "y" ? x.clientHeight || 0 : x.clientWidth || 0 : 0, T = E / 2 - k / 2, F = _[M], G = z - w[y] - _[b], K = z / 2 - w[y] / 2 + T, j = fu(F, K, G), O = d;
|
|
17888
17888
|
n.modifiersData[i] = (t = {}, t[O] = j, t.centerOffset = j - K, t);
|
|
17889
17889
|
}
|
|
17890
17890
|
}
|
|
@@ -17904,16 +17904,16 @@ function ik(e) {
|
|
|
17904
17904
|
function Cv(e) {
|
|
17905
17905
|
var t, n = e.popper, i = e.popperRect, r = e.placement, s = e.variation, l = e.offsets, c = e.position, d = e.gpuAcceleration, g = e.adaptive, y = e.roundOffsets, _ = e.isFixed, w = l.x, M = w === void 0 ? 0 : w, b = l.y, E = b === void 0 ? 0 : b, k = typeof y == "function" ? y({ x: M, y: E }) : { x: M, y: E };
|
|
17906
17906
|
M = k.x, E = k.y;
|
|
17907
|
-
var x = l.hasOwnProperty("x"), z = l.hasOwnProperty("y"), T =
|
|
17907
|
+
var x = l.hasOwnProperty("x"), z = l.hasOwnProperty("y"), T = Xi, F = Ji, G = window;
|
|
17908
17908
|
if (g) {
|
|
17909
17909
|
var K = ac(n), j = "clientHeight", O = "clientWidth";
|
|
17910
|
-
if (K === Wr(n) && (K = _o(n), Ta(K).position !== "static" && c === "absolute" && (j = "scrollHeight", O = "scrollWidth")), K = K, r ===
|
|
17911
|
-
F =
|
|
17910
|
+
if (K === Wr(n) && (K = _o(n), Ta(K).position !== "static" && c === "absolute" && (j = "scrollHeight", O = "scrollWidth")), K = K, r === Ji || (r === Xi || r === Lr) && s === Nu) {
|
|
17911
|
+
F = xr;
|
|
17912
17912
|
var N = _ && K === G && G.visualViewport ? G.visualViewport.height : K[j];
|
|
17913
17913
|
E -= N - i.height, E *= d ? 1 : -1;
|
|
17914
17914
|
}
|
|
17915
|
-
if (r ===
|
|
17916
|
-
T =
|
|
17915
|
+
if (r === Xi || (r === Ji || r === xr) && s === Nu) {
|
|
17916
|
+
T = Lr;
|
|
17917
17917
|
var Q = _ && K === G && G.visualViewport ? G.visualViewport.width : K[O];
|
|
17918
17918
|
M -= Q - i.width, M *= d ? 1 : -1;
|
|
17919
17919
|
}
|
|
@@ -17973,7 +17973,7 @@ function G0(e) {
|
|
|
17973
17973
|
return /auto|scroll|overlay|hidden/.test(n + r + i);
|
|
17974
17974
|
}
|
|
17975
17975
|
function W1(e) {
|
|
17976
|
-
return ["html", "body", "#document"].indexOf(ha(e)) >= 0 ? e.ownerDocument.body :
|
|
17976
|
+
return ["html", "body", "#document"].indexOf(ha(e)) >= 0 ? e.ownerDocument.body : Ar(e) && G0(e) ? e : W1(pf(e));
|
|
17977
17977
|
}
|
|
17978
17978
|
function du(e, t) {
|
|
17979
17979
|
var n;
|
|
@@ -17992,7 +17992,7 @@ function Ev(e, t) {
|
|
|
17992
17992
|
return t === z1 ? cp(lk(e)) : al(t) ? ck(t) : cp(uk(_o(e)));
|
|
17993
17993
|
}
|
|
17994
17994
|
function hk(e) {
|
|
17995
|
-
var t = du(pf(e)), n = ["absolute", "fixed"].indexOf(Ta(e).position) >= 0, i = n &&
|
|
17995
|
+
var t = du(pf(e)), n = ["absolute", "fixed"].indexOf(Ta(e).position) >= 0, i = n && Ar(e) ? ac(e) : e;
|
|
17996
17996
|
return al(i) ? t.filter(function(r) {
|
|
17997
17997
|
return al(r) && Q1(r, i) && ha(r) !== "body";
|
|
17998
17998
|
}) : [];
|
|
@@ -18007,16 +18007,16 @@ function fk(e, t, n) {
|
|
|
18007
18007
|
function Y1(e) {
|
|
18008
18008
|
var t = e.reference, n = e.element, i = e.placement, r = i ? ua(i) : null, s = i ? ll(i) : null, l = t.x + t.width / 2 - n.width / 2, c = t.y + t.height / 2 - n.height / 2, d;
|
|
18009
18009
|
switch (r) {
|
|
18010
|
-
case
|
|
18010
|
+
case Ji:
|
|
18011
18011
|
d = { x: l, y: t.y - n.height };
|
|
18012
18012
|
break;
|
|
18013
|
-
case
|
|
18013
|
+
case xr:
|
|
18014
18014
|
d = { x: l, y: t.y + t.height };
|
|
18015
18015
|
break;
|
|
18016
|
-
case
|
|
18016
|
+
case Lr:
|
|
18017
18017
|
d = { x: t.x + t.width, y: c };
|
|
18018
18018
|
break;
|
|
18019
|
-
case
|
|
18019
|
+
case Xi:
|
|
18020
18020
|
d = { x: t.x - n.width, y: c };
|
|
18021
18021
|
break;
|
|
18022
18022
|
default:
|
|
@@ -18042,7 +18042,7 @@ function Gu(e, t) {
|
|
|
18042
18042
|
if (y === iu && N) {
|
|
18043
18043
|
var Q = N[r];
|
|
18044
18044
|
Object.keys(O).forEach(function(J) {
|
|
18045
|
-
var ne = [
|
|
18045
|
+
var ne = [Lr, xr].indexOf(J) >= 0 ? 1 : -1, xe = [Ji, xr].indexOf(J) >= 0 ? "y" : "x";
|
|
18046
18046
|
O[J] += Q[xe] * ne;
|
|
18047
18047
|
});
|
|
18048
18048
|
}
|
|
@@ -18074,7 +18074,7 @@ function gk(e) {
|
|
|
18074
18074
|
for (var r = n.mainAxis, s = r === void 0 ? !0 : r, l = n.altAxis, c = l === void 0 ? !0 : l, d = n.fallbackPlacements, g = n.padding, y = n.boundary, _ = n.rootBoundary, w = n.altBoundary, M = n.flipVariations, b = M === void 0 ? !0 : M, E = n.allowedAutoPlacements, k = t.options.placement, x = ua(k), z = x === k, T = d || (z || !b ? [ch(k)] : pk(k)), F = [k].concat(T).reduce(function(nt, Je) {
|
|
18075
18075
|
return nt.concat(ua(Je) === T0 ? dk(t, { placement: Je, boundary: y, rootBoundary: _, padding: g, flipVariations: b, allowedAutoPlacements: E }) : Je);
|
|
18076
18076
|
}, []), G = t.rects.reference, K = t.rects.popper, j = /* @__PURE__ */ new Map(), O = !0, N = F[0], Q = 0; Q < F.length; Q++) {
|
|
18077
|
-
var J = F[Q], ne = ua(J), xe = ll(J) === rl, Ne = [
|
|
18077
|
+
var J = F[Q], ne = ua(J), xe = ll(J) === rl, Ne = [Ji, xr].indexOf(ne) >= 0, Ge = Ne ? "width" : "height", me = Gu(t, { placement: J, boundary: y, rootBoundary: _, altBoundary: w, padding: g }), X = Ne ? xe ? Lr : Xi : xe ? xr : Ji;
|
|
18078
18078
|
G[Ge] > K[Ge] && (X = ch(X));
|
|
18079
18079
|
var re = ch(X), le = [];
|
|
18080
18080
|
if (s && le.push(me[ne] <= 0), c && le.push(me[X] <= 0, me[re] <= 0), le.every(function(nt) {
|
|
@@ -18105,7 +18105,7 @@ function xv(e, t, n) {
|
|
|
18105
18105
|
return n === void 0 && (n = { x: 0, y: 0 }), { top: e.top - t.height - n.y, right: e.right - t.width + n.x, bottom: e.bottom - t.height + n.y, left: e.left - t.width - n.x };
|
|
18106
18106
|
}
|
|
18107
18107
|
function Lv(e) {
|
|
18108
|
-
return [
|
|
18108
|
+
return [Ji, Lr, xr, Xi].some(function(t) {
|
|
18109
18109
|
return e[t] >= 0;
|
|
18110
18110
|
});
|
|
18111
18111
|
}
|
|
@@ -18115,8 +18115,8 @@ function vk(e) {
|
|
|
18115
18115
|
}
|
|
18116
18116
|
var yk = { name: "hide", enabled: !0, phase: "main", requiresIfExists: ["preventOverflow"], fn: vk };
|
|
18117
18117
|
function _k(e, t, n) {
|
|
18118
|
-
var i = ua(e), r = [
|
|
18119
|
-
return l = l || 0, c = (c || 0) * r, [
|
|
18118
|
+
var i = ua(e), r = [Xi, Ji].indexOf(i) >= 0 ? -1 : 1, s = typeof n == "function" ? n(Object.assign({}, t, { placement: e })) : n, l = s[0], c = s[1];
|
|
18119
|
+
return l = l || 0, c = (c || 0) * r, [Xi, Lr].indexOf(i) >= 0 ? { x: c, y: l } : { x: l, y: c };
|
|
18120
18120
|
}
|
|
18121
18121
|
function bk(e) {
|
|
18122
18122
|
var t = e.state, n = e.options, i = e.name, r = n.offset, s = r === void 0 ? [0, 0] : r, l = df.reduce(function(y, _) {
|
|
@@ -18137,11 +18137,11 @@ function Mk(e) {
|
|
|
18137
18137
|
var t = e.state, n = e.options, i = e.name, r = n.mainAxis, s = r === void 0 ? !0 : r, l = n.altAxis, c = l === void 0 ? !1 : l, d = n.boundary, g = n.rootBoundary, y = n.altBoundary, _ = n.padding, w = n.tether, M = w === void 0 ? !0 : w, b = n.tetherOffset, E = b === void 0 ? 0 : b, k = Gu(t, { boundary: d, rootBoundary: g, padding: _, altBoundary: y }), x = ua(t.placement), z = ll(t.placement), T = !z, F = R0(x), G = Ck(F), K = t.modifiersData.popperOffsets, j = t.rects.reference, O = t.rects.popper, N = typeof E == "function" ? E(Object.assign({}, t.rects, { placement: t.placement })) : E, Q = typeof N == "number" ? { mainAxis: N, altAxis: N } : Object.assign({ mainAxis: 0, altAxis: 0 }, N), J = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, ne = { x: 0, y: 0 };
|
|
18138
18138
|
if (K) {
|
|
18139
18139
|
if (s) {
|
|
18140
|
-
var xe, Ne = F === "y" ?
|
|
18140
|
+
var xe, Ne = F === "y" ? Ji : Xi, Ge = F === "y" ? xr : Lr, me = F === "y" ? "height" : "width", X = K[F], re = X + k[Ne], le = X - k[Ge], de = M ? -O[me] / 2 : 0, Se = z === rl ? j[me] : O[me], De = z === rl ? -O[me] : -j[me], Re = t.elements.arrow, nt = M && Re ? D0(Re) : { width: 0, height: 0 }, Je = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : U1(), fe = Je[Ne], ze = Je[Ge], Qe = fu(0, j[me], nt[me]), ve = T ? j[me] / 2 - de - Qe - fe - Q.mainAxis : Se - Qe - fe - Q.mainAxis, Me = T ? -j[me] / 2 + de + Qe + ze + Q.mainAxis : De + Qe + ze + Q.mainAxis, Fe = t.elements.arrow && ac(t.elements.arrow), rt = Fe ? F === "y" ? Fe.clientTop || 0 : Fe.clientLeft || 0 : 0, Mt = (xe = J == null ? void 0 : J[F]) != null ? xe : 0, At = X + ve - Mt - rt, yt = X + Me - Mt, mt = fu(M ? Rh(re, At) : re, X, M ? Ho(le, yt) : le);
|
|
18141
18141
|
K[F] = mt, ne[F] = mt - X;
|
|
18142
18142
|
}
|
|
18143
18143
|
if (c) {
|
|
18144
|
-
var Ht, ht = F === "x" ?
|
|
18144
|
+
var Ht, ht = F === "x" ? Ji : Xi, Bt = F === "x" ? xr : Lr, Vt = K[G], dn = G === "y" ? "height" : "width", vn = Vt + k[ht], Un = Vt - k[Bt], Ve = [Ji, Xi].indexOf(x) !== -1, Pt = (Ht = J == null ? void 0 : J[G]) != null ? Ht : 0, jt = Ve ? vn : Vt - j[dn] - O[dn] - Pt + Q.altAxis, sn = Ve ? Vt + j[dn] + O[dn] - Pt - Q.altAxis : Un, wn = M && Ve ? Z6(jt, Vt, sn) : fu(M ? jt : vn, Vt, M ? sn : Un);
|
|
18145
18145
|
K[G] = wn, ne[G] = wn - Vt;
|
|
18146
18146
|
}
|
|
18147
18147
|
t.modifiersData[i] = ne;
|
|
@@ -18152,7 +18152,7 @@ function xk(e) {
|
|
|
18152
18152
|
return { scrollLeft: e.scrollLeft, scrollTop: e.scrollTop };
|
|
18153
18153
|
}
|
|
18154
18154
|
function Lk(e) {
|
|
18155
|
-
return e === Wr(e) || !
|
|
18155
|
+
return e === Wr(e) || !Ar(e) ? F0(e) : xk(e);
|
|
18156
18156
|
}
|
|
18157
18157
|
function Sk(e) {
|
|
18158
18158
|
var t = e.getBoundingClientRect(), n = ol(t.width) / e.offsetWidth || 1, i = ol(t.height) / e.offsetHeight || 1;
|
|
@@ -18160,8 +18160,8 @@ function Sk(e) {
|
|
|
18160
18160
|
}
|
|
18161
18161
|
function kk(e, t, n) {
|
|
18162
18162
|
n === void 0 && (n = !1);
|
|
18163
|
-
var i =
|
|
18164
|
-
return (i || !i && !n) && ((ha(t) !== "body" || G0(s)) && (c = Lk(t)),
|
|
18163
|
+
var i = Ar(t), r = Ar(t) && Sk(t), s = _o(t), l = sl(e, r), c = { scrollLeft: 0, scrollTop: 0 }, d = { x: 0, y: 0 };
|
|
18164
|
+
return (i || !i && !n) && ((ha(t) !== "body" || G0(s)) && (c = Lk(t)), Ar(t) ? (d = sl(t, !0), d.x += t.clientLeft, d.y += t.clientTop) : s && (d.x = N0(s))), { x: l.left + c.scrollLeft - d.x, y: l.top + c.scrollTop - d.y, width: l.width, height: l.height };
|
|
18165
18165
|
}
|
|
18166
18166
|
function Bk(e) {
|
|
18167
18167
|
var t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Set(), i = [];
|
|
@@ -18362,7 +18362,7 @@ const Fk = ["fixed", "absolute"], Nk = Gt({
|
|
|
18362
18362
|
blur: () => !0,
|
|
18363
18363
|
close: () => !0
|
|
18364
18364
|
}, zk = (e, t) => {
|
|
18365
|
-
const n =
|
|
18365
|
+
const n = se(!1), i = se();
|
|
18366
18366
|
return {
|
|
18367
18367
|
focusStartRef: i,
|
|
18368
18368
|
trapped: n,
|
|
@@ -18455,7 +18455,7 @@ const jk = (e, t, n = {}) => {
|
|
|
18455
18455
|
{ name: "applyStyles", enabled: !1 }
|
|
18456
18456
|
]
|
|
18457
18457
|
};
|
|
18458
|
-
}), s =
|
|
18458
|
+
}), s = Zi(), l = se({
|
|
18459
18459
|
styles: {
|
|
18460
18460
|
popper: {
|
|
18461
18461
|
position: I(r).strategy,
|
|
@@ -18505,7 +18505,7 @@ function qk(e) {
|
|
|
18505
18505
|
};
|
|
18506
18506
|
}
|
|
18507
18507
|
const Vk = 0, Wk = (e) => {
|
|
18508
|
-
const { popperInstanceRef: t, contentRef: n, triggerRef: i, role: r } = gt(B0, void 0), s =
|
|
18508
|
+
const { popperInstanceRef: t, contentRef: n, triggerRef: i, role: r } = gt(B0, void 0), s = se(), l = se(), c = $(() => ({
|
|
18509
18509
|
name: "eventListeners",
|
|
18510
18510
|
enabled: !!e.visible
|
|
18511
18511
|
})), d = $(() => {
|
|
@@ -18551,7 +18551,7 @@ const Vk = 0, Wk = (e) => {
|
|
|
18551
18551
|
styles: n,
|
|
18552
18552
|
role: i
|
|
18553
18553
|
}) => {
|
|
18554
|
-
const { nextZIndex: r } = m1(), s = bt("popper"), l = $(() => I(t).popper), c =
|
|
18554
|
+
const { nextZIndex: r } = m1(), s = bt("popper"), l = $(() => I(t).popper), c = se(hn(e.zIndex) ? e.zIndex : r()), d = $(() => [
|
|
18555
18555
|
s.b(),
|
|
18556
18556
|
s.is("pure", e.pure),
|
|
18557
18557
|
s.is(e.effect),
|
|
@@ -18598,7 +18598,7 @@ const Vk = 0, Wk = (e) => {
|
|
|
18598
18598
|
styles: b,
|
|
18599
18599
|
attributes: _,
|
|
18600
18600
|
role: k
|
|
18601
|
-
}), O = gt(Dh, void 0), N =
|
|
18601
|
+
}), O = gt(Dh, void 0), N = se();
|
|
18602
18602
|
Ln(P1, {
|
|
18603
18603
|
arrowStyle: T,
|
|
18604
18604
|
arrowRef: w,
|
|
@@ -18836,7 +18836,7 @@ const eB = Gt({
|
|
|
18836
18836
|
...hB,
|
|
18837
18837
|
props: Q0,
|
|
18838
18838
|
setup(e, { expose: t }) {
|
|
18839
|
-
const n = e, i = bt("tooltip"), { controlled: r, id: s, open: l, onOpen: c, onClose: d, onToggle: g } = gt(H0, void 0), y =
|
|
18839
|
+
const n = e, i = bt("tooltip"), { controlled: r, id: s, open: l, onOpen: c, onClose: d, onToggle: g } = gt(H0, void 0), y = se(null), _ = () => {
|
|
18840
18840
|
if (I(r) || n.disabled)
|
|
18841
18841
|
return !0;
|
|
18842
18842
|
}, w = ai(n, "trigger"), M = jn(_, Ns(w, "hover", c)), b = jn(_, Ns(w, "hover", d)), E = jn(_, Ns(w, "click", (F) => {
|
|
@@ -18914,7 +18914,7 @@ const vB = Vn(mB), J1 = () => {
|
|
|
18914
18914
|
...bB,
|
|
18915
18915
|
props: zu,
|
|
18916
18916
|
setup(e, { expose: t }) {
|
|
18917
|
-
const n = e, { selector: i } = J1(), r = bt("tooltip"), s =
|
|
18917
|
+
const n = e, { selector: i } = J1(), r = bt("tooltip"), s = se();
|
|
18918
18918
|
let l;
|
|
18919
18919
|
const {
|
|
18920
18920
|
controlled: c,
|
|
@@ -18934,7 +18934,7 @@ const vB = Vn(mB), J1 = () => {
|
|
|
18934
18934
|
const T = $(() => I(z) ? !0 : I(g)), F = $(() => n.disabled ? !1 : I(g)), G = $(() => n.appendTo || i.value), K = $(() => {
|
|
18935
18935
|
var X;
|
|
18936
18936
|
return (X = n.style) != null ? X : {};
|
|
18937
|
-
}), j =
|
|
18937
|
+
}), j = se(!0), O = () => {
|
|
18938
18938
|
b(), me() && xa(document.body), j.value = !0;
|
|
18939
18939
|
}, N = () => {
|
|
18940
18940
|
if (I(c))
|
|
@@ -19041,11 +19041,11 @@ const CB = Ke({
|
|
|
19041
19041
|
setup(e, { expose: t, emit: n }) {
|
|
19042
19042
|
const i = e;
|
|
19043
19043
|
_B();
|
|
19044
|
-
const r = _l(), s =
|
|
19044
|
+
const r = _l(), s = se(), l = se(), c = () => {
|
|
19045
19045
|
var x;
|
|
19046
19046
|
const z = I(s);
|
|
19047
19047
|
z && ((x = z.popperInstanceRef) == null || x.update());
|
|
19048
|
-
}, d =
|
|
19048
|
+
}, d = se(!1), g = se(), { show: y, hide: _, hasUpdateHandler: w } = sB({
|
|
19049
19049
|
indicator: d,
|
|
19050
19050
|
toggleReason: g
|
|
19051
19051
|
}), { onOpen: M, onClose: b } = tB({
|
|
@@ -19264,7 +19264,7 @@ For more detail, please visit: ${r}
|
|
|
19264
19264
|
scope: "props",
|
|
19265
19265
|
ref: "https://element-plus.org/en-US/component/button.html#button-attributes"
|
|
19266
19266
|
}, $(() => e.type === "text"));
|
|
19267
|
-
const n = gt(X1, void 0), i = x0("button"), { form: r } = es(), s = Ia($(() => n == null ? void 0 : n.size)), l = Na(), c =
|
|
19267
|
+
const n = gt(X1, void 0), i = x0("button"), { form: r } = es(), s = Ia($(() => n == null ? void 0 : n.size)), l = Na(), c = se(), d = Yu(), g = $(() => e.type || (n == null ? void 0 : n.type) || ""), y = $(() => {
|
|
19268
19268
|
var b, E, k;
|
|
19269
19269
|
return (k = (E = e.autoInsertSpace) != null ? E : (b = i.value) == null ? void 0 : b.autoInsertSpace) != null ? k : !1;
|
|
19270
19270
|
}), _ = $(() => e.tag === "button" ? {
|
|
@@ -19461,9 +19461,9 @@ function HB(e) {
|
|
|
19461
19461
|
return Math.round(parseFloat(e) * 255).toString(16);
|
|
19462
19462
|
}
|
|
19463
19463
|
function Dv(e) {
|
|
19464
|
-
return
|
|
19464
|
+
return sr(e) / 255;
|
|
19465
19465
|
}
|
|
19466
|
-
function
|
|
19466
|
+
function sr(e) {
|
|
19467
19467
|
return parseInt(e, 16);
|
|
19468
19468
|
}
|
|
19469
19469
|
function QB(e) {
|
|
@@ -19634,7 +19634,7 @@ function UB(e) {
|
|
|
19634
19634
|
a: n
|
|
19635
19635
|
};
|
|
19636
19636
|
}
|
|
19637
|
-
var KB = "[-\\+]?\\d+%?", jB = "[-\\+]?\\d*\\.\\d+%?", oo = "(?:".concat(jB, ")|(?:").concat(KB, ")"), wd = "[\\s|\\(]+(".concat(oo, ")[,|\\s]+(").concat(oo, ")[,|\\s]+(").concat(oo, ")\\s*\\)?"), Ad = "[\\s|\\(]+(".concat(oo, ")[,|\\s]+(").concat(oo, ")[,|\\s]+(").concat(oo, ")[,|\\s]+(").concat(oo, ")\\s*\\)?"),
|
|
19637
|
+
var KB = "[-\\+]?\\d+%?", jB = "[-\\+]?\\d*\\.\\d+%?", oo = "(?:".concat(jB, ")|(?:").concat(KB, ")"), wd = "[\\s|\\(]+(".concat(oo, ")[,|\\s]+(").concat(oo, ")[,|\\s]+(").concat(oo, ")\\s*\\)?"), Ad = "[\\s|\\(]+(".concat(oo, ")[,|\\s]+(").concat(oo, ")[,|\\s]+(").concat(oo, ")[,|\\s]+(").concat(oo, ")\\s*\\)?"), Dr = {
|
|
19638
19638
|
CSS_UNIT: new RegExp(oo),
|
|
19639
19639
|
rgb: new RegExp("rgb" + wd),
|
|
19640
19640
|
rgba: new RegExp("rgba" + Ad),
|
|
@@ -19655,33 +19655,33 @@ function qB(e) {
|
|
|
19655
19655
|
e = fp[e], t = !0;
|
|
19656
19656
|
else if (e === "transparent")
|
|
19657
19657
|
return { r: 0, g: 0, b: 0, a: 0, format: "name" };
|
|
19658
|
-
var n =
|
|
19659
|
-
return n ? { r: n[1], g: n[2], b: n[3] } : (n =
|
|
19660
|
-
r:
|
|
19661
|
-
g:
|
|
19662
|
-
b:
|
|
19658
|
+
var n = Dr.rgb.exec(e);
|
|
19659
|
+
return n ? { r: n[1], g: n[2], b: n[3] } : (n = Dr.rgba.exec(e), n ? { r: n[1], g: n[2], b: n[3], a: n[4] } : (n = Dr.hsl.exec(e), n ? { h: n[1], s: n[2], l: n[3] } : (n = Dr.hsla.exec(e), n ? { h: n[1], s: n[2], l: n[3], a: n[4] } : (n = Dr.hsv.exec(e), n ? { h: n[1], s: n[2], v: n[3] } : (n = Dr.hsva.exec(e), n ? { h: n[1], s: n[2], v: n[3], a: n[4] } : (n = Dr.hex8.exec(e), n ? {
|
|
19660
|
+
r: sr(n[1]),
|
|
19661
|
+
g: sr(n[2]),
|
|
19662
|
+
b: sr(n[3]),
|
|
19663
19663
|
a: Dv(n[4]),
|
|
19664
19664
|
format: t ? "name" : "hex8"
|
|
19665
|
-
} : (n =
|
|
19666
|
-
r:
|
|
19667
|
-
g:
|
|
19668
|
-
b:
|
|
19665
|
+
} : (n = Dr.hex6.exec(e), n ? {
|
|
19666
|
+
r: sr(n[1]),
|
|
19667
|
+
g: sr(n[2]),
|
|
19668
|
+
b: sr(n[3]),
|
|
19669
19669
|
format: t ? "name" : "hex"
|
|
19670
|
-
} : (n =
|
|
19671
|
-
r:
|
|
19672
|
-
g:
|
|
19673
|
-
b:
|
|
19670
|
+
} : (n = Dr.hex4.exec(e), n ? {
|
|
19671
|
+
r: sr(n[1] + n[1]),
|
|
19672
|
+
g: sr(n[2] + n[2]),
|
|
19673
|
+
b: sr(n[3] + n[3]),
|
|
19674
19674
|
a: Dv(n[4] + n[4]),
|
|
19675
19675
|
format: t ? "name" : "hex8"
|
|
19676
|
-
} : (n =
|
|
19677
|
-
r:
|
|
19678
|
-
g:
|
|
19679
|
-
b:
|
|
19676
|
+
} : (n = Dr.hex3.exec(e), n ? {
|
|
19677
|
+
r: sr(n[1] + n[1]),
|
|
19678
|
+
g: sr(n[2] + n[2]),
|
|
19679
|
+
b: sr(n[3] + n[3]),
|
|
19680
19680
|
format: t ? "name" : "hex"
|
|
19681
19681
|
} : !1)))))))));
|
|
19682
19682
|
}
|
|
19683
19683
|
function Ea(e) {
|
|
19684
|
-
return !!
|
|
19684
|
+
return !!Dr.CSS_UNIT.exec(String(e));
|
|
19685
19685
|
}
|
|
19686
19686
|
var t4 = (
|
|
19687
19687
|
/** @class */
|
|
@@ -19975,7 +19975,7 @@ const ZB = {
|
|
|
19975
19975
|
props: ZB,
|
|
19976
19976
|
setup(e) {
|
|
19977
19977
|
const t = e;
|
|
19978
|
-
Ln(X1,
|
|
19978
|
+
Ln(X1, Mr({
|
|
19979
19979
|
size: ai(t, "size"),
|
|
19980
19980
|
type: ai(t, "type")
|
|
19981
19981
|
}));
|
|
@@ -19991,7 +19991,7 @@ var n4 = /* @__PURE__ */ kt(XB, [["__file", "button-group.vue"]]);
|
|
|
19991
19991
|
const oa = Vn($B, {
|
|
19992
19992
|
ButtonGroup: n4
|
|
19993
19993
|
});
|
|
19994
|
-
|
|
19994
|
+
Sr(n4);
|
|
19995
19995
|
const pu = (e) => {
|
|
19996
19996
|
const t = Xt(e) ? e : [e], n = [];
|
|
19997
19997
|
return t.forEach((i) => {
|
|
@@ -20002,7 +20002,7 @@ const pu = (e) => {
|
|
|
20002
20002
|
var l;
|
|
20003
20003
|
return Su(s) && ((l = s.type) == null ? void 0 : l.name) === t && !!s.component;
|
|
20004
20004
|
}).map((s) => s.component.uid).map((s) => n[s]).filter((s) => !!s), tP = (e, t) => {
|
|
20005
|
-
const n = {}, i =
|
|
20005
|
+
const n = {}, i = Zi([]);
|
|
20006
20006
|
return {
|
|
20007
20007
|
children: i,
|
|
20008
20008
|
addChild: (l) => {
|
|
@@ -20108,7 +20108,7 @@ const pu = (e) => {
|
|
|
20108
20108
|
onClickRoot: w
|
|
20109
20109
|
};
|
|
20110
20110
|
}, rP = (e) => {
|
|
20111
|
-
const t =
|
|
20111
|
+
const t = se(!1), { emit: n } = Kt(), i = gt(bl, void 0), r = $(() => Zn(i) === !1), s = se(!1), l = $({
|
|
20112
20112
|
get() {
|
|
20113
20113
|
var c, d;
|
|
20114
20114
|
return r.value ? (c = i == null ? void 0 : i.modelValue) == null ? void 0 : c.value : (d = e.modelValue) != null ? d : t.value;
|
|
@@ -20124,7 +20124,7 @@ const pu = (e) => {
|
|
|
20124
20124
|
isLimitExceeded: s
|
|
20125
20125
|
};
|
|
20126
20126
|
}, aP = (e, t, { model: n }) => {
|
|
20127
|
-
const i = gt(bl, void 0), r =
|
|
20127
|
+
const i = gt(bl, void 0), r = se(!1), s = $(() => zo(e.value) ? e.label : e.value), l = $(() => {
|
|
20128
20128
|
const y = n.value;
|
|
20129
20129
|
return ni(y) ? y : Xt(y) ? $n(s.value) ? y.map(Qd).some((_) => Zs(_, s.value)) : y.map(Qd).includes(s.value) : y != null ? y === e.trueValue || y === e.trueLabel : !!y;
|
|
20130
20130
|
}), c = Ia($(() => {
|
|
@@ -20464,8 +20464,8 @@ const ul = Vn(lP, {
|
|
|
20464
20464
|
CheckboxButton: o4,
|
|
20465
20465
|
CheckboxGroup: s4
|
|
20466
20466
|
});
|
|
20467
|
-
|
|
20468
|
-
|
|
20467
|
+
Sr(o4);
|
|
20468
|
+
Sr(s4);
|
|
20469
20469
|
const gP = (e = "") => e.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d"), io = (e) => Vw(e), dp = Gt({
|
|
20470
20470
|
type: {
|
|
20471
20471
|
type: String,
|
|
@@ -20681,13 +20681,13 @@ const MP = Vn(CP), EP = Gt({
|
|
|
20681
20681
|
default: "el"
|
|
20682
20682
|
},
|
|
20683
20683
|
...w1
|
|
20684
|
-
}),
|
|
20684
|
+
}), Rr = {};
|
|
20685
20685
|
Ke({
|
|
20686
20686
|
name: "ElConfigProvider",
|
|
20687
20687
|
props: EP,
|
|
20688
20688
|
setup(e, { slots: t }) {
|
|
20689
20689
|
ot(() => e.message, (i) => {
|
|
20690
|
-
Object.assign(
|
|
20690
|
+
Object.assign(Rr, i ?? {});
|
|
20691
20691
|
}, { immediate: !0, deep: !0 });
|
|
20692
20692
|
const n = A1(e);
|
|
20693
20693
|
return () => et(t, "default", { config: n == null ? void 0 : n.value });
|
|
@@ -20756,7 +20756,7 @@ const u4 = "data-el-collection-item", c4 = (e) => {
|
|
|
20756
20756
|
...IP,
|
|
20757
20757
|
name: t,
|
|
20758
20758
|
setup() {
|
|
20759
|
-
const c =
|
|
20759
|
+
const c = se(null), d = /* @__PURE__ */ new Map();
|
|
20760
20760
|
Ln(i, {
|
|
20761
20761
|
itemMap: d,
|
|
20762
20762
|
getItems: () => {
|
|
@@ -20773,7 +20773,7 @@ const u4 = "data-el-collection-item", c4 = (e) => {
|
|
|
20773
20773
|
...DP,
|
|
20774
20774
|
name: n,
|
|
20775
20775
|
setup(c, { attrs: d }) {
|
|
20776
|
-
const g =
|
|
20776
|
+
const g = se(null), y = gt(i, void 0);
|
|
20777
20777
|
Ln(r, {
|
|
20778
20778
|
collectionItemRef: g
|
|
20779
20779
|
}), fn(() => {
|
|
@@ -20841,7 +20841,7 @@ const u4 = "data-el-collection-item", c4 = (e) => {
|
|
|
20841
20841
|
emits: [Fv, "entryFocus"],
|
|
20842
20842
|
setup(e, { emit: t }) {
|
|
20843
20843
|
var n;
|
|
20844
|
-
const i =
|
|
20844
|
+
const i = se((n = e.currentTabId || e.defaultCurrentTabId) != null ? n : null), r = se(!1), s = se(!1), l = se(null), { getItems: c } = gt(K0, void 0), d = $(() => [
|
|
20845
20845
|
{
|
|
20846
20846
|
outline: "none"
|
|
20847
20847
|
},
|
|
@@ -21027,7 +21027,7 @@ const ZP = Gt({
|
|
|
21027
21027
|
props: ZP,
|
|
21028
21028
|
emits: ["visible-change", "click", "command"],
|
|
21029
21029
|
setup(e, { emit: t }) {
|
|
21030
|
-
const n = Kt(), i = bt("dropdown"), { t: r } = yl(), s =
|
|
21030
|
+
const n = Kt(), i = bt("dropdown"), { t: r } = yl(), s = se(), l = se(), c = se(null), d = se(null), g = se(null), y = se(null), _ = se(!1), w = $(() => ({
|
|
21031
21031
|
maxHeight: Ko(e.maxHeight)
|
|
21032
21032
|
})), M = $(() => [i.m(F.value)]), b = $(() => La(e.trigger)), E = _l().value, k = $(() => e.id || E);
|
|
21033
21033
|
ot([s, b], ([me, X], [re]) => {
|
|
@@ -21265,7 +21265,7 @@ const u8 = Ke({
|
|
|
21265
21265
|
},
|
|
21266
21266
|
emits: ["mousedown", "focus", "keydown"],
|
|
21267
21267
|
setup(e, { emit: t }) {
|
|
21268
|
-
const { currentTabbedId: n, loop: i, onItemFocus: r, onItemShiftTab: s } = gt(j0, void 0), { getItems: l } = gt(K0, void 0), c = _l(), d =
|
|
21268
|
+
const { currentTabbedId: n, loop: i, onItemFocus: r, onItemShiftTab: s } = gt(j0, void 0), { getItems: l } = gt(K0, void 0), c = _l(), d = se(null), g = jn((M) => {
|
|
21269
21269
|
t("mousedown", M);
|
|
21270
21270
|
}, (M) => {
|
|
21271
21271
|
e.focusable ? r(I(c)) : M.preventDefault();
|
|
@@ -21413,7 +21413,7 @@ const p4 = () => {
|
|
|
21413
21413
|
props: f4,
|
|
21414
21414
|
emits: ["pointermove", "pointerleave", "click"],
|
|
21415
21415
|
setup(e, { emit: t, attrs: n }) {
|
|
21416
|
-
const { elDropdown: i } = p4(), r = Kt(), s =
|
|
21416
|
+
const { elDropdown: i } = p4(), r = Kt(), s = se(null), l = $(() => {
|
|
21417
21417
|
var M, b;
|
|
21418
21418
|
return (b = (M = I(s)) == null ? void 0 : M.textContent) != null ? b : "";
|
|
21419
21419
|
}), { onItemEnter: c, onItemLeave: d } = gt(gf, void 0), g = jn((M) => (t("pointermove", M), M.defaultPrevented), Pv((M) => {
|
|
@@ -21531,9 +21531,9 @@ var m4 = /* @__PURE__ */ kt(v8, [["render", y8], ["__file", "dropdown-menu.vue"]
|
|
|
21531
21531
|
const _8 = Vn(l8, {
|
|
21532
21532
|
DropdownItem: g4,
|
|
21533
21533
|
DropdownMenu: m4
|
|
21534
|
-
}), Gv =
|
|
21534
|
+
}), Gv = Sr(g4), b8 = Sr(m4);
|
|
21535
21535
|
function w8() {
|
|
21536
|
-
const e =
|
|
21536
|
+
const e = Zi(), t = se(0), n = 11, i = $(() => ({
|
|
21537
21537
|
minWidth: `${Math.max(t.value, n)}px`
|
|
21538
21538
|
}));
|
|
21539
21539
|
return Ei(e, () => {
|
|
@@ -21728,12 +21728,12 @@ var V0 = Ke({
|
|
|
21728
21728
|
props: k8,
|
|
21729
21729
|
setup(e, { slots: t, expose: n }) {
|
|
21730
21730
|
const i = Kt(), { indexPath: r, parentMenu: s } = v4(i, $(() => e.index)), l = bt("menu"), c = bt("sub-menu"), d = gt("rootMenu");
|
|
21731
|
-
d ||
|
|
21731
|
+
d || lr(Cd, "can not inject root menu");
|
|
21732
21732
|
const g = gt(`subMenu:${s.value.uid}`);
|
|
21733
|
-
g ||
|
|
21734
|
-
const y =
|
|
21733
|
+
g || lr(Cd, "can not inject sub menu");
|
|
21734
|
+
const y = se({}), _ = se({});
|
|
21735
21735
|
let w;
|
|
21736
|
-
const M =
|
|
21736
|
+
const M = se(!1), b = se(), E = se(null), k = $(() => O.value === "horizontal" && z.value ? "bottom-start" : "right-start"), x = $(() => O.value === "horizontal" && z.value || O.value === "vertical" && !d.props.collapse ? e.expandCloseIcon && e.expandOpenIcon ? K.value ? e.expandOpenIcon : e.expandCloseIcon : sf : e.collapseCloseIcon && e.collapseOpenIcon ? K.value ? e.collapseOpenIcon : e.collapseCloseIcon : lf), z = $(() => g.level === 0), T = $(() => {
|
|
21737
21737
|
const de = e.teleported;
|
|
21738
21738
|
return de === void 0 ? z.value : de;
|
|
21739
21739
|
}), F = $(() => d.props.collapse ? `${l.namespace.value}-zoom-in-left` : `${l.namespace.value}-zoom-in-top`), G = $(() => O.value === "horizontal" && z.value ? [
|
|
@@ -21759,7 +21759,7 @@ var V0 = Ke({
|
|
|
21759
21759
|
}), Object.values(_.value).forEach((Se) => {
|
|
21760
21760
|
Se.active && (de = !0);
|
|
21761
21761
|
}), de;
|
|
21762
|
-
}), O = $(() => d.props.mode), N =
|
|
21762
|
+
}), O = $(() => d.props.mode), N = Mr({
|
|
21763
21763
|
index: e.index,
|
|
21764
21764
|
indexPath: r,
|
|
21765
21765
|
active: j
|
|
@@ -21978,7 +21978,7 @@ var I8 = Ke({
|
|
|
21978
21978
|
props: B8,
|
|
21979
21979
|
emits: P8,
|
|
21980
21980
|
setup(e, { emit: t, slots: n, expose: i }) {
|
|
21981
|
-
const r = Kt(), s = r.appContext.config.globalProperties.$router, l =
|
|
21981
|
+
const r = Kt(), s = r.appContext.config.globalProperties.$router, l = se(), c = bt("menu"), d = bt("sub-menu"), g = se(-1), y = se(e.defaultOpeneds && !e.collapse ? e.defaultOpeneds.slice(0) : []), _ = se(e.defaultActive), w = se({}), M = se({}), b = $(() => e.mode === "horizontal" || e.mode === "vertical" && e.collapse), E = () => {
|
|
21982
21982
|
const Ge = _.value && w.value[_.value];
|
|
21983
21983
|
if (!Ge || e.mode === "horizontal" || e.collapse)
|
|
21984
21984
|
return;
|
|
@@ -22050,14 +22050,14 @@ var I8 = Ke({
|
|
|
22050
22050
|
lo(() => {
|
|
22051
22051
|
e.mode === "horizontal" && e.ellipsis ? ne = Ei(l, J).stop : ne == null || ne();
|
|
22052
22052
|
});
|
|
22053
|
-
const xe =
|
|
22053
|
+
const xe = se(!1);
|
|
22054
22054
|
{
|
|
22055
22055
|
const Ge = (le) => {
|
|
22056
22056
|
M.value[le.index] = le;
|
|
22057
22057
|
}, me = (le) => {
|
|
22058
22058
|
delete M.value[le.index];
|
|
22059
22059
|
};
|
|
22060
|
-
Ln("rootMenu",
|
|
22060
|
+
Ln("rootMenu", Mr({
|
|
22061
22061
|
props: e,
|
|
22062
22062
|
openedMenus: y,
|
|
22063
22063
|
items: w,
|
|
@@ -22155,10 +22155,10 @@ const T8 = Gt({
|
|
|
22155
22155
|
emits: O8,
|
|
22156
22156
|
setup(e, { emit: t }) {
|
|
22157
22157
|
const n = Kt(), i = gt("rootMenu"), r = bt("menu"), s = bt("menu-item");
|
|
22158
|
-
i ||
|
|
22158
|
+
i || lr(Ed, "can not inject root menu");
|
|
22159
22159
|
const { parentMenu: l, indexPath: c } = v4(n, ai(e, "index")), d = gt(`subMenu:${l.value.uid}`);
|
|
22160
|
-
d ||
|
|
22161
|
-
const g = $(() => e.index === i.activeIndex), y =
|
|
22160
|
+
d || lr(Ed, "can not inject sub menu");
|
|
22161
|
+
const g = $(() => e.index === i.activeIndex), y = Mr({
|
|
22162
22162
|
index: e.index,
|
|
22163
22163
|
indexPath: c,
|
|
22164
22164
|
active: g
|
|
@@ -22252,9 +22252,9 @@ const H8 = Vn(I8, {
|
|
|
22252
22252
|
MenuItem: _4,
|
|
22253
22253
|
MenuItemGroup: b4,
|
|
22254
22254
|
SubMenu: V0
|
|
22255
|
-
}), pp =
|
|
22256
|
-
|
|
22257
|
-
const zv =
|
|
22255
|
+
}), pp = Sr(_4);
|
|
22256
|
+
Sr(b4);
|
|
22257
|
+
const zv = Sr(V0), w4 = Symbol("ElSelectGroup"), mf = Symbol("ElSelect");
|
|
22258
22258
|
function Q8(e, t) {
|
|
22259
22259
|
const n = gt(mf), i = gt(w4, { disabled: !1 }), r = $(() => y(La(n.props.modelValue), e.value)), s = $(() => {
|
|
22260
22260
|
var M;
|
|
@@ -22266,7 +22266,7 @@ function Q8(e, t) {
|
|
|
22266
22266
|
}), l = $(() => e.label || ($n(e.value) ? "" : e.value)), c = $(() => e.value || e.label || ""), d = $(() => e.disabled || t.groupDisabled || s.value), g = Kt(), y = (M = [], b) => {
|
|
22267
22267
|
if ($n(e.value)) {
|
|
22268
22268
|
const E = n.props.valueKey;
|
|
22269
|
-
return M && M.some((k) => Qd(
|
|
22269
|
+
return M && M.some((k) => Qd(Gr(k, E)) === Gr(b, E));
|
|
22270
22270
|
} else
|
|
22271
22271
|
return M && M.includes(b);
|
|
22272
22272
|
}, _ = () => {
|
|
@@ -22314,7 +22314,7 @@ const U8 = Ke({
|
|
|
22314
22314
|
t.is("disabled", I(c)),
|
|
22315
22315
|
t.is("selected", I(l)),
|
|
22316
22316
|
t.is("hovering", I(w))
|
|
22317
|
-
]), r =
|
|
22317
|
+
]), r = Mr({
|
|
22318
22318
|
index: -1,
|
|
22319
22319
|
groupDisabled: !1,
|
|
22320
22320
|
visible: !0,
|
|
@@ -22375,7 +22375,7 @@ const j8 = Ke({
|
|
|
22375
22375
|
name: "ElSelectDropdown",
|
|
22376
22376
|
componentName: "ElSelectDropdown",
|
|
22377
22377
|
setup() {
|
|
22378
|
-
const e = gt(mf), t = bt("select"), n = $(() => e.props.popperClass), i = $(() => e.props.multiple), r = $(() => e.props.fitInputWidth), s =
|
|
22378
|
+
const e = gt(mf), t = bt("select"), n = $(() => e.props.popperClass), i = $(() => e.props.multiple), r = $(() => e.props.fitInputWidth), s = se("");
|
|
22379
22379
|
function l() {
|
|
22380
22380
|
var c;
|
|
22381
22381
|
s.value = `${(c = e.selectRef) == null ? void 0 : c.offsetWidth}px`;
|
|
@@ -22413,7 +22413,7 @@ function q8(e, t, n, i, r, s) {
|
|
|
22413
22413
|
}
|
|
22414
22414
|
var V8 = /* @__PURE__ */ kt(j8, [["render", q8], ["__file", "select-dropdown.vue"]]);
|
|
22415
22415
|
const W8 = (e, t) => {
|
|
22416
|
-
const { t: n } = yl(), i = _l(), r = bt("select"), s = bt("input"), l =
|
|
22416
|
+
const { t: n } = yl(), i = _l(), r = bt("select"), s = bt("input"), l = Mr({
|
|
22417
22417
|
inputValue: "",
|
|
22418
22418
|
options: /* @__PURE__ */ new Map(),
|
|
22419
22419
|
cachedOptions: /* @__PURE__ */ new Map(),
|
|
@@ -22427,7 +22427,7 @@ const W8 = (e, t) => {
|
|
|
22427
22427
|
inputHovering: !1,
|
|
22428
22428
|
menuVisibleOnFocus: !1,
|
|
22429
22429
|
isBeforeHide: !1
|
|
22430
|
-
}), c =
|
|
22430
|
+
}), c = se(null), d = se(null), g = se(null), y = se(null), _ = se(null), w = se(null), M = se(null), b = se(null), E = se(null), k = se(null), x = se(null), {
|
|
22431
22431
|
isComposing: z,
|
|
22432
22432
|
handleCompositionStart: T,
|
|
22433
22433
|
handleCompositionUpdate: F,
|
|
@@ -22448,7 +22448,7 @@ const W8 = (e, t) => {
|
|
|
22448
22448
|
afterBlur() {
|
|
22449
22449
|
N.value = !1, l.menuVisibleOnFocus = !1;
|
|
22450
22450
|
}
|
|
22451
|
-
}), N =
|
|
22451
|
+
}), N = se(!1), Q = se(), { form: J, formItem: ne } = es(), { inputId: xe } = ic(e, {
|
|
22452
22452
|
formItemContext: ne
|
|
22453
22453
|
}), { valueOnClear: Ne, isEmptyValue: Ge } = UL(e), me = $(() => e.disabled || (J == null ? void 0 : J.disabled)), X = $(() => Xt(e.modelValue) ? e.modelValue.length > 0 : !Ge(e.modelValue)), re = $(() => {
|
|
22454
22454
|
var Te;
|
|
@@ -22523,13 +22523,13 @@ const W8 = (e, t) => {
|
|
|
22523
22523
|
let it;
|
|
22524
22524
|
const Ot = Yd(Te);
|
|
22525
22525
|
for (let Bi = l.cachedOptions.size - 1; Bi >= 0; Bi--) {
|
|
22526
|
-
const
|
|
22527
|
-
if (Ot ?
|
|
22526
|
+
const ir = ve.value[Bi];
|
|
22527
|
+
if (Ot ? Gr(ir.value, e.valueKey) === Gr(Te, e.valueKey) : ir.value === Te) {
|
|
22528
22528
|
it = {
|
|
22529
22529
|
value: Te,
|
|
22530
|
-
currentLabel:
|
|
22530
|
+
currentLabel: ir.currentLabel,
|
|
22531
22531
|
get isDisabled() {
|
|
22532
|
-
return
|
|
22532
|
+
return ir.isDisabled;
|
|
22533
22533
|
}
|
|
22534
22534
|
};
|
|
22535
22535
|
break;
|
|
@@ -22558,10 +22558,10 @@ const W8 = (e, t) => {
|
|
|
22558
22558
|
l.inputValue.length > 0 && !N.value && (N.value = !0), ht(l.inputValue);
|
|
22559
22559
|
}, wn = (Te) => {
|
|
22560
22560
|
if (l.inputValue = Te.target.value, e.remote)
|
|
22561
|
-
|
|
22561
|
+
nr();
|
|
22562
22562
|
else
|
|
22563
22563
|
return sn();
|
|
22564
|
-
},
|
|
22564
|
+
}, nr = Ru(() => {
|
|
22565
22565
|
sn();
|
|
22566
22566
|
}, nt.value), gi = (Te) => {
|
|
22567
22567
|
Zs(e.modelValue, Te) || t(Fu, Te);
|
|
@@ -22600,12 +22600,12 @@ const W8 = (e, t) => {
|
|
|
22600
22600
|
Gi(), !N.value && Zt(() => {
|
|
22601
22601
|
Rt(Te);
|
|
22602
22602
|
});
|
|
22603
|
-
}, Wt = (Te = [], it) => Zn(it) ? -1 : $n(it.value) ? Te.findIndex((Ot) => Zs(
|
|
22603
|
+
}, Wt = (Te = [], it) => Zn(it) ? -1 : $n(it.value) ? Te.findIndex((Ot) => Zs(Gr(Ot, e.valueKey), $r(it))) : Te.indexOf(it.value), Rt = (Te) => {
|
|
22604
22604
|
var it, Ot, Cn, Jn, Bi;
|
|
22605
|
-
const
|
|
22605
|
+
const ir = Xt(Te) ? Te[0] : Te;
|
|
22606
22606
|
let Ha = null;
|
|
22607
|
-
if (
|
|
22608
|
-
const pa = Qe.value.filter((Ll) => Ll.value ===
|
|
22607
|
+
if (ir != null && ir.value) {
|
|
22608
|
+
const pa = Qe.value.filter((Ll) => Ll.value === ir.value);
|
|
22609
22609
|
pa.length > 0 && (Ha = pa[0].$el);
|
|
22610
22610
|
}
|
|
22611
22611
|
if (g.value && Ha) {
|
|
@@ -22653,7 +22653,7 @@ const W8 = (e, t) => {
|
|
|
22653
22653
|
const Te = Qe.value[l.hoveringIndex];
|
|
22654
22654
|
Te && !Te.isDisabled && It(Te);
|
|
22655
22655
|
}
|
|
22656
|
-
}, $r = (Te) => $n(Te.value) ?
|
|
22656
|
+
}, $r = (Te) => $n(Te.value) ? Gr(Te.value, e.valueKey) : Te.value, rs = $(() => Qe.value.filter((Te) => Te.visible).every((Te) => Te.isDisabled)), El = $(() => e.multiple ? e.collapseTags ? l.selected.slice(0, e.maxCollapseTags) : l.selected : []), xl = $(() => e.multiple ? e.collapseTags ? l.selected.slice(e.maxCollapseTags) : [] : []), as = (Te) => {
|
|
22657
22657
|
if (!N.value) {
|
|
22658
22658
|
N.value = !0;
|
|
22659
22659
|
return;
|
|
@@ -22688,7 +22688,7 @@ const W8 = (e, t) => {
|
|
|
22688
22688
|
filteredOptionsCount: ze,
|
|
22689
22689
|
updateTooltip: Pt,
|
|
22690
22690
|
updateTagTooltip: jt,
|
|
22691
|
-
debouncedOnInputChange:
|
|
22691
|
+
debouncedOnInputChange: nr,
|
|
22692
22692
|
onInput: wn,
|
|
22693
22693
|
deletePrevTag: Pn,
|
|
22694
22694
|
deleteTag: ut,
|
|
@@ -22896,11 +22896,11 @@ const $8 = Gt({
|
|
|
22896
22896
|
const n = $(() => {
|
|
22897
22897
|
const { modelValue: d, multiple: g } = e, y = g ? [] : void 0;
|
|
22898
22898
|
return Xt(d) ? g ? d : y : g ? y : d;
|
|
22899
|
-
}), i =
|
|
22899
|
+
}), i = Mr({
|
|
22900
22900
|
...$u(e),
|
|
22901
22901
|
modelValue: n
|
|
22902
22902
|
}), r = W8(i, t), { calculatorRef: s, inputStyle: l } = w8();
|
|
22903
|
-
Ln(mf,
|
|
22903
|
+
Ln(mf, Mr({
|
|
22904
22904
|
props: i,
|
|
22905
22905
|
states: r.states,
|
|
22906
22906
|
optionsArray: r.optionsArray,
|
|
@@ -23265,8 +23265,8 @@ const e5 = Ke({
|
|
|
23265
23265
|
disabled: Boolean
|
|
23266
23266
|
},
|
|
23267
23267
|
setup(e) {
|
|
23268
|
-
const t = bt("select"), n =
|
|
23269
|
-
Ln(w4,
|
|
23268
|
+
const t = bt("select"), n = se(null), i = Kt(), r = se([]);
|
|
23269
|
+
Ln(w4, Mr({
|
|
23270
23270
|
...$u(e)
|
|
23271
23271
|
}));
|
|
23272
23272
|
const s = $(() => r.value.some((g) => g.visible === !0)), l = (g) => {
|
|
@@ -23317,8 +23317,8 @@ var A4 = /* @__PURE__ */ kt(e5, [["render", t5], ["__file", "option-group.vue"]]
|
|
|
23317
23317
|
const Qv = Vn(X8, {
|
|
23318
23318
|
Option: W0,
|
|
23319
23319
|
OptionGroup: A4
|
|
23320
|
-
}), xd =
|
|
23321
|
-
|
|
23320
|
+
}), xd = Sr(W0);
|
|
23321
|
+
Sr(A4);
|
|
23322
23322
|
const n5 = Gt({
|
|
23323
23323
|
type: {
|
|
23324
23324
|
type: String,
|
|
@@ -23589,7 +23589,7 @@ const o5 = Vn(a5), s5 = (e) => ["", ...E0].includes(e), l5 = Gt({
|
|
|
23589
23589
|
setup(e, { expose: t, emit: n }) {
|
|
23590
23590
|
const i = e, { formItem: r } = es(), s = Ia(), l = bt("switch"), { inputId: c } = ic(i, {
|
|
23591
23591
|
formItemContext: r
|
|
23592
|
-
}), d = Na($(() => i.loading)), g =
|
|
23592
|
+
}), d = Na($(() => i.loading)), g = se(i.modelValue !== !1), y = se(), _ = se(), w = $(() => [
|
|
23593
23593
|
l.b(),
|
|
23594
23594
|
l.m(s.value),
|
|
23595
23595
|
l.is("disabled", d.value),
|
|
@@ -23630,7 +23630,7 @@ const o5 = Vn(a5), s5 = (e) => ["", ...E0].includes(e), l5 = Gt({
|
|
|
23630
23630
|
[
|
|
23631
23631
|
mm(K),
|
|
23632
23632
|
ni(K)
|
|
23633
|
-
].includes(!0) ||
|
|
23633
|
+
].includes(!0) || lr(gp, "beforeChange must return type `Promise<boolean>` or `boolean`"), mm(K) ? K.then((O) => {
|
|
23634
23634
|
O && z();
|
|
23635
23635
|
}).catch((O) => {
|
|
23636
23636
|
Rn(gp, `some error occurred: ${O}`);
|
|
@@ -23760,7 +23760,7 @@ const C4 = Vn(f5), Ld = function(e) {
|
|
|
23760
23760
|
return e;
|
|
23761
23761
|
en(n) ? n = n === "descending" ? -1 : 1 : n = n && n < 0 ? -1 : 1;
|
|
23762
23762
|
const s = i ? null : function(c, d) {
|
|
23763
|
-
return r ? (Xt(r) || (r = [r]), r.map((g) => en(g) ?
|
|
23763
|
+
return r ? (Xt(r) || (r = [r]), r.map((g) => en(g) ? Gr(c, g) : g(c, d, e))) : (t !== "$key" && $n(c) && "$value" in c && (c = c.$value), [$n(c) ? Gr(c, t) : c]);
|
|
23764
23764
|
}, l = function(c, d) {
|
|
23765
23765
|
if (i)
|
|
23766
23766
|
return i(c.value, d.value);
|
|
@@ -23794,7 +23794,7 @@ const C4 = Vn(f5), Ld = function(e) {
|
|
|
23794
23794
|
break;
|
|
23795
23795
|
}
|
|
23796
23796
|
}
|
|
23797
|
-
return n ||
|
|
23797
|
+
return n || lr("ElTable", `No column matching with column-key: ${t}`), n;
|
|
23798
23798
|
}, Uv = function(e, t, n) {
|
|
23799
23799
|
const i = (t.className || "").match(new RegExp(`${n}-table_[^\\s]+`, "gm"));
|
|
23800
23800
|
return i ? M4(e, i[0]) : null;
|
|
@@ -23965,7 +23965,7 @@ const Z0 = (e, t, n, i) => {
|
|
|
23965
23965
|
e && (Number.isNaN(e[t]) || (e[t] = `${e[t]}px`));
|
|
23966
23966
|
};
|
|
23967
23967
|
function b5(e) {
|
|
23968
|
-
const t = Kt(), n =
|
|
23968
|
+
const t = Kt(), n = se(!1), i = se([]);
|
|
23969
23969
|
return {
|
|
23970
23970
|
updateExpandRows: () => {
|
|
23971
23971
|
const d = e.data.value || [], g = e.rowKey.value;
|
|
@@ -24002,7 +24002,7 @@ function b5(e) {
|
|
|
24002
24002
|
};
|
|
24003
24003
|
}
|
|
24004
24004
|
function w5(e) {
|
|
24005
|
-
const t = Kt(), n =
|
|
24005
|
+
const t = Kt(), n = se(null), i = se(null), r = (g) => {
|
|
24006
24006
|
t.store.assertRowKey(), n.value = g, l(g);
|
|
24007
24007
|
}, s = () => {
|
|
24008
24008
|
n.value = null;
|
|
@@ -24041,7 +24041,7 @@ function w5(e) {
|
|
|
24041
24041
|
};
|
|
24042
24042
|
}
|
|
24043
24043
|
function A5(e) {
|
|
24044
|
-
const t =
|
|
24044
|
+
const t = se([]), n = se({}), i = se(16), r = se(!1), s = se({}), l = se("hasChildren"), c = se("children"), d = se(!1), g = Kt(), y = $(() => {
|
|
24045
24045
|
if (!e.rowKey.value)
|
|
24046
24046
|
return {};
|
|
24047
24047
|
const T = e.data.value || [];
|
|
@@ -24178,7 +24178,7 @@ const C5 = (e, t) => {
|
|
|
24178
24178
|
};
|
|
24179
24179
|
function M5() {
|
|
24180
24180
|
var e;
|
|
24181
|
-
const t = Kt(), { size: n } = $u((e = t.proxy) == null ? void 0 : e.$props), i =
|
|
24181
|
+
const t = Kt(), { size: n } = $u((e = t.proxy) == null ? void 0 : e.$props), i = se(null), r = se([]), s = se([]), l = se(!1), c = se([]), d = se([]), g = se([]), y = se([]), _ = se([]), w = se([]), M = se([]), b = se([]), E = [], k = se(0), x = se(0), z = se(0), T = se(!1), F = se([]), G = se(!1), K = se(!1), j = se(null), O = se({}), N = se(null), Q = se(null), J = se(null), ne = se(null), xe = se(null), Ne = $(() => i.value ? gu(F.value, i.value) : void 0);
|
|
24182
24182
|
ot(r, () => {
|
|
24183
24183
|
var ut;
|
|
24184
24184
|
t.state && (le(!1), t.props.tableLayout === "auto" && ((ut = t.refs.tableHeaderRef) == null || ut.updateFixedColumnStyle()));
|
|
@@ -24363,7 +24363,7 @@ function M5() {
|
|
|
24363
24363
|
}), {
|
|
24364
24364
|
updateCurrentRowData: sn,
|
|
24365
24365
|
updateCurrentRow: wn,
|
|
24366
|
-
setCurrentRowKey:
|
|
24366
|
+
setCurrentRowKey: nr,
|
|
24367
24367
|
states: gi
|
|
24368
24368
|
} = w5({
|
|
24369
24369
|
data: r,
|
|
@@ -24394,7 +24394,7 @@ function M5() {
|
|
|
24394
24394
|
setExpandRowKeysAdapter: (ut) => {
|
|
24395
24395
|
mt(ut), dn(ut);
|
|
24396
24396
|
},
|
|
24397
|
-
setCurrentRowKey:
|
|
24397
|
+
setCurrentRowKey: nr,
|
|
24398
24398
|
toggleRowExpansionAdapter: (ut, Et) => {
|
|
24399
24399
|
g.value.some(({ type: Wt }) => Wt === "expand") ? Ht(ut, Et) : vn(ut, Et);
|
|
24400
24400
|
},
|
|
@@ -24581,7 +24581,7 @@ function k4(e, t) {
|
|
|
24581
24581
|
}
|
|
24582
24582
|
class S5 {
|
|
24583
24583
|
constructor(t) {
|
|
24584
|
-
this.observers = [], this.table = null, this.store = null, this.columns = [], this.fit = !0, this.showHeader = !0, this.height =
|
|
24584
|
+
this.observers = [], this.table = null, this.store = null, this.columns = [], this.fit = !0, this.showHeader = !0, this.height = se(null), this.scrollX = se(!1), this.scrollY = se(!1), this.bodyWidth = se(null), this.fixedWidth = se(null), this.rightFixedWidth = se(null), this.gutterWidth = 0;
|
|
24585
24585
|
for (const n in t)
|
|
24586
24586
|
Qo(t, n) && (tl(this[n]) ? this[n].value = t[n] : this[n] = t[n]);
|
|
24587
24587
|
if (!this.table)
|
|
@@ -24739,7 +24739,7 @@ const { CheckboxGroup: k5 } = ul, B5 = Ke({
|
|
|
24739
24739
|
setup(e) {
|
|
24740
24740
|
const t = Kt(), { t: n } = yl(), i = bt("table-filter"), r = t == null ? void 0 : t.parent;
|
|
24741
24741
|
r.filterPanels.value[e.column.id] || (r.filterPanels.value[e.column.id] = t);
|
|
24742
|
-
const s =
|
|
24742
|
+
const s = se(!1), l = se(null), c = $(() => e.column && e.column.filters), d = $(() => e.column.filterClassName ? `${i.b()} ${e.column.filterClassName}` : i.b()), g = $({
|
|
24743
24743
|
get: () => {
|
|
24744
24744
|
var G;
|
|
24745
24745
|
return (((G = e.column) == null ? void 0 : G.filteredValue) || [])[0];
|
|
@@ -24962,7 +24962,7 @@ function T5(e, t) {
|
|
|
24962
24962
|
!k.filters && k.sortable ? b(E, k, !1) : k.filterable && !k.sortable && r(E), i == null || i.emit("header-click", k, E);
|
|
24963
24963
|
}, l = (E, k) => {
|
|
24964
24964
|
i == null || i.emit("header-contextmenu", k, E);
|
|
24965
|
-
}, c =
|
|
24965
|
+
}, c = se(null), d = se(!1), g = se({}), y = (E, k) => {
|
|
24966
24966
|
if (yn && !(k.children && k.children.length > 0) && c.value && e.border) {
|
|
24967
24967
|
d.value = !0;
|
|
24968
24968
|
const x = i;
|
|
@@ -25155,7 +25155,7 @@ var R5 = Ke({
|
|
|
25155
25155
|
}
|
|
25156
25156
|
},
|
|
25157
25157
|
setup(e, { emit: t }) {
|
|
25158
|
-
const n = Kt(), i = gt(da), r = bt("table"), s =
|
|
25158
|
+
const n = Kt(), i = gt(da), r = bt("table"), s = se({}), { onColumnsChange: l, onScrollableChange: c } = B4(i), d = (i == null ? void 0 : i.props.tableLayout) === "auto", g = Mr(/* @__PURE__ */ new Map()), y = se(), _ = () => {
|
|
25159
25159
|
setTimeout(() => {
|
|
25160
25160
|
g.size > 0 && (g.forEach((Q, J) => {
|
|
25161
25161
|
const ne = y.value.querySelector(`.${J.replace(/\s/g, ".")}`);
|
|
@@ -25305,7 +25305,7 @@ function Sd(e, t, n = 0.03) {
|
|
|
25305
25305
|
return e - t > n;
|
|
25306
25306
|
}
|
|
25307
25307
|
function F5(e) {
|
|
25308
|
-
const t = gt(da), n =
|
|
25308
|
+
const t = gt(da), n = se(""), i = se(Ct("div")), r = (b, E, k) => {
|
|
25309
25309
|
var x;
|
|
25310
25310
|
const z = t, T = Ld(b);
|
|
25311
25311
|
let F;
|
|
@@ -25800,16 +25800,16 @@ function W5(e) {
|
|
|
25800
25800
|
};
|
|
25801
25801
|
}
|
|
25802
25802
|
function Y5(e, t, n, i) {
|
|
25803
|
-
const r =
|
|
25803
|
+
const r = se(!1), s = se(null), l = se(!1), c = (re) => {
|
|
25804
25804
|
l.value = re;
|
|
25805
|
-
}, d =
|
|
25805
|
+
}, d = se({
|
|
25806
25806
|
width: null,
|
|
25807
25807
|
height: null,
|
|
25808
25808
|
headerHeight: null
|
|
25809
|
-
}), g =
|
|
25809
|
+
}), g = se(!1), y = {
|
|
25810
25810
|
display: "inline-block",
|
|
25811
25811
|
verticalAlign: "middle"
|
|
25812
|
-
}, _ =
|
|
25812
|
+
}, _ = se(), w = se(0), M = se(0), b = se(0), E = se(0), k = se(0);
|
|
25813
25813
|
lo(() => {
|
|
25814
25814
|
t.setHeight(e.height);
|
|
25815
25815
|
}), lo(() => {
|
|
@@ -25952,7 +25952,7 @@ function Y5(e, t, n, i) {
|
|
|
25952
25952
|
};
|
|
25953
25953
|
}
|
|
25954
25954
|
function $5(e) {
|
|
25955
|
-
const t =
|
|
25955
|
+
const t = se(), n = () => {
|
|
25956
25956
|
const r = e.vnode.el.querySelector(".hidden-columns"), s = { childList: !0, subtree: !0 }, l = e.store.states.updateOrderFns;
|
|
25957
25957
|
t.value = new MutationObserver(() => {
|
|
25958
25958
|
l.forEach((c) => c());
|
|
@@ -26066,7 +26066,7 @@ function T4(e) {
|
|
|
26066
26066
|
}
|
|
26067
26067
|
T4.props = ["columns", "tableLayout"];
|
|
26068
26068
|
const J5 = () => {
|
|
26069
|
-
const e =
|
|
26069
|
+
const e = se(), t = (s, l) => {
|
|
26070
26070
|
const c = e.value;
|
|
26071
26071
|
c && c.scrollTo(s, l);
|
|
26072
26072
|
}, n = (s, l) => {
|
|
@@ -26707,7 +26707,7 @@ function vI(e, t) {
|
|
|
26707
26707
|
};
|
|
26708
26708
|
}
|
|
26709
26709
|
function yI(e, t, n) {
|
|
26710
|
-
const i = Kt(), r =
|
|
26710
|
+
const i = Kt(), r = se(""), s = se(!1), l = se(), c = se(), d = bt("table");
|
|
26711
26711
|
lo(() => {
|
|
26712
26712
|
l.value = e.align ? `is-${e.align}` : null, l.value;
|
|
26713
26713
|
}), lo(() => {
|
|
@@ -26724,7 +26724,7 @@ function yI(e, t, n) {
|
|
|
26724
26724
|
return !1;
|
|
26725
26725
|
const { treeData: G } = F.states, K = G.value;
|
|
26726
26726
|
return K && Object.keys(K).length > 0;
|
|
26727
|
-
}), _ =
|
|
26727
|
+
}), _ = se(Y0(e.width)), w = se(E4(e.minWidth)), M = (F) => (_.value && (F.width = _.value), w.value && (F.minWidth = w.value), !_.value && w.value && (F.width = void 0), F.minWidth || (F.minWidth = 80), F.realWidth = Number(Zn(F.width) ? F.minWidth : F.width), F), b = (F) => {
|
|
26728
26728
|
const G = F.type, K = pI[G] || {};
|
|
26729
26729
|
Object.keys(K).forEach((O) => {
|
|
26730
26730
|
const N = K[O];
|
|
@@ -26845,7 +26845,7 @@ var H4 = Ke({
|
|
|
26845
26845
|
},
|
|
26846
26846
|
props: _I,
|
|
26847
26847
|
setup(e, { slots: t }) {
|
|
26848
|
-
const n = Kt(), i =
|
|
26848
|
+
const n = Kt(), i = se({}), r = $(() => {
|
|
26849
26849
|
let T = n.parent;
|
|
26850
26850
|
for (; T && !T.tableId; )
|
|
26851
26851
|
T = T.parent;
|
|
@@ -26934,7 +26934,7 @@ var H4 = Ke({
|
|
|
26934
26934
|
});
|
|
26935
26935
|
const wI = Vn(cI, {
|
|
26936
26936
|
TableColumn: H4
|
|
26937
|
-
}), Gs =
|
|
26937
|
+
}), Gs = Sr(H4), vf = Symbol("tabsRootContextKey"), AI = Gt({
|
|
26938
26938
|
tabs: {
|
|
26939
26939
|
type: tt(Array),
|
|
26940
26940
|
default: () => ho([])
|
|
@@ -26946,8 +26946,8 @@ const wI = Vn(cI, {
|
|
|
26946
26946
|
props: AI,
|
|
26947
26947
|
setup(e, { expose: t }) {
|
|
26948
26948
|
const n = e, i = Kt(), r = gt(vf);
|
|
26949
|
-
r ||
|
|
26950
|
-
const s = bt("tabs"), l =
|
|
26949
|
+
r || lr(Q4, "<el-tabs><el-tab-bar /></el-tabs>");
|
|
26950
|
+
const s = bt("tabs"), l = se(), c = se(), d = () => {
|
|
26951
26951
|
let M = 0, b = 0;
|
|
26952
26952
|
const E = ["top", "bottom"].includes(r.props.tabPosition) ? "width" : "height", k = E === "width" ? "x" : "y", x = k === "x" ? "left" : "top";
|
|
26953
26953
|
return n.tabs.every((z) => {
|
|
@@ -27022,8 +27022,8 @@ const xI = Gt({
|
|
|
27022
27022
|
emit: n
|
|
27023
27023
|
}) {
|
|
27024
27024
|
const i = gt(vf);
|
|
27025
|
-
i ||
|
|
27026
|
-
const r = bt("tabs"), s = _L(), l = TL(), c =
|
|
27025
|
+
i || lr(Jv, "<el-tabs><tab-nav /></el-tabs>");
|
|
27026
|
+
const r = bt("tabs"), s = _L(), l = TL(), c = se(), d = se(), g = se(), y = se(), _ = se(!1), w = se(0), M = se(!1), b = se(!0), E = $(() => ["top", "bottom"].includes(i.props.tabPosition) ? "width" : "height"), k = $(() => ({
|
|
27027
27027
|
transform: `translate${E.value === "width" ? "X" : "Y"}(-${w.value}px)`
|
|
27028
27028
|
})), x = () => {
|
|
27029
27029
|
if (!c.value)
|
|
@@ -27189,7 +27189,7 @@ const xI = Gt({
|
|
|
27189
27189
|
children: c,
|
|
27190
27190
|
addChild: d,
|
|
27191
27191
|
removeChild: g
|
|
27192
|
-
} = tP(Kt(), "ElTabPane"), y =
|
|
27192
|
+
} = tP(Kt(), "ElTabPane"), y = se(), _ = se((r = e.modelValue) != null ? r : "0"), w = async (x, z = !1) => {
|
|
27193
27193
|
var T, F;
|
|
27194
27194
|
if (!(_.value === x || Zn(x)))
|
|
27195
27195
|
try {
|
|
@@ -27287,18 +27287,18 @@ const TI = Gt({
|
|
|
27287
27287
|
props: TI,
|
|
27288
27288
|
setup(e) {
|
|
27289
27289
|
const t = e, n = Kt(), i = Yu(), r = gt(vf);
|
|
27290
|
-
r ||
|
|
27291
|
-
const s = bt("tab-pane"), l =
|
|
27290
|
+
r || lr(U4, "usage: <el-tabs><el-tab-pane /></el-tabs/>");
|
|
27291
|
+
const s = bt("tab-pane"), l = se(), c = $(() => t.closable || r.props.closable), d = ip(() => {
|
|
27292
27292
|
var M;
|
|
27293
27293
|
return r.currentName.value === ((M = t.name) != null ? M : l.value);
|
|
27294
|
-
}), g =
|
|
27294
|
+
}), g = se(d.value), y = $(() => {
|
|
27295
27295
|
var M;
|
|
27296
27296
|
return (M = t.name) != null ? M : l.value;
|
|
27297
27297
|
}), _ = ip(() => !t.lazy || g.value || d.value);
|
|
27298
27298
|
ot(d, (M) => {
|
|
27299
27299
|
M && (g.value = !0);
|
|
27300
27300
|
});
|
|
27301
|
-
const w =
|
|
27301
|
+
const w = Mr({
|
|
27302
27302
|
uid: n.uid,
|
|
27303
27303
|
slots: i,
|
|
27304
27304
|
props: t,
|
|
@@ -27328,7 +27328,7 @@ const TI = Gt({
|
|
|
27328
27328
|
var K4 = /* @__PURE__ */ kt(DI, [["__file", "tab-pane.vue"]]);
|
|
27329
27329
|
const RI = Vn(II, {
|
|
27330
27330
|
TabPane: K4
|
|
27331
|
-
}), Xv =
|
|
27331
|
+
}), Xv = Sr(K4), j4 = Symbol("uploadContextKey"), FI = "ElUpload";
|
|
27332
27332
|
class NI extends Error {
|
|
27333
27333
|
constructor(t, n, i, r) {
|
|
27334
27334
|
super(t), this.name = "UploadAjaxError", this.status = n, this.method = i, this.url = r;
|
|
@@ -27349,7 +27349,7 @@ function GI(e) {
|
|
|
27349
27349
|
}
|
|
27350
27350
|
}
|
|
27351
27351
|
const zI = (e) => {
|
|
27352
|
-
typeof XMLHttpRequest > "u" &&
|
|
27352
|
+
typeof XMLHttpRequest > "u" && lr(FI, "XMLHttpRequest is undefined");
|
|
27353
27353
|
const t = new XMLHttpRequest(), n = e.action;
|
|
27354
27354
|
t.upload && t.upload.addEventListener("progress", (s) => {
|
|
27355
27355
|
const l = s;
|
|
@@ -27495,7 +27495,7 @@ const xp = () => Date.now() + HI++, V4 = Gt({
|
|
|
27495
27495
|
props: UI,
|
|
27496
27496
|
emits: KI,
|
|
27497
27497
|
setup(e, { emit: t }) {
|
|
27498
|
-
const n = e, { t: i } = yl(), r = bt("upload"), s = bt("icon"), l = bt("list"), c = Na(), d =
|
|
27498
|
+
const n = e, { t: i } = yl(), r = bt("upload"), s = bt("icon"), l = bt("list"), c = Na(), d = se(!1), g = $(() => [
|
|
27499
27499
|
r.b("list"),
|
|
27500
27500
|
r.bm("list", n.listType),
|
|
27501
27501
|
r.is("disabled", n.disabled)
|
|
@@ -27654,8 +27654,8 @@ const VI = Gt({
|
|
|
27654
27654
|
props: VI,
|
|
27655
27655
|
emits: WI,
|
|
27656
27656
|
setup(e, { emit: t }) {
|
|
27657
|
-
gt(j4) ||
|
|
27658
|
-
const i = bt("upload"), r =
|
|
27657
|
+
gt(j4) || lr(W4, "usage: <el-upload><el-upload-dragger /></el-upload>");
|
|
27658
|
+
const i = bt("upload"), r = se(!1), s = Na(), l = (d) => {
|
|
27659
27659
|
if (s.value)
|
|
27660
27660
|
return;
|
|
27661
27661
|
r.value = !1, d.stopPropagation();
|
|
@@ -27712,7 +27712,7 @@ const JI = Gt({
|
|
|
27712
27712
|
...XI,
|
|
27713
27713
|
props: JI,
|
|
27714
27714
|
setup(e, { expose: t }) {
|
|
27715
|
-
const n = e, i = bt("upload"), r = Na(), s =
|
|
27715
|
+
const n = e, i = bt("upload"), r = Na(), s = Zi({}), l = Zi(), c = (E) => {
|
|
27716
27716
|
if (E.length === 0)
|
|
27717
27717
|
return;
|
|
27718
27718
|
const { autoUpload: k, limit: x, fileList: z, multiple: T, onStart: F, onExceed: G } = n;
|
|
@@ -27879,7 +27879,7 @@ const iy = "ElUpload", ry = (e) => {
|
|
|
27879
27879
|
n.value = [...n.value, b], e.onChange(b, n.value);
|
|
27880
27880
|
}, _ = async (M) => {
|
|
27881
27881
|
const b = M instanceof File ? i(M) : M;
|
|
27882
|
-
b ||
|
|
27882
|
+
b || lr(iy, "file to be removed not found");
|
|
27883
27883
|
const E = (k) => {
|
|
27884
27884
|
r(k), l(k), e.onRemove(k, n.value), ry(k);
|
|
27885
27885
|
};
|
|
@@ -27923,7 +27923,7 @@ const iy = "ElUpload", ry = (e) => {
|
|
|
27923
27923
|
...nT,
|
|
27924
27924
|
props: QI,
|
|
27925
27925
|
setup(e, { expose: t }) {
|
|
27926
|
-
const n = e, i = Na(), r =
|
|
27926
|
+
const n = e, i = Na(), r = Zi(), {
|
|
27927
27927
|
abort: s,
|
|
27928
27928
|
submit: l,
|
|
27929
27929
|
clearFiles: c,
|
|
@@ -28110,21 +28110,21 @@ const aT = Vn(rT), Y4 = ["success", "info", "warning", "error"], Ai = ho({
|
|
|
28110
28110
|
}
|
|
28111
28111
|
}), sT = {
|
|
28112
28112
|
destroy: () => !0
|
|
28113
|
-
},
|
|
28114
|
-
const t =
|
|
28113
|
+
}, zr = i2([]), lT = (e) => {
|
|
28114
|
+
const t = zr.findIndex((r) => r.id === e), n = zr[t];
|
|
28115
28115
|
let i;
|
|
28116
|
-
return t > 0 && (i =
|
|
28116
|
+
return t > 0 && (i = zr[t - 1]), { current: n, prev: i };
|
|
28117
28117
|
}, uT = (e) => {
|
|
28118
28118
|
const { prev: t } = lT(e);
|
|
28119
28119
|
return t ? t.vm.exposed.bottom.value : 0;
|
|
28120
|
-
}, cT = (e, t) =>
|
|
28120
|
+
}, cT = (e, t) => zr.findIndex((i) => i.id === e) > 0 ? 16 : t, hT = Ke({
|
|
28121
28121
|
name: "ElMessage"
|
|
28122
28122
|
}), fT = /* @__PURE__ */ Ke({
|
|
28123
28123
|
...hT,
|
|
28124
28124
|
props: oT,
|
|
28125
28125
|
emits: sT,
|
|
28126
28126
|
setup(e, { expose: t }) {
|
|
28127
|
-
const n = e, { Close: i } = OS, { ns: r, zIndex: s } = qL("message"), { currentZIndex: l, nextZIndex: c } = s, d =
|
|
28127
|
+
const n = e, { Close: i } = OS, { ns: r, zIndex: s } = qL("message"), { currentZIndex: l, nextZIndex: c } = s, d = se(), g = se(!1), y = se(0);
|
|
28128
28128
|
let _;
|
|
28129
28129
|
const w = $(() => n.type ? n.type === "error" ? "danger" : n.type : "info"), M = $(() => {
|
|
28130
28130
|
const j = n.type;
|
|
@@ -28239,12 +28239,12 @@ const $4 = (e) => {
|
|
|
28239
28239
|
let i = document.querySelector(n.appendTo);
|
|
28240
28240
|
Qr(i) || (Rn("ElMessage", "the appendTo option is not an HTMLElement. Falling back to document.body."), i = document.body), n.appendTo = i;
|
|
28241
28241
|
}
|
|
28242
|
-
return ni(
|
|
28242
|
+
return ni(Rr.grouping) && !n.grouping && (n.grouping = Rr.grouping), hn(Rr.duration) && n.duration === 3e3 && (n.duration = Rr.duration), hn(Rr.offset) && n.offset === 16 && (n.offset = Rr.offset), ni(Rr.showClose) && !n.showClose && (n.showClose = Rr.showClose), n;
|
|
28243
28243
|
}, gT = (e) => {
|
|
28244
|
-
const t =
|
|
28244
|
+
const t = zr.indexOf(e);
|
|
28245
28245
|
if (t === -1)
|
|
28246
28246
|
return;
|
|
28247
|
-
|
|
28247
|
+
zr.splice(t, 1);
|
|
28248
28248
|
const { handler: n } = e;
|
|
28249
28249
|
n.close();
|
|
28250
28250
|
}, mT = ({ appendTo: e, ...t }, n) => {
|
|
@@ -28278,19 +28278,19 @@ const $4 = (e) => {
|
|
|
28278
28278
|
return { close: () => {
|
|
28279
28279
|
} };
|
|
28280
28280
|
const n = $4(e);
|
|
28281
|
-
if (n.grouping &&
|
|
28282
|
-
const r =
|
|
28281
|
+
if (n.grouping && zr.length) {
|
|
28282
|
+
const r = zr.find(({ vnode: s }) => {
|
|
28283
28283
|
var l;
|
|
28284
28284
|
return ((l = s.props) == null ? void 0 : l.message) === n.message;
|
|
28285
28285
|
});
|
|
28286
28286
|
if (r)
|
|
28287
28287
|
return r.props.repeatNum += 1, r.props.type = n.type, r.handler;
|
|
28288
28288
|
}
|
|
28289
|
-
if (hn(
|
|
28289
|
+
if (hn(Rr.max) && zr.length >= Rr.max)
|
|
28290
28290
|
return { close: () => {
|
|
28291
28291
|
} };
|
|
28292
28292
|
const i = mT(n, t);
|
|
28293
|
-
return
|
|
28293
|
+
return zr.push(i), i.handler;
|
|
28294
28294
|
};
|
|
28295
28295
|
Y4.forEach((e) => {
|
|
28296
28296
|
hl[e] = (t = {}, n) => {
|
|
@@ -28299,7 +28299,7 @@ Y4.forEach((e) => {
|
|
|
28299
28299
|
};
|
|
28300
28300
|
});
|
|
28301
28301
|
function vT(e) {
|
|
28302
|
-
for (const t of
|
|
28302
|
+
for (const t of zr)
|
|
28303
28303
|
(!e || e === t.props.type) && t.handler.close();
|
|
28304
28304
|
}
|
|
28305
28305
|
hl.closeAll = vT;
|
|
@@ -29770,7 +29770,7 @@ const Mb = new EO(), SO = () => {
|
|
|
29770
29770
|
};
|
|
29771
29771
|
}
|
|
29772
29772
|
}
|
|
29773
|
-
},
|
|
29773
|
+
}, cr = {
|
|
29774
29774
|
noAuto: SO,
|
|
29775
29775
|
config: wt,
|
|
29776
29776
|
dom: kO,
|
|
@@ -29783,7 +29783,7 @@ const Mb = new EO(), SO = () => {
|
|
|
29783
29783
|
const {
|
|
29784
29784
|
autoReplaceSvgRoot: t = En
|
|
29785
29785
|
} = e;
|
|
29786
|
-
(Object.keys(la.styles).length > 0 || wt.autoFetchSvg) && Ga && wt.autoReplaceSvg &&
|
|
29786
|
+
(Object.keys(la.styles).length > 0 || wt.autoFetchSvg) && Ga && wt.autoReplaceSvg && cr.dom.i2svg({
|
|
29787
29787
|
node: t
|
|
29788
29788
|
});
|
|
29789
29789
|
};
|
|
@@ -30948,18 +30948,18 @@ var pD = {
|
|
|
30948
30948
|
}
|
|
30949
30949
|
}, vD = [uO, eD, tD, nD, iD, cD, hD, fD, pD, gD, mD];
|
|
30950
30950
|
LO(vD, {
|
|
30951
|
-
mixoutsTo:
|
|
30951
|
+
mixoutsTo: cr
|
|
30952
30952
|
});
|
|
30953
|
-
|
|
30954
|
-
const Bb =
|
|
30955
|
-
|
|
30956
|
-
const zh =
|
|
30957
|
-
|
|
30958
|
-
|
|
30959
|
-
const _D =
|
|
30960
|
-
|
|
30961
|
-
const bD =
|
|
30962
|
-
|
|
30953
|
+
cr.noAuto;
|
|
30954
|
+
const Bb = cr.config, yD = cr.library;
|
|
30955
|
+
cr.dom;
|
|
30956
|
+
const zh = cr.parse;
|
|
30957
|
+
cr.findIconDefinition;
|
|
30958
|
+
cr.toHtml;
|
|
30959
|
+
const _D = cr.icon;
|
|
30960
|
+
cr.layer;
|
|
30961
|
+
const bD = cr.text;
|
|
30962
|
+
cr.counter;
|
|
30963
30963
|
/*!
|
|
30964
30964
|
* Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
|
|
30965
30965
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
@@ -31064,7 +31064,7 @@ function Iy(e, t) {
|
|
|
31064
31064
|
}
|
|
31065
31065
|
return n;
|
|
31066
31066
|
}
|
|
31067
|
-
function
|
|
31067
|
+
function Nr(e) {
|
|
31068
31068
|
for (var t = 1; t < arguments.length; t++) {
|
|
31069
31069
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
31070
31070
|
t % 2 ? Iy(Object(n), !0).forEach(function(i) {
|
|
@@ -31262,9 +31262,9 @@ function ug(e) {
|
|
|
31262
31262
|
});
|
|
31263
31263
|
n.class;
|
|
31264
31264
|
var s = n.style, l = s === void 0 ? {} : s, c = qD(n, XD);
|
|
31265
|
-
return Ct(e.tag,
|
|
31265
|
+
return Ct(e.tag, Nr(Nr(Nr({}, t), {}, {
|
|
31266
31266
|
class: r.class,
|
|
31267
|
-
style:
|
|
31267
|
+
style: Nr(Nr({}, r.style), l)
|
|
31268
31268
|
}, r.attrs), c), i);
|
|
31269
31269
|
}
|
|
31270
31270
|
var Ib = !1;
|
|
@@ -31449,7 +31449,7 @@ var rR = Ke({
|
|
|
31449
31449
|
}), c = $(function() {
|
|
31450
31450
|
return _u("mask", Ty(t.mask));
|
|
31451
31451
|
}), d = $(function() {
|
|
31452
|
-
return _D(r.value,
|
|
31452
|
+
return _D(r.value, Nr(Nr(Nr(Nr({}, s.value), l.value), c.value), {}, {
|
|
31453
31453
|
symbol: t.symbol,
|
|
31454
31454
|
title: t.title,
|
|
31455
31455
|
titleId: t.titleId,
|
|
@@ -31518,7 +31518,7 @@ Ke({
|
|
|
31518
31518
|
}), l = $(function() {
|
|
31519
31519
|
return _u("transform", typeof t.transform == "string" ? zh.transform(t.transform) : t.transform);
|
|
31520
31520
|
}), c = $(function() {
|
|
31521
|
-
var g = bD(t.value.toString(),
|
|
31521
|
+
var g = bD(t.value.toString(), Nr(Nr({}, l.value), s.value)), y = g.abstract;
|
|
31522
31522
|
return t.counter && (y[0].attributes.class = y[0].attributes.class.replace("fa-layers-text", "")), y[0];
|
|
31523
31523
|
}), d = $(function() {
|
|
31524
31524
|
return ug(c.value, {}, i);
|
|
@@ -31986,7 +31986,7 @@ const Dn = /* @__PURE__ */ Ke({
|
|
|
31986
31986
|
children: (Q.children || []).map(
|
|
31987
31987
|
(J) => Au(J, s.persist)
|
|
31988
31988
|
)
|
|
31989
|
-
} : Au(Q, s.persist), d =
|
|
31989
|
+
} : Au(Q, s.persist), d = se(
|
|
31990
31990
|
(s.groupData.layers ?? []).map((Q) => c(Q))
|
|
31991
31991
|
);
|
|
31992
31992
|
ot(
|
|
@@ -32424,7 +32424,7 @@ const Dn = /* @__PURE__ */ Ke({
|
|
|
32424
32424
|
emits: ["startLoading", "stopLoading", "onChildLayerToggle", "onGroupLayerToggle", "onLayerAction", "onSectionEditStateChange", "onSelectedSectionChange"],
|
|
32425
32425
|
setup(e, { emit: t }) {
|
|
32426
32426
|
var Je;
|
|
32427
|
-
const n = t, i = e, r =
|
|
32427
|
+
const n = t, i = e, r = se(!!((Je = i.options) != null && Je.defaultOpen)), s = se({}), l = se({}), c = se(null), d = se(null), g = $(() => dl(i.layersConfig)), y = $(() => {
|
|
32428
32428
|
var fe;
|
|
32429
32429
|
return ((fe = i.options) == null ? void 0 : fe.visibilityMode) ?? "switch";
|
|
32430
32430
|
}), _ = $(() => {
|
|
@@ -32558,7 +32558,7 @@ const Dn = /* @__PURE__ */ Ke({
|
|
|
32558
32558
|
xe();
|
|
32559
32559
|
});
|
|
32560
32560
|
},
|
|
32561
|
-
{ immediate: !0
|
|
32561
|
+
{ immediate: !0 }
|
|
32562
32562
|
);
|
|
32563
32563
|
const Ne = (fe) => {
|
|
32564
32564
|
Q(fe), n("onChildLayerToggle", fe);
|
|
@@ -32940,16 +32940,16 @@ function e7() {
|
|
|
32940
32940
|
}
|
|
32941
32941
|
function Ve(jt) {
|
|
32942
32942
|
if (O.header && !De && ve.length && !me) {
|
|
32943
|
-
var sn = ve[0], wn = /* @__PURE__ */ Object.create(null),
|
|
32943
|
+
var sn = ve[0], wn = /* @__PURE__ */ Object.create(null), nr = new Set(sn);
|
|
32944
32944
|
let gi = !1;
|
|
32945
32945
|
for (let Ni = 0; Ni < sn.length; Ni++) {
|
|
32946
32946
|
let Pn = sn[Ni];
|
|
32947
32947
|
if (wn[Pn = j(O.transformHeader) ? O.transformHeader(Pn, Ni) : Pn]) {
|
|
32948
32948
|
let ut, Et = wn[Pn];
|
|
32949
|
-
for (; ut = Pn + "_" + Et, Et++,
|
|
32950
|
-
|
|
32949
|
+
for (; ut = Pn + "_" + Et, Et++, nr.has(ut); ) ;
|
|
32950
|
+
nr.add(ut), sn[Ni] = ut, wn[Pn]++, gi = !0, (Ge = Ge === null ? {} : Ge)[ut] = Pn;
|
|
32951
32951
|
} else wn[Pn] = 1, sn[Ni] = Pn;
|
|
32952
|
-
|
|
32952
|
+
nr.add(Pn);
|
|
32953
32953
|
}
|
|
32954
32954
|
gi && console.warn("Duplicate headers found and renamed."), me = !0;
|
|
32955
32955
|
}
|
|
@@ -33286,20 +33286,20 @@ function o7(e) {
|
|
|
33286
33286
|
e("EPSG:" + (32600 + t), "+proj=utm +zone=" + t + " +datum=WGS84 +units=m"), e("EPSG:" + (32700 + t), "+proj=utm +zone=" + t + " +south +datum=WGS84 +units=m");
|
|
33287
33287
|
e("EPSG:5041", "+title=WGS 84 / UPS North (E,N) +proj=stere +lat_0=90 +lon_0=0 +k=0.994 +x_0=2000000 +y_0=2000000 +datum=WGS84 +units=m"), e("EPSG:5042", "+title=WGS 84 / UPS South (E,N) +proj=stere +lat_0=-90 +lon_0=0 +k=0.994 +x_0=2000000 +y_0=2000000 +datum=WGS84 +units=m"), e.WGS84 = e["EPSG:4326"], e["EPSG:3785"] = e["EPSG:3857"], e.GOOGLE = e["EPSG:3857"], e["EPSG:900913"] = e["EPSG:3857"], e["EPSG:102113"] = e["EPSG:3857"];
|
|
33288
33288
|
}
|
|
33289
|
-
var Vo = 1, Wo = 2, Xs = 3, s7 = 4, Yp = 5, zy = 6378137, l7 = 6356752314e-3, Hy = 0.0066943799901413165, Cu = 484813681109536e-20, Ye = Math.PI / 2, u7 = 0.16666666666666666, c7 = 0.04722222222222222, h7 = 0.022156084656084655, at = 1e-10, On = 0.017453292519943295, $i = 57.29577951308232, un = Math.PI / 4, Uu = Math.PI * 2, Gn = 3.14159265359,
|
|
33290
|
-
|
|
33291
|
-
|
|
33292
|
-
|
|
33293
|
-
|
|
33294
|
-
|
|
33295
|
-
|
|
33296
|
-
|
|
33297
|
-
|
|
33298
|
-
|
|
33299
|
-
|
|
33300
|
-
|
|
33301
|
-
|
|
33302
|
-
|
|
33289
|
+
var Vo = 1, Wo = 2, Xs = 3, s7 = 4, Yp = 5, zy = 6378137, l7 = 6356752314e-3, Hy = 0.0066943799901413165, Cu = 484813681109536e-20, Ye = Math.PI / 2, u7 = 0.16666666666666666, c7 = 0.04722222222222222, h7 = 0.022156084656084655, at = 1e-10, On = 0.017453292519943295, $i = 57.29577951308232, un = Math.PI / 4, Uu = Math.PI * 2, Gn = 3.14159265359, tr = {};
|
|
33290
|
+
tr.greenwich = 0;
|
|
33291
|
+
tr.lisbon = -9.131906111111;
|
|
33292
|
+
tr.paris = 2.337229166667;
|
|
33293
|
+
tr.bogota = -74.080916666667;
|
|
33294
|
+
tr.madrid = -3.687938888889;
|
|
33295
|
+
tr.rome = 12.452333333333;
|
|
33296
|
+
tr.bern = 7.439583333333;
|
|
33297
|
+
tr.jakarta = 106.807719444444;
|
|
33298
|
+
tr.ferro = -17.666666666667;
|
|
33299
|
+
tr.brussels = 4.367975;
|
|
33300
|
+
tr.stockholm = 18.058277777778;
|
|
33301
|
+
tr.athens = 23.7163375;
|
|
33302
|
+
tr.oslo = 10.722916666667;
|
|
33303
33303
|
const f7 = {
|
|
33304
33304
|
mm: { to_meter: 1e-3 },
|
|
33305
33305
|
cm: { to_meter: 0.01 },
|
|
@@ -33421,7 +33421,7 @@ function $p(e) {
|
|
|
33421
33421
|
t.from_greenwich = c * On;
|
|
33422
33422
|
},
|
|
33423
33423
|
pm: function(c) {
|
|
33424
|
-
var d = mo(
|
|
33424
|
+
var d = mo(tr, c);
|
|
33425
33425
|
t.from_greenwich = (d || parseFloat(c)) * On;
|
|
33426
33426
|
},
|
|
33427
33427
|
nadgrids: function(c) {
|
|
@@ -33844,12 +33844,12 @@ function qs(e, t) {
|
|
|
33844
33844
|
}
|
|
33845
33845
|
}
|
|
33846
33846
|
var A7 = 0.017453292519943295;
|
|
33847
|
-
function
|
|
33847
|
+
function _r(e) {
|
|
33848
33848
|
return e * A7;
|
|
33849
33849
|
}
|
|
33850
33850
|
function Hb(e) {
|
|
33851
33851
|
const t = (e.projName || "").toLowerCase().replace(/_/g, " ");
|
|
33852
|
-
e.long0 === void 0 && e.longc !== void 0 && (e.long0 = e.longc), !e.lat_ts && e.lat1 && (t === "stereographic south pole" || t === "polar stereographic (variant b)") ? (e.lat0 =
|
|
33852
|
+
e.long0 === void 0 && e.longc !== void 0 && (e.long0 = e.longc), !e.lat_ts && e.lat1 && (t === "stereographic south pole" || t === "polar stereographic (variant b)") ? (e.lat0 = _r(e.lat1 > 0 ? 90 : -90), e.lat_ts = e.lat1, delete e.lat1) : !e.lat_ts && e.lat0 && (t === "polar stereographic" || t === "polar stereographic (variant a)") && (e.lat_ts = e.lat0, e.lat0 = _r(e.lat0 > 0 ? 90 : -90), delete e.lat1);
|
|
33853
33853
|
}
|
|
33854
33854
|
function Uy(e) {
|
|
33855
33855
|
let t = { units: null, to_meter: void 0 };
|
|
@@ -33961,7 +33961,7 @@ function E7(e) {
|
|
|
33961
33961
|
}
|
|
33962
33962
|
e.UNIT && (e.units = e.UNIT.name.toLowerCase(), e.units === "metre" && (e.units = "meter"), e.UNIT.convert && (e.type === "GEOGCS" ? e.DATUM && e.DATUM.SPHEROID && (e.to_meter = e.UNIT.convert * e.DATUM.SPHEROID.a) : e.to_meter = e.UNIT.convert));
|
|
33963
33963
|
var l = e.GEOGCS;
|
|
33964
|
-
e.type === "GEOGCS" && (l = e), l && (l.PRIMEM && l.PRIMEM.convert && (e.from_greenwich =
|
|
33964
|
+
e.type === "GEOGCS" && (l = e), l && (l.PRIMEM && l.PRIMEM.convert && (e.from_greenwich = _r(l.PRIMEM.convert)), l.DATUM ? e.datumCode = l.DATUM.name.toLowerCase() : e.datumCode = l.name.toLowerCase(), e.datumCode.slice(0, 2) === "d_" && (e.datumCode = e.datumCode.slice(2)), e.datumCode === "new_zealand_1949" && (e.datumCode = "nzgd49"), (e.datumCode === "wgs_1984" || e.datumCode === "world_geodetic_system_1984") && (e.PROJECTION === "Mercator_Auxiliary_Sphere" && (e.sphere = !0), e.datumCode = "wgs84"), e.datumCode === "belge_1972" && (e.datumCode = "rnb72"), l.DATUM && l.DATUM.SPHEROID && (e.ellps = l.DATUM.SPHEROID.name.replace("_19", "").replace(/[Cc]larke\_18/, "clrk"), e.ellps.toLowerCase().slice(0, 13) === "international" && (e.ellps = "intl"), e.a = l.DATUM.SPHEROID.a, e.rf = parseFloat(l.DATUM.SPHEROID.rf)), l.DATUM && l.DATUM.TOWGS84 && (e.datum_params = l.DATUM.TOWGS84), ~e.datumCode.indexOf("osgb_1936") && (e.datumCode = "osgb36"), ~e.datumCode.indexOf("osni_1952") && (e.datumCode = "osni52"), (~e.datumCode.indexOf("tm65") || ~e.datumCode.indexOf("geodetic_datum_of_1965")) && (e.datumCode = "ire65"), e.datumCode === "ch1903+" && (e.datumCode = "ch1903"), ~e.datumCode.indexOf("israel") && (e.datumCode = "isr93")), e.b && !isFinite(e.b) && (e.b = e.a), e.rectified_grid_angle && (e.rectified_grid_angle = _r(e.rectified_grid_angle));
|
|
33965
33965
|
function c(y) {
|
|
33966
33966
|
var _ = e.to_meter || 1;
|
|
33967
33967
|
return y * _;
|
|
@@ -33990,19 +33990,19 @@ function E7(e) {
|
|
|
33990
33990
|
["k0", "scale_factor"],
|
|
33991
33991
|
["latitude_of_center", "Latitude_Of_Center"],
|
|
33992
33992
|
["latitude_of_center", "Latitude_of_center"],
|
|
33993
|
-
["lat0", "latitude_of_center",
|
|
33993
|
+
["lat0", "latitude_of_center", _r],
|
|
33994
33994
|
["longitude_of_center", "Longitude_Of_Center"],
|
|
33995
33995
|
["longitude_of_center", "Longitude_of_center"],
|
|
33996
|
-
["longc", "longitude_of_center",
|
|
33996
|
+
["longc", "longitude_of_center", _r],
|
|
33997
33997
|
["x0", "false_easting", c],
|
|
33998
33998
|
["y0", "false_northing", c],
|
|
33999
|
-
["long0", "central_meridian",
|
|
34000
|
-
["lat0", "latitude_of_origin",
|
|
34001
|
-
["lat0", "standard_parallel_1",
|
|
34002
|
-
["lat1", "standard_parallel_1",
|
|
34003
|
-
["lat2", "standard_parallel_2",
|
|
33999
|
+
["long0", "central_meridian", _r],
|
|
34000
|
+
["lat0", "latitude_of_origin", _r],
|
|
34001
|
+
["lat0", "standard_parallel_1", _r],
|
|
34002
|
+
["lat1", "standard_parallel_1", _r],
|
|
34003
|
+
["lat2", "standard_parallel_2", _r],
|
|
34004
34004
|
["azimuth", "Azimuth"],
|
|
34005
|
-
["alpha", "azimuth",
|
|
34005
|
+
["alpha", "azimuth", _r],
|
|
34006
34006
|
["srsCode", "name"]
|
|
34007
34007
|
];
|
|
34008
34008
|
g.forEach(d), Hb(e);
|
|
@@ -35925,9 +35925,9 @@ function aF(e, t, n, i, r) {
|
|
|
35925
35925
|
}
|
|
35926
35926
|
return c;
|
|
35927
35927
|
}
|
|
35928
|
-
function
|
|
35929
|
-
if (!(this instanceof
|
|
35930
|
-
return new
|
|
35928
|
+
function Cr(e, t) {
|
|
35929
|
+
if (!(this instanceof Cr))
|
|
35930
|
+
return new Cr(e);
|
|
35931
35931
|
this.forward = null, this.inverse = null, this.init = null, this.name, this.names = null, this.title, t = t || function(g) {
|
|
35932
35932
|
if (g)
|
|
35933
35933
|
throw g;
|
|
@@ -35937,7 +35937,7 @@ function Ar(e, t) {
|
|
|
35937
35937
|
t("Could not parse to valid json: " + e);
|
|
35938
35938
|
return;
|
|
35939
35939
|
}
|
|
35940
|
-
var i =
|
|
35940
|
+
var i = Cr.projections.get(n.projName);
|
|
35941
35941
|
if (!i) {
|
|
35942
35942
|
t("Could not get projection name from: " + e);
|
|
35943
35943
|
return;
|
|
@@ -35958,8 +35958,8 @@ function Ar(e, t) {
|
|
|
35958
35958
|
);
|
|
35959
35959
|
Vy(this, n), Vy(this, i), this.a = s.a, this.b = s.b, this.rf = s.rf, this.sphere = s.sphere, this.es = l.es, this.e = l.e, this.ep2 = l.ep2, this.datum = d, "init" in this && typeof this.init == "function" && this.init(), t(null, this);
|
|
35960
35960
|
}
|
|
35961
|
-
|
|
35962
|
-
|
|
35961
|
+
Cr.projections = U7;
|
|
35962
|
+
Cr.projections.start();
|
|
35963
35963
|
function oF(e, t) {
|
|
35964
35964
|
return e.datum_type !== t.datum_type || e.a !== t.a || Math.abs(e.es - t.es) > 5e-11 ? !1 : e.datum_type === Vo ? e.datum_params[0] === t.datum_params[0] && e.datum_params[1] === t.datum_params[1] && e.datum_params[2] === t.datum_params[2] : e.datum_type === Wo ? e.datum_params[0] === t.datum_params[0] && e.datum_params[1] === t.datum_params[1] && e.datum_params[2] === t.datum_params[2] && e.datum_params[3] === t.datum_params[3] && e.datum_params[4] === t.datum_params[4] && e.datum_params[5] === t.datum_params[5] && e.datum_params[6] === t.datum_params[6] : !0;
|
|
35965
35965
|
}
|
|
@@ -36180,7 +36180,7 @@ function jh(e, t, n, i) {
|
|
|
36180
36180
|
m: n.m
|
|
36181
36181
|
};
|
|
36182
36182
|
var s = n.z !== void 0;
|
|
36183
|
-
if (hF(n), e.datum && t.datum && fF(e, t) && (r = new
|
|
36183
|
+
if (hF(n), e.datum && t.datum && fF(e, t) && (r = new Cr("WGS84"), n = jh(e, r, n, i), e = r), i && e.axis !== "enu" && (n = Jy(e, !1, n)), e.projName === "longlat")
|
|
36184
36184
|
n = {
|
|
36185
36185
|
x: n.x * On,
|
|
36186
36186
|
y: n.y * On,
|
|
@@ -36208,7 +36208,7 @@ function jh(e, t, n, i) {
|
|
|
36208
36208
|
z: n.z || 0
|
|
36209
36209
|
})), i && t.axis !== "enu" ? Jy(t, !0, n) : (n && !s && t.projName !== "geocent" && delete n.z, n);
|
|
36210
36210
|
}
|
|
36211
|
-
var e_ =
|
|
36211
|
+
var e_ = Cr("WGS84");
|
|
36212
36212
|
function Gd(e, t, n, i) {
|
|
36213
36213
|
var r, s, l;
|
|
36214
36214
|
return Array.isArray(n) ? (r = jh(e, t, n, i) || { x: NaN, y: NaN }, n.length > 2 ? typeof e.name < "u" && e.name === "geocent" || typeof t.name < "u" && t.name === "geocent" ? typeof r.z == "number" ? (
|
|
@@ -36234,7 +36234,7 @@ function Gd(e, t, n, i) {
|
|
|
36234
36234
|
s);
|
|
36235
36235
|
}
|
|
36236
36236
|
function rh(e) {
|
|
36237
|
-
return e instanceof
|
|
36237
|
+
return e instanceof Cr ? e : typeof e == "object" && "oProj" in e ? e.oProj : Cr(
|
|
36238
36238
|
/** @type {string | PROJJSONDefinition} */
|
|
36239
36239
|
e
|
|
36240
36240
|
);
|
|
@@ -36268,7 +36268,7 @@ function dF(e, t, n) {
|
|
|
36268
36268
|
}
|
|
36269
36269
|
}, s && (l.oProj = r), l);
|
|
36270
36270
|
}
|
|
36271
|
-
var t_ = 6, $b = "AJSAJS", Zb = "AFAFAF", Ws = 65, ji = 73,
|
|
36271
|
+
var t_ = 6, $b = "AJSAJS", Zb = "AFAFAF", Ws = 65, ji = 73, br = 79, lu = 86, uu = 90;
|
|
36272
36272
|
const pF = {
|
|
36273
36273
|
forward: Jb,
|
|
36274
36274
|
inverse: gF,
|
|
@@ -36354,7 +36354,7 @@ function e3(e) {
|
|
|
36354
36354
|
}
|
|
36355
36355
|
function bF(e, t, n) {
|
|
36356
36356
|
var i = n - 1, r = $b.charCodeAt(i), s = Zb.charCodeAt(i), l = r + e - 1, c = s + t, d = !1;
|
|
36357
|
-
l > uu && (l = l - uu + Ws - 1, d = !0), (l === ji || r < ji && l > ji || (l > ji || r < ji) && d) && l++, (l ===
|
|
36357
|
+
l > uu && (l = l - uu + Ws - 1, d = !0), (l === ji || r < ji && l > ji || (l > ji || r < ji) && d) && l++, (l === br || r < br && l > br || (l > br || r < br) && d) && (l++, l === ji && l++), l > uu && (l = l - uu + Ws - 1), c > lu ? (c = c - lu + Ws - 1, d = !0) : d = !1, (c === ji || s < ji && c > ji || (c > ji || s < ji) && d) && c++, (c === br || s < br && c > br || (c > br || s < br) && d) && (c++, c === ji && c++), c > lu && (c = c - lu + Ws - 1);
|
|
36358
36358
|
var g = String.fromCharCode(l) + String.fromCharCode(c);
|
|
36359
36359
|
return g;
|
|
36360
36360
|
}
|
|
@@ -36392,7 +36392,7 @@ northing meters` + e;
|
|
|
36392
36392
|
}
|
|
36393
36393
|
function wF(e, t) {
|
|
36394
36394
|
for (var n = $b.charCodeAt(t - 1), i = 1e5, r = !1; n !== e.charCodeAt(0); ) {
|
|
36395
|
-
if (n++, n === ji && n++, n ===
|
|
36395
|
+
if (n++, n === ji && n++, n === br && n++, n > uu) {
|
|
36396
36396
|
if (r)
|
|
36397
36397
|
throw "Bad character: " + e;
|
|
36398
36398
|
n = Ws, r = !0;
|
|
@@ -36405,7 +36405,7 @@ function AF(e, t) {
|
|
|
36405
36405
|
if (e > "V")
|
|
36406
36406
|
throw "MGRSPoint given invalid Northing " + e;
|
|
36407
36407
|
for (var n = Zb.charCodeAt(t - 1), i = 0, r = !1; n !== e.charCodeAt(0); ) {
|
|
36408
|
-
if (n++, n === ji && n++, n ===
|
|
36408
|
+
if (n++, n === ji && n++, n === br && n++, n > lu) {
|
|
36409
36409
|
if (r)
|
|
36410
36410
|
throw "Bad character: " + e;
|
|
36411
36411
|
n = Ws, r = !0;
|
|
@@ -37883,7 +37883,7 @@ function JG() {
|
|
|
37883
37883
|
throw new Error("Missing parameter: o_proj");
|
|
37884
37884
|
if (this.o_proj === "ob_tran")
|
|
37885
37885
|
throw new Error("Invalid value for o_proj: " + this.o_proj);
|
|
37886
|
-
const e = this.projStr.replace("+proj=ob_tran", "").replace("+o_proj=", "+proj=").trim(), t =
|
|
37886
|
+
const e = this.projStr.replace("+proj=ob_tran", "").replace("+o_proj=", "+proj=").trim(), t = Cr(e);
|
|
37887
37887
|
if (!t)
|
|
37888
37888
|
throw new Error("Invalid parameter: o_proj. Unknown projection " + this.o_proj);
|
|
37889
37889
|
t.long0 = 0, this.obliqueProjection = t;
|
|
@@ -38019,8 +38019,8 @@ function lz(e) {
|
|
|
38019
38019
|
}
|
|
38020
38020
|
const Ef = Object.assign(dF, {
|
|
38021
38021
|
defaultDatum: "WGS84",
|
|
38022
|
-
Proj:
|
|
38023
|
-
WGS84: new
|
|
38022
|
+
Proj: Cr,
|
|
38023
|
+
WGS84: new Cr("WGS84"),
|
|
38024
38024
|
Point: pl,
|
|
38025
38025
|
toPoint: Yb,
|
|
38026
38026
|
defs: fi,
|
|
@@ -38500,7 +38500,7 @@ function $h(e) {
|
|
|
38500
38500
|
function Nz(e, t, n) {
|
|
38501
38501
|
return Array.from(e.getElementsByTagNameNS(n, t));
|
|
38502
38502
|
}
|
|
38503
|
-
function
|
|
38503
|
+
function ur(e) {
|
|
38504
38504
|
return e == null || e.normalize(), (e == null ? void 0 : e.textContent) || "";
|
|
38505
38505
|
}
|
|
38506
38506
|
function Li(e, t, n) {
|
|
@@ -38515,11 +38515,11 @@ function qr(e, t, n) {
|
|
|
38515
38515
|
return s && n ? n(s, i) : i;
|
|
38516
38516
|
}
|
|
38517
38517
|
function ml(e, t, n) {
|
|
38518
|
-
const i =
|
|
38518
|
+
const i = ur(Li(e, t));
|
|
38519
38519
|
return i && n ? n(i) || {} : {};
|
|
38520
38520
|
}
|
|
38521
38521
|
function Wi(e, t, n) {
|
|
38522
|
-
const i = Number.parseFloat(
|
|
38522
|
+
const i = Number.parseFloat(ur(Li(e, t)));
|
|
38523
38523
|
if (!Number.isNaN(i))
|
|
38524
38524
|
return n && n(i), i;
|
|
38525
38525
|
}
|
|
@@ -38545,7 +38545,7 @@ function Zh(e, t, n) {
|
|
|
38545
38545
|
}), i;
|
|
38546
38546
|
}
|
|
38547
38547
|
function Mg(e, t) {
|
|
38548
|
-
return qr(e, "color", (n) => d3(
|
|
38548
|
+
return qr(e, "color", (n) => d3(ur(n), t));
|
|
38549
38549
|
}
|
|
38550
38550
|
function Eg(e) {
|
|
38551
38551
|
return qr(e, "Icon", (t, n) => (ml(t, "href", (i) => {
|
|
@@ -38568,7 +38568,7 @@ function Hz(e) {
|
|
|
38568
38568
|
return qr(e, "LineStyle", (t) => Object.assign(Mg(t, "stroke"), Zh(t, "width", "stroke-width")));
|
|
38569
38569
|
}
|
|
38570
38570
|
function Qz(e) {
|
|
38571
|
-
return qr(e, "PolyStyle", (t, n) => Object.assign(n, qr(t, "color", (i) => d3(
|
|
38571
|
+
return qr(e, "PolyStyle", (t, n) => Object.assign(n, qr(t, "color", (i) => d3(ur(i), "fill")), ml(t, "fill", (i) => {
|
|
38572
38572
|
if (i === "0")
|
|
38573
38573
|
return { "fill-opacity": 0 };
|
|
38574
38574
|
}), ml(t, "outline", (i) => {
|
|
@@ -38589,7 +38589,7 @@ function n0(e) {
|
|
|
38589
38589
|
function qz(e) {
|
|
38590
38590
|
let t = Kr(e, "coord");
|
|
38591
38591
|
t.length === 0 && (t = Nz(e, "coord", "*"));
|
|
38592
|
-
const n = t.map((i) =>
|
|
38592
|
+
const n = t.map((i) => ur(i).split(" ").map(Number.parseFloat));
|
|
38593
38593
|
return n.length === 0 ? null : {
|
|
38594
38594
|
geometry: n.length > 2 ? {
|
|
38595
38595
|
type: "LineString",
|
|
@@ -38598,7 +38598,7 @@ function qz(e) {
|
|
|
38598
38598
|
type: "Point",
|
|
38599
38599
|
coordinates: n[0]
|
|
38600
38600
|
},
|
|
38601
|
-
times: Kr(e, "when").map((i) =>
|
|
38601
|
+
times: Kr(e, "when").map((i) => ur(i))
|
|
38602
38602
|
};
|
|
38603
38603
|
}
|
|
38604
38604
|
function g3(e) {
|
|
@@ -38614,7 +38614,7 @@ function g3(e) {
|
|
|
38614
38614
|
return i ? e : e.concat([e[0]]);
|
|
38615
38615
|
}
|
|
38616
38616
|
function Mh(e) {
|
|
38617
|
-
return
|
|
38617
|
+
return ur(Li(e, "coordinates"));
|
|
38618
38618
|
}
|
|
38619
38619
|
function m3(e) {
|
|
38620
38620
|
let t = [], n = [];
|
|
@@ -38687,10 +38687,10 @@ const zs = (e) => Number(e), i0 = {
|
|
|
38687
38687
|
function xg(e, t) {
|
|
38688
38688
|
return qr(e, "ExtendedData", (n, i) => {
|
|
38689
38689
|
for (const r of Kr(n, "Data"))
|
|
38690
|
-
i[r.getAttribute("name") || ""] =
|
|
38690
|
+
i[r.getAttribute("name") || ""] = ur(Li(r, "value"));
|
|
38691
38691
|
for (const r of Kr(n, "SimpleData")) {
|
|
38692
38692
|
const s = r.getAttribute("name") || "", l = t[s] || i0.string;
|
|
38693
|
-
i[s] = l(
|
|
38693
|
+
i[s] = l(ur(r));
|
|
38694
38694
|
}
|
|
38695
38695
|
return i;
|
|
38696
38696
|
});
|
|
@@ -38702,7 +38702,7 @@ function Lg(e) {
|
|
|
38702
38702
|
return {
|
|
38703
38703
|
description: {
|
|
38704
38704
|
"@type": "html",
|
|
38705
|
-
value:
|
|
38705
|
+
value: ur(n)
|
|
38706
38706
|
}
|
|
38707
38707
|
};
|
|
38708
38708
|
return {};
|
|
@@ -38710,33 +38710,33 @@ function Lg(e) {
|
|
|
38710
38710
|
function Sg(e) {
|
|
38711
38711
|
return qr(e, "TimeSpan", (t) => ({
|
|
38712
38712
|
timespan: {
|
|
38713
|
-
begin:
|
|
38714
|
-
end:
|
|
38713
|
+
begin: ur(Li(t, "begin")),
|
|
38714
|
+
end: ur(Li(t, "end"))
|
|
38715
38715
|
}
|
|
38716
38716
|
}));
|
|
38717
38717
|
}
|
|
38718
38718
|
function kg(e) {
|
|
38719
|
-
return qr(e, "TimeStamp", (t) => ({ timestamp:
|
|
38719
|
+
return qr(e, "TimeStamp", (t) => ({ timestamp: ur(Li(t, "when")) }));
|
|
38720
38720
|
}
|
|
38721
38721
|
function Bg(e, t) {
|
|
38722
38722
|
return ml(e, "styleUrl", (n) => (n = $h(n), t[n] ? Object.assign({ styleUrl: n }, t[n]) : { styleUrl: n }));
|
|
38723
38723
|
}
|
|
38724
|
-
var
|
|
38724
|
+
var wr;
|
|
38725
38725
|
(function(e) {
|
|
38726
38726
|
e.ABSOLUTE = "absolute", e.RELATIVE_TO_GROUND = "relativeToGround", e.CLAMP_TO_GROUND = "clampToGround", e.CLAMP_TO_SEAFLOOR = "clampToSeaFloor", e.RELATIVE_TO_SEAFLOOR = "relativeToSeaFloor";
|
|
38727
|
-
})(
|
|
38727
|
+
})(wr || (wr = {}));
|
|
38728
38728
|
function Vz(e) {
|
|
38729
38729
|
switch (e == null ? void 0 : e.textContent) {
|
|
38730
|
-
case
|
|
38731
|
-
return
|
|
38732
|
-
case
|
|
38733
|
-
return
|
|
38734
|
-
case
|
|
38735
|
-
return
|
|
38736
|
-
case
|
|
38737
|
-
return
|
|
38738
|
-
case
|
|
38739
|
-
return
|
|
38730
|
+
case wr.ABSOLUTE:
|
|
38731
|
+
return wr.ABSOLUTE;
|
|
38732
|
+
case wr.CLAMP_TO_GROUND:
|
|
38733
|
+
return wr.CLAMP_TO_GROUND;
|
|
38734
|
+
case wr.CLAMP_TO_SEAFLOOR:
|
|
38735
|
+
return wr.CLAMP_TO_SEAFLOOR;
|
|
38736
|
+
case wr.RELATIVE_TO_GROUND:
|
|
38737
|
+
return wr.RELATIVE_TO_GROUND;
|
|
38738
|
+
case wr.RELATIVE_TO_SEAFLOOR:
|
|
38739
|
+
return wr.RELATIVE_TO_SEAFLOOR;
|
|
38740
38740
|
}
|
|
38741
38741
|
return null;
|
|
38742
38742
|
}
|
|
@@ -39059,9 +39059,9 @@ const mH = { class: "coordinate-panel" }, vH = { class: "panel-header" }, yH = {
|
|
|
39059
39059
|
},
|
|
39060
39060
|
emits: ["systemChange", "coordinatesChange", "geometryChange", "geometryGeoJsonChange", "geometryRemoved"],
|
|
39061
39061
|
setup(e, { expose: t, emit: n }) {
|
|
39062
|
-
const i = (ve) => ve.DISTANCIA ?? ve.DISTANCE, r = e, s = n, l =
|
|
39063
|
-
|
|
39064
|
-
const y =
|
|
39062
|
+
const i = (ve) => ve.DISTANCIA ?? ve.DISTANCE, r = e, s = n, l = se(!1), c = se("manual"), d = se("SIRGAS2000"), g = se("DD");
|
|
39063
|
+
se(""), se("");
|
|
39064
|
+
const y = se([]), _ = se(!1), w = se(), M = se(), b = se({
|
|
39065
39065
|
x: "",
|
|
39066
39066
|
y: "",
|
|
39067
39067
|
xDegrees: "",
|
|
@@ -39072,7 +39072,7 @@ const mH = { class: "coordinate-panel" }, vH = { class: "panel-header" }, yH = {
|
|
|
39072
39072
|
ySeconds: "",
|
|
39073
39073
|
azimuth: "",
|
|
39074
39074
|
distance: ""
|
|
39075
|
-
}), E =
|
|
39075
|
+
}), E = se([]), k = se([]), x = se(null);
|
|
39076
39076
|
let z = null;
|
|
39077
39077
|
const T = $(() => {
|
|
39078
39078
|
var ve;
|
|
@@ -39819,7 +39819,7 @@ const ZH = /* @__PURE__ */ Ke({
|
|
|
39819
39819
|
},
|
|
39820
39820
|
emits: ["onGroupLayerToggle", "onChildLayerToggle", "onLayerAction", "onSectionEditStateChange", "onSelectedSectionChange", "onLayerMetricsUpdate", "onLayerInfoIconsUpdate", "onGroupActionsUpdate", "onDrawing", "onCoordinateSystemChange", "onFullscreenChange", "onMeasureComplete"],
|
|
39821
39821
|
setup(e, { expose: t, emit: n }) {
|
|
39822
|
-
const i = e, r = n, s =
|
|
39822
|
+
const i = e, r = n, s = se(), l = se(null), c = se(), d = se(!1), g = $(
|
|
39823
39823
|
() => {
|
|
39824
39824
|
var X;
|
|
39825
39825
|
return aR((X = i.layers) == null ? void 0 : X.customLayers);
|