@kanaries/graphic-walker 0.3.5 → 0.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/App.d.ts +6 -0
- package/dist/assets/{transform.worker-5d54ff09.js.map → transform.worker-90e4f506.js.map} +1 -1
- package/dist/assets/viewQuery.worker-03404216.js.map +1 -1
- package/dist/graphic-walker.es.js +1221 -1215
- package/dist/graphic-walker.es.js.map +1 -1
- package/dist/graphic-walker.umd.js +40 -40
- package/dist/graphic-walker.umd.js.map +1 -1
- package/dist/interfaces.d.ts +1 -1
- package/dist/visualSettings/index.d.ts +3 -0
- package/package.json +1 -1
- package/src/App.tsx +9 -1
- package/src/interfaces.ts +1 -1
- package/src/locales/en-US.json +2 -1
- package/src/locales/ja-JP.json +2 -1
- package/src/locales/zh-CN.json +2 -1
- package/src/store/visualSpecStore.ts +2 -2
- package/src/utils/index.ts +1 -1
- package/src/visualSettings/index.tsx +17 -4
- package/src/workers/transform.ts +1 -1
|
@@ -36,8 +36,8 @@ function TK() {
|
|
|
36
36
|
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, a = e ? Symbol.for("react.profiler") : 60114, o = 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, d = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, p = e ? Symbol.for("react.lazy") : 60116, m = e ? Symbol.for("react.block") : 60121, g = e ? Symbol.for("react.fundamental") : 60117, b = e ? Symbol.for("react.responder") : 60118, v = e ? Symbol.for("react.scope") : 60119;
|
|
37
37
|
function y(w) {
|
|
38
38
|
if (typeof w == "object" && w !== null) {
|
|
39
|
-
var
|
|
40
|
-
switch (
|
|
39
|
+
var k = w.$$typeof;
|
|
40
|
+
switch (k) {
|
|
41
41
|
case t:
|
|
42
42
|
switch (w = w.type, w) {
|
|
43
43
|
case l:
|
|
@@ -56,11 +56,11 @@ function TK() {
|
|
|
56
56
|
case o:
|
|
57
57
|
return w;
|
|
58
58
|
default:
|
|
59
|
-
return
|
|
59
|
+
return k;
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
case n:
|
|
63
|
-
return
|
|
63
|
+
return k;
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
}
|
|
@@ -144,7 +144,7 @@ function FK() {
|
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
|
-
var w = l,
|
|
147
|
+
var w = l, k = u, S = s, O = o, _ = t, C = c, I = r, R = p, N = h, F = n, T = a, L = i, D = f, M = !1;
|
|
148
148
|
function W(A) {
|
|
149
149
|
return M || (M = !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.")), Z(A) || x(A) === l;
|
|
150
150
|
}
|
|
@@ -184,7 +184,7 @@ function FK() {
|
|
|
184
184
|
function z(A) {
|
|
185
185
|
return x(A) === f;
|
|
186
186
|
}
|
|
187
|
-
ot.AsyncMode = w, ot.ConcurrentMode =
|
|
187
|
+
ot.AsyncMode = w, ot.ConcurrentMode = k, ot.ContextConsumer = S, ot.ContextProvider = O, ot.Element = _, ot.ForwardRef = C, ot.Fragment = I, ot.Lazy = R, ot.Memo = N, ot.Portal = F, ot.Profiler = T, ot.StrictMode = L, ot.Suspense = D, ot.isAsyncMode = W, ot.isConcurrentMode = Z, ot.isContextConsumer = V, ot.isContextProvider = j, ot.isElement = $, ot.isForwardRef = H, ot.isFragment = K, ot.isLazy = q, ot.isMemo = re, ot.isPortal = ce, ot.isProfiler = P, ot.isStrictMode = X, ot.isSuspense = z, ot.isValidElementType = y, ot.typeOf = x;
|
|
188
188
|
}()), ot;
|
|
189
189
|
}
|
|
190
190
|
var E3;
|
|
@@ -345,11 +345,11 @@ function AK() {
|
|
|
345
345
|
arrayOf: y,
|
|
346
346
|
element: x(),
|
|
347
347
|
elementType: w(),
|
|
348
|
-
instanceOf:
|
|
349
|
-
node:
|
|
350
|
-
objectOf:
|
|
348
|
+
instanceOf: k,
|
|
349
|
+
node: C(),
|
|
350
|
+
objectOf: O,
|
|
351
351
|
oneOf: S,
|
|
352
|
-
oneOfType:
|
|
352
|
+
oneOfType: _,
|
|
353
353
|
shape: R,
|
|
354
354
|
exact: N
|
|
355
355
|
};
|
|
@@ -440,7 +440,7 @@ function AK() {
|
|
|
440
440
|
}
|
|
441
441
|
return g(Z);
|
|
442
442
|
}
|
|
443
|
-
function
|
|
443
|
+
function k(Z) {
|
|
444
444
|
function V(j, $, H, K, q) {
|
|
445
445
|
if (!(j[$] instanceof Z)) {
|
|
446
446
|
var re = Z.name || d, ce = W(j[$]);
|
|
@@ -467,7 +467,7 @@ function AK() {
|
|
|
467
467
|
}
|
|
468
468
|
return g(V);
|
|
469
469
|
}
|
|
470
|
-
function
|
|
470
|
+
function O(Z) {
|
|
471
471
|
function V(j, $, H, K, q) {
|
|
472
472
|
if (typeof Z != "function")
|
|
473
473
|
return new m("Property `" + q + "` of component `" + H + "` has invalid PropType notation inside objectOf.");
|
|
@@ -484,7 +484,7 @@ function AK() {
|
|
|
484
484
|
}
|
|
485
485
|
return g(V);
|
|
486
486
|
}
|
|
487
|
-
function
|
|
487
|
+
function _(Z) {
|
|
488
488
|
if (!Array.isArray(Z))
|
|
489
489
|
return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."), o;
|
|
490
490
|
for (var V = 0; V < Z.length; V++) {
|
|
@@ -506,13 +506,13 @@ function AK() {
|
|
|
506
506
|
}
|
|
507
507
|
return g($);
|
|
508
508
|
}
|
|
509
|
-
function
|
|
509
|
+
function C() {
|
|
510
510
|
function Z(V, j, $, H, K) {
|
|
511
511
|
return F(V[j]) ? null : new m("Invalid " + H + " `" + K + "` supplied to " + ("`" + $ + "`, expected a ReactNode."));
|
|
512
512
|
}
|
|
513
513
|
return g(Z);
|
|
514
514
|
}
|
|
515
|
-
function
|
|
515
|
+
function I(Z, V, j, $, H) {
|
|
516
516
|
return new m(
|
|
517
517
|
(Z || "React class") + ": " + V + " type `" + j + "." + $ + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + H + "`."
|
|
518
518
|
);
|
|
@@ -525,7 +525,7 @@ function AK() {
|
|
|
525
525
|
for (var P in Z) {
|
|
526
526
|
var X = Z[P];
|
|
527
527
|
if (typeof X != "function")
|
|
528
|
-
return
|
|
528
|
+
return I(H, K, q, P, D(X));
|
|
529
529
|
var z = X(re, P, H, K, q + "." + P, n);
|
|
530
530
|
if (z)
|
|
531
531
|
return z;
|
|
@@ -543,7 +543,7 @@ function AK() {
|
|
|
543
543
|
for (var X in P) {
|
|
544
544
|
var z = Z[X];
|
|
545
545
|
if (r(Z, X) && typeof z != "function")
|
|
546
|
-
return
|
|
546
|
+
return I(H, K, q, X, D(z));
|
|
547
547
|
if (!z)
|
|
548
548
|
return new m(
|
|
549
549
|
"Invalid " + K + " `" + q + "` key `" + X + "` supplied to `" + H + "`.\nBad object: " + JSON.stringify(j[$], null, " ") + `
|
|
@@ -697,8 +697,8 @@ var WK = XZ(function(e) {
|
|
|
697
697
|
for (y = [], w = b.length; x < w; x++)
|
|
698
698
|
y.push(n(g, b[x], v));
|
|
699
699
|
else
|
|
700
|
-
for (var
|
|
701
|
-
Object.prototype.hasOwnProperty.call(b,
|
|
700
|
+
for (var k in y = {}, b)
|
|
701
|
+
Object.prototype.hasOwnProperty.call(b, k) && (y[g(k, v)] = n(g, b[k], v));
|
|
702
702
|
return y;
|
|
703
703
|
}, r = function(g) {
|
|
704
704
|
return h(g) ? g : (g = g.replace(/[\-_\s]+(.)?/g, function(b, v) {
|
|
@@ -830,13 +830,13 @@ function KK(e) {
|
|
|
830
830
|
l.length > 0 && (y.adoptedStyleSheets = l), g(y);
|
|
831
831
|
} catch (x) {
|
|
832
832
|
(function(w) {
|
|
833
|
-
var
|
|
834
|
-
switch (
|
|
833
|
+
var k = w.error, S = w.styleSheets, O = w.root;
|
|
834
|
+
switch (k.name) {
|
|
835
835
|
case "NotSupportedError":
|
|
836
|
-
S.length > 0 && (
|
|
836
|
+
S.length > 0 && (O.adoptedStyleSheets = S);
|
|
837
837
|
break;
|
|
838
838
|
default:
|
|
839
|
-
throw
|
|
839
|
+
throw k;
|
|
840
840
|
}
|
|
841
841
|
})({ error: x, styleSheets: l, root: m });
|
|
842
842
|
}
|
|
@@ -1372,8 +1372,8 @@ function vJ() {
|
|
|
1372
1372
|
}
|
|
1373
1373
|
}
|
|
1374
1374
|
}
|
|
1375
|
-
var y = a, x = e, w = s,
|
|
1376
|
-
return ht.ContextConsumer = o, ht.ContextProvider = y, ht.Element = x, ht.ForwardRef = w, ht.Fragment =
|
|
1375
|
+
var y = a, x = e, w = s, k = n, S = f, O = c, _ = t, C = i, I = r, R = l;
|
|
1376
|
+
return ht.ContextConsumer = o, ht.ContextProvider = y, ht.Element = x, ht.ForwardRef = w, ht.Fragment = k, ht.Lazy = S, ht.Memo = O, ht.Portal = _, ht.Profiler = C, ht.StrictMode = I, ht.Suspense = R, ht.isAsyncMode = function() {
|
|
1377
1377
|
return !1;
|
|
1378
1378
|
}, ht.isConcurrentMode = function() {
|
|
1379
1379
|
return !1;
|
|
@@ -1455,7 +1455,7 @@ function yJ() {
|
|
|
1455
1455
|
}
|
|
1456
1456
|
}
|
|
1457
1457
|
}
|
|
1458
|
-
var w = o,
|
|
1458
|
+
var w = o, k = a, S = e, O = s, _ = n, C = f, I = c, R = t, N = i, F = r, T = l, L = !1, D = !1;
|
|
1459
1459
|
function M(z) {
|
|
1460
1460
|
return L || (L = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
1461
1461
|
}
|
|
@@ -1495,7 +1495,7 @@ function yJ() {
|
|
|
1495
1495
|
function X(z) {
|
|
1496
1496
|
return x(z) === l;
|
|
1497
1497
|
}
|
|
1498
|
-
pt.ContextConsumer = w, pt.ContextProvider =
|
|
1498
|
+
pt.ContextConsumer = w, pt.ContextProvider = k, pt.Element = S, pt.ForwardRef = O, pt.Fragment = _, pt.Lazy = C, pt.Memo = I, pt.Portal = R, pt.Profiler = N, pt.StrictMode = F, pt.Suspense = T, pt.isAsyncMode = M, pt.isConcurrentMode = W, pt.isContextConsumer = Z, pt.isContextProvider = V, pt.isElement = j, pt.isForwardRef = $, pt.isFragment = H, pt.isLazy = K, pt.isMemo = q, pt.isPortal = re, pt.isProfiler = ce, pt.isStrictMode = P, pt.isSuspense = X, pt.isValidElementType = y, pt.typeOf = x;
|
|
1499
1499
|
}()), pt;
|
|
1500
1500
|
}
|
|
1501
1501
|
(function(e) {
|
|
@@ -1551,8 +1551,8 @@ var IJ = function() {
|
|
|
1551
1551
|
};
|
|
1552
1552
|
function NJ(e, t) {
|
|
1553
1553
|
t === void 0 && (t = {});
|
|
1554
|
-
var n = t, r = n.getDisplayName, i = r === void 0 ? function(
|
|
1555
|
-
return "ConnectAdvanced(" +
|
|
1554
|
+
var n = t, r = n.getDisplayName, i = r === void 0 ? function(k) {
|
|
1555
|
+
return "ConnectAdvanced(" + k + ")";
|
|
1556
1556
|
} : r, a = n.methodName, o = a === void 0 ? "connectAdvanced" : a, s = n.renderCountProp, l = s === void 0 ? void 0 : s, u = n.shouldHandleStateChanges, c = u === void 0 ? !0 : u, f = n.storeKey, d = f === void 0 ? "store" : f, h = n.withRef, p = h === void 0 ? !1 : h, m = n.forwardRef, g = m === void 0 ? !1 : m, b = n.context, v = b === void 0 ? T_ : b, y = gv(n, xJ);
|
|
1557
1557
|
if (process.env.NODE_ENV !== "production") {
|
|
1558
1558
|
if (l !== void 0)
|
|
@@ -1567,20 +1567,20 @@ function NJ(e, t) {
|
|
|
1567
1567
|
return function(S) {
|
|
1568
1568
|
if (process.env.NODE_ENV !== "production" && !bv.isValidElementType(S))
|
|
1569
1569
|
throw new Error("You must pass a component to the function returned by " + (o + ". Instead received " + OJ(S)));
|
|
1570
|
-
var
|
|
1570
|
+
var O = S.displayName || S.name || "Component", _ = i(O), C = Ce({}, y, {
|
|
1571
1571
|
getDisplayName: i,
|
|
1572
1572
|
methodName: o,
|
|
1573
1573
|
renderCountProp: l,
|
|
1574
1574
|
shouldHandleStateChanges: c,
|
|
1575
1575
|
storeKey: d,
|
|
1576
|
-
displayName:
|
|
1577
|
-
wrappedComponentName:
|
|
1576
|
+
displayName: _,
|
|
1577
|
+
wrappedComponentName: O,
|
|
1578
1578
|
WrappedComponent: S
|
|
1579
|
-
}),
|
|
1579
|
+
}), I = y.pure;
|
|
1580
1580
|
function R(D) {
|
|
1581
|
-
return e(D.dispatch,
|
|
1581
|
+
return e(D.dispatch, C);
|
|
1582
1582
|
}
|
|
1583
|
-
var N =
|
|
1583
|
+
var N = I ? be : function(D) {
|
|
1584
1584
|
return D();
|
|
1585
1585
|
};
|
|
1586
1586
|
function F(D) {
|
|
@@ -1591,7 +1591,7 @@ function NJ(e, t) {
|
|
|
1591
1591
|
return W && W.Consumer && bv.isContextConsumer(/* @__PURE__ */ E.createElement(W.Consumer, null)) ? W : w;
|
|
1592
1592
|
}, [W, w]), $ = vn(j), H = Boolean(D.store) && Boolean(D.store.getState) && Boolean(D.store.dispatch), K = Boolean($) && Boolean($.store);
|
|
1593
1593
|
if (process.env.NODE_ENV !== "production" && !H && !K)
|
|
1594
|
-
throw new Error('Could not find "store" in the context of ' + ('"' +
|
|
1594
|
+
throw new Error('Could not find "store" in the context of ' + ('"' + _ + '". Either wrap the root component in a <Provider>, ') + "or pass a custom React context provider to <Provider> and the corresponding " + ("React context consumer to " + _ + " in connect options."));
|
|
1595
1595
|
var q = H ? D.store : $.store, re = be(function() {
|
|
1596
1596
|
return R(q);
|
|
1597
1597
|
}, [q]), ce = be(function() {
|
|
@@ -1621,14 +1621,14 @@ function NJ(e, t) {
|
|
|
1621
1621
|
}, [j, Ve, z]);
|
|
1622
1622
|
return We;
|
|
1623
1623
|
}
|
|
1624
|
-
var T =
|
|
1625
|
-
if (T.WrappedComponent = S, T.displayName = F.displayName =
|
|
1624
|
+
var T = I ? E.memo(F) : F;
|
|
1625
|
+
if (T.WrappedComponent = S, T.displayName = F.displayName = _, g) {
|
|
1626
1626
|
var L = E.forwardRef(function(M, W) {
|
|
1627
1627
|
return /* @__PURE__ */ E.createElement(T, Ce({}, M, {
|
|
1628
1628
|
reactReduxForwardedRef: W
|
|
1629
1629
|
}));
|
|
1630
1630
|
});
|
|
1631
|
-
return L.displayName =
|
|
1631
|
+
return L.displayName = _, L.WrappedComponent = S, j3(L, S);
|
|
1632
1632
|
}
|
|
1633
1633
|
return j3(T, S);
|
|
1634
1634
|
};
|
|
@@ -1781,8 +1781,8 @@ function YJ(e, t, n, r, i) {
|
|
|
1781
1781
|
return f = y, x && (h = n(f, d, c)), h;
|
|
1782
1782
|
}
|
|
1783
1783
|
function v(y, x) {
|
|
1784
|
-
var w = !o(x, c),
|
|
1785
|
-
return u = y, c = x, w &&
|
|
1784
|
+
var w = !o(x, c), k = !a(y, u, x, c);
|
|
1785
|
+
return u = y, c = x, w && k ? m() : w ? g() : k ? b() : h;
|
|
1786
1786
|
}
|
|
1787
1787
|
return function(x, w) {
|
|
1788
1788
|
return l ? v(x, w) : p(x, w);
|
|
@@ -1812,7 +1812,7 @@ function JJ(e) {
|
|
|
1812
1812
|
var t = e === void 0 ? {} : e, n = t.connectHOC, r = n === void 0 ? NJ : n, i = t.mapStateToPropsFactories, a = i === void 0 ? ZJ : i, o = t.mapDispatchToPropsFactories, s = o === void 0 ? AJ : o, l = t.mergePropsFactories, u = l === void 0 ? $J : l, c = t.selectorFactory, f = c === void 0 ? HJ : c;
|
|
1813
1813
|
return function(h, p, m, g) {
|
|
1814
1814
|
g === void 0 && (g = {});
|
|
1815
|
-
var b = g, v = b.pure, y = v === void 0 ? !0 : v, x = b.areStatesEqual, w = x === void 0 ? KJ : x,
|
|
1815
|
+
var b = g, v = b.pure, y = v === void 0 ? !0 : v, x = b.areStatesEqual, w = x === void 0 ? KJ : x, k = b.areOwnPropsEqual, S = k === void 0 ? b2 : k, O = b.areStatePropsEqual, _ = O === void 0 ? b2 : O, C = b.areMergedPropsEqual, I = C === void 0 ? b2 : C, R = gv(b, UJ), N = y2(h, a, "mapStateToProps"), F = y2(p, s, "mapDispatchToProps"), T = y2(m, u, "mergeProps");
|
|
1816
1816
|
return r(f, Ce({
|
|
1817
1817
|
// used in error messages
|
|
1818
1818
|
methodName: "connect",
|
|
@@ -1829,8 +1829,8 @@ function JJ(e) {
|
|
|
1829
1829
|
pure: y,
|
|
1830
1830
|
areStatesEqual: w,
|
|
1831
1831
|
areOwnPropsEqual: S,
|
|
1832
|
-
areStatePropsEqual:
|
|
1833
|
-
areMergedPropsEqual:
|
|
1832
|
+
areStatePropsEqual: _,
|
|
1833
|
+
areMergedPropsEqual: I
|
|
1834
1834
|
}, R));
|
|
1835
1835
|
};
|
|
1836
1836
|
}
|
|
@@ -3572,21 +3572,21 @@ var oF = {
|
|
|
3572
3572
|
if (e.phase === "DROP_PENDING" || e.phase === "COLLECTING")
|
|
3573
3573
|
return E2(e);
|
|
3574
3574
|
bu(e) || (process.env.NODE_ENV !== "production" ? G(!1, t.type + " not permitted in phase " + e.phase) : G(!1));
|
|
3575
|
-
var y = t.payload, x = y.id, w = y.newScroll,
|
|
3576
|
-
if (!
|
|
3575
|
+
var y = t.payload, x = y.id, w = y.newScroll, k = e.dimensions.droppables[x];
|
|
3576
|
+
if (!k)
|
|
3577
3577
|
return e;
|
|
3578
|
-
var S = P_(
|
|
3578
|
+
var S = P_(k, w);
|
|
3579
3579
|
return S2(e, S, !1);
|
|
3580
3580
|
}
|
|
3581
3581
|
if (t.type === "UPDATE_DROPPABLE_IS_ENABLED") {
|
|
3582
3582
|
if (e.phase === "DROP_PENDING")
|
|
3583
3583
|
return e;
|
|
3584
3584
|
bu(e) || (process.env.NODE_ENV !== "production" ? G(!1, "Attempting to move in an unsupported phase " + e.phase) : G(!1));
|
|
3585
|
-
var
|
|
3586
|
-
|
|
3587
|
-
but it is already ` + String(
|
|
3588
|
-
var R = Ce({},
|
|
3589
|
-
isEnabled:
|
|
3585
|
+
var O = t.payload, _ = O.id, C = O.isEnabled, I = e.dimensions.droppables[_];
|
|
3586
|
+
I || (process.env.NODE_ENV !== "production" ? G(!1, "Cannot find Droppable[id: " + _ + "] to toggle its enabled state") : G(!1)), I.isEnabled === C && (process.env.NODE_ENV !== "production" ? G(!1, "Trying to set droppable isEnabled to " + String(C) + `
|
|
3587
|
+
but it is already ` + String(I.isEnabled)) : G(!1));
|
|
3588
|
+
var R = Ce({}, I, {
|
|
3589
|
+
isEnabled: C
|
|
3590
3590
|
});
|
|
3591
3591
|
return S2(e, R, !0);
|
|
3592
3592
|
}
|
|
@@ -3994,12 +3994,12 @@ var BQ = function(e) {
|
|
|
3994
3994
|
current: a.current.client.offset,
|
|
3995
3995
|
destination: v,
|
|
3996
3996
|
reason: o
|
|
3997
|
-
}),
|
|
3997
|
+
}), k = {
|
|
3998
3998
|
newHomeClientOffset: v,
|
|
3999
3999
|
dropDuration: w,
|
|
4000
4000
|
completed: y
|
|
4001
4001
|
};
|
|
4002
|
-
n(VQ(
|
|
4002
|
+
n(VQ(k));
|
|
4003
4003
|
}
|
|
4004
4004
|
};
|
|
4005
4005
|
};
|
|
@@ -5920,25 +5920,25 @@ function zte(e) {
|
|
|
5920
5920
|
function p() {
|
|
5921
5921
|
return t.isActive(f);
|
|
5922
5922
|
}
|
|
5923
|
-
function m(
|
|
5923
|
+
function m(k, S) {
|
|
5924
5924
|
Jg({
|
|
5925
|
-
expected:
|
|
5925
|
+
expected: k,
|
|
5926
5926
|
phase: d,
|
|
5927
5927
|
isLockActive: p,
|
|
5928
5928
|
shouldWarn: !0
|
|
5929
5929
|
}) && r.dispatch(S());
|
|
5930
5930
|
}
|
|
5931
5931
|
var g = m.bind(null, "DRAGGING");
|
|
5932
|
-
function b(
|
|
5932
|
+
function b(k) {
|
|
5933
5933
|
function S() {
|
|
5934
5934
|
t.release(), d = "COMPLETED";
|
|
5935
5935
|
}
|
|
5936
|
-
d !== "PRE_DRAG" && (S(), d !== "PRE_DRAG" && (process.env.NODE_ENV !== "production" ? G(!1, "Cannot lift in phase " + d) : G(!1))), r.dispatch(NQ(
|
|
5937
|
-
function _
|
|
5938
|
-
if (
|
|
5936
|
+
d !== "PRE_DRAG" && (S(), d !== "PRE_DRAG" && (process.env.NODE_ENV !== "production" ? G(!1, "Cannot lift in phase " + d) : G(!1))), r.dispatch(NQ(k.liftActionArgs)), d = "DRAGGING";
|
|
5937
|
+
function O(_, C) {
|
|
5938
|
+
if (C === void 0 && (C = {
|
|
5939
5939
|
shouldBlockNextClick: !1
|
|
5940
|
-
}),
|
|
5941
|
-
var
|
|
5940
|
+
}), k.cleanup(), C.shouldBlockNextClick) {
|
|
5941
|
+
var I = vi(window, [{
|
|
5942
5942
|
eventName: "click",
|
|
5943
5943
|
fn: $te,
|
|
5944
5944
|
options: {
|
|
@@ -5947,10 +5947,10 @@ function zte(e) {
|
|
|
5947
5947
|
capture: !0
|
|
5948
5948
|
}
|
|
5949
5949
|
}]);
|
|
5950
|
-
setTimeout(
|
|
5950
|
+
setTimeout(I);
|
|
5951
5951
|
}
|
|
5952
5952
|
S(), r.dispatch(MG({
|
|
5953
|
-
reason:
|
|
5953
|
+
reason: _
|
|
5954
5954
|
}));
|
|
5955
5955
|
}
|
|
5956
5956
|
return Ce({
|
|
@@ -5963,25 +5963,25 @@ function zte(e) {
|
|
|
5963
5963
|
});
|
|
5964
5964
|
},
|
|
5965
5965
|
shouldRespectForcePress: h,
|
|
5966
|
-
drop: function(
|
|
5967
|
-
return
|
|
5966
|
+
drop: function(C) {
|
|
5967
|
+
return O("DROP", C);
|
|
5968
5968
|
},
|
|
5969
|
-
cancel: function(
|
|
5970
|
-
return
|
|
5969
|
+
cancel: function(C) {
|
|
5970
|
+
return O("CANCEL", C);
|
|
5971
5971
|
}
|
|
5972
|
-
},
|
|
5972
|
+
}, k.actions);
|
|
5973
5973
|
}
|
|
5974
|
-
function v(
|
|
5975
|
-
var S = Ap(function(
|
|
5974
|
+
function v(k) {
|
|
5975
|
+
var S = Ap(function(_) {
|
|
5976
5976
|
g(function() {
|
|
5977
5977
|
return AG({
|
|
5978
|
-
client:
|
|
5978
|
+
client: _
|
|
5979
5979
|
});
|
|
5980
5980
|
});
|
|
5981
|
-
}),
|
|
5981
|
+
}), O = b({
|
|
5982
5982
|
liftActionArgs: {
|
|
5983
5983
|
id: a,
|
|
5984
|
-
clientSelection:
|
|
5984
|
+
clientSelection: k,
|
|
5985
5985
|
movementMode: "FLUID"
|
|
5986
5986
|
},
|
|
5987
5987
|
cleanup: function() {
|
|
@@ -5991,12 +5991,12 @@ function zte(e) {
|
|
|
5991
5991
|
move: S
|
|
5992
5992
|
}
|
|
5993
5993
|
});
|
|
5994
|
-
return Ce({},
|
|
5994
|
+
return Ce({}, O, {
|
|
5995
5995
|
move: S
|
|
5996
5996
|
});
|
|
5997
5997
|
}
|
|
5998
5998
|
function y() {
|
|
5999
|
-
var
|
|
5999
|
+
var k = {
|
|
6000
6000
|
moveUp: function() {
|
|
6001
6001
|
return g(ZQ);
|
|
6002
6002
|
},
|
|
@@ -6017,17 +6017,17 @@ function zte(e) {
|
|
|
6017
6017
|
movementMode: "SNAP"
|
|
6018
6018
|
},
|
|
6019
6019
|
cleanup: Ys,
|
|
6020
|
-
actions:
|
|
6020
|
+
actions: k
|
|
6021
6021
|
});
|
|
6022
6022
|
}
|
|
6023
6023
|
function x() {
|
|
6024
|
-
var
|
|
6024
|
+
var k = Jg({
|
|
6025
6025
|
expected: "PRE_DRAG",
|
|
6026
6026
|
phase: d,
|
|
6027
6027
|
isLockActive: p,
|
|
6028
6028
|
shouldWarn: !0
|
|
6029
6029
|
});
|
|
6030
|
-
|
|
6030
|
+
k && t.release();
|
|
6031
6031
|
}
|
|
6032
6032
|
var w = {
|
|
6033
6033
|
isActive: function() {
|
|
@@ -6119,8 +6119,8 @@ function Hte(e) {
|
|
|
6119
6119
|
}, [s]), u = Jee(t), c = tte({
|
|
6120
6120
|
contextId: t,
|
|
6121
6121
|
text: a
|
|
6122
|
-
}), f = Xee(t, i), d = Ee(function(
|
|
6123
|
-
dh(o).dispatch(
|
|
6122
|
+
}), f = Xee(t, i), d = Ee(function(_) {
|
|
6123
|
+
dh(o).dispatch(_);
|
|
6124
6124
|
}, []), h = Ke(function() {
|
|
6125
6125
|
return M3({
|
|
6126
6126
|
publishWhileDragging: TQ,
|
|
@@ -6150,11 +6150,11 @@ function Hte(e) {
|
|
|
6150
6150
|
}, [u, g, m, b, l, f]);
|
|
6151
6151
|
process.env.NODE_ENV !== "production" && o.current && o.current !== v && process.env.NODE_ENV !== "production" && St("unexpected store change"), o.current = v;
|
|
6152
6152
|
var y = Ee(function() {
|
|
6153
|
-
var
|
|
6154
|
-
|
|
6153
|
+
var _ = dh(o), C = _.getState();
|
|
6154
|
+
C.phase !== "IDLE" && _.dispatch(X_());
|
|
6155
6155
|
}, []), x = Ee(function() {
|
|
6156
|
-
var
|
|
6157
|
-
return
|
|
6156
|
+
var _ = dh(o).getState();
|
|
6157
|
+
return _.isDragging || _.phase === "DROP_ANIMATING";
|
|
6158
6158
|
}, []), w = Ke(function() {
|
|
6159
6159
|
return {
|
|
6160
6160
|
isDragging: x,
|
|
@@ -6162,21 +6162,21 @@ function Hte(e) {
|
|
|
6162
6162
|
};
|
|
6163
6163
|
}, [x, y]);
|
|
6164
6164
|
n(w);
|
|
6165
|
-
var
|
|
6166
|
-
return $G(dh(o).getState(),
|
|
6165
|
+
var k = Ee(function(_) {
|
|
6166
|
+
return $G(dh(o).getState(), _);
|
|
6167
6167
|
}, []), S = Ee(function() {
|
|
6168
6168
|
return bu(dh(o).getState());
|
|
6169
|
-
}, []),
|
|
6169
|
+
}, []), O = Ke(function() {
|
|
6170
6170
|
return {
|
|
6171
6171
|
marshal: m,
|
|
6172
6172
|
focus: b,
|
|
6173
6173
|
contextId: t,
|
|
6174
|
-
canLift:
|
|
6174
|
+
canLift: k,
|
|
6175
6175
|
isMovementAllowed: S,
|
|
6176
6176
|
dragHandleUsageInstructionsId: c,
|
|
6177
6177
|
registry: p
|
|
6178
6178
|
};
|
|
6179
|
-
}, [t, m, c, b,
|
|
6179
|
+
}, [t, m, c, b, k, S, p]);
|
|
6180
6180
|
return Bte({
|
|
6181
6181
|
contextId: t,
|
|
6182
6182
|
store: v,
|
|
@@ -6186,7 +6186,7 @@ function Hte(e) {
|
|
|
6186
6186
|
}), Ne(function() {
|
|
6187
6187
|
return y;
|
|
6188
6188
|
}, [y]), E.createElement(Z1.Provider, {
|
|
6189
|
-
value:
|
|
6189
|
+
value: O
|
|
6190
6190
|
}, E.createElement(QZ, {
|
|
6191
6191
|
context: Q_,
|
|
6192
6192
|
store: v
|
|
@@ -6387,11 +6387,11 @@ function fne(e) {
|
|
|
6387
6387
|
}, [e.droppableId, e.mode, e.type]), l = fe(s), u = Ke(function() {
|
|
6388
6388
|
return hn(function(x, w) {
|
|
6389
6389
|
t.current || (process.env.NODE_ENV !== "production" ? G(!1, "Can only update scroll when dragging") : G(!1));
|
|
6390
|
-
var
|
|
6390
|
+
var k = {
|
|
6391
6391
|
x,
|
|
6392
6392
|
y: w
|
|
6393
6393
|
};
|
|
6394
|
-
a.updateDroppableScroll(s.id,
|
|
6394
|
+
a.updateDroppableScroll(s.id, k);
|
|
6395
6395
|
});
|
|
6396
6396
|
}, [s.id, a]), c = Ee(function() {
|
|
6397
6397
|
var x = t.current;
|
|
@@ -6404,34 +6404,34 @@ function fne(e) {
|
|
|
6404
6404
|
}, [f]), h = Ee(function() {
|
|
6405
6405
|
var x = t.current, w = qg(x);
|
|
6406
6406
|
x && w || (process.env.NODE_ENV !== "production" ? G(!1, "Could not find scroll options while scrolling") : G(!1));
|
|
6407
|
-
var
|
|
6408
|
-
if (
|
|
6407
|
+
var k = x.scrollOptions;
|
|
6408
|
+
if (k.shouldPublishImmediately) {
|
|
6409
6409
|
f();
|
|
6410
6410
|
return;
|
|
6411
6411
|
}
|
|
6412
6412
|
d();
|
|
6413
6413
|
}, [d, f]), p = Ee(function(x, w) {
|
|
6414
6414
|
t.current && (process.env.NODE_ENV !== "production" ? G(!1, "Cannot collect a droppable while a drag is occurring") : G(!1));
|
|
6415
|
-
var
|
|
6415
|
+
var k = o.current, S = k.getDroppableRef();
|
|
6416
6416
|
S || (process.env.NODE_ENV !== "production" ? G(!1, "Cannot collect without a droppable ref") : G(!1));
|
|
6417
|
-
var
|
|
6417
|
+
var O = ane(S), _ = {
|
|
6418
6418
|
ref: S,
|
|
6419
6419
|
descriptor: s,
|
|
6420
|
-
env:
|
|
6420
|
+
env: O,
|
|
6421
6421
|
scrollOptions: w
|
|
6422
6422
|
};
|
|
6423
|
-
t.current =
|
|
6424
|
-
var
|
|
6423
|
+
t.current = _;
|
|
6424
|
+
var C = lne({
|
|
6425
6425
|
ref: S,
|
|
6426
6426
|
descriptor: s,
|
|
6427
|
-
env:
|
|
6427
|
+
env: O,
|
|
6428
6428
|
windowScroll: x,
|
|
6429
|
-
direction:
|
|
6430
|
-
isDropDisabled:
|
|
6431
|
-
isCombineEnabled:
|
|
6432
|
-
shouldClipSubject: !
|
|
6433
|
-
}),
|
|
6434
|
-
return
|
|
6429
|
+
direction: k.direction,
|
|
6430
|
+
isDropDisabled: k.isDropDisabled,
|
|
6431
|
+
isCombineEnabled: k.isCombineEnabled,
|
|
6432
|
+
shouldClipSubject: !k.ignoreContainerClipping
|
|
6433
|
+
}), I = O.closestScrollable;
|
|
6434
|
+
return I && (I.setAttribute(mF.contextId, n.contextId), I.addEventListener("scroll", h, wF(_.scrollOptions)), process.env.NODE_ENV !== "production" && rne(I)), C;
|
|
6435
6435
|
}, [n.contextId, s, h, o]), m = Ee(function() {
|
|
6436
6436
|
var x = t.current, w = qg(x);
|
|
6437
6437
|
return x && w || (process.env.NODE_ENV !== "production" ? G(!1, "Can only recollect Droppable client for Droppables that have a scroll container") : G(!1)), AE(w);
|
|
@@ -6443,8 +6443,8 @@ function fne(e) {
|
|
|
6443
6443
|
}, [h, d]), b = Ee(function(x) {
|
|
6444
6444
|
var w = t.current;
|
|
6445
6445
|
w || (process.env.NODE_ENV !== "production" ? G(!1, "Cannot scroll when there is no drag") : G(!1));
|
|
6446
|
-
var
|
|
6447
|
-
|
|
6446
|
+
var k = qg(w);
|
|
6447
|
+
k || (process.env.NODE_ENV !== "production" ? G(!1, "Cannot scroll a droppable with no closest scrollable") : G(!1)), k.scrollTop += x.y, k.scrollLeft += x.x;
|
|
6448
6448
|
}, []), v = Ke(function() {
|
|
6449
6449
|
return {
|
|
6450
6450
|
getDimensionAndWatchScroll: p,
|
|
@@ -6727,8 +6727,8 @@ function Tne(e) {
|
|
|
6727
6727
|
e.preventDefault();
|
|
6728
6728
|
}
|
|
6729
6729
|
function Fne(e) {
|
|
6730
|
-
var t = fe(null), n = Ee(function(
|
|
6731
|
-
t.current =
|
|
6730
|
+
var t = fe(null), n = Ee(function(_) {
|
|
6731
|
+
t.current = _;
|
|
6732
6732
|
}, []), r = Ee(function() {
|
|
6733
6733
|
return t.current;
|
|
6734
6734
|
}, []), i = Ev(Z1), a = i.contextId, o = i.dragHandleUsageInstructionsId, s = i.registry, l = Ev(ak), u = l.type, c = l.droppableId, f = Ke(function() {
|
|
@@ -6762,21 +6762,21 @@ function Fne(e) {
|
|
|
6762
6762
|
draggable: !1,
|
|
6763
6763
|
onDragStart: Tne
|
|
6764
6764
|
} : null;
|
|
6765
|
-
}, [a, o, h, p]),
|
|
6766
|
-
v.type === "DRAGGING" && v.dropping &&
|
|
6765
|
+
}, [a, o, h, p]), k = Ee(function(_) {
|
|
6766
|
+
v.type === "DRAGGING" && v.dropping && _.propertyName === "transform" && y();
|
|
6767
6767
|
}, [y, v]), S = Ke(function() {
|
|
6768
|
-
var
|
|
6768
|
+
var _ = kne(v), C = v.type === "DRAGGING" && v.dropping ? k : null, I = {
|
|
6769
6769
|
innerRef: n,
|
|
6770
6770
|
draggableProps: {
|
|
6771
6771
|
"data-rbd-draggable-context-id": a,
|
|
6772
6772
|
"data-rbd-draggable-id": h,
|
|
6773
|
-
style:
|
|
6774
|
-
onTransitionEnd:
|
|
6773
|
+
style: _,
|
|
6774
|
+
onTransitionEnd: C
|
|
6775
6775
|
},
|
|
6776
6776
|
dragHandleProps: w
|
|
6777
6777
|
};
|
|
6778
|
-
return
|
|
6779
|
-
}, [a, w, h, v,
|
|
6778
|
+
return I;
|
|
6779
|
+
}, [a, w, h, v, k, n]), O = Ke(function() {
|
|
6780
6780
|
return {
|
|
6781
6781
|
draggableId: f.id,
|
|
6782
6782
|
type: f.type,
|
|
@@ -6786,7 +6786,7 @@ function Fne(e) {
|
|
|
6786
6786
|
}
|
|
6787
6787
|
};
|
|
6788
6788
|
}, [f.droppableId, f.id, f.index, f.type]);
|
|
6789
|
-
return d(S, v.snapshot,
|
|
6789
|
+
return d(S, v.snapshot, O);
|
|
6790
6790
|
}
|
|
6791
6791
|
var iW = function(e, t) {
|
|
6792
6792
|
return e === t;
|
|
@@ -6971,7 +6971,7 @@ function jne(e) {
|
|
|
6971
6971
|
getDroppableRef: v,
|
|
6972
6972
|
getPlaceholderRef: x
|
|
6973
6973
|
});
|
|
6974
|
-
var
|
|
6974
|
+
var k = Ee(function() {
|
|
6975
6975
|
r() && g({
|
|
6976
6976
|
maxScroll: VG()
|
|
6977
6977
|
});
|
|
@@ -6997,9 +6997,9 @@ function jne(e) {
|
|
|
6997
6997
|
innerRef: w,
|
|
6998
6998
|
animate: T,
|
|
6999
6999
|
contextId: n,
|
|
7000
|
-
onTransitionEnd:
|
|
7000
|
+
onTransitionEnd: k
|
|
7001
7001
|
});
|
|
7002
|
-
}),
|
|
7002
|
+
}), O = Ke(function() {
|
|
7003
7003
|
return {
|
|
7004
7004
|
innerRef: y,
|
|
7005
7005
|
placeholder: S,
|
|
@@ -7008,14 +7008,14 @@ function jne(e) {
|
|
|
7008
7008
|
"data-rbd-droppable-context-id": n
|
|
7009
7009
|
}
|
|
7010
7010
|
};
|
|
7011
|
-
}, [n, s, S, y]),
|
|
7011
|
+
}, [n, s, S, y]), _ = m ? m.dragging.draggableId : null, C = Ke(function() {
|
|
7012
7012
|
return {
|
|
7013
7013
|
droppableId: s,
|
|
7014
7014
|
type: l,
|
|
7015
|
-
isUsingCloneFor:
|
|
7015
|
+
isUsingCloneFor: _
|
|
7016
7016
|
};
|
|
7017
|
-
}, [s,
|
|
7018
|
-
function
|
|
7017
|
+
}, [s, _, l]);
|
|
7018
|
+
function I() {
|
|
7019
7019
|
if (!m)
|
|
7020
7020
|
return null;
|
|
7021
7021
|
var R = m.dragging, N = m.render, F = E.createElement(sW, {
|
|
@@ -7031,8 +7031,8 @@ function jne(e) {
|
|
|
7031
7031
|
return CK.createPortal(F, b());
|
|
7032
7032
|
}
|
|
7033
7033
|
return E.createElement(ak.Provider, {
|
|
7034
|
-
value:
|
|
7035
|
-
}, o(
|
|
7034
|
+
value: C
|
|
7035
|
+
}, o(O, p), I());
|
|
7036
7036
|
}
|
|
7037
7037
|
var T2 = function(t, n) {
|
|
7038
7038
|
return t === n.droppable.type;
|
|
@@ -8555,8 +8555,8 @@ var FF = /* @__PURE__ */ bW("flow"), bie = /* @__PURE__ */ bW("flow.bound", {
|
|
|
8555
8555
|
var w;
|
|
8556
8556
|
try {
|
|
8557
8557
|
w = Nu(i + " - runid: " + u + " - yield " + g++, c.next).call(c, x);
|
|
8558
|
-
} catch (
|
|
8559
|
-
return m(
|
|
8558
|
+
} catch (k) {
|
|
8559
|
+
return m(k);
|
|
8560
8560
|
}
|
|
8561
8561
|
y(w);
|
|
8562
8562
|
}
|
|
@@ -8565,8 +8565,8 @@ var FF = /* @__PURE__ */ bW("flow"), bie = /* @__PURE__ */ bW("flow.bound", {
|
|
|
8565
8565
|
var w;
|
|
8566
8566
|
try {
|
|
8567
8567
|
w = Nu(i + " - runid: " + u + " - yield " + g++, c.throw).call(c, x);
|
|
8568
|
-
} catch (
|
|
8569
|
-
return m(
|
|
8568
|
+
} catch (k) {
|
|
8569
|
+
return m(k);
|
|
8570
8570
|
}
|
|
8571
8571
|
y(w);
|
|
8572
8572
|
}
|
|
@@ -9234,12 +9234,12 @@ var rj = /* @__PURE__ */ function() {
|
|
|
9234
9234
|
if (i.data_.size !== o.size)
|
|
9235
9235
|
i.keysAtom_.reportChanged();
|
|
9236
9236
|
else
|
|
9237
|
-
for (var x = i.data_.keys(), w = o.keys(),
|
|
9238
|
-
if (
|
|
9237
|
+
for (var x = i.data_.keys(), w = o.keys(), k = x.next(), S = w.next(); !k.done; ) {
|
|
9238
|
+
if (k.value !== S.value) {
|
|
9239
9239
|
i.keysAtom_.reportChanged();
|
|
9240
9240
|
break;
|
|
9241
9241
|
}
|
|
9242
|
-
|
|
9242
|
+
k = x.next(), S = w.next();
|
|
9243
9243
|
}
|
|
9244
9244
|
i.data_ = o;
|
|
9245
9245
|
}), this;
|
|
@@ -10372,47 +10372,47 @@ function xt(e) {
|
|
|
10372
10372
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = t.i18n, r = vn(rae) || {}, i = r.i18n, a = r.defaultNS, o = n || i || lae();
|
|
10373
10373
|
if (o && !o.reportNamespaces && (o.reportNamespaces = new oae()), !o) {
|
|
10374
10374
|
zE("You will need to pass in an i18next instance by using initReactI18next");
|
|
10375
|
-
var s = function(
|
|
10376
|
-
return Array.isArray(
|
|
10375
|
+
var s = function(_) {
|
|
10376
|
+
return Array.isArray(_) ? _[_.length - 1] : _;
|
|
10377
10377
|
}, l = [s, {}, !1];
|
|
10378
10378
|
return l.t = s, l.i18n = {}, l.ready = !1, l;
|
|
10379
10379
|
}
|
|
10380
10380
|
o.options.react && o.options.react.wait !== void 0 && zE("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
|
|
10381
10381
|
var u = D2(D2(D2({}, aae()), o.options.react), t), c = u.useSuspense, f = u.keyPrefix, d = e || a || o.options && o.options.defaultNS;
|
|
10382
10382
|
d = typeof d == "string" ? [d] : d || ["translation"], o.reportNamespaces.addUsedNamespaces && o.reportNamespaces.addUsedNamespaces(d);
|
|
10383
|
-
var h = (o.isInitialized || o.initializedStoreOnce) && d.every(function(
|
|
10384
|
-
return dae(
|
|
10383
|
+
var h = (o.isInitialized || o.initializedStoreOnce) && d.every(function(O) {
|
|
10384
|
+
return dae(O, o, u);
|
|
10385
10385
|
});
|
|
10386
10386
|
function p() {
|
|
10387
10387
|
return o.getFixedT(null, u.nsMode === "fallback" ? d : d[0], f);
|
|
10388
10388
|
}
|
|
10389
10389
|
var m = Fe(p), g = pae(m, 2), b = g[0], v = g[1], y = d.join(), x = mae(y), w = fe(!0);
|
|
10390
10390
|
Ne(function() {
|
|
10391
|
-
var
|
|
10391
|
+
var O = u.bindI18n, _ = u.bindI18nStore;
|
|
10392
10392
|
w.current = !0, !h && !c && qF(o, d, function() {
|
|
10393
10393
|
w.current && v(p);
|
|
10394
10394
|
}), h && x && x !== y && w.current && v(p);
|
|
10395
|
-
function
|
|
10395
|
+
function C() {
|
|
10396
10396
|
w.current && v(p);
|
|
10397
10397
|
}
|
|
10398
|
-
return
|
|
10399
|
-
w.current = !1,
|
|
10400
|
-
return o.off(
|
|
10401
|
-
}),
|
|
10402
|
-
return o.store.off(
|
|
10398
|
+
return O && o && o.on(O, C), _ && o && o.store.on(_, C), function() {
|
|
10399
|
+
w.current = !1, O && o && O.split(" ").forEach(function(I) {
|
|
10400
|
+
return o.off(I, C);
|
|
10401
|
+
}), _ && o && _.split(" ").forEach(function(I) {
|
|
10402
|
+
return o.store.off(I, C);
|
|
10403
10403
|
});
|
|
10404
10404
|
};
|
|
10405
10405
|
}, [o, y]);
|
|
10406
|
-
var
|
|
10406
|
+
var k = fe(!0);
|
|
10407
10407
|
Ne(function() {
|
|
10408
|
-
w.current && !
|
|
10408
|
+
w.current && !k.current && v(p), k.current = !1;
|
|
10409
10409
|
}, [o, f]);
|
|
10410
10410
|
var S = [b, o, h];
|
|
10411
10411
|
if (S.t = b, S.i18n = o, S.ready = h, h || !h && !c)
|
|
10412
10412
|
return S;
|
|
10413
|
-
throw new Promise(function(
|
|
10413
|
+
throw new Promise(function(O) {
|
|
10414
10414
|
qF(o, d, function() {
|
|
10415
|
-
|
|
10415
|
+
O();
|
|
10416
10416
|
});
|
|
10417
10417
|
});
|
|
10418
10418
|
}
|
|
@@ -12500,17 +12500,17 @@ var vL = {}, yL = function(e) {
|
|
|
12500
12500
|
}
|
|
12501
12501
|
return l ? (b.res = f, b) : f;
|
|
12502
12502
|
}
|
|
12503
|
-
var b = this.resolve(i, a), v = b && b.res, y = b && b.usedKey || f, x = b && b.exactUsedKey || f, w = Object.prototype.toString.apply(v),
|
|
12504
|
-
if (
|
|
12503
|
+
var b = this.resolve(i, a), v = b && b.res, y = b && b.usedKey || f, x = b && b.exactUsedKey || f, w = Object.prototype.toString.apply(v), k = ["[object Number]", "[object Function]", "[object RegExp]"], S = a.joinArrays !== void 0 ? a.joinArrays : this.options.joinArrays, O = !this.i18nFormat || this.i18nFormat.handleAsObject, _ = typeof v != "string" && typeof v != "boolean" && typeof v != "number";
|
|
12504
|
+
if (O && v && _ && k.indexOf(w) < 0 && !(typeof S == "string" && w === "[object Array]")) {
|
|
12505
12505
|
if (!a.returnObjects && !this.options.returnObjects) {
|
|
12506
12506
|
this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
|
|
12507
|
-
var
|
|
12507
|
+
var C = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(y, v, tr(tr({}, a), {}, {
|
|
12508
12508
|
ns: d
|
|
12509
12509
|
})) : "key '".concat(f, " (").concat(this.language, ")' returned an object instead of string.");
|
|
12510
|
-
return l ? (b.res =
|
|
12510
|
+
return l ? (b.res = C, b) : C;
|
|
12511
12511
|
}
|
|
12512
12512
|
if (u) {
|
|
12513
|
-
var
|
|
12513
|
+
var I = w === "[object Array]", R = I ? [] : {}, N = I ? x : y;
|
|
12514
12514
|
for (var F in v)
|
|
12515
12515
|
if (Object.prototype.hasOwnProperty.call(v, F)) {
|
|
12516
12516
|
var T = "".concat(N).concat(u).concat(F);
|
|
@@ -12521,7 +12521,7 @@ var vL = {}, yL = function(e) {
|
|
|
12521
12521
|
}
|
|
12522
12522
|
v = R;
|
|
12523
12523
|
}
|
|
12524
|
-
} else if (
|
|
12524
|
+
} else if (O && typeof S == "string" && w === "[object Array]")
|
|
12525
12525
|
v = v.join(S), v && (v = this.extendTranslation(v, i, a, o));
|
|
12526
12526
|
else {
|
|
12527
12527
|
var L = !1, D = !1, M = a.count !== void 0 && typeof a.count != "string", W = n.hasDefaultValue(a), Z = M ? this.pluralResolver.getSuffix(p, a.count, a) : "", V = a["defaultValue".concat(Z)] || a.defaultValue;
|
|
@@ -12602,20 +12602,20 @@ var vL = {}, yL = function(e) {
|
|
|
12602
12602
|
a.isValidLookup(s) || (f = x, !vL["".concat(y[0], "-").concat(x)] && a.utils && a.utils.hasLoadedNamespace && !a.utils.hasLoadedNamespace(f) && (vL["".concat(y[0], "-").concat(x)] = !0, a.logger.warn('key "'.concat(l, '" for languages "').concat(y.join(", "), `" won't get resolved as namespace "`).concat(f, '" was not yet loaded'), "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), y.forEach(function(w) {
|
|
12603
12603
|
if (!a.isValidLookup(s)) {
|
|
12604
12604
|
c = w;
|
|
12605
|
-
var
|
|
12605
|
+
var k = [p];
|
|
12606
12606
|
if (a.i18nFormat && a.i18nFormat.addLookupKeys)
|
|
12607
|
-
a.i18nFormat.addLookupKeys(
|
|
12607
|
+
a.i18nFormat.addLookupKeys(k, p, w, x, o);
|
|
12608
12608
|
else {
|
|
12609
12609
|
var S;
|
|
12610
12610
|
g && (S = a.pluralResolver.getSuffix(w, o.count, o));
|
|
12611
|
-
var
|
|
12612
|
-
if (g && (
|
|
12613
|
-
var
|
|
12614
|
-
|
|
12611
|
+
var O = "".concat(a.options.pluralSeparator, "zero");
|
|
12612
|
+
if (g && (k.push(p + S), b && k.push(p + O)), v) {
|
|
12613
|
+
var _ = "".concat(p).concat(a.options.contextSeparator).concat(o.context);
|
|
12614
|
+
k.push(_), g && (k.push(_ + S), b && k.push(_ + O));
|
|
12615
12615
|
}
|
|
12616
12616
|
}
|
|
12617
|
-
for (var
|
|
12618
|
-
a.isValidLookup(s) || (u =
|
|
12617
|
+
for (var C; C = k.pop(); )
|
|
12618
|
+
a.isValidLookup(s) || (u = C, s = a.getResource(w, x, C, o));
|
|
12619
12619
|
}
|
|
12620
12620
|
}));
|
|
12621
12621
|
});
|
|
@@ -13869,7 +13869,7 @@ function Ole() {
|
|
|
13869
13869
|
semanticType: "quantitative",
|
|
13870
13870
|
aggName: "sum",
|
|
13871
13871
|
computed: !0,
|
|
13872
|
-
|
|
13872
|
+
expression: {
|
|
13873
13873
|
op: "one",
|
|
13874
13874
|
params: [],
|
|
13875
13875
|
as: yf
|
|
@@ -14235,7 +14235,7 @@ class Rj {
|
|
|
14235
14235
|
semanticType: "ordinal",
|
|
14236
14236
|
analyticType: "dimension",
|
|
14237
14237
|
computed: !0,
|
|
14238
|
-
|
|
14238
|
+
expression: {
|
|
14239
14239
|
op: r,
|
|
14240
14240
|
as: o,
|
|
14241
14241
|
params: [
|
|
@@ -14259,7 +14259,7 @@ class Rj {
|
|
|
14259
14259
|
analyticType: a.analyticType,
|
|
14260
14260
|
aggName: "sum",
|
|
14261
14261
|
computed: !0,
|
|
14262
|
-
|
|
14262
|
+
expression: {
|
|
14263
14263
|
op: r,
|
|
14264
14264
|
as: o,
|
|
14265
14265
|
params: [
|
|
@@ -14769,17 +14769,17 @@ const aue = ma(function(t) {
|
|
|
14769
14769
|
}, u ?? !1), g = fe(p);
|
|
14770
14770
|
g.current = p, Ne(() => {
|
|
14771
14771
|
if (p) {
|
|
14772
|
-
const
|
|
14772
|
+
const k = (S) => {
|
|
14773
14773
|
g.current && (S ? S instanceof KeyboardEvent && S.key === "Escape" ? o(null) : S instanceof MouseEvent && setTimeout(() => {
|
|
14774
14774
|
g.current && o(null);
|
|
14775
14775
|
}, 100) : o(null));
|
|
14776
14776
|
};
|
|
14777
|
-
return document.addEventListener("mousedown",
|
|
14778
|
-
document.removeEventListener("mousedown",
|
|
14777
|
+
return document.addEventListener("mousedown", k), document.addEventListener("keydown", k), () => {
|
|
14778
|
+
document.removeEventListener("mousedown", k), document.removeEventListener("keydown", k);
|
|
14779
14779
|
};
|
|
14780
14780
|
}
|
|
14781
14781
|
}, [o, p]);
|
|
14782
|
-
const b = c.find((
|
|
14782
|
+
const b = c.find((k) => k.key === f), v = b == null ? void 0 : b.icon, y = {
|
|
14783
14783
|
...i == null ? void 0 : i.icon,
|
|
14784
14784
|
...(w = r.styles) == null ? void 0 : w.icon
|
|
14785
14785
|
}, x = Al(n) === "dark";
|
|
@@ -14788,8 +14788,8 @@ const aue = ma(function(t) {
|
|
|
14788
14788
|
null,
|
|
14789
14789
|
E.createElement(
|
|
14790
14790
|
Ck,
|
|
14791
|
-
{ darkModePreference: n, props: kj(t, (
|
|
14792
|
-
b && (
|
|
14791
|
+
{ darkModePreference: n, props: kj(t, (k) => {
|
|
14792
|
+
b && (k.item.label = `${k.item.label}: ${b.label}`);
|
|
14793
14793
|
}), handlers: m, "aria-haspopup": "listbox" },
|
|
14794
14794
|
E.createElement(l, { style: y }),
|
|
14795
14795
|
v && E.createElement(v, { style: {
|
|
@@ -14807,19 +14807,19 @@ const aue = ma(function(t) {
|
|
|
14807
14807
|
p && E.createElement(
|
|
14808
14808
|
Aj,
|
|
14809
14809
|
{ target: `#${h}`, darkModePreference: n },
|
|
14810
|
-
E.createElement(uue, { dark: x, role: "listbox", "aria-activedescendant": `${h}::${f}`, "aria-describedby": h, "aria-disabled": u, onMouseDown: (
|
|
14811
|
-
const
|
|
14810
|
+
E.createElement(uue, { dark: x, role: "listbox", "aria-activedescendant": `${h}::${f}`, "aria-describedby": h, "aria-disabled": u, onMouseDown: (k) => k.stopPropagation() }, c.map((k, S, O) => {
|
|
14811
|
+
const _ = k.key === f, C = k.icon, I = `${h}::${f}`, R = O[(S + O.length - 1) % O.length], N = O[(S + 1) % O.length];
|
|
14812
14812
|
return E.createElement(
|
|
14813
14813
|
cue,
|
|
14814
|
-
{ dark: x, key:
|
|
14815
|
-
d(
|
|
14814
|
+
{ dark: x, key: k.key, id: I, role: "option", "aria-disabled": k.disabled ?? !1, "aria-selected": _, split: !1, tabIndex: 0, onClick: () => {
|
|
14815
|
+
d(k.key), o(null);
|
|
14816
14816
|
}, onKeyDown: (F) => {
|
|
14817
14817
|
F.key === "ArrowDown" ? d(N.key) : F.key === "ArrowUp" && d(R.key);
|
|
14818
14818
|
}, ref: (F) => {
|
|
14819
|
-
F &&
|
|
14819
|
+
F && _ && F.focus();
|
|
14820
14820
|
} },
|
|
14821
|
-
E.createElement(
|
|
14822
|
-
E.createElement("label", { className: "text-xs" },
|
|
14821
|
+
E.createElement(C, { style: i == null ? void 0 : i.icon }),
|
|
14822
|
+
E.createElement("label", { className: "text-xs" }, k.label)
|
|
14823
14823
|
);
|
|
14824
14824
|
}))
|
|
14825
14825
|
)
|
|
@@ -14857,30 +14857,30 @@ const pue = De.div`
|
|
|
14857
14857
|
y.current = a, Ne(() => {
|
|
14858
14858
|
const w = m == null ? void 0 : m.querySelector(`[${IL}="${s}"]`);
|
|
14859
14859
|
if (w) {
|
|
14860
|
-
let
|
|
14861
|
-
const
|
|
14862
|
-
for (const N of [
|
|
14860
|
+
let k = null, S = null, O = null;
|
|
14861
|
+
const _ = () => {
|
|
14862
|
+
for (const N of [k, S, O])
|
|
14863
14863
|
N && clearTimeout(N);
|
|
14864
|
-
},
|
|
14865
|
-
|
|
14864
|
+
}, C = () => {
|
|
14865
|
+
_(), k = setTimeout(() => {
|
|
14866
14866
|
const N = w.getBoundingClientRect();
|
|
14867
|
-
u([N.x + N.width / 2, N.y]), f(!0),
|
|
14867
|
+
u([N.x + N.width / 2, N.y]), f(!0), O = setTimeout(() => {
|
|
14868
14868
|
R();
|
|
14869
14869
|
}, b.current);
|
|
14870
14870
|
}, v.current);
|
|
14871
|
-
},
|
|
14872
|
-
for (const N of [S,
|
|
14871
|
+
}, I = () => {
|
|
14872
|
+
for (const N of [S, O])
|
|
14873
14873
|
N && clearTimeout(N);
|
|
14874
|
-
|
|
14874
|
+
O = setTimeout(() => {
|
|
14875
14875
|
R();
|
|
14876
14876
|
}, b.current);
|
|
14877
14877
|
}, R = () => {
|
|
14878
|
-
|
|
14878
|
+
_(), S = setTimeout(() => {
|
|
14879
14879
|
f(!1);
|
|
14880
14880
|
}, y.current);
|
|
14881
14881
|
};
|
|
14882
|
-
return w.addEventListener("mouseover",
|
|
14883
|
-
w.removeEventListener("mouseover",
|
|
14882
|
+
return w.addEventListener("mouseover", C), w.addEventListener("mousemove", I), w.addEventListener("mouseout", R), () => {
|
|
14883
|
+
w.removeEventListener("mouseover", C), w.removeEventListener("mousemove", I), w.removeEventListener("mouseout", R), O && clearTimeout(O);
|
|
14884
14884
|
};
|
|
14885
14885
|
}
|
|
14886
14886
|
}, [m, s]);
|
|
@@ -15070,255 +15070,258 @@ const NL = (e, t, n) => {
|
|
|
15070
15070
|
.dark {
|
|
15071
15071
|
color: #aaa;
|
|
15072
15072
|
}
|
|
15073
|
-
`, Oue = ({ rendererHandler: e, darkModePreference: t }) => {
|
|
15074
|
-
const { vizStore:
|
|
15075
|
-
var
|
|
15076
|
-
(
|
|
15077
|
-
}, 200), [e]),
|
|
15078
|
-
var
|
|
15079
|
-
(
|
|
15080
|
-
}, 200), [e]),
|
|
15081
|
-
|
|
15082
|
-
|
|
15083
|
-
|
|
15084
|
-
|
|
15085
|
-
E.
|
|
15086
|
-
|
|
15087
|
-
|
|
15088
|
-
|
|
15089
|
-
|
|
15090
|
-
|
|
15091
|
-
|
|
15092
|
-
|
|
15093
|
-
|
|
15094
|
-
|
|
15095
|
-
|
|
15096
|
-
|
|
15097
|
-
|
|
15098
|
-
|
|
15099
|
-
|
|
15100
|
-
|
|
15101
|
-
E.
|
|
15102
|
-
|
|
15103
|
-
|
|
15104
|
-
|
|
15105
|
-
|
|
15106
|
-
|
|
15107
|
-
|
|
15073
|
+
`, Oue = ({ rendererHandler: e, darkModePreference: t, extra: n = [], exclude: r = [] }) => {
|
|
15074
|
+
const { vizStore: i, commonStore: a } = ut(), { visualConfig: o, canUndo: s, canRedo: l } = i, { t: u } = xt(), { t: c } = xt("translation", { keyPrefix: "main.tabpanel.settings" }), { defaultAggregated: f, geoms: [d], stack: h, interactiveScale: p, size: { mode: m, width: g, height: b }, showActions: v } = o, y = fr(NL(() => {
|
|
15075
|
+
var S;
|
|
15076
|
+
(S = e == null ? void 0 : e.current) == null || S.downloadPNG();
|
|
15077
|
+
}, 200), [e]), x = fr(NL(() => {
|
|
15078
|
+
var S;
|
|
15079
|
+
(S = e == null ? void 0 : e.current) == null || S.downloadSVG();
|
|
15080
|
+
}, 200), [e]), w = Al(t) === "dark", k = be(() => {
|
|
15081
|
+
const O = [
|
|
15082
|
+
{
|
|
15083
|
+
key: "undo",
|
|
15084
|
+
label: "undo (Ctrl + Z)",
|
|
15085
|
+
icon: () => E.createElement(
|
|
15086
|
+
E.Fragment,
|
|
15087
|
+
null,
|
|
15088
|
+
E.createElement(Yoe, null),
|
|
15089
|
+
E.createElement(
|
|
15090
|
+
RL,
|
|
15091
|
+
{ "aria-hidden": !0 },
|
|
15092
|
+
E.createElement(jv, { label: "undo", disabled: !s, handler: i.undo.bind(i), shortcut: "Ctrl+Z" })
|
|
15093
|
+
)
|
|
15094
|
+
),
|
|
15095
|
+
onClick: () => i.undo(),
|
|
15096
|
+
disabled: !s
|
|
15097
|
+
},
|
|
15098
|
+
{
|
|
15099
|
+
key: "redo",
|
|
15100
|
+
label: "redo (Ctrl+Shift+Z)",
|
|
15101
|
+
icon: () => E.createElement(
|
|
15102
|
+
E.Fragment,
|
|
15103
|
+
null,
|
|
15104
|
+
E.createElement(Hoe, null),
|
|
15105
|
+
E.createElement(
|
|
15106
|
+
RL,
|
|
15107
|
+
{ "aria-hidden": !0 },
|
|
15108
|
+
E.createElement(jv, { label: "redo", disabled: !l, handler: i.redo.bind(i), shortcut: "Ctrl+Shift+Z" })
|
|
15109
|
+
)
|
|
15110
|
+
),
|
|
15111
|
+
onClick: () => i.redo(),
|
|
15112
|
+
disabled: !l
|
|
15113
|
+
},
|
|
15114
|
+
"-",
|
|
15115
|
+
{
|
|
15116
|
+
key: "aggregation",
|
|
15117
|
+
label: c("toggle.aggregation"),
|
|
15118
|
+
icon: ise,
|
|
15119
|
+
checked: f,
|
|
15120
|
+
onChange: (_) => {
|
|
15121
|
+
i.setVisualConfig("defaultAggregated", _);
|
|
15122
|
+
}
|
|
15123
|
+
},
|
|
15124
|
+
{
|
|
15125
|
+
key: "mark_type",
|
|
15126
|
+
label: u("constant.mark_type.__enum__"),
|
|
15127
|
+
icon: hse,
|
|
15128
|
+
styles: {
|
|
15129
|
+
icon: {
|
|
15130
|
+
color: "rgb(294,115,22)"
|
|
15131
|
+
}
|
|
15132
|
+
},
|
|
15133
|
+
options: wj.map((_) => ({
|
|
15134
|
+
key: _,
|
|
15135
|
+
label: u(`constant.mark_type.${_}`),
|
|
15136
|
+
icon: {
|
|
15137
|
+
auto: sse,
|
|
15138
|
+
bar: (C) => E.createElement(
|
|
15139
|
+
"svg",
|
|
15140
|
+
{ stroke: "currentColor", fill: "none", strokeWidth: "1.5", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", "aria-hidden": !0, ...C },
|
|
15141
|
+
E.createElement("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M9,4v16h6v-16Z" })
|
|
15142
|
+
),
|
|
15143
|
+
line: (C) => E.createElement(
|
|
15144
|
+
"svg",
|
|
15145
|
+
{ stroke: "currentColor", fill: "none", strokeWidth: "1.5", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", "aria-hidden": !0, ...C },
|
|
15146
|
+
E.createElement("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M5,6L19,18" })
|
|
15147
|
+
),
|
|
15148
|
+
area: (C) => E.createElement(
|
|
15149
|
+
"svg",
|
|
15150
|
+
{ stroke: "none", fill: "currentColor", strokeWidth: "1.5", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", "aria-hidden": !0, ...C },
|
|
15151
|
+
E.createElement("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M5,20v-17l14,4V20Z" })
|
|
15152
|
+
),
|
|
15153
|
+
trail: (C) => E.createElement(
|
|
15154
|
+
"svg",
|
|
15155
|
+
{ stroke: "none", fill: "currentColor", strokeWidth: "1.5", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", "aria-hidden": !0, ...C },
|
|
15156
|
+
E.createElement("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M5,6l7,4l7-2v2l-7,4l-7,-4z" })
|
|
15157
|
+
),
|
|
15158
|
+
point: (C) => E.createElement(
|
|
15159
|
+
"svg",
|
|
15160
|
+
{ stroke: "currentColor", fill: "none", strokeWidth: "1.5", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", "aria-hidden": !0, ...C },
|
|
15161
|
+
E.createElement("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M9,12 A3,3,0,0,1,16,12 A3,3,0,0,1,9,12" })
|
|
15162
|
+
),
|
|
15163
|
+
circle: (C) => E.createElement(
|
|
15164
|
+
"svg",
|
|
15165
|
+
{ stroke: "none", fill: "currentColor", strokeWidth: "1.5", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", "aria-hidden": !0, ...C },
|
|
15166
|
+
E.createElement("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M6,12 A6,6,0,0,1,18,12 A6,6,0,0,1,6,12" })
|
|
15167
|
+
),
|
|
15168
|
+
tick: (C) => E.createElement(
|
|
15169
|
+
"svg",
|
|
15170
|
+
{ stroke: "currentColor", fill: "none", strokeWidth: "1.5", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", "aria-hidden": !0, ...C },
|
|
15171
|
+
E.createElement("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M5,12h14" })
|
|
15172
|
+
),
|
|
15173
|
+
rect: (C) => E.createElement(
|
|
15174
|
+
"svg",
|
|
15175
|
+
{ stroke: "none", fill: "currentColor", strokeWidth: "1.5", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", "aria-hidden": !0, ...C },
|
|
15176
|
+
E.createElement("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M5,5v14h14v-14z" })
|
|
15177
|
+
),
|
|
15178
|
+
text: (C) => E.createElement(
|
|
15179
|
+
"svg",
|
|
15180
|
+
{ stroke: "currentColor", fill: "currentColor", strokeWidth: "1.5", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", "aria-hidden": !0, ...C },
|
|
15181
|
+
E.createElement("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M10.5 21l5.25-11.25L21 21m-9-3h7.5M3 5.621a48.474 48.474 0 016-.371m0 0c1.12 0 2.233.038 3.334.114M9 5.25V3m3.334 2.364C11.176 10.658 7.69 15.08 3 17.502m9.334-12.138c.896.061 1.785.147 2.666.257m-4.589 8.495a18.023 18.023 0 01-3.827-5.802" })
|
|
15182
|
+
),
|
|
15183
|
+
arc: (C) => E.createElement(
|
|
15184
|
+
"svg",
|
|
15185
|
+
{ stroke: "none", fill: "currentColor", strokeWidth: "1.5", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", "aria-hidden": !0, ...C },
|
|
15186
|
+
E.createElement("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M12,21l-9,-15a12,12,0,0,1,18,0Z" })
|
|
15187
|
+
),
|
|
15188
|
+
boxplot: (C) => E.createElement(
|
|
15189
|
+
"svg",
|
|
15190
|
+
{ stroke: "currentColor", fill: "none", strokeWidth: "1.5", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", "aria-hidden": !0, ...C },
|
|
15191
|
+
E.createElement("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M7,7v9h10v-9Zm0,4h8M12,7v-6m-3,0h6M12,16v7m-3,0h6" })
|
|
15192
|
+
),
|
|
15193
|
+
table: (C) => E.createElement(
|
|
15194
|
+
"svg",
|
|
15195
|
+
{ stroke: "currentColor", fill: "none", strokeWidth: "1.5", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", "aria-hidden": !0, ...C },
|
|
15196
|
+
E.createElement("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M3.375 19.5h17.25m-17.25 0a1.125 1.125 0 01-1.125-1.125M3.375 19.5h7.5c.621 0 1.125-.504 1.125-1.125m-9.75 0V5.625m0 12.75v-1.5c0-.621.504-1.125 1.125-1.125m18.375 2.625V5.625m0 12.75c0 .621-.504 1.125-1.125 1.125m1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125m0 3.75h-7.5A1.125 1.125 0 0112 18.375m9.75-12.75c0-.621-.504-1.125-1.125-1.125H3.375c-.621 0-1.125.504-1.125 1.125m19.5 0v1.5c0 .621-.504 1.125-1.125 1.125M2.25 5.625v1.5c0 .621.504 1.125 1.125 1.125m0 0h17.25m-17.25 0h7.5c.621 0 1.125.504 1.125 1.125M3.375 8.25c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125m17.25-3.75h-7.5c-.621 0-1.125.504-1.125 1.125m8.625-1.125c.621 0 1.125.504 1.125 1.125v1.5c0 .621-.504 1.125-1.125 1.125m-17.25 0h7.5m-7.5 0c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125M12 10.875v-1.5m0 1.5c0 .621-.504 1.125-1.125 1.125M12 10.875c0 .621.504 1.125 1.125 1.125m-2.25 0c.621 0 1.125.504 1.125 1.125M13.125 12h7.5m-7.5 0c-.621 0-1.125.504-1.125 1.125M20.625 12c.621 0 1.125.504 1.125 1.125v1.5c0 .621-.504 1.125-1.125 1.125m-17.25 0h7.5M12 14.625v-1.5m0 1.5c0 .621-.504 1.125-1.125 1.125M12 14.625c0 .621.504 1.125 1.125 1.125m-2.25 0c.621 0 1.125.504 1.125 1.125m0 1.5v-1.5m0 0c0-.621.504-1.125 1.125-1.125m0 0h7.5" })
|
|
15197
|
+
)
|
|
15198
|
+
}[_]
|
|
15199
|
+
})),
|
|
15200
|
+
value: d,
|
|
15201
|
+
onSelect: (_) => {
|
|
15202
|
+
i.setVisualConfig("geoms", [_]);
|
|
15203
|
+
}
|
|
15204
|
+
},
|
|
15205
|
+
{
|
|
15206
|
+
key: "stack_mode",
|
|
15207
|
+
label: u("constant.stack_mode.__enum__"),
|
|
15208
|
+
icon: dse,
|
|
15209
|
+
options: bse.map((_) => ({
|
|
15210
|
+
key: _,
|
|
15211
|
+
label: u(`constant.stack_mode.${_}`),
|
|
15212
|
+
icon: {
|
|
15213
|
+
none: xj,
|
|
15214
|
+
stack: ese,
|
|
15215
|
+
normalize: Koe
|
|
15216
|
+
}[_]
|
|
15217
|
+
})),
|
|
15218
|
+
value: h,
|
|
15219
|
+
onSelect: (_) => {
|
|
15220
|
+
i.setVisualConfig("stack", _);
|
|
15221
|
+
}
|
|
15222
|
+
},
|
|
15223
|
+
"-",
|
|
15224
|
+
{
|
|
15225
|
+
key: "transpose",
|
|
15226
|
+
label: c("button.transpose"),
|
|
15227
|
+
icon: Boe,
|
|
15228
|
+
onClick: () => i.transpose()
|
|
15229
|
+
},
|
|
15230
|
+
{
|
|
15231
|
+
key: "sort:asc",
|
|
15232
|
+
label: c("button.ascending"),
|
|
15233
|
+
icon: yj,
|
|
15234
|
+
onClick: () => i.applyDefaultSort("ascending")
|
|
15235
|
+
},
|
|
15236
|
+
{
|
|
15237
|
+
key: "sort:dec",
|
|
15238
|
+
label: c("button.descending"),
|
|
15239
|
+
icon: vj,
|
|
15240
|
+
onClick: () => i.applyDefaultSort("descending")
|
|
15241
|
+
},
|
|
15242
|
+
"-",
|
|
15243
|
+
{
|
|
15244
|
+
key: "axes_resize",
|
|
15245
|
+
label: c("toggle.axes_resize"),
|
|
15246
|
+
icon: zf,
|
|
15247
|
+
checked: p,
|
|
15248
|
+
onChange: (_) => {
|
|
15249
|
+
i.setVisualConfig("interactiveScale", _);
|
|
15250
|
+
}
|
|
15251
|
+
},
|
|
15252
|
+
{
|
|
15253
|
+
key: "scale",
|
|
15254
|
+
icon: Uoe,
|
|
15255
|
+
label: u("constant.layout_type.__enum__"),
|
|
15256
|
+
options: vse.map((_) => ({
|
|
15257
|
+
key: _,
|
|
15258
|
+
label: u(`constant.layout_type.${_}`),
|
|
15259
|
+
icon: _ === "auto" ? lse : use
|
|
15260
|
+
})),
|
|
15261
|
+
value: m,
|
|
15262
|
+
onSelect: (_) => {
|
|
15263
|
+
i.setChartLayout({ mode: _ });
|
|
15264
|
+
},
|
|
15265
|
+
form: E.createElement(
|
|
15266
|
+
TL,
|
|
15267
|
+
null,
|
|
15268
|
+
E.createElement(gse, { width: g, height: b, onHeightChange: (_) => {
|
|
15269
|
+
i.setChartLayout({
|
|
15270
|
+
mode: "fixed",
|
|
15271
|
+
height: _
|
|
15272
|
+
});
|
|
15273
|
+
}, onWidthChange: (_) => {
|
|
15274
|
+
i.setChartLayout({
|
|
15275
|
+
mode: "fixed",
|
|
15276
|
+
width: _
|
|
15277
|
+
});
|
|
15278
|
+
} })
|
|
15108
15279
|
)
|
|
15109
|
-
|
|
15110
|
-
|
|
15111
|
-
|
|
15112
|
-
|
|
15113
|
-
|
|
15114
|
-
|
|
15115
|
-
|
|
15116
|
-
|
|
15117
|
-
|
|
15118
|
-
checked: u,
|
|
15119
|
-
onChange: (w) => {
|
|
15120
|
-
n.setVisualConfig("defaultAggregated", w);
|
|
15121
|
-
}
|
|
15122
|
-
},
|
|
15123
|
-
{
|
|
15124
|
-
key: "mark_type",
|
|
15125
|
-
label: s("constant.mark_type.__enum__"),
|
|
15126
|
-
icon: hse,
|
|
15127
|
-
styles: {
|
|
15128
|
-
icon: {
|
|
15129
|
-
color: "rgb(294,115,22)"
|
|
15280
|
+
},
|
|
15281
|
+
"-",
|
|
15282
|
+
{
|
|
15283
|
+
key: "debug",
|
|
15284
|
+
label: c("toggle.debug"),
|
|
15285
|
+
icon: mse,
|
|
15286
|
+
checked: v,
|
|
15287
|
+
onChange: (_) => {
|
|
15288
|
+
i.setVisualConfig("showActions", _);
|
|
15130
15289
|
}
|
|
15131
15290
|
},
|
|
15132
|
-
|
|
15133
|
-
key:
|
|
15134
|
-
label:
|
|
15135
|
-
icon:
|
|
15136
|
-
|
|
15137
|
-
|
|
15138
|
-
|
|
15139
|
-
|
|
15140
|
-
|
|
15141
|
-
|
|
15142
|
-
line: (O) => E.createElement(
|
|
15143
|
-
"svg",
|
|
15144
|
-
{ stroke: "currentColor", fill: "none", strokeWidth: "1.5", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", "aria-hidden": !0, ...O },
|
|
15145
|
-
E.createElement("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M5,6L19,18" })
|
|
15146
|
-
),
|
|
15147
|
-
area: (O) => E.createElement(
|
|
15148
|
-
"svg",
|
|
15149
|
-
{ stroke: "none", fill: "currentColor", strokeWidth: "1.5", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", "aria-hidden": !0, ...O },
|
|
15150
|
-
E.createElement("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M5,20v-17l14,4V20Z" })
|
|
15151
|
-
),
|
|
15152
|
-
trail: (O) => E.createElement(
|
|
15153
|
-
"svg",
|
|
15154
|
-
{ stroke: "none", fill: "currentColor", strokeWidth: "1.5", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", "aria-hidden": !0, ...O },
|
|
15155
|
-
E.createElement("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M5,6l7,4l7-2v2l-7,4l-7,-4z" })
|
|
15156
|
-
),
|
|
15157
|
-
point: (O) => E.createElement(
|
|
15158
|
-
"svg",
|
|
15159
|
-
{ stroke: "currentColor", fill: "none", strokeWidth: "1.5", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", "aria-hidden": !0, ...O },
|
|
15160
|
-
E.createElement("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M9,12 A3,3,0,0,1,16,12 A3,3,0,0,1,9,12" })
|
|
15161
|
-
),
|
|
15162
|
-
circle: (O) => E.createElement(
|
|
15163
|
-
"svg",
|
|
15164
|
-
{ stroke: "none", fill: "currentColor", strokeWidth: "1.5", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", "aria-hidden": !0, ...O },
|
|
15165
|
-
E.createElement("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M6,12 A6,6,0,0,1,18,12 A6,6,0,0,1,6,12" })
|
|
15166
|
-
),
|
|
15167
|
-
tick: (O) => E.createElement(
|
|
15168
|
-
"svg",
|
|
15169
|
-
{ stroke: "currentColor", fill: "none", strokeWidth: "1.5", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", "aria-hidden": !0, ...O },
|
|
15170
|
-
E.createElement("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M5,12h14" })
|
|
15171
|
-
),
|
|
15172
|
-
rect: (O) => E.createElement(
|
|
15173
|
-
"svg",
|
|
15174
|
-
{ stroke: "none", fill: "currentColor", strokeWidth: "1.5", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", "aria-hidden": !0, ...O },
|
|
15175
|
-
E.createElement("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M5,5v14h14v-14z" })
|
|
15176
|
-
),
|
|
15177
|
-
text: (O) => E.createElement(
|
|
15178
|
-
"svg",
|
|
15179
|
-
{ stroke: "currentColor", fill: "currentColor", strokeWidth: "1.5", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", "aria-hidden": !0, ...O },
|
|
15180
|
-
E.createElement("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M10.5 21l5.25-11.25L21 21m-9-3h7.5M3 5.621a48.474 48.474 0 016-.371m0 0c1.12 0 2.233.038 3.334.114M9 5.25V3m3.334 2.364C11.176 10.658 7.69 15.08 3 17.502m9.334-12.138c.896.061 1.785.147 2.666.257m-4.589 8.495a18.023 18.023 0 01-3.827-5.802" })
|
|
15181
|
-
),
|
|
15182
|
-
arc: (O) => E.createElement(
|
|
15183
|
-
"svg",
|
|
15184
|
-
{ stroke: "none", fill: "currentColor", strokeWidth: "1.5", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", "aria-hidden": !0, ...O },
|
|
15185
|
-
E.createElement("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M12,21l-9,-15a12,12,0,0,1,18,0Z" })
|
|
15186
|
-
),
|
|
15187
|
-
boxplot: (O) => E.createElement(
|
|
15188
|
-
"svg",
|
|
15189
|
-
{ stroke: "currentColor", fill: "none", strokeWidth: "1.5", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", "aria-hidden": !0, ...O },
|
|
15190
|
-
E.createElement("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M7,7v9h10v-9Zm0,4h8M12,7v-6m-3,0h6M12,16v7m-3,0h6" })
|
|
15191
|
-
),
|
|
15192
|
-
table: (O) => E.createElement(
|
|
15193
|
-
"svg",
|
|
15194
|
-
{ stroke: "currentColor", fill: "none", strokeWidth: "1.5", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", "aria-hidden": !0, ...O },
|
|
15195
|
-
E.createElement("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M3.375 19.5h17.25m-17.25 0a1.125 1.125 0 01-1.125-1.125M3.375 19.5h7.5c.621 0 1.125-.504 1.125-1.125m-9.75 0V5.625m0 12.75v-1.5c0-.621.504-1.125 1.125-1.125m18.375 2.625V5.625m0 12.75c0 .621-.504 1.125-1.125 1.125m1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125m0 3.75h-7.5A1.125 1.125 0 0112 18.375m9.75-12.75c0-.621-.504-1.125-1.125-1.125H3.375c-.621 0-1.125.504-1.125 1.125m19.5 0v1.5c0 .621-.504 1.125-1.125 1.125M2.25 5.625v1.5c0 .621.504 1.125 1.125 1.125m0 0h17.25m-17.25 0h7.5c.621 0 1.125.504 1.125 1.125M3.375 8.25c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125m17.25-3.75h-7.5c-.621 0-1.125.504-1.125 1.125m8.625-1.125c.621 0 1.125.504 1.125 1.125v1.5c0 .621-.504 1.125-1.125 1.125m-17.25 0h7.5m-7.5 0c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125M12 10.875v-1.5m0 1.5c0 .621-.504 1.125-1.125 1.125M12 10.875c0 .621.504 1.125 1.125 1.125m-2.25 0c.621 0 1.125.504 1.125 1.125M13.125 12h7.5m-7.5 0c-.621 0-1.125.504-1.125 1.125M20.625 12c.621 0 1.125.504 1.125 1.125v1.5c0 .621-.504 1.125-1.125 1.125m-17.25 0h7.5M12 14.625v-1.5m0 1.5c0 .621-.504 1.125-1.125 1.125M12 14.625c0 .621.504 1.125 1.125 1.125m-2.25 0c.621 0 1.125.504 1.125 1.125m0 1.5v-1.5m0 0c0-.621.504-1.125 1.125-1.125m0 0h7.5" })
|
|
15196
|
-
)
|
|
15197
|
-
}[w]
|
|
15198
|
-
})),
|
|
15199
|
-
value: c,
|
|
15200
|
-
onSelect: (w) => {
|
|
15201
|
-
n.setVisualConfig("geoms", [w]);
|
|
15202
|
-
}
|
|
15203
|
-
},
|
|
15204
|
-
{
|
|
15205
|
-
key: "stack_mode",
|
|
15206
|
-
label: s("constant.stack_mode.__enum__"),
|
|
15207
|
-
icon: dse,
|
|
15208
|
-
options: bse.map((w) => ({
|
|
15209
|
-
key: w,
|
|
15210
|
-
label: s(`constant.stack_mode.${w}`),
|
|
15211
|
-
icon: {
|
|
15212
|
-
none: xj,
|
|
15213
|
-
stack: ese,
|
|
15214
|
-
normalize: Koe
|
|
15215
|
-
}[w]
|
|
15216
|
-
})),
|
|
15217
|
-
value: f,
|
|
15218
|
-
onSelect: (w) => {
|
|
15219
|
-
n.setVisualConfig("stack", w);
|
|
15220
|
-
}
|
|
15221
|
-
},
|
|
15222
|
-
"-",
|
|
15223
|
-
{
|
|
15224
|
-
key: "transpose",
|
|
15225
|
-
label: l("button.transpose"),
|
|
15226
|
-
icon: Boe,
|
|
15227
|
-
onClick: () => n.transpose()
|
|
15228
|
-
},
|
|
15229
|
-
{
|
|
15230
|
-
key: "sort:asc",
|
|
15231
|
-
label: l("button.ascending"),
|
|
15232
|
-
icon: yj,
|
|
15233
|
-
onClick: () => n.applyDefaultSort("ascending")
|
|
15234
|
-
},
|
|
15235
|
-
{
|
|
15236
|
-
key: "sort:dec",
|
|
15237
|
-
label: l("button.descending"),
|
|
15238
|
-
icon: vj,
|
|
15239
|
-
onClick: () => n.applyDefaultSort("descending")
|
|
15240
|
-
},
|
|
15241
|
-
"-",
|
|
15242
|
-
{
|
|
15243
|
-
key: "axes_resize",
|
|
15244
|
-
label: l("toggle.axes_resize"),
|
|
15245
|
-
icon: zf,
|
|
15246
|
-
checked: d,
|
|
15247
|
-
onChange: (w) => {
|
|
15248
|
-
n.setVisualConfig("interactiveScale", w);
|
|
15249
|
-
}
|
|
15250
|
-
},
|
|
15251
|
-
{
|
|
15252
|
-
key: "scale",
|
|
15253
|
-
icon: Uoe,
|
|
15254
|
-
label: s("constant.layout_type.__enum__"),
|
|
15255
|
-
options: vse.map((w) => ({
|
|
15256
|
-
key: w,
|
|
15257
|
-
label: s(`constant.layout_type.${w}`),
|
|
15258
|
-
icon: w === "auto" ? lse : use
|
|
15259
|
-
})),
|
|
15260
|
-
value: h,
|
|
15261
|
-
onSelect: (w) => {
|
|
15262
|
-
n.setChartLayout({ mode: w });
|
|
15291
|
+
{
|
|
15292
|
+
key: "export_chart",
|
|
15293
|
+
label: c("button.export_chart"),
|
|
15294
|
+
icon: fse,
|
|
15295
|
+
form: E.createElement(
|
|
15296
|
+
TL,
|
|
15297
|
+
{ className: w ? "dark" : "" },
|
|
15298
|
+
E.createElement("button", { className: `text-xs pt-1 pb-1 pl-6 pr-6 ${w ? "dark bg-zinc-900 text-gray-100 hover:bg-gray-700" : "bg-white hover:bg-gray-200 text-gray-800"}`, "aria-label": c("button.export_chart_as", { type: "png" }), onClick: () => y() }, c("button.export_chart_as", { type: "png" })),
|
|
15299
|
+
E.createElement("button", { className: `text-xs pt-1 pb-1 pl-6 pr-6 ${w ? "dark bg-zinc-900 text-gray-100 hover:bg-gray-700" : "bg-white hover:bg-gray-200 text-gray-800"}`, "aria-label": c("button.export_chart_as", { type: "svg" }), onClick: () => x() }, c("button.export_chart_as", { type: "svg" }))
|
|
15300
|
+
)
|
|
15263
15301
|
},
|
|
15264
|
-
|
|
15265
|
-
|
|
15266
|
-
|
|
15267
|
-
|
|
15268
|
-
|
|
15269
|
-
|
|
15270
|
-
|
|
15271
|
-
|
|
15272
|
-
|
|
15273
|
-
|
|
15274
|
-
|
|
15275
|
-
|
|
15276
|
-
|
|
15277
|
-
|
|
15278
|
-
|
|
15279
|
-
},
|
|
15280
|
-
"-",
|
|
15281
|
-
{
|
|
15282
|
-
key: "debug",
|
|
15283
|
-
label: l("toggle.debug"),
|
|
15284
|
-
icon: mse,
|
|
15285
|
-
checked: g,
|
|
15286
|
-
onChange: (w) => {
|
|
15287
|
-
n.setVisualConfig("showActions", w);
|
|
15288
|
-
}
|
|
15289
|
-
},
|
|
15290
|
-
{
|
|
15291
|
-
key: "export_chart",
|
|
15292
|
-
label: l("button.export_chart"),
|
|
15293
|
-
icon: fse,
|
|
15294
|
-
form: E.createElement(
|
|
15295
|
-
TL,
|
|
15296
|
-
{ className: y ? "dark" : "" },
|
|
15297
|
-
E.createElement("button", { className: `text-xs pt-1 pb-1 pl-6 pr-6 ${y ? "dark bg-zinc-900 text-gray-100 hover:bg-gray-700" : "bg-white hover:bg-gray-200 text-gray-800"}`, "aria-label": l("button.export_chart_as", { type: "png" }), onClick: () => b() }, l("button.export_chart_as", { type: "png" })),
|
|
15298
|
-
E.createElement("button", { className: `text-xs pt-1 pb-1 pl-6 pr-6 ${y ? "dark bg-zinc-900 text-gray-100 hover:bg-gray-700" : "bg-white hover:bg-gray-200 text-gray-800"}`, "aria-label": l("button.export_chart_as", { type: "svg" }), onClick: () => v() }, l("button.export_chart_as", { type: "svg" }))
|
|
15299
|
-
)
|
|
15300
|
-
},
|
|
15301
|
-
{
|
|
15302
|
-
key: "config",
|
|
15303
|
-
label: "config",
|
|
15304
|
-
icon: rse,
|
|
15305
|
-
onClick: () => {
|
|
15306
|
-
r.setShowVisualConfigPanel(!0);
|
|
15307
|
-
}
|
|
15308
|
-
},
|
|
15309
|
-
{
|
|
15310
|
-
key: "export_code",
|
|
15311
|
-
label: l("button.export_code"),
|
|
15312
|
-
icon: nse,
|
|
15313
|
-
onClick: () => {
|
|
15314
|
-
r.setShowCodeExportPanel(!0);
|
|
15302
|
+
{
|
|
15303
|
+
key: "config",
|
|
15304
|
+
label: "config",
|
|
15305
|
+
icon: rse,
|
|
15306
|
+
onClick: () => {
|
|
15307
|
+
a.setShowVisualConfigPanel(!0);
|
|
15308
|
+
}
|
|
15309
|
+
},
|
|
15310
|
+
{
|
|
15311
|
+
key: "export_code",
|
|
15312
|
+
label: c("button.export_code"),
|
|
15313
|
+
icon: nse,
|
|
15314
|
+
onClick: () => {
|
|
15315
|
+
a.setShowCodeExportPanel(!0);
|
|
15316
|
+
}
|
|
15315
15317
|
}
|
|
15316
|
-
|
|
15317
|
-
|
|
15318
|
+
].filter((_) => typeof _ == "string" || !r.includes(_.key));
|
|
15319
|
+
return n.length > 0 && O.push("-", ...n), O;
|
|
15320
|
+
}, [i, s, l, f, d, h, p, m, g, b, v, y, x, w, n, r]);
|
|
15318
15321
|
return E.createElement(
|
|
15319
15322
|
"div",
|
|
15320
15323
|
{ style: { margin: "0.38em 0.28em 0.2em 0.18em" } },
|
|
15321
|
-
E.createElement(Pj, { darkModePreference: t, items:
|
|
15324
|
+
E.createElement(Pj, { darkModePreference: t, items: k, styles: {
|
|
15322
15325
|
root: {
|
|
15323
15326
|
"--background-color": "#fff",
|
|
15324
15327
|
"--dark-background-color": "#000",
|
|
@@ -16087,27 +16090,27 @@ function lce(e, t) {
|
|
|
16087
16090
|
let d = br(t), [h = u ? [] : void 0, p] = Jj(n, a, r), [m, g] = L1(oce, { dataRef: CE(), listboxState: 1, options: [], searchQuery: "", labelId: null, activeOptionIndex: null, activationTrigger: 1 }), b = fe({ static: !1, hold: !1 }), v = fe(null), y = fe(null), x = fe(null), w = Ie(typeof o == "string" ? ($, H) => {
|
|
16088
16091
|
let K = o;
|
|
16089
16092
|
return ($ == null ? void 0 : $[K]) === (H == null ? void 0 : H[K]);
|
|
16090
|
-
} : o),
|
|
16093
|
+
} : o), k = fr(($) => Ht(S.mode, { [1]: () => h.some((H) => w(H, $)), [0]: () => w(h, $) }), [h]), S = be(() => ({ ...m, value: h, disabled: s, mode: u ? 1 : 0, orientation: f, compare: w, isSelected: k, optionsPropsRef: b, labelRef: v, buttonRef: y, optionsRef: x }), [h, s, u, m]);
|
|
16091
16094
|
Yt(() => {
|
|
16092
16095
|
m.dataRef.current = S;
|
|
16093
16096
|
}, [S]), Vj([S.buttonRef, S.optionsRef], ($, H) => {
|
|
16094
16097
|
var K;
|
|
16095
16098
|
g({ type: 1 }), U1(H, H1.Loose) || ($.preventDefault(), (K = S.buttonRef.current) == null || K.focus());
|
|
16096
16099
|
}, S.listboxState === 0);
|
|
16097
|
-
let
|
|
16100
|
+
let O = be(() => ({ open: S.listboxState === 0, disabled: s, value: h }), [S, s, h]), _ = Ie(($) => {
|
|
16098
16101
|
let H = S.options.find((K) => K.id === $);
|
|
16099
16102
|
H && L(H.dataRef.current.value);
|
|
16100
|
-
}),
|
|
16103
|
+
}), C = Ie(() => {
|
|
16101
16104
|
if (S.activeOptionIndex !== null) {
|
|
16102
16105
|
let { dataRef: $, id: H } = S.options[S.activeOptionIndex];
|
|
16103
16106
|
L($.current.value), g({ type: 2, focus: Nt.Specific, id: H });
|
|
16104
16107
|
}
|
|
16105
|
-
}),
|
|
16108
|
+
}), I = Ie(() => g({ type: 0 })), R = Ie(() => g({ type: 1 })), N = Ie(($, H, K) => $ === Nt.Specific ? g({ type: 2, focus: Nt.Specific, id: H, trigger: K }) : g({ type: 2, focus: $, trigger: K })), F = Ie(($, H) => (g({ type: 5, id: $, dataRef: H }), () => g({ type: 6, id: $ }))), T = Ie(($) => (g({ type: 7, id: $ }), () => g({ type: 7, id: null }))), L = Ie(($) => Ht(S.mode, { [0]() {
|
|
16106
16109
|
return p == null ? void 0 : p($);
|
|
16107
16110
|
}, [1]() {
|
|
16108
16111
|
let H = S.value.slice(), K = H.findIndex((q) => w(q, $));
|
|
16109
16112
|
return K === -1 ? H.push($) : H.splice(K, 1), p == null ? void 0 : p(H);
|
|
16110
|
-
} })), D = Ie(($) => g({ type: 3, value: $ })), M = Ie(() => g({ type: 4 })), W = be(() => ({ onChange: L, registerOption: F, registerLabel: T, goToOption: N, closeListbox: R, openListbox:
|
|
16113
|
+
} })), D = Ie(($) => g({ type: 3, value: $ })), M = Ie(() => g({ type: 4 })), W = be(() => ({ onChange: L, registerOption: F, registerLabel: T, goToOption: N, closeListbox: R, openListbox: I, selectActiveOption: C, selectOption: _, search: D, clearSearch: M }), []), Z = { ref: d }, V = fe(null), j = ss();
|
|
16111
16114
|
return Ne(() => {
|
|
16112
16115
|
V.current && r !== void 0 && j.addEventListener(V.current, "reset", () => {
|
|
16113
16116
|
L(r);
|
|
@@ -16115,7 +16118,7 @@ function lce(e, t) {
|
|
|
16115
16118
|
}, [V, L]), E.createElement(Lk.Provider, { value: W }, E.createElement(Dk.Provider, { value: S }, E.createElement(Fk, { value: Ht(S.listboxState, { [0]: _n.Open, [1]: _n.Closed }) }, i != null && h != null && Nk({ [i]: h }).map(([$, H], K) => E.createElement(Kj, { features: Rk.Hidden, ref: K === 0 ? (q) => {
|
|
16116
16119
|
var re;
|
|
16117
16120
|
V.current = (re = q == null ? void 0 : q.closest("form")) != null ? re : null;
|
|
16118
|
-
} : void 0, ...Vv({ key: $, as: "input", type: "hidden", hidden: !0, readOnly: !0, name: $, value: H }) })), qn({ ourProps: Z, theirProps: c, slot:
|
|
16121
|
+
} : void 0, ...Vv({ key: $, as: "input", type: "hidden", hidden: !0, readOnly: !0, name: $, value: H }) })), qn({ ourProps: Z, theirProps: c, slot: O, defaultTag: sce, name: "Listbox" }))));
|
|
16119
16122
|
}
|
|
16120
16123
|
let uce = "button";
|
|
16121
16124
|
function cce(e, t) {
|
|
@@ -16219,24 +16222,24 @@ function mce(e, t) {
|
|
|
16219
16222
|
let gce = "li";
|
|
16220
16223
|
function bce(e, t) {
|
|
16221
16224
|
let n = Sa(), { id: r = `headlessui-listbox-option-${n}`, disabled: i = !1, value: a, ...o } = e, s = Um("Listbox.Option"), l = Hm("Listbox.Option"), u = s.activeOptionIndex !== null ? s.options[s.activeOptionIndex].id === r : !1, c = s.isSelected(a), f = fe(null), d = qa({ disabled: i, value: a, domRef: f, get textValue() {
|
|
16222
|
-
var w,
|
|
16223
|
-
return (
|
|
16225
|
+
var w, k;
|
|
16226
|
+
return (k = (w = f.current) == null ? void 0 : w.textContent) == null ? void 0 : k.toLowerCase();
|
|
16224
16227
|
} }), h = br(t, f);
|
|
16225
16228
|
Yt(() => {
|
|
16226
16229
|
if (s.listboxState !== 0 || !u || s.activationTrigger === 0)
|
|
16227
16230
|
return;
|
|
16228
16231
|
let w = ga();
|
|
16229
16232
|
return w.requestAnimationFrame(() => {
|
|
16230
|
-
var
|
|
16231
|
-
(S = (
|
|
16233
|
+
var k, S;
|
|
16234
|
+
(S = (k = f.current) == null ? void 0 : k.scrollIntoView) == null || S.call(k, { block: "nearest" });
|
|
16232
16235
|
}), w.dispose;
|
|
16233
16236
|
}, [f, u, s.listboxState, s.activationTrigger, s.activeOptionIndex]), Yt(() => l.registerOption(r, d), [d, r]);
|
|
16234
16237
|
let p = Ie((w) => {
|
|
16235
16238
|
if (i)
|
|
16236
16239
|
return w.preventDefault();
|
|
16237
16240
|
l.onChange(a), s.mode === 0 && (l.closeListbox(), ga().nextFrame(() => {
|
|
16238
|
-
var
|
|
16239
|
-
return (
|
|
16241
|
+
var k;
|
|
16242
|
+
return (k = s.buttonRef.current) == null ? void 0 : k.focus({ preventScroll: !0 });
|
|
16240
16243
|
}));
|
|
16241
16244
|
}), m = Ie(() => {
|
|
16242
16245
|
if (i)
|
|
@@ -16402,8 +16405,8 @@ function Mce(e, t) {
|
|
|
16402
16405
|
return;
|
|
16403
16406
|
let x = ga();
|
|
16404
16407
|
return x.requestAnimationFrame(() => {
|
|
16405
|
-
var w,
|
|
16406
|
-
(
|
|
16408
|
+
var w, k;
|
|
16409
|
+
(k = (w = u.current) == null ? void 0 : w.scrollIntoView) == null || k.call(w, { block: "nearest" });
|
|
16407
16410
|
}), x.dispose;
|
|
16408
16411
|
}, [u, l, o.menuState, o.activationTrigger, o.activeItemIndex]);
|
|
16409
16412
|
let f = fe({ disabled: i, domRef: u });
|
|
@@ -16497,19 +16500,19 @@ function Uce(e, t) {
|
|
|
16497
16500
|
let n = Sa(), { id: r = `headlessui-radiogroup-${n}`, value: i, defaultValue: a, name: o, onChange: s, by: l = (M, W) => M === W, disabled: u = !1, ...c } = e, f = Ie(typeof l == "string" ? (M, W) => {
|
|
16498
16501
|
let Z = l;
|
|
16499
16502
|
return (M == null ? void 0 : M[Z]) === (W == null ? void 0 : W[Z]);
|
|
16500
|
-
} : l), [d, h] = L1(Yce, { options: [] }), p = d.options, [m, g] = oV(), [b, v] = nV(), y = fe(null), x = br(y, t), [w,
|
|
16503
|
+
} : l), [d, h] = L1(Yce, { options: [] }), p = d.options, [m, g] = oV(), [b, v] = nV(), y = fe(null), x = br(y, t), [w, k] = Jj(i, s, a), S = be(() => p.find((M) => !M.propsRef.current.disabled), [p]), O = be(() => p.some((M) => f(M.propsRef.current.value, w)), [p, w]), _ = Ie((M) => {
|
|
16501
16504
|
var W;
|
|
16502
16505
|
if (u || f(M, w))
|
|
16503
16506
|
return !1;
|
|
16504
16507
|
let Z = (W = p.find((V) => f(V.propsRef.current.value, M))) == null ? void 0 : W.propsRef.current;
|
|
16505
|
-
return Z != null && Z.disabled ? !1 : (
|
|
16508
|
+
return Z != null && Z.disabled ? !1 : (k == null || k(M), !0);
|
|
16506
16509
|
});
|
|
16507
16510
|
zj({ container: y.current, accept(M) {
|
|
16508
16511
|
return M.getAttribute("role") === "radio" ? NodeFilter.FILTER_REJECT : M.hasAttribute("role") ? NodeFilter.FILTER_SKIP : NodeFilter.FILTER_ACCEPT;
|
|
16509
16512
|
}, walk(M) {
|
|
16510
16513
|
M.setAttribute("role", "none");
|
|
16511
16514
|
} });
|
|
16512
|
-
let
|
|
16515
|
+
let C = Ie((M) => {
|
|
16513
16516
|
let W = y.current;
|
|
16514
16517
|
if (!W)
|
|
16515
16518
|
return;
|
|
@@ -16522,30 +16525,30 @@ function Uce(e, t) {
|
|
|
16522
16525
|
case Ze.ArrowUp:
|
|
16523
16526
|
if (M.preventDefault(), M.stopPropagation(), QE(V, Ru.Previous | Ru.WrapAround) === qE.Success) {
|
|
16524
16527
|
let j = p.find(($) => $.element.current === (Z == null ? void 0 : Z.activeElement));
|
|
16525
|
-
j &&
|
|
16528
|
+
j && _(j.propsRef.current.value);
|
|
16526
16529
|
}
|
|
16527
16530
|
break;
|
|
16528
16531
|
case Ze.ArrowRight:
|
|
16529
16532
|
case Ze.ArrowDown:
|
|
16530
16533
|
if (M.preventDefault(), M.stopPropagation(), QE(V, Ru.Next | Ru.WrapAround) === qE.Success) {
|
|
16531
16534
|
let j = p.find(($) => $.element.current === (Z == null ? void 0 : Z.activeElement));
|
|
16532
|
-
j &&
|
|
16535
|
+
j && _(j.propsRef.current.value);
|
|
16533
16536
|
}
|
|
16534
16537
|
break;
|
|
16535
16538
|
case Ze.Space:
|
|
16536
16539
|
{
|
|
16537
16540
|
M.preventDefault(), M.stopPropagation();
|
|
16538
16541
|
let j = p.find(($) => $.element.current === (Z == null ? void 0 : Z.activeElement));
|
|
16539
|
-
j &&
|
|
16542
|
+
j && _(j.propsRef.current.value);
|
|
16540
16543
|
}
|
|
16541
16544
|
break;
|
|
16542
16545
|
}
|
|
16543
|
-
}),
|
|
16546
|
+
}), I = Ie((M) => (h({ type: 0, ...M }), () => h({ type: 1, id: M.id }))), R = be(() => ({ value: w, firstOption: S, containsCheckedOption: O, disabled: u, compare: f, ...d }), [w, S, O, u, f, d]), N = be(() => ({ registerOption: I, change: _ }), [I, _]), F = { ref: x, id: r, role: "radiogroup", "aria-labelledby": m, "aria-describedby": b, onKeyDown: C }, T = be(() => ({ value: w }), [w]), L = fe(null), D = ss();
|
|
16544
16547
|
return Ne(() => {
|
|
16545
16548
|
L.current && a !== void 0 && D.addEventListener(L.current, "reset", () => {
|
|
16546
|
-
|
|
16549
|
+
_(a);
|
|
16547
16550
|
});
|
|
16548
|
-
}, [L,
|
|
16551
|
+
}, [L, _]), E.createElement(v, { name: "RadioGroup.Description" }, E.createElement(g, { name: "RadioGroup.Label" }, E.createElement(Pk.Provider, { value: N }, E.createElement(Mk.Provider, { value: R }, o != null && w != null && Nk({ [o]: w }).map(([M, W], Z) => E.createElement(Kj, { features: Rk.Hidden, ref: Z === 0 ? (V) => {
|
|
16549
16552
|
var j;
|
|
16550
16553
|
L.current = (j = V == null ? void 0 : V.closest("form")) != null ? j : null;
|
|
16551
16554
|
} : void 0, ...Vv({ key: M, as: "input", type: "radio", checked: W != null, hidden: !0, readOnly: !0, name: M, value: W }) })), qn({ ourProps: F, theirProps: c, slot: T, defaultTag: Hce, name: "RadioGroup" })))));
|
|
@@ -16565,8 +16568,8 @@ function qce(e, t) {
|
|
|
16565
16568
|
if ($v(R.currentTarget))
|
|
16566
16569
|
return R.preventDefault();
|
|
16567
16570
|
p(2);
|
|
16568
|
-
}),
|
|
16569
|
-
return E.createElement(h, { name: "RadioGroup.Description" }, E.createElement(f, { name: "RadioGroup.Label" }, qn({ ourProps:
|
|
16571
|
+
}), k = Ie(() => m(2)), S = ((n = v.firstOption) == null ? void 0 : n.id) === i, O = v.disabled || o, _ = v.compare(v.value, a), C = { ref: u, id: i, role: "radio", "aria-checked": _ ? "true" : "false", "aria-labelledby": c, "aria-describedby": d, "aria-disabled": O ? !0 : void 0, tabIndex: (() => O ? -1 : _ || !v.containsCheckedOption && S ? 0 : -1)(), onClick: O ? void 0 : x, onFocus: O ? void 0 : w, onBlur: O ? void 0 : k }, I = be(() => ({ checked: _, disabled: O, active: g(2) }), [_, O, g]);
|
|
16572
|
+
return E.createElement(h, { name: "RadioGroup.Description" }, E.createElement(f, { name: "RadioGroup.Label" }, qn({ ourProps: C, theirProps: s, slot: I, defaultTag: Jce, name: "RadioGroup.Option" })));
|
|
16570
16573
|
}
|
|
16571
16574
|
let Qce = Fn(Uce), efe = Fn(qce), u0 = Object.assign(Qce, { Option: efe, Label: zce, Description: ece });
|
|
16572
16575
|
function tfe(e) {
|
|
@@ -16688,43 +16691,43 @@ function cfe(e) {
|
|
|
16688
16691
|
}
|
|
16689
16692
|
let ffe = "div", cV = Hf.RenderStrategy;
|
|
16690
16693
|
function dfe(e, t) {
|
|
16691
|
-
let { beforeEnter: n, afterEnter: r, beforeLeave: i, afterLeave: a, enter: o, enterFrom: s, enterTo: l, entered: u, leave: c, leaveFrom: f, leaveTo: d, ...h } = e, p = fe(null), m = br(p, t), g = h.unmount ? Bo.Unmount : Bo.Hidden, { show: b, appear: v, initial: y } = ofe(), [x, w] = Fe(b ? "visible" : "hidden"),
|
|
16694
|
+
let { beforeEnter: n, afterEnter: r, beforeLeave: i, afterLeave: a, enter: o, enterFrom: s, enterTo: l, entered: u, leave: c, leaveFrom: f, leaveTo: d, ...h } = e, p = fe(null), m = br(p, t), g = h.unmount ? Bo.Unmount : Bo.Hidden, { show: b, appear: v, initial: y } = ofe(), [x, w] = Fe(b ? "visible" : "hidden"), k = sfe(), { register: S, unregister: O } = k, _ = fe(null);
|
|
16692
16695
|
Ne(() => S(p), [S, p]), Ne(() => {
|
|
16693
16696
|
if (g === Bo.Hidden && p.current) {
|
|
16694
16697
|
if (b && x !== "visible") {
|
|
16695
16698
|
w("visible");
|
|
16696
16699
|
return;
|
|
16697
16700
|
}
|
|
16698
|
-
return Ht(x, { hidden: () =>
|
|
16701
|
+
return Ht(x, { hidden: () => O(p), visible: () => S(p) });
|
|
16699
16702
|
}
|
|
16700
|
-
}, [x, p, S,
|
|
16701
|
-
let
|
|
16703
|
+
}, [x, p, S, O, b, g]);
|
|
16704
|
+
let C = qa({ enter: nu(o), enterFrom: nu(s), enterTo: nu(l), entered: nu(u), leave: nu(c), leaveFrom: nu(f), leaveTo: nu(d) }), I = cfe({ beforeEnter: n, afterEnter: r, beforeLeave: i, afterLeave: a }), R = Ik();
|
|
16702
16705
|
Ne(() => {
|
|
16703
16706
|
if (R && x === "visible" && p.current === null)
|
|
16704
16707
|
throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?");
|
|
16705
16708
|
}, [p, x, R]);
|
|
16706
|
-
let N = y && !v, F = (() => !R || N ||
|
|
16707
|
-
T.addFlag(_n.Opening),
|
|
16709
|
+
let N = y && !v, F = (() => !R || N || _.current === b ? "idle" : b ? "enter" : "leave")(), T = rV(0), L = Ie((V) => Ht(V, { enter: () => {
|
|
16710
|
+
T.addFlag(_n.Opening), I.current.beforeEnter();
|
|
16708
16711
|
}, leave: () => {
|
|
16709
|
-
T.addFlag(_n.Closing),
|
|
16712
|
+
T.addFlag(_n.Closing), I.current.beforeLeave();
|
|
16710
16713
|
}, idle: () => {
|
|
16711
16714
|
} })), D = Ie((V) => Ht(V, { enter: () => {
|
|
16712
|
-
T.removeFlag(_n.Opening),
|
|
16715
|
+
T.removeFlag(_n.Opening), I.current.afterEnter();
|
|
16713
16716
|
}, leave: () => {
|
|
16714
|
-
T.removeFlag(_n.Closing),
|
|
16717
|
+
T.removeFlag(_n.Closing), I.current.afterLeave();
|
|
16715
16718
|
}, idle: () => {
|
|
16716
16719
|
} })), M = uV(() => {
|
|
16717
|
-
w("hidden"),
|
|
16718
|
-
},
|
|
16719
|
-
ife({ container: p, classes:
|
|
16720
|
+
w("hidden"), O(p);
|
|
16721
|
+
}, k);
|
|
16722
|
+
ife({ container: p, classes: C, direction: F, onStart: qa((V) => {
|
|
16720
16723
|
M.onStart(p, V, L);
|
|
16721
16724
|
}), onStop: qa((V) => {
|
|
16722
|
-
M.onStop(p, V, D), V === "leave" && !tx(M) && (w("hidden"),
|
|
16725
|
+
M.onStop(p, V, D), V === "leave" && !tx(M) && (w("hidden"), O(p));
|
|
16723
16726
|
}) }), Ne(() => {
|
|
16724
|
-
N && (g === Bo.Hidden ?
|
|
16727
|
+
N && (g === Bo.Hidden ? _.current = null : _.current = b);
|
|
16725
16728
|
}, [b, N, x]);
|
|
16726
16729
|
let W = h, Z = { ref: m };
|
|
16727
|
-
return v && b && Qs.isServer && (W = { ...W, className: Bj(h.className, ...
|
|
16730
|
+
return v && b && Qs.isServer && (W = { ...W, className: Bj(h.className, ...C.current.enter, ...C.current.enterFrom) }), E.createElement(ex.Provider, { value: M }, E.createElement(Fk, { value: Ht(x, { visible: _n.Open, hidden: _n.Closed }) | T.flags }, qn({ ourProps: Z, theirProps: W, defaultTag: ffe, features: cV, visible: x === "visible", name: "Transition.Child" })));
|
|
16728
16731
|
}
|
|
16729
16732
|
function hfe(e, t) {
|
|
16730
16733
|
let { show: n, appear: r = !1, unmount: i, ...a } = e, o = fe(null), s = br(o, t);
|
|
@@ -16994,7 +16997,7 @@ function Dfe() {
|
|
|
16994
16997
|
e && (window.URL || window.webkitURL).revokeObjectURL(e);
|
|
16995
16998
|
}
|
|
16996
16999
|
}
|
|
16997
|
-
const pV = "KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO2Z1bmN0aW9uIGgodCxvLGUpe2NvbnN0e29wOm4scGFyYW1zOnN9PXQscj17Li4ub30sbD1vW09iamVjdC5rZXlzKG8pWzBdXS5sZW5ndGg7Zm9yKGxldCBhIG9mIHMpc3dpdGNoKGEudHlwZSl7Y2FzZSJmaWVsZCI6clthLnZhbHVlXT1vW2EudmFsdWVdO2JyZWFrO2Nhc2UiY29uc3RhbnQiOnJbYS52YWx1ZV09bmV3IEFycmF5KGwpLmZpbGwoYS52YWx1ZSk7YnJlYWs7Y2FzZSJleHByZXNzaW9uIjpsZXQgdT1oKGEudmFsdWUsbyk7T2JqZWN0LmtleXModSkuZm9yRWFjaChjPT57cltjXT11W2NdfSk7YnJlYWt9c3dpdGNoKG4pe2Nhc2Uib25lIjpyZXR1cm4gYih0LmFzLHMscik7Y2FzZSJiaW4iOnJldHVybiBnKHQuYXMscyxyKTtjYXNlImxvZzIiOnJldHVybiB2KHQuYXMscyxyKTtjYXNlImxvZzEwIjpyZXR1cm4gbSh0LmFzLHMscik7Y2FzZSJiaW5Db3VudCI6cmV0dXJuIHAodC5hcyxzLHIpO2RlZmF1bHQ6cmV0dXJuIHJ9fWZ1bmN0aW9uIGcodCxvLGUsbj0xMCl7Y29uc3R7dmFsdWU6c309b1swXSxyPWVbc107bGV0IGw9MS8wLGE9LTEvMDtmb3IobGV0IGQ9MDtkPHIubGVuZ3RoO2QrKyl7bGV0IGY9cltkXTtmPmEmJihhPWYpLGY8bCYmKGw9Zil9Y29uc3QgdT0oYS1sKS9uLGM9TWF0aC5tYXgoLU1hdGgucm91bmQoTWF0aC5sb2cxMChhLWwpKSsyLDApLGk9ci5tYXAoZD0+e2xldCBmPU1hdGguZmxvb3IoKGQtbCkvdSk7cmV0dXJuIGY9PT1uJiYoZj1uLTEpLE51bWJlcigoZip1K2wpLnRvRml4ZWQoYykpfSk7cmV0dXJuey4uLmUsW3RdOml9fWZ1bmN0aW9uIHAodCxvLGUsbj0xMCl7Y29uc3R7dmFsdWU6c309b1swXSxsPWVbc10ubWFwKChjLGkpPT4oe3ZhbDpjLGluZGV4Oml9KSkuc29ydCgoYyxpKT0+Yy52YWwtaS52YWwpLm1hcCgoYyxpKT0+KHt2YWw6Yy52YWwsaW5kZXg6Yy5pbmRleCxvcmRlckluZGV4Oml9KSksYT1sLmxlbmd0aC9uLHU9bC5tYXAoYz0+e2xldCBpPU1hdGguZmxvb3IoYy5vcmRlckluZGV4L2EpO3JldHVybiBpPT09biYmKGk9bi0xKSxpKzF9KTtyZXR1cm57Li4uZSxbdF06dX19ZnVuY3Rpb24gdih0LG8sZSl7Y29uc3R7dmFsdWU6bn09b1swXSxyPWVbbl0ubWFwKGw9Pk1hdGgubG9nMihsKSk7cmV0dXJuey4uLmUsW3RdOnJ9fWZ1bmN0aW9uIG0odCxvLGUpe2NvbnN0e3ZhbHVlOm59PW9bMF0scj1lW25dLm1hcChsPT5NYXRoLmxvZzEwKGwpKTtyZXR1cm57Li4uZSxbdF06cn19ZnVuY3Rpb24gYih0LG8sZSl7aWYoT2JqZWN0LmtleXMoZSkubGVuZ3RoPT09MClyZXR1cm4gZTtjb25zdCBuPWVbT2JqZWN0LmtleXMoZSlbMF1dLmxlbmd0aCxzPW5ldyBBcnJheShuKS5maWxsKDEpO3JldHVybnsuLi5lLFt0XTpzfX1mdW5jdGlvbiB5KHQsbyl7Y29uc3QgZT17fTtyZXR1cm4gby5mb3JFYWNoKG49PntlW24uZmlkXT10Lm1hcChzPT5zW24uZmlkXSl9KSxlfWZ1bmN0aW9uIHcodCxvKXtpZihvLmxlbmd0aD09PTApcmV0dXJuW107Y29uc3QgZT1bXSxuPXRbT2JqZWN0LmtleXModClbMF1dLmxlbmd0aDtmb3IobGV0IHM9MDtzPG47cysrKXtjb25zdCByPXt9O28uZm9yRWFjaChsPT57cltsLmZpZF09dFtsLmZpZF1bc119KSxlLnB1c2gocil9cmV0dXJuIGV9ZnVuY3Rpb24geCh0LG8pe2NvbnN0IGU9by5maWx0ZXIocz0+
|
|
17000
|
+
const pV = "KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO2Z1bmN0aW9uIGgodCxvLGUpe2NvbnN0e29wOm4scGFyYW1zOnN9PXQscj17Li4ub30sbD1vW09iamVjdC5rZXlzKG8pWzBdXS5sZW5ndGg7Zm9yKGxldCBhIG9mIHMpc3dpdGNoKGEudHlwZSl7Y2FzZSJmaWVsZCI6clthLnZhbHVlXT1vW2EudmFsdWVdO2JyZWFrO2Nhc2UiY29uc3RhbnQiOnJbYS52YWx1ZV09bmV3IEFycmF5KGwpLmZpbGwoYS52YWx1ZSk7YnJlYWs7Y2FzZSJleHByZXNzaW9uIjpsZXQgdT1oKGEudmFsdWUsbyk7T2JqZWN0LmtleXModSkuZm9yRWFjaChjPT57cltjXT11W2NdfSk7YnJlYWt9c3dpdGNoKG4pe2Nhc2Uib25lIjpyZXR1cm4gYih0LmFzLHMscik7Y2FzZSJiaW4iOnJldHVybiBnKHQuYXMscyxyKTtjYXNlImxvZzIiOnJldHVybiB2KHQuYXMscyxyKTtjYXNlImxvZzEwIjpyZXR1cm4gbSh0LmFzLHMscik7Y2FzZSJiaW5Db3VudCI6cmV0dXJuIHAodC5hcyxzLHIpO2RlZmF1bHQ6cmV0dXJuIHJ9fWZ1bmN0aW9uIGcodCxvLGUsbj0xMCl7Y29uc3R7dmFsdWU6c309b1swXSxyPWVbc107bGV0IGw9MS8wLGE9LTEvMDtmb3IobGV0IGQ9MDtkPHIubGVuZ3RoO2QrKyl7bGV0IGY9cltkXTtmPmEmJihhPWYpLGY8bCYmKGw9Zil9Y29uc3QgdT0oYS1sKS9uLGM9TWF0aC5tYXgoLU1hdGgucm91bmQoTWF0aC5sb2cxMChhLWwpKSsyLDApLGk9ci5tYXAoZD0+e2xldCBmPU1hdGguZmxvb3IoKGQtbCkvdSk7cmV0dXJuIGY9PT1uJiYoZj1uLTEpLE51bWJlcigoZip1K2wpLnRvRml4ZWQoYykpfSk7cmV0dXJuey4uLmUsW3RdOml9fWZ1bmN0aW9uIHAodCxvLGUsbj0xMCl7Y29uc3R7dmFsdWU6c309b1swXSxsPWVbc10ubWFwKChjLGkpPT4oe3ZhbDpjLGluZGV4Oml9KSkuc29ydCgoYyxpKT0+Yy52YWwtaS52YWwpLm1hcCgoYyxpKT0+KHt2YWw6Yy52YWwsaW5kZXg6Yy5pbmRleCxvcmRlckluZGV4Oml9KSksYT1sLmxlbmd0aC9uLHU9bC5tYXAoYz0+e2xldCBpPU1hdGguZmxvb3IoYy5vcmRlckluZGV4L2EpO3JldHVybiBpPT09biYmKGk9bi0xKSxpKzF9KTtyZXR1cm57Li4uZSxbdF06dX19ZnVuY3Rpb24gdih0LG8sZSl7Y29uc3R7dmFsdWU6bn09b1swXSxyPWVbbl0ubWFwKGw9Pk1hdGgubG9nMihsKSk7cmV0dXJuey4uLmUsW3RdOnJ9fWZ1bmN0aW9uIG0odCxvLGUpe2NvbnN0e3ZhbHVlOm59PW9bMF0scj1lW25dLm1hcChsPT5NYXRoLmxvZzEwKGwpKTtyZXR1cm57Li4uZSxbdF06cn19ZnVuY3Rpb24gYih0LG8sZSl7aWYoT2JqZWN0LmtleXMoZSkubGVuZ3RoPT09MClyZXR1cm4gZTtjb25zdCBuPWVbT2JqZWN0LmtleXMoZSlbMF1dLmxlbmd0aCxzPW5ldyBBcnJheShuKS5maWxsKDEpO3JldHVybnsuLi5lLFt0XTpzfX1mdW5jdGlvbiB5KHQsbyl7Y29uc3QgZT17fTtyZXR1cm4gby5mb3JFYWNoKG49PntlW24uZmlkXT10Lm1hcChzPT5zW24uZmlkXSl9KSxlfWZ1bmN0aW9uIHcodCxvKXtpZihvLmxlbmd0aD09PTApcmV0dXJuW107Y29uc3QgZT1bXSxuPXRbT2JqZWN0LmtleXModClbMF1dLmxlbmd0aDtmb3IobGV0IHM9MDtzPG47cysrKXtjb25zdCByPXt9O28uZm9yRWFjaChsPT57cltsLmZpZF09dFtsLmZpZF1bc119KSxlLnB1c2gocil9cmV0dXJuIGV9ZnVuY3Rpb24geCh0LG8pe2NvbnN0IGU9by5maWx0ZXIocz0+cy5jb21wdXRlZCk7bGV0IG49eSh0LG8pO2ZvcihsZXQgcz0wO3M8ZS5sZW5ndGg7cysrKXtjb25zdCByPWVbc107bj1oKHIuZXhwcmVzc2lvbixuKX1yZXR1cm4gdyhuLG8pfWNvbnN0IE09dD0+e2NvbnN0e2RhdGFTb3VyY2U6byxjb2x1bW5zOmV9PXQuZGF0YTt0cnl7Y29uc3Qgbj14KG8sZSk7c2VsZi5wb3N0TWVzc2FnZShuKX1jYXRjaChuKXtzZWxmLnBvc3RNZXNzYWdlKHtlcnJvcjpuLm1lc3NhZ2V9KX19O3NlbGYuYWRkRXZlbnRMaXN0ZW5lcigibWVzc2FnZSIsTSwhMSl9KSgpOwovLyMgc291cmNlTWFwcGluZ1VSTD10cmFuc2Zvcm0ud29ya2VyLTkwZTRmNTA2LmpzLm1hcAo=", PL = typeof window < "u" && window.Blob && new Blob([atob(pV)], { type: "text/javascript;charset=utf-8" });
|
|
16998
17001
|
function Afe() {
|
|
16999
17002
|
const e = PL && (window.URL || window.webkitURL).createObjectURL(PL);
|
|
17000
17003
|
try {
|
|
@@ -17376,8 +17379,8 @@ var Wfe = globalThis && globalThis.__extends || function() {
|
|
|
17376
17379
|
}, t.prototype.calculateNewSizeFromAspectRatio = function(n, r, i, a) {
|
|
17377
17380
|
var o = this.props, s = o.lockAspectRatio, l = o.lockAspectRatioExtraHeight, u = o.lockAspectRatioExtraWidth, c = typeof a.width > "u" ? 10 : a.width, f = typeof i.width > "u" || i.width < 0 ? n : i.width, d = typeof a.height > "u" ? 10 : a.height, h = typeof i.height > "u" || i.height < 0 ? r : i.height, p = l || 0, m = u || 0;
|
|
17378
17381
|
if (s) {
|
|
17379
|
-
var g = (d - p) * this.ratio + m, b = (h - p) * this.ratio + m, v = (c - m) / this.ratio + p, y = (f - m) / this.ratio + p, x = Math.max(c, g), w = Math.min(f, b),
|
|
17380
|
-
n = f0(n, x, w), r = f0(r,
|
|
17382
|
+
var g = (d - p) * this.ratio + m, b = (h - p) * this.ratio + m, v = (c - m) / this.ratio + p, y = (f - m) / this.ratio + p, x = Math.max(c, g), w = Math.min(f, b), k = Math.max(d, v), S = Math.min(h, y);
|
|
17383
|
+
n = f0(n, x, w), r = f0(r, k, S);
|
|
17381
17384
|
} else
|
|
17382
17385
|
n = f0(n, c, f), r = f0(r, d, h);
|
|
17383
17386
|
return { newWidth: n, newHeight: r };
|
|
@@ -17441,19 +17444,19 @@ var Wfe = globalThis && globalThis.__extends || function() {
|
|
|
17441
17444
|
a = b.maxWidth, o = b.maxHeight, s = b.minWidth, l = b.minHeight;
|
|
17442
17445
|
var v = this.calculateNewSizeFromDirection(u, c), y = v.newHeight, x = v.newWidth, w = this.calculateNewMaxFromBoundary(a, o);
|
|
17443
17446
|
this.props.snap && this.props.snap.x && (x = VL(x, this.props.snap.x, this.props.snapGap)), this.props.snap && this.props.snap.y && (y = VL(y, this.props.snap.y, this.props.snapGap));
|
|
17444
|
-
var
|
|
17445
|
-
if (x =
|
|
17446
|
-
var S = jL(x, this.props.grid[0]),
|
|
17447
|
-
x =
|
|
17447
|
+
var k = this.calculateNewSizeFromAspectRatio(x, y, { width: w.maxWidth, height: w.maxHeight }, { width: s, height: l });
|
|
17448
|
+
if (x = k.newWidth, y = k.newHeight, this.props.grid) {
|
|
17449
|
+
var S = jL(x, this.props.grid[0]), O = jL(y, this.props.grid[1]), _ = this.props.snapGap || 0;
|
|
17450
|
+
x = _ === 0 || Math.abs(S - x) <= _ ? S : x, y = _ === 0 || Math.abs(O - y) <= _ ? O : y;
|
|
17448
17451
|
}
|
|
17449
|
-
var
|
|
17452
|
+
var C = {
|
|
17450
17453
|
width: x - h.width,
|
|
17451
17454
|
height: y - h.height
|
|
17452
17455
|
};
|
|
17453
17456
|
if (p && typeof p == "string") {
|
|
17454
17457
|
if (p.endsWith("%")) {
|
|
17455
|
-
var
|
|
17456
|
-
x =
|
|
17458
|
+
var I = x / g.width * 100;
|
|
17459
|
+
x = I + "%";
|
|
17457
17460
|
} else if (p.endsWith("vw")) {
|
|
17458
17461
|
var R = x / this.window.innerWidth * 100;
|
|
17459
17462
|
x = R + "vw";
|
|
@@ -17464,8 +17467,8 @@ var Wfe = globalThis && globalThis.__extends || function() {
|
|
|
17464
17467
|
}
|
|
17465
17468
|
if (m && typeof m == "string") {
|
|
17466
17469
|
if (m.endsWith("%")) {
|
|
17467
|
-
var
|
|
17468
|
-
y =
|
|
17470
|
+
var I = y / g.height * 100;
|
|
17471
|
+
y = I + "%";
|
|
17469
17472
|
} else if (m.endsWith("vw")) {
|
|
17470
17473
|
var R = y / this.window.innerWidth * 100;
|
|
17471
17474
|
y = R + "vw";
|
|
@@ -17480,7 +17483,7 @@ var Wfe = globalThis && globalThis.__extends || function() {
|
|
|
17480
17483
|
};
|
|
17481
17484
|
this.flexDir === "row" ? F.flexBasis = F.width : this.flexDir === "column" && (F.flexBasis = F.height), IK(function() {
|
|
17482
17485
|
r.setState(F);
|
|
17483
|
-
}), this.props.onResize && this.props.onResize(n, d, this.resizable,
|
|
17486
|
+
}), this.props.onResize && this.props.onResize(n, d, this.resizable, C);
|
|
17484
17487
|
}
|
|
17485
17488
|
}, t.prototype.onMouseUp = function(n) {
|
|
17486
17489
|
var r = this.state, i = r.isResizing, a = r.direction, o = r.original;
|
|
@@ -17965,8 +17968,8 @@ var cde = /("(?:[^\\"]|\\.)*")|[:,]/g, U2 = function(t, n) {
|
|
|
17965
17968
|
return x;
|
|
17966
17969
|
if (g = i - l.length - u, x.length <= g && (v = x.replace(
|
|
17967
17970
|
cde,
|
|
17968
|
-
function(
|
|
17969
|
-
return S ||
|
|
17971
|
+
function(k, S) {
|
|
17972
|
+
return S || k + " ";
|
|
17970
17973
|
}
|
|
17971
17974
|
), v.length <= g))
|
|
17972
17975
|
return v;
|
|
@@ -18480,20 +18483,20 @@ function _de(e) {
|
|
|
18480
18483
|
return K2;
|
|
18481
18484
|
if (y)
|
|
18482
18485
|
return y = !1, BL;
|
|
18483
|
-
var
|
|
18486
|
+
var k, S = m, O;
|
|
18484
18487
|
if (f.charCodeAt(S) === J2) {
|
|
18485
18488
|
for (; m++ < p && f.charCodeAt(m) !== J2 || f.charCodeAt(++m) === J2; )
|
|
18486
18489
|
;
|
|
18487
|
-
return (
|
|
18490
|
+
return (k = m) >= p ? v = !0 : (O = f.charCodeAt(m++)) === mh ? y = !0 : O === q2 && (y = !0, f.charCodeAt(m) === mh && ++m), f.slice(S + 1, k - 1).replace(/""/g, '"');
|
|
18488
18491
|
}
|
|
18489
18492
|
for (; m < p; ) {
|
|
18490
|
-
if ((
|
|
18493
|
+
if ((O = f.charCodeAt(k = m++)) === mh)
|
|
18491
18494
|
y = !0;
|
|
18492
|
-
else if (
|
|
18495
|
+
else if (O === q2)
|
|
18493
18496
|
y = !0, f.charCodeAt(m) === mh && ++m;
|
|
18494
|
-
else if (
|
|
18497
|
+
else if (O !== n)
|
|
18495
18498
|
continue;
|
|
18496
|
-
return f.slice(S,
|
|
18499
|
+
return f.slice(S, k);
|
|
18497
18500
|
}
|
|
18498
18501
|
return v = !0, f.slice(S, p);
|
|
18499
18502
|
}
|
|
@@ -19135,44 +19138,44 @@ function r4(e) {
|
|
|
19135
19138
|
f = qu(f);
|
|
19136
19139
|
var d = f.fill, h = f.align, p = f.sign, m = f.symbol, g = f.zero, b = f.width, v = f.comma, y = f.precision, x = f.trim, w = f.type;
|
|
19137
19140
|
w === "n" ? (v = !0, w = "g") : JL[w] || (y === void 0 && (y = 12), x = !0, w = "g"), (g || d === "0" && h === "=") && (g = !0, d = "0", h = "=");
|
|
19138
|
-
var
|
|
19141
|
+
var k = m === "$" ? n : m === "#" && /[boxX]/.test(w) ? "0" + w.toLowerCase() : "", S = m === "$" ? r : /[%p]/.test(w) ? o : "", O = JL[w], _ = /[defgprs%]/.test(w);
|
|
19139
19142
|
y = y === void 0 ? 6 : /[gprs]/.test(w) ? Math.max(1, Math.min(21, y)) : Math.max(0, Math.min(20, y));
|
|
19140
|
-
function I
|
|
19141
|
-
var R =
|
|
19143
|
+
function C(I) {
|
|
19144
|
+
var R = k, N = S, F, T, L;
|
|
19142
19145
|
if (w === "c")
|
|
19143
|
-
N =
|
|
19146
|
+
N = O(I) + N, I = "";
|
|
19144
19147
|
else {
|
|
19145
|
-
|
|
19146
|
-
var D =
|
|
19147
|
-
if (
|
|
19148
|
-
for (F = -1, T =
|
|
19149
|
-
if (L =
|
|
19150
|
-
N = (L === 46 ? i +
|
|
19148
|
+
I = +I;
|
|
19149
|
+
var D = I < 0 || 1 / I < 0;
|
|
19150
|
+
if (I = isNaN(I) ? l : O(Math.abs(I), y), x && (I = Jde(I)), D && +I == 0 && p !== "+" && (D = !1), R = (D ? p === "(" ? p : s : p === "-" || p === "(" ? "" : p) + R, N = (w === "s" ? eD[8 + n4 / 3] : "") + N + (D && p === "(" ? ")" : ""), _) {
|
|
19151
|
+
for (F = -1, T = I.length; ++F < T; )
|
|
19152
|
+
if (L = I.charCodeAt(F), 48 > L || L > 57) {
|
|
19153
|
+
N = (L === 46 ? i + I.slice(F + 1) : I.slice(F)) + N, I = I.slice(0, F);
|
|
19151
19154
|
break;
|
|
19152
19155
|
}
|
|
19153
19156
|
}
|
|
19154
19157
|
}
|
|
19155
|
-
v && !g && (
|
|
19156
|
-
var M = R.length +
|
|
19157
|
-
switch (v && g && (
|
|
19158
|
+
v && !g && (I = t(I, 1 / 0));
|
|
19159
|
+
var M = R.length + I.length + N.length, W = M < b ? new Array(b - M + 1).join(d) : "";
|
|
19160
|
+
switch (v && g && (I = t(W + I, W.length ? b - N.length : 1 / 0), W = ""), h) {
|
|
19158
19161
|
case "<":
|
|
19159
|
-
|
|
19162
|
+
I = R + I + N + W;
|
|
19160
19163
|
break;
|
|
19161
19164
|
case "=":
|
|
19162
|
-
|
|
19165
|
+
I = R + W + I + N;
|
|
19163
19166
|
break;
|
|
19164
19167
|
case "^":
|
|
19165
|
-
|
|
19168
|
+
I = W.slice(0, M = W.length >> 1) + R + I + N + W.slice(M);
|
|
19166
19169
|
break;
|
|
19167
19170
|
default:
|
|
19168
|
-
|
|
19171
|
+
I = W + R + I + N;
|
|
19169
19172
|
break;
|
|
19170
19173
|
}
|
|
19171
|
-
return a(
|
|
19174
|
+
return a(I);
|
|
19172
19175
|
}
|
|
19173
|
-
return
|
|
19176
|
+
return C.toString = function() {
|
|
19174
19177
|
return f + "";
|
|
19175
|
-
},
|
|
19178
|
+
}, C;
|
|
19176
19179
|
}
|
|
19177
19180
|
function c(f, d) {
|
|
19178
19181
|
var h = u((f = qu(f), f.type = "f", f)), p = Math.max(-8, Math.min(8, Math.floor(Uf(d) / 3))) * 3, m = Math.pow(10, -p), g = eD[8 + p / 3];
|
|
@@ -19679,8 +19682,8 @@ function I4(e) {
|
|
|
19679
19682
|
Z: Epe,
|
|
19680
19683
|
"%": fD
|
|
19681
19684
|
}, w = {
|
|
19682
|
-
a:
|
|
19683
|
-
A:
|
|
19685
|
+
a: C,
|
|
19686
|
+
A: I,
|
|
19684
19687
|
b: R,
|
|
19685
19688
|
B: N,
|
|
19686
19689
|
c: F,
|
|
@@ -19695,7 +19698,7 @@ function I4(e) {
|
|
|
19695
19698
|
L: Ghe,
|
|
19696
19699
|
m: Ahe,
|
|
19697
19700
|
M: Phe,
|
|
19698
|
-
p:
|
|
19701
|
+
p: _,
|
|
19699
19702
|
q: Dhe,
|
|
19700
19703
|
Q: Vhe,
|
|
19701
19704
|
s: $he,
|
|
@@ -19712,8 +19715,8 @@ function I4(e) {
|
|
|
19712
19715
|
Z: Lhe,
|
|
19713
19716
|
"%": jhe
|
|
19714
19717
|
};
|
|
19715
|
-
y.x =
|
|
19716
|
-
function
|
|
19718
|
+
y.x = k(n, y), y.X = k(r, y), y.c = k(t, y), x.x = k(n, x), x.X = k(r, x), x.c = k(t, x);
|
|
19719
|
+
function k(P, X) {
|
|
19717
19720
|
return function(z) {
|
|
19718
19721
|
var A = [], ee = -1, oe = 0, ge = P.length, le, rt, Ue;
|
|
19719
19722
|
for (z instanceof Date || (z = new Date(+z)); ++ee < ge; )
|
|
@@ -19723,7 +19726,7 @@ function I4(e) {
|
|
|
19723
19726
|
}
|
|
19724
19727
|
function S(P, X) {
|
|
19725
19728
|
return function(z) {
|
|
19726
|
-
var A = vh(1900, void 0, 1), ee =
|
|
19729
|
+
var A = vh(1900, void 0, 1), ee = O(A, P, z += "", 0), oe, ge;
|
|
19727
19730
|
if (ee != z.length)
|
|
19728
19731
|
return null;
|
|
19729
19732
|
if ("Q" in A)
|
|
@@ -19739,7 +19742,7 @@ function I4(e) {
|
|
|
19739
19742
|
return "Z" in A ? (A.H += A.Z / 100 | 0, A.M += A.Z % 100, iS(A)) : rS(A);
|
|
19740
19743
|
};
|
|
19741
19744
|
}
|
|
19742
|
-
function
|
|
19745
|
+
function O(P, X, z, A) {
|
|
19743
19746
|
for (var ee = 0, oe = X.length, ge = z.length, le, rt; ee < oe; ) {
|
|
19744
19747
|
if (A >= ge)
|
|
19745
19748
|
return -1;
|
|
@@ -19751,15 +19754,15 @@ function I4(e) {
|
|
|
19751
19754
|
}
|
|
19752
19755
|
return A;
|
|
19753
19756
|
}
|
|
19754
|
-
function
|
|
19757
|
+
function _(P, X, z) {
|
|
19755
19758
|
var A = u.exec(X.slice(z));
|
|
19756
19759
|
return A ? (P.p = c.get(A[0].toLowerCase()), z + A[0].length) : -1;
|
|
19757
19760
|
}
|
|
19758
|
-
function
|
|
19761
|
+
function C(P, X, z) {
|
|
19759
19762
|
var A = h.exec(X.slice(z));
|
|
19760
19763
|
return A ? (P.w = p.get(A[0].toLowerCase()), z + A[0].length) : -1;
|
|
19761
19764
|
}
|
|
19762
|
-
function
|
|
19765
|
+
function I(P, X, z) {
|
|
19763
19766
|
var A = f.exec(X.slice(z));
|
|
19764
19767
|
return A ? (P.w = d.get(A[0].toLowerCase()), z + A[0].length) : -1;
|
|
19765
19768
|
}
|
|
@@ -19772,13 +19775,13 @@ function I4(e) {
|
|
|
19772
19775
|
return A ? (P.m = g.get(A[0].toLowerCase()), z + A[0].length) : -1;
|
|
19773
19776
|
}
|
|
19774
19777
|
function F(P, X, z) {
|
|
19775
|
-
return
|
|
19778
|
+
return O(P, t, X, z);
|
|
19776
19779
|
}
|
|
19777
19780
|
function T(P, X, z) {
|
|
19778
|
-
return
|
|
19781
|
+
return O(P, n, X, z);
|
|
19779
19782
|
}
|
|
19780
19783
|
function L(P, X, z) {
|
|
19781
|
-
return
|
|
19784
|
+
return O(P, r, X, z);
|
|
19782
19785
|
}
|
|
19783
19786
|
function D(P) {
|
|
19784
19787
|
return o[P.getDay()];
|
|
@@ -19818,7 +19821,7 @@ function I4(e) {
|
|
|
19818
19821
|
}
|
|
19819
19822
|
return {
|
|
19820
19823
|
format: function(P) {
|
|
19821
|
-
var X =
|
|
19824
|
+
var X = k(P += "", y);
|
|
19822
19825
|
return X.toString = function() {
|
|
19823
19826
|
return P;
|
|
19824
19827
|
}, X;
|
|
@@ -19830,7 +19833,7 @@ function I4(e) {
|
|
|
19830
19833
|
}, X;
|
|
19831
19834
|
},
|
|
19832
19835
|
utcFormat: function(P) {
|
|
19833
|
-
var X =
|
|
19836
|
+
var X = k(P += "", x);
|
|
19834
19837
|
return X.toString = function() {
|
|
19835
19838
|
return P;
|
|
19836
19839
|
}, X;
|
|
@@ -21865,11 +21868,11 @@ function NC(e, t, n) {
|
|
|
21865
21868
|
let l = 0, u = 0, c = 0, f = 0, d = 0, h, p, m, g;
|
|
21866
21869
|
for (h = 0; h < s; )
|
|
21867
21870
|
p = r[h], m = i[h++], g = p * p, l += (g - l) / h, u += (g * p - u) / h, c += (g * g - c) / h, f += (p * m - f) / h, d += (g * m - d) / h;
|
|
21868
|
-
const b = c - l * l, v = l * b - u * u, y = (d * l - f * u) / v, x = (f * b - d * u) / v, w = -y * l,
|
|
21871
|
+
const b = c - l * l, v = l * b - u * u, y = (d * l - f * u) / v, x = (f * b - d * u) / v, w = -y * l, k = (S) => (S = S - a, y * S * S + x * S + w + o);
|
|
21869
21872
|
return {
|
|
21870
21873
|
coef: [w - x * a + y * a * a + o, x - 2 * y * a, y],
|
|
21871
|
-
predict:
|
|
21872
|
-
rSquared: Bd(e, t, n, o,
|
|
21874
|
+
predict: k,
|
|
21875
|
+
rSquared: Bd(e, t, n, o, k)
|
|
21873
21876
|
};
|
|
21874
21877
|
}
|
|
21875
21878
|
function h$(e, t, n, r) {
|
|
@@ -21939,14 +21942,14 @@ function p$(e, t, n, r) {
|
|
|
21939
21942
|
const p = [0, u - 1];
|
|
21940
21943
|
for (let g = 0; g < l; ++g) {
|
|
21941
21944
|
const b = i[g], v = p[0], y = p[1], x = b - i[v] > i[y] - b ? v : y;
|
|
21942
|
-
let w = 0,
|
|
21943
|
-
const
|
|
21945
|
+
let w = 0, k = 0, S = 0, O = 0, _ = 0;
|
|
21946
|
+
const C = 1 / Math.abs(i[x] - b || 1);
|
|
21944
21947
|
for (let N = v; N <= y; ++N) {
|
|
21945
|
-
const F = i[N], T = a[N], L = Mme(Math.abs(b - F) *
|
|
21946
|
-
w += L,
|
|
21948
|
+
const F = i[N], T = a[N], L = Mme(Math.abs(b - F) * C) * d[N], D = F * L;
|
|
21949
|
+
w += L, k += D, S += T * L, O += T * D, _ += F * D;
|
|
21947
21950
|
}
|
|
21948
|
-
const [
|
|
21949
|
-
c[g] =
|
|
21951
|
+
const [I, R] = eg(k / w, S / w, O / w, _ / w);
|
|
21952
|
+
c[g] = I + R * b, f[g] = Math.abs(a[g] - c[g]), Pme(i, g + 1, p);
|
|
21950
21953
|
}
|
|
21951
21954
|
if (h === ED)
|
|
21952
21955
|
break;
|
|
@@ -24317,14 +24320,14 @@ function Pge(e, t, n, r, i, a, o, s) {
|
|
|
24317
24320
|
return d = (c * (t - a) - f * (e - i)) / d, [e + d * l, t + d * u];
|
|
24318
24321
|
}
|
|
24319
24322
|
function y0(e, t, n, r, i, a, o) {
|
|
24320
|
-
var s = e - n, l = t - r, u = (o ? a : -a) / Tu(s * s + l * l), c = u * l, f = -u * s, d = e + c, h = t + f, p = n + c, m = r + f, g = (d + p) / 2, b = (h + m) / 2, v = p - d, y = m - h, x = v * v + y * y, w = i - a,
|
|
24321
|
-
return R * R + N * N > F * F + T * T && (
|
|
24322
|
-
cx:
|
|
24323
|
-
cy:
|
|
24323
|
+
var s = e - n, l = t - r, u = (o ? a : -a) / Tu(s * s + l * l), c = u * l, f = -u * s, d = e + c, h = t + f, p = n + c, m = r + f, g = (d + p) / 2, b = (h + m) / 2, v = p - d, y = m - h, x = v * v + y * y, w = i - a, k = d * m - p * h, S = (y < 0 ? -1 : 1) * Tu(Ige(0, w * w * x - k * k)), O = (k * y - v * S) / x, _ = (-k * v - y * S) / x, C = (k * y + v * S) / x, I = (-k * v + y * S) / x, R = O - g, N = _ - b, F = C - g, T = I - b;
|
|
24324
|
+
return R * R + N * N > F * F + T * T && (O = C, _ = I), {
|
|
24325
|
+
cx: O,
|
|
24326
|
+
cy: _,
|
|
24324
24327
|
x01: -c,
|
|
24325
24328
|
y01: -f,
|
|
24326
|
-
x11:
|
|
24327
|
-
y11:
|
|
24329
|
+
x11: O * (i / w - 1),
|
|
24330
|
+
y11: _ * (i / w - 1)
|
|
24328
24331
|
};
|
|
24329
24332
|
}
|
|
24330
24333
|
function Zge() {
|
|
@@ -24336,22 +24339,22 @@ function Zge() {
|
|
|
24336
24339
|
else if (g > V$ - Mn)
|
|
24337
24340
|
s.moveTo(h * au(p), h * Fa(p)), s.arc(0, 0, h, p, m, !b), d > Mn && (s.moveTo(d * au(m), d * Fa(m)), s.arc(0, 0, d, m, p, b));
|
|
24338
24341
|
else {
|
|
24339
|
-
var v = p, y = m, x = p, w = m,
|
|
24340
|
-
if (
|
|
24341
|
-
var T = ID(
|
|
24342
|
-
(
|
|
24342
|
+
var v = p, y = m, x = p, w = m, k = g, S = g, O = o.apply(this, arguments) / 2, _ = O > Mn && (r ? +r.apply(this, arguments) : Tu(d * d + h * h)), C = lS(CD(h - d) / 2, +n.apply(this, arguments)), I = C, R = C, N, F;
|
|
24343
|
+
if (_ > Mn) {
|
|
24344
|
+
var T = ID(_ / d * Fa(O)), L = ID(_ / h * Fa(O));
|
|
24345
|
+
(k -= T * 2) > Mn ? (T *= b ? 1 : -1, x += T, w -= T) : (k = 0, x = w = (p + m) / 2), (S -= L * 2) > Mn ? (L *= b ? 1 : -1, v += L, y -= L) : (S = 0, v = y = (p + m) / 2);
|
|
24343
24346
|
}
|
|
24344
24347
|
var D = h * au(v), M = h * Fa(v), W = d * au(w), Z = d * Fa(w);
|
|
24345
|
-
if (
|
|
24348
|
+
if (C > Mn) {
|
|
24346
24349
|
var V = h * au(y), j = h * Fa(y), $ = d * au(x), H = d * Fa(x), K;
|
|
24347
24350
|
if (g < td)
|
|
24348
24351
|
if (K = Pge(D, M, $, H, V, j, W, Z)) {
|
|
24349
24352
|
var q = D - K[0], re = M - K[1], ce = V - K[0], P = j - K[1], X = 1 / Fa(Nge((q * ce + re * P) / (Tu(q * q + re * re) * Tu(ce * ce + P * P))) / 2), z = Tu(K[0] * K[0] + K[1] * K[1]);
|
|
24350
|
-
|
|
24353
|
+
I = lS(C, (d - z) / (X - 1)), R = lS(C, (h - z) / (X + 1));
|
|
24351
24354
|
} else
|
|
24352
|
-
|
|
24355
|
+
I = R = 0;
|
|
24353
24356
|
}
|
|
24354
|
-
S > Mn ? R > Mn ? (N = y0($, H, D, M, h, R, b), F = y0(V, j, W, Z, h, R, b), s.moveTo(N.cx + N.x01, N.cy + N.y01), R <
|
|
24357
|
+
S > Mn ? R > Mn ? (N = y0($, H, D, M, h, R, b), F = y0(V, j, W, Z, h, R, b), s.moveTo(N.cx + N.x01, N.cy + N.y01), R < C ? s.arc(N.cx, N.cy, R, Dn(N.y01, N.x01), Dn(F.y01, F.x01), !b) : (s.arc(N.cx, N.cy, R, Dn(N.y01, N.x01), Dn(N.y11, N.x11), !b), s.arc(0, 0, h, Dn(N.cy + N.y11, N.cx + N.x11), Dn(F.cy + F.y11, F.cx + F.x11), !b), s.arc(F.cx, F.cy, R, Dn(F.y11, F.x11), Dn(F.y01, F.x01), !b))) : (s.moveTo(D, M), s.arc(0, 0, h, v, y, !b)) : s.moveTo(D, M), !(d > Mn) || !(k > Mn) ? s.lineTo(W, Z) : I > Mn ? (N = y0(W, Z, V, j, d, -I, b), F = y0(D, M, $, H, d, -I, b), s.lineTo(N.cx + N.x01, N.cy + N.y01), I < C ? s.arc(N.cx, N.cy, I, Dn(N.y01, N.x01), Dn(F.y01, F.x01), !b) : (s.arc(N.cx, N.cy, I, Dn(N.y01, N.x01), Dn(N.y11, N.x11), !b), s.arc(0, 0, d, Dn(N.cy + N.y11, N.cx + N.x11), Dn(F.cy + F.y11, F.cx + F.x11), b), s.arc(F.cx, F.cy, I, Dn(F.y11, F.x11), Dn(F.y01, F.x01), !b))) : s.arc(0, 0, d, w, x, b);
|
|
24355
24358
|
}
|
|
24356
24359
|
if (s.closePath(), c)
|
|
24357
24360
|
return s = null, c + "" || null;
|
|
@@ -25911,13 +25914,13 @@ const D0e = function e(t, n, r) {
|
|
|
25911
25914
|
];
|
|
25912
25915
|
};
|
|
25913
25916
|
else {
|
|
25914
|
-
var v = Math.sqrt(m), y = (d * d - u * u + r * m) / (2 * u * n * v), x = (d * d - u * u - r * m) / (2 * d * n * v), w = Math.log(Math.sqrt(y * y + 1) - y),
|
|
25915
|
-
b = (
|
|
25916
|
-
var
|
|
25917
|
+
var v = Math.sqrt(m), y = (d * d - u * u + r * m) / (2 * u * n * v), x = (d * d - u * u - r * m) / (2 * d * n * v), w = Math.log(Math.sqrt(y * y + 1) - y), k = Math.log(Math.sqrt(x * x + 1) - x);
|
|
25918
|
+
b = (k - w) / t, g = function(S) {
|
|
25919
|
+
var O = S * b, _ = XD(w), C = u / (n * v) * (_ * L0e(t * O + w) - F0e(w));
|
|
25917
25920
|
return [
|
|
25918
|
-
s +
|
|
25919
|
-
l +
|
|
25920
|
-
u *
|
|
25921
|
+
s + C * h,
|
|
25922
|
+
l + C * p,
|
|
25923
|
+
u * _ / XD(t * O + w)
|
|
25921
25924
|
];
|
|
25922
25925
|
};
|
|
25923
25926
|
}
|
|
@@ -26372,21 +26375,21 @@ function rbe(e) {
|
|
|
26372
26375
|
}
|
|
26373
26376
|
function bI(e, t, n, r, i, a, o, s, l, u) {
|
|
26374
26377
|
var c = Fz(), f = c.invert, d = c.domain, h = u(".%L"), p = u(":%S"), m = u("%I:%M"), g = u("%I %p"), b = u("%a %d"), v = u("%b %d"), y = u("%B"), x = u("%Y");
|
|
26375
|
-
function w(
|
|
26376
|
-
return (l(
|
|
26377
|
-
}
|
|
26378
|
-
return c.invert = function(
|
|
26379
|
-
return new Date(f(
|
|
26380
|
-
}, c.domain = function(
|
|
26381
|
-
return arguments.length ? d(Array.from(
|
|
26382
|
-
}, c.ticks = function(
|
|
26378
|
+
function w(k) {
|
|
26379
|
+
return (l(k) < k ? h : s(k) < k ? p : o(k) < k ? m : a(k) < k ? g : r(k) < k ? i(k) < k ? b : v : n(k) < k ? y : x)(k);
|
|
26380
|
+
}
|
|
26381
|
+
return c.invert = function(k) {
|
|
26382
|
+
return new Date(f(k));
|
|
26383
|
+
}, c.domain = function(k) {
|
|
26384
|
+
return arguments.length ? d(Array.from(k, rbe)) : d().map(nbe);
|
|
26385
|
+
}, c.ticks = function(k) {
|
|
26383
26386
|
var S = d();
|
|
26384
|
-
return e(S[0], S[S.length - 1],
|
|
26385
|
-
}, c.tickFormat = function(
|
|
26387
|
+
return e(S[0], S[S.length - 1], k ?? 10);
|
|
26388
|
+
}, c.tickFormat = function(k, S) {
|
|
26386
26389
|
return S == null ? w : u(S);
|
|
26387
|
-
}, c.nice = function(
|
|
26390
|
+
}, c.nice = function(k) {
|
|
26388
26391
|
var S = d();
|
|
26389
|
-
return (!
|
|
26392
|
+
return (!k || typeof k.range != "function") && (k = t(S[0], S[S.length - 1], k ?? 10)), k ? d(Mz(S, k)) : c;
|
|
26390
26393
|
}, c.copy = function() {
|
|
26391
26394
|
return ag(c, bI(e, t, n, r, i, a, o, s, l, u));
|
|
26392
26395
|
}, c;
|
|
@@ -27040,18 +27043,18 @@ function $be(e, t, n, r, i, a, o, s, l) {
|
|
|
27040
27043
|
const h = d * (s - e) * 0.5 + f * (l - t) * 0.5, p = d * (l - t) * 0.5 - f * (s - e) * 0.5;
|
|
27041
27044
|
let m = h * h / (n * n) + p * p / (r * r);
|
|
27042
27045
|
m > 1 && (m = Math.sqrt(m), n *= m, r *= m);
|
|
27043
|
-
const g = d / n, b = f / n, v = -f / r, y = d / r, x = g * s + b * l, w = v * s + y * l,
|
|
27044
|
-
let
|
|
27045
|
-
|
|
27046
|
-
let
|
|
27047
|
-
a == i && (
|
|
27048
|
-
const
|
|
27049
|
-
let T = Math.atan2(S - R,
|
|
27046
|
+
const g = d / n, b = f / n, v = -f / r, y = d / r, x = g * s + b * l, w = v * s + y * l, k = g * e + b * t, S = v * e + y * t;
|
|
27047
|
+
let _ = 1 / ((k - x) * (k - x) + (S - w) * (S - w)) - 0.25;
|
|
27048
|
+
_ < 0 && (_ = 0);
|
|
27049
|
+
let C = Math.sqrt(_);
|
|
27050
|
+
a == i && (C = -C);
|
|
27051
|
+
const I = 0.5 * (x + k) - C * (S - w), R = 0.5 * (w + S) + C * (k - x), N = Math.atan2(w - R, x - I);
|
|
27052
|
+
let T = Math.atan2(S - R, k - I) - N;
|
|
27050
27053
|
T < 0 && a === 1 ? T += ja : T > 0 && a === 0 && (T -= ja);
|
|
27051
27054
|
const L = Math.ceil(Math.abs(T / (Ou + 1e-3))), D = [];
|
|
27052
27055
|
for (let M = 0; M < L; ++M) {
|
|
27053
27056
|
const W = N + M * T / L, Z = N + (M + 1) * T / L;
|
|
27054
|
-
D[M] = [
|
|
27057
|
+
D[M] = [I, R, W, Z, n, r, f, d];
|
|
27055
27058
|
}
|
|
27056
27059
|
return gS[u] = D;
|
|
27057
27060
|
}
|
|
@@ -27060,8 +27063,8 @@ function zbe(e) {
|
|
|
27060
27063
|
if (bS[t])
|
|
27061
27064
|
return bS[t];
|
|
27062
27065
|
var n = e[0], r = e[1], i = e[2], a = e[3], o = e[4], s = e[5], l = e[6], u = e[7];
|
|
27063
|
-
const c = u * o, f = -l * s, d = l * o, h = u * s, p = Math.cos(i), m = Math.sin(i), g = Math.cos(a), b = Math.sin(a), v = 0.5 * (a - i), y = Math.sin(v * 0.5), x = 8 / 3 * y * y / Math.sin(v), w = n + p - x * m,
|
|
27064
|
-
return bS[t] = [c * w + f *
|
|
27066
|
+
const c = u * o, f = -l * s, d = l * o, h = u * s, p = Math.cos(i), m = Math.sin(i), g = Math.cos(a), b = Math.sin(a), v = 0.5 * (a - i), y = Math.sin(v * 0.5), x = 8 / 3 * y * y / Math.sin(v), w = n + p - x * m, k = r + m + x * p, S = n + g, O = r + b, _ = S + x * b, C = O - x * g;
|
|
27067
|
+
return bS[t] = [c * w + f * k, d * w + h * k, c * _ + f * C, d * _ + h * C, c * S + f * O, d * S + h * O];
|
|
27065
27068
|
}
|
|
27066
27069
|
const di = ["l", 0, 0, 0, 0, 0, 0, 0];
|
|
27067
27070
|
function Xbe(e, t, n) {
|
|
@@ -27290,12 +27293,12 @@ function E0(e, t, n) {
|
|
|
27290
27293
|
function bX() {
|
|
27291
27294
|
var e = Ybe, t = Hbe, n = Ube, r = Kbe, i = Ao(0), a = i, o = i, s = i, l = null;
|
|
27292
27295
|
function u(c, f, d) {
|
|
27293
|
-
var h, p = f ?? +e.call(this, c), m = d ?? +t.call(this, c), g = +n.call(this, c), b = +r.call(this, c), v = Math.min(g, b) / 2, y = E0(+i.call(this, c), 0, v), x = E0(+a.call(this, c), 0, v), w = E0(+o.call(this, c), 0, v),
|
|
27294
|
-
if (l || (l = h = Ox()), y <= 0 && x <= 0 && w <= 0 &&
|
|
27296
|
+
var h, p = f ?? +e.call(this, c), m = d ?? +t.call(this, c), g = +n.call(this, c), b = +r.call(this, c), v = Math.min(g, b) / 2, y = E0(+i.call(this, c), 0, v), x = E0(+a.call(this, c), 0, v), w = E0(+o.call(this, c), 0, v), k = E0(+s.call(this, c), 0, v);
|
|
27297
|
+
if (l || (l = h = Ox()), y <= 0 && x <= 0 && w <= 0 && k <= 0)
|
|
27295
27298
|
l.rect(p, m, g, b);
|
|
27296
27299
|
else {
|
|
27297
|
-
var S = p + g,
|
|
27298
|
-
l.moveTo(p + y, m), l.lineTo(S - x, m), l.bezierCurveTo(S - ks * x, m, S, m + ks * x, S, m + x), l.lineTo(S,
|
|
27300
|
+
var S = p + g, O = m + b;
|
|
27301
|
+
l.moveTo(p + y, m), l.lineTo(S - x, m), l.bezierCurveTo(S - ks * x, m, S, m + ks * x, S, m + x), l.lineTo(S, O - k), l.bezierCurveTo(S, O - ks * k, S - ks * k, O, S - k, O), l.lineTo(p + w, O), l.bezierCurveTo(p + ks * w, O, p, O - ks * w, p, O - w), l.lineTo(p, m + y), l.bezierCurveTo(p, m + ks * y, p + ks * y, m, p + y, m), l.closePath();
|
|
27299
27302
|
}
|
|
27300
27303
|
if (h)
|
|
27301
27304
|
return l = null, h + "" || null;
|
|
@@ -29810,21 +29813,21 @@ function LA(e) {
|
|
|
29810
29813
|
return e < 0 ? Math.ceil(-e) : 0;
|
|
29811
29814
|
}
|
|
29812
29815
|
function S6(e, t, n) {
|
|
29813
|
-
var r = !n.nodirty, i = n.bounds === hN ? F1e : L1e, a = Pn.set(0, 0, 0, 0), o = It(n.align, $s), s = It(n.align, zs), l = It(n.padding, $s), u = It(n.padding, zs), c = n.columns || t.length, f = c <= 0 ? 1 : Math.ceil(t.length / c), d = t.length, h = Array(d), p = Array(c), m = 0, g = Array(d), b = Array(f), v = 0, y = Array(d), x = Array(d), w = Array(d),
|
|
29816
|
+
var r = !n.nodirty, i = n.bounds === hN ? F1e : L1e, a = Pn.set(0, 0, 0, 0), o = It(n.align, $s), s = It(n.align, zs), l = It(n.padding, $s), u = It(n.padding, zs), c = n.columns || t.length, f = c <= 0 ? 1 : Math.ceil(t.length / c), d = t.length, h = Array(d), p = Array(c), m = 0, g = Array(d), b = Array(f), v = 0, y = Array(d), x = Array(d), w = Array(d), k, S, O, _, C, I, R, N, F, T, L;
|
|
29814
29817
|
for (S = 0; S < c; ++S)
|
|
29815
29818
|
p[S] = 0;
|
|
29816
29819
|
for (S = 0; S < f; ++S)
|
|
29817
29820
|
b[S] = 0;
|
|
29818
29821
|
for (S = 0; S < d; ++S)
|
|
29819
|
-
|
|
29822
|
+
I = t[S], C = w[S] = i(I), I.x = I.x || 0, y[S] = 0, I.y = I.y || 0, x[S] = 0, O = S % c, _ = ~~(S / c), m = Math.max(m, R = Math.ceil(C.x2)), v = Math.max(v, N = Math.ceil(C.y2)), p[O] = Math.max(p[O], R), b[_] = Math.max(b[_], N), h[S] = l + LA(C.x1), g[S] = u + LA(C.y1), r && e.dirty(t[S]);
|
|
29820
29823
|
for (S = 0; S < d; ++S)
|
|
29821
29824
|
S % c === 0 && (h[S] = 0), S < c && (g[S] = 0);
|
|
29822
29825
|
if (o === z5)
|
|
29823
|
-
for (
|
|
29824
|
-
for (L = 0, S =
|
|
29826
|
+
for (O = 1; O < c; ++O) {
|
|
29827
|
+
for (L = 0, S = O; S < d; S += c)
|
|
29825
29828
|
L < h[S] && (L = h[S]);
|
|
29826
|
-
for (S =
|
|
29827
|
-
h[S] = L + p[
|
|
29829
|
+
for (S = O; S < d; S += c)
|
|
29830
|
+
h[S] = L + p[O - 1];
|
|
29828
29831
|
}
|
|
29829
29832
|
else if (o === O0) {
|
|
29830
29833
|
for (L = 0, S = 0; S < d; ++S)
|
|
@@ -29832,15 +29835,15 @@ function S6(e, t, n) {
|
|
|
29832
29835
|
for (S = 0; S < d; ++S)
|
|
29833
29836
|
S % c && (h[S] = L + m);
|
|
29834
29837
|
} else
|
|
29835
|
-
for (o = !1,
|
|
29836
|
-
for (S =
|
|
29837
|
-
h[S] += p[
|
|
29838
|
+
for (o = !1, O = 1; O < c; ++O)
|
|
29839
|
+
for (S = O; S < d; S += c)
|
|
29840
|
+
h[S] += p[O - 1];
|
|
29838
29841
|
if (s === z5)
|
|
29839
|
-
for (
|
|
29840
|
-
for (L = 0, S =
|
|
29842
|
+
for (_ = 1; _ < f; ++_) {
|
|
29843
|
+
for (L = 0, S = _ * c, k = S + c; S < k; ++S)
|
|
29841
29844
|
L < g[S] && (L = g[S]);
|
|
29842
|
-
for (S =
|
|
29843
|
-
g[S] = L + b[
|
|
29845
|
+
for (S = _ * c; S < k; ++S)
|
|
29846
|
+
g[S] = L + b[_ - 1];
|
|
29844
29847
|
}
|
|
29845
29848
|
else if (s === O0) {
|
|
29846
29849
|
for (L = 0, S = c; S < d; ++S)
|
|
@@ -29848,20 +29851,20 @@ function S6(e, t, n) {
|
|
|
29848
29851
|
for (S = c; S < d; ++S)
|
|
29849
29852
|
g[S] = L + v;
|
|
29850
29853
|
} else
|
|
29851
|
-
for (s = !1,
|
|
29852
|
-
for (S =
|
|
29853
|
-
g[S] += b[
|
|
29854
|
+
for (s = !1, _ = 1; _ < f; ++_)
|
|
29855
|
+
for (S = _ * c, k = S + c; S < k; ++S)
|
|
29856
|
+
g[S] += b[_ - 1];
|
|
29854
29857
|
for (F = 0, S = 0; S < d; ++S)
|
|
29855
29858
|
F = h[S] + (S % c ? F : 0), y[S] += F - t[S].x;
|
|
29856
|
-
for (
|
|
29857
|
-
for (T = 0, S =
|
|
29859
|
+
for (O = 0; O < c; ++O)
|
|
29860
|
+
for (T = 0, S = O; S < d; S += c)
|
|
29858
29861
|
T += g[S], x[S] += T - t[S].y;
|
|
29859
29862
|
if (o && It(n.center, $s) && f > 1)
|
|
29860
29863
|
for (S = 0; S < d; ++S)
|
|
29861
|
-
|
|
29864
|
+
C = o === O0 ? m : p[S % c], F = C - w[S].x2 - t[S].x - y[S], F > 0 && (y[S] += F / 2);
|
|
29862
29865
|
if (s && It(n.center, zs) && c !== 1)
|
|
29863
29866
|
for (S = 0; S < d; ++S)
|
|
29864
|
-
|
|
29867
|
+
C = s === O0 ? v : b[~~(S / c)], T = C - w[S].y2 - t[S].y - x[S], T > 0 && (x[S] += T / 2);
|
|
29865
29868
|
for (S = 0; S < d; ++S)
|
|
29866
29869
|
a.union(w[S].translate(y[S], x[S]));
|
|
29867
29870
|
switch (F = It(n.anchor, m1e), T = It(n.anchor, g1e), It(n.anchor, $s)) {
|
|
@@ -29881,7 +29884,7 @@ function S6(e, t, n) {
|
|
|
29881
29884
|
for (F = Math.round(F), T = Math.round(T), a.clear(), S = 0; S < d; ++S)
|
|
29882
29885
|
t[S].mark.bounds.clear();
|
|
29883
29886
|
for (S = 0; S < d; ++S)
|
|
29884
|
-
|
|
29887
|
+
I = t[S], I.x += y[S] += F, I.y += x[S] += T, a.union(I.mark.bounds.union(I.bounds.translate(y[S], x[S]))), r && e.dirty(I);
|
|
29885
29888
|
return a;
|
|
29886
29889
|
}
|
|
29887
29890
|
function D1e(e, t, n) {
|
|
@@ -29896,7 +29899,7 @@ function M1e(e, t) {
|
|
|
29896
29899
|
return e.bounds[t];
|
|
29897
29900
|
}
|
|
29898
29901
|
function C0(e, t, n, r, i, a, o, s, l, u, c, f, d, h) {
|
|
29899
|
-
var p = n.length, m = 0, g = 0, b, v, y, x, w,
|
|
29902
|
+
var p = n.length, m = 0, g = 0, b, v, y, x, w, k, S, O, _;
|
|
29900
29903
|
if (!p)
|
|
29901
29904
|
return m;
|
|
29902
29905
|
for (b = c; b < p; b += f)
|
|
@@ -29906,9 +29909,9 @@ function C0(e, t, n, r, i, a, o, s, l, u, c, f, d, h) {
|
|
|
29906
29909
|
for (t.length > i && (e.warn("Grid headers exceed limit: " + i), t = t.slice(0, i)), m += a, v = 0, x = t.length; v < x; ++v)
|
|
29907
29910
|
e.dirty(t[v]), t[v].mark.bounds.clear();
|
|
29908
29911
|
for (b = c, v = 0, x = t.length; v < x; ++v, b += f) {
|
|
29909
|
-
for (
|
|
29912
|
+
for (k = t[v], w = k.mark.bounds, y = b; y >= 0 && (S = n[y]) == null; y -= d)
|
|
29910
29913
|
;
|
|
29911
|
-
s ? (
|
|
29914
|
+
s ? (O = h == null ? S.x : Math.round(S.bounds.x1 + h * S.bounds.width()), _ = m) : (O = m, _ = h == null ? S.y : Math.round(S.bounds.y1 + h * S.bounds.height())), w.union(k.bounds.translate(O - (k.x || 0), _ - (k.y || 0))), k.x = O, k.y = _, e.dirty(k), g = o(g, w[u]);
|
|
29912
29915
|
}
|
|
29913
29916
|
return g;
|
|
29914
29917
|
}
|
|
@@ -30990,15 +30993,15 @@ function $xe(e, t) {
|
|
|
30990
30993
|
i === 1 ? r = Zt + _e : i === -1 && (r = -Zt - _e);
|
|
30991
30994
|
for (var u = 0, c = e.length; u < c; ++u)
|
|
30992
30995
|
if (d = (f = e[u]).length)
|
|
30993
|
-
for (var f, d, h = f[d - 1], p = _S(h), m = h[1] / 2 + ky, g = Oe(m), b = ke(m), v = 0; v < d; ++v, p = x, g =
|
|
30994
|
-
var y = f[v], x = _S(y), w = y[1] / 2 + ky,
|
|
30995
|
-
if (l.add(Fi(R *
|
|
30996
|
+
for (var f, d, h = f[d - 1], p = _S(h), m = h[1] / 2 + ky, g = Oe(m), b = ke(m), v = 0; v < d; ++v, p = x, g = k, b = S, h = y) {
|
|
30997
|
+
var y = f[v], x = _S(y), w = y[1] / 2 + ky, k = Oe(w), S = ke(w), O = x - p, _ = O >= 0 ? 1 : -1, C = _ * O, I = C > je, R = g * k;
|
|
30998
|
+
if (l.add(Fi(R * _ * Oe(C), b * S + R * ke(C))), o += I ? O + _ * mr : O, I ^ p >= n ^ x >= n) {
|
|
30996
30999
|
var N = fd(nc(h), nc(y));
|
|
30997
31000
|
Fy(N);
|
|
30998
31001
|
var F = fd(a, N);
|
|
30999
31002
|
Fy(F);
|
|
31000
|
-
var T = (
|
|
31001
|
-
(r > T || r === T && (N[0] || N[1])) && (s +=
|
|
31003
|
+
var T = (I ^ O >= 0 ? -1 : 1) * Zr(F[2]);
|
|
31004
|
+
(r > T || r === T && (N[0] || N[1])) && (s += I ^ O >= 0 ? 1 : -1);
|
|
31002
31005
|
}
|
|
31003
31006
|
}
|
|
31004
31007
|
return (o < -_e || o < _e && l < -_y) ^ s & 1;
|
|
@@ -31041,12 +31044,12 @@ function Q6(e, t, n, r) {
|
|
|
31041
31044
|
}
|
|
31042
31045
|
function y() {
|
|
31043
31046
|
b(f[0][0], f[0][1]), s.lineEnd();
|
|
31044
|
-
var x = s.clean(), w = o.result(),
|
|
31047
|
+
var x = s.clean(), w = o.result(), k, S = w.length, O, _, C;
|
|
31045
31048
|
if (f.pop(), u.push(f), f = null, !!S) {
|
|
31046
31049
|
if (x & 1) {
|
|
31047
|
-
if (
|
|
31048
|
-
for (l || (i.polygonStart(), l = !0), i.lineStart(),
|
|
31049
|
-
i.point((
|
|
31050
|
+
if (_ = w[0], (O = _.length - 1) > 0) {
|
|
31051
|
+
for (l || (i.polygonStart(), l = !0), i.lineStart(), k = 0; k < O; ++k)
|
|
31052
|
+
i.point((C = _[k])[0], C[1]);
|
|
31050
31053
|
i.lineEnd();
|
|
31051
31054
|
}
|
|
31052
31055
|
return;
|
|
@@ -31122,8 +31125,8 @@ function Uxe(e) {
|
|
|
31122
31125
|
if (!f && (p = h = x) && c.lineStart(), x !== h && (y = l(f, v), (!y || Qb(f, y) || Qb(v, y)) && (v[2] = 1)), x !== h)
|
|
31123
31126
|
m = 0, x ? (c.lineStart(), y = l(v, f), c.point(y[0], y[1])) : (y = l(f, v), c.point(y[0], y[1], 2), c.lineEnd()), f = y;
|
|
31124
31127
|
else if (i && f && r ^ x) {
|
|
31125
|
-
var
|
|
31126
|
-
!(w & d) && (
|
|
31128
|
+
var k;
|
|
31129
|
+
!(w & d) && (k = l(v, f, !0)) && (m = 0, r ? (c.lineStart(), c.point(k[0][0], k[0][1]), c.point(k[1][0], k[1][1]), c.lineEnd()) : (c.point(k[1][0], k[1][1]), c.lineEnd(), c.lineStart(), c.point(k[0][0], k[0][1], 3)));
|
|
31127
31130
|
}
|
|
31128
31131
|
x && (!f || !Qb(f, v)) && c.point(v[0], v[1]), f = v, h = x, d = w;
|
|
31129
31132
|
},
|
|
@@ -31141,18 +31144,18 @@ function Uxe(e) {
|
|
|
31141
31144
|
var h = nc(c), p = nc(f), m = [1, 0, 0], g = fd(h, p), b = N0(g, g), v = g[0], y = b - v * v;
|
|
31142
31145
|
if (!y)
|
|
31143
31146
|
return !d && c;
|
|
31144
|
-
var x = t * b / y, w = -t * v / y,
|
|
31145
|
-
OS(S,
|
|
31146
|
-
var
|
|
31147
|
+
var x = t * b / y, w = -t * v / y, k = fd(m, g), S = R0(m, x), O = R0(g, w);
|
|
31148
|
+
OS(S, O);
|
|
31149
|
+
var _ = k, C = N0(S, _), I = N0(_, _), R = C * C - I * (N0(S, S) - 1);
|
|
31147
31150
|
if (!(R < 0)) {
|
|
31148
|
-
var N = gr(R), F = R0(
|
|
31151
|
+
var N = gr(R), F = R0(_, (-C - N) / I);
|
|
31149
31152
|
if (OS(F, S), F = Ty(F), !d)
|
|
31150
31153
|
return F;
|
|
31151
31154
|
var T = c[0], L = f[0], D = c[1], M = f[1], W;
|
|
31152
31155
|
L < T && (W = T, T = L, L = W);
|
|
31153
31156
|
var Z = L - T, V = Xe(Z - je) < _e, j = V || Z < _e;
|
|
31154
31157
|
if (!V && M < D && (W = D, D = M, M = W), j ? V ? D + M > 0 ^ F[1] < (Xe(F[0] - T) < _e ? D : M) : D <= F[1] && F[1] <= M : Z > je ^ (T <= F[0] && F[0] <= L)) {
|
|
31155
|
-
var $ = R0(
|
|
31158
|
+
var $ = R0(_, (-C + N) / I);
|
|
31156
31159
|
return OS($, S), [F, Ty($)];
|
|
31157
31160
|
}
|
|
31158
31161
|
}
|
|
@@ -31236,34 +31239,34 @@ function eB(e, t, n, r) {
|
|
|
31236
31239
|
return f !== d ? f - d : f === 0 ? c[1] - u[1] : f === 1 ? u[0] - c[0] : f === 2 ? u[1] - c[1] : c[0] - u[0];
|
|
31237
31240
|
}
|
|
31238
31241
|
return function(u) {
|
|
31239
|
-
var c = u, f = J6(), d, h, p, m, g, b, v, y, x, w,
|
|
31240
|
-
point:
|
|
31242
|
+
var c = u, f = J6(), d, h, p, m, g, b, v, y, x, w, k, S = {
|
|
31243
|
+
point: O,
|
|
31241
31244
|
lineStart: R,
|
|
31242
31245
|
lineEnd: N,
|
|
31243
|
-
polygonStart:
|
|
31244
|
-
polygonEnd:
|
|
31246
|
+
polygonStart: C,
|
|
31247
|
+
polygonEnd: I
|
|
31245
31248
|
};
|
|
31246
|
-
function
|
|
31249
|
+
function O(T, L) {
|
|
31247
31250
|
i(T, L) && c.point(T, L);
|
|
31248
31251
|
}
|
|
31249
|
-
function
|
|
31252
|
+
function _() {
|
|
31250
31253
|
for (var T = 0, L = 0, D = h.length; L < D; ++L)
|
|
31251
31254
|
for (var M = h[L], W = 1, Z = M.length, V = M[0], j, $, H = V[0], K = V[1]; W < Z; ++W)
|
|
31252
31255
|
j = H, $ = K, V = M[W], H = V[0], K = V[1], $ <= r ? K > r && (H - j) * (r - $) > (K - $) * (e - j) && ++T : K <= r && (H - j) * (r - $) < (K - $) * (e - j) && --T;
|
|
31253
31256
|
return T;
|
|
31254
31257
|
}
|
|
31255
|
-
function I() {
|
|
31256
|
-
c = f, d = [], h = [], O = !0;
|
|
31257
|
-
}
|
|
31258
31258
|
function C() {
|
|
31259
|
-
|
|
31259
|
+
c = f, d = [], h = [], k = !0;
|
|
31260
|
+
}
|
|
31261
|
+
function I() {
|
|
31262
|
+
var T = _(), L = k && T, D = (d = e4(d)).length;
|
|
31260
31263
|
(L || D) && (u.polygonStart(), L && (u.lineStart(), a(null, null, 1, u), u.lineEnd()), D && q6(d, s, T, a, u), u.polygonEnd()), c = u, d = h = p = null;
|
|
31261
31264
|
}
|
|
31262
31265
|
function R() {
|
|
31263
31266
|
S.point = F, h && h.push(p = []), w = !0, x = !1, v = y = NaN;
|
|
31264
31267
|
}
|
|
31265
31268
|
function N() {
|
|
31266
|
-
d && (F(m, g), b && x && f.rejoin(), d.push(f.result())), S.point =
|
|
31269
|
+
d && (F(m, g), b && x && f.rejoin(), d.push(f.result())), S.point = O, x && c.lineEnd();
|
|
31267
31270
|
}
|
|
31268
31271
|
function F(T, L) {
|
|
31269
31272
|
var D = i(T, L);
|
|
@@ -31273,7 +31276,7 @@ function eB(e, t, n, r) {
|
|
|
31273
31276
|
c.point(T, L);
|
|
31274
31277
|
else {
|
|
31275
31278
|
var M = [v = Math.max(F0, Math.min(rp, v)), y = Math.max(F0, Math.min(rp, y))], W = [T = Math.max(F0, Math.min(rp, T)), L = Math.max(F0, Math.min(rp, L))];
|
|
31276
|
-
Kxe(M, W, e, t, n, r) ? (x || (c.lineStart(), c.point(M[0], M[1])), c.point(W[0], W[1]), D || c.lineEnd(),
|
|
31279
|
+
Kxe(M, W, e, t, n, r) ? (x || (c.lineStart(), c.point(M[0], M[1])), c.point(W[0], W[1]), D || c.lineEnd(), k = !1) : D && (c.lineStart(), c.point(T, L), k = !1);
|
|
31277
31280
|
}
|
|
31278
31281
|
v = T, y = L, x = D;
|
|
31279
31282
|
}
|
|
@@ -31664,8 +31667,8 @@ function dwe(e, t) {
|
|
|
31664
31667
|
function n(r, i, a, o, s, l, u, c, f, d, h, p, m, g) {
|
|
31665
31668
|
var b = u - r, v = c - i, y = b * b + v * v;
|
|
31666
31669
|
if (y > 4 * t && m--) {
|
|
31667
|
-
var x = o + d, w = s + h,
|
|
31668
|
-
(T * T / y > t || Xe((b * N + v * F) / y - 0.5) > 0.3 || o * d + s * h + l * p < cwe) && (n(r, i, a, o, s, l,
|
|
31670
|
+
var x = o + d, w = s + h, k = l + p, S = gr(x * x + w * w + k * k), O = Zr(k /= S), _ = Xe(Xe(k) - 1) < _e || Xe(a - f) < _e ? (a + f) / 2 : Fi(w, x), C = e(_, O), I = C[0], R = C[1], N = I - r, F = R - i, T = v * N - b * F;
|
|
31671
|
+
(T * T / y > t || Xe((b * N + v * F) / y - 0.5) > 0.3 || o * d + s * h + l * p < cwe) && (n(r, i, a, o, s, l, I, R, _, x /= S, w /= S, k, m, g), g.point(I, R), n(I, R, _, x, w, k, u, c, f, d, h, p, m, g));
|
|
31669
31672
|
}
|
|
31670
31673
|
}
|
|
31671
31674
|
return function(r) {
|
|
@@ -31680,24 +31683,24 @@ function dwe(e, t) {
|
|
|
31680
31683
|
r.polygonEnd(), g.lineStart = v;
|
|
31681
31684
|
}
|
|
31682
31685
|
};
|
|
31683
|
-
function b(
|
|
31684
|
-
|
|
31686
|
+
function b(O, _) {
|
|
31687
|
+
O = e(O, _), r.point(O[0], O[1]);
|
|
31685
31688
|
}
|
|
31686
31689
|
function v() {
|
|
31687
31690
|
f = NaN, g.point = y, r.lineStart();
|
|
31688
31691
|
}
|
|
31689
|
-
function y(
|
|
31690
|
-
var
|
|
31691
|
-
n(f, d, c, h, p, m, f =
|
|
31692
|
+
function y(O, _) {
|
|
31693
|
+
var C = nc([O, _]), I = e(O, _);
|
|
31694
|
+
n(f, d, c, h, p, m, f = I[0], d = I[1], c = O, h = C[0], p = C[1], m = C[2], u9, r), r.point(f, d);
|
|
31692
31695
|
}
|
|
31693
31696
|
function x() {
|
|
31694
31697
|
g.point = b, r.lineEnd();
|
|
31695
31698
|
}
|
|
31696
31699
|
function w() {
|
|
31697
|
-
v(), g.point =
|
|
31700
|
+
v(), g.point = k, g.lineEnd = S;
|
|
31698
31701
|
}
|
|
31699
|
-
function O
|
|
31700
|
-
y(i =
|
|
31702
|
+
function k(O, _) {
|
|
31703
|
+
y(i = O, _), a = f, o = d, s = h, l = p, u = m, g.point = y;
|
|
31701
31704
|
}
|
|
31702
31705
|
function S() {
|
|
31703
31706
|
n(f, d, c, h, p, m, a, o, i, s, l, u, u9, r), g.lineEnd = x, x();
|
|
@@ -31743,57 +31746,57 @@ function Oo(e) {
|
|
|
31743
31746
|
})();
|
|
31744
31747
|
}
|
|
31745
31748
|
function hB(e) {
|
|
31746
|
-
var t, n = 150, r = 480, i = 250, a = 0, o = 0, s = 0, l = 0, u = 0, c, f = 0, d = 1, h = 1, p = null, m = JA, g = null, b, v, y, x = sm, w = 0.5,
|
|
31747
|
-
function
|
|
31748
|
-
return
|
|
31749
|
+
var t, n = 150, r = 480, i = 250, a = 0, o = 0, s = 0, l = 0, u = 0, c, f = 0, d = 1, h = 1, p = null, m = JA, g = null, b, v, y, x = sm, w = 0.5, k, S, O, _, C;
|
|
31750
|
+
function I(T) {
|
|
31751
|
+
return O(T[0] * Ge, T[1] * Ge);
|
|
31749
31752
|
}
|
|
31750
31753
|
function R(T) {
|
|
31751
|
-
return T =
|
|
31754
|
+
return T = O.invert(T[0], T[1]), T && [T[0] * Wt, T[1] * Wt];
|
|
31752
31755
|
}
|
|
31753
|
-
|
|
31754
|
-
return
|
|
31755
|
-
},
|
|
31756
|
+
I.stream = function(T) {
|
|
31757
|
+
return _ && C === T ? _ : _ = hwe(pwe(c)(m(k(x(C = T)))));
|
|
31758
|
+
}, I.preclip = function(T) {
|
|
31756
31759
|
return arguments.length ? (m = T, p = void 0, F()) : m;
|
|
31757
|
-
},
|
|
31760
|
+
}, I.postclip = function(T) {
|
|
31758
31761
|
return arguments.length ? (x = T, g = b = v = y = null, F()) : x;
|
|
31759
|
-
},
|
|
31762
|
+
}, I.clipAngle = function(T) {
|
|
31760
31763
|
return arguments.length ? (m = +T ? Uxe(p = T * Ge) : (p = null, JA), F()) : p * Wt;
|
|
31761
|
-
},
|
|
31764
|
+
}, I.clipExtent = function(T) {
|
|
31762
31765
|
return arguments.length ? (x = T == null ? (g = b = v = y = null, sm) : eB(g = +T[0][0], b = +T[0][1], v = +T[1][0], y = +T[1][1]), F()) : g == null ? null : [[g, b], [v, y]];
|
|
31763
|
-
},
|
|
31766
|
+
}, I.scale = function(T) {
|
|
31764
31767
|
return arguments.length ? (n = +T, N()) : n;
|
|
31765
|
-
},
|
|
31768
|
+
}, I.translate = function(T) {
|
|
31766
31769
|
return arguments.length ? (r = +T[0], i = +T[1], N()) : [r, i];
|
|
31767
|
-
},
|
|
31770
|
+
}, I.center = function(T) {
|
|
31768
31771
|
return arguments.length ? (a = T[0] % 360 * Ge, o = T[1] % 360 * Ge, N()) : [a * Wt, o * Wt];
|
|
31769
|
-
},
|
|
31772
|
+
}, I.rotate = function(T) {
|
|
31770
31773
|
return arguments.length ? (s = T[0] % 360 * Ge, l = T[1] % 360 * Ge, u = T.length > 2 ? T[2] % 360 * Ge : 0, N()) : [s * Wt, l * Wt, u * Wt];
|
|
31771
|
-
},
|
|
31774
|
+
}, I.angle = function(T) {
|
|
31772
31775
|
return arguments.length ? (f = T % 360 * Ge, N()) : f * Wt;
|
|
31773
|
-
},
|
|
31776
|
+
}, I.reflectX = function(T) {
|
|
31774
31777
|
return arguments.length ? (d = T ? -1 : 1, N()) : d < 0;
|
|
31775
|
-
},
|
|
31778
|
+
}, I.reflectY = function(T) {
|
|
31776
31779
|
return arguments.length ? (h = T ? -1 : 1, N()) : h < 0;
|
|
31777
|
-
},
|
|
31778
|
-
return arguments.length ? (
|
|
31779
|
-
},
|
|
31780
|
-
return Jx(
|
|
31781
|
-
},
|
|
31782
|
-
return wN(
|
|
31783
|
-
},
|
|
31784
|
-
return SN(
|
|
31785
|
-
},
|
|
31786
|
-
return EN(
|
|
31780
|
+
}, I.precision = function(T) {
|
|
31781
|
+
return arguments.length ? (k = c9(S, w = T * T), F()) : gr(w);
|
|
31782
|
+
}, I.fitExtent = function(T, L) {
|
|
31783
|
+
return Jx(I, T, L);
|
|
31784
|
+
}, I.fitSize = function(T, L) {
|
|
31785
|
+
return wN(I, T, L);
|
|
31786
|
+
}, I.fitWidth = function(T, L) {
|
|
31787
|
+
return SN(I, T, L);
|
|
31788
|
+
}, I.fitHeight = function(T, L) {
|
|
31789
|
+
return EN(I, T, L);
|
|
31787
31790
|
};
|
|
31788
31791
|
function N() {
|
|
31789
31792
|
var T = f9(n, 0, 0, d, h, f).apply(null, t(a, o)), L = f9(n, r - T[0], i - T[1], d, h, f);
|
|
31790
|
-
return c = K6(s, l, u), S = tO(t, L),
|
|
31793
|
+
return c = K6(s, l, u), S = tO(t, L), O = tO(c, S), k = c9(S, w), F();
|
|
31791
31794
|
}
|
|
31792
31795
|
function F() {
|
|
31793
|
-
return
|
|
31796
|
+
return _ = C = null, I;
|
|
31794
31797
|
}
|
|
31795
31798
|
return function() {
|
|
31796
|
-
return t = e.apply(this, arguments),
|
|
31799
|
+
return t = e.apply(this, arguments), I.invert = t.invert && R, N();
|
|
31797
31800
|
};
|
|
31798
31801
|
}
|
|
31799
31802
|
function ON(e) {
|
|
@@ -32031,28 +32034,28 @@ function Rwe() {
|
|
|
32031
32034
|
function Twe() {
|
|
32032
32035
|
var e = 1, t = 0, n = 0, r = 1, i = 1, a = 0, o, s, l = null, u, c, f, d = 1, h = 1, p = Kx({
|
|
32033
32036
|
point: function(x, w) {
|
|
32034
|
-
var
|
|
32035
|
-
this.stream.point(
|
|
32037
|
+
var k = y([x, w]);
|
|
32038
|
+
this.stream.point(k[0], k[1]);
|
|
32036
32039
|
}
|
|
32037
32040
|
}), m = sm, g, b;
|
|
32038
32041
|
function v() {
|
|
32039
32042
|
return d = e * r, h = e * i, g = b = null, y;
|
|
32040
32043
|
}
|
|
32041
32044
|
function y(x) {
|
|
32042
|
-
var w = x[0] * d,
|
|
32045
|
+
var w = x[0] * d, k = x[1] * h;
|
|
32043
32046
|
if (a) {
|
|
32044
|
-
var S =
|
|
32045
|
-
w = w * o +
|
|
32047
|
+
var S = k * o - w * s;
|
|
32048
|
+
w = w * o + k * s, k = S;
|
|
32046
32049
|
}
|
|
32047
|
-
return [w + t,
|
|
32050
|
+
return [w + t, k + n];
|
|
32048
32051
|
}
|
|
32049
32052
|
return y.invert = function(x) {
|
|
32050
|
-
var w = x[0] - t,
|
|
32053
|
+
var w = x[0] - t, k = x[1] - n;
|
|
32051
32054
|
if (a) {
|
|
32052
|
-
var S =
|
|
32053
|
-
w = w * o -
|
|
32055
|
+
var S = k * o + w * s;
|
|
32056
|
+
w = w * o - k * s, k = S;
|
|
32054
32057
|
}
|
|
32055
|
-
return [w / d,
|
|
32058
|
+
return [w / d, k / h];
|
|
32056
32059
|
}, y.stream = function(x) {
|
|
32057
32060
|
return g && b === x ? g : g = p(m(b = x));
|
|
32058
32061
|
}, y.postclip = function(x) {
|
|
@@ -32258,19 +32261,19 @@ function CB() {
|
|
|
32258
32261
|
v = b, b = l[p * e + h + 1] >= u, Mo[b << 2 | v << 3].forEach(y);
|
|
32259
32262
|
Mo[b << 3].forEach(y);
|
|
32260
32263
|
function y(x) {
|
|
32261
|
-
var w = [x[0][0] + h, x[0][1] + p],
|
|
32262
|
-
(
|
|
32263
|
-
start:
|
|
32264
|
-
end:
|
|
32265
|
-
ring:
|
|
32266
|
-
}) : (delete d[
|
|
32267
|
-
start:
|
|
32268
|
-
end:
|
|
32269
|
-
ring:
|
|
32270
|
-
}) : (delete f[
|
|
32264
|
+
var w = [x[0][0] + h, x[0][1] + p], k = [x[1][0] + h, x[1][1] + p], S = o(w), O = o(k), _, C;
|
|
32265
|
+
(_ = d[S]) ? (C = f[O]) ? (delete d[_.end], delete f[C.start], _ === C ? (_.ring.push(k), c(_.ring)) : f[_.start] = d[C.end] = {
|
|
32266
|
+
start: _.start,
|
|
32267
|
+
end: C.end,
|
|
32268
|
+
ring: _.ring.concat(C.ring)
|
|
32269
|
+
}) : (delete d[_.end], _.ring.push(k), d[_.end = O] = _) : (_ = f[O]) ? (C = d[S]) ? (delete f[_.start], delete d[C.end], _ === C ? (_.ring.push(k), c(_.ring)) : f[C.start] = d[_.end] = {
|
|
32270
|
+
start: C.start,
|
|
32271
|
+
end: _.end,
|
|
32272
|
+
ring: C.ring.concat(_.ring)
|
|
32273
|
+
}) : (delete f[_.start], _.ring.unshift(w), f[_.start = S] = _) : f[S] = d[O] = {
|
|
32271
32274
|
start: S,
|
|
32272
|
-
end:
|
|
32273
|
-
ring: [w,
|
|
32275
|
+
end: O,
|
|
32276
|
+
ring: [w, k]
|
|
32274
32277
|
};
|
|
32275
32278
|
}
|
|
32276
32279
|
}
|
|
@@ -32433,8 +32436,8 @@ function RB() {
|
|
|
32433
32436
|
const c = p9(r[0], l, e) >> o, f = p9(r[1], l, t) >> o, d = c ? c + 2 : 0, h = f ? f + 2 : 0, p = 2 * d + (i >> o), m = 2 * h + (a >> o), g = new Float32Array(p * m), b = new Float32Array(p * m);
|
|
32434
32437
|
let v = g;
|
|
32435
32438
|
l.forEach((x) => {
|
|
32436
|
-
const w = d + (+e(x) >> o),
|
|
32437
|
-
w >= 0 && w < p &&
|
|
32439
|
+
const w = d + (+e(x) >> o), k = h + (+t(x) >> o);
|
|
32440
|
+
w >= 0 && w < p && k >= 0 && k < m && (g[w + k * p] += +n(x));
|
|
32438
32441
|
}), c > 0 && f > 0 ? (Uc(p, m, g, b, c), Kc(p, m, b, g, f), Uc(p, m, g, b, c), Kc(p, m, b, g, f), Uc(p, m, g, b, c), Kc(p, m, b, g, f)) : c > 0 ? (Uc(p, m, g, b, c), Uc(p, m, b, g, c), Uc(p, m, g, b, c), v = b) : f > 0 && (Kc(p, m, g, b, f), Kc(p, m, b, g, f), Kc(p, m, g, b, f), v = b);
|
|
32439
32442
|
const y = u ? Math.pow(2, -2 * o) : 1 / t4(v);
|
|
32440
32443
|
for (let x = 0, w = p * m; x < w; ++x)
|
|
@@ -33192,16 +33195,16 @@ function F2e(e) {
|
|
|
33192
33195
|
for (var u, c = t.length, f, d, h, p, m, g, b = 0; b < a; ++b)
|
|
33193
33196
|
for (f = MN(t, R2e, T2e).visitAfter(s), u = 0; u < c; ++u)
|
|
33194
33197
|
d = t[u], m = n[d.index], g = m * m, h = d.x + d.vx, p = d.y + d.vy, f.visit(v);
|
|
33195
|
-
function v(y, x, w,
|
|
33196
|
-
var
|
|
33197
|
-
if (
|
|
33198
|
-
if (
|
|
33199
|
-
var
|
|
33200
|
-
N <
|
|
33198
|
+
function v(y, x, w, k, S) {
|
|
33199
|
+
var O = y.data, _ = y.r, C = m + _;
|
|
33200
|
+
if (O) {
|
|
33201
|
+
if (O.index > d.index) {
|
|
33202
|
+
var I = h - O.x - O.vx, R = p - O.y - O.vy, N = I * I + R * R;
|
|
33203
|
+
N < C * C && (I === 0 && (I = Xs(r), N += I * I), R === 0 && (R = Xs(r), N += R * R), N = (C - (N = Math.sqrt(N))) / N * i, d.vx += (I *= N) * (C = (_ *= _) / (g + _)), d.vy += (R *= N) * C, O.vx -= I * (C = 1 - C), O.vy -= R * C);
|
|
33201
33204
|
}
|
|
33202
33205
|
return;
|
|
33203
33206
|
}
|
|
33204
|
-
return x > h +
|
|
33207
|
+
return x > h + C || k < h - C || w > p + C || S < p - C;
|
|
33205
33208
|
}
|
|
33206
33209
|
}
|
|
33207
33210
|
function s(u) {
|
|
@@ -33244,12 +33247,12 @@ function D2e(e) {
|
|
|
33244
33247
|
}
|
|
33245
33248
|
function d(g) {
|
|
33246
33249
|
for (var b = 0, v = e.length; b < c; ++b)
|
|
33247
|
-
for (var y = 0, x, w,
|
|
33248
|
-
x = e[y], w = x.source,
|
|
33250
|
+
for (var y = 0, x, w, k, S, O, _, C; y < v; ++y)
|
|
33251
|
+
x = e[y], w = x.source, k = x.target, S = k.x + k.vx - w.x - w.vx || Xs(u), O = k.y + k.vy - w.y - w.vy || Xs(u), _ = Math.sqrt(S * S + O * O), _ = (_ - a[y]) / _ * g * r[y], S *= _, O *= _, k.vx -= S * (C = l[y]), k.vy -= O * C, w.vx += S * (C = 1 - C), w.vy += O * C;
|
|
33249
33252
|
}
|
|
33250
33253
|
function h() {
|
|
33251
33254
|
if (o) {
|
|
33252
|
-
var g, b = o.length, v = e.length, y = new Map(o.map((w,
|
|
33255
|
+
var g, b = o.length, v = e.length, y = new Map(o.map((w, k) => [t(w, k, o), w])), x;
|
|
33253
33256
|
for (g = 0, s = new Array(b); g < v; ++g)
|
|
33254
33257
|
x = e[g], x.index = g, typeof x.source != "object" && (x.source = b9(y, x.source)), typeof x.target != "object" && (x.target = b9(y, x.target)), s[x.source.index] = (s[x.source.index] || 0) + 1, s[x.target.index] = (s[x.target.index] || 0) + 1;
|
|
33255
33258
|
for (g = 0, l = new Array(v); g < v; ++g)
|
|
@@ -33495,10 +33498,10 @@ function K2e(e) {
|
|
|
33495
33498
|
return arguments.length > 1 ? (g == null ? s.delete(m) : s.set(m, p(g)), t) : s.get(m);
|
|
33496
33499
|
},
|
|
33497
33500
|
find: function(m, g, b) {
|
|
33498
|
-
var v = 0, y = e.length, x, w,
|
|
33501
|
+
var v = 0, y = e.length, x, w, k, S, O;
|
|
33499
33502
|
for (b == null ? b = 1 / 0 : b *= b, v = 0; v < y; ++v)
|
|
33500
|
-
S = e[v], x = m - S.x, w = g - S.y,
|
|
33501
|
-
return
|
|
33503
|
+
S = e[v], x = m - S.x, w = g - S.y, k = x * x + w * w, k < b && (O = S, b = k);
|
|
33504
|
+
return O;
|
|
33502
33505
|
},
|
|
33503
33506
|
on: function(m, g) {
|
|
33504
33507
|
return arguments.length > 1 ? (u.on(m, g), t) : u.on(m);
|
|
@@ -34099,10 +34102,10 @@ function fp(e, t) {
|
|
|
34099
34102
|
};
|
|
34100
34103
|
}
|
|
34101
34104
|
function zB(e, t, n) {
|
|
34102
|
-
var r = e.x, i = e.y, a = e.r, o = t.x, s = t.y, l = t.r, u = n.x, c = n.y, f = n.r, d = r - o, h = r - u, p = i - s, m = i - c, g = l - a, b = f - a, v = r * r + i * i - a * a, y = v - o * o - s * s + l * l, x = v - u * u - c * c + f * f, w = h * p - d * m,
|
|
34105
|
+
var r = e.x, i = e.y, a = e.r, o = t.x, s = t.y, l = t.r, u = n.x, c = n.y, f = n.r, d = r - o, h = r - u, p = i - s, m = i - c, g = l - a, b = f - a, v = r * r + i * i - a * a, y = v - o * o - s * s + l * l, x = v - u * u - c * c + f * f, w = h * p - d * m, k = (p * x - m * y) / (w * 2) - r, S = (m * g - p * b) / w, O = (h * y - d * x) / (w * 2) - i, _ = (d * b - h * g) / w, C = S * S + _ * _ - 1, I = 2 * (a + k * S + O * _), R = k * k + O * O - a * a, N = -(Math.abs(C) > 1e-6 ? (I + Math.sqrt(I * I - 4 * C * R)) / (2 * C) : R / I);
|
|
34103
34106
|
return {
|
|
34104
|
-
x: r +
|
|
34105
|
-
y: i +
|
|
34107
|
+
x: r + k + S * N,
|
|
34108
|
+
y: i + O + _ * N,
|
|
34106
34109
|
r: N
|
|
34107
34110
|
};
|
|
34108
34111
|
}
|
|
@@ -34393,13 +34396,13 @@ function ew(e, t, n, r, i) {
|
|
|
34393
34396
|
}
|
|
34394
34397
|
var BB = (1 + Math.sqrt(5)) / 2;
|
|
34395
34398
|
function YB(e, t, n, r, i, a) {
|
|
34396
|
-
for (var o = [], s = t.children, l, u, c = 0, f = 0, d = s.length, h, p, m = t.value, g, b, v, y, x, w,
|
|
34399
|
+
for (var o = [], s = t.children, l, u, c = 0, f = 0, d = s.length, h, p, m = t.value, g, b, v, y, x, w, k; c < d; ) {
|
|
34397
34400
|
h = i - n, p = a - r;
|
|
34398
34401
|
do
|
|
34399
34402
|
g = s[f++].value;
|
|
34400
34403
|
while (!g && f < d);
|
|
34401
|
-
for (b = v = g, w = Math.max(p / h, h / p) / (m * e),
|
|
34402
|
-
if (g += u = s[f].value, u < b && (b = u), u > v && (v = u),
|
|
34404
|
+
for (b = v = g, w = Math.max(p / h, h / p) / (m * e), k = g * g * w, x = Math.max(v / k, k / b); f < d; ++f) {
|
|
34405
|
+
if (g += u = s[f].value, u < b && (b = u), u > v && (v = u), k = g * g * w, y = Math.max(v / k, k / b), y > x) {
|
|
34403
34406
|
g -= u;
|
|
34404
34407
|
break;
|
|
34405
34408
|
}
|
|
@@ -34459,18 +34462,18 @@ function iEe(e, t, n, r, i) {
|
|
|
34459
34462
|
v.x0 = p, v.y0 = m, v.x1 = g, v.y1 = b;
|
|
34460
34463
|
return;
|
|
34461
34464
|
}
|
|
34462
|
-
for (var y = u[f], x = h / 2 + y, w = f + 1,
|
|
34463
|
-
var S = w +
|
|
34464
|
-
u[S] < x ? w = S + 1 :
|
|
34465
|
+
for (var y = u[f], x = h / 2 + y, w = f + 1, k = d - 1; w < k; ) {
|
|
34466
|
+
var S = w + k >>> 1;
|
|
34467
|
+
u[S] < x ? w = S + 1 : k = S;
|
|
34465
34468
|
}
|
|
34466
34469
|
x - u[w - 1] < u[w] - x && f + 1 < w && --w;
|
|
34467
|
-
var
|
|
34470
|
+
var O = u[w] - y, _ = h - O;
|
|
34468
34471
|
if (g - p > b - m) {
|
|
34469
|
-
var
|
|
34470
|
-
c(f, w,
|
|
34472
|
+
var C = h ? (p * _ + g * O) / h : g;
|
|
34473
|
+
c(f, w, O, p, m, C, b), c(w, d, _, C, m, g, b);
|
|
34471
34474
|
} else {
|
|
34472
|
-
var
|
|
34473
|
-
c(f, w,
|
|
34475
|
+
var I = h ? (m * _ + b * O) / h : b;
|
|
34476
|
+
c(f, w, O, p, m, g, I), c(w, d, _, p, I, g, b);
|
|
34474
34477
|
}
|
|
34475
34478
|
}
|
|
34476
34479
|
}
|
|
@@ -34892,12 +34895,12 @@ function hEe(e, t) {
|
|
|
34892
34895
|
}
|
|
34893
34896
|
function pEe(e, t, n, r, i) {
|
|
34894
34897
|
const a = e.width, o = e.height, s = r || i, l = rl(a, o).getContext("2d"), u = rl(a, o).getContext("2d"), c = s && rl(a, o).getContext("2d");
|
|
34895
|
-
n.forEach((
|
|
34898
|
+
n.forEach((O) => rv(l, O, !1)), rv(u, t, !1), s && rv(c, t, !0);
|
|
34896
34899
|
const f = AS(l, a, o), d = AS(u, a, o), h = s && AS(c, a, o), p = e.bitmap(), m = s && e.bitmap();
|
|
34897
|
-
let g, b, v, y, x, w,
|
|
34900
|
+
let g, b, v, y, x, w, k, S;
|
|
34898
34901
|
for (b = 0; b < o; ++b)
|
|
34899
34902
|
for (g = 0; g < a; ++g)
|
|
34900
|
-
x = b * a + g, w = f[x] & DS, S = d[x] & DS,
|
|
34903
|
+
x = b * a + g, w = f[x] & DS, S = d[x] & DS, k = s && h[x] & DS, (w || k || S) && (v = e(g), y = e(b), !i && (w || S) && p.set(v, y), s && (w || k) && m.set(v, y));
|
|
34901
34904
|
return [p, m];
|
|
34902
34905
|
}
|
|
34903
34906
|
function AS(e, t, n) {
|
|
@@ -35021,17 +35024,17 @@ function yEe(e, t, n, r) {
|
|
|
35021
35024
|
}
|
|
35022
35025
|
return function(u) {
|
|
35023
35026
|
const c = u.datum.datum.items[r].items, f = c.length, d = u.datum.fontSize, h = fa.width(u.datum, u.datum.text);
|
|
35024
|
-
let p = n ? d : 0, m = !1, g = !1, b = 0, v, y, x, w,
|
|
35027
|
+
let p = n ? d : 0, m = !1, g = !1, b = 0, v, y, x, w, k, S, O, _, C, I, R, N, F, T, L, D, M;
|
|
35025
35028
|
for (let W = 0; W < f; ++W) {
|
|
35026
|
-
for (v = c[W].x, x = c[W].y, y = c[W].x2 === void 0 ? v : c[W].x2, w = c[W].y2 === void 0 ? x : c[W].y2, v > y && (M = v, v = y, y = M), x > w && (M = x, x = w, w = M),
|
|
35027
|
-
for (
|
|
35028
|
-
D = l(
|
|
35029
|
-
for (
|
|
35030
|
-
for (
|
|
35031
|
-
D = l(
|
|
35032
|
-
!m && !n && (L = Math.abs(y - v + w - x),
|
|
35029
|
+
for (v = c[W].x, x = c[W].y, y = c[W].x2 === void 0 ? v : c[W].x2, w = c[W].y2 === void 0 ? x : c[W].y2, v > y && (M = v, v = y, y = M), x > w && (M = x, x = w, w = M), C = e(v), R = e(y), I = ~~((C + R) / 2), N = e(x), T = e(w), F = ~~((N + T) / 2), O = I; O >= C; --O)
|
|
35030
|
+
for (_ = F; _ >= N; --_)
|
|
35031
|
+
D = l(O, _, p, h, d), D && ([u.x, u.y, p, m] = D);
|
|
35032
|
+
for (O = I; O <= R; ++O)
|
|
35033
|
+
for (_ = F; _ <= T; ++_)
|
|
35034
|
+
D = l(O, _, p, h, d), D && ([u.x, u.y, p, m] = D);
|
|
35035
|
+
!m && !n && (L = Math.abs(y - v + w - x), k = (v + y) / 2, S = (x + w) / 2, L >= b && !t1(k, S, h, d, i, a) && !Bs(e, k, S, d, h, d, o, null) && (b = L, u.x = k, u.y = S, g = !0));
|
|
35033
35036
|
}
|
|
35034
|
-
return m || g ? (
|
|
35037
|
+
return m || g ? (k = h / 2, S = d / 2, o.setRange(e(u.x - k), e(u.y - S), e(u.x + k), e(u.y + S)), u.align = "center", u.baseline = "middle", !0) : !1;
|
|
35035
35038
|
};
|
|
35036
35039
|
}
|
|
35037
35040
|
const xEe = [-1, -1, 1, 1], wEe = [-1, 1, -1, 1];
|
|
@@ -35039,22 +35042,22 @@ function SEe(e, t, n, r) {
|
|
|
35039
35042
|
const i = e.width, a = e.height, o = t[0], s = t[1], l = e.bitmap();
|
|
35040
35043
|
return function(u) {
|
|
35041
35044
|
const c = u.datum.datum.items[r].items, f = c.length, d = u.datum.fontSize, h = fa.width(u.datum, u.datum.text), p = [];
|
|
35042
|
-
let m = n ? d : 0, g = !1, b = !1, v = 0, y, x, w,
|
|
35045
|
+
let m = n ? d : 0, g = !1, b = !1, v = 0, y, x, w, k, S, O, _, C, I, R, N, F;
|
|
35043
35046
|
for (let T = 0; T < f; ++T) {
|
|
35044
|
-
for (y = c[T].x, w = c[T].y, x = c[T].x2 === void 0 ? y : c[T].x2,
|
|
35045
|
-
if ([
|
|
35046
|
-
l.set(
|
|
35047
|
+
for (y = c[T].x, w = c[T].y, x = c[T].x2 === void 0 ? y : c[T].x2, k = c[T].y2 === void 0 ? w : c[T].y2, p.push([e((y + x) / 2), e((w + k) / 2)]); p.length; )
|
|
35048
|
+
if ([_, C] = p.pop(), !(o.get(_, C) || s.get(_, C) || l.get(_, C))) {
|
|
35049
|
+
l.set(_, C);
|
|
35047
35050
|
for (let L = 0; L < 4; ++L)
|
|
35048
|
-
S =
|
|
35049
|
-
if (S = e.invert(
|
|
35050
|
-
for (; R -
|
|
35051
|
-
N = (
|
|
35052
|
-
|
|
35051
|
+
S = _ + xEe[L], O = C + wEe[L], l.outOfBounds(S, O, S, O) || p.push([S, O]);
|
|
35052
|
+
if (S = e.invert(_), O = e.invert(C), I = m, R = a, !t1(S, O, h, d, i, a) && !Bs(e, S, O, d, h, I, o, s) && !Bs(e, S, O, d, h, d, o, null)) {
|
|
35053
|
+
for (; R - I >= 1; )
|
|
35054
|
+
N = (I + R) / 2, Bs(e, S, O, d, h, N, o, s) ? R = N : I = N;
|
|
35055
|
+
I > m && (u.x = S, u.y = O, m = I, g = !0);
|
|
35053
35056
|
}
|
|
35054
35057
|
}
|
|
35055
|
-
!g && !n && (F = Math.abs(x - y +
|
|
35058
|
+
!g && !n && (F = Math.abs(x - y + k - w), S = (y + x) / 2, O = (w + k) / 2, F >= v && !t1(S, O, h, d, i, a) && !Bs(e, S, O, d, h, d, o, null) && (v = F, u.x = S, u.y = O, b = !0));
|
|
35056
35059
|
}
|
|
35057
|
-
return g || b ? (S = h / 2,
|
|
35060
|
+
return g || b ? (S = h / 2, O = d / 2, o.setRange(e(u.x - S), e(u.y - O), e(u.x + S), e(u.y + O)), u.align = "center", u.baseline = "middle", !0) : !1;
|
|
35058
35061
|
};
|
|
35059
35062
|
}
|
|
35060
35063
|
const EEe = ["right", "center", "left"], OEe = ["bottom", "middle", "top"];
|
|
@@ -35065,15 +35068,15 @@ function _Ee(e, t, n, r) {
|
|
|
35065
35068
|
const f = u.boundary, d = u.datum.fontSize;
|
|
35066
35069
|
if (f[2] < 0 || f[5] < 0 || f[0] > i || f[3] > a)
|
|
35067
35070
|
return !1;
|
|
35068
|
-
let h = (c = u.textWidth) !== null && c !== void 0 ? c : 0, p, m, g, b, v, y, x, w,
|
|
35071
|
+
let h = (c = u.textWidth) !== null && c !== void 0 ? c : 0, p, m, g, b, v, y, x, w, k, S, O, _, C, I, R;
|
|
35069
35072
|
for (let N = 0; N < l; ++N) {
|
|
35070
|
-
if (p = (n[N] & 3) - 1, m = (n[N] >>> 2 & 3) - 1, g = p === 0 && m === 0 || r[N] < 0, b = p && m ? Math.SQRT1_2 : 1, v = r[N] < 0 ? -1 : 1, y = f[1 + p] + r[N] * p * b,
|
|
35071
|
-
if (L9(
|
|
35073
|
+
if (p = (n[N] & 3) - 1, m = (n[N] >>> 2 & 3) - 1, g = p === 0 && m === 0 || r[N] < 0, b = p && m ? Math.SQRT1_2 : 1, v = r[N] < 0 ? -1 : 1, y = f[1 + p] + r[N] * p * b, O = f[4 + m] + v * d * m / 2 + r[N] * m * b, w = O - d / 2, k = O + d / 2, _ = e(y), I = e(w), R = e(k), !h)
|
|
35074
|
+
if (L9(_, _, I, R, o, s, y, y, w, k, f, g))
|
|
35072
35075
|
h = fa.width(u.datum, u.datum.text);
|
|
35073
35076
|
else
|
|
35074
35077
|
continue;
|
|
35075
|
-
if (S = y + v * h * p / 2, y = S - h / 2, x = S + h / 2,
|
|
35076
|
-
return u.x = p ? p * v < 0 ? x : y : S, u.y = m ? m * v < 0 ?
|
|
35078
|
+
if (S = y + v * h * p / 2, y = S - h / 2, x = S + h / 2, _ = e(y), C = e(x), L9(_, C, I, R, o, s, y, x, w, k, f, g))
|
|
35079
|
+
return u.x = p ? p * v < 0 ? x : y : S, u.y = m ? m * v < 0 ? k : w : O, u.align = EEe[p * v + 1], u.baseline = OEe[m * v + 1], o.setRange(_, I, C, R), !0;
|
|
35077
35080
|
}
|
|
35078
35081
|
return !1;
|
|
35079
35082
|
};
|
|
@@ -35101,32 +35104,32 @@ function IEe(e, t, n, r, i, a, o, s, l, u, c) {
|
|
|
35101
35104
|
return e;
|
|
35102
35105
|
const f = Math.max(r.length, i.length), d = NEe(r, f), h = REe(i, f), p = TEe(e[0].datum), m = p === "group" && e[0].datum.items[l].marktype, g = m === "area", b = FEe(p, m, s, l), v = u === null || u === 1 / 0, y = g && c === "naive";
|
|
35103
35106
|
let x = -1, w = -1;
|
|
35104
|
-
const
|
|
35105
|
-
const
|
|
35106
|
-
return x = Math.max(x,
|
|
35107
|
-
datum:
|
|
35107
|
+
const k = e.map((C) => {
|
|
35108
|
+
const I = v ? fa.width(C, C.text) : void 0;
|
|
35109
|
+
return x = Math.max(x, I), w = Math.max(w, C.fontSize), {
|
|
35110
|
+
datum: C,
|
|
35108
35111
|
opacity: 0,
|
|
35109
35112
|
x: void 0,
|
|
35110
35113
|
y: void 0,
|
|
35111
35114
|
align: void 0,
|
|
35112
35115
|
baseline: void 0,
|
|
35113
|
-
boundary: b(
|
|
35114
|
-
textWidth:
|
|
35116
|
+
boundary: b(C),
|
|
35117
|
+
textWidth: I
|
|
35115
35118
|
};
|
|
35116
35119
|
});
|
|
35117
35120
|
u = u === null || u === 1 / 0 ? Math.max(x, w) + Math.max(...r) : u;
|
|
35118
35121
|
const S = bEe(t[0], t[1], u);
|
|
35119
|
-
let
|
|
35122
|
+
let O;
|
|
35120
35123
|
if (!y) {
|
|
35121
|
-
n &&
|
|
35122
|
-
let
|
|
35123
|
-
for (let R = 0; R < h.length && !
|
|
35124
|
-
|
|
35125
|
-
const
|
|
35126
|
-
|
|
35124
|
+
n && k.sort((R, N) => n(R.datum, N.datum));
|
|
35125
|
+
let C = !1;
|
|
35126
|
+
for (let R = 0; R < h.length && !C; ++R)
|
|
35127
|
+
C = h[R] === 5 || d[R] < 0;
|
|
35128
|
+
const I = (p && o || g) && e.map((R) => R.datum);
|
|
35129
|
+
O = a.length || I ? pEe(S, I || [], a, C, g) : hEe(S, o && k);
|
|
35127
35130
|
}
|
|
35128
|
-
const
|
|
35129
|
-
return
|
|
35131
|
+
const _ = g ? CEe[c](S, O, o, l) : _Ee(S, O, h, d);
|
|
35132
|
+
return k.forEach((C) => C.opacity = +_(C)), k;
|
|
35130
35133
|
}
|
|
35131
35134
|
function NEe(e, t) {
|
|
35132
35135
|
const n = new Float64Array(t), r = e.length;
|
|
@@ -35414,17 +35417,17 @@ function wg(e) {
|
|
|
35414
35417
|
}
|
|
35415
35418
|
const ZEe = (3 + 16 * ts) * ts, GEe = (2 + 12 * ts) * ts, WEe = (9 + 64 * ts) * ts * ts, Jc = wg(4), D9 = wg(8), A9 = wg(12), M9 = wg(16), rr = wg(4);
|
|
35416
35419
|
function jEe(e, t, n, r, i, a, o) {
|
|
35417
|
-
let s, l, u, c, f, d, h, p, m, g, b, v, y, x, w,
|
|
35418
|
-
const
|
|
35419
|
-
x =
|
|
35420
|
+
let s, l, u, c, f, d, h, p, m, g, b, v, y, x, w, k, S, O;
|
|
35421
|
+
const _ = e - i, C = n - i, I = t - a, R = r - a;
|
|
35422
|
+
x = _ * R, d = An * _, h = d - (d - _), p = _ - h, d = An * R, m = d - (d - R), g = R - m, w = p * g - (x - h * m - p * m - h * g), k = I * C, d = An * I, h = d - (d - I), p = I - h, d = An * C, m = d - (d - C), g = C - m, S = p * g - (k - h * m - p * m - h * g), b = w - S, f = w - b, Jc[0] = w - (b + f) + (f - S), v = x + b, f = v - x, y = x - (v - f) + (b - f), b = y - k, f = y - b, Jc[1] = y - (b + f) + (f - k), O = v + b, f = O - v, Jc[2] = v - (O - f) + (b - f), Jc[3] = O;
|
|
35420
35423
|
let N = PEe(4, Jc), F = GEe * o;
|
|
35421
|
-
if (N >= F || -N >= F || (f = e -
|
|
35424
|
+
if (N >= F || -N >= F || (f = e - _, s = e - (_ + f) + (f - i), f = n - C, u = n - (C + f) + (f - i), f = t - I, l = t - (I + f) + (f - a), f = r - R, c = r - (R + f) + (f - a), s === 0 && l === 0 && u === 0 && c === 0) || (F = WEe * o + MEe * Math.abs(N), N += _ * c + R * s - (I * u + C * l), N >= F || -N >= F))
|
|
35422
35425
|
return N;
|
|
35423
|
-
x = s * R, d = An * s, h = d - (d - s), p = s - h, d = An * R, m = d - (d - R), g = R - m, w = p * g - (x - h * m - p * m - h * g),
|
|
35426
|
+
x = s * R, d = An * s, h = d - (d - s), p = s - h, d = An * R, m = d - (d - R), g = R - m, w = p * g - (x - h * m - p * m - h * g), k = l * C, d = An * l, h = d - (d - l), p = l - h, d = An * C, m = d - (d - C), g = C - m, S = p * g - (k - h * m - p * m - h * g), b = w - S, f = w - b, rr[0] = w - (b + f) + (f - S), v = x + b, f = v - x, y = x - (v - f) + (b - f), b = y - k, f = y - b, rr[1] = y - (b + f) + (f - k), O = v + b, f = O - v, rr[2] = v - (O - f) + (b - f), rr[3] = O;
|
|
35424
35427
|
const T = VS(4, Jc, 4, rr, D9);
|
|
35425
|
-
x =
|
|
35428
|
+
x = _ * c, d = An * _, h = d - (d - _), p = _ - h, d = An * c, m = d - (d - c), g = c - m, w = p * g - (x - h * m - p * m - h * g), k = I * u, d = An * I, h = d - (d - I), p = I - h, d = An * u, m = d - (d - u), g = u - m, S = p * g - (k - h * m - p * m - h * g), b = w - S, f = w - b, rr[0] = w - (b + f) + (f - S), v = x + b, f = v - x, y = x - (v - f) + (b - f), b = y - k, f = y - b, rr[1] = y - (b + f) + (f - k), O = v + b, f = O - v, rr[2] = v - (O - f) + (b - f), rr[3] = O;
|
|
35426
35429
|
const L = VS(T, D9, 4, rr, A9);
|
|
35427
|
-
x = s * c, d = An * s, h = d - (d - s), p = s - h, d = An * c, m = d - (d - c), g = c - m, w = p * g - (x - h * m - p * m - h * g),
|
|
35430
|
+
x = s * c, d = An * s, h = d - (d - s), p = s - h, d = An * c, m = d - (d - c), g = c - m, w = p * g - (x - h * m - p * m - h * g), k = l * u, d = An * l, h = d - (d - l), p = l - h, d = An * u, m = d - (d - u), g = u - m, S = p * g - (k - h * m - p * m - h * g), b = w - S, f = w - b, rr[0] = w - (b + f) + (f - S), v = x + b, f = v - x, y = x - (v - f) + (b - f), b = y - k, f = y - b, rr[1] = y - (b + f) + (f - k), O = v + b, f = O - v, rr[2] = v - (O - f) + (b - f), rr[3] = O;
|
|
35428
35431
|
const D = VS(L, A9, 4, rr, M9);
|
|
35429
35432
|
return M9[D - 1];
|
|
35430
35433
|
}
|
|
@@ -35456,59 +35459,59 @@ class n1 {
|
|
|
35456
35459
|
update() {
|
|
35457
35460
|
const { coords: t, _hullPrev: n, _hullNext: r, _hullTri: i, _hullHash: a } = this, o = t.length >> 1;
|
|
35458
35461
|
let s = 1 / 0, l = 1 / 0, u = -1 / 0, c = -1 / 0;
|
|
35459
|
-
for (let
|
|
35460
|
-
const
|
|
35461
|
-
|
|
35462
|
+
for (let C = 0; C < o; C++) {
|
|
35463
|
+
const I = t[2 * C], R = t[2 * C + 1];
|
|
35464
|
+
I < s && (s = I), R < l && (l = R), I > u && (u = I), R > c && (c = R), this._ids[C] = C;
|
|
35462
35465
|
}
|
|
35463
35466
|
const f = (s + u) / 2, d = (l + c) / 2;
|
|
35464
35467
|
let h = 1 / 0, p, m, g;
|
|
35465
|
-
for (let
|
|
35466
|
-
const
|
|
35467
|
-
|
|
35468
|
+
for (let C = 0; C < o; C++) {
|
|
35469
|
+
const I = $S(f, d, t[2 * C], t[2 * C + 1]);
|
|
35470
|
+
I < h && (p = C, h = I);
|
|
35468
35471
|
}
|
|
35469
35472
|
const b = t[2 * p], v = t[2 * p + 1];
|
|
35470
35473
|
h = 1 / 0;
|
|
35471
|
-
for (let
|
|
35472
|
-
if (
|
|
35474
|
+
for (let C = 0; C < o; C++) {
|
|
35475
|
+
if (C === p)
|
|
35473
35476
|
continue;
|
|
35474
|
-
const
|
|
35475
|
-
|
|
35477
|
+
const I = $S(b, v, t[2 * C], t[2 * C + 1]);
|
|
35478
|
+
I < h && I > 0 && (m = C, h = I);
|
|
35476
35479
|
}
|
|
35477
35480
|
let y = t[2 * m], x = t[2 * m + 1], w = 1 / 0;
|
|
35478
|
-
for (let
|
|
35479
|
-
if (
|
|
35481
|
+
for (let C = 0; C < o; C++) {
|
|
35482
|
+
if (C === p || C === m)
|
|
35480
35483
|
continue;
|
|
35481
|
-
const
|
|
35482
|
-
|
|
35484
|
+
const I = zEe(b, v, y, x, t[2 * C], t[2 * C + 1]);
|
|
35485
|
+
I < w && (g = C, w = I);
|
|
35483
35486
|
}
|
|
35484
|
-
let
|
|
35487
|
+
let k = t[2 * g], S = t[2 * g + 1];
|
|
35485
35488
|
if (w === 1 / 0) {
|
|
35486
35489
|
for (let R = 0; R < o; R++)
|
|
35487
35490
|
this._dists[R] = t[2 * R] - t[0] || t[2 * R + 1] - t[1];
|
|
35488
35491
|
bf(this._ids, this._dists, 0, o - 1);
|
|
35489
|
-
const
|
|
35490
|
-
let
|
|
35492
|
+
const C = new Uint32Array(o);
|
|
35493
|
+
let I = 0;
|
|
35491
35494
|
for (let R = 0, N = -1 / 0; R < o; R++) {
|
|
35492
35495
|
const F = this._ids[R];
|
|
35493
|
-
this._dists[F] > N && (I
|
|
35496
|
+
this._dists[F] > N && (C[I++] = F, N = this._dists[F]);
|
|
35494
35497
|
}
|
|
35495
|
-
this.hull =
|
|
35498
|
+
this.hull = C.subarray(0, I), this.triangles = new Uint32Array(0), this.halfedges = new Uint32Array(0);
|
|
35496
35499
|
return;
|
|
35497
35500
|
}
|
|
35498
|
-
if (M0(b, v, y, x,
|
|
35499
|
-
const
|
|
35500
|
-
m = g, y =
|
|
35501
|
+
if (M0(b, v, y, x, k, S) < 0) {
|
|
35502
|
+
const C = m, I = y, R = x;
|
|
35503
|
+
m = g, y = k, x = S, g = C, k = I, S = R;
|
|
35501
35504
|
}
|
|
35502
|
-
const
|
|
35503
|
-
this._cx =
|
|
35504
|
-
for (let
|
|
35505
|
-
this._dists[
|
|
35505
|
+
const O = XEe(b, v, y, x, k, S);
|
|
35506
|
+
this._cx = O.x, this._cy = O.y;
|
|
35507
|
+
for (let C = 0; C < o; C++)
|
|
35508
|
+
this._dists[C] = $S(t[2 * C], t[2 * C + 1], O.x, O.y);
|
|
35506
35509
|
bf(this._ids, this._dists, 0, o - 1), this._hullStart = p;
|
|
35507
|
-
let
|
|
35508
|
-
r[p] = n[g] = m, r[m] = n[p] = g, r[g] = n[m] = p, i[p] = 0, i[m] = 1, i[g] = 2, a.fill(-1), a[this._hashKey(b, v)] = p, a[this._hashKey(y, x)] = m, a[this._hashKey(
|
|
35509
|
-
for (let
|
|
35510
|
-
const N = this._ids[
|
|
35511
|
-
if (
|
|
35510
|
+
let _ = 3;
|
|
35511
|
+
r[p] = n[g] = m, r[m] = n[p] = g, r[g] = n[m] = p, i[p] = 0, i[m] = 1, i[g] = 2, a.fill(-1), a[this._hashKey(b, v)] = p, a[this._hashKey(y, x)] = m, a[this._hashKey(k, S)] = g, this.trianglesLen = 0, this._addTriangle(p, m, g, -1, -1, -1);
|
|
35512
|
+
for (let C = 0, I, R; C < this._ids.length; C++) {
|
|
35513
|
+
const N = this._ids[C], F = t[2 * N], T = t[2 * N + 1];
|
|
35514
|
+
if (C > 0 && Math.abs(F - I) <= P9 && Math.abs(T - R) <= P9 || (I = F, R = T, N === p || N === m || N === g))
|
|
35512
35515
|
continue;
|
|
35513
35516
|
let L = 0;
|
|
35514
35517
|
for (let V = 0, j = this._hashKey(F, T); V < this._hashSize && (L = a[(j + V) % this._hashSize], !(L !== -1 && L !== r[L])); V++)
|
|
@@ -35523,18 +35526,18 @@ class n1 {
|
|
|
35523
35526
|
if (D === -1)
|
|
35524
35527
|
continue;
|
|
35525
35528
|
let W = this._addTriangle(D, N, r[D], -1, -1, i[D]);
|
|
35526
|
-
i[N] = this._legalize(W + 2), i[D] = W,
|
|
35529
|
+
i[N] = this._legalize(W + 2), i[D] = W, _++;
|
|
35527
35530
|
let Z = r[D];
|
|
35528
35531
|
for (; M = r[Z], M0(F, T, t[2 * Z], t[2 * Z + 1], t[2 * M], t[2 * M + 1]) < 0; )
|
|
35529
|
-
W = this._addTriangle(Z, N, M, i[N], -1, i[Z]), i[N] = this._legalize(W + 2), r[Z] = Z,
|
|
35532
|
+
W = this._addTriangle(Z, N, M, i[N], -1, i[Z]), i[N] = this._legalize(W + 2), r[Z] = Z, _--, Z = M;
|
|
35530
35533
|
if (D === L)
|
|
35531
35534
|
for (; M = n[D], M0(F, T, t[2 * M], t[2 * M + 1], t[2 * D], t[2 * D + 1]) < 0; )
|
|
35532
|
-
W = this._addTriangle(M, N, D, -1, i[D], i[M]), this._legalize(W + 2), i[M] = W, r[D] = D,
|
|
35535
|
+
W = this._addTriangle(M, N, D, -1, i[D], i[M]), this._legalize(W + 2), i[M] = W, r[D] = D, _--, D = M;
|
|
35533
35536
|
this._hullStart = n[N] = D, r[D] = n[Z] = N, r[N] = Z, a[this._hashKey(F, T)] = N, a[this._hashKey(t[2 * D], t[2 * D + 1])] = D;
|
|
35534
35537
|
}
|
|
35535
|
-
this.hull = new Uint32Array(
|
|
35536
|
-
for (let
|
|
35537
|
-
this.hull[
|
|
35538
|
+
this.hull = new Uint32Array(_);
|
|
35539
|
+
for (let C = 0, I = this._hullStart; C < _; C++)
|
|
35540
|
+
this.hull[C] = I, I = r[I];
|
|
35538
35541
|
this.triangles = this._triangles.subarray(0, this.trianglesLen), this.halfedges = this._halfedges.subarray(0, this.trianglesLen);
|
|
35539
35542
|
}
|
|
35540
35543
|
_hashKey(t, n) {
|
|
@@ -35710,14 +35713,14 @@ let HEe = class {
|
|
|
35710
35713
|
_init() {
|
|
35711
35714
|
const { delaunay: { points: t, hull: n, triangles: r }, vectors: i } = this, a = this.circumcenters = this._circumcenters.subarray(0, r.length / 3 * 2);
|
|
35712
35715
|
for (let h = 0, p = 0, m = r.length, g, b; h < m; h += 3, p += 2) {
|
|
35713
|
-
const v = r[h] * 2, y = r[h + 1] * 2, x = r[h + 2] * 2, w = t[v],
|
|
35716
|
+
const v = r[h] * 2, y = r[h + 1] * 2, x = r[h + 2] * 2, w = t[v], k = t[v + 1], S = t[y], O = t[y + 1], _ = t[x], C = t[x + 1], I = S - w, R = O - k, N = _ - w, F = C - k, T = (I * F - R * N) * 2;
|
|
35714
35717
|
if (Math.abs(T) < 1e-9) {
|
|
35715
35718
|
let L = 1e9;
|
|
35716
35719
|
const D = r[0] * 2;
|
|
35717
|
-
L *= Math.sign((t[D] - w) * F - (t[D + 1] -
|
|
35720
|
+
L *= Math.sign((t[D] - w) * F - (t[D + 1] - k) * N), g = (w + _) / 2 - L * F, b = (k + C) / 2 + L * N;
|
|
35718
35721
|
} else {
|
|
35719
|
-
const L = 1 / T, D =
|
|
35720
|
-
g = w + (F * D - R * M) * L, b =
|
|
35722
|
+
const L = 1 / T, D = I * I + R * R, M = N * N + F * F;
|
|
35723
|
+
g = w + (F * D - R * M) * L, b = k + (I * M - N * D) * L;
|
|
35721
35724
|
}
|
|
35722
35725
|
a[p] = g, a[p + 1] = b;
|
|
35723
35726
|
}
|
|
@@ -36162,14 +36165,14 @@ var zS = Math.PI / 180, dp = 1 << 11 >> 5, iv = 1 << 11;
|
|
|
36162
36165
|
function a5e() {
|
|
36163
36166
|
var e = [256, 256], t, n, r, i, a, o, s, l = JB, u = [], c = Math.random, f = {};
|
|
36164
36167
|
f.layout = function() {
|
|
36165
|
-
for (var p = d(rl()), m = f5e((e[0] >> 5) * e[1]), g = null, b = u.length, v = -1, y = [], x = u.map((
|
|
36166
|
-
text: t(
|
|
36167
|
-
font: n(
|
|
36168
|
-
style: i(
|
|
36169
|
-
weight: a(
|
|
36170
|
-
rotate: o(
|
|
36171
|
-
size: ~~(r(
|
|
36172
|
-
padding: s(
|
|
36168
|
+
for (var p = d(rl()), m = f5e((e[0] >> 5) * e[1]), g = null, b = u.length, v = -1, y = [], x = u.map((k) => ({
|
|
36169
|
+
text: t(k),
|
|
36170
|
+
font: n(k),
|
|
36171
|
+
style: i(k),
|
|
36172
|
+
weight: a(k),
|
|
36173
|
+
rotate: o(k),
|
|
36174
|
+
size: ~~(r(k) + 1e-14),
|
|
36175
|
+
padding: s(k),
|
|
36173
36176
|
xoff: 0,
|
|
36174
36177
|
yoff: 0,
|
|
36175
36178
|
x1: 0,
|
|
@@ -36178,8 +36181,8 @@ function a5e() {
|
|
|
36178
36181
|
y0: 0,
|
|
36179
36182
|
hasText: !1,
|
|
36180
36183
|
sprite: null,
|
|
36181
|
-
datum:
|
|
36182
|
-
})).sort((
|
|
36184
|
+
datum: k
|
|
36185
|
+
})).sort((k, S) => S.size - k.size); ++v < b; ) {
|
|
36183
36186
|
var w = x[v];
|
|
36184
36187
|
w.x = e[0] * (c() + 0.5) >> 1, w.y = e[1] * (c() + 0.5) >> 1, o5e(p, w, x, v), w.hasText && h(m, w, g) && (y.push(w), g ? l5e(g, w) : g = [{
|
|
36185
36188
|
x: w.x + w.x0,
|
|
@@ -36202,12 +36205,12 @@ function a5e() {
|
|
|
36202
36205
|
};
|
|
36203
36206
|
}
|
|
36204
36207
|
function h(p, m, g) {
|
|
36205
|
-
for (var b = m.x, v = m.y, y = Math.sqrt(e[0] * e[0] + e[1] * e[1]), x = l(e), w = c() < 0.5 ? 1 : -1,
|
|
36206
|
-
if (m.x = b +
|
|
36207
|
-
for (var
|
|
36208
|
+
for (var b = m.x, v = m.y, y = Math.sqrt(e[0] * e[0] + e[1] * e[1]), x = l(e), w = c() < 0.5 ? 1 : -1, k = -w, S, O, _; (S = x(k += w)) && (O = ~~S[0], _ = ~~S[1], !(Math.min(Math.abs(O), Math.abs(_)) >= y)); )
|
|
36209
|
+
if (m.x = b + O, m.y = v + _, !(m.x + m.x0 < 0 || m.y + m.y0 < 0 || m.x + m.x1 > e[0] || m.y + m.y1 > e[1]) && (!g || !s5e(m, p, e[0])) && (!g || u5e(m, g))) {
|
|
36210
|
+
for (var C = m.sprite, I = m.width >> 5, R = e[0] >> 5, N = m.x - (I << 4), F = N & 127, T = 32 - F, L = m.y1 - m.y0, D = (m.y + m.y0) * R + (N >> 5), M, W = 0; W < L; W++) {
|
|
36208
36211
|
M = 0;
|
|
36209
|
-
for (var Z = 0; Z <=
|
|
36210
|
-
p[D + Z] |= M << T | (Z <
|
|
36212
|
+
for (var Z = 0; Z <= I; Z++)
|
|
36213
|
+
p[D + Z] |= M << T | (Z < I ? (M = C[W * I + Z]) >>> F : 0);
|
|
36211
36214
|
D += R;
|
|
36212
36215
|
}
|
|
36213
36216
|
return m.sprite = null, !0;
|
|
@@ -36253,22 +36256,22 @@ function o5e(e, t, n, r) {
|
|
|
36253
36256
|
break;
|
|
36254
36257
|
i.translate((o + (c >> 1)) / a, (s + (d >> 1)) / a), t.rotate && i.rotate(t.rotate * zS), i.fillText(t.text, 0, 0), t.padding && (i.lineWidth = 2 * t.padding, i.strokeText(t.text, 0, 0)), i.restore(), t.width = c, t.height = d, t.xoff = o, t.yoff = s, t.x1 = c >> 1, t.y1 = d >> 1, t.x0 = -t.x1, t.y0 = -t.y1, t.hasText = !0, o += c;
|
|
36255
36258
|
}
|
|
36256
|
-
for (var w = i.getImageData(0, 0, (dp << 5) / a, iv / a).data,
|
|
36259
|
+
for (var w = i.getImageData(0, 0, (dp << 5) / a, iv / a).data, k = []; --r >= 0; )
|
|
36257
36260
|
if (t = n[r], !!t.hasText) {
|
|
36258
36261
|
for (c = t.width, f = c >> 5, d = t.y1 - t.y0, h = 0; h < d * f; h++)
|
|
36259
|
-
|
|
36262
|
+
k[h] = 0;
|
|
36260
36263
|
if (o = t.xoff, o == null)
|
|
36261
36264
|
return;
|
|
36262
36265
|
s = t.yoff;
|
|
36263
|
-
var S = 0,
|
|
36266
|
+
var S = 0, O = -1;
|
|
36264
36267
|
for (p = 0; p < d; p++) {
|
|
36265
36268
|
for (h = 0; h < c; h++) {
|
|
36266
|
-
var
|
|
36267
|
-
|
|
36269
|
+
var _ = f * p + (h >> 5), C = w[(s + p) * (dp << 5) + (o + h) << 2] ? 1 << 31 - h % 32 : 0;
|
|
36270
|
+
k[_] |= C, S |= C;
|
|
36268
36271
|
}
|
|
36269
|
-
S ?
|
|
36272
|
+
S ? O = p : (t.y0++, d--, p--, s++);
|
|
36270
36273
|
}
|
|
36271
|
-
t.y1 = t.y0 +
|
|
36274
|
+
t.y1 = t.y0 + O, t.sprite = k.slice(0, (t.y1 - t.y0) * f);
|
|
36272
36275
|
}
|
|
36273
36276
|
}
|
|
36274
36277
|
}
|
|
@@ -36588,13 +36591,13 @@ ae(eR, B, {
|
|
|
36588
36591
|
},
|
|
36589
36592
|
reinit(e, t) {
|
|
36590
36593
|
const n = t.materialize().fork(), r = e.fields, i = e.query, a = this._indices, o = this._dims, s = this.value, l = s.curr(), u = s.prev(), c = s.all(), f = n.rem = n.add, d = n.mod, h = i.length, p = {};
|
|
36591
|
-
let m, g, b, v, y, x, w,
|
|
36594
|
+
let m, g, b, v, y, x, w, k, S;
|
|
36592
36595
|
if (u.set(l), t.rem.length && (y = this.remove(e, t, n)), t.add.length && s.add(t.add), t.mod.length)
|
|
36593
|
-
for (x = {}, v = t.mod, w = 0,
|
|
36596
|
+
for (x = {}, v = t.mod, w = 0, k = v.length; w < k; ++w)
|
|
36594
36597
|
x[v[w]._index] = 1;
|
|
36595
36598
|
for (w = 0; w < h; ++w)
|
|
36596
36599
|
S = r[w], (!o[w] || e.modified("fields", w) || t.modified(S.fields)) && (b = S.fname, (m = p[b]) || (a[b] = g = W9(), p[b] = m = g.insert(S, t.source, 0)), o[w] = G9(g, w, i[w]).onAdd(m, l));
|
|
36597
|
-
for (w = 0,
|
|
36600
|
+
for (w = 0, k = s.data().length; w < k; ++w)
|
|
36598
36601
|
y[w] || (u[w] !== l[w] ? f.push(w) : x[w] && l[w] !== c && d.push(w));
|
|
36599
36602
|
return s.mask = (1 << h) - 1, n;
|
|
36600
36603
|
},
|
|
@@ -37655,24 +37658,24 @@ function XOe(e, t) {
|
|
|
37655
37658
|
}, t));
|
|
37656
37659
|
}
|
|
37657
37660
|
function BOe(e, t, n, r) {
|
|
37658
|
-
for (var i = this.context.data[e], a = i ? i.values.value : [], o = {}, s = {}, l = {}, u, c, f, d, h, p, m, g, b, v, y = a.length, x = 0, w,
|
|
37661
|
+
for (var i = this.context.data[e], a = i ? i.values.value : [], o = {}, s = {}, l = {}, u, c, f, d, h, p, m, g, b, v, y = a.length, x = 0, w, k; x < y; ++x)
|
|
37659
37662
|
if (u = a[x], d = u.unit, c = u.fields, f = u.values, c && f) {
|
|
37660
|
-
for (w = 0,
|
|
37663
|
+
for (w = 0, k = c.length; w < k; ++w)
|
|
37661
37664
|
h = c[w], m = o[h.field] || (o[h.field] = {}), g = m[d] || (m[d] = []), l[h.field] = b = h.type.charAt(0), v = HS["".concat(b, "_union")], m[d] = v(g, he(f[w]));
|
|
37662
|
-
n && (g = s[d] || (s[d] = []), g.push(he(f).reduce((S,
|
|
37665
|
+
n && (g = s[d] || (s[d] = []), g.push(he(f).reduce((S, O, _) => (S[c[_].field] = O, S), {})));
|
|
37663
37666
|
} else
|
|
37664
37667
|
h = Wa, p = hm(u), m = o[h] || (o[h] = {}), g = m[d] || (m[d] = []), g.push(p), n && (g = s[d] || (s[d] = []), g.push({
|
|
37665
37668
|
[Wa]: p
|
|
37666
37669
|
}));
|
|
37667
37670
|
if (t = t || U9, o[Wa] ? o[Wa] = HS["".concat(Wa, "_").concat(t)](...Object.values(o[Wa])) : Object.keys(o).forEach((S) => {
|
|
37668
|
-
o[S] = Object.keys(o[S]).map((
|
|
37671
|
+
o[S] = Object.keys(o[S]).map((O) => o[S][O]).reduce((O, _) => O === void 0 ? _ : HS["".concat(l[S], "_").concat(t)](O, _));
|
|
37669
37672
|
}), a = Object.keys(s), n && a.length) {
|
|
37670
37673
|
const S = r ? DOe : LOe;
|
|
37671
37674
|
o[S] = t === U9 ? {
|
|
37672
|
-
[K9]: a.reduce((
|
|
37675
|
+
[K9]: a.reduce((O, _) => (O.push(...s[_]), O), [])
|
|
37673
37676
|
} : {
|
|
37674
|
-
[AOe]: a.map((
|
|
37675
|
-
[K9]: s[
|
|
37677
|
+
[AOe]: a.map((O) => ({
|
|
37678
|
+
[K9]: s[O]
|
|
37676
37679
|
}))
|
|
37677
37680
|
};
|
|
37678
37681
|
}
|
|
@@ -39942,21 +39945,21 @@ function gNe(e, t, n, r, i) {
|
|
|
39942
39945
|
opacity: He
|
|
39943
39946
|
}
|
|
39944
39947
|
};
|
|
39945
|
-
let w = null,
|
|
39946
|
-
e.fill || (w = t.symbolBaseFillColor,
|
|
39948
|
+
let w = null, k = null;
|
|
39949
|
+
e.fill || (w = t.symbolBaseFillColor, k = t.symbolBaseStrokeColor), Tn(g, {
|
|
39947
39950
|
fill: a("symbolFillColor", w),
|
|
39948
39951
|
shape: a("symbolType"),
|
|
39949
39952
|
size: a("symbolSize"),
|
|
39950
|
-
stroke: a("symbolStrokeColor",
|
|
39953
|
+
stroke: a("symbolStrokeColor", k),
|
|
39951
39954
|
strokeDash: a("symbolDash"),
|
|
39952
39955
|
strokeDashOffset: a("symbolDashOffset"),
|
|
39953
39956
|
strokeWidth: a("symbolStrokeWidth")
|
|
39954
39957
|
}, {
|
|
39955
39958
|
// update
|
|
39956
39959
|
opacity: a("symbolOpacity")
|
|
39957
|
-
}), _R.forEach((
|
|
39958
|
-
e[
|
|
39959
|
-
scale: e[
|
|
39960
|
+
}), _R.forEach((C) => {
|
|
39961
|
+
e[C] && (v[C] = b[C] = {
|
|
39962
|
+
scale: e[C],
|
|
39960
39963
|
field: Ci
|
|
39961
39964
|
});
|
|
39962
39965
|
});
|
|
@@ -39967,13 +39970,13 @@ function gNe(e, t, n, r, i) {
|
|
|
39967
39970
|
from: f,
|
|
39968
39971
|
clip: u ? !0 : void 0,
|
|
39969
39972
|
encode: g
|
|
39970
|
-
}, n.symbols),
|
|
39971
|
-
|
|
39973
|
+
}, n.symbols), O = fn(c);
|
|
39974
|
+
O.offset = a("labelOffset"), g = {
|
|
39972
39975
|
enter: b = {
|
|
39973
39976
|
opacity: He,
|
|
39974
39977
|
x: {
|
|
39975
39978
|
signal: d,
|
|
39976
|
-
offset:
|
|
39979
|
+
offset: O
|
|
39977
39980
|
},
|
|
39978
39981
|
y: h
|
|
39979
39982
|
},
|
|
@@ -39999,7 +40002,7 @@ function gNe(e, t, n, r, i) {
|
|
|
39999
40002
|
fontWeight: a("labelFontWeight"),
|
|
40000
40003
|
limit: a("labelLimit")
|
|
40001
40004
|
});
|
|
40002
|
-
const
|
|
40005
|
+
const _ = li({
|
|
40003
40006
|
type: Tc,
|
|
40004
40007
|
role: V7,
|
|
40005
40008
|
style: kg,
|
|
@@ -40043,7 +40046,7 @@ function gNe(e, t, n, r, i) {
|
|
|
40043
40046
|
role: xR,
|
|
40044
40047
|
from: r,
|
|
40045
40048
|
encode: Jd(g, o, Cg),
|
|
40046
|
-
marks: [S,
|
|
40049
|
+
marks: [S, _],
|
|
40047
40050
|
name: l,
|
|
40048
40051
|
interactive: s,
|
|
40049
40052
|
sort: x
|
|
@@ -40354,9 +40357,9 @@ function mw(e, t) {
|
|
|
40354
40357
|
l = c = t.add(K7(B7(e.encode, e.type, n, e.style, t, {
|
|
40355
40358
|
mod: !1,
|
|
40356
40359
|
pulse: b
|
|
40357
|
-
}))), l.params.parent = t.encode(), e.transform && e.transform.forEach((
|
|
40358
|
-
const S = RR(
|
|
40359
|
-
(
|
|
40360
|
+
}))), l.params.parent = t.encode(), e.transform && e.transform.forEach((k) => {
|
|
40361
|
+
const S = RR(k, t), O = S.metadata;
|
|
40362
|
+
(O.generates || O.changes) && U("Mark transforms should not generate new data."), O.nomod || (c.params.mod = !0), S.params.pulse = we(l), t.add(l = S);
|
|
40360
40363
|
}), e.sort && (l = t.add(LIe({
|
|
40361
40364
|
sort: t.compareRef(e.sort),
|
|
40362
40365
|
pulse: we(l)
|
|
@@ -40378,8 +40381,8 @@ function mw(e, t) {
|
|
|
40378
40381
|
})), w = t.add(Rc({
|
|
40379
40382
|
pulse: we(x)
|
|
40380
40383
|
}, void 0, t.parent()));
|
|
40381
|
-
e.name != null && (f = e.name, t.addData(f, new lc(t, u, x, w)), e.on && e.on.forEach((
|
|
40382
|
-
(
|
|
40384
|
+
e.name != null && (f = e.name, t.addData(f, new lc(t, u, x, w)), e.on && e.on.forEach((k) => {
|
|
40385
|
+
(k.insert || k.remove || k.toggle) && U("Marks only support modify triggers."), fY(k, t, f);
|
|
40383
40386
|
}));
|
|
40384
40387
|
}
|
|
40385
40388
|
function ZNe(e, t, n) {
|
|
@@ -40922,7 +40925,7 @@ function dRe(e, t, n, r, i, a) {
|
|
|
40922
40925
|
opacity: He,
|
|
40923
40926
|
x: dn(s, b, g),
|
|
40924
40927
|
y: da(s, b, g)
|
|
40925
|
-
},
|
|
40928
|
+
}, k = {
|
|
40926
40929
|
enter: w,
|
|
40927
40930
|
update: m = {
|
|
40928
40931
|
opacity: Ii,
|
|
@@ -40940,10 +40943,10 @@ function dRe(e, t, n, r, i, a) {
|
|
|
40940
40943
|
y: w.y
|
|
40941
40944
|
}
|
|
40942
40945
|
};
|
|
40943
|
-
Tn(
|
|
40946
|
+
Tn(k, {
|
|
40944
40947
|
dx: !d && p ? dn(s, x) : null,
|
|
40945
40948
|
dy: !h && p ? da(s, x) : null
|
|
40946
|
-
}), Tn(
|
|
40949
|
+
}), Tn(k, {
|
|
40947
40950
|
angle: o("labelAngle"),
|
|
40948
40951
|
fill: o("labelColor"),
|
|
40949
40952
|
fillOpacity: o("labelOpacity"),
|
|
@@ -40958,10 +40961,10 @@ function dRe(e, t, n, r, i, a) {
|
|
|
40958
40961
|
baseline: h
|
|
40959
40962
|
});
|
|
40960
40963
|
const S = o("labelBound");
|
|
40961
|
-
let
|
|
40962
|
-
return
|
|
40964
|
+
let O = o("labelOverlap");
|
|
40965
|
+
return O = O || S ? {
|
|
40963
40966
|
separation: o("labelSeparation"),
|
|
40964
|
-
method:
|
|
40967
|
+
method: O,
|
|
40965
40968
|
order: "datum.index",
|
|
40966
40969
|
bound: S ? {
|
|
40967
40970
|
scale: l,
|
|
@@ -40974,8 +40977,8 @@ function dRe(e, t, n, r, i, a) {
|
|
|
40974
40977
|
style: kg,
|
|
40975
40978
|
key: Ci,
|
|
40976
40979
|
from: r,
|
|
40977
|
-
encode:
|
|
40978
|
-
overlap:
|
|
40980
|
+
encode: k,
|
|
40981
|
+
overlap: O
|
|
40979
40982
|
}, n);
|
|
40980
40983
|
}
|
|
40981
40984
|
function hRe(e, t, n, r) {
|
|
@@ -42224,12 +42227,12 @@ var jO = {}, aTe = {
|
|
|
42224
42227
|
typeof h == "object" && (p = h.depth, m = h.prototype, g = h.includeNonEnumerable, h = h.circular);
|
|
42225
42228
|
var b = [], v = [], y = typeof Buffer < "u";
|
|
42226
42229
|
typeof h > "u" && (h = !0), typeof p > "u" && (p = 1 / 0);
|
|
42227
|
-
function x(w,
|
|
42230
|
+
function x(w, k) {
|
|
42228
42231
|
if (w === null)
|
|
42229
42232
|
return null;
|
|
42230
|
-
if (
|
|
42233
|
+
if (k === 0)
|
|
42231
42234
|
return w;
|
|
42232
|
-
var S,
|
|
42235
|
+
var S, O;
|
|
42233
42236
|
if (typeof w != "object")
|
|
42234
42237
|
return w;
|
|
42235
42238
|
if (n(w, r))
|
|
@@ -42239,9 +42242,9 @@ var jO = {}, aTe = {
|
|
|
42239
42242
|
else if (n(w, a))
|
|
42240
42243
|
S = new a(function(D, M) {
|
|
42241
42244
|
w.then(function(W) {
|
|
42242
|
-
D(x(W,
|
|
42245
|
+
D(x(W, k - 1));
|
|
42243
42246
|
}, function(W) {
|
|
42244
|
-
M(x(W,
|
|
42247
|
+
M(x(W, k - 1));
|
|
42245
42248
|
});
|
|
42246
42249
|
});
|
|
42247
42250
|
else if (o.__isArray(w))
|
|
@@ -42253,36 +42256,36 @@ var jO = {}, aTe = {
|
|
|
42253
42256
|
else {
|
|
42254
42257
|
if (y && Buffer.isBuffer(w))
|
|
42255
42258
|
return Buffer.allocUnsafe ? S = Buffer.allocUnsafe(w.length) : S = new Buffer(w.length), w.copy(S), S;
|
|
42256
|
-
n(w, Error) ? S = Object.create(w) : typeof m > "u" ? (
|
|
42259
|
+
n(w, Error) ? S = Object.create(w) : typeof m > "u" ? (O = Object.getPrototypeOf(w), S = Object.create(O)) : (S = Object.create(m), O = m);
|
|
42257
42260
|
}
|
|
42258
42261
|
if (h) {
|
|
42259
|
-
var
|
|
42260
|
-
if (
|
|
42261
|
-
return v[
|
|
42262
|
+
var _ = b.indexOf(w);
|
|
42263
|
+
if (_ != -1)
|
|
42264
|
+
return v[_];
|
|
42262
42265
|
b.push(w), v.push(S);
|
|
42263
42266
|
}
|
|
42264
42267
|
n(w, r) && w.forEach(function(D, M) {
|
|
42265
|
-
var W = x(M,
|
|
42268
|
+
var W = x(M, k - 1), Z = x(D, k - 1);
|
|
42266
42269
|
S.set(W, Z);
|
|
42267
42270
|
}), n(w, i) && w.forEach(function(D) {
|
|
42268
|
-
var M = x(D,
|
|
42271
|
+
var M = x(D, k - 1);
|
|
42269
42272
|
S.add(M);
|
|
42270
42273
|
});
|
|
42271
|
-
for (var
|
|
42272
|
-
var
|
|
42273
|
-
|
|
42274
|
+
for (var C in w) {
|
|
42275
|
+
var I;
|
|
42276
|
+
O && (I = Object.getOwnPropertyDescriptor(O, C)), !(I && I.set == null) && (S[C] = x(w[C], k - 1));
|
|
42274
42277
|
}
|
|
42275
42278
|
if (Object.getOwnPropertySymbols)
|
|
42276
|
-
for (var R = Object.getOwnPropertySymbols(w),
|
|
42277
|
-
var N = R[
|
|
42278
|
-
F && !F.enumerable && !g || (S[N] = x(w[N],
|
|
42279
|
+
for (var R = Object.getOwnPropertySymbols(w), C = 0; C < R.length; C++) {
|
|
42280
|
+
var N = R[C], F = Object.getOwnPropertyDescriptor(w, N);
|
|
42281
|
+
F && !F.enumerable && !g || (S[N] = x(w[N], k - 1), F.enumerable || Object.defineProperty(S, N, {
|
|
42279
42282
|
enumerable: !1
|
|
42280
42283
|
}));
|
|
42281
42284
|
}
|
|
42282
42285
|
if (g)
|
|
42283
|
-
for (var T = Object.getOwnPropertyNames(w),
|
|
42284
|
-
var L = T[
|
|
42285
|
-
F && F.enumerable || (S[L] = x(w[L],
|
|
42286
|
+
for (var T = Object.getOwnPropertyNames(w), C = 0; C < T.length; C++) {
|
|
42287
|
+
var L = T[C], F = Object.getOwnPropertyDescriptor(w, L);
|
|
42288
|
+
F && F.enumerable || (S[L] = x(w[L], k - 1), Object.defineProperty(S, L, {
|
|
42286
42289
|
enumerable: !1
|
|
42287
42290
|
}));
|
|
42288
42291
|
}
|
|
@@ -45572,13 +45575,13 @@ function Y8(e, { config: t }) {
|
|
|
45572
45575
|
u,
|
|
45573
45576
|
// TODO: https://github.com/vega/vega-lite/issues/6245
|
|
45574
45577
|
t
|
|
45575
|
-
), d = u.invalid, h = B8(c), { bins: p, timeUnits: m, transform: g, continuousAxisChannelDef: b, continuousAxis: v, groupby: y, aggregate: x, encodingWithoutContinuousAxis: w, ticksOrient:
|
|
45578
|
+
), d = u.invalid, h = B8(c), { bins: p, timeUnits: m, transform: g, continuousAxisChannelDef: b, continuousAxis: v, groupby: y, aggregate: x, encodingWithoutContinuousAxis: w, ticksOrient: k, boxOrient: S, customTooltipWithoutAggregatedField: O } = _Le(e, c, t), { color: _, size: C } = w, I = dv(w, ["color", "size"]), R = (rt) => CT(u, v, b, rt, t.boxplot), N = R(I), F = R(w), T = R(Object.assign(Object.assign({}, I), C ? { size: C } : {})), L = qO([
|
|
45576
45579
|
{ fieldPrefix: h === "min-max" ? "upper_whisker_" : "max_", titlePrefix: "Max" },
|
|
45577
45580
|
{ fieldPrefix: "upper_box_", titlePrefix: "Q3" },
|
|
45578
45581
|
{ fieldPrefix: "mid_box_", titlePrefix: "Median" },
|
|
45579
45582
|
{ fieldPrefix: "lower_box_", titlePrefix: "Q1" },
|
|
45580
45583
|
{ fieldPrefix: h === "min-max" ? "lower_whisker_" : "min_", titlePrefix: "Min" }
|
|
45581
|
-
], b, w), D = { type: "tick", color: "black", opacity: 1, orient:
|
|
45584
|
+
], b, w), D = { type: "tick", color: "black", opacity: 1, orient: k, invalid: d, aria: !1 }, M = h === "min-max" ? L : (
|
|
45582
45585
|
// for tukey / k-IQR, just show upper/lower-whisker
|
|
45583
45586
|
qO([
|
|
45584
45587
|
{ fieldPrefix: "upper_whisker_", titlePrefix: "Upper Whisker" },
|
|
@@ -45622,7 +45625,7 @@ function Y8(e, { config: t }) {
|
|
|
45622
45625
|
}),
|
|
45623
45626
|
...T({
|
|
45624
45627
|
partName: "median",
|
|
45625
|
-
mark: Object.assign(Object.assign(Object.assign({ type: "tick", invalid: d }, me(t.boxplot.median) && t.boxplot.median.color ? { color: t.boxplot.median.color } : {}), f ? { size: f } : {}), { orient:
|
|
45628
|
+
mark: Object.assign(Object.assign(Object.assign({ type: "tick", invalid: d }, me(t.boxplot.median) && t.boxplot.median.color ? { color: t.boxplot.median.color } : {}), f ? { size: f } : {}), { orient: k, aria: !1 }),
|
|
45626
45629
|
positionPrefix: "mid_box",
|
|
45627
45630
|
extraEncoding: L
|
|
45628
45631
|
})
|
|
@@ -45666,10 +45669,10 @@ function Y8(e, { config: t }) {
|
|
|
45666
45669
|
}
|
|
45667
45670
|
],
|
|
45668
45671
|
layer: W
|
|
45669
|
-
}, P = dv(
|
|
45672
|
+
}, P = dv(I, ["tooltip"]), { scale: X, axis: z } = b, A = kT(b), ee = Fr(z, ["title"]), oe = $8(u, "outliers", t.boxplot, {
|
|
45670
45673
|
transform: [{ filter: `(${q} < ${H}) || (${q} > ${K})` }],
|
|
45671
45674
|
mark: "point",
|
|
45672
|
-
encoding: Object.assign(Object.assign(Object.assign({ [v]: Object.assign(Object.assign(Object.assign({ field: b.field, type: b.type }, A !== void 0 ? { title: A } : {}), X !== void 0 ? { scale: X } : {}), mt(ee) ? {} : { axis: ee }) }, P),
|
|
45675
|
+
encoding: Object.assign(Object.assign(Object.assign({ [v]: Object.assign(Object.assign(Object.assign({ field: b.field, type: b.type }, A !== void 0 ? { title: A } : {}), X !== void 0 ? { scale: X } : {}), mt(ee) ? {} : { axis: ee }) }, P), _ ? { color: _ } : {}), O ? { tooltip: O } : {})
|
|
45673
45676
|
})[0];
|
|
45674
45677
|
let ge;
|
|
45675
45678
|
const le = [...p, ...m, re];
|
|
@@ -45733,7 +45736,7 @@ function _Le(e, t, n) {
|
|
|
45733
45736
|
}
|
|
45734
45737
|
], c = e.encoding, f = a;
|
|
45735
45738
|
c[f];
|
|
45736
|
-
const d = dv(c, [typeof f == "symbol" ? f : f + ""]), { customTooltipWithoutAggregatedField: h, filteredEncoding: p } = SLe(d), { bins: m, timeUnits: g, aggregate: b, groupby: v, encoding: y } = W8(p, n), x = r === "vertical" ? "horizontal" : "vertical", w = r,
|
|
45739
|
+
const d = dv(c, [typeof f == "symbol" ? f : f + ""]), { customTooltipWithoutAggregatedField: h, filteredEncoding: p } = SLe(d), { bins: m, timeUnits: g, aggregate: b, groupby: v, encoding: y } = W8(p, n), x = r === "vertical" ? "horizontal" : "vertical", w = r, k = [
|
|
45737
45740
|
...m,
|
|
45738
45741
|
...g,
|
|
45739
45742
|
{
|
|
@@ -45745,7 +45748,7 @@ function _Le(e, t, n) {
|
|
|
45745
45748
|
return {
|
|
45746
45749
|
bins: m,
|
|
45747
45750
|
timeUnits: g,
|
|
45748
|
-
transform:
|
|
45751
|
+
transform: k,
|
|
45749
45752
|
groupby: v,
|
|
45750
45753
|
aggregate: b,
|
|
45751
45754
|
continuousAxisChannelDef: i,
|
|
@@ -45850,19 +45853,19 @@ function K8(e, t, n) {
|
|
|
45850
45853
|
var r;
|
|
45851
45854
|
const { mark: i, encoding: a, params: o, projection: s } = e, l = JM(e, ["mark", "encoding", "params", "projection"]), u = ho(i) ? i : { type: i };
|
|
45852
45855
|
o && ne(BY(t));
|
|
45853
|
-
const { orient: c, inputType: f } = ILe(e, t), { continuousAxisChannelDef: d, continuousAxisChannelDef2: h, continuousAxisChannelDefError: p, continuousAxisChannelDefError2: m, continuousAxis: g } = z8(e, c, t), { errorBarSpecificAggregate: b, postAggregateCalculates: v, tooltipSummary: y, tooltipTitleWithFieldName: x } = FLe(u, d, h, p, m, f, t, n), w = a,
|
|
45854
|
-
w[
|
|
45856
|
+
const { orient: c, inputType: f } = ILe(e, t), { continuousAxisChannelDef: d, continuousAxisChannelDef2: h, continuousAxisChannelDefError: p, continuousAxisChannelDefError2: m, continuousAxis: g } = z8(e, c, t), { errorBarSpecificAggregate: b, postAggregateCalculates: v, tooltipSummary: y, tooltipTitleWithFieldName: x } = FLe(u, d, h, p, m, f, t, n), w = a, k = g;
|
|
45857
|
+
w[k];
|
|
45855
45858
|
const S = g === "x" ? "x2" : "y2";
|
|
45856
45859
|
w[S];
|
|
45857
|
-
const
|
|
45860
|
+
const O = g === "x" ? "xError" : "yError";
|
|
45861
|
+
w[O];
|
|
45862
|
+
const _ = g === "x" ? "xError2" : "yError2";
|
|
45858
45863
|
w[_];
|
|
45859
|
-
const
|
|
45860
|
-
w[k];
|
|
45861
|
-
const I = JM(w, [typeof O == "symbol" ? O : O + "", typeof S == "symbol" ? S : S + "", typeof _ == "symbol" ? _ : _ + "", typeof k == "symbol" ? k : k + ""]), { bins: C, timeUnits: R, aggregate: N, groupby: F, encoding: T } = W8(I, n), L = [...N, ...b], D = f !== "raw" ? [] : F, M = qO(y, d, T, x);
|
|
45864
|
+
const C = JM(w, [typeof k == "symbol" ? k : k + "", typeof S == "symbol" ? S : S + "", typeof O == "symbol" ? O : O + "", typeof _ == "symbol" ? _ : _ + ""]), { bins: I, timeUnits: R, aggregate: N, groupby: F, encoding: T } = W8(C, n), L = [...N, ...b], D = f !== "raw" ? [] : F, M = qO(y, d, T, x);
|
|
45862
45865
|
return {
|
|
45863
45866
|
transform: [
|
|
45864
45867
|
...(r = l.transform) !== null && r !== void 0 ? r : [],
|
|
45865
|
-
...
|
|
45868
|
+
...I,
|
|
45866
45869
|
...R,
|
|
45867
45870
|
...L.length === 0 ? [] : [{ aggregate: L, groupby: D }],
|
|
45868
45871
|
...v
|
|
@@ -48313,7 +48316,7 @@ function SAe(e, t, n) {
|
|
|
48313
48316
|
m = m || {
|
|
48314
48317
|
[c]: wAe(c, h || l, u, a, b)
|
|
48315
48318
|
};
|
|
48316
|
-
const v = (u == null ? void 0 : u.get("type")) === "band" && pc(b) && !g ? "top" : "middle", y = CH(t, r, a, v), x = y === "xc" || y === "yc", { offset: w, offsetType:
|
|
48319
|
+
const v = (u == null ? void 0 : u.get("type")) === "band" && pc(b) && !g ? "top" : "middle", y = CH(t, r, a, v), x = y === "xc" || y === "yc", { offset: w, offsetType: k } = Sm({ channel: t, markDef: r, encoding: i, model: n, bandPosition: x ? 0.5 : 0 }), S = mT({
|
|
48317
48320
|
channel: t,
|
|
48318
48321
|
channelDef: e,
|
|
48319
48322
|
markDef: r,
|
|
@@ -48323,16 +48326,16 @@ function SAe(e, t, n) {
|
|
|
48323
48326
|
stack: o,
|
|
48324
48327
|
offset: w,
|
|
48325
48328
|
defaultRef: WT({ model: n, defaultPos: "mid", channel: t, scaleName: l, scale: u }),
|
|
48326
|
-
bandPosition: x ?
|
|
48329
|
+
bandPosition: x ? k === "encoding" ? 0 : 0.5 : ye(b) ? { signal: `(1-${b})/2` } : pc(b) ? (1 - b.band) / 2 : 0
|
|
48327
48330
|
});
|
|
48328
48331
|
if (c)
|
|
48329
48332
|
return Object.assign({ [y]: S }, m);
|
|
48330
48333
|
{
|
|
48331
|
-
const
|
|
48334
|
+
const O = _l(f), _ = m[c], C = w ? Object.assign(Object.assign({}, _), { offset: w }) : _;
|
|
48332
48335
|
return {
|
|
48333
48336
|
[y]: S,
|
|
48334
48337
|
// posRef might be an array that wraps position invalid test
|
|
48335
|
-
[
|
|
48338
|
+
[O]: J(S) ? [S[0], Object.assign(Object.assign({}, S[1]), { offset: C })] : Object.assign(Object.assign({}, S), { offset: C })
|
|
48336
48339
|
};
|
|
48337
48340
|
}
|
|
48338
48341
|
}
|
|
@@ -48350,19 +48353,19 @@ function Ah(e, t, n, r, i) {
|
|
|
48350
48353
|
}
|
|
48351
48354
|
function EAe({ fieldDef: e, fieldDef2: t, channel: n, model: r }) {
|
|
48352
48355
|
var i, a, o;
|
|
48353
|
-
const { config: s, markDef: l, encoding: u } = r, c = r.getScaleComponent(n), f = r.scaleName(n), d = c ? c.get("type") : void 0, h = c.get("reverse"), p = C8({ channel: n, fieldDef: e, markDef: l, config: s, scaleType: d }), m = (i = r.component.axes[n]) === null || i === void 0 ? void 0 : i[0], g = (a = m == null ? void 0 : m.get("translate")) !== null && a !== void 0 ? a : 0.5, b = gn(n) && (o = lt("binSpacing", l, s)) !== null && o !== void 0 ? o : 0, v = To(n), y = _l(n), x = _l(v), { offset: w } = Sm({ channel: n, markDef: l, encoding: u, model: r, bandPosition: 0 }),
|
|
48356
|
+
const { config: s, markDef: l, encoding: u } = r, c = r.getScaleComponent(n), f = r.scaleName(n), d = c ? c.get("type") : void 0, h = c.get("reverse"), p = C8({ channel: n, fieldDef: e, markDef: l, config: s, scaleType: d }), m = (i = r.component.axes[n]) === null || i === void 0 ? void 0 : i[0], g = (a = m == null ? void 0 : m.get("translate")) !== null && a !== void 0 ? a : 0.5, b = gn(n) && (o = lt("binSpacing", l, s)) !== null && o !== void 0 ? o : 0, v = To(n), y = _l(n), x = _l(v), { offset: w } = Sm({ channel: n, markDef: l, encoding: u, model: r, bandPosition: 0 }), k = ye(p) ? { signal: `(1-${p.signal})/2` } : pc(p) ? (1 - p.band) / 2 : 0.5;
|
|
48354
48357
|
if (_t(e.bin) || e.timeUnit)
|
|
48355
48358
|
return {
|
|
48356
48359
|
[x]: pP({
|
|
48357
48360
|
fieldDef: e,
|
|
48358
48361
|
scaleName: f,
|
|
48359
|
-
bandPosition:
|
|
48362
|
+
bandPosition: k,
|
|
48360
48363
|
offset: Ah(v, b, h, g, w)
|
|
48361
48364
|
}),
|
|
48362
48365
|
[y]: pP({
|
|
48363
48366
|
fieldDef: e,
|
|
48364
48367
|
scaleName: f,
|
|
48365
|
-
bandPosition: ye(
|
|
48368
|
+
bandPosition: ye(k) ? { signal: `1-${k.signal}` } : 1 - k,
|
|
48366
48369
|
offset: Ah(n, b, h, g, w)
|
|
48367
48370
|
})
|
|
48368
48371
|
};
|
|
@@ -48640,10 +48643,10 @@ const LH = "_translate_anchor", DH = "_translate_delta", RAe = {
|
|
|
48640
48643
|
};
|
|
48641
48644
|
function bP(e, t, n, r, i) {
|
|
48642
48645
|
var a, o;
|
|
48643
|
-
const s = t.name, l = s + LH, u = s + DH, c = n.channel, f = Cl.defined(t), d = i.filter((S) => S.name === n.signals[f ? "data" : "visual"])[0], h = e.getSizeSignalRef(r).signal, p = e.getScaleComponent(c), m = p.get("type"), g = p.get("reverse"), b = f ? c === Ft ? g ? "" : "-" : g ? "-" : "" : "", v = `${l}.extent_${c}`, y = `${b}${u}.${c} / ${f ? `${h}` : `span(${v})`}`, x = f ? m === "log" ? "panLog" : m === "symlog" ? "panSymlog" : m === "pow" ? "panPow" : "panLinear" : "panLinear", w = f ? m === "pow" ? `, ${(a = p.get("exponent")) !== null && a !== void 0 ? a : 1}` : m === "symlog" ? `, ${(o = p.get("constant")) !== null && o !== void 0 ? o : 1}` : "" : "",
|
|
48646
|
+
const s = t.name, l = s + LH, u = s + DH, c = n.channel, f = Cl.defined(t), d = i.filter((S) => S.name === n.signals[f ? "data" : "visual"])[0], h = e.getSizeSignalRef(r).signal, p = e.getScaleComponent(c), m = p.get("type"), g = p.get("reverse"), b = f ? c === Ft ? g ? "" : "-" : g ? "-" : "" : "", v = `${l}.extent_${c}`, y = `${b}${u}.${c} / ${f ? `${h}` : `span(${v})`}`, x = f ? m === "log" ? "panLog" : m === "symlog" ? "panSymlog" : m === "pow" ? "panPow" : "panLinear" : "panLinear", w = f ? m === "pow" ? `, ${(a = p.get("exponent")) !== null && a !== void 0 ? a : 1}` : m === "symlog" ? `, ${(o = p.get("constant")) !== null && o !== void 0 ? o : 1}` : "" : "", k = `${x}(${v}, ${y}${w})`;
|
|
48644
48647
|
d.on.push({
|
|
48645
48648
|
events: { signal: u },
|
|
48646
|
-
update: f ?
|
|
48649
|
+
update: f ? k : `clampRange(${k}, 0, ${h})`
|
|
48647
48650
|
});
|
|
48648
48651
|
}
|
|
48649
48652
|
const AH = "_zoom_anchor", MH = "_zoom_delta", TAe = {
|
|
@@ -48842,19 +48845,19 @@ function pp(e, t, n, r = { header: !1 }) {
|
|
|
48842
48845
|
else if (Gg(g)) {
|
|
48843
48846
|
const { condition: b } = g, v = X0(g, ["condition"]), y = he(b), x = UM[p];
|
|
48844
48847
|
if (x) {
|
|
48845
|
-
const { vgProp: w, part:
|
|
48846
|
-
...y.map((
|
|
48847
|
-
const { test:
|
|
48848
|
-
return Object.assign({ test: E1(null,
|
|
48848
|
+
const { vgProp: w, part: k } = x, S = [
|
|
48849
|
+
...y.map((O) => {
|
|
48850
|
+
const { test: _ } = O, C = X0(O, ["test"]);
|
|
48851
|
+
return Object.assign({ test: E1(null, _) }, C);
|
|
48849
48852
|
}),
|
|
48850
48853
|
v
|
|
48851
48854
|
];
|
|
48852
|
-
sE(h,
|
|
48855
|
+
sE(h, k, w, S), delete h[p];
|
|
48853
48856
|
} else if (x === null) {
|
|
48854
48857
|
const w = {
|
|
48855
|
-
signal: y.map((
|
|
48856
|
-
const { test: S } =
|
|
48857
|
-
return `${E1(null, S)} ? ${DM(
|
|
48858
|
+
signal: y.map((k) => {
|
|
48859
|
+
const { test: S } = k, O = X0(k, ["test"]);
|
|
48860
|
+
return `${E1(null, S)} ? ${DM(O)} : `;
|
|
48858
48861
|
}).join("") + DM(v)
|
|
48859
48862
|
};
|
|
48860
48863
|
h[p] = w;
|
|
@@ -49441,31 +49444,31 @@ function i9e(e, { fieldOrDatumDef: t, model: n, channel: r, legendCmpt: i, legen
|
|
|
49441
49444
|
return;
|
|
49442
49445
|
const { markDef: p, encoding: m, config: g, mark: b } = n, v = p.filled && b !== "trail";
|
|
49443
49446
|
let y = Object.assign(Object.assign({}, zTe({}, n, PFe)), kH(n, { filled: v }));
|
|
49444
|
-
const x = (o = i.get("symbolOpacity")) !== null && o !== void 0 ? o : g.legend.symbolOpacity, w = (s = i.get("symbolFillColor")) !== null && s !== void 0 ? s : g.legend.symbolFillColor,
|
|
49447
|
+
const x = (o = i.get("symbolOpacity")) !== null && o !== void 0 ? o : g.legend.symbolOpacity, w = (s = i.get("symbolFillColor")) !== null && s !== void 0 ? s : g.legend.symbolFillColor, k = (l = i.get("symbolStrokeColor")) !== null && l !== void 0 ? l : g.legend.symbolStrokeColor, S = x === void 0 ? (u = tU(m.opacity)) !== null && u !== void 0 ? u : p.opacity : void 0;
|
|
49445
49448
|
if (y.fill) {
|
|
49446
49449
|
if (r === "fill" || v && r === Gr)
|
|
49447
49450
|
delete y.fill;
|
|
49448
49451
|
else if (y.fill.field)
|
|
49449
49452
|
w ? delete y.fill : (y.fill = Ct((c = g.legend.symbolBaseFillColor) !== null && c !== void 0 ? c : "black"), y.fillOpacity = Ct(S ?? 1));
|
|
49450
49453
|
else if (J(y.fill)) {
|
|
49451
|
-
const
|
|
49452
|
-
|
|
49454
|
+
const O = (h = (d = c_((f = m.fill) !== null && f !== void 0 ? f : m.color)) !== null && d !== void 0 ? d : p.fill) !== null && h !== void 0 ? h : v && p.color;
|
|
49455
|
+
O && (y.fill = Ct(O));
|
|
49453
49456
|
}
|
|
49454
49457
|
}
|
|
49455
49458
|
if (y.stroke) {
|
|
49456
49459
|
if (r === "stroke" || !v && r === Gr)
|
|
49457
49460
|
delete y.stroke;
|
|
49458
|
-
else if (y.stroke.field ||
|
|
49461
|
+
else if (y.stroke.field || k)
|
|
49459
49462
|
delete y.stroke;
|
|
49460
49463
|
else if (J(y.stroke)) {
|
|
49461
|
-
const
|
|
49462
|
-
|
|
49464
|
+
const O = Kt(c_(m.stroke || m.color), p.stroke, v ? p.color : void 0);
|
|
49465
|
+
O && (y.stroke = { value: O });
|
|
49463
49466
|
}
|
|
49464
49467
|
}
|
|
49465
49468
|
if (r !== xs) {
|
|
49466
|
-
const
|
|
49467
|
-
|
|
49468
|
-
Object.assign({ test:
|
|
49469
|
+
const O = ie(t) && rU(n, i, t);
|
|
49470
|
+
O ? y.opacity = [
|
|
49471
|
+
Object.assign({ test: O }, Ct(S ?? 1)),
|
|
49469
49472
|
Ct(g.legend.unselectedOpacity)
|
|
49470
49473
|
] : S && (y.opacity = Ct(S));
|
|
49471
49474
|
}
|
|
@@ -49699,16 +49702,16 @@ function y9e(e, t) {
|
|
|
49699
49702
|
for (const S of eU) {
|
|
49700
49703
|
if (g === "gradient" && S.startsWith("symbol") || g === "symbol" && S.startsWith("gradient"))
|
|
49701
49704
|
continue;
|
|
49702
|
-
const
|
|
49703
|
-
if (
|
|
49704
|
-
const
|
|
49705
|
-
(
|
|
49705
|
+
const O = S in EP ? EP[S](v) : a[S];
|
|
49706
|
+
if (O !== void 0) {
|
|
49707
|
+
const _ = v9e(O, S, a, e.fieldDef(t));
|
|
49708
|
+
(_ || l.legend[S] === void 0) && c.set(S, O, _);
|
|
49706
49709
|
}
|
|
49707
49710
|
}
|
|
49708
|
-
const y = (r = a == null ? void 0 : a.encoding) !== null && r !== void 0 ? r : {}, x = c.get("selections"), w = {},
|
|
49711
|
+
const y = (r = a == null ? void 0 : a.encoding) !== null && r !== void 0 ? r : {}, x = c.get("selections"), w = {}, k = { fieldOrDatumDef: h, model: e, channel: t, legendCmpt: c, legendType: g };
|
|
49709
49712
|
for (const S of ["labels", "legend", "title", "symbols", "gradient", "entries"]) {
|
|
49710
|
-
const
|
|
49711
|
-
|
|
49713
|
+
const O = qH((i = y[S]) !== null && i !== void 0 ? i : {}, e), _ = S in SP ? SP[S](O, k) : O;
|
|
49714
|
+
_ !== void 0 && !mt(_) && (w[S] = Object.assign(Object.assign(Object.assign({}, x != null && x.length && ie(h) ? { name: `${Rt(h.field)}_legend_${S}` } : {}), x != null && x.length ? { interactive: !!x } : {}), { update: _ }));
|
|
49712
49715
|
}
|
|
49713
49716
|
return mt(w) || c.set("encode", w, !!(a != null && a.encoding)), c;
|
|
49714
49717
|
}
|
|
@@ -53165,23 +53168,23 @@ function t2(e) {
|
|
|
53165
53168
|
f = (i = $n.makeWithAncestors(f, {}, Object.assign(Object.assign({}, v), y), g)) !== null && i !== void 0 ? i : f, Bt(e) && (f = Nf.parseAll(f, e), f = Om.parseAll(f, e)), (Bt(e) || pa(e)) && (b || (f = (a = io.makeFromEncoding(f, e)) !== null && a !== void 0 ? a : f), f = (o = ro.makeFromEncoding(f, e)) !== null && o !== void 0 ? o : f, f = kd.parseAllForSortIndex(f, e));
|
|
53166
53169
|
const x = e.getDataName(wt.Raw), w = new pr(f, x, wt.Raw, h);
|
|
53167
53170
|
if (d[x] = w, f = w, Bt(e)) {
|
|
53168
|
-
const
|
|
53169
|
-
|
|
53171
|
+
const _ = ha.makeFromEncoding(f, e);
|
|
53172
|
+
_ && (f = _, VT(e) && (f = new Rl(f))), f = (s = Yu.makeFromEncoding(f, e)) !== null && s !== void 0 ? s : f, f = (l = as.makeFromEncoding(f, e)) !== null && l !== void 0 ? l : f;
|
|
53170
53173
|
}
|
|
53171
53174
|
Bt(e) && (f = (u = Em.make(f, e)) !== null && u !== void 0 ? u : f);
|
|
53172
|
-
const
|
|
53173
|
-
d[
|
|
53174
|
-
let
|
|
53175
|
+
const k = e.getDataName(wt.Main), S = new pr(f, k, wt.Main, h);
|
|
53176
|
+
d[k] = S, f = S, Bt(e) && AAe(e, S);
|
|
53177
|
+
let O = null;
|
|
53175
53178
|
if (pa(e)) {
|
|
53176
|
-
const
|
|
53177
|
-
f = (c = qMe(f, e.facet)) !== null && c !== void 0 ? c : f,
|
|
53179
|
+
const _ = e.getName("facet");
|
|
53180
|
+
f = (c = qMe(f, e.facet)) !== null && c !== void 0 ? c : f, O = new ah(f, e, _, S.getSource()), d[_] = O;
|
|
53178
53181
|
}
|
|
53179
53182
|
return Object.assign(Object.assign({}, e.component.data), {
|
|
53180
53183
|
outputNodes: d,
|
|
53181
53184
|
outputNodeRefCounts: h,
|
|
53182
53185
|
raw: w,
|
|
53183
53186
|
main: S,
|
|
53184
|
-
facetRoot:
|
|
53187
|
+
facetRoot: O,
|
|
53185
53188
|
ancestorParse: g
|
|
53186
53189
|
});
|
|
53187
53190
|
}
|
|
@@ -53448,13 +53451,13 @@ function dPe(e, t) {
|
|
|
53448
53451
|
if (x && w)
|
|
53449
53452
|
o.set(v, y, w);
|
|
53450
53453
|
else {
|
|
53451
|
-
const { configValue:
|
|
53452
|
-
x && !
|
|
53454
|
+
const { configValue: k = void 0, configFrom: S = void 0 } = KM(v) && v !== "values" ? s_(v, u.style, a.style, d) : {}, O = k !== void 0;
|
|
53455
|
+
x && !O ? o.set(v, y, w) : (
|
|
53453
53456
|
// Cases need implicit values
|
|
53454
53457
|
// 1. Axis config that aren't available in Vega
|
|
53455
53458
|
(S !== "vgAxisConfig" || // 2. Certain properties are always included (see `propsToAlwaysIncludeConfig`'s declaration for more details)
|
|
53456
|
-
fPe.has(v) &&
|
|
53457
|
-
Gg(
|
|
53459
|
+
fPe.has(v) && O || // 3. Conditional axis values and signals
|
|
53460
|
+
Gg(k) || ye(k)) && o.set(v, k, !1)
|
|
53458
53461
|
);
|
|
53459
53462
|
}
|
|
53460
53463
|
}
|
|
@@ -53462,8 +53465,8 @@ function dPe(e, t) {
|
|
|
53462
53465
|
var x;
|
|
53463
53466
|
if (!o.hasAxisPart(y))
|
|
53464
53467
|
return v;
|
|
53465
|
-
const w = qH((x = g[y]) !== null && x !== void 0 ? x : {}, t),
|
|
53466
|
-
return
|
|
53468
|
+
const w = qH((x = g[y]) !== null && x !== void 0 ? x : {}, t), k = y === "labels" ? iPe(t, e, w) : w;
|
|
53469
|
+
return k !== void 0 && !mt(k) && (v[y] = { update: k }), v;
|
|
53467
53470
|
}, {});
|
|
53468
53471
|
return mt(b) || o.set("encode", b, !!a.encoding || a.labelAngle !== void 0), o;
|
|
53469
53472
|
}
|
|
@@ -56263,8 +56266,8 @@ function jU() {
|
|
|
56263
56266
|
if (T)
|
|
56264
56267
|
return T;
|
|
56265
56268
|
var L = this.options.loose, D = L ? s[l.HYPHENRANGELOOSE] : s[l.HYPHENRANGE];
|
|
56266
|
-
R = R.replace(D,
|
|
56267
|
-
var M = R.split(" ").map((K) => m(K, this.options)).join(" ").split(/\s+/).map((K) =>
|
|
56269
|
+
R = R.replace(D, _(this.options.includePrerelease)), a("hyphen replace", R), R = R.replace(s[l.COMPARATORTRIM], u), a("comparator trim", R), R = R.replace(s[l.TILDETRIM], c), R = R.replace(s[l.CARETTRIM], f), R = R.split(/\s+/).join(" ");
|
|
56270
|
+
var M = R.split(" ").map((K) => m(K, this.options)).join(" ").split(/\s+/).map((K) => O(K, this.options));
|
|
56268
56271
|
L && (M = M.filter((K) => (a("loose invalid filter", K, this.options), !!K.match(s[l.COMPARATORLOOSE])))), a("range list", M);
|
|
56269
56272
|
var W = /* @__PURE__ */ new Map(), Z = M.map((K) => new i(K, this.options)), V = hZ(Z), j;
|
|
56270
56273
|
try {
|
|
@@ -56299,7 +56302,7 @@ function jU() {
|
|
|
56299
56302
|
return !1;
|
|
56300
56303
|
}
|
|
56301
56304
|
for (var N = 0; N < this.set.length; N++)
|
|
56302
|
-
if (
|
|
56305
|
+
if (C(this.set[N], R, this.options))
|
|
56303
56306
|
return !0;
|
|
56304
56307
|
return !1;
|
|
56305
56308
|
}
|
|
@@ -56307,41 +56310,41 @@ function jU() {
|
|
|
56307
56310
|
wE = e;
|
|
56308
56311
|
var t = yGe, n = new t({
|
|
56309
56312
|
max: 1e3
|
|
56310
|
-
}), r = f3, i = aWe(), a = a2, o = h3, s = bi.re, l = bi.t, u = bi.comparatorTrimReplace, c = bi.tildeTrimReplace, f = bi.caretTrimReplace, d = (
|
|
56311
|
-
for (var N = !0, F =
|
|
56313
|
+
}), r = f3, i = aWe(), a = a2, o = h3, s = bi.re, l = bi.t, u = bi.comparatorTrimReplace, c = bi.tildeTrimReplace, f = bi.caretTrimReplace, d = (I) => I.value === "<0.0.0-0", h = (I) => I.value === "", p = (I, R) => {
|
|
56314
|
+
for (var N = !0, F = I.slice(), T = F.pop(); N && F.length; )
|
|
56312
56315
|
N = F.every((L) => T.intersects(L, R)), T = F.pop();
|
|
56313
56316
|
return N;
|
|
56314
|
-
}, m = (
|
|
56317
|
+
}, m = (I, R) => (a("comp", I, R), I = y(I, R), a("caret", I), I = b(I, R), a("tildes", I), I = w(I, R), a("xrange", I), I = S(I, R), a("stars", I), I), g = (I) => !I || I.toLowerCase() === "x" || I === "*", b = (I, R) => I.trim().split(/\s+/).map((N) => v(N, R)).join(" "), v = (I, R) => {
|
|
56315
56318
|
var N = R.loose ? s[l.TILDELOOSE] : s[l.TILDE];
|
|
56316
|
-
return
|
|
56317
|
-
a("tilde",
|
|
56319
|
+
return I.replace(N, (F, T, L, D, M) => {
|
|
56320
|
+
a("tilde", I, F, T, L, D, M);
|
|
56318
56321
|
var W;
|
|
56319
56322
|
return g(T) ? W = "" : g(L) ? W = ">=".concat(T, ".0.0 <").concat(+T + 1, ".0.0-0") : g(D) ? W = ">=".concat(T, ".").concat(L, ".0 <").concat(T, ".").concat(+L + 1, ".0-0") : M ? (a("replaceTilde pr", M), W = ">=".concat(T, ".").concat(L, ".").concat(D, "-").concat(M, " <").concat(T, ".").concat(+L + 1, ".0-0")) : W = ">=".concat(T, ".").concat(L, ".").concat(D, " <").concat(T, ".").concat(+L + 1, ".0-0"), a("tilde return", W), W;
|
|
56320
56323
|
});
|
|
56321
|
-
}, y = (
|
|
56322
|
-
a("caret",
|
|
56324
|
+
}, y = (I, R) => I.trim().split(/\s+/).map((N) => x(N, R)).join(" "), x = (I, R) => {
|
|
56325
|
+
a("caret", I, R);
|
|
56323
56326
|
var N = R.loose ? s[l.CARETLOOSE] : s[l.CARET], F = R.includePrerelease ? "-0" : "";
|
|
56324
|
-
return
|
|
56325
|
-
a("caret",
|
|
56327
|
+
return I.replace(N, (T, L, D, M, W) => {
|
|
56328
|
+
a("caret", I, T, L, D, M, W);
|
|
56326
56329
|
var Z;
|
|
56327
56330
|
return g(L) ? Z = "" : g(D) ? Z = ">=".concat(L, ".0.0").concat(F, " <").concat(+L + 1, ".0.0-0") : g(M) ? L === "0" ? Z = ">=".concat(L, ".").concat(D, ".0").concat(F, " <").concat(L, ".").concat(+D + 1, ".0-0") : Z = ">=".concat(L, ".").concat(D, ".0").concat(F, " <").concat(+L + 1, ".0.0-0") : W ? (a("replaceCaret pr", W), L === "0" ? D === "0" ? Z = ">=".concat(L, ".").concat(D, ".").concat(M, "-").concat(W, " <").concat(L, ".").concat(D, ".").concat(+M + 1, "-0") : Z = ">=".concat(L, ".").concat(D, ".").concat(M, "-").concat(W, " <").concat(L, ".").concat(+D + 1, ".0-0") : Z = ">=".concat(L, ".").concat(D, ".").concat(M, "-").concat(W, " <").concat(+L + 1, ".0.0-0")) : (a("no pr"), L === "0" ? D === "0" ? Z = ">=".concat(L, ".").concat(D, ".").concat(M).concat(F, " <").concat(L, ".").concat(D, ".").concat(+M + 1, "-0") : Z = ">=".concat(L, ".").concat(D, ".").concat(M).concat(F, " <").concat(L, ".").concat(+D + 1, ".0-0") : Z = ">=".concat(L, ".").concat(D, ".").concat(M, " <").concat(+L + 1, ".0.0-0")), a("caret return", Z), Z;
|
|
56328
56331
|
});
|
|
56329
|
-
}, w = (
|
|
56330
|
-
|
|
56332
|
+
}, w = (I, R) => (a("replaceXRanges", I, R), I.split(/\s+/).map((N) => k(N, R)).join(" ")), k = (I, R) => {
|
|
56333
|
+
I = I.trim();
|
|
56331
56334
|
var N = R.loose ? s[l.XRANGELOOSE] : s[l.XRANGE];
|
|
56332
|
-
return
|
|
56333
|
-
a("xRange",
|
|
56335
|
+
return I.replace(N, (F, T, L, D, M, W) => {
|
|
56336
|
+
a("xRange", I, F, T, L, D, M, W);
|
|
56334
56337
|
var Z = g(L), V = Z || g(D), j = V || g(M), $ = j;
|
|
56335
56338
|
return T === "=" && $ && (T = ""), W = R.includePrerelease ? "-0" : "", Z ? T === ">" || T === "<" ? F = "<0.0.0-0" : F = "*" : T && $ ? (V && (D = 0), M = 0, T === ">" ? (T = ">=", V ? (L = +L + 1, D = 0, M = 0) : (D = +D + 1, M = 0)) : T === "<=" && (T = "<", V ? L = +L + 1 : D = +D + 1), T === "<" && (W = "-0"), F = "".concat(T + L, ".").concat(D, ".").concat(M).concat(W)) : V ? F = ">=".concat(L, ".0.0").concat(W, " <").concat(+L + 1, ".0.0-0") : j && (F = ">=".concat(L, ".").concat(D, ".0").concat(W, " <").concat(L, ".").concat(+D + 1, ".0-0")), a("xRange return", F), F;
|
|
56336
56339
|
});
|
|
56337
|
-
}, S = (
|
|
56338
|
-
for (var F = 0; F <
|
|
56339
|
-
if (!
|
|
56340
|
+
}, S = (I, R) => (a("replaceStars", I, R), I.trim().replace(s[l.STAR], "")), O = (I, R) => (a("replaceGTE0", I, R), I.trim().replace(s[R.includePrerelease ? l.GTE0PRE : l.GTE0], "")), _ = (I) => (R, N, F, T, L, D, M, W, Z, V, j, $, H) => (g(F) ? N = "" : g(T) ? N = ">=".concat(F, ".0.0").concat(I ? "-0" : "") : g(L) ? N = ">=".concat(F, ".").concat(T, ".0").concat(I ? "-0" : "") : D ? N = ">=".concat(N) : N = ">=".concat(N).concat(I ? "-0" : ""), g(Z) ? W = "" : g(V) ? W = "<".concat(+Z + 1, ".0.0-0") : g(j) ? W = "<".concat(Z, ".").concat(+V + 1, ".0-0") : $ ? W = "<=".concat(Z, ".").concat(V, ".").concat(j, "-").concat($) : I ? W = "<".concat(Z, ".").concat(V, ".").concat(+j + 1, "-0") : W = "<=".concat(W), "".concat(N, " ").concat(W).trim()), C = (I, R, N) => {
|
|
56341
|
+
for (var F = 0; F < I.length; F++)
|
|
56342
|
+
if (!I[F].test(R))
|
|
56340
56343
|
return !1;
|
|
56341
56344
|
if (R.prerelease.length && !N.includePrerelease) {
|
|
56342
|
-
for (var T = 0; T <
|
|
56343
|
-
if (a(
|
|
56344
|
-
var L =
|
|
56345
|
+
for (var T = 0; T < I.length; T++)
|
|
56346
|
+
if (a(I[T].semver), I[T].semver !== i.ANY && I[T].semver.prerelease.length > 0) {
|
|
56347
|
+
var L = I[T].semver;
|
|
56345
56348
|
if (L.major === R.major && L.minor === R.minor && L.patch === R.patch)
|
|
56346
56349
|
return !0;
|
|
56347
56350
|
}
|
|
@@ -56738,7 +56741,7 @@ function OWe(e, t) {
|
|
|
56738
56741
|
}
|
|
56739
56742
|
function x_() {
|
|
56740
56743
|
return x_ = _1(/* @__PURE__ */ pi.mark(function e(t, n) {
|
|
56741
|
-
var r, i, a, o, s, l, u, c, f, d, h, p, m, g, b, v, y, x, w,
|
|
56744
|
+
var r, i, a, o, s, l, u, c, f, d, h, p, m, g, b, v, y, x, w, k, S, O, _, C, I, R, N, F, T, L, D, M, W, Z, V, j, $, H, K, q, re, ce, P, X, z, A, ee, oe, ge, le, rt, Ue = arguments;
|
|
56742
56745
|
return pi.wrap(function(ze) {
|
|
56743
56746
|
for (; ; )
|
|
56744
56747
|
switch (ze.prev = ze.next) {
|
|
@@ -56751,10 +56754,10 @@ function x_() {
|
|
|
56751
56754
|
}
|
|
56752
56755
|
throw new Error("".concat(t, " does not exist"));
|
|
56753
56756
|
case 12:
|
|
56754
|
-
if (c.defaultStyle !== !1 && (y = "vega-embed-style", x = EWe(v), w = x.root,
|
|
56757
|
+
if (c.defaultStyle !== !1 && (y = "vega-embed-style", x = EWe(v), w = x.root, k = x.rootContainer, w.getElementById(y) || (S = document.createElement("style"), S.id = y, S.innerHTML = c.defaultStyle === void 0 || c.defaultStyle === !0 ? cWe.toString() : c.defaultStyle, k.appendChild(S))), O = xWe(n, c.mode), _ = gWe[O](n, d), O === "vega-lite" && _.$schema && (C = NU(_.$schema), VU(I1.vega, "^".concat(C.version.slice(1))) || console.warn("The compiled spec uses Vega ".concat(C.version, ", but current version is v").concat(I1.vega, "."))), v.classList.add("vega-embed"), h && v.classList.add("has-actions"), v.innerHTML = "", I = v, h && (R = document.createElement("div"), R.classList.add(vWe), v.appendChild(R), I = R), N = c.patch, N && (_ = N instanceof Function ? N(_) : nx(_, N, !0, !1).newDocument), c.formatLocale && Pa.formatLocale(c.formatLocale), c.timeFormatLocale && Pa.timeFormatLocale(c.timeFormatLocale), c.expressionFunctions)
|
|
56755
56758
|
for (F in c.expressionFunctions)
|
|
56756
56759
|
T = c.expressionFunctions[F], "fn" in T ? Pa.expressionFunction(F, T.fn, T.visitor) : T instanceof Function && Pa.expressionFunction(F, T);
|
|
56757
|
-
return L = c.ast, D = Pa.parse(
|
|
56760
|
+
return L = c.ast, D = Pa.parse(_, O === "vega-lite" ? {} : d, {
|
|
56758
56761
|
ast: L
|
|
56759
56762
|
}), M = new (c.viewClass || Pa.View)(D, sl({
|
|
56760
56763
|
loader: f,
|
|
@@ -56764,11 +56767,11 @@ function x_() {
|
|
|
56764
56767
|
expr: (l = (u = Pa.expressionInterpreter) !== null && u !== void 0 ? u : c.expr) !== null && l !== void 0 ? l : ARe
|
|
56765
56768
|
} : {})), M.addSignalListener("autosize", (Ve, We) => {
|
|
56766
56769
|
var Ae = We.type;
|
|
56767
|
-
Ae == "fit-x" ? (
|
|
56770
|
+
Ae == "fit-x" ? (I.classList.add("fit-x"), I.classList.remove("fit-y")) : Ae == "fit-y" ? (I.classList.remove("fit-x"), I.classList.add("fit-y")) : Ae == "fit" ? I.classList.add("fit-x", "fit-y") : I.classList.remove("fit-x", "fit-y");
|
|
56768
56771
|
}), c.tooltip !== !1 && (W = yWe(c.tooltip) ? c.tooltip : (
|
|
56769
56772
|
// user provided boolean true or tooltip options
|
|
56770
56773
|
new QZe(c.tooltip === !0 ? {} : c.tooltip).call
|
|
56771
|
-
), M.tooltip(W)), Z = c.hover, Z === void 0 && (Z =
|
|
56774
|
+
), M.tooltip(W)), Z = c.hover, Z === void 0 && (Z = O === "vega"), Z && (V = typeof Z == "boolean" ? {} : Z, j = V.hoverSet, $ = V.updateSet, M.hover(j, $)), c && (c.width != null && M.width(c.width), c.height != null && M.height(c.height), c.padding != null && M.padding(c.padding)), ze.next = 37, M.initialize(I, c.bind).runAsync();
|
|
56772
56775
|
case 37:
|
|
56773
56776
|
if (h === !1) {
|
|
56774
56777
|
ze.next = 63;
|
|
@@ -56831,14 +56834,14 @@ function x_() {
|
|
|
56831
56834
|
case 60:
|
|
56832
56835
|
(h === !0 || h.source !== !1) && (A = document.createElement("a"), A.text = p.SOURCE_ACTION, A.href = "#", A.addEventListener("click", function(Ve) {
|
|
56833
56836
|
var We, Ae;
|
|
56834
|
-
vZ(U2(n), (We = c.sourceHeader) !== null && We !== void 0 ? We : "", (Ae = c.sourceFooter) !== null && Ae !== void 0 ? Ae : "",
|
|
56835
|
-
}), ce.append(A)),
|
|
56837
|
+
vZ(U2(n), (We = c.sourceHeader) !== null && We !== void 0 ? We : "", (Ae = c.sourceFooter) !== null && Ae !== void 0 ? Ae : "", O), Ve.preventDefault();
|
|
56838
|
+
}), ce.append(A)), O === "vega-lite" && (h === !0 || h.compiled !== !1) && (ee = document.createElement("a"), ee.text = p.COMPILED_ACTION, ee.href = "#", ee.addEventListener("click", function(Ve) {
|
|
56836
56839
|
var We, Ae;
|
|
56837
|
-
vZ(U2(
|
|
56840
|
+
vZ(U2(_), (We = c.sourceHeader) !== null && We !== void 0 ? We : "", (Ae = c.sourceFooter) !== null && Ae !== void 0 ? Ae : "", "vega"), Ve.preventDefault();
|
|
56838
56841
|
}), ce.append(ee)), (h === !0 || h.editor !== !1) && (ge = (oe = c.editorUrl) !== null && oe !== void 0 ? oe : "https://vega.github.io/editor/", le = document.createElement("a"), le.text = p.EDITOR_ACTION, le.href = "#", le.addEventListener("click", function(Ve) {
|
|
56839
56842
|
uWe(window, ge, {
|
|
56840
56843
|
config: d,
|
|
56841
|
-
mode:
|
|
56844
|
+
mode: O,
|
|
56842
56845
|
renderer: m,
|
|
56843
56846
|
spec: U2(n)
|
|
56844
56847
|
}), Ve.preventDefault();
|
|
@@ -56847,7 +56850,7 @@ function x_() {
|
|
|
56847
56850
|
return ze.abrupt("return", {
|
|
56848
56851
|
view: M,
|
|
56849
56852
|
spec: n,
|
|
56850
|
-
vgSpec:
|
|
56853
|
+
vgSpec: _,
|
|
56851
56854
|
finalize: rt,
|
|
56852
56855
|
embedOptions: c
|
|
56853
56856
|
});
|
|
@@ -58285,10 +58288,10 @@ function IZ(e) {
|
|
|
58285
58288
|
if (v && (w.legend = {
|
|
58286
58289
|
disable: !0
|
|
58287
58290
|
}), b === "auto") {
|
|
58288
|
-
const
|
|
58289
|
-
t !== ct &&
|
|
58291
|
+
const O = [];
|
|
58292
|
+
t !== ct && O.push(t.semanticType), n !== ct && O.push(n.semanticType), x = Oje(O);
|
|
58290
58293
|
}
|
|
58291
|
-
let
|
|
58294
|
+
let k = Cje({
|
|
58292
58295
|
geomType: x,
|
|
58293
58296
|
x: t,
|
|
58294
58297
|
y: n,
|
|
@@ -58305,14 +58308,14 @@ function IZ(e) {
|
|
|
58305
58308
|
details: p,
|
|
58306
58309
|
text: u
|
|
58307
58310
|
});
|
|
58308
|
-
return Nje(
|
|
58311
|
+
return Nje(k, p), m && _je(k, y), Ije(k, g), {
|
|
58309
58312
|
config: w,
|
|
58310
58313
|
mark: {
|
|
58311
58314
|
type: x,
|
|
58312
58315
|
opacity: 0.96,
|
|
58313
58316
|
tooltip: { content: "data" }
|
|
58314
58317
|
},
|
|
58315
|
-
encoding:
|
|
58318
|
+
encoding: k
|
|
58316
58319
|
};
|
|
58317
58320
|
}
|
|
58318
58321
|
const Rje = De.div`
|
|
@@ -58321,12 +58324,12 @@ const Rje = De.div`
|
|
|
58321
58324
|
grid-template-rows: repeat(${(e) => e.rowSize}, 1fr);
|
|
58322
58325
|
`, _E = "geom", k_ = new o2(), C_ = new o2(), Tje = C_.pipe(xje(k_), nK(([e, t]) => Object.keys(e).length > 0)), NZ = "__gw_brush__", RZ = "__gw_point__", Fje = ll(function(t, n) {
|
|
58323
58326
|
var ce;
|
|
58324
|
-
const { dataSource: r = [], rows: i = [], columns: a = [], defaultAggregate: o = !0, stack: s = "stack", geomType: l, color: u, opacity: c, size: f, theta: d, radius: h, shape: p, text: m, onGeomClick: g, showActions: b, interactiveScale: v, layoutMode: y, width: x, height: w, details:
|
|
58327
|
+
const { dataSource: r = [], rows: i = [], columns: a = [], defaultAggregate: o = !0, stack: s = "stack", geomType: l, color: u, opacity: c, size: f, theta: d, radius: h, shape: p, text: m, onGeomClick: g, showActions: b, interactiveScale: v, layoutMode: y, width: x, height: w, details: k = [], themeKey: S = "vega", dark: O = "media", format: _ } = t, [C, I] = Fe([]), { i18n: R } = xt(), N = Al(O), F = (ce = Eje[S]) == null ? void 0 : ce[N], T = be(() => {
|
|
58325
58328
|
const P = {
|
|
58326
58329
|
...F
|
|
58327
58330
|
};
|
|
58328
|
-
return
|
|
58329
|
-
}, [F,
|
|
58331
|
+
return _.normalizedNumberFormat && _.normalizedNumberFormat.length > 0 && (P.normalizedNumberFormat = _.normalizedNumberFormat), _.numberFormat && _.numberFormat.length > 0 && (P.numberFormat = _.numberFormat), _.timeFormat && _.timeFormat.length > 0 && (P.timeFormat = _.timeFormat), P;
|
|
58332
|
+
}, [F, _.normalizedNumberFormat, _.numberFormat, _.timeFormat]);
|
|
58330
58333
|
Ne(() => {
|
|
58331
58334
|
const P = Tje.subscribe(([X, z]) => {
|
|
58332
58335
|
g && g(X, z);
|
|
@@ -58337,7 +58340,7 @@ const Rje = De.div`
|
|
|
58337
58340
|
}, [g]);
|
|
58338
58341
|
const L = be(() => i.filter((P) => P.analyticType === "dimension"), [i]), D = be(() => a.filter((P) => P.analyticType === "dimension"), [a]), M = be(() => i.filter((P) => P.analyticType === "measure"), [i]), W = be(() => a.filter((P) => P.analyticType === "measure"), [a]), Z = be(() => L.slice(0, -1), [L]), V = be(() => D.slice(0, -1), [D]), j = be(() => M.length === 0 ? L.slice(-1) : M, [L, M]), $ = be(() => W.length === 0 ? D.slice(-1) : W, [L, M]), H = be(() => [...i, ...a, u, c, f].filter((P) => Boolean(P)).map((P) => P.fid), [i, a, u, c, f]), [K, q] = Fe(-1);
|
|
58339
58342
|
Ne(() => {
|
|
58340
|
-
q(-1),
|
|
58343
|
+
q(-1), I((P) => {
|
|
58341
58344
|
const X = Math.max(1, j.length * $.length);
|
|
58342
58345
|
return new Array(X).fill(null).map((A, ee) => P[ee] || E.createRef());
|
|
58343
58346
|
});
|
|
@@ -58377,12 +58380,12 @@ const Rje = De.div`
|
|
|
58377
58380
|
column: oe,
|
|
58378
58381
|
xOffset: ct,
|
|
58379
58382
|
yOffset: ct,
|
|
58380
|
-
details:
|
|
58383
|
+
details: k,
|
|
58381
58384
|
defaultAggregated: o,
|
|
58382
58385
|
stack: s,
|
|
58383
58386
|
geomType: l
|
|
58384
58387
|
});
|
|
58385
|
-
ge.mark = le.mark, "encoding" in le && (ge.encoding = le.encoding),
|
|
58388
|
+
ge.mark = le.mark, "encoding" in le && (ge.encoding = le.encoding), C.length > 0 && C[0].current && xZ(C[0].current, ge, { mode: "vega-lite", actions: b, timeFormatLocale: CZ(R.language), config: T }).then((rt) => {
|
|
58386
58389
|
re.current = [rt.view];
|
|
58387
58390
|
try {
|
|
58388
58391
|
rt.view.addEventListener("click", (Ue) => {
|
|
@@ -58416,12 +58419,12 @@ const Rje = De.div`
|
|
|
58416
58419
|
text: m || ct,
|
|
58417
58420
|
xOffset: ct,
|
|
58418
58421
|
yOffset: ct,
|
|
58419
|
-
details:
|
|
58422
|
+
details: k,
|
|
58420
58423
|
defaultAggregated: o,
|
|
58421
58424
|
stack: s,
|
|
58422
58425
|
geomType: l,
|
|
58423
58426
|
hideLegend: !Lt
|
|
58424
|
-
}), Na = Ve * $.length + We <
|
|
58427
|
+
}), Na = Ve * $.length + We < C.length ? C[Ve * $.length + We].current : null;
|
|
58425
58428
|
let wn = { ...ge };
|
|
58426
58429
|
const Ql = { ...wn, ...zt };
|
|
58427
58430
|
"params" in wn && (Ql.params = wn.params), Na && xZ(Na, Ql, { mode: "vega-lite", actions: b, timeFormatLocale: CZ(R.language), config: T }).then((Sn) => {
|
|
@@ -58486,7 +58489,7 @@ const Rje = De.div`
|
|
|
58486
58489
|
p,
|
|
58487
58490
|
d,
|
|
58488
58491
|
h,
|
|
58489
|
-
|
|
58492
|
+
C,
|
|
58490
58493
|
Z,
|
|
58491
58494
|
V,
|
|
58492
58495
|
j,
|
|
@@ -58498,7 +58501,7 @@ const Rje = De.div`
|
|
|
58498
58501
|
x,
|
|
58499
58502
|
w,
|
|
58500
58503
|
T,
|
|
58501
|
-
|
|
58504
|
+
k,
|
|
58502
58505
|
m
|
|
58503
58506
|
]), _K(n, () => ({
|
|
58504
58507
|
getSVGData() {
|
|
@@ -58525,13 +58528,13 @@ const Rje = De.div`
|
|
|
58525
58528
|
}
|
|
58526
58529
|
return A;
|
|
58527
58530
|
}
|
|
58528
|
-
})), E.createElement(Rje, { rowSize: Math.max(j.length, 1), colSize: Math.max($.length, 1) },
|
|
58531
|
+
})), E.createElement(Rje, { rowSize: Math.max(j.length, 1), colSize: Math.max($.length, 1) }, C.map((P, X) => E.createElement("div", { key: X, ref: P })));
|
|
58529
58532
|
});
|
|
58530
58533
|
function Lje() {
|
|
58531
58534
|
return E.createElement("div", { className: "bg-gray-100/50 dark:bg-gray-700/50 absolute top-0 left-0 right-0 bottom-0 z-50 flex items-center justify-center" }, "Loading...");
|
|
58532
58535
|
}
|
|
58533
58536
|
const Dje = ll(function({ themeKey: e, dark: t, data: n, loading: r, draggableFieldState: i, visualConfig: a }, o) {
|
|
58534
|
-
const { vizStore: s, commonStore: l } = ut(), { geoms: u, interactiveScale: c, defaultAggregated: f, stack: d, showActions: h, size: p, format: m } = a, g = i.rows, b = i.columns, v = i.color, y = i.opacity, x = i.shape, w = i.theta,
|
|
58537
|
+
const { vizStore: s, commonStore: l } = ut(), { geoms: u, interactiveScale: c, defaultAggregated: f, stack: d, showActions: h, size: p, format: m } = a, g = i.rows, b = i.columns, v = i.color, y = i.opacity, x = i.shape, w = i.theta, k = i.radius, S = i.size, O = i.details, _ = i.text, C = Mt(m), I = be(() => g.slice(0, -1).filter((L) => L.analyticType === "dimension"), [g]), R = be(() => b.slice(0, -1).filter((L) => L.analyticType === "dimension"), [b]), N = I.length > 0 || R.length > 0, F = fr((L, D) => {
|
|
58535
58538
|
D.stopPropagation(), aie(() => {
|
|
58536
58539
|
l.showEmbededMenu([D.pageX, D.pageY]), l.setFilters(L);
|
|
58537
58540
|
});
|
|
@@ -58558,7 +58561,7 @@ const Dje = ll(function({ themeKey: e, dark: t, data: n, loading: r, draggableFi
|
|
|
58558
58561
|
height: p.height + "px"
|
|
58559
58562
|
} },
|
|
58560
58563
|
r && E.createElement(Lje, null),
|
|
58561
|
-
E.createElement(Fje, { format:
|
|
58564
|
+
E.createElement(Fje, { format: C, layoutMode: p.mode, interactiveScale: c, geomType: u[0], defaultAggregate: f, stack: d, dataSource: n, rows: g, columns: b, color: v[0], theta: w[0], radius: k[0], shape: x[0], opacity: y[0], size: S[0], details: O, text: _[0], showActions: h, width: p.width - 12 * 4, height: p.height - 12 * 4, ref: o, onGeomClick: F, themeKey: e, dark: t })
|
|
58562
58565
|
);
|
|
58563
58566
|
});
|
|
58564
58567
|
function oK(e) {
|
|
@@ -58771,11 +58774,11 @@ const Zje = (e) => {
|
|
|
58771
58774
|
const { themeKey: n, dark: r } = e, [i, a] = Fe(!1), { vizStore: o, commonStore: s } = ut(), { allFields: l, viewFilters: u, viewDimensions: c, viewMeasures: f } = o, { currentDataset: d } = s, { dataSource: h } = d, [p, m] = Fe(Wv), [g, b] = Fe(Mb), [v, y] = Fe([]);
|
|
58772
58775
|
return Ne(() => {
|
|
58773
58776
|
a(!0), Pfe(h, u).then((x) => Zfe(x, l)).then((x) => {
|
|
58774
|
-
const w = c,
|
|
58775
|
-
return Gfe(x, w.concat(
|
|
58777
|
+
const w = c, k = f, S = Mt(o.visualConfig);
|
|
58778
|
+
return Gfe(x, w.concat(k), {
|
|
58776
58779
|
op: S.defaultAggregated ? "aggregate" : "raw",
|
|
58777
|
-
groupBy: w.map((
|
|
58778
|
-
measures:
|
|
58780
|
+
groupBy: w.map((O) => O.fid),
|
|
58781
|
+
measures: k.map((O) => ({ field: O.fid, agg: O.aggName, asFieldKey: Gv(O.fid, O.aggName) }))
|
|
58779
58782
|
});
|
|
58780
58783
|
}).then((x) => {
|
|
58781
58784
|
Pu(() => {
|
|
@@ -58876,48 +58879,48 @@ License: MIT
|
|
|
58876
58879
|
(function(n, r) {
|
|
58877
58880
|
e.exports = r();
|
|
58878
58881
|
})(NK, function n() {
|
|
58879
|
-
var r = typeof self < "u" ? self : typeof window < "u" ? window : r !== void 0 ? r : {}, i = !r.document && !!r.postMessage, a = i && /blob:/i.test((r.location || {}).protocol), o = {}, s = 0, l = { parse: function(
|
|
58880
|
-
var
|
|
58881
|
-
if (S(
|
|
58882
|
-
var
|
|
58882
|
+
var r = typeof self < "u" ? self : typeof window < "u" ? window : r !== void 0 ? r : {}, i = !r.document && !!r.postMessage, a = i && /blob:/i.test((r.location || {}).protocol), o = {}, s = 0, l = { parse: function(O, _) {
|
|
58883
|
+
var C = (_ = _ || {}).dynamicTyping || !1;
|
|
58884
|
+
if (S(C) && (_.dynamicTypingFunction = C, C = {}), _.dynamicTyping = C, _.transform = !!S(_.transform) && _.transform, _.worker && l.WORKERS_SUPPORTED) {
|
|
58885
|
+
var I = function() {
|
|
58883
58886
|
if (!l.WORKERS_SUPPORTED)
|
|
58884
58887
|
return !1;
|
|
58885
58888
|
var N = (T = r.URL || r.webkitURL || null, L = n.toString(), l.BLOB_URL || (l.BLOB_URL = T.createObjectURL(new Blob(["(", L, ")();"], { type: "text/javascript" })))), F = new r.Worker(N), T, L;
|
|
58886
58889
|
return F.onmessage = v, F.id = s++, o[F.id] = F;
|
|
58887
58890
|
}();
|
|
58888
|
-
return
|
|
58891
|
+
return I.userStep = _.step, I.userChunk = _.chunk, I.userComplete = _.complete, I.userError = _.error, _.step = S(_.step), _.chunk = S(_.chunk), _.complete = S(_.complete), _.error = S(_.error), delete _.worker, void I.postMessage({ input: O, config: _, workerId: I.id });
|
|
58889
58892
|
}
|
|
58890
58893
|
var R = null;
|
|
58891
|
-
return l.NODE_STREAM_INPUT, typeof
|
|
58892
|
-
}, unparse: function(
|
|
58893
|
-
var
|
|
58894
|
+
return l.NODE_STREAM_INPUT, typeof O == "string" ? R = _.download ? new f(_) : new h(_) : O.readable === !0 && S(O.read) && S(O.on) ? R = new p(_) : (r.File && O instanceof File || O instanceof Object) && (R = new d(_)), R.stream(O);
|
|
58895
|
+
}, unparse: function(O, _) {
|
|
58896
|
+
var C = !1, I = !0, R = ",", N = `\r
|
|
58894
58897
|
`, F = '"', T = F + F, L = !1, D = null, M = !1;
|
|
58895
58898
|
(function() {
|
|
58896
|
-
if (typeof
|
|
58897
|
-
if (typeof
|
|
58898
|
-
return
|
|
58899
|
-
}).length || (R =
|
|
58900
|
-
if (
|
|
58899
|
+
if (typeof _ == "object") {
|
|
58900
|
+
if (typeof _.delimiter != "string" || l.BAD_DELIMITERS.filter(function(j) {
|
|
58901
|
+
return _.delimiter.indexOf(j) !== -1;
|
|
58902
|
+
}).length || (R = _.delimiter), (typeof _.quotes == "boolean" || typeof _.quotes == "function" || Array.isArray(_.quotes)) && (C = _.quotes), typeof _.skipEmptyLines != "boolean" && typeof _.skipEmptyLines != "string" || (L = _.skipEmptyLines), typeof _.newline == "string" && (N = _.newline), typeof _.quoteChar == "string" && (F = _.quoteChar), typeof _.header == "boolean" && (I = _.header), Array.isArray(_.columns)) {
|
|
58903
|
+
if (_.columns.length === 0)
|
|
58901
58904
|
throw new Error("Option columns is empty");
|
|
58902
|
-
D =
|
|
58905
|
+
D = _.columns;
|
|
58903
58906
|
}
|
|
58904
|
-
|
|
58907
|
+
_.escapeChar !== void 0 && (T = _.escapeChar + F), (typeof _.escapeFormulae == "boolean" || _.escapeFormulae instanceof RegExp) && (M = _.escapeFormulae instanceof RegExp ? _.escapeFormulae : /^[=+\-@\t\r].*$/);
|
|
58905
58908
|
}
|
|
58906
58909
|
})();
|
|
58907
58910
|
var W = new RegExp(g(F), "g");
|
|
58908
|
-
if (typeof
|
|
58909
|
-
if (!
|
|
58910
|
-
return Z(null,
|
|
58911
|
-
if (typeof
|
|
58912
|
-
return Z(D || Object.keys(
|
|
58913
|
-
} else if (typeof
|
|
58914
|
-
return typeof
|
|
58911
|
+
if (typeof O == "string" && (O = JSON.parse(O)), Array.isArray(O)) {
|
|
58912
|
+
if (!O.length || Array.isArray(O[0]))
|
|
58913
|
+
return Z(null, O, L);
|
|
58914
|
+
if (typeof O[0] == "object")
|
|
58915
|
+
return Z(D || Object.keys(O[0]), O, L);
|
|
58916
|
+
} else if (typeof O == "object")
|
|
58917
|
+
return typeof O.data == "string" && (O.data = JSON.parse(O.data)), Array.isArray(O.data) && (O.fields || (O.fields = O.meta && O.meta.fields || D), O.fields || (O.fields = Array.isArray(O.data[0]) ? O.fields : typeof O.data[0] == "object" ? Object.keys(O.data[0]) : []), Array.isArray(O.data[0]) || typeof O.data[0] == "object" || (O.data = [O.data])), Z(O.fields || [], O.data || [], L);
|
|
58915
58918
|
throw new Error("Unable to serialize unrecognized input");
|
|
58916
58919
|
function Z(j, $, H) {
|
|
58917
58920
|
var K = "";
|
|
58918
58921
|
typeof j == "string" && (j = JSON.parse(j)), typeof $ == "string" && ($ = JSON.parse($));
|
|
58919
58922
|
var q = Array.isArray(j) && 0 < j.length, re = !Array.isArray($[0]);
|
|
58920
|
-
if (q &&
|
|
58923
|
+
if (q && I) {
|
|
58921
58924
|
for (var ce = 0; ce < j.length; ce++)
|
|
58922
58925
|
0 < ce && (K += R), K += V(j[ce], ce);
|
|
58923
58926
|
0 < $.length && (K += N);
|
|
@@ -58950,7 +58953,7 @@ License: MIT
|
|
|
58950
58953
|
var H = !1;
|
|
58951
58954
|
M && typeof j == "string" && M.test(j) && (j = "'" + j, H = !0);
|
|
58952
58955
|
var K = j.toString().replace(W, T);
|
|
58953
|
-
return (H = H ||
|
|
58956
|
+
return (H = H || C === !0 || typeof C == "function" && C(j, $) || Array.isArray(C) && C[$] || function(q, re) {
|
|
58954
58957
|
for (var ce = 0; ce < re.length; ce++)
|
|
58955
58958
|
if (-1 < q.indexOf(re[ce]))
|
|
58956
58959
|
return !0;
|
|
@@ -58961,22 +58964,22 @@ License: MIT
|
|
|
58961
58964
|
if (l.RECORD_SEP = String.fromCharCode(30), l.UNIT_SEP = String.fromCharCode(31), l.BYTE_ORDER_MARK = "\uFEFF", l.BAD_DELIMITERS = ["\r", `
|
|
58962
58965
|
`, '"', l.BYTE_ORDER_MARK], l.WORKERS_SUPPORTED = !i && !!r.Worker, l.NODE_STREAM_INPUT = 1, l.LocalChunkSize = 10485760, l.RemoteChunkSize = 5242880, l.DefaultDelimiter = ",", l.Parser = b, l.ParserHandle = m, l.NetworkStreamer = f, l.FileStreamer = d, l.StringStreamer = h, l.ReadableStreamStreamer = p, r.jQuery) {
|
|
58963
58966
|
var u = r.jQuery;
|
|
58964
|
-
u.fn.parse = function(
|
|
58965
|
-
var
|
|
58967
|
+
u.fn.parse = function(O) {
|
|
58968
|
+
var _ = O.config || {}, C = [];
|
|
58966
58969
|
return this.each(function(N) {
|
|
58967
58970
|
if (!(u(this).prop("tagName").toUpperCase() === "INPUT" && u(this).attr("type").toLowerCase() === "file" && r.FileReader) || !this.files || this.files.length === 0)
|
|
58968
58971
|
return !0;
|
|
58969
58972
|
for (var F = 0; F < this.files.length; F++)
|
|
58970
|
-
|
|
58971
|
-
}),
|
|
58972
|
-
function
|
|
58973
|
-
if (
|
|
58974
|
-
var N, F, T, L, D =
|
|
58975
|
-
if (S(
|
|
58976
|
-
var M =
|
|
58973
|
+
C.push({ file: this.files[F], inputElem: this, instanceConfig: u.extend({}, _) });
|
|
58974
|
+
}), I(), this;
|
|
58975
|
+
function I() {
|
|
58976
|
+
if (C.length !== 0) {
|
|
58977
|
+
var N, F, T, L, D = C[0];
|
|
58978
|
+
if (S(O.before)) {
|
|
58979
|
+
var M = O.before(D.file, D.inputElem);
|
|
58977
58980
|
if (typeof M == "object") {
|
|
58978
58981
|
if (M.action === "abort")
|
|
58979
|
-
return N = "AbortError", F = D.file, T = D.inputElem, L = M.reason, void (S(
|
|
58982
|
+
return N = "AbortError", F = D.file, T = D.inputElem, L = M.reason, void (S(O.error) && O.error({ name: N }, F, T, L));
|
|
58980
58983
|
if (M.action === "skip")
|
|
58981
58984
|
return void R();
|
|
58982
58985
|
typeof M.config == "object" && (D.instanceConfig = u.extend(D.instanceConfig, M.config));
|
|
@@ -58988,24 +58991,24 @@ License: MIT
|
|
|
58988
58991
|
S(W) && W(Z, D.file, D.inputElem), R();
|
|
58989
58992
|
}, l.parse(D.file, D.instanceConfig);
|
|
58990
58993
|
} else
|
|
58991
|
-
S(
|
|
58994
|
+
S(O.complete) && O.complete();
|
|
58992
58995
|
}
|
|
58993
58996
|
function R() {
|
|
58994
|
-
|
|
58997
|
+
C.splice(0, 1), I();
|
|
58995
58998
|
}
|
|
58996
58999
|
};
|
|
58997
59000
|
}
|
|
58998
|
-
function c(
|
|
58999
|
-
this._handle = null, this._finished = !1, this._completed = !1, this._halted = !1, this._input = null, this._baseIndex = 0, this._partialLine = "", this._rowCount = 0, this._start = 0, this._nextChunk = null, this.isFirstChunk = !0, this._completeResults = { data: [], errors: [], meta: {} }, function(
|
|
59000
|
-
var
|
|
59001
|
-
|
|
59002
|
-
}.call(this,
|
|
59001
|
+
function c(O) {
|
|
59002
|
+
this._handle = null, this._finished = !1, this._completed = !1, this._halted = !1, this._input = null, this._baseIndex = 0, this._partialLine = "", this._rowCount = 0, this._start = 0, this._nextChunk = null, this.isFirstChunk = !0, this._completeResults = { data: [], errors: [], meta: {} }, function(_) {
|
|
59003
|
+
var C = w(_);
|
|
59004
|
+
C.chunkSize = parseInt(C.chunkSize), _.step || _.chunk || (C.chunkSize = null), this._handle = new m(C), (this._handle.streamer = this)._config = C;
|
|
59005
|
+
}.call(this, O), this.parseChunk = function(_, C) {
|
|
59003
59006
|
if (this.isFirstChunk && S(this._config.beforeFirstChunk)) {
|
|
59004
|
-
var
|
|
59005
|
-
|
|
59007
|
+
var I = this._config.beforeFirstChunk(_);
|
|
59008
|
+
I !== void 0 && (_ = I);
|
|
59006
59009
|
}
|
|
59007
59010
|
this.isFirstChunk = !1, this._halted = !1;
|
|
59008
|
-
var R = this._partialLine +
|
|
59011
|
+
var R = this._partialLine + _;
|
|
59009
59012
|
this._partialLine = "";
|
|
59010
59013
|
var N = this._handle.parse(R, this._baseIndex, !this._finished);
|
|
59011
59014
|
if (!this._handle.paused() && !this._handle.aborted()) {
|
|
@@ -59014,7 +59017,7 @@ License: MIT
|
|
|
59014
59017
|
var T = this._finished || this._config.preview && this._rowCount >= this._config.preview;
|
|
59015
59018
|
if (a)
|
|
59016
59019
|
r.postMessage({ results: N, workerId: l.WORKER_ID, finished: T });
|
|
59017
|
-
else if (S(this._config.chunk) && !
|
|
59020
|
+
else if (S(this._config.chunk) && !C) {
|
|
59018
59021
|
if (this._config.chunk(N, this._handle), this._handle.paused() || this._handle.aborted())
|
|
59019
59022
|
return void (this._halted = !0);
|
|
59020
59023
|
N = void 0, this._completeResults = void 0;
|
|
@@ -59022,84 +59025,84 @@ License: MIT
|
|
|
59022
59025
|
return this._config.step || this._config.chunk || (this._completeResults.data = this._completeResults.data.concat(N.data), this._completeResults.errors = this._completeResults.errors.concat(N.errors), this._completeResults.meta = N.meta), this._completed || !T || !S(this._config.complete) || N && N.meta.aborted || (this._config.complete(this._completeResults, this._input), this._completed = !0), T || N && N.meta.paused || this._nextChunk(), N;
|
|
59023
59026
|
}
|
|
59024
59027
|
this._halted = !0;
|
|
59025
|
-
}, this._sendError = function(
|
|
59026
|
-
S(this._config.error) ? this._config.error(
|
|
59028
|
+
}, this._sendError = function(_) {
|
|
59029
|
+
S(this._config.error) ? this._config.error(_) : a && this._config.error && r.postMessage({ workerId: l.WORKER_ID, error: _, finished: !1 });
|
|
59027
59030
|
};
|
|
59028
59031
|
}
|
|
59029
|
-
function f(
|
|
59030
|
-
var
|
|
59031
|
-
(
|
|
59032
|
+
function f(O) {
|
|
59033
|
+
var _;
|
|
59034
|
+
(O = O || {}).chunkSize || (O.chunkSize = l.RemoteChunkSize), c.call(this, O), this._nextChunk = i ? function() {
|
|
59032
59035
|
this._readChunk(), this._chunkLoaded();
|
|
59033
59036
|
} : function() {
|
|
59034
59037
|
this._readChunk();
|
|
59035
|
-
}, this.stream = function(
|
|
59036
|
-
this._input =
|
|
59038
|
+
}, this.stream = function(C) {
|
|
59039
|
+
this._input = C, this._nextChunk();
|
|
59037
59040
|
}, this._readChunk = function() {
|
|
59038
59041
|
if (this._finished)
|
|
59039
59042
|
this._chunkLoaded();
|
|
59040
59043
|
else {
|
|
59041
|
-
if (
|
|
59042
|
-
var
|
|
59043
|
-
for (var
|
|
59044
|
-
|
|
59044
|
+
if (_ = new XMLHttpRequest(), this._config.withCredentials && (_.withCredentials = this._config.withCredentials), i || (_.onload = k(this._chunkLoaded, this), _.onerror = k(this._chunkError, this)), _.open(this._config.downloadRequestBody ? "POST" : "GET", this._input, !i), this._config.downloadRequestHeaders) {
|
|
59045
|
+
var C = this._config.downloadRequestHeaders;
|
|
59046
|
+
for (var I in C)
|
|
59047
|
+
_.setRequestHeader(I, C[I]);
|
|
59045
59048
|
}
|
|
59046
59049
|
if (this._config.chunkSize) {
|
|
59047
59050
|
var R = this._start + this._config.chunkSize - 1;
|
|
59048
|
-
|
|
59051
|
+
_.setRequestHeader("Range", "bytes=" + this._start + "-" + R);
|
|
59049
59052
|
}
|
|
59050
59053
|
try {
|
|
59051
|
-
|
|
59054
|
+
_.send(this._config.downloadRequestBody);
|
|
59052
59055
|
} catch (N) {
|
|
59053
59056
|
this._chunkError(N.message);
|
|
59054
59057
|
}
|
|
59055
|
-
i &&
|
|
59058
|
+
i && _.status === 0 && this._chunkError();
|
|
59056
59059
|
}
|
|
59057
59060
|
}, this._chunkLoaded = function() {
|
|
59058
|
-
|
|
59059
|
-
var
|
|
59060
|
-
return
|
|
59061
|
-
}(
|
|
59062
|
-
}, this._chunkError = function(
|
|
59063
|
-
var
|
|
59064
|
-
this._sendError(new Error(
|
|
59061
|
+
_.readyState === 4 && (_.status < 200 || 400 <= _.status ? this._chunkError() : (this._start += this._config.chunkSize ? this._config.chunkSize : _.responseText.length, this._finished = !this._config.chunkSize || this._start >= function(C) {
|
|
59062
|
+
var I = C.getResponseHeader("Content-Range");
|
|
59063
|
+
return I === null ? -1 : parseInt(I.substring(I.lastIndexOf("/") + 1));
|
|
59064
|
+
}(_), this.parseChunk(_.responseText)));
|
|
59065
|
+
}, this._chunkError = function(C) {
|
|
59066
|
+
var I = _.statusText || C;
|
|
59067
|
+
this._sendError(new Error(I));
|
|
59065
59068
|
};
|
|
59066
59069
|
}
|
|
59067
|
-
function d(
|
|
59068
|
-
var
|
|
59069
|
-
(
|
|
59070
|
-
var
|
|
59070
|
+
function d(O) {
|
|
59071
|
+
var _, C;
|
|
59072
|
+
(O = O || {}).chunkSize || (O.chunkSize = l.LocalChunkSize), c.call(this, O);
|
|
59073
|
+
var I = typeof FileReader < "u";
|
|
59071
59074
|
this.stream = function(R) {
|
|
59072
|
-
this._input = R,
|
|
59075
|
+
this._input = R, C = R.slice || R.webkitSlice || R.mozSlice, I ? ((_ = new FileReader()).onload = k(this._chunkLoaded, this), _.onerror = k(this._chunkError, this)) : _ = new FileReaderSync(), this._nextChunk();
|
|
59073
59076
|
}, this._nextChunk = function() {
|
|
59074
59077
|
this._finished || this._config.preview && !(this._rowCount < this._config.preview) || this._readChunk();
|
|
59075
59078
|
}, this._readChunk = function() {
|
|
59076
59079
|
var R = this._input;
|
|
59077
59080
|
if (this._config.chunkSize) {
|
|
59078
59081
|
var N = Math.min(this._start + this._config.chunkSize, this._input.size);
|
|
59079
|
-
R =
|
|
59082
|
+
R = C.call(R, this._start, N);
|
|
59080
59083
|
}
|
|
59081
|
-
var F =
|
|
59082
|
-
|
|
59084
|
+
var F = _.readAsText(R, this._config.encoding);
|
|
59085
|
+
I || this._chunkLoaded({ target: { result: F } });
|
|
59083
59086
|
}, this._chunkLoaded = function(R) {
|
|
59084
59087
|
this._start += this._config.chunkSize, this._finished = !this._config.chunkSize || this._start >= this._input.size, this.parseChunk(R.target.result);
|
|
59085
59088
|
}, this._chunkError = function() {
|
|
59086
|
-
this._sendError(
|
|
59089
|
+
this._sendError(_.error);
|
|
59087
59090
|
};
|
|
59088
59091
|
}
|
|
59089
|
-
function h(
|
|
59090
|
-
var
|
|
59091
|
-
c.call(this,
|
|
59092
|
-
return
|
|
59092
|
+
function h(O) {
|
|
59093
|
+
var _;
|
|
59094
|
+
c.call(this, O = O || {}), this.stream = function(C) {
|
|
59095
|
+
return _ = C, this._nextChunk();
|
|
59093
59096
|
}, this._nextChunk = function() {
|
|
59094
59097
|
if (!this._finished) {
|
|
59095
|
-
var
|
|
59096
|
-
return
|
|
59098
|
+
var C, I = this._config.chunkSize;
|
|
59099
|
+
return I ? (C = _.substring(0, I), _ = _.substring(I)) : (C = _, _ = ""), this._finished = !_, this.parseChunk(C);
|
|
59097
59100
|
}
|
|
59098
59101
|
};
|
|
59099
59102
|
}
|
|
59100
|
-
function p(
|
|
59101
|
-
c.call(this,
|
|
59102
|
-
var
|
|
59103
|
+
function p(O) {
|
|
59104
|
+
c.call(this, O = O || {});
|
|
59105
|
+
var _ = [], C = !0, I = !1;
|
|
59103
59106
|
this.pause = function() {
|
|
59104
59107
|
c.prototype.pause.apply(this, arguments), this._input.pause();
|
|
59105
59108
|
}, this.resume = function() {
|
|
@@ -59107,48 +59110,48 @@ License: MIT
|
|
|
59107
59110
|
}, this.stream = function(R) {
|
|
59108
59111
|
this._input = R, this._input.on("data", this._streamData), this._input.on("end", this._streamEnd), this._input.on("error", this._streamError);
|
|
59109
59112
|
}, this._checkIsFinished = function() {
|
|
59110
|
-
|
|
59113
|
+
I && _.length === 1 && (this._finished = !0);
|
|
59111
59114
|
}, this._nextChunk = function() {
|
|
59112
|
-
this._checkIsFinished(),
|
|
59113
|
-
}, this._streamData =
|
|
59115
|
+
this._checkIsFinished(), _.length ? this.parseChunk(_.shift()) : C = !0;
|
|
59116
|
+
}, this._streamData = k(function(R) {
|
|
59114
59117
|
try {
|
|
59115
|
-
|
|
59118
|
+
_.push(typeof R == "string" ? R : R.toString(this._config.encoding)), C && (C = !1, this._checkIsFinished(), this.parseChunk(_.shift()));
|
|
59116
59119
|
} catch (N) {
|
|
59117
59120
|
this._streamError(N);
|
|
59118
59121
|
}
|
|
59119
|
-
}, this), this._streamError =
|
|
59122
|
+
}, this), this._streamError = k(function(R) {
|
|
59120
59123
|
this._streamCleanUp(), this._sendError(R);
|
|
59121
|
-
}, this), this._streamEnd =
|
|
59122
|
-
this._streamCleanUp(),
|
|
59123
|
-
}, this), this._streamCleanUp =
|
|
59124
|
+
}, this), this._streamEnd = k(function() {
|
|
59125
|
+
this._streamCleanUp(), I = !0, this._streamData("");
|
|
59126
|
+
}, this), this._streamCleanUp = k(function() {
|
|
59124
59127
|
this._input.removeListener("data", this._streamData), this._input.removeListener("end", this._streamEnd), this._input.removeListener("error", this._streamError);
|
|
59125
59128
|
}, this);
|
|
59126
59129
|
}
|
|
59127
|
-
function m(
|
|
59128
|
-
var
|
|
59129
|
-
if (S(
|
|
59130
|
-
var $ =
|
|
59131
|
-
|
|
59130
|
+
function m(O) {
|
|
59131
|
+
var _, C, I, R = Math.pow(2, 53), N = -R, F = /^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/, T = /^(\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))$/, L = this, D = 0, M = 0, W = !1, Z = !1, V = [], j = { data: [], errors: [], meta: {} };
|
|
59132
|
+
if (S(O.step)) {
|
|
59133
|
+
var $ = O.step;
|
|
59134
|
+
O.step = function(P) {
|
|
59132
59135
|
if (j = P, q())
|
|
59133
59136
|
K();
|
|
59134
59137
|
else {
|
|
59135
59138
|
if (K(), j.data.length === 0)
|
|
59136
59139
|
return;
|
|
59137
|
-
D += P.data.length,
|
|
59140
|
+
D += P.data.length, O.preview && D > O.preview ? C.abort() : (j.data = j.data[0], $(j, L));
|
|
59138
59141
|
}
|
|
59139
59142
|
};
|
|
59140
59143
|
}
|
|
59141
59144
|
function H(P) {
|
|
59142
|
-
return
|
|
59145
|
+
return O.skipEmptyLines === "greedy" ? P.join("").trim() === "" : P.length === 1 && P[0].length === 0;
|
|
59143
59146
|
}
|
|
59144
59147
|
function K() {
|
|
59145
|
-
return j &&
|
|
59148
|
+
return j && I && (ce("Delimiter", "UndetectableDelimiter", "Unable to auto-detect delimiting character; defaulted to '" + l.DefaultDelimiter + "'"), I = !1), O.skipEmptyLines && (j.data = j.data.filter(function(P) {
|
|
59146
59149
|
return !H(P);
|
|
59147
59150
|
})), q() && function() {
|
|
59148
59151
|
if (!j)
|
|
59149
59152
|
return;
|
|
59150
59153
|
function P(z, A) {
|
|
59151
|
-
S(
|
|
59154
|
+
S(O.transformHeader) && (z = O.transformHeader(z, A)), V.push(z);
|
|
59152
59155
|
}
|
|
59153
59156
|
if (Array.isArray(j.data[0])) {
|
|
59154
59157
|
for (var X = 0; q() && X < j.data.length; X++)
|
|
@@ -59157,25 +59160,25 @@ License: MIT
|
|
|
59157
59160
|
} else
|
|
59158
59161
|
j.data.forEach(P);
|
|
59159
59162
|
}(), function() {
|
|
59160
|
-
if (!j || !
|
|
59163
|
+
if (!j || !O.header && !O.dynamicTyping && !O.transform)
|
|
59161
59164
|
return j;
|
|
59162
59165
|
function P(z, A) {
|
|
59163
|
-
var ee, oe =
|
|
59166
|
+
var ee, oe = O.header ? {} : [];
|
|
59164
59167
|
for (ee = 0; ee < z.length; ee++) {
|
|
59165
59168
|
var ge = ee, le = z[ee];
|
|
59166
|
-
|
|
59169
|
+
O.header && (ge = ee >= V.length ? "__parsed_extra" : V[ee]), O.transform && (le = O.transform(le, ge)), le = re(ge, le), ge === "__parsed_extra" ? (oe[ge] = oe[ge] || [], oe[ge].push(le)) : oe[ge] = le;
|
|
59167
59170
|
}
|
|
59168
|
-
return
|
|
59171
|
+
return O.header && (ee > V.length ? ce("FieldMismatch", "TooManyFields", "Too many fields: expected " + V.length + " fields but parsed " + ee, M + A) : ee < V.length && ce("FieldMismatch", "TooFewFields", "Too few fields: expected " + V.length + " fields but parsed " + ee, M + A)), oe;
|
|
59169
59172
|
}
|
|
59170
59173
|
var X = 1;
|
|
59171
|
-
return !j.data.length || Array.isArray(j.data[0]) ? (j.data = j.data.map(P), X = j.data.length) : j.data = P(j.data, 0),
|
|
59174
|
+
return !j.data.length || Array.isArray(j.data[0]) ? (j.data = j.data.map(P), X = j.data.length) : j.data = P(j.data, 0), O.header && j.meta && (j.meta.fields = V), M += X, j;
|
|
59172
59175
|
}();
|
|
59173
59176
|
}
|
|
59174
59177
|
function q() {
|
|
59175
|
-
return
|
|
59178
|
+
return O.header && V.length === 0;
|
|
59176
59179
|
}
|
|
59177
59180
|
function re(P, X) {
|
|
59178
|
-
return z = P,
|
|
59181
|
+
return z = P, O.dynamicTypingFunction && O.dynamicTyping[z] === void 0 && (O.dynamicTyping[z] = O.dynamicTypingFunction(z)), (O.dynamicTyping[z] || O.dynamicTyping) === !0 ? X === "true" || X === "TRUE" || X !== "false" && X !== "FALSE" && (function(A) {
|
|
59179
59182
|
if (F.test(A)) {
|
|
59180
59183
|
var ee = parseFloat(A);
|
|
59181
59184
|
if (N < ee && ee < R)
|
|
@@ -59190,8 +59193,8 @@ License: MIT
|
|
|
59190
59193
|
A !== void 0 && (ee.row = A), j.errors.push(ee);
|
|
59191
59194
|
}
|
|
59192
59195
|
this.parse = function(P, X, z) {
|
|
59193
|
-
var A =
|
|
59194
|
-
if (
|
|
59196
|
+
var A = O.quoteChar || '"';
|
|
59197
|
+
if (O.newline || (O.newline = function(ge, le) {
|
|
59195
59198
|
ge = ge.substring(0, 1048576);
|
|
59196
59199
|
var rt = new RegExp(g(le) + "([^]*?)" + g(le), "gm"), Ue = (ge = ge.replace(rt, "")).split("\r"), $t = ge.split(`
|
|
59197
59200
|
`), ze = 1 < $t.length && $t[0].length < Ue[0].length;
|
|
@@ -59203,8 +59206,8 @@ License: MIT
|
|
|
59203
59206
|
` && Ve++;
|
|
59204
59207
|
return Ve >= Ue.length / 2 ? `\r
|
|
59205
59208
|
` : "\r";
|
|
59206
|
-
}(P, A)),
|
|
59207
|
-
S(
|
|
59209
|
+
}(P, A)), I = !1, O.delimiter)
|
|
59210
|
+
S(O.delimiter) && (O.delimiter = O.delimiter(P), j.meta.delimiter = O.delimiter);
|
|
59208
59211
|
else {
|
|
59209
59212
|
var ee = function(ge, le, rt, Ue, $t) {
|
|
59210
59213
|
var ze, Ve, We, Ae;
|
|
@@ -59221,68 +59224,68 @@ License: MIT
|
|
|
59221
59224
|
}
|
|
59222
59225
|
0 < Sn.data.length && (wn /= Sn.data.length - Ql), (Ve === void 0 || Na <= Ve) && (Ae === void 0 || Ae < wn) && 1.99 < wn && (Ve = Na, ze = zt, Ae = wn);
|
|
59223
59226
|
}
|
|
59224
|
-
return { successful: !!(
|
|
59225
|
-
}(P,
|
|
59226
|
-
ee.successful ?
|
|
59227
|
+
return { successful: !!(O.delimiter = ze), bestDelimiter: ze };
|
|
59228
|
+
}(P, O.newline, O.skipEmptyLines, O.comments, O.delimitersToGuess);
|
|
59229
|
+
ee.successful ? O.delimiter = ee.bestDelimiter : (I = !0, O.delimiter = l.DefaultDelimiter), j.meta.delimiter = O.delimiter;
|
|
59227
59230
|
}
|
|
59228
|
-
var oe = w(
|
|
59229
|
-
return
|
|
59231
|
+
var oe = w(O);
|
|
59232
|
+
return O.preview && O.header && oe.preview++, _ = P, C = new b(oe), j = C.parse(_, X, z), K(), W ? { meta: { paused: !0 } } : j || { meta: { paused: !1 } };
|
|
59230
59233
|
}, this.paused = function() {
|
|
59231
59234
|
return W;
|
|
59232
59235
|
}, this.pause = function() {
|
|
59233
|
-
W = !0,
|
|
59236
|
+
W = !0, C.abort(), _ = S(O.chunk) ? "" : _.substring(C.getCharIndex());
|
|
59234
59237
|
}, this.resume = function() {
|
|
59235
|
-
L.streamer._halted ? (W = !1, L.streamer.parseChunk(
|
|
59238
|
+
L.streamer._halted ? (W = !1, L.streamer.parseChunk(_, !0)) : setTimeout(L.resume, 3);
|
|
59236
59239
|
}, this.aborted = function() {
|
|
59237
59240
|
return Z;
|
|
59238
59241
|
}, this.abort = function() {
|
|
59239
|
-
Z = !0,
|
|
59242
|
+
Z = !0, C.abort(), j.meta.aborted = !0, S(O.complete) && O.complete(j), _ = "";
|
|
59240
59243
|
};
|
|
59241
59244
|
}
|
|
59242
|
-
function g(
|
|
59243
|
-
return
|
|
59245
|
+
function g(O) {
|
|
59246
|
+
return O.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
59244
59247
|
}
|
|
59245
|
-
function b(
|
|
59246
|
-
var
|
|
59247
|
-
if (
|
|
59248
|
+
function b(O) {
|
|
59249
|
+
var _, C = (O = O || {}).delimiter, I = O.newline, R = O.comments, N = O.step, F = O.preview, T = O.fastMode, L = _ = O.quoteChar === void 0 || O.quoteChar === null ? '"' : O.quoteChar;
|
|
59250
|
+
if (O.escapeChar !== void 0 && (L = O.escapeChar), (typeof C != "string" || -1 < l.BAD_DELIMITERS.indexOf(C)) && (C = ","), R === C)
|
|
59248
59251
|
throw new Error("Comment character same as delimiter");
|
|
59249
|
-
R === !0 ? R = "#" : (typeof R != "string" || -1 < l.BAD_DELIMITERS.indexOf(R)) && (R = !1),
|
|
59250
|
-
` &&
|
|
59251
|
-
` && (
|
|
59252
|
+
R === !0 ? R = "#" : (typeof R != "string" || -1 < l.BAD_DELIMITERS.indexOf(R)) && (R = !1), I !== `
|
|
59253
|
+
` && I !== "\r" && I !== `\r
|
|
59254
|
+
` && (I = `
|
|
59252
59255
|
`);
|
|
59253
59256
|
var D = 0, M = !1;
|
|
59254
59257
|
this.parse = function(W, Z, V) {
|
|
59255
59258
|
if (typeof W != "string")
|
|
59256
59259
|
throw new Error("Input must be a string");
|
|
59257
|
-
var j = W.length, $ =
|
|
59260
|
+
var j = W.length, $ = C.length, H = I.length, K = R.length, q = S(N), re = [], ce = [], P = [], X = D = 0;
|
|
59258
59261
|
if (!W)
|
|
59259
59262
|
return Ae();
|
|
59260
|
-
if (T || T !== !1 && W.indexOf(
|
|
59261
|
-
for (var z = W.split(
|
|
59263
|
+
if (T || T !== !1 && W.indexOf(_) === -1) {
|
|
59264
|
+
for (var z = W.split(I), A = 0; A < z.length; A++) {
|
|
59262
59265
|
if (P = z[A], D += P.length, A !== z.length - 1)
|
|
59263
|
-
D +=
|
|
59266
|
+
D += I.length;
|
|
59264
59267
|
else if (V)
|
|
59265
59268
|
return Ae();
|
|
59266
59269
|
if (!R || P.substring(0, K) !== R) {
|
|
59267
59270
|
if (q) {
|
|
59268
|
-
if (re = [], $t(P.split(
|
|
59271
|
+
if (re = [], $t(P.split(C)), Lt(), M)
|
|
59269
59272
|
return Ae();
|
|
59270
59273
|
} else
|
|
59271
|
-
$t(P.split(
|
|
59274
|
+
$t(P.split(C));
|
|
59272
59275
|
if (F && F <= A)
|
|
59273
59276
|
return re = re.slice(0, F), Ae(!0);
|
|
59274
59277
|
}
|
|
59275
59278
|
}
|
|
59276
59279
|
return Ae();
|
|
59277
59280
|
}
|
|
59278
|
-
for (var ee = W.indexOf(
|
|
59279
|
-
if (W[D] !==
|
|
59281
|
+
for (var ee = W.indexOf(C, D), oe = W.indexOf(I, D), ge = new RegExp(g(L) + g(_), "g"), le = W.indexOf(_, D); ; )
|
|
59282
|
+
if (W[D] !== _)
|
|
59280
59283
|
if (R && P.length === 0 && W.substring(D, D + K) === R) {
|
|
59281
59284
|
if (oe === -1)
|
|
59282
59285
|
return Ae();
|
|
59283
|
-
D = oe + H, oe = W.indexOf(
|
|
59286
|
+
D = oe + H, oe = W.indexOf(I, D), ee = W.indexOf(C, D);
|
|
59284
59287
|
} else if (ee !== -1 && (ee < oe || oe === -1))
|
|
59285
|
-
P.push(W.substring(D, ee)), D = ee + $, ee = W.indexOf(
|
|
59288
|
+
P.push(W.substring(D, ee)), D = ee + $, ee = W.indexOf(C, D);
|
|
59286
59289
|
else {
|
|
59287
59290
|
if (oe === -1)
|
|
59288
59291
|
break;
|
|
@@ -59293,21 +59296,21 @@ License: MIT
|
|
|
59293
59296
|
}
|
|
59294
59297
|
else
|
|
59295
59298
|
for (le = D, D++; ; ) {
|
|
59296
|
-
if ((le = W.indexOf(
|
|
59299
|
+
if ((le = W.indexOf(_, le + 1)) === -1)
|
|
59297
59300
|
return V || ce.push({ type: "Quotes", code: "MissingQuotes", message: "Quoted field unterminated", row: re.length, index: D }), Ve();
|
|
59298
59301
|
if (le === j - 1)
|
|
59299
|
-
return Ve(W.substring(D, le).replace(ge,
|
|
59300
|
-
if (
|
|
59301
|
-
if (
|
|
59302
|
-
ee !== -1 && ee < le + 1 && (ee = W.indexOf(
|
|
59302
|
+
return Ve(W.substring(D, le).replace(ge, _));
|
|
59303
|
+
if (_ !== L || W[le + 1] !== L) {
|
|
59304
|
+
if (_ === L || le === 0 || W[le - 1] !== L) {
|
|
59305
|
+
ee !== -1 && ee < le + 1 && (ee = W.indexOf(C, le + 1)), oe !== -1 && oe < le + 1 && (oe = W.indexOf(I, le + 1));
|
|
59303
59306
|
var rt = ze(oe === -1 ? ee : Math.min(ee, oe));
|
|
59304
|
-
if (W.substr(le + 1 + rt, $) ===
|
|
59305
|
-
P.push(W.substring(D, le).replace(ge,
|
|
59307
|
+
if (W.substr(le + 1 + rt, $) === C) {
|
|
59308
|
+
P.push(W.substring(D, le).replace(ge, _)), W[D = le + 1 + rt + $] !== _ && (le = W.indexOf(_, D)), ee = W.indexOf(C, D), oe = W.indexOf(I, D);
|
|
59306
59309
|
break;
|
|
59307
59310
|
}
|
|
59308
59311
|
var Ue = ze(oe);
|
|
59309
|
-
if (W.substring(le + 1 + Ue, le + 1 + Ue + H) ===
|
|
59310
|
-
if (P.push(W.substring(D, le).replace(ge,
|
|
59312
|
+
if (W.substring(le + 1 + Ue, le + 1 + Ue + H) === I) {
|
|
59313
|
+
if (P.push(W.substring(D, le).replace(ge, _)), We(le + 1 + Ue + H), ee = W.indexOf(C, D), le = W.indexOf(_, D), q && (Lt(), M))
|
|
59311
59314
|
return Ae();
|
|
59312
59315
|
if (F && re.length >= F)
|
|
59313
59316
|
return Ae(!0);
|
|
@@ -59334,10 +59337,10 @@ License: MIT
|
|
|
59334
59337
|
return V || (zt === void 0 && (zt = W.substring(D)), P.push(zt), D = j, $t(P), q && Lt()), Ae();
|
|
59335
59338
|
}
|
|
59336
59339
|
function We(zt) {
|
|
59337
|
-
D = zt, $t(P), P = [], oe = W.indexOf(
|
|
59340
|
+
D = zt, $t(P), P = [], oe = W.indexOf(I, D);
|
|
59338
59341
|
}
|
|
59339
59342
|
function Ae(zt) {
|
|
59340
|
-
return { data: re, errors: ce, meta: { delimiter:
|
|
59343
|
+
return { data: re, errors: ce, meta: { delimiter: C, linebreak: I, aborted: M, truncated: !!zt, cursor: X + (Z || 0) } };
|
|
59341
59344
|
}
|
|
59342
59345
|
function Lt() {
|
|
59343
59346
|
N(Ae()), re = [], ce = [];
|
|
@@ -59348,53 +59351,53 @@ License: MIT
|
|
|
59348
59351
|
return D;
|
|
59349
59352
|
};
|
|
59350
59353
|
}
|
|
59351
|
-
function v(
|
|
59352
|
-
var
|
|
59353
|
-
if (
|
|
59354
|
-
|
|
59355
|
-
else if (
|
|
59354
|
+
function v(O) {
|
|
59355
|
+
var _ = O.data, C = o[_.workerId], I = !1;
|
|
59356
|
+
if (_.error)
|
|
59357
|
+
C.userError(_.error, _.file);
|
|
59358
|
+
else if (_.results && _.results.data) {
|
|
59356
59359
|
var R = { abort: function() {
|
|
59357
|
-
|
|
59360
|
+
I = !0, y(_.workerId, { data: [], errors: [], meta: { aborted: !0 } });
|
|
59358
59361
|
}, pause: x, resume: x };
|
|
59359
|
-
if (S(
|
|
59360
|
-
for (var N = 0; N <
|
|
59362
|
+
if (S(C.userStep)) {
|
|
59363
|
+
for (var N = 0; N < _.results.data.length && (C.userStep({ data: _.results.data[N], errors: _.results.errors, meta: _.results.meta }, R), !I); N++)
|
|
59361
59364
|
;
|
|
59362
|
-
delete
|
|
59365
|
+
delete _.results;
|
|
59363
59366
|
} else
|
|
59364
|
-
S(
|
|
59367
|
+
S(C.userChunk) && (C.userChunk(_.results, R, _.file), delete _.results);
|
|
59365
59368
|
}
|
|
59366
|
-
|
|
59369
|
+
_.finished && !I && y(_.workerId, _.results);
|
|
59367
59370
|
}
|
|
59368
|
-
function y(
|
|
59369
|
-
var
|
|
59370
|
-
S(
|
|
59371
|
+
function y(O, _) {
|
|
59372
|
+
var C = o[O];
|
|
59373
|
+
S(C.userComplete) && C.userComplete(_), C.terminate(), delete o[O];
|
|
59371
59374
|
}
|
|
59372
59375
|
function x() {
|
|
59373
59376
|
throw new Error("Not implemented.");
|
|
59374
59377
|
}
|
|
59375
|
-
function w(
|
|
59376
|
-
if (typeof
|
|
59377
|
-
return
|
|
59378
|
-
var
|
|
59379
|
-
for (var
|
|
59380
|
-
|
|
59381
|
-
return
|
|
59378
|
+
function w(O) {
|
|
59379
|
+
if (typeof O != "object" || O === null)
|
|
59380
|
+
return O;
|
|
59381
|
+
var _ = Array.isArray(O) ? [] : {};
|
|
59382
|
+
for (var C in O)
|
|
59383
|
+
_[C] = w(O[C]);
|
|
59384
|
+
return _;
|
|
59382
59385
|
}
|
|
59383
|
-
function O
|
|
59386
|
+
function k(O, _) {
|
|
59384
59387
|
return function() {
|
|
59385
|
-
|
|
59388
|
+
O.apply(_, arguments);
|
|
59386
59389
|
};
|
|
59387
59390
|
}
|
|
59388
|
-
function S(
|
|
59389
|
-
return typeof
|
|
59391
|
+
function S(O) {
|
|
59392
|
+
return typeof O == "function";
|
|
59390
59393
|
}
|
|
59391
|
-
return a && (r.onmessage = function(
|
|
59392
|
-
var
|
|
59393
|
-
if (l.WORKER_ID === void 0 &&
|
|
59394
|
-
r.postMessage({ workerId: l.WORKER_ID, results: l.parse(
|
|
59395
|
-
else if (r.File &&
|
|
59396
|
-
var
|
|
59397
|
-
|
|
59394
|
+
return a && (r.onmessage = function(O) {
|
|
59395
|
+
var _ = O.data;
|
|
59396
|
+
if (l.WORKER_ID === void 0 && _ && (l.WORKER_ID = _.workerId), typeof _.input == "string")
|
|
59397
|
+
r.postMessage({ workerId: l.WORKER_ID, results: l.parse(_.input, _.config), finished: !0 });
|
|
59398
|
+
else if (r.File && _.input instanceof File || _.input instanceof Object) {
|
|
59399
|
+
var C = l.parse(_.input, _.config);
|
|
59400
|
+
C && r.postMessage({ workerId: l.WORKER_ID, results: C, finished: !0 });
|
|
59398
59401
|
}
|
|
59399
59402
|
}), (f.prototype = Object.create(c.prototype)).constructor = f, (d.prototype = Object.create(c.prototype)).constructor = d, (h.prototype = Object.create(h.prototype)).constructor = h, (p.prototype = Object.create(c.prototype)).constructor = p, l;
|
|
59400
59403
|
});
|
|
@@ -60412,7 +60415,8 @@ const AVe = {
|
|
|
60412
60415
|
descending: "Sort in Descending Order",
|
|
60413
60416
|
transpose: "Transpose",
|
|
60414
60417
|
export_chart: "Export",
|
|
60415
|
-
export_chart_as: "Export as {{type}}"
|
|
60418
|
+
export_chart_as: "Export as {{type}}",
|
|
60419
|
+
export_code: "Export Code"
|
|
60416
60420
|
},
|
|
60417
60421
|
size: "Resize",
|
|
60418
60422
|
size_setting: {
|
|
@@ -60617,7 +60621,8 @@ const AVe = {
|
|
|
60617
60621
|
descending: "降順に並べ替える",
|
|
60618
60622
|
transpose: "転置",
|
|
60619
60623
|
export_chart: "エクスポート",
|
|
60620
|
-
export_chart_as: "{{type}}としてエクスポート"
|
|
60624
|
+
export_chart_as: "{{type}}としてエクスポート",
|
|
60625
|
+
export_code: "コードをエクスポート"
|
|
60621
60626
|
},
|
|
60622
60627
|
size: "サイズ変更",
|
|
60623
60628
|
size_setting: {
|
|
@@ -60823,7 +60828,8 @@ const AVe = {
|
|
|
60823
60828
|
descending: "降序排序",
|
|
60824
60829
|
transpose: "转置",
|
|
60825
60830
|
export_chart: "导出",
|
|
60826
|
-
export_chart_as: "导出 {{type}}"
|
|
60831
|
+
export_chart_as: "导出 {{type}}",
|
|
60832
|
+
export_code: "导出代码"
|
|
60827
60833
|
},
|
|
60828
60834
|
size: "调整尺寸",
|
|
60829
60835
|
size_setting: {
|
|
@@ -61517,36 +61523,36 @@ const m4e = De.div({}), g4e = De.div({}), b4e = dt(({ active: e, field: t, onCha
|
|
|
61517
61523
|
)
|
|
61518
61524
|
);
|
|
61519
61525
|
}, M4e = dt(A4e), P4e = dt(function(t) {
|
|
61520
|
-
const { dataSource: n = [], rawFields: r = [], spec: i, i18nLang: a = "en-US", i18nResources: o, hideDataSourceConfig: s, fieldKeyGuard: l = !0, themeKey: u = "vega", dark: c = "media" } = t, { commonStore:
|
|
61526
|
+
const { dataSource: n = [], rawFields: r = [], spec: i, i18nLang: a = "en-US", i18nResources: o, hideDataSourceConfig: s, fieldKeyGuard: l = !0, themeKey: u = "vega", dark: c = "media", toolbar: f } = t, { commonStore: d, vizStore: h } = ut(), { datasets: p, segmentKey: m } = d, { t: g, i18n: b } = xt(), v = b.language;
|
|
61521
61527
|
Ne(() => {
|
|
61522
61528
|
o && o4e(o);
|
|
61523
61529
|
}, [o]), Ne(() => {
|
|
61524
|
-
a !==
|
|
61525
|
-
}, [a,
|
|
61526
|
-
const
|
|
61527
|
-
let
|
|
61530
|
+
a !== v && s4e(a);
|
|
61531
|
+
}, [a, v]);
|
|
61532
|
+
const y = be(() => {
|
|
61533
|
+
let k = n, S = r;
|
|
61528
61534
|
if (l) {
|
|
61529
|
-
const { safeData:
|
|
61530
|
-
|
|
61535
|
+
const { safeData: O, safeMetas: _ } = Sj(n, r);
|
|
61536
|
+
k = O, S = _;
|
|
61531
61537
|
}
|
|
61532
61538
|
return {
|
|
61533
|
-
safeData:
|
|
61534
|
-
safeMetas:
|
|
61539
|
+
safeData: k,
|
|
61540
|
+
safeMetas: S
|
|
61535
61541
|
};
|
|
61536
61542
|
}, [r, n, l]);
|
|
61537
61543
|
Ne(() => {
|
|
61538
|
-
|
|
61544
|
+
y.safeData.length > 0 && y.safeMetas.length > 0 && d.addAndUseDS({
|
|
61539
61545
|
name: "context dataset",
|
|
61540
|
-
dataSource:
|
|
61541
|
-
rawFields:
|
|
61546
|
+
dataSource: y.safeData,
|
|
61547
|
+
rawFields: y.safeMetas
|
|
61542
61548
|
});
|
|
61543
|
-
}, [
|
|
61544
|
-
|
|
61545
|
-
}, [i,
|
|
61546
|
-
const
|
|
61549
|
+
}, [y]), Ne(() => {
|
|
61550
|
+
y.safeData.length > 0 && y.safeMetas.length > 0 && i && h.renderSpec(i);
|
|
61551
|
+
}, [i, y]);
|
|
61552
|
+
const x = Al(c), w = fe(null);
|
|
61547
61553
|
return E.createElement(
|
|
61548
61554
|
"div",
|
|
61549
|
-
{ className: `${
|
|
61555
|
+
{ className: `${x === "dark" ? "dark" : ""} App font-sans bg-white dark:bg-zinc-900 dark:text-white m-0 p-0` },
|
|
61550
61556
|
E.createElement(
|
|
61551
61557
|
"div",
|
|
61552
61558
|
{ className: "bg-white dark:bg-zinc-900 dark:text-white" },
|
|
@@ -61555,12 +61561,12 @@ const m4e = De.div({}), g4e = De.div({}), b4e = dt(({ active: e, field: t, onCha
|
|
|
61555
61561
|
"div",
|
|
61556
61562
|
{ className: "px-2 mx-2" },
|
|
61557
61563
|
E.createElement(R4e, null),
|
|
61558
|
-
|
|
61564
|
+
m === Js.vis && E.createElement(wVe, null)
|
|
61559
61565
|
),
|
|
61560
|
-
|
|
61566
|
+
m === Js.vis && E.createElement(
|
|
61561
61567
|
"div",
|
|
61562
61568
|
{ style: { marginTop: "0em", borderTop: "none" }, className: "m-4 p-4 border border-gray-200 dark:border-gray-700" },
|
|
61563
|
-
E.createElement(_ue, { rendererHandler:
|
|
61569
|
+
E.createElement(_ue, { rendererHandler: w, darkModePreference: c, exclude: f == null ? void 0 : f.exclude, extra: f == null ? void 0 : f.extra }),
|
|
61564
61570
|
E.createElement(D4e, null),
|
|
61565
61571
|
E.createElement(M4e, null),
|
|
61566
61572
|
E.createElement(
|
|
@@ -61585,11 +61591,11 @@ const m4e = De.div({}), g4e = De.div({}), b4e = dt(({ active: e, field: t, onCha
|
|
|
61585
61591
|
null,
|
|
61586
61592
|
E.createElement(Sfe, null)
|
|
61587
61593
|
),
|
|
61588
|
-
E.createElement("div", { className: "m-0.5 p-1 border border-gray-200 dark:border-gray-700", style: { minHeight: "600px", overflow: "auto" } },
|
|
61594
|
+
E.createElement("div", { className: "m-0.5 p-1 border border-gray-200 dark:border-gray-700", style: { minHeight: "600px", overflow: "auto" } }, p.length > 0 && E.createElement(jje, { ref: w, themeKey: u, dark: c }))
|
|
61589
61595
|
)
|
|
61590
61596
|
)
|
|
61591
61597
|
),
|
|
61592
|
-
|
|
61598
|
+
m === Js.data && E.createElement(
|
|
61593
61599
|
"div",
|
|
61594
61600
|
{ className: "m-4 p-4 border border-gray-200 dark:border-gray-700", style: { marginTop: "0em", borderTop: "none" } },
|
|
61595
61601
|
E.createElement(F4e, null)
|