@sudobility/components 2.0.19 → 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 +977 -1018
- package/dist/index.umd.js +9 -9
- 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 Hr = {
|
|
|
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,12 +2079,12 @@ const io = {
|
|
|
2079
2079
|
] })
|
|
2080
2080
|
] });
|
|
2081
2081
|
}, co = {
|
|
2082
|
-
info:
|
|
2083
|
-
success:
|
|
2084
|
-
warning:
|
|
2085
|
-
attention:
|
|
2086
|
-
error:
|
|
2087
|
-
},
|
|
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 = ({
|
|
2088
2088
|
variant: e = "info",
|
|
2089
2089
|
title: t,
|
|
2090
2090
|
description: r,
|
|
@@ -2101,7 +2101,7 @@ const io = {
|
|
|
2101
2101
|
a
|
|
2102
2102
|
] })
|
|
2103
2103
|
] });
|
|
2104
|
-
},
|
|
2104
|
+
}, Zt = () => typeof document < "u" && typeof document.createElement == "function" && typeof document.getElementById == "function", uo = (e) => {
|
|
2105
2105
|
if (typeof document < "u" && document.getElementById)
|
|
2106
2106
|
try {
|
|
2107
2107
|
return document.getElementById(e);
|
|
@@ -2134,7 +2134,7 @@ const io = {
|
|
|
2134
2134
|
}) => {
|
|
2135
2135
|
const [l, c] = R(!1), [d, u] = R(!1), m = q(null);
|
|
2136
2136
|
V(() => {
|
|
2137
|
-
if (!
|
|
2137
|
+
if (!Zt() || typeof IntersectionObserver > "u") {
|
|
2138
2138
|
c(!0), n && u(!0);
|
|
2139
2139
|
return;
|
|
2140
2140
|
}
|
|
@@ -2165,7 +2165,7 @@ const io = {
|
|
|
2165
2165
|
return b[e] || b["fade-in-up"];
|
|
2166
2166
|
};
|
|
2167
2167
|
return V(() => {
|
|
2168
|
-
if (
|
|
2168
|
+
if (Zt() && (e === "float" || e === "bounce-slow")) {
|
|
2169
2169
|
const g = "animated-section-keyframes";
|
|
2170
2170
|
if (!uo(g)) {
|
|
2171
2171
|
const f = mo("style");
|
|
@@ -2188,7 +2188,7 @@ const io = {
|
|
|
2188
2188
|
}
|
|
2189
2189
|
}
|
|
2190
2190
|
}, [e]), /* @__PURE__ */ i("div", { ref: m, className: `${p()} ${o}`, children: a });
|
|
2191
|
-
},
|
|
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(
|
|
2192
2192
|
Ee,
|
|
2193
2193
|
{
|
|
2194
2194
|
animation: "fade-in-scale",
|
|
@@ -2196,7 +2196,7 @@ const io = {
|
|
|
2196
2196
|
className: r,
|
|
2197
2197
|
children: e
|
|
2198
2198
|
}
|
|
2199
|
-
),
|
|
2199
|
+
), Qd = ({ children: e, className: t = "" }) => /* @__PURE__ */ i(Ee, { animation: "float", className: t, children: e }), po = _("min-h-[44px] touch-manipulation", {
|
|
2200
2200
|
variants: {
|
|
2201
2201
|
variant: {
|
|
2202
2202
|
// Clean variant definitions - let the variant system handle the classes
|
|
@@ -2246,7 +2246,7 @@ const io = {
|
|
|
2246
2246
|
}
|
|
2247
2247
|
}), be = x.forwardRef(
|
|
2248
2248
|
({ className: e, variant: t, size: r, animation: n, asChild: a = !1, ...o }, s) => {
|
|
2249
|
-
const l = a ?
|
|
2249
|
+
const l = a ? pa : "button", c = t || "default", d = r && r !== "default" && r !== "icon" ? r : void 0, u = (g) => g ? {
|
|
2250
2250
|
sm: "small",
|
|
2251
2251
|
lg: "large",
|
|
2252
2252
|
default: "default"
|
|
@@ -2286,7 +2286,7 @@ const fo = "bg-gradient-to-r from-blue-50 to-indigo-50 dark:from-blue-900/20 dar
|
|
|
2286
2286
|
sm: "p-3",
|
|
2287
2287
|
md: "p-6",
|
|
2288
2288
|
lg: "p-8"
|
|
2289
|
-
},
|
|
2289
|
+
}, _r = ({
|
|
2290
2290
|
variant: e = "elevated",
|
|
2291
2291
|
padding: t = "md",
|
|
2292
2292
|
icon: r,
|
|
@@ -2342,7 +2342,7 @@ const fo = "bg-gradient-to-r from-blue-50 to-indigo-50 dark:from-blue-900/20 dar
|
|
|
2342
2342
|
] }) : o
|
|
2343
2343
|
}
|
|
2344
2344
|
);
|
|
2345
|
-
},
|
|
2345
|
+
}, Xd = ({
|
|
2346
2346
|
title: e,
|
|
2347
2347
|
description: t,
|
|
2348
2348
|
className: r,
|
|
@@ -2352,22 +2352,22 @@ const fo = "bg-gradient-to-r from-blue-50 to-indigo-50 dark:from-blue-900/20 dar
|
|
|
2352
2352
|
e && /* @__PURE__ */ i("h3", { className: I.heading.h4(), children: e }),
|
|
2353
2353
|
t && /* @__PURE__ */ i("p", { className: I.body.sm(), children: t }),
|
|
2354
2354
|
n
|
|
2355
|
-
] }),
|
|
2355
|
+
] }), Zd = ({
|
|
2356
2356
|
className: e,
|
|
2357
2357
|
children: t,
|
|
2358
2358
|
...r
|
|
2359
|
-
}) => /* @__PURE__ */ i("div", { className: v("", e), ...r, children: t }),
|
|
2359
|
+
}) => /* @__PURE__ */ i("div", { className: v("", e), ...r, children: t }), Jd = ({
|
|
2360
2360
|
className: e,
|
|
2361
2361
|
children: t,
|
|
2362
2362
|
...r
|
|
2363
|
-
}) => /* @__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 = ({
|
|
2364
2364
|
title: e,
|
|
2365
2365
|
children: t,
|
|
2366
2366
|
variant: r = "info",
|
|
2367
2367
|
size: n = "default",
|
|
2368
2368
|
className: a
|
|
2369
2369
|
}) => /* @__PURE__ */ h(
|
|
2370
|
-
|
|
2370
|
+
_r,
|
|
2371
2371
|
{
|
|
2372
2372
|
variant: r === "neutral" ? "bordered" : r,
|
|
2373
2373
|
padding: { sm: "sm", default: "md", lg: "lg" }[n],
|
|
@@ -2386,7 +2386,7 @@ const fo = "bg-gradient-to-r from-blue-50 to-indigo-50 dark:from-blue-900/20 dar
|
|
|
2386
2386
|
t
|
|
2387
2387
|
]
|
|
2388
2388
|
}
|
|
2389
|
-
),
|
|
2389
|
+
), tu = ({
|
|
2390
2390
|
title: e,
|
|
2391
2391
|
icon: t,
|
|
2392
2392
|
children: r,
|
|
@@ -2395,7 +2395,7 @@ const fo = "bg-gradient-to-r from-blue-50 to-indigo-50 dark:from-blue-900/20 dar
|
|
|
2395
2395
|
centered: o = !1,
|
|
2396
2396
|
className: s
|
|
2397
2397
|
}) => /* @__PURE__ */ i(
|
|
2398
|
-
|
|
2398
|
+
_r,
|
|
2399
2399
|
{
|
|
2400
2400
|
variant: n === "gradient" || n === "neutral" ? "callout" : n,
|
|
2401
2401
|
padding: { sm: "sm", default: "md", lg: "lg" }[a],
|
|
@@ -2491,7 +2491,7 @@ const fo = "bg-gradient-to-r from-blue-50 to-indigo-50 dark:from-blue-900/20 dar
|
|
|
2491
2491
|
green: "bg-green-100 text-green-800 dark:bg-green-900/30 dark:text-green-300",
|
|
2492
2492
|
blue: "bg-blue-100 text-blue-800 dark:bg-blue-900/30 dark:text-blue-300",
|
|
2493
2493
|
gray: "bg-gray-100 text-gray-800 dark:bg-gray-800 dark:text-gray-300"
|
|
2494
|
-
},
|
|
2494
|
+
}, ru = ({
|
|
2495
2495
|
className: e,
|
|
2496
2496
|
layout: t = "grid",
|
|
2497
2497
|
spacing: r = "md",
|
|
@@ -2577,12 +2577,12 @@ const fo = "bg-gradient-to-r from-blue-50 to-indigo-50 dark:from-blue-900/20 dar
|
|
|
2577
2577
|
] })
|
|
2578
2578
|
] });
|
|
2579
2579
|
return c ? /* @__PURE__ */ i(Ee, { animation: "fade-in-up", delay: d, children: g }) : g;
|
|
2580
|
-
},
|
|
2580
|
+
}, Jt = (e, t, r, n) => ({
|
|
2581
2581
|
title: e,
|
|
2582
2582
|
variant: r,
|
|
2583
2583
|
items: t.map((a) => typeof a == "string" ? { text: a } : a),
|
|
2584
2584
|
...n
|
|
2585
|
-
}),
|
|
2585
|
+
}), nu = (e) => {
|
|
2586
2586
|
const t = [
|
|
2587
2587
|
{ text: "Create account with email/password", icon: "🔑" },
|
|
2588
2588
|
{ text: "Remember multiple passwords", icon: "🧠" },
|
|
@@ -2599,13 +2599,13 @@ const fo = "bg-gradient-to-r from-blue-50 to-indigo-50 dark:from-blue-900/20 dar
|
|
|
2599
2599
|
{ text: "Censorship resistant", icon: "🛡️" }
|
|
2600
2600
|
];
|
|
2601
2601
|
return {
|
|
2602
|
-
traditional:
|
|
2602
|
+
traditional: Jt(
|
|
2603
2603
|
e?.traditionalTitle || "Traditional Email",
|
|
2604
2604
|
e?.traditionalItems || t,
|
|
2605
2605
|
"traditional",
|
|
2606
2606
|
{ badge: { text: e?.traditionalBadge || "Old Way", color: "red" } }
|
|
2607
2607
|
),
|
|
2608
|
-
web3:
|
|
2608
|
+
web3: Jt(
|
|
2609
2609
|
e?.web3Title || "Web3 Email",
|
|
2610
2610
|
e?.web3Items || r,
|
|
2611
2611
|
"web3",
|
|
@@ -2650,7 +2650,7 @@ const fo = "bg-gradient-to-r from-blue-50 to-indigo-50 dark:from-blue-900/20 dar
|
|
|
2650
2650
|
spacing: "md",
|
|
2651
2651
|
align: "left"
|
|
2652
2652
|
}
|
|
2653
|
-
}),
|
|
2653
|
+
}), au = ({
|
|
2654
2654
|
children: e,
|
|
2655
2655
|
size: t = "xl",
|
|
2656
2656
|
spacing: r = "md",
|
|
@@ -2666,7 +2666,7 @@ const fo = "bg-gradient-to-r from-blue-50 to-indigo-50 dark:from-blue-900/20 dar
|
|
|
2666
2666
|
)
|
|
2667
2667
|
},
|
|
2668
2668
|
e
|
|
2669
|
-
),
|
|
2669
|
+
), ou = ({
|
|
2670
2670
|
trigger: e,
|
|
2671
2671
|
items: t,
|
|
2672
2672
|
align: r = "right",
|
|
@@ -2674,7 +2674,7 @@ const fo = "bg-gradient-to-r from-blue-50 to-indigo-50 dark:from-blue-900/20 dar
|
|
|
2674
2674
|
variant: a = "default"
|
|
2675
2675
|
}) => {
|
|
2676
2676
|
const [o, s] = R(!1), l = P.useRef(null);
|
|
2677
|
-
|
|
2677
|
+
Qa(l, () => s(!1));
|
|
2678
2678
|
const c = (m) => {
|
|
2679
2679
|
m.disabled || (m.onClick(), s(!1));
|
|
2680
2680
|
}, d = r === "left" ? T.overlays.dropdown.menuRight() : T.overlays.dropdown.menuLeft(), u = a === "bordered" ? T.overlays.dropdown.triggerBordered() : T.overlays.dropdown.trigger();
|
|
@@ -2721,7 +2721,7 @@ const fo = "bg-gradient-to-r from-blue-50 to-indigo-50 dark:from-blue-900/20 dar
|
|
|
2721
2721
|
]
|
|
2722
2722
|
}
|
|
2723
2723
|
);
|
|
2724
|
-
},
|
|
2724
|
+
}, iu = ({
|
|
2725
2725
|
icon: e,
|
|
2726
2726
|
title: t,
|
|
2727
2727
|
description: r,
|
|
@@ -2921,7 +2921,7 @@ const fo = "bg-gradient-to-r from-blue-50 to-indigo-50 dark:from-blue-900/20 dar
|
|
|
2921
2921
|
info: "bg-blue-100 text-blue-800 dark:bg-blue-900/30 dark:text-blue-300",
|
|
2922
2922
|
warning: "bg-amber-100 text-amber-800 dark:bg-amber-900/30 dark:text-amber-300",
|
|
2923
2923
|
default: "bg-gray-100 text-gray-800 dark:bg-gray-800 dark:text-gray-300"
|
|
2924
|
-
},
|
|
2924
|
+
}, su = ({
|
|
2925
2925
|
className: e,
|
|
2926
2926
|
features: t,
|
|
2927
2927
|
columns: r = 3,
|
|
@@ -3069,13 +3069,13 @@ const fo = "bg-gradient-to-r from-blue-50 to-indigo-50 dark:from-blue-900/20 dar
|
|
|
3069
3069
|
) : /* @__PURE__ */ i("div", { children: E }, C.id || S);
|
|
3070
3070
|
};
|
|
3071
3071
|
return /* @__PURE__ */ i("div", { className: v(Co({ columns: r, spacing: n }), e), children: t.map(k) });
|
|
3072
|
-
},
|
|
3072
|
+
}, er = (e, t, r, n) => ({
|
|
3073
3073
|
icon: e,
|
|
3074
3074
|
title: t,
|
|
3075
3075
|
description: r,
|
|
3076
3076
|
...n
|
|
3077
|
-
}),
|
|
3078
|
-
|
|
3077
|
+
}), lu = (e) => [
|
|
3078
|
+
er(
|
|
3079
3079
|
/* @__PURE__ */ i(
|
|
3080
3080
|
"svg",
|
|
3081
3081
|
{
|
|
@@ -3097,7 +3097,7 @@ const fo = "bg-gradient-to-r from-blue-50 to-indigo-50 dark:from-blue-900/20 dar
|
|
|
3097
3097
|
e?.passwordlessTitle || "Passwordless Security",
|
|
3098
3098
|
e?.passwordlessDescription || "Authenticate using your Web3 wallet - no passwords to remember or lose."
|
|
3099
3099
|
),
|
|
3100
|
-
|
|
3100
|
+
er(
|
|
3101
3101
|
/* @__PURE__ */ i(
|
|
3102
3102
|
"svg",
|
|
3103
3103
|
{
|
|
@@ -3119,7 +3119,7 @@ const fo = "bg-gradient-to-r from-blue-50 to-indigo-50 dark:from-blue-900/20 dar
|
|
|
3119
3119
|
e?.encryptionTitle || "End-to-End Encryption",
|
|
3120
3120
|
e?.encryptionDescription || "Your emails are encrypted and only you can read them."
|
|
3121
3121
|
)
|
|
3122
|
-
],
|
|
3122
|
+
], cu = ({
|
|
3123
3123
|
badgeIcon: e,
|
|
3124
3124
|
badgeText: t,
|
|
3125
3125
|
badgeColor: r = "blue",
|
|
@@ -3195,9 +3195,9 @@ const fo = "bg-gradient-to-r from-blue-50 to-indigo-50 dark:from-blue-900/20 dar
|
|
|
3195
3195
|
Ao.displayName = "Input";
|
|
3196
3196
|
const Po = _(
|
|
3197
3197
|
`${I.label.default()} peer-disabled:cursor-not-allowed peer-disabled:opacity-70`
|
|
3198
|
-
),
|
|
3199
|
-
|
|
3200
|
-
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 = ({
|
|
3201
3201
|
title: e,
|
|
3202
3202
|
description: t,
|
|
3203
3203
|
metrics: r,
|
|
@@ -3253,7 +3253,7 @@ const uu = ({
|
|
|
3253
3253
|
);
|
|
3254
3254
|
}) })
|
|
3255
3255
|
] }) });
|
|
3256
|
-
},
|
|
3256
|
+
}, uu = ({
|
|
3257
3257
|
title: e,
|
|
3258
3258
|
description: t,
|
|
3259
3259
|
steps: r,
|
|
@@ -3364,7 +3364,7 @@ const uu = ({
|
|
|
3364
3364
|
}
|
|
3365
3365
|
)
|
|
3366
3366
|
] }) });
|
|
3367
|
-
},
|
|
3367
|
+
}, mu = ({
|
|
3368
3368
|
children: e,
|
|
3369
3369
|
onRefresh: t,
|
|
3370
3370
|
disabled: r = !1,
|
|
@@ -3446,7 +3446,7 @@ const uu = ({
|
|
|
3446
3446
|
},
|
|
3447
3447
|
children: /* @__PURE__ */ h("div", { className: "flex flex-col items-center justify-center gap-2", children: [
|
|
3448
3448
|
/* @__PURE__ */ i(
|
|
3449
|
-
|
|
3449
|
+
Jn,
|
|
3450
3450
|
{
|
|
3451
3451
|
className: `w-6 h-6 text-blue-600 dark:text-blue-400 transition-transform duration-200 ${m ? "animate-spin" : ""}`,
|
|
3452
3452
|
style: {
|
|
@@ -3471,7 +3471,7 @@ const uu = ({
|
|
|
3471
3471
|
]
|
|
3472
3472
|
}
|
|
3473
3473
|
);
|
|
3474
|
-
},
|
|
3474
|
+
}, tr = F.Root, gu = F.Group, To = F.Value, kt = x.forwardRef(({ className: e, children: t, ...r }, n) => /* @__PURE__ */ h(
|
|
3475
3475
|
F.Trigger,
|
|
3476
3476
|
{
|
|
3477
3477
|
ref: n,
|
|
@@ -3482,12 +3482,12 @@ const uu = ({
|
|
|
3482
3482
|
...r,
|
|
3483
3483
|
children: [
|
|
3484
3484
|
t,
|
|
3485
|
-
/* @__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" }) })
|
|
3486
3486
|
]
|
|
3487
3487
|
}
|
|
3488
3488
|
));
|
|
3489
3489
|
kt.displayName = F.Trigger.displayName;
|
|
3490
|
-
const
|
|
3490
|
+
const Hr = x.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ i(
|
|
3491
3491
|
F.ScrollUpButton,
|
|
3492
3492
|
{
|
|
3493
3493
|
ref: r,
|
|
@@ -3496,11 +3496,11 @@ const Gr = x.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ i(
|
|
|
3496
3496
|
e
|
|
3497
3497
|
),
|
|
3498
3498
|
...t,
|
|
3499
|
-
children: /* @__PURE__ */ i(
|
|
3499
|
+
children: /* @__PURE__ */ i(ya, { className: "h-4 w-4" })
|
|
3500
3500
|
}
|
|
3501
3501
|
));
|
|
3502
|
-
|
|
3503
|
-
const
|
|
3502
|
+
Hr.displayName = F.ScrollUpButton.displayName;
|
|
3503
|
+
const Ur = x.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ i(
|
|
3504
3504
|
F.ScrollDownButton,
|
|
3505
3505
|
{
|
|
3506
3506
|
ref: r,
|
|
@@ -3509,10 +3509,10 @@ const Kr = x.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ i(
|
|
|
3509
3509
|
e
|
|
3510
3510
|
),
|
|
3511
3511
|
...t,
|
|
3512
|
-
children: /* @__PURE__ */ i(
|
|
3512
|
+
children: /* @__PURE__ */ i(Mr, { className: "h-4 w-4" })
|
|
3513
3513
|
}
|
|
3514
3514
|
));
|
|
3515
|
-
|
|
3515
|
+
Ur.displayName = F.ScrollDownButton.displayName;
|
|
3516
3516
|
const Ct = x.forwardRef(({ className: e, children: t, position: r = "popper", ...n }, a) => /* @__PURE__ */ i(F.Portal, { children: /* @__PURE__ */ h(
|
|
3517
3517
|
F.Content,
|
|
3518
3518
|
{
|
|
@@ -3526,7 +3526,7 @@ const Ct = x.forwardRef(({ className: e, children: t, position: r = "popper", ..
|
|
|
3526
3526
|
position: r,
|
|
3527
3527
|
...n,
|
|
3528
3528
|
children: [
|
|
3529
|
-
/* @__PURE__ */ i(
|
|
3529
|
+
/* @__PURE__ */ i(Hr, {}),
|
|
3530
3530
|
/* @__PURE__ */ i(
|
|
3531
3531
|
F.Viewport,
|
|
3532
3532
|
{
|
|
@@ -3537,7 +3537,7 @@ const Ct = x.forwardRef(({ className: e, children: t, position: r = "popper", ..
|
|
|
3537
3537
|
children: t
|
|
3538
3538
|
}
|
|
3539
3539
|
),
|
|
3540
|
-
/* @__PURE__ */ i(
|
|
3540
|
+
/* @__PURE__ */ i(Ur, {})
|
|
3541
3541
|
]
|
|
3542
3542
|
}
|
|
3543
3543
|
) }));
|
|
@@ -3563,7 +3563,7 @@ const St = x.forwardRef(({ className: e, children: t, ...r }, n) => /* @__PURE__
|
|
|
3563
3563
|
...r,
|
|
3564
3564
|
children: [
|
|
3565
3565
|
/* @__PURE__ */ i(F.ItemText, { children: t }),
|
|
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(
|
|
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" }) }) })
|
|
3567
3567
|
]
|
|
3568
3568
|
}
|
|
3569
3569
|
));
|
|
@@ -3577,7 +3577,7 @@ const Lo = x.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ i(
|
|
|
3577
3577
|
}
|
|
3578
3578
|
));
|
|
3579
3579
|
Lo.displayName = F.Separator.displayName;
|
|
3580
|
-
const
|
|
3580
|
+
const rr = ({
|
|
3581
3581
|
size: e = "default",
|
|
3582
3582
|
variant: t = "default",
|
|
3583
3583
|
className: r,
|
|
@@ -3606,7 +3606,7 @@ const ar = ({
|
|
|
3606
3606
|
children: /* @__PURE__ */ i("span", { className: "sr-only", children: a })
|
|
3607
3607
|
}
|
|
3608
3608
|
), Io = x.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ i(
|
|
3609
|
-
|
|
3609
|
+
Or,
|
|
3610
3610
|
{
|
|
3611
3611
|
className: v(
|
|
3612
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",
|
|
@@ -3615,7 +3615,7 @@ const ar = ({
|
|
|
3615
3615
|
...t,
|
|
3616
3616
|
ref: r,
|
|
3617
3617
|
children: /* @__PURE__ */ i(
|
|
3618
|
-
|
|
3618
|
+
xa,
|
|
3619
3619
|
{
|
|
3620
3620
|
className: v(
|
|
3621
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"
|
|
@@ -3624,8 +3624,8 @@ const ar = ({
|
|
|
3624
3624
|
)
|
|
3625
3625
|
}
|
|
3626
3626
|
));
|
|
3627
|
-
Io.displayName =
|
|
3628
|
-
const
|
|
3627
|
+
Io.displayName = Or.displayName;
|
|
3628
|
+
const pu = ({
|
|
3629
3629
|
title: e,
|
|
3630
3630
|
onAdd: t,
|
|
3631
3631
|
addButtonTooltip: r,
|
|
@@ -3698,7 +3698,7 @@ const fu = ({
|
|
|
3698
3698
|
)) })
|
|
3699
3699
|
}
|
|
3700
3700
|
);
|
|
3701
|
-
},
|
|
3701
|
+
}, fu = ({
|
|
3702
3702
|
sections: e,
|
|
3703
3703
|
selectedSection: t,
|
|
3704
3704
|
selectedSubsection: r,
|
|
@@ -3723,7 +3723,7 @@ const fu = ({
|
|
|
3723
3723
|
onClick: () => s(c.id),
|
|
3724
3724
|
className: "p-1 rounded-md hover:bg-gray-100 dark:hover:bg-gray-800 hover:scale-110 transition-all duration-200",
|
|
3725
3725
|
children: /* @__PURE__ */ i(
|
|
3726
|
-
|
|
3726
|
+
It,
|
|
3727
3727
|
{
|
|
3728
3728
|
className: `h-4 w-4 text-gray-500 transition-transform duration-300 ease-in-out ${n.includes(c.id) ? "rotate-90" : "rotate-0"}`
|
|
3729
3729
|
}
|
|
@@ -3766,7 +3766,7 @@ const fu = ({
|
|
|
3766
3766
|
default:
|
|
3767
3767
|
return "w-2 h-2";
|
|
3768
3768
|
}
|
|
3769
|
-
},
|
|
3769
|
+
}, hu = ({
|
|
3770
3770
|
status: e,
|
|
3771
3771
|
label: t,
|
|
3772
3772
|
showDot: r = !0,
|
|
@@ -3811,7 +3811,7 @@ const fu = ({
|
|
|
3811
3811
|
const s = e === "solana" ? "solana" : "ethereum";
|
|
3812
3812
|
return a === "default" ? T.badge[s]() : T.badge[a](s);
|
|
3813
3813
|
})(), children: r });
|
|
3814
|
-
}, 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 }) => {
|
|
3815
3815
|
if (e === "primary")
|
|
3816
3816
|
return /* @__PURE__ */ i(
|
|
3817
3817
|
Do,
|
|
@@ -3869,14 +3869,14 @@ const fu = ({
|
|
|
3869
3869
|
),
|
|
3870
3870
|
children: [
|
|
3871
3871
|
/* @__PURE__ */ i("span", { className: "truncate flex-1", children: c.name }),
|
|
3872
|
-
/* @__PURE__ */ i(
|
|
3872
|
+
/* @__PURE__ */ i(qr, { type: c.type, addressType: c.addressType })
|
|
3873
3873
|
]
|
|
3874
3874
|
},
|
|
3875
3875
|
c.address
|
|
3876
3876
|
)) })
|
|
3877
3877
|
}
|
|
3878
3878
|
);
|
|
3879
|
-
},
|
|
3879
|
+
}, yu = ({
|
|
3880
3880
|
walletGroups: e,
|
|
3881
3881
|
selectedAccount: t,
|
|
3882
3882
|
expandedWallets: r,
|
|
@@ -3899,7 +3899,7 @@ const fu = ({
|
|
|
3899
3899
|
/* @__PURE__ */ h("div", { className: "flex items-center flex-1 min-w-0", children: [
|
|
3900
3900
|
/* @__PURE__ */ i("span", { className: "truncate flex-1", children: zo(l.walletAddress) }),
|
|
3901
3901
|
/* @__PURE__ */ i(
|
|
3902
|
-
|
|
3902
|
+
qr,
|
|
3903
3903
|
{
|
|
3904
3904
|
type: l.primaryEmail.type,
|
|
3905
3905
|
addressType: l.addressType
|
|
@@ -3919,7 +3919,7 @@ const fu = ({
|
|
|
3919
3919
|
(c.key === "Enter" || c.key === " ") && (c.preventDefault(), c.stopPropagation(), a(l.walletAddress));
|
|
3920
3920
|
},
|
|
3921
3921
|
children: /* @__PURE__ */ i(
|
|
3922
|
-
|
|
3922
|
+
It,
|
|
3923
3923
|
{
|
|
3924
3924
|
className: v(
|
|
3925
3925
|
"h-4 w-4 text-gray-500 transition-transform duration-300 ease-in-out",
|
|
@@ -3945,26 +3945,26 @@ const fu = ({
|
|
|
3945
3945
|
] }, l.walletAddress)) }), Bo = (e) => {
|
|
3946
3946
|
switch (e) {
|
|
3947
3947
|
case "cog":
|
|
3948
|
-
return
|
|
3948
|
+
return Xt;
|
|
3949
3949
|
case "arrow-right":
|
|
3950
|
-
return
|
|
3950
|
+
return Lr;
|
|
3951
3951
|
case "shield":
|
|
3952
|
-
return
|
|
3952
|
+
return oa;
|
|
3953
3953
|
case "reply":
|
|
3954
3954
|
case "chat":
|
|
3955
|
-
return
|
|
3955
|
+
return aa;
|
|
3956
3956
|
case "filter":
|
|
3957
|
-
return
|
|
3957
|
+
return na;
|
|
3958
3958
|
case "plug":
|
|
3959
|
-
return
|
|
3959
|
+
return ra;
|
|
3960
3960
|
case "adjustments":
|
|
3961
|
-
return
|
|
3961
|
+
return ta;
|
|
3962
3962
|
case "currency-dollar":
|
|
3963
|
-
return
|
|
3963
|
+
return ea;
|
|
3964
3964
|
default:
|
|
3965
|
-
return
|
|
3965
|
+
return Xt;
|
|
3966
3966
|
}
|
|
3967
|
-
},
|
|
3967
|
+
}, bu = ({
|
|
3968
3968
|
settings: e,
|
|
3969
3969
|
selectedSetting: t,
|
|
3970
3970
|
onSettingSelect: r,
|
|
@@ -4001,34 +4001,34 @@ const fu = ({
|
|
|
4001
4001
|
) }, a.id);
|
|
4002
4002
|
}) })
|
|
4003
4003
|
}
|
|
4004
|
-
),
|
|
4005
|
-
|
|
4004
|
+
), xu = va, jo = x.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ i(
|
|
4005
|
+
Dr,
|
|
4006
4006
|
{
|
|
4007
4007
|
ref: r,
|
|
4008
4008
|
className: v(T.navigation.tabs.list(), e),
|
|
4009
4009
|
...t
|
|
4010
4010
|
}
|
|
4011
4011
|
));
|
|
4012
|
-
jo.displayName =
|
|
4012
|
+
jo.displayName = Dr.displayName;
|
|
4013
4013
|
const Fo = x.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ i(
|
|
4014
|
-
|
|
4014
|
+
zr,
|
|
4015
4015
|
{
|
|
4016
4016
|
ref: r,
|
|
4017
4017
|
className: v(T.navigation.tabs.trigger(), e),
|
|
4018
4018
|
...t
|
|
4019
4019
|
}
|
|
4020
4020
|
));
|
|
4021
|
-
Fo.displayName =
|
|
4021
|
+
Fo.displayName = zr.displayName;
|
|
4022
4022
|
const _o = x.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ i(
|
|
4023
|
-
|
|
4023
|
+
Wr,
|
|
4024
4024
|
{
|
|
4025
4025
|
ref: r,
|
|
4026
4026
|
className: v(T.navigation.tabs.content(), e),
|
|
4027
4027
|
...t
|
|
4028
4028
|
}
|
|
4029
4029
|
));
|
|
4030
|
-
_o.displayName =
|
|
4031
|
-
const
|
|
4030
|
+
_o.displayName = Wr.displayName;
|
|
4031
|
+
const vu = ({
|
|
4032
4032
|
title: e,
|
|
4033
4033
|
description: t,
|
|
4034
4034
|
useCases: r,
|
|
@@ -4116,7 +4116,7 @@ const wu = ({
|
|
|
4116
4116
|
8: "gap-8",
|
|
4117
4117
|
10: "gap-10",
|
|
4118
4118
|
12: "gap-12"
|
|
4119
|
-
},
|
|
4119
|
+
}, wu = ({
|
|
4120
4120
|
children: e,
|
|
4121
4121
|
direction: t = "row",
|
|
4122
4122
|
align: r = "start",
|
|
@@ -4156,7 +4156,7 @@ const wu = ({
|
|
|
4156
4156
|
background: "default",
|
|
4157
4157
|
overflow: "visible"
|
|
4158
4158
|
}
|
|
4159
|
-
}),
|
|
4159
|
+
}), ku = ({
|
|
4160
4160
|
children: e,
|
|
4161
4161
|
background: t = "default",
|
|
4162
4162
|
overflow: r = "visible",
|
|
@@ -4214,7 +4214,7 @@ const wu = ({
|
|
|
4214
4214
|
spacing: "3xl",
|
|
4215
4215
|
background: "none"
|
|
4216
4216
|
}
|
|
4217
|
-
}),
|
|
4217
|
+
}), Cu = ({
|
|
4218
4218
|
children: e,
|
|
4219
4219
|
variant: t = "default",
|
|
4220
4220
|
spacing: r = "3xl",
|
|
@@ -4261,7 +4261,7 @@ const wu = ({
|
|
|
4261
4261
|
n && /* @__PURE__ */ i("div", { className: "mt-4", children: n })
|
|
4262
4262
|
]
|
|
4263
4263
|
}
|
|
4264
|
-
),
|
|
4264
|
+
), Su = ({
|
|
4265
4265
|
message: e = "Loading...",
|
|
4266
4266
|
size: t = "default",
|
|
4267
4267
|
fullScreen: r = !1,
|
|
@@ -4273,7 +4273,7 @@ const wu = ({
|
|
|
4273
4273
|
default: { spinner: "default", text: "text-base" },
|
|
4274
4274
|
large: { spinner: "large", text: "text-lg" }
|
|
4275
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: [
|
|
4276
|
-
/* @__PURE__ */ i(
|
|
4276
|
+
/* @__PURE__ */ i(rr, { size: s.spinner, variant: n, className: "mb-4" }),
|
|
4277
4277
|
e && /* @__PURE__ */ i(
|
|
4278
4278
|
"p",
|
|
4279
4279
|
{
|
|
@@ -4286,14 +4286,14 @@ const wu = ({
|
|
|
4286
4286
|
)
|
|
4287
4287
|
] });
|
|
4288
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: [
|
|
4289
|
-
/* @__PURE__ */ i(
|
|
4289
|
+
/* @__PURE__ */ i(rr, { size: s.spinner, variant: n, className: "mb-4" }),
|
|
4290
4290
|
e && /* @__PURE__ */ i("p", { className: "text-center text-gray-600 dark:text-gray-400 max-w-sm", children: e })
|
|
4291
4291
|
] }) }) : c;
|
|
4292
|
-
},
|
|
4292
|
+
}, Nu = ({
|
|
4293
4293
|
title: e,
|
|
4294
4294
|
subtext: t,
|
|
4295
4295
|
className: r
|
|
4296
|
-
}) => /* @__PURE__ */ i(Qo, { title: e, description: t, className: r }),
|
|
4296
|
+
}) => /* @__PURE__ */ i(Qo, { title: e, description: t, className: r }), Gr = ({
|
|
4297
4297
|
label: e,
|
|
4298
4298
|
value: t,
|
|
4299
4299
|
onChange: r,
|
|
@@ -4303,7 +4303,7 @@ const wu = ({
|
|
|
4303
4303
|
className: s = ""
|
|
4304
4304
|
}) => /* @__PURE__ */ h("div", { className: s, children: [
|
|
4305
4305
|
/* @__PURE__ */ h(
|
|
4306
|
-
|
|
4306
|
+
Vr,
|
|
4307
4307
|
{
|
|
4308
4308
|
htmlFor: e.toLowerCase(),
|
|
4309
4309
|
className: "text-sm font-medium text-gray-700 dark:text-gray-300",
|
|
@@ -4331,7 +4331,7 @@ const wu = ({
|
|
|
4331
4331
|
}
|
|
4332
4332
|
),
|
|
4333
4333
|
o && /* @__PURE__ */ i("p", { className: "mt-1 text-sm text-red-600 dark:text-red-400", children: o })
|
|
4334
|
-
] }),
|
|
4334
|
+
] }), nr = ({
|
|
4335
4335
|
isVisible: e,
|
|
4336
4336
|
onToggle: t,
|
|
4337
4337
|
showLabel: r,
|
|
@@ -4345,13 +4345,13 @@ const wu = ({
|
|
|
4345
4345
|
onClick: t,
|
|
4346
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",
|
|
4347
4347
|
children: [
|
|
4348
|
-
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" }),
|
|
4349
4349
|
e ? n : r
|
|
4350
4350
|
]
|
|
4351
4351
|
}
|
|
4352
4352
|
),
|
|
4353
|
-
e && /* @__PURE__ */ i(
|
|
4354
|
-
] }),
|
|
4353
|
+
e && /* @__PURE__ */ i(Gr, { ...a })
|
|
4354
|
+
] }), Eu = ({
|
|
4355
4355
|
to: e,
|
|
4356
4356
|
onToChange: t,
|
|
4357
4357
|
cc: r = "",
|
|
@@ -4382,7 +4382,7 @@ const wu = ({
|
|
|
4382
4382
|
}, w = { ...f, ...p }, k = { ...b, ...g };
|
|
4383
4383
|
return /* @__PURE__ */ h("div", { className: `space-y-4 ${m}`, children: [
|
|
4384
4384
|
/* @__PURE__ */ i(
|
|
4385
|
-
|
|
4385
|
+
Gr,
|
|
4386
4386
|
{
|
|
4387
4387
|
label: w.to,
|
|
4388
4388
|
value: e,
|
|
@@ -4393,7 +4393,7 @@ const wu = ({
|
|
|
4393
4393
|
}
|
|
4394
4394
|
),
|
|
4395
4395
|
c && n && /* @__PURE__ */ i(
|
|
4396
|
-
|
|
4396
|
+
nr,
|
|
4397
4397
|
{
|
|
4398
4398
|
label: w.cc,
|
|
4399
4399
|
value: r,
|
|
@@ -4407,7 +4407,7 @@ const wu = ({
|
|
|
4407
4407
|
}
|
|
4408
4408
|
),
|
|
4409
4409
|
d && o && /* @__PURE__ */ i(
|
|
4410
|
-
|
|
4410
|
+
nr,
|
|
4411
4411
|
{
|
|
4412
4412
|
label: w.bcc,
|
|
4413
4413
|
value: a,
|
|
@@ -4421,7 +4421,7 @@ const wu = ({
|
|
|
4421
4421
|
}
|
|
4422
4422
|
)
|
|
4423
4423
|
] });
|
|
4424
|
-
},
|
|
4424
|
+
}, Ot = ({
|
|
4425
4425
|
label: e,
|
|
4426
4426
|
required: t = !1,
|
|
4427
4427
|
error: r,
|
|
@@ -4450,7 +4450,7 @@ const wu = ({
|
|
|
4450
4450
|
}
|
|
4451
4451
|
),
|
|
4452
4452
|
n && !r && /* @__PURE__ */ h("div", { className: "mt-1 flex items-start", children: [
|
|
4453
|
-
/* @__PURE__ */ i(
|
|
4453
|
+
/* @__PURE__ */ i(et, { className: "h-4 w-4 text-gray-400 mr-1 mt-0.5 flex-shrink-0" }),
|
|
4454
4454
|
/* @__PURE__ */ i("p", { className: "text-xs text-gray-500 dark:text-gray-400", children: n })
|
|
4455
4455
|
] })
|
|
4456
4456
|
] }),
|
|
@@ -4461,7 +4461,7 @@ const wu = ({
|
|
|
4461
4461
|
children: [
|
|
4462
4462
|
/* @__PURE__ */ i("div", { className: r ? "relative" : "", children: a }),
|
|
4463
4463
|
r && /* @__PURE__ */ h("div", { className: "mt-1 flex items-start", children: [
|
|
4464
|
-
/* @__PURE__ */ i(
|
|
4464
|
+
/* @__PURE__ */ i(la, { className: "h-4 w-4 text-red-500 mr-1 mt-0.5 flex-shrink-0" }),
|
|
4465
4465
|
/* @__PURE__ */ i("p", { className: "text-xs text-red-600 dark:text-red-400", children: r })
|
|
4466
4466
|
] })
|
|
4467
4467
|
]
|
|
@@ -4470,7 +4470,7 @@ const wu = ({
|
|
|
4470
4470
|
]
|
|
4471
4471
|
}
|
|
4472
4472
|
);
|
|
4473
|
-
},
|
|
4473
|
+
}, Au = ({
|
|
4474
4474
|
label: e,
|
|
4475
4475
|
value: t,
|
|
4476
4476
|
onChange: r,
|
|
@@ -4482,7 +4482,7 @@ const wu = ({
|
|
|
4482
4482
|
layout: c = "vertical",
|
|
4483
4483
|
className: d = ""
|
|
4484
4484
|
}) => /* @__PURE__ */ i(
|
|
4485
|
-
|
|
4485
|
+
Ot,
|
|
4486
4486
|
{
|
|
4487
4487
|
label: e,
|
|
4488
4488
|
required: a,
|
|
@@ -4507,7 +4507,7 @@ const wu = ({
|
|
|
4507
4507
|
}
|
|
4508
4508
|
)
|
|
4509
4509
|
}
|
|
4510
|
-
),
|
|
4510
|
+
), Pu = ({
|
|
4511
4511
|
label: e,
|
|
4512
4512
|
value: t,
|
|
4513
4513
|
onChange: r,
|
|
@@ -4519,7 +4519,7 @@ const wu = ({
|
|
|
4519
4519
|
layout: c = "vertical",
|
|
4520
4520
|
className: d = ""
|
|
4521
4521
|
}) => /* @__PURE__ */ i(
|
|
4522
|
-
|
|
4522
|
+
Ot,
|
|
4523
4523
|
{
|
|
4524
4524
|
label: e,
|
|
4525
4525
|
required: a,
|
|
@@ -4544,7 +4544,7 @@ const wu = ({
|
|
|
4544
4544
|
}
|
|
4545
4545
|
)
|
|
4546
4546
|
}
|
|
4547
|
-
),
|
|
4547
|
+
), Tu = ({
|
|
4548
4548
|
label: e,
|
|
4549
4549
|
value: t,
|
|
4550
4550
|
onChange: r,
|
|
@@ -4556,7 +4556,7 @@ const wu = ({
|
|
|
4556
4556
|
layout: c = "vertical",
|
|
4557
4557
|
className: d = ""
|
|
4558
4558
|
}) => /* @__PURE__ */ i(
|
|
4559
|
-
|
|
4559
|
+
Ot,
|
|
4560
4560
|
{
|
|
4561
4561
|
label: e,
|
|
4562
4562
|
required: a,
|
|
@@ -4596,7 +4596,7 @@ const wu = ({
|
|
|
4596
4596
|
sm: "w-2 h-2",
|
|
4597
4597
|
md: "w-3 h-3",
|
|
4598
4598
|
lg: "w-4 h-4"
|
|
4599
|
-
},
|
|
4599
|
+
}, $u = ({
|
|
4600
4600
|
status: e,
|
|
4601
4601
|
size: t = "sm",
|
|
4602
4602
|
pulse: r = !1,
|
|
@@ -4619,7 +4619,7 @@ function le(e, t, { checkForDefaultPrevented: r = !0 } = {}) {
|
|
|
4619
4619
|
return t?.(a);
|
|
4620
4620
|
};
|
|
4621
4621
|
}
|
|
4622
|
-
function
|
|
4622
|
+
function ar(e, t) {
|
|
4623
4623
|
if (typeof e == "function")
|
|
4624
4624
|
return e(t);
|
|
4625
4625
|
e != null && (e.current = t);
|
|
@@ -4628,14 +4628,14 @@ function Zo(...e) {
|
|
|
4628
4628
|
return (t) => {
|
|
4629
4629
|
let r = !1;
|
|
4630
4630
|
const n = e.map((a) => {
|
|
4631
|
-
const o =
|
|
4631
|
+
const o = ar(a, t);
|
|
4632
4632
|
return !r && typeof o == "function" && (r = !0), o;
|
|
4633
4633
|
});
|
|
4634
4634
|
if (r)
|
|
4635
4635
|
return () => {
|
|
4636
4636
|
for (let a = 0; a < n.length; a++) {
|
|
4637
4637
|
const o = n[a];
|
|
4638
|
-
typeof o == "function" ? o() :
|
|
4638
|
+
typeof o == "function" ? o() : ar(e[a], null);
|
|
4639
4639
|
}
|
|
4640
4640
|
};
|
|
4641
4641
|
};
|
|
@@ -4643,7 +4643,7 @@ function Zo(...e) {
|
|
|
4643
4643
|
function we(...e) {
|
|
4644
4644
|
return x.useCallback(Zo(...e), e);
|
|
4645
4645
|
}
|
|
4646
|
-
function
|
|
4646
|
+
function Kr(e, t = []) {
|
|
4647
4647
|
let r = [];
|
|
4648
4648
|
function n(o, s) {
|
|
4649
4649
|
const l = x.createContext(s), c = r.length;
|
|
@@ -4710,14 +4710,14 @@ var ei = [
|
|
|
4710
4710
|
"svg",
|
|
4711
4711
|
"ul"
|
|
4712
4712
|
], he = ei.reduce((e, t) => {
|
|
4713
|
-
const r =
|
|
4713
|
+
const r = fa(`Primitive.${t}`), n = x.forwardRef((a, o) => {
|
|
4714
4714
|
const { asChild: s, ...l } = a, c = s ? r : t;
|
|
4715
4715
|
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ i(c, { ...l, ref: o });
|
|
4716
4716
|
});
|
|
4717
4717
|
return n.displayName = `Primitive.${t}`, { ...e, [t]: n };
|
|
4718
4718
|
}, {});
|
|
4719
4719
|
function ti(e, t) {
|
|
4720
|
-
e &&
|
|
4720
|
+
e && Br.flushSync(() => e.dispatchEvent(t));
|
|
4721
4721
|
}
|
|
4722
4722
|
function ct(e) {
|
|
4723
4723
|
const t = x.useRef(e);
|
|
@@ -4734,11 +4734,11 @@ function ri(e, t = globalThis?.document) {
|
|
|
4734
4734
|
return t.addEventListener("keydown", n, { capture: !0 }), () => t.removeEventListener("keydown", n, { capture: !0 });
|
|
4735
4735
|
}, [r, t]);
|
|
4736
4736
|
}
|
|
4737
|
-
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({
|
|
4738
4738
|
layers: /* @__PURE__ */ new Set(),
|
|
4739
4739
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
4740
4740
|
branches: /* @__PURE__ */ new Set()
|
|
4741
|
-
}),
|
|
4741
|
+
}), Qr = x.forwardRef(
|
|
4742
4742
|
(e, t) => {
|
|
4743
4743
|
const {
|
|
4744
4744
|
disableOutsidePointerEvents: r = !1,
|
|
@@ -4748,7 +4748,7 @@ var ni = "DismissableLayer", Nt = "dismissableLayer.update", ai = "dismissableLa
|
|
|
4748
4748
|
onInteractOutside: s,
|
|
4749
4749
|
onDismiss: l,
|
|
4750
4750
|
...c
|
|
4751
|
-
} = 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) => {
|
|
4752
4752
|
const O = A.target, D = [...d.branches].some((M) => M.contains(O));
|
|
4753
4753
|
!E || D || (a?.(A), s?.(A), A.defaultPrevented || l?.());
|
|
4754
4754
|
}, p), $ = ci((A) => {
|
|
@@ -4759,11 +4759,11 @@ var ni = "DismissableLayer", Nt = "dismissableLayer.update", ai = "dismissableLa
|
|
|
4759
4759
|
C === d.layers.size - 1 && (n?.(A), !A.defaultPrevented && l && (A.preventDefault(), l()));
|
|
4760
4760
|
}, p), x.useEffect(() => {
|
|
4761
4761
|
if (u)
|
|
4762
|
-
return r && (d.layersWithOutsidePointerEventsDisabled.size === 0 && (
|
|
4763
|
-
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);
|
|
4764
4764
|
};
|
|
4765
4765
|
}, [u, p, r, d]), x.useEffect(() => () => {
|
|
4766
|
-
u && (d.layers.delete(u), d.layersWithOutsidePointerEventsDisabled.delete(u),
|
|
4766
|
+
u && (d.layers.delete(u), d.layersWithOutsidePointerEventsDisabled.delete(u), ir());
|
|
4767
4767
|
}, [u, d]), x.useEffect(() => {
|
|
4768
4768
|
const A = () => g({});
|
|
4769
4769
|
return document.addEventListener(Nt, A), () => document.removeEventListener(Nt, A);
|
|
@@ -4786,9 +4786,9 @@ var ni = "DismissableLayer", Nt = "dismissableLayer.update", ai = "dismissableLa
|
|
|
4786
4786
|
);
|
|
4787
4787
|
}
|
|
4788
4788
|
);
|
|
4789
|
-
|
|
4789
|
+
Qr.displayName = ni;
|
|
4790
4790
|
var ii = "DismissableLayerBranch", si = x.forwardRef((e, t) => {
|
|
4791
|
-
const r = x.useContext(
|
|
4791
|
+
const r = x.useContext(Yr), n = x.useRef(null), a = we(t, n);
|
|
4792
4792
|
return x.useEffect(() => {
|
|
4793
4793
|
const o = n.current;
|
|
4794
4794
|
if (o)
|
|
@@ -4805,7 +4805,7 @@ function li(e, t = globalThis?.document) {
|
|
|
4805
4805
|
const o = (l) => {
|
|
4806
4806
|
if (l.target && !n.current) {
|
|
4807
4807
|
let c = function() {
|
|
4808
|
-
|
|
4808
|
+
Xr(
|
|
4809
4809
|
ai,
|
|
4810
4810
|
r,
|
|
4811
4811
|
d,
|
|
@@ -4832,7 +4832,7 @@ function ci(e, t = globalThis?.document) {
|
|
|
4832
4832
|
const r = ct(e), n = x.useRef(!1);
|
|
4833
4833
|
return x.useEffect(() => {
|
|
4834
4834
|
const a = (o) => {
|
|
4835
|
-
o.target && !n.current &&
|
|
4835
|
+
o.target && !n.current && Xr(oi, r, { originalEvent: o }, {
|
|
4836
4836
|
discrete: !1
|
|
4837
4837
|
});
|
|
4838
4838
|
};
|
|
@@ -4842,11 +4842,11 @@ function ci(e, t = globalThis?.document) {
|
|
|
4842
4842
|
onBlurCapture: () => n.current = !1
|
|
4843
4843
|
};
|
|
4844
4844
|
}
|
|
4845
|
-
function
|
|
4845
|
+
function ir() {
|
|
4846
4846
|
const e = new CustomEvent(Nt);
|
|
4847
4847
|
document.dispatchEvent(e);
|
|
4848
4848
|
}
|
|
4849
|
-
function
|
|
4849
|
+
function Xr(e, t, r, { discrete: n }) {
|
|
4850
4850
|
const a = r.originalEvent.target, o = new CustomEvent(e, { bubbles: !1, cancelable: !0, detail: r });
|
|
4851
4851
|
t && a.addEventListener(e, t, { once: !0 }), n ? ti(a, o) : a.dispatchEvent(o);
|
|
4852
4852
|
}
|
|
@@ -4859,7 +4859,7 @@ function mi(e) {
|
|
|
4859
4859
|
r((n) => n ?? String(ui++));
|
|
4860
4860
|
}, [e]), t ? `radix-${t}` : "";
|
|
4861
4861
|
}
|
|
4862
|
-
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) => ({
|
|
4863
4863
|
x: e,
|
|
4864
4864
|
y: e
|
|
4865
4865
|
}), pi = {
|
|
@@ -4883,22 +4883,22 @@ function ue(e) {
|
|
|
4883
4883
|
function $e(e) {
|
|
4884
4884
|
return e.split("-")[1];
|
|
4885
4885
|
}
|
|
4886
|
-
function
|
|
4886
|
+
function Dt(e) {
|
|
4887
4887
|
return e === "x" ? "y" : "x";
|
|
4888
4888
|
}
|
|
4889
|
-
function
|
|
4889
|
+
function zt(e) {
|
|
4890
4890
|
return e === "y" ? "height" : "width";
|
|
4891
4891
|
}
|
|
4892
4892
|
const hi = /* @__PURE__ */ new Set(["top", "bottom"]);
|
|
4893
4893
|
function te(e) {
|
|
4894
4894
|
return hi.has(ue(e)) ? "y" : "x";
|
|
4895
4895
|
}
|
|
4896
|
-
function
|
|
4897
|
-
return
|
|
4896
|
+
function Wt(e) {
|
|
4897
|
+
return Dt(te(e));
|
|
4898
4898
|
}
|
|
4899
4899
|
function yi(e, t, r) {
|
|
4900
4900
|
r === void 0 && (r = !1);
|
|
4901
|
-
const n = $e(e), a =
|
|
4901
|
+
const n = $e(e), a = Wt(e), o = zt(a);
|
|
4902
4902
|
let s = a === "x" ? n === (r ? "end" : "start") ? "right" : "left" : n === "start" ? "bottom" : "top";
|
|
4903
4903
|
return t.reference[o] > t.floating[o] && (s = rt(s)), [s, rt(s)];
|
|
4904
4904
|
}
|
|
@@ -4909,12 +4909,12 @@ function bi(e) {
|
|
|
4909
4909
|
function At(e) {
|
|
4910
4910
|
return e.replace(/start|end/g, (t) => fi[t]);
|
|
4911
4911
|
}
|
|
4912
|
-
const
|
|
4912
|
+
const sr = ["left", "right"], lr = ["right", "left"], xi = ["top", "bottom"], vi = ["bottom", "top"];
|
|
4913
4913
|
function wi(e, t, r) {
|
|
4914
4914
|
switch (e) {
|
|
4915
4915
|
case "top":
|
|
4916
4916
|
case "bottom":
|
|
4917
|
-
return r ? t ?
|
|
4917
|
+
return r ? t ? lr : sr : t ? sr : lr;
|
|
4918
4918
|
case "left":
|
|
4919
4919
|
case "right":
|
|
4920
4920
|
return t ? xi : vi;
|
|
@@ -4939,7 +4939,7 @@ function Ci(e) {
|
|
|
4939
4939
|
...e
|
|
4940
4940
|
};
|
|
4941
4941
|
}
|
|
4942
|
-
function
|
|
4942
|
+
function Zr(e) {
|
|
4943
4943
|
return typeof e != "number" ? Ci(e) : {
|
|
4944
4944
|
top: e,
|
|
4945
4945
|
right: e,
|
|
@@ -4965,12 +4965,12 @@ function nt(e) {
|
|
|
4965
4965
|
y: r
|
|
4966
4966
|
};
|
|
4967
4967
|
}
|
|
4968
|
-
function
|
|
4968
|
+
function cr(e, t, r) {
|
|
4969
4969
|
let {
|
|
4970
4970
|
reference: n,
|
|
4971
4971
|
floating: a
|
|
4972
4972
|
} = e;
|
|
4973
|
-
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;
|
|
4974
4974
|
let g;
|
|
4975
4975
|
switch (c) {
|
|
4976
4976
|
case "top":
|
|
@@ -5027,7 +5027,7 @@ const Si = async (e, t, r) => {
|
|
|
5027
5027
|
}), {
|
|
5028
5028
|
x: u,
|
|
5029
5029
|
y: m
|
|
5030
|
-
} =
|
|
5030
|
+
} = cr(d, n, c), p = n, g = {}, f = 0;
|
|
5031
5031
|
for (let b = 0; b < l.length; b++) {
|
|
5032
5032
|
const {
|
|
5033
5033
|
name: w,
|
|
@@ -5064,7 +5064,7 @@ const Si = async (e, t, r) => {
|
|
|
5064
5064
|
}) : N.rects), {
|
|
5065
5065
|
x: u,
|
|
5066
5066
|
y: m
|
|
5067
|
-
} =
|
|
5067
|
+
} = cr(d, p, c)), b = -1);
|
|
5068
5068
|
}
|
|
5069
5069
|
return {
|
|
5070
5070
|
x: u,
|
|
@@ -5074,7 +5074,7 @@ const Si = async (e, t, r) => {
|
|
|
5074
5074
|
middlewareData: g
|
|
5075
5075
|
};
|
|
5076
5076
|
};
|
|
5077
|
-
async function
|
|
5077
|
+
async function je(e, t) {
|
|
5078
5078
|
var r;
|
|
5079
5079
|
t === void 0 && (t = {});
|
|
5080
5080
|
const {
|
|
@@ -5090,7 +5090,7 @@ async function Fe(e, t) {
|
|
|
5090
5090
|
elementContext: m = "floating",
|
|
5091
5091
|
altBoundary: p = !1,
|
|
5092
5092
|
padding: g = 0
|
|
5093
|
-
} = de(t, e), f =
|
|
5093
|
+
} = de(t, e), f = Zr(g), w = l[p ? m === "floating" ? "reference" : "floating" : m], k = nt(await o.getClippingRect({
|
|
5094
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)),
|
|
5095
5095
|
boundary: d,
|
|
5096
5096
|
rootBoundary: u,
|
|
@@ -5137,10 +5137,10 @@ const Ni = (e) => ({
|
|
|
5137
5137
|
} = de(e, t) || {};
|
|
5138
5138
|
if (d == null)
|
|
5139
5139
|
return {};
|
|
5140
|
-
const m =
|
|
5140
|
+
const m = Zr(u), p = {
|
|
5141
5141
|
x: r,
|
|
5142
5142
|
y: n
|
|
5143
|
-
}, 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));
|
|
5144
5144
|
let A = $ ? $[S] : 0;
|
|
5145
5145
|
(!A || !await (s.isElement == null ? void 0 : s.isElement($))) && (A = l.floating[S] || o.floating[f]);
|
|
5146
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;
|
|
@@ -5182,7 +5182,7 @@ const Ni = (e) => ({
|
|
|
5182
5182
|
return {};
|
|
5183
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";
|
|
5184
5184
|
!p && $ && N.push(...ki(l, b, f, E));
|
|
5185
|
-
const A = [l, ...N], O = await
|
|
5185
|
+
const A = [l, ...N], O = await je(t, w), D = [];
|
|
5186
5186
|
let M = ((n = o.flip) == null ? void 0 : n.overflows) || [];
|
|
5187
5187
|
if (u && D.push(O[k]), m) {
|
|
5188
5188
|
const B = yi(a, s, E);
|
|
@@ -5238,7 +5238,7 @@ const Ni = (e) => ({
|
|
|
5238
5238
|
}
|
|
5239
5239
|
};
|
|
5240
5240
|
};
|
|
5241
|
-
function
|
|
5241
|
+
function dr(e, t) {
|
|
5242
5242
|
return {
|
|
5243
5243
|
top: e.top - t.height,
|
|
5244
5244
|
right: e.right - t.width,
|
|
@@ -5246,7 +5246,7 @@ function mr(e, t) {
|
|
|
5246
5246
|
left: e.left - t.width
|
|
5247
5247
|
};
|
|
5248
5248
|
}
|
|
5249
|
-
function
|
|
5249
|
+
function ur(e) {
|
|
5250
5250
|
return gi.some((t) => e[t] >= 0);
|
|
5251
5251
|
}
|
|
5252
5252
|
const Ai = function(e) {
|
|
@@ -5262,26 +5262,26 @@ const Ai = function(e) {
|
|
|
5262
5262
|
} = de(e, t);
|
|
5263
5263
|
switch (n) {
|
|
5264
5264
|
case "referenceHidden": {
|
|
5265
|
-
const o = await
|
|
5265
|
+
const o = await je(t, {
|
|
5266
5266
|
...a,
|
|
5267
5267
|
elementContext: "reference"
|
|
5268
|
-
}), s =
|
|
5268
|
+
}), s = dr(o, r.reference);
|
|
5269
5269
|
return {
|
|
5270
5270
|
data: {
|
|
5271
5271
|
referenceHiddenOffsets: s,
|
|
5272
|
-
referenceHidden:
|
|
5272
|
+
referenceHidden: ur(s)
|
|
5273
5273
|
}
|
|
5274
5274
|
};
|
|
5275
5275
|
}
|
|
5276
5276
|
case "escaped": {
|
|
5277
|
-
const o = await
|
|
5277
|
+
const o = await je(t, {
|
|
5278
5278
|
...a,
|
|
5279
5279
|
altBoundary: !0
|
|
5280
|
-
}), s =
|
|
5280
|
+
}), s = dr(o, r.floating);
|
|
5281
5281
|
return {
|
|
5282
5282
|
data: {
|
|
5283
5283
|
escapedOffsets: s,
|
|
5284
|
-
escaped:
|
|
5284
|
+
escaped: ur(s)
|
|
5285
5285
|
}
|
|
5286
5286
|
};
|
|
5287
5287
|
}
|
|
@@ -5290,13 +5290,13 @@ const Ai = function(e) {
|
|
|
5290
5290
|
}
|
|
5291
5291
|
}
|
|
5292
5292
|
};
|
|
5293
|
-
},
|
|
5293
|
+
}, Jr = /* @__PURE__ */ new Set(["left", "top"]);
|
|
5294
5294
|
async function Pi(e, t) {
|
|
5295
5295
|
const {
|
|
5296
5296
|
placement: r,
|
|
5297
5297
|
platform: n,
|
|
5298
5298
|
elements: a
|
|
5299
|
-
} = 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);
|
|
5300
5300
|
let {
|
|
5301
5301
|
mainAxis: p,
|
|
5302
5302
|
crossAxis: g,
|
|
@@ -5368,7 +5368,7 @@ const Ti = function(e) {
|
|
|
5368
5368
|
} = de(e, t), d = {
|
|
5369
5369
|
x: r,
|
|
5370
5370
|
y: n
|
|
5371
|
-
}, u = await
|
|
5371
|
+
}, u = await je(t, c), m = te(ue(a)), p = Dt(m);
|
|
5372
5372
|
let g = d[p], f = d[m];
|
|
5373
5373
|
if (o) {
|
|
5374
5374
|
const w = p === "y" ? "top" : "left", k = p === "y" ? "bottom" : "right", C = g + u[w], S = g - u[k];
|
|
@@ -5413,7 +5413,7 @@ const Ti = function(e) {
|
|
|
5413
5413
|
} = de(e, t), u = {
|
|
5414
5414
|
x: r,
|
|
5415
5415
|
y: n
|
|
5416
|
-
}, m = te(a), p =
|
|
5416
|
+
}, m = te(a), p = Dt(m);
|
|
5417
5417
|
let g = u[p], f = u[m];
|
|
5418
5418
|
const b = de(l, t), w = typeof b == "number" ? {
|
|
5419
5419
|
mainAxis: b,
|
|
@@ -5429,7 +5429,7 @@ const Ti = function(e) {
|
|
|
5429
5429
|
}
|
|
5430
5430
|
if (d) {
|
|
5431
5431
|
var k, C;
|
|
5432
|
-
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);
|
|
5433
5433
|
f < N ? f = N : f > $ && (f = $);
|
|
5434
5434
|
}
|
|
5435
5435
|
return {
|
|
@@ -5453,7 +5453,7 @@ const Ti = function(e) {
|
|
|
5453
5453
|
apply: c = () => {
|
|
5454
5454
|
},
|
|
5455
5455
|
...d
|
|
5456
|
-
} = de(e, t), u = await
|
|
5456
|
+
} = de(e, t), u = await je(t, d), m = ue(a), p = $e(a), g = te(a) === "y", {
|
|
5457
5457
|
width: f,
|
|
5458
5458
|
height: b
|
|
5459
5459
|
} = o.floating;
|
|
@@ -5483,7 +5483,7 @@ function dt() {
|
|
|
5483
5483
|
return typeof window < "u";
|
|
5484
5484
|
}
|
|
5485
5485
|
function Le(e) {
|
|
5486
|
-
return
|
|
5486
|
+
return en(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
5487
5487
|
}
|
|
5488
5488
|
function X(e) {
|
|
5489
5489
|
var t;
|
|
@@ -5491,9 +5491,9 @@ function X(e) {
|
|
|
5491
5491
|
}
|
|
5492
5492
|
function oe(e) {
|
|
5493
5493
|
var t;
|
|
5494
|
-
return (t = (
|
|
5494
|
+
return (t = (en(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
|
|
5495
5495
|
}
|
|
5496
|
-
function
|
|
5496
|
+
function en(e) {
|
|
5497
5497
|
return dt() ? e instanceof Node || e instanceof X(e).Node : !1;
|
|
5498
5498
|
}
|
|
5499
5499
|
function Z(e) {
|
|
@@ -5502,11 +5502,11 @@ function Z(e) {
|
|
|
5502
5502
|
function ae(e) {
|
|
5503
5503
|
return dt() ? e instanceof HTMLElement || e instanceof X(e).HTMLElement : !1;
|
|
5504
5504
|
}
|
|
5505
|
-
function
|
|
5505
|
+
function mr(e) {
|
|
5506
5506
|
return !dt() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof X(e).ShadowRoot;
|
|
5507
5507
|
}
|
|
5508
5508
|
const Ri = /* @__PURE__ */ new Set(["inline", "contents"]);
|
|
5509
|
-
function
|
|
5509
|
+
function Ge(e) {
|
|
5510
5510
|
const {
|
|
5511
5511
|
overflow: t,
|
|
5512
5512
|
overflowX: r,
|
|
@@ -5530,14 +5530,14 @@ function ut(e) {
|
|
|
5530
5530
|
});
|
|
5531
5531
|
}
|
|
5532
5532
|
const zi = ["transform", "translate", "scale", "rotate", "perspective"], Wi = ["transform", "translate", "scale", "rotate", "perspective", "filter"], Bi = ["paint", "layout", "strict", "content"];
|
|
5533
|
-
function
|
|
5534
|
-
const t =
|
|
5533
|
+
function Bt(e) {
|
|
5534
|
+
const t = jt(), r = Z(e) ? J(e) : e;
|
|
5535
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));
|
|
5536
5536
|
}
|
|
5537
5537
|
function ji(e) {
|
|
5538
5538
|
let t = fe(e);
|
|
5539
5539
|
for (; ae(t) && !Ae(t); ) {
|
|
5540
|
-
if (
|
|
5540
|
+
if (Bt(t))
|
|
5541
5541
|
return t;
|
|
5542
5542
|
if (ut(t))
|
|
5543
5543
|
return null;
|
|
@@ -5545,7 +5545,7 @@ function ji(e) {
|
|
|
5545
5545
|
}
|
|
5546
5546
|
return null;
|
|
5547
5547
|
}
|
|
5548
|
-
function
|
|
5548
|
+
function jt() {
|
|
5549
5549
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
5550
5550
|
}
|
|
5551
5551
|
const Fi = /* @__PURE__ */ new Set(["html", "body", "#document"]);
|
|
@@ -5571,29 +5571,29 @@ function fe(e) {
|
|
|
5571
5571
|
// Step into the shadow DOM of the parent of a slotted node.
|
|
5572
5572
|
e.assignedSlot || // DOM Element detected.
|
|
5573
5573
|
e.parentNode || // ShadowRoot detected.
|
|
5574
|
-
|
|
5574
|
+
mr(e) && e.host || // Fallback.
|
|
5575
5575
|
oe(e)
|
|
5576
5576
|
);
|
|
5577
|
-
return
|
|
5577
|
+
return mr(t) ? t.host : t;
|
|
5578
5578
|
}
|
|
5579
|
-
function
|
|
5579
|
+
function tn(e) {
|
|
5580
5580
|
const t = fe(e);
|
|
5581
|
-
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);
|
|
5582
5582
|
}
|
|
5583
|
-
function
|
|
5583
|
+
function Fe(e, t, r) {
|
|
5584
5584
|
var n;
|
|
5585
5585
|
t === void 0 && (t = []), r === void 0 && (r = !0);
|
|
5586
|
-
const a =
|
|
5586
|
+
const a = tn(e), o = a === ((n = e.ownerDocument) == null ? void 0 : n.body), s = X(a);
|
|
5587
5587
|
if (o) {
|
|
5588
5588
|
const l = Pt(s);
|
|
5589
|
-
return t.concat(s, s.visualViewport || [],
|
|
5589
|
+
return t.concat(s, s.visualViewport || [], Ge(a) ? a : [], l && r ? Fe(l) : []);
|
|
5590
5590
|
}
|
|
5591
|
-
return t.concat(a,
|
|
5591
|
+
return t.concat(a, Fe(a, [], r));
|
|
5592
5592
|
}
|
|
5593
5593
|
function Pt(e) {
|
|
5594
5594
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
5595
5595
|
}
|
|
5596
|
-
function
|
|
5596
|
+
function rn(e) {
|
|
5597
5597
|
const t = J(e);
|
|
5598
5598
|
let r = parseFloat(t.width) || 0, n = parseFloat(t.height) || 0;
|
|
5599
5599
|
const a = ae(e), o = a ? e.offsetWidth : r, s = a ? e.offsetHeight : n, l = tt(r) !== o || tt(n) !== s;
|
|
@@ -5603,18 +5603,18 @@ function on(e) {
|
|
|
5603
5603
|
$: l
|
|
5604
5604
|
};
|
|
5605
5605
|
}
|
|
5606
|
-
function
|
|
5606
|
+
function Ft(e) {
|
|
5607
5607
|
return Z(e) ? e : e.contextElement;
|
|
5608
5608
|
}
|
|
5609
5609
|
function Se(e) {
|
|
5610
|
-
const t =
|
|
5610
|
+
const t = Ft(e);
|
|
5611
5611
|
if (!ae(t))
|
|
5612
5612
|
return ne(1);
|
|
5613
5613
|
const r = t.getBoundingClientRect(), {
|
|
5614
5614
|
width: n,
|
|
5615
5615
|
height: a,
|
|
5616
5616
|
$: o
|
|
5617
|
-
} =
|
|
5617
|
+
} = rn(t);
|
|
5618
5618
|
let s = (o ? tt(r.width) : r.width) / n, l = (o ? tt(r.height) : r.height) / a;
|
|
5619
5619
|
return (!s || !Number.isFinite(s)) && (s = 1), (!l || !Number.isFinite(l)) && (l = 1), {
|
|
5620
5620
|
x: s,
|
|
@@ -5622,9 +5622,9 @@ function Se(e) {
|
|
|
5622
5622
|
};
|
|
5623
5623
|
}
|
|
5624
5624
|
const _i = /* @__PURE__ */ ne(0);
|
|
5625
|
-
function
|
|
5625
|
+
function nn(e) {
|
|
5626
5626
|
const t = X(e);
|
|
5627
|
-
return !
|
|
5627
|
+
return !jt() || !t.visualViewport ? _i : {
|
|
5628
5628
|
x: t.visualViewport.offsetLeft,
|
|
5629
5629
|
y: t.visualViewport.offsetTop
|
|
5630
5630
|
};
|
|
@@ -5634,10 +5634,10 @@ function Vi(e, t, r) {
|
|
|
5634
5634
|
}
|
|
5635
5635
|
function xe(e, t, r, n) {
|
|
5636
5636
|
t === void 0 && (t = !1), r === void 0 && (r = !1);
|
|
5637
|
-
const a = e.getBoundingClientRect(), o =
|
|
5637
|
+
const a = e.getBoundingClientRect(), o = Ft(e);
|
|
5638
5638
|
let s = ne(1);
|
|
5639
5639
|
t && (n ? Z(n) && (s = Se(n)) : s = Se(e));
|
|
5640
|
-
const l = Vi(o, r, n) ?
|
|
5640
|
+
const l = Vi(o, r, n) ? nn(o) : ne(0);
|
|
5641
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;
|
|
5642
5642
|
if (o) {
|
|
5643
5643
|
const p = X(o), g = n && Z(n) ? X(n) : n;
|
|
@@ -5658,7 +5658,7 @@ function gt(e, t) {
|
|
|
5658
5658
|
const r = mt(e).scrollLeft;
|
|
5659
5659
|
return t ? t.left + r : xe(oe(e)).left + r;
|
|
5660
5660
|
}
|
|
5661
|
-
function
|
|
5661
|
+
function an(e, t) {
|
|
5662
5662
|
const r = e.getBoundingClientRect(), n = r.left + t.scrollLeft - gt(e, r), a = r.top + t.scrollTop;
|
|
5663
5663
|
return {
|
|
5664
5664
|
x: n,
|
|
@@ -5680,11 +5680,11 @@ function Hi(e) {
|
|
|
5680
5680
|
scrollTop: 0
|
|
5681
5681
|
}, d = ne(1);
|
|
5682
5682
|
const u = ne(0), m = ae(n);
|
|
5683
|
-
if ((m || !m && !o) && ((Le(n) !== "body" ||
|
|
5683
|
+
if ((m || !m && !o) && ((Le(n) !== "body" || Ge(s)) && (c = mt(n)), ae(n))) {
|
|
5684
5684
|
const g = xe(n);
|
|
5685
5685
|
d = Se(n), u.x = g.x + n.clientLeft, u.y = g.y + n.clientTop;
|
|
5686
5686
|
}
|
|
5687
|
-
const p = s && !m && !o ?
|
|
5687
|
+
const p = s && !m && !o ? an(s, c) : ne(0);
|
|
5688
5688
|
return {
|
|
5689
5689
|
width: r.width * d.x,
|
|
5690
5690
|
height: r.height * d.y,
|
|
@@ -5706,20 +5706,20 @@ function qi(e) {
|
|
|
5706
5706
|
y: l
|
|
5707
5707
|
};
|
|
5708
5708
|
}
|
|
5709
|
-
const
|
|
5709
|
+
const gr = 25;
|
|
5710
5710
|
function Gi(e, t) {
|
|
5711
5711
|
const r = X(e), n = oe(e), a = r.visualViewport;
|
|
5712
5712
|
let o = n.clientWidth, s = n.clientHeight, l = 0, c = 0;
|
|
5713
5713
|
if (a) {
|
|
5714
5714
|
o = a.width, s = a.height;
|
|
5715
|
-
const u =
|
|
5715
|
+
const u = jt();
|
|
5716
5716
|
(!u || u && t === "fixed") && (l = a.offsetLeft, c = a.offsetTop);
|
|
5717
5717
|
}
|
|
5718
5718
|
const d = gt(n);
|
|
5719
5719
|
if (d <= 0) {
|
|
5720
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);
|
|
5721
|
-
f <=
|
|
5722
|
-
} else d <=
|
|
5721
|
+
f <= gr && (o -= f);
|
|
5722
|
+
} else d <= gr && (o += d);
|
|
5723
5723
|
return {
|
|
5724
5724
|
width: o,
|
|
5725
5725
|
height: s,
|
|
@@ -5737,7 +5737,7 @@ function Yi(e, t) {
|
|
|
5737
5737
|
y: d
|
|
5738
5738
|
};
|
|
5739
5739
|
}
|
|
5740
|
-
function
|
|
5740
|
+
function pr(e, t, r) {
|
|
5741
5741
|
let n;
|
|
5742
5742
|
if (t === "viewport")
|
|
5743
5743
|
n = Gi(e, r);
|
|
@@ -5746,7 +5746,7 @@ function hr(e, t, r) {
|
|
|
5746
5746
|
else if (Z(t))
|
|
5747
5747
|
n = Yi(t, r);
|
|
5748
5748
|
else {
|
|
5749
|
-
const a =
|
|
5749
|
+
const a = nn(e);
|
|
5750
5750
|
n = {
|
|
5751
5751
|
x: t.x - a.x,
|
|
5752
5752
|
y: t.y - a.y,
|
|
@@ -5756,20 +5756,20 @@ function hr(e, t, r) {
|
|
|
5756
5756
|
}
|
|
5757
5757
|
return nt(n);
|
|
5758
5758
|
}
|
|
5759
|
-
function
|
|
5759
|
+
function on(e, t) {
|
|
5760
5760
|
const r = fe(e);
|
|
5761
|
-
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);
|
|
5762
5762
|
}
|
|
5763
5763
|
function Qi(e, t) {
|
|
5764
5764
|
const r = t.get(e);
|
|
5765
5765
|
if (r)
|
|
5766
5766
|
return r;
|
|
5767
|
-
let n =
|
|
5767
|
+
let n = Fe(e, [], !1).filter((l) => Z(l) && Le(l) !== "body"), a = null;
|
|
5768
5768
|
const o = J(e).position === "fixed";
|
|
5769
5769
|
let s = o ? fe(e) : e;
|
|
5770
5770
|
for (; Z(s) && !Ae(s); ) {
|
|
5771
|
-
const l = J(s), c =
|
|
5772
|
-
!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);
|
|
5773
5773
|
}
|
|
5774
5774
|
return t.set(e, n), n;
|
|
5775
5775
|
}
|
|
@@ -5781,9 +5781,9 @@ function Xi(e) {
|
|
|
5781
5781
|
strategy: a
|
|
5782
5782
|
} = e;
|
|
5783
5783
|
const s = [...r === "clippingAncestors" ? ut(t) ? [] : Qi(t, this._c) : [].concat(r), n], l = s[0], c = s.reduce((d, u) => {
|
|
5784
|
-
const m =
|
|
5784
|
+
const m = pr(t, u, a);
|
|
5785
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;
|
|
5786
|
-
},
|
|
5786
|
+
}, pr(t, l, a));
|
|
5787
5787
|
return {
|
|
5788
5788
|
width: c.right - c.left,
|
|
5789
5789
|
height: c.bottom - c.top,
|
|
@@ -5795,7 +5795,7 @@ function Zi(e) {
|
|
|
5795
5795
|
const {
|
|
5796
5796
|
width: t,
|
|
5797
5797
|
height: r
|
|
5798
|
-
} =
|
|
5798
|
+
} = rn(e);
|
|
5799
5799
|
return {
|
|
5800
5800
|
width: t,
|
|
5801
5801
|
height: r
|
|
@@ -5812,12 +5812,12 @@ function Ji(e, t, r) {
|
|
|
5812
5812
|
c.x = gt(a);
|
|
5813
5813
|
}
|
|
5814
5814
|
if (n || !n && !o)
|
|
5815
|
-
if ((Le(t) !== "body" ||
|
|
5815
|
+
if ((Le(t) !== "body" || Ge(a)) && (l = mt(t)), n) {
|
|
5816
5816
|
const g = xe(t, !0, o, t);
|
|
5817
5817
|
c.x = g.x + t.clientLeft, c.y = g.y + t.clientTop;
|
|
5818
5818
|
} else a && d();
|
|
5819
5819
|
o && !n && a && d();
|
|
5820
|
-
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;
|
|
5821
5821
|
return {
|
|
5822
5822
|
x: m,
|
|
5823
5823
|
y: p,
|
|
@@ -5828,7 +5828,7 @@ function Ji(e, t, r) {
|
|
|
5828
5828
|
function yt(e) {
|
|
5829
5829
|
return J(e).position === "static";
|
|
5830
5830
|
}
|
|
5831
|
-
function
|
|
5831
|
+
function fr(e, t) {
|
|
5832
5832
|
if (!ae(e) || J(e).position === "fixed")
|
|
5833
5833
|
return null;
|
|
5834
5834
|
if (t)
|
|
@@ -5836,7 +5836,7 @@ function yr(e, t) {
|
|
|
5836
5836
|
let r = e.offsetParent;
|
|
5837
5837
|
return oe(e) === r && (r = r.ownerDocument.body), r;
|
|
5838
5838
|
}
|
|
5839
|
-
function
|
|
5839
|
+
function sn(e, t) {
|
|
5840
5840
|
const r = X(e);
|
|
5841
5841
|
if (ut(e))
|
|
5842
5842
|
return r;
|
|
@@ -5849,13 +5849,13 @@ function dn(e, t) {
|
|
|
5849
5849
|
}
|
|
5850
5850
|
return r;
|
|
5851
5851
|
}
|
|
5852
|
-
let n =
|
|
5852
|
+
let n = fr(e, t);
|
|
5853
5853
|
for (; n && Oi(n) && yt(n); )
|
|
5854
|
-
n =
|
|
5855
|
-
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;
|
|
5856
5856
|
}
|
|
5857
5857
|
const es = async function(e) {
|
|
5858
|
-
const t = this.getOffsetParent ||
|
|
5858
|
+
const t = this.getOffsetParent || sn, r = this.getDimensions, n = await r(e.floating);
|
|
5859
5859
|
return {
|
|
5860
5860
|
reference: Ji(e.reference, await t(e.floating), e.strategy),
|
|
5861
5861
|
floating: {
|
|
@@ -5873,7 +5873,7 @@ const rs = {
|
|
|
5873
5873
|
convertOffsetParentRelativeRectToViewportRelativeRect: Hi,
|
|
5874
5874
|
getDocumentElement: oe,
|
|
5875
5875
|
getClippingRect: Xi,
|
|
5876
|
-
getOffsetParent:
|
|
5876
|
+
getOffsetParent: sn,
|
|
5877
5877
|
getElementRects: es,
|
|
5878
5878
|
getClientRects: Ui,
|
|
5879
5879
|
getDimensions: Zi,
|
|
@@ -5881,7 +5881,7 @@ const rs = {
|
|
|
5881
5881
|
isElement: Z,
|
|
5882
5882
|
isRTL: ts
|
|
5883
5883
|
};
|
|
5884
|
-
function
|
|
5884
|
+
function ln(e, t) {
|
|
5885
5885
|
return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
|
|
5886
5886
|
}
|
|
5887
5887
|
function ns(e, t) {
|
|
@@ -5901,7 +5901,7 @@ function ns(e, t) {
|
|
|
5901
5901
|
} = d;
|
|
5902
5902
|
if (l || t(), !p || !g)
|
|
5903
5903
|
return;
|
|
5904
|
-
const f =
|
|
5904
|
+
const f = Qe(m), b = Qe(a.clientWidth - (u + p)), w = Qe(a.clientHeight - (m + g)), k = Qe(u), S = {
|
|
5905
5905
|
rootMargin: -f + "px " + -b + "px " + -w + "px " + -k + "px",
|
|
5906
5906
|
threshold: Q(0, pe(1, c)) || 1
|
|
5907
5907
|
};
|
|
@@ -5915,7 +5915,7 @@ function ns(e, t) {
|
|
|
5915
5915
|
s(!1, 1e-7);
|
|
5916
5916
|
}, 1e3);
|
|
5917
5917
|
}
|
|
5918
|
-
A === 1 && !
|
|
5918
|
+
A === 1 && !ln(d, e.getBoundingClientRect()) && s(), E = !1;
|
|
5919
5919
|
}
|
|
5920
5920
|
try {
|
|
5921
5921
|
r = new IntersectionObserver(N, {
|
|
@@ -5938,7 +5938,7 @@ function as(e, t, r, n) {
|
|
|
5938
5938
|
elementResize: s = typeof ResizeObserver == "function",
|
|
5939
5939
|
layoutShift: l = typeof IntersectionObserver == "function",
|
|
5940
5940
|
animationFrame: c = !1
|
|
5941
|
-
} = n, d =
|
|
5941
|
+
} = n, d = Ft(e), u = a || o ? [...d ? Fe(d) : [], ...Fe(t)] : [];
|
|
5942
5942
|
u.forEach((k) => {
|
|
5943
5943
|
a && k.addEventListener("scroll", r, {
|
|
5944
5944
|
passive: !0
|
|
@@ -5957,7 +5957,7 @@ function as(e, t, r, n) {
|
|
|
5957
5957
|
c && w();
|
|
5958
5958
|
function w() {
|
|
5959
5959
|
const k = xe(e);
|
|
5960
|
-
b && !
|
|
5960
|
+
b && !ln(b, k) && r(), b = k, f = requestAnimationFrame(w);
|
|
5961
5961
|
}
|
|
5962
5962
|
return r(), () => {
|
|
5963
5963
|
var k;
|
|
@@ -5966,7 +5966,7 @@ function as(e, t, r, n) {
|
|
|
5966
5966
|
}), m?.(), (k = g) == null || k.disconnect(), g = null, c && cancelAnimationFrame(f);
|
|
5967
5967
|
};
|
|
5968
5968
|
}
|
|
5969
|
-
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) => {
|
|
5970
5970
|
const n = /* @__PURE__ */ new Map(), a = {
|
|
5971
5971
|
platform: rs,
|
|
5972
5972
|
...r
|
|
@@ -5980,7 +5980,7 @@ const os = Ti, is = $i, ss = Ei, ls = Ii, cs = Ai, br = Ni, ds = Li, us = (e, t,
|
|
|
5980
5980
|
});
|
|
5981
5981
|
};
|
|
5982
5982
|
var ms = typeof document < "u", gs = function() {
|
|
5983
|
-
},
|
|
5983
|
+
}, Je = ms ? Er : gs;
|
|
5984
5984
|
function at(e, t) {
|
|
5985
5985
|
if (e === t)
|
|
5986
5986
|
return !0;
|
|
@@ -6011,16 +6011,16 @@ function at(e, t) {
|
|
|
6011
6011
|
}
|
|
6012
6012
|
return e !== e && t !== t;
|
|
6013
6013
|
}
|
|
6014
|
-
function
|
|
6014
|
+
function cn(e) {
|
|
6015
6015
|
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
6016
6016
|
}
|
|
6017
|
-
function
|
|
6018
|
-
const r =
|
|
6017
|
+
function yr(e, t) {
|
|
6018
|
+
const r = cn(e);
|
|
6019
6019
|
return Math.round(t * r) / r;
|
|
6020
6020
|
}
|
|
6021
6021
|
function bt(e) {
|
|
6022
6022
|
const t = x.useRef(e);
|
|
6023
|
-
return
|
|
6023
|
+
return Je(() => {
|
|
6024
6024
|
t.current = e;
|
|
6025
6025
|
}), t;
|
|
6026
6026
|
}
|
|
@@ -6068,21 +6068,21 @@ function ps(e) {
|
|
|
6068
6068
|
// setting it to `true` when `open === false` (must be specified).
|
|
6069
6069
|
isPositioned: U.current !== !1
|
|
6070
6070
|
};
|
|
6071
|
-
B.current && !at(O.current, ee) && (O.current = ee,
|
|
6071
|
+
B.current && !at(O.current, ee) && (O.current = ee, Br.flushSync(() => {
|
|
6072
6072
|
m(ee);
|
|
6073
6073
|
}));
|
|
6074
6074
|
});
|
|
6075
6075
|
}, [p, t, r, z, U]);
|
|
6076
|
-
|
|
6076
|
+
Je(() => {
|
|
6077
6077
|
d === !1 && O.current.isPositioned && (O.current.isPositioned = !1, m((L) => ({
|
|
6078
6078
|
...L,
|
|
6079
6079
|
isPositioned: !1
|
|
6080
6080
|
})));
|
|
6081
6081
|
}, [d]);
|
|
6082
6082
|
const B = x.useRef(!1);
|
|
6083
|
-
|
|
6083
|
+
Je(() => (B.current = !0, () => {
|
|
6084
6084
|
B.current = !1;
|
|
6085
|
-
}), []),
|
|
6085
|
+
}), []), Je(() => {
|
|
6086
6086
|
if (E && ($.current = E), N && (A.current = N), E && N) {
|
|
6087
6087
|
if (M.current)
|
|
6088
6088
|
return M.current(E, N, W);
|
|
@@ -6105,11 +6105,11 @@ function ps(e) {
|
|
|
6105
6105
|
};
|
|
6106
6106
|
if (!j.floating)
|
|
6107
6107
|
return L;
|
|
6108
|
-
const Y =
|
|
6108
|
+
const Y = yr(j.floating, u.x), ee = yr(j.floating, u.y);
|
|
6109
6109
|
return l ? {
|
|
6110
6110
|
...L,
|
|
6111
6111
|
transform: "translate(" + Y + "px, " + ee + "px)",
|
|
6112
|
-
...
|
|
6112
|
+
...cn(j.floating) >= 1.5 && {
|
|
6113
6113
|
willChange: "transform"
|
|
6114
6114
|
}
|
|
6115
6115
|
} : {
|
|
@@ -6138,10 +6138,10 @@ const fs = (e) => {
|
|
|
6138
6138
|
element: n,
|
|
6139
6139
|
padding: a
|
|
6140
6140
|
} = typeof e == "function" ? e(r) : e;
|
|
6141
|
-
return n && t(n) ? n.current != null ?
|
|
6141
|
+
return n && t(n) ? n.current != null ? hr({
|
|
6142
6142
|
element: n.current,
|
|
6143
6143
|
padding: a
|
|
6144
|
-
}).fn(r) : {} : n ?
|
|
6144
|
+
}).fn(r) : {} : n ? hr({
|
|
6145
6145
|
element: n,
|
|
6146
6146
|
padding: a
|
|
6147
6147
|
}).fn(r) : {};
|
|
@@ -6169,7 +6169,7 @@ const fs = (e) => {
|
|
|
6169
6169
|
...fs(e),
|
|
6170
6170
|
options: [e, t]
|
|
6171
6171
|
});
|
|
6172
|
-
var Cs = "Arrow",
|
|
6172
|
+
var Cs = "Arrow", dn = x.forwardRef((e, t) => {
|
|
6173
6173
|
const { children: r, width: n = 10, height: a = 5, ...o } = e;
|
|
6174
6174
|
return /* @__PURE__ */ i(
|
|
6175
6175
|
he.svg,
|
|
@@ -6184,8 +6184,8 @@ var Cs = "Arrow", gn = x.forwardRef((e, t) => {
|
|
|
6184
6184
|
}
|
|
6185
6185
|
);
|
|
6186
6186
|
});
|
|
6187
|
-
|
|
6188
|
-
var Ss =
|
|
6187
|
+
dn.displayName = Cs;
|
|
6188
|
+
var Ss = dn;
|
|
6189
6189
|
function Ns(e) {
|
|
6190
6190
|
const [t, r] = x.useState(void 0);
|
|
6191
6191
|
return ge(() => {
|
|
@@ -6208,22 +6208,22 @@ function Ns(e) {
|
|
|
6208
6208
|
r(void 0);
|
|
6209
6209
|
}, [e]), t;
|
|
6210
6210
|
}
|
|
6211
|
-
var
|
|
6211
|
+
var _t = "Popper", [un, mn] = Kr(_t), [Es, gn] = un(_t), pn = (e) => {
|
|
6212
6212
|
const { __scopePopper: t, children: r } = e, [n, a] = x.useState(null);
|
|
6213
6213
|
return /* @__PURE__ */ i(Es, { scope: t, anchor: n, onAnchorChange: a, children: r });
|
|
6214
6214
|
};
|
|
6215
|
-
|
|
6216
|
-
var
|
|
6215
|
+
pn.displayName = _t;
|
|
6216
|
+
var fn = "PopperAnchor", hn = x.forwardRef(
|
|
6217
6217
|
(e, t) => {
|
|
6218
|
-
const { __scopePopper: r, virtualRef: n, ...a } = e, o =
|
|
6218
|
+
const { __scopePopper: r, virtualRef: n, ...a } = e, o = gn(fn, r), s = x.useRef(null), l = we(t, s), c = x.useRef(null);
|
|
6219
6219
|
return x.useEffect(() => {
|
|
6220
6220
|
const d = c.current;
|
|
6221
6221
|
c.current = n?.current || s.current, d !== c.current && o.onAnchorChange(c.current);
|
|
6222
6222
|
}), n ? null : /* @__PURE__ */ i(he.div, { ...a, ref: l });
|
|
6223
6223
|
}
|
|
6224
6224
|
);
|
|
6225
|
-
|
|
6226
|
-
var
|
|
6225
|
+
hn.displayName = fn;
|
|
6226
|
+
var Vt = "PopperContent", [As, Ps] = un(Vt), yn = x.forwardRef(
|
|
6227
6227
|
(e, t) => {
|
|
6228
6228
|
const {
|
|
6229
6229
|
__scopePopper: r,
|
|
@@ -6240,7 +6240,7 @@ var Ut = "PopperContent", [As, Ps] = pn(Ut), vn = x.forwardRef(
|
|
|
6240
6240
|
updatePositionStrategy: g = "optimized",
|
|
6241
6241
|
onPlaced: f,
|
|
6242
6242
|
...b
|
|
6243
|
-
} = 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 = {
|
|
6244
6244
|
padding: M,
|
|
6245
6245
|
boundary: z.filter($s),
|
|
6246
6246
|
// with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
|
|
@@ -6266,22 +6266,22 @@ var Ut = "PopperContent", [As, Ps] = pn(Ut), vn = x.forwardRef(
|
|
|
6266
6266
|
c && xs({ ...W }),
|
|
6267
6267
|
vs({
|
|
6268
6268
|
...W,
|
|
6269
|
-
apply: ({ elements: Ie, rects:
|
|
6270
|
-
const { width:
|
|
6271
|
-
|
|
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`);
|
|
6272
6272
|
}
|
|
6273
6273
|
}),
|
|
6274
6274
|
E && ks({ element: E, padding: l }),
|
|
6275
6275
|
Ls({ arrowWidth: A, arrowHeight: O }),
|
|
6276
6276
|
p && ws({ strategy: "referenceHidden", ...W })
|
|
6277
6277
|
]
|
|
6278
|
-
}), [Y, ee] =
|
|
6278
|
+
}), [Y, ee] = vn(j), Yt = ct(f);
|
|
6279
6279
|
ge(() => {
|
|
6280
|
-
K &&
|
|
6281
|
-
}, [K,
|
|
6282
|
-
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();
|
|
6283
6283
|
return ge(() => {
|
|
6284
|
-
k &&
|
|
6284
|
+
k && jn(window.getComputedStyle(k).zIndex);
|
|
6285
6285
|
}, [k]), /* @__PURE__ */ i(
|
|
6286
6286
|
"div",
|
|
6287
6287
|
{
|
|
@@ -6292,7 +6292,7 @@ var Ut = "PopperContent", [As, Ps] = pn(Ut), vn = x.forwardRef(
|
|
|
6292
6292
|
transform: K ? G.transform : "translate(0, -200%)",
|
|
6293
6293
|
// keep off the page when measuring
|
|
6294
6294
|
minWidth: "max-content",
|
|
6295
|
-
zIndex:
|
|
6295
|
+
zIndex: Bn,
|
|
6296
6296
|
"--radix-popper-transform-origin": [
|
|
6297
6297
|
L.transformOrigin?.x,
|
|
6298
6298
|
L.transformOrigin?.y
|
|
@@ -6312,9 +6312,9 @@ var Ut = "PopperContent", [As, Ps] = pn(Ut), vn = x.forwardRef(
|
|
|
6312
6312
|
scope: r,
|
|
6313
6313
|
placedSide: Y,
|
|
6314
6314
|
onArrowChange: N,
|
|
6315
|
-
arrowX:
|
|
6316
|
-
arrowY:
|
|
6317
|
-
shouldHideArrow:
|
|
6315
|
+
arrowX: Dn,
|
|
6316
|
+
arrowY: zn,
|
|
6317
|
+
shouldHideArrow: Wn,
|
|
6318
6318
|
children: /* @__PURE__ */ i(
|
|
6319
6319
|
he.div,
|
|
6320
6320
|
{
|
|
@@ -6336,14 +6336,14 @@ var Ut = "PopperContent", [As, Ps] = pn(Ut), vn = x.forwardRef(
|
|
|
6336
6336
|
);
|
|
6337
6337
|
}
|
|
6338
6338
|
);
|
|
6339
|
-
|
|
6340
|
-
var
|
|
6339
|
+
yn.displayName = Vt;
|
|
6340
|
+
var bn = "PopperArrow", Ts = {
|
|
6341
6341
|
top: "bottom",
|
|
6342
6342
|
right: "left",
|
|
6343
6343
|
bottom: "top",
|
|
6344
6344
|
left: "right"
|
|
6345
|
-
},
|
|
6346
|
-
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];
|
|
6347
6347
|
return (
|
|
6348
6348
|
// we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)
|
|
6349
6349
|
// doesn't report size as we'd expect on SVG elements.
|
|
@@ -6387,7 +6387,7 @@ var wn = "PopperArrow", Ts = {
|
|
|
6387
6387
|
)
|
|
6388
6388
|
);
|
|
6389
6389
|
});
|
|
6390
|
-
|
|
6390
|
+
xn.displayName = bn;
|
|
6391
6391
|
function $s(e) {
|
|
6392
6392
|
return e !== null;
|
|
6393
6393
|
}
|
|
@@ -6395,30 +6395,30 @@ var Ls = (e) => ({
|
|
|
6395
6395
|
name: "transformOrigin",
|
|
6396
6396
|
options: e,
|
|
6397
6397
|
fn(t) {
|
|
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] =
|
|
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;
|
|
6399
6399
|
let f = "", b = "";
|
|
6400
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 } };
|
|
6401
6401
|
}
|
|
6402
6402
|
});
|
|
6403
|
-
function
|
|
6403
|
+
function vn(e) {
|
|
6404
6404
|
const [t, r = "center"] = e.split("-");
|
|
6405
6405
|
return [t, r];
|
|
6406
6406
|
}
|
|
6407
|
-
var Is =
|
|
6407
|
+
var Is = pn, Rs = hn, Ms = yn, Os = xn, Ds = "Portal", wn = x.forwardRef((e, t) => {
|
|
6408
6408
|
const { container: r, ...n } = e, [a, o] = x.useState(!1);
|
|
6409
6409
|
ge(() => o(!0), []);
|
|
6410
6410
|
const s = r || a && globalThis?.document?.body;
|
|
6411
|
-
return s ?
|
|
6411
|
+
return s ? wa.createPortal(/* @__PURE__ */ i(he.div, { ...n, ref: t }), s) : null;
|
|
6412
6412
|
});
|
|
6413
|
-
|
|
6413
|
+
wn.displayName = Ds;
|
|
6414
6414
|
function zs(e, t) {
|
|
6415
6415
|
return x.useReducer((r, n) => t[r][n] ?? r, e);
|
|
6416
6416
|
}
|
|
6417
|
-
var
|
|
6417
|
+
var Ht = (e) => {
|
|
6418
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));
|
|
6419
6419
|
return typeof r == "function" || n.isPresent ? x.cloneElement(a, { ref: o }) : null;
|
|
6420
6420
|
};
|
|
6421
|
-
|
|
6421
|
+
Ht.displayName = "Presence";
|
|
6422
6422
|
function Ws(e) {
|
|
6423
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, {
|
|
6424
6424
|
mounted: {
|
|
@@ -6434,19 +6434,19 @@ function Ws(e) {
|
|
|
6434
6434
|
}
|
|
6435
6435
|
});
|
|
6436
6436
|
return x.useEffect(() => {
|
|
6437
|
-
const d =
|
|
6437
|
+
const d = Xe(n.current);
|
|
6438
6438
|
o.current = l === "mounted" ? d : "none";
|
|
6439
6439
|
}, [l]), ge(() => {
|
|
6440
6440
|
const d = n.current, u = a.current;
|
|
6441
6441
|
if (u !== e) {
|
|
6442
|
-
const p = o.current, g =
|
|
6442
|
+
const p = o.current, g = Xe(d);
|
|
6443
6443
|
e ? c("MOUNT") : g === "none" || d?.display === "none" ? c("UNMOUNT") : c(u && p !== g ? "ANIMATION_OUT" : "UNMOUNT"), a.current = e;
|
|
6444
6444
|
}
|
|
6445
6445
|
}, [e, c]), ge(() => {
|
|
6446
6446
|
if (t) {
|
|
6447
6447
|
let d;
|
|
6448
6448
|
const u = t.ownerDocument.defaultView ?? window, m = (g) => {
|
|
6449
|
-
const b =
|
|
6449
|
+
const b = Xe(n.current).includes(CSS.escape(g.animationName));
|
|
6450
6450
|
if (g.target === t && b && (c("ANIMATION_END"), !a.current)) {
|
|
6451
6451
|
const w = t.style.animationFillMode;
|
|
6452
6452
|
t.style.animationFillMode = "forwards", d = u.setTimeout(() => {
|
|
@@ -6454,7 +6454,7 @@ function Ws(e) {
|
|
|
6454
6454
|
});
|
|
6455
6455
|
}
|
|
6456
6456
|
}, p = (g) => {
|
|
6457
|
-
g.target === t && (o.current =
|
|
6457
|
+
g.target === t && (o.current = Xe(n.current));
|
|
6458
6458
|
};
|
|
6459
6459
|
return t.addEventListener("animationstart", p), t.addEventListener("animationcancel", m), t.addEventListener("animationend", m), () => {
|
|
6460
6460
|
u.clearTimeout(d), t.removeEventListener("animationstart", p), t.removeEventListener("animationcancel", m), t.removeEventListener("animationend", m);
|
|
@@ -6468,7 +6468,7 @@ function Ws(e) {
|
|
|
6468
6468
|
}, [])
|
|
6469
6469
|
};
|
|
6470
6470
|
}
|
|
6471
|
-
function
|
|
6471
|
+
function Xe(e) {
|
|
6472
6472
|
return e?.animationName || "none";
|
|
6473
6473
|
}
|
|
6474
6474
|
function Bs(e) {
|
|
@@ -6534,7 +6534,7 @@ var Hs = Object.freeze({
|
|
|
6534
6534
|
clip: "rect(0, 0, 0, 0)",
|
|
6535
6535
|
whiteSpace: "nowrap",
|
|
6536
6536
|
wordWrap: "normal"
|
|
6537
|
-
}), Us = "VisuallyHidden",
|
|
6537
|
+
}), Us = "VisuallyHidden", kn = x.forwardRef(
|
|
6538
6538
|
(e, t) => /* @__PURE__ */ i(
|
|
6539
6539
|
he.span,
|
|
6540
6540
|
{
|
|
@@ -6544,10 +6544,10 @@ var Hs = Object.freeze({
|
|
|
6544
6544
|
}
|
|
6545
6545
|
)
|
|
6546
6546
|
);
|
|
6547
|
-
|
|
6548
|
-
var qs =
|
|
6549
|
-
|
|
6550
|
-
]), 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) => {
|
|
6551
6551
|
const {
|
|
6552
6552
|
__scopeTooltip: t,
|
|
6553
6553
|
delayDuration: r = Gs,
|
|
@@ -6582,8 +6582,8 @@ var qs = Nn, [pt] = Xr("Tooltip", [
|
|
|
6582
6582
|
}
|
|
6583
6583
|
);
|
|
6584
6584
|
};
|
|
6585
|
-
|
|
6586
|
-
var
|
|
6585
|
+
Sn.displayName = Cn;
|
|
6586
|
+
var _e = "Tooltip", [Ys, Ke] = pt(_e), Nn = (e) => {
|
|
6587
6587
|
const {
|
|
6588
6588
|
__scopeTooltip: t,
|
|
6589
6589
|
children: r,
|
|
@@ -6592,13 +6592,13 @@ var Ve = "Tooltip", [Ys, Ye] = pt(Ve), Pn = (e) => {
|
|
|
6592
6592
|
onOpenChange: o,
|
|
6593
6593
|
disableHoverableContent: s,
|
|
6594
6594
|
delayDuration: l
|
|
6595
|
-
} = 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({
|
|
6596
6596
|
prop: n,
|
|
6597
6597
|
defaultProp: a ?? !1,
|
|
6598
6598
|
onChange: (A) => {
|
|
6599
6599
|
A ? (c.onOpen(), document.dispatchEvent(new CustomEvent(Tt))) : c.onClose(), o?.(A);
|
|
6600
6600
|
},
|
|
6601
|
-
caller:
|
|
6601
|
+
caller: _e
|
|
6602
6602
|
}), S = x.useMemo(() => k ? w.current ? "delayed-open" : "instant-open" : "closed", [k]), E = x.useCallback(() => {
|
|
6603
6603
|
window.clearTimeout(g.current), g.current = 0, w.current = !1, C(!0);
|
|
6604
6604
|
}, [C]), N = x.useCallback(() => {
|
|
@@ -6632,10 +6632,10 @@ var Ve = "Tooltip", [Ys, Ye] = pt(Ve), Pn = (e) => {
|
|
|
6632
6632
|
}
|
|
6633
6633
|
) });
|
|
6634
6634
|
};
|
|
6635
|
-
|
|
6636
|
-
var $t = "TooltipTrigger",
|
|
6635
|
+
Nn.displayName = _e;
|
|
6636
|
+
var $t = "TooltipTrigger", En = x.forwardRef(
|
|
6637
6637
|
(e, t) => {
|
|
6638
|
-
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, []);
|
|
6639
6639
|
return x.useEffect(() => () => document.removeEventListener("pointerup", m), [m]), /* @__PURE__ */ i(Rs, { asChild: !0, ...s, children: /* @__PURE__ */ i(
|
|
6640
6640
|
he.button,
|
|
6641
6641
|
{
|
|
@@ -6661,21 +6661,21 @@ var $t = "TooltipTrigger", Tn = x.forwardRef(
|
|
|
6661
6661
|
) });
|
|
6662
6662
|
}
|
|
6663
6663
|
);
|
|
6664
|
-
|
|
6665
|
-
var
|
|
6664
|
+
En.displayName = $t;
|
|
6665
|
+
var qt = "TooltipPortal", [Qs, Xs] = pt(qt, {
|
|
6666
6666
|
forceMount: void 0
|
|
6667
|
-
}),
|
|
6668
|
-
const { __scopeTooltip: t, forceMount: r, children: n, container: a } = e, o =
|
|
6669
|
-
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 }) }) });
|
|
6670
6670
|
};
|
|
6671
|
-
|
|
6672
|
-
var Pe = "TooltipContent",
|
|
6671
|
+
An.displayName = qt;
|
|
6672
|
+
var Pe = "TooltipContent", Pn = x.forwardRef(
|
|
6673
6673
|
(e, t) => {
|
|
6674
|
-
const r = Xs(Pe, e.__scopeTooltip), { forceMount: n = r.forceMount, side: a = "top", ...o } = e, s =
|
|
6675
|
-
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 }) });
|
|
6676
6676
|
}
|
|
6677
6677
|
), Zs = x.forwardRef((e, t) => {
|
|
6678
|
-
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(() => {
|
|
6679
6679
|
l(null), m(!1);
|
|
6680
6680
|
}, [m]), g = x.useCallback(
|
|
6681
6681
|
(f, b) => {
|
|
@@ -6699,8 +6699,8 @@ var Pe = "TooltipContent", Ln = x.forwardRef(
|
|
|
6699
6699
|
};
|
|
6700
6700
|
return document.addEventListener("pointermove", f), () => document.removeEventListener("pointermove", f);
|
|
6701
6701
|
}
|
|
6702
|
-
}, [c, u, s, d, p]), /* @__PURE__ */ i(
|
|
6703
|
-
}), [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(
|
|
6704
6704
|
(e, t) => {
|
|
6705
6705
|
const {
|
|
6706
6706
|
__scopeTooltip: r,
|
|
@@ -6709,7 +6709,7 @@ var Pe = "TooltipContent", Ln = x.forwardRef(
|
|
|
6709
6709
|
onEscapeKeyDown: o,
|
|
6710
6710
|
onPointerDownOutside: s,
|
|
6711
6711
|
...l
|
|
6712
|
-
} = e, c =
|
|
6712
|
+
} = e, c = Ke(Pe, r), d = ft(r), { onClose: u } = c;
|
|
6713
6713
|
return x.useEffect(() => (document.addEventListener(Tt, u), () => document.removeEventListener(Tt, u)), [u]), x.useEffect(() => {
|
|
6714
6714
|
if (c.trigger) {
|
|
6715
6715
|
const m = (p) => {
|
|
@@ -6718,7 +6718,7 @@ var Pe = "TooltipContent", Ln = x.forwardRef(
|
|
|
6718
6718
|
return window.addEventListener("scroll", m, { capture: !0 }), () => window.removeEventListener("scroll", m, { capture: !0 });
|
|
6719
6719
|
}
|
|
6720
6720
|
}, [c.trigger, u]), /* @__PURE__ */ i(
|
|
6721
|
-
|
|
6721
|
+
Qr,
|
|
6722
6722
|
{
|
|
6723
6723
|
asChild: !0,
|
|
6724
6724
|
disableOutsidePointerEvents: !1,
|
|
@@ -6751,17 +6751,17 @@ var Pe = "TooltipContent", Ln = x.forwardRef(
|
|
|
6751
6751
|
);
|
|
6752
6752
|
}
|
|
6753
6753
|
);
|
|
6754
|
-
|
|
6755
|
-
var
|
|
6754
|
+
Pn.displayName = Pe;
|
|
6755
|
+
var $n = "TooltipArrow", Ln = x.forwardRef(
|
|
6756
6756
|
(e, t) => {
|
|
6757
6757
|
const { __scopeTooltip: r, ...n } = e, a = ft(r);
|
|
6758
6758
|
return el(
|
|
6759
|
-
|
|
6759
|
+
$n,
|
|
6760
6760
|
r
|
|
6761
6761
|
).isInside ? null : /* @__PURE__ */ i(Os, { ...a, ...n, ref: t });
|
|
6762
6762
|
}
|
|
6763
6763
|
);
|
|
6764
|
-
|
|
6764
|
+
Ln.displayName = $n;
|
|
6765
6765
|
function rl(e, t) {
|
|
6766
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);
|
|
6767
6767
|
switch (Math.min(r, n, a, o)) {
|
|
@@ -6854,7 +6854,7 @@ function sl(e) {
|
|
|
6854
6854
|
}
|
|
6855
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);
|
|
6856
6856
|
}
|
|
6857
|
-
var ll =
|
|
6857
|
+
var ll = Sn, cl = Nn, dl = En, ul = An, ml = Pn, gl = Ln;
|
|
6858
6858
|
const pl = {
|
|
6859
6859
|
operational: {
|
|
6860
6860
|
color: "bg-green-500/80",
|
|
@@ -6876,7 +6876,7 @@ const pl = {
|
|
|
6876
6876
|
sm: "w-2 h-2",
|
|
6877
6877
|
md: "w-3 h-3",
|
|
6878
6878
|
lg: "w-4 h-4"
|
|
6879
|
-
},
|
|
6879
|
+
}, Lu = ({
|
|
6880
6880
|
statusPageUrl: e = "/status",
|
|
6881
6881
|
apiEndpoint: t,
|
|
6882
6882
|
refreshInterval: r = 6e4,
|
|
@@ -6993,7 +6993,7 @@ const pl = {
|
|
|
6993
6993
|
icon: "h-5 w-5 mr-2",
|
|
6994
6994
|
text: "font-semibold"
|
|
6995
6995
|
}
|
|
6996
|
-
},
|
|
6996
|
+
}, Iu = ({
|
|
6997
6997
|
icon: e,
|
|
6998
6998
|
text: t,
|
|
6999
6999
|
variant: r = "default",
|
|
@@ -7048,7 +7048,7 @@ const pl = {
|
|
|
7048
7048
|
align: "left",
|
|
7049
7049
|
color: "default"
|
|
7050
7050
|
}
|
|
7051
|
-
}),
|
|
7051
|
+
}), Ru = ({
|
|
7052
7052
|
children: e,
|
|
7053
7053
|
variant: t = "h1",
|
|
7054
7054
|
responsive: r = !0,
|
|
@@ -7092,7 +7092,7 @@ const pl = {
|
|
|
7092
7092
|
spacing: "md",
|
|
7093
7093
|
align: "left"
|
|
7094
7094
|
}
|
|
7095
|
-
}),
|
|
7095
|
+
}), Mu = ({
|
|
7096
7096
|
children: e,
|
|
7097
7097
|
variant: t = "h2",
|
|
7098
7098
|
spacing: r = "md",
|
|
@@ -7137,7 +7137,7 @@ const pl = {
|
|
|
7137
7137
|
color: "default",
|
|
7138
7138
|
align: "left"
|
|
7139
7139
|
}
|
|
7140
|
-
}),
|
|
7140
|
+
}), Ou = ({
|
|
7141
7141
|
children: e,
|
|
7142
7142
|
variant: t = "body",
|
|
7143
7143
|
color: r = "default",
|
|
@@ -7165,7 +7165,7 @@ const pl = {
|
|
|
7165
7165
|
variant: "default",
|
|
7166
7166
|
external: !1
|
|
7167
7167
|
}
|
|
7168
|
-
}),
|
|
7168
|
+
}), Du = ({
|
|
7169
7169
|
children: e,
|
|
7170
7170
|
href: t,
|
|
7171
7171
|
variant: r = "default",
|
|
@@ -7229,7 +7229,7 @@ const pl = {
|
|
|
7229
7229
|
size: "default"
|
|
7230
7230
|
}
|
|
7231
7231
|
}
|
|
7232
|
-
),
|
|
7232
|
+
), In = x.forwardRef(
|
|
7233
7233
|
({ className: e, variant: t, size: r, to: n, href: a, external: o, children: s, ...l }, c) => {
|
|
7234
7234
|
const d = n || a;
|
|
7235
7235
|
return d ? o || d.startsWith("http") || d.startsWith("mailto:") ? /* @__PURE__ */ i(
|
|
@@ -7268,8 +7268,8 @@ const pl = {
|
|
|
7268
7268
|
);
|
|
7269
7269
|
}
|
|
7270
7270
|
);
|
|
7271
|
-
|
|
7272
|
-
const
|
|
7271
|
+
In.displayName = "SmartLink";
|
|
7272
|
+
const zu = (e, t) => x.useMemo(() => {
|
|
7273
7273
|
let r = e;
|
|
7274
7274
|
return Object.entries(t).forEach(([n, a]) => {
|
|
7275
7275
|
const o = new RegExp(
|
|
@@ -7324,7 +7324,7 @@ const Wu = (e, t) => x.useMemo(() => {
|
|
|
7324
7324
|
support: "/contact",
|
|
7325
7325
|
help: "/document",
|
|
7326
7326
|
"contact us": "/contact"
|
|
7327
|
-
},
|
|
7327
|
+
}, Wu = ({
|
|
7328
7328
|
children: e,
|
|
7329
7329
|
mappings: t = wl,
|
|
7330
7330
|
className: r,
|
|
@@ -7358,7 +7358,7 @@ const Wu = (e, t) => x.useMemo(() => {
|
|
|
7358
7358
|
);
|
|
7359
7359
|
if (c) {
|
|
7360
7360
|
const [, d, u] = c;
|
|
7361
|
-
return /* @__PURE__ */ i(
|
|
7361
|
+
return /* @__PURE__ */ i(In, { to: d, variant: n, children: u }, l);
|
|
7362
7362
|
}
|
|
7363
7363
|
return s;
|
|
7364
7364
|
}) });
|
|
@@ -7436,7 +7436,7 @@ const Wu = (e, t) => x.useMemo(() => {
|
|
|
7436
7436
|
onClick: t,
|
|
7437
7437
|
className: T.overlays.modal.closeButton(),
|
|
7438
7438
|
"aria-label": g,
|
|
7439
|
-
children: /* @__PURE__ */ i(
|
|
7439
|
+
children: /* @__PURE__ */ i(ca, { className: T.icon.variant.muted.md() })
|
|
7440
7440
|
}
|
|
7441
7441
|
)
|
|
7442
7442
|
] }),
|
|
@@ -7447,8 +7447,8 @@ const Wu = (e, t) => x.useMemo(() => {
|
|
|
7447
7447
|
}
|
|
7448
7448
|
)
|
|
7449
7449
|
] });
|
|
7450
|
-
return
|
|
7451
|
-
},
|
|
7450
|
+
return ka(C, document.body);
|
|
7451
|
+
}, Bu = ({
|
|
7452
7452
|
children: e,
|
|
7453
7453
|
variant: t = "default",
|
|
7454
7454
|
className: r
|
|
@@ -7482,11 +7482,11 @@ const Wu = (e, t) => x.useMemo(() => {
|
|
|
7482
7482
|
children: e
|
|
7483
7483
|
}
|
|
7484
7484
|
), Nl = {
|
|
7485
|
-
default:
|
|
7486
|
-
warning:
|
|
7487
|
-
danger:
|
|
7488
|
-
success:
|
|
7489
|
-
info:
|
|
7485
|
+
default: et,
|
|
7486
|
+
warning: Tr,
|
|
7487
|
+
danger: Pr,
|
|
7488
|
+
success: $r,
|
|
7489
|
+
info: et
|
|
7490
7490
|
}, El = {
|
|
7491
7491
|
default: () => T.icon.variant.default.lg(),
|
|
7492
7492
|
warning: () => T.icon.variant.warning.lg(),
|
|
@@ -7499,7 +7499,7 @@ const Wu = (e, t) => x.useMemo(() => {
|
|
|
7499
7499
|
danger: "destructive",
|
|
7500
7500
|
success: "default",
|
|
7501
7501
|
info: "default"
|
|
7502
|
-
},
|
|
7502
|
+
}, ju = ({
|
|
7503
7503
|
isOpen: e,
|
|
7504
7504
|
onClose: t,
|
|
7505
7505
|
onConfirm: r,
|
|
@@ -7584,7 +7584,7 @@ const Wu = (e, t) => x.useMemo(() => {
|
|
|
7584
7584
|
float: "animate-float",
|
|
7585
7585
|
pulse: "animate-pulse",
|
|
7586
7586
|
bounce: "animate-bounce-slow"
|
|
7587
|
-
},
|
|
7587
|
+
}, Fu = ({
|
|
7588
7588
|
children: e,
|
|
7589
7589
|
size: t = "lg",
|
|
7590
7590
|
variant: r = "primary",
|
|
@@ -7649,7 +7649,7 @@ const Wu = (e, t) => x.useMemo(() => {
|
|
|
7649
7649
|
variant: "default"
|
|
7650
7650
|
}
|
|
7651
7651
|
}
|
|
7652
|
-
),
|
|
7652
|
+
), _u = ({
|
|
7653
7653
|
className: e,
|
|
7654
7654
|
variant: t = "default",
|
|
7655
7655
|
size: r = "default",
|
|
@@ -7702,47 +7702,7 @@ const Wu = (e, t) => x.useMemo(() => {
|
|
|
7702
7702
|
/* @__PURE__ */ i("span", { className: v(Ml({ variant: t })), children: n })
|
|
7703
7703
|
] }),
|
|
7704
7704
|
/* @__PURE__ */ i(lt, { to: o, className: v(Ol({ variant: t })), children: a })
|
|
7705
|
-
] }) }) }), Dl =
|
|
7706
|
-
error: {
|
|
7707
|
-
icon: Rr
|
|
7708
|
-
},
|
|
7709
|
-
warning: {
|
|
7710
|
-
icon: It
|
|
7711
|
-
},
|
|
7712
|
-
attention: {
|
|
7713
|
-
icon: Lr
|
|
7714
|
-
},
|
|
7715
|
-
info: {
|
|
7716
|
-
icon: je
|
|
7717
|
-
},
|
|
7718
|
-
success: {
|
|
7719
|
-
icon: Rt
|
|
7720
|
-
}
|
|
7721
|
-
}, Hu = ({
|
|
7722
|
-
type: e,
|
|
7723
|
-
title: t,
|
|
7724
|
-
text: r,
|
|
7725
|
-
className: n
|
|
7726
|
-
}) => {
|
|
7727
|
-
const o = Dl[e].icon, s = Hr[e];
|
|
7728
|
-
return /* @__PURE__ */ h(
|
|
7729
|
-
"div",
|
|
7730
|
-
{
|
|
7731
|
-
className: v(
|
|
7732
|
-
"rounded-lg p-4 flex items-start gap-3",
|
|
7733
|
-
s,
|
|
7734
|
-
n
|
|
7735
|
-
),
|
|
7736
|
-
children: [
|
|
7737
|
-
/* @__PURE__ */ i(o, { className: "h-5 w-5 flex-shrink-0 mt-0.5" }),
|
|
7738
|
-
/* @__PURE__ */ h("div", { className: "flex-1 min-w-0", children: [
|
|
7739
|
-
/* @__PURE__ */ i("h4", { className: "font-semibold mb-1", children: t }),
|
|
7740
|
-
/* @__PURE__ */ i("div", { className: "text-sm font-normal break-words", children: r })
|
|
7741
|
-
] })
|
|
7742
|
-
]
|
|
7743
|
-
}
|
|
7744
|
-
);
|
|
7745
|
-
}, zl = _(
|
|
7705
|
+
] }) }) }), Dl = _(
|
|
7746
7706
|
"bg-white dark:bg-gray-800 rounded-lg shadow-md p-6 transition-all duration-200",
|
|
7747
7707
|
{
|
|
7748
7708
|
variants: {
|
|
@@ -7763,7 +7723,7 @@ const Wu = (e, t) => x.useMemo(() => {
|
|
|
7763
7723
|
trend: "none"
|
|
7764
7724
|
}
|
|
7765
7725
|
}
|
|
7766
|
-
),
|
|
7726
|
+
), Vu = ({
|
|
7767
7727
|
label: e,
|
|
7768
7728
|
value: t,
|
|
7769
7729
|
change: r,
|
|
@@ -7783,7 +7743,7 @@ const Wu = (e, t) => x.useMemo(() => {
|
|
|
7783
7743
|
neutral: "→",
|
|
7784
7744
|
none: ""
|
|
7785
7745
|
};
|
|
7786
|
-
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: [
|
|
7787
7747
|
/* @__PURE__ */ h("div", { children: [
|
|
7788
7748
|
/* @__PURE__ */ i("p", { className: "text-sm font-medium text-gray-600 dark:text-gray-400 mb-1", children: e }),
|
|
7789
7749
|
/* @__PURE__ */ i("p", { className: "text-2xl font-bold text-gray-900 dark:text-white", children: t }),
|
|
@@ -7803,7 +7763,7 @@ const Wu = (e, t) => x.useMemo(() => {
|
|
|
7803
7763
|
] }),
|
|
7804
7764
|
a && /* @__PURE__ */ i("div", { className: "text-3xl opacity-80", children: a })
|
|
7805
7765
|
] }) });
|
|
7806
|
-
},
|
|
7766
|
+
}, zl = _("space-y-6", {
|
|
7807
7767
|
variants: {
|
|
7808
7768
|
variant: {
|
|
7809
7769
|
default: "",
|
|
@@ -7821,20 +7781,20 @@ const Wu = (e, t) => x.useMemo(() => {
|
|
|
7821
7781
|
variant: "default",
|
|
7822
7782
|
spacing: "normal"
|
|
7823
7783
|
}
|
|
7824
|
-
}),
|
|
7784
|
+
}), Hu = ({
|
|
7825
7785
|
title: e,
|
|
7826
7786
|
description: t,
|
|
7827
7787
|
children: r,
|
|
7828
7788
|
variant: n = "default",
|
|
7829
7789
|
spacing: a = "normal",
|
|
7830
7790
|
className: o
|
|
7831
|
-
}) => /* @__PURE__ */ h("div", { className: v(
|
|
7791
|
+
}) => /* @__PURE__ */ h("div", { className: v(zl({ variant: n, spacing: a }), o), children: [
|
|
7832
7792
|
(e || t) && /* @__PURE__ */ h("div", { className: "space-y-1", children: [
|
|
7833
7793
|
e && /* @__PURE__ */ i("h3", { className: "text-lg font-medium text-gray-900 dark:text-white", children: e }),
|
|
7834
7794
|
t && /* @__PURE__ */ i("p", { className: "text-sm text-gray-600 dark:text-gray-400", children: t })
|
|
7835
7795
|
] }),
|
|
7836
7796
|
r
|
|
7837
|
-
] }),
|
|
7797
|
+
] }), Wl = _(
|
|
7838
7798
|
"flex flex-col items-center text-center space-y-4",
|
|
7839
7799
|
{
|
|
7840
7800
|
variants: {
|
|
@@ -7859,7 +7819,7 @@ const Wu = (e, t) => x.useMemo(() => {
|
|
|
7859
7819
|
interactive: !1
|
|
7860
7820
|
}
|
|
7861
7821
|
}
|
|
7862
|
-
),
|
|
7822
|
+
), Uu = ({
|
|
7863
7823
|
icon: e,
|
|
7864
7824
|
title: t,
|
|
7865
7825
|
description: r,
|
|
@@ -7872,7 +7832,7 @@ const Wu = (e, t) => x.useMemo(() => {
|
|
|
7872
7832
|
"div",
|
|
7873
7833
|
{
|
|
7874
7834
|
className: v(
|
|
7875
|
-
|
|
7835
|
+
Wl({ layout: n, spacing: a, interactive: o }),
|
|
7876
7836
|
s
|
|
7877
7837
|
),
|
|
7878
7838
|
onClick: l,
|
|
@@ -7884,7 +7844,7 @@ const Wu = (e, t) => x.useMemo(() => {
|
|
|
7884
7844
|
] })
|
|
7885
7845
|
]
|
|
7886
7846
|
}
|
|
7887
|
-
),
|
|
7847
|
+
), qu = ({
|
|
7888
7848
|
wallet: e,
|
|
7889
7849
|
connector: t,
|
|
7890
7850
|
className: r = "w-8 h-8",
|
|
@@ -7932,7 +7892,7 @@ const Wu = (e, t) => x.useMemo(() => {
|
|
|
7932
7892
|
}
|
|
7933
7893
|
}
|
|
7934
7894
|
);
|
|
7935
|
-
},
|
|
7895
|
+
}, Gu = ({
|
|
7936
7896
|
size: e = "md",
|
|
7937
7897
|
className: t = "",
|
|
7938
7898
|
showText: r = !0,
|
|
@@ -7994,7 +7954,7 @@ const Wu = (e, t) => x.useMemo(() => {
|
|
|
7994
7954
|
children: u
|
|
7995
7955
|
}
|
|
7996
7956
|
) : /* @__PURE__ */ i("div", { className: `flex items-center ${d.container} ${t}`, children: u });
|
|
7997
|
-
},
|
|
7957
|
+
}, Bl = ({
|
|
7998
7958
|
shareConfig: e
|
|
7999
7959
|
}) => {
|
|
8000
7960
|
const [t, r] = R(!1), [n, a] = R(""), [o, s] = R(!1);
|
|
@@ -8015,14 +7975,14 @@ const Wu = (e, t) => x.useMemo(() => {
|
|
|
8015
7975
|
}, [e, n]);
|
|
8016
7976
|
const l = n || (typeof window < "u" ? window.location.href : ""), c = [
|
|
8017
7977
|
{
|
|
8018
|
-
component:
|
|
8019
|
-
icon:
|
|
7978
|
+
component: Sa,
|
|
7979
|
+
icon: Ca,
|
|
8020
7980
|
props: { url: l, title: e.title, hashtags: e.hashtags },
|
|
8021
7981
|
label: "Twitter"
|
|
8022
7982
|
},
|
|
8023
7983
|
{
|
|
8024
|
-
component:
|
|
8025
|
-
icon:
|
|
7984
|
+
component: Ea,
|
|
7985
|
+
icon: Na,
|
|
8026
7986
|
props: {
|
|
8027
7987
|
url: l,
|
|
8028
7988
|
quote: `${e.title}
|
|
@@ -8032,8 +7992,8 @@ ${e.description}`
|
|
|
8032
7992
|
label: "Facebook"
|
|
8033
7993
|
},
|
|
8034
7994
|
{
|
|
8035
|
-
component:
|
|
8036
|
-
icon:
|
|
7995
|
+
component: Pa,
|
|
7996
|
+
icon: Aa,
|
|
8037
7997
|
props: {
|
|
8038
7998
|
url: l,
|
|
8039
7999
|
title: e.title,
|
|
@@ -8042,20 +8002,20 @@ ${e.description}`
|
|
|
8042
8002
|
label: "LinkedIn"
|
|
8043
8003
|
},
|
|
8044
8004
|
{
|
|
8045
|
-
component:
|
|
8046
|
-
icon:
|
|
8005
|
+
component: $a,
|
|
8006
|
+
icon: Ta,
|
|
8047
8007
|
props: { url: l, title: e.title },
|
|
8048
8008
|
label: "Reddit"
|
|
8049
8009
|
},
|
|
8050
8010
|
{
|
|
8051
|
-
component:
|
|
8052
|
-
icon:
|
|
8011
|
+
component: Ia,
|
|
8012
|
+
icon: La,
|
|
8053
8013
|
props: { url: l, title: e.title },
|
|
8054
8014
|
label: "Telegram"
|
|
8055
8015
|
},
|
|
8056
8016
|
{
|
|
8057
|
-
component:
|
|
8058
|
-
icon:
|
|
8017
|
+
component: Ma,
|
|
8018
|
+
icon: Ra,
|
|
8059
8019
|
props: { url: l, title: e.title, separator: `
|
|
8060
8020
|
|
|
8061
8021
|
` },
|
|
@@ -8149,7 +8109,7 @@ ${e.description}`
|
|
|
8149
8109
|
] }) })
|
|
8150
8110
|
] })
|
|
8151
8111
|
] });
|
|
8152
|
-
},
|
|
8112
|
+
}, jl = ({
|
|
8153
8113
|
items: e,
|
|
8154
8114
|
shareConfig: t,
|
|
8155
8115
|
className: r,
|
|
@@ -8166,11 +8126,11 @@ ${e.description}`
|
|
|
8166
8126
|
) }),
|
|
8167
8127
|
o < e.length - 1 && /* @__PURE__ */ i("li", { children: /* @__PURE__ */ i("span", { className: "text-gray-400 dark:text-gray-500", children: "/" }) })
|
|
8168
8128
|
] }, o)) }) }),
|
|
8169
|
-
t && /* @__PURE__ */ i(
|
|
8170
|
-
] }),
|
|
8129
|
+
t && /* @__PURE__ */ i(Bl, { shareConfig: t })
|
|
8130
|
+
] }), Ku = ({
|
|
8171
8131
|
items: e,
|
|
8172
8132
|
shareConfig: t
|
|
8173
|
-
}) => /* @__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 = ({
|
|
8174
8134
|
filename: e,
|
|
8175
8135
|
code: t,
|
|
8176
8136
|
language: r,
|
|
@@ -8179,7 +8139,7 @@ ${e.description}`
|
|
|
8179
8139
|
showCopy: o = !0,
|
|
8180
8140
|
showHeader: s = !0
|
|
8181
8141
|
}) => {
|
|
8182
|
-
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) => {
|
|
8183
8143
|
switch (k.split(".").pop()?.toLowerCase()) {
|
|
8184
8144
|
case "sol":
|
|
8185
8145
|
return "solidity";
|
|
@@ -8256,7 +8216,7 @@ ${e.description}`
|
|
|
8256
8216
|
onClick: w,
|
|
8257
8217
|
className: "p-2 text-gray-400 hover:text-green-400 hover:bg-gray-800 rounded-lg transition-all duration-200 group",
|
|
8258
8218
|
title: l("copyCode", "Copy code"),
|
|
8259
|
-
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" })
|
|
8260
8220
|
}
|
|
8261
8221
|
)
|
|
8262
8222
|
] }),
|
|
@@ -8270,7 +8230,7 @@ ${e.description}`
|
|
|
8270
8230
|
children: l("noCode", "No code to display")
|
|
8271
8231
|
}
|
|
8272
8232
|
);
|
|
8273
|
-
},
|
|
8233
|
+
}, Qu = ({
|
|
8274
8234
|
title: e,
|
|
8275
8235
|
description: t,
|
|
8276
8236
|
code: r,
|
|
@@ -8320,10 +8280,10 @@ ${e.description}`
|
|
|
8320
8280
|
className: "flex items-center space-x-1 text-gray-300 hover:text-white transition-colors text-sm",
|
|
8321
8281
|
"aria-label": m ? "Copied!" : "Copy code",
|
|
8322
8282
|
children: m ? /* @__PURE__ */ h(H, { children: [
|
|
8323
|
-
/* @__PURE__ */ i(
|
|
8283
|
+
/* @__PURE__ */ i(Ir, { className: "h-4 w-4" }),
|
|
8324
8284
|
/* @__PURE__ */ i("span", { children: "Copied!" })
|
|
8325
8285
|
] }) : /* @__PURE__ */ h(H, { children: [
|
|
8326
|
-
/* @__PURE__ */ i(
|
|
8286
|
+
/* @__PURE__ */ i(ua, { className: "h-4 w-4" }),
|
|
8327
8287
|
/* @__PURE__ */ i("span", { children: "Copy" })
|
|
8328
8288
|
] })
|
|
8329
8289
|
}
|
|
@@ -8332,7 +8292,7 @@ ${e.description}`
|
|
|
8332
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 }) }) })
|
|
8333
8293
|
] }) })
|
|
8334
8294
|
] });
|
|
8335
|
-
},
|
|
8295
|
+
}, Fl = ({
|
|
8336
8296
|
subsections: e,
|
|
8337
8297
|
isExpanded: t,
|
|
8338
8298
|
selectedSubsection: r,
|
|
@@ -8340,7 +8300,7 @@ ${e.description}`
|
|
|
8340
8300
|
onSubsectionSelect: a
|
|
8341
8301
|
}) => {
|
|
8342
8302
|
const o = q(null), [s, l] = R(void 0);
|
|
8343
|
-
return
|
|
8303
|
+
return Er(() => {
|
|
8344
8304
|
if (o.current) {
|
|
8345
8305
|
const c = o.current.scrollHeight;
|
|
8346
8306
|
l(t ? c + 16 : 0);
|
|
@@ -8364,7 +8324,7 @@ ${e.description}`
|
|
|
8364
8324
|
] }, c.id)) })
|
|
8365
8325
|
}
|
|
8366
8326
|
);
|
|
8367
|
-
},
|
|
8327
|
+
}, Xu = ({
|
|
8368
8328
|
id: e,
|
|
8369
8329
|
title: t,
|
|
8370
8330
|
content: r,
|
|
@@ -8399,7 +8359,7 @@ ${e.description}`
|
|
|
8399
8359
|
className: "p-2 rounded-md hover:bg-gray-100 dark:hover:bg-gray-800 hover:scale-110 transition-all duration-200",
|
|
8400
8360
|
"aria-label": d ? "Collapse section" : "Expand section",
|
|
8401
8361
|
children: /* @__PURE__ */ i(
|
|
8402
|
-
|
|
8362
|
+
It,
|
|
8403
8363
|
{
|
|
8404
8364
|
className: `h-5 w-5 text-gray-500 transition-transform duration-300 ease-in-out ${d ? "rotate-90" : "rotate-0"}`
|
|
8405
8365
|
}
|
|
@@ -8408,7 +8368,7 @@ ${e.description}`
|
|
|
8408
8368
|
)
|
|
8409
8369
|
] }),
|
|
8410
8370
|
g && /* @__PURE__ */ i(
|
|
8411
|
-
|
|
8371
|
+
Fl,
|
|
8412
8372
|
{
|
|
8413
8373
|
subsections: n,
|
|
8414
8374
|
isExpanded: d,
|
|
@@ -8418,7 +8378,7 @@ ${e.description}`
|
|
|
8418
8378
|
}
|
|
8419
8379
|
)
|
|
8420
8380
|
] });
|
|
8421
|
-
},
|
|
8381
|
+
}, Zu = ({
|
|
8422
8382
|
title: e,
|
|
8423
8383
|
subtitle: t,
|
|
8424
8384
|
buttonText: r,
|
|
@@ -8430,7 +8390,7 @@ ${e.description}`
|
|
|
8430
8390
|
className: c = ""
|
|
8431
8391
|
}) => {
|
|
8432
8392
|
const d = () => n === "envelope" || n === "both" ? /* @__PURE__ */ i(
|
|
8433
|
-
|
|
8393
|
+
ma,
|
|
8434
8394
|
{
|
|
8435
8395
|
className: a === "prominent" ? "h-5 w-5 mr-2" : "h-4 w-4 mr-1"
|
|
8436
8396
|
}
|
|
@@ -8451,7 +8411,7 @@ ${e.description}`
|
|
|
8451
8411
|
}
|
|
8452
8412
|
)
|
|
8453
8413
|
}
|
|
8454
|
-
), u = () => n === "arrow" || n === "both" ? /* @__PURE__ */ i(
|
|
8414
|
+
), u = () => n === "arrow" || n === "both" ? /* @__PURE__ */ i(Lr, { className: "h-4 w-4 ml-2" }) : null, m = () => a === "prominent" ? "border-b-2 border-green-200 dark:border-green-700" : "border-b border-green-200 dark:border-green-700", p = () => {
|
|
8455
8415
|
const b = "bg-gradient-to-r from-green-600 to-blue-600 hover:from-green-700 hover:to-blue-700 text-white rounded-lg font-bold transition-all duration-300 transform hover:scale-105 shadow-lg hover:shadow-green-500/25 inline-flex items-center whitespace-nowrap cursor-pointer";
|
|
8456
8416
|
return a === "prominent" ? `${b} px-8 py-3 text-base` : `${b} px-6 py-2 text-sm`;
|
|
8457
8417
|
}, g = () => a === "prominent" ? "text-green-800 dark:text-green-200 font-semibold text-lg" : "text-green-800 dark:text-green-200 font-semibold", f = a === "prominent" ? s : o;
|
|
@@ -8481,7 +8441,7 @@ ${e.description}`
|
|
|
8481
8441
|
] }) })
|
|
8482
8442
|
}
|
|
8483
8443
|
);
|
|
8484
|
-
},
|
|
8444
|
+
}, Ju = ({
|
|
8485
8445
|
children: e,
|
|
8486
8446
|
onClick: t,
|
|
8487
8447
|
variant: r,
|
|
@@ -8528,7 +8488,7 @@ ${e.description}`
|
|
|
8528
8488
|
},
|
|
8529
8489
|
children: e
|
|
8530
8490
|
}
|
|
8531
|
-
),
|
|
8491
|
+
), em = ({
|
|
8532
8492
|
children: e,
|
|
8533
8493
|
onClick: t,
|
|
8534
8494
|
to: r,
|
|
@@ -8560,7 +8520,7 @@ ${e.description}`
|
|
|
8560
8520
|
return /* @__PURE__ */ i(c, { ...d, to: r, onClick: m, ...u, children: e });
|
|
8561
8521
|
const p = r ? typeof r == "string" ? r : r.pathname || "#" : n;
|
|
8562
8522
|
return /* @__PURE__ */ i("a", { ...u, href: p, onClick: m, children: e });
|
|
8563
|
-
},
|
|
8523
|
+
}, br = {
|
|
8564
8524
|
en: { name: "English", flag: "🇺🇸" },
|
|
8565
8525
|
ar: { name: "العربية", flag: "🇸🇦" },
|
|
8566
8526
|
de: { name: "Deutsch", flag: "🇩🇪" },
|
|
@@ -8576,14 +8536,14 @@ ${e.description}`
|
|
|
8576
8536
|
uk: { name: "Українська", flag: "🇺🇦" },
|
|
8577
8537
|
vi: { name: "Tiếng Việt", flag: "🇻🇳" },
|
|
8578
8538
|
zh: { name: "简体中文", flag: "🇨🇳" }
|
|
8579
|
-
},
|
|
8539
|
+
}, tm = ({
|
|
8580
8540
|
variant: e = "compact",
|
|
8581
8541
|
className: t = ""
|
|
8582
8542
|
}) => {
|
|
8583
|
-
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) => ({
|
|
8584
8544
|
code: d,
|
|
8585
|
-
name:
|
|
8586
|
-
flag:
|
|
8545
|
+
name: br[d]?.name || d.toUpperCase(),
|
|
8546
|
+
flag: br[d]?.flag || "🌐"
|
|
8587
8547
|
})).sort(
|
|
8588
8548
|
(d, u) => d.name.localeCompare(u.name)
|
|
8589
8549
|
) : [], [r.options.supportedLngs]), l = s.find(
|
|
@@ -8600,7 +8560,7 @@ ${e.description}`
|
|
|
8600
8560
|
}).catch(() => {
|
|
8601
8561
|
});
|
|
8602
8562
|
};
|
|
8603
|
-
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: [
|
|
8604
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: [
|
|
8605
8565
|
/* @__PURE__ */ i("span", { className: "text-lg leading-none", children: l?.flag }),
|
|
8606
8566
|
/* @__PURE__ */ i("span", { className: "hidden sm:block text-sm font-medium text-gray-700 dark:text-gray-300", children: l?.name })
|
|
@@ -8621,10 +8581,10 @@ ${e.description}`
|
|
|
8621
8581
|
) })
|
|
8622
8582
|
] }) }) : /* @__PURE__ */ h("div", { className: `space-y-2 ${t}`, children: [
|
|
8623
8583
|
/* @__PURE__ */ h("label", { className: "text-sm font-medium text-gray-700 dark:text-gray-300 flex items-center space-x-2", children: [
|
|
8624
|
-
/* @__PURE__ */ i(
|
|
8584
|
+
/* @__PURE__ */ i(ga, { className: "h-4 w-4 text-gray-500 dark:text-gray-400" }),
|
|
8625
8585
|
/* @__PURE__ */ i("span", { children: n("language", "Language") })
|
|
8626
8586
|
] }),
|
|
8627
|
-
/* @__PURE__ */ h(
|
|
8587
|
+
/* @__PURE__ */ h(tr, { value: a, onValueChange: c, children: [
|
|
8628
8588
|
/* @__PURE__ */ i(kt, { children: /* @__PURE__ */ i(To, { placeholder: n("selectLanguage", "Select language") }) }),
|
|
8629
8589
|
/* @__PURE__ */ i(Ct, { children: s.map(
|
|
8630
8590
|
(d) => /* @__PURE__ */ i(
|
|
@@ -8643,7 +8603,7 @@ ${e.description}`
|
|
|
8643
8603
|
] }),
|
|
8644
8604
|
/* @__PURE__ */ i("p", { className: "text-xs text-gray-500 dark:text-gray-400", children: n("selectPreferredLanguage", "Select your preferred language") })
|
|
8645
8605
|
] });
|
|
8646
|
-
},
|
|
8606
|
+
}, rm = ({
|
|
8647
8607
|
items: e,
|
|
8648
8608
|
type: t = "ordered",
|
|
8649
8609
|
variant: r = "default",
|
|
@@ -8685,7 +8645,7 @@ ${e.description}`
|
|
|
8685
8645
|
};
|
|
8686
8646
|
return /* @__PURE__ */ i("ul", { className: v(o(), n), children: e.map(c) });
|
|
8687
8647
|
};
|
|
8688
|
-
class
|
|
8648
|
+
class nm extends Ar {
|
|
8689
8649
|
constructor() {
|
|
8690
8650
|
super(...arguments), this.state = {
|
|
8691
8651
|
hasError: !1
|
|
@@ -8714,7 +8674,7 @@ class om extends Tr {
|
|
|
8714
8674
|
) : this.props.children;
|
|
8715
8675
|
}
|
|
8716
8676
|
}
|
|
8717
|
-
class
|
|
8677
|
+
class am extends Ar {
|
|
8718
8678
|
constructor(t) {
|
|
8719
8679
|
super(t), this.retryTimer = null, this.sendErrorToMonitoring = (r, n) => {
|
|
8720
8680
|
try {
|
|
@@ -8827,13 +8787,13 @@ class im extends Tr {
|
|
|
8827
8787
|
] }) }) : t;
|
|
8828
8788
|
}
|
|
8829
8789
|
}
|
|
8830
|
-
const
|
|
8831
|
-
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);
|
|
8832
8792
|
return r && (n.displayName = `Memo(${r})`), process.env.NODE_ENV === "development" ? (a) => (Lt(() => {
|
|
8833
8793
|
let s = 0;
|
|
8834
8794
|
return () => ++s;
|
|
8835
8795
|
}, [])(), /* @__PURE__ */ i(n, { ...a })) : n;
|
|
8836
|
-
},
|
|
8796
|
+
}, lm = (e, t) => qe(e, (r, n) => t.every((a) => r[a] === n[a])), cm = qe(
|
|
8837
8797
|
({ children: e, compute: t, deps: r }) => {
|
|
8838
8798
|
const n = P.useRef(r), a = P.useRef(t), o = P.useRef(void 0), s = Lt(() => {
|
|
8839
8799
|
const l = r.length !== n.current.length || r.some((d, u) => d !== n.current[u]), c = t !== a.current;
|
|
@@ -8845,12 +8805,12 @@ const sm = ({ children: e }) => /* @__PURE__ */ i(H, { children: e }), lm = ({ c
|
|
|
8845
8805
|
}, [t, r]);
|
|
8846
8806
|
return /* @__PURE__ */ i(H, { children: e(s) });
|
|
8847
8807
|
}
|
|
8848
|
-
),
|
|
8808
|
+
), dm = qe(
|
|
8849
8809
|
({ item: e, index: t, style: r, renderItem: n }) => /* @__PURE__ */ i("div", { style: r, children: n(e, t) }),
|
|
8850
8810
|
(e, t) => e.index === t.index && e.item === t.item && e.style.height === t.style.height && e.style.top === t.style.top
|
|
8851
|
-
),
|
|
8811
|
+
), um = qe(
|
|
8852
8812
|
({ condition: e, children: t, fallback: r = null }) => e ? /* @__PURE__ */ i(H, { children: t }) : /* @__PURE__ */ i(H, { children: r })
|
|
8853
|
-
),
|
|
8813
|
+
), mm = ({
|
|
8854
8814
|
children: e,
|
|
8855
8815
|
threshold: t = 0.1,
|
|
8856
8816
|
rootMargin: r = "50px",
|
|
@@ -8866,7 +8826,7 @@ const sm = ({ children: e }) => /* @__PURE__ */ i(H, { children: e }), lm = ({ c
|
|
|
8866
8826
|
);
|
|
8867
8827
|
return s.current && l.observe(s.current), () => l.disconnect();
|
|
8868
8828
|
}, [t, r]), /* @__PURE__ */ i("div", { ref: s, children: a ? e : n });
|
|
8869
|
-
},
|
|
8829
|
+
}, gm = ({
|
|
8870
8830
|
children: e,
|
|
8871
8831
|
maxRenderTime: t = 16,
|
|
8872
8832
|
// 16ms = 60fps
|
|
@@ -8879,7 +8839,7 @@ const sm = ({ children: e }) => /* @__PURE__ */ i(H, { children: e }), lm = ({ c
|
|
|
8879
8839
|
const a = performance.now() - n.current;
|
|
8880
8840
|
a > t && r?.(a);
|
|
8881
8841
|
}), /* @__PURE__ */ i(H, { children: e });
|
|
8882
|
-
},
|
|
8842
|
+
}, pm = ({
|
|
8883
8843
|
children: e,
|
|
8884
8844
|
batchSize: t = 5,
|
|
8885
8845
|
delay: r = 0
|
|
@@ -8893,7 +8853,7 @@ const sm = ({ children: e }) => /* @__PURE__ */ i(H, { children: e }), lm = ({ c
|
|
|
8893
8853
|
return () => clearTimeout(o);
|
|
8894
8854
|
}
|
|
8895
8855
|
}, [n, e.length, t, r]), /* @__PURE__ */ i(H, { children: e.slice(0, n) });
|
|
8896
|
-
},
|
|
8856
|
+
}, fm = ({
|
|
8897
8857
|
src: e,
|
|
8898
8858
|
alt: t,
|
|
8899
8859
|
placeholder: r,
|
|
@@ -8988,7 +8948,7 @@ const sm = ({ children: e }) => /* @__PURE__ */ i(H, { children: e }), lm = ({ c
|
|
|
8988
8948
|
]
|
|
8989
8949
|
}
|
|
8990
8950
|
);
|
|
8991
|
-
},
|
|
8951
|
+
}, hm = ({
|
|
8992
8952
|
title: e,
|
|
8993
8953
|
description: t,
|
|
8994
8954
|
primaryButton: r,
|
|
@@ -9063,14 +9023,14 @@ const sm = ({ children: e }) => /* @__PURE__ */ i(H, { children: e }), lm = ({ c
|
|
|
9063
9023
|
]
|
|
9064
9024
|
}
|
|
9065
9025
|
);
|
|
9066
|
-
},
|
|
9026
|
+
}, ym = ({
|
|
9067
9027
|
children: e,
|
|
9068
9028
|
backgroundClassName: t = "",
|
|
9069
9029
|
contentClassName: r = ""
|
|
9070
|
-
}) => /* @__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: [
|
|
9071
9031
|
/* @__PURE__ */ i("h1", { className: "text-3xl font-bold text-gray-900 dark:text-white", children: e }),
|
|
9072
9032
|
t && /* @__PURE__ */ i("p", { className: "mt-2 text-gray-600 dark:text-gray-400", children: t })
|
|
9073
|
-
] }),
|
|
9033
|
+
] }), xm = ({
|
|
9074
9034
|
isSelected: e,
|
|
9075
9035
|
onClick: t,
|
|
9076
9036
|
icon: r,
|
|
@@ -9110,7 +9070,7 @@ const sm = ({ children: e }) => /* @__PURE__ */ i(H, { children: e }), lm = ({ c
|
|
|
9110
9070
|
] })
|
|
9111
9071
|
]
|
|
9112
9072
|
}
|
|
9113
|
-
),
|
|
9073
|
+
), vm = ({
|
|
9114
9074
|
masterTitle: e,
|
|
9115
9075
|
masterSubtitle: t,
|
|
9116
9076
|
backButtonText: r,
|
|
@@ -9285,7 +9245,7 @@ const sm = ({ children: e }) => /* @__PURE__ */ i(H, { children: e }), lm = ({ c
|
|
|
9285
9245
|
)
|
|
9286
9246
|
] })
|
|
9287
9247
|
] });
|
|
9288
|
-
},
|
|
9248
|
+
}, wm = ({
|
|
9289
9249
|
children: e
|
|
9290
9250
|
}) => (V(() => {
|
|
9291
9251
|
const t = () => {
|
|
@@ -9427,7 +9387,7 @@ const sm = ({ children: e }) => /* @__PURE__ */ i(H, { children: e }), lm = ({ c
|
|
|
9427
9387
|
};
|
|
9428
9388
|
return t(), r(), n(), a(), s(), l(), c(), d(), setTimeout(o, 2e3), () => {
|
|
9429
9389
|
};
|
|
9430
|
-
}, []), /* @__PURE__ */ i(H, { children: e })),
|
|
9390
|
+
}, []), /* @__PURE__ */ i(H, { children: e })), km = () => (V(() => {
|
|
9431
9391
|
if (typeof window > "u" || typeof document > "u" || !document.documentElement)
|
|
9432
9392
|
return;
|
|
9433
9393
|
const e = () => {
|
|
@@ -9523,9 +9483,9 @@ const sm = ({ children: e }) => /* @__PURE__ */ i(H, { children: e }), lm = ({ c
|
|
|
9523
9483
|
} catch {
|
|
9524
9484
|
}
|
|
9525
9485
|
};
|
|
9526
|
-
}, []), null),
|
|
9486
|
+
}, []), null), Cm = ({
|
|
9527
9487
|
children: e
|
|
9528
|
-
}) => /* @__PURE__ */ i(H, { children: e }),
|
|
9488
|
+
}) => /* @__PURE__ */ i(H, { children: e }), _l = {
|
|
9529
9489
|
// Static/rarely changing data - longer cache durations
|
|
9530
9490
|
user: { duration: 300 * 1e3, maxSize: 100, staleWhileRevalidate: !0 },
|
|
9531
9491
|
// 5 minutes
|
|
@@ -9558,7 +9518,7 @@ const sm = ({ children: e }) => /* @__PURE__ */ i(H, { children: e }), lm = ({ c
|
|
|
9558
9518
|
}
|
|
9559
9519
|
// 10 seconds
|
|
9560
9520
|
};
|
|
9561
|
-
class
|
|
9521
|
+
class Vl {
|
|
9562
9522
|
constructor() {
|
|
9563
9523
|
this.cache = /* @__PURE__ */ new Map();
|
|
9564
9524
|
}
|
|
@@ -9601,8 +9561,8 @@ class Hl {
|
|
|
9601
9561
|
return Array.from(this.cache.values()).reduce((t, r) => t + JSON.stringify(r).length * 2, 0);
|
|
9602
9562
|
}
|
|
9603
9563
|
}
|
|
9604
|
-
const Ne = new
|
|
9605
|
-
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);
|
|
9606
9566
|
if (a && !a.isStale)
|
|
9607
9567
|
return a.data;
|
|
9608
9568
|
const o = ye.get(e);
|
|
@@ -9619,7 +9579,7 @@ const Ne = new Hl(), ye = /* @__PURE__ */ new Map(), Ul = async (e, t, r = "mess
|
|
|
9619
9579
|
});
|
|
9620
9580
|
return ye.set(e, s), s;
|
|
9621
9581
|
};
|
|
9622
|
-
class
|
|
9582
|
+
class Ul {
|
|
9623
9583
|
constructor() {
|
|
9624
9584
|
this.queue = [], this.timer = null, this.batchDelay = 10;
|
|
9625
9585
|
}
|
|
@@ -9654,8 +9614,8 @@ class ql {
|
|
|
9654
9614
|
return r;
|
|
9655
9615
|
}
|
|
9656
9616
|
}
|
|
9657
|
-
const
|
|
9658
|
-
class
|
|
9617
|
+
const ql = new Ul();
|
|
9618
|
+
class Sm {
|
|
9659
9619
|
constructor(t, r = {}) {
|
|
9660
9620
|
this.requestInterceptors = [], this.responseInterceptors = [], this.baseURL = t, this.defaultHeaders = r;
|
|
9661
9621
|
}
|
|
@@ -9686,7 +9646,7 @@ class Em {
|
|
|
9686
9646
|
throw new Error(`API Error: ${d.status} ${d.statusText}`);
|
|
9687
9647
|
return d.json();
|
|
9688
9648
|
};
|
|
9689
|
-
return r.method === "GET" && this.shouldBatch(t) ?
|
|
9649
|
+
return r.method === "GET" && this.shouldBatch(t) ? ql.add(s, l) : Hl(s, l, a);
|
|
9690
9650
|
}
|
|
9691
9651
|
shouldBatch(t) {
|
|
9692
9652
|
return t.includes("/messages/") && !t.includes("/messages?");
|
|
@@ -9711,7 +9671,7 @@ class Em {
|
|
|
9711
9671
|
return this.request(t, { method: "DELETE" });
|
|
9712
9672
|
}
|
|
9713
9673
|
}
|
|
9714
|
-
const
|
|
9674
|
+
const Nm = async (e, t = 3, r = 1e3) => {
|
|
9715
9675
|
let n;
|
|
9716
9676
|
for (let a = 0; a <= t; a++)
|
|
9717
9677
|
try {
|
|
@@ -9724,7 +9684,7 @@ const Am = async (e, t = 3, r = 1e3) => {
|
|
|
9724
9684
|
}
|
|
9725
9685
|
throw n;
|
|
9726
9686
|
};
|
|
9727
|
-
class
|
|
9687
|
+
class Em {
|
|
9728
9688
|
constructor() {
|
|
9729
9689
|
this.abortController = new AbortController();
|
|
9730
9690
|
}
|
|
@@ -9741,7 +9701,7 @@ class Pm {
|
|
|
9741
9701
|
this.abortController.abort();
|
|
9742
9702
|
}
|
|
9743
9703
|
}
|
|
9744
|
-
const
|
|
9704
|
+
const Am = {
|
|
9745
9705
|
invalidate: (e) => Ne.invalidate(e),
|
|
9746
9706
|
clear: () => Ne.clear(),
|
|
9747
9707
|
getStats: () => Ne.getStats(),
|
|
@@ -9758,7 +9718,7 @@ const Tm = {
|
|
|
9758
9718
|
}, 100);
|
|
9759
9719
|
}
|
|
9760
9720
|
};
|
|
9761
|
-
function
|
|
9721
|
+
function Gl() {
|
|
9762
9722
|
if (typeof window > "u") return !1;
|
|
9763
9723
|
const e = window.navigator.userAgent.toLowerCase();
|
|
9764
9724
|
return [
|
|
@@ -9774,36 +9734,36 @@ function Kl() {
|
|
|
9774
9734
|
"okx"
|
|
9775
9735
|
].some((r) => e.includes(r));
|
|
9776
9736
|
}
|
|
9777
|
-
function
|
|
9737
|
+
function Kl() {
|
|
9778
9738
|
return typeof window > "u" ? !1 : window.location.hostname === "localhost" || window.location.hostname === "127.0.0.1";
|
|
9779
9739
|
}
|
|
9780
|
-
function
|
|
9740
|
+
function Yl() {
|
|
9781
9741
|
if (typeof window > "u") return !1;
|
|
9782
9742
|
const e = window.location.hostname;
|
|
9783
9743
|
return /^\d+\.\d+\.\d+\.\d+$/.test(e);
|
|
9784
9744
|
}
|
|
9785
|
-
function
|
|
9786
|
-
return
|
|
9745
|
+
function Ql() {
|
|
9746
|
+
return Kl() ? "localhost" : Gl() ? "wallet-browser" : Yl() ? "network" : "production";
|
|
9787
9747
|
}
|
|
9788
|
-
function
|
|
9789
|
-
const e =
|
|
9748
|
+
function Pm() {
|
|
9749
|
+
const e = Ql();
|
|
9790
9750
|
return e === "localhost" || e === "wallet-browser";
|
|
9791
9751
|
}
|
|
9792
|
-
function
|
|
9752
|
+
function Tm(e) {
|
|
9793
9753
|
}
|
|
9794
|
-
function
|
|
9754
|
+
function Xl() {
|
|
9795
9755
|
return typeof window < "u";
|
|
9796
9756
|
}
|
|
9797
|
-
function
|
|
9757
|
+
function $m() {
|
|
9798
9758
|
return typeof window < "u";
|
|
9799
9759
|
}
|
|
9800
|
-
function
|
|
9801
|
-
if (
|
|
9760
|
+
function Lm(e, t) {
|
|
9761
|
+
if (Xl())
|
|
9802
9762
|
e();
|
|
9803
9763
|
else
|
|
9804
9764
|
return t;
|
|
9805
9765
|
}
|
|
9806
|
-
const
|
|
9766
|
+
const Zl = {
|
|
9807
9767
|
"default-src": ["'self'"],
|
|
9808
9768
|
"script-src": [
|
|
9809
9769
|
"'self'",
|
|
@@ -9869,7 +9829,7 @@ const Jl = {
|
|
|
9869
9829
|
"object-src": ["'none'"],
|
|
9870
9830
|
"base-uri": ["'self'"],
|
|
9871
9831
|
"form-action": ["'self'"]
|
|
9872
|
-
},
|
|
9832
|
+
}, Jl = () => Object.entries(Zl).map(([e, t]) => `${e} ${t.join(" ")}`).join("; "), Im = {
|
|
9873
9833
|
"X-Frame-Options": "DENY",
|
|
9874
9834
|
"X-Content-Type-Options": "nosniff",
|
|
9875
9835
|
"X-XSS-Protection": "1; mode=block",
|
|
@@ -9879,8 +9839,8 @@ const Jl = {
|
|
|
9879
9839
|
"Cross-Origin-Embedder-Policy": "credentialless",
|
|
9880
9840
|
"Cross-Origin-Opener-Policy": "same-origin-allow-popups",
|
|
9881
9841
|
"Cross-Origin-Resource-Policy": "cross-origin",
|
|
9882
|
-
"Content-Security-Policy":
|
|
9883
|
-
},
|
|
9842
|
+
"Content-Security-Policy": Jl()
|
|
9843
|
+
}, Rm = {
|
|
9884
9844
|
fonts: "public, max-age=31536000, immutable",
|
|
9885
9845
|
images: "public, max-age=31536000, immutable",
|
|
9886
9846
|
js: "public, max-age=31536000, immutable",
|
|
@@ -9888,10 +9848,10 @@ const Jl = {
|
|
|
9888
9848
|
serviceWorker: "public, max-age=0, must-revalidate",
|
|
9889
9849
|
manifest: "public, max-age=86400",
|
|
9890
9850
|
api: "no-cache, no-store, must-revalidate"
|
|
9891
|
-
},
|
|
9851
|
+
}, Mm = () => {
|
|
9892
9852
|
typeof window < "u" && document.addEventListener("securitypolicyviolation", () => {
|
|
9893
9853
|
});
|
|
9894
|
-
},
|
|
9854
|
+
}, Om = {
|
|
9895
9855
|
walletConnections: "Always verify wallet signatures and never trust client-side data",
|
|
9896
9856
|
rpcEndpoints: "Use reputable RPC providers and consider rate limiting",
|
|
9897
9857
|
contractInteractions: "Validate all smart contract interactions on the backend",
|
|
@@ -9899,17 +9859,17 @@ const Jl = {
|
|
|
9899
9859
|
privateKeys: "Never log, store, or transmit private keys - they should remain in wallets only",
|
|
9900
9860
|
phishing: "Implement strict CSP to prevent injection of malicious scripts that could steal wallet access"
|
|
9901
9861
|
}, ce = /* @__PURE__ */ new Map(), Re = /* @__PURE__ */ new Map(), ot = /* @__PURE__ */ new Set();
|
|
9902
|
-
let
|
|
9903
|
-
function
|
|
9862
|
+
let Ve = "medium", Gt = !1;
|
|
9863
|
+
function ec() {
|
|
9904
9864
|
if ("connection" in navigator) {
|
|
9905
9865
|
const r = navigator.connection;
|
|
9906
|
-
r && (
|
|
9866
|
+
r && (Ve = r.effectiveType === "4g" ? "fast" : r.effectiveType === "3g" ? "medium" : "slow");
|
|
9907
9867
|
}
|
|
9908
9868
|
const e = navigator.deviceMemory, t = navigator.hardwareConcurrency;
|
|
9909
|
-
|
|
9869
|
+
Gt = e && e < 4 || t && t < 4;
|
|
9910
9870
|
}
|
|
9911
|
-
|
|
9912
|
-
function
|
|
9871
|
+
ec();
|
|
9872
|
+
function Dm(e, t, r = {}) {
|
|
9913
9873
|
const {
|
|
9914
9874
|
retries: n = 3,
|
|
9915
9875
|
timeout: a = 1e4,
|
|
@@ -9926,7 +9886,7 @@ function Wm(e, t, r = {}) {
|
|
|
9926
9886
|
const g = performance.now();
|
|
9927
9887
|
if (Re.has(t))
|
|
9928
9888
|
return Re.get(t).then((b) => ({ default: b }));
|
|
9929
|
-
const f =
|
|
9889
|
+
const f = tc(e, n, a);
|
|
9930
9890
|
Re.set(
|
|
9931
9891
|
t,
|
|
9932
9892
|
f.then((b) => b.default)
|
|
@@ -9960,7 +9920,7 @@ function Wm(e, t, r = {}) {
|
|
|
9960
9920
|
V(() => {
|
|
9961
9921
|
if (s && !ce.has(t) && s() && !ot.has(t)) {
|
|
9962
9922
|
ot.add(t);
|
|
9963
|
-
const C =
|
|
9923
|
+
const C = rc(c, Ve);
|
|
9964
9924
|
setTimeout(() => {
|
|
9965
9925
|
e().catch(() => {
|
|
9966
9926
|
});
|
|
@@ -9975,7 +9935,7 @@ function Wm(e, t, r = {}) {
|
|
|
9975
9935
|
"..."
|
|
9976
9936
|
] })
|
|
9977
9937
|
] });
|
|
9978
|
-
return !f &&
|
|
9938
|
+
return !f && Gt && Ve === "slow" ? /* @__PURE__ */ i("div", { className: "lazy-placeholder", children: /* @__PURE__ */ h(
|
|
9979
9939
|
"button",
|
|
9980
9940
|
{
|
|
9981
9941
|
onClick: () => b(!0),
|
|
@@ -9985,11 +9945,11 @@ function Wm(e, t, r = {}) {
|
|
|
9985
9945
|
t
|
|
9986
9946
|
]
|
|
9987
9947
|
}
|
|
9988
|
-
) }) : /* @__PURE__ */ i(
|
|
9948
|
+
) }) : /* @__PURE__ */ i(Ue, { fallback: w, children: /* @__PURE__ */ i(m, { ...g }) });
|
|
9989
9949
|
};
|
|
9990
9950
|
return p.displayName = `AdvancedLazy(${t})`, p;
|
|
9991
9951
|
}
|
|
9992
|
-
async function
|
|
9952
|
+
async function tc(e, t, r) {
|
|
9993
9953
|
let n;
|
|
9994
9954
|
for (let a = 0; a < t; a++)
|
|
9995
9955
|
try {
|
|
@@ -10005,7 +9965,7 @@ async function rc(e, t, r) {
|
|
|
10005
9965
|
}
|
|
10006
9966
|
throw n;
|
|
10007
9967
|
}
|
|
10008
|
-
function
|
|
9968
|
+
function rc(e, t) {
|
|
10009
9969
|
const r = {
|
|
10010
9970
|
critical: 0,
|
|
10011
9971
|
high: 500,
|
|
@@ -10031,7 +9991,7 @@ const We = class We {
|
|
|
10031
9991
|
this.getRouteTransitionProbability(t).forEach(({ route: n, probability: a }) => {
|
|
10032
9992
|
a > 0.3 && !ce.has(n) && setTimeout(() => {
|
|
10033
9993
|
this.routeMap.get(n);
|
|
10034
|
-
},
|
|
9994
|
+
}, Ve === "fast" ? 1e3 : 3e3);
|
|
10035
9995
|
});
|
|
10036
9996
|
}
|
|
10037
9997
|
static getRouteTransitionProbability(t) {
|
|
@@ -10071,8 +10031,8 @@ const We = class We {
|
|
|
10071
10031
|
}
|
|
10072
10032
|
};
|
|
10073
10033
|
We.routeMap = /* @__PURE__ */ new Map(), We.routeUsageStats = /* @__PURE__ */ new Map(), We.currentRoute = "";
|
|
10074
|
-
let
|
|
10075
|
-
const
|
|
10034
|
+
let xr = We;
|
|
10035
|
+
const zm = ({ src: e, alt: t, className: r, placeholder: n, priority: a = "medium" }) => {
|
|
10076
10036
|
const [o, s] = R(!1), [l, c] = R(!1), d = P.useRef(null);
|
|
10077
10037
|
V(() => {
|
|
10078
10038
|
if (!d.current) return;
|
|
@@ -10110,15 +10070,15 @@ const Bm = ({ src: e, alt: t, className: r, placeholder: n, priority: a = "mediu
|
|
|
10110
10070
|
!o && l && /* @__PURE__ */ i("div", { className: "absolute inset-0 bg-gray-200 animate-pulse rounded" })
|
|
10111
10071
|
] });
|
|
10112
10072
|
};
|
|
10113
|
-
function
|
|
10073
|
+
function Wm() {
|
|
10114
10074
|
ce.clear(), ot.clear();
|
|
10115
10075
|
}
|
|
10116
|
-
function
|
|
10076
|
+
function Bm() {
|
|
10117
10077
|
return {
|
|
10118
10078
|
cachedComponents: ce.size,
|
|
10119
10079
|
preloadQueue: ot.size,
|
|
10120
|
-
networkSpeed:
|
|
10121
|
-
isLowEndDevice:
|
|
10080
|
+
networkSpeed: Ve,
|
|
10081
|
+
isLowEndDevice: Gt,
|
|
10122
10082
|
cacheEntries: Array.from(ce.entries()).map(([e, t]) => ({
|
|
10123
10083
|
name: e,
|
|
10124
10084
|
loadTime: t.loadTime,
|
|
@@ -10126,10 +10086,10 @@ function Fm() {
|
|
|
10126
10086
|
}))
|
|
10127
10087
|
};
|
|
10128
10088
|
}
|
|
10129
|
-
const
|
|
10089
|
+
const nc = ({ message: e }) => /* @__PURE__ */ h("div", { className: "flex items-center justify-center p-4", children: [
|
|
10130
10090
|
/* @__PURE__ */ i("div", { className: "animate-spin rounded-full h-6 w-6 border-b-2 border-blue-500" }),
|
|
10131
10091
|
/* @__PURE__ */ i("span", { className: "ml-2 text-sm text-gray-600", children: e })
|
|
10132
|
-
] }),
|
|
10092
|
+
] }), ac = (e) => {
|
|
10133
10093
|
if (typeof e == "function" || typeof e == "object")
|
|
10134
10094
|
return e;
|
|
10135
10095
|
switch (e) {
|
|
@@ -10142,9 +10102,9 @@ const ac = ({ message: e }) => /* @__PURE__ */ h("div", { className: "flex items
|
|
|
10142
10102
|
] });
|
|
10143
10103
|
case "default":
|
|
10144
10104
|
default:
|
|
10145
|
-
return () => /* @__PURE__ */ i(
|
|
10105
|
+
return () => /* @__PURE__ */ i(nc, { message: "Loading component..." });
|
|
10146
10106
|
}
|
|
10147
|
-
},
|
|
10107
|
+
}, oc = (e, t = "default", r = 3) => {
|
|
10148
10108
|
const n = ve(async () => {
|
|
10149
10109
|
let o = null;
|
|
10150
10110
|
for (let s = 0; s < r; s++)
|
|
@@ -10156,19 +10116,19 @@ const ac = ({ message: e }) => /* @__PURE__ */ h("div", { className: "flex items
|
|
|
10156
10116
|
);
|
|
10157
10117
|
}
|
|
10158
10118
|
throw o;
|
|
10159
|
-
}), a =
|
|
10160
|
-
return (o) => /* @__PURE__ */ i(
|
|
10161
|
-
},
|
|
10119
|
+
}), a = ac(t);
|
|
10120
|
+
return (o) => /* @__PURE__ */ i(Ue, { fallback: /* @__PURE__ */ i(a, {}), children: /* @__PURE__ */ i(n, { ...o }) });
|
|
10121
|
+
}, jm = async (e) => {
|
|
10162
10122
|
try {
|
|
10163
10123
|
await e();
|
|
10164
10124
|
} catch {
|
|
10165
10125
|
}
|
|
10166
|
-
},
|
|
10126
|
+
}, Fm = (e) => {
|
|
10167
10127
|
const t = {};
|
|
10168
10128
|
return Object.entries(e).forEach(([r, n]) => {
|
|
10169
|
-
t[r] =
|
|
10129
|
+
t[r] = oc(n, "skeleton");
|
|
10170
10130
|
}), t;
|
|
10171
|
-
},
|
|
10131
|
+
}, _m = (e) => e, ic = {
|
|
10172
10132
|
// Critical routes (preload immediately)
|
|
10173
10133
|
critical: ["/", "/connect", "/mail"],
|
|
10174
10134
|
// Secondary routes (preload on idle)
|
|
@@ -10206,17 +10166,17 @@ const ac = ({ message: e }) => /* @__PURE__ */ h("div", { className: "flex items
|
|
|
10206
10166
|
}
|
|
10207
10167
|
};
|
|
10208
10168
|
Be.preloadedComponents = /* @__PURE__ */ new Set(), Be.preloadQueue = [], Be.isPreloading = !1;
|
|
10209
|
-
let
|
|
10210
|
-
const
|
|
10169
|
+
let vr = Be;
|
|
10170
|
+
const Vm = () => {
|
|
10211
10171
|
"requestIdleCallback" in window && window.requestIdleCallback(() => {
|
|
10212
|
-
|
|
10172
|
+
ic.secondary.forEach((e) => {
|
|
10213
10173
|
});
|
|
10214
10174
|
});
|
|
10215
|
-
},
|
|
10175
|
+
}, wr = ({ message: e }) => /* @__PURE__ */ h("div", { className: "flex items-center justify-center p-4", children: [
|
|
10216
10176
|
/* @__PURE__ */ i("div", { className: "animate-spin rounded-full h-6 w-6 border-b-2 border-blue-500" }),
|
|
10217
10177
|
/* @__PURE__ */ i("span", { className: "ml-2 text-sm text-gray-600", children: e })
|
|
10218
|
-
] }),
|
|
10219
|
-
function
|
|
10178
|
+
] }), He = /* @__PURE__ */ new Map();
|
|
10179
|
+
function Hm(e, t) {
|
|
10220
10180
|
const {
|
|
10221
10181
|
condition: r,
|
|
10222
10182
|
fallback: n,
|
|
@@ -10228,7 +10188,7 @@ function qm(e, t) {
|
|
|
10228
10188
|
const [u, m] = P.useState(!1), [p, g] = P.useState(null);
|
|
10229
10189
|
return P.useEffect(() => {
|
|
10230
10190
|
const w = setTimeout(async () => {
|
|
10231
|
-
const k =
|
|
10191
|
+
const k = He.get(l);
|
|
10232
10192
|
if (k && k.isValid && Date.now() - k.lastCheck < 3e5)
|
|
10233
10193
|
try {
|
|
10234
10194
|
if (await k.condition()) {
|
|
@@ -10239,8 +10199,8 @@ function qm(e, t) {
|
|
|
10239
10199
|
}
|
|
10240
10200
|
try {
|
|
10241
10201
|
if (await r()) {
|
|
10242
|
-
const S = await
|
|
10243
|
-
|
|
10202
|
+
const S = await sc(e, a, o);
|
|
10203
|
+
He.set(l, {
|
|
10244
10204
|
component: S.default,
|
|
10245
10205
|
condition: r,
|
|
10246
10206
|
lastCheck: Date.now(),
|
|
@@ -10252,16 +10212,16 @@ function qm(e, t) {
|
|
|
10252
10212
|
}, s === "high" ? 0 : s === "medium" ? 100 : 500);
|
|
10253
10213
|
return () => clearTimeout(w);
|
|
10254
10214
|
}, []), u ? p ? /* @__PURE__ */ i(
|
|
10255
|
-
|
|
10215
|
+
Ue,
|
|
10256
10216
|
{
|
|
10257
|
-
fallback: n || /* @__PURE__ */ i(
|
|
10217
|
+
fallback: n || /* @__PURE__ */ i(wr, { message: "Loading component..." }),
|
|
10258
10218
|
children: /* @__PURE__ */ i(p, { ...d })
|
|
10259
10219
|
}
|
|
10260
|
-
) : null : n || /* @__PURE__ */ i(
|
|
10220
|
+
) : null : n || /* @__PURE__ */ i(wr, { message: "Checking conditions..." });
|
|
10261
10221
|
};
|
|
10262
10222
|
return c.displayName = `ConditionalLazy(${l})`, c;
|
|
10263
10223
|
}
|
|
10264
|
-
const
|
|
10224
|
+
const Um = {
|
|
10265
10225
|
// Example: Premium features only for subscribed users
|
|
10266
10226
|
// PremiumEmailFeatures: createConditionalLazyComponent(
|
|
10267
10227
|
// () => import('../components/premium/PremiumEmailFeatures'),
|
|
@@ -10274,11 +10234,11 @@ const Gm = {
|
|
|
10274
10234
|
// priority: 'high'
|
|
10275
10235
|
// }
|
|
10276
10236
|
// ),
|
|
10277
|
-
},
|
|
10237
|
+
}, qm = {
|
|
10278
10238
|
// Examples of platform-specific conditional loading
|
|
10279
10239
|
// These can be implemented as needed for specific platform optimizations
|
|
10280
10240
|
};
|
|
10281
|
-
async function
|
|
10241
|
+
async function sc(e, t, r) {
|
|
10282
10242
|
let n;
|
|
10283
10243
|
for (let a = 0; a < t; a++)
|
|
10284
10244
|
try {
|
|
@@ -10294,13 +10254,13 @@ async function lc(e, t, r) {
|
|
|
10294
10254
|
}
|
|
10295
10255
|
throw n;
|
|
10296
10256
|
}
|
|
10297
|
-
function
|
|
10298
|
-
|
|
10257
|
+
function Gm() {
|
|
10258
|
+
He.clear();
|
|
10299
10259
|
}
|
|
10300
|
-
function
|
|
10260
|
+
function Km() {
|
|
10301
10261
|
return {
|
|
10302
|
-
cachedComponents:
|
|
10303
|
-
cacheEntries: Array.from(
|
|
10262
|
+
cachedComponents: He.size,
|
|
10263
|
+
cacheEntries: Array.from(He.entries()).map(([e, t]) => ({
|
|
10304
10264
|
key: e,
|
|
10305
10265
|
lastCheck: t.lastCheck,
|
|
10306
10266
|
isValid: t.isValid,
|
|
@@ -10308,7 +10268,7 @@ function Qm() {
|
|
|
10308
10268
|
}))
|
|
10309
10269
|
};
|
|
10310
10270
|
}
|
|
10311
|
-
const
|
|
10271
|
+
const kr = [
|
|
10312
10272
|
// Critical: Always preload immediately
|
|
10313
10273
|
{
|
|
10314
10274
|
name: "react-router",
|
|
@@ -10395,7 +10355,7 @@ const Sr = [
|
|
|
10395
10355
|
}
|
|
10396
10356
|
}
|
|
10397
10357
|
];
|
|
10398
|
-
class
|
|
10358
|
+
class lc {
|
|
10399
10359
|
constructor() {
|
|
10400
10360
|
this.preloaded = /* @__PURE__ */ new Set(), this.networkSpeedEstimate = "medium", this.isLowEndDevice = !1, this.userActivityScore = 0, this.detectNetworkSpeed(), this.detectDeviceCapability(), this.startUserActivityTracking();
|
|
10401
10361
|
}
|
|
@@ -10472,7 +10432,7 @@ class cc {
|
|
|
10472
10432
|
}) : this.preloadChunk(t);
|
|
10473
10433
|
}
|
|
10474
10434
|
initializePreloading() {
|
|
10475
|
-
|
|
10435
|
+
kr.sort((r, n) => {
|
|
10476
10436
|
const a = { critical: 0, high: 1, medium: 2, low: 3 };
|
|
10477
10437
|
return a[r.config.priority] - a[n.config.priority];
|
|
10478
10438
|
}).forEach((r) => {
|
|
@@ -10501,7 +10461,7 @@ class cc {
|
|
|
10501
10461
|
}
|
|
10502
10462
|
startIntelligentPreloading() {
|
|
10503
10463
|
setTimeout(() => {
|
|
10504
|
-
this.userActivityScore > 50 && this.networkSpeedEstimate !== "slow" &&
|
|
10464
|
+
this.userActivityScore > 50 && this.networkSpeedEstimate !== "slow" && kr.filter(
|
|
10505
10465
|
(r) => r.config.priority === "medium" && this.shouldPreload(r)
|
|
10506
10466
|
).forEach((r) => {
|
|
10507
10467
|
Math.random() > 0.5 && this.schedulePreload(r);
|
|
@@ -10518,15 +10478,15 @@ class cc {
|
|
|
10518
10478
|
}
|
|
10519
10479
|
}
|
|
10520
10480
|
let Me = null;
|
|
10521
|
-
function
|
|
10522
|
-
Me || (Me = new
|
|
10481
|
+
function Ym() {
|
|
10482
|
+
Me || (Me = new lc(), document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", () => {
|
|
10523
10483
|
Me?.initializePreloading();
|
|
10524
10484
|
}) : Me.initializePreloading());
|
|
10525
10485
|
}
|
|
10526
|
-
function
|
|
10486
|
+
function Qm() {
|
|
10527
10487
|
return Me?.getPreloadingStats();
|
|
10528
10488
|
}
|
|
10529
|
-
function
|
|
10489
|
+
function Xm(e) {
|
|
10530
10490
|
const t = {
|
|
10531
10491
|
// Core AI Classification
|
|
10532
10492
|
"ai-content-type": e.contentType,
|
|
@@ -10559,10 +10519,10 @@ function Jm(e) {
|
|
|
10559
10519
|
};
|
|
10560
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;
|
|
10561
10521
|
}
|
|
10562
|
-
function
|
|
10522
|
+
function cc(e) {
|
|
10563
10523
|
const t = {
|
|
10564
10524
|
"@context": "https://schema.org",
|
|
10565
|
-
"@type":
|
|
10525
|
+
"@type": mc(e.contentType),
|
|
10566
10526
|
name: e.primaryTopic,
|
|
10567
10527
|
description: `Comprehensive ${e.primaryTopic} resource for ${e.targetAudience.join(", ")}`,
|
|
10568
10528
|
about: e.semanticKeywords.map((r) => ({
|
|
@@ -10597,14 +10557,14 @@ function dc(e) {
|
|
|
10597
10557
|
]
|
|
10598
10558
|
} : t;
|
|
10599
10559
|
}
|
|
10600
|
-
function
|
|
10560
|
+
function Zm(e, t) {
|
|
10601
10561
|
return t.map((r) => ({
|
|
10602
10562
|
type: "related-content",
|
|
10603
10563
|
target: r.url,
|
|
10604
10564
|
strength: r.relevance
|
|
10605
10565
|
}));
|
|
10606
10566
|
}
|
|
10607
|
-
function
|
|
10567
|
+
function dc(e) {
|
|
10608
10568
|
const t = [
|
|
10609
10569
|
"0xmail.box",
|
|
10610
10570
|
"Web3",
|
|
@@ -10626,7 +10586,7 @@ function uc(e) {
|
|
|
10626
10586
|
];
|
|
10627
10587
|
return e.contentType === "governance-page" ? [...t, ...r] : t;
|
|
10628
10588
|
}
|
|
10629
|
-
function
|
|
10589
|
+
function uc(e) {
|
|
10630
10590
|
const t = [
|
|
10631
10591
|
"web3-infrastructure",
|
|
10632
10592
|
"email-technology",
|
|
@@ -10640,7 +10600,7 @@ function mc(e) {
|
|
|
10640
10600
|
];
|
|
10641
10601
|
return e.contentType === "governance-page" ? [...t, ...r] : t;
|
|
10642
10602
|
}
|
|
10643
|
-
function
|
|
10603
|
+
function Jm(e, t) {
|
|
10644
10604
|
return {
|
|
10645
10605
|
contentClassification: {
|
|
10646
10606
|
type: e.contentType,
|
|
@@ -10650,14 +10610,14 @@ function t0(e, t) {
|
|
|
10650
10610
|
purpose: e.contentPurpose,
|
|
10651
10611
|
vertical: e.industryVertical
|
|
10652
10612
|
},
|
|
10653
|
-
semanticMarkup:
|
|
10654
|
-
entityRecognition:
|
|
10655
|
-
topicClustering:
|
|
10613
|
+
semanticMarkup: cc(e),
|
|
10614
|
+
entityRecognition: dc(e),
|
|
10615
|
+
topicClustering: uc(e),
|
|
10656
10616
|
contentRelationships: t?.contentRelationships || [],
|
|
10657
10617
|
...t
|
|
10658
10618
|
};
|
|
10659
10619
|
}
|
|
10660
|
-
function
|
|
10620
|
+
function mc(e) {
|
|
10661
10621
|
return {
|
|
10662
10622
|
article: "Article",
|
|
10663
10623
|
"landing-page": "WebPage",
|
|
@@ -10666,7 +10626,7 @@ function gc(e) {
|
|
|
10666
10626
|
documentation: "TechArticle"
|
|
10667
10627
|
}[e] || "WebPage";
|
|
10668
10628
|
}
|
|
10669
|
-
function
|
|
10629
|
+
function e0(e) {
|
|
10670
10630
|
return {
|
|
10671
10631
|
"@context": "https://schema.org",
|
|
10672
10632
|
"@type": "MonitorAction",
|
|
@@ -10688,7 +10648,7 @@ function r0(e) {
|
|
|
10688
10648
|
}
|
|
10689
10649
|
};
|
|
10690
10650
|
}
|
|
10691
|
-
const
|
|
10651
|
+
const t0 = {
|
|
10692
10652
|
governancePage: {
|
|
10693
10653
|
contentType: "governance-page",
|
|
10694
10654
|
primaryTopic: "DAO Governance Communication Platform",
|
|
@@ -10776,14 +10736,14 @@ const n0 = {
|
|
|
10776
10736
|
"premium-upgrade"
|
|
10777
10737
|
]
|
|
10778
10738
|
}
|
|
10779
|
-
},
|
|
10739
|
+
}, gc = ({
|
|
10780
10740
|
message: e,
|
|
10781
10741
|
className: t
|
|
10782
10742
|
}) => /* @__PURE__ */ h("div", { className: `flex items-center justify-center p-4 ${t || ""}`, children: [
|
|
10783
10743
|
/* @__PURE__ */ i("div", { className: "animate-spin rounded-full h-6 w-6 border-b-2 border-blue-500" }),
|
|
10784
10744
|
/* @__PURE__ */ i("span", { className: "ml-2 text-sm text-gray-600", children: e })
|
|
10785
10745
|
] }), vt = /* @__PURE__ */ new Map(), ze = /* @__PURE__ */ new Set();
|
|
10786
|
-
function
|
|
10746
|
+
function Rn() {
|
|
10787
10747
|
const e = [];
|
|
10788
10748
|
return !!window.ethereum?.isMetaMask && (ze.add("metamask"), e.push({
|
|
10789
10749
|
name: "MetaMask",
|
|
@@ -10803,17 +10763,17 @@ function Dn() {
|
|
|
10803
10763
|
priority: 4
|
|
10804
10764
|
}), e.sort((a, o) => a.priority - o.priority);
|
|
10805
10765
|
}
|
|
10806
|
-
function
|
|
10766
|
+
function Mn(e) {
|
|
10807
10767
|
const t = `wallet-${e.toLowerCase()}`;
|
|
10808
10768
|
if (vt.has(t))
|
|
10809
10769
|
return vt.get(t);
|
|
10810
10770
|
const n = ve(() => Promise.resolve({
|
|
10811
10771
|
default: () => P.createElement("div", {}, `${e} Provider Placeholder`)
|
|
10812
10772
|
})), a = (o) => /* @__PURE__ */ i(
|
|
10813
|
-
|
|
10773
|
+
Ue,
|
|
10814
10774
|
{
|
|
10815
10775
|
fallback: /* @__PURE__ */ i(
|
|
10816
|
-
|
|
10776
|
+
gc,
|
|
10817
10777
|
{
|
|
10818
10778
|
message: `Loading ${e} wallet...`,
|
|
10819
10779
|
className: "wallet-loading"
|
|
@@ -10824,26 +10784,26 @@ function zn(e) {
|
|
|
10824
10784
|
);
|
|
10825
10785
|
return a.displayName = `Lazy${e}Provider`, vt.set(t, a), a;
|
|
10826
10786
|
}
|
|
10827
|
-
function
|
|
10787
|
+
function r0({
|
|
10828
10788
|
children: e
|
|
10829
10789
|
}) {
|
|
10830
|
-
const t =
|
|
10790
|
+
const t = Rn();
|
|
10831
10791
|
return t.filter((r) => r.priority <= 2 && r.detected).forEach((r) => {
|
|
10832
10792
|
setTimeout(() => {
|
|
10833
10793
|
}, 1e3);
|
|
10834
10794
|
}), /* @__PURE__ */ h(H, { children: [
|
|
10835
10795
|
t.map((r) => {
|
|
10836
|
-
const n =
|
|
10796
|
+
const n = Mn(r.name);
|
|
10837
10797
|
return /* @__PURE__ */ i(n, {}, r.name);
|
|
10838
10798
|
}),
|
|
10839
10799
|
e
|
|
10840
10800
|
] });
|
|
10841
10801
|
}
|
|
10842
|
-
const
|
|
10802
|
+
const Kt = class Kt {
|
|
10843
10803
|
static preloadWallet(t) {
|
|
10844
10804
|
const r = t.toLowerCase();
|
|
10845
10805
|
this.preloadedWallets.has(r) || (this.preloadedWallets.add(r), setTimeout(() => {
|
|
10846
|
-
|
|
10806
|
+
Mn(t);
|
|
10847
10807
|
}, 500));
|
|
10848
10808
|
}
|
|
10849
10809
|
static preloadCommonWallets() {
|
|
@@ -10857,11 +10817,11 @@ const Qt = class Qt {
|
|
|
10857
10817
|
return Array.from(this.preloadedWallets);
|
|
10858
10818
|
}
|
|
10859
10819
|
};
|
|
10860
|
-
|
|
10861
|
-
let it =
|
|
10862
|
-
function
|
|
10820
|
+
Kt.preloadedWallets = /* @__PURE__ */ new Set();
|
|
10821
|
+
let it = Kt;
|
|
10822
|
+
function n0() {
|
|
10863
10823
|
return {
|
|
10864
|
-
availableWallets:
|
|
10824
|
+
availableWallets: Rn(),
|
|
10865
10825
|
preloadWallet: (n) => {
|
|
10866
10826
|
it.preloadWallet(n);
|
|
10867
10827
|
},
|
|
@@ -10869,7 +10829,7 @@ function o0() {
|
|
|
10869
10829
|
hasWallet: (n) => ze.has(n.toLowerCase())
|
|
10870
10830
|
};
|
|
10871
10831
|
}
|
|
10872
|
-
function
|
|
10832
|
+
function a0({
|
|
10873
10833
|
walletName: e,
|
|
10874
10834
|
onConnect: t,
|
|
10875
10835
|
disabled: r = !1
|
|
@@ -10890,7 +10850,7 @@ function i0({
|
|
|
10890
10850
|
}
|
|
10891
10851
|
);
|
|
10892
10852
|
}
|
|
10893
|
-
class
|
|
10853
|
+
class o0 {
|
|
10894
10854
|
constructor() {
|
|
10895
10855
|
this.criticalResources = [], this.observedMetrics = {
|
|
10896
10856
|
fcp: 0,
|
|
@@ -11128,27 +11088,27 @@ const wt = {
|
|
|
11128
11088
|
clearEntries: (e) => {
|
|
11129
11089
|
typeof performance < "u" && (e ? (performance.clearMeasures?.(e), performance.clearMarks?.(e)) : (performance.clearMeasures?.(), performance.clearMarks?.()));
|
|
11130
11090
|
}
|
|
11131
|
-
},
|
|
11091
|
+
}, i0 = (e, t = []) => {
|
|
11132
11092
|
V(() => (wt.mark(`${e}-start`), () => {
|
|
11133
11093
|
wt.mark(`${e}-end`), wt.measure(e, `${e}-start`, `${e}-end`);
|
|
11134
11094
|
}), [e, t]);
|
|
11135
|
-
},
|
|
11095
|
+
}, s0 = (e) => {
|
|
11136
11096
|
const t = q(e);
|
|
11137
11097
|
return t.current = e, re(
|
|
11138
11098
|
(...r) => t.current(...r),
|
|
11139
11099
|
[]
|
|
11140
11100
|
);
|
|
11141
|
-
},
|
|
11101
|
+
}, l0 = (e, t, r) => {
|
|
11142
11102
|
const n = q(t), a = q(void 0);
|
|
11143
11103
|
return Lt(() => (r && process.env.NODE_ENV === "development" && t.some(
|
|
11144
11104
|
(o, s) => o !== n.current[s]
|
|
11145
11105
|
), n.current = t, a.current = e(), a.current), [e, r, t]);
|
|
11146
|
-
}, st = /* @__PURE__ */ new Map(),
|
|
11106
|
+
}, st = /* @__PURE__ */ new Map(), c0 = (e) => {
|
|
11147
11107
|
const t = st.get(e) || 0;
|
|
11148
11108
|
st.set(e, t + 1), V(() => {
|
|
11149
11109
|
process.env.NODE_ENV;
|
|
11150
11110
|
});
|
|
11151
|
-
},
|
|
11111
|
+
}, d0 = () => Object.fromEntries(st), u0 = () => st.clear(), m0 = (e) => P.lazy(e), g0 = (e = 0.1) => {
|
|
11152
11112
|
const [t, r] = R(/* @__PURE__ */ new Set()), n = q(null);
|
|
11153
11113
|
V(() => (n.current = new IntersectionObserver(
|
|
11154
11114
|
(o) => {
|
|
@@ -11167,7 +11127,7 @@ const wt = {
|
|
|
11167
11127
|
o && n.current && n.current.observe(o);
|
|
11168
11128
|
}, []);
|
|
11169
11129
|
return { loadedImages: t, observeImage: a };
|
|
11170
|
-
},
|
|
11130
|
+
}, p0 = (e) => {
|
|
11171
11131
|
typeof window < "u" && "requestIdleCallback" in window ? window.requestIdleCallback(() => {
|
|
11172
11132
|
e().catch(() => {
|
|
11173
11133
|
});
|
|
@@ -11175,19 +11135,19 @@ const wt = {
|
|
|
11175
11135
|
e().catch(() => {
|
|
11176
11136
|
});
|
|
11177
11137
|
}, 100);
|
|
11178
|
-
},
|
|
11179
|
-
|
|
11180
|
-
},
|
|
11138
|
+
}, On = {}, f0 = (e) => {
|
|
11139
|
+
On[e.name] = e.value, process.env.NODE_ENV;
|
|
11140
|
+
}, h0 = () => On, y0 = (e, t = "script") => {
|
|
11181
11141
|
if (typeof document < "u") {
|
|
11182
11142
|
const r = document.createElement("link");
|
|
11183
11143
|
r.rel = "prefetch", r.href = e, r.as = t, document.head.appendChild(r);
|
|
11184
11144
|
}
|
|
11185
|
-
},
|
|
11145
|
+
}, b0 = (e, t = "script", r) => {
|
|
11186
11146
|
if (typeof document < "u") {
|
|
11187
11147
|
const n = document.createElement("link");
|
|
11188
11148
|
n.rel = "preload", n.href = e, n.as = t, r && (n.crossOrigin = "anonymous"), document.head.appendChild(n);
|
|
11189
11149
|
}
|
|
11190
|
-
},
|
|
11150
|
+
}, x0 = (e) => {
|
|
11191
11151
|
const t = q(/* @__PURE__ */ new Set()), r = q(/* @__PURE__ */ new Set()), n = re((o, s) => {
|
|
11192
11152
|
const l = setTimeout(() => {
|
|
11193
11153
|
t.current.delete(l), o();
|
|
@@ -11229,21 +11189,21 @@ const wt = {
|
|
|
11229
11189
|
`CLS (${e.CLS}) exceeds budget (${me.maxCLS})`
|
|
11230
11190
|
), t;
|
|
11231
11191
|
}
|
|
11232
|
-
},
|
|
11192
|
+
}, v0 = ({
|
|
11233
11193
|
contentType: e,
|
|
11234
11194
|
aiSummary: t,
|
|
11235
11195
|
technicalComplexity: r = "intermediate"
|
|
11236
|
-
}) => /* @__PURE__ */ h(
|
|
11196
|
+
}) => /* @__PURE__ */ h(Oa, { children: [
|
|
11237
11197
|
/* @__PURE__ */ i("meta", { name: "ai:content-type", content: e }),
|
|
11238
11198
|
/* @__PURE__ */ i("meta", { name: "ai:summary", content: t }),
|
|
11239
11199
|
/* @__PURE__ */ i("meta", { name: "ai:complexity", content: r })
|
|
11240
|
-
] }),
|
|
11200
|
+
] }), w0 = ({
|
|
11241
11201
|
children: e,
|
|
11242
11202
|
className: t,
|
|
11243
11203
|
...r
|
|
11244
|
-
}) => /* @__PURE__ */ i("main", { className: t, ...r, role: "main", children: e }),
|
|
11204
|
+
}) => /* @__PURE__ */ i("main", { className: t, ...r, role: "main", children: e }), k0 = ({
|
|
11245
11205
|
children: e
|
|
11246
|
-
}) => /* @__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) => {
|
|
11247
11207
|
const t = Te(e.audience);
|
|
11248
11208
|
return {
|
|
11249
11209
|
"@context": "https://schema.org",
|
|
@@ -11330,7 +11290,7 @@ const wt = {
|
|
|
11330
11290
|
snsCompatible: !0
|
|
11331
11291
|
}
|
|
11332
11292
|
};
|
|
11333
|
-
},
|
|
11293
|
+
}, Sr = (e) => {
|
|
11334
11294
|
const t = Te(e.keywords), r = Te(e.audience);
|
|
11335
11295
|
return {
|
|
11336
11296
|
"@context": "https://schema.org",
|
|
@@ -11402,7 +11362,7 @@ const wt = {
|
|
|
11402
11362
|
"Smart contract integration"
|
|
11403
11363
|
]
|
|
11404
11364
|
};
|
|
11405
|
-
},
|
|
11365
|
+
}, C0 = (e) => ({
|
|
11406
11366
|
"@context": "https://schema.org",
|
|
11407
11367
|
"@type": "FAQPage",
|
|
11408
11368
|
mainEntity: e.map((t) => ({
|
|
@@ -11423,7 +11383,7 @@ const wt = {
|
|
|
11423
11383
|
dateCreated: "2024-01-01T00:00:00Z",
|
|
11424
11384
|
category: t.category || "Web3 Email"
|
|
11425
11385
|
}))
|
|
11426
|
-
}),
|
|
11386
|
+
}), Nr = (e) => ({
|
|
11427
11387
|
"@context": "https://schema.org",
|
|
11428
11388
|
"@type": "WebPage",
|
|
11429
11389
|
name: e.title,
|
|
@@ -11487,7 +11447,7 @@ const wt = {
|
|
|
11487
11447
|
},
|
|
11488
11448
|
name: "Connect Web3 Wallet"
|
|
11489
11449
|
}
|
|
11490
|
-
}),
|
|
11450
|
+
}), pc = (e) => {
|
|
11491
11451
|
const t = Te(e.keywords);
|
|
11492
11452
|
return {
|
|
11493
11453
|
"og:title": e.title,
|
|
@@ -11506,7 +11466,7 @@ const wt = {
|
|
|
11506
11466
|
"article:published_time": "2024-01-01T00:00:00Z",
|
|
11507
11467
|
"article:modified_time": e.lastUpdated?.toISOString() || (/* @__PURE__ */ new Date()).toISOString()
|
|
11508
11468
|
};
|
|
11509
|
-
},
|
|
11469
|
+
}, fc = (e) => ({
|
|
11510
11470
|
"twitter:card": "summary_large_image",
|
|
11511
11471
|
"twitter:site": "@0xmailbox",
|
|
11512
11472
|
"twitter:creator": "@0xmailbox",
|
|
@@ -11518,7 +11478,7 @@ const wt = {
|
|
|
11518
11478
|
"twitter:data1": e.category,
|
|
11519
11479
|
"twitter:label2": "Reading Time",
|
|
11520
11480
|
"twitter:data2": e.readingTime ? `${e.readingTime} min` : "5 min"
|
|
11521
|
-
}),
|
|
11481
|
+
}), hc = (e) => {
|
|
11522
11482
|
const t = Te(e.keywords), r = Te(e.audience);
|
|
11523
11483
|
return {
|
|
11524
11484
|
// General AI optimization
|
|
@@ -11547,21 +11507,21 @@ const wt = {
|
|
|
11547
11507
|
"content:expertise": "technical",
|
|
11548
11508
|
"content:trustworthiness": "verified"
|
|
11549
11509
|
};
|
|
11550
|
-
},
|
|
11510
|
+
}, S0 = (e) => ({
|
|
11551
11511
|
structuredData: {
|
|
11552
|
-
product:
|
|
11553
|
-
article:
|
|
11554
|
-
aiOptimized:
|
|
11512
|
+
product: Cr(e),
|
|
11513
|
+
article: Sr(e),
|
|
11514
|
+
aiOptimized: Nr(e)
|
|
11555
11515
|
},
|
|
11556
|
-
openGraph:
|
|
11557
|
-
twitterCard:
|
|
11558
|
-
aiMetaTags:
|
|
11516
|
+
openGraph: pc(e),
|
|
11517
|
+
twitterCard: fc(e),
|
|
11518
|
+
aiMetaTags: hc(e),
|
|
11559
11519
|
jsonLD: [
|
|
11560
|
-
|
|
11561
|
-
|
|
11562
|
-
|
|
11520
|
+
Cr(e),
|
|
11521
|
+
Sr(e),
|
|
11522
|
+
Nr(e)
|
|
11563
11523
|
]
|
|
11564
|
-
}),
|
|
11524
|
+
}), N0 = {
|
|
11565
11525
|
homepage: {
|
|
11566
11526
|
title: "0xmail.box - Revolutionary Web3 Email Platform | Wallet-Based Authentication",
|
|
11567
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.",
|
|
@@ -11625,7 +11585,7 @@ const wt = {
|
|
|
11625
11585
|
readingTime: 8,
|
|
11626
11586
|
relatedTopics: ["Token economics", "Reward systems", "Referral marketing"]
|
|
11627
11587
|
}
|
|
11628
|
-
},
|
|
11588
|
+
}, E0 = (e) => {
|
|
11629
11589
|
const {
|
|
11630
11590
|
level: t,
|
|
11631
11591
|
text: r,
|
|
@@ -11703,7 +11663,7 @@ const wt = {
|
|
|
11703
11663
|
className: t,
|
|
11704
11664
|
semanticContext: "feature"
|
|
11705
11665
|
})
|
|
11706
|
-
},
|
|
11666
|
+
}, A0 = (e) => {
|
|
11707
11667
|
const t = [], r = [], n = e.filter((a) => a.level === 1).length;
|
|
11708
11668
|
n === 0 ? t.push("Missing H1 tag - every page should have exactly one H1") : n > 1 && t.push(
|
|
11709
11669
|
`Multiple H1 tags found (${n}) - use only one H1 per page`
|
|
@@ -11723,7 +11683,7 @@ const wt = {
|
|
|
11723
11683
|
errors: t,
|
|
11724
11684
|
suggestions: r
|
|
11725
11685
|
};
|
|
11726
|
-
},
|
|
11686
|
+
}, P0 = {
|
|
11727
11687
|
walletConnection: ie.pageTitle("Connect Your Web3 Wallet"),
|
|
11728
11688
|
emailBenefits: ie.majorSection("Why Choose Web3 Email?"),
|
|
11729
11689
|
securityFeature: ie.feature("Secure & Private"),
|
|
@@ -11733,7 +11693,7 @@ const wt = {
|
|
|
11733
11693
|
setupStep1: ie.step("Connect Your Wallet", 1),
|
|
11734
11694
|
setupStep2: ie.step("Verify Your Identity", 2),
|
|
11735
11695
|
setupStep3: ie.step("Access Your Emails", 3)
|
|
11736
|
-
},
|
|
11696
|
+
}, T0 = [
|
|
11737
11697
|
{
|
|
11738
11698
|
term: "Web3 Email",
|
|
11739
11699
|
definition: "Email system that uses blockchain wallet addresses as authentication instead of traditional passwords",
|
|
@@ -11818,7 +11778,7 @@ const wt = {
|
|
|
11818
11778
|
examples: ["Gmail to Web3 email", "Outlook integration"],
|
|
11819
11779
|
context: "Web2/Web3 bridge ensures compatibility with existing email infrastructure"
|
|
11820
11780
|
}
|
|
11821
|
-
],
|
|
11781
|
+
], $0 = (e) => ({
|
|
11822
11782
|
// Semantic markup for AI understanding
|
|
11823
11783
|
"@context": "https://schema.org",
|
|
11824
11784
|
"@type": "LearningResource",
|
|
@@ -11836,7 +11796,7 @@ const wt = {
|
|
|
11836
11796
|
keywords: e.concepts,
|
|
11837
11797
|
applicationExample: e.practicalApplications,
|
|
11838
11798
|
isRelatedTo: e.relatedConcepts
|
|
11839
|
-
}),
|
|
11799
|
+
}), L0 = (e) => {
|
|
11840
11800
|
const t = {
|
|
11841
11801
|
nodes: e.map((r) => ({
|
|
11842
11802
|
id: r.term,
|
|
@@ -11861,7 +11821,7 @@ const wt = {
|
|
|
11861
11821
|
});
|
|
11862
11822
|
});
|
|
11863
11823
|
}), t;
|
|
11864
|
-
},
|
|
11824
|
+
}, I0 = (e) => {
|
|
11865
11825
|
const t = [];
|
|
11866
11826
|
return e.examples?.forEach((r) => {
|
|
11867
11827
|
t.push({
|
|
@@ -11881,7 +11841,7 @@ const wt = {
|
|
|
11881
11841
|
type: "definition",
|
|
11882
11842
|
confidence: 1
|
|
11883
11843
|
}), t;
|
|
11884
|
-
},
|
|
11844
|
+
}, R0 = (e) => {
|
|
11885
11845
|
const t = [];
|
|
11886
11846
|
return e.forEach((r) => {
|
|
11887
11847
|
t.push({
|
|
@@ -11906,7 +11866,7 @@ const wt = {
|
|
|
11906
11866
|
difficulty: "intermediate"
|
|
11907
11867
|
});
|
|
11908
11868
|
}), t;
|
|
11909
|
-
},
|
|
11869
|
+
}, M0 = {
|
|
11910
11870
|
homepage: {
|
|
11911
11871
|
domain: "Web3 Email Platform",
|
|
11912
11872
|
category: "Web3 Communication",
|
|
@@ -11997,351 +11957,350 @@ const wt = {
|
|
|
11997
11957
|
* @author John Qiu Huang
|
|
11998
11958
|
* @license MIT
|
|
11999
11959
|
*/
|
|
12000
|
-
const
|
|
11960
|
+
const O0 = {
|
|
12001
11961
|
utils: {
|
|
12002
11962
|
cn: v
|
|
12003
11963
|
}
|
|
12004
11964
|
};
|
|
12005
11965
|
export {
|
|
12006
|
-
|
|
12007
|
-
|
|
12008
|
-
|
|
12009
|
-
|
|
12010
|
-
|
|
12011
|
-
|
|
12012
|
-
|
|
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,
|
|
12013
11973
|
Ee as AnimatedSection,
|
|
12014
|
-
|
|
12015
|
-
|
|
12016
|
-
|
|
12017
|
-
|
|
12018
|
-
|
|
12019
|
-
|
|
12020
|
-
|
|
12021
|
-
|
|
12022
|
-
|
|
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,
|
|
12023
11983
|
be as Button,
|
|
12024
|
-
|
|
12025
|
-
|
|
12026
|
-
|
|
12027
|
-
|
|
12028
|
-
|
|
12029
|
-
|
|
12030
|
-
|
|
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,
|
|
12031
11991
|
Do as ChainBadge,
|
|
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
|
-
|
|
12058
|
-
|
|
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,
|
|
12059
12019
|
Qo as EmptyState,
|
|
12060
|
-
|
|
12061
|
-
|
|
12062
|
-
|
|
12063
|
-
|
|
12064
|
-
|
|
12065
|
-
|
|
12066
|
-
|
|
12067
|
-
|
|
12068
|
-
|
|
12069
|
-
|
|
12070
|
-
|
|
12071
|
-
|
|
12072
|
-
|
|
12073
|
-
|
|
12074
|
-
|
|
12075
|
-
|
|
12076
|
-
|
|
12077
|
-
|
|
12078
|
-
|
|
12079
|
-
|
|
12080
|
-
|
|
12081
|
-
|
|
12082
|
-
|
|
12083
|
-
|
|
12084
|
-
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,
|
|
12085
12044
|
Ao as Input,
|
|
12086
|
-
|
|
12087
|
-
|
|
12088
|
-
|
|
12089
|
-
|
|
12090
|
-
|
|
12091
|
-
|
|
12092
|
-
|
|
12093
|
-
|
|
12094
|
-
|
|
12095
|
-
|
|
12096
|
-
|
|
12097
|
-
|
|
12098
|
-
|
|
12099
|
-
|
|
12100
|
-
|
|
12101
|
-
|
|
12102
|
-
|
|
12103
|
-
|
|
12104
|
-
|
|
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,
|
|
12105
12064
|
kl as Modal,
|
|
12106
12065
|
Cl as ModalContent,
|
|
12107
12066
|
Sl as ModalFooter,
|
|
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
|
-
|
|
12134
|
-
|
|
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,
|
|
12135
12094
|
Ct as SelectContent,
|
|
12136
|
-
|
|
12137
|
-
|
|
12095
|
+
Tu as SelectField,
|
|
12096
|
+
gu as SelectGroup,
|
|
12138
12097
|
St as SelectItem,
|
|
12139
12098
|
$o as SelectLabel,
|
|
12140
|
-
|
|
12141
|
-
|
|
12099
|
+
Ur as SelectScrollDownButton,
|
|
12100
|
+
Hr as SelectScrollUpButton,
|
|
12142
12101
|
Lo as SelectSeparator,
|
|
12143
12102
|
kt as SelectTrigger,
|
|
12144
12103
|
To as SelectValue,
|
|
12145
|
-
|
|
12146
|
-
|
|
12147
|
-
|
|
12148
|
-
|
|
12149
|
-
|
|
12150
|
-
|
|
12151
|
-
|
|
12152
|
-
|
|
12153
|
-
|
|
12154
|
-
|
|
12155
|
-
|
|
12156
|
-
|
|
12157
|
-
|
|
12158
|
-
|
|
12159
|
-
|
|
12160
|
-
|
|
12161
|
-
|
|
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,
|
|
12162
12121
|
Io as Switch,
|
|
12163
|
-
|
|
12164
|
-
|
|
12165
|
-
|
|
12122
|
+
Lu as SystemStatusIndicator,
|
|
12123
|
+
fu as TableOfContents,
|
|
12124
|
+
xu as Tabs,
|
|
12166
12125
|
_o as TabsContent,
|
|
12167
12126
|
jo as TabsList,
|
|
12168
12127
|
Fo as TabsTrigger,
|
|
12169
|
-
|
|
12170
|
-
|
|
12171
|
-
|
|
12172
|
-
|
|
12173
|
-
|
|
12174
|
-
|
|
12175
|
-
|
|
12176
|
-
|
|
12177
|
-
|
|
12178
|
-
|
|
12179
|
-
|
|
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,
|
|
12180
12139
|
ie as WEB3_HEADING_PATTERNS,
|
|
12181
|
-
|
|
12140
|
+
qu as WalletIcon,
|
|
12182
12141
|
it as WalletPreloader,
|
|
12183
|
-
|
|
12184
|
-
|
|
12185
|
-
|
|
12186
|
-
|
|
12187
|
-
|
|
12188
|
-
|
|
12142
|
+
vg as XMarkIcon,
|
|
12143
|
+
Cd as addResourceHint,
|
|
12144
|
+
t0 as aiOptimizationPresets,
|
|
12145
|
+
Ed as appStorage,
|
|
12146
|
+
$d as autoConnectWalletBrowser,
|
|
12147
|
+
_c as batchDOMUpdates,
|
|
12189
12148
|
De as bundleAnalysis,
|
|
12190
12149
|
po as buttonVariants,
|
|
12191
|
-
|
|
12192
|
-
|
|
12193
|
-
|
|
12194
|
-
|
|
12195
|
-
|
|
12196
|
-
|
|
12150
|
+
Rm as cacheHeaders,
|
|
12151
|
+
Am as cacheUtils,
|
|
12152
|
+
Md as checkPerformanceBudget,
|
|
12153
|
+
Wm as clearComponentCache,
|
|
12154
|
+
Gm as clearConditionalCache,
|
|
12155
|
+
u0 as clearRenderCounts,
|
|
12197
12156
|
v as cn,
|
|
12198
12157
|
v as combineClassNames,
|
|
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
|
-
|
|
12233
|
-
|
|
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,
|
|
12234
12193
|
Oe as deadCodeElimination,
|
|
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
|
-
|
|
12267
|
-
|
|
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,
|
|
12268
12227
|
se as getUINavigationService,
|
|
12269
|
-
|
|
12270
|
-
|
|
12271
|
-
|
|
12272
|
-
|
|
12273
|
-
|
|
12274
|
-
|
|
12275
|
-
|
|
12276
|
-
|
|
12277
|
-
|
|
12278
|
-
|
|
12279
|
-
|
|
12280
|
-
|
|
12281
|
-
|
|
12282
|
-
|
|
12283
|
-
|
|
12284
|
-
|
|
12285
|
-
|
|
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,
|
|
12286
12245
|
ke as navigationHelper,
|
|
12287
|
-
|
|
12288
|
-
|
|
12289
|
-
|
|
12290
|
-
|
|
12291
|
-
|
|
12292
|
-
|
|
12293
|
-
|
|
12294
|
-
|
|
12295
|
-
|
|
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,
|
|
12296
12255
|
me as performanceBudget,
|
|
12297
12256
|
wt as performanceUtils,
|
|
12298
|
-
|
|
12299
|
-
|
|
12300
|
-
|
|
12301
|
-
|
|
12302
|
-
|
|
12303
|
-
|
|
12304
|
-
|
|
12305
|
-
|
|
12306
|
-
|
|
12307
|
-
|
|
12308
|
-
|
|
12309
|
-
|
|
12310
|
-
|
|
12311
|
-
|
|
12312
|
-
|
|
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,
|
|
12313
12272
|
xt as smartLinkVariants,
|
|
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
|
-
|
|
12346
|
-
|
|
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
|
|
12347
12306
|
};
|