burne-ui 1.7.7 → 1.8.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/README.md +3 -3
- package/cli/init.js +16 -16
- package/cli/theme-bridge.css +107 -0
- package/dist/components/composite/Accordion/accordionTypes.d.ts +2 -1
- package/dist/components/core/Button/buttonAnimations.d.ts +1 -0
- package/dist/components/core/Button/buttonStyles.d.ts +12 -6
- package/dist/components/core/Button/buttonTypes.d.ts +5 -0
- package/dist/components/core/Link/linkStyles.d.ts +3 -3
- package/dist/components/core/SelectionIndicator/selectionIndicatorTokens.d.ts +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +5096 -5087
- package/dist/internal.cjs +1 -1
- package/dist/internal.js +1 -1
- package/dist/{themeRuntimeContext-BSRr0qLF.js → themeRuntimeContext-BYM_xa2F.js} +786 -764
- package/dist/{themeRuntimeContext-DV880giO.cjs → themeRuntimeContext-CnA3HVpr.cjs} +6 -6
- package/dist/tokens/config.d.ts +6 -5
- package/dist/ui.css +12 -14
- package/package.json +2 -1
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx as
|
|
3
|
-
import { useSyncExternalStore as
|
|
4
|
-
import
|
|
5
|
-
import { CustomEase as
|
|
6
|
-
function
|
|
2
|
+
import { jsx as Ze, Fragment as Fo } from "react/jsx-runtime";
|
|
3
|
+
import { useSyncExternalStore as _o, memo as Oo, useRef as Z, useLayoutEffect as Q, useState as Je, useCallback as D, useEffect as Hr, useMemo as J, createElement as $r, useContext as Ne, createContext as Wr } from "react";
|
|
4
|
+
import A from "gsap";
|
|
5
|
+
import { CustomEase as Qe } from "gsap/CustomEase";
|
|
6
|
+
function Ur(e) {
|
|
7
7
|
var r, o, n = "";
|
|
8
8
|
if (typeof e == "string" || typeof e == "number") n += e;
|
|
9
9
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
10
10
|
var i = e.length;
|
|
11
|
-
for (r = 0; r < i; r++) e[r] && (o =
|
|
11
|
+
for (r = 0; r < i; r++) e[r] && (o = Ur(e[r])) && (n && (n += " "), n += o);
|
|
12
12
|
} else for (o in e) e[o] && (n && (n += " "), n += o);
|
|
13
13
|
return n;
|
|
14
14
|
}
|
|
15
|
-
function
|
|
16
|
-
for (var e, r, o = 0, n = "", i = arguments.length; o < i; o++) (e = arguments[o]) && (r =
|
|
15
|
+
function Io() {
|
|
16
|
+
for (var e, r, o = 0, n = "", i = arguments.length; o < i; o++) (e = arguments[o]) && (r = Ur(e)) && (n && (n += " "), n += r);
|
|
17
17
|
return n;
|
|
18
18
|
}
|
|
19
|
-
const
|
|
19
|
+
const Lo = (e, r) => {
|
|
20
20
|
const o = new Array(e.length + r.length);
|
|
21
21
|
for (let n = 0; n < e.length; n++)
|
|
22
22
|
o[n] = e[n];
|
|
23
23
|
for (let n = 0; n < r.length; n++)
|
|
24
24
|
o[e.length + n] = r[n];
|
|
25
25
|
return o;
|
|
26
|
-
},
|
|
26
|
+
}, Ro = (e, r) => ({
|
|
27
27
|
classGroupId: e,
|
|
28
28
|
validator: r
|
|
29
|
-
}),
|
|
29
|
+
}), Vr = (e = /* @__PURE__ */ new Map(), r = null, o) => ({
|
|
30
30
|
nextPart: e,
|
|
31
31
|
validators: r,
|
|
32
32
|
classGroupId: o
|
|
33
|
-
}), Ie = "-",
|
|
34
|
-
const r =
|
|
33
|
+
}), Ie = "-", Dr = [], Ao = "arbitrary..", zo = (e) => {
|
|
34
|
+
const r = Mo(e), {
|
|
35
35
|
conflictingClassGroups: o,
|
|
36
36
|
conflictingClassGroupModifiers: n
|
|
37
37
|
} = e;
|
|
38
38
|
return {
|
|
39
39
|
getClassGroupId: (s) => {
|
|
40
40
|
if (s.startsWith("[") && s.endsWith("]"))
|
|
41
|
-
return
|
|
41
|
+
return Po(s);
|
|
42
42
|
const a = s.split(Ie), d = a[0] === "" && a.length > 1 ? 1 : 0;
|
|
43
|
-
return
|
|
43
|
+
return qr(a, d, r);
|
|
44
44
|
},
|
|
45
45
|
getConflictingClassGroupIds: (s, a) => {
|
|
46
46
|
if (a) {
|
|
47
47
|
const d = n[s], c = o[s];
|
|
48
|
-
return d ? c ?
|
|
48
|
+
return d ? c ? Lo(c, d) : d : c || Dr;
|
|
49
49
|
}
|
|
50
|
-
return o[s] ||
|
|
50
|
+
return o[s] || Dr;
|
|
51
51
|
}
|
|
52
52
|
};
|
|
53
|
-
},
|
|
53
|
+
}, qr = (e, r, o) => {
|
|
54
54
|
if (e.length - r === 0)
|
|
55
55
|
return o.classGroupId;
|
|
56
56
|
const i = e[r], t = o.nextPart.get(i);
|
|
57
57
|
if (t) {
|
|
58
|
-
const c =
|
|
58
|
+
const c = qr(e, r + 1, t);
|
|
59
59
|
if (c) return c;
|
|
60
60
|
}
|
|
61
61
|
const s = o.validators;
|
|
@@ -67,63 +67,63 @@ const Io = (e, r) => {
|
|
|
67
67
|
if (p.validator(a))
|
|
68
68
|
return p.classGroupId;
|
|
69
69
|
}
|
|
70
|
-
},
|
|
70
|
+
}, Po = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
71
71
|
const r = e.slice(1, -1), o = r.indexOf(":"), n = r.slice(0, o);
|
|
72
|
-
return n ?
|
|
73
|
-
})(),
|
|
72
|
+
return n ? Ao + n : void 0;
|
|
73
|
+
})(), Mo = (e) => {
|
|
74
74
|
const {
|
|
75
75
|
theme: r,
|
|
76
76
|
classGroups: o
|
|
77
77
|
} = e;
|
|
78
|
-
return
|
|
79
|
-
},
|
|
80
|
-
const o =
|
|
78
|
+
return No(o, r);
|
|
79
|
+
}, No = (e, r) => {
|
|
80
|
+
const o = Vr();
|
|
81
81
|
for (const n in e) {
|
|
82
82
|
const i = e[n];
|
|
83
|
-
|
|
83
|
+
tr(i, o, n, r);
|
|
84
84
|
}
|
|
85
85
|
return o;
|
|
86
|
-
},
|
|
86
|
+
}, tr = (e, r, o, n) => {
|
|
87
87
|
const i = e.length;
|
|
88
88
|
for (let t = 0; t < i; t++) {
|
|
89
89
|
const s = e[t];
|
|
90
|
-
|
|
90
|
+
Bo(s, r, o, n);
|
|
91
91
|
}
|
|
92
|
-
},
|
|
92
|
+
}, Bo = (e, r, o, n) => {
|
|
93
93
|
if (typeof e == "string") {
|
|
94
|
-
|
|
94
|
+
Go(e, r, o);
|
|
95
95
|
return;
|
|
96
96
|
}
|
|
97
97
|
if (typeof e == "function") {
|
|
98
|
-
|
|
98
|
+
Ho(e, r, o, n);
|
|
99
99
|
return;
|
|
100
100
|
}
|
|
101
|
-
|
|
102
|
-
},
|
|
103
|
-
const n = e === "" ? r :
|
|
101
|
+
$o(e, r, o, n);
|
|
102
|
+
}, Go = (e, r, o) => {
|
|
103
|
+
const n = e === "" ? r : jr(r, e);
|
|
104
104
|
n.classGroupId = o;
|
|
105
|
-
},
|
|
106
|
-
if (
|
|
107
|
-
|
|
105
|
+
}, Ho = (e, r, o, n) => {
|
|
106
|
+
if (Wo(e)) {
|
|
107
|
+
tr(e(n), r, o, n);
|
|
108
108
|
return;
|
|
109
109
|
}
|
|
110
|
-
r.validators === null && (r.validators = []), r.validators.push(
|
|
111
|
-
},
|
|
110
|
+
r.validators === null && (r.validators = []), r.validators.push(Ro(o, e));
|
|
111
|
+
}, $o = (e, r, o, n) => {
|
|
112
112
|
const i = Object.entries(e), t = i.length;
|
|
113
113
|
for (let s = 0; s < t; s++) {
|
|
114
114
|
const [a, d] = i[s];
|
|
115
|
-
|
|
115
|
+
tr(d, jr(r, a), o, n);
|
|
116
116
|
}
|
|
117
|
-
},
|
|
117
|
+
}, jr = (e, r) => {
|
|
118
118
|
let o = e;
|
|
119
119
|
const n = r.split(Ie), i = n.length;
|
|
120
120
|
for (let t = 0; t < i; t++) {
|
|
121
121
|
const s = n[t];
|
|
122
122
|
let a = o.nextPart.get(s);
|
|
123
|
-
a || (a =
|
|
123
|
+
a || (a = Vr(), o.nextPart.set(s, a)), o = a;
|
|
124
124
|
}
|
|
125
125
|
return o;
|
|
126
|
-
},
|
|
126
|
+
}, Wo = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Uo = (e) => {
|
|
127
127
|
if (e < 1)
|
|
128
128
|
return {
|
|
129
129
|
get: () => {
|
|
@@ -147,13 +147,13 @@ const Io = (e, r) => {
|
|
|
147
147
|
t in o ? o[t] = s : i(t, s);
|
|
148
148
|
}
|
|
149
149
|
};
|
|
150
|
-
},
|
|
150
|
+
}, er = "!", Cr = ":", Vo = [], Fr = (e, r, o, n, i) => ({
|
|
151
151
|
modifiers: e,
|
|
152
152
|
hasImportantModifier: r,
|
|
153
153
|
baseClassName: o,
|
|
154
154
|
maybePostfixModifierPosition: n,
|
|
155
155
|
isExternal: i
|
|
156
|
-
}),
|
|
156
|
+
}), qo = (e) => {
|
|
157
157
|
const {
|
|
158
158
|
prefix: r,
|
|
159
159
|
experimentalParseClassName: o
|
|
@@ -163,34 +163,34 @@ const Io = (e, r) => {
|
|
|
163
163
|
let s = 0, a = 0, d = 0, c;
|
|
164
164
|
const p = i.length;
|
|
165
165
|
for (let k = 0; k < p; k++) {
|
|
166
|
-
const
|
|
166
|
+
const _ = i[k];
|
|
167
167
|
if (s === 0 && a === 0) {
|
|
168
|
-
if (
|
|
168
|
+
if (_ === Cr) {
|
|
169
169
|
t.push(i.slice(d, k)), d = k + 1;
|
|
170
170
|
continue;
|
|
171
171
|
}
|
|
172
|
-
if (
|
|
172
|
+
if (_ === "/") {
|
|
173
173
|
c = k;
|
|
174
174
|
continue;
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
|
-
|
|
177
|
+
_ === "[" ? s++ : _ === "]" ? s-- : _ === "(" ? a++ : _ === ")" && a--;
|
|
178
178
|
}
|
|
179
179
|
const m = t.length === 0 ? i : i.slice(d);
|
|
180
180
|
let w = m, h = !1;
|
|
181
|
-
m.endsWith(
|
|
181
|
+
m.endsWith(er) ? (w = m.slice(0, -1), h = !0) : (
|
|
182
182
|
/**
|
|
183
183
|
* In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
|
|
184
184
|
* @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
|
|
185
185
|
*/
|
|
186
|
-
m.startsWith(
|
|
186
|
+
m.startsWith(er) && (w = m.slice(1), h = !0)
|
|
187
187
|
);
|
|
188
|
-
const
|
|
189
|
-
return Fr(t, h, w,
|
|
188
|
+
const x = c && c > d ? c - d : void 0;
|
|
189
|
+
return Fr(t, h, w, x);
|
|
190
190
|
};
|
|
191
191
|
if (r) {
|
|
192
|
-
const i = r +
|
|
193
|
-
n = (s) => s.startsWith(i) ? t(s.slice(i.length)) : Fr(
|
|
192
|
+
const i = r + Cr, t = n;
|
|
193
|
+
n = (s) => s.startsWith(i) ? t(s.slice(i.length)) : Fr(Vo, !1, s, void 0, !0);
|
|
194
194
|
}
|
|
195
195
|
if (o) {
|
|
196
196
|
const i = n;
|
|
@@ -200,7 +200,7 @@ const Io = (e, r) => {
|
|
|
200
200
|
});
|
|
201
201
|
}
|
|
202
202
|
return n;
|
|
203
|
-
},
|
|
203
|
+
}, jo = (e) => {
|
|
204
204
|
const r = /* @__PURE__ */ new Map();
|
|
205
205
|
return e.orderSensitiveModifiers.forEach((o, n) => {
|
|
206
206
|
r.set(o, 1e6 + n);
|
|
@@ -213,63 +213,63 @@ const Io = (e, r) => {
|
|
|
213
213
|
}
|
|
214
214
|
return i.length > 0 && (i.sort(), n.push(...i)), n;
|
|
215
215
|
};
|
|
216
|
-
},
|
|
217
|
-
cache:
|
|
218
|
-
parseClassName:
|
|
219
|
-
sortModifiers:
|
|
220
|
-
postfixLookupClassGroupIds:
|
|
216
|
+
}, Xo = (e) => ({
|
|
217
|
+
cache: Uo(e.cacheSize),
|
|
218
|
+
parseClassName: qo(e),
|
|
219
|
+
sortModifiers: jo(e),
|
|
220
|
+
postfixLookupClassGroupIds: Yo(e),
|
|
221
221
|
...zo(e)
|
|
222
|
-
}),
|
|
222
|
+
}), Yo = (e) => {
|
|
223
223
|
const r = /* @__PURE__ */ Object.create(null), o = e.postfixLookupClassGroups;
|
|
224
224
|
if (o)
|
|
225
225
|
for (let n = 0; n < o.length; n++)
|
|
226
226
|
r[o[n]] = !0;
|
|
227
227
|
return r;
|
|
228
|
-
},
|
|
228
|
+
}, Ko = /\s+/, Zo = (e, r) => {
|
|
229
229
|
const {
|
|
230
230
|
parseClassName: o,
|
|
231
231
|
getClassGroupId: n,
|
|
232
232
|
getConflictingClassGroupIds: i,
|
|
233
233
|
sortModifiers: t,
|
|
234
234
|
postfixLookupClassGroupIds: s
|
|
235
|
-
} = r, a = [], d = e.trim().split(
|
|
235
|
+
} = r, a = [], d = e.trim().split(Ko);
|
|
236
236
|
let c = "";
|
|
237
237
|
for (let p = d.length - 1; p >= 0; p -= 1) {
|
|
238
238
|
const m = d[p], {
|
|
239
239
|
isExternal: w,
|
|
240
240
|
modifiers: h,
|
|
241
|
-
hasImportantModifier:
|
|
241
|
+
hasImportantModifier: x,
|
|
242
242
|
baseClassName: k,
|
|
243
|
-
maybePostfixModifierPosition:
|
|
243
|
+
maybePostfixModifierPosition: _
|
|
244
244
|
} = o(m);
|
|
245
245
|
if (w) {
|
|
246
246
|
c = m + (c.length > 0 ? " " + c : c);
|
|
247
247
|
continue;
|
|
248
248
|
}
|
|
249
|
-
let q = !!
|
|
249
|
+
let q = !!_, O;
|
|
250
250
|
if (q) {
|
|
251
|
-
const N = k.substring(0,
|
|
252
|
-
|
|
253
|
-
const f =
|
|
254
|
-
f && f !==
|
|
251
|
+
const N = k.substring(0, _);
|
|
252
|
+
O = n(N);
|
|
253
|
+
const f = O && s[O] ? n(k) : void 0;
|
|
254
|
+
f && f !== O && (O = f, q = !1);
|
|
255
255
|
} else
|
|
256
|
-
|
|
257
|
-
if (!
|
|
256
|
+
O = n(k);
|
|
257
|
+
if (!O) {
|
|
258
258
|
if (!q) {
|
|
259
259
|
c = m + (c.length > 0 ? " " + c : c);
|
|
260
260
|
continue;
|
|
261
261
|
}
|
|
262
|
-
if (
|
|
262
|
+
if (O = n(k), !O) {
|
|
263
263
|
c = m + (c.length > 0 ? " " + c : c);
|
|
264
264
|
continue;
|
|
265
265
|
}
|
|
266
266
|
q = !1;
|
|
267
267
|
}
|
|
268
|
-
const de = h.length === 0 ? "" : h.length === 1 ? h[0] : t(h).join(":"), re =
|
|
268
|
+
const de = h.length === 0 ? "" : h.length === 1 ? h[0] : t(h).join(":"), re = x ? de + er : de, oe = re + O;
|
|
269
269
|
if (a.indexOf(oe) > -1)
|
|
270
270
|
continue;
|
|
271
271
|
a.push(oe);
|
|
272
|
-
const ne = i(
|
|
272
|
+
const ne = i(O, q);
|
|
273
273
|
for (let N = 0; N < ne.length; ++N) {
|
|
274
274
|
const f = ne[N];
|
|
275
275
|
a.push(re + f);
|
|
@@ -277,47 +277,47 @@ const Io = (e, r) => {
|
|
|
277
277
|
c = m + (c.length > 0 ? " " + c : c);
|
|
278
278
|
}
|
|
279
279
|
return c;
|
|
280
|
-
},
|
|
280
|
+
}, Jo = (...e) => {
|
|
281
281
|
let r = 0, o, n, i = "";
|
|
282
282
|
for (; r < e.length; )
|
|
283
|
-
(o = e[r++]) && (n =
|
|
283
|
+
(o = e[r++]) && (n = Xr(o)) && (i && (i += " "), i += n);
|
|
284
284
|
return i;
|
|
285
|
-
},
|
|
285
|
+
}, Xr = (e) => {
|
|
286
286
|
if (typeof e == "string")
|
|
287
287
|
return e;
|
|
288
288
|
let r, o = "";
|
|
289
289
|
for (let n = 0; n < e.length; n++)
|
|
290
|
-
e[n] && (r =
|
|
290
|
+
e[n] && (r = Xr(e[n])) && (o && (o += " "), o += r);
|
|
291
291
|
return o;
|
|
292
|
-
},
|
|
292
|
+
}, _r = (e, ...r) => {
|
|
293
293
|
let o, n, i, t;
|
|
294
294
|
const s = (d) => {
|
|
295
295
|
const c = r.reduce((p, m) => m(p), e());
|
|
296
|
-
return o =
|
|
296
|
+
return o = Xo(c), n = o.cache.get, i = o.cache.set, t = a, a(d);
|
|
297
297
|
}, a = (d) => {
|
|
298
298
|
const c = n(d);
|
|
299
299
|
if (c)
|
|
300
300
|
return c;
|
|
301
|
-
const p =
|
|
301
|
+
const p = Zo(d, o);
|
|
302
302
|
return i(d, p), p;
|
|
303
303
|
};
|
|
304
|
-
return t = s, (...d) => t(
|
|
305
|
-
},
|
|
306
|
-
const r = (o) => o[e] ||
|
|
304
|
+
return t = s, (...d) => t(Jo(...d));
|
|
305
|
+
}, Qo = [], T = (e) => {
|
|
306
|
+
const r = (o) => o[e] || Qo;
|
|
307
307
|
return r.isThemeGetter = !0, r;
|
|
308
|
-
},
|
|
308
|
+
}, Yr = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Kr = /^\((?:(\w[\w-]*):)?(.+)\)$/i, en = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, rn = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, on = /\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$/, nn = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, tn = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, sn = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, H = (e) => en.test(e), b = (e) => !!e && !Number.isNaN(Number(e)), M = (e) => !!e && Number.isInteger(Number(e)), Xe = (e) => e.endsWith("%") && b(e.slice(0, -1)), B = (e) => rn.test(e), Zr = () => !0, an = (e) => (
|
|
309
309
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
310
310
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
311
311
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
312
|
-
|
|
313
|
-
),
|
|
314
|
-
const n =
|
|
312
|
+
on.test(e) && !nn.test(e)
|
|
313
|
+
), ir = () => !1, ln = (e) => tn.test(e), cn = (e) => sn.test(e), un = (e) => !l(e) && !u(e), dn = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), fn = (e) => V(e, eo, ir), l = (e) => Yr.test(e), X = (e) => V(e, ro, an), Or = (e) => V(e, xn, b), gn = (e) => V(e, no, Zr), mn = (e) => V(e, oo, ir), Ir = (e) => V(e, Jr, ir), pn = (e) => V(e, Qr, cn), Se = (e) => V(e, to, ln), u = (e) => Kr.test(e), fe = (e) => ee(e, ro), bn = (e) => ee(e, oo), Lr = (e) => ee(e, Jr), hn = (e) => ee(e, eo), vn = (e) => ee(e, Qr), Te = (e) => ee(e, to, !0), yn = (e) => ee(e, no, !0), V = (e, r, o) => {
|
|
314
|
+
const n = Yr.exec(e);
|
|
315
315
|
return n ? n[1] ? r(n[1]) : o(n[2]) : !1;
|
|
316
316
|
}, ee = (e, r, o = !1) => {
|
|
317
|
-
const n =
|
|
317
|
+
const n = Kr.exec(e);
|
|
318
318
|
return n ? n[1] ? r(n[1]) : o : !1;
|
|
319
|
-
},
|
|
320
|
-
const e = T("color"), r = T("font"), o = T("text"), n = T("font-weight"), i = T("tracking"), t = T("leading"), s = T("breakpoint"), a = T("container"), d = T("spacing"), c = T("radius"), p = T("shadow"), m = T("inset-shadow"), w = T("text-shadow"), h = T("drop-shadow"),
|
|
319
|
+
}, Jr = (e) => e === "position" || e === "percentage", Qr = (e) => e === "image" || e === "url", eo = (e) => e === "length" || e === "size" || e === "bg-size", ro = (e) => e === "length", xn = (e) => e === "number", oo = (e) => e === "family-name", no = (e) => e === "number" || e === "weight", to = (e) => e === "shadow", Rr = () => {
|
|
320
|
+
const e = T("color"), r = T("font"), o = T("text"), n = T("font-weight"), i = T("tracking"), t = T("leading"), s = T("breakpoint"), a = T("container"), d = T("spacing"), c = T("radius"), p = T("shadow"), m = T("inset-shadow"), w = T("text-shadow"), h = T("drop-shadow"), x = T("blur"), k = T("perspective"), _ = T("aspect"), q = T("ease"), O = T("animate"), de = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], re = () => [
|
|
321
321
|
"center",
|
|
322
322
|
"top",
|
|
323
323
|
"bottom",
|
|
@@ -335,15 +335,15 @@ const Io = (e, r) => {
|
|
|
335
335
|
"bottom-left",
|
|
336
336
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
337
337
|
"left-bottom"
|
|
338
|
-
], oe = () => [...re(), u, l], ne = () => ["auto", "hidden", "clip", "visible", "scroll"], N = () => ["auto", "contain", "none"], f = () => [u, l, d], I = () => [H, "full", "auto", ...f()],
|
|
338
|
+
], oe = () => [...re(), u, l], ne = () => ["auto", "hidden", "clip", "visible", "scroll"], N = () => ["auto", "contain", "none"], f = () => [u, l, d], I = () => [H, "full", "auto", ...f()], vr = () => [M, "none", "subgrid", u, l], yr = () => ["auto", {
|
|
339
339
|
span: ["full", M, u, l]
|
|
340
|
-
}, M, u, l], he = () => [M, "auto", u, l], xr = () => ["auto", "min", "max", "fr", u, l],
|
|
340
|
+
}, M, u, l], he = () => [M, "auto", u, l], xr = () => ["auto", "min", "max", "fr", u, l], We = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], te = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], R = () => ["auto", ...f()], j = () => [H, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...f()], Ue = () => [H, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...f()], Ve = () => [H, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...f()], g = () => [e, u, l], wr = () => [...re(), Lr, Ir, {
|
|
341
341
|
position: [u, l]
|
|
342
|
-
}],
|
|
342
|
+
}], Sr = () => ["no-repeat", {
|
|
343
343
|
repeat: ["", "x", "y", "space", "round"]
|
|
344
|
-
}],
|
|
344
|
+
}], Tr = () => ["auto", "cover", "contain", hn, fn, {
|
|
345
345
|
size: [u, l]
|
|
346
|
-
}],
|
|
346
|
+
}], qe = () => [Xe, fe, X], C = () => [
|
|
347
347
|
// Deprecated since Tailwind CSS v4.0.0
|
|
348
348
|
"",
|
|
349
349
|
"none",
|
|
@@ -351,14 +351,14 @@ const Io = (e, r) => {
|
|
|
351
351
|
c,
|
|
352
352
|
u,
|
|
353
353
|
l
|
|
354
|
-
],
|
|
354
|
+
], F = () => ["", b, fe, X], ve = () => ["solid", "dashed", "dotted", "double"], kr = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], E = () => [b, Xe, Lr, Ir], Er = () => [
|
|
355
355
|
// Deprecated since Tailwind CSS v4.0.0
|
|
356
356
|
"",
|
|
357
357
|
"none",
|
|
358
|
-
|
|
358
|
+
x,
|
|
359
359
|
u,
|
|
360
360
|
l
|
|
361
|
-
],
|
|
361
|
+
], ye = () => ["none", b, u, l], xe = () => ["none", b, u, l], je = () => [b, u, l], we = () => [H, "full", ...f()];
|
|
362
362
|
return {
|
|
363
363
|
cacheSize: 500,
|
|
364
364
|
theme: {
|
|
@@ -366,11 +366,11 @@ const Io = (e, r) => {
|
|
|
366
366
|
aspect: ["video"],
|
|
367
367
|
blur: [B],
|
|
368
368
|
breakpoint: [B],
|
|
369
|
-
color: [
|
|
369
|
+
color: [Zr],
|
|
370
370
|
container: [B],
|
|
371
371
|
"drop-shadow": [B],
|
|
372
372
|
ease: ["in", "out", "in-out"],
|
|
373
|
-
font: [
|
|
373
|
+
font: [un],
|
|
374
374
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
375
375
|
"inset-shadow": [B],
|
|
376
376
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
@@ -391,7 +391,7 @@ const Io = (e, r) => {
|
|
|
391
391
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
392
392
|
*/
|
|
393
393
|
aspect: [{
|
|
394
|
-
aspect: ["auto", "square", H, l, u,
|
|
394
|
+
aspect: ["auto", "square", H, l, u, _]
|
|
395
395
|
}],
|
|
396
396
|
/**
|
|
397
397
|
* Container
|
|
@@ -410,7 +410,7 @@ const Io = (e, r) => {
|
|
|
410
410
|
* Container Name
|
|
411
411
|
* @see https://tailwindcss.com/docs/responsive-design#named-containers
|
|
412
412
|
*/
|
|
413
|
-
"container-named": [
|
|
413
|
+
"container-named": [dn],
|
|
414
414
|
/**
|
|
415
415
|
* Columns
|
|
416
416
|
* @see https://tailwindcss.com/docs/columns
|
|
@@ -701,14 +701,14 @@ const Io = (e, r) => {
|
|
|
701
701
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
702
702
|
*/
|
|
703
703
|
"grid-cols": [{
|
|
704
|
-
"grid-cols":
|
|
704
|
+
"grid-cols": vr()
|
|
705
705
|
}],
|
|
706
706
|
/**
|
|
707
707
|
* Grid Column Start / End
|
|
708
708
|
* @see https://tailwindcss.com/docs/grid-column
|
|
709
709
|
*/
|
|
710
710
|
"col-start-end": [{
|
|
711
|
-
col:
|
|
711
|
+
col: yr()
|
|
712
712
|
}],
|
|
713
713
|
/**
|
|
714
714
|
* Grid Column Start
|
|
@@ -729,14 +729,14 @@ const Io = (e, r) => {
|
|
|
729
729
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
730
730
|
*/
|
|
731
731
|
"grid-rows": [{
|
|
732
|
-
"grid-rows":
|
|
732
|
+
"grid-rows": vr()
|
|
733
733
|
}],
|
|
734
734
|
/**
|
|
735
735
|
* Grid Row Start / End
|
|
736
736
|
* @see https://tailwindcss.com/docs/grid-row
|
|
737
737
|
*/
|
|
738
738
|
"row-start-end": [{
|
|
739
|
-
row:
|
|
739
|
+
row: yr()
|
|
740
740
|
}],
|
|
741
741
|
/**
|
|
742
742
|
* Grid Row Start
|
|
@@ -799,7 +799,7 @@ const Io = (e, r) => {
|
|
|
799
799
|
* @see https://tailwindcss.com/docs/justify-content
|
|
800
800
|
*/
|
|
801
801
|
"justify-content": [{
|
|
802
|
-
justify: [
|
|
802
|
+
justify: [...We(), "normal"]
|
|
803
803
|
}],
|
|
804
804
|
/**
|
|
805
805
|
* Justify Items
|
|
@@ -820,7 +820,7 @@ const Io = (e, r) => {
|
|
|
820
820
|
* @see https://tailwindcss.com/docs/align-content
|
|
821
821
|
*/
|
|
822
822
|
"align-content": [{
|
|
823
|
-
content: ["normal",
|
|
823
|
+
content: ["normal", ...We()]
|
|
824
824
|
}],
|
|
825
825
|
/**
|
|
826
826
|
* Align Items
|
|
@@ -845,7 +845,7 @@ const Io = (e, r) => {
|
|
|
845
845
|
* @see https://tailwindcss.com/docs/place-content
|
|
846
846
|
*/
|
|
847
847
|
"place-content": [{
|
|
848
|
-
"place-content":
|
|
848
|
+
"place-content": We()
|
|
849
849
|
}],
|
|
850
850
|
/**
|
|
851
851
|
* Place Items
|
|
@@ -1055,42 +1055,42 @@ const Io = (e, r) => {
|
|
|
1055
1055
|
* @see https://tailwindcss.com/docs/width
|
|
1056
1056
|
*/
|
|
1057
1057
|
"inline-size": [{
|
|
1058
|
-
inline: ["auto", ...
|
|
1058
|
+
inline: ["auto", ...Ue()]
|
|
1059
1059
|
}],
|
|
1060
1060
|
/**
|
|
1061
1061
|
* Min-Inline Size
|
|
1062
1062
|
* @see https://tailwindcss.com/docs/min-width
|
|
1063
1063
|
*/
|
|
1064
1064
|
"min-inline-size": [{
|
|
1065
|
-
"min-inline": ["auto", ...
|
|
1065
|
+
"min-inline": ["auto", ...Ue()]
|
|
1066
1066
|
}],
|
|
1067
1067
|
/**
|
|
1068
1068
|
* Max-Inline Size
|
|
1069
1069
|
* @see https://tailwindcss.com/docs/max-width
|
|
1070
1070
|
*/
|
|
1071
1071
|
"max-inline-size": [{
|
|
1072
|
-
"max-inline": ["none", ...
|
|
1072
|
+
"max-inline": ["none", ...Ue()]
|
|
1073
1073
|
}],
|
|
1074
1074
|
/**
|
|
1075
1075
|
* Block Size
|
|
1076
1076
|
* @see https://tailwindcss.com/docs/height
|
|
1077
1077
|
*/
|
|
1078
1078
|
"block-size": [{
|
|
1079
|
-
block: ["auto", ...
|
|
1079
|
+
block: ["auto", ...Ve()]
|
|
1080
1080
|
}],
|
|
1081
1081
|
/**
|
|
1082
1082
|
* Min-Block Size
|
|
1083
1083
|
* @see https://tailwindcss.com/docs/min-height
|
|
1084
1084
|
*/
|
|
1085
1085
|
"min-block-size": [{
|
|
1086
|
-
"min-block": ["auto", ...
|
|
1086
|
+
"min-block": ["auto", ...Ve()]
|
|
1087
1087
|
}],
|
|
1088
1088
|
/**
|
|
1089
1089
|
* Max-Block Size
|
|
1090
1090
|
* @see https://tailwindcss.com/docs/max-height
|
|
1091
1091
|
*/
|
|
1092
1092
|
"max-block-size": [{
|
|
1093
|
-
"max-block": ["none", ...
|
|
1093
|
+
"max-block": ["none", ...Ve()]
|
|
1094
1094
|
}],
|
|
1095
1095
|
/**
|
|
1096
1096
|
* Width
|
|
@@ -1176,21 +1176,21 @@ const Io = (e, r) => {
|
|
|
1176
1176
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1177
1177
|
*/
|
|
1178
1178
|
"font-weight": [{
|
|
1179
|
-
font: [n,
|
|
1179
|
+
font: [n, yn, gn]
|
|
1180
1180
|
}],
|
|
1181
1181
|
/**
|
|
1182
1182
|
* Font Stretch
|
|
1183
1183
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
1184
1184
|
*/
|
|
1185
1185
|
"font-stretch": [{
|
|
1186
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded",
|
|
1186
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Xe, l]
|
|
1187
1187
|
}],
|
|
1188
1188
|
/**
|
|
1189
1189
|
* Font Family
|
|
1190
1190
|
* @see https://tailwindcss.com/docs/font-family
|
|
1191
1191
|
*/
|
|
1192
1192
|
"font-family": [{
|
|
1193
|
-
font: [
|
|
1193
|
+
font: [bn, mn, r]
|
|
1194
1194
|
}],
|
|
1195
1195
|
/**
|
|
1196
1196
|
* Font Feature Settings
|
|
@@ -1432,21 +1432,21 @@ const Io = (e, r) => {
|
|
|
1432
1432
|
* @see https://tailwindcss.com/docs/background-position
|
|
1433
1433
|
*/
|
|
1434
1434
|
"bg-position": [{
|
|
1435
|
-
bg:
|
|
1435
|
+
bg: wr()
|
|
1436
1436
|
}],
|
|
1437
1437
|
/**
|
|
1438
1438
|
* Background Repeat
|
|
1439
1439
|
* @see https://tailwindcss.com/docs/background-repeat
|
|
1440
1440
|
*/
|
|
1441
1441
|
"bg-repeat": [{
|
|
1442
|
-
bg:
|
|
1442
|
+
bg: Sr()
|
|
1443
1443
|
}],
|
|
1444
1444
|
/**
|
|
1445
1445
|
* Background Size
|
|
1446
1446
|
* @see https://tailwindcss.com/docs/background-size
|
|
1447
1447
|
*/
|
|
1448
1448
|
"bg-size": [{
|
|
1449
|
-
bg:
|
|
1449
|
+
bg: Tr()
|
|
1450
1450
|
}],
|
|
1451
1451
|
/**
|
|
1452
1452
|
* Background Image
|
|
@@ -1459,7 +1459,7 @@ const Io = (e, r) => {
|
|
|
1459
1459
|
}, M, u, l],
|
|
1460
1460
|
radial: ["", u, l],
|
|
1461
1461
|
conic: [M, u, l]
|
|
1462
|
-
},
|
|
1462
|
+
}, vn, pn]
|
|
1463
1463
|
}],
|
|
1464
1464
|
/**
|
|
1465
1465
|
* Background Color
|
|
@@ -1473,21 +1473,21 @@ const Io = (e, r) => {
|
|
|
1473
1473
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1474
1474
|
*/
|
|
1475
1475
|
"gradient-from-pos": [{
|
|
1476
|
-
from:
|
|
1476
|
+
from: qe()
|
|
1477
1477
|
}],
|
|
1478
1478
|
/**
|
|
1479
1479
|
* Gradient Color Stops Via Position
|
|
1480
1480
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1481
1481
|
*/
|
|
1482
1482
|
"gradient-via-pos": [{
|
|
1483
|
-
via:
|
|
1483
|
+
via: qe()
|
|
1484
1484
|
}],
|
|
1485
1485
|
/**
|
|
1486
1486
|
* Gradient Color Stops To Position
|
|
1487
1487
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1488
1488
|
*/
|
|
1489
1489
|
"gradient-to-pos": [{
|
|
1490
|
-
to:
|
|
1490
|
+
to: qe()
|
|
1491
1491
|
}],
|
|
1492
1492
|
/**
|
|
1493
1493
|
* Gradient Color Stops From
|
|
@@ -1518,189 +1518,189 @@ const Io = (e, r) => {
|
|
|
1518
1518
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1519
1519
|
*/
|
|
1520
1520
|
rounded: [{
|
|
1521
|
-
rounded:
|
|
1521
|
+
rounded: C()
|
|
1522
1522
|
}],
|
|
1523
1523
|
/**
|
|
1524
1524
|
* Border Radius Start
|
|
1525
1525
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1526
1526
|
*/
|
|
1527
1527
|
"rounded-s": [{
|
|
1528
|
-
"rounded-s":
|
|
1528
|
+
"rounded-s": C()
|
|
1529
1529
|
}],
|
|
1530
1530
|
/**
|
|
1531
1531
|
* Border Radius End
|
|
1532
1532
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1533
1533
|
*/
|
|
1534
1534
|
"rounded-e": [{
|
|
1535
|
-
"rounded-e":
|
|
1535
|
+
"rounded-e": C()
|
|
1536
1536
|
}],
|
|
1537
1537
|
/**
|
|
1538
1538
|
* Border Radius Top
|
|
1539
1539
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1540
1540
|
*/
|
|
1541
1541
|
"rounded-t": [{
|
|
1542
|
-
"rounded-t":
|
|
1542
|
+
"rounded-t": C()
|
|
1543
1543
|
}],
|
|
1544
1544
|
/**
|
|
1545
1545
|
* Border Radius Right
|
|
1546
1546
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1547
1547
|
*/
|
|
1548
1548
|
"rounded-r": [{
|
|
1549
|
-
"rounded-r":
|
|
1549
|
+
"rounded-r": C()
|
|
1550
1550
|
}],
|
|
1551
1551
|
/**
|
|
1552
1552
|
* Border Radius Bottom
|
|
1553
1553
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1554
1554
|
*/
|
|
1555
1555
|
"rounded-b": [{
|
|
1556
|
-
"rounded-b":
|
|
1556
|
+
"rounded-b": C()
|
|
1557
1557
|
}],
|
|
1558
1558
|
/**
|
|
1559
1559
|
* Border Radius Left
|
|
1560
1560
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1561
1561
|
*/
|
|
1562
1562
|
"rounded-l": [{
|
|
1563
|
-
"rounded-l":
|
|
1563
|
+
"rounded-l": C()
|
|
1564
1564
|
}],
|
|
1565
1565
|
/**
|
|
1566
1566
|
* Border Radius Start Start
|
|
1567
1567
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1568
1568
|
*/
|
|
1569
1569
|
"rounded-ss": [{
|
|
1570
|
-
"rounded-ss":
|
|
1570
|
+
"rounded-ss": C()
|
|
1571
1571
|
}],
|
|
1572
1572
|
/**
|
|
1573
1573
|
* Border Radius Start End
|
|
1574
1574
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1575
1575
|
*/
|
|
1576
1576
|
"rounded-se": [{
|
|
1577
|
-
"rounded-se":
|
|
1577
|
+
"rounded-se": C()
|
|
1578
1578
|
}],
|
|
1579
1579
|
/**
|
|
1580
1580
|
* Border Radius End End
|
|
1581
1581
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1582
1582
|
*/
|
|
1583
1583
|
"rounded-ee": [{
|
|
1584
|
-
"rounded-ee":
|
|
1584
|
+
"rounded-ee": C()
|
|
1585
1585
|
}],
|
|
1586
1586
|
/**
|
|
1587
1587
|
* Border Radius End Start
|
|
1588
1588
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1589
1589
|
*/
|
|
1590
1590
|
"rounded-es": [{
|
|
1591
|
-
"rounded-es":
|
|
1591
|
+
"rounded-es": C()
|
|
1592
1592
|
}],
|
|
1593
1593
|
/**
|
|
1594
1594
|
* Border Radius Top Left
|
|
1595
1595
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1596
1596
|
*/
|
|
1597
1597
|
"rounded-tl": [{
|
|
1598
|
-
"rounded-tl":
|
|
1598
|
+
"rounded-tl": C()
|
|
1599
1599
|
}],
|
|
1600
1600
|
/**
|
|
1601
1601
|
* Border Radius Top Right
|
|
1602
1602
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1603
1603
|
*/
|
|
1604
1604
|
"rounded-tr": [{
|
|
1605
|
-
"rounded-tr":
|
|
1605
|
+
"rounded-tr": C()
|
|
1606
1606
|
}],
|
|
1607
1607
|
/**
|
|
1608
1608
|
* Border Radius Bottom Right
|
|
1609
1609
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1610
1610
|
*/
|
|
1611
1611
|
"rounded-br": [{
|
|
1612
|
-
"rounded-br":
|
|
1612
|
+
"rounded-br": C()
|
|
1613
1613
|
}],
|
|
1614
1614
|
/**
|
|
1615
1615
|
* Border Radius Bottom Left
|
|
1616
1616
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1617
1617
|
*/
|
|
1618
1618
|
"rounded-bl": [{
|
|
1619
|
-
"rounded-bl":
|
|
1619
|
+
"rounded-bl": C()
|
|
1620
1620
|
}],
|
|
1621
1621
|
/**
|
|
1622
1622
|
* Border Width
|
|
1623
1623
|
* @see https://tailwindcss.com/docs/border-width
|
|
1624
1624
|
*/
|
|
1625
1625
|
"border-w": [{
|
|
1626
|
-
border:
|
|
1626
|
+
border: F()
|
|
1627
1627
|
}],
|
|
1628
1628
|
/**
|
|
1629
1629
|
* Border Width Inline
|
|
1630
1630
|
* @see https://tailwindcss.com/docs/border-width
|
|
1631
1631
|
*/
|
|
1632
1632
|
"border-w-x": [{
|
|
1633
|
-
"border-x":
|
|
1633
|
+
"border-x": F()
|
|
1634
1634
|
}],
|
|
1635
1635
|
/**
|
|
1636
1636
|
* Border Width Block
|
|
1637
1637
|
* @see https://tailwindcss.com/docs/border-width
|
|
1638
1638
|
*/
|
|
1639
1639
|
"border-w-y": [{
|
|
1640
|
-
"border-y":
|
|
1640
|
+
"border-y": F()
|
|
1641
1641
|
}],
|
|
1642
1642
|
/**
|
|
1643
1643
|
* Border Width Inline Start
|
|
1644
1644
|
* @see https://tailwindcss.com/docs/border-width
|
|
1645
1645
|
*/
|
|
1646
1646
|
"border-w-s": [{
|
|
1647
|
-
"border-s":
|
|
1647
|
+
"border-s": F()
|
|
1648
1648
|
}],
|
|
1649
1649
|
/**
|
|
1650
1650
|
* Border Width Inline End
|
|
1651
1651
|
* @see https://tailwindcss.com/docs/border-width
|
|
1652
1652
|
*/
|
|
1653
1653
|
"border-w-e": [{
|
|
1654
|
-
"border-e":
|
|
1654
|
+
"border-e": F()
|
|
1655
1655
|
}],
|
|
1656
1656
|
/**
|
|
1657
1657
|
* Border Width Block Start
|
|
1658
1658
|
* @see https://tailwindcss.com/docs/border-width
|
|
1659
1659
|
*/
|
|
1660
1660
|
"border-w-bs": [{
|
|
1661
|
-
"border-bs":
|
|
1661
|
+
"border-bs": F()
|
|
1662
1662
|
}],
|
|
1663
1663
|
/**
|
|
1664
1664
|
* Border Width Block End
|
|
1665
1665
|
* @see https://tailwindcss.com/docs/border-width
|
|
1666
1666
|
*/
|
|
1667
1667
|
"border-w-be": [{
|
|
1668
|
-
"border-be":
|
|
1668
|
+
"border-be": F()
|
|
1669
1669
|
}],
|
|
1670
1670
|
/**
|
|
1671
1671
|
* Border Width Top
|
|
1672
1672
|
* @see https://tailwindcss.com/docs/border-width
|
|
1673
1673
|
*/
|
|
1674
1674
|
"border-w-t": [{
|
|
1675
|
-
"border-t":
|
|
1675
|
+
"border-t": F()
|
|
1676
1676
|
}],
|
|
1677
1677
|
/**
|
|
1678
1678
|
* Border Width Right
|
|
1679
1679
|
* @see https://tailwindcss.com/docs/border-width
|
|
1680
1680
|
*/
|
|
1681
1681
|
"border-w-r": [{
|
|
1682
|
-
"border-r":
|
|
1682
|
+
"border-r": F()
|
|
1683
1683
|
}],
|
|
1684
1684
|
/**
|
|
1685
1685
|
* Border Width Bottom
|
|
1686
1686
|
* @see https://tailwindcss.com/docs/border-width
|
|
1687
1687
|
*/
|
|
1688
1688
|
"border-w-b": [{
|
|
1689
|
-
"border-b":
|
|
1689
|
+
"border-b": F()
|
|
1690
1690
|
}],
|
|
1691
1691
|
/**
|
|
1692
1692
|
* Border Width Left
|
|
1693
1693
|
* @see https://tailwindcss.com/docs/border-width
|
|
1694
1694
|
*/
|
|
1695
1695
|
"border-w-l": [{
|
|
1696
|
-
"border-l":
|
|
1696
|
+
"border-l": F()
|
|
1697
1697
|
}],
|
|
1698
1698
|
/**
|
|
1699
1699
|
* Divide Width X
|
|
1700
1700
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1701
1701
|
*/
|
|
1702
1702
|
"divide-x": [{
|
|
1703
|
-
"divide-x":
|
|
1703
|
+
"divide-x": F()
|
|
1704
1704
|
}],
|
|
1705
1705
|
/**
|
|
1706
1706
|
* Divide Width X Reverse
|
|
@@ -1712,7 +1712,7 @@ const Io = (e, r) => {
|
|
|
1712
1712
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1713
1713
|
*/
|
|
1714
1714
|
"divide-y": [{
|
|
1715
|
-
"divide-y":
|
|
1715
|
+
"divide-y": F()
|
|
1716
1716
|
}],
|
|
1717
1717
|
/**
|
|
1718
1718
|
* Divide Width Y Reverse
|
|
@@ -1888,7 +1888,7 @@ const Io = (e, r) => {
|
|
|
1888
1888
|
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
1889
1889
|
*/
|
|
1890
1890
|
"ring-w": [{
|
|
1891
|
-
ring:
|
|
1891
|
+
ring: F()
|
|
1892
1892
|
}],
|
|
1893
1893
|
/**
|
|
1894
1894
|
* Ring Width Inset
|
|
@@ -1927,7 +1927,7 @@ const Io = (e, r) => {
|
|
|
1927
1927
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
1928
1928
|
*/
|
|
1929
1929
|
"inset-ring-w": [{
|
|
1930
|
-
"inset-ring":
|
|
1930
|
+
"inset-ring": F()
|
|
1931
1931
|
}],
|
|
1932
1932
|
/**
|
|
1933
1933
|
* Inset Ring Color
|
|
@@ -1962,14 +1962,14 @@ const Io = (e, r) => {
|
|
|
1962
1962
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
1963
1963
|
*/
|
|
1964
1964
|
"mix-blend": [{
|
|
1965
|
-
"mix-blend": [...
|
|
1965
|
+
"mix-blend": [...kr(), "plus-darker", "plus-lighter"]
|
|
1966
1966
|
}],
|
|
1967
1967
|
/**
|
|
1968
1968
|
* Background Blend Mode
|
|
1969
1969
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
1970
1970
|
*/
|
|
1971
1971
|
"bg-blend": [{
|
|
1972
|
-
"bg-blend":
|
|
1972
|
+
"bg-blend": kr()
|
|
1973
1973
|
}],
|
|
1974
1974
|
/**
|
|
1975
1975
|
* Mask Clip
|
|
@@ -2137,21 +2137,21 @@ const Io = (e, r) => {
|
|
|
2137
2137
|
* @see https://tailwindcss.com/docs/mask-position
|
|
2138
2138
|
*/
|
|
2139
2139
|
"mask-position": [{
|
|
2140
|
-
mask:
|
|
2140
|
+
mask: wr()
|
|
2141
2141
|
}],
|
|
2142
2142
|
/**
|
|
2143
2143
|
* Mask Repeat
|
|
2144
2144
|
* @see https://tailwindcss.com/docs/mask-repeat
|
|
2145
2145
|
*/
|
|
2146
2146
|
"mask-repeat": [{
|
|
2147
|
-
mask:
|
|
2147
|
+
mask: Sr()
|
|
2148
2148
|
}],
|
|
2149
2149
|
/**
|
|
2150
2150
|
* Mask Size
|
|
2151
2151
|
* @see https://tailwindcss.com/docs/mask-size
|
|
2152
2152
|
*/
|
|
2153
2153
|
"mask-size": [{
|
|
2154
|
-
mask:
|
|
2154
|
+
mask: Tr()
|
|
2155
2155
|
}],
|
|
2156
2156
|
/**
|
|
2157
2157
|
* Mask Type
|
|
@@ -2188,7 +2188,7 @@ const Io = (e, r) => {
|
|
|
2188
2188
|
* @see https://tailwindcss.com/docs/blur
|
|
2189
2189
|
*/
|
|
2190
2190
|
blur: [{
|
|
2191
|
-
blur:
|
|
2191
|
+
blur: Er()
|
|
2192
2192
|
}],
|
|
2193
2193
|
/**
|
|
2194
2194
|
* Brightness
|
|
@@ -2278,7 +2278,7 @@ const Io = (e, r) => {
|
|
|
2278
2278
|
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2279
2279
|
*/
|
|
2280
2280
|
"backdrop-blur": [{
|
|
2281
|
-
"backdrop-blur":
|
|
2281
|
+
"backdrop-blur": Er()
|
|
2282
2282
|
}],
|
|
2283
2283
|
/**
|
|
2284
2284
|
* Backdrop Brightness
|
|
@@ -2424,7 +2424,7 @@ const Io = (e, r) => {
|
|
|
2424
2424
|
* @see https://tailwindcss.com/docs/animation
|
|
2425
2425
|
*/
|
|
2426
2426
|
animate: [{
|
|
2427
|
-
animate: ["none",
|
|
2427
|
+
animate: ["none", O, u, l]
|
|
2428
2428
|
}],
|
|
2429
2429
|
// ------------------
|
|
2430
2430
|
// --- Transforms ---
|
|
@@ -2455,56 +2455,56 @@ const Io = (e, r) => {
|
|
|
2455
2455
|
* @see https://tailwindcss.com/docs/rotate
|
|
2456
2456
|
*/
|
|
2457
2457
|
rotate: [{
|
|
2458
|
-
rotate:
|
|
2458
|
+
rotate: ye()
|
|
2459
2459
|
}],
|
|
2460
2460
|
/**
|
|
2461
2461
|
* Rotate X
|
|
2462
2462
|
* @see https://tailwindcss.com/docs/rotate
|
|
2463
2463
|
*/
|
|
2464
2464
|
"rotate-x": [{
|
|
2465
|
-
"rotate-x":
|
|
2465
|
+
"rotate-x": ye()
|
|
2466
2466
|
}],
|
|
2467
2467
|
/**
|
|
2468
2468
|
* Rotate Y
|
|
2469
2469
|
* @see https://tailwindcss.com/docs/rotate
|
|
2470
2470
|
*/
|
|
2471
2471
|
"rotate-y": [{
|
|
2472
|
-
"rotate-y":
|
|
2472
|
+
"rotate-y": ye()
|
|
2473
2473
|
}],
|
|
2474
2474
|
/**
|
|
2475
2475
|
* Rotate Z
|
|
2476
2476
|
* @see https://tailwindcss.com/docs/rotate
|
|
2477
2477
|
*/
|
|
2478
2478
|
"rotate-z": [{
|
|
2479
|
-
"rotate-z":
|
|
2479
|
+
"rotate-z": ye()
|
|
2480
2480
|
}],
|
|
2481
2481
|
/**
|
|
2482
2482
|
* Scale
|
|
2483
2483
|
* @see https://tailwindcss.com/docs/scale
|
|
2484
2484
|
*/
|
|
2485
2485
|
scale: [{
|
|
2486
|
-
scale:
|
|
2486
|
+
scale: xe()
|
|
2487
2487
|
}],
|
|
2488
2488
|
/**
|
|
2489
2489
|
* Scale X
|
|
2490
2490
|
* @see https://tailwindcss.com/docs/scale
|
|
2491
2491
|
*/
|
|
2492
2492
|
"scale-x": [{
|
|
2493
|
-
"scale-x":
|
|
2493
|
+
"scale-x": xe()
|
|
2494
2494
|
}],
|
|
2495
2495
|
/**
|
|
2496
2496
|
* Scale Y
|
|
2497
2497
|
* @see https://tailwindcss.com/docs/scale
|
|
2498
2498
|
*/
|
|
2499
2499
|
"scale-y": [{
|
|
2500
|
-
"scale-y":
|
|
2500
|
+
"scale-y": xe()
|
|
2501
2501
|
}],
|
|
2502
2502
|
/**
|
|
2503
2503
|
* Scale Z
|
|
2504
2504
|
* @see https://tailwindcss.com/docs/scale
|
|
2505
2505
|
*/
|
|
2506
2506
|
"scale-z": [{
|
|
2507
|
-
"scale-z":
|
|
2507
|
+
"scale-z": xe()
|
|
2508
2508
|
}],
|
|
2509
2509
|
/**
|
|
2510
2510
|
* Scale 3D
|
|
@@ -2516,21 +2516,21 @@ const Io = (e, r) => {
|
|
|
2516
2516
|
* @see https://tailwindcss.com/docs/skew
|
|
2517
2517
|
*/
|
|
2518
2518
|
skew: [{
|
|
2519
|
-
skew:
|
|
2519
|
+
skew: je()
|
|
2520
2520
|
}],
|
|
2521
2521
|
/**
|
|
2522
2522
|
* Skew X
|
|
2523
2523
|
* @see https://tailwindcss.com/docs/skew
|
|
2524
2524
|
*/
|
|
2525
2525
|
"skew-x": [{
|
|
2526
|
-
"skew-x":
|
|
2526
|
+
"skew-x": je()
|
|
2527
2527
|
}],
|
|
2528
2528
|
/**
|
|
2529
2529
|
* Skew Y
|
|
2530
2530
|
* @see https://tailwindcss.com/docs/skew
|
|
2531
2531
|
*/
|
|
2532
2532
|
"skew-y": [{
|
|
2533
|
-
"skew-y":
|
|
2533
|
+
"skew-y": je()
|
|
2534
2534
|
}],
|
|
2535
2535
|
/**
|
|
2536
2536
|
* Transform
|
|
@@ -3001,13 +3001,13 @@ const Io = (e, r) => {
|
|
|
3001
3001
|
postfixLookupClassGroups: ["container-type"],
|
|
3002
3002
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
3003
3003
|
};
|
|
3004
|
-
},
|
|
3004
|
+
}, wn = (e, {
|
|
3005
3005
|
cacheSize: r,
|
|
3006
3006
|
prefix: o,
|
|
3007
3007
|
experimentalParseClassName: n,
|
|
3008
3008
|
extend: i = {},
|
|
3009
3009
|
override: t = {}
|
|
3010
|
-
}) => (se(e, "cacheSize", r), se(e, "prefix", o), se(e, "experimentalParseClassName", n), ke(e.theme, t.theme), ke(e.classGroups, t.classGroups), ke(e.conflictingClassGroups, t.conflictingClassGroups), ke(e.conflictingClassGroupModifiers, t.conflictingClassGroupModifiers), se(e, "postfixLookupClassGroups", t.postfixLookupClassGroups), se(e, "orderSensitiveModifiers", t.orderSensitiveModifiers), Ee(e.theme, i.theme), Ee(e.classGroups, i.classGroups), Ee(e.conflictingClassGroups, i.conflictingClassGroups), Ee(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers),
|
|
3010
|
+
}) => (se(e, "cacheSize", r), se(e, "prefix", o), se(e, "experimentalParseClassName", n), ke(e.theme, t.theme), ke(e.classGroups, t.classGroups), ke(e.conflictingClassGroups, t.conflictingClassGroups), ke(e.conflictingClassGroupModifiers, t.conflictingClassGroupModifiers), se(e, "postfixLookupClassGroups", t.postfixLookupClassGroups), se(e, "orderSensitiveModifiers", t.orderSensitiveModifiers), Ee(e.theme, i.theme), Ee(e.classGroups, i.classGroups), Ee(e.conflictingClassGroups, i.conflictingClassGroups), Ee(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), rr(e, i, "postfixLookupClassGroups"), rr(e, i, "orderSensitiveModifiers"), e), se = (e, r, o) => {
|
|
3011
3011
|
o !== void 0 && (e[r] = o);
|
|
3012
3012
|
}, ke = (e, r) => {
|
|
3013
3013
|
if (r)
|
|
@@ -3016,30 +3016,30 @@ const Io = (e, r) => {
|
|
|
3016
3016
|
}, Ee = (e, r) => {
|
|
3017
3017
|
if (r)
|
|
3018
3018
|
for (const o in r)
|
|
3019
|
-
|
|
3020
|
-
},
|
|
3019
|
+
rr(e, r, o);
|
|
3020
|
+
}, rr = (e, r, o) => {
|
|
3021
3021
|
const n = r[o];
|
|
3022
3022
|
n !== void 0 && (e[o] = e[o] ? e[o].concat(n) : n);
|
|
3023
|
-
},
|
|
3024
|
-
fontFamilySans:
|
|
3025
|
-
fontFamilyMono:
|
|
3026
|
-
shadowSize:
|
|
3027
|
-
textScale:
|
|
3028
|
-
shadowOpacity:
|
|
3023
|
+
}, Sn = (e, ...r) => typeof e == "function" ? _r(Rr, e, ...r) : _r(() => wn(Rr(), e), ...r), Tn = 'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif', kn = "ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace", En = 0.5, Dn = { xsmall: { size: 0.6875, line: 0.875 }, small: { size: 0.75, line: 1 }, base: { size: 0.875, line: 1.25 }, mid: { size: 1, line: 1.5 }, large: { size: 1.15, line: 1.75 }, xlarge: { size: 1.5, line: 2 }, "2xlarge": { size: 1.875, line: 2.25 }, "3xlarge": { size: 2.25, line: 2.5 } }, Cn = { dark: { base: 0.15, mid: 0.2, large: 0.24 }, light: { base: 0.08, mid: 0.12, large: 0.16 } }, Fn = { base: [0, 2, 4, -2], mid: [0, 4, 10, -6], large: [0, 8, 20, -12] }, W = {
|
|
3024
|
+
fontFamilySans: Tn,
|
|
3025
|
+
fontFamilyMono: kn,
|
|
3026
|
+
shadowSize: En,
|
|
3027
|
+
textScale: Dn,
|
|
3028
|
+
shadowOpacity: Cn,
|
|
3029
3029
|
shadowGeom: Fn
|
|
3030
|
-
},
|
|
3030
|
+
}, Mi = ["none", "base", "mid", "large"], io = {
|
|
3031
3031
|
base: "--shadow-base",
|
|
3032
3032
|
mid: "--shadow-mid",
|
|
3033
3033
|
large: "--shadow-large"
|
|
3034
|
-
},
|
|
3034
|
+
}, Ni = W.shadowSize, _n = W.shadowOpacity, On = {
|
|
3035
3035
|
base: [W.shadowGeom.base],
|
|
3036
3036
|
mid: [W.shadowGeom.mid],
|
|
3037
3037
|
large: [W.shadowGeom.large]
|
|
3038
3038
|
};
|
|
3039
|
-
function
|
|
3039
|
+
function Bi(e) {
|
|
3040
3040
|
return `var(--shadow-${e})`;
|
|
3041
3041
|
}
|
|
3042
|
-
const
|
|
3042
|
+
const Gi = {
|
|
3043
3043
|
/** Namespace for documentation */
|
|
3044
3044
|
namespace: "burne",
|
|
3045
3045
|
tailwindBridge: {
|
|
@@ -3120,7 +3120,7 @@ const Bi = {
|
|
|
3120
3120
|
"icon-2xlarge": "icon-size-2xlarge",
|
|
3121
3121
|
"icon-3xlarge": "icon-size-3xlarge"
|
|
3122
3122
|
}
|
|
3123
|
-
},
|
|
3123
|
+
}, In = [
|
|
3124
3124
|
"xsmall",
|
|
3125
3125
|
"small",
|
|
3126
3126
|
"base",
|
|
@@ -3129,13 +3129,13 @@ const Bi = {
|
|
|
3129
3129
|
"xlarge",
|
|
3130
3130
|
"2xlarge",
|
|
3131
3131
|
"3xlarge"
|
|
3132
|
-
],
|
|
3132
|
+
], Ln = [
|
|
3133
3133
|
"xsmall",
|
|
3134
3134
|
"small",
|
|
3135
3135
|
"base",
|
|
3136
3136
|
"mid",
|
|
3137
3137
|
"large"
|
|
3138
|
-
],
|
|
3138
|
+
], Rn = [
|
|
3139
3139
|
"small",
|
|
3140
3140
|
"base",
|
|
3141
3141
|
"mid",
|
|
@@ -3144,17 +3144,17 @@ const Bi = {
|
|
|
3144
3144
|
"header-1",
|
|
3145
3145
|
"header-2",
|
|
3146
3146
|
"large"
|
|
3147
|
-
],
|
|
3147
|
+
], An = Sn({
|
|
3148
3148
|
extend: {
|
|
3149
3149
|
theme: {
|
|
3150
|
-
spacing: [...
|
|
3151
|
-
radius: [...
|
|
3152
|
-
text: [...
|
|
3150
|
+
spacing: [...In],
|
|
3151
|
+
radius: [...Ln],
|
|
3152
|
+
text: [...Rn]
|
|
3153
3153
|
}
|
|
3154
3154
|
}
|
|
3155
3155
|
});
|
|
3156
|
-
function
|
|
3157
|
-
return
|
|
3156
|
+
function y(...e) {
|
|
3157
|
+
return An(Io(e));
|
|
3158
3158
|
}
|
|
3159
3159
|
const le = {
|
|
3160
3160
|
small: {
|
|
@@ -3214,36 +3214,36 @@ const le = {
|
|
|
3214
3214
|
rounded: "rounded-large"
|
|
3215
3215
|
}
|
|
3216
3216
|
}, zn = "(prefers-reduced-motion: reduce)";
|
|
3217
|
-
function
|
|
3217
|
+
function so() {
|
|
3218
3218
|
return typeof window > "u" || !window.matchMedia ? null : window.matchMedia(zn);
|
|
3219
3219
|
}
|
|
3220
3220
|
function Be() {
|
|
3221
3221
|
var e;
|
|
3222
|
-
return ((e =
|
|
3222
|
+
return ((e = so()) == null ? void 0 : e.matches) ?? !1;
|
|
3223
3223
|
}
|
|
3224
|
-
function
|
|
3225
|
-
const r =
|
|
3224
|
+
function Pn(e) {
|
|
3225
|
+
const r = so();
|
|
3226
3226
|
if (!r) return () => {
|
|
3227
3227
|
};
|
|
3228
3228
|
const o = () => e();
|
|
3229
3229
|
return r.addEventListener("change", o), () => r.removeEventListener("change", o);
|
|
3230
3230
|
}
|
|
3231
|
-
function
|
|
3231
|
+
function Mn() {
|
|
3232
3232
|
return Be();
|
|
3233
3233
|
}
|
|
3234
|
-
function
|
|
3234
|
+
function Nn() {
|
|
3235
3235
|
return !1;
|
|
3236
3236
|
}
|
|
3237
|
-
function
|
|
3238
|
-
return
|
|
3239
|
-
An,
|
|
3237
|
+
function Hi() {
|
|
3238
|
+
return _o(
|
|
3240
3239
|
Pn,
|
|
3241
|
-
Mn
|
|
3240
|
+
Mn,
|
|
3241
|
+
Nn
|
|
3242
3242
|
);
|
|
3243
3243
|
}
|
|
3244
|
-
const
|
|
3244
|
+
const Bn = {
|
|
3245
3245
|
surfaceDuration: "--motion-surface-duration"
|
|
3246
|
-
},
|
|
3246
|
+
}, sr = {
|
|
3247
3247
|
interactiveDuration: 280,
|
|
3248
3248
|
interactiveEase: "power2.out",
|
|
3249
3249
|
hoverLiftEase: "sine.inOut",
|
|
@@ -3293,152 +3293,152 @@ const Nn = {
|
|
|
3293
3293
|
enablePaginationFlip: !0,
|
|
3294
3294
|
enableSelectionFill: !0
|
|
3295
3295
|
};
|
|
3296
|
-
let v = { ...
|
|
3297
|
-
const
|
|
3298
|
-
function
|
|
3299
|
-
return
|
|
3300
|
-
|
|
3296
|
+
let v = { ...sr }, ao = 0;
|
|
3297
|
+
const or = /* @__PURE__ */ new Set();
|
|
3298
|
+
function $i(e) {
|
|
3299
|
+
return or.add(e), () => {
|
|
3300
|
+
or.delete(e);
|
|
3301
3301
|
};
|
|
3302
3302
|
}
|
|
3303
|
-
function
|
|
3304
|
-
return
|
|
3303
|
+
function Wi() {
|
|
3304
|
+
return ao;
|
|
3305
3305
|
}
|
|
3306
|
-
function
|
|
3306
|
+
function lo(e, r = v) {
|
|
3307
3307
|
if (typeof document > "u") return;
|
|
3308
|
-
const o = e ?? document.documentElement, n =
|
|
3309
|
-
r.surfaceTransitionDuration ===
|
|
3308
|
+
const o = e ?? document.documentElement, n = Bn.surfaceDuration;
|
|
3309
|
+
r.surfaceTransitionDuration === sr.surfaceTransitionDuration ? o.style.removeProperty(n) : o.style.setProperty(n, `${r.surfaceTransitionDuration}ms`);
|
|
3310
3310
|
}
|
|
3311
|
-
function
|
|
3312
|
-
v = { ...v, ...e },
|
|
3313
|
-
for (const r of
|
|
3311
|
+
function Gn(e) {
|
|
3312
|
+
v = { ...v, ...e }, ao += 1, lo(document.documentElement, v);
|
|
3313
|
+
for (const r of or)
|
|
3314
3314
|
r();
|
|
3315
3315
|
}
|
|
3316
3316
|
function G() {
|
|
3317
3317
|
return v;
|
|
3318
3318
|
}
|
|
3319
|
-
function
|
|
3319
|
+
function Ui() {
|
|
3320
3320
|
return v.enableAnimations;
|
|
3321
3321
|
}
|
|
3322
3322
|
function Ge(e) {
|
|
3323
3323
|
return v.enableAnimations && v[e];
|
|
3324
3324
|
}
|
|
3325
|
-
function
|
|
3325
|
+
function Vi() {
|
|
3326
3326
|
return {
|
|
3327
3327
|
duration: v.interactiveDuration / 1e3,
|
|
3328
3328
|
ease: v.interactiveEase
|
|
3329
3329
|
};
|
|
3330
3330
|
}
|
|
3331
|
-
function
|
|
3331
|
+
function qi() {
|
|
3332
3332
|
return {
|
|
3333
3333
|
duration: v.modalDuration / 1e3,
|
|
3334
3334
|
ease: v.interactiveEase
|
|
3335
3335
|
};
|
|
3336
3336
|
}
|
|
3337
|
-
function
|
|
3337
|
+
function co() {
|
|
3338
3338
|
return v.interactiveDuration * v.pressSqueezeDurationFactor / 1e3;
|
|
3339
3339
|
}
|
|
3340
|
-
function
|
|
3340
|
+
function ji() {
|
|
3341
3341
|
return {
|
|
3342
3342
|
duration: v.selectionFillDuration / 1e3,
|
|
3343
3343
|
ease: v.selectionFillEase
|
|
3344
3344
|
};
|
|
3345
3345
|
}
|
|
3346
|
-
function
|
|
3346
|
+
function Xi() {
|
|
3347
3347
|
return {
|
|
3348
3348
|
duration: v.tooltipDuration / 1e3,
|
|
3349
3349
|
ease: v.interactiveEase
|
|
3350
3350
|
};
|
|
3351
3351
|
}
|
|
3352
|
-
function
|
|
3352
|
+
function Yi() {
|
|
3353
3353
|
return {
|
|
3354
3354
|
duration: v.switchThumbDuration / 1e3,
|
|
3355
3355
|
ease: v.switchThumbEase
|
|
3356
3356
|
};
|
|
3357
3357
|
}
|
|
3358
|
-
function
|
|
3358
|
+
function Ki() {
|
|
3359
3359
|
return {
|
|
3360
3360
|
duration: v.expandDuration / 1e3,
|
|
3361
3361
|
ease: v.expandOpenEase
|
|
3362
3362
|
};
|
|
3363
3363
|
}
|
|
3364
|
-
function
|
|
3364
|
+
function Zi() {
|
|
3365
3365
|
return {
|
|
3366
3366
|
duration: v.tooltipDuration / 1e3,
|
|
3367
3367
|
ease: v.interactiveEase
|
|
3368
3368
|
};
|
|
3369
3369
|
}
|
|
3370
|
-
function
|
|
3370
|
+
function Ji() {
|
|
3371
3371
|
return {
|
|
3372
3372
|
duration: v.feedbackExpandDuration / 1e3
|
|
3373
3373
|
};
|
|
3374
3374
|
}
|
|
3375
|
-
function
|
|
3375
|
+
function Qi() {
|
|
3376
3376
|
return {
|
|
3377
3377
|
duration: v.progressFillDuration / 1e3,
|
|
3378
3378
|
ease: v.progressFillEase
|
|
3379
3379
|
};
|
|
3380
3380
|
}
|
|
3381
|
-
function
|
|
3381
|
+
function es() {
|
|
3382
3382
|
return {
|
|
3383
3383
|
duration: v.progressIndeterminateDuration / 1e3,
|
|
3384
3384
|
ease: v.progressIndeterminateEase
|
|
3385
3385
|
};
|
|
3386
3386
|
}
|
|
3387
|
-
function
|
|
3387
|
+
function rs() {
|
|
3388
3388
|
return {
|
|
3389
3389
|
duration: v.toastDismissDuration / 1e3,
|
|
3390
3390
|
ease: v.toastDismissEase
|
|
3391
3391
|
};
|
|
3392
3392
|
}
|
|
3393
|
-
const
|
|
3394
|
-
function
|
|
3393
|
+
const Hn = 3;
|
|
3394
|
+
function os() {
|
|
3395
3395
|
const e = v.loadingDotsDuration / 1e3;
|
|
3396
3396
|
return {
|
|
3397
3397
|
cycleSec: e,
|
|
3398
|
-
staggerSec: e /
|
|
3398
|
+
staggerSec: e / Hn,
|
|
3399
3399
|
halfCycleSec: e / 2,
|
|
3400
3400
|
easeUp: v.loadingDotsEaseUp,
|
|
3401
3401
|
easeDown: v.loadingDotsEaseDown,
|
|
3402
3402
|
enabled: Ge("enableLoadingDots")
|
|
3403
3403
|
};
|
|
3404
3404
|
}
|
|
3405
|
-
const
|
|
3406
|
-
let
|
|
3407
|
-
function $n() {
|
|
3408
|
-
Rr || (z.registerPlugin(Je), Rr = !0);
|
|
3409
|
-
}
|
|
3405
|
+
const $n = "pointer-events-none absolute z-0 rounded-full", Ye = "brn-ripple";
|
|
3406
|
+
let Ar = !1, zr = "";
|
|
3410
3407
|
function Wn() {
|
|
3411
|
-
|
|
3408
|
+
Ar || (A.registerPlugin(Qe), Ar = !0);
|
|
3409
|
+
}
|
|
3410
|
+
function Un() {
|
|
3411
|
+
Wn();
|
|
3412
3412
|
const e = G().rippleEaseCss;
|
|
3413
3413
|
if (zr !== e) {
|
|
3414
3414
|
const r = /cubic-bezier\(\s*([\d.]+),\s*([\d.]+),\s*([\d.]+),\s*([\d.]+)\s*\)/.exec(e);
|
|
3415
|
-
r ?
|
|
3415
|
+
r ? Qe.create(Ye, `${r[1]},${r[2]},${r[3]},${r[4]}`) : Qe.create(Ye, "0.25,0.55,0.35,0.95"), zr = e;
|
|
3416
3416
|
}
|
|
3417
|
-
return
|
|
3417
|
+
return Ye;
|
|
3418
3418
|
}
|
|
3419
|
-
function
|
|
3420
|
-
|
|
3421
|
-
for (const r of e)
|
|
3419
|
+
function z(...e) {
|
|
3420
|
+
A.killTweensOf(e);
|
|
3421
|
+
for (const r of e) uo(r);
|
|
3422
3422
|
}
|
|
3423
3423
|
function U(e, r) {
|
|
3424
3424
|
e.style.willChange = r ? "transform" : "";
|
|
3425
3425
|
}
|
|
3426
|
-
function
|
|
3426
|
+
function uo(e) {
|
|
3427
3427
|
if (e instanceof HTMLElement) {
|
|
3428
3428
|
U(e, !1);
|
|
3429
3429
|
return;
|
|
3430
3430
|
}
|
|
3431
3431
|
if (Array.isArray(e))
|
|
3432
|
-
for (const r of e)
|
|
3432
|
+
for (const r of e) uo(r);
|
|
3433
3433
|
}
|
|
3434
|
-
function
|
|
3434
|
+
function fo(e, r) {
|
|
3435
3435
|
return function() {
|
|
3436
3436
|
if (U(e, !1), typeof r == "function")
|
|
3437
3437
|
return r.call(this);
|
|
3438
3438
|
};
|
|
3439
3439
|
}
|
|
3440
|
-
const
|
|
3441
|
-
function
|
|
3440
|
+
const Ke = 0.12;
|
|
3441
|
+
function Vn({
|
|
3442
3442
|
id: e,
|
|
3443
3443
|
x: r,
|
|
3444
3444
|
y: o,
|
|
@@ -3454,28 +3454,28 @@ function Un({
|
|
|
3454
3454
|
const m = c.current;
|
|
3455
3455
|
if (!m) return;
|
|
3456
3456
|
let w = !1;
|
|
3457
|
-
|
|
3458
|
-
const h = a === "out" ?
|
|
3457
|
+
z(m);
|
|
3458
|
+
const h = a === "out" ? Ke : 1, x = a === "out" ? 1 : Ke, k = A.fromTo(
|
|
3459
3459
|
m,
|
|
3460
3460
|
{ scale: h, autoAlpha: t },
|
|
3461
3461
|
{
|
|
3462
|
-
scale:
|
|
3462
|
+
scale: x,
|
|
3463
3463
|
autoAlpha: 0,
|
|
3464
3464
|
duration: i / 1e3,
|
|
3465
|
-
ease:
|
|
3465
|
+
ease: Un(),
|
|
3466
3466
|
onComplete: () => {
|
|
3467
3467
|
w || p.current(e);
|
|
3468
3468
|
}
|
|
3469
3469
|
}
|
|
3470
3470
|
);
|
|
3471
3471
|
return () => {
|
|
3472
|
-
w = !0, k.kill(),
|
|
3472
|
+
w = !0, k.kill(), z(m);
|
|
3473
3473
|
};
|
|
3474
|
-
}, [e, r, o, n, i, t, s, a]), /* @__PURE__ */
|
|
3474
|
+
}, [e, r, o, n, i, t, s, a]), /* @__PURE__ */ Ze(
|
|
3475
3475
|
"span",
|
|
3476
3476
|
{
|
|
3477
3477
|
ref: c,
|
|
3478
|
-
className:
|
|
3478
|
+
className: $n,
|
|
3479
3479
|
style: {
|
|
3480
3480
|
left: r - n / 2,
|
|
3481
3481
|
top: o - n / 2,
|
|
@@ -3483,13 +3483,13 @@ function Un({
|
|
|
3483
3483
|
height: n,
|
|
3484
3484
|
background: s,
|
|
3485
3485
|
transformOrigin: "center center",
|
|
3486
|
-
transform: `scale(${a === "out" ?
|
|
3486
|
+
transform: `scale(${a === "out" ? Ke : 1})`
|
|
3487
3487
|
},
|
|
3488
3488
|
"aria-hidden": !0
|
|
3489
3489
|
}
|
|
3490
3490
|
);
|
|
3491
3491
|
}
|
|
3492
|
-
const
|
|
3492
|
+
const ns = Oo(function({
|
|
3493
3493
|
ripples: r,
|
|
3494
3494
|
tone: o,
|
|
3495
3495
|
onDone: n,
|
|
@@ -3497,8 +3497,8 @@ const os = Oo(function({
|
|
|
3497
3497
|
opacityFrom: t = G().rippleDefaultOpacityFrom,
|
|
3498
3498
|
direction: s = "in"
|
|
3499
3499
|
}) {
|
|
3500
|
-
return /* @__PURE__ */
|
|
3501
|
-
|
|
3500
|
+
return /* @__PURE__ */ Ze(Fo, { children: r.map((a) => /* @__PURE__ */ Ze(
|
|
3501
|
+
Vn,
|
|
3502
3502
|
{
|
|
3503
3503
|
...a,
|
|
3504
3504
|
background: o,
|
|
@@ -3510,7 +3510,7 @@ const os = Oo(function({
|
|
|
3510
3510
|
a.id
|
|
3511
3511
|
)) });
|
|
3512
3512
|
});
|
|
3513
|
-
function
|
|
3513
|
+
function qn(e, r, o, n) {
|
|
3514
3514
|
return Math.max(...[
|
|
3515
3515
|
[0, 0],
|
|
3516
3516
|
[o, 0],
|
|
@@ -3518,20 +3518,20 @@ function Vn(e, r, o, n) {
|
|
|
3518
3518
|
[o, n]
|
|
3519
3519
|
].map(([t, s]) => Math.hypot(t - e, s - r)));
|
|
3520
3520
|
}
|
|
3521
|
-
function
|
|
3522
|
-
const i = e.getBoundingClientRect(), t = r - i.left, s = o - i.top, a =
|
|
3521
|
+
function go(e, r, o, n) {
|
|
3522
|
+
const i = e.getBoundingClientRect(), t = r - i.left, s = o - i.top, a = qn(t, s, i.width, i.height) * 2;
|
|
3523
3523
|
return { id: n, x: t, y: s, size: a };
|
|
3524
3524
|
}
|
|
3525
|
-
function
|
|
3525
|
+
function ts(e, r) {
|
|
3526
3526
|
const o = e.currentTarget;
|
|
3527
|
-
return o ?
|
|
3527
|
+
return o ? go(o, e.clientX, e.clientY, r) : null;
|
|
3528
3528
|
}
|
|
3529
|
-
function
|
|
3530
|
-
const e = Z(0), [r, o] =
|
|
3529
|
+
function is() {
|
|
3530
|
+
const e = Z(0), [r, o] = Je([]), n = D((s) => {
|
|
3531
3531
|
o((a) => a.filter((d) => d.id !== s));
|
|
3532
3532
|
}, []), i = D(
|
|
3533
3533
|
(s, a, d) => {
|
|
3534
|
-
const c = ++e.current, p =
|
|
3534
|
+
const c = ++e.current, p = go(
|
|
3535
3535
|
s,
|
|
3536
3536
|
a,
|
|
3537
3537
|
d,
|
|
@@ -3546,23 +3546,23 @@ function ts() {
|
|
|
3546
3546
|
}, [i]);
|
|
3547
3547
|
return { ripples: r, pushFromPointer: t, pushAtClientCoords: i, dismiss: n };
|
|
3548
3548
|
}
|
|
3549
|
-
const
|
|
3549
|
+
const ss = ["small", "base", "mid", "strong", "bold"], ar = {
|
|
3550
3550
|
small: "--font-w-small",
|
|
3551
3551
|
base: "--font-w-base",
|
|
3552
3552
|
mid: "--font-w-mid",
|
|
3553
3553
|
strong: "--font-w-strong",
|
|
3554
3554
|
bold: "--font-w-bold"
|
|
3555
|
-
},
|
|
3555
|
+
}, jn = {
|
|
3556
3556
|
small: 400,
|
|
3557
3557
|
base: 500,
|
|
3558
3558
|
mid: 600,
|
|
3559
3559
|
strong: 700,
|
|
3560
3560
|
bold: 800
|
|
3561
3561
|
};
|
|
3562
|
-
function
|
|
3562
|
+
function as(e) {
|
|
3563
3563
|
return `var(--font-w-${e})`;
|
|
3564
3564
|
}
|
|
3565
|
-
const ce = W.textScale,
|
|
3565
|
+
const ce = W.textScale, Xn = 1024, mo = `(max-width: ${Xn}px), (hover: none), (pointer: coarse)`, ls = `${mo}, (any-pointer: coarse)`, cs = [
|
|
3566
3566
|
"--border-width",
|
|
3567
3567
|
"--focus-ring-width",
|
|
3568
3568
|
"--focus-ring-offset",
|
|
@@ -3757,10 +3757,10 @@ const ce = W.textScale, jn = 1024, go = `(max-width: ${jn}px), (hover: none), (p
|
|
|
3757
3757
|
function S(e) {
|
|
3758
3758
|
return `var(--color-${e})`;
|
|
3759
3759
|
}
|
|
3760
|
-
function
|
|
3760
|
+
function Yn(e, r) {
|
|
3761
3761
|
return r == null || !(r instanceof Node) ? !0 : !e.contains(r);
|
|
3762
3762
|
}
|
|
3763
|
-
function
|
|
3763
|
+
function po({
|
|
3764
3764
|
enabled: e,
|
|
3765
3765
|
targetRef: r,
|
|
3766
3766
|
pointerInsideRef: o,
|
|
@@ -3769,16 +3769,16 @@ function mo({
|
|
|
3769
3769
|
onEnter: t,
|
|
3770
3770
|
onLeave: s
|
|
3771
3771
|
}) {
|
|
3772
|
-
return
|
|
3772
|
+
return Hr(() => {
|
|
3773
3773
|
if (!i) return;
|
|
3774
3774
|
const a = r.current;
|
|
3775
3775
|
return () => {
|
|
3776
|
-
a &&
|
|
3776
|
+
a && z(a);
|
|
3777
3777
|
};
|
|
3778
3778
|
}, [i, r]), J(() => ({ onPointerOver: (c) => {
|
|
3779
3779
|
if (!e || c.defaultPrevented) return;
|
|
3780
3780
|
const p = c.currentTarget;
|
|
3781
|
-
if (!(c.target instanceof Node) || !p.contains(c.target) || !
|
|
3781
|
+
if (!(c.target instanceof Node) || !p.contains(c.target) || !Yn(p, c.relatedTarget) || n != null && n()) return;
|
|
3782
3782
|
const m = r.current;
|
|
3783
3783
|
m && (o && (o.current = !0), t(m, c));
|
|
3784
3784
|
}, onPointerOut: (c) => {
|
|
@@ -3788,82 +3788,82 @@ function mo({
|
|
|
3788
3788
|
w && s(w, c);
|
|
3789
3789
|
} }), [e, t, s, o, n, r]);
|
|
3790
3790
|
}
|
|
3791
|
-
function
|
|
3791
|
+
function Kn(e) {
|
|
3792
3792
|
return e || document.documentElement;
|
|
3793
3793
|
}
|
|
3794
|
-
function
|
|
3795
|
-
return typeof window > "u" ? "none" : getComputedStyle(
|
|
3794
|
+
function Pr(e, r) {
|
|
3795
|
+
return typeof window > "u" ? "none" : getComputedStyle(Kn(r)).getPropertyValue(e).trim() || "none";
|
|
3796
3796
|
}
|
|
3797
3797
|
function He(e) {
|
|
3798
|
-
return e === "none" ? "var(--shadow-none)" : `var(${
|
|
3798
|
+
return e === "none" ? "var(--shadow-none)" : `var(${io[e]})`;
|
|
3799
3799
|
}
|
|
3800
|
-
const
|
|
3801
|
-
function
|
|
3802
|
-
return
|
|
3800
|
+
const nr = () => He("none"), pe = () => He("base"), Zn = () => He("mid"), us = () => He("large");
|
|
3801
|
+
function ds(e, r) {
|
|
3802
|
+
return Pr(e === "none" ? "--shadow-none" : io[e], r);
|
|
3803
3803
|
}
|
|
3804
|
-
function
|
|
3804
|
+
function lr(e, r) {
|
|
3805
3805
|
e && e.style.setProperty("--el-shadow", r);
|
|
3806
3806
|
}
|
|
3807
|
-
function
|
|
3808
|
-
return typeof window > "u" || !window.matchMedia ? !1 : window.matchMedia(
|
|
3807
|
+
function Jn() {
|
|
3808
|
+
return typeof window > "u" || !window.matchMedia ? !1 : window.matchMedia(mo).matches;
|
|
3809
3809
|
}
|
|
3810
3810
|
function P() {
|
|
3811
|
-
return Be() ||
|
|
3811
|
+
return Be() || Jn() || !Ge("enableHoverLift");
|
|
3812
3812
|
}
|
|
3813
|
-
const
|
|
3814
|
-
function
|
|
3813
|
+
const Qn = 2.4, et = 3e-3, rt = 1.8, ot = 2e-3;
|
|
3814
|
+
function bo(e) {
|
|
3815
3815
|
const { width: r, height: o } = e.getBoundingClientRect(), n = Math.max(r, o, 1), i = 1 - G().pressSqueezeScale[1];
|
|
3816
3816
|
return 1 - Math.min(
|
|
3817
|
-
Math.max(
|
|
3817
|
+
Math.max(Qn / n, et),
|
|
3818
3818
|
i
|
|
3819
3819
|
);
|
|
3820
3820
|
}
|
|
3821
|
-
function
|
|
3822
|
-
return
|
|
3821
|
+
function cr(e) {
|
|
3822
|
+
return ur(e);
|
|
3823
3823
|
}
|
|
3824
|
-
function
|
|
3825
|
-
return
|
|
3824
|
+
function nt(e) {
|
|
3825
|
+
return bo(e);
|
|
3826
3826
|
}
|
|
3827
|
-
function
|
|
3827
|
+
function ur(e) {
|
|
3828
3828
|
const { width: r, height: o } = e.getBoundingClientRect(), n = Math.max(r, o, 1);
|
|
3829
3829
|
return 1 + Math.min(
|
|
3830
|
-
Math.max(
|
|
3830
|
+
Math.max(rt / n, ot),
|
|
3831
3831
|
G().hoverLiftScale - 1
|
|
3832
3832
|
);
|
|
3833
3833
|
}
|
|
3834
3834
|
function Le(e, r, o, n) {
|
|
3835
3835
|
if (P()) {
|
|
3836
|
-
r || (
|
|
3836
|
+
r || (z(e), A.set(e, { scale: 1 }), n && e.style.setProperty("--el-shadow", n.idle ?? nr()));
|
|
3837
3837
|
return;
|
|
3838
3838
|
}
|
|
3839
|
-
|
|
3840
|
-
const i = r ? o !== void 0 ? o :
|
|
3841
|
-
if (U(e, !0),
|
|
3839
|
+
z(e);
|
|
3840
|
+
const i = r ? o !== void 0 ? o : ur(e) : 1, t = G();
|
|
3841
|
+
if (U(e, !0), A.to(e, {
|
|
3842
3842
|
scale: i,
|
|
3843
3843
|
duration: t.interactiveDuration / 1e3,
|
|
3844
3844
|
ease: t.hoverLiftEase,
|
|
3845
3845
|
overwrite: "auto",
|
|
3846
|
-
onComplete:
|
|
3846
|
+
onComplete: fo(e)
|
|
3847
3847
|
}), n) {
|
|
3848
|
-
const s = n.idle ??
|
|
3848
|
+
const s = n.idle ?? nr();
|
|
3849
3849
|
e.style.setProperty("--el-shadow", r ? n.hover : s);
|
|
3850
3850
|
}
|
|
3851
3851
|
}
|
|
3852
|
-
function
|
|
3852
|
+
function fs(e) {
|
|
3853
3853
|
return !e.repeat && (e.key === "Enter" || e.key === " ");
|
|
3854
3854
|
}
|
|
3855
|
-
function
|
|
3855
|
+
function gs(e, r) {
|
|
3856
3856
|
var w;
|
|
3857
3857
|
if (!Ge("enablePressSqueeze"))
|
|
3858
3858
|
return (w = r == null ? void 0 : r.onReleaseStart) == null || w.call(r), Promise.resolve();
|
|
3859
|
-
|
|
3860
|
-
const o =
|
|
3859
|
+
z(e);
|
|
3860
|
+
const o = bo(e), n = G(), i = co(), t = i * 0.3, s = !P(), a = !!(r != null && r.pointerInside && s), d = a ? (r == null ? void 0 : r.liftScale) !== void 0 ? r.liftScale : ur(e) : 1, c = a ? i : i * 0.5, p = a ? n.hoverLiftEase : "sine.inOut", m = r == null ? void 0 : r.shadow;
|
|
3861
3861
|
if (m) {
|
|
3862
|
-
const h = m.idle ??
|
|
3862
|
+
const h = m.idle ?? nr();
|
|
3863
3863
|
e.style.setProperty("--el-shadow", a ? m.hover : h);
|
|
3864
3864
|
}
|
|
3865
3865
|
return new Promise((h) => {
|
|
3866
|
-
U(e, !0),
|
|
3866
|
+
U(e, !0), A.timeline({
|
|
3867
3867
|
onComplete: () => {
|
|
3868
3868
|
U(e, !1), h();
|
|
3869
3869
|
}
|
|
@@ -3873,8 +3873,8 @@ function fs(e, r) {
|
|
|
3873
3873
|
ease: "power1.out",
|
|
3874
3874
|
overwrite: "auto"
|
|
3875
3875
|
}).add(() => {
|
|
3876
|
-
var
|
|
3877
|
-
(
|
|
3876
|
+
var x;
|
|
3877
|
+
(x = r == null ? void 0 : r.onReleaseStart) == null || x.call(r);
|
|
3878
3878
|
}).to(e, {
|
|
3879
3879
|
scale: d,
|
|
3880
3880
|
duration: c,
|
|
@@ -3883,7 +3883,7 @@ function fs(e, r) {
|
|
|
3883
3883
|
});
|
|
3884
3884
|
});
|
|
3885
3885
|
}
|
|
3886
|
-
function
|
|
3886
|
+
function tt(e, r, o, n, i) {
|
|
3887
3887
|
const t = D(
|
|
3888
3888
|
(a) => {
|
|
3889
3889
|
Le(a, !0, n, i);
|
|
@@ -3895,7 +3895,7 @@ function nt(e, r, o, n, i) {
|
|
|
3895
3895
|
},
|
|
3896
3896
|
[n, i]
|
|
3897
3897
|
);
|
|
3898
|
-
return
|
|
3898
|
+
return po({
|
|
3899
3899
|
enabled: r,
|
|
3900
3900
|
targetRef: e,
|
|
3901
3901
|
pointerInsideRef: o,
|
|
@@ -3904,19 +3904,19 @@ function nt(e, r, o, n, i) {
|
|
|
3904
3904
|
onLeave: s
|
|
3905
3905
|
});
|
|
3906
3906
|
}
|
|
3907
|
-
const me = "data-gloss-motion-init",
|
|
3907
|
+
const me = "data-gloss-motion-init", ho = "origin-center", Mr = {
|
|
3908
3908
|
rest: { angle1: -75, angle2: -45, shineX: 0, shineY: 50 },
|
|
3909
3909
|
hover: { angle1: -80, angle2: -45, shineX: 10, shineY: 50 },
|
|
3910
3910
|
press: { angle1: -75, angle2: -15, shineX: 15, shineY: 15 }
|
|
3911
|
-
},
|
|
3912
|
-
function
|
|
3911
|
+
}, it = 120, st = 0.35;
|
|
3912
|
+
function at(e) {
|
|
3913
3913
|
const { width: r, height: o } = e.getBoundingClientRect(), n = Math.max(r, o, 1);
|
|
3914
|
-
return Math.min(1, Math.max(
|
|
3914
|
+
return Math.min(1, Math.max(st, it / n));
|
|
3915
3915
|
}
|
|
3916
|
-
function
|
|
3917
|
-
const o =
|
|
3916
|
+
function lt(e, r) {
|
|
3917
|
+
const o = Mr.rest, n = Mr[r];
|
|
3918
3918
|
if (r === "rest") return n;
|
|
3919
|
-
const i =
|
|
3919
|
+
const i = at(e);
|
|
3920
3920
|
return {
|
|
3921
3921
|
angle1: o.angle1 + (n.angle1 - o.angle1) * i,
|
|
3922
3922
|
angle2: o.angle2 + (n.angle2 - o.angle2) * i,
|
|
@@ -3928,8 +3928,8 @@ function Y(e, r) {
|
|
|
3928
3928
|
const o = getComputedStyle(e).getPropertyValue(r).trim();
|
|
3929
3929
|
return o || (typeof document > "u" ? "" : getComputedStyle(document.documentElement).getPropertyValue(r).trim());
|
|
3930
3930
|
}
|
|
3931
|
-
function
|
|
3932
|
-
const o =
|
|
3931
|
+
function ct(e, r) {
|
|
3932
|
+
const o = lt(e, r);
|
|
3933
3933
|
return {
|
|
3934
3934
|
"--gloss-angle-1": `${o.angle1}deg`,
|
|
3935
3935
|
"--gloss-angle-2": `${o.angle2}deg`,
|
|
@@ -3937,47 +3937,47 @@ function lt(e, r) {
|
|
|
3937
3937
|
"--gloss-shine-y": o.shineY
|
|
3938
3938
|
};
|
|
3939
3939
|
}
|
|
3940
|
-
function
|
|
3940
|
+
function ut(e, r) {
|
|
3941
3941
|
const o = Y(e, "--gloss-inset-top"), n = Y(e, "--gloss-inset-bottom"), i = Y(e, "--gloss-elevation"), t = Y(e, "--gloss-elevation-hover") || i, s = Y(e, "--gloss-inner-glow"), a = Y(e, "--gloss-glow-hover"), d = Y(e, "--gloss-press-inset"), c = `inset 0 0.425em 0.425em ${o}, inset 0 -0.225em 0.225em ${n}`, p = r === "hover" ? `0 0.125em 0.3125em -0.1875em ${t}` : r === "press" ? `0 0.04em 0.08em -0.0625em ${i}` : `0 0.0625em 0.125em -0.0625em ${i}`, m = r === "hover" ? `inset 0 0 0.1em 0.25em ${a}` : `inset 0 0 0.05em 0.1em ${s}`, w = r === "press" ? `inset 0 0.25em 0.06em 0 ${d}` : "inset 0 0.25em 0.06em 0 rgb(0 0 0 / 0)";
|
|
3942
3942
|
return `${c}, ${p}, ${m}, ${w}`;
|
|
3943
3943
|
}
|
|
3944
3944
|
function ue(e, r) {
|
|
3945
3945
|
return {
|
|
3946
|
-
...
|
|
3947
|
-
boxShadow:
|
|
3946
|
+
...ct(e, r),
|
|
3947
|
+
boxShadow: ut(e, r)
|
|
3948
3948
|
};
|
|
3949
3949
|
}
|
|
3950
3950
|
function Re(e) {
|
|
3951
|
-
|
|
3951
|
+
z(e), A.set(e, {
|
|
3952
3952
|
scale: 1,
|
|
3953
3953
|
...ue(e, "rest")
|
|
3954
3954
|
});
|
|
3955
3955
|
}
|
|
3956
|
-
let K = null,
|
|
3957
|
-
function
|
|
3956
|
+
let K = null, Oe = 0;
|
|
3957
|
+
function vo(e) {
|
|
3958
3958
|
if (P()) {
|
|
3959
3959
|
Re(e);
|
|
3960
3960
|
return;
|
|
3961
3961
|
}
|
|
3962
3962
|
const r = e.matches(":hover") || e.matches(":focus-within");
|
|
3963
|
-
if (
|
|
3964
|
-
|
|
3965
|
-
scale:
|
|
3963
|
+
if (z(e), r) {
|
|
3964
|
+
A.set(e, {
|
|
3965
|
+
scale: cr(e),
|
|
3966
3966
|
...ue(e, "hover")
|
|
3967
3967
|
});
|
|
3968
3968
|
return;
|
|
3969
3969
|
}
|
|
3970
3970
|
Re(e);
|
|
3971
3971
|
}
|
|
3972
|
-
function
|
|
3972
|
+
function dt(e) {
|
|
3973
3973
|
if (typeof document > "u") return;
|
|
3974
|
-
document.querySelectorAll(`[${me}]`).forEach(
|
|
3974
|
+
document.querySelectorAll(`[${me}]`).forEach(vo);
|
|
3975
3975
|
}
|
|
3976
|
-
function
|
|
3976
|
+
function ft() {
|
|
3977
3977
|
K || typeof document > "u" || (K = new MutationObserver((e) => {
|
|
3978
3978
|
for (const r of e)
|
|
3979
3979
|
if (r.type === "attributes" && r.attributeName === "data-theme") {
|
|
3980
|
-
|
|
3980
|
+
dt();
|
|
3981
3981
|
return;
|
|
3982
3982
|
}
|
|
3983
3983
|
}), K.observe(document.documentElement, {
|
|
@@ -3985,28 +3985,28 @@ function dt() {
|
|
|
3985
3985
|
attributeFilter: ["data-theme"]
|
|
3986
3986
|
}));
|
|
3987
3987
|
}
|
|
3988
|
-
function
|
|
3988
|
+
function gt() {
|
|
3989
3989
|
K == null || K.disconnect(), K = null;
|
|
3990
3990
|
}
|
|
3991
|
-
function
|
|
3992
|
-
e.hasAttribute(me) || (e.setAttribute(me, ""),
|
|
3991
|
+
function mt(e) {
|
|
3992
|
+
e.hasAttribute(me) || (e.setAttribute(me, ""), Oe += 1, ft(), Re(e));
|
|
3993
3993
|
}
|
|
3994
|
-
function
|
|
3995
|
-
e.hasAttribute(me) && (e.removeAttribute(me),
|
|
3994
|
+
function Nr(e) {
|
|
3995
|
+
e.hasAttribute(me) && (e.removeAttribute(me), Oe = Math.max(0, Oe - 1), Oe === 0 && gt());
|
|
3996
3996
|
}
|
|
3997
|
-
function
|
|
3997
|
+
function yo(e, r = !0) {
|
|
3998
3998
|
let o = null;
|
|
3999
3999
|
return (n) => {
|
|
4000
|
-
if (o && o !== n && (
|
|
4001
|
-
|
|
4000
|
+
if (o && o !== n && (Nr(o), o = null), e.current = n, n && r) {
|
|
4001
|
+
mt(n), o = n;
|
|
4002
4002
|
return;
|
|
4003
4003
|
}
|
|
4004
|
-
o && (
|
|
4004
|
+
o && (Nr(o), o = null);
|
|
4005
4005
|
};
|
|
4006
4006
|
}
|
|
4007
|
-
function
|
|
4007
|
+
function ms(e, r = !0) {
|
|
4008
4008
|
const o = Z(null), n = J(
|
|
4009
|
-
() =>
|
|
4009
|
+
() => yo(o, r),
|
|
4010
4010
|
[r]
|
|
4011
4011
|
);
|
|
4012
4012
|
return D(
|
|
@@ -4016,32 +4016,32 @@ function gs(e, r = !0) {
|
|
|
4016
4016
|
[n, e]
|
|
4017
4017
|
);
|
|
4018
4018
|
}
|
|
4019
|
-
function
|
|
4019
|
+
function Ae(e, r, o) {
|
|
4020
4020
|
if (P()) {
|
|
4021
|
-
r || (
|
|
4021
|
+
r || (z(e), A.set(e, { scale: 1, ...ue(e, "rest") }));
|
|
4022
4022
|
return;
|
|
4023
4023
|
}
|
|
4024
|
-
|
|
4025
|
-
const n = G(), i = r ? "hover" : "rest", t = r ? o !== void 0 ? o :
|
|
4026
|
-
U(e, !0),
|
|
4024
|
+
z(e);
|
|
4025
|
+
const n = G(), i = r ? "hover" : "rest", t = r ? o !== void 0 ? o : cr(e) : 1;
|
|
4026
|
+
U(e, !0), A.to(e, {
|
|
4027
4027
|
scale: t,
|
|
4028
4028
|
...ue(e, i),
|
|
4029
4029
|
duration: n.interactiveDuration / 1e3,
|
|
4030
4030
|
ease: n.hoverLiftEase,
|
|
4031
4031
|
overwrite: "auto",
|
|
4032
|
-
onComplete:
|
|
4032
|
+
onComplete: fo(e)
|
|
4033
4033
|
});
|
|
4034
4034
|
}
|
|
4035
|
-
function
|
|
4035
|
+
function pt(e, r = !1, o, n) {
|
|
4036
4036
|
if (Be())
|
|
4037
4037
|
return Promise.resolve();
|
|
4038
4038
|
const i = G();
|
|
4039
4039
|
if (!Ge("enablePressSqueeze"))
|
|
4040
|
-
return n == null || n(), P() ||
|
|
4041
|
-
|
|
4042
|
-
const t =
|
|
4040
|
+
return n == null || n(), P() || Ae(e, r, o), Promise.resolve();
|
|
4041
|
+
z(e);
|
|
4042
|
+
const t = nt(e), s = co(), a = s * 0.3, d = s * 1, c = !P(), p = r && c, m = p ? "hover" : "rest", w = p ? cr(e) : 1;
|
|
4043
4043
|
return new Promise((h) => {
|
|
4044
|
-
U(e, !0),
|
|
4044
|
+
U(e, !0), A.timeline({
|
|
4045
4045
|
onComplete: () => {
|
|
4046
4046
|
U(e, !1), h();
|
|
4047
4047
|
}
|
|
@@ -4062,7 +4062,7 @@ function mt(e, r = !1, o, n) {
|
|
|
4062
4062
|
});
|
|
4063
4063
|
});
|
|
4064
4064
|
}
|
|
4065
|
-
function
|
|
4065
|
+
function bt(e, r, o) {
|
|
4066
4066
|
const n = o == null ? void 0 : o.liftScale, i = o == null ? void 0 : o.pointerInsideRef;
|
|
4067
4067
|
Q(() => {
|
|
4068
4068
|
if (!r) return;
|
|
@@ -4071,16 +4071,16 @@ function pt(e, r, o) {
|
|
|
4071
4071
|
}, [r, e]);
|
|
4072
4072
|
const t = D(
|
|
4073
4073
|
(a) => {
|
|
4074
|
-
|
|
4074
|
+
Ae(a, !0, n);
|
|
4075
4075
|
},
|
|
4076
4076
|
[n]
|
|
4077
4077
|
), s = D(
|
|
4078
4078
|
(a) => {
|
|
4079
|
-
|
|
4079
|
+
Ae(a, !1, n);
|
|
4080
4080
|
},
|
|
4081
4081
|
[n]
|
|
4082
4082
|
);
|
|
4083
|
-
return
|
|
4083
|
+
return po({
|
|
4084
4084
|
enabled: r,
|
|
4085
4085
|
targetRef: e,
|
|
4086
4086
|
pointerInsideRef: i,
|
|
@@ -4089,26 +4089,26 @@ function pt(e, r, o) {
|
|
|
4089
4089
|
onLeave: s
|
|
4090
4090
|
});
|
|
4091
4091
|
}
|
|
4092
|
-
function
|
|
4092
|
+
function ps(e, r) {
|
|
4093
4093
|
const o = Z(!1), n = Z(!1), i = Z(!1), t = J(
|
|
4094
|
-
() =>
|
|
4094
|
+
() => yo(e, r),
|
|
4095
4095
|
[e, r]
|
|
4096
4096
|
), s = D(() => {
|
|
4097
4097
|
const h = e.current;
|
|
4098
4098
|
if (!h || !r || P()) return;
|
|
4099
|
-
const
|
|
4100
|
-
|
|
4101
|
-
}, [r, e]), a =
|
|
4099
|
+
const x = o.current || n.current;
|
|
4100
|
+
Ae(h, x);
|
|
4101
|
+
}, [r, e]), a = bt(e, r, {
|
|
4102
4102
|
pointerInsideRef: o
|
|
4103
4103
|
});
|
|
4104
4104
|
Q(() => {
|
|
4105
4105
|
if (!r) return;
|
|
4106
4106
|
const h = e.current;
|
|
4107
4107
|
if (!h || typeof ResizeObserver > "u") return;
|
|
4108
|
-
const
|
|
4109
|
-
|
|
4108
|
+
const x = new ResizeObserver(() => {
|
|
4109
|
+
vo(h);
|
|
4110
4110
|
});
|
|
4111
|
-
return
|
|
4111
|
+
return x.observe(h), () => x.disconnect();
|
|
4112
4112
|
}, [r, e]);
|
|
4113
4113
|
const d = D(
|
|
4114
4114
|
(h) => {
|
|
@@ -4125,20 +4125,20 @@ function ms(e, r) {
|
|
|
4125
4125
|
}, [r, s]), m = D(
|
|
4126
4126
|
(h) => {
|
|
4127
4127
|
if (!r) return;
|
|
4128
|
-
const
|
|
4129
|
-
|
|
4128
|
+
const x = e.current;
|
|
4129
|
+
x && h.relatedTarget instanceof Node && x.contains(h.relatedTarget) || (n.current = !1, s());
|
|
4130
4130
|
},
|
|
4131
4131
|
[r, e, s]
|
|
4132
4132
|
), w = D(() => {
|
|
4133
4133
|
if (!r) return;
|
|
4134
4134
|
const h = e.current;
|
|
4135
|
-
!h || Be() || (o.current = !0, i.current = !0,
|
|
4135
|
+
!h || Be() || (o.current = !0, i.current = !0, pt(h, !0).finally(() => {
|
|
4136
4136
|
i.current = !1;
|
|
4137
4137
|
}));
|
|
4138
4138
|
}, [r, e]);
|
|
4139
4139
|
return {
|
|
4140
4140
|
bindShellRef: t,
|
|
4141
|
-
shellHoverMotionClass: r ?
|
|
4141
|
+
shellHoverMotionClass: r ? ho : "",
|
|
4142
4142
|
onShellPointerEnter: d,
|
|
4143
4143
|
onShellPointerLeave: c,
|
|
4144
4144
|
onShellFocusIn: p,
|
|
@@ -4146,22 +4146,22 @@ function ms(e, r) {
|
|
|
4146
4146
|
onShellPointerDown: w
|
|
4147
4147
|
};
|
|
4148
4148
|
}
|
|
4149
|
-
const
|
|
4150
|
-
function
|
|
4149
|
+
const dr = "animate-shadow origin-center";
|
|
4150
|
+
function bs() {
|
|
4151
4151
|
return { hover: pe() };
|
|
4152
4152
|
}
|
|
4153
4153
|
function xo() {
|
|
4154
|
-
return { idle: pe(), hover:
|
|
4154
|
+
return { idle: pe(), hover: Zn() };
|
|
4155
4155
|
}
|
|
4156
|
-
function
|
|
4156
|
+
function hs(e, r, o = pe, n) {
|
|
4157
4157
|
Q(() => {
|
|
4158
|
-
r &&
|
|
4158
|
+
r && lr(e.current, o());
|
|
4159
4159
|
}, [r, e, o, n]);
|
|
4160
4160
|
}
|
|
4161
|
-
function
|
|
4161
|
+
function ht(e, r, o) {
|
|
4162
4162
|
const n = J(() => xo(), []), i = (o == null ? void 0 : o.resolveIdle) ?? pe;
|
|
4163
4163
|
Q(() => {
|
|
4164
|
-
r &&
|
|
4164
|
+
r && lr(e.current, i());
|
|
4165
4165
|
}, [r, e, i, o == null ? void 0 : o.idleSyncKey]);
|
|
4166
4166
|
const t = D(
|
|
4167
4167
|
(a) => {
|
|
@@ -4179,18 +4179,18 @@ function bt(e, r, o) {
|
|
|
4179
4179
|
[r, o == null ? void 0 : o.liftScale, n, e]
|
|
4180
4180
|
);
|
|
4181
4181
|
return {
|
|
4182
|
-
motionClass: r ?
|
|
4182
|
+
motionClass: r ? dr : "",
|
|
4183
4183
|
shadow: n,
|
|
4184
4184
|
onPointerEnter: t,
|
|
4185
4185
|
onPointerLeave: s
|
|
4186
4186
|
};
|
|
4187
4187
|
}
|
|
4188
|
-
function
|
|
4188
|
+
function vs(e, r, o) {
|
|
4189
4189
|
const n = J(() => xo(), []), i = (o == null ? void 0 : o.resolveIdle) ?? pe;
|
|
4190
4190
|
Q(() => {
|
|
4191
|
-
r &&
|
|
4191
|
+
r && lr(e.current, i());
|
|
4192
4192
|
}, [r, e, i, o == null ? void 0 : o.idleSyncKey]);
|
|
4193
|
-
const t =
|
|
4193
|
+
const t = tt(
|
|
4194
4194
|
e,
|
|
4195
4195
|
r,
|
|
4196
4196
|
o == null ? void 0 : o.pointerInsideRef,
|
|
@@ -4198,7 +4198,7 @@ function hs(e, r, o) {
|
|
|
4198
4198
|
n
|
|
4199
4199
|
);
|
|
4200
4200
|
return {
|
|
4201
|
-
motionClass: r ?
|
|
4201
|
+
motionClass: r ? dr : "",
|
|
4202
4202
|
shadow: n,
|
|
4203
4203
|
...t
|
|
4204
4204
|
};
|
|
@@ -4208,12 +4208,12 @@ const De = {
|
|
|
4208
4208
|
success: "text-success",
|
|
4209
4209
|
info: "text-info",
|
|
4210
4210
|
warning: "text-warning"
|
|
4211
|
-
},
|
|
4211
|
+
}, vt = {
|
|
4212
4212
|
danger: "bg-surface-tint-danger border-token",
|
|
4213
4213
|
success: "bg-surface-tint-success border-token",
|
|
4214
4214
|
info: "bg-surface-tint-info border-token",
|
|
4215
4215
|
warning: "bg-surface-tint-warning border-token"
|
|
4216
|
-
},
|
|
4216
|
+
}, yt = {
|
|
4217
4217
|
danger: "bg-danger border border-transparent text-danger-foreground",
|
|
4218
4218
|
success: "bg-success border border-transparent text-success-foreground",
|
|
4219
4219
|
info: "bg-info border border-transparent text-info-foreground",
|
|
@@ -4223,12 +4223,12 @@ const De = {
|
|
|
4223
4223
|
success: "text-success-foreground",
|
|
4224
4224
|
info: "text-info-foreground",
|
|
4225
4225
|
warning: "text-warning-foreground"
|
|
4226
|
-
},
|
|
4226
|
+
}, wt = {
|
|
4227
4227
|
danger: "border-token-danger",
|
|
4228
4228
|
success: "border-token-success",
|
|
4229
4229
|
info: "border-token-info",
|
|
4230
4230
|
warning: "border-token-warning"
|
|
4231
|
-
},
|
|
4231
|
+
}, St = "surface-color-transition motion-reduce:transition-none", ys = "text-color-transition motion-reduce:transition-none", Tt = {
|
|
4232
4232
|
default: {
|
|
4233
4233
|
"focus-visible": "hover:bg-default-hover focus-visible:bg-default-hover",
|
|
4234
4234
|
"focus-within": "hover:bg-default-hover focus-within:bg-default-hover"
|
|
@@ -4294,11 +4294,11 @@ const De = {
|
|
|
4294
4294
|
"focus-within": "hover:bg-success-fill-hover focus-within:bg-success-fill-hover"
|
|
4295
4295
|
}
|
|
4296
4296
|
};
|
|
4297
|
-
function
|
|
4298
|
-
return
|
|
4297
|
+
function wo(e = "default", r = "focus-visible") {
|
|
4298
|
+
return Tt[e][r];
|
|
4299
4299
|
}
|
|
4300
|
-
function
|
|
4301
|
-
return
|
|
4300
|
+
function kt(e = "default") {
|
|
4301
|
+
return y(St, wo(e, "focus-visible"));
|
|
4302
4302
|
}
|
|
4303
4303
|
const ie = {
|
|
4304
4304
|
default: "bg-surface text-foreground border-token",
|
|
@@ -4313,7 +4313,7 @@ const ie = {
|
|
|
4313
4313
|
"outline",
|
|
4314
4314
|
"secondary",
|
|
4315
4315
|
"ghost"
|
|
4316
|
-
]),
|
|
4316
|
+
]), So = {
|
|
4317
4317
|
default: {
|
|
4318
4318
|
root: ie.default,
|
|
4319
4319
|
loaderText: "text-foreground"
|
|
@@ -4338,25 +4338,25 @@ const ie = {
|
|
|
4338
4338
|
root: ie.gloss,
|
|
4339
4339
|
loaderText: "text-foreground"
|
|
4340
4340
|
}
|
|
4341
|
-
},
|
|
4341
|
+
}, Et = {
|
|
4342
4342
|
default: "",
|
|
4343
4343
|
danger: "gloss-btn-danger",
|
|
4344
4344
|
success: "gloss-btn-success",
|
|
4345
4345
|
info: "gloss-btn-info",
|
|
4346
4346
|
warning: "gloss-btn-warning"
|
|
4347
|
-
},
|
|
4347
|
+
}, ws = {
|
|
4348
4348
|
default: "",
|
|
4349
4349
|
danger: "[--color-focus-ring:var(--color-focus-ring-danger)]",
|
|
4350
4350
|
success: "[--color-focus-ring:var(--color-focus-ring-success)]",
|
|
4351
4351
|
info: "[--color-focus-ring:var(--color-focus-ring-info)]",
|
|
4352
4352
|
warning: "[--color-focus-ring:var(--color-focus-ring-warning)]"
|
|
4353
|
-
},
|
|
4353
|
+
}, Dt = {
|
|
4354
4354
|
default: S("converge-ripple-neutral"),
|
|
4355
4355
|
danger: S("converge-ripple-danger"),
|
|
4356
4356
|
success: S("converge-ripple-success"),
|
|
4357
4357
|
info: S("converge-ripple-info"),
|
|
4358
4358
|
warning: S("converge-ripple-warning")
|
|
4359
|
-
},
|
|
4359
|
+
}, Ct = {
|
|
4360
4360
|
danger: S("converge-ripple-danger"),
|
|
4361
4361
|
success: S("converge-ripple-success"),
|
|
4362
4362
|
info: S("converge-ripple-info"),
|
|
@@ -4366,20 +4366,20 @@ const ie = {
|
|
|
4366
4366
|
base: "[&_svg]:icon-base",
|
|
4367
4367
|
mid: "[&_svg]:icon-mid",
|
|
4368
4368
|
large: "[&_svg]:icon-large"
|
|
4369
|
-
},
|
|
4369
|
+
}, Ss = {
|
|
4370
4370
|
small: "small",
|
|
4371
4371
|
base: "base",
|
|
4372
4372
|
mid: "mid",
|
|
4373
4373
|
large: "large"
|
|
4374
|
-
},
|
|
4375
|
-
function
|
|
4376
|
-
const { root: o } =
|
|
4374
|
+
}, Ts = "relative overflow-hidden inline-flex items-center justify-center outline-none focus-ring disabled:pointer-events-none", ks = "pointer-events-none absolute inset-0 z-0 overflow-hidden", _t = "relative z-[1] grid w-full min-w-0 place-items-center", Ot = "origin-center", It = "col-start-1 row-start-1 inline-flex w-full min-w-0 items-center justify-center gap-xsmall", Lt = "inline-flex shrink-0 items-center justify-center", Rt = "min-w-0 shrink", fr = "col-start-1 row-start-1 flex items-center justify-center", $e = "invisible opacity-0 pointer-events-none", At = "text-success", zt = "text-danger", Es = "animate-spin motion-reduce:animate-none", Ds = "cursor-pointer", Cs = "opacity-50";
|
|
4375
|
+
function Pt(e, r) {
|
|
4376
|
+
const { root: o } = So[e];
|
|
4377
4377
|
return e === "outline" && r !== "default" ? "bg-transparent text-foreground" : o;
|
|
4378
4378
|
}
|
|
4379
|
-
function
|
|
4380
|
-
return
|
|
4379
|
+
function Mt(e) {
|
|
4380
|
+
return So[e].loaderText;
|
|
4381
4381
|
}
|
|
4382
|
-
function
|
|
4382
|
+
function Nt(e, r) {
|
|
4383
4383
|
if (r === "default")
|
|
4384
4384
|
switch (e) {
|
|
4385
4385
|
case "default":
|
|
@@ -4409,15 +4409,15 @@ function Mt(e, r) {
|
|
|
4409
4409
|
return "default";
|
|
4410
4410
|
}
|
|
4411
4411
|
}
|
|
4412
|
-
function
|
|
4412
|
+
function Bt(e, r) {
|
|
4413
4413
|
if (r === "default") return "";
|
|
4414
4414
|
switch (e) {
|
|
4415
4415
|
case "default":
|
|
4416
|
-
return
|
|
4416
|
+
return y(vt[r], De[r]);
|
|
4417
4417
|
case "primary":
|
|
4418
|
-
return
|
|
4418
|
+
return yt[r];
|
|
4419
4419
|
case "outline":
|
|
4420
|
-
return
|
|
4420
|
+
return y(wt[r], De[r]);
|
|
4421
4421
|
case "secondary":
|
|
4422
4422
|
return De[r];
|
|
4423
4423
|
case "ghost":
|
|
@@ -4426,16 +4426,16 @@ function Nt(e, r) {
|
|
|
4426
4426
|
return "";
|
|
4427
4427
|
}
|
|
4428
4428
|
}
|
|
4429
|
-
function
|
|
4430
|
-
return o ? "" :
|
|
4429
|
+
function Gt(e, r, o) {
|
|
4430
|
+
return o ? "" : kt(Nt(e, r));
|
|
4431
4431
|
}
|
|
4432
4432
|
function Fs(e, r) {
|
|
4433
|
-
return e === "primary" && r !== "default" ? xt[r] :
|
|
4433
|
+
return e === "primary" && r !== "default" ? xt[r] : Mt(e);
|
|
4434
4434
|
}
|
|
4435
|
-
function
|
|
4436
|
-
return e === "primary" ? r === "default" ? S("converge-ripple-primary-fill") :
|
|
4435
|
+
function _s(e, r) {
|
|
4436
|
+
return e === "primary" ? r === "default" ? S("converge-ripple-primary-fill") : Ct[r] : Dt[r];
|
|
4437
4437
|
}
|
|
4438
|
-
const
|
|
4438
|
+
const Ht = {
|
|
4439
4439
|
small: "h-control-small",
|
|
4440
4440
|
base: "h-control-base",
|
|
4441
4441
|
mid: "h-control-mid",
|
|
@@ -4443,25 +4443,25 @@ const Gt = {
|
|
|
4443
4443
|
};
|
|
4444
4444
|
function Os(e, r = le[e].minWButton) {
|
|
4445
4445
|
const o = le[e];
|
|
4446
|
-
return
|
|
4446
|
+
return y(r, o.padX, o.padY);
|
|
4447
4447
|
}
|
|
4448
|
-
function
|
|
4448
|
+
function Is(e, r = !1) {
|
|
4449
4449
|
const o = le[e];
|
|
4450
|
-
return
|
|
4451
|
-
|
|
4450
|
+
return y(
|
|
4451
|
+
Ht[e],
|
|
4452
4452
|
r ? "min-w-fit" : o.minWButton,
|
|
4453
4453
|
o.padX,
|
|
4454
4454
|
o.padY
|
|
4455
4455
|
);
|
|
4456
4456
|
}
|
|
4457
|
-
function
|
|
4457
|
+
function Ls(e) {
|
|
4458
4458
|
const r = le[e];
|
|
4459
|
-
return
|
|
4459
|
+
return y(r.spinnerIcon, r.spinnerBorder);
|
|
4460
4460
|
}
|
|
4461
|
-
function
|
|
4461
|
+
function Rs() {
|
|
4462
4462
|
return "pointer-events-none absolute left-1/2 top-1/2 z-0 rounded-full";
|
|
4463
4463
|
}
|
|
4464
|
-
function
|
|
4464
|
+
function As() {
|
|
4465
4465
|
return "box-border inline-block rounded-full border-current border-t-transparent";
|
|
4466
4466
|
}
|
|
4467
4467
|
function zs({
|
|
@@ -4469,229 +4469,251 @@ function zs({
|
|
|
4469
4469
|
slotClass: r,
|
|
4470
4470
|
className: o
|
|
4471
4471
|
}) {
|
|
4472
|
-
return
|
|
4473
|
-
|
|
4472
|
+
return y(
|
|
4473
|
+
_t,
|
|
4474
4474
|
e && Ot,
|
|
4475
4475
|
r,
|
|
4476
4476
|
o
|
|
4477
4477
|
);
|
|
4478
4478
|
}
|
|
4479
|
-
function
|
|
4479
|
+
function Ps({
|
|
4480
4480
|
slotClass: e,
|
|
4481
4481
|
className: r,
|
|
4482
|
-
layoutClass: o
|
|
4482
|
+
layoutClass: o,
|
|
4483
|
+
cssHidden: n
|
|
4483
4484
|
}) {
|
|
4484
|
-
return
|
|
4485
|
-
|
|
4486
|
-
|
|
4487
|
-
|
|
4485
|
+
return y(
|
|
4486
|
+
It,
|
|
4487
|
+
n && $e,
|
|
4488
|
+
e,
|
|
4489
|
+
o,
|
|
4490
|
+
r
|
|
4491
|
+
);
|
|
4488
4492
|
}
|
|
4489
4493
|
function Ms(e, r) {
|
|
4490
|
-
return
|
|
4494
|
+
return y(Lt, Ft[e], r);
|
|
4491
4495
|
}
|
|
4492
4496
|
function Ns(e, r) {
|
|
4493
|
-
return
|
|
4497
|
+
return y(Rt, e, r);
|
|
4498
|
+
}
|
|
4499
|
+
function Bs(e, r, o) {
|
|
4500
|
+
return y(
|
|
4501
|
+
fr,
|
|
4502
|
+
o && $e,
|
|
4503
|
+
e,
|
|
4504
|
+
r
|
|
4505
|
+
);
|
|
4494
4506
|
}
|
|
4495
|
-
function
|
|
4496
|
-
return
|
|
4507
|
+
function Gs(e, r) {
|
|
4508
|
+
return y(
|
|
4509
|
+
fr,
|
|
4510
|
+
r && $e,
|
|
4511
|
+
At,
|
|
4512
|
+
e
|
|
4513
|
+
);
|
|
4497
4514
|
}
|
|
4498
|
-
function
|
|
4499
|
-
return
|
|
4515
|
+
function Hs(e, r) {
|
|
4516
|
+
return y(
|
|
4517
|
+
fr,
|
|
4518
|
+
r && $e,
|
|
4519
|
+
zt,
|
|
4520
|
+
e
|
|
4521
|
+
);
|
|
4500
4522
|
}
|
|
4501
|
-
function
|
|
4523
|
+
function $s() {
|
|
4502
4524
|
return "shrink-0";
|
|
4503
4525
|
}
|
|
4504
|
-
const
|
|
4526
|
+
const $t = {
|
|
4505
4527
|
default: S("converge-ripple-neutral"),
|
|
4506
4528
|
primary: S("converge-ripple-primary-fill"),
|
|
4507
4529
|
outline: S("converge-ripple-neutral"),
|
|
4508
4530
|
secondary: S("converge-ripple-neutral"),
|
|
4509
4531
|
ghost: S("converge-ripple-neutral"),
|
|
4510
4532
|
gloss: S("converge-ripple-neutral")
|
|
4511
|
-
},
|
|
4533
|
+
}, Wt = {
|
|
4512
4534
|
danger: S("converge-ripple-danger"),
|
|
4513
4535
|
success: S("converge-ripple-success"),
|
|
4514
4536
|
info: S("converge-ripple-info"),
|
|
4515
4537
|
warning: S("converge-ripple-warning")
|
|
4516
4538
|
};
|
|
4517
|
-
function
|
|
4518
|
-
return r !== "default" ?
|
|
4519
|
-
}
|
|
4520
|
-
function
|
|
4521
|
-
return e ?
|
|
4522
|
-
|
|
4523
|
-
|
|
4524
|
-
!n &&
|
|
4525
|
-
|
|
4539
|
+
function Ws(e, r = "default") {
|
|
4540
|
+
return r !== "default" ? Wt[r] : $t[e];
|
|
4541
|
+
}
|
|
4542
|
+
function Us(e, r, o, n, i) {
|
|
4543
|
+
return e ? y("gloss-btn", ho, Et[r]) : y(
|
|
4544
|
+
Pt(o, r),
|
|
4545
|
+
Bt(o, r),
|
|
4546
|
+
!n && dr,
|
|
4547
|
+
Gt(o, r, i)
|
|
4526
4548
|
);
|
|
4527
4549
|
}
|
|
4528
|
-
const
|
|
4550
|
+
const Vs = {
|
|
4529
4551
|
small: "small",
|
|
4530
4552
|
base: "base",
|
|
4531
4553
|
mid: "mid",
|
|
4532
4554
|
large: "large"
|
|
4533
|
-
},
|
|
4555
|
+
}, Ut = {
|
|
4534
4556
|
small: "h-control-small",
|
|
4535
4557
|
base: "h-control-base",
|
|
4536
4558
|
mid: "h-control-mid",
|
|
4537
4559
|
large: "h-control-large"
|
|
4538
4560
|
};
|
|
4539
|
-
function
|
|
4561
|
+
function Vt(e) {
|
|
4540
4562
|
const { padX: r, padY: o } = le[e];
|
|
4541
|
-
return
|
|
4563
|
+
return y(Ut[e], r, o);
|
|
4542
4564
|
}
|
|
4543
|
-
function
|
|
4565
|
+
function qt(e) {
|
|
4544
4566
|
if (e == null) return "";
|
|
4545
4567
|
const { orientation: r, position: o } = e;
|
|
4546
4568
|
return o === "only" ? "rounded-[inherit]" : r === "horizontal" ? o === "first" ? "rounded-l-[inherit] rounded-r-none" : o === "middle" ? "rounded-none" : "rounded-r-[inherit] rounded-l-none" : o === "first" ? "rounded-t-[inherit] rounded-b-none" : o === "middle" ? "rounded-none" : "rounded-b-[inherit] rounded-t-none";
|
|
4547
4569
|
}
|
|
4548
|
-
const
|
|
4549
|
-
function
|
|
4570
|
+
const qs = "min-h-0 min-w-0 self-stretch rounded-[inherit]";
|
|
4571
|
+
function js(e) {
|
|
4550
4572
|
if (e == null || e.position === "only") return "";
|
|
4551
4573
|
const { orientation: r, position: o } = e;
|
|
4552
4574
|
return r === "horizontal" ? o === "first" ? "" : "border-l-0" : o === "first" ? "" : "border-t-0";
|
|
4553
4575
|
}
|
|
4554
|
-
function
|
|
4555
|
-
return e == null ? "" :
|
|
4576
|
+
function jt(e) {
|
|
4577
|
+
return e == null ? "" : y(
|
|
4556
4578
|
"!border-0 [border:0!important] !shadow-none [box-shadow:none!important]",
|
|
4557
4579
|
"z-0 focus-visible:z-[2]"
|
|
4558
4580
|
);
|
|
4559
4581
|
}
|
|
4560
|
-
function
|
|
4561
|
-
return
|
|
4582
|
+
function Xt(e) {
|
|
4583
|
+
return y(
|
|
4562
4584
|
"relative inline-flex shrink-0 select-none items-center justify-center border-token bg-surface text-muted",
|
|
4563
|
-
|
|
4564
|
-
e != null &&
|
|
4585
|
+
qt(e),
|
|
4586
|
+
e != null && jt(e),
|
|
4565
4587
|
"z-0"
|
|
4566
4588
|
);
|
|
4567
4589
|
}
|
|
4568
|
-
function
|
|
4590
|
+
function Xs({
|
|
4569
4591
|
orientation: e,
|
|
4570
4592
|
segmented: r,
|
|
4571
4593
|
variant: o,
|
|
4572
4594
|
className: n
|
|
4573
4595
|
}) {
|
|
4574
|
-
return
|
|
4596
|
+
return y(
|
|
4575
4597
|
"inline-flex text-left w-fit",
|
|
4576
|
-
!r &&
|
|
4598
|
+
!r && y(
|
|
4577
4599
|
// Frame lives on ::after (keeps separators / focus paint clean). Radius +
|
|
4578
4600
|
// border-color come from the root so `rounded-*` / `border-primary` on
|
|
4579
4601
|
// classNames.root retarget the visible frame without `after:*` overrides.
|
|
4580
4602
|
"relative rounded-base border-border",
|
|
4581
4603
|
o === "gloss" ? "gloss-panel gloss-deep border-0 text-foreground" : "after:pointer-events-none after:absolute after:inset-0 after:rounded-[inherit] after:border-solid after:[border-width:var(--border-width,1px)] after:border-inherit after:content-['']"
|
|
4582
4604
|
),
|
|
4583
|
-
|
|
4605
|
+
y(e === "horizontal" ? "flex-row flex-nowrap items-stretch" : "flex-col flex-nowrap items-stretch", r && "gap-xsmall"),
|
|
4584
4606
|
n
|
|
4585
4607
|
);
|
|
4586
4608
|
}
|
|
4587
|
-
function
|
|
4588
|
-
return
|
|
4609
|
+
function Ys(e, r) {
|
|
4610
|
+
return y(
|
|
4589
4611
|
"pointer-events-none shrink-0",
|
|
4590
4612
|
e === "horizontal" ? "my-[var(--border-width)] self-stretch border-r-token" : "mx-[var(--border-width)] self-stretch border-b-token",
|
|
4591
4613
|
r
|
|
4592
4614
|
);
|
|
4593
4615
|
}
|
|
4594
|
-
function
|
|
4616
|
+
function Ks({
|
|
4595
4617
|
groupSegment: e,
|
|
4596
4618
|
groupVariant: r,
|
|
4597
4619
|
buttonSize: o,
|
|
4598
4620
|
className: n
|
|
4599
4621
|
}) {
|
|
4600
|
-
return
|
|
4601
|
-
|
|
4622
|
+
return y(
|
|
4623
|
+
Xt(e),
|
|
4602
4624
|
r === "gloss" && "bg-transparent text-foreground",
|
|
4603
4625
|
"inline-flex items-center",
|
|
4604
|
-
|
|
4626
|
+
Vt(o),
|
|
4605
4627
|
n
|
|
4606
4628
|
);
|
|
4607
4629
|
}
|
|
4608
|
-
const
|
|
4630
|
+
const Zs = "max-w-component-xsmall truncate font-w-base whitespace-nowrap md:max-w-component-base", Yt = {
|
|
4609
4631
|
default: "bg-surface",
|
|
4610
4632
|
outline: "bg-transparent",
|
|
4611
4633
|
secondary: "bg-secondary"
|
|
4612
4634
|
};
|
|
4613
|
-
function
|
|
4635
|
+
function Kt(e) {
|
|
4614
4636
|
return e === "secondary" ? "secondary" : "default";
|
|
4615
4637
|
}
|
|
4616
|
-
function
|
|
4638
|
+
function Js(e) {
|
|
4617
4639
|
return e === "gloss" ? "gloss" : e === "outline" ? "outline" : e === "secondary" ? "secondary" : "default";
|
|
4618
4640
|
}
|
|
4619
|
-
function
|
|
4641
|
+
function Qs({
|
|
4620
4642
|
variant: e
|
|
4621
4643
|
}) {
|
|
4622
|
-
return e === "gloss" ? "gloss-control" : e === "outline" ? "bg-transparent border-token" :
|
|
4644
|
+
return e === "gloss" ? "gloss-control" : e === "outline" ? "bg-transparent border-token" : y(Yt[e], "border-token");
|
|
4623
4645
|
}
|
|
4624
|
-
function
|
|
4625
|
-
return e ?
|
|
4646
|
+
function ea(e, r = "default", o = "default") {
|
|
4647
|
+
return e ? wo(Kt(o), "focus-within") : "";
|
|
4626
4648
|
}
|
|
4627
|
-
const
|
|
4649
|
+
const ra = "field-shell-transition motion-reduce:transition-none", Zt = "focus-within-ring", Ce = "outline-solid outline-[length:var(--focus-ring-width,2px)] outline-offset-[length:var(--focus-ring-offset,0px)]", Fe = {
|
|
4628
4650
|
danger: "outline-[var(--color-focus-ring-danger)] focus-within:outline-[var(--color-focus-ring-danger)]",
|
|
4629
4651
|
success: "outline-[var(--color-focus-ring-success)] focus-within:outline-[var(--color-focus-ring-success)]",
|
|
4630
4652
|
info: "outline-[var(--color-focus-ring-info)] focus-within:outline-[var(--color-focus-ring-info)]",
|
|
4631
4653
|
warning: "outline-[var(--color-focus-ring-warning)] focus-within:outline-[var(--color-focus-ring-warning)]"
|
|
4632
|
-
},
|
|
4633
|
-
danger:
|
|
4634
|
-
success:
|
|
4635
|
-
info:
|
|
4636
|
-
warning:
|
|
4654
|
+
}, Jt = {
|
|
4655
|
+
danger: y(Ce, Fe.danger),
|
|
4656
|
+
success: y(Ce, Fe.success),
|
|
4657
|
+
info: y(Ce, Fe.info),
|
|
4658
|
+
warning: y(Ce, Fe.warning)
|
|
4637
4659
|
};
|
|
4638
|
-
function
|
|
4639
|
-
return e === "default" ?
|
|
4660
|
+
function oa(e = "default") {
|
|
4661
|
+
return e === "default" ? Zt : Jt[e];
|
|
4640
4662
|
}
|
|
4641
|
-
function
|
|
4642
|
-
const o =
|
|
4663
|
+
function na(e, r) {
|
|
4664
|
+
const o = ht(e, r);
|
|
4643
4665
|
return {
|
|
4644
4666
|
shellHoverMotionClass: o.motionClass,
|
|
4645
4667
|
onShellPointerEnter: o.onPointerEnter,
|
|
4646
4668
|
onShellPointerLeave: o.onPointerLeave
|
|
4647
4669
|
};
|
|
4648
4670
|
}
|
|
4649
|
-
function
|
|
4671
|
+
function ta(e) {
|
|
4650
4672
|
const r = le[e];
|
|
4651
|
-
return
|
|
4673
|
+
return y(
|
|
4652
4674
|
"flex self-stretch shrink-0 items-center text-muted",
|
|
4653
4675
|
r.affixPadX,
|
|
4654
4676
|
r.affixText
|
|
4655
4677
|
);
|
|
4656
4678
|
}
|
|
4657
|
-
const
|
|
4679
|
+
const Qt = {
|
|
4658
4680
|
small: "min-w-control-small",
|
|
4659
4681
|
base: "min-w-control-base",
|
|
4660
4682
|
mid: "min-w-control-mid",
|
|
4661
4683
|
large: "min-w-control-large"
|
|
4662
4684
|
};
|
|
4663
|
-
function
|
|
4664
|
-
return
|
|
4685
|
+
function ia(e) {
|
|
4686
|
+
return Qt[e];
|
|
4665
4687
|
}
|
|
4666
|
-
const
|
|
4688
|
+
const ei = {
|
|
4667
4689
|
small: "--control-height-small",
|
|
4668
4690
|
base: "--control-height-base",
|
|
4669
4691
|
mid: "--control-height-mid",
|
|
4670
4692
|
large: "--control-height-large"
|
|
4671
|
-
},
|
|
4693
|
+
}, ri = {
|
|
4672
4694
|
small: 1.75,
|
|
4673
4695
|
base: 2.2,
|
|
4674
4696
|
mid: 2.5,
|
|
4675
4697
|
large: 3
|
|
4676
|
-
},
|
|
4677
|
-
function
|
|
4698
|
+
}, Br = /* @__PURE__ */ new Map();
|
|
4699
|
+
function oi(e) {
|
|
4678
4700
|
if (typeof document > "u") return null;
|
|
4679
|
-
const r =
|
|
4701
|
+
const r = Br.get(e);
|
|
4680
4702
|
if (r != null) return r;
|
|
4681
4703
|
try {
|
|
4682
4704
|
const o = document.createElement("div");
|
|
4683
|
-
o.style.position = "absolute", o.style.visibility = "hidden", o.style.height = `var(${
|
|
4705
|
+
o.style.position = "absolute", o.style.visibility = "hidden", o.style.height = `var(${ei[e]})`, document.body.appendChild(o);
|
|
4684
4706
|
const n = o.getBoundingClientRect().height;
|
|
4685
4707
|
if (document.body.removeChild(o), n > 0)
|
|
4686
|
-
return
|
|
4708
|
+
return Br.set(e, n), n;
|
|
4687
4709
|
} catch {
|
|
4688
4710
|
}
|
|
4689
4711
|
return null;
|
|
4690
4712
|
}
|
|
4691
|
-
function
|
|
4692
|
-
return
|
|
4713
|
+
function sa(e, r = 16) {
|
|
4714
|
+
return oi(e) ?? r * ri[e];
|
|
4693
4715
|
}
|
|
4694
|
-
const
|
|
4716
|
+
const ni = {
|
|
4695
4717
|
convergeRipplePrimaryFill: "color-mix(in oklab, var(--color-primary-foreground) 38%, transparent)",
|
|
4696
4718
|
convergeRippleNeutral: "var(--color-primary-tint-strong)",
|
|
4697
4719
|
convergeRippleNeutralMuted: "color-mix(in oklab, var(--color-primary) 14%, transparent)",
|
|
@@ -4699,7 +4721,7 @@ const oi = {
|
|
|
4699
4721
|
convergeRippleSuccess: "color-mix(in oklab, var(--color-success-foreground) 38%, transparent)",
|
|
4700
4722
|
convergeRippleInfo: "color-mix(in oklab, var(--color-info-foreground) 38%, transparent)",
|
|
4701
4723
|
convergeRippleWarning: "color-mix(in oklab, var(--color-warning-foreground) 38%, transparent)"
|
|
4702
|
-
},
|
|
4724
|
+
}, ti = {
|
|
4703
4725
|
convergeRipplePrimaryFill: "color-mix(in oklab, var(--color-primary-foreground) 52%, var(--color-primary))",
|
|
4704
4726
|
convergeRippleNeutral: "var(--color-primary-tint-strong)",
|
|
4705
4727
|
convergeRippleNeutralMuted: "color-mix(in oklab, var(--color-primary) 14%, transparent)",
|
|
@@ -4707,7 +4729,7 @@ const oi = {
|
|
|
4707
4729
|
convergeRippleSuccess: "color-mix(in oklab, var(--color-success-foreground) 38%, transparent)",
|
|
4708
4730
|
convergeRippleInfo: "color-mix(in oklab, var(--color-info-foreground) 38%, transparent)",
|
|
4709
4731
|
convergeRippleWarning: "color-mix(in oklab, var(--color-warning-foreground) 38%, transparent)"
|
|
4710
|
-
},
|
|
4732
|
+
}, ii = {
|
|
4711
4733
|
background: "#0c0d10",
|
|
4712
4734
|
surface: "#171717",
|
|
4713
4735
|
secondary: "color-mix(in oklab, var(--color-foreground) 12%, var(--color-surface))",
|
|
@@ -4754,8 +4776,8 @@ const oi = {
|
|
|
4754
4776
|
surfaceTintWarning: "color-mix(in oklab, var(--color-warning) 15%, transparent)",
|
|
4755
4777
|
surfaceTintWarningHover: "color-mix(in oklab, var(--color-warning) 25%, transparent)",
|
|
4756
4778
|
warningFillHover: "color-mix(in oklab, var(--color-warning) 80%, transparent)",
|
|
4757
|
-
...
|
|
4758
|
-
},
|
|
4779
|
+
...ni
|
|
4780
|
+
}, si = {
|
|
4759
4781
|
background: "#f5f5f5",
|
|
4760
4782
|
surface: "#ffffff",
|
|
4761
4783
|
secondary: "color-mix(in oklab, var(--color-foreground) 12%, var(--color-surface))",
|
|
@@ -4802,8 +4824,8 @@ const oi = {
|
|
|
4802
4824
|
surfaceTintWarning: "color-mix(in oklab, var(--color-warning) 15%, transparent)",
|
|
4803
4825
|
surfaceTintWarningHover: "color-mix(in oklab, var(--color-warning) 25%, transparent)",
|
|
4804
4826
|
warningFillHover: "color-mix(in oklab, var(--color-warning) 80%, transparent)",
|
|
4805
|
-
...
|
|
4806
|
-
},
|
|
4827
|
+
...ti
|
|
4828
|
+
}, gr = {
|
|
4807
4829
|
background: "--color-background",
|
|
4808
4830
|
surface: "--color-surface",
|
|
4809
4831
|
secondary: "--color-secondary",
|
|
@@ -4857,7 +4879,7 @@ const oi = {
|
|
|
4857
4879
|
convergeRippleSuccess: "--color-converge-ripple-success",
|
|
4858
4880
|
convergeRippleInfo: "--color-converge-ripple-info",
|
|
4859
4881
|
convergeRippleWarning: "--color-converge-ripple-warning"
|
|
4860
|
-
},
|
|
4882
|
+
}, ai = {
|
|
4861
4883
|
space: 0.5,
|
|
4862
4884
|
size: 1,
|
|
4863
4885
|
radius: 0.5,
|
|
@@ -4869,39 +4891,39 @@ const oi = {
|
|
|
4869
4891
|
shadowSize: 1,
|
|
4870
4892
|
toastScrimSize: 1,
|
|
4871
4893
|
toastScrimDensity: 1
|
|
4872
|
-
},
|
|
4873
|
-
const { pressSqueezeScale: e, ...r } =
|
|
4894
|
+
}, li = (() => {
|
|
4895
|
+
const { pressSqueezeScale: e, ...r } = sr;
|
|
4874
4896
|
return {
|
|
4875
4897
|
...r,
|
|
4876
4898
|
pressSqueezeMid: e[1]
|
|
4877
4899
|
};
|
|
4878
|
-
})(),
|
|
4900
|
+
})(), ci = W.fontFamilySans, ui = W.fontFamilyMono, di = 0.9375, fi = 0.875, gi = 0.25;
|
|
4879
4901
|
function ge(e) {
|
|
4880
4902
|
const r = Math.round(e * 1e8) / 1e8;
|
|
4881
4903
|
return String(r);
|
|
4882
4904
|
}
|
|
4883
4905
|
function ae(e) {
|
|
4884
4906
|
if (e === 0) return "0rem";
|
|
4885
|
-
const r = ge(e *
|
|
4907
|
+
const r = ge(e * di), o = ge(e * fi), n = ge(e * gi), i = ge(e);
|
|
4886
4908
|
return `clamp(${r}rem, ${o}rem + ${n}vw, ${i}rem)`;
|
|
4887
4909
|
}
|
|
4888
|
-
function
|
|
4910
|
+
function _e(e) {
|
|
4889
4911
|
return e === 0 ? "0" : `calc(${e}px * var(--shadow-size))`;
|
|
4890
4912
|
}
|
|
4891
|
-
function
|
|
4892
|
-
return `${
|
|
4913
|
+
function mi(e, r, o, n, i) {
|
|
4914
|
+
return `${_e(e)} ${_e(r)} ${_e(o)} ${_e(n)} rgb(0 0 0 / ${ge(i)})`;
|
|
4893
4915
|
}
|
|
4894
4916
|
function $(e, r, o) {
|
|
4895
|
-
const n =
|
|
4896
|
-
return
|
|
4917
|
+
const n = _n[r][e] * o, [i, t, s, a] = On[e][0];
|
|
4918
|
+
return mi(i, t, s, a, n);
|
|
4897
4919
|
}
|
|
4898
|
-
function
|
|
4920
|
+
function pi(e, r, o, n) {
|
|
4899
4921
|
e.style.setProperty("--shadow-size", String(n)), e.style.setProperty("--shadow-none", $("base", r, 0)), e.style.setProperty("--shadow-base", $("base", r, o)), e.style.setProperty("--shadow-mid", $("mid", r, o)), e.style.setProperty("--shadow-large", $("large", r, o));
|
|
4900
4922
|
}
|
|
4901
|
-
function
|
|
4923
|
+
function bi(e) {
|
|
4902
4924
|
e.style.removeProperty("--shadow-size"), e.style.removeProperty("--shadow-none"), e.style.removeProperty("--shadow-base"), e.style.removeProperty("--shadow-mid"), e.style.removeProperty("--shadow-large");
|
|
4903
4925
|
}
|
|
4904
|
-
function
|
|
4926
|
+
function hi(e, r) {
|
|
4905
4927
|
for (const o of Object.keys(ce)) {
|
|
4906
4928
|
const { size: n, line: i } = ce[o], t = n * r, s = i * r;
|
|
4907
4929
|
e.style.setProperty(`--text-scale-${o}`, `${t}rem`), e.style.setProperty(
|
|
@@ -4910,30 +4932,30 @@ function bi(e, r) {
|
|
|
4910
4932
|
);
|
|
4911
4933
|
}
|
|
4912
4934
|
}
|
|
4913
|
-
function
|
|
4935
|
+
function vi(e) {
|
|
4914
4936
|
for (const r of Object.keys(ce))
|
|
4915
4937
|
e.style.removeProperty(`--text-scale-${r}`), e.style.removeProperty(`--text-scale-${r}--line-height`);
|
|
4916
4938
|
}
|
|
4917
|
-
function
|
|
4918
|
-
for (const [n, i] of Object.entries(
|
|
4939
|
+
function yi(e, r, o) {
|
|
4940
|
+
for (const [n, i] of Object.entries(ar))
|
|
4919
4941
|
L(e, i, r[n] !== o[n] ? String(r[n]) : null);
|
|
4920
4942
|
}
|
|
4921
4943
|
function L(e, r, o) {
|
|
4922
4944
|
o === null ? e.style.removeProperty(r) : e.style.setProperty(r, o);
|
|
4923
4945
|
}
|
|
4924
|
-
function
|
|
4946
|
+
function ze(e) {
|
|
4925
4947
|
return e === 0 ? "0px" : `${e}px`;
|
|
4926
4948
|
}
|
|
4927
|
-
function
|
|
4949
|
+
function To() {
|
|
4928
4950
|
return {
|
|
4929
|
-
dark: { ...
|
|
4930
|
-
light: { ...
|
|
4951
|
+
dark: { ...ii },
|
|
4952
|
+
light: { ...si }
|
|
4931
4953
|
};
|
|
4932
4954
|
}
|
|
4933
|
-
function
|
|
4955
|
+
function mr(e) {
|
|
4934
4956
|
var n, i;
|
|
4935
4957
|
if ((n = e.modePalettes) != null && n.dark && ((i = e.modePalettes) != null && i.light)) return e;
|
|
4936
|
-
const r =
|
|
4958
|
+
const r = To(), o = { ...e.colors };
|
|
4937
4959
|
return {
|
|
4938
4960
|
...e,
|
|
4939
4961
|
modePalettes: {
|
|
@@ -4942,16 +4964,16 @@ function gr(e) {
|
|
|
4942
4964
|
}
|
|
4943
4965
|
};
|
|
4944
4966
|
}
|
|
4945
|
-
function
|
|
4946
|
-
const o =
|
|
4967
|
+
function aa(e, r) {
|
|
4968
|
+
const o = mr(e), n = o.modePalettes[r];
|
|
4947
4969
|
return {
|
|
4948
4970
|
...o,
|
|
4949
4971
|
theme: r,
|
|
4950
4972
|
colors: { ...n }
|
|
4951
4973
|
};
|
|
4952
4974
|
}
|
|
4953
|
-
function
|
|
4954
|
-
const n =
|
|
4975
|
+
function la(e, r, o) {
|
|
4976
|
+
const n = mr(e), i = { ...n.colors, [r]: o };
|
|
4955
4977
|
return {
|
|
4956
4978
|
...n,
|
|
4957
4979
|
colors: i,
|
|
@@ -4962,14 +4984,14 @@ function aa(e, r, o) {
|
|
|
4962
4984
|
};
|
|
4963
4985
|
}
|
|
4964
4986
|
function be(e = "dark") {
|
|
4965
|
-
const r =
|
|
4987
|
+
const r = To(), o = r[e];
|
|
4966
4988
|
return {
|
|
4967
4989
|
theme: e,
|
|
4968
|
-
...si,
|
|
4969
4990
|
...ai,
|
|
4970
|
-
|
|
4971
|
-
|
|
4972
|
-
|
|
4991
|
+
...li,
|
|
4992
|
+
fontFamily: ci,
|
|
4993
|
+
fontFamilyMono: ui,
|
|
4994
|
+
fontWeights: { ...jn },
|
|
4973
4995
|
colors: { ...o },
|
|
4974
4996
|
modePalettes: r
|
|
4975
4997
|
};
|
|
@@ -4984,7 +5006,7 @@ const xi = [
|
|
|
4984
5006
|
"--motion-surface-duration",
|
|
4985
5007
|
"--font-family-sans",
|
|
4986
5008
|
"--font-family-mono",
|
|
4987
|
-
...Object.values(
|
|
5009
|
+
...Object.values(ar),
|
|
4988
5010
|
"--shadow-size",
|
|
4989
5011
|
"--shadow-none",
|
|
4990
5012
|
"--shadow-base",
|
|
@@ -4996,17 +5018,17 @@ const xi = [
|
|
|
4996
5018
|
`--text-scale-${e}`,
|
|
4997
5019
|
`--text-scale-${e}--line-height`
|
|
4998
5020
|
]),
|
|
4999
|
-
...Object.values(
|
|
5021
|
+
...Object.values(gr)
|
|
5000
5022
|
];
|
|
5001
|
-
function
|
|
5023
|
+
function ca(e) {
|
|
5002
5024
|
if (typeof document > "u") return;
|
|
5003
5025
|
const r = e ?? document.documentElement;
|
|
5004
5026
|
for (const o of xi)
|
|
5005
5027
|
r.style.removeProperty(o);
|
|
5006
5028
|
delete r.dataset.theme;
|
|
5007
5029
|
}
|
|
5008
|
-
let
|
|
5009
|
-
function
|
|
5030
|
+
let Gr = "";
|
|
5031
|
+
function wi(e, r) {
|
|
5010
5032
|
const o = JSON.stringify({
|
|
5011
5033
|
interactiveDuration: e.interactiveDuration,
|
|
5012
5034
|
interactiveEase: e.interactiveEase,
|
|
@@ -5057,7 +5079,7 @@ function yi(e, r) {
|
|
|
5057
5079
|
enablePaginationFlip: e.enablePaginationFlip,
|
|
5058
5080
|
enableSelectionFill: e.enableSelectionFill
|
|
5059
5081
|
});
|
|
5060
|
-
o !==
|
|
5082
|
+
o !== Gr && (Gr = o, Gn({
|
|
5061
5083
|
interactiveDuration: e.interactiveDuration,
|
|
5062
5084
|
interactiveEase: e.interactiveEase,
|
|
5063
5085
|
hoverLiftEase: e.hoverLiftEase,
|
|
@@ -5106,11 +5128,11 @@ function yi(e, r) {
|
|
|
5106
5128
|
enableTabsIndicator: e.enableTabsIndicator,
|
|
5107
5129
|
enablePaginationFlip: e.enablePaginationFlip,
|
|
5108
5130
|
enableSelectionFill: e.enableSelectionFill
|
|
5109
|
-
}),
|
|
5131
|
+
}), lo(r, {
|
|
5110
5132
|
surfaceTransitionDuration: e.surfaceTransitionDuration
|
|
5111
5133
|
}));
|
|
5112
5134
|
}
|
|
5113
|
-
function
|
|
5135
|
+
function Si(e, r) {
|
|
5114
5136
|
if (typeof document > "u") return;
|
|
5115
5137
|
const o = r ?? document.documentElement, n = be(e.theme);
|
|
5116
5138
|
e.theme === "light" ? o.dataset.theme = "light" : delete o.dataset.theme, L(
|
|
@@ -5128,11 +5150,11 @@ function wi(e, r) {
|
|
|
5128
5150
|
), L(
|
|
5129
5151
|
o,
|
|
5130
5152
|
"--border-width",
|
|
5131
|
-
e.borderWidth !== n.borderWidth ?
|
|
5153
|
+
e.borderWidth !== n.borderWidth ? ze(e.borderWidth) : null
|
|
5132
5154
|
), L(
|
|
5133
5155
|
o,
|
|
5134
5156
|
"--focus-ring-width",
|
|
5135
|
-
e.focusRingWidth !== n.focusRingWidth ?
|
|
5157
|
+
e.focusRingWidth !== n.focusRingWidth ? ze(e.focusRingWidth) : null
|
|
5136
5158
|
), L(
|
|
5137
5159
|
o,
|
|
5138
5160
|
"--focus-ring-offset",
|
|
@@ -5145,7 +5167,7 @@ function wi(e, r) {
|
|
|
5145
5167
|
o,
|
|
5146
5168
|
"--font-family-mono",
|
|
5147
5169
|
e.fontFamilyMono !== n.fontFamilyMono ? e.fontFamilyMono : null
|
|
5148
|
-
),
|
|
5170
|
+
), yi(o, e.fontWeights, n.fontWeights), wi(e, o), e.textScale !== n.textScale ? hi(o, e.textScale) : vi(o), e.shadowStrength !== n.shadowStrength || e.shadowSize !== n.shadowSize ? pi(o, e.theme, e.shadowStrength, e.shadowSize) : bi(o), L(
|
|
5149
5171
|
o,
|
|
5150
5172
|
"--toast-scrim-size",
|
|
5151
5173
|
e.toastScrimSize !== n.toastScrimSize ? String(e.toastScrimSize) : null
|
|
@@ -5154,17 +5176,17 @@ function wi(e, r) {
|
|
|
5154
5176
|
"--toast-scrim-density",
|
|
5155
5177
|
e.toastScrimDensity !== n.toastScrimDensity ? String(e.toastScrimDensity) : null
|
|
5156
5178
|
);
|
|
5157
|
-
for (const [i, t] of Object.entries(
|
|
5179
|
+
for (const [i, t] of Object.entries(gr))
|
|
5158
5180
|
L(
|
|
5159
5181
|
o,
|
|
5160
5182
|
t,
|
|
5161
5183
|
e.colors[i] !== n.colors[i] ? e.colors[i] : null
|
|
5162
5184
|
);
|
|
5163
5185
|
}
|
|
5164
|
-
function
|
|
5186
|
+
function Ti(e) {
|
|
5165
5187
|
const r = be(e.theme), o = [":root {"];
|
|
5166
|
-
e.space !== r.space && o.push(` --space: ${ae(e.space)};`), e.size !== r.size && o.push(` --size: ${ae(e.size)};`), e.radius !== r.radius && o.push(` --radius: ${ae(e.radius)};`), e.borderWidth !== r.borderWidth && o.push(` --border-width: ${
|
|
5167
|
-
for (const [n, i] of Object.entries(
|
|
5188
|
+
e.space !== r.space && o.push(` --space: ${ae(e.space)};`), e.size !== r.size && o.push(` --size: ${ae(e.size)};`), e.radius !== r.radius && o.push(` --radius: ${ae(e.radius)};`), e.borderWidth !== r.borderWidth && o.push(` --border-width: ${ze(e.borderWidth)};`), e.focusRingWidth !== r.focusRingWidth && o.push(` --focus-ring-width: ${ze(e.focusRingWidth)};`), e.focusRingOffset !== r.focusRingOffset && o.push(` --focus-ring-offset: ${e.focusRingOffset}px;`), e.fontFamily !== r.fontFamily && o.push(` --font-family-sans: ${e.fontFamily};`), e.fontFamilyMono !== r.fontFamilyMono && o.push(` --font-family-mono: ${e.fontFamilyMono};`);
|
|
5189
|
+
for (const [n, i] of Object.entries(ar))
|
|
5168
5190
|
e.fontWeights[n] !== r.fontWeights[n] && o.push(` ${i}: ${e.fontWeights[n]};`);
|
|
5169
5191
|
if ((e.shadowStrength !== r.shadowStrength || e.shadowSize !== r.shadowSize) && (o.push(` --shadow-size: ${e.shadowSize};`), o.push(` --shadow-none: ${$("base", e.theme, 0)};`), o.push(
|
|
5170
5192
|
` --shadow-base: ${$("base", e.theme, e.shadowStrength)};`
|
|
@@ -5179,18 +5201,18 @@ function Si(e) {
|
|
|
5179
5201
|
` --text-scale-${n}--line-height: calc(${a}rem / ${s}rem);`
|
|
5180
5202
|
);
|
|
5181
5203
|
}
|
|
5182
|
-
for (const [n, i] of Object.entries(
|
|
5204
|
+
for (const [n, i] of Object.entries(gr))
|
|
5183
5205
|
e.colors[n] !== r.colors[n] && o.push(` ${i}: ${e.colors[n]};`);
|
|
5184
5206
|
return o.length === 1 && o.push(" /* (no overrides vs kit defaults) */"), o.push("}"), e.theme === "light" && (o.push("", "/* Optional: light theme via data-attribute */"), o.push('/* <html data-theme="light"> */')), o.join(`
|
|
5185
5207
|
`);
|
|
5186
5208
|
}
|
|
5187
|
-
const
|
|
5188
|
-
function
|
|
5209
|
+
const ko = "burne-ui-theme";
|
|
5210
|
+
function Eo(e, r) {
|
|
5189
5211
|
var a;
|
|
5190
5212
|
const o = be(r), n = e.tokens ?? {}, i = (a = e.colors) == null ? void 0 : a[r], t = i ? { ...o.colors, ...i } : o.colors, s = n.shadowStrength ?? o.shadowStrength;
|
|
5191
5213
|
return {
|
|
5192
5214
|
...o,
|
|
5193
|
-
...
|
|
5215
|
+
...Co({
|
|
5194
5216
|
space: n.space,
|
|
5195
5217
|
size: n.size,
|
|
5196
5218
|
radius: n.radius,
|
|
@@ -5213,8 +5235,8 @@ function ko(e, r) {
|
|
|
5213
5235
|
}
|
|
5214
5236
|
};
|
|
5215
5237
|
}
|
|
5216
|
-
function
|
|
5217
|
-
const r =
|
|
5238
|
+
function ki(e) {
|
|
5239
|
+
const r = mr(e), o = {
|
|
5218
5240
|
interactiveDuration: r.interactiveDuration,
|
|
5219
5241
|
interactiveEase: r.interactiveEase,
|
|
5220
5242
|
hoverLiftEase: r.hoverLiftEase,
|
|
@@ -5290,25 +5312,25 @@ function Ti(e) {
|
|
|
5290
5312
|
toast: !0
|
|
5291
5313
|
};
|
|
5292
5314
|
}
|
|
5293
|
-
function
|
|
5315
|
+
function Ei(e, r) {
|
|
5294
5316
|
var n;
|
|
5295
5317
|
if (typeof e == "string" || typeof e == "number" || typeof e == "boolean")
|
|
5296
5318
|
return { value: e };
|
|
5297
5319
|
const o = ((n = e.values) == null ? void 0 : n[r]) ?? e.value;
|
|
5298
5320
|
return o === void 0 ? null : { value: o, unit: e.unit };
|
|
5299
5321
|
}
|
|
5300
|
-
function
|
|
5322
|
+
function Do(e, r) {
|
|
5301
5323
|
const o = {};
|
|
5302
5324
|
if (!e) return o;
|
|
5303
5325
|
for (const [n, i] of Object.entries(e)) {
|
|
5304
|
-
const t =
|
|
5326
|
+
const t = Ei(i, r);
|
|
5305
5327
|
t && (o[n] = typeof t.value == "number" && t.unit ? `${t.value}${t.unit}` : String(t.value));
|
|
5306
5328
|
}
|
|
5307
5329
|
return o;
|
|
5308
5330
|
}
|
|
5309
5331
|
const Pe = /* @__PURE__ */ new WeakMap();
|
|
5310
|
-
function
|
|
5311
|
-
const n =
|
|
5332
|
+
function Di(e, r, o) {
|
|
5333
|
+
const n = Do(e, o), i = new Set(Object.keys(n)), t = Pe.get(r) ?? /* @__PURE__ */ new Map();
|
|
5312
5334
|
t.forEach((s, a) => {
|
|
5313
5335
|
i.has(a) || (s.value ? r.style.setProperty(a, s.value, s.priority) : r.style.removeProperty(a), t.delete(a));
|
|
5314
5336
|
});
|
|
@@ -5319,7 +5341,7 @@ function Ei(e, r, o) {
|
|
|
5319
5341
|
}), r.style.setProperty(s, a);
|
|
5320
5342
|
Pe.set(r, t);
|
|
5321
5343
|
}
|
|
5322
|
-
function
|
|
5344
|
+
function ua(e) {
|
|
5323
5345
|
var o;
|
|
5324
5346
|
if (typeof document > "u") return;
|
|
5325
5347
|
const r = e ?? document.documentElement;
|
|
@@ -5327,14 +5349,14 @@ function ca(e) {
|
|
|
5327
5349
|
n.value ? r.style.setProperty(i, n.value, n.priority) : r.style.removeProperty(i);
|
|
5328
5350
|
}), Pe.delete(r);
|
|
5329
5351
|
}
|
|
5330
|
-
function
|
|
5352
|
+
function Ci(e) {
|
|
5331
5353
|
return {
|
|
5332
|
-
...
|
|
5333
|
-
storageKey: (e == null ? void 0 : e.storageKey) === void 0 ?
|
|
5354
|
+
...ki(be((e == null ? void 0 : e.theme) ?? "dark")),
|
|
5355
|
+
storageKey: (e == null ? void 0 : e.storageKey) === void 0 ? ko : e.storageKey
|
|
5334
5356
|
};
|
|
5335
5357
|
}
|
|
5336
|
-
function
|
|
5337
|
-
const r = (e == null ? void 0 : e.exportName) ?? "burneTheme", o = Me(
|
|
5358
|
+
function da(e) {
|
|
5359
|
+
const r = (e == null ? void 0 : e.exportName) ?? "burneTheme", o = Me(Ci(), 0);
|
|
5338
5360
|
return [
|
|
5339
5361
|
"/**",
|
|
5340
5362
|
" * Burne UI theme config (starter snapshot).",
|
|
@@ -5356,11 +5378,11 @@ function ua(e) {
|
|
|
5356
5378
|
].join(`
|
|
5357
5379
|
`);
|
|
5358
5380
|
}
|
|
5359
|
-
function
|
|
5381
|
+
function fa(e, r = "dark") {
|
|
5360
5382
|
const o = be(r);
|
|
5361
5383
|
return e ? {
|
|
5362
5384
|
...o,
|
|
5363
|
-
...
|
|
5385
|
+
...Co({
|
|
5364
5386
|
space: e.space,
|
|
5365
5387
|
size: e.size,
|
|
5366
5388
|
radius: e.radius,
|
|
@@ -5378,29 +5400,29 @@ function da(e, r = "dark") {
|
|
|
5378
5400
|
fontWeights: e.fontWeights ? { ...o.fontWeights, ...e.fontWeights } : o.fontWeights
|
|
5379
5401
|
} : o;
|
|
5380
5402
|
}
|
|
5381
|
-
function
|
|
5403
|
+
function Co(e) {
|
|
5382
5404
|
const r = {};
|
|
5383
5405
|
for (const [o, n] of Object.entries(e))
|
|
5384
5406
|
n !== void 0 && (r[o] = n);
|
|
5385
5407
|
return r;
|
|
5386
5408
|
}
|
|
5387
|
-
function Fi(e, r, o =
|
|
5409
|
+
function Fi(e, r, o = pr(e.theme)) {
|
|
5388
5410
|
if (typeof document > "u") return;
|
|
5389
|
-
const n = r ?? document.documentElement, i =
|
|
5411
|
+
const n = r ?? document.documentElement, i = Eo(e, o);
|
|
5390
5412
|
if (e.motion) {
|
|
5391
5413
|
const t = e.motion;
|
|
5392
5414
|
t.interactiveDuration !== void 0 && (i.interactiveDuration = t.interactiveDuration), t.interactiveEase !== void 0 && (i.interactiveEase = t.interactiveEase), t.hoverLiftEase !== void 0 && (i.hoverLiftEase = t.hoverLiftEase), t.tooltipDuration !== void 0 && (i.tooltipDuration = t.tooltipDuration), t.modalDuration !== void 0 && (i.modalDuration = t.modalDuration), t.switchThumbDuration !== void 0 && (i.switchThumbDuration = t.switchThumbDuration), t.switchThumbEase !== void 0 && (i.switchThumbEase = t.switchThumbEase), t.selectionFillDuration !== void 0 && (i.selectionFillDuration = t.selectionFillDuration), t.selectionFillEase !== void 0 && (i.selectionFillEase = t.selectionFillEase), t.hoverLiftScale !== void 0 && (i.hoverLiftScale = t.hoverLiftScale), t.badgeAnchorHoverLiftScale !== void 0 && (i.badgeAnchorHoverLiftScale = t.badgeAnchorHoverLiftScale), t.pressSqueezeScale !== void 0 && (i.pressSqueezeMid = t.pressSqueezeScale[1]), t.pressSqueezeDurationFactor !== void 0 && (i.pressSqueezeDurationFactor = t.pressSqueezeDurationFactor), t.rippleDefaultDuration !== void 0 && (i.rippleDefaultDuration = t.rippleDefaultDuration), t.rippleDefaultOpacityFrom !== void 0 && (i.rippleDefaultOpacityFrom = t.rippleDefaultOpacityFrom), t.rippleExpandableDuration !== void 0 && (i.rippleExpandableDuration = t.rippleExpandableDuration), t.rippleExpandableOpacityFrom !== void 0 && (i.rippleExpandableOpacityFrom = t.rippleExpandableOpacityFrom), t.rippleEaseCss !== void 0 && (i.rippleEaseCss = t.rippleEaseCss), t.feedbackExpandDuration !== void 0 && (i.feedbackExpandDuration = t.feedbackExpandDuration), t.expandDuration !== void 0 && (i.expandDuration = t.expandDuration), t.expandOpenEase !== void 0 && (i.expandOpenEase = t.expandOpenEase), t.surfaceTransitionDuration !== void 0 && (i.surfaceTransitionDuration = t.surfaceTransitionDuration), t.toastDismissDuration !== void 0 && (i.toastDismissDuration = t.toastDismissDuration), t.toastDismissEase !== void 0 && (i.toastDismissEase = t.toastDismissEase), t.progressFillDuration !== void 0 && (i.progressFillDuration = t.progressFillDuration), t.progressFillEase !== void 0 && (i.progressFillEase = t.progressFillEase), t.progressIndeterminateDuration !== void 0 && (i.progressIndeterminateDuration = t.progressIndeterminateDuration), t.progressIndeterminateEase !== void 0 && (i.progressIndeterminateEase = t.progressIndeterminateEase), t.loadingDotsDuration !== void 0 && (i.loadingDotsDuration = t.loadingDotsDuration), t.loadingDotsEaseUp !== void 0 && (i.loadingDotsEaseUp = t.loadingDotsEaseUp), t.loadingDotsEaseDown !== void 0 && (i.loadingDotsEaseDown = t.loadingDotsEaseDown), t.enableAnimations !== void 0 && (i.enableAnimations = t.enableAnimations), t.enableHoverLift !== void 0 && (i.enableHoverLift = t.enableHoverLift), t.enablePressSqueeze !== void 0 && (i.enablePressSqueeze = t.enablePressSqueeze), t.enableToggleButtonFill !== void 0 && (i.enableToggleButtonFill = t.enableToggleButtonFill), t.enableRipple !== void 0 && (i.enableRipple = t.enableRipple), t.enableExpandable !== void 0 && (i.enableExpandable = t.enableExpandable), t.enableToastStack !== void 0 && (i.enableToastStack = t.enableToastStack), t.enableAsyncButtonCrossfade !== void 0 && (i.enableAsyncButtonCrossfade = t.enableAsyncButtonCrossfade), t.enableContentFade !== void 0 && (i.enableContentFade = t.enableContentFade), t.enableFeedbackExpand !== void 0 && (i.enableFeedbackExpand = t.enableFeedbackExpand), t.enableProgressFill !== void 0 && (i.enableProgressFill = t.enableProgressFill), t.enableLoadingDots !== void 0 && (i.enableLoadingDots = t.enableLoadingDots), t.enableModalMotion !== void 0 && (i.enableModalMotion = t.enableModalMotion), t.enableSwitchThumb !== void 0 && (i.enableSwitchThumb = t.enableSwitchThumb), t.enableTabsIndicator !== void 0 && (i.enableTabsIndicator = t.enableTabsIndicator), t.enablePaginationFlip !== void 0 && (i.enablePaginationFlip = t.enablePaginationFlip), t.enableSelectionFill !== void 0 && (i.enableSelectionFill = t.enableSelectionFill);
|
|
5393
5415
|
}
|
|
5394
|
-
|
|
5416
|
+
Si(i, n), Di(e.customTokens, n, o);
|
|
5395
5417
|
}
|
|
5396
|
-
function
|
|
5418
|
+
function pr(e = "system") {
|
|
5397
5419
|
return e === "light" || e === "dark" ? e : typeof window < "u" && window.matchMedia("(prefers-color-scheme: light)").matches ? "light" : "dark";
|
|
5398
5420
|
}
|
|
5399
|
-
function
|
|
5421
|
+
function ga(e, r, o = "dark") {
|
|
5400
5422
|
Fi({ theme: o, tokens: e }, r, o);
|
|
5401
5423
|
}
|
|
5402
|
-
function
|
|
5403
|
-
const r =
|
|
5424
|
+
function ma(e) {
|
|
5425
|
+
const r = pr(e.theme), o = Eo(e, r), n = Ti(o), i = Do(e.customTokens, r), t = Object.entries(i);
|
|
5404
5426
|
if (t.length === 0) return n;
|
|
5405
5427
|
const s = t.map(([a, d]) => ` ${a}: ${d};`).join(`
|
|
5406
5428
|
`);
|
|
@@ -5425,17 +5447,17 @@ ${o}]`;
|
|
|
5425
5447
|
);
|
|
5426
5448
|
return i.length === 0 ? "{}" : `{
|
|
5427
5449
|
${i.map(
|
|
5428
|
-
([s, a]) => `${n}${
|
|
5450
|
+
([s, a]) => `${n}${_i(s)}: ${Me(a, r + 1)}`
|
|
5429
5451
|
).join(`,
|
|
5430
5452
|
`)},
|
|
5431
5453
|
${o}}`;
|
|
5432
5454
|
}
|
|
5433
5455
|
return JSON.stringify(e);
|
|
5434
5456
|
}
|
|
5435
|
-
function
|
|
5457
|
+
function _i(e) {
|
|
5436
5458
|
return /^[A-Za-z_$][\w$]*$/.test(e) ? e : JSON.stringify(e);
|
|
5437
5459
|
}
|
|
5438
|
-
function
|
|
5460
|
+
function pa(e, r) {
|
|
5439
5461
|
const o = (r == null ? void 0 : r.exportName) ?? "burneTheme", n = Me(e, 0);
|
|
5440
5462
|
return [
|
|
5441
5463
|
"/**",
|
|
@@ -5459,7 +5481,7 @@ function ma(e, r) {
|
|
|
5459
5481
|
].join(`
|
|
5460
5482
|
`);
|
|
5461
5483
|
}
|
|
5462
|
-
const
|
|
5484
|
+
const br = Wr(null);
|
|
5463
5485
|
function Oi(e) {
|
|
5464
5486
|
if (!e || typeof window > "u") return null;
|
|
5465
5487
|
try {
|
|
@@ -5469,240 +5491,240 @@ function Oi(e) {
|
|
|
5469
5491
|
}
|
|
5470
5492
|
return null;
|
|
5471
5493
|
}
|
|
5472
|
-
function
|
|
5494
|
+
function Ii(e, r) {
|
|
5473
5495
|
if (!(!e || typeof window > "u"))
|
|
5474
5496
|
try {
|
|
5475
5497
|
window.localStorage.setItem(e, r);
|
|
5476
5498
|
} catch {
|
|
5477
5499
|
}
|
|
5478
5500
|
}
|
|
5479
|
-
function
|
|
5501
|
+
function Li(e, r) {
|
|
5480
5502
|
if (typeof document > "u") return;
|
|
5481
5503
|
const o = r ?? document.documentElement;
|
|
5482
5504
|
e === "light" ? o.dataset.theme = "light" : delete o.dataset.theme;
|
|
5483
5505
|
}
|
|
5484
|
-
function
|
|
5506
|
+
function ba({
|
|
5485
5507
|
children: e,
|
|
5486
5508
|
theme: r,
|
|
5487
5509
|
defaultTheme: o = "dark",
|
|
5488
|
-
storageKey: n =
|
|
5510
|
+
storageKey: n = ko,
|
|
5489
5511
|
root: i = null,
|
|
5490
5512
|
onThemeChange: t
|
|
5491
5513
|
}) {
|
|
5492
|
-
const [s, a] =
|
|
5493
|
-
(
|
|
5494
|
-
r === void 0 && a(
|
|
5514
|
+
const [s, a] = Je(() => Oi(n) ?? o), [d, c] = Je(0), p = r ?? s, m = J(() => pr(p), [p, d]), w = D(
|
|
5515
|
+
(x) => {
|
|
5516
|
+
r === void 0 && a(x), Ii(n, x), t == null || t(x);
|
|
5495
5517
|
},
|
|
5496
5518
|
[r, n, t]
|
|
5497
5519
|
);
|
|
5498
5520
|
Q(() => {
|
|
5499
|
-
const
|
|
5500
|
-
|
|
5501
|
-
}, [m, i]),
|
|
5521
|
+
const x = i ?? (typeof document < "u" ? document.documentElement : null);
|
|
5522
|
+
x && Li(m, x);
|
|
5523
|
+
}, [m, i]), Hr(() => {
|
|
5502
5524
|
if (p !== "system" || typeof window > "u") return;
|
|
5503
|
-
const
|
|
5504
|
-
c((
|
|
5525
|
+
const x = window.matchMedia("(prefers-color-scheme: light)"), k = () => {
|
|
5526
|
+
c((_) => _ + 1);
|
|
5505
5527
|
};
|
|
5506
|
-
return
|
|
5528
|
+
return x.addEventListener("change", k), () => x.removeEventListener("change", k);
|
|
5507
5529
|
}, [p]);
|
|
5508
5530
|
const h = J(
|
|
5509
5531
|
() => ({ theme: p, resolvedTheme: m, setTheme: w }),
|
|
5510
5532
|
[p, m, w]
|
|
5511
5533
|
);
|
|
5512
|
-
return
|
|
5534
|
+
return $r(br.Provider, { value: h }, e);
|
|
5513
5535
|
}
|
|
5514
|
-
function
|
|
5515
|
-
const e = Ne(
|
|
5536
|
+
function ha() {
|
|
5537
|
+
const e = Ne(br);
|
|
5516
5538
|
if (!e)
|
|
5517
5539
|
throw new Error("useBurneTheme must be used within ThemeProvider or BurneUIProvider.");
|
|
5518
5540
|
return e;
|
|
5519
5541
|
}
|
|
5520
|
-
function
|
|
5521
|
-
return Ne(
|
|
5542
|
+
function va() {
|
|
5543
|
+
return Ne(br);
|
|
5522
5544
|
}
|
|
5523
|
-
const
|
|
5524
|
-
function
|
|
5545
|
+
const hr = Wr(null);
|
|
5546
|
+
function ya({
|
|
5525
5547
|
children: e,
|
|
5526
5548
|
value: r
|
|
5527
5549
|
}) {
|
|
5528
|
-
return
|
|
5550
|
+
return $r(hr.Provider, { value: r }, e);
|
|
5529
5551
|
}
|
|
5530
5552
|
function xa() {
|
|
5531
|
-
const e = Ne(
|
|
5553
|
+
const e = Ne(hr);
|
|
5532
5554
|
if (!e)
|
|
5533
5555
|
throw new Error("useBurneThemeRuntime must be used within BurneUIProvider.");
|
|
5534
5556
|
return e;
|
|
5535
5557
|
}
|
|
5536
|
-
function
|
|
5537
|
-
return Ne(
|
|
5558
|
+
function wa() {
|
|
5559
|
+
return Ne(hr);
|
|
5538
5560
|
}
|
|
5539
5561
|
export {
|
|
5540
|
-
|
|
5541
|
-
|
|
5542
|
-
|
|
5543
|
-
|
|
5544
|
-
|
|
5545
|
-
|
|
5546
|
-
|
|
5547
|
-
|
|
5548
|
-
|
|
5549
|
-
|
|
5550
|
-
|
|
5551
|
-
|
|
5552
|
-
|
|
5553
|
-
|
|
5562
|
+
bs as $,
|
|
5563
|
+
jt as A,
|
|
5564
|
+
Vt as B,
|
|
5565
|
+
gr as C,
|
|
5566
|
+
ii as D,
|
|
5567
|
+
Xt as E,
|
|
5568
|
+
Zt as F,
|
|
5569
|
+
Ws as G,
|
|
5570
|
+
Is as H,
|
|
5571
|
+
Ls as I,
|
|
5572
|
+
ua as J,
|
|
5573
|
+
ca as K,
|
|
5574
|
+
si as L,
|
|
5575
|
+
sr as M,
|
|
5554
5576
|
Os as N,
|
|
5555
|
-
|
|
5556
|
-
|
|
5557
|
-
|
|
5577
|
+
go as O,
|
|
5578
|
+
ts as P,
|
|
5579
|
+
Ci as Q,
|
|
5558
5580
|
be as R,
|
|
5559
|
-
|
|
5581
|
+
ai as S,
|
|
5560
5582
|
ce as T,
|
|
5561
|
-
|
|
5562
|
-
|
|
5563
|
-
|
|
5564
|
-
|
|
5565
|
-
|
|
5566
|
-
|
|
5567
|
-
|
|
5583
|
+
mr as U,
|
|
5584
|
+
Un as V,
|
|
5585
|
+
pa as W,
|
|
5586
|
+
ma as X,
|
|
5587
|
+
da as Y,
|
|
5588
|
+
Ti as Z,
|
|
5589
|
+
ea as _,
|
|
5568
5590
|
le as a,
|
|
5569
5591
|
ie as a$,
|
|
5570
5592
|
ae as a0,
|
|
5571
|
-
|
|
5572
|
-
|
|
5573
|
-
|
|
5574
|
-
|
|
5575
|
-
|
|
5593
|
+
lr as a1,
|
|
5594
|
+
fs as a2,
|
|
5595
|
+
z as a3,
|
|
5596
|
+
fa as a4,
|
|
5597
|
+
la as a5,
|
|
5576
5598
|
Be as a6,
|
|
5577
|
-
|
|
5578
|
-
|
|
5579
|
-
|
|
5580
|
-
|
|
5581
|
-
|
|
5599
|
+
sa as a7,
|
|
5600
|
+
ds as a8,
|
|
5601
|
+
Pr as a9,
|
|
5602
|
+
pt as aA,
|
|
5603
|
+
Ae as aB,
|
|
5582
5604
|
xs as aC,
|
|
5583
|
-
|
|
5584
|
-
|
|
5585
|
-
|
|
5586
|
-
|
|
5587
|
-
|
|
5588
|
-
|
|
5589
|
-
|
|
5590
|
-
|
|
5605
|
+
Vi as aD,
|
|
5606
|
+
Hs as aE,
|
|
5607
|
+
Gs as aF,
|
|
5608
|
+
Bs as aG,
|
|
5609
|
+
Ss as aH,
|
|
5610
|
+
Ns as aI,
|
|
5611
|
+
Ms as aJ,
|
|
5612
|
+
Ps as aK,
|
|
5591
5613
|
zs as aL,
|
|
5592
|
-
|
|
5593
|
-
|
|
5594
|
-
|
|
5614
|
+
$s as aM,
|
|
5615
|
+
As as aN,
|
|
5616
|
+
Es as aO,
|
|
5595
5617
|
U as aP,
|
|
5596
|
-
|
|
5597
|
-
|
|
5598
|
-
|
|
5599
|
-
|
|
5600
|
-
|
|
5601
|
-
|
|
5602
|
-
|
|
5603
|
-
|
|
5604
|
-
|
|
5618
|
+
fo as aQ,
|
|
5619
|
+
Ji as aR,
|
|
5620
|
+
Rs as aS,
|
|
5621
|
+
ks as aT,
|
|
5622
|
+
Ds as aU,
|
|
5623
|
+
Cs as aV,
|
|
5624
|
+
Us as aW,
|
|
5625
|
+
ws as aX,
|
|
5626
|
+
Ts as aY,
|
|
5605
5627
|
Fs as aZ,
|
|
5606
|
-
|
|
5607
|
-
|
|
5608
|
-
|
|
5609
|
-
|
|
5628
|
+
_s as a_,
|
|
5629
|
+
Do as aa,
|
|
5630
|
+
pr as ab,
|
|
5631
|
+
Eo as ac,
|
|
5610
5632
|
xo as ad,
|
|
5611
5633
|
pe as ae,
|
|
5612
5634
|
He as af,
|
|
5613
|
-
|
|
5614
|
-
|
|
5615
|
-
|
|
5635
|
+
us as ag,
|
|
5636
|
+
Zn as ah,
|
|
5637
|
+
nr as ai,
|
|
5616
5638
|
P as aj,
|
|
5617
|
-
|
|
5639
|
+
ki as ak,
|
|
5618
5640
|
xa as al,
|
|
5619
|
-
|
|
5620
|
-
|
|
5621
|
-
|
|
5622
|
-
|
|
5623
|
-
|
|
5624
|
-
|
|
5625
|
-
|
|
5626
|
-
|
|
5627
|
-
|
|
5641
|
+
wa as am,
|
|
5642
|
+
po as an,
|
|
5643
|
+
is as ao,
|
|
5644
|
+
na as ap,
|
|
5645
|
+
tt as aq,
|
|
5646
|
+
hs as ar,
|
|
5647
|
+
Hi as as,
|
|
5648
|
+
ht as at,
|
|
5649
|
+
vs as au,
|
|
5628
5650
|
S as av,
|
|
5629
|
-
|
|
5651
|
+
y as aw,
|
|
5630
5652
|
G as ax,
|
|
5631
5653
|
Ge as ay,
|
|
5632
|
-
|
|
5633
|
-
|
|
5634
|
-
|
|
5635
|
-
|
|
5636
|
-
|
|
5637
|
-
|
|
5654
|
+
yo as az,
|
|
5655
|
+
ns as b,
|
|
5656
|
+
kt as b0,
|
|
5657
|
+
ho as b1,
|
|
5658
|
+
Ki as b2,
|
|
5659
|
+
ms as b3,
|
|
5638
5660
|
De as b4,
|
|
5639
|
-
|
|
5640
|
-
|
|
5641
|
-
|
|
5642
|
-
|
|
5643
|
-
|
|
5644
|
-
|
|
5645
|
-
|
|
5646
|
-
|
|
5647
|
-
|
|
5648
|
-
|
|
5649
|
-
|
|
5650
|
-
|
|
5651
|
-
|
|
5652
|
-
|
|
5653
|
-
|
|
5654
|
-
|
|
5655
|
-
|
|
5656
|
-
|
|
5657
|
-
|
|
5658
|
-
|
|
5659
|
-
|
|
5660
|
-
|
|
5661
|
-
|
|
5662
|
-
|
|
5663
|
-
|
|
5664
|
-
|
|
5665
|
-
|
|
5666
|
-
|
|
5667
|
-
|
|
5668
|
-
|
|
5669
|
-
|
|
5670
|
-
|
|
5671
|
-
|
|
5672
|
-
|
|
5673
|
-
|
|
5674
|
-
|
|
5675
|
-
|
|
5676
|
-
|
|
5677
|
-
|
|
5678
|
-
|
|
5679
|
-
|
|
5680
|
-
|
|
5681
|
-
|
|
5682
|
-
|
|
5683
|
-
|
|
5684
|
-
|
|
5685
|
-
|
|
5686
|
-
|
|
5687
|
-
|
|
5688
|
-
|
|
5689
|
-
|
|
5690
|
-
|
|
5661
|
+
bt as b5,
|
|
5662
|
+
ji as b6,
|
|
5663
|
+
St as b7,
|
|
5664
|
+
Xi as b8,
|
|
5665
|
+
oa as b9,
|
|
5666
|
+
ya as bA,
|
|
5667
|
+
Xn as bB,
|
|
5668
|
+
io as bC,
|
|
5669
|
+
mo as bD,
|
|
5670
|
+
ls as bE,
|
|
5671
|
+
ss as bF,
|
|
5672
|
+
Mi as bG,
|
|
5673
|
+
Gn as bH,
|
|
5674
|
+
cs as bI,
|
|
5675
|
+
as as bJ,
|
|
5676
|
+
Ui as bK,
|
|
5677
|
+
Bi as bL,
|
|
5678
|
+
Gi as bM,
|
|
5679
|
+
va as bN,
|
|
5680
|
+
Qs as ba,
|
|
5681
|
+
ps as bb,
|
|
5682
|
+
Js as bc,
|
|
5683
|
+
qs as bd,
|
|
5684
|
+
ys as be,
|
|
5685
|
+
Yt as bf,
|
|
5686
|
+
Xs as bg,
|
|
5687
|
+
Ys as bh,
|
|
5688
|
+
Vs as bi,
|
|
5689
|
+
Zs as bj,
|
|
5690
|
+
Ks as bk,
|
|
5691
|
+
qi as bl,
|
|
5692
|
+
$i as bm,
|
|
5693
|
+
Wi as bn,
|
|
5694
|
+
os as bo,
|
|
5695
|
+
rs as bp,
|
|
5696
|
+
Yi as bq,
|
|
5697
|
+
Qi as br,
|
|
5698
|
+
es as bs,
|
|
5699
|
+
Zi as bt,
|
|
5700
|
+
wt as bu,
|
|
5701
|
+
yt as bv,
|
|
5702
|
+
vt as bw,
|
|
5703
|
+
ko as bx,
|
|
5704
|
+
ba as by,
|
|
5705
|
+
ha as bz,
|
|
5706
|
+
ci as c,
|
|
5707
|
+
ui as d,
|
|
5708
|
+
ra as e,
|
|
5709
|
+
ar as f,
|
|
5710
|
+
jn as g,
|
|
5711
|
+
Bn as h,
|
|
5712
|
+
li as i,
|
|
5691
5713
|
On as j,
|
|
5692
|
-
|
|
5693
|
-
|
|
5694
|
-
|
|
5695
|
-
|
|
5696
|
-
|
|
5697
|
-
|
|
5714
|
+
dr as k,
|
|
5715
|
+
_n as l,
|
|
5716
|
+
Ni as m,
|
|
5717
|
+
aa as n,
|
|
5718
|
+
ta as o,
|
|
5719
|
+
ia as p,
|
|
5698
5720
|
Le as q,
|
|
5699
|
-
|
|
5721
|
+
gs as r,
|
|
5700
5722
|
Fi as s,
|
|
5701
|
-
|
|
5702
|
-
|
|
5703
|
-
|
|
5704
|
-
|
|
5705
|
-
|
|
5706
|
-
|
|
5707
|
-
|
|
5723
|
+
Di as t,
|
|
5724
|
+
lo as u,
|
|
5725
|
+
Li as v,
|
|
5726
|
+
Si as w,
|
|
5727
|
+
ga as x,
|
|
5728
|
+
js as y,
|
|
5729
|
+
qt as z
|
|
5708
5730
|
};
|