@blockscout/ui-toolkit 2.7.0-alpha.5 → 2.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +348 -348
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as f, jsxs as $, Fragment as Ge } from "react/jsx-runtime";
|
|
2
|
-
import { Accordion as lt, Icon as he, defineRecipe as Ne, Circle as un, Skeleton as dn, Stack as
|
|
2
|
+
import { Accordion as lt, Icon as he, defineRecipe as Ne, Circle as un, Skeleton as dn, Stack as za, Button as ql, ButtonGroup as Ba, useRecipe as Yl, Alert as ft, Avatar as Pt, Group as fn, useBreakpointValue as Kl, Tooltip as ht, Portal as ct, useDisclosure as Ql, chakra as ut, Badge as Jl, Checkbox as wt, CheckboxGroup as es, Link as In, LinkOverlay as On, LinkBox as ts, Flex as Xe, Dialog as Te, Drawer as Le, EmptyState as pt, VStack as rs, Field as ze, Heading as ns, Image as os, InputElement as Rn, Input as is, Menu as ge, AbsoluteCenter as hn, PinInput as Ht, Popover as Se, Progress as Nr, ProgressCircle as Lt, defineSlotRecipe as fe, defineConfig as as, createSystem as ls, defaultConfig as ss, ChakraProvider as cs, RadioGroup as Rt, useRatingGroup as us, RatingGroup as gt, useSelectContext as Ua, Select as Ee, createListCollection as ds, Box as Pe, Slider as Re, HStack as fs, For as hs, Switch as ot, Table as Et, Tabs as yr, Tag as it, Textarea as ps, createToaster as gs, Toaster as ms, Toast as St, Spinner as vs, useToken as Me, Text as st, Center as Ma, Grid as bs, VisuallyHidden as _s } from "@chakra-ui/react";
|
|
3
3
|
import * as I from "react";
|
|
4
4
|
import A, { useState as pn, useEffect as Fa, useCallback as Ln, useRef as Es } from "react";
|
|
5
5
|
import ys from "react-dom";
|
|
@@ -28,12 +28,12 @@ function Ls() {
|
|
|
28
28
|
if (typeof H != "function")
|
|
29
29
|
throw new TypeError(e);
|
|
30
30
|
j = L(j) || 0, E(i) && (k = !!i.leading, w = "maxWait" in i, m = w ? b(L(i.maxWait) || 0, j) : m, O = "trailing" in i ? !!i.trailing : O);
|
|
31
|
-
function
|
|
31
|
+
function B(Q) {
|
|
32
32
|
var X = l, J = d;
|
|
33
33
|
return l = d = void 0, S = Q, h = H.apply(J, X), h;
|
|
34
34
|
}
|
|
35
35
|
function D(Q) {
|
|
36
|
-
return S = Q, _ = setTimeout(W, j), k ?
|
|
36
|
+
return S = Q, _ = setTimeout(W, j), k ? B(Q) : h;
|
|
37
37
|
}
|
|
38
38
|
function U(Q) {
|
|
39
39
|
var X = Q - y, J = Q - S, te = j - X;
|
|
@@ -50,7 +50,7 @@ function Ls() {
|
|
|
50
50
|
_ = setTimeout(W, U(Q));
|
|
51
51
|
}
|
|
52
52
|
function q(Q) {
|
|
53
|
-
return _ = void 0, O && l ?
|
|
53
|
+
return _ = void 0, O && l ? B(Q) : (l = d = void 0, h);
|
|
54
54
|
}
|
|
55
55
|
function V() {
|
|
56
56
|
_ !== void 0 && clearTimeout(_), S = 0, l = y = d = _ = void 0;
|
|
@@ -64,7 +64,7 @@ function Ls() {
|
|
|
64
64
|
if (_ === void 0)
|
|
65
65
|
return D(y);
|
|
66
66
|
if (w)
|
|
67
|
-
return _ = setTimeout(W, j),
|
|
67
|
+
return _ = setTimeout(W, j), B(y);
|
|
68
68
|
}
|
|
69
69
|
return _ === void 0 && (_ = setTimeout(W, j)), h;
|
|
70
70
|
}
|
|
@@ -84,11 +84,11 @@ function Ls() {
|
|
|
84
84
|
var j = typeof H;
|
|
85
85
|
return !!H && (j == "object" || j == "function");
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function z(H) {
|
|
88
88
|
return !!H && typeof H == "object";
|
|
89
89
|
}
|
|
90
90
|
function F(H) {
|
|
91
|
-
return typeof H == "symbol" ||
|
|
91
|
+
return typeof H == "symbol" || z(H) && C.call(H) == r;
|
|
92
92
|
}
|
|
93
93
|
function L(H) {
|
|
94
94
|
if (typeof H == "number")
|
|
@@ -215,10 +215,10 @@ function mn() {
|
|
|
215
215
|
};
|
|
216
216
|
return Zt.default = a, Zt;
|
|
217
217
|
}
|
|
218
|
-
var Xt = {}, Vt = {},
|
|
218
|
+
var Xt = {}, Vt = {}, zn;
|
|
219
219
|
function xr() {
|
|
220
|
-
if (
|
|
221
|
-
|
|
220
|
+
if (zn) return Vt;
|
|
221
|
+
zn = 1, Object.defineProperty(Vt, "__esModule", {
|
|
222
222
|
value: !0
|
|
223
223
|
});
|
|
224
224
|
var e = function(s, u) {
|
|
@@ -266,9 +266,9 @@ function xr() {
|
|
|
266
266
|
scrollOffset: a
|
|
267
267
|
}, Vt;
|
|
268
268
|
}
|
|
269
|
-
var Gt = {}, qt = {},
|
|
269
|
+
var Gt = {}, qt = {}, Bn;
|
|
270
270
|
function Ps() {
|
|
271
|
-
return
|
|
271
|
+
return Bn || (Bn = 1, Object.defineProperty(qt, "__esModule", {
|
|
272
272
|
value: !0
|
|
273
273
|
}), qt.default = {
|
|
274
274
|
/*
|
|
@@ -452,14 +452,14 @@ function Xa() {
|
|
|
452
452
|
return;
|
|
453
453
|
}
|
|
454
454
|
s.default.registered.end && s.default.registered.end(y.to, y.target, y.currentPosition);
|
|
455
|
-
},
|
|
455
|
+
}, z = function(m) {
|
|
456
456
|
m.data.containerElement = m ? m.containerId ? document.getElementById(m.containerId) : m.container && m.container.nodeType ? m.container : document : null;
|
|
457
457
|
}, F = function(m, h, _, y) {
|
|
458
458
|
h.data = h.data || b(), window.clearTimeout(h.data.delayTimeout);
|
|
459
459
|
var S = function() {
|
|
460
460
|
h.data.cancel = !0;
|
|
461
461
|
};
|
|
462
|
-
if (a.default.subscribe(S),
|
|
462
|
+
if (a.default.subscribe(S), z(h), h.data.start = null, h.data.cancel = !1, h.data.startPosition = h.horizontal ? x(h) : P(h), h.data.targetPosition = h.absolute ? m : m + h.data.startPosition, h.data.startPosition === h.data.targetPosition) {
|
|
463
463
|
s.default.registered.end && s.default.registered.end(h.data.to, h.data.target, h.data.currentPosition);
|
|
464
464
|
return;
|
|
465
465
|
}
|
|
@@ -479,9 +479,9 @@ function Xa() {
|
|
|
479
479
|
}, j = function(m, h) {
|
|
480
480
|
F(m, L(h));
|
|
481
481
|
}, i = function(m) {
|
|
482
|
-
m = L(m),
|
|
482
|
+
m = L(m), z(m), F(m.horizontal ? T(m) : R(m), m);
|
|
483
483
|
}, l = function(m, h) {
|
|
484
|
-
h = L(h),
|
|
484
|
+
h = L(h), z(h);
|
|
485
485
|
var _ = h.horizontal ? x(h) : P(h);
|
|
486
486
|
F(m + _, h);
|
|
487
487
|
};
|
|
@@ -563,7 +563,7 @@ function Ds() {
|
|
|
563
563
|
if (jn) return se;
|
|
564
564
|
jn = 1;
|
|
565
565
|
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, g = e ? Symbol.for("react.forward_ref") : 60112, v = e ? Symbol.for("react.suspense") : 60113, C = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, x = e ? Symbol.for("react.lazy") : 60116, P = e ? Symbol.for("react.block") : 60121, T = e ? Symbol.for("react.fundamental") : 60117, R = e ? Symbol.for("react.responder") : 60118, E = e ? Symbol.for("react.scope") : 60119;
|
|
566
|
-
function
|
|
566
|
+
function z(L) {
|
|
567
567
|
if (typeof L == "object" && L !== null) {
|
|
568
568
|
var H = L.$$typeof;
|
|
569
569
|
switch (H) {
|
|
@@ -594,35 +594,35 @@ function Ds() {
|
|
|
594
594
|
}
|
|
595
595
|
}
|
|
596
596
|
function F(L) {
|
|
597
|
-
return
|
|
597
|
+
return z(L) === p;
|
|
598
598
|
}
|
|
599
599
|
return se.AsyncMode = u, se.ConcurrentMode = p, se.ContextConsumer = s, se.ContextProvider = c, se.Element = t, se.ForwardRef = g, se.Fragment = n, se.Lazy = x, se.Memo = b, se.Portal = r, se.Profiler = a, se.StrictMode = o, se.Suspense = v, se.isAsyncMode = function(L) {
|
|
600
|
-
return F(L) ||
|
|
600
|
+
return F(L) || z(L) === u;
|
|
601
601
|
}, se.isConcurrentMode = F, se.isContextConsumer = function(L) {
|
|
602
|
-
return
|
|
602
|
+
return z(L) === s;
|
|
603
603
|
}, se.isContextProvider = function(L) {
|
|
604
|
-
return
|
|
604
|
+
return z(L) === c;
|
|
605
605
|
}, se.isElement = function(L) {
|
|
606
606
|
return typeof L == "object" && L !== null && L.$$typeof === t;
|
|
607
607
|
}, se.isForwardRef = function(L) {
|
|
608
|
-
return
|
|
608
|
+
return z(L) === g;
|
|
609
609
|
}, se.isFragment = function(L) {
|
|
610
|
-
return
|
|
610
|
+
return z(L) === n;
|
|
611
611
|
}, se.isLazy = function(L) {
|
|
612
|
-
return
|
|
612
|
+
return z(L) === x;
|
|
613
613
|
}, se.isMemo = function(L) {
|
|
614
|
-
return
|
|
614
|
+
return z(L) === b;
|
|
615
615
|
}, se.isPortal = function(L) {
|
|
616
|
-
return
|
|
616
|
+
return z(L) === r;
|
|
617
617
|
}, se.isProfiler = function(L) {
|
|
618
|
-
return
|
|
618
|
+
return z(L) === a;
|
|
619
619
|
}, se.isStrictMode = function(L) {
|
|
620
|
-
return
|
|
620
|
+
return z(L) === o;
|
|
621
621
|
}, se.isSuspense = function(L) {
|
|
622
|
-
return
|
|
622
|
+
return z(L) === v;
|
|
623
623
|
}, se.isValidElementType = function(L) {
|
|
624
624
|
return typeof L == "string" || typeof L == "function" || L === n || L === p || L === a || L === o || L === v || L === C || typeof L == "object" && L !== null && (L.$$typeof === x || L.$$typeof === b || L.$$typeof === c || L.$$typeof === s || L.$$typeof === g || L.$$typeof === T || L.$$typeof === R || L.$$typeof === E || L.$$typeof === P);
|
|
625
|
-
}, se.typeOf =
|
|
625
|
+
}, se.typeOf = z, se;
|
|
626
626
|
}
|
|
627
627
|
var ce = {};
|
|
628
628
|
/** @license React v16.13.1
|
|
@@ -634,10 +634,10 @@ var ce = {};
|
|
|
634
634
|
* LICENSE file in the root directory of this source tree.
|
|
635
635
|
*/
|
|
636
636
|
var Wn;
|
|
637
|
-
function
|
|
637
|
+
function zs() {
|
|
638
638
|
return Wn || (Wn = 1, process.env.NODE_ENV !== "production" && function() {
|
|
639
639
|
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, g = e ? Symbol.for("react.forward_ref") : 60112, v = e ? Symbol.for("react.suspense") : 60113, C = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, x = e ? Symbol.for("react.lazy") : 60116, P = e ? Symbol.for("react.block") : 60121, T = e ? Symbol.for("react.fundamental") : 60117, R = e ? Symbol.for("react.responder") : 60118, E = e ? Symbol.for("react.scope") : 60119;
|
|
640
|
-
function
|
|
640
|
+
function z(Z) {
|
|
641
641
|
return typeof Z == "string" || typeof Z == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
642
642
|
Z === n || Z === p || Z === a || Z === o || Z === v || Z === C || typeof Z == "object" && Z !== null && (Z.$$typeof === x || Z.$$typeof === b || Z.$$typeof === c || Z.$$typeof === s || Z.$$typeof === g || Z.$$typeof === T || Z.$$typeof === R || Z.$$typeof === E || Z.$$typeof === P);
|
|
643
643
|
}
|
|
@@ -674,7 +674,7 @@ function Bs() {
|
|
|
674
674
|
}
|
|
675
675
|
}
|
|
676
676
|
var L = u, H = p, j = s, i = c, l = t, d = g, m = n, h = x, _ = b, y = r, S = a, k = o, w = v, O = !1;
|
|
677
|
-
function
|
|
677
|
+
function B(Z) {
|
|
678
678
|
return O || (O = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), D(Z) || F(Z) === u;
|
|
679
679
|
}
|
|
680
680
|
function D(Z) {
|
|
@@ -713,21 +713,21 @@ function Bs() {
|
|
|
713
713
|
function te(Z) {
|
|
714
714
|
return F(Z) === v;
|
|
715
715
|
}
|
|
716
|
-
ce.AsyncMode = L, ce.ConcurrentMode = H, ce.ContextConsumer = j, ce.ContextProvider = i, ce.Element = l, ce.ForwardRef = d, ce.Fragment = m, ce.Lazy = h, ce.Memo = _, ce.Portal = y, ce.Profiler = S, ce.StrictMode = k, ce.Suspense = w, ce.isAsyncMode =
|
|
716
|
+
ce.AsyncMode = L, ce.ConcurrentMode = H, ce.ContextConsumer = j, ce.ContextProvider = i, ce.Element = l, ce.ForwardRef = d, ce.Fragment = m, ce.Lazy = h, ce.Memo = _, ce.Portal = y, ce.Profiler = S, ce.StrictMode = k, ce.Suspense = w, ce.isAsyncMode = B, ce.isConcurrentMode = D, ce.isContextConsumer = U, ce.isContextProvider = M, ce.isElement = W, ce.isForwardRef = q, ce.isFragment = V, ce.isLazy = G, ce.isMemo = K, ce.isPortal = Q, ce.isProfiler = X, ce.isStrictMode = J, ce.isSuspense = te, ce.isValidElementType = z, ce.typeOf = F;
|
|
717
717
|
}()), ce;
|
|
718
718
|
}
|
|
719
719
|
var $n;
|
|
720
720
|
function Va() {
|
|
721
|
-
return $n || ($n = 1, process.env.NODE_ENV === "production" ? Jt.exports = Ds() : Jt.exports =
|
|
721
|
+
return $n || ($n = 1, process.env.NODE_ENV === "production" ? Jt.exports = Ds() : Jt.exports = zs()), Jt.exports;
|
|
722
722
|
}
|
|
723
723
|
/*
|
|
724
724
|
object-assign
|
|
725
725
|
(c) Sindre Sorhus
|
|
726
726
|
@license MIT
|
|
727
727
|
*/
|
|
728
|
-
var
|
|
729
|
-
function
|
|
730
|
-
if (Zn) return
|
|
728
|
+
var zr, Zn;
|
|
729
|
+
function Bs() {
|
|
730
|
+
if (Zn) return zr;
|
|
731
731
|
Zn = 1;
|
|
732
732
|
var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, r = Object.prototype.propertyIsEnumerable;
|
|
733
733
|
function n(a) {
|
|
@@ -757,7 +757,7 @@ function zs() {
|
|
|
757
757
|
return !1;
|
|
758
758
|
}
|
|
759
759
|
}
|
|
760
|
-
return
|
|
760
|
+
return zr = o() ? Object.assign : function(a, c) {
|
|
761
761
|
for (var s, u = n(a), p, g = 1; g < arguments.length; g++) {
|
|
762
762
|
s = Object(arguments[g]);
|
|
763
763
|
for (var v in s)
|
|
@@ -769,14 +769,14 @@ function zs() {
|
|
|
769
769
|
}
|
|
770
770
|
}
|
|
771
771
|
return u;
|
|
772
|
-
},
|
|
772
|
+
}, zr;
|
|
773
773
|
}
|
|
774
|
-
var
|
|
774
|
+
var Br, Xn;
|
|
775
775
|
function bn() {
|
|
776
|
-
if (Xn) return
|
|
776
|
+
if (Xn) return Br;
|
|
777
777
|
Xn = 1;
|
|
778
778
|
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
779
|
-
return
|
|
779
|
+
return Br = e, Br;
|
|
780
780
|
}
|
|
781
781
|
var Ur, Vn;
|
|
782
782
|
function Ga() {
|
|
@@ -835,7 +835,7 @@ var Fr, qn;
|
|
|
835
835
|
function Ms() {
|
|
836
836
|
if (qn) return Fr;
|
|
837
837
|
qn = 1;
|
|
838
|
-
var e = Va(), t =
|
|
838
|
+
var e = Va(), t = Bs(), r = /* @__PURE__ */ bn(), n = /* @__PURE__ */ Ga(), o = /* @__PURE__ */ Us(), a = function() {
|
|
839
839
|
};
|
|
840
840
|
process.env.NODE_ENV !== "production" && (a = function(s) {
|
|
841
841
|
var u = "Warning: " + s;
|
|
@@ -865,7 +865,7 @@ function Ms() {
|
|
|
865
865
|
string: R("string"),
|
|
866
866
|
symbol: R("symbol"),
|
|
867
867
|
any: E(),
|
|
868
|
-
arrayOf:
|
|
868
|
+
arrayOf: z,
|
|
869
869
|
element: F(),
|
|
870
870
|
elementType: L(),
|
|
871
871
|
instanceOf: H,
|
|
@@ -923,7 +923,7 @@ function Ms() {
|
|
|
923
923
|
function E() {
|
|
924
924
|
return T(c);
|
|
925
925
|
}
|
|
926
|
-
function
|
|
926
|
+
function z(D) {
|
|
927
927
|
function U(M, W, q, V, G) {
|
|
928
928
|
if (typeof D != "function")
|
|
929
929
|
return new P("Property `" + G + "` of component `" + q + "` has invalid PropType notation inside arrayOf.");
|
|
@@ -966,7 +966,7 @@ function Ms() {
|
|
|
966
966
|
function H(D) {
|
|
967
967
|
function U(M, W, q, V, G) {
|
|
968
968
|
if (!(M[W] instanceof D)) {
|
|
969
|
-
var K = D.name || C, Q =
|
|
969
|
+
var K = D.name || C, Q = B(M[W]);
|
|
970
970
|
return new P("Invalid " + V + " `" + G + "` of type " + ("`" + Q + "` supplied to `" + q + "`, expected ") + ("instance of `" + K + "`."));
|
|
971
971
|
}
|
|
972
972
|
return null;
|
|
@@ -1146,7 +1146,7 @@ Valid keys: ` + JSON.stringify(Object.keys(D), null, " ")
|
|
|
1146
1146
|
return U;
|
|
1147
1147
|
}
|
|
1148
1148
|
}
|
|
1149
|
-
function
|
|
1149
|
+
function B(D) {
|
|
1150
1150
|
return !D.constructor || !D.constructor.name ? C : D.constructor.name;
|
|
1151
1151
|
}
|
|
1152
1152
|
return b.checkPropTypes = o, b.resetWarningCache = o.resetWarningCache, b.PropTypes = b, b;
|
|
@@ -1273,20 +1273,20 @@ function _n() {
|
|
|
1273
1273
|
});
|
|
1274
1274
|
var e = Object.assign || function(R) {
|
|
1275
1275
|
for (var E = 1; E < arguments.length; E++) {
|
|
1276
|
-
var
|
|
1277
|
-
for (var F in
|
|
1278
|
-
Object.prototype.hasOwnProperty.call(
|
|
1276
|
+
var z = arguments[E];
|
|
1277
|
+
for (var F in z)
|
|
1278
|
+
Object.prototype.hasOwnProperty.call(z, F) && (R[F] = z[F]);
|
|
1279
1279
|
}
|
|
1280
1280
|
return R;
|
|
1281
1281
|
}, t = /* @__PURE__ */ function() {
|
|
1282
|
-
function R(E,
|
|
1283
|
-
for (var F = 0; F <
|
|
1284
|
-
var L =
|
|
1282
|
+
function R(E, z) {
|
|
1283
|
+
for (var F = 0; F < z.length; F++) {
|
|
1284
|
+
var L = z[F];
|
|
1285
1285
|
L.enumerable = L.enumerable || !1, L.configurable = !0, "value" in L && (L.writable = !0), Object.defineProperty(E, L.key, L);
|
|
1286
1286
|
}
|
|
1287
1287
|
}
|
|
1288
|
-
return function(E,
|
|
1289
|
-
return
|
|
1288
|
+
return function(E, z, F) {
|
|
1289
|
+
return z && R(E.prototype, z), F && R(E, F), E;
|
|
1290
1290
|
};
|
|
1291
1291
|
}(), r = A, n = C(r), o = mn(), a = C(o), c = Tr(), s = C(c), u = /* @__PURE__ */ wr(), p = C(u), g = qa(), v = C(g);
|
|
1292
1292
|
function C(R) {
|
|
@@ -1329,7 +1329,7 @@ function _n() {
|
|
|
1329
1329
|
spyThrottle: p.default.number
|
|
1330
1330
|
};
|
|
1331
1331
|
return $t.default = function(R, E) {
|
|
1332
|
-
var
|
|
1332
|
+
var z = E || s.default, F = function(H) {
|
|
1333
1333
|
P(j, H);
|
|
1334
1334
|
function j(i) {
|
|
1335
1335
|
b(this, j);
|
|
@@ -1353,7 +1353,7 @@ function _n() {
|
|
|
1353
1353
|
var d = a.default.mount(l, this.props.spyThrottle);
|
|
1354
1354
|
this.beforeUnmountCallbacks.push(d);
|
|
1355
1355
|
}
|
|
1356
|
-
this.props.hashSpy && (v.default.isMounted() || v.default.mount(
|
|
1356
|
+
this.props.hashSpy && (v.default.isMounted() || v.default.mount(z), v.default.mapContainer(this.props.to, l)), a.default.addSpyHandler(this.spyHandler, l), this.setState({
|
|
1357
1357
|
container: l
|
|
1358
1358
|
});
|
|
1359
1359
|
}
|
|
@@ -1381,7 +1381,7 @@ function _n() {
|
|
|
1381
1381
|
}(n.default.PureComponent), L = function() {
|
|
1382
1382
|
var j = this;
|
|
1383
1383
|
this.scrollTo = function(i, l) {
|
|
1384
|
-
|
|
1384
|
+
z.scrollTo(i, e({}, j.state, l));
|
|
1385
1385
|
}, this.handleClick = function(i) {
|
|
1386
1386
|
j.props.onClick && j.props.onClick(i), i.stopPropagation && i.stopPropagation(), i.preventDefault && i.preventDefault(), j.scrollTo(j.props.to, j.props);
|
|
1387
1387
|
}, this.spyHandler = function(i, l) {
|
|
@@ -1391,11 +1391,11 @@ function _n() {
|
|
|
1391
1391
|
if (m) {
|
|
1392
1392
|
var k = 0, w = 0, O = 0;
|
|
1393
1393
|
if (d.getBoundingClientRect) {
|
|
1394
|
-
var
|
|
1395
|
-
O =
|
|
1394
|
+
var B = d.getBoundingClientRect();
|
|
1395
|
+
O = B.left;
|
|
1396
1396
|
}
|
|
1397
1397
|
if (!_ || j.props.isDynamic) {
|
|
1398
|
-
if (_ =
|
|
1398
|
+
if (_ = z.get(h), !_)
|
|
1399
1399
|
return;
|
|
1400
1400
|
var D = _.getBoundingClientRect();
|
|
1401
1401
|
k = D.left - O + i, w = k + D.width;
|
|
@@ -1409,7 +1409,7 @@ function _n() {
|
|
|
1409
1409
|
q = V.top;
|
|
1410
1410
|
}
|
|
1411
1411
|
if (!_ || j.props.isDynamic) {
|
|
1412
|
-
if (_ =
|
|
1412
|
+
if (_ = z.get(h), !_)
|
|
1413
1413
|
return;
|
|
1414
1414
|
var G = _.getBoundingClientRect();
|
|
1415
1415
|
M = G.top - q + l, W = M + G.height;
|
|
@@ -1417,16 +1417,16 @@ function _n() {
|
|
|
1417
1417
|
var K = l - j.props.offset;
|
|
1418
1418
|
y = K >= Math.floor(M) && K < Math.floor(W), S = K < Math.floor(M) || K >= Math.floor(W);
|
|
1419
1419
|
}
|
|
1420
|
-
var Q =
|
|
1420
|
+
var Q = z.getActiveLink();
|
|
1421
1421
|
if (S) {
|
|
1422
|
-
if (h === Q &&
|
|
1422
|
+
if (h === Q && z.setActiveLink(void 0), j.props.hashSpy && v.default.getHash() === h) {
|
|
1423
1423
|
var X = j.props.saveHashHistory, J = X === void 0 ? !1 : X;
|
|
1424
1424
|
v.default.changeHash("", J);
|
|
1425
1425
|
}
|
|
1426
1426
|
j.props.spy && j.state.active && (j.setState({ active: !1 }), j.props.onSetInactive && j.props.onSetInactive(h, _));
|
|
1427
1427
|
}
|
|
1428
1428
|
if (y && (Q !== h || j.state.active === !1)) {
|
|
1429
|
-
|
|
1429
|
+
z.setActiveLink(h);
|
|
1430
1430
|
var te = j.props.saveHashHistory, Z = te === void 0 ? !1 : te;
|
|
1431
1431
|
j.props.hashSpy && v.default.changeHash(h, Z), j.props.spy && (j.setState({ active: !0 }), j.props.onSetActive && j.props.onSetActive(h, _));
|
|
1432
1432
|
}
|
|
@@ -1673,8 +1673,8 @@ function Ws() {
|
|
|
1673
1673
|
var T = this, R = e({}, this.props);
|
|
1674
1674
|
return delete R.name, R.parentBindings && delete R.parentBindings, n.default.createElement(
|
|
1675
1675
|
"div",
|
|
1676
|
-
e({}, R, { ref: function(
|
|
1677
|
-
T.props.parentBindings.domNode =
|
|
1676
|
+
e({}, R, { ref: function(z) {
|
|
1677
|
+
T.props.parentBindings.domNode = z;
|
|
1678
1678
|
} }),
|
|
1679
1679
|
this.props.children
|
|
1680
1680
|
);
|
|
@@ -1746,15 +1746,15 @@ function $s() {
|
|
|
1746
1746
|
Scroll: function(b, x) {
|
|
1747
1747
|
console.warn("Helpers.Scroll is deprecated since v1.7.0");
|
|
1748
1748
|
var P = x || s, T = function(E) {
|
|
1749
|
-
o(
|
|
1750
|
-
function
|
|
1751
|
-
r(this,
|
|
1752
|
-
var L = n(this, (
|
|
1749
|
+
o(z, E);
|
|
1750
|
+
function z(F) {
|
|
1751
|
+
r(this, z);
|
|
1752
|
+
var L = n(this, (z.__proto__ || Object.getPrototypeOf(z)).call(this, F));
|
|
1753
1753
|
return R.call(L), L.state = {
|
|
1754
1754
|
active: !1
|
|
1755
1755
|
}, L;
|
|
1756
1756
|
}
|
|
1757
|
-
return t(
|
|
1757
|
+
return t(z, [{
|
|
1758
1758
|
key: "getScrollSpyContainer",
|
|
1759
1759
|
value: function() {
|
|
1760
1760
|
var L = this.props.containerId, H = this.props.container;
|
|
@@ -1785,34 +1785,34 @@ function $s() {
|
|
|
1785
1785
|
H.hasOwnProperty(j) && delete H[j];
|
|
1786
1786
|
return H.className = L, H.onClick = this.handleClick, a.createElement(b, H);
|
|
1787
1787
|
}
|
|
1788
|
-
}]),
|
|
1788
|
+
}]), z;
|
|
1789
1789
|
}(a.Component), R = function() {
|
|
1790
|
-
var
|
|
1790
|
+
var z = this;
|
|
1791
1791
|
this.scrollTo = function(F, L) {
|
|
1792
|
-
P.scrollTo(F, e({},
|
|
1792
|
+
P.scrollTo(F, e({}, z.state, L));
|
|
1793
1793
|
}, this.handleClick = function(F) {
|
|
1794
|
-
|
|
1794
|
+
z.props.onClick && z.props.onClick(F), F.stopPropagation && F.stopPropagation(), F.preventDefault && F.preventDefault(), z.scrollTo(z.props.to, z.props);
|
|
1795
1795
|
}, this.stateHandler = function() {
|
|
1796
|
-
P.getActiveLink() !==
|
|
1796
|
+
P.getActiveLink() !== z.props.to && (z.state !== null && z.state.active && z.props.onSetInactive && z.props.onSetInactive(), z.setState({ active: !1 }));
|
|
1797
1797
|
}, this.spyHandler = function(F) {
|
|
1798
|
-
var L =
|
|
1798
|
+
var L = z.getScrollSpyContainer();
|
|
1799
1799
|
if (!(p.isMounted() && !p.isInitialized())) {
|
|
1800
|
-
var H =
|
|
1800
|
+
var H = z.props.to, j = null, i = 0, l = 0, d = 0;
|
|
1801
1801
|
if (L.getBoundingClientRect) {
|
|
1802
1802
|
var m = L.getBoundingClientRect();
|
|
1803
1803
|
d = m.top;
|
|
1804
1804
|
}
|
|
1805
|
-
if (!j ||
|
|
1805
|
+
if (!j || z.props.isDynamic) {
|
|
1806
1806
|
if (j = P.get(H), !j)
|
|
1807
1807
|
return;
|
|
1808
1808
|
var h = j.getBoundingClientRect();
|
|
1809
1809
|
i = h.top - d + F, l = i + h.height;
|
|
1810
1810
|
}
|
|
1811
|
-
var _ = F -
|
|
1811
|
+
var _ = F - z.props.offset, y = _ >= Math.floor(i) && _ < Math.floor(l), S = _ < Math.floor(i) || _ >= Math.floor(l), k = P.getActiveLink();
|
|
1812
1812
|
if (S)
|
|
1813
|
-
return H === k && P.setActiveLink(void 0),
|
|
1813
|
+
return H === k && P.setActiveLink(void 0), z.props.hashSpy && p.getHash() === H && p.changeHash(), z.props.spy && z.state.active && (z.setState({ active: !1 }), z.props.onSetInactive && z.props.onSetInactive()), c.updateStates();
|
|
1814
1814
|
if (y && k !== H)
|
|
1815
|
-
return P.setActiveLink(H),
|
|
1815
|
+
return P.setActiveLink(H), z.props.hashSpy && p.changeHash(H), z.props.spy && (z.setState({ active: !0 }), z.props.onSetActive && z.props.onSetActive(H)), c.updateStates();
|
|
1816
1816
|
}
|
|
1817
1817
|
};
|
|
1818
1818
|
};
|
|
@@ -1874,14 +1874,14 @@ function Zs() {
|
|
|
1874
1874
|
io = 1, Object.defineProperty(ue, "__esModule", {
|
|
1875
1875
|
value: !0
|
|
1876
1876
|
}), ue.Helpers = ue.ScrollElement = ue.ScrollLink = ue.animateScroll = ue.scrollSpy = ue.Events = ue.scroller = ue.Element = ue.Button = ue.Link = void 0;
|
|
1877
|
-
var e = Hs(), t = F(e), r = js(), n = F(r), o = Ws(), a = F(o), c = Tr(), s = F(c), u = vn(), p = F(u), g = mn(), v = F(g), C = Xa(), b = F(C), x = _n(), P = F(x), T = Ya(), R = F(T), E = $s(),
|
|
1877
|
+
var e = Hs(), t = F(e), r = js(), n = F(r), o = Ws(), a = F(o), c = Tr(), s = F(c), u = vn(), p = F(u), g = mn(), v = F(g), C = Xa(), b = F(C), x = _n(), P = F(x), T = Ya(), R = F(T), E = $s(), z = F(E);
|
|
1878
1878
|
function F(L) {
|
|
1879
1879
|
return L && L.__esModule ? L : { default: L };
|
|
1880
1880
|
}
|
|
1881
|
-
return ue.Link = t.default, ue.Button = n.default, ue.Element = a.default, ue.scroller = s.default, ue.Events = p.default, ue.scrollSpy = v.default, ue.animateScroll = b.default, ue.ScrollLink = P.default, ue.ScrollElement = R.default, ue.Helpers =
|
|
1881
|
+
return ue.Link = t.default, ue.Button = n.default, ue.Element = a.default, ue.scroller = s.default, ue.Events = p.default, ue.scrollSpy = v.default, ue.animateScroll = b.default, ue.ScrollLink = P.default, ue.ScrollElement = R.default, ue.Helpers = z.default, ue.default = { Link: t.default, Button: n.default, Element: a.default, scroller: s.default, Events: p.default, scrollSpy: v.default, animateScroll: b.default, ScrollLink: P.default, ScrollElement: R.default, Helpers: z.default }, ue;
|
|
1882
1882
|
}
|
|
1883
1883
|
var cr = Zs();
|
|
1884
|
-
const Ka = (e) => /* @__PURE__ */ I.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", ...e }, /* @__PURE__ */ I.createElement("path", { d: "M11.535 11.293a1 1 0 0 0 0 1.414l3.536 3.536a1 1 0 1 1-1.414 1.414l-4.95-4.95a1 1 0 0 1 0-1.414l4.95-4.95a1 1 0 1 1 1.414 1.414l-3.536 3.536Z", fill: "currentColor" })),
|
|
1884
|
+
const Ka = (e) => /* @__PURE__ */ I.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", ...e }, /* @__PURE__ */ I.createElement("path", { d: "M11.535 11.293a1 1 0 0 0 0 1.414l3.536 3.536a1 1 0 1 1-1.414 1.414l-4.95-4.95a1 1 0 0 1 0-1.414l4.95-4.95a1 1 0 1 1 1.414 1.414l-3.536 3.536Z", fill: "currentColor" })), zp = I.forwardRef(function(t, r) {
|
|
1885
1885
|
const { children: n, indicatorPlacement: o, variant: a, noIndicator: c, ...s } = t, u = a === "faq" ? "start" : o ?? "end", p = a === "faq" ? /* @__PURE__ */ f(
|
|
1886
1886
|
lt.ItemIndicator,
|
|
1887
1887
|
{
|
|
@@ -1926,7 +1926,7 @@ const Ka = (e) => /* @__PURE__ */ I.createElement("svg", { viewBox: "0 0 24 24",
|
|
|
1926
1926
|
n,
|
|
1927
1927
|
u === "end" && !c && p
|
|
1928
1928
|
] });
|
|
1929
|
-
}),
|
|
1929
|
+
}), Bp = I.forwardRef(function(t, r) {
|
|
1930
1930
|
return /* @__PURE__ */ f(lt.ItemContent, { children: /* @__PURE__ */ f(lt.ItemBody, { ...t, ref: r }) });
|
|
1931
1931
|
}), Up = (e) => {
|
|
1932
1932
|
const { multiple: t = !0, ...r } = e;
|
|
@@ -1989,7 +1989,7 @@ const Xs = (e) => /* @__PURE__ */ I.createElement("svg", { viewBox: "0 0 20 20",
|
|
|
1989
1989
|
}), jp = I.forwardRef(
|
|
1990
1990
|
function(t, r) {
|
|
1991
1991
|
const { noOfLines: n = 3, gap: o, ...a } = t;
|
|
1992
|
-
return /* @__PURE__ */ f(
|
|
1992
|
+
return /* @__PURE__ */ f(za, { gap: o, width: "full", ref: r, children: Array.from({ length: n }).map((c, s) => /* @__PURE__ */ f(
|
|
1993
1993
|
dn,
|
|
1994
1994
|
{
|
|
1995
1995
|
height: "4",
|
|
@@ -2032,7 +2032,7 @@ const Xs = (e) => /* @__PURE__ */ I.createElement("svg", { viewBox: "0 0 20 20",
|
|
|
2032
2032
|
), Wp = I.forwardRef(
|
|
2033
2033
|
function(t, r) {
|
|
2034
2034
|
const { ...n } = t;
|
|
2035
|
-
return /* @__PURE__ */ f(
|
|
2035
|
+
return /* @__PURE__ */ f(Ba, { ref: r, ...n });
|
|
2036
2036
|
}
|
|
2037
2037
|
), $p = I.forwardRef(
|
|
2038
2038
|
function(t, r) {
|
|
@@ -2048,7 +2048,7 @@ const Xs = (e) => /* @__PURE__ */ I.createElement("svg", { viewBox: "0 0 20 20",
|
|
|
2048
2048
|
variant: a
|
|
2049
2049
|
})), P = I.Children.count(n);
|
|
2050
2050
|
return /* @__PURE__ */ f(ve, { loading: s, children: /* @__PURE__ */ f(
|
|
2051
|
-
|
|
2051
|
+
Ba,
|
|
2052
2052
|
{
|
|
2053
2053
|
ref: r,
|
|
2054
2054
|
gap: 0,
|
|
@@ -2121,7 +2121,7 @@ const Xs = (e) => /* @__PURE__ */ I.createElement("svg", { viewBox: "0 0 20 20",
|
|
|
2121
2121
|
showIcon: C = !1,
|
|
2122
2122
|
descriptionProps: b,
|
|
2123
2123
|
...x
|
|
2124
|
-
} = t, [P, T] = I.useState(!0), R = /* @__PURE__ */ f(he, { boxSize: 5, children: /* @__PURE__ */ f(Xs, {}) }), E = u !== void 0 ? u : !C && a === void 0 ? null : /* @__PURE__ */ f(ft.Indicator, { children: a || R }),
|
|
2124
|
+
} = t, [P, T] = I.useState(!0), R = /* @__PURE__ */ f(he, { boxSize: 5, children: /* @__PURE__ */ f(Xs, {}) }), E = u !== void 0 ? u : !C && a === void 0 ? null : /* @__PURE__ */ f(ft.Indicator, { children: a || R }), z = I.useCallback(() => {
|
|
2125
2125
|
T(!1), s == null || s();
|
|
2126
2126
|
}, [s]);
|
|
2127
2127
|
return c && !P ? null : /* @__PURE__ */ f(ve, { loading: g, asChild: !0, children: /* @__PURE__ */ $(ft.Root, { ref: r, size: v ?? { base: "sm", lg: "md" }, ...x, children: [
|
|
@@ -2137,7 +2137,7 @@ const Xs = (e) => /* @__PURE__ */ I.createElement("svg", { viewBox: "0 0 20 20",
|
|
|
2137
2137
|
pos: "relative",
|
|
2138
2138
|
m: { base: v === "md" ? 0.5 : 0, lg: v === "sm" ? 0 : 0.5 },
|
|
2139
2139
|
alignSelf: "flex-start",
|
|
2140
|
-
onClick:
|
|
2140
|
+
onClick: z
|
|
2141
2141
|
}
|
|
2142
2142
|
)
|
|
2143
2143
|
] }) });
|
|
@@ -2197,10 +2197,10 @@ function Ys() {
|
|
|
2197
2197
|
}
|
|
2198
2198
|
function c(T, R) {
|
|
2199
2199
|
function E() {
|
|
2200
|
-
var F =
|
|
2200
|
+
var F = z;
|
|
2201
2201
|
a(F) && F.a.parentNode && R(F.g);
|
|
2202
2202
|
}
|
|
2203
|
-
var
|
|
2203
|
+
var z = T;
|
|
2204
2204
|
t(T.b, E), t(T.c, E), a(T);
|
|
2205
2205
|
}
|
|
2206
2206
|
function s(T, R) {
|
|
@@ -2233,12 +2233,12 @@ function Ys() {
|
|
|
2233
2233
|
return [T.style, T.weight, x() ? T.stretch : "", "100px", R].join(" ");
|
|
2234
2234
|
}
|
|
2235
2235
|
s.prototype.load = function(T, R) {
|
|
2236
|
-
var E = this,
|
|
2236
|
+
var E = this, z = T || "BESbswy", F = 0, L = R || 3e3, H = (/* @__PURE__ */ new Date()).getTime();
|
|
2237
2237
|
return new Promise(function(j, i) {
|
|
2238
2238
|
if (b() && !C()) {
|
|
2239
2239
|
var l = new Promise(function(m, h) {
|
|
2240
2240
|
function _() {
|
|
2241
|
-
(/* @__PURE__ */ new Date()).getTime() - H >= L ? h(Error("" + L + "ms timeout exceeded")) : document.fonts.load(P(E, '"' + E.family + '"'),
|
|
2241
|
+
(/* @__PURE__ */ new Date()).getTime() - H >= L ? h(Error("" + L + "ms timeout exceeded")) : document.fonts.load(P(E, '"' + E.family + '"'), z).then(function(y) {
|
|
2242
2242
|
1 <= y.length ? m() : setTimeout(_, 25);
|
|
2243
2243
|
}, h);
|
|
2244
2244
|
}
|
|
@@ -2257,7 +2257,7 @@ function Ys() {
|
|
|
2257
2257
|
} else r(function() {
|
|
2258
2258
|
function m() {
|
|
2259
2259
|
var W;
|
|
2260
|
-
(W = k != -1 && w != -1 || k != -1 && O != -1 || w != -1 && O != -1) && ((W = k != w && k != O && w != O) || (u === null && (W = /AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent), u = !!W && (536 > parseInt(W[1], 10) || parseInt(W[1], 10) === 536 && 11 >= parseInt(W[2], 10))), W = u && (k ==
|
|
2260
|
+
(W = k != -1 && w != -1 || k != -1 && O != -1 || w != -1 && O != -1) && ((W = k != w && k != O && w != O) || (u === null && (W = /AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent), u = !!W && (536 > parseInt(W[1], 10) || parseInt(W[1], 10) === 536 && 11 >= parseInt(W[2], 10))), W = u && (k == B && w == B && O == B || k == D && w == D && O == D || k == U && w == U && O == U)), W = !W), W && (M.parentNode && M.parentNode.removeChild(M), clearTimeout(F), j(E));
|
|
2261
2261
|
}
|
|
2262
2262
|
function h() {
|
|
2263
2263
|
if ((/* @__PURE__ */ new Date()).getTime() - H >= L) M.parentNode && M.parentNode.removeChild(M), i(Error("" + L + "ms timeout exceeded"));
|
|
@@ -2266,8 +2266,8 @@ function Ys() {
|
|
|
2266
2266
|
(W === !0 || W === void 0) && (k = _.a.offsetWidth, w = y.a.offsetWidth, O = S.a.offsetWidth, m()), F = setTimeout(h, 50);
|
|
2267
2267
|
}
|
|
2268
2268
|
}
|
|
2269
|
-
var _ = new n(
|
|
2270
|
-
M.dir = "ltr", o(_, P(E, "sans-serif")), o(y, P(E, "serif")), o(S, P(E, "monospace")), M.appendChild(_.a), M.appendChild(y.a), M.appendChild(S.a), document.body.appendChild(M),
|
|
2269
|
+
var _ = new n(z), y = new n(z), S = new n(z), k = -1, w = -1, O = -1, B = -1, D = -1, U = -1, M = document.createElement("div");
|
|
2270
|
+
M.dir = "ltr", o(_, P(E, "sans-serif")), o(y, P(E, "serif")), o(S, P(E, "monospace")), M.appendChild(_.a), M.appendChild(y.a), M.appendChild(S.a), document.body.appendChild(M), B = _.a.offsetWidth, D = y.a.offsetWidth, U = S.a.offsetWidth, h(), c(_, function(W) {
|
|
2271
2271
|
k = W, m();
|
|
2272
2272
|
}), o(
|
|
2273
2273
|
_,
|
|
@@ -2629,7 +2629,7 @@ const Pc = 18, lo = N("NEXT_PUBLIC_ROLLUP_TYPE"), Nc = lo === "arbitrum" ? "post
|
|
|
2629
2629
|
rpcUrls: Dc,
|
|
2630
2630
|
isTestnet: N("NEXT_PUBLIC_IS_TESTNET") === "true",
|
|
2631
2631
|
verificationType: Nc
|
|
2632
|
-
}),
|
|
2632
|
+
}), zc = N("NEXT_PUBLIC_ADVANCED_FILTER_ENABLED") === "false", so = "Advanced filter", Bc = Object.freeze(zc ? {
|
|
2633
2633
|
title: so,
|
|
2634
2634
|
isEnabled: !1
|
|
2635
2635
|
} : {
|
|
@@ -2895,14 +2895,14 @@ const Pc = 18, lo = N("NEXT_PUBLIC_ROLLUP_TYPE"), Nc = lo === "arbitrum" ? "post
|
|
|
2895
2895
|
} : {
|
|
2896
2896
|
title: Do,
|
|
2897
2897
|
isEnabled: !1
|
|
2898
|
-
}), ir = le(N("NEXT_PUBLIC_TX_EXTERNAL_TRANSACTIONS_CONFIG")),
|
|
2899
|
-
title:
|
|
2898
|
+
}), ir = le(N("NEXT_PUBLIC_TX_EXTERNAL_TRANSACTIONS_CONFIG")), zo = "External transactions", a0 = Object.freeze(ir ? {
|
|
2899
|
+
title: zo,
|
|
2900
2900
|
isEnabled: !0,
|
|
2901
2901
|
chainName: ir.chain_name,
|
|
2902
2902
|
chainLogoUrl: ir.chain_logo_url,
|
|
2903
2903
|
explorerUrlTemplate: ir.explorer_url_template
|
|
2904
2904
|
} : {
|
|
2905
|
-
title:
|
|
2905
|
+
title: zo,
|
|
2906
2906
|
isEnabled: !1
|
|
2907
2907
|
}), l0 = [
|
|
2908
2908
|
"optimistic",
|
|
@@ -2914,14 +2914,14 @@ const Pc = 18, lo = N("NEXT_PUBLIC_ROLLUP_TYPE"), Nc = lo === "arbitrum" ? "post
|
|
|
2914
2914
|
], vt = (() => {
|
|
2915
2915
|
const e = N("NEXT_PUBLIC_ROLLUP_TYPE");
|
|
2916
2916
|
return l0.find((t) => t === e);
|
|
2917
|
-
})(), s0 = N("NEXT_PUBLIC_ROLLUP_L2_WITHDRAWAL_URL"),
|
|
2918
|
-
const e = le(N("NEXT_PUBLIC_ROLLUP_PARENT_CHAIN"))
|
|
2919
|
-
if (
|
|
2917
|
+
})(), s0 = N("NEXT_PUBLIC_ROLLUP_L2_WITHDRAWAL_URL"), Bo = (() => {
|
|
2918
|
+
const e = le(N("NEXT_PUBLIC_ROLLUP_PARENT_CHAIN"));
|
|
2919
|
+
if (e != null && e.baseUrl)
|
|
2920
2920
|
return {
|
|
2921
2921
|
...e,
|
|
2922
|
-
baseUrl:
|
|
2922
|
+
baseUrl: Sr(e.baseUrl)
|
|
2923
2923
|
};
|
|
2924
|
-
})(), Uo = "Rollup (L2) chain", _t = Object.freeze(vt &&
|
|
2924
|
+
})(), Uo = "Rollup (L2) chain", _t = Object.freeze(vt && Bo ? {
|
|
2925
2925
|
title: Uo,
|
|
2926
2926
|
isEnabled: !0,
|
|
2927
2927
|
type: vt,
|
|
@@ -2933,7 +2933,7 @@ const Pc = 18, lo = N("NEXT_PUBLIC_ROLLUP_TYPE"), Nc = lo === "arbitrum" ? "post
|
|
|
2933
2933
|
homepage: {
|
|
2934
2934
|
showLatestBlocks: N("NEXT_PUBLIC_ROLLUP_HOMEPAGE_SHOW_LATEST_BLOCKS") === "true"
|
|
2935
2935
|
},
|
|
2936
|
-
parentChain:
|
|
2936
|
+
parentChain: Bo,
|
|
2937
2937
|
DA: {
|
|
2938
2938
|
celestia: {
|
|
2939
2939
|
namespace: vt === "arbitrum" ? N("NEXT_PUBLIC_ROLLUP_DA_CELESTIA_NAMESPACE") : void 0,
|
|
@@ -3122,13 +3122,13 @@ const Pc = 18, lo = N("NEXT_PUBLIC_ROLLUP_TYPE"), Nc = lo === "arbitrum" ? "post
|
|
|
3122
3122
|
}) : Object.freeze({
|
|
3123
3123
|
title: ui,
|
|
3124
3124
|
isEnabled: !1
|
|
3125
|
-
}), di = "Rewards service integration",
|
|
3125
|
+
}), di = "Rewards service integration", z0 = !be.isPrivateMode && pe.rewards && tt.isEnabled && tt.authProvider === "auth0" && Cn.isEnabled ? Object.freeze({
|
|
3126
3126
|
title: di,
|
|
3127
3127
|
isEnabled: !0
|
|
3128
3128
|
}) : Object.freeze({
|
|
3129
3129
|
title: di,
|
|
3130
3130
|
isEnabled: !1
|
|
3131
|
-
}), fi = N("NEXT_PUBLIC_ROLLBAR_CLIENT_TOKEN"),
|
|
3131
|
+
}), fi = N("NEXT_PUBLIC_ROLLBAR_CLIENT_TOKEN"), B0 = (() => {
|
|
3132
3132
|
var t;
|
|
3133
3133
|
const e = N("NEXT_PUBLIC_APP_INSTANCE");
|
|
3134
3134
|
return e || ((t = be.host) == null ? void 0 : t.replace(".blockscout.com", "").replace(".k8s-dev", "").replaceAll("-", "_"));
|
|
@@ -3137,7 +3137,7 @@ const Pc = 18, lo = N("NEXT_PUBLIC_ROLLUP_TYPE"), Nc = lo === "arbitrum" ? "post
|
|
|
3137
3137
|
isEnabled: !0,
|
|
3138
3138
|
clientToken: fi,
|
|
3139
3139
|
environment: U0,
|
|
3140
|
-
instance:
|
|
3140
|
+
instance: B0,
|
|
3141
3141
|
codeVersion: M0
|
|
3142
3142
|
}) : Object.freeze({
|
|
3143
3143
|
title: hi,
|
|
@@ -3291,7 +3291,7 @@ const xi = "User profile API", K0 = !be.isPrivateMode && at && Y0(at.api_url_tem
|
|
|
3291
3291
|
addressVerification: Mc,
|
|
3292
3292
|
adsBanner: Wc,
|
|
3293
3293
|
adsText: Gc,
|
|
3294
|
-
advancedFilter:
|
|
3294
|
+
advancedFilter: Bc,
|
|
3295
3295
|
apiDocs: qc,
|
|
3296
3296
|
beaconChain: Yc,
|
|
3297
3297
|
blockchainInteraction: Cn,
|
|
@@ -3321,7 +3321,7 @@ const xi = "User profile API", K0 = !be.isPrivateMode && at && Y0(at.api_url_tem
|
|
|
3321
3321
|
nameServices: L0,
|
|
3322
3322
|
pools: N0,
|
|
3323
3323
|
publicTagsSubmission: D0,
|
|
3324
|
-
rewards:
|
|
3324
|
+
rewards: z0,
|
|
3325
3325
|
rollbar: F0,
|
|
3326
3326
|
rollup: _t,
|
|
3327
3327
|
safe: j0,
|
|
@@ -3569,7 +3569,7 @@ function kr(e = !1) {
|
|
|
3569
3569
|
}
|
|
3570
3570
|
const Ut = I.forwardRef(
|
|
3571
3571
|
function(t, r) {
|
|
3572
|
-
var
|
|
3572
|
+
var B;
|
|
3573
3573
|
const {
|
|
3574
3574
|
showArrow: n,
|
|
3575
3575
|
onOpenChange: o,
|
|
@@ -3587,7 +3587,7 @@ const Ut = I.forwardRef(
|
|
|
3587
3587
|
unmountOnExit: T = !0,
|
|
3588
3588
|
triggerProps: R,
|
|
3589
3589
|
closeDelay: E = 100,
|
|
3590
|
-
openDelay:
|
|
3590
|
+
openDelay: z = 100,
|
|
3591
3591
|
interactive: F,
|
|
3592
3592
|
...L
|
|
3593
3593
|
} = t, [H, j] = I.useState(x), i = I.useRef(null), l = kr(), d = I.useCallback((D) => {
|
|
@@ -3595,8 +3595,8 @@ const Ut = I.forwardRef(
|
|
|
3595
3595
|
}, [o]), m = I.useCallback((D) => {
|
|
3596
3596
|
i.current && window.clearTimeout(i.current), i.current = window.setTimeout(() => {
|
|
3597
3597
|
j(D), o == null || o({ open: D });
|
|
3598
|
-
}, D ?
|
|
3599
|
-
}, [E,
|
|
3598
|
+
}, D ? z : E);
|
|
3599
|
+
}, [E, z, o]), h = I.useCallback((D) => {
|
|
3600
3600
|
var U;
|
|
3601
3601
|
F && ((U = D.target) != null && U.closest(".chakra-tooltip__positioner")) || m(!1);
|
|
3602
3602
|
}, [F, m]), _ = Ss(h), y = I.useCallback(() => {
|
|
@@ -3613,13 +3613,13 @@ const Ut = I.forwardRef(
|
|
|
3613
3613
|
overflowPadding: 4,
|
|
3614
3614
|
offset: {
|
|
3615
3615
|
mainAxis: 4,
|
|
3616
|
-
...(
|
|
3616
|
+
...(B = L.positioning) == null ? void 0 : B.offset
|
|
3617
3617
|
}
|
|
3618
3618
|
};
|
|
3619
3619
|
return /* @__PURE__ */ $(
|
|
3620
3620
|
ht.Root,
|
|
3621
3621
|
{
|
|
3622
|
-
openDelay:
|
|
3622
|
+
openDelay: z,
|
|
3623
3623
|
closeDelay: nt.app.isPw ? 1e4 : E,
|
|
3624
3624
|
open: H,
|
|
3625
3625
|
onOpenChange: d,
|
|
@@ -3678,7 +3678,7 @@ var $i;
|
|
|
3678
3678
|
const Nu = (($i = nt.UI.fonts.heading) == null ? void 0 : $i.name) ?? "Poppins", Du = {
|
|
3679
3679
|
heading: { value: `${Nu}, sans-serif` },
|
|
3680
3680
|
body: { value: `${sl}, sans-serif` }
|
|
3681
|
-
},
|
|
3681
|
+
}, zu = {
|
|
3682
3682
|
heading: {
|
|
3683
3683
|
xl: {
|
|
3684
3684
|
value: {
|
|
@@ -3813,7 +3813,7 @@ const Nu = (($i = nt.UI.fonts.heading) == null ? void 0 : $i.name) ?? "Poppins",
|
|
|
3813
3813
|
o != null && /* @__PURE__ */ f(wt.Label, { children: o })
|
|
3814
3814
|
] });
|
|
3815
3815
|
}
|
|
3816
|
-
),
|
|
3816
|
+
), Bu = I.forwardRef(
|
|
3817
3817
|
function(t, r) {
|
|
3818
3818
|
const { children: n, orientation: o = "vertical", ...a } = t;
|
|
3819
3819
|
return /* @__PURE__ */ f(
|
|
@@ -4013,7 +4013,7 @@ function $u() {
|
|
|
4013
4013
|
}
|
|
4014
4014
|
};
|
|
4015
4015
|
}
|
|
4016
|
-
function
|
|
4016
|
+
function zt(e, t) {
|
|
4017
4017
|
const { colorMode: r } = $u();
|
|
4018
4018
|
return r === "dark" ? t : e;
|
|
4019
4019
|
}
|
|
@@ -4152,32 +4152,32 @@ const vl = I.forwardRef(
|
|
|
4152
4152
|
bgColor: u.bgColor,
|
|
4153
4153
|
disabled: u.disabled,
|
|
4154
4154
|
readOnly: u.readOnly
|
|
4155
|
-
}, b = /* @__PURE__ */ $(
|
|
4155
|
+
}, b = /* @__PURE__ */ $(ze.Label, { bgColor: u.bgColor, children: [
|
|
4156
4156
|
n,
|
|
4157
|
-
/* @__PURE__ */ f(
|
|
4158
|
-
c && /* @__PURE__ */ $(
|
|
4157
|
+
/* @__PURE__ */ f(ze.RequiredIndicator, { fallback: s }),
|
|
4158
|
+
c && /* @__PURE__ */ $(ze.ErrorText, { ml: "2px", children: [
|
|
4159
4159
|
"-",
|
|
4160
4160
|
gl,
|
|
4161
4161
|
c
|
|
4162
4162
|
] })
|
|
4163
|
-
] }), x = a && /* @__PURE__ */ f(
|
|
4163
|
+
] }), x = a && /* @__PURE__ */ f(ze.HelperText, { children: a }), P = I.Children.only(o);
|
|
4164
4164
|
if (ml(P.type) === "InputGroup") {
|
|
4165
4165
|
const E = I.cloneElement(
|
|
4166
4166
|
I.Children.only(P.props.children),
|
|
4167
4167
|
C
|
|
4168
|
-
),
|
|
4168
|
+
), z = I.cloneElement(
|
|
4169
4169
|
P,
|
|
4170
4170
|
{},
|
|
4171
4171
|
E,
|
|
4172
4172
|
b
|
|
4173
4173
|
);
|
|
4174
|
-
return /* @__PURE__ */ $(
|
|
4175
|
-
|
|
4174
|
+
return /* @__PURE__ */ $(ze.Root, { pos: "relative", w: "full", ref: r, ...u, children: [
|
|
4175
|
+
z,
|
|
4176
4176
|
x
|
|
4177
4177
|
] });
|
|
4178
4178
|
}
|
|
4179
4179
|
const R = I.cloneElement(P, C);
|
|
4180
|
-
return /* @__PURE__ */ $(
|
|
4180
|
+
return /* @__PURE__ */ $(ze.Root, { pos: "relative", w: "full", ref: r, ...u, children: [
|
|
4181
4181
|
R,
|
|
4182
4182
|
b,
|
|
4183
4183
|
x
|
|
@@ -4186,14 +4186,14 @@ const vl = I.forwardRef(
|
|
|
4186
4186
|
const p = {
|
|
4187
4187
|
size: u.size
|
|
4188
4188
|
}, g = I.Children.only(o), v = I.cloneElement(g, p);
|
|
4189
|
-
return /* @__PURE__ */ $(
|
|
4190
|
-
n && /* @__PURE__ */ $(
|
|
4189
|
+
return /* @__PURE__ */ $(ze.Root, { ref: r, ...u, children: [
|
|
4190
|
+
n && /* @__PURE__ */ $(ze.Label, { children: [
|
|
4191
4191
|
n,
|
|
4192
|
-
/* @__PURE__ */ f(
|
|
4192
|
+
/* @__PURE__ */ f(ze.RequiredIndicator, { fallback: s })
|
|
4193
4193
|
] }),
|
|
4194
4194
|
v,
|
|
4195
|
-
a && /* @__PURE__ */ f(
|
|
4196
|
-
c && /* @__PURE__ */ f(
|
|
4195
|
+
a && /* @__PURE__ */ f(ze.HelperText, { children: a }),
|
|
4196
|
+
c && /* @__PURE__ */ f(ze.ErrorText, { children: c })
|
|
4197
4197
|
] });
|
|
4198
4198
|
}
|
|
4199
4199
|
), Td = A.forwardRef(
|
|
@@ -4264,30 +4264,30 @@ const vl = I.forwardRef(
|
|
|
4264
4264
|
...g
|
|
4265
4265
|
} = t, v = I.useRef(null), C = I.useRef(null), b = I.useRef(null), [x, P] = I.useState(), T = I.useCallback(() => {
|
|
4266
4266
|
var F, L;
|
|
4267
|
-
const E = ((F = v.current) == null ? void 0 : F.getBoundingClientRect().width) ?? 0,
|
|
4267
|
+
const E = ((F = v.current) == null ? void 0 : F.getBoundingClientRect().width) ?? 0, z = ((L = C.current) == null ? void 0 : L.getBoundingClientRect().width) ?? 0;
|
|
4268
4268
|
P({
|
|
4269
4269
|
start: E,
|
|
4270
|
-
end:
|
|
4270
|
+
end: z
|
|
4271
4271
|
});
|
|
4272
4272
|
}, []);
|
|
4273
4273
|
I.useEffect(() => {
|
|
4274
4274
|
if (!b.current) return;
|
|
4275
4275
|
let E;
|
|
4276
|
-
const
|
|
4276
|
+
const z = new IntersectionObserver(
|
|
4277
4277
|
(F) => {
|
|
4278
4278
|
const L = F[0];
|
|
4279
4279
|
L && L.isIntersecting && (E = setTimeout(T, 50));
|
|
4280
4280
|
},
|
|
4281
4281
|
{ threshold: 0.01 }
|
|
4282
4282
|
);
|
|
4283
|
-
return
|
|
4284
|
-
|
|
4283
|
+
return z.observe(b.current), () => {
|
|
4284
|
+
z.disconnect(), E && clearTimeout(E);
|
|
4285
4285
|
};
|
|
4286
4286
|
}, [T]), I.useEffect(() => {
|
|
4287
4287
|
T();
|
|
4288
|
-
const E = Cr(T, 300),
|
|
4289
|
-
return b.current &&
|
|
4290
|
-
|
|
4288
|
+
const E = Cr(T, 300), z = new ResizeObserver(E);
|
|
4289
|
+
return b.current && z.observe(b.current), function() {
|
|
4290
|
+
z.disconnect();
|
|
4291
4291
|
};
|
|
4292
4292
|
}, [T]);
|
|
4293
4293
|
const R = I.useCallback((E) => {
|
|
@@ -4464,7 +4464,7 @@ const Nd = I.forwardRef(
|
|
|
4464
4464
|
}
|
|
4465
4465
|
};
|
|
4466
4466
|
return /* @__PURE__ */ f(ge.Root, { ...n, positioning: o, lazyMount: t, unmountOnExit: r });
|
|
4467
|
-
}, Ag = ge.Separator, ar = ge.Item, Ig = ge.ItemText, Og = ge.ItemCommand,
|
|
4467
|
+
}, Ag = ge.Separator, ar = ge.Item, Ig = ge.ItemText, Og = ge.ItemCommand, zd = ge.Trigger, Rg = I.forwardRef(
|
|
4468
4468
|
function(t, r) {
|
|
4469
4469
|
const { count: n = 6, inputProps: o, rootRef: a, attached: c, placeholder: s = " ", bgColor: u, ...p } = t;
|
|
4470
4470
|
return /* @__PURE__ */ $(Ht.Root, { ref: a, placeholder: s, ...p, children: [
|
|
@@ -4472,7 +4472,7 @@ const Nd = I.forwardRef(
|
|
|
4472
4472
|
/* @__PURE__ */ f(Ht.Control, { children: /* @__PURE__ */ f(fn, { attached: c, children: Array.from({ length: n }).map((g, v) => /* @__PURE__ */ f(Ht.Input, { index: v, bgColor: u }, v)) }) })
|
|
4473
4473
|
] });
|
|
4474
4474
|
}
|
|
4475
|
-
),
|
|
4475
|
+
), Bd = I.forwardRef(function(t, r) {
|
|
4476
4476
|
const { portalled: n = !0, portalRef: o, ...a } = t;
|
|
4477
4477
|
return /* @__PURE__ */ f(ct, { disabled: !n, container: o, children: /* @__PURE__ */ f(Se.Positioner, { children: /* @__PURE__ */ f(Se.Content, { ref: r, ...a }) }) });
|
|
4478
4478
|
}), Lg = I.forwardRef(function(t, r) {
|
|
@@ -4524,7 +4524,7 @@ const Nd = I.forwardRef(
|
|
|
4524
4524
|
}, Fd = I.forwardRef(function(t, r) {
|
|
4525
4525
|
const { asChild: n = !0, ...o } = t;
|
|
4526
4526
|
return /* @__PURE__ */ f(Se.Trigger, { asChild: n, ref: r, ...o });
|
|
4527
|
-
}), Ng = Se.Title, Dg = Se.Description,
|
|
4527
|
+
}), Ng = Se.Title, Dg = Se.Description, zg = Se.Footer, Bg = Se.Header, Hd = Se.Body, Ug = I.forwardRef(
|
|
4528
4528
|
function(t, r) {
|
|
4529
4529
|
const { trackProps: n, color: o, ...a } = t;
|
|
4530
4530
|
return /* @__PURE__ */ f(Nr.Root, { ...a, ref: r, children: /* @__PURE__ */ f(Nr.Track, { ...n, children: /* @__PURE__ */ f(Nr.Range, { bg: o }) }) });
|
|
@@ -4575,7 +4575,7 @@ const Nd = I.forwardRef(
|
|
|
4575
4575
|
// these breakpoint are needed just to make others work
|
|
4576
4576
|
"3xl": "3000px"
|
|
4577
4577
|
};
|
|
4578
|
-
function
|
|
4578
|
+
function Bt(e) {
|
|
4579
4579
|
var r;
|
|
4580
4580
|
if (typeof e != "object" || e == null)
|
|
4581
4581
|
return !1;
|
|
@@ -4611,14 +4611,14 @@ function Or(e, t, r) {
|
|
|
4611
4611
|
function Xd(e, t) {
|
|
4612
4612
|
if (t.has(e))
|
|
4613
4613
|
return t.get(e);
|
|
4614
|
-
if (
|
|
4614
|
+
if (Bt(e)) {
|
|
4615
4615
|
const r = {};
|
|
4616
4616
|
return t.set(e, r), Or(r, e, t), r;
|
|
4617
4617
|
}
|
|
4618
4618
|
return e;
|
|
4619
4619
|
}
|
|
4620
4620
|
function Vd(e, t, r) {
|
|
4621
|
-
if (
|
|
4621
|
+
if (Bt(e) && Bt(t)) {
|
|
4622
4622
|
r.set(t, e), Or(e, t, r);
|
|
4623
4623
|
return;
|
|
4624
4624
|
}
|
|
@@ -4627,7 +4627,7 @@ function Vd(e, t, r) {
|
|
|
4627
4627
|
function Gd(e, t, r) {
|
|
4628
4628
|
const n = Math.min(t.length, e.length);
|
|
4629
4629
|
for (let o = 0; o < n; o++)
|
|
4630
|
-
|
|
4630
|
+
Bt(e[o]) && Bt(t[o]) && Or(e[o], t[o], r);
|
|
4631
4631
|
for (let o = n; o < t.length; o++)
|
|
4632
4632
|
e.push(t[o]);
|
|
4633
4633
|
}
|
|
@@ -8928,7 +8928,7 @@ const S1 = fe({
|
|
|
8928
8928
|
size: "md",
|
|
8929
8929
|
variant: "solid"
|
|
8930
8930
|
}
|
|
8931
|
-
}),
|
|
8931
|
+
}), z1 = fe({
|
|
8932
8932
|
slots: ["root", "label", "startElement", "endElement", "closeTrigger"],
|
|
8933
8933
|
base: {
|
|
8934
8934
|
root: {
|
|
@@ -9073,7 +9073,7 @@ const S1 = fe({
|
|
|
9073
9073
|
size: "md",
|
|
9074
9074
|
variant: "subtle"
|
|
9075
9075
|
}
|
|
9076
|
-
}),
|
|
9076
|
+
}), B1 = Ne({
|
|
9077
9077
|
base: {
|
|
9078
9078
|
width: "100%",
|
|
9079
9079
|
minWidth: "0",
|
|
@@ -9320,7 +9320,7 @@ const S1 = fe({
|
|
|
9320
9320
|
skeleton: O1,
|
|
9321
9321
|
spinner: R1,
|
|
9322
9322
|
separator: I1,
|
|
9323
|
-
textarea:
|
|
9323
|
+
textarea: B1
|
|
9324
9324
|
}, H1 = {
|
|
9325
9325
|
accordion: a1,
|
|
9326
9326
|
alert: l1,
|
|
@@ -9342,7 +9342,7 @@ const S1 = fe({
|
|
|
9342
9342
|
switch: P1,
|
|
9343
9343
|
table: N1,
|
|
9344
9344
|
tabs: D1,
|
|
9345
|
-
tag:
|
|
9345
|
+
tag: z1,
|
|
9346
9346
|
toast: U1,
|
|
9347
9347
|
tooltip: M1
|
|
9348
9348
|
}, j1 = as({
|
|
@@ -9353,7 +9353,7 @@ const S1 = fe({
|
|
|
9353
9353
|
recipes: F1,
|
|
9354
9354
|
slotRecipes: H1,
|
|
9355
9355
|
semanticTokens: Qd,
|
|
9356
|
-
textStyles:
|
|
9356
|
+
textStyles: zu,
|
|
9357
9357
|
tokens: {
|
|
9358
9358
|
...$d,
|
|
9359
9359
|
colors: Yd,
|
|
@@ -9419,8 +9419,8 @@ const $1 = I.forwardRef(
|
|
|
9419
9419
|
...g
|
|
9420
9420
|
}) => {
|
|
9421
9421
|
const [v, C] = pn(n || ""), b = A.useRef(null), x = Ln((E) => {
|
|
9422
|
-
const { value:
|
|
9423
|
-
C(
|
|
9422
|
+
const { value: z } = E.target;
|
|
9423
|
+
C(z), e == null || e(z);
|
|
9424
9424
|
}, [e]), P = Ln(() => {
|
|
9425
9425
|
var E;
|
|
9426
9426
|
C(""), e == null || e(""), (E = b == null ? void 0 : b.current) == null || E.focus();
|
|
@@ -9587,7 +9587,7 @@ const $1 = I.forwardRef(
|
|
|
9587
9587
|
I.useEffect(() => {
|
|
9588
9588
|
a(E, T).then(b);
|
|
9589
9589
|
}, [E, a, T]);
|
|
9590
|
-
const
|
|
9590
|
+
const z = I.useCallback((L) => {
|
|
9591
9591
|
P(L);
|
|
9592
9592
|
}, []), F = I.useCallback(({ value: L, items: H }) => {
|
|
9593
9593
|
R(L), s == null || s({ value: L, items: H });
|
|
@@ -9618,7 +9618,7 @@ const $1 = I.forwardRef(
|
|
|
9618
9618
|
{
|
|
9619
9619
|
placeholder: "Search",
|
|
9620
9620
|
initialValue: x,
|
|
9621
|
-
onChange:
|
|
9621
|
+
onChange: z,
|
|
9622
9622
|
inputProps: { pl: "9" }
|
|
9623
9623
|
}
|
|
9624
9624
|
),
|
|
@@ -9787,7 +9787,7 @@ const tf = I.forwardRef(
|
|
|
9787
9787
|
) });
|
|
9788
9788
|
}
|
|
9789
9789
|
), cf = ps;
|
|
9790
|
-
var uf = /^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i, Jr = Math.ceil, He = Math.floor, Ce = "[BigNumber Error] ",
|
|
9790
|
+
var uf = /^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i, Jr = Math.ceil, He = Math.floor, Ce = "[BigNumber Error] ", zi = Ce + "Number primitive has more than 15 significant digits: ", Be = 1e14, ae = 14, en = 9007199254740991, tn = [1, 10, 100, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10, 1e11, 1e12, 1e13], et = 1e7, me = 1e9;
|
|
9791
9791
|
function Il(e) {
|
|
9792
9792
|
var t, r, n, o = E.prototype = { constructor: E, toString: null, valueOf: null }, a = new E(1), c = 20, s = 4, u = -7, p = 21, g = -1e7, v = 1e7, C = !1, b = 1, x = 0, P = {
|
|
9793
9793
|
prefix: "",
|
|
@@ -9826,7 +9826,7 @@ function Il(e) {
|
|
|
9826
9826
|
if (w = String(i), S = typeof i == "number") {
|
|
9827
9827
|
if (i * 0 != 0) return n(O, w, S, l);
|
|
9828
9828
|
if (O.s = 1 / i < 0 ? (w = w.slice(1), -1) : 1, E.DEBUG && w.replace(/^0\.0*|\./, "").length > 15)
|
|
9829
|
-
throw Error(
|
|
9829
|
+
throw Error(zi + i);
|
|
9830
9830
|
} else
|
|
9831
9831
|
O.s = w.charCodeAt(0) === 45 ? (w = w.slice(1), -1) : 1;
|
|
9832
9832
|
for (d = T.slice(0, l), _ = y = 0, k = w.length; y < k; y++)
|
|
@@ -9848,7 +9848,7 @@ function Il(e) {
|
|
|
9848
9848
|
for (k = w.length; w.charCodeAt(--k) === 48; ) ;
|
|
9849
9849
|
if (w = w.slice(y, ++k)) {
|
|
9850
9850
|
if (k -= y, S && E.DEBUG && k > 15 && (i > en || i !== He(i)))
|
|
9851
|
-
throw Error(
|
|
9851
|
+
throw Error(zi + O.s * i);
|
|
9852
9852
|
if ((_ = _ - y - 1) > v)
|
|
9853
9853
|
O.c = O.e = null;
|
|
9854
9854
|
else if (_ < g)
|
|
@@ -9921,7 +9921,7 @@ function Il(e) {
|
|
|
9921
9921
|
}
|
|
9922
9922
|
if (l = (h + 1) % ae, l < 1 && (l += ae), String(m[0]).length == l) {
|
|
9923
9923
|
for (l = 0; l < m.length; l++)
|
|
9924
|
-
if (d = m[l], d < 0 || d >=
|
|
9924
|
+
if (d = m[l], d < 0 || d >= Be || d !== He(d)) break e;
|
|
9925
9925
|
if (d !== 0) return !0;
|
|
9926
9926
|
}
|
|
9927
9927
|
}
|
|
@@ -9978,7 +9978,7 @@ function Il(e) {
|
|
|
9978
9978
|
return S.reverse();
|
|
9979
9979
|
}
|
|
9980
9980
|
return function(d, m, h, _, y) {
|
|
9981
|
-
var S, k, w, O,
|
|
9981
|
+
var S, k, w, O, B, D, U, M, W = d.indexOf("."), q = c, V = s;
|
|
9982
9982
|
for (W >= 0 && (O = x, x = 0, d = d.replace(".", ""), M = new E(m), D = M.pow(d.length - W), x = O, M.c = l(
|
|
9983
9983
|
$e(Ie(D.c), D.e, "0"),
|
|
9984
9984
|
10,
|
|
@@ -9986,10 +9986,10 @@ function Il(e) {
|
|
|
9986
9986
|
i
|
|
9987
9987
|
), M.e = M.c.length), U = l(d, m, h, y ? (S = T, i) : (S = i, T)), w = O = U.length; U[--O] == 0; U.pop()) ;
|
|
9988
9988
|
if (!U[0]) return S.charAt(0);
|
|
9989
|
-
if (W < 0 ? --w : (D.c = U, D.e = w, D.s = _, D = t(D, M, q, V, h), U = D.c,
|
|
9990
|
-
d =
|
|
9989
|
+
if (W < 0 ? --w : (D.c = U, D.e = w, D.s = _, D = t(D, M, q, V, h), U = D.c, B = D.r, w = D.e), k = w + q + 1, W = U[k], O = h / 2, B = B || k < 0 || U[k + 1] != null, B = V < 4 ? (W != null || B) && (V == 0 || V == (D.s < 0 ? 3 : 2)) : W > O || W == O && (V == 4 || B || V == 6 && U[k - 1] & 1 || V == (D.s < 0 ? 8 : 7)), k < 1 || !U[0])
|
|
9990
|
+
d = B ? $e(S.charAt(1), -q, S.charAt(0)) : S.charAt(0);
|
|
9991
9991
|
else {
|
|
9992
|
-
if (U.length = k,
|
|
9992
|
+
if (U.length = k, B)
|
|
9993
9993
|
for (--h; ++U[--k] > h; )
|
|
9994
9994
|
U[k] = 0, k || (++w, U = [1].concat(U));
|
|
9995
9995
|
for (O = U.length; !U[--O]; ) ;
|
|
@@ -10000,9 +10000,9 @@ function Il(e) {
|
|
|
10000
10000
|
};
|
|
10001
10001
|
}(), t = /* @__PURE__ */ function() {
|
|
10002
10002
|
function i(m, h, _) {
|
|
10003
|
-
var y, S, k, w, O = 0,
|
|
10004
|
-
for (m = m.slice();
|
|
10005
|
-
k = m[
|
|
10003
|
+
var y, S, k, w, O = 0, B = m.length, D = h % et, U = h / et | 0;
|
|
10004
|
+
for (m = m.slice(); B--; )
|
|
10005
|
+
k = m[B] % et, w = m[B] / et | 0, y = U * k + w * D, S = D * k + y % et * et + O, O = (S / _ | 0) + (y / et | 0) + U * w, m[B] = S % _;
|
|
10006
10006
|
return O && (m = [O].concat(m)), m;
|
|
10007
10007
|
}
|
|
10008
10008
|
function l(m, h, _, y) {
|
|
@@ -10023,7 +10023,7 @@ function Il(e) {
|
|
|
10023
10023
|
for (; !m[0] && m.length > 1; m.splice(0, 1)) ;
|
|
10024
10024
|
}
|
|
10025
10025
|
return function(m, h, _, y, S) {
|
|
10026
|
-
var k, w, O,
|
|
10026
|
+
var k, w, O, B, D, U, M, W, q, V, G, K, Q, X, J, te, Z, ee = m.s == h.s ? 1 : -1, ne = m.c, oe = h.c;
|
|
10027
10027
|
if (!ne || !ne[0] || !oe || !oe[0])
|
|
10028
10028
|
return new E(
|
|
10029
10029
|
// Return NaN if either NaN, or both Infinity or 0.
|
|
@@ -10032,9 +10032,9 @@ function Il(e) {
|
|
|
10032
10032
|
ne && ne[0] == 0 || !oe ? ee * 0 : ee / 0
|
|
10033
10033
|
)
|
|
10034
10034
|
);
|
|
10035
|
-
for (W = new E(ee), q = W.c = [], w = m.e - h.e, ee = _ + w + 1, S || (S =
|
|
10035
|
+
for (W = new E(ee), q = W.c = [], w = m.e - h.e, ee = _ + w + 1, S || (S = Be, w = Oe(m.e / ae) - Oe(h.e / ae), ee = ee / ae | 0), O = 0; oe[O] == (ne[O] || 0); O++) ;
|
|
10036
10036
|
if (oe[O] > (ne[O] || 0) && w--, ee < 0)
|
|
10037
|
-
q.push(1),
|
|
10037
|
+
q.push(1), B = !0;
|
|
10038
10038
|
else {
|
|
10039
10039
|
for (X = ne.length, te = oe.length, O = 0, ee += 2, D = He(S / (oe[0] + 1)), D > 1 && (oe = i(oe, D, S), ne = i(ne, D, S), te = oe.length, X = ne.length), Q = te, V = ne.slice(0, te), G = V.length; G < te; V[G++] = 0) ;
|
|
10040
10040
|
Z = oe.slice(), Z = [0].concat(Z), J = oe[0], oe[1] >= S / 2 && J++;
|
|
@@ -10051,17 +10051,17 @@ function Il(e) {
|
|
|
10051
10051
|
} else k === 0 && (D++, V = [0]);
|
|
10052
10052
|
q[O++] = D, V[0] ? V[G++] = ne[Q] || 0 : (V = [ne[Q]], G = 1);
|
|
10053
10053
|
} while ((Q++ < X || V[0] != null) && ee--);
|
|
10054
|
-
|
|
10054
|
+
B = V[0] != null, q[0] || q.splice(0, 1);
|
|
10055
10055
|
}
|
|
10056
|
-
if (S ==
|
|
10056
|
+
if (S == Be) {
|
|
10057
10057
|
for (O = 1, ee = q[0]; ee >= 10; ee /= 10, O++) ;
|
|
10058
|
-
H(W, _ + (W.e = O + w * ae - 1) + 1, y,
|
|
10058
|
+
H(W, _ + (W.e = O + w * ae - 1) + 1, y, B);
|
|
10059
10059
|
} else
|
|
10060
|
-
W.e = w, W.r = +
|
|
10060
|
+
W.e = w, W.r = +B;
|
|
10061
10061
|
return W;
|
|
10062
10062
|
};
|
|
10063
10063
|
}();
|
|
10064
|
-
function
|
|
10064
|
+
function z(i, l, d, m) {
|
|
10065
10065
|
var h, _, y, S, k;
|
|
10066
10066
|
if (d == null ? d = s : de(d, 0, 8), !i.c) return i.toString();
|
|
10067
10067
|
if (h = i.c[0], y = i.e, l == null)
|
|
@@ -10097,8 +10097,8 @@ function Il(e) {
|
|
|
10097
10097
|
if (m.test(O))
|
|
10098
10098
|
_.s = isNaN(O) ? null : O < 0 ? -1 : 1;
|
|
10099
10099
|
else {
|
|
10100
|
-
if (!S && (O = O.replace(i, function(
|
|
10101
|
-
return w = (U = U.toLowerCase()) == "x" ? 16 : U == "b" ? 2 : 8, !k || k == w ? D :
|
|
10100
|
+
if (!S && (O = O.replace(i, function(B, D, U) {
|
|
10101
|
+
return w = (U = U.toLowerCase()) == "x" ? 16 : U == "b" ? 2 : 8, !k || k == w ? D : B;
|
|
10102
10102
|
}), k && (w = k, O = O.replace(l, "$1").replace(d, "0.$1")), y != O))
|
|
10103
10103
|
return new E(O, w);
|
|
10104
10104
|
if (E.DEBUG)
|
|
@@ -10109,40 +10109,40 @@ function Il(e) {
|
|
|
10109
10109
|
};
|
|
10110
10110
|
}();
|
|
10111
10111
|
function H(i, l, d, m) {
|
|
10112
|
-
var h, _, y, S, k, w, O,
|
|
10113
|
-
if (
|
|
10112
|
+
var h, _, y, S, k, w, O, B = i.c, D = tn;
|
|
10113
|
+
if (B) {
|
|
10114
10114
|
e: {
|
|
10115
|
-
for (h = 1, S =
|
|
10115
|
+
for (h = 1, S = B[0]; S >= 10; S /= 10, h++) ;
|
|
10116
10116
|
if (_ = l - h, _ < 0)
|
|
10117
|
-
_ += ae, y = l, k =
|
|
10118
|
-
else if (w = Jr((_ + 1) / ae), w >=
|
|
10117
|
+
_ += ae, y = l, k = B[w = 0], O = k / D[h - y - 1] % 10 | 0;
|
|
10118
|
+
else if (w = Jr((_ + 1) / ae), w >= B.length)
|
|
10119
10119
|
if (m) {
|
|
10120
|
-
for (;
|
|
10120
|
+
for (; B.length <= w; B.push(0)) ;
|
|
10121
10121
|
k = O = 0, h = 1, _ %= ae, y = _ - ae + 1;
|
|
10122
10122
|
} else
|
|
10123
10123
|
break e;
|
|
10124
10124
|
else {
|
|
10125
|
-
for (k = S =
|
|
10125
|
+
for (k = S = B[w], h = 1; S >= 10; S /= 10, h++) ;
|
|
10126
10126
|
_ %= ae, y = _ - ae + h, O = y < 0 ? 0 : k / D[h - y - 1] % 10 | 0;
|
|
10127
10127
|
}
|
|
10128
10128
|
if (m = m || l < 0 || // Are there any non-zero digits after the rounding digit?
|
|
10129
10129
|
// The expression n % pows10[d - j - 1] returns all digits of n to the right
|
|
10130
10130
|
// of the digit at j, e.g. if n is 908714 and j is 2, the expression gives 714.
|
|
10131
|
-
|
|
10132
|
-
(_ > 0 ? y > 0 ? k / D[h - y] : 0 :
|
|
10133
|
-
return
|
|
10134
|
-
if (_ == 0 ? (
|
|
10131
|
+
B[w + 1] != null || (y < 0 ? k : k % D[h - y - 1]), m = d < 4 ? (O || m) && (d == 0 || d == (i.s < 0 ? 3 : 2)) : O > 5 || O == 5 && (d == 4 || m || d == 6 && // Check whether the digit to the left of the rounding digit is odd.
|
|
10132
|
+
(_ > 0 ? y > 0 ? k / D[h - y] : 0 : B[w - 1]) % 10 & 1 || d == (i.s < 0 ? 8 : 7)), l < 1 || !B[0])
|
|
10133
|
+
return B.length = 0, m ? (l -= i.e + 1, B[0] = D[(ae - l % ae) % ae], i.e = -l || 0) : B[0] = i.e = 0, i;
|
|
10134
|
+
if (_ == 0 ? (B.length = w, S = 1, w--) : (B.length = w + 1, S = D[ae - _], B[w] = y > 0 ? He(k / D[h - y] % D[y]) * S : 0), m)
|
|
10135
10135
|
for (; ; )
|
|
10136
10136
|
if (w == 0) {
|
|
10137
|
-
for (_ = 1, y =
|
|
10138
|
-
for (y =
|
|
10139
|
-
_ != S && (i.e++,
|
|
10137
|
+
for (_ = 1, y = B[0]; y >= 10; y /= 10, _++) ;
|
|
10138
|
+
for (y = B[0] += S, S = 1; y >= 10; y /= 10, S++) ;
|
|
10139
|
+
_ != S && (i.e++, B[0] == Be && (B[0] = 1));
|
|
10140
10140
|
break;
|
|
10141
10141
|
} else {
|
|
10142
|
-
if (
|
|
10143
|
-
|
|
10142
|
+
if (B[w] += S, B[w] != Be) break;
|
|
10143
|
+
B[w--] = 0, S = 1;
|
|
10144
10144
|
}
|
|
10145
|
-
for (_ =
|
|
10145
|
+
for (_ = B.length; B[--_] === 0; B.pop()) ;
|
|
10146
10146
|
}
|
|
10147
10147
|
i.e > v ? i.c = i.e = null : i.e < g && (i.c = [i.e = 0]);
|
|
10148
10148
|
}
|
|
@@ -10169,22 +10169,22 @@ function Il(e) {
|
|
|
10169
10169
|
}, o.dividedToIntegerBy = o.idiv = function(i, l) {
|
|
10170
10170
|
return t(this, new E(i, l), 0, 1);
|
|
10171
10171
|
}, o.exponentiatedBy = o.pow = function(i, l) {
|
|
10172
|
-
var d, m, h, _, y, S, k, w, O,
|
|
10172
|
+
var d, m, h, _, y, S, k, w, O, B = this;
|
|
10173
10173
|
if (i = new E(i), i.c && !i.isInteger())
|
|
10174
10174
|
throw Error(Ce + "Exponent not an integer: " + j(i));
|
|
10175
|
-
if (l != null && (l = new E(l)), S = i.e > 14, !
|
|
10176
|
-
return O = new E(Math.pow(+j(
|
|
10175
|
+
if (l != null && (l = new E(l)), S = i.e > 14, !B.c || !B.c[0] || B.c[0] == 1 && !B.e && B.c.length == 1 || !i.c || !i.c[0])
|
|
10176
|
+
return O = new E(Math.pow(+j(B), S ? 2 - lr(i) : +j(i))), l ? O.mod(l) : O;
|
|
10177
10177
|
if (k = i.s < 0, l) {
|
|
10178
10178
|
if (l.c ? !l.c[0] : !l.s) return new E(NaN);
|
|
10179
|
-
m = !k &&
|
|
10179
|
+
m = !k && B.isInteger() && l.isInteger(), m && (B = B.mod(l));
|
|
10180
10180
|
} else {
|
|
10181
|
-
if (i.e > 9 && (
|
|
10182
|
-
return _ =
|
|
10181
|
+
if (i.e > 9 && (B.e > 0 || B.e < -1 || (B.e == 0 ? B.c[0] > 1 || S && B.c[1] >= 24e7 : B.c[0] < 8e13 || S && B.c[0] <= 9999975e7)))
|
|
10182
|
+
return _ = B.s < 0 && lr(i) ? -0 : 0, B.e > -1 && (_ = 1 / _), new E(k ? 1 / _ : _);
|
|
10183
10183
|
x && (_ = Jr(x / ae + 2));
|
|
10184
10184
|
}
|
|
10185
10185
|
for (S ? (d = new E(0.5), k && (i.s = 1), w = lr(i)) : (h = Math.abs(+j(i)), w = h % 2), O = new E(a); ; ) {
|
|
10186
10186
|
if (w) {
|
|
10187
|
-
if (O = O.times(
|
|
10187
|
+
if (O = O.times(B), !O.c) break;
|
|
10188
10188
|
_ ? O.c.length > _ && (O.c.length = _) : m && (O = O.mod(l));
|
|
10189
10189
|
}
|
|
10190
10190
|
if (h) {
|
|
@@ -10196,7 +10196,7 @@ function Il(e) {
|
|
|
10196
10196
|
if (h = +j(i), h === 0) break;
|
|
10197
10197
|
w = h % 2;
|
|
10198
10198
|
}
|
|
10199
|
-
|
|
10199
|
+
B = B.times(B), _ ? B.c && B.c.length > _ && (B.c.length = _) : m && (B = B.mod(l));
|
|
10200
10200
|
}
|
|
10201
10201
|
return m ? O : (k && (O = a.div(O)), l ? O.mod(l) : _ ? H(O, x, s, y) : O);
|
|
10202
10202
|
}, o.integerValue = function(i) {
|
|
@@ -10229,31 +10229,31 @@ function Il(e) {
|
|
|
10229
10229
|
if (i = new E(i, l), l = i.s, !S || !l) return new E(NaN);
|
|
10230
10230
|
if (S != l)
|
|
10231
10231
|
return i.s = -l, y.plus(i);
|
|
10232
|
-
var k = y.e / ae, w = i.e / ae, O = y.c,
|
|
10232
|
+
var k = y.e / ae, w = i.e / ae, O = y.c, B = i.c;
|
|
10233
10233
|
if (!k || !w) {
|
|
10234
|
-
if (!O || !
|
|
10235
|
-
if (!O[0] || !
|
|
10236
|
-
return
|
|
10234
|
+
if (!O || !B) return O ? (i.s = -l, i) : new E(B ? y : NaN);
|
|
10235
|
+
if (!O[0] || !B[0])
|
|
10236
|
+
return B[0] ? (i.s = -l, i) : new E(O[0] ? y : (
|
|
10237
10237
|
// IEEE 754 (2008) 6.3: n - n = -0 when rounding to -Infinity
|
|
10238
10238
|
s == 3 ? -0 : 0
|
|
10239
10239
|
));
|
|
10240
10240
|
}
|
|
10241
10241
|
if (k = Oe(k), w = Oe(w), O = O.slice(), S = k - w) {
|
|
10242
|
-
for ((_ = S < 0) ? (S = -S, h = O) : (w = k, h =
|
|
10242
|
+
for ((_ = S < 0) ? (S = -S, h = O) : (w = k, h = B), h.reverse(), l = S; l--; h.push(0)) ;
|
|
10243
10243
|
h.reverse();
|
|
10244
10244
|
} else
|
|
10245
|
-
for (m = (_ = (S = O.length) < (l =
|
|
10246
|
-
if (O[l] !=
|
|
10247
|
-
_ = O[l] <
|
|
10245
|
+
for (m = (_ = (S = O.length) < (l = B.length)) ? S : l, S = l = 0; l < m; l++)
|
|
10246
|
+
if (O[l] != B[l]) {
|
|
10247
|
+
_ = O[l] < B[l];
|
|
10248
10248
|
break;
|
|
10249
10249
|
}
|
|
10250
|
-
if (_ && (h = O, O =
|
|
10251
|
-
for (l =
|
|
10252
|
-
if (O[--m] <
|
|
10250
|
+
if (_ && (h = O, O = B, B = h, i.s = -i.s), l = (m = B.length) - (d = O.length), l > 0) for (; l--; O[d++] = 0) ;
|
|
10251
|
+
for (l = Be - 1; m > S; ) {
|
|
10252
|
+
if (O[--m] < B[m]) {
|
|
10253
10253
|
for (d = m; d && !O[--d]; O[d] = l) ;
|
|
10254
|
-
--O[d], O[m] +=
|
|
10254
|
+
--O[d], O[m] += Be;
|
|
10255
10255
|
}
|
|
10256
|
-
O[m] -=
|
|
10256
|
+
O[m] -= B[m];
|
|
10257
10257
|
}
|
|
10258
10258
|
for (; O[0] == 0; O.splice(0, 1), --w) ;
|
|
10259
10259
|
return O[0] ? L(i, O, w) : (i.s = s == 3 ? -1 : 1, i.c = [i.e = 0], i);
|
|
@@ -10261,11 +10261,11 @@ function Il(e) {
|
|
|
10261
10261
|
var d, m, h = this;
|
|
10262
10262
|
return i = new E(i, l), !h.c || !i.s || i.c && !i.c[0] ? new E(NaN) : !i.c || h.c && !h.c[0] ? new E(h) : (b == 9 ? (m = i.s, i.s = 1, d = t(h, i, 0, 3), i.s = m, d.s *= m) : d = t(h, i, 0, b), i = h.minus(d.times(i)), !i.c[0] && b == 1 && (i.s = h.s), i);
|
|
10263
10263
|
}, o.multipliedBy = o.times = function(i, l) {
|
|
10264
|
-
var d, m, h, _, y, S, k, w, O,
|
|
10264
|
+
var d, m, h, _, y, S, k, w, O, B, D, U, M, W, q, V = this, G = V.c, K = (i = new E(i, l)).c;
|
|
10265
10265
|
if (!G || !K || !G[0] || !K[0])
|
|
10266
10266
|
return !V.s || !i.s || G && !G[0] && !K || K && !K[0] && !G ? i.c = i.e = i.s = null : (i.s *= V.s, !G || !K ? i.c = i.e = null : (i.c = [0], i.e = 0)), i;
|
|
10267
|
-
for (m = Oe(V.e / ae) + Oe(i.e / ae), i.s *= V.s, k = G.length,
|
|
10268
|
-
for (W =
|
|
10267
|
+
for (m = Oe(V.e / ae) + Oe(i.e / ae), i.s *= V.s, k = G.length, B = K.length, k < B && (M = G, G = K, K = M, h = k, k = B, B = h), h = k + B, M = []; h--; M.push(0)) ;
|
|
10268
|
+
for (W = Be, q = et, h = B; --h >= 0; ) {
|
|
10269
10269
|
for (d = 0, D = K[h] % q, U = K[h] / q | 0, y = k, _ = h + y; _ > h; )
|
|
10270
10270
|
w = G[--y] % q, O = G[y] / q | 0, S = U * w + O * D, w = D * w + S % q * q + M[_] + d, d = (w / W | 0) + (S / q | 0) + U * O, M[_--] = w % W;
|
|
10271
10271
|
M[_] = d;
|
|
@@ -10289,7 +10289,7 @@ function Il(e) {
|
|
|
10289
10289
|
d.reverse();
|
|
10290
10290
|
}
|
|
10291
10291
|
for (h = S.length, l = k.length, h - l < 0 && (d = k, k = S, S = d, l = h), h = 0; l; )
|
|
10292
|
-
h = (S[--l] = S[l] + k[l] + h) /
|
|
10292
|
+
h = (S[--l] = S[l] + k[l] + h) / Be | 0, S[l] = Be === S[l] ? 0 : S[l] % Be;
|
|
10293
10293
|
return h && (S = [h].concat(S), ++y), L(i, S, y);
|
|
10294
10294
|
}, o.precision = o.sd = function(i, l) {
|
|
10295
10295
|
var d, m, h, _ = this;
|
|
@@ -10323,9 +10323,9 @@ function Il(e) {
|
|
|
10323
10323
|
}
|
|
10324
10324
|
return H(d, d.e + c + 1, s, i);
|
|
10325
10325
|
}, o.toExponential = function(i, l) {
|
|
10326
|
-
return i != null && (de(i, 0, me), i++),
|
|
10326
|
+
return i != null && (de(i, 0, me), i++), z(this, i, l, 1);
|
|
10327
10327
|
}, o.toFixed = function(i, l) {
|
|
10328
|
-
return i != null && (de(i, 0, me), i = i + this.e + 1),
|
|
10328
|
+
return i != null && (de(i, 0, me), i = i + this.e + 1), z(this, i, l);
|
|
10329
10329
|
}, o.toFormat = function(i, l, d) {
|
|
10330
10330
|
var m, h = this;
|
|
10331
10331
|
if (d == null)
|
|
@@ -10333,31 +10333,31 @@ function Il(e) {
|
|
|
10333
10333
|
else if (typeof d != "object")
|
|
10334
10334
|
throw Error(Ce + "Argument not an object: " + d);
|
|
10335
10335
|
if (m = h.toFixed(i, l), h.c) {
|
|
10336
|
-
var _, y = m.split("."), S = +d.groupSize, k = +d.secondaryGroupSize, w = d.groupSeparator || "", O = y[0],
|
|
10336
|
+
var _, y = m.split("."), S = +d.groupSize, k = +d.secondaryGroupSize, w = d.groupSeparator || "", O = y[0], B = y[1], D = h.s < 0, U = D ? O.slice(1) : O, M = U.length;
|
|
10337
10337
|
if (k && (_ = S, S = k, k = _, M -= _), S > 0 && M > 0) {
|
|
10338
10338
|
for (_ = M % S || S, O = U.substr(0, _); _ < M; _ += S) O += w + U.substr(_, S);
|
|
10339
10339
|
k > 0 && (O += w + U.slice(_)), D && (O = "-" + O);
|
|
10340
10340
|
}
|
|
10341
|
-
m =
|
|
10341
|
+
m = B ? O + (d.decimalSeparator || "") + ((k = +d.fractionGroupSize) ? B.replace(
|
|
10342
10342
|
new RegExp("\\d{" + k + "}\\B", "g"),
|
|
10343
10343
|
"$&" + (d.fractionGroupSeparator || "")
|
|
10344
|
-
) :
|
|
10344
|
+
) : B) : O;
|
|
10345
10345
|
}
|
|
10346
10346
|
return (d.prefix || "") + m + (d.suffix || "");
|
|
10347
10347
|
}, o.toFraction = function(i) {
|
|
10348
|
-
var l, d, m, h, _, y, S, k, w, O,
|
|
10348
|
+
var l, d, m, h, _, y, S, k, w, O, B, D, U = this, M = U.c;
|
|
10349
10349
|
if (i != null && (S = new E(i), !S.isInteger() && (S.c || S.s !== 1) || S.lt(a)))
|
|
10350
10350
|
throw Error(Ce + "Argument " + (S.isInteger() ? "out of range: " : "not an integer: ") + j(S));
|
|
10351
10351
|
if (!M) return new E(U);
|
|
10352
10352
|
for (l = new E(a), w = d = new E(a), m = k = new E(a), D = Ie(M), _ = l.e = D.length - U.e - 1, l.c[0] = tn[(y = _ % ae) < 0 ? ae + y : y], i = !i || S.comparedTo(l) > 0 ? _ > 0 ? l : w : S, y = v, v = 1 / 0, S = new E(D), k.c[0] = 0; O = t(S, l, 0, 1), h = d.plus(O.times(m)), h.comparedTo(i) != 1; )
|
|
10353
10353
|
d = m, m = h, w = k.plus(O.times(h = w)), k = h, l = S.minus(O.times(h = l)), S = h;
|
|
10354
|
-
return h = t(i.minus(d), m, 0, 1), k = k.plus(h.times(w)), d = d.plus(h.times(m)), k.s = w.s = U.s, _ = _ * 2,
|
|
10354
|
+
return h = t(i.minus(d), m, 0, 1), k = k.plus(h.times(w)), d = d.plus(h.times(m)), k.s = w.s = U.s, _ = _ * 2, B = t(w, m, _, s).minus(U).abs().comparedTo(
|
|
10355
10355
|
t(k, d, _, s).minus(U).abs()
|
|
10356
|
-
) < 1 ? [w, m] : [k, d], v = y,
|
|
10356
|
+
) < 1 ? [w, m] : [k, d], v = y, B;
|
|
10357
10357
|
}, o.toNumber = function() {
|
|
10358
10358
|
return +j(this);
|
|
10359
10359
|
}, o.toPrecision = function(i, l) {
|
|
10360
|
-
return i != null && de(i, 1, me),
|
|
10360
|
+
return i != null && de(i, 1, me), z(this, i, l, 2);
|
|
10361
10361
|
}, o.toString = function(i) {
|
|
10362
10362
|
var l, d = this, m = d.s, h = d.e;
|
|
10363
10363
|
return h === null ? m ? (l = "Infinity", m < 0 && (l = "-" + l)) : l = "NaN" : (i == null ? l = h <= u || h >= p ? sr(Ie(d.c), h) : $e(Ie(d.c), h, "0") : i === 10 && R ? (d = H(new E(d), c + h + 1, s), l = $e(Ie(d.c), d.e, "0")) : (de(i, 2, T.length, "Base"), l = r($e(Ie(d.c), h, "0"), 10, i, m, !0)), m < 0 && d.c[0] && (l = "-" + l)), l;
|
|
@@ -10438,7 +10438,7 @@ const ff = new df(0), Rr = 1e3, Ol = 60 * Rr, Rl = 60 * Ol, Mt = 24 * Rl, hf = 7
|
|
|
10438
10438
|
const t = ((r = e.meta) == null ? void 0 : r.closable) !== void 0 ? e.meta.closable : !0;
|
|
10439
10439
|
return /* @__PURE__ */ $(St.Root, { width: { md: "sm" }, children: [
|
|
10440
10440
|
e.type === "loading" ? /* @__PURE__ */ f(vs, { size: "sm", color: "blue.solid", my: 1 }) : null,
|
|
10441
|
-
/* @__PURE__ */ $(
|
|
10441
|
+
/* @__PURE__ */ $(za, { gap: "0", flex: "1", maxWidth: "100%", children: [
|
|
10442
10442
|
e.title && /* @__PURE__ */ f(St.Title, { children: e.title }),
|
|
10443
10443
|
(((n = e.meta) == null ? void 0 : n.renderDescription) || e.description) && /* @__PURE__ */ f(St.Description, { children: ((a = (o = e.meta) == null ? void 0 : o.renderDescription) == null ? void 0 : a.call(o)) || e.description })
|
|
10444
10444
|
] }),
|
|
@@ -10498,7 +10498,7 @@ const Dl = (e) => /* @__PURE__ */ I.createElement("svg", { viewBox: "0 0 18 4",
|
|
|
10498
10498
|
children: /* @__PURE__ */ f(he, { boxSize: 5, children: /* @__PURE__ */ f(Dl, {}) })
|
|
10499
10499
|
}
|
|
10500
10500
|
) }),
|
|
10501
|
-
/* @__PURE__ */ f(
|
|
10501
|
+
/* @__PURE__ */ f(Bd, { children: /* @__PURE__ */ f(Hd, { display: "flex", flexDir: "column", rowGap: 2, px: 0, children: e.slice(t).map((a) => {
|
|
10502
10502
|
const c = Ve(a);
|
|
10503
10503
|
return /* @__PURE__ */ f(Ud, { children: /* @__PURE__ */ $(
|
|
10504
10504
|
ln,
|
|
@@ -10524,21 +10524,21 @@ const Dl = (e) => /* @__PURE__ */ I.createElement("svg", { viewBox: "0 0 18 4",
|
|
|
10524
10524
|
function Cf(e, t) {
|
|
10525
10525
|
const [r, n] = A.useState(t ? e.length : void 0), [o, a] = A.useState([]), c = A.useRef(null), s = A.useRef(null), u = A.useRef(null), p = A.useCallback(() => {
|
|
10526
10526
|
var T, R, E;
|
|
10527
|
-
const g = (T = c.current) == null ? void 0 : T.getBoundingClientRect().width, v = ((R = s.current) == null ? void 0 : R.getBoundingClientRect().width) || 0, C = ((E = u.current) == null ? void 0 : E.getBoundingClientRect().width) || 0, b = o.map((
|
|
10527
|
+
const g = (T = c.current) == null ? void 0 : T.getBoundingClientRect().width, v = ((R = s.current) == null ? void 0 : R.getBoundingClientRect().width) || 0, C = ((E = u.current) == null ? void 0 : E.getBoundingClientRect().width) || 0, b = o.map((z) => {
|
|
10528
10528
|
var F;
|
|
10529
|
-
return (F =
|
|
10529
|
+
return (F = z.current) == null ? void 0 : F.getBoundingClientRect().width;
|
|
10530
10530
|
}), x = b[b.length - 1];
|
|
10531
10531
|
if (!g || !x)
|
|
10532
10532
|
return e.length;
|
|
10533
|
-
const { visibleNum: P } = b.slice(0, -1).reduce((
|
|
10534
|
-
if (!F ||
|
|
10535
|
-
return
|
|
10533
|
+
const { visibleNum: P } = b.slice(0, -1).reduce((z, F, L, H) => {
|
|
10534
|
+
if (!F || z.visibleNum < L)
|
|
10535
|
+
return z;
|
|
10536
10536
|
if (L === H.length - 1) {
|
|
10537
|
-
if (
|
|
10538
|
-
return { visibleNum:
|
|
10539
|
-
} else if (
|
|
10540
|
-
return { visibleNum:
|
|
10541
|
-
return
|
|
10537
|
+
if (z.accWidth + F < g - v - C)
|
|
10538
|
+
return { visibleNum: z.visibleNum + 1, accWidth: z.accWidth + F };
|
|
10539
|
+
} else if (z.accWidth + F + x < g - v - C)
|
|
10540
|
+
return { visibleNum: z.visibleNum + 1, accWidth: z.accWidth + F };
|
|
10541
|
+
return z;
|
|
10542
10542
|
}, { visibleNum: 0, accWidth: 0 });
|
|
10543
10543
|
return P;
|
|
10544
10544
|
}, [e.length, o]);
|
|
@@ -10592,8 +10592,8 @@ const br = {
|
|
|
10592
10592
|
stickyEnabled: u,
|
|
10593
10593
|
isLoading: p,
|
|
10594
10594
|
variant: g
|
|
10595
|
-
} = e, v = kr(), C = A.useMemo(() => [...t, _f], [t]), { tabsCut: b, tabsRefs: x, listRef: P, rightSlotRef: T, leftSlotRef: R } = Cf(C, p || v || t.length === 1), E = bf(P, 5, u),
|
|
10596
|
-
if (xf({ activeTabIndex:
|
|
10595
|
+
} = e, v = kr(), C = A.useMemo(() => [...t, _f], [t]), { tabsCut: b, tabsRefs: x, listRef: P, rightSlotRef: T, leftSlotRef: R } = Cf(C, p || v || t.length === 1), E = bf(P, 5, u), z = C.findIndex((L) => Ve(L) === r) ?? 0;
|
|
10596
|
+
if (xf({ activeTabIndex: z, listRef: P, tabsRefs: x, isMobile: v, isLoading: p }), t.length === 1 && !c && !o)
|
|
10597
10597
|
return null;
|
|
10598
10598
|
const F = !p && b !== void 0;
|
|
10599
10599
|
return /* @__PURE__ */ $(
|
|
@@ -10650,7 +10650,7 @@ const br = {
|
|
|
10650
10650
|
ref: i,
|
|
10651
10651
|
tabs: t,
|
|
10652
10652
|
tabsCut: b ?? 0,
|
|
10653
|
-
isActive:
|
|
10653
|
+
isActive: z > 0 && b !== void 0 && b > 0 && z >= b,
|
|
10654
10654
|
...wf(t.length, b, p)
|
|
10655
10655
|
},
|
|
10656
10656
|
"menu"
|
|
@@ -10677,7 +10677,7 @@ const br = {
|
|
|
10677
10677
|
{
|
|
10678
10678
|
value: j,
|
|
10679
10679
|
flexShrink: 0,
|
|
10680
|
-
bgColor:
|
|
10680
|
+
bgColor: z === H && (g === "solid" || g === void 0) ? { _light: "blackAlpha.50", _dark: "whiteAlpha.50" } : void 0,
|
|
10681
10681
|
children: /* @__PURE__ */ $(ve, { loading: !0, children: [
|
|
10682
10682
|
typeof L.title == "function" ? L.title() : L.title,
|
|
10683
10683
|
/* @__PURE__ */ f(sn, { count: L.count })
|
|
@@ -10747,17 +10747,17 @@ const br = {
|
|
|
10747
10747
|
o + "_" + R.width + "_" + t.map((E) => E.id).join(":")
|
|
10748
10748
|
),
|
|
10749
10749
|
t.map((E) => {
|
|
10750
|
-
const
|
|
10751
|
-
return /* @__PURE__ */ f(sf, { padding: 0, value:
|
|
10750
|
+
const z = Ve(E);
|
|
10751
|
+
return /* @__PURE__ */ f(sf, { padding: 0, value: z, children: E.component }, z);
|
|
10752
10752
|
})
|
|
10753
10753
|
]
|
|
10754
10754
|
}
|
|
10755
10755
|
);
|
|
10756
|
-
},
|
|
10756
|
+
}, zl = A.memo(Af), o2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10757
10757
|
__proto__: null,
|
|
10758
|
-
default:
|
|
10758
|
+
default: zl
|
|
10759
10759
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
10760
|
-
function
|
|
10760
|
+
function Bl(e) {
|
|
10761
10761
|
return typeof e == "string" ? e : void 0;
|
|
10762
10762
|
}
|
|
10763
10763
|
function If(e) {
|
|
@@ -10766,10 +10766,10 @@ function If(e) {
|
|
|
10766
10766
|
const i2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10767
10767
|
__proto__: null,
|
|
10768
10768
|
castToNumber: If,
|
|
10769
|
-
castToString:
|
|
10769
|
+
castToString: Bl
|
|
10770
10770
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
10771
10771
|
function Of(e, t) {
|
|
10772
|
-
const r = $a(), n =
|
|
10772
|
+
const r = $a(), n = Bl(r.query.tab);
|
|
10773
10773
|
return n ? e.find((o) => {
|
|
10774
10774
|
var a;
|
|
10775
10775
|
return Array.isArray(o.id) ? o.id.includes(n) : o.id === n || "subTabs" in o && ((a = o.subTabs) == null ? void 0 : a.some((c) => c === n));
|
|
@@ -10797,7 +10797,7 @@ const Rf = (e) => {
|
|
|
10797
10797
|
{ shallow: !0 }
|
|
10798
10798
|
));
|
|
10799
10799
|
}, []), /* @__PURE__ */ f(
|
|
10800
|
-
|
|
10800
|
+
zl,
|
|
10801
10801
|
{
|
|
10802
10802
|
...a,
|
|
10803
10803
|
tabs: t,
|
|
@@ -10806,10 +10806,10 @@ const Rf = (e) => {
|
|
|
10806
10806
|
}
|
|
10807
10807
|
);
|
|
10808
10808
|
}, a2 = A.memo(Rf);
|
|
10809
|
-
var Ze = {},
|
|
10809
|
+
var Ze = {}, Bi;
|
|
10810
10810
|
function Lf() {
|
|
10811
|
-
if (
|
|
10812
|
-
|
|
10811
|
+
if (Bi) return Ze;
|
|
10812
|
+
Bi = 1, Object.defineProperty(Ze, "__esModule", { value: !0 }), Ze.ChartSubsetUpdateStatus = Ze.Resolution = Ze.protobufPackage = void 0, Ze.protobufPackage = "blockscout.stats.v1";
|
|
10813
10813
|
var e;
|
|
10814
10814
|
(function(r) {
|
|
10815
10815
|
r.RESOLUTION_UNSPECIFIED = "RESOLUTION_UNSPECIFIED", r.DAY = "DAY", r.WEEK = "WEEK", r.MONTH = "MONTH", r.YEAR = "YEAR", r.UNRECOGNIZED = "UNRECOGNIZED";
|
|
@@ -10865,7 +10865,7 @@ const Pf = [
|
|
|
10865
10865
|
] }) })
|
|
10866
10866
|
] });
|
|
10867
10867
|
}), Ui = A.memo(({ type: e, scale: t, ticks: r, tickFormatGenerator: n, noAnimation: o, anchorEl: a, ...c }) => {
|
|
10868
|
-
const s = A.useRef(null), u = Me("colors",
|
|
10868
|
+
const s = A.useRef(null), u = Me("colors", zt("blackAlpha.600", "whiteAlpha.500"));
|
|
10869
10869
|
return A.useEffect(() => {
|
|
10870
10870
|
if (!s.current)
|
|
10871
10871
|
return;
|
|
@@ -10894,16 +10894,16 @@ const Pf = [
|
|
|
10894
10894
|
const p = (e === "vertical" ? Y.axisBottom : Y.axisLeft)(t).ticks(r).tickSize(-n), g = Y.select(c.current);
|
|
10895
10895
|
o ? g.call(p) : g.transition().duration(750).ease(Y.easeLinear).call(p), g.select(".domain").remove(), g.selectAll("text").remove(), g.selectAll("line").attr("stroke", s);
|
|
10896
10896
|
}, [t, r, n, o, e, s]), /* @__PURE__ */ f("g", { ref: c, ...a });
|
|
10897
|
-
}),
|
|
10897
|
+
}), zf = (e) => {
|
|
10898
10898
|
const t = e.getTotalLength() || 0;
|
|
10899
10899
|
Y.select(e).attr("opacity", 1).attr("stroke-dasharray", `${t},${t}`).attr("stroke-dashoffset", t).transition().duration(750).ease(Y.easeLinear).attr("stroke-dashoffset", 0);
|
|
10900
|
-
},
|
|
10900
|
+
}, Bf = (e) => {
|
|
10901
10901
|
Y.select(e).transition().duration(750).ease(Y.easeLinear).attr("opacity", 1);
|
|
10902
10902
|
}, Uf = (e) => {
|
|
10903
10903
|
Y.select(e).attr("opacity", 1);
|
|
10904
10904
|
}, Mf = {
|
|
10905
|
-
left:
|
|
10906
|
-
fadeIn:
|
|
10905
|
+
left: zf,
|
|
10906
|
+
fadeIn: Bf,
|
|
10907
10907
|
none: Uf
|
|
10908
10908
|
}, Ff = (e) => {
|
|
10909
10909
|
const t = [];
|
|
@@ -11003,8 +11003,8 @@ const Vf = 2, Gf = A.memo(({ anchorEl: e, height: t, scale: r, data: n, onSelect
|
|
|
11003
11003
|
const R = T - P;
|
|
11004
11004
|
Y.select(c.current).attr("opacity", 1), Y.select(c.current).select(".ChartSelectionX__line_left").attr("x1", P).attr("x2", P), Y.select(c.current).select(".ChartSelectionX__line_right").attr("x1", T).attr("x2", T), Y.select(c.current).select(".ChartSelectionX__rect").attr("x", R > 0 ? P : R + P).attr("width", Math.abs(R));
|
|
11005
11005
|
}, []), C = A.useCallback((P, T) => {
|
|
11006
|
-
const R = r.invert(P), E = r.invert(T),
|
|
11007
|
-
Math.abs(Ue(R).diff(E)) > Vf *
|
|
11006
|
+
const R = r.invert(P), E = r.invert(T), z = Ue(n[0].items[1].date).diff(Ue(n[0].items[0].date));
|
|
11007
|
+
Math.abs(Ue(R).diff(E)) > Vf * z && o([Ue.min(Ue(R), Ue(E)).toDate(), Ue.max(Ue(R), Ue(E)).toDate()]);
|
|
11008
11008
|
}, [o, r, n]), b = A.useCallback(() => {
|
|
11009
11009
|
s.current = !1, u.current = void 0, p.current = void 0, Y.select(c.current).attr("opacity", 0);
|
|
11010
11010
|
}, []), x = A.useCallback(() => {
|
|
@@ -11112,7 +11112,7 @@ function ih(e, t) {
|
|
|
11112
11112
|
}, [e, t]);
|
|
11113
11113
|
}
|
|
11114
11114
|
const ah = () => {
|
|
11115
|
-
const e = Me("colors",
|
|
11115
|
+
const e = Me("colors", zt("black", "white")), t = Me("colors", zt("white", "black"));
|
|
11116
11116
|
return /* @__PURE__ */ f(
|
|
11117
11117
|
"circle",
|
|
11118
11118
|
{
|
|
@@ -11172,7 +11172,7 @@ function uh(e, { data: t, xScale: r, minWidth: n }) {
|
|
|
11172
11172
|
const c = a.some(({ item: v }) => v.isApproximate);
|
|
11173
11173
|
Y.select(e.current).selectAll(".ChartTooltip__row").attr("transform", (v, C) => jl(C - (c ? 0 : 1)));
|
|
11174
11174
|
const u = Y.select(e.current).selectAll(".ChartTooltip__value").text((v, C) => {
|
|
11175
|
-
var R, E,
|
|
11175
|
+
var R, E, z, F, L;
|
|
11176
11176
|
if (C === 0) {
|
|
11177
11177
|
const H = r.invert(o), j = (R = t[0].items.find((l) => l.date.getTime() === H.getTime())) == null ? void 0 : R.dateLabel, i = Y.utcFormat("%e %b %Y")(r.invert(o));
|
|
11178
11178
|
return j || i;
|
|
@@ -11180,7 +11180,7 @@ function uh(e, { data: t, xScale: r, minWidth: n }) {
|
|
|
11180
11180
|
const { datumIndex: b, item: x } = a.find(({ datumIndex: H }) => H === C - 1) || {};
|
|
11181
11181
|
if (b === void 0 || !x)
|
|
11182
11182
|
return null;
|
|
11183
|
-
const P = ((
|
|
11183
|
+
const P = ((z = (E = t[b]) == null ? void 0 : E.valueFormatter) == null ? void 0 : z.call(E, x.value)) ?? x.value.toLocaleString(void 0, { minimumSignificantDigits: 1 }), T = (F = t[b]) != null && F.units ? ` ${(L = t[b]) == null ? void 0 : L.units}` : "";
|
|
11184
11184
|
return P + T;
|
|
11185
11185
|
}).nodes().map((v) => {
|
|
11186
11186
|
var C;
|
|
@@ -11243,14 +11243,14 @@ const gh = A.memo(({
|
|
|
11243
11243
|
...p
|
|
11244
11244
|
}) => {
|
|
11245
11245
|
var l, d;
|
|
11246
|
-
const g = A.useRef(null), v = A.useRef(void 0), C = A.useRef(!1), b = s ? null : 100, x = ih(g, o), P = th(g, { chart: { width: r, height: o }, transitionDuration: b }), T = sh(g, { data: a, xScale: e, yScale: t }), R = hh(g), E = uh(g, { data: a, xScale: e, minWidth: n }),
|
|
11246
|
+
const g = A.useRef(null), v = A.useRef(void 0), C = A.useRef(!1), b = s ? null : 100, x = ih(g, o), P = th(g, { chart: { width: r, height: o }, transitionDuration: b }), T = sh(g, { data: a, xScale: e, yScale: t }), R = hh(g), E = uh(g, { data: a, xScale: e, minWidth: n }), z = Qf(g, { seriesNum: a.length, transitionDuration: b }), F = A.useCallback((m) => {
|
|
11247
11247
|
if (m.point) {
|
|
11248
11248
|
const { x: h, y: _, currentPoints: y } = T(m.point[0]), S = y.some(({ item: w }) => w.isApproximate);
|
|
11249
11249
|
x(h), P(h, _), R(S);
|
|
11250
11250
|
const { width: k } = E(h, y);
|
|
11251
|
-
|
|
11251
|
+
z(k, S);
|
|
11252
11252
|
}
|
|
11253
|
-
}, [T, x, P, R, E,
|
|
11253
|
+
}, [T, x, P, R, E, z]), L = A.useCallback(() => {
|
|
11254
11254
|
C.current || (b ? Y.select(g.current).transition().delay(b).attr("opacity", 1) : Y.select(g.current).attr("opacity", 1), C.current = !0);
|
|
11255
11255
|
}, [b]), H = A.useCallback(() => {
|
|
11256
11256
|
b ? Y.select(g.current).transition().delay(b).attr("opacity", 0) : Y.select(g.current).attr("opacity", 0), C.current = !1;
|
|
@@ -11463,7 +11463,7 @@ const Oh = { bottom: 20, left: 10, right: 20, top: 10 }, Rh = A.memo(({
|
|
|
11463
11463
|
innerWidth: T,
|
|
11464
11464
|
innerHeight: R,
|
|
11465
11465
|
chartMargin: E,
|
|
11466
|
-
axes:
|
|
11466
|
+
axes: z
|
|
11467
11467
|
} = Ih({
|
|
11468
11468
|
data: v,
|
|
11469
11469
|
margin: C,
|
|
@@ -11474,7 +11474,7 @@ const Oh = { bottom: 20, left: 10, right: 20, top: 10 }, Rh = A.memo(({
|
|
|
11474
11474
|
Df,
|
|
11475
11475
|
{
|
|
11476
11476
|
type: "horizontal",
|
|
11477
|
-
scale:
|
|
11477
|
+
scale: z.y.scale,
|
|
11478
11478
|
ticks: b.y.ticks,
|
|
11479
11479
|
size: T,
|
|
11480
11480
|
noAnimation: !0
|
|
@@ -11488,8 +11488,8 @@ const Oh = { bottom: 20, left: 10, right: 20, top: 10 }, Rh = A.memo(({
|
|
|
11488
11488
|
id: L,
|
|
11489
11489
|
data: F.items,
|
|
11490
11490
|
gradient: H.gradient,
|
|
11491
|
-
xScale:
|
|
11492
|
-
yScale:
|
|
11491
|
+
xScale: z.x.scale,
|
|
11492
|
+
yScale: z.y.scale,
|
|
11493
11493
|
noAnimation: o
|
|
11494
11494
|
},
|
|
11495
11495
|
H.type
|
|
@@ -11497,8 +11497,8 @@ const Oh = { bottom: 20, left: 10, right: 20, top: 10 }, Rh = A.memo(({
|
|
|
11497
11497
|
Hf,
|
|
11498
11498
|
{
|
|
11499
11499
|
data: F.items,
|
|
11500
|
-
xScale:
|
|
11501
|
-
yScale:
|
|
11500
|
+
xScale: z.x.scale,
|
|
11501
|
+
yScale: z.y.scale,
|
|
11502
11502
|
stroke: H.color,
|
|
11503
11503
|
strokeWidth: H.strokeWidth || 2,
|
|
11504
11504
|
strokeDasharray: H.strokeDasharray,
|
|
@@ -11511,9 +11511,9 @@ const Oh = { bottom: 20, left: 10, right: 20, top: 10 }, Rh = A.memo(({
|
|
|
11511
11511
|
Ui,
|
|
11512
11512
|
{
|
|
11513
11513
|
type: "left",
|
|
11514
|
-
scale:
|
|
11514
|
+
scale: z.y.scale,
|
|
11515
11515
|
ticks: b.y.ticks,
|
|
11516
|
-
tickFormatGenerator:
|
|
11516
|
+
tickFormatGenerator: z.y.tickFormatter,
|
|
11517
11517
|
noAnimation: !0
|
|
11518
11518
|
}
|
|
11519
11519
|
),
|
|
@@ -11521,11 +11521,11 @@ const Oh = { bottom: 20, left: 10, right: 20, top: 10 }, Rh = A.memo(({
|
|
|
11521
11521
|
Ui,
|
|
11522
11522
|
{
|
|
11523
11523
|
type: "bottom",
|
|
11524
|
-
scale:
|
|
11524
|
+
scale: z.x.scale,
|
|
11525
11525
|
transform: `translate(0, ${R})`,
|
|
11526
11526
|
ticks: b.x.ticks,
|
|
11527
11527
|
anchorEl: p.current,
|
|
11528
|
-
tickFormatGenerator:
|
|
11528
|
+
tickFormatGenerator: z.x.tickFormatter,
|
|
11529
11529
|
noAnimation: !0
|
|
11530
11530
|
}
|
|
11531
11531
|
),
|
|
@@ -11537,8 +11537,8 @@ const Oh = { bottom: 20, left: 10, right: 20, top: 10 }, Rh = A.memo(({
|
|
|
11537
11537
|
width: T,
|
|
11538
11538
|
tooltipWidth: a === we.Resolution.WEEK ? 280 : 200,
|
|
11539
11539
|
height: R,
|
|
11540
|
-
xScale:
|
|
11541
|
-
yScale:
|
|
11540
|
+
xScale: z.x.scale,
|
|
11541
|
+
yScale: z.y.scale,
|
|
11542
11542
|
data: v,
|
|
11543
11543
|
noAnimation: o,
|
|
11544
11544
|
resolution: a
|
|
@@ -11549,7 +11549,7 @@ const Oh = { bottom: 20, left: 10, right: 20, top: 10 }, Rh = A.memo(({
|
|
|
11549
11549
|
{
|
|
11550
11550
|
anchorEl: p.current,
|
|
11551
11551
|
height: R,
|
|
11552
|
-
scale:
|
|
11552
|
+
scale: z.x.scale,
|
|
11553
11553
|
data: v,
|
|
11554
11554
|
onSelect: r
|
|
11555
11555
|
}
|
|
@@ -11658,7 +11658,7 @@ const Oh = { bottom: 20, left: 10, right: 20, top: 10 }, Rh = A.memo(({
|
|
|
11658
11658
|
a.name
|
|
11659
11659
|
);
|
|
11660
11660
|
}) });
|
|
11661
|
-
}), Dh = (e) => /* @__PURE__ */ I.createElement("svg", { viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", ...e }, /* @__PURE__ */ I.createElement("g", { clipPath: "url(#copy_svg__a)" }, /* @__PURE__ */ I.createElement("path", { d: "M8.597 3H1.228C.55 3 0 3.57 0 4.273v8.909h1.228v-8.91h7.369V3Zm1.842 2.545H3.684c-.678 0-1.228.57-1.228 1.273v8.91c0 .702.55 1.272 1.228 1.272h6.755c.678 0 1.228-.57 1.228-1.273V6.818c0-.703-.55-1.273-1.228-1.273Zm0 10.182H3.684V6.818h6.755v8.91Z", fill: "currentColor", stroke: "currentColor", strokeWidth: 0.3 })), /* @__PURE__ */ I.createElement("defs", null, /* @__PURE__ */ I.createElement("clipPath", { id: "copy_svg__a" }, /* @__PURE__ */ I.createElement("path", { d: "M0 0h20v20H0z" })))), Bh = (e) => /* @__PURE__ */ I.createElement("svg", { viewBox: "0 0 20 21", fill: "none", xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", ...e }, /* @__PURE__ */ I.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.6 2.487a.175.175 0 0 0-.126.053.185.185 0 0 0-.052.13v8.04a.541.541 0 0 1-.533.548.541.541 0 0 1-.533-.548V2.67c0-.34.13-.665.364-.905.234-.24.55-.375.88-.375h8.533a.522.522 0 0 1 .378.16l4.977 5.117a.539.539 0 0 1 .153.33.549.549 0 0 1 .003.058v3.655a.541.541 0 0 1-.533.548.54.54 0 0 1-.533-.548V7.603h-4.445a.54.54 0 0 1-.533-.548V2.487h-8Zm9.067.775v3.245h3.156l-3.156-3.245Zm-3.556 12.2c0-.22.075-.36.18-.453.115-.1.315-.187.62-.188.365.002.721.124 1.015.349.236.18.57.13.746-.112a.558.558 0 0 0-.109-.767 2.724 2.724 0 0 0-1.65-.566H9.91c-.495 0-.962.142-1.314.452-.36.318-.552.771-.552 1.284 0 .276.073.525.215.738.137.206.32.35.499.454.32.187.723.297 1.046.384l.058.016c.374.102.649.185.837.302.15.094.189.17.189.299 0 .283-.095.4-.21.475-.153.1-.41.165-.767.165a1.676 1.676 0 0 1-1.015-.348.524.524 0 0 0-.747.111.558.558 0 0 0 .109.767 2.723 2.723 0 0 0 1.65.566h.002c.443 0 .94-.073 1.343-.338.441-.29.702-.767.702-1.398 0-.602-.317-.994-.7-1.235-.341-.213-.77-.33-1.107-.422l-.012-.004c-.38-.103-.658-.18-.851-.293a.432.432 0 0 1-.146-.121c-.014-.02-.029-.051-.029-.118Zm4.595-1.603a.528.528 0 0 1 .697.295l1.286 3.171 1.285-3.171a.528.528 0 0 1 .698-.295c.272.116.4.437.287.717L16.18 18.96a.533.533 0 0 1-.492.338.533.533 0 0 1-.492-.338l-1.778-4.385a.554.554 0 0 1 .287-.717Zm-9.22 1.054c-.745.001-1.42.687-1.42 1.645 0 .957.675 1.643 1.42 1.644.33-.003.645-.13.887-.359a.523.523 0 0 1 .754.035.559.559 0 0 1-.034.775 2.364 2.364 0 0 1-1.6.646H4.49c-1.423 0-2.49-1.27-2.49-2.741 0-1.472 1.067-2.742 2.489-2.742h.004a2.365 2.365 0 0 1 1.6.647.56.56 0 0 1 .034.774.523.523 0 0 1-.754.035 1.314 1.314 0 0 0-.886-.36Z", fill: "currentColor" }), /* @__PURE__ */ I.createElement("path", { d: "m3.474 2.54-.143-.14.143.14Zm-.754-.775-.143-.14.143.14Zm9.413-.375v-.2.2Zm.324.112-.124.158.124-.158Zm.053.049-.143.14.143-.14Zm4.978 5.116.144-.139-.144.14Zm.053.064-.163.116.163-.116Zm.1.266-.199.02.2-.02Zm-1.063.606h.2a.2.2 0 0 0-.2-.2v.2ZM11.6 2.487h.2a.2.2 0 0 0-.2-.2v.2Zm1.067.775.143-.14a.2.2 0 0 0-.343.14h.2Zm0 3.245h-.2c0 .11.09.2.2.2v-.2Zm3.156 0v.2a.2.2 0 0 0 .144-.34l-.144.14Zm-6.531 8.502.132.15-.132-.15Zm.618-.188.001-.2v.2Zm1.016.349.121-.16-.121.16Zm.746-.112.162.117-.162-.117Zm-.109-.767-.121.158.121-.158Zm-1.65-.566v-.2.2Zm-.002 0v-.2.2Zm-1.314.452.133.15-.133-.15Zm-.337 2.022-.166.111.166-.111Zm.499.454-.1.173.1-.173Zm1.046.384.052-.193-.052.193Zm.058.016.053-.193-.053.193Zm.837.302-.106.17.106-.17Zm-.02.774-.11-.167.11.167Zm-.768.165v.2-.2Zm-1.015-.348.121-.16-.121.16Zm-.638.878.122-.158-.122.158Zm1.65.566v.2-.2Zm.002 0v.2-.2Zm1.343-.338.11.167-.11-.167Zm.001-2.633.106-.17-.106.17Zm-1.106-.422-.052.193.053-.193Zm-.012-.004-.053.193.053-.193Zm-.851-.293-.101.172.1-.172Zm-.146-.121.166-.111-.166.11Zm5.263-1.425-.185.075.185-.075Zm-.697-.295.079.184-.08-.184Zm1.983 3.466-.186.075a.2.2 0 0 0 .371 0l-.185-.075Zm1.285-3.171.186.075-.186-.075Zm.698-.295-.08.184.08-.184Zm.287.717-.186-.075.186.075ZM16.18 18.96l-.185-.075.185.075Zm-.985 0-.185.076.186-.076Zm-1.777-4.385-.186.075.186-.075Zm-8.932.337.002-.2h-.003v.2Zm0 3.29v.2h.002l-.002-.2Zm.886-.36-.137-.145.137.145Zm.754.035-.15.133.15-.133Zm-.034.775-.137-.146.137.146Zm-1.6.646.001.2v-.2Zm-.004 0v.2-.2Zm0-5.482v-.2.2Zm.004 0 .002-.2h-.001v.2Zm1.6.646-.137.145.137-.145Zm.034.774.15.133-.15-.133Zm-.754.035-.137.146.137-.146ZM3.618 2.68a.025.025 0 0 1-.018.007v-.4a.375.375 0 0 0-.269.114l.287.279Zm.004-.01a.015.015 0 0 1-.004.01L3.33 2.4a.385.385 0 0 0-.109.27h.4Zm0 8.04V2.67h-.4v8.04h.4Zm-.733.748a.74.74 0 0 0 .733-.748h-.4a.341.341 0 0 1-.333.348v.4Zm-.733-.748a.74.74 0 0 0 .733.748v-.4a.341.341 0 0 1-.333-.348h-.4Zm0-8.04v8.04h.4V2.67h-.4Zm.42-1.045c-.27.278-.42.654-.42 1.044h.4c0-.288.111-.563.308-.765l-.287-.279ZM3.6 1.19c-.385 0-.753.157-1.023.435l.287.28A1.02 1.02 0 0 1 3.6 1.59v-.4Zm8.533 0H3.6v.4h8.533v-.4Zm0 .4v-.4.4Zm0 0c.075 0 .144.026.2.07l.247-.315a.722.722 0 0 0-.447-.155v.4Zm.52-.179a.736.736 0 0 0-.073-.066l-.247.315.034.03.287-.279Zm4.979 5.117-4.978-5.117-.287.28 4.978 5.116.287-.279Zm.072.086a.758.758 0 0 0-.072-.086l-.287.279a.349.349 0 0 1 .033.04l.326-.233Zm-.326.233a.354.354 0 0 1 .064.17l.398-.04a.754.754 0 0 0-.136-.363l-.326.233Zm.466.208a.773.773 0 0 0-.004-.08l-.398.042a.364.364 0 0 1 .002.038h.4Zm0 3.655V7.055h-.4v3.655h.4Zm-.733.748a.74.74 0 0 0 .733-.748h-.4a.341.341 0 0 1-.333.348v.4Zm-.733-.748a.74.74 0 0 0 .733.748v-.4a.341.341 0 0 1-.333-.348h-.4Zm0-3.107v3.107h.4V7.603h-.4Zm.2-.2h-4.445v.4h4.445v-.4Zm-4.445 0a.341.341 0 0 1-.333-.348h-.4a.74.74 0 0 0 .733.748v-.4Zm-.333-.348V2.487h-.4v4.568h.4ZM3.6 2.687h8v-.4h-8v.4Zm8.867.575v3.245h.4V3.262h-.4Zm.2 3.445h3.156v-.4h-3.156v.4ZM12.523 3.4l3.157 3.245.287-.279-3.157-3.245-.287.28ZM9.16 14.86c-.153.135-.248.332-.248.602h.4c0-.166.054-.25.113-.302l-.265-.3Zm.751-.238c-.341 0-.592.098-.75.238l.264.3c.07-.062.22-.137.487-.138v-.4Zm1.137.39a1.876 1.876 0 0 0-1.136-.39l-.001.4c.322.002.635.109.894.307l.243-.317Zm.463-.07a.324.324 0 0 1-.463.07l-.243.317c.327.25.789.18 1.03-.153l-.324-.235Zm-.068-.492a.358.358 0 0 1 .068.492l.324.234a.758.758 0 0 0-.149-1.043l-.243.317Zm-1.53-.524c.55.002 1.087.185 1.53.524l.243-.317a2.924 2.924 0 0 0-1.772-.607v.4Zm-.001 0h.001v-.4l-.001.4Zm-1.181.402c.307-.27.723-.402 1.181-.402v-.4c-.532 0-1.05.152-1.446.502l.265.3Zm-.485 1.134c0-.46.171-.858.485-1.134l-.265-.3c-.408.36-.62.87-.62 1.434h.4Zm.182.627a1.108 1.108 0 0 1-.182-.627h-.4c0 .313.084.602.249.85l.333-.223Zm.433.392a1.29 1.29 0 0 1-.433-.392l-.333.222c.159.238.367.401.564.516l.202-.346Zm.997.364c-.328-.089-.704-.192-.997-.364l-.202.346c.347.203.777.318 1.094.404l.105-.386Zm.059.016-.059-.016-.105.386.059.016.105-.386Zm.89.326c-.218-.137-.524-.226-.89-.326l-.106.386c.382.104.626.18.784.279l.213-.339Zm.283.468a.495.495 0 0 0-.068-.267.636.636 0 0 0-.215-.201l-.212.339a.3.3 0 0 1 .086.07c.002.005.009.015.009.059h.4Zm-.3.642a.614.614 0 0 0 .216-.235.876.876 0 0 0 .084-.407h-.4a.48.48 0 0 1-.04.224.215.215 0 0 1-.08.084l.22.334Zm-.877.198c.373 0 .677-.066.877-.198l-.22-.334c-.105.07-.317.131-.657.132v.4Zm-1.137-.39c.328.252.726.388 1.136.39l.002-.4a1.476 1.476 0 0 1-.895-.307l-.243.317Zm-.463.07a.324.324 0 0 1 .463-.07l.243-.317a.724.724 0 0 0-1.03.153l.324.235Zm.069.492a.358.358 0 0 1-.069-.491l-.324-.235a.758.758 0 0 0 .15 1.043l.243-.317Zm1.53.524a2.524 2.524 0 0 1-1.53-.524l-.244.317a2.925 2.925 0 0 0 1.772.607l.001-.4Zm0 0H9.91v.4l.001-.4Zm1.233-.305c-.355.234-.807.305-1.233.305v.4c.46 0 1.003-.075 1.453-.37l-.22-.335Zm.612-1.231c0 .57-.232.981-.612 1.231l.22.334c.503-.33.792-.873.792-1.565h-.4Zm-.607-1.065c.34.213.607.547.607 1.065h.4c0-.686-.367-1.136-.795-1.404l-.212.339Zm-1.052-.4c.341.094.74.205 1.052.4l.213-.34c-.37-.231-.83-.355-1.16-.445l-.105.386Zm-.013-.003.013.004.105-.386-.012-.004-.106.386Zm-.9-.314c.222.13.53.213.9.314l.106-.386c-.39-.106-.638-.177-.804-.273l-.201.345Zm-.21-.182c.04.06.106.121.21.182l.202-.345c-.07-.04-.083-.064-.08-.06l-.332.223Zm-.063-.229a.39.39 0 0 0 .063.229l.332-.222.001.001a.048.048 0 0 1 .005.012v-.02h-.4Zm5.678-1.382a.728.728 0 0 0-.962-.404l.158.368a.328.328 0 0 1 .433.186l.37-.15Zm1.285 3.171L14.59 14.08l-.371.15 1.285 3.171.371-.15Zm.915-3.171-1.286 3.171.371.15 1.286-3.171-.371-.15Zm.961-.404a.728.728 0 0 0-.961.404l.37.15a.328.328 0 0 1 .434-.186l.157-.368Zm.394.976a.754.754 0 0 0-.394-.976l-.157.368a.354.354 0 0 1 .18.458l.371.15Zm-1.778 4.386 1.778-4.386-.37-.15-1.778 4.385.37.15Zm-.677.462c.3 0 .565-.185.677-.462l-.37-.15a.333.333 0 0 1-.307.212v.4Zm-.678-.462a.734.734 0 0 0 .678.462v-.4a.334.334 0 0 1-.307-.213l-.37.15Zm-1.778-4.386 1.778 4.386.37-.15-1.777-4.386-.37.15Zm.394-.976a.754.754 0 0 0-.394.976l.371-.15a.354.354 0 0 1 .18-.458l-.157-.368Zm-10.36 2.883c0-.868.603-1.444 1.22-1.445v-.4c-.876.002-1.62.797-1.62 1.845h.4Zm1.22 1.444c-.617 0-1.22-.577-1.22-1.444h-.4c0 1.047.744 1.843 1.62 1.844v-.4Zm.75-.304a1.114 1.114 0 0 1-.752.304l.004.4a1.51 1.51 0 0 0 1.021-.413l-.274-.291Zm1.04.047a.723.723 0 0 0-1.04-.047l.273.291a.323.323 0 0 1 .467.022l.3-.266Zm-.047 1.053a.759.759 0 0 0 .046-1.053l-.299.266a.359.359 0 0 1-.02.496l.273.291Zm-1.735.7a2.564 2.564 0 0 0 1.735-.7l-.274-.291a2.165 2.165 0 0 1-1.464.592l.003.4Zm-.005 0h.004l-.002-.4h-.004l.002.4Zm-2.69-2.94c0 1.559 1.135 2.94 2.689 2.94v-.4c-1.29 0-2.289-1.156-2.289-2.54h-.4Zm2.689-2.941c-1.554 0-2.689 1.381-2.689 2.94h.4c0-1.384 1-2.54 2.289-2.54v-.4Zm.005 0H4.49l-.002.4h.004l.002-.4Zm1.736.7a2.565 2.565 0 0 0-1.735-.7l-.003.4a2.165 2.165 0 0 1 1.464.591l.274-.291Zm.046 1.053a.759.759 0 0 0-.046-1.053l-.274.291c.138.13.149.353.021.496l.3.266Zm-1.04.048c.3.281.767.26 1.04-.048l-.299-.266a.323.323 0 0 1-.467.022l-.274.292Zm-.751-.305c.277.003.545.11.751.305l.274-.292a1.514 1.514 0 0 0-1.021-.413l-.004.4Z", fill: "currentColor" })), zh = (e) => /* @__PURE__ */ I.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", ...e }, /* @__PURE__ */ I.createElement("path", { d: "m18.27 5.648-2.916-2.916A2.512 2.512 0 0 0 13.586 2H6.5A2.5 2.5 0 0 0 4 4.5v15A2.5 2.5 0 0 0 6.5 22h10c1.375 0 2.5-1.125 2.5-2.5V7.414c0-.66-.262-1.297-.73-1.766ZM17.125 19.5c0 .345-.28.625-.625.625h-10a.625.625 0 0 1-.624-.625L5.875 4.505c0-.345.28-.625.625-.625h6.25V7c0 .69.56 1.25 1.25 1.25h3.09V19.5h.035Zm-4.715-6.094a.547.547 0 0 0-.455.244l-1.549 2.327-.456-.685a.544.544 0 0 0-.909-.002l-1.823 2.735a.547.547 0 0 0-.027.561.53.53 0 0 0 .446.289h7.656a.547.547 0 0 0 .455-.85L12.83 13.65c-.065-.154-.237-.244-.42-.244ZM9 13.25a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5Z", fill: "currentColor" })), Uh = (e) => /* @__PURE__ */ I.createElement("svg", { viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", ...e }, /* @__PURE__ */ I.createElement("path", { d: "M2.667 2A.667.667 0 0 0 2 2.667V6a.667.667 0 0 0 1.333 0V3.333H6A.667.667 0 1 0 6 2H2.667Zm0 12A.667.667 0 0 1 2 13.333V10a.667.667 0 0 1 1.333 0v2.667H6A.667.667 0 1 1 6 14H2.667ZM14 2.667A.667.667 0 0 0 13.333 2H10a.667.667 0 0 0 0 1.333h2.667V6A.667.667 0 1 0 14 6V2.667ZM13.333 14a.667.667 0 0 0 .667-.667V10a.667.667 0 0 0-1.333 0v2.667H10A.667.667 0 1 0 10 14h3.333Z", fill: "currentColor" })), Mh = (e) => /* @__PURE__ */ I.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 21 20", fill: "none", width: "1em", height: "1em", ...e }, /* @__PURE__ */ I.createElement("path", { d: "M15.521 13.459a2.76 2.76 0 0 0-1.996.853l-6.407-3.605a2.764 2.764 0 0 0 0-1.423l6.407-3.605a2.762 2.762 0 1 0-.681-1.206L6.437 8.078a2.77 2.77 0 1 0 0 3.835l6.407 3.605a2.77 2.77 0 1 0 2.678-2.06Z", fill: "currentColor" }));
|
|
11661
|
+
}), Dh = (e) => /* @__PURE__ */ I.createElement("svg", { viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", ...e }, /* @__PURE__ */ I.createElement("g", { clipPath: "url(#copy_svg__a)" }, /* @__PURE__ */ I.createElement("path", { d: "M8.597 3H1.228C.55 3 0 3.57 0 4.273v8.909h1.228v-8.91h7.369V3Zm1.842 2.545H3.684c-.678 0-1.228.57-1.228 1.273v8.91c0 .702.55 1.272 1.228 1.272h6.755c.678 0 1.228-.57 1.228-1.273V6.818c0-.703-.55-1.273-1.228-1.273Zm0 10.182H3.684V6.818h6.755v8.91Z", fill: "currentColor", stroke: "currentColor", strokeWidth: 0.3 })), /* @__PURE__ */ I.createElement("defs", null, /* @__PURE__ */ I.createElement("clipPath", { id: "copy_svg__a" }, /* @__PURE__ */ I.createElement("path", { d: "M0 0h20v20H0z" })))), zh = (e) => /* @__PURE__ */ I.createElement("svg", { viewBox: "0 0 20 21", fill: "none", xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", ...e }, /* @__PURE__ */ I.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.6 2.487a.175.175 0 0 0-.126.053.185.185 0 0 0-.052.13v8.04a.541.541 0 0 1-.533.548.541.541 0 0 1-.533-.548V2.67c0-.34.13-.665.364-.905.234-.24.55-.375.88-.375h8.533a.522.522 0 0 1 .378.16l4.977 5.117a.539.539 0 0 1 .153.33.549.549 0 0 1 .003.058v3.655a.541.541 0 0 1-.533.548.54.54 0 0 1-.533-.548V7.603h-4.445a.54.54 0 0 1-.533-.548V2.487h-8Zm9.067.775v3.245h3.156l-3.156-3.245Zm-3.556 12.2c0-.22.075-.36.18-.453.115-.1.315-.187.62-.188.365.002.721.124 1.015.349.236.18.57.13.746-.112a.558.558 0 0 0-.109-.767 2.724 2.724 0 0 0-1.65-.566H9.91c-.495 0-.962.142-1.314.452-.36.318-.552.771-.552 1.284 0 .276.073.525.215.738.137.206.32.35.499.454.32.187.723.297 1.046.384l.058.016c.374.102.649.185.837.302.15.094.189.17.189.299 0 .283-.095.4-.21.475-.153.1-.41.165-.767.165a1.676 1.676 0 0 1-1.015-.348.524.524 0 0 0-.747.111.558.558 0 0 0 .109.767 2.723 2.723 0 0 0 1.65.566h.002c.443 0 .94-.073 1.343-.338.441-.29.702-.767.702-1.398 0-.602-.317-.994-.7-1.235-.341-.213-.77-.33-1.107-.422l-.012-.004c-.38-.103-.658-.18-.851-.293a.432.432 0 0 1-.146-.121c-.014-.02-.029-.051-.029-.118Zm4.595-1.603a.528.528 0 0 1 .697.295l1.286 3.171 1.285-3.171a.528.528 0 0 1 .698-.295c.272.116.4.437.287.717L16.18 18.96a.533.533 0 0 1-.492.338.533.533 0 0 1-.492-.338l-1.778-4.385a.554.554 0 0 1 .287-.717Zm-9.22 1.054c-.745.001-1.42.687-1.42 1.645 0 .957.675 1.643 1.42 1.644.33-.003.645-.13.887-.359a.523.523 0 0 1 .754.035.559.559 0 0 1-.034.775 2.364 2.364 0 0 1-1.6.646H4.49c-1.423 0-2.49-1.27-2.49-2.741 0-1.472 1.067-2.742 2.489-2.742h.004a2.365 2.365 0 0 1 1.6.647.56.56 0 0 1 .034.774.523.523 0 0 1-.754.035 1.314 1.314 0 0 0-.886-.36Z", fill: "currentColor" }), /* @__PURE__ */ I.createElement("path", { d: "m3.474 2.54-.143-.14.143.14Zm-.754-.775-.143-.14.143.14Zm9.413-.375v-.2.2Zm.324.112-.124.158.124-.158Zm.053.049-.143.14.143-.14Zm4.978 5.116.144-.139-.144.14Zm.053.064-.163.116.163-.116Zm.1.266-.199.02.2-.02Zm-1.063.606h.2a.2.2 0 0 0-.2-.2v.2ZM11.6 2.487h.2a.2.2 0 0 0-.2-.2v.2Zm1.067.775.143-.14a.2.2 0 0 0-.343.14h.2Zm0 3.245h-.2c0 .11.09.2.2.2v-.2Zm3.156 0v.2a.2.2 0 0 0 .144-.34l-.144.14Zm-6.531 8.502.132.15-.132-.15Zm.618-.188.001-.2v.2Zm1.016.349.121-.16-.121.16Zm.746-.112.162.117-.162-.117Zm-.109-.767-.121.158.121-.158Zm-1.65-.566v-.2.2Zm-.002 0v-.2.2Zm-1.314.452.133.15-.133-.15Zm-.337 2.022-.166.111.166-.111Zm.499.454-.1.173.1-.173Zm1.046.384.052-.193-.052.193Zm.058.016.053-.193-.053.193Zm.837.302-.106.17.106-.17Zm-.02.774-.11-.167.11.167Zm-.768.165v.2-.2Zm-1.015-.348.121-.16-.121.16Zm-.638.878.122-.158-.122.158Zm1.65.566v.2-.2Zm.002 0v.2-.2Zm1.343-.338.11.167-.11-.167Zm.001-2.633.106-.17-.106.17Zm-1.106-.422-.052.193.053-.193Zm-.012-.004-.053.193.053-.193Zm-.851-.293-.101.172.1-.172Zm-.146-.121.166-.111-.166.11Zm5.263-1.425-.185.075.185-.075Zm-.697-.295.079.184-.08-.184Zm1.983 3.466-.186.075a.2.2 0 0 0 .371 0l-.185-.075Zm1.285-3.171.186.075-.186-.075Zm.698-.295-.08.184.08-.184Zm.287.717-.186-.075.186.075ZM16.18 18.96l-.185-.075.185.075Zm-.985 0-.185.076.186-.076Zm-1.777-4.385-.186.075.186-.075Zm-8.932.337.002-.2h-.003v.2Zm0 3.29v.2h.002l-.002-.2Zm.886-.36-.137-.145.137.145Zm.754.035-.15.133.15-.133Zm-.034.775-.137-.146.137.146Zm-1.6.646.001.2v-.2Zm-.004 0v.2-.2Zm0-5.482v-.2.2Zm.004 0 .002-.2h-.001v.2Zm1.6.646-.137.145.137-.145Zm.034.774.15.133-.15-.133Zm-.754.035-.137.146.137-.146ZM3.618 2.68a.025.025 0 0 1-.018.007v-.4a.375.375 0 0 0-.269.114l.287.279Zm.004-.01a.015.015 0 0 1-.004.01L3.33 2.4a.385.385 0 0 0-.109.27h.4Zm0 8.04V2.67h-.4v8.04h.4Zm-.733.748a.74.74 0 0 0 .733-.748h-.4a.341.341 0 0 1-.333.348v.4Zm-.733-.748a.74.74 0 0 0 .733.748v-.4a.341.341 0 0 1-.333-.348h-.4Zm0-8.04v8.04h.4V2.67h-.4Zm.42-1.045c-.27.278-.42.654-.42 1.044h.4c0-.288.111-.563.308-.765l-.287-.279ZM3.6 1.19c-.385 0-.753.157-1.023.435l.287.28A1.02 1.02 0 0 1 3.6 1.59v-.4Zm8.533 0H3.6v.4h8.533v-.4Zm0 .4v-.4.4Zm0 0c.075 0 .144.026.2.07l.247-.315a.722.722 0 0 0-.447-.155v.4Zm.52-.179a.736.736 0 0 0-.073-.066l-.247.315.034.03.287-.279Zm4.979 5.117-4.978-5.117-.287.28 4.978 5.116.287-.279Zm.072.086a.758.758 0 0 0-.072-.086l-.287.279a.349.349 0 0 1 .033.04l.326-.233Zm-.326.233a.354.354 0 0 1 .064.17l.398-.04a.754.754 0 0 0-.136-.363l-.326.233Zm.466.208a.773.773 0 0 0-.004-.08l-.398.042a.364.364 0 0 1 .002.038h.4Zm0 3.655V7.055h-.4v3.655h.4Zm-.733.748a.74.74 0 0 0 .733-.748h-.4a.341.341 0 0 1-.333.348v.4Zm-.733-.748a.74.74 0 0 0 .733.748v-.4a.341.341 0 0 1-.333-.348h-.4Zm0-3.107v3.107h.4V7.603h-.4Zm.2-.2h-4.445v.4h4.445v-.4Zm-4.445 0a.341.341 0 0 1-.333-.348h-.4a.74.74 0 0 0 .733.748v-.4Zm-.333-.348V2.487h-.4v4.568h.4ZM3.6 2.687h8v-.4h-8v.4Zm8.867.575v3.245h.4V3.262h-.4Zm.2 3.445h3.156v-.4h-3.156v.4ZM12.523 3.4l3.157 3.245.287-.279-3.157-3.245-.287.28ZM9.16 14.86c-.153.135-.248.332-.248.602h.4c0-.166.054-.25.113-.302l-.265-.3Zm.751-.238c-.341 0-.592.098-.75.238l.264.3c.07-.062.22-.137.487-.138v-.4Zm1.137.39a1.876 1.876 0 0 0-1.136-.39l-.001.4c.322.002.635.109.894.307l.243-.317Zm.463-.07a.324.324 0 0 1-.463.07l-.243.317c.327.25.789.18 1.03-.153l-.324-.235Zm-.068-.492a.358.358 0 0 1 .068.492l.324.234a.758.758 0 0 0-.149-1.043l-.243.317Zm-1.53-.524c.55.002 1.087.185 1.53.524l.243-.317a2.924 2.924 0 0 0-1.772-.607v.4Zm-.001 0h.001v-.4l-.001.4Zm-1.181.402c.307-.27.723-.402 1.181-.402v-.4c-.532 0-1.05.152-1.446.502l.265.3Zm-.485 1.134c0-.46.171-.858.485-1.134l-.265-.3c-.408.36-.62.87-.62 1.434h.4Zm.182.627a1.108 1.108 0 0 1-.182-.627h-.4c0 .313.084.602.249.85l.333-.223Zm.433.392a1.29 1.29 0 0 1-.433-.392l-.333.222c.159.238.367.401.564.516l.202-.346Zm.997.364c-.328-.089-.704-.192-.997-.364l-.202.346c.347.203.777.318 1.094.404l.105-.386Zm.059.016-.059-.016-.105.386.059.016.105-.386Zm.89.326c-.218-.137-.524-.226-.89-.326l-.106.386c.382.104.626.18.784.279l.213-.339Zm.283.468a.495.495 0 0 0-.068-.267.636.636 0 0 0-.215-.201l-.212.339a.3.3 0 0 1 .086.07c.002.005.009.015.009.059h.4Zm-.3.642a.614.614 0 0 0 .216-.235.876.876 0 0 0 .084-.407h-.4a.48.48 0 0 1-.04.224.215.215 0 0 1-.08.084l.22.334Zm-.877.198c.373 0 .677-.066.877-.198l-.22-.334c-.105.07-.317.131-.657.132v.4Zm-1.137-.39c.328.252.726.388 1.136.39l.002-.4a1.476 1.476 0 0 1-.895-.307l-.243.317Zm-.463.07a.324.324 0 0 1 .463-.07l.243-.317a.724.724 0 0 0-1.03.153l.324.235Zm.069.492a.358.358 0 0 1-.069-.491l-.324-.235a.758.758 0 0 0 .15 1.043l.243-.317Zm1.53.524a2.524 2.524 0 0 1-1.53-.524l-.244.317a2.925 2.925 0 0 0 1.772.607l.001-.4Zm0 0H9.91v.4l.001-.4Zm1.233-.305c-.355.234-.807.305-1.233.305v.4c.46 0 1.003-.075 1.453-.37l-.22-.335Zm.612-1.231c0 .57-.232.981-.612 1.231l.22.334c.503-.33.792-.873.792-1.565h-.4Zm-.607-1.065c.34.213.607.547.607 1.065h.4c0-.686-.367-1.136-.795-1.404l-.212.339Zm-1.052-.4c.341.094.74.205 1.052.4l.213-.34c-.37-.231-.83-.355-1.16-.445l-.105.386Zm-.013-.003.013.004.105-.386-.012-.004-.106.386Zm-.9-.314c.222.13.53.213.9.314l.106-.386c-.39-.106-.638-.177-.804-.273l-.201.345Zm-.21-.182c.04.06.106.121.21.182l.202-.345c-.07-.04-.083-.064-.08-.06l-.332.223Zm-.063-.229a.39.39 0 0 0 .063.229l.332-.222.001.001a.048.048 0 0 1 .005.012v-.02h-.4Zm5.678-1.382a.728.728 0 0 0-.962-.404l.158.368a.328.328 0 0 1 .433.186l.37-.15Zm1.285 3.171L14.59 14.08l-.371.15 1.285 3.171.371-.15Zm.915-3.171-1.286 3.171.371.15 1.286-3.171-.371-.15Zm.961-.404a.728.728 0 0 0-.961.404l.37.15a.328.328 0 0 1 .434-.186l.157-.368Zm.394.976a.754.754 0 0 0-.394-.976l-.157.368a.354.354 0 0 1 .18.458l.371.15Zm-1.778 4.386 1.778-4.386-.37-.15-1.778 4.385.37.15Zm-.677.462c.3 0 .565-.185.677-.462l-.37-.15a.333.333 0 0 1-.307.212v.4Zm-.678-.462a.734.734 0 0 0 .678.462v-.4a.334.334 0 0 1-.307-.213l-.37.15Zm-1.778-4.386 1.778 4.386.37-.15-1.777-4.386-.37.15Zm.394-.976a.754.754 0 0 0-.394.976l.371-.15a.354.354 0 0 1 .18-.458l-.157-.368Zm-10.36 2.883c0-.868.603-1.444 1.22-1.445v-.4c-.876.002-1.62.797-1.62 1.845h.4Zm1.22 1.444c-.617 0-1.22-.577-1.22-1.444h-.4c0 1.047.744 1.843 1.62 1.844v-.4Zm.75-.304a1.114 1.114 0 0 1-.752.304l.004.4a1.51 1.51 0 0 0 1.021-.413l-.274-.291Zm1.04.047a.723.723 0 0 0-1.04-.047l.273.291a.323.323 0 0 1 .467.022l.3-.266Zm-.047 1.053a.759.759 0 0 0 .046-1.053l-.299.266a.359.359 0 0 1-.02.496l.273.291Zm-1.735.7a2.564 2.564 0 0 0 1.735-.7l-.274-.291a2.165 2.165 0 0 1-1.464.592l.003.4Zm-.005 0h.004l-.002-.4h-.004l.002.4Zm-2.69-2.94c0 1.559 1.135 2.94 2.689 2.94v-.4c-1.29 0-2.289-1.156-2.289-2.54h-.4Zm2.689-2.941c-1.554 0-2.689 1.381-2.689 2.94h.4c0-1.384 1-2.54 2.289-2.54v-.4Zm.005 0H4.49l-.002.4h.004l.002-.4Zm1.736.7a2.565 2.565 0 0 0-1.735-.7l-.003.4a2.165 2.165 0 0 1 1.464.591l.274-.291Zm.046 1.053a.759.759 0 0 0-.046-1.053l-.274.291c.138.13.149.353.021.496l.3.266Zm-1.04.048c.3.281.767.26 1.04-.048l-.299-.266a.323.323 0 0 1-.467.022l-.274.292Zm-.751-.305c.277.003.545.11.751.305l.274-.292a1.514 1.514 0 0 0-1.021-.413l-.004.4Z", fill: "currentColor" })), Bh = (e) => /* @__PURE__ */ I.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", ...e }, /* @__PURE__ */ I.createElement("path", { d: "m18.27 5.648-2.916-2.916A2.512 2.512 0 0 0 13.586 2H6.5A2.5 2.5 0 0 0 4 4.5v15A2.5 2.5 0 0 0 6.5 22h10c1.375 0 2.5-1.125 2.5-2.5V7.414c0-.66-.262-1.297-.73-1.766ZM17.125 19.5c0 .345-.28.625-.625.625h-10a.625.625 0 0 1-.624-.625L5.875 4.505c0-.345.28-.625.625-.625h6.25V7c0 .69.56 1.25 1.25 1.25h3.09V19.5h.035Zm-4.715-6.094a.547.547 0 0 0-.455.244l-1.549 2.327-.456-.685a.544.544 0 0 0-.909-.002l-1.823 2.735a.547.547 0 0 0-.027.561.53.53 0 0 0 .446.289h7.656a.547.547 0 0 0 .455-.85L12.83 13.65c-.065-.154-.237-.244-.42-.244ZM9 13.25a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5Z", fill: "currentColor" })), Uh = (e) => /* @__PURE__ */ I.createElement("svg", { viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", ...e }, /* @__PURE__ */ I.createElement("path", { d: "M2.667 2A.667.667 0 0 0 2 2.667V6a.667.667 0 0 0 1.333 0V3.333H6A.667.667 0 1 0 6 2H2.667Zm0 12A.667.667 0 0 1 2 13.333V10a.667.667 0 0 1 1.333 0v2.667H6A.667.667 0 1 1 6 14H2.667ZM14 2.667A.667.667 0 0 0 13.333 2H10a.667.667 0 0 0 0 1.333h2.667V6A.667.667 0 1 0 14 6V2.667ZM13.333 14a.667.667 0 0 0 .667-.667V10a.667.667 0 0 0-1.333 0v2.667H10A.667.667 0 1 0 10 14h3.333Z", fill: "currentColor" })), Mh = (e) => /* @__PURE__ */ I.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 21 20", fill: "none", width: "1em", height: "1em", ...e }, /* @__PURE__ */ I.createElement("path", { d: "M15.521 13.459a2.76 2.76 0 0 0-1.996.853l-6.407-3.605a2.764 2.764 0 0 0 0-1.423l6.407-3.605a2.762 2.762 0 1 0-.681-1.206L6.437 8.078a2.77 2.77 0 1 0 0 3.835l6.407 3.605a2.77 2.77 0 1 0 2.678-2.06Z", fill: "currentColor" }));
|
|
11662
11662
|
let Er;
|
|
11663
11663
|
function Fh() {
|
|
11664
11664
|
if (process.env.NEXT_RUNTIME !== "nodejs")
|
|
@@ -11720,7 +11720,7 @@ function Xh() {
|
|
|
11720
11720
|
l.escapeChar !== void 0 && (S = l.escapeChar + y), (typeof l.escapeFormulae == "boolean" || l.escapeFormulae instanceof RegExp) && (O = l.escapeFormulae instanceof RegExp ? l.escapeFormulae : /^[=+\-@\t\r].*$/);
|
|
11721
11721
|
}
|
|
11722
11722
|
})();
|
|
11723
|
-
var
|
|
11723
|
+
var B = new RegExp(T(y), "g");
|
|
11724
11724
|
if (typeof i == "string" && (i = JSON.parse(i)), Array.isArray(i)) {
|
|
11725
11725
|
if (!i.length || Array.isArray(i[0])) return D(null, i, k);
|
|
11726
11726
|
if (typeof i[0] == "object") return D(w || Object.keys(i[0]), i, k);
|
|
@@ -11759,7 +11759,7 @@ function Xh() {
|
|
|
11759
11759
|
if (M.constructor === Date) return JSON.stringify(M).slice(1, 25);
|
|
11760
11760
|
var q = !1;
|
|
11761
11761
|
O && typeof M == "string" && O.test(M) && (M = "'" + M, q = !0);
|
|
11762
|
-
var V = M.toString().replace(
|
|
11762
|
+
var V = M.toString().replace(B, S);
|
|
11763
11763
|
return (q = q || d === !0 || typeof d == "function" && d(M, W) || Array.isArray(d) && d[W] || function(G, K) {
|
|
11764
11764
|
for (var Q = 0; Q < K.length; Q++) if (-1 < G.indexOf(K[Q])) return !0;
|
|
11765
11765
|
return !1;
|
|
@@ -11786,9 +11786,9 @@ function Xh() {
|
|
|
11786
11786
|
typeof O.config == "object" && (w.instanceConfig = p.extend(w.instanceConfig, O.config));
|
|
11787
11787
|
} else if (O === "skip") return void h();
|
|
11788
11788
|
}
|
|
11789
|
-
var
|
|
11789
|
+
var B = w.instanceConfig.complete;
|
|
11790
11790
|
w.instanceConfig.complete = function(D) {
|
|
11791
|
-
j(
|
|
11791
|
+
j(B) && B(D, w.file, w.inputElem), h();
|
|
11792
11792
|
}, u.parse(w.file, w.instanceConfig);
|
|
11793
11793
|
} else j(i.complete) && i.complete();
|
|
11794
11794
|
}
|
|
@@ -11923,7 +11923,7 @@ function Xh() {
|
|
|
11923
11923
|
}, this);
|
|
11924
11924
|
}
|
|
11925
11925
|
function P(i) {
|
|
11926
|
-
var l, d, m, h = Math.pow(2, 53), _ = -h, y = /^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/, S = /^(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))$/, k = this, w = 0, O = 0,
|
|
11926
|
+
var l, d, m, h = Math.pow(2, 53), _ = -h, y = /^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/, S = /^(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))$/, k = this, w = 0, O = 0, B = !1, D = !1, U = [], M = { data: [], errors: [], meta: {} };
|
|
11927
11927
|
if (j(i.step)) {
|
|
11928
11928
|
var W = i.step;
|
|
11929
11929
|
i.step = function(X) {
|
|
@@ -12012,13 +12012,13 @@ function Xh() {
|
|
|
12012
12012
|
ee.successful ? i.delimiter = ee.bestDelimiter : (m = !0, i.delimiter = u.DefaultDelimiter), M.meta.delimiter = i.delimiter;
|
|
12013
12013
|
}
|
|
12014
12014
|
var ne = L(i);
|
|
12015
|
-
return i.preview && i.header && ne.preview++, l = X, d = new R(ne), M = d.parse(l, J, te), V(),
|
|
12015
|
+
return i.preview && i.header && ne.preview++, l = X, d = new R(ne), M = d.parse(l, J, te), V(), B ? { meta: { paused: !0 } } : M || { meta: { paused: !1 } };
|
|
12016
12016
|
}, this.paused = function() {
|
|
12017
|
-
return
|
|
12017
|
+
return B;
|
|
12018
12018
|
}, this.pause = function() {
|
|
12019
|
-
|
|
12019
|
+
B = !0, d.abort(), l = j(i.chunk) ? "" : l.substring(d.getCharIndex());
|
|
12020
12020
|
}, this.resume = function() {
|
|
12021
|
-
k.streamer._halted ? (
|
|
12021
|
+
k.streamer._halted ? (B = !1, k.streamer.parseChunk(l, !0)) : setTimeout(k.resume, 3);
|
|
12022
12022
|
}, this.aborted = function() {
|
|
12023
12023
|
return D;
|
|
12024
12024
|
}, this.abort = function() {
|
|
@@ -12036,12 +12036,12 @@ function Xh() {
|
|
|
12036
12036
|
` && (m = `
|
|
12037
12037
|
`);
|
|
12038
12038
|
var w = 0, O = !1;
|
|
12039
|
-
this.parse = function(
|
|
12040
|
-
if (typeof
|
|
12041
|
-
var M =
|
|
12042
|
-
if (!
|
|
12043
|
-
if (S || S !== !1 &&
|
|
12044
|
-
for (var te =
|
|
12039
|
+
this.parse = function(B, D, U) {
|
|
12040
|
+
if (typeof B != "string") throw new Error("Input must be a string");
|
|
12041
|
+
var M = B.length, W = d.length, q = m.length, V = h.length, G = j(_), K = [], Q = [], X = [], J = w = 0;
|
|
12042
|
+
if (!B) return _e();
|
|
12043
|
+
if (S || S !== !1 && B.indexOf(l) === -1) {
|
|
12044
|
+
for (var te = B.split(m), Z = 0; Z < te.length; Z++) {
|
|
12045
12045
|
if (X = te[Z], w += X.length, Z !== te.length - 1) w += m.length;
|
|
12046
12046
|
else if (U) return _e();
|
|
12047
12047
|
if (!h || X.substring(0, V) !== h) {
|
|
@@ -12053,29 +12053,29 @@ function Xh() {
|
|
|
12053
12053
|
}
|
|
12054
12054
|
return _e();
|
|
12055
12055
|
}
|
|
12056
|
-
for (var ee =
|
|
12056
|
+
for (var ee = B.indexOf(d, w), ne = B.indexOf(m, w), oe = new RegExp(T(k) + T(l), "g"), ie = B.indexOf(l, w); ; ) if (B[w] !== l) if (h && X.length === 0 && B.substring(w, w + V) === h) {
|
|
12057
12057
|
if (ne === -1) return _e();
|
|
12058
|
-
w = ne + q, ne =
|
|
12059
|
-
} else if (ee !== -1 && (ee < ne || ne === -1)) X.push(
|
|
12058
|
+
w = ne + q, ne = B.indexOf(m, w), ee = B.indexOf(d, w);
|
|
12059
|
+
} else if (ee !== -1 && (ee < ne || ne === -1)) X.push(B.substring(w, ee)), w = ee + W, ee = B.indexOf(d, w);
|
|
12060
12060
|
else {
|
|
12061
12061
|
if (ne === -1) break;
|
|
12062
|
-
if (X.push(
|
|
12062
|
+
if (X.push(B.substring(w, ne)), Ae(ne + q), G && (Je(), O)) return _e();
|
|
12063
12063
|
if (y && K.length >= y) return _e(!0);
|
|
12064
12064
|
}
|
|
12065
12065
|
else for (ie = w, w++; ; ) {
|
|
12066
|
-
if ((ie =
|
|
12067
|
-
if (ie === M - 1) return Fe(
|
|
12068
|
-
if (l !== k ||
|
|
12069
|
-
if (l === k || ie === 0 ||
|
|
12070
|
-
ee !== -1 && ee < ie + 1 && (ee =
|
|
12066
|
+
if ((ie = B.indexOf(l, ie + 1)) === -1) return U || Q.push({ type: "Quotes", code: "MissingQuotes", message: "Quoted field unterminated", row: K.length, index: w }), Fe();
|
|
12067
|
+
if (ie === M - 1) return Fe(B.substring(w, ie).replace(oe, l));
|
|
12068
|
+
if (l !== k || B[ie + 1] !== k) {
|
|
12069
|
+
if (l === k || ie === 0 || B[ie - 1] !== k) {
|
|
12070
|
+
ee !== -1 && ee < ie + 1 && (ee = B.indexOf(d, ie + 1)), ne !== -1 && ne < ie + 1 && (ne = B.indexOf(m, ie + 1));
|
|
12071
12071
|
var Ke = Qe(ne === -1 ? ee : Math.min(ee, ne));
|
|
12072
|
-
if (
|
|
12073
|
-
X.push(
|
|
12072
|
+
if (B.substr(ie + 1 + Ke, W) === d) {
|
|
12073
|
+
X.push(B.substring(w, ie).replace(oe, l)), B[w = ie + 1 + Ke + W] !== l && (ie = B.indexOf(l, w)), ee = B.indexOf(d, w), ne = B.indexOf(m, w);
|
|
12074
12074
|
break;
|
|
12075
12075
|
}
|
|
12076
12076
|
var De = Qe(ne);
|
|
12077
|
-
if (
|
|
12078
|
-
if (X.push(
|
|
12077
|
+
if (B.substring(ie + 1 + De, ie + 1 + De + q) === m) {
|
|
12078
|
+
if (X.push(B.substring(w, ie).replace(oe, l)), Ae(ie + 1 + De + q), ee = B.indexOf(d, w), ie = B.indexOf(l, w), G && (Je(), O)) return _e();
|
|
12079
12079
|
if (y && K.length >= y) return _e(!0);
|
|
12080
12080
|
break;
|
|
12081
12081
|
}
|
|
@@ -12090,16 +12090,16 @@ function Xh() {
|
|
|
12090
12090
|
function Qe(ye) {
|
|
12091
12091
|
var dt = 0;
|
|
12092
12092
|
if (ye !== -1) {
|
|
12093
|
-
var We =
|
|
12093
|
+
var We = B.substring(ie + 1, ye);
|
|
12094
12094
|
We && We.trim() === "" && (dt = We.length);
|
|
12095
12095
|
}
|
|
12096
12096
|
return dt;
|
|
12097
12097
|
}
|
|
12098
12098
|
function Fe(ye) {
|
|
12099
|
-
return U || (ye === void 0 && (ye =
|
|
12099
|
+
return U || (ye === void 0 && (ye = B.substring(w)), X.push(ye), w = M, ke(X), G && Je()), _e();
|
|
12100
12100
|
}
|
|
12101
12101
|
function Ae(ye) {
|
|
12102
|
-
w = ye, ke(X), X = [], ne =
|
|
12102
|
+
w = ye, ke(X), X = [], ne = B.indexOf(m, w);
|
|
12103
12103
|
}
|
|
12104
12104
|
function _e(ye) {
|
|
12105
12105
|
return { data: K, errors: Q, meta: { delimiter: d, linebreak: m, aborted: O, truncated: !!ye, cursor: J + (D || 0) } };
|
|
@@ -12118,16 +12118,16 @@ function Xh() {
|
|
|
12118
12118
|
if (l.error) d.userError(l.error, l.file);
|
|
12119
12119
|
else if (l.results && l.results.data) {
|
|
12120
12120
|
var h = { abort: function() {
|
|
12121
|
-
m = !0,
|
|
12121
|
+
m = !0, z(l.workerId, { data: [], errors: [], meta: { aborted: !0 } });
|
|
12122
12122
|
}, pause: F, resume: F };
|
|
12123
12123
|
if (j(d.userStep)) {
|
|
12124
12124
|
for (var _ = 0; _ < l.results.data.length && (d.userStep({ data: l.results.data[_], errors: l.results.errors, meta: l.results.meta }, h), !m); _++) ;
|
|
12125
12125
|
delete l.results;
|
|
12126
12126
|
} else j(d.userChunk) && (d.userChunk(l.results, h, l.file), delete l.results);
|
|
12127
12127
|
}
|
|
12128
|
-
l.finished && !m &&
|
|
12128
|
+
l.finished && !m && z(l.workerId, l.results);
|
|
12129
12129
|
}
|
|
12130
|
-
function
|
|
12130
|
+
function z(i, l) {
|
|
12131
12131
|
var d = c[i];
|
|
12132
12132
|
j(d.userComplete) && d.userComplete(l), d.terminate(), delete c[i];
|
|
12133
12133
|
}
|
|
@@ -12253,7 +12253,7 @@ const l2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
12253
12253
|
handleZoom: p,
|
|
12254
12254
|
handleZoomReset: g
|
|
12255
12255
|
}) => {
|
|
12256
|
-
const v =
|
|
12256
|
+
const v = zt("white", "black"), C = Tn(), [, b] = ja(), x = Nt(), P = $h(), T = A.useMemo(() => P != null && P.chain.name ? ` on ${P.chain.name}` : "", [P == null ? void 0 : P.chain.name]), R = A.useCallback(() => {
|
|
12257
12257
|
C.onOpenChange({ open: !0 });
|
|
12258
12258
|
}, [C]), E = A.useCallback(() => {
|
|
12259
12259
|
setTimeout(() => {
|
|
@@ -12276,7 +12276,7 @@ const l2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
12276
12276
|
i.download = `${r}${T} (Blockscout chart).png`, i.href = j, i.click(), i.remove();
|
|
12277
12277
|
});
|
|
12278
12278
|
}, 100);
|
|
12279
|
-
}, [v, r, T, a]),
|
|
12279
|
+
}, [v, r, T, a]), z = A.useCallback(() => {
|
|
12280
12280
|
const j = [
|
|
12281
12281
|
"Date",
|
|
12282
12282
|
...t.map((l) => l.name)
|
|
@@ -12299,7 +12299,7 @@ const l2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
12299
12299
|
}, [r, n, c]);
|
|
12300
12300
|
return /* @__PURE__ */ $(Ge, { children: [
|
|
12301
12301
|
/* @__PURE__ */ $(Dd, { children: [
|
|
12302
|
-
/* @__PURE__ */ f(
|
|
12302
|
+
/* @__PURE__ */ f(zd, { asChild: !0, children: /* @__PURE__ */ f(yt, { variant: "icon_background", size: "md", "aria-label": "Open chart options menu", loadingSkeleton: o, children: /* @__PURE__ */ f(he, { children: /* @__PURE__ */ f(Dl, {}) }) }) }),
|
|
12303
12303
|
/* @__PURE__ */ $(Nd, { children: [
|
|
12304
12304
|
e.includes("share") && c && /* @__PURE__ */ $(
|
|
12305
12305
|
ar,
|
|
@@ -12330,7 +12330,7 @@ const l2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
12330
12330
|
value: "save-png",
|
|
12331
12331
|
onClick: E,
|
|
12332
12332
|
children: [
|
|
12333
|
-
/* @__PURE__ */ f(he, { boxSize: 5, children: /* @__PURE__ */ f(
|
|
12333
|
+
/* @__PURE__ */ f(he, { boxSize: 5, children: /* @__PURE__ */ f(Bh, {}) }),
|
|
12334
12334
|
"Save as PNG"
|
|
12335
12335
|
]
|
|
12336
12336
|
}
|
|
@@ -12339,9 +12339,9 @@ const l2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
12339
12339
|
ar,
|
|
12340
12340
|
{
|
|
12341
12341
|
value: "save-csv",
|
|
12342
|
-
onClick:
|
|
12342
|
+
onClick: z,
|
|
12343
12343
|
children: [
|
|
12344
|
-
/* @__PURE__ */ f(he, { boxSize: 5, children: /* @__PURE__ */ f(
|
|
12344
|
+
/* @__PURE__ */ f(he, { boxSize: 5, children: /* @__PURE__ */ f(zh, {}) }),
|
|
12345
12345
|
"Save as CSV"
|
|
12346
12346
|
]
|
|
12347
12347
|
}
|
|
@@ -12398,7 +12398,7 @@ const s2 = A.memo(({
|
|
|
12398
12398
|
A.useEffect(() => {
|
|
12399
12399
|
e.length > 0 && E(nn(e.length));
|
|
12400
12400
|
}, [e.length]);
|
|
12401
|
-
const
|
|
12401
|
+
const z = A.useCallback((l) => {
|
|
12402
12402
|
E((d) => d.includes(l) ? d.filter((m) => m !== l) : [...d, l]);
|
|
12403
12403
|
}, []), F = A.useMemo(() => e.filter((l, d) => R.includes(d)), [e, R]), L = e.some(({ items: l }) => l && l.length > 2), H = !(!!(g && g.length === 0) || o || !L), j = /* @__PURE__ */ f(
|
|
12404
12404
|
Zl,
|
|
@@ -12494,7 +12494,7 @@ const s2 = A.memo(({
|
|
|
12494
12494
|
{
|
|
12495
12495
|
data: e,
|
|
12496
12496
|
selectedIndexes: R,
|
|
12497
|
-
onItemClick:
|
|
12497
|
+
onItemClick: z
|
|
12498
12498
|
}
|
|
12499
12499
|
)
|
|
12500
12500
|
]
|
|
@@ -12502,7 +12502,7 @@ const s2 = A.memo(({
|
|
|
12502
12502
|
);
|
|
12503
12503
|
});
|
|
12504
12504
|
function c2({ limits: e, anchor: t, setRange: r }) {
|
|
12505
|
-
const n = A.useRef(void 0), [o] = Me("colors",
|
|
12505
|
+
const n = A.useRef(void 0), [o] = Me("colors", zt("blackAlpha.400", "whiteAlpha.500"));
|
|
12506
12506
|
A.useEffect(() => {
|
|
12507
12507
|
if (!t || n.current || e[1][0] === 0)
|
|
12508
12508
|
return;
|
|
@@ -12626,7 +12626,7 @@ const tp = ({
|
|
|
12626
12626
|
name: e,
|
|
12627
12627
|
rules: { ...r, required: v.required },
|
|
12628
12628
|
...g
|
|
12629
|
-
}),
|
|
12629
|
+
}), z = A.useCallback(() => {
|
|
12630
12630
|
T.onBlur(), n == null || n();
|
|
12631
12631
|
}, [T, n]), F = c === "Textarea" ? /* @__PURE__ */ f(
|
|
12632
12632
|
cf,
|
|
@@ -12635,7 +12635,7 @@ const tp = ({
|
|
|
12635
12635
|
autoComplete: "off",
|
|
12636
12636
|
flexGrow: 1,
|
|
12637
12637
|
...a,
|
|
12638
|
-
onBlur:
|
|
12638
|
+
onBlur: z
|
|
12639
12639
|
}
|
|
12640
12640
|
) : /* @__PURE__ */ f(
|
|
12641
12641
|
Ir,
|
|
@@ -12644,7 +12644,7 @@ const tp = ({
|
|
|
12644
12644
|
autoComplete: "off",
|
|
12645
12645
|
placeholder: x ? void 0 : t,
|
|
12646
12646
|
...a,
|
|
12647
|
-
onBlur:
|
|
12647
|
+
onBlur: z
|
|
12648
12648
|
}
|
|
12649
12649
|
), L = o ? /* @__PURE__ */ f(
|
|
12650
12650
|
Ar,
|
|
@@ -12728,7 +12728,7 @@ const tp = ({
|
|
|
12728
12728
|
g.onChange(b), s == null || s();
|
|
12729
12729
|
}, [g, s]);
|
|
12730
12730
|
return /* @__PURE__ */ f(
|
|
12731
|
-
|
|
12731
|
+
Bu,
|
|
12732
12732
|
{
|
|
12733
12733
|
ref: g.ref,
|
|
12734
12734
|
name: g.name,
|
|
@@ -12770,7 +12770,7 @@ const tp = ({
|
|
|
12770
12770
|
T(L), C.onChange(L);
|
|
12771
12771
|
}, [C]), E = A.useCallback(() => {
|
|
12772
12772
|
C.onBlur(), n == null || n();
|
|
12773
|
-
}, [C, n]),
|
|
12773
|
+
}, [C, n]), z = /* @__PURE__ */ f(
|
|
12774
12774
|
un,
|
|
12775
12775
|
{
|
|
12776
12776
|
size: "30px",
|
|
@@ -12794,7 +12794,7 @@ const tp = ({
|
|
|
12794
12794
|
Ar,
|
|
12795
12795
|
{
|
|
12796
12796
|
...o,
|
|
12797
|
-
endElement:
|
|
12797
|
+
endElement: z,
|
|
12798
12798
|
children: /* @__PURE__ */ f(
|
|
12799
12799
|
Ir,
|
|
12800
12800
|
{
|
|
@@ -13176,7 +13176,7 @@ const I2 = ut(({ file: e, className: t, index: r, onRemove: n, isDisabled: o, er
|
|
|
13176
13176
|
}
|
|
13177
13177
|
) : /* @__PURE__ */ f(wn, { label: e, placement: t, interactive: r, children: c });
|
|
13178
13178
|
};
|
|
13179
|
-
function
|
|
13179
|
+
function z2(e, t = Rr) {
|
|
13180
13180
|
const r = A.useRef(null), n = A.useRef(null), [o, a] = A.useState(!1), c = kr(), [, s] = ja(), { open: u, onOpenChange: p } = Tn(), g = A.useCallback(() => {
|
|
13181
13181
|
s(e), a(!0), c && p({ open: !0 }), n.current = window.setTimeout(() => {
|
|
13182
13182
|
p({ open: !1 });
|
|
@@ -13195,12 +13195,12 @@ function B2(e, t = Rr) {
|
|
|
13195
13195
|
}
|
|
13196
13196
|
}), [o, g, u, p]);
|
|
13197
13197
|
}
|
|
13198
|
-
const
|
|
13198
|
+
const B2 = we.Resolution;
|
|
13199
13199
|
export {
|
|
13200
13200
|
p2 as ADDRESS_LENGTH,
|
|
13201
13201
|
Mp as AccordionItem,
|
|
13202
|
-
|
|
13203
|
-
|
|
13202
|
+
Bp as AccordionItemContent,
|
|
13203
|
+
zp as AccordionItemTrigger,
|
|
13204
13204
|
Up as AccordionRoot,
|
|
13205
13205
|
o2 as AdaptiveTabs,
|
|
13206
13206
|
Zp as Alert,
|
|
@@ -13226,7 +13226,7 @@ export {
|
|
|
13226
13226
|
s2 as ChartWidget,
|
|
13227
13227
|
Zl as ChartWidgetContent,
|
|
13228
13228
|
cl as Checkbox,
|
|
13229
|
-
|
|
13229
|
+
Bu as CheckboxGroup,
|
|
13230
13230
|
Y1 as ClearButton,
|
|
13231
13231
|
Ye as CloseButton,
|
|
13232
13232
|
tg as CollapsibleDetails,
|
|
@@ -13298,17 +13298,17 @@ export {
|
|
|
13298
13298
|
Sg as MenuRadioItemGroup,
|
|
13299
13299
|
Dd as MenuRoot,
|
|
13300
13300
|
Ag as MenuSeparator,
|
|
13301
|
-
|
|
13301
|
+
zd as MenuTrigger,
|
|
13302
13302
|
wg as MenuTriggerItem,
|
|
13303
13303
|
Rg as PinInput,
|
|
13304
13304
|
Lg as PopoverArrow,
|
|
13305
13305
|
Hd as PopoverBody,
|
|
13306
13306
|
Pg as PopoverCloseTrigger,
|
|
13307
13307
|
Ud as PopoverCloseTriggerWrapper,
|
|
13308
|
-
|
|
13308
|
+
Bd as PopoverContent,
|
|
13309
13309
|
Dg as PopoverDescription,
|
|
13310
|
-
|
|
13311
|
-
|
|
13310
|
+
zg as PopoverFooter,
|
|
13311
|
+
Bg as PopoverHeader,
|
|
13312
13312
|
Md as PopoverRoot,
|
|
13313
13313
|
Ng as PopoverTitle,
|
|
13314
13314
|
Fd as PopoverTrigger,
|
|
@@ -13321,7 +13321,7 @@ export {
|
|
|
13321
13321
|
$1 as Radio,
|
|
13322
13322
|
Z1 as RadioGroup,
|
|
13323
13323
|
Wg as Rating,
|
|
13324
|
-
|
|
13324
|
+
B2 as Resolution,
|
|
13325
13325
|
a2 as RoutedTabs,
|
|
13326
13326
|
O2 as SIGNATURE_REGEXP,
|
|
13327
13327
|
Q1 as Select,
|
|
@@ -13387,9 +13387,9 @@ export {
|
|
|
13387
13387
|
u2 as useChartLegend,
|
|
13388
13388
|
Kh as useChartZoom,
|
|
13389
13389
|
bh as useClientRect,
|
|
13390
|
-
|
|
13390
|
+
z2 as useClipboard,
|
|
13391
13391
|
$u as useColorMode,
|
|
13392
|
-
|
|
13392
|
+
zt as useColorModeValue,
|
|
13393
13393
|
Tn as useDisclosure,
|
|
13394
13394
|
Uu as useFirstMountState,
|
|
13395
13395
|
h2 as useImageField,
|