@bonprix-ds/react-radio-group 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +39 -0
- package/dist/index.js +4282 -0
- package/dist/index.js.map +1 -0
- package/dist/react-radio-group.css +2 -0
- package/package.json +51 -0
package/dist/index.js
ADDED
|
@@ -0,0 +1,4282 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import * as e from "react";
|
|
3
|
+
import { createContext as t, useContext as n, useId as r, useState as i } from "react";
|
|
4
|
+
import { Fragment as a, jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
5
|
+
import "react-dom";
|
|
6
|
+
//#region ../../internal-components/dist/index.js
|
|
7
|
+
var c = {
|
|
8
|
+
s: "0rem",
|
|
9
|
+
m: "30rem",
|
|
10
|
+
l: "48rem",
|
|
11
|
+
xl: "62rem",
|
|
12
|
+
xxl: "80rem",
|
|
13
|
+
xxxl: "100rem"
|
|
14
|
+
}, l = {
|
|
15
|
+
s: `(width < ${c.m})`,
|
|
16
|
+
m: `(${c.m} <= width < ${c.l})`,
|
|
17
|
+
l: `(${c.l} <= width < ${c.xl})`,
|
|
18
|
+
xl: `(${c.xl} <= width < ${c.xxl})`,
|
|
19
|
+
xxl: `(${c.xxl} <= width < ${c.xxxl})`,
|
|
20
|
+
xxxl: `(${c.xxxl} <= width)`
|
|
21
|
+
};
|
|
22
|
+
Object.keys(l), t({}), t(0);
|
|
23
|
+
var u = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, d = (e) => !e || typeof e != "object" || Object.keys(e).length === 0, f = (e, t) => JSON.stringify(e) === JSON.stringify(t);
|
|
24
|
+
function p(e, t) {
|
|
25
|
+
e.forEach(function(e) {
|
|
26
|
+
Array.isArray(e) ? p(e, t) : t.push(e);
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
function m(e) {
|
|
30
|
+
let t = [];
|
|
31
|
+
return p(e, t), t;
|
|
32
|
+
}
|
|
33
|
+
var h = (...e) => m(e).filter(Boolean), g = (e, t) => {
|
|
34
|
+
let n = {}, r = Object.keys(e), i = Object.keys(t);
|
|
35
|
+
for (let a of r) if (i.includes(a)) {
|
|
36
|
+
let r = e[a], i = t[a];
|
|
37
|
+
Array.isArray(r) || Array.isArray(i) ? n[a] = h(i, r) : typeof r == "object" && typeof i == "object" ? n[a] = g(r, i) : n[a] = i + " " + r;
|
|
38
|
+
} else n[a] = e[a];
|
|
39
|
+
for (let e of i) r.includes(e) || (n[e] = t[e]);
|
|
40
|
+
return n;
|
|
41
|
+
}, _ = (e) => !e || typeof e != "string" ? e : e.replace(/\s+/g, " ").trim(), v = "-", y = (e) => {
|
|
42
|
+
let t = C(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
|
|
43
|
+
return {
|
|
44
|
+
getClassGroupId: (e) => {
|
|
45
|
+
let n = e.split(v);
|
|
46
|
+
return n[0] === "" && n.length !== 1 && n.shift(), b(n, t) || S(e);
|
|
47
|
+
},
|
|
48
|
+
getConflictingClassGroupIds: (e, t) => {
|
|
49
|
+
let i = n[e] || [];
|
|
50
|
+
return t && r[e] ? [...i, ...r[e]] : i;
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
}, b = (e, t) => {
|
|
54
|
+
if (e.length === 0) return t.classGroupId;
|
|
55
|
+
let n = e[0], r = t.nextPart.get(n), i = r ? b(e.slice(1), r) : void 0;
|
|
56
|
+
if (i) return i;
|
|
57
|
+
if (t.validators.length === 0) return;
|
|
58
|
+
let a = e.join(v);
|
|
59
|
+
return t.validators.find(({ validator: e }) => e(a))?.classGroupId;
|
|
60
|
+
}, x = /^\[(.+)\]$/, S = (e) => {
|
|
61
|
+
if (x.test(e)) {
|
|
62
|
+
let t = x.exec(e)[1], n = t?.substring(0, t.indexOf(":"));
|
|
63
|
+
if (n) return "arbitrary.." + n;
|
|
64
|
+
}
|
|
65
|
+
}, C = (e) => {
|
|
66
|
+
let { theme: t, prefix: n } = e, r = {
|
|
67
|
+
nextPart: /* @__PURE__ */ new Map(),
|
|
68
|
+
validators: []
|
|
69
|
+
};
|
|
70
|
+
return D(Object.entries(e.classGroups), n).forEach(([e, n]) => {
|
|
71
|
+
w(n, r, e, t);
|
|
72
|
+
}), r;
|
|
73
|
+
}, w = (e, t, n, r) => {
|
|
74
|
+
e.forEach((e) => {
|
|
75
|
+
if (typeof e == "string") {
|
|
76
|
+
let r = e === "" ? t : T(t, e);
|
|
77
|
+
r.classGroupId = n;
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
if (typeof e == "function") {
|
|
81
|
+
if (E(e)) {
|
|
82
|
+
w(e(r), t, n, r);
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
t.validators.push({
|
|
86
|
+
validator: e,
|
|
87
|
+
classGroupId: n
|
|
88
|
+
});
|
|
89
|
+
return;
|
|
90
|
+
}
|
|
91
|
+
Object.entries(e).forEach(([e, i]) => {
|
|
92
|
+
w(i, T(t, e), n, r);
|
|
93
|
+
});
|
|
94
|
+
});
|
|
95
|
+
}, T = (e, t) => {
|
|
96
|
+
let n = e;
|
|
97
|
+
return t.split(v).forEach((e) => {
|
|
98
|
+
n.nextPart.has(e) || n.nextPart.set(e, {
|
|
99
|
+
nextPart: /* @__PURE__ */ new Map(),
|
|
100
|
+
validators: []
|
|
101
|
+
}), n = n.nextPart.get(e);
|
|
102
|
+
}), n;
|
|
103
|
+
}, E = (e) => e.isThemeGetter, D = (e, t) => t ? e.map(([e, n]) => [e, n.map((e) => typeof e == "string" ? t + e : typeof e == "object" ? Object.fromEntries(Object.entries(e).map(([e, n]) => [t + e, n])) : e)]) : e, O = (e) => {
|
|
104
|
+
if (e < 1) return {
|
|
105
|
+
get: () => void 0,
|
|
106
|
+
set: () => {}
|
|
107
|
+
};
|
|
108
|
+
let t = 0, n = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map(), i = (i, a) => {
|
|
109
|
+
n.set(i, a), t++, t > e && (t = 0, r = n, n = /* @__PURE__ */ new Map());
|
|
110
|
+
};
|
|
111
|
+
return {
|
|
112
|
+
get(e) {
|
|
113
|
+
let t = n.get(e);
|
|
114
|
+
if (t !== void 0) return t;
|
|
115
|
+
if ((t = r.get(e)) !== void 0) return i(e, t), t;
|
|
116
|
+
},
|
|
117
|
+
set(e, t) {
|
|
118
|
+
n.has(e) ? n.set(e, t) : i(e, t);
|
|
119
|
+
}
|
|
120
|
+
};
|
|
121
|
+
}, ee = "!", k = (e) => {
|
|
122
|
+
let { separator: t, experimentalParseClassName: n } = e, r = t.length === 1, i = t[0], a = t.length, o = (e) => {
|
|
123
|
+
let n = [], o = 0, s = 0, c;
|
|
124
|
+
for (let l = 0; l < e.length; l++) {
|
|
125
|
+
let u = e[l];
|
|
126
|
+
if (o === 0) {
|
|
127
|
+
if (u === i && (r || e.slice(l, l + a) === t)) {
|
|
128
|
+
n.push(e.slice(s, l)), s = l + a;
|
|
129
|
+
continue;
|
|
130
|
+
}
|
|
131
|
+
if (u === "/") {
|
|
132
|
+
c = l;
|
|
133
|
+
continue;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
u === "[" ? o++ : u === "]" && o--;
|
|
137
|
+
}
|
|
138
|
+
let l = n.length === 0 ? e : e.substring(s), u = l.startsWith(ee);
|
|
139
|
+
return {
|
|
140
|
+
modifiers: n,
|
|
141
|
+
hasImportantModifier: u,
|
|
142
|
+
baseClassName: u ? l.substring(1) : l,
|
|
143
|
+
maybePostfixModifierPosition: c && c > s ? c - s : void 0
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
return n ? (e) => n({
|
|
147
|
+
className: e,
|
|
148
|
+
parseClassName: o
|
|
149
|
+
}) : o;
|
|
150
|
+
}, te = (e) => {
|
|
151
|
+
if (e.length <= 1) return e;
|
|
152
|
+
let t = [], n = [];
|
|
153
|
+
return e.forEach((e) => {
|
|
154
|
+
e[0] === "[" ? (t.push(...n.sort(), e), n = []) : n.push(e);
|
|
155
|
+
}), t.push(...n.sort()), t;
|
|
156
|
+
}, A = (e) => ({
|
|
157
|
+
cache: O(e.cacheSize),
|
|
158
|
+
parseClassName: k(e),
|
|
159
|
+
...y(e)
|
|
160
|
+
}), ne = /\s+/, j = (e, t) => {
|
|
161
|
+
let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i } = t, a = [], o = e.trim().split(ne), s = "";
|
|
162
|
+
for (let e = o.length - 1; e >= 0; --e) {
|
|
163
|
+
let t = o[e], { modifiers: c, hasImportantModifier: l, baseClassName: u, maybePostfixModifierPosition: d } = n(t), f = !!d, p = r(f ? u.substring(0, d) : u);
|
|
164
|
+
if (!p) {
|
|
165
|
+
if (!f) {
|
|
166
|
+
s = t + (s.length > 0 ? " " + s : s);
|
|
167
|
+
continue;
|
|
168
|
+
}
|
|
169
|
+
if (p = r(u), !p) {
|
|
170
|
+
s = t + (s.length > 0 ? " " + s : s);
|
|
171
|
+
continue;
|
|
172
|
+
}
|
|
173
|
+
f = !1;
|
|
174
|
+
}
|
|
175
|
+
let m = te(c).join(":"), h = l ? m + ee : m, g = h + p;
|
|
176
|
+
if (a.includes(g)) continue;
|
|
177
|
+
a.push(g);
|
|
178
|
+
let _ = i(p, f);
|
|
179
|
+
for (let e = 0; e < _.length; ++e) {
|
|
180
|
+
let t = _[e];
|
|
181
|
+
a.push(h + t);
|
|
182
|
+
}
|
|
183
|
+
s = t + (s.length > 0 ? " " + s : s);
|
|
184
|
+
}
|
|
185
|
+
return s;
|
|
186
|
+
};
|
|
187
|
+
function M() {
|
|
188
|
+
let e = 0, t, n, r = "";
|
|
189
|
+
for (; e < arguments.length;) (t = arguments[e++]) && (n = re(t)) && (r && (r += " "), r += n);
|
|
190
|
+
return r;
|
|
191
|
+
}
|
|
192
|
+
var re = (e) => {
|
|
193
|
+
if (typeof e == "string") return e;
|
|
194
|
+
let t, n = "";
|
|
195
|
+
for (let r = 0; r < e.length; r++) e[r] && (t = re(e[r])) && (n && (n += " "), n += t);
|
|
196
|
+
return n;
|
|
197
|
+
};
|
|
198
|
+
function N(e, ...t) {
|
|
199
|
+
let n, r, i, a = o;
|
|
200
|
+
function o(o) {
|
|
201
|
+
return n = A(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o);
|
|
202
|
+
}
|
|
203
|
+
function s(e) {
|
|
204
|
+
let t = r(e);
|
|
205
|
+
if (t) return t;
|
|
206
|
+
let a = j(e, n);
|
|
207
|
+
return i(e, a), a;
|
|
208
|
+
}
|
|
209
|
+
return function() {
|
|
210
|
+
return a(M.apply(null, arguments));
|
|
211
|
+
};
|
|
212
|
+
}
|
|
213
|
+
var P = (e) => {
|
|
214
|
+
let t = (t) => t[e] || [];
|
|
215
|
+
return t.isThemeGetter = !0, t;
|
|
216
|
+
}, ie = /^\[(?:([a-z-]+):)?(.+)\]$/i, ae = /^\d+\/\d+$/, oe = /*#__PURE__*/ new Set([
|
|
217
|
+
"px",
|
|
218
|
+
"full",
|
|
219
|
+
"screen"
|
|
220
|
+
]), se = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, ce = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, le = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, ue = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, de = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, F = (e) => L(e) || oe.has(e) || ae.test(e), I = (e) => Se(e, "length", Ce), L = (e) => !!e && !Number.isNaN(Number(e)), fe = (e) => Se(e, "number", L), pe = (e) => !!e && Number.isInteger(Number(e)), me = (e) => e.endsWith("%") && L(e.slice(0, -1)), R = (e) => ie.test(e), z = (e) => se.test(e), he = /*#__PURE__*/ new Set([
|
|
221
|
+
"length",
|
|
222
|
+
"size",
|
|
223
|
+
"percentage"
|
|
224
|
+
]), ge = (e) => Se(e, he, we), _e = (e) => Se(e, "position", we), ve = /*#__PURE__*/ new Set(["image", "url"]), ye = (e) => Se(e, ve, Ee), be = (e) => Se(e, "", Te), xe = () => !0, Se = (e, t, n) => {
|
|
225
|
+
let r = ie.exec(e);
|
|
226
|
+
return r ? r[1] ? typeof t == "string" ? r[1] === t : t.has(r[1]) : n(r[2]) : !1;
|
|
227
|
+
}, Ce = (e) => ce.test(e) && !le.test(e), we = () => !1, Te = (e) => ue.test(e), Ee = (e) => de.test(e), De = () => {
|
|
228
|
+
let e = P("colors"), t = P("spacing"), n = P("blur"), r = P("brightness"), i = P("borderColor"), a = P("borderRadius"), o = P("borderSpacing"), s = P("borderWidth"), c = P("contrast"), l = P("grayscale"), u = P("hueRotate"), d = P("invert"), f = P("gap"), p = P("gradientColorStops"), m = P("gradientColorStopPositions"), h = P("inset"), g = P("margin"), _ = P("opacity"), v = P("padding"), y = P("saturate"), b = P("scale"), x = P("sepia"), S = P("skew"), C = P("space"), w = P("translate"), T = () => [
|
|
229
|
+
"auto",
|
|
230
|
+
"contain",
|
|
231
|
+
"none"
|
|
232
|
+
], E = () => [
|
|
233
|
+
"auto",
|
|
234
|
+
"hidden",
|
|
235
|
+
"clip",
|
|
236
|
+
"visible",
|
|
237
|
+
"scroll"
|
|
238
|
+
], D = () => [
|
|
239
|
+
"auto",
|
|
240
|
+
R,
|
|
241
|
+
t
|
|
242
|
+
], O = () => [R, t], ee = () => [
|
|
243
|
+
"",
|
|
244
|
+
F,
|
|
245
|
+
I
|
|
246
|
+
], k = () => [
|
|
247
|
+
"auto",
|
|
248
|
+
L,
|
|
249
|
+
R
|
|
250
|
+
], te = () => [
|
|
251
|
+
"bottom",
|
|
252
|
+
"center",
|
|
253
|
+
"left",
|
|
254
|
+
"left-bottom",
|
|
255
|
+
"left-top",
|
|
256
|
+
"right",
|
|
257
|
+
"right-bottom",
|
|
258
|
+
"right-top",
|
|
259
|
+
"top"
|
|
260
|
+
], A = () => [
|
|
261
|
+
"solid",
|
|
262
|
+
"dashed",
|
|
263
|
+
"dotted",
|
|
264
|
+
"double",
|
|
265
|
+
"none"
|
|
266
|
+
], ne = () => [
|
|
267
|
+
"normal",
|
|
268
|
+
"multiply",
|
|
269
|
+
"screen",
|
|
270
|
+
"overlay",
|
|
271
|
+
"darken",
|
|
272
|
+
"lighten",
|
|
273
|
+
"color-dodge",
|
|
274
|
+
"color-burn",
|
|
275
|
+
"hard-light",
|
|
276
|
+
"soft-light",
|
|
277
|
+
"difference",
|
|
278
|
+
"exclusion",
|
|
279
|
+
"hue",
|
|
280
|
+
"saturation",
|
|
281
|
+
"color",
|
|
282
|
+
"luminosity"
|
|
283
|
+
], j = () => [
|
|
284
|
+
"start",
|
|
285
|
+
"end",
|
|
286
|
+
"center",
|
|
287
|
+
"between",
|
|
288
|
+
"around",
|
|
289
|
+
"evenly",
|
|
290
|
+
"stretch"
|
|
291
|
+
], M = () => [
|
|
292
|
+
"",
|
|
293
|
+
"0",
|
|
294
|
+
R
|
|
295
|
+
], re = () => [
|
|
296
|
+
"auto",
|
|
297
|
+
"avoid",
|
|
298
|
+
"all",
|
|
299
|
+
"avoid-page",
|
|
300
|
+
"page",
|
|
301
|
+
"left",
|
|
302
|
+
"right",
|
|
303
|
+
"column"
|
|
304
|
+
], N = () => [L, R];
|
|
305
|
+
return {
|
|
306
|
+
cacheSize: 500,
|
|
307
|
+
separator: ":",
|
|
308
|
+
theme: {
|
|
309
|
+
colors: [xe],
|
|
310
|
+
spacing: [F, I],
|
|
311
|
+
blur: [
|
|
312
|
+
"none",
|
|
313
|
+
"",
|
|
314
|
+
z,
|
|
315
|
+
R
|
|
316
|
+
],
|
|
317
|
+
brightness: N(),
|
|
318
|
+
borderColor: [e],
|
|
319
|
+
borderRadius: [
|
|
320
|
+
"none",
|
|
321
|
+
"",
|
|
322
|
+
"full",
|
|
323
|
+
z,
|
|
324
|
+
R
|
|
325
|
+
],
|
|
326
|
+
borderSpacing: O(),
|
|
327
|
+
borderWidth: ee(),
|
|
328
|
+
contrast: N(),
|
|
329
|
+
grayscale: M(),
|
|
330
|
+
hueRotate: N(),
|
|
331
|
+
invert: M(),
|
|
332
|
+
gap: O(),
|
|
333
|
+
gradientColorStops: [e],
|
|
334
|
+
gradientColorStopPositions: [me, I],
|
|
335
|
+
inset: D(),
|
|
336
|
+
margin: D(),
|
|
337
|
+
opacity: N(),
|
|
338
|
+
padding: O(),
|
|
339
|
+
saturate: N(),
|
|
340
|
+
scale: N(),
|
|
341
|
+
sepia: M(),
|
|
342
|
+
skew: N(),
|
|
343
|
+
space: O(),
|
|
344
|
+
translate: O()
|
|
345
|
+
},
|
|
346
|
+
classGroups: {
|
|
347
|
+
aspect: [{ aspect: [
|
|
348
|
+
"auto",
|
|
349
|
+
"square",
|
|
350
|
+
"video",
|
|
351
|
+
R
|
|
352
|
+
] }],
|
|
353
|
+
container: ["container"],
|
|
354
|
+
columns: [{ columns: [z] }],
|
|
355
|
+
"break-after": [{ "break-after": re() }],
|
|
356
|
+
"break-before": [{ "break-before": re() }],
|
|
357
|
+
"break-inside": [{ "break-inside": [
|
|
358
|
+
"auto",
|
|
359
|
+
"avoid",
|
|
360
|
+
"avoid-page",
|
|
361
|
+
"avoid-column"
|
|
362
|
+
] }],
|
|
363
|
+
"box-decoration": [{ "box-decoration": ["slice", "clone"] }],
|
|
364
|
+
box: [{ box: ["border", "content"] }],
|
|
365
|
+
display: [
|
|
366
|
+
"block",
|
|
367
|
+
"inline-block",
|
|
368
|
+
"inline",
|
|
369
|
+
"flex",
|
|
370
|
+
"inline-flex",
|
|
371
|
+
"table",
|
|
372
|
+
"inline-table",
|
|
373
|
+
"table-caption",
|
|
374
|
+
"table-cell",
|
|
375
|
+
"table-column",
|
|
376
|
+
"table-column-group",
|
|
377
|
+
"table-footer-group",
|
|
378
|
+
"table-header-group",
|
|
379
|
+
"table-row-group",
|
|
380
|
+
"table-row",
|
|
381
|
+
"flow-root",
|
|
382
|
+
"grid",
|
|
383
|
+
"inline-grid",
|
|
384
|
+
"contents",
|
|
385
|
+
"list-item",
|
|
386
|
+
"hidden"
|
|
387
|
+
],
|
|
388
|
+
float: [{ float: [
|
|
389
|
+
"right",
|
|
390
|
+
"left",
|
|
391
|
+
"none",
|
|
392
|
+
"start",
|
|
393
|
+
"end"
|
|
394
|
+
] }],
|
|
395
|
+
clear: [{ clear: [
|
|
396
|
+
"left",
|
|
397
|
+
"right",
|
|
398
|
+
"both",
|
|
399
|
+
"none",
|
|
400
|
+
"start",
|
|
401
|
+
"end"
|
|
402
|
+
] }],
|
|
403
|
+
isolation: ["isolate", "isolation-auto"],
|
|
404
|
+
"object-fit": [{ object: [
|
|
405
|
+
"contain",
|
|
406
|
+
"cover",
|
|
407
|
+
"fill",
|
|
408
|
+
"none",
|
|
409
|
+
"scale-down"
|
|
410
|
+
] }],
|
|
411
|
+
"object-position": [{ object: [...te(), R] }],
|
|
412
|
+
overflow: [{ overflow: E() }],
|
|
413
|
+
"overflow-x": [{ "overflow-x": E() }],
|
|
414
|
+
"overflow-y": [{ "overflow-y": E() }],
|
|
415
|
+
overscroll: [{ overscroll: T() }],
|
|
416
|
+
"overscroll-x": [{ "overscroll-x": T() }],
|
|
417
|
+
"overscroll-y": [{ "overscroll-y": T() }],
|
|
418
|
+
position: [
|
|
419
|
+
"static",
|
|
420
|
+
"fixed",
|
|
421
|
+
"absolute",
|
|
422
|
+
"relative",
|
|
423
|
+
"sticky"
|
|
424
|
+
],
|
|
425
|
+
inset: [{ inset: [h] }],
|
|
426
|
+
"inset-x": [{ "inset-x": [h] }],
|
|
427
|
+
"inset-y": [{ "inset-y": [h] }],
|
|
428
|
+
start: [{ start: [h] }],
|
|
429
|
+
end: [{ end: [h] }],
|
|
430
|
+
top: [{ top: [h] }],
|
|
431
|
+
right: [{ right: [h] }],
|
|
432
|
+
bottom: [{ bottom: [h] }],
|
|
433
|
+
left: [{ left: [h] }],
|
|
434
|
+
visibility: [
|
|
435
|
+
"visible",
|
|
436
|
+
"invisible",
|
|
437
|
+
"collapse"
|
|
438
|
+
],
|
|
439
|
+
z: [{ z: [
|
|
440
|
+
"auto",
|
|
441
|
+
pe,
|
|
442
|
+
R
|
|
443
|
+
] }],
|
|
444
|
+
basis: [{ basis: D() }],
|
|
445
|
+
"flex-direction": [{ flex: [
|
|
446
|
+
"row",
|
|
447
|
+
"row-reverse",
|
|
448
|
+
"col",
|
|
449
|
+
"col-reverse"
|
|
450
|
+
] }],
|
|
451
|
+
"flex-wrap": [{ flex: [
|
|
452
|
+
"wrap",
|
|
453
|
+
"wrap-reverse",
|
|
454
|
+
"nowrap"
|
|
455
|
+
] }],
|
|
456
|
+
flex: [{ flex: [
|
|
457
|
+
"1",
|
|
458
|
+
"auto",
|
|
459
|
+
"initial",
|
|
460
|
+
"none",
|
|
461
|
+
R
|
|
462
|
+
] }],
|
|
463
|
+
grow: [{ grow: M() }],
|
|
464
|
+
shrink: [{ shrink: M() }],
|
|
465
|
+
order: [{ order: [
|
|
466
|
+
"first",
|
|
467
|
+
"last",
|
|
468
|
+
"none",
|
|
469
|
+
pe,
|
|
470
|
+
R
|
|
471
|
+
] }],
|
|
472
|
+
"grid-cols": [{ "grid-cols": [xe] }],
|
|
473
|
+
"col-start-end": [{ col: [
|
|
474
|
+
"auto",
|
|
475
|
+
{ span: [
|
|
476
|
+
"full",
|
|
477
|
+
pe,
|
|
478
|
+
R
|
|
479
|
+
] },
|
|
480
|
+
R
|
|
481
|
+
] }],
|
|
482
|
+
"col-start": [{ "col-start": k() }],
|
|
483
|
+
"col-end": [{ "col-end": k() }],
|
|
484
|
+
"grid-rows": [{ "grid-rows": [xe] }],
|
|
485
|
+
"row-start-end": [{ row: [
|
|
486
|
+
"auto",
|
|
487
|
+
{ span: [pe, R] },
|
|
488
|
+
R
|
|
489
|
+
] }],
|
|
490
|
+
"row-start": [{ "row-start": k() }],
|
|
491
|
+
"row-end": [{ "row-end": k() }],
|
|
492
|
+
"grid-flow": [{ "grid-flow": [
|
|
493
|
+
"row",
|
|
494
|
+
"col",
|
|
495
|
+
"dense",
|
|
496
|
+
"row-dense",
|
|
497
|
+
"col-dense"
|
|
498
|
+
] }],
|
|
499
|
+
"auto-cols": [{ "auto-cols": [
|
|
500
|
+
"auto",
|
|
501
|
+
"min",
|
|
502
|
+
"max",
|
|
503
|
+
"fr",
|
|
504
|
+
R
|
|
505
|
+
] }],
|
|
506
|
+
"auto-rows": [{ "auto-rows": [
|
|
507
|
+
"auto",
|
|
508
|
+
"min",
|
|
509
|
+
"max",
|
|
510
|
+
"fr",
|
|
511
|
+
R
|
|
512
|
+
] }],
|
|
513
|
+
gap: [{ gap: [f] }],
|
|
514
|
+
"gap-x": [{ "gap-x": [f] }],
|
|
515
|
+
"gap-y": [{ "gap-y": [f] }],
|
|
516
|
+
"justify-content": [{ justify: ["normal", ...j()] }],
|
|
517
|
+
"justify-items": [{ "justify-items": [
|
|
518
|
+
"start",
|
|
519
|
+
"end",
|
|
520
|
+
"center",
|
|
521
|
+
"stretch"
|
|
522
|
+
] }],
|
|
523
|
+
"justify-self": [{ "justify-self": [
|
|
524
|
+
"auto",
|
|
525
|
+
"start",
|
|
526
|
+
"end",
|
|
527
|
+
"center",
|
|
528
|
+
"stretch"
|
|
529
|
+
] }],
|
|
530
|
+
"align-content": [{ content: [
|
|
531
|
+
"normal",
|
|
532
|
+
...j(),
|
|
533
|
+
"baseline"
|
|
534
|
+
] }],
|
|
535
|
+
"align-items": [{ items: [
|
|
536
|
+
"start",
|
|
537
|
+
"end",
|
|
538
|
+
"center",
|
|
539
|
+
"baseline",
|
|
540
|
+
"stretch"
|
|
541
|
+
] }],
|
|
542
|
+
"align-self": [{ self: [
|
|
543
|
+
"auto",
|
|
544
|
+
"start",
|
|
545
|
+
"end",
|
|
546
|
+
"center",
|
|
547
|
+
"stretch",
|
|
548
|
+
"baseline"
|
|
549
|
+
] }],
|
|
550
|
+
"place-content": [{ "place-content": [...j(), "baseline"] }],
|
|
551
|
+
"place-items": [{ "place-items": [
|
|
552
|
+
"start",
|
|
553
|
+
"end",
|
|
554
|
+
"center",
|
|
555
|
+
"baseline",
|
|
556
|
+
"stretch"
|
|
557
|
+
] }],
|
|
558
|
+
"place-self": [{ "place-self": [
|
|
559
|
+
"auto",
|
|
560
|
+
"start",
|
|
561
|
+
"end",
|
|
562
|
+
"center",
|
|
563
|
+
"stretch"
|
|
564
|
+
] }],
|
|
565
|
+
p: [{ p: [v] }],
|
|
566
|
+
px: [{ px: [v] }],
|
|
567
|
+
py: [{ py: [v] }],
|
|
568
|
+
ps: [{ ps: [v] }],
|
|
569
|
+
pe: [{ pe: [v] }],
|
|
570
|
+
pt: [{ pt: [v] }],
|
|
571
|
+
pr: [{ pr: [v] }],
|
|
572
|
+
pb: [{ pb: [v] }],
|
|
573
|
+
pl: [{ pl: [v] }],
|
|
574
|
+
m: [{ m: [g] }],
|
|
575
|
+
mx: [{ mx: [g] }],
|
|
576
|
+
my: [{ my: [g] }],
|
|
577
|
+
ms: [{ ms: [g] }],
|
|
578
|
+
me: [{ me: [g] }],
|
|
579
|
+
mt: [{ mt: [g] }],
|
|
580
|
+
mr: [{ mr: [g] }],
|
|
581
|
+
mb: [{ mb: [g] }],
|
|
582
|
+
ml: [{ ml: [g] }],
|
|
583
|
+
"space-x": [{ "space-x": [C] }],
|
|
584
|
+
"space-x-reverse": ["space-x-reverse"],
|
|
585
|
+
"space-y": [{ "space-y": [C] }],
|
|
586
|
+
"space-y-reverse": ["space-y-reverse"],
|
|
587
|
+
w: [{ w: [
|
|
588
|
+
"auto",
|
|
589
|
+
"min",
|
|
590
|
+
"max",
|
|
591
|
+
"fit",
|
|
592
|
+
"svw",
|
|
593
|
+
"lvw",
|
|
594
|
+
"dvw",
|
|
595
|
+
R,
|
|
596
|
+
t
|
|
597
|
+
] }],
|
|
598
|
+
"min-w": [{ "min-w": [
|
|
599
|
+
R,
|
|
600
|
+
t,
|
|
601
|
+
"min",
|
|
602
|
+
"max",
|
|
603
|
+
"fit"
|
|
604
|
+
] }],
|
|
605
|
+
"max-w": [{ "max-w": [
|
|
606
|
+
R,
|
|
607
|
+
t,
|
|
608
|
+
"none",
|
|
609
|
+
"full",
|
|
610
|
+
"min",
|
|
611
|
+
"max",
|
|
612
|
+
"fit",
|
|
613
|
+
"prose",
|
|
614
|
+
{ screen: [z] },
|
|
615
|
+
z
|
|
616
|
+
] }],
|
|
617
|
+
h: [{ h: [
|
|
618
|
+
R,
|
|
619
|
+
t,
|
|
620
|
+
"auto",
|
|
621
|
+
"min",
|
|
622
|
+
"max",
|
|
623
|
+
"fit",
|
|
624
|
+
"svh",
|
|
625
|
+
"lvh",
|
|
626
|
+
"dvh"
|
|
627
|
+
] }],
|
|
628
|
+
"min-h": [{ "min-h": [
|
|
629
|
+
R,
|
|
630
|
+
t,
|
|
631
|
+
"min",
|
|
632
|
+
"max",
|
|
633
|
+
"fit",
|
|
634
|
+
"svh",
|
|
635
|
+
"lvh",
|
|
636
|
+
"dvh"
|
|
637
|
+
] }],
|
|
638
|
+
"max-h": [{ "max-h": [
|
|
639
|
+
R,
|
|
640
|
+
t,
|
|
641
|
+
"min",
|
|
642
|
+
"max",
|
|
643
|
+
"fit",
|
|
644
|
+
"svh",
|
|
645
|
+
"lvh",
|
|
646
|
+
"dvh"
|
|
647
|
+
] }],
|
|
648
|
+
size: [{ size: [
|
|
649
|
+
R,
|
|
650
|
+
t,
|
|
651
|
+
"auto",
|
|
652
|
+
"min",
|
|
653
|
+
"max",
|
|
654
|
+
"fit"
|
|
655
|
+
] }],
|
|
656
|
+
"font-size": [{ text: [
|
|
657
|
+
"base",
|
|
658
|
+
z,
|
|
659
|
+
I
|
|
660
|
+
] }],
|
|
661
|
+
"font-smoothing": ["antialiased", "subpixel-antialiased"],
|
|
662
|
+
"font-style": ["italic", "not-italic"],
|
|
663
|
+
"font-weight": [{ font: [
|
|
664
|
+
"thin",
|
|
665
|
+
"extralight",
|
|
666
|
+
"light",
|
|
667
|
+
"normal",
|
|
668
|
+
"medium",
|
|
669
|
+
"semibold",
|
|
670
|
+
"bold",
|
|
671
|
+
"extrabold",
|
|
672
|
+
"black",
|
|
673
|
+
fe
|
|
674
|
+
] }],
|
|
675
|
+
"font-family": [{ font: [xe] }],
|
|
676
|
+
"fvn-normal": ["normal-nums"],
|
|
677
|
+
"fvn-ordinal": ["ordinal"],
|
|
678
|
+
"fvn-slashed-zero": ["slashed-zero"],
|
|
679
|
+
"fvn-figure": ["lining-nums", "oldstyle-nums"],
|
|
680
|
+
"fvn-spacing": ["proportional-nums", "tabular-nums"],
|
|
681
|
+
"fvn-fraction": ["diagonal-fractions", "stacked-fractons"],
|
|
682
|
+
tracking: [{ tracking: [
|
|
683
|
+
"tighter",
|
|
684
|
+
"tight",
|
|
685
|
+
"normal",
|
|
686
|
+
"wide",
|
|
687
|
+
"wider",
|
|
688
|
+
"widest",
|
|
689
|
+
R
|
|
690
|
+
] }],
|
|
691
|
+
"line-clamp": [{ "line-clamp": [
|
|
692
|
+
"none",
|
|
693
|
+
L,
|
|
694
|
+
fe
|
|
695
|
+
] }],
|
|
696
|
+
leading: [{ leading: [
|
|
697
|
+
"none",
|
|
698
|
+
"tight",
|
|
699
|
+
"snug",
|
|
700
|
+
"normal",
|
|
701
|
+
"relaxed",
|
|
702
|
+
"loose",
|
|
703
|
+
F,
|
|
704
|
+
R
|
|
705
|
+
] }],
|
|
706
|
+
"list-image": [{ "list-image": ["none", R] }],
|
|
707
|
+
"list-style-type": [{ list: [
|
|
708
|
+
"none",
|
|
709
|
+
"disc",
|
|
710
|
+
"decimal",
|
|
711
|
+
R
|
|
712
|
+
] }],
|
|
713
|
+
"list-style-position": [{ list: ["inside", "outside"] }],
|
|
714
|
+
"placeholder-color": [{ placeholder: [e] }],
|
|
715
|
+
"placeholder-opacity": [{ "placeholder-opacity": [_] }],
|
|
716
|
+
"text-alignment": [{ text: [
|
|
717
|
+
"left",
|
|
718
|
+
"center",
|
|
719
|
+
"right",
|
|
720
|
+
"justify",
|
|
721
|
+
"start",
|
|
722
|
+
"end"
|
|
723
|
+
] }],
|
|
724
|
+
"text-color": [{ text: [e] }],
|
|
725
|
+
"text-opacity": [{ "text-opacity": [_] }],
|
|
726
|
+
"text-decoration": [
|
|
727
|
+
"underline",
|
|
728
|
+
"overline",
|
|
729
|
+
"line-through",
|
|
730
|
+
"no-underline"
|
|
731
|
+
],
|
|
732
|
+
"text-decoration-style": [{ decoration: [...A(), "wavy"] }],
|
|
733
|
+
"text-decoration-thickness": [{ decoration: [
|
|
734
|
+
"auto",
|
|
735
|
+
"from-font",
|
|
736
|
+
F,
|
|
737
|
+
I
|
|
738
|
+
] }],
|
|
739
|
+
"underline-offset": [{ "underline-offset": [
|
|
740
|
+
"auto",
|
|
741
|
+
F,
|
|
742
|
+
R
|
|
743
|
+
] }],
|
|
744
|
+
"text-decoration-color": [{ decoration: [e] }],
|
|
745
|
+
"text-transform": [
|
|
746
|
+
"uppercase",
|
|
747
|
+
"lowercase",
|
|
748
|
+
"capitalize",
|
|
749
|
+
"normal-case"
|
|
750
|
+
],
|
|
751
|
+
"text-overflow": [
|
|
752
|
+
"truncate",
|
|
753
|
+
"text-ellipsis",
|
|
754
|
+
"text-clip"
|
|
755
|
+
],
|
|
756
|
+
"text-wrap": [{ text: [
|
|
757
|
+
"wrap",
|
|
758
|
+
"nowrap",
|
|
759
|
+
"balance",
|
|
760
|
+
"pretty"
|
|
761
|
+
] }],
|
|
762
|
+
indent: [{ indent: O() }],
|
|
763
|
+
"vertical-align": [{ align: [
|
|
764
|
+
"baseline",
|
|
765
|
+
"top",
|
|
766
|
+
"middle",
|
|
767
|
+
"bottom",
|
|
768
|
+
"text-top",
|
|
769
|
+
"text-bottom",
|
|
770
|
+
"sub",
|
|
771
|
+
"super",
|
|
772
|
+
R
|
|
773
|
+
] }],
|
|
774
|
+
whitespace: [{ whitespace: [
|
|
775
|
+
"normal",
|
|
776
|
+
"nowrap",
|
|
777
|
+
"pre",
|
|
778
|
+
"pre-line",
|
|
779
|
+
"pre-wrap",
|
|
780
|
+
"break-spaces"
|
|
781
|
+
] }],
|
|
782
|
+
break: [{ break: [
|
|
783
|
+
"normal",
|
|
784
|
+
"words",
|
|
785
|
+
"all",
|
|
786
|
+
"keep"
|
|
787
|
+
] }],
|
|
788
|
+
hyphens: [{ hyphens: [
|
|
789
|
+
"none",
|
|
790
|
+
"manual",
|
|
791
|
+
"auto"
|
|
792
|
+
] }],
|
|
793
|
+
content: [{ content: ["none", R] }],
|
|
794
|
+
"bg-attachment": [{ bg: [
|
|
795
|
+
"fixed",
|
|
796
|
+
"local",
|
|
797
|
+
"scroll"
|
|
798
|
+
] }],
|
|
799
|
+
"bg-clip": [{ "bg-clip": [
|
|
800
|
+
"border",
|
|
801
|
+
"padding",
|
|
802
|
+
"content",
|
|
803
|
+
"text"
|
|
804
|
+
] }],
|
|
805
|
+
"bg-opacity": [{ "bg-opacity": [_] }],
|
|
806
|
+
"bg-origin": [{ "bg-origin": [
|
|
807
|
+
"border",
|
|
808
|
+
"padding",
|
|
809
|
+
"content"
|
|
810
|
+
] }],
|
|
811
|
+
"bg-position": [{ bg: [...te(), _e] }],
|
|
812
|
+
"bg-repeat": [{ bg: ["no-repeat", { repeat: [
|
|
813
|
+
"",
|
|
814
|
+
"x",
|
|
815
|
+
"y",
|
|
816
|
+
"round",
|
|
817
|
+
"space"
|
|
818
|
+
] }] }],
|
|
819
|
+
"bg-size": [{ bg: [
|
|
820
|
+
"auto",
|
|
821
|
+
"cover",
|
|
822
|
+
"contain",
|
|
823
|
+
ge
|
|
824
|
+
] }],
|
|
825
|
+
"bg-image": [{ bg: [
|
|
826
|
+
"none",
|
|
827
|
+
{ "gradient-to": [
|
|
828
|
+
"t",
|
|
829
|
+
"tr",
|
|
830
|
+
"r",
|
|
831
|
+
"br",
|
|
832
|
+
"b",
|
|
833
|
+
"bl",
|
|
834
|
+
"l",
|
|
835
|
+
"tl"
|
|
836
|
+
] },
|
|
837
|
+
ye
|
|
838
|
+
] }],
|
|
839
|
+
"bg-color": [{ bg: [e] }],
|
|
840
|
+
"gradient-from-pos": [{ from: [m] }],
|
|
841
|
+
"gradient-via-pos": [{ via: [m] }],
|
|
842
|
+
"gradient-to-pos": [{ to: [m] }],
|
|
843
|
+
"gradient-from": [{ from: [p] }],
|
|
844
|
+
"gradient-via": [{ via: [p] }],
|
|
845
|
+
"gradient-to": [{ to: [p] }],
|
|
846
|
+
rounded: [{ rounded: [a] }],
|
|
847
|
+
"rounded-s": [{ "rounded-s": [a] }],
|
|
848
|
+
"rounded-e": [{ "rounded-e": [a] }],
|
|
849
|
+
"rounded-t": [{ "rounded-t": [a] }],
|
|
850
|
+
"rounded-r": [{ "rounded-r": [a] }],
|
|
851
|
+
"rounded-b": [{ "rounded-b": [a] }],
|
|
852
|
+
"rounded-l": [{ "rounded-l": [a] }],
|
|
853
|
+
"rounded-ss": [{ "rounded-ss": [a] }],
|
|
854
|
+
"rounded-se": [{ "rounded-se": [a] }],
|
|
855
|
+
"rounded-ee": [{ "rounded-ee": [a] }],
|
|
856
|
+
"rounded-es": [{ "rounded-es": [a] }],
|
|
857
|
+
"rounded-tl": [{ "rounded-tl": [a] }],
|
|
858
|
+
"rounded-tr": [{ "rounded-tr": [a] }],
|
|
859
|
+
"rounded-br": [{ "rounded-br": [a] }],
|
|
860
|
+
"rounded-bl": [{ "rounded-bl": [a] }],
|
|
861
|
+
"border-w": [{ border: [s] }],
|
|
862
|
+
"border-w-x": [{ "border-x": [s] }],
|
|
863
|
+
"border-w-y": [{ "border-y": [s] }],
|
|
864
|
+
"border-w-s": [{ "border-s": [s] }],
|
|
865
|
+
"border-w-e": [{ "border-e": [s] }],
|
|
866
|
+
"border-w-t": [{ "border-t": [s] }],
|
|
867
|
+
"border-w-r": [{ "border-r": [s] }],
|
|
868
|
+
"border-w-b": [{ "border-b": [s] }],
|
|
869
|
+
"border-w-l": [{ "border-l": [s] }],
|
|
870
|
+
"border-opacity": [{ "border-opacity": [_] }],
|
|
871
|
+
"border-style": [{ border: [...A(), "hidden"] }],
|
|
872
|
+
"divide-x": [{ "divide-x": [s] }],
|
|
873
|
+
"divide-x-reverse": ["divide-x-reverse"],
|
|
874
|
+
"divide-y": [{ "divide-y": [s] }],
|
|
875
|
+
"divide-y-reverse": ["divide-y-reverse"],
|
|
876
|
+
"divide-opacity": [{ "divide-opacity": [_] }],
|
|
877
|
+
"divide-style": [{ divide: A() }],
|
|
878
|
+
"border-color": [{ border: [i] }],
|
|
879
|
+
"border-color-x": [{ "border-x": [i] }],
|
|
880
|
+
"border-color-y": [{ "border-y": [i] }],
|
|
881
|
+
"border-color-s": [{ "border-s": [i] }],
|
|
882
|
+
"border-color-e": [{ "border-e": [i] }],
|
|
883
|
+
"border-color-t": [{ "border-t": [i] }],
|
|
884
|
+
"border-color-r": [{ "border-r": [i] }],
|
|
885
|
+
"border-color-b": [{ "border-b": [i] }],
|
|
886
|
+
"border-color-l": [{ "border-l": [i] }],
|
|
887
|
+
"divide-color": [{ divide: [i] }],
|
|
888
|
+
"outline-style": [{ outline: ["", ...A()] }],
|
|
889
|
+
"outline-offset": [{ "outline-offset": [F, R] }],
|
|
890
|
+
"outline-w": [{ outline: [F, I] }],
|
|
891
|
+
"outline-color": [{ outline: [e] }],
|
|
892
|
+
"ring-w": [{ ring: ee() }],
|
|
893
|
+
"ring-w-inset": ["ring-inset"],
|
|
894
|
+
"ring-color": [{ ring: [e] }],
|
|
895
|
+
"ring-opacity": [{ "ring-opacity": [_] }],
|
|
896
|
+
"ring-offset-w": [{ "ring-offset": [F, I] }],
|
|
897
|
+
"ring-offset-color": [{ "ring-offset": [e] }],
|
|
898
|
+
shadow: [{ shadow: [
|
|
899
|
+
"",
|
|
900
|
+
"inner",
|
|
901
|
+
"none",
|
|
902
|
+
z,
|
|
903
|
+
be
|
|
904
|
+
] }],
|
|
905
|
+
"shadow-color": [{ shadow: [xe] }],
|
|
906
|
+
opacity: [{ opacity: [_] }],
|
|
907
|
+
"mix-blend": [{ "mix-blend": [
|
|
908
|
+
...ne(),
|
|
909
|
+
"plus-lighter",
|
|
910
|
+
"plus-darker"
|
|
911
|
+
] }],
|
|
912
|
+
"bg-blend": [{ "bg-blend": ne() }],
|
|
913
|
+
filter: [{ filter: ["", "none"] }],
|
|
914
|
+
blur: [{ blur: [n] }],
|
|
915
|
+
brightness: [{ brightness: [r] }],
|
|
916
|
+
contrast: [{ contrast: [c] }],
|
|
917
|
+
"drop-shadow": [{ "drop-shadow": [
|
|
918
|
+
"",
|
|
919
|
+
"none",
|
|
920
|
+
z,
|
|
921
|
+
R
|
|
922
|
+
] }],
|
|
923
|
+
grayscale: [{ grayscale: [l] }],
|
|
924
|
+
"hue-rotate": [{ "hue-rotate": [u] }],
|
|
925
|
+
invert: [{ invert: [d] }],
|
|
926
|
+
saturate: [{ saturate: [y] }],
|
|
927
|
+
sepia: [{ sepia: [x] }],
|
|
928
|
+
"backdrop-filter": [{ "backdrop-filter": ["", "none"] }],
|
|
929
|
+
"backdrop-blur": [{ "backdrop-blur": [n] }],
|
|
930
|
+
"backdrop-brightness": [{ "backdrop-brightness": [r] }],
|
|
931
|
+
"backdrop-contrast": [{ "backdrop-contrast": [c] }],
|
|
932
|
+
"backdrop-grayscale": [{ "backdrop-grayscale": [l] }],
|
|
933
|
+
"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [u] }],
|
|
934
|
+
"backdrop-invert": [{ "backdrop-invert": [d] }],
|
|
935
|
+
"backdrop-opacity": [{ "backdrop-opacity": [_] }],
|
|
936
|
+
"backdrop-saturate": [{ "backdrop-saturate": [y] }],
|
|
937
|
+
"backdrop-sepia": [{ "backdrop-sepia": [x] }],
|
|
938
|
+
"border-collapse": [{ border: ["collapse", "separate"] }],
|
|
939
|
+
"border-spacing": [{ "border-spacing": [o] }],
|
|
940
|
+
"border-spacing-x": [{ "border-spacing-x": [o] }],
|
|
941
|
+
"border-spacing-y": [{ "border-spacing-y": [o] }],
|
|
942
|
+
"table-layout": [{ table: ["auto", "fixed"] }],
|
|
943
|
+
caption: [{ caption: ["top", "bottom"] }],
|
|
944
|
+
transition: [{ transition: [
|
|
945
|
+
"none",
|
|
946
|
+
"all",
|
|
947
|
+
"",
|
|
948
|
+
"colors",
|
|
949
|
+
"opacity",
|
|
950
|
+
"shadow",
|
|
951
|
+
"transform",
|
|
952
|
+
R
|
|
953
|
+
] }],
|
|
954
|
+
duration: [{ duration: N() }],
|
|
955
|
+
ease: [{ ease: [
|
|
956
|
+
"linear",
|
|
957
|
+
"in",
|
|
958
|
+
"out",
|
|
959
|
+
"in-out",
|
|
960
|
+
R
|
|
961
|
+
] }],
|
|
962
|
+
delay: [{ delay: N() }],
|
|
963
|
+
animate: [{ animate: [
|
|
964
|
+
"none",
|
|
965
|
+
"spin",
|
|
966
|
+
"ping",
|
|
967
|
+
"pulse",
|
|
968
|
+
"bounce",
|
|
969
|
+
R
|
|
970
|
+
] }],
|
|
971
|
+
transform: [{ transform: [
|
|
972
|
+
"",
|
|
973
|
+
"gpu",
|
|
974
|
+
"none"
|
|
975
|
+
] }],
|
|
976
|
+
scale: [{ scale: [b] }],
|
|
977
|
+
"scale-x": [{ "scale-x": [b] }],
|
|
978
|
+
"scale-y": [{ "scale-y": [b] }],
|
|
979
|
+
rotate: [{ rotate: [pe, R] }],
|
|
980
|
+
"translate-x": [{ "translate-x": [w] }],
|
|
981
|
+
"translate-y": [{ "translate-y": [w] }],
|
|
982
|
+
"skew-x": [{ "skew-x": [S] }],
|
|
983
|
+
"skew-y": [{ "skew-y": [S] }],
|
|
984
|
+
"transform-origin": [{ origin: [
|
|
985
|
+
"center",
|
|
986
|
+
"top",
|
|
987
|
+
"top-right",
|
|
988
|
+
"right",
|
|
989
|
+
"bottom-right",
|
|
990
|
+
"bottom",
|
|
991
|
+
"bottom-left",
|
|
992
|
+
"left",
|
|
993
|
+
"top-left",
|
|
994
|
+
R
|
|
995
|
+
] }],
|
|
996
|
+
accent: [{ accent: ["auto", e] }],
|
|
997
|
+
appearance: [{ appearance: ["none", "auto"] }],
|
|
998
|
+
cursor: [{ cursor: [
|
|
999
|
+
"auto",
|
|
1000
|
+
"default",
|
|
1001
|
+
"pointer",
|
|
1002
|
+
"wait",
|
|
1003
|
+
"text",
|
|
1004
|
+
"move",
|
|
1005
|
+
"help",
|
|
1006
|
+
"not-allowed",
|
|
1007
|
+
"none",
|
|
1008
|
+
"context-menu",
|
|
1009
|
+
"progress",
|
|
1010
|
+
"cell",
|
|
1011
|
+
"crosshair",
|
|
1012
|
+
"vertical-text",
|
|
1013
|
+
"alias",
|
|
1014
|
+
"copy",
|
|
1015
|
+
"no-drop",
|
|
1016
|
+
"grab",
|
|
1017
|
+
"grabbing",
|
|
1018
|
+
"all-scroll",
|
|
1019
|
+
"col-resize",
|
|
1020
|
+
"row-resize",
|
|
1021
|
+
"n-resize",
|
|
1022
|
+
"e-resize",
|
|
1023
|
+
"s-resize",
|
|
1024
|
+
"w-resize",
|
|
1025
|
+
"ne-resize",
|
|
1026
|
+
"nw-resize",
|
|
1027
|
+
"se-resize",
|
|
1028
|
+
"sw-resize",
|
|
1029
|
+
"ew-resize",
|
|
1030
|
+
"ns-resize",
|
|
1031
|
+
"nesw-resize",
|
|
1032
|
+
"nwse-resize",
|
|
1033
|
+
"zoom-in",
|
|
1034
|
+
"zoom-out",
|
|
1035
|
+
R
|
|
1036
|
+
] }],
|
|
1037
|
+
"caret-color": [{ caret: [e] }],
|
|
1038
|
+
"pointer-events": [{ "pointer-events": ["none", "auto"] }],
|
|
1039
|
+
resize: [{ resize: [
|
|
1040
|
+
"none",
|
|
1041
|
+
"y",
|
|
1042
|
+
"x",
|
|
1043
|
+
""
|
|
1044
|
+
] }],
|
|
1045
|
+
"scroll-behavior": [{ scroll: ["auto", "smooth"] }],
|
|
1046
|
+
"scroll-m": [{ "scroll-m": O() }],
|
|
1047
|
+
"scroll-mx": [{ "scroll-mx": O() }],
|
|
1048
|
+
"scroll-my": [{ "scroll-my": O() }],
|
|
1049
|
+
"scroll-ms": [{ "scroll-ms": O() }],
|
|
1050
|
+
"scroll-me": [{ "scroll-me": O() }],
|
|
1051
|
+
"scroll-mt": [{ "scroll-mt": O() }],
|
|
1052
|
+
"scroll-mr": [{ "scroll-mr": O() }],
|
|
1053
|
+
"scroll-mb": [{ "scroll-mb": O() }],
|
|
1054
|
+
"scroll-ml": [{ "scroll-ml": O() }],
|
|
1055
|
+
"scroll-p": [{ "scroll-p": O() }],
|
|
1056
|
+
"scroll-px": [{ "scroll-px": O() }],
|
|
1057
|
+
"scroll-py": [{ "scroll-py": O() }],
|
|
1058
|
+
"scroll-ps": [{ "scroll-ps": O() }],
|
|
1059
|
+
"scroll-pe": [{ "scroll-pe": O() }],
|
|
1060
|
+
"scroll-pt": [{ "scroll-pt": O() }],
|
|
1061
|
+
"scroll-pr": [{ "scroll-pr": O() }],
|
|
1062
|
+
"scroll-pb": [{ "scroll-pb": O() }],
|
|
1063
|
+
"scroll-pl": [{ "scroll-pl": O() }],
|
|
1064
|
+
"snap-align": [{ snap: [
|
|
1065
|
+
"start",
|
|
1066
|
+
"end",
|
|
1067
|
+
"center",
|
|
1068
|
+
"align-none"
|
|
1069
|
+
] }],
|
|
1070
|
+
"snap-stop": [{ snap: ["normal", "always"] }],
|
|
1071
|
+
"snap-type": [{ snap: [
|
|
1072
|
+
"none",
|
|
1073
|
+
"x",
|
|
1074
|
+
"y",
|
|
1075
|
+
"both"
|
|
1076
|
+
] }],
|
|
1077
|
+
"snap-strictness": [{ snap: ["mandatory", "proximity"] }],
|
|
1078
|
+
touch: [{ touch: [
|
|
1079
|
+
"auto",
|
|
1080
|
+
"none",
|
|
1081
|
+
"manipulation"
|
|
1082
|
+
] }],
|
|
1083
|
+
"touch-x": [{ "touch-pan": [
|
|
1084
|
+
"x",
|
|
1085
|
+
"left",
|
|
1086
|
+
"right"
|
|
1087
|
+
] }],
|
|
1088
|
+
"touch-y": [{ "touch-pan": [
|
|
1089
|
+
"y",
|
|
1090
|
+
"up",
|
|
1091
|
+
"down"
|
|
1092
|
+
] }],
|
|
1093
|
+
"touch-pz": ["touch-pinch-zoom"],
|
|
1094
|
+
select: [{ select: [
|
|
1095
|
+
"none",
|
|
1096
|
+
"text",
|
|
1097
|
+
"all",
|
|
1098
|
+
"auto"
|
|
1099
|
+
] }],
|
|
1100
|
+
"will-change": [{ "will-change": [
|
|
1101
|
+
"auto",
|
|
1102
|
+
"scroll",
|
|
1103
|
+
"contents",
|
|
1104
|
+
"transform",
|
|
1105
|
+
R
|
|
1106
|
+
] }],
|
|
1107
|
+
fill: [{ fill: [e, "none"] }],
|
|
1108
|
+
"stroke-w": [{ stroke: [
|
|
1109
|
+
F,
|
|
1110
|
+
I,
|
|
1111
|
+
fe
|
|
1112
|
+
] }],
|
|
1113
|
+
stroke: [{ stroke: [e, "none"] }],
|
|
1114
|
+
sr: ["sr-only", "not-sr-only"],
|
|
1115
|
+
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
|
|
1116
|
+
},
|
|
1117
|
+
conflictingClassGroups: {
|
|
1118
|
+
overflow: ["overflow-x", "overflow-y"],
|
|
1119
|
+
overscroll: ["overscroll-x", "overscroll-y"],
|
|
1120
|
+
inset: [
|
|
1121
|
+
"inset-x",
|
|
1122
|
+
"inset-y",
|
|
1123
|
+
"start",
|
|
1124
|
+
"end",
|
|
1125
|
+
"top",
|
|
1126
|
+
"right",
|
|
1127
|
+
"bottom",
|
|
1128
|
+
"left"
|
|
1129
|
+
],
|
|
1130
|
+
"inset-x": ["right", "left"],
|
|
1131
|
+
"inset-y": ["top", "bottom"],
|
|
1132
|
+
flex: [
|
|
1133
|
+
"basis",
|
|
1134
|
+
"grow",
|
|
1135
|
+
"shrink"
|
|
1136
|
+
],
|
|
1137
|
+
gap: ["gap-x", "gap-y"],
|
|
1138
|
+
p: [
|
|
1139
|
+
"px",
|
|
1140
|
+
"py",
|
|
1141
|
+
"ps",
|
|
1142
|
+
"pe",
|
|
1143
|
+
"pt",
|
|
1144
|
+
"pr",
|
|
1145
|
+
"pb",
|
|
1146
|
+
"pl"
|
|
1147
|
+
],
|
|
1148
|
+
px: ["pr", "pl"],
|
|
1149
|
+
py: ["pt", "pb"],
|
|
1150
|
+
m: [
|
|
1151
|
+
"mx",
|
|
1152
|
+
"my",
|
|
1153
|
+
"ms",
|
|
1154
|
+
"me",
|
|
1155
|
+
"mt",
|
|
1156
|
+
"mr",
|
|
1157
|
+
"mb",
|
|
1158
|
+
"ml"
|
|
1159
|
+
],
|
|
1160
|
+
mx: ["mr", "ml"],
|
|
1161
|
+
my: ["mt", "mb"],
|
|
1162
|
+
size: ["w", "h"],
|
|
1163
|
+
"font-size": ["leading"],
|
|
1164
|
+
"fvn-normal": [
|
|
1165
|
+
"fvn-ordinal",
|
|
1166
|
+
"fvn-slashed-zero",
|
|
1167
|
+
"fvn-figure",
|
|
1168
|
+
"fvn-spacing",
|
|
1169
|
+
"fvn-fraction"
|
|
1170
|
+
],
|
|
1171
|
+
"fvn-ordinal": ["fvn-normal"],
|
|
1172
|
+
"fvn-slashed-zero": ["fvn-normal"],
|
|
1173
|
+
"fvn-figure": ["fvn-normal"],
|
|
1174
|
+
"fvn-spacing": ["fvn-normal"],
|
|
1175
|
+
"fvn-fraction": ["fvn-normal"],
|
|
1176
|
+
"line-clamp": ["display", "overflow"],
|
|
1177
|
+
rounded: [
|
|
1178
|
+
"rounded-s",
|
|
1179
|
+
"rounded-e",
|
|
1180
|
+
"rounded-t",
|
|
1181
|
+
"rounded-r",
|
|
1182
|
+
"rounded-b",
|
|
1183
|
+
"rounded-l",
|
|
1184
|
+
"rounded-ss",
|
|
1185
|
+
"rounded-se",
|
|
1186
|
+
"rounded-ee",
|
|
1187
|
+
"rounded-es",
|
|
1188
|
+
"rounded-tl",
|
|
1189
|
+
"rounded-tr",
|
|
1190
|
+
"rounded-br",
|
|
1191
|
+
"rounded-bl"
|
|
1192
|
+
],
|
|
1193
|
+
"rounded-s": ["rounded-ss", "rounded-es"],
|
|
1194
|
+
"rounded-e": ["rounded-se", "rounded-ee"],
|
|
1195
|
+
"rounded-t": ["rounded-tl", "rounded-tr"],
|
|
1196
|
+
"rounded-r": ["rounded-tr", "rounded-br"],
|
|
1197
|
+
"rounded-b": ["rounded-br", "rounded-bl"],
|
|
1198
|
+
"rounded-l": ["rounded-tl", "rounded-bl"],
|
|
1199
|
+
"border-spacing": ["border-spacing-x", "border-spacing-y"],
|
|
1200
|
+
"border-w": [
|
|
1201
|
+
"border-w-s",
|
|
1202
|
+
"border-w-e",
|
|
1203
|
+
"border-w-t",
|
|
1204
|
+
"border-w-r",
|
|
1205
|
+
"border-w-b",
|
|
1206
|
+
"border-w-l"
|
|
1207
|
+
],
|
|
1208
|
+
"border-w-x": ["border-w-r", "border-w-l"],
|
|
1209
|
+
"border-w-y": ["border-w-t", "border-w-b"],
|
|
1210
|
+
"border-color": [
|
|
1211
|
+
"border-color-s",
|
|
1212
|
+
"border-color-e",
|
|
1213
|
+
"border-color-t",
|
|
1214
|
+
"border-color-r",
|
|
1215
|
+
"border-color-b",
|
|
1216
|
+
"border-color-l"
|
|
1217
|
+
],
|
|
1218
|
+
"border-color-x": ["border-color-r", "border-color-l"],
|
|
1219
|
+
"border-color-y": ["border-color-t", "border-color-b"],
|
|
1220
|
+
"scroll-m": [
|
|
1221
|
+
"scroll-mx",
|
|
1222
|
+
"scroll-my",
|
|
1223
|
+
"scroll-ms",
|
|
1224
|
+
"scroll-me",
|
|
1225
|
+
"scroll-mt",
|
|
1226
|
+
"scroll-mr",
|
|
1227
|
+
"scroll-mb",
|
|
1228
|
+
"scroll-ml"
|
|
1229
|
+
],
|
|
1230
|
+
"scroll-mx": ["scroll-mr", "scroll-ml"],
|
|
1231
|
+
"scroll-my": ["scroll-mt", "scroll-mb"],
|
|
1232
|
+
"scroll-p": [
|
|
1233
|
+
"scroll-px",
|
|
1234
|
+
"scroll-py",
|
|
1235
|
+
"scroll-ps",
|
|
1236
|
+
"scroll-pe",
|
|
1237
|
+
"scroll-pt",
|
|
1238
|
+
"scroll-pr",
|
|
1239
|
+
"scroll-pb",
|
|
1240
|
+
"scroll-pl"
|
|
1241
|
+
],
|
|
1242
|
+
"scroll-px": ["scroll-pr", "scroll-pl"],
|
|
1243
|
+
"scroll-py": ["scroll-pt", "scroll-pb"],
|
|
1244
|
+
touch: [
|
|
1245
|
+
"touch-x",
|
|
1246
|
+
"touch-y",
|
|
1247
|
+
"touch-pz"
|
|
1248
|
+
],
|
|
1249
|
+
"touch-x": ["touch"],
|
|
1250
|
+
"touch-y": ["touch"],
|
|
1251
|
+
"touch-pz": ["touch"]
|
|
1252
|
+
},
|
|
1253
|
+
conflictingClassGroupModifiers: { "font-size": ["leading"] }
|
|
1254
|
+
};
|
|
1255
|
+
}, Oe = (e, { cacheSize: t, prefix: n, separator: r, experimentalParseClassName: i, extend: a = {}, override: o = {} }) => {
|
|
1256
|
+
ke(e, "cacheSize", t), ke(e, "prefix", n), ke(e, "separator", r), ke(e, "experimentalParseClassName", i);
|
|
1257
|
+
for (let t in o) Ae(e[t], o[t]);
|
|
1258
|
+
for (let t in a) je(e[t], a[t]);
|
|
1259
|
+
return e;
|
|
1260
|
+
}, ke = (e, t, n) => {
|
|
1261
|
+
n !== void 0 && (e[t] = n);
|
|
1262
|
+
}, Ae = (e, t) => {
|
|
1263
|
+
if (t) for (let n in t) ke(e, n, t[n]);
|
|
1264
|
+
}, je = (e, t) => {
|
|
1265
|
+
if (t) for (let n in t) {
|
|
1266
|
+
let r = t[n];
|
|
1267
|
+
r !== void 0 && (e[n] = (e[n] || []).concat(r));
|
|
1268
|
+
}
|
|
1269
|
+
}, Me = (e, ...t) => typeof e == "function" ? N(De, e, ...t) : N(() => Oe(De(), e), ...t), Ne = /*#__PURE__*/ N(De), Pe = {
|
|
1270
|
+
twMerge: !0,
|
|
1271
|
+
twMergeConfig: {},
|
|
1272
|
+
responsiveVariants: !1
|
|
1273
|
+
}, Fe = (e) => e || void 0, Ie = (...e) => Fe(m(e).filter(Boolean).join(" ")), Le = null, B = {}, Re = !1, ze = (...e) => (t) => t.twMerge ? ((!Le || Re) && (Re = !1, Le = d(B) ? Ne : Me({
|
|
1274
|
+
...B,
|
|
1275
|
+
extend: {
|
|
1276
|
+
theme: B.theme,
|
|
1277
|
+
classGroups: B.classGroups,
|
|
1278
|
+
conflictingClassGroupModifiers: B.conflictingClassGroupModifiers,
|
|
1279
|
+
conflictingClassGroups: B.conflictingClassGroups,
|
|
1280
|
+
...B.extend
|
|
1281
|
+
}
|
|
1282
|
+
})), Fe(Le(Ie(e)))) : Ie(e), Be = (e, t) => {
|
|
1283
|
+
for (let n in t) e.hasOwnProperty(n) ? e[n] = Ie(e[n], t[n]) : e[n] = t[n];
|
|
1284
|
+
return e;
|
|
1285
|
+
}, Ve = (e, t) => {
|
|
1286
|
+
let { extend: n = null, slots: r = {}, variants: i = {}, compoundVariants: a = [], compoundSlots: o = [], defaultVariants: s = {} } = e, c = {
|
|
1287
|
+
...Pe,
|
|
1288
|
+
...t
|
|
1289
|
+
}, l = n != null && n.base ? Ie(n.base, e?.base) : e?.base, p = n != null && n.variants && !d(n.variants) ? g(i, n.variants) : i, m = n != null && n.defaultVariants && !d(n.defaultVariants) ? {
|
|
1290
|
+
...n.defaultVariants,
|
|
1291
|
+
...s
|
|
1292
|
+
} : s;
|
|
1293
|
+
!d(c.twMergeConfig) && !f(c.twMergeConfig, B) && (Re = !0, B = c.twMergeConfig);
|
|
1294
|
+
let v = d(n?.slots), y = d(r) ? {} : {
|
|
1295
|
+
base: Ie(e?.base, v && n?.base),
|
|
1296
|
+
...r
|
|
1297
|
+
}, b = v ? y : Be({ ...n?.slots }, d(y) ? { base: e?.base } : y), x = d(n?.compoundVariants) ? a : h(n?.compoundVariants, a), S = (e) => {
|
|
1298
|
+
if (d(p) && d(r) && v) return ze(l, e?.class, e?.className)(c);
|
|
1299
|
+
if (x && !Array.isArray(x)) throw TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof x}`);
|
|
1300
|
+
if (o && !Array.isArray(o)) throw TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof o}`);
|
|
1301
|
+
let t = (e, t, n = [], r) => {
|
|
1302
|
+
let i = n;
|
|
1303
|
+
if (typeof t == "string") i = i.concat(_(t).split(" ").map((t) => `${e}:${t}`));
|
|
1304
|
+
else if (Array.isArray(t)) i = i.concat(t.reduce((t, n) => t.concat(`${e}:${n}`), []));
|
|
1305
|
+
else if (typeof t == "object" && typeof r == "string") {
|
|
1306
|
+
for (let n in t) if (t.hasOwnProperty(n) && n === r) {
|
|
1307
|
+
let a = t[n];
|
|
1308
|
+
if (a && typeof a == "string") {
|
|
1309
|
+
let t = _(a);
|
|
1310
|
+
i[r] ? i[r] = i[r].concat(t.split(" ").map((t) => `${e}:${t}`)) : i[r] = t.split(" ").map((t) => `${e}:${t}`);
|
|
1311
|
+
} else Array.isArray(a) && a.length > 0 && (i[r] = a.reduce((t, n) => t.concat(`${e}:${n}`), []));
|
|
1312
|
+
}
|
|
1313
|
+
}
|
|
1314
|
+
return i;
|
|
1315
|
+
}, n = (n, r = p, i = null, a = null) => {
|
|
1316
|
+
let o = r[n];
|
|
1317
|
+
if (!o || d(o)) return null;
|
|
1318
|
+
let s = a?.[n] ?? e?.[n];
|
|
1319
|
+
if (s === null) return null;
|
|
1320
|
+
let l = u(s), f = Array.isArray(c.responsiveVariants) && c.responsiveVariants.length > 0 || c.responsiveVariants === !0, h = m?.[n], g = [];
|
|
1321
|
+
if (typeof l == "object" && f) for (let [e, n] of Object.entries(l)) {
|
|
1322
|
+
let r = o[n];
|
|
1323
|
+
if (e === "initial") {
|
|
1324
|
+
h = n;
|
|
1325
|
+
continue;
|
|
1326
|
+
}
|
|
1327
|
+
Array.isArray(c.responsiveVariants) && !c.responsiveVariants.includes(e) || (g = t(e, r, g, i));
|
|
1328
|
+
}
|
|
1329
|
+
let _ = o[(l != null && typeof l != "object" ? l : u(h)) || "false"];
|
|
1330
|
+
return typeof g == "object" && typeof i == "string" && g[i] ? Be(g, _) : g.length > 0 ? (g.push(_), i === "base" ? g.join(" ") : g) : _;
|
|
1331
|
+
}, i = () => p ? Object.keys(p).map((e) => n(e, p)) : null, a = (e, t) => {
|
|
1332
|
+
if (!p || typeof p != "object") return null;
|
|
1333
|
+
let r = [];
|
|
1334
|
+
for (let i in p) {
|
|
1335
|
+
let a = n(i, p, e, t), o = e === "base" && typeof a == "string" ? a : a && a[e];
|
|
1336
|
+
o && (r[r.length] = o);
|
|
1337
|
+
}
|
|
1338
|
+
return r;
|
|
1339
|
+
}, s = {};
|
|
1340
|
+
for (let t in e) e[t] !== void 0 && (s[t] = e[t]);
|
|
1341
|
+
let f = (t, n) => {
|
|
1342
|
+
let r = typeof e?.[t] == "object" ? { [t]: e[t]?.initial } : {};
|
|
1343
|
+
return {
|
|
1344
|
+
...m,
|
|
1345
|
+
...s,
|
|
1346
|
+
...r,
|
|
1347
|
+
...n
|
|
1348
|
+
};
|
|
1349
|
+
}, h = (e = [], t) => {
|
|
1350
|
+
let n = [];
|
|
1351
|
+
for (let { class: r, className: i, ...a } of e) {
|
|
1352
|
+
let e = !0;
|
|
1353
|
+
for (let [n, r] of Object.entries(a)) {
|
|
1354
|
+
let i = f(n, t)[n];
|
|
1355
|
+
if (Array.isArray(r)) {
|
|
1356
|
+
if (!r.includes(i)) {
|
|
1357
|
+
e = !1;
|
|
1358
|
+
break;
|
|
1359
|
+
}
|
|
1360
|
+
} else {
|
|
1361
|
+
let t = (e) => e == null || e === !1;
|
|
1362
|
+
if (t(r) && t(i)) continue;
|
|
1363
|
+
if (i !== r) {
|
|
1364
|
+
e = !1;
|
|
1365
|
+
break;
|
|
1366
|
+
}
|
|
1367
|
+
}
|
|
1368
|
+
}
|
|
1369
|
+
e && (r && n.push(r), i && n.push(i));
|
|
1370
|
+
}
|
|
1371
|
+
return n;
|
|
1372
|
+
}, g = (e) => {
|
|
1373
|
+
let t = h(x, e);
|
|
1374
|
+
if (!Array.isArray(t)) return t;
|
|
1375
|
+
let n = {};
|
|
1376
|
+
for (let e of t) if (typeof e == "string" && (n.base = ze(n.base, e)(c)), typeof e == "object") for (let [t, r] of Object.entries(e)) n[t] = ze(n[t], r)(c);
|
|
1377
|
+
return n;
|
|
1378
|
+
}, y = (e) => {
|
|
1379
|
+
if (o.length < 1) return null;
|
|
1380
|
+
let t = {};
|
|
1381
|
+
for (let { slots: n = [], class: r, className: i, ...a } of o) {
|
|
1382
|
+
if (!d(a)) {
|
|
1383
|
+
let t = !0;
|
|
1384
|
+
for (let n of Object.keys(a)) {
|
|
1385
|
+
let r = f(n, e)[n];
|
|
1386
|
+
if (r === void 0 || (Array.isArray(a[n]) ? !a[n].includes(r) : a[n] !== r)) {
|
|
1387
|
+
t = !1;
|
|
1388
|
+
break;
|
|
1389
|
+
}
|
|
1390
|
+
}
|
|
1391
|
+
if (!t) continue;
|
|
1392
|
+
}
|
|
1393
|
+
for (let e of n) t[e] = t[e] || [], t[e].push([r, i]);
|
|
1394
|
+
}
|
|
1395
|
+
return t;
|
|
1396
|
+
};
|
|
1397
|
+
if (!d(r) || !v) {
|
|
1398
|
+
let e = {};
|
|
1399
|
+
if (typeof b == "object" && !d(b)) for (let t of Object.keys(b)) e[t] = (e) => ze(b[t], a(t, e), (g(e) ?? [])[t], (y(e) ?? [])[t], e?.class, e?.className)(c);
|
|
1400
|
+
return e;
|
|
1401
|
+
}
|
|
1402
|
+
return ze(l, i(), h(x), e?.class, e?.className)(c);
|
|
1403
|
+
};
|
|
1404
|
+
return S.variantKeys = (() => {
|
|
1405
|
+
if (!(!p || typeof p != "object")) return Object.keys(p);
|
|
1406
|
+
})(), S.extend = n, S.base = l, S.slots = b, S.variants = p, S.defaultVariants = m, S.compoundSlots = o, S.compoundVariants = x, S;
|
|
1407
|
+
};
|
|
1408
|
+
Ve({
|
|
1409
|
+
base: ["preflight rounded typography-button relative flex items-center justify-center gap-2 border border-transparent group/button", "focus-visible:outline outline-1 outline-offset-1 outline-clr-primary"],
|
|
1410
|
+
slots: {
|
|
1411
|
+
icon: "",
|
|
1412
|
+
loader: "absolute",
|
|
1413
|
+
contentWrapper: "flex items-center justify-center gap-2"
|
|
1414
|
+
},
|
|
1415
|
+
variants: {
|
|
1416
|
+
variant: {
|
|
1417
|
+
primary: {},
|
|
1418
|
+
secondary: {},
|
|
1419
|
+
tertiary: {}
|
|
1420
|
+
},
|
|
1421
|
+
disabled: {
|
|
1422
|
+
true: "",
|
|
1423
|
+
false: ""
|
|
1424
|
+
},
|
|
1425
|
+
contentWidth: {
|
|
1426
|
+
true: "",
|
|
1427
|
+
false: ""
|
|
1428
|
+
},
|
|
1429
|
+
size: {
|
|
1430
|
+
small: "",
|
|
1431
|
+
medium: "",
|
|
1432
|
+
large: ""
|
|
1433
|
+
},
|
|
1434
|
+
link: {
|
|
1435
|
+
true: "",
|
|
1436
|
+
false: ""
|
|
1437
|
+
},
|
|
1438
|
+
inverted: {
|
|
1439
|
+
true: "",
|
|
1440
|
+
false: ""
|
|
1441
|
+
},
|
|
1442
|
+
iconPosition: {
|
|
1443
|
+
start: "",
|
|
1444
|
+
end: "flex-row-reverse"
|
|
1445
|
+
},
|
|
1446
|
+
loading: {
|
|
1447
|
+
true: { contentWrapper: "invisible" },
|
|
1448
|
+
false: ""
|
|
1449
|
+
},
|
|
1450
|
+
iconButton: {
|
|
1451
|
+
true: "",
|
|
1452
|
+
false: "py-[0.4375rem]"
|
|
1453
|
+
}
|
|
1454
|
+
},
|
|
1455
|
+
compoundVariants: [
|
|
1456
|
+
{
|
|
1457
|
+
variant: "primary",
|
|
1458
|
+
inverted: !1,
|
|
1459
|
+
class: {
|
|
1460
|
+
base: "bg-clr-primary text-clr-on-primary-high",
|
|
1461
|
+
icon: "fill-clr-on-primary-high"
|
|
1462
|
+
}
|
|
1463
|
+
},
|
|
1464
|
+
{
|
|
1465
|
+
variant: "primary",
|
|
1466
|
+
inverted: !0,
|
|
1467
|
+
class: {
|
|
1468
|
+
base: "bg-clr-primary-inverse text-clr-on-primary-high-inverse",
|
|
1469
|
+
icon: "fill-clr-on-primary-high-inverse"
|
|
1470
|
+
}
|
|
1471
|
+
},
|
|
1472
|
+
{
|
|
1473
|
+
variant: "primary",
|
|
1474
|
+
disabled: !0,
|
|
1475
|
+
inverted: !1,
|
|
1476
|
+
class: {
|
|
1477
|
+
base: "text-clr-disabled bg-clr-bg-disabled",
|
|
1478
|
+
icon: "fill-clr-disabled"
|
|
1479
|
+
}
|
|
1480
|
+
},
|
|
1481
|
+
{
|
|
1482
|
+
variant: "primary",
|
|
1483
|
+
disabled: !1,
|
|
1484
|
+
inverted: !1,
|
|
1485
|
+
class: { base: "hover:bg-clr-on-bg-low active:bg-clr-on-bg-low" }
|
|
1486
|
+
},
|
|
1487
|
+
{
|
|
1488
|
+
variant: "primary",
|
|
1489
|
+
disabled: !0,
|
|
1490
|
+
inverted: !0,
|
|
1491
|
+
class: {
|
|
1492
|
+
base: "text-clr-disabled-inverse bg-clr-bg-disabled-inverse",
|
|
1493
|
+
icon: "fill-clr-disabled-inverse"
|
|
1494
|
+
}
|
|
1495
|
+
},
|
|
1496
|
+
{
|
|
1497
|
+
variant: "primary",
|
|
1498
|
+
disabled: !1,
|
|
1499
|
+
inverted: !0,
|
|
1500
|
+
class: { base: "hover:bg-clr-on-bg-low-inverse active:bg-clr-on-bg-low-inverse" }
|
|
1501
|
+
},
|
|
1502
|
+
{
|
|
1503
|
+
variant: "secondary",
|
|
1504
|
+
inverted: !1,
|
|
1505
|
+
class: {
|
|
1506
|
+
base: "text-clr-primary border-clr-primary",
|
|
1507
|
+
icon: "fill-clr-primary"
|
|
1508
|
+
}
|
|
1509
|
+
},
|
|
1510
|
+
{
|
|
1511
|
+
variant: "secondary",
|
|
1512
|
+
inverted: !0,
|
|
1513
|
+
class: {
|
|
1514
|
+
base: "text-clr-primary-inverse border-clr-primary-inverse",
|
|
1515
|
+
icon: "fill-clr-primary-inverse"
|
|
1516
|
+
}
|
|
1517
|
+
},
|
|
1518
|
+
{
|
|
1519
|
+
variant: "secondary",
|
|
1520
|
+
disabled: !0,
|
|
1521
|
+
inverted: !1,
|
|
1522
|
+
class: {
|
|
1523
|
+
base: "text-clr-disabled border-clr-disabled",
|
|
1524
|
+
icon: "fill-clr-disabled"
|
|
1525
|
+
}
|
|
1526
|
+
},
|
|
1527
|
+
{
|
|
1528
|
+
variant: "secondary",
|
|
1529
|
+
disabled: !1,
|
|
1530
|
+
inverted: !1,
|
|
1531
|
+
class: {
|
|
1532
|
+
base: "hover:text-clr-on-bg-low hover:border-clr-on-bg-low active:text-clr-on-bg-low active:border-clr-on-bg-low",
|
|
1533
|
+
icon: "group-hover/button:fill-clr-on-bg-low group-active/button:fill-clr-on-bg-low"
|
|
1534
|
+
}
|
|
1535
|
+
},
|
|
1536
|
+
{
|
|
1537
|
+
variant: "secondary",
|
|
1538
|
+
disabled: !0,
|
|
1539
|
+
inverted: !0,
|
|
1540
|
+
class: {
|
|
1541
|
+
base: "text-clr-disabled-inverse border-clr-disabled-inverse",
|
|
1542
|
+
icon: "fill-clr-disabled-inverse"
|
|
1543
|
+
}
|
|
1544
|
+
},
|
|
1545
|
+
{
|
|
1546
|
+
variant: "secondary",
|
|
1547
|
+
disabled: !1,
|
|
1548
|
+
inverted: !0,
|
|
1549
|
+
class: {
|
|
1550
|
+
base: "hover:text-clr-on-bg-low-inverse hover:border-clr-on-bg-low-inverse active:text-clr-on-bg-low-inverse active:border-clr-on-bg-low-inverse",
|
|
1551
|
+
icon: "group-hover/button:fill-clr-on-bg-low-inverse group-active/button:fill-clr-on-bg-low-inverse"
|
|
1552
|
+
}
|
|
1553
|
+
},
|
|
1554
|
+
{
|
|
1555
|
+
variant: "tertiary",
|
|
1556
|
+
inverted: !1,
|
|
1557
|
+
class: {
|
|
1558
|
+
base: "text-clr-primary",
|
|
1559
|
+
icon: "fill-clr-primary"
|
|
1560
|
+
}
|
|
1561
|
+
},
|
|
1562
|
+
{
|
|
1563
|
+
variant: "tertiary",
|
|
1564
|
+
inverted: !0,
|
|
1565
|
+
class: {
|
|
1566
|
+
base: "text-clr-primary-inverse",
|
|
1567
|
+
icon: "fill-clr-primary-inverse"
|
|
1568
|
+
}
|
|
1569
|
+
},
|
|
1570
|
+
{
|
|
1571
|
+
variant: "tertiary",
|
|
1572
|
+
disabled: !0,
|
|
1573
|
+
inverted: !1,
|
|
1574
|
+
class: {
|
|
1575
|
+
base: "text-clr-disabled",
|
|
1576
|
+
icon: "fill-clr-disabled"
|
|
1577
|
+
}
|
|
1578
|
+
},
|
|
1579
|
+
{
|
|
1580
|
+
variant: "tertiary",
|
|
1581
|
+
disabled: !1,
|
|
1582
|
+
inverted: !1,
|
|
1583
|
+
class: {
|
|
1584
|
+
base: "hover:text-clr-on-bg-low active:text-clr-on-bg-low",
|
|
1585
|
+
icon: "group-hover/button:fill-clr-on-bg-low group-active/button:fill-clr-on-bg-low"
|
|
1586
|
+
}
|
|
1587
|
+
},
|
|
1588
|
+
{
|
|
1589
|
+
variant: "tertiary",
|
|
1590
|
+
disabled: !0,
|
|
1591
|
+
inverted: !0,
|
|
1592
|
+
class: {
|
|
1593
|
+
base: "text-clr-disabled-inverse",
|
|
1594
|
+
icon: "fill-clr-disabled-inverse"
|
|
1595
|
+
}
|
|
1596
|
+
},
|
|
1597
|
+
{
|
|
1598
|
+
variant: "tertiary",
|
|
1599
|
+
disabled: !1,
|
|
1600
|
+
inverted: !0,
|
|
1601
|
+
class: {
|
|
1602
|
+
base: "hover:text-clr-on-bg-low-inverse active:text-clr-on-bg-low-inverse",
|
|
1603
|
+
icon: "group-hover/button:fill-clr-on-bg-low-inverse group-active/button:fill-clr-on-bg-low-inverse"
|
|
1604
|
+
}
|
|
1605
|
+
},
|
|
1606
|
+
{
|
|
1607
|
+
contentWidth: !1,
|
|
1608
|
+
iconButton: !1,
|
|
1609
|
+
class: "w-full"
|
|
1610
|
+
},
|
|
1611
|
+
{
|
|
1612
|
+
contentWidth: !0,
|
|
1613
|
+
link: !0,
|
|
1614
|
+
class: "w-fit"
|
|
1615
|
+
},
|
|
1616
|
+
{
|
|
1617
|
+
iconButton: !1,
|
|
1618
|
+
variant: ["primary", "secondary"],
|
|
1619
|
+
class: "px-4"
|
|
1620
|
+
},
|
|
1621
|
+
{
|
|
1622
|
+
iconButton: !1,
|
|
1623
|
+
size: "medium",
|
|
1624
|
+
class: { icon: "w-4 h-4" }
|
|
1625
|
+
},
|
|
1626
|
+
{
|
|
1627
|
+
iconButton: !1,
|
|
1628
|
+
size: "large",
|
|
1629
|
+
class: {
|
|
1630
|
+
base: "py-[0.9375rem]",
|
|
1631
|
+
icon: "w-4 h-4"
|
|
1632
|
+
}
|
|
1633
|
+
},
|
|
1634
|
+
{
|
|
1635
|
+
iconButton: !0,
|
|
1636
|
+
size: "small",
|
|
1637
|
+
class: {
|
|
1638
|
+
base: "p-[0.1875rem]",
|
|
1639
|
+
icon: "w-4 h-4"
|
|
1640
|
+
}
|
|
1641
|
+
},
|
|
1642
|
+
{
|
|
1643
|
+
iconButton: !0,
|
|
1644
|
+
size: "medium",
|
|
1645
|
+
variant: ["primary", "secondary"],
|
|
1646
|
+
class: {
|
|
1647
|
+
base: "p-[0.4375rem]",
|
|
1648
|
+
icon: "w-4 h-4"
|
|
1649
|
+
}
|
|
1650
|
+
},
|
|
1651
|
+
{
|
|
1652
|
+
iconButton: !0,
|
|
1653
|
+
size: "medium",
|
|
1654
|
+
variant: "tertiary",
|
|
1655
|
+
class: {
|
|
1656
|
+
base: "p-[0.1875rem]",
|
|
1657
|
+
icon: "w-6 h-6"
|
|
1658
|
+
}
|
|
1659
|
+
},
|
|
1660
|
+
{
|
|
1661
|
+
iconButton: !0,
|
|
1662
|
+
size: "large",
|
|
1663
|
+
class: {
|
|
1664
|
+
base: "p-[0.6875rem]",
|
|
1665
|
+
icon: "w-6 h-6"
|
|
1666
|
+
}
|
|
1667
|
+
}
|
|
1668
|
+
]
|
|
1669
|
+
}), Ve({
|
|
1670
|
+
base: "preflight typography-input-text flex gap-2 items-start py-3 text-clr-on-bg-high relative",
|
|
1671
|
+
slots: {
|
|
1672
|
+
input: ["appearance-none relative w-6 h-6 rounded-sm border text-current cursor-pointer shrink-0", "focus-visible:outline focus-visible:outline-current focus-visible:outline-1 focus-visible:outline-offset-2"],
|
|
1673
|
+
icon: "w-[1.125rem] h-[1.125rem] absolute m-0.75 fill-current"
|
|
1674
|
+
},
|
|
1675
|
+
variants: {
|
|
1676
|
+
disabled: {
|
|
1677
|
+
true: {
|
|
1678
|
+
base: "text-clr-disabled border-clr-disabled",
|
|
1679
|
+
input: "bg-clr-bg-disabled",
|
|
1680
|
+
icon: "fill-clr-disabled"
|
|
1681
|
+
},
|
|
1682
|
+
false: { base: "hover:cursor-pointer hover:text-clr-on-bg-low" }
|
|
1683
|
+
},
|
|
1684
|
+
error: { true: {
|
|
1685
|
+
input: "border-clr-fg-error bg-clr-bg-error [&:checked::after]:bg-clr-fg-error",
|
|
1686
|
+
icon: "fill-clr-fg-error"
|
|
1687
|
+
} }
|
|
1688
|
+
}
|
|
1689
|
+
});
|
|
1690
|
+
var He = Ve({
|
|
1691
|
+
base: "preflight typography-input-helper-text w-full inline-block",
|
|
1692
|
+
variants: { type: {
|
|
1693
|
+
description: "text-clr-on-bg-mid",
|
|
1694
|
+
error: "text-clr-fg-error"
|
|
1695
|
+
} }
|
|
1696
|
+
}), Ue = ({ id: e, children: t, type: n = "description" }) => /* @__PURE__ */ o("p", {
|
|
1697
|
+
id: e,
|
|
1698
|
+
className: He({ type: n }),
|
|
1699
|
+
children: t
|
|
1700
|
+
}), We = Ve({ base: "preflight flex flex-col gap-1 w-full" }), Ge = ({ helperText: e, helperTextId: t, error: n = !1, errorText: r, errorTextId: i, className: a = "" }) => /* @__PURE__ */ s("div", {
|
|
1701
|
+
className: `${We()} ${a}`,
|
|
1702
|
+
children: [e && /* @__PURE__ */ o(Ue, {
|
|
1703
|
+
id: t,
|
|
1704
|
+
children: e
|
|
1705
|
+
}), n && r && /* @__PURE__ */ o(Ue, {
|
|
1706
|
+
id: i,
|
|
1707
|
+
type: "error",
|
|
1708
|
+
children: r
|
|
1709
|
+
})]
|
|
1710
|
+
});
|
|
1711
|
+
function Ke(e, t) {
|
|
1712
|
+
if (typeof e == "function") return e(t);
|
|
1713
|
+
e != null && (e.current = t);
|
|
1714
|
+
}
|
|
1715
|
+
function qe(...e) {
|
|
1716
|
+
return (t) => {
|
|
1717
|
+
let n = !1, r = e.map((e) => {
|
|
1718
|
+
let r = Ke(e, t);
|
|
1719
|
+
return !n && typeof r == "function" && (n = !0), r;
|
|
1720
|
+
});
|
|
1721
|
+
if (n) return () => {
|
|
1722
|
+
for (let t = 0; t < r.length; t++) {
|
|
1723
|
+
let n = r[t];
|
|
1724
|
+
typeof n == "function" ? n() : Ke(e[t], null);
|
|
1725
|
+
}
|
|
1726
|
+
};
|
|
1727
|
+
};
|
|
1728
|
+
}
|
|
1729
|
+
function Je(...t) {
|
|
1730
|
+
return e.useCallback(qe(...t), t);
|
|
1731
|
+
}
|
|
1732
|
+
// @__NO_SIDE_EFFECTS__
|
|
1733
|
+
function Ye(t) {
|
|
1734
|
+
let n = e.forwardRef((n, r) => {
|
|
1735
|
+
let { children: i, ...a } = n, o = null, s = !1, c = [];
|
|
1736
|
+
nt(i) && typeof ot == "function" && (i = ot(i._payload)), e.Children.forEach(i, (e) => {
|
|
1737
|
+
if (et(e)) {
|
|
1738
|
+
s = !0;
|
|
1739
|
+
let t = e, n = "child" in t.props ? t.props.child : t.props.children;
|
|
1740
|
+
nt(n) && typeof ot == "function" && (n = ot(n._payload)), o = Ze(t, n), c.push(o?.props?.children);
|
|
1741
|
+
} else c.push(e);
|
|
1742
|
+
}), o ? o = e.cloneElement(o, void 0, c) : !s && e.Children.count(i) === 1 && e.isValidElement(i) && (o = i);
|
|
1743
|
+
let l = o ? $e(o) : void 0, u = Je(r, l);
|
|
1744
|
+
if (!o) {
|
|
1745
|
+
if (i || i === 0) throw Error(s ? at(t) : it(t));
|
|
1746
|
+
return i;
|
|
1747
|
+
}
|
|
1748
|
+
let d = Qe(a, o.props ?? {});
|
|
1749
|
+
return o.type !== e.Fragment && (d.ref = r ? u : l), e.cloneElement(o, d);
|
|
1750
|
+
});
|
|
1751
|
+
return n.displayName = `${t}.Slot`, n;
|
|
1752
|
+
}
|
|
1753
|
+
var Xe = Symbol.for("radix.slottable"), Ze = (t, n) => {
|
|
1754
|
+
if ("child" in t.props) {
|
|
1755
|
+
let n = t.props.child;
|
|
1756
|
+
return e.isValidElement(n) ? e.cloneElement(n, void 0, t.props.children(n.props.children)) : null;
|
|
1757
|
+
}
|
|
1758
|
+
return e.isValidElement(n) ? n : null;
|
|
1759
|
+
};
|
|
1760
|
+
function Qe(e, t) {
|
|
1761
|
+
let n = { ...t };
|
|
1762
|
+
for (let r in t) {
|
|
1763
|
+
let i = e[r], a = t[r];
|
|
1764
|
+
/^on[A-Z]/.test(r) ? i && a ? n[r] = (...e) => {
|
|
1765
|
+
let t = a(...e);
|
|
1766
|
+
return i(...e), t;
|
|
1767
|
+
} : i && (n[r] = i) : r === "style" ? n[r] = {
|
|
1768
|
+
...i,
|
|
1769
|
+
...a
|
|
1770
|
+
} : r === "className" && (n[r] = [i, a].filter(Boolean).join(" "));
|
|
1771
|
+
}
|
|
1772
|
+
return {
|
|
1773
|
+
...e,
|
|
1774
|
+
...n
|
|
1775
|
+
};
|
|
1776
|
+
}
|
|
1777
|
+
function $e(e) {
|
|
1778
|
+
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
1779
|
+
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);
|
|
1780
|
+
}
|
|
1781
|
+
function et(t) {
|
|
1782
|
+
return e.isValidElement(t) && typeof t.type == "function" && "__radixId" in t.type && t.type.__radixId === Xe;
|
|
1783
|
+
}
|
|
1784
|
+
var tt = Symbol.for("react.lazy");
|
|
1785
|
+
function nt(e) {
|
|
1786
|
+
return typeof e == "object" && !!e && "$$typeof" in e && e.$$typeof === tt && "_payload" in e && rt(e._payload);
|
|
1787
|
+
}
|
|
1788
|
+
function rt(e) {
|
|
1789
|
+
return typeof e == "object" && !!e && "then" in e;
|
|
1790
|
+
}
|
|
1791
|
+
var it = (e) => `${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`, at = (e) => `${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`, ot = e.use;
|
|
1792
|
+
[
|
|
1793
|
+
"a",
|
|
1794
|
+
"button",
|
|
1795
|
+
"div",
|
|
1796
|
+
"form",
|
|
1797
|
+
"h2",
|
|
1798
|
+
"h3",
|
|
1799
|
+
"img",
|
|
1800
|
+
"input",
|
|
1801
|
+
"label",
|
|
1802
|
+
"li",
|
|
1803
|
+
"nav",
|
|
1804
|
+
"ol",
|
|
1805
|
+
"p",
|
|
1806
|
+
"select",
|
|
1807
|
+
"span",
|
|
1808
|
+
"svg",
|
|
1809
|
+
"ul"
|
|
1810
|
+
].reduce((t, n) => {
|
|
1811
|
+
let r = /* @__PURE__ */ Ye(`Primitive.${n}`), i = e.forwardRef((e, t) => {
|
|
1812
|
+
let { asChild: i, ...a } = e, s = i ? r : n;
|
|
1813
|
+
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ o(s, {
|
|
1814
|
+
...a,
|
|
1815
|
+
ref: t
|
|
1816
|
+
});
|
|
1817
|
+
});
|
|
1818
|
+
return i.displayName = `Primitive.${n}`, {
|
|
1819
|
+
...t,
|
|
1820
|
+
[n]: i
|
|
1821
|
+
};
|
|
1822
|
+
}, {}), Ve({
|
|
1823
|
+
slots: {
|
|
1824
|
+
root: [
|
|
1825
|
+
"preflight relative text-clr-primary fill-clr-primary pt-5",
|
|
1826
|
+
"[&_.input]:placeholder:typography-caption [&_.input]:text-ellipsis",
|
|
1827
|
+
"[&_.input]:placeholder:text-clr-on-bg-mid [&_.input]:placeholder:truncate",
|
|
1828
|
+
"[&_.input]:caret-clr-primary",
|
|
1829
|
+
"group"
|
|
1830
|
+
],
|
|
1831
|
+
inputWrapper: "relative border border-clr-primary rounded-sm group/input-wrapper",
|
|
1832
|
+
inputLabel: [
|
|
1833
|
+
"absolute start-0 duration-300 px-1.5 mx-1.5",
|
|
1834
|
+
"top-[2.0625rem]",
|
|
1835
|
+
"inline-block truncate max-w-[calc(100%-0.75rem)]",
|
|
1836
|
+
"pointer-events-none",
|
|
1837
|
+
"group-has-[input:autofill]:-translate-y-8",
|
|
1838
|
+
"group-has-[input:autofill]:typography-input-label"
|
|
1839
|
+
],
|
|
1840
|
+
helperTextSection: "",
|
|
1841
|
+
stateIndicator: ["hidden absolute bottom-0 start-0 w-full bg-clr-primary", "group-focus-within/input-wrapper:h-0.75 group-focus-within/input-wrapper:block"]
|
|
1842
|
+
},
|
|
1843
|
+
variants: {
|
|
1844
|
+
labelFloated: {
|
|
1845
|
+
true: { inputLabel: "typography-input-label -translate-y-8" },
|
|
1846
|
+
false: { inputLabel: "typography-input-text" }
|
|
1847
|
+
},
|
|
1848
|
+
disabled: {
|
|
1849
|
+
true: {
|
|
1850
|
+
root: "text-clr-disabled fill-clr-disabled pointer-events-none [&_.input]:placeholder:text-clr-disabled",
|
|
1851
|
+
inputWrapper: "border-clr-disabled",
|
|
1852
|
+
inputLabel: "text-clr-disabled"
|
|
1853
|
+
},
|
|
1854
|
+
false: { stateIndicator: ["group-hover/input-wrapper:h-0.25 group-hover/input-wrapper:block", "group-hover:group-focus-within/input-wrapper:h-0.75 group-hover:group-focus-within/input-wrapper:block"] }
|
|
1855
|
+
},
|
|
1856
|
+
error: { true: {
|
|
1857
|
+
root: "text-clr-fg-error fill-clr-fg-error [&_.input]:caret-clr-fg-error [&_.input]:caret-clr-fg-error",
|
|
1858
|
+
inputWrapper: "border-clr-fg-error",
|
|
1859
|
+
inputLabel: "text-clr-fg-error",
|
|
1860
|
+
stateIndicator: "bg-clr-fg-error"
|
|
1861
|
+
} },
|
|
1862
|
+
componentName: {
|
|
1863
|
+
select: { inputWrapper: "has-[[data-radix-popper-side=top]]:rounded-t-none has-[[data-radix-popper-side=bottom]]:rounded-b-none" },
|
|
1864
|
+
"password-field": "",
|
|
1865
|
+
"text-field": "",
|
|
1866
|
+
"search-field": "",
|
|
1867
|
+
textarea: ""
|
|
1868
|
+
},
|
|
1869
|
+
helperTextSectionVisible: {
|
|
1870
|
+
true: { helperTextSection: "mt-1 px-3" },
|
|
1871
|
+
false: {}
|
|
1872
|
+
}
|
|
1873
|
+
},
|
|
1874
|
+
compoundVariants: [{
|
|
1875
|
+
labelFloated: !1,
|
|
1876
|
+
componentName: [
|
|
1877
|
+
"select",
|
|
1878
|
+
"search-field",
|
|
1879
|
+
"password-field"
|
|
1880
|
+
],
|
|
1881
|
+
class: { inputLabel: "pe-7" }
|
|
1882
|
+
}]
|
|
1883
|
+
});
|
|
1884
|
+
var st = Ve({
|
|
1885
|
+
base: "preflight min-w-0",
|
|
1886
|
+
slots: { label: "typography-input-label text-clr-on-bg-mid truncate inline-block w-full" },
|
|
1887
|
+
variants: { horizontalPadding: { true: { base: "px-3" } } }
|
|
1888
|
+
}), ct = ({ label: e, children: t, error: n = !1, errorText: i = "", disabled: a = !1, helperText: c = "", required: l = !1, divider: u = !1, horizontalPadding: d = !1, "aria-label": f, "aria-labelledby": p, componentName: m }) => {
|
|
1889
|
+
let { base: h, label: g } = st({ horizontalPadding: d }), _ = r(), v = r(), y;
|
|
1890
|
+
return c && (y = _), n && i && (y = y ? y + " " + v : v), /* @__PURE__ */ s("fieldset", {
|
|
1891
|
+
className: h(),
|
|
1892
|
+
disabled: a,
|
|
1893
|
+
"data-bpds": m,
|
|
1894
|
+
"data-bpds-has-divider": u ? "true" : "false",
|
|
1895
|
+
"data-bpds-has-horizontal-padding": d ? "true" : "false",
|
|
1896
|
+
"aria-describedby": y,
|
|
1897
|
+
"aria-invalid": n ? "true" : void 0,
|
|
1898
|
+
"aria-label": f,
|
|
1899
|
+
"aria-labelledby": p,
|
|
1900
|
+
children: [
|
|
1901
|
+
e && /* @__PURE__ */ s("legend", {
|
|
1902
|
+
className: g(),
|
|
1903
|
+
children: [e, l && /* @__PURE__ */ o("span", { children: "*" })]
|
|
1904
|
+
}),
|
|
1905
|
+
t,
|
|
1906
|
+
/* @__PURE__ */ o(Ge, {
|
|
1907
|
+
helperText: c,
|
|
1908
|
+
error: n,
|
|
1909
|
+
errorText: i,
|
|
1910
|
+
helperTextId: _,
|
|
1911
|
+
errorTextId: v
|
|
1912
|
+
})
|
|
1913
|
+
]
|
|
1914
|
+
});
|
|
1915
|
+
}, lt = Object.defineProperty, ut = (e, t) => lt(e, "name", {
|
|
1916
|
+
value: t,
|
|
1917
|
+
configurable: !0
|
|
1918
|
+
}), dt = !!(typeof window < "u" && window.document && window.document.createElement);
|
|
1919
|
+
function V(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
|
|
1920
|
+
return /* @__PURE__ */ ut(function(r) {
|
|
1921
|
+
if (e?.(r), n === !1 || !r || !r.defaultPrevented) return t?.(r);
|
|
1922
|
+
}, "handleEvent");
|
|
1923
|
+
}
|
|
1924
|
+
ut(V, "composeEventHandlers");
|
|
1925
|
+
function ft(e) {
|
|
1926
|
+
if (!dt) throw Error("Cannot access window outside of the DOM");
|
|
1927
|
+
return e?.ownerDocument?.defaultView ?? window;
|
|
1928
|
+
}
|
|
1929
|
+
ut(ft, "getOwnerWindow");
|
|
1930
|
+
function pt(e) {
|
|
1931
|
+
if (!dt) throw Error("Cannot access document outside of the DOM");
|
|
1932
|
+
return e?.ownerDocument ?? document;
|
|
1933
|
+
}
|
|
1934
|
+
ut(pt, "getOwnerDocument");
|
|
1935
|
+
function mt(e, t = !1) {
|
|
1936
|
+
let { activeElement: n } = pt(e);
|
|
1937
|
+
if (!n?.nodeName) return null;
|
|
1938
|
+
if (ht(n) && n.contentDocument) return mt(n.contentDocument.body, t);
|
|
1939
|
+
if (t) {
|
|
1940
|
+
let e = n.getAttribute("aria-activedescendant");
|
|
1941
|
+
if (e) {
|
|
1942
|
+
let t = pt(n).getElementById(e);
|
|
1943
|
+
if (t) return t;
|
|
1944
|
+
}
|
|
1945
|
+
}
|
|
1946
|
+
return n;
|
|
1947
|
+
}
|
|
1948
|
+
ut(mt, "getActiveElement");
|
|
1949
|
+
function ht(e) {
|
|
1950
|
+
return e.tagName === "IFRAME";
|
|
1951
|
+
}
|
|
1952
|
+
ut(ht, "isFrame");
|
|
1953
|
+
//#endregion
|
|
1954
|
+
//#region ../../../node_modules/.pnpm/@radix-ui+react-compose-refs@1.1.3_@types+react@19.2.17_react@19.2.8/node_modules/@radix-ui/react-compose-refs/dist/index.mjs
|
|
1955
|
+
function gt(e, t) {
|
|
1956
|
+
if (typeof e == "function") return e(t);
|
|
1957
|
+
e != null && (e.current = t);
|
|
1958
|
+
}
|
|
1959
|
+
function _t(...e) {
|
|
1960
|
+
return (t) => {
|
|
1961
|
+
let n = !1, r = e.map((e) => {
|
|
1962
|
+
let r = gt(e, t);
|
|
1963
|
+
return !n && typeof r == "function" && (n = !0), r;
|
|
1964
|
+
});
|
|
1965
|
+
if (n) return () => {
|
|
1966
|
+
for (let t = 0; t < r.length; t++) {
|
|
1967
|
+
let n = r[t];
|
|
1968
|
+
typeof n == "function" ? n() : gt(e[t], null);
|
|
1969
|
+
}
|
|
1970
|
+
};
|
|
1971
|
+
};
|
|
1972
|
+
}
|
|
1973
|
+
function H(...t) {
|
|
1974
|
+
return e.useCallback(_t(...t), t);
|
|
1975
|
+
}
|
|
1976
|
+
//#endregion
|
|
1977
|
+
//#region ../../../node_modules/.pnpm/@radix-ui+react-context@1.2.0_@types+react@19.2.17_react@19.2.8/node_modules/@radix-ui/react-context/dist/index.mjs
|
|
1978
|
+
function vt(t, n = []) {
|
|
1979
|
+
let r = [];
|
|
1980
|
+
function i(n, i) {
|
|
1981
|
+
let a = e.createContext(i);
|
|
1982
|
+
a.displayName = n + "Context";
|
|
1983
|
+
let s = r.length;
|
|
1984
|
+
r = [...r, i];
|
|
1985
|
+
let c = (n) => {
|
|
1986
|
+
let { scope: r, children: i, ...c } = n, l = r?.[t]?.[s] || a, u = e.useMemo(() => c, Object.values(c));
|
|
1987
|
+
return /* @__PURE__ */ o(l.Provider, {
|
|
1988
|
+
value: u,
|
|
1989
|
+
children: i
|
|
1990
|
+
});
|
|
1991
|
+
};
|
|
1992
|
+
c.displayName = n + "Provider";
|
|
1993
|
+
function l(r, o, c = {}) {
|
|
1994
|
+
let { optional: l = !1 } = c, u = o?.[t]?.[s] || a, d = e.useContext(u);
|
|
1995
|
+
if (d) return d;
|
|
1996
|
+
if (i !== void 0) return i;
|
|
1997
|
+
if (!l) throw Error(`\`${r}\` must be used within \`${n}\``);
|
|
1998
|
+
}
|
|
1999
|
+
return [c, l];
|
|
2000
|
+
}
|
|
2001
|
+
let a = () => {
|
|
2002
|
+
let n = r.map((t) => e.createContext(t));
|
|
2003
|
+
return function(r) {
|
|
2004
|
+
let i = r?.[t] || n;
|
|
2005
|
+
return e.useMemo(() => ({ [`__scope${t}`]: {
|
|
2006
|
+
...r,
|
|
2007
|
+
[t]: i
|
|
2008
|
+
} }), [r, i]);
|
|
2009
|
+
};
|
|
2010
|
+
};
|
|
2011
|
+
return a.scopeName = t, [i, yt(a, ...n)];
|
|
2012
|
+
}
|
|
2013
|
+
function yt(...t) {
|
|
2014
|
+
let n = t[0];
|
|
2015
|
+
if (t.length === 1) return n;
|
|
2016
|
+
let r = () => {
|
|
2017
|
+
let r = t.map((e) => ({
|
|
2018
|
+
useScope: e(),
|
|
2019
|
+
scopeName: e.scopeName
|
|
2020
|
+
}));
|
|
2021
|
+
return function(t) {
|
|
2022
|
+
let i = r.reduce((e, { useScope: n, scopeName: r }) => {
|
|
2023
|
+
let i = n(t)[`__scope${r}`];
|
|
2024
|
+
return {
|
|
2025
|
+
...e,
|
|
2026
|
+
...i
|
|
2027
|
+
};
|
|
2028
|
+
}, {});
|
|
2029
|
+
return e.useMemo(() => ({ [`__scope${n.scopeName}`]: i }), [i]);
|
|
2030
|
+
};
|
|
2031
|
+
};
|
|
2032
|
+
return r.scopeName = n.scopeName, r;
|
|
2033
|
+
}
|
|
2034
|
+
//#endregion
|
|
2035
|
+
//#region ../../../node_modules/.pnpm/@radix-ui+react-slot@1.3.0_@types+react@19.2.17_react@19.2.8/node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
2036
|
+
// @__NO_SIDE_EFFECTS__
|
|
2037
|
+
function bt(t) {
|
|
2038
|
+
let n = e.forwardRef((n, r) => {
|
|
2039
|
+
let { children: i, ...a } = n, o = null, s = !1, c = [];
|
|
2040
|
+
Dt(i) && typeof jt == "function" && (i = jt(i._payload)), e.Children.forEach(i, (e) => {
|
|
2041
|
+
if (Tt(e)) {
|
|
2042
|
+
s = !0;
|
|
2043
|
+
let t = e, n = "child" in t.props ? t.props.child : t.props.children;
|
|
2044
|
+
Dt(n) && typeof jt == "function" && (n = jt(n._payload)), o = St(t, n), c.push(o?.props?.children);
|
|
2045
|
+
} else c.push(e);
|
|
2046
|
+
}), o ? o = e.cloneElement(o, void 0, c) : !s && e.Children.count(i) === 1 && e.isValidElement(i) && (o = i);
|
|
2047
|
+
let l = o ? wt(o) : void 0, u = H(r, l);
|
|
2048
|
+
if (!o) {
|
|
2049
|
+
if (i || i === 0) throw Error(s ? At(t) : kt(t));
|
|
2050
|
+
return i;
|
|
2051
|
+
}
|
|
2052
|
+
let d = Ct(a, o.props ?? {});
|
|
2053
|
+
return o.type !== e.Fragment && (d.ref = r ? u : l), e.cloneElement(o, d);
|
|
2054
|
+
});
|
|
2055
|
+
return n.displayName = `${t}.Slot`, n;
|
|
2056
|
+
}
|
|
2057
|
+
var xt = Symbol.for("radix.slottable"), St = (t, n) => {
|
|
2058
|
+
if ("child" in t.props) {
|
|
2059
|
+
let n = t.props.child;
|
|
2060
|
+
return e.isValidElement(n) ? e.cloneElement(n, void 0, t.props.children(n.props.children)) : null;
|
|
2061
|
+
}
|
|
2062
|
+
return e.isValidElement(n) ? n : null;
|
|
2063
|
+
};
|
|
2064
|
+
function Ct(e, t) {
|
|
2065
|
+
let n = { ...t };
|
|
2066
|
+
for (let r in t) {
|
|
2067
|
+
let i = e[r], a = t[r];
|
|
2068
|
+
/^on[A-Z]/.test(r) ? i && a ? n[r] = (...e) => {
|
|
2069
|
+
let t = a(...e);
|
|
2070
|
+
return i(...e), t;
|
|
2071
|
+
} : i && (n[r] = i) : r === "style" ? n[r] = {
|
|
2072
|
+
...i,
|
|
2073
|
+
...a
|
|
2074
|
+
} : r === "className" && (n[r] = [i, a].filter(Boolean).join(" "));
|
|
2075
|
+
}
|
|
2076
|
+
return {
|
|
2077
|
+
...e,
|
|
2078
|
+
...n
|
|
2079
|
+
};
|
|
2080
|
+
}
|
|
2081
|
+
function wt(e) {
|
|
2082
|
+
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
2083
|
+
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);
|
|
2084
|
+
}
|
|
2085
|
+
function Tt(t) {
|
|
2086
|
+
return e.isValidElement(t) && typeof t.type == "function" && "__radixId" in t.type && t.type.__radixId === xt;
|
|
2087
|
+
}
|
|
2088
|
+
var Et = Symbol.for("react.lazy");
|
|
2089
|
+
function Dt(e) {
|
|
2090
|
+
return typeof e == "object" && !!e && "$$typeof" in e && e.$$typeof === Et && "_payload" in e && Ot(e._payload);
|
|
2091
|
+
}
|
|
2092
|
+
function Ot(e) {
|
|
2093
|
+
return typeof e == "object" && !!e && "then" in e;
|
|
2094
|
+
}
|
|
2095
|
+
var kt = (e) => `${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`, At = (e) => `${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`, jt = e.use, Mt = [
|
|
2096
|
+
"a",
|
|
2097
|
+
"button",
|
|
2098
|
+
"div",
|
|
2099
|
+
"form",
|
|
2100
|
+
"h2",
|
|
2101
|
+
"h3",
|
|
2102
|
+
"img",
|
|
2103
|
+
"input",
|
|
2104
|
+
"label",
|
|
2105
|
+
"li",
|
|
2106
|
+
"nav",
|
|
2107
|
+
"ol",
|
|
2108
|
+
"p",
|
|
2109
|
+
"select",
|
|
2110
|
+
"span",
|
|
2111
|
+
"svg",
|
|
2112
|
+
"ul"
|
|
2113
|
+
].reduce((t, n) => {
|
|
2114
|
+
let r = /* @__PURE__ */ bt(`Primitive.${n}`), i = e.forwardRef((e, t) => {
|
|
2115
|
+
let { asChild: i, ...a } = e, s = i ? r : n;
|
|
2116
|
+
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ o(s, {
|
|
2117
|
+
...a,
|
|
2118
|
+
ref: t
|
|
2119
|
+
});
|
|
2120
|
+
});
|
|
2121
|
+
return i.displayName = `Primitive.${n}`, {
|
|
2122
|
+
...t,
|
|
2123
|
+
[n]: i
|
|
2124
|
+
};
|
|
2125
|
+
}, {});
|
|
2126
|
+
//#endregion
|
|
2127
|
+
//#region ../../../node_modules/.pnpm/@radix-ui+react-collection@1.1.12_@types+react-dom@19.2.3_@types+react@19.2.17__@types+_cd64a633f8e06003d23f19c2dfee53e7/node_modules/@radix-ui/react-collection/dist/index.mjs
|
|
2128
|
+
function Nt(t) {
|
|
2129
|
+
let n = t + "CollectionProvider", [r, i] = vt(n), [a, s] = r(n, {
|
|
2130
|
+
collectionRef: { current: null },
|
|
2131
|
+
itemMap: /* @__PURE__ */ new Map()
|
|
2132
|
+
}), c = (t) => {
|
|
2133
|
+
let { scope: n, children: r } = t, i = e.useRef(null), s = e.useRef(/* @__PURE__ */ new Map()).current;
|
|
2134
|
+
return /* @__PURE__ */ o(a, {
|
|
2135
|
+
scope: n,
|
|
2136
|
+
itemMap: s,
|
|
2137
|
+
collectionRef: i,
|
|
2138
|
+
children: r
|
|
2139
|
+
});
|
|
2140
|
+
};
|
|
2141
|
+
c.displayName = n;
|
|
2142
|
+
let l = t + "CollectionSlot", u = /* @__PURE__ */ bt(l), d = e.forwardRef((e, t) => {
|
|
2143
|
+
let { scope: n, children: r } = e, i = H(t, s(l, n).collectionRef);
|
|
2144
|
+
return /* @__PURE__ */ o(u, {
|
|
2145
|
+
ref: i,
|
|
2146
|
+
children: r
|
|
2147
|
+
});
|
|
2148
|
+
});
|
|
2149
|
+
d.displayName = l;
|
|
2150
|
+
let f = t + "CollectionItemSlot", p = "data-radix-collection-item", m = /* @__PURE__ */ bt(f), h = e.forwardRef((t, n) => {
|
|
2151
|
+
let { scope: r, children: i, ...a } = t, c = e.useRef(null), l = H(n, c), u = s(f, r);
|
|
2152
|
+
return e.useEffect(() => (u.itemMap.set(c, {
|
|
2153
|
+
ref: c,
|
|
2154
|
+
...a
|
|
2155
|
+
}), () => void u.itemMap.delete(c))), /* @__PURE__ */ o(m, {
|
|
2156
|
+
[p]: "",
|
|
2157
|
+
ref: l,
|
|
2158
|
+
children: i
|
|
2159
|
+
});
|
|
2160
|
+
});
|
|
2161
|
+
h.displayName = f;
|
|
2162
|
+
function g(n) {
|
|
2163
|
+
let r = s(t + "CollectionConsumer", n);
|
|
2164
|
+
return e.useCallback(() => {
|
|
2165
|
+
let e = r.collectionRef.current;
|
|
2166
|
+
if (!e) return [];
|
|
2167
|
+
let t = Array.from(e.querySelectorAll(`[${p}]`));
|
|
2168
|
+
return Array.from(r.itemMap.values()).sort((e, n) => t.indexOf(e.ref.current) - t.indexOf(n.ref.current));
|
|
2169
|
+
}, [r.collectionRef, r.itemMap]);
|
|
2170
|
+
}
|
|
2171
|
+
return [
|
|
2172
|
+
{
|
|
2173
|
+
Provider: c,
|
|
2174
|
+
Slot: d,
|
|
2175
|
+
ItemSlot: h
|
|
2176
|
+
},
|
|
2177
|
+
g,
|
|
2178
|
+
i
|
|
2179
|
+
];
|
|
2180
|
+
}
|
|
2181
|
+
//#endregion
|
|
2182
|
+
//#region ../../../node_modules/.pnpm/@radix-ui+react-use-layout-effect@1.1.2_@types+react@19.2.17_react@19.2.8/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
|
|
2183
|
+
var U = globalThis?.document ? e.useLayoutEffect : () => {}, Pt = e.useId || (() => void 0), Ft = 0;
|
|
2184
|
+
function It(t) {
|
|
2185
|
+
let [n, r] = e.useState(Pt());
|
|
2186
|
+
return U(() => {
|
|
2187
|
+
t || r((e) => e ?? String(Ft++));
|
|
2188
|
+
}, [t]), t || (n ? `radix-${n}` : "");
|
|
2189
|
+
}
|
|
2190
|
+
//#endregion
|
|
2191
|
+
//#region ../../../node_modules/.pnpm/@radix-ui+react-use-callback-ref@1.1.2_@types+react@19.2.17_react@19.2.8/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
|
|
2192
|
+
function Lt(t) {
|
|
2193
|
+
let n = e.useRef(t);
|
|
2194
|
+
return e.useEffect(() => {
|
|
2195
|
+
n.current = t;
|
|
2196
|
+
}), e.useMemo(() => ((...e) => n.current?.(...e)), []);
|
|
2197
|
+
}
|
|
2198
|
+
//#endregion
|
|
2199
|
+
//#region ../../../node_modules/.pnpm/@radix-ui+react-use-effect-event@0.0.3_@types+react@19.2.17_react@19.2.8/node_modules/@radix-ui/react-use-effect-event/dist/index.mjs
|
|
2200
|
+
var Rt = e.useEffectEvent, zt = e.useInsertionEffect;
|
|
2201
|
+
function Bt(t) {
|
|
2202
|
+
if (typeof Rt == "function") return Rt(t);
|
|
2203
|
+
let n = e.useRef(() => {
|
|
2204
|
+
throw Error("Cannot call an event handler while rendering.");
|
|
2205
|
+
});
|
|
2206
|
+
return typeof zt == "function" ? zt(() => {
|
|
2207
|
+
n.current = t;
|
|
2208
|
+
}) : U(() => {
|
|
2209
|
+
n.current = t;
|
|
2210
|
+
}), e.useMemo(() => ((...e) => n.current?.(...e)), []);
|
|
2211
|
+
}
|
|
2212
|
+
//#endregion
|
|
2213
|
+
//#region ../../../node_modules/.pnpm/@radix-ui+react-use-controllable-state@1.2.4_@types+react@19.2.17_react@19.2.8/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
|
|
2214
|
+
var Vt = Object.defineProperty, Ht = (e, t) => Vt(e, "name", {
|
|
2215
|
+
value: t,
|
|
2216
|
+
configurable: !0
|
|
2217
|
+
}), Ut = e.useInsertionEffect || U;
|
|
2218
|
+
function Wt({ prop: t, defaultProp: n, onChange: r = /* @__PURE__ */ Ht(() => {}, "onChange"), caller: i }) {
|
|
2219
|
+
let [a, o, s] = Gt({
|
|
2220
|
+
defaultProp: n,
|
|
2221
|
+
onChange: r
|
|
2222
|
+
}), c = t !== void 0;
|
|
2223
|
+
return [c ? t : a, e.useCallback((e) => {
|
|
2224
|
+
if (c) {
|
|
2225
|
+
let n = Kt(e) ? e(t) : e;
|
|
2226
|
+
n !== t && s.current?.(n);
|
|
2227
|
+
} else o(e);
|
|
2228
|
+
}, [
|
|
2229
|
+
c,
|
|
2230
|
+
t,
|
|
2231
|
+
o,
|
|
2232
|
+
s
|
|
2233
|
+
])];
|
|
2234
|
+
}
|
|
2235
|
+
Ht(Wt, "useControllableState");
|
|
2236
|
+
function Gt({ defaultProp: t, onChange: n }) {
|
|
2237
|
+
let [r, i] = e.useState(t), a = e.useRef(r), o = e.useRef(n);
|
|
2238
|
+
return Ut(() => {
|
|
2239
|
+
o.current = n;
|
|
2240
|
+
}, [n]), e.useEffect(() => {
|
|
2241
|
+
a.current !== r && (o.current?.(r), a.current = r);
|
|
2242
|
+
}, [r, a]), [
|
|
2243
|
+
r,
|
|
2244
|
+
i,
|
|
2245
|
+
o
|
|
2246
|
+
];
|
|
2247
|
+
}
|
|
2248
|
+
Ht(Gt, "useUncontrolledState");
|
|
2249
|
+
function Kt(e) {
|
|
2250
|
+
return typeof e == "function";
|
|
2251
|
+
}
|
|
2252
|
+
Ht(Kt, "isFunction");
|
|
2253
|
+
var qt = Symbol("RADIX:SYNC_STATE");
|
|
2254
|
+
function Jt(t, n, r, i) {
|
|
2255
|
+
let { prop: a, defaultProp: o, onChange: s, caller: c } = n, l = a !== void 0, u = Bt(s), d = [{
|
|
2256
|
+
...r,
|
|
2257
|
+
state: o
|
|
2258
|
+
}];
|
|
2259
|
+
i && d.push(i);
|
|
2260
|
+
let [f, p] = e.useReducer((e, n) => {
|
|
2261
|
+
if (n.type === qt) return {
|
|
2262
|
+
...e,
|
|
2263
|
+
state: n.state
|
|
2264
|
+
};
|
|
2265
|
+
let r = t(e, n);
|
|
2266
|
+
return l && !Object.is(r.state, e.state) && u(r.state), r;
|
|
2267
|
+
}, ...d), m = f.state, h = e.useRef(m);
|
|
2268
|
+
e.useEffect(() => {
|
|
2269
|
+
h.current !== m && (h.current = m, l || u(m));
|
|
2270
|
+
}, [
|
|
2271
|
+
m,
|
|
2272
|
+
h,
|
|
2273
|
+
l
|
|
2274
|
+
]);
|
|
2275
|
+
let g = e.useMemo(() => a === void 0 ? f : {
|
|
2276
|
+
...f,
|
|
2277
|
+
state: a
|
|
2278
|
+
}, [f, a]);
|
|
2279
|
+
return e.useEffect(() => {
|
|
2280
|
+
l && !Object.is(a, f.state) && p({
|
|
2281
|
+
type: qt,
|
|
2282
|
+
state: a
|
|
2283
|
+
});
|
|
2284
|
+
}, [
|
|
2285
|
+
a,
|
|
2286
|
+
f.state,
|
|
2287
|
+
l
|
|
2288
|
+
]), [g, p];
|
|
2289
|
+
}
|
|
2290
|
+
Ht(Jt, "useControllableStateReducer");
|
|
2291
|
+
//#endregion
|
|
2292
|
+
//#region ../../../node_modules/.pnpm/@radix-ui+react-direction@1.1.2_@types+react@19.2.17_react@19.2.8/node_modules/@radix-ui/react-direction/dist/index.mjs
|
|
2293
|
+
var Yt = e.createContext(void 0);
|
|
2294
|
+
function Xt(t) {
|
|
2295
|
+
let n = e.useContext(Yt);
|
|
2296
|
+
return t || n || "ltr";
|
|
2297
|
+
}
|
|
2298
|
+
//#endregion
|
|
2299
|
+
//#region ../../../node_modules/.pnpm/@radix-ui+react-use-is-hydrated@0.1.1_@types+react@19.2.17_react@19.2.8/node_modules/@radix-ui/react-use-is-hydrated/dist/index.mjs
|
|
2300
|
+
var Zt = !1;
|
|
2301
|
+
function Qt() {
|
|
2302
|
+
let [t, n] = e.useState(Zt);
|
|
2303
|
+
return e.useEffect(() => {
|
|
2304
|
+
Zt || (Zt = !0, n(!0));
|
|
2305
|
+
}, []), t;
|
|
2306
|
+
}
|
|
2307
|
+
var $t = e.useSyncExternalStore;
|
|
2308
|
+
function en() {
|
|
2309
|
+
return () => {};
|
|
2310
|
+
}
|
|
2311
|
+
function tn() {
|
|
2312
|
+
return $t(en, () => !0, () => !1);
|
|
2313
|
+
}
|
|
2314
|
+
var nn = typeof $t == "function" ? tn : Qt, rn = Object.defineProperty, W = (e, t) => rn(e, "name", {
|
|
2315
|
+
value: t,
|
|
2316
|
+
configurable: !0
|
|
2317
|
+
}), an = "rovingFocusGroup.onEntryFocus", on = {
|
|
2318
|
+
bubbles: !1,
|
|
2319
|
+
cancelable: !0
|
|
2320
|
+
}, sn = "RovingFocusGroup", [cn, ln, un] = Nt(sn), [dn, fn] = vt(sn, [un]), [pn, mn] = dn(sn), hn = /* @__PURE__ */ e.forwardRef(/* @__PURE__ */ W(function(e, t) {
|
|
2321
|
+
return /* @__PURE__ */ o(cn.Provider, {
|
|
2322
|
+
scope: e.__scopeRovingFocusGroup,
|
|
2323
|
+
children: /* @__PURE__ */ o(cn.Slot, {
|
|
2324
|
+
scope: e.__scopeRovingFocusGroup,
|
|
2325
|
+
children: /* @__PURE__ */ o(gn, {
|
|
2326
|
+
...e,
|
|
2327
|
+
ref: t
|
|
2328
|
+
})
|
|
2329
|
+
})
|
|
2330
|
+
});
|
|
2331
|
+
}, "RovingFocusGroup")), gn = /* @__PURE__ */ e.forwardRef(/* @__PURE__ */ W(function(t, n) {
|
|
2332
|
+
let { __scopeRovingFocusGroup: r, orientation: i, loop: a = !1, dir: s, currentTabStopId: c, defaultCurrentTabStopId: l, onCurrentTabStopIdChange: u, onEntryFocus: d, preventScrollOnEntryFocus: f = !1, ...p } = t, m = e.useRef(null), h = H(n, m), g = Xt(s), [_, v] = Wt({
|
|
2333
|
+
prop: c,
|
|
2334
|
+
defaultProp: l ?? null,
|
|
2335
|
+
onChange: u,
|
|
2336
|
+
caller: sn
|
|
2337
|
+
}), [y, b] = e.useState(!1), x = Lt(d), S = ln(r), C = e.useRef(!1), [w, T] = e.useState(0);
|
|
2338
|
+
return e.useEffect(() => {
|
|
2339
|
+
let e = m.current;
|
|
2340
|
+
if (e) return e.addEventListener(an, x), () => e.removeEventListener(an, x);
|
|
2341
|
+
}, [x]), /* @__PURE__ */ o(pn, {
|
|
2342
|
+
scope: r,
|
|
2343
|
+
orientation: i,
|
|
2344
|
+
dir: g,
|
|
2345
|
+
loop: a,
|
|
2346
|
+
currentTabStopId: _,
|
|
2347
|
+
onItemFocus: e.useCallback((e) => v(e), [v]),
|
|
2348
|
+
onItemShiftTab: e.useCallback(() => b(!0), []),
|
|
2349
|
+
onFocusableItemAdd: e.useCallback(() => T((e) => e + 1), []),
|
|
2350
|
+
onFocusableItemRemove: e.useCallback(() => T((e) => e - 1), []),
|
|
2351
|
+
children: /* @__PURE__ */ o(Mt.div, {
|
|
2352
|
+
tabIndex: y || w === 0 ? -1 : 0,
|
|
2353
|
+
"data-orientation": i,
|
|
2354
|
+
...p,
|
|
2355
|
+
ref: h,
|
|
2356
|
+
style: {
|
|
2357
|
+
outline: "none",
|
|
2358
|
+
...t.style
|
|
2359
|
+
},
|
|
2360
|
+
onMouseDown: V(t.onMouseDown, () => {
|
|
2361
|
+
C.current = !0;
|
|
2362
|
+
}),
|
|
2363
|
+
onFocus: V(t.onFocus, (e) => {
|
|
2364
|
+
let t = !C.current;
|
|
2365
|
+
if (e.target === e.currentTarget && t && !y) {
|
|
2366
|
+
let t = new CustomEvent(an, on);
|
|
2367
|
+
if (e.currentTarget.dispatchEvent(t), !t.defaultPrevented) {
|
|
2368
|
+
let e = S().filter((e) => e.focusable);
|
|
2369
|
+
Sn([
|
|
2370
|
+
e.find((e) => e.active),
|
|
2371
|
+
e.find((e) => e.id === _),
|
|
2372
|
+
...e
|
|
2373
|
+
].filter(Boolean).map((e) => e.ref.current), f);
|
|
2374
|
+
}
|
|
2375
|
+
}
|
|
2376
|
+
C.current = !1;
|
|
2377
|
+
}),
|
|
2378
|
+
onBlur: V(t.onBlur, () => b(!1))
|
|
2379
|
+
})
|
|
2380
|
+
});
|
|
2381
|
+
}, "RovingFocusGroupImpl")), _n = "RovingFocusGroupItem", vn = /* @__PURE__ */ e.forwardRef(/* @__PURE__ */ W(function(t, n) {
|
|
2382
|
+
let { __scopeRovingFocusGroup: r, focusable: i = !0, active: a = !1, tabStopId: s, children: c, ...l } = t, u = It(), d = s || u, f = mn(_n, r), p = f.currentTabStopId === d, m = ln(r), { onFocusableItemAdd: h, onFocusableItemRemove: g, currentTabStopId: _ } = f, v = nn();
|
|
2383
|
+
return U(() => {
|
|
2384
|
+
if (!(!v || !i)) return h(), () => g();
|
|
2385
|
+
}, [
|
|
2386
|
+
v,
|
|
2387
|
+
i,
|
|
2388
|
+
h,
|
|
2389
|
+
g
|
|
2390
|
+
]), e.useEffect(() => {
|
|
2391
|
+
if (!(v || !i)) return h(), () => g();
|
|
2392
|
+
}, [
|
|
2393
|
+
v,
|
|
2394
|
+
i,
|
|
2395
|
+
h,
|
|
2396
|
+
g
|
|
2397
|
+
]), /* @__PURE__ */ o(cn.ItemSlot, {
|
|
2398
|
+
scope: r,
|
|
2399
|
+
id: d,
|
|
2400
|
+
focusable: i,
|
|
2401
|
+
active: a,
|
|
2402
|
+
children: /* @__PURE__ */ o(Mt.span, {
|
|
2403
|
+
tabIndex: p ? 0 : -1,
|
|
2404
|
+
"data-orientation": f.orientation,
|
|
2405
|
+
...l,
|
|
2406
|
+
ref: n,
|
|
2407
|
+
onMouseDown: V(t.onMouseDown, (e) => {
|
|
2408
|
+
i ? f.onItemFocus(d) : e.preventDefault();
|
|
2409
|
+
}),
|
|
2410
|
+
onFocus: V(t.onFocus, () => f.onItemFocus(d)),
|
|
2411
|
+
onKeyDown: V(t.onKeyDown, (e) => {
|
|
2412
|
+
if (e.key === "Tab" && e.shiftKey) {
|
|
2413
|
+
f.onItemShiftTab();
|
|
2414
|
+
return;
|
|
2415
|
+
}
|
|
2416
|
+
if (e.target !== e.currentTarget) return;
|
|
2417
|
+
let t = xn(e, f.orientation, f.dir);
|
|
2418
|
+
if (t !== void 0) {
|
|
2419
|
+
if (e.metaKey || e.ctrlKey || e.altKey || e.shiftKey) return;
|
|
2420
|
+
e.preventDefault();
|
|
2421
|
+
let n = m().filter((e) => e.focusable).map((e) => e.ref.current);
|
|
2422
|
+
if (t === "last") n.reverse();
|
|
2423
|
+
else if (t === "prev" || t === "next") {
|
|
2424
|
+
t === "prev" && n.reverse();
|
|
2425
|
+
let r = n.indexOf(e.currentTarget);
|
|
2426
|
+
n = f.loop ? Cn(n, r + 1) : n.slice(r + 1);
|
|
2427
|
+
}
|
|
2428
|
+
setTimeout(() => Sn(n));
|
|
2429
|
+
}
|
|
2430
|
+
}),
|
|
2431
|
+
children: typeof c == "function" ? c({
|
|
2432
|
+
isCurrentTabStop: p,
|
|
2433
|
+
hasTabStop: _ != null
|
|
2434
|
+
}) : c
|
|
2435
|
+
})
|
|
2436
|
+
});
|
|
2437
|
+
}, "RovingFocusGroupItem")), yn = {
|
|
2438
|
+
ArrowLeft: "prev",
|
|
2439
|
+
ArrowUp: "prev",
|
|
2440
|
+
ArrowRight: "next",
|
|
2441
|
+
ArrowDown: "next",
|
|
2442
|
+
PageUp: "first",
|
|
2443
|
+
Home: "first",
|
|
2444
|
+
PageDown: "last",
|
|
2445
|
+
End: "last"
|
|
2446
|
+
};
|
|
2447
|
+
function bn(e, t) {
|
|
2448
|
+
return t === "rtl" ? e === "ArrowLeft" ? "ArrowRight" : e === "ArrowRight" ? "ArrowLeft" : e : e;
|
|
2449
|
+
}
|
|
2450
|
+
W(bn, "getDirectionAwareKey");
|
|
2451
|
+
function xn(e, t, n) {
|
|
2452
|
+
let r = bn(e.key, n);
|
|
2453
|
+
if (!(t === "vertical" && ["ArrowLeft", "ArrowRight"].includes(r)) && !(t === "horizontal" && ["ArrowUp", "ArrowDown"].includes(r))) return yn[r];
|
|
2454
|
+
}
|
|
2455
|
+
W(xn, "getFocusIntent");
|
|
2456
|
+
function Sn(e, t = !1) {
|
|
2457
|
+
let n = document.activeElement;
|
|
2458
|
+
for (let r of e) if (r === n || (r.focus({ preventScroll: t }), document.activeElement !== n)) return;
|
|
2459
|
+
}
|
|
2460
|
+
W(Sn, "focusFirst");
|
|
2461
|
+
function Cn(e, t) {
|
|
2462
|
+
return e.map((n, r) => e[(t + r) % e.length]);
|
|
2463
|
+
}
|
|
2464
|
+
W(Cn, "wrapArray");
|
|
2465
|
+
var wn = hn, Tn = vn;
|
|
2466
|
+
//#endregion
|
|
2467
|
+
//#region ../../../node_modules/.pnpm/@radix-ui+react-use-size@1.1.2_@types+react@19.2.17_react@19.2.8/node_modules/@radix-ui/react-use-size/dist/index.mjs
|
|
2468
|
+
function En(t) {
|
|
2469
|
+
let [n, r] = e.useState(void 0);
|
|
2470
|
+
return U(() => {
|
|
2471
|
+
if (t) {
|
|
2472
|
+
r({
|
|
2473
|
+
width: t.offsetWidth,
|
|
2474
|
+
height: t.offsetHeight
|
|
2475
|
+
});
|
|
2476
|
+
let e = new ResizeObserver((e) => {
|
|
2477
|
+
if (!Array.isArray(e) || !e.length) return;
|
|
2478
|
+
let n = e[0], i, a;
|
|
2479
|
+
if ("borderBoxSize" in n) {
|
|
2480
|
+
let e = n.borderBoxSize, t = Array.isArray(e) ? e[0] : e;
|
|
2481
|
+
i = t.inlineSize, a = t.blockSize;
|
|
2482
|
+
} else i = t.offsetWidth, a = t.offsetHeight;
|
|
2483
|
+
r({
|
|
2484
|
+
width: i,
|
|
2485
|
+
height: a
|
|
2486
|
+
});
|
|
2487
|
+
});
|
|
2488
|
+
return e.observe(t, { box: "border-box" }), () => e.unobserve(t);
|
|
2489
|
+
} else r(void 0);
|
|
2490
|
+
}, [t]), n;
|
|
2491
|
+
}
|
|
2492
|
+
//#endregion
|
|
2493
|
+
//#region ../../../node_modules/.pnpm/@radix-ui+react-presence@1.1.8_@types+react-dom@19.2.3_@types+react@19.2.17__@types+rea_769b65d0b8ef3be4d2c71924101e75de/node_modules/@radix-ui/react-presence/dist/index.mjs
|
|
2494
|
+
var Dn = Object.defineProperty, G = (e, t) => Dn(e, "name", {
|
|
2495
|
+
value: t,
|
|
2496
|
+
configurable: !0
|
|
2497
|
+
});
|
|
2498
|
+
function On(t, n) {
|
|
2499
|
+
return e.useReducer((e, t) => n[e][t] ?? e, t);
|
|
2500
|
+
}
|
|
2501
|
+
G(On, "useStateMachine");
|
|
2502
|
+
var kn = /* @__PURE__ */ G((t) => {
|
|
2503
|
+
let { present: n, children: r } = t, i = An(n), a = typeof r == "function" ? r({ present: i.isPresent }) : e.Children.only(r), o = Mn(i.ref, Pn(a));
|
|
2504
|
+
return typeof r == "function" || i.isPresent ? e.cloneElement(a, { ref: o }) : null;
|
|
2505
|
+
}, "Presence");
|
|
2506
|
+
function An(t) {
|
|
2507
|
+
let [n, r] = e.useState(), i = e.useRef(null), a = e.useRef(t), o = e.useRef("none"), s = e.useRef(void 0), [c, l] = On(t ? "mounted" : "unmounted", {
|
|
2508
|
+
mounted: {
|
|
2509
|
+
UNMOUNT: "unmounted",
|
|
2510
|
+
ANIMATION_OUT: "unmountSuspended"
|
|
2511
|
+
},
|
|
2512
|
+
unmountSuspended: {
|
|
2513
|
+
MOUNT: "mounted",
|
|
2514
|
+
ANIMATION_END: "unmounted"
|
|
2515
|
+
},
|
|
2516
|
+
unmounted: { MOUNT: "mounted" }
|
|
2517
|
+
});
|
|
2518
|
+
return e.useEffect(() => {
|
|
2519
|
+
c === "mounted" ? (o.current = s.current ?? Nn(i.current), s.current = void 0) : o.current = "none";
|
|
2520
|
+
}, [c]), U(() => {
|
|
2521
|
+
let e = i.current, n = a.current;
|
|
2522
|
+
if (n !== t) {
|
|
2523
|
+
let r = o.current, i = Nn(e);
|
|
2524
|
+
t ? (s.current = i, l("MOUNT")) : i === "none" || e?.display === "none" ? l("UNMOUNT") : l(n && r !== i ? "ANIMATION_OUT" : "UNMOUNT"), a.current = t;
|
|
2525
|
+
}
|
|
2526
|
+
}, [t, l]), U(() => {
|
|
2527
|
+
if (n) {
|
|
2528
|
+
let e, t = n.ownerDocument.defaultView ?? window, r = /* @__PURE__ */ G((r) => {
|
|
2529
|
+
let o = Nn(i.current).includes(CSS.escape(r.animationName));
|
|
2530
|
+
if (r.target === n && o && (l("ANIMATION_END"), !a.current)) {
|
|
2531
|
+
let r = n.style.animationFillMode;
|
|
2532
|
+
n.style.animationFillMode = "forwards", e = t.setTimeout(() => {
|
|
2533
|
+
n.style.animationFillMode === "forwards" && (n.style.animationFillMode = r);
|
|
2534
|
+
});
|
|
2535
|
+
}
|
|
2536
|
+
}, "handleAnimationEnd"), s = /* @__PURE__ */ G((e) => {
|
|
2537
|
+
e.target === n && (o.current = Nn(i.current));
|
|
2538
|
+
}, "handleAnimationStart");
|
|
2539
|
+
return n.addEventListener("animationstart", s), n.addEventListener("animationcancel", r), n.addEventListener("animationend", r), () => {
|
|
2540
|
+
t.clearTimeout(e), n.removeEventListener("animationstart", s), n.removeEventListener("animationcancel", r), n.removeEventListener("animationend", r);
|
|
2541
|
+
};
|
|
2542
|
+
} else l("ANIMATION_END");
|
|
2543
|
+
}, [n, l]), {
|
|
2544
|
+
isPresent: ["mounted", "unmountSuspended"].includes(c),
|
|
2545
|
+
ref: e.useCallback((e) => {
|
|
2546
|
+
if (e) {
|
|
2547
|
+
let t = getComputedStyle(e);
|
|
2548
|
+
i.current = t, s.current = Nn(t);
|
|
2549
|
+
} else i.current = null;
|
|
2550
|
+
r(e);
|
|
2551
|
+
}, [])
|
|
2552
|
+
};
|
|
2553
|
+
}
|
|
2554
|
+
G(An, "usePresence");
|
|
2555
|
+
function jn(e, t) {
|
|
2556
|
+
if (typeof e == "function") return e(t);
|
|
2557
|
+
e != null && (e.current = t);
|
|
2558
|
+
}
|
|
2559
|
+
G(jn, "setRef");
|
|
2560
|
+
function Mn(...t) {
|
|
2561
|
+
let n = e.useRef(t);
|
|
2562
|
+
return n.current = t, e.useCallback((e) => {
|
|
2563
|
+
let t = n.current, r = !1, i = t.map((t) => {
|
|
2564
|
+
let n = jn(t, e);
|
|
2565
|
+
return !r && typeof n == "function" && (r = !0), n;
|
|
2566
|
+
});
|
|
2567
|
+
if (r) return () => {
|
|
2568
|
+
for (let e = 0; e < i.length; e++) {
|
|
2569
|
+
let n = i[e];
|
|
2570
|
+
typeof n == "function" ? n() : jn(t[e], null);
|
|
2571
|
+
}
|
|
2572
|
+
};
|
|
2573
|
+
}, []);
|
|
2574
|
+
}
|
|
2575
|
+
G(Mn, "useStableComposedRefs");
|
|
2576
|
+
function Nn(e) {
|
|
2577
|
+
return e?.animationName || "none";
|
|
2578
|
+
}
|
|
2579
|
+
G(Nn, "getAnimationName");
|
|
2580
|
+
function Pn(e) {
|
|
2581
|
+
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
2582
|
+
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);
|
|
2583
|
+
}
|
|
2584
|
+
G(Pn, "getElementRef");
|
|
2585
|
+
//#endregion
|
|
2586
|
+
//#region ../../../node_modules/.pnpm/@radix-ui+react-radio-group@1.4.4_@types+react-dom@19.2.3_@types+react@19.2.17__@types+_444b841f5e80167ea805f3dacfccdf71/node_modules/@radix-ui/react-radio-group/dist/index.mjs
|
|
2587
|
+
var Fn = Object.defineProperty, K = (e, t) => Fn(e, "name", {
|
|
2588
|
+
value: t,
|
|
2589
|
+
configurable: !0
|
|
2590
|
+
}), In = "Radio", [Ln, Rn] = vt(In), [zn, Bn] = Ln(In);
|
|
2591
|
+
function Vn(t) {
|
|
2592
|
+
let { __scopeRadio: n, checked: r = !1, children: i, disabled: a, form: s, name: c, onCheck: l, required: u, value: d = "on", internal_do_not_use_render: f } = t, [p, m] = e.useState(null), [h, g] = e.useState(null), _ = e.useRef(!1), [v, y] = e.useReducer((e) => e + 1, 0), b = {
|
|
2593
|
+
checked: r,
|
|
2594
|
+
disabled: a,
|
|
2595
|
+
required: u,
|
|
2596
|
+
name: c,
|
|
2597
|
+
form: s,
|
|
2598
|
+
value: d,
|
|
2599
|
+
control: p,
|
|
2600
|
+
setControl: m,
|
|
2601
|
+
hasConsumerStoppedPropagationRef: _,
|
|
2602
|
+
userInteractionCount: v,
|
|
2603
|
+
onUserInteraction: y,
|
|
2604
|
+
isFormControl: !p || !!s || !!p.closest("form"),
|
|
2605
|
+
bubbleInput: h,
|
|
2606
|
+
setBubbleInput: g,
|
|
2607
|
+
onCheck: /* @__PURE__ */ K(() => l?.(), "onCheck")
|
|
2608
|
+
};
|
|
2609
|
+
return /* @__PURE__ */ o(zn, {
|
|
2610
|
+
scope: n,
|
|
2611
|
+
...b,
|
|
2612
|
+
children: Jn(f) ? f(b) : i
|
|
2613
|
+
});
|
|
2614
|
+
}
|
|
2615
|
+
K(Vn, "RadioProvider");
|
|
2616
|
+
var Hn = "RadioTrigger", Un = /* @__PURE__ */ e.forwardRef(/* @__PURE__ */ K(function({ __scopeRadio: e, onClick: t, ...n }, r) {
|
|
2617
|
+
let { checked: i, disabled: a, value: s, setControl: c, onCheck: l, hasConsumerStoppedPropagationRef: u, onUserInteraction: d, isFormControl: f, bubbleInput: p } = Bn(Hn, e), m = H(r, c);
|
|
2618
|
+
return /* @__PURE__ */ o(Mt.button, {
|
|
2619
|
+
type: "button",
|
|
2620
|
+
role: "radio",
|
|
2621
|
+
"aria-checked": i,
|
|
2622
|
+
"data-state": Yn(i),
|
|
2623
|
+
"data-disabled": a ? "" : void 0,
|
|
2624
|
+
disabled: a,
|
|
2625
|
+
value: s,
|
|
2626
|
+
...n,
|
|
2627
|
+
ref: m,
|
|
2628
|
+
onClick: V(t, (e) => {
|
|
2629
|
+
i || (d(), l()), p && f && (u.current = e.isPropagationStopped(), u.current || e.stopPropagation());
|
|
2630
|
+
})
|
|
2631
|
+
});
|
|
2632
|
+
}, "RadioTrigger")), Wn = "RadioIndicator", Gn = /* @__PURE__ */ e.forwardRef(/* @__PURE__ */ K(function(e, t) {
|
|
2633
|
+
let { __scopeRadio: n, forceMount: r, ...i } = e, a = Bn(Wn, n);
|
|
2634
|
+
return /* @__PURE__ */ o(kn, {
|
|
2635
|
+
present: r || a.checked,
|
|
2636
|
+
children: /* @__PURE__ */ o(Mt.span, {
|
|
2637
|
+
"data-state": Yn(a.checked),
|
|
2638
|
+
"data-disabled": a.disabled ? "" : void 0,
|
|
2639
|
+
...i,
|
|
2640
|
+
ref: t
|
|
2641
|
+
})
|
|
2642
|
+
});
|
|
2643
|
+
}, "RadioIndicator")), Kn = "RadioBubbleInput", qn = /* @__PURE__ */ e.forwardRef(/* @__PURE__ */ K(function({ __scopeRadio: t, onClick: n, ...r }, i) {
|
|
2644
|
+
let { control: a, checked: s, required: c, disabled: l, name: u, value: d, form: f, bubbleInput: p, setBubbleInput: m, hasConsumerStoppedPropagationRef: h, userInteractionCount: g } = Bn(Kn, t), _ = H(i, m), v = En(a), y = e.useRef(!1), b = e.useRef(s), x = e.useRef(g);
|
|
2645
|
+
e.useEffect(() => {
|
|
2646
|
+
let e = p;
|
|
2647
|
+
if (!e) return;
|
|
2648
|
+
let t = window.HTMLInputElement.prototype, n = Object.getOwnPropertyDescriptor(t, "checked").set, r = g !== x.current;
|
|
2649
|
+
x.current = g;
|
|
2650
|
+
let i = b.current !== s;
|
|
2651
|
+
b.current = s;
|
|
2652
|
+
let a = !(r && h.current);
|
|
2653
|
+
if (i && n) {
|
|
2654
|
+
y.current = !r;
|
|
2655
|
+
let t = new Event("click", { bubbles: a });
|
|
2656
|
+
n.call(e, s), e.dispatchEvent(t), y.current = !1;
|
|
2657
|
+
}
|
|
2658
|
+
}, [
|
|
2659
|
+
p,
|
|
2660
|
+
s,
|
|
2661
|
+
h,
|
|
2662
|
+
g
|
|
2663
|
+
]);
|
|
2664
|
+
let S = e.useRef(s);
|
|
2665
|
+
return /* @__PURE__ */ o(Mt.input, {
|
|
2666
|
+
type: "radio",
|
|
2667
|
+
"aria-hidden": !0,
|
|
2668
|
+
defaultChecked: S.current,
|
|
2669
|
+
required: c,
|
|
2670
|
+
disabled: l,
|
|
2671
|
+
name: u,
|
|
2672
|
+
value: d,
|
|
2673
|
+
form: f,
|
|
2674
|
+
...r,
|
|
2675
|
+
tabIndex: -1,
|
|
2676
|
+
ref: _,
|
|
2677
|
+
onClick: V(n, (e) => {
|
|
2678
|
+
y.current && e.stopPropagation();
|
|
2679
|
+
}),
|
|
2680
|
+
style: {
|
|
2681
|
+
...r.style,
|
|
2682
|
+
...v,
|
|
2683
|
+
position: "absolute",
|
|
2684
|
+
pointerEvents: "none",
|
|
2685
|
+
opacity: 0,
|
|
2686
|
+
margin: 0,
|
|
2687
|
+
transform: "translateX(-100%)"
|
|
2688
|
+
}
|
|
2689
|
+
});
|
|
2690
|
+
}, "RadioBubbleInput"));
|
|
2691
|
+
function Jn(e) {
|
|
2692
|
+
return typeof e == "function";
|
|
2693
|
+
}
|
|
2694
|
+
K(Jn, "isFunction");
|
|
2695
|
+
function Yn(e) {
|
|
2696
|
+
return e ? "checked" : "unchecked";
|
|
2697
|
+
}
|
|
2698
|
+
K(Yn, "getState");
|
|
2699
|
+
var Xn = [
|
|
2700
|
+
"ArrowUp",
|
|
2701
|
+
"ArrowDown",
|
|
2702
|
+
"ArrowLeft",
|
|
2703
|
+
"ArrowRight"
|
|
2704
|
+
], Zn = "RadioGroup", [Qn, $n] = vt(Zn, [fn, Rn]), er = fn(), tr = Rn(), [nr, rr] = Qn(Zn), ir = /* @__PURE__ */ e.forwardRef(/* @__PURE__ */ K(function(t, n) {
|
|
2705
|
+
let { __scopeRadioGroup: r, name: i, form: a, defaultValue: s, value: c, required: l = !1, disabled: u = !1, orientation: d, dir: f, loop: p = !0, onValueChange: m, ...h } = t, g = er(r), _ = Xt(f), [v, y] = Wt({
|
|
2706
|
+
prop: c,
|
|
2707
|
+
defaultProp: s ?? null,
|
|
2708
|
+
onChange: m,
|
|
2709
|
+
caller: Zn
|
|
2710
|
+
}), [b, x] = e.useState(null), S = H(n, x), C = e.useRef(v);
|
|
2711
|
+
return e.useEffect(() => {
|
|
2712
|
+
let e = a ? b?.ownerDocument.getElementById(a) : b?.closest("form");
|
|
2713
|
+
if (e instanceof HTMLFormElement) {
|
|
2714
|
+
let t = /* @__PURE__ */ K(() => y(C.current), "reset");
|
|
2715
|
+
return e.addEventListener("reset", t), () => e.removeEventListener("reset", t);
|
|
2716
|
+
}
|
|
2717
|
+
}, [
|
|
2718
|
+
b,
|
|
2719
|
+
a,
|
|
2720
|
+
y
|
|
2721
|
+
]), /* @__PURE__ */ o(nr, {
|
|
2722
|
+
scope: r,
|
|
2723
|
+
name: i,
|
|
2724
|
+
form: a,
|
|
2725
|
+
required: l,
|
|
2726
|
+
disabled: u,
|
|
2727
|
+
value: v,
|
|
2728
|
+
onValueChange: y,
|
|
2729
|
+
children: /* @__PURE__ */ o(wn, {
|
|
2730
|
+
asChild: !0,
|
|
2731
|
+
...g,
|
|
2732
|
+
orientation: d,
|
|
2733
|
+
dir: _,
|
|
2734
|
+
loop: p,
|
|
2735
|
+
children: /* @__PURE__ */ o(Mt.div, {
|
|
2736
|
+
role: "radiogroup",
|
|
2737
|
+
"aria-required": l,
|
|
2738
|
+
"aria-orientation": d,
|
|
2739
|
+
"data-disabled": u ? "" : void 0,
|
|
2740
|
+
dir: _,
|
|
2741
|
+
...h,
|
|
2742
|
+
ref: S
|
|
2743
|
+
})
|
|
2744
|
+
})
|
|
2745
|
+
});
|
|
2746
|
+
}, "RadioGroup")), ar = "RadioGroupItemProvider", or = "RadioGroupItemTrigger";
|
|
2747
|
+
function sr(e) {
|
|
2748
|
+
let { __scopeRadioGroup: t, value: n, disabled: r, children: i, internal_do_not_use_render: a } = e, s = rr(ar, t), c = tr(t), l = s.disabled || r;
|
|
2749
|
+
return /* @__PURE__ */ o(Vn, {
|
|
2750
|
+
...c,
|
|
2751
|
+
checked: s.value === n,
|
|
2752
|
+
disabled: l,
|
|
2753
|
+
required: s.required,
|
|
2754
|
+
name: s.name,
|
|
2755
|
+
form: s.form,
|
|
2756
|
+
value: n,
|
|
2757
|
+
onCheck: () => s.onValueChange(n),
|
|
2758
|
+
internal_do_not_use_render: a,
|
|
2759
|
+
children: i
|
|
2760
|
+
});
|
|
2761
|
+
}
|
|
2762
|
+
K(sr, "RadioGroupItemProvider");
|
|
2763
|
+
var cr = /* @__PURE__ */ e.forwardRef(/* @__PURE__ */ K(function(t, n) {
|
|
2764
|
+
let { __scopeRadioGroup: r, ...i } = t, a = er(r), s = tr(r), { checked: c, disabled: l } = Bn(or, s.__scopeRadio), u = e.useRef(null), d = H(n, u), f = e.useRef(!1);
|
|
2765
|
+
return e.useEffect(() => {
|
|
2766
|
+
let e = /* @__PURE__ */ K((e) => {
|
|
2767
|
+
Xn.includes(e.key) && (f.current = !0);
|
|
2768
|
+
}, "handleKeyDown"), t = /* @__PURE__ */ K(() => f.current = !1, "handleKeyUp");
|
|
2769
|
+
return document.addEventListener("keydown", e), document.addEventListener("keyup", t), () => {
|
|
2770
|
+
document.removeEventListener("keydown", e), document.removeEventListener("keyup", t);
|
|
2771
|
+
};
|
|
2772
|
+
}, []), /* @__PURE__ */ o(Tn, {
|
|
2773
|
+
asChild: !0,
|
|
2774
|
+
...a,
|
|
2775
|
+
focusable: !l,
|
|
2776
|
+
active: c,
|
|
2777
|
+
children: /* @__PURE__ */ o(Un, {
|
|
2778
|
+
...s,
|
|
2779
|
+
...i,
|
|
2780
|
+
ref: d,
|
|
2781
|
+
onKeyDown: V(i.onKeyDown, (e) => {
|
|
2782
|
+
e.key === "Enter" && e.preventDefault();
|
|
2783
|
+
}),
|
|
2784
|
+
onFocus: V(i.onFocus, () => {
|
|
2785
|
+
f.current && u.current?.click();
|
|
2786
|
+
})
|
|
2787
|
+
})
|
|
2788
|
+
});
|
|
2789
|
+
}, "RadioGroupItemTrigger")), lr = /* @__PURE__ */ e.forwardRef(/* @__PURE__ */ K(function(e, t) {
|
|
2790
|
+
let { __scopeRadioGroup: n, value: r, disabled: i, ...c } = e;
|
|
2791
|
+
return /* @__PURE__ */ o(sr, {
|
|
2792
|
+
__scopeRadioGroup: n,
|
|
2793
|
+
value: r,
|
|
2794
|
+
disabled: i,
|
|
2795
|
+
internal_do_not_use_render: ({ isFormControl: e }) => /* @__PURE__ */ s(a, { children: [/* @__PURE__ */ o(cr, {
|
|
2796
|
+
...c,
|
|
2797
|
+
ref: t,
|
|
2798
|
+
__scopeRadioGroup: n
|
|
2799
|
+
}), e && /* @__PURE__ */ o(ur, { __scopeRadioGroup: n })] })
|
|
2800
|
+
});
|
|
2801
|
+
}, "RadioGroupItem")), ur = /* @__PURE__ */ e.forwardRef(/* @__PURE__ */ K(function(e, t) {
|
|
2802
|
+
let { __scopeRadioGroup: n, ...r } = e;
|
|
2803
|
+
return /* @__PURE__ */ o(qn, {
|
|
2804
|
+
...tr(n),
|
|
2805
|
+
...r,
|
|
2806
|
+
ref: t
|
|
2807
|
+
});
|
|
2808
|
+
}, "RadioGroupItemBubbleInput")), dr = /* @__PURE__ */ e.forwardRef(/* @__PURE__ */ K(function(e, t) {
|
|
2809
|
+
let { __scopeRadioGroup: n, ...r } = e;
|
|
2810
|
+
return /* @__PURE__ */ o(Gn, {
|
|
2811
|
+
...tr(n),
|
|
2812
|
+
...r,
|
|
2813
|
+
ref: t
|
|
2814
|
+
});
|
|
2815
|
+
}, "RadioGroupIndicator")), fr = t({
|
|
2816
|
+
disabled: !1,
|
|
2817
|
+
checkedValue: ""
|
|
2818
|
+
}), pr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, q = (e) => !e || typeof e != "object" || Object.keys(e).length === 0, mr = (e, t) => JSON.stringify(e) === JSON.stringify(t);
|
|
2819
|
+
function hr(e, t) {
|
|
2820
|
+
e.forEach(function(e) {
|
|
2821
|
+
Array.isArray(e) ? hr(e, t) : t.push(e);
|
|
2822
|
+
});
|
|
2823
|
+
}
|
|
2824
|
+
function gr(e) {
|
|
2825
|
+
let t = [];
|
|
2826
|
+
return hr(e, t), t;
|
|
2827
|
+
}
|
|
2828
|
+
var _r = (...e) => gr(e).filter(Boolean), vr = (e, t) => {
|
|
2829
|
+
let n = {}, r = Object.keys(e), i = Object.keys(t);
|
|
2830
|
+
for (let a of r) if (i.includes(a)) {
|
|
2831
|
+
let r = e[a], i = t[a];
|
|
2832
|
+
Array.isArray(r) || Array.isArray(i) ? n[a] = _r(i, r) : typeof r == "object" && typeof i == "object" ? n[a] = vr(r, i) : n[a] = i + " " + r;
|
|
2833
|
+
} else n[a] = e[a];
|
|
2834
|
+
for (let e of i) r.includes(e) || (n[e] = t[e]);
|
|
2835
|
+
return n;
|
|
2836
|
+
}, yr = (e) => !e || typeof e != "string" ? e : e.replace(/\s+/g, " ").trim(), br = "-", xr = (e) => {
|
|
2837
|
+
let t = Tr(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
|
|
2838
|
+
return {
|
|
2839
|
+
getClassGroupId: (e) => {
|
|
2840
|
+
let n = e.split(br);
|
|
2841
|
+
return n[0] === "" && n.length !== 1 && n.shift(), Sr(n, t) || wr(e);
|
|
2842
|
+
},
|
|
2843
|
+
getConflictingClassGroupIds: (e, t) => {
|
|
2844
|
+
let i = n[e] || [];
|
|
2845
|
+
return t && r[e] ? [...i, ...r[e]] : i;
|
|
2846
|
+
}
|
|
2847
|
+
};
|
|
2848
|
+
}, Sr = (e, t) => {
|
|
2849
|
+
if (e.length === 0) return t.classGroupId;
|
|
2850
|
+
let n = e[0], r = t.nextPart.get(n), i = r ? Sr(e.slice(1), r) : void 0;
|
|
2851
|
+
if (i) return i;
|
|
2852
|
+
if (t.validators.length === 0) return;
|
|
2853
|
+
let a = e.join(br);
|
|
2854
|
+
return t.validators.find(({ validator: e }) => e(a))?.classGroupId;
|
|
2855
|
+
}, Cr = /^\[(.+)\]$/, wr = (e) => {
|
|
2856
|
+
if (Cr.test(e)) {
|
|
2857
|
+
let t = Cr.exec(e)[1], n = t?.substring(0, t.indexOf(":"));
|
|
2858
|
+
if (n) return "arbitrary.." + n;
|
|
2859
|
+
}
|
|
2860
|
+
}, Tr = (e) => {
|
|
2861
|
+
let { theme: t, prefix: n } = e, r = {
|
|
2862
|
+
nextPart: /* @__PURE__ */ new Map(),
|
|
2863
|
+
validators: []
|
|
2864
|
+
};
|
|
2865
|
+
return kr(Object.entries(e.classGroups), n).forEach(([e, n]) => {
|
|
2866
|
+
Er(n, r, e, t);
|
|
2867
|
+
}), r;
|
|
2868
|
+
}, Er = (e, t, n, r) => {
|
|
2869
|
+
e.forEach((e) => {
|
|
2870
|
+
if (typeof e == "string") {
|
|
2871
|
+
let r = e === "" ? t : Dr(t, e);
|
|
2872
|
+
r.classGroupId = n;
|
|
2873
|
+
return;
|
|
2874
|
+
}
|
|
2875
|
+
if (typeof e == "function") {
|
|
2876
|
+
if (Or(e)) {
|
|
2877
|
+
Er(e(r), t, n, r);
|
|
2878
|
+
return;
|
|
2879
|
+
}
|
|
2880
|
+
t.validators.push({
|
|
2881
|
+
validator: e,
|
|
2882
|
+
classGroupId: n
|
|
2883
|
+
});
|
|
2884
|
+
return;
|
|
2885
|
+
}
|
|
2886
|
+
Object.entries(e).forEach(([e, i]) => {
|
|
2887
|
+
Er(i, Dr(t, e), n, r);
|
|
2888
|
+
});
|
|
2889
|
+
});
|
|
2890
|
+
}, Dr = (e, t) => {
|
|
2891
|
+
let n = e;
|
|
2892
|
+
return t.split(br).forEach((e) => {
|
|
2893
|
+
n.nextPart.has(e) || n.nextPart.set(e, {
|
|
2894
|
+
nextPart: /* @__PURE__ */ new Map(),
|
|
2895
|
+
validators: []
|
|
2896
|
+
}), n = n.nextPart.get(e);
|
|
2897
|
+
}), n;
|
|
2898
|
+
}, Or = (e) => e.isThemeGetter, kr = (e, t) => t ? e.map(([e, n]) => [e, n.map((e) => typeof e == "string" ? t + e : typeof e == "object" ? Object.fromEntries(Object.entries(e).map(([e, n]) => [t + e, n])) : e)]) : e, Ar = (e) => {
|
|
2899
|
+
if (e < 1) return {
|
|
2900
|
+
get: () => void 0,
|
|
2901
|
+
set: () => {}
|
|
2902
|
+
};
|
|
2903
|
+
let t = 0, n = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map(), i = (i, a) => {
|
|
2904
|
+
n.set(i, a), t++, t > e && (t = 0, r = n, n = /* @__PURE__ */ new Map());
|
|
2905
|
+
};
|
|
2906
|
+
return {
|
|
2907
|
+
get(e) {
|
|
2908
|
+
let t = n.get(e);
|
|
2909
|
+
if (t !== void 0) return t;
|
|
2910
|
+
if ((t = r.get(e)) !== void 0) return i(e, t), t;
|
|
2911
|
+
},
|
|
2912
|
+
set(e, t) {
|
|
2913
|
+
n.has(e) ? n.set(e, t) : i(e, t);
|
|
2914
|
+
}
|
|
2915
|
+
};
|
|
2916
|
+
}, jr = "!", Mr = (e) => {
|
|
2917
|
+
let { separator: t, experimentalParseClassName: n } = e, r = t.length === 1, i = t[0], a = t.length, o = (e) => {
|
|
2918
|
+
let n = [], o = 0, s = 0, c;
|
|
2919
|
+
for (let l = 0; l < e.length; l++) {
|
|
2920
|
+
let u = e[l];
|
|
2921
|
+
if (o === 0) {
|
|
2922
|
+
if (u === i && (r || e.slice(l, l + a) === t)) {
|
|
2923
|
+
n.push(e.slice(s, l)), s = l + a;
|
|
2924
|
+
continue;
|
|
2925
|
+
}
|
|
2926
|
+
if (u === "/") {
|
|
2927
|
+
c = l;
|
|
2928
|
+
continue;
|
|
2929
|
+
}
|
|
2930
|
+
}
|
|
2931
|
+
u === "[" ? o++ : u === "]" && o--;
|
|
2932
|
+
}
|
|
2933
|
+
let l = n.length === 0 ? e : e.substring(s), u = l.startsWith(jr);
|
|
2934
|
+
return {
|
|
2935
|
+
modifiers: n,
|
|
2936
|
+
hasImportantModifier: u,
|
|
2937
|
+
baseClassName: u ? l.substring(1) : l,
|
|
2938
|
+
maybePostfixModifierPosition: c && c > s ? c - s : void 0
|
|
2939
|
+
};
|
|
2940
|
+
};
|
|
2941
|
+
return n ? (e) => n({
|
|
2942
|
+
className: e,
|
|
2943
|
+
parseClassName: o
|
|
2944
|
+
}) : o;
|
|
2945
|
+
}, Nr = (e) => {
|
|
2946
|
+
if (e.length <= 1) return e;
|
|
2947
|
+
let t = [], n = [];
|
|
2948
|
+
return e.forEach((e) => {
|
|
2949
|
+
e[0] === "[" ? (t.push(...n.sort(), e), n = []) : n.push(e);
|
|
2950
|
+
}), t.push(...n.sort()), t;
|
|
2951
|
+
}, Pr = (e) => ({
|
|
2952
|
+
cache: Ar(e.cacheSize),
|
|
2953
|
+
parseClassName: Mr(e),
|
|
2954
|
+
...xr(e)
|
|
2955
|
+
}), Fr = /\s+/, Ir = (e, t) => {
|
|
2956
|
+
let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i } = t, a = [], o = e.trim().split(Fr), s = "";
|
|
2957
|
+
for (let e = o.length - 1; e >= 0; --e) {
|
|
2958
|
+
let t = o[e], { modifiers: c, hasImportantModifier: l, baseClassName: u, maybePostfixModifierPosition: d } = n(t), f = !!d, p = r(f ? u.substring(0, d) : u);
|
|
2959
|
+
if (!p) {
|
|
2960
|
+
if (!f) {
|
|
2961
|
+
s = t + (s.length > 0 ? " " + s : s);
|
|
2962
|
+
continue;
|
|
2963
|
+
}
|
|
2964
|
+
if (p = r(u), !p) {
|
|
2965
|
+
s = t + (s.length > 0 ? " " + s : s);
|
|
2966
|
+
continue;
|
|
2967
|
+
}
|
|
2968
|
+
f = !1;
|
|
2969
|
+
}
|
|
2970
|
+
let m = Nr(c).join(":"), h = l ? m + jr : m, g = h + p;
|
|
2971
|
+
if (a.includes(g)) continue;
|
|
2972
|
+
a.push(g);
|
|
2973
|
+
let _ = i(p, f);
|
|
2974
|
+
for (let e = 0; e < _.length; ++e) {
|
|
2975
|
+
let t = _[e];
|
|
2976
|
+
a.push(h + t);
|
|
2977
|
+
}
|
|
2978
|
+
s = t + (s.length > 0 ? " " + s : s);
|
|
2979
|
+
}
|
|
2980
|
+
return s;
|
|
2981
|
+
};
|
|
2982
|
+
function Lr() {
|
|
2983
|
+
let e = 0, t, n, r = "";
|
|
2984
|
+
for (; e < arguments.length;) (t = arguments[e++]) && (n = Rr(t)) && (r && (r += " "), r += n);
|
|
2985
|
+
return r;
|
|
2986
|
+
}
|
|
2987
|
+
var Rr = (e) => {
|
|
2988
|
+
if (typeof e == "string") return e;
|
|
2989
|
+
let t, n = "";
|
|
2990
|
+
for (let r = 0; r < e.length; r++) e[r] && (t = Rr(e[r])) && (n && (n += " "), n += t);
|
|
2991
|
+
return n;
|
|
2992
|
+
};
|
|
2993
|
+
function zr(e, ...t) {
|
|
2994
|
+
let n, r, i, a = o;
|
|
2995
|
+
function o(o) {
|
|
2996
|
+
return n = Pr(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o);
|
|
2997
|
+
}
|
|
2998
|
+
function s(e) {
|
|
2999
|
+
let t = r(e);
|
|
3000
|
+
if (t) return t;
|
|
3001
|
+
let a = Ir(e, n);
|
|
3002
|
+
return i(e, a), a;
|
|
3003
|
+
}
|
|
3004
|
+
return function() {
|
|
3005
|
+
return a(Lr.apply(null, arguments));
|
|
3006
|
+
};
|
|
3007
|
+
}
|
|
3008
|
+
var J = (e) => {
|
|
3009
|
+
let t = (t) => t[e] || [];
|
|
3010
|
+
return t.isThemeGetter = !0, t;
|
|
3011
|
+
}, Br = /^\[(?:([a-z-]+):)?(.+)\]$/i, Vr = /^\d+\/\d+$/, Hr = /*#__PURE__*/ new Set([
|
|
3012
|
+
"px",
|
|
3013
|
+
"full",
|
|
3014
|
+
"screen"
|
|
3015
|
+
]), Ur = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Wr = /\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$/, Gr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, Kr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, qr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Y = (e) => Jr(e) || Hr.has(e) || Vr.test(e), X = (e) => ai(e, "length", oi), Jr = (e) => !!e && !Number.isNaN(Number(e)), Yr = (e) => ai(e, "number", Jr), Xr = (e) => !!e && Number.isInteger(Number(e)), Zr = (e) => e.endsWith("%") && Jr(e.slice(0, -1)), Z = (e) => Br.test(e), Q = (e) => Ur.test(e), Qr = /*#__PURE__*/ new Set([
|
|
3016
|
+
"length",
|
|
3017
|
+
"size",
|
|
3018
|
+
"percentage"
|
|
3019
|
+
]), $r = (e) => ai(e, Qr, si), ei = (e) => ai(e, "position", si), ti = /*#__PURE__*/ new Set(["image", "url"]), ni = (e) => ai(e, ti, li), ri = (e) => ai(e, "", ci), ii = () => !0, ai = (e, t, n) => {
|
|
3020
|
+
let r = Br.exec(e);
|
|
3021
|
+
return r ? r[1] ? typeof t == "string" ? r[1] === t : t.has(r[1]) : n(r[2]) : !1;
|
|
3022
|
+
}, oi = (e) => Wr.test(e) && !Gr.test(e), si = () => !1, ci = (e) => Kr.test(e), li = (e) => qr.test(e), ui = () => {
|
|
3023
|
+
let e = J("colors"), t = J("spacing"), n = J("blur"), r = J("brightness"), i = J("borderColor"), a = J("borderRadius"), o = J("borderSpacing"), s = J("borderWidth"), c = J("contrast"), l = J("grayscale"), u = J("hueRotate"), d = J("invert"), f = J("gap"), p = J("gradientColorStops"), m = J("gradientColorStopPositions"), h = J("inset"), g = J("margin"), _ = J("opacity"), v = J("padding"), y = J("saturate"), b = J("scale"), x = J("sepia"), S = J("skew"), C = J("space"), w = J("translate"), T = () => [
|
|
3024
|
+
"auto",
|
|
3025
|
+
"contain",
|
|
3026
|
+
"none"
|
|
3027
|
+
], E = () => [
|
|
3028
|
+
"auto",
|
|
3029
|
+
"hidden",
|
|
3030
|
+
"clip",
|
|
3031
|
+
"visible",
|
|
3032
|
+
"scroll"
|
|
3033
|
+
], D = () => [
|
|
3034
|
+
"auto",
|
|
3035
|
+
Z,
|
|
3036
|
+
t
|
|
3037
|
+
], O = () => [Z, t], ee = () => [
|
|
3038
|
+
"",
|
|
3039
|
+
Y,
|
|
3040
|
+
X
|
|
3041
|
+
], k = () => [
|
|
3042
|
+
"auto",
|
|
3043
|
+
Jr,
|
|
3044
|
+
Z
|
|
3045
|
+
], te = () => [
|
|
3046
|
+
"bottom",
|
|
3047
|
+
"center",
|
|
3048
|
+
"left",
|
|
3049
|
+
"left-bottom",
|
|
3050
|
+
"left-top",
|
|
3051
|
+
"right",
|
|
3052
|
+
"right-bottom",
|
|
3053
|
+
"right-top",
|
|
3054
|
+
"top"
|
|
3055
|
+
], A = () => [
|
|
3056
|
+
"solid",
|
|
3057
|
+
"dashed",
|
|
3058
|
+
"dotted",
|
|
3059
|
+
"double",
|
|
3060
|
+
"none"
|
|
3061
|
+
], ne = () => [
|
|
3062
|
+
"normal",
|
|
3063
|
+
"multiply",
|
|
3064
|
+
"screen",
|
|
3065
|
+
"overlay",
|
|
3066
|
+
"darken",
|
|
3067
|
+
"lighten",
|
|
3068
|
+
"color-dodge",
|
|
3069
|
+
"color-burn",
|
|
3070
|
+
"hard-light",
|
|
3071
|
+
"soft-light",
|
|
3072
|
+
"difference",
|
|
3073
|
+
"exclusion",
|
|
3074
|
+
"hue",
|
|
3075
|
+
"saturation",
|
|
3076
|
+
"color",
|
|
3077
|
+
"luminosity"
|
|
3078
|
+
], j = () => [
|
|
3079
|
+
"start",
|
|
3080
|
+
"end",
|
|
3081
|
+
"center",
|
|
3082
|
+
"between",
|
|
3083
|
+
"around",
|
|
3084
|
+
"evenly",
|
|
3085
|
+
"stretch"
|
|
3086
|
+
], M = () => [
|
|
3087
|
+
"",
|
|
3088
|
+
"0",
|
|
3089
|
+
Z
|
|
3090
|
+
], re = () => [
|
|
3091
|
+
"auto",
|
|
3092
|
+
"avoid",
|
|
3093
|
+
"all",
|
|
3094
|
+
"avoid-page",
|
|
3095
|
+
"page",
|
|
3096
|
+
"left",
|
|
3097
|
+
"right",
|
|
3098
|
+
"column"
|
|
3099
|
+
], N = () => [Jr, Z];
|
|
3100
|
+
return {
|
|
3101
|
+
cacheSize: 500,
|
|
3102
|
+
separator: ":",
|
|
3103
|
+
theme: {
|
|
3104
|
+
colors: [ii],
|
|
3105
|
+
spacing: [Y, X],
|
|
3106
|
+
blur: [
|
|
3107
|
+
"none",
|
|
3108
|
+
"",
|
|
3109
|
+
Q,
|
|
3110
|
+
Z
|
|
3111
|
+
],
|
|
3112
|
+
brightness: N(),
|
|
3113
|
+
borderColor: [e],
|
|
3114
|
+
borderRadius: [
|
|
3115
|
+
"none",
|
|
3116
|
+
"",
|
|
3117
|
+
"full",
|
|
3118
|
+
Q,
|
|
3119
|
+
Z
|
|
3120
|
+
],
|
|
3121
|
+
borderSpacing: O(),
|
|
3122
|
+
borderWidth: ee(),
|
|
3123
|
+
contrast: N(),
|
|
3124
|
+
grayscale: M(),
|
|
3125
|
+
hueRotate: N(),
|
|
3126
|
+
invert: M(),
|
|
3127
|
+
gap: O(),
|
|
3128
|
+
gradientColorStops: [e],
|
|
3129
|
+
gradientColorStopPositions: [Zr, X],
|
|
3130
|
+
inset: D(),
|
|
3131
|
+
margin: D(),
|
|
3132
|
+
opacity: N(),
|
|
3133
|
+
padding: O(),
|
|
3134
|
+
saturate: N(),
|
|
3135
|
+
scale: N(),
|
|
3136
|
+
sepia: M(),
|
|
3137
|
+
skew: N(),
|
|
3138
|
+
space: O(),
|
|
3139
|
+
translate: O()
|
|
3140
|
+
},
|
|
3141
|
+
classGroups: {
|
|
3142
|
+
aspect: [{ aspect: [
|
|
3143
|
+
"auto",
|
|
3144
|
+
"square",
|
|
3145
|
+
"video",
|
|
3146
|
+
Z
|
|
3147
|
+
] }],
|
|
3148
|
+
container: ["container"],
|
|
3149
|
+
columns: [{ columns: [Q] }],
|
|
3150
|
+
"break-after": [{ "break-after": re() }],
|
|
3151
|
+
"break-before": [{ "break-before": re() }],
|
|
3152
|
+
"break-inside": [{ "break-inside": [
|
|
3153
|
+
"auto",
|
|
3154
|
+
"avoid",
|
|
3155
|
+
"avoid-page",
|
|
3156
|
+
"avoid-column"
|
|
3157
|
+
] }],
|
|
3158
|
+
"box-decoration": [{ "box-decoration": ["slice", "clone"] }],
|
|
3159
|
+
box: [{ box: ["border", "content"] }],
|
|
3160
|
+
display: [
|
|
3161
|
+
"block",
|
|
3162
|
+
"inline-block",
|
|
3163
|
+
"inline",
|
|
3164
|
+
"flex",
|
|
3165
|
+
"inline-flex",
|
|
3166
|
+
"table",
|
|
3167
|
+
"inline-table",
|
|
3168
|
+
"table-caption",
|
|
3169
|
+
"table-cell",
|
|
3170
|
+
"table-column",
|
|
3171
|
+
"table-column-group",
|
|
3172
|
+
"table-footer-group",
|
|
3173
|
+
"table-header-group",
|
|
3174
|
+
"table-row-group",
|
|
3175
|
+
"table-row",
|
|
3176
|
+
"flow-root",
|
|
3177
|
+
"grid",
|
|
3178
|
+
"inline-grid",
|
|
3179
|
+
"contents",
|
|
3180
|
+
"list-item",
|
|
3181
|
+
"hidden"
|
|
3182
|
+
],
|
|
3183
|
+
float: [{ float: [
|
|
3184
|
+
"right",
|
|
3185
|
+
"left",
|
|
3186
|
+
"none",
|
|
3187
|
+
"start",
|
|
3188
|
+
"end"
|
|
3189
|
+
] }],
|
|
3190
|
+
clear: [{ clear: [
|
|
3191
|
+
"left",
|
|
3192
|
+
"right",
|
|
3193
|
+
"both",
|
|
3194
|
+
"none",
|
|
3195
|
+
"start",
|
|
3196
|
+
"end"
|
|
3197
|
+
] }],
|
|
3198
|
+
isolation: ["isolate", "isolation-auto"],
|
|
3199
|
+
"object-fit": [{ object: [
|
|
3200
|
+
"contain",
|
|
3201
|
+
"cover",
|
|
3202
|
+
"fill",
|
|
3203
|
+
"none",
|
|
3204
|
+
"scale-down"
|
|
3205
|
+
] }],
|
|
3206
|
+
"object-position": [{ object: [...te(), Z] }],
|
|
3207
|
+
overflow: [{ overflow: E() }],
|
|
3208
|
+
"overflow-x": [{ "overflow-x": E() }],
|
|
3209
|
+
"overflow-y": [{ "overflow-y": E() }],
|
|
3210
|
+
overscroll: [{ overscroll: T() }],
|
|
3211
|
+
"overscroll-x": [{ "overscroll-x": T() }],
|
|
3212
|
+
"overscroll-y": [{ "overscroll-y": T() }],
|
|
3213
|
+
position: [
|
|
3214
|
+
"static",
|
|
3215
|
+
"fixed",
|
|
3216
|
+
"absolute",
|
|
3217
|
+
"relative",
|
|
3218
|
+
"sticky"
|
|
3219
|
+
],
|
|
3220
|
+
inset: [{ inset: [h] }],
|
|
3221
|
+
"inset-x": [{ "inset-x": [h] }],
|
|
3222
|
+
"inset-y": [{ "inset-y": [h] }],
|
|
3223
|
+
start: [{ start: [h] }],
|
|
3224
|
+
end: [{ end: [h] }],
|
|
3225
|
+
top: [{ top: [h] }],
|
|
3226
|
+
right: [{ right: [h] }],
|
|
3227
|
+
bottom: [{ bottom: [h] }],
|
|
3228
|
+
left: [{ left: [h] }],
|
|
3229
|
+
visibility: [
|
|
3230
|
+
"visible",
|
|
3231
|
+
"invisible",
|
|
3232
|
+
"collapse"
|
|
3233
|
+
],
|
|
3234
|
+
z: [{ z: [
|
|
3235
|
+
"auto",
|
|
3236
|
+
Xr,
|
|
3237
|
+
Z
|
|
3238
|
+
] }],
|
|
3239
|
+
basis: [{ basis: D() }],
|
|
3240
|
+
"flex-direction": [{ flex: [
|
|
3241
|
+
"row",
|
|
3242
|
+
"row-reverse",
|
|
3243
|
+
"col",
|
|
3244
|
+
"col-reverse"
|
|
3245
|
+
] }],
|
|
3246
|
+
"flex-wrap": [{ flex: [
|
|
3247
|
+
"wrap",
|
|
3248
|
+
"wrap-reverse",
|
|
3249
|
+
"nowrap"
|
|
3250
|
+
] }],
|
|
3251
|
+
flex: [{ flex: [
|
|
3252
|
+
"1",
|
|
3253
|
+
"auto",
|
|
3254
|
+
"initial",
|
|
3255
|
+
"none",
|
|
3256
|
+
Z
|
|
3257
|
+
] }],
|
|
3258
|
+
grow: [{ grow: M() }],
|
|
3259
|
+
shrink: [{ shrink: M() }],
|
|
3260
|
+
order: [{ order: [
|
|
3261
|
+
"first",
|
|
3262
|
+
"last",
|
|
3263
|
+
"none",
|
|
3264
|
+
Xr,
|
|
3265
|
+
Z
|
|
3266
|
+
] }],
|
|
3267
|
+
"grid-cols": [{ "grid-cols": [ii] }],
|
|
3268
|
+
"col-start-end": [{ col: [
|
|
3269
|
+
"auto",
|
|
3270
|
+
{ span: [
|
|
3271
|
+
"full",
|
|
3272
|
+
Xr,
|
|
3273
|
+
Z
|
|
3274
|
+
] },
|
|
3275
|
+
Z
|
|
3276
|
+
] }],
|
|
3277
|
+
"col-start": [{ "col-start": k() }],
|
|
3278
|
+
"col-end": [{ "col-end": k() }],
|
|
3279
|
+
"grid-rows": [{ "grid-rows": [ii] }],
|
|
3280
|
+
"row-start-end": [{ row: [
|
|
3281
|
+
"auto",
|
|
3282
|
+
{ span: [Xr, Z] },
|
|
3283
|
+
Z
|
|
3284
|
+
] }],
|
|
3285
|
+
"row-start": [{ "row-start": k() }],
|
|
3286
|
+
"row-end": [{ "row-end": k() }],
|
|
3287
|
+
"grid-flow": [{ "grid-flow": [
|
|
3288
|
+
"row",
|
|
3289
|
+
"col",
|
|
3290
|
+
"dense",
|
|
3291
|
+
"row-dense",
|
|
3292
|
+
"col-dense"
|
|
3293
|
+
] }],
|
|
3294
|
+
"auto-cols": [{ "auto-cols": [
|
|
3295
|
+
"auto",
|
|
3296
|
+
"min",
|
|
3297
|
+
"max",
|
|
3298
|
+
"fr",
|
|
3299
|
+
Z
|
|
3300
|
+
] }],
|
|
3301
|
+
"auto-rows": [{ "auto-rows": [
|
|
3302
|
+
"auto",
|
|
3303
|
+
"min",
|
|
3304
|
+
"max",
|
|
3305
|
+
"fr",
|
|
3306
|
+
Z
|
|
3307
|
+
] }],
|
|
3308
|
+
gap: [{ gap: [f] }],
|
|
3309
|
+
"gap-x": [{ "gap-x": [f] }],
|
|
3310
|
+
"gap-y": [{ "gap-y": [f] }],
|
|
3311
|
+
"justify-content": [{ justify: ["normal", ...j()] }],
|
|
3312
|
+
"justify-items": [{ "justify-items": [
|
|
3313
|
+
"start",
|
|
3314
|
+
"end",
|
|
3315
|
+
"center",
|
|
3316
|
+
"stretch"
|
|
3317
|
+
] }],
|
|
3318
|
+
"justify-self": [{ "justify-self": [
|
|
3319
|
+
"auto",
|
|
3320
|
+
"start",
|
|
3321
|
+
"end",
|
|
3322
|
+
"center",
|
|
3323
|
+
"stretch"
|
|
3324
|
+
] }],
|
|
3325
|
+
"align-content": [{ content: [
|
|
3326
|
+
"normal",
|
|
3327
|
+
...j(),
|
|
3328
|
+
"baseline"
|
|
3329
|
+
] }],
|
|
3330
|
+
"align-items": [{ items: [
|
|
3331
|
+
"start",
|
|
3332
|
+
"end",
|
|
3333
|
+
"center",
|
|
3334
|
+
"baseline",
|
|
3335
|
+
"stretch"
|
|
3336
|
+
] }],
|
|
3337
|
+
"align-self": [{ self: [
|
|
3338
|
+
"auto",
|
|
3339
|
+
"start",
|
|
3340
|
+
"end",
|
|
3341
|
+
"center",
|
|
3342
|
+
"stretch",
|
|
3343
|
+
"baseline"
|
|
3344
|
+
] }],
|
|
3345
|
+
"place-content": [{ "place-content": [...j(), "baseline"] }],
|
|
3346
|
+
"place-items": [{ "place-items": [
|
|
3347
|
+
"start",
|
|
3348
|
+
"end",
|
|
3349
|
+
"center",
|
|
3350
|
+
"baseline",
|
|
3351
|
+
"stretch"
|
|
3352
|
+
] }],
|
|
3353
|
+
"place-self": [{ "place-self": [
|
|
3354
|
+
"auto",
|
|
3355
|
+
"start",
|
|
3356
|
+
"end",
|
|
3357
|
+
"center",
|
|
3358
|
+
"stretch"
|
|
3359
|
+
] }],
|
|
3360
|
+
p: [{ p: [v] }],
|
|
3361
|
+
px: [{ px: [v] }],
|
|
3362
|
+
py: [{ py: [v] }],
|
|
3363
|
+
ps: [{ ps: [v] }],
|
|
3364
|
+
pe: [{ pe: [v] }],
|
|
3365
|
+
pt: [{ pt: [v] }],
|
|
3366
|
+
pr: [{ pr: [v] }],
|
|
3367
|
+
pb: [{ pb: [v] }],
|
|
3368
|
+
pl: [{ pl: [v] }],
|
|
3369
|
+
m: [{ m: [g] }],
|
|
3370
|
+
mx: [{ mx: [g] }],
|
|
3371
|
+
my: [{ my: [g] }],
|
|
3372
|
+
ms: [{ ms: [g] }],
|
|
3373
|
+
me: [{ me: [g] }],
|
|
3374
|
+
mt: [{ mt: [g] }],
|
|
3375
|
+
mr: [{ mr: [g] }],
|
|
3376
|
+
mb: [{ mb: [g] }],
|
|
3377
|
+
ml: [{ ml: [g] }],
|
|
3378
|
+
"space-x": [{ "space-x": [C] }],
|
|
3379
|
+
"space-x-reverse": ["space-x-reverse"],
|
|
3380
|
+
"space-y": [{ "space-y": [C] }],
|
|
3381
|
+
"space-y-reverse": ["space-y-reverse"],
|
|
3382
|
+
w: [{ w: [
|
|
3383
|
+
"auto",
|
|
3384
|
+
"min",
|
|
3385
|
+
"max",
|
|
3386
|
+
"fit",
|
|
3387
|
+
"svw",
|
|
3388
|
+
"lvw",
|
|
3389
|
+
"dvw",
|
|
3390
|
+
Z,
|
|
3391
|
+
t
|
|
3392
|
+
] }],
|
|
3393
|
+
"min-w": [{ "min-w": [
|
|
3394
|
+
Z,
|
|
3395
|
+
t,
|
|
3396
|
+
"min",
|
|
3397
|
+
"max",
|
|
3398
|
+
"fit"
|
|
3399
|
+
] }],
|
|
3400
|
+
"max-w": [{ "max-w": [
|
|
3401
|
+
Z,
|
|
3402
|
+
t,
|
|
3403
|
+
"none",
|
|
3404
|
+
"full",
|
|
3405
|
+
"min",
|
|
3406
|
+
"max",
|
|
3407
|
+
"fit",
|
|
3408
|
+
"prose",
|
|
3409
|
+
{ screen: [Q] },
|
|
3410
|
+
Q
|
|
3411
|
+
] }],
|
|
3412
|
+
h: [{ h: [
|
|
3413
|
+
Z,
|
|
3414
|
+
t,
|
|
3415
|
+
"auto",
|
|
3416
|
+
"min",
|
|
3417
|
+
"max",
|
|
3418
|
+
"fit",
|
|
3419
|
+
"svh",
|
|
3420
|
+
"lvh",
|
|
3421
|
+
"dvh"
|
|
3422
|
+
] }],
|
|
3423
|
+
"min-h": [{ "min-h": [
|
|
3424
|
+
Z,
|
|
3425
|
+
t,
|
|
3426
|
+
"min",
|
|
3427
|
+
"max",
|
|
3428
|
+
"fit",
|
|
3429
|
+
"svh",
|
|
3430
|
+
"lvh",
|
|
3431
|
+
"dvh"
|
|
3432
|
+
] }],
|
|
3433
|
+
"max-h": [{ "max-h": [
|
|
3434
|
+
Z,
|
|
3435
|
+
t,
|
|
3436
|
+
"min",
|
|
3437
|
+
"max",
|
|
3438
|
+
"fit",
|
|
3439
|
+
"svh",
|
|
3440
|
+
"lvh",
|
|
3441
|
+
"dvh"
|
|
3442
|
+
] }],
|
|
3443
|
+
size: [{ size: [
|
|
3444
|
+
Z,
|
|
3445
|
+
t,
|
|
3446
|
+
"auto",
|
|
3447
|
+
"min",
|
|
3448
|
+
"max",
|
|
3449
|
+
"fit"
|
|
3450
|
+
] }],
|
|
3451
|
+
"font-size": [{ text: [
|
|
3452
|
+
"base",
|
|
3453
|
+
Q,
|
|
3454
|
+
X
|
|
3455
|
+
] }],
|
|
3456
|
+
"font-smoothing": ["antialiased", "subpixel-antialiased"],
|
|
3457
|
+
"font-style": ["italic", "not-italic"],
|
|
3458
|
+
"font-weight": [{ font: [
|
|
3459
|
+
"thin",
|
|
3460
|
+
"extralight",
|
|
3461
|
+
"light",
|
|
3462
|
+
"normal",
|
|
3463
|
+
"medium",
|
|
3464
|
+
"semibold",
|
|
3465
|
+
"bold",
|
|
3466
|
+
"extrabold",
|
|
3467
|
+
"black",
|
|
3468
|
+
Yr
|
|
3469
|
+
] }],
|
|
3470
|
+
"font-family": [{ font: [ii] }],
|
|
3471
|
+
"fvn-normal": ["normal-nums"],
|
|
3472
|
+
"fvn-ordinal": ["ordinal"],
|
|
3473
|
+
"fvn-slashed-zero": ["slashed-zero"],
|
|
3474
|
+
"fvn-figure": ["lining-nums", "oldstyle-nums"],
|
|
3475
|
+
"fvn-spacing": ["proportional-nums", "tabular-nums"],
|
|
3476
|
+
"fvn-fraction": ["diagonal-fractions", "stacked-fractons"],
|
|
3477
|
+
tracking: [{ tracking: [
|
|
3478
|
+
"tighter",
|
|
3479
|
+
"tight",
|
|
3480
|
+
"normal",
|
|
3481
|
+
"wide",
|
|
3482
|
+
"wider",
|
|
3483
|
+
"widest",
|
|
3484
|
+
Z
|
|
3485
|
+
] }],
|
|
3486
|
+
"line-clamp": [{ "line-clamp": [
|
|
3487
|
+
"none",
|
|
3488
|
+
Jr,
|
|
3489
|
+
Yr
|
|
3490
|
+
] }],
|
|
3491
|
+
leading: [{ leading: [
|
|
3492
|
+
"none",
|
|
3493
|
+
"tight",
|
|
3494
|
+
"snug",
|
|
3495
|
+
"normal",
|
|
3496
|
+
"relaxed",
|
|
3497
|
+
"loose",
|
|
3498
|
+
Y,
|
|
3499
|
+
Z
|
|
3500
|
+
] }],
|
|
3501
|
+
"list-image": [{ "list-image": ["none", Z] }],
|
|
3502
|
+
"list-style-type": [{ list: [
|
|
3503
|
+
"none",
|
|
3504
|
+
"disc",
|
|
3505
|
+
"decimal",
|
|
3506
|
+
Z
|
|
3507
|
+
] }],
|
|
3508
|
+
"list-style-position": [{ list: ["inside", "outside"] }],
|
|
3509
|
+
"placeholder-color": [{ placeholder: [e] }],
|
|
3510
|
+
"placeholder-opacity": [{ "placeholder-opacity": [_] }],
|
|
3511
|
+
"text-alignment": [{ text: [
|
|
3512
|
+
"left",
|
|
3513
|
+
"center",
|
|
3514
|
+
"right",
|
|
3515
|
+
"justify",
|
|
3516
|
+
"start",
|
|
3517
|
+
"end"
|
|
3518
|
+
] }],
|
|
3519
|
+
"text-color": [{ text: [e] }],
|
|
3520
|
+
"text-opacity": [{ "text-opacity": [_] }],
|
|
3521
|
+
"text-decoration": [
|
|
3522
|
+
"underline",
|
|
3523
|
+
"overline",
|
|
3524
|
+
"line-through",
|
|
3525
|
+
"no-underline"
|
|
3526
|
+
],
|
|
3527
|
+
"text-decoration-style": [{ decoration: [...A(), "wavy"] }],
|
|
3528
|
+
"text-decoration-thickness": [{ decoration: [
|
|
3529
|
+
"auto",
|
|
3530
|
+
"from-font",
|
|
3531
|
+
Y,
|
|
3532
|
+
X
|
|
3533
|
+
] }],
|
|
3534
|
+
"underline-offset": [{ "underline-offset": [
|
|
3535
|
+
"auto",
|
|
3536
|
+
Y,
|
|
3537
|
+
Z
|
|
3538
|
+
] }],
|
|
3539
|
+
"text-decoration-color": [{ decoration: [e] }],
|
|
3540
|
+
"text-transform": [
|
|
3541
|
+
"uppercase",
|
|
3542
|
+
"lowercase",
|
|
3543
|
+
"capitalize",
|
|
3544
|
+
"normal-case"
|
|
3545
|
+
],
|
|
3546
|
+
"text-overflow": [
|
|
3547
|
+
"truncate",
|
|
3548
|
+
"text-ellipsis",
|
|
3549
|
+
"text-clip"
|
|
3550
|
+
],
|
|
3551
|
+
"text-wrap": [{ text: [
|
|
3552
|
+
"wrap",
|
|
3553
|
+
"nowrap",
|
|
3554
|
+
"balance",
|
|
3555
|
+
"pretty"
|
|
3556
|
+
] }],
|
|
3557
|
+
indent: [{ indent: O() }],
|
|
3558
|
+
"vertical-align": [{ align: [
|
|
3559
|
+
"baseline",
|
|
3560
|
+
"top",
|
|
3561
|
+
"middle",
|
|
3562
|
+
"bottom",
|
|
3563
|
+
"text-top",
|
|
3564
|
+
"text-bottom",
|
|
3565
|
+
"sub",
|
|
3566
|
+
"super",
|
|
3567
|
+
Z
|
|
3568
|
+
] }],
|
|
3569
|
+
whitespace: [{ whitespace: [
|
|
3570
|
+
"normal",
|
|
3571
|
+
"nowrap",
|
|
3572
|
+
"pre",
|
|
3573
|
+
"pre-line",
|
|
3574
|
+
"pre-wrap",
|
|
3575
|
+
"break-spaces"
|
|
3576
|
+
] }],
|
|
3577
|
+
break: [{ break: [
|
|
3578
|
+
"normal",
|
|
3579
|
+
"words",
|
|
3580
|
+
"all",
|
|
3581
|
+
"keep"
|
|
3582
|
+
] }],
|
|
3583
|
+
hyphens: [{ hyphens: [
|
|
3584
|
+
"none",
|
|
3585
|
+
"manual",
|
|
3586
|
+
"auto"
|
|
3587
|
+
] }],
|
|
3588
|
+
content: [{ content: ["none", Z] }],
|
|
3589
|
+
"bg-attachment": [{ bg: [
|
|
3590
|
+
"fixed",
|
|
3591
|
+
"local",
|
|
3592
|
+
"scroll"
|
|
3593
|
+
] }],
|
|
3594
|
+
"bg-clip": [{ "bg-clip": [
|
|
3595
|
+
"border",
|
|
3596
|
+
"padding",
|
|
3597
|
+
"content",
|
|
3598
|
+
"text"
|
|
3599
|
+
] }],
|
|
3600
|
+
"bg-opacity": [{ "bg-opacity": [_] }],
|
|
3601
|
+
"bg-origin": [{ "bg-origin": [
|
|
3602
|
+
"border",
|
|
3603
|
+
"padding",
|
|
3604
|
+
"content"
|
|
3605
|
+
] }],
|
|
3606
|
+
"bg-position": [{ bg: [...te(), ei] }],
|
|
3607
|
+
"bg-repeat": [{ bg: ["no-repeat", { repeat: [
|
|
3608
|
+
"",
|
|
3609
|
+
"x",
|
|
3610
|
+
"y",
|
|
3611
|
+
"round",
|
|
3612
|
+
"space"
|
|
3613
|
+
] }] }],
|
|
3614
|
+
"bg-size": [{ bg: [
|
|
3615
|
+
"auto",
|
|
3616
|
+
"cover",
|
|
3617
|
+
"contain",
|
|
3618
|
+
$r
|
|
3619
|
+
] }],
|
|
3620
|
+
"bg-image": [{ bg: [
|
|
3621
|
+
"none",
|
|
3622
|
+
{ "gradient-to": [
|
|
3623
|
+
"t",
|
|
3624
|
+
"tr",
|
|
3625
|
+
"r",
|
|
3626
|
+
"br",
|
|
3627
|
+
"b",
|
|
3628
|
+
"bl",
|
|
3629
|
+
"l",
|
|
3630
|
+
"tl"
|
|
3631
|
+
] },
|
|
3632
|
+
ni
|
|
3633
|
+
] }],
|
|
3634
|
+
"bg-color": [{ bg: [e] }],
|
|
3635
|
+
"gradient-from-pos": [{ from: [m] }],
|
|
3636
|
+
"gradient-via-pos": [{ via: [m] }],
|
|
3637
|
+
"gradient-to-pos": [{ to: [m] }],
|
|
3638
|
+
"gradient-from": [{ from: [p] }],
|
|
3639
|
+
"gradient-via": [{ via: [p] }],
|
|
3640
|
+
"gradient-to": [{ to: [p] }],
|
|
3641
|
+
rounded: [{ rounded: [a] }],
|
|
3642
|
+
"rounded-s": [{ "rounded-s": [a] }],
|
|
3643
|
+
"rounded-e": [{ "rounded-e": [a] }],
|
|
3644
|
+
"rounded-t": [{ "rounded-t": [a] }],
|
|
3645
|
+
"rounded-r": [{ "rounded-r": [a] }],
|
|
3646
|
+
"rounded-b": [{ "rounded-b": [a] }],
|
|
3647
|
+
"rounded-l": [{ "rounded-l": [a] }],
|
|
3648
|
+
"rounded-ss": [{ "rounded-ss": [a] }],
|
|
3649
|
+
"rounded-se": [{ "rounded-se": [a] }],
|
|
3650
|
+
"rounded-ee": [{ "rounded-ee": [a] }],
|
|
3651
|
+
"rounded-es": [{ "rounded-es": [a] }],
|
|
3652
|
+
"rounded-tl": [{ "rounded-tl": [a] }],
|
|
3653
|
+
"rounded-tr": [{ "rounded-tr": [a] }],
|
|
3654
|
+
"rounded-br": [{ "rounded-br": [a] }],
|
|
3655
|
+
"rounded-bl": [{ "rounded-bl": [a] }],
|
|
3656
|
+
"border-w": [{ border: [s] }],
|
|
3657
|
+
"border-w-x": [{ "border-x": [s] }],
|
|
3658
|
+
"border-w-y": [{ "border-y": [s] }],
|
|
3659
|
+
"border-w-s": [{ "border-s": [s] }],
|
|
3660
|
+
"border-w-e": [{ "border-e": [s] }],
|
|
3661
|
+
"border-w-t": [{ "border-t": [s] }],
|
|
3662
|
+
"border-w-r": [{ "border-r": [s] }],
|
|
3663
|
+
"border-w-b": [{ "border-b": [s] }],
|
|
3664
|
+
"border-w-l": [{ "border-l": [s] }],
|
|
3665
|
+
"border-opacity": [{ "border-opacity": [_] }],
|
|
3666
|
+
"border-style": [{ border: [...A(), "hidden"] }],
|
|
3667
|
+
"divide-x": [{ "divide-x": [s] }],
|
|
3668
|
+
"divide-x-reverse": ["divide-x-reverse"],
|
|
3669
|
+
"divide-y": [{ "divide-y": [s] }],
|
|
3670
|
+
"divide-y-reverse": ["divide-y-reverse"],
|
|
3671
|
+
"divide-opacity": [{ "divide-opacity": [_] }],
|
|
3672
|
+
"divide-style": [{ divide: A() }],
|
|
3673
|
+
"border-color": [{ border: [i] }],
|
|
3674
|
+
"border-color-x": [{ "border-x": [i] }],
|
|
3675
|
+
"border-color-y": [{ "border-y": [i] }],
|
|
3676
|
+
"border-color-s": [{ "border-s": [i] }],
|
|
3677
|
+
"border-color-e": [{ "border-e": [i] }],
|
|
3678
|
+
"border-color-t": [{ "border-t": [i] }],
|
|
3679
|
+
"border-color-r": [{ "border-r": [i] }],
|
|
3680
|
+
"border-color-b": [{ "border-b": [i] }],
|
|
3681
|
+
"border-color-l": [{ "border-l": [i] }],
|
|
3682
|
+
"divide-color": [{ divide: [i] }],
|
|
3683
|
+
"outline-style": [{ outline: ["", ...A()] }],
|
|
3684
|
+
"outline-offset": [{ "outline-offset": [Y, Z] }],
|
|
3685
|
+
"outline-w": [{ outline: [Y, X] }],
|
|
3686
|
+
"outline-color": [{ outline: [e] }],
|
|
3687
|
+
"ring-w": [{ ring: ee() }],
|
|
3688
|
+
"ring-w-inset": ["ring-inset"],
|
|
3689
|
+
"ring-color": [{ ring: [e] }],
|
|
3690
|
+
"ring-opacity": [{ "ring-opacity": [_] }],
|
|
3691
|
+
"ring-offset-w": [{ "ring-offset": [Y, X] }],
|
|
3692
|
+
"ring-offset-color": [{ "ring-offset": [e] }],
|
|
3693
|
+
shadow: [{ shadow: [
|
|
3694
|
+
"",
|
|
3695
|
+
"inner",
|
|
3696
|
+
"none",
|
|
3697
|
+
Q,
|
|
3698
|
+
ri
|
|
3699
|
+
] }],
|
|
3700
|
+
"shadow-color": [{ shadow: [ii] }],
|
|
3701
|
+
opacity: [{ opacity: [_] }],
|
|
3702
|
+
"mix-blend": [{ "mix-blend": [
|
|
3703
|
+
...ne(),
|
|
3704
|
+
"plus-lighter",
|
|
3705
|
+
"plus-darker"
|
|
3706
|
+
] }],
|
|
3707
|
+
"bg-blend": [{ "bg-blend": ne() }],
|
|
3708
|
+
filter: [{ filter: ["", "none"] }],
|
|
3709
|
+
blur: [{ blur: [n] }],
|
|
3710
|
+
brightness: [{ brightness: [r] }],
|
|
3711
|
+
contrast: [{ contrast: [c] }],
|
|
3712
|
+
"drop-shadow": [{ "drop-shadow": [
|
|
3713
|
+
"",
|
|
3714
|
+
"none",
|
|
3715
|
+
Q,
|
|
3716
|
+
Z
|
|
3717
|
+
] }],
|
|
3718
|
+
grayscale: [{ grayscale: [l] }],
|
|
3719
|
+
"hue-rotate": [{ "hue-rotate": [u] }],
|
|
3720
|
+
invert: [{ invert: [d] }],
|
|
3721
|
+
saturate: [{ saturate: [y] }],
|
|
3722
|
+
sepia: [{ sepia: [x] }],
|
|
3723
|
+
"backdrop-filter": [{ "backdrop-filter": ["", "none"] }],
|
|
3724
|
+
"backdrop-blur": [{ "backdrop-blur": [n] }],
|
|
3725
|
+
"backdrop-brightness": [{ "backdrop-brightness": [r] }],
|
|
3726
|
+
"backdrop-contrast": [{ "backdrop-contrast": [c] }],
|
|
3727
|
+
"backdrop-grayscale": [{ "backdrop-grayscale": [l] }],
|
|
3728
|
+
"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [u] }],
|
|
3729
|
+
"backdrop-invert": [{ "backdrop-invert": [d] }],
|
|
3730
|
+
"backdrop-opacity": [{ "backdrop-opacity": [_] }],
|
|
3731
|
+
"backdrop-saturate": [{ "backdrop-saturate": [y] }],
|
|
3732
|
+
"backdrop-sepia": [{ "backdrop-sepia": [x] }],
|
|
3733
|
+
"border-collapse": [{ border: ["collapse", "separate"] }],
|
|
3734
|
+
"border-spacing": [{ "border-spacing": [o] }],
|
|
3735
|
+
"border-spacing-x": [{ "border-spacing-x": [o] }],
|
|
3736
|
+
"border-spacing-y": [{ "border-spacing-y": [o] }],
|
|
3737
|
+
"table-layout": [{ table: ["auto", "fixed"] }],
|
|
3738
|
+
caption: [{ caption: ["top", "bottom"] }],
|
|
3739
|
+
transition: [{ transition: [
|
|
3740
|
+
"none",
|
|
3741
|
+
"all",
|
|
3742
|
+
"",
|
|
3743
|
+
"colors",
|
|
3744
|
+
"opacity",
|
|
3745
|
+
"shadow",
|
|
3746
|
+
"transform",
|
|
3747
|
+
Z
|
|
3748
|
+
] }],
|
|
3749
|
+
duration: [{ duration: N() }],
|
|
3750
|
+
ease: [{ ease: [
|
|
3751
|
+
"linear",
|
|
3752
|
+
"in",
|
|
3753
|
+
"out",
|
|
3754
|
+
"in-out",
|
|
3755
|
+
Z
|
|
3756
|
+
] }],
|
|
3757
|
+
delay: [{ delay: N() }],
|
|
3758
|
+
animate: [{ animate: [
|
|
3759
|
+
"none",
|
|
3760
|
+
"spin",
|
|
3761
|
+
"ping",
|
|
3762
|
+
"pulse",
|
|
3763
|
+
"bounce",
|
|
3764
|
+
Z
|
|
3765
|
+
] }],
|
|
3766
|
+
transform: [{ transform: [
|
|
3767
|
+
"",
|
|
3768
|
+
"gpu",
|
|
3769
|
+
"none"
|
|
3770
|
+
] }],
|
|
3771
|
+
scale: [{ scale: [b] }],
|
|
3772
|
+
"scale-x": [{ "scale-x": [b] }],
|
|
3773
|
+
"scale-y": [{ "scale-y": [b] }],
|
|
3774
|
+
rotate: [{ rotate: [Xr, Z] }],
|
|
3775
|
+
"translate-x": [{ "translate-x": [w] }],
|
|
3776
|
+
"translate-y": [{ "translate-y": [w] }],
|
|
3777
|
+
"skew-x": [{ "skew-x": [S] }],
|
|
3778
|
+
"skew-y": [{ "skew-y": [S] }],
|
|
3779
|
+
"transform-origin": [{ origin: [
|
|
3780
|
+
"center",
|
|
3781
|
+
"top",
|
|
3782
|
+
"top-right",
|
|
3783
|
+
"right",
|
|
3784
|
+
"bottom-right",
|
|
3785
|
+
"bottom",
|
|
3786
|
+
"bottom-left",
|
|
3787
|
+
"left",
|
|
3788
|
+
"top-left",
|
|
3789
|
+
Z
|
|
3790
|
+
] }],
|
|
3791
|
+
accent: [{ accent: ["auto", e] }],
|
|
3792
|
+
appearance: [{ appearance: ["none", "auto"] }],
|
|
3793
|
+
cursor: [{ cursor: [
|
|
3794
|
+
"auto",
|
|
3795
|
+
"default",
|
|
3796
|
+
"pointer",
|
|
3797
|
+
"wait",
|
|
3798
|
+
"text",
|
|
3799
|
+
"move",
|
|
3800
|
+
"help",
|
|
3801
|
+
"not-allowed",
|
|
3802
|
+
"none",
|
|
3803
|
+
"context-menu",
|
|
3804
|
+
"progress",
|
|
3805
|
+
"cell",
|
|
3806
|
+
"crosshair",
|
|
3807
|
+
"vertical-text",
|
|
3808
|
+
"alias",
|
|
3809
|
+
"copy",
|
|
3810
|
+
"no-drop",
|
|
3811
|
+
"grab",
|
|
3812
|
+
"grabbing",
|
|
3813
|
+
"all-scroll",
|
|
3814
|
+
"col-resize",
|
|
3815
|
+
"row-resize",
|
|
3816
|
+
"n-resize",
|
|
3817
|
+
"e-resize",
|
|
3818
|
+
"s-resize",
|
|
3819
|
+
"w-resize",
|
|
3820
|
+
"ne-resize",
|
|
3821
|
+
"nw-resize",
|
|
3822
|
+
"se-resize",
|
|
3823
|
+
"sw-resize",
|
|
3824
|
+
"ew-resize",
|
|
3825
|
+
"ns-resize",
|
|
3826
|
+
"nesw-resize",
|
|
3827
|
+
"nwse-resize",
|
|
3828
|
+
"zoom-in",
|
|
3829
|
+
"zoom-out",
|
|
3830
|
+
Z
|
|
3831
|
+
] }],
|
|
3832
|
+
"caret-color": [{ caret: [e] }],
|
|
3833
|
+
"pointer-events": [{ "pointer-events": ["none", "auto"] }],
|
|
3834
|
+
resize: [{ resize: [
|
|
3835
|
+
"none",
|
|
3836
|
+
"y",
|
|
3837
|
+
"x",
|
|
3838
|
+
""
|
|
3839
|
+
] }],
|
|
3840
|
+
"scroll-behavior": [{ scroll: ["auto", "smooth"] }],
|
|
3841
|
+
"scroll-m": [{ "scroll-m": O() }],
|
|
3842
|
+
"scroll-mx": [{ "scroll-mx": O() }],
|
|
3843
|
+
"scroll-my": [{ "scroll-my": O() }],
|
|
3844
|
+
"scroll-ms": [{ "scroll-ms": O() }],
|
|
3845
|
+
"scroll-me": [{ "scroll-me": O() }],
|
|
3846
|
+
"scroll-mt": [{ "scroll-mt": O() }],
|
|
3847
|
+
"scroll-mr": [{ "scroll-mr": O() }],
|
|
3848
|
+
"scroll-mb": [{ "scroll-mb": O() }],
|
|
3849
|
+
"scroll-ml": [{ "scroll-ml": O() }],
|
|
3850
|
+
"scroll-p": [{ "scroll-p": O() }],
|
|
3851
|
+
"scroll-px": [{ "scroll-px": O() }],
|
|
3852
|
+
"scroll-py": [{ "scroll-py": O() }],
|
|
3853
|
+
"scroll-ps": [{ "scroll-ps": O() }],
|
|
3854
|
+
"scroll-pe": [{ "scroll-pe": O() }],
|
|
3855
|
+
"scroll-pt": [{ "scroll-pt": O() }],
|
|
3856
|
+
"scroll-pr": [{ "scroll-pr": O() }],
|
|
3857
|
+
"scroll-pb": [{ "scroll-pb": O() }],
|
|
3858
|
+
"scroll-pl": [{ "scroll-pl": O() }],
|
|
3859
|
+
"snap-align": [{ snap: [
|
|
3860
|
+
"start",
|
|
3861
|
+
"end",
|
|
3862
|
+
"center",
|
|
3863
|
+
"align-none"
|
|
3864
|
+
] }],
|
|
3865
|
+
"snap-stop": [{ snap: ["normal", "always"] }],
|
|
3866
|
+
"snap-type": [{ snap: [
|
|
3867
|
+
"none",
|
|
3868
|
+
"x",
|
|
3869
|
+
"y",
|
|
3870
|
+
"both"
|
|
3871
|
+
] }],
|
|
3872
|
+
"snap-strictness": [{ snap: ["mandatory", "proximity"] }],
|
|
3873
|
+
touch: [{ touch: [
|
|
3874
|
+
"auto",
|
|
3875
|
+
"none",
|
|
3876
|
+
"manipulation"
|
|
3877
|
+
] }],
|
|
3878
|
+
"touch-x": [{ "touch-pan": [
|
|
3879
|
+
"x",
|
|
3880
|
+
"left",
|
|
3881
|
+
"right"
|
|
3882
|
+
] }],
|
|
3883
|
+
"touch-y": [{ "touch-pan": [
|
|
3884
|
+
"y",
|
|
3885
|
+
"up",
|
|
3886
|
+
"down"
|
|
3887
|
+
] }],
|
|
3888
|
+
"touch-pz": ["touch-pinch-zoom"],
|
|
3889
|
+
select: [{ select: [
|
|
3890
|
+
"none",
|
|
3891
|
+
"text",
|
|
3892
|
+
"all",
|
|
3893
|
+
"auto"
|
|
3894
|
+
] }],
|
|
3895
|
+
"will-change": [{ "will-change": [
|
|
3896
|
+
"auto",
|
|
3897
|
+
"scroll",
|
|
3898
|
+
"contents",
|
|
3899
|
+
"transform",
|
|
3900
|
+
Z
|
|
3901
|
+
] }],
|
|
3902
|
+
fill: [{ fill: [e, "none"] }],
|
|
3903
|
+
"stroke-w": [{ stroke: [
|
|
3904
|
+
Y,
|
|
3905
|
+
X,
|
|
3906
|
+
Yr
|
|
3907
|
+
] }],
|
|
3908
|
+
stroke: [{ stroke: [e, "none"] }],
|
|
3909
|
+
sr: ["sr-only", "not-sr-only"],
|
|
3910
|
+
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
|
|
3911
|
+
},
|
|
3912
|
+
conflictingClassGroups: {
|
|
3913
|
+
overflow: ["overflow-x", "overflow-y"],
|
|
3914
|
+
overscroll: ["overscroll-x", "overscroll-y"],
|
|
3915
|
+
inset: [
|
|
3916
|
+
"inset-x",
|
|
3917
|
+
"inset-y",
|
|
3918
|
+
"start",
|
|
3919
|
+
"end",
|
|
3920
|
+
"top",
|
|
3921
|
+
"right",
|
|
3922
|
+
"bottom",
|
|
3923
|
+
"left"
|
|
3924
|
+
],
|
|
3925
|
+
"inset-x": ["right", "left"],
|
|
3926
|
+
"inset-y": ["top", "bottom"],
|
|
3927
|
+
flex: [
|
|
3928
|
+
"basis",
|
|
3929
|
+
"grow",
|
|
3930
|
+
"shrink"
|
|
3931
|
+
],
|
|
3932
|
+
gap: ["gap-x", "gap-y"],
|
|
3933
|
+
p: [
|
|
3934
|
+
"px",
|
|
3935
|
+
"py",
|
|
3936
|
+
"ps",
|
|
3937
|
+
"pe",
|
|
3938
|
+
"pt",
|
|
3939
|
+
"pr",
|
|
3940
|
+
"pb",
|
|
3941
|
+
"pl"
|
|
3942
|
+
],
|
|
3943
|
+
px: ["pr", "pl"],
|
|
3944
|
+
py: ["pt", "pb"],
|
|
3945
|
+
m: [
|
|
3946
|
+
"mx",
|
|
3947
|
+
"my",
|
|
3948
|
+
"ms",
|
|
3949
|
+
"me",
|
|
3950
|
+
"mt",
|
|
3951
|
+
"mr",
|
|
3952
|
+
"mb",
|
|
3953
|
+
"ml"
|
|
3954
|
+
],
|
|
3955
|
+
mx: ["mr", "ml"],
|
|
3956
|
+
my: ["mt", "mb"],
|
|
3957
|
+
size: ["w", "h"],
|
|
3958
|
+
"font-size": ["leading"],
|
|
3959
|
+
"fvn-normal": [
|
|
3960
|
+
"fvn-ordinal",
|
|
3961
|
+
"fvn-slashed-zero",
|
|
3962
|
+
"fvn-figure",
|
|
3963
|
+
"fvn-spacing",
|
|
3964
|
+
"fvn-fraction"
|
|
3965
|
+
],
|
|
3966
|
+
"fvn-ordinal": ["fvn-normal"],
|
|
3967
|
+
"fvn-slashed-zero": ["fvn-normal"],
|
|
3968
|
+
"fvn-figure": ["fvn-normal"],
|
|
3969
|
+
"fvn-spacing": ["fvn-normal"],
|
|
3970
|
+
"fvn-fraction": ["fvn-normal"],
|
|
3971
|
+
"line-clamp": ["display", "overflow"],
|
|
3972
|
+
rounded: [
|
|
3973
|
+
"rounded-s",
|
|
3974
|
+
"rounded-e",
|
|
3975
|
+
"rounded-t",
|
|
3976
|
+
"rounded-r",
|
|
3977
|
+
"rounded-b",
|
|
3978
|
+
"rounded-l",
|
|
3979
|
+
"rounded-ss",
|
|
3980
|
+
"rounded-se",
|
|
3981
|
+
"rounded-ee",
|
|
3982
|
+
"rounded-es",
|
|
3983
|
+
"rounded-tl",
|
|
3984
|
+
"rounded-tr",
|
|
3985
|
+
"rounded-br",
|
|
3986
|
+
"rounded-bl"
|
|
3987
|
+
],
|
|
3988
|
+
"rounded-s": ["rounded-ss", "rounded-es"],
|
|
3989
|
+
"rounded-e": ["rounded-se", "rounded-ee"],
|
|
3990
|
+
"rounded-t": ["rounded-tl", "rounded-tr"],
|
|
3991
|
+
"rounded-r": ["rounded-tr", "rounded-br"],
|
|
3992
|
+
"rounded-b": ["rounded-br", "rounded-bl"],
|
|
3993
|
+
"rounded-l": ["rounded-tl", "rounded-bl"],
|
|
3994
|
+
"border-spacing": ["border-spacing-x", "border-spacing-y"],
|
|
3995
|
+
"border-w": [
|
|
3996
|
+
"border-w-s",
|
|
3997
|
+
"border-w-e",
|
|
3998
|
+
"border-w-t",
|
|
3999
|
+
"border-w-r",
|
|
4000
|
+
"border-w-b",
|
|
4001
|
+
"border-w-l"
|
|
4002
|
+
],
|
|
4003
|
+
"border-w-x": ["border-w-r", "border-w-l"],
|
|
4004
|
+
"border-w-y": ["border-w-t", "border-w-b"],
|
|
4005
|
+
"border-color": [
|
|
4006
|
+
"border-color-s",
|
|
4007
|
+
"border-color-e",
|
|
4008
|
+
"border-color-t",
|
|
4009
|
+
"border-color-r",
|
|
4010
|
+
"border-color-b",
|
|
4011
|
+
"border-color-l"
|
|
4012
|
+
],
|
|
4013
|
+
"border-color-x": ["border-color-r", "border-color-l"],
|
|
4014
|
+
"border-color-y": ["border-color-t", "border-color-b"],
|
|
4015
|
+
"scroll-m": [
|
|
4016
|
+
"scroll-mx",
|
|
4017
|
+
"scroll-my",
|
|
4018
|
+
"scroll-ms",
|
|
4019
|
+
"scroll-me",
|
|
4020
|
+
"scroll-mt",
|
|
4021
|
+
"scroll-mr",
|
|
4022
|
+
"scroll-mb",
|
|
4023
|
+
"scroll-ml"
|
|
4024
|
+
],
|
|
4025
|
+
"scroll-mx": ["scroll-mr", "scroll-ml"],
|
|
4026
|
+
"scroll-my": ["scroll-mt", "scroll-mb"],
|
|
4027
|
+
"scroll-p": [
|
|
4028
|
+
"scroll-px",
|
|
4029
|
+
"scroll-py",
|
|
4030
|
+
"scroll-ps",
|
|
4031
|
+
"scroll-pe",
|
|
4032
|
+
"scroll-pt",
|
|
4033
|
+
"scroll-pr",
|
|
4034
|
+
"scroll-pb",
|
|
4035
|
+
"scroll-pl"
|
|
4036
|
+
],
|
|
4037
|
+
"scroll-px": ["scroll-pr", "scroll-pl"],
|
|
4038
|
+
"scroll-py": ["scroll-pt", "scroll-pb"],
|
|
4039
|
+
touch: [
|
|
4040
|
+
"touch-x",
|
|
4041
|
+
"touch-y",
|
|
4042
|
+
"touch-pz"
|
|
4043
|
+
],
|
|
4044
|
+
"touch-x": ["touch"],
|
|
4045
|
+
"touch-y": ["touch"],
|
|
4046
|
+
"touch-pz": ["touch"]
|
|
4047
|
+
},
|
|
4048
|
+
conflictingClassGroupModifiers: { "font-size": ["leading"] }
|
|
4049
|
+
};
|
|
4050
|
+
}, di = (e, { cacheSize: t, prefix: n, separator: r, experimentalParseClassName: i, extend: a = {}, override: o = {} }) => {
|
|
4051
|
+
fi(e, "cacheSize", t), fi(e, "prefix", n), fi(e, "separator", r), fi(e, "experimentalParseClassName", i);
|
|
4052
|
+
for (let t in o) pi(e[t], o[t]);
|
|
4053
|
+
for (let t in a) mi(e[t], a[t]);
|
|
4054
|
+
return e;
|
|
4055
|
+
}, fi = (e, t, n) => {
|
|
4056
|
+
n !== void 0 && (e[t] = n);
|
|
4057
|
+
}, pi = (e, t) => {
|
|
4058
|
+
if (t) for (let n in t) fi(e, n, t[n]);
|
|
4059
|
+
}, mi = (e, t) => {
|
|
4060
|
+
if (t) for (let n in t) {
|
|
4061
|
+
let r = t[n];
|
|
4062
|
+
r !== void 0 && (e[n] = (e[n] || []).concat(r));
|
|
4063
|
+
}
|
|
4064
|
+
}, hi = (e, ...t) => typeof e == "function" ? zr(ui, e, ...t) : zr(() => di(ui(), e), ...t), gi = /*#__PURE__*/ zr(ui), _i = {
|
|
4065
|
+
twMerge: !0,
|
|
4066
|
+
twMergeConfig: {},
|
|
4067
|
+
responsiveVariants: !1
|
|
4068
|
+
}, vi = (e) => e || void 0, yi = (...e) => vi(gr(e).filter(Boolean).join(" ")), bi = null, $ = {}, xi = !1, Si = (...e) => (t) => t.twMerge ? ((!bi || xi) && (xi = !1, bi = q($) ? gi : hi({
|
|
4069
|
+
...$,
|
|
4070
|
+
extend: {
|
|
4071
|
+
theme: $.theme,
|
|
4072
|
+
classGroups: $.classGroups,
|
|
4073
|
+
conflictingClassGroupModifiers: $.conflictingClassGroupModifiers,
|
|
4074
|
+
conflictingClassGroups: $.conflictingClassGroups,
|
|
4075
|
+
...$.extend
|
|
4076
|
+
}
|
|
4077
|
+
})), vi(bi(yi(e)))) : yi(e), Ci = (e, t) => {
|
|
4078
|
+
for (let n in t) e.hasOwnProperty(n) ? e[n] = yi(e[n], t[n]) : e[n] = t[n];
|
|
4079
|
+
return e;
|
|
4080
|
+
}, wi = (e, t) => {
|
|
4081
|
+
let { extend: n = null, slots: r = {}, variants: i = {}, compoundVariants: a = [], compoundSlots: o = [], defaultVariants: s = {} } = e, c = {
|
|
4082
|
+
..._i,
|
|
4083
|
+
...t
|
|
4084
|
+
}, l = n != null && n.base ? yi(n.base, e?.base) : e?.base, u = n != null && n.variants && !q(n.variants) ? vr(i, n.variants) : i, d = n != null && n.defaultVariants && !q(n.defaultVariants) ? {
|
|
4085
|
+
...n.defaultVariants,
|
|
4086
|
+
...s
|
|
4087
|
+
} : s;
|
|
4088
|
+
!q(c.twMergeConfig) && !mr(c.twMergeConfig, $) && (xi = !0, $ = c.twMergeConfig);
|
|
4089
|
+
let f = q(n?.slots), p = q(r) ? {} : {
|
|
4090
|
+
base: yi(e?.base, f && n?.base),
|
|
4091
|
+
...r
|
|
4092
|
+
}, m = f ? p : Ci({ ...n?.slots }, q(p) ? { base: e?.base } : p), h = q(n?.compoundVariants) ? a : _r(n?.compoundVariants, a), g = (e) => {
|
|
4093
|
+
if (q(u) && q(r) && f) return Si(l, e?.class, e?.className)(c);
|
|
4094
|
+
if (h && !Array.isArray(h)) throw TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof h}`);
|
|
4095
|
+
if (o && !Array.isArray(o)) throw TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof o}`);
|
|
4096
|
+
let t = (e, t, n = [], r) => {
|
|
4097
|
+
let i = n;
|
|
4098
|
+
if (typeof t == "string") i = i.concat(yr(t).split(" ").map((t) => `${e}:${t}`));
|
|
4099
|
+
else if (Array.isArray(t)) i = i.concat(t.reduce((t, n) => t.concat(`${e}:${n}`), []));
|
|
4100
|
+
else if (typeof t == "object" && typeof r == "string") {
|
|
4101
|
+
for (let n in t) if (t.hasOwnProperty(n) && n === r) {
|
|
4102
|
+
let a = t[n];
|
|
4103
|
+
if (a && typeof a == "string") {
|
|
4104
|
+
let t = yr(a);
|
|
4105
|
+
i[r] ? i[r] = i[r].concat(t.split(" ").map((t) => `${e}:${t}`)) : i[r] = t.split(" ").map((t) => `${e}:${t}`);
|
|
4106
|
+
} else Array.isArray(a) && a.length > 0 && (i[r] = a.reduce((t, n) => t.concat(`${e}:${n}`), []));
|
|
4107
|
+
}
|
|
4108
|
+
}
|
|
4109
|
+
return i;
|
|
4110
|
+
}, n = (n, r = u, i = null, a = null) => {
|
|
4111
|
+
let o = r[n];
|
|
4112
|
+
if (!o || q(o)) return null;
|
|
4113
|
+
let s = a?.[n] ?? e?.[n];
|
|
4114
|
+
if (s === null) return null;
|
|
4115
|
+
let l = pr(s), f = Array.isArray(c.responsiveVariants) && c.responsiveVariants.length > 0 || c.responsiveVariants === !0, p = d?.[n], m = [];
|
|
4116
|
+
if (typeof l == "object" && f) for (let [e, n] of Object.entries(l)) {
|
|
4117
|
+
let r = o[n];
|
|
4118
|
+
if (e === "initial") {
|
|
4119
|
+
p = n;
|
|
4120
|
+
continue;
|
|
4121
|
+
}
|
|
4122
|
+
Array.isArray(c.responsiveVariants) && !c.responsiveVariants.includes(e) || (m = t(e, r, m, i));
|
|
4123
|
+
}
|
|
4124
|
+
let h = o[(l != null && typeof l != "object" ? l : pr(p)) || "false"];
|
|
4125
|
+
return typeof m == "object" && typeof i == "string" && m[i] ? Ci(m, h) : m.length > 0 ? (m.push(h), i === "base" ? m.join(" ") : m) : h;
|
|
4126
|
+
}, i = () => u ? Object.keys(u).map((e) => n(e, u)) : null, a = (e, t) => {
|
|
4127
|
+
if (!u || typeof u != "object") return null;
|
|
4128
|
+
let r = [];
|
|
4129
|
+
for (let i in u) {
|
|
4130
|
+
let a = n(i, u, e, t), o = e === "base" && typeof a == "string" ? a : a && a[e];
|
|
4131
|
+
o && (r[r.length] = o);
|
|
4132
|
+
}
|
|
4133
|
+
return r;
|
|
4134
|
+
}, s = {};
|
|
4135
|
+
for (let t in e) e[t] !== void 0 && (s[t] = e[t]);
|
|
4136
|
+
let p = (t, n) => {
|
|
4137
|
+
let r = typeof e?.[t] == "object" ? { [t]: e[t]?.initial } : {};
|
|
4138
|
+
return {
|
|
4139
|
+
...d,
|
|
4140
|
+
...s,
|
|
4141
|
+
...r,
|
|
4142
|
+
...n
|
|
4143
|
+
};
|
|
4144
|
+
}, g = (e = [], t) => {
|
|
4145
|
+
let n = [];
|
|
4146
|
+
for (let { class: r, className: i, ...a } of e) {
|
|
4147
|
+
let e = !0;
|
|
4148
|
+
for (let [n, r] of Object.entries(a)) {
|
|
4149
|
+
let i = p(n, t)[n];
|
|
4150
|
+
if (Array.isArray(r)) {
|
|
4151
|
+
if (!r.includes(i)) {
|
|
4152
|
+
e = !1;
|
|
4153
|
+
break;
|
|
4154
|
+
}
|
|
4155
|
+
} else {
|
|
4156
|
+
let t = (e) => e == null || e === !1;
|
|
4157
|
+
if (t(r) && t(i)) continue;
|
|
4158
|
+
if (i !== r) {
|
|
4159
|
+
e = !1;
|
|
4160
|
+
break;
|
|
4161
|
+
}
|
|
4162
|
+
}
|
|
4163
|
+
}
|
|
4164
|
+
e && (r && n.push(r), i && n.push(i));
|
|
4165
|
+
}
|
|
4166
|
+
return n;
|
|
4167
|
+
}, _ = (e) => {
|
|
4168
|
+
let t = g(h, e);
|
|
4169
|
+
if (!Array.isArray(t)) return t;
|
|
4170
|
+
let n = {};
|
|
4171
|
+
for (let e of t) if (typeof e == "string" && (n.base = Si(n.base, e)(c)), typeof e == "object") for (let [t, r] of Object.entries(e)) n[t] = Si(n[t], r)(c);
|
|
4172
|
+
return n;
|
|
4173
|
+
}, v = (e) => {
|
|
4174
|
+
if (o.length < 1) return null;
|
|
4175
|
+
let t = {};
|
|
4176
|
+
for (let { slots: n = [], class: r, className: i, ...a } of o) {
|
|
4177
|
+
if (!q(a)) {
|
|
4178
|
+
let t = !0;
|
|
4179
|
+
for (let n of Object.keys(a)) {
|
|
4180
|
+
let r = p(n, e)[n];
|
|
4181
|
+
if (r === void 0 || (Array.isArray(a[n]) ? !a[n].includes(r) : a[n] !== r)) {
|
|
4182
|
+
t = !1;
|
|
4183
|
+
break;
|
|
4184
|
+
}
|
|
4185
|
+
}
|
|
4186
|
+
if (!t) continue;
|
|
4187
|
+
}
|
|
4188
|
+
for (let e of n) t[e] = t[e] || [], t[e].push([r, i]);
|
|
4189
|
+
}
|
|
4190
|
+
return t;
|
|
4191
|
+
};
|
|
4192
|
+
if (!q(r) || !f) {
|
|
4193
|
+
let e = {};
|
|
4194
|
+
if (typeof m == "object" && !q(m)) for (let t of Object.keys(m)) e[t] = (e) => Si(m[t], a(t, e), (_(e) ?? [])[t], (v(e) ?? [])[t], e?.class, e?.className)(c);
|
|
4195
|
+
return e;
|
|
4196
|
+
}
|
|
4197
|
+
return Si(l, i(), g(h), e?.class, e?.className)(c);
|
|
4198
|
+
};
|
|
4199
|
+
return g.variantKeys = (() => {
|
|
4200
|
+
if (!(!u || typeof u != "object")) return Object.keys(u);
|
|
4201
|
+
})(), g.extend = n, g.base = l, g.slots = m, g.variants = u, g.defaultVariants = d, g.compoundSlots = o, g.compoundVariants = h, g;
|
|
4202
|
+
}, Ti = () => n(fr), Ei = wi({
|
|
4203
|
+
base: "preflight typography-input-text flex gap-2 justify-between text-clr-primary",
|
|
4204
|
+
slots: {
|
|
4205
|
+
item: ["w-6 h-6 border text-inherit border-current rounded-full shrink-0", "focus-visible:outline focus-visible:outline-current focus-visible:outline-1 focus-visible:outline-offset-2"],
|
|
4206
|
+
indicatorAndLabel: "flex gap-2 py-3 flex-1 items-center",
|
|
4207
|
+
indicator: ["flex items-center justify-center w-full h-full relative after:content-[''] after:block after:w-2.5", "after:h-2.5 after:bg-current after:rounded-[50%]"],
|
|
4208
|
+
suffix: "h-12 flex-none"
|
|
4209
|
+
},
|
|
4210
|
+
variants: { disabled: {
|
|
4211
|
+
true: {
|
|
4212
|
+
base: "text-clr-disabled",
|
|
4213
|
+
item: "bg-clr-bg-disabled"
|
|
4214
|
+
},
|
|
4215
|
+
false: { base: "hover:cursor-pointer hover:text-clr-on-bg-low" }
|
|
4216
|
+
} }
|
|
4217
|
+
}), Di = ({ value: e, label: t, additional: n, suffix: r }) => {
|
|
4218
|
+
let { disabled: i, checkedValue: a } = Ti(), { base: c, item: l, indicatorAndLabel: u, indicator: d, suffix: f } = Ei({ disabled: i }), p = e === "" ? "hidden" : void 0, m = e === a;
|
|
4219
|
+
return /* @__PURE__ */ s("div", {
|
|
4220
|
+
className: p,
|
|
4221
|
+
"data-bpds-radio-group-item": "",
|
|
4222
|
+
"data-bpds-has-suffix": !!r,
|
|
4223
|
+
"data-bpds-has-additional": !!n,
|
|
4224
|
+
children: [/* @__PURE__ */ s("label", {
|
|
4225
|
+
className: c(),
|
|
4226
|
+
children: [/* @__PURE__ */ s("span", {
|
|
4227
|
+
className: u(),
|
|
4228
|
+
children: [/* @__PURE__ */ o(lr, {
|
|
4229
|
+
value: e,
|
|
4230
|
+
className: l(),
|
|
4231
|
+
disabled: i,
|
|
4232
|
+
children: /* @__PURE__ */ o(dr, { className: d() })
|
|
4233
|
+
}), t]
|
|
4234
|
+
}), r && /* @__PURE__ */ o("span", {
|
|
4235
|
+
className: f(),
|
|
4236
|
+
children: r
|
|
4237
|
+
})]
|
|
4238
|
+
}), n && m && /* @__PURE__ */ o("div", { children: n })]
|
|
4239
|
+
});
|
|
4240
|
+
}, Oi = ({ value: e, onChange: t, label: n, "aria-label": r, "aria-labelledby": a, children: c, name: l, disabled: u = !1, error: d = !1, errorText: f = "", helperText: p, required: m = !1, divider: h = !1, horizontalPadding: g = !1, ..._ }) => {
|
|
4241
|
+
let v = "defaultValue" in _ ? _.defaultValue : void 0, [y, b] = i(v ?? ""), x = e !== void 0;
|
|
4242
|
+
return /* @__PURE__ */ o(ct, {
|
|
4243
|
+
label: n,
|
|
4244
|
+
"aria-label": r,
|
|
4245
|
+
"aria-labelledby": a,
|
|
4246
|
+
name: l,
|
|
4247
|
+
disabled: u,
|
|
4248
|
+
helperText: p,
|
|
4249
|
+
error: d,
|
|
4250
|
+
errorText: f,
|
|
4251
|
+
required: m,
|
|
4252
|
+
componentName: "radio-group",
|
|
4253
|
+
divider: h,
|
|
4254
|
+
horizontalPadding: g,
|
|
4255
|
+
children: /* @__PURE__ */ o(ir, {
|
|
4256
|
+
name: l,
|
|
4257
|
+
value: e,
|
|
4258
|
+
onValueChange: (e) => {
|
|
4259
|
+
x || b(e), t?.(e);
|
|
4260
|
+
},
|
|
4261
|
+
orientation: "vertical",
|
|
4262
|
+
disabled: u,
|
|
4263
|
+
required: m,
|
|
4264
|
+
defaultValue: v,
|
|
4265
|
+
children: /* @__PURE__ */ s(fr, {
|
|
4266
|
+
value: {
|
|
4267
|
+
disabled: u,
|
|
4268
|
+
checkedValue: x ? e : y
|
|
4269
|
+
},
|
|
4270
|
+
children: [/* @__PURE__ */ o(Di, {
|
|
4271
|
+
label: "",
|
|
4272
|
+
value: ""
|
|
4273
|
+
}), c]
|
|
4274
|
+
})
|
|
4275
|
+
})
|
|
4276
|
+
});
|
|
4277
|
+
};
|
|
4278
|
+
Oi.Item = Di;
|
|
4279
|
+
//#endregion
|
|
4280
|
+
export { Oi as default };
|
|
4281
|
+
|
|
4282
|
+
//# sourceMappingURL=index.js.map
|