@sudobility/components 2.0.18 → 2.0.20
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.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +974 -1014
- package/dist/index.umd.js +9 -9
- package/dist/ui/alert.d.ts +1 -1
- package/dist/ui/alert.d.ts.map +1 -1
- package/dist/ui/design-system-components.d.ts +0 -8
- package/dist/ui/design-system-components.d.ts.map +1 -1
- package/dist/ui/index.d.ts +1 -1
- package/dist/ui/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { clsx as
|
|
2
|
-
import { twMerge as
|
|
1
|
+
import { clsx as Un } from "clsx";
|
|
2
|
+
import { twMerge as qn } from "tailwind-merge";
|
|
3
3
|
import * as x from "react";
|
|
4
|
-
import P, { lazy as ve, Suspense as
|
|
4
|
+
import P, { lazy as ve, Suspense as Ue, useEffect as V, useState as R, useCallback as re, useRef as q, useLayoutEffect as Er, Component as Ar, memo as qe, useMemo as Lt } from "react";
|
|
5
5
|
import { jsx as i, Fragment as H, jsxs as h } from "react/jsx-runtime";
|
|
6
|
-
import { onCLS as
|
|
7
|
-
import { XCircleIcon as
|
|
8
|
-
import { ArrowLeftIcon as
|
|
9
|
-
import { Slot as
|
|
6
|
+
import { onCLS as Gn, onINP as Kn, onFCP as Yn, onLCP as Qn, onTTFB as Xn } from "web-vitals";
|
|
7
|
+
import { XCircleIcon as Pr, BellAlertIcon as Zn, ExclamationTriangleIcon as Tr, CheckCircleIcon as $r, InformationCircleIcon as et, ArrowPathIcon as Jn, ChevronRightIcon as It, Cog6ToothIcon as Xt, CurrencyDollarIcon as ea, AdjustmentsHorizontalIcon as ta, LinkIcon as ra, FunnelIcon as na, ChatBubbleLeftRightIcon as aa, ShieldCheckIcon as oa, ArrowRightIcon as Lr, ChevronUpIcon as ia, ChevronDownIcon as sa, ExclamationCircleIcon as la, XMarkIcon as ca, CheckIcon as Ir, ClipboardDocumentIcon as da, ClipboardIcon as ua, EnvelopeIcon as ma, LanguageIcon as ga } from "@heroicons/react/24/outline";
|
|
8
|
+
import { ArrowLeftIcon as W0, ArrowRightIcon as B0, Bars3Icon as j0, BellIcon as F0, BellSlashIcon as _0, ChartBarIcon as V0, CheckCircleIcon as H0, CheckIcon as U0, ChevronDownIcon as q0, ChevronLeftIcon as G0, ChevronRightIcon as K0, ChevronUpIcon as Y0, ClockIcon as Q0, CodeBracketIcon as X0, Cog6ToothIcon as Z0, CreditCardIcon as J0, DocumentTextIcon as eg, EnvelopeIcon as tg, ExclamationTriangleIcon as rg, EyeSlashIcon as ng, GlobeAltIcon as ag, HomeIcon as og, InboxIcon as ig, InformationCircleIcon as sg, KeyIcon as lg, MegaphoneIcon as cg, MinusIcon as dg, PaperAirplaneIcon as ug, PaperClipIcon as mg, PlusIcon as gg, RocketLaunchIcon as pg, ShieldCheckIcon as fg, SparklesIcon as hg, StarIcon as yg, TrashIcon as bg, UserGroupIcon as xg, XMarkIcon as vg } from "@heroicons/react/24/outline";
|
|
9
|
+
import { Slot as pa, createSlot as fa, createSlottable as ha } from "@radix-ui/react-slot";
|
|
10
10
|
import { cva as _ } from "class-variance-authority";
|
|
11
|
-
import { Root as
|
|
11
|
+
import { Root as Rr } from "@radix-ui/react-label";
|
|
12
12
|
import * as F from "@radix-ui/react-select";
|
|
13
|
-
import { ChevronDown as
|
|
14
|
-
import { Root as
|
|
15
|
-
import { List as
|
|
16
|
-
import * as
|
|
17
|
-
import
|
|
13
|
+
import { ChevronDown as Mr, ChevronUp as ya, Check as ba } from "lucide-react";
|
|
14
|
+
import { Root as Or, Thumb as xa } from "@radix-ui/react-switch";
|
|
15
|
+
import { List as Dr, Trigger as zr, Content as Wr, Root as va } from "@radix-ui/react-tabs";
|
|
16
|
+
import * as Br from "react-dom";
|
|
17
|
+
import wa, { createPortal as ka } from "react-dom";
|
|
18
18
|
import { Link as lt } from "react-router-dom";
|
|
19
|
-
import { TwitterIcon as
|
|
20
|
-
import { useTranslation as
|
|
21
|
-
import { CheckCircleIcon as
|
|
22
|
-
import { Helmet as
|
|
19
|
+
import { TwitterIcon as Ca, TwitterShareButton as Sa, FacebookIcon as Na, FacebookShareButton as Ea, LinkedinIcon as Aa, LinkedinShareButton as Pa, RedditIcon as Ta, RedditShareButton as $a, TelegramIcon as La, TelegramShareButton as Ia, WhatsappIcon as Ra, WhatsappShareButton as Ma } from "react-share";
|
|
20
|
+
import { useTranslation as jr } from "react-i18next";
|
|
21
|
+
import { CheckCircleIcon as kg, CheckIcon as Cg, ExclamationTriangleIcon as Sg, StarIcon as Ng } from "@heroicons/react/24/solid";
|
|
22
|
+
import { Helmet as Oa } from "react-helmet-async";
|
|
23
23
|
function v(...e) {
|
|
24
|
-
return
|
|
24
|
+
return qn(Un(e));
|
|
25
25
|
}
|
|
26
|
-
const
|
|
26
|
+
const Mc = (e) => e, Oc = (e) => {
|
|
27
27
|
if (typeof document > "u") return;
|
|
28
28
|
const t = document.createElement("style");
|
|
29
29
|
t.textContent = e, t.setAttribute("data-critical", "true"), document.head.appendChild(t);
|
|
30
|
-
},
|
|
30
|
+
}, Dc = (e) => {
|
|
31
31
|
if (typeof document > "u") return;
|
|
32
32
|
const t = document.createElement("link");
|
|
33
33
|
t.rel = "preload", t.as = "style", t.href = e, t.onload = () => {
|
|
@@ -35,19 +35,19 @@ const Oc = (e) => e, Dc = (e) => {
|
|
|
35
35
|
}, document.head.appendChild(t);
|
|
36
36
|
const r = document.createElement("noscript");
|
|
37
37
|
r.innerHTML = `<link rel="stylesheet" href="${e}">`, document.head.appendChild(r);
|
|
38
|
-
},
|
|
38
|
+
}, zc = (e) => {
|
|
39
39
|
const t = {};
|
|
40
40
|
return Object.entries(e).forEach(([r, n]) => {
|
|
41
41
|
t[`--${r}`] = typeof n == "number" ? `${n}px` : n;
|
|
42
42
|
}), t;
|
|
43
|
-
},
|
|
43
|
+
}, Da = {
|
|
44
44
|
xs: 475,
|
|
45
45
|
sm: 640,
|
|
46
46
|
md: 768,
|
|
47
47
|
lg: 1024,
|
|
48
48
|
xl: 1280,
|
|
49
49
|
"2xl": 1536
|
|
50
|
-
},
|
|
50
|
+
}, Wc = (e, t = Da) => {
|
|
51
51
|
const [r, n] = P.useState("base");
|
|
52
52
|
return P.useEffect(() => {
|
|
53
53
|
const a = () => {
|
|
@@ -56,8 +56,8 @@ const Oc = (e) => e, Dc = (e) => {
|
|
|
56
56
|
};
|
|
57
57
|
return a(), window.addEventListener("resize", a), () => window.removeEventListener("resize", a);
|
|
58
58
|
}, [t]), e[r] || e.base || {};
|
|
59
|
-
},
|
|
60
|
-
const [e, t] = P.useState(
|
|
59
|
+
}, za = () => typeof window > "u" ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches, Bc = () => {
|
|
60
|
+
const [e, t] = P.useState(za);
|
|
61
61
|
return P.useEffect(() => {
|
|
62
62
|
const r = window.matchMedia("(prefers-reduced-motion: reduce)"), n = () => {
|
|
63
63
|
t(r.matches);
|
|
@@ -66,18 +66,18 @@ const Oc = (e) => e, Dc = (e) => {
|
|
|
66
66
|
r.removeEventListener ? r.removeEventListener("change", n) : r.removeListener(n);
|
|
67
67
|
};
|
|
68
68
|
}, []), e;
|
|
69
|
-
},
|
|
69
|
+
}, jc = (e, t = [
|
|
70
70
|
"layout",
|
|
71
71
|
"paint"
|
|
72
72
|
]) => {
|
|
73
73
|
e && (e.style.contain = t.join(" "));
|
|
74
|
-
},
|
|
74
|
+
}, Fc = (e, t) => e ? (e.style.willChange = t.join(", "), () => {
|
|
75
75
|
e.style.willChange = "auto";
|
|
76
|
-
}) : void 0,
|
|
76
|
+
}) : void 0, _c = (e) => {
|
|
77
77
|
typeof window > "u" || requestAnimationFrame(() => {
|
|
78
78
|
e.forEach((t) => t());
|
|
79
79
|
});
|
|
80
|
-
},
|
|
80
|
+
}, Vc = (...e) => e.filter(Boolean).join(" "), Hc = (e) => {
|
|
81
81
|
const t = {}, r = [
|
|
82
82
|
"display",
|
|
83
83
|
"position",
|
|
@@ -93,7 +93,7 @@ const Oc = (e) => e, Dc = (e) => {
|
|
|
93
93
|
return Object.entries(e).forEach(([n, a]) => {
|
|
94
94
|
r.includes(n) && (t[n] = a);
|
|
95
95
|
}), t;
|
|
96
|
-
},
|
|
96
|
+
}, Uc = (e, t = []) => {
|
|
97
97
|
const [r, n] = P.useState(null), [a, o] = P.useState(!0);
|
|
98
98
|
return P.useEffect(() => {
|
|
99
99
|
let s = !0;
|
|
@@ -103,21 +103,21 @@ const Oc = (e) => e, Dc = (e) => {
|
|
|
103
103
|
s = !1;
|
|
104
104
|
};
|
|
105
105
|
}, [e, ...t]), { styles: r, loading: a };
|
|
106
|
-
},
|
|
106
|
+
}, qc = (e, t = "1rem") => ({
|
|
107
107
|
display: "grid",
|
|
108
108
|
gridTemplateColumns: `repeat(${e}, minmax(0, 1fr))`,
|
|
109
109
|
gap: t,
|
|
110
110
|
// Optimize for performance
|
|
111
111
|
contain: "layout",
|
|
112
112
|
willChange: "transform"
|
|
113
|
-
}),
|
|
113
|
+
}), Gc = (e = "row", t = "center", r = "flex-start") => ({
|
|
114
114
|
display: "flex",
|
|
115
115
|
flexDirection: e,
|
|
116
116
|
alignItems: t,
|
|
117
117
|
justifyContent: r,
|
|
118
118
|
// Optimize for performance
|
|
119
119
|
contain: "layout"
|
|
120
|
-
}),
|
|
120
|
+
}), Kc = (e) => {
|
|
121
121
|
const [t, r] = P.useState(!1);
|
|
122
122
|
return P.useEffect(() => {
|
|
123
123
|
const n = window.matchMedia(e);
|
|
@@ -127,7 +127,7 @@ const Oc = (e) => e, Dc = (e) => {
|
|
|
127
127
|
n.removeEventListener ? n.removeEventListener("change", a) : n.removeListener(a);
|
|
128
128
|
};
|
|
129
129
|
}, [e]), t;
|
|
130
|
-
},
|
|
130
|
+
}, Yc = (e, t) => {
|
|
131
131
|
const [r, n] = P.useState("light");
|
|
132
132
|
return P.useEffect(() => {
|
|
133
133
|
const a = window.matchMedia("(prefers-color-scheme: dark)");
|
|
@@ -139,17 +139,17 @@ const Oc = (e) => e, Dc = (e) => {
|
|
|
139
139
|
a.removeEventListener ? a.removeEventListener("change", o) : a.removeListener(o);
|
|
140
140
|
};
|
|
141
141
|
}, []), r === "dark" ? t : e;
|
|
142
|
-
},
|
|
142
|
+
}, Qc = (e) => {
|
|
143
143
|
const t = {
|
|
144
144
|
src: e.src,
|
|
145
145
|
alt: e.alt,
|
|
146
146
|
loading: e.loading || "lazy"
|
|
147
147
|
};
|
|
148
148
|
return e.title && (t.title = e.title), e.width && (t.width = e.width), e.height && (t.height = e.height), e.sizes && (t.sizes = e.sizes), e.srcSet && (t.srcSet = e.srcSet), t.itemProp = "image", t;
|
|
149
|
-
},
|
|
149
|
+
}, Xc = (e, t = [320, 640, 768, 1024, 1280, 1920]) => t.map((r) => `${e.replace(/\{width\}/g, r.toString())} ${r}w`).join(", "), Zc = (e) => e.map((t) => t.maxWidth ? `(max-width: ${t.maxWidth}px) ${t.size}` : t.size).join(", "), Jc = (e, t = "openGraph") => {
|
|
150
150
|
const r = {};
|
|
151
151
|
return t === "openGraph" ? (r["og:image"] = e.url, e.width && (r["og:image:width"] = e.width.toString()), e.height && (r["og:image:height"] = e.height.toString()), e.alt && (r["og:image:alt"] = e.alt), e.type && (r["og:image:type"] = e.type)) : (r["twitter:image"] = e.url, e.alt && (r["twitter:image:alt"] = e.alt)), r;
|
|
152
|
-
},
|
|
152
|
+
}, ed = (e = 'img[loading="lazy"]') => {
|
|
153
153
|
if (typeof window > "u" || !("IntersectionObserver" in window))
|
|
154
154
|
return;
|
|
155
155
|
const t = document.querySelectorAll(e);
|
|
@@ -176,21 +176,21 @@ const Oc = (e) => e, Dc = (e) => {
|
|
|
176
176
|
return t.forEach((n) => r.observe(n)), () => {
|
|
177
177
|
t.forEach((n) => r.unobserve(n));
|
|
178
178
|
};
|
|
179
|
-
},
|
|
179
|
+
}, Wa = () => typeof window > "u" ? Promise.resolve(!1) : new Promise((e) => {
|
|
180
180
|
const t = new Image();
|
|
181
181
|
t.onload = t.onerror = function() {
|
|
182
182
|
e(t.height === 2);
|
|
183
183
|
}, t.src = "data:image/webp;base64,UklGRjoAAABXRUJQVlA4IC4AAACyAgCdASoCAAIALmk0mk0iIiIiIgBoSygABc6WWgAA/veff/0PP8bA//LwYAAA";
|
|
184
|
-
}),
|
|
184
|
+
}), Ba = () => typeof window > "u" ? Promise.resolve(!1) : new Promise((e) => {
|
|
185
185
|
const t = new Image();
|
|
186
186
|
t.onload = () => e(!0), t.onerror = () => e(!1), t.src = "data:image/avif;base64,AAAAIGZ0eXBhdmlmAAAAAGF2aWZtaWYxbWlhZk1BMUIAAADybWV0YQAAAAAAAAAoaGRscgAAAAAAAAAAcGljdAAAAAAAAAAAAAAAAGxpYmF2aWYAAAAADnBpdG0AAAAAAAEAAAAeaWxvYwAAAABEAAABAAEAAAABAAABGgAAAB0AAAAoaWluZgAAAAAAAQAAABppbmZlAgAAAAABAABhdjAxQ29sb3IAAAAAamlwcnAAAABLaXBjbwAAABRpc3BlAAAAAAAAAAIAAAACAAAAEHBpeGkAAAAAAwgICAAAAAxhdjFDgQ0MAAAAABNjb2xybmNseAACAAIAAYAAAAAXaXBtYQAAAAAAAAABAAEEAQKDBAAAACVtZGF0EgAKCBgANogQEAwgMg8f8D///8WfhwB8+ErK42A=";
|
|
187
|
-
}),
|
|
187
|
+
}), td = async (e = "jpg") => {
|
|
188
188
|
const [t, r] = await Promise.all([
|
|
189
|
-
|
|
190
|
-
|
|
189
|
+
Wa(),
|
|
190
|
+
Ba()
|
|
191
191
|
]);
|
|
192
192
|
return r ? "avif" : t ? "webp" : e;
|
|
193
|
-
},
|
|
193
|
+
}, rd = (e, t, r, n) => `
|
|
194
194
|
<picture>
|
|
195
195
|
${e.map((o) => {
|
|
196
196
|
const s = [`srcset="${o.srcSet}"`];
|
|
@@ -198,11 +198,11 @@ const Oc = (e) => e, Dc = (e) => {
|
|
|
198
198
|
}).join(`
|
|
199
199
|
`)}
|
|
200
200
|
<img src="${t}" alt="${r}"${n ? ` class="${n}"` : ""} loading="lazy">
|
|
201
|
-
</picture>`.trim(),
|
|
201
|
+
</picture>`.trim(), nd = (e, t = "image") => {
|
|
202
202
|
if (typeof document > "u") return;
|
|
203
203
|
const r = document.createElement("link");
|
|
204
204
|
r.rel = "preload", r.as = t, r.href = e, e.includes(".webp") ? r.type = "image/webp" : e.includes(".avif") && (r.type = "image/avif"), document.head.appendChild(r);
|
|
205
|
-
},
|
|
205
|
+
}, ad = (e, t, r) => {
|
|
206
206
|
if (typeof window > "u") return;
|
|
207
207
|
const n = new Image();
|
|
208
208
|
n.src = e, n.classList.add("progressive-image-placeholder"), r.appendChild(n);
|
|
@@ -214,7 +214,7 @@ const Oc = (e) => e, Dc = (e) => {
|
|
|
214
214
|
}, 300);
|
|
215
215
|
});
|
|
216
216
|
};
|
|
217
|
-
},
|
|
217
|
+
}, od = (e) => new Promise((t) => {
|
|
218
218
|
const r = performance.now();
|
|
219
219
|
e.complete ? t({
|
|
220
220
|
loadTime: 0,
|
|
@@ -242,14 +242,14 @@ const Oc = (e) => e, Dc = (e) => {
|
|
|
242
242
|
isOptimized: e.srcset !== "" || e.sizes !== ""
|
|
243
243
|
});
|
|
244
244
|
});
|
|
245
|
-
}),
|
|
245
|
+
}), id = (e, t, r = "#e0e0e0") => {
|
|
246
246
|
const n = `
|
|
247
247
|
<svg width="${e}" height="${t}" xmlns="http://www.w3.org/2000/svg">
|
|
248
248
|
<rect width="100%" height="100%" fill="${r}"/>
|
|
249
249
|
</svg>
|
|
250
250
|
`;
|
|
251
251
|
return `data:image/svg+xml;base64,${btoa(n)}`;
|
|
252
|
-
},
|
|
252
|
+
}, sd = (e, t) => {
|
|
253
253
|
const r = 1 / t * 100;
|
|
254
254
|
e.style.position = "relative", e.style.paddingTop = `${r}%`;
|
|
255
255
|
const n = e.querySelector("img");
|
|
@@ -268,7 +268,7 @@ const Oc = (e) => e, Dc = (e) => {
|
|
|
268
268
|
enablePerformanceMonitoring: process.env.VITE_ENABLE_PERF_MONITORING !== "false",
|
|
269
269
|
...e
|
|
270
270
|
})
|
|
271
|
-
},
|
|
271
|
+
}, ld = (e) => {
|
|
272
272
|
const t = {};
|
|
273
273
|
return Object.entries(e).forEach(([r, n]) => {
|
|
274
274
|
t[r] = () => {
|
|
@@ -279,7 +279,7 @@ const Oc = (e) => e, Dc = (e) => {
|
|
|
279
279
|
}
|
|
280
280
|
};
|
|
281
281
|
}), t;
|
|
282
|
-
},
|
|
282
|
+
}, ja = {
|
|
283
283
|
// Lightweight debounce (instead of importing lodash)
|
|
284
284
|
createDebounce: (e) => (t) => {
|
|
285
285
|
let r;
|
|
@@ -305,7 +305,7 @@ const Oc = (e) => e, Dc = (e) => {
|
|
|
305
305
|
const r = Object.keys(e), n = Object.keys(t);
|
|
306
306
|
if (r.length !== n.length) return !1;
|
|
307
307
|
for (const a of r)
|
|
308
|
-
if (!n.includes(a) || !
|
|
308
|
+
if (!n.includes(a) || !ja.isDeepEqual(e[a], t[a])) return !1;
|
|
309
309
|
return !0;
|
|
310
310
|
},
|
|
311
311
|
// Lightweight throttle
|
|
@@ -317,7 +317,7 @@ const Oc = (e) => e, Dc = (e) => {
|
|
|
317
317
|
return r = a, t(...n);
|
|
318
318
|
});
|
|
319
319
|
}
|
|
320
|
-
},
|
|
320
|
+
}, cd = (e) => {
|
|
321
321
|
const t = {};
|
|
322
322
|
return Object.entries(e).forEach(([r, n]) => {
|
|
323
323
|
t[r] = {}, Object.entries(n).forEach(([a, o]) => {
|
|
@@ -361,7 +361,7 @@ const Oc = (e) => e, Dc = (e) => {
|
|
|
361
361
|
}), { total: a, modules: n };
|
|
362
362
|
});
|
|
363
363
|
}
|
|
364
|
-
},
|
|
364
|
+
}, Fa = {
|
|
365
365
|
// Critical CSS utilities
|
|
366
366
|
inlineCriticalCSS: (e) => {
|
|
367
367
|
if (typeof document < "u") {
|
|
@@ -392,7 +392,7 @@ const Oc = (e) => e, Dc = (e) => {
|
|
|
392
392
|
unused: e.filter((r) => !t.has(r))
|
|
393
393
|
};
|
|
394
394
|
}
|
|
395
|
-
},
|
|
395
|
+
}, dd = (e = {}) => {
|
|
396
396
|
const {
|
|
397
397
|
features: t = {},
|
|
398
398
|
criticalCSS: r = "",
|
|
@@ -401,7 +401,7 @@ const Oc = (e) => e, Dc = (e) => {
|
|
|
401
401
|
return {
|
|
402
402
|
features: Oe.createFeatureFlags(t),
|
|
403
403
|
initialize: () => {
|
|
404
|
-
r && typeof document < "u" &&
|
|
404
|
+
r && typeof document < "u" && Fa.inlineCriticalCSS(r);
|
|
405
405
|
},
|
|
406
406
|
cleanup: () => {
|
|
407
407
|
De.usageTracker.clear();
|
|
@@ -413,15 +413,15 @@ const Oc = (e) => e, Dc = (e) => {
|
|
|
413
413
|
};
|
|
414
414
|
};
|
|
415
415
|
let ht;
|
|
416
|
-
function
|
|
416
|
+
function _a(e) {
|
|
417
417
|
throw typeof window < "u" ? new Error("Web navigation service not implemented in shared library") : new Error(
|
|
418
418
|
"React Native navigation service not implemented in shared library"
|
|
419
419
|
);
|
|
420
420
|
}
|
|
421
421
|
function se(e) {
|
|
422
|
-
return ht || (ht =
|
|
422
|
+
return ht || (ht = _a()), ht;
|
|
423
423
|
}
|
|
424
|
-
function
|
|
424
|
+
function ud() {
|
|
425
425
|
const e = se(), t = e.getCurrentState();
|
|
426
426
|
return {
|
|
427
427
|
navigate: (r, n) => {
|
|
@@ -440,7 +440,7 @@ function md() {
|
|
|
440
440
|
isSupported: e.isSupported()
|
|
441
441
|
};
|
|
442
442
|
}
|
|
443
|
-
function
|
|
443
|
+
function md() {
|
|
444
444
|
const t = se().getCurrentState(), r = Object.keys(t.searchParams).length > 0 ? "?" + new URLSearchParams(t.searchParams).toString() : "";
|
|
445
445
|
return {
|
|
446
446
|
pathname: t.currentPath,
|
|
@@ -454,7 +454,7 @@ function gd() {
|
|
|
454
454
|
// Simplified key generation
|
|
455
455
|
};
|
|
456
456
|
}
|
|
457
|
-
function
|
|
457
|
+
function gd() {
|
|
458
458
|
const e = se(), t = e.getCurrentState();
|
|
459
459
|
return [new URLSearchParams(t.searchParams), (a) => {
|
|
460
460
|
const o = a instanceof URLSearchParams ? Object.fromEntries(a.entries()) : a, s = new URLSearchParams(o).toString(), l = t.currentPath + (s ? `?${s}` : "");
|
|
@@ -540,7 +540,7 @@ const ke = {
|
|
|
540
540
|
* Check if can go back
|
|
541
541
|
*/
|
|
542
542
|
canGoBack: () => se().canGoBack()
|
|
543
|
-
},
|
|
543
|
+
}, pd = (e, t) => t.find((r) => r.href === e) || null, fd = (e, t, r) => {
|
|
544
544
|
const n = e.split("/").filter(Boolean);
|
|
545
545
|
if (n.length === 0)
|
|
546
546
|
return [{ label: "Home", current: !0 }];
|
|
@@ -565,7 +565,7 @@ const ke = {
|
|
|
565
565
|
current: d
|
|
566
566
|
});
|
|
567
567
|
}), a;
|
|
568
|
-
},
|
|
568
|
+
}, hd = {
|
|
569
569
|
/**
|
|
570
570
|
* Check if a path is currently active
|
|
571
571
|
*/
|
|
@@ -631,7 +631,7 @@ const ke = {
|
|
|
631
631
|
}
|
|
632
632
|
}
|
|
633
633
|
};
|
|
634
|
-
function
|
|
634
|
+
function yd(e, t = 3, r = 1e3) {
|
|
635
635
|
return ve(() => new Promise((n, a) => {
|
|
636
636
|
const o = (s) => {
|
|
637
637
|
e().then(n).catch((l) => {
|
|
@@ -643,13 +643,13 @@ function bd(e, t = 3, r = 1e3) {
|
|
|
643
643
|
o(t);
|
|
644
644
|
}));
|
|
645
645
|
}
|
|
646
|
-
function
|
|
646
|
+
function bd(e) {
|
|
647
647
|
let t = null;
|
|
648
648
|
const r = () => (t || (t = e()), t.then(() => {
|
|
649
649
|
}));
|
|
650
650
|
return { Component: ve(() => t || e()), preload: r };
|
|
651
651
|
}
|
|
652
|
-
function
|
|
652
|
+
function xd(e, t = {}) {
|
|
653
653
|
const {
|
|
654
654
|
fallback: r = /* @__PURE__ */ i("div", { children: "Loading..." }),
|
|
655
655
|
errorFallback: n = /* @__PURE__ */ i("div", { children: "Failed to load component" }),
|
|
@@ -676,9 +676,9 @@ function vd(e, t = {}) {
|
|
|
676
676
|
return () => clearTimeout(u);
|
|
677
677
|
}, []), c ? /* @__PURE__ */ i(H, { children: r }) : null;
|
|
678
678
|
};
|
|
679
|
-
return P.forwardRef((c, d) => /* @__PURE__ */ i(
|
|
679
|
+
return P.forwardRef((c, d) => /* @__PURE__ */ i(Ue, { fallback: /* @__PURE__ */ i(l, {}), children: /* @__PURE__ */ i(s, { ...c, ref: d }) }));
|
|
680
680
|
}
|
|
681
|
-
function
|
|
681
|
+
function Va(e, t = {}) {
|
|
682
682
|
const [r, n] = P.useState(!1), [a, o] = P.useState(!1);
|
|
683
683
|
return P.useEffect(() => {
|
|
684
684
|
const s = e.current;
|
|
@@ -698,20 +698,20 @@ function Ha(e, t = {}) {
|
|
|
698
698
|
};
|
|
699
699
|
}, [e, t, a]), r;
|
|
700
700
|
}
|
|
701
|
-
const
|
|
701
|
+
const vd = ({
|
|
702
702
|
children: e,
|
|
703
703
|
fallback: t = /* @__PURE__ */ i("div", { children: "Loading..." }),
|
|
704
704
|
threshold: r = 0.01,
|
|
705
705
|
rootMargin: n = "50px",
|
|
706
706
|
placeholder: a
|
|
707
707
|
}) => {
|
|
708
|
-
const o = P.useRef(null), s =
|
|
708
|
+
const o = P.useRef(null), s = Va(o, {
|
|
709
709
|
threshold: r,
|
|
710
710
|
rootMargin: n
|
|
711
711
|
});
|
|
712
712
|
return /* @__PURE__ */ i("div", { ref: o, children: s ? e : a || t });
|
|
713
713
|
};
|
|
714
|
-
function
|
|
714
|
+
function wd(e) {
|
|
715
715
|
const {
|
|
716
716
|
importFn: t,
|
|
717
717
|
preloadOnHover: r = !0,
|
|
@@ -740,7 +740,7 @@ function kd(e) {
|
|
|
740
740
|
}
|
|
741
741
|
};
|
|
742
742
|
}
|
|
743
|
-
function
|
|
743
|
+
function kd(e, t = []) {
|
|
744
744
|
const [r, n] = P.useState(null), [a, o] = P.useState(!0), [s, l] = P.useState(null);
|
|
745
745
|
return P.useEffect(() => {
|
|
746
746
|
let c = !0;
|
|
@@ -753,7 +753,7 @@ function Cd(e, t = []) {
|
|
|
753
753
|
};
|
|
754
754
|
}, [e, ...t]), { module: r, loading: a, error: s };
|
|
755
755
|
}
|
|
756
|
-
class
|
|
756
|
+
class Ha {
|
|
757
757
|
constructor(t = 3, r = 100) {
|
|
758
758
|
this.queue = /* @__PURE__ */ new Set(), this.isProcessing = !1, this.batchSize = t, this.delay = r;
|
|
759
759
|
}
|
|
@@ -768,15 +768,15 @@ class Ua {
|
|
|
768
768
|
}))), this.queue.size > 0 && await new Promise((r) => setTimeout(r, this.delay)), this.isProcessing = !1, this.queue.size > 0 && this.process();
|
|
769
769
|
}
|
|
770
770
|
}
|
|
771
|
-
function
|
|
771
|
+
function Cd(e, t, r) {
|
|
772
772
|
if (typeof document > "u") return;
|
|
773
773
|
const n = document.createElement("link");
|
|
774
774
|
n.rel = t, n.href = e, r && (t === "preload" || t === "prefetch") && (n.as = r), document.head.appendChild(n);
|
|
775
775
|
}
|
|
776
|
-
var
|
|
777
|
-
class
|
|
776
|
+
var Fr = /* @__PURE__ */ ((e) => (e[e.HIGH = 0] = "HIGH", e[e.MEDIUM = 1] = "MEDIUM", e[e.LOW = 2] = "LOW", e[e.IDLE = 3] = "IDLE", e))(Fr || {});
|
|
777
|
+
class Ua {
|
|
778
778
|
constructor() {
|
|
779
|
-
this.queues = /* @__PURE__ */ new Map(), this.isProcessing = !1, Object.values(
|
|
779
|
+
this.queues = /* @__PURE__ */ new Map(), this.isProcessing = !1, Object.values(Fr).filter((t) => typeof t == "number").forEach((t) => {
|
|
780
780
|
this.queues.set(t, []);
|
|
781
781
|
});
|
|
782
782
|
}
|
|
@@ -801,8 +801,8 @@ class qa {
|
|
|
801
801
|
}
|
|
802
802
|
}
|
|
803
803
|
}
|
|
804
|
-
const
|
|
805
|
-
class
|
|
804
|
+
const Sd = new Ha(), Nd = new Ua();
|
|
805
|
+
class Rt {
|
|
806
806
|
constructor(t = {}) {
|
|
807
807
|
this.prefix = t.prefix || "mailbox", this.defaultTTL = t.ttl, this.platformStorage = t.platformStorage || this.createFallbackStorage();
|
|
808
808
|
}
|
|
@@ -940,11 +940,11 @@ class Ot {
|
|
|
940
940
|
}
|
|
941
941
|
}
|
|
942
942
|
}
|
|
943
|
-
const
|
|
943
|
+
const Ed = new Rt(), Ad = new Rt({ prefix: "mailbox-theme" }), Pd = new Rt({
|
|
944
944
|
prefix: "walletUser",
|
|
945
945
|
ttl: 10080 * 60 * 1e3
|
|
946
946
|
// 7 days in milliseconds
|
|
947
|
-
}),
|
|
947
|
+
}), Td = (e) => {
|
|
948
948
|
if (!e)
|
|
949
949
|
throw new Error("PlatformStorage must be provided to createSimpleStorage");
|
|
950
950
|
return {
|
|
@@ -969,7 +969,7 @@ const Ad = new Ot(), Pd = new Ot({ prefix: "mailbox-theme" }), Td = new Ot({
|
|
|
969
969
|
}
|
|
970
970
|
};
|
|
971
971
|
};
|
|
972
|
-
function
|
|
972
|
+
function qa() {
|
|
973
973
|
const e = {
|
|
974
974
|
isWalletBrowser: !1,
|
|
975
975
|
walletType: "unknown",
|
|
@@ -996,8 +996,8 @@ function Ga() {
|
|
|
996
996
|
return e;
|
|
997
997
|
}
|
|
998
998
|
}
|
|
999
|
-
async function
|
|
1000
|
-
const e =
|
|
999
|
+
async function $d() {
|
|
1000
|
+
const e = qa();
|
|
1001
1001
|
if (!e.isWalletBrowser)
|
|
1002
1002
|
return { success: !1, error: "Not running in a wallet browser" };
|
|
1003
1003
|
try {
|
|
@@ -1025,20 +1025,20 @@ async function Ld() {
|
|
|
1025
1025
|
};
|
|
1026
1026
|
}
|
|
1027
1027
|
}
|
|
1028
|
-
class
|
|
1028
|
+
class Ga {
|
|
1029
1029
|
constructor(t) {
|
|
1030
1030
|
this.metrics = { timestamp: Date.now() }, this.observers = [], this.performanceMarks = /* @__PURE__ */ new Map(), this.reportCallback = t, this.initializeWebVitals(), this.initializeCustomObservers(), this.collectDeviceInfo();
|
|
1031
1031
|
}
|
|
1032
1032
|
initializeWebVitals() {
|
|
1033
|
-
|
|
1033
|
+
Gn((t) => {
|
|
1034
1034
|
this.metrics.CLS = t.value, this.reportMetric("CLS", t.value);
|
|
1035
|
-
}),
|
|
1035
|
+
}), Kn((t) => {
|
|
1036
1036
|
this.metrics.INP = t.value, this.reportMetric("INP", t.value);
|
|
1037
|
-
}),
|
|
1037
|
+
}), Yn((t) => {
|
|
1038
1038
|
this.metrics.FCP = t.value, this.reportMetric("FCP", t.value);
|
|
1039
|
-
}),
|
|
1039
|
+
}), Qn((t) => {
|
|
1040
1040
|
this.metrics.LCP = t.value, this.reportMetric("LCP", t.value);
|
|
1041
|
-
}),
|
|
1041
|
+
}), Xn((t) => {
|
|
1042
1042
|
this.metrics.TTFB = t.value, this.reportMetric("TTFB", t.value);
|
|
1043
1043
|
});
|
|
1044
1044
|
}
|
|
@@ -1144,17 +1144,17 @@ class Ka {
|
|
|
1144
1144
|
this.observers.forEach((t) => t.disconnect()), this.observers = [];
|
|
1145
1145
|
}
|
|
1146
1146
|
}
|
|
1147
|
-
let
|
|
1148
|
-
const
|
|
1147
|
+
let Ze = null;
|
|
1148
|
+
const Ld = (e) => (Ze || (Ze = new Ga(e)), Ze), Mt = () => Ze, Ka = (e) => {
|
|
1149
1149
|
const t = P.useRef(performance.now());
|
|
1150
1150
|
P.useEffect(() => {
|
|
1151
|
-
const r = performance.now() - t.current, n =
|
|
1151
|
+
const r = performance.now() - t.current, n = Mt();
|
|
1152
1152
|
n && n.measureComponentRender(e, r);
|
|
1153
1153
|
}, [e]);
|
|
1154
|
-
},
|
|
1155
|
-
const r = performance.now(), n = await e(), a = performance.now() - r, o =
|
|
1154
|
+
}, Id = (e, t) => P.forwardRef((r, n) => (Ka(t), P.createElement(e, { ...r, ref: n }))), Rd = async (e, t) => {
|
|
1155
|
+
const r = performance.now(), n = await e(), a = performance.now() - r, o = Mt();
|
|
1156
1156
|
return o && o.measureAPICall(t, a), n;
|
|
1157
|
-
},
|
|
1157
|
+
}, Ya = {
|
|
1158
1158
|
LCP: 2500,
|
|
1159
1159
|
// 2.5s
|
|
1160
1160
|
INP: 200,
|
|
@@ -1167,7 +1167,7 @@ const Id = (e) => (Je || (Je = new Ka(e)), Je), Dt = () => Je, Ya = (e) => {
|
|
|
1167
1167
|
// 800ms
|
|
1168
1168
|
bundleSize: 17e4
|
|
1169
1169
|
// 170KB
|
|
1170
|
-
},
|
|
1170
|
+
}, Md = (e, t = Ya) => {
|
|
1171
1171
|
const r = [];
|
|
1172
1172
|
return t.LCP && e.LCP && e.LCP > t.LCP && r.push(
|
|
1173
1173
|
`LCP: ${e.LCP.toFixed(0)}ms (budget: ${t.LCP}ms)`
|
|
@@ -1181,8 +1181,8 @@ const Id = (e) => (Je || (Je = new Ka(e)), Je), Dt = () => Je, Ya = (e) => {
|
|
|
1181
1181
|
passed: r.length === 0,
|
|
1182
1182
|
violations: r
|
|
1183
1183
|
};
|
|
1184
|
-
},
|
|
1185
|
-
const t = e ||
|
|
1184
|
+
}, Od = (e) => {
|
|
1185
|
+
const t = e || Mt()?.getMetrics() || { timestamp: Date.now() }, r = {
|
|
1186
1186
|
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
1187
1187
|
metrics: t,
|
|
1188
1188
|
environment: {
|
|
@@ -1196,14 +1196,14 @@ const Id = (e) => (Je || (Je = new Ka(e)), Je), Dt = () => Je, Ya = (e) => {
|
|
|
1196
1196
|
}
|
|
1197
1197
|
};
|
|
1198
1198
|
return JSON.stringify(r, null, 2);
|
|
1199
|
-
},
|
|
1199
|
+
}, Dd = (e) => {
|
|
1200
1200
|
if (e === 0) return "0 Bytes";
|
|
1201
1201
|
const t = 1024, r = ["Bytes", "KB", "MB", "GB", "TB"], n = Math.floor(Math.log(e) / Math.log(t)), a = Math.min(n, r.length - 1);
|
|
1202
1202
|
return parseFloat((e / Math.pow(t, a)).toFixed(2)) + " " + r[a];
|
|
1203
|
-
},
|
|
1203
|
+
}, zd = (e, t, r) => {
|
|
1204
1204
|
const n = { bytes: 0, kb: 1, mb: 2, gb: 3, tb: 4 }, a = 1024, s = e * Math.pow(a, n[t]) / Math.pow(a, n[r]);
|
|
1205
1205
|
return Math.round(s * 100) / 100;
|
|
1206
|
-
},
|
|
1206
|
+
}, Wd = (e) => {
|
|
1207
1207
|
const t = e.match(/^(\d+(?:\.\d+)?)\s*(bytes?|kb|mb|gb|tb)$/i);
|
|
1208
1208
|
if (!t) return null;
|
|
1209
1209
|
const r = parseFloat(t[1]), n = t[2].toLowerCase(), o = {
|
|
@@ -1216,7 +1216,7 @@ const Id = (e) => (Je || (Je = new Ka(e)), Je), Dt = () => Je, Ya = (e) => {
|
|
|
1216
1216
|
}[n];
|
|
1217
1217
|
return o ? Math.round(r * o) : null;
|
|
1218
1218
|
};
|
|
1219
|
-
function
|
|
1219
|
+
function Qa(e, t) {
|
|
1220
1220
|
V(() => {
|
|
1221
1221
|
const r = (n) => {
|
|
1222
1222
|
const a = e?.current;
|
|
@@ -1227,7 +1227,7 @@ function Xa(e, t) {
|
|
|
1227
1227
|
};
|
|
1228
1228
|
}, [e, t]);
|
|
1229
1229
|
}
|
|
1230
|
-
const
|
|
1230
|
+
const Xa = (e) => {
|
|
1231
1231
|
const [t, r] = R(""), [n, a] = R(!0), [o, s] = R(null);
|
|
1232
1232
|
return V(() => {
|
|
1233
1233
|
e && (async () => {
|
|
@@ -1245,7 +1245,7 @@ const Za = (e) => {
|
|
|
1245
1245
|
}
|
|
1246
1246
|
})();
|
|
1247
1247
|
}, [e]), { code: t, loading: n, error: o };
|
|
1248
|
-
},
|
|
1248
|
+
}, Bd = (e = {}) => {
|
|
1249
1249
|
const { successDuration: t = 2e3, onSuccess: r, onError: n } = e, [a, o] = R(null), s = re(
|
|
1250
1250
|
async (d) => {
|
|
1251
1251
|
try {
|
|
@@ -1279,7 +1279,7 @@ const Za = (e) => {
|
|
|
1279
1279
|
isCopied: l,
|
|
1280
1280
|
resetCopiedState: c
|
|
1281
1281
|
};
|
|
1282
|
-
},
|
|
1282
|
+
}, jd = (e = {}) => {
|
|
1283
1283
|
const { successDuration: t = 2e3, onSuccess: r, onError: n } = e, [a, o] = R({}), s = re(
|
|
1284
1284
|
async (d, u) => {
|
|
1285
1285
|
try {
|
|
@@ -1313,7 +1313,7 @@ const Za = (e) => {
|
|
|
1313
1313
|
isCopied: l,
|
|
1314
1314
|
resetCopiedState: c
|
|
1315
1315
|
};
|
|
1316
|
-
},
|
|
1316
|
+
}, Za = {
|
|
1317
1317
|
pending: {
|
|
1318
1318
|
label: "Pending",
|
|
1319
1319
|
color: "bg-gray-500",
|
|
@@ -1334,16 +1334,16 @@ const Za = (e) => {
|
|
|
1334
1334
|
color: "bg-red-500",
|
|
1335
1335
|
textColor: "text-white"
|
|
1336
1336
|
}
|
|
1337
|
-
},
|
|
1337
|
+
}, Ja = {
|
|
1338
1338
|
basic: "Basic KYC",
|
|
1339
1339
|
enhanced: "Enhanced KYC",
|
|
1340
1340
|
accredited: "Accredited Investor"
|
|
1341
|
-
},
|
|
1341
|
+
}, Fd = ({
|
|
1342
1342
|
status: e,
|
|
1343
1343
|
level: t,
|
|
1344
1344
|
className: r = ""
|
|
1345
1345
|
}) => {
|
|
1346
|
-
const n =
|
|
1346
|
+
const n = Za[e], a = Ja[t];
|
|
1347
1347
|
return /* @__PURE__ */ i("div", { className: `inline-flex items-center gap-2 ${r}`, children: /* @__PURE__ */ h(
|
|
1348
1348
|
"span",
|
|
1349
1349
|
{
|
|
@@ -1355,7 +1355,7 @@ const Za = (e) => {
|
|
|
1355
1355
|
]
|
|
1356
1356
|
}
|
|
1357
1357
|
) });
|
|
1358
|
-
},
|
|
1358
|
+
}, _d = ({
|
|
1359
1359
|
accessToken: e,
|
|
1360
1360
|
onComplete: t,
|
|
1361
1361
|
onError: r,
|
|
@@ -1398,7 +1398,7 @@ const Za = (e) => {
|
|
|
1398
1398
|
document.body.contains(s) && document.body.removeChild(s), o.current && typeof o.current.destroy == "function" && o.current.destroy();
|
|
1399
1399
|
};
|
|
1400
1400
|
}, [e, t, r]), /* @__PURE__ */ i("div", { className: `sumsub-sdk-container ${n}`, children: /* @__PURE__ */ i("div", { ref: a, id: "sumsub-websdk-container" }) });
|
|
1401
|
-
},
|
|
1401
|
+
}, eo = {
|
|
1402
1402
|
basic: {
|
|
1403
1403
|
title: "Basic KYC",
|
|
1404
1404
|
description: "Age & Identity Verification",
|
|
@@ -1417,7 +1417,7 @@ const Za = (e) => {
|
|
|
1417
1417
|
color: "border-gold-200",
|
|
1418
1418
|
activeColor: "border-gold-500 bg-gold-50"
|
|
1419
1419
|
}
|
|
1420
|
-
},
|
|
1420
|
+
}, Vd = ({
|
|
1421
1421
|
level: e,
|
|
1422
1422
|
price: t,
|
|
1423
1423
|
features: r,
|
|
@@ -1426,7 +1426,7 @@ const Za = (e) => {
|
|
|
1426
1426
|
onSelect: o,
|
|
1427
1427
|
className: s = ""
|
|
1428
1428
|
}) => {
|
|
1429
|
-
const l =
|
|
1429
|
+
const l = eo[e];
|
|
1430
1430
|
return /* @__PURE__ */ h(
|
|
1431
1431
|
"div",
|
|
1432
1432
|
{
|
|
@@ -1880,7 +1880,7 @@ const Za = (e) => {
|
|
|
1880
1880
|
itemIconRight: () => "ml-auto h-4 w-4 flex-shrink-0"
|
|
1881
1881
|
}
|
|
1882
1882
|
}
|
|
1883
|
-
},
|
|
1883
|
+
}, to = {
|
|
1884
1884
|
success: "bg-green-500",
|
|
1885
1885
|
error: "bg-red-500",
|
|
1886
1886
|
warning: "bg-orange-500",
|
|
@@ -1889,9 +1889,9 @@ const Za = (e) => {
|
|
|
1889
1889
|
neutral: "bg-gray-500"
|
|
1890
1890
|
};
|
|
1891
1891
|
function Ce(e) {
|
|
1892
|
-
return
|
|
1892
|
+
return to[e];
|
|
1893
1893
|
}
|
|
1894
|
-
const
|
|
1894
|
+
const ro = {
|
|
1895
1895
|
default: "bg-white dark:bg-gray-800",
|
|
1896
1896
|
bordered: "bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700",
|
|
1897
1897
|
elevated: "bg-white dark:bg-gray-800 shadow-md",
|
|
@@ -1902,7 +1902,7 @@ const Vr = {
|
|
|
1902
1902
|
error: "bg-red-50 dark:bg-red-900/20 border border-red-200 dark:border-red-800 text-red-900 dark:text-red-300"
|
|
1903
1903
|
};
|
|
1904
1904
|
function no(e) {
|
|
1905
|
-
return
|
|
1905
|
+
return ro[e];
|
|
1906
1906
|
}
|
|
1907
1907
|
const ao = {
|
|
1908
1908
|
default: {
|
|
@@ -1963,7 +1963,7 @@ const io = {
|
|
|
1963
1963
|
// Base Sepolia
|
|
1964
1964
|
}[t];
|
|
1965
1965
|
return a ? `${a}/address/${e}` : null;
|
|
1966
|
-
}, lo = (e, t) => t === "full" ? e : t === "medium" ? `${e.substring(0, 10)}...${e.substring(e.length - 8)}` : `${e.substring(0, 6)}...${e.substring(e.length - 4)}`,
|
|
1966
|
+
}, lo = (e, t) => t === "full" ? e : t === "medium" ? `${e.substring(0, 10)}...${e.substring(e.length - 8)}` : `${e.substring(0, 6)}...${e.substring(e.length - 4)}`, Hd = ({
|
|
1967
1967
|
address: e,
|
|
1968
1968
|
chainId: t,
|
|
1969
1969
|
explorerUrl: r,
|
|
@@ -2079,11 +2079,12 @@ const io = {
|
|
|
2079
2079
|
] })
|
|
2080
2080
|
] });
|
|
2081
2081
|
}, co = {
|
|
2082
|
-
info:
|
|
2083
|
-
success:
|
|
2084
|
-
warning:
|
|
2085
|
-
|
|
2086
|
-
|
|
2082
|
+
info: et,
|
|
2083
|
+
success: $r,
|
|
2084
|
+
warning: Tr,
|
|
2085
|
+
attention: Zn,
|
|
2086
|
+
error: Pr
|
|
2087
|
+
}, Ud = ({ children: e, className: t }) => /* @__PURE__ */ i("div", { className: v("font-medium mb-1", t), children: e }), qd = ({ children: e, className: t }) => /* @__PURE__ */ i("div", { className: v("text-sm break-words", t), children: e }), Gd = ({
|
|
2087
2088
|
variant: e = "info",
|
|
2088
2089
|
title: t,
|
|
2089
2090
|
description: r,
|
|
@@ -2100,7 +2101,7 @@ const io = {
|
|
|
2100
2101
|
a
|
|
2101
2102
|
] })
|
|
2102
2103
|
] });
|
|
2103
|
-
},
|
|
2104
|
+
}, Zt = () => typeof document < "u" && typeof document.createElement == "function" && typeof document.getElementById == "function", uo = (e) => {
|
|
2104
2105
|
if (typeof document < "u" && document.getElementById)
|
|
2105
2106
|
try {
|
|
2106
2107
|
return document.getElementById(e);
|
|
@@ -2133,7 +2134,7 @@ const io = {
|
|
|
2133
2134
|
}) => {
|
|
2134
2135
|
const [l, c] = R(!1), [d, u] = R(!1), m = q(null);
|
|
2135
2136
|
V(() => {
|
|
2136
|
-
if (!
|
|
2137
|
+
if (!Zt() || typeof IntersectionObserver > "u") {
|
|
2137
2138
|
c(!0), n && u(!0);
|
|
2138
2139
|
return;
|
|
2139
2140
|
}
|
|
@@ -2164,7 +2165,7 @@ const io = {
|
|
|
2164
2165
|
return b[e] || b["fade-in-up"];
|
|
2165
2166
|
};
|
|
2166
2167
|
return V(() => {
|
|
2167
|
-
if (
|
|
2168
|
+
if (Zt() && (e === "float" || e === "bounce-slow")) {
|
|
2168
2169
|
const g = "animated-section-keyframes";
|
|
2169
2170
|
if (!uo(g)) {
|
|
2170
2171
|
const f = mo("style");
|
|
@@ -2187,7 +2188,7 @@ const io = {
|
|
|
2187
2188
|
}
|
|
2188
2189
|
}
|
|
2189
2190
|
}, [e]), /* @__PURE__ */ i("div", { ref: m, className: `${p()} ${o}`, children: a });
|
|
2190
|
-
},
|
|
2191
|
+
}, Kd = ({ children: e, delay: t = 0, className: r = "" }) => /* @__PURE__ */ i(Ee, { animation: "fade-in-up", delay: t, className: r, children: e }), Yd = ({ children: e, delay: t = 0, className: r = "" }) => /* @__PURE__ */ i(
|
|
2191
2192
|
Ee,
|
|
2192
2193
|
{
|
|
2193
2194
|
animation: "fade-in-scale",
|
|
@@ -2195,7 +2196,7 @@ const io = {
|
|
|
2195
2196
|
className: r,
|
|
2196
2197
|
children: e
|
|
2197
2198
|
}
|
|
2198
|
-
),
|
|
2199
|
+
), Qd = ({ children: e, className: t = "" }) => /* @__PURE__ */ i(Ee, { animation: "float", className: t, children: e }), po = _("min-h-[44px] touch-manipulation", {
|
|
2199
2200
|
variants: {
|
|
2200
2201
|
variant: {
|
|
2201
2202
|
// Clean variant definitions - let the variant system handle the classes
|
|
@@ -2245,7 +2246,7 @@ const io = {
|
|
|
2245
2246
|
}
|
|
2246
2247
|
}), be = x.forwardRef(
|
|
2247
2248
|
({ className: e, variant: t, size: r, animation: n, asChild: a = !1, ...o }, s) => {
|
|
2248
|
-
const l = a ?
|
|
2249
|
+
const l = a ? pa : "button", c = t || "default", d = r && r !== "default" && r !== "icon" ? r : void 0, u = (g) => g ? {
|
|
2249
2250
|
sm: "small",
|
|
2250
2251
|
lg: "large",
|
|
2251
2252
|
default: "default"
|
|
@@ -2285,7 +2286,7 @@ const fo = "bg-gradient-to-r from-blue-50 to-indigo-50 dark:from-blue-900/20 dar
|
|
|
2285
2286
|
sm: "p-3",
|
|
2286
2287
|
md: "p-6",
|
|
2287
2288
|
lg: "p-8"
|
|
2288
|
-
},
|
|
2289
|
+
}, _r = ({
|
|
2289
2290
|
variant: e = "elevated",
|
|
2290
2291
|
padding: t = "md",
|
|
2291
2292
|
icon: r,
|
|
@@ -2341,7 +2342,7 @@ const fo = "bg-gradient-to-r from-blue-50 to-indigo-50 dark:from-blue-900/20 dar
|
|
|
2341
2342
|
] }) : o
|
|
2342
2343
|
}
|
|
2343
2344
|
);
|
|
2344
|
-
},
|
|
2345
|
+
}, Xd = ({
|
|
2345
2346
|
title: e,
|
|
2346
2347
|
description: t,
|
|
2347
2348
|
className: r,
|
|
@@ -2351,22 +2352,22 @@ const fo = "bg-gradient-to-r from-blue-50 to-indigo-50 dark:from-blue-900/20 dar
|
|
|
2351
2352
|
e && /* @__PURE__ */ i("h3", { className: I.heading.h4(), children: e }),
|
|
2352
2353
|
t && /* @__PURE__ */ i("p", { className: I.body.sm(), children: t }),
|
|
2353
2354
|
n
|
|
2354
|
-
] }),
|
|
2355
|
+
] }), Zd = ({
|
|
2355
2356
|
className: e,
|
|
2356
2357
|
children: t,
|
|
2357
2358
|
...r
|
|
2358
|
-
}) => /* @__PURE__ */ i("div", { className: v("", e), ...r, children: t }),
|
|
2359
|
+
}) => /* @__PURE__ */ i("div", { className: v("", e), ...r, children: t }), Jd = ({
|
|
2359
2360
|
className: e,
|
|
2360
2361
|
children: t,
|
|
2361
2362
|
...r
|
|
2362
|
-
}) => /* @__PURE__ */ i("div", { className: v("flex items-center pt-4", e), ...r, children: t }),
|
|
2363
|
+
}) => /* @__PURE__ */ i("div", { className: v("flex items-center pt-4", e), ...r, children: t }), eu = ({
|
|
2363
2364
|
title: e,
|
|
2364
2365
|
children: t,
|
|
2365
2366
|
variant: r = "info",
|
|
2366
2367
|
size: n = "default",
|
|
2367
2368
|
className: a
|
|
2368
2369
|
}) => /* @__PURE__ */ h(
|
|
2369
|
-
|
|
2370
|
+
_r,
|
|
2370
2371
|
{
|
|
2371
2372
|
variant: r === "neutral" ? "bordered" : r,
|
|
2372
2373
|
padding: { sm: "sm", default: "md", lg: "lg" }[n],
|
|
@@ -2385,7 +2386,7 @@ const fo = "bg-gradient-to-r from-blue-50 to-indigo-50 dark:from-blue-900/20 dar
|
|
|
2385
2386
|
t
|
|
2386
2387
|
]
|
|
2387
2388
|
}
|
|
2388
|
-
),
|
|
2389
|
+
), tu = ({
|
|
2389
2390
|
title: e,
|
|
2390
2391
|
icon: t,
|
|
2391
2392
|
children: r,
|
|
@@ -2394,7 +2395,7 @@ const fo = "bg-gradient-to-r from-blue-50 to-indigo-50 dark:from-blue-900/20 dar
|
|
|
2394
2395
|
centered: o = !1,
|
|
2395
2396
|
className: s
|
|
2396
2397
|
}) => /* @__PURE__ */ i(
|
|
2397
|
-
|
|
2398
|
+
_r,
|
|
2398
2399
|
{
|
|
2399
2400
|
variant: n === "gradient" || n === "neutral" ? "callout" : n,
|
|
2400
2401
|
padding: { sm: "sm", default: "md", lg: "lg" }[a],
|
|
@@ -2490,7 +2491,7 @@ const fo = "bg-gradient-to-r from-blue-50 to-indigo-50 dark:from-blue-900/20 dar
|
|
|
2490
2491
|
green: "bg-green-100 text-green-800 dark:bg-green-900/30 dark:text-green-300",
|
|
2491
2492
|
blue: "bg-blue-100 text-blue-800 dark:bg-blue-900/30 dark:text-blue-300",
|
|
2492
2493
|
gray: "bg-gray-100 text-gray-800 dark:bg-gray-800 dark:text-gray-300"
|
|
2493
|
-
},
|
|
2494
|
+
}, ru = ({
|
|
2494
2495
|
className: e,
|
|
2495
2496
|
layout: t = "grid",
|
|
2496
2497
|
spacing: r = "md",
|
|
@@ -2576,12 +2577,12 @@ const fo = "bg-gradient-to-r from-blue-50 to-indigo-50 dark:from-blue-900/20 dar
|
|
|
2576
2577
|
] })
|
|
2577
2578
|
] });
|
|
2578
2579
|
return c ? /* @__PURE__ */ i(Ee, { animation: "fade-in-up", delay: d, children: g }) : g;
|
|
2579
|
-
},
|
|
2580
|
+
}, Jt = (e, t, r, n) => ({
|
|
2580
2581
|
title: e,
|
|
2581
2582
|
variant: r,
|
|
2582
2583
|
items: t.map((a) => typeof a == "string" ? { text: a } : a),
|
|
2583
2584
|
...n
|
|
2584
|
-
}),
|
|
2585
|
+
}), nu = (e) => {
|
|
2585
2586
|
const t = [
|
|
2586
2587
|
{ text: "Create account with email/password", icon: "🔑" },
|
|
2587
2588
|
{ text: "Remember multiple passwords", icon: "🧠" },
|
|
@@ -2598,13 +2599,13 @@ const fo = "bg-gradient-to-r from-blue-50 to-indigo-50 dark:from-blue-900/20 dar
|
|
|
2598
2599
|
{ text: "Censorship resistant", icon: "🛡️" }
|
|
2599
2600
|
];
|
|
2600
2601
|
return {
|
|
2601
|
-
traditional:
|
|
2602
|
+
traditional: Jt(
|
|
2602
2603
|
e?.traditionalTitle || "Traditional Email",
|
|
2603
2604
|
e?.traditionalItems || t,
|
|
2604
2605
|
"traditional",
|
|
2605
2606
|
{ badge: { text: e?.traditionalBadge || "Old Way", color: "red" } }
|
|
2606
2607
|
),
|
|
2607
|
-
web3:
|
|
2608
|
+
web3: Jt(
|
|
2608
2609
|
e?.web3Title || "Web3 Email",
|
|
2609
2610
|
e?.web3Items || r,
|
|
2610
2611
|
"web3",
|
|
@@ -2649,7 +2650,7 @@ const fo = "bg-gradient-to-r from-blue-50 to-indigo-50 dark:from-blue-900/20 dar
|
|
|
2649
2650
|
spacing: "md",
|
|
2650
2651
|
align: "left"
|
|
2651
2652
|
}
|
|
2652
|
-
}),
|
|
2653
|
+
}), au = ({
|
|
2653
2654
|
children: e,
|
|
2654
2655
|
size: t = "xl",
|
|
2655
2656
|
spacing: r = "md",
|
|
@@ -2665,7 +2666,7 @@ const fo = "bg-gradient-to-r from-blue-50 to-indigo-50 dark:from-blue-900/20 dar
|
|
|
2665
2666
|
)
|
|
2666
2667
|
},
|
|
2667
2668
|
e
|
|
2668
|
-
),
|
|
2669
|
+
), ou = ({
|
|
2669
2670
|
trigger: e,
|
|
2670
2671
|
items: t,
|
|
2671
2672
|
align: r = "right",
|
|
@@ -2673,7 +2674,7 @@ const fo = "bg-gradient-to-r from-blue-50 to-indigo-50 dark:from-blue-900/20 dar
|
|
|
2673
2674
|
variant: a = "default"
|
|
2674
2675
|
}) => {
|
|
2675
2676
|
const [o, s] = R(!1), l = P.useRef(null);
|
|
2676
|
-
|
|
2677
|
+
Qa(l, () => s(!1));
|
|
2677
2678
|
const c = (m) => {
|
|
2678
2679
|
m.disabled || (m.onClick(), s(!1));
|
|
2679
2680
|
}, d = r === "left" ? T.overlays.dropdown.menuRight() : T.overlays.dropdown.menuLeft(), u = a === "bordered" ? T.overlays.dropdown.triggerBordered() : T.overlays.dropdown.trigger();
|
|
@@ -2720,7 +2721,7 @@ const fo = "bg-gradient-to-r from-blue-50 to-indigo-50 dark:from-blue-900/20 dar
|
|
|
2720
2721
|
]
|
|
2721
2722
|
}
|
|
2722
2723
|
);
|
|
2723
|
-
},
|
|
2724
|
+
}, iu = ({
|
|
2724
2725
|
icon: e,
|
|
2725
2726
|
title: t,
|
|
2726
2727
|
description: r,
|
|
@@ -2920,7 +2921,7 @@ const fo = "bg-gradient-to-r from-blue-50 to-indigo-50 dark:from-blue-900/20 dar
|
|
|
2920
2921
|
info: "bg-blue-100 text-blue-800 dark:bg-blue-900/30 dark:text-blue-300",
|
|
2921
2922
|
warning: "bg-amber-100 text-amber-800 dark:bg-amber-900/30 dark:text-amber-300",
|
|
2922
2923
|
default: "bg-gray-100 text-gray-800 dark:bg-gray-800 dark:text-gray-300"
|
|
2923
|
-
},
|
|
2924
|
+
}, su = ({
|
|
2924
2925
|
className: e,
|
|
2925
2926
|
features: t,
|
|
2926
2927
|
columns: r = 3,
|
|
@@ -3068,13 +3069,13 @@ const fo = "bg-gradient-to-r from-blue-50 to-indigo-50 dark:from-blue-900/20 dar
|
|
|
3068
3069
|
) : /* @__PURE__ */ i("div", { children: E }, C.id || S);
|
|
3069
3070
|
};
|
|
3070
3071
|
return /* @__PURE__ */ i("div", { className: v(Co({ columns: r, spacing: n }), e), children: t.map(k) });
|
|
3071
|
-
},
|
|
3072
|
+
}, er = (e, t, r, n) => ({
|
|
3072
3073
|
icon: e,
|
|
3073
3074
|
title: t,
|
|
3074
3075
|
description: r,
|
|
3075
3076
|
...n
|
|
3076
|
-
}),
|
|
3077
|
-
|
|
3077
|
+
}), lu = (e) => [
|
|
3078
|
+
er(
|
|
3078
3079
|
/* @__PURE__ */ i(
|
|
3079
3080
|
"svg",
|
|
3080
3081
|
{
|
|
@@ -3096,7 +3097,7 @@ const fo = "bg-gradient-to-r from-blue-50 to-indigo-50 dark:from-blue-900/20 dar
|
|
|
3096
3097
|
e?.passwordlessTitle || "Passwordless Security",
|
|
3097
3098
|
e?.passwordlessDescription || "Authenticate using your Web3 wallet - no passwords to remember or lose."
|
|
3098
3099
|
),
|
|
3099
|
-
|
|
3100
|
+
er(
|
|
3100
3101
|
/* @__PURE__ */ i(
|
|
3101
3102
|
"svg",
|
|
3102
3103
|
{
|
|
@@ -3118,7 +3119,7 @@ const fo = "bg-gradient-to-r from-blue-50 to-indigo-50 dark:from-blue-900/20 dar
|
|
|
3118
3119
|
e?.encryptionTitle || "End-to-End Encryption",
|
|
3119
3120
|
e?.encryptionDescription || "Your emails are encrypted and only you can read them."
|
|
3120
3121
|
)
|
|
3121
|
-
],
|
|
3122
|
+
], cu = ({
|
|
3122
3123
|
badgeIcon: e,
|
|
3123
3124
|
badgeText: t,
|
|
3124
3125
|
badgeColor: r = "blue",
|
|
@@ -3194,9 +3195,9 @@ const fo = "bg-gradient-to-r from-blue-50 to-indigo-50 dark:from-blue-900/20 dar
|
|
|
3194
3195
|
Ao.displayName = "Input";
|
|
3195
3196
|
const Po = _(
|
|
3196
3197
|
`${I.label.default()} peer-disabled:cursor-not-allowed peer-disabled:opacity-70`
|
|
3197
|
-
),
|
|
3198
|
-
|
|
3199
|
-
const
|
|
3198
|
+
), Vr = x.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ i(Rr, { ref: r, className: v(Po(), e), ...t }));
|
|
3199
|
+
Vr.displayName = Rr.displayName;
|
|
3200
|
+
const du = ({
|
|
3200
3201
|
title: e,
|
|
3201
3202
|
description: t,
|
|
3202
3203
|
metrics: r,
|
|
@@ -3252,7 +3253,7 @@ const uu = ({
|
|
|
3252
3253
|
);
|
|
3253
3254
|
}) })
|
|
3254
3255
|
] }) });
|
|
3255
|
-
},
|
|
3256
|
+
}, uu = ({
|
|
3256
3257
|
title: e,
|
|
3257
3258
|
description: t,
|
|
3258
3259
|
steps: r,
|
|
@@ -3363,7 +3364,7 @@ const uu = ({
|
|
|
3363
3364
|
}
|
|
3364
3365
|
)
|
|
3365
3366
|
] }) });
|
|
3366
|
-
},
|
|
3367
|
+
}, mu = ({
|
|
3367
3368
|
children: e,
|
|
3368
3369
|
onRefresh: t,
|
|
3369
3370
|
disabled: r = !1,
|
|
@@ -3445,7 +3446,7 @@ const uu = ({
|
|
|
3445
3446
|
},
|
|
3446
3447
|
children: /* @__PURE__ */ h("div", { className: "flex flex-col items-center justify-center gap-2", children: [
|
|
3447
3448
|
/* @__PURE__ */ i(
|
|
3448
|
-
|
|
3449
|
+
Jn,
|
|
3449
3450
|
{
|
|
3450
3451
|
className: `w-6 h-6 text-blue-600 dark:text-blue-400 transition-transform duration-200 ${m ? "animate-spin" : ""}`,
|
|
3451
3452
|
style: {
|
|
@@ -3470,7 +3471,7 @@ const uu = ({
|
|
|
3470
3471
|
]
|
|
3471
3472
|
}
|
|
3472
3473
|
);
|
|
3473
|
-
},
|
|
3474
|
+
}, tr = F.Root, gu = F.Group, To = F.Value, kt = x.forwardRef(({ className: e, children: t, ...r }, n) => /* @__PURE__ */ h(
|
|
3474
3475
|
F.Trigger,
|
|
3475
3476
|
{
|
|
3476
3477
|
ref: n,
|
|
@@ -3481,12 +3482,12 @@ const uu = ({
|
|
|
3481
3482
|
...r,
|
|
3482
3483
|
children: [
|
|
3483
3484
|
t,
|
|
3484
|
-
/* @__PURE__ */ i(F.Icon, { asChild: !0, children: /* @__PURE__ */ i(
|
|
3485
|
+
/* @__PURE__ */ i(F.Icon, { asChild: !0, children: /* @__PURE__ */ i(Mr, { className: "h-4 w-4 opacity-50 ml-2 flex-shrink-0" }) })
|
|
3485
3486
|
]
|
|
3486
3487
|
}
|
|
3487
3488
|
));
|
|
3488
3489
|
kt.displayName = F.Trigger.displayName;
|
|
3489
|
-
const
|
|
3490
|
+
const Hr = x.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ i(
|
|
3490
3491
|
F.ScrollUpButton,
|
|
3491
3492
|
{
|
|
3492
3493
|
ref: r,
|
|
@@ -3495,11 +3496,11 @@ const qr = x.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ i(
|
|
|
3495
3496
|
e
|
|
3496
3497
|
),
|
|
3497
3498
|
...t,
|
|
3498
|
-
children: /* @__PURE__ */ i(
|
|
3499
|
+
children: /* @__PURE__ */ i(ya, { className: "h-4 w-4" })
|
|
3499
3500
|
}
|
|
3500
3501
|
));
|
|
3501
|
-
|
|
3502
|
-
const
|
|
3502
|
+
Hr.displayName = F.ScrollUpButton.displayName;
|
|
3503
|
+
const Ur = x.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ i(
|
|
3503
3504
|
F.ScrollDownButton,
|
|
3504
3505
|
{
|
|
3505
3506
|
ref: r,
|
|
@@ -3508,10 +3509,10 @@ const Gr = x.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ i(
|
|
|
3508
3509
|
e
|
|
3509
3510
|
),
|
|
3510
3511
|
...t,
|
|
3511
|
-
children: /* @__PURE__ */ i(
|
|
3512
|
+
children: /* @__PURE__ */ i(Mr, { className: "h-4 w-4" })
|
|
3512
3513
|
}
|
|
3513
3514
|
));
|
|
3514
|
-
|
|
3515
|
+
Ur.displayName = F.ScrollDownButton.displayName;
|
|
3515
3516
|
const Ct = x.forwardRef(({ className: e, children: t, position: r = "popper", ...n }, a) => /* @__PURE__ */ i(F.Portal, { children: /* @__PURE__ */ h(
|
|
3516
3517
|
F.Content,
|
|
3517
3518
|
{
|
|
@@ -3525,7 +3526,7 @@ const Ct = x.forwardRef(({ className: e, children: t, position: r = "popper", ..
|
|
|
3525
3526
|
position: r,
|
|
3526
3527
|
...n,
|
|
3527
3528
|
children: [
|
|
3528
|
-
/* @__PURE__ */ i(
|
|
3529
|
+
/* @__PURE__ */ i(Hr, {}),
|
|
3529
3530
|
/* @__PURE__ */ i(
|
|
3530
3531
|
F.Viewport,
|
|
3531
3532
|
{
|
|
@@ -3536,7 +3537,7 @@ const Ct = x.forwardRef(({ className: e, children: t, position: r = "popper", ..
|
|
|
3536
3537
|
children: t
|
|
3537
3538
|
}
|
|
3538
3539
|
),
|
|
3539
|
-
/* @__PURE__ */ i(
|
|
3540
|
+
/* @__PURE__ */ i(Ur, {})
|
|
3540
3541
|
]
|
|
3541
3542
|
}
|
|
3542
3543
|
) }));
|
|
@@ -3562,7 +3563,7 @@ const St = x.forwardRef(({ className: e, children: t, ...r }, n) => /* @__PURE__
|
|
|
3562
3563
|
...r,
|
|
3563
3564
|
children: [
|
|
3564
3565
|
/* @__PURE__ */ i(F.ItemText, { children: t }),
|
|
3565
|
-
/* @__PURE__ */ i("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ i(F.ItemIndicator, { children: /* @__PURE__ */ i(
|
|
3566
|
+
/* @__PURE__ */ i("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ i(F.ItemIndicator, { children: /* @__PURE__ */ i(ba, { className: "h-4 w-4" }) }) })
|
|
3566
3567
|
]
|
|
3567
3568
|
}
|
|
3568
3569
|
));
|
|
@@ -3576,7 +3577,7 @@ const Lo = x.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ i(
|
|
|
3576
3577
|
}
|
|
3577
3578
|
));
|
|
3578
3579
|
Lo.displayName = F.Separator.displayName;
|
|
3579
|
-
const
|
|
3580
|
+
const rr = ({
|
|
3580
3581
|
size: e = "default",
|
|
3581
3582
|
variant: t = "default",
|
|
3582
3583
|
className: r,
|
|
@@ -3605,7 +3606,7 @@ const ar = ({
|
|
|
3605
3606
|
children: /* @__PURE__ */ i("span", { className: "sr-only", children: a })
|
|
3606
3607
|
}
|
|
3607
3608
|
), Io = x.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ i(
|
|
3608
|
-
|
|
3609
|
+
Or,
|
|
3609
3610
|
{
|
|
3610
3611
|
className: v(
|
|
3611
3612
|
"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",
|
|
@@ -3614,7 +3615,7 @@ const ar = ({
|
|
|
3614
3615
|
...t,
|
|
3615
3616
|
ref: r,
|
|
3616
3617
|
children: /* @__PURE__ */ i(
|
|
3617
|
-
|
|
3618
|
+
xa,
|
|
3618
3619
|
{
|
|
3619
3620
|
className: v(
|
|
3620
3621
|
"pointer-events-none block h-5 w-5 rounded-full bg-white shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0"
|
|
@@ -3623,8 +3624,8 @@ const ar = ({
|
|
|
3623
3624
|
)
|
|
3624
3625
|
}
|
|
3625
3626
|
));
|
|
3626
|
-
Io.displayName =
|
|
3627
|
-
const
|
|
3627
|
+
Io.displayName = Or.displayName;
|
|
3628
|
+
const pu = ({
|
|
3628
3629
|
title: e,
|
|
3629
3630
|
onAdd: t,
|
|
3630
3631
|
addButtonTooltip: r,
|
|
@@ -3697,7 +3698,7 @@ const fu = ({
|
|
|
3697
3698
|
)) })
|
|
3698
3699
|
}
|
|
3699
3700
|
);
|
|
3700
|
-
},
|
|
3701
|
+
}, fu = ({
|
|
3701
3702
|
sections: e,
|
|
3702
3703
|
selectedSection: t,
|
|
3703
3704
|
selectedSubsection: r,
|
|
@@ -3722,7 +3723,7 @@ const fu = ({
|
|
|
3722
3723
|
onClick: () => s(c.id),
|
|
3723
3724
|
className: "p-1 rounded-md hover:bg-gray-100 dark:hover:bg-gray-800 hover:scale-110 transition-all duration-200",
|
|
3724
3725
|
children: /* @__PURE__ */ i(
|
|
3725
|
-
|
|
3726
|
+
It,
|
|
3726
3727
|
{
|
|
3727
3728
|
className: `h-4 w-4 text-gray-500 transition-transform duration-300 ease-in-out ${n.includes(c.id) ? "rotate-90" : "rotate-0"}`
|
|
3728
3729
|
}
|
|
@@ -3765,7 +3766,7 @@ const fu = ({
|
|
|
3765
3766
|
default:
|
|
3766
3767
|
return "w-2 h-2";
|
|
3767
3768
|
}
|
|
3768
|
-
},
|
|
3769
|
+
}, hu = ({
|
|
3769
3770
|
status: e,
|
|
3770
3771
|
label: t,
|
|
3771
3772
|
showDot: r = !0,
|
|
@@ -3810,7 +3811,7 @@ const fu = ({
|
|
|
3810
3811
|
const s = e === "solana" ? "solana" : "ethereum";
|
|
3811
3812
|
return a === "default" ? T.badge[s]() : T.badge[a](s);
|
|
3812
3813
|
})(), children: r });
|
|
3813
|
-
}, zo = (e) => e ? e.length <= 10 ? e : `${e.slice(0, 6)}...${e.slice(-4)}` : "",
|
|
3814
|
+
}, zo = (e) => e ? e.length <= 10 ? e : `${e.slice(0, 6)}...${e.slice(-4)}` : "", qr = ({ type: e, addressType: t }) => {
|
|
3814
3815
|
if (e === "primary")
|
|
3815
3816
|
return /* @__PURE__ */ i(
|
|
3816
3817
|
Do,
|
|
@@ -3868,14 +3869,14 @@ const fu = ({
|
|
|
3868
3869
|
),
|
|
3869
3870
|
children: [
|
|
3870
3871
|
/* @__PURE__ */ i("span", { className: "truncate flex-1", children: c.name }),
|
|
3871
|
-
/* @__PURE__ */ i(
|
|
3872
|
+
/* @__PURE__ */ i(qr, { type: c.type, addressType: c.addressType })
|
|
3872
3873
|
]
|
|
3873
3874
|
},
|
|
3874
3875
|
c.address
|
|
3875
3876
|
)) })
|
|
3876
3877
|
}
|
|
3877
3878
|
);
|
|
3878
|
-
},
|
|
3879
|
+
}, yu = ({
|
|
3879
3880
|
walletGroups: e,
|
|
3880
3881
|
selectedAccount: t,
|
|
3881
3882
|
expandedWallets: r,
|
|
@@ -3898,7 +3899,7 @@ const fu = ({
|
|
|
3898
3899
|
/* @__PURE__ */ h("div", { className: "flex items-center flex-1 min-w-0", children: [
|
|
3899
3900
|
/* @__PURE__ */ i("span", { className: "truncate flex-1", children: zo(l.walletAddress) }),
|
|
3900
3901
|
/* @__PURE__ */ i(
|
|
3901
|
-
|
|
3902
|
+
qr,
|
|
3902
3903
|
{
|
|
3903
3904
|
type: l.primaryEmail.type,
|
|
3904
3905
|
addressType: l.addressType
|
|
@@ -3918,7 +3919,7 @@ const fu = ({
|
|
|
3918
3919
|
(c.key === "Enter" || c.key === " ") && (c.preventDefault(), c.stopPropagation(), a(l.walletAddress));
|
|
3919
3920
|
},
|
|
3920
3921
|
children: /* @__PURE__ */ i(
|
|
3921
|
-
|
|
3922
|
+
It,
|
|
3922
3923
|
{
|
|
3923
3924
|
className: v(
|
|
3924
3925
|
"h-4 w-4 text-gray-500 transition-transform duration-300 ease-in-out",
|
|
@@ -3944,26 +3945,26 @@ const fu = ({
|
|
|
3944
3945
|
] }, l.walletAddress)) }), Bo = (e) => {
|
|
3945
3946
|
switch (e) {
|
|
3946
3947
|
case "cog":
|
|
3947
|
-
return
|
|
3948
|
+
return Xt;
|
|
3948
3949
|
case "arrow-right":
|
|
3949
3950
|
return Lr;
|
|
3950
3951
|
case "shield":
|
|
3951
|
-
return
|
|
3952
|
+
return oa;
|
|
3952
3953
|
case "reply":
|
|
3953
3954
|
case "chat":
|
|
3954
|
-
return oa;
|
|
3955
|
-
case "filter":
|
|
3956
3955
|
return aa;
|
|
3957
|
-
case "
|
|
3956
|
+
case "filter":
|
|
3958
3957
|
return na;
|
|
3959
|
-
case "
|
|
3958
|
+
case "plug":
|
|
3960
3959
|
return ra;
|
|
3961
|
-
case "
|
|
3960
|
+
case "adjustments":
|
|
3962
3961
|
return ta;
|
|
3962
|
+
case "currency-dollar":
|
|
3963
|
+
return ea;
|
|
3963
3964
|
default:
|
|
3964
|
-
return
|
|
3965
|
+
return Xt;
|
|
3965
3966
|
}
|
|
3966
|
-
},
|
|
3967
|
+
}, bu = ({
|
|
3967
3968
|
settings: e,
|
|
3968
3969
|
selectedSetting: t,
|
|
3969
3970
|
onSettingSelect: r,
|
|
@@ -4000,34 +4001,34 @@ const fu = ({
|
|
|
4000
4001
|
) }, a.id);
|
|
4001
4002
|
}) })
|
|
4002
4003
|
}
|
|
4003
|
-
),
|
|
4004
|
-
|
|
4004
|
+
), xu = va, jo = x.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ i(
|
|
4005
|
+
Dr,
|
|
4005
4006
|
{
|
|
4006
4007
|
ref: r,
|
|
4007
4008
|
className: v(T.navigation.tabs.list(), e),
|
|
4008
4009
|
...t
|
|
4009
4010
|
}
|
|
4010
4011
|
));
|
|
4011
|
-
jo.displayName =
|
|
4012
|
+
jo.displayName = Dr.displayName;
|
|
4012
4013
|
const Fo = x.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ i(
|
|
4013
|
-
|
|
4014
|
+
zr,
|
|
4014
4015
|
{
|
|
4015
4016
|
ref: r,
|
|
4016
4017
|
className: v(T.navigation.tabs.trigger(), e),
|
|
4017
4018
|
...t
|
|
4018
4019
|
}
|
|
4019
4020
|
));
|
|
4020
|
-
Fo.displayName =
|
|
4021
|
+
Fo.displayName = zr.displayName;
|
|
4021
4022
|
const _o = x.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ i(
|
|
4022
|
-
|
|
4023
|
+
Wr,
|
|
4023
4024
|
{
|
|
4024
4025
|
ref: r,
|
|
4025
4026
|
className: v(T.navigation.tabs.content(), e),
|
|
4026
4027
|
...t
|
|
4027
4028
|
}
|
|
4028
4029
|
));
|
|
4029
|
-
_o.displayName =
|
|
4030
|
-
const
|
|
4030
|
+
_o.displayName = Wr.displayName;
|
|
4031
|
+
const vu = ({
|
|
4031
4032
|
title: e,
|
|
4032
4033
|
description: t,
|
|
4033
4034
|
useCases: r,
|
|
@@ -4115,7 +4116,7 @@ const wu = ({
|
|
|
4115
4116
|
8: "gap-8",
|
|
4116
4117
|
10: "gap-10",
|
|
4117
4118
|
12: "gap-12"
|
|
4118
|
-
},
|
|
4119
|
+
}, wu = ({
|
|
4119
4120
|
children: e,
|
|
4120
4121
|
direction: t = "row",
|
|
4121
4122
|
align: r = "start",
|
|
@@ -4155,7 +4156,7 @@ const wu = ({
|
|
|
4155
4156
|
background: "default",
|
|
4156
4157
|
overflow: "visible"
|
|
4157
4158
|
}
|
|
4158
|
-
}),
|
|
4159
|
+
}), ku = ({
|
|
4159
4160
|
children: e,
|
|
4160
4161
|
background: t = "default",
|
|
4161
4162
|
overflow: r = "visible",
|
|
@@ -4213,7 +4214,7 @@ const wu = ({
|
|
|
4213
4214
|
spacing: "3xl",
|
|
4214
4215
|
background: "none"
|
|
4215
4216
|
}
|
|
4216
|
-
}),
|
|
4217
|
+
}), Cu = ({
|
|
4217
4218
|
children: e,
|
|
4218
4219
|
variant: t = "default",
|
|
4219
4220
|
spacing: r = "3xl",
|
|
@@ -4260,7 +4261,7 @@ const wu = ({
|
|
|
4260
4261
|
n && /* @__PURE__ */ i("div", { className: "mt-4", children: n })
|
|
4261
4262
|
]
|
|
4262
4263
|
}
|
|
4263
|
-
),
|
|
4264
|
+
), Su = ({
|
|
4264
4265
|
message: e = "Loading...",
|
|
4265
4266
|
size: t = "default",
|
|
4266
4267
|
fullScreen: r = !1,
|
|
@@ -4272,7 +4273,7 @@ const wu = ({
|
|
|
4272
4273
|
default: { spinner: "default", text: "text-base" },
|
|
4273
4274
|
large: { spinner: "large", text: "text-lg" }
|
|
4274
4275
|
}[t], c = /* @__PURE__ */ h("div", { className: v(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", a), children: [
|
|
4275
|
-
/* @__PURE__ */ i(
|
|
4276
|
+
/* @__PURE__ */ i(rr, { size: s.spinner, variant: n, className: "mb-4" }),
|
|
4276
4277
|
e && /* @__PURE__ */ i(
|
|
4277
4278
|
"p",
|
|
4278
4279
|
{
|
|
@@ -4285,14 +4286,14 @@ const wu = ({
|
|
|
4285
4286
|
)
|
|
4286
4287
|
] });
|
|
4287
4288
|
return r ? /* @__PURE__ */ i("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: [
|
|
4288
|
-
/* @__PURE__ */ i(
|
|
4289
|
+
/* @__PURE__ */ i(rr, { size: s.spinner, variant: n, className: "mb-4" }),
|
|
4289
4290
|
e && /* @__PURE__ */ i("p", { className: "text-center text-gray-600 dark:text-gray-400 max-w-sm", children: e })
|
|
4290
4291
|
] }) }) : c;
|
|
4291
|
-
},
|
|
4292
|
+
}, Nu = ({
|
|
4292
4293
|
title: e,
|
|
4293
4294
|
subtext: t,
|
|
4294
4295
|
className: r
|
|
4295
|
-
}) => /* @__PURE__ */ i(Qo, { title: e, description: t, className: r }),
|
|
4296
|
+
}) => /* @__PURE__ */ i(Qo, { title: e, description: t, className: r }), Gr = ({
|
|
4296
4297
|
label: e,
|
|
4297
4298
|
value: t,
|
|
4298
4299
|
onChange: r,
|
|
@@ -4302,7 +4303,7 @@ const wu = ({
|
|
|
4302
4303
|
className: s = ""
|
|
4303
4304
|
}) => /* @__PURE__ */ h("div", { className: s, children: [
|
|
4304
4305
|
/* @__PURE__ */ h(
|
|
4305
|
-
|
|
4306
|
+
Vr,
|
|
4306
4307
|
{
|
|
4307
4308
|
htmlFor: e.toLowerCase(),
|
|
4308
4309
|
className: "text-sm font-medium text-gray-700 dark:text-gray-300",
|
|
@@ -4330,7 +4331,7 @@ const wu = ({
|
|
|
4330
4331
|
}
|
|
4331
4332
|
),
|
|
4332
4333
|
o && /* @__PURE__ */ i("p", { className: "mt-1 text-sm text-red-600 dark:text-red-400", children: o })
|
|
4333
|
-
] }),
|
|
4334
|
+
] }), nr = ({
|
|
4334
4335
|
isVisible: e,
|
|
4335
4336
|
onToggle: t,
|
|
4336
4337
|
showLabel: r,
|
|
@@ -4344,13 +4345,13 @@ const wu = ({
|
|
|
4344
4345
|
onClick: t,
|
|
4345
4346
|
className: "flex items-center text-sm text-blue-600 dark:text-blue-400 hover:text-blue-800 dark:hover:text-blue-300 mb-2",
|
|
4346
4347
|
children: [
|
|
4347
|
-
e ? /* @__PURE__ */ i(
|
|
4348
|
+
e ? /* @__PURE__ */ i(ia, { className: "h-4 w-4 mr-1" }) : /* @__PURE__ */ i(sa, { className: "h-4 w-4 mr-1" }),
|
|
4348
4349
|
e ? n : r
|
|
4349
4350
|
]
|
|
4350
4351
|
}
|
|
4351
4352
|
),
|
|
4352
|
-
e && /* @__PURE__ */ i(
|
|
4353
|
-
] }),
|
|
4353
|
+
e && /* @__PURE__ */ i(Gr, { ...a })
|
|
4354
|
+
] }), Eu = ({
|
|
4354
4355
|
to: e,
|
|
4355
4356
|
onToChange: t,
|
|
4356
4357
|
cc: r = "",
|
|
@@ -4381,7 +4382,7 @@ const wu = ({
|
|
|
4381
4382
|
}, w = { ...f, ...p }, k = { ...b, ...g };
|
|
4382
4383
|
return /* @__PURE__ */ h("div", { className: `space-y-4 ${m}`, children: [
|
|
4383
4384
|
/* @__PURE__ */ i(
|
|
4384
|
-
|
|
4385
|
+
Gr,
|
|
4385
4386
|
{
|
|
4386
4387
|
label: w.to,
|
|
4387
4388
|
value: e,
|
|
@@ -4392,7 +4393,7 @@ const wu = ({
|
|
|
4392
4393
|
}
|
|
4393
4394
|
),
|
|
4394
4395
|
c && n && /* @__PURE__ */ i(
|
|
4395
|
-
|
|
4396
|
+
nr,
|
|
4396
4397
|
{
|
|
4397
4398
|
label: w.cc,
|
|
4398
4399
|
value: r,
|
|
@@ -4406,7 +4407,7 @@ const wu = ({
|
|
|
4406
4407
|
}
|
|
4407
4408
|
),
|
|
4408
4409
|
d && o && /* @__PURE__ */ i(
|
|
4409
|
-
|
|
4410
|
+
nr,
|
|
4410
4411
|
{
|
|
4411
4412
|
label: w.bcc,
|
|
4412
4413
|
value: a,
|
|
@@ -4420,7 +4421,7 @@ const wu = ({
|
|
|
4420
4421
|
}
|
|
4421
4422
|
)
|
|
4422
4423
|
] });
|
|
4423
|
-
},
|
|
4424
|
+
}, Ot = ({
|
|
4424
4425
|
label: e,
|
|
4425
4426
|
required: t = !1,
|
|
4426
4427
|
error: r,
|
|
@@ -4449,7 +4450,7 @@ const wu = ({
|
|
|
4449
4450
|
}
|
|
4450
4451
|
),
|
|
4451
4452
|
n && !r && /* @__PURE__ */ h("div", { className: "mt-1 flex items-start", children: [
|
|
4452
|
-
/* @__PURE__ */ i(
|
|
4453
|
+
/* @__PURE__ */ i(et, { className: "h-4 w-4 text-gray-400 mr-1 mt-0.5 flex-shrink-0" }),
|
|
4453
4454
|
/* @__PURE__ */ i("p", { className: "text-xs text-gray-500 dark:text-gray-400", children: n })
|
|
4454
4455
|
] })
|
|
4455
4456
|
] }),
|
|
@@ -4460,7 +4461,7 @@ const wu = ({
|
|
|
4460
4461
|
children: [
|
|
4461
4462
|
/* @__PURE__ */ i("div", { className: r ? "relative" : "", children: a }),
|
|
4462
4463
|
r && /* @__PURE__ */ h("div", { className: "mt-1 flex items-start", children: [
|
|
4463
|
-
/* @__PURE__ */ i(
|
|
4464
|
+
/* @__PURE__ */ i(la, { className: "h-4 w-4 text-red-500 mr-1 mt-0.5 flex-shrink-0" }),
|
|
4464
4465
|
/* @__PURE__ */ i("p", { className: "text-xs text-red-600 dark:text-red-400", children: r })
|
|
4465
4466
|
] })
|
|
4466
4467
|
]
|
|
@@ -4469,7 +4470,7 @@ const wu = ({
|
|
|
4469
4470
|
]
|
|
4470
4471
|
}
|
|
4471
4472
|
);
|
|
4472
|
-
},
|
|
4473
|
+
}, Au = ({
|
|
4473
4474
|
label: e,
|
|
4474
4475
|
value: t,
|
|
4475
4476
|
onChange: r,
|
|
@@ -4481,7 +4482,7 @@ const wu = ({
|
|
|
4481
4482
|
layout: c = "vertical",
|
|
4482
4483
|
className: d = ""
|
|
4483
4484
|
}) => /* @__PURE__ */ i(
|
|
4484
|
-
|
|
4485
|
+
Ot,
|
|
4485
4486
|
{
|
|
4486
4487
|
label: e,
|
|
4487
4488
|
required: a,
|
|
@@ -4506,7 +4507,7 @@ const wu = ({
|
|
|
4506
4507
|
}
|
|
4507
4508
|
)
|
|
4508
4509
|
}
|
|
4509
|
-
),
|
|
4510
|
+
), Pu = ({
|
|
4510
4511
|
label: e,
|
|
4511
4512
|
value: t,
|
|
4512
4513
|
onChange: r,
|
|
@@ -4518,7 +4519,7 @@ const wu = ({
|
|
|
4518
4519
|
layout: c = "vertical",
|
|
4519
4520
|
className: d = ""
|
|
4520
4521
|
}) => /* @__PURE__ */ i(
|
|
4521
|
-
|
|
4522
|
+
Ot,
|
|
4522
4523
|
{
|
|
4523
4524
|
label: e,
|
|
4524
4525
|
required: a,
|
|
@@ -4543,7 +4544,7 @@ const wu = ({
|
|
|
4543
4544
|
}
|
|
4544
4545
|
)
|
|
4545
4546
|
}
|
|
4546
|
-
),
|
|
4547
|
+
), Tu = ({
|
|
4547
4548
|
label: e,
|
|
4548
4549
|
value: t,
|
|
4549
4550
|
onChange: r,
|
|
@@ -4555,7 +4556,7 @@ const wu = ({
|
|
|
4555
4556
|
layout: c = "vertical",
|
|
4556
4557
|
className: d = ""
|
|
4557
4558
|
}) => /* @__PURE__ */ i(
|
|
4558
|
-
|
|
4559
|
+
Ot,
|
|
4559
4560
|
{
|
|
4560
4561
|
label: e,
|
|
4561
4562
|
required: a,
|
|
@@ -4595,7 +4596,7 @@ const wu = ({
|
|
|
4595
4596
|
sm: "w-2 h-2",
|
|
4596
4597
|
md: "w-3 h-3",
|
|
4597
4598
|
lg: "w-4 h-4"
|
|
4598
|
-
},
|
|
4599
|
+
}, $u = ({
|
|
4599
4600
|
status: e,
|
|
4600
4601
|
size: t = "sm",
|
|
4601
4602
|
pulse: r = !1,
|
|
@@ -4618,7 +4619,7 @@ function le(e, t, { checkForDefaultPrevented: r = !0 } = {}) {
|
|
|
4618
4619
|
return t?.(a);
|
|
4619
4620
|
};
|
|
4620
4621
|
}
|
|
4621
|
-
function
|
|
4622
|
+
function ar(e, t) {
|
|
4622
4623
|
if (typeof e == "function")
|
|
4623
4624
|
return e(t);
|
|
4624
4625
|
e != null && (e.current = t);
|
|
@@ -4627,14 +4628,14 @@ function Zo(...e) {
|
|
|
4627
4628
|
return (t) => {
|
|
4628
4629
|
let r = !1;
|
|
4629
4630
|
const n = e.map((a) => {
|
|
4630
|
-
const o =
|
|
4631
|
+
const o = ar(a, t);
|
|
4631
4632
|
return !r && typeof o == "function" && (r = !0), o;
|
|
4632
4633
|
});
|
|
4633
4634
|
if (r)
|
|
4634
4635
|
return () => {
|
|
4635
4636
|
for (let a = 0; a < n.length; a++) {
|
|
4636
4637
|
const o = n[a];
|
|
4637
|
-
typeof o == "function" ? o() :
|
|
4638
|
+
typeof o == "function" ? o() : ar(e[a], null);
|
|
4638
4639
|
}
|
|
4639
4640
|
};
|
|
4640
4641
|
};
|
|
@@ -4642,7 +4643,7 @@ function Zo(...e) {
|
|
|
4642
4643
|
function we(...e) {
|
|
4643
4644
|
return x.useCallback(Zo(...e), e);
|
|
4644
4645
|
}
|
|
4645
|
-
function
|
|
4646
|
+
function Kr(e, t = []) {
|
|
4646
4647
|
let r = [];
|
|
4647
4648
|
function n(o, s) {
|
|
4648
4649
|
const l = x.createContext(s), c = r.length;
|
|
@@ -4709,14 +4710,14 @@ var ei = [
|
|
|
4709
4710
|
"svg",
|
|
4710
4711
|
"ul"
|
|
4711
4712
|
], he = ei.reduce((e, t) => {
|
|
4712
|
-
const r =
|
|
4713
|
+
const r = fa(`Primitive.${t}`), n = x.forwardRef((a, o) => {
|
|
4713
4714
|
const { asChild: s, ...l } = a, c = s ? r : t;
|
|
4714
4715
|
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ i(c, { ...l, ref: o });
|
|
4715
4716
|
});
|
|
4716
4717
|
return n.displayName = `Primitive.${t}`, { ...e, [t]: n };
|
|
4717
4718
|
}, {});
|
|
4718
4719
|
function ti(e, t) {
|
|
4719
|
-
e &&
|
|
4720
|
+
e && Br.flushSync(() => e.dispatchEvent(t));
|
|
4720
4721
|
}
|
|
4721
4722
|
function ct(e) {
|
|
4722
4723
|
const t = x.useRef(e);
|
|
@@ -4733,11 +4734,11 @@ function ri(e, t = globalThis?.document) {
|
|
|
4733
4734
|
return t.addEventListener("keydown", n, { capture: !0 }), () => t.removeEventListener("keydown", n, { capture: !0 });
|
|
4734
4735
|
}, [r, t]);
|
|
4735
4736
|
}
|
|
4736
|
-
var ni = "DismissableLayer", Nt = "dismissableLayer.update", ai = "dismissableLayer.pointerDownOutside", oi = "dismissableLayer.focusOutside",
|
|
4737
|
+
var ni = "DismissableLayer", Nt = "dismissableLayer.update", ai = "dismissableLayer.pointerDownOutside", oi = "dismissableLayer.focusOutside", or, Yr = x.createContext({
|
|
4737
4738
|
layers: /* @__PURE__ */ new Set(),
|
|
4738
4739
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
4739
4740
|
branches: /* @__PURE__ */ new Set()
|
|
4740
|
-
}),
|
|
4741
|
+
}), Qr = x.forwardRef(
|
|
4741
4742
|
(e, t) => {
|
|
4742
4743
|
const {
|
|
4743
4744
|
disableOutsidePointerEvents: r = !1,
|
|
@@ -4747,7 +4748,7 @@ var ni = "DismissableLayer", Nt = "dismissableLayer.update", ai = "dismissableLa
|
|
|
4747
4748
|
onInteractOutside: s,
|
|
4748
4749
|
onDismiss: l,
|
|
4749
4750
|
...c
|
|
4750
|
-
} = e, d = x.useContext(
|
|
4751
|
+
} = e, d = x.useContext(Yr), [u, m] = x.useState(null), p = u?.ownerDocument ?? globalThis?.document, [, g] = x.useState({}), f = we(t, (A) => m(A)), b = Array.from(d.layers), [w] = [...d.layersWithOutsidePointerEventsDisabled].slice(-1), k = b.indexOf(w), C = u ? b.indexOf(u) : -1, S = d.layersWithOutsidePointerEventsDisabled.size > 0, E = C >= k, N = li((A) => {
|
|
4751
4752
|
const O = A.target, D = [...d.branches].some((M) => M.contains(O));
|
|
4752
4753
|
!E || D || (a?.(A), s?.(A), A.defaultPrevented || l?.());
|
|
4753
4754
|
}, p), $ = ci((A) => {
|
|
@@ -4758,11 +4759,11 @@ var ni = "DismissableLayer", Nt = "dismissableLayer.update", ai = "dismissableLa
|
|
|
4758
4759
|
C === d.layers.size - 1 && (n?.(A), !A.defaultPrevented && l && (A.preventDefault(), l()));
|
|
4759
4760
|
}, p), x.useEffect(() => {
|
|
4760
4761
|
if (u)
|
|
4761
|
-
return r && (d.layersWithOutsidePointerEventsDisabled.size === 0 && (
|
|
4762
|
-
r && d.layersWithOutsidePointerEventsDisabled.size === 1 && (p.body.style.pointerEvents =
|
|
4762
|
+
return r && (d.layersWithOutsidePointerEventsDisabled.size === 0 && (or = p.body.style.pointerEvents, p.body.style.pointerEvents = "none"), d.layersWithOutsidePointerEventsDisabled.add(u)), d.layers.add(u), ir(), () => {
|
|
4763
|
+
r && d.layersWithOutsidePointerEventsDisabled.size === 1 && (p.body.style.pointerEvents = or);
|
|
4763
4764
|
};
|
|
4764
4765
|
}, [u, p, r, d]), x.useEffect(() => () => {
|
|
4765
|
-
u && (d.layers.delete(u), d.layersWithOutsidePointerEventsDisabled.delete(u),
|
|
4766
|
+
u && (d.layers.delete(u), d.layersWithOutsidePointerEventsDisabled.delete(u), ir());
|
|
4766
4767
|
}, [u, d]), x.useEffect(() => {
|
|
4767
4768
|
const A = () => g({});
|
|
4768
4769
|
return document.addEventListener(Nt, A), () => document.removeEventListener(Nt, A);
|
|
@@ -4785,9 +4786,9 @@ var ni = "DismissableLayer", Nt = "dismissableLayer.update", ai = "dismissableLa
|
|
|
4785
4786
|
);
|
|
4786
4787
|
}
|
|
4787
4788
|
);
|
|
4788
|
-
|
|
4789
|
+
Qr.displayName = ni;
|
|
4789
4790
|
var ii = "DismissableLayerBranch", si = x.forwardRef((e, t) => {
|
|
4790
|
-
const r = x.useContext(
|
|
4791
|
+
const r = x.useContext(Yr), n = x.useRef(null), a = we(t, n);
|
|
4791
4792
|
return x.useEffect(() => {
|
|
4792
4793
|
const o = n.current;
|
|
4793
4794
|
if (o)
|
|
@@ -4804,7 +4805,7 @@ function li(e, t = globalThis?.document) {
|
|
|
4804
4805
|
const o = (l) => {
|
|
4805
4806
|
if (l.target && !n.current) {
|
|
4806
4807
|
let c = function() {
|
|
4807
|
-
|
|
4808
|
+
Xr(
|
|
4808
4809
|
ai,
|
|
4809
4810
|
r,
|
|
4810
4811
|
d,
|
|
@@ -4831,7 +4832,7 @@ function ci(e, t = globalThis?.document) {
|
|
|
4831
4832
|
const r = ct(e), n = x.useRef(!1);
|
|
4832
4833
|
return x.useEffect(() => {
|
|
4833
4834
|
const a = (o) => {
|
|
4834
|
-
o.target && !n.current &&
|
|
4835
|
+
o.target && !n.current && Xr(oi, r, { originalEvent: o }, {
|
|
4835
4836
|
discrete: !1
|
|
4836
4837
|
});
|
|
4837
4838
|
};
|
|
@@ -4841,11 +4842,11 @@ function ci(e, t = globalThis?.document) {
|
|
|
4841
4842
|
onBlurCapture: () => n.current = !1
|
|
4842
4843
|
};
|
|
4843
4844
|
}
|
|
4844
|
-
function
|
|
4845
|
+
function ir() {
|
|
4845
4846
|
const e = new CustomEvent(Nt);
|
|
4846
4847
|
document.dispatchEvent(e);
|
|
4847
4848
|
}
|
|
4848
|
-
function
|
|
4849
|
+
function Xr(e, t, r, { discrete: n }) {
|
|
4849
4850
|
const a = r.originalEvent.target, o = new CustomEvent(e, { bubbles: !1, cancelable: !0, detail: r });
|
|
4850
4851
|
t && a.addEventListener(e, t, { once: !0 }), n ? ti(a, o) : a.dispatchEvent(o);
|
|
4851
4852
|
}
|
|
@@ -4858,7 +4859,7 @@ function mi(e) {
|
|
|
4858
4859
|
r((n) => n ?? String(ui++));
|
|
4859
4860
|
}, [e]), t ? `radix-${t}` : "";
|
|
4860
4861
|
}
|
|
4861
|
-
const gi = ["top", "right", "bottom", "left"], pe = Math.min, Q = Math.max, tt = Math.round,
|
|
4862
|
+
const gi = ["top", "right", "bottom", "left"], pe = Math.min, Q = Math.max, tt = Math.round, Qe = Math.floor, ne = (e) => ({
|
|
4862
4863
|
x: e,
|
|
4863
4864
|
y: e
|
|
4864
4865
|
}), pi = {
|
|
@@ -4882,22 +4883,22 @@ function ue(e) {
|
|
|
4882
4883
|
function $e(e) {
|
|
4883
4884
|
return e.split("-")[1];
|
|
4884
4885
|
}
|
|
4885
|
-
function
|
|
4886
|
+
function Dt(e) {
|
|
4886
4887
|
return e === "x" ? "y" : "x";
|
|
4887
4888
|
}
|
|
4888
|
-
function
|
|
4889
|
+
function zt(e) {
|
|
4889
4890
|
return e === "y" ? "height" : "width";
|
|
4890
4891
|
}
|
|
4891
4892
|
const hi = /* @__PURE__ */ new Set(["top", "bottom"]);
|
|
4892
4893
|
function te(e) {
|
|
4893
4894
|
return hi.has(ue(e)) ? "y" : "x";
|
|
4894
4895
|
}
|
|
4895
|
-
function
|
|
4896
|
-
return
|
|
4896
|
+
function Wt(e) {
|
|
4897
|
+
return Dt(te(e));
|
|
4897
4898
|
}
|
|
4898
4899
|
function yi(e, t, r) {
|
|
4899
4900
|
r === void 0 && (r = !1);
|
|
4900
|
-
const n = $e(e), a =
|
|
4901
|
+
const n = $e(e), a = Wt(e), o = zt(a);
|
|
4901
4902
|
let s = a === "x" ? n === (r ? "end" : "start") ? "right" : "left" : n === "start" ? "bottom" : "top";
|
|
4902
4903
|
return t.reference[o] > t.floating[o] && (s = rt(s)), [s, rt(s)];
|
|
4903
4904
|
}
|
|
@@ -4908,12 +4909,12 @@ function bi(e) {
|
|
|
4908
4909
|
function At(e) {
|
|
4909
4910
|
return e.replace(/start|end/g, (t) => fi[t]);
|
|
4910
4911
|
}
|
|
4911
|
-
const
|
|
4912
|
+
const sr = ["left", "right"], lr = ["right", "left"], xi = ["top", "bottom"], vi = ["bottom", "top"];
|
|
4912
4913
|
function wi(e, t, r) {
|
|
4913
4914
|
switch (e) {
|
|
4914
4915
|
case "top":
|
|
4915
4916
|
case "bottom":
|
|
4916
|
-
return r ? t ?
|
|
4917
|
+
return r ? t ? lr : sr : t ? sr : lr;
|
|
4917
4918
|
case "left":
|
|
4918
4919
|
case "right":
|
|
4919
4920
|
return t ? xi : vi;
|
|
@@ -4938,7 +4939,7 @@ function Ci(e) {
|
|
|
4938
4939
|
...e
|
|
4939
4940
|
};
|
|
4940
4941
|
}
|
|
4941
|
-
function
|
|
4942
|
+
function Zr(e) {
|
|
4942
4943
|
return typeof e != "number" ? Ci(e) : {
|
|
4943
4944
|
top: e,
|
|
4944
4945
|
right: e,
|
|
@@ -4964,12 +4965,12 @@ function nt(e) {
|
|
|
4964
4965
|
y: r
|
|
4965
4966
|
};
|
|
4966
4967
|
}
|
|
4967
|
-
function
|
|
4968
|
+
function cr(e, t, r) {
|
|
4968
4969
|
let {
|
|
4969
4970
|
reference: n,
|
|
4970
4971
|
floating: a
|
|
4971
4972
|
} = e;
|
|
4972
|
-
const o = te(t), s =
|
|
4973
|
+
const o = te(t), s = Wt(t), l = zt(s), c = ue(t), d = o === "y", u = n.x + n.width / 2 - a.width / 2, m = n.y + n.height / 2 - a.height / 2, p = n[l] / 2 - a[l] / 2;
|
|
4973
4974
|
let g;
|
|
4974
4975
|
switch (c) {
|
|
4975
4976
|
case "top":
|
|
@@ -5026,7 +5027,7 @@ const Si = async (e, t, r) => {
|
|
|
5026
5027
|
}), {
|
|
5027
5028
|
x: u,
|
|
5028
5029
|
y: m
|
|
5029
|
-
} =
|
|
5030
|
+
} = cr(d, n, c), p = n, g = {}, f = 0;
|
|
5030
5031
|
for (let b = 0; b < l.length; b++) {
|
|
5031
5032
|
const {
|
|
5032
5033
|
name: w,
|
|
@@ -5063,7 +5064,7 @@ const Si = async (e, t, r) => {
|
|
|
5063
5064
|
}) : N.rects), {
|
|
5064
5065
|
x: u,
|
|
5065
5066
|
y: m
|
|
5066
|
-
} =
|
|
5067
|
+
} = cr(d, p, c)), b = -1);
|
|
5067
5068
|
}
|
|
5068
5069
|
return {
|
|
5069
5070
|
x: u,
|
|
@@ -5073,7 +5074,7 @@ const Si = async (e, t, r) => {
|
|
|
5073
5074
|
middlewareData: g
|
|
5074
5075
|
};
|
|
5075
5076
|
};
|
|
5076
|
-
async function
|
|
5077
|
+
async function je(e, t) {
|
|
5077
5078
|
var r;
|
|
5078
5079
|
t === void 0 && (t = {});
|
|
5079
5080
|
const {
|
|
@@ -5089,7 +5090,7 @@ async function Fe(e, t) {
|
|
|
5089
5090
|
elementContext: m = "floating",
|
|
5090
5091
|
altBoundary: p = !1,
|
|
5091
5092
|
padding: g = 0
|
|
5092
|
-
} = de(t, e), f =
|
|
5093
|
+
} = de(t, e), f = Zr(g), w = l[p ? m === "floating" ? "reference" : "floating" : m], k = nt(await o.getClippingRect({
|
|
5093
5094
|
element: (r = await (o.isElement == null ? void 0 : o.isElement(w))) == null || r ? w : w.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(l.floating)),
|
|
5094
5095
|
boundary: d,
|
|
5095
5096
|
rootBoundary: u,
|
|
@@ -5136,10 +5137,10 @@ const Ni = (e) => ({
|
|
|
5136
5137
|
} = de(e, t) || {};
|
|
5137
5138
|
if (d == null)
|
|
5138
5139
|
return {};
|
|
5139
|
-
const m =
|
|
5140
|
+
const m = Zr(u), p = {
|
|
5140
5141
|
x: r,
|
|
5141
5142
|
y: n
|
|
5142
|
-
}, g =
|
|
5143
|
+
}, g = Wt(a), f = zt(g), b = await s.getDimensions(d), w = g === "y", k = w ? "top" : "left", C = w ? "bottom" : "right", S = w ? "clientHeight" : "clientWidth", E = o.reference[f] + o.reference[g] - p[g] - o.floating[f], N = p[g] - o.reference[g], $ = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(d));
|
|
5143
5144
|
let A = $ ? $[S] : 0;
|
|
5144
5145
|
(!A || !await (s.isElement == null ? void 0 : s.isElement($))) && (A = l.floating[S] || o.floating[f]);
|
|
5145
5146
|
const O = E / 2 - N / 2, D = A / 2 - b[f] / 2 - 1, M = pe(m[k], D), z = pe(m[C], D), U = M, W = A - b[f] - z, B = A / 2 - b[f] / 2 + O, G = Et(U, B, W), j = !c.arrow && $e(a) != null && B !== G && o.reference[f] / 2 - (B < U ? M : z) - b[f] / 2 < 0, K = j ? B < U ? B - U : B - W : 0;
|
|
@@ -5181,7 +5182,7 @@ const Ni = (e) => ({
|
|
|
5181
5182
|
return {};
|
|
5182
5183
|
const k = ue(a), C = te(l), S = ue(l) === l, E = await (c.isRTL == null ? void 0 : c.isRTL(d.floating)), N = p || (S || !b ? [rt(l)] : bi(l)), $ = f !== "none";
|
|
5183
5184
|
!p && $ && N.push(...ki(l, b, f, E));
|
|
5184
|
-
const A = [l, ...N], O = await
|
|
5185
|
+
const A = [l, ...N], O = await je(t, w), D = [];
|
|
5185
5186
|
let M = ((n = o.flip) == null ? void 0 : n.overflows) || [];
|
|
5186
5187
|
if (u && D.push(O[k]), m) {
|
|
5187
5188
|
const B = yi(a, s, E);
|
|
@@ -5237,7 +5238,7 @@ const Ni = (e) => ({
|
|
|
5237
5238
|
}
|
|
5238
5239
|
};
|
|
5239
5240
|
};
|
|
5240
|
-
function
|
|
5241
|
+
function dr(e, t) {
|
|
5241
5242
|
return {
|
|
5242
5243
|
top: e.top - t.height,
|
|
5243
5244
|
right: e.right - t.width,
|
|
@@ -5245,7 +5246,7 @@ function mr(e, t) {
|
|
|
5245
5246
|
left: e.left - t.width
|
|
5246
5247
|
};
|
|
5247
5248
|
}
|
|
5248
|
-
function
|
|
5249
|
+
function ur(e) {
|
|
5249
5250
|
return gi.some((t) => e[t] >= 0);
|
|
5250
5251
|
}
|
|
5251
5252
|
const Ai = function(e) {
|
|
@@ -5261,26 +5262,26 @@ const Ai = function(e) {
|
|
|
5261
5262
|
} = de(e, t);
|
|
5262
5263
|
switch (n) {
|
|
5263
5264
|
case "referenceHidden": {
|
|
5264
|
-
const o = await
|
|
5265
|
+
const o = await je(t, {
|
|
5265
5266
|
...a,
|
|
5266
5267
|
elementContext: "reference"
|
|
5267
|
-
}), s =
|
|
5268
|
+
}), s = dr(o, r.reference);
|
|
5268
5269
|
return {
|
|
5269
5270
|
data: {
|
|
5270
5271
|
referenceHiddenOffsets: s,
|
|
5271
|
-
referenceHidden:
|
|
5272
|
+
referenceHidden: ur(s)
|
|
5272
5273
|
}
|
|
5273
5274
|
};
|
|
5274
5275
|
}
|
|
5275
5276
|
case "escaped": {
|
|
5276
|
-
const o = await
|
|
5277
|
+
const o = await je(t, {
|
|
5277
5278
|
...a,
|
|
5278
5279
|
altBoundary: !0
|
|
5279
|
-
}), s =
|
|
5280
|
+
}), s = dr(o, r.floating);
|
|
5280
5281
|
return {
|
|
5281
5282
|
data: {
|
|
5282
5283
|
escapedOffsets: s,
|
|
5283
|
-
escaped:
|
|
5284
|
+
escaped: ur(s)
|
|
5284
5285
|
}
|
|
5285
5286
|
};
|
|
5286
5287
|
}
|
|
@@ -5289,13 +5290,13 @@ const Ai = function(e) {
|
|
|
5289
5290
|
}
|
|
5290
5291
|
}
|
|
5291
5292
|
};
|
|
5292
|
-
},
|
|
5293
|
+
}, Jr = /* @__PURE__ */ new Set(["left", "top"]);
|
|
5293
5294
|
async function Pi(e, t) {
|
|
5294
5295
|
const {
|
|
5295
5296
|
placement: r,
|
|
5296
5297
|
platform: n,
|
|
5297
5298
|
elements: a
|
|
5298
|
-
} = e, o = await (n.isRTL == null ? void 0 : n.isRTL(a.floating)), s = ue(r), l = $e(r), c = te(r) === "y", d =
|
|
5299
|
+
} = e, o = await (n.isRTL == null ? void 0 : n.isRTL(a.floating)), s = ue(r), l = $e(r), c = te(r) === "y", d = Jr.has(s) ? -1 : 1, u = o && c ? -1 : 1, m = de(t, e);
|
|
5299
5300
|
let {
|
|
5300
5301
|
mainAxis: p,
|
|
5301
5302
|
crossAxis: g,
|
|
@@ -5367,7 +5368,7 @@ const Ti = function(e) {
|
|
|
5367
5368
|
} = de(e, t), d = {
|
|
5368
5369
|
x: r,
|
|
5369
5370
|
y: n
|
|
5370
|
-
}, u = await
|
|
5371
|
+
}, u = await je(t, c), m = te(ue(a)), p = Dt(m);
|
|
5371
5372
|
let g = d[p], f = d[m];
|
|
5372
5373
|
if (o) {
|
|
5373
5374
|
const w = p === "y" ? "top" : "left", k = p === "y" ? "bottom" : "right", C = g + u[w], S = g - u[k];
|
|
@@ -5412,7 +5413,7 @@ const Ti = function(e) {
|
|
|
5412
5413
|
} = de(e, t), u = {
|
|
5413
5414
|
x: r,
|
|
5414
5415
|
y: n
|
|
5415
|
-
}, m = te(a), p =
|
|
5416
|
+
}, m = te(a), p = Dt(m);
|
|
5416
5417
|
let g = u[p], f = u[m];
|
|
5417
5418
|
const b = de(l, t), w = typeof b == "number" ? {
|
|
5418
5419
|
mainAxis: b,
|
|
@@ -5428,7 +5429,7 @@ const Ti = function(e) {
|
|
|
5428
5429
|
}
|
|
5429
5430
|
if (d) {
|
|
5430
5431
|
var k, C;
|
|
5431
|
-
const S = p === "y" ? "width" : "height", E =
|
|
5432
|
+
const S = p === "y" ? "width" : "height", E = Jr.has(ue(a)), N = o.reference[m] - o.floating[S] + (E && ((k = s.offset) == null ? void 0 : k[m]) || 0) + (E ? 0 : w.crossAxis), $ = o.reference[m] + o.reference[S] + (E ? 0 : ((C = s.offset) == null ? void 0 : C[m]) || 0) - (E ? w.crossAxis : 0);
|
|
5432
5433
|
f < N ? f = N : f > $ && (f = $);
|
|
5433
5434
|
}
|
|
5434
5435
|
return {
|
|
@@ -5452,7 +5453,7 @@ const Ti = function(e) {
|
|
|
5452
5453
|
apply: c = () => {
|
|
5453
5454
|
},
|
|
5454
5455
|
...d
|
|
5455
|
-
} = de(e, t), u = await
|
|
5456
|
+
} = de(e, t), u = await je(t, d), m = ue(a), p = $e(a), g = te(a) === "y", {
|
|
5456
5457
|
width: f,
|
|
5457
5458
|
height: b
|
|
5458
5459
|
} = o.floating;
|
|
@@ -5482,7 +5483,7 @@ function dt() {
|
|
|
5482
5483
|
return typeof window < "u";
|
|
5483
5484
|
}
|
|
5484
5485
|
function Le(e) {
|
|
5485
|
-
return
|
|
5486
|
+
return en(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
5486
5487
|
}
|
|
5487
5488
|
function X(e) {
|
|
5488
5489
|
var t;
|
|
@@ -5490,9 +5491,9 @@ function X(e) {
|
|
|
5490
5491
|
}
|
|
5491
5492
|
function oe(e) {
|
|
5492
5493
|
var t;
|
|
5493
|
-
return (t = (
|
|
5494
|
+
return (t = (en(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
|
|
5494
5495
|
}
|
|
5495
|
-
function
|
|
5496
|
+
function en(e) {
|
|
5496
5497
|
return dt() ? e instanceof Node || e instanceof X(e).Node : !1;
|
|
5497
5498
|
}
|
|
5498
5499
|
function Z(e) {
|
|
@@ -5501,11 +5502,11 @@ function Z(e) {
|
|
|
5501
5502
|
function ae(e) {
|
|
5502
5503
|
return dt() ? e instanceof HTMLElement || e instanceof X(e).HTMLElement : !1;
|
|
5503
5504
|
}
|
|
5504
|
-
function
|
|
5505
|
+
function mr(e) {
|
|
5505
5506
|
return !dt() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof X(e).ShadowRoot;
|
|
5506
5507
|
}
|
|
5507
5508
|
const Ri = /* @__PURE__ */ new Set(["inline", "contents"]);
|
|
5508
|
-
function
|
|
5509
|
+
function Ge(e) {
|
|
5509
5510
|
const {
|
|
5510
5511
|
overflow: t,
|
|
5511
5512
|
overflowX: r,
|
|
@@ -5529,14 +5530,14 @@ function ut(e) {
|
|
|
5529
5530
|
});
|
|
5530
5531
|
}
|
|
5531
5532
|
const zi = ["transform", "translate", "scale", "rotate", "perspective"], Wi = ["transform", "translate", "scale", "rotate", "perspective", "filter"], Bi = ["paint", "layout", "strict", "content"];
|
|
5532
|
-
function
|
|
5533
|
-
const t =
|
|
5533
|
+
function Bt(e) {
|
|
5534
|
+
const t = jt(), r = Z(e) ? J(e) : e;
|
|
5534
5535
|
return zi.some((n) => r[n] ? r[n] !== "none" : !1) || (r.containerType ? r.containerType !== "normal" : !1) || !t && (r.backdropFilter ? r.backdropFilter !== "none" : !1) || !t && (r.filter ? r.filter !== "none" : !1) || Wi.some((n) => (r.willChange || "").includes(n)) || Bi.some((n) => (r.contain || "").includes(n));
|
|
5535
5536
|
}
|
|
5536
5537
|
function ji(e) {
|
|
5537
5538
|
let t = fe(e);
|
|
5538
5539
|
for (; ae(t) && !Ae(t); ) {
|
|
5539
|
-
if (
|
|
5540
|
+
if (Bt(t))
|
|
5540
5541
|
return t;
|
|
5541
5542
|
if (ut(t))
|
|
5542
5543
|
return null;
|
|
@@ -5544,7 +5545,7 @@ function ji(e) {
|
|
|
5544
5545
|
}
|
|
5545
5546
|
return null;
|
|
5546
5547
|
}
|
|
5547
|
-
function
|
|
5548
|
+
function jt() {
|
|
5548
5549
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
5549
5550
|
}
|
|
5550
5551
|
const Fi = /* @__PURE__ */ new Set(["html", "body", "#document"]);
|
|
@@ -5570,29 +5571,29 @@ function fe(e) {
|
|
|
5570
5571
|
// Step into the shadow DOM of the parent of a slotted node.
|
|
5571
5572
|
e.assignedSlot || // DOM Element detected.
|
|
5572
5573
|
e.parentNode || // ShadowRoot detected.
|
|
5573
|
-
|
|
5574
|
+
mr(e) && e.host || // Fallback.
|
|
5574
5575
|
oe(e)
|
|
5575
5576
|
);
|
|
5576
|
-
return
|
|
5577
|
+
return mr(t) ? t.host : t;
|
|
5577
5578
|
}
|
|
5578
|
-
function
|
|
5579
|
+
function tn(e) {
|
|
5579
5580
|
const t = fe(e);
|
|
5580
|
-
return Ae(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : ae(t) &&
|
|
5581
|
+
return Ae(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : ae(t) && Ge(t) ? t : tn(t);
|
|
5581
5582
|
}
|
|
5582
|
-
function
|
|
5583
|
+
function Fe(e, t, r) {
|
|
5583
5584
|
var n;
|
|
5584
5585
|
t === void 0 && (t = []), r === void 0 && (r = !0);
|
|
5585
|
-
const a =
|
|
5586
|
+
const a = tn(e), o = a === ((n = e.ownerDocument) == null ? void 0 : n.body), s = X(a);
|
|
5586
5587
|
if (o) {
|
|
5587
5588
|
const l = Pt(s);
|
|
5588
|
-
return t.concat(s, s.visualViewport || [],
|
|
5589
|
+
return t.concat(s, s.visualViewport || [], Ge(a) ? a : [], l && r ? Fe(l) : []);
|
|
5589
5590
|
}
|
|
5590
|
-
return t.concat(a,
|
|
5591
|
+
return t.concat(a, Fe(a, [], r));
|
|
5591
5592
|
}
|
|
5592
5593
|
function Pt(e) {
|
|
5593
5594
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
5594
5595
|
}
|
|
5595
|
-
function
|
|
5596
|
+
function rn(e) {
|
|
5596
5597
|
const t = J(e);
|
|
5597
5598
|
let r = parseFloat(t.width) || 0, n = parseFloat(t.height) || 0;
|
|
5598
5599
|
const a = ae(e), o = a ? e.offsetWidth : r, s = a ? e.offsetHeight : n, l = tt(r) !== o || tt(n) !== s;
|
|
@@ -5602,18 +5603,18 @@ function an(e) {
|
|
|
5602
5603
|
$: l
|
|
5603
5604
|
};
|
|
5604
5605
|
}
|
|
5605
|
-
function
|
|
5606
|
+
function Ft(e) {
|
|
5606
5607
|
return Z(e) ? e : e.contextElement;
|
|
5607
5608
|
}
|
|
5608
5609
|
function Se(e) {
|
|
5609
|
-
const t =
|
|
5610
|
+
const t = Ft(e);
|
|
5610
5611
|
if (!ae(t))
|
|
5611
5612
|
return ne(1);
|
|
5612
5613
|
const r = t.getBoundingClientRect(), {
|
|
5613
5614
|
width: n,
|
|
5614
5615
|
height: a,
|
|
5615
5616
|
$: o
|
|
5616
|
-
} =
|
|
5617
|
+
} = rn(t);
|
|
5617
5618
|
let s = (o ? tt(r.width) : r.width) / n, l = (o ? tt(r.height) : r.height) / a;
|
|
5618
5619
|
return (!s || !Number.isFinite(s)) && (s = 1), (!l || !Number.isFinite(l)) && (l = 1), {
|
|
5619
5620
|
x: s,
|
|
@@ -5621,9 +5622,9 @@ function Se(e) {
|
|
|
5621
5622
|
};
|
|
5622
5623
|
}
|
|
5623
5624
|
const _i = /* @__PURE__ */ ne(0);
|
|
5624
|
-
function
|
|
5625
|
+
function nn(e) {
|
|
5625
5626
|
const t = X(e);
|
|
5626
|
-
return !
|
|
5627
|
+
return !jt() || !t.visualViewport ? _i : {
|
|
5627
5628
|
x: t.visualViewport.offsetLeft,
|
|
5628
5629
|
y: t.visualViewport.offsetTop
|
|
5629
5630
|
};
|
|
@@ -5633,10 +5634,10 @@ function Vi(e, t, r) {
|
|
|
5633
5634
|
}
|
|
5634
5635
|
function xe(e, t, r, n) {
|
|
5635
5636
|
t === void 0 && (t = !1), r === void 0 && (r = !1);
|
|
5636
|
-
const a = e.getBoundingClientRect(), o =
|
|
5637
|
+
const a = e.getBoundingClientRect(), o = Ft(e);
|
|
5637
5638
|
let s = ne(1);
|
|
5638
5639
|
t && (n ? Z(n) && (s = Se(n)) : s = Se(e));
|
|
5639
|
-
const l = Vi(o, r, n) ?
|
|
5640
|
+
const l = Vi(o, r, n) ? nn(o) : ne(0);
|
|
5640
5641
|
let c = (a.left + l.x) / s.x, d = (a.top + l.y) / s.y, u = a.width / s.x, m = a.height / s.y;
|
|
5641
5642
|
if (o) {
|
|
5642
5643
|
const p = X(o), g = n && Z(n) ? X(n) : n;
|
|
@@ -5657,7 +5658,7 @@ function gt(e, t) {
|
|
|
5657
5658
|
const r = mt(e).scrollLeft;
|
|
5658
5659
|
return t ? t.left + r : xe(oe(e)).left + r;
|
|
5659
5660
|
}
|
|
5660
|
-
function
|
|
5661
|
+
function an(e, t) {
|
|
5661
5662
|
const r = e.getBoundingClientRect(), n = r.left + t.scrollLeft - gt(e, r), a = r.top + t.scrollTop;
|
|
5662
5663
|
return {
|
|
5663
5664
|
x: n,
|
|
@@ -5679,11 +5680,11 @@ function Hi(e) {
|
|
|
5679
5680
|
scrollTop: 0
|
|
5680
5681
|
}, d = ne(1);
|
|
5681
5682
|
const u = ne(0), m = ae(n);
|
|
5682
|
-
if ((m || !m && !o) && ((Le(n) !== "body" ||
|
|
5683
|
+
if ((m || !m && !o) && ((Le(n) !== "body" || Ge(s)) && (c = mt(n)), ae(n))) {
|
|
5683
5684
|
const g = xe(n);
|
|
5684
5685
|
d = Se(n), u.x = g.x + n.clientLeft, u.y = g.y + n.clientTop;
|
|
5685
5686
|
}
|
|
5686
|
-
const p = s && !m && !o ?
|
|
5687
|
+
const p = s && !m && !o ? an(s, c) : ne(0);
|
|
5687
5688
|
return {
|
|
5688
5689
|
width: r.width * d.x,
|
|
5689
5690
|
height: r.height * d.y,
|
|
@@ -5705,20 +5706,20 @@ function qi(e) {
|
|
|
5705
5706
|
y: l
|
|
5706
5707
|
};
|
|
5707
5708
|
}
|
|
5708
|
-
const
|
|
5709
|
+
const gr = 25;
|
|
5709
5710
|
function Gi(e, t) {
|
|
5710
5711
|
const r = X(e), n = oe(e), a = r.visualViewport;
|
|
5711
5712
|
let o = n.clientWidth, s = n.clientHeight, l = 0, c = 0;
|
|
5712
5713
|
if (a) {
|
|
5713
5714
|
o = a.width, s = a.height;
|
|
5714
|
-
const u =
|
|
5715
|
+
const u = jt();
|
|
5715
5716
|
(!u || u && t === "fixed") && (l = a.offsetLeft, c = a.offsetTop);
|
|
5716
5717
|
}
|
|
5717
5718
|
const d = gt(n);
|
|
5718
5719
|
if (d <= 0) {
|
|
5719
5720
|
const u = n.ownerDocument, m = u.body, p = getComputedStyle(m), g = u.compatMode === "CSS1Compat" && parseFloat(p.marginLeft) + parseFloat(p.marginRight) || 0, f = Math.abs(n.clientWidth - m.clientWidth - g);
|
|
5720
|
-
f <=
|
|
5721
|
-
} else d <=
|
|
5721
|
+
f <= gr && (o -= f);
|
|
5722
|
+
} else d <= gr && (o += d);
|
|
5722
5723
|
return {
|
|
5723
5724
|
width: o,
|
|
5724
5725
|
height: s,
|
|
@@ -5736,7 +5737,7 @@ function Yi(e, t) {
|
|
|
5736
5737
|
y: d
|
|
5737
5738
|
};
|
|
5738
5739
|
}
|
|
5739
|
-
function
|
|
5740
|
+
function pr(e, t, r) {
|
|
5740
5741
|
let n;
|
|
5741
5742
|
if (t === "viewport")
|
|
5742
5743
|
n = Gi(e, r);
|
|
@@ -5745,7 +5746,7 @@ function hr(e, t, r) {
|
|
|
5745
5746
|
else if (Z(t))
|
|
5746
5747
|
n = Yi(t, r);
|
|
5747
5748
|
else {
|
|
5748
|
-
const a =
|
|
5749
|
+
const a = nn(e);
|
|
5749
5750
|
n = {
|
|
5750
5751
|
x: t.x - a.x,
|
|
5751
5752
|
y: t.y - a.y,
|
|
@@ -5755,20 +5756,20 @@ function hr(e, t, r) {
|
|
|
5755
5756
|
}
|
|
5756
5757
|
return nt(n);
|
|
5757
5758
|
}
|
|
5758
|
-
function
|
|
5759
|
+
function on(e, t) {
|
|
5759
5760
|
const r = fe(e);
|
|
5760
|
-
return r === t || !Z(r) || Ae(r) ? !1 : J(r).position === "fixed" ||
|
|
5761
|
+
return r === t || !Z(r) || Ae(r) ? !1 : J(r).position === "fixed" || on(r, t);
|
|
5761
5762
|
}
|
|
5762
5763
|
function Qi(e, t) {
|
|
5763
5764
|
const r = t.get(e);
|
|
5764
5765
|
if (r)
|
|
5765
5766
|
return r;
|
|
5766
|
-
let n =
|
|
5767
|
+
let n = Fe(e, [], !1).filter((l) => Z(l) && Le(l) !== "body"), a = null;
|
|
5767
5768
|
const o = J(e).position === "fixed";
|
|
5768
5769
|
let s = o ? fe(e) : e;
|
|
5769
5770
|
for (; Z(s) && !Ae(s); ) {
|
|
5770
|
-
const l = J(s), c =
|
|
5771
|
-
!c && l.position === "fixed" && (a = null), (o ? !c && !a : !c && l.position === "static" && !!a && Ki.has(a.position) ||
|
|
5771
|
+
const l = J(s), c = Bt(s);
|
|
5772
|
+
!c && l.position === "fixed" && (a = null), (o ? !c && !a : !c && l.position === "static" && !!a && Ki.has(a.position) || Ge(s) && !c && on(e, s)) ? n = n.filter((u) => u !== s) : a = l, s = fe(s);
|
|
5772
5773
|
}
|
|
5773
5774
|
return t.set(e, n), n;
|
|
5774
5775
|
}
|
|
@@ -5780,9 +5781,9 @@ function Xi(e) {
|
|
|
5780
5781
|
strategy: a
|
|
5781
5782
|
} = e;
|
|
5782
5783
|
const s = [...r === "clippingAncestors" ? ut(t) ? [] : Qi(t, this._c) : [].concat(r), n], l = s[0], c = s.reduce((d, u) => {
|
|
5783
|
-
const m =
|
|
5784
|
+
const m = pr(t, u, a);
|
|
5784
5785
|
return d.top = Q(m.top, d.top), d.right = pe(m.right, d.right), d.bottom = pe(m.bottom, d.bottom), d.left = Q(m.left, d.left), d;
|
|
5785
|
-
},
|
|
5786
|
+
}, pr(t, l, a));
|
|
5786
5787
|
return {
|
|
5787
5788
|
width: c.right - c.left,
|
|
5788
5789
|
height: c.bottom - c.top,
|
|
@@ -5794,7 +5795,7 @@ function Zi(e) {
|
|
|
5794
5795
|
const {
|
|
5795
5796
|
width: t,
|
|
5796
5797
|
height: r
|
|
5797
|
-
} =
|
|
5798
|
+
} = rn(e);
|
|
5798
5799
|
return {
|
|
5799
5800
|
width: t,
|
|
5800
5801
|
height: r
|
|
@@ -5811,12 +5812,12 @@ function Ji(e, t, r) {
|
|
|
5811
5812
|
c.x = gt(a);
|
|
5812
5813
|
}
|
|
5813
5814
|
if (n || !n && !o)
|
|
5814
|
-
if ((Le(t) !== "body" ||
|
|
5815
|
+
if ((Le(t) !== "body" || Ge(a)) && (l = mt(t)), n) {
|
|
5815
5816
|
const g = xe(t, !0, o, t);
|
|
5816
5817
|
c.x = g.x + t.clientLeft, c.y = g.y + t.clientTop;
|
|
5817
5818
|
} else a && d();
|
|
5818
5819
|
o && !n && a && d();
|
|
5819
|
-
const u = a && !n && !o ?
|
|
5820
|
+
const u = a && !n && !o ? an(a, l) : ne(0), m = s.left + l.scrollLeft - c.x - u.x, p = s.top + l.scrollTop - c.y - u.y;
|
|
5820
5821
|
return {
|
|
5821
5822
|
x: m,
|
|
5822
5823
|
y: p,
|
|
@@ -5827,7 +5828,7 @@ function Ji(e, t, r) {
|
|
|
5827
5828
|
function yt(e) {
|
|
5828
5829
|
return J(e).position === "static";
|
|
5829
5830
|
}
|
|
5830
|
-
function
|
|
5831
|
+
function fr(e, t) {
|
|
5831
5832
|
if (!ae(e) || J(e).position === "fixed")
|
|
5832
5833
|
return null;
|
|
5833
5834
|
if (t)
|
|
@@ -5835,7 +5836,7 @@ function yr(e, t) {
|
|
|
5835
5836
|
let r = e.offsetParent;
|
|
5836
5837
|
return oe(e) === r && (r = r.ownerDocument.body), r;
|
|
5837
5838
|
}
|
|
5838
|
-
function
|
|
5839
|
+
function sn(e, t) {
|
|
5839
5840
|
const r = X(e);
|
|
5840
5841
|
if (ut(e))
|
|
5841
5842
|
return r;
|
|
@@ -5848,13 +5849,13 @@ function cn(e, t) {
|
|
|
5848
5849
|
}
|
|
5849
5850
|
return r;
|
|
5850
5851
|
}
|
|
5851
|
-
let n =
|
|
5852
|
+
let n = fr(e, t);
|
|
5852
5853
|
for (; n && Oi(n) && yt(n); )
|
|
5853
|
-
n =
|
|
5854
|
-
return n && Ae(n) && yt(n) && !
|
|
5854
|
+
n = fr(n, t);
|
|
5855
|
+
return n && Ae(n) && yt(n) && !Bt(n) ? r : n || ji(e) || r;
|
|
5855
5856
|
}
|
|
5856
5857
|
const es = async function(e) {
|
|
5857
|
-
const t = this.getOffsetParent ||
|
|
5858
|
+
const t = this.getOffsetParent || sn, r = this.getDimensions, n = await r(e.floating);
|
|
5858
5859
|
return {
|
|
5859
5860
|
reference: Ji(e.reference, await t(e.floating), e.strategy),
|
|
5860
5861
|
floating: {
|
|
@@ -5872,7 +5873,7 @@ const rs = {
|
|
|
5872
5873
|
convertOffsetParentRelativeRectToViewportRelativeRect: Hi,
|
|
5873
5874
|
getDocumentElement: oe,
|
|
5874
5875
|
getClippingRect: Xi,
|
|
5875
|
-
getOffsetParent:
|
|
5876
|
+
getOffsetParent: sn,
|
|
5876
5877
|
getElementRects: es,
|
|
5877
5878
|
getClientRects: Ui,
|
|
5878
5879
|
getDimensions: Zi,
|
|
@@ -5880,7 +5881,7 @@ const rs = {
|
|
|
5880
5881
|
isElement: Z,
|
|
5881
5882
|
isRTL: ts
|
|
5882
5883
|
};
|
|
5883
|
-
function
|
|
5884
|
+
function ln(e, t) {
|
|
5884
5885
|
return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
|
|
5885
5886
|
}
|
|
5886
5887
|
function ns(e, t) {
|
|
@@ -5900,7 +5901,7 @@ function ns(e, t) {
|
|
|
5900
5901
|
} = d;
|
|
5901
5902
|
if (l || t(), !p || !g)
|
|
5902
5903
|
return;
|
|
5903
|
-
const f =
|
|
5904
|
+
const f = Qe(m), b = Qe(a.clientWidth - (u + p)), w = Qe(a.clientHeight - (m + g)), k = Qe(u), S = {
|
|
5904
5905
|
rootMargin: -f + "px " + -b + "px " + -w + "px " + -k + "px",
|
|
5905
5906
|
threshold: Q(0, pe(1, c)) || 1
|
|
5906
5907
|
};
|
|
@@ -5914,7 +5915,7 @@ function ns(e, t) {
|
|
|
5914
5915
|
s(!1, 1e-7);
|
|
5915
5916
|
}, 1e3);
|
|
5916
5917
|
}
|
|
5917
|
-
A === 1 && !
|
|
5918
|
+
A === 1 && !ln(d, e.getBoundingClientRect()) && s(), E = !1;
|
|
5918
5919
|
}
|
|
5919
5920
|
try {
|
|
5920
5921
|
r = new IntersectionObserver(N, {
|
|
@@ -5937,7 +5938,7 @@ function as(e, t, r, n) {
|
|
|
5937
5938
|
elementResize: s = typeof ResizeObserver == "function",
|
|
5938
5939
|
layoutShift: l = typeof IntersectionObserver == "function",
|
|
5939
5940
|
animationFrame: c = !1
|
|
5940
|
-
} = n, d =
|
|
5941
|
+
} = n, d = Ft(e), u = a || o ? [...d ? Fe(d) : [], ...Fe(t)] : [];
|
|
5941
5942
|
u.forEach((k) => {
|
|
5942
5943
|
a && k.addEventListener("scroll", r, {
|
|
5943
5944
|
passive: !0
|
|
@@ -5956,7 +5957,7 @@ function as(e, t, r, n) {
|
|
|
5956
5957
|
c && w();
|
|
5957
5958
|
function w() {
|
|
5958
5959
|
const k = xe(e);
|
|
5959
|
-
b && !
|
|
5960
|
+
b && !ln(b, k) && r(), b = k, f = requestAnimationFrame(w);
|
|
5960
5961
|
}
|
|
5961
5962
|
return r(), () => {
|
|
5962
5963
|
var k;
|
|
@@ -5965,7 +5966,7 @@ function as(e, t, r, n) {
|
|
|
5965
5966
|
}), m?.(), (k = g) == null || k.disconnect(), g = null, c && cancelAnimationFrame(f);
|
|
5966
5967
|
};
|
|
5967
5968
|
}
|
|
5968
|
-
const os = Ti, is = $i, ss = Ei, ls = Ii, cs = Ai,
|
|
5969
|
+
const os = Ti, is = $i, ss = Ei, ls = Ii, cs = Ai, hr = Ni, ds = Li, us = (e, t, r) => {
|
|
5969
5970
|
const n = /* @__PURE__ */ new Map(), a = {
|
|
5970
5971
|
platform: rs,
|
|
5971
5972
|
...r
|
|
@@ -5979,7 +5980,7 @@ const os = Ti, is = $i, ss = Ei, ls = Ii, cs = Ai, br = Ni, ds = Li, us = (e, t,
|
|
|
5979
5980
|
});
|
|
5980
5981
|
};
|
|
5981
5982
|
var ms = typeof document < "u", gs = function() {
|
|
5982
|
-
},
|
|
5983
|
+
}, Je = ms ? Er : gs;
|
|
5983
5984
|
function at(e, t) {
|
|
5984
5985
|
if (e === t)
|
|
5985
5986
|
return !0;
|
|
@@ -6010,16 +6011,16 @@ function at(e, t) {
|
|
|
6010
6011
|
}
|
|
6011
6012
|
return e !== e && t !== t;
|
|
6012
6013
|
}
|
|
6013
|
-
function
|
|
6014
|
+
function cn(e) {
|
|
6014
6015
|
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
6015
6016
|
}
|
|
6016
|
-
function
|
|
6017
|
-
const r =
|
|
6017
|
+
function yr(e, t) {
|
|
6018
|
+
const r = cn(e);
|
|
6018
6019
|
return Math.round(t * r) / r;
|
|
6019
6020
|
}
|
|
6020
6021
|
function bt(e) {
|
|
6021
6022
|
const t = x.useRef(e);
|
|
6022
|
-
return
|
|
6023
|
+
return Je(() => {
|
|
6023
6024
|
t.current = e;
|
|
6024
6025
|
}), t;
|
|
6025
6026
|
}
|
|
@@ -6067,21 +6068,21 @@ function ps(e) {
|
|
|
6067
6068
|
// setting it to `true` when `open === false` (must be specified).
|
|
6068
6069
|
isPositioned: U.current !== !1
|
|
6069
6070
|
};
|
|
6070
|
-
B.current && !at(O.current, ee) && (O.current = ee,
|
|
6071
|
+
B.current && !at(O.current, ee) && (O.current = ee, Br.flushSync(() => {
|
|
6071
6072
|
m(ee);
|
|
6072
6073
|
}));
|
|
6073
6074
|
});
|
|
6074
6075
|
}, [p, t, r, z, U]);
|
|
6075
|
-
|
|
6076
|
+
Je(() => {
|
|
6076
6077
|
d === !1 && O.current.isPositioned && (O.current.isPositioned = !1, m((L) => ({
|
|
6077
6078
|
...L,
|
|
6078
6079
|
isPositioned: !1
|
|
6079
6080
|
})));
|
|
6080
6081
|
}, [d]);
|
|
6081
6082
|
const B = x.useRef(!1);
|
|
6082
|
-
|
|
6083
|
+
Je(() => (B.current = !0, () => {
|
|
6083
6084
|
B.current = !1;
|
|
6084
|
-
}), []),
|
|
6085
|
+
}), []), Je(() => {
|
|
6085
6086
|
if (E && ($.current = E), N && (A.current = N), E && N) {
|
|
6086
6087
|
if (M.current)
|
|
6087
6088
|
return M.current(E, N, W);
|
|
@@ -6104,11 +6105,11 @@ function ps(e) {
|
|
|
6104
6105
|
};
|
|
6105
6106
|
if (!j.floating)
|
|
6106
6107
|
return L;
|
|
6107
|
-
const Y =
|
|
6108
|
+
const Y = yr(j.floating, u.x), ee = yr(j.floating, u.y);
|
|
6108
6109
|
return l ? {
|
|
6109
6110
|
...L,
|
|
6110
6111
|
transform: "translate(" + Y + "px, " + ee + "px)",
|
|
6111
|
-
...
|
|
6112
|
+
...cn(j.floating) >= 1.5 && {
|
|
6112
6113
|
willChange: "transform"
|
|
6113
6114
|
}
|
|
6114
6115
|
} : {
|
|
@@ -6137,10 +6138,10 @@ const fs = (e) => {
|
|
|
6137
6138
|
element: n,
|
|
6138
6139
|
padding: a
|
|
6139
6140
|
} = typeof e == "function" ? e(r) : e;
|
|
6140
|
-
return n && t(n) ? n.current != null ?
|
|
6141
|
+
return n && t(n) ? n.current != null ? hr({
|
|
6141
6142
|
element: n.current,
|
|
6142
6143
|
padding: a
|
|
6143
|
-
}).fn(r) : {} : n ?
|
|
6144
|
+
}).fn(r) : {} : n ? hr({
|
|
6144
6145
|
element: n,
|
|
6145
6146
|
padding: a
|
|
6146
6147
|
}).fn(r) : {};
|
|
@@ -6168,7 +6169,7 @@ const fs = (e) => {
|
|
|
6168
6169
|
...fs(e),
|
|
6169
6170
|
options: [e, t]
|
|
6170
6171
|
});
|
|
6171
|
-
var Cs = "Arrow",
|
|
6172
|
+
var Cs = "Arrow", dn = x.forwardRef((e, t) => {
|
|
6172
6173
|
const { children: r, width: n = 10, height: a = 5, ...o } = e;
|
|
6173
6174
|
return /* @__PURE__ */ i(
|
|
6174
6175
|
he.svg,
|
|
@@ -6183,8 +6184,8 @@ var Cs = "Arrow", mn = x.forwardRef((e, t) => {
|
|
|
6183
6184
|
}
|
|
6184
6185
|
);
|
|
6185
6186
|
});
|
|
6186
|
-
|
|
6187
|
-
var Ss =
|
|
6187
|
+
dn.displayName = Cs;
|
|
6188
|
+
var Ss = dn;
|
|
6188
6189
|
function Ns(e) {
|
|
6189
6190
|
const [t, r] = x.useState(void 0);
|
|
6190
6191
|
return ge(() => {
|
|
@@ -6207,22 +6208,22 @@ function Ns(e) {
|
|
|
6207
6208
|
r(void 0);
|
|
6208
6209
|
}, [e]), t;
|
|
6209
6210
|
}
|
|
6210
|
-
var
|
|
6211
|
+
var _t = "Popper", [un, mn] = Kr(_t), [Es, gn] = un(_t), pn = (e) => {
|
|
6211
6212
|
const { __scopePopper: t, children: r } = e, [n, a] = x.useState(null);
|
|
6212
6213
|
return /* @__PURE__ */ i(Es, { scope: t, anchor: n, onAnchorChange: a, children: r });
|
|
6213
6214
|
};
|
|
6214
|
-
|
|
6215
|
-
var
|
|
6215
|
+
pn.displayName = _t;
|
|
6216
|
+
var fn = "PopperAnchor", hn = x.forwardRef(
|
|
6216
6217
|
(e, t) => {
|
|
6217
|
-
const { __scopePopper: r, virtualRef: n, ...a } = e, o = fn
|
|
6218
|
+
const { __scopePopper: r, virtualRef: n, ...a } = e, o = gn(fn, r), s = x.useRef(null), l = we(t, s), c = x.useRef(null);
|
|
6218
6219
|
return x.useEffect(() => {
|
|
6219
6220
|
const d = c.current;
|
|
6220
6221
|
c.current = n?.current || s.current, d !== c.current && o.onAnchorChange(c.current);
|
|
6221
6222
|
}), n ? null : /* @__PURE__ */ i(he.div, { ...a, ref: l });
|
|
6222
6223
|
}
|
|
6223
6224
|
);
|
|
6224
|
-
|
|
6225
|
-
var
|
|
6225
|
+
hn.displayName = fn;
|
|
6226
|
+
var Vt = "PopperContent", [As, Ps] = un(Vt), yn = x.forwardRef(
|
|
6226
6227
|
(e, t) => {
|
|
6227
6228
|
const {
|
|
6228
6229
|
__scopePopper: r,
|
|
@@ -6239,7 +6240,7 @@ var Ut = "PopperContent", [As, Ps] = gn(Ut), xn = x.forwardRef(
|
|
|
6239
6240
|
updatePositionStrategy: g = "optimized",
|
|
6240
6241
|
onPlaced: f,
|
|
6241
6242
|
...b
|
|
6242
|
-
} = e, w =
|
|
6243
|
+
} = e, w = gn(Vt, r), [k, C] = x.useState(null), S = we(t, (Ie) => C(Ie)), [E, N] = x.useState(null), $ = Ns(E), A = $?.width ?? 0, O = $?.height ?? 0, D = n + (o !== "center" ? "-" + o : ""), M = typeof u == "number" ? u : { top: 0, right: 0, bottom: 0, left: 0, ...u }, z = Array.isArray(d) ? d : [d], U = z.length > 0, W = {
|
|
6243
6244
|
padding: M,
|
|
6244
6245
|
boundary: z.filter($s),
|
|
6245
6246
|
// with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
|
|
@@ -6265,22 +6266,22 @@ var Ut = "PopperContent", [As, Ps] = gn(Ut), xn = x.forwardRef(
|
|
|
6265
6266
|
c && xs({ ...W }),
|
|
6266
6267
|
vs({
|
|
6267
6268
|
...W,
|
|
6268
|
-
apply: ({ elements: Ie, rects:
|
|
6269
|
-
const { width:
|
|
6270
|
-
|
|
6269
|
+
apply: ({ elements: Ie, rects: Qt, availableWidth: Fn, availableHeight: _n }) => {
|
|
6270
|
+
const { width: Vn, height: Hn } = Qt.reference, Ye = Ie.floating.style;
|
|
6271
|
+
Ye.setProperty("--radix-popper-available-width", `${Fn}px`), Ye.setProperty("--radix-popper-available-height", `${_n}px`), Ye.setProperty("--radix-popper-anchor-width", `${Vn}px`), Ye.setProperty("--radix-popper-anchor-height", `${Hn}px`);
|
|
6271
6272
|
}
|
|
6272
6273
|
}),
|
|
6273
6274
|
E && ks({ element: E, padding: l }),
|
|
6274
6275
|
Ls({ arrowWidth: A, arrowHeight: O }),
|
|
6275
6276
|
p && ws({ strategy: "referenceHidden", ...W })
|
|
6276
6277
|
]
|
|
6277
|
-
}), [Y, ee] =
|
|
6278
|
+
}), [Y, ee] = vn(j), Yt = ct(f);
|
|
6278
6279
|
ge(() => {
|
|
6279
|
-
K &&
|
|
6280
|
-
}, [K,
|
|
6281
|
-
const
|
|
6280
|
+
K && Yt?.();
|
|
6281
|
+
}, [K, Yt]);
|
|
6282
|
+
const Dn = L.arrow?.x, zn = L.arrow?.y, Wn = L.arrow?.centerOffset !== 0, [Bn, jn] = x.useState();
|
|
6282
6283
|
return ge(() => {
|
|
6283
|
-
k &&
|
|
6284
|
+
k && jn(window.getComputedStyle(k).zIndex);
|
|
6284
6285
|
}, [k]), /* @__PURE__ */ i(
|
|
6285
6286
|
"div",
|
|
6286
6287
|
{
|
|
@@ -6291,7 +6292,7 @@ var Ut = "PopperContent", [As, Ps] = gn(Ut), xn = x.forwardRef(
|
|
|
6291
6292
|
transform: K ? G.transform : "translate(0, -200%)",
|
|
6292
6293
|
// keep off the page when measuring
|
|
6293
6294
|
minWidth: "max-content",
|
|
6294
|
-
zIndex:
|
|
6295
|
+
zIndex: Bn,
|
|
6295
6296
|
"--radix-popper-transform-origin": [
|
|
6296
6297
|
L.transformOrigin?.x,
|
|
6297
6298
|
L.transformOrigin?.y
|
|
@@ -6311,9 +6312,9 @@ var Ut = "PopperContent", [As, Ps] = gn(Ut), xn = x.forwardRef(
|
|
|
6311
6312
|
scope: r,
|
|
6312
6313
|
placedSide: Y,
|
|
6313
6314
|
onArrowChange: N,
|
|
6314
|
-
arrowX:
|
|
6315
|
-
arrowY:
|
|
6316
|
-
shouldHideArrow:
|
|
6315
|
+
arrowX: Dn,
|
|
6316
|
+
arrowY: zn,
|
|
6317
|
+
shouldHideArrow: Wn,
|
|
6317
6318
|
children: /* @__PURE__ */ i(
|
|
6318
6319
|
he.div,
|
|
6319
6320
|
{
|
|
@@ -6335,14 +6336,14 @@ var Ut = "PopperContent", [As, Ps] = gn(Ut), xn = x.forwardRef(
|
|
|
6335
6336
|
);
|
|
6336
6337
|
}
|
|
6337
6338
|
);
|
|
6338
|
-
|
|
6339
|
-
var
|
|
6339
|
+
yn.displayName = Vt;
|
|
6340
|
+
var bn = "PopperArrow", Ts = {
|
|
6340
6341
|
top: "bottom",
|
|
6341
6342
|
right: "left",
|
|
6342
6343
|
bottom: "top",
|
|
6343
6344
|
left: "right"
|
|
6344
|
-
},
|
|
6345
|
-
const { __scopePopper: n, ...a } = t, o = Ps(
|
|
6345
|
+
}, xn = x.forwardRef(function(t, r) {
|
|
6346
|
+
const { __scopePopper: n, ...a } = t, o = Ps(bn, n), s = Ts[o.placedSide];
|
|
6346
6347
|
return (
|
|
6347
6348
|
// we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)
|
|
6348
6349
|
// doesn't report size as we'd expect on SVG elements.
|
|
@@ -6386,7 +6387,7 @@ var vn = "PopperArrow", Ts = {
|
|
|
6386
6387
|
)
|
|
6387
6388
|
);
|
|
6388
6389
|
});
|
|
6389
|
-
|
|
6390
|
+
xn.displayName = bn;
|
|
6390
6391
|
function $s(e) {
|
|
6391
6392
|
return e !== null;
|
|
6392
6393
|
}
|
|
@@ -6394,30 +6395,30 @@ var Ls = (e) => ({
|
|
|
6394
6395
|
name: "transformOrigin",
|
|
6395
6396
|
options: e,
|
|
6396
6397
|
fn(t) {
|
|
6397
|
-
const { placement: r, rects: n, middlewareData: a } = t, s = a.arrow?.centerOffset !== 0, l = s ? 0 : e.arrowWidth, c = s ? 0 : e.arrowHeight, [d, u] =
|
|
6398
|
+
const { placement: r, rects: n, middlewareData: a } = t, s = a.arrow?.centerOffset !== 0, l = s ? 0 : e.arrowWidth, c = s ? 0 : e.arrowHeight, [d, u] = vn(r), m = { start: "0%", center: "50%", end: "100%" }[u], p = (a.arrow?.x ?? 0) + l / 2, g = (a.arrow?.y ?? 0) + c / 2;
|
|
6398
6399
|
let f = "", b = "";
|
|
6399
6400
|
return d === "bottom" ? (f = s ? m : `${p}px`, b = `${-c}px`) : d === "top" ? (f = s ? m : `${p}px`, b = `${n.floating.height + c}px`) : d === "right" ? (f = `${-c}px`, b = s ? m : `${g}px`) : d === "left" && (f = `${n.floating.width + c}px`, b = s ? m : `${g}px`), { data: { x: f, y: b } };
|
|
6400
6401
|
}
|
|
6401
6402
|
});
|
|
6402
|
-
function
|
|
6403
|
+
function vn(e) {
|
|
6403
6404
|
const [t, r = "center"] = e.split("-");
|
|
6404
6405
|
return [t, r];
|
|
6405
6406
|
}
|
|
6406
|
-
var Is =
|
|
6407
|
+
var Is = pn, Rs = hn, Ms = yn, Os = xn, Ds = "Portal", wn = x.forwardRef((e, t) => {
|
|
6407
6408
|
const { container: r, ...n } = e, [a, o] = x.useState(!1);
|
|
6408
6409
|
ge(() => o(!0), []);
|
|
6409
6410
|
const s = r || a && globalThis?.document?.body;
|
|
6410
|
-
return s ?
|
|
6411
|
+
return s ? wa.createPortal(/* @__PURE__ */ i(he.div, { ...n, ref: t }), s) : null;
|
|
6411
6412
|
});
|
|
6412
|
-
|
|
6413
|
+
wn.displayName = Ds;
|
|
6413
6414
|
function zs(e, t) {
|
|
6414
6415
|
return x.useReducer((r, n) => t[r][n] ?? r, e);
|
|
6415
6416
|
}
|
|
6416
|
-
var
|
|
6417
|
+
var Ht = (e) => {
|
|
6417
6418
|
const { present: t, children: r } = e, n = Ws(t), a = typeof r == "function" ? r({ present: n.isPresent }) : x.Children.only(r), o = we(n.ref, Bs(a));
|
|
6418
6419
|
return typeof r == "function" || n.isPresent ? x.cloneElement(a, { ref: o }) : null;
|
|
6419
6420
|
};
|
|
6420
|
-
|
|
6421
|
+
Ht.displayName = "Presence";
|
|
6421
6422
|
function Ws(e) {
|
|
6422
6423
|
const [t, r] = x.useState(), n = x.useRef(null), a = x.useRef(e), o = x.useRef("none"), s = e ? "mounted" : "unmounted", [l, c] = zs(s, {
|
|
6423
6424
|
mounted: {
|
|
@@ -6433,19 +6434,19 @@ function Ws(e) {
|
|
|
6433
6434
|
}
|
|
6434
6435
|
});
|
|
6435
6436
|
return x.useEffect(() => {
|
|
6436
|
-
const d =
|
|
6437
|
+
const d = Xe(n.current);
|
|
6437
6438
|
o.current = l === "mounted" ? d : "none";
|
|
6438
6439
|
}, [l]), ge(() => {
|
|
6439
6440
|
const d = n.current, u = a.current;
|
|
6440
6441
|
if (u !== e) {
|
|
6441
|
-
const p = o.current, g =
|
|
6442
|
+
const p = o.current, g = Xe(d);
|
|
6442
6443
|
e ? c("MOUNT") : g === "none" || d?.display === "none" ? c("UNMOUNT") : c(u && p !== g ? "ANIMATION_OUT" : "UNMOUNT"), a.current = e;
|
|
6443
6444
|
}
|
|
6444
6445
|
}, [e, c]), ge(() => {
|
|
6445
6446
|
if (t) {
|
|
6446
6447
|
let d;
|
|
6447
6448
|
const u = t.ownerDocument.defaultView ?? window, m = (g) => {
|
|
6448
|
-
const b =
|
|
6449
|
+
const b = Xe(n.current).includes(CSS.escape(g.animationName));
|
|
6449
6450
|
if (g.target === t && b && (c("ANIMATION_END"), !a.current)) {
|
|
6450
6451
|
const w = t.style.animationFillMode;
|
|
6451
6452
|
t.style.animationFillMode = "forwards", d = u.setTimeout(() => {
|
|
@@ -6453,7 +6454,7 @@ function Ws(e) {
|
|
|
6453
6454
|
});
|
|
6454
6455
|
}
|
|
6455
6456
|
}, p = (g) => {
|
|
6456
|
-
g.target === t && (o.current =
|
|
6457
|
+
g.target === t && (o.current = Xe(n.current));
|
|
6457
6458
|
};
|
|
6458
6459
|
return t.addEventListener("animationstart", p), t.addEventListener("animationcancel", m), t.addEventListener("animationend", m), () => {
|
|
6459
6460
|
u.clearTimeout(d), t.removeEventListener("animationstart", p), t.removeEventListener("animationcancel", m), t.removeEventListener("animationend", m);
|
|
@@ -6467,7 +6468,7 @@ function Ws(e) {
|
|
|
6467
6468
|
}, [])
|
|
6468
6469
|
};
|
|
6469
6470
|
}
|
|
6470
|
-
function
|
|
6471
|
+
function Xe(e) {
|
|
6471
6472
|
return e?.animationName || "none";
|
|
6472
6473
|
}
|
|
6473
6474
|
function Bs(e) {
|
|
@@ -6533,7 +6534,7 @@ var Hs = Object.freeze({
|
|
|
6533
6534
|
clip: "rect(0, 0, 0, 0)",
|
|
6534
6535
|
whiteSpace: "nowrap",
|
|
6535
6536
|
wordWrap: "normal"
|
|
6536
|
-
}), Us = "VisuallyHidden",
|
|
6537
|
+
}), Us = "VisuallyHidden", kn = x.forwardRef(
|
|
6537
6538
|
(e, t) => /* @__PURE__ */ i(
|
|
6538
6539
|
he.span,
|
|
6539
6540
|
{
|
|
@@ -6543,10 +6544,10 @@ var Hs = Object.freeze({
|
|
|
6543
6544
|
}
|
|
6544
6545
|
)
|
|
6545
6546
|
);
|
|
6546
|
-
|
|
6547
|
-
var qs =
|
|
6548
|
-
|
|
6549
|
-
]), ft =
|
|
6547
|
+
kn.displayName = Us;
|
|
6548
|
+
var qs = kn, [pt] = Kr("Tooltip", [
|
|
6549
|
+
mn
|
|
6550
|
+
]), ft = mn(), Cn = "TooltipProvider", Gs = 700, Tt = "tooltip.open", [Ks, Ut] = pt(Cn), Sn = (e) => {
|
|
6550
6551
|
const {
|
|
6551
6552
|
__scopeTooltip: t,
|
|
6552
6553
|
delayDuration: r = Gs,
|
|
@@ -6581,8 +6582,8 @@ var qs = Sn, [pt] = Qr("Tooltip", [
|
|
|
6581
6582
|
}
|
|
6582
6583
|
);
|
|
6583
6584
|
};
|
|
6584
|
-
|
|
6585
|
-
var
|
|
6585
|
+
Sn.displayName = Cn;
|
|
6586
|
+
var _e = "Tooltip", [Ys, Ke] = pt(_e), Nn = (e) => {
|
|
6586
6587
|
const {
|
|
6587
6588
|
__scopeTooltip: t,
|
|
6588
6589
|
children: r,
|
|
@@ -6591,13 +6592,13 @@ var Ve = "Tooltip", [Ys, Ye] = pt(Ve), An = (e) => {
|
|
|
6591
6592
|
onOpenChange: o,
|
|
6592
6593
|
disableHoverableContent: s,
|
|
6593
6594
|
delayDuration: l
|
|
6594
|
-
} = e, c =
|
|
6595
|
+
} = e, c = Ut(_e, e.__scopeTooltip), d = ft(t), [u, m] = x.useState(null), p = mi(), g = x.useRef(0), f = s ?? c.disableHoverableContent, b = l ?? c.delayDuration, w = x.useRef(!1), [k, C] = Fs({
|
|
6595
6596
|
prop: n,
|
|
6596
6597
|
defaultProp: a ?? !1,
|
|
6597
6598
|
onChange: (A) => {
|
|
6598
6599
|
A ? (c.onOpen(), document.dispatchEvent(new CustomEvent(Tt))) : c.onClose(), o?.(A);
|
|
6599
6600
|
},
|
|
6600
|
-
caller:
|
|
6601
|
+
caller: _e
|
|
6601
6602
|
}), S = x.useMemo(() => k ? w.current ? "delayed-open" : "instant-open" : "closed", [k]), E = x.useCallback(() => {
|
|
6602
6603
|
window.clearTimeout(g.current), g.current = 0, w.current = !1, C(!0);
|
|
6603
6604
|
}, [C]), N = x.useCallback(() => {
|
|
@@ -6631,10 +6632,10 @@ var Ve = "Tooltip", [Ys, Ye] = pt(Ve), An = (e) => {
|
|
|
6631
6632
|
}
|
|
6632
6633
|
) });
|
|
6633
6634
|
};
|
|
6634
|
-
|
|
6635
|
-
var $t = "TooltipTrigger",
|
|
6635
|
+
Nn.displayName = _e;
|
|
6636
|
+
var $t = "TooltipTrigger", En = x.forwardRef(
|
|
6636
6637
|
(e, t) => {
|
|
6637
|
-
const { __scopeTooltip: r, ...n } = e, a =
|
|
6638
|
+
const { __scopeTooltip: r, ...n } = e, a = Ke($t, r), o = Ut($t, r), s = ft(r), l = x.useRef(null), c = we(t, l, a.onTriggerChange), d = x.useRef(!1), u = x.useRef(!1), m = x.useCallback(() => d.current = !1, []);
|
|
6638
6639
|
return x.useEffect(() => () => document.removeEventListener("pointerup", m), [m]), /* @__PURE__ */ i(Rs, { asChild: !0, ...s, children: /* @__PURE__ */ i(
|
|
6639
6640
|
he.button,
|
|
6640
6641
|
{
|
|
@@ -6660,21 +6661,21 @@ var $t = "TooltipTrigger", Pn = x.forwardRef(
|
|
|
6660
6661
|
) });
|
|
6661
6662
|
}
|
|
6662
6663
|
);
|
|
6663
|
-
|
|
6664
|
-
var
|
|
6664
|
+
En.displayName = $t;
|
|
6665
|
+
var qt = "TooltipPortal", [Qs, Xs] = pt(qt, {
|
|
6665
6666
|
forceMount: void 0
|
|
6666
|
-
}),
|
|
6667
|
-
const { __scopeTooltip: t, forceMount: r, children: n, container: a } = e, o =
|
|
6668
|
-
return /* @__PURE__ */ i(Qs, { scope: t, forceMount: r, children: /* @__PURE__ */ i(
|
|
6667
|
+
}), An = (e) => {
|
|
6668
|
+
const { __scopeTooltip: t, forceMount: r, children: n, container: a } = e, o = Ke(qt, t);
|
|
6669
|
+
return /* @__PURE__ */ i(Qs, { scope: t, forceMount: r, children: /* @__PURE__ */ i(Ht, { present: r || o.open, children: /* @__PURE__ */ i(wn, { asChild: !0, container: a, children: n }) }) });
|
|
6669
6670
|
};
|
|
6670
|
-
|
|
6671
|
-
var Pe = "TooltipContent",
|
|
6671
|
+
An.displayName = qt;
|
|
6672
|
+
var Pe = "TooltipContent", Pn = x.forwardRef(
|
|
6672
6673
|
(e, t) => {
|
|
6673
|
-
const r = Xs(Pe, e.__scopeTooltip), { forceMount: n = r.forceMount, side: a = "top", ...o } = e, s =
|
|
6674
|
-
return /* @__PURE__ */ i(
|
|
6674
|
+
const r = Xs(Pe, e.__scopeTooltip), { forceMount: n = r.forceMount, side: a = "top", ...o } = e, s = Ke(Pe, e.__scopeTooltip);
|
|
6675
|
+
return /* @__PURE__ */ i(Ht, { present: n || s.open, children: s.disableHoverableContent ? /* @__PURE__ */ i(Tn, { side: a, ...o, ref: t }) : /* @__PURE__ */ i(Zs, { side: a, ...o, ref: t }) });
|
|
6675
6676
|
}
|
|
6676
6677
|
), Zs = x.forwardRef((e, t) => {
|
|
6677
|
-
const r =
|
|
6678
|
+
const r = Ke(Pe, e.__scopeTooltip), n = Ut(Pe, e.__scopeTooltip), a = x.useRef(null), o = we(t, a), [s, l] = x.useState(null), { trigger: c, onClose: d } = r, u = a.current, { onPointerInTransitChange: m } = n, p = x.useCallback(() => {
|
|
6678
6679
|
l(null), m(!1);
|
|
6679
6680
|
}, [m]), g = x.useCallback(
|
|
6680
6681
|
(f, b) => {
|
|
@@ -6698,8 +6699,8 @@ var Pe = "TooltipContent", $n = x.forwardRef(
|
|
|
6698
6699
|
};
|
|
6699
6700
|
return document.addEventListener("pointermove", f), () => document.removeEventListener("pointermove", f);
|
|
6700
6701
|
}
|
|
6701
|
-
}, [c, u, s, d, p]), /* @__PURE__ */ i(
|
|
6702
|
-
}), [Js, el] = pt(
|
|
6702
|
+
}, [c, u, s, d, p]), /* @__PURE__ */ i(Tn, { ...e, ref: o });
|
|
6703
|
+
}), [Js, el] = pt(_e, { isInside: !1 }), tl = ha("TooltipContent"), Tn = x.forwardRef(
|
|
6703
6704
|
(e, t) => {
|
|
6704
6705
|
const {
|
|
6705
6706
|
__scopeTooltip: r,
|
|
@@ -6708,7 +6709,7 @@ var Pe = "TooltipContent", $n = x.forwardRef(
|
|
|
6708
6709
|
onEscapeKeyDown: o,
|
|
6709
6710
|
onPointerDownOutside: s,
|
|
6710
6711
|
...l
|
|
6711
|
-
} = e, c =
|
|
6712
|
+
} = e, c = Ke(Pe, r), d = ft(r), { onClose: u } = c;
|
|
6712
6713
|
return x.useEffect(() => (document.addEventListener(Tt, u), () => document.removeEventListener(Tt, u)), [u]), x.useEffect(() => {
|
|
6713
6714
|
if (c.trigger) {
|
|
6714
6715
|
const m = (p) => {
|
|
@@ -6717,7 +6718,7 @@ var Pe = "TooltipContent", $n = x.forwardRef(
|
|
|
6717
6718
|
return window.addEventListener("scroll", m, { capture: !0 }), () => window.removeEventListener("scroll", m, { capture: !0 });
|
|
6718
6719
|
}
|
|
6719
6720
|
}, [c.trigger, u]), /* @__PURE__ */ i(
|
|
6720
|
-
|
|
6721
|
+
Qr,
|
|
6721
6722
|
{
|
|
6722
6723
|
asChild: !0,
|
|
6723
6724
|
disableOutsidePointerEvents: !1,
|
|
@@ -6750,17 +6751,17 @@ var Pe = "TooltipContent", $n = x.forwardRef(
|
|
|
6750
6751
|
);
|
|
6751
6752
|
}
|
|
6752
6753
|
);
|
|
6753
|
-
|
|
6754
|
-
var
|
|
6754
|
+
Pn.displayName = Pe;
|
|
6755
|
+
var $n = "TooltipArrow", Ln = x.forwardRef(
|
|
6755
6756
|
(e, t) => {
|
|
6756
6757
|
const { __scopeTooltip: r, ...n } = e, a = ft(r);
|
|
6757
6758
|
return el(
|
|
6758
|
-
|
|
6759
|
+
$n,
|
|
6759
6760
|
r
|
|
6760
6761
|
).isInside ? null : /* @__PURE__ */ i(Os, { ...a, ...n, ref: t });
|
|
6761
6762
|
}
|
|
6762
6763
|
);
|
|
6763
|
-
|
|
6764
|
+
Ln.displayName = $n;
|
|
6764
6765
|
function rl(e, t) {
|
|
6765
6766
|
const r = Math.abs(t.top - e.y), n = Math.abs(t.bottom - e.y), a = Math.abs(t.right - e.x), o = Math.abs(t.left - e.x);
|
|
6766
6767
|
switch (Math.min(r, n, a, o)) {
|
|
@@ -6853,7 +6854,7 @@ function sl(e) {
|
|
|
6853
6854
|
}
|
|
6854
6855
|
return r.pop(), t.length === 1 && r.length === 1 && t[0].x === r[0].x && t[0].y === r[0].y ? t : t.concat(r);
|
|
6855
6856
|
}
|
|
6856
|
-
var ll =
|
|
6857
|
+
var ll = Sn, cl = Nn, dl = En, ul = An, ml = Pn, gl = Ln;
|
|
6857
6858
|
const pl = {
|
|
6858
6859
|
operational: {
|
|
6859
6860
|
color: "bg-green-500/80",
|
|
@@ -6875,7 +6876,7 @@ const pl = {
|
|
|
6875
6876
|
sm: "w-2 h-2",
|
|
6876
6877
|
md: "w-3 h-3",
|
|
6877
6878
|
lg: "w-4 h-4"
|
|
6878
|
-
},
|
|
6879
|
+
}, Lu = ({
|
|
6879
6880
|
statusPageUrl: e = "/status",
|
|
6880
6881
|
apiEndpoint: t,
|
|
6881
6882
|
refreshInterval: r = 6e4,
|
|
@@ -6992,7 +6993,7 @@ const pl = {
|
|
|
6992
6993
|
icon: "h-5 w-5 mr-2",
|
|
6993
6994
|
text: "font-semibold"
|
|
6994
6995
|
}
|
|
6995
|
-
},
|
|
6996
|
+
}, Iu = ({
|
|
6996
6997
|
icon: e,
|
|
6997
6998
|
text: t,
|
|
6998
6999
|
variant: r = "default",
|
|
@@ -7047,7 +7048,7 @@ const pl = {
|
|
|
7047
7048
|
align: "left",
|
|
7048
7049
|
color: "default"
|
|
7049
7050
|
}
|
|
7050
|
-
}),
|
|
7051
|
+
}), Ru = ({
|
|
7051
7052
|
children: e,
|
|
7052
7053
|
variant: t = "h1",
|
|
7053
7054
|
responsive: r = !0,
|
|
@@ -7091,7 +7092,7 @@ const pl = {
|
|
|
7091
7092
|
spacing: "md",
|
|
7092
7093
|
align: "left"
|
|
7093
7094
|
}
|
|
7094
|
-
}),
|
|
7095
|
+
}), Mu = ({
|
|
7095
7096
|
children: e,
|
|
7096
7097
|
variant: t = "h2",
|
|
7097
7098
|
spacing: r = "md",
|
|
@@ -7136,7 +7137,7 @@ const pl = {
|
|
|
7136
7137
|
color: "default",
|
|
7137
7138
|
align: "left"
|
|
7138
7139
|
}
|
|
7139
|
-
}),
|
|
7140
|
+
}), Ou = ({
|
|
7140
7141
|
children: e,
|
|
7141
7142
|
variant: t = "body",
|
|
7142
7143
|
color: r = "default",
|
|
@@ -7164,7 +7165,7 @@ const pl = {
|
|
|
7164
7165
|
variant: "default",
|
|
7165
7166
|
external: !1
|
|
7166
7167
|
}
|
|
7167
|
-
}),
|
|
7168
|
+
}), Du = ({
|
|
7168
7169
|
children: e,
|
|
7169
7170
|
href: t,
|
|
7170
7171
|
variant: r = "default",
|
|
@@ -7228,7 +7229,7 @@ const pl = {
|
|
|
7228
7229
|
size: "default"
|
|
7229
7230
|
}
|
|
7230
7231
|
}
|
|
7231
|
-
),
|
|
7232
|
+
), In = x.forwardRef(
|
|
7232
7233
|
({ className: e, variant: t, size: r, to: n, href: a, external: o, children: s, ...l }, c) => {
|
|
7233
7234
|
const d = n || a;
|
|
7234
7235
|
return d ? o || d.startsWith("http") || d.startsWith("mailto:") ? /* @__PURE__ */ i(
|
|
@@ -7267,8 +7268,8 @@ const pl = {
|
|
|
7267
7268
|
);
|
|
7268
7269
|
}
|
|
7269
7270
|
);
|
|
7270
|
-
|
|
7271
|
-
const
|
|
7271
|
+
In.displayName = "SmartLink";
|
|
7272
|
+
const zu = (e, t) => x.useMemo(() => {
|
|
7272
7273
|
let r = e;
|
|
7273
7274
|
return Object.entries(t).forEach(([n, a]) => {
|
|
7274
7275
|
const o = new RegExp(
|
|
@@ -7323,7 +7324,7 @@ const Wu = (e, t) => x.useMemo(() => {
|
|
|
7323
7324
|
support: "/contact",
|
|
7324
7325
|
help: "/document",
|
|
7325
7326
|
"contact us": "/contact"
|
|
7326
|
-
},
|
|
7327
|
+
}, Wu = ({
|
|
7327
7328
|
children: e,
|
|
7328
7329
|
mappings: t = wl,
|
|
7329
7330
|
className: r,
|
|
@@ -7357,7 +7358,7 @@ const Wu = (e, t) => x.useMemo(() => {
|
|
|
7357
7358
|
);
|
|
7358
7359
|
if (c) {
|
|
7359
7360
|
const [, d, u] = c;
|
|
7360
|
-
return /* @__PURE__ */ i(
|
|
7361
|
+
return /* @__PURE__ */ i(In, { to: d, variant: n, children: u }, l);
|
|
7361
7362
|
}
|
|
7362
7363
|
return s;
|
|
7363
7364
|
}) });
|
|
@@ -7446,8 +7447,8 @@ const Wu = (e, t) => x.useMemo(() => {
|
|
|
7446
7447
|
}
|
|
7447
7448
|
)
|
|
7448
7449
|
] });
|
|
7449
|
-
return
|
|
7450
|
-
},
|
|
7450
|
+
return ka(C, document.body);
|
|
7451
|
+
}, Bu = ({
|
|
7451
7452
|
children: e,
|
|
7452
7453
|
variant: t = "default",
|
|
7453
7454
|
className: r
|
|
@@ -7481,11 +7482,11 @@ const Wu = (e, t) => x.useMemo(() => {
|
|
|
7481
7482
|
children: e
|
|
7482
7483
|
}
|
|
7483
7484
|
), Nl = {
|
|
7484
|
-
default:
|
|
7485
|
-
warning:
|
|
7486
|
-
danger:
|
|
7487
|
-
success:
|
|
7488
|
-
info:
|
|
7485
|
+
default: et,
|
|
7486
|
+
warning: Tr,
|
|
7487
|
+
danger: Pr,
|
|
7488
|
+
success: $r,
|
|
7489
|
+
info: et
|
|
7489
7490
|
}, El = {
|
|
7490
7491
|
default: () => T.icon.variant.default.lg(),
|
|
7491
7492
|
warning: () => T.icon.variant.warning.lg(),
|
|
@@ -7498,7 +7499,7 @@ const Wu = (e, t) => x.useMemo(() => {
|
|
|
7498
7499
|
danger: "destructive",
|
|
7499
7500
|
success: "default",
|
|
7500
7501
|
info: "default"
|
|
7501
|
-
},
|
|
7502
|
+
}, ju = ({
|
|
7502
7503
|
isOpen: e,
|
|
7503
7504
|
onClose: t,
|
|
7504
7505
|
onConfirm: r,
|
|
@@ -7583,7 +7584,7 @@ const Wu = (e, t) => x.useMemo(() => {
|
|
|
7583
7584
|
float: "animate-float",
|
|
7584
7585
|
pulse: "animate-pulse",
|
|
7585
7586
|
bounce: "animate-bounce-slow"
|
|
7586
|
-
},
|
|
7587
|
+
}, Fu = ({
|
|
7587
7588
|
children: e,
|
|
7588
7589
|
size: t = "lg",
|
|
7589
7590
|
variant: r = "primary",
|
|
@@ -7648,7 +7649,7 @@ const Wu = (e, t) => x.useMemo(() => {
|
|
|
7648
7649
|
variant: "default"
|
|
7649
7650
|
}
|
|
7650
7651
|
}
|
|
7651
|
-
),
|
|
7652
|
+
), _u = ({
|
|
7652
7653
|
className: e,
|
|
7653
7654
|
variant: t = "default",
|
|
7654
7655
|
size: r = "default",
|
|
@@ -7701,47 +7702,7 @@ const Wu = (e, t) => x.useMemo(() => {
|
|
|
7701
7702
|
/* @__PURE__ */ i("span", { className: v(Ml({ variant: t })), children: n })
|
|
7702
7703
|
] }),
|
|
7703
7704
|
/* @__PURE__ */ i(lt, { to: o, className: v(Ol({ variant: t })), children: a })
|
|
7704
|
-
] }) }) }), Dl =
|
|
7705
|
-
error: {
|
|
7706
|
-
icon: Ir
|
|
7707
|
-
},
|
|
7708
|
-
warning: {
|
|
7709
|
-
icon: It
|
|
7710
|
-
},
|
|
7711
|
-
attention: {
|
|
7712
|
-
icon: da
|
|
7713
|
-
},
|
|
7714
|
-
info: {
|
|
7715
|
-
icon: je
|
|
7716
|
-
},
|
|
7717
|
-
success: {
|
|
7718
|
-
icon: Rt
|
|
7719
|
-
}
|
|
7720
|
-
}, Hu = ({
|
|
7721
|
-
type: e,
|
|
7722
|
-
title: t,
|
|
7723
|
-
text: r,
|
|
7724
|
-
className: n
|
|
7725
|
-
}) => {
|
|
7726
|
-
const o = Dl[e].icon, s = Vr[e];
|
|
7727
|
-
return /* @__PURE__ */ h(
|
|
7728
|
-
"div",
|
|
7729
|
-
{
|
|
7730
|
-
className: v(
|
|
7731
|
-
"rounded-lg p-4 flex items-start gap-3",
|
|
7732
|
-
s,
|
|
7733
|
-
n
|
|
7734
|
-
),
|
|
7735
|
-
children: [
|
|
7736
|
-
/* @__PURE__ */ i(o, { className: "h-5 w-5 flex-shrink-0 mt-0.5" }),
|
|
7737
|
-
/* @__PURE__ */ h("div", { className: "flex-1 min-w-0", children: [
|
|
7738
|
-
/* @__PURE__ */ i("h4", { className: "font-semibold mb-1", children: t }),
|
|
7739
|
-
/* @__PURE__ */ i("div", { className: "text-sm font-normal break-words", children: r })
|
|
7740
|
-
] })
|
|
7741
|
-
]
|
|
7742
|
-
}
|
|
7743
|
-
);
|
|
7744
|
-
}, zl = _(
|
|
7705
|
+
] }) }) }), Dl = _(
|
|
7745
7706
|
"bg-white dark:bg-gray-800 rounded-lg shadow-md p-6 transition-all duration-200",
|
|
7746
7707
|
{
|
|
7747
7708
|
variants: {
|
|
@@ -7762,7 +7723,7 @@ const Wu = (e, t) => x.useMemo(() => {
|
|
|
7762
7723
|
trend: "none"
|
|
7763
7724
|
}
|
|
7764
7725
|
}
|
|
7765
|
-
),
|
|
7726
|
+
), Vu = ({
|
|
7766
7727
|
label: e,
|
|
7767
7728
|
value: t,
|
|
7768
7729
|
change: r,
|
|
@@ -7782,7 +7743,7 @@ const Wu = (e, t) => x.useMemo(() => {
|
|
|
7782
7743
|
neutral: "→",
|
|
7783
7744
|
none: ""
|
|
7784
7745
|
};
|
|
7785
|
-
return /* @__PURE__ */ i("div", { className: v(
|
|
7746
|
+
return /* @__PURE__ */ i("div", { className: v(Dl({ variant: o, trend: n }), s), children: /* @__PURE__ */ h("div", { className: "flex items-center justify-between", children: [
|
|
7786
7747
|
/* @__PURE__ */ h("div", { children: [
|
|
7787
7748
|
/* @__PURE__ */ i("p", { className: "text-sm font-medium text-gray-600 dark:text-gray-400 mb-1", children: e }),
|
|
7788
7749
|
/* @__PURE__ */ i("p", { className: "text-2xl font-bold text-gray-900 dark:text-white", children: t }),
|
|
@@ -7802,7 +7763,7 @@ const Wu = (e, t) => x.useMemo(() => {
|
|
|
7802
7763
|
] }),
|
|
7803
7764
|
a && /* @__PURE__ */ i("div", { className: "text-3xl opacity-80", children: a })
|
|
7804
7765
|
] }) });
|
|
7805
|
-
},
|
|
7766
|
+
}, zl = _("space-y-6", {
|
|
7806
7767
|
variants: {
|
|
7807
7768
|
variant: {
|
|
7808
7769
|
default: "",
|
|
@@ -7820,20 +7781,20 @@ const Wu = (e, t) => x.useMemo(() => {
|
|
|
7820
7781
|
variant: "default",
|
|
7821
7782
|
spacing: "normal"
|
|
7822
7783
|
}
|
|
7823
|
-
}),
|
|
7784
|
+
}), Hu = ({
|
|
7824
7785
|
title: e,
|
|
7825
7786
|
description: t,
|
|
7826
7787
|
children: r,
|
|
7827
7788
|
variant: n = "default",
|
|
7828
7789
|
spacing: a = "normal",
|
|
7829
7790
|
className: o
|
|
7830
|
-
}) => /* @__PURE__ */ h("div", { className: v(
|
|
7791
|
+
}) => /* @__PURE__ */ h("div", { className: v(zl({ variant: n, spacing: a }), o), children: [
|
|
7831
7792
|
(e || t) && /* @__PURE__ */ h("div", { className: "space-y-1", children: [
|
|
7832
7793
|
e && /* @__PURE__ */ i("h3", { className: "text-lg font-medium text-gray-900 dark:text-white", children: e }),
|
|
7833
7794
|
t && /* @__PURE__ */ i("p", { className: "text-sm text-gray-600 dark:text-gray-400", children: t })
|
|
7834
7795
|
] }),
|
|
7835
7796
|
r
|
|
7836
|
-
] }),
|
|
7797
|
+
] }), Wl = _(
|
|
7837
7798
|
"flex flex-col items-center text-center space-y-4",
|
|
7838
7799
|
{
|
|
7839
7800
|
variants: {
|
|
@@ -7858,7 +7819,7 @@ const Wu = (e, t) => x.useMemo(() => {
|
|
|
7858
7819
|
interactive: !1
|
|
7859
7820
|
}
|
|
7860
7821
|
}
|
|
7861
|
-
),
|
|
7822
|
+
), Uu = ({
|
|
7862
7823
|
icon: e,
|
|
7863
7824
|
title: t,
|
|
7864
7825
|
description: r,
|
|
@@ -7871,7 +7832,7 @@ const Wu = (e, t) => x.useMemo(() => {
|
|
|
7871
7832
|
"div",
|
|
7872
7833
|
{
|
|
7873
7834
|
className: v(
|
|
7874
|
-
|
|
7835
|
+
Wl({ layout: n, spacing: a, interactive: o }),
|
|
7875
7836
|
s
|
|
7876
7837
|
),
|
|
7877
7838
|
onClick: l,
|
|
@@ -7883,7 +7844,7 @@ const Wu = (e, t) => x.useMemo(() => {
|
|
|
7883
7844
|
] })
|
|
7884
7845
|
]
|
|
7885
7846
|
}
|
|
7886
|
-
),
|
|
7847
|
+
), qu = ({
|
|
7887
7848
|
wallet: e,
|
|
7888
7849
|
connector: t,
|
|
7889
7850
|
className: r = "w-8 h-8",
|
|
@@ -7931,7 +7892,7 @@ const Wu = (e, t) => x.useMemo(() => {
|
|
|
7931
7892
|
}
|
|
7932
7893
|
}
|
|
7933
7894
|
);
|
|
7934
|
-
},
|
|
7895
|
+
}, Gu = ({
|
|
7935
7896
|
size: e = "md",
|
|
7936
7897
|
className: t = "",
|
|
7937
7898
|
showText: r = !0,
|
|
@@ -7993,7 +7954,7 @@ const Wu = (e, t) => x.useMemo(() => {
|
|
|
7993
7954
|
children: u
|
|
7994
7955
|
}
|
|
7995
7956
|
) : /* @__PURE__ */ i("div", { className: `flex items-center ${d.container} ${t}`, children: u });
|
|
7996
|
-
},
|
|
7957
|
+
}, Bl = ({
|
|
7997
7958
|
shareConfig: e
|
|
7998
7959
|
}) => {
|
|
7999
7960
|
const [t, r] = R(!1), [n, a] = R(""), [o, s] = R(!1);
|
|
@@ -8014,14 +7975,14 @@ const Wu = (e, t) => x.useMemo(() => {
|
|
|
8014
7975
|
}, [e, n]);
|
|
8015
7976
|
const l = n || (typeof window < "u" ? window.location.href : ""), c = [
|
|
8016
7977
|
{
|
|
8017
|
-
component:
|
|
8018
|
-
icon:
|
|
7978
|
+
component: Sa,
|
|
7979
|
+
icon: Ca,
|
|
8019
7980
|
props: { url: l, title: e.title, hashtags: e.hashtags },
|
|
8020
7981
|
label: "Twitter"
|
|
8021
7982
|
},
|
|
8022
7983
|
{
|
|
8023
|
-
component:
|
|
8024
|
-
icon:
|
|
7984
|
+
component: Ea,
|
|
7985
|
+
icon: Na,
|
|
8025
7986
|
props: {
|
|
8026
7987
|
url: l,
|
|
8027
7988
|
quote: `${e.title}
|
|
@@ -8031,8 +7992,8 @@ ${e.description}`
|
|
|
8031
7992
|
label: "Facebook"
|
|
8032
7993
|
},
|
|
8033
7994
|
{
|
|
8034
|
-
component:
|
|
8035
|
-
icon:
|
|
7995
|
+
component: Pa,
|
|
7996
|
+
icon: Aa,
|
|
8036
7997
|
props: {
|
|
8037
7998
|
url: l,
|
|
8038
7999
|
title: e.title,
|
|
@@ -8041,20 +8002,20 @@ ${e.description}`
|
|
|
8041
8002
|
label: "LinkedIn"
|
|
8042
8003
|
},
|
|
8043
8004
|
{
|
|
8044
|
-
component:
|
|
8045
|
-
icon:
|
|
8005
|
+
component: $a,
|
|
8006
|
+
icon: Ta,
|
|
8046
8007
|
props: { url: l, title: e.title },
|
|
8047
8008
|
label: "Reddit"
|
|
8048
8009
|
},
|
|
8049
8010
|
{
|
|
8050
|
-
component:
|
|
8051
|
-
icon:
|
|
8011
|
+
component: Ia,
|
|
8012
|
+
icon: La,
|
|
8052
8013
|
props: { url: l, title: e.title },
|
|
8053
8014
|
label: "Telegram"
|
|
8054
8015
|
},
|
|
8055
8016
|
{
|
|
8056
|
-
component:
|
|
8057
|
-
icon:
|
|
8017
|
+
component: Ma,
|
|
8018
|
+
icon: Ra,
|
|
8058
8019
|
props: { url: l, title: e.title, separator: `
|
|
8059
8020
|
|
|
8060
8021
|
` },
|
|
@@ -8148,7 +8109,7 @@ ${e.description}`
|
|
|
8148
8109
|
] }) })
|
|
8149
8110
|
] })
|
|
8150
8111
|
] });
|
|
8151
|
-
},
|
|
8112
|
+
}, jl = ({
|
|
8152
8113
|
items: e,
|
|
8153
8114
|
shareConfig: t,
|
|
8154
8115
|
className: r,
|
|
@@ -8165,11 +8126,11 @@ ${e.description}`
|
|
|
8165
8126
|
) }),
|
|
8166
8127
|
o < e.length - 1 && /* @__PURE__ */ i("li", { children: /* @__PURE__ */ i("span", { className: "text-gray-400 dark:text-gray-500", children: "/" }) })
|
|
8167
8128
|
] }, o)) }) }),
|
|
8168
|
-
t && /* @__PURE__ */ i(
|
|
8169
|
-
] }),
|
|
8129
|
+
t && /* @__PURE__ */ i(Bl, { shareConfig: t })
|
|
8130
|
+
] }), Ku = ({
|
|
8170
8131
|
items: e,
|
|
8171
8132
|
shareConfig: t
|
|
8172
|
-
}) => /* @__PURE__ */ i("div", { className: "bg-white dark:bg-gray-800 border-b border-gray-200 dark:border-gray-700 relative z-50", children: /* @__PURE__ */ i("div", { className: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-3 relative", children: /* @__PURE__ */ i(
|
|
8133
|
+
}) => /* @__PURE__ */ i("div", { className: "bg-white dark:bg-gray-800 border-b border-gray-200 dark:border-gray-700 relative z-50", children: /* @__PURE__ */ i("div", { className: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-3 relative", children: /* @__PURE__ */ i(jl, { items: e, shareConfig: t }) }) }), Yu = ({
|
|
8173
8134
|
filename: e,
|
|
8174
8135
|
code: t,
|
|
8175
8136
|
language: r,
|
|
@@ -8178,7 +8139,7 @@ ${e.description}`
|
|
|
8178
8139
|
showCopy: o = !0,
|
|
8179
8140
|
showHeader: s = !0
|
|
8180
8141
|
}) => {
|
|
8181
|
-
const { t: l } =
|
|
8142
|
+
const { t: l } = jr("codeBlock"), { code: c, loading: d, error: u } = Xa(e || ""), [m, p] = R(!1), g = t || c, b = r || (e ? ((k) => {
|
|
8182
8143
|
switch (k.split(".").pop()?.toLowerCase()) {
|
|
8183
8144
|
case "sol":
|
|
8184
8145
|
return "solidity";
|
|
@@ -8255,7 +8216,7 @@ ${e.description}`
|
|
|
8255
8216
|
onClick: w,
|
|
8256
8217
|
className: "p-2 text-gray-400 hover:text-green-400 hover:bg-gray-800 rounded-lg transition-all duration-200 group",
|
|
8257
8218
|
title: l("copyCode", "Copy code"),
|
|
8258
|
-
children: m ? /* @__PURE__ */ i(
|
|
8219
|
+
children: m ? /* @__PURE__ */ i(Ir, { className: "h-4 w-4 text-green-400" }) : /* @__PURE__ */ i(da, { className: "h-4 w-4 group-hover:scale-110 transition-transform" })
|
|
8259
8220
|
}
|
|
8260
8221
|
)
|
|
8261
8222
|
] }),
|
|
@@ -8269,7 +8230,7 @@ ${e.description}`
|
|
|
8269
8230
|
children: l("noCode", "No code to display")
|
|
8270
8231
|
}
|
|
8271
8232
|
);
|
|
8272
|
-
},
|
|
8233
|
+
}, Qu = ({
|
|
8273
8234
|
title: e,
|
|
8274
8235
|
description: t,
|
|
8275
8236
|
code: r,
|
|
@@ -8319,10 +8280,10 @@ ${e.description}`
|
|
|
8319
8280
|
className: "flex items-center space-x-1 text-gray-300 hover:text-white transition-colors text-sm",
|
|
8320
8281
|
"aria-label": m ? "Copied!" : "Copy code",
|
|
8321
8282
|
children: m ? /* @__PURE__ */ h(H, { children: [
|
|
8322
|
-
/* @__PURE__ */ i(
|
|
8283
|
+
/* @__PURE__ */ i(Ir, { className: "h-4 w-4" }),
|
|
8323
8284
|
/* @__PURE__ */ i("span", { children: "Copied!" })
|
|
8324
8285
|
] }) : /* @__PURE__ */ h(H, { children: [
|
|
8325
|
-
/* @__PURE__ */ i(
|
|
8286
|
+
/* @__PURE__ */ i(ua, { className: "h-4 w-4" }),
|
|
8326
8287
|
/* @__PURE__ */ i("span", { children: "Copy" })
|
|
8327
8288
|
] })
|
|
8328
8289
|
}
|
|
@@ -8331,7 +8292,7 @@ ${e.description}`
|
|
|
8331
8292
|
/* @__PURE__ */ i("div", { className: "p-4 overflow-x-auto", children: /* @__PURE__ */ i("pre", { className: "text-gray-100 text-sm leading-relaxed", children: /* @__PURE__ */ i("code", { children: r }) }) })
|
|
8332
8293
|
] }) })
|
|
8333
8294
|
] });
|
|
8334
|
-
},
|
|
8295
|
+
}, Fl = ({
|
|
8335
8296
|
subsections: e,
|
|
8336
8297
|
isExpanded: t,
|
|
8337
8298
|
selectedSubsection: r,
|
|
@@ -8339,7 +8300,7 @@ ${e.description}`
|
|
|
8339
8300
|
onSubsectionSelect: a
|
|
8340
8301
|
}) => {
|
|
8341
8302
|
const o = q(null), [s, l] = R(void 0);
|
|
8342
|
-
return
|
|
8303
|
+
return Er(() => {
|
|
8343
8304
|
if (o.current) {
|
|
8344
8305
|
const c = o.current.scrollHeight;
|
|
8345
8306
|
l(t ? c + 16 : 0);
|
|
@@ -8363,7 +8324,7 @@ ${e.description}`
|
|
|
8363
8324
|
] }, c.id)) })
|
|
8364
8325
|
}
|
|
8365
8326
|
);
|
|
8366
|
-
},
|
|
8327
|
+
}, Xu = ({
|
|
8367
8328
|
id: e,
|
|
8368
8329
|
title: t,
|
|
8369
8330
|
content: r,
|
|
@@ -8398,7 +8359,7 @@ ${e.description}`
|
|
|
8398
8359
|
className: "p-2 rounded-md hover:bg-gray-100 dark:hover:bg-gray-800 hover:scale-110 transition-all duration-200",
|
|
8399
8360
|
"aria-label": d ? "Collapse section" : "Expand section",
|
|
8400
8361
|
children: /* @__PURE__ */ i(
|
|
8401
|
-
|
|
8362
|
+
It,
|
|
8402
8363
|
{
|
|
8403
8364
|
className: `h-5 w-5 text-gray-500 transition-transform duration-300 ease-in-out ${d ? "rotate-90" : "rotate-0"}`
|
|
8404
8365
|
}
|
|
@@ -8407,7 +8368,7 @@ ${e.description}`
|
|
|
8407
8368
|
)
|
|
8408
8369
|
] }),
|
|
8409
8370
|
g && /* @__PURE__ */ i(
|
|
8410
|
-
|
|
8371
|
+
Fl,
|
|
8411
8372
|
{
|
|
8412
8373
|
subsections: n,
|
|
8413
8374
|
isExpanded: d,
|
|
@@ -8417,7 +8378,7 @@ ${e.description}`
|
|
|
8417
8378
|
}
|
|
8418
8379
|
)
|
|
8419
8380
|
] });
|
|
8420
|
-
},
|
|
8381
|
+
}, Zu = ({
|
|
8421
8382
|
title: e,
|
|
8422
8383
|
subtitle: t,
|
|
8423
8384
|
buttonText: r,
|
|
@@ -8429,7 +8390,7 @@ ${e.description}`
|
|
|
8429
8390
|
className: c = ""
|
|
8430
8391
|
}) => {
|
|
8431
8392
|
const d = () => n === "envelope" || n === "both" ? /* @__PURE__ */ i(
|
|
8432
|
-
|
|
8393
|
+
ma,
|
|
8433
8394
|
{
|
|
8434
8395
|
className: a === "prominent" ? "h-5 w-5 mr-2" : "h-4 w-4 mr-1"
|
|
8435
8396
|
}
|
|
@@ -8480,7 +8441,7 @@ ${e.description}`
|
|
|
8480
8441
|
] }) })
|
|
8481
8442
|
}
|
|
8482
8443
|
);
|
|
8483
|
-
},
|
|
8444
|
+
}, Ju = ({
|
|
8484
8445
|
children: e,
|
|
8485
8446
|
onClick: t,
|
|
8486
8447
|
variant: r,
|
|
@@ -8527,7 +8488,7 @@ ${e.description}`
|
|
|
8527
8488
|
},
|
|
8528
8489
|
children: e
|
|
8529
8490
|
}
|
|
8530
|
-
),
|
|
8491
|
+
), em = ({
|
|
8531
8492
|
children: e,
|
|
8532
8493
|
onClick: t,
|
|
8533
8494
|
to: r,
|
|
@@ -8559,7 +8520,7 @@ ${e.description}`
|
|
|
8559
8520
|
return /* @__PURE__ */ i(c, { ...d, to: r, onClick: m, ...u, children: e });
|
|
8560
8521
|
const p = r ? typeof r == "string" ? r : r.pathname || "#" : n;
|
|
8561
8522
|
return /* @__PURE__ */ i("a", { ...u, href: p, onClick: m, children: e });
|
|
8562
|
-
},
|
|
8523
|
+
}, br = {
|
|
8563
8524
|
en: { name: "English", flag: "🇺🇸" },
|
|
8564
8525
|
ar: { name: "العربية", flag: "🇸🇦" },
|
|
8565
8526
|
de: { name: "Deutsch", flag: "🇩🇪" },
|
|
@@ -8575,14 +8536,14 @@ ${e.description}`
|
|
|
8575
8536
|
uk: { name: "Українська", flag: "🇺🇦" },
|
|
8576
8537
|
vi: { name: "Tiếng Việt", flag: "🇻🇳" },
|
|
8577
8538
|
zh: { name: "简体中文", flag: "🇨🇳" }
|
|
8578
|
-
},
|
|
8539
|
+
}, tm = ({
|
|
8579
8540
|
variant: e = "compact",
|
|
8580
8541
|
className: t = ""
|
|
8581
8542
|
}) => {
|
|
8582
|
-
const { i18n: r, t: n } =
|
|
8543
|
+
const { i18n: r, t: n } = jr("languageSelector"), [a, o] = P.useState(r.language), s = P.useMemo(() => r.options.supportedLngs ? r.options.supportedLngs.filter((d) => d !== "cimode").map((d) => ({
|
|
8583
8544
|
code: d,
|
|
8584
|
-
name:
|
|
8585
|
-
flag:
|
|
8545
|
+
name: br[d]?.name || d.toUpperCase(),
|
|
8546
|
+
flag: br[d]?.flag || "🌐"
|
|
8586
8547
|
})).sort(
|
|
8587
8548
|
(d, u) => d.name.localeCompare(u.name)
|
|
8588
8549
|
) : [], [r.options.supportedLngs]), l = s.find(
|
|
@@ -8599,7 +8560,7 @@ ${e.description}`
|
|
|
8599
8560
|
}).catch(() => {
|
|
8600
8561
|
});
|
|
8601
8562
|
};
|
|
8602
|
-
return e === "compact" ? /* @__PURE__ */ i("div", { className: `relative ${t}`, children: /* @__PURE__ */ h(
|
|
8563
|
+
return e === "compact" ? /* @__PURE__ */ i("div", { className: `relative ${t}`, children: /* @__PURE__ */ h(tr, { value: a, onValueChange: c, children: [
|
|
8603
8564
|
/* @__PURE__ */ i(kt, { 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: [
|
|
8604
8565
|
/* @__PURE__ */ i("span", { className: "text-lg leading-none", children: l?.flag }),
|
|
8605
8566
|
/* @__PURE__ */ i("span", { className: "hidden sm:block text-sm font-medium text-gray-700 dark:text-gray-300", children: l?.name })
|
|
@@ -8620,10 +8581,10 @@ ${e.description}`
|
|
|
8620
8581
|
) })
|
|
8621
8582
|
] }) }) : /* @__PURE__ */ h("div", { className: `space-y-2 ${t}`, children: [
|
|
8622
8583
|
/* @__PURE__ */ h("label", { className: "text-sm font-medium text-gray-700 dark:text-gray-300 flex items-center space-x-2", children: [
|
|
8623
|
-
/* @__PURE__ */ i(
|
|
8584
|
+
/* @__PURE__ */ i(ga, { className: "h-4 w-4 text-gray-500 dark:text-gray-400" }),
|
|
8624
8585
|
/* @__PURE__ */ i("span", { children: n("language", "Language") })
|
|
8625
8586
|
] }),
|
|
8626
|
-
/* @__PURE__ */ h(
|
|
8587
|
+
/* @__PURE__ */ h(tr, { value: a, onValueChange: c, children: [
|
|
8627
8588
|
/* @__PURE__ */ i(kt, { children: /* @__PURE__ */ i(To, { placeholder: n("selectLanguage", "Select language") }) }),
|
|
8628
8589
|
/* @__PURE__ */ i(Ct, { children: s.map(
|
|
8629
8590
|
(d) => /* @__PURE__ */ i(
|
|
@@ -8642,7 +8603,7 @@ ${e.description}`
|
|
|
8642
8603
|
] }),
|
|
8643
8604
|
/* @__PURE__ */ i("p", { className: "text-xs text-gray-500 dark:text-gray-400", children: n("selectPreferredLanguage", "Select your preferred language") })
|
|
8644
8605
|
] });
|
|
8645
|
-
},
|
|
8606
|
+
}, rm = ({
|
|
8646
8607
|
items: e,
|
|
8647
8608
|
type: t = "ordered",
|
|
8648
8609
|
variant: r = "default",
|
|
@@ -8684,7 +8645,7 @@ ${e.description}`
|
|
|
8684
8645
|
};
|
|
8685
8646
|
return /* @__PURE__ */ i("ul", { className: v(o(), n), children: e.map(c) });
|
|
8686
8647
|
};
|
|
8687
|
-
class
|
|
8648
|
+
class nm extends Ar {
|
|
8688
8649
|
constructor() {
|
|
8689
8650
|
super(...arguments), this.state = {
|
|
8690
8651
|
hasError: !1
|
|
@@ -8713,7 +8674,7 @@ class om extends Tr {
|
|
|
8713
8674
|
) : this.props.children;
|
|
8714
8675
|
}
|
|
8715
8676
|
}
|
|
8716
|
-
class
|
|
8677
|
+
class am extends Ar {
|
|
8717
8678
|
constructor(t) {
|
|
8718
8679
|
super(t), this.retryTimer = null, this.sendErrorToMonitoring = (r, n) => {
|
|
8719
8680
|
try {
|
|
@@ -8826,13 +8787,13 @@ class im extends Tr {
|
|
|
8826
8787
|
] }) }) : t;
|
|
8827
8788
|
}
|
|
8828
8789
|
}
|
|
8829
|
-
const
|
|
8830
|
-
const n =
|
|
8790
|
+
const om = ({ children: e }) => /* @__PURE__ */ i(H, { children: e }), im = ({ children: e }) => /* @__PURE__ */ i(H, { children: e }), sm = (e, t, r) => {
|
|
8791
|
+
const n = qe(e, t);
|
|
8831
8792
|
return r && (n.displayName = `Memo(${r})`), process.env.NODE_ENV === "development" ? (a) => (Lt(() => {
|
|
8832
8793
|
let s = 0;
|
|
8833
8794
|
return () => ++s;
|
|
8834
8795
|
}, [])(), /* @__PURE__ */ i(n, { ...a })) : n;
|
|
8835
|
-
},
|
|
8796
|
+
}, lm = (e, t) => qe(e, (r, n) => t.every((a) => r[a] === n[a])), cm = qe(
|
|
8836
8797
|
({ children: e, compute: t, deps: r }) => {
|
|
8837
8798
|
const n = P.useRef(r), a = P.useRef(t), o = P.useRef(void 0), s = Lt(() => {
|
|
8838
8799
|
const l = r.length !== n.current.length || r.some((d, u) => d !== n.current[u]), c = t !== a.current;
|
|
@@ -8844,12 +8805,12 @@ const sm = ({ children: e }) => /* @__PURE__ */ i(H, { children: e }), lm = ({ c
|
|
|
8844
8805
|
}, [t, r]);
|
|
8845
8806
|
return /* @__PURE__ */ i(H, { children: e(s) });
|
|
8846
8807
|
}
|
|
8847
|
-
),
|
|
8808
|
+
), dm = qe(
|
|
8848
8809
|
({ item: e, index: t, style: r, renderItem: n }) => /* @__PURE__ */ i("div", { style: r, children: n(e, t) }),
|
|
8849
8810
|
(e, t) => e.index === t.index && e.item === t.item && e.style.height === t.style.height && e.style.top === t.style.top
|
|
8850
|
-
),
|
|
8811
|
+
), um = qe(
|
|
8851
8812
|
({ condition: e, children: t, fallback: r = null }) => e ? /* @__PURE__ */ i(H, { children: t }) : /* @__PURE__ */ i(H, { children: r })
|
|
8852
|
-
),
|
|
8813
|
+
), mm = ({
|
|
8853
8814
|
children: e,
|
|
8854
8815
|
threshold: t = 0.1,
|
|
8855
8816
|
rootMargin: r = "50px",
|
|
@@ -8865,7 +8826,7 @@ const sm = ({ children: e }) => /* @__PURE__ */ i(H, { children: e }), lm = ({ c
|
|
|
8865
8826
|
);
|
|
8866
8827
|
return s.current && l.observe(s.current), () => l.disconnect();
|
|
8867
8828
|
}, [t, r]), /* @__PURE__ */ i("div", { ref: s, children: a ? e : n });
|
|
8868
|
-
},
|
|
8829
|
+
}, gm = ({
|
|
8869
8830
|
children: e,
|
|
8870
8831
|
maxRenderTime: t = 16,
|
|
8871
8832
|
// 16ms = 60fps
|
|
@@ -8878,7 +8839,7 @@ const sm = ({ children: e }) => /* @__PURE__ */ i(H, { children: e }), lm = ({ c
|
|
|
8878
8839
|
const a = performance.now() - n.current;
|
|
8879
8840
|
a > t && r?.(a);
|
|
8880
8841
|
}), /* @__PURE__ */ i(H, { children: e });
|
|
8881
|
-
},
|
|
8842
|
+
}, pm = ({
|
|
8882
8843
|
children: e,
|
|
8883
8844
|
batchSize: t = 5,
|
|
8884
8845
|
delay: r = 0
|
|
@@ -8892,7 +8853,7 @@ const sm = ({ children: e }) => /* @__PURE__ */ i(H, { children: e }), lm = ({ c
|
|
|
8892
8853
|
return () => clearTimeout(o);
|
|
8893
8854
|
}
|
|
8894
8855
|
}, [n, e.length, t, r]), /* @__PURE__ */ i(H, { children: e.slice(0, n) });
|
|
8895
|
-
},
|
|
8856
|
+
}, fm = ({
|
|
8896
8857
|
src: e,
|
|
8897
8858
|
alt: t,
|
|
8898
8859
|
placeholder: r,
|
|
@@ -8987,7 +8948,7 @@ const sm = ({ children: e }) => /* @__PURE__ */ i(H, { children: e }), lm = ({ c
|
|
|
8987
8948
|
]
|
|
8988
8949
|
}
|
|
8989
8950
|
);
|
|
8990
|
-
},
|
|
8951
|
+
}, hm = ({
|
|
8991
8952
|
title: e,
|
|
8992
8953
|
description: t,
|
|
8993
8954
|
primaryButton: r,
|
|
@@ -9062,14 +9023,14 @@ const sm = ({ children: e }) => /* @__PURE__ */ i(H, { children: e }), lm = ({ c
|
|
|
9062
9023
|
]
|
|
9063
9024
|
}
|
|
9064
9025
|
);
|
|
9065
|
-
},
|
|
9026
|
+
}, ym = ({
|
|
9066
9027
|
children: e,
|
|
9067
9028
|
backgroundClassName: t = "",
|
|
9068
9029
|
contentClassName: r = ""
|
|
9069
|
-
}) => /* @__PURE__ */ i("div", { className: t, children: /* @__PURE__ */ i("div", { className: r, children: e }) }),
|
|
9030
|
+
}) => /* @__PURE__ */ i("div", { className: t, children: /* @__PURE__ */ i("div", { className: r, children: e }) }), bm = ({ title: e, description: t }) => /* @__PURE__ */ h("div", { className: "mb-8", children: [
|
|
9070
9031
|
/* @__PURE__ */ i("h1", { className: "text-3xl font-bold text-gray-900 dark:text-white", children: e }),
|
|
9071
9032
|
t && /* @__PURE__ */ i("p", { className: "mt-2 text-gray-600 dark:text-gray-400", children: t })
|
|
9072
|
-
] }),
|
|
9033
|
+
] }), xm = ({
|
|
9073
9034
|
isSelected: e,
|
|
9074
9035
|
onClick: t,
|
|
9075
9036
|
icon: r,
|
|
@@ -9109,7 +9070,7 @@ const sm = ({ children: e }) => /* @__PURE__ */ i(H, { children: e }), lm = ({ c
|
|
|
9109
9070
|
] })
|
|
9110
9071
|
]
|
|
9111
9072
|
}
|
|
9112
|
-
),
|
|
9073
|
+
), vm = ({
|
|
9113
9074
|
masterTitle: e,
|
|
9114
9075
|
masterSubtitle: t,
|
|
9115
9076
|
backButtonText: r,
|
|
@@ -9284,7 +9245,7 @@ const sm = ({ children: e }) => /* @__PURE__ */ i(H, { children: e }), lm = ({ c
|
|
|
9284
9245
|
)
|
|
9285
9246
|
] })
|
|
9286
9247
|
] });
|
|
9287
|
-
},
|
|
9248
|
+
}, wm = ({
|
|
9288
9249
|
children: e
|
|
9289
9250
|
}) => (V(() => {
|
|
9290
9251
|
const t = () => {
|
|
@@ -9426,7 +9387,7 @@ const sm = ({ children: e }) => /* @__PURE__ */ i(H, { children: e }), lm = ({ c
|
|
|
9426
9387
|
};
|
|
9427
9388
|
return t(), r(), n(), a(), s(), l(), c(), d(), setTimeout(o, 2e3), () => {
|
|
9428
9389
|
};
|
|
9429
|
-
}, []), /* @__PURE__ */ i(H, { children: e })),
|
|
9390
|
+
}, []), /* @__PURE__ */ i(H, { children: e })), km = () => (V(() => {
|
|
9430
9391
|
if (typeof window > "u" || typeof document > "u" || !document.documentElement)
|
|
9431
9392
|
return;
|
|
9432
9393
|
const e = () => {
|
|
@@ -9522,9 +9483,9 @@ const sm = ({ children: e }) => /* @__PURE__ */ i(H, { children: e }), lm = ({ c
|
|
|
9522
9483
|
} catch {
|
|
9523
9484
|
}
|
|
9524
9485
|
};
|
|
9525
|
-
}, []), null),
|
|
9486
|
+
}, []), null), Cm = ({
|
|
9526
9487
|
children: e
|
|
9527
|
-
}) => /* @__PURE__ */ i(H, { children: e }),
|
|
9488
|
+
}) => /* @__PURE__ */ i(H, { children: e }), _l = {
|
|
9528
9489
|
// Static/rarely changing data - longer cache durations
|
|
9529
9490
|
user: { duration: 300 * 1e3, maxSize: 100, staleWhileRevalidate: !0 },
|
|
9530
9491
|
// 5 minutes
|
|
@@ -9557,7 +9518,7 @@ const sm = ({ children: e }) => /* @__PURE__ */ i(H, { children: e }), lm = ({ c
|
|
|
9557
9518
|
}
|
|
9558
9519
|
// 10 seconds
|
|
9559
9520
|
};
|
|
9560
|
-
class
|
|
9521
|
+
class Vl {
|
|
9561
9522
|
constructor() {
|
|
9562
9523
|
this.cache = /* @__PURE__ */ new Map();
|
|
9563
9524
|
}
|
|
@@ -9600,8 +9561,8 @@ class Hl {
|
|
|
9600
9561
|
return Array.from(this.cache.values()).reduce((t, r) => t + JSON.stringify(r).length * 2, 0);
|
|
9601
9562
|
}
|
|
9602
9563
|
}
|
|
9603
|
-
const Ne = new
|
|
9604
|
-
const n =
|
|
9564
|
+
const Ne = new Vl(), ye = /* @__PURE__ */ new Map(), Hl = async (e, t, r = "messages") => {
|
|
9565
|
+
const n = _l[r], a = Ne.get(e, n);
|
|
9605
9566
|
if (a && !a.isStale)
|
|
9606
9567
|
return a.data;
|
|
9607
9568
|
const o = ye.get(e);
|
|
@@ -9618,7 +9579,7 @@ const Ne = new Hl(), ye = /* @__PURE__ */ new Map(), Ul = async (e, t, r = "mess
|
|
|
9618
9579
|
});
|
|
9619
9580
|
return ye.set(e, s), s;
|
|
9620
9581
|
};
|
|
9621
|
-
class
|
|
9582
|
+
class Ul {
|
|
9622
9583
|
constructor() {
|
|
9623
9584
|
this.queue = [], this.timer = null, this.batchDelay = 10;
|
|
9624
9585
|
}
|
|
@@ -9653,8 +9614,8 @@ class ql {
|
|
|
9653
9614
|
return r;
|
|
9654
9615
|
}
|
|
9655
9616
|
}
|
|
9656
|
-
const
|
|
9657
|
-
class
|
|
9617
|
+
const ql = new Ul();
|
|
9618
|
+
class Sm {
|
|
9658
9619
|
constructor(t, r = {}) {
|
|
9659
9620
|
this.requestInterceptors = [], this.responseInterceptors = [], this.baseURL = t, this.defaultHeaders = r;
|
|
9660
9621
|
}
|
|
@@ -9685,7 +9646,7 @@ class Em {
|
|
|
9685
9646
|
throw new Error(`API Error: ${d.status} ${d.statusText}`);
|
|
9686
9647
|
return d.json();
|
|
9687
9648
|
};
|
|
9688
|
-
return r.method === "GET" && this.shouldBatch(t) ?
|
|
9649
|
+
return r.method === "GET" && this.shouldBatch(t) ? ql.add(s, l) : Hl(s, l, a);
|
|
9689
9650
|
}
|
|
9690
9651
|
shouldBatch(t) {
|
|
9691
9652
|
return t.includes("/messages/") && !t.includes("/messages?");
|
|
@@ -9710,7 +9671,7 @@ class Em {
|
|
|
9710
9671
|
return this.request(t, { method: "DELETE" });
|
|
9711
9672
|
}
|
|
9712
9673
|
}
|
|
9713
|
-
const
|
|
9674
|
+
const Nm = async (e, t = 3, r = 1e3) => {
|
|
9714
9675
|
let n;
|
|
9715
9676
|
for (let a = 0; a <= t; a++)
|
|
9716
9677
|
try {
|
|
@@ -9723,7 +9684,7 @@ const Am = async (e, t = 3, r = 1e3) => {
|
|
|
9723
9684
|
}
|
|
9724
9685
|
throw n;
|
|
9725
9686
|
};
|
|
9726
|
-
class
|
|
9687
|
+
class Em {
|
|
9727
9688
|
constructor() {
|
|
9728
9689
|
this.abortController = new AbortController();
|
|
9729
9690
|
}
|
|
@@ -9740,7 +9701,7 @@ class Pm {
|
|
|
9740
9701
|
this.abortController.abort();
|
|
9741
9702
|
}
|
|
9742
9703
|
}
|
|
9743
|
-
const
|
|
9704
|
+
const Am = {
|
|
9744
9705
|
invalidate: (e) => Ne.invalidate(e),
|
|
9745
9706
|
clear: () => Ne.clear(),
|
|
9746
9707
|
getStats: () => Ne.getStats(),
|
|
@@ -9757,7 +9718,7 @@ const Tm = {
|
|
|
9757
9718
|
}, 100);
|
|
9758
9719
|
}
|
|
9759
9720
|
};
|
|
9760
|
-
function
|
|
9721
|
+
function Gl() {
|
|
9761
9722
|
if (typeof window > "u") return !1;
|
|
9762
9723
|
const e = window.navigator.userAgent.toLowerCase();
|
|
9763
9724
|
return [
|
|
@@ -9773,36 +9734,36 @@ function Kl() {
|
|
|
9773
9734
|
"okx"
|
|
9774
9735
|
].some((r) => e.includes(r));
|
|
9775
9736
|
}
|
|
9776
|
-
function
|
|
9737
|
+
function Kl() {
|
|
9777
9738
|
return typeof window > "u" ? !1 : window.location.hostname === "localhost" || window.location.hostname === "127.0.0.1";
|
|
9778
9739
|
}
|
|
9779
|
-
function
|
|
9740
|
+
function Yl() {
|
|
9780
9741
|
if (typeof window > "u") return !1;
|
|
9781
9742
|
const e = window.location.hostname;
|
|
9782
9743
|
return /^\d+\.\d+\.\d+\.\d+$/.test(e);
|
|
9783
9744
|
}
|
|
9784
|
-
function
|
|
9785
|
-
return
|
|
9745
|
+
function Ql() {
|
|
9746
|
+
return Kl() ? "localhost" : Gl() ? "wallet-browser" : Yl() ? "network" : "production";
|
|
9786
9747
|
}
|
|
9787
|
-
function
|
|
9788
|
-
const e =
|
|
9748
|
+
function Pm() {
|
|
9749
|
+
const e = Ql();
|
|
9789
9750
|
return e === "localhost" || e === "wallet-browser";
|
|
9790
9751
|
}
|
|
9791
|
-
function
|
|
9752
|
+
function Tm(e) {
|
|
9792
9753
|
}
|
|
9793
|
-
function
|
|
9754
|
+
function Xl() {
|
|
9794
9755
|
return typeof window < "u";
|
|
9795
9756
|
}
|
|
9796
|
-
function
|
|
9757
|
+
function $m() {
|
|
9797
9758
|
return typeof window < "u";
|
|
9798
9759
|
}
|
|
9799
|
-
function
|
|
9800
|
-
if (
|
|
9760
|
+
function Lm(e, t) {
|
|
9761
|
+
if (Xl())
|
|
9801
9762
|
e();
|
|
9802
9763
|
else
|
|
9803
9764
|
return t;
|
|
9804
9765
|
}
|
|
9805
|
-
const
|
|
9766
|
+
const Zl = {
|
|
9806
9767
|
"default-src": ["'self'"],
|
|
9807
9768
|
"script-src": [
|
|
9808
9769
|
"'self'",
|
|
@@ -9868,7 +9829,7 @@ const Jl = {
|
|
|
9868
9829
|
"object-src": ["'none'"],
|
|
9869
9830
|
"base-uri": ["'self'"],
|
|
9870
9831
|
"form-action": ["'self'"]
|
|
9871
|
-
},
|
|
9832
|
+
}, Jl = () => Object.entries(Zl).map(([e, t]) => `${e} ${t.join(" ")}`).join("; "), Im = {
|
|
9872
9833
|
"X-Frame-Options": "DENY",
|
|
9873
9834
|
"X-Content-Type-Options": "nosniff",
|
|
9874
9835
|
"X-XSS-Protection": "1; mode=block",
|
|
@@ -9878,8 +9839,8 @@ const Jl = {
|
|
|
9878
9839
|
"Cross-Origin-Embedder-Policy": "credentialless",
|
|
9879
9840
|
"Cross-Origin-Opener-Policy": "same-origin-allow-popups",
|
|
9880
9841
|
"Cross-Origin-Resource-Policy": "cross-origin",
|
|
9881
|
-
"Content-Security-Policy":
|
|
9882
|
-
},
|
|
9842
|
+
"Content-Security-Policy": Jl()
|
|
9843
|
+
}, Rm = {
|
|
9883
9844
|
fonts: "public, max-age=31536000, immutable",
|
|
9884
9845
|
images: "public, max-age=31536000, immutable",
|
|
9885
9846
|
js: "public, max-age=31536000, immutable",
|
|
@@ -9887,10 +9848,10 @@ const Jl = {
|
|
|
9887
9848
|
serviceWorker: "public, max-age=0, must-revalidate",
|
|
9888
9849
|
manifest: "public, max-age=86400",
|
|
9889
9850
|
api: "no-cache, no-store, must-revalidate"
|
|
9890
|
-
},
|
|
9851
|
+
}, Mm = () => {
|
|
9891
9852
|
typeof window < "u" && document.addEventListener("securitypolicyviolation", () => {
|
|
9892
9853
|
});
|
|
9893
|
-
},
|
|
9854
|
+
}, Om = {
|
|
9894
9855
|
walletConnections: "Always verify wallet signatures and never trust client-side data",
|
|
9895
9856
|
rpcEndpoints: "Use reputable RPC providers and consider rate limiting",
|
|
9896
9857
|
contractInteractions: "Validate all smart contract interactions on the backend",
|
|
@@ -9898,17 +9859,17 @@ const Jl = {
|
|
|
9898
9859
|
privateKeys: "Never log, store, or transmit private keys - they should remain in wallets only",
|
|
9899
9860
|
phishing: "Implement strict CSP to prevent injection of malicious scripts that could steal wallet access"
|
|
9900
9861
|
}, ce = /* @__PURE__ */ new Map(), Re = /* @__PURE__ */ new Map(), ot = /* @__PURE__ */ new Set();
|
|
9901
|
-
let
|
|
9902
|
-
function
|
|
9862
|
+
let Ve = "medium", Gt = !1;
|
|
9863
|
+
function ec() {
|
|
9903
9864
|
if ("connection" in navigator) {
|
|
9904
9865
|
const r = navigator.connection;
|
|
9905
|
-
r && (
|
|
9866
|
+
r && (Ve = r.effectiveType === "4g" ? "fast" : r.effectiveType === "3g" ? "medium" : "slow");
|
|
9906
9867
|
}
|
|
9907
9868
|
const e = navigator.deviceMemory, t = navigator.hardwareConcurrency;
|
|
9908
|
-
|
|
9869
|
+
Gt = e && e < 4 || t && t < 4;
|
|
9909
9870
|
}
|
|
9910
|
-
|
|
9911
|
-
function
|
|
9871
|
+
ec();
|
|
9872
|
+
function Dm(e, t, r = {}) {
|
|
9912
9873
|
const {
|
|
9913
9874
|
retries: n = 3,
|
|
9914
9875
|
timeout: a = 1e4,
|
|
@@ -9925,7 +9886,7 @@ function Wm(e, t, r = {}) {
|
|
|
9925
9886
|
const g = performance.now();
|
|
9926
9887
|
if (Re.has(t))
|
|
9927
9888
|
return Re.get(t).then((b) => ({ default: b }));
|
|
9928
|
-
const f =
|
|
9889
|
+
const f = tc(e, n, a);
|
|
9929
9890
|
Re.set(
|
|
9930
9891
|
t,
|
|
9931
9892
|
f.then((b) => b.default)
|
|
@@ -9959,7 +9920,7 @@ function Wm(e, t, r = {}) {
|
|
|
9959
9920
|
V(() => {
|
|
9960
9921
|
if (s && !ce.has(t) && s() && !ot.has(t)) {
|
|
9961
9922
|
ot.add(t);
|
|
9962
|
-
const C =
|
|
9923
|
+
const C = rc(c, Ve);
|
|
9963
9924
|
setTimeout(() => {
|
|
9964
9925
|
e().catch(() => {
|
|
9965
9926
|
});
|
|
@@ -9974,7 +9935,7 @@ function Wm(e, t, r = {}) {
|
|
|
9974
9935
|
"..."
|
|
9975
9936
|
] })
|
|
9976
9937
|
] });
|
|
9977
|
-
return !f &&
|
|
9938
|
+
return !f && Gt && Ve === "slow" ? /* @__PURE__ */ i("div", { className: "lazy-placeholder", children: /* @__PURE__ */ h(
|
|
9978
9939
|
"button",
|
|
9979
9940
|
{
|
|
9980
9941
|
onClick: () => b(!0),
|
|
@@ -9984,11 +9945,11 @@ function Wm(e, t, r = {}) {
|
|
|
9984
9945
|
t
|
|
9985
9946
|
]
|
|
9986
9947
|
}
|
|
9987
|
-
) }) : /* @__PURE__ */ i(
|
|
9948
|
+
) }) : /* @__PURE__ */ i(Ue, { fallback: w, children: /* @__PURE__ */ i(m, { ...g }) });
|
|
9988
9949
|
};
|
|
9989
9950
|
return p.displayName = `AdvancedLazy(${t})`, p;
|
|
9990
9951
|
}
|
|
9991
|
-
async function
|
|
9952
|
+
async function tc(e, t, r) {
|
|
9992
9953
|
let n;
|
|
9993
9954
|
for (let a = 0; a < t; a++)
|
|
9994
9955
|
try {
|
|
@@ -10004,7 +9965,7 @@ async function rc(e, t, r) {
|
|
|
10004
9965
|
}
|
|
10005
9966
|
throw n;
|
|
10006
9967
|
}
|
|
10007
|
-
function
|
|
9968
|
+
function rc(e, t) {
|
|
10008
9969
|
const r = {
|
|
10009
9970
|
critical: 0,
|
|
10010
9971
|
high: 500,
|
|
@@ -10030,7 +9991,7 @@ const We = class We {
|
|
|
10030
9991
|
this.getRouteTransitionProbability(t).forEach(({ route: n, probability: a }) => {
|
|
10031
9992
|
a > 0.3 && !ce.has(n) && setTimeout(() => {
|
|
10032
9993
|
this.routeMap.get(n);
|
|
10033
|
-
},
|
|
9994
|
+
}, Ve === "fast" ? 1e3 : 3e3);
|
|
10034
9995
|
});
|
|
10035
9996
|
}
|
|
10036
9997
|
static getRouteTransitionProbability(t) {
|
|
@@ -10070,8 +10031,8 @@ const We = class We {
|
|
|
10070
10031
|
}
|
|
10071
10032
|
};
|
|
10072
10033
|
We.routeMap = /* @__PURE__ */ new Map(), We.routeUsageStats = /* @__PURE__ */ new Map(), We.currentRoute = "";
|
|
10073
|
-
let
|
|
10074
|
-
const
|
|
10034
|
+
let xr = We;
|
|
10035
|
+
const zm = ({ src: e, alt: t, className: r, placeholder: n, priority: a = "medium" }) => {
|
|
10075
10036
|
const [o, s] = R(!1), [l, c] = R(!1), d = P.useRef(null);
|
|
10076
10037
|
V(() => {
|
|
10077
10038
|
if (!d.current) return;
|
|
@@ -10109,15 +10070,15 @@ const Bm = ({ src: e, alt: t, className: r, placeholder: n, priority: a = "mediu
|
|
|
10109
10070
|
!o && l && /* @__PURE__ */ i("div", { className: "absolute inset-0 bg-gray-200 animate-pulse rounded" })
|
|
10110
10071
|
] });
|
|
10111
10072
|
};
|
|
10112
|
-
function
|
|
10073
|
+
function Wm() {
|
|
10113
10074
|
ce.clear(), ot.clear();
|
|
10114
10075
|
}
|
|
10115
|
-
function
|
|
10076
|
+
function Bm() {
|
|
10116
10077
|
return {
|
|
10117
10078
|
cachedComponents: ce.size,
|
|
10118
10079
|
preloadQueue: ot.size,
|
|
10119
|
-
networkSpeed:
|
|
10120
|
-
isLowEndDevice:
|
|
10080
|
+
networkSpeed: Ve,
|
|
10081
|
+
isLowEndDevice: Gt,
|
|
10121
10082
|
cacheEntries: Array.from(ce.entries()).map(([e, t]) => ({
|
|
10122
10083
|
name: e,
|
|
10123
10084
|
loadTime: t.loadTime,
|
|
@@ -10125,10 +10086,10 @@ function Fm() {
|
|
|
10125
10086
|
}))
|
|
10126
10087
|
};
|
|
10127
10088
|
}
|
|
10128
|
-
const
|
|
10089
|
+
const nc = ({ message: e }) => /* @__PURE__ */ h("div", { className: "flex items-center justify-center p-4", children: [
|
|
10129
10090
|
/* @__PURE__ */ i("div", { className: "animate-spin rounded-full h-6 w-6 border-b-2 border-blue-500" }),
|
|
10130
10091
|
/* @__PURE__ */ i("span", { className: "ml-2 text-sm text-gray-600", children: e })
|
|
10131
|
-
] }),
|
|
10092
|
+
] }), ac = (e) => {
|
|
10132
10093
|
if (typeof e == "function" || typeof e == "object")
|
|
10133
10094
|
return e;
|
|
10134
10095
|
switch (e) {
|
|
@@ -10141,9 +10102,9 @@ const ac = ({ message: e }) => /* @__PURE__ */ h("div", { className: "flex items
|
|
|
10141
10102
|
] });
|
|
10142
10103
|
case "default":
|
|
10143
10104
|
default:
|
|
10144
|
-
return () => /* @__PURE__ */ i(
|
|
10105
|
+
return () => /* @__PURE__ */ i(nc, { message: "Loading component..." });
|
|
10145
10106
|
}
|
|
10146
|
-
},
|
|
10107
|
+
}, oc = (e, t = "default", r = 3) => {
|
|
10147
10108
|
const n = ve(async () => {
|
|
10148
10109
|
let o = null;
|
|
10149
10110
|
for (let s = 0; s < r; s++)
|
|
@@ -10155,19 +10116,19 @@ const ac = ({ message: e }) => /* @__PURE__ */ h("div", { className: "flex items
|
|
|
10155
10116
|
);
|
|
10156
10117
|
}
|
|
10157
10118
|
throw o;
|
|
10158
|
-
}), a =
|
|
10159
|
-
return (o) => /* @__PURE__ */ i(
|
|
10160
|
-
},
|
|
10119
|
+
}), a = ac(t);
|
|
10120
|
+
return (o) => /* @__PURE__ */ i(Ue, { fallback: /* @__PURE__ */ i(a, {}), children: /* @__PURE__ */ i(n, { ...o }) });
|
|
10121
|
+
}, jm = async (e) => {
|
|
10161
10122
|
try {
|
|
10162
10123
|
await e();
|
|
10163
10124
|
} catch {
|
|
10164
10125
|
}
|
|
10165
|
-
},
|
|
10126
|
+
}, Fm = (e) => {
|
|
10166
10127
|
const t = {};
|
|
10167
10128
|
return Object.entries(e).forEach(([r, n]) => {
|
|
10168
|
-
t[r] =
|
|
10129
|
+
t[r] = oc(n, "skeleton");
|
|
10169
10130
|
}), t;
|
|
10170
|
-
},
|
|
10131
|
+
}, _m = (e) => e, ic = {
|
|
10171
10132
|
// Critical routes (preload immediately)
|
|
10172
10133
|
critical: ["/", "/connect", "/mail"],
|
|
10173
10134
|
// Secondary routes (preload on idle)
|
|
@@ -10205,17 +10166,17 @@ const ac = ({ message: e }) => /* @__PURE__ */ h("div", { className: "flex items
|
|
|
10205
10166
|
}
|
|
10206
10167
|
};
|
|
10207
10168
|
Be.preloadedComponents = /* @__PURE__ */ new Set(), Be.preloadQueue = [], Be.isPreloading = !1;
|
|
10208
|
-
let
|
|
10209
|
-
const
|
|
10169
|
+
let vr = Be;
|
|
10170
|
+
const Vm = () => {
|
|
10210
10171
|
"requestIdleCallback" in window && window.requestIdleCallback(() => {
|
|
10211
|
-
|
|
10172
|
+
ic.secondary.forEach((e) => {
|
|
10212
10173
|
});
|
|
10213
10174
|
});
|
|
10214
|
-
},
|
|
10175
|
+
}, wr = ({ message: e }) => /* @__PURE__ */ h("div", { className: "flex items-center justify-center p-4", children: [
|
|
10215
10176
|
/* @__PURE__ */ i("div", { className: "animate-spin rounded-full h-6 w-6 border-b-2 border-blue-500" }),
|
|
10216
10177
|
/* @__PURE__ */ i("span", { className: "ml-2 text-sm text-gray-600", children: e })
|
|
10217
|
-
] }),
|
|
10218
|
-
function
|
|
10178
|
+
] }), He = /* @__PURE__ */ new Map();
|
|
10179
|
+
function Hm(e, t) {
|
|
10219
10180
|
const {
|
|
10220
10181
|
condition: r,
|
|
10221
10182
|
fallback: n,
|
|
@@ -10227,7 +10188,7 @@ function qm(e, t) {
|
|
|
10227
10188
|
const [u, m] = P.useState(!1), [p, g] = P.useState(null);
|
|
10228
10189
|
return P.useEffect(() => {
|
|
10229
10190
|
const w = setTimeout(async () => {
|
|
10230
|
-
const k =
|
|
10191
|
+
const k = He.get(l);
|
|
10231
10192
|
if (k && k.isValid && Date.now() - k.lastCheck < 3e5)
|
|
10232
10193
|
try {
|
|
10233
10194
|
if (await k.condition()) {
|
|
@@ -10238,8 +10199,8 @@ function qm(e, t) {
|
|
|
10238
10199
|
}
|
|
10239
10200
|
try {
|
|
10240
10201
|
if (await r()) {
|
|
10241
|
-
const S = await
|
|
10242
|
-
|
|
10202
|
+
const S = await sc(e, a, o);
|
|
10203
|
+
He.set(l, {
|
|
10243
10204
|
component: S.default,
|
|
10244
10205
|
condition: r,
|
|
10245
10206
|
lastCheck: Date.now(),
|
|
@@ -10251,16 +10212,16 @@ function qm(e, t) {
|
|
|
10251
10212
|
}, s === "high" ? 0 : s === "medium" ? 100 : 500);
|
|
10252
10213
|
return () => clearTimeout(w);
|
|
10253
10214
|
}, []), u ? p ? /* @__PURE__ */ i(
|
|
10254
|
-
|
|
10215
|
+
Ue,
|
|
10255
10216
|
{
|
|
10256
|
-
fallback: n || /* @__PURE__ */ i(
|
|
10217
|
+
fallback: n || /* @__PURE__ */ i(wr, { message: "Loading component..." }),
|
|
10257
10218
|
children: /* @__PURE__ */ i(p, { ...d })
|
|
10258
10219
|
}
|
|
10259
|
-
) : null : n || /* @__PURE__ */ i(
|
|
10220
|
+
) : null : n || /* @__PURE__ */ i(wr, { message: "Checking conditions..." });
|
|
10260
10221
|
};
|
|
10261
10222
|
return c.displayName = `ConditionalLazy(${l})`, c;
|
|
10262
10223
|
}
|
|
10263
|
-
const
|
|
10224
|
+
const Um = {
|
|
10264
10225
|
// Example: Premium features only for subscribed users
|
|
10265
10226
|
// PremiumEmailFeatures: createConditionalLazyComponent(
|
|
10266
10227
|
// () => import('../components/premium/PremiumEmailFeatures'),
|
|
@@ -10273,11 +10234,11 @@ const Gm = {
|
|
|
10273
10234
|
// priority: 'high'
|
|
10274
10235
|
// }
|
|
10275
10236
|
// ),
|
|
10276
|
-
},
|
|
10237
|
+
}, qm = {
|
|
10277
10238
|
// Examples of platform-specific conditional loading
|
|
10278
10239
|
// These can be implemented as needed for specific platform optimizations
|
|
10279
10240
|
};
|
|
10280
|
-
async function
|
|
10241
|
+
async function sc(e, t, r) {
|
|
10281
10242
|
let n;
|
|
10282
10243
|
for (let a = 0; a < t; a++)
|
|
10283
10244
|
try {
|
|
@@ -10293,13 +10254,13 @@ async function lc(e, t, r) {
|
|
|
10293
10254
|
}
|
|
10294
10255
|
throw n;
|
|
10295
10256
|
}
|
|
10296
|
-
function
|
|
10297
|
-
|
|
10257
|
+
function Gm() {
|
|
10258
|
+
He.clear();
|
|
10298
10259
|
}
|
|
10299
|
-
function
|
|
10260
|
+
function Km() {
|
|
10300
10261
|
return {
|
|
10301
|
-
cachedComponents:
|
|
10302
|
-
cacheEntries: Array.from(
|
|
10262
|
+
cachedComponents: He.size,
|
|
10263
|
+
cacheEntries: Array.from(He.entries()).map(([e, t]) => ({
|
|
10303
10264
|
key: e,
|
|
10304
10265
|
lastCheck: t.lastCheck,
|
|
10305
10266
|
isValid: t.isValid,
|
|
@@ -10307,7 +10268,7 @@ function Qm() {
|
|
|
10307
10268
|
}))
|
|
10308
10269
|
};
|
|
10309
10270
|
}
|
|
10310
|
-
const
|
|
10271
|
+
const kr = [
|
|
10311
10272
|
// Critical: Always preload immediately
|
|
10312
10273
|
{
|
|
10313
10274
|
name: "react-router",
|
|
@@ -10394,7 +10355,7 @@ const Sr = [
|
|
|
10394
10355
|
}
|
|
10395
10356
|
}
|
|
10396
10357
|
];
|
|
10397
|
-
class
|
|
10358
|
+
class lc {
|
|
10398
10359
|
constructor() {
|
|
10399
10360
|
this.preloaded = /* @__PURE__ */ new Set(), this.networkSpeedEstimate = "medium", this.isLowEndDevice = !1, this.userActivityScore = 0, this.detectNetworkSpeed(), this.detectDeviceCapability(), this.startUserActivityTracking();
|
|
10400
10361
|
}
|
|
@@ -10471,7 +10432,7 @@ class cc {
|
|
|
10471
10432
|
}) : this.preloadChunk(t);
|
|
10472
10433
|
}
|
|
10473
10434
|
initializePreloading() {
|
|
10474
|
-
|
|
10435
|
+
kr.sort((r, n) => {
|
|
10475
10436
|
const a = { critical: 0, high: 1, medium: 2, low: 3 };
|
|
10476
10437
|
return a[r.config.priority] - a[n.config.priority];
|
|
10477
10438
|
}).forEach((r) => {
|
|
@@ -10500,7 +10461,7 @@ class cc {
|
|
|
10500
10461
|
}
|
|
10501
10462
|
startIntelligentPreloading() {
|
|
10502
10463
|
setTimeout(() => {
|
|
10503
|
-
this.userActivityScore > 50 && this.networkSpeedEstimate !== "slow" &&
|
|
10464
|
+
this.userActivityScore > 50 && this.networkSpeedEstimate !== "slow" && kr.filter(
|
|
10504
10465
|
(r) => r.config.priority === "medium" && this.shouldPreload(r)
|
|
10505
10466
|
).forEach((r) => {
|
|
10506
10467
|
Math.random() > 0.5 && this.schedulePreload(r);
|
|
@@ -10517,15 +10478,15 @@ class cc {
|
|
|
10517
10478
|
}
|
|
10518
10479
|
}
|
|
10519
10480
|
let Me = null;
|
|
10520
|
-
function
|
|
10521
|
-
Me || (Me = new
|
|
10481
|
+
function Ym() {
|
|
10482
|
+
Me || (Me = new lc(), document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", () => {
|
|
10522
10483
|
Me?.initializePreloading();
|
|
10523
10484
|
}) : Me.initializePreloading());
|
|
10524
10485
|
}
|
|
10525
|
-
function
|
|
10486
|
+
function Qm() {
|
|
10526
10487
|
return Me?.getPreloadingStats();
|
|
10527
10488
|
}
|
|
10528
|
-
function
|
|
10489
|
+
function Xm(e) {
|
|
10529
10490
|
const t = {
|
|
10530
10491
|
// Core AI Classification
|
|
10531
10492
|
"ai-content-type": e.contentType,
|
|
@@ -10558,10 +10519,10 @@ function Jm(e) {
|
|
|
10558
10519
|
};
|
|
10559
10520
|
return e.contentType === "governance-page" && (t["ai-governance-features"] = "voting-notifications,multi-sig-coordination,proposal-tracking", t["ai-dao-platforms"] = "snapshot,tally,aragon,safe,decentdao", t["ai-participation-boost"] = "85%", t["ai-treasury-management"] = "enabled"), t;
|
|
10560
10521
|
}
|
|
10561
|
-
function
|
|
10522
|
+
function cc(e) {
|
|
10562
10523
|
const t = {
|
|
10563
10524
|
"@context": "https://schema.org",
|
|
10564
|
-
"@type":
|
|
10525
|
+
"@type": mc(e.contentType),
|
|
10565
10526
|
name: e.primaryTopic,
|
|
10566
10527
|
description: `Comprehensive ${e.primaryTopic} resource for ${e.targetAudience.join(", ")}`,
|
|
10567
10528
|
about: e.semanticKeywords.map((r) => ({
|
|
@@ -10596,14 +10557,14 @@ function dc(e) {
|
|
|
10596
10557
|
]
|
|
10597
10558
|
} : t;
|
|
10598
10559
|
}
|
|
10599
|
-
function
|
|
10560
|
+
function Zm(e, t) {
|
|
10600
10561
|
return t.map((r) => ({
|
|
10601
10562
|
type: "related-content",
|
|
10602
10563
|
target: r.url,
|
|
10603
10564
|
strength: r.relevance
|
|
10604
10565
|
}));
|
|
10605
10566
|
}
|
|
10606
|
-
function
|
|
10567
|
+
function dc(e) {
|
|
10607
10568
|
const t = [
|
|
10608
10569
|
"0xmail.box",
|
|
10609
10570
|
"Web3",
|
|
@@ -10625,7 +10586,7 @@ function uc(e) {
|
|
|
10625
10586
|
];
|
|
10626
10587
|
return e.contentType === "governance-page" ? [...t, ...r] : t;
|
|
10627
10588
|
}
|
|
10628
|
-
function
|
|
10589
|
+
function uc(e) {
|
|
10629
10590
|
const t = [
|
|
10630
10591
|
"web3-infrastructure",
|
|
10631
10592
|
"email-technology",
|
|
@@ -10639,7 +10600,7 @@ function mc(e) {
|
|
|
10639
10600
|
];
|
|
10640
10601
|
return e.contentType === "governance-page" ? [...t, ...r] : t;
|
|
10641
10602
|
}
|
|
10642
|
-
function
|
|
10603
|
+
function Jm(e, t) {
|
|
10643
10604
|
return {
|
|
10644
10605
|
contentClassification: {
|
|
10645
10606
|
type: e.contentType,
|
|
@@ -10649,14 +10610,14 @@ function t0(e, t) {
|
|
|
10649
10610
|
purpose: e.contentPurpose,
|
|
10650
10611
|
vertical: e.industryVertical
|
|
10651
10612
|
},
|
|
10652
|
-
semanticMarkup:
|
|
10653
|
-
entityRecognition:
|
|
10654
|
-
topicClustering:
|
|
10613
|
+
semanticMarkup: cc(e),
|
|
10614
|
+
entityRecognition: dc(e),
|
|
10615
|
+
topicClustering: uc(e),
|
|
10655
10616
|
contentRelationships: t?.contentRelationships || [],
|
|
10656
10617
|
...t
|
|
10657
10618
|
};
|
|
10658
10619
|
}
|
|
10659
|
-
function
|
|
10620
|
+
function mc(e) {
|
|
10660
10621
|
return {
|
|
10661
10622
|
article: "Article",
|
|
10662
10623
|
"landing-page": "WebPage",
|
|
@@ -10665,7 +10626,7 @@ function gc(e) {
|
|
|
10665
10626
|
documentation: "TechArticle"
|
|
10666
10627
|
}[e] || "WebPage";
|
|
10667
10628
|
}
|
|
10668
|
-
function
|
|
10629
|
+
function e0(e) {
|
|
10669
10630
|
return {
|
|
10670
10631
|
"@context": "https://schema.org",
|
|
10671
10632
|
"@type": "MonitorAction",
|
|
@@ -10687,7 +10648,7 @@ function r0(e) {
|
|
|
10687
10648
|
}
|
|
10688
10649
|
};
|
|
10689
10650
|
}
|
|
10690
|
-
const
|
|
10651
|
+
const t0 = {
|
|
10691
10652
|
governancePage: {
|
|
10692
10653
|
contentType: "governance-page",
|
|
10693
10654
|
primaryTopic: "DAO Governance Communication Platform",
|
|
@@ -10775,14 +10736,14 @@ const n0 = {
|
|
|
10775
10736
|
"premium-upgrade"
|
|
10776
10737
|
]
|
|
10777
10738
|
}
|
|
10778
|
-
},
|
|
10739
|
+
}, gc = ({
|
|
10779
10740
|
message: e,
|
|
10780
10741
|
className: t
|
|
10781
10742
|
}) => /* @__PURE__ */ h("div", { className: `flex items-center justify-center p-4 ${t || ""}`, children: [
|
|
10782
10743
|
/* @__PURE__ */ i("div", { className: "animate-spin rounded-full h-6 w-6 border-b-2 border-blue-500" }),
|
|
10783
10744
|
/* @__PURE__ */ i("span", { className: "ml-2 text-sm text-gray-600", children: e })
|
|
10784
10745
|
] }), vt = /* @__PURE__ */ new Map(), ze = /* @__PURE__ */ new Set();
|
|
10785
|
-
function
|
|
10746
|
+
function Rn() {
|
|
10786
10747
|
const e = [];
|
|
10787
10748
|
return !!window.ethereum?.isMetaMask && (ze.add("metamask"), e.push({
|
|
10788
10749
|
name: "MetaMask",
|
|
@@ -10802,17 +10763,17 @@ function On() {
|
|
|
10802
10763
|
priority: 4
|
|
10803
10764
|
}), e.sort((a, o) => a.priority - o.priority);
|
|
10804
10765
|
}
|
|
10805
|
-
function
|
|
10766
|
+
function Mn(e) {
|
|
10806
10767
|
const t = `wallet-${e.toLowerCase()}`;
|
|
10807
10768
|
if (vt.has(t))
|
|
10808
10769
|
return vt.get(t);
|
|
10809
10770
|
const n = ve(() => Promise.resolve({
|
|
10810
10771
|
default: () => P.createElement("div", {}, `${e} Provider Placeholder`)
|
|
10811
10772
|
})), a = (o) => /* @__PURE__ */ i(
|
|
10812
|
-
|
|
10773
|
+
Ue,
|
|
10813
10774
|
{
|
|
10814
10775
|
fallback: /* @__PURE__ */ i(
|
|
10815
|
-
|
|
10776
|
+
gc,
|
|
10816
10777
|
{
|
|
10817
10778
|
message: `Loading ${e} wallet...`,
|
|
10818
10779
|
className: "wallet-loading"
|
|
@@ -10823,26 +10784,26 @@ function Dn(e) {
|
|
|
10823
10784
|
);
|
|
10824
10785
|
return a.displayName = `Lazy${e}Provider`, vt.set(t, a), a;
|
|
10825
10786
|
}
|
|
10826
|
-
function
|
|
10787
|
+
function r0({
|
|
10827
10788
|
children: e
|
|
10828
10789
|
}) {
|
|
10829
|
-
const t =
|
|
10790
|
+
const t = Rn();
|
|
10830
10791
|
return t.filter((r) => r.priority <= 2 && r.detected).forEach((r) => {
|
|
10831
10792
|
setTimeout(() => {
|
|
10832
10793
|
}, 1e3);
|
|
10833
10794
|
}), /* @__PURE__ */ h(H, { children: [
|
|
10834
10795
|
t.map((r) => {
|
|
10835
|
-
const n =
|
|
10796
|
+
const n = Mn(r.name);
|
|
10836
10797
|
return /* @__PURE__ */ i(n, {}, r.name);
|
|
10837
10798
|
}),
|
|
10838
10799
|
e
|
|
10839
10800
|
] });
|
|
10840
10801
|
}
|
|
10841
|
-
const
|
|
10802
|
+
const Kt = class Kt {
|
|
10842
10803
|
static preloadWallet(t) {
|
|
10843
10804
|
const r = t.toLowerCase();
|
|
10844
10805
|
this.preloadedWallets.has(r) || (this.preloadedWallets.add(r), setTimeout(() => {
|
|
10845
|
-
|
|
10806
|
+
Mn(t);
|
|
10846
10807
|
}, 500));
|
|
10847
10808
|
}
|
|
10848
10809
|
static preloadCommonWallets() {
|
|
@@ -10856,11 +10817,11 @@ const Qt = class Qt {
|
|
|
10856
10817
|
return Array.from(this.preloadedWallets);
|
|
10857
10818
|
}
|
|
10858
10819
|
};
|
|
10859
|
-
|
|
10860
|
-
let it =
|
|
10861
|
-
function
|
|
10820
|
+
Kt.preloadedWallets = /* @__PURE__ */ new Set();
|
|
10821
|
+
let it = Kt;
|
|
10822
|
+
function n0() {
|
|
10862
10823
|
return {
|
|
10863
|
-
availableWallets:
|
|
10824
|
+
availableWallets: Rn(),
|
|
10864
10825
|
preloadWallet: (n) => {
|
|
10865
10826
|
it.preloadWallet(n);
|
|
10866
10827
|
},
|
|
@@ -10868,7 +10829,7 @@ function o0() {
|
|
|
10868
10829
|
hasWallet: (n) => ze.has(n.toLowerCase())
|
|
10869
10830
|
};
|
|
10870
10831
|
}
|
|
10871
|
-
function
|
|
10832
|
+
function a0({
|
|
10872
10833
|
walletName: e,
|
|
10873
10834
|
onConnect: t,
|
|
10874
10835
|
disabled: r = !1
|
|
@@ -10889,7 +10850,7 @@ function i0({
|
|
|
10889
10850
|
}
|
|
10890
10851
|
);
|
|
10891
10852
|
}
|
|
10892
|
-
class
|
|
10853
|
+
class o0 {
|
|
10893
10854
|
constructor() {
|
|
10894
10855
|
this.criticalResources = [], this.observedMetrics = {
|
|
10895
10856
|
fcp: 0,
|
|
@@ -11127,27 +11088,27 @@ const wt = {
|
|
|
11127
11088
|
clearEntries: (e) => {
|
|
11128
11089
|
typeof performance < "u" && (e ? (performance.clearMeasures?.(e), performance.clearMarks?.(e)) : (performance.clearMeasures?.(), performance.clearMarks?.()));
|
|
11129
11090
|
}
|
|
11130
|
-
},
|
|
11091
|
+
}, i0 = (e, t = []) => {
|
|
11131
11092
|
V(() => (wt.mark(`${e}-start`), () => {
|
|
11132
11093
|
wt.mark(`${e}-end`), wt.measure(e, `${e}-start`, `${e}-end`);
|
|
11133
11094
|
}), [e, t]);
|
|
11134
|
-
},
|
|
11095
|
+
}, s0 = (e) => {
|
|
11135
11096
|
const t = q(e);
|
|
11136
11097
|
return t.current = e, re(
|
|
11137
11098
|
(...r) => t.current(...r),
|
|
11138
11099
|
[]
|
|
11139
11100
|
);
|
|
11140
|
-
},
|
|
11101
|
+
}, l0 = (e, t, r) => {
|
|
11141
11102
|
const n = q(t), a = q(void 0);
|
|
11142
11103
|
return Lt(() => (r && process.env.NODE_ENV === "development" && t.some(
|
|
11143
11104
|
(o, s) => o !== n.current[s]
|
|
11144
11105
|
), n.current = t, a.current = e(), a.current), [e, r, t]);
|
|
11145
|
-
}, st = /* @__PURE__ */ new Map(),
|
|
11106
|
+
}, st = /* @__PURE__ */ new Map(), c0 = (e) => {
|
|
11146
11107
|
const t = st.get(e) || 0;
|
|
11147
11108
|
st.set(e, t + 1), V(() => {
|
|
11148
11109
|
process.env.NODE_ENV;
|
|
11149
11110
|
});
|
|
11150
|
-
},
|
|
11111
|
+
}, d0 = () => Object.fromEntries(st), u0 = () => st.clear(), m0 = (e) => P.lazy(e), g0 = (e = 0.1) => {
|
|
11151
11112
|
const [t, r] = R(/* @__PURE__ */ new Set()), n = q(null);
|
|
11152
11113
|
V(() => (n.current = new IntersectionObserver(
|
|
11153
11114
|
(o) => {
|
|
@@ -11166,7 +11127,7 @@ const wt = {
|
|
|
11166
11127
|
o && n.current && n.current.observe(o);
|
|
11167
11128
|
}, []);
|
|
11168
11129
|
return { loadedImages: t, observeImage: a };
|
|
11169
|
-
},
|
|
11130
|
+
}, p0 = (e) => {
|
|
11170
11131
|
typeof window < "u" && "requestIdleCallback" in window ? window.requestIdleCallback(() => {
|
|
11171
11132
|
e().catch(() => {
|
|
11172
11133
|
});
|
|
@@ -11174,19 +11135,19 @@ const wt = {
|
|
|
11174
11135
|
e().catch(() => {
|
|
11175
11136
|
});
|
|
11176
11137
|
}, 100);
|
|
11177
|
-
},
|
|
11178
|
-
|
|
11179
|
-
},
|
|
11138
|
+
}, On = {}, f0 = (e) => {
|
|
11139
|
+
On[e.name] = e.value, process.env.NODE_ENV;
|
|
11140
|
+
}, h0 = () => On, y0 = (e, t = "script") => {
|
|
11180
11141
|
if (typeof document < "u") {
|
|
11181
11142
|
const r = document.createElement("link");
|
|
11182
11143
|
r.rel = "prefetch", r.href = e, r.as = t, document.head.appendChild(r);
|
|
11183
11144
|
}
|
|
11184
|
-
},
|
|
11145
|
+
}, b0 = (e, t = "script", r) => {
|
|
11185
11146
|
if (typeof document < "u") {
|
|
11186
11147
|
const n = document.createElement("link");
|
|
11187
11148
|
n.rel = "preload", n.href = e, n.as = t, r && (n.crossOrigin = "anonymous"), document.head.appendChild(n);
|
|
11188
11149
|
}
|
|
11189
|
-
},
|
|
11150
|
+
}, x0 = (e) => {
|
|
11190
11151
|
const t = q(/* @__PURE__ */ new Set()), r = q(/* @__PURE__ */ new Set()), n = re((o, s) => {
|
|
11191
11152
|
const l = setTimeout(() => {
|
|
11192
11153
|
t.current.delete(l), o();
|
|
@@ -11228,21 +11189,21 @@ const wt = {
|
|
|
11228
11189
|
`CLS (${e.CLS}) exceeds budget (${me.maxCLS})`
|
|
11229
11190
|
), t;
|
|
11230
11191
|
}
|
|
11231
|
-
},
|
|
11192
|
+
}, v0 = ({
|
|
11232
11193
|
contentType: e,
|
|
11233
11194
|
aiSummary: t,
|
|
11234
11195
|
technicalComplexity: r = "intermediate"
|
|
11235
|
-
}) => /* @__PURE__ */ h(
|
|
11196
|
+
}) => /* @__PURE__ */ h(Oa, { children: [
|
|
11236
11197
|
/* @__PURE__ */ i("meta", { name: "ai:content-type", content: e }),
|
|
11237
11198
|
/* @__PURE__ */ i("meta", { name: "ai:summary", content: t }),
|
|
11238
11199
|
/* @__PURE__ */ i("meta", { name: "ai:complexity", content: r })
|
|
11239
|
-
] }),
|
|
11200
|
+
] }), w0 = ({
|
|
11240
11201
|
children: e,
|
|
11241
11202
|
className: t,
|
|
11242
11203
|
...r
|
|
11243
|
-
}) => /* @__PURE__ */ i("main", { className: t, ...r, role: "main", children: e }),
|
|
11204
|
+
}) => /* @__PURE__ */ i("main", { className: t, ...r, role: "main", children: e }), k0 = ({
|
|
11244
11205
|
children: e
|
|
11245
|
-
}) => /* @__PURE__ */ i(H, { children: e }), Te = (e) => Array.isArray(e) ? e : typeof e == "string" ? e.split(",").map((t) => t.trim()).filter(Boolean) : [],
|
|
11206
|
+
}) => /* @__PURE__ */ i(H, { children: e }), Te = (e) => Array.isArray(e) ? e : typeof e == "string" ? e.split(",").map((t) => t.trim()).filter(Boolean) : [], Cr = (e) => {
|
|
11246
11207
|
const t = Te(e.audience);
|
|
11247
11208
|
return {
|
|
11248
11209
|
"@context": "https://schema.org",
|
|
@@ -11329,7 +11290,7 @@ const wt = {
|
|
|
11329
11290
|
snsCompatible: !0
|
|
11330
11291
|
}
|
|
11331
11292
|
};
|
|
11332
|
-
},
|
|
11293
|
+
}, Sr = (e) => {
|
|
11333
11294
|
const t = Te(e.keywords), r = Te(e.audience);
|
|
11334
11295
|
return {
|
|
11335
11296
|
"@context": "https://schema.org",
|
|
@@ -11401,7 +11362,7 @@ const wt = {
|
|
|
11401
11362
|
"Smart contract integration"
|
|
11402
11363
|
]
|
|
11403
11364
|
};
|
|
11404
|
-
},
|
|
11365
|
+
}, C0 = (e) => ({
|
|
11405
11366
|
"@context": "https://schema.org",
|
|
11406
11367
|
"@type": "FAQPage",
|
|
11407
11368
|
mainEntity: e.map((t) => ({
|
|
@@ -11422,7 +11383,7 @@ const wt = {
|
|
|
11422
11383
|
dateCreated: "2024-01-01T00:00:00Z",
|
|
11423
11384
|
category: t.category || "Web3 Email"
|
|
11424
11385
|
}))
|
|
11425
|
-
}),
|
|
11386
|
+
}), Nr = (e) => ({
|
|
11426
11387
|
"@context": "https://schema.org",
|
|
11427
11388
|
"@type": "WebPage",
|
|
11428
11389
|
name: e.title,
|
|
@@ -11486,7 +11447,7 @@ const wt = {
|
|
|
11486
11447
|
},
|
|
11487
11448
|
name: "Connect Web3 Wallet"
|
|
11488
11449
|
}
|
|
11489
|
-
}),
|
|
11450
|
+
}), pc = (e) => {
|
|
11490
11451
|
const t = Te(e.keywords);
|
|
11491
11452
|
return {
|
|
11492
11453
|
"og:title": e.title,
|
|
@@ -11505,7 +11466,7 @@ const wt = {
|
|
|
11505
11466
|
"article:published_time": "2024-01-01T00:00:00Z",
|
|
11506
11467
|
"article:modified_time": e.lastUpdated?.toISOString() || (/* @__PURE__ */ new Date()).toISOString()
|
|
11507
11468
|
};
|
|
11508
|
-
},
|
|
11469
|
+
}, fc = (e) => ({
|
|
11509
11470
|
"twitter:card": "summary_large_image",
|
|
11510
11471
|
"twitter:site": "@0xmailbox",
|
|
11511
11472
|
"twitter:creator": "@0xmailbox",
|
|
@@ -11517,7 +11478,7 @@ const wt = {
|
|
|
11517
11478
|
"twitter:data1": e.category,
|
|
11518
11479
|
"twitter:label2": "Reading Time",
|
|
11519
11480
|
"twitter:data2": e.readingTime ? `${e.readingTime} min` : "5 min"
|
|
11520
|
-
}),
|
|
11481
|
+
}), hc = (e) => {
|
|
11521
11482
|
const t = Te(e.keywords), r = Te(e.audience);
|
|
11522
11483
|
return {
|
|
11523
11484
|
// General AI optimization
|
|
@@ -11546,21 +11507,21 @@ const wt = {
|
|
|
11546
11507
|
"content:expertise": "technical",
|
|
11547
11508
|
"content:trustworthiness": "verified"
|
|
11548
11509
|
};
|
|
11549
|
-
},
|
|
11510
|
+
}, S0 = (e) => ({
|
|
11550
11511
|
structuredData: {
|
|
11551
|
-
product:
|
|
11552
|
-
article:
|
|
11553
|
-
aiOptimized:
|
|
11512
|
+
product: Cr(e),
|
|
11513
|
+
article: Sr(e),
|
|
11514
|
+
aiOptimized: Nr(e)
|
|
11554
11515
|
},
|
|
11555
|
-
openGraph:
|
|
11556
|
-
twitterCard:
|
|
11557
|
-
aiMetaTags:
|
|
11516
|
+
openGraph: pc(e),
|
|
11517
|
+
twitterCard: fc(e),
|
|
11518
|
+
aiMetaTags: hc(e),
|
|
11558
11519
|
jsonLD: [
|
|
11559
|
-
|
|
11560
|
-
|
|
11561
|
-
|
|
11520
|
+
Cr(e),
|
|
11521
|
+
Sr(e),
|
|
11522
|
+
Nr(e)
|
|
11562
11523
|
]
|
|
11563
|
-
}),
|
|
11524
|
+
}), N0 = {
|
|
11564
11525
|
homepage: {
|
|
11565
11526
|
title: "0xmail.box - Revolutionary Web3 Email Platform | Wallet-Based Authentication",
|
|
11566
11527
|
description: "Transform your email experience with 0xmail.box - the first Web3 email platform using wallet authentication. No passwords, enhanced security, ENS/SNS domain support, and smart contract integration.",
|
|
@@ -11624,7 +11585,7 @@ const wt = {
|
|
|
11624
11585
|
readingTime: 8,
|
|
11625
11586
|
relatedTopics: ["Token economics", "Reward systems", "Referral marketing"]
|
|
11626
11587
|
}
|
|
11627
|
-
},
|
|
11588
|
+
}, E0 = (e) => {
|
|
11628
11589
|
const {
|
|
11629
11590
|
level: t,
|
|
11630
11591
|
text: r,
|
|
@@ -11702,7 +11663,7 @@ const wt = {
|
|
|
11702
11663
|
className: t,
|
|
11703
11664
|
semanticContext: "feature"
|
|
11704
11665
|
})
|
|
11705
|
-
},
|
|
11666
|
+
}, A0 = (e) => {
|
|
11706
11667
|
const t = [], r = [], n = e.filter((a) => a.level === 1).length;
|
|
11707
11668
|
n === 0 ? t.push("Missing H1 tag - every page should have exactly one H1") : n > 1 && t.push(
|
|
11708
11669
|
`Multiple H1 tags found (${n}) - use only one H1 per page`
|
|
@@ -11722,7 +11683,7 @@ const wt = {
|
|
|
11722
11683
|
errors: t,
|
|
11723
11684
|
suggestions: r
|
|
11724
11685
|
};
|
|
11725
|
-
},
|
|
11686
|
+
}, P0 = {
|
|
11726
11687
|
walletConnection: ie.pageTitle("Connect Your Web3 Wallet"),
|
|
11727
11688
|
emailBenefits: ie.majorSection("Why Choose Web3 Email?"),
|
|
11728
11689
|
securityFeature: ie.feature("Secure & Private"),
|
|
@@ -11732,7 +11693,7 @@ const wt = {
|
|
|
11732
11693
|
setupStep1: ie.step("Connect Your Wallet", 1),
|
|
11733
11694
|
setupStep2: ie.step("Verify Your Identity", 2),
|
|
11734
11695
|
setupStep3: ie.step("Access Your Emails", 3)
|
|
11735
|
-
},
|
|
11696
|
+
}, T0 = [
|
|
11736
11697
|
{
|
|
11737
11698
|
term: "Web3 Email",
|
|
11738
11699
|
definition: "Email system that uses blockchain wallet addresses as authentication instead of traditional passwords",
|
|
@@ -11817,7 +11778,7 @@ const wt = {
|
|
|
11817
11778
|
examples: ["Gmail to Web3 email", "Outlook integration"],
|
|
11818
11779
|
context: "Web2/Web3 bridge ensures compatibility with existing email infrastructure"
|
|
11819
11780
|
}
|
|
11820
|
-
],
|
|
11781
|
+
], $0 = (e) => ({
|
|
11821
11782
|
// Semantic markup for AI understanding
|
|
11822
11783
|
"@context": "https://schema.org",
|
|
11823
11784
|
"@type": "LearningResource",
|
|
@@ -11835,7 +11796,7 @@ const wt = {
|
|
|
11835
11796
|
keywords: e.concepts,
|
|
11836
11797
|
applicationExample: e.practicalApplications,
|
|
11837
11798
|
isRelatedTo: e.relatedConcepts
|
|
11838
|
-
}),
|
|
11799
|
+
}), L0 = (e) => {
|
|
11839
11800
|
const t = {
|
|
11840
11801
|
nodes: e.map((r) => ({
|
|
11841
11802
|
id: r.term,
|
|
@@ -11860,7 +11821,7 @@ const wt = {
|
|
|
11860
11821
|
});
|
|
11861
11822
|
});
|
|
11862
11823
|
}), t;
|
|
11863
|
-
},
|
|
11824
|
+
}, I0 = (e) => {
|
|
11864
11825
|
const t = [];
|
|
11865
11826
|
return e.examples?.forEach((r) => {
|
|
11866
11827
|
t.push({
|
|
@@ -11880,7 +11841,7 @@ const wt = {
|
|
|
11880
11841
|
type: "definition",
|
|
11881
11842
|
confidence: 1
|
|
11882
11843
|
}), t;
|
|
11883
|
-
},
|
|
11844
|
+
}, R0 = (e) => {
|
|
11884
11845
|
const t = [];
|
|
11885
11846
|
return e.forEach((r) => {
|
|
11886
11847
|
t.push({
|
|
@@ -11905,7 +11866,7 @@ const wt = {
|
|
|
11905
11866
|
difficulty: "intermediate"
|
|
11906
11867
|
});
|
|
11907
11868
|
}), t;
|
|
11908
|
-
},
|
|
11869
|
+
}, M0 = {
|
|
11909
11870
|
homepage: {
|
|
11910
11871
|
domain: "Web3 Email Platform",
|
|
11911
11872
|
category: "Web3 Communication",
|
|
@@ -11996,351 +11957,350 @@ const wt = {
|
|
|
11996
11957
|
* @author John Qiu Huang
|
|
11997
11958
|
* @license MIT
|
|
11998
11959
|
*/
|
|
11999
|
-
const
|
|
11960
|
+
const O0 = {
|
|
12000
11961
|
utils: {
|
|
12001
11962
|
cn: v
|
|
12002
11963
|
}
|
|
12003
11964
|
};
|
|
12004
11965
|
export {
|
|
12005
|
-
|
|
12006
|
-
|
|
12007
|
-
|
|
12008
|
-
|
|
12009
|
-
|
|
12010
|
-
|
|
12011
|
-
|
|
11966
|
+
v0 as AIMeta,
|
|
11967
|
+
k0 as AITrainingEnhancer,
|
|
11968
|
+
M0 as AI_TRAINING_CONFIGS,
|
|
11969
|
+
Hd as AddressLink,
|
|
11970
|
+
Gd as Alert,
|
|
11971
|
+
qd as AlertDescription,
|
|
11972
|
+
Ud as AlertTitle,
|
|
12012
11973
|
Ee as AnimatedSection,
|
|
12013
|
-
|
|
12014
|
-
|
|
12015
|
-
|
|
12016
|
-
|
|
12017
|
-
|
|
12018
|
-
|
|
12019
|
-
|
|
12020
|
-
|
|
12021
|
-
|
|
11974
|
+
W0 as ArrowLeftIcon,
|
|
11975
|
+
B0 as ArrowRightIcon,
|
|
11976
|
+
j0 as Bars3Icon,
|
|
11977
|
+
pm as BatchRender,
|
|
11978
|
+
F0 as BellIcon,
|
|
11979
|
+
_0 as BellSlashIcon,
|
|
11980
|
+
Ou as BodyText,
|
|
11981
|
+
jl as Breadcrumb,
|
|
11982
|
+
Ku as BreadcrumbSection,
|
|
12022
11983
|
be as Button,
|
|
12023
|
-
|
|
12024
|
-
|
|
12025
|
-
|
|
12026
|
-
|
|
12027
|
-
|
|
12028
|
-
|
|
12029
|
-
|
|
11984
|
+
hm as CTASection,
|
|
11985
|
+
tu as CalloutBox,
|
|
11986
|
+
Em as CancellableRequest,
|
|
11987
|
+
_r as Card,
|
|
11988
|
+
Zd as CardContent,
|
|
11989
|
+
Jd as CardFooter,
|
|
11990
|
+
Xd as CardHeader,
|
|
12030
11991
|
Do as ChainBadge,
|
|
12031
|
-
|
|
12032
|
-
|
|
12033
|
-
|
|
12034
|
-
|
|
12035
|
-
|
|
12036
|
-
|
|
12037
|
-
|
|
12038
|
-
|
|
12039
|
-
|
|
12040
|
-
|
|
12041
|
-
|
|
12042
|
-
|
|
12043
|
-
|
|
12044
|
-
|
|
12045
|
-
|
|
12046
|
-
|
|
12047
|
-
|
|
12048
|
-
|
|
12049
|
-
|
|
12050
|
-
|
|
12051
|
-
|
|
12052
|
-
|
|
12053
|
-
|
|
12054
|
-
|
|
12055
|
-
|
|
12056
|
-
|
|
12057
|
-
|
|
11992
|
+
V0 as ChartBarIcon,
|
|
11993
|
+
H0 as CheckCircleIcon,
|
|
11994
|
+
kg as CheckCircleIconSolid,
|
|
11995
|
+
U0 as CheckIcon,
|
|
11996
|
+
Cg as CheckIconSolid,
|
|
11997
|
+
q0 as ChevronDownIcon,
|
|
11998
|
+
G0 as ChevronLeftIcon,
|
|
11999
|
+
K0 as ChevronRightIcon,
|
|
12000
|
+
Y0 as ChevronUpIcon,
|
|
12001
|
+
Q0 as ClockIcon,
|
|
12002
|
+
Yu as CodeBlock,
|
|
12003
|
+
X0 as CodeBracketIcon,
|
|
12004
|
+
Qu as CodeExampleBlock,
|
|
12005
|
+
Z0 as Cog6ToothIcon,
|
|
12006
|
+
Xu as CollapsibleDocumentationTopic,
|
|
12007
|
+
nr as CollapsibleEmailField,
|
|
12008
|
+
ru as ComparisonSection,
|
|
12009
|
+
vr as ComponentPreloader,
|
|
12010
|
+
um as ConditionalRender,
|
|
12011
|
+
ju as ConfirmationDialog,
|
|
12012
|
+
au as ContentContainer,
|
|
12013
|
+
J0 as CreditCardIcon,
|
|
12014
|
+
eg as DocumentTextIcon,
|
|
12015
|
+
ou as Dropdown,
|
|
12016
|
+
yu as EmailAccountsList,
|
|
12017
|
+
Gr as EmailInputField,
|
|
12018
|
+
Eu as EmailInputGroup,
|
|
12058
12019
|
Qo as EmptyState,
|
|
12059
|
-
|
|
12060
|
-
|
|
12061
|
-
|
|
12062
|
-
|
|
12063
|
-
|
|
12064
|
-
|
|
12065
|
-
|
|
12066
|
-
|
|
12067
|
-
|
|
12068
|
-
|
|
12069
|
-
|
|
12070
|
-
|
|
12071
|
-
|
|
12072
|
-
|
|
12073
|
-
|
|
12074
|
-
|
|
12075
|
-
|
|
12076
|
-
|
|
12077
|
-
|
|
12078
|
-
|
|
12079
|
-
|
|
12080
|
-
|
|
12081
|
-
|
|
12082
|
-
|
|
12083
|
-
cg as InformationCircleIcon,
|
|
12020
|
+
tg as EnvelopeIcon,
|
|
12021
|
+
nm as ErrorBoundary,
|
|
12022
|
+
am as ErrorBoundaryLazy,
|
|
12023
|
+
rg as ExclamationTriangleIcon,
|
|
12024
|
+
Sg as ExclamationTriangleIconSolid,
|
|
12025
|
+
cm as ExpensiveComponent,
|
|
12026
|
+
ng as EyeSlashIcon,
|
|
12027
|
+
Yd as FadeInScale,
|
|
12028
|
+
Kd as FadeInUp,
|
|
12029
|
+
Uu as FeatureBlock,
|
|
12030
|
+
iu as FeatureCard,
|
|
12031
|
+
su as FeatureGrid,
|
|
12032
|
+
wu as FlexContainer,
|
|
12033
|
+
Qd as FloatingElement,
|
|
12034
|
+
Ot as FormFieldGroup,
|
|
12035
|
+
Hu as FormSection,
|
|
12036
|
+
_u as FreeEmailBanner,
|
|
12037
|
+
ag as GlobeAltIcon,
|
|
12038
|
+
cu as HeroBannerWithBadge,
|
|
12039
|
+
og as HomeIcon,
|
|
12040
|
+
Fu as IconContainer,
|
|
12041
|
+
ig as InboxIcon,
|
|
12042
|
+
eu as InfoCard,
|
|
12043
|
+
sg as InformationCircleIcon,
|
|
12084
12044
|
Ao as Input,
|
|
12085
|
-
|
|
12086
|
-
|
|
12087
|
-
|
|
12088
|
-
|
|
12089
|
-
|
|
12090
|
-
|
|
12091
|
-
|
|
12092
|
-
|
|
12093
|
-
|
|
12094
|
-
|
|
12095
|
-
|
|
12096
|
-
|
|
12097
|
-
|
|
12098
|
-
|
|
12099
|
-
|
|
12100
|
-
|
|
12101
|
-
|
|
12102
|
-
|
|
12103
|
-
|
|
12045
|
+
Vd as KYCLevelCard,
|
|
12046
|
+
Fd as KYCStatusBadge,
|
|
12047
|
+
lg as KeyIcon,
|
|
12048
|
+
Vr as Label,
|
|
12049
|
+
tm as LanguageSelector,
|
|
12050
|
+
mm as LazyComponent,
|
|
12051
|
+
zm as LazyImage,
|
|
12052
|
+
Ha as LazyLoadQueue,
|
|
12053
|
+
a0 as LazyWalletButton,
|
|
12054
|
+
vd as LazyWrapper,
|
|
12055
|
+
Fr as LoadPriority,
|
|
12056
|
+
km as LoadingOptimizer,
|
|
12057
|
+
Su as LoadingState,
|
|
12058
|
+
Gu as Logo,
|
|
12059
|
+
vm as MasterDetailLayout,
|
|
12060
|
+
xm as MasterListItem,
|
|
12061
|
+
cg as MegaphoneIcon,
|
|
12062
|
+
du as MetricsGrid,
|
|
12063
|
+
dg as MinusIcon,
|
|
12104
12064
|
kl as Modal,
|
|
12105
12065
|
Cl as ModalContent,
|
|
12106
12066
|
Sl as ModalFooter,
|
|
12107
|
-
|
|
12108
|
-
|
|
12109
|
-
|
|
12110
|
-
|
|
12111
|
-
|
|
12112
|
-
|
|
12113
|
-
|
|
12114
|
-
|
|
12115
|
-
|
|
12116
|
-
|
|
12117
|
-
|
|
12118
|
-
|
|
12119
|
-
|
|
12120
|
-
|
|
12121
|
-
|
|
12122
|
-
|
|
12123
|
-
|
|
12124
|
-
|
|
12125
|
-
|
|
12126
|
-
|
|
12127
|
-
|
|
12128
|
-
|
|
12129
|
-
|
|
12130
|
-
|
|
12131
|
-
|
|
12132
|
-
|
|
12133
|
-
|
|
12067
|
+
Bu as ModalHeader,
|
|
12068
|
+
Nu as NoContent,
|
|
12069
|
+
Sm as OptimizedAPIClient,
|
|
12070
|
+
fm as OptimizedImage,
|
|
12071
|
+
Cm as OptimizedRoutePreloader,
|
|
12072
|
+
ku as PageContainer,
|
|
12073
|
+
bm as PageHeader,
|
|
12074
|
+
Ru as PageTitle,
|
|
12075
|
+
ug as PaperAirplaneIcon,
|
|
12076
|
+
mg as PaperClipIcon,
|
|
12077
|
+
gm as PerformanceBoundary,
|
|
12078
|
+
wm as PerformanceOptimizer,
|
|
12079
|
+
qm as PlatformSpecificComponents,
|
|
12080
|
+
gg as PlusIcon,
|
|
12081
|
+
Ua as PriorityLoader,
|
|
12082
|
+
uu as ProcessSteps,
|
|
12083
|
+
Zu as PromotionalBanner,
|
|
12084
|
+
mu as PullToRefresh,
|
|
12085
|
+
pg as RocketLaunchIcon,
|
|
12086
|
+
xr as RouteBasedLazyLoader,
|
|
12087
|
+
om as SafeAppWrapper,
|
|
12088
|
+
Cu as Section,
|
|
12089
|
+
Iu as SectionBadge,
|
|
12090
|
+
pu as SectionHeader,
|
|
12091
|
+
Mu as SectionTitle,
|
|
12092
|
+
im as SecurityProvider,
|
|
12093
|
+
tr as Select,
|
|
12134
12094
|
Ct as SelectContent,
|
|
12135
|
-
|
|
12136
|
-
|
|
12095
|
+
Tu as SelectField,
|
|
12096
|
+
gu as SelectGroup,
|
|
12137
12097
|
St as SelectItem,
|
|
12138
12098
|
$o as SelectLabel,
|
|
12139
|
-
|
|
12140
|
-
|
|
12099
|
+
Ur as SelectScrollDownButton,
|
|
12100
|
+
Hr as SelectScrollUpButton,
|
|
12141
12101
|
Lo as SelectSeparator,
|
|
12142
12102
|
kt as SelectTrigger,
|
|
12143
12103
|
To as SelectValue,
|
|
12144
|
-
|
|
12145
|
-
|
|
12146
|
-
|
|
12147
|
-
|
|
12148
|
-
|
|
12149
|
-
|
|
12150
|
-
|
|
12151
|
-
|
|
12152
|
-
|
|
12153
|
-
|
|
12154
|
-
|
|
12155
|
-
|
|
12156
|
-
|
|
12157
|
-
|
|
12158
|
-
|
|
12159
|
-
|
|
12160
|
-
|
|
12104
|
+
w0 as SemanticHTML,
|
|
12105
|
+
bu as SettingsList,
|
|
12106
|
+
fg as ShieldCheckIcon,
|
|
12107
|
+
Wu as SmartContent,
|
|
12108
|
+
In as SmartLink,
|
|
12109
|
+
r0 as SmartWalletProviders,
|
|
12110
|
+
hg as SparklesIcon,
|
|
12111
|
+
rr as Spinner,
|
|
12112
|
+
ym as StandardPageLayout,
|
|
12113
|
+
yg as StarIcon,
|
|
12114
|
+
Ng as StarIconSolid,
|
|
12115
|
+
Vu as StatCard,
|
|
12116
|
+
hu as StatusBadge,
|
|
12117
|
+
$u as StatusIndicator,
|
|
12118
|
+
rm as StepList,
|
|
12119
|
+
Um as SubscriptionGatedComponents,
|
|
12120
|
+
_d as SumsubWebSDK,
|
|
12161
12121
|
Io as Switch,
|
|
12162
|
-
|
|
12163
|
-
|
|
12164
|
-
|
|
12122
|
+
Lu as SystemStatusIndicator,
|
|
12123
|
+
fu as TableOfContents,
|
|
12124
|
+
xu as Tabs,
|
|
12165
12125
|
_o as TabsContent,
|
|
12166
12126
|
jo as TabsList,
|
|
12167
12127
|
Fo as TabsTrigger,
|
|
12168
|
-
|
|
12169
|
-
|
|
12170
|
-
|
|
12171
|
-
|
|
12172
|
-
|
|
12173
|
-
|
|
12174
|
-
|
|
12175
|
-
|
|
12176
|
-
|
|
12177
|
-
|
|
12178
|
-
|
|
12128
|
+
Pu as TextAreaField,
|
|
12129
|
+
Au as TextField,
|
|
12130
|
+
Du as TextLink,
|
|
12131
|
+
Ju as TrackedButton,
|
|
12132
|
+
em as TrackedLink,
|
|
12133
|
+
bg as TrashIcon,
|
|
12134
|
+
vu as UseCaseGrid,
|
|
12135
|
+
xg as UserGroupIcon,
|
|
12136
|
+
dm as VirtualListItem,
|
|
12137
|
+
T0 as WEB3_CONCEPTS,
|
|
12138
|
+
P0 as WEB3_EMAIL_HEADINGS,
|
|
12179
12139
|
ie as WEB3_HEADING_PATTERNS,
|
|
12180
|
-
|
|
12140
|
+
qu as WalletIcon,
|
|
12181
12141
|
it as WalletPreloader,
|
|
12182
|
-
|
|
12183
|
-
|
|
12184
|
-
|
|
12185
|
-
|
|
12186
|
-
|
|
12187
|
-
|
|
12142
|
+
vg as XMarkIcon,
|
|
12143
|
+
Cd as addResourceHint,
|
|
12144
|
+
t0 as aiOptimizationPresets,
|
|
12145
|
+
Ed as appStorage,
|
|
12146
|
+
$d as autoConnectWalletBrowser,
|
|
12147
|
+
_c as batchDOMUpdates,
|
|
12188
12148
|
De as bundleAnalysis,
|
|
12189
12149
|
po as buttonVariants,
|
|
12190
|
-
|
|
12191
|
-
|
|
12192
|
-
|
|
12193
|
-
|
|
12194
|
-
|
|
12195
|
-
|
|
12150
|
+
Rm as cacheHeaders,
|
|
12151
|
+
Am as cacheUtils,
|
|
12152
|
+
Md as checkPerformanceBudget,
|
|
12153
|
+
Wm as clearComponentCache,
|
|
12154
|
+
Gm as clearConditionalCache,
|
|
12155
|
+
u0 as clearRenderCounts,
|
|
12196
12156
|
v as cn,
|
|
12197
12157
|
v as combineClassNames,
|
|
12198
|
-
|
|
12199
|
-
|
|
12200
|
-
|
|
12201
|
-
|
|
12202
|
-
|
|
12203
|
-
|
|
12204
|
-
|
|
12205
|
-
|
|
12206
|
-
|
|
12207
|
-
|
|
12208
|
-
|
|
12209
|
-
|
|
12210
|
-
|
|
12211
|
-
|
|
12212
|
-
|
|
12213
|
-
|
|
12214
|
-
|
|
12215
|
-
|
|
12216
|
-
|
|
12217
|
-
|
|
12218
|
-
|
|
12219
|
-
|
|
12220
|
-
|
|
12221
|
-
|
|
12222
|
-
|
|
12223
|
-
|
|
12224
|
-
|
|
12225
|
-
|
|
12226
|
-
|
|
12227
|
-
|
|
12228
|
-
|
|
12229
|
-
|
|
12230
|
-
|
|
12231
|
-
|
|
12232
|
-
|
|
12158
|
+
Lm as conditionalCSS,
|
|
12159
|
+
zd as convertFileSize,
|
|
12160
|
+
hc as createAIMetaTags,
|
|
12161
|
+
Nr as createAIOptimizedSchema,
|
|
12162
|
+
Dm as createAdvancedLazyComponent,
|
|
12163
|
+
fd as createBreadcrumb,
|
|
12164
|
+
zc as createCSSVariables,
|
|
12165
|
+
Jt as createComparisonData,
|
|
12166
|
+
ld as createConditionalImports,
|
|
12167
|
+
Hm as createConditionalLazyComponent,
|
|
12168
|
+
nu as createEmailComparisonData,
|
|
12169
|
+
C0 as createEnhancedFAQSchema,
|
|
12170
|
+
pc as createEnhancedOpenGraph,
|
|
12171
|
+
fc as createEnhancedTwitterCard,
|
|
12172
|
+
er as createFeature,
|
|
12173
|
+
oc as createLazyComponent,
|
|
12174
|
+
m0 as createLazyComponentFactory,
|
|
12175
|
+
wd as createLazyRoute,
|
|
12176
|
+
Mn as createLazyWalletProvider,
|
|
12177
|
+
_m as createLibraryImports,
|
|
12178
|
+
sm as createMemoComponent,
|
|
12179
|
+
Mc as createOptimizedStyles,
|
|
12180
|
+
xd as createProgressiveComponent,
|
|
12181
|
+
lu as createSecurityFeatures,
|
|
12182
|
+
cd as createSelectiveExports,
|
|
12183
|
+
lm as createSelectiveMemoComponent,
|
|
12184
|
+
E0 as createSemanticHeading,
|
|
12185
|
+
Td as createSimpleStorage,
|
|
12186
|
+
Sr as createTechnicalArticleSchema,
|
|
12187
|
+
dd as createTreeShakingConfig,
|
|
12188
|
+
Fm as createUIComponents,
|
|
12189
|
+
Cr as createWeb3ProductSchema,
|
|
12190
|
+
o0 as criticalPathOptimizer,
|
|
12191
|
+
Zl as cspDirectives,
|
|
12192
|
+
Fa as cssOptimization,
|
|
12233
12193
|
Oe as deadCodeElimination,
|
|
12234
|
-
|
|
12235
|
-
|
|
12236
|
-
|
|
12237
|
-
|
|
12238
|
-
|
|
12239
|
-
|
|
12240
|
-
|
|
12241
|
-
|
|
12242
|
-
|
|
12243
|
-
|
|
12244
|
-
|
|
12245
|
-
|
|
12246
|
-
|
|
12247
|
-
|
|
12248
|
-
|
|
12249
|
-
|
|
12250
|
-
|
|
12251
|
-
|
|
12252
|
-
|
|
12253
|
-
|
|
12254
|
-
|
|
12255
|
-
|
|
12256
|
-
|
|
12257
|
-
|
|
12258
|
-
|
|
12259
|
-
|
|
12260
|
-
|
|
12261
|
-
|
|
12262
|
-
|
|
12263
|
-
|
|
12264
|
-
|
|
12265
|
-
|
|
12266
|
-
|
|
12194
|
+
O0 as default,
|
|
12195
|
+
Ya as defaultPerformanceBudget,
|
|
12196
|
+
Rn as detectAvailableWallets,
|
|
12197
|
+
qa as detectWalletBrowser,
|
|
12198
|
+
Od as exportPerformanceData,
|
|
12199
|
+
Dd as formatFileSize,
|
|
12200
|
+
Xm as generateAIMetaTags,
|
|
12201
|
+
$0 as generateAIMetadata,
|
|
12202
|
+
Jm as generateAIStructuredData,
|
|
12203
|
+
S0 as generateAdvancedSEO,
|
|
12204
|
+
Jl as generateCSP,
|
|
12205
|
+
L0 as generateConceptGraph,
|
|
12206
|
+
Zm as generateContentRelationships,
|
|
12207
|
+
dc as generateEntityRecognition,
|
|
12208
|
+
Qc as generateImageSEO,
|
|
12209
|
+
e0 as generatePerformanceTrackingSchema,
|
|
12210
|
+
rd as generatePictureElement,
|
|
12211
|
+
id as generatePlaceholder,
|
|
12212
|
+
R0 as generateQAPairs,
|
|
12213
|
+
cc as generateSemanticMarkup,
|
|
12214
|
+
Zc as generateSizes,
|
|
12215
|
+
Jc as generateSocialImageMeta,
|
|
12216
|
+
Xc as generateSrcSet,
|
|
12217
|
+
uc as generateTopicClustering,
|
|
12218
|
+
I0 as generateTrainingExamples,
|
|
12219
|
+
pd as getActiveNavItem,
|
|
12220
|
+
Km as getConditionalStats,
|
|
12221
|
+
Ql as getEnvironmentType,
|
|
12222
|
+
Bm as getLazyLoadingStats,
|
|
12223
|
+
td as getOptimalImageFormat,
|
|
12224
|
+
Mt as getPerformanceMonitor,
|
|
12225
|
+
Qm as getPreloadingStats,
|
|
12226
|
+
d0 as getRenderCounts,
|
|
12267
12227
|
se as getUINavigationService,
|
|
12268
|
-
|
|
12269
|
-
|
|
12270
|
-
|
|
12271
|
-
|
|
12272
|
-
|
|
12273
|
-
|
|
12274
|
-
|
|
12275
|
-
|
|
12276
|
-
|
|
12277
|
-
|
|
12278
|
-
|
|
12279
|
-
|
|
12280
|
-
|
|
12281
|
-
|
|
12282
|
-
|
|
12283
|
-
|
|
12284
|
-
|
|
12228
|
+
h0 as getWebVitals,
|
|
12229
|
+
Ym as initializeAdvancedPreloading,
|
|
12230
|
+
Ld as initializePerformanceMonitoring,
|
|
12231
|
+
Vm as initializePreloading,
|
|
12232
|
+
Hc as inlineCriticalStyles,
|
|
12233
|
+
Kl as isLocalhost,
|
|
12234
|
+
Yl as isNetworkAccess,
|
|
12235
|
+
Gl as isWalletBrowser,
|
|
12236
|
+
Xl as isWebEnvironment,
|
|
12237
|
+
Sd as lazyLoadQueue,
|
|
12238
|
+
bd as lazyWithPreload,
|
|
12239
|
+
yd as lazyWithRetry,
|
|
12240
|
+
Tm as loadCSS,
|
|
12241
|
+
Oc as loadCriticalCSS,
|
|
12242
|
+
Dc as loadNonCriticalCSS,
|
|
12243
|
+
Rd as measureAsyncOperation,
|
|
12244
|
+
od as measureImagePerformance,
|
|
12285
12245
|
ke as navigationHelper,
|
|
12286
|
-
|
|
12287
|
-
|
|
12288
|
-
|
|
12289
|
-
|
|
12290
|
-
|
|
12291
|
-
|
|
12292
|
-
|
|
12293
|
-
|
|
12294
|
-
|
|
12246
|
+
hd as navigationUtils,
|
|
12247
|
+
Vc as optimizeClassNames,
|
|
12248
|
+
jc as optimizeContainment,
|
|
12249
|
+
Gc as optimizeFlex,
|
|
12250
|
+
qc as optimizeGrid,
|
|
12251
|
+
Fc as optimizeWillChange,
|
|
12252
|
+
Hl as optimizedFetch,
|
|
12253
|
+
N0 as pageSEOConfigs,
|
|
12254
|
+
Wd as parseFileSize,
|
|
12295
12255
|
me as performanceBudget,
|
|
12296
12256
|
wt as performanceUtils,
|
|
12297
|
-
|
|
12298
|
-
|
|
12299
|
-
|
|
12300
|
-
|
|
12301
|
-
|
|
12302
|
-
|
|
12303
|
-
|
|
12304
|
-
|
|
12305
|
-
|
|
12306
|
-
|
|
12307
|
-
|
|
12308
|
-
|
|
12309
|
-
|
|
12310
|
-
|
|
12311
|
-
|
|
12257
|
+
za as prefersReducedMotion,
|
|
12258
|
+
y0 as prefetchResource,
|
|
12259
|
+
jm as preloadComponent,
|
|
12260
|
+
nd as preloadImage,
|
|
12261
|
+
b0 as preloadResource,
|
|
12262
|
+
p0 as preloadRoute,
|
|
12263
|
+
sd as preserveAspectRatio,
|
|
12264
|
+
Nd as priorityLoader,
|
|
12265
|
+
f0 as reportWebVitals,
|
|
12266
|
+
ic as routeConfig,
|
|
12267
|
+
Im as securityHeaders,
|
|
12268
|
+
Mm as setupCSPReporting,
|
|
12269
|
+
ed as setupLazyLoading,
|
|
12270
|
+
ad as setupProgressiveLoading,
|
|
12271
|
+
Pm as shouldEnableWallet,
|
|
12312
12272
|
xt as smartLinkVariants,
|
|
12313
|
-
|
|
12314
|
-
|
|
12315
|
-
|
|
12316
|
-
|
|
12317
|
-
|
|
12318
|
-
|
|
12319
|
-
|
|
12320
|
-
|
|
12321
|
-
|
|
12322
|
-
|
|
12323
|
-
|
|
12324
|
-
|
|
12325
|
-
|
|
12326
|
-
|
|
12327
|
-
|
|
12328
|
-
|
|
12329
|
-
|
|
12330
|
-
|
|
12331
|
-
|
|
12332
|
-
|
|
12333
|
-
|
|
12334
|
-
|
|
12335
|
-
|
|
12336
|
-
|
|
12337
|
-
|
|
12338
|
-
|
|
12339
|
-
|
|
12340
|
-
|
|
12341
|
-
|
|
12342
|
-
|
|
12343
|
-
|
|
12344
|
-
|
|
12345
|
-
|
|
12273
|
+
Ba as supportsAVIF,
|
|
12274
|
+
$m as supportsCSSImports,
|
|
12275
|
+
Wa as supportsWebP,
|
|
12276
|
+
Ad as themeStorage,
|
|
12277
|
+
Qa as useClickOutside,
|
|
12278
|
+
Xa as useCodeLoader,
|
|
12279
|
+
Ka as useComponentPerformance,
|
|
12280
|
+
Bd as useCopyToClipboard,
|
|
12281
|
+
l0 as useDebugMemo,
|
|
12282
|
+
kd as useDynamicImport,
|
|
12283
|
+
g0 as useImageLazyLoading,
|
|
12284
|
+
Va as useLazyLoad,
|
|
12285
|
+
Uc as useLazyStyles,
|
|
12286
|
+
md as useLocation,
|
|
12287
|
+
Kc as useMediaQuery,
|
|
12288
|
+
x0 as useMemoryLeakDetection,
|
|
12289
|
+
jd as useMultipleCopyToClipboard,
|
|
12290
|
+
ud as useNavigation,
|
|
12291
|
+
Yc as useOptimizedTheme,
|
|
12292
|
+
n0 as useOptimizedWallets,
|
|
12293
|
+
i0 as usePerformanceMark,
|
|
12294
|
+
Bc as useReducedMotion,
|
|
12295
|
+
c0 as useRenderCount,
|
|
12296
|
+
Wc as useResponsiveStyles,
|
|
12297
|
+
gd as useSearchParams,
|
|
12298
|
+
zu as useSmartLinks,
|
|
12299
|
+
s0 as useStableCallback,
|
|
12300
|
+
ja as utils,
|
|
12301
|
+
A0 as validateHeadingStructure,
|
|
12302
|
+
Pd as walletStorage,
|
|
12303
|
+
Om as web3SecurityNotes,
|
|
12304
|
+
Id as withPerformanceTracking,
|
|
12305
|
+
Nm as withRetry
|
|
12346
12306
|
};
|