@sudobility/components 5.0.72 → 5.0.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +180 -178
- package/dist/layout/MasterDetailLayout.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { clsx as Sr } from "clsx";
|
|
2
2
|
import { twMerge as Lr } from "tailwind-merge";
|
|
3
3
|
import { jsx as a, jsxs as g, Fragment as H } from "react/jsx-runtime";
|
|
4
|
-
import { ui as A, designTokens as W, GRADIENTS as ye, textVariants as L, colors as S, variants as O, getStatusIndicatorColor as
|
|
5
|
-
import * as
|
|
6
|
-
import B, { useState as T, useRef as j, useEffect as P, useCallback as R, createContext as _e, useMemo as
|
|
4
|
+
import { ui as A, designTokens as W, GRADIENTS as ye, textVariants as L, colors as S, variants as O, getStatusIndicatorColor as J, SEMANTIC_COLOR_MAP as ge, getSectionBadgeColors as $r, getCardVariantColors as Er } from "@sudobility/design";
|
|
5
|
+
import * as q from "react";
|
|
6
|
+
import B, { useState as T, useRef as j, useEffect as P, useCallback as R, createContext as _e, useMemo as ne, useContext as He, useLayoutEffect as Mr, Component as _t, memo as Ae, lazy as me, Suspense as ze } from "react";
|
|
7
7
|
import { cva as Z } from "class-variance-authority";
|
|
8
8
|
import { createPortal as it } from "react-dom";
|
|
9
9
|
import { ExclamationCircleIcon as rt, CheckCircleIcon as qe, InformationCircleIcon as ve, XCircleIcon as ct, BellAlertIcon as Ir, ExclamationTriangleIcon as dt, MinusIcon as Ct, PlusIcon as St, MagnifyingGlassIcon as Tr, XMarkIcon as Ge, CalendarIcon as Ar, CloudArrowUpIcon as zr, DocumentIcon as Ht, Cog6ToothIcon as Lt, CurrencyDollarIcon as Ur, AdjustmentsHorizontalIcon as Pr, LinkIcon as Dr, FunnelIcon as Rr, ChatBubbleLeftRightIcon as Br, ShieldCheckIcon as jr, ArrowRightIcon as qt, ArrowTopRightOnSquareIcon as Be, ChevronLeftIcon as Fr, ChevronRightIcon as ut, TrashIcon as Wr, PhotoIcon as $t, ArrowPathIcon as Or, CheckIcon as Vr, ClipboardDocumentIcon as _r, EnvelopeIcon as Hr, LanguageIcon as qr } from "@heroicons/react/24/outline";
|
|
10
10
|
import { ArrowLeftIcon as Yh, ArrowRightIcon as Qh, Bars3Icon as Jh, BellIcon as Xh, BellSlashIcon as Zh, ChartBarIcon as eg, CheckCircleIcon as tg, CheckIcon as rg, ChevronDownIcon as ag, ChevronLeftIcon as ng, ChevronRightIcon as og, ChevronUpIcon as sg, ClockIcon as lg, CodeBracketIcon as ig, Cog6ToothIcon as cg, CreditCardIcon as dg, DocumentTextIcon as ug, EnvelopeIcon as mg, ExclamationTriangleIcon as hg, EyeSlashIcon as gg, GlobeAltIcon as pg, HomeIcon as fg, InboxIcon as bg, InformationCircleIcon as yg, KeyIcon as vg, MegaphoneIcon as xg, MinusIcon as wg, PaperAirplaneIcon as kg, PaperClipIcon as Ng, PlusIcon as Cg, RocketLaunchIcon as Sg, ShieldCheckIcon as Lg, SparklesIcon as $g, StarIcon as Eg, TrashIcon as Mg, UserGroupIcon as Ig, XMarkIcon as Tg } from "@heroicons/react/24/outline";
|
|
11
11
|
import { XMarkIcon as Gr, MinusIcon as Kr, CheckIcon as Yr } from "@heroicons/react/24/solid";
|
|
12
12
|
import { CheckCircleIcon as zg, CheckIcon as Ug, ExclamationTriangleIcon as Pg, StarIcon as Dg } from "@heroicons/react/24/solid";
|
|
13
|
-
import { ChainType as Et, InfoType as
|
|
13
|
+
import { ChainType as Et, InfoType as ae } from "@sudobility/types";
|
|
14
14
|
import { Root as Gt, Thumb as Qr } from "@radix-ui/react-switch";
|
|
15
|
-
import * as
|
|
15
|
+
import * as G from "@radix-ui/react-select";
|
|
16
16
|
import { ChevronDownIcon as mt, ChevronUpIcon as Jr, CheckIcon as Xr } from "@heroicons/react/20/solid";
|
|
17
17
|
import { Root as Kt } from "@radix-ui/react-label";
|
|
18
18
|
import { Slot as Zr } from "@radix-ui/react-slot";
|
|
@@ -2115,7 +2115,7 @@ const ca = ({
|
|
|
2115
2115
|
return {
|
|
2116
2116
|
container: c(e.base, e.dark),
|
|
2117
2117
|
icon: e.icon,
|
|
2118
|
-
button: c(
|
|
2118
|
+
button: c(J(t), "hover:opacity-90 text-white"),
|
|
2119
2119
|
secondaryButton: c(e.icon, "hover:opacity-80")
|
|
2120
2120
|
};
|
|
2121
2121
|
}, vl = ({
|
|
@@ -2347,7 +2347,7 @@ function kl({
|
|
|
2347
2347
|
), m = R(
|
|
2348
2348
|
(y, f) => l("info", y, f),
|
|
2349
2349
|
[l]
|
|
2350
|
-
), h =
|
|
2350
|
+
), h = ne(
|
|
2351
2351
|
() => ({
|
|
2352
2352
|
toasts: n,
|
|
2353
2353
|
addToast: l,
|
|
@@ -2567,7 +2567,7 @@ const Sl = ({
|
|
|
2567
2567
|
{
|
|
2568
2568
|
className: c(
|
|
2569
2569
|
"fixed bottom-4 right-4 p-4 rounded-lg text-white shadow-lg flex items-center gap-3",
|
|
2570
|
-
|
|
2570
|
+
J(e),
|
|
2571
2571
|
n
|
|
2572
2572
|
),
|
|
2573
2573
|
children: [
|
|
@@ -2741,17 +2741,17 @@ const Sl = ({
|
|
|
2741
2741
|
switch (t) {
|
|
2742
2742
|
case "verified":
|
|
2743
2743
|
case "success":
|
|
2744
|
-
return
|
|
2744
|
+
return J("success");
|
|
2745
2745
|
case "connected":
|
|
2746
2746
|
case "warning":
|
|
2747
|
-
return
|
|
2747
|
+
return J("warning");
|
|
2748
2748
|
case "disconnected":
|
|
2749
2749
|
case "error":
|
|
2750
|
-
return
|
|
2750
|
+
return J("error");
|
|
2751
2751
|
case "pending":
|
|
2752
|
-
return
|
|
2752
|
+
return J("info");
|
|
2753
2753
|
default:
|
|
2754
|
-
return
|
|
2754
|
+
return J("neutral");
|
|
2755
2755
|
}
|
|
2756
2756
|
}, La = (t) => {
|
|
2757
2757
|
switch (t) {
|
|
@@ -2822,7 +2822,7 @@ const Sl = ({
|
|
|
2822
2822
|
{
|
|
2823
2823
|
className: c(
|
|
2824
2824
|
"rounded-full flex-shrink-0",
|
|
2825
|
-
|
|
2825
|
+
J(t),
|
|
2826
2826
|
$a[e],
|
|
2827
2827
|
r && "animate-pulse",
|
|
2828
2828
|
n
|
|
@@ -2850,7 +2850,7 @@ const Sl = ({
|
|
|
2850
2850
|
"aria-label": "UstatusUpipeline",
|
|
2851
2851
|
children: e || "UstatusUpipeline Component"
|
|
2852
2852
|
}
|
|
2853
|
-
), pt =
|
|
2853
|
+
), pt = q.forwardRef(
|
|
2854
2854
|
({
|
|
2855
2855
|
className: t,
|
|
2856
2856
|
type: e,
|
|
@@ -3835,17 +3835,17 @@ const Ma = ({
|
|
|
3835
3835
|
success: `${S.component.button.success.base} ${S.component.button.success.dark} border-green-600`,
|
|
3836
3836
|
warning: "bg-yellow-600 border-yellow-600",
|
|
3837
3837
|
error: `${S.component.button.destructive.base} ${S.component.button.destructive.dark} border-red-600`
|
|
3838
|
-
}, F = () => b ? I ? `${V.error}` : "border-red-600 dark:border-red-500" : I ? V[z] : D, _ = (
|
|
3838
|
+
}, F = () => b ? I ? `${V.error}` : "border-red-600 dark:border-red-500" : I ? V[z] : D, _ = (te) => {
|
|
3839
3839
|
if (s) return;
|
|
3840
|
-
const X =
|
|
3840
|
+
const X = te.target.checked;
|
|
3841
3841
|
E || $(X), w && w({
|
|
3842
3842
|
action: "toggle",
|
|
3843
3843
|
trackingLabel: C,
|
|
3844
3844
|
componentName: v
|
|
3845
3845
|
}), r?.(X);
|
|
3846
|
-
},
|
|
3847
|
-
if (!s && (
|
|
3848
|
-
|
|
3846
|
+
}, K = (te) => {
|
|
3847
|
+
if (!s && (te.key === " " || te.key === "Spacebar")) {
|
|
3848
|
+
te.preventDefault();
|
|
3849
3849
|
const X = !I;
|
|
3850
3850
|
E || $(X), w && w({
|
|
3851
3851
|
action: "toggle",
|
|
@@ -3853,7 +3853,7 @@ const Ma = ({
|
|
|
3853
3853
|
componentName: v
|
|
3854
3854
|
}), r?.(X);
|
|
3855
3855
|
}
|
|
3856
|
-
},
|
|
3856
|
+
}, Q = M[l];
|
|
3857
3857
|
return /* @__PURE__ */ g("div", { className: c("inline-flex flex-col", d), children: [
|
|
3858
3858
|
/* @__PURE__ */ g(
|
|
3859
3859
|
"label",
|
|
@@ -3871,7 +3871,7 @@ const Ma = ({
|
|
|
3871
3871
|
checked: I,
|
|
3872
3872
|
defaultChecked: E ? void 0 : e,
|
|
3873
3873
|
onChange: _,
|
|
3874
|
-
onKeyDown:
|
|
3874
|
+
onKeyDown: K,
|
|
3875
3875
|
disabled: s,
|
|
3876
3876
|
id: m,
|
|
3877
3877
|
name: h,
|
|
@@ -3886,24 +3886,24 @@ const Ma = ({
|
|
|
3886
3886
|
"data-indeterminate": p ? "true" : void 0,
|
|
3887
3887
|
className: c(
|
|
3888
3888
|
"rounded border-2 flex items-center justify-center transition-colors",
|
|
3889
|
-
|
|
3889
|
+
Q.box,
|
|
3890
3890
|
F(),
|
|
3891
3891
|
!s && "hover:border-opacity-75"
|
|
3892
3892
|
),
|
|
3893
|
-
children: p ? /* @__PURE__ */ a(Kr, { className: c("text-white",
|
|
3893
|
+
children: p ? /* @__PURE__ */ a(Kr, { className: c("text-white", Q.check) }) : I ? k || /* @__PURE__ */ a(Yr, { className: c("text-white", Q.check) }) : null
|
|
3894
3894
|
}
|
|
3895
3895
|
)
|
|
3896
3896
|
] }),
|
|
3897
3897
|
(n || o) && /* @__PURE__ */ g("div", { className: "flex flex-col", children: [
|
|
3898
|
-
n && /* @__PURE__ */ a("span", { className: c(L.label.default(),
|
|
3899
|
-
o && /* @__PURE__ */ a("span", { className: c(L.body.sm(),
|
|
3898
|
+
n && /* @__PURE__ */ a("span", { className: c(L.label.default(), Q.text), children: n }),
|
|
3899
|
+
o && /* @__PURE__ */ a("span", { className: c(L.body.sm(), Q.desc), children: o })
|
|
3900
3900
|
] })
|
|
3901
3901
|
]
|
|
3902
3902
|
}
|
|
3903
3903
|
),
|
|
3904
3904
|
x && /* @__PURE__ */ a("span", { className: c("mt-1", L.label.error()), children: x })
|
|
3905
3905
|
] });
|
|
3906
|
-
}, Ta =
|
|
3906
|
+
}, Ta = q.forwardRef(
|
|
3907
3907
|
({
|
|
3908
3908
|
className: t,
|
|
3909
3909
|
onTrack: e,
|
|
@@ -4086,9 +4086,9 @@ const Fl = ({
|
|
|
4086
4086
|
componentName: r
|
|
4087
4087
|
}), n?.(i);
|
|
4088
4088
|
};
|
|
4089
|
-
return /* @__PURE__ */ a(
|
|
4090
|
-
}, Wl =
|
|
4091
|
-
|
|
4089
|
+
return /* @__PURE__ */ a(G.Root, { onValueChange: l, ...s, children: o });
|
|
4090
|
+
}, Wl = G.Group, Aa = G.Value, at = q.forwardRef(({ className: t, children: e, ...r }, n) => /* @__PURE__ */ g(
|
|
4091
|
+
G.Trigger,
|
|
4092
4092
|
{
|
|
4093
4093
|
ref: n,
|
|
4094
4094
|
className: c(
|
|
@@ -4098,13 +4098,13 @@ const Fl = ({
|
|
|
4098
4098
|
...r,
|
|
4099
4099
|
children: [
|
|
4100
4100
|
e,
|
|
4101
|
-
/* @__PURE__ */ a(
|
|
4101
|
+
/* @__PURE__ */ a(G.Icon, { asChild: !0, children: /* @__PURE__ */ a(mt, { className: "h-4 w-4 opacity-50 ml-2 flex-shrink-0" }) })
|
|
4102
4102
|
]
|
|
4103
4103
|
}
|
|
4104
4104
|
));
|
|
4105
|
-
at.displayName =
|
|
4106
|
-
const er =
|
|
4107
|
-
|
|
4105
|
+
at.displayName = G.Trigger.displayName;
|
|
4106
|
+
const er = q.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
|
|
4107
|
+
G.ScrollUpButton,
|
|
4108
4108
|
{
|
|
4109
4109
|
ref: r,
|
|
4110
4110
|
className: c(
|
|
@@ -4115,9 +4115,9 @@ const er = G.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
|
|
|
4115
4115
|
children: /* @__PURE__ */ a(Jr, { className: "h-4 w-4" })
|
|
4116
4116
|
}
|
|
4117
4117
|
));
|
|
4118
|
-
er.displayName =
|
|
4119
|
-
const tr =
|
|
4120
|
-
|
|
4118
|
+
er.displayName = G.ScrollUpButton.displayName;
|
|
4119
|
+
const tr = q.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
|
|
4120
|
+
G.ScrollDownButton,
|
|
4121
4121
|
{
|
|
4122
4122
|
ref: r,
|
|
4123
4123
|
className: c(
|
|
@@ -4128,15 +4128,15 @@ const tr = G.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
|
|
|
4128
4128
|
children: /* @__PURE__ */ a(mt, { className: "h-4 w-4" })
|
|
4129
4129
|
}
|
|
4130
4130
|
));
|
|
4131
|
-
tr.displayName =
|
|
4132
|
-
const nt =
|
|
4133
|
-
const l =
|
|
4131
|
+
tr.displayName = G.ScrollDownButton.displayName;
|
|
4132
|
+
const nt = q.forwardRef(({ className: t, children: e, position: r = "popper", side: n, ...o }, s) => {
|
|
4133
|
+
const l = q.useRef(null), [i, u] = q.useState("bottom"), d = q.useCallback(
|
|
4134
4134
|
(m) => {
|
|
4135
4135
|
l.current = m, typeof s == "function" ? s(m) : s && (s.current = m);
|
|
4136
4136
|
},
|
|
4137
4137
|
[s]
|
|
4138
4138
|
);
|
|
4139
|
-
return
|
|
4139
|
+
return q.useLayoutEffect(() => {
|
|
4140
4140
|
if (n || !l.current) return;
|
|
4141
4141
|
const m = document.querySelector(
|
|
4142
4142
|
'[role="combobox"][data-state="open"]'
|
|
@@ -4146,8 +4146,8 @@ const nt = G.forwardRef(({ className: t, children: e, position: r = "popper", si
|
|
|
4146
4146
|
u(
|
|
4147
4147
|
f < y && p > f ? "top" : "bottom"
|
|
4148
4148
|
);
|
|
4149
|
-
}, []), /* @__PURE__ */ a(
|
|
4150
|
-
|
|
4149
|
+
}, []), /* @__PURE__ */ a(G.Portal, { children: /* @__PURE__ */ g(
|
|
4150
|
+
G.Content,
|
|
4151
4151
|
{
|
|
4152
4152
|
ref: d,
|
|
4153
4153
|
className: c(
|
|
@@ -4162,7 +4162,7 @@ const nt = G.forwardRef(({ className: t, children: e, position: r = "popper", si
|
|
|
4162
4162
|
children: [
|
|
4163
4163
|
/* @__PURE__ */ a(er, {}),
|
|
4164
4164
|
/* @__PURE__ */ a(
|
|
4165
|
-
|
|
4165
|
+
G.Viewport,
|
|
4166
4166
|
{
|
|
4167
4167
|
className: c(
|
|
4168
4168
|
O.overlays.dropdown.itemContainer(),
|
|
@@ -4176,18 +4176,18 @@ const nt = G.forwardRef(({ className: t, children: e, position: r = "popper", si
|
|
|
4176
4176
|
}
|
|
4177
4177
|
) });
|
|
4178
4178
|
});
|
|
4179
|
-
nt.displayName =
|
|
4180
|
-
const za =
|
|
4181
|
-
|
|
4179
|
+
nt.displayName = G.Content.displayName;
|
|
4180
|
+
const za = q.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
|
|
4181
|
+
G.Label,
|
|
4182
4182
|
{
|
|
4183
4183
|
ref: r,
|
|
4184
4184
|
className: c(O.overlays.dropdown.header(), "py-1.5", t),
|
|
4185
4185
|
...e
|
|
4186
4186
|
}
|
|
4187
4187
|
));
|
|
4188
|
-
za.displayName =
|
|
4189
|
-
const ot =
|
|
4190
|
-
|
|
4188
|
+
za.displayName = G.Label.displayName;
|
|
4189
|
+
const ot = q.forwardRef(({ className: t, children: e, ...r }, n) => /* @__PURE__ */ g(
|
|
4190
|
+
G.Item,
|
|
4191
4191
|
{
|
|
4192
4192
|
ref: n,
|
|
4193
4193
|
className: c(
|
|
@@ -4197,21 +4197,21 @@ const ot = G.forwardRef(({ className: t, children: e, ...r }, n) => /* @__PURE__
|
|
|
4197
4197
|
),
|
|
4198
4198
|
...r,
|
|
4199
4199
|
children: [
|
|
4200
|
-
/* @__PURE__ */ a(
|
|
4201
|
-
/* @__PURE__ */ a("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ a(
|
|
4200
|
+
/* @__PURE__ */ a(G.ItemText, { children: e }),
|
|
4201
|
+
/* @__PURE__ */ a("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ a(G.ItemIndicator, { children: /* @__PURE__ */ a(Xr, { className: "h-4 w-4" }) }) })
|
|
4202
4202
|
]
|
|
4203
4203
|
}
|
|
4204
4204
|
));
|
|
4205
|
-
ot.displayName =
|
|
4206
|
-
const Ua =
|
|
4207
|
-
|
|
4205
|
+
ot.displayName = G.Item.displayName;
|
|
4206
|
+
const Ua = q.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
|
|
4207
|
+
G.Separator,
|
|
4208
4208
|
{
|
|
4209
4209
|
ref: r,
|
|
4210
4210
|
className: c("my-1 h-px bg-gray-200 dark:bg-gray-700", t),
|
|
4211
4211
|
...e
|
|
4212
4212
|
}
|
|
4213
4213
|
));
|
|
4214
|
-
Ua.displayName =
|
|
4214
|
+
Ua.displayName = G.Separator.displayName;
|
|
4215
4215
|
const Ol = ({
|
|
4216
4216
|
options: t,
|
|
4217
4217
|
value: e,
|
|
@@ -4954,8 +4954,8 @@ const Hl = ({
|
|
|
4954
4954
|
trackingLabel: p,
|
|
4955
4955
|
componentName: b
|
|
4956
4956
|
}) => {
|
|
4957
|
-
const x = j(null), [k, w] = T(!1), [C, v] = T(null), N = (F) => (v(null), o && u.length + F.length > o ? (v(`Maximum ${o} files allowed`), []) : F.filter((
|
|
4958
|
-
`File "${
|
|
4957
|
+
const x = j(null), [k, w] = T(!1), [C, v] = T(null), N = (F) => (v(null), o && u.length + F.length > o ? (v(`Maximum ${o} files allowed`), []) : F.filter((K) => n && K.size > n ? (v(
|
|
4958
|
+
`File "${K.name}" exceeds maximum size of ${st(n)}`
|
|
4959
4959
|
), !1) : !0)), $ = (F) => {
|
|
4960
4960
|
f && f({
|
|
4961
4961
|
action: F,
|
|
@@ -4963,8 +4963,8 @@ const Hl = ({
|
|
|
4963
4963
|
componentName: b
|
|
4964
4964
|
});
|
|
4965
4965
|
}, E = (F) => {
|
|
4966
|
-
const _ = Array.from(F.target.files || []),
|
|
4967
|
-
|
|
4966
|
+
const _ = Array.from(F.target.files || []), K = N(_);
|
|
4967
|
+
K.length > 0 && ($("select"), t(K)), x.current && (x.current.value = "");
|
|
4968
4968
|
}, I = () => {
|
|
4969
4969
|
x.current?.click();
|
|
4970
4970
|
}, M = (F) => {
|
|
@@ -4975,8 +4975,8 @@ const Hl = ({
|
|
|
4975
4975
|
F.preventDefault(), F.stopPropagation();
|
|
4976
4976
|
}, D = (F) => {
|
|
4977
4977
|
if (F.preventDefault(), F.stopPropagation(), w(!1), s) return;
|
|
4978
|
-
const _ = Array.from(F.dataTransfer.files),
|
|
4979
|
-
|
|
4978
|
+
const _ = Array.from(F.dataTransfer.files), K = N(_);
|
|
4979
|
+
K.length > 0 && ($("drop"), t(K));
|
|
4980
4980
|
}, V = (F) => {
|
|
4981
4981
|
d && ($("remove"), d(F));
|
|
4982
4982
|
};
|
|
@@ -5335,7 +5335,7 @@ const Ql = ({
|
|
|
5335
5335
|
] });
|
|
5336
5336
|
}, Pa = Z(
|
|
5337
5337
|
`${L.label.default()} peer-disabled:cursor-not-allowed peer-disabled:opacity-70`
|
|
5338
|
-
), rr =
|
|
5338
|
+
), rr = q.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(Kt, { ref: r, className: c(Pa(), t), ...e }));
|
|
5339
5339
|
rr.displayName = Kt.displayName;
|
|
5340
5340
|
const Xl = ({
|
|
5341
5341
|
id: t,
|
|
@@ -5651,7 +5651,7 @@ const Xl = ({
|
|
|
5651
5651
|
size: "default",
|
|
5652
5652
|
animation: "hover"
|
|
5653
5653
|
}
|
|
5654
|
-
}),
|
|
5654
|
+
}), ie = q.forwardRef(
|
|
5655
5655
|
({
|
|
5656
5656
|
className: t,
|
|
5657
5657
|
variant: e,
|
|
@@ -5707,7 +5707,7 @@ const Xl = ({
|
|
|
5707
5707
|
);
|
|
5708
5708
|
}
|
|
5709
5709
|
);
|
|
5710
|
-
|
|
5710
|
+
ie.displayName = "Button";
|
|
5711
5711
|
const ni = ({
|
|
5712
5712
|
children: t,
|
|
5713
5713
|
isLoading: e = !1,
|
|
@@ -5716,7 +5716,7 @@ const ni = ({
|
|
|
5716
5716
|
disabled: o,
|
|
5717
5717
|
...s
|
|
5718
5718
|
}) => /* @__PURE__ */ a(
|
|
5719
|
-
|
|
5719
|
+
ie,
|
|
5720
5720
|
{
|
|
5721
5721
|
...s,
|
|
5722
5722
|
disabled: o || e,
|
|
@@ -6143,7 +6143,7 @@ const ni = ({
|
|
|
6143
6143
|
/* @__PURE__ */ a("div", { className: "grid grid-cols-7 gap-1", children: M.map((z, D) => {
|
|
6144
6144
|
if (!z)
|
|
6145
6145
|
return /* @__PURE__ */ a("div", { className: "aspect-square" }, D);
|
|
6146
|
-
const V = y(z), F = p(z), _ = b(z),
|
|
6146
|
+
const V = y(z), F = p(z), _ = b(z), K = f(z), Q = h(z, /* @__PURE__ */ new Date());
|
|
6147
6147
|
return /* @__PURE__ */ a(
|
|
6148
6148
|
"button",
|
|
6149
6149
|
{
|
|
@@ -6154,10 +6154,10 @@ const ni = ({
|
|
|
6154
6154
|
className: c(
|
|
6155
6155
|
"aspect-square flex items-center justify-center rounded-md text-sm transition-colors relative",
|
|
6156
6156
|
"disabled:opacity-40 disabled:cursor-not-allowed disabled:hover:bg-transparent",
|
|
6157
|
-
|
|
6157
|
+
K && "bg-blue-100 dark:bg-blue-900/30",
|
|
6158
6158
|
(F || _) && "bg-blue-600 text-white hover:bg-blue-700 dark:bg-blue-500 dark:hover:bg-blue-600",
|
|
6159
|
-
!F && !_ && !
|
|
6160
|
-
|
|
6159
|
+
!F && !_ && !K && `${S.component.button.ghost.base} ${S.component.button.ghost.dark}`,
|
|
6160
|
+
Q && !F && !_ && "border-2 border-blue-600 dark:border-blue-400"
|
|
6161
6161
|
),
|
|
6162
6162
|
children: z.getDate()
|
|
6163
6163
|
},
|
|
@@ -7518,15 +7518,15 @@ const ni = ({
|
|
|
7518
7518
|
}
|
|
7519
7519
|
) : null;
|
|
7520
7520
|
}, Va = {
|
|
7521
|
-
[
|
|
7522
|
-
[
|
|
7523
|
-
[
|
|
7524
|
-
[
|
|
7521
|
+
[ae.INFO]: "info",
|
|
7522
|
+
[ae.SUCCESS]: "success",
|
|
7523
|
+
[ae.WARNING]: "warning",
|
|
7524
|
+
[ae.ERROR]: "error"
|
|
7525
7525
|
}, _a = {
|
|
7526
|
-
[
|
|
7527
|
-
[
|
|
7528
|
-
[
|
|
7529
|
-
[
|
|
7526
|
+
[ae.INFO]: { icon: ve },
|
|
7527
|
+
[ae.SUCCESS]: { icon: qe },
|
|
7528
|
+
[ae.WARNING]: { icon: dt },
|
|
7529
|
+
[ae.ERROR]: { icon: ct }
|
|
7530
7530
|
}, Ha = (t) => {
|
|
7531
7531
|
const e = Va[t];
|
|
7532
7532
|
return S.component.alert[e];
|
|
@@ -7535,7 +7535,7 @@ const ni = ({
|
|
|
7535
7535
|
onDismiss: e,
|
|
7536
7536
|
title: r,
|
|
7537
7537
|
description: n,
|
|
7538
|
-
variant: o =
|
|
7538
|
+
variant: o = ae.INFO,
|
|
7539
7539
|
duration: s = 5e3,
|
|
7540
7540
|
icon: l,
|
|
7541
7541
|
className: i,
|
|
@@ -7616,7 +7616,7 @@ const ni = ({
|
|
|
7616
7616
|
({
|
|
7617
7617
|
title: u,
|
|
7618
7618
|
description: d,
|
|
7619
|
-
variant: m =
|
|
7619
|
+
variant: m = ae.INFO,
|
|
7620
7620
|
duration: h = e
|
|
7621
7621
|
}) => {
|
|
7622
7622
|
s({ title: u, description: d, variant: m, duration: h }), n(!0);
|
|
@@ -7852,8 +7852,8 @@ const ni = ({
|
|
|
7852
7852
|
},
|
|
7853
7853
|
trend: {
|
|
7854
7854
|
none: "",
|
|
7855
|
-
up: `border-l-4 ${
|
|
7856
|
-
down: `border-l-4 ${
|
|
7855
|
+
up: `border-l-4 ${J("success").replace("bg-", "border-")}`,
|
|
7856
|
+
down: `border-l-4 ${J("error").replace("bg-", "border-")}`,
|
|
7857
7857
|
neutral: "border-l-4 border-gray-400"
|
|
7858
7858
|
}
|
|
7859
7859
|
},
|
|
@@ -9023,7 +9023,7 @@ const _i = ({
|
|
|
9023
9023
|
size: "default"
|
|
9024
9024
|
}
|
|
9025
9025
|
}
|
|
9026
|
-
), ar =
|
|
9026
|
+
), ar = q.forwardRef(
|
|
9027
9027
|
({
|
|
9028
9028
|
className: t,
|
|
9029
9029
|
variant: e,
|
|
@@ -9087,7 +9087,7 @@ const _i = ({
|
|
|
9087
9087
|
}
|
|
9088
9088
|
);
|
|
9089
9089
|
ar.displayName = "SmartLink";
|
|
9090
|
-
const lc = (t, e) =>
|
|
9090
|
+
const lc = (t, e) => q.useMemo(() => {
|
|
9091
9091
|
let r = t;
|
|
9092
9092
|
return Object.entries(e).forEach(([n, o]) => {
|
|
9093
9093
|
const s = new RegExp(
|
|
@@ -9148,7 +9148,7 @@ const lc = (t, e) => G.useMemo(() => {
|
|
|
9148
9148
|
className: r,
|
|
9149
9149
|
variant: n = "subtle"
|
|
9150
9150
|
}) => {
|
|
9151
|
-
const o =
|
|
9151
|
+
const o = q.useMemo(() => {
|
|
9152
9152
|
if (!t || typeof t != "string")
|
|
9153
9153
|
return t || "";
|
|
9154
9154
|
let l = t;
|
|
@@ -9402,7 +9402,7 @@ const hc = ({
|
|
|
9402
9402
|
children: n.label
|
|
9403
9403
|
}
|
|
9404
9404
|
)
|
|
9405
|
-
] }, o)) }), sn =
|
|
9405
|
+
] }, o)) }), sn = q.forwardRef(
|
|
9406
9406
|
({
|
|
9407
9407
|
onTrack: t,
|
|
9408
9408
|
trackingLabel: e,
|
|
@@ -9419,7 +9419,7 @@ const hc = ({
|
|
|
9419
9419
|
}, ...s, children: o })
|
|
9420
9420
|
);
|
|
9421
9421
|
sn.displayName = "Tabs";
|
|
9422
|
-
const ln =
|
|
9422
|
+
const ln = q.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
|
|
9423
9423
|
Yt,
|
|
9424
9424
|
{
|
|
9425
9425
|
ref: r,
|
|
@@ -9428,7 +9428,7 @@ const ln = G.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
|
|
|
9428
9428
|
}
|
|
9429
9429
|
));
|
|
9430
9430
|
ln.displayName = Yt.displayName;
|
|
9431
|
-
const cn =
|
|
9431
|
+
const cn = q.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
|
|
9432
9432
|
Qt,
|
|
9433
9433
|
{
|
|
9434
9434
|
ref: r,
|
|
@@ -9437,7 +9437,7 @@ const cn = G.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
|
|
|
9437
9437
|
}
|
|
9438
9438
|
));
|
|
9439
9439
|
cn.displayName = Qt.displayName;
|
|
9440
|
-
const dn =
|
|
9440
|
+
const dn = q.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
|
|
9441
9441
|
Jt,
|
|
9442
9442
|
{
|
|
9443
9443
|
ref: r,
|
|
@@ -10472,7 +10472,7 @@ const Cc = ({
|
|
|
10472
10472
|
return /* @__PURE__ */ g("div", { className: c(u, d[l], i), children: [
|
|
10473
10473
|
/* @__PURE__ */ a("div", { className: "flex-1 text-sm text-gray-900 dark:text-white", children: t }),
|
|
10474
10474
|
/* @__PURE__ */ g(
|
|
10475
|
-
|
|
10475
|
+
ie,
|
|
10476
10476
|
{
|
|
10477
10477
|
variant: o ? "ghost" : "outline",
|
|
10478
10478
|
size: "sm",
|
|
@@ -10546,7 +10546,7 @@ const Cc = ({
|
|
|
10546
10546
|
}, U = () => {
|
|
10547
10547
|
const D = [...t, ...e];
|
|
10548
10548
|
r(D, []), w(/* @__PURE__ */ new Set());
|
|
10549
|
-
}, z = (D, V, F, _,
|
|
10549
|
+
}, z = (D, V, F, _, K, Q, te) => /* @__PURE__ */ g("div", { className: "flex flex-col flex-1 border border-gray-300 dark:border-gray-700 rounded-md bg-white dark:bg-gray-900", children: [
|
|
10550
10550
|
/* @__PURE__ */ g("div", { className: "px-3 py-2 border-b border-gray-300 dark:border-gray-700 bg-gray-50 dark:bg-gray-800", children: [
|
|
10551
10551
|
/* @__PURE__ */ a("h3", { className: "text-sm font-semibold text-gray-900 dark:text-white", children: V }),
|
|
10552
10552
|
/* @__PURE__ */ g("p", { className: "text-xs text-gray-600 dark:text-gray-400", children: [
|
|
@@ -10559,9 +10559,9 @@ const Cc = ({
|
|
|
10559
10559
|
"input",
|
|
10560
10560
|
{
|
|
10561
10561
|
type: "text",
|
|
10562
|
-
value:
|
|
10563
|
-
onChange: (X) =>
|
|
10564
|
-
placeholder:
|
|
10562
|
+
value: K,
|
|
10563
|
+
onChange: (X) => Q(X.target.value),
|
|
10564
|
+
placeholder: te,
|
|
10565
10565
|
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"
|
|
10566
10566
|
}
|
|
10567
10567
|
) }),
|
|
@@ -11121,7 +11121,7 @@ const Rc = ({
|
|
|
11121
11121
|
{
|
|
11122
11122
|
className: c(
|
|
11123
11123
|
"text-sm font-medium",
|
|
11124
|
-
r >= 0 ?
|
|
11124
|
+
r >= 0 ? J("success").replace("bg-", "text-") : J("error").replace("bg-", "text-"),
|
|
11125
11125
|
r >= 0 ? "dark:text-green-400" : "dark:text-red-400"
|
|
11126
11126
|
),
|
|
11127
11127
|
children: [
|
|
@@ -11157,10 +11157,10 @@ const Rc = ({
|
|
|
11157
11157
|
md: "w-2.5 h-2.5",
|
|
11158
11158
|
lg: "w-3 h-3"
|
|
11159
11159
|
}, y = {
|
|
11160
|
-
online:
|
|
11161
|
-
offline:
|
|
11162
|
-
away:
|
|
11163
|
-
busy:
|
|
11160
|
+
online: J("success"),
|
|
11161
|
+
offline: J("neutral"),
|
|
11162
|
+
away: J("warning"),
|
|
11163
|
+
busy: J("error")
|
|
11164
11164
|
}, p = r || (n ? ((k) => {
|
|
11165
11165
|
const w = k.trim().split(/\s+/);
|
|
11166
11166
|
return w.length === 1 ? w[0].charAt(0).toUpperCase() : w[0].charAt(0).toUpperCase() + w[w.length - 1].charAt(0).toUpperCase();
|
|
@@ -14515,7 +14515,7 @@ const Rc = ({
|
|
|
14515
14515
|
] }),
|
|
14516
14516
|
/* @__PURE__ */ g(lr, { children: [
|
|
14517
14517
|
/* @__PURE__ */ a(
|
|
14518
|
-
|
|
14518
|
+
ie,
|
|
14519
14519
|
{
|
|
14520
14520
|
type: "button",
|
|
14521
14521
|
variant: "outline",
|
|
@@ -14525,7 +14525,7 @@ const Rc = ({
|
|
|
14525
14525
|
}
|
|
14526
14526
|
),
|
|
14527
14527
|
/* @__PURE__ */ a(
|
|
14528
|
-
|
|
14528
|
+
ie,
|
|
14529
14529
|
{
|
|
14530
14530
|
type: "submit",
|
|
14531
14531
|
variant: "default",
|
|
@@ -14568,11 +14568,11 @@ const Rc = ({
|
|
|
14568
14568
|
p.current && clearTimeout(p.current), b.current && clearTimeout(b.current);
|
|
14569
14569
|
}, []), P(() => {
|
|
14570
14570
|
if (d !== "click" || !C) return;
|
|
14571
|
-
const
|
|
14572
|
-
x.current && !x.current.contains(
|
|
14571
|
+
const K = (Q) => {
|
|
14572
|
+
x.current && !x.current.contains(Q.target) && k.current && !k.current.contains(Q.target) && N();
|
|
14573
14573
|
};
|
|
14574
|
-
return document.addEventListener("mousedown",
|
|
14575
|
-
document.removeEventListener("mousedown",
|
|
14574
|
+
return document.addEventListener("mousedown", K), () => {
|
|
14575
|
+
document.removeEventListener("mousedown", K);
|
|
14576
14576
|
};
|
|
14577
14577
|
}, [d, C, N]);
|
|
14578
14578
|
const $ = () => {
|
|
@@ -14738,9 +14738,9 @@ const Rc = ({
|
|
|
14738
14738
|
)
|
|
14739
14739
|
] }),
|
|
14740
14740
|
/* @__PURE__ */ g(lr, { children: [
|
|
14741
|
-
/* @__PURE__ */ a(
|
|
14741
|
+
/* @__PURE__ */ a(ie, { variant: "outline", onClick: e, disabled: d, children: l }),
|
|
14742
14742
|
/* @__PURE__ */ a(
|
|
14743
|
-
|
|
14743
|
+
ie,
|
|
14744
14744
|
{
|
|
14745
14745
|
variant: y,
|
|
14746
14746
|
onClick: r,
|
|
@@ -15228,7 +15228,7 @@ const Rc = ({
|
|
|
15228
15228
|
]
|
|
15229
15229
|
}
|
|
15230
15230
|
);
|
|
15231
|
-
},
|
|
15231
|
+
}, oe = {
|
|
15232
15232
|
twitter: (t, e, r) => {
|
|
15233
15233
|
const n = r.length > 0 ? `&hashtags=${r.join(",")}` : "";
|
|
15234
15234
|
return `https://twitter.com/intent/tweet?url=${encodeURIComponent(t)}&text=${encodeURIComponent(e)}${n}`;
|
|
@@ -15296,19 +15296,19 @@ const Rc = ({
|
|
|
15296
15296
|
}, k = [
|
|
15297
15297
|
{
|
|
15298
15298
|
name: "Twitter",
|
|
15299
|
-
url:
|
|
15299
|
+
url: oe.twitter(h, t.title, t.hashtags),
|
|
15300
15300
|
color: "text-blue-400",
|
|
15301
15301
|
svg: /* @__PURE__ */ a("path", { d: "M8.29 20.251c7.547 0 11.675-6.253 11.675-11.675 0-.178 0-.355-.012-.53A8.348 8.348 0 0022 5.92a8.19 8.19 0 01-2.357.646 4.118 4.118 0 001.804-2.27 8.224 8.224 0 01-2.605.996 4.107 4.107 0 00-6.993 3.743 11.65 11.65 0 01-8.457-4.287 4.106 4.106 0 001.27 5.477A4.072 4.072 0 012.8 9.713v.052a4.105 4.105 0 003.292 4.022 4.095 4.095 0 01-1.853.07 4.108 4.108 0 003.834 2.85A8.233 8.233 0 012 18.407a11.616 11.616 0 006.29 1.84" })
|
|
15302
15302
|
},
|
|
15303
15303
|
{
|
|
15304
15304
|
name: "Facebook",
|
|
15305
|
-
url:
|
|
15305
|
+
url: oe.facebook(h),
|
|
15306
15306
|
color: "text-blue-600",
|
|
15307
15307
|
svg: /* @__PURE__ */ a("path", { d: "M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z" })
|
|
15308
15308
|
},
|
|
15309
15309
|
{
|
|
15310
15310
|
name: "LinkedIn",
|
|
15311
|
-
url:
|
|
15311
|
+
url: oe.linkedin(
|
|
15312
15312
|
h,
|
|
15313
15313
|
t.title,
|
|
15314
15314
|
t.description
|
|
@@ -15318,37 +15318,37 @@ const Rc = ({
|
|
|
15318
15318
|
},
|
|
15319
15319
|
{
|
|
15320
15320
|
name: "Reddit",
|
|
15321
|
-
url:
|
|
15321
|
+
url: oe.reddit(h, t.title),
|
|
15322
15322
|
color: "text-orange-600",
|
|
15323
15323
|
svg: /* @__PURE__ */ a("path", { d: "M12 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0zm5.01 4.744c.688 0 1.25.561 1.25 1.249a1.25 1.25 0 0 1-2.498.056l-2.597-.547-.8 3.747c1.824.07 3.48.632 4.674 1.488.308-.309.73-.491 1.207-.491.968 0 1.754.786 1.754 1.754 0 .716-.435 1.333-1.01 1.614a3.111 3.111 0 0 1 .042.52c0 2.694-3.13 4.87-7.004 4.87-3.874 0-7.004-2.176-7.004-4.87 0-.183.015-.366.043-.534A1.748 1.748 0 0 1 4.028 12c0-.968.786-1.754 1.754-1.754.463 0 .898.196 1.207.49 1.207-.883 2.878-1.43 4.744-1.487l.885-4.182a.342.342 0 0 1 .14-.197.35.35 0 0 1 .238-.042l2.906.617a1.214 1.214 0 0 1 1.108-.701zM9.25 12C8.561 12 8 12.562 8 13.25c0 .687.561 1.248 1.25 1.248.687 0 1.248-.561 1.248-1.249 0-.688-.561-1.249-1.249-1.249zm5.5 0c-.687 0-1.248.561-1.248 1.25 0 .687.561 1.248 1.249 1.248.688 0 1.249-.561 1.249-1.249 0-.687-.562-1.249-1.25-1.249zm-5.466 3.99a.327.327 0 0 0-.231.094.33.33 0 0 0 0 .463c.842.842 2.484.913 2.961.913.477 0 2.105-.056 2.961-.913a.361.361 0 0 0 .029-.463.33.33 0 0 0-.464 0c-.547.533-1.684.73-2.512.73-.828 0-1.979-.196-2.512-.73a.326.326 0 0 0-.232-.095z" })
|
|
15324
15324
|
},
|
|
15325
15325
|
{
|
|
15326
15326
|
name: "Telegram",
|
|
15327
|
-
url:
|
|
15327
|
+
url: oe.telegram(h, t.title),
|
|
15328
15328
|
color: "text-blue-500",
|
|
15329
15329
|
svg: /* @__PURE__ */ a("path", { d: "M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z" })
|
|
15330
15330
|
},
|
|
15331
15331
|
{
|
|
15332
15332
|
name: "WhatsApp",
|
|
15333
|
-
url:
|
|
15333
|
+
url: oe.whatsapp(h, t.title),
|
|
15334
15334
|
color: "text-green-600",
|
|
15335
15335
|
svg: /* @__PURE__ */ a("path", { d: "M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z" })
|
|
15336
15336
|
},
|
|
15337
15337
|
{
|
|
15338
15338
|
name: "Discord",
|
|
15339
|
-
url:
|
|
15339
|
+
url: oe.discord(h, t.title),
|
|
15340
15340
|
color: "text-indigo-500",
|
|
15341
15341
|
svg: /* @__PURE__ */ a("path", { d: "M20.317 4.37a19.791 19.791 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.736 19.736 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028 14.09 14.09 0 0 0 1.226-1.994.076.076 0 0 0-.041-.106 13.107 13.107 0 0 1-1.872-.892.077.077 0 0 1-.008-.128 10.2 10.2 0 0 0 .372-.292.074.074 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127 12.299 12.299 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.839 19.839 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418z" })
|
|
15342
15342
|
},
|
|
15343
15343
|
{
|
|
15344
15344
|
name: "Messages",
|
|
15345
|
-
url:
|
|
15345
|
+
url: oe.messages(h, t.title),
|
|
15346
15346
|
color: "text-green-500",
|
|
15347
15347
|
svg: /* @__PURE__ */ a("path", { d: "M.05 3.555A3 3 0 013 0h18a3 3 0 012.95 3.555L22 11v8a3 3 0 01-3 3H5a3 3 0 01-3-3v-8l-1.95-7.445zM2 10.938V19a1 1 0 001 1h18a1 1 0 001-1v-8.062L20 19H4l-2-8.062zM3.38 2L5 8h14l1.62-6H3.38z" })
|
|
15348
15348
|
},
|
|
15349
15349
|
{
|
|
15350
15350
|
name: "Email",
|
|
15351
|
-
url:
|
|
15351
|
+
url: oe.email(
|
|
15352
15352
|
h,
|
|
15353
15353
|
t.title,
|
|
15354
15354
|
t.description
|
|
@@ -15817,7 +15817,7 @@ const Rc = ({
|
|
|
15817
15817
|
trackingParams: h = {},
|
|
15818
15818
|
...y
|
|
15819
15819
|
}) => /* @__PURE__ */ a(
|
|
15820
|
-
|
|
15820
|
+
ie,
|
|
15821
15821
|
{
|
|
15822
15822
|
...y,
|
|
15823
15823
|
variant: r,
|
|
@@ -16207,13 +16207,13 @@ const bu = ({ children: t }) => /* @__PURE__ */ a(H, { children: t }), yu = ({
|
|
|
16207
16207
|
children: t
|
|
16208
16208
|
}) => /* @__PURE__ */ a(H, { children: t }), vu = (t, e, r) => {
|
|
16209
16209
|
const n = Ae(t, e);
|
|
16210
|
-
return r && (n.displayName = `Memo(${r})`), process.env.NODE_ENV === "development" ? (o) => (
|
|
16210
|
+
return r && (n.displayName = `Memo(${r})`), process.env.NODE_ENV === "development" ? (o) => (ne(() => {
|
|
16211
16211
|
let l = 0;
|
|
16212
16212
|
return () => ++l;
|
|
16213
16213
|
}, [])(), /* @__PURE__ */ a(n, { ...o })) : n;
|
|
16214
16214
|
}, xu = (t, e) => Ae(t, (r, n) => e.every((o) => r[o] === n[o])), wu = Ae(
|
|
16215
16215
|
({ children: t, compute: e, deps: r }) => {
|
|
16216
|
-
const n = B.useRef(r), o = B.useRef(e), s = B.useRef(void 0), l =
|
|
16216
|
+
const n = B.useRef(r), o = B.useRef(e), s = B.useRef(void 0), l = ne(() => {
|
|
16217
16217
|
const i = r.length !== n.current.length || r.some((d, m) => d !== n.current[m]), u = e !== o.current;
|
|
16218
16218
|
if (i || u || s.current === void 0) {
|
|
16219
16219
|
let d;
|
|
@@ -16587,7 +16587,7 @@ function zu({
|
|
|
16587
16587
|
}
|
|
16588
16588
|
);
|
|
16589
16589
|
}
|
|
16590
|
-
var
|
|
16590
|
+
var re = /* @__PURE__ */ ((t) => (t.LIGHT = "light", t.DARK = "dark", t.SYSTEM = "system", t))(re || {}), fr = /* @__PURE__ */ ((t) => (t.SMALL = "small", t.MEDIUM = "medium", t.LARGE = "large", t))(fr || {});
|
|
16591
16591
|
const De = {
|
|
16592
16592
|
getItem: (t) => {
|
|
16593
16593
|
try {
|
|
@@ -16615,11 +16615,11 @@ function Pu({
|
|
|
16615
16615
|
children: t,
|
|
16616
16616
|
themeStorageKey: e = "theme",
|
|
16617
16617
|
fontSizeStorageKey: r = "font-size",
|
|
16618
|
-
defaultTheme: n =
|
|
16618
|
+
defaultTheme: n = re.LIGHT,
|
|
16619
16619
|
defaultFontSize: o = fr.MEDIUM
|
|
16620
16620
|
}) {
|
|
16621
16621
|
const [s, l] = T(() => De.getItem(e) || n), [i, u] = T(() => De.getItem(r) || o), [d, m] = T(
|
|
16622
|
-
() => s ===
|
|
16622
|
+
() => s === re.SYSTEM ? typeof window < "u" && window.matchMedia("(prefers-color-scheme: dark)").matches ? re.DARK : re.LIGHT : s
|
|
16623
16623
|
), h = R(
|
|
16624
16624
|
(p) => {
|
|
16625
16625
|
l(p), De.setItem(e, p);
|
|
@@ -16634,13 +16634,13 @@ function Pu({
|
|
|
16634
16634
|
P(() => {
|
|
16635
16635
|
const p = document.documentElement;
|
|
16636
16636
|
let b = s;
|
|
16637
|
-
s ===
|
|
16637
|
+
s === re.SYSTEM && (b = window.matchMedia(
|
|
16638
16638
|
"(prefers-color-scheme: dark)"
|
|
16639
|
-
).matches ?
|
|
16639
|
+
).matches ? re.DARK : re.LIGHT), m(b), p.classList.remove("light", "dark"), p.classList.add(b), p.classList.remove("font-small", "font-medium", "font-large"), p.classList.add(`font-${i}`);
|
|
16640
16640
|
}, [s, i]), P(() => {
|
|
16641
|
-
if (s ===
|
|
16641
|
+
if (s === re.SYSTEM) {
|
|
16642
16642
|
const p = window.matchMedia("(prefers-color-scheme: dark)"), b = (x) => {
|
|
16643
|
-
const k = document.documentElement, w = x.matches ?
|
|
16643
|
+
const k = document.documentElement, w = x.matches ? re.DARK : re.LIGHT;
|
|
16644
16644
|
m(w), k.classList.remove("light", "dark"), k.classList.add(w);
|
|
16645
16645
|
};
|
|
16646
16646
|
return p.addEventListener("change", b), () => {
|
|
@@ -16648,7 +16648,7 @@ function Pu({
|
|
|
16648
16648
|
};
|
|
16649
16649
|
}
|
|
16650
16650
|
}, [s]);
|
|
16651
|
-
const f =
|
|
16651
|
+
const f = ne(
|
|
16652
16652
|
() => ({
|
|
16653
16653
|
theme: s,
|
|
16654
16654
|
fontSize: i,
|
|
@@ -17079,7 +17079,7 @@ const Du = ({
|
|
|
17079
17079
|
lg: "text-xl md:text-2xl"
|
|
17080
17080
|
}, b = (x, k = !1) => {
|
|
17081
17081
|
const C = /* @__PURE__ */ a(
|
|
17082
|
-
|
|
17082
|
+
ie,
|
|
17083
17083
|
{
|
|
17084
17084
|
variant: x.variant === "primary" || k ? "gradient" : (x.variant === "secondary", "outline"),
|
|
17085
17085
|
size: "lg",
|
|
@@ -17264,7 +17264,7 @@ const Du = ({
|
|
|
17264
17264
|
/* @__PURE__ */ a(
|
|
17265
17265
|
"span",
|
|
17266
17266
|
{
|
|
17267
|
-
className: `${
|
|
17267
|
+
className: `${J("success").replace("bg-", "text-")} mt-0.5`,
|
|
17268
17268
|
children: "✓"
|
|
17269
17269
|
}
|
|
17270
17270
|
),
|
|
@@ -17634,24 +17634,24 @@ const qu = ({
|
|
|
17634
17634
|
contentKey: w,
|
|
17635
17635
|
animationRef: C
|
|
17636
17636
|
}) => {
|
|
17637
|
-
const { containerClass: v } = he(), N = (
|
|
17637
|
+
const { containerClass: v } = he(), N = (Q) => Q ? Q.split("-")[0].trim() : "Back", $ = r ? N(r) : t ? N(t) : "Back", [E, I] = T(!1), [M, U] = T("auto"), z = j(null), D = j(
|
|
17638
17638
|
null
|
|
17639
17639
|
);
|
|
17640
17640
|
P(() => (C && (C.current = {
|
|
17641
|
-
triggerTransition: (
|
|
17641
|
+
triggerTransition: (Q) => {
|
|
17642
17642
|
if (!x) {
|
|
17643
|
-
|
|
17643
|
+
Q();
|
|
17644
17644
|
return;
|
|
17645
17645
|
}
|
|
17646
17646
|
if (z.current) {
|
|
17647
|
-
const
|
|
17648
|
-
U(
|
|
17647
|
+
const te = z.current.scrollHeight;
|
|
17648
|
+
U(te);
|
|
17649
17649
|
}
|
|
17650
17650
|
I(!0), D.current && clearTimeout(D.current), D.current = setTimeout(() => {
|
|
17651
|
-
|
|
17651
|
+
Q(), setTimeout(() => {
|
|
17652
17652
|
if (z.current) {
|
|
17653
|
-
const
|
|
17654
|
-
U(
|
|
17653
|
+
const te = z.current.scrollHeight;
|
|
17654
|
+
U(te), setTimeout(() => {
|
|
17655
17655
|
U("auto"), I(!1);
|
|
17656
17656
|
}, k);
|
|
17657
17657
|
}
|
|
@@ -17670,7 +17670,7 @@ const qu = ({
|
|
|
17670
17670
|
maxWidth: "100%"
|
|
17671
17671
|
} : { width: "100%", maxWidth: "100%" }, F = x ? `${E ? "opacity-0 transform translate-y-2" : "opacity-100 transform translate-y-0"}` : "", _ = x ? {
|
|
17672
17672
|
transition: `opacity ${k}ms ease-in-out, transform ${k}ms ease-in-out`
|
|
17673
|
-
} : {};
|
|
17673
|
+
} : {}, K = !!s;
|
|
17674
17674
|
return /* @__PURE__ */ g("div", { className: "w-full flex-1 min-h-0 flex flex-col", children: [
|
|
17675
17675
|
l && /* @__PURE__ */ a("div", { className: "z-10 flex-shrink-0 hidden md:block", children: l }),
|
|
17676
17676
|
/* @__PURE__ */ g("div", { className: "flex-1 min-h-0 flex flex-col", children: [
|
|
@@ -17678,6 +17678,7 @@ const qu = ({
|
|
|
17678
17678
|
"div",
|
|
17679
17679
|
{
|
|
17680
17680
|
className: `md:hidden ${u === "navigation" ? "block" : "hidden"} flex-1 overflow-y-auto`,
|
|
17681
|
+
"aria-hidden": K ? !0 : void 0,
|
|
17681
17682
|
children: [
|
|
17682
17683
|
l && /* @__PURE__ */ a("div", { className: "flex-shrink-0", children: l }),
|
|
17683
17684
|
/* @__PURE__ */ g(
|
|
@@ -17748,6 +17749,7 @@ const qu = ({
|
|
|
17748
17749
|
width: `${f}px`,
|
|
17749
17750
|
minWidth: `${f}px`
|
|
17750
17751
|
},
|
|
17752
|
+
"aria-hidden": K ? !0 : void 0,
|
|
17751
17753
|
children: [
|
|
17752
17754
|
t && /* @__PURE__ */ a(
|
|
17753
17755
|
"h2",
|
|
@@ -19246,7 +19248,7 @@ const xr = (t) => ({
|
|
|
19246
19248
|
userInput: "Sanitize all user inputs, especially wallet addresses and transaction data",
|
|
19247
19249
|
privateKeys: "Never log, store, or transmit private keys - they should remain in wallets only",
|
|
19248
19250
|
phishing: "Implement strict CSP to prevent injection of malicious scripts that could steal wallet access"
|
|
19249
|
-
},
|
|
19251
|
+
}, le = /* @__PURE__ */ new Map(), ke = /* @__PURE__ */ new Map(), We = /* @__PURE__ */ new Set();
|
|
19250
19252
|
let Ie = "medium", xt = !1;
|
|
19251
19253
|
function io() {
|
|
19252
19254
|
if ("connection" in navigator) {
|
|
@@ -19268,8 +19270,8 @@ function R0(t, e, r = {}) {
|
|
|
19268
19270
|
onLoad: d,
|
|
19269
19271
|
onError: m
|
|
19270
19272
|
} = r;
|
|
19271
|
-
if (
|
|
19272
|
-
return
|
|
19273
|
+
if (le.has(e))
|
|
19274
|
+
return le.get(e).component;
|
|
19273
19275
|
const h = me(async () => {
|
|
19274
19276
|
const f = performance.now();
|
|
19275
19277
|
if (ke.has(e))
|
|
@@ -19287,7 +19289,7 @@ function R0(t, e, r = {}) {
|
|
|
19287
19289
|
timestamp: Date.now(),
|
|
19288
19290
|
loadTime: x
|
|
19289
19291
|
};
|
|
19290
|
-
if (
|
|
19292
|
+
if (le.set(e, k), i === "session")
|
|
19291
19293
|
try {
|
|
19292
19294
|
sessionStorage.setItem(
|
|
19293
19295
|
`lazy_${e}`,
|
|
@@ -19306,7 +19308,7 @@ function R0(t, e, r = {}) {
|
|
|
19306
19308
|
}), y = (f) => {
|
|
19307
19309
|
const [p, b] = T(!0);
|
|
19308
19310
|
P(() => {
|
|
19309
|
-
if (l && !
|
|
19311
|
+
if (l && !le.has(e) && l() && !We.has(e)) {
|
|
19310
19312
|
We.add(e);
|
|
19311
19313
|
const w = uo(u, Ie);
|
|
19312
19314
|
setTimeout(() => {
|
|
@@ -19377,7 +19379,7 @@ const $e = class $e {
|
|
|
19377
19379
|
}
|
|
19378
19380
|
static preloadLikelyRoutes(e) {
|
|
19379
19381
|
this.getRouteTransitionProbability(e).forEach(({ route: n, probability: o }) => {
|
|
19380
|
-
o > 0.3 && !
|
|
19382
|
+
o > 0.3 && !le.has(n) && setTimeout(() => {
|
|
19381
19383
|
this.routeMap.get(n);
|
|
19382
19384
|
}, Ie === "fast" ? 1e3 : 3e3);
|
|
19383
19385
|
});
|
|
@@ -19412,7 +19414,7 @@ const $e = class $e {
|
|
|
19412
19414
|
static getStats() {
|
|
19413
19415
|
return {
|
|
19414
19416
|
routeCount: this.routeMap.size,
|
|
19415
|
-
cacheSize:
|
|
19417
|
+
cacheSize: le.size,
|
|
19416
19418
|
currentRoute: this.currentRoute,
|
|
19417
19419
|
usageStats: Object.fromEntries(this.routeUsageStats)
|
|
19418
19420
|
};
|
|
@@ -19459,15 +19461,15 @@ const B0 = ({ src: t, alt: e, className: r, placeholder: n, priority: o = "mediu
|
|
|
19459
19461
|
] });
|
|
19460
19462
|
};
|
|
19461
19463
|
function j0() {
|
|
19462
|
-
|
|
19464
|
+
le.clear(), We.clear();
|
|
19463
19465
|
}
|
|
19464
19466
|
function F0() {
|
|
19465
19467
|
return {
|
|
19466
|
-
cachedComponents:
|
|
19468
|
+
cachedComponents: le.size,
|
|
19467
19469
|
preloadQueue: We.size,
|
|
19468
19470
|
networkSpeed: Ie,
|
|
19469
19471
|
isLowEndDevice: xt,
|
|
19470
|
-
cacheEntries: Array.from(
|
|
19472
|
+
cacheEntries: Array.from(le.entries()).map(([t, e]) => ({
|
|
19471
19473
|
name: t,
|
|
19472
19474
|
loadTime: e.loadTime,
|
|
19473
19475
|
age: Date.now() - e.timestamp
|
|
@@ -20488,7 +20490,7 @@ const et = {
|
|
|
20488
20490
|
);
|
|
20489
20491
|
}, cm = (t, e, r) => {
|
|
20490
20492
|
const n = j(e), o = j(void 0);
|
|
20491
|
-
return
|
|
20493
|
+
return ne(() => (r && process.env.NODE_ENV === "development" && e.some(
|
|
20492
20494
|
(s, l) => s !== n.current[l]
|
|
20493
20495
|
), n.current = e, o.current = t(), o.current), [t, r, e]);
|
|
20494
20496
|
}, Ve = /* @__PURE__ */ new Map(), dm = (t) => {
|
|
@@ -20551,7 +20553,7 @@ const et = {
|
|
|
20551
20553
|
s.forEach((i) => clearTimeout(i)), l.forEach((i) => clearInterval(i)), process.env.NODE_ENV;
|
|
20552
20554
|
};
|
|
20553
20555
|
}, [t]), { createTimer: n, createInterval: o };
|
|
20554
|
-
},
|
|
20556
|
+
}, ce = {
|
|
20555
20557
|
// Bundle size limits (in KB)
|
|
20556
20558
|
maxBundleSize: 500,
|
|
20557
20559
|
maxChunkSize: 200,
|
|
@@ -20567,14 +20569,14 @@ const et = {
|
|
|
20567
20569
|
// 0.1
|
|
20568
20570
|
check: (t) => {
|
|
20569
20571
|
const e = [];
|
|
20570
|
-
return t.FCP && t.FCP >
|
|
20571
|
-
`FCP (${t.FCP}ms) exceeds budget (${
|
|
20572
|
-
), t.LCP && t.LCP >
|
|
20573
|
-
`LCP (${t.LCP}ms) exceeds budget (${
|
|
20574
|
-
), t.FID && t.FID >
|
|
20575
|
-
`FID (${t.FID}ms) exceeds budget (${
|
|
20576
|
-
), t.CLS && t.CLS >
|
|
20577
|
-
`CLS (${t.CLS}) exceeds budget (${
|
|
20572
|
+
return t.FCP && t.FCP > ce.maxFCP && e.push(
|
|
20573
|
+
`FCP (${t.FCP}ms) exceeds budget (${ce.maxFCP}ms)`
|
|
20574
|
+
), t.LCP && t.LCP > ce.maxLCP && e.push(
|
|
20575
|
+
`LCP (${t.LCP}ms) exceeds budget (${ce.maxLCP}ms)`
|
|
20576
|
+
), t.FID && t.FID > ce.maxFID && e.push(
|
|
20577
|
+
`FID (${t.FID}ms) exceeds budget (${ce.maxFID}ms)`
|
|
20578
|
+
), t.CLS && t.CLS > ce.maxCLS && e.push(
|
|
20579
|
+
`CLS (${t.CLS}) exceeds budget (${ce.maxCLS})`
|
|
20578
20580
|
), e;
|
|
20579
20581
|
}
|
|
20580
20582
|
};
|
|
@@ -21556,7 +21558,7 @@ const Uo = ({ direction: t, className: e }) => /* @__PURE__ */ a(
|
|
|
21556
21558
|
onMetricsUpdate: d,
|
|
21557
21559
|
className: m
|
|
21558
21560
|
}) => {
|
|
21559
|
-
const h = t ?? (typeof process < "u" && process.env?.NODE_ENV !== "production"), [y, f] = T(e), [p, b] = T(r), x =
|
|
21561
|
+
const h = t ?? (typeof process < "u" && process.env?.NODE_ENV !== "production"), [y, f] = T(e), [p, b] = T(r), x = ne(
|
|
21560
21562
|
() => u,
|
|
21561
21563
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
21562
21564
|
[JSON.stringify(u)]
|
|
@@ -21812,7 +21814,7 @@ function Rm(t) {
|
|
|
21812
21814
|
loginPath: e = "/login",
|
|
21813
21815
|
defaultRedirect: r = "/",
|
|
21814
21816
|
currentLanguage: n
|
|
21815
|
-
} = t ?? {}, o = Ye(), [s] = ra(), l = s.get("redirect"), i =
|
|
21817
|
+
} = t ?? {}, o = Ye(), [s] = ra(), l = s.get("redirect"), i = ne(
|
|
21816
21818
|
() => l || r,
|
|
21817
21819
|
[l, r]
|
|
21818
21820
|
), u = R(
|
|
@@ -21837,7 +21839,7 @@ function Bm({
|
|
|
21837
21839
|
validateOnChange: e = !1,
|
|
21838
21840
|
validateOnBlur: r = !0
|
|
21839
21841
|
}) {
|
|
21840
|
-
const n =
|
|
21842
|
+
const n = ne(() => {
|
|
21841
21843
|
const E = {};
|
|
21842
21844
|
for (const I in t)
|
|
21843
21845
|
E[I] = t[I].initialValue;
|
|
@@ -21919,12 +21921,12 @@ function Bm({
|
|
|
21919
21921
|
), v = R(
|
|
21920
21922
|
(E) => u[E] ? l[E] : void 0,
|
|
21921
21923
|
[u, l]
|
|
21922
|
-
), N =
|
|
21924
|
+
), N = ne(() => {
|
|
21923
21925
|
for (const E in t)
|
|
21924
21926
|
if (y(E))
|
|
21925
21927
|
return !1;
|
|
21926
21928
|
return !0;
|
|
21927
|
-
}, [t, y]), $ =
|
|
21929
|
+
}, [t, y]), $ = ne(() => Object.values(m).some(Boolean), [m]);
|
|
21928
21930
|
return {
|
|
21929
21931
|
values: o,
|
|
21930
21932
|
errors: l,
|
|
@@ -22357,11 +22359,11 @@ function is(t) {
|
|
|
22357
22359
|
"React Native navigation service not implemented in shared library"
|
|
22358
22360
|
);
|
|
22359
22361
|
}
|
|
22360
|
-
function
|
|
22362
|
+
function se(t) {
|
|
22361
22363
|
return tt || (tt = is()), tt;
|
|
22362
22364
|
}
|
|
22363
22365
|
function vh() {
|
|
22364
|
-
const t =
|
|
22366
|
+
const t = se(), e = t.getCurrentState();
|
|
22365
22367
|
return {
|
|
22366
22368
|
navigate: (r, n) => {
|
|
22367
22369
|
t.navigate(r, n);
|
|
@@ -22380,7 +22382,7 @@ function vh() {
|
|
|
22380
22382
|
};
|
|
22381
22383
|
}
|
|
22382
22384
|
function xh() {
|
|
22383
|
-
const e =
|
|
22385
|
+
const e = se().getCurrentState(), r = Object.keys(e.searchParams).length > 0 ? "?" + new URLSearchParams(e.searchParams).toString() : "";
|
|
22384
22386
|
return {
|
|
22385
22387
|
pathname: e.currentPath,
|
|
22386
22388
|
search: r,
|
|
@@ -22394,7 +22396,7 @@ function xh() {
|
|
|
22394
22396
|
};
|
|
22395
22397
|
}
|
|
22396
22398
|
function wh() {
|
|
22397
|
-
const t =
|
|
22399
|
+
const t = se(), e = t.getCurrentState();
|
|
22398
22400
|
return [new URLSearchParams(e.searchParams), (o) => {
|
|
22399
22401
|
const s = o instanceof URLSearchParams ? Object.fromEntries(o.entries()) : o, l = new URLSearchParams(s).toString(), i = e.currentPath + (l ? `?${l}` : "");
|
|
22400
22402
|
t.replace(i);
|
|
@@ -22407,14 +22409,14 @@ const fe = {
|
|
|
22407
22409
|
* @param options Navigation options
|
|
22408
22410
|
*/
|
|
22409
22411
|
navigate: (t, e) => {
|
|
22410
|
-
|
|
22412
|
+
se().navigate(t, e);
|
|
22411
22413
|
},
|
|
22412
22414
|
/**
|
|
22413
22415
|
* Go back to previous screen
|
|
22414
22416
|
* @param fallbackPath Fallback path if no history
|
|
22415
22417
|
*/
|
|
22416
22418
|
goBack: (t) => {
|
|
22417
|
-
|
|
22419
|
+
se().goBack(t);
|
|
22418
22420
|
},
|
|
22419
22421
|
/**
|
|
22420
22422
|
* Replace current route
|
|
@@ -22422,16 +22424,16 @@ const fe = {
|
|
|
22422
22424
|
* @param options Navigation options
|
|
22423
22425
|
*/
|
|
22424
22426
|
replace: (t, e) => {
|
|
22425
|
-
|
|
22427
|
+
se().replace(t, e);
|
|
22426
22428
|
},
|
|
22427
22429
|
/**
|
|
22428
22430
|
* Get current path
|
|
22429
22431
|
*/
|
|
22430
|
-
getCurrentPath: () =>
|
|
22432
|
+
getCurrentPath: () => se().getCurrentPath(),
|
|
22431
22433
|
/**
|
|
22432
22434
|
* Get search parameters
|
|
22433
22435
|
*/
|
|
22434
|
-
getSearchParams: () =>
|
|
22436
|
+
getSearchParams: () => se().getSearchParams(),
|
|
22435
22437
|
/**
|
|
22436
22438
|
* Navigate to mail app
|
|
22437
22439
|
*/
|
|
@@ -22478,7 +22480,7 @@ const fe = {
|
|
|
22478
22480
|
/**
|
|
22479
22481
|
* Check if can go back
|
|
22480
22482
|
*/
|
|
22481
|
-
canGoBack: () =>
|
|
22483
|
+
canGoBack: () => se().canGoBack()
|
|
22482
22484
|
};
|
|
22483
22485
|
function kh(t, e = 3, r = 1e3) {
|
|
22484
22486
|
return me(() => new Promise((n, o) => {
|
|
@@ -23023,7 +23025,7 @@ export {
|
|
|
23023
23025
|
nu as BreadcrumbSection,
|
|
23024
23026
|
qo as BundleSection,
|
|
23025
23027
|
cd as BurndownChart,
|
|
23026
|
-
|
|
23028
|
+
ie as Button,
|
|
23027
23029
|
Qn as CACHE_CONFIGS,
|
|
23028
23030
|
ju as CTASection,
|
|
23029
23031
|
Ra as Calendar,
|
|
@@ -23305,7 +23307,7 @@ export {
|
|
|
23305
23307
|
Zl as TextField,
|
|
23306
23308
|
Vd as TextInputModal,
|
|
23307
23309
|
rl as TextLink,
|
|
23308
|
-
|
|
23310
|
+
re as Theme,
|
|
23309
23311
|
br as ThemeContext,
|
|
23310
23312
|
Pu as ThemeProvider,
|
|
23311
23313
|
Ma as TimePicker,
|
|
@@ -23484,7 +23486,7 @@ export {
|
|
|
23484
23486
|
J0 as getPreloadingStats,
|
|
23485
23487
|
um as getRenderCounts,
|
|
23486
23488
|
lo as getSecurityHeaders,
|
|
23487
|
-
|
|
23489
|
+
se as getUINavigationService,
|
|
23488
23490
|
pe as getWebVitalRating,
|
|
23489
23491
|
bm as getWebVitals,
|
|
23490
23492
|
hs as hashString,
|
|
@@ -23526,7 +23528,7 @@ export {
|
|
|
23526
23528
|
Ym as optimizeWillChange,
|
|
23527
23529
|
Xn as optimizedFetch,
|
|
23528
23530
|
Wm as parseFileSize,
|
|
23529
|
-
|
|
23531
|
+
ce as performanceBudget,
|
|
23530
23532
|
et as performanceUtils,
|
|
23531
23533
|
as as prefersReducedMotion,
|
|
23532
23534
|
ym as prefetchResource,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MasterDetailLayout.d.ts","sourceRoot":"","sources":["../../src/layout/MasterDetailLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAA+B,MAAM,OAAO,CAAC;AAItE;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAClC,8CAA8C;IAC9C,UAAU,EAAE,OAAO,CAAC;IACpB,oBAAoB;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,2CAA2C;IAC3C,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACnD,sBAAsB;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,kCAAkC;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,8CAA8C;IAC9C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAsDxD,CAAC;AAEF,MAAM,WAAW,uBAAuB;IACtC,8DAA8D;IAC9D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,uFAAuF;IACvF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,qFAAqF;IACrF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,qFAAqF;IACrF,aAAa,EAAE,SAAS,CAAC;IACzB,mFAAmF;IACnF,aAAa,EAAE,SAAS,CAAC;IACzB,mFAAmF;IACnF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,4EAA4E;IAC5E,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,+EAA+E;IAC/E,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B,oFAAoF;IACpF,UAAU,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;IACtC,sEAAsE;IACtE,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;IAChC,8CAA8C;IAC9C,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,8CAA8C;IAC9C,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,oCAAoC;IACpC,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,4DAA4D;IAC5D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,yEAAyE;IACzE,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,kEAAkE;IAClE,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,8EAA8E;IAC9E,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,4EAA4E;IAC5E,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,yEAAyE;IACzE,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,wDAAwD;IACxD,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,wEAAwE;IACxE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,+CAA+C;IAC/C,YAAY,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC;QACpC,iBAAiB,EAAE,CAAC,eAAe,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC;KAC1D,GAAG,IAAI,CAAC,CAAC;CACX;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,
|
|
1
|
+
{"version":3,"file":"MasterDetailLayout.d.ts","sourceRoot":"","sources":["../../src/layout/MasterDetailLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAA+B,MAAM,OAAO,CAAC;AAItE;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAClC,8CAA8C;IAC9C,UAAU,EAAE,OAAO,CAAC;IACpB,oBAAoB;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,2CAA2C;IAC3C,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACnD,sBAAsB;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,kCAAkC;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,8CAA8C;IAC9C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAsDxD,CAAC;AAEF,MAAM,WAAW,uBAAuB;IACtC,8DAA8D;IAC9D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,uFAAuF;IACvF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,qFAAqF;IACrF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,qFAAqF;IACrF,aAAa,EAAE,SAAS,CAAC;IACzB,mFAAmF;IACnF,aAAa,EAAE,SAAS,CAAC;IACzB,mFAAmF;IACnF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,4EAA4E;IAC5E,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,+EAA+E;IAC/E,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B,oFAAoF;IACpF,UAAU,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;IACtC,sEAAsE;IACtE,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;IAChC,8CAA8C;IAC9C,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,8CAA8C;IAC9C,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,oCAAoC;IACpC,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,4DAA4D;IAC5D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,yEAAyE;IACzE,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,kEAAkE;IAClE,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,8EAA8E;IAC9E,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,4EAA4E;IAC5E,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,yEAAyE;IACzE,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,wDAAwD;IACxD,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,wEAAwE;IACxE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,+CAA+C;IAC/C,YAAY,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC;QACpC,iBAAiB,EAAE,CAAC,eAAe,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC;KAC1D,GAAG,IAAI,CAAC,CAAC;CACX;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAgRhE,CAAC"}
|