@sudobility/components 5.0.16 → 5.0.18
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.esm.js +622 -616
- package/dist/index.umd.js +12 -12
- package/dist/layout/MasterDetailLayout.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -2,23 +2,23 @@ import { clsx as br } from "clsx";
|
|
|
2
2
|
import { twMerge as pr } from "tailwind-merge";
|
|
3
3
|
import { jsx as a, jsxs as h, Fragment as O } from "react/jsx-runtime";
|
|
4
4
|
import * as q from "react";
|
|
5
|
-
import P, { useState as I, useRef as D, useEffect as A, useCallback as B, createContext as
|
|
6
|
-
import { cva as
|
|
7
|
-
import { textVariants as
|
|
8
|
-
import { createPortal as
|
|
9
|
-
import { ExclamationCircleIcon as
|
|
5
|
+
import P, { useState as I, useRef as D, useEffect as A, useCallback as B, createContext as Be, useMemo as ee, useContext as Re, useLayoutEffect as yr, Component as Bt, memo as Le, lazy as oe, Suspense as Ee } from "react";
|
|
6
|
+
import { cva as G } from "class-variance-authority";
|
|
7
|
+
import { textVariants as U, variants as j, getStatusIndicatorColor as ce, getSectionBadgeColors as xr, getCardVariantColors as vr, ui as wr } from "@sudobility/design";
|
|
8
|
+
import { createPortal as et } from "react-dom";
|
|
9
|
+
import { ExclamationCircleIcon as Ge, CheckCircleIcon as je, InformationCircleIcon as ge, XCircleIcon as tt, BellAlertIcon as kr, ExclamationTriangleIcon as rt, MinusIcon as bt, PlusIcon as pt, MagnifyingGlassIcon as Nr, XMarkIcon as Fe, CalendarIcon as Cr, CloudArrowUpIcon as Sr, DocumentIcon as Rt, Cog6ToothIcon as yt, CurrencyDollarIcon as Lr, AdjustmentsHorizontalIcon as Er, LinkIcon as Mr, FunnelIcon as Ir, ChatBubbleLeftRightIcon as Tr, ShieldCheckIcon as Ar, ArrowRightIcon as jt, ArrowTopRightOnSquareIcon as ze, ChevronLeftIcon as zr, ChevronRightIcon as at, TrashIcon as $r, PhotoIcon as xt, ArrowPathIcon as Ur, CheckIcon as Pr, ClipboardDocumentIcon as Dr, EnvelopeIcon as Br, LanguageIcon as Rr } from "@heroicons/react/24/outline";
|
|
10
10
|
import { ArrowLeftIcon as Pm, ArrowRightIcon as Dm, Bars3Icon as Bm, BellIcon as Rm, BellSlashIcon as jm, ChartBarIcon as Fm, CheckCircleIcon as Wm, CheckIcon as Om, ChevronDownIcon as Vm, ChevronLeftIcon as _m, ChevronRightIcon as Hm, ChevronUpIcon as qm, ClockIcon as Km, CodeBracketIcon as Gm, Cog6ToothIcon as Ym, CreditCardIcon as Qm, DocumentTextIcon as Jm, EnvelopeIcon as Xm, ExclamationTriangleIcon as Zm, EyeSlashIcon as eh, GlobeAltIcon as th, HomeIcon as rh, InboxIcon as ah, InformationCircleIcon as nh, KeyIcon as oh, MegaphoneIcon as sh, MinusIcon as lh, PaperAirplaneIcon as ih, PaperClipIcon as ch, PlusIcon as dh, RocketLaunchIcon as uh, ShieldCheckIcon as gh, SparklesIcon as mh, StarIcon as hh, TrashIcon as fh, UserGroupIcon as bh, XMarkIcon as ph } from "@heroicons/react/24/outline";
|
|
11
11
|
import { XMarkIcon as jr, MinusIcon as Fr, CheckIcon as Wr } from "@heroicons/react/24/solid";
|
|
12
12
|
import { CheckCircleIcon as xh, CheckIcon as vh, ExclamationTriangleIcon as wh, StarIcon as kh } from "@heroicons/react/24/solid";
|
|
13
|
-
import { ChainType as
|
|
14
|
-
import { Root as
|
|
13
|
+
import { ChainType as vt, InfoType as de } from "@sudobility/types";
|
|
14
|
+
import { Root as Ft, Thumb as Or } from "@radix-ui/react-switch";
|
|
15
15
|
import * as _ from "@radix-ui/react-select";
|
|
16
|
-
import { ChevronDownIcon as
|
|
17
|
-
import { Root as
|
|
16
|
+
import { ChevronDownIcon as nt, ChevronUpIcon as Vr, CheckIcon as _r } from "@heroicons/react/20/solid";
|
|
17
|
+
import { Root as Wt } from "@radix-ui/react-label";
|
|
18
18
|
import { Slot as Hr } from "@radix-ui/react-slot";
|
|
19
|
-
import { Link as
|
|
20
|
-
import { Root as Gr, List as
|
|
21
|
-
import { useTranslation as
|
|
19
|
+
import { Link as Me, useParams as We, useNavigate as ot, Outlet as qr, useLocation as Kr } from "react-router-dom";
|
|
20
|
+
import { Root as Gr, List as Ot, Trigger as Vt, Content as _t } from "@radix-ui/react-tabs";
|
|
21
|
+
import { useTranslation as Oe } from "react-i18next";
|
|
22
22
|
import { onCLS as Yr, onINP as Qr, onFCP as Jr, onLCP as Xr, onTTFB as Zr } from "web-vitals";
|
|
23
23
|
function u(...t) {
|
|
24
24
|
return pr(br(t));
|
|
@@ -260,7 +260,7 @@ const ea = ({
|
|
|
260
260
|
children: t
|
|
261
261
|
}
|
|
262
262
|
);
|
|
263
|
-
},
|
|
263
|
+
}, Ht = ({
|
|
264
264
|
children: t,
|
|
265
265
|
direction: e = "vertical",
|
|
266
266
|
spacing: r = "md",
|
|
@@ -350,7 +350,7 @@ const ea = ({
|
|
|
350
350
|
] }, p)) : t
|
|
351
351
|
}
|
|
352
352
|
);
|
|
353
|
-
}, Ss = (t) => /* @__PURE__ */ a(
|
|
353
|
+
}, Ss = (t) => /* @__PURE__ */ a(Ht, { direction: "vertical", ...t }), Ls = (t) => /* @__PURE__ */ a(Ht, { direction: "horizontal", ...t }), Es = ({
|
|
354
354
|
children: t,
|
|
355
355
|
axis: e = "both",
|
|
356
356
|
inline: r = !1,
|
|
@@ -407,7 +407,7 @@ const ea = ({
|
|
|
407
407
|
"aria-hidden": "true"
|
|
408
408
|
}
|
|
409
409
|
);
|
|
410
|
-
}, ta =
|
|
410
|
+
}, ta = G("", {
|
|
411
411
|
variants: {
|
|
412
412
|
variant: {
|
|
413
413
|
default: "",
|
|
@@ -500,7 +500,7 @@ const ea = ({
|
|
|
500
500
|
},
|
|
501
501
|
g
|
|
502
502
|
);
|
|
503
|
-
}, aa =
|
|
503
|
+
}, aa = G("min-h-screen flex flex-col", {
|
|
504
504
|
variants: {
|
|
505
505
|
background: {
|
|
506
506
|
default: "bg-gray-50 dark:bg-gray-900",
|
|
@@ -645,7 +645,7 @@ const ea = ({
|
|
|
645
645
|
"span",
|
|
646
646
|
{
|
|
647
647
|
className: u(
|
|
648
|
-
|
|
648
|
+
U.body.sm(),
|
|
649
649
|
"px-3 text-gray-500 dark:text-gray-400 whitespace-nowrap"
|
|
650
650
|
),
|
|
651
651
|
children: t
|
|
@@ -886,8 +886,8 @@ const ea = ({
|
|
|
886
886
|
const E = L.getBoundingClientRect();
|
|
887
887
|
let S;
|
|
888
888
|
r === "horizontal" ? S = (k.clientX - E.left) / E.width : S = (k.clientY - E.top) / E.height, S = Math.max(0, Math.min(1, S));
|
|
889
|
-
const M = r === "horizontal" ? E.width : E.height,
|
|
890
|
-
S = Math.max(
|
|
889
|
+
const M = r === "horizontal" ? E.width : E.height, $ = typeof l == "string" ? parseFloat(l) / 100 * M : l, T = typeof i == "string" ? parseFloat(i) / 100 * M : i, z = $ / M, F = 1 - T / M;
|
|
890
|
+
S = Math.max(z, Math.min(F, S)), o !== void 0 && s ? s(S) : y(S);
|
|
891
891
|
}, w = () => {
|
|
892
892
|
f(!1);
|
|
893
893
|
};
|
|
@@ -996,10 +996,10 @@ const ea = ({
|
|
|
996
996
|
showHandles: g = !0,
|
|
997
997
|
className: m
|
|
998
998
|
}) => {
|
|
999
|
-
const [y, b] = I(e), [f, p] = I(r), [x, N] = I(!1), [v, C] = I(null), w = D(null), k = D({ x: 0, y: 0, width: 0, height: 0 }), L = (M) => (
|
|
1000
|
-
|
|
1001
|
-
x:
|
|
1002
|
-
y:
|
|
999
|
+
const [y, b] = I(e), [f, p] = I(r), [x, N] = I(!1), [v, C] = I(null), w = D(null), k = D({ x: 0, y: 0, width: 0, height: 0 }), L = (M) => ($) => {
|
|
1000
|
+
$.preventDefault(), $.stopPropagation(), N(!0), C(M), k.current = {
|
|
1001
|
+
x: $.clientX,
|
|
1002
|
+
y: $.clientY,
|
|
1003
1003
|
width: y,
|
|
1004
1004
|
height: f
|
|
1005
1005
|
};
|
|
@@ -1007,14 +1007,14 @@ const ea = ({
|
|
|
1007
1007
|
A(() => {
|
|
1008
1008
|
if (!x || !v) return;
|
|
1009
1009
|
const M = (T) => {
|
|
1010
|
-
const
|
|
1010
|
+
const z = T.clientX - k.current.x, F = T.clientY - k.current.y;
|
|
1011
1011
|
let R = k.current.width, W = k.current.height;
|
|
1012
|
-
v.includes("right") ? R = k.current.width +
|
|
1013
|
-
},
|
|
1012
|
+
v.includes("right") ? R = k.current.width + z : v.includes("left") && (R = k.current.width - z), v.includes("bottom") ? W = k.current.height + F : v.includes("top") && (W = k.current.height - F), R = Math.max(n, R), W = Math.max(o, W), s && (R = Math.min(s, R)), l && (W = Math.min(l, W)), b(R), p(W), d && d(R, W);
|
|
1013
|
+
}, $ = () => {
|
|
1014
1014
|
N(!1), C(null), c && c(y, f);
|
|
1015
1015
|
};
|
|
1016
|
-
return document.addEventListener("mousemove", M), document.addEventListener("mouseup",
|
|
1017
|
-
document.removeEventListener("mousemove", M), document.removeEventListener("mouseup",
|
|
1016
|
+
return document.addEventListener("mousemove", M), document.addEventListener("mouseup", $), () => {
|
|
1017
|
+
document.removeEventListener("mousemove", M), document.removeEventListener("mouseup", $);
|
|
1018
1018
|
};
|
|
1019
1019
|
}, [
|
|
1020
1020
|
x,
|
|
@@ -1187,8 +1187,8 @@ const ea = ({
|
|
|
1187
1187
|
const [r, n] = I(!1);
|
|
1188
1188
|
if (A(() => (n(!0), () => n(!1)), []), !r) return null;
|
|
1189
1189
|
const o = e || document.body;
|
|
1190
|
-
return
|
|
1191
|
-
},
|
|
1190
|
+
return et(t, o);
|
|
1191
|
+
}, st = ({
|
|
1192
1192
|
isOpen: t,
|
|
1193
1193
|
onClose: e,
|
|
1194
1194
|
children: r,
|
|
@@ -1352,14 +1352,14 @@ const ea = ({
|
|
|
1352
1352
|
},
|
|
1353
1353
|
t
|
|
1354
1354
|
);
|
|
1355
|
-
}, oa =
|
|
1355
|
+
}, oa = G("", {
|
|
1356
1356
|
variants: {
|
|
1357
1357
|
variant: {
|
|
1358
|
-
hero:
|
|
1359
|
-
display:
|
|
1360
|
-
h1:
|
|
1361
|
-
h2:
|
|
1362
|
-
h3:
|
|
1358
|
+
hero: U.heading.display.hero(),
|
|
1359
|
+
display: U.heading.display.lg(),
|
|
1360
|
+
h1: U.heading.h1(),
|
|
1361
|
+
h2: U.heading.h2(),
|
|
1362
|
+
h3: U.heading.h3()
|
|
1363
1363
|
},
|
|
1364
1364
|
responsive: {
|
|
1365
1365
|
true: "",
|
|
@@ -1401,14 +1401,14 @@ const ea = ({
|
|
|
1401
1401
|
),
|
|
1402
1402
|
children: t
|
|
1403
1403
|
}
|
|
1404
|
-
), sa =
|
|
1404
|
+
), sa = G("", {
|
|
1405
1405
|
variants: {
|
|
1406
1406
|
variant: {
|
|
1407
|
-
h2:
|
|
1408
|
-
h3:
|
|
1409
|
-
h4:
|
|
1410
|
-
h5:
|
|
1411
|
-
h6:
|
|
1407
|
+
h2: U.heading.h2(),
|
|
1408
|
+
h3: U.heading.h3(),
|
|
1409
|
+
h4: U.heading.h4(),
|
|
1410
|
+
h5: U.heading.h5(),
|
|
1411
|
+
h6: U.heading.h6()
|
|
1412
1412
|
},
|
|
1413
1413
|
spacing: {
|
|
1414
1414
|
none: "",
|
|
@@ -1447,14 +1447,14 @@ const ea = ({
|
|
|
1447
1447
|
},
|
|
1448
1448
|
t
|
|
1449
1449
|
);
|
|
1450
|
-
}, la =
|
|
1450
|
+
}, la = G("", {
|
|
1451
1451
|
variants: {
|
|
1452
1452
|
variant: {
|
|
1453
|
-
body:
|
|
1454
|
-
lead:
|
|
1455
|
-
large:
|
|
1456
|
-
small:
|
|
1457
|
-
caption:
|
|
1453
|
+
body: U.body.md(),
|
|
1454
|
+
lead: U.body.lg(),
|
|
1455
|
+
large: U.body.lg(),
|
|
1456
|
+
small: U.body.sm(),
|
|
1457
|
+
caption: U.body.xs()
|
|
1458
1458
|
},
|
|
1459
1459
|
color: {
|
|
1460
1460
|
default: "text-gray-700 dark:text-gray-300",
|
|
@@ -1484,12 +1484,12 @@ const ea = ({
|
|
|
1484
1484
|
s,
|
|
1485
1485
|
{ className: u(la({ variant: e, color: r, align: n }), o) },
|
|
1486
1486
|
t
|
|
1487
|
-
), ia =
|
|
1487
|
+
), ia = G(U.link.default(), {
|
|
1488
1488
|
variants: {
|
|
1489
1489
|
variant: {
|
|
1490
|
-
default:
|
|
1491
|
-
subtle:
|
|
1492
|
-
muted:
|
|
1490
|
+
default: U.link.default(),
|
|
1491
|
+
subtle: U.link.subtle(),
|
|
1492
|
+
muted: U.link.muted(),
|
|
1493
1493
|
button: "inline-flex items-center justify-center px-4 py-2 rounded-md bg-blue-600 text-white hover:bg-blue-700 transition-colors"
|
|
1494
1494
|
},
|
|
1495
1495
|
external: {
|
|
@@ -1711,15 +1711,15 @@ const ea = ({
|
|
|
1711
1711
|
},
|
|
1712
1712
|
error: {
|
|
1713
1713
|
text: "text-red-600 dark:text-red-400",
|
|
1714
|
-
icon:
|
|
1714
|
+
icon: Ge
|
|
1715
1715
|
},
|
|
1716
1716
|
success: {
|
|
1717
1717
|
text: "text-green-600 dark:text-green-400",
|
|
1718
|
-
icon:
|
|
1718
|
+
icon: je
|
|
1719
1719
|
},
|
|
1720
1720
|
warning: {
|
|
1721
1721
|
text: "text-yellow-600 dark:text-yellow-400",
|
|
1722
|
-
icon:
|
|
1722
|
+
icon: Ge
|
|
1723
1723
|
}
|
|
1724
1724
|
}[e], c = d.icon;
|
|
1725
1725
|
return /* @__PURE__ */ h("div", { className: u("flex items-start gap-1.5", o), children: [
|
|
@@ -1838,7 +1838,7 @@ const ea = ({
|
|
|
1838
1838
|
children: i
|
|
1839
1839
|
}
|
|
1840
1840
|
);
|
|
1841
|
-
},
|
|
1841
|
+
}, Ne = ({
|
|
1842
1842
|
size: t = "default",
|
|
1843
1843
|
variant: e = "default",
|
|
1844
1844
|
className: r,
|
|
@@ -1888,12 +1888,12 @@ const ea = ({
|
|
|
1888
1888
|
"aria-live": "polite",
|
|
1889
1889
|
"aria-busy": "true",
|
|
1890
1890
|
children: [
|
|
1891
|
-
/* @__PURE__ */ a(
|
|
1891
|
+
/* @__PURE__ */ a(Ne, { size: o }),
|
|
1892
1892
|
e && /* @__PURE__ */ a(
|
|
1893
1893
|
"p",
|
|
1894
1894
|
{
|
|
1895
1895
|
className: u(
|
|
1896
|
-
|
|
1896
|
+
U.body.md(),
|
|
1897
1897
|
"text-gray-700 dark:text-gray-300 mt-4"
|
|
1898
1898
|
),
|
|
1899
1899
|
children: e
|
|
@@ -1978,7 +1978,7 @@ const ea = ({
|
|
|
1978
1978
|
default: { spinner: "default", text: "text-base" },
|
|
1979
1979
|
large: { spinner: "large", text: "text-lg" }
|
|
1980
1980
|
}[e], d = /* @__PURE__ */ h("div", { className: u(r ? "fixed inset-0 z-50 flex items-center justify-center bg-white/80 dark:bg-gray-900/80" : "flex flex-col items-center justify-center p-8", o), children: [
|
|
1981
|
-
/* @__PURE__ */ a(
|
|
1981
|
+
/* @__PURE__ */ a(Ne, { size: l.spinner, variant: n, className: "mb-4" }),
|
|
1982
1982
|
t && /* @__PURE__ */ a(
|
|
1983
1983
|
"p",
|
|
1984
1984
|
{
|
|
@@ -1991,7 +1991,7 @@ const ea = ({
|
|
|
1991
1991
|
)
|
|
1992
1992
|
] });
|
|
1993
1993
|
return r ? /* @__PURE__ */ a("div", { className: "fixed inset-0 z-50 bg-white/80 dark:bg-gray-900/80 backdrop-blur-sm", children: /* @__PURE__ */ h("div", { className: "flex items-center justify-center min-h-full p-4", children: [
|
|
1994
|
-
/* @__PURE__ */ a(
|
|
1994
|
+
/* @__PURE__ */ a(Ne, { size: l.spinner, variant: n, className: "mb-4" }),
|
|
1995
1995
|
t && /* @__PURE__ */ a("p", { className: "text-center text-gray-600 dark:text-gray-400 max-w-sm", children: t })
|
|
1996
1996
|
] }) }) : d;
|
|
1997
1997
|
}, nl = ({
|
|
@@ -2043,11 +2043,11 @@ const ea = ({
|
|
|
2043
2043
|
return p();
|
|
2044
2044
|
}, ca = {
|
|
2045
2045
|
info: ge,
|
|
2046
|
-
success:
|
|
2047
|
-
warning:
|
|
2046
|
+
success: je,
|
|
2047
|
+
warning: rt,
|
|
2048
2048
|
attention: kr,
|
|
2049
|
-
error:
|
|
2050
|
-
}, ol = ({ children: t, className: e }) => /* @__PURE__ */ a("div", { className: u("font-medium mb-1", e), children: t }), sl = ({ children: t, className: e }) => /* @__PURE__ */ a("div", { className: u("text-sm break-words", e), children: t }),
|
|
2049
|
+
error: tt
|
|
2050
|
+
}, ol = ({ children: t, className: e }) => /* @__PURE__ */ a("div", { className: u("font-medium mb-1", e), children: t }), sl = ({ children: t, className: e }) => /* @__PURE__ */ a("div", { className: u("text-sm break-words", e), children: t }), wt = ({
|
|
2051
2051
|
variant: t = "info",
|
|
2052
2052
|
title: e,
|
|
2053
2053
|
description: r,
|
|
@@ -2226,7 +2226,7 @@ const ea = ({
|
|
|
2226
2226
|
"aria-live": "polite",
|
|
2227
2227
|
children: [
|
|
2228
2228
|
/* @__PURE__ */ a(
|
|
2229
|
-
|
|
2229
|
+
Ne,
|
|
2230
2230
|
{
|
|
2231
2231
|
size: t,
|
|
2232
2232
|
variant: e,
|
|
@@ -2314,7 +2314,7 @@ const ea = ({
|
|
|
2314
2314
|
]
|
|
2315
2315
|
}
|
|
2316
2316
|
) : null;
|
|
2317
|
-
},
|
|
2317
|
+
}, qt = Be(null);
|
|
2318
2318
|
function ua() {
|
|
2319
2319
|
return `toast-${Date.now()}-${Math.random().toString(36).substr(2, 9)}`;
|
|
2320
2320
|
}
|
|
@@ -2365,7 +2365,7 @@ function ul({
|
|
|
2365
2365
|
}),
|
|
2366
2366
|
[n, l, s, i, d, c, g]
|
|
2367
2367
|
);
|
|
2368
|
-
return /* @__PURE__ */ a(
|
|
2368
|
+
return /* @__PURE__ */ a(qt.Provider, { value: m, children: t });
|
|
2369
2369
|
}
|
|
2370
2370
|
const ga = {
|
|
2371
2371
|
success: /* @__PURE__ */ a(
|
|
@@ -2547,7 +2547,7 @@ function gl({
|
|
|
2547
2547
|
);
|
|
2548
2548
|
}
|
|
2549
2549
|
function ml() {
|
|
2550
|
-
const t =
|
|
2550
|
+
const t = Re(qt);
|
|
2551
2551
|
if (!t)
|
|
2552
2552
|
throw new Error("useToast must be used within a ToastProvider");
|
|
2553
2553
|
return t;
|
|
@@ -2799,9 +2799,9 @@ const hl = ({
|
|
|
2799
2799
|
size: e = "md"
|
|
2800
2800
|
}) => {
|
|
2801
2801
|
if (!t) return null;
|
|
2802
|
-
const r = t ===
|
|
2802
|
+
const r = t === vt.SOLANA ? "SOL" : "ETH", o = { sm: "small", md: "default", lg: "large" }[e];
|
|
2803
2803
|
return /* @__PURE__ */ a("span", { className: (() => {
|
|
2804
|
-
const l = t ===
|
|
2804
|
+
const l = t === vt.SOLANA ? "solana" : "ethereum";
|
|
2805
2805
|
return o === "default" ? j.badge[l]() : j.badge[o](l);
|
|
2806
2806
|
})(), children: r });
|
|
2807
2807
|
}, ya = {
|
|
@@ -2847,7 +2847,7 @@ const hl = ({
|
|
|
2847
2847
|
"aria-label": "UstatusUpipeline",
|
|
2848
2848
|
children: e || "UstatusUpipeline Component"
|
|
2849
2849
|
}
|
|
2850
|
-
),
|
|
2850
|
+
), lt = q.forwardRef(
|
|
2851
2851
|
({
|
|
2852
2852
|
className: t,
|
|
2853
2853
|
type: e,
|
|
@@ -2884,7 +2884,7 @@ const hl = ({
|
|
|
2884
2884
|
);
|
|
2885
2885
|
}
|
|
2886
2886
|
);
|
|
2887
|
-
|
|
2887
|
+
lt.displayName = "Input";
|
|
2888
2888
|
const Nl = ({
|
|
2889
2889
|
value: t,
|
|
2890
2890
|
onChange: e,
|
|
@@ -3006,19 +3006,19 @@ const Nl = ({
|
|
|
3006
3006
|
trackingLabel: b,
|
|
3007
3007
|
componentName: f
|
|
3008
3008
|
}), v = (M) => {
|
|
3009
|
-
const
|
|
3010
|
-
if (isNaN(
|
|
3009
|
+
const $ = parseFloat(M.target.value);
|
|
3010
|
+
if (isNaN($)) {
|
|
3011
3011
|
if (M.target.value === "") {
|
|
3012
3012
|
const T = r ?? 0;
|
|
3013
3013
|
y && y(N("input")), e(T);
|
|
3014
3014
|
}
|
|
3015
3015
|
} else {
|
|
3016
|
-
const T = C(
|
|
3016
|
+
const T = C($);
|
|
3017
3017
|
y && y(N("input")), e(T);
|
|
3018
3018
|
}
|
|
3019
3019
|
}, C = (M) => {
|
|
3020
|
-
let
|
|
3021
|
-
return r !== void 0 &&
|
|
3020
|
+
let $ = M;
|
|
3021
|
+
return r !== void 0 && $ < r && ($ = r), n !== void 0 && $ > n && ($ = n), $;
|
|
3022
3022
|
}, w = () => {
|
|
3023
3023
|
const M = C(t + o);
|
|
3024
3024
|
y && y(N("increment")), e(M);
|
|
@@ -3027,16 +3027,16 @@ const Nl = ({
|
|
|
3027
3027
|
y && y(N("decrement")), e(M);
|
|
3028
3028
|
}, L = n === void 0 || t < n, E = r === void 0 || t > r, S = ({
|
|
3029
3029
|
onClick: M,
|
|
3030
|
-
icon:
|
|
3030
|
+
icon: $,
|
|
3031
3031
|
disabled: T,
|
|
3032
|
-
ariaLabel:
|
|
3032
|
+
ariaLabel: z
|
|
3033
3033
|
}) => /* @__PURE__ */ a(
|
|
3034
3034
|
"button",
|
|
3035
3035
|
{
|
|
3036
3036
|
type: "button",
|
|
3037
3037
|
onClick: M,
|
|
3038
3038
|
disabled: s || T,
|
|
3039
|
-
"aria-label":
|
|
3039
|
+
"aria-label": z,
|
|
3040
3040
|
className: u(
|
|
3041
3041
|
"inline-flex items-center justify-center",
|
|
3042
3042
|
"border border-gray-300 dark:border-gray-600",
|
|
@@ -3048,7 +3048,7 @@ const Nl = ({
|
|
|
3048
3048
|
x.button,
|
|
3049
3049
|
(s || T) && "opacity-50 cursor-not-allowed"
|
|
3050
3050
|
),
|
|
3051
|
-
children:
|
|
3051
|
+
children: $
|
|
3052
3052
|
}
|
|
3053
3053
|
);
|
|
3054
3054
|
return l && i === "sides" ? /* @__PURE__ */ h("div", { className: u("inline-flex items-stretch", g), children: [
|
|
@@ -3057,7 +3057,7 @@ const Nl = ({
|
|
|
3057
3057
|
{
|
|
3058
3058
|
onClick: k,
|
|
3059
3059
|
disabled: !E,
|
|
3060
|
-
icon: /* @__PURE__ */ a(
|
|
3060
|
+
icon: /* @__PURE__ */ a(bt, { className: x.icon }),
|
|
3061
3061
|
ariaLabel: "Decrement"
|
|
3062
3062
|
}
|
|
3063
3063
|
),
|
|
@@ -3094,7 +3094,7 @@ const Nl = ({
|
|
|
3094
3094
|
{
|
|
3095
3095
|
onClick: w,
|
|
3096
3096
|
disabled: !L,
|
|
3097
|
-
icon: /* @__PURE__ */ a(
|
|
3097
|
+
icon: /* @__PURE__ */ a(pt, { className: x.icon }),
|
|
3098
3098
|
ariaLabel: "Increment"
|
|
3099
3099
|
}
|
|
3100
3100
|
)
|
|
@@ -3148,7 +3148,7 @@ const Nl = ({
|
|
|
3148
3148
|
x.button.replace(/h-\d+/, "h-auto"),
|
|
3149
3149
|
(s || !L) && "opacity-50 cursor-not-allowed"
|
|
3150
3150
|
),
|
|
3151
|
-
children: /* @__PURE__ */ a(
|
|
3151
|
+
children: /* @__PURE__ */ a(pt, { className: u(x.icon, "w-3 h-3") })
|
|
3152
3152
|
}
|
|
3153
3153
|
),
|
|
3154
3154
|
/* @__PURE__ */ a(
|
|
@@ -3170,7 +3170,7 @@ const Nl = ({
|
|
|
3170
3170
|
x.button.replace(/h-\d+/, "h-auto"),
|
|
3171
3171
|
(s || !E) && "opacity-50 cursor-not-allowed"
|
|
3172
3172
|
),
|
|
3173
|
-
children: /* @__PURE__ */ a(
|
|
3173
|
+
children: /* @__PURE__ */ a(bt, { className: u(x.icon, "w-3 h-3") })
|
|
3174
3174
|
}
|
|
3175
3175
|
)
|
|
3176
3176
|
] })
|
|
@@ -3313,7 +3313,7 @@ const Nl = ({
|
|
|
3313
3313
|
C.iconRight
|
|
3314
3314
|
),
|
|
3315
3315
|
"aria-label": "Clear search",
|
|
3316
|
-
children: /* @__PURE__ */ a(
|
|
3316
|
+
children: /* @__PURE__ */ a(Fe, { className: C.icon })
|
|
3317
3317
|
}
|
|
3318
3318
|
),
|
|
3319
3319
|
d && /* @__PURE__ */ a(
|
|
@@ -3827,28 +3827,28 @@ const va = ({
|
|
|
3827
3827
|
green: "success",
|
|
3828
3828
|
yellow: "warning",
|
|
3829
3829
|
red: "error"
|
|
3830
|
-
}[d] : i,
|
|
3830
|
+
}[d] : i, z = () => p ? S ? "bg-red-600 border-red-600" : "border-red-600 dark:border-red-500" : {
|
|
3831
3831
|
primary: S ? "bg-blue-600 border-blue-600" : "border-gray-300 dark:border-gray-600",
|
|
3832
3832
|
success: S ? "bg-green-600 border-green-600" : "border-gray-300 dark:border-gray-600",
|
|
3833
3833
|
warning: S ? "bg-yellow-600 border-yellow-600" : "border-gray-300 dark:border-gray-600",
|
|
3834
3834
|
error: S ? "bg-red-600 border-red-600" : "border-gray-300 dark:border-gray-600"
|
|
3835
3835
|
}[T], F = (V) => {
|
|
3836
3836
|
if (s) return;
|
|
3837
|
-
const
|
|
3838
|
-
E || L(
|
|
3837
|
+
const K = V.target.checked;
|
|
3838
|
+
E || L(K), v && v({
|
|
3839
3839
|
action: "toggle",
|
|
3840
3840
|
trackingLabel: C,
|
|
3841
3841
|
componentName: w
|
|
3842
|
-
}), r?.(
|
|
3842
|
+
}), r?.(K);
|
|
3843
3843
|
}, R = (V) => {
|
|
3844
3844
|
if (!s && (V.key === " " || V.key === "Spacebar")) {
|
|
3845
3845
|
V.preventDefault();
|
|
3846
|
-
const
|
|
3847
|
-
E || L(
|
|
3846
|
+
const K = !S;
|
|
3847
|
+
E || L(K), v && v({
|
|
3848
3848
|
action: "toggle",
|
|
3849
3849
|
trackingLabel: C,
|
|
3850
3850
|
componentName: w
|
|
3851
|
-
}), r?.(
|
|
3851
|
+
}), r?.(K);
|
|
3852
3852
|
}
|
|
3853
3853
|
}, W = M[l];
|
|
3854
3854
|
return /* @__PURE__ */ h("div", { className: u("inline-flex flex-col", c), children: [
|
|
@@ -3884,7 +3884,7 @@ const va = ({
|
|
|
3884
3884
|
className: u(
|
|
3885
3885
|
"rounded border-2 flex items-center justify-center transition-colors bg-white dark:bg-gray-900",
|
|
3886
3886
|
W.box,
|
|
3887
|
-
|
|
3887
|
+
z(),
|
|
3888
3888
|
!s && "hover:border-opacity-75"
|
|
3889
3889
|
),
|
|
3890
3890
|
children: f ? /* @__PURE__ */ a(Fr, { className: u("text-white", W.check) }) : S ? N || /* @__PURE__ */ a(Wr, { className: u("text-white", W.check) }) : null
|
|
@@ -3929,7 +3929,7 @@ const va = ({
|
|
|
3929
3929
|
}), o?.(d);
|
|
3930
3930
|
};
|
|
3931
3931
|
return /* @__PURE__ */ a(
|
|
3932
|
-
|
|
3932
|
+
Ft,
|
|
3933
3933
|
{
|
|
3934
3934
|
className: u(
|
|
3935
3935
|
"peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 focus-visible:ring-offset-white disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-blue-600 data-[state=unchecked]:bg-gray-200 dark:focus-visible:ring-blue-400 dark:focus-visible:ring-offset-gray-950 dark:data-[state=checked]:bg-blue-500 dark:data-[state=unchecked]:bg-gray-700",
|
|
@@ -3950,7 +3950,7 @@ const va = ({
|
|
|
3950
3950
|
);
|
|
3951
3951
|
}
|
|
3952
3952
|
);
|
|
3953
|
-
ka.displayName =
|
|
3953
|
+
ka.displayName = Ft.displayName;
|
|
3954
3954
|
const Il = ({
|
|
3955
3955
|
name: t = "radio-group",
|
|
3956
3956
|
value: e,
|
|
@@ -4075,7 +4075,7 @@ const Il = ({
|
|
|
4075
4075
|
),
|
|
4076
4076
|
d && /* @__PURE__ */ a("p", { className: "mt-1 text-sm text-red-600 dark:text-red-400", children: d })
|
|
4077
4077
|
] });
|
|
4078
|
-
},
|
|
4078
|
+
}, kt = ({
|
|
4079
4079
|
onTrack: t,
|
|
4080
4080
|
trackingLabel: e,
|
|
4081
4081
|
componentName: r,
|
|
@@ -4091,7 +4091,7 @@ const Il = ({
|
|
|
4091
4091
|
}), n?.(i);
|
|
4092
4092
|
};
|
|
4093
4093
|
return /* @__PURE__ */ a(_.Root, { onValueChange: l, ...s, children: o });
|
|
4094
|
-
}, Tl = _.Group, Na = _.Value,
|
|
4094
|
+
}, Tl = _.Group, Na = _.Value, Ye = q.forwardRef(({ className: t, children: e, ...r }, n) => /* @__PURE__ */ h(
|
|
4095
4095
|
_.Trigger,
|
|
4096
4096
|
{
|
|
4097
4097
|
ref: n,
|
|
@@ -4102,12 +4102,12 @@ const Il = ({
|
|
|
4102
4102
|
...r,
|
|
4103
4103
|
children: [
|
|
4104
4104
|
e,
|
|
4105
|
-
/* @__PURE__ */ a(_.Icon, { asChild: !0, children: /* @__PURE__ */ a(
|
|
4105
|
+
/* @__PURE__ */ a(_.Icon, { asChild: !0, children: /* @__PURE__ */ a(nt, { className: "h-4 w-4 opacity-50 ml-2 flex-shrink-0" }) })
|
|
4106
4106
|
]
|
|
4107
4107
|
}
|
|
4108
4108
|
));
|
|
4109
|
-
|
|
4110
|
-
const
|
|
4109
|
+
Ye.displayName = _.Trigger.displayName;
|
|
4110
|
+
const Kt = q.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
|
|
4111
4111
|
_.ScrollUpButton,
|
|
4112
4112
|
{
|
|
4113
4113
|
ref: r,
|
|
@@ -4119,8 +4119,8 @@ const qt = q.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
|
|
|
4119
4119
|
children: /* @__PURE__ */ a(Vr, { className: "h-4 w-4" })
|
|
4120
4120
|
}
|
|
4121
4121
|
));
|
|
4122
|
-
|
|
4123
|
-
const
|
|
4122
|
+
Kt.displayName = _.ScrollUpButton.displayName;
|
|
4123
|
+
const Gt = q.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
|
|
4124
4124
|
_.ScrollDownButton,
|
|
4125
4125
|
{
|
|
4126
4126
|
ref: r,
|
|
@@ -4129,11 +4129,11 @@ const Kt = q.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
|
|
|
4129
4129
|
t
|
|
4130
4130
|
),
|
|
4131
4131
|
...e,
|
|
4132
|
-
children: /* @__PURE__ */ a(
|
|
4132
|
+
children: /* @__PURE__ */ a(nt, { className: "h-4 w-4" })
|
|
4133
4133
|
}
|
|
4134
4134
|
));
|
|
4135
|
-
|
|
4136
|
-
const
|
|
4135
|
+
Gt.displayName = _.ScrollDownButton.displayName;
|
|
4136
|
+
const Qe = q.forwardRef(({ className: t, children: e, position: r = "popper", ...n }, o) => /* @__PURE__ */ a(_.Portal, { children: /* @__PURE__ */ h(
|
|
4137
4137
|
_.Content,
|
|
4138
4138
|
{
|
|
4139
4139
|
ref: o,
|
|
@@ -4146,7 +4146,7 @@ const Ye = q.forwardRef(({ className: t, children: e, position: r = "popper", ..
|
|
|
4146
4146
|
position: r,
|
|
4147
4147
|
...n,
|
|
4148
4148
|
children: [
|
|
4149
|
-
/* @__PURE__ */ a(
|
|
4149
|
+
/* @__PURE__ */ a(Kt, {}),
|
|
4150
4150
|
/* @__PURE__ */ a(
|
|
4151
4151
|
_.Viewport,
|
|
4152
4152
|
{
|
|
@@ -4157,11 +4157,11 @@ const Ye = q.forwardRef(({ className: t, children: e, position: r = "popper", ..
|
|
|
4157
4157
|
children: e
|
|
4158
4158
|
}
|
|
4159
4159
|
),
|
|
4160
|
-
/* @__PURE__ */ a(
|
|
4160
|
+
/* @__PURE__ */ a(Gt, {})
|
|
4161
4161
|
]
|
|
4162
4162
|
}
|
|
4163
4163
|
) }));
|
|
4164
|
-
|
|
4164
|
+
Qe.displayName = _.Content.displayName;
|
|
4165
4165
|
const Ca = q.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
|
|
4166
4166
|
_.Label,
|
|
4167
4167
|
{
|
|
@@ -4171,7 +4171,7 @@ const Ca = q.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
|
|
|
4171
4171
|
}
|
|
4172
4172
|
));
|
|
4173
4173
|
Ca.displayName = _.Label.displayName;
|
|
4174
|
-
const
|
|
4174
|
+
const Je = q.forwardRef(({ className: t, children: e, ...r }, n) => /* @__PURE__ */ h(
|
|
4175
4175
|
_.Item,
|
|
4176
4176
|
{
|
|
4177
4177
|
ref: n,
|
|
@@ -4187,7 +4187,7 @@ const Qe = q.forwardRef(({ className: t, children: e, ...r }, n) => /* @__PURE__
|
|
|
4187
4187
|
]
|
|
4188
4188
|
}
|
|
4189
4189
|
));
|
|
4190
|
-
|
|
4190
|
+
Je.displayName = _.Item.displayName;
|
|
4191
4191
|
const Sa = q.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
|
|
4192
4192
|
_.Separator,
|
|
4193
4193
|
{
|
|
@@ -4508,8 +4508,8 @@ const Al = ({
|
|
|
4508
4508
|
const [c, g] = I(!1), [m, y] = I(!1), [b, f] = I(!1), [p, x] = I(0), N = D(null), v = D(null), C = t.find((T) => T.value === e), w = C?.label && typeof C.label != "string", k = i && b ? t.filter((T) => (T.searchLabel || T.value).toLowerCase().includes(e.toLowerCase())) : t;
|
|
4509
4509
|
A(() => {
|
|
4510
4510
|
if (!c && !m) return;
|
|
4511
|
-
const T = (
|
|
4512
|
-
N.current && !N.current.contains(
|
|
4511
|
+
const T = (z) => {
|
|
4512
|
+
N.current && !N.current.contains(z.target) && (g(!1), y(!1), f(!1));
|
|
4513
4513
|
};
|
|
4514
4514
|
return document.addEventListener("mousedown", T), () => document.removeEventListener("mousedown", T);
|
|
4515
4515
|
}, [c, m]), A(() => {
|
|
@@ -4523,11 +4523,11 @@ const Al = ({
|
|
|
4523
4523
|
switch (T.key) {
|
|
4524
4524
|
case "ArrowDown":
|
|
4525
4525
|
T.preventDefault(), x(
|
|
4526
|
-
(
|
|
4526
|
+
(z) => z < k.length - 1 ? z + 1 : z
|
|
4527
4527
|
);
|
|
4528
4528
|
break;
|
|
4529
4529
|
case "ArrowUp":
|
|
4530
|
-
T.preventDefault(), x((
|
|
4530
|
+
T.preventDefault(), x((z) => z > 0 ? z - 1 : z);
|
|
4531
4531
|
break;
|
|
4532
4532
|
case "Enter":
|
|
4533
4533
|
T.preventDefault(), k[p] && !k[p].disabled && (r(k[p].value), g(!1), f(!1));
|
|
@@ -4539,13 +4539,13 @@ const Al = ({
|
|
|
4539
4539
|
g(!1), f(!1);
|
|
4540
4540
|
break;
|
|
4541
4541
|
}
|
|
4542
|
-
}, E = (T,
|
|
4543
|
-
|
|
4542
|
+
}, E = (T, z) => {
|
|
4543
|
+
z || (r(T), g(!1), y(!1), f(!1));
|
|
4544
4544
|
}, S = (T) => {
|
|
4545
4545
|
r(T.target.value), f(!0), c || g(!0);
|
|
4546
4546
|
}, M = () => {
|
|
4547
4547
|
o || (g(!c), c || v.current?.focus());
|
|
4548
|
-
},
|
|
4548
|
+
}, $ = () => {
|
|
4549
4549
|
o || (y(!0), g(!0), setTimeout(() => v.current?.focus(), 0));
|
|
4550
4550
|
};
|
|
4551
4551
|
return /* @__PURE__ */ h("div", { ref: N, className: u("relative w-full", s), children: [
|
|
@@ -4554,7 +4554,7 @@ const Al = ({
|
|
|
4554
4554
|
"button",
|
|
4555
4555
|
{
|
|
4556
4556
|
type: "button",
|
|
4557
|
-
onClick:
|
|
4557
|
+
onClick: $,
|
|
4558
4558
|
disabled: o,
|
|
4559
4559
|
className: u(
|
|
4560
4560
|
j.input.default(),
|
|
@@ -4607,7 +4607,7 @@ const Al = ({
|
|
|
4607
4607
|
),
|
|
4608
4608
|
"aria-label": "Toggle dropdown",
|
|
4609
4609
|
children: /* @__PURE__ */ a(
|
|
4610
|
-
|
|
4610
|
+
nt,
|
|
4611
4611
|
{
|
|
4612
4612
|
className: u(
|
|
4613
4613
|
"w-4 h-4 transition-transform",
|
|
@@ -4628,7 +4628,7 @@ const Al = ({
|
|
|
4628
4628
|
"rounded-md shadow-lg",
|
|
4629
4629
|
"max-h-60 overflow-y-auto"
|
|
4630
4630
|
),
|
|
4631
|
-
children: k.length === 0 ? /* @__PURE__ */ a("div", { className: "px-3 py-2 text-sm text-gray-500 dark:text-gray-400 text-center", children: d }) : k.map((T,
|
|
4631
|
+
children: k.length === 0 ? /* @__PURE__ */ a("div", { className: "px-3 py-2 text-sm text-gray-500 dark:text-gray-400 text-center", children: d }) : k.map((T, z) => /* @__PURE__ */ a(
|
|
4632
4632
|
"button",
|
|
4633
4633
|
{
|
|
4634
4634
|
type: "button",
|
|
@@ -4639,7 +4639,7 @@ const Al = ({
|
|
|
4639
4639
|
"flex items-center gap-2",
|
|
4640
4640
|
"transition-colors",
|
|
4641
4641
|
"disabled:opacity-50 disabled:cursor-not-allowed",
|
|
4642
|
-
T.value === e ? "bg-blue-50 dark:bg-blue-900/30 text-blue-700 dark:text-blue-300" :
|
|
4642
|
+
T.value === e ? "bg-blue-50 dark:bg-blue-900/30 text-blue-700 dark:text-blue-300" : z === p ? "bg-gray-100 dark:bg-gray-800" : "hover:bg-gray-50 dark:hover:bg-gray-800",
|
|
4643
4643
|
"text-gray-900 dark:text-gray-100"
|
|
4644
4644
|
),
|
|
4645
4645
|
children: T.label || T.value
|
|
@@ -4650,7 +4650,7 @@ const Al = ({
|
|
|
4650
4650
|
)
|
|
4651
4651
|
] });
|
|
4652
4652
|
};
|
|
4653
|
-
function
|
|
4653
|
+
function it(t, e) {
|
|
4654
4654
|
A(() => {
|
|
4655
4655
|
const r = (n) => {
|
|
4656
4656
|
const o = t?.current;
|
|
@@ -4672,7 +4672,7 @@ const Ul = ({
|
|
|
4672
4672
|
componentName: i
|
|
4673
4673
|
}) => {
|
|
4674
4674
|
const [d, c] = I(!1), g = P.useRef(null);
|
|
4675
|
-
|
|
4675
|
+
it(g, () => c(!1));
|
|
4676
4676
|
const m = (f) => {
|
|
4677
4677
|
f.disabled || (s && s({
|
|
4678
4678
|
action: "select",
|
|
@@ -4940,7 +4940,7 @@ const Ul = ({
|
|
|
4940
4940
|
componentName: p
|
|
4941
4941
|
}) => {
|
|
4942
4942
|
const x = D(null), [N, v] = I(!1), [C, w] = I(null), k = (R) => (w(null), o && d.length + R.length > o ? (w(`Maximum ${o} files allowed`), []) : R.filter((V) => n && V.size > n ? (w(
|
|
4943
|
-
`File "${V.name}" exceeds maximum size of ${
|
|
4943
|
+
`File "${V.name}" exceeds maximum size of ${Xe(n)}`
|
|
4944
4944
|
), !1) : !0)), L = (R) => {
|
|
4945
4945
|
b && b({
|
|
4946
4946
|
action: R,
|
|
@@ -4954,11 +4954,11 @@ const Ul = ({
|
|
|
4954
4954
|
x.current?.click();
|
|
4955
4955
|
}, M = (R) => {
|
|
4956
4956
|
R.preventDefault(), R.stopPropagation(), s || v(!0);
|
|
4957
|
-
},
|
|
4957
|
+
}, $ = (R) => {
|
|
4958
4958
|
R.preventDefault(), R.stopPropagation(), v(!1);
|
|
4959
4959
|
}, T = (R) => {
|
|
4960
4960
|
R.preventDefault(), R.stopPropagation();
|
|
4961
|
-
},
|
|
4961
|
+
}, z = (R) => {
|
|
4962
4962
|
if (R.preventDefault(), R.stopPropagation(), v(!1), s) return;
|
|
4963
4963
|
const W = Array.from(R.dataTransfer.files), V = k(W);
|
|
4964
4964
|
V.length > 0 && (L("drop"), t(V));
|
|
@@ -4983,9 +4983,9 @@ const Ul = ({
|
|
|
4983
4983
|
{
|
|
4984
4984
|
onClick: S,
|
|
4985
4985
|
onDragEnter: M,
|
|
4986
|
-
onDragLeave:
|
|
4986
|
+
onDragLeave: $,
|
|
4987
4987
|
onDragOver: T,
|
|
4988
|
-
onDrop:
|
|
4988
|
+
onDrop: z,
|
|
4989
4989
|
className: u(
|
|
4990
4990
|
"relative border-2 border-dashed rounded-lg p-8",
|
|
4991
4991
|
"transition-colors duration-200",
|
|
@@ -4998,13 +4998,13 @@ const Ul = ({
|
|
|
4998
4998
|
/* @__PURE__ */ a("p", { className: "text-sm text-gray-600 dark:text-gray-400 text-center", children: y }),
|
|
4999
4999
|
n && /* @__PURE__ */ h("p", { className: "text-xs text-gray-500 dark:text-gray-500", children: [
|
|
5000
5000
|
"Max file size: ",
|
|
5001
|
-
|
|
5001
|
+
Xe(n)
|
|
5002
5002
|
] })
|
|
5003
5003
|
] })
|
|
5004
5004
|
}
|
|
5005
5005
|
),
|
|
5006
5006
|
C && /* @__PURE__ */ a("p", { className: "mt-2 text-sm text-red-600 dark:text-red-400", children: C }),
|
|
5007
|
-
i && d.length > 0 && /* @__PURE__ */ a(
|
|
5007
|
+
i && d.length > 0 && /* @__PURE__ */ a(Nt, { files: d, onRemove: F })
|
|
5008
5008
|
] }) : /* @__PURE__ */ h("div", { className: u("w-full", g), children: [
|
|
5009
5009
|
/* @__PURE__ */ a(
|
|
5010
5010
|
"input",
|
|
@@ -5035,24 +5035,24 @@ const Ul = ({
|
|
|
5035
5035
|
s && "opacity-50 cursor-not-allowed"
|
|
5036
5036
|
),
|
|
5037
5037
|
children: [
|
|
5038
|
-
/* @__PURE__ */ a(
|
|
5038
|
+
/* @__PURE__ */ a(Rt, { className: "h-5 w-5 mr-2" }),
|
|
5039
5039
|
m
|
|
5040
5040
|
]
|
|
5041
5041
|
}
|
|
5042
5042
|
),
|
|
5043
5043
|
C && /* @__PURE__ */ a("p", { className: "mt-2 text-sm text-red-600 dark:text-red-400", children: C }),
|
|
5044
|
-
i && d.length > 0 && /* @__PURE__ */ a(
|
|
5044
|
+
i && d.length > 0 && /* @__PURE__ */ a(Nt, { files: d, onRemove: F })
|
|
5045
5045
|
] });
|
|
5046
|
-
},
|
|
5046
|
+
}, Nt = ({ files: t, onRemove: e }) => /* @__PURE__ */ a("div", { className: "mt-3 space-y-2", children: t.map((r, n) => /* @__PURE__ */ h(
|
|
5047
5047
|
"div",
|
|
5048
5048
|
{
|
|
5049
5049
|
className: "flex items-center justify-between p-2 bg-gray-50 dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700",
|
|
5050
5050
|
children: [
|
|
5051
5051
|
/* @__PURE__ */ h("div", { className: "flex items-center space-x-2 flex-1 min-w-0", children: [
|
|
5052
|
-
/* @__PURE__ */ a(
|
|
5052
|
+
/* @__PURE__ */ a(Rt, { className: "h-5 w-5 text-gray-400 flex-shrink-0" }),
|
|
5053
5053
|
/* @__PURE__ */ h("div", { className: "flex-1 min-w-0", children: [
|
|
5054
5054
|
/* @__PURE__ */ a("p", { className: "text-sm font-medium text-gray-900 dark:text-gray-100 truncate", children: r.name }),
|
|
5055
|
-
/* @__PURE__ */ a("p", { className: "text-xs text-gray-500 dark:text-gray-400", children:
|
|
5055
|
+
/* @__PURE__ */ a("p", { className: "text-xs text-gray-500 dark:text-gray-400", children: Xe(r.size) })
|
|
5056
5056
|
] })
|
|
5057
5057
|
] }),
|
|
5058
5058
|
/* @__PURE__ */ a(
|
|
@@ -5062,14 +5062,14 @@ const Ul = ({
|
|
|
5062
5062
|
onClick: () => e(n),
|
|
5063
5063
|
className: "flex-shrink-0 p-1 text-gray-400 hover:text-red-600 dark:hover:text-red-400 transition-colors",
|
|
5064
5064
|
"aria-label": "Remove file",
|
|
5065
|
-
children: /* @__PURE__ */ a(
|
|
5065
|
+
children: /* @__PURE__ */ a(Fe, { className: "h-5 w-5" })
|
|
5066
5066
|
}
|
|
5067
5067
|
)
|
|
5068
5068
|
]
|
|
5069
5069
|
},
|
|
5070
5070
|
`${r.name}-${n}`
|
|
5071
5071
|
)) });
|
|
5072
|
-
function
|
|
5072
|
+
function Xe(t) {
|
|
5073
5073
|
if (t === 0) return "0 Bytes";
|
|
5074
5074
|
const e = 1024, r = ["Bytes", "KB", "MB", "GB"], n = Math.floor(Math.log(t) / Math.log(e));
|
|
5075
5075
|
return Math.round(t / Math.pow(e, n) * 100) / 100 + " " + r[n];
|
|
@@ -5100,7 +5100,7 @@ const jl = ({
|
|
|
5100
5100
|
const M = S.trim();
|
|
5101
5101
|
M && (n && t.length >= n || !i && t.includes(M) || f && !f(M) || (e([...t, M]), x("")));
|
|
5102
5102
|
}, w = (S) => {
|
|
5103
|
-
e(t.filter((M,
|
|
5103
|
+
e(t.filter((M, $) => $ !== S));
|
|
5104
5104
|
}, k = (S) => {
|
|
5105
5105
|
x(S.target.value);
|
|
5106
5106
|
}, L = (S) => {
|
|
@@ -5139,8 +5139,8 @@ const jl = ({
|
|
|
5139
5139
|
"button",
|
|
5140
5140
|
{
|
|
5141
5141
|
type: "button",
|
|
5142
|
-
onClick: (
|
|
5143
|
-
|
|
5142
|
+
onClick: ($) => {
|
|
5143
|
+
$.stopPropagation(), w(M);
|
|
5144
5144
|
},
|
|
5145
5145
|
disabled: d,
|
|
5146
5146
|
className: u(
|
|
@@ -5217,15 +5217,15 @@ const jl = ({
|
|
|
5217
5217
|
e(k), f(L);
|
|
5218
5218
|
const S = k.substring(0, L).split(/\s/), M = S[S.length - 1];
|
|
5219
5219
|
if (M.startsWith(n)) {
|
|
5220
|
-
const
|
|
5221
|
-
(
|
|
5220
|
+
const $ = M.substring(n.length), T = r.filter(
|
|
5221
|
+
(z) => z.label.toLowerCase().includes($.toLowerCase())
|
|
5222
5222
|
);
|
|
5223
5223
|
g(T), d(T.length > 0), y(0);
|
|
5224
5224
|
} else
|
|
5225
5225
|
d(!1);
|
|
5226
5226
|
}, v = (w) => {
|
|
5227
|
-
const k = t.substring(0, b), L = t.substring(b), E = k.split(/\s/), S = E[E.length - 1], M = k.length - S.length,
|
|
5228
|
-
if (e(
|
|
5227
|
+
const k = t.substring(0, b), L = t.substring(b), E = k.split(/\s/), S = E[E.length - 1], M = k.length - S.length, $ = t.substring(0, M) + n + w.label + " " + L;
|
|
5228
|
+
if (e($), d(!1), p.current) {
|
|
5229
5229
|
const T = M + n.length + w.label.length + 1;
|
|
5230
5230
|
setTimeout(() => {
|
|
5231
5231
|
p.current?.focus(), p.current?.setSelectionRange(T, T);
|
|
@@ -5312,10 +5312,10 @@ const jl = ({
|
|
|
5312
5312
|
}
|
|
5313
5313
|
)
|
|
5314
5314
|
] });
|
|
5315
|
-
}, La =
|
|
5316
|
-
`${
|
|
5317
|
-
),
|
|
5318
|
-
|
|
5315
|
+
}, La = G(
|
|
5316
|
+
`${U.label.default()} peer-disabled:cursor-not-allowed peer-disabled:opacity-70`
|
|
5317
|
+
), Yt = q.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(Wt, { ref: r, className: u(La(), t), ...e }));
|
|
5318
|
+
Yt.displayName = Wt.displayName;
|
|
5319
5319
|
const Wl = ({
|
|
5320
5320
|
id: t,
|
|
5321
5321
|
label: e,
|
|
@@ -5334,12 +5334,12 @@ const Wl = ({
|
|
|
5334
5334
|
}) => {
|
|
5335
5335
|
const f = !!i, p = l || i ? `${t}-helper` : void 0;
|
|
5336
5336
|
return /* @__PURE__ */ h("div", { className: u("space-y-2", y), children: [
|
|
5337
|
-
/* @__PURE__ */ h(
|
|
5337
|
+
/* @__PURE__ */ h(Yt, { htmlFor: t, children: [
|
|
5338
5338
|
e,
|
|
5339
5339
|
d && /* @__PURE__ */ a("span", { className: "text-red-500 ml-1", children: "*" })
|
|
5340
5340
|
] }),
|
|
5341
5341
|
/* @__PURE__ */ a(
|
|
5342
|
-
|
|
5342
|
+
lt,
|
|
5343
5343
|
{
|
|
5344
5344
|
type: r,
|
|
5345
5345
|
id: t,
|
|
@@ -5360,7 +5360,7 @@ const Wl = ({
|
|
|
5360
5360
|
{
|
|
5361
5361
|
id: p,
|
|
5362
5362
|
className: u(
|
|
5363
|
-
|
|
5363
|
+
U.body.sm(),
|
|
5364
5364
|
f ? "text-red-600 dark:text-red-400" : "text-gray-500 dark:text-gray-400"
|
|
5365
5365
|
),
|
|
5366
5366
|
role: f ? "alert" : void 0,
|
|
@@ -5368,7 +5368,7 @@ const Wl = ({
|
|
|
5368
5368
|
}
|
|
5369
5369
|
)
|
|
5370
5370
|
] });
|
|
5371
|
-
},
|
|
5371
|
+
}, ct = ({
|
|
5372
5372
|
label: t,
|
|
5373
5373
|
required: e = !1,
|
|
5374
5374
|
error: r,
|
|
@@ -5408,7 +5408,7 @@ const Wl = ({
|
|
|
5408
5408
|
children: [
|
|
5409
5409
|
/* @__PURE__ */ a("div", { className: r ? "relative" : "", children: o }),
|
|
5410
5410
|
r && /* @__PURE__ */ h("div", { className: "mt-1 flex items-start", children: [
|
|
5411
|
-
/* @__PURE__ */ a(
|
|
5411
|
+
/* @__PURE__ */ a(Ge, { className: "h-4 w-4 text-red-500 mr-1 mt-0.5 flex-shrink-0" }),
|
|
5412
5412
|
/* @__PURE__ */ a("p", { className: "text-xs text-red-600 dark:text-red-400", children: r })
|
|
5413
5413
|
] })
|
|
5414
5414
|
]
|
|
@@ -5429,7 +5429,7 @@ const Wl = ({
|
|
|
5429
5429
|
layout: d = "vertical",
|
|
5430
5430
|
className: c = ""
|
|
5431
5431
|
}) => /* @__PURE__ */ a(
|
|
5432
|
-
|
|
5432
|
+
ct,
|
|
5433
5433
|
{
|
|
5434
5434
|
label: t,
|
|
5435
5435
|
required: o,
|
|
@@ -5466,7 +5466,7 @@ const Wl = ({
|
|
|
5466
5466
|
layout: d = "vertical",
|
|
5467
5467
|
className: c = ""
|
|
5468
5468
|
}) => /* @__PURE__ */ a(
|
|
5469
|
-
|
|
5469
|
+
ct,
|
|
5470
5470
|
{
|
|
5471
5471
|
label: t,
|
|
5472
5472
|
required: o,
|
|
@@ -5503,7 +5503,7 @@ const Wl = ({
|
|
|
5503
5503
|
layout: d = "vertical",
|
|
5504
5504
|
className: c = ""
|
|
5505
5505
|
}) => /* @__PURE__ */ a(
|
|
5506
|
-
|
|
5506
|
+
ct,
|
|
5507
5507
|
{
|
|
5508
5508
|
label: t,
|
|
5509
5509
|
required: o,
|
|
@@ -5554,9 +5554,9 @@ const Wl = ({
|
|
|
5554
5554
|
return () => clearTimeout(i);
|
|
5555
5555
|
}
|
|
5556
5556
|
}, [t, o, s]), !t && !e ? null : /* @__PURE__ */ h("div", { className: `space-y-3 ${l}`, children: [
|
|
5557
|
-
e && /* @__PURE__ */ a(
|
|
5557
|
+
e && /* @__PURE__ */ a(wt, { variant: "error", title: n, description: e }),
|
|
5558
5558
|
t && /* @__PURE__ */ a(
|
|
5559
|
-
|
|
5559
|
+
wt,
|
|
5560
5560
|
{
|
|
5561
5561
|
variant: "success",
|
|
5562
5562
|
title: r,
|
|
@@ -5582,7 +5582,7 @@ const Wl = ({
|
|
|
5582
5582
|
"aria-label": "PhoneDirectory",
|
|
5583
5583
|
children: e || "PhoneDirectory Component"
|
|
5584
5584
|
}
|
|
5585
|
-
), Ea =
|
|
5585
|
+
), Ea = G("min-h-[44px] touch-manipulation", {
|
|
5586
5586
|
variants: {
|
|
5587
5587
|
variant: {
|
|
5588
5588
|
// Clean variant definitions - let the variant system handle the classes
|
|
@@ -5701,7 +5701,7 @@ const Kl = ({
|
|
|
5701
5701
|
disabled: o || e,
|
|
5702
5702
|
className: s.className,
|
|
5703
5703
|
children: e ? /* @__PURE__ */ h("span", { className: "flex items-center gap-2", children: [
|
|
5704
|
-
n && /* @__PURE__ */ a(
|
|
5704
|
+
n && /* @__PURE__ */ a(Ne, { size: "small" }),
|
|
5705
5705
|
/* @__PURE__ */ a("span", { children: r })
|
|
5706
5706
|
] }) : t
|
|
5707
5707
|
}
|
|
@@ -5732,8 +5732,8 @@ const Kl = ({
|
|
|
5732
5732
|
const w = i.getFullYear(), k = i.getMonth(), L = c(i), E = g(i), S = [];
|
|
5733
5733
|
if (s) {
|
|
5734
5734
|
const M = c(new Date(w, k - 1));
|
|
5735
|
-
for (let
|
|
5736
|
-
S.push(new Date(w, k - 1, M -
|
|
5735
|
+
for (let $ = E - 1; $ >= 0; $--)
|
|
5736
|
+
S.push(new Date(w, k - 1, M - $));
|
|
5737
5737
|
} else
|
|
5738
5738
|
for (let M = 0; M < E; M++)
|
|
5739
5739
|
S.push(null);
|
|
@@ -5741,8 +5741,8 @@ const Kl = ({
|
|
|
5741
5741
|
S.push(new Date(w, k, M));
|
|
5742
5742
|
if (s) {
|
|
5743
5743
|
const M = 42 - S.length;
|
|
5744
|
-
for (let
|
|
5745
|
-
S.push(new Date(w, k + 1,
|
|
5744
|
+
for (let $ = 1; $ <= M; $++)
|
|
5745
|
+
S.push(new Date(w, k + 1, $));
|
|
5746
5746
|
}
|
|
5747
5747
|
return S;
|
|
5748
5748
|
})(), N = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], v = (w) => {
|
|
@@ -5997,11 +5997,11 @@ const Kl = ({
|
|
|
5997
5997
|
const S = new Date(
|
|
5998
5998
|
i.getFullYear(),
|
|
5999
5999
|
i.getMonth() + E
|
|
6000
|
-
), M = S.getFullYear(),
|
|
6001
|
-
for (let R = 0; R <
|
|
6000
|
+
), M = S.getFullYear(), $ = S.getMonth(), T = N(S), z = v(S), F = [];
|
|
6001
|
+
for (let R = 0; R < z; R++)
|
|
6002
6002
|
F.push(null);
|
|
6003
6003
|
for (let R = 1; R <= T; R++)
|
|
6004
|
-
F.push(new Date(M,
|
|
6004
|
+
F.push(new Date(M, $, R));
|
|
6005
6005
|
return {
|
|
6006
6006
|
days: F,
|
|
6007
6007
|
monthName: S.toLocaleDateString("en-US", {
|
|
@@ -6079,9 +6079,9 @@ const Kl = ({
|
|
|
6079
6079
|
className: "grid gap-4",
|
|
6080
6080
|
style: { gridTemplateColumns: `repeat(${s}, 1fr)` },
|
|
6081
6081
|
children: Array.from({ length: s }, (E, S) => {
|
|
6082
|
-
const { days: M, monthName:
|
|
6082
|
+
const { days: M, monthName: $ } = C(S);
|
|
6083
6083
|
return /* @__PURE__ */ h("div", { children: [
|
|
6084
|
-
/* @__PURE__ */ a("h3", { className: "text-base font-semibold text-gray-900 dark:text-white mb-4 text-center", children:
|
|
6084
|
+
/* @__PURE__ */ a("h3", { className: "text-base font-semibold text-gray-900 dark:text-white mb-4 text-center", children: $ }),
|
|
6085
6085
|
/* @__PURE__ */ a("div", { className: "grid grid-cols-7 gap-1 mb-2", children: L.map((T) => /* @__PURE__ */ a(
|
|
6086
6086
|
"div",
|
|
6087
6087
|
{
|
|
@@ -6090,10 +6090,10 @@ const Kl = ({
|
|
|
6090
6090
|
},
|
|
6091
6091
|
T
|
|
6092
6092
|
)) }),
|
|
6093
|
-
/* @__PURE__ */ a("div", { className: "grid grid-cols-7 gap-1", children: M.map((T,
|
|
6093
|
+
/* @__PURE__ */ a("div", { className: "grid grid-cols-7 gap-1", children: M.map((T, z) => {
|
|
6094
6094
|
if (!T)
|
|
6095
|
-
return /* @__PURE__ */ a("div", { className: "aspect-square" },
|
|
6096
|
-
const F = y(T), R = f(T), W = p(T), V = b(T),
|
|
6095
|
+
return /* @__PURE__ */ a("div", { className: "aspect-square" }, z);
|
|
6096
|
+
const F = y(T), R = f(T), W = p(T), V = b(T), K = m(T, /* @__PURE__ */ new Date());
|
|
6097
6097
|
return /* @__PURE__ */ a(
|
|
6098
6098
|
"button",
|
|
6099
6099
|
{
|
|
@@ -6107,11 +6107,11 @@ const Kl = ({
|
|
|
6107
6107
|
V && "bg-blue-100 dark:bg-blue-900/30",
|
|
6108
6108
|
(R || W) && "bg-blue-600 text-white hover:bg-blue-700 dark:bg-blue-500 dark:hover:bg-blue-600",
|
|
6109
6109
|
!R && !W && !V && "hover:bg-gray-100 dark:hover:bg-gray-800",
|
|
6110
|
-
|
|
6110
|
+
K && !R && !W && "border-2 border-blue-600 dark:border-blue-400"
|
|
6111
6111
|
),
|
|
6112
6112
|
children: T.getDate()
|
|
6113
6113
|
},
|
|
6114
|
-
|
|
6114
|
+
z
|
|
6115
6115
|
);
|
|
6116
6116
|
}) })
|
|
6117
6117
|
] }, S);
|
|
@@ -6702,7 +6702,7 @@ const Kl = ({
|
|
|
6702
6702
|
)
|
|
6703
6703
|
] })
|
|
6704
6704
|
] });
|
|
6705
|
-
},
|
|
6705
|
+
}, Ct = [
|
|
6706
6706
|
{ code: "USD", symbol: "$", name: "US Dollar", decimals: 2 },
|
|
6707
6707
|
{ code: "EUR", symbol: "€", name: "Euro", decimals: 2 },
|
|
6708
6708
|
{ code: "GBP", symbol: "£", name: "British Pound", decimals: 2 },
|
|
@@ -6718,7 +6718,7 @@ const Kl = ({
|
|
|
6718
6718
|
onChange: e,
|
|
6719
6719
|
currency: r = "USD",
|
|
6720
6720
|
onCurrencyChange: n,
|
|
6721
|
-
currencies: o =
|
|
6721
|
+
currencies: o = Ct,
|
|
6722
6722
|
showCurrencySelector: s = !1,
|
|
6723
6723
|
placeholder: l = "0.00",
|
|
6724
6724
|
min: i,
|
|
@@ -6726,7 +6726,7 @@ const Kl = ({
|
|
|
6726
6726
|
disabled: c = !1,
|
|
6727
6727
|
className: g
|
|
6728
6728
|
}) => {
|
|
6729
|
-
const [m, y] = I(""), [b, f] = I(!1), [p, x] = I(!1), v = typeof r == "string" ? o.find((S) => S.code === r) ||
|
|
6729
|
+
const [m, y] = I(""), [b, f] = I(!1), [p, x] = I(!1), v = typeof r == "string" ? o.find((S) => S.code === r) || Ct[0] : r, C = B(
|
|
6730
6730
|
(S) => {
|
|
6731
6731
|
const M = v.decimals ?? 2;
|
|
6732
6732
|
return S.toLocaleString("en-US", {
|
|
@@ -6740,9 +6740,9 @@ const Kl = ({
|
|
|
6740
6740
|
b || y(C(t || 0));
|
|
6741
6741
|
}, [t, C, b]);
|
|
6742
6742
|
const w = (S) => {
|
|
6743
|
-
const
|
|
6744
|
-
y(
|
|
6745
|
-
let R = parseFloat(
|
|
6743
|
+
const $ = S.target.value.replace(/[^\d.]/g, ""), T = $.split("."), z = T.length > 2 ? `${T[0]}.${T.slice(1).join("")}` : $;
|
|
6744
|
+
y(z);
|
|
6745
|
+
let R = parseFloat(z) || 0;
|
|
6746
6746
|
i !== void 0 && R < i && (R = i), d !== void 0 && R > d && (R = d), e(R);
|
|
6747
6747
|
}, k = () => {
|
|
6748
6748
|
f(!0), y(t ? t.toString() : "");
|
|
@@ -7089,7 +7089,7 @@ const Kl = ({
|
|
|
7089
7089
|
}
|
|
7090
7090
|
};
|
|
7091
7091
|
return /* @__PURE__ */ h("div", { className: u("flex items-center gap-2", i), children: [
|
|
7092
|
-
n && /* @__PURE__ */ h("span", { className:
|
|
7092
|
+
n && /* @__PURE__ */ h("span", { className: U.label.default(), children: [
|
|
7093
7093
|
n,
|
|
7094
7094
|
":"
|
|
7095
7095
|
] }),
|
|
@@ -7186,7 +7186,7 @@ const Kl = ({
|
|
|
7186
7186
|
)
|
|
7187
7187
|
] })
|
|
7188
7188
|
] });
|
|
7189
|
-
},
|
|
7189
|
+
}, St = () => typeof document < "u" && typeof document.createElement == "function" && typeof document.getElementById == "function", Aa = (t) => {
|
|
7190
7190
|
if (typeof document < "u" && document.getElementById)
|
|
7191
7191
|
try {
|
|
7192
7192
|
return document.getElementById(t);
|
|
@@ -7208,7 +7208,7 @@ const Kl = ({
|
|
|
7208
7208
|
} catch {
|
|
7209
7209
|
}
|
|
7210
7210
|
return !1;
|
|
7211
|
-
},
|
|
7211
|
+
}, dt = ({
|
|
7212
7212
|
animation: t = "fade-in-up",
|
|
7213
7213
|
delay: e = 0,
|
|
7214
7214
|
duration: r = 600,
|
|
@@ -7219,7 +7219,7 @@ const Kl = ({
|
|
|
7219
7219
|
}) => {
|
|
7220
7220
|
const [i, d] = I(!1), [c, g] = I(!1), m = D(null);
|
|
7221
7221
|
A(() => {
|
|
7222
|
-
if (!
|
|
7222
|
+
if (!St() || typeof IntersectionObserver > "u") {
|
|
7223
7223
|
d(!0), n && g(!0);
|
|
7224
7224
|
return;
|
|
7225
7225
|
}
|
|
@@ -7250,7 +7250,7 @@ const Kl = ({
|
|
|
7250
7250
|
return p[t] || p["fade-in-up"];
|
|
7251
7251
|
};
|
|
7252
7252
|
return A(() => {
|
|
7253
|
-
if (
|
|
7253
|
+
if (St() && (t === "float" || t === "bounce-slow")) {
|
|
7254
7254
|
const b = "animated-section-keyframes";
|
|
7255
7255
|
if (!Aa(b)) {
|
|
7256
7256
|
const f = za("style");
|
|
@@ -7273,15 +7273,15 @@ const Kl = ({
|
|
|
7273
7273
|
}
|
|
7274
7274
|
}
|
|
7275
7275
|
}, [t]), /* @__PURE__ */ a("div", { ref: m, className: `${y()} ${s}`, children: o });
|
|
7276
|
-
}, pi = ({ children: t, delay: e = 0, className: r = "" }) => /* @__PURE__ */ a(
|
|
7277
|
-
|
|
7276
|
+
}, pi = ({ children: t, delay: e = 0, className: r = "" }) => /* @__PURE__ */ a(dt, { animation: "fade-in-up", delay: e, className: r, children: t }), yi = ({ children: t, delay: e = 0, className: r = "" }) => /* @__PURE__ */ a(
|
|
7277
|
+
dt,
|
|
7278
7278
|
{
|
|
7279
7279
|
animation: "fade-in-scale",
|
|
7280
7280
|
delay: e,
|
|
7281
7281
|
className: r,
|
|
7282
7282
|
children: t
|
|
7283
7283
|
}
|
|
7284
|
-
), xi = ({ children: t, className: e = "" }) => /* @__PURE__ */ a(
|
|
7284
|
+
), xi = ({ children: t, className: e = "" }) => /* @__PURE__ */ a(dt, { animation: "float", className: e, children: t }), vi = ({
|
|
7285
7285
|
isOpen: t,
|
|
7286
7286
|
onClick: e,
|
|
7287
7287
|
opacity: r = "medium",
|
|
@@ -7321,21 +7321,21 @@ const Kl = ({
|
|
|
7321
7321
|
descriptionColor: "text-blue-700 dark:text-blue-300"
|
|
7322
7322
|
},
|
|
7323
7323
|
[de.SUCCESS]: {
|
|
7324
|
-
icon:
|
|
7324
|
+
icon: je,
|
|
7325
7325
|
container: "bg-green-50 dark:bg-green-950 border-green-200 dark:border-green-800",
|
|
7326
7326
|
iconColor: "text-green-600 dark:text-green-400",
|
|
7327
7327
|
titleColor: "text-green-900 dark:text-green-100",
|
|
7328
7328
|
descriptionColor: "text-green-700 dark:text-green-300"
|
|
7329
7329
|
},
|
|
7330
7330
|
[de.WARNING]: {
|
|
7331
|
-
icon:
|
|
7331
|
+
icon: rt,
|
|
7332
7332
|
container: "bg-yellow-50 dark:bg-amber-950 border-yellow-200 dark:border-amber-800",
|
|
7333
7333
|
iconColor: "text-yellow-600 dark:text-amber-400",
|
|
7334
7334
|
titleColor: "text-yellow-900 dark:text-amber-100",
|
|
7335
7335
|
descriptionColor: "text-yellow-700 dark:text-amber-300"
|
|
7336
7336
|
},
|
|
7337
7337
|
[de.ERROR]: {
|
|
7338
|
-
icon:
|
|
7338
|
+
icon: tt,
|
|
7339
7339
|
container: "bg-red-50 dark:bg-red-950 border-red-200 dark:border-red-800",
|
|
7340
7340
|
iconColor: "text-red-600 dark:text-red-400",
|
|
7341
7341
|
titleColor: "text-red-900 dark:text-red-100",
|
|
@@ -7412,7 +7412,7 @@ const Kl = ({
|
|
|
7412
7412
|
"focus:ring-current"
|
|
7413
7413
|
),
|
|
7414
7414
|
"aria-label": d,
|
|
7415
|
-
children: /* @__PURE__ */ a(
|
|
7415
|
+
children: /* @__PURE__ */ a(Fe, { className: u("h-5 w-5", b.iconColor) })
|
|
7416
7416
|
}
|
|
7417
7417
|
)
|
|
7418
7418
|
]
|
|
@@ -7420,7 +7420,7 @@ const Kl = ({
|
|
|
7420
7420
|
)
|
|
7421
7421
|
}
|
|
7422
7422
|
);
|
|
7423
|
-
return
|
|
7423
|
+
return et(N, document.body);
|
|
7424
7424
|
}, ki = (t = {}) => {
|
|
7425
7425
|
const { defaultDuration: e = 5e3 } = t, [r, n] = I(!1), [o, s] = I(null), l = B(
|
|
7426
7426
|
({
|
|
@@ -7458,7 +7458,7 @@ const Kl = ({
|
|
|
7458
7458
|
return document.addEventListener("keydown", g), () => document.removeEventListener("keydown", g);
|
|
7459
7459
|
}, [t, e, l]), t ? /* @__PURE__ */ h(me, { children: [
|
|
7460
7460
|
/* @__PURE__ */ a(
|
|
7461
|
-
|
|
7461
|
+
st,
|
|
7462
7462
|
{
|
|
7463
7463
|
isOpen: t,
|
|
7464
7464
|
onClose: () => {
|
|
@@ -7646,7 +7646,7 @@ const Kl = ({
|
|
|
7646
7646
|
]
|
|
7647
7647
|
}
|
|
7648
7648
|
);
|
|
7649
|
-
}, Da =
|
|
7649
|
+
}, Da = G(
|
|
7650
7650
|
"bg-white dark:bg-gray-800 rounded-lg shadow-md p-6 transition-all duration-200",
|
|
7651
7651
|
{
|
|
7652
7652
|
variants: {
|
|
@@ -7707,7 +7707,7 @@ const Kl = ({
|
|
|
7707
7707
|
] }),
|
|
7708
7708
|
o && /* @__PURE__ */ a("div", { className: "text-3xl opacity-80", children: o })
|
|
7709
7709
|
] }) });
|
|
7710
|
-
}, Ba =
|
|
7710
|
+
}, Ba = G("space-y-6", {
|
|
7711
7711
|
variants: {
|
|
7712
7712
|
variant: {
|
|
7713
7713
|
default: "",
|
|
@@ -7738,7 +7738,7 @@ const Kl = ({
|
|
|
7738
7738
|
e && /* @__PURE__ */ a("p", { className: "text-sm text-gray-600 dark:text-gray-400", children: e })
|
|
7739
7739
|
] }),
|
|
7740
7740
|
r
|
|
7741
|
-
] }), Ra =
|
|
7741
|
+
] }), Ra = G(
|
|
7742
7742
|
"flex flex-col items-center text-center space-y-4",
|
|
7743
7743
|
{
|
|
7744
7744
|
variants: {
|
|
@@ -8140,7 +8140,7 @@ const zi = ({
|
|
|
8140
8140
|
e && /* @__PURE__ */ a(
|
|
8141
8141
|
"h3",
|
|
8142
8142
|
{
|
|
8143
|
-
className: u(
|
|
8143
|
+
className: u(U.body.strong.md(), c.title),
|
|
8144
8144
|
children: e
|
|
8145
8145
|
}
|
|
8146
8146
|
)
|
|
@@ -8268,19 +8268,19 @@ const zi = ({
|
|
|
8268
8268
|
}) => {
|
|
8269
8269
|
const g = {
|
|
8270
8270
|
sm: {
|
|
8271
|
-
title:
|
|
8272
|
-
description:
|
|
8273
|
-
count:
|
|
8271
|
+
title: U.heading.h4(),
|
|
8272
|
+
description: U.body.sm(),
|
|
8273
|
+
count: U.caption.default()
|
|
8274
8274
|
},
|
|
8275
8275
|
md: {
|
|
8276
|
-
title:
|
|
8277
|
-
description:
|
|
8278
|
-
count:
|
|
8276
|
+
title: U.heading.h3(),
|
|
8277
|
+
description: U.body.md(),
|
|
8278
|
+
count: U.body.sm()
|
|
8279
8279
|
},
|
|
8280
8280
|
lg: {
|
|
8281
|
-
title:
|
|
8282
|
-
description:
|
|
8283
|
-
count:
|
|
8281
|
+
title: U.heading.h2(),
|
|
8282
|
+
description: U.body.lg(),
|
|
8283
|
+
count: U.body.md()
|
|
8284
8284
|
}
|
|
8285
8285
|
}[i];
|
|
8286
8286
|
return /* @__PURE__ */ h("div", { className: u("flex items-start justify-between gap-4", d), children: [
|
|
@@ -8510,9 +8510,9 @@ const zi = ({
|
|
|
8510
8510
|
), Ha = (t) => {
|
|
8511
8511
|
switch (t) {
|
|
8512
8512
|
case "cog":
|
|
8513
|
-
return
|
|
8513
|
+
return yt;
|
|
8514
8514
|
case "arrow-right":
|
|
8515
|
-
return
|
|
8515
|
+
return jt;
|
|
8516
8516
|
case "shield":
|
|
8517
8517
|
return Ar;
|
|
8518
8518
|
case "reply":
|
|
@@ -8527,7 +8527,7 @@ const zi = ({
|
|
|
8527
8527
|
case "currency-dollar":
|
|
8528
8528
|
return Lr;
|
|
8529
8529
|
default:
|
|
8530
|
-
return
|
|
8530
|
+
return yt;
|
|
8531
8531
|
}
|
|
8532
8532
|
}, Oi = ({
|
|
8533
8533
|
settings: t,
|
|
@@ -8547,7 +8547,7 @@ const zi = ({
|
|
|
8547
8547
|
onClick: () => r(o.id),
|
|
8548
8548
|
className: u(
|
|
8549
8549
|
"w-full flex items-center text-left px-3 py-2 rounded-lg transition-colors h-[44px]",
|
|
8550
|
-
|
|
8550
|
+
U.body.sm(),
|
|
8551
8551
|
l ? "bg-orange-100 dark:bg-orange-900/30 text-orange-700 dark:text-orange-300" : "hover:bg-gray-100 dark:hover:bg-gray-700 text-gray-700 dark:text-gray-300"
|
|
8552
8552
|
),
|
|
8553
8553
|
"aria-current": l ? "page" : void 0,
|
|
@@ -8786,19 +8786,19 @@ const zi = ({
|
|
|
8786
8786
|
))
|
|
8787
8787
|
}
|
|
8788
8788
|
);
|
|
8789
|
-
},
|
|
8789
|
+
}, _e = G(
|
|
8790
8790
|
"transition-all duration-200 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2 rounded-sm",
|
|
8791
8791
|
{
|
|
8792
8792
|
variants: {
|
|
8793
8793
|
variant: {
|
|
8794
8794
|
// Subtle internal link - barely noticeable color change
|
|
8795
|
-
subtle:
|
|
8795
|
+
subtle: U.link.subtle(),
|
|
8796
8796
|
// Default internal link
|
|
8797
|
-
default:
|
|
8797
|
+
default: U.link.default(),
|
|
8798
8798
|
// Muted link for secondary navigation
|
|
8799
|
-
muted:
|
|
8799
|
+
muted: U.link.muted(),
|
|
8800
8800
|
// External link with indicator
|
|
8801
|
-
external:
|
|
8801
|
+
external: U.link.external(),
|
|
8802
8802
|
// Inherit parent styling with minimal changes
|
|
8803
8803
|
inherit: "text-inherit hover:text-blue-600 dark:hover:text-blue-400 underline-offset-2 hover:underline transition-colors duration-200"
|
|
8804
8804
|
},
|
|
@@ -8813,7 +8813,7 @@ const zi = ({
|
|
|
8813
8813
|
size: "default"
|
|
8814
8814
|
}
|
|
8815
8815
|
}
|
|
8816
|
-
),
|
|
8816
|
+
), Qt = q.forwardRef(
|
|
8817
8817
|
({
|
|
8818
8818
|
className: t,
|
|
8819
8819
|
variant: e,
|
|
@@ -8841,7 +8841,7 @@ const zi = ({
|
|
|
8841
8841
|
"a",
|
|
8842
8842
|
{
|
|
8843
8843
|
className: u(
|
|
8844
|
-
|
|
8844
|
+
_e({
|
|
8845
8845
|
variant: e === "subtle" ? "external" : e,
|
|
8846
8846
|
size: r,
|
|
8847
8847
|
className: t
|
|
@@ -8856,9 +8856,9 @@ const zi = ({
|
|
|
8856
8856
|
children: l
|
|
8857
8857
|
}
|
|
8858
8858
|
) : /* @__PURE__ */ a(
|
|
8859
|
-
|
|
8859
|
+
Me,
|
|
8860
8860
|
{
|
|
8861
|
-
className: u(
|
|
8861
|
+
className: u(_e({ variant: e, size: r, className: t })),
|
|
8862
8862
|
to: b,
|
|
8863
8863
|
ref: y,
|
|
8864
8864
|
onClick: p,
|
|
@@ -8868,7 +8868,7 @@ const zi = ({
|
|
|
8868
8868
|
) : /* @__PURE__ */ a(
|
|
8869
8869
|
"span",
|
|
8870
8870
|
{
|
|
8871
|
-
className: u(
|
|
8871
|
+
className: u(_e({ variant: e, size: r, className: t })),
|
|
8872
8872
|
onClick: p,
|
|
8873
8873
|
...m,
|
|
8874
8874
|
children: l
|
|
@@ -8876,7 +8876,7 @@ const zi = ({
|
|
|
8876
8876
|
);
|
|
8877
8877
|
}
|
|
8878
8878
|
);
|
|
8879
|
-
|
|
8879
|
+
Qt.displayName = "SmartLink";
|
|
8880
8880
|
const Yi = (t, e) => q.useMemo(() => {
|
|
8881
8881
|
let r = t;
|
|
8882
8882
|
return Object.entries(e).forEach(([n, o]) => {
|
|
@@ -8966,7 +8966,7 @@ const Yi = (t, e) => q.useMemo(() => {
|
|
|
8966
8966
|
);
|
|
8967
8967
|
if (d) {
|
|
8968
8968
|
const [, c, g] = d;
|
|
8969
|
-
return /* @__PURE__ */ a(
|
|
8969
|
+
return /* @__PURE__ */ a(Qt, { to: c, variant: n, children: g }, i);
|
|
8970
8970
|
}
|
|
8971
8971
|
return l;
|
|
8972
8972
|
}) });
|
|
@@ -9010,7 +9010,7 @@ const Yi = (t, e) => q.useMemo(() => {
|
|
|
9010
9010
|
),
|
|
9011
9011
|
children: [
|
|
9012
9012
|
e,
|
|
9013
|
-
o && y && /* @__PURE__ */ a(
|
|
9013
|
+
o && y && /* @__PURE__ */ a(ze, { className: "inline-block h-4 w-4 ml-1" })
|
|
9014
9014
|
]
|
|
9015
9015
|
}
|
|
9016
9016
|
) : /* @__PURE__ */ h(
|
|
@@ -9027,7 +9027,7 @@ const Yi = (t, e) => q.useMemo(() => {
|
|
|
9027
9027
|
...m,
|
|
9028
9028
|
children: [
|
|
9029
9029
|
e,
|
|
9030
|
-
o && y && /* @__PURE__ */ a(
|
|
9030
|
+
o && y && /* @__PURE__ */ a(ze, { className: "inline-block h-4 w-4 ml-1 flex-shrink-0" })
|
|
9031
9031
|
]
|
|
9032
9032
|
}
|
|
9033
9033
|
);
|
|
@@ -9043,17 +9043,17 @@ const Yi = (t, e) => q.useMemo(() => {
|
|
|
9043
9043
|
}) => {
|
|
9044
9044
|
const d = {
|
|
9045
9045
|
sm: {
|
|
9046
|
-
text:
|
|
9046
|
+
text: U.body.sm(),
|
|
9047
9047
|
icon: "h-3 w-3",
|
|
9048
9048
|
gap: "gap-1"
|
|
9049
9049
|
},
|
|
9050
9050
|
md: {
|
|
9051
|
-
text:
|
|
9051
|
+
text: U.body.md(),
|
|
9052
9052
|
icon: "h-4 w-4",
|
|
9053
9053
|
gap: "gap-1.5"
|
|
9054
9054
|
},
|
|
9055
9055
|
lg: {
|
|
9056
|
-
text:
|
|
9056
|
+
text: U.body.lg(),
|
|
9057
9057
|
icon: "h-5 w-5",
|
|
9058
9058
|
gap: "gap-2"
|
|
9059
9059
|
}
|
|
@@ -9081,14 +9081,14 @@ const Yi = (t, e) => q.useMemo(() => {
|
|
|
9081
9081
|
),
|
|
9082
9082
|
children: [
|
|
9083
9083
|
r && n === "left" && /* @__PURE__ */ a(
|
|
9084
|
-
|
|
9084
|
+
ze,
|
|
9085
9085
|
{
|
|
9086
9086
|
className: u(g.icon, "flex-shrink-0")
|
|
9087
9087
|
}
|
|
9088
9088
|
),
|
|
9089
9089
|
/* @__PURE__ */ a("span", { children: e }),
|
|
9090
9090
|
r && n === "right" && /* @__PURE__ */ a(
|
|
9091
|
-
|
|
9091
|
+
ze,
|
|
9092
9092
|
{
|
|
9093
9093
|
className: u(g.icon, "flex-shrink-0")
|
|
9094
9094
|
}
|
|
@@ -9096,9 +9096,9 @@ const Yi = (t, e) => q.useMemo(() => {
|
|
|
9096
9096
|
]
|
|
9097
9097
|
}
|
|
9098
9098
|
);
|
|
9099
|
-
},
|
|
9100
|
-
|
|
9101
|
-
}, ec = (t) =>
|
|
9099
|
+
}, $e = /* @__PURE__ */ new Set(), Zi = () => {
|
|
9100
|
+
$e.clear();
|
|
9101
|
+
}, ec = (t) => $e.has(t);
|
|
9102
9102
|
function Ga(t, e, r, n) {
|
|
9103
9103
|
let o = t;
|
|
9104
9104
|
if (r.length > 0) {
|
|
@@ -9128,7 +9128,7 @@ const tc = ({
|
|
|
9128
9128
|
}) => {
|
|
9129
9129
|
const m = D(null), y = B(() => {
|
|
9130
9130
|
const N = typeof s == "string" ? s : s.pathname || "";
|
|
9131
|
-
if (
|
|
9131
|
+
if ($e.has(N))
|
|
9132
9132
|
return;
|
|
9133
9133
|
const v = t || Ga(
|
|
9134
9134
|
N,
|
|
@@ -9138,7 +9138,7 @@ const tc = ({
|
|
|
9138
9138
|
);
|
|
9139
9139
|
v && (m.current = setTimeout(() => {
|
|
9140
9140
|
v().then(() => {
|
|
9141
|
-
|
|
9141
|
+
$e.add(N);
|
|
9142
9142
|
}).catch(() => {
|
|
9143
9143
|
});
|
|
9144
9144
|
}, e));
|
|
@@ -9168,7 +9168,7 @@ const tc = ({
|
|
|
9168
9168
|
[y, c]
|
|
9169
9169
|
);
|
|
9170
9170
|
return /* @__PURE__ */ a(
|
|
9171
|
-
|
|
9171
|
+
Me,
|
|
9172
9172
|
{
|
|
9173
9173
|
to: s,
|
|
9174
9174
|
onMouseEnter: f,
|
|
@@ -9210,32 +9210,32 @@ const tc = ({
|
|
|
9210
9210
|
);
|
|
9211
9211
|
Ya.displayName = "Tabs";
|
|
9212
9212
|
const Qa = q.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
|
|
9213
|
-
|
|
9213
|
+
Ot,
|
|
9214
9214
|
{
|
|
9215
9215
|
ref: r,
|
|
9216
9216
|
className: u(j.navigation.tabs.list(), t),
|
|
9217
9217
|
...e
|
|
9218
9218
|
}
|
|
9219
9219
|
));
|
|
9220
|
-
Qa.displayName =
|
|
9220
|
+
Qa.displayName = Ot.displayName;
|
|
9221
9221
|
const Ja = q.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
|
|
9222
|
-
|
|
9222
|
+
Vt,
|
|
9223
9223
|
{
|
|
9224
9224
|
ref: r,
|
|
9225
9225
|
className: u(j.navigation.tabs.trigger(), t),
|
|
9226
9226
|
...e
|
|
9227
9227
|
}
|
|
9228
9228
|
));
|
|
9229
|
-
Ja.displayName =
|
|
9229
|
+
Ja.displayName = Vt.displayName;
|
|
9230
9230
|
const Xa = q.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
|
|
9231
|
-
|
|
9231
|
+
_t,
|
|
9232
9232
|
{
|
|
9233
9233
|
ref: r,
|
|
9234
9234
|
className: u(j.navigation.tabs.content(), t),
|
|
9235
9235
|
...e
|
|
9236
9236
|
}
|
|
9237
9237
|
));
|
|
9238
|
-
Xa.displayName =
|
|
9238
|
+
Xa.displayName = _t.displayName;
|
|
9239
9239
|
const ac = ({
|
|
9240
9240
|
items: t,
|
|
9241
9241
|
orientation: e = "horizontal",
|
|
@@ -9365,7 +9365,7 @@ const ac = ({
|
|
|
9365
9365
|
children: [
|
|
9366
9366
|
/* @__PURE__ */ a(i, { className: "h-5 w-5 mt-0.5 mr-3 flex-shrink-0" }),
|
|
9367
9367
|
/* @__PURE__ */ h("div", { className: "flex-1 min-w-0", children: [
|
|
9368
|
-
/* @__PURE__ */ h("div", { className: u("font-medium",
|
|
9368
|
+
/* @__PURE__ */ h("div", { className: u("font-medium", U.body.md()), children: [
|
|
9369
9369
|
l.label,
|
|
9370
9370
|
l.badge !== void 0 && l.badge > 0 && /* @__PURE__ */ a("span", { className: "ml-2 inline-flex items-center justify-center px-2 py-0.5 text-xs font-medium bg-blue-100 dark:bg-blue-900 text-blue-800 dark:text-blue-200 rounded-full", children: l.badge })
|
|
9371
9371
|
] }),
|
|
@@ -9411,17 +9411,17 @@ const ac = ({
|
|
|
9411
9411
|
sm: {
|
|
9412
9412
|
button: "h-8 w-8 text-xs",
|
|
9413
9413
|
icon: "h-3 w-3",
|
|
9414
|
-
text:
|
|
9414
|
+
text: U.body.sm()
|
|
9415
9415
|
},
|
|
9416
9416
|
md: {
|
|
9417
9417
|
button: "h-10 w-10 text-sm",
|
|
9418
9418
|
icon: "h-4 w-4",
|
|
9419
|
-
text:
|
|
9419
|
+
text: U.body.md()
|
|
9420
9420
|
},
|
|
9421
9421
|
lg: {
|
|
9422
9422
|
button: "h-12 w-12 text-base",
|
|
9423
9423
|
icon: "h-5 w-5",
|
|
9424
|
-
text:
|
|
9424
|
+
text: U.body.lg()
|
|
9425
9425
|
}
|
|
9426
9426
|
}[s], g = (() => {
|
|
9427
9427
|
const v = [];
|
|
@@ -9514,7 +9514,7 @@ const ac = ({
|
|
|
9514
9514
|
disabled: t === e,
|
|
9515
9515
|
className: N,
|
|
9516
9516
|
"aria-label": "Go to next page",
|
|
9517
|
-
children: /* @__PURE__ */ a(
|
|
9517
|
+
children: /* @__PURE__ */ a(at, { className: d.icon })
|
|
9518
9518
|
}
|
|
9519
9519
|
),
|
|
9520
9520
|
o && /* @__PURE__ */ a(
|
|
@@ -9859,7 +9859,7 @@ const ac = ({
|
|
|
9859
9859
|
onClick: () => l(d.id),
|
|
9860
9860
|
className: "p-1 rounded-md hover:bg-gray-100 dark:hover:bg-gray-800 hover:scale-110 transition-all duration-200",
|
|
9861
9861
|
children: /* @__PURE__ */ a(
|
|
9862
|
-
|
|
9862
|
+
at,
|
|
9863
9863
|
{
|
|
9864
9864
|
className: `h-4 w-4 text-gray-500 transition-transform duration-300 ease-in-out ${n.includes(d.id) ? "rotate-90" : "rotate-0"}`
|
|
9865
9865
|
}
|
|
@@ -9993,7 +9993,7 @@ const gc = ({
|
|
|
9993
9993
|
children: /* @__PURE__ */ a(
|
|
9994
9994
|
"p",
|
|
9995
9995
|
{
|
|
9996
|
-
className: `${
|
|
9996
|
+
className: `${U.body.sm()} text-gray-500 dark:text-gray-400`,
|
|
9997
9997
|
children: s
|
|
9998
9998
|
}
|
|
9999
9999
|
)
|
|
@@ -10003,7 +10003,7 @@ const gc = ({
|
|
|
10003
10003
|
e.map((d, c) => /* @__PURE__ */ a(
|
|
10004
10004
|
"th",
|
|
10005
10005
|
{
|
|
10006
|
-
className: `${
|
|
10006
|
+
className: `${U.label.default()} text-left py-3 px-4 whitespace-nowrap`,
|
|
10007
10007
|
children: d
|
|
10008
10008
|
},
|
|
10009
10009
|
c
|
|
@@ -10011,7 +10011,7 @@ const gc = ({
|
|
|
10011
10011
|
r && /* @__PURE__ */ a(
|
|
10012
10012
|
"th",
|
|
10013
10013
|
{
|
|
10014
|
-
className: `${
|
|
10014
|
+
className: `${U.label.default()} text-right py-3 px-4 sticky right-0 bg-white dark:bg-gray-900 whitespace-nowrap`
|
|
10015
10015
|
}
|
|
10016
10016
|
)
|
|
10017
10017
|
] }) }),
|
|
@@ -10022,7 +10022,7 @@ const gc = ({
|
|
|
10022
10022
|
children: [
|
|
10023
10023
|
e.map((g, m) => {
|
|
10024
10024
|
const y = n(d, m);
|
|
10025
|
-
return /* @__PURE__ */ a("td", { className: "py-3 px-4", children: typeof y == "string" ? /* @__PURE__ */ a("span", { className:
|
|
10025
|
+
return /* @__PURE__ */ a("td", { className: "py-3 px-4", children: typeof y == "string" ? /* @__PURE__ */ a("span", { className: U.body.sm(), children: y }) : y }, m);
|
|
10026
10026
|
}),
|
|
10027
10027
|
r && /* @__PURE__ */ a("td", { className: "py-3 px-4 text-right sticky right-0 bg-white dark:bg-gray-900", children: o?.(d) })
|
|
10028
10028
|
]
|
|
@@ -10283,34 +10283,34 @@ const gc = ({
|
|
|
10283
10283
|
className: g
|
|
10284
10284
|
}) => {
|
|
10285
10285
|
const [m, y] = I(""), [b, f] = I(""), [p, x] = I(/* @__PURE__ */ new Set()), [N, v] = I(/* @__PURE__ */ new Set()), C = s ? t.filter(
|
|
10286
|
-
(
|
|
10286
|
+
(z) => z.label.toLowerCase().includes(m.toLowerCase())
|
|
10287
10287
|
) : t, w = s ? e.filter(
|
|
10288
|
-
(
|
|
10289
|
-
) : e, k = (
|
|
10288
|
+
(z) => z.label.toLowerCase().includes(b.toLowerCase())
|
|
10289
|
+
) : e, k = (z) => {
|
|
10290
10290
|
const F = new Set(p);
|
|
10291
|
-
F.has(
|
|
10292
|
-
}, L = (
|
|
10291
|
+
F.has(z) ? F.delete(z) : F.add(z), x(F);
|
|
10292
|
+
}, L = (z) => {
|
|
10293
10293
|
const F = new Set(N);
|
|
10294
|
-
F.has(
|
|
10294
|
+
F.has(z) ? F.delete(z) : F.add(z), v(F);
|
|
10295
10295
|
}, E = () => {
|
|
10296
|
-
const
|
|
10296
|
+
const z = t.filter((W) => p.has(W.id)), F = t.filter((W) => !p.has(W.id)), R = [...e, ...z];
|
|
10297
10297
|
r(F, R), x(/* @__PURE__ */ new Set());
|
|
10298
10298
|
}, S = () => {
|
|
10299
|
-
const
|
|
10299
|
+
const z = e.filter((W) => N.has(W.id)), F = e.filter((W) => !N.has(W.id)), R = [...t, ...z];
|
|
10300
10300
|
r(R, F), v(/* @__PURE__ */ new Set());
|
|
10301
10301
|
}, M = () => {
|
|
10302
|
-
const
|
|
10303
|
-
r([],
|
|
10304
|
-
},
|
|
10305
|
-
const
|
|
10306
|
-
r(
|
|
10307
|
-
}, T = (
|
|
10302
|
+
const z = [...e, ...t];
|
|
10303
|
+
r([], z), x(/* @__PURE__ */ new Set());
|
|
10304
|
+
}, $ = () => {
|
|
10305
|
+
const z = [...t, ...e];
|
|
10306
|
+
r(z, []), v(/* @__PURE__ */ new Set());
|
|
10307
|
+
}, T = (z, F, R, W, V, K, fe) => /* @__PURE__ */ h("div", { className: "flex flex-col flex-1 border border-gray-300 dark:border-gray-700 rounded-md bg-white dark:bg-gray-900", children: [
|
|
10308
10308
|
/* @__PURE__ */ h("div", { className: "px-3 py-2 border-b border-gray-300 dark:border-gray-700 bg-gray-50 dark:bg-gray-800", children: [
|
|
10309
10309
|
/* @__PURE__ */ a("h3", { className: "text-sm font-semibold text-gray-900 dark:text-white", children: F }),
|
|
10310
10310
|
/* @__PURE__ */ h("p", { className: "text-xs text-gray-600 dark:text-gray-400", children: [
|
|
10311
|
-
|
|
10311
|
+
z.length,
|
|
10312
10312
|
" item",
|
|
10313
|
-
|
|
10313
|
+
z.length !== 1 ? "s" : ""
|
|
10314
10314
|
] })
|
|
10315
10315
|
] }),
|
|
10316
10316
|
s && /* @__PURE__ */ a("div", { className: "p-2 border-b border-gray-200 dark:border-gray-700", children: /* @__PURE__ */ a(
|
|
@@ -10318,8 +10318,8 @@ const gc = ({
|
|
|
10318
10318
|
{
|
|
10319
10319
|
type: "text",
|
|
10320
10320
|
value: V,
|
|
10321
|
-
onChange: (Q) =>
|
|
10322
|
-
placeholder:
|
|
10321
|
+
onChange: (Q) => K(Q.target.value),
|
|
10322
|
+
placeholder: fe,
|
|
10323
10323
|
className: "w-full px-3 py-2 text-sm bg-gray-50 dark:bg-gray-800 border border-gray-300 dark:border-gray-700 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500 dark:focus:ring-blue-400"
|
|
10324
10324
|
}
|
|
10325
10325
|
) }),
|
|
@@ -10328,8 +10328,8 @@ const gc = ({
|
|
|
10328
10328
|
{
|
|
10329
10329
|
className: "overflow-y-auto p-2 space-y-1",
|
|
10330
10330
|
style: { height: s ? d - 120 : d - 60 },
|
|
10331
|
-
children:
|
|
10332
|
-
const
|
|
10331
|
+
children: z.length === 0 ? /* @__PURE__ */ a("div", { className: "flex items-center justify-center h-full text-sm text-gray-500 dark:text-gray-400", children: "No items" }) : z.map((Q) => {
|
|
10332
|
+
const Ve = R.has(Q.id);
|
|
10333
10333
|
return /* @__PURE__ */ a(
|
|
10334
10334
|
"button",
|
|
10335
10335
|
{
|
|
@@ -10339,7 +10339,7 @@ const gc = ({
|
|
|
10339
10339
|
"w-full px-3 py-2 text-left rounded-md transition-colors",
|
|
10340
10340
|
"hover:bg-gray-100 dark:hover:bg-gray-800",
|
|
10341
10341
|
"disabled:opacity-50 disabled:cursor-not-allowed",
|
|
10342
|
-
|
|
10342
|
+
Ve && "bg-blue-50 dark:bg-blue-900/30 border border-blue-200 dark:border-blue-700"
|
|
10343
10343
|
),
|
|
10344
10344
|
children: /* @__PURE__ */ h("div", { className: "flex items-start gap-2", children: [
|
|
10345
10345
|
/* @__PURE__ */ a(
|
|
@@ -10347,9 +10347,9 @@ const gc = ({
|
|
|
10347
10347
|
{
|
|
10348
10348
|
className: u(
|
|
10349
10349
|
"w-4 h-4 border-2 rounded flex items-center justify-center flex-shrink-0 mt-0.5",
|
|
10350
|
-
|
|
10350
|
+
Ve ? "bg-blue-600 border-blue-600 dark:bg-blue-500 dark:border-blue-500" : "border-gray-300 dark:border-gray-600"
|
|
10351
10351
|
),
|
|
10352
|
-
children:
|
|
10352
|
+
children: Ve && /* @__PURE__ */ a(
|
|
10353
10353
|
"svg",
|
|
10354
10354
|
{
|
|
10355
10355
|
className: "w-3 h-3 text-white",
|
|
@@ -10497,7 +10497,7 @@ const gc = ({
|
|
|
10497
10497
|
/* @__PURE__ */ a(
|
|
10498
10498
|
"button",
|
|
10499
10499
|
{
|
|
10500
|
-
onClick:
|
|
10500
|
+
onClick: $,
|
|
10501
10501
|
disabled: c || e.length === 0,
|
|
10502
10502
|
className: u(
|
|
10503
10503
|
"px-3 py-2 text-sm bg-white dark:bg-gray-900",
|
|
@@ -10699,7 +10699,7 @@ const Sc = ({
|
|
|
10699
10699
|
sm: "p-3",
|
|
10700
10700
|
md: "p-6",
|
|
10701
10701
|
lg: "p-8"
|
|
10702
|
-
},
|
|
10702
|
+
}, Jt = ({
|
|
10703
10703
|
variant: t = "elevated",
|
|
10704
10704
|
padding: e = "md",
|
|
10705
10705
|
icon: r,
|
|
@@ -10762,8 +10762,8 @@ const Sc = ({
|
|
|
10762
10762
|
children: n,
|
|
10763
10763
|
...o
|
|
10764
10764
|
}) => /* @__PURE__ */ h("div", { className: u("space-y-1.5", r), ...o, children: [
|
|
10765
|
-
t && /* @__PURE__ */ a("h3", { className:
|
|
10766
|
-
e && /* @__PURE__ */ a("p", { className:
|
|
10765
|
+
t && /* @__PURE__ */ a("h3", { className: U.heading.h4(), children: t }),
|
|
10766
|
+
e && /* @__PURE__ */ a("p", { className: U.body.sm(), children: e }),
|
|
10767
10767
|
n
|
|
10768
10768
|
] }), Mc = ({
|
|
10769
10769
|
className: t,
|
|
@@ -10780,7 +10780,7 @@ const Sc = ({
|
|
|
10780
10780
|
size: n = "default",
|
|
10781
10781
|
className: o
|
|
10782
10782
|
}) => /* @__PURE__ */ h(
|
|
10783
|
-
|
|
10783
|
+
Jt,
|
|
10784
10784
|
{
|
|
10785
10785
|
variant: r === "neutral" ? "bordered" : r,
|
|
10786
10786
|
padding: { sm: "sm", default: "md", lg: "lg" }[n],
|
|
@@ -10808,7 +10808,7 @@ const Sc = ({
|
|
|
10808
10808
|
centered: s = !1,
|
|
10809
10809
|
className: l
|
|
10810
10810
|
}) => /* @__PURE__ */ a(
|
|
10811
|
-
|
|
10811
|
+
Jt,
|
|
10812
10812
|
{
|
|
10813
10813
|
variant: n === "gradient" || n === "neutral" ? "callout" : n,
|
|
10814
10814
|
padding: { sm: "sm", default: "md", lg: "lg" }[o],
|
|
@@ -11023,18 +11023,18 @@ const Sc = ({
|
|
|
11023
11023
|
}) => {
|
|
11024
11024
|
const y = {
|
|
11025
11025
|
sm: {
|
|
11026
|
-
label:
|
|
11027
|
-
value:
|
|
11026
|
+
label: U.body.sm(),
|
|
11027
|
+
value: U.body.sm(),
|
|
11028
11028
|
gap: "gap-1"
|
|
11029
11029
|
},
|
|
11030
11030
|
md: {
|
|
11031
|
-
label:
|
|
11032
|
-
value:
|
|
11031
|
+
label: U.body.md(),
|
|
11032
|
+
value: U.body.md(),
|
|
11033
11033
|
gap: "gap-2"
|
|
11034
11034
|
},
|
|
11035
11035
|
lg: {
|
|
11036
|
-
label:
|
|
11037
|
-
value:
|
|
11036
|
+
label: U.body.lg(),
|
|
11037
|
+
value: U.body.lg(),
|
|
11038
11038
|
gap: "gap-3"
|
|
11039
11039
|
}
|
|
11040
11040
|
}, b = {
|
|
@@ -11140,23 +11140,23 @@ const Sc = ({
|
|
|
11140
11140
|
}
|
|
11141
11141
|
}, m = {
|
|
11142
11142
|
sm: {
|
|
11143
|
-
value:
|
|
11144
|
-
label:
|
|
11143
|
+
value: U.heading.h5(),
|
|
11144
|
+
label: U.caption.default(),
|
|
11145
11145
|
icon: "h-4 w-4"
|
|
11146
11146
|
},
|
|
11147
11147
|
md: {
|
|
11148
|
-
value:
|
|
11149
|
-
label:
|
|
11148
|
+
value: U.heading.h4(),
|
|
11149
|
+
label: U.body.sm(),
|
|
11150
11150
|
icon: "h-5 w-5"
|
|
11151
11151
|
},
|
|
11152
11152
|
lg: {
|
|
11153
|
-
value:
|
|
11154
|
-
label:
|
|
11153
|
+
value: U.heading.h3(),
|
|
11154
|
+
label: U.body.md(),
|
|
11155
11155
|
icon: "h-6 w-6"
|
|
11156
11156
|
},
|
|
11157
11157
|
xl: {
|
|
11158
|
-
value:
|
|
11159
|
-
label:
|
|
11158
|
+
value: U.heading.h2(),
|
|
11159
|
+
label: U.body.lg(),
|
|
11160
11160
|
icon: "h-8 w-8"
|
|
11161
11161
|
}
|
|
11162
11162
|
}, y = {
|
|
@@ -11229,12 +11229,12 @@ const Sc = ({
|
|
|
11229
11229
|
),
|
|
11230
11230
|
children: [
|
|
11231
11231
|
t && /* @__PURE__ */ a("div", { className: "mb-4 text-gray-400 dark:text-gray-600", children: t }),
|
|
11232
|
-
/* @__PURE__ */ a("h3", { className: u(
|
|
11232
|
+
/* @__PURE__ */ a("h3", { className: u(U.heading.h3(), "mb-2"), children: e }),
|
|
11233
11233
|
r && /* @__PURE__ */ a(
|
|
11234
11234
|
"p",
|
|
11235
11235
|
{
|
|
11236
11236
|
className: u(
|
|
11237
|
-
|
|
11237
|
+
U.body.sm(),
|
|
11238
11238
|
"text-gray-600 dark:text-gray-400 max-w-sm mb-6"
|
|
11239
11239
|
),
|
|
11240
11240
|
children: r
|
|
@@ -12106,8 +12106,8 @@ const Sc = ({
|
|
|
12106
12106
|
),
|
|
12107
12107
|
style: E,
|
|
12108
12108
|
children: [
|
|
12109
|
-
i && b && /* @__PURE__ */ a("div", { className: "absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ a("div", { className: "animate-pulse", children: /* @__PURE__ */ a(
|
|
12110
|
-
p && /* @__PURE__ */ a("div", { className: "absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ a(
|
|
12109
|
+
i && b && /* @__PURE__ */ a("div", { className: "absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ a("div", { className: "animate-pulse", children: /* @__PURE__ */ a(xt, { className: "h-8 w-8 text-gray-400" }) }) }),
|
|
12110
|
+
p && /* @__PURE__ */ a("div", { className: "absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ a(xt, { className: "h-8 w-8 text-gray-400" }) }),
|
|
12111
12111
|
!p && /* @__PURE__ */ a(
|
|
12112
12112
|
"img",
|
|
12113
12113
|
{
|
|
@@ -12944,9 +12944,9 @@ const Sc = ({
|
|
|
12944
12944
|
A(() => {
|
|
12945
12945
|
const k = i.current;
|
|
12946
12946
|
if (!k) return;
|
|
12947
|
-
const L = () => m(k.currentTime), E = () => b(k.duration), S = () => c(!0), M = () => c(!1),
|
|
12948
|
-
return k.addEventListener("timeupdate", L), k.addEventListener("loadedmetadata", E), k.addEventListener("play", S), k.addEventListener("pause", M), k.addEventListener("ended",
|
|
12949
|
-
k.removeEventListener("timeupdate", L), k.removeEventListener("loadedmetadata", E), k.removeEventListener("play", S), k.removeEventListener("pause", M), k.removeEventListener("ended",
|
|
12947
|
+
const L = () => m(k.currentTime), E = () => b(k.duration), S = () => c(!0), M = () => c(!1), $ = () => c(!1);
|
|
12948
|
+
return k.addEventListener("timeupdate", L), k.addEventListener("loadedmetadata", E), k.addEventListener("play", S), k.addEventListener("pause", M), k.addEventListener("ended", $), () => {
|
|
12949
|
+
k.removeEventListener("timeupdate", L), k.removeEventListener("loadedmetadata", E), k.removeEventListener("play", S), k.removeEventListener("pause", M), k.removeEventListener("ended", $);
|
|
12950
12950
|
};
|
|
12951
12951
|
}, []);
|
|
12952
12952
|
const x = () => {
|
|
@@ -13174,12 +13174,12 @@ const Sc = ({
|
|
|
13174
13174
|
const w = C.filter((S) => {
|
|
13175
13175
|
const M = t.some((T) => {
|
|
13176
13176
|
if (T.endsWith("/*")) {
|
|
13177
|
-
const
|
|
13178
|
-
return S.type.startsWith(
|
|
13177
|
+
const z = T.split("/")[0];
|
|
13178
|
+
return S.type.startsWith(z);
|
|
13179
13179
|
}
|
|
13180
13180
|
return S.type === T;
|
|
13181
|
-
}),
|
|
13182
|
-
return M &&
|
|
13181
|
+
}), $ = S.size <= e;
|
|
13182
|
+
return M && $;
|
|
13183
13183
|
}), k = r - i.length, L = w.slice(0, k), E = L.map((S) => ({
|
|
13184
13184
|
id: `${Date.now()}-${Math.random()}`,
|
|
13185
13185
|
file: S,
|
|
@@ -13405,7 +13405,7 @@ const Sc = ({
|
|
|
13405
13405
|
),
|
|
13406
13406
|
/* @__PURE__ */ a("p", { className: "text-xs text-gray-600 dark:text-gray-400 max-w-[200px] text-center break-all", children: t })
|
|
13407
13407
|
] });
|
|
13408
|
-
},
|
|
13408
|
+
}, Xt = ({
|
|
13409
13409
|
isOpen: t,
|
|
13410
13410
|
onClose: e,
|
|
13411
13411
|
title: r,
|
|
@@ -13479,7 +13479,7 @@ const Sc = ({
|
|
|
13479
13479
|
onClick: e,
|
|
13480
13480
|
className: j.overlays.modal.closeButton(),
|
|
13481
13481
|
"aria-label": b,
|
|
13482
|
-
children: /* @__PURE__ */ a(
|
|
13482
|
+
children: /* @__PURE__ */ a(Fe, { className: j.icon.variant.muted.md() })
|
|
13483
13483
|
}
|
|
13484
13484
|
)
|
|
13485
13485
|
] }),
|
|
@@ -13490,7 +13490,7 @@ const Sc = ({
|
|
|
13490
13490
|
}
|
|
13491
13491
|
)
|
|
13492
13492
|
] });
|
|
13493
|
-
return
|
|
13493
|
+
return et(v, document.body);
|
|
13494
13494
|
}, Cd = ({
|
|
13495
13495
|
children: t,
|
|
13496
13496
|
variant: e = "default",
|
|
@@ -13502,7 +13502,7 @@ const Sc = ({
|
|
|
13502
13502
|
className: u(j.overlays.modal.header(), r),
|
|
13503
13503
|
children: t
|
|
13504
13504
|
}
|
|
13505
|
-
),
|
|
13505
|
+
), Zt = ({
|
|
13506
13506
|
children: t,
|
|
13507
13507
|
variant: e = "default",
|
|
13508
13508
|
className: r
|
|
@@ -13513,7 +13513,7 @@ const Sc = ({
|
|
|
13513
13513
|
className: u(j.overlays.modal.body(), r),
|
|
13514
13514
|
children: t
|
|
13515
13515
|
}
|
|
13516
|
-
),
|
|
13516
|
+
), er = ({
|
|
13517
13517
|
children: t,
|
|
13518
13518
|
variant: e = "default",
|
|
13519
13519
|
className: r
|
|
@@ -13579,7 +13579,7 @@ const Sc = ({
|
|
|
13579
13579
|
bottom: t ? "translate-y-0" : "translate-y-full"
|
|
13580
13580
|
};
|
|
13581
13581
|
return /* @__PURE__ */ h(me, { children: [
|
|
13582
|
-
/* @__PURE__ */ a(
|
|
13582
|
+
/* @__PURE__ */ a(st, { isOpen: t, onClose: e, opacity: "medium" }),
|
|
13583
13583
|
/* @__PURE__ */ h(
|
|
13584
13584
|
"div",
|
|
13585
13585
|
{
|
|
@@ -14063,7 +14063,7 @@ const Sc = ({
|
|
|
14063
14063
|
right: "animate-in slide-in-from-right duration-300"
|
|
14064
14064
|
};
|
|
14065
14065
|
return /* @__PURE__ */ h(me, { children: [
|
|
14066
|
-
/* @__PURE__ */ a(
|
|
14066
|
+
/* @__PURE__ */ a(st, { isOpen: t, onClose: e, opacity: "dark" }),
|
|
14067
14067
|
/* @__PURE__ */ h(
|
|
14068
14068
|
"div",
|
|
14069
14069
|
{
|
|
@@ -14167,7 +14167,7 @@ const Sc = ({
|
|
|
14167
14167
|
p(l), N(null), e();
|
|
14168
14168
|
}, w = y ? f.trim().length > 0 : !0;
|
|
14169
14169
|
return /* @__PURE__ */ a(
|
|
14170
|
-
|
|
14170
|
+
Xt,
|
|
14171
14171
|
{
|
|
14172
14172
|
isOpen: t,
|
|
14173
14173
|
onClose: C,
|
|
@@ -14177,18 +14177,18 @@ const Sc = ({
|
|
|
14177
14177
|
closeOnEscape: !c,
|
|
14178
14178
|
closeOnOverlayClick: !c,
|
|
14179
14179
|
children: /* @__PURE__ */ h("form", { onSubmit: v, children: [
|
|
14180
|
-
/* @__PURE__ */ h(
|
|
14181
|
-
/* @__PURE__ */ a("h3", { id: "text-input-modal-title", className:
|
|
14180
|
+
/* @__PURE__ */ h(Zt, { variant: "padded", children: [
|
|
14181
|
+
/* @__PURE__ */ a("h3", { id: "text-input-modal-title", className: U.heading.h4(), children: n }),
|
|
14182
14182
|
/* @__PURE__ */ a(
|
|
14183
14183
|
"p",
|
|
14184
14184
|
{
|
|
14185
14185
|
id: "text-input-modal-description",
|
|
14186
|
-
className: `${
|
|
14186
|
+
className: `${U.body.md()} mt-2 mb-4`,
|
|
14187
14187
|
children: o
|
|
14188
14188
|
}
|
|
14189
14189
|
),
|
|
14190
14190
|
/* @__PURE__ */ a(
|
|
14191
|
-
|
|
14191
|
+
lt,
|
|
14192
14192
|
{
|
|
14193
14193
|
type: "text",
|
|
14194
14194
|
value: f,
|
|
@@ -14205,13 +14205,13 @@ const Sc = ({
|
|
|
14205
14205
|
"p",
|
|
14206
14206
|
{
|
|
14207
14207
|
id: "text-input-error",
|
|
14208
|
-
className: `${
|
|
14208
|
+
className: `${U.body.sm()} text-red-600 dark:text-red-400 mt-2`,
|
|
14209
14209
|
role: "alert",
|
|
14210
14210
|
children: x
|
|
14211
14211
|
}
|
|
14212
14212
|
)
|
|
14213
14213
|
] }),
|
|
14214
|
-
/* @__PURE__ */ h(
|
|
14214
|
+
/* @__PURE__ */ h(er, { children: [
|
|
14215
14215
|
/* @__PURE__ */ a(
|
|
14216
14216
|
te,
|
|
14217
14217
|
{
|
|
@@ -14281,14 +14281,14 @@ const Sc = ({
|
|
|
14281
14281
|
c === "hover" && w();
|
|
14282
14282
|
}, M = () => {
|
|
14283
14283
|
c === "hover" && k();
|
|
14284
|
-
},
|
|
14284
|
+
}, $ = () => {
|
|
14285
14285
|
c === "click" && !v && (C ? (b(!1), m?.(!1)) : (b(!0), m?.(!0)));
|
|
14286
14286
|
}, T = {
|
|
14287
14287
|
top: "bottom-full left-1/2 -translate-x-1/2 -translate-y-2",
|
|
14288
14288
|
bottom: "top-full left-1/2 -translate-x-1/2 translate-y-2",
|
|
14289
14289
|
left: "right-full top-1/2 -translate-x-2 -translate-y-1/2",
|
|
14290
14290
|
right: "left-full top-1/2 translate-x-2 -translate-y-1/2"
|
|
14291
|
-
},
|
|
14291
|
+
}, z = {
|
|
14292
14292
|
top: "top-full left-1/2 -translate-x-1/2 border-l-transparent border-r-transparent border-b-transparent",
|
|
14293
14293
|
bottom: "bottom-full left-1/2 -translate-x-1/2 border-l-transparent border-r-transparent border-t-transparent",
|
|
14294
14294
|
left: "left-full top-1/2 -translate-y-1/2 border-t-transparent border-b-transparent border-r-transparent",
|
|
@@ -14340,7 +14340,7 @@ const Sc = ({
|
|
|
14340
14340
|
onMouseLeave: E,
|
|
14341
14341
|
onFocus: S,
|
|
14342
14342
|
onBlur: M,
|
|
14343
|
-
onClick:
|
|
14343
|
+
onClick: $,
|
|
14344
14344
|
children: [
|
|
14345
14345
|
e,
|
|
14346
14346
|
C && !l && /* @__PURE__ */ h(
|
|
@@ -14361,7 +14361,7 @@ const Sc = ({
|
|
|
14361
14361
|
{
|
|
14362
14362
|
className: u(
|
|
14363
14363
|
"absolute w-0 h-0 border-4 arrow",
|
|
14364
|
-
|
|
14364
|
+
z[r],
|
|
14365
14365
|
R[d][r]
|
|
14366
14366
|
)
|
|
14367
14367
|
}
|
|
@@ -14374,9 +14374,9 @@ const Sc = ({
|
|
|
14374
14374
|
);
|
|
14375
14375
|
}, nn = {
|
|
14376
14376
|
default: ge,
|
|
14377
|
-
warning:
|
|
14378
|
-
danger:
|
|
14379
|
-
success:
|
|
14377
|
+
warning: rt,
|
|
14378
|
+
danger: tt,
|
|
14379
|
+
success: je,
|
|
14380
14380
|
info: ge
|
|
14381
14381
|
}, on = {
|
|
14382
14382
|
default: () => j.icon.variant.default.lg(),
|
|
@@ -14404,7 +14404,7 @@ const Sc = ({
|
|
|
14404
14404
|
}) => {
|
|
14405
14405
|
const g = nn[d], m = on[d], y = sn[d];
|
|
14406
14406
|
return /* @__PURE__ */ h(
|
|
14407
|
-
|
|
14407
|
+
Xt,
|
|
14408
14408
|
{
|
|
14409
14409
|
isOpen: t,
|
|
14410
14410
|
onClose: e,
|
|
@@ -14413,14 +14413,14 @@ const Sc = ({
|
|
|
14413
14413
|
"aria-labelledby": "confirmation-dialog-title",
|
|
14414
14414
|
"aria-describedby": "confirmation-dialog-description",
|
|
14415
14415
|
children: [
|
|
14416
|
-
/* @__PURE__ */ h(
|
|
14416
|
+
/* @__PURE__ */ h(Zt, { variant: "padded", children: [
|
|
14417
14417
|
/* @__PURE__ */ h("div", { className: "flex items-center gap-3 mb-4", children: [
|
|
14418
14418
|
/* @__PURE__ */ a(g, { className: m() }),
|
|
14419
14419
|
/* @__PURE__ */ a(
|
|
14420
14420
|
"h3",
|
|
14421
14421
|
{
|
|
14422
14422
|
id: "confirmation-dialog-title",
|
|
14423
|
-
className:
|
|
14423
|
+
className: U.heading.h4(),
|
|
14424
14424
|
children: n
|
|
14425
14425
|
}
|
|
14426
14426
|
)
|
|
@@ -14429,12 +14429,12 @@ const Sc = ({
|
|
|
14429
14429
|
"p",
|
|
14430
14430
|
{
|
|
14431
14431
|
id: "confirmation-dialog-description",
|
|
14432
|
-
className:
|
|
14432
|
+
className: U.body.md(),
|
|
14433
14433
|
children: o
|
|
14434
14434
|
}
|
|
14435
14435
|
)
|
|
14436
14436
|
] }),
|
|
14437
|
-
/* @__PURE__ */ h(
|
|
14437
|
+
/* @__PURE__ */ h(er, { children: [
|
|
14438
14438
|
/* @__PURE__ */ a(te, { variant: "outline", onClick: e, disabled: c, children: l }),
|
|
14439
14439
|
/* @__PURE__ */ a(
|
|
14440
14440
|
te,
|
|
@@ -14840,8 +14840,8 @@ const Sc = ({
|
|
|
14840
14840
|
if (!b) return;
|
|
14841
14841
|
const T = M.touches[0].clientY - p.current;
|
|
14842
14842
|
if (T > 0 && k.scrollTop <= 0) {
|
|
14843
|
-
const
|
|
14844
|
-
T * (1 -
|
|
14843
|
+
const z = Math.min(T / i, 1), F = Math.min(
|
|
14844
|
+
T * (1 - z * 0.5),
|
|
14845
14845
|
i
|
|
14846
14846
|
);
|
|
14847
14847
|
g(F), T > 10 && M.preventDefault();
|
|
@@ -15175,7 +15175,7 @@ const Sc = ({
|
|
|
15175
15175
|
] })
|
|
15176
15176
|
] })
|
|
15177
15177
|
] });
|
|
15178
|
-
},
|
|
15178
|
+
}, tr = ({
|
|
15179
15179
|
items: t,
|
|
15180
15180
|
shareConfig: e,
|
|
15181
15181
|
className: r,
|
|
@@ -15183,7 +15183,7 @@ const Sc = ({
|
|
|
15183
15183
|
}) => /* @__PURE__ */ h("div", { className: "flex items-center justify-between", children: [
|
|
15184
15184
|
/* @__PURE__ */ a("nav", { "aria-label": "Breadcrumb", children: /* @__PURE__ */ a("ol", { className: "flex items-center text-sm space-x-2", children: t.map((o, s) => /* @__PURE__ */ h(P.Fragment, { children: [
|
|
15185
15185
|
/* @__PURE__ */ a("li", { children: o.current ? /* @__PURE__ */ a("span", { className: "text-gray-700 dark:text-gray-300", children: o.label }) : /* @__PURE__ */ a(
|
|
15186
|
-
|
|
15186
|
+
Me,
|
|
15187
15187
|
{
|
|
15188
15188
|
to: o.href || "#",
|
|
15189
15189
|
className: "text-blue-600 dark:text-blue-400 hover:text-blue-800 dark:hover:text-blue-300 transition-colors",
|
|
@@ -15193,39 +15193,39 @@ const Sc = ({
|
|
|
15193
15193
|
s < t.length - 1 && /* @__PURE__ */ a("li", { children: /* @__PURE__ */ a("span", { className: "text-gray-400 dark:text-gray-500", children: "/" }) })
|
|
15194
15194
|
] }, s)) }) }),
|
|
15195
15195
|
e && /* @__PURE__ */ a(ln, { shareConfig: e })
|
|
15196
|
-
] }), Hd =
|
|
15196
|
+
] }), Hd = tr, rr = {
|
|
15197
15197
|
standard: "max-w-7xl mx-auto px-4",
|
|
15198
15198
|
wide: "max-w-[1920px] mx-auto px-4",
|
|
15199
15199
|
full: "w-full px-4"
|
|
15200
|
-
},
|
|
15200
|
+
}, ar = {
|
|
15201
15201
|
standard: "max-w-7xl mx-auto",
|
|
15202
15202
|
wide: "max-w-[1920px] mx-auto",
|
|
15203
15203
|
full: "w-full"
|
|
15204
|
-
},
|
|
15204
|
+
}, nr = "px-4", or = Be(void 0), cn = ({
|
|
15205
15205
|
mode: t = "standard",
|
|
15206
15206
|
children: e
|
|
15207
15207
|
}) => {
|
|
15208
15208
|
const r = {
|
|
15209
15209
|
mode: t,
|
|
15210
|
-
containerClass:
|
|
15211
|
-
maxWidthClass:
|
|
15212
|
-
paddingClass:
|
|
15210
|
+
containerClass: rr[t],
|
|
15211
|
+
maxWidthClass: ar[t],
|
|
15212
|
+
paddingClass: nr
|
|
15213
15213
|
};
|
|
15214
|
-
return /* @__PURE__ */ a(
|
|
15214
|
+
return /* @__PURE__ */ a(or.Provider, { value: r, children: e });
|
|
15215
15215
|
}, se = () => {
|
|
15216
|
-
const t =
|
|
15216
|
+
const t = Re(or);
|
|
15217
15217
|
return t || {
|
|
15218
15218
|
mode: "standard",
|
|
15219
|
-
containerClass:
|
|
15220
|
-
maxWidthClass:
|
|
15221
|
-
paddingClass:
|
|
15219
|
+
containerClass: rr.standard,
|
|
15220
|
+
maxWidthClass: ar.standard,
|
|
15221
|
+
paddingClass: nr
|
|
15222
15222
|
};
|
|
15223
15223
|
}, qd = ({
|
|
15224
15224
|
items: t,
|
|
15225
15225
|
shareConfig: e
|
|
15226
15226
|
}) => {
|
|
15227
15227
|
const { containerClass: r } = se();
|
|
15228
|
-
return /* @__PURE__ */ a("div", { className: "bg-white dark:bg-gray-800 border-b border-gray-200 dark:border-gray-700 relative z-50", children: /* @__PURE__ */ a("div", { className: `${r} py-3 relative`, children: /* @__PURE__ */ a(
|
|
15228
|
+
return /* @__PURE__ */ a("div", { className: "bg-white dark:bg-gray-800 border-b border-gray-200 dark:border-gray-700 relative z-50", children: /* @__PURE__ */ a("div", { className: `${r} py-3 relative`, children: /* @__PURE__ */ a(tr, { items: t, shareConfig: e }) }) });
|
|
15229
15229
|
}, dn = (t) => {
|
|
15230
15230
|
const [e, r] = I(""), [n, o] = I(!0), [s, l] = I(null);
|
|
15231
15231
|
return A(() => {
|
|
@@ -15253,7 +15253,7 @@ const Sc = ({
|
|
|
15253
15253
|
showCopy: s = !0,
|
|
15254
15254
|
showHeader: l = !0
|
|
15255
15255
|
}) => {
|
|
15256
|
-
const { t: i } =
|
|
15256
|
+
const { t: i } = Oe("codeBlock"), { code: d, loading: c, error: g } = dn(t || ""), [m, y] = I(!1), b = e || d, p = r || (t ? ((N) => {
|
|
15257
15257
|
switch (N.split(".").pop()?.toLowerCase()) {
|
|
15258
15258
|
case "sol":
|
|
15259
15259
|
return "solidity";
|
|
@@ -15411,7 +15411,7 @@ const Sc = ({
|
|
|
15411
15411
|
className: "p-2 rounded-md hover:bg-gray-100 dark:hover:bg-gray-800 hover:scale-110 transition-all duration-200",
|
|
15412
15412
|
"aria-label": c ? "Collapse section" : "Expand section",
|
|
15413
15413
|
children: /* @__PURE__ */ a(
|
|
15414
|
-
|
|
15414
|
+
at,
|
|
15415
15415
|
{
|
|
15416
15416
|
className: `h-5 w-5 text-gray-500 transition-transform duration-300 ease-in-out ${c ? "rotate-90" : "rotate-0"}`
|
|
15417
15417
|
}
|
|
@@ -15463,7 +15463,7 @@ const Sc = ({
|
|
|
15463
15463
|
}
|
|
15464
15464
|
)
|
|
15465
15465
|
}
|
|
15466
|
-
), g = () => n === "arrow" || n === "both" ? /* @__PURE__ */ a(
|
|
15466
|
+
), g = () => n === "arrow" || n === "both" ? /* @__PURE__ */ a(jt, { className: "h-4 w-4 ml-2" }) : null, m = () => o === "prominent" ? "border-b-2 border-green-200 dark:border-green-700" : "border-b border-green-200 dark:border-green-700", y = () => {
|
|
15467
15467
|
const x = "bg-gradient-to-r from-green-600 to-blue-600 hover:from-green-700 hover:to-blue-700 text-white rounded-lg font-bold transition-all duration-300 transform hover:scale-105 shadow-lg hover:shadow-green-500/25 inline-flex items-center whitespace-nowrap cursor-pointer";
|
|
15468
15468
|
return o === "prominent" ? `${x} px-8 py-3 text-base` : `${x} px-6 py-2 text-sm`;
|
|
15469
15469
|
}, b = () => o === "prominent" ? "text-green-800 dark:text-green-200 font-semibold text-lg" : "text-green-800 dark:text-green-200 font-semibold", f = o === "prominent" ? l : s, { containerClass: p } = se();
|
|
@@ -15572,7 +15572,7 @@ const Sc = ({
|
|
|
15572
15572
|
return /* @__PURE__ */ a(d, { ...c, to: r, onClick: m, ...g, children: t });
|
|
15573
15573
|
const y = r ? typeof r == "string" ? r : r.pathname || "#" : n;
|
|
15574
15574
|
return /* @__PURE__ */ a("a", { ...g, href: y, onClick: m, children: t });
|
|
15575
|
-
},
|
|
15575
|
+
}, Lt = {
|
|
15576
15576
|
en: { name: "English", flag: "🇺🇸" },
|
|
15577
15577
|
ar: { name: "العربية", flag: "🇸🇦" },
|
|
15578
15578
|
de: { name: "Deutsch", flag: "🇩🇪" },
|
|
@@ -15592,10 +15592,10 @@ const Sc = ({
|
|
|
15592
15592
|
variant: t = "compact",
|
|
15593
15593
|
className: e = ""
|
|
15594
15594
|
}) => {
|
|
15595
|
-
const { i18n: r, t: n } =
|
|
15595
|
+
const { i18n: r, t: n } = Oe("languageSelector"), [o, s] = P.useState(r.language), l = P.useMemo(() => r.options.supportedLngs ? r.options.supportedLngs.filter((c) => c !== "cimode").map((c) => ({
|
|
15596
15596
|
code: c,
|
|
15597
|
-
name:
|
|
15598
|
-
flag:
|
|
15597
|
+
name: Lt[c]?.name || c.toUpperCase(),
|
|
15598
|
+
flag: Lt[c]?.flag || "🌐"
|
|
15599
15599
|
})).sort(
|
|
15600
15600
|
(c, g) => c.name.localeCompare(g.name)
|
|
15601
15601
|
) : [], [r.options.supportedLngs]), i = l.find(
|
|
@@ -15612,14 +15612,14 @@ const Sc = ({
|
|
|
15612
15612
|
}).catch(() => {
|
|
15613
15613
|
});
|
|
15614
15614
|
};
|
|
15615
|
-
return t === "compact" ? /* @__PURE__ */ a("div", { className: `relative ${e}`, children: /* @__PURE__ */ h(
|
|
15616
|
-
/* @__PURE__ */ a(
|
|
15615
|
+
return t === "compact" ? /* @__PURE__ */ a("div", { className: `relative ${e}`, children: /* @__PURE__ */ h(kt, { value: o, onValueChange: d, children: [
|
|
15616
|
+
/* @__PURE__ */ a(Ye, { className: "h-10 w-auto px-3 border-0 bg-transparent hover:bg-gray-100 dark:hover:bg-gray-700 focus:ring-0 focus:ring-offset-0", children: /* @__PURE__ */ h("div", { className: "flex items-center space-x-2", children: [
|
|
15617
15617
|
/* @__PURE__ */ a("span", { className: "text-lg leading-none", children: i?.flag }),
|
|
15618
15618
|
/* @__PURE__ */ a("span", { className: "hidden sm:block text-sm font-medium text-gray-700 dark:text-gray-300", children: i?.name })
|
|
15619
15619
|
] }) }),
|
|
15620
|
-
/* @__PURE__ */ a(
|
|
15620
|
+
/* @__PURE__ */ a(Qe, { children: l.map(
|
|
15621
15621
|
(c) => /* @__PURE__ */ a(
|
|
15622
|
-
|
|
15622
|
+
Je,
|
|
15623
15623
|
{
|
|
15624
15624
|
value: c.code,
|
|
15625
15625
|
className: "cursor-pointer",
|
|
@@ -15636,11 +15636,11 @@ const Sc = ({
|
|
|
15636
15636
|
/* @__PURE__ */ a(Rr, { className: "h-4 w-4 text-gray-500 dark:text-gray-400" }),
|
|
15637
15637
|
/* @__PURE__ */ a("span", { children: n("language", "Language") })
|
|
15638
15638
|
] }),
|
|
15639
|
-
/* @__PURE__ */ h(
|
|
15640
|
-
/* @__PURE__ */ a(
|
|
15641
|
-
/* @__PURE__ */ a(
|
|
15639
|
+
/* @__PURE__ */ h(kt, { value: o, onValueChange: d, children: [
|
|
15640
|
+
/* @__PURE__ */ a(Ye, { children: /* @__PURE__ */ a(Na, { placeholder: n("selectLanguage", "Select language") }) }),
|
|
15641
|
+
/* @__PURE__ */ a(Qe, { children: l.map(
|
|
15642
15642
|
(c) => /* @__PURE__ */ a(
|
|
15643
|
-
|
|
15643
|
+
Je,
|
|
15644
15644
|
{
|
|
15645
15645
|
value: c.code,
|
|
15646
15646
|
className: "cursor-pointer",
|
|
@@ -15697,7 +15697,7 @@ const Sc = ({
|
|
|
15697
15697
|
};
|
|
15698
15698
|
return /* @__PURE__ */ a("ul", { className: u(s(), n), children: t.map(d) });
|
|
15699
15699
|
};
|
|
15700
|
-
class e0 extends
|
|
15700
|
+
class e0 extends Bt {
|
|
15701
15701
|
constructor() {
|
|
15702
15702
|
super(...arguments), this.state = {
|
|
15703
15703
|
hasError: !1
|
|
@@ -15726,7 +15726,7 @@ class e0 extends Dt {
|
|
|
15726
15726
|
) : this.props.children;
|
|
15727
15727
|
}
|
|
15728
15728
|
}
|
|
15729
|
-
class
|
|
15729
|
+
class ut extends Bt {
|
|
15730
15730
|
constructor(e) {
|
|
15731
15731
|
super(e), this.retryTimer = null, this.sendErrorToMonitoring = (r, n) => {
|
|
15732
15732
|
try {
|
|
@@ -15840,10 +15840,10 @@ class dt extends Dt {
|
|
|
15840
15840
|
}
|
|
15841
15841
|
}
|
|
15842
15842
|
function t0(t, e) {
|
|
15843
|
-
const r = (n) => /* @__PURE__ */ a(
|
|
15843
|
+
const r = (n) => /* @__PURE__ */ a(ut, { ...e, children: /* @__PURE__ */ a(t, { ...n }) });
|
|
15844
15844
|
return r.displayName = `withLazyErrorBoundary(${t.displayName || t.name})`, r;
|
|
15845
15845
|
}
|
|
15846
|
-
class r0 extends
|
|
15846
|
+
class r0 extends ut {
|
|
15847
15847
|
static getDerivedStateFromError(e) {
|
|
15848
15848
|
return e.message.includes("Loading chunk") || e.message.includes("Loading CSS chunk") || e.message.includes("ChunkLoadError") || e.name === "ChunkLoadError" ? {
|
|
15849
15849
|
hasError: !0,
|
|
@@ -15865,7 +15865,7 @@ function a0() {
|
|
|
15865
15865
|
}
|
|
15866
15866
|
function n0({ children: t }) {
|
|
15867
15867
|
return /* @__PURE__ */ a(
|
|
15868
|
-
|
|
15868
|
+
ut,
|
|
15869
15869
|
{
|
|
15870
15870
|
onError: (r, n) => {
|
|
15871
15871
|
console.error("Global lazy loading error:", r, n), typeof window < "u" && window.Sentry && window.Sentry?.captureException(r, {
|
|
@@ -15891,12 +15891,12 @@ function n0({ children: t }) {
|
|
|
15891
15891
|
const o0 = ({ children: t }) => /* @__PURE__ */ a(O, { children: t }), s0 = ({
|
|
15892
15892
|
children: t
|
|
15893
15893
|
}) => /* @__PURE__ */ a(O, { children: t }), l0 = (t, e, r) => {
|
|
15894
|
-
const n =
|
|
15894
|
+
const n = Le(t, e);
|
|
15895
15895
|
return r && (n.displayName = `Memo(${r})`), process.env.NODE_ENV === "development" ? (o) => (ee(() => {
|
|
15896
15896
|
let l = 0;
|
|
15897
15897
|
return () => ++l;
|
|
15898
15898
|
}, [])(), /* @__PURE__ */ a(n, { ...o })) : n;
|
|
15899
|
-
}, i0 = (t, e) =>
|
|
15899
|
+
}, i0 = (t, e) => Le(t, (r, n) => e.every((o) => r[o] === n[o])), c0 = Le(
|
|
15900
15900
|
({ children: t, compute: e, deps: r }) => {
|
|
15901
15901
|
const n = P.useRef(r), o = P.useRef(e), s = P.useRef(void 0), l = ee(() => {
|
|
15902
15902
|
const i = r.length !== n.current.length || r.some((c, g) => c !== n.current[g]), d = e !== o.current;
|
|
@@ -15908,10 +15908,10 @@ const o0 = ({ children: t }) => /* @__PURE__ */ a(O, { children: t }), s0 = ({
|
|
|
15908
15908
|
}, [e, r]);
|
|
15909
15909
|
return /* @__PURE__ */ a(O, { children: t(l) });
|
|
15910
15910
|
}
|
|
15911
|
-
), d0 =
|
|
15911
|
+
), d0 = Le(
|
|
15912
15912
|
({ item: t, index: e, style: r, renderItem: n }) => /* @__PURE__ */ a("div", { style: r, children: n(t, e) }),
|
|
15913
15913
|
(t, e) => t.index === e.index && t.item === e.item && t.style.height === e.style.height && t.style.top === e.style.top
|
|
15914
|
-
), u0 =
|
|
15914
|
+
), u0 = Le(
|
|
15915
15915
|
({ condition: t, children: e, fallback: r = null }) => t ? /* @__PURE__ */ a(O, { children: e }) : /* @__PURE__ */ a(O, { children: r })
|
|
15916
15916
|
), g0 = ({
|
|
15917
15917
|
children: t,
|
|
@@ -16060,8 +16060,8 @@ function b0({
|
|
|
16060
16060
|
defaultLanguage: o = "en",
|
|
16061
16061
|
...s
|
|
16062
16062
|
}) {
|
|
16063
|
-
const { lang: l } =
|
|
16064
|
-
return /* @__PURE__ */ a(
|
|
16063
|
+
const { lang: l } = We(), i = l && n(l) ? l : o, d = e || i, c = t.startsWith(`/${d}`) ? t : `/${d}${t.startsWith("/") ? t : `/${t}`}`;
|
|
16064
|
+
return /* @__PURE__ */ a(Me, { to: c, ...s, children: r });
|
|
16065
16065
|
}
|
|
16066
16066
|
function p0({
|
|
16067
16067
|
isLanguageSupported: t,
|
|
@@ -16069,7 +16069,7 @@ function p0({
|
|
|
16069
16069
|
storageKey: r = "language",
|
|
16070
16070
|
fallback: n = null
|
|
16071
16071
|
}) {
|
|
16072
|
-
const { lang: o } =
|
|
16072
|
+
const { lang: o } = We(), s = ot(), { i18n: l } = Oe();
|
|
16073
16073
|
return A(() => {
|
|
16074
16074
|
if (!o || !t(o)) {
|
|
16075
16075
|
s(`/${e}`, { replace: !0 });
|
|
@@ -16082,11 +16082,11 @@ function p0({
|
|
|
16082
16082
|
}
|
|
16083
16083
|
}, [o, l, s, t, e, r]), !o || !t(o) ? /* @__PURE__ */ a(O, { children: n }) : /* @__PURE__ */ a(qr, {});
|
|
16084
16084
|
}
|
|
16085
|
-
function
|
|
16086
|
-
const r =
|
|
16085
|
+
function Et(t, e) {
|
|
16086
|
+
const r = sr(t);
|
|
16087
16087
|
return `/${e}${r.startsWith("/") ? r : `/${r}`}`;
|
|
16088
16088
|
}
|
|
16089
|
-
function
|
|
16089
|
+
function sr(t, e) {
|
|
16090
16090
|
const r = t.split("/").filter(Boolean);
|
|
16091
16091
|
if (r.length > 0) {
|
|
16092
16092
|
const n = r[0];
|
|
@@ -16100,23 +16100,23 @@ function y0(t = {}) {
|
|
|
16100
16100
|
isLanguageSupported: e = (g) => /^[a-z]{2}(-[a-z]+)?$/.test(g),
|
|
16101
16101
|
defaultLanguage: r = "en",
|
|
16102
16102
|
storageKey: n = "language"
|
|
16103
|
-
} = t, o =
|
|
16103
|
+
} = t, o = ot(), { lang: s } = We(), { i18n: l } = Oe(), i = s && e(s) ? s : l.language || r, d = B(
|
|
16104
16104
|
(g, m) => {
|
|
16105
16105
|
if (typeof g == "number") {
|
|
16106
16106
|
o(g);
|
|
16107
16107
|
return;
|
|
16108
16108
|
}
|
|
16109
|
-
const y =
|
|
16109
|
+
const y = Et(g, i);
|
|
16110
16110
|
o(y, m);
|
|
16111
16111
|
},
|
|
16112
16112
|
[o, i]
|
|
16113
16113
|
), c = B(
|
|
16114
16114
|
(g, m) => {
|
|
16115
16115
|
l.changeLanguage(g);
|
|
16116
|
-
const y =
|
|
16116
|
+
const y = sr(
|
|
16117
16117
|
m || (typeof window < "u" ? window.location.pathname : "/"),
|
|
16118
16118
|
e
|
|
16119
|
-
), b =
|
|
16119
|
+
), b = Et(y, g);
|
|
16120
16120
|
o(b, { replace: !0 });
|
|
16121
16121
|
try {
|
|
16122
16122
|
localStorage.setItem(n, g);
|
|
@@ -16138,7 +16138,7 @@ function x0({
|
|
|
16138
16138
|
loadingComponent: o,
|
|
16139
16139
|
fallback: s = null
|
|
16140
16140
|
}) {
|
|
16141
|
-
const l =
|
|
16141
|
+
const l = ot(), { lang: i } = We();
|
|
16142
16142
|
return A(() => {
|
|
16143
16143
|
if (!r && !e) {
|
|
16144
16144
|
const d = n ? n.replace(":lang", i || "en") : `/${i || "en"}`;
|
|
@@ -16222,8 +16222,8 @@ function v0({
|
|
|
16222
16222
|
}
|
|
16223
16223
|
);
|
|
16224
16224
|
}
|
|
16225
|
-
var Y = /* @__PURE__ */ ((t) => (t.LIGHT = "light", t.DARK = "dark", t.SYSTEM = "system", t))(Y || {}),
|
|
16226
|
-
const
|
|
16225
|
+
var Y = /* @__PURE__ */ ((t) => (t.LIGHT = "light", t.DARK = "dark", t.SYSTEM = "system", t))(Y || {}), lr = /* @__PURE__ */ ((t) => (t.SMALL = "small", t.MEDIUM = "medium", t.LARGE = "large", t))(lr || {});
|
|
16226
|
+
const Te = {
|
|
16227
16227
|
getItem: (t) => {
|
|
16228
16228
|
try {
|
|
16229
16229
|
return localStorage.getItem(t);
|
|
@@ -16237,11 +16237,11 @@ const Ie = {
|
|
|
16237
16237
|
} catch {
|
|
16238
16238
|
}
|
|
16239
16239
|
}
|
|
16240
|
-
},
|
|
16240
|
+
}, ir = Be(
|
|
16241
16241
|
void 0
|
|
16242
16242
|
);
|
|
16243
16243
|
function w0() {
|
|
16244
|
-
const t =
|
|
16244
|
+
const t = Re(ir);
|
|
16245
16245
|
if (t === void 0)
|
|
16246
16246
|
throw new Error("useTheme must be used within a ThemeProvider");
|
|
16247
16247
|
return t;
|
|
@@ -16251,18 +16251,18 @@ function k0({
|
|
|
16251
16251
|
themeStorageKey: e = "theme",
|
|
16252
16252
|
fontSizeStorageKey: r = "font-size",
|
|
16253
16253
|
defaultTheme: n = Y.LIGHT,
|
|
16254
|
-
defaultFontSize: o =
|
|
16254
|
+
defaultFontSize: o = lr.MEDIUM
|
|
16255
16255
|
}) {
|
|
16256
|
-
const [s, l] = I(() =>
|
|
16256
|
+
const [s, l] = I(() => Te.getItem(e) || n), [i, d] = I(() => Te.getItem(r) || o), [c, g] = I(
|
|
16257
16257
|
() => s === Y.SYSTEM ? typeof window < "u" && window.matchMedia("(prefers-color-scheme: dark)").matches ? Y.DARK : Y.LIGHT : s
|
|
16258
16258
|
), m = B(
|
|
16259
16259
|
(f) => {
|
|
16260
|
-
l(f),
|
|
16260
|
+
l(f), Te.setItem(e, f);
|
|
16261
16261
|
},
|
|
16262
16262
|
[e]
|
|
16263
16263
|
), y = B(
|
|
16264
16264
|
(f) => {
|
|
16265
|
-
d(f),
|
|
16265
|
+
d(f), Te.setItem(r, f);
|
|
16266
16266
|
},
|
|
16267
16267
|
[r]
|
|
16268
16268
|
);
|
|
@@ -16293,7 +16293,7 @@ function k0({
|
|
|
16293
16293
|
}),
|
|
16294
16294
|
[s, i, m, y, c]
|
|
16295
16295
|
);
|
|
16296
|
-
return /* @__PURE__ */ a(
|
|
16296
|
+
return /* @__PURE__ */ a(ir.Provider, { value: b, children: t });
|
|
16297
16297
|
}
|
|
16298
16298
|
const N0 = ({
|
|
16299
16299
|
icon: t,
|
|
@@ -16426,7 +16426,7 @@ const N0 = ({
|
|
|
16426
16426
|
children: /* @__PURE__ */ a(v, {})
|
|
16427
16427
|
}
|
|
16428
16428
|
) : /* @__PURE__ */ a("div", { className: C, children: /* @__PURE__ */ a(v, {}) });
|
|
16429
|
-
}, bn =
|
|
16429
|
+
}, bn = G("grid gap-8", {
|
|
16430
16430
|
variants: {
|
|
16431
16431
|
columns: {
|
|
16432
16432
|
1: "grid-cols-1",
|
|
@@ -16444,7 +16444,7 @@ const N0 = ({
|
|
|
16444
16444
|
columns: 3,
|
|
16445
16445
|
spacing: "md"
|
|
16446
16446
|
}
|
|
16447
|
-
}), pn =
|
|
16447
|
+
}), pn = G("group transition-all duration-300", {
|
|
16448
16448
|
variants: {
|
|
16449
16449
|
variant: {
|
|
16450
16450
|
default: "text-center",
|
|
@@ -16463,7 +16463,7 @@ const N0 = ({
|
|
|
16463
16463
|
variant: "default",
|
|
16464
16464
|
animation: "hover"
|
|
16465
16465
|
}
|
|
16466
|
-
}), yn =
|
|
16466
|
+
}), yn = G(
|
|
16467
16467
|
"flex items-center justify-center rounded-2xl mb-6 transition-all duration-300",
|
|
16468
16468
|
{
|
|
16469
16469
|
variants: {
|
|
@@ -16635,13 +16635,13 @@ const N0 = ({
|
|
|
16635
16635
|
return /* @__PURE__ */ a("div", { children: w }, v.id || C);
|
|
16636
16636
|
};
|
|
16637
16637
|
return /* @__PURE__ */ a("div", { className: u(bn({ columns: r, spacing: n }), t), children: e.map(N) });
|
|
16638
|
-
},
|
|
16638
|
+
}, Mt = (t, e, r, n) => ({
|
|
16639
16639
|
icon: t,
|
|
16640
16640
|
title: e,
|
|
16641
16641
|
description: r,
|
|
16642
16642
|
...n
|
|
16643
16643
|
}), S0 = (t) => [
|
|
16644
|
-
|
|
16644
|
+
Mt(
|
|
16645
16645
|
/* @__PURE__ */ a(
|
|
16646
16646
|
"svg",
|
|
16647
16647
|
{
|
|
@@ -16663,7 +16663,7 @@ const N0 = ({
|
|
|
16663
16663
|
t?.passwordlessTitle || "Passwordless Security",
|
|
16664
16664
|
t?.passwordlessDescription || "Authenticate using your Web3 wallet - no passwords to remember or lose."
|
|
16665
16665
|
),
|
|
16666
|
-
|
|
16666
|
+
Mt(
|
|
16667
16667
|
/* @__PURE__ */ a(
|
|
16668
16668
|
"svg",
|
|
16669
16669
|
{
|
|
@@ -16725,7 +16725,7 @@ const N0 = ({
|
|
|
16725
16725
|
children: x.label
|
|
16726
16726
|
}
|
|
16727
16727
|
);
|
|
16728
|
-
return x.external ? /* @__PURE__ */ a("a", { href: x.href, target: "_blank", rel: "noopener noreferrer", children: C }) : /* @__PURE__ */ a(
|
|
16728
|
+
return x.external ? /* @__PURE__ */ a("a", { href: x.href, target: "_blank", rel: "noopener noreferrer", children: C }) : /* @__PURE__ */ a(Me, { to: x.href, children: C });
|
|
16729
16729
|
};
|
|
16730
16730
|
return /* @__PURE__ */ h(
|
|
16731
16731
|
"section",
|
|
@@ -16966,14 +16966,14 @@ const $0 = ({
|
|
|
16966
16966
|
className: r
|
|
16967
16967
|
}) => /* @__PURE__ */ h("div", { className: r, children: [
|
|
16968
16968
|
/* @__PURE__ */ a("div", { className: "mb-4", children: t }),
|
|
16969
|
-
e && /* @__PURE__ */ a("p", { className:
|
|
16969
|
+
e && /* @__PURE__ */ a("p", { className: U.body.sm(), children: e })
|
|
16970
16970
|
] }), D0 = ({
|
|
16971
16971
|
title: t,
|
|
16972
16972
|
children: e,
|
|
16973
16973
|
className: r
|
|
16974
16974
|
}) => /* @__PURE__ */ h("div", { className: r, children: [
|
|
16975
|
-
/* @__PURE__ */ a("h3", { className: u(
|
|
16976
|
-
/* @__PURE__ */ a("ul", { className: u("space-y-2",
|
|
16975
|
+
/* @__PURE__ */ a("h3", { className: u(U.heading.h5(), "mb-4 text-white"), children: t }),
|
|
16976
|
+
/* @__PURE__ */ a("ul", { className: u("space-y-2", U.body.sm()), children: e })
|
|
16977
16977
|
] }), B0 = ({
|
|
16978
16978
|
children: t,
|
|
16979
16979
|
className: e
|
|
@@ -17194,41 +17194,44 @@ const $0 = ({
|
|
|
17194
17194
|
showMasterBackground: p = !0,
|
|
17195
17195
|
enableAnimations: x = !0,
|
|
17196
17196
|
animationDuration: N = 300,
|
|
17197
|
-
|
|
17197
|
+
contentKey: v,
|
|
17198
|
+
animationRef: C
|
|
17198
17199
|
}) => {
|
|
17199
|
-
const { containerClass:
|
|
17200
|
+
const { containerClass: w } = se(), k = `gap-${Math.round(f / 4)}` || "gap-8", L = (K) => K ? K.split("-")[0].trim() : "Back", E = r ? L(r) : t ? L(t) : "Back", [S, M] = I(!1), [$, T] = I("auto"), z = D(null), F = D(
|
|
17200
17201
|
null
|
|
17201
17202
|
);
|
|
17202
|
-
A(() => (
|
|
17203
|
-
triggerTransition: (
|
|
17203
|
+
A(() => (C && (C.current = {
|
|
17204
|
+
triggerTransition: (K) => {
|
|
17204
17205
|
if (!x) {
|
|
17205
|
-
|
|
17206
|
+
K();
|
|
17206
17207
|
return;
|
|
17207
17208
|
}
|
|
17208
|
-
if (
|
|
17209
|
-
const
|
|
17210
|
-
|
|
17209
|
+
if (z.current) {
|
|
17210
|
+
const fe = z.current.scrollHeight;
|
|
17211
|
+
T(fe);
|
|
17211
17212
|
}
|
|
17212
|
-
|
|
17213
|
-
|
|
17214
|
-
if (
|
|
17215
|
-
const
|
|
17216
|
-
|
|
17217
|
-
|
|
17213
|
+
M(!0), F.current && clearTimeout(F.current), F.current = setTimeout(() => {
|
|
17214
|
+
K(), setTimeout(() => {
|
|
17215
|
+
if (z.current) {
|
|
17216
|
+
const fe = z.current.scrollHeight;
|
|
17217
|
+
T(fe), setTimeout(() => {
|
|
17218
|
+
T("auto"), M(!1);
|
|
17218
17219
|
}, N);
|
|
17219
17220
|
}
|
|
17220
17221
|
}, 50);
|
|
17221
17222
|
}, N / 2);
|
|
17222
17223
|
}
|
|
17223
17224
|
}), () => {
|
|
17224
|
-
|
|
17225
|
-
}), [x, N,
|
|
17226
|
-
|
|
17227
|
-
|
|
17225
|
+
F.current && clearTimeout(F.current);
|
|
17226
|
+
}), [x, N, C]), A(() => {
|
|
17227
|
+
z.current && (z.current.scrollTop = 0);
|
|
17228
|
+
}, [v, s]);
|
|
17229
|
+
const R = x ? {
|
|
17230
|
+
height: $ === "auto" ? "auto" : `${$}px`,
|
|
17228
17231
|
transition: `height ${N}ms cubic-bezier(0.4, 0, 0.2, 1)`,
|
|
17229
17232
|
width: "100%",
|
|
17230
17233
|
maxWidth: "100%"
|
|
17231
|
-
} : { width: "100%", maxWidth: "100%" },
|
|
17234
|
+
} : { width: "100%", maxWidth: "100%" }, W = x ? `${S ? "opacity-0 transform translate-y-2" : "opacity-100 transform translate-y-0"}` : "", V = x ? {
|
|
17232
17235
|
transition: `opacity ${N}ms ease-in-out, transform ${N}ms ease-in-out`
|
|
17233
17236
|
} : {};
|
|
17234
17237
|
return /* @__PURE__ */ h(O, { children: [
|
|
@@ -17241,7 +17244,7 @@ const $0 = ({
|
|
|
17241
17244
|
{
|
|
17242
17245
|
className: p ? "bg-white dark:bg-gray-800 p-6" : "p-6",
|
|
17243
17246
|
children: [
|
|
17244
|
-
t && /* @__PURE__ */ h("div", { className:
|
|
17247
|
+
t && /* @__PURE__ */ h("div", { className: w, children: [
|
|
17245
17248
|
/* @__PURE__ */ a("h2", { className: "text-xl font-semibold text-gray-900 dark:text-white mb-4", children: t }),
|
|
17246
17249
|
e && /* @__PURE__ */ a("p", { className: "text-sm text-gray-600 dark:text-gray-400 mb-6 break-all", children: e })
|
|
17247
17250
|
] }),
|
|
@@ -17251,7 +17254,7 @@ const $0 = ({
|
|
|
17251
17254
|
)
|
|
17252
17255
|
}
|
|
17253
17256
|
),
|
|
17254
|
-
/* @__PURE__ */ h("div", { className: `${
|
|
17257
|
+
/* @__PURE__ */ h("div", { className: `${w} py-8`, children: [
|
|
17255
17258
|
/* @__PURE__ */ h(
|
|
17256
17259
|
"div",
|
|
17257
17260
|
{
|
|
@@ -17264,17 +17267,17 @@ const $0 = ({
|
|
|
17264
17267
|
className: "mb-4 px-4 py-2 border border-gray-300 dark:border-gray-600 rounded-md text-sm font-medium text-gray-700 dark:text-gray-300 bg-white dark:bg-gray-800 hover:bg-gray-50 dark:hover:bg-gray-700 transition-colors",
|
|
17265
17268
|
children: [
|
|
17266
17269
|
"← ",
|
|
17267
|
-
|
|
17270
|
+
E
|
|
17268
17271
|
]
|
|
17269
17272
|
}
|
|
17270
17273
|
),
|
|
17271
17274
|
/* @__PURE__ */ a(
|
|
17272
17275
|
"div",
|
|
17273
17276
|
{
|
|
17274
|
-
ref:
|
|
17277
|
+
ref: z,
|
|
17275
17278
|
className: `bg-white dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 p-8 overflow-hidden ${c}`,
|
|
17276
|
-
style:
|
|
17277
|
-
children: /* @__PURE__ */ h("div", { className:
|
|
17279
|
+
style: R,
|
|
17280
|
+
children: /* @__PURE__ */ h("div", { className: W, style: V, children: [
|
|
17278
17281
|
s && /* @__PURE__ */ a(
|
|
17279
17282
|
"h1",
|
|
17280
17283
|
{
|
|
@@ -17292,7 +17295,7 @@ const $0 = ({
|
|
|
17292
17295
|
/* @__PURE__ */ h(
|
|
17293
17296
|
"div",
|
|
17294
17297
|
{
|
|
17295
|
-
className: `hidden md:flex min-h-full ${
|
|
17298
|
+
className: `hidden md:flex min-h-full ${k}`,
|
|
17296
17299
|
style: { width: "100%" },
|
|
17297
17300
|
children: [
|
|
17298
17301
|
/* @__PURE__ */ a(
|
|
@@ -17328,10 +17331,13 @@ const $0 = ({
|
|
|
17328
17331
|
children: /* @__PURE__ */ a(
|
|
17329
17332
|
"div",
|
|
17330
17333
|
{
|
|
17331
|
-
ref:
|
|
17332
|
-
className: `bg-white dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 p-8 overflow-
|
|
17333
|
-
style:
|
|
17334
|
-
|
|
17334
|
+
ref: z,
|
|
17335
|
+
className: `bg-white dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 p-8 overflow-y-auto ${y ? "max-h-[calc(100vh-200px)] sticky" : ""} ${c}`,
|
|
17336
|
+
style: {
|
|
17337
|
+
...R,
|
|
17338
|
+
...y ? { top: `${b}px` } : {}
|
|
17339
|
+
},
|
|
17340
|
+
children: /* @__PURE__ */ h("div", { className: W, style: V, children: [
|
|
17335
17341
|
s && /* @__PURE__ */ a(
|
|
17336
17342
|
"h1",
|
|
17337
17343
|
{
|
|
@@ -17401,7 +17407,7 @@ const $0 = ({
|
|
|
17401
17407
|
style: { aspectRatio: t },
|
|
17402
17408
|
children: e
|
|
17403
17409
|
}
|
|
17404
|
-
) }),
|
|
17410
|
+
) }), cr = Be(null), Cn = ({
|
|
17405
17411
|
children: t,
|
|
17406
17412
|
variant: e = "default",
|
|
17407
17413
|
sticky: r = !0
|
|
@@ -17410,7 +17416,7 @@ const $0 = ({
|
|
|
17410
17416
|
o((l) => !l);
|
|
17411
17417
|
}, []);
|
|
17412
17418
|
return /* @__PURE__ */ a(
|
|
17413
|
-
|
|
17419
|
+
cr.Provider,
|
|
17414
17420
|
{
|
|
17415
17421
|
value: {
|
|
17416
17422
|
variant: e,
|
|
@@ -17422,12 +17428,12 @@ const $0 = ({
|
|
|
17422
17428
|
children: t
|
|
17423
17429
|
}
|
|
17424
17430
|
);
|
|
17425
|
-
},
|
|
17426
|
-
const t =
|
|
17431
|
+
}, dr = () => {
|
|
17432
|
+
const t = Re(cr);
|
|
17427
17433
|
if (!t)
|
|
17428
17434
|
throw new Error("useTopbar must be used within a TopbarProvider");
|
|
17429
17435
|
return t;
|
|
17430
|
-
},
|
|
17436
|
+
}, It = {
|
|
17431
17437
|
sm: "min-h-12",
|
|
17432
17438
|
md: "min-h-14",
|
|
17433
17439
|
lg: "min-h-16"
|
|
@@ -17459,7 +17465,7 @@ const $0 = ({
|
|
|
17459
17465
|
className: u(
|
|
17460
17466
|
// Base styles
|
|
17461
17467
|
"w-full",
|
|
17462
|
-
|
|
17468
|
+
It[o],
|
|
17463
17469
|
Sn[e],
|
|
17464
17470
|
Ln[l],
|
|
17465
17471
|
// Sticky positioning
|
|
@@ -17484,7 +17490,7 @@ const $0 = ({
|
|
|
17484
17490
|
{
|
|
17485
17491
|
className: u(
|
|
17486
17492
|
d,
|
|
17487
|
-
|
|
17493
|
+
It[o],
|
|
17488
17494
|
"flex flex-wrap items-center justify-between"
|
|
17489
17495
|
),
|
|
17490
17496
|
children: t
|
|
@@ -17593,8 +17599,8 @@ const $0 = ({
|
|
|
17593
17599
|
menuItems: s,
|
|
17594
17600
|
LinkComponent: l
|
|
17595
17601
|
}) => {
|
|
17596
|
-
const { mobileMenuOpen: i, toggleMobileMenu: d, setMobileMenuOpen: c } =
|
|
17597
|
-
|
|
17602
|
+
const { mobileMenuOpen: i, toggleMobileMenu: d, setMobileMenuOpen: c } = dr(), [g, m] = I(!1), y = D(null);
|
|
17603
|
+
it(y, () => {
|
|
17598
17604
|
m(!1);
|
|
17599
17605
|
});
|
|
17600
17606
|
const b = s ? g : i, f = () => {
|
|
@@ -17711,7 +17717,7 @@ const $0 = ({
|
|
|
17711
17717
|
align: o = "center"
|
|
17712
17718
|
}) => {
|
|
17713
17719
|
const [s, l] = I(null), i = D(null);
|
|
17714
|
-
|
|
17720
|
+
it(
|
|
17715
17721
|
i,
|
|
17716
17722
|
() => l(null)
|
|
17717
17723
|
);
|
|
@@ -17772,7 +17778,7 @@ const $0 = ({
|
|
|
17772
17778
|
"z-50"
|
|
17773
17779
|
),
|
|
17774
17780
|
children: c.children?.map((f) => /* @__PURE__ */ a(
|
|
17775
|
-
|
|
17781
|
+
Ze,
|
|
17776
17782
|
{
|
|
17777
17783
|
item: f,
|
|
17778
17784
|
LinkComponent: n,
|
|
@@ -17789,7 +17795,7 @@ const $0 = ({
|
|
|
17789
17795
|
}
|
|
17790
17796
|
)
|
|
17791
17797
|
] }, c.id) : /* @__PURE__ */ a(
|
|
17792
|
-
|
|
17798
|
+
Ze,
|
|
17793
17799
|
{
|
|
17794
17800
|
item: c,
|
|
17795
17801
|
LinkComponent: n,
|
|
@@ -17811,7 +17817,7 @@ const $0 = ({
|
|
|
17811
17817
|
children: t.map((c) => d(c))
|
|
17812
17818
|
}
|
|
17813
17819
|
);
|
|
17814
|
-
},
|
|
17820
|
+
}, Ze = ({
|
|
17815
17821
|
item: t,
|
|
17816
17822
|
LinkComponent: e,
|
|
17817
17823
|
className: r,
|
|
@@ -17854,7 +17860,7 @@ const $0 = ({
|
|
|
17854
17860
|
className: r,
|
|
17855
17861
|
LinkComponent: n
|
|
17856
17862
|
}) => {
|
|
17857
|
-
const { mobileMenuOpen: o, setMobileMenuOpen: s } =
|
|
17863
|
+
const { mobileMenuOpen: o, setMobileMenuOpen: s } = dr();
|
|
17858
17864
|
return e ?? o ? /* @__PURE__ */ a(
|
|
17859
17865
|
"div",
|
|
17860
17866
|
{
|
|
@@ -17867,7 +17873,7 @@ const $0 = ({
|
|
|
17867
17873
|
r
|
|
17868
17874
|
),
|
|
17869
17875
|
children: /* @__PURE__ */ a("nav", { className: "px-4 py-2 space-y-1", "aria-label": "Mobile navigation", children: t.map((i) => /* @__PURE__ */ a(
|
|
17870
|
-
|
|
17876
|
+
Ze,
|
|
17871
17877
|
{
|
|
17872
17878
|
item: i,
|
|
17873
17879
|
LinkComponent: n,
|
|
@@ -18587,7 +18593,7 @@ function yu(t, e) {
|
|
|
18587
18593
|
else
|
|
18588
18594
|
return e;
|
|
18589
18595
|
}
|
|
18590
|
-
const
|
|
18596
|
+
const ur = (t) => ({
|
|
18591
18597
|
"default-src": ["'self'"],
|
|
18592
18598
|
"script-src": [
|
|
18593
18599
|
"'self'",
|
|
@@ -18653,8 +18659,8 @@ const dr = (t) => ({
|
|
|
18653
18659
|
"object-src": ["'none'"],
|
|
18654
18660
|
"base-uri": ["'self'"],
|
|
18655
18661
|
"form-action": ["'self'"]
|
|
18656
|
-
}), xu =
|
|
18657
|
-
const e =
|
|
18662
|
+
}), xu = ur(), Yn = (t) => {
|
|
18663
|
+
const e = ur(t);
|
|
18658
18664
|
return Object.entries(e).map(([r, n]) => `${r} ${n.join(" ")}`).join("; ");
|
|
18659
18665
|
}, Qn = (t) => ({
|
|
18660
18666
|
"X-Frame-Options": "DENY",
|
|
@@ -18685,15 +18691,15 @@ const dr = (t) => ({
|
|
|
18685
18691
|
userInput: "Sanitize all user inputs, especially wallet addresses and transaction data",
|
|
18686
18692
|
privateKeys: "Never log, store, or transmit private keys - they should remain in wallets only",
|
|
18687
18693
|
phishing: "Implement strict CSP to prevent injection of malicious scripts that could steal wallet access"
|
|
18688
|
-
}, Z = /* @__PURE__ */ new Map(),
|
|
18689
|
-
let
|
|
18694
|
+
}, Z = /* @__PURE__ */ new Map(), be = /* @__PURE__ */ new Map(), Ue = /* @__PURE__ */ new Set();
|
|
18695
|
+
let Ce = "medium", gt = !1;
|
|
18690
18696
|
function Jn() {
|
|
18691
18697
|
if ("connection" in navigator) {
|
|
18692
18698
|
const r = navigator.connection;
|
|
18693
|
-
r && (
|
|
18699
|
+
r && (Ce = r.effectiveType === "4g" ? "fast" : r.effectiveType === "3g" ? "medium" : "slow");
|
|
18694
18700
|
}
|
|
18695
18701
|
const t = navigator.deviceMemory, e = navigator.hardwareConcurrency;
|
|
18696
|
-
|
|
18702
|
+
gt = t && t < 4 || e && e < 4;
|
|
18697
18703
|
}
|
|
18698
18704
|
Jn();
|
|
18699
18705
|
function Cu(t, e, r = {}) {
|
|
@@ -18711,10 +18717,10 @@ function Cu(t, e, r = {}) {
|
|
|
18711
18717
|
return Z.get(e).component;
|
|
18712
18718
|
const m = oe(async () => {
|
|
18713
18719
|
const b = performance.now();
|
|
18714
|
-
if (
|
|
18715
|
-
return
|
|
18720
|
+
if (be.has(e))
|
|
18721
|
+
return be.get(e).then((p) => ({ default: p }));
|
|
18716
18722
|
const f = Xn(t, n, o);
|
|
18717
|
-
|
|
18723
|
+
be.set(
|
|
18718
18724
|
e,
|
|
18719
18725
|
f.then((p) => p.default)
|
|
18720
18726
|
);
|
|
@@ -18738,16 +18744,16 @@ function Cu(t, e, r = {}) {
|
|
|
18738
18744
|
} catch {
|
|
18739
18745
|
}
|
|
18740
18746
|
}
|
|
18741
|
-
return
|
|
18747
|
+
return be.delete(e), c?.(p.default), p;
|
|
18742
18748
|
} catch (p) {
|
|
18743
|
-
throw
|
|
18749
|
+
throw be.delete(e), g?.(p), p;
|
|
18744
18750
|
}
|
|
18745
18751
|
}), y = (b) => {
|
|
18746
18752
|
const [f, p] = I(!0);
|
|
18747
18753
|
A(() => {
|
|
18748
|
-
if (l && !Z.has(e) && l() &&
|
|
18749
|
-
|
|
18750
|
-
const v = Zn(d,
|
|
18754
|
+
if (l && !Z.has(e) && l() && !Ue.has(e)) {
|
|
18755
|
+
Ue.add(e);
|
|
18756
|
+
const v = Zn(d, Ce);
|
|
18751
18757
|
setTimeout(() => {
|
|
18752
18758
|
t().catch(() => {
|
|
18753
18759
|
});
|
|
@@ -18762,7 +18768,7 @@ function Cu(t, e, r = {}) {
|
|
|
18762
18768
|
"..."
|
|
18763
18769
|
] })
|
|
18764
18770
|
] });
|
|
18765
|
-
return !f &&
|
|
18771
|
+
return !f && gt && Ce === "slow" ? /* @__PURE__ */ a("div", { className: "lazy-placeholder", children: /* @__PURE__ */ h(
|
|
18766
18772
|
"button",
|
|
18767
18773
|
{
|
|
18768
18774
|
onClick: () => p(!0),
|
|
@@ -18772,7 +18778,7 @@ function Cu(t, e, r = {}) {
|
|
|
18772
18778
|
e
|
|
18773
18779
|
]
|
|
18774
18780
|
}
|
|
18775
|
-
) }) : /* @__PURE__ */ a(
|
|
18781
|
+
) }) : /* @__PURE__ */ a(Ee, { fallback: x, children: /* @__PURE__ */ a(m, { ...b }) });
|
|
18776
18782
|
};
|
|
18777
18783
|
return y.displayName = `AdvancedLazy(${e})`, y;
|
|
18778
18784
|
}
|
|
@@ -18805,7 +18811,7 @@ function Zn(t, e) {
|
|
|
18805
18811
|
}, o = r[t] || 2e3, s = n[e] || 1;
|
|
18806
18812
|
return o * s;
|
|
18807
18813
|
}
|
|
18808
|
-
const
|
|
18814
|
+
const we = class we {
|
|
18809
18815
|
static registerRoute(e, r) {
|
|
18810
18816
|
this.routeMap.set(e, r), this.routeUsageStats.set(e, 0);
|
|
18811
18817
|
}
|
|
@@ -18818,7 +18824,7 @@ const ve = class ve {
|
|
|
18818
18824
|
this.getRouteTransitionProbability(e).forEach(({ route: n, probability: o }) => {
|
|
18819
18825
|
o > 0.3 && !Z.has(n) && setTimeout(() => {
|
|
18820
18826
|
this.routeMap.get(n);
|
|
18821
|
-
},
|
|
18827
|
+
}, Ce === "fast" ? 1e3 : 3e3);
|
|
18822
18828
|
});
|
|
18823
18829
|
}
|
|
18824
18830
|
static getRouteTransitionProbability(e) {
|
|
@@ -18857,8 +18863,8 @@ const ve = class ve {
|
|
|
18857
18863
|
};
|
|
18858
18864
|
}
|
|
18859
18865
|
};
|
|
18860
|
-
|
|
18861
|
-
let
|
|
18866
|
+
we.routeMap = /* @__PURE__ */ new Map(), we.routeUsageStats = /* @__PURE__ */ new Map(), we.currentRoute = "";
|
|
18867
|
+
let Tt = we;
|
|
18862
18868
|
const Su = ({ src: t, alt: e, className: r, placeholder: n, priority: o = "medium" }) => {
|
|
18863
18869
|
const [s, l] = I(!1), [i, d] = I(!1), c = P.useRef(null);
|
|
18864
18870
|
A(() => {
|
|
@@ -18898,14 +18904,14 @@ const Su = ({ src: t, alt: e, className: r, placeholder: n, priority: o = "mediu
|
|
|
18898
18904
|
] });
|
|
18899
18905
|
};
|
|
18900
18906
|
function Lu() {
|
|
18901
|
-
Z.clear(),
|
|
18907
|
+
Z.clear(), Ue.clear();
|
|
18902
18908
|
}
|
|
18903
18909
|
function Eu() {
|
|
18904
18910
|
return {
|
|
18905
18911
|
cachedComponents: Z.size,
|
|
18906
|
-
preloadQueue:
|
|
18907
|
-
networkSpeed:
|
|
18908
|
-
isLowEndDevice:
|
|
18912
|
+
preloadQueue: Ue.size,
|
|
18913
|
+
networkSpeed: Ce,
|
|
18914
|
+
isLowEndDevice: gt,
|
|
18909
18915
|
cacheEntries: Array.from(Z.entries()).map(([t, e]) => ({
|
|
18910
18916
|
name: t,
|
|
18911
18917
|
loadTime: e.loadTime,
|
|
@@ -18944,7 +18950,7 @@ const eo = ({ message: t }) => /* @__PURE__ */ h("div", { className: "flex items
|
|
|
18944
18950
|
}
|
|
18945
18951
|
throw s;
|
|
18946
18952
|
}), o = to(e);
|
|
18947
|
-
return (s) => /* @__PURE__ */ a(
|
|
18953
|
+
return (s) => /* @__PURE__ */ a(Ee, { fallback: /* @__PURE__ */ a(o, {}), children: /* @__PURE__ */ a(n, { ...s }) });
|
|
18948
18954
|
}, Mu = async (t) => {
|
|
18949
18955
|
try {
|
|
18950
18956
|
await t();
|
|
@@ -18962,7 +18968,7 @@ const eo = ({ message: t }) => /* @__PURE__ */ h("div", { className: "flex items
|
|
|
18962
18968
|
secondary: ["/settings", "/compose", "/points"],
|
|
18963
18969
|
// Optional routes (load on demand)
|
|
18964
18970
|
optional: ["/document", "/about", "/terms", "/privacy"]
|
|
18965
|
-
},
|
|
18971
|
+
}, ke = class ke {
|
|
18966
18972
|
static add(e, r) {
|
|
18967
18973
|
this.preloadedComponents.has(e) || (this.preloadQueue.push({ name: e, loader: r }), this.processQueue());
|
|
18968
18974
|
}
|
|
@@ -18992,17 +18998,17 @@ const eo = ({ message: t }) => /* @__PURE__ */ h("div", { className: "flex items
|
|
|
18992
18998
|
this.preloadedComponents.clear(), this.preloadQueue = [], this.isPreloading = !1;
|
|
18993
18999
|
}
|
|
18994
19000
|
};
|
|
18995
|
-
|
|
18996
|
-
let
|
|
19001
|
+
ke.preloadedComponents = /* @__PURE__ */ new Set(), ke.preloadQueue = [], ke.isPreloading = !1;
|
|
19002
|
+
let At = ke;
|
|
18997
19003
|
const Au = () => {
|
|
18998
19004
|
"requestIdleCallback" in window && window.requestIdleCallback(() => {
|
|
18999
19005
|
ao.secondary.forEach((t) => {
|
|
19000
19006
|
});
|
|
19001
19007
|
});
|
|
19002
|
-
},
|
|
19008
|
+
}, zt = ({ message: t }) => /* @__PURE__ */ h("div", { className: "flex items-center justify-center p-4", children: [
|
|
19003
19009
|
/* @__PURE__ */ a("div", { className: "animate-spin rounded-full h-6 w-6 border-b-2 border-blue-500" }),
|
|
19004
19010
|
/* @__PURE__ */ a("span", { className: "ml-2 text-sm text-gray-600", children: t })
|
|
19005
|
-
] }),
|
|
19011
|
+
] }), Se = /* @__PURE__ */ new Map();
|
|
19006
19012
|
function zu(t, e) {
|
|
19007
19013
|
const {
|
|
19008
19014
|
condition: r,
|
|
@@ -19015,7 +19021,7 @@ function zu(t, e) {
|
|
|
19015
19021
|
const [g, m] = P.useState(!1), [y, b] = P.useState(null);
|
|
19016
19022
|
return P.useEffect(() => {
|
|
19017
19023
|
const x = setTimeout(async () => {
|
|
19018
|
-
const N =
|
|
19024
|
+
const N = Se.get(i);
|
|
19019
19025
|
if (N && N.isValid && Date.now() - N.lastCheck < 3e5)
|
|
19020
19026
|
try {
|
|
19021
19027
|
if (await N.condition()) {
|
|
@@ -19027,7 +19033,7 @@ function zu(t, e) {
|
|
|
19027
19033
|
try {
|
|
19028
19034
|
if (await r()) {
|
|
19029
19035
|
const C = await no(t, o, s);
|
|
19030
|
-
|
|
19036
|
+
Se.set(i, {
|
|
19031
19037
|
component: C.default,
|
|
19032
19038
|
condition: r,
|
|
19033
19039
|
lastCheck: Date.now(),
|
|
@@ -19039,12 +19045,12 @@ function zu(t, e) {
|
|
|
19039
19045
|
}, l === "high" ? 0 : l === "medium" ? 100 : 500);
|
|
19040
19046
|
return () => clearTimeout(x);
|
|
19041
19047
|
}, []), g ? y ? /* @__PURE__ */ a(
|
|
19042
|
-
|
|
19048
|
+
Ee,
|
|
19043
19049
|
{
|
|
19044
|
-
fallback: n || /* @__PURE__ */ a(
|
|
19050
|
+
fallback: n || /* @__PURE__ */ a(zt, { message: "Loading component..." }),
|
|
19045
19051
|
children: /* @__PURE__ */ a(y, { ...c })
|
|
19046
19052
|
}
|
|
19047
|
-
) : null : n || /* @__PURE__ */ a(
|
|
19053
|
+
) : null : n || /* @__PURE__ */ a(zt, { message: "Checking conditions..." });
|
|
19048
19054
|
};
|
|
19049
19055
|
return d.displayName = `ConditionalLazy(${i})`, d;
|
|
19050
19056
|
}
|
|
@@ -19082,12 +19088,12 @@ async function no(t, e, r) {
|
|
|
19082
19088
|
throw n;
|
|
19083
19089
|
}
|
|
19084
19090
|
function Pu() {
|
|
19085
|
-
|
|
19091
|
+
Se.clear();
|
|
19086
19092
|
}
|
|
19087
19093
|
function Du() {
|
|
19088
19094
|
return {
|
|
19089
|
-
cachedComponents:
|
|
19090
|
-
cacheEntries: Array.from(
|
|
19095
|
+
cachedComponents: Se.size,
|
|
19096
|
+
cacheEntries: Array.from(Se.entries()).map(([t, e]) => ({
|
|
19091
19097
|
key: t,
|
|
19092
19098
|
lastCheck: e.lastCheck,
|
|
19093
19099
|
isValid: e.isValid,
|
|
@@ -19095,7 +19101,7 @@ function Du() {
|
|
|
19095
19101
|
}))
|
|
19096
19102
|
};
|
|
19097
19103
|
}
|
|
19098
|
-
const
|
|
19104
|
+
const $t = [
|
|
19099
19105
|
// Critical: Always preload immediately
|
|
19100
19106
|
{
|
|
19101
19107
|
name: "react-router",
|
|
@@ -19259,7 +19265,7 @@ class oo {
|
|
|
19259
19265
|
}) : this.preloadChunk(e);
|
|
19260
19266
|
}
|
|
19261
19267
|
initializePreloading() {
|
|
19262
|
-
|
|
19268
|
+
$t.sort((r, n) => {
|
|
19263
19269
|
const o = { critical: 0, high: 1, medium: 2, low: 3 };
|
|
19264
19270
|
return o[r.config.priority] - o[n.config.priority];
|
|
19265
19271
|
}).forEach((r) => {
|
|
@@ -19288,7 +19294,7 @@ class oo {
|
|
|
19288
19294
|
}
|
|
19289
19295
|
startIntelligentPreloading() {
|
|
19290
19296
|
setTimeout(() => {
|
|
19291
|
-
this.userActivityScore > 50 && this.networkSpeedEstimate !== "slow" &&
|
|
19297
|
+
this.userActivityScore > 50 && this.networkSpeedEstimate !== "slow" && $t.filter(
|
|
19292
19298
|
(r) => r.config.priority === "medium" && this.shouldPreload(r)
|
|
19293
19299
|
).forEach((r) => {
|
|
19294
19300
|
Math.random() > 0.5 && this.schedulePreload(r);
|
|
@@ -19304,14 +19310,14 @@ class oo {
|
|
|
19304
19310
|
};
|
|
19305
19311
|
}
|
|
19306
19312
|
}
|
|
19307
|
-
let
|
|
19313
|
+
let pe = null;
|
|
19308
19314
|
function Bu() {
|
|
19309
|
-
|
|
19310
|
-
|
|
19311
|
-
}) :
|
|
19315
|
+
pe || (pe = new oo(), document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", () => {
|
|
19316
|
+
pe?.initializePreloading();
|
|
19317
|
+
}) : pe.initializePreloading());
|
|
19312
19318
|
}
|
|
19313
19319
|
function Ru() {
|
|
19314
|
-
return
|
|
19320
|
+
return pe?.getPreloadingStats();
|
|
19315
19321
|
}
|
|
19316
19322
|
function ju(t) {
|
|
19317
19323
|
const e = {
|
|
@@ -19569,18 +19575,18 @@ const Vu = {
|
|
|
19569
19575
|
}) => /* @__PURE__ */ h("div", { className: `flex items-center justify-center p-4 ${e || ""}`, children: [
|
|
19570
19576
|
/* @__PURE__ */ a("div", { className: "animate-spin rounded-full h-6 w-6 border-b-2 border-blue-500" }),
|
|
19571
19577
|
/* @__PURE__ */ a("span", { className: "ml-2 text-sm text-gray-600", children: t })
|
|
19572
|
-
] }),
|
|
19573
|
-
function
|
|
19578
|
+
] }), He = /* @__PURE__ */ new Map(), ye = /* @__PURE__ */ new Set();
|
|
19579
|
+
function gr() {
|
|
19574
19580
|
const t = [];
|
|
19575
|
-
return !!window.ethereum?.isMetaMask && (
|
|
19581
|
+
return !!window.ethereum?.isMetaMask && (ye.add("metamask"), t.push({
|
|
19576
19582
|
name: "MetaMask",
|
|
19577
19583
|
detected: !0,
|
|
19578
19584
|
priority: 1
|
|
19579
|
-
})), !!window.ethereum?.isCoinbaseWallet && (
|
|
19585
|
+
})), !!window.ethereum?.isCoinbaseWallet && (ye.add("coinbase"), t.push({
|
|
19580
19586
|
name: "Coinbase Wallet",
|
|
19581
19587
|
detected: !0,
|
|
19582
19588
|
priority: 2
|
|
19583
|
-
})), !!window.solana?.isPhantom && (
|
|
19589
|
+
})), !!window.solana?.isPhantom && (ye.add("phantom"), t.push({
|
|
19584
19590
|
name: "Phantom",
|
|
19585
19591
|
detected: !0,
|
|
19586
19592
|
priority: 3
|
|
@@ -19590,14 +19596,14 @@ function ur() {
|
|
|
19590
19596
|
priority: 4
|
|
19591
19597
|
}), t.sort((o, s) => o.priority - s.priority);
|
|
19592
19598
|
}
|
|
19593
|
-
function
|
|
19599
|
+
function mr(t) {
|
|
19594
19600
|
const e = `wallet-${t.toLowerCase()}`;
|
|
19595
|
-
if (
|
|
19596
|
-
return
|
|
19601
|
+
if (He.has(e))
|
|
19602
|
+
return He.get(e);
|
|
19597
19603
|
const n = oe(() => Promise.resolve({
|
|
19598
19604
|
default: () => P.createElement("div", {}, `${t} Provider Placeholder`)
|
|
19599
19605
|
})), o = (s) => /* @__PURE__ */ a(
|
|
19600
|
-
|
|
19606
|
+
Ee,
|
|
19601
19607
|
{
|
|
19602
19608
|
fallback: /* @__PURE__ */ a(
|
|
19603
19609
|
uo,
|
|
@@ -19609,28 +19615,28 @@ function gr(t) {
|
|
|
19609
19615
|
children: /* @__PURE__ */ a(n, { ...s })
|
|
19610
19616
|
}
|
|
19611
19617
|
);
|
|
19612
|
-
return o.displayName = `Lazy${t}Provider`,
|
|
19618
|
+
return o.displayName = `Lazy${t}Provider`, He.set(e, o), o;
|
|
19613
19619
|
}
|
|
19614
19620
|
function _u({
|
|
19615
19621
|
children: t
|
|
19616
19622
|
}) {
|
|
19617
|
-
const e =
|
|
19623
|
+
const e = gr();
|
|
19618
19624
|
return e.filter((r) => r.priority <= 2 && r.detected).forEach((r) => {
|
|
19619
19625
|
setTimeout(() => {
|
|
19620
19626
|
}, 1e3);
|
|
19621
19627
|
}), /* @__PURE__ */ h(O, { children: [
|
|
19622
19628
|
e.map((r) => {
|
|
19623
|
-
const n =
|
|
19629
|
+
const n = mr(r.name);
|
|
19624
19630
|
return /* @__PURE__ */ a(n, {}, r.name);
|
|
19625
19631
|
}),
|
|
19626
19632
|
t
|
|
19627
19633
|
] });
|
|
19628
19634
|
}
|
|
19629
|
-
const
|
|
19635
|
+
const ft = class ft {
|
|
19630
19636
|
static preloadWallet(e) {
|
|
19631
19637
|
const r = e.toLowerCase();
|
|
19632
19638
|
this.preloadedWallets.has(r) || (this.preloadedWallets.add(r), setTimeout(() => {
|
|
19633
|
-
|
|
19639
|
+
mr(e);
|
|
19634
19640
|
}, 500));
|
|
19635
19641
|
}
|
|
19636
19642
|
static preloadCommonWallets() {
|
|
@@ -19644,16 +19650,16 @@ const ht = class ht {
|
|
|
19644
19650
|
return Array.from(this.preloadedWallets);
|
|
19645
19651
|
}
|
|
19646
19652
|
};
|
|
19647
|
-
|
|
19648
|
-
let
|
|
19653
|
+
ft.preloadedWallets = /* @__PURE__ */ new Set();
|
|
19654
|
+
let Pe = ft;
|
|
19649
19655
|
function Hu() {
|
|
19650
19656
|
return {
|
|
19651
|
-
availableWallets:
|
|
19657
|
+
availableWallets: gr(),
|
|
19652
19658
|
preloadWallet: (n) => {
|
|
19653
|
-
|
|
19659
|
+
Pe.preloadWallet(n);
|
|
19654
19660
|
},
|
|
19655
|
-
getDetectedWallets: () => Array.from(
|
|
19656
|
-
hasWallet: (n) =>
|
|
19661
|
+
getDetectedWallets: () => Array.from(ye),
|
|
19662
|
+
hasWallet: (n) => ye.has(n.toLowerCase())
|
|
19657
19663
|
};
|
|
19658
19664
|
}
|
|
19659
19665
|
function qu({
|
|
@@ -19665,7 +19671,7 @@ function qu({
|
|
|
19665
19671
|
"button",
|
|
19666
19672
|
{
|
|
19667
19673
|
onClick: () => {
|
|
19668
|
-
|
|
19674
|
+
Pe.preloadWallet(t), setTimeout(e, 100);
|
|
19669
19675
|
},
|
|
19670
19676
|
disabled: r,
|
|
19671
19677
|
className: "wallet-connect-btn",
|
|
@@ -19892,7 +19898,7 @@ class Ku {
|
|
|
19892
19898
|
return this.observedMetrics.fcp > 2e3 ? e -= 20 : this.observedMetrics.fcp > 1500 && (e -= 10), this.observedMetrics.lcp > 2500 ? e -= 25 : this.observedMetrics.lcp > 2e3 && (e -= 15), this.observedMetrics.cls > 0.1 ? e -= 15 : this.observedMetrics.cls > 0.05 && (e -= 8), this.observedMetrics.ttfb > 600 ? e -= 10 : this.observedMetrics.ttfb > 400 && (e -= 5), Math.max(e, 0);
|
|
19893
19899
|
}
|
|
19894
19900
|
}
|
|
19895
|
-
const
|
|
19901
|
+
const qe = {
|
|
19896
19902
|
// Mark performance milestones
|
|
19897
19903
|
mark: (t) => {
|
|
19898
19904
|
typeof performance < "u" && performance.mark && performance.mark(t);
|
|
@@ -19916,8 +19922,8 @@ const He = {
|
|
|
19916
19922
|
typeof performance < "u" && (t ? (performance.clearMeasures?.(t), performance.clearMarks?.(t)) : (performance.clearMeasures?.(), performance.clearMarks?.()));
|
|
19917
19923
|
}
|
|
19918
19924
|
}, Gu = (t, e = []) => {
|
|
19919
|
-
A(() => (
|
|
19920
|
-
|
|
19925
|
+
A(() => (qe.mark(`${t}-start`), () => {
|
|
19926
|
+
qe.mark(`${t}-end`), qe.measure(t, `${t}-start`, `${t}-end`);
|
|
19921
19927
|
}), [t, e]);
|
|
19922
19928
|
}, Yu = (t) => {
|
|
19923
19929
|
const e = D(t);
|
|
@@ -19930,12 +19936,12 @@ const He = {
|
|
|
19930
19936
|
return ee(() => (r && process.env.NODE_ENV === "development" && e.some(
|
|
19931
19937
|
(s, l) => s !== n.current[l]
|
|
19932
19938
|
), n.current = e, o.current = t(), o.current), [t, r, e]);
|
|
19933
|
-
},
|
|
19934
|
-
const e =
|
|
19935
|
-
|
|
19939
|
+
}, De = /* @__PURE__ */ new Map(), Ju = (t) => {
|
|
19940
|
+
const e = De.get(t) || 0;
|
|
19941
|
+
De.set(t, e + 1), A(() => {
|
|
19936
19942
|
process.env.NODE_ENV;
|
|
19937
19943
|
});
|
|
19938
|
-
}, Xu = () => Object.fromEntries(
|
|
19944
|
+
}, Xu = () => Object.fromEntries(De), Zu = () => De.clear(), eg = (t) => P.lazy(t), tg = (t = 0.1) => {
|
|
19939
19945
|
const [e, r] = I(/* @__PURE__ */ new Set()), n = D(null);
|
|
19940
19946
|
A(() => (n.current = new IntersectionObserver(
|
|
19941
19947
|
(s) => {
|
|
@@ -19962,9 +19968,9 @@ const He = {
|
|
|
19962
19968
|
t().catch(() => {
|
|
19963
19969
|
});
|
|
19964
19970
|
}, 100);
|
|
19965
|
-
},
|
|
19966
|
-
|
|
19967
|
-
}, ng = () =>
|
|
19971
|
+
}, hr = {}, ag = (t) => {
|
|
19972
|
+
hr[t.name] = t.value, process.env.NODE_ENV;
|
|
19973
|
+
}, ng = () => hr, og = (t, e = "script") => {
|
|
19968
19974
|
if (typeof document < "u") {
|
|
19969
19975
|
const r = document.createElement("link");
|
|
19970
19976
|
r.rel = "prefetch", r.href = t, r.as = e, document.head.appendChild(r);
|
|
@@ -20136,15 +20142,15 @@ class go {
|
|
|
20136
20142
|
this.observers.forEach((e) => e.disconnect()), this.observers = [];
|
|
20137
20143
|
}
|
|
20138
20144
|
}
|
|
20139
|
-
let
|
|
20140
|
-
const ig = (t) => (
|
|
20145
|
+
let Ae = null;
|
|
20146
|
+
const ig = (t) => (Ae || (Ae = new go(t)), Ae), mt = () => Ae, mo = (t) => {
|
|
20141
20147
|
const e = P.useRef(performance.now());
|
|
20142
20148
|
P.useEffect(() => {
|
|
20143
|
-
const r = performance.now() - e.current, n =
|
|
20149
|
+
const r = performance.now() - e.current, n = mt();
|
|
20144
20150
|
n && n.measureComponentRender(t, r);
|
|
20145
20151
|
}, [t]);
|
|
20146
20152
|
}, cg = (t, e) => P.forwardRef((r, n) => (mo(e), P.createElement(t, { ...r, ref: n }))), dg = async (t, e) => {
|
|
20147
|
-
const r = performance.now(), n = await t(), o = performance.now() - r, s =
|
|
20153
|
+
const r = performance.now(), n = await t(), o = performance.now() - r, s = mt();
|
|
20148
20154
|
return s && s.measureAPICall(e, o), n;
|
|
20149
20155
|
}, ho = {
|
|
20150
20156
|
LCP: 2500,
|
|
@@ -20174,7 +20180,7 @@ const ig = (t) => (Te || (Te = new go(t)), Te), gt = () => Te, mo = (t) => {
|
|
|
20174
20180
|
violations: r
|
|
20175
20181
|
};
|
|
20176
20182
|
}, gg = (t) => {
|
|
20177
|
-
const e = t ||
|
|
20183
|
+
const e = t || mt()?.getMetrics() || { timestamp: Date.now() }, r = {
|
|
20178
20184
|
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
20179
20185
|
metrics: e,
|
|
20180
20186
|
environment: {
|
|
@@ -20200,7 +20206,7 @@ function he(t, e) {
|
|
|
20200
20206
|
const [r, n] = fo[t];
|
|
20201
20207
|
return e <= r ? "good" : e <= n ? "needs-improvement" : "poor";
|
|
20202
20208
|
}
|
|
20203
|
-
function
|
|
20209
|
+
function Ie(t, e) {
|
|
20204
20210
|
try {
|
|
20205
20211
|
if (PerformanceObserver.supportedEntryTypes?.includes(t)) {
|
|
20206
20212
|
const r = new PerformanceObserver((n) => {
|
|
@@ -20213,7 +20219,7 @@ function Me(t, e) {
|
|
|
20213
20219
|
}
|
|
20214
20220
|
function bo(t) {
|
|
20215
20221
|
let e = 0;
|
|
20216
|
-
|
|
20222
|
+
Ie("layout-shift", (r) => {
|
|
20217
20223
|
for (const n of r) {
|
|
20218
20224
|
const o = n;
|
|
20219
20225
|
o.hadRecentInput || (e += o.value);
|
|
@@ -20227,7 +20233,7 @@ function bo(t) {
|
|
|
20227
20233
|
});
|
|
20228
20234
|
}
|
|
20229
20235
|
function po(t) {
|
|
20230
|
-
|
|
20236
|
+
Ie("paint", (e) => {
|
|
20231
20237
|
for (const r of e)
|
|
20232
20238
|
r.name === "first-contentful-paint" && t({
|
|
20233
20239
|
name: "FCP",
|
|
@@ -20238,7 +20244,7 @@ function po(t) {
|
|
|
20238
20244
|
}
|
|
20239
20245
|
function yo(t) {
|
|
20240
20246
|
let e = 0;
|
|
20241
|
-
|
|
20247
|
+
Ie("largest-contentful-paint", (n) => {
|
|
20242
20248
|
const o = n[n.length - 1];
|
|
20243
20249
|
o && (e = o.startTime);
|
|
20244
20250
|
});
|
|
@@ -20256,7 +20262,7 @@ function yo(t) {
|
|
|
20256
20262
|
});
|
|
20257
20263
|
}
|
|
20258
20264
|
function xo(t) {
|
|
20259
|
-
|
|
20265
|
+
Ie("first-input", (e) => {
|
|
20260
20266
|
const r = e[0];
|
|
20261
20267
|
if (r) {
|
|
20262
20268
|
const n = r.processingStart - r.startTime;
|
|
@@ -20283,7 +20289,7 @@ function vo(t) {
|
|
|
20283
20289
|
}
|
|
20284
20290
|
function wo(t) {
|
|
20285
20291
|
const e = [];
|
|
20286
|
-
|
|
20292
|
+
Ie("event", (r) => {
|
|
20287
20293
|
for (const n of r) {
|
|
20288
20294
|
const o = n;
|
|
20289
20295
|
if (o.interactionId) {
|
|
@@ -20769,7 +20775,7 @@ const No = ({ direction: t, className: e }) => /* @__PURE__ */ a(
|
|
|
20769
20775
|
t.failedCalls > 0 && /* @__PURE__ */ a(H, { label: "Failed", value: t.failedCalls, rating: "poor" })
|
|
20770
20776
|
] })
|
|
20771
20777
|
] });
|
|
20772
|
-
},
|
|
20778
|
+
}, Ut = (t) => t === void 0 ? "N/A" : (t / (1024 * 1024)).toFixed(1), Pt = (t, e) => {
|
|
20773
20779
|
if (t === void 0 || e === void 0) return "unknown";
|
|
20774
20780
|
const r = t / e;
|
|
20775
20781
|
return r <= 0.5 ? "good" : r <= 0.75 ? "needs-improvement" : "poor";
|
|
@@ -20804,9 +20810,9 @@ const No = ({ direction: t, className: e }) => /* @__PURE__ */ a(
|
|
|
20804
20810
|
H,
|
|
20805
20811
|
{
|
|
20806
20812
|
label: "Used Heap",
|
|
20807
|
-
value:
|
|
20813
|
+
value: Ut(r.usedJSHeapSize),
|
|
20808
20814
|
unit: "MB",
|
|
20809
|
-
rating:
|
|
20815
|
+
rating: Pt(
|
|
20810
20816
|
r.usedJSHeapSize,
|
|
20811
20817
|
r.jsHeapSizeLimit
|
|
20812
20818
|
)
|
|
@@ -20816,7 +20822,7 @@ const No = ({ direction: t, className: e }) => /* @__PURE__ */ a(
|
|
|
20816
20822
|
H,
|
|
20817
20823
|
{
|
|
20818
20824
|
label: "Total Heap",
|
|
20819
|
-
value:
|
|
20825
|
+
value: Ut(r.totalJSHeapSize),
|
|
20820
20826
|
unit: "MB",
|
|
20821
20827
|
rating: "neutral"
|
|
20822
20828
|
}
|
|
@@ -20827,7 +20833,7 @@ const No = ({ direction: t, className: e }) => /* @__PURE__ */ a(
|
|
|
20827
20833
|
label: "Usage",
|
|
20828
20834
|
value: l,
|
|
20829
20835
|
unit: "%",
|
|
20830
|
-
rating:
|
|
20836
|
+
rating: Pt(
|
|
20831
20837
|
r.usedJSHeapSize,
|
|
20832
20838
|
r.jsHeapSizeLimit
|
|
20833
20839
|
)
|
|
@@ -20972,7 +20978,7 @@ const No = ({ direction: t, className: e }) => /* @__PURE__ */ a(
|
|
|
20972
20978
|
resetPosition: f,
|
|
20973
20979
|
ref: l
|
|
20974
20980
|
};
|
|
20975
|
-
},
|
|
20981
|
+
}, Dt = {
|
|
20976
20982
|
"bottom-right": "bottom-4 right-4",
|
|
20977
20983
|
"bottom-left": "bottom-4 left-4",
|
|
20978
20984
|
"top-right": "top-4 right-4",
|
|
@@ -21029,7 +21035,7 @@ const No = ({ direction: t, className: e }) => /* @__PURE__ */ a(
|
|
|
21029
21035
|
horizontalOnly: n.includes("bottom") || n.includes("top")
|
|
21030
21036
|
}), M = B(() => {
|
|
21031
21037
|
b((R) => !R);
|
|
21032
|
-
}, []),
|
|
21038
|
+
}, []), $ = B(() => {
|
|
21033
21039
|
p(!1);
|
|
21034
21040
|
}, []), T = B(() => {
|
|
21035
21041
|
p(!0);
|
|
@@ -21042,7 +21048,7 @@ const No = ({ direction: t, className: e }) => /* @__PURE__ */ a(
|
|
|
21042
21048
|
onClick: T,
|
|
21043
21049
|
className: u(
|
|
21044
21050
|
"fixed z-[9999]",
|
|
21045
|
-
|
|
21051
|
+
Dt[n],
|
|
21046
21052
|
"bg-gray-900 text-white px-3 py-2 rounded-lg",
|
|
21047
21053
|
"shadow-lg border border-gray-700",
|
|
21048
21054
|
"hover:bg-gray-800 transition-colors",
|
|
@@ -21052,7 +21058,7 @@ const No = ({ direction: t, className: e }) => /* @__PURE__ */ a(
|
|
|
21052
21058
|
children: "🚀 Performance"
|
|
21053
21059
|
}
|
|
21054
21060
|
);
|
|
21055
|
-
const
|
|
21061
|
+
const z = k.x !== null ? {
|
|
21056
21062
|
left: `${k.x}px`,
|
|
21057
21063
|
bottom: n.includes("bottom") ? "1rem" : void 0,
|
|
21058
21064
|
top: n.includes("top") ? "1rem" : void 0,
|
|
@@ -21066,19 +21072,19 @@ const No = ({ direction: t, className: e }) => /* @__PURE__ */ a(
|
|
|
21066
21072
|
{
|
|
21067
21073
|
ref: S,
|
|
21068
21074
|
className: u(
|
|
21069
|
-
k.x !== null ? "" : `fixed ${
|
|
21075
|
+
k.x !== null ? "" : `fixed ${Dt[n]}`,
|
|
21070
21076
|
"z-[9999] font-mono text-xs",
|
|
21071
21077
|
L && "cursor-grabbing",
|
|
21072
21078
|
g
|
|
21073
21079
|
),
|
|
21074
|
-
style: { maxWidth: "320px", ...
|
|
21080
|
+
style: { maxWidth: "320px", ...z },
|
|
21075
21081
|
children: [
|
|
21076
21082
|
/* @__PURE__ */ a(
|
|
21077
21083
|
So,
|
|
21078
21084
|
{
|
|
21079
21085
|
isCollapsed: y,
|
|
21080
21086
|
onToggleCollapse: M,
|
|
21081
|
-
onClose:
|
|
21087
|
+
onClose: $,
|
|
21082
21088
|
onMouseDown: o ? E : void 0,
|
|
21083
21089
|
isDragging: L
|
|
21084
21090
|
}
|
|
@@ -21262,8 +21268,8 @@ function Cg({
|
|
|
21262
21268
|
if (S.required && (M === "" || M === null || M === void 0 || Array.isArray(M) && M.length === 0))
|
|
21263
21269
|
return S.requiredMessage || "This field is required";
|
|
21264
21270
|
if (S.validate)
|
|
21265
|
-
for (const
|
|
21266
|
-
const T =
|
|
21271
|
+
for (const $ of S.validate) {
|
|
21272
|
+
const T = $(M);
|
|
21267
21273
|
if (T)
|
|
21268
21274
|
return T;
|
|
21269
21275
|
}
|
|
@@ -21273,7 +21279,7 @@ function Cg({
|
|
|
21273
21279
|
(E, S) => {
|
|
21274
21280
|
if (s((M) => ({ ...M, [E]: S })), m((M) => ({ ...M, [E]: !0 })), e && d[E]) {
|
|
21275
21281
|
const M = y(E);
|
|
21276
|
-
i((
|
|
21282
|
+
i(($) => ({ ...$, [E]: M }));
|
|
21277
21283
|
}
|
|
21278
21284
|
},
|
|
21279
21285
|
[e, d, y]
|
|
@@ -21294,10 +21300,10 @@ function Cg({
|
|
|
21294
21300
|
), x = B(() => {
|
|
21295
21301
|
const E = {}, S = {};
|
|
21296
21302
|
let M = !0;
|
|
21297
|
-
for (const
|
|
21298
|
-
S[
|
|
21299
|
-
const T = y(
|
|
21300
|
-
T && (E[
|
|
21303
|
+
for (const $ in t) {
|
|
21304
|
+
S[$] = !0;
|
|
21305
|
+
const T = y($);
|
|
21306
|
+
T && (E[$] = T, M = !1);
|
|
21301
21307
|
}
|
|
21302
21308
|
return c(S), i(E), M;
|
|
21303
21309
|
}, [t, y]), N = B(() => {
|
|
@@ -21607,7 +21613,7 @@ const Sg = (t) => {
|
|
|
21607
21613
|
t.style.position = "relative", t.style.paddingTop = `${r}%`;
|
|
21608
21614
|
const n = t.querySelector("img");
|
|
21609
21615
|
n && (n.style.position = "absolute", n.style.top = "0", n.style.left = "0", n.style.width = "100%", n.style.height = "100%", n.style.objectFit = "cover");
|
|
21610
|
-
},
|
|
21616
|
+
}, xe = {
|
|
21611
21617
|
// Mark functions as pure for better tree-shaking
|
|
21612
21618
|
createPureFunction: (t) => t,
|
|
21613
21619
|
// Environment-based code elimination
|
|
@@ -21682,7 +21688,7 @@ const Sg = (t) => {
|
|
|
21682
21688
|
}));
|
|
21683
21689
|
});
|
|
21684
21690
|
}), e;
|
|
21685
|
-
},
|
|
21691
|
+
}, ve = {
|
|
21686
21692
|
// Calculate approximate module size
|
|
21687
21693
|
getModuleSize: (t) => new Promise((e) => {
|
|
21688
21694
|
if (typeof window < "u" && "performance" in window) {
|
|
@@ -21698,13 +21704,13 @@ const Sg = (t) => {
|
|
|
21698
21704
|
// Track which modules are actually used
|
|
21699
21705
|
usageTracker: /* @__PURE__ */ new Set(),
|
|
21700
21706
|
trackUsage: (t) => {
|
|
21701
|
-
|
|
21707
|
+
xe.isDevelopment && ve.usageTracker.add(t);
|
|
21702
21708
|
},
|
|
21703
|
-
getUsageReport: () =>
|
|
21709
|
+
getUsageReport: () => xe.isDevelopment ? Array.from(ve.usageTracker).sort() : [],
|
|
21704
21710
|
// Estimate bundle impact
|
|
21705
21711
|
estimateImpact: (t) => {
|
|
21706
21712
|
const e = t.map(
|
|
21707
|
-
(r) =>
|
|
21713
|
+
(r) => ve.getModuleSize(r).then((n) => [r, n])
|
|
21708
21714
|
);
|
|
21709
21715
|
return Promise.all(e).then((r) => {
|
|
21710
21716
|
const n = {};
|
|
@@ -21749,30 +21755,30 @@ const Sg = (t) => {
|
|
|
21749
21755
|
const {
|
|
21750
21756
|
features: e = {},
|
|
21751
21757
|
criticalCSS: r = "",
|
|
21752
|
-
enableUsageTracking: n =
|
|
21758
|
+
enableUsageTracking: n = xe.isDevelopment
|
|
21753
21759
|
} = t;
|
|
21754
21760
|
return {
|
|
21755
|
-
features:
|
|
21761
|
+
features: xe.createFeatureFlags(e),
|
|
21756
21762
|
initialize: () => {
|
|
21757
21763
|
r && typeof document < "u" && Qo.inlineCriticalCSS(r);
|
|
21758
21764
|
},
|
|
21759
21765
|
cleanup: () => {
|
|
21760
|
-
|
|
21766
|
+
ve.usageTracker.clear();
|
|
21761
21767
|
},
|
|
21762
21768
|
getReport: () => ({
|
|
21763
|
-
usage:
|
|
21764
|
-
features:
|
|
21769
|
+
usage: ve.getUsageReport(),
|
|
21770
|
+
features: xe.createFeatureFlags(e)
|
|
21765
21771
|
})
|
|
21766
21772
|
};
|
|
21767
21773
|
};
|
|
21768
|
-
let
|
|
21774
|
+
let Ke;
|
|
21769
21775
|
function Jo(t) {
|
|
21770
21776
|
throw typeof window < "u" ? new Error("Web navigation service not implemented in shared library") : new Error(
|
|
21771
21777
|
"React Native navigation service not implemented in shared library"
|
|
21772
21778
|
);
|
|
21773
21779
|
}
|
|
21774
21780
|
function X(t) {
|
|
21775
|
-
return
|
|
21781
|
+
return Ke || (Ke = Jo()), Ke;
|
|
21776
21782
|
}
|
|
21777
21783
|
function om() {
|
|
21778
21784
|
const t = X(), e = t.getCurrentState();
|
|
@@ -21939,7 +21945,7 @@ function dm(t, e = {}) {
|
|
|
21939
21945
|
return () => clearTimeout(g);
|
|
21940
21946
|
}, []), d ? /* @__PURE__ */ a(O, { children: r }) : null;
|
|
21941
21947
|
};
|
|
21942
|
-
return P.forwardRef((d, c) => /* @__PURE__ */ a(
|
|
21948
|
+
return P.forwardRef((d, c) => /* @__PURE__ */ a(Ee, { fallback: /* @__PURE__ */ a(i, {}), children: /* @__PURE__ */ a(l, { ...d, ref: c }) }));
|
|
21943
21949
|
}
|
|
21944
21950
|
function Xo(t, e = {}) {
|
|
21945
21951
|
const [r, n] = P.useState(!1), [o, s] = P.useState(!1);
|
|
@@ -22036,10 +22042,10 @@ function hm(t, e, r) {
|
|
|
22036
22042
|
const n = document.createElement("link");
|
|
22037
22043
|
n.rel = e, n.href = t, r && (e === "preload" || e === "prefetch") && (n.as = r), document.head.appendChild(n);
|
|
22038
22044
|
}
|
|
22039
|
-
var
|
|
22045
|
+
var fr = /* @__PURE__ */ ((t) => (t[t.HIGH = 0] = "HIGH", t[t.MEDIUM = 1] = "MEDIUM", t[t.LOW = 2] = "LOW", t[t.IDLE = 3] = "IDLE", t))(fr || {});
|
|
22040
22046
|
class es {
|
|
22041
22047
|
constructor() {
|
|
22042
|
-
this.queues = /* @__PURE__ */ new Map(), this.isProcessing = !1, Object.values(
|
|
22048
|
+
this.queues = /* @__PURE__ */ new Map(), this.isProcessing = !1, Object.values(fr).filter((e) => typeof e == "number").forEach((e) => {
|
|
22043
22049
|
this.queues.set(e, []);
|
|
22044
22050
|
});
|
|
22045
22051
|
}
|
|
@@ -22065,7 +22071,7 @@ class es {
|
|
|
22065
22071
|
}
|
|
22066
22072
|
}
|
|
22067
22073
|
const fm = new Zo(), bm = new es();
|
|
22068
|
-
class
|
|
22074
|
+
class ht {
|
|
22069
22075
|
constructor(e = {}) {
|
|
22070
22076
|
this.prefix = e.prefix || "mailbox", this.defaultTTL = e.ttl, this.platformStorage = e.platformStorage || this.createFallbackStorage();
|
|
22071
22077
|
}
|
|
@@ -22203,7 +22209,7 @@ class mt {
|
|
|
22203
22209
|
}
|
|
22204
22210
|
}
|
|
22205
22211
|
}
|
|
22206
|
-
const pm = new
|
|
22212
|
+
const pm = new ht(), ym = new ht({ prefix: "mailbox-theme" }), xm = new ht({
|
|
22207
22213
|
prefix: "walletUser",
|
|
22208
22214
|
ttl: 10080 * 60 * 1e3
|
|
22209
22215
|
// 7 days in milliseconds
|
|
@@ -22406,11 +22412,11 @@ export {
|
|
|
22406
22412
|
il as ActionBanner,
|
|
22407
22413
|
Kl as ActionButton,
|
|
22408
22414
|
bi as AddressLink,
|
|
22409
|
-
|
|
22415
|
+
wt as Alert,
|
|
22410
22416
|
ll as AlertBanner,
|
|
22411
22417
|
sl as AlertDescription,
|
|
22412
22418
|
ol as AlertTitle,
|
|
22413
|
-
|
|
22419
|
+
dt as AnimatedSection,
|
|
22414
22420
|
Bo as ApiSection,
|
|
22415
22421
|
Oc as AreaChart,
|
|
22416
22422
|
Pm as ArrowLeftIcon,
|
|
@@ -22442,7 +22448,7 @@ export {
|
|
|
22442
22448
|
Ma as Calendar,
|
|
22443
22449
|
Ac as CalloutBox,
|
|
22444
22450
|
mu as CancellableRequest,
|
|
22445
|
-
|
|
22451
|
+
Jt as Card,
|
|
22446
22452
|
Mc as CardContent,
|
|
22447
22453
|
Ic as CardFooter,
|
|
22448
22454
|
Ec as CardHeader,
|
|
@@ -22471,7 +22477,7 @@ export {
|
|
|
22471
22477
|
zl as Combobox,
|
|
22472
22478
|
Ni as Command,
|
|
22473
22479
|
Tm as CommonAnalyticsEvents,
|
|
22474
|
-
|
|
22480
|
+
At as ComponentPreloader,
|
|
22475
22481
|
u0 as ConditionalRender,
|
|
22476
22482
|
Gi as Confetti,
|
|
22477
22483
|
zd as ConfirmationDialog,
|
|
@@ -22514,7 +22520,7 @@ export {
|
|
|
22514
22520
|
xi as FloatingElement,
|
|
22515
22521
|
Ps as FloatingPanel,
|
|
22516
22522
|
Ld as FocusTrap,
|
|
22517
|
-
|
|
22523
|
+
lr as FontSize,
|
|
22518
22524
|
$0 as Footer,
|
|
22519
22525
|
R0 as FooterBottom,
|
|
22520
22526
|
j0 as FooterBottomRow,
|
|
@@ -22530,7 +22536,7 @@ export {
|
|
|
22530
22536
|
V0 as FooterVersion,
|
|
22531
22537
|
Hl as FormAlerts,
|
|
22532
22538
|
Wl as FormField,
|
|
22533
|
-
|
|
22539
|
+
ct as FormFieldGroup,
|
|
22534
22540
|
Si as FormSection,
|
|
22535
22541
|
Zs as FormattedNumber,
|
|
22536
22542
|
cl as FullPageSpinner,
|
|
@@ -22554,20 +22560,20 @@ export {
|
|
|
22554
22560
|
zi as InfoBox,
|
|
22555
22561
|
Tc as InfoCard,
|
|
22556
22562
|
nh as InformationCircleIcon,
|
|
22557
|
-
|
|
22563
|
+
lt as Input,
|
|
22558
22564
|
Ai as ItemList,
|
|
22559
22565
|
I0 as KYCLevelCard,
|
|
22560
22566
|
E0 as KYCStatusBadge,
|
|
22561
22567
|
Gs as Kbd,
|
|
22562
22568
|
oh as KeyIcon,
|
|
22563
22569
|
Dc as KeyValuePair,
|
|
22564
|
-
|
|
22570
|
+
Yt as Label,
|
|
22565
22571
|
Xd as LanguageSelector,
|
|
22566
22572
|
p0 as LanguageValidator,
|
|
22567
|
-
|
|
22573
|
+
or as LayoutContext,
|
|
22568
22574
|
cn as LayoutProvider,
|
|
22569
22575
|
g0 as LazyComponent,
|
|
22570
|
-
|
|
22576
|
+
ut as LazyErrorBoundary,
|
|
22571
22577
|
Su as LazyImage,
|
|
22572
22578
|
Zo as LazyLoadQueue,
|
|
22573
22579
|
qu as LazyWalletButton,
|
|
@@ -22579,7 +22585,7 @@ export {
|
|
|
22579
22585
|
vc as ListItem,
|
|
22580
22586
|
wc as ListItemWithAction,
|
|
22581
22587
|
hd as LiveStream,
|
|
22582
|
-
|
|
22588
|
+
fr as LoadPriority,
|
|
22583
22589
|
rl as LoadingDots,
|
|
22584
22590
|
cu as LoadingOptimizer,
|
|
22585
22591
|
tl as LoadingOverlay,
|
|
@@ -22595,9 +22601,9 @@ export {
|
|
|
22595
22601
|
Fl as MentionInput,
|
|
22596
22602
|
H as MetricRow,
|
|
22597
22603
|
lh as MinusIcon,
|
|
22598
|
-
|
|
22599
|
-
|
|
22600
|
-
|
|
22604
|
+
Xt as Modal,
|
|
22605
|
+
Zt as ModalContent,
|
|
22606
|
+
er as ModalFooter,
|
|
22601
22607
|
Cd as ModalHeader,
|
|
22602
22608
|
Al as MultiSelect,
|
|
22603
22609
|
nc as NavigationList,
|
|
@@ -22610,7 +22616,7 @@ export {
|
|
|
22610
22616
|
uu as OptimizedAPIClient,
|
|
22611
22617
|
f0 as OptimizedImage,
|
|
22612
22618
|
du as OptimizedRoutePreloader,
|
|
22613
|
-
|
|
22619
|
+
st as Overlay,
|
|
22614
22620
|
Ts as PageContainer,
|
|
22615
22621
|
A0 as PageHeader,
|
|
22616
22622
|
Di as PageSectionHeader,
|
|
@@ -22647,8 +22653,8 @@ export {
|
|
|
22647
22653
|
Bs as Resizable,
|
|
22648
22654
|
cd as RetinaImage,
|
|
22649
22655
|
uh as RocketLaunchIcon,
|
|
22650
|
-
|
|
22651
|
-
|
|
22656
|
+
Tt as RouteBasedLazyLoader,
|
|
22657
|
+
tr as RouterBreadcrumb,
|
|
22652
22658
|
o0 as SafeAppWrapper,
|
|
22653
22659
|
bg as ScoreIndicator,
|
|
22654
22660
|
Io as ScoreLegend,
|
|
@@ -22661,16 +22667,16 @@ export {
|
|
|
22661
22667
|
Wi as SectionHeader,
|
|
22662
22668
|
Vs as SectionTitle,
|
|
22663
22669
|
s0 as SecurityProvider,
|
|
22664
|
-
|
|
22665
|
-
|
|
22670
|
+
kt as Select,
|
|
22671
|
+
Qe as SelectContent,
|
|
22666
22672
|
_l as SelectField,
|
|
22667
22673
|
Tl as SelectGroup,
|
|
22668
|
-
|
|
22674
|
+
Je as SelectItem,
|
|
22669
22675
|
Ca as SelectLabel,
|
|
22670
|
-
|
|
22671
|
-
|
|
22676
|
+
Gt as SelectScrollDownButton,
|
|
22677
|
+
Kt as SelectScrollUpButton,
|
|
22672
22678
|
Sa as SelectSeparator,
|
|
22673
|
-
|
|
22679
|
+
Ye as SelectTrigger,
|
|
22674
22680
|
Na as SelectValue,
|
|
22675
22681
|
$s as Separator,
|
|
22676
22682
|
Oi as SettingsList,
|
|
@@ -22683,14 +22689,14 @@ export {
|
|
|
22683
22689
|
Dl as Slider,
|
|
22684
22690
|
Bl as SliderInput,
|
|
22685
22691
|
Qi as SmartContent,
|
|
22686
|
-
|
|
22692
|
+
Qt as SmartLink,
|
|
22687
22693
|
_u as SmartWalletProviders,
|
|
22688
22694
|
Ms as Spacer,
|
|
22689
22695
|
mh as SparklesIcon,
|
|
22690
22696
|
Gc as Sparkline,
|
|
22691
|
-
|
|
22697
|
+
Ne as Spinner,
|
|
22692
22698
|
Ds as SplitPane,
|
|
22693
|
-
|
|
22699
|
+
Ht as Stack,
|
|
22694
22700
|
T0 as StandardPageLayout,
|
|
22695
22701
|
hh as StarIcon,
|
|
22696
22702
|
kh as StarIconSolid,
|
|
@@ -22718,13 +22724,13 @@ export {
|
|
|
22718
22724
|
Ad as TextInputModal,
|
|
22719
22725
|
Hs as TextLink,
|
|
22720
22726
|
Y as Theme,
|
|
22721
|
-
|
|
22727
|
+
ir as ThemeContext,
|
|
22722
22728
|
k0 as ThemeProvider,
|
|
22723
22729
|
va as TimePicker,
|
|
22724
22730
|
Ki as TimerDisplay,
|
|
22725
22731
|
ha as Toast,
|
|
22726
22732
|
gl as ToastContainer,
|
|
22727
|
-
|
|
22733
|
+
qt as ToastContext,
|
|
22728
22734
|
hl as ToastNotification,
|
|
22729
22735
|
ul as ToastProvider,
|
|
22730
22736
|
Pl as ToggleGroup,
|
|
@@ -22732,7 +22738,7 @@ export {
|
|
|
22732
22738
|
Q0 as Topbar,
|
|
22733
22739
|
ou as TopbarActions,
|
|
22734
22740
|
X0 as TopbarCenter,
|
|
22735
|
-
|
|
22741
|
+
cr as TopbarContext,
|
|
22736
22742
|
tu as TopbarDivider,
|
|
22737
22743
|
su as TopbarIconButton,
|
|
22738
22744
|
J0 as TopbarLeft,
|
|
@@ -22816,18 +22822,18 @@ export {
|
|
|
22816
22822
|
Cc as VirtualList,
|
|
22817
22823
|
d0 as VirtualListItem,
|
|
22818
22824
|
qi as VisuallyHidden,
|
|
22819
|
-
|
|
22825
|
+
Pe as WalletPreloader,
|
|
22820
22826
|
pd as WaveForm,
|
|
22821
22827
|
zo as WebVitalsSection,
|
|
22822
22828
|
ri as WysiwygEditor,
|
|
22823
22829
|
ph as XMarkIcon,
|
|
22824
|
-
|
|
22830
|
+
Et as addLanguageToPath,
|
|
22825
22831
|
hm as addResourceHint,
|
|
22826
22832
|
Vu as aiOptimizationPresets,
|
|
22827
22833
|
pm as appStorage,
|
|
22828
22834
|
wm as autoConnectWalletBrowser,
|
|
22829
22835
|
Dg as batchDOMUpdates,
|
|
22830
|
-
|
|
22836
|
+
ve as bundleAnalysis,
|
|
22831
22837
|
Ea as buttonVariants,
|
|
22832
22838
|
wu as cacheHeaders,
|
|
22833
22839
|
hu as cacheUtils,
|
|
@@ -22844,11 +22850,11 @@ export {
|
|
|
22844
22850
|
Ag as createCSSVariables,
|
|
22845
22851
|
rm as createConditionalImports,
|
|
22846
22852
|
zu as createConditionalLazyComponent,
|
|
22847
|
-
|
|
22853
|
+
Mt as createFeature,
|
|
22848
22854
|
ro as createLazyComponent,
|
|
22849
22855
|
eg as createLazyComponentFactory,
|
|
22850
22856
|
gm as createLazyRoute,
|
|
22851
|
-
|
|
22857
|
+
mr as createLazyWalletProvider,
|
|
22852
22858
|
Tu as createLibraryImports,
|
|
22853
22859
|
l0 as createMemoComponent,
|
|
22854
22860
|
Mg as createOptimizedStyles,
|
|
@@ -22861,10 +22867,10 @@ export {
|
|
|
22861
22867
|
Iu as createUIComponents,
|
|
22862
22868
|
xu as cspDirectives,
|
|
22863
22869
|
Qo as cssOptimization,
|
|
22864
|
-
|
|
22870
|
+
xe as deadCodeElimination,
|
|
22865
22871
|
zm as default,
|
|
22866
22872
|
ho as defaultPerformanceBudget,
|
|
22867
|
-
|
|
22873
|
+
gr as detectAvailableWallets,
|
|
22868
22874
|
ts as detectWalletBrowser,
|
|
22869
22875
|
gg as exportPerformanceData,
|
|
22870
22876
|
Uo as formatBytes,
|
|
@@ -22873,7 +22879,7 @@ export {
|
|
|
22873
22879
|
ju as generateAIMetaTags,
|
|
22874
22880
|
Wu as generateAIStructuredData,
|
|
22875
22881
|
Yn as generateCSP,
|
|
22876
|
-
|
|
22882
|
+
ur as generateCSPDirectives,
|
|
22877
22883
|
Fu as generateContentRelationships,
|
|
22878
22884
|
lo as generateEntityRecognition,
|
|
22879
22885
|
_g as generateImageSEO,
|
|
@@ -22891,7 +22897,7 @@ export {
|
|
|
22891
22897
|
Eu as getLazyLoadingStats,
|
|
22892
22898
|
Yg as getOptimalImageFormat,
|
|
22893
22899
|
Im as getPageName,
|
|
22894
|
-
|
|
22900
|
+
mt as getPerformanceMonitor,
|
|
22895
22901
|
Ru as getPreloadingStats,
|
|
22896
22902
|
Xu as getRenderCounts,
|
|
22897
22903
|
Qn as getSecurityHeaders,
|
|
@@ -22938,7 +22944,7 @@ export {
|
|
|
22938
22944
|
Wn as optimizedFetch,
|
|
22939
22945
|
Eg as parseFileSize,
|
|
22940
22946
|
re as performanceBudget,
|
|
22941
|
-
|
|
22947
|
+
qe as performanceUtils,
|
|
22942
22948
|
qo as prefersReducedMotion,
|
|
22943
22949
|
og as prefetchResource,
|
|
22944
22950
|
Mu as preloadComponent,
|
|
@@ -22947,7 +22953,7 @@ export {
|
|
|
22947
22953
|
rg as preloadRoute,
|
|
22948
22954
|
tm as preserveAspectRatio,
|
|
22949
22955
|
bm as priorityLoader,
|
|
22950
|
-
|
|
22956
|
+
sr as removeLanguageFromPath,
|
|
22951
22957
|
fg as reportApiCall,
|
|
22952
22958
|
hg as reportCustomMetric,
|
|
22953
22959
|
ko as reportRouteChange,
|
|
@@ -22958,7 +22964,7 @@ export {
|
|
|
22958
22964
|
Gg as setupLazyLoading,
|
|
22959
22965
|
Xg as setupProgressiveLoading,
|
|
22960
22966
|
fu as shouldEnableWallet,
|
|
22961
|
-
|
|
22967
|
+
_e as smartLinkVariants,
|
|
22962
22968
|
as as stripLanguagePrefix,
|
|
22963
22969
|
Go as supportsAVIF,
|
|
22964
22970
|
pu as supportsCSSImports,
|
|
@@ -22967,7 +22973,7 @@ export {
|
|
|
22967
22973
|
Oo as useApiMetrics,
|
|
22968
22974
|
ki as useBanner,
|
|
22969
22975
|
$o as useBundleMetrics,
|
|
22970
|
-
|
|
22976
|
+
it as useClickOutside,
|
|
22971
22977
|
dn as useCodeLoader,
|
|
22972
22978
|
mo as useComponentPerformance,
|
|
22973
22979
|
wg as useCopyToClipboard,
|
|
@@ -23000,7 +23006,7 @@ export {
|
|
|
23000
23006
|
w0 as useTheme,
|
|
23001
23007
|
ml as useToast,
|
|
23002
23008
|
vg as useToggle,
|
|
23003
|
-
|
|
23009
|
+
dr as useTopbar,
|
|
23004
23010
|
Ao as useWebVitals,
|
|
23005
23011
|
Yo as utils,
|
|
23006
23012
|
xm as walletStorage,
|