sestek-component 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,3551 @@
1
+ import { jsx as i, Fragment as yt, jsxs as S } from "react/jsx-runtime";
2
+ import * as l from "react";
3
+ import W, { memo as Nt } from "react";
4
+ import "react-dom";
5
+ function G(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
6
+ return function(o) {
7
+ if (e == null || e(o), n === !1 || !o.defaultPrevented)
8
+ return t == null ? void 0 : t(o);
9
+ };
10
+ }
11
+ function ce(e, t = []) {
12
+ let n = [];
13
+ function r(s, a) {
14
+ const c = l.createContext(a), d = n.length;
15
+ n = [...n, a];
16
+ const u = (g) => {
17
+ var N;
18
+ const { scope: v, children: C, ...b } = g, x = ((N = v == null ? void 0 : v[e]) == null ? void 0 : N[d]) || c, F = l.useMemo(() => b, Object.values(b));
19
+ return /* @__PURE__ */ i(x.Provider, { value: F, children: C });
20
+ };
21
+ u.displayName = s + "Provider";
22
+ function p(g, v) {
23
+ var x;
24
+ const C = ((x = v == null ? void 0 : v[e]) == null ? void 0 : x[d]) || c, b = l.useContext(C);
25
+ if (b) return b;
26
+ if (a !== void 0) return a;
27
+ throw new Error(`\`${g}\` must be used within \`${s}\``);
28
+ }
29
+ return [u, p];
30
+ }
31
+ const o = () => {
32
+ const s = n.map((a) => l.createContext(a));
33
+ return function(c) {
34
+ const d = (c == null ? void 0 : c[e]) || s;
35
+ return l.useMemo(
36
+ () => ({ [`__scope${e}`]: { ...c, [e]: d } }),
37
+ [c, d]
38
+ );
39
+ };
40
+ };
41
+ return o.scopeName = e, [r, St(o, ...t)];
42
+ }
43
+ function St(...e) {
44
+ const t = e[0];
45
+ if (e.length === 1) return t;
46
+ const n = () => {
47
+ const r = e.map((o) => ({
48
+ useScope: o(),
49
+ scopeName: o.scopeName
50
+ }));
51
+ return function(s) {
52
+ const a = r.reduce((c, { useScope: d, scopeName: u }) => {
53
+ const g = d(s)[`__scope${u}`];
54
+ return { ...c, ...g };
55
+ }, {});
56
+ return l.useMemo(() => ({ [`__scope${t.scopeName}`]: a }), [a]);
57
+ };
58
+ };
59
+ return n.scopeName = t.scopeName, n;
60
+ }
61
+ function ke(e, t) {
62
+ if (typeof e == "function")
63
+ return e(t);
64
+ e != null && (e.current = t);
65
+ }
66
+ function Oe(...e) {
67
+ return (t) => {
68
+ let n = !1;
69
+ const r = e.map((o) => {
70
+ const s = ke(o, t);
71
+ return !n && typeof s == "function" && (n = !0), s;
72
+ });
73
+ if (n)
74
+ return () => {
75
+ for (let o = 0; o < r.length; o++) {
76
+ const s = r[o];
77
+ typeof s == "function" ? s() : ke(e[o], null);
78
+ }
79
+ };
80
+ };
81
+ }
82
+ function le(...e) {
83
+ return l.useCallback(Oe(...e), e);
84
+ }
85
+ var Q = l.forwardRef((e, t) => {
86
+ const { children: n, ...r } = e, o = l.Children.toArray(n), s = o.find(At);
87
+ if (s) {
88
+ const a = s.props.children, c = o.map((d) => d === s ? l.Children.count(a) > 1 ? l.Children.only(null) : l.isValidElement(a) ? a.props.children : null : d);
89
+ return /* @__PURE__ */ i(he, { ...r, ref: t, children: l.isValidElement(a) ? l.cloneElement(a, void 0, c) : null });
90
+ }
91
+ return /* @__PURE__ */ i(he, { ...r, ref: t, children: n });
92
+ });
93
+ Q.displayName = "Slot";
94
+ var he = l.forwardRef((e, t) => {
95
+ const { children: n, ...r } = e;
96
+ if (l.isValidElement(n)) {
97
+ const o = It(n), s = Rt(r, n.props);
98
+ return n.type !== l.Fragment && (s.ref = t ? Oe(t, o) : o), l.cloneElement(n, s);
99
+ }
100
+ return l.Children.count(n) > 1 ? l.Children.only(null) : null;
101
+ });
102
+ he.displayName = "SlotClone";
103
+ var Ft = ({ children: e }) => /* @__PURE__ */ i(yt, { children: e });
104
+ function At(e) {
105
+ return l.isValidElement(e) && e.type === Ft;
106
+ }
107
+ function Rt(e, t) {
108
+ const n = { ...t };
109
+ for (const r in t) {
110
+ const o = e[r], s = t[r];
111
+ /^on[A-Z]/.test(r) ? o && s ? n[r] = (...c) => {
112
+ s(...c), o(...c);
113
+ } : o && (n[r] = o) : r === "style" ? n[r] = { ...o, ...s } : r === "className" && (n[r] = [o, s].filter(Boolean).join(" "));
114
+ }
115
+ return { ...e, ...n };
116
+ }
117
+ function It(e) {
118
+ var r, o;
119
+ let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get, n = t && "isReactWarning" in t && t.isReactWarning;
120
+ return n ? e.ref : (t = (o = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : o.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
121
+ }
122
+ function Mt(e) {
123
+ const t = e + "CollectionProvider", [n, r] = ce(t), [o, s] = n(
124
+ t,
125
+ { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }
126
+ ), a = (C) => {
127
+ const { scope: b, children: x } = C, F = W.useRef(null), N = W.useRef(/* @__PURE__ */ new Map()).current;
128
+ return /* @__PURE__ */ i(o, { scope: b, itemMap: N, collectionRef: F, children: x });
129
+ };
130
+ a.displayName = t;
131
+ const c = e + "CollectionSlot", d = W.forwardRef(
132
+ (C, b) => {
133
+ const { scope: x, children: F } = C, N = s(c, x), A = le(b, N.collectionRef);
134
+ return /* @__PURE__ */ i(Q, { ref: A, children: F });
135
+ }
136
+ );
137
+ d.displayName = c;
138
+ const u = e + "CollectionItemSlot", p = "data-radix-collection-item", g = W.forwardRef(
139
+ (C, b) => {
140
+ const { scope: x, children: F, ...N } = C, A = W.useRef(null), L = le(b, A), E = s(u, x);
141
+ return W.useEffect(() => (E.itemMap.set(A, { ref: A, ...N }), () => void E.itemMap.delete(A))), /* @__PURE__ */ i(Q, { [p]: "", ref: L, children: F });
142
+ }
143
+ );
144
+ g.displayName = u;
145
+ function v(C) {
146
+ const b = s(e + "CollectionConsumer", C);
147
+ return W.useCallback(() => {
148
+ const F = b.collectionRef.current;
149
+ if (!F) return [];
150
+ const N = Array.from(F.querySelectorAll(`[${p}]`));
151
+ return Array.from(b.itemMap.values()).sort(
152
+ (E, P) => N.indexOf(E.ref.current) - N.indexOf(P.ref.current)
153
+ );
154
+ }, [b.collectionRef, b.itemMap]);
155
+ }
156
+ return [
157
+ { Provider: a, Slot: d, ItemSlot: g },
158
+ v,
159
+ r
160
+ ];
161
+ }
162
+ var ee = globalThis != null && globalThis.document ? l.useLayoutEffect : () => {
163
+ }, kt = l.useId || (() => {
164
+ }), Et = 0;
165
+ function Ge(e) {
166
+ const [t, n] = l.useState(kt());
167
+ return ee(() => {
168
+ n((r) => r ?? String(Et++));
169
+ }, [e]), e || (t ? `radix-${t}` : "");
170
+ }
171
+ var Tt = [
172
+ "a",
173
+ "button",
174
+ "div",
175
+ "form",
176
+ "h2",
177
+ "h3",
178
+ "img",
179
+ "input",
180
+ "label",
181
+ "li",
182
+ "nav",
183
+ "ol",
184
+ "p",
185
+ "span",
186
+ "svg",
187
+ "ul"
188
+ ], B = Tt.reduce((e, t) => {
189
+ const n = l.forwardRef((r, o) => {
190
+ const { asChild: s, ...a } = r, c = s ? Q : t;
191
+ return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ i(c, { ...a, ref: o });
192
+ });
193
+ return n.displayName = `Primitive.${t}`, { ...e, [t]: n };
194
+ }, {});
195
+ function de(e) {
196
+ const t = l.useRef(e);
197
+ return l.useEffect(() => {
198
+ t.current = e;
199
+ }), l.useMemo(() => (...n) => {
200
+ var r;
201
+ return (r = t.current) == null ? void 0 : r.call(t, ...n);
202
+ }, []);
203
+ }
204
+ function Be({
205
+ prop: e,
206
+ defaultProp: t,
207
+ onChange: n = () => {
208
+ }
209
+ }) {
210
+ const [r, o] = Lt({ defaultProp: t, onChange: n }), s = e !== void 0, a = s ? e : r, c = de(n), d = l.useCallback(
211
+ (u) => {
212
+ if (s) {
213
+ const g = typeof u == "function" ? u(e) : u;
214
+ g !== e && c(g);
215
+ } else
216
+ o(u);
217
+ },
218
+ [s, e, o, c]
219
+ );
220
+ return [a, d];
221
+ }
222
+ function Lt({
223
+ defaultProp: e,
224
+ onChange: t
225
+ }) {
226
+ const n = l.useState(e), [r] = n, o = l.useRef(r), s = de(t);
227
+ return l.useEffect(() => {
228
+ o.current !== r && (s(r), o.current = r);
229
+ }, [r, o, s]), n;
230
+ }
231
+ var Pt = l.createContext(void 0);
232
+ function je(e) {
233
+ const t = l.useContext(Pt);
234
+ return e || t || "ltr";
235
+ }
236
+ var pe = "rovingFocusGroup.onEntryFocus", _t = { bubbles: !1, cancelable: !0 }, ue = "RovingFocusGroup", [ve, De, Vt] = Mt(ue), [zt, $e] = ce(
237
+ ue,
238
+ [Vt]
239
+ ), [Ot, Gt] = zt(ue), Ue = l.forwardRef(
240
+ (e, t) => /* @__PURE__ */ i(ve.Provider, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ i(ve.Slot, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ i(Bt, { ...e, ref: t }) }) })
241
+ );
242
+ Ue.displayName = ue;
243
+ var Bt = l.forwardRef((e, t) => {
244
+ const {
245
+ __scopeRovingFocusGroup: n,
246
+ orientation: r,
247
+ loop: o = !1,
248
+ dir: s,
249
+ currentTabStopId: a,
250
+ defaultCurrentTabStopId: c,
251
+ onCurrentTabStopIdChange: d,
252
+ onEntryFocus: u,
253
+ preventScrollOnEntryFocus: p = !1,
254
+ ...g
255
+ } = e, v = l.useRef(null), C = le(t, v), b = je(s), [x = null, F] = Be({
256
+ prop: a,
257
+ defaultProp: c,
258
+ onChange: d
259
+ }), [N, A] = l.useState(!1), L = de(u), E = De(n), P = l.useRef(!1), [h, k] = l.useState(0);
260
+ return l.useEffect(() => {
261
+ const I = v.current;
262
+ if (I)
263
+ return I.addEventListener(pe, L), () => I.removeEventListener(pe, L);
264
+ }, [L]), /* @__PURE__ */ i(
265
+ Ot,
266
+ {
267
+ scope: n,
268
+ orientation: r,
269
+ dir: b,
270
+ loop: o,
271
+ currentTabStopId: x,
272
+ onItemFocus: l.useCallback(
273
+ (I) => F(I),
274
+ [F]
275
+ ),
276
+ onItemShiftTab: l.useCallback(() => A(!0), []),
277
+ onFocusableItemAdd: l.useCallback(
278
+ () => k((I) => I + 1),
279
+ []
280
+ ),
281
+ onFocusableItemRemove: l.useCallback(
282
+ () => k((I) => I - 1),
283
+ []
284
+ ),
285
+ children: /* @__PURE__ */ i(
286
+ B.div,
287
+ {
288
+ tabIndex: N || h === 0 ? -1 : 0,
289
+ "data-orientation": r,
290
+ ...g,
291
+ ref: C,
292
+ style: { outline: "none", ...e.style },
293
+ onMouseDown: G(e.onMouseDown, () => {
294
+ P.current = !0;
295
+ }),
296
+ onFocus: G(e.onFocus, (I) => {
297
+ const te = !P.current;
298
+ if (I.target === I.currentTarget && te && !N) {
299
+ const U = new CustomEvent(pe, _t);
300
+ if (I.currentTarget.dispatchEvent(U), !U.defaultPrevented) {
301
+ const Z = E().filter((y) => y.focusable), X = Z.find((y) => y.active), D = Z.find((y) => y.id === x), O = [X, D, ...Z].filter(
302
+ Boolean
303
+ ).map((y) => y.ref.current);
304
+ qe(O, p);
305
+ }
306
+ }
307
+ P.current = !1;
308
+ }),
309
+ onBlur: G(e.onBlur, () => A(!1))
310
+ }
311
+ )
312
+ }
313
+ );
314
+ }), We = "RovingFocusGroupItem", Ke = l.forwardRef(
315
+ (e, t) => {
316
+ const {
317
+ __scopeRovingFocusGroup: n,
318
+ focusable: r = !0,
319
+ active: o = !1,
320
+ tabStopId: s,
321
+ ...a
322
+ } = e, c = Ge(), d = s || c, u = Gt(We, n), p = u.currentTabStopId === d, g = De(n), { onFocusableItemAdd: v, onFocusableItemRemove: C } = u;
323
+ return l.useEffect(() => {
324
+ if (r)
325
+ return v(), () => C();
326
+ }, [r, v, C]), /* @__PURE__ */ i(
327
+ ve.ItemSlot,
328
+ {
329
+ scope: n,
330
+ id: d,
331
+ focusable: r,
332
+ active: o,
333
+ children: /* @__PURE__ */ i(
334
+ B.span,
335
+ {
336
+ tabIndex: p ? 0 : -1,
337
+ "data-orientation": u.orientation,
338
+ ...a,
339
+ ref: t,
340
+ onMouseDown: G(e.onMouseDown, (b) => {
341
+ r ? u.onItemFocus(d) : b.preventDefault();
342
+ }),
343
+ onFocus: G(e.onFocus, () => u.onItemFocus(d)),
344
+ onKeyDown: G(e.onKeyDown, (b) => {
345
+ if (b.key === "Tab" && b.shiftKey) {
346
+ u.onItemShiftTab();
347
+ return;
348
+ }
349
+ if (b.target !== b.currentTarget) return;
350
+ const x = $t(b, u.orientation, u.dir);
351
+ if (x !== void 0) {
352
+ if (b.metaKey || b.ctrlKey || b.altKey || b.shiftKey) return;
353
+ b.preventDefault();
354
+ let N = g().filter((A) => A.focusable).map((A) => A.ref.current);
355
+ if (x === "last") N.reverse();
356
+ else if (x === "prev" || x === "next") {
357
+ x === "prev" && N.reverse();
358
+ const A = N.indexOf(b.currentTarget);
359
+ N = u.loop ? Ut(N, A + 1) : N.slice(A + 1);
360
+ }
361
+ setTimeout(() => qe(N));
362
+ }
363
+ })
364
+ }
365
+ )
366
+ }
367
+ );
368
+ }
369
+ );
370
+ Ke.displayName = We;
371
+ var jt = {
372
+ ArrowLeft: "prev",
373
+ ArrowUp: "prev",
374
+ ArrowRight: "next",
375
+ ArrowDown: "next",
376
+ PageUp: "first",
377
+ Home: "first",
378
+ PageDown: "last",
379
+ End: "last"
380
+ };
381
+ function Dt(e, t) {
382
+ return t !== "rtl" ? e : e === "ArrowLeft" ? "ArrowRight" : e === "ArrowRight" ? "ArrowLeft" : e;
383
+ }
384
+ function $t(e, t, n) {
385
+ const r = Dt(e.key, n);
386
+ if (!(t === "vertical" && ["ArrowLeft", "ArrowRight"].includes(r)) && !(t === "horizontal" && ["ArrowUp", "ArrowDown"].includes(r)))
387
+ return jt[r];
388
+ }
389
+ function qe(e, t = !1) {
390
+ const n = document.activeElement;
391
+ for (const r of e)
392
+ if (r === n || (r.focus({ preventScroll: t }), document.activeElement !== n)) return;
393
+ }
394
+ function Ut(e, t) {
395
+ return e.map((n, r) => e[(t + r) % e.length]);
396
+ }
397
+ var Wt = Ue, Kt = Ke;
398
+ function qt(e, t) {
399
+ return l.useReducer((n, r) => t[n][r] ?? n, e);
400
+ }
401
+ var Ze = (e) => {
402
+ const { present: t, children: n } = e, r = Zt(t), o = typeof n == "function" ? n({ present: r.isPresent }) : l.Children.only(n), s = le(r.ref, Ht(o));
403
+ return typeof n == "function" || r.isPresent ? l.cloneElement(o, { ref: s }) : null;
404
+ };
405
+ Ze.displayName = "Presence";
406
+ function Zt(e) {
407
+ const [t, n] = l.useState(), r = l.useRef({}), o = l.useRef(e), s = l.useRef("none"), a = e ? "mounted" : "unmounted", [c, d] = qt(a, {
408
+ mounted: {
409
+ UNMOUNT: "unmounted",
410
+ ANIMATION_OUT: "unmountSuspended"
411
+ },
412
+ unmountSuspended: {
413
+ MOUNT: "mounted",
414
+ ANIMATION_END: "unmounted"
415
+ },
416
+ unmounted: {
417
+ MOUNT: "mounted"
418
+ }
419
+ });
420
+ return l.useEffect(() => {
421
+ const u = ae(r.current);
422
+ s.current = c === "mounted" ? u : "none";
423
+ }, [c]), ee(() => {
424
+ const u = r.current, p = o.current;
425
+ if (p !== e) {
426
+ const v = s.current, C = ae(u);
427
+ e ? d("MOUNT") : C === "none" || (u == null ? void 0 : u.display) === "none" ? d("UNMOUNT") : d(p && v !== C ? "ANIMATION_OUT" : "UNMOUNT"), o.current = e;
428
+ }
429
+ }, [e, d]), ee(() => {
430
+ if (t) {
431
+ let u;
432
+ const p = t.ownerDocument.defaultView ?? window, g = (C) => {
433
+ const x = ae(r.current).includes(C.animationName);
434
+ if (C.target === t && x && (d("ANIMATION_END"), !o.current)) {
435
+ const F = t.style.animationFillMode;
436
+ t.style.animationFillMode = "forwards", u = p.setTimeout(() => {
437
+ t.style.animationFillMode === "forwards" && (t.style.animationFillMode = F);
438
+ });
439
+ }
440
+ }, v = (C) => {
441
+ C.target === t && (s.current = ae(r.current));
442
+ };
443
+ return t.addEventListener("animationstart", v), t.addEventListener("animationcancel", g), t.addEventListener("animationend", g), () => {
444
+ p.clearTimeout(u), t.removeEventListener("animationstart", v), t.removeEventListener("animationcancel", g), t.removeEventListener("animationend", g);
445
+ };
446
+ } else
447
+ d("ANIMATION_END");
448
+ }, [t, d]), {
449
+ isPresent: ["mounted", "unmountSuspended"].includes(c),
450
+ ref: l.useCallback((u) => {
451
+ u && (r.current = getComputedStyle(u)), n(u);
452
+ }, [])
453
+ };
454
+ }
455
+ function ae(e) {
456
+ return (e == null ? void 0 : e.animationName) || "none";
457
+ }
458
+ function Ht(e) {
459
+ var r, o;
460
+ let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get, n = t && "isReactWarning" in t && t.isReactWarning;
461
+ return n ? e.ref : (t = (o = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : o.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
462
+ }
463
+ var ye = "Tabs", [Yt, gn] = ce(ye, [
464
+ $e
465
+ ]), He = $e(), [Jt, Ne] = Yt(ye), Ye = l.forwardRef(
466
+ (e, t) => {
467
+ const {
468
+ __scopeTabs: n,
469
+ value: r,
470
+ onValueChange: o,
471
+ defaultValue: s,
472
+ orientation: a = "horizontal",
473
+ dir: c,
474
+ activationMode: d = "automatic",
475
+ ...u
476
+ } = e, p = je(c), [g, v] = Be({
477
+ prop: r,
478
+ onChange: o,
479
+ defaultProp: s
480
+ });
481
+ return /* @__PURE__ */ i(
482
+ Jt,
483
+ {
484
+ scope: n,
485
+ baseId: Ge(),
486
+ value: g,
487
+ onValueChange: v,
488
+ orientation: a,
489
+ dir: p,
490
+ activationMode: d,
491
+ children: /* @__PURE__ */ i(
492
+ B.div,
493
+ {
494
+ dir: p,
495
+ "data-orientation": a,
496
+ ...u,
497
+ ref: t
498
+ }
499
+ )
500
+ }
501
+ );
502
+ }
503
+ );
504
+ Ye.displayName = ye;
505
+ var Je = "TabsList", Xe = l.forwardRef(
506
+ (e, t) => {
507
+ const { __scopeTabs: n, loop: r = !0, ...o } = e, s = Ne(Je, n), a = He(n);
508
+ return /* @__PURE__ */ i(
509
+ Wt,
510
+ {
511
+ asChild: !0,
512
+ ...a,
513
+ orientation: s.orientation,
514
+ dir: s.dir,
515
+ loop: r,
516
+ children: /* @__PURE__ */ i(
517
+ B.div,
518
+ {
519
+ role: "tablist",
520
+ "aria-orientation": s.orientation,
521
+ ...o,
522
+ ref: t
523
+ }
524
+ )
525
+ }
526
+ );
527
+ }
528
+ );
529
+ Xe.displayName = Je;
530
+ var Qe = "TabsTrigger", et = l.forwardRef(
531
+ (e, t) => {
532
+ const { __scopeTabs: n, value: r, disabled: o = !1, ...s } = e, a = Ne(Qe, n), c = He(n), d = nt(a.baseId, r), u = ot(a.baseId, r), p = r === a.value;
533
+ return /* @__PURE__ */ i(
534
+ Kt,
535
+ {
536
+ asChild: !0,
537
+ ...c,
538
+ focusable: !o,
539
+ active: p,
540
+ children: /* @__PURE__ */ i(
541
+ B.button,
542
+ {
543
+ type: "button",
544
+ role: "tab",
545
+ "aria-selected": p,
546
+ "aria-controls": u,
547
+ "data-state": p ? "active" : "inactive",
548
+ "data-disabled": o ? "" : void 0,
549
+ disabled: o,
550
+ id: d,
551
+ ...s,
552
+ ref: t,
553
+ onMouseDown: G(e.onMouseDown, (g) => {
554
+ !o && g.button === 0 && g.ctrlKey === !1 ? a.onValueChange(r) : g.preventDefault();
555
+ }),
556
+ onKeyDown: G(e.onKeyDown, (g) => {
557
+ [" ", "Enter"].includes(g.key) && a.onValueChange(r);
558
+ }),
559
+ onFocus: G(e.onFocus, () => {
560
+ const g = a.activationMode !== "manual";
561
+ !p && !o && g && a.onValueChange(r);
562
+ })
563
+ }
564
+ )
565
+ }
566
+ );
567
+ }
568
+ );
569
+ et.displayName = Qe;
570
+ var tt = "TabsContent", rt = l.forwardRef(
571
+ (e, t) => {
572
+ const { __scopeTabs: n, value: r, forceMount: o, children: s, ...a } = e, c = Ne(tt, n), d = nt(c.baseId, r), u = ot(c.baseId, r), p = r === c.value, g = l.useRef(p);
573
+ return l.useEffect(() => {
574
+ const v = requestAnimationFrame(() => g.current = !1);
575
+ return () => cancelAnimationFrame(v);
576
+ }, []), /* @__PURE__ */ i(Ze, { present: o || p, children: ({ present: v }) => /* @__PURE__ */ i(
577
+ B.div,
578
+ {
579
+ "data-state": p ? "active" : "inactive",
580
+ "data-orientation": c.orientation,
581
+ role: "tabpanel",
582
+ "aria-labelledby": d,
583
+ hidden: !v,
584
+ id: u,
585
+ tabIndex: 0,
586
+ ...a,
587
+ ref: t,
588
+ style: {
589
+ ...e.style,
590
+ animationDuration: g.current ? "0s" : void 0
591
+ },
592
+ children: v && s
593
+ }
594
+ ) });
595
+ }
596
+ );
597
+ rt.displayName = tt;
598
+ function nt(e, t) {
599
+ return `${e}-trigger-${t}`;
600
+ }
601
+ function ot(e, t) {
602
+ return `${e}-content-${t}`;
603
+ }
604
+ var Xt = Ye, Qt = Xe, er = et, tr = rt;
605
+ function st(e) {
606
+ var t, n, r = "";
607
+ if (typeof e == "string" || typeof e == "number") r += e;
608
+ else if (typeof e == "object") if (Array.isArray(e)) {
609
+ var o = e.length;
610
+ for (t = 0; t < o; t++) e[t] && (n = st(e[t])) && (r && (r += " "), r += n);
611
+ } else for (n in e) e[n] && (r && (r += " "), r += n);
612
+ return r;
613
+ }
614
+ function at() {
615
+ for (var e, t, n = 0, r = "", o = arguments.length; n < o; n++) (e = arguments[n]) && (t = st(e)) && (r && (r += " "), r += t);
616
+ return r;
617
+ }
618
+ const Se = "-", rr = (e) => {
619
+ const t = or(e), {
620
+ conflictingClassGroups: n,
621
+ conflictingClassGroupModifiers: r
622
+ } = e;
623
+ return {
624
+ getClassGroupId: (a) => {
625
+ const c = a.split(Se);
626
+ return c[0] === "" && c.length !== 1 && c.shift(), it(c, t) || nr(a);
627
+ },
628
+ getConflictingClassGroupIds: (a, c) => {
629
+ const d = n[a] || [];
630
+ return c && r[a] ? [...d, ...r[a]] : d;
631
+ }
632
+ };
633
+ }, it = (e, t) => {
634
+ var a;
635
+ if (e.length === 0)
636
+ return t.classGroupId;
637
+ const n = e[0], r = t.nextPart.get(n), o = r ? it(e.slice(1), r) : void 0;
638
+ if (o)
639
+ return o;
640
+ if (t.validators.length === 0)
641
+ return;
642
+ const s = e.join(Se);
643
+ return (a = t.validators.find(({
644
+ validator: c
645
+ }) => c(s))) == null ? void 0 : a.classGroupId;
646
+ }, Ee = /^\[(.+)\]$/, nr = (e) => {
647
+ if (Ee.test(e)) {
648
+ const t = Ee.exec(e)[1], n = t == null ? void 0 : t.substring(0, t.indexOf(":"));
649
+ if (n)
650
+ return "arbitrary.." + n;
651
+ }
652
+ }, or = (e) => {
653
+ const {
654
+ theme: t,
655
+ classGroups: n
656
+ } = e, r = {
657
+ nextPart: /* @__PURE__ */ new Map(),
658
+ validators: []
659
+ };
660
+ for (const o in n)
661
+ xe(n[o], r, o, t);
662
+ return r;
663
+ }, xe = (e, t, n, r) => {
664
+ e.forEach((o) => {
665
+ if (typeof o == "string") {
666
+ const s = o === "" ? t : Te(t, o);
667
+ s.classGroupId = n;
668
+ return;
669
+ }
670
+ if (typeof o == "function") {
671
+ if (sr(o)) {
672
+ xe(o(r), t, n, r);
673
+ return;
674
+ }
675
+ t.validators.push({
676
+ validator: o,
677
+ classGroupId: n
678
+ });
679
+ return;
680
+ }
681
+ Object.entries(o).forEach(([s, a]) => {
682
+ xe(a, Te(t, s), n, r);
683
+ });
684
+ });
685
+ }, Te = (e, t) => {
686
+ let n = e;
687
+ return t.split(Se).forEach((r) => {
688
+ n.nextPart.has(r) || n.nextPart.set(r, {
689
+ nextPart: /* @__PURE__ */ new Map(),
690
+ validators: []
691
+ }), n = n.nextPart.get(r);
692
+ }), n;
693
+ }, sr = (e) => e.isThemeGetter, ar = (e) => {
694
+ if (e < 1)
695
+ return {
696
+ get: () => {
697
+ },
698
+ set: () => {
699
+ }
700
+ };
701
+ let t = 0, n = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map();
702
+ const o = (s, a) => {
703
+ n.set(s, a), t++, t > e && (t = 0, r = n, n = /* @__PURE__ */ new Map());
704
+ };
705
+ return {
706
+ get(s) {
707
+ let a = n.get(s);
708
+ if (a !== void 0)
709
+ return a;
710
+ if ((a = r.get(s)) !== void 0)
711
+ return o(s, a), a;
712
+ },
713
+ set(s, a) {
714
+ n.has(s) ? n.set(s, a) : o(s, a);
715
+ }
716
+ };
717
+ }, we = "!", Ce = ":", ir = Ce.length, lr = (e) => {
718
+ const {
719
+ prefix: t,
720
+ experimentalParseClassName: n
721
+ } = e;
722
+ let r = (o) => {
723
+ const s = [];
724
+ let a = 0, c = 0, d = 0, u;
725
+ for (let b = 0; b < o.length; b++) {
726
+ let x = o[b];
727
+ if (a === 0 && c === 0) {
728
+ if (x === Ce) {
729
+ s.push(o.slice(d, b)), d = b + ir;
730
+ continue;
731
+ }
732
+ if (x === "/") {
733
+ u = b;
734
+ continue;
735
+ }
736
+ }
737
+ x === "[" ? a++ : x === "]" ? a-- : x === "(" ? c++ : x === ")" && c--;
738
+ }
739
+ const p = s.length === 0 ? o : o.substring(d), g = cr(p), v = g !== p, C = u && u > d ? u - d : void 0;
740
+ return {
741
+ modifiers: s,
742
+ hasImportantModifier: v,
743
+ baseClassName: g,
744
+ maybePostfixModifierPosition: C
745
+ };
746
+ };
747
+ if (t) {
748
+ const o = t + Ce, s = r;
749
+ r = (a) => a.startsWith(o) ? s(a.substring(o.length)) : {
750
+ isExternal: !0,
751
+ modifiers: [],
752
+ hasImportantModifier: !1,
753
+ baseClassName: a,
754
+ maybePostfixModifierPosition: void 0
755
+ };
756
+ }
757
+ if (n) {
758
+ const o = r;
759
+ r = (s) => n({
760
+ className: s,
761
+ parseClassName: o
762
+ });
763
+ }
764
+ return r;
765
+ }, cr = (e) => e.endsWith(we) ? e.substring(0, e.length - 1) : e.startsWith(we) ? e.substring(1) : e, dr = (e) => {
766
+ const t = Object.fromEntries(e.orderSensitiveModifiers.map((r) => [r, !0]));
767
+ return (r) => {
768
+ if (r.length <= 1)
769
+ return r;
770
+ const o = [];
771
+ let s = [];
772
+ return r.forEach((a) => {
773
+ a[0] === "[" || t[a] ? (o.push(...s.sort(), a), s = []) : s.push(a);
774
+ }), o.push(...s.sort()), o;
775
+ };
776
+ }, ur = (e) => ({
777
+ cache: ar(e.cacheSize),
778
+ parseClassName: lr(e),
779
+ sortModifiers: dr(e),
780
+ ...rr(e)
781
+ }), fr = /\s+/, mr = (e, t) => {
782
+ const {
783
+ parseClassName: n,
784
+ getClassGroupId: r,
785
+ getConflictingClassGroupIds: o,
786
+ sortModifiers: s
787
+ } = t, a = [], c = e.trim().split(fr);
788
+ let d = "";
789
+ for (let u = c.length - 1; u >= 0; u -= 1) {
790
+ const p = c[u], {
791
+ isExternal: g,
792
+ modifiers: v,
793
+ hasImportantModifier: C,
794
+ baseClassName: b,
795
+ maybePostfixModifierPosition: x
796
+ } = n(p);
797
+ if (g) {
798
+ d = p + (d.length > 0 ? " " + d : d);
799
+ continue;
800
+ }
801
+ let F = !!x, N = r(F ? b.substring(0, x) : b);
802
+ if (!N) {
803
+ if (!F) {
804
+ d = p + (d.length > 0 ? " " + d : d);
805
+ continue;
806
+ }
807
+ if (N = r(b), !N) {
808
+ d = p + (d.length > 0 ? " " + d : d);
809
+ continue;
810
+ }
811
+ F = !1;
812
+ }
813
+ const A = s(v).join(":"), L = C ? A + we : A, E = L + N;
814
+ if (a.includes(E))
815
+ continue;
816
+ a.push(E);
817
+ const P = o(N, F);
818
+ for (let h = 0; h < P.length; ++h) {
819
+ const k = P[h];
820
+ a.push(L + k);
821
+ }
822
+ d = p + (d.length > 0 ? " " + d : d);
823
+ }
824
+ return d;
825
+ };
826
+ function pr() {
827
+ let e = 0, t, n, r = "";
828
+ for (; e < arguments.length; )
829
+ (t = arguments[e++]) && (n = lt(t)) && (r && (r += " "), r += n);
830
+ return r;
831
+ }
832
+ const lt = (e) => {
833
+ if (typeof e == "string")
834
+ return e;
835
+ let t, n = "";
836
+ for (let r = 0; r < e.length; r++)
837
+ e[r] && (t = lt(e[r])) && (n && (n += " "), n += t);
838
+ return n;
839
+ };
840
+ function gr(e, ...t) {
841
+ let n, r, o, s = a;
842
+ function a(d) {
843
+ const u = t.reduce((p, g) => g(p), e());
844
+ return n = ur(u), r = n.cache.get, o = n.cache.set, s = c, c(d);
845
+ }
846
+ function c(d) {
847
+ const u = r(d);
848
+ if (u)
849
+ return u;
850
+ const p = mr(d, n);
851
+ return o(d, p), p;
852
+ }
853
+ return function() {
854
+ return s(pr.apply(null, arguments));
855
+ };
856
+ }
857
+ const R = (e) => {
858
+ const t = (n) => n[e] || [];
859
+ return t.isThemeGetter = !0, t;
860
+ }, ct = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, dt = /^\((?:(\w[\w-]*):)?(.+)\)$/i, br = /^\d+\/\d+$/, hr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, vr = /\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$/, xr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, wr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Cr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, H = (e) => br.test(e), w = (e) => !!e && !Number.isNaN(Number(e)), K = (e) => !!e && Number.isInteger(Number(e)), Le = (e) => e.endsWith("%") && w(e.slice(0, -1)), $ = (e) => hr.test(e), yr = () => !0, Nr = (e) => (
861
+ // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
862
+ // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
863
+ // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
864
+ vr.test(e) && !xr.test(e)
865
+ ), Fe = () => !1, Sr = (e) => wr.test(e), Fr = (e) => Cr.test(e), Ar = (e) => !f(e) && !m(e), Rr = (e) => Y(e, mt, Fe), f = (e) => ct.test(e), q = (e) => Y(e, pt, Nr), ge = (e) => Y(e, Or, w), Ir = (e) => Y(e, ut, Fe), Mr = (e) => Y(e, ft, Fr), kr = (e) => Y(e, Fe, Sr), m = (e) => dt.test(e), ie = (e) => J(e, pt), Er = (e) => J(e, Gr), Tr = (e) => J(e, ut), Lr = (e) => J(e, mt), Pr = (e) => J(e, ft), _r = (e) => J(e, Br, !0), Y = (e, t, n) => {
866
+ const r = ct.exec(e);
867
+ return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
868
+ }, J = (e, t, n = !1) => {
869
+ const r = dt.exec(e);
870
+ return r ? r[1] ? t(r[1]) : n : !1;
871
+ }, ut = (e) => e === "position", Vr = /* @__PURE__ */ new Set(["image", "url"]), ft = (e) => Vr.has(e), zr = /* @__PURE__ */ new Set(["length", "size", "percentage"]), mt = (e) => zr.has(e), pt = (e) => e === "length", Or = (e) => e === "number", Gr = (e) => e === "family-name", Br = (e) => e === "shadow", jr = () => {
872
+ const e = R("color"), t = R("font"), n = R("text"), r = R("font-weight"), o = R("tracking"), s = R("leading"), a = R("breakpoint"), c = R("container"), d = R("spacing"), u = R("radius"), p = R("shadow"), g = R("inset-shadow"), v = R("drop-shadow"), C = R("blur"), b = R("perspective"), x = R("aspect"), F = R("ease"), N = R("animate"), A = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], L = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], E = () => ["auto", "hidden", "clip", "visible", "scroll"], P = () => ["auto", "contain", "none"], h = () => [m, f, d], k = () => [H, "full", "auto", ...h()], I = () => [K, "none", "subgrid", m, f], te = () => ["auto", {
873
+ span: ["full", K, m, f]
874
+ }, m, f], U = () => [K, "auto", m, f], Z = () => ["auto", "min", "max", "fr", m, f], X = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline"], D = () => ["start", "end", "center", "stretch"], _ = () => ["auto", ...h()], O = () => [H, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...h()], y = () => [e, m, f], fe = () => [Le, q], M = () => [
875
+ // Deprecated since Tailwind CSS v4.0.0
876
+ "",
877
+ "none",
878
+ "full",
879
+ u,
880
+ m,
881
+ f
882
+ ], T = () => ["", w, ie, q], re = () => ["solid", "dashed", "dotted", "double"], Re = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], Ie = () => [
883
+ // Deprecated since Tailwind CSS v4.0.0
884
+ "",
885
+ "none",
886
+ C,
887
+ m,
888
+ f
889
+ ], Me = () => ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", m, f], ne = () => ["none", w, m, f], oe = () => ["none", w, m, f], me = () => [w, m, f], se = () => [H, "full", ...h()];
890
+ return {
891
+ cacheSize: 500,
892
+ theme: {
893
+ animate: ["spin", "ping", "pulse", "bounce"],
894
+ aspect: ["video"],
895
+ blur: [$],
896
+ breakpoint: [$],
897
+ color: [yr],
898
+ container: [$],
899
+ "drop-shadow": [$],
900
+ ease: ["in", "out", "in-out"],
901
+ font: [Ar],
902
+ "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
903
+ "inset-shadow": [$],
904
+ leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
905
+ perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
906
+ radius: [$],
907
+ shadow: [$],
908
+ spacing: ["px", w],
909
+ text: [$],
910
+ tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
911
+ },
912
+ classGroups: {
913
+ // --------------
914
+ // --- Layout ---
915
+ // --------------
916
+ /**
917
+ * Aspect Ratio
918
+ * @see https://tailwindcss.com/docs/aspect-ratio
919
+ */
920
+ aspect: [{
921
+ aspect: ["auto", "square", H, f, m, x]
922
+ }],
923
+ /**
924
+ * Container
925
+ * @see https://tailwindcss.com/docs/container
926
+ * @deprecated since Tailwind CSS v4.0.0
927
+ */
928
+ container: ["container"],
929
+ /**
930
+ * Columns
931
+ * @see https://tailwindcss.com/docs/columns
932
+ */
933
+ columns: [{
934
+ columns: [w, f, m, c]
935
+ }],
936
+ /**
937
+ * Break After
938
+ * @see https://tailwindcss.com/docs/break-after
939
+ */
940
+ "break-after": [{
941
+ "break-after": A()
942
+ }],
943
+ /**
944
+ * Break Before
945
+ * @see https://tailwindcss.com/docs/break-before
946
+ */
947
+ "break-before": [{
948
+ "break-before": A()
949
+ }],
950
+ /**
951
+ * Break Inside
952
+ * @see https://tailwindcss.com/docs/break-inside
953
+ */
954
+ "break-inside": [{
955
+ "break-inside": ["auto", "avoid", "avoid-page", "avoid-column"]
956
+ }],
957
+ /**
958
+ * Box Decoration Break
959
+ * @see https://tailwindcss.com/docs/box-decoration-break
960
+ */
961
+ "box-decoration": [{
962
+ "box-decoration": ["slice", "clone"]
963
+ }],
964
+ /**
965
+ * Box Sizing
966
+ * @see https://tailwindcss.com/docs/box-sizing
967
+ */
968
+ box: [{
969
+ box: ["border", "content"]
970
+ }],
971
+ /**
972
+ * Display
973
+ * @see https://tailwindcss.com/docs/display
974
+ */
975
+ display: ["block", "inline-block", "inline", "flex", "inline-flex", "table", "inline-table", "table-caption", "table-cell", "table-column", "table-column-group", "table-footer-group", "table-header-group", "table-row-group", "table-row", "flow-root", "grid", "inline-grid", "contents", "list-item", "hidden"],
976
+ /**
977
+ * Screen Reader Only
978
+ * @see https://tailwindcss.com/docs/display#screen-reader-only
979
+ */
980
+ sr: ["sr-only", "not-sr-only"],
981
+ /**
982
+ * Floats
983
+ * @see https://tailwindcss.com/docs/float
984
+ */
985
+ float: [{
986
+ float: ["right", "left", "none", "start", "end"]
987
+ }],
988
+ /**
989
+ * Clear
990
+ * @see https://tailwindcss.com/docs/clear
991
+ */
992
+ clear: [{
993
+ clear: ["left", "right", "both", "none", "start", "end"]
994
+ }],
995
+ /**
996
+ * Isolation
997
+ * @see https://tailwindcss.com/docs/isolation
998
+ */
999
+ isolation: ["isolate", "isolation-auto"],
1000
+ /**
1001
+ * Object Fit
1002
+ * @see https://tailwindcss.com/docs/object-fit
1003
+ */
1004
+ "object-fit": [{
1005
+ object: ["contain", "cover", "fill", "none", "scale-down"]
1006
+ }],
1007
+ /**
1008
+ * Object Position
1009
+ * @see https://tailwindcss.com/docs/object-position
1010
+ */
1011
+ "object-position": [{
1012
+ object: [...L(), f, m]
1013
+ }],
1014
+ /**
1015
+ * Overflow
1016
+ * @see https://tailwindcss.com/docs/overflow
1017
+ */
1018
+ overflow: [{
1019
+ overflow: E()
1020
+ }],
1021
+ /**
1022
+ * Overflow X
1023
+ * @see https://tailwindcss.com/docs/overflow
1024
+ */
1025
+ "overflow-x": [{
1026
+ "overflow-x": E()
1027
+ }],
1028
+ /**
1029
+ * Overflow Y
1030
+ * @see https://tailwindcss.com/docs/overflow
1031
+ */
1032
+ "overflow-y": [{
1033
+ "overflow-y": E()
1034
+ }],
1035
+ /**
1036
+ * Overscroll Behavior
1037
+ * @see https://tailwindcss.com/docs/overscroll-behavior
1038
+ */
1039
+ overscroll: [{
1040
+ overscroll: P()
1041
+ }],
1042
+ /**
1043
+ * Overscroll Behavior X
1044
+ * @see https://tailwindcss.com/docs/overscroll-behavior
1045
+ */
1046
+ "overscroll-x": [{
1047
+ "overscroll-x": P()
1048
+ }],
1049
+ /**
1050
+ * Overscroll Behavior Y
1051
+ * @see https://tailwindcss.com/docs/overscroll-behavior
1052
+ */
1053
+ "overscroll-y": [{
1054
+ "overscroll-y": P()
1055
+ }],
1056
+ /**
1057
+ * Position
1058
+ * @see https://tailwindcss.com/docs/position
1059
+ */
1060
+ position: ["static", "fixed", "absolute", "relative", "sticky"],
1061
+ /**
1062
+ * Top / Right / Bottom / Left
1063
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1064
+ */
1065
+ inset: [{
1066
+ inset: k()
1067
+ }],
1068
+ /**
1069
+ * Right / Left
1070
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1071
+ */
1072
+ "inset-x": [{
1073
+ "inset-x": k()
1074
+ }],
1075
+ /**
1076
+ * Top / Bottom
1077
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1078
+ */
1079
+ "inset-y": [{
1080
+ "inset-y": k()
1081
+ }],
1082
+ /**
1083
+ * Start
1084
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1085
+ */
1086
+ start: [{
1087
+ start: k()
1088
+ }],
1089
+ /**
1090
+ * End
1091
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1092
+ */
1093
+ end: [{
1094
+ end: k()
1095
+ }],
1096
+ /**
1097
+ * Top
1098
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1099
+ */
1100
+ top: [{
1101
+ top: k()
1102
+ }],
1103
+ /**
1104
+ * Right
1105
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1106
+ */
1107
+ right: [{
1108
+ right: k()
1109
+ }],
1110
+ /**
1111
+ * Bottom
1112
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1113
+ */
1114
+ bottom: [{
1115
+ bottom: k()
1116
+ }],
1117
+ /**
1118
+ * Left
1119
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1120
+ */
1121
+ left: [{
1122
+ left: k()
1123
+ }],
1124
+ /**
1125
+ * Visibility
1126
+ * @see https://tailwindcss.com/docs/visibility
1127
+ */
1128
+ visibility: ["visible", "invisible", "collapse"],
1129
+ /**
1130
+ * Z-Index
1131
+ * @see https://tailwindcss.com/docs/z-index
1132
+ */
1133
+ z: [{
1134
+ z: [K, "auto", m, f]
1135
+ }],
1136
+ // ------------------------
1137
+ // --- Flexbox and Grid ---
1138
+ // ------------------------
1139
+ /**
1140
+ * Flex Basis
1141
+ * @see https://tailwindcss.com/docs/flex-basis
1142
+ */
1143
+ basis: [{
1144
+ basis: [H, "full", "auto", c, ...h()]
1145
+ }],
1146
+ /**
1147
+ * Flex Direction
1148
+ * @see https://tailwindcss.com/docs/flex-direction
1149
+ */
1150
+ "flex-direction": [{
1151
+ flex: ["row", "row-reverse", "col", "col-reverse"]
1152
+ }],
1153
+ /**
1154
+ * Flex Wrap
1155
+ * @see https://tailwindcss.com/docs/flex-wrap
1156
+ */
1157
+ "flex-wrap": [{
1158
+ flex: ["nowrap", "wrap", "wrap-reverse"]
1159
+ }],
1160
+ /**
1161
+ * Flex
1162
+ * @see https://tailwindcss.com/docs/flex
1163
+ */
1164
+ flex: [{
1165
+ flex: [w, H, "auto", "initial", "none", f]
1166
+ }],
1167
+ /**
1168
+ * Flex Grow
1169
+ * @see https://tailwindcss.com/docs/flex-grow
1170
+ */
1171
+ grow: [{
1172
+ grow: ["", w, m, f]
1173
+ }],
1174
+ /**
1175
+ * Flex Shrink
1176
+ * @see https://tailwindcss.com/docs/flex-shrink
1177
+ */
1178
+ shrink: [{
1179
+ shrink: ["", w, m, f]
1180
+ }],
1181
+ /**
1182
+ * Order
1183
+ * @see https://tailwindcss.com/docs/order
1184
+ */
1185
+ order: [{
1186
+ order: [K, "first", "last", "none", m, f]
1187
+ }],
1188
+ /**
1189
+ * Grid Template Columns
1190
+ * @see https://tailwindcss.com/docs/grid-template-columns
1191
+ */
1192
+ "grid-cols": [{
1193
+ "grid-cols": I()
1194
+ }],
1195
+ /**
1196
+ * Grid Column Start / End
1197
+ * @see https://tailwindcss.com/docs/grid-column
1198
+ */
1199
+ "col-start-end": [{
1200
+ col: te()
1201
+ }],
1202
+ /**
1203
+ * Grid Column Start
1204
+ * @see https://tailwindcss.com/docs/grid-column
1205
+ */
1206
+ "col-start": [{
1207
+ "col-start": U()
1208
+ }],
1209
+ /**
1210
+ * Grid Column End
1211
+ * @see https://tailwindcss.com/docs/grid-column
1212
+ */
1213
+ "col-end": [{
1214
+ "col-end": U()
1215
+ }],
1216
+ /**
1217
+ * Grid Template Rows
1218
+ * @see https://tailwindcss.com/docs/grid-template-rows
1219
+ */
1220
+ "grid-rows": [{
1221
+ "grid-rows": I()
1222
+ }],
1223
+ /**
1224
+ * Grid Row Start / End
1225
+ * @see https://tailwindcss.com/docs/grid-row
1226
+ */
1227
+ "row-start-end": [{
1228
+ row: te()
1229
+ }],
1230
+ /**
1231
+ * Grid Row Start
1232
+ * @see https://tailwindcss.com/docs/grid-row
1233
+ */
1234
+ "row-start": [{
1235
+ "row-start": U()
1236
+ }],
1237
+ /**
1238
+ * Grid Row End
1239
+ * @see https://tailwindcss.com/docs/grid-row
1240
+ */
1241
+ "row-end": [{
1242
+ "row-end": U()
1243
+ }],
1244
+ /**
1245
+ * Grid Auto Flow
1246
+ * @see https://tailwindcss.com/docs/grid-auto-flow
1247
+ */
1248
+ "grid-flow": [{
1249
+ "grid-flow": ["row", "col", "dense", "row-dense", "col-dense"]
1250
+ }],
1251
+ /**
1252
+ * Grid Auto Columns
1253
+ * @see https://tailwindcss.com/docs/grid-auto-columns
1254
+ */
1255
+ "auto-cols": [{
1256
+ "auto-cols": Z()
1257
+ }],
1258
+ /**
1259
+ * Grid Auto Rows
1260
+ * @see https://tailwindcss.com/docs/grid-auto-rows
1261
+ */
1262
+ "auto-rows": [{
1263
+ "auto-rows": Z()
1264
+ }],
1265
+ /**
1266
+ * Gap
1267
+ * @see https://tailwindcss.com/docs/gap
1268
+ */
1269
+ gap: [{
1270
+ gap: h()
1271
+ }],
1272
+ /**
1273
+ * Gap X
1274
+ * @see https://tailwindcss.com/docs/gap
1275
+ */
1276
+ "gap-x": [{
1277
+ "gap-x": h()
1278
+ }],
1279
+ /**
1280
+ * Gap Y
1281
+ * @see https://tailwindcss.com/docs/gap
1282
+ */
1283
+ "gap-y": [{
1284
+ "gap-y": h()
1285
+ }],
1286
+ /**
1287
+ * Justify Content
1288
+ * @see https://tailwindcss.com/docs/justify-content
1289
+ */
1290
+ "justify-content": [{
1291
+ justify: [...X(), "normal"]
1292
+ }],
1293
+ /**
1294
+ * Justify Items
1295
+ * @see https://tailwindcss.com/docs/justify-items
1296
+ */
1297
+ "justify-items": [{
1298
+ "justify-items": [...D(), "normal"]
1299
+ }],
1300
+ /**
1301
+ * Justify Self
1302
+ * @see https://tailwindcss.com/docs/justify-self
1303
+ */
1304
+ "justify-self": [{
1305
+ "justify-self": ["auto", ...D()]
1306
+ }],
1307
+ /**
1308
+ * Align Content
1309
+ * @see https://tailwindcss.com/docs/align-content
1310
+ */
1311
+ "align-content": [{
1312
+ content: ["normal", ...X()]
1313
+ }],
1314
+ /**
1315
+ * Align Items
1316
+ * @see https://tailwindcss.com/docs/align-items
1317
+ */
1318
+ "align-items": [{
1319
+ items: [...D(), "baseline"]
1320
+ }],
1321
+ /**
1322
+ * Align Self
1323
+ * @see https://tailwindcss.com/docs/align-self
1324
+ */
1325
+ "align-self": [{
1326
+ self: ["auto", ...D(), "baseline"]
1327
+ }],
1328
+ /**
1329
+ * Place Content
1330
+ * @see https://tailwindcss.com/docs/place-content
1331
+ */
1332
+ "place-content": [{
1333
+ "place-content": X()
1334
+ }],
1335
+ /**
1336
+ * Place Items
1337
+ * @see https://tailwindcss.com/docs/place-items
1338
+ */
1339
+ "place-items": [{
1340
+ "place-items": [...D(), "baseline"]
1341
+ }],
1342
+ /**
1343
+ * Place Self
1344
+ * @see https://tailwindcss.com/docs/place-self
1345
+ */
1346
+ "place-self": [{
1347
+ "place-self": ["auto", ...D()]
1348
+ }],
1349
+ // Spacing
1350
+ /**
1351
+ * Padding
1352
+ * @see https://tailwindcss.com/docs/padding
1353
+ */
1354
+ p: [{
1355
+ p: h()
1356
+ }],
1357
+ /**
1358
+ * Padding X
1359
+ * @see https://tailwindcss.com/docs/padding
1360
+ */
1361
+ px: [{
1362
+ px: h()
1363
+ }],
1364
+ /**
1365
+ * Padding Y
1366
+ * @see https://tailwindcss.com/docs/padding
1367
+ */
1368
+ py: [{
1369
+ py: h()
1370
+ }],
1371
+ /**
1372
+ * Padding Start
1373
+ * @see https://tailwindcss.com/docs/padding
1374
+ */
1375
+ ps: [{
1376
+ ps: h()
1377
+ }],
1378
+ /**
1379
+ * Padding End
1380
+ * @see https://tailwindcss.com/docs/padding
1381
+ */
1382
+ pe: [{
1383
+ pe: h()
1384
+ }],
1385
+ /**
1386
+ * Padding Top
1387
+ * @see https://tailwindcss.com/docs/padding
1388
+ */
1389
+ pt: [{
1390
+ pt: h()
1391
+ }],
1392
+ /**
1393
+ * Padding Right
1394
+ * @see https://tailwindcss.com/docs/padding
1395
+ */
1396
+ pr: [{
1397
+ pr: h()
1398
+ }],
1399
+ /**
1400
+ * Padding Bottom
1401
+ * @see https://tailwindcss.com/docs/padding
1402
+ */
1403
+ pb: [{
1404
+ pb: h()
1405
+ }],
1406
+ /**
1407
+ * Padding Left
1408
+ * @see https://tailwindcss.com/docs/padding
1409
+ */
1410
+ pl: [{
1411
+ pl: h()
1412
+ }],
1413
+ /**
1414
+ * Margin
1415
+ * @see https://tailwindcss.com/docs/margin
1416
+ */
1417
+ m: [{
1418
+ m: _()
1419
+ }],
1420
+ /**
1421
+ * Margin X
1422
+ * @see https://tailwindcss.com/docs/margin
1423
+ */
1424
+ mx: [{
1425
+ mx: _()
1426
+ }],
1427
+ /**
1428
+ * Margin Y
1429
+ * @see https://tailwindcss.com/docs/margin
1430
+ */
1431
+ my: [{
1432
+ my: _()
1433
+ }],
1434
+ /**
1435
+ * Margin Start
1436
+ * @see https://tailwindcss.com/docs/margin
1437
+ */
1438
+ ms: [{
1439
+ ms: _()
1440
+ }],
1441
+ /**
1442
+ * Margin End
1443
+ * @see https://tailwindcss.com/docs/margin
1444
+ */
1445
+ me: [{
1446
+ me: _()
1447
+ }],
1448
+ /**
1449
+ * Margin Top
1450
+ * @see https://tailwindcss.com/docs/margin
1451
+ */
1452
+ mt: [{
1453
+ mt: _()
1454
+ }],
1455
+ /**
1456
+ * Margin Right
1457
+ * @see https://tailwindcss.com/docs/margin
1458
+ */
1459
+ mr: [{
1460
+ mr: _()
1461
+ }],
1462
+ /**
1463
+ * Margin Bottom
1464
+ * @see https://tailwindcss.com/docs/margin
1465
+ */
1466
+ mb: [{
1467
+ mb: _()
1468
+ }],
1469
+ /**
1470
+ * Margin Left
1471
+ * @see https://tailwindcss.com/docs/margin
1472
+ */
1473
+ ml: [{
1474
+ ml: _()
1475
+ }],
1476
+ /**
1477
+ * Space Between X
1478
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1479
+ */
1480
+ "space-x": [{
1481
+ "space-x": h()
1482
+ }],
1483
+ /**
1484
+ * Space Between X Reverse
1485
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1486
+ */
1487
+ "space-x-reverse": ["space-x-reverse"],
1488
+ /**
1489
+ * Space Between Y
1490
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1491
+ */
1492
+ "space-y": [{
1493
+ "space-y": h()
1494
+ }],
1495
+ /**
1496
+ * Space Between Y Reverse
1497
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1498
+ */
1499
+ "space-y-reverse": ["space-y-reverse"],
1500
+ // --------------
1501
+ // --- Sizing ---
1502
+ // --------------
1503
+ /**
1504
+ * Size
1505
+ * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
1506
+ */
1507
+ size: [{
1508
+ size: O()
1509
+ }],
1510
+ /**
1511
+ * Width
1512
+ * @see https://tailwindcss.com/docs/width
1513
+ */
1514
+ w: [{
1515
+ w: [c, "screen", ...O()]
1516
+ }],
1517
+ /**
1518
+ * Min-Width
1519
+ * @see https://tailwindcss.com/docs/min-width
1520
+ */
1521
+ "min-w": [{
1522
+ "min-w": [
1523
+ c,
1524
+ "screen",
1525
+ /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1526
+ "none",
1527
+ ...O()
1528
+ ]
1529
+ }],
1530
+ /**
1531
+ * Max-Width
1532
+ * @see https://tailwindcss.com/docs/max-width
1533
+ */
1534
+ "max-w": [{
1535
+ "max-w": [
1536
+ c,
1537
+ "screen",
1538
+ "none",
1539
+ /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1540
+ "prose",
1541
+ /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1542
+ {
1543
+ screen: [a]
1544
+ },
1545
+ ...O()
1546
+ ]
1547
+ }],
1548
+ /**
1549
+ * Height
1550
+ * @see https://tailwindcss.com/docs/height
1551
+ */
1552
+ h: [{
1553
+ h: ["screen", ...O()]
1554
+ }],
1555
+ /**
1556
+ * Min-Height
1557
+ * @see https://tailwindcss.com/docs/min-height
1558
+ */
1559
+ "min-h": [{
1560
+ "min-h": ["screen", "none", ...O()]
1561
+ }],
1562
+ /**
1563
+ * Max-Height
1564
+ * @see https://tailwindcss.com/docs/max-height
1565
+ */
1566
+ "max-h": [{
1567
+ "max-h": ["screen", ...O()]
1568
+ }],
1569
+ // ------------------
1570
+ // --- Typography ---
1571
+ // ------------------
1572
+ /**
1573
+ * Font Size
1574
+ * @see https://tailwindcss.com/docs/font-size
1575
+ */
1576
+ "font-size": [{
1577
+ text: ["base", n, ie, q]
1578
+ }],
1579
+ /**
1580
+ * Font Smoothing
1581
+ * @see https://tailwindcss.com/docs/font-smoothing
1582
+ */
1583
+ "font-smoothing": ["antialiased", "subpixel-antialiased"],
1584
+ /**
1585
+ * Font Style
1586
+ * @see https://tailwindcss.com/docs/font-style
1587
+ */
1588
+ "font-style": ["italic", "not-italic"],
1589
+ /**
1590
+ * Font Weight
1591
+ * @see https://tailwindcss.com/docs/font-weight
1592
+ */
1593
+ "font-weight": [{
1594
+ font: [r, m, ge]
1595
+ }],
1596
+ /**
1597
+ * Font Stretch
1598
+ * @see https://tailwindcss.com/docs/font-stretch
1599
+ */
1600
+ "font-stretch": [{
1601
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Le, f]
1602
+ }],
1603
+ /**
1604
+ * Font Family
1605
+ * @see https://tailwindcss.com/docs/font-family
1606
+ */
1607
+ "font-family": [{
1608
+ font: [Er, f, t]
1609
+ }],
1610
+ /**
1611
+ * Font Variant Numeric
1612
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1613
+ */
1614
+ "fvn-normal": ["normal-nums"],
1615
+ /**
1616
+ * Font Variant Numeric
1617
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1618
+ */
1619
+ "fvn-ordinal": ["ordinal"],
1620
+ /**
1621
+ * Font Variant Numeric
1622
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1623
+ */
1624
+ "fvn-slashed-zero": ["slashed-zero"],
1625
+ /**
1626
+ * Font Variant Numeric
1627
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1628
+ */
1629
+ "fvn-figure": ["lining-nums", "oldstyle-nums"],
1630
+ /**
1631
+ * Font Variant Numeric
1632
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1633
+ */
1634
+ "fvn-spacing": ["proportional-nums", "tabular-nums"],
1635
+ /**
1636
+ * Font Variant Numeric
1637
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1638
+ */
1639
+ "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
1640
+ /**
1641
+ * Letter Spacing
1642
+ * @see https://tailwindcss.com/docs/letter-spacing
1643
+ */
1644
+ tracking: [{
1645
+ tracking: [o, m, f]
1646
+ }],
1647
+ /**
1648
+ * Line Clamp
1649
+ * @see https://tailwindcss.com/docs/line-clamp
1650
+ */
1651
+ "line-clamp": [{
1652
+ "line-clamp": [w, "none", m, ge]
1653
+ }],
1654
+ /**
1655
+ * Line Height
1656
+ * @see https://tailwindcss.com/docs/line-height
1657
+ */
1658
+ leading: [{
1659
+ leading: [
1660
+ /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1661
+ s,
1662
+ ...h()
1663
+ ]
1664
+ }],
1665
+ /**
1666
+ * List Style Image
1667
+ * @see https://tailwindcss.com/docs/list-style-image
1668
+ */
1669
+ "list-image": [{
1670
+ "list-image": ["none", m, f]
1671
+ }],
1672
+ /**
1673
+ * List Style Position
1674
+ * @see https://tailwindcss.com/docs/list-style-position
1675
+ */
1676
+ "list-style-position": [{
1677
+ list: ["inside", "outside"]
1678
+ }],
1679
+ /**
1680
+ * List Style Type
1681
+ * @see https://tailwindcss.com/docs/list-style-type
1682
+ */
1683
+ "list-style-type": [{
1684
+ list: ["disc", "decimal", "none", m, f]
1685
+ }],
1686
+ /**
1687
+ * Text Alignment
1688
+ * @see https://tailwindcss.com/docs/text-align
1689
+ */
1690
+ "text-alignment": [{
1691
+ text: ["left", "center", "right", "justify", "start", "end"]
1692
+ }],
1693
+ /**
1694
+ * Placeholder Color
1695
+ * @deprecated since Tailwind CSS v3.0.0
1696
+ * @see https://v3.tailwindcss.com/docs/placeholder-color
1697
+ */
1698
+ "placeholder-color": [{
1699
+ placeholder: y()
1700
+ }],
1701
+ /**
1702
+ * Text Color
1703
+ * @see https://tailwindcss.com/docs/text-color
1704
+ */
1705
+ "text-color": [{
1706
+ text: y()
1707
+ }],
1708
+ /**
1709
+ * Text Decoration
1710
+ * @see https://tailwindcss.com/docs/text-decoration
1711
+ */
1712
+ "text-decoration": ["underline", "overline", "line-through", "no-underline"],
1713
+ /**
1714
+ * Text Decoration Style
1715
+ * @see https://tailwindcss.com/docs/text-decoration-style
1716
+ */
1717
+ "text-decoration-style": [{
1718
+ decoration: [...re(), "wavy"]
1719
+ }],
1720
+ /**
1721
+ * Text Decoration Thickness
1722
+ * @see https://tailwindcss.com/docs/text-decoration-thickness
1723
+ */
1724
+ "text-decoration-thickness": [{
1725
+ decoration: [w, "from-font", "auto", m, q]
1726
+ }],
1727
+ /**
1728
+ * Text Decoration Color
1729
+ * @see https://tailwindcss.com/docs/text-decoration-color
1730
+ */
1731
+ "text-decoration-color": [{
1732
+ decoration: y()
1733
+ }],
1734
+ /**
1735
+ * Text Underline Offset
1736
+ * @see https://tailwindcss.com/docs/text-underline-offset
1737
+ */
1738
+ "underline-offset": [{
1739
+ "underline-offset": [w, "auto", m, f]
1740
+ }],
1741
+ /**
1742
+ * Text Transform
1743
+ * @see https://tailwindcss.com/docs/text-transform
1744
+ */
1745
+ "text-transform": ["uppercase", "lowercase", "capitalize", "normal-case"],
1746
+ /**
1747
+ * Text Overflow
1748
+ * @see https://tailwindcss.com/docs/text-overflow
1749
+ */
1750
+ "text-overflow": ["truncate", "text-ellipsis", "text-clip"],
1751
+ /**
1752
+ * Text Wrap
1753
+ * @see https://tailwindcss.com/docs/text-wrap
1754
+ */
1755
+ "text-wrap": [{
1756
+ text: ["wrap", "nowrap", "balance", "pretty"]
1757
+ }],
1758
+ /**
1759
+ * Text Indent
1760
+ * @see https://tailwindcss.com/docs/text-indent
1761
+ */
1762
+ indent: [{
1763
+ indent: h()
1764
+ }],
1765
+ /**
1766
+ * Vertical Alignment
1767
+ * @see https://tailwindcss.com/docs/vertical-align
1768
+ */
1769
+ "vertical-align": [{
1770
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", m, f]
1771
+ }],
1772
+ /**
1773
+ * Whitespace
1774
+ * @see https://tailwindcss.com/docs/whitespace
1775
+ */
1776
+ whitespace: [{
1777
+ whitespace: ["normal", "nowrap", "pre", "pre-line", "pre-wrap", "break-spaces"]
1778
+ }],
1779
+ /**
1780
+ * Word Break
1781
+ * @see https://tailwindcss.com/docs/word-break
1782
+ */
1783
+ break: [{
1784
+ break: ["normal", "words", "all", "keep"]
1785
+ }],
1786
+ /**
1787
+ * Hyphens
1788
+ * @see https://tailwindcss.com/docs/hyphens
1789
+ */
1790
+ hyphens: [{
1791
+ hyphens: ["none", "manual", "auto"]
1792
+ }],
1793
+ /**
1794
+ * Content
1795
+ * @see https://tailwindcss.com/docs/content
1796
+ */
1797
+ content: [{
1798
+ content: ["none", m, f]
1799
+ }],
1800
+ // -------------------
1801
+ // --- Backgrounds ---
1802
+ // -------------------
1803
+ /**
1804
+ * Background Attachment
1805
+ * @see https://tailwindcss.com/docs/background-attachment
1806
+ */
1807
+ "bg-attachment": [{
1808
+ bg: ["fixed", "local", "scroll"]
1809
+ }],
1810
+ /**
1811
+ * Background Clip
1812
+ * @see https://tailwindcss.com/docs/background-clip
1813
+ */
1814
+ "bg-clip": [{
1815
+ "bg-clip": ["border", "padding", "content", "text"]
1816
+ }],
1817
+ /**
1818
+ * Background Origin
1819
+ * @see https://tailwindcss.com/docs/background-origin
1820
+ */
1821
+ "bg-origin": [{
1822
+ "bg-origin": ["border", "padding", "content"]
1823
+ }],
1824
+ /**
1825
+ * Background Position
1826
+ * @see https://tailwindcss.com/docs/background-position
1827
+ */
1828
+ "bg-position": [{
1829
+ bg: [...L(), Tr, Ir]
1830
+ }],
1831
+ /**
1832
+ * Background Repeat
1833
+ * @see https://tailwindcss.com/docs/background-repeat
1834
+ */
1835
+ "bg-repeat": [{
1836
+ bg: ["no-repeat", {
1837
+ repeat: ["", "x", "y", "space", "round"]
1838
+ }]
1839
+ }],
1840
+ /**
1841
+ * Background Size
1842
+ * @see https://tailwindcss.com/docs/background-size
1843
+ */
1844
+ "bg-size": [{
1845
+ bg: ["auto", "cover", "contain", Lr, Rr]
1846
+ }],
1847
+ /**
1848
+ * Background Image
1849
+ * @see https://tailwindcss.com/docs/background-image
1850
+ */
1851
+ "bg-image": [{
1852
+ bg: ["none", {
1853
+ linear: [{
1854
+ to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1855
+ }, K, m, f],
1856
+ radial: ["", m, f],
1857
+ conic: [K, m, f]
1858
+ }, Pr, Mr]
1859
+ }],
1860
+ /**
1861
+ * Background Color
1862
+ * @see https://tailwindcss.com/docs/background-color
1863
+ */
1864
+ "bg-color": [{
1865
+ bg: y()
1866
+ }],
1867
+ /**
1868
+ * Gradient Color Stops From Position
1869
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1870
+ */
1871
+ "gradient-from-pos": [{
1872
+ from: fe()
1873
+ }],
1874
+ /**
1875
+ * Gradient Color Stops Via Position
1876
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1877
+ */
1878
+ "gradient-via-pos": [{
1879
+ via: fe()
1880
+ }],
1881
+ /**
1882
+ * Gradient Color Stops To Position
1883
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1884
+ */
1885
+ "gradient-to-pos": [{
1886
+ to: fe()
1887
+ }],
1888
+ /**
1889
+ * Gradient Color Stops From
1890
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1891
+ */
1892
+ "gradient-from": [{
1893
+ from: y()
1894
+ }],
1895
+ /**
1896
+ * Gradient Color Stops Via
1897
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1898
+ */
1899
+ "gradient-via": [{
1900
+ via: y()
1901
+ }],
1902
+ /**
1903
+ * Gradient Color Stops To
1904
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1905
+ */
1906
+ "gradient-to": [{
1907
+ to: y()
1908
+ }],
1909
+ // ---------------
1910
+ // --- Borders ---
1911
+ // ---------------
1912
+ /**
1913
+ * Border Radius
1914
+ * @see https://tailwindcss.com/docs/border-radius
1915
+ */
1916
+ rounded: [{
1917
+ rounded: M()
1918
+ }],
1919
+ /**
1920
+ * Border Radius Start
1921
+ * @see https://tailwindcss.com/docs/border-radius
1922
+ */
1923
+ "rounded-s": [{
1924
+ "rounded-s": M()
1925
+ }],
1926
+ /**
1927
+ * Border Radius End
1928
+ * @see https://tailwindcss.com/docs/border-radius
1929
+ */
1930
+ "rounded-e": [{
1931
+ "rounded-e": M()
1932
+ }],
1933
+ /**
1934
+ * Border Radius Top
1935
+ * @see https://tailwindcss.com/docs/border-radius
1936
+ */
1937
+ "rounded-t": [{
1938
+ "rounded-t": M()
1939
+ }],
1940
+ /**
1941
+ * Border Radius Right
1942
+ * @see https://tailwindcss.com/docs/border-radius
1943
+ */
1944
+ "rounded-r": [{
1945
+ "rounded-r": M()
1946
+ }],
1947
+ /**
1948
+ * Border Radius Bottom
1949
+ * @see https://tailwindcss.com/docs/border-radius
1950
+ */
1951
+ "rounded-b": [{
1952
+ "rounded-b": M()
1953
+ }],
1954
+ /**
1955
+ * Border Radius Left
1956
+ * @see https://tailwindcss.com/docs/border-radius
1957
+ */
1958
+ "rounded-l": [{
1959
+ "rounded-l": M()
1960
+ }],
1961
+ /**
1962
+ * Border Radius Start Start
1963
+ * @see https://tailwindcss.com/docs/border-radius
1964
+ */
1965
+ "rounded-ss": [{
1966
+ "rounded-ss": M()
1967
+ }],
1968
+ /**
1969
+ * Border Radius Start End
1970
+ * @see https://tailwindcss.com/docs/border-radius
1971
+ */
1972
+ "rounded-se": [{
1973
+ "rounded-se": M()
1974
+ }],
1975
+ /**
1976
+ * Border Radius End End
1977
+ * @see https://tailwindcss.com/docs/border-radius
1978
+ */
1979
+ "rounded-ee": [{
1980
+ "rounded-ee": M()
1981
+ }],
1982
+ /**
1983
+ * Border Radius End Start
1984
+ * @see https://tailwindcss.com/docs/border-radius
1985
+ */
1986
+ "rounded-es": [{
1987
+ "rounded-es": M()
1988
+ }],
1989
+ /**
1990
+ * Border Radius Top Left
1991
+ * @see https://tailwindcss.com/docs/border-radius
1992
+ */
1993
+ "rounded-tl": [{
1994
+ "rounded-tl": M()
1995
+ }],
1996
+ /**
1997
+ * Border Radius Top Right
1998
+ * @see https://tailwindcss.com/docs/border-radius
1999
+ */
2000
+ "rounded-tr": [{
2001
+ "rounded-tr": M()
2002
+ }],
2003
+ /**
2004
+ * Border Radius Bottom Right
2005
+ * @see https://tailwindcss.com/docs/border-radius
2006
+ */
2007
+ "rounded-br": [{
2008
+ "rounded-br": M()
2009
+ }],
2010
+ /**
2011
+ * Border Radius Bottom Left
2012
+ * @see https://tailwindcss.com/docs/border-radius
2013
+ */
2014
+ "rounded-bl": [{
2015
+ "rounded-bl": M()
2016
+ }],
2017
+ /**
2018
+ * Border Width
2019
+ * @see https://tailwindcss.com/docs/border-width
2020
+ */
2021
+ "border-w": [{
2022
+ border: T()
2023
+ }],
2024
+ /**
2025
+ * Border Width X
2026
+ * @see https://tailwindcss.com/docs/border-width
2027
+ */
2028
+ "border-w-x": [{
2029
+ "border-x": T()
2030
+ }],
2031
+ /**
2032
+ * Border Width Y
2033
+ * @see https://tailwindcss.com/docs/border-width
2034
+ */
2035
+ "border-w-y": [{
2036
+ "border-y": T()
2037
+ }],
2038
+ /**
2039
+ * Border Width Start
2040
+ * @see https://tailwindcss.com/docs/border-width
2041
+ */
2042
+ "border-w-s": [{
2043
+ "border-s": T()
2044
+ }],
2045
+ /**
2046
+ * Border Width End
2047
+ * @see https://tailwindcss.com/docs/border-width
2048
+ */
2049
+ "border-w-e": [{
2050
+ "border-e": T()
2051
+ }],
2052
+ /**
2053
+ * Border Width Top
2054
+ * @see https://tailwindcss.com/docs/border-width
2055
+ */
2056
+ "border-w-t": [{
2057
+ "border-t": T()
2058
+ }],
2059
+ /**
2060
+ * Border Width Right
2061
+ * @see https://tailwindcss.com/docs/border-width
2062
+ */
2063
+ "border-w-r": [{
2064
+ "border-r": T()
2065
+ }],
2066
+ /**
2067
+ * Border Width Bottom
2068
+ * @see https://tailwindcss.com/docs/border-width
2069
+ */
2070
+ "border-w-b": [{
2071
+ "border-b": T()
2072
+ }],
2073
+ /**
2074
+ * Border Width Left
2075
+ * @see https://tailwindcss.com/docs/border-width
2076
+ */
2077
+ "border-w-l": [{
2078
+ "border-l": T()
2079
+ }],
2080
+ /**
2081
+ * Divide Width X
2082
+ * @see https://tailwindcss.com/docs/border-width#between-children
2083
+ */
2084
+ "divide-x": [{
2085
+ "divide-x": T()
2086
+ }],
2087
+ /**
2088
+ * Divide Width X Reverse
2089
+ * @see https://tailwindcss.com/docs/border-width#between-children
2090
+ */
2091
+ "divide-x-reverse": ["divide-x-reverse"],
2092
+ /**
2093
+ * Divide Width Y
2094
+ * @see https://tailwindcss.com/docs/border-width#between-children
2095
+ */
2096
+ "divide-y": [{
2097
+ "divide-y": T()
2098
+ }],
2099
+ /**
2100
+ * Divide Width Y Reverse
2101
+ * @see https://tailwindcss.com/docs/border-width#between-children
2102
+ */
2103
+ "divide-y-reverse": ["divide-y-reverse"],
2104
+ /**
2105
+ * Border Style
2106
+ * @see https://tailwindcss.com/docs/border-style
2107
+ */
2108
+ "border-style": [{
2109
+ border: [...re(), "hidden", "none"]
2110
+ }],
2111
+ /**
2112
+ * Divide Style
2113
+ * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
2114
+ */
2115
+ "divide-style": [{
2116
+ divide: [...re(), "hidden", "none"]
2117
+ }],
2118
+ /**
2119
+ * Border Color
2120
+ * @see https://tailwindcss.com/docs/border-color
2121
+ */
2122
+ "border-color": [{
2123
+ border: y()
2124
+ }],
2125
+ /**
2126
+ * Border Color X
2127
+ * @see https://tailwindcss.com/docs/border-color
2128
+ */
2129
+ "border-color-x": [{
2130
+ "border-x": y()
2131
+ }],
2132
+ /**
2133
+ * Border Color Y
2134
+ * @see https://tailwindcss.com/docs/border-color
2135
+ */
2136
+ "border-color-y": [{
2137
+ "border-y": y()
2138
+ }],
2139
+ /**
2140
+ * Border Color S
2141
+ * @see https://tailwindcss.com/docs/border-color
2142
+ */
2143
+ "border-color-s": [{
2144
+ "border-s": y()
2145
+ }],
2146
+ /**
2147
+ * Border Color E
2148
+ * @see https://tailwindcss.com/docs/border-color
2149
+ */
2150
+ "border-color-e": [{
2151
+ "border-e": y()
2152
+ }],
2153
+ /**
2154
+ * Border Color Top
2155
+ * @see https://tailwindcss.com/docs/border-color
2156
+ */
2157
+ "border-color-t": [{
2158
+ "border-t": y()
2159
+ }],
2160
+ /**
2161
+ * Border Color Right
2162
+ * @see https://tailwindcss.com/docs/border-color
2163
+ */
2164
+ "border-color-r": [{
2165
+ "border-r": y()
2166
+ }],
2167
+ /**
2168
+ * Border Color Bottom
2169
+ * @see https://tailwindcss.com/docs/border-color
2170
+ */
2171
+ "border-color-b": [{
2172
+ "border-b": y()
2173
+ }],
2174
+ /**
2175
+ * Border Color Left
2176
+ * @see https://tailwindcss.com/docs/border-color
2177
+ */
2178
+ "border-color-l": [{
2179
+ "border-l": y()
2180
+ }],
2181
+ /**
2182
+ * Divide Color
2183
+ * @see https://tailwindcss.com/docs/divide-color
2184
+ */
2185
+ "divide-color": [{
2186
+ divide: y()
2187
+ }],
2188
+ /**
2189
+ * Outline Style
2190
+ * @see https://tailwindcss.com/docs/outline-style
2191
+ */
2192
+ "outline-style": [{
2193
+ outline: [...re(), "none", "hidden"]
2194
+ }],
2195
+ /**
2196
+ * Outline Offset
2197
+ * @see https://tailwindcss.com/docs/outline-offset
2198
+ */
2199
+ "outline-offset": [{
2200
+ "outline-offset": [w, m, f]
2201
+ }],
2202
+ /**
2203
+ * Outline Width
2204
+ * @see https://tailwindcss.com/docs/outline-width
2205
+ */
2206
+ "outline-w": [{
2207
+ outline: ["", w, ie, q]
2208
+ }],
2209
+ /**
2210
+ * Outline Color
2211
+ * @see https://tailwindcss.com/docs/outline-color
2212
+ */
2213
+ "outline-color": [{
2214
+ outline: [e]
2215
+ }],
2216
+ // ---------------
2217
+ // --- Effects ---
2218
+ // ---------------
2219
+ /**
2220
+ * Box Shadow
2221
+ * @see https://tailwindcss.com/docs/box-shadow
2222
+ */
2223
+ shadow: [{
2224
+ shadow: [
2225
+ // Deprecated since Tailwind CSS v4.0.0
2226
+ "",
2227
+ "none",
2228
+ p,
2229
+ _r,
2230
+ kr
2231
+ ]
2232
+ }],
2233
+ /**
2234
+ * Box Shadow Color
2235
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
2236
+ */
2237
+ "shadow-color": [{
2238
+ shadow: y()
2239
+ }],
2240
+ /**
2241
+ * Inset Box Shadow
2242
+ * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
2243
+ */
2244
+ "inset-shadow": [{
2245
+ "inset-shadow": ["none", m, f, g]
2246
+ }],
2247
+ /**
2248
+ * Inset Box Shadow Color
2249
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
2250
+ */
2251
+ "inset-shadow-color": [{
2252
+ "inset-shadow": y()
2253
+ }],
2254
+ /**
2255
+ * Ring Width
2256
+ * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
2257
+ */
2258
+ "ring-w": [{
2259
+ ring: T()
2260
+ }],
2261
+ /**
2262
+ * Ring Width Inset
2263
+ * @see https://v3.tailwindcss.com/docs/ring-width#inset-rings
2264
+ * @deprecated since Tailwind CSS v4.0.0
2265
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2266
+ */
2267
+ "ring-w-inset": ["ring-inset"],
2268
+ /**
2269
+ * Ring Color
2270
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
2271
+ */
2272
+ "ring-color": [{
2273
+ ring: y()
2274
+ }],
2275
+ /**
2276
+ * Ring Offset Width
2277
+ * @see https://v3.tailwindcss.com/docs/ring-offset-width
2278
+ * @deprecated since Tailwind CSS v4.0.0
2279
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2280
+ */
2281
+ "ring-offset-w": [{
2282
+ "ring-offset": [w, q]
2283
+ }],
2284
+ /**
2285
+ * Ring Offset Color
2286
+ * @see https://v3.tailwindcss.com/docs/ring-offset-color
2287
+ * @deprecated since Tailwind CSS v4.0.0
2288
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2289
+ */
2290
+ "ring-offset-color": [{
2291
+ "ring-offset": y()
2292
+ }],
2293
+ /**
2294
+ * Inset Ring Width
2295
+ * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
2296
+ */
2297
+ "inset-ring-w": [{
2298
+ "inset-ring": T()
2299
+ }],
2300
+ /**
2301
+ * Inset Ring Color
2302
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
2303
+ */
2304
+ "inset-ring-color": [{
2305
+ "inset-ring": y()
2306
+ }],
2307
+ /**
2308
+ * Opacity
2309
+ * @see https://tailwindcss.com/docs/opacity
2310
+ */
2311
+ opacity: [{
2312
+ opacity: [w, m, f]
2313
+ }],
2314
+ /**
2315
+ * Mix Blend Mode
2316
+ * @see https://tailwindcss.com/docs/mix-blend-mode
2317
+ */
2318
+ "mix-blend": [{
2319
+ "mix-blend": [...Re(), "plus-darker", "plus-lighter"]
2320
+ }],
2321
+ /**
2322
+ * Background Blend Mode
2323
+ * @see https://tailwindcss.com/docs/background-blend-mode
2324
+ */
2325
+ "bg-blend": [{
2326
+ "bg-blend": Re()
2327
+ }],
2328
+ // ---------------
2329
+ // --- Filters ---
2330
+ // ---------------
2331
+ /**
2332
+ * Filter
2333
+ * @see https://tailwindcss.com/docs/filter
2334
+ */
2335
+ filter: [{
2336
+ filter: [
2337
+ // Deprecated since Tailwind CSS v3.0.0
2338
+ "",
2339
+ "none",
2340
+ m,
2341
+ f
2342
+ ]
2343
+ }],
2344
+ /**
2345
+ * Blur
2346
+ * @see https://tailwindcss.com/docs/blur
2347
+ */
2348
+ blur: [{
2349
+ blur: Ie()
2350
+ }],
2351
+ /**
2352
+ * Brightness
2353
+ * @see https://tailwindcss.com/docs/brightness
2354
+ */
2355
+ brightness: [{
2356
+ brightness: [w, m, f]
2357
+ }],
2358
+ /**
2359
+ * Contrast
2360
+ * @see https://tailwindcss.com/docs/contrast
2361
+ */
2362
+ contrast: [{
2363
+ contrast: [w, m, f]
2364
+ }],
2365
+ /**
2366
+ * Drop Shadow
2367
+ * @see https://tailwindcss.com/docs/drop-shadow
2368
+ */
2369
+ "drop-shadow": [{
2370
+ "drop-shadow": [
2371
+ // Deprecated since Tailwind CSS v4.0.0
2372
+ "",
2373
+ "none",
2374
+ v,
2375
+ m,
2376
+ f
2377
+ ]
2378
+ }],
2379
+ /**
2380
+ * Grayscale
2381
+ * @see https://tailwindcss.com/docs/grayscale
2382
+ */
2383
+ grayscale: [{
2384
+ grayscale: ["", w, m, f]
2385
+ }],
2386
+ /**
2387
+ * Hue Rotate
2388
+ * @see https://tailwindcss.com/docs/hue-rotate
2389
+ */
2390
+ "hue-rotate": [{
2391
+ "hue-rotate": [w, m, f]
2392
+ }],
2393
+ /**
2394
+ * Invert
2395
+ * @see https://tailwindcss.com/docs/invert
2396
+ */
2397
+ invert: [{
2398
+ invert: ["", w, m, f]
2399
+ }],
2400
+ /**
2401
+ * Saturate
2402
+ * @see https://tailwindcss.com/docs/saturate
2403
+ */
2404
+ saturate: [{
2405
+ saturate: [w, m, f]
2406
+ }],
2407
+ /**
2408
+ * Sepia
2409
+ * @see https://tailwindcss.com/docs/sepia
2410
+ */
2411
+ sepia: [{
2412
+ sepia: ["", w, m, f]
2413
+ }],
2414
+ /**
2415
+ * Backdrop Filter
2416
+ * @see https://tailwindcss.com/docs/backdrop-filter
2417
+ */
2418
+ "backdrop-filter": [{
2419
+ "backdrop-filter": [
2420
+ // Deprecated since Tailwind CSS v3.0.0
2421
+ "",
2422
+ "none",
2423
+ m,
2424
+ f
2425
+ ]
2426
+ }],
2427
+ /**
2428
+ * Backdrop Blur
2429
+ * @see https://tailwindcss.com/docs/backdrop-blur
2430
+ */
2431
+ "backdrop-blur": [{
2432
+ "backdrop-blur": Ie()
2433
+ }],
2434
+ /**
2435
+ * Backdrop Brightness
2436
+ * @see https://tailwindcss.com/docs/backdrop-brightness
2437
+ */
2438
+ "backdrop-brightness": [{
2439
+ "backdrop-brightness": [w, m, f]
2440
+ }],
2441
+ /**
2442
+ * Backdrop Contrast
2443
+ * @see https://tailwindcss.com/docs/backdrop-contrast
2444
+ */
2445
+ "backdrop-contrast": [{
2446
+ "backdrop-contrast": [w, m, f]
2447
+ }],
2448
+ /**
2449
+ * Backdrop Grayscale
2450
+ * @see https://tailwindcss.com/docs/backdrop-grayscale
2451
+ */
2452
+ "backdrop-grayscale": [{
2453
+ "backdrop-grayscale": ["", w, m, f]
2454
+ }],
2455
+ /**
2456
+ * Backdrop Hue Rotate
2457
+ * @see https://tailwindcss.com/docs/backdrop-hue-rotate
2458
+ */
2459
+ "backdrop-hue-rotate": [{
2460
+ "backdrop-hue-rotate": [w, m, f]
2461
+ }],
2462
+ /**
2463
+ * Backdrop Invert
2464
+ * @see https://tailwindcss.com/docs/backdrop-invert
2465
+ */
2466
+ "backdrop-invert": [{
2467
+ "backdrop-invert": ["", w, m, f]
2468
+ }],
2469
+ /**
2470
+ * Backdrop Opacity
2471
+ * @see https://tailwindcss.com/docs/backdrop-opacity
2472
+ */
2473
+ "backdrop-opacity": [{
2474
+ "backdrop-opacity": [w, m, f]
2475
+ }],
2476
+ /**
2477
+ * Backdrop Saturate
2478
+ * @see https://tailwindcss.com/docs/backdrop-saturate
2479
+ */
2480
+ "backdrop-saturate": [{
2481
+ "backdrop-saturate": [w, m, f]
2482
+ }],
2483
+ /**
2484
+ * Backdrop Sepia
2485
+ * @see https://tailwindcss.com/docs/backdrop-sepia
2486
+ */
2487
+ "backdrop-sepia": [{
2488
+ "backdrop-sepia": ["", w, m, f]
2489
+ }],
2490
+ // --------------
2491
+ // --- Tables ---
2492
+ // --------------
2493
+ /**
2494
+ * Border Collapse
2495
+ * @see https://tailwindcss.com/docs/border-collapse
2496
+ */
2497
+ "border-collapse": [{
2498
+ border: ["collapse", "separate"]
2499
+ }],
2500
+ /**
2501
+ * Border Spacing
2502
+ * @see https://tailwindcss.com/docs/border-spacing
2503
+ */
2504
+ "border-spacing": [{
2505
+ "border-spacing": h()
2506
+ }],
2507
+ /**
2508
+ * Border Spacing X
2509
+ * @see https://tailwindcss.com/docs/border-spacing
2510
+ */
2511
+ "border-spacing-x": [{
2512
+ "border-spacing-x": h()
2513
+ }],
2514
+ /**
2515
+ * Border Spacing Y
2516
+ * @see https://tailwindcss.com/docs/border-spacing
2517
+ */
2518
+ "border-spacing-y": [{
2519
+ "border-spacing-y": h()
2520
+ }],
2521
+ /**
2522
+ * Table Layout
2523
+ * @see https://tailwindcss.com/docs/table-layout
2524
+ */
2525
+ "table-layout": [{
2526
+ table: ["auto", "fixed"]
2527
+ }],
2528
+ /**
2529
+ * Caption Side
2530
+ * @see https://tailwindcss.com/docs/caption-side
2531
+ */
2532
+ caption: [{
2533
+ caption: ["top", "bottom"]
2534
+ }],
2535
+ // ---------------------------------
2536
+ // --- Transitions and Animation ---
2537
+ // ---------------------------------
2538
+ /**
2539
+ * Transition Property
2540
+ * @see https://tailwindcss.com/docs/transition-property
2541
+ */
2542
+ transition: [{
2543
+ transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", m, f]
2544
+ }],
2545
+ /**
2546
+ * Transition Behavior
2547
+ * @see https://tailwindcss.com/docs/transition-behavior
2548
+ */
2549
+ "transition-behavior": [{
2550
+ transition: ["normal", "discrete"]
2551
+ }],
2552
+ /**
2553
+ * Transition Duration
2554
+ * @see https://tailwindcss.com/docs/transition-duration
2555
+ */
2556
+ duration: [{
2557
+ duration: [w, "initial", m, f]
2558
+ }],
2559
+ /**
2560
+ * Transition Timing Function
2561
+ * @see https://tailwindcss.com/docs/transition-timing-function
2562
+ */
2563
+ ease: [{
2564
+ ease: ["linear", "initial", F, m, f]
2565
+ }],
2566
+ /**
2567
+ * Transition Delay
2568
+ * @see https://tailwindcss.com/docs/transition-delay
2569
+ */
2570
+ delay: [{
2571
+ delay: [w, m, f]
2572
+ }],
2573
+ /**
2574
+ * Animation
2575
+ * @see https://tailwindcss.com/docs/animation
2576
+ */
2577
+ animate: [{
2578
+ animate: ["none", N, m, f]
2579
+ }],
2580
+ // ------------------
2581
+ // --- Transforms ---
2582
+ // ------------------
2583
+ /**
2584
+ * Backface Visibility
2585
+ * @see https://tailwindcss.com/docs/backface-visibility
2586
+ */
2587
+ backface: [{
2588
+ backface: ["hidden", "visible"]
2589
+ }],
2590
+ /**
2591
+ * Perspective
2592
+ * @see https://tailwindcss.com/docs/perspective
2593
+ */
2594
+ perspective: [{
2595
+ perspective: [b, m, f]
2596
+ }],
2597
+ /**
2598
+ * Perspective Origin
2599
+ * @see https://tailwindcss.com/docs/perspective-origin
2600
+ */
2601
+ "perspective-origin": [{
2602
+ "perspective-origin": Me()
2603
+ }],
2604
+ /**
2605
+ * Rotate
2606
+ * @see https://tailwindcss.com/docs/rotate
2607
+ */
2608
+ rotate: [{
2609
+ rotate: ne()
2610
+ }],
2611
+ /**
2612
+ * Rotate X
2613
+ * @see https://tailwindcss.com/docs/rotate
2614
+ */
2615
+ "rotate-x": [{
2616
+ "rotate-x": ne()
2617
+ }],
2618
+ /**
2619
+ * Rotate Y
2620
+ * @see https://tailwindcss.com/docs/rotate
2621
+ */
2622
+ "rotate-y": [{
2623
+ "rotate-y": ne()
2624
+ }],
2625
+ /**
2626
+ * Rotate Z
2627
+ * @see https://tailwindcss.com/docs/rotate
2628
+ */
2629
+ "rotate-z": [{
2630
+ "rotate-z": ne()
2631
+ }],
2632
+ /**
2633
+ * Scale
2634
+ * @see https://tailwindcss.com/docs/scale
2635
+ */
2636
+ scale: [{
2637
+ scale: oe()
2638
+ }],
2639
+ /**
2640
+ * Scale X
2641
+ * @see https://tailwindcss.com/docs/scale
2642
+ */
2643
+ "scale-x": [{
2644
+ "scale-x": oe()
2645
+ }],
2646
+ /**
2647
+ * Scale Y
2648
+ * @see https://tailwindcss.com/docs/scale
2649
+ */
2650
+ "scale-y": [{
2651
+ "scale-y": oe()
2652
+ }],
2653
+ /**
2654
+ * Scale Z
2655
+ * @see https://tailwindcss.com/docs/scale
2656
+ */
2657
+ "scale-z": [{
2658
+ "scale-z": oe()
2659
+ }],
2660
+ /**
2661
+ * Scale 3D
2662
+ * @see https://tailwindcss.com/docs/scale
2663
+ */
2664
+ "scale-3d": ["scale-3d"],
2665
+ /**
2666
+ * Skew
2667
+ * @see https://tailwindcss.com/docs/skew
2668
+ */
2669
+ skew: [{
2670
+ skew: me()
2671
+ }],
2672
+ /**
2673
+ * Skew X
2674
+ * @see https://tailwindcss.com/docs/skew
2675
+ */
2676
+ "skew-x": [{
2677
+ "skew-x": me()
2678
+ }],
2679
+ /**
2680
+ * Skew Y
2681
+ * @see https://tailwindcss.com/docs/skew
2682
+ */
2683
+ "skew-y": [{
2684
+ "skew-y": me()
2685
+ }],
2686
+ /**
2687
+ * Transform
2688
+ * @see https://tailwindcss.com/docs/transform
2689
+ */
2690
+ transform: [{
2691
+ transform: [m, f, "", "none", "gpu", "cpu"]
2692
+ }],
2693
+ /**
2694
+ * Transform Origin
2695
+ * @see https://tailwindcss.com/docs/transform-origin
2696
+ */
2697
+ "transform-origin": [{
2698
+ origin: Me()
2699
+ }],
2700
+ /**
2701
+ * Transform Style
2702
+ * @see https://tailwindcss.com/docs/transform-style
2703
+ */
2704
+ "transform-style": [{
2705
+ transform: ["3d", "flat"]
2706
+ }],
2707
+ /**
2708
+ * Translate
2709
+ * @see https://tailwindcss.com/docs/translate
2710
+ */
2711
+ translate: [{
2712
+ translate: se()
2713
+ }],
2714
+ /**
2715
+ * Translate X
2716
+ * @see https://tailwindcss.com/docs/translate
2717
+ */
2718
+ "translate-x": [{
2719
+ "translate-x": se()
2720
+ }],
2721
+ /**
2722
+ * Translate Y
2723
+ * @see https://tailwindcss.com/docs/translate
2724
+ */
2725
+ "translate-y": [{
2726
+ "translate-y": se()
2727
+ }],
2728
+ /**
2729
+ * Translate Z
2730
+ * @see https://tailwindcss.com/docs/translate
2731
+ */
2732
+ "translate-z": [{
2733
+ "translate-z": se()
2734
+ }],
2735
+ /**
2736
+ * Translate None
2737
+ * @see https://tailwindcss.com/docs/translate
2738
+ */
2739
+ "translate-none": ["translate-none"],
2740
+ // ---------------------
2741
+ // --- Interactivity ---
2742
+ // ---------------------
2743
+ /**
2744
+ * Accent Color
2745
+ * @see https://tailwindcss.com/docs/accent-color
2746
+ */
2747
+ accent: [{
2748
+ accent: y()
2749
+ }],
2750
+ /**
2751
+ * Appearance
2752
+ * @see https://tailwindcss.com/docs/appearance
2753
+ */
2754
+ appearance: [{
2755
+ appearance: ["none", "auto"]
2756
+ }],
2757
+ /**
2758
+ * Caret Color
2759
+ * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
2760
+ */
2761
+ "caret-color": [{
2762
+ caret: y()
2763
+ }],
2764
+ /**
2765
+ * Color Scheme
2766
+ * @see https://tailwindcss.com/docs/color-scheme
2767
+ */
2768
+ "color-scheme": [{
2769
+ scheme: ["normal", "dark", "light", "light-dark", "only-dark", "only-light"]
2770
+ }],
2771
+ /**
2772
+ * Cursor
2773
+ * @see https://tailwindcss.com/docs/cursor
2774
+ */
2775
+ cursor: [{
2776
+ cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", m, f]
2777
+ }],
2778
+ /**
2779
+ * Field Sizing
2780
+ * @see https://tailwindcss.com/docs/field-sizing
2781
+ */
2782
+ "field-sizing": [{
2783
+ "field-sizing": ["fixed", "content"]
2784
+ }],
2785
+ /**
2786
+ * Pointer Events
2787
+ * @see https://tailwindcss.com/docs/pointer-events
2788
+ */
2789
+ "pointer-events": [{
2790
+ "pointer-events": ["auto", "none"]
2791
+ }],
2792
+ /**
2793
+ * Resize
2794
+ * @see https://tailwindcss.com/docs/resize
2795
+ */
2796
+ resize: [{
2797
+ resize: ["none", "", "y", "x"]
2798
+ }],
2799
+ /**
2800
+ * Scroll Behavior
2801
+ * @see https://tailwindcss.com/docs/scroll-behavior
2802
+ */
2803
+ "scroll-behavior": [{
2804
+ scroll: ["auto", "smooth"]
2805
+ }],
2806
+ /**
2807
+ * Scroll Margin
2808
+ * @see https://tailwindcss.com/docs/scroll-margin
2809
+ */
2810
+ "scroll-m": [{
2811
+ "scroll-m": h()
2812
+ }],
2813
+ /**
2814
+ * Scroll Margin X
2815
+ * @see https://tailwindcss.com/docs/scroll-margin
2816
+ */
2817
+ "scroll-mx": [{
2818
+ "scroll-mx": h()
2819
+ }],
2820
+ /**
2821
+ * Scroll Margin Y
2822
+ * @see https://tailwindcss.com/docs/scroll-margin
2823
+ */
2824
+ "scroll-my": [{
2825
+ "scroll-my": h()
2826
+ }],
2827
+ /**
2828
+ * Scroll Margin Start
2829
+ * @see https://tailwindcss.com/docs/scroll-margin
2830
+ */
2831
+ "scroll-ms": [{
2832
+ "scroll-ms": h()
2833
+ }],
2834
+ /**
2835
+ * Scroll Margin End
2836
+ * @see https://tailwindcss.com/docs/scroll-margin
2837
+ */
2838
+ "scroll-me": [{
2839
+ "scroll-me": h()
2840
+ }],
2841
+ /**
2842
+ * Scroll Margin Top
2843
+ * @see https://tailwindcss.com/docs/scroll-margin
2844
+ */
2845
+ "scroll-mt": [{
2846
+ "scroll-mt": h()
2847
+ }],
2848
+ /**
2849
+ * Scroll Margin Right
2850
+ * @see https://tailwindcss.com/docs/scroll-margin
2851
+ */
2852
+ "scroll-mr": [{
2853
+ "scroll-mr": h()
2854
+ }],
2855
+ /**
2856
+ * Scroll Margin Bottom
2857
+ * @see https://tailwindcss.com/docs/scroll-margin
2858
+ */
2859
+ "scroll-mb": [{
2860
+ "scroll-mb": h()
2861
+ }],
2862
+ /**
2863
+ * Scroll Margin Left
2864
+ * @see https://tailwindcss.com/docs/scroll-margin
2865
+ */
2866
+ "scroll-ml": [{
2867
+ "scroll-ml": h()
2868
+ }],
2869
+ /**
2870
+ * Scroll Padding
2871
+ * @see https://tailwindcss.com/docs/scroll-padding
2872
+ */
2873
+ "scroll-p": [{
2874
+ "scroll-p": h()
2875
+ }],
2876
+ /**
2877
+ * Scroll Padding X
2878
+ * @see https://tailwindcss.com/docs/scroll-padding
2879
+ */
2880
+ "scroll-px": [{
2881
+ "scroll-px": h()
2882
+ }],
2883
+ /**
2884
+ * Scroll Padding Y
2885
+ * @see https://tailwindcss.com/docs/scroll-padding
2886
+ */
2887
+ "scroll-py": [{
2888
+ "scroll-py": h()
2889
+ }],
2890
+ /**
2891
+ * Scroll Padding Start
2892
+ * @see https://tailwindcss.com/docs/scroll-padding
2893
+ */
2894
+ "scroll-ps": [{
2895
+ "scroll-ps": h()
2896
+ }],
2897
+ /**
2898
+ * Scroll Padding End
2899
+ * @see https://tailwindcss.com/docs/scroll-padding
2900
+ */
2901
+ "scroll-pe": [{
2902
+ "scroll-pe": h()
2903
+ }],
2904
+ /**
2905
+ * Scroll Padding Top
2906
+ * @see https://tailwindcss.com/docs/scroll-padding
2907
+ */
2908
+ "scroll-pt": [{
2909
+ "scroll-pt": h()
2910
+ }],
2911
+ /**
2912
+ * Scroll Padding Right
2913
+ * @see https://tailwindcss.com/docs/scroll-padding
2914
+ */
2915
+ "scroll-pr": [{
2916
+ "scroll-pr": h()
2917
+ }],
2918
+ /**
2919
+ * Scroll Padding Bottom
2920
+ * @see https://tailwindcss.com/docs/scroll-padding
2921
+ */
2922
+ "scroll-pb": [{
2923
+ "scroll-pb": h()
2924
+ }],
2925
+ /**
2926
+ * Scroll Padding Left
2927
+ * @see https://tailwindcss.com/docs/scroll-padding
2928
+ */
2929
+ "scroll-pl": [{
2930
+ "scroll-pl": h()
2931
+ }],
2932
+ /**
2933
+ * Scroll Snap Align
2934
+ * @see https://tailwindcss.com/docs/scroll-snap-align
2935
+ */
2936
+ "snap-align": [{
2937
+ snap: ["start", "end", "center", "align-none"]
2938
+ }],
2939
+ /**
2940
+ * Scroll Snap Stop
2941
+ * @see https://tailwindcss.com/docs/scroll-snap-stop
2942
+ */
2943
+ "snap-stop": [{
2944
+ snap: ["normal", "always"]
2945
+ }],
2946
+ /**
2947
+ * Scroll Snap Type
2948
+ * @see https://tailwindcss.com/docs/scroll-snap-type
2949
+ */
2950
+ "snap-type": [{
2951
+ snap: ["none", "x", "y", "both"]
2952
+ }],
2953
+ /**
2954
+ * Scroll Snap Type Strictness
2955
+ * @see https://tailwindcss.com/docs/scroll-snap-type
2956
+ */
2957
+ "snap-strictness": [{
2958
+ snap: ["mandatory", "proximity"]
2959
+ }],
2960
+ /**
2961
+ * Touch Action
2962
+ * @see https://tailwindcss.com/docs/touch-action
2963
+ */
2964
+ touch: [{
2965
+ touch: ["auto", "none", "manipulation"]
2966
+ }],
2967
+ /**
2968
+ * Touch Action X
2969
+ * @see https://tailwindcss.com/docs/touch-action
2970
+ */
2971
+ "touch-x": [{
2972
+ "touch-pan": ["x", "left", "right"]
2973
+ }],
2974
+ /**
2975
+ * Touch Action Y
2976
+ * @see https://tailwindcss.com/docs/touch-action
2977
+ */
2978
+ "touch-y": [{
2979
+ "touch-pan": ["y", "up", "down"]
2980
+ }],
2981
+ /**
2982
+ * Touch Action Pinch Zoom
2983
+ * @see https://tailwindcss.com/docs/touch-action
2984
+ */
2985
+ "touch-pz": ["touch-pinch-zoom"],
2986
+ /**
2987
+ * User Select
2988
+ * @see https://tailwindcss.com/docs/user-select
2989
+ */
2990
+ select: [{
2991
+ select: ["none", "text", "all", "auto"]
2992
+ }],
2993
+ /**
2994
+ * Will Change
2995
+ * @see https://tailwindcss.com/docs/will-change
2996
+ */
2997
+ "will-change": [{
2998
+ "will-change": ["auto", "scroll", "contents", "transform", m, f]
2999
+ }],
3000
+ // -----------
3001
+ // --- SVG ---
3002
+ // -----------
3003
+ /**
3004
+ * Fill
3005
+ * @see https://tailwindcss.com/docs/fill
3006
+ */
3007
+ fill: [{
3008
+ fill: ["none", ...y()]
3009
+ }],
3010
+ /**
3011
+ * Stroke Width
3012
+ * @see https://tailwindcss.com/docs/stroke-width
3013
+ */
3014
+ "stroke-w": [{
3015
+ stroke: [w, ie, q, ge]
3016
+ }],
3017
+ /**
3018
+ * Stroke
3019
+ * @see https://tailwindcss.com/docs/stroke
3020
+ */
3021
+ stroke: [{
3022
+ stroke: ["none", ...y()]
3023
+ }],
3024
+ // ---------------------
3025
+ // --- Accessibility ---
3026
+ // ---------------------
3027
+ /**
3028
+ * Forced Color Adjust
3029
+ * @see https://tailwindcss.com/docs/forced-color-adjust
3030
+ */
3031
+ "forced-color-adjust": [{
3032
+ "forced-color-adjust": ["auto", "none"]
3033
+ }]
3034
+ },
3035
+ conflictingClassGroups: {
3036
+ overflow: ["overflow-x", "overflow-y"],
3037
+ overscroll: ["overscroll-x", "overscroll-y"],
3038
+ inset: ["inset-x", "inset-y", "start", "end", "top", "right", "bottom", "left"],
3039
+ "inset-x": ["right", "left"],
3040
+ "inset-y": ["top", "bottom"],
3041
+ flex: ["basis", "grow", "shrink"],
3042
+ gap: ["gap-x", "gap-y"],
3043
+ p: ["px", "py", "ps", "pe", "pt", "pr", "pb", "pl"],
3044
+ px: ["pr", "pl"],
3045
+ py: ["pt", "pb"],
3046
+ m: ["mx", "my", "ms", "me", "mt", "mr", "mb", "ml"],
3047
+ mx: ["mr", "ml"],
3048
+ my: ["mt", "mb"],
3049
+ size: ["w", "h"],
3050
+ "font-size": ["leading"],
3051
+ "fvn-normal": ["fvn-ordinal", "fvn-slashed-zero", "fvn-figure", "fvn-spacing", "fvn-fraction"],
3052
+ "fvn-ordinal": ["fvn-normal"],
3053
+ "fvn-slashed-zero": ["fvn-normal"],
3054
+ "fvn-figure": ["fvn-normal"],
3055
+ "fvn-spacing": ["fvn-normal"],
3056
+ "fvn-fraction": ["fvn-normal"],
3057
+ "line-clamp": ["display", "overflow"],
3058
+ rounded: ["rounded-s", "rounded-e", "rounded-t", "rounded-r", "rounded-b", "rounded-l", "rounded-ss", "rounded-se", "rounded-ee", "rounded-es", "rounded-tl", "rounded-tr", "rounded-br", "rounded-bl"],
3059
+ "rounded-s": ["rounded-ss", "rounded-es"],
3060
+ "rounded-e": ["rounded-se", "rounded-ee"],
3061
+ "rounded-t": ["rounded-tl", "rounded-tr"],
3062
+ "rounded-r": ["rounded-tr", "rounded-br"],
3063
+ "rounded-b": ["rounded-br", "rounded-bl"],
3064
+ "rounded-l": ["rounded-tl", "rounded-bl"],
3065
+ "border-spacing": ["border-spacing-x", "border-spacing-y"],
3066
+ "border-w": ["border-w-s", "border-w-e", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
3067
+ "border-w-x": ["border-w-r", "border-w-l"],
3068
+ "border-w-y": ["border-w-t", "border-w-b"],
3069
+ "border-color": ["border-color-s", "border-color-e", "border-color-t", "border-color-r", "border-color-b", "border-color-l"],
3070
+ "border-color-x": ["border-color-r", "border-color-l"],
3071
+ "border-color-y": ["border-color-t", "border-color-b"],
3072
+ translate: ["translate-x", "translate-y", "translate-none"],
3073
+ "translate-none": ["translate", "translate-x", "translate-y", "translate-z"],
3074
+ "scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
3075
+ "scroll-mx": ["scroll-mr", "scroll-ml"],
3076
+ "scroll-my": ["scroll-mt", "scroll-mb"],
3077
+ "scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
3078
+ "scroll-px": ["scroll-pr", "scroll-pl"],
3079
+ "scroll-py": ["scroll-pt", "scroll-pb"],
3080
+ touch: ["touch-x", "touch-y", "touch-pz"],
3081
+ "touch-x": ["touch"],
3082
+ "touch-y": ["touch"],
3083
+ "touch-pz": ["touch"]
3084
+ },
3085
+ conflictingClassGroupModifiers: {
3086
+ "font-size": ["leading"]
3087
+ },
3088
+ orderSensitiveModifiers: ["before", "after", "placeholder", "file", "marker", "selection", "first-line", "first-letter", "backdrop", "*", "**"]
3089
+ };
3090
+ }, Dr = /* @__PURE__ */ gr(jr);
3091
+ function j(...e) {
3092
+ return Dr(at(e));
3093
+ }
3094
+ function $r({
3095
+ className: e,
3096
+ ...t
3097
+ }) {
3098
+ return /* @__PURE__ */ i(
3099
+ Xt,
3100
+ {
3101
+ "data-slot": "tabs",
3102
+ className: j("flex flex-col gap-2", e),
3103
+ ...t
3104
+ }
3105
+ );
3106
+ }
3107
+ function Ur({
3108
+ className: e,
3109
+ ...t
3110
+ }) {
3111
+ return /* @__PURE__ */ i(
3112
+ Qt,
3113
+ {
3114
+ "data-slot": "tabs-list",
3115
+ className: j(
3116
+ "bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-1",
3117
+ e
3118
+ ),
3119
+ ...t
3120
+ }
3121
+ );
3122
+ }
3123
+ function Pe({
3124
+ className: e,
3125
+ ...t
3126
+ }) {
3127
+ return /* @__PURE__ */ i(
3128
+ er,
3129
+ {
3130
+ "data-slot": "tabs-trigger",
3131
+ className: j(
3132
+ "data-[state=active]:bg-background data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring inline-flex flex-1 items-center justify-center gap-1.5 rounded-md px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
3133
+ e
3134
+ ),
3135
+ ...t
3136
+ }
3137
+ );
3138
+ }
3139
+ function _e({
3140
+ className: e,
3141
+ ...t
3142
+ }) {
3143
+ return /* @__PURE__ */ i(
3144
+ tr,
3145
+ {
3146
+ "data-slot": "tabs-content",
3147
+ className: j("flex-1 outline-none", e),
3148
+ ...t
3149
+ }
3150
+ );
3151
+ }
3152
+ const bn = () => /* @__PURE__ */ S($r, { defaultValue: "transcript", className: "w-[400px]", children: [
3153
+ /* @__PURE__ */ S(Ur, { children: [
3154
+ /* @__PURE__ */ i(Pe, { value: "transcript", children: "Transcript" }),
3155
+ /* @__PURE__ */ i(Pe, { value: "timeline", children: "Timeline" })
3156
+ ] }),
3157
+ /* @__PURE__ */ i(_e, { value: "transcript", children: "Transcript component." }),
3158
+ /* @__PURE__ */ i(_e, { value: "timeline", children: "Timeline component." })
3159
+ ] }), Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = at, Wr = (e, t) => (n) => {
3160
+ var r;
3161
+ if ((t == null ? void 0 : t.variants) == null) return ze(e, n == null ? void 0 : n.class, n == null ? void 0 : n.className);
3162
+ const { variants: o, defaultVariants: s } = t, a = Object.keys(o).map((u) => {
3163
+ const p = n == null ? void 0 : n[u], g = s == null ? void 0 : s[u];
3164
+ if (p === null) return null;
3165
+ const v = Ve(p) || Ve(g);
3166
+ return o[u][v];
3167
+ }), c = n && Object.entries(n).reduce((u, p) => {
3168
+ let [g, v] = p;
3169
+ return v === void 0 || (u[g] = v), u;
3170
+ }, {}), d = t == null || (r = t.compoundVariants) === null || r === void 0 ? void 0 : r.reduce((u, p) => {
3171
+ let { class: g, className: v, ...C } = p;
3172
+ return Object.entries(C).every((b) => {
3173
+ let [x, F] = b;
3174
+ return Array.isArray(F) ? F.includes({
3175
+ ...s,
3176
+ ...c
3177
+ }[x]) : {
3178
+ ...s,
3179
+ ...c
3180
+ }[x] === F;
3181
+ }) ? [
3182
+ ...u,
3183
+ g,
3184
+ v
3185
+ ] : u;
3186
+ }, []);
3187
+ return ze(e, a, d, n == null ? void 0 : n.class, n == null ? void 0 : n.className);
3188
+ }, Kr = Wr(
3189
+ "inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
3190
+ {
3191
+ variants: {
3192
+ variant: {
3193
+ default: "bg-primary text-primary-foreground hover:bg-primary-hover",
3194
+ secondary: "bg-secondary text-secondary-foreground hover:bg-secondary-hover",
3195
+ destructive: "bg-destructive text-destructive-foreground hover:bg-destructive-hover",
3196
+ outline: "border border-input text-secondary-foreground hover:bg-accent hover:text-accent-foreground",
3197
+ ghost: "hover:bg-accent hover:text-accent-foreground",
3198
+ link: "text-primary underline-offset-4 hover:underline"
3199
+ },
3200
+ size: {
3201
+ default: "h-10 px-4 py-2",
3202
+ sm: "h-9 rounded-md px-3",
3203
+ lg: "h-11 rounded-md px-8",
3204
+ icon: "h-10 w-10"
3205
+ }
3206
+ },
3207
+ defaultVariants: {
3208
+ variant: "default",
3209
+ size: "default"
3210
+ }
3211
+ }
3212
+ ), gt = l.forwardRef(
3213
+ ({ className: e, variant: t, size: n, asChild: r = !1, ...o }, s) => /* @__PURE__ */ i(
3214
+ r ? Q : "button",
3215
+ {
3216
+ className: j(Kr({ variant: t, size: n, className: e })),
3217
+ ref: s,
3218
+ ...o
3219
+ }
3220
+ )
3221
+ );
3222
+ gt.displayName = "Button";
3223
+ const z = (e) => /* @__PURE__ */ i(gt, { ...e, children: e.children });
3224
+ var Ae = "Avatar", [qr, hn] = ce(Ae), [Zr, bt] = qr(Ae), ht = l.forwardRef(
3225
+ (e, t) => {
3226
+ const { __scopeAvatar: n, ...r } = e, [o, s] = l.useState("idle");
3227
+ return /* @__PURE__ */ i(
3228
+ Zr,
3229
+ {
3230
+ scope: n,
3231
+ imageLoadingStatus: o,
3232
+ onImageLoadingStatusChange: s,
3233
+ children: /* @__PURE__ */ i(B.span, { ...r, ref: t })
3234
+ }
3235
+ );
3236
+ }
3237
+ );
3238
+ ht.displayName = Ae;
3239
+ var vt = "AvatarImage", xt = l.forwardRef(
3240
+ (e, t) => {
3241
+ const { __scopeAvatar: n, src: r, onLoadingStatusChange: o = () => {
3242
+ }, ...s } = e, a = bt(vt, n), c = Hr(r, s.referrerPolicy), d = de((u) => {
3243
+ o(u), a.onImageLoadingStatusChange(u);
3244
+ });
3245
+ return ee(() => {
3246
+ c !== "idle" && d(c);
3247
+ }, [c, d]), c === "loaded" ? /* @__PURE__ */ i(B.img, { ...s, ref: t, src: r }) : null;
3248
+ }
3249
+ );
3250
+ xt.displayName = vt;
3251
+ var wt = "AvatarFallback", Ct = l.forwardRef(
3252
+ (e, t) => {
3253
+ const { __scopeAvatar: n, delayMs: r, ...o } = e, s = bt(wt, n), [a, c] = l.useState(r === void 0);
3254
+ return l.useEffect(() => {
3255
+ if (r !== void 0) {
3256
+ const d = window.setTimeout(() => c(!0), r);
3257
+ return () => window.clearTimeout(d);
3258
+ }
3259
+ }, [r]), a && s.imageLoadingStatus !== "loaded" ? /* @__PURE__ */ i(B.span, { ...o, ref: t }) : null;
3260
+ }
3261
+ );
3262
+ Ct.displayName = wt;
3263
+ function Hr(e, t) {
3264
+ const [n, r] = l.useState("idle");
3265
+ return ee(() => {
3266
+ if (!e) {
3267
+ r("error");
3268
+ return;
3269
+ }
3270
+ let o = !0;
3271
+ const s = new window.Image(), a = (c) => () => {
3272
+ o && r(c);
3273
+ };
3274
+ return r("loading"), s.onload = a("loaded"), s.onerror = a("error"), s.src = e, t && (s.referrerPolicy = t), () => {
3275
+ o = !1;
3276
+ };
3277
+ }, [e, t]), n;
3278
+ }
3279
+ var Yr = ht, Jr = xt, Xr = Ct;
3280
+ function Qr({
3281
+ className: e,
3282
+ ...t
3283
+ }) {
3284
+ return /* @__PURE__ */ i(
3285
+ Yr,
3286
+ {
3287
+ "data-slot": "avatar",
3288
+ className: j(
3289
+ "relative flex size-10 shrink-0 overflow-hidden rounded-full",
3290
+ e
3291
+ ),
3292
+ ...t
3293
+ }
3294
+ );
3295
+ }
3296
+ function en({
3297
+ className: e,
3298
+ ...t
3299
+ }) {
3300
+ return /* @__PURE__ */ i(
3301
+ Jr,
3302
+ {
3303
+ "data-slot": "avatar-image",
3304
+ className: j("aspect-square size-full", e),
3305
+ ...t
3306
+ }
3307
+ );
3308
+ }
3309
+ function tn({
3310
+ className: e,
3311
+ ...t
3312
+ }) {
3313
+ return /* @__PURE__ */ i(
3314
+ Xr,
3315
+ {
3316
+ "data-slot": "avatar-fallback",
3317
+ className: j(
3318
+ "bg-muted flex size-full items-center justify-center rounded-full",
3319
+ e
3320
+ ),
3321
+ ...t
3322
+ }
3323
+ );
3324
+ }
3325
+ const be = ({ url: e, fullName: t, type: n = "primary" }) => {
3326
+ const r = () => {
3327
+ const [o, s] = t.split(" ");
3328
+ return `${(o == null ? void 0 : o.charAt(0)) ?? ""}${(s == null ? void 0 : s.charAt(0)) ?? ""}`;
3329
+ };
3330
+ return /* @__PURE__ */ S(Qr, { children: [
3331
+ /* @__PURE__ */ i(en, { role: "img", src: e }),
3332
+ /* @__PURE__ */ i(
3333
+ tn,
3334
+ {
3335
+ className: j(
3336
+ "text-base font-normal",
3337
+ n === "primary" ? "text-[#F5F5F5] bg-[#39385F]" : "bg-[#F5F5F5] text-[#37466D]"
3338
+ ),
3339
+ children: r()
3340
+ }
3341
+ )
3342
+ ] });
3343
+ }, rn = (e) => /* @__PURE__ */ l.createElement("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ l.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9 4.5C9.33486 4.5 9.62915 4.72198 9.72114 5.04396L10.5343 7.89015C10.8903 9.13593 11.8641 10.1097 13.1099 10.4657L15.956 11.2789C16.278 11.3709 16.5 11.6651 16.5 12C16.5 12.3349 16.278 12.6291 15.956 12.7211L13.1098 13.5343C11.8641 13.8903 10.8903 14.8641 10.5343 16.1099L9.72114 18.956C9.62915 19.278 9.33486 19.5 9 19.5C8.66514 19.5 8.37085 19.278 8.27886 18.956L7.46566 16.1099C7.10972 14.8641 6.13593 13.8903 4.89015 13.5343L2.04396 12.7211C1.72198 12.6291 1.5 12.3349 1.5 12C1.5 11.6651 1.72198 11.3709 2.04396 11.2789L4.89015 10.4657C6.13593 10.1097 7.10972 9.13593 7.46566 7.89015L8.27886 5.04396C8.37085 4.72198 8.66514 4.5 9 4.5Z", fill: "currentColor" }), /* @__PURE__ */ l.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M18 1.5C18.3442 1.5 18.6441 1.73422 18.7276 2.0681L18.9865 3.10356C19.2216 4.04406 19.9559 4.7784 20.8964 5.01353L21.9319 5.27239C22.2658 5.35586 22.5 5.65585 22.5 6C22.5 6.34415 22.2658 6.64414 21.9319 6.72761L20.8964 6.98647C19.9559 7.2216 19.2216 7.95594 18.9865 8.89644L18.7276 9.9319C18.6441 10.2658 18.3442 10.5 18 10.5C17.6558 10.5 17.3559 10.2658 17.2724 9.9319L17.0135 8.89644C16.7784 7.95594 16.0441 7.2216 15.1036 6.98647L14.0681 6.72761C13.7342 6.64414 13.5 6.34415 13.5 6C13.5 5.65585 13.7342 5.35586 14.0681 5.27239L15.1036 5.01353C16.0441 4.7784 16.7784 4.04406 17.0135 3.10356L17.2724 2.0681C17.3559 1.73422 17.6558 1.5 18 1.5Z", fill: "currentColor" }), /* @__PURE__ */ l.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M16.5 15C16.8228 15 17.1094 15.2066 17.2115 15.5128L17.6058 16.6956C17.7551 17.1435 18.1065 17.4949 18.5544 17.6442L19.7372 18.0385C20.0434 18.1406 20.25 18.4272 20.25 18.75C20.25 19.0728 20.0434 19.3594 19.7372 19.4615L18.5544 19.8558C18.1065 20.0051 17.7551 20.3565 17.6058 20.8044L17.2115 21.9872C17.1094 22.2934 16.8228 22.5 16.5 22.5C16.1772 22.5 15.8906 22.2934 15.7885 21.9872L15.3942 20.8044C15.2449 20.3565 14.8935 20.0051 14.4456 19.8558L13.2628 19.4615C12.9566 19.3594 12.75 19.0728 12.75 18.75C12.75 18.4272 12.9566 18.1406 13.2628 18.0385L14.4456 17.6442C14.8935 17.4949 15.2449 17.1435 15.3942 16.6956L15.7885 15.5128C15.8906 15.2066 16.1772 15 16.5 15Z", fill: "currentColor" })), nn = (e) => /* @__PURE__ */ l.createElement("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ l.createElement("path", { d: "M4.91307 2.65823C6.9877 2.38888 9.10296 2.25 11.2503 2.25C13.3974 2.25 15.5124 2.38885 17.5869 2.65815C19.5091 2.90769 20.8783 4.51937 20.9923 6.38495C20.6665 6.27614 20.3212 6.20396 19.96 6.17399C18.5715 6.05874 17.1673 6 15.75 6C14.3326 6 12.9285 6.05874 11.54 6.17398C9.1817 6.36971 7.5 8.36467 7.5 10.6082V14.8937C7.5 16.5844 8.45468 18.1326 9.9328 18.8779L7.28033 21.5303C7.06583 21.7448 6.74324 21.809 6.46299 21.6929C6.18273 21.5768 6 21.3033 6 21V16.9705C5.63649 16.9316 5.27417 16.8887 4.91308 16.8418C2.90466 16.581 1.5 14.8333 1.5 12.8626V6.63738C1.5 4.66672 2.90466 2.91899 4.91307 2.65823Z", fill: "#C7C6FA" }), /* @__PURE__ */ l.createElement("path", { d: "M15.75 7.5C14.3741 7.5 13.0114 7.55702 11.6641 7.66884C10.1248 7.7966 9 9.10282 9 10.6082V14.8937C9 16.4014 10.128 17.7083 11.6692 17.8341C12.9131 17.9357 14.17 17.9912 15.4384 17.999L18.2197 20.7803C18.4342 20.9948 18.7568 21.059 19.037 20.9429C19.3173 20.8268 19.5 20.5533 19.5 20.25V17.8601C19.6103 17.8518 19.7206 17.8432 19.8307 17.8342C21.372 17.7085 22.5 16.4015 22.5 14.8938V10.6082C22.5 9.10283 21.3752 7.79661 19.836 7.66885C18.4886 7.55702 17.1259 7.5 15.75 7.5Z", fill: "#C7C6FA" })), on = (e) => /* @__PURE__ */ l.createElement("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ l.createElement("path", { d: "M19.5 12C19.5 10.7681 19.4536 9.54699 19.3624 8.3384C19.2128 6.35425 17.6458 4.78724 15.6616 4.63757C14.453 4.54641 13.2319 4.5 12 4.5C10.7681 4.5 9.54699 4.54641 8.3384 4.63757C6.35425 4.78724 4.78724 6.35425 4.63757 8.3384C4.62097 8.55852 4.60585 8.77906 4.59222 9M19.5 12L22.5 9M19.5 12L16.5 9M4.5 12C4.5 13.2319 4.54641 14.453 4.63757 15.6616C4.78724 17.6458 6.35425 19.2128 8.3384 19.3624C9.54699 19.4536 10.7681 19.5 12 19.5C13.2319 19.5 14.453 19.4536 15.6616 19.3624C17.6458 19.2128 19.2128 17.6458 19.3624 15.6616C19.379 15.4415 19.3941 15.2209 19.4078 15M4.5 12L7.5 15M4.5 12L1.5 15", stroke: "#5150B0", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), sn = (e) => /* @__PURE__ */ l.createElement("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ l.createElement("path", { d: "M16.5 8.25V6C16.5 4.75736 15.4926 3.75 14.25 3.75H6C4.75736 3.75 3.75 4.75736 3.75 6V14.25C3.75 15.4926 4.75736 16.5 6 16.5H8.25M16.5 8.25H18C19.2426 8.25 20.25 9.25736 20.25 10.5V18C20.25 19.2426 19.2426 20.25 18 20.25H10.5C9.25736 20.25 8.25 19.2426 8.25 18V16.5M16.5 8.25H10.5C9.25736 8.25 8.25 9.25736 8.25 10.5V16.5", stroke: "#5150B0", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), an = (e) => /* @__PURE__ */ l.createElement("svg", { width: "1em", height: "1em", viewBox: "0 0 17 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ l.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.5 5C11.799 5 12.0693 5.17751 12.1882 5.45179L15.4382 12.9518C15.6029 13.3319 15.4283 13.7735 15.0482 13.9382C14.6682 14.1029 14.2266 13.9283 14.0619 13.5482L13.3908 11.9997H9.60923L8.9382 13.5482C8.7735 13.9283 8.33189 14.1029 7.95182 13.9382C7.57176 13.7735 7.39717 13.3319 7.56186 12.9518L10.8119 5.45179C10.9307 5.17751 11.2011 5 11.5 5ZM10.2592 10.4997H12.7408L11.5 7.63628L10.2592 10.4997Z", fill: "#5150B0" }), /* @__PURE__ */ l.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5.50003 1C5.91424 1 6.25003 1.33579 6.25003 1.75V3.01104C6.66299 3.02322 7.0735 3.04541 7.48131 3.0774C7.94038 3.11341 8.39601 3.16182 8.84786 3.22231C9.25842 3.27727 9.54668 3.65464 9.49172 4.06519C9.43676 4.47574 9.05938 4.76401 8.64883 4.70905C8.42894 4.67961 8.20808 4.65321 7.98628 4.6299C7.6301 5.85717 7.09808 7.00928 6.41941 8.05729C6.65555 8.36066 6.90658 8.65193 7.17142 8.92999C7.45709 9.22993 7.44553 9.70466 7.14559 9.99034C6.84565 10.276 6.37092 10.2644 6.08525 9.96451C5.88294 9.7521 5.68774 9.53284 5.50002 9.30711C4.68402 10.2884 3.72645 11.1474 2.65883 11.853C2.31326 12.0813 1.84799 11.9863 1.61962 11.6408C1.39124 11.2952 1.48624 10.8299 1.83181 10.6015C2.8813 9.90797 3.81021 9.04714 4.58066 8.05729C4.38359 7.75296 4.19887 7.43984 4.02724 7.11865C3.83202 6.75332 3.96992 6.29891 4.33524 6.10369C4.70057 5.90847 5.15498 6.04637 5.3502 6.4117C5.39895 6.50293 5.4489 6.59343 5.50002 6.68318C5.88798 6.00207 6.2083 5.27759 6.45187 4.51891C6.13619 4.50635 5.81887 4.5 5.50003 4.5C4.43193 4.5 3.38086 4.57121 2.35122 4.70905C1.94067 4.76401 1.5633 4.47574 1.50834 4.06519C1.45338 3.65464 1.74164 3.27727 2.15219 3.22231C3.00548 3.10808 3.87219 3.03692 4.75003 3.01104V1.75C4.75003 1.33579 5.08582 1 5.50003 1Z", fill: "#5150B0" })), ln = (e) => /* @__PURE__ */ l.createElement("svg", { width: "1em", height: "1em", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ l.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.8001 1.59999C8.8001 1.15816 8.44192 0.799988 8.0001 0.799988C7.55827 0.799988 7.2001 1.15816 7.2001 1.59999V6.39999V6.79999C7.2001 7.0209 7.02101 7.19999 6.8001 7.19999C6.57918 7.19999 6.4001 7.0209 6.4001 6.79999V6.39999V2.39999C6.4001 1.95816 6.04192 1.59999 5.6001 1.59999C5.15827 1.59999 4.8001 1.95816 4.8001 2.39999V6.39999V6.79999C4.8001 6.80028 4.8001 6.80058 4.8001 6.80087C4.79962 7.02138 4.62072 7.19999 4.4001 7.19999C4.17918 7.19999 4.0001 7.0209 4.0001 6.79999V6.39999V3.99999C4.0001 3.55816 3.64192 3.19999 3.2001 3.19999C2.75827 3.19999 2.4001 3.55816 2.4001 3.99999V8.79999V9.59999C2.4001 12.6928 4.9073 15.2 8.0001 15.2C11.0929 15.2 13.6001 12.6928 13.6001 9.59999L13.6001 8.79999L13.6001 6.39999C13.6001 5.95816 13.2419 5.59999 12.8001 5.59999C12.3583 5.59999 12.0001 5.95816 12.0001 6.39999V8.79999V9.19999C12.0001 9.4209 11.821 9.59999 11.6001 9.59999C11.3792 9.59999 11.2001 9.4209 11.2001 9.19999V8.79999V7.99999V6.39999V2.39999C11.2001 1.95816 10.8419 1.59999 10.4001 1.59999C9.95827 1.59999 9.6001 1.95816 9.6001 2.39999V6.39999V6.79999C9.6001 7.0209 9.42101 7.19999 9.2001 7.19999C8.97918 7.19999 8.8001 7.0209 8.8001 6.79999V6.39999V1.59999Z", fill: "white" })), cn = {
3344
+ Sparkles: rn,
3345
+ ChatBubble: nn,
3346
+ ArrowPathRoundedSquare: on,
3347
+ Square2Stack: sn,
3348
+ Language: an,
3349
+ HandRaised: ln
3350
+ };
3351
+ function dn({ name: e, ...t }) {
3352
+ const n = cn[e];
3353
+ return n ? /* @__PURE__ */ i(n, { ...t }) : (console.error(`Icon "${e}" not found.`), null);
3354
+ }
3355
+ const V = Nt(dn), vn = ({
3356
+ title: e,
3357
+ message: t,
3358
+ timestamps: n,
3359
+ icon: r,
3360
+ tag: o,
3361
+ showHelperButtons: s,
3362
+ onClickAskGenAI: a,
3363
+ onClickAskManager: c
3364
+ }) => /* @__PURE__ */ S("div", { className: "flex flex-col w-full h-fit rounded-xl md:rounded-3xl bg-[#F5F5F5] md:bg-[#FFFFFF] gap-2 p-4", children: [
3365
+ /* @__PURE__ */ S("div", { className: "flex w-full flex-row items-center justify-between", children: [
3366
+ /* @__PURE__ */ S("div", { className: "flex flex-row", children: [
3367
+ /* @__PURE__ */ i(V, { name: r, width: 24, height: 24 }),
3368
+ /* @__PURE__ */ i("div", { className: "ml-2 mr-1 text-base font-medium leading-6 text-[#000000]", children: e }),
3369
+ typeof o < "u" && o
3370
+ ] }),
3371
+ /* @__PURE__ */ i("div", { className: "bg-[#0e0e1814] rounded-md p-1 flex items-center justify-center text-[11px] font-normal text-[#0000000]", children: n })
3372
+ ] }),
3373
+ /* @__PURE__ */ i("div", { className: "text-sm md:text-base w-full font-normal text-[#000000]", children: t }),
3374
+ s && /* @__PURE__ */ S("div", { className: "flex flex-row gap-1 items-center", children: [
3375
+ /* @__PURE__ */ i(
3376
+ z,
3377
+ {
3378
+ onClick: a,
3379
+ size: "sm",
3380
+ className: "bg-[#5150B0] gap-2",
3381
+ children: /* @__PURE__ */ i("div", { className: "text-sm font-medium text-[#F5F5F5]", children: "Ask GenAI" })
3382
+ }
3383
+ ),
3384
+ /* @__PURE__ */ i(
3385
+ z,
3386
+ {
3387
+ onClick: c,
3388
+ size: "sm",
3389
+ className: "bg-[#5150B0] gap-2",
3390
+ children: /* @__PURE__ */ i("div", { className: "text-sm font-medium text-[#F5F5F5]", children: "Ask Manager" })
3391
+ }
3392
+ )
3393
+ ] })
3394
+ ] }), un = ({
3395
+ sender: e,
3396
+ message: t,
3397
+ timestamps: n,
3398
+ icon: r,
3399
+ type: o,
3400
+ onClickAskAI: s,
3401
+ onClickAskManager: a,
3402
+ managerReplyTitle: c,
3403
+ showHelperButton: d,
3404
+ managerReplyMessage: u
3405
+ }) => {
3406
+ const p = () => /* @__PURE__ */ S("div", { className: "flex flex-row gap-2 items-start w-full justify-end", children: [
3407
+ /* @__PURE__ */ S("div", { className: "px-4 py-3 min-w-[128px] relative flex flex-col gap-2 items-start rounded-2xl rounded-tr-none bg-[#F5F5F5] max-w-full", children: [
3408
+ /* @__PURE__ */ i("div", { className: "text-sm font-medium text-[#000000]", children: t }),
3409
+ /* @__PURE__ */ i("div", { className: "text-xs w-full font-normal text-[#737373] text-right", children: n }),
3410
+ r && /* @__PURE__ */ i("div", { className: "border w-10 h-8 border-[#E5E5E5] flex items-center justify-center rounded-full bg-[#FFFFFF] absolute -bottom-[14px] ", children: r })
3411
+ ] }),
3412
+ /* @__PURE__ */ i(be, { type: "secondary", fullName: e })
3413
+ ] }), g = () => /* @__PURE__ */ S("div", { className: "flex flex-row gap-2 items-start w-full", children: [
3414
+ /* @__PURE__ */ i(be, { fullName: e }),
3415
+ /* @__PURE__ */ S("div", { className: "px-4 py-3 relative w-fit min-w-[128px] flex flex-col gap-2 items-start rounded-2xl rounded-tl-none bg-[#39385F] max-w-full", children: [
3416
+ /* @__PURE__ */ i("div", { className: "text-sm font-medium text-[#F5F5F5]", children: t }),
3417
+ d && /* @__PURE__ */ S("div", { className: "flex flex-row gap-2", children: [
3418
+ /* @__PURE__ */ i(
3419
+ z,
3420
+ {
3421
+ name: "ai-helper",
3422
+ role: "button",
3423
+ onClick: s,
3424
+ className: "bg-[#0000001a] p-0 w-8 h-8 rounded-full",
3425
+ children: /* @__PURE__ */ i(V, { name: "Sparkles", color: "#C7C6FA", width: 24, height: 24 })
3426
+ }
3427
+ ),
3428
+ /* @__PURE__ */ i(
3429
+ z,
3430
+ {
3431
+ name: "manager-helper",
3432
+ role: "button",
3433
+ onClick: a,
3434
+ className: "bg-[#0000001a] p-0 w-8 h-8 rounded-full",
3435
+ children: /* @__PURE__ */ i(V, { name: "ChatBubble", width: 24, height: 24 })
3436
+ }
3437
+ )
3438
+ ] }),
3439
+ /* @__PURE__ */ i("div", { className: "text-xs w-full font-normal text-[#737373] text-right", children: n }),
3440
+ r && /* @__PURE__ */ i("div", { className: "border w-10 h-8 border-[#E5E5E5] flex items-center justify-center rounded-full bg-[#FFFFFF] absolute -bottom-[14px] ", children: r })
3441
+ ] })
3442
+ ] }), v = () => /* @__PURE__ */ S("div", { className: "flex flex-row gap-2 items-start w-full justify-end", children: [
3443
+ /* @__PURE__ */ S("div", { className: "rounded-2xl w-fit rounded-tr-none min-w-[128px] max-w-full border border-[#E5E5E5]", children: [
3444
+ /* @__PURE__ */ S("div", { className: "p-3 relative flex w-full flex-col gap-3 items-start bg-transparent", children: [
3445
+ /* @__PURE__ */ S("div", { className: "flex flex-row items-center justify-between w-full gap-3", children: [
3446
+ c,
3447
+ /* @__PURE__ */ i("div", { className: "w-fit bg-[#DC2626] rounded-md p-1 text-[15px] text-[#F5F5F5] font-normal", children: n })
3448
+ ] }),
3449
+ /* @__PURE__ */ i("div", { className: "text-sm font-medium text-[#000000]", children: u })
3450
+ ] }),
3451
+ /* @__PURE__ */ S("div", { className: "rounded-br-2xl w-full rounded-bl-2xl bg-[#F5F5F5] flex flex-col items-start justify-center p-3 gap-2", children: [
3452
+ /* @__PURE__ */ i("div", { className: "text-sm font-medium text-[#000000]", children: t }),
3453
+ /* @__PURE__ */ i("div", { className: "text-xs w-full font-normal text-[#737373] text-right", children: n })
3454
+ ] })
3455
+ ] }),
3456
+ /* @__PURE__ */ i(be, { type: "secondary", fullName: e })
3457
+ ] }), C = () => /* @__PURE__ */ S("div", { className: "flex flex-row gap-2 items-start w-full", children: [
3458
+ /* @__PURE__ */ i("div", { className: "w-10 h-10 flex rounded-full items-center justify-center bg-[#FCF5CF]", children: /* @__PURE__ */ i(V, { name: "Sparkles", width: 24, height: 24, color: "#37365E" }) }),
3459
+ /* @__PURE__ */ S("div", { className: "px-4 py-3 min-w-[128px] relative w-full flex-1 flex flex-col gap-2 items-start rounded-2xl rounded-tl-none bg-[#FCF5CF] max-w-full", children: [
3460
+ /* @__PURE__ */ i("div", { className: "text-sm font-medium text-[#000000]", children: t }),
3461
+ /* @__PURE__ */ S("div", { className: "flex flex-row items-center justify-between w-full", children: [
3462
+ /* @__PURE__ */ S("div", { className: "flex flex-row items-start justify-center gap-1", children: [
3463
+ /* @__PURE__ */ i(z, { className: "w-8 h-8 bg-transparent p-0", children: /* @__PURE__ */ i(V, { name: "ArrowPathRoundedSquare", width: 24, height: 24 }) }),
3464
+ /* @__PURE__ */ i(z, { className: "w-8 h-8 bg-transparent p-0", children: /* @__PURE__ */ i(V, { name: "Square2Stack", width: 24, height: 24 }) })
3465
+ ] }),
3466
+ /* @__PURE__ */ i("div", { className: "text-xs font-normal text-[#000000]", children: n })
3467
+ ] })
3468
+ ] })
3469
+ ] });
3470
+ return {
3471
+ message: p(),
3472
+ reply: g(),
3473
+ "manager-reply": v(),
3474
+ "ai-reply": C()
3475
+ }[o];
3476
+ }, xn = ({
3477
+ isStandalone: e,
3478
+ messages: t,
3479
+ transcriptInfo: n,
3480
+ onClickTranslation: r
3481
+ }) => /* @__PURE__ */ S("div", { className: "max-w-[768px] w-full flex flex-col gap-3 md:gap-[26px] h-full items-center justify-center", children: [
3482
+ e ? /* @__PURE__ */ S("div", { className: "w-full flex flex-row items-center justify-between ", children: [
3483
+ /* @__PURE__ */ S("div", { className: "flex flex-row items-center justify-center gap-2", children: [
3484
+ /* @__PURE__ */ i("div", { className: "text-lg font-medium text-[#000000]", children: "Transcript" }),
3485
+ n && /* @__PURE__ */ i("div", { className: "px-2.5 py-1 bg-[#0e0e1814] rounded-full", children: n })
3486
+ ] }),
3487
+ /* @__PURE__ */ i("div", { className: "md:flex", children: /* @__PURE__ */ S(
3488
+ z,
3489
+ {
3490
+ variant: "outline",
3491
+ size: "lg",
3492
+ onClick: r,
3493
+ className: "bg-[#FFFFFF] gap-2 px-6 py-4 h-12",
3494
+ children: [
3495
+ /* @__PURE__ */ i(V, { name: "Language", width: 16, height: 16, color: "#5150B0" }),
3496
+ /* @__PURE__ */ i("div", { className: "text-base text-[#5150B0] font-medium", children: "Start Translation" })
3497
+ ]
3498
+ }
3499
+ ) }),
3500
+ /* @__PURE__ */ i("div", { className: "md:hidden", children: /* @__PURE__ */ S(
3501
+ z,
3502
+ {
3503
+ variant: "link",
3504
+ size: "default",
3505
+ onClick: r,
3506
+ className: "bg-[#FFFFFF] gap-2 px-6",
3507
+ children: [
3508
+ /* @__PURE__ */ i(V, { name: "Language", width: 16, height: 16, color: "#5150B0" }),
3509
+ /* @__PURE__ */ i("div", { className: "text-base text-[#5150B0] font-medium", children: "Start Translation" })
3510
+ ]
3511
+ }
3512
+ ) })
3513
+ ] }) : /* @__PURE__ */ S("div", { className: "w-full flex items-center justify-center", children: [
3514
+ /* @__PURE__ */ i("div", { className: "md:flex", children: /* @__PURE__ */ S(
3515
+ z,
3516
+ {
3517
+ variant: "outline",
3518
+ size: "lg",
3519
+ onClick: r,
3520
+ className: "bg-[#FFFFFF] gap-2 px-6 py-4 h-12",
3521
+ children: [
3522
+ /* @__PURE__ */ i(V, { name: "Language", width: 16, height: 16, color: "#5150B0" }),
3523
+ /* @__PURE__ */ i("div", { className: "text-base text-[#5150B0] font-medium", children: "Start Translation" })
3524
+ ]
3525
+ }
3526
+ ) }),
3527
+ /* @__PURE__ */ i("div", { className: "md:hidden", children: /* @__PURE__ */ S(
3528
+ z,
3529
+ {
3530
+ variant: "link",
3531
+ size: "default",
3532
+ onClick: r,
3533
+ className: "bg-[#FFFFFF] gap-2 px-6",
3534
+ children: [
3535
+ /* @__PURE__ */ i(V, { name: "Language", width: 16, height: 16, color: "#5150B0" }),
3536
+ /* @__PURE__ */ i("div", { className: "text-base text-[#5150B0] font-medium", children: "Start Translation" })
3537
+ ]
3538
+ }
3539
+ ) })
3540
+ ] }),
3541
+ /* @__PURE__ */ i("div", { className: "flex flex-col gap-6 w-full", children: t.map((o) => /* @__PURE__ */ i(un, { ...o })) })
3542
+ ] });
3543
+ export {
3544
+ be as Avatar,
3545
+ z as Button,
3546
+ V as Icon,
3547
+ un as MessageBubble,
3548
+ vn as MomentItem,
3549
+ bn as Tab,
3550
+ xn as Transcript
3551
+ };