@its/core 2.3.8 → 2.3.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/core.es.js
CHANGED
|
@@ -385,20 +385,20 @@ function IK({
|
|
|
385
385
|
canTogglePersistance: o
|
|
386
386
|
}) {
|
|
387
387
|
function a() {
|
|
388
|
-
if (!i || o && !localStorage.getItem(t) && !Object.values(r).find((
|
|
388
|
+
if (!i || o && !localStorage.getItem(t) && !Object.values(r).find((F) => F.isShared))
|
|
389
389
|
return r;
|
|
390
390
|
let k = { ...r };
|
|
391
|
-
const N = Object.keys(r).filter((
|
|
391
|
+
const N = Object.keys(r).filter((F) => r[F].isShared);
|
|
392
392
|
if (N.length > 0) {
|
|
393
|
-
const
|
|
394
|
-
let j = JSON.parse(
|
|
393
|
+
const F = localStorage.getItem("sharedFilters") ?? "{}";
|
|
394
|
+
let j = JSON.parse(F);
|
|
395
395
|
k = N.reduce((J, W) => j.hasOwnProperty(W) ? { ...J, [W]: j[W] } : (j = { ...j, [W]: r[W] }, J), k), localStorage.setItem("sharedFilters", JSON.stringify(j));
|
|
396
396
|
}
|
|
397
|
-
const
|
|
398
|
-
if (
|
|
399
|
-
const
|
|
400
|
-
let j = JSON.parse(
|
|
401
|
-
k =
|
|
397
|
+
const z = Object.keys(r).filter((F) => !r[F].isShared);
|
|
398
|
+
if (z.length > 0) {
|
|
399
|
+
const F = localStorage.getItem(t) ?? "{}";
|
|
400
|
+
let j = JSON.parse(F);
|
|
401
|
+
k = z.reduce((J, W) => j.hasOwnProperty(W) ? { ...J, [W]: j[W] } : (j = {
|
|
402
402
|
...j,
|
|
403
403
|
[W]: r[W]
|
|
404
404
|
}, J), k), localStorage.setItem(t, JSON.stringify(j));
|
|
@@ -406,20 +406,20 @@ function IK({
|
|
|
406
406
|
return k;
|
|
407
407
|
}
|
|
408
408
|
function s() {
|
|
409
|
-
if (!i || o && !localStorage.getItem(t) && !Object.values(n).find((
|
|
409
|
+
if (!i || o && !localStorage.getItem(t) && !Object.values(n).find((F) => F.isShared))
|
|
410
410
|
return n;
|
|
411
411
|
let k = { ...n };
|
|
412
|
-
const N = Object.keys(n).filter((
|
|
412
|
+
const N = Object.keys(n).filter((F) => n[F].isShared);
|
|
413
413
|
if (N.length > 0) {
|
|
414
|
-
const
|
|
415
|
-
let j = JSON.parse(
|
|
414
|
+
const F = localStorage.getItem("sharedSortings") ?? "{}";
|
|
415
|
+
let j = JSON.parse(F);
|
|
416
416
|
k = N.reduce((J, W) => j.hasOwnProperty(W) ? { ...J, [W]: j[W] } : (j = { ...j, [W]: n[W] }, J), k), localStorage.setItem("sharedSortings", JSON.stringify(j));
|
|
417
417
|
}
|
|
418
|
-
const
|
|
419
|
-
if (
|
|
420
|
-
const
|
|
421
|
-
let j = JSON.parse(
|
|
422
|
-
k =
|
|
418
|
+
const z = Object.keys(n).filter((F) => !n[F].isShared);
|
|
419
|
+
if (z.length > 0) {
|
|
420
|
+
const F = localStorage.getItem(t) ?? "{}";
|
|
421
|
+
let j = JSON.parse(F);
|
|
422
|
+
k = z.reduce((J, W) => j.hasOwnProperty(W) ? { ...J, [W]: j[W] } : (j = {
|
|
423
423
|
...j,
|
|
424
424
|
[W]: n[W]
|
|
425
425
|
}, J), k), localStorage.setItem(t, JSON.stringify(j));
|
|
@@ -449,8 +449,8 @@ function IK({
|
|
|
449
449
|
p(() => jf(u, c, t));
|
|
450
450
|
},
|
|
451
451
|
updateRawCursor: (k, N) => {
|
|
452
|
-
const
|
|
453
|
-
p(
|
|
452
|
+
const z = jf(k, N, t);
|
|
453
|
+
p(z);
|
|
454
454
|
}
|
|
455
455
|
}), [h, A, P, r, n, t]);
|
|
456
456
|
return /* @__PURE__ */ O(eM.Provider, { value: E, children: /* @__PURE__ */ O(Z8.Provider, { value: A, children: /* @__PURE__ */ O(J8.Provider, { value: P, children: /* @__PURE__ */ O(Q8.Provider, { value: I, children: e }) }) }) });
|
|
@@ -645,8 +645,8 @@ function kK({ bufferName: e, callback: t }, n = []) {
|
|
|
645
645
|
const N = JSON.parse(localStorage.getItem(e) || "[]");
|
|
646
646
|
!N.includes(k) && k !== "- - - - - - - -" && (N.push(k), localStorage.setItem(e, JSON.stringify(N)));
|
|
647
647
|
}, v = (k) => {
|
|
648
|
-
const
|
|
649
|
-
localStorage.setItem(e, JSON.stringify(
|
|
648
|
+
const z = JSON.parse(localStorage.getItem(e) || "[]").filter((F) => F !== k);
|
|
649
|
+
localStorage.setItem(e, JSON.stringify(z));
|
|
650
650
|
};
|
|
651
651
|
Ke(() => {
|
|
652
652
|
p.current = t;
|
|
@@ -655,42 +655,42 @@ function kK({ bufferName: e, callback: t }, n = []) {
|
|
|
655
655
|
i(d.current);
|
|
656
656
|
const N = d.current;
|
|
657
657
|
if (k !== "- - - - - - - -" && typeof k == "string") {
|
|
658
|
-
const
|
|
659
|
-
if (
|
|
660
|
-
|
|
661
|
-
c((j) => [...j,
|
|
658
|
+
const z = p.current(d.current);
|
|
659
|
+
if (z instanceof Promise)
|
|
660
|
+
z.then((F) => {
|
|
661
|
+
c((j) => [...j, F]), v(d.current);
|
|
662
662
|
}).catch(() => {
|
|
663
663
|
y(N), w();
|
|
664
664
|
});
|
|
665
665
|
else
|
|
666
|
-
return
|
|
666
|
+
return z;
|
|
667
667
|
}
|
|
668
668
|
}, w = () => {
|
|
669
669
|
const k = e, N = localStorage.getItem(k);
|
|
670
670
|
if (N) {
|
|
671
|
-
const
|
|
672
|
-
const
|
|
673
|
-
if (
|
|
674
|
-
clearInterval(
|
|
671
|
+
const z = setInterval(async () => {
|
|
672
|
+
const F = s;
|
|
673
|
+
if (F >= 9) {
|
|
674
|
+
clearInterval(z);
|
|
675
675
|
return;
|
|
676
676
|
}
|
|
677
|
-
await x(JSON.parse(N)) ? (clearInterval(
|
|
677
|
+
await x(JSON.parse(N)) ? (clearInterval(z), u(0)) : u(F + 1);
|
|
678
678
|
}, 5e3);
|
|
679
|
-
return () => clearInterval(
|
|
679
|
+
return () => clearInterval(z);
|
|
680
680
|
}
|
|
681
681
|
}, x = async (k) => {
|
|
682
682
|
let N = !0;
|
|
683
|
-
for (const
|
|
683
|
+
for (const z of k)
|
|
684
684
|
try {
|
|
685
|
-
const
|
|
686
|
-
if (
|
|
687
|
-
|
|
685
|
+
const F = await p.current(z);
|
|
686
|
+
if (F instanceof Promise)
|
|
687
|
+
F.then((j) => {
|
|
688
688
|
c((J) => [...J, j]);
|
|
689
|
-
}), v(
|
|
689
|
+
}), v(z);
|
|
690
690
|
else
|
|
691
|
-
return
|
|
692
|
-
} catch (
|
|
693
|
-
console.trace("Error:",
|
|
691
|
+
return F;
|
|
692
|
+
} catch (F) {
|
|
693
|
+
console.trace("Error:", z, F), N = !1;
|
|
694
694
|
}
|
|
695
695
|
return N;
|
|
696
696
|
}, E = (k) => {
|
|
@@ -1201,7 +1201,7 @@ function f4e({
|
|
|
1201
1201
|
loggedCallback: v,
|
|
1202
1202
|
logo: m
|
|
1203
1203
|
}) {
|
|
1204
|
-
const { t: w } = Yt(), [x, E] = Ye(!1), [A, P, { login: I, removeError: k }] = WK(), N = om("(min-height:700px)"), [
|
|
1204
|
+
const { t: w } = Yt(), [x, E] = Ye(!1), [A, P, { login: I, removeError: k }] = WK(), N = om("(min-height:700px)"), [z, F] = I, [j, J] = Ye(0), [W] = xa(), L = (q, X) => {
|
|
1205
1205
|
J(X);
|
|
1206
1206
|
};
|
|
1207
1207
|
return Ke(() => {
|
|
@@ -1274,7 +1274,7 @@ function f4e({
|
|
|
1274
1274
|
children: n
|
|
1275
1275
|
}
|
|
1276
1276
|
) }),
|
|
1277
|
-
/* @__PURE__ */ O("form", { id: "authForm", action:
|
|
1277
|
+
/* @__PURE__ */ O("form", { id: "authForm", action: z, children: x && e ? /* @__PURE__ */ O(e, { pending: F }) : r && r.length > 0 ? r.map(({ label: q, child: X }, Q) => /* @__PURE__ */ O(jK, { value: j, index: Q, children: /* @__PURE__ */ O(X, { pending: F }) }, q)) : t })
|
|
1278
1278
|
]
|
|
1279
1279
|
}
|
|
1280
1280
|
)
|
|
@@ -3958,7 +3958,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
3958
3958
|
}(R, "string");
|
|
3959
3959
|
return P($) == "symbol" ? $ : $ + "";
|
|
3960
3960
|
}
|
|
3961
|
-
var
|
|
3961
|
+
var z = function() {
|
|
3962
3962
|
return R = function _(T) {
|
|
3963
3963
|
var M = this, C = T.dispatch, B = T.getOptions;
|
|
3964
3964
|
(function(U, G) {
|
|
@@ -4010,12 +4010,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4010
4010
|
} }], $ && I(R.prototype, $), b && I(R, b), Object.defineProperty(R, "prototype", { writable: !1 }), R;
|
|
4011
4011
|
var R, $, b;
|
|
4012
4012
|
}();
|
|
4013
|
-
function
|
|
4014
|
-
return
|
|
4013
|
+
function F(R) {
|
|
4014
|
+
return F = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function($) {
|
|
4015
4015
|
return typeof $;
|
|
4016
4016
|
} : function($) {
|
|
4017
4017
|
return $ && typeof Symbol == "function" && $.constructor === Symbol && $ !== Symbol.prototype ? "symbol" : typeof $;
|
|
4018
|
-
},
|
|
4018
|
+
}, F(R);
|
|
4019
4019
|
}
|
|
4020
4020
|
function j(R, $) {
|
|
4021
4021
|
for (var b = 0; b < $.length; b++) {
|
|
@@ -4028,16 +4028,16 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4028
4028
|
}
|
|
4029
4029
|
function W(R) {
|
|
4030
4030
|
var $ = function(b, _) {
|
|
4031
|
-
if (
|
|
4031
|
+
if (F(b) != "object" || !b) return b;
|
|
4032
4032
|
var T = b[Symbol.toPrimitive];
|
|
4033
4033
|
if (T !== void 0) {
|
|
4034
4034
|
var M = T.call(b, _);
|
|
4035
|
-
if (
|
|
4035
|
+
if (F(M) != "object") return M;
|
|
4036
4036
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
4037
4037
|
}
|
|
4038
4038
|
return (_ === "string" ? String : Number)(b);
|
|
4039
4039
|
}(R, "string");
|
|
4040
|
-
return
|
|
4040
|
+
return F($) == "symbol" ? $ : $ + "";
|
|
4041
4041
|
}
|
|
4042
4042
|
var L = function() {
|
|
4043
4043
|
return R = function _(T) {
|
|
@@ -4186,7 +4186,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4186
4186
|
return re;
|
|
4187
4187
|
}({ layoutName: "default", theme: "hg-theme-default", inputName: "default", preventMouseDownDefault: !1, enableLayoutCandidates: !0, excludeFromLayout: {} }, ee), this.keyboardPluginClasses = "", A.bindMethods(_, this);
|
|
4188
4188
|
var ie = this.options.inputName, oe = ie === void 0 ? this.defaultName : ie;
|
|
4189
|
-
if (this.input = {}, this.input[oe] = "", this.keyboardDOMClass = U, this.buttonElements = {}, window.SimpleKeyboardInstances || (window.SimpleKeyboardInstances = {}), this.currentInstanceName = this.utilities.camelCase(this.keyboardDOMClass), window.SimpleKeyboardInstances[this.currentInstanceName] = this, this.allKeyboardInstances = window.SimpleKeyboardInstances, this.keyboardInstanceNames = Object.keys(window.SimpleKeyboardInstances), this.isFirstKeyboardInstance = this.keyboardInstanceNames[0] === this.currentInstanceName, this.physicalKeyboard = new
|
|
4189
|
+
if (this.input = {}, this.input[oe] = "", this.keyboardDOMClass = U, this.buttonElements = {}, window.SimpleKeyboardInstances || (window.SimpleKeyboardInstances = {}), this.currentInstanceName = this.utilities.camelCase(this.keyboardDOMClass), window.SimpleKeyboardInstances[this.currentInstanceName] = this, this.allKeyboardInstances = window.SimpleKeyboardInstances, this.keyboardInstanceNames = Object.keys(window.SimpleKeyboardInstances), this.isFirstKeyboardInstance = this.keyboardInstanceNames[0] === this.currentInstanceName, this.physicalKeyboard = new z({ dispatch: this.dispatch, getOptions: this.getOptions }), this.candidateBox = this.options.enableLayoutCandidates ? new q({ utilities: this.utilities, options: this.options }) : null, !this.keyboardDOM) throw console.warn('".'.concat(U, '" was not found in the DOM.')), new Error("KEYBOARD_DOM_ERROR");
|
|
4190
4190
|
this.render(), this.modules = {}, this.loadModules();
|
|
4191
4191
|
}
|
|
4192
4192
|
}, $ = [{ key: "setCaretPosition", value: function(_) {
|
|
@@ -4533,11 +4533,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4533
4533
|
while (++I < k);
|
|
4534
4534
|
N && this._updateClassName();
|
|
4535
4535
|
}, w.remove = function() {
|
|
4536
|
-
var A, P, I = arguments, k = 0, N = I.length,
|
|
4536
|
+
var A, P, I = arguments, k = 0, N = I.length, z = !1;
|
|
4537
4537
|
do
|
|
4538
|
-
for (P = v(this, A = I[k] + ""); ~P; ) this.splice(P, 1),
|
|
4538
|
+
for (P = v(this, A = I[k] + ""); ~P; ) this.splice(P, 1), z = !0, P = v(this, A);
|
|
4539
4539
|
while (++k < N);
|
|
4540
|
-
|
|
4540
|
+
z && this._updateClassName();
|
|
4541
4541
|
}, w.toggle = function(A, P) {
|
|
4542
4542
|
var I = this.contains(A), k = I ? P !== !0 && "remove" : P !== !1 && "add";
|
|
4543
4543
|
return k && this[k](A), P === !0 || P === !1 ? P : !I;
|
|
@@ -4641,8 +4641,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4641
4641
|
if (c(I) != "object" || !I) return I;
|
|
4642
4642
|
var N = I[Symbol.toPrimitive];
|
|
4643
4643
|
if (N !== void 0) {
|
|
4644
|
-
var
|
|
4645
|
-
if (c(
|
|
4644
|
+
var z = N.call(I, k);
|
|
4645
|
+
if (c(z) != "object") return z;
|
|
4646
4646
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
4647
4647
|
}
|
|
4648
4648
|
return (k === "string" ? String : Number)(I);
|
|
@@ -4664,18 +4664,18 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4664
4664
|
}(w);
|
|
4665
4665
|
if (!E.current) {
|
|
4666
4666
|
E.current = !0, k.debug && console.log("ReactSimpleKeyboard: Init");
|
|
4667
|
-
var N = A.current,
|
|
4668
|
-
P.current = new (l())(N ||
|
|
4667
|
+
var N = A.current, z = ".".concat(x);
|
|
4668
|
+
P.current = new (l())(N || z, k), k.keyboardRef && k.keyboardRef(P.current);
|
|
4669
4669
|
}
|
|
4670
|
-
var
|
|
4670
|
+
var F = function(J, W) {
|
|
4671
4671
|
var L = y(W), q = y(J);
|
|
4672
4672
|
return Object.keys(L).filter(function(X) {
|
|
4673
4673
|
return L[X] !== q[X];
|
|
4674
4674
|
});
|
|
4675
4675
|
}(I.current, k);
|
|
4676
|
-
if (
|
|
4676
|
+
if (F.length) {
|
|
4677
4677
|
var j = P.current;
|
|
4678
|
-
I.current = k, j?.setOptions(k), k.debug && console.log("ReactSimpleKeyboard - setOptions called due to updated props:",
|
|
4678
|
+
I.current = k, j?.setOptions(k), k.debug && console.log("ReactSimpleKeyboard - setOptions called due to updated props:", F);
|
|
4679
4679
|
}
|
|
4680
4680
|
}, [E, x, I, w]), s.createElement("div", { className: x, ref: A });
|
|
4681
4681
|
}, m = v;
|
|
@@ -4713,8 +4713,8 @@ function Kl({
|
|
|
4713
4713
|
hideCloseIcon: I = !1,
|
|
4714
4714
|
scrollbarGutter: k = !1,
|
|
4715
4715
|
disableRestoreFocus: N = !1,
|
|
4716
|
-
disableScroll:
|
|
4717
|
-
minHeight:
|
|
4716
|
+
disableScroll: z,
|
|
4717
|
+
minHeight: F = "unset",
|
|
4718
4718
|
height: j,
|
|
4719
4719
|
padding: J,
|
|
4720
4720
|
backgroundColor: W = "background.paper",
|
|
@@ -4730,13 +4730,13 @@ function Kl({
|
|
|
4730
4730
|
uq,
|
|
4731
4731
|
{
|
|
4732
4732
|
dividers: w,
|
|
4733
|
-
className:
|
|
4733
|
+
className: z ? void 0 : "scrollable-container",
|
|
4734
4734
|
sx: {
|
|
4735
4735
|
scrollbarGutter: k ? "stable" : "none",
|
|
4736
|
-
overflow:
|
|
4737
|
-
display:
|
|
4738
|
-
flexDirection:
|
|
4739
|
-
minHeight:
|
|
4736
|
+
overflow: z ? "hidden" : "auto",
|
|
4737
|
+
display: z ? "flex" : "unset",
|
|
4738
|
+
flexDirection: z ? "column" : "unset",
|
|
4739
|
+
minHeight: F,
|
|
4740
4740
|
padding: J,
|
|
4741
4741
|
height: j
|
|
4742
4742
|
},
|
|
@@ -5243,16 +5243,16 @@ function lY({
|
|
|
5243
5243
|
canSubmitCallback: v,
|
|
5244
5244
|
type: m
|
|
5245
5245
|
}) {
|
|
5246
|
-
const w = st(null), [x, E] = Ye(!1), [A, P] = Ye(!1), [I] = DK(), { t: k } = Yt(), [N,
|
|
5246
|
+
const w = st(null), [x, E] = Ye(!1), [A, P] = Ye(!1), [I] = DK(), { t: k } = Yt(), [N, z] = Ye(i);
|
|
5247
5247
|
Ke(() => {
|
|
5248
|
-
|
|
5248
|
+
z(i);
|
|
5249
5249
|
}, [i]);
|
|
5250
|
-
const
|
|
5251
|
-
|
|
5250
|
+
const F = () => {
|
|
5251
|
+
z(i), m === "number" ? P(!0) : E(!0);
|
|
5252
5252
|
}, j = () => {
|
|
5253
5253
|
E(!1), P(!1), setTimeout(() => w.current?.blur(), 0);
|
|
5254
5254
|
}, J = (W) => {
|
|
5255
|
-
|
|
5255
|
+
z(W.target.value), o(W.target.value);
|
|
5256
5256
|
};
|
|
5257
5257
|
return /* @__PURE__ */ Me(Jr, { children: [
|
|
5258
5258
|
/* @__PURE__ */ O(
|
|
@@ -5261,7 +5261,7 @@ function lY({
|
|
|
5261
5261
|
isOpen: x && I === Yg.ENABLED,
|
|
5262
5262
|
onClose: j,
|
|
5263
5263
|
onSubmit: (W) => {
|
|
5264
|
-
o(W), j();
|
|
5264
|
+
o(W), z(W), j();
|
|
5265
5265
|
},
|
|
5266
5266
|
title: n || "",
|
|
5267
5267
|
multiline: d,
|
|
@@ -5291,7 +5291,7 @@ function lY({
|
|
|
5291
5291
|
color: "primary.light",
|
|
5292
5292
|
width: "300px",
|
|
5293
5293
|
height: "450px",
|
|
5294
|
-
onChange: (W) =>
|
|
5294
|
+
onChange: (W) => z(W)
|
|
5295
5295
|
}
|
|
5296
5296
|
) })
|
|
5297
5297
|
}
|
|
@@ -5316,7 +5316,7 @@ function lY({
|
|
|
5316
5316
|
onFocus: l,
|
|
5317
5317
|
onBlur: u,
|
|
5318
5318
|
onKeyUp: c,
|
|
5319
|
-
onClick: I === Yg.ENABLED ?
|
|
5319
|
+
onClick: I === Yg.ENABLED ? F : void 0
|
|
5320
5320
|
}
|
|
5321
5321
|
)
|
|
5322
5322
|
] });
|
|
@@ -6313,14 +6313,14 @@ function WY(e, t, n, r, i, o, a, s) {
|
|
|
6313
6313
|
return h = (c * (t - o) - d * (e - i)) / h, [e + h * u, t + h * l];
|
|
6314
6314
|
}
|
|
6315
6315
|
function Jp(e, t, n, r, i, o, a) {
|
|
6316
|
-
var s = e - n, u = t - r, l = (a ? o : -o) / Vn(s * s + u * u), c = l * u, d = -l * s, h = e + c, p = t + d, y = n + c, v = r + d, m = (h + y) / 2, w = (p + v) / 2, x = y - h, E = v - p, A = x * x + E * E, P = i - o, I = h * v - y * p, k = (E < 0 ? -1 : 1) * Vn(kY(0, P * P * A - I * I)), N = (I * E - x * k) / A,
|
|
6317
|
-
return J * J + W * W > L * L + q * q && (N =
|
|
6316
|
+
var s = e - n, u = t - r, l = (a ? o : -o) / Vn(s * s + u * u), c = l * u, d = -l * s, h = e + c, p = t + d, y = n + c, v = r + d, m = (h + y) / 2, w = (p + v) / 2, x = y - h, E = v - p, A = x * x + E * E, P = i - o, I = h * v - y * p, k = (E < 0 ? -1 : 1) * Vn(kY(0, P * P * A - I * I)), N = (I * E - x * k) / A, z = (-I * x - E * k) / A, F = (I * E + x * k) / A, j = (-I * x + E * k) / A, J = N - m, W = z - w, L = F - m, q = j - w;
|
|
6317
|
+
return J * J + W * W > L * L + q * q && (N = F, z = j), {
|
|
6318
6318
|
cx: N,
|
|
6319
|
-
cy:
|
|
6319
|
+
cy: z,
|
|
6320
6320
|
x01: -c,
|
|
6321
6321
|
y01: -d,
|
|
6322
6322
|
x11: N * (i / P - 1),
|
|
6323
|
-
y11:
|
|
6323
|
+
y11: z * (i / P - 1)
|
|
6324
6324
|
};
|
|
6325
6325
|
}
|
|
6326
6326
|
function UY() {
|
|
@@ -6331,22 +6331,22 @@ function UY() {
|
|
|
6331
6331
|
else if (m > Gs - qr)
|
|
6332
6332
|
s.moveTo(p * Ka(y), p * Pi(y)), s.arc(0, 0, p, y, v, !w), h > qr && (s.moveTo(h * Ka(v), h * Pi(v)), s.arc(0, 0, h, v, y, w));
|
|
6333
6333
|
else {
|
|
6334
|
-
var x = y, E = v, A = y, P = v, I = m, k = m, N = a.apply(this, arguments) / 2,
|
|
6335
|
-
if (
|
|
6336
|
-
var q = g5(
|
|
6334
|
+
var x = y, E = v, A = y, P = v, I = m, k = m, N = a.apply(this, arguments) / 2, z = N > qr && (r ? +r.apply(this, arguments) : Vn(h * h + p * p)), F = hl(p5(p - h) / 2, +n.apply(this, arguments)), j = F, J = F, W, L;
|
|
6335
|
+
if (z > qr) {
|
|
6336
|
+
var q = g5(z / h * Pi(N)), X = g5(z / p * Pi(N));
|
|
6337
6337
|
(I -= q * 2) > qr ? (q *= w ? 1 : -1, A += q, P -= q) : (I = 0, A = P = (y + v) / 2), (k -= X * 2) > qr ? (X *= w ? 1 : -1, x += X, E -= X) : (k = 0, x = E = (y + v) / 2);
|
|
6338
6338
|
}
|
|
6339
6339
|
var Q = p * Ka(x), fe = p * Pi(x), se = h * Ka(P), V = h * Pi(P);
|
|
6340
|
-
if (
|
|
6340
|
+
if (F > qr) {
|
|
6341
6341
|
var Z = p * Ka(E), ae = p * Pi(E), pe = h * Ka(A), Ae = h * Pi(A), Ee;
|
|
6342
6342
|
if (m < Ks)
|
|
6343
6343
|
if (Ee = WY(Q, fe, pe, Ae, Z, ae, se, V)) {
|
|
6344
6344
|
var R = Q - Ee[0], $ = fe - Ee[1], b = Z - Ee[0], _ = ae - Ee[1], T = 1 / Pi(RY((R * b + $ * _) / (Vn(R * R + $ * $) * Vn(b * b + _ * _))) / 2), M = Vn(Ee[0] * Ee[0] + Ee[1] * Ee[1]);
|
|
6345
|
-
j = hl(
|
|
6345
|
+
j = hl(F, (h - M) / (T - 1)), J = hl(F, (p - M) / (T + 1));
|
|
6346
6346
|
} else
|
|
6347
6347
|
j = J = 0;
|
|
6348
6348
|
}
|
|
6349
|
-
k > qr ? J > qr ? (W = Jp(pe, Ae, Q, fe, p, J, w), L = Jp(Z, ae, se, V, p, J, w), s.moveTo(W.cx + W.x01, W.cy + W.y01), J <
|
|
6349
|
+
k > qr ? J > qr ? (W = Jp(pe, Ae, Q, fe, p, J, w), L = Jp(Z, ae, se, V, p, J, w), s.moveTo(W.cx + W.x01, W.cy + W.y01), J < F ? s.arc(W.cx, W.cy, J, Ur(W.y01, W.x01), Ur(L.y01, L.x01), !w) : (s.arc(W.cx, W.cy, J, Ur(W.y01, W.x01), Ur(W.y11, W.x11), !w), s.arc(0, 0, p, Ur(W.cy + W.y11, W.cx + W.x11), Ur(L.cy + L.y11, L.cx + L.x11), !w), s.arc(L.cx, L.cy, J, Ur(L.y11, L.x11), Ur(L.y01, L.x01), !w))) : (s.moveTo(Q, fe), s.arc(0, 0, p, x, E, !w)) : s.moveTo(Q, fe), !(h > qr) || !(I > qr) ? s.lineTo(se, V) : j > qr ? (W = Jp(se, V, Z, ae, h, -j, w), L = Jp(Q, fe, pe, Ae, h, -j, w), s.lineTo(W.cx + W.x01, W.cy + W.y01), j < F ? s.arc(W.cx, W.cy, j, Ur(W.y01, W.x01), Ur(L.y01, L.x01), !w) : (s.arc(W.cx, W.cy, j, Ur(W.y01, W.x01), Ur(W.y11, W.x11), !w), s.arc(0, 0, h, Ur(W.cy + W.y11, W.cx + W.x11), Ur(L.cy + L.y11, L.cx + L.x11), w), s.arc(L.cx, L.cy, j, Ur(L.y11, L.x11), Ur(L.y01, L.x01), !w))) : s.arc(0, 0, h, P, A, w);
|
|
6350
6350
|
}
|
|
6351
6351
|
if (s.closePath(), c) return s = null, c + "" || null;
|
|
6352
6352
|
}
|
|
@@ -8123,8 +8123,8 @@ var Pb = {}, z5;
|
|
|
8123
8123
|
function lI() {
|
|
8124
8124
|
return z5 || (z5 = 1, function(e) {
|
|
8125
8125
|
Object.defineProperty(e, Symbol.toStringTag, { value: "Module" });
|
|
8126
|
-
const t = "[object RegExp]", n = "[object String]", r = "[object Number]", i = "[object Boolean]", o = "[object Arguments]", a = "[object Symbol]", s = "[object Date]", u = "[object Map]", l = "[object Set]", c = "[object Array]", d = "[object Function]", h = "[object ArrayBuffer]", p = "[object Object]", y = "[object Error]", v = "[object DataView]", m = "[object Uint8Array]", w = "[object Uint8ClampedArray]", x = "[object Uint16Array]", E = "[object Uint32Array]", A = "[object BigUint64Array]", P = "[object Int8Array]", I = "[object Int16Array]", k = "[object Int32Array]", N = "[object BigInt64Array]",
|
|
8127
|
-
e.argumentsTag = o, e.arrayBufferTag = h, e.arrayTag = c, e.bigInt64ArrayTag = N, e.bigUint64ArrayTag = A, e.booleanTag = i, e.dataViewTag = v, e.dateTag = s, e.errorTag = y, e.float32ArrayTag =
|
|
8126
|
+
const t = "[object RegExp]", n = "[object String]", r = "[object Number]", i = "[object Boolean]", o = "[object Arguments]", a = "[object Symbol]", s = "[object Date]", u = "[object Map]", l = "[object Set]", c = "[object Array]", d = "[object Function]", h = "[object ArrayBuffer]", p = "[object Object]", y = "[object Error]", v = "[object DataView]", m = "[object Uint8Array]", w = "[object Uint8ClampedArray]", x = "[object Uint16Array]", E = "[object Uint32Array]", A = "[object BigUint64Array]", P = "[object Int8Array]", I = "[object Int16Array]", k = "[object Int32Array]", N = "[object BigInt64Array]", z = "[object Float32Array]", F = "[object Float64Array]";
|
|
8127
|
+
e.argumentsTag = o, e.arrayBufferTag = h, e.arrayTag = c, e.bigInt64ArrayTag = N, e.bigUint64ArrayTag = A, e.booleanTag = i, e.dataViewTag = v, e.dateTag = s, e.errorTag = y, e.float32ArrayTag = z, e.float64ArrayTag = F, e.functionTag = d, e.int16ArrayTag = I, e.int32ArrayTag = k, e.int8ArrayTag = P, e.mapTag = u, e.numberTag = r, e.objectTag = p, e.regexpTag = t, e.setTag = l, e.stringTag = n, e.symbolTag = a, e.uint16ArrayTag = x, e.uint32ArrayTag = E, e.uint8ArrayTag = m, e.uint8ClampedArrayTag = w;
|
|
8128
8128
|
}(Pb)), Pb;
|
|
8129
8129
|
}
|
|
8130
8130
|
var Tb = {}, F5;
|
|
@@ -8867,18 +8867,18 @@ function _Z(e, ...t) {
|
|
|
8867
8867
|
arguments
|
|
8868
8868
|
);
|
|
8869
8869
|
if (s = E.apply(null, k), process.env.NODE_ENV !== "production") {
|
|
8870
|
-
const { identityFunctionCheck: N, inputStabilityCheck:
|
|
8870
|
+
const { identityFunctionCheck: N, inputStabilityCheck: z } = mZ(A, v);
|
|
8871
8871
|
if (N.shouldRun && N.run(
|
|
8872
8872
|
l,
|
|
8873
8873
|
k,
|
|
8874
8874
|
s
|
|
8875
|
-
),
|
|
8876
|
-
const
|
|
8875
|
+
), z.shouldRun) {
|
|
8876
|
+
const F = uP(
|
|
8877
8877
|
x,
|
|
8878
8878
|
arguments
|
|
8879
8879
|
);
|
|
8880
|
-
|
|
8881
|
-
{ inputSelectorResults: k, inputSelectorResultsCopy:
|
|
8880
|
+
z.run(
|
|
8881
|
+
{ inputSelectorResults: k, inputSelectorResultsCopy: F },
|
|
8882
8882
|
{ memoize: d, memoizeOptions: m },
|
|
8883
8883
|
arguments
|
|
8884
8884
|
);
|
|
@@ -10340,10 +10340,10 @@ function _J({
|
|
|
10340
10340
|
function I(k = d) {
|
|
10341
10341
|
const N = rg(h, A, () => /* @__PURE__ */ new WeakMap());
|
|
10342
10342
|
return rg(N, k, () => {
|
|
10343
|
-
const
|
|
10344
|
-
for (const [
|
|
10345
|
-
F
|
|
10346
|
-
return
|
|
10343
|
+
const z = {};
|
|
10344
|
+
for (const [F, j] of Object.entries(r.selectors ?? {}))
|
|
10345
|
+
z[F] = xJ(j, k, () => rg(p, k, m), A);
|
|
10346
|
+
return z;
|
|
10347
10347
|
});
|
|
10348
10348
|
}
|
|
10349
10349
|
return {
|
|
@@ -11660,12 +11660,12 @@ var KQ = (e) => {
|
|
|
11660
11660
|
}, I = (s ? pm(o, s) : o).map((k, N) => {
|
|
11661
11661
|
if (k.type === "none")
|
|
11662
11662
|
return null;
|
|
11663
|
-
var
|
|
11664
|
-
value:
|
|
11663
|
+
var z = k.formatter || a || qQ, {
|
|
11664
|
+
value: F,
|
|
11665
11665
|
name: j
|
|
11666
|
-
} = k, J =
|
|
11667
|
-
if (
|
|
11668
|
-
var L = F
|
|
11666
|
+
} = k, J = F, W = j;
|
|
11667
|
+
if (z) {
|
|
11668
|
+
var L = z(F, j, k, N, o);
|
|
11669
11669
|
if (Array.isArray(L))
|
|
11670
11670
|
[J, W] = L;
|
|
11671
11671
|
else if (L != null)
|
|
@@ -12617,7 +12617,7 @@ var rT = (e, t, n, r, i) => {
|
|
|
12617
12617
|
className: I,
|
|
12618
12618
|
d: rT(o, a, s, u, l)
|
|
12619
12619
|
}));
|
|
12620
|
-
var k = m.current, N = w.current,
|
|
12620
|
+
var k = m.current, N = w.current, z = x.current, F = E.current, j = "0px ".concat(r === -1 ? 1 : r, "px"), J = "".concat(r, "px 0px"), W = ok(["strokeDasharray"], h, typeof d == "string" ? d : void 0);
|
|
12621
12621
|
return /* @__PURE__ */ Y.createElement(mc, {
|
|
12622
12622
|
animationId: P,
|
|
12623
12623
|
key: P,
|
|
@@ -12627,7 +12627,7 @@ var rT = (e, t, n, r, i) => {
|
|
|
12627
12627
|
isActive: v,
|
|
12628
12628
|
begin: p
|
|
12629
12629
|
}, (L) => {
|
|
12630
|
-
var q = Dn(k, s, L), X = Dn(N, u, L), Q = Dn(
|
|
12630
|
+
var q = Dn(k, s, L), X = Dn(N, u, L), Q = Dn(z, o, L), fe = Dn(F, a, L);
|
|
12631
12631
|
n.current && (m.current = q, w.current = X, x.current = Q, E.current = fe);
|
|
12632
12632
|
var se;
|
|
12633
12633
|
return y ? L > 0 ? se = {
|
|
@@ -12793,12 +12793,12 @@ var qee = (e, t) => {
|
|
|
12793
12793
|
isExternal: !0,
|
|
12794
12794
|
cornerRadius: o,
|
|
12795
12795
|
cornerIsExternal: s
|
|
12796
|
-
}),
|
|
12797
|
-
if (
|
|
12796
|
+
}), z = s ? Math.abs(u - l) : Math.abs(u - l) - P - N;
|
|
12797
|
+
if (z < 0 && o === 0)
|
|
12798
12798
|
return "".concat(x, "L").concat(t, ",").concat(n, "Z");
|
|
12799
12799
|
x += "L".concat(k.x, ",").concat(k.y, `
|
|
12800
12800
|
A`).concat(o, ",").concat(o, ",0,0,").concat(+(c < 0), ",").concat(I.x, ",").concat(I.y, `
|
|
12801
|
-
A`).concat(r, ",").concat(r, ",0,").concat(+(
|
|
12801
|
+
A`).concat(r, ",").concat(r, ",0,").concat(+(z > 180), ",").concat(+(c > 0), ",").concat(E.x, ",").concat(E.y, `
|
|
12802
12802
|
A`).concat(o, ",").concat(o, ",0,0,").concat(+(c < 0), ",").concat(A.x, ",").concat(A.y, "Z");
|
|
12803
12803
|
} else
|
|
12804
12804
|
x += "L".concat(t, ",").concat(n, "Z");
|
|
@@ -14449,11 +14449,11 @@ const lR = function e(t, n, r) {
|
|
|
14449
14449
|
else {
|
|
14450
14450
|
var x = Math.sqrt(v), E = (h * h - l * l + r * v) / (2 * l * n * x), A = (h * h - l * l - r * v) / (2 * h * n * x), P = Math.log(Math.sqrt(E * E + 1) - E), I = Math.log(Math.sqrt(A * A + 1) - A);
|
|
14451
14451
|
w = (I - P) / t, m = function(k) {
|
|
14452
|
-
var N = k * w,
|
|
14452
|
+
var N = k * w, z = xT(P), F = l / (n * x) * (z * Cne(t * N + P) - Tne(P));
|
|
14453
14453
|
return [
|
|
14454
|
-
s +
|
|
14455
|
-
u +
|
|
14456
|
-
l *
|
|
14454
|
+
s + F * p,
|
|
14455
|
+
u + F * y,
|
|
14456
|
+
l * z / xT(t * N + P)
|
|
14457
14457
|
];
|
|
14458
14458
|
};
|
|
14459
14459
|
}
|
|
@@ -14693,16 +14693,16 @@ function vR(e) {
|
|
|
14693
14693
|
d = Rl(d);
|
|
14694
14694
|
var h = d.fill, p = d.align, y = d.sign, v = d.symbol, m = d.zero, w = d.width, x = d.comma, E = d.precision, A = d.trim, P = d.type;
|
|
14695
14695
|
P === "n" ? (x = !0, P = "g") : AT[P] || (E === void 0 && (E = 12), A = !0, P = "g"), (m || h === "0" && p === "=") && (m = !0, h = "0", p = "=");
|
|
14696
|
-
var I = v === "$" ? n : v === "#" && /[boxX]/.test(P) ? "0" + P.toLowerCase() : "", k = v === "$" ? r : /[%p]/.test(P) ? a : "", N = AT[P],
|
|
14696
|
+
var I = v === "$" ? n : v === "#" && /[boxX]/.test(P) ? "0" + P.toLowerCase() : "", k = v === "$" ? r : /[%p]/.test(P) ? a : "", N = AT[P], z = /[defgprs%]/.test(P);
|
|
14697
14697
|
E = E === void 0 ? 6 : /[gprs]/.test(P) ? Math.max(1, Math.min(21, E)) : Math.max(0, Math.min(20, E));
|
|
14698
|
-
function
|
|
14698
|
+
function F(j) {
|
|
14699
14699
|
var J = I, W = k, L, q, X;
|
|
14700
14700
|
if (P === "c")
|
|
14701
14701
|
W = N(j) + W, j = "";
|
|
14702
14702
|
else {
|
|
14703
14703
|
j = +j;
|
|
14704
14704
|
var Q = j < 0 || 1 / j < 0;
|
|
14705
|
-
if (j = isNaN(j) ? u : N(Math.abs(j), E), A && (j = Hne(j)), Q && +j == 0 && y !== "+" && (Q = !1), J = (Q ? y === "(" ? y : s : y === "-" || y === "(" ? "" : y) + J, W = (P === "s" ? TT[8 + gR / 3] : "") + W + (Q && y === "(" ? ")" : ""),
|
|
14705
|
+
if (j = isNaN(j) ? u : N(Math.abs(j), E), A && (j = Hne(j)), Q && +j == 0 && y !== "+" && (Q = !1), J = (Q ? y === "(" ? y : s : y === "-" || y === "(" ? "" : y) + J, W = (P === "s" ? TT[8 + gR / 3] : "") + W + (Q && y === "(" ? ")" : ""), z) {
|
|
14706
14706
|
for (L = -1, q = j.length; ++L < q; )
|
|
14707
14707
|
if (X = j.charCodeAt(L), 48 > X || X > 57) {
|
|
14708
14708
|
W = (X === 46 ? i + j.slice(L + 1) : j.slice(L)) + W, j = j.slice(0, L);
|
|
@@ -14728,9 +14728,9 @@ function vR(e) {
|
|
|
14728
14728
|
}
|
|
14729
14729
|
return o(j);
|
|
14730
14730
|
}
|
|
14731
|
-
return
|
|
14731
|
+
return F.toString = function() {
|
|
14732
14732
|
return d + "";
|
|
14733
|
-
},
|
|
14733
|
+
}, F;
|
|
14734
14734
|
}
|
|
14735
14735
|
function c(d, h) {
|
|
14736
14736
|
var p = l((d = Rl(d), d.type = "f", d)), y = Math.max(-8, Math.min(8, Math.floor(kl(h) / 3))) * 3, v = Math.pow(10, -y), m = TT[8 + y / 3];
|
|
@@ -15301,7 +15301,7 @@ function LR(e) {
|
|
|
15301
15301
|
Z: xie,
|
|
15302
15302
|
"%": KT
|
|
15303
15303
|
}, P = {
|
|
15304
|
-
a:
|
|
15304
|
+
a: F,
|
|
15305
15305
|
A: j,
|
|
15306
15306
|
b: J,
|
|
15307
15307
|
B: W,
|
|
@@ -15317,7 +15317,7 @@ function LR(e) {
|
|
|
15317
15317
|
L: $re,
|
|
15318
15318
|
m: Dre,
|
|
15319
15319
|
M: Lre,
|
|
15320
|
-
p:
|
|
15320
|
+
p: z,
|
|
15321
15321
|
q: Rre,
|
|
15322
15322
|
Q: Fre,
|
|
15323
15323
|
s: Wre,
|
|
@@ -15366,11 +15366,11 @@ function LR(e) {
|
|
|
15366
15366
|
}
|
|
15367
15367
|
return C;
|
|
15368
15368
|
}
|
|
15369
|
-
function
|
|
15369
|
+
function z(_, T, M) {
|
|
15370
15370
|
var C = l.exec(T.slice(M));
|
|
15371
15371
|
return C ? (_.p = c.get(C[0].toLowerCase()), M + C[0].length) : -1;
|
|
15372
15372
|
}
|
|
15373
|
-
function
|
|
15373
|
+
function F(_, T, M) {
|
|
15374
15374
|
var C = p.exec(T.slice(M));
|
|
15375
15375
|
return C ? (_.w = y.get(C[0].toLowerCase()), M + C[0].length) : -1;
|
|
15376
15376
|
}
|
|
@@ -16256,11 +16256,11 @@ var us = /* @__PURE__ */ function() {
|
|
|
16256
16256
|
for (; !r[0] && r.length > 1; ) r.shift();
|
|
16257
16257
|
}
|
|
16258
16258
|
return function(r, i, o, a) {
|
|
16259
|
-
var s, u, l, c, d, h, p, y, v, m, w, x, E, A, P, I, k, N,
|
|
16260
|
-
if (!r.s) return new
|
|
16259
|
+
var s, u, l, c, d, h, p, y, v, m, w, x, E, A, P, I, k, N, z = r.constructor, F = r.s == i.s ? 1 : -1, j = r.d, J = i.d;
|
|
16260
|
+
if (!r.s) return new z(r);
|
|
16261
16261
|
if (!i.s) throw Error(Do + "Division by zero");
|
|
16262
|
-
for (u = r.e - i.e, k = J.length, P = j.length, p = new F
|
|
16263
|
-
if (J[l] > (j[l] || 0) && --u, o == null ? x = o =
|
|
16262
|
+
for (u = r.e - i.e, k = J.length, P = j.length, p = new z(F), y = p.d = [], l = 0; J[l] == (j[l] || 0); ) ++l;
|
|
16263
|
+
if (J[l] > (j[l] || 0) && --u, o == null ? x = o = z.precision : a ? x = o + (dr(r) - dr(i)) + 1 : x = o, x < 0) return new z(0);
|
|
16264
16264
|
if (x = x / Un + 2 | 0, l = 0, k == 1)
|
|
16265
16265
|
for (c = 0, J = J[0], x++; (l < P || c) && x--; l++)
|
|
16266
16266
|
E = c * Or + (j[l] || 0), y[l] = E / J | 0, c = E % J | 0;
|
|
@@ -18212,9 +18212,9 @@ function pse() {
|
|
|
18212
18212
|
var {
|
|
18213
18213
|
x: k,
|
|
18214
18214
|
y: N
|
|
18215
|
-
} = I,
|
|
18216
|
-
x: o === "horizontal" ? E.coordinate :
|
|
18217
|
-
y: o === "horizontal" ?
|
|
18215
|
+
} = I, z = Math.min(k, a.x + a.width), F = Math.min(N, a.y + a.height), j = {
|
|
18216
|
+
x: o === "horizontal" ? E.coordinate : z,
|
|
18217
|
+
y: o === "horizontal" ? F : E.coordinate
|
|
18218
18218
|
}, J = E_({
|
|
18219
18219
|
active: c.payload.active,
|
|
18220
18220
|
coordinate: j,
|
|
@@ -18365,11 +18365,11 @@ function Wh(e) {
|
|
|
18365
18365
|
defaultIndex: I
|
|
18366
18366
|
}));
|
|
18367
18367
|
}, [P, m, w, A, n, I]);
|
|
18368
|
-
var k = Mh(), N = ik(),
|
|
18369
|
-
activeIndex:
|
|
18368
|
+
var k = Mh(), N = ik(), z = Foe(m), {
|
|
18369
|
+
activeIndex: F,
|
|
18370
18370
|
isActive: j
|
|
18371
|
-
} = dt((Ee) => Vae(Ee,
|
|
18372
|
-
mse(
|
|
18371
|
+
} = dt((Ee) => Vae(Ee, z, w, I)), J = dt((Ee) => Uae(Ee, z, w, I)), W = dt((Ee) => vN(Ee, z, w, I)), L = dt((Ee) => Wae(Ee, z, w, I)), q = J, X = Zae(), Q = n ?? j, [fe, se] = bI([q, Q]), V = z === "axis" ? W : void 0;
|
|
18372
|
+
mse(z, w, L, V, F, Q);
|
|
18373
18373
|
var Z = E ?? X;
|
|
18374
18374
|
if (Z == null)
|
|
18375
18375
|
return null;
|
|
@@ -18402,10 +18402,10 @@ function Wh(e) {
|
|
|
18402
18402
|
})));
|
|
18403
18403
|
return /* @__PURE__ */ Y.createElement(Y.Fragment, null, /* @__PURE__ */ Vx(Ae, Z), Q && /* @__PURE__ */ Y.createElement(Xae, {
|
|
18404
18404
|
cursor: v,
|
|
18405
|
-
tooltipEventType:
|
|
18405
|
+
tooltipEventType: z,
|
|
18406
18406
|
coordinate: L,
|
|
18407
18407
|
payload: q,
|
|
18408
|
-
index:
|
|
18408
|
+
index: F
|
|
18409
18409
|
}));
|
|
18410
18410
|
}
|
|
18411
18411
|
var mw = {}, yw = {}, bw = {}, y6;
|
|
@@ -18563,20 +18563,20 @@ var xc = /* @__PURE__ */ ti((e, t) => {
|
|
|
18563
18563
|
containerHeight: r.height
|
|
18564
18564
|
}), E = wt((P, I) => {
|
|
18565
18565
|
x((k) => {
|
|
18566
|
-
var N = Math.round(P),
|
|
18567
|
-
return k.containerWidth === N && k.containerHeight ===
|
|
18566
|
+
var N = Math.round(P), z = Math.round(I);
|
|
18567
|
+
return k.containerWidth === N && k.containerHeight === z ? k : {
|
|
18568
18568
|
containerWidth: N,
|
|
18569
|
-
containerHeight:
|
|
18569
|
+
containerHeight: z
|
|
18570
18570
|
};
|
|
18571
18571
|
});
|
|
18572
18572
|
}, []);
|
|
18573
18573
|
Ke(() => {
|
|
18574
|
-
var P = (
|
|
18575
|
-
var
|
|
18574
|
+
var P = (z) => {
|
|
18575
|
+
var F, {
|
|
18576
18576
|
width: j,
|
|
18577
18577
|
height: J
|
|
18578
|
-
} =
|
|
18579
|
-
E(j, J), (
|
|
18578
|
+
} = z[0].contentRect;
|
|
18579
|
+
E(j, J), (F = m.current) === null || F === void 0 || F.call(m, j, J);
|
|
18580
18580
|
};
|
|
18581
18581
|
c > 0 && (P = Cse(P, c, {
|
|
18582
18582
|
trailing: !0,
|
|
@@ -18603,14 +18603,14 @@ var xc = /* @__PURE__ */ ti((e, t) => {
|
|
|
18603
18603
|
return n && n > 0 && (k ? N = k / n : N && (k = N * n), u && N > u && (N = u)), Ad(k > 0 || N > 0, `The width(%s) and height(%s) of chart should be greater than 0,
|
|
18604
18604
|
please check the style of container, or the props width(%s) and height(%s),
|
|
18605
18605
|
or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the
|
|
18606
|
-
height and width.`, k, N, i, o, a, s, n), Y.Children.map(l, (
|
|
18606
|
+
height and width.`, k, N, i, o, a, s, n), Y.Children.map(l, (z) => /* @__PURE__ */ pc(z, {
|
|
18607
18607
|
width: k,
|
|
18608
18608
|
height: N,
|
|
18609
18609
|
// calculate the actual size and override it.
|
|
18610
18610
|
style: _w({
|
|
18611
18611
|
width: k,
|
|
18612
18612
|
height: N
|
|
18613
|
-
},
|
|
18613
|
+
}, z.props.style)
|
|
18614
18614
|
}));
|
|
18615
18615
|
}, [n, l, o, u, s, a, w, i]);
|
|
18616
18616
|
return /* @__PURE__ */ Y.createElement("div", {
|
|
@@ -18908,22 +18908,22 @@ var SN = /[ \f\n\r\t\v\u2028\u2029]+/, AN = (e) => {
|
|
|
18908
18908
|
}
|
|
18909
18909
|
return J;
|
|
18910
18910
|
}, []);
|
|
18911
|
-
}, h = d(t), p = (
|
|
18911
|
+
}, h = d(t), p = (F) => F.reduce((j, J) => j.width > J.width ? j : J);
|
|
18912
18912
|
if (!l || i)
|
|
18913
18913
|
return h;
|
|
18914
18914
|
var y = h.length > o || p(h).width > Number(r);
|
|
18915
18915
|
if (!y)
|
|
18916
18916
|
return h;
|
|
18917
|
-
for (var v = "…", m = (
|
|
18918
|
-
var j = c.slice(0,
|
|
18917
|
+
for (var v = "…", m = (F) => {
|
|
18918
|
+
var j = c.slice(0, F), J = AN({
|
|
18919
18919
|
breakAll: u,
|
|
18920
18920
|
style: s,
|
|
18921
18921
|
children: j + v
|
|
18922
18922
|
}).wordsWithComputedWidth, W = d(J), L = W.length > o || p(W).width > Number(r);
|
|
18923
18923
|
return [L, W];
|
|
18924
18924
|
}, w = 0, x = c.length - 1, E = 0, A; w <= x && E <= c.length - 1; ) {
|
|
18925
|
-
var P = Math.floor((w + x) / 2), I = P - 1, [k, N] = m(I), [
|
|
18926
|
-
if (!k && !
|
|
18925
|
+
var P = Math.floor((w + x) / 2), I = P - 1, [k, N] = m(I), [z] = m(P);
|
|
18926
|
+
if (!k && !z && (w = P + 1), k && z && (x = P - 1), !k && z) {
|
|
18927
18927
|
A = N;
|
|
18928
18928
|
break;
|
|
18929
18929
|
}
|
|
@@ -19020,16 +19020,16 @@ var SN = /[ \f\n\r\t\v\u2028\u2029]+/, AN = (e) => {
|
|
|
19020
19020
|
className: sn("recharts-text", v),
|
|
19021
19021
|
textAnchor: s,
|
|
19022
19022
|
fill: l.includes("url") ? k6 : l
|
|
19023
|
-
}), d.map((N,
|
|
19024
|
-
var
|
|
19023
|
+
}), d.map((N, z) => {
|
|
19024
|
+
var F = N.words.join(m ? "" : " ");
|
|
19025
19025
|
return (
|
|
19026
19026
|
// duplicate words will cause duplicate keys
|
|
19027
19027
|
// eslint-disable-next-line react/no-array-index-key
|
|
19028
19028
|
/* @__PURE__ */ Y.createElement("tspan", {
|
|
19029
19029
|
x,
|
|
19030
|
-
dy:
|
|
19031
|
-
key: "".concat(
|
|
19032
|
-
},
|
|
19030
|
+
dy: z === 0 ? A : i,
|
|
19031
|
+
key: "".concat(F, "-").concat(z)
|
|
19032
|
+
}, F)
|
|
19033
19033
|
);
|
|
19034
19034
|
}));
|
|
19035
19035
|
});
|
|
@@ -19852,7 +19852,7 @@ var q6 = (e, t, n, r, i) => {
|
|
|
19852
19852
|
className: P,
|
|
19853
19853
|
d: q6(n, r, i, o, a)
|
|
19854
19854
|
})));
|
|
19855
|
-
var I = v.current, k = m.current, N = w.current,
|
|
19855
|
+
var I = v.current, k = m.current, N = w.current, z = x.current, F = E.current, j = "0px ".concat(p === -1 ? 1 : p, "px"), J = "".concat(p, "px 0px"), W = ok(["strokeDasharray"], l, u);
|
|
19856
19856
|
return /* @__PURE__ */ Y.createElement(mc, {
|
|
19857
19857
|
animationId: A,
|
|
19858
19858
|
key: A,
|
|
@@ -19862,7 +19862,7 @@ var q6 = (e, t, n, r, i) => {
|
|
|
19862
19862
|
isActive: d,
|
|
19863
19863
|
begin: c
|
|
19864
19864
|
}, (L) => {
|
|
19865
|
-
var q = Dn(I, i, L), X = Dn(k, o, L), Q = Dn(N, a, L), fe = Dn(
|
|
19865
|
+
var q = Dn(I, i, L), X = Dn(k, o, L), Q = Dn(N, a, L), fe = Dn(z, n, L), se = Dn(F, r, L);
|
|
19866
19866
|
h.current && (v.current = q, m.current = X, w.current = Q, x.current = fe, E.current = se);
|
|
19867
19867
|
var V = L > 0 ? {
|
|
19868
19868
|
transition: W,
|
|
@@ -20371,24 +20371,24 @@ function Kce(e) {
|
|
|
20371
20371
|
if (E > 0) {
|
|
20372
20372
|
var P;
|
|
20373
20373
|
A = r.map((I, k) => {
|
|
20374
|
-
var N = yn(I, l, 0),
|
|
20374
|
+
var N = yn(I, l, 0), z = yn(I, c, k), F = zce(n, o, I), j = (_t(N) ? N : 0) / E, J, W = Gn(Gn({}, I), i && i[k] && i[k].props);
|
|
20375
20375
|
k ? J = P.endAngle + Tr(p) * v * (N !== 0 ? 1 : 0) : J = s;
|
|
20376
|
-
var L = J + Tr(p) * ((N !== 0 ? h : 0) + j * x), q = (J + L) / 2, X = (
|
|
20377
|
-
name:
|
|
20376
|
+
var L = J + Tr(p) * ((N !== 0 ? h : 0) + j * x), q = (J + L) / 2, X = (F.innerRadius + F.outerRadius) / 2, Q = [{
|
|
20377
|
+
name: z,
|
|
20378
20378
|
value: N,
|
|
20379
20379
|
payload: W,
|
|
20380
20380
|
dataKey: l,
|
|
20381
20381
|
type: d
|
|
20382
|
-
}], fe = fr(
|
|
20382
|
+
}], fe = fr(F.cx, F.cy, X, q);
|
|
20383
20383
|
return P = Gn(Gn(Gn(Gn({}, n.presentationProps), {}, {
|
|
20384
20384
|
percent: j,
|
|
20385
20385
|
cornerRadius: a,
|
|
20386
|
-
name:
|
|
20386
|
+
name: z,
|
|
20387
20387
|
tooltipPayload: Q,
|
|
20388
20388
|
midAngle: q,
|
|
20389
20389
|
middleRadius: X,
|
|
20390
20390
|
tooltipPosition: fe
|
|
20391
|
-
}, W),
|
|
20391
|
+
}, W), F), {}, {
|
|
20392
20392
|
value: N,
|
|
20393
20393
|
startAngle: J,
|
|
20394
20394
|
endAngle: L,
|
|
@@ -20458,11 +20458,11 @@ function Xce(e) {
|
|
|
20458
20458
|
}, (x) => {
|
|
20459
20459
|
var E = [], A = r && r[0], P = A?.startAngle;
|
|
20460
20460
|
return r?.forEach((I, k) => {
|
|
20461
|
-
var N = p && p[k],
|
|
20461
|
+
var N = p && p[k], z = k > 0 ? Gu(I, "paddingAngle", 0) : 0;
|
|
20462
20462
|
if (N) {
|
|
20463
|
-
var
|
|
20464
|
-
startAngle: P +
|
|
20465
|
-
endAngle: P +
|
|
20463
|
+
var F = Dn(N.endAngle - N.startAngle, I.endAngle - I.startAngle, x), j = Gn(Gn({}, I), {}, {
|
|
20464
|
+
startAngle: P + z,
|
|
20465
|
+
endAngle: P + F + z
|
|
20466
20466
|
});
|
|
20467
20467
|
E.push(j), P = j.endAngle;
|
|
20468
20468
|
} else {
|
|
@@ -20470,8 +20470,8 @@ function Xce(e) {
|
|
|
20470
20470
|
endAngle: J,
|
|
20471
20471
|
startAngle: W
|
|
20472
20472
|
} = I, L = Dn(0, J - W, x), q = Gn(Gn({}, I), {}, {
|
|
20473
|
-
startAngle: P +
|
|
20474
|
-
endAngle: P + L +
|
|
20473
|
+
startAngle: P + z,
|
|
20474
|
+
endAngle: P + L + z
|
|
20475
20475
|
});
|
|
20476
20476
|
E.push(q), P = q.endAngle;
|
|
20477
20477
|
}
|
|
@@ -21401,9 +21401,9 @@ function tfe(e) {
|
|
|
21401
21401
|
numericAxis: v
|
|
21402
21402
|
});
|
|
21403
21403
|
return d.map((x, E) => {
|
|
21404
|
-
var A, P, I, k, N,
|
|
21404
|
+
var A, P, I, k, N, z;
|
|
21405
21405
|
c ? A = oQ(c[E], m) : (A = yn(x, n), Array.isArray(A) || (A = [w, A]));
|
|
21406
|
-
var
|
|
21406
|
+
var F = Ole(r, zN)(A[1], E);
|
|
21407
21407
|
if (t === "horizontal") {
|
|
21408
21408
|
var j, [J, W] = [s.scale(A[0]), s.scale(A[1])];
|
|
21409
21409
|
P = DP({
|
|
@@ -21415,13 +21415,13 @@ function tfe(e) {
|
|
|
21415
21415
|
index: E
|
|
21416
21416
|
}), I = (j = W ?? J) !== null && j !== void 0 ? j : void 0, k = i.size;
|
|
21417
21417
|
var L = J - W;
|
|
21418
|
-
if (N = ei(L) ? 0 : L,
|
|
21418
|
+
if (N = ei(L) ? 0 : L, z = {
|
|
21419
21419
|
x: P,
|
|
21420
21420
|
y: h.top,
|
|
21421
21421
|
width: k,
|
|
21422
21422
|
height: h.height
|
|
21423
|
-
}, Math.abs(
|
|
21424
|
-
var q = Tr(N ||
|
|
21423
|
+
}, Math.abs(F) > 0 && Math.abs(N) < Math.abs(F)) {
|
|
21424
|
+
var q = Tr(N || F) * (Math.abs(F) - Math.abs(N));
|
|
21425
21425
|
I -= q, N += q;
|
|
21426
21426
|
}
|
|
21427
21427
|
} else {
|
|
@@ -21433,13 +21433,13 @@ function tfe(e) {
|
|
|
21433
21433
|
offset: i.offset,
|
|
21434
21434
|
entry: x,
|
|
21435
21435
|
index: E
|
|
21436
|
-
}), k = Q - X, N = i.size,
|
|
21436
|
+
}), k = Q - X, N = i.size, z = {
|
|
21437
21437
|
x: h.left,
|
|
21438
21438
|
y: I,
|
|
21439
21439
|
width: h.width,
|
|
21440
21440
|
height: N
|
|
21441
|
-
}, Math.abs(
|
|
21442
|
-
var fe = Tr(k ||
|
|
21441
|
+
}, Math.abs(F) > 0 && Math.abs(k) < Math.abs(F)) {
|
|
21442
|
+
var fe = Tr(k || F) * (Math.abs(F) - Math.abs(k));
|
|
21443
21443
|
k += fe;
|
|
21444
21444
|
}
|
|
21445
21445
|
}
|
|
@@ -21452,7 +21452,7 @@ function tfe(e) {
|
|
|
21452
21452
|
height: N,
|
|
21453
21453
|
value: c ? A : A[1],
|
|
21454
21454
|
payload: x,
|
|
21455
|
-
background:
|
|
21455
|
+
background: z,
|
|
21456
21456
|
tooltipPosition: {
|
|
21457
21457
|
x: P + k / 2,
|
|
21458
21458
|
y: I + N / 2
|
|
@@ -22045,8 +22045,8 @@ function Kfe(e) {
|
|
|
22045
22045
|
}, {
|
|
22046
22046
|
x: k,
|
|
22047
22047
|
y: N
|
|
22048
|
-
}] = A,
|
|
22049
|
-
clipPath:
|
|
22048
|
+
}] = A, z = u === "hidden" ? "url(#".concat(c, ")") : void 0, F = c4(c4({
|
|
22049
|
+
clipPath: z
|
|
22050
22050
|
}, mn(e, !0)), {}, {
|
|
22051
22051
|
x1: P,
|
|
22052
22052
|
y1: I,
|
|
@@ -22055,7 +22055,7 @@ function Kfe(e) {
|
|
|
22055
22055
|
});
|
|
22056
22056
|
return /* @__PURE__ */ Y.createElement(kn, {
|
|
22057
22057
|
className: sn("recharts-reference-line", s)
|
|
22058
|
-
}, Hfe(a,
|
|
22058
|
+
}, Hfe(a, F), /* @__PURE__ */ Y.createElement(QS, Rfe({
|
|
22059
22059
|
x1: P,
|
|
22060
22060
|
y1: I,
|
|
22061
22061
|
x2: k,
|
|
@@ -22673,7 +22673,7 @@ function Ade(e) {
|
|
|
22673
22673
|
events: A
|
|
22674
22674
|
} = e, P = h3(yr(yr({}, E), {}, {
|
|
22675
22675
|
ticks: t
|
|
22676
|
-
}), w, x), I = xde(l, c), k = Ede(l, c), N = Di(E),
|
|
22676
|
+
}), w, x), I = xde(l, c), k = Ede(l, c), N = Di(E), z = mn(n, !1), F = yr(yr({}, N), {}, {
|
|
22677
22677
|
fill: "none"
|
|
22678
22678
|
}, mn(r, !1)), j = P.map((J, W) => {
|
|
22679
22679
|
var {
|
|
@@ -22686,7 +22686,7 @@ function Ade(e) {
|
|
|
22686
22686
|
}, N), {}, {
|
|
22687
22687
|
stroke: "none",
|
|
22688
22688
|
fill: i
|
|
22689
|
-
},
|
|
22689
|
+
}, z), q), {}, {
|
|
22690
22690
|
index: W,
|
|
22691
22691
|
payload: J,
|
|
22692
22692
|
visibleTicksCount: P.length,
|
|
@@ -22697,7 +22697,7 @@ function Ade(e) {
|
|
|
22697
22697
|
className: "recharts-cartesian-axis-tick",
|
|
22698
22698
|
key: "tick-".concat(J.value, "-").concat(J.coordinate, "-").concat(J.tickCoord)
|
|
22699
22699
|
}, Yl(A, J, W)), r && // @ts-expect-error recharts scale is not compatible with SVG scale
|
|
22700
|
-
/* @__PURE__ */ Y.createElement("line", oc({},
|
|
22700
|
+
/* @__PURE__ */ Y.createElement("line", oc({}, F, L, {
|
|
22701
22701
|
className: sn("recharts-cartesian-axis-tick-line", Gu(r, "className"))
|
|
22702
22702
|
})), n && /* @__PURE__ */ Y.createElement(Sde, {
|
|
22703
22703
|
option: n,
|
|
@@ -23104,7 +23104,7 @@ function Ec(e) {
|
|
|
23104
23104
|
syncWithTicks: d,
|
|
23105
23105
|
horizontalValues: h,
|
|
23106
23106
|
verticalValues: p
|
|
23107
|
-
} = i, y = hr(), v = dt((
|
|
23107
|
+
} = i, y = hr(), v = dt((z) => i6(z, "xAxis", o, y)), m = dt((z) => i6(z, "yAxis", a, y));
|
|
23108
23108
|
if (!_t(l) || l <= 0 || !_t(c) || c <= 0 || !_t(s) || s !== +s || !_t(u) || u !== +u)
|
|
23109
23109
|
return null;
|
|
23110
23110
|
var w = i.verticalCoordinatesGenerator || Fde, x = i.horizontalCoordinatesGenerator || Wde, {
|
|
@@ -23457,7 +23457,7 @@ function fhe(e) {
|
|
|
23457
23457
|
typeof v == "function" && v(), A(!1);
|
|
23458
23458
|
}, [v]), k = wt(() => {
|
|
23459
23459
|
typeof m == "function" && m(), A(!0);
|
|
23460
|
-
}, [m]), N = lhe(r.current),
|
|
23460
|
+
}, [m]), N = lhe(r.current), z = o.current;
|
|
23461
23461
|
return /* @__PURE__ */ Y.createElement(che, {
|
|
23462
23462
|
points: a,
|
|
23463
23463
|
showLabels: P
|
|
@@ -23470,8 +23470,8 @@ function fhe(e) {
|
|
|
23470
23470
|
onAnimationEnd: I,
|
|
23471
23471
|
onAnimationStart: k,
|
|
23472
23472
|
key: x
|
|
23473
|
-
}, (
|
|
23474
|
-
var j = Dn(
|
|
23473
|
+
}, (F) => {
|
|
23474
|
+
var j = Dn(z, N + z, F), J = Math.min(j, N), W;
|
|
23475
23475
|
if (u)
|
|
23476
23476
|
if (s) {
|
|
23477
23477
|
var L = "".concat(s).split(/[,\s]+/gim).map((Q) => parseFloat(Q));
|
|
@@ -23481,18 +23481,18 @@ function fhe(e) {
|
|
|
23481
23481
|
else
|
|
23482
23482
|
W = s == null ? void 0 : String(s);
|
|
23483
23483
|
if (w) {
|
|
23484
|
-
var q = w.length / a.length, X =
|
|
23484
|
+
var q = w.length / a.length, X = F === 1 ? a : a.map((Q, fe) => {
|
|
23485
23485
|
var se = Math.floor(fe * q);
|
|
23486
23486
|
if (w[se]) {
|
|
23487
23487
|
var V = w[se];
|
|
23488
23488
|
return Zi(Zi({}, Q), {}, {
|
|
23489
|
-
x: Dn(V.x, Q.x,
|
|
23490
|
-
y: Dn(V.y, Q.y,
|
|
23489
|
+
x: Dn(V.x, Q.x, F),
|
|
23490
|
+
y: Dn(V.y, Q.y, F)
|
|
23491
23491
|
});
|
|
23492
23492
|
}
|
|
23493
23493
|
return h ? Zi(Zi({}, Q), {}, {
|
|
23494
|
-
x: Dn(p * 2, Q.x,
|
|
23495
|
-
y: Dn(y / 2, Q.y,
|
|
23494
|
+
x: Dn(p * 2, Q.x, F),
|
|
23495
|
+
y: Dn(y / 2, Q.y, F)
|
|
23496
23496
|
}) : Zi(Zi({}, Q), {}, {
|
|
23497
23497
|
x: Q.x,
|
|
23498
23498
|
y: Q.y
|
|
@@ -23506,7 +23506,7 @@ function fhe(e) {
|
|
|
23506
23506
|
strokeDasharray: W
|
|
23507
23507
|
});
|
|
23508
23508
|
}
|
|
23509
|
-
return
|
|
23509
|
+
return F > 0 && N > 0 && (i.current = a, o.current = J), /* @__PURE__ */ Y.createElement(v4, {
|
|
23510
23510
|
props: n,
|
|
23511
23511
|
points: a,
|
|
23512
23512
|
clipPathId: t,
|
|
@@ -23628,14 +23628,14 @@ function ghe(e) {
|
|
|
23628
23628
|
id: v
|
|
23629
23629
|
} = t, m = v3(t, Zde), {
|
|
23630
23630
|
needClip: w
|
|
23631
|
-
} = Gh(p, y), x = hy(), E = Ih(), A = hr(), P = dt((
|
|
23631
|
+
} = Gh(p, y), x = hy(), E = Ih(), A = hr(), P = dt((F) => Kde(F, p, y, A, v));
|
|
23632
23632
|
if (E !== "horizontal" && E !== "vertical" || P == null || x == null)
|
|
23633
23633
|
return null;
|
|
23634
23634
|
var {
|
|
23635
23635
|
height: I,
|
|
23636
23636
|
width: k,
|
|
23637
23637
|
x: N,
|
|
23638
|
-
y:
|
|
23638
|
+
y: z
|
|
23639
23639
|
} = x;
|
|
23640
23640
|
return /* @__PURE__ */ Y.createElement(phe, ac({}, m, {
|
|
23641
23641
|
id: v,
|
|
@@ -23657,7 +23657,7 @@ function ghe(e) {
|
|
|
23657
23657
|
height: I,
|
|
23658
23658
|
width: k,
|
|
23659
23659
|
left: N,
|
|
23660
|
-
top:
|
|
23660
|
+
top: z,
|
|
23661
23661
|
needClip: w
|
|
23662
23662
|
}));
|
|
23663
23663
|
}
|
|
@@ -24104,31 +24104,31 @@ function jhe(e) {
|
|
|
24104
24104
|
* and if we create a new array instance (even if the numbers were the same)
|
|
24105
24105
|
* then we would break animations.
|
|
24106
24106
|
*/
|
|
24107
|
-
I === 1 ? a : a.map((
|
|
24107
|
+
I === 1 ? a : a.map((F, j) => {
|
|
24108
24108
|
var J = Math.floor(j * k);
|
|
24109
24109
|
if (A[J]) {
|
|
24110
24110
|
var W = A[J];
|
|
24111
|
-
return rs(rs({},
|
|
24112
|
-
x: Dn(W.x,
|
|
24113
|
-
y: Dn(W.y,
|
|
24111
|
+
return rs(rs({}, F), {}, {
|
|
24112
|
+
x: Dn(W.x, F.x, I),
|
|
24113
|
+
y: Dn(W.y, F.y, I)
|
|
24114
24114
|
});
|
|
24115
24115
|
}
|
|
24116
|
-
return
|
|
24116
|
+
return F;
|
|
24117
24117
|
})
|
|
24118
|
-
),
|
|
24119
|
-
return _t(s) ?
|
|
24118
|
+
), z;
|
|
24119
|
+
return _t(s) ? z = Dn(P, s, I) : An(s) || ei(s) ? z = Dn(P, 0, I) : z = s.map((F, j) => {
|
|
24120
24120
|
var J = Math.floor(j * k);
|
|
24121
24121
|
if (Array.isArray(P) && P[J]) {
|
|
24122
24122
|
var W = P[J];
|
|
24123
|
-
return rs(rs({},
|
|
24124
|
-
x: Dn(W.x,
|
|
24125
|
-
y: Dn(W.y,
|
|
24123
|
+
return rs(rs({}, F), {}, {
|
|
24124
|
+
x: Dn(W.x, F.x, I),
|
|
24125
|
+
y: Dn(W.y, F.y, I)
|
|
24126
24126
|
});
|
|
24127
24127
|
}
|
|
24128
|
-
return
|
|
24129
|
-
}), I > 0 && (i.current = N, o.current =
|
|
24128
|
+
return F;
|
|
24129
|
+
}), I > 0 && (i.current = N, o.current = z), /* @__PURE__ */ Y.createElement(y4, {
|
|
24130
24130
|
points: N,
|
|
24131
|
-
baseLine:
|
|
24131
|
+
baseLine: z,
|
|
24132
24132
|
needClip: t,
|
|
24133
24133
|
clipPathId: n,
|
|
24134
24134
|
props: r
|
|
@@ -24263,15 +24263,15 @@ function zhe(e) {
|
|
|
24263
24263
|
points: I,
|
|
24264
24264
|
isRange: k,
|
|
24265
24265
|
baseLine: N
|
|
24266
|
-
} = (t = dt((L) => _he(L, v, m, P, e.id))) !== null && t !== void 0 ? t : {},
|
|
24267
|
-
if (x !== "horizontal" && x !== "vertical" ||
|
|
24266
|
+
} = (t = dt((L) => _he(L, v, m, P, e.id))) !== null && t !== void 0 ? t : {}, z = hy();
|
|
24267
|
+
if (x !== "horizontal" && x !== "vertical" || z == null || E !== "AreaChart" && E !== "ComposedChart")
|
|
24268
24268
|
return null;
|
|
24269
24269
|
var {
|
|
24270
|
-
height:
|
|
24270
|
+
height: F,
|
|
24271
24271
|
width: j,
|
|
24272
24272
|
x: J,
|
|
24273
24273
|
y: W
|
|
24274
|
-
} =
|
|
24274
|
+
} = z;
|
|
24275
24275
|
return !I || !I.length ? null : /* @__PURE__ */ Y.createElement(Bhe, cs({}, w, {
|
|
24276
24276
|
activeDot: r,
|
|
24277
24277
|
animationBegin: i,
|
|
@@ -24282,7 +24282,7 @@ function zhe(e) {
|
|
|
24282
24282
|
dot: u,
|
|
24283
24283
|
fill: l,
|
|
24284
24284
|
fillOpacity: c,
|
|
24285
|
-
height:
|
|
24285
|
+
height: F,
|
|
24286
24286
|
hide: d,
|
|
24287
24287
|
layout: x,
|
|
24288
24288
|
isAnimationActive: h,
|
|
@@ -24857,14 +24857,14 @@ function wpe(e) {
|
|
|
24857
24857
|
entry: m,
|
|
24858
24858
|
index: w,
|
|
24859
24859
|
dataKey: c
|
|
24860
|
-
}), N = A !== "-" ? i.scale(A) : p,
|
|
24860
|
+
}), N = A !== "-" ? i.scale(A) : p, z = Math.sqrt(Math.max(N, 0) / Math.PI);
|
|
24861
24861
|
return Zr(Zr({}, m), {}, {
|
|
24862
24862
|
cx: I,
|
|
24863
24863
|
cy: k,
|
|
24864
|
-
x: I -
|
|
24865
|
-
y: k -
|
|
24866
|
-
width: 2 *
|
|
24867
|
-
height: 2 *
|
|
24864
|
+
x: I - z,
|
|
24865
|
+
y: k - z,
|
|
24866
|
+
width: 2 * z,
|
|
24867
|
+
height: 2 * z,
|
|
24868
24868
|
size: N,
|
|
24869
24869
|
node: {
|
|
24870
24870
|
x,
|
|
@@ -25893,12 +25893,12 @@ var Cge = /* @__PURE__ */ ti((e, t) => {
|
|
|
25893
25893
|
vse();
|
|
25894
25894
|
var k = Sge(), N = wt((ae) => {
|
|
25895
25895
|
k(ae), typeof t == "function" && t(ae), A(ae), I(ae);
|
|
25896
|
-
}, [k, t, A, I]),
|
|
25896
|
+
}, [k, t, A, I]), z = wt((ae) => {
|
|
25897
25897
|
x(hL(ae)), x(xo({
|
|
25898
25898
|
handler: o,
|
|
25899
25899
|
reactEvent: ae
|
|
25900
25900
|
}));
|
|
25901
|
-
}, [x, o]),
|
|
25901
|
+
}, [x, o]), F = wt((ae) => {
|
|
25902
25902
|
x(j_(ae)), x(xo({
|
|
25903
25903
|
handler: l,
|
|
25904
25904
|
reactEvent: ae
|
|
@@ -25965,13 +25965,13 @@ var Cge = /* @__PURE__ */ ti((e, t) => {
|
|
|
25965
25965
|
width: w,
|
|
25966
25966
|
height: i
|
|
25967
25967
|
}, m),
|
|
25968
|
-
onClick:
|
|
25968
|
+
onClick: z,
|
|
25969
25969
|
onContextMenu: q,
|
|
25970
25970
|
onDoubleClick: X,
|
|
25971
25971
|
onFocus: W,
|
|
25972
25972
|
onKeyDown: L,
|
|
25973
25973
|
onMouseDown: Q,
|
|
25974
|
-
onMouseEnter:
|
|
25974
|
+
onMouseEnter: F,
|
|
25975
25975
|
onMouseLeave: j,
|
|
25976
25976
|
onMouseMove: J,
|
|
25977
25977
|
onMouseUp: fe,
|
|
@@ -26850,15 +26850,15 @@ function hve() {
|
|
|
26850
26850
|
function yy(e, t) {
|
|
26851
26851
|
var n = [], r = null, i = null, o = 6, a = 6, s = 3, u = typeof window < "u" && window.devicePixelRatio > 1 ? 0 : 0.5, l = e === Qg || e === fd ? -1 : 1, c = e === fd || e === ev ? "x" : "y", d = e === Qg || e === z_ ? cve : lve;
|
|
26852
26852
|
function h(p) {
|
|
26853
|
-
var y = r ?? (t.ticks ? t.ticks.apply(t, n) : t.domain()), v = i ?? (t.tickFormat ? t.tickFormat.apply(t, n) : uve), m = Math.max(o, 0) + s, w = t.range(), x = +w[0] + u, E = +w[w.length - 1] + u, A = (t.bandwidth ? dve : fve)(t.copy(), u), P = p.selection ? p.selection() : p, I = P.selectAll(".domain").data([null]), k = P.selectAll(".tick").data(y, t).order(), N = k.exit(),
|
|
26854
|
-
I = I.merge(I.enter().insert("path", ".tick").attr("class", "domain").attr("stroke", "currentColor")), k = k.merge(
|
|
26853
|
+
var y = r ?? (t.ticks ? t.ticks.apply(t, n) : t.domain()), v = i ?? (t.tickFormat ? t.tickFormat.apply(t, n) : uve), m = Math.max(o, 0) + s, w = t.range(), x = +w[0] + u, E = +w[w.length - 1] + u, A = (t.bandwidth ? dve : fve)(t.copy(), u), P = p.selection ? p.selection() : p, I = P.selectAll(".domain").data([null]), k = P.selectAll(".tick").data(y, t).order(), N = k.exit(), z = k.enter().append("g").attr("class", "tick"), F = k.select("line"), j = k.select("text");
|
|
26854
|
+
I = I.merge(I.enter().insert("path", ".tick").attr("class", "domain").attr("stroke", "currentColor")), k = k.merge(z), F = F.merge(z.append("line").attr("stroke", "currentColor").attr(c + "2", l * o)), j = j.merge(z.append("text").attr("fill", "currentColor").attr(c, l * m).attr("dy", e === Qg ? "0em" : e === z_ ? "0.71em" : "0.32em")), p !== P && (I = I.transition(p), k = k.transition(p), F = F.transition(p), j = j.transition(p), N = N.transition(p).attr("opacity", P4).attr("transform", function(J) {
|
|
26855
26855
|
return isFinite(J = A(J)) ? d(J + u) : this.getAttribute("transform");
|
|
26856
|
-
}),
|
|
26856
|
+
}), z.attr("opacity", P4).attr("transform", function(J) {
|
|
26857
26857
|
var W = this.parentNode.__axis;
|
|
26858
26858
|
return d((W && isFinite(W = W(J)) ? W : A(J)) + u);
|
|
26859
26859
|
})), N.remove(), I.attr("d", e === fd || e === ev ? a ? "M" + l * a + "," + x + "H" + u + "V" + E + "H" + l * a : "M" + u + "," + x + "V" + E : a ? "M" + x + "," + l * a + "V" + u + "H" + E + "V" + l * a : "M" + x + "," + u + "H" + E), k.attr("opacity", 1).attr("transform", function(J) {
|
|
26860
26860
|
return d(A(J) + u);
|
|
26861
|
-
}),
|
|
26861
|
+
}), F.attr(c + "2", l * o), j.attr(c, l * m).text(v), P.filter(hve).attr("fill", "none").attr("font-size", 10).attr("font-family", "sans-serif").attr("text-anchor", e === ev ? "start" : e === fd ? "end" : "middle"), P.each(function() {
|
|
26862
26862
|
this.__axis = A;
|
|
26863
26863
|
});
|
|
26864
26864
|
}
|
|
@@ -27665,9 +27665,9 @@ function sme() {
|
|
|
27665
27665
|
}
|
|
27666
27666
|
function m(A, P) {
|
|
27667
27667
|
if (e.call(this, A, P)) {
|
|
27668
|
-
var I = A.changedTouches, k = t.call(this, A, P), N = I.length,
|
|
27669
|
-
for (
|
|
27670
|
-
(
|
|
27668
|
+
var I = A.changedTouches, k = t.call(this, A, P), N = I.length, z, F;
|
|
27669
|
+
for (z = 0; z < N; ++z)
|
|
27670
|
+
(F = E(this, k, A, P, I[z].identifier, I[z])) && (Rw(A), F("start", A, I[z]));
|
|
27671
27671
|
}
|
|
27672
27672
|
}
|
|
27673
27673
|
function w(A) {
|
|
@@ -27682,8 +27682,8 @@ function sme() {
|
|
|
27682
27682
|
}, 500), k = 0; k < I; ++k)
|
|
27683
27683
|
(N = i[P[k].identifier]) && (Rw(A), N("end", A, P[k]));
|
|
27684
27684
|
}
|
|
27685
|
-
function E(A, P, I, k, N,
|
|
27686
|
-
var
|
|
27685
|
+
function E(A, P, I, k, N, z) {
|
|
27686
|
+
var F = o.copy(), j = Xi(z || I, P), J, W, L;
|
|
27687
27687
|
if ((L = n.call(A, new V_("beforestart", {
|
|
27688
27688
|
sourceEvent: I,
|
|
27689
27689
|
target: h,
|
|
@@ -27693,7 +27693,7 @@ function sme() {
|
|
|
27693
27693
|
y: j[1],
|
|
27694
27694
|
dx: 0,
|
|
27695
27695
|
dy: 0,
|
|
27696
|
-
dispatch:
|
|
27696
|
+
dispatch: F
|
|
27697
27697
|
}), k)) != null)
|
|
27698
27698
|
return J = L.x - j[0] || 0, W = L.y - j[1] || 0, function q(X, Q, fe) {
|
|
27699
27699
|
var se = j, V;
|
|
@@ -27708,7 +27708,7 @@ function sme() {
|
|
|
27708
27708
|
j = Xi(fe || Q, P), V = a;
|
|
27709
27709
|
break;
|
|
27710
27710
|
}
|
|
27711
|
-
|
|
27711
|
+
F.call(
|
|
27712
27712
|
X,
|
|
27713
27713
|
A,
|
|
27714
27714
|
new V_(X, {
|
|
@@ -27721,7 +27721,7 @@ function sme() {
|
|
|
27721
27721
|
y: j[1] + W,
|
|
27722
27722
|
dx: j[0] - se[0],
|
|
27723
27723
|
dy: j[1] - se[1],
|
|
27724
|
-
dispatch:
|
|
27724
|
+
dispatch: F
|
|
27725
27725
|
}),
|
|
27726
27726
|
k
|
|
27727
27727
|
);
|
|
@@ -28630,10 +28630,10 @@ function D3(e) {
|
|
|
28630
28630
|
c(this, arguments).end(E);
|
|
28631
28631
|
}).tween("brush", function() {
|
|
28632
28632
|
var E = this, A = E.__brush, P = c(E, arguments), I = A.selection, k = e.input(typeof w == "function" ? w.apply(this, arguments) : w, A.extent), N = iu(I, k);
|
|
28633
|
-
function F
|
|
28634
|
-
A.selection =
|
|
28633
|
+
function z(F) {
|
|
28634
|
+
A.selection = F === 1 && k === null ? null : N(F), l.call(E), P.brush();
|
|
28635
28635
|
}
|
|
28636
|
-
return I !== null && k !== null ?
|
|
28636
|
+
return I !== null && k !== null ? z : z(1);
|
|
28637
28637
|
}) : m.each(function() {
|
|
28638
28638
|
var E = this, A = arguments, P = E.__brush, I = e.input(typeof w == "function" ? w.apply(E, A) : w, P.extent), k = c(E, A).beforestart();
|
|
28639
28639
|
Uu(E), P.selection = I === null ? null : I, l.call(E), k.start(x).brush(x).end(x);
|
|
@@ -28691,7 +28691,7 @@ function D3(e) {
|
|
|
28691
28691
|
};
|
|
28692
28692
|
function h(m) {
|
|
28693
28693
|
if (s && !m.touches || !n.apply(this, arguments)) return;
|
|
28694
|
-
var w = this, x = m.target.__data__.type, E = (i && m.metaKey ? x = "overlay" : x) === "selection" ? $4 : i && m.altKey ? Yc : Kc, A = e === ov ? null : Xye[x], P = e === iv ? null : Zye[x], I = jw(w), k = I.extent, N = I.selection,
|
|
28694
|
+
var w = this, x = m.target.__data__.type, E = (i && m.metaKey ? x = "overlay" : x) === "selection" ? $4 : i && m.altKey ? Yc : Kc, A = e === ov ? null : Xye[x], P = e === iv ? null : Zye[x], I = jw(w), k = I.extent, N = I.selection, z = k[0][0], F, j, J = k[0][1], W, L, q = k[1][0], X, Q, fe = k[1][1], se, V, Z = 0, ae = 0, pe, Ae = A && P && i && m.shiftKey, Ee, R, $ = Array.from(m.touches || [m], (ee) => {
|
|
28695
28695
|
const ie = ee.identifier;
|
|
28696
28696
|
return ee = Xi(ee, w), ee.point0 = ee.slice(), ee.identifier = ie, ee;
|
|
28697
28697
|
});
|
|
@@ -28701,15 +28701,15 @@ function D3(e) {
|
|
|
28701
28701
|
N && (pe = !0);
|
|
28702
28702
|
const ee = [$[0], $[1] || $[0]];
|
|
28703
28703
|
I.selection = N = [[
|
|
28704
|
-
|
|
28704
|
+
F = e === ov ? z : Hr(ee[0][0], ee[1][0]),
|
|
28705
28705
|
W = e === iv ? J : Hr(ee[0][1], ee[1][1])
|
|
28706
28706
|
], [
|
|
28707
28707
|
X = e === ov ? q : Vr(ee[0][0], ee[1][0]),
|
|
28708
28708
|
se = e === iv ? fe : Vr(ee[0][1], ee[1][1])
|
|
28709
28709
|
]], $.length > 1 && B(m);
|
|
28710
28710
|
} else
|
|
28711
|
-
|
|
28712
|
-
j =
|
|
28711
|
+
F = N[0][0], W = N[0][1], X = N[1][0], se = N[1][1];
|
|
28712
|
+
j = F, L = W, Q = X, V = se;
|
|
28713
28713
|
var _ = Xr(w).attr("pointer-events", "none"), T = _.selectAll(".overlay").attr("cursor", Wa[x]);
|
|
28714
28714
|
if (m.touches)
|
|
28715
28715
|
b.moved = C, b.ended = U;
|
|
@@ -28736,19 +28736,19 @@ function D3(e) {
|
|
|
28736
28736
|
switch (Z = ie[0] - oe[0], ae = ie[1] - oe[1], E) {
|
|
28737
28737
|
case Lw:
|
|
28738
28738
|
case $4: {
|
|
28739
|
-
A && (Z = Vr(
|
|
28739
|
+
A && (Z = Vr(z - F, Hr(q - X, Z)), j = F + Z, Q = X + Z), P && (ae = Vr(J - W, Hr(fe - se, ae)), L = W + ae, V = se + ae);
|
|
28740
28740
|
break;
|
|
28741
28741
|
}
|
|
28742
28742
|
case Kc: {
|
|
28743
|
-
$[1] ? (A && (j = Vr(
|
|
28743
|
+
$[1] ? (A && (j = Vr(z, Hr(q, $[0][0])), Q = Vr(z, Hr(q, $[1][0])), A = 1), P && (L = Vr(J, Hr(fe, $[0][1])), V = Vr(J, Hr(fe, $[1][1])), P = 1)) : (A < 0 ? (Z = Vr(z - F, Hr(q - F, Z)), j = F + Z, Q = X) : A > 0 && (Z = Vr(z - X, Hr(q - X, Z)), j = F, Q = X + Z), P < 0 ? (ae = Vr(J - W, Hr(fe - W, ae)), L = W + ae, V = se) : P > 0 && (ae = Vr(J - se, Hr(fe - se, ae)), L = W, V = se + ae));
|
|
28744
28744
|
break;
|
|
28745
28745
|
}
|
|
28746
28746
|
case Yc: {
|
|
28747
|
-
A && (j = Vr(
|
|
28747
|
+
A && (j = Vr(z, Hr(q, F - Z * A)), Q = Vr(z, Hr(q, X + Z * A))), P && (L = Vr(J, Hr(fe, W - ae * P)), V = Vr(J, Hr(fe, se + ae * P)));
|
|
28748
28748
|
break;
|
|
28749
28749
|
}
|
|
28750
28750
|
}
|
|
28751
|
-
Q < j && (A *= -1, re =
|
|
28751
|
+
Q < j && (A *= -1, re = F, F = X, X = re, re = j, j = Q, Q = re, x in F4 && T.attr("cursor", Wa[x = F4[x]])), V < L && (P *= -1, re = W, W = se, se = re, re = L, L = V, V = re, x in W4 && T.attr("cursor", Wa[x = W4[x]])), I.selection && (N = I.selection), Ee && (j = N[0][0], Q = N[1][0]), R && (L = N[0][1], V = N[1][1]), (N[0][0] !== j || N[0][1] !== L || N[1][0] !== Q || N[1][1] !== V) && (I.selection = [[j, L], [Q, V]], l.call(w), b.brush(ee, E.name));
|
|
28752
28752
|
}
|
|
28753
28753
|
function U(ee) {
|
|
28754
28754
|
if (Kye(ee), ee.touches) {
|
|
@@ -28767,11 +28767,11 @@ function D3(e) {
|
|
|
28767
28767
|
break;
|
|
28768
28768
|
}
|
|
28769
28769
|
case 18: {
|
|
28770
|
-
E === Kc && (A && (X = Q - Z * A,
|
|
28770
|
+
E === Kc && (A && (X = Q - Z * A, F = j + Z * A), P && (se = V - ae * P, W = L + ae * P), E = Yc, B(ee));
|
|
28771
28771
|
break;
|
|
28772
28772
|
}
|
|
28773
28773
|
case 32: {
|
|
28774
|
-
(E === Kc || E === Yc) && (A < 0 ? X = Q - Z : A > 0 && (
|
|
28774
|
+
(E === Kc || E === Yc) && (A < 0 ? X = Q - Z : A > 0 && (F = j - Z), P < 0 ? se = V - ae : P > 0 && (W = L - ae), E = Lw, T.attr("cursor", Wa.selection), B(ee));
|
|
28775
28775
|
break;
|
|
28776
28776
|
}
|
|
28777
28777
|
default:
|
|
@@ -28786,11 +28786,11 @@ function D3(e) {
|
|
|
28786
28786
|
break;
|
|
28787
28787
|
}
|
|
28788
28788
|
case 18: {
|
|
28789
|
-
E === Yc && (A < 0 ? X = Q : A > 0 && (
|
|
28789
|
+
E === Yc && (A < 0 ? X = Q : A > 0 && (F = j), P < 0 ? se = V : P > 0 && (W = L), E = Kc, B(ee));
|
|
28790
28790
|
break;
|
|
28791
28791
|
}
|
|
28792
28792
|
case 32: {
|
|
28793
|
-
E === Lw && (ee.altKey ? (A && (X = Q - Z * A,
|
|
28793
|
+
E === Lw && (ee.altKey ? (A && (X = Q - Z * A, F = j + Z * A), P && (se = V - ae * P, W = L + ae * P), E = Yc) : (A < 0 ? X = Q : A > 0 && (F = j), P < 0 ? se = V : P > 0 && (W = L), E = Kc), T.attr("cursor", Wa[x]), B(ee));
|
|
28794
28794
|
break;
|
|
28795
28795
|
}
|
|
28796
28796
|
default:
|
|
@@ -29062,8 +29062,8 @@ function Q_() {
|
|
|
29062
29062
|
E = x, x = xu(l[v * e + y + 1], c), Ua[x << 2 | E << 3].forEach(A);
|
|
29063
29063
|
Ua[x << 3].forEach(A);
|
|
29064
29064
|
function A(P) {
|
|
29065
|
-
var I = [P[0][0] + y, P[0][1] + v], k = [P[1][0] + y, P[1][1] + v], N = s(I),
|
|
29066
|
-
(
|
|
29065
|
+
var I = [P[0][0] + y, P[0][1] + v], k = [P[1][0] + y, P[1][1] + v], N = s(I), z = s(k), F, j;
|
|
29066
|
+
(F = p[N]) ? (j = h[z]) ? (delete p[F.end], delete h[j.start], F === j ? (F.ring.push(k), d(F.ring)) : h[F.start] = p[j.end] = { start: F.start, end: j.end, ring: F.ring.concat(j.ring) }) : (delete p[F.end], F.ring.push(k), p[F.end = z] = F) : (F = h[z]) ? (j = p[N]) ? (delete h[F.start], delete p[j.end], F === j ? (F.ring.push(k), d(F.ring)) : h[j.start] = p[F.end] = { start: j.start, end: F.end, ring: j.ring.concat(F.ring) }) : (delete h[F.start], F.ring.unshift(I), h[F.start = N] = F) : h[N] = p[z] = { start: N, end: z, ring: [I, k] };
|
|
29067
29067
|
}
|
|
29068
29068
|
}
|
|
29069
29069
|
function s(l) {
|
|
@@ -29115,8 +29115,8 @@ function k1e() {
|
|
|
29115
29115
|
for (const W of x) {
|
|
29116
29116
|
var I = (e(W, ++P, x) + s) * A, k = (t(W, P, x) + s) * A, N = +n(W, P, x);
|
|
29117
29117
|
if (N && I >= 0 && I < u && k >= 0 && k < l) {
|
|
29118
|
-
var
|
|
29119
|
-
E[
|
|
29118
|
+
var z = Math.floor(I), F = Math.floor(k), j = I - z - 0.5, J = k - F - 0.5;
|
|
29119
|
+
E[z + F * u] += (1 - j) * (1 - J) * N, E[z + 1 + F * u] += j * (1 - J) * N, E[z + 1 + (F + 1) * u] += j * J * N, E[z + (F + 1) * u] += (1 - j) * J * N;
|
|
29120
29120
|
}
|
|
29121
29121
|
}
|
|
29122
29122
|
return gk({ data: E, width: u, height: l }, o * A), E;
|
|
@@ -29196,13 +29196,13 @@ function Jh(e) {
|
|
|
29196
29196
|
const N1e = (3 + 16 * ls) * ls, L1e = (2 + 12 * ls) * ls, j1e = (9 + 64 * ls) * ls * ls, Jc = Jh(4), K4 = Jh(8), Y4 = Jh(12), X4 = Jh(16), ai = Jh(4);
|
|
29197
29197
|
function $1e(e, t, n, r, i, o, a) {
|
|
29198
29198
|
let s, u, l, c, d, h, p, y, v, m, w, x, E, A, P, I, k, N;
|
|
29199
|
-
const
|
|
29200
|
-
A =
|
|
29199
|
+
const z = e - i, F = n - i, j = t - o, J = r - o;
|
|
29200
|
+
A = z * J, h = Gr * z, p = h - (h - z), y = z - p, h = Gr * J, v = h - (h - J), m = J - v, P = y * m - (A - p * v - y * v - p * m), I = j * F, h = Gr * j, p = h - (h - j), y = j - p, h = Gr * F, v = h - (h - F), m = F - v, k = y * m - (I - p * v - y * v - p * m), w = P - k, d = P - w, Jc[0] = P - (w + d) + (d - k), x = A + w, d = x - A, E = A - (x - d) + (w - d), w = E - I, d = E - w, Jc[1] = E - (w + d) + (d - I), N = x + w, d = N - x, Jc[2] = x - (N - d) + (w - d), Jc[3] = N;
|
|
29201
29201
|
let W = D1e(4, Jc), L = L1e * a;
|
|
29202
|
-
if (W >= L || -W >= L || (d = e -
|
|
29203
|
-
A = s * J, h = Gr * s, p = h - (h - s), y = s - p, h = Gr * J, v = h - (h - J), m = J - v, P = y * m - (A - p * v - y * v - p * m), I = u *
|
|
29202
|
+
if (W >= L || -W >= L || (d = e - z, s = e - (z + d) + (d - i), d = n - F, l = n - (F + d) + (d - i), d = t - j, u = t - (j + d) + (d - o), d = r - J, c = r - (J + d) + (d - o), s === 0 && u === 0 && l === 0 && c === 0) || (L = j1e * a + R1e * Math.abs(W), W += z * c + J * s - (j * l + F * u), W >= L || -W >= L)) return W;
|
|
29203
|
+
A = s * J, h = Gr * s, p = h - (h - s), y = s - p, h = Gr * J, v = h - (h - J), m = J - v, P = y * m - (A - p * v - y * v - p * m), I = u * F, h = Gr * u, p = h - (h - u), y = u - p, h = Gr * F, v = h - (h - F), m = F - v, k = y * m - (I - p * v - y * v - p * m), w = P - k, d = P - w, ai[0] = P - (w + d) + (d - k), x = A + w, d = x - A, E = A - (x - d) + (w - d), w = E - I, d = E - w, ai[1] = E - (w + d) + (d - I), N = x + w, d = N - x, ai[2] = x - (N - d) + (w - d), ai[3] = N;
|
|
29204
29204
|
const q = Fw(4, Jc, 4, ai, K4);
|
|
29205
|
-
A =
|
|
29205
|
+
A = z * c, h = Gr * z, p = h - (h - z), y = z - p, h = Gr * c, v = h - (h - c), m = c - v, P = y * m - (A - p * v - y * v - p * m), I = j * l, h = Gr * j, p = h - (h - j), y = j - p, h = Gr * l, v = h - (h - l), m = l - v, k = y * m - (I - p * v - y * v - p * m), w = P - k, d = P - w, ai[0] = P - (w + d) + (d - k), x = A + w, d = x - A, E = A - (x - d) + (w - d), w = E - I, d = E - w, ai[1] = E - (w + d) + (d - I), N = x + w, d = N - x, ai[2] = x - (N - d) + (w - d), ai[3] = N;
|
|
29206
29206
|
const X = Fw(q, K4, 4, ai, Y4);
|
|
29207
29207
|
A = s * c, h = Gr * s, p = h - (h - s), y = s - p, h = Gr * c, v = h - (h - c), m = c - v, P = y * m - (A - p * v - y * v - p * m), I = u * l, h = Gr * u, p = h - (h - u), y = u - p, h = Gr * l, v = h - (h - l), m = l - v, k = y * m - (I - p * v - y * v - p * m), w = P - k, d = P - w, ai[0] = P - (w + d) + (d - k), x = A + w, d = x - A, E = A - (x - d) + (w - d), w = E - I, d = E - w, ai[1] = E - (w + d) + (d - I), N = x + w, d = N - x, ai[2] = x - (N - d) + (w - d), ai[3] = N;
|
|
29208
29208
|
const Q = Fw(X, Y4, 4, ai, X4);
|
|
@@ -29232,56 +29232,56 @@ class u0 {
|
|
|
29232
29232
|
update() {
|
|
29233
29233
|
const { coords: t, _hullPrev: n, _hullNext: r, _hullTri: i, _hullHash: o } = this, a = t.length >> 1;
|
|
29234
29234
|
let s = 1 / 0, u = 1 / 0, l = -1 / 0, c = -1 / 0;
|
|
29235
|
-
for (let
|
|
29236
|
-
const
|
|
29237
|
-
|
|
29235
|
+
for (let z = 0; z < a; z++) {
|
|
29236
|
+
const F = t[2 * z], j = t[2 * z + 1];
|
|
29237
|
+
F < s && (s = F), j < u && (u = j), F > l && (l = F), j > c && (c = j), this._ids[z] = z;
|
|
29238
29238
|
}
|
|
29239
29239
|
const d = (s + l) / 2, h = (u + c) / 2;
|
|
29240
29240
|
let p, y, v;
|
|
29241
|
-
for (let
|
|
29242
|
-
const j = Ww(d, h, t[2 *
|
|
29243
|
-
j <
|
|
29241
|
+
for (let z = 0, F = 1 / 0; z < a; z++) {
|
|
29242
|
+
const j = Ww(d, h, t[2 * z], t[2 * z + 1]);
|
|
29243
|
+
j < F && (p = z, F = j);
|
|
29244
29244
|
}
|
|
29245
29245
|
const m = t[2 * p], w = t[2 * p + 1];
|
|
29246
|
-
for (let
|
|
29247
|
-
if (
|
|
29248
|
-
const j = Ww(m, w, t[2 *
|
|
29249
|
-
j <
|
|
29246
|
+
for (let z = 0, F = 1 / 0; z < a; z++) {
|
|
29247
|
+
if (z === p) continue;
|
|
29248
|
+
const j = Ww(m, w, t[2 * z], t[2 * z + 1]);
|
|
29249
|
+
j < F && j > 0 && (y = z, F = j);
|
|
29250
29250
|
}
|
|
29251
29251
|
let x = t[2 * y], E = t[2 * y + 1], A = 1 / 0;
|
|
29252
|
-
for (let
|
|
29253
|
-
if (
|
|
29254
|
-
const
|
|
29255
|
-
|
|
29252
|
+
for (let z = 0; z < a; z++) {
|
|
29253
|
+
if (z === p || z === y) continue;
|
|
29254
|
+
const F = F1e(m, w, x, E, t[2 * z], t[2 * z + 1]);
|
|
29255
|
+
F < A && (v = z, A = F);
|
|
29256
29256
|
}
|
|
29257
29257
|
let P = t[2 * v], I = t[2 * v + 1];
|
|
29258
29258
|
if (A === 1 / 0) {
|
|
29259
29259
|
for (let j = 0; j < a; j++)
|
|
29260
29260
|
this._dists[j] = t[2 * j] - t[0] || t[2 * j + 1] - t[1];
|
|
29261
29261
|
cl(this._ids, this._dists, 0, a - 1);
|
|
29262
|
-
const
|
|
29263
|
-
let
|
|
29262
|
+
const z = new Uint32Array(a);
|
|
29263
|
+
let F = 0;
|
|
29264
29264
|
for (let j = 0, J = -1 / 0; j < a; j++) {
|
|
29265
29265
|
const W = this._ids[j], L = this._dists[W];
|
|
29266
|
-
L > J && (F
|
|
29266
|
+
L > J && (z[F++] = W, J = L);
|
|
29267
29267
|
}
|
|
29268
|
-
this.hull =
|
|
29268
|
+
this.hull = z.subarray(0, F), this.triangles = new Uint32Array(0), this.halfedges = new Uint32Array(0);
|
|
29269
29269
|
return;
|
|
29270
29270
|
}
|
|
29271
29271
|
if (xg(m, w, x, E, P, I) < 0) {
|
|
29272
|
-
const
|
|
29273
|
-
y = v, x = P, E = I, v =
|
|
29272
|
+
const z = y, F = x, j = E;
|
|
29273
|
+
y = v, x = P, E = I, v = z, P = F, I = j;
|
|
29274
29274
|
}
|
|
29275
29275
|
const k = W1e(m, w, x, E, P, I);
|
|
29276
29276
|
this._cx = k.x, this._cy = k.y;
|
|
29277
|
-
for (let
|
|
29278
|
-
this._dists[
|
|
29277
|
+
for (let z = 0; z < a; z++)
|
|
29278
|
+
this._dists[z] = Ww(t[2 * z], t[2 * z + 1], k.x, k.y);
|
|
29279
29279
|
cl(this._ids, this._dists, 0, a - 1), this._hullStart = p;
|
|
29280
29280
|
let N = 3;
|
|
29281
29281
|
r[p] = n[v] = y, r[y] = n[p] = v, r[v] = n[y] = p, i[p] = 0, i[y] = 1, i[v] = 2, o.fill(-1), o[this._hashKey(m, w)] = p, o[this._hashKey(x, E)] = y, o[this._hashKey(P, I)] = v, this.trianglesLen = 0, this._addTriangle(p, y, v, -1, -1, -1);
|
|
29282
|
-
for (let
|
|
29283
|
-
const J = this._ids[
|
|
29284
|
-
if (
|
|
29282
|
+
for (let z = 0, F, j; z < this._ids.length; z++) {
|
|
29283
|
+
const J = this._ids[z], W = t[2 * J], L = t[2 * J + 1];
|
|
29284
|
+
if (z > 0 && Math.abs(W - F) <= Z4 && Math.abs(L - j) <= Z4 || (F = W, j = L, J === p || J === y || J === v)) continue;
|
|
29285
29285
|
let q = 0;
|
|
29286
29286
|
for (let V = 0, Z = this._hashKey(W, L); V < this._hashSize && (q = o[(Z + V) % this._hashSize], !(q !== -1 && q !== r[q])); V++)
|
|
29287
29287
|
;
|
|
@@ -29304,8 +29304,8 @@ class u0 {
|
|
|
29304
29304
|
this._hullStart = n[J] = X, r[X] = n[se] = J, r[J] = se, o[this._hashKey(W, L)] = J, o[this._hashKey(t[2 * X], t[2 * X + 1])] = X;
|
|
29305
29305
|
}
|
|
29306
29306
|
this.hull = new Uint32Array(N);
|
|
29307
|
-
for (let
|
|
29308
|
-
this.hull[
|
|
29307
|
+
for (let z = 0, F = this._hullStart; z < N; z++)
|
|
29308
|
+
this.hull[z] = F, F = r[F];
|
|
29309
29309
|
this.triangles = this._triangles.subarray(0, this.trianglesLen), this.halfedges = this._halfedges.subarray(0, this.trianglesLen);
|
|
29310
29310
|
}
|
|
29311
29311
|
_hashKey(t, n) {
|
|
@@ -29477,7 +29477,7 @@ class JL {
|
|
|
29477
29477
|
let o, a;
|
|
29478
29478
|
const s = this.circumcenters = this._circumcenters.subarray(0, r.length / 3 * 2);
|
|
29479
29479
|
for (let v = 0, m = 0, w = r.length, x, E; v < w; v += 3, m += 2) {
|
|
29480
|
-
const A = r[v] * 2, P = r[v + 1] * 2, I = r[v + 2] * 2, k = t[A], N = t[A + 1],
|
|
29480
|
+
const A = r[v] * 2, P = r[v + 1] * 2, I = r[v + 2] * 2, k = t[A], N = t[A + 1], z = t[P], F = t[P + 1], j = t[I], J = t[I + 1], W = z - k, L = F - N, q = j - k, X = J - N, Q = (W * X - L * q) * 2;
|
|
29481
29481
|
if (Math.abs(Q) < 1e-9) {
|
|
29482
29482
|
if (o === void 0) {
|
|
29483
29483
|
o = a = 0;
|
|
@@ -30251,15 +30251,15 @@ function Kbe(e) {
|
|
|
30251
30251
|
for (d = Ty(t, Gbe, qbe).visitAfter(s), l = 0; l < c; ++l)
|
|
30252
30252
|
h = t[l], v = n[h.index], m = v * v, p = h.x + h.vx, y = h.y + h.vy, d.visit(x);
|
|
30253
30253
|
function x(E, A, P, I, k) {
|
|
30254
|
-
var N = E.data,
|
|
30254
|
+
var N = E.data, z = E.r, F = v + z;
|
|
30255
30255
|
if (N) {
|
|
30256
30256
|
if (N.index > h.index) {
|
|
30257
30257
|
var j = p - N.x - N.vx, J = y - N.y - N.vy, W = j * j + J * J;
|
|
30258
|
-
W <
|
|
30258
|
+
W < F * F && (j === 0 && (j = Hs(r), W += j * j), J === 0 && (J = Hs(r), W += J * J), W = (F - (W = Math.sqrt(W))) / W * i, h.vx += (j *= W) * (F = (z *= z) / (m + z)), h.vy += (J *= W) * F, N.vx -= j * (F = 1 - F), N.vy -= J * F);
|
|
30259
30259
|
}
|
|
30260
30260
|
return;
|
|
30261
30261
|
}
|
|
30262
|
-
return A > p +
|
|
30262
|
+
return A > p + F || I < p - F || P > y + F || k < y - F;
|
|
30263
30263
|
}
|
|
30264
30264
|
}
|
|
30265
30265
|
function s(l) {
|
|
@@ -30299,8 +30299,8 @@ function Xbe(e) {
|
|
|
30299
30299
|
}
|
|
30300
30300
|
function h(m) {
|
|
30301
30301
|
for (var w = 0, x = e.length; w < c; ++w)
|
|
30302
|
-
for (var E = 0, A, P, I, k, N,
|
|
30303
|
-
A = e[E], P = A.source, I = A.target, k = I.x + I.vx - P.x - P.vx || Hs(l), N = I.y + I.vy - P.y - P.vy || Hs(l),
|
|
30302
|
+
for (var E = 0, A, P, I, k, N, z, F; E < x; ++E)
|
|
30303
|
+
A = e[E], P = A.source, I = A.target, k = I.x + I.vx - P.x - P.vx || Hs(l), N = I.y + I.vy - P.y - P.vy || Hs(l), z = Math.sqrt(k * k + N * N), z = (z - o[E]) / z * m * r[E], k *= z, N *= z, I.vx -= k * (F = u[E]), I.vy -= N * F, P.vx += k * (F = 1 - F), P.vy += N * F;
|
|
30304
30304
|
}
|
|
30305
30305
|
function p() {
|
|
30306
30306
|
if (a) {
|
|
@@ -30949,8 +30949,8 @@ function wj(e, t) {
|
|
|
30949
30949
|
for (var l = 0, c = e.length; l < c; ++l)
|
|
30950
30950
|
if (h = (d = e[l]).length)
|
|
30951
30951
|
for (var d, h, p = d[h - 1], y = Kw(p), v = p[1] / 2 + c0, m = gt(v), w = At(v), x = 0; x < h; ++x, y = A, m = I, w = k, p = E) {
|
|
30952
|
-
var E = d[x], A = Kw(E), P = E[1] / 2 + c0, I = gt(P), k = At(P), N = A - y,
|
|
30953
|
-
if (u.add(vi(J *
|
|
30952
|
+
var E = d[x], A = Kw(E), P = E[1] / 2 + c0, I = gt(P), k = At(P), N = A - y, z = N >= 0 ? 1 : -1, F = z * N, j = F > an, J = m * I;
|
|
30953
|
+
if (u.add(vi(J * z * gt(F), w * k + J * At(F))), a += j ? N + z * gi : N, j ^ y >= n ^ A >= n) {
|
|
30954
30954
|
var W = Fl(lc(p), lc(E));
|
|
30955
30955
|
g0(W);
|
|
30956
30956
|
var L = Fl(o, W);
|
|
@@ -30999,11 +30999,11 @@ function _j(e, t, n, r) {
|
|
|
30999
30999
|
}
|
|
31000
31000
|
function E() {
|
|
31001
31001
|
w(d[0][0], d[0][1]), s.lineEnd();
|
|
31002
|
-
var A = s.clean(), P = a.result(), I, k = P.length, N,
|
|
31002
|
+
var A = s.clean(), P = a.result(), I, k = P.length, N, z, F;
|
|
31003
31003
|
if (d.pop(), l.push(d), d = null, !!k) {
|
|
31004
31004
|
if (A & 1) {
|
|
31005
|
-
if (
|
|
31006
|
-
for (u || (i.polygonStart(), u = !0), i.lineStart(), I = 0; I < N; ++I) i.point((
|
|
31005
|
+
if (z = P[0], (N = z.length - 1) > 0) {
|
|
31006
|
+
for (u || (i.polygonStart(), u = !0), i.lineStart(), I = 0; I < N; ++I) i.point((F = z[I])[0], F[1]);
|
|
31007
31007
|
i.lineEnd();
|
|
31008
31008
|
}
|
|
31009
31009
|
return;
|
|
@@ -31099,15 +31099,15 @@ function xj(e) {
|
|
|
31099
31099
|
if (!E) return !h && c;
|
|
31100
31100
|
var A = t * w / E, P = -t * x / E, I = Fl(v, m), k = Og(v, A), N = Og(m, P);
|
|
31101
31101
|
qw(k, N);
|
|
31102
|
-
var
|
|
31102
|
+
var z = I, F = Ag(k, z), j = Ag(z, z), J = F * F - j * (Ag(k, k) - 1);
|
|
31103
31103
|
if (!(J < 0)) {
|
|
31104
|
-
var W = Ir(J), L = Og(
|
|
31104
|
+
var W = Ir(J), L = Og(z, (-F - W) / j);
|
|
31105
31105
|
if (qw(L, k), L = p0(L), !h) return L;
|
|
31106
31106
|
var q = c[0], X = d[0], Q = c[1], fe = d[1], se;
|
|
31107
31107
|
X < q && (se = q, q = X, X = se);
|
|
31108
31108
|
var V = X - q, Z = fn(V - an) < Mt, ae = Z || V < Mt;
|
|
31109
31109
|
if (!Z && fe < Q && (se = Q, Q = fe, fe = se), ae ? Z ? Q + fe > 0 ^ L[1] < (fn(L[0] - q) < Mt ? Q : fe) : Q <= L[1] && L[1] <= fe : V > an ^ (q <= L[0] && L[0] <= X)) {
|
|
31110
|
-
var pe = Og(
|
|
31110
|
+
var pe = Og(z, (-F + W) / j);
|
|
31111
31111
|
return qw(pe, k), [L, p0(pe)];
|
|
31112
31112
|
}
|
|
31113
31113
|
}
|
|
@@ -31187,23 +31187,23 @@ function Cy(e, t, n, r) {
|
|
|
31187
31187
|
point: N,
|
|
31188
31188
|
lineStart: J,
|
|
31189
31189
|
lineEnd: W,
|
|
31190
|
-
polygonStart:
|
|
31190
|
+
polygonStart: F,
|
|
31191
31191
|
polygonEnd: j
|
|
31192
31192
|
};
|
|
31193
31193
|
function N(q, X) {
|
|
31194
31194
|
i(q, X) && c.point(q, X);
|
|
31195
31195
|
}
|
|
31196
|
-
function
|
|
31196
|
+
function z() {
|
|
31197
31197
|
for (var q = 0, X = 0, Q = p.length; X < Q; ++X)
|
|
31198
31198
|
for (var fe = p[X], se = 1, V = fe.length, Z = fe[0], ae, pe, Ae = Z[0], Ee = Z[1]; se < V; ++se)
|
|
31199
31199
|
ae = Ae, pe = Ee, Z = fe[se], Ae = Z[0], Ee = Z[1], pe <= r ? Ee > r && (Ae - ae) * (r - pe) > (Ee - pe) * (e - ae) && ++q : Ee <= r && (Ae - ae) * (r - pe) < (Ee - pe) * (e - ae) && --q;
|
|
31200
31200
|
return q;
|
|
31201
31201
|
}
|
|
31202
|
-
function
|
|
31202
|
+
function F() {
|
|
31203
31203
|
c = d, h = [], p = [], I = !0;
|
|
31204
31204
|
}
|
|
31205
31205
|
function j() {
|
|
31206
|
-
var q =
|
|
31206
|
+
var q = z(), X = I && q, Q = (h = zE(h)).length;
|
|
31207
31207
|
(X || Q) && (l.polygonStart(), X && (l.lineStart(), o(null, null, 1, l), l.lineEnd()), Q && bj(h, s, q, o, l), l.polygonEnd()), c = l, h = p = y = null;
|
|
31208
31208
|
}
|
|
31209
31209
|
function J() {
|
|
@@ -31724,8 +31724,8 @@ function t2e(e, t) {
|
|
|
31724
31724
|
function n(r, i, o, a, s, u, l, c, d, h, p, y, v, m) {
|
|
31725
31725
|
var w = l - r, x = c - i, E = w * w + x * x;
|
|
31726
31726
|
if (E > 4 * t && v--) {
|
|
31727
|
-
var A = a + h, P = s + p, I = u + y, k = Ir(A * A + P * P + I * I), N = mi(I /= k),
|
|
31728
|
-
(q * q / E > t || fn((w * W + x * L) / E - 0.5) > 0.3 || a * h + s * p + u * y < Qwe) && (n(r, i, o, a, s, u, j, J,
|
|
31727
|
+
var A = a + h, P = s + p, I = u + y, k = Ir(A * A + P * P + I * I), N = mi(I /= k), z = fn(fn(I) - 1) < Mt || fn(o - d) < Mt ? (o + d) / 2 : vi(P, A), F = e(z, N), j = F[0], J = F[1], W = j - r, L = J - i, q = x * W - w * L;
|
|
31728
|
+
(q * q / E > t || fn((w * W + x * L) / E - 0.5) > 0.3 || a * h + s * p + u * y < Qwe) && (n(r, i, o, a, s, u, j, J, z, A /= k, P /= k, I, v, m), m.point(j, J), n(j, J, z, A, P, I, l, c, d, h, p, y, v, m));
|
|
31729
31729
|
}
|
|
31730
31730
|
}
|
|
31731
31731
|
return function(r) {
|
|
@@ -31740,15 +31740,15 @@ function t2e(e, t) {
|
|
|
31740
31740
|
r.polygonEnd(), m.lineStart = x;
|
|
31741
31741
|
}
|
|
31742
31742
|
};
|
|
31743
|
-
function w(N,
|
|
31744
|
-
N = e(N,
|
|
31743
|
+
function w(N, z) {
|
|
31744
|
+
N = e(N, z), r.point(N[0], N[1]);
|
|
31745
31745
|
}
|
|
31746
31746
|
function x() {
|
|
31747
31747
|
d = NaN, m.point = E, r.lineStart();
|
|
31748
31748
|
}
|
|
31749
|
-
function E(N,
|
|
31750
|
-
var
|
|
31751
|
-
n(d, h, c, p, y, v, d = j[0], h = j[1], c = N, p =
|
|
31749
|
+
function E(N, z) {
|
|
31750
|
+
var F = lc([N, z]), j = e(N, z);
|
|
31751
|
+
n(d, h, c, p, y, v, d = j[0], h = j[1], c = N, p = F[0], y = F[1], v = F[2], IC, r), r.point(d, h);
|
|
31752
31752
|
}
|
|
31753
31753
|
function A() {
|
|
31754
31754
|
m.point = w, r.lineEnd();
|
|
@@ -31756,8 +31756,8 @@ function t2e(e, t) {
|
|
|
31756
31756
|
function P() {
|
|
31757
31757
|
x(), m.point = I, m.lineEnd = k;
|
|
31758
31758
|
}
|
|
31759
|
-
function I(N,
|
|
31760
|
-
E(i = N,
|
|
31759
|
+
function I(N, z) {
|
|
31760
|
+
E(i = N, z), o = d, a = h, s = p, u = y, l = v, m.point = E;
|
|
31761
31761
|
}
|
|
31762
31762
|
function k() {
|
|
31763
31763
|
n(d, h, c, p, y, v, o, a, i, s, u, l, IC, r), m.lineEnd = A, A();
|
|
@@ -31802,7 +31802,7 @@ function Ma(e) {
|
|
|
31802
31802
|
})();
|
|
31803
31803
|
}
|
|
31804
31804
|
function G3(e) {
|
|
31805
|
-
var t, n = 150, r = 480, i = 250, o = 0, a = 0, s = 0, u = 0, l = 0, c, d = 0, h = 1, p = 1, y = null, v = dx, m = null, w, x, E, A = ch, P = 0.5, I, k, N,
|
|
31805
|
+
var t, n = 150, r = 480, i = 250, o = 0, a = 0, s = 0, u = 0, l = 0, c, d = 0, h = 1, p = 1, y = null, v = dx, m = null, w, x, E, A = ch, P = 0.5, I, k, N, z, F;
|
|
31806
31806
|
function j(q) {
|
|
31807
31807
|
return N(q[0] * kt, q[1] * kt);
|
|
31808
31808
|
}
|
|
@@ -31810,7 +31810,7 @@ function G3(e) {
|
|
|
31810
31810
|
return q = N.invert(q[0], q[1]), q && [q[0] * Ln, q[1] * Ln];
|
|
31811
31811
|
}
|
|
31812
31812
|
j.stream = function(q) {
|
|
31813
|
-
return
|
|
31813
|
+
return z && F === q ? z : z = n2e(r2e(c)(v(I(A(F = q)))));
|
|
31814
31814
|
}, j.preclip = function(q) {
|
|
31815
31815
|
return arguments.length ? (v = q, y = void 0, L()) : v;
|
|
31816
31816
|
}, j.postclip = function(q) {
|
|
@@ -31849,7 +31849,7 @@ function G3(e) {
|
|
|
31849
31849
|
return c = F3(s, u, l), k = lx(t, X), N = lx(c, k), I = kC(k, P), L();
|
|
31850
31850
|
}
|
|
31851
31851
|
function L() {
|
|
31852
|
-
return
|
|
31852
|
+
return z = F = null, j;
|
|
31853
31853
|
}
|
|
31854
31854
|
return function() {
|
|
31855
31855
|
return t = e.apply(this, arguments), j.invert = t.invert && J, W();
|
|
@@ -32452,10 +32452,10 @@ function wd(e, t) {
|
|
|
32452
32452
|
};
|
|
32453
32453
|
}
|
|
32454
32454
|
function qj(e, t, n) {
|
|
32455
|
-
var r = e.x, i = e.y, o = e.r, a = t.x, s = t.y, u = t.r, l = n.x, c = n.y, d = n.r, h = r - a, p = r - l, y = i - s, v = i - c, m = u - o, w = d - o, x = r * r + i * i - o * o, E = x - a * a - s * s + u * u, A = x - l * l - c * c + d * d, P = p * y - h * v, I = (y * A - v * E) / (P * 2) - r, k = (v * m - y * w) / P, N = (p * E - h * A) / (P * 2) - i,
|
|
32455
|
+
var r = e.x, i = e.y, o = e.r, a = t.x, s = t.y, u = t.r, l = n.x, c = n.y, d = n.r, h = r - a, p = r - l, y = i - s, v = i - c, m = u - o, w = d - o, x = r * r + i * i - o * o, E = x - a * a - s * s + u * u, A = x - l * l - c * c + d * d, P = p * y - h * v, I = (y * A - v * E) / (P * 2) - r, k = (v * m - y * w) / P, N = (p * E - h * A) / (P * 2) - i, z = (h * w - p * m) / P, F = k * k + z * z - 1, j = 2 * (o + I * k + N * z), J = I * I + N * N - o * o, W = -(Math.abs(F) > 1e-6 ? (j + Math.sqrt(j * j - 4 * F * J)) / (2 * F) : J / j);
|
|
32456
32456
|
return {
|
|
32457
32457
|
x: r + I + k * W,
|
|
32458
|
-
y: i + N +
|
|
32458
|
+
y: i + N + z * W,
|
|
32459
32459
|
r: W
|
|
32460
32460
|
};
|
|
32461
32461
|
}
|
|
@@ -32799,13 +32799,13 @@ function b_e(e, t, n, r, i) {
|
|
|
32799
32799
|
l[k] < A ? P = k + 1 : I = k;
|
|
32800
32800
|
}
|
|
32801
32801
|
A - l[P - 1] < l[P] - A && d + 1 < P && --P;
|
|
32802
|
-
var N = l[P] - E,
|
|
32802
|
+
var N = l[P] - E, z = p - N;
|
|
32803
32803
|
if (m - y > w - v) {
|
|
32804
|
-
var
|
|
32805
|
-
c(d, P, N, y, v,
|
|
32804
|
+
var F = p ? (y * z + m * N) / p : m;
|
|
32805
|
+
c(d, P, N, y, v, F, w), c(P, h, z, F, v, m, w);
|
|
32806
32806
|
} else {
|
|
32807
|
-
var j = p ? (v *
|
|
32808
|
-
c(d, P, N, y, v, m, j), c(P, h,
|
|
32807
|
+
var j = p ? (v * z + w * N) / p : w;
|
|
32808
|
+
c(d, P, N, y, v, m, j), c(P, h, z, y, j, m, w);
|
|
32809
32809
|
}
|
|
32810
32810
|
}
|
|
32811
32811
|
}
|
|
@@ -33451,7 +33451,7 @@ function Hxe(e, t, n) {
|
|
|
33451
33451
|
function Gxe() {
|
|
33452
33452
|
var e = Fxe, t = Wxe, n = Hxe, r = Uxe, i = Vxe, o = [0, 1 / 0], a = [[-1 / 0, -1 / 0], [1 / 0, 1 / 0]], s = 250, u = lR, l = Ac("start", "zoom", "end"), c, d, h, p = 500, y = 150, v = 0, m = 10;
|
|
33453
33453
|
function w(L) {
|
|
33454
|
-
L.property("__zoom", VC).on("wheel.zoom", N, { passive: !1 }).on("mousedown.zoom",
|
|
33454
|
+
L.property("__zoom", VC).on("wheel.zoom", N, { passive: !1 }).on("mousedown.zoom", z).on("dblclick.zoom", F).filter(i).on("touchstart.zoom", j).on("touchmove.zoom", J).on("touchend.zoom touchcancel.zoom", W).style("-webkit-tap-highlight-color", "rgba(0,0,0,0)");
|
|
33455
33455
|
}
|
|
33456
33456
|
w.transform = function(L, q, X, Q) {
|
|
33457
33457
|
var fe = L.selection ? L.selection() : L;
|
|
@@ -33559,7 +33559,7 @@ function Gxe() {
|
|
|
33559
33559
|
X.wheel = null, X.end();
|
|
33560
33560
|
}
|
|
33561
33561
|
}
|
|
33562
|
-
function
|
|
33562
|
+
function z(L, ...q) {
|
|
33563
33563
|
if (h || !e.apply(this, arguments)) return;
|
|
33564
33564
|
var X = L.currentTarget, Q = I(this, q, !0).event(L), fe = Xr(L.view).on("mousemove.zoom", ae, !0).on("mouseup.zoom", pe, !0), se = Xi(L, X), V = L.clientX, Z = L.clientY;
|
|
33565
33565
|
_y(L.view), n2(L), Q.mouse = [se, this.__zoom.invert(se)], Uu(this), Q.start();
|
|
@@ -33574,7 +33574,7 @@ function Gxe() {
|
|
|
33574
33574
|
fe.on("mousemove.zoom mouseup.zoom", null), xy(Ae.view, Q.moved), Xf(Ae), Q.event(Ae).end();
|
|
33575
33575
|
}
|
|
33576
33576
|
}
|
|
33577
|
-
function
|
|
33577
|
+
function F(L, ...q) {
|
|
33578
33578
|
if (e.apply(this, arguments)) {
|
|
33579
33579
|
var X = this.__zoom, Q = Xi(L.changedTouches ? L.changedTouches[0] : L, this), fe = X.invert(Q), se = X.k * (L.shiftKey ? 0.5 : 2), V = n(E(x(X, se), Q, fe), t.apply(this, q), a);
|
|
33580
33580
|
Xf(L), s > 0 ? Xr(this).transition().duration(s).call(P, V, Q, L) : Xr(this).call(w.transform, V, Q, L);
|
|
@@ -34480,13 +34480,13 @@ var Xxe = _d.exports, QC;
|
|
|
34480
34480
|
function Zxe() {
|
|
34481
34481
|
return QC || (QC = 1, function(e, t) {
|
|
34482
34482
|
(function() {
|
|
34483
|
-
var n, r = "4.17.21", i = 200, o = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", a = "Expected a function", s = "Invalid `variable` option passed into `_.template`", u = "__lodash_hash_undefined__", l = 500, c = "__lodash_placeholder__", d = 1, h = 2, p = 4, y = 1, v = 2, m = 1, w = 2, x = 4, E = 8, A = 16, P = 32, I = 64, k = 128, N = 256,
|
|
34483
|
+
var n, r = "4.17.21", i = 200, o = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", a = "Expected a function", s = "Invalid `variable` option passed into `_.template`", u = "__lodash_hash_undefined__", l = 500, c = "__lodash_placeholder__", d = 1, h = 2, p = 4, y = 1, v = 2, m = 1, w = 2, x = 4, E = 8, A = 16, P = 32, I = 64, k = 128, N = 256, z = 512, F = 30, j = "...", J = 800, W = 16, L = 1, q = 2, X = 3, Q = 1 / 0, fe = 9007199254740991, se = 17976931348623157e292, V = NaN, Z = 4294967295, ae = Z - 1, pe = Z >>> 1, Ae = [
|
|
34484
34484
|
["ary", k],
|
|
34485
34485
|
["bind", m],
|
|
34486
34486
|
["bindKey", w],
|
|
34487
34487
|
["curry", E],
|
|
34488
34488
|
["curryRight", A],
|
|
34489
|
-
["flip",
|
|
34489
|
+
["flip", z],
|
|
34490
34490
|
["partial", P],
|
|
34491
34491
|
["partialRight", I],
|
|
34492
34492
|
["rearg", N]
|
|
@@ -36132,7 +36132,7 @@ function Zxe() {
|
|
|
36132
36132
|
});
|
|
36133
36133
|
}
|
|
36134
36134
|
function Rp(f, g, S, D, H, ne, ce, ve, _e, Ge) {
|
|
36135
|
-
var qe = g & k, Ze = g & m, lt = g & w, St = g & (E | A), Dt = g &
|
|
36135
|
+
var qe = g & k, Ze = g & m, lt = g & w, St = g & (E | A), Dt = g & z, en = lt ? n : Rf(f);
|
|
36136
36136
|
function Nt() {
|
|
36137
36137
|
for (var un = arguments.length, hn = De(un), Fi = un; Fi--; )
|
|
36138
36138
|
hn[Fi] = arguments[Fi];
|
|
@@ -37241,7 +37241,7 @@ function Zxe() {
|
|
|
37241
37241
|
return h9(f, mo(g) || 0, S);
|
|
37242
37242
|
});
|
|
37243
37243
|
function bV(f) {
|
|
37244
|
-
return Na(f,
|
|
37244
|
+
return Na(f, z);
|
|
37245
37245
|
}
|
|
37246
37246
|
function Up(f, g) {
|
|
37247
37247
|
if (typeof f != "function" || g != null && typeof g != "function")
|
|
@@ -37840,7 +37840,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
37840
37840
|
return Ms(D, H).join("");
|
|
37841
37841
|
}
|
|
37842
37842
|
function sG(f, g) {
|
|
37843
|
-
var S =
|
|
37843
|
+
var S = F, D = j;
|
|
37844
37844
|
if (Yn(g)) {
|
|
37845
37845
|
var H = "separator" in g ? g.separator : H;
|
|
37846
37846
|
S = "length" in g ? Qt(g.length) : S, D = "omission" in g ? Bi(g.omission) : D;
|
|
@@ -38310,16 +38310,16 @@ function Vl() {
|
|
|
38310
38310
|
});
|
|
38311
38311
|
};
|
|
38312
38312
|
e.applyColors = N;
|
|
38313
|
-
var
|
|
38313
|
+
var z = function(V, Z) {
|
|
38314
38314
|
return Z.arcData.current.find(function(ae) {
|
|
38315
38315
|
return V <= ae.limit;
|
|
38316
38316
|
});
|
|
38317
38317
|
};
|
|
38318
|
-
e.getArcDataByValue =
|
|
38319
|
-
var
|
|
38318
|
+
e.getArcDataByValue = z;
|
|
38319
|
+
var F = function(V, Z) {
|
|
38320
38320
|
return (0, e.getArcDataByValue)(o.getCurrentGaugeValueByPercentage(V, Z), Z);
|
|
38321
38321
|
};
|
|
38322
|
-
e.getArcDataByPercentage =
|
|
38322
|
+
e.getArcDataByPercentage = F;
|
|
38323
38323
|
var j = function(V, Z) {
|
|
38324
38324
|
Z.arcData.current.forEach(function(ae) {
|
|
38325
38325
|
var pe, Ae, Ee, R, $ = o.normalize(ae?.limit, (Ae = (pe = Z?.props) === null || pe === void 0 ? void 0 : pe.minValue) !== null && Ae !== void 0 ? Ae : 0, (R = (Ee = Z?.props) === null || Ee === void 0 ? void 0 : Ee.maxValue) !== null && R !== void 0 ? R : 100);
|
|
@@ -38571,11 +38571,11 @@ function Jxe() {
|
|
|
38571
38571
|
return W.g.current.selectAll(".".concat(s.default.valueLabelClassname)).remove();
|
|
38572
38572
|
};
|
|
38573
38573
|
e.clearValueLabel = N;
|
|
38574
|
-
var
|
|
38574
|
+
var z = function(W) {
|
|
38575
38575
|
W.g.current.selectAll(".".concat(s.default.tickLineClassname)).remove(), W.g.current.selectAll(".".concat(s.default.tickValueClassname)).remove();
|
|
38576
38576
|
};
|
|
38577
|
-
e.clearTicks =
|
|
38578
|
-
var
|
|
38577
|
+
e.clearTicks = z;
|
|
38578
|
+
var F = function(W, L) {
|
|
38579
38579
|
var q, X, Q = L.props.labels, fe = L.props.minValue, se = L.props.maxValue, V = a.calculatePercentage(fe, se, W), Z = (q = {}, q[c.GaugeType.Grafana] = {
|
|
38580
38580
|
startAngle: -20,
|
|
38581
38581
|
endAngle: 220
|
|
@@ -38588,7 +38588,7 @@ function Jxe() {
|
|
|
38588
38588
|
}, q), ae = Z[L.props.type], pe = ae.startAngle, Ae = ae.endAngle, Ee = pe + V * 100 * Ae / 100, R = V < 0.5, $ = V > s.default.rangeBetweenCenteredTickValueLabel[0] && V < s.default.rangeBetweenCenteredTickValueLabel[1], b = "", _ = ((X = Q?.tickLabels) === null || X === void 0 ? void 0 : X.type) == "inner";
|
|
38589
38589
|
return $ ? b = "middle" : R ? b = _ ? "start" : "end" : b = _ ? "end" : "start", { tickAnchor: b, angle: Ee };
|
|
38590
38590
|
};
|
|
38591
|
-
e.calculateAnchorAndAngleByValue =
|
|
38591
|
+
e.calculateAnchorAndAngleByValue = F;
|
|
38592
38592
|
var j = function(W, L) {
|
|
38593
38593
|
var q, X, Q, fe, se = L.props.labels, V = (q = u.defaultTickLabels.defaultTickLineConfig) === null || q === void 0 ? void 0 : q.hide, Z = V, ae = (Q = (X = se?.tickLabels) === null || X === void 0 ? void 0 : X.defaultTickLineConfig) === null || Q === void 0 ? void 0 : Q.hide;
|
|
38594
38594
|
ae != null && (Z = ae);
|
|
@@ -38607,10 +38607,10 @@ function Qxe() {
|
|
|
38607
38607
|
return n7 || (n7 = 1, function(e) {
|
|
38608
38608
|
var t = Ga && Ga.__createBinding || (Object.create ? function(P, I, k, N) {
|
|
38609
38609
|
N === void 0 && (N = k);
|
|
38610
|
-
var
|
|
38611
|
-
(!
|
|
38610
|
+
var z = Object.getOwnPropertyDescriptor(I, k);
|
|
38611
|
+
(!z || ("get" in z ? !I.__esModule : z.writable || z.configurable)) && (z = { enumerable: !0, get: function() {
|
|
38612
38612
|
return I[k];
|
|
38613
|
-
} }), Object.defineProperty(P, N,
|
|
38613
|
+
} }), Object.defineProperty(P, N, z);
|
|
38614
38614
|
} : function(P, I, k, N) {
|
|
38615
38615
|
N === void 0 && (N = k), P[N] = I[k];
|
|
38616
38616
|
}), n = Ga && Ga.__setModuleDefault || (Object.create ? function(P, I) {
|
|
@@ -38627,27 +38627,27 @@ function Qxe() {
|
|
|
38627
38627
|
var i = Dy, o = aA(), a = Vl(), s = r(Ny()), u = r(Vl()), l = pf(), c = function(P, I) {
|
|
38628
38628
|
var k;
|
|
38629
38629
|
I === void 0 && (I = !1), P.pointer.current.context = d(P);
|
|
38630
|
-
var N = P.pointer.current.context,
|
|
38630
|
+
var N = P.pointer.current.context, z = N.prevPercent, F = N.currentPercent, j = N.prevProgress, J = P.props.pointer, W = ((k = P.prevProps) === null || k === void 0 ? void 0 : k.current.value) == null;
|
|
38631
38631
|
(W || I) && P.props.type != l.GaugeType.Grafana && h(P);
|
|
38632
38632
|
var L = (!I || W) && J.animate;
|
|
38633
38633
|
L ? P.doughnut.current.transition().delay(J.animationDelay).ease(J.elastic ? i.easeElastic : i.easeExpOut).duration(J.animationDuration).tween("progress", function() {
|
|
38634
|
-
var q = (0, i.interpolateNumber)(
|
|
38634
|
+
var q = (0, i.interpolateNumber)(z, F);
|
|
38635
38635
|
return function(X) {
|
|
38636
38636
|
var Q = q(X);
|
|
38637
38637
|
v(Q, j) && (P.props.type == l.GaugeType.Grafana ? (u.clearArcs(P), u.drawArc(P, Q)) : p(Q, P)), P.pointer.current.context.prevProgress = Q;
|
|
38638
38638
|
};
|
|
38639
|
-
}) : p(
|
|
38639
|
+
}) : p(F, P);
|
|
38640
38640
|
};
|
|
38641
38641
|
e.drawPointer = c;
|
|
38642
38642
|
var d = function(P) {
|
|
38643
|
-
var I, k = P.props.value, N = P.props.pointer,
|
|
38643
|
+
var I, k = P.props.value, N = P.props.pointer, z = N.length, F = P.props.minValue, j = P.props.maxValue;
|
|
38644
38644
|
P.pointer.current.context.pointerPath;
|
|
38645
|
-
var J = w(P), W = N.type == o.PointerType.Needle ?
|
|
38645
|
+
var J = w(P), W = N.type == o.PointerType.Needle ? z : 0.2, L = [o.PointerType.Needle, o.PointerType.Arrow], q = {
|
|
38646
38646
|
centerPoint: [0, -J / 2],
|
|
38647
38647
|
pointerRadius: w(P),
|
|
38648
38648
|
pathLength: P.dimensions.current.outerRadius * W,
|
|
38649
|
-
currentPercent: s.calculatePercentage(
|
|
38650
|
-
prevPercent: s.calculatePercentage(
|
|
38649
|
+
currentPercent: s.calculatePercentage(F, j, k),
|
|
38650
|
+
prevPercent: s.calculatePercentage(F, j, ((I = P.prevProps) === null || I === void 0 ? void 0 : I.current.value) || F),
|
|
38651
38651
|
prevProgress: 0,
|
|
38652
38652
|
pathStr: "",
|
|
38653
38653
|
shouldDrawPath: L.includes(N.type),
|
|
@@ -38655,20 +38655,20 @@ function Qxe() {
|
|
|
38655
38655
|
};
|
|
38656
38656
|
return q;
|
|
38657
38657
|
}, h = function(P) {
|
|
38658
|
-
var I = P.props.value, k = P.props.pointer, N = P.pointer.current.context,
|
|
38658
|
+
var I = P.props.value, k = P.props.pointer, N = P.pointer.current.context, z = N.shouldDrawPath, F = N.centerPoint, j = N.pointerRadius;
|
|
38659
38659
|
N.pathStr;
|
|
38660
38660
|
var J = N.currentPercent, W = N.prevPercent;
|
|
38661
|
-
|
|
38661
|
+
z && (P.pointer.current.context.pathStr = m(P, W || J), P.pointer.current.path = P.pointer.current.element.append("path").attr("d", P.pointer.current.context.pathStr).attr("fill", k.color)), k.type == o.PointerType.Needle ? P.pointer.current.element.append("circle").attr("cx", F[0]).attr("cy", F[1]).attr("r", j).attr("fill", k.color) : k.type == o.PointerType.Blob && P.pointer.current.element.append("circle").attr("cx", F[0]).attr("cy", F[1]).attr("r", j).attr("fill", k.baseColor).attr("stroke", k.color).attr("stroke-width", k.strokeWidth * j / 10), y(j, I, P);
|
|
38662
38662
|
}, p = function(P, I) {
|
|
38663
|
-
var k, N = I.props.pointer,
|
|
38664
|
-
if (y(
|
|
38663
|
+
var k, N = I.props.pointer, z = I.pointer.current.context, F = z.pointerRadius, j = z.shouldDrawPath, J = z.prevColor;
|
|
38664
|
+
if (y(F, P, I), j && I.props.type != l.GaugeType.Grafana && I.pointer.current.path.attr("d", m(I, P)), N.type == o.PointerType.Blob) {
|
|
38665
38665
|
var W = (k = u.getArcDataByPercentage(P, I)) === null || k === void 0 ? void 0 : k.color, L = W != J;
|
|
38666
38666
|
L && I.pointer.current.element.select("circle").attr("stroke", W);
|
|
38667
|
-
var q = N.strokeWidth *
|
|
38667
|
+
var q = N.strokeWidth * F / 10;
|
|
38668
38668
|
I.pointer.current.element.select("circle").attr("stroke-width", q), I.pointer.current.context.prevColor = W;
|
|
38669
38669
|
}
|
|
38670
38670
|
}, y = function(P, I, k) {
|
|
38671
|
-
var N,
|
|
38671
|
+
var N, z = k.props.pointer, F = z.type, j = k.dimensions, J = s.getCurrentGaugeValueByPercentage(I, k), W = (N = {}, N[o.PointerType.Needle] = function() {
|
|
38672
38672
|
(0, e.translatePointer)(j.current.outerRadius, j.current.outerRadius, k);
|
|
38673
38673
|
}, N[o.PointerType.Arrow] = function() {
|
|
38674
38674
|
var L = (0, a.getCoordByValue)(J, k, "inner", 0, 0.7), q = L.x, X = L.y;
|
|
@@ -38677,20 +38677,20 @@ function Qxe() {
|
|
|
38677
38677
|
var L = (0, a.getCoordByValue)(J, k, "between", 0, 0.75), q = L.x, X = L.y;
|
|
38678
38678
|
q -= 1, X += P, (0, e.translatePointer)(q, X, k);
|
|
38679
38679
|
}, N);
|
|
38680
|
-
return W[
|
|
38680
|
+
return W[F]();
|
|
38681
38681
|
}, v = function(P, I, k) {
|
|
38682
|
-
var N = P > 1 || P < 0,
|
|
38683
|
-
return !
|
|
38682
|
+
var N = P > 1 || P < 0, z = Math.abs(P - I) < 1e-4, F = P == I;
|
|
38683
|
+
return !z && !F && !N;
|
|
38684
38684
|
}, m = function(P, I) {
|
|
38685
|
-
var k = P.pointer.current.context, N = k.centerPoint,
|
|
38686
|
-
N[0] -
|
|
38687
|
-
N[1] -
|
|
38685
|
+
var k = P.pointer.current.context, N = k.centerPoint, z = k.pointerRadius, F = k.pathLength, j = s.degToRad(P.props.type == l.GaugeType.Semicircle ? 0 : -42), J = s.degToRad(P.props.type == l.GaugeType.Semicircle ? 180 : 223), W = j + I * (J - j), L = [
|
|
38686
|
+
N[0] - F * Math.cos(W),
|
|
38687
|
+
N[1] - F * Math.sin(W)
|
|
38688
38688
|
], q = W - Math.PI / 2, X = [
|
|
38689
|
-
N[0] -
|
|
38690
|
-
N[1] -
|
|
38689
|
+
N[0] - z * Math.cos(q),
|
|
38690
|
+
N[1] - z * Math.sin(q)
|
|
38691
38691
|
], Q = W + Math.PI / 2, fe = [
|
|
38692
|
-
N[0] -
|
|
38693
|
-
N[1] -
|
|
38692
|
+
N[0] - z * Math.cos(Q),
|
|
38693
|
+
N[1] - z * Math.sin(Q)
|
|
38694
38694
|
], se = "M ".concat(X[0], " ").concat(X[1], " L ").concat(L[0], " ").concat(L[1], " L ").concat(fe[0], " ").concat(fe[1]);
|
|
38695
38695
|
return se;
|
|
38696
38696
|
}, w = function(P) {
|
|
@@ -38753,19 +38753,19 @@ function eEe() {
|
|
|
38753
38753
|
var c = function(v, m) {
|
|
38754
38754
|
var w, x, E, A, P, I;
|
|
38755
38755
|
m === void 0 && (m = !1);
|
|
38756
|
-
var k = v.dimensions, N = v.props.arc,
|
|
38756
|
+
var k = v.dimensions, N = v.props.arc, z = v.props.labels;
|
|
38757
38757
|
if (m) {
|
|
38758
38758
|
(0, e.updateDimensions)(v), v.g.current.attr("transform", "translate(" + k.current.margin.left + ", 35)"), (0, e.calculateRadius)(v), v.doughnut.current.attr("transform", "translate(" + k.current.outerRadius + ", " + k.current.outerRadius + ")"), v.doughnut.current.on("mouseleave", function() {
|
|
38759
38759
|
return o.hideTooltip(v);
|
|
38760
38760
|
}).on("mouseout", function() {
|
|
38761
38761
|
return o.hideTooltip(v);
|
|
38762
38762
|
});
|
|
38763
|
-
var
|
|
38764
|
-
k.current.innerRadius = k.current.outerRadius * (1 -
|
|
38763
|
+
var F = N.width;
|
|
38764
|
+
k.current.innerRadius = k.current.outerRadius * (1 - F), (0, e.clearChart)(v), o.setArcData(v), o.setupArcs(v, m), a.setupLabels(v), !((E = (x = v.props) === null || x === void 0 ? void 0 : x.pointer) === null || E === void 0) && E.hide || s.drawPointer(v, m);
|
|
38765
38765
|
var j = (w = {}, w[i.GaugeType.Semicircle] = 50, w[i.GaugeType.Radial] = 55, w[i.GaugeType.Grafana] = 55, w), J = v.doughnut.current.node().getBoundingClientRect().height, W = v.container.current.node().getBoundingClientRect().width, L = v.props.type;
|
|
38766
38766
|
v.svg.current.attr("width", W).attr("height", J + j[L]);
|
|
38767
38767
|
} else {
|
|
38768
|
-
var q = JSON.stringify(v.prevProps.current.arc) !== JSON.stringify(v.props.arc), X = JSON.stringify(v.prevProps.current.pointer) !== JSON.stringify(v.props.pointer), Q = JSON.stringify(v.prevProps.current.value) !== JSON.stringify(v.props.value), fe = JSON.stringify((A = v.prevProps.current.labels) === null || A === void 0 ? void 0 : A.tickLabels) !== JSON.stringify(
|
|
38768
|
+
var q = JSON.stringify(v.prevProps.current.arc) !== JSON.stringify(v.props.arc), X = JSON.stringify(v.prevProps.current.pointer) !== JSON.stringify(v.props.pointer), Q = JSON.stringify(v.prevProps.current.value) !== JSON.stringify(v.props.value), fe = JSON.stringify((A = v.prevProps.current.labels) === null || A === void 0 ? void 0 : A.tickLabels) !== JSON.stringify(z.tickLabels), se = q;
|
|
38769
38769
|
se && (o.clearArcs(v), o.setArcData(v), o.setupArcs(v, m));
|
|
38770
38770
|
var V = X || Q && !(!((I = (P = v.props) === null || P === void 0 ? void 0 : P.pointer) === null || I === void 0) && I.hide);
|
|
38771
38771
|
V && s.drawPointer(v), (q || fe) && (a.clearTicks(v), a.setupTicks(v)), Q && (a.clearValueLabel(v), a.setupValueLabel(v));
|
|
@@ -38775,8 +38775,8 @@ function eEe() {
|
|
|
38775
38775
|
var d = function(v) {
|
|
38776
38776
|
var m = v.props.marginInPercent, w = v.dimensions, x = v.container.current.node().getBoundingClientRect(), E = x.width, A = x.height;
|
|
38777
38777
|
w.current.fixedHeight == 0 && (w.current.fixedHeight = A + 200);
|
|
38778
|
-
var P = typeof m == "number", I = P ? m : m.left, k = P ? m : m.right, N = P ? m : m.top,
|
|
38779
|
-
w.current.margin.left = E * I, w.current.margin.right = E * k, w.current.width = E - w.current.margin.left - w.current.margin.right, w.current.margin.top = w.current.fixedHeight * N, w.current.margin.bottom = w.current.fixedHeight *
|
|
38778
|
+
var P = typeof m == "number", I = P ? m : m.left, k = P ? m : m.right, N = P ? m : m.top, z = P ? m : m.bottom;
|
|
38779
|
+
w.current.margin.left = E * I, w.current.margin.right = E * k, w.current.width = E - w.current.margin.left - w.current.margin.right, w.current.margin.top = w.current.fixedHeight * N, w.current.margin.bottom = w.current.fixedHeight * z, w.current.height = w.current.width / 2 - w.current.margin.top - w.current.margin.bottom;
|
|
38780
38780
|
};
|
|
38781
38781
|
e.updateDimensions = d;
|
|
38782
38782
|
var h = function(v) {
|
|
@@ -38851,13 +38851,13 @@ function nEe() {
|
|
|
38851
38851
|
};
|
|
38852
38852
|
Object.defineProperty(Ei, "__esModule", { value: !0 }), Ei.GaugeComponent = void 0;
|
|
38853
38853
|
var i = r(Zn), o = Dy, a = pf(), s = r(eEe()), u = r(Vl()), l = Ny(), c = tEe(), d = aA(), h = I$(), p = function(y) {
|
|
38854
|
-
var v = (0, i.useRef)({}), m = (0, i.useRef)({}), w = (0, i.useRef)({}), x = (0, i.useRef)({}), E = (0, i.useRef)(!0), A = (0, i.useRef)(0), P = (0, i.useRef)(e({}, d.defaultPointerRef)), I = (0, i.useRef)({}), k = (0, i.useRef)([]), N = (0, i.useRef)((0, o.pie)()),
|
|
38855
|
-
props:
|
|
38854
|
+
var v = (0, i.useRef)({}), m = (0, i.useRef)({}), w = (0, i.useRef)({}), x = (0, i.useRef)({}), E = (0, i.useRef)(!0), A = (0, i.useRef)(0), P = (0, i.useRef)(e({}, d.defaultPointerRef)), I = (0, i.useRef)({}), k = (0, i.useRef)([]), N = (0, i.useRef)((0, o.pie)()), z = (0, i.useRef)(e({}, c.defaultDimensions)), F = (0, i.useRef)(y), j = (0, i.useRef)({}), J = (0, i.useRef)({}), W = (0, i.useRef)(null), L = {
|
|
38855
|
+
props: F.current,
|
|
38856
38856
|
resizeObserver: J,
|
|
38857
38857
|
prevProps: j,
|
|
38858
38858
|
svg: v,
|
|
38859
38859
|
g: w,
|
|
38860
|
-
dimensions:
|
|
38860
|
+
dimensions: z,
|
|
38861
38861
|
doughnut: x,
|
|
38862
38862
|
isFirstRun: E,
|
|
38863
38863
|
currentProgress: A,
|
|
@@ -38868,17 +38868,17 @@ function nEe() {
|
|
|
38868
38868
|
tooltip: m
|
|
38869
38869
|
}, q = function() {
|
|
38870
38870
|
var V, Z, ae = e({}, a.defaultGaugeProps);
|
|
38871
|
-
if (L.props =
|
|
38872
|
-
var pe =
|
|
38871
|
+
if (L.props = F.current = (0, l.mergeObjects)(ae, y), ((V = L.props.arc) === null || V === void 0 ? void 0 : V.width) == ((Z = a.defaultGaugeProps.arc) === null || Z === void 0 ? void 0 : Z.width)) {
|
|
38872
|
+
var pe = F.current.arc;
|
|
38873
38873
|
pe.width = (0, h.getArcWidthByType)(L.props.type);
|
|
38874
38874
|
}
|
|
38875
|
-
L.props.marginInPercent == a.defaultGaugeProps.marginInPercent && (
|
|
38875
|
+
L.props.marginInPercent == a.defaultGaugeProps.marginInPercent && (F.current.marginInPercent = (0, a.getGaugeMarginByType)(L.props.type)), u.validateArcs(L);
|
|
38876
38876
|
}, X = function() {
|
|
38877
|
-
var V = JSON.stringify(j.current.arc) !== JSON.stringify(
|
|
38877
|
+
var V = JSON.stringify(j.current.arc) !== JSON.stringify(F.current.arc), Z = JSON.stringify(j.current.pointer) !== JSON.stringify(F.current.pointer), ae = JSON.stringify(j.current.value) !== JSON.stringify(F.current.value), pe = JSON.stringify(j.current.minValue) !== JSON.stringify(F.current.minValue), Ae = JSON.stringify(j.current.maxValue) !== JSON.stringify(F.current.maxValue);
|
|
38878
38878
|
return V || Z || ae || pe || Ae;
|
|
38879
38879
|
};
|
|
38880
38880
|
(0, i.useLayoutEffect)(function() {
|
|
38881
|
-
q(), E.current = (0, l.isEmptyObject)(I.current), E.current && (I.current = (0, o.select)(W.current)), X() && s.initChart(L, E.current), L.prevProps.current =
|
|
38881
|
+
q(), E.current = (0, l.isEmptyObject)(I.current), E.current && (I.current = (0, o.select)(W.current)), X() && s.initChart(L, E.current), L.prevProps.current = F.current;
|
|
38882
38882
|
}, [y]), (0, i.useEffect)(function() {
|
|
38883
38883
|
var V = function() {
|
|
38884
38884
|
return s.renderChart(L, !0);
|
|
@@ -39416,7 +39416,7 @@ function z4e({
|
|
|
39416
39416
|
onClickScatter: A = () => {
|
|
39417
39417
|
}
|
|
39418
39418
|
}) {
|
|
39419
|
-
const P = nm(), { i18n: I, t: k } = Yt(), N = P.palette.primary.main ?? "#00796b",
|
|
39419
|
+
const P = nm(), { i18n: I, t: k } = Yt(), N = P.palette.primary.main ?? "#00796b", z = d?.map((j, J) => x3(N, J * 10)), F = Lt(() => {
|
|
39420
39420
|
const j = /* @__PURE__ */ new Date();
|
|
39421
39421
|
return j.setMinutes(0, 0, 0), Array.from({ length: w[1] - w[0] + 1 }, (J, W) => {
|
|
39422
39422
|
const L = new Date(j);
|
|
@@ -39453,8 +39453,8 @@ function z4e({
|
|
|
39453
39453
|
{
|
|
39454
39454
|
dataKey: "time",
|
|
39455
39455
|
type: "number",
|
|
39456
|
-
ticks:
|
|
39457
|
-
domain: [
|
|
39456
|
+
ticks: F,
|
|
39457
|
+
domain: [F[0], F[F.length - 1]],
|
|
39458
39458
|
tickFormatter: (j) => new Date(j).toLocaleTimeString(I.language, E),
|
|
39459
39459
|
hide: o,
|
|
39460
39460
|
includeHidden: !0,
|
|
@@ -39481,12 +39481,12 @@ function z4e({
|
|
|
39481
39481
|
fill: `url(#colorPv${J})`,
|
|
39482
39482
|
type: x,
|
|
39483
39483
|
dataKey: j,
|
|
39484
|
-
stroke: p ? p[J] :
|
|
39484
|
+
stroke: p ? p[J] : z[J],
|
|
39485
39485
|
connectNulls: v,
|
|
39486
39486
|
dot: i,
|
|
39487
39487
|
activeDot: {
|
|
39488
39488
|
r: 8,
|
|
39489
|
-
stroke: p ? p[J] :
|
|
39489
|
+
stroke: p ? p[J] : z[J],
|
|
39490
39490
|
strokeWidth: 2
|
|
39491
39491
|
},
|
|
39492
39492
|
strokeWidth: 3,
|
|
@@ -39503,13 +39503,13 @@ function z4e({
|
|
|
39503
39503
|
{
|
|
39504
39504
|
type: x,
|
|
39505
39505
|
dataKey: j,
|
|
39506
|
-
stroke: p ? p[J] :
|
|
39506
|
+
stroke: p ? p[J] : z[J],
|
|
39507
39507
|
fill: y ? y[J] : N,
|
|
39508
39508
|
connectNulls: v,
|
|
39509
39509
|
dot: i,
|
|
39510
39510
|
activeDot: {
|
|
39511
39511
|
r: 8,
|
|
39512
|
-
stroke: p ? p[J] :
|
|
39512
|
+
stroke: p ? p[J] : z[J],
|
|
39513
39513
|
strokeWidth: 2
|
|
39514
39514
|
},
|
|
39515
39515
|
strokeWidth: 3,
|
|
@@ -40662,8 +40662,8 @@ class G$ {
|
|
|
40662
40662
|
} = U$(v), k = qEe(v), N = {
|
|
40663
40663
|
x: Math.min(m === xn.Right ? k.right - k.width / 2 : k.right, Math.max(m === xn.Right ? k.left : k.left + k.width / 2, d.x)),
|
|
40664
40664
|
y: Math.min(m === xn.Down ? k.bottom - k.height / 2 : k.bottom, Math.max(m === xn.Down ? k.top : k.top + k.height / 2, d.y))
|
|
40665
|
-
},
|
|
40666
|
-
if (
|
|
40665
|
+
}, z = m === xn.Right && !x || m === xn.Left && !E, F = m === xn.Down && !A || m === xn.Up && !w;
|
|
40666
|
+
if (z && N.x !== d.x) {
|
|
40667
40667
|
const j = v.scrollLeft + h.x, J = m === xn.Right && j <= P.x || m === xn.Left && j >= I.x;
|
|
40668
40668
|
if (J && !h.y) {
|
|
40669
40669
|
v.scrollTo({
|
|
@@ -40677,7 +40677,7 @@ class G$ {
|
|
|
40677
40677
|
behavior: s
|
|
40678
40678
|
});
|
|
40679
40679
|
break;
|
|
40680
|
-
} else if (
|
|
40680
|
+
} else if (F && N.y !== d.y) {
|
|
40681
40681
|
const j = v.scrollTop + h.y, J = m === xn.Down && j <= P.y || m === xn.Up && j >= I.y;
|
|
40682
40682
|
if (J && !h.x) {
|
|
40683
40683
|
v.scrollTo({
|
|
@@ -41026,13 +41026,13 @@ function oSe(e) {
|
|
|
41026
41026
|
if (!N)
|
|
41027
41027
|
continue;
|
|
41028
41028
|
const {
|
|
41029
|
-
direction:
|
|
41030
|
-
speed:
|
|
41029
|
+
direction: z,
|
|
41030
|
+
speed: F
|
|
41031
41031
|
} = GEe(I, N, x, t, h);
|
|
41032
41032
|
for (const j of ["x", "y"])
|
|
41033
|
-
p[j][
|
|
41034
|
-
if (
|
|
41035
|
-
v(), E.current = I, y(A, a), m.current =
|
|
41033
|
+
p[j][z[j]] || (F[j] = 0, z[j] = 0);
|
|
41034
|
+
if (F.x > 0 || F.y > 0) {
|
|
41035
|
+
v(), E.current = I, y(A, a), m.current = F, w.current = z;
|
|
41036
41036
|
return;
|
|
41037
41037
|
}
|
|
41038
41038
|
}
|
|
@@ -41741,10 +41741,10 @@ const kSe = /* @__PURE__ */ D8(function(t) {
|
|
|
41741
41741
|
draggable: {
|
|
41742
41742
|
active: k,
|
|
41743
41743
|
nodes: N,
|
|
41744
|
-
translate:
|
|
41744
|
+
translate: z
|
|
41745
41745
|
},
|
|
41746
41746
|
droppable: {
|
|
41747
|
-
containers:
|
|
41747
|
+
containers: F
|
|
41748
41748
|
}
|
|
41749
41749
|
} = m, j = k != null ? N.get(k) : null, J = st({
|
|
41750
41750
|
initial: null,
|
|
@@ -41757,13 +41757,13 @@ const kSe = /* @__PURE__ */ D8(function(t) {
|
|
|
41757
41757
|
data: (Te = j?.data) != null ? Te : ESe,
|
|
41758
41758
|
rect: J
|
|
41759
41759
|
} : null;
|
|
41760
|
-
}, [k, j]), L = st(null), [q, X] = Ye(null), [Q, fe] = Ye(null), se = hh(y, Object.values(y)), V = ap("DndDescribedBy", a), Z = Lt(() =>
|
|
41760
|
+
}, [k, j]), L = st(null), [q, X] = Ye(null), [Q, fe] = Ye(null), se = hh(y, Object.values(y)), V = ap("DndDescribedBy", a), Z = Lt(() => F.getEnabled(), [F]), ae = MSe(h), {
|
|
41761
41761
|
droppableRects: pe,
|
|
41762
41762
|
measureDroppableContainers: Ae,
|
|
41763
41763
|
measuringScheduled: Ee
|
|
41764
41764
|
} = lSe(Z, {
|
|
41765
41765
|
dragging: I,
|
|
41766
|
-
dependencies: [
|
|
41766
|
+
dependencies: [z.x, z.y],
|
|
41767
41767
|
config: ae.droppable
|
|
41768
41768
|
}), R = uSe(N, k), $ = Lt(() => Q ? Px(Q) : null, [Q]), b = xe(), _ = fSe(R, ae.draggable.measure);
|
|
41769
41769
|
ISe({
|
|
@@ -41782,16 +41782,16 @@ const kSe = /* @__PURE__ */ D8(function(t) {
|
|
|
41782
41782
|
draggableNodes: N,
|
|
41783
41783
|
draggingNode: null,
|
|
41784
41784
|
draggingNodeRect: null,
|
|
41785
|
-
droppableContainers:
|
|
41785
|
+
droppableContainers: F,
|
|
41786
41786
|
over: null,
|
|
41787
41787
|
scrollableAncestors: [],
|
|
41788
41788
|
scrollAdjustedTranslate: null
|
|
41789
|
-
}), B =
|
|
41789
|
+
}), B = F.getNodeFor((n = C.current.over) == null ? void 0 : n.id), U = _Se({
|
|
41790
41790
|
measure: ae.dragOverlay.measure
|
|
41791
41791
|
}), G = (r = U.nodeRef.current) != null ? r : R, K = I ? (i = U.rect) != null ? i : T : null, ee = !!(U.nodeRef.current && U.rect), ie = pSe(ee ? null : T), oe = K$(G ? Ni(G) : null), re = gSe(I ? B ?? R : null), le = bSe(re), ue = CSe(p, {
|
|
41792
41792
|
transform: {
|
|
41793
|
-
x:
|
|
41794
|
-
y:
|
|
41793
|
+
x: z.x - ie.x,
|
|
41794
|
+
y: z.y - ie.y,
|
|
41795
41795
|
scaleX: 1,
|
|
41796
41796
|
scaleY: 1
|
|
41797
41797
|
},
|
|
@@ -41805,7 +41805,7 @@ const kSe = /* @__PURE__ */ D8(function(t) {
|
|
|
41805
41805
|
scrollableAncestors: re,
|
|
41806
41806
|
scrollableAncestorRects: le,
|
|
41807
41807
|
windowRect: oe
|
|
41808
|
-
}), ye = $ ? bl($,
|
|
41808
|
+
}), ye = $ ? bl($, z) : null, me = vSe(re), Se = m7(me), Ne = m7(me, [T]), Pe = bl(ue, Se), Ve = K ? $Ee(K, ue) : null, Be = W && Ve ? d({
|
|
41809
41809
|
active: W,
|
|
41810
41810
|
collisionRect: Ve,
|
|
41811
41811
|
droppableRects: pe,
|
|
@@ -42033,7 +42033,7 @@ const kSe = /* @__PURE__ */ D8(function(t) {
|
|
|
42033
42033
|
draggableNodes: N,
|
|
42034
42034
|
draggingNode: G,
|
|
42035
42035
|
draggingNodeRect: K,
|
|
42036
|
-
droppableContainers:
|
|
42036
|
+
droppableContainers: F,
|
|
42037
42037
|
over: Xe,
|
|
42038
42038
|
scrollableAncestors: re,
|
|
42039
42039
|
scrollAdjustedTranslate: Pe
|
|
@@ -42041,9 +42041,9 @@ const kSe = /* @__PURE__ */ D8(function(t) {
|
|
|
42041
42041
|
initial: K,
|
|
42042
42042
|
translated: Ve
|
|
42043
42043
|
};
|
|
42044
|
-
}, [W, R, Be, Ve, N, G, K, pe,
|
|
42044
|
+
}, [W, R, Be, Ve, N, G, K, pe, F, Xe, re, Pe]), oSe({
|
|
42045
42045
|
...b,
|
|
42046
|
-
delta:
|
|
42046
|
+
delta: z,
|
|
42047
42047
|
draggingRect: Ve,
|
|
42048
42048
|
pointerCoordinates: ye,
|
|
42049
42049
|
scrollableAncestors: re,
|
|
@@ -42058,7 +42058,7 @@ const kSe = /* @__PURE__ */ D8(function(t) {
|
|
|
42058
42058
|
containerNodeRect: M,
|
|
42059
42059
|
dragOverlay: U,
|
|
42060
42060
|
draggableNodes: N,
|
|
42061
|
-
droppableContainers:
|
|
42061
|
+
droppableContainers: F,
|
|
42062
42062
|
droppableRects: pe,
|
|
42063
42063
|
over: Xe,
|
|
42064
42064
|
measureDroppableContainers: Ae,
|
|
@@ -42067,7 +42067,7 @@ const kSe = /* @__PURE__ */ D8(function(t) {
|
|
|
42067
42067
|
measuringConfiguration: ae,
|
|
42068
42068
|
measuringScheduled: Ee,
|
|
42069
42069
|
windowRect: oe
|
|
42070
|
-
}), [W, R, T, Q, Be, M, U, N,
|
|
42070
|
+
}), [W, R, T, Q, Be, M, U, N, F, pe, Xe, Ae, re, le, ae, Ee, oe]), he = Lt(() => ({
|
|
42071
42071
|
activatorEvent: Q,
|
|
42072
42072
|
activators: ge,
|
|
42073
42073
|
active: W,
|
|
@@ -42132,8 +42132,8 @@ function Z$(e) {
|
|
|
42132
42132
|
activatorNode: A,
|
|
42133
42133
|
data: k
|
|
42134
42134
|
}), () => {
|
|
42135
|
-
const
|
|
42136
|
-
|
|
42135
|
+
const z = d.get(t);
|
|
42136
|
+
z && z.key === o && d.delete(t);
|
|
42137
42137
|
}),
|
|
42138
42138
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
42139
42139
|
[d, t]
|
|
@@ -42202,8 +42202,8 @@ function $Se(e) {
|
|
|
42202
42202
|
), E = jy({
|
|
42203
42203
|
callback: x,
|
|
42204
42204
|
disabled: y || !a
|
|
42205
|
-
}), A = wt((N,
|
|
42206
|
-
E && (
|
|
42205
|
+
}), A = wt((N, z) => {
|
|
42206
|
+
E && (z && (E.unobserve(z), d.current = !1), N && E.observe(N));
|
|
42207
42207
|
}, [E]), [P, I] = D0(A), k = hh(t);
|
|
42208
42208
|
return Ke(() => {
|
|
42209
42209
|
!E || !P.current || (E.disconnect(), d.current = !1, E.observe(P.current));
|
|
@@ -42599,8 +42599,8 @@ var lr = function() {
|
|
|
42599
42599
|
this.props.snap && this.props.snap.x && (A = E7(A, this.props.snap.x, this.props.snapGap)), this.props.snap && this.props.snap.y && (E = E7(E, this.props.snap.y, this.props.snapGap));
|
|
42600
42600
|
var I = this.calculateNewSizeFromAspectRatio(A, E, { width: P.maxWidth, height: P.maxHeight }, { width: s, height: u });
|
|
42601
42601
|
if (A = I.newWidth, E = I.newHeight, this.props.grid) {
|
|
42602
|
-
var k = x7(A, this.props.grid[0], this.props.gridGap ? this.props.gridGap[0] : 0), N = x7(E, this.props.grid[1], this.props.gridGap ? this.props.gridGap[1] : 0),
|
|
42603
|
-
A =
|
|
42602
|
+
var k = x7(A, this.props.grid[0], this.props.gridGap ? this.props.gridGap[0] : 0), N = x7(E, this.props.grid[1], this.props.gridGap ? this.props.gridGap[1] : 0), z = this.props.snapGap || 0, F = z === 0 || Math.abs(k - A) <= z ? k : A, j = z === 0 || Math.abs(N - E) <= z ? N : E;
|
|
42603
|
+
A = F, E = j;
|
|
42604
42604
|
}
|
|
42605
42605
|
var J = {
|
|
42606
42606
|
width: A - p.width,
|
|
@@ -42760,20 +42760,20 @@ function W4e({
|
|
|
42760
42760
|
},
|
|
42761
42761
|
onResize: (E, A, P) => {
|
|
42762
42762
|
const I = P.offsetWidth, k = P.offsetHeight;
|
|
42763
|
-
let N = w.current.x,
|
|
42764
|
-
A.includes("left") && (N = w.current.x + (w.current.width - I)), A.includes("top") && (
|
|
42763
|
+
let N = w.current.x, z = w.current.y;
|
|
42764
|
+
A.includes("left") && (N = w.current.x + (w.current.width - I)), A.includes("top") && (z = w.current.y + (w.current.height - k)), m({ x: N, y: z });
|
|
42765
42765
|
},
|
|
42766
42766
|
onResizeStop: (E, A, P) => {
|
|
42767
42767
|
const I = P.offsetWidth, k = P.offsetHeight;
|
|
42768
|
-
let N = w.current.x,
|
|
42769
|
-
A.includes("left") && (N = w.current.x + (w.current.width - I)), A.includes("top") && (
|
|
42770
|
-
const
|
|
42768
|
+
let N = w.current.x, z = w.current.y;
|
|
42769
|
+
A.includes("left") && (N = w.current.x + (w.current.width - I)), A.includes("top") && (z = w.current.y + (w.current.height - k));
|
|
42770
|
+
const F = N !== w.current.x || z !== w.current.y;
|
|
42771
42771
|
c(
|
|
42772
42772
|
k,
|
|
42773
42773
|
I,
|
|
42774
42774
|
i,
|
|
42775
42775
|
void 0,
|
|
42776
|
-
|
|
42776
|
+
F ? { x: N, y: z } : void 0
|
|
42777
42777
|
);
|
|
42778
42778
|
},
|
|
42779
42779
|
children: /* @__PURE__ */ O("div", { ref: h, ...d, style: { width: "100%", height: "100%" }, children: u })
|
|
@@ -42973,9 +42973,9 @@ function B0({
|
|
|
42973
42973
|
}) {
|
|
42974
42974
|
const { t: h } = Yt(), [p, y] = Ye(
|
|
42975
42975
|
d ? KSe(s) || [] : s || null
|
|
42976
|
-
), [v, m] = Ye(""), [w, x] = Ye(a || []), [E, A] = Ye(!1), [P, I] = X8(v, 600), k = st(!0), N = (
|
|
42976
|
+
), [v, m] = Ye(""), [w, x] = Ye(a || []), [E, A] = Ye(!1), [P, I] = X8(v, 600), k = st(!0), N = (F, j) => {
|
|
42977
42977
|
m(j), I(j);
|
|
42978
|
-
},
|
|
42978
|
+
}, z = (F, j) => {
|
|
42979
42979
|
y(j), u && u(j);
|
|
42980
42980
|
};
|
|
42981
42981
|
return Ke(() => {
|
|
@@ -42983,14 +42983,14 @@ function B0({
|
|
|
42983
42983
|
}, [a]), Ke(() => {
|
|
42984
42984
|
k.current && (k.current = !1);
|
|
42985
42985
|
}, []), Ke(() => {
|
|
42986
|
-
!k.current && r && P !== null && P !== void 0 && !l && c && (A(!0), r({ ...c, search: P }).then((
|
|
42987
|
-
|
|
42986
|
+
!k.current && r && P !== null && P !== void 0 && !l && c && (A(!0), r({ ...c, search: P }).then((F) => {
|
|
42987
|
+
F.json().then((j) => {
|
|
42988
42988
|
x(j || []);
|
|
42989
42989
|
});
|
|
42990
42990
|
}).finally(() => A(!1)));
|
|
42991
42991
|
}, [r, P, c, l]), Ke(() => {
|
|
42992
42992
|
!r && w.length > 0 && P !== null && P !== void 0 && x(
|
|
42993
|
-
(
|
|
42993
|
+
(F) => F.filter(({ displayValue: j }) => j.startsWith(P))
|
|
42994
42994
|
);
|
|
42995
42995
|
}, [r, P, w.length]), /* @__PURE__ */ Me(Jr, { children: [
|
|
42996
42996
|
/* @__PURE__ */ O(
|
|
@@ -43001,22 +43001,22 @@ function B0({
|
|
|
43001
43001
|
disableCloseOnSelect: d,
|
|
43002
43002
|
loading: E,
|
|
43003
43003
|
value: p,
|
|
43004
|
-
onChange:
|
|
43005
|
-
isOptionEqualToValue: (
|
|
43004
|
+
onChange: z,
|
|
43005
|
+
isOptionEqualToValue: (F, j) => F?.value === j?.value,
|
|
43006
43006
|
inputValue: v,
|
|
43007
43007
|
onInputChange: N,
|
|
43008
43008
|
disabled: l,
|
|
43009
43009
|
options: w,
|
|
43010
43010
|
fullWidth: o === "100%",
|
|
43011
43011
|
sx: { width: o !== "100%" ? o : null },
|
|
43012
|
-
getOptionLabel: (
|
|
43013
|
-
renderInput: (
|
|
43012
|
+
getOptionLabel: (F) => F?.displayValue,
|
|
43013
|
+
renderInput: (F) => /* @__PURE__ */ O(
|
|
43014
43014
|
vc,
|
|
43015
43015
|
{
|
|
43016
43016
|
label: n ? h(n) : void 0,
|
|
43017
43017
|
variant: "outlined",
|
|
43018
43018
|
placeholder: i ? h(i) : void 0,
|
|
43019
|
-
...
|
|
43019
|
+
...F
|
|
43020
43020
|
}
|
|
43021
43021
|
)
|
|
43022
43022
|
}
|
|
@@ -43026,7 +43026,7 @@ function B0({
|
|
|
43026
43026
|
{
|
|
43027
43027
|
type: "hidden",
|
|
43028
43028
|
name: t,
|
|
43029
|
-
value: d ? p?.map(({ value:
|
|
43029
|
+
value: d ? p?.map(({ value: F }) => F)?.toString() : p?.value
|
|
43030
43030
|
}
|
|
43031
43031
|
)
|
|
43032
43032
|
] });
|
|
@@ -43493,8 +43493,8 @@ function f3e(e) {
|
|
|
43493
43493
|
}), [d, i, A, c]), I = Lt(() => c.slice(c.indexOf(a)), [c, a]), {
|
|
43494
43494
|
rect: k,
|
|
43495
43495
|
node: N,
|
|
43496
|
-
isOver:
|
|
43497
|
-
setNodeRef:
|
|
43496
|
+
isOver: z,
|
|
43497
|
+
setNodeRef: F
|
|
43498
43498
|
} = $Se({
|
|
43499
43499
|
id: a,
|
|
43500
43500
|
data: P,
|
|
@@ -43522,7 +43522,7 @@ function f3e(e) {
|
|
|
43522
43522
|
...n
|
|
43523
43523
|
},
|
|
43524
43524
|
disabled: E.draggable
|
|
43525
|
-
}), Z = hEe(
|
|
43525
|
+
}), Z = hEe(F, q), ae = !!j, pe = ae && !y && zg(h) && zg(m), Ae = !w && Q, Ee = Ae && pe ? V : null, $ = pe ? Ee ?? (s ?? x)({
|
|
43526
43526
|
rects: v,
|
|
43527
43527
|
activeNodeRect: W,
|
|
43528
43528
|
activeIndex: h,
|
|
@@ -43579,7 +43579,7 @@ function f3e(e) {
|
|
|
43579
43579
|
index: A,
|
|
43580
43580
|
newIndex: b,
|
|
43581
43581
|
items: c,
|
|
43582
|
-
isOver:
|
|
43582
|
+
isOver: z,
|
|
43583
43583
|
isSorting: ae,
|
|
43584
43584
|
isDragging: Q,
|
|
43585
43585
|
listeners: X,
|
|
@@ -43588,7 +43588,7 @@ function f3e(e) {
|
|
|
43588
43588
|
over: fe,
|
|
43589
43589
|
setNodeRef: Z,
|
|
43590
43590
|
setActivatorNodeRef: se,
|
|
43591
|
-
setDroppableNodeRef:
|
|
43591
|
+
setDroppableNodeRef: F,
|
|
43592
43592
|
setDraggableNodeRef: q,
|
|
43593
43593
|
transform: B ?? $,
|
|
43594
43594
|
transition: U()
|
|
@@ -44127,7 +44127,7 @@ function P7(e, t, n, r) {
|
|
|
44127
44127
|
}
|
|
44128
44128
|
}
|
|
44129
44129
|
(P = E.target) != null && P.isContentEditable && !(c != null && c.enableOnContentEditable) || p2(s, c?.delimiter).forEach((I) => {
|
|
44130
|
-
var k, N,
|
|
44130
|
+
var k, N, z, F;
|
|
44131
44131
|
if (I.includes(c?.splitKey ?? "+") && I.includes(c?.sequenceSplitKey ?? ">")) {
|
|
44132
44132
|
console.warn(`Hotkey ${I} contains both ${c?.splitKey ?? "+"} and ${c?.sequenceSplitKey ?? ">"} which is not supported.`);
|
|
44133
44133
|
return;
|
|
@@ -44147,8 +44147,8 @@ function P7(e, t, n, r) {
|
|
|
44147
44147
|
return;
|
|
44148
44148
|
}
|
|
44149
44149
|
p.length === ((N = j.keys) == null ? void 0 : N.length) && (l.current(E, j), y && clearTimeout(y), p = []);
|
|
44150
|
-
} else if (x3e(E, j, c?.ignoreModifiers) || (
|
|
44151
|
-
if ((
|
|
44150
|
+
} else if (x3e(E, j, c?.ignoreModifiers) || (z = j.keys) != null && z.includes("*")) {
|
|
44151
|
+
if ((F = c?.ignoreEventWhen) != null && F.call(c, E) || A && o.current)
|
|
44152
44152
|
return;
|
|
44153
44153
|
if (m3e(E, j, c?.preventDefault), !y3e(E, j, c?.enabled)) {
|
|
44154
44154
|
O7(E);
|
|
@@ -44692,15 +44692,15 @@ function N3e({
|
|
|
44692
44692
|
fallback: A
|
|
44693
44693
|
}) {
|
|
44694
44694
|
Kx();
|
|
44695
|
-
const P = st(null), [I, k] = Ye(0), [N,
|
|
44695
|
+
const P = st(null), [I, k] = Ye(0), [N, z] = Ye(!1), [F, j] = Ye(0), [J] = xa(), W = (Q, fe) => {
|
|
44696
44696
|
k(fe);
|
|
44697
44697
|
}, L = wt(() => {
|
|
44698
44698
|
if (N || !P.current || !x || typeof E != "function") return;
|
|
44699
44699
|
const Q = P.current.scrollHeight - P.current.clientHeight;
|
|
44700
|
-
|
|
44701
|
-
}, [N,
|
|
44700
|
+
F === 0 && Q && j(Math.round(Q * 0.2)), P.current.scrollTop > Q - F && (z(!0), Promise.resolve(E()).finally(() => z(!1)));
|
|
44701
|
+
}, [N, F, x, E]);
|
|
44702
44702
|
xl(() => {
|
|
44703
|
-
if (P.current &&
|
|
44703
|
+
if (P.current && F === 0) {
|
|
44704
44704
|
const Q = P.current.scrollHeight - P.current.clientHeight;
|
|
44705
44705
|
Q && j(Math.round(Q * 0.2));
|
|
44706
44706
|
}
|
|
@@ -45156,7 +45156,7 @@ function H3e({
|
|
|
45156
45156
|
} catch (V) {
|
|
45157
45157
|
throw console.error("Error fetching data:", V), V;
|
|
45158
45158
|
}
|
|
45159
|
-
}, k = (se) => x(`api/v1/RAD/${e}`, { method: "POST", body: JSON.stringify(se) }), N = (se) => x(`api/v1/RAD/${e}`, { method: "PUT", body: JSON.stringify(se) }),
|
|
45159
|
+
}, k = (se) => x(`api/v1/RAD/${e}`, { method: "POST", body: JSON.stringify(se) }), N = (se) => x(`api/v1/RAD/${e}`, { method: "PUT", body: JSON.stringify(se) }), z = (se) => {
|
|
45160
45160
|
const V = {};
|
|
45161
45161
|
return r.primaryKeys.forEach((Z) => V[Z] = se[Z]), x(`api/v1/RAD/${e}`, {
|
|
45162
45162
|
method: "DELETE",
|
|
@@ -45168,7 +45168,7 @@ function H3e({
|
|
|
45168
45168
|
}, [A]), Ke(() => {
|
|
45169
45169
|
P && o?.filters && o.sortings && P(o.filters, o.sortings);
|
|
45170
45170
|
}, [t]);
|
|
45171
|
-
const
|
|
45171
|
+
const F = (se) => {
|
|
45172
45172
|
v(
|
|
45173
45173
|
typeof se == "number" ? { ...l.value[se], index: se } : E()
|
|
45174
45174
|
);
|
|
@@ -45193,7 +45193,7 @@ function H3e({
|
|
|
45193
45193
|
}, X = () => {
|
|
45194
45194
|
w(null);
|
|
45195
45195
|
}, Q = () => {
|
|
45196
|
-
m &&
|
|
45196
|
+
m && z(m).then(() => {
|
|
45197
45197
|
I(), X();
|
|
45198
45198
|
});
|
|
45199
45199
|
}, fe = (se, V, Z) => s ? s(e, se, V, Z) : Z;
|
|
@@ -45214,8 +45214,8 @@ function H3e({
|
|
|
45214
45214
|
hover: !0,
|
|
45215
45215
|
FiltersComponent: o?.filters && Object.keys(o?.filters)?.length > 0 ? JSe : void 0,
|
|
45216
45216
|
SortingsComponent: o?.sortings && Object.keys(o?.sortings)?.length > 0 ? p3e : void 0,
|
|
45217
|
-
onAdd: r.canAdd ?
|
|
45218
|
-
onEdit: r.canEdit ?
|
|
45217
|
+
onAdd: r.canAdd ? F : void 0,
|
|
45218
|
+
onEdit: r.canEdit ? F : void 0,
|
|
45219
45219
|
onDelete: r.canDelete ? q : void 0,
|
|
45220
45220
|
onOpenDetails: j,
|
|
45221
45221
|
columns: r.columns.filter(({ showInRow: se }) => se).map(
|
|
@@ -45676,11 +45676,11 @@ var Q3e = J3e(), ol = /* @__PURE__ */ new Map(), cB = function(t) {
|
|
|
45676
45676
|
});
|
|
45677
45677
|
}
|
|
45678
45678
|
d.removeAttribute("xmlns:a");
|
|
45679
|
-
for (var
|
|
45680
|
-
J =
|
|
45681
|
-
if (
|
|
45682
|
-
for (var q = 0, X =
|
|
45683
|
-
new Function(
|
|
45679
|
+
for (var z = d.querySelectorAll("script"), F = [], j, J, W = 0, L = z.length; W < L; W++)
|
|
45680
|
+
J = z[W].getAttribute("type"), (!J || J === "application/ecmascript" || J === "application/javascript" || J === "text/javascript") && (j = z[W].innerText || z[W].textContent, j && F.push(j), d.removeChild(z[W]));
|
|
45681
|
+
if (F.length > 0 && (n === "always" || n === "once" && !N7[u])) {
|
|
45682
|
+
for (var q = 0, X = F.length; q < X; q++)
|
|
45683
|
+
new Function(F[q])(window);
|
|
45684
45684
|
N7[u] = !0;
|
|
45685
45685
|
}
|
|
45686
45686
|
var Q = d.querySelectorAll("style");
|
|
@@ -45855,10 +45855,10 @@ function cAe() {
|
|
|
45855
45855
|
element: A(),
|
|
45856
45856
|
elementType: P(),
|
|
45857
45857
|
instanceOf: I,
|
|
45858
|
-
node:
|
|
45858
|
+
node: F(),
|
|
45859
45859
|
objectOf: N,
|
|
45860
45860
|
oneOf: k,
|
|
45861
|
-
oneOfType:
|
|
45861
|
+
oneOfType: z,
|
|
45862
45862
|
shape: J,
|
|
45863
45863
|
exact: W
|
|
45864
45864
|
};
|
|
@@ -45993,7 +45993,7 @@ function cAe() {
|
|
|
45993
45993
|
}
|
|
45994
45994
|
return m(Z);
|
|
45995
45995
|
}
|
|
45996
|
-
function
|
|
45996
|
+
function z(V) {
|
|
45997
45997
|
if (!Array.isArray(V))
|
|
45998
45998
|
return process.env.NODE_ENV !== "production" && o("Invalid argument supplied to oneOfType, expected an instance of array."), a;
|
|
45999
45999
|
for (var Z = 0; Z < V.length; Z++) {
|
|
@@ -46015,7 +46015,7 @@ function cAe() {
|
|
|
46015
46015
|
}
|
|
46016
46016
|
return m(pe);
|
|
46017
46017
|
}
|
|
46018
|
-
function
|
|
46018
|
+
function F() {
|
|
46019
46019
|
function V(Z, ae, pe, Ae, Ee) {
|
|
46020
46020
|
return L(Z[ae]) ? null : new v("Invalid " + Ae + " `" + Ee + "` supplied to " + ("`" + pe + "`, expected a ReactNode."));
|
|
46021
46021
|
}
|
|
@@ -46250,20 +46250,20 @@ var mr = /* @__PURE__ */ fAe(), dAe = function(t) {
|
|
|
46250
46250
|
}, function() {
|
|
46251
46251
|
try {
|
|
46252
46252
|
v(N);
|
|
46253
|
-
} catch (
|
|
46254
|
-
E(
|
|
46253
|
+
} catch (z) {
|
|
46254
|
+
E(z);
|
|
46255
46255
|
}
|
|
46256
46256
|
});
|
|
46257
46257
|
}, P = function(k) {
|
|
46258
46258
|
if (k.setAttribute("role", "img"), a) {
|
|
46259
46259
|
var N = k.querySelector(":scope > desc");
|
|
46260
46260
|
N && k.removeChild(N);
|
|
46261
|
-
var
|
|
46262
|
-
|
|
46261
|
+
var z = document.createElement("desc");
|
|
46262
|
+
z.innerHTML = a, k.prepend(z);
|
|
46263
46263
|
}
|
|
46264
46264
|
if (d) {
|
|
46265
|
-
var
|
|
46266
|
-
|
|
46265
|
+
var F = k.querySelector(":scope > title");
|
|
46266
|
+
F && k.removeChild(F);
|
|
46267
46267
|
var j = document.createElement("title");
|
|
46268
46268
|
j.innerHTML = d, k.prepend(j);
|
|
46269
46269
|
}
|
|
@@ -49532,15 +49532,15 @@ function lOe(e) {
|
|
|
49532
49532
|
})
|
|
49533
49533
|
];
|
|
49534
49534
|
}
|
|
49535
|
-
let P, I = 0, k, N = !1,
|
|
49535
|
+
let P, I = 0, k, N = !1, z = 0, F = !1;
|
|
49536
49536
|
async function j() {
|
|
49537
49537
|
clearTimeout(k);
|
|
49538
49538
|
const [L, q] = await (P ?? (P = new Promise(
|
|
49539
49539
|
(fe, se) => (async () => {
|
|
49540
49540
|
if (N) {
|
|
49541
|
-
if (await c(
|
|
49541
|
+
if (await c(z), !I)
|
|
49542
49542
|
return P = void 0, se({ code: 1e3, reason: "All Subscriptions Gone" });
|
|
49543
|
-
|
|
49543
|
+
z++;
|
|
49544
49544
|
}
|
|
49545
49545
|
E.emit("connecting", N);
|
|
49546
49546
|
const V = new x(
|
|
@@ -49610,7 +49610,7 @@ function lOe(e) {
|
|
|
49610
49610
|
throw new Error(
|
|
49611
49611
|
`First message cannot be of type ${R.type}`
|
|
49612
49612
|
);
|
|
49613
|
-
clearTimeout(Z), Ae = !0, E.emit("connected", V, R.payload, N), N = !1,
|
|
49613
|
+
clearTimeout(Z), Ae = !0, E.emit("connected", V, R.payload, N), N = !1, z = 0, fe([
|
|
49614
49614
|
V,
|
|
49615
49615
|
new Promise(($, b) => A(b))
|
|
49616
49616
|
]);
|
|
@@ -49664,10 +49664,10 @@ function lOe(e) {
|
|
|
49664
49664
|
// 4499, // Terminated, probably because the socket froze, we want to retry
|
|
49665
49665
|
].includes(L.code)))
|
|
49666
49666
|
throw L;
|
|
49667
|
-
if (
|
|
49667
|
+
if (F) return !1;
|
|
49668
49668
|
if (T2(L) && L.code === 1e3)
|
|
49669
49669
|
return I > 0;
|
|
49670
|
-
if (!l ||
|
|
49670
|
+
if (!l || z >= l || !d(L)) throw L;
|
|
49671
49671
|
return N = !0;
|
|
49672
49672
|
}
|
|
49673
49673
|
r || (async () => {
|
|
@@ -49773,7 +49773,7 @@ function lOe(e) {
|
|
|
49773
49773
|
return fe.throw = async (se) => (X.done || (X.done = !0, X.error = se, X.resolve()), { done: !0, value: void 0 }), fe.return = async () => (Q(), { done: !0, value: void 0 }), fe;
|
|
49774
49774
|
},
|
|
49775
49775
|
async dispose() {
|
|
49776
|
-
if (
|
|
49776
|
+
if (F = !0, P) {
|
|
49777
49777
|
const [L] = await P;
|
|
49778
49778
|
L.close(1e3, "Normal Closure");
|
|
49779
49779
|
}
|
|
@@ -49961,29 +49961,29 @@ const xd = {}, e8 = (e, t) => e.unstable_is ? e.unstable_is(t) : t === e, t8 = (
|
|
|
49961
49961
|
let N = e.get(k);
|
|
49962
49962
|
return N || (N = { d: /* @__PURE__ */ new Map(), p: /* @__PURE__ */ new Set(), n: 0 }, e.set(k, N), l?.(k, I)), N;
|
|
49963
49963
|
}), p = d[1] || (() => {
|
|
49964
|
-
const k = [], N = (
|
|
49964
|
+
const k = [], N = (z) => {
|
|
49965
49965
|
try {
|
|
49966
|
-
|
|
49967
|
-
} catch (
|
|
49968
|
-
k.push(
|
|
49966
|
+
z();
|
|
49967
|
+
} catch (F) {
|
|
49968
|
+
k.push(F);
|
|
49969
49969
|
}
|
|
49970
49970
|
};
|
|
49971
49971
|
do {
|
|
49972
49972
|
a.f && N(a.f);
|
|
49973
|
-
const
|
|
49973
|
+
const z = /* @__PURE__ */ new Set(), F = z.add.bind(z);
|
|
49974
49974
|
r.forEach((j) => {
|
|
49975
49975
|
var J;
|
|
49976
|
-
return (J = t.get(j)) == null ? void 0 : J.l.forEach(
|
|
49977
|
-
}), r.clear(), o.forEach(
|
|
49976
|
+
return (J = t.get(j)) == null ? void 0 : J.l.forEach(F);
|
|
49977
|
+
}), r.clear(), o.forEach(F), o.clear(), i.forEach(F), i.clear(), z.forEach(N), r.size && y();
|
|
49978
49978
|
} while (r.size || o.size || i.size);
|
|
49979
49979
|
if (k.length)
|
|
49980
49980
|
throw new AggregateError(k);
|
|
49981
49981
|
}), y = d[2] || (() => {
|
|
49982
|
-
const k = [], N = /* @__PURE__ */ new WeakSet(),
|
|
49983
|
-
for (;
|
|
49984
|
-
const j =
|
|
49985
|
-
if (
|
|
49986
|
-
|
|
49982
|
+
const k = [], N = /* @__PURE__ */ new WeakSet(), z = /* @__PURE__ */ new WeakSet(), F = Array.from(r);
|
|
49983
|
+
for (; F.length; ) {
|
|
49984
|
+
const j = F[F.length - 1], J = h(j);
|
|
49985
|
+
if (z.has(j)) {
|
|
49986
|
+
F.pop();
|
|
49987
49987
|
continue;
|
|
49988
49988
|
}
|
|
49989
49989
|
if (N.has(j)) {
|
|
@@ -49991,12 +49991,12 @@ const xd = {}, e8 = (e, t) => e.unstable_is ? e.unstable_is(t) : t === e, t8 = (
|
|
|
49991
49991
|
k.push([j, J]);
|
|
49992
49992
|
else if ((xd ? "production" : void 0) !== "production" && n.has(j))
|
|
49993
49993
|
throw new Error("[Bug] invalidated atom exists");
|
|
49994
|
-
|
|
49994
|
+
z.add(j), F.pop();
|
|
49995
49995
|
continue;
|
|
49996
49996
|
}
|
|
49997
49997
|
N.add(j);
|
|
49998
49998
|
for (const W of i8(j, J, t))
|
|
49999
|
-
N.has(W) ||
|
|
49999
|
+
N.has(W) || F.push(W);
|
|
50000
50000
|
}
|
|
50001
50001
|
for (let j = k.length - 1; j >= 0; --j) {
|
|
50002
50002
|
const [J, W] = k[j];
|
|
@@ -50010,17 +50010,17 @@ const xd = {}, e8 = (e, t) => e.unstable_is ? e.unstable_is(t) : t === e, t8 = (
|
|
|
50010
50010
|
}
|
|
50011
50011
|
}), v = d[3] || ((k) => {
|
|
50012
50012
|
var N;
|
|
50013
|
-
const
|
|
50014
|
-
if (n8(
|
|
50013
|
+
const z = h(k);
|
|
50014
|
+
if (n8(z) && (t.has(k) && n.get(k) !== z.n || Array.from(z.d).every(
|
|
50015
50015
|
([Q, fe]) => (
|
|
50016
50016
|
// Recursively, read the atom state of the dependency, and
|
|
50017
50017
|
// check if the atom epoch number is unchanged
|
|
50018
50018
|
v(Q).n === fe
|
|
50019
50019
|
)
|
|
50020
50020
|
)))
|
|
50021
|
-
return
|
|
50022
|
-
|
|
50023
|
-
let
|
|
50021
|
+
return z;
|
|
50022
|
+
z.d.clear();
|
|
50023
|
+
let F = !0;
|
|
50024
50024
|
const j = () => {
|
|
50025
50025
|
t.has(k) && (x(k), y(), p());
|
|
50026
50026
|
}, J = (Q) => {
|
|
@@ -50038,7 +50038,7 @@ const xd = {}, e8 = (e, t) => e.unstable_is ? e.unstable_is(t) : t === e, t8 = (
|
|
|
50038
50038
|
try {
|
|
50039
50039
|
return Hg(se);
|
|
50040
50040
|
} finally {
|
|
50041
|
-
|
|
50041
|
+
z.d.set(Q, se.n), r8(z.v) && AB(k, z.v, se), (fe = t.get(Q)) == null || fe.t.add(k), F || j();
|
|
50042
50042
|
}
|
|
50043
50043
|
};
|
|
50044
50044
|
let W, L;
|
|
@@ -50048,7 +50048,7 @@ const xd = {}, e8 = (e, t) => e.unstable_is ? e.unstable_is(t) : t === e, t8 = (
|
|
|
50048
50048
|
},
|
|
50049
50049
|
get setSelf() {
|
|
50050
50050
|
return (xd ? "production" : void 0) !== "production" && !C2(k) && console.warn("setSelf function cannot be used with read-only atom"), !L && C2(k) && (L = (...Q) => {
|
|
50051
|
-
if ((xd ? "production" : void 0) !== "production" &&
|
|
50051
|
+
if ((xd ? "production" : void 0) !== "production" && F && console.warn("setSelf function cannot be called in sync"), !F)
|
|
50052
50052
|
try {
|
|
50053
50053
|
return w(k, ...Q);
|
|
50054
50054
|
} finally {
|
|
@@ -50056,30 +50056,30 @@ const xd = {}, e8 = (e, t) => e.unstable_is ? e.unstable_is(t) : t === e, t8 = (
|
|
|
50056
50056
|
}
|
|
50057
50057
|
}), L;
|
|
50058
50058
|
}
|
|
50059
|
-
}, X =
|
|
50059
|
+
}, X = z.n;
|
|
50060
50060
|
try {
|
|
50061
50061
|
const Q = s(k, J, q);
|
|
50062
50062
|
return M2(k, Q, h), H0(Q) && (wOe(Q, () => W?.abort()), Q.then(
|
|
50063
50063
|
j,
|
|
50064
50064
|
j
|
|
50065
|
-
)),
|
|
50065
|
+
)), z;
|
|
50066
50066
|
} catch (Q) {
|
|
50067
|
-
return delete
|
|
50067
|
+
return delete z.v, z.e = Q, ++z.n, z;
|
|
50068
50068
|
} finally {
|
|
50069
|
-
|
|
50069
|
+
F = !1, X !== z.n && n.get(k) === X && (n.set(k, z.n), r.add(k), (N = a.c) == null || N.call(a, k));
|
|
50070
50070
|
}
|
|
50071
50071
|
}), m = d[4] || ((k) => {
|
|
50072
50072
|
const N = [k];
|
|
50073
50073
|
for (; N.length; ) {
|
|
50074
|
-
const
|
|
50075
|
-
for (const j of i8(
|
|
50074
|
+
const z = N.pop(), F = h(z);
|
|
50075
|
+
for (const j of i8(z, F, t)) {
|
|
50076
50076
|
const J = h(j);
|
|
50077
50077
|
n.set(j, J.n), N.push(j);
|
|
50078
50078
|
}
|
|
50079
50079
|
}
|
|
50080
50080
|
}), w = d[5] || ((k, ...N) => {
|
|
50081
|
-
let
|
|
50082
|
-
const
|
|
50081
|
+
let z = !0;
|
|
50082
|
+
const F = (J) => Hg(v(J)), j = (J, ...W) => {
|
|
50083
50083
|
var L;
|
|
50084
50084
|
const q = h(J);
|
|
50085
50085
|
try {
|
|
@@ -50092,43 +50092,43 @@ const xd = {}, e8 = (e, t) => e.unstable_is ? e.unstable_is(t) : t === e, t8 = (
|
|
|
50092
50092
|
} else
|
|
50093
50093
|
return w(J, ...W);
|
|
50094
50094
|
} finally {
|
|
50095
|
-
|
|
50095
|
+
z || (y(), p());
|
|
50096
50096
|
}
|
|
50097
50097
|
};
|
|
50098
50098
|
try {
|
|
50099
|
-
return u(k,
|
|
50099
|
+
return u(k, F, j, ...N);
|
|
50100
50100
|
} finally {
|
|
50101
|
-
|
|
50101
|
+
z = !1;
|
|
50102
50102
|
}
|
|
50103
50103
|
}), x = d[6] || ((k) => {
|
|
50104
50104
|
var N;
|
|
50105
|
-
const
|
|
50106
|
-
if (
|
|
50107
|
-
for (const [j, J] of
|
|
50108
|
-
if (!
|
|
50105
|
+
const z = h(k), F = t.get(k);
|
|
50106
|
+
if (F && !r8(z.v)) {
|
|
50107
|
+
for (const [j, J] of z.d)
|
|
50108
|
+
if (!F.d.has(j)) {
|
|
50109
50109
|
const W = h(j);
|
|
50110
|
-
E(j).t.add(k),
|
|
50110
|
+
E(j).t.add(k), F.d.add(j), J !== W.n && (r.add(j), (N = a.c) == null || N.call(a, j), m(j));
|
|
50111
50111
|
}
|
|
50112
|
-
for (const j of
|
|
50113
|
-
if (!
|
|
50114
|
-
|
|
50112
|
+
for (const j of F.d || [])
|
|
50113
|
+
if (!z.d.has(j)) {
|
|
50114
|
+
F.d.delete(j);
|
|
50115
50115
|
const J = A(j);
|
|
50116
50116
|
J?.t.delete(k);
|
|
50117
50117
|
}
|
|
50118
50118
|
}
|
|
50119
50119
|
}), E = d[7] || ((k) => {
|
|
50120
50120
|
var N;
|
|
50121
|
-
const
|
|
50122
|
-
let
|
|
50123
|
-
if (!
|
|
50121
|
+
const z = h(k);
|
|
50122
|
+
let F = t.get(k);
|
|
50123
|
+
if (!F) {
|
|
50124
50124
|
v(k);
|
|
50125
|
-
for (const j of
|
|
50125
|
+
for (const j of z.d.keys())
|
|
50126
50126
|
E(j).t.add(k);
|
|
50127
|
-
if (
|
|
50127
|
+
if (F = {
|
|
50128
50128
|
l: /* @__PURE__ */ new Set(),
|
|
50129
|
-
d: new Set(
|
|
50129
|
+
d: new Set(z.d.keys()),
|
|
50130
50130
|
t: /* @__PURE__ */ new Set()
|
|
50131
|
-
}, t.set(k,
|
|
50131
|
+
}, t.set(k, F), (N = a.m) == null || N.call(a, k), C2(k)) {
|
|
50132
50132
|
const j = () => {
|
|
50133
50133
|
let J = !0;
|
|
50134
50134
|
const W = (...L) => {
|
|
@@ -50140,7 +50140,7 @@ const xd = {}, e8 = (e, t) => e.unstable_is ? e.unstable_is(t) : t === e, t8 = (
|
|
|
50140
50140
|
};
|
|
50141
50141
|
try {
|
|
50142
50142
|
const L = c(k, W);
|
|
50143
|
-
L && (
|
|
50143
|
+
L && (F.u = () => {
|
|
50144
50144
|
J = !0;
|
|
50145
50145
|
try {
|
|
50146
50146
|
L();
|
|
@@ -50155,23 +50155,23 @@ const xd = {}, e8 = (e, t) => e.unstable_is ? e.unstable_is(t) : t === e, t8 = (
|
|
|
50155
50155
|
i.add(j);
|
|
50156
50156
|
}
|
|
50157
50157
|
}
|
|
50158
|
-
return
|
|
50158
|
+
return F;
|
|
50159
50159
|
}), A = d[8] || ((k) => {
|
|
50160
50160
|
var N;
|
|
50161
|
-
const
|
|
50162
|
-
let
|
|
50163
|
-
if (
|
|
50161
|
+
const z = h(k);
|
|
50162
|
+
let F = t.get(k);
|
|
50163
|
+
if (F && !F.l.size && !Array.from(F.t).some((j) => {
|
|
50164
50164
|
var J;
|
|
50165
50165
|
return (J = t.get(j)) == null ? void 0 : J.d.has(k);
|
|
50166
50166
|
})) {
|
|
50167
|
-
|
|
50168
|
-
for (const j of
|
|
50167
|
+
F.u && o.add(F.u), F = void 0, t.delete(k), (N = a.u) == null || N.call(a, k);
|
|
50168
|
+
for (const j of z.d.keys()) {
|
|
50169
50169
|
const J = A(j);
|
|
50170
50170
|
J?.t.delete(k);
|
|
50171
50171
|
}
|
|
50172
50172
|
return;
|
|
50173
50173
|
}
|
|
50174
|
-
return
|
|
50174
|
+
return F;
|
|
50175
50175
|
}), P = [
|
|
50176
50176
|
// store state
|
|
50177
50177
|
e,
|
|
@@ -50206,9 +50206,9 @@ const xd = {}, e8 = (e, t) => e.unstable_is ? e.unstable_is(t) : t === e, t8 = (
|
|
|
50206
50206
|
}
|
|
50207
50207
|
},
|
|
50208
50208
|
sub: (k, N) => {
|
|
50209
|
-
const
|
|
50210
|
-
return
|
|
50211
|
-
|
|
50209
|
+
const F = E(k).l;
|
|
50210
|
+
return F.add(N), p(), () => {
|
|
50211
|
+
F.delete(N), A(k), p();
|
|
50212
50212
|
};
|
|
50213
50213
|
}
|
|
50214
50214
|
};
|
|
@@ -53577,7 +53577,7 @@ function n6e() {
|
|
|
53577
53577
|
const xe = ge[he], Te = de[xe];
|
|
53578
53578
|
if (Te) {
|
|
53579
53579
|
const Fe = i(de, xe);
|
|
53580
|
-
if (!
|
|
53580
|
+
if (!z(Fe))
|
|
53581
53581
|
continue;
|
|
53582
53582
|
de[xe] = ((He) => {
|
|
53583
53583
|
const ze = function() {
|
|
@@ -53588,10 +53588,10 @@ function n6e() {
|
|
|
53588
53588
|
}
|
|
53589
53589
|
}
|
|
53590
53590
|
}
|
|
53591
|
-
function
|
|
53591
|
+
function z(de) {
|
|
53592
53592
|
return de ? de.writable === !1 ? !1 : !(typeof de.get == "function" && typeof de.set > "u") : !0;
|
|
53593
53593
|
}
|
|
53594
|
-
const
|
|
53594
|
+
const F = typeof WorkerGlobalScope < "u" && self instanceof WorkerGlobalScope, j = !("nw" in P) && typeof P.process < "u" && P.process.toString() === "[object process]", J = !j && !F && !!(E && A.HTMLElement), W = typeof P.process < "u" && P.process.toString() === "[object process]" && !F && !!(E && A.HTMLElement), L = {}, q = x("enable_beforeunload"), X = function(de) {
|
|
53595
53595
|
if (de = de || P.event, !de)
|
|
53596
53596
|
return;
|
|
53597
53597
|
let ge = L[de.type];
|
|
@@ -53715,7 +53715,7 @@ function n6e() {
|
|
|
53715
53715
|
if (he && (!(Te = he[xe]) || !he.hasOwnProperty(xe))) {
|
|
53716
53716
|
Te = he[xe] = he[ge];
|
|
53717
53717
|
const Fe = he && i(he, ge);
|
|
53718
|
-
if (
|
|
53718
|
+
if (z(Fe)) {
|
|
53719
53719
|
const He = we(Te, xe, ge);
|
|
53720
53720
|
he[ge] = function() {
|
|
53721
53721
|
return He(this, arguments);
|