advi-ui 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +112 -0
- package/dist/advi-ui.cjs.js +46 -0
- package/dist/advi-ui.cjs.js.map +1 -0
- package/dist/advi-ui.css +2 -0
- package/dist/advi-ui.es.js +3814 -0
- package/dist/advi-ui.es.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/src/components/PageNotFound.d.ts +1 -0
- package/dist/src/components/ui/button.d.ts +11 -0
- package/dist/src/components/ui/card.d.ts +11 -0
- package/dist/src/components/ui/dialog.d.ts +19 -0
- package/dist/src/components/ui/header.d.ts +9 -0
- package/dist/src/components/ui/input.d.ts +9 -0
- package/dist/src/components/ui/label.d.ts +5 -0
- package/dist/src/components/ui/link.d.ts +14 -0
- package/dist/src/components/ui/loading.d.ts +9 -0
- package/dist/src/components/ui/modal.d.ts +12 -0
- package/dist/src/components/ui/page-aside.d.ts +9 -0
- package/dist/src/components/ui/textarea.d.ts +11 -0
- package/dist/src/components/ui/toast.d.ts +11 -0
- package/dist/src/index.d.ts +14 -0
- package/dist/src/lib/utils.d.ts +2 -0
- package/dist/src/main.d.ts +0 -0
- package/package.json +98 -0
|
@@ -0,0 +1,3814 @@
|
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
import t, { createContext as n, createElement as r, forwardRef as i, useCallback as a, useContext as o, useEffect as s, useState as c } from "react";
|
|
3
|
+
import { Fragment as l, jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
4
|
+
import * as f from "react-dom";
|
|
5
|
+
import p from "react-dom";
|
|
6
|
+
//#region node_modules/@radix-ui/react-compose-refs/dist/index.mjs
|
|
7
|
+
function m(e, t) {
|
|
8
|
+
if (typeof e == "function") return e(t);
|
|
9
|
+
e != null && (e.current = t);
|
|
10
|
+
}
|
|
11
|
+
function h(...e) {
|
|
12
|
+
return (t) => {
|
|
13
|
+
let n = !1, r = e.map((e) => {
|
|
14
|
+
let r = m(e, t);
|
|
15
|
+
return !n && typeof r == "function" && (n = !0), r;
|
|
16
|
+
});
|
|
17
|
+
if (n) return () => {
|
|
18
|
+
for (let t = 0; t < r.length; t++) {
|
|
19
|
+
let n = r[t];
|
|
20
|
+
typeof n == "function" ? n() : m(e[t], null);
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
function g(...t) {
|
|
26
|
+
return e.useCallback(h(...t), t);
|
|
27
|
+
}
|
|
28
|
+
//#endregion
|
|
29
|
+
//#region node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
30
|
+
var _ = Symbol.for("react.lazy"), v = e.use;
|
|
31
|
+
function y(e) {
|
|
32
|
+
return typeof e == "object" && !!e && "then" in e;
|
|
33
|
+
}
|
|
34
|
+
function b(e) {
|
|
35
|
+
return typeof e == "object" && !!e && "$$typeof" in e && e.$$typeof === _ && "_payload" in e && y(e._payload);
|
|
36
|
+
}
|
|
37
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
38
|
+
function x(t) {
|
|
39
|
+
let n = /* @__PURE__ */ C(t), r = e.forwardRef((t, r) => {
|
|
40
|
+
let { children: i, ...a } = t;
|
|
41
|
+
b(i) && typeof v == "function" && (i = v(i._payload));
|
|
42
|
+
let o = e.Children.toArray(i), s = o.find(T);
|
|
43
|
+
if (s) {
|
|
44
|
+
let t = s.props.children, i = o.map((n) => n === s ? e.Children.count(t) > 1 ? e.Children.only(null) : e.isValidElement(t) ? t.props.children : null : n);
|
|
45
|
+
return /* @__PURE__ */ u(n, {
|
|
46
|
+
...a,
|
|
47
|
+
ref: r,
|
|
48
|
+
children: e.isValidElement(t) ? e.cloneElement(t, void 0, i) : null
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
return /* @__PURE__ */ u(n, {
|
|
52
|
+
...a,
|
|
53
|
+
ref: r,
|
|
54
|
+
children: i
|
|
55
|
+
});
|
|
56
|
+
});
|
|
57
|
+
return r.displayName = `${t}.Slot`, r;
|
|
58
|
+
}
|
|
59
|
+
var S = /* @__PURE__ */ x("Slot");
|
|
60
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
61
|
+
function C(t) {
|
|
62
|
+
let n = e.forwardRef((t, n) => {
|
|
63
|
+
let { children: r, ...i } = t;
|
|
64
|
+
if (b(r) && typeof v == "function" && (r = v(r._payload)), e.isValidElement(r)) {
|
|
65
|
+
let t = te(r), a = ee(i, r.props);
|
|
66
|
+
return r.type !== e.Fragment && (a.ref = n ? h(n, t) : t), e.cloneElement(r, a);
|
|
67
|
+
}
|
|
68
|
+
return e.Children.count(r) > 1 ? e.Children.only(null) : null;
|
|
69
|
+
});
|
|
70
|
+
return n.displayName = `${t}.SlotClone`, n;
|
|
71
|
+
}
|
|
72
|
+
var w = Symbol("radix.slottable");
|
|
73
|
+
function T(t) {
|
|
74
|
+
return e.isValidElement(t) && typeof t.type == "function" && "__radixId" in t.type && t.type.__radixId === w;
|
|
75
|
+
}
|
|
76
|
+
function ee(e, t) {
|
|
77
|
+
let n = { ...t };
|
|
78
|
+
for (let r in t) {
|
|
79
|
+
let i = e[r], a = t[r];
|
|
80
|
+
/^on[A-Z]/.test(r) ? i && a ? n[r] = (...e) => {
|
|
81
|
+
let t = a(...e);
|
|
82
|
+
return i(...e), t;
|
|
83
|
+
} : i && (n[r] = i) : r === "style" ? n[r] = {
|
|
84
|
+
...i,
|
|
85
|
+
...a
|
|
86
|
+
} : r === "className" && (n[r] = [i, a].filter(Boolean).join(" "));
|
|
87
|
+
}
|
|
88
|
+
return {
|
|
89
|
+
...e,
|
|
90
|
+
...n
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
function te(e) {
|
|
94
|
+
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
95
|
+
return n ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
96
|
+
}
|
|
97
|
+
//#endregion
|
|
98
|
+
//#region node_modules/clsx/dist/clsx.mjs
|
|
99
|
+
function ne(e) {
|
|
100
|
+
var t, n, r = "";
|
|
101
|
+
if (typeof e == "string" || typeof e == "number") r += e;
|
|
102
|
+
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
103
|
+
var i = e.length;
|
|
104
|
+
for (t = 0; t < i; t++) e[t] && (n = ne(e[t])) && (r && (r += " "), r += n);
|
|
105
|
+
} else for (n in e) e[n] && (r && (r += " "), r += n);
|
|
106
|
+
return r;
|
|
107
|
+
}
|
|
108
|
+
function re() {
|
|
109
|
+
for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = ne(e)) && (r && (r += " "), r += t);
|
|
110
|
+
return r;
|
|
111
|
+
}
|
|
112
|
+
//#endregion
|
|
113
|
+
//#region node_modules/class-variance-authority/dist/index.mjs
|
|
114
|
+
var ie = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, E = re, D = (e, t) => (n) => {
|
|
115
|
+
if (t?.variants == null) return E(e, n?.class, n?.className);
|
|
116
|
+
let { variants: r, defaultVariants: i } = t, a = Object.keys(r).map((e) => {
|
|
117
|
+
let t = n?.[e], a = i?.[e];
|
|
118
|
+
if (t === null) return null;
|
|
119
|
+
let o = ie(t) || ie(a);
|
|
120
|
+
return r[e][o];
|
|
121
|
+
}), o = n && Object.entries(n).reduce((e, t) => {
|
|
122
|
+
let [n, r] = t;
|
|
123
|
+
return r === void 0 || (e[n] = r), e;
|
|
124
|
+
}, {});
|
|
125
|
+
return E(e, a, t?.compoundVariants?.reduce((e, t) => {
|
|
126
|
+
let { class: n, className: r, ...a } = t;
|
|
127
|
+
return Object.entries(a).every((e) => {
|
|
128
|
+
let [t, n] = e;
|
|
129
|
+
return Array.isArray(n) ? n.includes({
|
|
130
|
+
...i,
|
|
131
|
+
...o
|
|
132
|
+
}[t]) : {
|
|
133
|
+
...i,
|
|
134
|
+
...o
|
|
135
|
+
}[t] === n;
|
|
136
|
+
}) ? [
|
|
137
|
+
...e,
|
|
138
|
+
n,
|
|
139
|
+
r
|
|
140
|
+
] : e;
|
|
141
|
+
}, []), n?.class, n?.className);
|
|
142
|
+
}, O = (e, t) => {
|
|
143
|
+
let n = Array(e.length + t.length);
|
|
144
|
+
for (let t = 0; t < e.length; t++) n[t] = e[t];
|
|
145
|
+
for (let r = 0; r < t.length; r++) n[e.length + r] = t[r];
|
|
146
|
+
return n;
|
|
147
|
+
}, ae = (e, t) => ({
|
|
148
|
+
classGroupId: e,
|
|
149
|
+
validator: t
|
|
150
|
+
}), oe = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
|
|
151
|
+
nextPart: e,
|
|
152
|
+
validators: t,
|
|
153
|
+
classGroupId: n
|
|
154
|
+
}), k = "-", se = [], ce = "arbitrary..", le = (e) => {
|
|
155
|
+
let t = j(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
|
|
156
|
+
return {
|
|
157
|
+
getClassGroupId: (e) => {
|
|
158
|
+
if (e.startsWith("[") && e.endsWith("]")) return A(e);
|
|
159
|
+
let n = e.split(k);
|
|
160
|
+
return ue(n, +(n[0] === "" && n.length > 1), t);
|
|
161
|
+
},
|
|
162
|
+
getConflictingClassGroupIds: (e, t) => {
|
|
163
|
+
if (t) {
|
|
164
|
+
let t = r[e], i = n[e];
|
|
165
|
+
return t ? i ? O(i, t) : t : i || se;
|
|
166
|
+
}
|
|
167
|
+
return n[e] || se;
|
|
168
|
+
}
|
|
169
|
+
};
|
|
170
|
+
}, ue = (e, t, n) => {
|
|
171
|
+
if (e.length - t === 0) return n.classGroupId;
|
|
172
|
+
let r = e[t], i = n.nextPart.get(r);
|
|
173
|
+
if (i) {
|
|
174
|
+
let n = ue(e, t + 1, i);
|
|
175
|
+
if (n) return n;
|
|
176
|
+
}
|
|
177
|
+
let a = n.validators;
|
|
178
|
+
if (a === null) return;
|
|
179
|
+
let o = t === 0 ? e.join(k) : e.slice(t).join(k), s = a.length;
|
|
180
|
+
for (let e = 0; e < s; e++) {
|
|
181
|
+
let t = a[e];
|
|
182
|
+
if (t.validator(o)) return t.classGroupId;
|
|
183
|
+
}
|
|
184
|
+
}, A = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
185
|
+
let t = e.slice(1, -1), n = t.indexOf(":"), r = t.slice(0, n);
|
|
186
|
+
return r ? ce + r : void 0;
|
|
187
|
+
})(), j = (e) => {
|
|
188
|
+
let { theme: t, classGroups: n } = e;
|
|
189
|
+
return de(n, t);
|
|
190
|
+
}, de = (e, t) => {
|
|
191
|
+
let n = oe();
|
|
192
|
+
for (let r in e) {
|
|
193
|
+
let i = e[r];
|
|
194
|
+
fe(i, n, r, t);
|
|
195
|
+
}
|
|
196
|
+
return n;
|
|
197
|
+
}, fe = (e, t, n, r) => {
|
|
198
|
+
let i = e.length;
|
|
199
|
+
for (let a = 0; a < i; a++) {
|
|
200
|
+
let i = e[a];
|
|
201
|
+
M(i, t, n, r);
|
|
202
|
+
}
|
|
203
|
+
}, M = (e, t, n, r) => {
|
|
204
|
+
if (typeof e == "string") {
|
|
205
|
+
pe(e, t, n);
|
|
206
|
+
return;
|
|
207
|
+
}
|
|
208
|
+
if (typeof e == "function") {
|
|
209
|
+
me(e, t, n, r);
|
|
210
|
+
return;
|
|
211
|
+
}
|
|
212
|
+
he(e, t, n, r);
|
|
213
|
+
}, pe = (e, t, n) => {
|
|
214
|
+
let r = e === "" ? t : ge(t, e);
|
|
215
|
+
r.classGroupId = n;
|
|
216
|
+
}, me = (e, t, n, r) => {
|
|
217
|
+
if (_e(e)) {
|
|
218
|
+
fe(e(r), t, n, r);
|
|
219
|
+
return;
|
|
220
|
+
}
|
|
221
|
+
t.validators === null && (t.validators = []), t.validators.push(ae(n, e));
|
|
222
|
+
}, he = (e, t, n, r) => {
|
|
223
|
+
let i = Object.entries(e), a = i.length;
|
|
224
|
+
for (let e = 0; e < a; e++) {
|
|
225
|
+
let [a, o] = i[e];
|
|
226
|
+
fe(o, ge(t, a), n, r);
|
|
227
|
+
}
|
|
228
|
+
}, ge = (e, t) => {
|
|
229
|
+
let n = e, r = t.split(k), i = r.length;
|
|
230
|
+
for (let e = 0; e < i; e++) {
|
|
231
|
+
let t = r[e], i = n.nextPart.get(t);
|
|
232
|
+
i || (i = oe(), n.nextPart.set(t, i)), n = i;
|
|
233
|
+
}
|
|
234
|
+
return n;
|
|
235
|
+
}, _e = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, ve = (e) => {
|
|
236
|
+
if (e < 1) return {
|
|
237
|
+
get: () => void 0,
|
|
238
|
+
set: () => {}
|
|
239
|
+
};
|
|
240
|
+
let t = 0, n = Object.create(null), r = Object.create(null), i = (i, a) => {
|
|
241
|
+
n[i] = a, t++, t > e && (t = 0, r = n, n = Object.create(null));
|
|
242
|
+
};
|
|
243
|
+
return {
|
|
244
|
+
get(e) {
|
|
245
|
+
let t = n[e];
|
|
246
|
+
if (t !== void 0) return t;
|
|
247
|
+
if ((t = r[e]) !== void 0) return i(e, t), t;
|
|
248
|
+
},
|
|
249
|
+
set(e, t) {
|
|
250
|
+
e in n ? n[e] = t : i(e, t);
|
|
251
|
+
}
|
|
252
|
+
};
|
|
253
|
+
}, ye = "!", be = ":", xe = [], Se = (e, t, n, r, i) => ({
|
|
254
|
+
modifiers: e,
|
|
255
|
+
hasImportantModifier: t,
|
|
256
|
+
baseClassName: n,
|
|
257
|
+
maybePostfixModifierPosition: r,
|
|
258
|
+
isExternal: i
|
|
259
|
+
}), Ce = (e) => {
|
|
260
|
+
let { prefix: t, experimentalParseClassName: n } = e, r = (e) => {
|
|
261
|
+
let t = [], n = 0, r = 0, i = 0, a, o = e.length;
|
|
262
|
+
for (let s = 0; s < o; s++) {
|
|
263
|
+
let o = e[s];
|
|
264
|
+
if (n === 0 && r === 0) {
|
|
265
|
+
if (o === be) {
|
|
266
|
+
t.push(e.slice(i, s)), i = s + 1;
|
|
267
|
+
continue;
|
|
268
|
+
}
|
|
269
|
+
if (o === "/") {
|
|
270
|
+
a = s;
|
|
271
|
+
continue;
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;
|
|
275
|
+
}
|
|
276
|
+
let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;
|
|
277
|
+
s.endsWith(ye) ? (c = s.slice(0, -1), l = !0) : s.startsWith(ye) && (c = s.slice(1), l = !0);
|
|
278
|
+
let u = a && a > i ? a - i : void 0;
|
|
279
|
+
return Se(t, l, c, u);
|
|
280
|
+
};
|
|
281
|
+
if (t) {
|
|
282
|
+
let e = t + be, n = r;
|
|
283
|
+
r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : Se(xe, !1, t, void 0, !0);
|
|
284
|
+
}
|
|
285
|
+
if (n) {
|
|
286
|
+
let e = r;
|
|
287
|
+
r = (t) => n({
|
|
288
|
+
className: t,
|
|
289
|
+
parseClassName: e
|
|
290
|
+
});
|
|
291
|
+
}
|
|
292
|
+
return r;
|
|
293
|
+
}, we = (e) => {
|
|
294
|
+
let t = /* @__PURE__ */ new Map();
|
|
295
|
+
return e.orderSensitiveModifiers.forEach((e, n) => {
|
|
296
|
+
t.set(e, 1e6 + n);
|
|
297
|
+
}), (e) => {
|
|
298
|
+
let n = [], r = [];
|
|
299
|
+
for (let i = 0; i < e.length; i++) {
|
|
300
|
+
let a = e[i], o = a[0] === "[", s = t.has(a);
|
|
301
|
+
o || s ? (r.length > 0 && (r.sort(), n.push(...r), r = []), n.push(a)) : r.push(a);
|
|
302
|
+
}
|
|
303
|
+
return r.length > 0 && (r.sort(), n.push(...r)), n;
|
|
304
|
+
};
|
|
305
|
+
}, Te = (e) => ({
|
|
306
|
+
cache: ve(e.cacheSize),
|
|
307
|
+
parseClassName: Ce(e),
|
|
308
|
+
sortModifiers: we(e),
|
|
309
|
+
...le(e)
|
|
310
|
+
}), Ee = /\s+/, De = (e, t) => {
|
|
311
|
+
let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a } = t, o = [], s = e.trim().split(Ee), c = "";
|
|
312
|
+
for (let e = s.length - 1; e >= 0; --e) {
|
|
313
|
+
let t = s[e], { isExternal: l, modifiers: u, hasImportantModifier: d, baseClassName: f, maybePostfixModifierPosition: p } = n(t);
|
|
314
|
+
if (l) {
|
|
315
|
+
c = t + (c.length > 0 ? " " + c : c);
|
|
316
|
+
continue;
|
|
317
|
+
}
|
|
318
|
+
let m = !!p, h = r(m ? f.substring(0, p) : f);
|
|
319
|
+
if (!h) {
|
|
320
|
+
if (!m) {
|
|
321
|
+
c = t + (c.length > 0 ? " " + c : c);
|
|
322
|
+
continue;
|
|
323
|
+
}
|
|
324
|
+
if (h = r(f), !h) {
|
|
325
|
+
c = t + (c.length > 0 ? " " + c : c);
|
|
326
|
+
continue;
|
|
327
|
+
}
|
|
328
|
+
m = !1;
|
|
329
|
+
}
|
|
330
|
+
let g = u.length === 0 ? "" : u.length === 1 ? u[0] : a(u).join(":"), _ = d ? g + ye : g, v = _ + h;
|
|
331
|
+
if (o.indexOf(v) > -1) continue;
|
|
332
|
+
o.push(v);
|
|
333
|
+
let y = i(h, m);
|
|
334
|
+
for (let e = 0; e < y.length; ++e) {
|
|
335
|
+
let t = y[e];
|
|
336
|
+
o.push(_ + t);
|
|
337
|
+
}
|
|
338
|
+
c = t + (c.length > 0 ? " " + c : c);
|
|
339
|
+
}
|
|
340
|
+
return c;
|
|
341
|
+
}, Oe = (...e) => {
|
|
342
|
+
let t = 0, n, r, i = "";
|
|
343
|
+
for (; t < e.length;) (n = e[t++]) && (r = ke(n)) && (i && (i += " "), i += r);
|
|
344
|
+
return i;
|
|
345
|
+
}, ke = (e) => {
|
|
346
|
+
if (typeof e == "string") return e;
|
|
347
|
+
let t, n = "";
|
|
348
|
+
for (let r = 0; r < e.length; r++) e[r] && (t = ke(e[r])) && (n && (n += " "), n += t);
|
|
349
|
+
return n;
|
|
350
|
+
}, Ae = (e, ...t) => {
|
|
351
|
+
let n, r, i, a, o = (o) => (n = Te(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
|
|
352
|
+
let t = r(e);
|
|
353
|
+
if (t) return t;
|
|
354
|
+
let a = De(e, n);
|
|
355
|
+
return i(e, a), a;
|
|
356
|
+
};
|
|
357
|
+
return a = o, (...e) => a(Oe(...e));
|
|
358
|
+
}, je = [], N = (e) => {
|
|
359
|
+
let t = (t) => t[e] || je;
|
|
360
|
+
return t.isThemeGetter = !0, t;
|
|
361
|
+
}, Me = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ne = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Pe = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Fe = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Ie = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Le = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Re = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, ze = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, P = (e) => Pe.test(e), F = (e) => !!e && !Number.isNaN(Number(e)), I = (e) => !!e && Number.isInteger(Number(e)), Be = (e) => e.endsWith("%") && F(e.slice(0, -1)), L = (e) => Fe.test(e), Ve = () => !0, He = (e) => Ie.test(e) && !Le.test(e), Ue = () => !1, We = (e) => Re.test(e), Ge = (e) => ze.test(e), Ke = (e) => !R(e) && !B(e), qe = (e) => V(e, lt, Ue), R = (e) => Me.test(e), z = (e) => V(e, ut, He), Je = (e) => V(e, dt, F), Ye = (e) => V(e, pt, Ve), Xe = (e) => V(e, ft, Ue), Ze = (e) => V(e, st, Ue), Qe = (e) => V(e, ct, Ge), $e = (e) => V(e, mt, We), B = (e) => Ne.test(e), et = (e) => H(e, ut), tt = (e) => H(e, ft), nt = (e) => H(e, st), rt = (e) => H(e, lt), it = (e) => H(e, ct), at = (e) => H(e, mt, !0), ot = (e) => H(e, pt, !0), V = (e, t, n) => {
|
|
362
|
+
let r = Me.exec(e);
|
|
363
|
+
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
|
|
364
|
+
}, H = (e, t, n = !1) => {
|
|
365
|
+
let r = Ne.exec(e);
|
|
366
|
+
return r ? r[1] ? t(r[1]) : n : !1;
|
|
367
|
+
}, st = (e) => e === "position" || e === "percentage", ct = (e) => e === "image" || e === "url", lt = (e) => e === "length" || e === "size" || e === "bg-size", ut = (e) => e === "length", dt = (e) => e === "number", ft = (e) => e === "family-name", pt = (e) => e === "number" || e === "weight", mt = (e) => e === "shadow", ht = /* @__PURE__ */ Ae(() => {
|
|
368
|
+
let e = N("color"), t = N("font"), n = N("text"), r = N("font-weight"), i = N("tracking"), a = N("leading"), o = N("breakpoint"), s = N("container"), c = N("spacing"), l = N("radius"), u = N("shadow"), d = N("inset-shadow"), f = N("text-shadow"), p = N("drop-shadow"), m = N("blur"), h = N("perspective"), g = N("aspect"), _ = N("ease"), v = N("animate"), y = () => [
|
|
369
|
+
"auto",
|
|
370
|
+
"avoid",
|
|
371
|
+
"all",
|
|
372
|
+
"avoid-page",
|
|
373
|
+
"page",
|
|
374
|
+
"left",
|
|
375
|
+
"right",
|
|
376
|
+
"column"
|
|
377
|
+
], b = () => [
|
|
378
|
+
"center",
|
|
379
|
+
"top",
|
|
380
|
+
"bottom",
|
|
381
|
+
"left",
|
|
382
|
+
"right",
|
|
383
|
+
"top-left",
|
|
384
|
+
"left-top",
|
|
385
|
+
"top-right",
|
|
386
|
+
"right-top",
|
|
387
|
+
"bottom-right",
|
|
388
|
+
"right-bottom",
|
|
389
|
+
"bottom-left",
|
|
390
|
+
"left-bottom"
|
|
391
|
+
], x = () => [
|
|
392
|
+
...b(),
|
|
393
|
+
B,
|
|
394
|
+
R
|
|
395
|
+
], S = () => [
|
|
396
|
+
"auto",
|
|
397
|
+
"hidden",
|
|
398
|
+
"clip",
|
|
399
|
+
"visible",
|
|
400
|
+
"scroll"
|
|
401
|
+
], C = () => [
|
|
402
|
+
"auto",
|
|
403
|
+
"contain",
|
|
404
|
+
"none"
|
|
405
|
+
], w = () => [
|
|
406
|
+
B,
|
|
407
|
+
R,
|
|
408
|
+
c
|
|
409
|
+
], T = () => [
|
|
410
|
+
P,
|
|
411
|
+
"full",
|
|
412
|
+
"auto",
|
|
413
|
+
...w()
|
|
414
|
+
], ee = () => [
|
|
415
|
+
I,
|
|
416
|
+
"none",
|
|
417
|
+
"subgrid",
|
|
418
|
+
B,
|
|
419
|
+
R
|
|
420
|
+
], te = () => [
|
|
421
|
+
"auto",
|
|
422
|
+
{ span: [
|
|
423
|
+
"full",
|
|
424
|
+
I,
|
|
425
|
+
B,
|
|
426
|
+
R
|
|
427
|
+
] },
|
|
428
|
+
I,
|
|
429
|
+
B,
|
|
430
|
+
R
|
|
431
|
+
], ne = () => [
|
|
432
|
+
I,
|
|
433
|
+
"auto",
|
|
434
|
+
B,
|
|
435
|
+
R
|
|
436
|
+
], re = () => [
|
|
437
|
+
"auto",
|
|
438
|
+
"min",
|
|
439
|
+
"max",
|
|
440
|
+
"fr",
|
|
441
|
+
B,
|
|
442
|
+
R
|
|
443
|
+
], ie = () => [
|
|
444
|
+
"start",
|
|
445
|
+
"end",
|
|
446
|
+
"center",
|
|
447
|
+
"between",
|
|
448
|
+
"around",
|
|
449
|
+
"evenly",
|
|
450
|
+
"stretch",
|
|
451
|
+
"baseline",
|
|
452
|
+
"center-safe",
|
|
453
|
+
"end-safe"
|
|
454
|
+
], E = () => [
|
|
455
|
+
"start",
|
|
456
|
+
"end",
|
|
457
|
+
"center",
|
|
458
|
+
"stretch",
|
|
459
|
+
"center-safe",
|
|
460
|
+
"end-safe"
|
|
461
|
+
], D = () => ["auto", ...w()], O = () => [
|
|
462
|
+
P,
|
|
463
|
+
"auto",
|
|
464
|
+
"full",
|
|
465
|
+
"dvw",
|
|
466
|
+
"dvh",
|
|
467
|
+
"lvw",
|
|
468
|
+
"lvh",
|
|
469
|
+
"svw",
|
|
470
|
+
"svh",
|
|
471
|
+
"min",
|
|
472
|
+
"max",
|
|
473
|
+
"fit",
|
|
474
|
+
...w()
|
|
475
|
+
], ae = () => [
|
|
476
|
+
P,
|
|
477
|
+
"screen",
|
|
478
|
+
"full",
|
|
479
|
+
"dvw",
|
|
480
|
+
"lvw",
|
|
481
|
+
"svw",
|
|
482
|
+
"min",
|
|
483
|
+
"max",
|
|
484
|
+
"fit",
|
|
485
|
+
...w()
|
|
486
|
+
], oe = () => [
|
|
487
|
+
P,
|
|
488
|
+
"screen",
|
|
489
|
+
"full",
|
|
490
|
+
"lh",
|
|
491
|
+
"dvh",
|
|
492
|
+
"lvh",
|
|
493
|
+
"svh",
|
|
494
|
+
"min",
|
|
495
|
+
"max",
|
|
496
|
+
"fit",
|
|
497
|
+
...w()
|
|
498
|
+
], k = () => [
|
|
499
|
+
e,
|
|
500
|
+
B,
|
|
501
|
+
R
|
|
502
|
+
], se = () => [
|
|
503
|
+
...b(),
|
|
504
|
+
nt,
|
|
505
|
+
Ze,
|
|
506
|
+
{ position: [B, R] }
|
|
507
|
+
], ce = () => ["no-repeat", { repeat: [
|
|
508
|
+
"",
|
|
509
|
+
"x",
|
|
510
|
+
"y",
|
|
511
|
+
"space",
|
|
512
|
+
"round"
|
|
513
|
+
] }], le = () => [
|
|
514
|
+
"auto",
|
|
515
|
+
"cover",
|
|
516
|
+
"contain",
|
|
517
|
+
rt,
|
|
518
|
+
qe,
|
|
519
|
+
{ size: [B, R] }
|
|
520
|
+
], ue = () => [
|
|
521
|
+
Be,
|
|
522
|
+
et,
|
|
523
|
+
z
|
|
524
|
+
], A = () => [
|
|
525
|
+
"",
|
|
526
|
+
"none",
|
|
527
|
+
"full",
|
|
528
|
+
l,
|
|
529
|
+
B,
|
|
530
|
+
R
|
|
531
|
+
], j = () => [
|
|
532
|
+
"",
|
|
533
|
+
F,
|
|
534
|
+
et,
|
|
535
|
+
z
|
|
536
|
+
], de = () => [
|
|
537
|
+
"solid",
|
|
538
|
+
"dashed",
|
|
539
|
+
"dotted",
|
|
540
|
+
"double"
|
|
541
|
+
], fe = () => [
|
|
542
|
+
"normal",
|
|
543
|
+
"multiply",
|
|
544
|
+
"screen",
|
|
545
|
+
"overlay",
|
|
546
|
+
"darken",
|
|
547
|
+
"lighten",
|
|
548
|
+
"color-dodge",
|
|
549
|
+
"color-burn",
|
|
550
|
+
"hard-light",
|
|
551
|
+
"soft-light",
|
|
552
|
+
"difference",
|
|
553
|
+
"exclusion",
|
|
554
|
+
"hue",
|
|
555
|
+
"saturation",
|
|
556
|
+
"color",
|
|
557
|
+
"luminosity"
|
|
558
|
+
], M = () => [
|
|
559
|
+
F,
|
|
560
|
+
Be,
|
|
561
|
+
nt,
|
|
562
|
+
Ze
|
|
563
|
+
], pe = () => [
|
|
564
|
+
"",
|
|
565
|
+
"none",
|
|
566
|
+
m,
|
|
567
|
+
B,
|
|
568
|
+
R
|
|
569
|
+
], me = () => [
|
|
570
|
+
"none",
|
|
571
|
+
F,
|
|
572
|
+
B,
|
|
573
|
+
R
|
|
574
|
+
], he = () => [
|
|
575
|
+
"none",
|
|
576
|
+
F,
|
|
577
|
+
B,
|
|
578
|
+
R
|
|
579
|
+
], ge = () => [
|
|
580
|
+
F,
|
|
581
|
+
B,
|
|
582
|
+
R
|
|
583
|
+
], _e = () => [
|
|
584
|
+
P,
|
|
585
|
+
"full",
|
|
586
|
+
...w()
|
|
587
|
+
];
|
|
588
|
+
return {
|
|
589
|
+
cacheSize: 500,
|
|
590
|
+
theme: {
|
|
591
|
+
animate: [
|
|
592
|
+
"spin",
|
|
593
|
+
"ping",
|
|
594
|
+
"pulse",
|
|
595
|
+
"bounce"
|
|
596
|
+
],
|
|
597
|
+
aspect: ["video"],
|
|
598
|
+
blur: [L],
|
|
599
|
+
breakpoint: [L],
|
|
600
|
+
color: [Ve],
|
|
601
|
+
container: [L],
|
|
602
|
+
"drop-shadow": [L],
|
|
603
|
+
ease: [
|
|
604
|
+
"in",
|
|
605
|
+
"out",
|
|
606
|
+
"in-out"
|
|
607
|
+
],
|
|
608
|
+
font: [Ke],
|
|
609
|
+
"font-weight": [
|
|
610
|
+
"thin",
|
|
611
|
+
"extralight",
|
|
612
|
+
"light",
|
|
613
|
+
"normal",
|
|
614
|
+
"medium",
|
|
615
|
+
"semibold",
|
|
616
|
+
"bold",
|
|
617
|
+
"extrabold",
|
|
618
|
+
"black"
|
|
619
|
+
],
|
|
620
|
+
"inset-shadow": [L],
|
|
621
|
+
leading: [
|
|
622
|
+
"none",
|
|
623
|
+
"tight",
|
|
624
|
+
"snug",
|
|
625
|
+
"normal",
|
|
626
|
+
"relaxed",
|
|
627
|
+
"loose"
|
|
628
|
+
],
|
|
629
|
+
perspective: [
|
|
630
|
+
"dramatic",
|
|
631
|
+
"near",
|
|
632
|
+
"normal",
|
|
633
|
+
"midrange",
|
|
634
|
+
"distant",
|
|
635
|
+
"none"
|
|
636
|
+
],
|
|
637
|
+
radius: [L],
|
|
638
|
+
shadow: [L],
|
|
639
|
+
spacing: ["px", F],
|
|
640
|
+
text: [L],
|
|
641
|
+
"text-shadow": [L],
|
|
642
|
+
tracking: [
|
|
643
|
+
"tighter",
|
|
644
|
+
"tight",
|
|
645
|
+
"normal",
|
|
646
|
+
"wide",
|
|
647
|
+
"wider",
|
|
648
|
+
"widest"
|
|
649
|
+
]
|
|
650
|
+
},
|
|
651
|
+
classGroups: {
|
|
652
|
+
aspect: [{ aspect: [
|
|
653
|
+
"auto",
|
|
654
|
+
"square",
|
|
655
|
+
P,
|
|
656
|
+
R,
|
|
657
|
+
B,
|
|
658
|
+
g
|
|
659
|
+
] }],
|
|
660
|
+
container: ["container"],
|
|
661
|
+
columns: [{ columns: [
|
|
662
|
+
F,
|
|
663
|
+
R,
|
|
664
|
+
B,
|
|
665
|
+
s
|
|
666
|
+
] }],
|
|
667
|
+
"break-after": [{ "break-after": y() }],
|
|
668
|
+
"break-before": [{ "break-before": y() }],
|
|
669
|
+
"break-inside": [{ "break-inside": [
|
|
670
|
+
"auto",
|
|
671
|
+
"avoid",
|
|
672
|
+
"avoid-page",
|
|
673
|
+
"avoid-column"
|
|
674
|
+
] }],
|
|
675
|
+
"box-decoration": [{ "box-decoration": ["slice", "clone"] }],
|
|
676
|
+
box: [{ box: ["border", "content"] }],
|
|
677
|
+
display: [
|
|
678
|
+
"block",
|
|
679
|
+
"inline-block",
|
|
680
|
+
"inline",
|
|
681
|
+
"flex",
|
|
682
|
+
"inline-flex",
|
|
683
|
+
"table",
|
|
684
|
+
"inline-table",
|
|
685
|
+
"table-caption",
|
|
686
|
+
"table-cell",
|
|
687
|
+
"table-column",
|
|
688
|
+
"table-column-group",
|
|
689
|
+
"table-footer-group",
|
|
690
|
+
"table-header-group",
|
|
691
|
+
"table-row-group",
|
|
692
|
+
"table-row",
|
|
693
|
+
"flow-root",
|
|
694
|
+
"grid",
|
|
695
|
+
"inline-grid",
|
|
696
|
+
"contents",
|
|
697
|
+
"list-item",
|
|
698
|
+
"hidden"
|
|
699
|
+
],
|
|
700
|
+
sr: ["sr-only", "not-sr-only"],
|
|
701
|
+
float: [{ float: [
|
|
702
|
+
"right",
|
|
703
|
+
"left",
|
|
704
|
+
"none",
|
|
705
|
+
"start",
|
|
706
|
+
"end"
|
|
707
|
+
] }],
|
|
708
|
+
clear: [{ clear: [
|
|
709
|
+
"left",
|
|
710
|
+
"right",
|
|
711
|
+
"both",
|
|
712
|
+
"none",
|
|
713
|
+
"start",
|
|
714
|
+
"end"
|
|
715
|
+
] }],
|
|
716
|
+
isolation: ["isolate", "isolation-auto"],
|
|
717
|
+
"object-fit": [{ object: [
|
|
718
|
+
"contain",
|
|
719
|
+
"cover",
|
|
720
|
+
"fill",
|
|
721
|
+
"none",
|
|
722
|
+
"scale-down"
|
|
723
|
+
] }],
|
|
724
|
+
"object-position": [{ object: x() }],
|
|
725
|
+
overflow: [{ overflow: S() }],
|
|
726
|
+
"overflow-x": [{ "overflow-x": S() }],
|
|
727
|
+
"overflow-y": [{ "overflow-y": S() }],
|
|
728
|
+
overscroll: [{ overscroll: C() }],
|
|
729
|
+
"overscroll-x": [{ "overscroll-x": C() }],
|
|
730
|
+
"overscroll-y": [{ "overscroll-y": C() }],
|
|
731
|
+
position: [
|
|
732
|
+
"static",
|
|
733
|
+
"fixed",
|
|
734
|
+
"absolute",
|
|
735
|
+
"relative",
|
|
736
|
+
"sticky"
|
|
737
|
+
],
|
|
738
|
+
inset: [{ inset: T() }],
|
|
739
|
+
"inset-x": [{ "inset-x": T() }],
|
|
740
|
+
"inset-y": [{ "inset-y": T() }],
|
|
741
|
+
start: [{
|
|
742
|
+
"inset-s": T(),
|
|
743
|
+
start: T()
|
|
744
|
+
}],
|
|
745
|
+
end: [{
|
|
746
|
+
"inset-e": T(),
|
|
747
|
+
end: T()
|
|
748
|
+
}],
|
|
749
|
+
"inset-bs": [{ "inset-bs": T() }],
|
|
750
|
+
"inset-be": [{ "inset-be": T() }],
|
|
751
|
+
top: [{ top: T() }],
|
|
752
|
+
right: [{ right: T() }],
|
|
753
|
+
bottom: [{ bottom: T() }],
|
|
754
|
+
left: [{ left: T() }],
|
|
755
|
+
visibility: [
|
|
756
|
+
"visible",
|
|
757
|
+
"invisible",
|
|
758
|
+
"collapse"
|
|
759
|
+
],
|
|
760
|
+
z: [{ z: [
|
|
761
|
+
I,
|
|
762
|
+
"auto",
|
|
763
|
+
B,
|
|
764
|
+
R
|
|
765
|
+
] }],
|
|
766
|
+
basis: [{ basis: [
|
|
767
|
+
P,
|
|
768
|
+
"full",
|
|
769
|
+
"auto",
|
|
770
|
+
s,
|
|
771
|
+
...w()
|
|
772
|
+
] }],
|
|
773
|
+
"flex-direction": [{ flex: [
|
|
774
|
+
"row",
|
|
775
|
+
"row-reverse",
|
|
776
|
+
"col",
|
|
777
|
+
"col-reverse"
|
|
778
|
+
] }],
|
|
779
|
+
"flex-wrap": [{ flex: [
|
|
780
|
+
"nowrap",
|
|
781
|
+
"wrap",
|
|
782
|
+
"wrap-reverse"
|
|
783
|
+
] }],
|
|
784
|
+
flex: [{ flex: [
|
|
785
|
+
F,
|
|
786
|
+
P,
|
|
787
|
+
"auto",
|
|
788
|
+
"initial",
|
|
789
|
+
"none",
|
|
790
|
+
R
|
|
791
|
+
] }],
|
|
792
|
+
grow: [{ grow: [
|
|
793
|
+
"",
|
|
794
|
+
F,
|
|
795
|
+
B,
|
|
796
|
+
R
|
|
797
|
+
] }],
|
|
798
|
+
shrink: [{ shrink: [
|
|
799
|
+
"",
|
|
800
|
+
F,
|
|
801
|
+
B,
|
|
802
|
+
R
|
|
803
|
+
] }],
|
|
804
|
+
order: [{ order: [
|
|
805
|
+
I,
|
|
806
|
+
"first",
|
|
807
|
+
"last",
|
|
808
|
+
"none",
|
|
809
|
+
B,
|
|
810
|
+
R
|
|
811
|
+
] }],
|
|
812
|
+
"grid-cols": [{ "grid-cols": ee() }],
|
|
813
|
+
"col-start-end": [{ col: te() }],
|
|
814
|
+
"col-start": [{ "col-start": ne() }],
|
|
815
|
+
"col-end": [{ "col-end": ne() }],
|
|
816
|
+
"grid-rows": [{ "grid-rows": ee() }],
|
|
817
|
+
"row-start-end": [{ row: te() }],
|
|
818
|
+
"row-start": [{ "row-start": ne() }],
|
|
819
|
+
"row-end": [{ "row-end": ne() }],
|
|
820
|
+
"grid-flow": [{ "grid-flow": [
|
|
821
|
+
"row",
|
|
822
|
+
"col",
|
|
823
|
+
"dense",
|
|
824
|
+
"row-dense",
|
|
825
|
+
"col-dense"
|
|
826
|
+
] }],
|
|
827
|
+
"auto-cols": [{ "auto-cols": re() }],
|
|
828
|
+
"auto-rows": [{ "auto-rows": re() }],
|
|
829
|
+
gap: [{ gap: w() }],
|
|
830
|
+
"gap-x": [{ "gap-x": w() }],
|
|
831
|
+
"gap-y": [{ "gap-y": w() }],
|
|
832
|
+
"justify-content": [{ justify: [...ie(), "normal"] }],
|
|
833
|
+
"justify-items": [{ "justify-items": [...E(), "normal"] }],
|
|
834
|
+
"justify-self": [{ "justify-self": ["auto", ...E()] }],
|
|
835
|
+
"align-content": [{ content: ["normal", ...ie()] }],
|
|
836
|
+
"align-items": [{ items: [...E(), { baseline: ["", "last"] }] }],
|
|
837
|
+
"align-self": [{ self: [
|
|
838
|
+
"auto",
|
|
839
|
+
...E(),
|
|
840
|
+
{ baseline: ["", "last"] }
|
|
841
|
+
] }],
|
|
842
|
+
"place-content": [{ "place-content": ie() }],
|
|
843
|
+
"place-items": [{ "place-items": [...E(), "baseline"] }],
|
|
844
|
+
"place-self": [{ "place-self": ["auto", ...E()] }],
|
|
845
|
+
p: [{ p: w() }],
|
|
846
|
+
px: [{ px: w() }],
|
|
847
|
+
py: [{ py: w() }],
|
|
848
|
+
ps: [{ ps: w() }],
|
|
849
|
+
pe: [{ pe: w() }],
|
|
850
|
+
pbs: [{ pbs: w() }],
|
|
851
|
+
pbe: [{ pbe: w() }],
|
|
852
|
+
pt: [{ pt: w() }],
|
|
853
|
+
pr: [{ pr: w() }],
|
|
854
|
+
pb: [{ pb: w() }],
|
|
855
|
+
pl: [{ pl: w() }],
|
|
856
|
+
m: [{ m: D() }],
|
|
857
|
+
mx: [{ mx: D() }],
|
|
858
|
+
my: [{ my: D() }],
|
|
859
|
+
ms: [{ ms: D() }],
|
|
860
|
+
me: [{ me: D() }],
|
|
861
|
+
mbs: [{ mbs: D() }],
|
|
862
|
+
mbe: [{ mbe: D() }],
|
|
863
|
+
mt: [{ mt: D() }],
|
|
864
|
+
mr: [{ mr: D() }],
|
|
865
|
+
mb: [{ mb: D() }],
|
|
866
|
+
ml: [{ ml: D() }],
|
|
867
|
+
"space-x": [{ "space-x": w() }],
|
|
868
|
+
"space-x-reverse": ["space-x-reverse"],
|
|
869
|
+
"space-y": [{ "space-y": w() }],
|
|
870
|
+
"space-y-reverse": ["space-y-reverse"],
|
|
871
|
+
size: [{ size: O() }],
|
|
872
|
+
"inline-size": [{ inline: ["auto", ...ae()] }],
|
|
873
|
+
"min-inline-size": [{ "min-inline": ["auto", ...ae()] }],
|
|
874
|
+
"max-inline-size": [{ "max-inline": ["none", ...ae()] }],
|
|
875
|
+
"block-size": [{ block: ["auto", ...oe()] }],
|
|
876
|
+
"min-block-size": [{ "min-block": ["auto", ...oe()] }],
|
|
877
|
+
"max-block-size": [{ "max-block": ["none", ...oe()] }],
|
|
878
|
+
w: [{ w: [
|
|
879
|
+
s,
|
|
880
|
+
"screen",
|
|
881
|
+
...O()
|
|
882
|
+
] }],
|
|
883
|
+
"min-w": [{ "min-w": [
|
|
884
|
+
s,
|
|
885
|
+
"screen",
|
|
886
|
+
"none",
|
|
887
|
+
...O()
|
|
888
|
+
] }],
|
|
889
|
+
"max-w": [{ "max-w": [
|
|
890
|
+
s,
|
|
891
|
+
"screen",
|
|
892
|
+
"none",
|
|
893
|
+
"prose",
|
|
894
|
+
{ screen: [o] },
|
|
895
|
+
...O()
|
|
896
|
+
] }],
|
|
897
|
+
h: [{ h: [
|
|
898
|
+
"screen",
|
|
899
|
+
"lh",
|
|
900
|
+
...O()
|
|
901
|
+
] }],
|
|
902
|
+
"min-h": [{ "min-h": [
|
|
903
|
+
"screen",
|
|
904
|
+
"lh",
|
|
905
|
+
"none",
|
|
906
|
+
...O()
|
|
907
|
+
] }],
|
|
908
|
+
"max-h": [{ "max-h": [
|
|
909
|
+
"screen",
|
|
910
|
+
"lh",
|
|
911
|
+
...O()
|
|
912
|
+
] }],
|
|
913
|
+
"font-size": [{ text: [
|
|
914
|
+
"base",
|
|
915
|
+
n,
|
|
916
|
+
et,
|
|
917
|
+
z
|
|
918
|
+
] }],
|
|
919
|
+
"font-smoothing": ["antialiased", "subpixel-antialiased"],
|
|
920
|
+
"font-style": ["italic", "not-italic"],
|
|
921
|
+
"font-weight": [{ font: [
|
|
922
|
+
r,
|
|
923
|
+
ot,
|
|
924
|
+
Ye
|
|
925
|
+
] }],
|
|
926
|
+
"font-stretch": [{ "font-stretch": [
|
|
927
|
+
"ultra-condensed",
|
|
928
|
+
"extra-condensed",
|
|
929
|
+
"condensed",
|
|
930
|
+
"semi-condensed",
|
|
931
|
+
"normal",
|
|
932
|
+
"semi-expanded",
|
|
933
|
+
"expanded",
|
|
934
|
+
"extra-expanded",
|
|
935
|
+
"ultra-expanded",
|
|
936
|
+
Be,
|
|
937
|
+
R
|
|
938
|
+
] }],
|
|
939
|
+
"font-family": [{ font: [
|
|
940
|
+
tt,
|
|
941
|
+
Xe,
|
|
942
|
+
t
|
|
943
|
+
] }],
|
|
944
|
+
"font-features": [{ "font-features": [R] }],
|
|
945
|
+
"fvn-normal": ["normal-nums"],
|
|
946
|
+
"fvn-ordinal": ["ordinal"],
|
|
947
|
+
"fvn-slashed-zero": ["slashed-zero"],
|
|
948
|
+
"fvn-figure": ["lining-nums", "oldstyle-nums"],
|
|
949
|
+
"fvn-spacing": ["proportional-nums", "tabular-nums"],
|
|
950
|
+
"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
|
|
951
|
+
tracking: [{ tracking: [
|
|
952
|
+
i,
|
|
953
|
+
B,
|
|
954
|
+
R
|
|
955
|
+
] }],
|
|
956
|
+
"line-clamp": [{ "line-clamp": [
|
|
957
|
+
F,
|
|
958
|
+
"none",
|
|
959
|
+
B,
|
|
960
|
+
Je
|
|
961
|
+
] }],
|
|
962
|
+
leading: [{ leading: [a, ...w()] }],
|
|
963
|
+
"list-image": [{ "list-image": [
|
|
964
|
+
"none",
|
|
965
|
+
B,
|
|
966
|
+
R
|
|
967
|
+
] }],
|
|
968
|
+
"list-style-position": [{ list: ["inside", "outside"] }],
|
|
969
|
+
"list-style-type": [{ list: [
|
|
970
|
+
"disc",
|
|
971
|
+
"decimal",
|
|
972
|
+
"none",
|
|
973
|
+
B,
|
|
974
|
+
R
|
|
975
|
+
] }],
|
|
976
|
+
"text-alignment": [{ text: [
|
|
977
|
+
"left",
|
|
978
|
+
"center",
|
|
979
|
+
"right",
|
|
980
|
+
"justify",
|
|
981
|
+
"start",
|
|
982
|
+
"end"
|
|
983
|
+
] }],
|
|
984
|
+
"placeholder-color": [{ placeholder: k() }],
|
|
985
|
+
"text-color": [{ text: k() }],
|
|
986
|
+
"text-decoration": [
|
|
987
|
+
"underline",
|
|
988
|
+
"overline",
|
|
989
|
+
"line-through",
|
|
990
|
+
"no-underline"
|
|
991
|
+
],
|
|
992
|
+
"text-decoration-style": [{ decoration: [...de(), "wavy"] }],
|
|
993
|
+
"text-decoration-thickness": [{ decoration: [
|
|
994
|
+
F,
|
|
995
|
+
"from-font",
|
|
996
|
+
"auto",
|
|
997
|
+
B,
|
|
998
|
+
z
|
|
999
|
+
] }],
|
|
1000
|
+
"text-decoration-color": [{ decoration: k() }],
|
|
1001
|
+
"underline-offset": [{ "underline-offset": [
|
|
1002
|
+
F,
|
|
1003
|
+
"auto",
|
|
1004
|
+
B,
|
|
1005
|
+
R
|
|
1006
|
+
] }],
|
|
1007
|
+
"text-transform": [
|
|
1008
|
+
"uppercase",
|
|
1009
|
+
"lowercase",
|
|
1010
|
+
"capitalize",
|
|
1011
|
+
"normal-case"
|
|
1012
|
+
],
|
|
1013
|
+
"text-overflow": [
|
|
1014
|
+
"truncate",
|
|
1015
|
+
"text-ellipsis",
|
|
1016
|
+
"text-clip"
|
|
1017
|
+
],
|
|
1018
|
+
"text-wrap": [{ text: [
|
|
1019
|
+
"wrap",
|
|
1020
|
+
"nowrap",
|
|
1021
|
+
"balance",
|
|
1022
|
+
"pretty"
|
|
1023
|
+
] }],
|
|
1024
|
+
indent: [{ indent: w() }],
|
|
1025
|
+
"vertical-align": [{ align: [
|
|
1026
|
+
"baseline",
|
|
1027
|
+
"top",
|
|
1028
|
+
"middle",
|
|
1029
|
+
"bottom",
|
|
1030
|
+
"text-top",
|
|
1031
|
+
"text-bottom",
|
|
1032
|
+
"sub",
|
|
1033
|
+
"super",
|
|
1034
|
+
B,
|
|
1035
|
+
R
|
|
1036
|
+
] }],
|
|
1037
|
+
whitespace: [{ whitespace: [
|
|
1038
|
+
"normal",
|
|
1039
|
+
"nowrap",
|
|
1040
|
+
"pre",
|
|
1041
|
+
"pre-line",
|
|
1042
|
+
"pre-wrap",
|
|
1043
|
+
"break-spaces"
|
|
1044
|
+
] }],
|
|
1045
|
+
break: [{ break: [
|
|
1046
|
+
"normal",
|
|
1047
|
+
"words",
|
|
1048
|
+
"all",
|
|
1049
|
+
"keep"
|
|
1050
|
+
] }],
|
|
1051
|
+
wrap: [{ wrap: [
|
|
1052
|
+
"break-word",
|
|
1053
|
+
"anywhere",
|
|
1054
|
+
"normal"
|
|
1055
|
+
] }],
|
|
1056
|
+
hyphens: [{ hyphens: [
|
|
1057
|
+
"none",
|
|
1058
|
+
"manual",
|
|
1059
|
+
"auto"
|
|
1060
|
+
] }],
|
|
1061
|
+
content: [{ content: [
|
|
1062
|
+
"none",
|
|
1063
|
+
B,
|
|
1064
|
+
R
|
|
1065
|
+
] }],
|
|
1066
|
+
"bg-attachment": [{ bg: [
|
|
1067
|
+
"fixed",
|
|
1068
|
+
"local",
|
|
1069
|
+
"scroll"
|
|
1070
|
+
] }],
|
|
1071
|
+
"bg-clip": [{ "bg-clip": [
|
|
1072
|
+
"border",
|
|
1073
|
+
"padding",
|
|
1074
|
+
"content",
|
|
1075
|
+
"text"
|
|
1076
|
+
] }],
|
|
1077
|
+
"bg-origin": [{ "bg-origin": [
|
|
1078
|
+
"border",
|
|
1079
|
+
"padding",
|
|
1080
|
+
"content"
|
|
1081
|
+
] }],
|
|
1082
|
+
"bg-position": [{ bg: se() }],
|
|
1083
|
+
"bg-repeat": [{ bg: ce() }],
|
|
1084
|
+
"bg-size": [{ bg: le() }],
|
|
1085
|
+
"bg-image": [{ bg: [
|
|
1086
|
+
"none",
|
|
1087
|
+
{
|
|
1088
|
+
linear: [
|
|
1089
|
+
{ to: [
|
|
1090
|
+
"t",
|
|
1091
|
+
"tr",
|
|
1092
|
+
"r",
|
|
1093
|
+
"br",
|
|
1094
|
+
"b",
|
|
1095
|
+
"bl",
|
|
1096
|
+
"l",
|
|
1097
|
+
"tl"
|
|
1098
|
+
] },
|
|
1099
|
+
I,
|
|
1100
|
+
B,
|
|
1101
|
+
R
|
|
1102
|
+
],
|
|
1103
|
+
radial: [
|
|
1104
|
+
"",
|
|
1105
|
+
B,
|
|
1106
|
+
R
|
|
1107
|
+
],
|
|
1108
|
+
conic: [
|
|
1109
|
+
I,
|
|
1110
|
+
B,
|
|
1111
|
+
R
|
|
1112
|
+
]
|
|
1113
|
+
},
|
|
1114
|
+
it,
|
|
1115
|
+
Qe
|
|
1116
|
+
] }],
|
|
1117
|
+
"bg-color": [{ bg: k() }],
|
|
1118
|
+
"gradient-from-pos": [{ from: ue() }],
|
|
1119
|
+
"gradient-via-pos": [{ via: ue() }],
|
|
1120
|
+
"gradient-to-pos": [{ to: ue() }],
|
|
1121
|
+
"gradient-from": [{ from: k() }],
|
|
1122
|
+
"gradient-via": [{ via: k() }],
|
|
1123
|
+
"gradient-to": [{ to: k() }],
|
|
1124
|
+
rounded: [{ rounded: A() }],
|
|
1125
|
+
"rounded-s": [{ "rounded-s": A() }],
|
|
1126
|
+
"rounded-e": [{ "rounded-e": A() }],
|
|
1127
|
+
"rounded-t": [{ "rounded-t": A() }],
|
|
1128
|
+
"rounded-r": [{ "rounded-r": A() }],
|
|
1129
|
+
"rounded-b": [{ "rounded-b": A() }],
|
|
1130
|
+
"rounded-l": [{ "rounded-l": A() }],
|
|
1131
|
+
"rounded-ss": [{ "rounded-ss": A() }],
|
|
1132
|
+
"rounded-se": [{ "rounded-se": A() }],
|
|
1133
|
+
"rounded-ee": [{ "rounded-ee": A() }],
|
|
1134
|
+
"rounded-es": [{ "rounded-es": A() }],
|
|
1135
|
+
"rounded-tl": [{ "rounded-tl": A() }],
|
|
1136
|
+
"rounded-tr": [{ "rounded-tr": A() }],
|
|
1137
|
+
"rounded-br": [{ "rounded-br": A() }],
|
|
1138
|
+
"rounded-bl": [{ "rounded-bl": A() }],
|
|
1139
|
+
"border-w": [{ border: j() }],
|
|
1140
|
+
"border-w-x": [{ "border-x": j() }],
|
|
1141
|
+
"border-w-y": [{ "border-y": j() }],
|
|
1142
|
+
"border-w-s": [{ "border-s": j() }],
|
|
1143
|
+
"border-w-e": [{ "border-e": j() }],
|
|
1144
|
+
"border-w-bs": [{ "border-bs": j() }],
|
|
1145
|
+
"border-w-be": [{ "border-be": j() }],
|
|
1146
|
+
"border-w-t": [{ "border-t": j() }],
|
|
1147
|
+
"border-w-r": [{ "border-r": j() }],
|
|
1148
|
+
"border-w-b": [{ "border-b": j() }],
|
|
1149
|
+
"border-w-l": [{ "border-l": j() }],
|
|
1150
|
+
"divide-x": [{ "divide-x": j() }],
|
|
1151
|
+
"divide-x-reverse": ["divide-x-reverse"],
|
|
1152
|
+
"divide-y": [{ "divide-y": j() }],
|
|
1153
|
+
"divide-y-reverse": ["divide-y-reverse"],
|
|
1154
|
+
"border-style": [{ border: [
|
|
1155
|
+
...de(),
|
|
1156
|
+
"hidden",
|
|
1157
|
+
"none"
|
|
1158
|
+
] }],
|
|
1159
|
+
"divide-style": [{ divide: [
|
|
1160
|
+
...de(),
|
|
1161
|
+
"hidden",
|
|
1162
|
+
"none"
|
|
1163
|
+
] }],
|
|
1164
|
+
"border-color": [{ border: k() }],
|
|
1165
|
+
"border-color-x": [{ "border-x": k() }],
|
|
1166
|
+
"border-color-y": [{ "border-y": k() }],
|
|
1167
|
+
"border-color-s": [{ "border-s": k() }],
|
|
1168
|
+
"border-color-e": [{ "border-e": k() }],
|
|
1169
|
+
"border-color-bs": [{ "border-bs": k() }],
|
|
1170
|
+
"border-color-be": [{ "border-be": k() }],
|
|
1171
|
+
"border-color-t": [{ "border-t": k() }],
|
|
1172
|
+
"border-color-r": [{ "border-r": k() }],
|
|
1173
|
+
"border-color-b": [{ "border-b": k() }],
|
|
1174
|
+
"border-color-l": [{ "border-l": k() }],
|
|
1175
|
+
"divide-color": [{ divide: k() }],
|
|
1176
|
+
"outline-style": [{ outline: [
|
|
1177
|
+
...de(),
|
|
1178
|
+
"none",
|
|
1179
|
+
"hidden"
|
|
1180
|
+
] }],
|
|
1181
|
+
"outline-offset": [{ "outline-offset": [
|
|
1182
|
+
F,
|
|
1183
|
+
B,
|
|
1184
|
+
R
|
|
1185
|
+
] }],
|
|
1186
|
+
"outline-w": [{ outline: [
|
|
1187
|
+
"",
|
|
1188
|
+
F,
|
|
1189
|
+
et,
|
|
1190
|
+
z
|
|
1191
|
+
] }],
|
|
1192
|
+
"outline-color": [{ outline: k() }],
|
|
1193
|
+
shadow: [{ shadow: [
|
|
1194
|
+
"",
|
|
1195
|
+
"none",
|
|
1196
|
+
u,
|
|
1197
|
+
at,
|
|
1198
|
+
$e
|
|
1199
|
+
] }],
|
|
1200
|
+
"shadow-color": [{ shadow: k() }],
|
|
1201
|
+
"inset-shadow": [{ "inset-shadow": [
|
|
1202
|
+
"none",
|
|
1203
|
+
d,
|
|
1204
|
+
at,
|
|
1205
|
+
$e
|
|
1206
|
+
] }],
|
|
1207
|
+
"inset-shadow-color": [{ "inset-shadow": k() }],
|
|
1208
|
+
"ring-w": [{ ring: j() }],
|
|
1209
|
+
"ring-w-inset": ["ring-inset"],
|
|
1210
|
+
"ring-color": [{ ring: k() }],
|
|
1211
|
+
"ring-offset-w": [{ "ring-offset": [F, z] }],
|
|
1212
|
+
"ring-offset-color": [{ "ring-offset": k() }],
|
|
1213
|
+
"inset-ring-w": [{ "inset-ring": j() }],
|
|
1214
|
+
"inset-ring-color": [{ "inset-ring": k() }],
|
|
1215
|
+
"text-shadow": [{ "text-shadow": [
|
|
1216
|
+
"none",
|
|
1217
|
+
f,
|
|
1218
|
+
at,
|
|
1219
|
+
$e
|
|
1220
|
+
] }],
|
|
1221
|
+
"text-shadow-color": [{ "text-shadow": k() }],
|
|
1222
|
+
opacity: [{ opacity: [
|
|
1223
|
+
F,
|
|
1224
|
+
B,
|
|
1225
|
+
R
|
|
1226
|
+
] }],
|
|
1227
|
+
"mix-blend": [{ "mix-blend": [
|
|
1228
|
+
...fe(),
|
|
1229
|
+
"plus-darker",
|
|
1230
|
+
"plus-lighter"
|
|
1231
|
+
] }],
|
|
1232
|
+
"bg-blend": [{ "bg-blend": fe() }],
|
|
1233
|
+
"mask-clip": [{ "mask-clip": [
|
|
1234
|
+
"border",
|
|
1235
|
+
"padding",
|
|
1236
|
+
"content",
|
|
1237
|
+
"fill",
|
|
1238
|
+
"stroke",
|
|
1239
|
+
"view"
|
|
1240
|
+
] }, "mask-no-clip"],
|
|
1241
|
+
"mask-composite": [{ mask: [
|
|
1242
|
+
"add",
|
|
1243
|
+
"subtract",
|
|
1244
|
+
"intersect",
|
|
1245
|
+
"exclude"
|
|
1246
|
+
] }],
|
|
1247
|
+
"mask-image-linear-pos": [{ "mask-linear": [F] }],
|
|
1248
|
+
"mask-image-linear-from-pos": [{ "mask-linear-from": M() }],
|
|
1249
|
+
"mask-image-linear-to-pos": [{ "mask-linear-to": M() }],
|
|
1250
|
+
"mask-image-linear-from-color": [{ "mask-linear-from": k() }],
|
|
1251
|
+
"mask-image-linear-to-color": [{ "mask-linear-to": k() }],
|
|
1252
|
+
"mask-image-t-from-pos": [{ "mask-t-from": M() }],
|
|
1253
|
+
"mask-image-t-to-pos": [{ "mask-t-to": M() }],
|
|
1254
|
+
"mask-image-t-from-color": [{ "mask-t-from": k() }],
|
|
1255
|
+
"mask-image-t-to-color": [{ "mask-t-to": k() }],
|
|
1256
|
+
"mask-image-r-from-pos": [{ "mask-r-from": M() }],
|
|
1257
|
+
"mask-image-r-to-pos": [{ "mask-r-to": M() }],
|
|
1258
|
+
"mask-image-r-from-color": [{ "mask-r-from": k() }],
|
|
1259
|
+
"mask-image-r-to-color": [{ "mask-r-to": k() }],
|
|
1260
|
+
"mask-image-b-from-pos": [{ "mask-b-from": M() }],
|
|
1261
|
+
"mask-image-b-to-pos": [{ "mask-b-to": M() }],
|
|
1262
|
+
"mask-image-b-from-color": [{ "mask-b-from": k() }],
|
|
1263
|
+
"mask-image-b-to-color": [{ "mask-b-to": k() }],
|
|
1264
|
+
"mask-image-l-from-pos": [{ "mask-l-from": M() }],
|
|
1265
|
+
"mask-image-l-to-pos": [{ "mask-l-to": M() }],
|
|
1266
|
+
"mask-image-l-from-color": [{ "mask-l-from": k() }],
|
|
1267
|
+
"mask-image-l-to-color": [{ "mask-l-to": k() }],
|
|
1268
|
+
"mask-image-x-from-pos": [{ "mask-x-from": M() }],
|
|
1269
|
+
"mask-image-x-to-pos": [{ "mask-x-to": M() }],
|
|
1270
|
+
"mask-image-x-from-color": [{ "mask-x-from": k() }],
|
|
1271
|
+
"mask-image-x-to-color": [{ "mask-x-to": k() }],
|
|
1272
|
+
"mask-image-y-from-pos": [{ "mask-y-from": M() }],
|
|
1273
|
+
"mask-image-y-to-pos": [{ "mask-y-to": M() }],
|
|
1274
|
+
"mask-image-y-from-color": [{ "mask-y-from": k() }],
|
|
1275
|
+
"mask-image-y-to-color": [{ "mask-y-to": k() }],
|
|
1276
|
+
"mask-image-radial": [{ "mask-radial": [B, R] }],
|
|
1277
|
+
"mask-image-radial-from-pos": [{ "mask-radial-from": M() }],
|
|
1278
|
+
"mask-image-radial-to-pos": [{ "mask-radial-to": M() }],
|
|
1279
|
+
"mask-image-radial-from-color": [{ "mask-radial-from": k() }],
|
|
1280
|
+
"mask-image-radial-to-color": [{ "mask-radial-to": k() }],
|
|
1281
|
+
"mask-image-radial-shape": [{ "mask-radial": ["circle", "ellipse"] }],
|
|
1282
|
+
"mask-image-radial-size": [{ "mask-radial": [{
|
|
1283
|
+
closest: ["side", "corner"],
|
|
1284
|
+
farthest: ["side", "corner"]
|
|
1285
|
+
}] }],
|
|
1286
|
+
"mask-image-radial-pos": [{ "mask-radial-at": b() }],
|
|
1287
|
+
"mask-image-conic-pos": [{ "mask-conic": [F] }],
|
|
1288
|
+
"mask-image-conic-from-pos": [{ "mask-conic-from": M() }],
|
|
1289
|
+
"mask-image-conic-to-pos": [{ "mask-conic-to": M() }],
|
|
1290
|
+
"mask-image-conic-from-color": [{ "mask-conic-from": k() }],
|
|
1291
|
+
"mask-image-conic-to-color": [{ "mask-conic-to": k() }],
|
|
1292
|
+
"mask-mode": [{ mask: [
|
|
1293
|
+
"alpha",
|
|
1294
|
+
"luminance",
|
|
1295
|
+
"match"
|
|
1296
|
+
] }],
|
|
1297
|
+
"mask-origin": [{ "mask-origin": [
|
|
1298
|
+
"border",
|
|
1299
|
+
"padding",
|
|
1300
|
+
"content",
|
|
1301
|
+
"fill",
|
|
1302
|
+
"stroke",
|
|
1303
|
+
"view"
|
|
1304
|
+
] }],
|
|
1305
|
+
"mask-position": [{ mask: se() }],
|
|
1306
|
+
"mask-repeat": [{ mask: ce() }],
|
|
1307
|
+
"mask-size": [{ mask: le() }],
|
|
1308
|
+
"mask-type": [{ "mask-type": ["alpha", "luminance"] }],
|
|
1309
|
+
"mask-image": [{ mask: [
|
|
1310
|
+
"none",
|
|
1311
|
+
B,
|
|
1312
|
+
R
|
|
1313
|
+
] }],
|
|
1314
|
+
filter: [{ filter: [
|
|
1315
|
+
"",
|
|
1316
|
+
"none",
|
|
1317
|
+
B,
|
|
1318
|
+
R
|
|
1319
|
+
] }],
|
|
1320
|
+
blur: [{ blur: pe() }],
|
|
1321
|
+
brightness: [{ brightness: [
|
|
1322
|
+
F,
|
|
1323
|
+
B,
|
|
1324
|
+
R
|
|
1325
|
+
] }],
|
|
1326
|
+
contrast: [{ contrast: [
|
|
1327
|
+
F,
|
|
1328
|
+
B,
|
|
1329
|
+
R
|
|
1330
|
+
] }],
|
|
1331
|
+
"drop-shadow": [{ "drop-shadow": [
|
|
1332
|
+
"",
|
|
1333
|
+
"none",
|
|
1334
|
+
p,
|
|
1335
|
+
at,
|
|
1336
|
+
$e
|
|
1337
|
+
] }],
|
|
1338
|
+
"drop-shadow-color": [{ "drop-shadow": k() }],
|
|
1339
|
+
grayscale: [{ grayscale: [
|
|
1340
|
+
"",
|
|
1341
|
+
F,
|
|
1342
|
+
B,
|
|
1343
|
+
R
|
|
1344
|
+
] }],
|
|
1345
|
+
"hue-rotate": [{ "hue-rotate": [
|
|
1346
|
+
F,
|
|
1347
|
+
B,
|
|
1348
|
+
R
|
|
1349
|
+
] }],
|
|
1350
|
+
invert: [{ invert: [
|
|
1351
|
+
"",
|
|
1352
|
+
F,
|
|
1353
|
+
B,
|
|
1354
|
+
R
|
|
1355
|
+
] }],
|
|
1356
|
+
saturate: [{ saturate: [
|
|
1357
|
+
F,
|
|
1358
|
+
B,
|
|
1359
|
+
R
|
|
1360
|
+
] }],
|
|
1361
|
+
sepia: [{ sepia: [
|
|
1362
|
+
"",
|
|
1363
|
+
F,
|
|
1364
|
+
B,
|
|
1365
|
+
R
|
|
1366
|
+
] }],
|
|
1367
|
+
"backdrop-filter": [{ "backdrop-filter": [
|
|
1368
|
+
"",
|
|
1369
|
+
"none",
|
|
1370
|
+
B,
|
|
1371
|
+
R
|
|
1372
|
+
] }],
|
|
1373
|
+
"backdrop-blur": [{ "backdrop-blur": pe() }],
|
|
1374
|
+
"backdrop-brightness": [{ "backdrop-brightness": [
|
|
1375
|
+
F,
|
|
1376
|
+
B,
|
|
1377
|
+
R
|
|
1378
|
+
] }],
|
|
1379
|
+
"backdrop-contrast": [{ "backdrop-contrast": [
|
|
1380
|
+
F,
|
|
1381
|
+
B,
|
|
1382
|
+
R
|
|
1383
|
+
] }],
|
|
1384
|
+
"backdrop-grayscale": [{ "backdrop-grayscale": [
|
|
1385
|
+
"",
|
|
1386
|
+
F,
|
|
1387
|
+
B,
|
|
1388
|
+
R
|
|
1389
|
+
] }],
|
|
1390
|
+
"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
|
|
1391
|
+
F,
|
|
1392
|
+
B,
|
|
1393
|
+
R
|
|
1394
|
+
] }],
|
|
1395
|
+
"backdrop-invert": [{ "backdrop-invert": [
|
|
1396
|
+
"",
|
|
1397
|
+
F,
|
|
1398
|
+
B,
|
|
1399
|
+
R
|
|
1400
|
+
] }],
|
|
1401
|
+
"backdrop-opacity": [{ "backdrop-opacity": [
|
|
1402
|
+
F,
|
|
1403
|
+
B,
|
|
1404
|
+
R
|
|
1405
|
+
] }],
|
|
1406
|
+
"backdrop-saturate": [{ "backdrop-saturate": [
|
|
1407
|
+
F,
|
|
1408
|
+
B,
|
|
1409
|
+
R
|
|
1410
|
+
] }],
|
|
1411
|
+
"backdrop-sepia": [{ "backdrop-sepia": [
|
|
1412
|
+
"",
|
|
1413
|
+
F,
|
|
1414
|
+
B,
|
|
1415
|
+
R
|
|
1416
|
+
] }],
|
|
1417
|
+
"border-collapse": [{ border: ["collapse", "separate"] }],
|
|
1418
|
+
"border-spacing": [{ "border-spacing": w() }],
|
|
1419
|
+
"border-spacing-x": [{ "border-spacing-x": w() }],
|
|
1420
|
+
"border-spacing-y": [{ "border-spacing-y": w() }],
|
|
1421
|
+
"table-layout": [{ table: ["auto", "fixed"] }],
|
|
1422
|
+
caption: [{ caption: ["top", "bottom"] }],
|
|
1423
|
+
transition: [{ transition: [
|
|
1424
|
+
"",
|
|
1425
|
+
"all",
|
|
1426
|
+
"colors",
|
|
1427
|
+
"opacity",
|
|
1428
|
+
"shadow",
|
|
1429
|
+
"transform",
|
|
1430
|
+
"none",
|
|
1431
|
+
B,
|
|
1432
|
+
R
|
|
1433
|
+
] }],
|
|
1434
|
+
"transition-behavior": [{ transition: ["normal", "discrete"] }],
|
|
1435
|
+
duration: [{ duration: [
|
|
1436
|
+
F,
|
|
1437
|
+
"initial",
|
|
1438
|
+
B,
|
|
1439
|
+
R
|
|
1440
|
+
] }],
|
|
1441
|
+
ease: [{ ease: [
|
|
1442
|
+
"linear",
|
|
1443
|
+
"initial",
|
|
1444
|
+
_,
|
|
1445
|
+
B,
|
|
1446
|
+
R
|
|
1447
|
+
] }],
|
|
1448
|
+
delay: [{ delay: [
|
|
1449
|
+
F,
|
|
1450
|
+
B,
|
|
1451
|
+
R
|
|
1452
|
+
] }],
|
|
1453
|
+
animate: [{ animate: [
|
|
1454
|
+
"none",
|
|
1455
|
+
v,
|
|
1456
|
+
B,
|
|
1457
|
+
R
|
|
1458
|
+
] }],
|
|
1459
|
+
backface: [{ backface: ["hidden", "visible"] }],
|
|
1460
|
+
perspective: [{ perspective: [
|
|
1461
|
+
h,
|
|
1462
|
+
B,
|
|
1463
|
+
R
|
|
1464
|
+
] }],
|
|
1465
|
+
"perspective-origin": [{ "perspective-origin": x() }],
|
|
1466
|
+
rotate: [{ rotate: me() }],
|
|
1467
|
+
"rotate-x": [{ "rotate-x": me() }],
|
|
1468
|
+
"rotate-y": [{ "rotate-y": me() }],
|
|
1469
|
+
"rotate-z": [{ "rotate-z": me() }],
|
|
1470
|
+
scale: [{ scale: he() }],
|
|
1471
|
+
"scale-x": [{ "scale-x": he() }],
|
|
1472
|
+
"scale-y": [{ "scale-y": he() }],
|
|
1473
|
+
"scale-z": [{ "scale-z": he() }],
|
|
1474
|
+
"scale-3d": ["scale-3d"],
|
|
1475
|
+
skew: [{ skew: ge() }],
|
|
1476
|
+
"skew-x": [{ "skew-x": ge() }],
|
|
1477
|
+
"skew-y": [{ "skew-y": ge() }],
|
|
1478
|
+
transform: [{ transform: [
|
|
1479
|
+
B,
|
|
1480
|
+
R,
|
|
1481
|
+
"",
|
|
1482
|
+
"none",
|
|
1483
|
+
"gpu",
|
|
1484
|
+
"cpu"
|
|
1485
|
+
] }],
|
|
1486
|
+
"transform-origin": [{ origin: x() }],
|
|
1487
|
+
"transform-style": [{ transform: ["3d", "flat"] }],
|
|
1488
|
+
translate: [{ translate: _e() }],
|
|
1489
|
+
"translate-x": [{ "translate-x": _e() }],
|
|
1490
|
+
"translate-y": [{ "translate-y": _e() }],
|
|
1491
|
+
"translate-z": [{ "translate-z": _e() }],
|
|
1492
|
+
"translate-none": ["translate-none"],
|
|
1493
|
+
accent: [{ accent: k() }],
|
|
1494
|
+
appearance: [{ appearance: ["none", "auto"] }],
|
|
1495
|
+
"caret-color": [{ caret: k() }],
|
|
1496
|
+
"color-scheme": [{ scheme: [
|
|
1497
|
+
"normal",
|
|
1498
|
+
"dark",
|
|
1499
|
+
"light",
|
|
1500
|
+
"light-dark",
|
|
1501
|
+
"only-dark",
|
|
1502
|
+
"only-light"
|
|
1503
|
+
] }],
|
|
1504
|
+
cursor: [{ cursor: [
|
|
1505
|
+
"auto",
|
|
1506
|
+
"default",
|
|
1507
|
+
"pointer",
|
|
1508
|
+
"wait",
|
|
1509
|
+
"text",
|
|
1510
|
+
"move",
|
|
1511
|
+
"help",
|
|
1512
|
+
"not-allowed",
|
|
1513
|
+
"none",
|
|
1514
|
+
"context-menu",
|
|
1515
|
+
"progress",
|
|
1516
|
+
"cell",
|
|
1517
|
+
"crosshair",
|
|
1518
|
+
"vertical-text",
|
|
1519
|
+
"alias",
|
|
1520
|
+
"copy",
|
|
1521
|
+
"no-drop",
|
|
1522
|
+
"grab",
|
|
1523
|
+
"grabbing",
|
|
1524
|
+
"all-scroll",
|
|
1525
|
+
"col-resize",
|
|
1526
|
+
"row-resize",
|
|
1527
|
+
"n-resize",
|
|
1528
|
+
"e-resize",
|
|
1529
|
+
"s-resize",
|
|
1530
|
+
"w-resize",
|
|
1531
|
+
"ne-resize",
|
|
1532
|
+
"nw-resize",
|
|
1533
|
+
"se-resize",
|
|
1534
|
+
"sw-resize",
|
|
1535
|
+
"ew-resize",
|
|
1536
|
+
"ns-resize",
|
|
1537
|
+
"nesw-resize",
|
|
1538
|
+
"nwse-resize",
|
|
1539
|
+
"zoom-in",
|
|
1540
|
+
"zoom-out",
|
|
1541
|
+
B,
|
|
1542
|
+
R
|
|
1543
|
+
] }],
|
|
1544
|
+
"field-sizing": [{ "field-sizing": ["fixed", "content"] }],
|
|
1545
|
+
"pointer-events": [{ "pointer-events": ["auto", "none"] }],
|
|
1546
|
+
resize: [{ resize: [
|
|
1547
|
+
"none",
|
|
1548
|
+
"",
|
|
1549
|
+
"y",
|
|
1550
|
+
"x"
|
|
1551
|
+
] }],
|
|
1552
|
+
"scroll-behavior": [{ scroll: ["auto", "smooth"] }],
|
|
1553
|
+
"scroll-m": [{ "scroll-m": w() }],
|
|
1554
|
+
"scroll-mx": [{ "scroll-mx": w() }],
|
|
1555
|
+
"scroll-my": [{ "scroll-my": w() }],
|
|
1556
|
+
"scroll-ms": [{ "scroll-ms": w() }],
|
|
1557
|
+
"scroll-me": [{ "scroll-me": w() }],
|
|
1558
|
+
"scroll-mbs": [{ "scroll-mbs": w() }],
|
|
1559
|
+
"scroll-mbe": [{ "scroll-mbe": w() }],
|
|
1560
|
+
"scroll-mt": [{ "scroll-mt": w() }],
|
|
1561
|
+
"scroll-mr": [{ "scroll-mr": w() }],
|
|
1562
|
+
"scroll-mb": [{ "scroll-mb": w() }],
|
|
1563
|
+
"scroll-ml": [{ "scroll-ml": w() }],
|
|
1564
|
+
"scroll-p": [{ "scroll-p": w() }],
|
|
1565
|
+
"scroll-px": [{ "scroll-px": w() }],
|
|
1566
|
+
"scroll-py": [{ "scroll-py": w() }],
|
|
1567
|
+
"scroll-ps": [{ "scroll-ps": w() }],
|
|
1568
|
+
"scroll-pe": [{ "scroll-pe": w() }],
|
|
1569
|
+
"scroll-pbs": [{ "scroll-pbs": w() }],
|
|
1570
|
+
"scroll-pbe": [{ "scroll-pbe": w() }],
|
|
1571
|
+
"scroll-pt": [{ "scroll-pt": w() }],
|
|
1572
|
+
"scroll-pr": [{ "scroll-pr": w() }],
|
|
1573
|
+
"scroll-pb": [{ "scroll-pb": w() }],
|
|
1574
|
+
"scroll-pl": [{ "scroll-pl": w() }],
|
|
1575
|
+
"snap-align": [{ snap: [
|
|
1576
|
+
"start",
|
|
1577
|
+
"end",
|
|
1578
|
+
"center",
|
|
1579
|
+
"align-none"
|
|
1580
|
+
] }],
|
|
1581
|
+
"snap-stop": [{ snap: ["normal", "always"] }],
|
|
1582
|
+
"snap-type": [{ snap: [
|
|
1583
|
+
"none",
|
|
1584
|
+
"x",
|
|
1585
|
+
"y",
|
|
1586
|
+
"both"
|
|
1587
|
+
] }],
|
|
1588
|
+
"snap-strictness": [{ snap: ["mandatory", "proximity"] }],
|
|
1589
|
+
touch: [{ touch: [
|
|
1590
|
+
"auto",
|
|
1591
|
+
"none",
|
|
1592
|
+
"manipulation"
|
|
1593
|
+
] }],
|
|
1594
|
+
"touch-x": [{ "touch-pan": [
|
|
1595
|
+
"x",
|
|
1596
|
+
"left",
|
|
1597
|
+
"right"
|
|
1598
|
+
] }],
|
|
1599
|
+
"touch-y": [{ "touch-pan": [
|
|
1600
|
+
"y",
|
|
1601
|
+
"up",
|
|
1602
|
+
"down"
|
|
1603
|
+
] }],
|
|
1604
|
+
"touch-pz": ["touch-pinch-zoom"],
|
|
1605
|
+
select: [{ select: [
|
|
1606
|
+
"none",
|
|
1607
|
+
"text",
|
|
1608
|
+
"all",
|
|
1609
|
+
"auto"
|
|
1610
|
+
] }],
|
|
1611
|
+
"will-change": [{ "will-change": [
|
|
1612
|
+
"auto",
|
|
1613
|
+
"scroll",
|
|
1614
|
+
"contents",
|
|
1615
|
+
"transform",
|
|
1616
|
+
B,
|
|
1617
|
+
R
|
|
1618
|
+
] }],
|
|
1619
|
+
fill: [{ fill: ["none", ...k()] }],
|
|
1620
|
+
"stroke-w": [{ stroke: [
|
|
1621
|
+
F,
|
|
1622
|
+
et,
|
|
1623
|
+
z,
|
|
1624
|
+
Je
|
|
1625
|
+
] }],
|
|
1626
|
+
stroke: [{ stroke: ["none", ...k()] }],
|
|
1627
|
+
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
|
|
1628
|
+
},
|
|
1629
|
+
conflictingClassGroups: {
|
|
1630
|
+
overflow: ["overflow-x", "overflow-y"],
|
|
1631
|
+
overscroll: ["overscroll-x", "overscroll-y"],
|
|
1632
|
+
inset: [
|
|
1633
|
+
"inset-x",
|
|
1634
|
+
"inset-y",
|
|
1635
|
+
"inset-bs",
|
|
1636
|
+
"inset-be",
|
|
1637
|
+
"start",
|
|
1638
|
+
"end",
|
|
1639
|
+
"top",
|
|
1640
|
+
"right",
|
|
1641
|
+
"bottom",
|
|
1642
|
+
"left"
|
|
1643
|
+
],
|
|
1644
|
+
"inset-x": ["right", "left"],
|
|
1645
|
+
"inset-y": ["top", "bottom"],
|
|
1646
|
+
flex: [
|
|
1647
|
+
"basis",
|
|
1648
|
+
"grow",
|
|
1649
|
+
"shrink"
|
|
1650
|
+
],
|
|
1651
|
+
gap: ["gap-x", "gap-y"],
|
|
1652
|
+
p: [
|
|
1653
|
+
"px",
|
|
1654
|
+
"py",
|
|
1655
|
+
"ps",
|
|
1656
|
+
"pe",
|
|
1657
|
+
"pbs",
|
|
1658
|
+
"pbe",
|
|
1659
|
+
"pt",
|
|
1660
|
+
"pr",
|
|
1661
|
+
"pb",
|
|
1662
|
+
"pl"
|
|
1663
|
+
],
|
|
1664
|
+
px: ["pr", "pl"],
|
|
1665
|
+
py: ["pt", "pb"],
|
|
1666
|
+
m: [
|
|
1667
|
+
"mx",
|
|
1668
|
+
"my",
|
|
1669
|
+
"ms",
|
|
1670
|
+
"me",
|
|
1671
|
+
"mbs",
|
|
1672
|
+
"mbe",
|
|
1673
|
+
"mt",
|
|
1674
|
+
"mr",
|
|
1675
|
+
"mb",
|
|
1676
|
+
"ml"
|
|
1677
|
+
],
|
|
1678
|
+
mx: ["mr", "ml"],
|
|
1679
|
+
my: ["mt", "mb"],
|
|
1680
|
+
size: ["w", "h"],
|
|
1681
|
+
"font-size": ["leading"],
|
|
1682
|
+
"fvn-normal": [
|
|
1683
|
+
"fvn-ordinal",
|
|
1684
|
+
"fvn-slashed-zero",
|
|
1685
|
+
"fvn-figure",
|
|
1686
|
+
"fvn-spacing",
|
|
1687
|
+
"fvn-fraction"
|
|
1688
|
+
],
|
|
1689
|
+
"fvn-ordinal": ["fvn-normal"],
|
|
1690
|
+
"fvn-slashed-zero": ["fvn-normal"],
|
|
1691
|
+
"fvn-figure": ["fvn-normal"],
|
|
1692
|
+
"fvn-spacing": ["fvn-normal"],
|
|
1693
|
+
"fvn-fraction": ["fvn-normal"],
|
|
1694
|
+
"line-clamp": ["display", "overflow"],
|
|
1695
|
+
rounded: [
|
|
1696
|
+
"rounded-s",
|
|
1697
|
+
"rounded-e",
|
|
1698
|
+
"rounded-t",
|
|
1699
|
+
"rounded-r",
|
|
1700
|
+
"rounded-b",
|
|
1701
|
+
"rounded-l",
|
|
1702
|
+
"rounded-ss",
|
|
1703
|
+
"rounded-se",
|
|
1704
|
+
"rounded-ee",
|
|
1705
|
+
"rounded-es",
|
|
1706
|
+
"rounded-tl",
|
|
1707
|
+
"rounded-tr",
|
|
1708
|
+
"rounded-br",
|
|
1709
|
+
"rounded-bl"
|
|
1710
|
+
],
|
|
1711
|
+
"rounded-s": ["rounded-ss", "rounded-es"],
|
|
1712
|
+
"rounded-e": ["rounded-se", "rounded-ee"],
|
|
1713
|
+
"rounded-t": ["rounded-tl", "rounded-tr"],
|
|
1714
|
+
"rounded-r": ["rounded-tr", "rounded-br"],
|
|
1715
|
+
"rounded-b": ["rounded-br", "rounded-bl"],
|
|
1716
|
+
"rounded-l": ["rounded-tl", "rounded-bl"],
|
|
1717
|
+
"border-spacing": ["border-spacing-x", "border-spacing-y"],
|
|
1718
|
+
"border-w": [
|
|
1719
|
+
"border-w-x",
|
|
1720
|
+
"border-w-y",
|
|
1721
|
+
"border-w-s",
|
|
1722
|
+
"border-w-e",
|
|
1723
|
+
"border-w-bs",
|
|
1724
|
+
"border-w-be",
|
|
1725
|
+
"border-w-t",
|
|
1726
|
+
"border-w-r",
|
|
1727
|
+
"border-w-b",
|
|
1728
|
+
"border-w-l"
|
|
1729
|
+
],
|
|
1730
|
+
"border-w-x": ["border-w-r", "border-w-l"],
|
|
1731
|
+
"border-w-y": ["border-w-t", "border-w-b"],
|
|
1732
|
+
"border-color": [
|
|
1733
|
+
"border-color-x",
|
|
1734
|
+
"border-color-y",
|
|
1735
|
+
"border-color-s",
|
|
1736
|
+
"border-color-e",
|
|
1737
|
+
"border-color-bs",
|
|
1738
|
+
"border-color-be",
|
|
1739
|
+
"border-color-t",
|
|
1740
|
+
"border-color-r",
|
|
1741
|
+
"border-color-b",
|
|
1742
|
+
"border-color-l"
|
|
1743
|
+
],
|
|
1744
|
+
"border-color-x": ["border-color-r", "border-color-l"],
|
|
1745
|
+
"border-color-y": ["border-color-t", "border-color-b"],
|
|
1746
|
+
translate: [
|
|
1747
|
+
"translate-x",
|
|
1748
|
+
"translate-y",
|
|
1749
|
+
"translate-none"
|
|
1750
|
+
],
|
|
1751
|
+
"translate-none": [
|
|
1752
|
+
"translate",
|
|
1753
|
+
"translate-x",
|
|
1754
|
+
"translate-y",
|
|
1755
|
+
"translate-z"
|
|
1756
|
+
],
|
|
1757
|
+
"scroll-m": [
|
|
1758
|
+
"scroll-mx",
|
|
1759
|
+
"scroll-my",
|
|
1760
|
+
"scroll-ms",
|
|
1761
|
+
"scroll-me",
|
|
1762
|
+
"scroll-mbs",
|
|
1763
|
+
"scroll-mbe",
|
|
1764
|
+
"scroll-mt",
|
|
1765
|
+
"scroll-mr",
|
|
1766
|
+
"scroll-mb",
|
|
1767
|
+
"scroll-ml"
|
|
1768
|
+
],
|
|
1769
|
+
"scroll-mx": ["scroll-mr", "scroll-ml"],
|
|
1770
|
+
"scroll-my": ["scroll-mt", "scroll-mb"],
|
|
1771
|
+
"scroll-p": [
|
|
1772
|
+
"scroll-px",
|
|
1773
|
+
"scroll-py",
|
|
1774
|
+
"scroll-ps",
|
|
1775
|
+
"scroll-pe",
|
|
1776
|
+
"scroll-pbs",
|
|
1777
|
+
"scroll-pbe",
|
|
1778
|
+
"scroll-pt",
|
|
1779
|
+
"scroll-pr",
|
|
1780
|
+
"scroll-pb",
|
|
1781
|
+
"scroll-pl"
|
|
1782
|
+
],
|
|
1783
|
+
"scroll-px": ["scroll-pr", "scroll-pl"],
|
|
1784
|
+
"scroll-py": ["scroll-pt", "scroll-pb"],
|
|
1785
|
+
touch: [
|
|
1786
|
+
"touch-x",
|
|
1787
|
+
"touch-y",
|
|
1788
|
+
"touch-pz"
|
|
1789
|
+
],
|
|
1790
|
+
"touch-x": ["touch"],
|
|
1791
|
+
"touch-y": ["touch"],
|
|
1792
|
+
"touch-pz": ["touch"]
|
|
1793
|
+
},
|
|
1794
|
+
conflictingClassGroupModifiers: { "font-size": ["leading"] },
|
|
1795
|
+
orderSensitiveModifiers: [
|
|
1796
|
+
"*",
|
|
1797
|
+
"**",
|
|
1798
|
+
"after",
|
|
1799
|
+
"backdrop",
|
|
1800
|
+
"before",
|
|
1801
|
+
"details-content",
|
|
1802
|
+
"file",
|
|
1803
|
+
"first-letter",
|
|
1804
|
+
"first-line",
|
|
1805
|
+
"marker",
|
|
1806
|
+
"placeholder",
|
|
1807
|
+
"selection"
|
|
1808
|
+
]
|
|
1809
|
+
};
|
|
1810
|
+
});
|
|
1811
|
+
//#endregion
|
|
1812
|
+
//#region src/lib/utils.ts
|
|
1813
|
+
function U(...e) {
|
|
1814
|
+
return ht(re(e));
|
|
1815
|
+
}
|
|
1816
|
+
//#endregion
|
|
1817
|
+
//#region src/components/ui/button.tsx
|
|
1818
|
+
var gt = D("vi-btn", {
|
|
1819
|
+
variants: {
|
|
1820
|
+
variant: {
|
|
1821
|
+
default: "vi-btn-variant-default",
|
|
1822
|
+
destructive: "vi-btn-variant-destructive",
|
|
1823
|
+
outline: "vi-btn-variant-outline",
|
|
1824
|
+
secondary: "vi-btn-variant-secondary",
|
|
1825
|
+
ghost: "vi-btn-variant-ghost",
|
|
1826
|
+
link: "vi-btn-variant-link"
|
|
1827
|
+
},
|
|
1828
|
+
size: {
|
|
1829
|
+
default: "vi-btn-size-default",
|
|
1830
|
+
sm: "vi-btn-size-sm",
|
|
1831
|
+
lg: "vi-btn-size-lg",
|
|
1832
|
+
icon: "vi-btn-size-icon"
|
|
1833
|
+
}
|
|
1834
|
+
},
|
|
1835
|
+
defaultVariants: {
|
|
1836
|
+
variant: "default",
|
|
1837
|
+
size: "default"
|
|
1838
|
+
}
|
|
1839
|
+
}), W = i(({ className: e, variant: t, size: n, asChild: r = !1, ...i }, a) => /* @__PURE__ */ u(r ? S : "button", {
|
|
1840
|
+
className: U(gt({
|
|
1841
|
+
variant: t,
|
|
1842
|
+
size: n,
|
|
1843
|
+
className: e
|
|
1844
|
+
})),
|
|
1845
|
+
ref: a,
|
|
1846
|
+
...i
|
|
1847
|
+
}));
|
|
1848
|
+
W.displayName = "Button";
|
|
1849
|
+
//#endregion
|
|
1850
|
+
//#region src/components/ui/card.tsx
|
|
1851
|
+
var _t = D("vi-card-header", {
|
|
1852
|
+
variants: { direction: {
|
|
1853
|
+
row: "flex-row",
|
|
1854
|
+
column: "flex-col"
|
|
1855
|
+
} },
|
|
1856
|
+
defaultVariants: { direction: "column" }
|
|
1857
|
+
}), vt = i(({ className: e, ...t }, n) => /* @__PURE__ */ u("div", {
|
|
1858
|
+
ref: n,
|
|
1859
|
+
className: U("vi-card", e),
|
|
1860
|
+
...t
|
|
1861
|
+
}));
|
|
1862
|
+
vt.displayName = "Card";
|
|
1863
|
+
var yt = i(({ className: e, direction: t, ...n }, r) => /* @__PURE__ */ u("div", {
|
|
1864
|
+
ref: r,
|
|
1865
|
+
className: U(_t({ direction: t }), e),
|
|
1866
|
+
...n
|
|
1867
|
+
}));
|
|
1868
|
+
yt.displayName = "CardHeader";
|
|
1869
|
+
var bt = i(({ className: e, ...t }, n) => /* @__PURE__ */ u("div", {
|
|
1870
|
+
ref: n,
|
|
1871
|
+
className: U("vi-card-title", e),
|
|
1872
|
+
...t
|
|
1873
|
+
}));
|
|
1874
|
+
bt.displayName = "CardTitle";
|
|
1875
|
+
var xt = i(({ className: e, ...t }, n) => /* @__PURE__ */ u("div", {
|
|
1876
|
+
ref: n,
|
|
1877
|
+
className: U("vi-card-description", e),
|
|
1878
|
+
...t
|
|
1879
|
+
}));
|
|
1880
|
+
xt.displayName = "CardDescription";
|
|
1881
|
+
var St = i(({ className: e, ...t }, n) => /* @__PURE__ */ u("div", {
|
|
1882
|
+
ref: n,
|
|
1883
|
+
className: U("vi-card-content", e),
|
|
1884
|
+
...t
|
|
1885
|
+
}));
|
|
1886
|
+
St.displayName = "CardContent";
|
|
1887
|
+
var Ct = i(({ className: e, ...t }, n) => /* @__PURE__ */ u("div", {
|
|
1888
|
+
ref: n,
|
|
1889
|
+
className: U("vi-card-footer", e),
|
|
1890
|
+
...t
|
|
1891
|
+
}));
|
|
1892
|
+
Ct.displayName = "CardFooter", typeof window < "u" && window.document && window.document.createElement;
|
|
1893
|
+
function G(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
|
|
1894
|
+
return function(r) {
|
|
1895
|
+
if (e?.(r), n === !1 || !r.defaultPrevented) return t?.(r);
|
|
1896
|
+
};
|
|
1897
|
+
}
|
|
1898
|
+
//#endregion
|
|
1899
|
+
//#region node_modules/@radix-ui/react-context/dist/index.mjs
|
|
1900
|
+
function wt(t, n) {
|
|
1901
|
+
let r = e.createContext(n), i = (t) => {
|
|
1902
|
+
let { children: n, ...i } = t, a = e.useMemo(() => i, Object.values(i));
|
|
1903
|
+
return /* @__PURE__ */ u(r.Provider, {
|
|
1904
|
+
value: a,
|
|
1905
|
+
children: n
|
|
1906
|
+
});
|
|
1907
|
+
};
|
|
1908
|
+
i.displayName = t + "Provider";
|
|
1909
|
+
function a(i) {
|
|
1910
|
+
let a = e.useContext(r);
|
|
1911
|
+
if (a) return a;
|
|
1912
|
+
if (n !== void 0) return n;
|
|
1913
|
+
throw Error(`\`${i}\` must be used within \`${t}\``);
|
|
1914
|
+
}
|
|
1915
|
+
return [i, a];
|
|
1916
|
+
}
|
|
1917
|
+
function Tt(t, n = []) {
|
|
1918
|
+
let r = [];
|
|
1919
|
+
function i(n, i) {
|
|
1920
|
+
let a = e.createContext(i), o = r.length;
|
|
1921
|
+
r = [...r, i];
|
|
1922
|
+
let s = (n) => {
|
|
1923
|
+
let { scope: r, children: i, ...s } = n, c = r?.[t]?.[o] || a, l = e.useMemo(() => s, Object.values(s));
|
|
1924
|
+
return /* @__PURE__ */ u(c.Provider, {
|
|
1925
|
+
value: l,
|
|
1926
|
+
children: i
|
|
1927
|
+
});
|
|
1928
|
+
};
|
|
1929
|
+
s.displayName = n + "Provider";
|
|
1930
|
+
function c(r, s) {
|
|
1931
|
+
let c = s?.[t]?.[o] || a, l = e.useContext(c);
|
|
1932
|
+
if (l) return l;
|
|
1933
|
+
if (i !== void 0) return i;
|
|
1934
|
+
throw Error(`\`${r}\` must be used within \`${n}\``);
|
|
1935
|
+
}
|
|
1936
|
+
return [s, c];
|
|
1937
|
+
}
|
|
1938
|
+
let a = () => {
|
|
1939
|
+
let n = r.map((t) => e.createContext(t));
|
|
1940
|
+
return function(r) {
|
|
1941
|
+
let i = r?.[t] || n;
|
|
1942
|
+
return e.useMemo(() => ({ [`__scope${t}`]: {
|
|
1943
|
+
...r,
|
|
1944
|
+
[t]: i
|
|
1945
|
+
} }), [r, i]);
|
|
1946
|
+
};
|
|
1947
|
+
};
|
|
1948
|
+
return a.scopeName = t, [i, Et(a, ...n)];
|
|
1949
|
+
}
|
|
1950
|
+
function Et(...t) {
|
|
1951
|
+
let n = t[0];
|
|
1952
|
+
if (t.length === 1) return n;
|
|
1953
|
+
let r = () => {
|
|
1954
|
+
let r = t.map((e) => ({
|
|
1955
|
+
useScope: e(),
|
|
1956
|
+
scopeName: e.scopeName
|
|
1957
|
+
}));
|
|
1958
|
+
return function(t) {
|
|
1959
|
+
let i = r.reduce((e, { useScope: n, scopeName: r }) => {
|
|
1960
|
+
let i = n(t)[`__scope${r}`];
|
|
1961
|
+
return {
|
|
1962
|
+
...e,
|
|
1963
|
+
...i
|
|
1964
|
+
};
|
|
1965
|
+
}, {});
|
|
1966
|
+
return e.useMemo(() => ({ [`__scope${n.scopeName}`]: i }), [i]);
|
|
1967
|
+
};
|
|
1968
|
+
};
|
|
1969
|
+
return r.scopeName = n.scopeName, r;
|
|
1970
|
+
}
|
|
1971
|
+
//#endregion
|
|
1972
|
+
//#region node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
|
|
1973
|
+
var Dt = globalThis?.document ? e.useLayoutEffect : () => {}, Ot = e.useId || (() => void 0), kt = 0;
|
|
1974
|
+
function At(t) {
|
|
1975
|
+
let [n, r] = e.useState(Ot());
|
|
1976
|
+
return Dt(() => {
|
|
1977
|
+
t || r((e) => e ?? String(kt++));
|
|
1978
|
+
}, [t]), t || (n ? `radix-${n}` : "");
|
|
1979
|
+
}
|
|
1980
|
+
//#endregion
|
|
1981
|
+
//#region node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
|
|
1982
|
+
var jt = e.useInsertionEffect || Dt;
|
|
1983
|
+
function Mt({ prop: t, defaultProp: n, onChange: r = () => {}, caller: i }) {
|
|
1984
|
+
let [a, o, s] = Nt({
|
|
1985
|
+
defaultProp: n,
|
|
1986
|
+
onChange: r
|
|
1987
|
+
}), c = t !== void 0, l = c ? t : a;
|
|
1988
|
+
{
|
|
1989
|
+
let n = e.useRef(t !== void 0);
|
|
1990
|
+
e.useEffect(() => {
|
|
1991
|
+
let e = n.current;
|
|
1992
|
+
e !== c && console.warn(`${i} is changing from ${e ? "controlled" : "uncontrolled"} to ${c ? "controlled" : "uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`), n.current = c;
|
|
1993
|
+
}, [c, i]);
|
|
1994
|
+
}
|
|
1995
|
+
return [l, e.useCallback((e) => {
|
|
1996
|
+
if (c) {
|
|
1997
|
+
let n = Pt(e) ? e(t) : e;
|
|
1998
|
+
n !== t && s.current?.(n);
|
|
1999
|
+
} else o(e);
|
|
2000
|
+
}, [
|
|
2001
|
+
c,
|
|
2002
|
+
t,
|
|
2003
|
+
o,
|
|
2004
|
+
s
|
|
2005
|
+
])];
|
|
2006
|
+
}
|
|
2007
|
+
function Nt({ defaultProp: t, onChange: n }) {
|
|
2008
|
+
let [r, i] = e.useState(t), a = e.useRef(r), o = e.useRef(n);
|
|
2009
|
+
return jt(() => {
|
|
2010
|
+
o.current = n;
|
|
2011
|
+
}, [n]), e.useEffect(() => {
|
|
2012
|
+
a.current !== r && (o.current?.(r), a.current = r);
|
|
2013
|
+
}, [r, a]), [
|
|
2014
|
+
r,
|
|
2015
|
+
i,
|
|
2016
|
+
o
|
|
2017
|
+
];
|
|
2018
|
+
}
|
|
2019
|
+
function Pt(e) {
|
|
2020
|
+
return typeof e == "function";
|
|
2021
|
+
}
|
|
2022
|
+
//#endregion
|
|
2023
|
+
//#region node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
2024
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
2025
|
+
function Ft(t) {
|
|
2026
|
+
let n = /* @__PURE__ */ It(t), r = e.forwardRef((t, r) => {
|
|
2027
|
+
let { children: i, ...a } = t, o = e.Children.toArray(i), s = o.find(Rt);
|
|
2028
|
+
if (s) {
|
|
2029
|
+
let t = s.props.children, i = o.map((n) => n === s ? e.Children.count(t) > 1 ? e.Children.only(null) : e.isValidElement(t) ? t.props.children : null : n);
|
|
2030
|
+
return /* @__PURE__ */ u(n, {
|
|
2031
|
+
...a,
|
|
2032
|
+
ref: r,
|
|
2033
|
+
children: e.isValidElement(t) ? e.cloneElement(t, void 0, i) : null
|
|
2034
|
+
});
|
|
2035
|
+
}
|
|
2036
|
+
return /* @__PURE__ */ u(n, {
|
|
2037
|
+
...a,
|
|
2038
|
+
ref: r,
|
|
2039
|
+
children: i
|
|
2040
|
+
});
|
|
2041
|
+
});
|
|
2042
|
+
return r.displayName = `${t}.Slot`, r;
|
|
2043
|
+
}
|
|
2044
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
2045
|
+
function It(t) {
|
|
2046
|
+
let n = e.forwardRef((t, n) => {
|
|
2047
|
+
let { children: r, ...i } = t;
|
|
2048
|
+
if (e.isValidElement(r)) {
|
|
2049
|
+
let t = Bt(r), a = zt(i, r.props);
|
|
2050
|
+
return r.type !== e.Fragment && (a.ref = n ? h(n, t) : t), e.cloneElement(r, a);
|
|
2051
|
+
}
|
|
2052
|
+
return e.Children.count(r) > 1 ? e.Children.only(null) : null;
|
|
2053
|
+
});
|
|
2054
|
+
return n.displayName = `${t}.SlotClone`, n;
|
|
2055
|
+
}
|
|
2056
|
+
var Lt = Symbol("radix.slottable");
|
|
2057
|
+
function Rt(t) {
|
|
2058
|
+
return e.isValidElement(t) && typeof t.type == "function" && "__radixId" in t.type && t.type.__radixId === Lt;
|
|
2059
|
+
}
|
|
2060
|
+
function zt(e, t) {
|
|
2061
|
+
let n = { ...t };
|
|
2062
|
+
for (let r in t) {
|
|
2063
|
+
let i = e[r], a = t[r];
|
|
2064
|
+
/^on[A-Z]/.test(r) ? i && a ? n[r] = (...e) => {
|
|
2065
|
+
let t = a(...e);
|
|
2066
|
+
return i(...e), t;
|
|
2067
|
+
} : i && (n[r] = i) : r === "style" ? n[r] = {
|
|
2068
|
+
...i,
|
|
2069
|
+
...a
|
|
2070
|
+
} : r === "className" && (n[r] = [i, a].filter(Boolean).join(" "));
|
|
2071
|
+
}
|
|
2072
|
+
return {
|
|
2073
|
+
...e,
|
|
2074
|
+
...n
|
|
2075
|
+
};
|
|
2076
|
+
}
|
|
2077
|
+
function Bt(e) {
|
|
2078
|
+
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
2079
|
+
return n ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
2080
|
+
}
|
|
2081
|
+
//#endregion
|
|
2082
|
+
//#region node_modules/@radix-ui/react-primitive/dist/index.mjs
|
|
2083
|
+
var K = [
|
|
2084
|
+
"a",
|
|
2085
|
+
"button",
|
|
2086
|
+
"div",
|
|
2087
|
+
"form",
|
|
2088
|
+
"h2",
|
|
2089
|
+
"h3",
|
|
2090
|
+
"img",
|
|
2091
|
+
"input",
|
|
2092
|
+
"label",
|
|
2093
|
+
"li",
|
|
2094
|
+
"nav",
|
|
2095
|
+
"ol",
|
|
2096
|
+
"p",
|
|
2097
|
+
"select",
|
|
2098
|
+
"span",
|
|
2099
|
+
"svg",
|
|
2100
|
+
"ul"
|
|
2101
|
+
].reduce((t, n) => {
|
|
2102
|
+
let r = /* @__PURE__ */ Ft(`Primitive.${n}`), i = e.forwardRef((e, t) => {
|
|
2103
|
+
let { asChild: i, ...a } = e, o = i ? r : n;
|
|
2104
|
+
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ u(o, {
|
|
2105
|
+
...a,
|
|
2106
|
+
ref: t
|
|
2107
|
+
});
|
|
2108
|
+
});
|
|
2109
|
+
return i.displayName = `Primitive.${n}`, {
|
|
2110
|
+
...t,
|
|
2111
|
+
[n]: i
|
|
2112
|
+
};
|
|
2113
|
+
}, {});
|
|
2114
|
+
function Vt(e, t) {
|
|
2115
|
+
e && f.flushSync(() => e.dispatchEvent(t));
|
|
2116
|
+
}
|
|
2117
|
+
//#endregion
|
|
2118
|
+
//#region node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
|
|
2119
|
+
function Ht(t) {
|
|
2120
|
+
let n = e.useRef(t);
|
|
2121
|
+
return e.useEffect(() => {
|
|
2122
|
+
n.current = t;
|
|
2123
|
+
}), e.useMemo(() => (...e) => n.current?.(...e), []);
|
|
2124
|
+
}
|
|
2125
|
+
//#endregion
|
|
2126
|
+
//#region node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
|
|
2127
|
+
function Ut(t, n = globalThis?.document) {
|
|
2128
|
+
let r = Ht(t);
|
|
2129
|
+
e.useEffect(() => {
|
|
2130
|
+
let e = (e) => {
|
|
2131
|
+
e.key === "Escape" && r(e);
|
|
2132
|
+
};
|
|
2133
|
+
return n.addEventListener("keydown", e, { capture: !0 }), () => n.removeEventListener("keydown", e, { capture: !0 });
|
|
2134
|
+
}, [r, n]);
|
|
2135
|
+
}
|
|
2136
|
+
//#endregion
|
|
2137
|
+
//#region node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
2138
|
+
var Wt = "DismissableLayer", Gt = "dismissableLayer.update", Kt = "dismissableLayer.pointerDownOutside", qt = "dismissableLayer.focusOutside", Jt, Yt = e.createContext({
|
|
2139
|
+
layers: /* @__PURE__ */ new Set(),
|
|
2140
|
+
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
2141
|
+
branches: /* @__PURE__ */ new Set()
|
|
2142
|
+
}), Xt = e.forwardRef((t, n) => {
|
|
2143
|
+
let { disableOutsidePointerEvents: r = !1, onEscapeKeyDown: i, onPointerDownOutside: a, onFocusOutside: o, onInteractOutside: s, onDismiss: c, ...l } = t, d = e.useContext(Yt), [f, p] = e.useState(null), m = f?.ownerDocument ?? globalThis?.document, [, h] = e.useState({}), _ = g(n, (e) => p(e)), v = Array.from(d.layers), [y] = [...d.layersWithOutsidePointerEventsDisabled].slice(-1), b = v.indexOf(y), x = f ? v.indexOf(f) : -1, S = d.layersWithOutsidePointerEventsDisabled.size > 0, C = x >= b, w = $t((e) => {
|
|
2144
|
+
let t = e.target, n = [...d.branches].some((e) => e.contains(t));
|
|
2145
|
+
!C || n || (a?.(e), s?.(e), e.defaultPrevented || c?.());
|
|
2146
|
+
}, m), T = en((e) => {
|
|
2147
|
+
let t = e.target;
|
|
2148
|
+
[...d.branches].some((e) => e.contains(t)) || (o?.(e), s?.(e), e.defaultPrevented || c?.());
|
|
2149
|
+
}, m);
|
|
2150
|
+
return Ut((e) => {
|
|
2151
|
+
x === d.layers.size - 1 && (i?.(e), !e.defaultPrevented && c && (e.preventDefault(), c()));
|
|
2152
|
+
}, m), e.useEffect(() => {
|
|
2153
|
+
if (f) return r && (d.layersWithOutsidePointerEventsDisabled.size === 0 && (Jt = m.body.style.pointerEvents, m.body.style.pointerEvents = "none"), d.layersWithOutsidePointerEventsDisabled.add(f)), d.layers.add(f), tn(), () => {
|
|
2154
|
+
r && d.layersWithOutsidePointerEventsDisabled.size === 1 && (m.body.style.pointerEvents = Jt);
|
|
2155
|
+
};
|
|
2156
|
+
}, [
|
|
2157
|
+
f,
|
|
2158
|
+
m,
|
|
2159
|
+
r,
|
|
2160
|
+
d
|
|
2161
|
+
]), e.useEffect(() => () => {
|
|
2162
|
+
f && (d.layers.delete(f), d.layersWithOutsidePointerEventsDisabled.delete(f), tn());
|
|
2163
|
+
}, [f, d]), e.useEffect(() => {
|
|
2164
|
+
let e = () => h({});
|
|
2165
|
+
return document.addEventListener(Gt, e), () => document.removeEventListener(Gt, e);
|
|
2166
|
+
}, []), /* @__PURE__ */ u(K.div, {
|
|
2167
|
+
...l,
|
|
2168
|
+
ref: _,
|
|
2169
|
+
style: {
|
|
2170
|
+
pointerEvents: S ? C ? "auto" : "none" : void 0,
|
|
2171
|
+
...t.style
|
|
2172
|
+
},
|
|
2173
|
+
onFocusCapture: G(t.onFocusCapture, T.onFocusCapture),
|
|
2174
|
+
onBlurCapture: G(t.onBlurCapture, T.onBlurCapture),
|
|
2175
|
+
onPointerDownCapture: G(t.onPointerDownCapture, w.onPointerDownCapture)
|
|
2176
|
+
});
|
|
2177
|
+
});
|
|
2178
|
+
Xt.displayName = Wt;
|
|
2179
|
+
var Zt = "DismissableLayerBranch", Qt = e.forwardRef((t, n) => {
|
|
2180
|
+
let r = e.useContext(Yt), i = e.useRef(null), a = g(n, i);
|
|
2181
|
+
return e.useEffect(() => {
|
|
2182
|
+
let e = i.current;
|
|
2183
|
+
if (e) return r.branches.add(e), () => {
|
|
2184
|
+
r.branches.delete(e);
|
|
2185
|
+
};
|
|
2186
|
+
}, [r.branches]), /* @__PURE__ */ u(K.div, {
|
|
2187
|
+
...t,
|
|
2188
|
+
ref: a
|
|
2189
|
+
});
|
|
2190
|
+
});
|
|
2191
|
+
Qt.displayName = Zt;
|
|
2192
|
+
function $t(t, n = globalThis?.document) {
|
|
2193
|
+
let r = Ht(t), i = e.useRef(!1), a = e.useRef(() => {});
|
|
2194
|
+
return e.useEffect(() => {
|
|
2195
|
+
let e = (e) => {
|
|
2196
|
+
if (e.target && !i.current) {
|
|
2197
|
+
let t = function() {
|
|
2198
|
+
nn(Kt, r, i, { discrete: !0 });
|
|
2199
|
+
}, i = { originalEvent: e };
|
|
2200
|
+
e.pointerType === "touch" ? (n.removeEventListener("click", a.current), a.current = t, n.addEventListener("click", a.current, { once: !0 })) : t();
|
|
2201
|
+
} else n.removeEventListener("click", a.current);
|
|
2202
|
+
i.current = !1;
|
|
2203
|
+
}, t = window.setTimeout(() => {
|
|
2204
|
+
n.addEventListener("pointerdown", e);
|
|
2205
|
+
}, 0);
|
|
2206
|
+
return () => {
|
|
2207
|
+
window.clearTimeout(t), n.removeEventListener("pointerdown", e), n.removeEventListener("click", a.current);
|
|
2208
|
+
};
|
|
2209
|
+
}, [n, r]), { onPointerDownCapture: () => i.current = !0 };
|
|
2210
|
+
}
|
|
2211
|
+
function en(t, n = globalThis?.document) {
|
|
2212
|
+
let r = Ht(t), i = e.useRef(!1);
|
|
2213
|
+
return e.useEffect(() => {
|
|
2214
|
+
let e = (e) => {
|
|
2215
|
+
e.target && !i.current && nn(qt, r, { originalEvent: e }, { discrete: !1 });
|
|
2216
|
+
};
|
|
2217
|
+
return n.addEventListener("focusin", e), () => n.removeEventListener("focusin", e);
|
|
2218
|
+
}, [n, r]), {
|
|
2219
|
+
onFocusCapture: () => i.current = !0,
|
|
2220
|
+
onBlurCapture: () => i.current = !1
|
|
2221
|
+
};
|
|
2222
|
+
}
|
|
2223
|
+
function tn() {
|
|
2224
|
+
let e = new CustomEvent(Gt);
|
|
2225
|
+
document.dispatchEvent(e);
|
|
2226
|
+
}
|
|
2227
|
+
function nn(e, t, n, { discrete: r }) {
|
|
2228
|
+
let i = n.originalEvent.target, a = new CustomEvent(e, {
|
|
2229
|
+
bubbles: !1,
|
|
2230
|
+
cancelable: !0,
|
|
2231
|
+
detail: n
|
|
2232
|
+
});
|
|
2233
|
+
t && i.addEventListener(e, t, { once: !0 }), r ? Vt(i, a) : i.dispatchEvent(a);
|
|
2234
|
+
}
|
|
2235
|
+
//#endregion
|
|
2236
|
+
//#region node_modules/@radix-ui/react-focus-scope/dist/index.mjs
|
|
2237
|
+
var rn = "focusScope.autoFocusOnMount", an = "focusScope.autoFocusOnUnmount", on = {
|
|
2238
|
+
bubbles: !1,
|
|
2239
|
+
cancelable: !0
|
|
2240
|
+
}, sn = "FocusScope", cn = e.forwardRef((t, n) => {
|
|
2241
|
+
let { loop: r = !1, trapped: i = !1, onMountAutoFocus: a, onUnmountAutoFocus: o, ...s } = t, [c, l] = e.useState(null), d = Ht(a), f = Ht(o), p = e.useRef(null), m = g(n, (e) => l(e)), h = e.useRef({
|
|
2242
|
+
paused: !1,
|
|
2243
|
+
pause() {
|
|
2244
|
+
this.paused = !0;
|
|
2245
|
+
},
|
|
2246
|
+
resume() {
|
|
2247
|
+
this.paused = !1;
|
|
2248
|
+
}
|
|
2249
|
+
}).current;
|
|
2250
|
+
e.useEffect(() => {
|
|
2251
|
+
if (i) {
|
|
2252
|
+
let e = function(e) {
|
|
2253
|
+
if (h.paused || !c) return;
|
|
2254
|
+
let t = e.target;
|
|
2255
|
+
c.contains(t) ? p.current = t : q(p.current, { select: !0 });
|
|
2256
|
+
}, t = function(e) {
|
|
2257
|
+
if (h.paused || !c) return;
|
|
2258
|
+
let t = e.relatedTarget;
|
|
2259
|
+
t !== null && (c.contains(t) || q(p.current, { select: !0 }));
|
|
2260
|
+
}, n = function(e) {
|
|
2261
|
+
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 && q(c);
|
|
2262
|
+
};
|
|
2263
|
+
document.addEventListener("focusin", e), document.addEventListener("focusout", t);
|
|
2264
|
+
let r = new MutationObserver(n);
|
|
2265
|
+
return c && r.observe(c, {
|
|
2266
|
+
childList: !0,
|
|
2267
|
+
subtree: !0
|
|
2268
|
+
}), () => {
|
|
2269
|
+
document.removeEventListener("focusin", e), document.removeEventListener("focusout", t), r.disconnect();
|
|
2270
|
+
};
|
|
2271
|
+
}
|
|
2272
|
+
}, [
|
|
2273
|
+
i,
|
|
2274
|
+
c,
|
|
2275
|
+
h.paused
|
|
2276
|
+
]), e.useEffect(() => {
|
|
2277
|
+
if (c) {
|
|
2278
|
+
hn.add(h);
|
|
2279
|
+
let e = document.activeElement;
|
|
2280
|
+
if (!c.contains(e)) {
|
|
2281
|
+
let t = new CustomEvent(rn, on);
|
|
2282
|
+
c.addEventListener(rn, d), c.dispatchEvent(t), t.defaultPrevented || (ln(vn(dn(c)), { select: !0 }), document.activeElement === e && q(c));
|
|
2283
|
+
}
|
|
2284
|
+
return () => {
|
|
2285
|
+
c.removeEventListener(rn, d), setTimeout(() => {
|
|
2286
|
+
let t = new CustomEvent(an, on);
|
|
2287
|
+
c.addEventListener(an, f), c.dispatchEvent(t), t.defaultPrevented || q(e ?? document.body, { select: !0 }), c.removeEventListener(an, f), hn.remove(h);
|
|
2288
|
+
}, 0);
|
|
2289
|
+
};
|
|
2290
|
+
}
|
|
2291
|
+
}, [
|
|
2292
|
+
c,
|
|
2293
|
+
d,
|
|
2294
|
+
f,
|
|
2295
|
+
h
|
|
2296
|
+
]);
|
|
2297
|
+
let _ = e.useCallback((e) => {
|
|
2298
|
+
if (!r && !i || h.paused) return;
|
|
2299
|
+
let t = e.key === "Tab" && !e.altKey && !e.ctrlKey && !e.metaKey, n = document.activeElement;
|
|
2300
|
+
if (t && n) {
|
|
2301
|
+
let t = e.currentTarget, [i, a] = un(t);
|
|
2302
|
+
i && a ? !e.shiftKey && n === a ? (e.preventDefault(), r && q(i, { select: !0 })) : e.shiftKey && n === i && (e.preventDefault(), r && q(a, { select: !0 })) : n === t && e.preventDefault();
|
|
2303
|
+
}
|
|
2304
|
+
}, [
|
|
2305
|
+
r,
|
|
2306
|
+
i,
|
|
2307
|
+
h.paused
|
|
2308
|
+
]);
|
|
2309
|
+
return /* @__PURE__ */ u(K.div, {
|
|
2310
|
+
tabIndex: -1,
|
|
2311
|
+
...s,
|
|
2312
|
+
ref: m,
|
|
2313
|
+
onKeyDown: _
|
|
2314
|
+
});
|
|
2315
|
+
});
|
|
2316
|
+
cn.displayName = sn;
|
|
2317
|
+
function ln(e, { select: t = !1 } = {}) {
|
|
2318
|
+
let n = document.activeElement;
|
|
2319
|
+
for (let r of e) if (q(r, { select: t }), document.activeElement !== n) return;
|
|
2320
|
+
}
|
|
2321
|
+
function un(e) {
|
|
2322
|
+
let t = dn(e);
|
|
2323
|
+
return [fn(t, e), fn(t.reverse(), e)];
|
|
2324
|
+
}
|
|
2325
|
+
function dn(e) {
|
|
2326
|
+
let t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode: (e) => {
|
|
2327
|
+
let t = e.tagName === "INPUT" && e.type === "hidden";
|
|
2328
|
+
return e.disabled || e.hidden || t ? NodeFilter.FILTER_SKIP : e.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
2329
|
+
} });
|
|
2330
|
+
for (; n.nextNode();) t.push(n.currentNode);
|
|
2331
|
+
return t;
|
|
2332
|
+
}
|
|
2333
|
+
function fn(e, t) {
|
|
2334
|
+
for (let n of e) if (!pn(n, { upTo: t })) return n;
|
|
2335
|
+
}
|
|
2336
|
+
function pn(e, { upTo: t }) {
|
|
2337
|
+
if (getComputedStyle(e).visibility === "hidden") return !0;
|
|
2338
|
+
for (; e;) {
|
|
2339
|
+
if (t !== void 0 && e === t) return !1;
|
|
2340
|
+
if (getComputedStyle(e).display === "none") return !0;
|
|
2341
|
+
e = e.parentElement;
|
|
2342
|
+
}
|
|
2343
|
+
return !1;
|
|
2344
|
+
}
|
|
2345
|
+
function mn(e) {
|
|
2346
|
+
return e instanceof HTMLInputElement && "select" in e;
|
|
2347
|
+
}
|
|
2348
|
+
function q(e, { select: t = !1 } = {}) {
|
|
2349
|
+
if (e && e.focus) {
|
|
2350
|
+
let n = document.activeElement;
|
|
2351
|
+
e.focus({ preventScroll: !0 }), e !== n && mn(e) && t && e.select();
|
|
2352
|
+
}
|
|
2353
|
+
}
|
|
2354
|
+
var hn = gn();
|
|
2355
|
+
function gn() {
|
|
2356
|
+
let e = [];
|
|
2357
|
+
return {
|
|
2358
|
+
add(t) {
|
|
2359
|
+
let n = e[0];
|
|
2360
|
+
t !== n && n?.pause(), e = _n(e, t), e.unshift(t);
|
|
2361
|
+
},
|
|
2362
|
+
remove(t) {
|
|
2363
|
+
e = _n(e, t), e[0]?.resume();
|
|
2364
|
+
}
|
|
2365
|
+
};
|
|
2366
|
+
}
|
|
2367
|
+
function _n(e, t) {
|
|
2368
|
+
let n = [...e], r = n.indexOf(t);
|
|
2369
|
+
return r !== -1 && n.splice(r, 1), n;
|
|
2370
|
+
}
|
|
2371
|
+
function vn(e) {
|
|
2372
|
+
return e.filter((e) => e.tagName !== "A");
|
|
2373
|
+
}
|
|
2374
|
+
//#endregion
|
|
2375
|
+
//#region node_modules/@radix-ui/react-portal/dist/index.mjs
|
|
2376
|
+
var yn = "Portal", bn = e.forwardRef((t, n) => {
|
|
2377
|
+
let { container: r, ...i } = t, [a, o] = e.useState(!1);
|
|
2378
|
+
Dt(() => o(!0), []);
|
|
2379
|
+
let s = r || a && globalThis?.document?.body;
|
|
2380
|
+
return s ? p.createPortal(/* @__PURE__ */ u(K.div, {
|
|
2381
|
+
...i,
|
|
2382
|
+
ref: n
|
|
2383
|
+
}), s) : null;
|
|
2384
|
+
});
|
|
2385
|
+
bn.displayName = yn;
|
|
2386
|
+
//#endregion
|
|
2387
|
+
//#region node_modules/@radix-ui/react-presence/dist/index.mjs
|
|
2388
|
+
function xn(t, n) {
|
|
2389
|
+
return e.useReducer((e, t) => n[e][t] ?? e, t);
|
|
2390
|
+
}
|
|
2391
|
+
var Sn = (t) => {
|
|
2392
|
+
let { present: n, children: r } = t, i = Cn(n), a = typeof r == "function" ? r({ present: i.isPresent }) : e.Children.only(r), o = g(i.ref, Tn(a));
|
|
2393
|
+
return typeof r == "function" || i.isPresent ? e.cloneElement(a, { ref: o }) : null;
|
|
2394
|
+
};
|
|
2395
|
+
Sn.displayName = "Presence";
|
|
2396
|
+
function Cn(t) {
|
|
2397
|
+
let [n, r] = e.useState(), i = e.useRef(null), a = e.useRef(t), o = e.useRef("none"), [s, c] = xn(t ? "mounted" : "unmounted", {
|
|
2398
|
+
mounted: {
|
|
2399
|
+
UNMOUNT: "unmounted",
|
|
2400
|
+
ANIMATION_OUT: "unmountSuspended"
|
|
2401
|
+
},
|
|
2402
|
+
unmountSuspended: {
|
|
2403
|
+
MOUNT: "mounted",
|
|
2404
|
+
ANIMATION_END: "unmounted"
|
|
2405
|
+
},
|
|
2406
|
+
unmounted: { MOUNT: "mounted" }
|
|
2407
|
+
});
|
|
2408
|
+
return e.useEffect(() => {
|
|
2409
|
+
let e = wn(i.current);
|
|
2410
|
+
o.current = s === "mounted" ? e : "none";
|
|
2411
|
+
}, [s]), Dt(() => {
|
|
2412
|
+
let e = i.current, n = a.current;
|
|
2413
|
+
if (n !== t) {
|
|
2414
|
+
let r = o.current, i = wn(e);
|
|
2415
|
+
t ? c("MOUNT") : i === "none" || e?.display === "none" ? c("UNMOUNT") : c(n && r !== i ? "ANIMATION_OUT" : "UNMOUNT"), a.current = t;
|
|
2416
|
+
}
|
|
2417
|
+
}, [t, c]), Dt(() => {
|
|
2418
|
+
if (n) {
|
|
2419
|
+
let e, t = n.ownerDocument.defaultView ?? window, r = (r) => {
|
|
2420
|
+
let o = wn(i.current).includes(CSS.escape(r.animationName));
|
|
2421
|
+
if (r.target === n && o && (c("ANIMATION_END"), !a.current)) {
|
|
2422
|
+
let r = n.style.animationFillMode;
|
|
2423
|
+
n.style.animationFillMode = "forwards", e = t.setTimeout(() => {
|
|
2424
|
+
n.style.animationFillMode === "forwards" && (n.style.animationFillMode = r);
|
|
2425
|
+
});
|
|
2426
|
+
}
|
|
2427
|
+
}, s = (e) => {
|
|
2428
|
+
e.target === n && (o.current = wn(i.current));
|
|
2429
|
+
};
|
|
2430
|
+
return n.addEventListener("animationstart", s), n.addEventListener("animationcancel", r), n.addEventListener("animationend", r), () => {
|
|
2431
|
+
t.clearTimeout(e), n.removeEventListener("animationstart", s), n.removeEventListener("animationcancel", r), n.removeEventListener("animationend", r);
|
|
2432
|
+
};
|
|
2433
|
+
} else c("ANIMATION_END");
|
|
2434
|
+
}, [n, c]), {
|
|
2435
|
+
isPresent: ["mounted", "unmountSuspended"].includes(s),
|
|
2436
|
+
ref: e.useCallback((e) => {
|
|
2437
|
+
i.current = e ? getComputedStyle(e) : null, r(e);
|
|
2438
|
+
}, [])
|
|
2439
|
+
};
|
|
2440
|
+
}
|
|
2441
|
+
function wn(e) {
|
|
2442
|
+
return e?.animationName || "none";
|
|
2443
|
+
}
|
|
2444
|
+
function Tn(e) {
|
|
2445
|
+
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
2446
|
+
return n ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
2447
|
+
}
|
|
2448
|
+
//#endregion
|
|
2449
|
+
//#region node_modules/@radix-ui/react-focus-guards/dist/index.mjs
|
|
2450
|
+
var En = 0;
|
|
2451
|
+
function Dn() {
|
|
2452
|
+
e.useEffect(() => {
|
|
2453
|
+
let e = document.querySelectorAll("[data-radix-focus-guard]");
|
|
2454
|
+
return document.body.insertAdjacentElement("afterbegin", e[0] ?? On()), document.body.insertAdjacentElement("beforeend", e[1] ?? On()), En++, () => {
|
|
2455
|
+
En === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((e) => e.remove()), En--;
|
|
2456
|
+
};
|
|
2457
|
+
}, []);
|
|
2458
|
+
}
|
|
2459
|
+
function On() {
|
|
2460
|
+
let e = document.createElement("span");
|
|
2461
|
+
return e.setAttribute("data-radix-focus-guard", ""), e.tabIndex = 0, e.style.outline = "none", e.style.opacity = "0", e.style.position = "fixed", e.style.pointerEvents = "none", e;
|
|
2462
|
+
}
|
|
2463
|
+
//#endregion
|
|
2464
|
+
//#region node_modules/tslib/tslib.es6.mjs
|
|
2465
|
+
var J = function() {
|
|
2466
|
+
return J = Object.assign || function(e) {
|
|
2467
|
+
for (var t, n = 1, r = arguments.length; n < r; n++) for (var i in t = arguments[n], t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
|
|
2468
|
+
return e;
|
|
2469
|
+
}, J.apply(this, arguments);
|
|
2470
|
+
};
|
|
2471
|
+
function kn(e, t) {
|
|
2472
|
+
var n = {};
|
|
2473
|
+
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
2474
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++) t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
|
|
2475
|
+
return n;
|
|
2476
|
+
}
|
|
2477
|
+
function An(e, t, n) {
|
|
2478
|
+
if (n || arguments.length === 2) for (var r = 0, i = t.length, a; r < i; r++) (a || !(r in t)) && (a ||= Array.prototype.slice.call(t, 0, r), a[r] = t[r]);
|
|
2479
|
+
return e.concat(a || Array.prototype.slice.call(t));
|
|
2480
|
+
}
|
|
2481
|
+
//#endregion
|
|
2482
|
+
//#region node_modules/react-remove-scroll-bar/dist/es2015/constants.js
|
|
2483
|
+
var jn = "right-scroll-bar-position", Mn = "width-before-scroll-bar", Nn = "with-scroll-bars-hidden", Pn = "--removed-body-scroll-bar-size";
|
|
2484
|
+
//#endregion
|
|
2485
|
+
//#region node_modules/use-callback-ref/dist/es2015/assignRef.js
|
|
2486
|
+
function Fn(e, t) {
|
|
2487
|
+
return typeof e == "function" ? e(t) : e && (e.current = t), e;
|
|
2488
|
+
}
|
|
2489
|
+
//#endregion
|
|
2490
|
+
//#region node_modules/use-callback-ref/dist/es2015/useRef.js
|
|
2491
|
+
function In(e, t) {
|
|
2492
|
+
var n = c(function() {
|
|
2493
|
+
return {
|
|
2494
|
+
value: e,
|
|
2495
|
+
callback: t,
|
|
2496
|
+
facade: {
|
|
2497
|
+
get current() {
|
|
2498
|
+
return n.value;
|
|
2499
|
+
},
|
|
2500
|
+
set current(e) {
|
|
2501
|
+
var t = n.value;
|
|
2502
|
+
t !== e && (n.value = e, n.callback(e, t));
|
|
2503
|
+
}
|
|
2504
|
+
}
|
|
2505
|
+
};
|
|
2506
|
+
})[0];
|
|
2507
|
+
return n.callback = t, n.facade;
|
|
2508
|
+
}
|
|
2509
|
+
//#endregion
|
|
2510
|
+
//#region node_modules/use-callback-ref/dist/es2015/useMergeRef.js
|
|
2511
|
+
var Ln = typeof window < "u" ? e.useLayoutEffect : e.useEffect, Rn = /* @__PURE__ */ new WeakMap();
|
|
2512
|
+
function zn(e, t) {
|
|
2513
|
+
var n = In(t || null, function(t) {
|
|
2514
|
+
return e.forEach(function(e) {
|
|
2515
|
+
return Fn(e, t);
|
|
2516
|
+
});
|
|
2517
|
+
});
|
|
2518
|
+
return Ln(function() {
|
|
2519
|
+
var t = Rn.get(n);
|
|
2520
|
+
if (t) {
|
|
2521
|
+
var r = new Set(t), i = new Set(e), a = n.current;
|
|
2522
|
+
r.forEach(function(e) {
|
|
2523
|
+
i.has(e) || Fn(e, null);
|
|
2524
|
+
}), i.forEach(function(e) {
|
|
2525
|
+
r.has(e) || Fn(e, a);
|
|
2526
|
+
});
|
|
2527
|
+
}
|
|
2528
|
+
Rn.set(n, e);
|
|
2529
|
+
}, [e]), n;
|
|
2530
|
+
}
|
|
2531
|
+
//#endregion
|
|
2532
|
+
//#region node_modules/use-sidecar/dist/es2015/medium.js
|
|
2533
|
+
function Bn(e) {
|
|
2534
|
+
return e;
|
|
2535
|
+
}
|
|
2536
|
+
function Vn(e, t) {
|
|
2537
|
+
t === void 0 && (t = Bn);
|
|
2538
|
+
var n = [], r = !1;
|
|
2539
|
+
return {
|
|
2540
|
+
read: function() {
|
|
2541
|
+
if (r) throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");
|
|
2542
|
+
return n.length ? n[n.length - 1] : e;
|
|
2543
|
+
},
|
|
2544
|
+
useMedium: function(e) {
|
|
2545
|
+
var i = t(e, r);
|
|
2546
|
+
return n.push(i), function() {
|
|
2547
|
+
n = n.filter(function(e) {
|
|
2548
|
+
return e !== i;
|
|
2549
|
+
});
|
|
2550
|
+
};
|
|
2551
|
+
},
|
|
2552
|
+
assignSyncMedium: function(e) {
|
|
2553
|
+
for (r = !0; n.length;) {
|
|
2554
|
+
var t = n;
|
|
2555
|
+
n = [], t.forEach(e);
|
|
2556
|
+
}
|
|
2557
|
+
n = {
|
|
2558
|
+
push: function(t) {
|
|
2559
|
+
return e(t);
|
|
2560
|
+
},
|
|
2561
|
+
filter: function() {
|
|
2562
|
+
return n;
|
|
2563
|
+
}
|
|
2564
|
+
};
|
|
2565
|
+
},
|
|
2566
|
+
assignMedium: function(e) {
|
|
2567
|
+
r = !0;
|
|
2568
|
+
var t = [];
|
|
2569
|
+
if (n.length) {
|
|
2570
|
+
var i = n;
|
|
2571
|
+
n = [], i.forEach(e), t = n;
|
|
2572
|
+
}
|
|
2573
|
+
var a = function() {
|
|
2574
|
+
var n = t;
|
|
2575
|
+
t = [], n.forEach(e);
|
|
2576
|
+
}, o = function() {
|
|
2577
|
+
return Promise.resolve().then(a);
|
|
2578
|
+
};
|
|
2579
|
+
o(), n = {
|
|
2580
|
+
push: function(e) {
|
|
2581
|
+
t.push(e), o();
|
|
2582
|
+
},
|
|
2583
|
+
filter: function(e) {
|
|
2584
|
+
return t = t.filter(e), n;
|
|
2585
|
+
}
|
|
2586
|
+
};
|
|
2587
|
+
}
|
|
2588
|
+
};
|
|
2589
|
+
}
|
|
2590
|
+
function Hn(e) {
|
|
2591
|
+
e === void 0 && (e = {});
|
|
2592
|
+
var t = Vn(null);
|
|
2593
|
+
return t.options = J({
|
|
2594
|
+
async: !0,
|
|
2595
|
+
ssr: !1
|
|
2596
|
+
}, e), t;
|
|
2597
|
+
}
|
|
2598
|
+
//#endregion
|
|
2599
|
+
//#region node_modules/use-sidecar/dist/es2015/exports.js
|
|
2600
|
+
var Un = function(t) {
|
|
2601
|
+
var n = t.sideCar, r = kn(t, ["sideCar"]);
|
|
2602
|
+
if (!n) throw Error("Sidecar: please provide `sideCar` property to import the right car");
|
|
2603
|
+
var i = n.read();
|
|
2604
|
+
if (!i) throw Error("Sidecar medium not found");
|
|
2605
|
+
return e.createElement(i, J({}, r));
|
|
2606
|
+
};
|
|
2607
|
+
Un.isSideCarExport = !0;
|
|
2608
|
+
function Wn(e, t) {
|
|
2609
|
+
return e.useMedium(t), Un;
|
|
2610
|
+
}
|
|
2611
|
+
//#endregion
|
|
2612
|
+
//#region node_modules/react-remove-scroll/dist/es2015/medium.js
|
|
2613
|
+
var Gn = Hn(), Kn = function() {}, qn = e.forwardRef(function(t, n) {
|
|
2614
|
+
var r = e.useRef(null), i = e.useState({
|
|
2615
|
+
onScrollCapture: Kn,
|
|
2616
|
+
onWheelCapture: Kn,
|
|
2617
|
+
onTouchMoveCapture: Kn
|
|
2618
|
+
}), a = i[0], o = i[1], s = t.forwardProps, c = t.children, l = t.className, u = t.removeScrollBar, d = t.enabled, f = t.shards, p = t.sideCar, m = t.noRelative, h = t.noIsolation, g = t.inert, _ = t.allowPinchZoom, v = t.as, y = v === void 0 ? "div" : v, b = t.gapMode, x = kn(t, [
|
|
2619
|
+
"forwardProps",
|
|
2620
|
+
"children",
|
|
2621
|
+
"className",
|
|
2622
|
+
"removeScrollBar",
|
|
2623
|
+
"enabled",
|
|
2624
|
+
"shards",
|
|
2625
|
+
"sideCar",
|
|
2626
|
+
"noRelative",
|
|
2627
|
+
"noIsolation",
|
|
2628
|
+
"inert",
|
|
2629
|
+
"allowPinchZoom",
|
|
2630
|
+
"as",
|
|
2631
|
+
"gapMode"
|
|
2632
|
+
]), S = p, C = zn([r, n]), w = J(J({}, x), a);
|
|
2633
|
+
return e.createElement(e.Fragment, null, d && e.createElement(S, {
|
|
2634
|
+
sideCar: Gn,
|
|
2635
|
+
removeScrollBar: u,
|
|
2636
|
+
shards: f,
|
|
2637
|
+
noRelative: m,
|
|
2638
|
+
noIsolation: h,
|
|
2639
|
+
inert: g,
|
|
2640
|
+
setCallbacks: o,
|
|
2641
|
+
allowPinchZoom: !!_,
|
|
2642
|
+
lockRef: r,
|
|
2643
|
+
gapMode: b
|
|
2644
|
+
}), s ? e.cloneElement(e.Children.only(c), J(J({}, w), { ref: C })) : e.createElement(y, J({}, w, {
|
|
2645
|
+
className: l,
|
|
2646
|
+
ref: C
|
|
2647
|
+
}), c));
|
|
2648
|
+
});
|
|
2649
|
+
qn.defaultProps = {
|
|
2650
|
+
enabled: !0,
|
|
2651
|
+
removeScrollBar: !0,
|
|
2652
|
+
inert: !1
|
|
2653
|
+
}, qn.classNames = {
|
|
2654
|
+
fullWidth: Mn,
|
|
2655
|
+
zeroRight: jn
|
|
2656
|
+
};
|
|
2657
|
+
//#endregion
|
|
2658
|
+
//#region node_modules/get-nonce/dist/es2015/index.js
|
|
2659
|
+
var Jn, Yn = function() {
|
|
2660
|
+
if (Jn) return Jn;
|
|
2661
|
+
if (typeof __webpack_nonce__ < "u") return __webpack_nonce__;
|
|
2662
|
+
};
|
|
2663
|
+
//#endregion
|
|
2664
|
+
//#region node_modules/react-style-singleton/dist/es2015/singleton.js
|
|
2665
|
+
function Xn() {
|
|
2666
|
+
if (!document) return null;
|
|
2667
|
+
var e = document.createElement("style");
|
|
2668
|
+
e.type = "text/css";
|
|
2669
|
+
var t = Yn();
|
|
2670
|
+
return t && e.setAttribute("nonce", t), e;
|
|
2671
|
+
}
|
|
2672
|
+
function Zn(e, t) {
|
|
2673
|
+
e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
|
|
2674
|
+
}
|
|
2675
|
+
function Qn(e) {
|
|
2676
|
+
(document.head || document.getElementsByTagName("head")[0]).appendChild(e);
|
|
2677
|
+
}
|
|
2678
|
+
var $n = function() {
|
|
2679
|
+
var e = 0, t = null;
|
|
2680
|
+
return {
|
|
2681
|
+
add: function(n) {
|
|
2682
|
+
e == 0 && (t = Xn()) && (Zn(t, n), Qn(t)), e++;
|
|
2683
|
+
},
|
|
2684
|
+
remove: function() {
|
|
2685
|
+
e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
|
|
2686
|
+
}
|
|
2687
|
+
};
|
|
2688
|
+
}, er = function() {
|
|
2689
|
+
var t = $n();
|
|
2690
|
+
return function(n, r) {
|
|
2691
|
+
e.useEffect(function() {
|
|
2692
|
+
return t.add(n), function() {
|
|
2693
|
+
t.remove();
|
|
2694
|
+
};
|
|
2695
|
+
}, [n && r]);
|
|
2696
|
+
};
|
|
2697
|
+
}, tr = function() {
|
|
2698
|
+
var e = er();
|
|
2699
|
+
return function(t) {
|
|
2700
|
+
var n = t.styles, r = t.dynamic;
|
|
2701
|
+
return e(n, r), null;
|
|
2702
|
+
};
|
|
2703
|
+
}, nr = {
|
|
2704
|
+
left: 0,
|
|
2705
|
+
top: 0,
|
|
2706
|
+
right: 0,
|
|
2707
|
+
gap: 0
|
|
2708
|
+
}, rr = function(e) {
|
|
2709
|
+
return parseInt(e || "", 10) || 0;
|
|
2710
|
+
}, ir = function(e) {
|
|
2711
|
+
var t = window.getComputedStyle(document.body), n = t[e === "padding" ? "paddingLeft" : "marginLeft"], r = t[e === "padding" ? "paddingTop" : "marginTop"], i = t[e === "padding" ? "paddingRight" : "marginRight"];
|
|
2712
|
+
return [
|
|
2713
|
+
rr(n),
|
|
2714
|
+
rr(r),
|
|
2715
|
+
rr(i)
|
|
2716
|
+
];
|
|
2717
|
+
}, ar = function(e) {
|
|
2718
|
+
if (e === void 0 && (e = "margin"), typeof window > "u") return nr;
|
|
2719
|
+
var t = ir(e), n = document.documentElement.clientWidth, r = window.innerWidth;
|
|
2720
|
+
return {
|
|
2721
|
+
left: t[0],
|
|
2722
|
+
top: t[1],
|
|
2723
|
+
right: t[2],
|
|
2724
|
+
gap: Math.max(0, r - n + t[2] - t[0])
|
|
2725
|
+
};
|
|
2726
|
+
}, or = tr(), sr = "data-scroll-locked", cr = function(e, t, n, r) {
|
|
2727
|
+
var i = e.left, a = e.top, o = e.right, s = e.gap;
|
|
2728
|
+
return n === void 0 && (n = "margin"), `
|
|
2729
|
+
.${Nn} {
|
|
2730
|
+
overflow: hidden ${r};
|
|
2731
|
+
padding-right: ${s}px ${r};
|
|
2732
|
+
}
|
|
2733
|
+
body[${sr}] {
|
|
2734
|
+
overflow: hidden ${r};
|
|
2735
|
+
overscroll-behavior: contain;
|
|
2736
|
+
${[
|
|
2737
|
+
t && `position: relative ${r};`,
|
|
2738
|
+
n === "margin" && `
|
|
2739
|
+
padding-left: ${i}px;
|
|
2740
|
+
padding-top: ${a}px;
|
|
2741
|
+
padding-right: ${o}px;
|
|
2742
|
+
margin-left:0;
|
|
2743
|
+
margin-top:0;
|
|
2744
|
+
margin-right: ${s}px ${r};
|
|
2745
|
+
`,
|
|
2746
|
+
n === "padding" && `padding-right: ${s}px ${r};`
|
|
2747
|
+
].filter(Boolean).join("")}
|
|
2748
|
+
}
|
|
2749
|
+
|
|
2750
|
+
.${jn} {
|
|
2751
|
+
right: ${s}px ${r};
|
|
2752
|
+
}
|
|
2753
|
+
|
|
2754
|
+
.${Mn} {
|
|
2755
|
+
margin-right: ${s}px ${r};
|
|
2756
|
+
}
|
|
2757
|
+
|
|
2758
|
+
.${jn} .${jn} {
|
|
2759
|
+
right: 0 ${r};
|
|
2760
|
+
}
|
|
2761
|
+
|
|
2762
|
+
.${Mn} .${Mn} {
|
|
2763
|
+
margin-right: 0 ${r};
|
|
2764
|
+
}
|
|
2765
|
+
|
|
2766
|
+
body[${sr}] {
|
|
2767
|
+
${Pn}: ${s}px;
|
|
2768
|
+
}
|
|
2769
|
+
`;
|
|
2770
|
+
}, lr = function() {
|
|
2771
|
+
var e = parseInt(document.body.getAttribute("data-scroll-locked") || "0", 10);
|
|
2772
|
+
return isFinite(e) ? e : 0;
|
|
2773
|
+
}, ur = function() {
|
|
2774
|
+
e.useEffect(function() {
|
|
2775
|
+
return document.body.setAttribute(sr, (lr() + 1).toString()), function() {
|
|
2776
|
+
var e = lr() - 1;
|
|
2777
|
+
e <= 0 ? document.body.removeAttribute(sr) : document.body.setAttribute(sr, e.toString());
|
|
2778
|
+
};
|
|
2779
|
+
}, []);
|
|
2780
|
+
}, dr = function(t) {
|
|
2781
|
+
var n = t.noRelative, r = t.noImportant, i = t.gapMode, a = i === void 0 ? "margin" : i;
|
|
2782
|
+
ur();
|
|
2783
|
+
var o = e.useMemo(function() {
|
|
2784
|
+
return ar(a);
|
|
2785
|
+
}, [a]);
|
|
2786
|
+
return e.createElement(or, { styles: cr(o, !n, a, r ? "" : "!important") });
|
|
2787
|
+
}, fr = !1;
|
|
2788
|
+
if (typeof window < "u") try {
|
|
2789
|
+
var pr = Object.defineProperty({}, "passive", { get: function() {
|
|
2790
|
+
return fr = !0, !0;
|
|
2791
|
+
} });
|
|
2792
|
+
window.addEventListener("test", pr, pr), window.removeEventListener("test", pr, pr);
|
|
2793
|
+
} catch {
|
|
2794
|
+
fr = !1;
|
|
2795
|
+
}
|
|
2796
|
+
var Y = fr ? { passive: !1 } : !1, mr = function(e) {
|
|
2797
|
+
return e.tagName === "TEXTAREA";
|
|
2798
|
+
}, hr = function(e, t) {
|
|
2799
|
+
if (!(e instanceof Element)) return !1;
|
|
2800
|
+
var n = window.getComputedStyle(e);
|
|
2801
|
+
return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !mr(e) && n[t] === "visible");
|
|
2802
|
+
}, gr = function(e) {
|
|
2803
|
+
return hr(e, "overflowY");
|
|
2804
|
+
}, _r = function(e) {
|
|
2805
|
+
return hr(e, "overflowX");
|
|
2806
|
+
}, vr = function(e, t) {
|
|
2807
|
+
var n = t.ownerDocument, r = t;
|
|
2808
|
+
do {
|
|
2809
|
+
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host), xr(e, r)) {
|
|
2810
|
+
var i = Sr(e, r);
|
|
2811
|
+
if (i[1] > i[2]) return !0;
|
|
2812
|
+
}
|
|
2813
|
+
r = r.parentNode;
|
|
2814
|
+
} while (r && r !== n.body);
|
|
2815
|
+
return !1;
|
|
2816
|
+
}, yr = function(e) {
|
|
2817
|
+
return [
|
|
2818
|
+
e.scrollTop,
|
|
2819
|
+
e.scrollHeight,
|
|
2820
|
+
e.clientHeight
|
|
2821
|
+
];
|
|
2822
|
+
}, br = function(e) {
|
|
2823
|
+
return [
|
|
2824
|
+
e.scrollLeft,
|
|
2825
|
+
e.scrollWidth,
|
|
2826
|
+
e.clientWidth
|
|
2827
|
+
];
|
|
2828
|
+
}, xr = function(e, t) {
|
|
2829
|
+
return e === "v" ? gr(t) : _r(t);
|
|
2830
|
+
}, Sr = function(e, t) {
|
|
2831
|
+
return e === "v" ? yr(t) : br(t);
|
|
2832
|
+
}, Cr = function(e, t) {
|
|
2833
|
+
return e === "h" && t === "rtl" ? -1 : 1;
|
|
2834
|
+
}, wr = function(e, t, n, r, i) {
|
|
2835
|
+
var a = Cr(e, window.getComputedStyle(t).direction), o = a * r, s = n.target, c = t.contains(s), l = !1, u = o > 0, d = 0, f = 0;
|
|
2836
|
+
do {
|
|
2837
|
+
if (!s) break;
|
|
2838
|
+
var p = Sr(e, s), m = p[0], h = p[1] - p[2] - a * m;
|
|
2839
|
+
(m || h) && xr(e, s) && (d += h, f += m);
|
|
2840
|
+
var g = s.parentNode;
|
|
2841
|
+
s = g && g.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? g.host : g;
|
|
2842
|
+
} while (!c && s !== document.body || c && (t.contains(s) || t === s));
|
|
2843
|
+
return (u && (i && Math.abs(d) < 1 || !i && o > d) || !u && (i && Math.abs(f) < 1 || !i && -o > f)) && (l = !0), l;
|
|
2844
|
+
}, Tr = function(e) {
|
|
2845
|
+
return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
|
|
2846
|
+
}, Er = function(e) {
|
|
2847
|
+
return [e.deltaX, e.deltaY];
|
|
2848
|
+
}, Dr = function(e) {
|
|
2849
|
+
return e && "current" in e ? e.current : e;
|
|
2850
|
+
}, Or = function(e, t) {
|
|
2851
|
+
return e[0] === t[0] && e[1] === t[1];
|
|
2852
|
+
}, kr = function(e) {
|
|
2853
|
+
return `
|
|
2854
|
+
.block-interactivity-${e} {pointer-events: none;}
|
|
2855
|
+
.allow-interactivity-${e} {pointer-events: all;}
|
|
2856
|
+
`;
|
|
2857
|
+
}, Ar = 0, X = [];
|
|
2858
|
+
function jr(t) {
|
|
2859
|
+
var n = e.useRef([]), r = e.useRef([0, 0]), i = e.useRef(), a = e.useState(Ar++)[0], o = e.useState(tr)[0], s = e.useRef(t);
|
|
2860
|
+
e.useEffect(function() {
|
|
2861
|
+
s.current = t;
|
|
2862
|
+
}, [t]), e.useEffect(function() {
|
|
2863
|
+
if (t.inert) {
|
|
2864
|
+
document.body.classList.add(`block-interactivity-${a}`);
|
|
2865
|
+
var e = An([t.lockRef.current], (t.shards || []).map(Dr), !0).filter(Boolean);
|
|
2866
|
+
return e.forEach(function(e) {
|
|
2867
|
+
return e.classList.add(`allow-interactivity-${a}`);
|
|
2868
|
+
}), function() {
|
|
2869
|
+
document.body.classList.remove(`block-interactivity-${a}`), e.forEach(function(e) {
|
|
2870
|
+
return e.classList.remove(`allow-interactivity-${a}`);
|
|
2871
|
+
});
|
|
2872
|
+
};
|
|
2873
|
+
}
|
|
2874
|
+
}, [
|
|
2875
|
+
t.inert,
|
|
2876
|
+
t.lockRef.current,
|
|
2877
|
+
t.shards
|
|
2878
|
+
]);
|
|
2879
|
+
var c = e.useCallback(function(e, t) {
|
|
2880
|
+
if ("touches" in e && e.touches.length === 2 || e.type === "wheel" && e.ctrlKey) return !s.current.allowPinchZoom;
|
|
2881
|
+
var n = Tr(e), a = r.current, o = "deltaX" in e ? e.deltaX : a[0] - n[0], c = "deltaY" in e ? e.deltaY : a[1] - n[1], l, u = e.target, d = Math.abs(o) > Math.abs(c) ? "h" : "v";
|
|
2882
|
+
if ("touches" in e && d === "h" && u.type === "range") return !1;
|
|
2883
|
+
var f = window.getSelection(), p = f && f.anchorNode;
|
|
2884
|
+
if (p && (p === u || p.contains(u))) return !1;
|
|
2885
|
+
var m = vr(d, u);
|
|
2886
|
+
if (!m) return !0;
|
|
2887
|
+
if (m ? l = d : (l = d === "v" ? "h" : "v", m = vr(d, u)), !m) return !1;
|
|
2888
|
+
if (!i.current && "changedTouches" in e && (o || c) && (i.current = l), !l) return !0;
|
|
2889
|
+
var h = i.current || l;
|
|
2890
|
+
return wr(h, t, e, h === "h" ? o : c, !0);
|
|
2891
|
+
}, []), l = e.useCallback(function(e) {
|
|
2892
|
+
var t = e;
|
|
2893
|
+
if (!(!X.length || X[X.length - 1] !== o)) {
|
|
2894
|
+
var r = "deltaY" in t ? Er(t) : Tr(t), i = n.current.filter(function(e) {
|
|
2895
|
+
return e.name === t.type && (e.target === t.target || t.target === e.shadowParent) && Or(e.delta, r);
|
|
2896
|
+
})[0];
|
|
2897
|
+
if (i && i.should) {
|
|
2898
|
+
t.cancelable && t.preventDefault();
|
|
2899
|
+
return;
|
|
2900
|
+
}
|
|
2901
|
+
if (!i) {
|
|
2902
|
+
var a = (s.current.shards || []).map(Dr).filter(Boolean).filter(function(e) {
|
|
2903
|
+
return e.contains(t.target);
|
|
2904
|
+
});
|
|
2905
|
+
(a.length > 0 ? c(t, a[0]) : !s.current.noIsolation) && t.cancelable && t.preventDefault();
|
|
2906
|
+
}
|
|
2907
|
+
}
|
|
2908
|
+
}, []), u = e.useCallback(function(e, t, r, i) {
|
|
2909
|
+
var a = {
|
|
2910
|
+
name: e,
|
|
2911
|
+
delta: t,
|
|
2912
|
+
target: r,
|
|
2913
|
+
should: i,
|
|
2914
|
+
shadowParent: Mr(r)
|
|
2915
|
+
};
|
|
2916
|
+
n.current.push(a), setTimeout(function() {
|
|
2917
|
+
n.current = n.current.filter(function(e) {
|
|
2918
|
+
return e !== a;
|
|
2919
|
+
});
|
|
2920
|
+
}, 1);
|
|
2921
|
+
}, []), d = e.useCallback(function(e) {
|
|
2922
|
+
r.current = Tr(e), i.current = void 0;
|
|
2923
|
+
}, []), f = e.useCallback(function(e) {
|
|
2924
|
+
u(e.type, Er(e), e.target, c(e, t.lockRef.current));
|
|
2925
|
+
}, []), p = e.useCallback(function(e) {
|
|
2926
|
+
u(e.type, Tr(e), e.target, c(e, t.lockRef.current));
|
|
2927
|
+
}, []);
|
|
2928
|
+
e.useEffect(function() {
|
|
2929
|
+
return X.push(o), t.setCallbacks({
|
|
2930
|
+
onScrollCapture: f,
|
|
2931
|
+
onWheelCapture: f,
|
|
2932
|
+
onTouchMoveCapture: p
|
|
2933
|
+
}), document.addEventListener("wheel", l, Y), document.addEventListener("touchmove", l, Y), document.addEventListener("touchstart", d, Y), function() {
|
|
2934
|
+
X = X.filter(function(e) {
|
|
2935
|
+
return e !== o;
|
|
2936
|
+
}), document.removeEventListener("wheel", l, Y), document.removeEventListener("touchmove", l, Y), document.removeEventListener("touchstart", d, Y);
|
|
2937
|
+
};
|
|
2938
|
+
}, []);
|
|
2939
|
+
var m = t.removeScrollBar, h = t.inert;
|
|
2940
|
+
return e.createElement(e.Fragment, null, h ? e.createElement(o, { styles: kr(a) }) : null, m ? e.createElement(dr, {
|
|
2941
|
+
noRelative: t.noRelative,
|
|
2942
|
+
gapMode: t.gapMode
|
|
2943
|
+
}) : null);
|
|
2944
|
+
}
|
|
2945
|
+
function Mr(e) {
|
|
2946
|
+
for (var t = null; e !== null;) e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
|
|
2947
|
+
return t;
|
|
2948
|
+
}
|
|
2949
|
+
//#endregion
|
|
2950
|
+
//#region node_modules/react-remove-scroll/dist/es2015/sidecar.js
|
|
2951
|
+
var Nr = Wn(Gn, jr), Pr = e.forwardRef(function(t, n) {
|
|
2952
|
+
return e.createElement(qn, J({}, t, {
|
|
2953
|
+
ref: n,
|
|
2954
|
+
sideCar: Nr
|
|
2955
|
+
}));
|
|
2956
|
+
});
|
|
2957
|
+
Pr.classNames = qn.classNames;
|
|
2958
|
+
//#endregion
|
|
2959
|
+
//#region node_modules/aria-hidden/dist/es2015/index.js
|
|
2960
|
+
var Fr = function(e) {
|
|
2961
|
+
return typeof document > "u" ? null : (Array.isArray(e) ? e[0] : e).ownerDocument.body;
|
|
2962
|
+
}, Ir = /* @__PURE__ */ new WeakMap(), Lr = /* @__PURE__ */ new WeakMap(), Rr = {}, zr = 0, Br = function(e) {
|
|
2963
|
+
return e && (e.host || Br(e.parentNode));
|
|
2964
|
+
}, Vr = function(e, t) {
|
|
2965
|
+
return t.map(function(t) {
|
|
2966
|
+
if (e.contains(t)) return t;
|
|
2967
|
+
var n = Br(t);
|
|
2968
|
+
return n && e.contains(n) ? n : (console.error("aria-hidden", t, "in not contained inside", e, ". Doing nothing"), null);
|
|
2969
|
+
}).filter(function(e) {
|
|
2970
|
+
return !!e;
|
|
2971
|
+
});
|
|
2972
|
+
}, Hr = function(e, t, n, r) {
|
|
2973
|
+
var i = Vr(t, Array.isArray(e) ? e : [e]);
|
|
2974
|
+
Rr[n] || (Rr[n] = /* @__PURE__ */ new WeakMap());
|
|
2975
|
+
var a = Rr[n], o = [], s = /* @__PURE__ */ new Set(), c = new Set(i), l = function(e) {
|
|
2976
|
+
!e || s.has(e) || (s.add(e), l(e.parentNode));
|
|
2977
|
+
};
|
|
2978
|
+
i.forEach(l);
|
|
2979
|
+
var u = function(e) {
|
|
2980
|
+
!e || c.has(e) || Array.prototype.forEach.call(e.children, function(e) {
|
|
2981
|
+
if (s.has(e)) u(e);
|
|
2982
|
+
else try {
|
|
2983
|
+
var t = e.getAttribute(r), i = t !== null && t !== "false", c = (Ir.get(e) || 0) + 1, l = (a.get(e) || 0) + 1;
|
|
2984
|
+
Ir.set(e, c), a.set(e, l), o.push(e), c === 1 && i && Lr.set(e, !0), l === 1 && e.setAttribute(n, "true"), i || e.setAttribute(r, "true");
|
|
2985
|
+
} catch (t) {
|
|
2986
|
+
console.error("aria-hidden: cannot operate on ", e, t);
|
|
2987
|
+
}
|
|
2988
|
+
});
|
|
2989
|
+
};
|
|
2990
|
+
return u(t), s.clear(), zr++, function() {
|
|
2991
|
+
o.forEach(function(e) {
|
|
2992
|
+
var t = Ir.get(e) - 1, i = a.get(e) - 1;
|
|
2993
|
+
Ir.set(e, t), a.set(e, i), t || (Lr.has(e) || e.removeAttribute(r), Lr.delete(e)), i || e.removeAttribute(n);
|
|
2994
|
+
}), zr--, zr || (Ir = /* @__PURE__ */ new WeakMap(), Ir = /* @__PURE__ */ new WeakMap(), Lr = /* @__PURE__ */ new WeakMap(), Rr = {});
|
|
2995
|
+
};
|
|
2996
|
+
}, Ur = function(e, t, n) {
|
|
2997
|
+
n === void 0 && (n = "data-aria-hidden");
|
|
2998
|
+
var r = Array.from(Array.isArray(e) ? e : [e]), i = t || Fr(e);
|
|
2999
|
+
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))), Hr(r, i, n, "aria-hidden")) : function() {
|
|
3000
|
+
return null;
|
|
3001
|
+
};
|
|
3002
|
+
};
|
|
3003
|
+
//#endregion
|
|
3004
|
+
//#region node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
3005
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
3006
|
+
function Wr(t) {
|
|
3007
|
+
let n = /* @__PURE__ */ Gr(t), r = e.forwardRef((t, r) => {
|
|
3008
|
+
let { children: i, ...a } = t, o = e.Children.toArray(i), s = o.find(qr);
|
|
3009
|
+
if (s) {
|
|
3010
|
+
let t = s.props.children, i = o.map((n) => n === s ? e.Children.count(t) > 1 ? e.Children.only(null) : e.isValidElement(t) ? t.props.children : null : n);
|
|
3011
|
+
return /* @__PURE__ */ u(n, {
|
|
3012
|
+
...a,
|
|
3013
|
+
ref: r,
|
|
3014
|
+
children: e.isValidElement(t) ? e.cloneElement(t, void 0, i) : null
|
|
3015
|
+
});
|
|
3016
|
+
}
|
|
3017
|
+
return /* @__PURE__ */ u(n, {
|
|
3018
|
+
...a,
|
|
3019
|
+
ref: r,
|
|
3020
|
+
children: i
|
|
3021
|
+
});
|
|
3022
|
+
});
|
|
3023
|
+
return r.displayName = `${t}.Slot`, r;
|
|
3024
|
+
}
|
|
3025
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
3026
|
+
function Gr(t) {
|
|
3027
|
+
let n = e.forwardRef((t, n) => {
|
|
3028
|
+
let { children: r, ...i } = t;
|
|
3029
|
+
if (e.isValidElement(r)) {
|
|
3030
|
+
let t = Yr(r), a = Jr(i, r.props);
|
|
3031
|
+
return r.type !== e.Fragment && (a.ref = n ? h(n, t) : t), e.cloneElement(r, a);
|
|
3032
|
+
}
|
|
3033
|
+
return e.Children.count(r) > 1 ? e.Children.only(null) : null;
|
|
3034
|
+
});
|
|
3035
|
+
return n.displayName = `${t}.SlotClone`, n;
|
|
3036
|
+
}
|
|
3037
|
+
var Kr = Symbol("radix.slottable");
|
|
3038
|
+
function qr(t) {
|
|
3039
|
+
return e.isValidElement(t) && typeof t.type == "function" && "__radixId" in t.type && t.type.__radixId === Kr;
|
|
3040
|
+
}
|
|
3041
|
+
function Jr(e, t) {
|
|
3042
|
+
let n = { ...t };
|
|
3043
|
+
for (let r in t) {
|
|
3044
|
+
let i = e[r], a = t[r];
|
|
3045
|
+
/^on[A-Z]/.test(r) ? i && a ? n[r] = (...e) => {
|
|
3046
|
+
let t = a(...e);
|
|
3047
|
+
return i(...e), t;
|
|
3048
|
+
} : i && (n[r] = i) : r === "style" ? n[r] = {
|
|
3049
|
+
...i,
|
|
3050
|
+
...a
|
|
3051
|
+
} : r === "className" && (n[r] = [i, a].filter(Boolean).join(" "));
|
|
3052
|
+
}
|
|
3053
|
+
return {
|
|
3054
|
+
...e,
|
|
3055
|
+
...n
|
|
3056
|
+
};
|
|
3057
|
+
}
|
|
3058
|
+
function Yr(e) {
|
|
3059
|
+
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
3060
|
+
return n ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
3061
|
+
}
|
|
3062
|
+
//#endregion
|
|
3063
|
+
//#region node_modules/@radix-ui/react-dialog/dist/index.mjs
|
|
3064
|
+
var Xr = "Dialog", [Zr, Qr] = Tt(Xr), [$r, Z] = Zr(Xr), ei = (t) => {
|
|
3065
|
+
let { __scopeDialog: n, children: r, open: i, defaultOpen: a, onOpenChange: o, modal: s = !0 } = t, c = e.useRef(null), l = e.useRef(null), [d, f] = Mt({
|
|
3066
|
+
prop: i,
|
|
3067
|
+
defaultProp: a ?? !1,
|
|
3068
|
+
onChange: o,
|
|
3069
|
+
caller: Xr
|
|
3070
|
+
});
|
|
3071
|
+
return /* @__PURE__ */ u($r, {
|
|
3072
|
+
scope: n,
|
|
3073
|
+
triggerRef: c,
|
|
3074
|
+
contentRef: l,
|
|
3075
|
+
contentId: At(),
|
|
3076
|
+
titleId: At(),
|
|
3077
|
+
descriptionId: At(),
|
|
3078
|
+
open: d,
|
|
3079
|
+
onOpenChange: f,
|
|
3080
|
+
onOpenToggle: e.useCallback(() => f((e) => !e), [f]),
|
|
3081
|
+
modal: s,
|
|
3082
|
+
children: r
|
|
3083
|
+
});
|
|
3084
|
+
};
|
|
3085
|
+
ei.displayName = Xr;
|
|
3086
|
+
var ti = "DialogTrigger", ni = e.forwardRef((e, t) => {
|
|
3087
|
+
let { __scopeDialog: n, ...r } = e, i = Z(ti, n), a = g(t, i.triggerRef);
|
|
3088
|
+
return /* @__PURE__ */ u(K.button, {
|
|
3089
|
+
type: "button",
|
|
3090
|
+
"aria-haspopup": "dialog",
|
|
3091
|
+
"aria-expanded": i.open,
|
|
3092
|
+
"aria-controls": i.contentId,
|
|
3093
|
+
"data-state": xi(i.open),
|
|
3094
|
+
...r,
|
|
3095
|
+
ref: a,
|
|
3096
|
+
onClick: G(e.onClick, i.onOpenToggle)
|
|
3097
|
+
});
|
|
3098
|
+
});
|
|
3099
|
+
ni.displayName = ti;
|
|
3100
|
+
var ri = "DialogPortal", [ii, ai] = Zr(ri, { forceMount: void 0 }), oi = (t) => {
|
|
3101
|
+
let { __scopeDialog: n, forceMount: r, children: i, container: a } = t, o = Z(ri, n);
|
|
3102
|
+
return /* @__PURE__ */ u(ii, {
|
|
3103
|
+
scope: n,
|
|
3104
|
+
forceMount: r,
|
|
3105
|
+
children: e.Children.map(i, (e) => /* @__PURE__ */ u(Sn, {
|
|
3106
|
+
present: r || o.open,
|
|
3107
|
+
children: /* @__PURE__ */ u(bn, {
|
|
3108
|
+
asChild: !0,
|
|
3109
|
+
container: a,
|
|
3110
|
+
children: e
|
|
3111
|
+
})
|
|
3112
|
+
}))
|
|
3113
|
+
});
|
|
3114
|
+
};
|
|
3115
|
+
oi.displayName = ri;
|
|
3116
|
+
var si = "DialogOverlay", ci = e.forwardRef((e, t) => {
|
|
3117
|
+
let n = ai(si, e.__scopeDialog), { forceMount: r = n.forceMount, ...i } = e, a = Z(si, e.__scopeDialog);
|
|
3118
|
+
return a.modal ? /* @__PURE__ */ u(Sn, {
|
|
3119
|
+
present: r || a.open,
|
|
3120
|
+
children: /* @__PURE__ */ u(ui, {
|
|
3121
|
+
...i,
|
|
3122
|
+
ref: t
|
|
3123
|
+
})
|
|
3124
|
+
}) : null;
|
|
3125
|
+
});
|
|
3126
|
+
ci.displayName = si;
|
|
3127
|
+
var li = /* @__PURE__ */ Wr("DialogOverlay.RemoveScroll"), ui = e.forwardRef((e, t) => {
|
|
3128
|
+
let { __scopeDialog: n, ...r } = e, i = Z(si, n);
|
|
3129
|
+
return /* @__PURE__ */ u(Pr, {
|
|
3130
|
+
as: li,
|
|
3131
|
+
allowPinchZoom: !0,
|
|
3132
|
+
shards: [i.contentRef],
|
|
3133
|
+
children: /* @__PURE__ */ u(K.div, {
|
|
3134
|
+
"data-state": xi(i.open),
|
|
3135
|
+
...r,
|
|
3136
|
+
ref: t,
|
|
3137
|
+
style: {
|
|
3138
|
+
pointerEvents: "auto",
|
|
3139
|
+
...r.style
|
|
3140
|
+
}
|
|
3141
|
+
})
|
|
3142
|
+
});
|
|
3143
|
+
}), Q = "DialogContent", di = e.forwardRef((e, t) => {
|
|
3144
|
+
let n = ai(Q, e.__scopeDialog), { forceMount: r = n.forceMount, ...i } = e, a = Z(Q, e.__scopeDialog);
|
|
3145
|
+
return /* @__PURE__ */ u(Sn, {
|
|
3146
|
+
present: r || a.open,
|
|
3147
|
+
children: a.modal ? /* @__PURE__ */ u(fi, {
|
|
3148
|
+
...i,
|
|
3149
|
+
ref: t
|
|
3150
|
+
}) : /* @__PURE__ */ u(pi, {
|
|
3151
|
+
...i,
|
|
3152
|
+
ref: t
|
|
3153
|
+
})
|
|
3154
|
+
});
|
|
3155
|
+
});
|
|
3156
|
+
di.displayName = Q;
|
|
3157
|
+
var fi = e.forwardRef((t, n) => {
|
|
3158
|
+
let r = Z(Q, t.__scopeDialog), i = e.useRef(null), a = g(n, r.contentRef, i);
|
|
3159
|
+
return e.useEffect(() => {
|
|
3160
|
+
let e = i.current;
|
|
3161
|
+
if (e) return Ur(e);
|
|
3162
|
+
}, []), /* @__PURE__ */ u(mi, {
|
|
3163
|
+
...t,
|
|
3164
|
+
ref: a,
|
|
3165
|
+
trapFocus: r.open,
|
|
3166
|
+
disableOutsidePointerEvents: !0,
|
|
3167
|
+
onCloseAutoFocus: G(t.onCloseAutoFocus, (e) => {
|
|
3168
|
+
e.preventDefault(), r.triggerRef.current?.focus();
|
|
3169
|
+
}),
|
|
3170
|
+
onPointerDownOutside: G(t.onPointerDownOutside, (e) => {
|
|
3171
|
+
let t = e.detail.originalEvent, n = t.button === 0 && t.ctrlKey === !0;
|
|
3172
|
+
(t.button === 2 || n) && e.preventDefault();
|
|
3173
|
+
}),
|
|
3174
|
+
onFocusOutside: G(t.onFocusOutside, (e) => e.preventDefault())
|
|
3175
|
+
});
|
|
3176
|
+
}), pi = e.forwardRef((t, n) => {
|
|
3177
|
+
let r = Z(Q, t.__scopeDialog), i = e.useRef(!1), a = e.useRef(!1);
|
|
3178
|
+
return /* @__PURE__ */ u(mi, {
|
|
3179
|
+
...t,
|
|
3180
|
+
ref: n,
|
|
3181
|
+
trapFocus: !1,
|
|
3182
|
+
disableOutsidePointerEvents: !1,
|
|
3183
|
+
onCloseAutoFocus: (e) => {
|
|
3184
|
+
t.onCloseAutoFocus?.(e), e.defaultPrevented || (i.current || r.triggerRef.current?.focus(), e.preventDefault()), i.current = !1, a.current = !1;
|
|
3185
|
+
},
|
|
3186
|
+
onInteractOutside: (e) => {
|
|
3187
|
+
t.onInteractOutside?.(e), e.defaultPrevented || (i.current = !0, e.detail.originalEvent.type === "pointerdown" && (a.current = !0));
|
|
3188
|
+
let n = e.target;
|
|
3189
|
+
r.triggerRef.current?.contains(n) && e.preventDefault(), e.detail.originalEvent.type === "focusin" && a.current && e.preventDefault();
|
|
3190
|
+
}
|
|
3191
|
+
});
|
|
3192
|
+
}), mi = e.forwardRef((t, n) => {
|
|
3193
|
+
let { __scopeDialog: r, trapFocus: i, onOpenAutoFocus: a, onCloseAutoFocus: o, ...s } = t, c = Z(Q, r), f = e.useRef(null), p = g(n, f);
|
|
3194
|
+
return Dn(), /* @__PURE__ */ d(l, { children: [/* @__PURE__ */ u(cn, {
|
|
3195
|
+
asChild: !0,
|
|
3196
|
+
loop: !0,
|
|
3197
|
+
trapped: i,
|
|
3198
|
+
onMountAutoFocus: a,
|
|
3199
|
+
onUnmountAutoFocus: o,
|
|
3200
|
+
children: /* @__PURE__ */ u(Xt, {
|
|
3201
|
+
role: "dialog",
|
|
3202
|
+
id: c.contentId,
|
|
3203
|
+
"aria-describedby": c.descriptionId,
|
|
3204
|
+
"aria-labelledby": c.titleId,
|
|
3205
|
+
"data-state": xi(c.open),
|
|
3206
|
+
...s,
|
|
3207
|
+
ref: p,
|
|
3208
|
+
onDismiss: () => c.onOpenChange(!1)
|
|
3209
|
+
})
|
|
3210
|
+
}), /* @__PURE__ */ d(l, { children: [/* @__PURE__ */ u(Ti, { titleId: c.titleId }), /* @__PURE__ */ u(Di, {
|
|
3211
|
+
contentRef: f,
|
|
3212
|
+
descriptionId: c.descriptionId
|
|
3213
|
+
})] })] });
|
|
3214
|
+
}), hi = "DialogTitle", gi = e.forwardRef((e, t) => {
|
|
3215
|
+
let { __scopeDialog: n, ...r } = e, i = Z(hi, n);
|
|
3216
|
+
return /* @__PURE__ */ u(K.h2, {
|
|
3217
|
+
id: i.titleId,
|
|
3218
|
+
...r,
|
|
3219
|
+
ref: t
|
|
3220
|
+
});
|
|
3221
|
+
});
|
|
3222
|
+
gi.displayName = hi;
|
|
3223
|
+
var _i = "DialogDescription", vi = e.forwardRef((e, t) => {
|
|
3224
|
+
let { __scopeDialog: n, ...r } = e, i = Z(_i, n);
|
|
3225
|
+
return /* @__PURE__ */ u(K.p, {
|
|
3226
|
+
id: i.descriptionId,
|
|
3227
|
+
...r,
|
|
3228
|
+
ref: t
|
|
3229
|
+
});
|
|
3230
|
+
});
|
|
3231
|
+
vi.displayName = _i;
|
|
3232
|
+
var yi = "DialogClose", bi = e.forwardRef((e, t) => {
|
|
3233
|
+
let { __scopeDialog: n, ...r } = e, i = Z(yi, n);
|
|
3234
|
+
return /* @__PURE__ */ u(K.button, {
|
|
3235
|
+
type: "button",
|
|
3236
|
+
...r,
|
|
3237
|
+
ref: t,
|
|
3238
|
+
onClick: G(e.onClick, () => i.onOpenChange(!1))
|
|
3239
|
+
});
|
|
3240
|
+
});
|
|
3241
|
+
bi.displayName = yi;
|
|
3242
|
+
function xi(e) {
|
|
3243
|
+
return e ? "open" : "closed";
|
|
3244
|
+
}
|
|
3245
|
+
var Si = "DialogTitleWarning", [Ci, wi] = wt(Si, {
|
|
3246
|
+
contentName: Q,
|
|
3247
|
+
titleName: hi,
|
|
3248
|
+
docsSlug: "dialog"
|
|
3249
|
+
}), Ti = ({ titleId: t }) => {
|
|
3250
|
+
let n = wi(Si), r = `\`${n.contentName}\` requires a \`${n.titleName}\` for the component to be accessible for screen reader users.
|
|
3251
|
+
|
|
3252
|
+
If you want to hide the \`${n.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
3253
|
+
|
|
3254
|
+
For more information, see https://radix-ui.com/primitives/docs/components/${n.docsSlug}`;
|
|
3255
|
+
return e.useEffect(() => {
|
|
3256
|
+
t && (document.getElementById(t) || console.error(r));
|
|
3257
|
+
}, [r, t]), null;
|
|
3258
|
+
}, Ei = "DialogDescriptionWarning", Di = ({ contentRef: t, descriptionId: n }) => {
|
|
3259
|
+
let r = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${wi(Ei).contentName}}.`;
|
|
3260
|
+
return e.useEffect(() => {
|
|
3261
|
+
let e = t.current?.getAttribute("aria-describedby");
|
|
3262
|
+
n && e && (document.getElementById(n) || console.warn(r));
|
|
3263
|
+
}, [
|
|
3264
|
+
r,
|
|
3265
|
+
t,
|
|
3266
|
+
n
|
|
3267
|
+
]), null;
|
|
3268
|
+
}, Oi = ei, ki = ni, Ai = oi, ji = ci, Mi = di, Ni = gi, Pi = vi, Fi = bi, Ii = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim(), Li = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), Ri = (e) => e.replace(/^([A-Z])|[\s-_]+(\w)/g, (e, t, n) => n ? n.toUpperCase() : t.toLowerCase()), zi = (e) => {
|
|
3269
|
+
let t = Ri(e);
|
|
3270
|
+
return t.charAt(0).toUpperCase() + t.slice(1);
|
|
3271
|
+
}, Bi = {
|
|
3272
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3273
|
+
width: 24,
|
|
3274
|
+
height: 24,
|
|
3275
|
+
viewBox: "0 0 24 24",
|
|
3276
|
+
fill: "none",
|
|
3277
|
+
stroke: "currentColor",
|
|
3278
|
+
strokeWidth: 2,
|
|
3279
|
+
strokeLinecap: "round",
|
|
3280
|
+
strokeLinejoin: "round"
|
|
3281
|
+
}, Vi = (e) => {
|
|
3282
|
+
for (let t in e) if (t.startsWith("aria-") || t === "role" || t === "title") return !0;
|
|
3283
|
+
return !1;
|
|
3284
|
+
}, Hi = n({}), Ui = () => o(Hi), Wi = i(({ color: e, size: t, strokeWidth: n, absoluteStrokeWidth: i, className: a = "", children: o, iconNode: s, ...c }, l) => {
|
|
3285
|
+
let { size: u = 24, strokeWidth: d = 2, absoluteStrokeWidth: f = !1, color: p = "currentColor", className: m = "" } = Ui() ?? {}, h = i ?? f ? Number(n ?? d) * 24 / Number(t ?? u) : n ?? d;
|
|
3286
|
+
return r("svg", {
|
|
3287
|
+
ref: l,
|
|
3288
|
+
...Bi,
|
|
3289
|
+
width: t ?? u ?? Bi.width,
|
|
3290
|
+
height: t ?? u ?? Bi.height,
|
|
3291
|
+
stroke: e ?? p,
|
|
3292
|
+
strokeWidth: h,
|
|
3293
|
+
className: Ii("lucide", m, a),
|
|
3294
|
+
...!o && !Vi(c) && { "aria-hidden": "true" },
|
|
3295
|
+
...c
|
|
3296
|
+
}, [...s.map(([e, t]) => r(e, t)), ...Array.isArray(o) ? o : [o]]);
|
|
3297
|
+
}), Gi = (e, t) => {
|
|
3298
|
+
let n = i(({ className: n, ...i }, a) => r(Wi, {
|
|
3299
|
+
ref: a,
|
|
3300
|
+
iconNode: t,
|
|
3301
|
+
className: Ii(`lucide-${Li(zi(e))}`, `lucide-${e}`, n),
|
|
3302
|
+
...i
|
|
3303
|
+
}));
|
|
3304
|
+
return n.displayName = zi(e), n;
|
|
3305
|
+
}, Ki = Gi("lock", [["rect", {
|
|
3306
|
+
width: "18",
|
|
3307
|
+
height: "11",
|
|
3308
|
+
x: "3",
|
|
3309
|
+
y: "11",
|
|
3310
|
+
rx: "2",
|
|
3311
|
+
ry: "2",
|
|
3312
|
+
key: "1w4ew1"
|
|
3313
|
+
}], ["path", {
|
|
3314
|
+
d: "M7 11V7a5 5 0 0 1 10 0v4",
|
|
3315
|
+
key: "fwvmzm"
|
|
3316
|
+
}]]), qi = Gi("log-out", [
|
|
3317
|
+
["path", {
|
|
3318
|
+
d: "m16 17 5-5-5-5",
|
|
3319
|
+
key: "1bji2h"
|
|
3320
|
+
}],
|
|
3321
|
+
["path", {
|
|
3322
|
+
d: "M21 12H9",
|
|
3323
|
+
key: "dn1m92"
|
|
3324
|
+
}],
|
|
3325
|
+
["path", {
|
|
3326
|
+
d: "M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",
|
|
3327
|
+
key: "1uf3rs"
|
|
3328
|
+
}]
|
|
3329
|
+
]), Ji = Gi("menu", [
|
|
3330
|
+
["path", {
|
|
3331
|
+
d: "M4 5h16",
|
|
3332
|
+
key: "1tepv9"
|
|
3333
|
+
}],
|
|
3334
|
+
["path", {
|
|
3335
|
+
d: "M4 12h16",
|
|
3336
|
+
key: "1lakjw"
|
|
3337
|
+
}],
|
|
3338
|
+
["path", {
|
|
3339
|
+
d: "M4 19h16",
|
|
3340
|
+
key: "1djgab"
|
|
3341
|
+
}]
|
|
3342
|
+
]), Yi = Gi("x", [["path", {
|
|
3343
|
+
d: "M18 6 6 18",
|
|
3344
|
+
key: "1bl5f8"
|
|
3345
|
+
}], ["path", {
|
|
3346
|
+
d: "m6 6 12 12",
|
|
3347
|
+
key: "d8bk6v"
|
|
3348
|
+
}]]), Xi = Oi, Zi = ki, Qi = Ai, $i = Fi, ea = i(({ className: e, ...t }, n) => /* @__PURE__ */ u(ji, {
|
|
3349
|
+
ref: n,
|
|
3350
|
+
className: U("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0", e),
|
|
3351
|
+
...t
|
|
3352
|
+
}));
|
|
3353
|
+
ea.displayName = ji.displayName;
|
|
3354
|
+
var ta = i(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ d(Qi, { children: [/* @__PURE__ */ u(ea, {}), /* @__PURE__ */ d(Mi, {
|
|
3355
|
+
ref: r,
|
|
3356
|
+
className: U("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg", e),
|
|
3357
|
+
...n,
|
|
3358
|
+
children: [t, /* @__PURE__ */ d(Fi, {
|
|
3359
|
+
className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",
|
|
3360
|
+
children: [/* @__PURE__ */ u(Yi, { className: "h-4 w-4" }), /* @__PURE__ */ u("span", {
|
|
3361
|
+
className: "sr-only",
|
|
3362
|
+
children: "Close"
|
|
3363
|
+
})]
|
|
3364
|
+
})]
|
|
3365
|
+
})] }));
|
|
3366
|
+
ta.displayName = Mi.displayName;
|
|
3367
|
+
var na = ({ className: e, ...t }) => /* @__PURE__ */ u("div", {
|
|
3368
|
+
className: U("flex flex-col space-y-1.5 text-center sm:text-left", e),
|
|
3369
|
+
...t
|
|
3370
|
+
});
|
|
3371
|
+
na.displayName = "DialogHeader";
|
|
3372
|
+
var ra = ({ className: e, ...t }) => /* @__PURE__ */ u("div", {
|
|
3373
|
+
className: U("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e),
|
|
3374
|
+
...t
|
|
3375
|
+
});
|
|
3376
|
+
ra.displayName = "DialogFooter";
|
|
3377
|
+
var ia = i(({ className: e, ...t }, n) => /* @__PURE__ */ u(Ni, {
|
|
3378
|
+
ref: n,
|
|
3379
|
+
className: U("text-lg font-semibold leading-none tracking-tight", e),
|
|
3380
|
+
...t
|
|
3381
|
+
}));
|
|
3382
|
+
ia.displayName = Ni.displayName;
|
|
3383
|
+
var aa = i(({ className: e, ...t }, n) => /* @__PURE__ */ u(Pi, {
|
|
3384
|
+
ref: n,
|
|
3385
|
+
className: U("text-sm text-muted-foreground", e),
|
|
3386
|
+
...t
|
|
3387
|
+
}));
|
|
3388
|
+
aa.displayName = Pi.displayName;
|
|
3389
|
+
//#endregion
|
|
3390
|
+
//#region src/components/ui/link.tsx
|
|
3391
|
+
var oa = ({ link: e, className: t, noBaseClass: n = !1, children: r }) => /* @__PURE__ */ u(l, { children: e.is_external_link ? /* @__PURE__ */ u("a", {
|
|
3392
|
+
href: e.url,
|
|
3393
|
+
target: "_blank",
|
|
3394
|
+
rel: "noopener noreferrer",
|
|
3395
|
+
className: n ? t : U("vi-link", t),
|
|
3396
|
+
title: e.text,
|
|
3397
|
+
children: r ?? e.text
|
|
3398
|
+
}) : /* @__PURE__ */ u("a", {
|
|
3399
|
+
href: e.url,
|
|
3400
|
+
className: n ? t : U("vi-link", t),
|
|
3401
|
+
title: e.text,
|
|
3402
|
+
children: r ?? e.text
|
|
3403
|
+
}) }), sa = ({ content: e }) => {
|
|
3404
|
+
let [t, n] = c(!1);
|
|
3405
|
+
return /* @__PURE__ */ d("header", {
|
|
3406
|
+
className: "vi-header",
|
|
3407
|
+
children: [/* @__PURE__ */ d("div", {
|
|
3408
|
+
className: "vi-header-desktop",
|
|
3409
|
+
children: [
|
|
3410
|
+
/* @__PURE__ */ u("div", {
|
|
3411
|
+
className: "vi-header-logo-wrapper",
|
|
3412
|
+
children: /* @__PURE__ */ d(oa, {
|
|
3413
|
+
link: e.logo_link,
|
|
3414
|
+
className: "vi-header-logo-link group",
|
|
3415
|
+
noBaseClass: !0,
|
|
3416
|
+
children: [/* @__PURE__ */ u("div", {
|
|
3417
|
+
className: "vi-header-logo-icon-wrapper group-hover:shadow-lg",
|
|
3418
|
+
children: /* @__PURE__ */ u(Ki, { className: "vi-header-logo-icon" })
|
|
3419
|
+
}), /* @__PURE__ */ u("span", {
|
|
3420
|
+
className: "vi-header-logo-text",
|
|
3421
|
+
children: e.logo_link.text
|
|
3422
|
+
})]
|
|
3423
|
+
})
|
|
3424
|
+
}),
|
|
3425
|
+
e.nav_items && /* @__PURE__ */ u("nav", {
|
|
3426
|
+
className: "hidden md:flex items-center gap-1",
|
|
3427
|
+
children: e.nav_items.map((e, t) => /* @__PURE__ */ u(oa, {
|
|
3428
|
+
className: "px-4 py-2 rounded-lg text-sm font-medium text-gray-700 dark:text-gray-300 hover:text-[#BB3E00] dark:hover:text-[#F7AD45] hover:bg-gray-100 dark:hover:bg-gray-900 transition-colors",
|
|
3429
|
+
link: e,
|
|
3430
|
+
noBaseClass: !0
|
|
3431
|
+
}, `nav-link-${t}`))
|
|
3432
|
+
}),
|
|
3433
|
+
/* @__PURE__ */ u("div", {
|
|
3434
|
+
className: "hidden md:flex items-center gap-3",
|
|
3435
|
+
children: /* @__PURE__ */ u(W, {
|
|
3436
|
+
asChild: !0,
|
|
3437
|
+
className: "bg-gradient-to-r from-[#F7AD45] to-[#BB3E00] hover:from-[#F7AD45]/90 hover:to-[#BB3E00]/90 text-white shadow-lg shadow-orange-500/20 border-0",
|
|
3438
|
+
children: /* @__PURE__ */ u(oa, {
|
|
3439
|
+
link: e.login_link,
|
|
3440
|
+
noBaseClass: !0
|
|
3441
|
+
})
|
|
3442
|
+
})
|
|
3443
|
+
}),
|
|
3444
|
+
/* @__PURE__ */ u("button", {
|
|
3445
|
+
className: "md:hidden p-2 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-900 transition-colors",
|
|
3446
|
+
onClick: () => n(!t),
|
|
3447
|
+
"aria-label": "Toggle menu",
|
|
3448
|
+
children: u(t ? Yi : Ji, {
|
|
3449
|
+
size: 24,
|
|
3450
|
+
className: "text-gray-700 dark:text-gray-300"
|
|
3451
|
+
})
|
|
3452
|
+
})
|
|
3453
|
+
]
|
|
3454
|
+
}), /* @__PURE__ */ u("div", {
|
|
3455
|
+
className: U("md:hidden border-t bg-white/95 dark:bg-gray-950/95 backdrop-blur-md overflow-hidden transition-all duration-300 ease-in-out", t ? "max-h-96 opacity-100" : "max-h-0 opacity-0"),
|
|
3456
|
+
children: /* @__PURE__ */ d("nav", {
|
|
3457
|
+
className: "flex flex-col px-6 py-4 gap-2",
|
|
3458
|
+
children: [e.nav_items && e.nav_items.map((e, t) => /* @__PURE__ */ u(oa, {
|
|
3459
|
+
className: "px-4 py-2 rounded-lg text-sm font-medium text-gray-700 dark:text-gray-300 hover:text-[#BB3E00] dark:hover:text-[#F7AD45] hover:bg-gray-100 dark:hover:bg-gray-900 transition-colors",
|
|
3460
|
+
link: e,
|
|
3461
|
+
noBaseClass: !0
|
|
3462
|
+
}, `nav-link-${t}`)), /* @__PURE__ */ u("div", {
|
|
3463
|
+
className: "flex flex-col gap-2 mt-4 pt-4 border-t",
|
|
3464
|
+
children: /* @__PURE__ */ u(W, {
|
|
3465
|
+
className: "w-full bg-gradient-to-r from-[#F7AD45] to-[#BB3E00] hover:from-[#F7AD45]/90 hover:to-[#BB3E00]/90 text-white shadow-lg shadow-orange-500/20 border-0",
|
|
3466
|
+
children: /* @__PURE__ */ u(oa, {
|
|
3467
|
+
link: e.login_link,
|
|
3468
|
+
noBaseClass: !0
|
|
3469
|
+
})
|
|
3470
|
+
})
|
|
3471
|
+
})]
|
|
3472
|
+
})
|
|
3473
|
+
})]
|
|
3474
|
+
});
|
|
3475
|
+
}, ca = [
|
|
3476
|
+
"a",
|
|
3477
|
+
"button",
|
|
3478
|
+
"div",
|
|
3479
|
+
"form",
|
|
3480
|
+
"h2",
|
|
3481
|
+
"h3",
|
|
3482
|
+
"img",
|
|
3483
|
+
"input",
|
|
3484
|
+
"label",
|
|
3485
|
+
"li",
|
|
3486
|
+
"nav",
|
|
3487
|
+
"ol",
|
|
3488
|
+
"p",
|
|
3489
|
+
"select",
|
|
3490
|
+
"span",
|
|
3491
|
+
"svg",
|
|
3492
|
+
"ul"
|
|
3493
|
+
].reduce((t, n) => {
|
|
3494
|
+
let r = /* @__PURE__ */ x(`Primitive.${n}`), i = e.forwardRef((e, t) => {
|
|
3495
|
+
let { asChild: i, ...a } = e, o = i ? r : n;
|
|
3496
|
+
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ u(o, {
|
|
3497
|
+
...a,
|
|
3498
|
+
ref: t
|
|
3499
|
+
});
|
|
3500
|
+
});
|
|
3501
|
+
return i.displayName = `Primitive.${n}`, {
|
|
3502
|
+
...t,
|
|
3503
|
+
[n]: i
|
|
3504
|
+
};
|
|
3505
|
+
}, {}), la = "Label", ua = e.forwardRef((e, t) => /* @__PURE__ */ u(ca.label, {
|
|
3506
|
+
...e,
|
|
3507
|
+
ref: t,
|
|
3508
|
+
onMouseDown: (t) => {
|
|
3509
|
+
t.target.closest("button, input, select, textarea") || (e.onMouseDown?.(t), !t.defaultPrevented && t.detail > 1 && t.preventDefault());
|
|
3510
|
+
}
|
|
3511
|
+
}));
|
|
3512
|
+
ua.displayName = la;
|
|
3513
|
+
var da = ua, fa = D("text-sm font-normal font-rubik leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"), pa = t.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(da, {
|
|
3514
|
+
ref: n,
|
|
3515
|
+
className: U(fa(), e),
|
|
3516
|
+
...t
|
|
3517
|
+
}));
|
|
3518
|
+
pa.displayName = da.displayName;
|
|
3519
|
+
//#endregion
|
|
3520
|
+
//#region src/components/ui/input.tsx
|
|
3521
|
+
var ma = i(({ className: e, type: t, label: n, description: r, validate: i, onValueChange: a, ...o }, s) => {
|
|
3522
|
+
let [l, f] = c(null);
|
|
3523
|
+
return /* @__PURE__ */ d("div", {
|
|
3524
|
+
className: "flex flex-col gap-1 w-full",
|
|
3525
|
+
children: [
|
|
3526
|
+
n && /* @__PURE__ */ u(pa, { children: n }),
|
|
3527
|
+
/* @__PURE__ */ u("input", {
|
|
3528
|
+
ref: s,
|
|
3529
|
+
type: t,
|
|
3530
|
+
className: U("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 font-rubik text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm", l && "border-red-500 focus-visible:ring-red-500", e),
|
|
3531
|
+
onChange: (e) => {
|
|
3532
|
+
a && a(e.target.value), i && f(i(e.target.value)), o.onChange?.(e);
|
|
3533
|
+
},
|
|
3534
|
+
...o
|
|
3535
|
+
}),
|
|
3536
|
+
r && /* @__PURE__ */ u("p", {
|
|
3537
|
+
className: "text-xs text-muted-foreground",
|
|
3538
|
+
children: r
|
|
3539
|
+
}),
|
|
3540
|
+
l && /* @__PURE__ */ u("p", {
|
|
3541
|
+
className: "text-xs text-red-500 font-medium",
|
|
3542
|
+
children: l
|
|
3543
|
+
})
|
|
3544
|
+
]
|
|
3545
|
+
});
|
|
3546
|
+
});
|
|
3547
|
+
ma.displayName = "Input";
|
|
3548
|
+
//#endregion
|
|
3549
|
+
//#region src/components/ui/loading.tsx
|
|
3550
|
+
var ha = ({ text: e = "Loading...", className: t, ...n }) => /* @__PURE__ */ d("div", {
|
|
3551
|
+
className: U("flex flex-row items-center justify-center gap-3 p-4 text-muted-foreground", t),
|
|
3552
|
+
...n,
|
|
3553
|
+
children: [/* @__PURE__ */ d("svg", {
|
|
3554
|
+
className: "h-6 w-6 animate-spin text-muted-foreground",
|
|
3555
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3556
|
+
fill: "none",
|
|
3557
|
+
viewBox: "0 0 24 24",
|
|
3558
|
+
"aria-hidden": "true",
|
|
3559
|
+
children: [/* @__PURE__ */ u("circle", {
|
|
3560
|
+
className: "opacity-25",
|
|
3561
|
+
cx: "12",
|
|
3562
|
+
cy: "12",
|
|
3563
|
+
r: "10",
|
|
3564
|
+
stroke: "currentColor",
|
|
3565
|
+
strokeWidth: "4"
|
|
3566
|
+
}), /* @__PURE__ */ u("path", {
|
|
3567
|
+
className: "opacity-75",
|
|
3568
|
+
fill: "currentColor",
|
|
3569
|
+
d: "M4 12a8 8 0 018-8v4a4 4 0 00-4 4H4z"
|
|
3570
|
+
})]
|
|
3571
|
+
}), /* @__PURE__ */ u("p", {
|
|
3572
|
+
className: "text-sm text-muted-foreground",
|
|
3573
|
+
children: e
|
|
3574
|
+
})]
|
|
3575
|
+
});
|
|
3576
|
+
ha.displayName = "Loading";
|
|
3577
|
+
//#endregion
|
|
3578
|
+
//#region src/components/ui/modal.tsx
|
|
3579
|
+
var ga = ({ open: e, onOpenChange: t, trigger: n, title: r, description: i, children: a, footer: o }) => /* @__PURE__ */ d(Xi, {
|
|
3580
|
+
open: e,
|
|
3581
|
+
onOpenChange: t,
|
|
3582
|
+
children: [/* @__PURE__ */ u(Zi, {
|
|
3583
|
+
asChild: !0,
|
|
3584
|
+
children: n
|
|
3585
|
+
}), /* @__PURE__ */ d(ta, {
|
|
3586
|
+
className: "sm:max-w-md",
|
|
3587
|
+
children: [
|
|
3588
|
+
/* @__PURE__ */ d(na, { children: [r && /* @__PURE__ */ u(ia, { children: r }), i && /* @__PURE__ */ u(aa, { children: i })] }),
|
|
3589
|
+
/* @__PURE__ */ u("div", {
|
|
3590
|
+
className: "py-4",
|
|
3591
|
+
children: a
|
|
3592
|
+
}),
|
|
3593
|
+
o && /* @__PURE__ */ u(ra, { children: o })
|
|
3594
|
+
]
|
|
3595
|
+
})]
|
|
3596
|
+
}), _a = ({ children: e, title: t, userName: n, onLogout: r }) => /* @__PURE__ */ d("aside", {
|
|
3597
|
+
className: "w-64 bg-white dark:bg-neutral-800 shadow-md p-4 flex flex-col justify-between h-screen",
|
|
3598
|
+
children: [/* @__PURE__ */ d("div", { children: [t && /* @__PURE__ */ u("div", {
|
|
3599
|
+
className: "mb-6 px-2 py-3 border-b border-border",
|
|
3600
|
+
children: /* @__PURE__ */ u("span", {
|
|
3601
|
+
className: "text-xl font-bold tracking-tight text-gray-900 dark:text-white",
|
|
3602
|
+
children: t
|
|
3603
|
+
})
|
|
3604
|
+
}), /* @__PURE__ */ u("nav", {
|
|
3605
|
+
className: "space-y-1 mt-2",
|
|
3606
|
+
children: e
|
|
3607
|
+
})] }), /* @__PURE__ */ d("div", { children: [n && /* @__PURE__ */ u("p", {
|
|
3608
|
+
className: "text-xs text-muted-foreground px-1 mb-2 truncate",
|
|
3609
|
+
children: n
|
|
3610
|
+
}), r && /* @__PURE__ */ d(W, {
|
|
3611
|
+
variant: "outline",
|
|
3612
|
+
className: "w-full justify-start",
|
|
3613
|
+
onClick: r,
|
|
3614
|
+
children: [/* @__PURE__ */ u(qi, { className: "mr-2 h-4 w-4" }), "Logout"]
|
|
3615
|
+
})] })]
|
|
3616
|
+
}), va = i(({ className: e, label: t, description: n, maskedLength: r = 8, hidden: i, validate: a, onValidationChange: o, ...s }, l) => {
|
|
3617
|
+
let [f, p] = c(null);
|
|
3618
|
+
return /* @__PURE__ */ d("div", {
|
|
3619
|
+
className: "flex flex-col gap-1 w-full",
|
|
3620
|
+
children: [
|
|
3621
|
+
t && /* @__PURE__ */ u("label", {
|
|
3622
|
+
className: "text-sm font-medium",
|
|
3623
|
+
children: t
|
|
3624
|
+
}),
|
|
3625
|
+
/* @__PURE__ */ d("div", {
|
|
3626
|
+
className: "relative",
|
|
3627
|
+
children: [/* @__PURE__ */ u("textarea", {
|
|
3628
|
+
ref: l,
|
|
3629
|
+
className: U("flex min-h-[36px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm", f && "border-red-500 focus-visible:ring-red-500", s.value && i && "text-transparent", e),
|
|
3630
|
+
onChange: (e) => {
|
|
3631
|
+
if (a) {
|
|
3632
|
+
let t = a(e.target.value);
|
|
3633
|
+
p(t), o?.(!t);
|
|
3634
|
+
}
|
|
3635
|
+
s.onChange?.(e);
|
|
3636
|
+
},
|
|
3637
|
+
...s,
|
|
3638
|
+
placeholder: i ? void 0 : s.placeholder
|
|
3639
|
+
}), i && /* @__PURE__ */ u("div", {
|
|
3640
|
+
className: "absolute inset-0 p-2 h-fit pointer-events-none",
|
|
3641
|
+
children: "•".repeat(r)
|
|
3642
|
+
})]
|
|
3643
|
+
}),
|
|
3644
|
+
n && /* @__PURE__ */ u("p", {
|
|
3645
|
+
className: "text-xs text-muted-foreground",
|
|
3646
|
+
children: n
|
|
3647
|
+
}),
|
|
3648
|
+
f && /* @__PURE__ */ u("p", {
|
|
3649
|
+
className: "text-xs text-red-500 font-medium",
|
|
3650
|
+
children: f
|
|
3651
|
+
})
|
|
3652
|
+
]
|
|
3653
|
+
});
|
|
3654
|
+
});
|
|
3655
|
+
va.displayName = "Textarea";
|
|
3656
|
+
//#endregion
|
|
3657
|
+
//#region src/components/ui/toast.tsx
|
|
3658
|
+
var $ = null, ya = ({ children: e }) => {
|
|
3659
|
+
let [t, n] = c([]), r = a((e) => {
|
|
3660
|
+
let t = Date.now().toString() + Math.random().toString(36), r = {
|
|
3661
|
+
...e,
|
|
3662
|
+
id: t
|
|
3663
|
+
};
|
|
3664
|
+
n((e) => [...e, r].slice(-5)), setTimeout(() => {
|
|
3665
|
+
n((e) => e.filter((e) => e.id !== t));
|
|
3666
|
+
}, e.duration || 5e3);
|
|
3667
|
+
}, []);
|
|
3668
|
+
return s(() => ($ = r, () => {
|
|
3669
|
+
$ = null;
|
|
3670
|
+
}), [r]), /* @__PURE__ */ d(l, { children: [e, /* @__PURE__ */ u("div", {
|
|
3671
|
+
className: "vi-toast-viewport",
|
|
3672
|
+
children: t.map((e) => /* @__PURE__ */ u(ba, { ...e }, e.id))
|
|
3673
|
+
})] });
|
|
3674
|
+
}, ba = ({ variant: e, title: t, description: n }) => {
|
|
3675
|
+
let r = !!t;
|
|
3676
|
+
return /* @__PURE__ */ u("div", {
|
|
3677
|
+
className: U("vi-toast", `vi-toast-variant-${e}`),
|
|
3678
|
+
children: /* @__PURE__ */ d("div", {
|
|
3679
|
+
className: "vi-toast-content",
|
|
3680
|
+
children: [r && /* @__PURE__ */ u("div", {
|
|
3681
|
+
className: "vi-toast-title",
|
|
3682
|
+
children: t
|
|
3683
|
+
}), n && /* @__PURE__ */ u("div", {
|
|
3684
|
+
className: U("vi-toast-description", !r && "vi-toast-description-colored"),
|
|
3685
|
+
children: n
|
|
3686
|
+
})]
|
|
3687
|
+
})
|
|
3688
|
+
});
|
|
3689
|
+
}, xa = {
|
|
3690
|
+
success: (e, t) => {
|
|
3691
|
+
let n = t !== void 0;
|
|
3692
|
+
$?.({
|
|
3693
|
+
variant: "success",
|
|
3694
|
+
title: n ? e : void 0,
|
|
3695
|
+
description: n ? t : e
|
|
3696
|
+
});
|
|
3697
|
+
},
|
|
3698
|
+
error: (e, t) => {
|
|
3699
|
+
let n = t !== void 0;
|
|
3700
|
+
$?.({
|
|
3701
|
+
variant: "error",
|
|
3702
|
+
title: n ? e : void 0,
|
|
3703
|
+
description: n ? t : e
|
|
3704
|
+
});
|
|
3705
|
+
},
|
|
3706
|
+
warning: (e, t) => {
|
|
3707
|
+
let n = t !== void 0;
|
|
3708
|
+
$?.({
|
|
3709
|
+
variant: "warning",
|
|
3710
|
+
title: n ? e : void 0,
|
|
3711
|
+
description: n ? t : e
|
|
3712
|
+
});
|
|
3713
|
+
},
|
|
3714
|
+
info: (e, t) => {
|
|
3715
|
+
let n = t !== void 0;
|
|
3716
|
+
$?.({
|
|
3717
|
+
variant: "info",
|
|
3718
|
+
title: n ? e : void 0,
|
|
3719
|
+
description: n ? t : e
|
|
3720
|
+
});
|
|
3721
|
+
},
|
|
3722
|
+
default: (e, t) => {
|
|
3723
|
+
let n = t !== void 0;
|
|
3724
|
+
$?.({
|
|
3725
|
+
variant: "default",
|
|
3726
|
+
title: n ? e : void 0,
|
|
3727
|
+
description: n ? t : e
|
|
3728
|
+
});
|
|
3729
|
+
}
|
|
3730
|
+
}, Sa = () => /* @__PURE__ */ d("div", {
|
|
3731
|
+
className: "relative flex h-screen w-full flex-col items-center justify-center overflow-hidden bg-background px-4",
|
|
3732
|
+
children: [
|
|
3733
|
+
/* @__PURE__ */ u("div", {
|
|
3734
|
+
className: "absolute inset-0 opacity-40 dark:opacity-15",
|
|
3735
|
+
style: { background: "linear-gradient(135deg, rgba(247, 173, 69, 0.15) 0%, transparent 50%, rgba(101, 124, 106, 0.15) 100%)" }
|
|
3736
|
+
}),
|
|
3737
|
+
/* @__PURE__ */ u("div", {
|
|
3738
|
+
className: "absolute top-1/4 left-1/4 h-64 w-64 animate-pulse rounded-full blur-3xl opacity-70 dark:opacity-40",
|
|
3739
|
+
style: { backgroundColor: "rgba(247, 173, 69, 0.3)" }
|
|
3740
|
+
}),
|
|
3741
|
+
/* @__PURE__ */ u("div", {
|
|
3742
|
+
className: "absolute bottom-1/4 right-1/4 h-64 w-64 animate-pulse rounded-full blur-3xl opacity-70 dark:opacity-40",
|
|
3743
|
+
style: {
|
|
3744
|
+
backgroundColor: "rgba(162, 185, 167, 0.3)",
|
|
3745
|
+
animationDelay: "1s"
|
|
3746
|
+
}
|
|
3747
|
+
}),
|
|
3748
|
+
/* @__PURE__ */ d("div", {
|
|
3749
|
+
className: "relative z-10 flex flex-col items-center gap-6 text-center",
|
|
3750
|
+
children: [
|
|
3751
|
+
/* @__PURE__ */ d("div", {
|
|
3752
|
+
className: "relative",
|
|
3753
|
+
children: [/* @__PURE__ */ u("h1", {
|
|
3754
|
+
className: "text-9xl font-black tracking-tighter bg-clip-text text-transparent animate-in fade-in slide-in-from-bottom-4 duration-700",
|
|
3755
|
+
style: { backgroundImage: "linear-gradient(135deg, #BB3E00 0%, #F7AD45 40%, #657C6A 70%, #A2B9A7 100%)" },
|
|
3756
|
+
children: "404"
|
|
3757
|
+
}), /* @__PURE__ */ u("div", {
|
|
3758
|
+
className: "absolute inset-0 -z-10 blur-2xl opacity-50 dark:opacity-30",
|
|
3759
|
+
style: { background: "linear-gradient(135deg, #F7AD45, #657C6A)" }
|
|
3760
|
+
})]
|
|
3761
|
+
}),
|
|
3762
|
+
/* @__PURE__ */ d("div", {
|
|
3763
|
+
className: "space-y-3 animate-in fade-in slide-in-from-bottom-4 duration-700 delay-150",
|
|
3764
|
+
children: [/* @__PURE__ */ u("h2", {
|
|
3765
|
+
className: "text-2xl font-semibold text-foreground",
|
|
3766
|
+
children: "Page Not Found"
|
|
3767
|
+
}), /* @__PURE__ */ u("p", {
|
|
3768
|
+
className: "max-w-md text-base text-muted-foreground",
|
|
3769
|
+
children: "Looks like you've ventured into uncharted territory. The page you're looking for doesn't exist or has been moved."
|
|
3770
|
+
})]
|
|
3771
|
+
}),
|
|
3772
|
+
/* @__PURE__ */ u("div", {
|
|
3773
|
+
className: "flex flex-col sm:flex-row gap-3 animate-in fade-in slide-in-from-bottom-4 duration-700 delay-300",
|
|
3774
|
+
children: /* @__PURE__ */ u(W, {
|
|
3775
|
+
asChild: !0,
|
|
3776
|
+
size: "lg",
|
|
3777
|
+
className: "group relative overflow-hidden text-white border-0 shadow-lg hover:shadow-xl transition-shadow",
|
|
3778
|
+
style: {
|
|
3779
|
+
background: "linear-gradient(135deg, #F7AD45 0%, #BB3E00 100%)",
|
|
3780
|
+
boxShadow: "0 10px 40px -10px rgba(187, 62, 0, 0.3)"
|
|
3781
|
+
},
|
|
3782
|
+
children: /* @__PURE__ */ u("a", {
|
|
3783
|
+
href: "/",
|
|
3784
|
+
className: "hover:opacity-90 transition-opacity",
|
|
3785
|
+
children: /* @__PURE__ */ d("span", {
|
|
3786
|
+
className: "relative z-10 flex items-center gap-2",
|
|
3787
|
+
children: [/* @__PURE__ */ d("svg", {
|
|
3788
|
+
width: "16",
|
|
3789
|
+
height: "16",
|
|
3790
|
+
viewBox: "0 0 24 24",
|
|
3791
|
+
fill: "none",
|
|
3792
|
+
stroke: "currentColor",
|
|
3793
|
+
strokeWidth: "2",
|
|
3794
|
+
strokeLinecap: "round",
|
|
3795
|
+
strokeLinejoin: "round",
|
|
3796
|
+
className: "transition-transform group-hover:-translate-x-1",
|
|
3797
|
+
children: [/* @__PURE__ */ u("path", { d: "m12 19-7-7 7-7" }), /* @__PURE__ */ u("path", { d: "M19 12H5" })]
|
|
3798
|
+
}), "Back to Home"]
|
|
3799
|
+
})
|
|
3800
|
+
})
|
|
3801
|
+
})
|
|
3802
|
+
})
|
|
3803
|
+
]
|
|
3804
|
+
}),
|
|
3805
|
+
/* @__PURE__ */ u("div", {
|
|
3806
|
+
className: "absolute bottom-0 left-0 right-0 h-px opacity-30 dark:opacity-20",
|
|
3807
|
+
style: { background: "linear-gradient(90deg, transparent, #F7AD45, #657C6A, transparent)" }
|
|
3808
|
+
})
|
|
3809
|
+
]
|
|
3810
|
+
});
|
|
3811
|
+
//#endregion
|
|
3812
|
+
export { W as Button, vt as Card, St as CardContent, xt as CardDescription, Ct as CardFooter, yt as CardHeader, bt as CardTitle, Xi as Dialog, $i as DialogClose, ta as DialogContent, aa as DialogDescription, ra as DialogFooter, na as DialogHeader, ea as DialogOverlay, Qi as DialogPortal, ia as DialogTitle, Zi as DialogTrigger, sa as Header, ma as Input, pa as Label, oa as Link, ha as Loading, ga as Modal, _a as PageAside, Sa as PageNotFound, va as Textarea, ya as ToastProvider, gt as buttonVariants, U as cn, xa as toast };
|
|
3813
|
+
|
|
3814
|
+
//# sourceMappingURL=advi-ui.es.js.map
|