@kanaries/graphic-walker 0.4.8 → 0.4.9
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.
|
@@ -390,16 +390,16 @@ var OF;
|
|
|
390
390
|
function Nne() {
|
|
391
391
|
return OF || (OF = 1, process.env.NODE_ENV !== "production" && function() {
|
|
392
392
|
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, c = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, v = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, y = e ? Symbol.for("react.responder") : 60118, w = e ? Symbol.for("react.scope") : 60119;
|
|
393
|
-
function _(
|
|
394
|
-
return typeof
|
|
395
|
-
|
|
393
|
+
function _(X) {
|
|
394
|
+
return typeof X == "string" || typeof X == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
395
|
+
X === r || X === u || X === o || X === i || X === f || X === h || typeof X == "object" && X !== null && (X.$$typeof === m || X.$$typeof === p || X.$$typeof === a || X.$$typeof === s || X.$$typeof === c || X.$$typeof === b || X.$$typeof === y || X.$$typeof === w || X.$$typeof === v);
|
|
396
396
|
}
|
|
397
|
-
function E(
|
|
398
|
-
if (typeof
|
|
399
|
-
var me =
|
|
397
|
+
function E(X) {
|
|
398
|
+
if (typeof X == "object" && X !== null) {
|
|
399
|
+
var me = X.$$typeof;
|
|
400
400
|
switch (me) {
|
|
401
401
|
case t:
|
|
402
|
-
var _e =
|
|
402
|
+
var _e = X.type;
|
|
403
403
|
switch (_e) {
|
|
404
404
|
case l:
|
|
405
405
|
case u:
|
|
@@ -427,46 +427,46 @@ function Nne() {
|
|
|
427
427
|
}
|
|
428
428
|
}
|
|
429
429
|
var k = l, T = u, C = s, I = a, N = t, P = c, A = r, D = m, F = p, Z = n, G = o, W = i, j = f, z = !1;
|
|
430
|
-
function
|
|
431
|
-
return z || (z = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), V(
|
|
430
|
+
function B(X) {
|
|
431
|
+
return z || (z = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), V(X) || E(X) === l;
|
|
432
432
|
}
|
|
433
|
-
function V(
|
|
434
|
-
return E(
|
|
433
|
+
function V(X) {
|
|
434
|
+
return E(X) === u;
|
|
435
435
|
}
|
|
436
|
-
function H(
|
|
437
|
-
return E(
|
|
436
|
+
function H(X) {
|
|
437
|
+
return E(X) === s;
|
|
438
438
|
}
|
|
439
|
-
function Y(
|
|
440
|
-
return E(
|
|
439
|
+
function Y(X) {
|
|
440
|
+
return E(X) === a;
|
|
441
441
|
}
|
|
442
|
-
function K(
|
|
443
|
-
return typeof
|
|
442
|
+
function K(X) {
|
|
443
|
+
return typeof X == "object" && X !== null && X.$$typeof === t;
|
|
444
444
|
}
|
|
445
|
-
function ee(
|
|
446
|
-
return E(
|
|
445
|
+
function ee(X) {
|
|
446
|
+
return E(X) === c;
|
|
447
447
|
}
|
|
448
|
-
function te(
|
|
449
|
-
return E(
|
|
448
|
+
function te(X) {
|
|
449
|
+
return E(X) === r;
|
|
450
450
|
}
|
|
451
|
-
function Q(
|
|
452
|
-
return E(
|
|
451
|
+
function Q(X) {
|
|
452
|
+
return E(X) === m;
|
|
453
453
|
}
|
|
454
|
-
function ce(
|
|
455
|
-
return E(
|
|
454
|
+
function ce(X) {
|
|
455
|
+
return E(X) === p;
|
|
456
456
|
}
|
|
457
|
-
function le(
|
|
458
|
-
return E(
|
|
457
|
+
function le(X) {
|
|
458
|
+
return E(X) === n;
|
|
459
459
|
}
|
|
460
|
-
function J(
|
|
461
|
-
return E(
|
|
460
|
+
function J(X) {
|
|
461
|
+
return E(X) === o;
|
|
462
462
|
}
|
|
463
|
-
function re(
|
|
464
|
-
return E(
|
|
463
|
+
function re(X) {
|
|
464
|
+
return E(X) === i;
|
|
465
465
|
}
|
|
466
|
-
function ne(
|
|
467
|
-
return E(
|
|
466
|
+
function ne(X) {
|
|
467
|
+
return E(X) === f;
|
|
468
468
|
}
|
|
469
|
-
It.AsyncMode = k, It.ConcurrentMode = T, It.ContextConsumer = C, It.ContextProvider = I, It.Element = N, It.ForwardRef = P, It.Fragment = A, It.Lazy = D, It.Memo = F, It.Portal = Z, It.Profiler = G, It.StrictMode = W, It.Suspense = j, It.isAsyncMode =
|
|
469
|
+
It.AsyncMode = k, It.ConcurrentMode = T, It.ContextConsumer = C, It.ContextProvider = I, It.Element = N, It.ForwardRef = P, It.Fragment = A, It.Lazy = D, It.Memo = F, It.Portal = Z, It.Profiler = G, It.StrictMode = W, It.Suspense = j, It.isAsyncMode = B, It.isConcurrentMode = V, It.isContextConsumer = H, It.isContextProvider = Y, It.isElement = K, It.isForwardRef = ee, It.isFragment = te, It.isLazy = Q, It.isMemo = ce, It.isPortal = le, It.isProfiler = J, It.isStrictMode = re, It.isSuspense = ne, It.isValidElementType = _, It.typeOf = E;
|
|
470
470
|
}()), It;
|
|
471
471
|
}
|
|
472
472
|
var CF;
|
|
@@ -648,10 +648,10 @@ function Ane() {
|
|
|
648
648
|
function K(te, Q, ce, le, J, re, ne) {
|
|
649
649
|
if (le = le || h, re = re || ce, ne !== n) {
|
|
650
650
|
if (l) {
|
|
651
|
-
var
|
|
651
|
+
var X = new Error(
|
|
652
652
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
653
653
|
);
|
|
654
|
-
throw
|
|
654
|
+
throw X.name = "Invariant Violation", X;
|
|
655
655
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
656
656
|
var me = le + ":" + ce;
|
|
657
657
|
!H[me] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
@@ -725,7 +725,7 @@ function Ane() {
|
|
|
725
725
|
function T(V) {
|
|
726
726
|
function H(Y, K, ee, te, Q) {
|
|
727
727
|
if (!(Y[K] instanceof V)) {
|
|
728
|
-
var ce = V.name || h, le =
|
|
728
|
+
var ce = V.name || h, le = B(Y[K]);
|
|
729
729
|
return new v("Invalid " + te + " `" + Q + "` of type " + ("`" + le + "` supplied to `" + ee + "`, expected ") + ("instance of `" + ce + "`."));
|
|
730
730
|
}
|
|
731
731
|
return null;
|
|
@@ -741,9 +741,9 @@ function Ane() {
|
|
|
741
741
|
for (var ce = Y[K], le = 0; le < V.length; le++)
|
|
742
742
|
if (m(ce, V[le]))
|
|
743
743
|
return null;
|
|
744
|
-
var J = JSON.stringify(V, function(ne,
|
|
745
|
-
var me = j(
|
|
746
|
-
return me === "symbol" ? String(
|
|
744
|
+
var J = JSON.stringify(V, function(ne, X) {
|
|
745
|
+
var me = j(X);
|
|
746
|
+
return me === "symbol" ? String(X) : X;
|
|
747
747
|
});
|
|
748
748
|
return new v("Invalid " + te + " `" + Q + "` of value `" + String(ce) + "` " + ("supplied to `" + ee + "`, expected one of " + J + "."));
|
|
749
749
|
}
|
|
@@ -778,10 +778,10 @@ function Ane() {
|
|
|
778
778
|
}
|
|
779
779
|
function K(ee, te, Q, ce, le) {
|
|
780
780
|
for (var J = [], re = 0; re < V.length; re++) {
|
|
781
|
-
var ne = V[re],
|
|
782
|
-
if (
|
|
781
|
+
var ne = V[re], X = ne(ee, te, Q, ce, le, n);
|
|
782
|
+
if (X == null)
|
|
783
783
|
return null;
|
|
784
|
-
|
|
784
|
+
X.data && r(X.data, "expectedType") && J.push(X.data.expectedType);
|
|
785
785
|
}
|
|
786
786
|
var me = J.length > 0 ? ", expected one of type [" + J.join(", ") + "]" : "";
|
|
787
787
|
return new v("Invalid " + ce + " `" + le + "` supplied to " + ("`" + Q + "`" + me + "."));
|
|
@@ -831,9 +831,9 @@ function Ane() {
|
|
|
831
831
|
"Invalid " + te + " `" + Q + "` key `" + re + "` supplied to `" + ee + "`.\nBad object: " + JSON.stringify(Y[K], null, " ") + `
|
|
832
832
|
Valid keys: ` + JSON.stringify(Object.keys(V), null, " ")
|
|
833
833
|
);
|
|
834
|
-
var
|
|
835
|
-
if (
|
|
836
|
-
return
|
|
834
|
+
var X = ne(ce, re, ee, te, Q + "." + re, n);
|
|
835
|
+
if (X)
|
|
836
|
+
return X;
|
|
837
837
|
}
|
|
838
838
|
return null;
|
|
839
839
|
}
|
|
@@ -905,7 +905,7 @@ Valid keys: ` + JSON.stringify(Object.keys(V), null, " ")
|
|
|
905
905
|
return H;
|
|
906
906
|
}
|
|
907
907
|
}
|
|
908
|
-
function
|
|
908
|
+
function B(V) {
|
|
909
909
|
return !V.constructor || !V.constructor.name ? h : V.constructor.name;
|
|
910
910
|
}
|
|
911
911
|
return p.checkPropTypes = i, p.resetWarningCache = i.resetWarningCache, p.PropTypes = p, p;
|
|
@@ -1253,8 +1253,8 @@ function Kne() {
|
|
|
1253
1253
|
}
|
|
1254
1254
|
function E(ne) {
|
|
1255
1255
|
if (typeof ne == "object" && ne !== null) {
|
|
1256
|
-
var
|
|
1257
|
-
switch (
|
|
1256
|
+
var X = ne.$$typeof;
|
|
1257
|
+
switch (X) {
|
|
1258
1258
|
case e:
|
|
1259
1259
|
var me = ne.type;
|
|
1260
1260
|
switch (me) {
|
|
@@ -1274,11 +1274,11 @@ function Kne() {
|
|
|
1274
1274
|
case o:
|
|
1275
1275
|
return _e;
|
|
1276
1276
|
default:
|
|
1277
|
-
return
|
|
1277
|
+
return X;
|
|
1278
1278
|
}
|
|
1279
1279
|
}
|
|
1280
1280
|
case t:
|
|
1281
|
-
return
|
|
1281
|
+
return X;
|
|
1282
1282
|
}
|
|
1283
1283
|
}
|
|
1284
1284
|
}
|
|
@@ -1286,7 +1286,7 @@ function Kne() {
|
|
|
1286
1286
|
function z(ne) {
|
|
1287
1287
|
return W || (W = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
1288
1288
|
}
|
|
1289
|
-
function
|
|
1289
|
+
function B(ne) {
|
|
1290
1290
|
return j || (j = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
1291
1291
|
}
|
|
1292
1292
|
function V(ne) {
|
|
@@ -1322,7 +1322,7 @@ function Kne() {
|
|
|
1322
1322
|
function re(ne) {
|
|
1323
1323
|
return E(ne) === l;
|
|
1324
1324
|
}
|
|
1325
|
-
Ft.ContextConsumer = k, Ft.ContextProvider = T, Ft.Element = C, Ft.ForwardRef = I, Ft.Fragment = N, Ft.Lazy = P, Ft.Memo = A, Ft.Portal = D, Ft.Profiler = F, Ft.StrictMode = Z, Ft.Suspense = G, Ft.isAsyncMode = z, Ft.isConcurrentMode =
|
|
1325
|
+
Ft.ContextConsumer = k, Ft.ContextProvider = T, Ft.Element = C, Ft.ForwardRef = I, Ft.Fragment = N, Ft.Lazy = P, Ft.Memo = A, Ft.Portal = D, Ft.Profiler = F, Ft.StrictMode = Z, Ft.Suspense = G, Ft.isAsyncMode = z, Ft.isConcurrentMode = B, Ft.isContextConsumer = V, Ft.isContextProvider = H, Ft.isElement = Y, Ft.isForwardRef = K, Ft.isFragment = ee, Ft.isLazy = te, Ft.isMemo = Q, Ft.isPortal = ce, Ft.isProfiler = le, Ft.isStrictMode = J, Ft.isSuspense = re, Ft.isValidElementType = _, Ft.typeOf = E;
|
|
1326
1326
|
}()), Ft;
|
|
1327
1327
|
}
|
|
1328
1328
|
(function(e) {
|
|
@@ -1414,9 +1414,9 @@ function are(e, t) {
|
|
|
1414
1414
|
var z = fe(function() {
|
|
1415
1415
|
var Ue = j.reactReduxForwardedRef, jt = m1(j, qne);
|
|
1416
1416
|
return [j.context, Ue, jt];
|
|
1417
|
-
}, [j]),
|
|
1418
|
-
return
|
|
1419
|
-
}, [
|
|
1417
|
+
}, [j]), B = z[0], V = z[1], H = z[2], Y = fe(function() {
|
|
1418
|
+
return B && B.Consumer && g1.isContextConsumer(/* @__PURE__ */ S.createElement(B.Consumer, null)) ? B : k;
|
|
1419
|
+
}, [B, k]), K = dn(Y), ee = Boolean(j.store) && Boolean(j.store.getState) && Boolean(j.store.dispatch), te = Boolean(K) && Boolean(K.store);
|
|
1420
1420
|
if (process.env.NODE_ENV !== "production" && !ee && !te)
|
|
1421
1421
|
throw new Error('Could not find "store" in the context of ' + ('"' + N + '". Either wrap the root component in a <Provider>, ') + "or pass a custom React context provider to <Provider> and the corresponding " + ("React context consumer to " + N + " in connect options."));
|
|
1422
1422
|
var Q = ee ? j.store : K.store, ce = fe(function() {
|
|
@@ -1430,7 +1430,7 @@ function are(e, t) {
|
|
|
1430
1430
|
return ee ? K : Ve({}, K, {
|
|
1431
1431
|
subscription: J
|
|
1432
1432
|
});
|
|
1433
|
-
}, [ee, K, J]),
|
|
1433
|
+
}, [ee, K, J]), X = Tw(nre, Qne, ore), me = X[0], _e = me[0], Re = X[1];
|
|
1434
1434
|
if (_e && _e.error)
|
|
1435
1435
|
throw _e.error;
|
|
1436
1436
|
var Se = he(), He = he(H), Be = he(), kt = he(!1), Je = F(function() {
|
|
@@ -1450,9 +1450,9 @@ function are(e, t) {
|
|
|
1450
1450
|
}
|
|
1451
1451
|
var G = A ? S.memo(Z) : Z;
|
|
1452
1452
|
if (G.WrappedComponent = C, G.displayName = Z.displayName = N, b) {
|
|
1453
|
-
var W = S.forwardRef(function(z,
|
|
1453
|
+
var W = S.forwardRef(function(z, B) {
|
|
1454
1454
|
return /* @__PURE__ */ S.createElement(G, Ve({}, z, {
|
|
1455
|
-
reactReduxForwardedRef:
|
|
1455
|
+
reactReduxForwardedRef: B
|
|
1456
1456
|
}));
|
|
1457
1457
|
});
|
|
1458
1458
|
return W.displayName = N, W.WrappedComponent = C, ZF(W, C);
|
|
@@ -3424,13 +3424,13 @@ var rD = {
|
|
|
3424
3424
|
var z = t.payload.newScroll;
|
|
3425
3425
|
if (Xl(e.viewport.scroll.current, z))
|
|
3426
3426
|
return KS(e);
|
|
3427
|
-
var
|
|
3427
|
+
var B = P4(e.viewport, z);
|
|
3428
3428
|
return uk(e) ? B4({
|
|
3429
3429
|
state: e,
|
|
3430
|
-
viewport:
|
|
3430
|
+
viewport: B
|
|
3431
3431
|
}) : zm({
|
|
3432
3432
|
state: e,
|
|
3433
|
-
viewport:
|
|
3433
|
+
viewport: B
|
|
3434
3434
|
});
|
|
3435
3435
|
}
|
|
3436
3436
|
if (t.type === "UPDATE_VIEWPORT_MAX_SCROLL") {
|
|
@@ -12935,9 +12935,9 @@ var bM = {}, yM = function(e) {
|
|
|
12935
12935
|
} else if (I && typeof C == "string" && k === "[object Array]")
|
|
12936
12936
|
w = w.join(C), w && (w = this.extendTranslation(w, i, o, a));
|
|
12937
12937
|
else {
|
|
12938
|
-
var W = !1, j = !1, z = o.count !== void 0 && typeof o.count != "string",
|
|
12939
|
-
!this.isValidLookup(w) &&
|
|
12940
|
-
var Y = o.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey, K = Y && j ? void 0 : w, ee =
|
|
12938
|
+
var W = !1, j = !1, z = o.count !== void 0 && typeof o.count != "string", B = n.hasDefaultValue(o), V = z ? this.pluralResolver.getSuffix(m, o.count, o) : "", H = o["defaultValue".concat(V)] || o.defaultValue;
|
|
12939
|
+
!this.isValidLookup(w) && B && (W = !0, w = H), this.isValidLookup(w) || (j = !0, w = f);
|
|
12940
|
+
var Y = o.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey, K = Y && j ? void 0 : w, ee = B && H !== w && this.options.updateMissing;
|
|
12941
12941
|
if (j || W || ee) {
|
|
12942
12942
|
if (this.logger.log(ee ? "updateKey" : "missingKey", m, p, f, ee ? H : w), u) {
|
|
12943
12943
|
var te = this.resolve(f, Pr(Pr({}, o), {}, {
|
|
@@ -12951,9 +12951,9 @@ var bM = {}, yM = function(e) {
|
|
|
12951
12951
|
Q.push(ce[le]);
|
|
12952
12952
|
else
|
|
12953
12953
|
this.options.saveMissingTo === "all" ? Q = this.languageUtils.toResolveHierarchy(o.lng || this.language) : Q.push(o.lng || this.language);
|
|
12954
|
-
var J = function(ne,
|
|
12955
|
-
var _e =
|
|
12956
|
-
s.options.missingKeyHandler ? s.options.missingKeyHandler(ne, p,
|
|
12954
|
+
var J = function(ne, X, me) {
|
|
12955
|
+
var _e = B && me !== w ? me : K;
|
|
12956
|
+
s.options.missingKeyHandler ? s.options.missingKeyHandler(ne, p, X, _e, ee, o) : s.backendConnector && s.backendConnector.saveMissing && s.backendConnector.saveMissing(ne, p, X, _e, ee, o), s.emit("missingKey", ne, p, X, w);
|
|
12957
12957
|
};
|
|
12958
12958
|
this.options.saveMissing && (this.options.saveMissingPlurals && z ? Q.forEach(function(re) {
|
|
12959
12959
|
s.pluralResolver.getSuffixes(re, o).forEach(function(ne) {
|
|
@@ -17030,12 +17030,12 @@ function Vge(e, t) {
|
|
|
17030
17030
|
}, [1]() {
|
|
17031
17031
|
let ee = C.value.slice(), te = ee.findIndex((Q) => k(Q, K));
|
|
17032
17032
|
return te === -1 ? ee.push(K) : ee.splice(te, 1), m == null ? void 0 : m(ee);
|
|
17033
|
-
} })), j = We((K) => b({ type: 3, value: K })), z = We(() => b({ type: 4 })),
|
|
17033
|
+
} })), j = We((K) => b({ type: 3, value: K })), z = We(() => b({ type: 4 })), B = fe(() => ({ onChange: W, registerOption: Z, registerLabel: G, goToOption: F, closeListbox: D, openListbox: A, selectActiveOption: P, selectOption: N, search: j, clearSearch: z }), []), V = { ref: h }, H = he(null), Y = qa();
|
|
17034
17034
|
return be(() => {
|
|
17035
17035
|
H.current && r !== void 0 && Y.addEventListener(H.current, "reset", () => {
|
|
17036
17036
|
W(r);
|
|
17037
17037
|
});
|
|
17038
|
-
}, [H, W]), S.createElement(OT.Provider, { value:
|
|
17038
|
+
}, [H, W]), S.createElement(OT.Provider, { value: B }, S.createElement(CT.Provider, { value: C }, S.createElement(ST, { value: En(C.listboxState, { [0]: ir.Open, [1]: ir.Closed }) }, i != null && p != null && xT({ [i]: p }).map(([K, ee], te) => S.createElement(wT, { features: Hw.Hidden, ref: te === 0 ? (Q) => {
|
|
17039
17039
|
var ce;
|
|
17040
17040
|
H.current = (ce = Q == null ? void 0 : Q.closest("form")) != null ? ce : null;
|
|
17041
17041
|
} : void 0, ...gg({ key: K, as: "input", type: "hidden", hidden: !0, readOnly: !0, name: K, value: ee }) })), Jn({ ourProps: V, theirProps: c, slot: I, defaultTag: jge, name: "Listbox" }))));
|
|
@@ -17417,14 +17417,14 @@ function C0e(e, t) {
|
|
|
17417
17417
|
}
|
|
17418
17418
|
let I0e = "div";
|
|
17419
17419
|
function T0e(e, t) {
|
|
17420
|
-
let n = _o(), { id: r = `headlessui-radiogroup-${n}`, value: i, defaultValue: o, name: a, onChange: s, by: l = (z,
|
|
17420
|
+
let n = _o(), { id: r = `headlessui-radiogroup-${n}`, value: i, defaultValue: o, name: a, onChange: s, by: l = (z, B) => z === B, disabled: u = !1, ...c } = e, f = We(typeof l == "string" ? (z, B) => {
|
|
17421
17421
|
let V = l;
|
|
17422
|
-
return (z == null ? void 0 : z[V]) === (
|
|
17422
|
+
return (z == null ? void 0 : z[V]) === (B == null ? void 0 : B[V]);
|
|
17423
17423
|
} : l), [h, p] = Tw(C0e, { options: [] }), m = h.options, [v, b] = TT(), [y, w] = kT(), _ = he(null), E = Rr(_, t), [k, T] = ET(i, s, o), C = fe(() => m.find((z) => !z.propsRef.current.disabled), [m]), I = fe(() => m.some((z) => f(z.propsRef.current.value, k)), [m, k]), N = We((z) => {
|
|
17424
|
-
var
|
|
17424
|
+
var B;
|
|
17425
17425
|
if (u || f(z, k))
|
|
17426
17426
|
return !1;
|
|
17427
|
-
let V = (
|
|
17427
|
+
let V = (B = m.find((H) => f(H.propsRef.current.value, z))) == null ? void 0 : B.propsRef.current;
|
|
17428
17428
|
return V != null && V.disabled ? !1 : (T == null || T(z), !0);
|
|
17429
17429
|
});
|
|
17430
17430
|
lX({ container: _.current, accept(z) {
|
|
@@ -17433,10 +17433,10 @@ function T0e(e, t) {
|
|
|
17433
17433
|
z.setAttribute("role", "none");
|
|
17434
17434
|
} });
|
|
17435
17435
|
let P = We((z) => {
|
|
17436
|
-
let
|
|
17437
|
-
if (
|
|
17436
|
+
let B = _.current;
|
|
17437
|
+
if (!B)
|
|
17438
17438
|
return;
|
|
17439
|
-
let V = jh(
|
|
17439
|
+
let V = jh(B), H = m.filter((Y) => Y.propsRef.current.disabled === !1).map((Y) => Y.element.current);
|
|
17440
17440
|
switch (z.key) {
|
|
17441
17441
|
case Qe.Enter:
|
|
17442
17442
|
pX(z.currentTarget);
|
|
@@ -17468,10 +17468,10 @@ function T0e(e, t) {
|
|
|
17468
17468
|
W.current && o !== void 0 && j.addEventListener(W.current, "reset", () => {
|
|
17469
17469
|
N(o);
|
|
17470
17470
|
});
|
|
17471
|
-
}, [W, N]), S.createElement(w, { name: "RadioGroup.Description" }, S.createElement(b, { name: "RadioGroup.Label" }, S.createElement(RT.Provider, { value: F }, S.createElement(NT.Provider, { value: D }, a != null && k != null && xT({ [a]: k }).map(([z,
|
|
17471
|
+
}, [W, N]), S.createElement(w, { name: "RadioGroup.Description" }, S.createElement(b, { name: "RadioGroup.Label" }, S.createElement(RT.Provider, { value: F }, S.createElement(NT.Provider, { value: D }, a != null && k != null && xT({ [a]: k }).map(([z, B], V) => S.createElement(wT, { features: Hw.Hidden, ref: V === 0 ? (H) => {
|
|
17472
17472
|
var Y;
|
|
17473
17473
|
W.current = (Y = H == null ? void 0 : H.closest("form")) != null ? Y : null;
|
|
17474
|
-
} : void 0, ...gg({ key: z, as: "input", type: "radio", checked:
|
|
17474
|
+
} : void 0, ...gg({ key: z, as: "input", type: "radio", checked: B != null, hidden: !0, readOnly: !0, name: z, value: B }) })), Jn({ ourProps: Z, theirProps: c, slot: G, defaultTag: I0e, name: "RadioGroup" })))));
|
|
17475
17475
|
}
|
|
17476
17476
|
var N0e = ((e) => (e[e.Empty = 1] = "Empty", e[e.Active = 2] = "Active", e))(N0e || {});
|
|
17477
17477
|
let R0e = "div";
|
|
@@ -17672,8 +17672,8 @@ function q0e(e, t) {
|
|
|
17672
17672
|
}) }), be(() => {
|
|
17673
17673
|
F && (b === Vs.Hidden ? N.current = null : N.current = y);
|
|
17674
17674
|
}, [y, F, E]);
|
|
17675
|
-
let
|
|
17676
|
-
return w && y && Kl.isServer && (
|
|
17675
|
+
let B = p, V = { ref: v };
|
|
17676
|
+
return w && y && Kl.isServer && (B = { ...B, className: cX(p.className, ...P.current.enter, ...P.current.enterFrom) }), S.createElement(qw.Provider, { value: z }, S.createElement(ST, { value: En(E, { visible: ir.Open, hidden: ir.Closed }) | G.flags }, Jn({ ourProps: V, theirProps: B, defaultTag: J0e, features: CX, visible: E === "visible", name: "Transition.Child" })));
|
|
17677
17677
|
}
|
|
17678
17678
|
function Q0e(e, t) {
|
|
17679
17679
|
let { show: n, appear: r = !1, unmount: i, ...o } = e, a = he(null), s = Rr(a, t);
|
|
@@ -18850,11 +18850,11 @@ function Bh() {
|
|
|
18850
18850
|
const $ve = pt(function(t) {
|
|
18851
18851
|
const { data: n, visualConfig: r, loading: i, computationFunction: o } = t, a = Vh(), [s, l] = ke(null), [u, c] = ke(null), [f, h] = ke([]), [p, m] = ke(!1), { vizStore: v, commonStore: b } = Rt(), { allFields: y, viewFilters: w, viewMeasures: _, sort: E, limit: k, draggableFieldState: T } = v, { rows: C, columns: I } = T, { showTableSummary: N, defaultAggregated: P } = r, { tableCollapsedHeaderMap: A } = b, D = he([]), [F, Z] = ke(0), G = fe(() => Dt(C).filter((Y) => Y.analyticType === "dimension"), [C]), W = fe(() => Dt(I).filter((Y) => Y.analyticType === "dimension"), [I]), j = fe(() => C.filter((Y) => Y.analyticType === "measure"), [C]), z = fe(() => I.filter((Y) => Y.analyticType === "measure"), [I]);
|
|
18852
18852
|
be(() => {
|
|
18853
|
-
A.size > 0 ? (b.resetTableCollapsedHeader(), N && H()) :
|
|
18853
|
+
A.size > 0 ? (b.resetTableCollapsedHeader(), N && H()) : B();
|
|
18854
18854
|
}, [n]), be(() => {
|
|
18855
|
-
N ? V() :
|
|
18855
|
+
N ? V() : B();
|
|
18856
18856
|
}, [A]);
|
|
18857
|
-
const
|
|
18857
|
+
const B = async () => {
|
|
18858
18858
|
await H(), V();
|
|
18859
18859
|
}, V = () => {
|
|
18860
18860
|
var Y;
|
|
@@ -19059,11 +19059,11 @@ var Qa = {}, Qve = {
|
|
|
19059
19059
|
return "_leaflet_id" in d || (d._leaflet_id = ++s), d._leaflet_id;
|
|
19060
19060
|
}
|
|
19061
19061
|
function u(d, g, x) {
|
|
19062
|
-
var O, R, M,
|
|
19063
|
-
return
|
|
19062
|
+
var O, R, M, $;
|
|
19063
|
+
return $ = function() {
|
|
19064
19064
|
O = !1, R && (M.apply(x, R), R = !1);
|
|
19065
19065
|
}, M = function() {
|
|
19066
|
-
O ? R = arguments : (d.apply(x, arguments), setTimeout(
|
|
19066
|
+
O ? R = arguments : (d.apply(x, arguments), setTimeout($, g), O = !0);
|
|
19067
19067
|
}, M;
|
|
19068
19068
|
}
|
|
19069
19069
|
function c(d, g, x) {
|
|
@@ -19174,7 +19174,7 @@ var Qa = {}, Qve = {
|
|
|
19174
19174
|
return d.statics && i(g, d.statics), d.includes && (G(d.includes), i.apply(null, [O].concat(d.includes))), i(O, d), delete O.statics, delete O.includes, O.options && (O.options = x.options ? o(x.options) : {}, i(O.options, d.options)), O._initHooks = [], O.callInitHooks = function() {
|
|
19175
19175
|
if (!this._initHooksCalled) {
|
|
19176
19176
|
x.callInitHooks && x.callInitHooks.call(this), this._initHooksCalled = !0;
|
|
19177
|
-
for (var M = 0,
|
|
19177
|
+
for (var M = 0, $ = O._initHooks.length; M < $; M++)
|
|
19178
19178
|
O._initHooks[M].call(this);
|
|
19179
19179
|
}
|
|
19180
19180
|
}, g;
|
|
@@ -19234,7 +19234,7 @@ var Qa = {}, Qve = {
|
|
|
19234
19234
|
this._off(O, d[O], g);
|
|
19235
19235
|
else {
|
|
19236
19236
|
d = m(d);
|
|
19237
|
-
for (var R = arguments.length === 1, M = 0,
|
|
19237
|
+
for (var R = arguments.length === 1, M = 0, $ = d.length; M < $; M++)
|
|
19238
19238
|
R ? this._off(d[M]) : this._off(d[M], g, x);
|
|
19239
19239
|
}
|
|
19240
19240
|
return this;
|
|
@@ -19265,10 +19265,10 @@ var Qa = {}, Qve = {
|
|
|
19265
19265
|
console.warn("wrong listener type: " + typeof g);
|
|
19266
19266
|
return;
|
|
19267
19267
|
}
|
|
19268
|
-
var
|
|
19269
|
-
if (
|
|
19270
|
-
var q = O[
|
|
19271
|
-
this._firingCount && (q.fn = f, this._events[d] = O = O.slice()), O.splice(
|
|
19268
|
+
var $ = this._listens(d, g, x);
|
|
19269
|
+
if ($ !== !1) {
|
|
19270
|
+
var q = O[$];
|
|
19271
|
+
this._firingCount && (q.fn = f, this._events[d] = O = O.slice()), O.splice($, 1);
|
|
19272
19272
|
}
|
|
19273
19273
|
}
|
|
19274
19274
|
},
|
|
@@ -19288,7 +19288,7 @@ var Qa = {}, Qve = {
|
|
|
19288
19288
|
var R = this._events[d];
|
|
19289
19289
|
if (R) {
|
|
19290
19290
|
this._firingCount = this._firingCount + 1 || 1;
|
|
19291
|
-
for (var M = 0,
|
|
19291
|
+
for (var M = 0, $ = R.length; M < $; M++) {
|
|
19292
19292
|
var q = R[M], ie = q.fn;
|
|
19293
19293
|
q.once && this.off(d, ie, q.ctx), ie.call(q.ctx || this, O);
|
|
19294
19294
|
}
|
|
@@ -19309,8 +19309,8 @@ var Qa = {}, Qve = {
|
|
|
19309
19309
|
if (M && M.length && this._listens(d, R, x) !== !1)
|
|
19310
19310
|
return !0;
|
|
19311
19311
|
if (O) {
|
|
19312
|
-
for (var
|
|
19313
|
-
if (this._eventParents[
|
|
19312
|
+
for (var $ in this._eventParents)
|
|
19313
|
+
if (this._eventParents[$].listens(d, g, x, O))
|
|
19314
19314
|
return !0;
|
|
19315
19315
|
}
|
|
19316
19316
|
return !1;
|
|
@@ -19364,7 +19364,7 @@ var Qa = {}, Qve = {
|
|
|
19364
19364
|
function z(d, g, x) {
|
|
19365
19365
|
this.x = x ? Math.round(d) : d, this.y = x ? Math.round(g) : g;
|
|
19366
19366
|
}
|
|
19367
|
-
var
|
|
19367
|
+
var B = Math.trunc || function(d) {
|
|
19368
19368
|
return d > 0 ? Math.floor(d) : Math.ceil(d);
|
|
19369
19369
|
};
|
|
19370
19370
|
z.prototype = {
|
|
@@ -19449,7 +19449,7 @@ var Qa = {}, Qve = {
|
|
|
19449
19449
|
return this.clone()._trunc();
|
|
19450
19450
|
},
|
|
19451
19451
|
_trunc: function() {
|
|
19452
|
-
return this.x =
|
|
19452
|
+
return this.x = B(this.x), this.y = B(this.y), this;
|
|
19453
19453
|
},
|
|
19454
19454
|
// @method distanceTo(otherPoint: Point): Number
|
|
19455
19455
|
// Returns the cartesian distance between the current and the given points.
|
|
@@ -19546,16 +19546,16 @@ var Qa = {}, Qve = {
|
|
|
19546
19546
|
// intersect if they have at least one point in common.
|
|
19547
19547
|
intersects: function(d) {
|
|
19548
19548
|
d = Y(d);
|
|
19549
|
-
var g = this.min, x = this.max, O = d.min, R = d.max, M = R.x >= g.x && O.x <= x.x,
|
|
19550
|
-
return M &&
|
|
19549
|
+
var g = this.min, x = this.max, O = d.min, R = d.max, M = R.x >= g.x && O.x <= x.x, $ = R.y >= g.y && O.y <= x.y;
|
|
19550
|
+
return M && $;
|
|
19551
19551
|
},
|
|
19552
19552
|
// @method overlaps(otherBounds: Bounds): Boolean
|
|
19553
19553
|
// Returns `true` if the rectangle overlaps the given bounds. Two bounds
|
|
19554
19554
|
// overlap if their intersection is an area.
|
|
19555
19555
|
overlaps: function(d) {
|
|
19556
19556
|
d = Y(d);
|
|
19557
|
-
var g = this.min, x = this.max, O = d.min, R = d.max, M = R.x > g.x && O.x < x.x,
|
|
19558
|
-
return M &&
|
|
19557
|
+
var g = this.min, x = this.max, O = d.min, R = d.max, M = R.x > g.x && O.x < x.x, $ = R.y > g.y && O.y < x.y;
|
|
19558
|
+
return M && $;
|
|
19559
19559
|
},
|
|
19560
19560
|
// @method isValid(): Boolean
|
|
19561
19561
|
// Returns `true` if the bounds are properly initialized.
|
|
@@ -19677,15 +19677,15 @@ var Qa = {}, Qve = {
|
|
|
19677
19677
|
// Returns `true` if the rectangle intersects the given bounds. Two bounds intersect if they have at least one point in common.
|
|
19678
19678
|
intersects: function(d) {
|
|
19679
19679
|
d = ee(d);
|
|
19680
|
-
var g = this._southWest, x = this._northEast, O = d.getSouthWest(), R = d.getNorthEast(), M = R.lat >= g.lat && O.lat <= x.lat,
|
|
19681
|
-
return M &&
|
|
19680
|
+
var g = this._southWest, x = this._northEast, O = d.getSouthWest(), R = d.getNorthEast(), M = R.lat >= g.lat && O.lat <= x.lat, $ = R.lng >= g.lng && O.lng <= x.lng;
|
|
19681
|
+
return M && $;
|
|
19682
19682
|
},
|
|
19683
19683
|
// @method overlaps(otherBounds: LatLngBounds): Boolean
|
|
19684
19684
|
// Returns `true` if the rectangle overlaps the given bounds. Two bounds overlap if their intersection is an area.
|
|
19685
19685
|
overlaps: function(d) {
|
|
19686
19686
|
d = ee(d);
|
|
19687
|
-
var g = this._southWest, x = this._northEast, O = d.getSouthWest(), R = d.getNorthEast(), M = R.lat > g.lat && O.lat < x.lat,
|
|
19688
|
-
return M &&
|
|
19687
|
+
var g = this._southWest, x = this._northEast, O = d.getSouthWest(), R = d.getNorthEast(), M = R.lat > g.lat && O.lat < x.lat, $ = R.lng > g.lng && O.lng < x.lng;
|
|
19688
|
+
return M && $;
|
|
19689
19689
|
},
|
|
19690
19690
|
// @method toBBoxString(): String
|
|
19691
19691
|
// 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.
|
|
@@ -19834,7 +19834,7 @@ var Qa = {}, Qve = {
|
|
|
19834
19834
|
var g = d.getCenter(), x = this.wrapLatLng(g), O = g.lat - x.lat, R = g.lng - x.lng;
|
|
19835
19835
|
if (O === 0 && R === 0)
|
|
19836
19836
|
return d;
|
|
19837
|
-
var M = d.getSouthWest(),
|
|
19837
|
+
var M = d.getSouthWest(), $ = d.getNorthEast(), q = new te(M.lat - O, M.lng - R), ie = new te($.lat - O, $.lng - R);
|
|
19838
19838
|
return new K(q, ie);
|
|
19839
19839
|
}
|
|
19840
19840
|
}, le = i({}, ce, {
|
|
@@ -19845,7 +19845,7 @@ var Qa = {}, Qve = {
|
|
|
19845
19845
|
R: 6371e3,
|
|
19846
19846
|
// distance between two geographical points using spherical law of cosines approximation
|
|
19847
19847
|
distance: function(d, g) {
|
|
19848
|
-
var x = Math.PI / 180, O = d.lat * x, R = g.lat * x, M = Math.sin((g.lat - d.lat) * x / 2),
|
|
19848
|
+
var x = Math.PI / 180, O = d.lat * x, R = g.lat * x, M = Math.sin((g.lat - d.lat) * x / 2), $ = Math.sin((g.lng - d.lng) * x / 2), q = M * M + Math.cos(O) * Math.cos(R) * $ * $, ie = 2 * Math.atan2(Math.sqrt(q), Math.sqrt(1 - q));
|
|
19849
19849
|
return this.R * ie;
|
|
19850
19850
|
}
|
|
19851
19851
|
}), J = 6378137, re = {
|
|
@@ -19898,7 +19898,7 @@ var Qa = {}, Qve = {
|
|
|
19898
19898
|
);
|
|
19899
19899
|
}
|
|
19900
19900
|
};
|
|
19901
|
-
function
|
|
19901
|
+
function X(d, g, x, O) {
|
|
19902
19902
|
return new ne(d, g, x, O);
|
|
19903
19903
|
}
|
|
19904
19904
|
var me = i({}, le, {
|
|
@@ -19906,7 +19906,7 @@ var Qa = {}, Qve = {
|
|
|
19906
19906
|
projection: re,
|
|
19907
19907
|
transformation: function() {
|
|
19908
19908
|
var d = 0.5 / (Math.PI * re.R);
|
|
19909
|
-
return
|
|
19909
|
+
return X(d, 0.5, -d, 0.5);
|
|
19910
19910
|
}()
|
|
19911
19911
|
}), _e = i({}, me, {
|
|
19912
19912
|
code: "EPSG:900913"
|
|
@@ -19915,9 +19915,9 @@ var Qa = {}, Qve = {
|
|
|
19915
19915
|
return document.createElementNS("http://www.w3.org/2000/svg", d);
|
|
19916
19916
|
}
|
|
19917
19917
|
function Se(d, g) {
|
|
19918
|
-
var x = "", O, R, M,
|
|
19918
|
+
var x = "", O, R, M, $, q, ie;
|
|
19919
19919
|
for (O = 0, M = d.length; O < M; O++) {
|
|
19920
|
-
for (q = d[O], R = 0,
|
|
19920
|
+
for (q = d[O], R = 0, $ = q.length; R < $; R++)
|
|
19921
19921
|
ie = q[R], x += (R ? "L" : "M") + ie.x + " " + ie.y;
|
|
19922
19922
|
x += g ? Fe.svg ? "z" : "x" : "";
|
|
19923
19923
|
}
|
|
@@ -20049,10 +20049,10 @@ var Qa = {}, Qve = {
|
|
|
20049
20049
|
return;
|
|
20050
20050
|
}
|
|
20051
20051
|
if (!(M.pointerType === "mouse" || M.sourceCapabilities && !M.sourceCapabilities.firesTouchEvents)) {
|
|
20052
|
-
var
|
|
20053
|
-
if (!(
|
|
20052
|
+
var $ = PP(M);
|
|
20053
|
+
if (!($.some(function(ie) {
|
|
20054
20054
|
return ie instanceof HTMLLabelElement && ie.attributes.for;
|
|
20055
|
-
}) &&
|
|
20055
|
+
}) && !$.some(function(ie) {
|
|
20056
20056
|
return ie instanceof HTMLInputElement || ie instanceof HTMLSelectElement;
|
|
20057
20057
|
}))) {
|
|
20058
20058
|
var q = Date.now();
|
|
@@ -20247,7 +20247,7 @@ var Qa = {}, Qve = {
|
|
|
20247
20247
|
_S(d, R, g[R], x);
|
|
20248
20248
|
else {
|
|
20249
20249
|
g = m(g);
|
|
20250
|
-
for (var M = 0,
|
|
20250
|
+
for (var M = 0, $ = g.length; M < $; M++)
|
|
20251
20251
|
_S(d, g[M], x, O);
|
|
20252
20252
|
}
|
|
20253
20253
|
return this;
|
|
@@ -20264,7 +20264,7 @@ var Qa = {}, Qve = {
|
|
|
20264
20264
|
return E(g, q) !== -1;
|
|
20265
20265
|
});
|
|
20266
20266
|
else
|
|
20267
|
-
for (var M = 0,
|
|
20267
|
+
for (var M = 0, $ = g.length; M < $; M++)
|
|
20268
20268
|
SS(d, g[M], x, O);
|
|
20269
20269
|
return this;
|
|
20270
20270
|
}
|
|
@@ -20285,10 +20285,10 @@ var Qa = {}, Qve = {
|
|
|
20285
20285
|
return this;
|
|
20286
20286
|
var M = function(q) {
|
|
20287
20287
|
return x.call(O || d, q || window.event);
|
|
20288
|
-
},
|
|
20288
|
+
}, $ = M;
|
|
20289
20289
|
!Fe.touchNative && Fe.pointer && g.indexOf("touch") === 0 ? M = ute(d, g, M) : Fe.touch && g === "dblclick" ? M = vte(d, M) : "addEventListener" in d ? g === "touchstart" || g === "touchmove" || g === "wheel" || g === "mousewheel" ? d.addEventListener(wS[g] || g, M, Fe.passiveEvents ? { passive: !1 } : !1) : g === "mouseenter" || g === "mouseleave" ? (M = function(q) {
|
|
20290
|
-
q = q || window.event, kS(d, q) &&
|
|
20291
|
-
}, d.addEventListener(wS[g], M, !1)) : d.addEventListener(g,
|
|
20290
|
+
q = q || window.event, kS(d, q) && $(q);
|
|
20291
|
+
}, d.addEventListener(wS[g], M, !1)) : d.addEventListener(g, $, !1) : d.attachEvent("on" + g, M), d[ba] = d[ba] || {}, d[ba][R] = M;
|
|
20292
20292
|
}
|
|
20293
20293
|
function SS(d, g, x, O, R) {
|
|
20294
20294
|
R = R || g + l(x) + (O ? "_" + l(O) : "");
|
|
@@ -20531,7 +20531,7 @@ var Qa = {}, Qve = {
|
|
|
20531
20531
|
// @method setZoomAround(offset: Point, zoom: Number, options: Zoom options): this
|
|
20532
20532
|
// Zooms the map while keeping a specified pixel on the map (relative to the top-left corner) stationary.
|
|
20533
20533
|
setZoomAround: function(d, g, x) {
|
|
20534
|
-
var O = this.getZoomScale(g), R = this.getSize().divideBy(2), M = d instanceof z ? d : this.latLngToContainerPoint(d),
|
|
20534
|
+
var O = this.getZoomScale(g), R = this.getSize().divideBy(2), M = d instanceof z ? d : this.latLngToContainerPoint(d), $ = M.subtract(R).multiplyBy(1 - 1 / O), q = this.containerPointToLatLng(R.add($));
|
|
20535
20535
|
return this.setView(q, g, { zoom: x });
|
|
20536
20536
|
},
|
|
20537
20537
|
_getBoundsCenterZoom: function(d, g) {
|
|
@@ -20542,7 +20542,7 @@ var Qa = {}, Qve = {
|
|
|
20542
20542
|
center: d.getCenter(),
|
|
20543
20543
|
zoom: R
|
|
20544
20544
|
};
|
|
20545
|
-
var M = O.subtract(x).divideBy(2),
|
|
20545
|
+
var M = O.subtract(x).divideBy(2), $ = this.project(d.getSouthWest(), R), q = this.project(d.getNorthEast(), R), ie = this.unproject($.add(q).divideBy(2).add(M), R);
|
|
20546
20546
|
return {
|
|
20547
20547
|
center: ie,
|
|
20548
20548
|
zoom: R
|
|
@@ -20593,9 +20593,9 @@ var Qa = {}, Qve = {
|
|
|
20593
20593
|
if (x = x || {}, x.animate === !1 || !Fe.any3d)
|
|
20594
20594
|
return this.setView(d, g, x);
|
|
20595
20595
|
this._stop();
|
|
20596
|
-
var O = this.project(this.getCenter()), R = this.project(d), M = this.getSize(),
|
|
20597
|
-
d = Q(d), g = g === void 0 ?
|
|
20598
|
-
var q = Math.max(M.x, M.y), ie = q * this.getZoomScale(
|
|
20596
|
+
var O = this.project(this.getCenter()), R = this.project(d), M = this.getSize(), $ = this._zoom;
|
|
20597
|
+
d = Q(d), g = g === void 0 ? $ : g;
|
|
20598
|
+
var q = Math.max(M.x, M.y), ie = q * this.getZoomScale($, g), de = R.distanceTo(O) || 1, Ne = 1.42, Xe = Ne * Ne;
|
|
20599
20599
|
function ot(xn) {
|
|
20600
20600
|
var Zv = xn ? -1 : 1, cne = xn ? ie : q, fne = ie * ie - q * q + Zv * Xe * Xe * de * de, dne = 2 * cne * Xe * de, DS = fne / dne, vF = Math.sqrt(DS * DS + 1) - DS, hne = vF < 1e-9 ? -18 : Math.log(vF);
|
|
20601
20601
|
return hne;
|
|
@@ -20623,8 +20623,8 @@ var Qa = {}, Qve = {
|
|
|
20623
20623
|
function gF() {
|
|
20624
20624
|
var xn = (Date.now() - lne) / une, Zv = sne(xn) * mF;
|
|
20625
20625
|
xn <= 1 ? (this._flyToFrame = A(gF, this), this._move(
|
|
20626
|
-
this.unproject(O.add(R.subtract(O).multiplyBy(ane(Zv) / de)),
|
|
20627
|
-
this.getScaleZoom(q / Yf(Zv),
|
|
20626
|
+
this.unproject(O.add(R.subtract(O).multiplyBy(ane(Zv) / de)), $),
|
|
20627
|
+
this.getScaleZoom(q / Yf(Zv), $),
|
|
20628
20628
|
{ flyTo: !0 }
|
|
20629
20629
|
)) : this._move(d, g)._moveEnd(!0);
|
|
20630
20630
|
}
|
|
@@ -20668,7 +20668,7 @@ var Qa = {}, Qve = {
|
|
|
20668
20668
|
// the map will not be panned.
|
|
20669
20669
|
panInside: function(d, g) {
|
|
20670
20670
|
g = g || {};
|
|
20671
|
-
var x = V(g.paddingTopLeft || g.padding || [0, 0]), O = V(g.paddingBottomRight || g.padding || [0, 0]), R = this.project(this.getCenter()), M = this.project(d),
|
|
20671
|
+
var x = V(g.paddingTopLeft || g.padding || [0, 0]), O = V(g.paddingBottomRight || g.padding || [0, 0]), R = this.project(this.getCenter()), M = this.project(d), $ = this.getPixelBounds(), q = Y([$.min.add(x), $.max.subtract(O)]), ie = q.getSize();
|
|
20672
20672
|
if (!q.contains(M)) {
|
|
20673
20673
|
this._enforcingBounds = !0;
|
|
20674
20674
|
var de = M.subtract(q.getCenter()), Ne = q.extend(M).getSize().subtract(ie);
|
|
@@ -20754,8 +20754,8 @@ var Qa = {}, Qve = {
|
|
|
20754
20754
|
if (this._container._leaflet_id) {
|
|
20755
20755
|
var g = d.coords.latitude, x = d.coords.longitude, O = new te(g, x), R = O.toBounds(d.coords.accuracy * 2), M = this._locateOptions;
|
|
20756
20756
|
if (M.setView) {
|
|
20757
|
-
var
|
|
20758
|
-
this.setView(O, M.maxZoom ? Math.min(
|
|
20757
|
+
var $ = this.getBoundsZoom(R);
|
|
20758
|
+
this.setView(O, M.maxZoom ? Math.min($, M.maxZoom) : $);
|
|
20759
20759
|
}
|
|
20760
20760
|
var q = {
|
|
20761
20761
|
latlng: O,
|
|
@@ -20838,7 +20838,7 @@ var Qa = {}, Qve = {
|
|
|
20838
20838
|
// the given bounds in its entirety.
|
|
20839
20839
|
getBoundsZoom: function(d, g, x) {
|
|
20840
20840
|
d = ee(d), x = V(x || [0, 0]);
|
|
20841
|
-
var O = this.getZoom() || 0, R = this.getMinZoom(), M = this.getMaxZoom(),
|
|
20841
|
+
var O = this.getZoom() || 0, R = this.getMinZoom(), M = this.getMaxZoom(), $ = d.getNorthWest(), q = d.getSouthEast(), ie = this.getSize().subtract(x), de = Y(this.project(q, O), this.project($, O)).getSize(), Ne = Fe.any3d ? this.options.zoomSnap : 1, Xe = ie.x / de.x, ot = ie.y / de.y, Lr = g ? Math.max(Xe, ot) : Math.min(Xe, ot);
|
|
20842
20842
|
return O = this.getScaleZoom(Lr, O), Ne && (O = Math.round(O / (Ne / 100)) * (Ne / 100), O = g ? Math.ceil(O / Ne) * Ne : Math.floor(O / Ne) * Ne), Math.max(R, Math.min(M, O));
|
|
20843
20843
|
},
|
|
20844
20844
|
// @method getSize(): Point
|
|
@@ -21079,16 +21079,16 @@ var Qa = {}, Qve = {
|
|
|
21079
21079
|
Math.max(Math.abs(d.x), Math.abs(d.y)) >= this.options.transform3DLimit && this._resetView(this.getCenter(), this.getZoom());
|
|
21080
21080
|
},
|
|
21081
21081
|
_findEventTargets: function(d, g) {
|
|
21082
|
-
for (var x = [], O, R = g === "mouseout" || g === "mouseover", M = d.target || d.srcElement,
|
|
21082
|
+
for (var x = [], O, R = g === "mouseout" || g === "mouseover", M = d.target || d.srcElement, $ = !1; M; ) {
|
|
21083
21083
|
if (O = this._targets[l(M)], O && (g === "click" || g === "preclick") && this._draggableMoved(O)) {
|
|
21084
|
-
|
|
21084
|
+
$ = !0;
|
|
21085
21085
|
break;
|
|
21086
21086
|
}
|
|
21087
21087
|
if (O && O.listens(g, !0) && (R && !kS(M, d) || (x.push(O), R)) || M === this._container)
|
|
21088
21088
|
break;
|
|
21089
21089
|
M = M.parentNode;
|
|
21090
21090
|
}
|
|
21091
|
-
return !x.length &&
|
|
21091
|
+
return !x.length && !$ && !R && this.listens(g, !0) && (x = [this]), x;
|
|
21092
21092
|
},
|
|
21093
21093
|
_isClickDisabled: function(d) {
|
|
21094
21094
|
for (; d && d !== this._container; ) {
|
|
@@ -21112,8 +21112,8 @@ var Qa = {}, Qve = {
|
|
|
21112
21112
|
}
|
|
21113
21113
|
var R = this._findEventTargets(d, g);
|
|
21114
21114
|
if (x) {
|
|
21115
|
-
for (var M = [],
|
|
21116
|
-
x[
|
|
21115
|
+
for (var M = [], $ = 0; $ < x.length; $++)
|
|
21116
|
+
x[$].listens(g, !0) && M.push(x[$]);
|
|
21117
21117
|
R = M.concat(R);
|
|
21118
21118
|
}
|
|
21119
21119
|
if (R.length) {
|
|
@@ -21125,8 +21125,8 @@ var Qa = {}, Qve = {
|
|
|
21125
21125
|
var de = q.getLatLng && (!q._radius || q._radius <= 10);
|
|
21126
21126
|
ie.containerPoint = de ? this.latLngToContainerPoint(q.getLatLng()) : this.mouseEventToContainerPoint(d), ie.layerPoint = this.containerPointToLayerPoint(ie.containerPoint), ie.latlng = de ? q.getLatLng() : this.layerPointToLatLng(ie.layerPoint);
|
|
21127
21127
|
}
|
|
21128
|
-
for (
|
|
21129
|
-
if (R[
|
|
21128
|
+
for ($ = 0; $ < R.length; $++)
|
|
21129
|
+
if (R[$].fire(g, ie, !0), ie.originalEvent._stopped || R[$].options.bubblingMouseEvents === !1 && E(this._mouseEvents, g) !== -1)
|
|
21130
21130
|
return;
|
|
21131
21131
|
}
|
|
21132
21132
|
},
|
|
@@ -21186,8 +21186,8 @@ var Qa = {}, Qve = {
|
|
|
21186
21186
|
_limitCenter: function(d, g, x) {
|
|
21187
21187
|
if (!x)
|
|
21188
21188
|
return d;
|
|
21189
|
-
var O = this.project(d, g), R = this.getSize().divideBy(2), M = new H(O.subtract(R), O.add(R)),
|
|
21190
|
-
return Math.abs(
|
|
21189
|
+
var O = this.project(d, g), R = this.getSize().divideBy(2), M = new H(O.subtract(R), O.add(R)), $ = this._getBoundsOffset(M, x, g);
|
|
21190
|
+
return Math.abs($.x) <= 1 && Math.abs($.y) <= 1 ? d : this.unproject(O.add($), g);
|
|
21191
21191
|
},
|
|
21192
21192
|
// adjust offset for view to get inside bounds
|
|
21193
21193
|
_limitOffset: function(d, g) {
|
|
@@ -21201,8 +21201,8 @@ var Qa = {}, Qve = {
|
|
|
21201
21201
|
var O = Y(
|
|
21202
21202
|
this.project(g.getNorthEast(), x),
|
|
21203
21203
|
this.project(g.getSouthWest(), x)
|
|
21204
|
-
), R = O.min.subtract(d.min), M = O.max.subtract(d.max),
|
|
21205
|
-
return new z(
|
|
21204
|
+
), R = O.min.subtract(d.min), M = O.max.subtract(d.max), $ = this._rebound(R.x, -M.x), q = this._rebound(R.y, -M.y);
|
|
21205
|
+
return new z($, q);
|
|
21206
21206
|
},
|
|
21207
21207
|
_rebound: function(d, g) {
|
|
21208
21208
|
return d + g > 0 ? Math.round(d - g) / 2 : Math.max(0, Math.ceil(d)) - Math.max(0, Math.floor(g));
|
|
@@ -21329,8 +21329,8 @@ var Qa = {}, Qve = {
|
|
|
21329
21329
|
_initControlPos: function() {
|
|
21330
21330
|
var d = this._controlCorners = {}, g = "leaflet-", x = this._controlContainer = bt("div", g + "control-container", this._container);
|
|
21331
21331
|
function O(R, M) {
|
|
21332
|
-
var
|
|
21333
|
-
d[R + M] = bt("div",
|
|
21332
|
+
var $ = g + R + " " + g + M;
|
|
21333
|
+
d[R + M] = bt("div", $, x);
|
|
21334
21334
|
}
|
|
21335
21335
|
O("top", "left"), O("top", "right"), O("bottom", "left"), O("bottom", "right");
|
|
21336
21336
|
},
|
|
@@ -21477,8 +21477,8 @@ var Qa = {}, Qve = {
|
|
|
21477
21477
|
R.innerHTML = " " + d.name;
|
|
21478
21478
|
var M = document.createElement("span");
|
|
21479
21479
|
g.appendChild(M), M.appendChild(O), M.appendChild(R);
|
|
21480
|
-
var
|
|
21481
|
-
return
|
|
21480
|
+
var $ = d.overlay ? this._overlaysList : this._baseLayersList;
|
|
21481
|
+
return $.appendChild(g), this._checkDisabledLayers(), g;
|
|
21482
21482
|
},
|
|
21483
21483
|
_onInputClick: function() {
|
|
21484
21484
|
if (!this._preventClick) {
|
|
@@ -21784,18 +21784,18 @@ var Qa = {}, Qve = {
|
|
|
21784
21784
|
}
|
|
21785
21785
|
});
|
|
21786
21786
|
function zP(d, g, x) {
|
|
21787
|
-
var O, R = [1, 4, 2, 8], M,
|
|
21787
|
+
var O, R = [1, 4, 2, 8], M, $, q, ie, de, Ne, Xe, ot;
|
|
21788
21788
|
for (M = 0, Ne = d.length; M < Ne; M++)
|
|
21789
21789
|
d[M]._code = ec(d[M], g);
|
|
21790
21790
|
for (q = 0; q < 4; q++) {
|
|
21791
|
-
for (Xe = R[q], O = [], M = 0, Ne = d.length,
|
|
21792
|
-
ie = d[M], de = d[
|
|
21791
|
+
for (Xe = R[q], O = [], M = 0, Ne = d.length, $ = Ne - 1; M < Ne; $ = M++)
|
|
21792
|
+
ie = d[M], de = d[$], ie._code & Xe ? de._code & Xe || (ot = Cv(de, ie, Xe, g, x), ot._code = ec(ot, g), O.push(ot)) : (de._code & Xe && (ot = Cv(de, ie, Xe, g, x), ot._code = ec(ot, g), O.push(ot)), O.push(ie));
|
|
21793
21793
|
d = O;
|
|
21794
21794
|
}
|
|
21795
21795
|
return d;
|
|
21796
21796
|
}
|
|
21797
21797
|
function jP(d, g) {
|
|
21798
|
-
var x, O, R, M,
|
|
21798
|
+
var x, O, R, M, $, q, ie, de, Ne;
|
|
21799
21799
|
if (!d || d.length === 0)
|
|
21800
21800
|
throw new Error("latlngs not passed");
|
|
21801
21801
|
Xi(d) || (console.warn("latlngs are not flat! Only the first ring will be used"), d = d[0]);
|
|
@@ -21807,7 +21807,7 @@ var Qa = {}, Qve = {
|
|
|
21807
21807
|
$i.push(g.project(Q([qr.lat - Xe.lat, qr.lng - Xe.lng])));
|
|
21808
21808
|
}
|
|
21809
21809
|
for (q = ie = de = 0, x = 0, O = Dn - 1; x < Dn; O = x++)
|
|
21810
|
-
R = $i[x], M = $i[O],
|
|
21810
|
+
R = $i[x], M = $i[O], $ = R.y * M.x - M.y * R.x, ie += (R.x + M.x) * $, de += (R.y + M.y) * $, q += $ * 3;
|
|
21811
21811
|
q === 0 ? Ne = $i[0] : Ne = [ie / q, de / q];
|
|
21812
21812
|
var Yf = g.unproject(V(Ne));
|
|
21813
21813
|
return Q([Yf.lat + Xe.lat, Yf.lng + Xe.lng]);
|
|
@@ -21840,16 +21840,16 @@ var Qa = {}, Qve = {
|
|
|
21840
21840
|
function Lte(d, g) {
|
|
21841
21841
|
var x = d.length, O = typeof Uint8Array != void 0 + "" ? Uint8Array : Array, R = new O(x);
|
|
21842
21842
|
R[0] = R[x - 1] = 1, TS(d, R, g, 0, x - 1);
|
|
21843
|
-
var M,
|
|
21843
|
+
var M, $ = [];
|
|
21844
21844
|
for (M = 0; M < x; M++)
|
|
21845
|
-
R[M] &&
|
|
21846
|
-
return
|
|
21845
|
+
R[M] && $.push(d[M]);
|
|
21846
|
+
return $;
|
|
21847
21847
|
}
|
|
21848
21848
|
function TS(d, g, x, O, R) {
|
|
21849
|
-
var M = 0,
|
|
21849
|
+
var M = 0, $, q, ie;
|
|
21850
21850
|
for (q = O + 1; q <= R - 1; q++)
|
|
21851
|
-
ie = Op(d[q], d[O], d[R], !0), ie > M && (
|
|
21852
|
-
M > x && (g[
|
|
21851
|
+
ie = Op(d[q], d[O], d[R], !0), ie > M && ($ = q, M = ie);
|
|
21852
|
+
M > x && (g[$] = 1, TS(d, g, x, O, $), TS(d, g, x, $, R));
|
|
21853
21853
|
}
|
|
21854
21854
|
function Ate(d, g) {
|
|
21855
21855
|
for (var x = [d[0]], O = 1, R = 0, M = d.length; O < M; O++)
|
|
@@ -21858,18 +21858,18 @@ var Qa = {}, Qve = {
|
|
|
21858
21858
|
}
|
|
21859
21859
|
var XP;
|
|
21860
21860
|
function $P(d, g, x, O, R) {
|
|
21861
|
-
var M = O ? XP : ec(d, x),
|
|
21862
|
-
for (XP =
|
|
21863
|
-
if (!(M |
|
|
21861
|
+
var M = O ? XP : ec(d, x), $ = ec(g, x), q, ie, de;
|
|
21862
|
+
for (XP = $; ; ) {
|
|
21863
|
+
if (!(M | $))
|
|
21864
21864
|
return [d, g];
|
|
21865
|
-
if (M &
|
|
21865
|
+
if (M & $)
|
|
21866
21866
|
return !1;
|
|
21867
|
-
q = M ||
|
|
21867
|
+
q = M || $, ie = Cv(d, g, q, x, R), de = ec(ie, x), q === M ? (d = ie, M = de) : (g = ie, $ = de);
|
|
21868
21868
|
}
|
|
21869
21869
|
}
|
|
21870
21870
|
function Cv(d, g, x, O, R) {
|
|
21871
|
-
var M = g.x - d.x,
|
|
21872
|
-
return x & 8 ? (de = d.x + M * (ie.y - d.y) /
|
|
21871
|
+
var M = g.x - d.x, $ = g.y - d.y, q = O.min, ie = O.max, de, Ne;
|
|
21872
|
+
return x & 8 ? (de = d.x + M * (ie.y - d.y) / $, Ne = ie.y) : x & 4 ? (de = d.x + M * (q.y - d.y) / $, Ne = q.y) : x & 2 ? (de = ie.x, Ne = d.y + $ * (ie.x - d.x) / M) : x & 1 && (de = q.x, Ne = d.y + $ * (q.x - d.x) / M), new z(de, Ne, R);
|
|
21873
21873
|
}
|
|
21874
21874
|
function ec(d, g) {
|
|
21875
21875
|
var x = 0;
|
|
@@ -21880,8 +21880,8 @@ var Qa = {}, Qve = {
|
|
|
21880
21880
|
return x * x + O * O;
|
|
21881
21881
|
}
|
|
21882
21882
|
function Op(d, g, x, O) {
|
|
21883
|
-
var R = g.x, M = g.y,
|
|
21884
|
-
return ie > 0 && (de = ((d.x - R) *
|
|
21883
|
+
var R = g.x, M = g.y, $ = x.x - R, q = x.y - M, ie = $ * $ + q * q, de;
|
|
21884
|
+
return ie > 0 && (de = ((d.x - R) * $ + (d.y - M) * q) / ie, de > 1 ? (R = x.x, M = x.y) : de > 0 && (R += $ * de, M += q * de)), $ = d.x - R, q = d.y - M, O ? $ * $ + q * q : new z(R, M);
|
|
21885
21885
|
}
|
|
21886
21886
|
function Xi(d) {
|
|
21887
21887
|
return !_(d[0]) || typeof d[0][0] != "object" && typeof d[0][0] < "u";
|
|
@@ -21890,7 +21890,7 @@ var Qa = {}, Qve = {
|
|
|
21890
21890
|
return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."), Xi(d);
|
|
21891
21891
|
}
|
|
21892
21892
|
function HP(d, g) {
|
|
21893
|
-
var x, O, R, M,
|
|
21893
|
+
var x, O, R, M, $, q, ie, de;
|
|
21894
21894
|
if (!d || d.length === 0)
|
|
21895
21895
|
throw new Error("latlngs not passed");
|
|
21896
21896
|
Xi(d) || (console.warn("latlngs are not flat! Only the first ring will be used"), d = d[0]);
|
|
@@ -21907,10 +21907,10 @@ var Qa = {}, Qve = {
|
|
|
21907
21907
|
de = Dn[0];
|
|
21908
21908
|
else
|
|
21909
21909
|
for (x = 0, M = 0; x < Lr - 1; x++)
|
|
21910
|
-
if (
|
|
21910
|
+
if ($ = Dn[x], q = Dn[x + 1], R = $.distanceTo(q), M += R, M > O) {
|
|
21911
21911
|
ie = (M - O) / R, de = [
|
|
21912
|
-
q.x - ie * (q.x -
|
|
21913
|
-
q.y - ie * (q.y -
|
|
21912
|
+
q.x - ie * (q.x - $.x),
|
|
21913
|
+
q.y - ie * (q.y - $.y)
|
|
21914
21914
|
];
|
|
21915
21915
|
break;
|
|
21916
21916
|
}
|
|
@@ -21942,13 +21942,13 @@ var Qa = {}, Qve = {
|
|
|
21942
21942
|
R_MINOR: 6356752314245179e-9,
|
|
21943
21943
|
bounds: new H([-2003750834279e-5, -1549657073972e-5], [2003750834279e-5, 1876465623138e-5]),
|
|
21944
21944
|
project: function(d) {
|
|
21945
|
-
var g = Math.PI / 180, x = this.R, O = d.lat * g, R = this.R_MINOR / x, M = Math.sqrt(1 - R * R),
|
|
21945
|
+
var g = Math.PI / 180, x = this.R, O = d.lat * g, R = this.R_MINOR / x, M = Math.sqrt(1 - R * R), $ = M * Math.sin(O), q = Math.tan(Math.PI / 4 - O / 2) / Math.pow((1 - $) / (1 + $), M / 2);
|
|
21946
21946
|
return O = -x * Math.log(Math.max(q, 1e-10)), new z(d.lng * g * x, O);
|
|
21947
21947
|
},
|
|
21948
21948
|
unproject: function(d) {
|
|
21949
|
-
for (var g = 180 / Math.PI, x = this.R, O = this.R_MINOR / x, R = Math.sqrt(1 - O * O), M = Math.exp(-d.y / x),
|
|
21950
|
-
de = R * Math.sin(
|
|
21951
|
-
return new te(
|
|
21949
|
+
for (var g = 180 / Math.PI, x = this.R, O = this.R_MINOR / x, R = Math.sqrt(1 - O * O), M = Math.exp(-d.y / x), $ = Math.PI / 2 - 2 * Math.atan(M), q = 0, ie = 0.1, de; q < 15 && Math.abs(ie) > 1e-7; q++)
|
|
21950
|
+
de = R * Math.sin($), de = Math.pow((1 - de) / (1 + de), R / 2), ie = Math.PI / 2 - 2 * Math.atan(M * de) - $, $ += ie;
|
|
21951
|
+
return new te($ * g, d.x * g / x);
|
|
21952
21952
|
}
|
|
21953
21953
|
}, Dte = {
|
|
21954
21954
|
__proto__: null,
|
|
@@ -21960,15 +21960,15 @@ var Qa = {}, Qve = {
|
|
|
21960
21960
|
projection: RS,
|
|
21961
21961
|
transformation: function() {
|
|
21962
21962
|
var d = 0.5 / (Math.PI * RS.R);
|
|
21963
|
-
return
|
|
21963
|
+
return X(d, 0.5, -d, 0.5);
|
|
21964
21964
|
}()
|
|
21965
21965
|
}), UP = i({}, le, {
|
|
21966
21966
|
code: "EPSG:4326",
|
|
21967
21967
|
projection: NS,
|
|
21968
|
-
transformation:
|
|
21968
|
+
transformation: X(1 / 180, 1, -1 / 180, 0.5)
|
|
21969
21969
|
}), Zte = i({}, ce, {
|
|
21970
21970
|
projection: NS,
|
|
21971
|
-
transformation:
|
|
21971
|
+
transformation: X(1, 0, -1, 0),
|
|
21972
21972
|
scale: function(d) {
|
|
21973
21973
|
return Math.pow(2, d);
|
|
21974
21974
|
},
|
|
@@ -22363,14 +22363,14 @@ var Qa = {}, Qve = {
|
|
|
22363
22363
|
return this._draggable && this._draggable._moved;
|
|
22364
22364
|
},
|
|
22365
22365
|
_adjustPan: function(d) {
|
|
22366
|
-
var g = this._marker, x = g._map, O = this._marker.options.autoPanSpeed, R = this._marker.options.autoPanPadding, M = Ju(g._icon),
|
|
22367
|
-
|
|
22368
|
-
|
|
22366
|
+
var g = this._marker, x = g._map, O = this._marker.options.autoPanSpeed, R = this._marker.options.autoPanPadding, M = Ju(g._icon), $ = x.getPixelBounds(), q = x.getPixelOrigin(), ie = Y(
|
|
22367
|
+
$.min._subtract(q).add(R),
|
|
22368
|
+
$.max._subtract(q).subtract(R)
|
|
22369
22369
|
);
|
|
22370
22370
|
if (!ie.contains(M)) {
|
|
22371
22371
|
var de = V(
|
|
22372
|
-
(Math.max(ie.max.x, M.x) - ie.max.x) / (
|
|
22373
|
-
(Math.max(ie.max.y, M.y) - ie.max.y) / (
|
|
22372
|
+
(Math.max(ie.max.x, M.x) - ie.max.x) / ($.max.x - ie.max.x) - (Math.min(ie.min.x, M.x) - ie.min.x) / ($.min.x - ie.min.x),
|
|
22373
|
+
(Math.max(ie.max.y, M.y) - ie.max.y) / ($.max.y - ie.max.y) - (Math.min(ie.min.y, M.y) - ie.min.y) / ($.min.y - ie.min.y)
|
|
22374
22374
|
).multiplyBy(O);
|
|
22375
22375
|
x.panBy(de, { animate: !1 }), this._draggable._newPos._add(de), this._draggable._startPos._add(de), yn(g._icon, this._draggable._newPos), this._onDrag(d), this._panRequest = A(this._adjustPan.bind(this, d));
|
|
22376
22376
|
}
|
|
@@ -22752,8 +22752,8 @@ var Qa = {}, Qve = {
|
|
|
22752
22752
|
_project: function() {
|
|
22753
22753
|
var d = this._latlng.lng, g = this._latlng.lat, x = this._map, O = x.options.crs;
|
|
22754
22754
|
if (O.distance === le.distance) {
|
|
22755
|
-
var R = Math.PI / 180, M = this._mRadius / le.R / R,
|
|
22756
|
-
(isNaN(Ne) || Ne === 0) && (Ne = M / Math.cos(Math.PI / 180 * g)), this._point = ie.subtract(x.getPixelOrigin()), this._radius = isNaN(Ne) ? 0 : ie.x - x.project([de, d - Ne]).x, this._radiusY = ie.y -
|
|
22755
|
+
var R = Math.PI / 180, M = this._mRadius / le.R / R, $ = x.project([g + M, d]), q = x.project([g - M, d]), ie = $.add(q).divideBy(2), de = x.unproject(ie).lat, Ne = Math.acos((Math.cos(M * R) - Math.sin(g * R) * Math.sin(de * R)) / (Math.cos(g * R) * Math.cos(de * R))) / R;
|
|
22756
|
+
(isNaN(Ne) || Ne === 0) && (Ne = M / Math.cos(Math.PI / 180 * g)), this._point = ie.subtract(x.getPixelOrigin()), this._radius = isNaN(Ne) ? 0 : ie.x - x.project([de, d - Ne]).x, this._radiusY = ie.y - $.y;
|
|
22757
22757
|
} else {
|
|
22758
22758
|
var Xe = O.unproject(O.project(this._latlng).subtract([this._mRadius, 0]));
|
|
22759
22759
|
this._point = x.latLngToLayerPoint(this._latlng), this._radius = this._point.x - x.latLngToLayerPoint(Xe).x;
|
|
@@ -22797,8 +22797,8 @@ var Qa = {}, Qve = {
|
|
|
22797
22797
|
// @method closestLayerPoint(p: Point): Point
|
|
22798
22798
|
// Returns the point closest to `p` on the Polyline.
|
|
22799
22799
|
closestLayerPoint: function(d) {
|
|
22800
|
-
for (var g = 1 / 0, x = null, O = Op, R, M,
|
|
22801
|
-
for (var ie = this._parts[
|
|
22800
|
+
for (var g = 1 / 0, x = null, O = Op, R, M, $ = 0, q = this._parts.length; $ < q; $++)
|
|
22801
|
+
for (var ie = this._parts[$], de = 1, Ne = ie.length; de < Ne; de++) {
|
|
22802
22802
|
R = ie[de - 1], M = ie[de];
|
|
22803
22803
|
var Xe = O(d, R, M, !0);
|
|
22804
22804
|
Xe < g && (g = Xe, x = O(d, R, M));
|
|
@@ -22849,11 +22849,11 @@ var Qa = {}, Qve = {
|
|
|
22849
22849
|
},
|
|
22850
22850
|
// recursively turns latlngs into a set of rings with projected coordinates
|
|
22851
22851
|
_projectLatlngs: function(d, g, x) {
|
|
22852
|
-
var O = d[0] instanceof te, R = d.length, M,
|
|
22852
|
+
var O = d[0] instanceof te, R = d.length, M, $;
|
|
22853
22853
|
if (O) {
|
|
22854
|
-
for (
|
|
22855
|
-
|
|
22856
|
-
g.push(
|
|
22854
|
+
for ($ = [], M = 0; M < R; M++)
|
|
22855
|
+
$[M] = this._map.latLngToLayerPoint(d[M]), x.extend($[M]);
|
|
22856
|
+
g.push($);
|
|
22857
22857
|
} else
|
|
22858
22858
|
for (M = 0; M < R; M++)
|
|
22859
22859
|
this._projectLatlngs(d[M], g, x);
|
|
@@ -22866,10 +22866,10 @@ var Qa = {}, Qve = {
|
|
|
22866
22866
|
this._parts = this._rings;
|
|
22867
22867
|
return;
|
|
22868
22868
|
}
|
|
22869
|
-
var g = this._parts, x, O, R, M,
|
|
22869
|
+
var g = this._parts, x, O, R, M, $, q, ie;
|
|
22870
22870
|
for (x = 0, R = 0, M = this._rings.length; x < M; x++)
|
|
22871
|
-
for (ie = this._rings[x], O = 0,
|
|
22872
|
-
q = $P(ie[O], ie[O + 1], d, O, !0), q && (g[R] = g[R] || [], g[R].push(q[0]), (q[1] !== ie[O + 1] || O ===
|
|
22871
|
+
for (ie = this._rings[x], O = 0, $ = ie.length; O < $ - 1; O++)
|
|
22872
|
+
q = $P(ie[O], ie[O + 1], d, O, !0), q && (g[R] = g[R] || [], g[R].push(q[0]), (q[1] !== ie[O + 1] || O === $ - 2) && (g[R].push(q[1]), R++));
|
|
22873
22873
|
}
|
|
22874
22874
|
},
|
|
22875
22875
|
// simplify each clipped part of the polyline for performance
|
|
@@ -22885,11 +22885,11 @@ var Qa = {}, Qve = {
|
|
|
22885
22885
|
},
|
|
22886
22886
|
// Needed by the `Canvas` renderer for interactivity
|
|
22887
22887
|
_containsPoint: function(d, g) {
|
|
22888
|
-
var x, O, R, M,
|
|
22888
|
+
var x, O, R, M, $, q, ie = this._clickTolerance();
|
|
22889
22889
|
if (!this._pxBounds || !this._pxBounds.contains(d))
|
|
22890
22890
|
return !1;
|
|
22891
22891
|
for (x = 0, M = this._parts.length; x < M; x++)
|
|
22892
|
-
for (q = this._parts[x], O = 0,
|
|
22892
|
+
for (q = this._parts[x], O = 0, $ = q.length, R = $ - 1; O < $; R = O++)
|
|
22893
22893
|
if (!(!g && O === 0) && BP(d, q[R], q[O]) <= ie)
|
|
22894
22894
|
return !0;
|
|
22895
22895
|
return !1;
|
|
@@ -22939,12 +22939,12 @@ var Qa = {}, Qve = {
|
|
|
22939
22939
|
},
|
|
22940
22940
|
// Needed by the `Canvas` renderer for interactivity
|
|
22941
22941
|
_containsPoint: function(d) {
|
|
22942
|
-
var g = !1, x, O, R, M,
|
|
22942
|
+
var g = !1, x, O, R, M, $, q, ie, de;
|
|
22943
22943
|
if (!this._pxBounds || !this._pxBounds.contains(d))
|
|
22944
22944
|
return !1;
|
|
22945
22945
|
for (M = 0, ie = this._parts.length; M < ie; M++)
|
|
22946
|
-
for (x = this._parts[M],
|
|
22947
|
-
O = x[
|
|
22946
|
+
for (x = this._parts[M], $ = 0, de = x.length, q = de - 1; $ < de; q = $++)
|
|
22947
|
+
O = x[$], R = x[q], O.y > d.y != R.y > d.y && d.x < (R.x - O.x) * (d.y - O.y) / (R.y - O.y) + O.x && (g = !g);
|
|
22948
22948
|
return g || Is.prototype._containsPoint.call(this, d, !0);
|
|
22949
22949
|
}
|
|
22950
22950
|
});
|
|
@@ -23016,8 +23016,8 @@ var Qa = {}, Qve = {
|
|
|
23016
23016
|
var M = this.options;
|
|
23017
23017
|
if (M.filter && !M.filter(d))
|
|
23018
23018
|
return this;
|
|
23019
|
-
var
|
|
23020
|
-
return
|
|
23019
|
+
var $ = Nv(d, M);
|
|
23020
|
+
return $ ? ($.feature = Av(d), $.defaultOptions = $.options, this.resetStyle($), M.onEachFeature && M.onEachFeature(d, $), this.addLayer($)) : this;
|
|
23021
23021
|
},
|
|
23022
23022
|
// @method resetStyle( <Path> layer? ): this
|
|
23023
23023
|
// Resets the given vector layer's style to the original GeoJSON style, useful for resetting style after hover events.
|
|
@@ -23037,22 +23037,22 @@ var Qa = {}, Qve = {
|
|
|
23037
23037
|
}
|
|
23038
23038
|
});
|
|
23039
23039
|
function Nv(d, g) {
|
|
23040
|
-
var x = d.type === "Feature" ? d.geometry : d, O = x ? x.coordinates : null, R = [], M = g && g.pointToLayer,
|
|
23040
|
+
var x = d.type === "Feature" ? d.geometry : d, O = x ? x.coordinates : null, R = [], M = g && g.pointToLayer, $ = g && g.coordsToLatLng || AS, q, ie, de, Ne;
|
|
23041
23041
|
if (!O && !x)
|
|
23042
23042
|
return null;
|
|
23043
23043
|
switch (x.type) {
|
|
23044
23044
|
case "Point":
|
|
23045
|
-
return q =
|
|
23045
|
+
return q = $(O), JP(M, d, q, g);
|
|
23046
23046
|
case "MultiPoint":
|
|
23047
23047
|
for (de = 0, Ne = O.length; de < Ne; de++)
|
|
23048
|
-
q =
|
|
23048
|
+
q = $(O[de]), R.push(JP(M, d, q, g));
|
|
23049
23049
|
return new Cs(R);
|
|
23050
23050
|
case "LineString":
|
|
23051
23051
|
case "MultiLineString":
|
|
23052
|
-
return ie = Rv(O, x.type === "LineString" ? 0 : 1,
|
|
23052
|
+
return ie = Rv(O, x.type === "LineString" ? 0 : 1, $), new Is(ie, g);
|
|
23053
23053
|
case "Polygon":
|
|
23054
23054
|
case "MultiPolygon":
|
|
23055
|
-
return ie = Rv(O, x.type === "Polygon" ? 1 : 2,
|
|
23055
|
+
return ie = Rv(O, x.type === "Polygon" ? 1 : 2, $), new Bf(ie, g);
|
|
23056
23056
|
case "GeometryCollection":
|
|
23057
23057
|
for (de = 0, Ne = x.geometries.length; de < Ne; de++) {
|
|
23058
23058
|
var Xe = Nv({
|
|
@@ -23080,15 +23080,15 @@ var Qa = {}, Qve = {
|
|
|
23080
23080
|
return new te(d[1], d[0], d[2]);
|
|
23081
23081
|
}
|
|
23082
23082
|
function Rv(d, g, x) {
|
|
23083
|
-
for (var O = [], R = 0, M = d.length,
|
|
23084
|
-
|
|
23083
|
+
for (var O = [], R = 0, M = d.length, $; R < M; R++)
|
|
23084
|
+
$ = g ? Rv(d[R], g - 1, x) : (x || AS)(d[R]), O.push($);
|
|
23085
23085
|
return O;
|
|
23086
23086
|
}
|
|
23087
23087
|
function PS(d, g) {
|
|
23088
23088
|
return d = Q(d), d.alt !== void 0 ? [h(d.lng, g), h(d.lat, g), h(d.alt, g)] : [h(d.lng, g), h(d.lat, g)];
|
|
23089
23089
|
}
|
|
23090
23090
|
function Lv(d, g, x, O) {
|
|
23091
|
-
for (var R = [], M = 0,
|
|
23091
|
+
for (var R = [], M = 0, $ = d.length; M < $; M++)
|
|
23092
23092
|
R.push(g ? Lv(d[M], Xi(d[M]) ? 0 : g - 1, x, O) : PS(d[M], O));
|
|
23093
23093
|
return !g && x && R.length > 0 && R.push(R[0].slice()), R;
|
|
23094
23094
|
}
|
|
@@ -23150,8 +23150,8 @@ var Qa = {}, Qve = {
|
|
|
23150
23150
|
if (x)
|
|
23151
23151
|
O.push(M.geometry);
|
|
23152
23152
|
else {
|
|
23153
|
-
var
|
|
23154
|
-
|
|
23153
|
+
var $ = Av(M);
|
|
23154
|
+
$.type === "FeatureCollection" ? O.push.apply(O, $.features) : O.push($);
|
|
23155
23155
|
}
|
|
23156
23156
|
}
|
|
23157
23157
|
}), x ? Xf(this, {
|
|
@@ -23323,8 +23323,8 @@ var Qa = {}, Qve = {
|
|
|
23323
23323
|
}
|
|
23324
23324
|
_(this._url) || (this._url = [this._url]), !this.options.keepAspectRatio && Object.prototype.hasOwnProperty.call(g.style, "objectFit") && (g.style.objectFit = "fill"), g.autoplay = !!this.options.autoplay, g.loop = !!this.options.loop, g.muted = !!this.options.muted, g.playsInline = !!this.options.playsInline;
|
|
23325
23325
|
for (var M = 0; M < this._url.length; M++) {
|
|
23326
|
-
var
|
|
23327
|
-
|
|
23326
|
+
var $ = bt("source");
|
|
23327
|
+
$.src = this._url[M], g.appendChild($);
|
|
23328
23328
|
}
|
|
23329
23329
|
}
|
|
23330
23330
|
// @method getElement(): HTMLVideoElement
|
|
@@ -23622,7 +23622,7 @@ var Qa = {}, Qve = {
|
|
|
23622
23622
|
}
|
|
23623
23623
|
var d = this._map, g = parseInt(xp(this._container, "marginBottom"), 10) || 0, x = this._container.offsetHeight + g, O = this._containerWidth, R = new z(this._containerLeft, -x - this._containerBottom);
|
|
23624
23624
|
R._add(Ju(this._container));
|
|
23625
|
-
var M = d.layerPointToContainerPoint(R),
|
|
23625
|
+
var M = d.layerPointToContainerPoint(R), $ = V(this.options.autoPanPadding), q = V(this.options.autoPanPaddingTopLeft || $), ie = V(this.options.autoPanPaddingBottomRight || $), de = d.getSize(), Ne = 0, Xe = 0;
|
|
23626
23626
|
M.x + O + ie.x > de.x && (Ne = M.x + O - de.x + ie.x), M.x - Ne - q.x < 0 && (Ne = M.x - q.x), M.y + x + ie.y > de.y && (Xe = M.y + x - de.y + ie.y), M.y - Xe - q.y < 0 && (Xe = M.y - q.y), (Ne || Xe) && (this.options.keepInView && (this._autopanning = !0), d.fire("autopanstart").panBy([Ne, Xe]));
|
|
23627
23627
|
}
|
|
23628
23628
|
},
|
|
@@ -23764,8 +23764,8 @@ var Qa = {}, Qve = {
|
|
|
23764
23764
|
_adjustPan: function() {
|
|
23765
23765
|
},
|
|
23766
23766
|
_setPosition: function(d) {
|
|
23767
|
-
var g, x, O = this._map, R = this._container, M = O.latLngToContainerPoint(O.getCenter()),
|
|
23768
|
-
q === "top" ? (g = ie / 2, x = de) : q === "bottom" ? (g = ie / 2, x = 0) : q === "center" ? (g = ie / 2, x = de / 2) : q === "right" ? (g = 0, x = de / 2) : q === "left" ? (g = ie, x = de / 2) :
|
|
23767
|
+
var g, x, O = this._map, R = this._container, M = O.latLngToContainerPoint(O.getCenter()), $ = O.layerPointToContainerPoint(d), q = this.options.direction, ie = R.offsetWidth, de = R.offsetHeight, Ne = V(this.options.offset), Xe = this._getAnchor();
|
|
23768
|
+
q === "top" ? (g = ie / 2, x = de) : q === "bottom" ? (g = ie / 2, x = 0) : q === "center" ? (g = ie / 2, x = de / 2) : q === "right" ? (g = 0, x = de / 2) : q === "left" ? (g = ie, x = de / 2) : $.x < M.x ? (q = "right", g = 0, x = de / 2) : (q = "left", g = ie + (Ne.x + Xe.x) * 2, x = de / 2), d = d.subtract(V(g, x, !0)).add(Ne).add(Xe), pn(R, "leaflet-tooltip-right"), pn(R, "leaflet-tooltip-left"), pn(R, "leaflet-tooltip-top"), pn(R, "leaflet-tooltip-bottom"), rt(R, "leaflet-tooltip-" + q), yn(R, d);
|
|
23769
23769
|
},
|
|
23770
23770
|
_updatePosition: function() {
|
|
23771
23771
|
var d = this._map.latLngToLayerPoint(this._latlng);
|
|
@@ -24123,17 +24123,17 @@ var Qa = {}, Qve = {
|
|
|
24123
24123
|
this._removeAllTiles(), this._tileZoom = void 0;
|
|
24124
24124
|
},
|
|
24125
24125
|
_retainParent: function(d, g, x, O) {
|
|
24126
|
-
var R = Math.floor(d / 2), M = Math.floor(g / 2),
|
|
24127
|
-
q.z =
|
|
24126
|
+
var R = Math.floor(d / 2), M = Math.floor(g / 2), $ = x - 1, q = new z(+R, +M);
|
|
24127
|
+
q.z = +$;
|
|
24128
24128
|
var ie = this._tileCoordsToKey(q), de = this._tiles[ie];
|
|
24129
|
-
return de && de.active ? (de.retain = !0, !0) : (de && de.loaded && (de.retain = !0),
|
|
24129
|
+
return de && de.active ? (de.retain = !0, !0) : (de && de.loaded && (de.retain = !0), $ > O ? this._retainParent(R, M, $, O) : !1);
|
|
24130
24130
|
},
|
|
24131
24131
|
_retainChildren: function(d, g, x, O) {
|
|
24132
24132
|
for (var R = 2 * d; R < 2 * d + 2; R++)
|
|
24133
24133
|
for (var M = 2 * g; M < 2 * g + 2; M++) {
|
|
24134
|
-
var
|
|
24135
|
-
|
|
24136
|
-
var q = this._tileCoordsToKey(
|
|
24134
|
+
var $ = new z(R, M);
|
|
24135
|
+
$.z = x + 1;
|
|
24136
|
+
var q = this._tileCoordsToKey($), ie = this._tiles[q];
|
|
24137
24137
|
if (ie && ie.active) {
|
|
24138
24138
|
ie.retain = !0;
|
|
24139
24139
|
continue;
|
|
@@ -24190,7 +24190,7 @@ var Qa = {}, Qve = {
|
|
|
24190
24190
|
if (g) {
|
|
24191
24191
|
var x = this._clampZoom(g.getZoom());
|
|
24192
24192
|
if (d === void 0 && (d = g.getCenter()), this._tileZoom !== void 0) {
|
|
24193
|
-
var O = this._getTiledPixelBounds(d), R = this._pxBoundsToTileRange(O), M = R.getCenter(),
|
|
24193
|
+
var O = this._getTiledPixelBounds(d), R = this._pxBoundsToTileRange(O), M = R.getCenter(), $ = [], q = this.options.keepBuffer, ie = new H(
|
|
24194
24194
|
R.getBottomLeft().subtract([q, -q]),
|
|
24195
24195
|
R.getTopRight().add([q, -q])
|
|
24196
24196
|
);
|
|
@@ -24209,16 +24209,16 @@ var Qa = {}, Qve = {
|
|
|
24209
24209
|
var Lr = new z(ot, Xe);
|
|
24210
24210
|
if (Lr.z = this._tileZoom, !!this._isValidTile(Lr)) {
|
|
24211
24211
|
var Dn = this._tiles[this._tileCoordsToKey(Lr)];
|
|
24212
|
-
Dn ? Dn.current = !0 :
|
|
24212
|
+
Dn ? Dn.current = !0 : $.push(Lr);
|
|
24213
24213
|
}
|
|
24214
24214
|
}
|
|
24215
|
-
if (
|
|
24215
|
+
if ($.sort(function(qr, Yf) {
|
|
24216
24216
|
return qr.distanceTo(M) - Yf.distanceTo(M);
|
|
24217
|
-
}),
|
|
24217
|
+
}), $.length !== 0) {
|
|
24218
24218
|
this._loading || (this._loading = !0, this.fire("loading"));
|
|
24219
24219
|
var $i = document.createDocumentFragment();
|
|
24220
|
-
for (ot = 0; ot <
|
|
24221
|
-
this._addTile(
|
|
24220
|
+
for (ot = 0; ot < $.length; ot++)
|
|
24221
|
+
this._addTile($[ot], $i);
|
|
24222
24222
|
this._level.el.appendChild($i);
|
|
24223
24223
|
}
|
|
24224
24224
|
}
|
|
@@ -24240,8 +24240,8 @@ var Qa = {}, Qve = {
|
|
|
24240
24240
|
return this._tileCoordsToBounds(this._keyToTileCoords(d));
|
|
24241
24241
|
},
|
|
24242
24242
|
_tileCoordsToNwSe: function(d) {
|
|
24243
|
-
var g = this._map, x = this.getTileSize(), O = d.scaleBy(x), R = O.add(x), M = g.unproject(O, d.z),
|
|
24244
|
-
return [M,
|
|
24243
|
+
var g = this._map, x = this.getTileSize(), O = d.scaleBy(x), R = O.add(x), M = g.unproject(O, d.z), $ = g.unproject(R, d.z);
|
|
24244
|
+
return [M, $];
|
|
24245
24245
|
},
|
|
24246
24246
|
// converts tile coordinates to its geographical bounds
|
|
24247
24247
|
_tileCoordsToBounds: function(d) {
|
|
@@ -24491,8 +24491,8 @@ var Qa = {}, Qve = {
|
|
|
24491
24491
|
this.wmsParams[g] = this._crs.code, $f.prototype.onAdd.call(this, d);
|
|
24492
24492
|
},
|
|
24493
24493
|
getTileUrl: function(d) {
|
|
24494
|
-
var g = this._tileCoordsToNwSe(d), x = this._crs, O = Y(x.project(g[0]), x.project(g[1])), R = O.min, M = O.max,
|
|
24495
|
-
return q + b(this.wmsParams, q, this.options.uppercase) + (this.options.uppercase ? "&BBOX=" : "&bbox=") +
|
|
24494
|
+
var g = this._tileCoordsToNwSe(d), x = this._crs, O = Y(x.project(g[0]), x.project(g[1])), R = O.min, M = O.max, $ = (this._wmsVersion >= 1.3 && this._crs === UP ? [R.y, R.x, M.y, M.x] : [R.x, R.y, M.x, M.y]).join(","), q = $f.prototype.getTileUrl.call(this, d);
|
|
24495
|
+
return q + b(this.wmsParams, q, this.options.uppercase) + (this.options.uppercase ? "&BBOX=" : "&bbox=") + $;
|
|
24496
24496
|
},
|
|
24497
24497
|
// @method setParams(params: Object, noRedraw?: Boolean): this
|
|
24498
24498
|
// Merges an object with the new parameters and re-requests tiles on the current screen (unless `noRedraw` was set to true).
|
|
@@ -24669,11 +24669,11 @@ var Qa = {}, Qve = {
|
|
|
24669
24669
|
},
|
|
24670
24670
|
_updatePoly: function(d, g) {
|
|
24671
24671
|
if (this._drawing) {
|
|
24672
|
-
var x, O, R, M,
|
|
24672
|
+
var x, O, R, M, $ = d._parts, q = $.length, ie = this._ctx;
|
|
24673
24673
|
if (q) {
|
|
24674
24674
|
for (ie.beginPath(), x = 0; x < q; x++) {
|
|
24675
|
-
for (O = 0, R =
|
|
24676
|
-
M =
|
|
24675
|
+
for (O = 0, R = $[x].length; O < R; O++)
|
|
24676
|
+
M = $[x][O], ie[O ? "lineTo" : "moveTo"](M.x, M.y);
|
|
24677
24677
|
g && ie.closePath();
|
|
24678
24678
|
}
|
|
24679
24679
|
this._fillStroke(ie, d);
|
|
@@ -25063,8 +25063,8 @@ var Qa = {}, Qve = {
|
|
|
25063
25063
|
}
|
|
25064
25064
|
},
|
|
25065
25065
|
_onPreDragWrap: function() {
|
|
25066
|
-
var d = this._worldWidth, g = Math.round(d / 2), x = this._initialWorldOffset, O = this._draggable._newPos.x, R = (O - g + x) % d + g - x, M = (O + g + x) % d - g - x,
|
|
25067
|
-
this._draggable._absPos = this._draggable._newPos.clone(), this._draggable._newPos.x =
|
|
25066
|
+
var d = this._worldWidth, g = Math.round(d / 2), x = this._initialWorldOffset, O = this._draggable._newPos.x, R = (O - g + x) % d + g - x, M = (O + g + x) % d - g - x, $ = Math.abs(R + x) < Math.abs(M + x) ? R : M;
|
|
25067
|
+
this._draggable._absPos = this._draggable._newPos.clone(), this._draggable._newPos.x = $;
|
|
25068
25068
|
},
|
|
25069
25069
|
_onDragEnd: function(d) {
|
|
25070
25070
|
var g = this._map, x = g.options, O = !x.inertia || d.noInertia || this._times.length < 2;
|
|
@@ -25072,11 +25072,11 @@ var Qa = {}, Qve = {
|
|
|
25072
25072
|
g.fire("moveend");
|
|
25073
25073
|
else {
|
|
25074
25074
|
this._prunePositions(+new Date());
|
|
25075
|
-
var R = this._lastPos.subtract(this._positions[0]), M = (this._lastTime - this._times[0]) / 1e3,
|
|
25075
|
+
var R = this._lastPos.subtract(this._positions[0]), M = (this._lastTime - this._times[0]) / 1e3, $ = x.easeLinearity, q = R.multiplyBy($ / M), ie = q.distanceTo([0, 0]), de = Math.min(x.inertiaMaxSpeed, ie), Ne = q.multiplyBy(de / ie), Xe = de / (x.inertiaDeceleration * $), ot = Ne.multiplyBy(-Xe / 2).round();
|
|
25076
25076
|
!ot.x && !ot.y ? g.fire("moveend") : (ot = g._limitOffset(ot, g.options.maxBounds), A(function() {
|
|
25077
25077
|
g.panBy(ot, {
|
|
25078
25078
|
duration: Xe,
|
|
25079
|
-
easeLinearity:
|
|
25079
|
+
easeLinearity: $,
|
|
25080
25080
|
noMoveStart: !0,
|
|
25081
25081
|
animate: !0
|
|
25082
25082
|
});
|
|
@@ -25214,8 +25214,8 @@ var Qa = {}, Qve = {
|
|
|
25214
25214
|
_performZoom: function() {
|
|
25215
25215
|
var d = this._map, g = d.getZoom(), x = this._map.options.zoomSnap || 0;
|
|
25216
25216
|
d._stop();
|
|
25217
|
-
var O = this._delta / (this._map.options.wheelPxPerZoomLevel * 4), R = 4 * Math.log(2 / (1 + Math.exp(-Math.abs(O)))) / Math.LN2, M = x ? Math.ceil(R / x) * x : R,
|
|
25218
|
-
this._delta = 0, this._startTime = null,
|
|
25217
|
+
var O = this._delta / (this._map.options.wheelPxPerZoomLevel * 4), R = 4 * Math.log(2 / (1 + Math.exp(-Math.abs(O)))) / Math.LN2, M = x ? Math.ceil(R / x) * x : R, $ = d._limitZoom(g + (this._delta > 0 ? M : -M)) - g;
|
|
25218
|
+
this._delta = 0, this._startTime = null, $ && (d.options.scrollWheelZoom === "center" ? d.setZoom(g + $) : d.setZoomAround(this._lastMousePos, g + $));
|
|
25219
25219
|
}
|
|
25220
25220
|
});
|
|
25221
25221
|
dt.addInitHook("addHandler", "scrollWheelZoom", dF);
|
|
@@ -25314,8 +25314,8 @@ var Qa = {}, Qve = {
|
|
|
25314
25314
|
this._center = g.unproject(g.project(this._pinchStartLatLng, this._zoom).subtract(M), this._zoom);
|
|
25315
25315
|
}
|
|
25316
25316
|
this._moved || (g._moveStart(!0, !1), this._moved = !0), D(this._animRequest);
|
|
25317
|
-
var
|
|
25318
|
-
this._animRequest = A(
|
|
25317
|
+
var $ = a(g._move, g, this._center, this._zoom, { pinch: !0, round: !1 }, void 0);
|
|
25318
|
+
this._animRequest = A($, this, !0), tr(d);
|
|
25319
25319
|
}
|
|
25320
25320
|
},
|
|
25321
25321
|
_onTouchEnd: function() {
|
|
@@ -25326,7 +25326,7 @@ var Qa = {}, Qve = {
|
|
|
25326
25326
|
this._zooming = !1, D(this._animRequest), Vt(document, "touchmove", this._onTouchMove, this), Vt(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));
|
|
25327
25327
|
}
|
|
25328
25328
|
});
|
|
25329
|
-
dt.addInitHook("addHandler", "touchZoom", pF), dt.BoxZoom = lF, dt.DoubleClickZoom = uF, dt.Drag = cF, dt.Keyboard = fF, dt.ScrollWheelZoom = dF, dt.TapHold = hF, dt.TouchZoom = pF, n.Bounds = H, n.Browser = Fe, n.CRS = ce, n.Canvas = iF, n.Circle = LS, n.CircleMarker = Tv, n.Class = Z, n.Control = Io, n.DivIcon = tF, n.DivOverlay = xa, n.DomEvent = _te, n.DomUtil = xte, n.Draggable = xl, n.Evented = j, n.FeatureGroup = Cs, n.GeoJSON = Ts, n.GridLayer = Ip, n.Handler = ya, n.Icon = Vf, n.ImageOverlay = Pv, n.LatLng = te, n.LatLngBounds = K, n.Layer = To, n.LayerGroup = jf, n.LineUtil = Fte, n.Map = dt, n.Marker = Iv, n.Mixin = Tte, n.Path = wl, n.Point = z, n.PolyUtil = Nte, n.Polygon = Bf, n.Polyline = Is, n.Popup = Fv, n.PosAnimation = MP, n.Projection = Dte, n.Rectangle = sF, n.Renderer = Ns, n.SVG = Np, n.SVGOverlay = eF, n.TileLayer = $f, n.Tooltip = Dv, n.Transformation = ne, n.Util = F, n.VideoOverlay = QP, n.bind = a, n.bounds = Y, n.canvas = oF, n.circle = Bte, n.circleMarker = Vte, n.control = kp, n.divIcon = Qte, n.extend = i, n.featureGroup = Wte, n.geoJSON = qP, n.geoJson = Yte, n.gridLayer = ene, n.icon = zte, n.imageOverlay = Hte, n.latLng = Q, n.latLngBounds = ee, n.layerGroup = Gte, n.map = Ste, n.marker = jte, n.point = V, n.polygon = $te, n.polyline = Xte, n.popup = Jte, n.rectangle = rne, n.setOptions = v, n.stamp = l, n.svg = aF, n.svgOverlay = Kte, n.tileLayer = nF, n.tooltip = qte, n.transformation =
|
|
25329
|
+
dt.addInitHook("addHandler", "touchZoom", pF), dt.BoxZoom = lF, dt.DoubleClickZoom = uF, dt.Drag = cF, dt.Keyboard = fF, dt.ScrollWheelZoom = dF, dt.TapHold = hF, dt.TouchZoom = pF, n.Bounds = H, n.Browser = Fe, n.CRS = ce, n.Canvas = iF, n.Circle = LS, n.CircleMarker = Tv, n.Class = Z, n.Control = Io, n.DivIcon = tF, n.DivOverlay = xa, n.DomEvent = _te, n.DomUtil = xte, n.Draggable = xl, n.Evented = j, n.FeatureGroup = Cs, n.GeoJSON = Ts, n.GridLayer = Ip, n.Handler = ya, n.Icon = Vf, n.ImageOverlay = Pv, n.LatLng = te, n.LatLngBounds = K, n.Layer = To, n.LayerGroup = jf, n.LineUtil = Fte, n.Map = dt, n.Marker = Iv, n.Mixin = Tte, n.Path = wl, n.Point = z, n.PolyUtil = Nte, n.Polygon = Bf, n.Polyline = Is, n.Popup = Fv, n.PosAnimation = MP, n.Projection = Dte, n.Rectangle = sF, n.Renderer = Ns, n.SVG = Np, n.SVGOverlay = eF, n.TileLayer = $f, n.Tooltip = Dv, n.Transformation = ne, n.Util = F, n.VideoOverlay = QP, n.bind = a, n.bounds = Y, n.canvas = oF, n.circle = Bte, n.circleMarker = Vte, n.control = kp, n.divIcon = Qte, n.extend = i, n.featureGroup = Wte, n.geoJSON = qP, n.geoJson = Yte, n.gridLayer = ene, n.icon = zte, n.imageOverlay = Hte, n.latLng = Q, n.latLngBounds = ee, n.layerGroup = Gte, n.map = Ste, n.marker = jte, n.point = V, n.polygon = $te, n.polyline = Xte, n.popup = Jte, n.rectangle = rne, n.setOptions = v, n.stamp = l, n.svg = aF, n.svgOverlay = Kte, n.tileLayer = nF, n.tooltip = qte, n.transformation = X, n.version = r, n.videoOverlay = Ute;
|
|
25330
25330
|
var one = window.L;
|
|
25331
25331
|
n.noConflict = function() {
|
|
25332
25332
|
return window.L = one, this;
|
|
@@ -26821,19 +26821,19 @@ function D$(e) {
|
|
|
26821
26821
|
}
|
|
26822
26822
|
}
|
|
26823
26823
|
w && !b && (A = t(A, 1 / 0));
|
|
26824
|
-
var z = D.length + A.length + F.length,
|
|
26825
|
-
switch (w && b && (A = t(
|
|
26824
|
+
var z = D.length + A.length + F.length, B = z < y ? new Array(y - z + 1).join(h) : "";
|
|
26825
|
+
switch (w && b && (A = t(B + A, B.length ? y - F.length : 1 / 0), B = ""), p) {
|
|
26826
26826
|
case "<":
|
|
26827
|
-
A = D + A + F +
|
|
26827
|
+
A = D + A + F + B;
|
|
26828
26828
|
break;
|
|
26829
26829
|
case "=":
|
|
26830
|
-
A = D +
|
|
26830
|
+
A = D + B + A + F;
|
|
26831
26831
|
break;
|
|
26832
26832
|
case "^":
|
|
26833
|
-
A =
|
|
26833
|
+
A = B.slice(0, z = B.length >> 1) + D + A + F + B.slice(z);
|
|
26834
26834
|
break;
|
|
26835
26835
|
default:
|
|
26836
|
-
A =
|
|
26836
|
+
A = B + D + A + F;
|
|
26837
26837
|
break;
|
|
26838
26838
|
}
|
|
26839
26839
|
return o(A);
|
|
@@ -27368,7 +27368,7 @@ function K$(e) {
|
|
|
27368
27368
|
var t = e.dateTime, n = e.date, r = e.time, i = e.periods, o = e.days, a = e.shortDays, s = e.months, l = e.shortMonths, u = Gp(i), c = Wp(i), f = Gp(o), h = Wp(o), p = Gp(a), m = Wp(a), v = Gp(s), b = Wp(s), y = Gp(l), w = Wp(l), _ = {
|
|
27369
27369
|
a: j,
|
|
27370
27370
|
A: z,
|
|
27371
|
-
b:
|
|
27371
|
+
b: B,
|
|
27372
27372
|
B: V,
|
|
27373
27373
|
c: null,
|
|
27374
27374
|
d: I9,
|
|
@@ -27468,61 +27468,61 @@ function K$(e) {
|
|
|
27468
27468
|
_.x = T(n, _), _.X = T(r, _), _.c = T(t, _), E.x = T(n, E), E.X = T(r, E), E.c = T(t, E);
|
|
27469
27469
|
function T(J, re) {
|
|
27470
27470
|
return function(ne) {
|
|
27471
|
-
var
|
|
27471
|
+
var X = [], me = -1, _e = 0, Re = J.length, Se, He, Be;
|
|
27472
27472
|
for (ne instanceof Date || (ne = new Date(+ne)); ++me < Re; )
|
|
27473
|
-
J.charCodeAt(me) === 37 && (
|
|
27474
|
-
return
|
|
27473
|
+
J.charCodeAt(me) === 37 && (X.push(J.slice(_e, me)), (He = S9[Se = J.charAt(++me)]) != null ? Se = J.charAt(++me) : He = Se === "e" ? " " : "0", (Be = re[Se]) && (Se = Be(ne, He)), X.push(Se), _e = me + 1);
|
|
27474
|
+
return X.push(J.slice(_e, me)), X.join("");
|
|
27475
27475
|
};
|
|
27476
27476
|
}
|
|
27477
27477
|
function C(J, re) {
|
|
27478
27478
|
return function(ne) {
|
|
27479
|
-
var
|
|
27479
|
+
var X = Zp(1900, void 0, 1), me = I(X, J, ne += "", 0), _e, Re;
|
|
27480
27480
|
if (me != ne.length)
|
|
27481
27481
|
return null;
|
|
27482
|
-
if ("Q" in
|
|
27483
|
-
return new Date(
|
|
27484
|
-
if ("s" in
|
|
27485
|
-
return new Date(
|
|
27486
|
-
if (re && !("Z" in
|
|
27487
|
-
if (
|
|
27482
|
+
if ("Q" in X)
|
|
27483
|
+
return new Date(X.Q);
|
|
27484
|
+
if ("s" in X)
|
|
27485
|
+
return new Date(X.s * 1e3 + ("L" in X ? X.L : 0));
|
|
27486
|
+
if (re && !("Z" in X) && (X.Z = 0), "p" in X && (X.H = X.H % 12 + X.p * 12), X.m === void 0 && (X.m = "q" in X ? X.q : 0), "V" in X) {
|
|
27487
|
+
if (X.V < 1 || X.V > 53)
|
|
27488
27488
|
return null;
|
|
27489
|
-
"w" in
|
|
27489
|
+
"w" in X || (X.w = 1), "Z" in X ? (_e = DE(Zp(X.y, 0, 1)), Re = _e.getUTCDay(), _e = Re > 4 || Re === 0 ? q1.ceil(_e) : q1(_e), _e = Jl.offset(_e, (X.V - 1) * 7), X.y = _e.getUTCFullYear(), X.m = _e.getUTCMonth(), X.d = _e.getUTCDate() + (X.w + 6) % 7) : (_e = FE(Zp(X.y, 0, 1)), Re = _e.getDay(), _e = Re > 4 || Re === 0 ? J1.ceil(_e) : J1(_e), _e = qs.offset(_e, (X.V - 1) * 7), X.y = _e.getFullYear(), X.m = _e.getMonth(), X.d = _e.getDate() + (X.w + 6) % 7);
|
|
27490
27490
|
} else
|
|
27491
|
-
("W" in
|
|
27492
|
-
return "Z" in
|
|
27491
|
+
("W" in X || "U" in X) && ("w" in X || (X.w = "u" in X ? X.u % 7 : "W" in X ? 1 : 0), Re = "Z" in X ? DE(Zp(X.y, 0, 1)).getUTCDay() : FE(Zp(X.y, 0, 1)).getDay(), X.m = 0, X.d = "W" in X ? (X.w + 6) % 7 + X.W * 7 - (Re + 5) % 7 : X.w + X.U * 7 - (Re + 6) % 7);
|
|
27492
|
+
return "Z" in X ? (X.H += X.Z / 100 | 0, X.M += X.Z % 100, DE(X)) : FE(X);
|
|
27493
27493
|
};
|
|
27494
27494
|
}
|
|
27495
|
-
function I(J, re, ne,
|
|
27495
|
+
function I(J, re, ne, X) {
|
|
27496
27496
|
for (var me = 0, _e = re.length, Re = ne.length, Se, He; me < _e; ) {
|
|
27497
|
-
if (
|
|
27497
|
+
if (X >= Re)
|
|
27498
27498
|
return -1;
|
|
27499
27499
|
if (Se = re.charCodeAt(me++), Se === 37) {
|
|
27500
|
-
if (Se = re.charAt(me++), He = k[Se in S9 ? re.charAt(me++) : Se], !He || (
|
|
27500
|
+
if (Se = re.charAt(me++), He = k[Se in S9 ? re.charAt(me++) : Se], !He || (X = He(J, ne, X)) < 0)
|
|
27501
27501
|
return -1;
|
|
27502
|
-
} else if (Se != ne.charCodeAt(
|
|
27502
|
+
} else if (Se != ne.charCodeAt(X++))
|
|
27503
27503
|
return -1;
|
|
27504
27504
|
}
|
|
27505
|
-
return
|
|
27505
|
+
return X;
|
|
27506
27506
|
}
|
|
27507
27507
|
function N(J, re, ne) {
|
|
27508
|
-
var
|
|
27509
|
-
return
|
|
27508
|
+
var X = u.exec(re.slice(ne));
|
|
27509
|
+
return X ? (J.p = c.get(X[0].toLowerCase()), ne + X[0].length) : -1;
|
|
27510
27510
|
}
|
|
27511
27511
|
function P(J, re, ne) {
|
|
27512
|
-
var
|
|
27513
|
-
return
|
|
27512
|
+
var X = p.exec(re.slice(ne));
|
|
27513
|
+
return X ? (J.w = m.get(X[0].toLowerCase()), ne + X[0].length) : -1;
|
|
27514
27514
|
}
|
|
27515
27515
|
function A(J, re, ne) {
|
|
27516
|
-
var
|
|
27517
|
-
return
|
|
27516
|
+
var X = f.exec(re.slice(ne));
|
|
27517
|
+
return X ? (J.w = h.get(X[0].toLowerCase()), ne + X[0].length) : -1;
|
|
27518
27518
|
}
|
|
27519
27519
|
function D(J, re, ne) {
|
|
27520
|
-
var
|
|
27521
|
-
return
|
|
27520
|
+
var X = y.exec(re.slice(ne));
|
|
27521
|
+
return X ? (J.m = w.get(X[0].toLowerCase()), ne + X[0].length) : -1;
|
|
27522
27522
|
}
|
|
27523
27523
|
function F(J, re, ne) {
|
|
27524
|
-
var
|
|
27525
|
-
return
|
|
27524
|
+
var X = v.exec(re.slice(ne));
|
|
27525
|
+
return X ? (J.m = b.get(X[0].toLowerCase()), ne + X[0].length) : -1;
|
|
27526
27526
|
}
|
|
27527
27527
|
function Z(J, re, ne) {
|
|
27528
27528
|
return I(J, t, re, ne);
|
|
@@ -27539,7 +27539,7 @@ function K$(e) {
|
|
|
27539
27539
|
function z(J) {
|
|
27540
27540
|
return o[J.getDay()];
|
|
27541
27541
|
}
|
|
27542
|
-
function
|
|
27542
|
+
function B(J) {
|
|
27543
27543
|
return l[J.getMonth()];
|
|
27544
27544
|
}
|
|
27545
27545
|
function V(J) {
|
|
@@ -28186,9 +28186,9 @@ const c6 = (e) => {
|
|
|
28186
28186
|
const y = rxe(a, s), w = fe(() => c ? i.map((Z) => Z[c.fid]) : [], [c, i]), [_, E] = fe(() => {
|
|
28187
28187
|
if (w.length && l && y) {
|
|
28188
28188
|
const Z = [], G = w.map((W, j) => {
|
|
28189
|
-
const z = W ? y.features.find((
|
|
28189
|
+
const z = W ? y.features.find((B) => {
|
|
28190
28190
|
var V;
|
|
28191
|
-
return ((V =
|
|
28191
|
+
return ((V = B.properties) == null ? void 0 : V[l]) === W;
|
|
28192
28192
|
}) : void 0;
|
|
28193
28193
|
return z && Z.push(j), z;
|
|
28194
28194
|
});
|
|
@@ -28205,7 +28205,7 @@ const c6 = (e) => {
|
|
|
28205
28205
|
const k = fe(() => E.length > 0 ? E.map((Z) => Z ? c6(Z.geometry) : [], []) : [], [E]), [T, C] = fe(() => {
|
|
28206
28206
|
const Z = k.flat(2);
|
|
28207
28207
|
if (Z.length > 0) {
|
|
28208
|
-
const [G, W] = Z.reduce(([j, z], [
|
|
28208
|
+
const [G, W] = Z.reduce(([j, z], [B, V]) => (V < j[0][0] && (j[0][0] = V), V > j[1][0] && (j[1][0] = V), B < j[0][1] && (j[0][1] = B), B > j[1][1] && (j[1][1] = B), [j, [z[0] + V, z[1] + B]]), [[[-180, -90], [180, 90]], [0, 0]]);
|
|
28209
28209
|
return [G, [W[0] / k.length, W[1] / k.length]];
|
|
28210
28210
|
}
|
|
28211
28211
|
return [[[-180, -90], [180, 90]], [0, 0]];
|
|
@@ -28250,23 +28250,23 @@ const c6 = (e) => {
|
|
|
28250
28250
|
S.createElement(KX, { attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors', url: "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png" }),
|
|
28251
28251
|
k.length > 0 && i.map((Z, G) => {
|
|
28252
28252
|
const W = k[G], j = N(Z), z = P(Z);
|
|
28253
|
-
return S.createElement(Xr, { key: `${G}-${j}-${z}` }, W.map((
|
|
28254
|
-
if (
|
|
28253
|
+
return S.createElement(Xr, { key: `${G}-${j}-${z}` }, W.map((B, V) => {
|
|
28254
|
+
if (B.length === 0)
|
|
28255
28255
|
return null;
|
|
28256
|
-
if (
|
|
28257
|
-
return S.createElement(HX, { key: V, center:
|
|
28256
|
+
if (B.length === 1)
|
|
28257
|
+
return S.createElement(HX, { key: V, center: B[0], radius: 3, opacity: 0.8, fillOpacity: j, fillColor: z, color: "#0004", weight: 1, stroke: !0, fill: !0 }, A.length > 0 && S.createElement(
|
|
28258
28258
|
Mk,
|
|
28259
28259
|
null,
|
|
28260
28260
|
S.createElement("header", null, i[G][c.fid]),
|
|
28261
28261
|
A.map((Y, K) => S.createElement(Kk, { key: K, allFields: o, vegaConfig: v, field: Y, value: Z[Y.key] }))
|
|
28262
28262
|
));
|
|
28263
|
-
const H = p &&
|
|
28263
|
+
const H = p && B.length >= 3 ? ixe(B) : [NaN, NaN];
|
|
28264
28264
|
return S.createElement(
|
|
28265
28265
|
Xr,
|
|
28266
28266
|
{ key: V },
|
|
28267
28267
|
S.createElement(
|
|
28268
28268
|
lbe,
|
|
28269
|
-
{ positions:
|
|
28269
|
+
{ positions: B, pathOptions: {
|
|
28270
28270
|
fillOpacity: j * 0.8,
|
|
28271
28271
|
fillColor: z,
|
|
28272
28272
|
color: "#0004",
|
|
@@ -33737,17 +33737,17 @@ function u_e() {
|
|
|
33737
33737
|
var G = nZ(N / h * Sa(I)), W = nZ(N / p * Sa(I));
|
|
33738
33738
|
(T -= G * 2) > mr ? (G *= y ? 1 : -1, E += G, k -= G) : (T = 0, E = k = (m + v) / 2), (C -= W * 2) > mr ? (W *= y ? 1 : -1, w += W, _ -= W) : (C = 0, w = _ = (m + v) / 2);
|
|
33739
33739
|
}
|
|
33740
|
-
var j = p * ic(w), z = p * Sa(w),
|
|
33740
|
+
var j = p * ic(w), z = p * Sa(w), B = h * ic(k), V = h * Sa(k);
|
|
33741
33741
|
if (P > mr) {
|
|
33742
33742
|
var H = p * ic(_), Y = p * Sa(_), K = h * ic(E), ee = h * Sa(E), te;
|
|
33743
33743
|
if (b < sh)
|
|
33744
|
-
if (te = l_e(j, z, K, ee, H, Y,
|
|
33744
|
+
if (te = l_e(j, z, K, ee, H, Y, B, V)) {
|
|
33745
33745
|
var Q = j - te[0], ce = z - te[1], le = H - te[0], J = Y - te[1], re = 1 / Sa(e_e((Q * le + ce * J) / (Rc(Q * Q + ce * ce) * Rc(le * le + J * J))) / 2), ne = Rc(te[0] * te[0] + te[1] * te[1]);
|
|
33746
33746
|
A = YE(P, (h - ne) / (re - 1)), D = YE(P, (p - ne) / (re + 1));
|
|
33747
33747
|
} else
|
|
33748
33748
|
A = D = 0;
|
|
33749
33749
|
}
|
|
33750
|
-
C > mr ? D > mr ? (F = db(K, ee, j, z, p, D, y), Z = db(H, Y,
|
|
33750
|
+
C > mr ? D > mr ? (F = db(K, ee, j, z, p, D, y), Z = db(H, Y, B, V, p, D, y), s.moveTo(F.cx + F.x01, F.cy + F.y01), D < P ? s.arc(F.cx, F.cy, D, hr(F.y01, F.x01), hr(Z.y01, Z.x01), !y) : (s.arc(F.cx, F.cy, D, hr(F.y01, F.x01), hr(F.y11, F.x11), !y), s.arc(0, 0, p, hr(F.cy + F.y11, F.cx + F.x11), hr(Z.cy + Z.y11, Z.cx + Z.x11), !y), s.arc(Z.cx, Z.cy, D, hr(Z.y11, Z.x11), hr(Z.y01, Z.x01), !y))) : (s.moveTo(j, z), s.arc(0, 0, p, w, _, !y)) : s.moveTo(j, z), !(h > mr) || !(T > mr) ? s.lineTo(B, V) : A > mr ? (F = db(B, V, H, Y, h, -A, y), Z = db(j, z, K, ee, h, -A, y), s.lineTo(F.cx + F.x01, F.cy + F.y01), A < P ? s.arc(F.cx, F.cy, A, hr(F.y01, F.x01), hr(Z.y01, Z.x01), !y) : (s.arc(F.cx, F.cy, A, hr(F.y01, F.x01), hr(F.y11, F.x11), !y), s.arc(0, 0, h, hr(F.cy + F.y11, F.cx + F.x11), hr(Z.cy + Z.y11, Z.cx + Z.x11), y), s.arc(Z.cx, Z.cy, A, hr(Z.y11, Z.x11), hr(Z.y01, Z.x01), !y))) : s.arc(0, 0, h, k, E, y);
|
|
33751
33751
|
}
|
|
33752
33752
|
if (s.closePath(), c)
|
|
33753
33753
|
return s = null, c + "" || null;
|
|
@@ -35151,8 +35151,8 @@ function fSe(e, t, n, r, i, o, a, s, l) {
|
|
|
35151
35151
|
G < 0 && o === 1 ? G += La : G > 0 && o === 0 && (G -= La);
|
|
35152
35152
|
const W = Math.ceil(Math.abs(G / (Sc + 1e-3))), j = [];
|
|
35153
35153
|
for (let z = 0; z < W; ++z) {
|
|
35154
|
-
const
|
|
35155
|
-
j[z] = [A, D,
|
|
35154
|
+
const B = F + z * G / W, V = F + (z + 1) * G / W;
|
|
35155
|
+
j[z] = [A, D, B, V, n, r, f, h];
|
|
35156
35156
|
}
|
|
35157
35157
|
return UE[u] = j;
|
|
35158
35158
|
}
|
|
@@ -39249,10 +39249,10 @@ function vOe(e) {
|
|
|
39249
39249
|
var F = Ur(D), Z = xb(N, (-P - F) / A);
|
|
39250
39250
|
if (r5(Z, C), Z = Cx(Z), !h)
|
|
39251
39251
|
return Z;
|
|
39252
|
-
var G = c[0], W = f[0], j = c[1], z = f[1],
|
|
39253
|
-
W < G && (
|
|
39252
|
+
var G = c[0], W = f[0], j = c[1], z = f[1], B;
|
|
39253
|
+
W < G && (B = G, G = W, W = B);
|
|
39254
39254
|
var V = W - G, H = ut(V - at) < ze, Y = H || V < ze;
|
|
39255
|
-
if (!H && z < j && (
|
|
39255
|
+
if (!H && z < j && (B = j, j = z, z = B), Y ? H ? j + z > 0 ^ Z[1] < (ut(Z[0] - G) < ze ? j : z) : j <= Z[1] && Z[1] <= z : V > at ^ (G <= Z[0] && Z[0] <= W)) {
|
|
39256
39256
|
var K = xb(N, (-P + F) / A);
|
|
39257
39257
|
return r5(K, C), [Z, Cx(K)];
|
|
39258
39258
|
}
|
|
@@ -39349,8 +39349,8 @@ function MH(e, t, n, r) {
|
|
|
39349
39349
|
}
|
|
39350
39350
|
function N() {
|
|
39351
39351
|
for (var G = 0, W = 0, j = p.length; W < j; ++W)
|
|
39352
|
-
for (var z = p[W],
|
|
39353
|
-
Y = ee, K = te, H = z[
|
|
39352
|
+
for (var z = p[W], B = 1, V = z.length, H = z[0], Y, K, ee = H[0], te = H[1]; B < V; ++B)
|
|
39353
|
+
Y = ee, K = te, H = z[B], ee = H[0], te = H[1], K <= r ? te > r && (ee - Y) * (r - K) > (te - K) * (e - Y) && ++G : te <= r && (ee - Y) * (r - K) < (te - K) * (e - Y) && --G;
|
|
39354
39354
|
return G;
|
|
39355
39355
|
}
|
|
39356
39356
|
function P() {
|
|
@@ -39373,8 +39373,8 @@ function MH(e, t, n, r) {
|
|
|
39373
39373
|
else if (j && E)
|
|
39374
39374
|
c.point(G, W);
|
|
39375
39375
|
else {
|
|
39376
|
-
var z = [w = Math.max(_b, Math.min(Cm, w)), _ = Math.max(_b, Math.min(Cm, _))],
|
|
39377
|
-
bOe(z,
|
|
39376
|
+
var z = [w = Math.max(_b, Math.min(Cm, w)), _ = Math.max(_b, Math.min(Cm, _))], B = [G = Math.max(_b, Math.min(Cm, G)), W = Math.max(_b, Math.min(Cm, W))];
|
|
39377
|
+
bOe(z, B, e, t, n, r) ? (E || (c.lineStart(), c.point(z[0], z[1])), c.point(B[0], B[1]), j || c.lineEnd(), T = !1) : j && (c.lineStart(), c.point(G, W), T = !1);
|
|
39378
39378
|
}
|
|
39379
39379
|
w = G, _ = W, E = j;
|
|
39380
39380
|
}
|
|
@@ -43123,8 +43123,8 @@ function zTe(e, t, n, r) {
|
|
|
43123
43123
|
return function(u) {
|
|
43124
43124
|
const c = u.datum.datum.items[r].items, f = c.length, h = u.datum.fontSize, p = qo.width(u.datum, u.datum.text);
|
|
43125
43125
|
let m = n ? h : 0, v = !1, b = !1, y = 0, w, _, E, k, T, C, I, N, P, A, D, F, Z, G, W, j, z;
|
|
43126
|
-
for (let
|
|
43127
|
-
for (w = c[
|
|
43126
|
+
for (let B = 0; B < f; ++B) {
|
|
43127
|
+
for (w = c[B].x, E = c[B].y, _ = c[B].x2 === void 0 ? w : c[B].x2, k = c[B].y2 === void 0 ? E : c[B].y2, w > _ && (z = w, w = _, _ = z), E > k && (z = E, E = k, k = z), P = e(w), D = e(_), A = ~~((P + D) / 2), F = e(E), G = e(k), Z = ~~((F + G) / 2), I = A; I >= P; --I)
|
|
43128
43128
|
for (N = Z; N >= F; --N)
|
|
43129
43129
|
j = l(I, N, m, p, h), j && ([u.x, u.y, m, v] = j);
|
|
43130
43130
|
for (I = A; I <= D; ++I)
|
|
@@ -43623,14 +43623,14 @@ class qx {
|
|
|
43623
43623
|
}
|
|
43624
43624
|
if (j === -1)
|
|
43625
43625
|
continue;
|
|
43626
|
-
let
|
|
43627
|
-
i[F] = this._legalize(
|
|
43626
|
+
let B = this._addTriangle(j, F, r[j], -1, -1, i[j]);
|
|
43627
|
+
i[F] = this._legalize(B + 2), i[j] = B, N++;
|
|
43628
43628
|
let V = r[j];
|
|
43629
43629
|
for (; z = r[V], Ob(Z, G, t[2 * V], t[2 * V + 1], t[2 * z], t[2 * z + 1]) < 0; )
|
|
43630
|
-
|
|
43630
|
+
B = this._addTriangle(V, F, z, i[F], -1, i[V]), i[F] = this._legalize(B + 2), r[V] = V, N--, V = z;
|
|
43631
43631
|
if (j === W)
|
|
43632
43632
|
for (; z = n[j], Ob(Z, G, t[2 * z], t[2 * z + 1], t[2 * j], t[2 * j + 1]) < 0; )
|
|
43633
|
-
|
|
43633
|
+
B = this._addTriangle(z, F, j, -1, i[j], i[z]), this._legalize(B + 2), i[z] = B, r[j] = j, N--, j = z;
|
|
43634
43634
|
this._hullStart = n[F] = j, r[j] = n[V] = F, r[F] = V, o[this._hashKey(Z, G)] = F, o[this._hashKey(t[2 * j], t[2 * j + 1])] = j;
|
|
43635
43635
|
}
|
|
43636
43636
|
this.hull = new Uint32Array(N);
|
|
@@ -44305,10 +44305,10 @@ function CNe() {
|
|
|
44305
44305
|
function p(m, v, b) {
|
|
44306
44306
|
for (var y = v.x, w = v.y, _ = Math.sqrt(e[0] * e[0] + e[1] * e[1]), E = l(e), k = c() < 0.5 ? 1 : -1, T = -k, C, I, N; (C = E(T += k)) && (I = ~~C[0], N = ~~C[1], !(Math.min(Math.abs(I), Math.abs(N)) >= _)); )
|
|
44307
44307
|
if (v.x = y + I, v.y = w + N, !(v.x + v.x0 < 0 || v.y + v.y0 < 0 || v.x + v.x1 > e[0] || v.y + v.y1 > e[1]) && (!b || !TNe(v, m, e[0])) && (!b || RNe(v, b))) {
|
|
44308
|
-
for (var P = v.sprite, A = v.width >> 5, D = e[0] >> 5, F = v.x - (A << 4), Z = F & 127, G = 32 - Z, W = v.y1 - v.y0, j = (v.y + v.y0) * D + (F >> 5), z,
|
|
44308
|
+
for (var P = v.sprite, A = v.width >> 5, D = e[0] >> 5, F = v.x - (A << 4), Z = F & 127, G = 32 - Z, W = v.y1 - v.y0, j = (v.y + v.y0) * D + (F >> 5), z, B = 0; B < W; B++) {
|
|
44309
44309
|
z = 0;
|
|
44310
44310
|
for (var V = 0; V <= A; V++)
|
|
44311
|
-
m[j + V] |= z << G | (V < A ? (z = P[
|
|
44311
|
+
m[j + V] |= z << G | (V < A ? (z = P[B * A + V]) >>> Z : 0);
|
|
44312
44312
|
j += D;
|
|
44313
44313
|
}
|
|
44314
44314
|
return v.sprite = null, !0;
|
|
@@ -50339,10 +50339,10 @@ var CC = {}, CMe = {
|
|
|
50339
50339
|
C = new i();
|
|
50340
50340
|
else if (n(k, o))
|
|
50341
50341
|
C = new o(function(j, z) {
|
|
50342
|
-
k.then(function(
|
|
50343
|
-
j(E(
|
|
50344
|
-
}, function(
|
|
50345
|
-
z(E(
|
|
50342
|
+
k.then(function(B) {
|
|
50343
|
+
j(E(B, T - 1));
|
|
50344
|
+
}, function(B) {
|
|
50345
|
+
z(E(B, T - 1));
|
|
50346
50346
|
});
|
|
50347
50347
|
});
|
|
50348
50348
|
else if (a.__isArray(k))
|
|
@@ -50363,8 +50363,8 @@ var CC = {}, CMe = {
|
|
|
50363
50363
|
y.push(k), w.push(C);
|
|
50364
50364
|
}
|
|
50365
50365
|
n(k, r) && k.forEach(function(j, z) {
|
|
50366
|
-
var
|
|
50367
|
-
C.set(
|
|
50366
|
+
var B = E(z, T - 1), V = E(j, T - 1);
|
|
50367
|
+
C.set(B, V);
|
|
50368
50368
|
}), n(k, i) && k.forEach(function(j) {
|
|
50369
50369
|
var z = E(j, T - 1);
|
|
50370
50370
|
C.add(z);
|
|
@@ -53685,7 +53685,7 @@ function Nq(e, { config: t }) {
|
|
|
53685
53685
|
{ fieldPrefix: "upper_whisker_", titlePrefix: "Upper Whisker" },
|
|
53686
53686
|
{ fieldPrefix: "lower_whisker_", titlePrefix: "Lower Whisker" }
|
|
53687
53687
|
], y, k)
|
|
53688
|
-
),
|
|
53688
|
+
), B = [
|
|
53689
53689
|
...F({
|
|
53690
53690
|
partName: "rule",
|
|
53691
53691
|
mark: { type: "rule", invalid: h, aria: !1 },
|
|
@@ -53713,7 +53713,7 @@ function Nq(e, { config: t }) {
|
|
|
53713
53713
|
extraEncoding: z
|
|
53714
53714
|
})
|
|
53715
53715
|
], V = [
|
|
53716
|
-
...p !== "tukey" ?
|
|
53716
|
+
...p !== "tukey" ? B : [],
|
|
53717
53717
|
...Z({
|
|
53718
53718
|
partName: "box",
|
|
53719
53719
|
mark: Object.assign(Object.assign({ type: "bar" }, f ? { size: f } : {}), { orient: C, invalid: h, ariaRoleDescription: "box" }),
|
|
@@ -53766,11 +53766,11 @@ function Nq(e, { config: t }) {
|
|
|
53766
53766
|
groupby: _
|
|
53767
53767
|
}
|
|
53768
53768
|
],
|
|
53769
|
-
layer:
|
|
53770
|
-
}, J = f1(A, ["tooltip"]), { scale: re, axis: ne } = y,
|
|
53769
|
+
layer: B
|
|
53770
|
+
}, J = f1(A, ["tooltip"]), { scale: re, axis: ne } = y, X = E3(y), me = fi(ne, ["title"]), _e = Oq(u, "outliers", t.boxplot, {
|
|
53771
53771
|
transform: [{ filter: `(${Q} < ${ee}) || (${Q} > ${te})` }],
|
|
53772
53772
|
mark: "point",
|
|
53773
|
-
encoding: Object.assign(Object.assign(Object.assign({ [w]: Object.assign(Object.assign(Object.assign({ field: y.field, type: y.type },
|
|
53773
|
+
encoding: Object.assign(Object.assign(Object.assign({ [w]: Object.assign(Object.assign(Object.assign({ field: y.field, type: y.type }, X !== void 0 ? { title: X } : {}), re !== void 0 ? { scale: re } : {}), Mt(me) ? {} : { axis: me }) }, J), N ? { color: N } : {}), I ? { tooltip: I } : {})
|
|
53774
53774
|
})[0];
|
|
53775
53775
|
let Re;
|
|
53776
53776
|
const Se = [...m, ...v, ce];
|
|
@@ -64367,21 +64367,21 @@ function Eee() {
|
|
|
64367
64367
|
D = D.replace(j, N(this.options.includePrerelease)), o("hyphen replace", D), D = D.replace(s[l.COMPARATORTRIM], u), o("comparator trim", D), D = D.replace(s[l.TILDETRIM], c), D = D.replace(s[l.CARETTRIM], f), D = D.split(/\s+/).join(" ");
|
|
64368
64368
|
var z = D.split(" ").map((te) => v(te, this.options)).join(" ").split(/\s+/).map((te) => I(te, this.options));
|
|
64369
64369
|
W && (z = z.filter((te) => (o("loose invalid filter", te, this.options), !!te.match(s[l.COMPARATORLOOSE])))), o("range list", z);
|
|
64370
|
-
var
|
|
64370
|
+
var B = /* @__PURE__ */ new Map(), V = z.map((te) => new i(te, this.options)), H = wj(V), Y;
|
|
64371
64371
|
try {
|
|
64372
64372
|
for (H.s(); !(Y = H.n()).done; ) {
|
|
64373
64373
|
var K = Y.value;
|
|
64374
64374
|
if (h(K))
|
|
64375
64375
|
return [K];
|
|
64376
|
-
|
|
64376
|
+
B.set(K.value, K);
|
|
64377
64377
|
}
|
|
64378
64378
|
} catch (te) {
|
|
64379
64379
|
H.e(te);
|
|
64380
64380
|
} finally {
|
|
64381
64381
|
H.f();
|
|
64382
64382
|
}
|
|
64383
|
-
|
|
64384
|
-
var ee = [
|
|
64383
|
+
B.size > 1 && B.has("") && B.delete("");
|
|
64384
|
+
var ee = [...B.values()];
|
|
64385
64385
|
return n.set(Z, ee), ee;
|
|
64386
64386
|
}
|
|
64387
64387
|
intersects(D, F) {
|
|
@@ -64416,26 +64416,26 @@ function Eee() {
|
|
|
64416
64416
|
var F = D.loose ? s[l.TILDELOOSE] : s[l.TILDE];
|
|
64417
64417
|
return A.replace(F, (Z, G, W, j, z) => {
|
|
64418
64418
|
o("tilde", A, Z, G, W, j, z);
|
|
64419
|
-
var
|
|
64420
|
-
return b(G) ?
|
|
64419
|
+
var B;
|
|
64420
|
+
return b(G) ? B = "" : b(W) ? B = ">=".concat(G, ".0.0 <").concat(+G + 1, ".0.0-0") : b(j) ? B = ">=".concat(G, ".").concat(W, ".0 <").concat(G, ".").concat(+W + 1, ".0-0") : z ? (o("replaceTilde pr", z), B = ">=".concat(G, ".").concat(W, ".").concat(j, "-").concat(z, " <").concat(G, ".").concat(+W + 1, ".0-0")) : B = ">=".concat(G, ".").concat(W, ".").concat(j, " <").concat(G, ".").concat(+W + 1, ".0-0"), o("tilde return", B), B;
|
|
64421
64421
|
});
|
|
64422
64422
|
}, _ = (A, D) => A.trim().split(/\s+/).map((F) => E(F, D)).join(" "), E = (A, D) => {
|
|
64423
64423
|
o("caret", A, D);
|
|
64424
64424
|
var F = D.loose ? s[l.CARETLOOSE] : s[l.CARET], Z = D.includePrerelease ? "-0" : "";
|
|
64425
|
-
return A.replace(F, (G, W, j, z,
|
|
64426
|
-
o("caret", A, G, W, j, z,
|
|
64425
|
+
return A.replace(F, (G, W, j, z, B) => {
|
|
64426
|
+
o("caret", A, G, W, j, z, B);
|
|
64427
64427
|
var V;
|
|
64428
|
-
return b(W) ? V = "" : b(j) ? V = ">=".concat(W, ".0.0").concat(Z, " <").concat(+W + 1, ".0.0-0") : b(z) ? W === "0" ? V = ">=".concat(W, ".").concat(j, ".0").concat(Z, " <").concat(W, ".").concat(+j + 1, ".0-0") : V = ">=".concat(W, ".").concat(j, ".0").concat(Z, " <").concat(+W + 1, ".0.0-0") :
|
|
64428
|
+
return b(W) ? V = "" : b(j) ? V = ">=".concat(W, ".0.0").concat(Z, " <").concat(+W + 1, ".0.0-0") : b(z) ? W === "0" ? V = ">=".concat(W, ".").concat(j, ".0").concat(Z, " <").concat(W, ".").concat(+j + 1, ".0-0") : V = ">=".concat(W, ".").concat(j, ".0").concat(Z, " <").concat(+W + 1, ".0.0-0") : B ? (o("replaceCaret pr", B), W === "0" ? j === "0" ? V = ">=".concat(W, ".").concat(j, ".").concat(z, "-").concat(B, " <").concat(W, ".").concat(j, ".").concat(+z + 1, "-0") : V = ">=".concat(W, ".").concat(j, ".").concat(z, "-").concat(B, " <").concat(W, ".").concat(+j + 1, ".0-0") : V = ">=".concat(W, ".").concat(j, ".").concat(z, "-").concat(B, " <").concat(+W + 1, ".0.0-0")) : (o("no pr"), W === "0" ? j === "0" ? V = ">=".concat(W, ".").concat(j, ".").concat(z).concat(Z, " <").concat(W, ".").concat(j, ".").concat(+z + 1, "-0") : V = ">=".concat(W, ".").concat(j, ".").concat(z).concat(Z, " <").concat(W, ".").concat(+j + 1, ".0-0") : V = ">=".concat(W, ".").concat(j, ".").concat(z, " <").concat(+W + 1, ".0.0-0")), o("caret return", V), V;
|
|
64429
64429
|
});
|
|
64430
64430
|
}, k = (A, D) => (o("replaceXRanges", A, D), A.split(/\s+/).map((F) => T(F, D)).join(" ")), T = (A, D) => {
|
|
64431
64431
|
A = A.trim();
|
|
64432
64432
|
var F = D.loose ? s[l.XRANGELOOSE] : s[l.XRANGE];
|
|
64433
|
-
return A.replace(F, (Z, G, W, j, z,
|
|
64434
|
-
o("xRange", A, Z, G, W, j, z,
|
|
64433
|
+
return A.replace(F, (Z, G, W, j, z, B) => {
|
|
64434
|
+
o("xRange", A, Z, G, W, j, z, B);
|
|
64435
64435
|
var V = b(W), H = V || b(j), Y = H || b(z), K = Y;
|
|
64436
|
-
return G === "=" && K && (G = ""),
|
|
64436
|
+
return G === "=" && K && (G = ""), B = D.includePrerelease ? "-0" : "", V ? G === ">" || G === "<" ? Z = "<0.0.0-0" : Z = "*" : G && K ? (H && (j = 0), z = 0, G === ">" ? (G = ">=", H ? (W = +W + 1, j = 0, z = 0) : (j = +j + 1, z = 0)) : G === "<=" && (G = "<", H ? W = +W + 1 : j = +j + 1), G === "<" && (B = "-0"), Z = "".concat(G + W, ".").concat(j, ".").concat(z).concat(B)) : H ? Z = ">=".concat(W, ".0.0").concat(B, " <").concat(+W + 1, ".0.0-0") : Y && (Z = ">=".concat(W, ".").concat(j, ".0").concat(B, " <").concat(W, ".").concat(+j + 1, ".0-0")), o("xRange return", Z), Z;
|
|
64437
64437
|
});
|
|
64438
|
-
}, C = (A, D) => (o("replaceStars", A, D), A.trim().replace(s[l.STAR], "")), I = (A, D) => (o("replaceGTE0", A, D), A.trim().replace(s[D.includePrerelease ? l.GTE0PRE : l.GTE0], "")), N = (A) => (D, F, Z, G, W, j, z,
|
|
64438
|
+
}, C = (A, D) => (o("replaceStars", A, D), A.trim().replace(s[l.STAR], "")), I = (A, D) => (o("replaceGTE0", A, D), A.trim().replace(s[D.includePrerelease ? l.GTE0PRE : l.GTE0], "")), N = (A) => (D, F, Z, G, W, j, z, B, V, H, Y, K, ee) => (b(Z) ? F = "" : b(G) ? F = ">=".concat(Z, ".0.0").concat(A ? "-0" : "") : b(W) ? F = ">=".concat(Z, ".").concat(G, ".0").concat(A ? "-0" : "") : j ? F = ">=".concat(F) : F = ">=".concat(F).concat(A ? "-0" : ""), b(V) ? B = "" : b(H) ? B = "<".concat(+V + 1, ".0.0-0") : b(Y) ? B = "<".concat(V, ".").concat(+H + 1, ".0-0") : K ? B = "<=".concat(V, ".").concat(H, ".").concat(Y, "-").concat(K) : A ? B = "<".concat(V, ".").concat(H, ".").concat(+Y + 1, "-0") : B = "<=".concat(B), "".concat(F, " ").concat(B).trim()), P = (A, D, F) => {
|
|
64439
64439
|
for (var Z = 0; Z < A.length; Z++)
|
|
64440
64440
|
if (!A[Z].test(D))
|
|
64441
64441
|
return !1;
|
|
@@ -64839,7 +64839,7 @@ function $$e(e, t) {
|
|
|
64839
64839
|
}
|
|
64840
64840
|
function aI() {
|
|
64841
64841
|
return aI = ww(/* @__PURE__ */ Ki.mark(function e(t, n) {
|
|
64842
|
-
var r, i, o, a, s, l, u, c, f, h, p, m, v, b, y, w, _, E, k, T, C, I, N, P, A, D, F, Z, G, W, j, z,
|
|
64842
|
+
var r, i, o, a, s, l, u, c, f, h, p, m, v, b, y, w, _, E, k, T, C, I, N, P, A, D, F, Z, G, W, j, z, B, V, H, Y, K, ee, te, Q, ce, le, J, re, ne, X, me, _e, Re, Se, He, Be = arguments;
|
|
64843
64843
|
return Ki.wrap(function(Je) {
|
|
64844
64844
|
for (; ; )
|
|
64845
64845
|
switch (Je.prev = Je.next) {
|
|
@@ -64866,10 +64866,10 @@ function aI() {
|
|
|
64866
64866
|
} : {})), z.addSignalListener("autosize", (vt, st) => {
|
|
64867
64867
|
var Ue = st.type;
|
|
64868
64868
|
Ue == "fit-x" ? (A.classList.add("fit-x"), A.classList.remove("fit-y")) : Ue == "fit-y" ? (A.classList.remove("fit-x"), A.classList.add("fit-y")) : Ue == "fit" ? A.classList.add("fit-x", "fit-y") : A.classList.remove("fit-x", "fit-y");
|
|
64869
|
-
}), c.tooltip !== !1 && (
|
|
64869
|
+
}), c.tooltip !== !1 && (B = z$e(c.tooltip) ? c.tooltip : (
|
|
64870
64870
|
// user provided boolean true or tooltip options
|
|
64871
64871
|
new wXe(c.tooltip === !0 ? {} : c.tooltip).call
|
|
64872
|
-
), z.tooltip(
|
|
64872
|
+
), z.tooltip(B)), V = c.hover, V === void 0 && (V = I === "vega"), V && (H = typeof V == "boolean" ? {} : V, Y = H.hoverSet, K = H.updateSet, z.hover(Y, K)), c && (c.width != null && z.width(c.width), c.height != null && z.height(c.height), c.padding != null && z.padding(c.padding)), Je.next = 37, z.initialize(A, c.bind).runAsync();
|
|
64873
64873
|
case 37:
|
|
64874
64874
|
if (p === !1) {
|
|
64875
64875
|
Je.next = 63;
|
|
@@ -64930,10 +64930,10 @@ function aI() {
|
|
|
64930
64930
|
case 57:
|
|
64931
64931
|
return Je.prev = 57, J.f(), Je.finish(57);
|
|
64932
64932
|
case 60:
|
|
64933
|
-
(p === !0 || p.source !== !1) && (
|
|
64933
|
+
(p === !0 || p.source !== !1) && (X = document.createElement("a"), X.text = m.SOURCE_ACTION, X.href = "#", X.addEventListener("click", function(vt) {
|
|
64934
64934
|
var st, Ue;
|
|
64935
64935
|
Oj(GE(n), (st = c.sourceHeader) !== null && st !== void 0 ? st : "", (Ue = c.sourceFooter) !== null && Ue !== void 0 ? Ue : "", I), vt.preventDefault();
|
|
64936
|
-
}), le.append(
|
|
64936
|
+
}), le.append(X)), I === "vega-lite" && (p === !0 || p.compiled !== !1) && (me = document.createElement("a"), me.text = m.COMPILED_ACTION, me.href = "#", me.addEventListener("click", function(vt) {
|
|
64937
64937
|
var st, Ue;
|
|
64938
64938
|
Oj(GE(N), (st = c.sourceHeader) !== null && st !== void 0 ? st : "", (Ue = c.sourceFooter) !== null && Ue !== void 0 ? Ue : "", "vega"), vt.preventDefault();
|
|
64939
64939
|
}), le.append(me)), (p === !0 || p.editor !== !1) && (Re = (_e = c.editorUrl) !== null && _e !== void 0 ? _e : "https://vega.github.io/editor/", Se = document.createElement("a"), Se.text = m.EDITOR_ACTION, Se.href = "#", Se.addEventListener("click", function(vt) {
|
|
@@ -66489,17 +66489,17 @@ const K6e = nt.div`
|
|
|
66489
66489
|
Q.unsubscribe();
|
|
66490
66490
|
};
|
|
66491
66491
|
}, [y]);
|
|
66492
|
-
const D = fe(() => o.filter((Q) => Q.analyticType === "dimension"), [o]), F = fe(() => a.filter((Q) => Q.analyticType === "dimension"), [a]), Z = fe(() => o.filter((Q) => Q.analyticType === "measure"), [o]), G = fe(() => a.filter((Q) => Q.analyticType === "measure"), [a]), W = fe(() => D.slice(0, -1), [D]), j = fe(() => F.slice(0, -1), [F]), z = fe(() => Z.length === 0 ? D.slice(-1) : Z, [D, Z]),
|
|
66492
|
+
const D = fe(() => o.filter((Q) => Q.analyticType === "dimension"), [o]), F = fe(() => a.filter((Q) => Q.analyticType === "dimension"), [a]), Z = fe(() => o.filter((Q) => Q.analyticType === "measure"), [o]), G = fe(() => a.filter((Q) => Q.analyticType === "measure"), [a]), W = fe(() => D.slice(0, -1), [D]), j = fe(() => F.slice(0, -1), [F]), z = fe(() => Z.length === 0 ? D.slice(-1) : Z, [D, Z]), B = fe(() => G.length === 0 ? F.slice(-1) : G, [D, Z]), V = fe(() => [...o, ...a, c, f, h].filter((Q) => Boolean(Q)).map((Q) => Q.fid), [o, a, c, f, h]), [H, Y] = ke(-1);
|
|
66493
66493
|
be(() => {
|
|
66494
66494
|
Y(-1), A((Q) => {
|
|
66495
|
-
const ce = Math.max(1, z.length *
|
|
66495
|
+
const ce = Math.max(1, z.length * B.length);
|
|
66496
66496
|
return new Array(ce).fill(null).map((J, re) => Q[re] || S.createRef());
|
|
66497
66497
|
});
|
|
66498
|
-
}, [z,
|
|
66498
|
+
}, [z, B]);
|
|
66499
66499
|
const K = he([]), ee = he([]);
|
|
66500
66500
|
be(() => {
|
|
66501
66501
|
K.current = [], ee.current = [];
|
|
66502
|
-
const Q = o.length > 0 ? o[o.length - 1] : Lt, ce = a.length > 0 ? a[a.length - 1] : Lt, le = o.slice(0, -1).filter((me) => me.analyticType === "dimension"), J = a.slice(0, -1).filter((me) => me.analyticType === "dimension"), re = le.length > 0 ? le[le.length - 1] : Lt, ne = J.length > 0 ? J[J.length - 1] : Lt,
|
|
66502
|
+
const Q = o.length > 0 ? o[o.length - 1] : Lt, ce = a.length > 0 ? a[a.length - 1] : Lt, le = o.slice(0, -1).filter((me) => me.analyticType === "dimension"), J = a.slice(0, -1).filter((me) => me.analyticType === "dimension"), re = le.length > 0 ? le[le.length - 1] : Lt, ne = J.length > 0 ? J[J.length - 1] : Lt, X = {
|
|
66503
66503
|
data: {
|
|
66504
66504
|
values: i
|
|
66505
66505
|
},
|
|
@@ -66511,12 +66511,12 @@ const K6e = nt.div`
|
|
|
66511
66511
|
}
|
|
66512
66512
|
}]
|
|
66513
66513
|
};
|
|
66514
|
-
if (_ &&
|
|
66514
|
+
if (_ && X.params.push({
|
|
66515
66515
|
name: "grid",
|
|
66516
66516
|
select: "interval",
|
|
66517
66517
|
bind: "scales"
|
|
66518
|
-
}), z.length <= 1 &&
|
|
66519
|
-
E === "fixed" && (re === Lt && ne === Lt && (
|
|
66518
|
+
}), z.length <= 1 && B.length <= 1) {
|
|
66519
|
+
E === "fixed" && (re === Lt && ne === Lt && (X.autosize = "fit"), X.width = k, X.height = T);
|
|
66520
66520
|
const me = Dj({
|
|
66521
66521
|
x: ce,
|
|
66522
66522
|
y: Q,
|
|
@@ -66536,14 +66536,14 @@ const K6e = nt.div`
|
|
|
66536
66536
|
stack: l,
|
|
66537
66537
|
geomType: u
|
|
66538
66538
|
});
|
|
66539
|
-
|
|
66539
|
+
X.mark = me.mark, "encoding" in me && (X.encoding = me.encoding), X.resolve || (X.resolve = {});
|
|
66540
66540
|
let _e = I.resolve;
|
|
66541
66541
|
for (let Re in _e) {
|
|
66542
66542
|
let Se = _e[Re] ? "independent" : "shared";
|
|
66543
|
-
|
|
66543
|
+
X.resolve.scale = { ...X.resolve.scale, [Re]: Se }, DB.includes(Re) ? X.resolve.axis = { ...X.resolve.axis, [Re]: Se } : MB.includes(Re) && (X.resolve.legend = { ...X.resolve.legend, [Re]: Se });
|
|
66544
66544
|
}
|
|
66545
66545
|
if (P.length > 0 && P[0].current) {
|
|
66546
|
-
const Re = Ij(P[0].current,
|
|
66546
|
+
const Re = Ij(P[0].current, X, { mode: "vega-lite", actions: w, timeFormatLocale: Fj(N), config: I }).then((Se) => {
|
|
66547
66547
|
const He = Se.view.container(), Be = (He == null ? void 0 : He.querySelector("canvas")) ?? null;
|
|
66548
66548
|
K.current = [{
|
|
66549
66549
|
w: (He == null ? void 0 : He.clientWidth) ?? Se.view.width(),
|
|
@@ -66568,16 +66568,16 @@ const K6e = nt.div`
|
|
|
66568
66568
|
ee.current = [Re];
|
|
66569
66569
|
}
|
|
66570
66570
|
} else {
|
|
66571
|
-
E === "fixed" && (
|
|
66572
|
-
const me = new sS(), _e = me.pipe(zee(i.length / 64 * z.length *
|
|
66571
|
+
E === "fixed" && (X.width = Math.floor(k / B.length) - 5, X.height = Math.floor(T / z.length) - 5, X.autosize = "fit");
|
|
66572
|
+
const me = new sS(), _e = me.pipe(zee(i.length / 64 * z.length * B.length, void 0, { leading: !1, trailing: !0 })), Re = [], Se = (Be) => {
|
|
66573
66573
|
Re.push(_e.subscribe(Be));
|
|
66574
66574
|
};
|
|
66575
66575
|
let He = 0;
|
|
66576
|
-
K.current = new Array(z.length *
|
|
66576
|
+
K.current = new Array(z.length * B.length);
|
|
66577
66577
|
for (let Be = 0; Be < z.length; Be++)
|
|
66578
|
-
for (let kt = 0; kt <
|
|
66579
|
-
const Je = He, vt = Be === 0 && kt ===
|
|
66580
|
-
x:
|
|
66578
|
+
for (let kt = 0; kt < B.length; kt++, He++) {
|
|
66579
|
+
const Je = He, vt = Be === 0 && kt === B.length - 1, st = Dj({
|
|
66580
|
+
x: B[kt] || Lt,
|
|
66581
66581
|
y: z[Be] || Lt,
|
|
66582
66582
|
color: c || Lt,
|
|
66583
66583
|
opacity: f || Lt,
|
|
@@ -66595,8 +66595,8 @@ const K6e = nt.div`
|
|
|
66595
66595
|
stack: l,
|
|
66596
66596
|
geomType: u,
|
|
66597
66597
|
hideLegend: !vt
|
|
66598
|
-
}), Ue = Be *
|
|
66599
|
-
let jt = { ...
|
|
66598
|
+
}), Ue = Be * B.length + kt < P.length ? P[Be * B.length + kt].current : null;
|
|
66599
|
+
let jt = { ...X };
|
|
66600
66600
|
const en = { ...jt, ...st };
|
|
66601
66601
|
if ("params" in jt && (en.params = jt.params), Ue) {
|
|
66602
66602
|
const Si = He, Fn = Ij(Ue, en, { mode: "vega-lite", actions: w, timeFormatLocale: Fj(N), config: I }).then((hn) => {
|
|
@@ -66680,7 +66680,7 @@ const K6e = nt.div`
|
|
|
66680
66680
|
W,
|
|
66681
66681
|
j,
|
|
66682
66682
|
z,
|
|
66683
|
-
|
|
66683
|
+
B,
|
|
66684
66684
|
l,
|
|
66685
66685
|
w,
|
|
66686
66686
|
_,
|
|
@@ -66692,7 +66692,7 @@ const K6e = nt.div`
|
|
|
66692
66692
|
b
|
|
66693
66693
|
]);
|
|
66694
66694
|
const te = he(null);
|
|
66695
|
-
return V6e(r, K, n, ee, te), S.createElement(K6e, { rowSize: Math.max(z.length, 1), colSize: Math.max(
|
|
66695
|
+
return V6e(r, K, n, ee, te), S.createElement(K6e, { rowSize: Math.max(z.length, 1), colSize: Math.max(B.length, 1), ref: te }, P.map((Q, ce) => S.createElement("div", { key: ce, ref: Q })));
|
|
66696
66696
|
}), sn = "#5B8FF9", jee = {
|
|
66697
66697
|
background: "transparent",
|
|
66698
66698
|
header: {
|
|
@@ -66832,7 +66832,7 @@ function n7e(e) {
|
|
|
66832
66832
|
return (o = t ?? t7e[n ?? "vega"]) == null ? void 0 : o[r];
|
|
66833
66833
|
}
|
|
66834
66834
|
const Vee = Xn(function({ name: e, themeKey: t, dark: n, data: r, loading: i, draggableFieldState: o, visualConfig: a, onGeomClick: s, onChartResize: l, locale: u, computationFunction: c, themeConfig: f }, h) {
|
|
66835
|
-
const { geoms: p, coordSystem: m = "generic", interactiveScale: v, defaultAggregated: b, stack: y, showActions: w, size: _, format: E, background: k, zeroScale: T, resolve: C } = a, I = o.rows, N = o.columns, P = o.color, A = o.opacity, D = o.shape, F = o.theta, Z = o.radius, G = o.size, W = o.details, j = o.text, z = Dt(E),
|
|
66835
|
+
const { geoms: p, coordSystem: m = "generic", interactiveScale: v, defaultAggregated: b, stack: y, showActions: w, size: _, format: E, background: k, zeroScale: T, resolve: C } = a, I = o.rows, N = o.columns, P = o.color, A = o.opacity, D = o.shape, F = o.theta, Z = o.radius, G = o.size, W = o.details, j = o.text, z = Dt(E), B = fe(() => I.slice(0, -1).filter((le) => le.analyticType === "dimension"), [I]), V = fe(() => N.slice(0, -1).filter((le) => le.analyticType === "dimension"), [N]), H = p[0] === "table", Y = B.length > 0 || V.length > 0, K = _.mode === "fixed" && !Y && Boolean(l), ee = Ru(n), te = n7e({
|
|
66836
66836
|
themeKey: t,
|
|
66837
66837
|
mediaTheme: ee,
|
|
66838
66838
|
themeConfig: f
|
|
@@ -67110,7 +67110,7 @@ License: MIT
|
|
|
67110
67110
|
N.escapeChar !== void 0 && (G = N.escapeChar + Z), (typeof N.escapeFormulae == "boolean" || N.escapeFormulae instanceof RegExp) && (z = N.escapeFormulae instanceof RegExp ? N.escapeFormulae : /^[=+\-@\t\r].*$/);
|
|
67111
67111
|
}
|
|
67112
67112
|
})();
|
|
67113
|
-
var
|
|
67113
|
+
var B = new RegExp(b(Z), "g");
|
|
67114
67114
|
if (typeof I == "string" && (I = JSON.parse(I)), Array.isArray(I)) {
|
|
67115
67115
|
if (!I.length || Array.isArray(I[0]))
|
|
67116
67116
|
return V(null, I, W);
|
|
@@ -67129,7 +67129,7 @@ License: MIT
|
|
|
67129
67129
|
0 < K.length && (te += F);
|
|
67130
67130
|
}
|
|
67131
67131
|
for (var J = 0; J < K.length; J++) {
|
|
67132
|
-
var re = Q ? Y.length : K[J].length, ne = !1,
|
|
67132
|
+
var re = Q ? Y.length : K[J].length, ne = !1, X = Q ? Object.keys(K[J]).length === 0 : K[J].length === 0;
|
|
67133
67133
|
if (ee && !Q && (ne = ee === "greedy" ? K[J].join("").trim() === "" : K[J].length === 1 && K[J][0].length === 0), ee === "greedy" && Q) {
|
|
67134
67134
|
for (var me = [], _e = 0; _e < re; _e++) {
|
|
67135
67135
|
var Re = ce ? Y[_e] : _e;
|
|
@@ -67139,11 +67139,11 @@ License: MIT
|
|
|
67139
67139
|
}
|
|
67140
67140
|
if (!ne) {
|
|
67141
67141
|
for (var Se = 0; Se < re; Se++) {
|
|
67142
|
-
0 < Se && !
|
|
67142
|
+
0 < Se && !X && (te += D);
|
|
67143
67143
|
var He = Q && ce ? Y[Se] : Se;
|
|
67144
67144
|
te += H(K[J][He], Se);
|
|
67145
67145
|
}
|
|
67146
|
-
J < K.length - 1 && (!ee || 0 < re && !
|
|
67146
|
+
J < K.length - 1 && (!ee || 0 < re && !X) && (te += F);
|
|
67147
67147
|
}
|
|
67148
67148
|
}
|
|
67149
67149
|
return te;
|
|
@@ -67155,7 +67155,7 @@ License: MIT
|
|
|
67155
67155
|
return JSON.stringify(Y).slice(1, 25);
|
|
67156
67156
|
var ee = !1;
|
|
67157
67157
|
z && typeof Y == "string" && z.test(Y) && (Y = "'" + Y, ee = !0);
|
|
67158
|
-
var te = Y.toString().replace(
|
|
67158
|
+
var te = Y.toString().replace(B, G);
|
|
67159
67159
|
return (ee = ee || P === !0 || typeof P == "function" && P(Y, K) || Array.isArray(P) && P[K] || function(Q, ce) {
|
|
67160
67160
|
for (var le = 0; le < ce.length; le++)
|
|
67161
67161
|
if (-1 < Q.indexOf(ce[le]))
|
|
@@ -67189,9 +67189,9 @@ License: MIT
|
|
|
67189
67189
|
} else if (z === "skip")
|
|
67190
67190
|
return void D();
|
|
67191
67191
|
}
|
|
67192
|
-
var
|
|
67192
|
+
var B = j.instanceConfig.complete;
|
|
67193
67193
|
j.instanceConfig.complete = function(V) {
|
|
67194
|
-
C(
|
|
67194
|
+
C(B) && B(V, j.file, j.inputElem), D();
|
|
67195
67195
|
}, l.parse(j.file, j.instanceConfig);
|
|
67196
67196
|
} else
|
|
67197
67197
|
C(I.complete) && I.complete();
|
|
@@ -67331,7 +67331,7 @@ License: MIT
|
|
|
67331
67331
|
}, this);
|
|
67332
67332
|
}
|
|
67333
67333
|
function v(I) {
|
|
67334
|
-
var N, P, A, D = Math.pow(2, 53), F = -D, Z = /^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/, G = /^(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))$/, W = this, j = 0, z = 0,
|
|
67334
|
+
var N, P, A, D = Math.pow(2, 53), F = -D, Z = /^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/, G = /^(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))$/, W = this, j = 0, z = 0, B = !1, V = !1, H = [], Y = { data: [], errors: [], meta: {} };
|
|
67335
67335
|
if (C(I.step)) {
|
|
67336
67336
|
var K = I.step;
|
|
67337
67337
|
I.step = function(J) {
|
|
@@ -67353,8 +67353,8 @@ License: MIT
|
|
|
67353
67353
|
})), Q() && function() {
|
|
67354
67354
|
if (!Y)
|
|
67355
67355
|
return;
|
|
67356
|
-
function J(ne,
|
|
67357
|
-
C(I.transformHeader) && (ne = I.transformHeader(ne,
|
|
67356
|
+
function J(ne, X) {
|
|
67357
|
+
C(I.transformHeader) && (ne = I.transformHeader(ne, X)), H.push(ne);
|
|
67358
67358
|
}
|
|
67359
67359
|
if (Array.isArray(Y.data[0])) {
|
|
67360
67360
|
for (var re = 0; Q() && re < Y.data.length; re++)
|
|
@@ -67365,13 +67365,13 @@ License: MIT
|
|
|
67365
67365
|
}(), function() {
|
|
67366
67366
|
if (!Y || !I.header && !I.dynamicTyping && !I.transform)
|
|
67367
67367
|
return Y;
|
|
67368
|
-
function J(ne,
|
|
67368
|
+
function J(ne, X) {
|
|
67369
67369
|
var me, _e = I.header ? {} : [];
|
|
67370
67370
|
for (me = 0; me < ne.length; me++) {
|
|
67371
67371
|
var Re = me, Se = ne[me];
|
|
67372
67372
|
I.header && (Re = me >= H.length ? "__parsed_extra" : H[me]), I.transform && (Se = I.transform(Se, Re)), Se = ce(Re, Se), Re === "__parsed_extra" ? (_e[Re] = _e[Re] || [], _e[Re].push(Se)) : _e[Re] = Se;
|
|
67373
67373
|
}
|
|
67374
|
-
return I.header && (me > H.length ? le("FieldMismatch", "TooManyFields", "Too many fields: expected " + H.length + " fields but parsed " + me, z +
|
|
67374
|
+
return I.header && (me > H.length ? le("FieldMismatch", "TooManyFields", "Too many fields: expected " + H.length + " fields but parsed " + me, z + X) : me < H.length && le("FieldMismatch", "TooFewFields", "Too few fields: expected " + H.length + " fields but parsed " + me, z + X)), _e;
|
|
67375
67375
|
}
|
|
67376
67376
|
var re = 1;
|
|
67377
67377
|
return !Y.data.length || Array.isArray(Y.data[0]) ? (Y.data = Y.data.map(J), re = Y.data.length) : Y.data = J(Y.data, 0), I.header && Y.meta && (Y.meta.fields = H), z += re, Y;
|
|
@@ -67381,9 +67381,9 @@ License: MIT
|
|
|
67381
67381
|
return I.header && H.length === 0;
|
|
67382
67382
|
}
|
|
67383
67383
|
function ce(J, re) {
|
|
67384
|
-
return ne = J, I.dynamicTypingFunction && I.dynamicTyping[ne] === void 0 && (I.dynamicTyping[ne] = I.dynamicTypingFunction(ne)), (I.dynamicTyping[ne] || I.dynamicTyping) === !0 ? re === "true" || re === "TRUE" || re !== "false" && re !== "FALSE" && (function(
|
|
67385
|
-
if (Z.test(
|
|
67386
|
-
var me = parseFloat(
|
|
67384
|
+
return ne = J, I.dynamicTypingFunction && I.dynamicTyping[ne] === void 0 && (I.dynamicTyping[ne] = I.dynamicTypingFunction(ne)), (I.dynamicTyping[ne] || I.dynamicTyping) === !0 ? re === "true" || re === "TRUE" || re !== "false" && re !== "FALSE" && (function(X) {
|
|
67385
|
+
if (Z.test(X)) {
|
|
67386
|
+
var me = parseFloat(X);
|
|
67387
67387
|
if (F < me && me < D)
|
|
67388
67388
|
return !0;
|
|
67389
67389
|
}
|
|
@@ -67391,12 +67391,12 @@ License: MIT
|
|
|
67391
67391
|
}(re) ? parseFloat(re) : G.test(re) ? new Date(re) : re === "" ? null : re) : re;
|
|
67392
67392
|
var ne;
|
|
67393
67393
|
}
|
|
67394
|
-
function le(J, re, ne,
|
|
67394
|
+
function le(J, re, ne, X) {
|
|
67395
67395
|
var me = { type: J, code: re, message: ne };
|
|
67396
|
-
|
|
67396
|
+
X !== void 0 && (me.row = X), Y.errors.push(me);
|
|
67397
67397
|
}
|
|
67398
67398
|
this.parse = function(J, re, ne) {
|
|
67399
|
-
var
|
|
67399
|
+
var X = I.quoteChar || '"';
|
|
67400
67400
|
if (I.newline || (I.newline = function(Re, Se) {
|
|
67401
67401
|
Re = Re.substring(0, 1048576);
|
|
67402
67402
|
var He = new RegExp(b(Se) + "([^]*?)" + b(Se), "gm"), Be = (Re = Re.replace(He, "")).split("\r"), kt = Re.split(`
|
|
@@ -67409,7 +67409,7 @@ License: MIT
|
|
|
67409
67409
|
` && vt++;
|
|
67410
67410
|
return vt >= Be.length / 2 ? `\r
|
|
67411
67411
|
` : "\r";
|
|
67412
|
-
}(J,
|
|
67412
|
+
}(J, X)), A = !1, I.delimiter)
|
|
67413
67413
|
C(I.delimiter) && (I.delimiter = I.delimiter(J), Y.meta.delimiter = I.delimiter);
|
|
67414
67414
|
else {
|
|
67415
67415
|
var me = function(Re, Se, He, Be, kt) {
|
|
@@ -67432,13 +67432,13 @@ License: MIT
|
|
|
67432
67432
|
me.successful ? I.delimiter = me.bestDelimiter : (A = !0, I.delimiter = l.DefaultDelimiter), Y.meta.delimiter = I.delimiter;
|
|
67433
67433
|
}
|
|
67434
67434
|
var _e = k(I);
|
|
67435
|
-
return I.preview && I.header && _e.preview++, N = J, P = new y(_e), Y = P.parse(N, re, ne), te(),
|
|
67435
|
+
return I.preview && I.header && _e.preview++, N = J, P = new y(_e), Y = P.parse(N, re, ne), te(), B ? { meta: { paused: !0 } } : Y || { meta: { paused: !1 } };
|
|
67436
67436
|
}, this.paused = function() {
|
|
67437
|
-
return
|
|
67437
|
+
return B;
|
|
67438
67438
|
}, this.pause = function() {
|
|
67439
|
-
|
|
67439
|
+
B = !0, P.abort(), N = C(I.chunk) ? "" : N.substring(P.getCharIndex());
|
|
67440
67440
|
}, this.resume = function() {
|
|
67441
|
-
W.streamer._halted ? (
|
|
67441
|
+
W.streamer._halted ? (B = !1, W.streamer.parseChunk(N, !0)) : setTimeout(W.resume, 3);
|
|
67442
67442
|
}, this.aborted = function() {
|
|
67443
67443
|
return V;
|
|
67444
67444
|
}, this.abort = function() {
|
|
@@ -67457,15 +67457,15 @@ License: MIT
|
|
|
67457
67457
|
` && (A = `
|
|
67458
67458
|
`);
|
|
67459
67459
|
var j = 0, z = !1;
|
|
67460
|
-
this.parse = function(
|
|
67461
|
-
if (typeof
|
|
67460
|
+
this.parse = function(B, V, H) {
|
|
67461
|
+
if (typeof B != "string")
|
|
67462
67462
|
throw new Error("Input must be a string");
|
|
67463
|
-
var Y =
|
|
67464
|
-
if (
|
|
67463
|
+
var Y = B.length, K = P.length, ee = A.length, te = D.length, Q = C(F), ce = [], le = [], J = [], re = j = 0;
|
|
67464
|
+
if (!B)
|
|
67465
67465
|
return Ue();
|
|
67466
|
-
if (G || G !== !1 &&
|
|
67467
|
-
for (var ne =
|
|
67468
|
-
if (J = ne[
|
|
67466
|
+
if (G || G !== !1 && B.indexOf(N) === -1) {
|
|
67467
|
+
for (var ne = B.split(A), X = 0; X < ne.length; X++) {
|
|
67468
|
+
if (J = ne[X], j += J.length, X !== ne.length - 1)
|
|
67469
67469
|
j += A.length;
|
|
67470
67470
|
else if (H)
|
|
67471
67471
|
return Ue();
|
|
@@ -67475,45 +67475,45 @@ License: MIT
|
|
|
67475
67475
|
return Ue();
|
|
67476
67476
|
} else
|
|
67477
67477
|
kt(J.split(P));
|
|
67478
|
-
if (Z && Z <=
|
|
67478
|
+
if (Z && Z <= X)
|
|
67479
67479
|
return ce = ce.slice(0, Z), Ue(!0);
|
|
67480
67480
|
}
|
|
67481
67481
|
}
|
|
67482
67482
|
return Ue();
|
|
67483
67483
|
}
|
|
67484
|
-
for (var me =
|
|
67485
|
-
if (
|
|
67486
|
-
if (D && J.length === 0 &&
|
|
67484
|
+
for (var me = B.indexOf(P, j), _e = B.indexOf(A, j), Re = new RegExp(b(W) + b(N), "g"), Se = B.indexOf(N, j); ; )
|
|
67485
|
+
if (B[j] !== N)
|
|
67486
|
+
if (D && J.length === 0 && B.substring(j, j + te) === D) {
|
|
67487
67487
|
if (_e === -1)
|
|
67488
67488
|
return Ue();
|
|
67489
|
-
j = _e + ee, _e =
|
|
67489
|
+
j = _e + ee, _e = B.indexOf(A, j), me = B.indexOf(P, j);
|
|
67490
67490
|
} else if (me !== -1 && (me < _e || _e === -1))
|
|
67491
|
-
J.push(
|
|
67491
|
+
J.push(B.substring(j, me)), j = me + K, me = B.indexOf(P, j);
|
|
67492
67492
|
else {
|
|
67493
67493
|
if (_e === -1)
|
|
67494
67494
|
break;
|
|
67495
|
-
if (J.push(
|
|
67495
|
+
if (J.push(B.substring(j, _e)), st(_e + ee), Q && (jt(), z))
|
|
67496
67496
|
return Ue();
|
|
67497
67497
|
if (Z && ce.length >= Z)
|
|
67498
67498
|
return Ue(!0);
|
|
67499
67499
|
}
|
|
67500
67500
|
else
|
|
67501
67501
|
for (Se = j, j++; ; ) {
|
|
67502
|
-
if ((Se =
|
|
67502
|
+
if ((Se = B.indexOf(N, Se + 1)) === -1)
|
|
67503
67503
|
return H || le.push({ type: "Quotes", code: "MissingQuotes", message: "Quoted field unterminated", row: ce.length, index: j }), vt();
|
|
67504
67504
|
if (Se === Y - 1)
|
|
67505
|
-
return vt(
|
|
67506
|
-
if (N !== W ||
|
|
67507
|
-
if (N === W || Se === 0 ||
|
|
67508
|
-
me !== -1 && me < Se + 1 && (me =
|
|
67505
|
+
return vt(B.substring(j, Se).replace(Re, N));
|
|
67506
|
+
if (N !== W || B[Se + 1] !== W) {
|
|
67507
|
+
if (N === W || Se === 0 || B[Se - 1] !== W) {
|
|
67508
|
+
me !== -1 && me < Se + 1 && (me = B.indexOf(P, Se + 1)), _e !== -1 && _e < Se + 1 && (_e = B.indexOf(A, Se + 1));
|
|
67509
67509
|
var He = Je(_e === -1 ? me : Math.min(me, _e));
|
|
67510
|
-
if (
|
|
67511
|
-
J.push(
|
|
67510
|
+
if (B.substr(Se + 1 + He, K) === P) {
|
|
67511
|
+
J.push(B.substring(j, Se).replace(Re, N)), B[j = Se + 1 + He + K] !== N && (Se = B.indexOf(N, j)), me = B.indexOf(P, j), _e = B.indexOf(A, j);
|
|
67512
67512
|
break;
|
|
67513
67513
|
}
|
|
67514
67514
|
var Be = Je(_e);
|
|
67515
|
-
if (
|
|
67516
|
-
if (J.push(
|
|
67515
|
+
if (B.substring(Se + 1 + Be, Se + 1 + Be + ee) === A) {
|
|
67516
|
+
if (J.push(B.substring(j, Se).replace(Re, N)), st(Se + 1 + Be + ee), me = B.indexOf(P, j), Se = B.indexOf(N, j), Q && (jt(), z))
|
|
67517
67517
|
return Ue();
|
|
67518
67518
|
if (Z && ce.length >= Z)
|
|
67519
67519
|
return Ue(!0);
|
|
@@ -67531,16 +67531,16 @@ License: MIT
|
|
|
67531
67531
|
function Je(en) {
|
|
67532
67532
|
var Si = 0;
|
|
67533
67533
|
if (en !== -1) {
|
|
67534
|
-
var Fn =
|
|
67534
|
+
var Fn = B.substring(Se + 1, en);
|
|
67535
67535
|
Fn && Fn.trim() === "" && (Si = Fn.length);
|
|
67536
67536
|
}
|
|
67537
67537
|
return Si;
|
|
67538
67538
|
}
|
|
67539
67539
|
function vt(en) {
|
|
67540
|
-
return H || (en === void 0 && (en =
|
|
67540
|
+
return H || (en === void 0 && (en = B.substring(j)), J.push(en), j = Y, kt(J), Q && jt()), Ue();
|
|
67541
67541
|
}
|
|
67542
67542
|
function st(en) {
|
|
67543
|
-
j = en, kt(J), J = [], _e =
|
|
67543
|
+
j = en, kt(J), J = [], _e = B.indexOf(A, j);
|
|
67544
67544
|
}
|
|
67545
67545
|
function Ue(en) {
|
|
67546
67546
|
return { data: ce, errors: le, meta: { delimiter: P, linebreak: A, aborted: z, truncated: !!en, cursor: re + (V || 0) } };
|
|
@@ -70449,40 +70449,40 @@ const p8e = (e) => {
|
|
|
70449
70449
|
);
|
|
70450
70450
|
});
|
|
70451
70451
|
const v8e = Xn(function(t, n) {
|
|
70452
|
-
const { name: r, themeKey: i, dark: o, visualState: a, visualConfig: s, type: l, locale: u, sort: c, limit: f } = t,
|
|
70453
|
-
const
|
|
70454
|
-
for (const
|
|
70455
|
-
for (const
|
|
70456
|
-
|
|
70457
|
-
return { allFields:
|
|
70458
|
-
}, [a]), { viewData:
|
|
70459
|
-
allFields:
|
|
70460
|
-
viewDimensions:
|
|
70461
|
-
viewMeasures:
|
|
70462
|
-
filters:
|
|
70463
|
-
defaultAggregated:
|
|
70452
|
+
const { name: r, themeKey: i, dark: o, visualState: a, visualConfig: s, type: l, locale: u, sort: c, limit: f, themeConfig: h } = t, p = fe(() => t.type === "remote" ? t.computation : gP(t.rawData), [t.type, t.type === "remote" ? t.computation : t.rawData]), m = (s == null ? void 0 : s.defaultAggregated) ?? !1, [v, b] = ke([]), { allFields: y, viewDimensions: w, viewMeasures: _, filters: E } = fe(() => {
|
|
70453
|
+
const P = [], A = [], { dimensions: D, measures: F, filters: Z, ...G } = Dt(a), W = [...D, ...F], j = Object.keys(G);
|
|
70454
|
+
for (const z of j)
|
|
70455
|
+
for (const B of G[z])
|
|
70456
|
+
B.analyticType === "dimension" ? P.push(B) : B.analyticType === "measure" && A.push(B);
|
|
70457
|
+
return { allFields: W, viewDimensions: P, viewMeasures: A, filters: Z };
|
|
70458
|
+
}, [a]), { viewData: k, loading: T } = mP({
|
|
70459
|
+
allFields: y,
|
|
70460
|
+
viewDimensions: w,
|
|
70461
|
+
viewMeasures: _,
|
|
70462
|
+
filters: E,
|
|
70463
|
+
defaultAggregated: m,
|
|
70464
70464
|
sort: c ?? "none",
|
|
70465
70465
|
limit: f ?? -1,
|
|
70466
|
-
computationFunction:
|
|
70467
|
-
}),
|
|
70468
|
-
|
|
70469
|
-
|
|
70470
|
-
|
|
70466
|
+
computationFunction: p
|
|
70467
|
+
}), C = he({ data: k });
|
|
70468
|
+
C.current = { data: k }, be(() => {
|
|
70469
|
+
T === !1 && Wa(() => {
|
|
70470
|
+
b(C.current.data);
|
|
70471
70471
|
});
|
|
70472
|
-
}, [
|
|
70473
|
-
const { coordSystem:
|
|
70472
|
+
}, [T]);
|
|
70473
|
+
const { coordSystem: I = "generic" } = s, N = I === "geographic";
|
|
70474
70474
|
return S.createElement(
|
|
70475
70475
|
QB,
|
|
70476
70476
|
{ className: "flex w-full", style: { height: "100%" } },
|
|
70477
70477
|
S.createElement(
|
|
70478
70478
|
"div",
|
|
70479
70479
|
{ className: "relative flex flex-col w-full flex-1" },
|
|
70480
|
-
|
|
70480
|
+
N && S.createElement(
|
|
70481
70481
|
"div",
|
|
70482
70482
|
{ className: "max-w-full", style: { height: qk, flexGrow: 1 } },
|
|
70483
|
-
S.createElement(f6, { data:
|
|
70483
|
+
S.createElement(f6, { data: k, draggableFieldState: a, visualConfig: s })
|
|
70484
70484
|
),
|
|
70485
|
-
|
|
70485
|
+
N || S.createElement(Vee, { themeConfig: h, name: r, loading: T, data: v, ref: n, themeKey: i, dark: o, draggableFieldState: a, visualConfig: s, locale: u ?? "en-US", computationFunction: p })
|
|
70486
70486
|
)
|
|
70487
70487
|
);
|
|
70488
70488
|
}), O8e = pt(jve(v8e));
|