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