sestek-component 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -7
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.d.ts +18 -12
- package/dist/index.es.js +361 -358
- package/dist/style.css +1 -0
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { jsx as i, Fragment as
|
|
1
|
+
import { jsx as i, Fragment as Nt, jsxs as S } from "react/jsx-runtime";
|
|
2
2
|
import * as l from "react";
|
|
3
|
-
import W, { memo as
|
|
3
|
+
import W, { memo as St } from "react";
|
|
4
4
|
import "react-dom";
|
|
5
5
|
function G(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
|
|
6
6
|
return function(o) {
|
|
@@ -8,15 +8,15 @@ function G(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
|
|
|
8
8
|
return t == null ? void 0 : t(o);
|
|
9
9
|
};
|
|
10
10
|
}
|
|
11
|
-
function
|
|
11
|
+
function de(e, t = []) {
|
|
12
12
|
let n = [];
|
|
13
13
|
function r(s, a) {
|
|
14
14
|
const c = l.createContext(a), d = n.length;
|
|
15
15
|
n = [...n, a];
|
|
16
16
|
const u = (g) => {
|
|
17
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,
|
|
19
|
-
return /* @__PURE__ */ i(x.Provider, { value:
|
|
18
|
+
const { scope: v, children: C, ...b } = g, x = ((N = v == null ? void 0 : v[e]) == null ? void 0 : N[d]) || c, A = l.useMemo(() => b, Object.values(b));
|
|
19
|
+
return /* @__PURE__ */ i(x.Provider, { value: A, children: C });
|
|
20
20
|
};
|
|
21
21
|
u.displayName = s + "Provider";
|
|
22
22
|
function p(g, v) {
|
|
@@ -38,9 +38,9 @@ function ce(e, t = []) {
|
|
|
38
38
|
);
|
|
39
39
|
};
|
|
40
40
|
};
|
|
41
|
-
return o.scopeName = e, [r,
|
|
41
|
+
return o.scopeName = e, [r, At(o, ...t)];
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function At(...e) {
|
|
44
44
|
const t = e[0];
|
|
45
45
|
if (e.length === 1) return t;
|
|
46
46
|
const n = () => {
|
|
@@ -63,7 +63,7 @@ function ke(e, t) {
|
|
|
63
63
|
return e(t);
|
|
64
64
|
e != null && (e.current = t);
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function Ge(...e) {
|
|
67
67
|
return (t) => {
|
|
68
68
|
let n = !1;
|
|
69
69
|
const r = e.map((o) => {
|
|
@@ -79,32 +79,32 @@ function Oe(...e) {
|
|
|
79
79
|
};
|
|
80
80
|
};
|
|
81
81
|
}
|
|
82
|
-
function
|
|
83
|
-
return l.useCallback(
|
|
82
|
+
function ce(...e) {
|
|
83
|
+
return l.useCallback(Ge(...e), e);
|
|
84
84
|
}
|
|
85
|
-
var
|
|
86
|
-
const { children: n, ...r } = e, o = l.Children.toArray(n), s = o.find(
|
|
85
|
+
var ee = l.forwardRef((e, t) => {
|
|
86
|
+
const { children: n, ...r } = e, o = l.Children.toArray(n), s = o.find(Rt);
|
|
87
87
|
if (s) {
|
|
88
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(
|
|
89
|
+
return /* @__PURE__ */ i(ve, { ...r, ref: t, children: l.isValidElement(a) ? l.cloneElement(a, void 0, c) : null });
|
|
90
90
|
}
|
|
91
|
-
return /* @__PURE__ */ i(
|
|
91
|
+
return /* @__PURE__ */ i(ve, { ...r, ref: t, children: n });
|
|
92
92
|
});
|
|
93
|
-
|
|
94
|
-
var
|
|
93
|
+
ee.displayName = "Slot";
|
|
94
|
+
var ve = l.forwardRef((e, t) => {
|
|
95
95
|
const { children: n, ...r } = e;
|
|
96
96
|
if (l.isValidElement(n)) {
|
|
97
|
-
const o =
|
|
98
|
-
return n.type !== l.Fragment && (s.ref = t ?
|
|
97
|
+
const o = Et(n), s = It(r, n.props);
|
|
98
|
+
return n.type !== l.Fragment && (s.ref = t ? Ge(t, o) : o), l.cloneElement(n, s);
|
|
99
99
|
}
|
|
100
100
|
return l.Children.count(n) > 1 ? l.Children.only(null) : null;
|
|
101
101
|
});
|
|
102
|
-
|
|
103
|
-
var Ft = ({ children: e }) => /* @__PURE__ */ i(
|
|
104
|
-
function
|
|
102
|
+
ve.displayName = "SlotClone";
|
|
103
|
+
var Ft = ({ children: e }) => /* @__PURE__ */ i(Nt, { children: e });
|
|
104
|
+
function Rt(e) {
|
|
105
105
|
return l.isValidElement(e) && e.type === Ft;
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function It(e, t) {
|
|
108
108
|
const n = { ...t };
|
|
109
109
|
for (const r in t) {
|
|
110
110
|
const o = e[r], s = t[r];
|
|
@@ -114,42 +114,42 @@ function Rt(e, t) {
|
|
|
114
114
|
}
|
|
115
115
|
return { ...e, ...n };
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function Et(e) {
|
|
118
118
|
var r, o;
|
|
119
119
|
let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
120
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
121
|
}
|
|
122
122
|
function Mt(e) {
|
|
123
|
-
const t = e + "CollectionProvider", [n, r] =
|
|
123
|
+
const t = e + "CollectionProvider", [n, r] = de(t), [o, s] = n(
|
|
124
124
|
t,
|
|
125
125
|
{ collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }
|
|
126
126
|
), a = (C) => {
|
|
127
|
-
const { scope: b, children: x } = C,
|
|
128
|
-
return /* @__PURE__ */ i(o, { scope: b, itemMap: N, collectionRef:
|
|
127
|
+
const { scope: b, children: x } = C, A = W.useRef(null), N = W.useRef(/* @__PURE__ */ new Map()).current;
|
|
128
|
+
return /* @__PURE__ */ i(o, { scope: b, itemMap: N, collectionRef: A, children: x });
|
|
129
129
|
};
|
|
130
130
|
a.displayName = t;
|
|
131
131
|
const c = e + "CollectionSlot", d = W.forwardRef(
|
|
132
132
|
(C, b) => {
|
|
133
|
-
const { scope: x, children:
|
|
134
|
-
return /* @__PURE__ */ i(
|
|
133
|
+
const { scope: x, children: A } = C, N = s(c, x), F = ce(b, N.collectionRef);
|
|
134
|
+
return /* @__PURE__ */ i(ee, { ref: F, children: A });
|
|
135
135
|
}
|
|
136
136
|
);
|
|
137
137
|
d.displayName = c;
|
|
138
138
|
const u = e + "CollectionItemSlot", p = "data-radix-collection-item", g = W.forwardRef(
|
|
139
139
|
(C, b) => {
|
|
140
|
-
const { scope: x, children:
|
|
141
|
-
return W.useEffect(() => (
|
|
140
|
+
const { scope: x, children: A, ...N } = C, F = W.useRef(null), L = ce(b, F), k = s(u, x);
|
|
141
|
+
return W.useEffect(() => (k.itemMap.set(F, { ref: F, ...N }), () => void k.itemMap.delete(F))), /* @__PURE__ */ i(ee, { [p]: "", ref: L, children: A });
|
|
142
142
|
}
|
|
143
143
|
);
|
|
144
144
|
g.displayName = u;
|
|
145
145
|
function v(C) {
|
|
146
146
|
const b = s(e + "CollectionConsumer", C);
|
|
147
147
|
return W.useCallback(() => {
|
|
148
|
-
const
|
|
149
|
-
if (!
|
|
150
|
-
const N = Array.from(
|
|
148
|
+
const A = b.collectionRef.current;
|
|
149
|
+
if (!A) return [];
|
|
150
|
+
const N = Array.from(A.querySelectorAll(`[${p}]`));
|
|
151
151
|
return Array.from(b.itemMap.values()).sort(
|
|
152
|
-
(
|
|
152
|
+
(k, P) => N.indexOf(k.ref.current) - N.indexOf(P.ref.current)
|
|
153
153
|
);
|
|
154
154
|
}, [b.collectionRef, b.itemMap]);
|
|
155
155
|
}
|
|
@@ -159,16 +159,16 @@ function Mt(e) {
|
|
|
159
159
|
r
|
|
160
160
|
];
|
|
161
161
|
}
|
|
162
|
-
var
|
|
162
|
+
var te = globalThis != null && globalThis.document ? l.useLayoutEffect : () => {
|
|
163
163
|
}, kt = l.useId || (() => {
|
|
164
|
-
}),
|
|
165
|
-
function
|
|
164
|
+
}), Tt = 0;
|
|
165
|
+
function je(e) {
|
|
166
166
|
const [t, n] = l.useState(kt());
|
|
167
|
-
return
|
|
168
|
-
n((r) => r ?? String(
|
|
167
|
+
return te(() => {
|
|
168
|
+
n((r) => r ?? String(Tt++));
|
|
169
169
|
}, [e]), e || (t ? `radix-${t}` : "");
|
|
170
170
|
}
|
|
171
|
-
var
|
|
171
|
+
var Lt = [
|
|
172
172
|
"a",
|
|
173
173
|
"button",
|
|
174
174
|
"div",
|
|
@@ -185,14 +185,14 @@ var Tt = [
|
|
|
185
185
|
"span",
|
|
186
186
|
"svg",
|
|
187
187
|
"ul"
|
|
188
|
-
],
|
|
188
|
+
], j = Lt.reduce((e, t) => {
|
|
189
189
|
const n = l.forwardRef((r, o) => {
|
|
190
|
-
const { asChild: s, ...a } = r, c = s ?
|
|
190
|
+
const { asChild: s, ...a } = r, c = s ? ee : t;
|
|
191
191
|
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ i(c, { ...a, ref: o });
|
|
192
192
|
});
|
|
193
193
|
return n.displayName = `Primitive.${t}`, { ...e, [t]: n };
|
|
194
194
|
}, {});
|
|
195
|
-
function
|
|
195
|
+
function ue(e) {
|
|
196
196
|
const t = l.useRef(e);
|
|
197
197
|
return l.useEffect(() => {
|
|
198
198
|
t.current = e;
|
|
@@ -207,7 +207,7 @@ function Be({
|
|
|
207
207
|
onChange: n = () => {
|
|
208
208
|
}
|
|
209
209
|
}) {
|
|
210
|
-
const [r, o] =
|
|
210
|
+
const [r, o] = Pt({ defaultProp: t, onChange: n }), s = e !== void 0, a = s ? e : r, c = ue(n), d = l.useCallback(
|
|
211
211
|
(u) => {
|
|
212
212
|
if (s) {
|
|
213
213
|
const g = typeof u == "function" ? u(e) : u;
|
|
@@ -219,27 +219,27 @@ function Be({
|
|
|
219
219
|
);
|
|
220
220
|
return [a, d];
|
|
221
221
|
}
|
|
222
|
-
function
|
|
222
|
+
function Pt({
|
|
223
223
|
defaultProp: e,
|
|
224
224
|
onChange: t
|
|
225
225
|
}) {
|
|
226
|
-
const n = l.useState(e), [r] = n, o = l.useRef(r), s =
|
|
226
|
+
const n = l.useState(e), [r] = n, o = l.useRef(r), s = ue(t);
|
|
227
227
|
return l.useEffect(() => {
|
|
228
228
|
o.current !== r && (s(r), o.current = r);
|
|
229
229
|
}, [r, o, s]), n;
|
|
230
230
|
}
|
|
231
|
-
var
|
|
232
|
-
function
|
|
233
|
-
const t = l.useContext(
|
|
231
|
+
var _t = l.createContext(void 0);
|
|
232
|
+
function De(e) {
|
|
233
|
+
const t = l.useContext(_t);
|
|
234
234
|
return e || t || "ltr";
|
|
235
235
|
}
|
|
236
|
-
var
|
|
237
|
-
|
|
238
|
-
[
|
|
239
|
-
), [
|
|
240
|
-
(e, t) => /* @__PURE__ */ i(
|
|
236
|
+
var ge = "rovingFocusGroup.onEntryFocus", Vt = { bubbles: !1, cancelable: !0 }, fe = "RovingFocusGroup", [xe, $e, zt] = Mt(fe), [Ot, Ue] = de(
|
|
237
|
+
fe,
|
|
238
|
+
[zt]
|
|
239
|
+
), [Gt, jt] = Ot(fe), We = l.forwardRef(
|
|
240
|
+
(e, t) => /* @__PURE__ */ i(xe.Provider, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ i(xe.Slot, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ i(Bt, { ...e, ref: t }) }) })
|
|
241
241
|
);
|
|
242
|
-
|
|
242
|
+
We.displayName = fe;
|
|
243
243
|
var Bt = l.forwardRef((e, t) => {
|
|
244
244
|
const {
|
|
245
245
|
__scopeRovingFocusGroup: n,
|
|
@@ -252,17 +252,17 @@ var Bt = l.forwardRef((e, t) => {
|
|
|
252
252
|
onEntryFocus: u,
|
|
253
253
|
preventScrollOnEntryFocus: p = !1,
|
|
254
254
|
...g
|
|
255
|
-
} = e, v = l.useRef(null), C =
|
|
255
|
+
} = e, v = l.useRef(null), C = ce(t, v), b = De(s), [x = null, A] = Be({
|
|
256
256
|
prop: a,
|
|
257
257
|
defaultProp: c,
|
|
258
258
|
onChange: d
|
|
259
|
-
}), [N,
|
|
259
|
+
}), [N, F] = l.useState(!1), L = ue(u), k = $e(n), P = l.useRef(!1), [h, M] = l.useState(0);
|
|
260
260
|
return l.useEffect(() => {
|
|
261
261
|
const I = v.current;
|
|
262
262
|
if (I)
|
|
263
|
-
return I.addEventListener(
|
|
263
|
+
return I.addEventListener(ge, L), () => I.removeEventListener(ge, L);
|
|
264
264
|
}, [L]), /* @__PURE__ */ i(
|
|
265
|
-
|
|
265
|
+
Gt,
|
|
266
266
|
{
|
|
267
267
|
scope: n,
|
|
268
268
|
orientation: r,
|
|
@@ -270,20 +270,20 @@ var Bt = l.forwardRef((e, t) => {
|
|
|
270
270
|
loop: o,
|
|
271
271
|
currentTabStopId: x,
|
|
272
272
|
onItemFocus: l.useCallback(
|
|
273
|
-
(I) =>
|
|
274
|
-
[
|
|
273
|
+
(I) => A(I),
|
|
274
|
+
[A]
|
|
275
275
|
),
|
|
276
|
-
onItemShiftTab: l.useCallback(() =>
|
|
276
|
+
onItemShiftTab: l.useCallback(() => F(!0), []),
|
|
277
277
|
onFocusableItemAdd: l.useCallback(
|
|
278
|
-
() =>
|
|
278
|
+
() => M((I) => I + 1),
|
|
279
279
|
[]
|
|
280
280
|
),
|
|
281
281
|
onFocusableItemRemove: l.useCallback(
|
|
282
|
-
() =>
|
|
282
|
+
() => M((I) => I - 1),
|
|
283
283
|
[]
|
|
284
284
|
),
|
|
285
285
|
children: /* @__PURE__ */ i(
|
|
286
|
-
|
|
286
|
+
j.div,
|
|
287
287
|
{
|
|
288
288
|
tabIndex: N || h === 0 ? -1 : 0,
|
|
289
289
|
"data-orientation": r,
|
|
@@ -294,24 +294,24 @@ var Bt = l.forwardRef((e, t) => {
|
|
|
294
294
|
P.current = !0;
|
|
295
295
|
}),
|
|
296
296
|
onFocus: G(e.onFocus, (I) => {
|
|
297
|
-
const
|
|
298
|
-
if (I.target === I.currentTarget &&
|
|
299
|
-
const U = new CustomEvent(
|
|
297
|
+
const re = !P.current;
|
|
298
|
+
if (I.target === I.currentTarget && re && !N) {
|
|
299
|
+
const U = new CustomEvent(ge, Vt);
|
|
300
300
|
if (I.currentTarget.dispatchEvent(U), !U.defaultPrevented) {
|
|
301
|
-
const Z =
|
|
301
|
+
const Z = k().filter((y) => y.focusable), X = Z.find((y) => y.active), D = Z.find((y) => y.id === x), O = [X, D, ...Z].filter(
|
|
302
302
|
Boolean
|
|
303
303
|
).map((y) => y.ref.current);
|
|
304
|
-
|
|
304
|
+
Ze(O, p);
|
|
305
305
|
}
|
|
306
306
|
}
|
|
307
307
|
P.current = !1;
|
|
308
308
|
}),
|
|
309
|
-
onBlur: G(e.onBlur, () =>
|
|
309
|
+
onBlur: G(e.onBlur, () => F(!1))
|
|
310
310
|
}
|
|
311
311
|
)
|
|
312
312
|
}
|
|
313
313
|
);
|
|
314
|
-
}),
|
|
314
|
+
}), Ke = "RovingFocusGroupItem", qe = l.forwardRef(
|
|
315
315
|
(e, t) => {
|
|
316
316
|
const {
|
|
317
317
|
__scopeRovingFocusGroup: n,
|
|
@@ -319,19 +319,19 @@ var Bt = l.forwardRef((e, t) => {
|
|
|
319
319
|
active: o = !1,
|
|
320
320
|
tabStopId: s,
|
|
321
321
|
...a
|
|
322
|
-
} = e, c =
|
|
322
|
+
} = e, c = je(), d = s || c, u = jt(Ke, n), p = u.currentTabStopId === d, g = $e(n), { onFocusableItemAdd: v, onFocusableItemRemove: C } = u;
|
|
323
323
|
return l.useEffect(() => {
|
|
324
324
|
if (r)
|
|
325
325
|
return v(), () => C();
|
|
326
326
|
}, [r, v, C]), /* @__PURE__ */ i(
|
|
327
|
-
|
|
327
|
+
xe.ItemSlot,
|
|
328
328
|
{
|
|
329
329
|
scope: n,
|
|
330
330
|
id: d,
|
|
331
331
|
focusable: r,
|
|
332
332
|
active: o,
|
|
333
333
|
children: /* @__PURE__ */ i(
|
|
334
|
-
|
|
334
|
+
j.span,
|
|
335
335
|
{
|
|
336
336
|
tabIndex: p ? 0 : -1,
|
|
337
337
|
"data-orientation": u.orientation,
|
|
@@ -347,18 +347,18 @@ var Bt = l.forwardRef((e, t) => {
|
|
|
347
347
|
return;
|
|
348
348
|
}
|
|
349
349
|
if (b.target !== b.currentTarget) return;
|
|
350
|
-
const x =
|
|
350
|
+
const x = Ut(b, u.orientation, u.dir);
|
|
351
351
|
if (x !== void 0) {
|
|
352
352
|
if (b.metaKey || b.ctrlKey || b.altKey || b.shiftKey) return;
|
|
353
353
|
b.preventDefault();
|
|
354
|
-
let N = g().filter((
|
|
354
|
+
let N = g().filter((F) => F.focusable).map((F) => F.ref.current);
|
|
355
355
|
if (x === "last") N.reverse();
|
|
356
356
|
else if (x === "prev" || x === "next") {
|
|
357
357
|
x === "prev" && N.reverse();
|
|
358
|
-
const
|
|
359
|
-
N = u.loop ?
|
|
358
|
+
const F = N.indexOf(b.currentTarget);
|
|
359
|
+
N = u.loop ? Wt(N, F + 1) : N.slice(F + 1);
|
|
360
360
|
}
|
|
361
|
-
setTimeout(() =>
|
|
361
|
+
setTimeout(() => Ze(N));
|
|
362
362
|
}
|
|
363
363
|
})
|
|
364
364
|
}
|
|
@@ -367,8 +367,8 @@ var Bt = l.forwardRef((e, t) => {
|
|
|
367
367
|
);
|
|
368
368
|
}
|
|
369
369
|
);
|
|
370
|
-
|
|
371
|
-
var
|
|
370
|
+
qe.displayName = Ke;
|
|
371
|
+
var Dt = {
|
|
372
372
|
ArrowLeft: "prev",
|
|
373
373
|
ArrowUp: "prev",
|
|
374
374
|
ArrowRight: "next",
|
|
@@ -378,33 +378,33 @@ var jt = {
|
|
|
378
378
|
PageDown: "last",
|
|
379
379
|
End: "last"
|
|
380
380
|
};
|
|
381
|
-
function
|
|
381
|
+
function $t(e, t) {
|
|
382
382
|
return t !== "rtl" ? e : e === "ArrowLeft" ? "ArrowRight" : e === "ArrowRight" ? "ArrowLeft" : e;
|
|
383
383
|
}
|
|
384
|
-
function
|
|
385
|
-
const r =
|
|
384
|
+
function Ut(e, t, n) {
|
|
385
|
+
const r = $t(e.key, n);
|
|
386
386
|
if (!(t === "vertical" && ["ArrowLeft", "ArrowRight"].includes(r)) && !(t === "horizontal" && ["ArrowUp", "ArrowDown"].includes(r)))
|
|
387
|
-
return
|
|
387
|
+
return Dt[r];
|
|
388
388
|
}
|
|
389
|
-
function
|
|
389
|
+
function Ze(e, t = !1) {
|
|
390
390
|
const n = document.activeElement;
|
|
391
391
|
for (const r of e)
|
|
392
392
|
if (r === n || (r.focus({ preventScroll: t }), document.activeElement !== n)) return;
|
|
393
393
|
}
|
|
394
|
-
function
|
|
394
|
+
function Wt(e, t) {
|
|
395
395
|
return e.map((n, r) => e[(t + r) % e.length]);
|
|
396
396
|
}
|
|
397
|
-
var
|
|
398
|
-
function
|
|
397
|
+
var Kt = We, qt = qe;
|
|
398
|
+
function Zt(e, t) {
|
|
399
399
|
return l.useReducer((n, r) => t[n][r] ?? n, e);
|
|
400
400
|
}
|
|
401
|
-
var
|
|
402
|
-
const { present: t, children: n } = e, r =
|
|
401
|
+
var Ye = (e) => {
|
|
402
|
+
const { present: t, children: n } = e, r = Yt(t), o = typeof n == "function" ? n({ present: r.isPresent }) : l.Children.only(n), s = ce(r.ref, Ht(o));
|
|
403
403
|
return typeof n == "function" || r.isPresent ? l.cloneElement(o, { ref: s }) : null;
|
|
404
404
|
};
|
|
405
|
-
|
|
406
|
-
function
|
|
407
|
-
const [t, n] = l.useState(), r = l.useRef({}), o = l.useRef(e), s = l.useRef("none"), a = e ? "mounted" : "unmounted", [c, d] =
|
|
405
|
+
Ye.displayName = "Presence";
|
|
406
|
+
function Yt(e) {
|
|
407
|
+
const [t, n] = l.useState(), r = l.useRef({}), o = l.useRef(e), s = l.useRef("none"), a = e ? "mounted" : "unmounted", [c, d] = Zt(a, {
|
|
408
408
|
mounted: {
|
|
409
409
|
UNMOUNT: "unmounted",
|
|
410
410
|
ANIMATION_OUT: "unmountSuspended"
|
|
@@ -418,27 +418,27 @@ function Zt(e) {
|
|
|
418
418
|
}
|
|
419
419
|
});
|
|
420
420
|
return l.useEffect(() => {
|
|
421
|
-
const u =
|
|
421
|
+
const u = ie(r.current);
|
|
422
422
|
s.current = c === "mounted" ? u : "none";
|
|
423
|
-
}, [c]),
|
|
423
|
+
}, [c]), te(() => {
|
|
424
424
|
const u = r.current, p = o.current;
|
|
425
425
|
if (p !== e) {
|
|
426
|
-
const v = s.current, C =
|
|
426
|
+
const v = s.current, C = ie(u);
|
|
427
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
428
|
}
|
|
429
|
-
}, [e, d]),
|
|
429
|
+
}, [e, d]), te(() => {
|
|
430
430
|
if (t) {
|
|
431
431
|
let u;
|
|
432
432
|
const p = t.ownerDocument.defaultView ?? window, g = (C) => {
|
|
433
|
-
const x =
|
|
433
|
+
const x = ie(r.current).includes(C.animationName);
|
|
434
434
|
if (C.target === t && x && (d("ANIMATION_END"), !o.current)) {
|
|
435
|
-
const
|
|
435
|
+
const A = t.style.animationFillMode;
|
|
436
436
|
t.style.animationFillMode = "forwards", u = p.setTimeout(() => {
|
|
437
|
-
t.style.animationFillMode === "forwards" && (t.style.animationFillMode =
|
|
437
|
+
t.style.animationFillMode === "forwards" && (t.style.animationFillMode = A);
|
|
438
438
|
});
|
|
439
439
|
}
|
|
440
440
|
}, v = (C) => {
|
|
441
|
-
C.target === t && (s.current =
|
|
441
|
+
C.target === t && (s.current = ie(r.current));
|
|
442
442
|
};
|
|
443
443
|
return t.addEventListener("animationstart", v), t.addEventListener("animationcancel", g), t.addEventListener("animationend", g), () => {
|
|
444
444
|
p.clearTimeout(u), t.removeEventListener("animationstart", v), t.removeEventListener("animationcancel", g), t.removeEventListener("animationend", g);
|
|
@@ -452,7 +452,7 @@ function Zt(e) {
|
|
|
452
452
|
}, [])
|
|
453
453
|
};
|
|
454
454
|
}
|
|
455
|
-
function
|
|
455
|
+
function ie(e) {
|
|
456
456
|
return (e == null ? void 0 : e.animationName) || "none";
|
|
457
457
|
}
|
|
458
458
|
function Ht(e) {
|
|
@@ -460,9 +460,9 @@ function Ht(e) {
|
|
|
460
460
|
let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
461
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
462
|
}
|
|
463
|
-
var
|
|
464
|
-
|
|
465
|
-
]), He =
|
|
463
|
+
var Ne = "Tabs", [Jt, bn] = de(Ne, [
|
|
464
|
+
Ue
|
|
465
|
+
]), He = Ue(), [Xt, Se] = Jt(Ne), Je = l.forwardRef(
|
|
466
466
|
(e, t) => {
|
|
467
467
|
const {
|
|
468
468
|
__scopeTabs: n,
|
|
@@ -473,23 +473,23 @@ var ye = "Tabs", [Yt, gn] = ce(ye, [
|
|
|
473
473
|
dir: c,
|
|
474
474
|
activationMode: d = "automatic",
|
|
475
475
|
...u
|
|
476
|
-
} = e, p =
|
|
476
|
+
} = e, p = De(c), [g, v] = Be({
|
|
477
477
|
prop: r,
|
|
478
478
|
onChange: o,
|
|
479
479
|
defaultProp: s
|
|
480
480
|
});
|
|
481
481
|
return /* @__PURE__ */ i(
|
|
482
|
-
|
|
482
|
+
Xt,
|
|
483
483
|
{
|
|
484
484
|
scope: n,
|
|
485
|
-
baseId:
|
|
485
|
+
baseId: je(),
|
|
486
486
|
value: g,
|
|
487
487
|
onValueChange: v,
|
|
488
488
|
orientation: a,
|
|
489
489
|
dir: p,
|
|
490
490
|
activationMode: d,
|
|
491
491
|
children: /* @__PURE__ */ i(
|
|
492
|
-
|
|
492
|
+
j.div,
|
|
493
493
|
{
|
|
494
494
|
dir: p,
|
|
495
495
|
"data-orientation": a,
|
|
@@ -501,12 +501,12 @@ var ye = "Tabs", [Yt, gn] = ce(ye, [
|
|
|
501
501
|
);
|
|
502
502
|
}
|
|
503
503
|
);
|
|
504
|
-
|
|
505
|
-
var
|
|
504
|
+
Je.displayName = Ne;
|
|
505
|
+
var Xe = "TabsList", Qe = l.forwardRef(
|
|
506
506
|
(e, t) => {
|
|
507
|
-
const { __scopeTabs: n, loop: r = !0, ...o } = e, s =
|
|
507
|
+
const { __scopeTabs: n, loop: r = !0, ...o } = e, s = Se(Xe, n), a = He(n);
|
|
508
508
|
return /* @__PURE__ */ i(
|
|
509
|
-
|
|
509
|
+
Kt,
|
|
510
510
|
{
|
|
511
511
|
asChild: !0,
|
|
512
512
|
...a,
|
|
@@ -514,7 +514,7 @@ var Je = "TabsList", Xe = l.forwardRef(
|
|
|
514
514
|
dir: s.dir,
|
|
515
515
|
loop: r,
|
|
516
516
|
children: /* @__PURE__ */ i(
|
|
517
|
-
|
|
517
|
+
j.div,
|
|
518
518
|
{
|
|
519
519
|
role: "tablist",
|
|
520
520
|
"aria-orientation": s.orientation,
|
|
@@ -526,19 +526,19 @@ var Je = "TabsList", Xe = l.forwardRef(
|
|
|
526
526
|
);
|
|
527
527
|
}
|
|
528
528
|
);
|
|
529
|
-
|
|
530
|
-
var
|
|
529
|
+
Qe.displayName = Xe;
|
|
530
|
+
var et = "TabsTrigger", tt = l.forwardRef(
|
|
531
531
|
(e, t) => {
|
|
532
|
-
const { __scopeTabs: n, value: r, disabled: o = !1, ...s } = e, a =
|
|
532
|
+
const { __scopeTabs: n, value: r, disabled: o = !1, ...s } = e, a = Se(et, n), c = He(n), d = ot(a.baseId, r), u = st(a.baseId, r), p = r === a.value;
|
|
533
533
|
return /* @__PURE__ */ i(
|
|
534
|
-
|
|
534
|
+
qt,
|
|
535
535
|
{
|
|
536
536
|
asChild: !0,
|
|
537
537
|
...c,
|
|
538
538
|
focusable: !o,
|
|
539
539
|
active: p,
|
|
540
540
|
children: /* @__PURE__ */ i(
|
|
541
|
-
|
|
541
|
+
j.button,
|
|
542
542
|
{
|
|
543
543
|
type: "button",
|
|
544
544
|
role: "tab",
|
|
@@ -566,15 +566,15 @@ var Qe = "TabsTrigger", et = l.forwardRef(
|
|
|
566
566
|
);
|
|
567
567
|
}
|
|
568
568
|
);
|
|
569
|
-
|
|
570
|
-
var
|
|
569
|
+
tt.displayName = et;
|
|
570
|
+
var rt = "TabsContent", nt = l.forwardRef(
|
|
571
571
|
(e, t) => {
|
|
572
|
-
const { __scopeTabs: n, value: r, forceMount: o, children: s, ...a } = e, c =
|
|
572
|
+
const { __scopeTabs: n, value: r, forceMount: o, children: s, ...a } = e, c = Se(rt, n), d = ot(c.baseId, r), u = st(c.baseId, r), p = r === c.value, g = l.useRef(p);
|
|
573
573
|
return l.useEffect(() => {
|
|
574
574
|
const v = requestAnimationFrame(() => g.current = !1);
|
|
575
575
|
return () => cancelAnimationFrame(v);
|
|
576
|
-
}, []), /* @__PURE__ */ i(
|
|
577
|
-
|
|
576
|
+
}, []), /* @__PURE__ */ i(Ye, { present: o || p, children: ({ present: v }) => /* @__PURE__ */ i(
|
|
577
|
+
j.div,
|
|
578
578
|
{
|
|
579
579
|
"data-state": p ? "active" : "inactive",
|
|
580
580
|
"data-orientation": c.orientation,
|
|
@@ -594,62 +594,62 @@ var tt = "TabsContent", rt = l.forwardRef(
|
|
|
594
594
|
) });
|
|
595
595
|
}
|
|
596
596
|
);
|
|
597
|
-
|
|
598
|
-
function
|
|
597
|
+
nt.displayName = rt;
|
|
598
|
+
function ot(e, t) {
|
|
599
599
|
return `${e}-trigger-${t}`;
|
|
600
600
|
}
|
|
601
|
-
function
|
|
601
|
+
function st(e, t) {
|
|
602
602
|
return `${e}-content-${t}`;
|
|
603
603
|
}
|
|
604
|
-
var
|
|
605
|
-
function
|
|
604
|
+
var Qt = Je, er = Qe, tr = tt, rr = nt;
|
|
605
|
+
function at(e) {
|
|
606
606
|
var t, n, r = "";
|
|
607
607
|
if (typeof e == "string" || typeof e == "number") r += e;
|
|
608
608
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
609
609
|
var o = e.length;
|
|
610
|
-
for (t = 0; t < o; t++) e[t] && (n =
|
|
610
|
+
for (t = 0; t < o; t++) e[t] && (n = at(e[t])) && (r && (r += " "), r += n);
|
|
611
611
|
} else for (n in e) e[n] && (r && (r += " "), r += n);
|
|
612
612
|
return r;
|
|
613
613
|
}
|
|
614
|
-
function
|
|
615
|
-
for (var e, t, n = 0, r = "", o = arguments.length; n < o; n++) (e = arguments[n]) && (t =
|
|
614
|
+
function it() {
|
|
615
|
+
for (var e, t, n = 0, r = "", o = arguments.length; n < o; n++) (e = arguments[n]) && (t = at(e)) && (r && (r += " "), r += t);
|
|
616
616
|
return r;
|
|
617
617
|
}
|
|
618
|
-
const
|
|
619
|
-
const t =
|
|
618
|
+
const Ae = "-", nr = (e) => {
|
|
619
|
+
const t = sr(e), {
|
|
620
620
|
conflictingClassGroups: n,
|
|
621
621
|
conflictingClassGroupModifiers: r
|
|
622
622
|
} = e;
|
|
623
623
|
return {
|
|
624
624
|
getClassGroupId: (a) => {
|
|
625
|
-
const c = a.split(
|
|
626
|
-
return c[0] === "" && c.length !== 1 && c.shift(),
|
|
625
|
+
const c = a.split(Ae);
|
|
626
|
+
return c[0] === "" && c.length !== 1 && c.shift(), lt(c, t) || or(a);
|
|
627
627
|
},
|
|
628
628
|
getConflictingClassGroupIds: (a, c) => {
|
|
629
629
|
const d = n[a] || [];
|
|
630
630
|
return c && r[a] ? [...d, ...r[a]] : d;
|
|
631
631
|
}
|
|
632
632
|
};
|
|
633
|
-
},
|
|
633
|
+
}, lt = (e, t) => {
|
|
634
634
|
var a;
|
|
635
635
|
if (e.length === 0)
|
|
636
636
|
return t.classGroupId;
|
|
637
|
-
const n = e[0], r = t.nextPart.get(n), o = r ?
|
|
637
|
+
const n = e[0], r = t.nextPart.get(n), o = r ? lt(e.slice(1), r) : void 0;
|
|
638
638
|
if (o)
|
|
639
639
|
return o;
|
|
640
640
|
if (t.validators.length === 0)
|
|
641
641
|
return;
|
|
642
|
-
const s = e.join(
|
|
642
|
+
const s = e.join(Ae);
|
|
643
643
|
return (a = t.validators.find(({
|
|
644
644
|
validator: c
|
|
645
645
|
}) => c(s))) == null ? void 0 : a.classGroupId;
|
|
646
|
-
},
|
|
647
|
-
if (
|
|
648
|
-
const t =
|
|
646
|
+
}, Te = /^\[(.+)\]$/, or = (e) => {
|
|
647
|
+
if (Te.test(e)) {
|
|
648
|
+
const t = Te.exec(e)[1], n = t == null ? void 0 : t.substring(0, t.indexOf(":"));
|
|
649
649
|
if (n)
|
|
650
650
|
return "arbitrary.." + n;
|
|
651
651
|
}
|
|
652
|
-
},
|
|
652
|
+
}, sr = (e) => {
|
|
653
653
|
const {
|
|
654
654
|
theme: t,
|
|
655
655
|
classGroups: n
|
|
@@ -658,18 +658,18 @@ const Se = "-", rr = (e) => {
|
|
|
658
658
|
validators: []
|
|
659
659
|
};
|
|
660
660
|
for (const o in n)
|
|
661
|
-
|
|
661
|
+
we(n[o], r, o, t);
|
|
662
662
|
return r;
|
|
663
|
-
},
|
|
663
|
+
}, we = (e, t, n, r) => {
|
|
664
664
|
e.forEach((o) => {
|
|
665
665
|
if (typeof o == "string") {
|
|
666
|
-
const s = o === "" ? t :
|
|
666
|
+
const s = o === "" ? t : Le(t, o);
|
|
667
667
|
s.classGroupId = n;
|
|
668
668
|
return;
|
|
669
669
|
}
|
|
670
670
|
if (typeof o == "function") {
|
|
671
|
-
if (
|
|
672
|
-
|
|
671
|
+
if (ar(o)) {
|
|
672
|
+
we(o(r), t, n, r);
|
|
673
673
|
return;
|
|
674
674
|
}
|
|
675
675
|
t.validators.push({
|
|
@@ -679,18 +679,18 @@ const Se = "-", rr = (e) => {
|
|
|
679
679
|
return;
|
|
680
680
|
}
|
|
681
681
|
Object.entries(o).forEach(([s, a]) => {
|
|
682
|
-
|
|
682
|
+
we(a, Le(t, s), n, r);
|
|
683
683
|
});
|
|
684
684
|
});
|
|
685
|
-
},
|
|
685
|
+
}, Le = (e, t) => {
|
|
686
686
|
let n = e;
|
|
687
|
-
return t.split(
|
|
687
|
+
return t.split(Ae).forEach((r) => {
|
|
688
688
|
n.nextPart.has(r) || n.nextPart.set(r, {
|
|
689
689
|
nextPart: /* @__PURE__ */ new Map(),
|
|
690
690
|
validators: []
|
|
691
691
|
}), n = n.nextPart.get(r);
|
|
692
692
|
}), n;
|
|
693
|
-
},
|
|
693
|
+
}, ar = (e) => e.isThemeGetter, ir = (e) => {
|
|
694
694
|
if (e < 1)
|
|
695
695
|
return {
|
|
696
696
|
get: () => {
|
|
@@ -714,7 +714,7 @@ const Se = "-", rr = (e) => {
|
|
|
714
714
|
n.has(s) ? n.set(s, a) : o(s, a);
|
|
715
715
|
}
|
|
716
716
|
};
|
|
717
|
-
},
|
|
717
|
+
}, Ce = "!", ye = ":", lr = ye.length, cr = (e) => {
|
|
718
718
|
const {
|
|
719
719
|
prefix: t,
|
|
720
720
|
experimentalParseClassName: n
|
|
@@ -725,8 +725,8 @@ const Se = "-", rr = (e) => {
|
|
|
725
725
|
for (let b = 0; b < o.length; b++) {
|
|
726
726
|
let x = o[b];
|
|
727
727
|
if (a === 0 && c === 0) {
|
|
728
|
-
if (x ===
|
|
729
|
-
s.push(o.slice(d, b)), d = b +
|
|
728
|
+
if (x === ye) {
|
|
729
|
+
s.push(o.slice(d, b)), d = b + lr;
|
|
730
730
|
continue;
|
|
731
731
|
}
|
|
732
732
|
if (x === "/") {
|
|
@@ -736,7 +736,7 @@ const Se = "-", rr = (e) => {
|
|
|
736
736
|
}
|
|
737
737
|
x === "[" ? a++ : x === "]" ? a-- : x === "(" ? c++ : x === ")" && c--;
|
|
738
738
|
}
|
|
739
|
-
const p = s.length === 0 ? o : o.substring(d), g =
|
|
739
|
+
const p = s.length === 0 ? o : o.substring(d), g = dr(p), v = g !== p, C = u && u > d ? u - d : void 0;
|
|
740
740
|
return {
|
|
741
741
|
modifiers: s,
|
|
742
742
|
hasImportantModifier: v,
|
|
@@ -745,7 +745,7 @@ const Se = "-", rr = (e) => {
|
|
|
745
745
|
};
|
|
746
746
|
};
|
|
747
747
|
if (t) {
|
|
748
|
-
const o = t +
|
|
748
|
+
const o = t + ye, s = r;
|
|
749
749
|
r = (a) => a.startsWith(o) ? s(a.substring(o.length)) : {
|
|
750
750
|
isExternal: !0,
|
|
751
751
|
modifiers: [],
|
|
@@ -762,7 +762,7 @@ const Se = "-", rr = (e) => {
|
|
|
762
762
|
});
|
|
763
763
|
}
|
|
764
764
|
return r;
|
|
765
|
-
},
|
|
765
|
+
}, dr = (e) => e.endsWith(Ce) ? e.substring(0, e.length - 1) : e.startsWith(Ce) ? e.substring(1) : e, ur = (e) => {
|
|
766
766
|
const t = Object.fromEntries(e.orderSensitiveModifiers.map((r) => [r, !0]));
|
|
767
767
|
return (r) => {
|
|
768
768
|
if (r.length <= 1)
|
|
@@ -773,18 +773,18 @@ const Se = "-", rr = (e) => {
|
|
|
773
773
|
a[0] === "[" || t[a] ? (o.push(...s.sort(), a), s = []) : s.push(a);
|
|
774
774
|
}), o.push(...s.sort()), o;
|
|
775
775
|
};
|
|
776
|
-
},
|
|
777
|
-
cache:
|
|
778
|
-
parseClassName:
|
|
779
|
-
sortModifiers:
|
|
780
|
-
...
|
|
781
|
-
}),
|
|
776
|
+
}, fr = (e) => ({
|
|
777
|
+
cache: ir(e.cacheSize),
|
|
778
|
+
parseClassName: cr(e),
|
|
779
|
+
sortModifiers: ur(e),
|
|
780
|
+
...nr(e)
|
|
781
|
+
}), mr = /\s+/, pr = (e, t) => {
|
|
782
782
|
const {
|
|
783
783
|
parseClassName: n,
|
|
784
784
|
getClassGroupId: r,
|
|
785
785
|
getConflictingClassGroupIds: o,
|
|
786
786
|
sortModifiers: s
|
|
787
|
-
} = t, a = [], c = e.trim().split(
|
|
787
|
+
} = t, a = [], c = e.trim().split(mr);
|
|
788
788
|
let d = "";
|
|
789
789
|
for (let u = c.length - 1; u >= 0; u -= 1) {
|
|
790
790
|
const p = c[u], {
|
|
@@ -798,9 +798,9 @@ const Se = "-", rr = (e) => {
|
|
|
798
798
|
d = p + (d.length > 0 ? " " + d : d);
|
|
799
799
|
continue;
|
|
800
800
|
}
|
|
801
|
-
let
|
|
801
|
+
let A = !!x, N = r(A ? b.substring(0, x) : b);
|
|
802
802
|
if (!N) {
|
|
803
|
-
if (!
|
|
803
|
+
if (!A) {
|
|
804
804
|
d = p + (d.length > 0 ? " " + d : d);
|
|
805
805
|
continue;
|
|
806
806
|
}
|
|
@@ -808,70 +808,70 @@ const Se = "-", rr = (e) => {
|
|
|
808
808
|
d = p + (d.length > 0 ? " " + d : d);
|
|
809
809
|
continue;
|
|
810
810
|
}
|
|
811
|
-
|
|
811
|
+
A = !1;
|
|
812
812
|
}
|
|
813
|
-
const
|
|
814
|
-
if (a.includes(
|
|
813
|
+
const F = s(v).join(":"), L = C ? F + Ce : F, k = L + N;
|
|
814
|
+
if (a.includes(k))
|
|
815
815
|
continue;
|
|
816
|
-
a.push(
|
|
817
|
-
const P = o(N,
|
|
816
|
+
a.push(k);
|
|
817
|
+
const P = o(N, A);
|
|
818
818
|
for (let h = 0; h < P.length; ++h) {
|
|
819
|
-
const
|
|
820
|
-
a.push(L +
|
|
819
|
+
const M = P[h];
|
|
820
|
+
a.push(L + M);
|
|
821
821
|
}
|
|
822
822
|
d = p + (d.length > 0 ? " " + d : d);
|
|
823
823
|
}
|
|
824
824
|
return d;
|
|
825
825
|
};
|
|
826
|
-
function
|
|
826
|
+
function gr() {
|
|
827
827
|
let e = 0, t, n, r = "";
|
|
828
828
|
for (; e < arguments.length; )
|
|
829
|
-
(t = arguments[e++]) && (n =
|
|
829
|
+
(t = arguments[e++]) && (n = ct(t)) && (r && (r += " "), r += n);
|
|
830
830
|
return r;
|
|
831
831
|
}
|
|
832
|
-
const
|
|
832
|
+
const ct = (e) => {
|
|
833
833
|
if (typeof e == "string")
|
|
834
834
|
return e;
|
|
835
835
|
let t, n = "";
|
|
836
836
|
for (let r = 0; r < e.length; r++)
|
|
837
|
-
e[r] && (t =
|
|
837
|
+
e[r] && (t = ct(e[r])) && (n && (n += " "), n += t);
|
|
838
838
|
return n;
|
|
839
839
|
};
|
|
840
|
-
function
|
|
840
|
+
function br(e, ...t) {
|
|
841
841
|
let n, r, o, s = a;
|
|
842
842
|
function a(d) {
|
|
843
843
|
const u = t.reduce((p, g) => g(p), e());
|
|
844
|
-
return n =
|
|
844
|
+
return n = fr(u), r = n.cache.get, o = n.cache.set, s = c, c(d);
|
|
845
845
|
}
|
|
846
846
|
function c(d) {
|
|
847
847
|
const u = r(d);
|
|
848
848
|
if (u)
|
|
849
849
|
return u;
|
|
850
|
-
const p =
|
|
850
|
+
const p = pr(d, n);
|
|
851
851
|
return o(d, p), p;
|
|
852
852
|
}
|
|
853
853
|
return function() {
|
|
854
|
-
return s(
|
|
854
|
+
return s(gr.apply(null, arguments));
|
|
855
855
|
};
|
|
856
856
|
}
|
|
857
857
|
const R = (e) => {
|
|
858
858
|
const t = (n) => n[e] || [];
|
|
859
859
|
return t.isThemeGetter = !0, t;
|
|
860
|
-
},
|
|
860
|
+
}, dt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, ut = /^\((?:(\w[\w-]*):)?(.+)\)$/i, hr = /^\d+\/\d+$/, vr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, xr = /\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$/, wr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, Cr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, yr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Y = (e) => hr.test(e), w = (e) => !!e && !Number.isNaN(Number(e)), K = (e) => !!e && Number.isInteger(Number(e)), Pe = (e) => e.endsWith("%") && w(e.slice(0, -1)), $ = (e) => vr.test(e), Nr = () => !0, Sr = (e) => (
|
|
861
861
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
862
862
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
863
863
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
864
|
-
|
|
865
|
-
), Fe = () => !1,
|
|
866
|
-
const r =
|
|
864
|
+
xr.test(e) && !wr.test(e)
|
|
865
|
+
), Fe = () => !1, Ar = (e) => Cr.test(e), Fr = (e) => yr.test(e), Rr = (e) => !f(e) && !m(e), Ir = (e) => H(e, pt, Fe), f = (e) => dt.test(e), q = (e) => H(e, gt, Sr), be = (e) => H(e, Gr, w), Er = (e) => H(e, ft, Fe), Mr = (e) => H(e, mt, Fr), kr = (e) => H(e, Fe, Ar), m = (e) => ut.test(e), le = (e) => J(e, gt), Tr = (e) => J(e, jr), Lr = (e) => J(e, ft), Pr = (e) => J(e, pt), _r = (e) => J(e, mt), Vr = (e) => J(e, Br, !0), H = (e, t, n) => {
|
|
866
|
+
const r = dt.exec(e);
|
|
867
867
|
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
|
|
868
868
|
}, J = (e, t, n = !1) => {
|
|
869
|
-
const r =
|
|
869
|
+
const r = ut.exec(e);
|
|
870
870
|
return r ? r[1] ? t(r[1]) : n : !1;
|
|
871
|
-
},
|
|
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"),
|
|
871
|
+
}, ft = (e) => e === "position", zr = /* @__PURE__ */ new Set(["image", "url"]), mt = (e) => zr.has(e), Or = /* @__PURE__ */ new Set(["length", "size", "percentage"]), pt = (e) => Or.has(e), gt = (e) => e === "length", Gr = (e) => e === "number", jr = (e) => e === "family-name", Br = (e) => e === "shadow", Dr = () => {
|
|
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"), A = R("ease"), N = R("animate"), F = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], L = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], k = () => ["auto", "hidden", "clip", "visible", "scroll"], P = () => ["auto", "contain", "none"], h = () => [m, f, d], M = () => [Y, "full", "auto", ...h()], I = () => [K, "none", "subgrid", m, f], re = () => ["auto", {
|
|
873
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 = () => [
|
|
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 = () => [Y, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...h()], y = () => [e, m, f], me = () => [Pe, q], E = () => [
|
|
875
875
|
// Deprecated since Tailwind CSS v4.0.0
|
|
876
876
|
"",
|
|
877
877
|
"none",
|
|
@@ -879,14 +879,14 @@ const R = (e) => {
|
|
|
879
879
|
u,
|
|
880
880
|
m,
|
|
881
881
|
f
|
|
882
|
-
], T = () => ["", w,
|
|
882
|
+
], T = () => ["", w, le, q], ne = () => ["solid", "dashed", "dotted", "double"], Ie = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], Ee = () => [
|
|
883
883
|
// Deprecated since Tailwind CSS v4.0.0
|
|
884
884
|
"",
|
|
885
885
|
"none",
|
|
886
886
|
C,
|
|
887
887
|
m,
|
|
888
888
|
f
|
|
889
|
-
], Me = () => ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", m, f],
|
|
889
|
+
], Me = () => ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", m, f], oe = () => ["none", w, m, f], se = () => ["none", w, m, f], pe = () => [w, m, f], ae = () => [Y, "full", ...h()];
|
|
890
890
|
return {
|
|
891
891
|
cacheSize: 500,
|
|
892
892
|
theme: {
|
|
@@ -894,11 +894,11 @@ const R = (e) => {
|
|
|
894
894
|
aspect: ["video"],
|
|
895
895
|
blur: [$],
|
|
896
896
|
breakpoint: [$],
|
|
897
|
-
color: [
|
|
897
|
+
color: [Nr],
|
|
898
898
|
container: [$],
|
|
899
899
|
"drop-shadow": [$],
|
|
900
900
|
ease: ["in", "out", "in-out"],
|
|
901
|
-
font: [
|
|
901
|
+
font: [Rr],
|
|
902
902
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
903
903
|
"inset-shadow": [$],
|
|
904
904
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
@@ -918,7 +918,7 @@ const R = (e) => {
|
|
|
918
918
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
919
919
|
*/
|
|
920
920
|
aspect: [{
|
|
921
|
-
aspect: ["auto", "square",
|
|
921
|
+
aspect: ["auto", "square", Y, f, m, x]
|
|
922
922
|
}],
|
|
923
923
|
/**
|
|
924
924
|
* Container
|
|
@@ -938,14 +938,14 @@ const R = (e) => {
|
|
|
938
938
|
* @see https://tailwindcss.com/docs/break-after
|
|
939
939
|
*/
|
|
940
940
|
"break-after": [{
|
|
941
|
-
"break-after":
|
|
941
|
+
"break-after": F()
|
|
942
942
|
}],
|
|
943
943
|
/**
|
|
944
944
|
* Break Before
|
|
945
945
|
* @see https://tailwindcss.com/docs/break-before
|
|
946
946
|
*/
|
|
947
947
|
"break-before": [{
|
|
948
|
-
"break-before":
|
|
948
|
+
"break-before": F()
|
|
949
949
|
}],
|
|
950
950
|
/**
|
|
951
951
|
* Break Inside
|
|
@@ -1016,21 +1016,21 @@ const R = (e) => {
|
|
|
1016
1016
|
* @see https://tailwindcss.com/docs/overflow
|
|
1017
1017
|
*/
|
|
1018
1018
|
overflow: [{
|
|
1019
|
-
overflow:
|
|
1019
|
+
overflow: k()
|
|
1020
1020
|
}],
|
|
1021
1021
|
/**
|
|
1022
1022
|
* Overflow X
|
|
1023
1023
|
* @see https://tailwindcss.com/docs/overflow
|
|
1024
1024
|
*/
|
|
1025
1025
|
"overflow-x": [{
|
|
1026
|
-
"overflow-x":
|
|
1026
|
+
"overflow-x": k()
|
|
1027
1027
|
}],
|
|
1028
1028
|
/**
|
|
1029
1029
|
* Overflow Y
|
|
1030
1030
|
* @see https://tailwindcss.com/docs/overflow
|
|
1031
1031
|
*/
|
|
1032
1032
|
"overflow-y": [{
|
|
1033
|
-
"overflow-y":
|
|
1033
|
+
"overflow-y": k()
|
|
1034
1034
|
}],
|
|
1035
1035
|
/**
|
|
1036
1036
|
* Overscroll Behavior
|
|
@@ -1063,63 +1063,63 @@ const R = (e) => {
|
|
|
1063
1063
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1064
1064
|
*/
|
|
1065
1065
|
inset: [{
|
|
1066
|
-
inset:
|
|
1066
|
+
inset: M()
|
|
1067
1067
|
}],
|
|
1068
1068
|
/**
|
|
1069
1069
|
* Right / Left
|
|
1070
1070
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1071
1071
|
*/
|
|
1072
1072
|
"inset-x": [{
|
|
1073
|
-
"inset-x":
|
|
1073
|
+
"inset-x": M()
|
|
1074
1074
|
}],
|
|
1075
1075
|
/**
|
|
1076
1076
|
* Top / Bottom
|
|
1077
1077
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1078
1078
|
*/
|
|
1079
1079
|
"inset-y": [{
|
|
1080
|
-
"inset-y":
|
|
1080
|
+
"inset-y": M()
|
|
1081
1081
|
}],
|
|
1082
1082
|
/**
|
|
1083
1083
|
* Start
|
|
1084
1084
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1085
1085
|
*/
|
|
1086
1086
|
start: [{
|
|
1087
|
-
start:
|
|
1087
|
+
start: M()
|
|
1088
1088
|
}],
|
|
1089
1089
|
/**
|
|
1090
1090
|
* End
|
|
1091
1091
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1092
1092
|
*/
|
|
1093
1093
|
end: [{
|
|
1094
|
-
end:
|
|
1094
|
+
end: M()
|
|
1095
1095
|
}],
|
|
1096
1096
|
/**
|
|
1097
1097
|
* Top
|
|
1098
1098
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1099
1099
|
*/
|
|
1100
1100
|
top: [{
|
|
1101
|
-
top:
|
|
1101
|
+
top: M()
|
|
1102
1102
|
}],
|
|
1103
1103
|
/**
|
|
1104
1104
|
* Right
|
|
1105
1105
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1106
1106
|
*/
|
|
1107
1107
|
right: [{
|
|
1108
|
-
right:
|
|
1108
|
+
right: M()
|
|
1109
1109
|
}],
|
|
1110
1110
|
/**
|
|
1111
1111
|
* Bottom
|
|
1112
1112
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1113
1113
|
*/
|
|
1114
1114
|
bottom: [{
|
|
1115
|
-
bottom:
|
|
1115
|
+
bottom: M()
|
|
1116
1116
|
}],
|
|
1117
1117
|
/**
|
|
1118
1118
|
* Left
|
|
1119
1119
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1120
1120
|
*/
|
|
1121
1121
|
left: [{
|
|
1122
|
-
left:
|
|
1122
|
+
left: M()
|
|
1123
1123
|
}],
|
|
1124
1124
|
/**
|
|
1125
1125
|
* Visibility
|
|
@@ -1141,7 +1141,7 @@ const R = (e) => {
|
|
|
1141
1141
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
1142
1142
|
*/
|
|
1143
1143
|
basis: [{
|
|
1144
|
-
basis: [
|
|
1144
|
+
basis: [Y, "full", "auto", c, ...h()]
|
|
1145
1145
|
}],
|
|
1146
1146
|
/**
|
|
1147
1147
|
* Flex Direction
|
|
@@ -1162,7 +1162,7 @@ const R = (e) => {
|
|
|
1162
1162
|
* @see https://tailwindcss.com/docs/flex
|
|
1163
1163
|
*/
|
|
1164
1164
|
flex: [{
|
|
1165
|
-
flex: [w,
|
|
1165
|
+
flex: [w, Y, "auto", "initial", "none", f]
|
|
1166
1166
|
}],
|
|
1167
1167
|
/**
|
|
1168
1168
|
* Flex Grow
|
|
@@ -1197,7 +1197,7 @@ const R = (e) => {
|
|
|
1197
1197
|
* @see https://tailwindcss.com/docs/grid-column
|
|
1198
1198
|
*/
|
|
1199
1199
|
"col-start-end": [{
|
|
1200
|
-
col:
|
|
1200
|
+
col: re()
|
|
1201
1201
|
}],
|
|
1202
1202
|
/**
|
|
1203
1203
|
* Grid Column Start
|
|
@@ -1225,7 +1225,7 @@ const R = (e) => {
|
|
|
1225
1225
|
* @see https://tailwindcss.com/docs/grid-row
|
|
1226
1226
|
*/
|
|
1227
1227
|
"row-start-end": [{
|
|
1228
|
-
row:
|
|
1228
|
+
row: re()
|
|
1229
1229
|
}],
|
|
1230
1230
|
/**
|
|
1231
1231
|
* Grid Row Start
|
|
@@ -1574,7 +1574,7 @@ const R = (e) => {
|
|
|
1574
1574
|
* @see https://tailwindcss.com/docs/font-size
|
|
1575
1575
|
*/
|
|
1576
1576
|
"font-size": [{
|
|
1577
|
-
text: ["base", n,
|
|
1577
|
+
text: ["base", n, le, q]
|
|
1578
1578
|
}],
|
|
1579
1579
|
/**
|
|
1580
1580
|
* Font Smoothing
|
|
@@ -1591,21 +1591,21 @@ const R = (e) => {
|
|
|
1591
1591
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1592
1592
|
*/
|
|
1593
1593
|
"font-weight": [{
|
|
1594
|
-
font: [r, m,
|
|
1594
|
+
font: [r, m, be]
|
|
1595
1595
|
}],
|
|
1596
1596
|
/**
|
|
1597
1597
|
* Font Stretch
|
|
1598
1598
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
1599
1599
|
*/
|
|
1600
1600
|
"font-stretch": [{
|
|
1601
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded",
|
|
1601
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Pe, f]
|
|
1602
1602
|
}],
|
|
1603
1603
|
/**
|
|
1604
1604
|
* Font Family
|
|
1605
1605
|
* @see https://tailwindcss.com/docs/font-family
|
|
1606
1606
|
*/
|
|
1607
1607
|
"font-family": [{
|
|
1608
|
-
font: [
|
|
1608
|
+
font: [Tr, f, t]
|
|
1609
1609
|
}],
|
|
1610
1610
|
/**
|
|
1611
1611
|
* Font Variant Numeric
|
|
@@ -1649,7 +1649,7 @@ const R = (e) => {
|
|
|
1649
1649
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1650
1650
|
*/
|
|
1651
1651
|
"line-clamp": [{
|
|
1652
|
-
"line-clamp": [w, "none", m,
|
|
1652
|
+
"line-clamp": [w, "none", m, be]
|
|
1653
1653
|
}],
|
|
1654
1654
|
/**
|
|
1655
1655
|
* Line Height
|
|
@@ -1715,7 +1715,7 @@ const R = (e) => {
|
|
|
1715
1715
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1716
1716
|
*/
|
|
1717
1717
|
"text-decoration-style": [{
|
|
1718
|
-
decoration: [...
|
|
1718
|
+
decoration: [...ne(), "wavy"]
|
|
1719
1719
|
}],
|
|
1720
1720
|
/**
|
|
1721
1721
|
* Text Decoration Thickness
|
|
@@ -1826,7 +1826,7 @@ const R = (e) => {
|
|
|
1826
1826
|
* @see https://tailwindcss.com/docs/background-position
|
|
1827
1827
|
*/
|
|
1828
1828
|
"bg-position": [{
|
|
1829
|
-
bg: [...L(),
|
|
1829
|
+
bg: [...L(), Lr, Er]
|
|
1830
1830
|
}],
|
|
1831
1831
|
/**
|
|
1832
1832
|
* Background Repeat
|
|
@@ -1842,7 +1842,7 @@ const R = (e) => {
|
|
|
1842
1842
|
* @see https://tailwindcss.com/docs/background-size
|
|
1843
1843
|
*/
|
|
1844
1844
|
"bg-size": [{
|
|
1845
|
-
bg: ["auto", "cover", "contain",
|
|
1845
|
+
bg: ["auto", "cover", "contain", Pr, Ir]
|
|
1846
1846
|
}],
|
|
1847
1847
|
/**
|
|
1848
1848
|
* Background Image
|
|
@@ -1855,7 +1855,7 @@ const R = (e) => {
|
|
|
1855
1855
|
}, K, m, f],
|
|
1856
1856
|
radial: ["", m, f],
|
|
1857
1857
|
conic: [K, m, f]
|
|
1858
|
-
},
|
|
1858
|
+
}, _r, Mr]
|
|
1859
1859
|
}],
|
|
1860
1860
|
/**
|
|
1861
1861
|
* Background Color
|
|
@@ -1869,21 +1869,21 @@ const R = (e) => {
|
|
|
1869
1869
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1870
1870
|
*/
|
|
1871
1871
|
"gradient-from-pos": [{
|
|
1872
|
-
from:
|
|
1872
|
+
from: me()
|
|
1873
1873
|
}],
|
|
1874
1874
|
/**
|
|
1875
1875
|
* Gradient Color Stops Via Position
|
|
1876
1876
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1877
1877
|
*/
|
|
1878
1878
|
"gradient-via-pos": [{
|
|
1879
|
-
via:
|
|
1879
|
+
via: me()
|
|
1880
1880
|
}],
|
|
1881
1881
|
/**
|
|
1882
1882
|
* Gradient Color Stops To Position
|
|
1883
1883
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1884
1884
|
*/
|
|
1885
1885
|
"gradient-to-pos": [{
|
|
1886
|
-
to:
|
|
1886
|
+
to: me()
|
|
1887
1887
|
}],
|
|
1888
1888
|
/**
|
|
1889
1889
|
* Gradient Color Stops From
|
|
@@ -1914,105 +1914,105 @@ const R = (e) => {
|
|
|
1914
1914
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1915
1915
|
*/
|
|
1916
1916
|
rounded: [{
|
|
1917
|
-
rounded:
|
|
1917
|
+
rounded: E()
|
|
1918
1918
|
}],
|
|
1919
1919
|
/**
|
|
1920
1920
|
* Border Radius Start
|
|
1921
1921
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1922
1922
|
*/
|
|
1923
1923
|
"rounded-s": [{
|
|
1924
|
-
"rounded-s":
|
|
1924
|
+
"rounded-s": E()
|
|
1925
1925
|
}],
|
|
1926
1926
|
/**
|
|
1927
1927
|
* Border Radius End
|
|
1928
1928
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1929
1929
|
*/
|
|
1930
1930
|
"rounded-e": [{
|
|
1931
|
-
"rounded-e":
|
|
1931
|
+
"rounded-e": E()
|
|
1932
1932
|
}],
|
|
1933
1933
|
/**
|
|
1934
1934
|
* Border Radius Top
|
|
1935
1935
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1936
1936
|
*/
|
|
1937
1937
|
"rounded-t": [{
|
|
1938
|
-
"rounded-t":
|
|
1938
|
+
"rounded-t": E()
|
|
1939
1939
|
}],
|
|
1940
1940
|
/**
|
|
1941
1941
|
* Border Radius Right
|
|
1942
1942
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1943
1943
|
*/
|
|
1944
1944
|
"rounded-r": [{
|
|
1945
|
-
"rounded-r":
|
|
1945
|
+
"rounded-r": E()
|
|
1946
1946
|
}],
|
|
1947
1947
|
/**
|
|
1948
1948
|
* Border Radius Bottom
|
|
1949
1949
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1950
1950
|
*/
|
|
1951
1951
|
"rounded-b": [{
|
|
1952
|
-
"rounded-b":
|
|
1952
|
+
"rounded-b": E()
|
|
1953
1953
|
}],
|
|
1954
1954
|
/**
|
|
1955
1955
|
* Border Radius Left
|
|
1956
1956
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1957
1957
|
*/
|
|
1958
1958
|
"rounded-l": [{
|
|
1959
|
-
"rounded-l":
|
|
1959
|
+
"rounded-l": E()
|
|
1960
1960
|
}],
|
|
1961
1961
|
/**
|
|
1962
1962
|
* Border Radius Start Start
|
|
1963
1963
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1964
1964
|
*/
|
|
1965
1965
|
"rounded-ss": [{
|
|
1966
|
-
"rounded-ss":
|
|
1966
|
+
"rounded-ss": E()
|
|
1967
1967
|
}],
|
|
1968
1968
|
/**
|
|
1969
1969
|
* Border Radius Start End
|
|
1970
1970
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1971
1971
|
*/
|
|
1972
1972
|
"rounded-se": [{
|
|
1973
|
-
"rounded-se":
|
|
1973
|
+
"rounded-se": E()
|
|
1974
1974
|
}],
|
|
1975
1975
|
/**
|
|
1976
1976
|
* Border Radius End End
|
|
1977
1977
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1978
1978
|
*/
|
|
1979
1979
|
"rounded-ee": [{
|
|
1980
|
-
"rounded-ee":
|
|
1980
|
+
"rounded-ee": E()
|
|
1981
1981
|
}],
|
|
1982
1982
|
/**
|
|
1983
1983
|
* Border Radius End Start
|
|
1984
1984
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1985
1985
|
*/
|
|
1986
1986
|
"rounded-es": [{
|
|
1987
|
-
"rounded-es":
|
|
1987
|
+
"rounded-es": E()
|
|
1988
1988
|
}],
|
|
1989
1989
|
/**
|
|
1990
1990
|
* Border Radius Top Left
|
|
1991
1991
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1992
1992
|
*/
|
|
1993
1993
|
"rounded-tl": [{
|
|
1994
|
-
"rounded-tl":
|
|
1994
|
+
"rounded-tl": E()
|
|
1995
1995
|
}],
|
|
1996
1996
|
/**
|
|
1997
1997
|
* Border Radius Top Right
|
|
1998
1998
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1999
1999
|
*/
|
|
2000
2000
|
"rounded-tr": [{
|
|
2001
|
-
"rounded-tr":
|
|
2001
|
+
"rounded-tr": E()
|
|
2002
2002
|
}],
|
|
2003
2003
|
/**
|
|
2004
2004
|
* Border Radius Bottom Right
|
|
2005
2005
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2006
2006
|
*/
|
|
2007
2007
|
"rounded-br": [{
|
|
2008
|
-
"rounded-br":
|
|
2008
|
+
"rounded-br": E()
|
|
2009
2009
|
}],
|
|
2010
2010
|
/**
|
|
2011
2011
|
* Border Radius Bottom Left
|
|
2012
2012
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2013
2013
|
*/
|
|
2014
2014
|
"rounded-bl": [{
|
|
2015
|
-
"rounded-bl":
|
|
2015
|
+
"rounded-bl": E()
|
|
2016
2016
|
}],
|
|
2017
2017
|
/**
|
|
2018
2018
|
* Border Width
|
|
@@ -2106,14 +2106,14 @@ const R = (e) => {
|
|
|
2106
2106
|
* @see https://tailwindcss.com/docs/border-style
|
|
2107
2107
|
*/
|
|
2108
2108
|
"border-style": [{
|
|
2109
|
-
border: [...
|
|
2109
|
+
border: [...ne(), "hidden", "none"]
|
|
2110
2110
|
}],
|
|
2111
2111
|
/**
|
|
2112
2112
|
* Divide Style
|
|
2113
2113
|
* @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
|
|
2114
2114
|
*/
|
|
2115
2115
|
"divide-style": [{
|
|
2116
|
-
divide: [...
|
|
2116
|
+
divide: [...ne(), "hidden", "none"]
|
|
2117
2117
|
}],
|
|
2118
2118
|
/**
|
|
2119
2119
|
* Border Color
|
|
@@ -2190,7 +2190,7 @@ const R = (e) => {
|
|
|
2190
2190
|
* @see https://tailwindcss.com/docs/outline-style
|
|
2191
2191
|
*/
|
|
2192
2192
|
"outline-style": [{
|
|
2193
|
-
outline: [...
|
|
2193
|
+
outline: [...ne(), "none", "hidden"]
|
|
2194
2194
|
}],
|
|
2195
2195
|
/**
|
|
2196
2196
|
* Outline Offset
|
|
@@ -2204,7 +2204,7 @@ const R = (e) => {
|
|
|
2204
2204
|
* @see https://tailwindcss.com/docs/outline-width
|
|
2205
2205
|
*/
|
|
2206
2206
|
"outline-w": [{
|
|
2207
|
-
outline: ["", w,
|
|
2207
|
+
outline: ["", w, le, q]
|
|
2208
2208
|
}],
|
|
2209
2209
|
/**
|
|
2210
2210
|
* Outline Color
|
|
@@ -2226,7 +2226,7 @@ const R = (e) => {
|
|
|
2226
2226
|
"",
|
|
2227
2227
|
"none",
|
|
2228
2228
|
p,
|
|
2229
|
-
|
|
2229
|
+
Vr,
|
|
2230
2230
|
kr
|
|
2231
2231
|
]
|
|
2232
2232
|
}],
|
|
@@ -2316,14 +2316,14 @@ const R = (e) => {
|
|
|
2316
2316
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
2317
2317
|
*/
|
|
2318
2318
|
"mix-blend": [{
|
|
2319
|
-
"mix-blend": [...
|
|
2319
|
+
"mix-blend": [...Ie(), "plus-darker", "plus-lighter"]
|
|
2320
2320
|
}],
|
|
2321
2321
|
/**
|
|
2322
2322
|
* Background Blend Mode
|
|
2323
2323
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
2324
2324
|
*/
|
|
2325
2325
|
"bg-blend": [{
|
|
2326
|
-
"bg-blend":
|
|
2326
|
+
"bg-blend": Ie()
|
|
2327
2327
|
}],
|
|
2328
2328
|
// ---------------
|
|
2329
2329
|
// --- Filters ---
|
|
@@ -2346,7 +2346,7 @@ const R = (e) => {
|
|
|
2346
2346
|
* @see https://tailwindcss.com/docs/blur
|
|
2347
2347
|
*/
|
|
2348
2348
|
blur: [{
|
|
2349
|
-
blur:
|
|
2349
|
+
blur: Ee()
|
|
2350
2350
|
}],
|
|
2351
2351
|
/**
|
|
2352
2352
|
* Brightness
|
|
@@ -2429,7 +2429,7 @@ const R = (e) => {
|
|
|
2429
2429
|
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2430
2430
|
*/
|
|
2431
2431
|
"backdrop-blur": [{
|
|
2432
|
-
"backdrop-blur":
|
|
2432
|
+
"backdrop-blur": Ee()
|
|
2433
2433
|
}],
|
|
2434
2434
|
/**
|
|
2435
2435
|
* Backdrop Brightness
|
|
@@ -2561,7 +2561,7 @@ const R = (e) => {
|
|
|
2561
2561
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2562
2562
|
*/
|
|
2563
2563
|
ease: [{
|
|
2564
|
-
ease: ["linear", "initial",
|
|
2564
|
+
ease: ["linear", "initial", A, m, f]
|
|
2565
2565
|
}],
|
|
2566
2566
|
/**
|
|
2567
2567
|
* Transition Delay
|
|
@@ -2606,56 +2606,56 @@ const R = (e) => {
|
|
|
2606
2606
|
* @see https://tailwindcss.com/docs/rotate
|
|
2607
2607
|
*/
|
|
2608
2608
|
rotate: [{
|
|
2609
|
-
rotate:
|
|
2609
|
+
rotate: oe()
|
|
2610
2610
|
}],
|
|
2611
2611
|
/**
|
|
2612
2612
|
* Rotate X
|
|
2613
2613
|
* @see https://tailwindcss.com/docs/rotate
|
|
2614
2614
|
*/
|
|
2615
2615
|
"rotate-x": [{
|
|
2616
|
-
"rotate-x":
|
|
2616
|
+
"rotate-x": oe()
|
|
2617
2617
|
}],
|
|
2618
2618
|
/**
|
|
2619
2619
|
* Rotate Y
|
|
2620
2620
|
* @see https://tailwindcss.com/docs/rotate
|
|
2621
2621
|
*/
|
|
2622
2622
|
"rotate-y": [{
|
|
2623
|
-
"rotate-y":
|
|
2623
|
+
"rotate-y": oe()
|
|
2624
2624
|
}],
|
|
2625
2625
|
/**
|
|
2626
2626
|
* Rotate Z
|
|
2627
2627
|
* @see https://tailwindcss.com/docs/rotate
|
|
2628
2628
|
*/
|
|
2629
2629
|
"rotate-z": [{
|
|
2630
|
-
"rotate-z":
|
|
2630
|
+
"rotate-z": oe()
|
|
2631
2631
|
}],
|
|
2632
2632
|
/**
|
|
2633
2633
|
* Scale
|
|
2634
2634
|
* @see https://tailwindcss.com/docs/scale
|
|
2635
2635
|
*/
|
|
2636
2636
|
scale: [{
|
|
2637
|
-
scale:
|
|
2637
|
+
scale: se()
|
|
2638
2638
|
}],
|
|
2639
2639
|
/**
|
|
2640
2640
|
* Scale X
|
|
2641
2641
|
* @see https://tailwindcss.com/docs/scale
|
|
2642
2642
|
*/
|
|
2643
2643
|
"scale-x": [{
|
|
2644
|
-
"scale-x":
|
|
2644
|
+
"scale-x": se()
|
|
2645
2645
|
}],
|
|
2646
2646
|
/**
|
|
2647
2647
|
* Scale Y
|
|
2648
2648
|
* @see https://tailwindcss.com/docs/scale
|
|
2649
2649
|
*/
|
|
2650
2650
|
"scale-y": [{
|
|
2651
|
-
"scale-y":
|
|
2651
|
+
"scale-y": se()
|
|
2652
2652
|
}],
|
|
2653
2653
|
/**
|
|
2654
2654
|
* Scale Z
|
|
2655
2655
|
* @see https://tailwindcss.com/docs/scale
|
|
2656
2656
|
*/
|
|
2657
2657
|
"scale-z": [{
|
|
2658
|
-
"scale-z":
|
|
2658
|
+
"scale-z": se()
|
|
2659
2659
|
}],
|
|
2660
2660
|
/**
|
|
2661
2661
|
* Scale 3D
|
|
@@ -2667,21 +2667,21 @@ const R = (e) => {
|
|
|
2667
2667
|
* @see https://tailwindcss.com/docs/skew
|
|
2668
2668
|
*/
|
|
2669
2669
|
skew: [{
|
|
2670
|
-
skew:
|
|
2670
|
+
skew: pe()
|
|
2671
2671
|
}],
|
|
2672
2672
|
/**
|
|
2673
2673
|
* Skew X
|
|
2674
2674
|
* @see https://tailwindcss.com/docs/skew
|
|
2675
2675
|
*/
|
|
2676
2676
|
"skew-x": [{
|
|
2677
|
-
"skew-x":
|
|
2677
|
+
"skew-x": pe()
|
|
2678
2678
|
}],
|
|
2679
2679
|
/**
|
|
2680
2680
|
* Skew Y
|
|
2681
2681
|
* @see https://tailwindcss.com/docs/skew
|
|
2682
2682
|
*/
|
|
2683
2683
|
"skew-y": [{
|
|
2684
|
-
"skew-y":
|
|
2684
|
+
"skew-y": pe()
|
|
2685
2685
|
}],
|
|
2686
2686
|
/**
|
|
2687
2687
|
* Transform
|
|
@@ -2709,28 +2709,28 @@ const R = (e) => {
|
|
|
2709
2709
|
* @see https://tailwindcss.com/docs/translate
|
|
2710
2710
|
*/
|
|
2711
2711
|
translate: [{
|
|
2712
|
-
translate:
|
|
2712
|
+
translate: ae()
|
|
2713
2713
|
}],
|
|
2714
2714
|
/**
|
|
2715
2715
|
* Translate X
|
|
2716
2716
|
* @see https://tailwindcss.com/docs/translate
|
|
2717
2717
|
*/
|
|
2718
2718
|
"translate-x": [{
|
|
2719
|
-
"translate-x":
|
|
2719
|
+
"translate-x": ae()
|
|
2720
2720
|
}],
|
|
2721
2721
|
/**
|
|
2722
2722
|
* Translate Y
|
|
2723
2723
|
* @see https://tailwindcss.com/docs/translate
|
|
2724
2724
|
*/
|
|
2725
2725
|
"translate-y": [{
|
|
2726
|
-
"translate-y":
|
|
2726
|
+
"translate-y": ae()
|
|
2727
2727
|
}],
|
|
2728
2728
|
/**
|
|
2729
2729
|
* Translate Z
|
|
2730
2730
|
* @see https://tailwindcss.com/docs/translate
|
|
2731
2731
|
*/
|
|
2732
2732
|
"translate-z": [{
|
|
2733
|
-
"translate-z":
|
|
2733
|
+
"translate-z": ae()
|
|
2734
2734
|
}],
|
|
2735
2735
|
/**
|
|
2736
2736
|
* Translate None
|
|
@@ -3012,7 +3012,7 @@ const R = (e) => {
|
|
|
3012
3012
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
3013
3013
|
*/
|
|
3014
3014
|
"stroke-w": [{
|
|
3015
|
-
stroke: [w,
|
|
3015
|
+
stroke: [w, le, q, be]
|
|
3016
3016
|
}],
|
|
3017
3017
|
/**
|
|
3018
3018
|
* Stroke
|
|
@@ -3087,32 +3087,32 @@ const R = (e) => {
|
|
|
3087
3087
|
},
|
|
3088
3088
|
orderSensitiveModifiers: ["before", "after", "placeholder", "file", "marker", "selection", "first-line", "first-letter", "backdrop", "*", "**"]
|
|
3089
3089
|
};
|
|
3090
|
-
},
|
|
3091
|
-
function
|
|
3092
|
-
return
|
|
3090
|
+
}, $r = /* @__PURE__ */ br(Dr);
|
|
3091
|
+
function B(...e) {
|
|
3092
|
+
return $r(it(e));
|
|
3093
3093
|
}
|
|
3094
|
-
function
|
|
3094
|
+
function Ur({
|
|
3095
3095
|
className: e,
|
|
3096
3096
|
...t
|
|
3097
3097
|
}) {
|
|
3098
3098
|
return /* @__PURE__ */ i(
|
|
3099
|
-
|
|
3099
|
+
Qt,
|
|
3100
3100
|
{
|
|
3101
3101
|
"data-slot": "tabs",
|
|
3102
|
-
className:
|
|
3102
|
+
className: B("flex flex-col gap-2", e),
|
|
3103
3103
|
...t
|
|
3104
3104
|
}
|
|
3105
3105
|
);
|
|
3106
3106
|
}
|
|
3107
|
-
function
|
|
3107
|
+
function Wr({
|
|
3108
3108
|
className: e,
|
|
3109
3109
|
...t
|
|
3110
3110
|
}) {
|
|
3111
3111
|
return /* @__PURE__ */ i(
|
|
3112
|
-
|
|
3112
|
+
er,
|
|
3113
3113
|
{
|
|
3114
3114
|
"data-slot": "tabs-list",
|
|
3115
|
-
className:
|
|
3115
|
+
className: B(
|
|
3116
3116
|
"bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-1",
|
|
3117
3117
|
e
|
|
3118
3118
|
),
|
|
@@ -3120,15 +3120,15 @@ function Ur({
|
|
|
3120
3120
|
}
|
|
3121
3121
|
);
|
|
3122
3122
|
}
|
|
3123
|
-
function
|
|
3123
|
+
function _e({
|
|
3124
3124
|
className: e,
|
|
3125
3125
|
...t
|
|
3126
3126
|
}) {
|
|
3127
3127
|
return /* @__PURE__ */ i(
|
|
3128
|
-
|
|
3128
|
+
tr,
|
|
3129
3129
|
{
|
|
3130
3130
|
"data-slot": "tabs-trigger",
|
|
3131
|
-
className:
|
|
3131
|
+
className: B(
|
|
3132
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
3133
|
e
|
|
3134
3134
|
),
|
|
@@ -3136,33 +3136,33 @@ function Pe({
|
|
|
3136
3136
|
}
|
|
3137
3137
|
);
|
|
3138
3138
|
}
|
|
3139
|
-
function
|
|
3139
|
+
function Ve({
|
|
3140
3140
|
className: e,
|
|
3141
3141
|
...t
|
|
3142
3142
|
}) {
|
|
3143
3143
|
return /* @__PURE__ */ i(
|
|
3144
|
-
|
|
3144
|
+
rr,
|
|
3145
3145
|
{
|
|
3146
3146
|
"data-slot": "tabs-content",
|
|
3147
|
-
className:
|
|
3147
|
+
className: B("flex-1 outline-none", e),
|
|
3148
3148
|
...t
|
|
3149
3149
|
}
|
|
3150
3150
|
);
|
|
3151
3151
|
}
|
|
3152
|
-
const
|
|
3153
|
-
/* @__PURE__ */ S(
|
|
3154
|
-
/* @__PURE__ */ i(
|
|
3155
|
-
/* @__PURE__ */ i(
|
|
3152
|
+
const hn = () => /* @__PURE__ */ S(Ur, { defaultValue: "transcript", className: "w-[400px]", children: [
|
|
3153
|
+
/* @__PURE__ */ S(Wr, { children: [
|
|
3154
|
+
/* @__PURE__ */ i(_e, { value: "transcript", children: "Transcript" }),
|
|
3155
|
+
/* @__PURE__ */ i(_e, { value: "timeline", children: "Timeline" })
|
|
3156
3156
|
] }),
|
|
3157
|
-
/* @__PURE__ */ i(
|
|
3158
|
-
/* @__PURE__ */ i(
|
|
3159
|
-
] }),
|
|
3157
|
+
/* @__PURE__ */ i(Ve, { value: "transcript", children: "Transcript component." }),
|
|
3158
|
+
/* @__PURE__ */ i(Ve, { value: "timeline", children: "Timeline component." })
|
|
3159
|
+
] }), ze = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Oe = it, Kr = (e, t) => (n) => {
|
|
3160
3160
|
var r;
|
|
3161
|
-
if ((t == null ? void 0 : t.variants) == null) return
|
|
3161
|
+
if ((t == null ? void 0 : t.variants) == null) return Oe(e, n == null ? void 0 : n.class, n == null ? void 0 : n.className);
|
|
3162
3162
|
const { variants: o, defaultVariants: s } = t, a = Object.keys(o).map((u) => {
|
|
3163
3163
|
const p = n == null ? void 0 : n[u], g = s == null ? void 0 : s[u];
|
|
3164
3164
|
if (p === null) return null;
|
|
3165
|
-
const v =
|
|
3165
|
+
const v = ze(p) || ze(g);
|
|
3166
3166
|
return o[u][v];
|
|
3167
3167
|
}), c = n && Object.entries(n).reduce((u, p) => {
|
|
3168
3168
|
let [g, v] = p;
|
|
@@ -3170,22 +3170,22 @@ const bn = () => /* @__PURE__ */ S($r, { defaultValue: "transcript", className:
|
|
|
3170
3170
|
}, {}), d = t == null || (r = t.compoundVariants) === null || r === void 0 ? void 0 : r.reduce((u, p) => {
|
|
3171
3171
|
let { class: g, className: v, ...C } = p;
|
|
3172
3172
|
return Object.entries(C).every((b) => {
|
|
3173
|
-
let [x,
|
|
3174
|
-
return Array.isArray(
|
|
3173
|
+
let [x, A] = b;
|
|
3174
|
+
return Array.isArray(A) ? A.includes({
|
|
3175
3175
|
...s,
|
|
3176
3176
|
...c
|
|
3177
3177
|
}[x]) : {
|
|
3178
3178
|
...s,
|
|
3179
3179
|
...c
|
|
3180
|
-
}[x] ===
|
|
3180
|
+
}[x] === A;
|
|
3181
3181
|
}) ? [
|
|
3182
3182
|
...u,
|
|
3183
3183
|
g,
|
|
3184
3184
|
v
|
|
3185
3185
|
] : u;
|
|
3186
3186
|
}, []);
|
|
3187
|
-
return
|
|
3188
|
-
},
|
|
3187
|
+
return Oe(e, a, d, n == null ? void 0 : n.class, n == null ? void 0 : n.className);
|
|
3188
|
+
}, qr = Kr(
|
|
3189
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
3190
|
{
|
|
3191
3191
|
variants: {
|
|
@@ -3209,60 +3209,60 @@ const bn = () => /* @__PURE__ */ S($r, { defaultValue: "transcript", className:
|
|
|
3209
3209
|
size: "default"
|
|
3210
3210
|
}
|
|
3211
3211
|
}
|
|
3212
|
-
),
|
|
3212
|
+
), bt = l.forwardRef(
|
|
3213
3213
|
({ className: e, variant: t, size: n, asChild: r = !1, ...o }, s) => /* @__PURE__ */ i(
|
|
3214
|
-
r ?
|
|
3214
|
+
r ? ee : "button",
|
|
3215
3215
|
{
|
|
3216
|
-
className:
|
|
3216
|
+
className: B(qr({ variant: t, size: n, className: e })),
|
|
3217
3217
|
ref: s,
|
|
3218
3218
|
...o
|
|
3219
3219
|
}
|
|
3220
3220
|
)
|
|
3221
3221
|
);
|
|
3222
|
-
|
|
3223
|
-
const z = (e) => /* @__PURE__ */ i(
|
|
3224
|
-
var
|
|
3222
|
+
bt.displayName = "Button";
|
|
3223
|
+
const z = (e) => /* @__PURE__ */ i(bt, { ...e, children: e.children });
|
|
3224
|
+
var Re = "Avatar", [Zr, vn] = de(Re), [Yr, ht] = Zr(Re), vt = l.forwardRef(
|
|
3225
3225
|
(e, t) => {
|
|
3226
3226
|
const { __scopeAvatar: n, ...r } = e, [o, s] = l.useState("idle");
|
|
3227
3227
|
return /* @__PURE__ */ i(
|
|
3228
|
-
|
|
3228
|
+
Yr,
|
|
3229
3229
|
{
|
|
3230
3230
|
scope: n,
|
|
3231
3231
|
imageLoadingStatus: o,
|
|
3232
3232
|
onImageLoadingStatusChange: s,
|
|
3233
|
-
children: /* @__PURE__ */ i(
|
|
3233
|
+
children: /* @__PURE__ */ i(j.span, { ...r, ref: t })
|
|
3234
3234
|
}
|
|
3235
3235
|
);
|
|
3236
3236
|
}
|
|
3237
3237
|
);
|
|
3238
|
-
|
|
3239
|
-
var
|
|
3238
|
+
vt.displayName = Re;
|
|
3239
|
+
var xt = "AvatarImage", wt = l.forwardRef(
|
|
3240
3240
|
(e, t) => {
|
|
3241
3241
|
const { __scopeAvatar: n, src: r, onLoadingStatusChange: o = () => {
|
|
3242
|
-
}, ...s } = e, a =
|
|
3242
|
+
}, ...s } = e, a = ht(xt, n), c = Hr(r, s.referrerPolicy), d = ue((u) => {
|
|
3243
3243
|
o(u), a.onImageLoadingStatusChange(u);
|
|
3244
3244
|
});
|
|
3245
|
-
return
|
|
3245
|
+
return te(() => {
|
|
3246
3246
|
c !== "idle" && d(c);
|
|
3247
|
-
}, [c, d]), c === "loaded" ? /* @__PURE__ */ i(
|
|
3247
|
+
}, [c, d]), c === "loaded" ? /* @__PURE__ */ i(j.img, { ...s, ref: t, src: r }) : null;
|
|
3248
3248
|
}
|
|
3249
3249
|
);
|
|
3250
|
-
|
|
3251
|
-
var
|
|
3250
|
+
wt.displayName = xt;
|
|
3251
|
+
var Ct = "AvatarFallback", yt = l.forwardRef(
|
|
3252
3252
|
(e, t) => {
|
|
3253
|
-
const { __scopeAvatar: n, delayMs: r, ...o } = e, s =
|
|
3253
|
+
const { __scopeAvatar: n, delayMs: r, ...o } = e, s = ht(Ct, n), [a, c] = l.useState(r === void 0);
|
|
3254
3254
|
return l.useEffect(() => {
|
|
3255
3255
|
if (r !== void 0) {
|
|
3256
3256
|
const d = window.setTimeout(() => c(!0), r);
|
|
3257
3257
|
return () => window.clearTimeout(d);
|
|
3258
3258
|
}
|
|
3259
|
-
}, [r]), a && s.imageLoadingStatus !== "loaded" ? /* @__PURE__ */ i(
|
|
3259
|
+
}, [r]), a && s.imageLoadingStatus !== "loaded" ? /* @__PURE__ */ i(j.span, { ...o, ref: t }) : null;
|
|
3260
3260
|
}
|
|
3261
3261
|
);
|
|
3262
|
-
|
|
3262
|
+
yt.displayName = Ct;
|
|
3263
3263
|
function Hr(e, t) {
|
|
3264
3264
|
const [n, r] = l.useState("idle");
|
|
3265
|
-
return
|
|
3265
|
+
return te(() => {
|
|
3266
3266
|
if (!e) {
|
|
3267
3267
|
r("error");
|
|
3268
3268
|
return;
|
|
@@ -3276,16 +3276,16 @@ function Hr(e, t) {
|
|
|
3276
3276
|
};
|
|
3277
3277
|
}, [e, t]), n;
|
|
3278
3278
|
}
|
|
3279
|
-
var
|
|
3280
|
-
function
|
|
3279
|
+
var Jr = vt, Xr = wt, Qr = yt;
|
|
3280
|
+
function en({
|
|
3281
3281
|
className: e,
|
|
3282
3282
|
...t
|
|
3283
3283
|
}) {
|
|
3284
3284
|
return /* @__PURE__ */ i(
|
|
3285
|
-
|
|
3285
|
+
Jr,
|
|
3286
3286
|
{
|
|
3287
3287
|
"data-slot": "avatar",
|
|
3288
|
-
className:
|
|
3288
|
+
className: B(
|
|
3289
3289
|
"relative flex size-10 shrink-0 overflow-hidden rounded-full",
|
|
3290
3290
|
e
|
|
3291
3291
|
),
|
|
@@ -3293,28 +3293,28 @@ function Qr({
|
|
|
3293
3293
|
}
|
|
3294
3294
|
);
|
|
3295
3295
|
}
|
|
3296
|
-
function
|
|
3296
|
+
function tn({
|
|
3297
3297
|
className: e,
|
|
3298
3298
|
...t
|
|
3299
3299
|
}) {
|
|
3300
3300
|
return /* @__PURE__ */ i(
|
|
3301
|
-
|
|
3301
|
+
Xr,
|
|
3302
3302
|
{
|
|
3303
3303
|
"data-slot": "avatar-image",
|
|
3304
|
-
className:
|
|
3304
|
+
className: B("aspect-square size-full", e),
|
|
3305
3305
|
...t
|
|
3306
3306
|
}
|
|
3307
3307
|
);
|
|
3308
3308
|
}
|
|
3309
|
-
function
|
|
3309
|
+
function rn({
|
|
3310
3310
|
className: e,
|
|
3311
3311
|
...t
|
|
3312
3312
|
}) {
|
|
3313
3313
|
return /* @__PURE__ */ i(
|
|
3314
|
-
|
|
3314
|
+
Qr,
|
|
3315
3315
|
{
|
|
3316
3316
|
"data-slot": "avatar-fallback",
|
|
3317
|
-
className:
|
|
3317
|
+
className: B(
|
|
3318
3318
|
"bg-muted flex size-full items-center justify-center rounded-full",
|
|
3319
3319
|
e
|
|
3320
3320
|
),
|
|
@@ -3322,17 +3322,17 @@ function tn({
|
|
|
3322
3322
|
}
|
|
3323
3323
|
);
|
|
3324
3324
|
}
|
|
3325
|
-
const
|
|
3325
|
+
const he = ({ url: e, fullName: t, type: n = "primary" }) => {
|
|
3326
3326
|
const r = () => {
|
|
3327
3327
|
const [o, s] = t.split(" ");
|
|
3328
3328
|
return `${(o == null ? void 0 : o.charAt(0)) ?? ""}${(s == null ? void 0 : s.charAt(0)) ?? ""}`;
|
|
3329
3329
|
};
|
|
3330
|
-
return /* @__PURE__ */ S(
|
|
3331
|
-
/* @__PURE__ */ i(
|
|
3330
|
+
return /* @__PURE__ */ S(en, { children: [
|
|
3331
|
+
/* @__PURE__ */ i(tn, { role: "img", src: e }),
|
|
3332
3332
|
/* @__PURE__ */ i(
|
|
3333
|
-
|
|
3333
|
+
rn,
|
|
3334
3334
|
{
|
|
3335
|
-
className:
|
|
3335
|
+
className: B(
|
|
3336
3336
|
"text-base font-normal",
|
|
3337
3337
|
n === "primary" ? "text-[#F5F5F5] bg-[#39385F]" : "bg-[#F5F5F5] text-[#37466D]"
|
|
3338
3338
|
),
|
|
@@ -3340,19 +3340,19 @@ const be = ({ url: e, fullName: t, type: n = "primary" }) => {
|
|
|
3340
3340
|
}
|
|
3341
3341
|
)
|
|
3342
3342
|
] });
|
|
3343
|
-
},
|
|
3344
|
-
Sparkles:
|
|
3345
|
-
ChatBubble:
|
|
3346
|
-
ArrowPathRoundedSquare:
|
|
3347
|
-
Square2Stack:
|
|
3348
|
-
Language:
|
|
3349
|
-
HandRaised:
|
|
3343
|
+
}, 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", { 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" })), 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: "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" })), 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: "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" })), an = (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" })), ln = (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" })), cn = (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" })), dn = {
|
|
3344
|
+
Sparkles: nn,
|
|
3345
|
+
ChatBubble: on,
|
|
3346
|
+
ArrowPathRoundedSquare: sn,
|
|
3347
|
+
Square2Stack: an,
|
|
3348
|
+
Language: ln,
|
|
3349
|
+
HandRaised: cn
|
|
3350
3350
|
};
|
|
3351
|
-
function
|
|
3352
|
-
const n =
|
|
3351
|
+
function un({ name: e, ...t }) {
|
|
3352
|
+
const n = dn[e];
|
|
3353
3353
|
return n ? /* @__PURE__ */ i(n, { ...t }) : (console.error(`Icon "${e}" not found.`), null);
|
|
3354
3354
|
}
|
|
3355
|
-
const V =
|
|
3355
|
+
const V = St(un), xn = ({
|
|
3356
3356
|
title: e,
|
|
3357
3357
|
message: t,
|
|
3358
3358
|
timestamps: n,
|
|
@@ -3362,7 +3362,7 @@ const V = Nt(dn), vn = ({
|
|
|
3362
3362
|
onClickAskGenAI: a,
|
|
3363
3363
|
onClickAskManager: c
|
|
3364
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: [
|
|
3365
|
+
/* @__PURE__ */ S("div", { className: "flex w-full flex-row items-center justify-between gap-6", children: [
|
|
3366
3366
|
/* @__PURE__ */ S("div", { className: "flex flex-row", children: [
|
|
3367
3367
|
/* @__PURE__ */ i(V, { name: r, width: 24, height: 24 }),
|
|
3368
3368
|
/* @__PURE__ */ i("div", { className: "ml-2 mr-1 text-base font-medium leading-6 text-[#000000]", children: e }),
|
|
@@ -3391,10 +3391,12 @@ const V = Nt(dn), vn = ({
|
|
|
3391
3391
|
}
|
|
3392
3392
|
)
|
|
3393
3393
|
] })
|
|
3394
|
-
] })
|
|
3394
|
+
] });
|
|
3395
|
+
var Q = /* @__PURE__ */ ((e) => (e.MESSAGE = "message", e.REPLY = "reply", e.MENAGER_REPLY = "manager-reply", e.AI_REPLY = "ai-reply", e))(Q || {});
|
|
3396
|
+
const fn = ({
|
|
3395
3397
|
sender: e,
|
|
3396
3398
|
message: t,
|
|
3397
|
-
|
|
3399
|
+
timestamp: n,
|
|
3398
3400
|
icon: r,
|
|
3399
3401
|
type: o,
|
|
3400
3402
|
onClickAskAI: s,
|
|
@@ -3409,9 +3411,9 @@ const V = Nt(dn), vn = ({
|
|
|
3409
3411
|
/* @__PURE__ */ i("div", { className: "text-xs w-full font-normal text-[#737373] text-right", children: n }),
|
|
3410
3412
|
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
3413
|
] }),
|
|
3412
|
-
/* @__PURE__ */ i(
|
|
3414
|
+
/* @__PURE__ */ i(he, { type: "secondary", fullName: e })
|
|
3413
3415
|
] }), g = () => /* @__PURE__ */ S("div", { className: "flex flex-row gap-2 items-start w-full", children: [
|
|
3414
|
-
/* @__PURE__ */ i(
|
|
3416
|
+
/* @__PURE__ */ i(he, { fullName: e }),
|
|
3415
3417
|
/* @__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
3418
|
/* @__PURE__ */ i("div", { className: "text-sm font-medium text-[#F5F5F5]", children: t }),
|
|
3417
3419
|
d && /* @__PURE__ */ S("div", { className: "flex flex-row gap-2", children: [
|
|
@@ -3453,7 +3455,7 @@ const V = Nt(dn), vn = ({
|
|
|
3453
3455
|
/* @__PURE__ */ i("div", { className: "text-xs w-full font-normal text-[#737373] text-right", children: n })
|
|
3454
3456
|
] })
|
|
3455
3457
|
] }),
|
|
3456
|
-
/* @__PURE__ */ i(
|
|
3458
|
+
/* @__PURE__ */ i(he, { type: "secondary", fullName: e })
|
|
3457
3459
|
] }), C = () => /* @__PURE__ */ S("div", { className: "flex flex-row gap-2 items-start w-full", children: [
|
|
3458
3460
|
/* @__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
3461
|
/* @__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: [
|
|
@@ -3468,12 +3470,12 @@ const V = Nt(dn), vn = ({
|
|
|
3468
3470
|
] })
|
|
3469
3471
|
] });
|
|
3470
3472
|
return {
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3473
|
+
[Q.MESSAGE]: p(),
|
|
3474
|
+
[Q.REPLY]: g(),
|
|
3475
|
+
[Q.MENAGER_REPLY]: v(),
|
|
3476
|
+
[Q.AI_REPLY]: C()
|
|
3475
3477
|
}[o];
|
|
3476
|
-
},
|
|
3478
|
+
}, wn = ({
|
|
3477
3479
|
isStandalone: e,
|
|
3478
3480
|
messages: t,
|
|
3479
3481
|
transcriptInfo: n,
|
|
@@ -3538,14 +3540,15 @@ const V = Nt(dn), vn = ({
|
|
|
3538
3540
|
}
|
|
3539
3541
|
) })
|
|
3540
3542
|
] }),
|
|
3541
|
-
/* @__PURE__ */ i("div", { className: "flex flex-col gap-6 w-full", children: t.map((o) => /* @__PURE__ */ i(
|
|
3543
|
+
/* @__PURE__ */ i("div", { className: "flex flex-col gap-6 w-full", children: t.map((o) => /* @__PURE__ */ i(fn, { ...o }, o.id)) })
|
|
3542
3544
|
] });
|
|
3543
3545
|
export {
|
|
3544
|
-
|
|
3546
|
+
he as Avatar,
|
|
3545
3547
|
z as Button,
|
|
3546
3548
|
V as Icon,
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3549
|
+
fn as MessageBubble,
|
|
3550
|
+
xn as MomentItem,
|
|
3551
|
+
hn as Tab,
|
|
3552
|
+
wn as Transcript,
|
|
3553
|
+
qr as buttonVariants
|
|
3551
3554
|
};
|