@factorialco/f0-react 16.20.0 → 16.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/dist/{ArchiveThumbnail-D5RdDTI0.js → ArchiveThumbnail-BePfOv3F.js} +1 -1
  2. package/dist/{ArchiveViewer-rn7u3Dpm.js → ArchiveViewer-DvKspMsv.js} +2 -2
  3. package/dist/{ChatPostComposerDialog-K_Vnt0ro.js → ChatPostComposerDialog-BhlQzTXz.js} +2 -2
  4. package/dist/{CoachmarkProvider-BmIZobyx.js → CoachmarkProvider-B0Fs1pf7.js} +14174 -14174
  5. package/dist/{CodeThumbnail-DQbEA2Rl.js → CodeThumbnail-CZKjZwpZ.js} +1 -1
  6. package/dist/{CodeViewer-BvFVnvZG.js → CodeViewer-DNLPQ2xO.js} +3 -3
  7. package/dist/{DocumentToolbar-94u6vk8m.js → DocumentToolbar-Dua6PID0.js} +1 -1
  8. package/dist/{DocxViewer-C20S3kO5.js → DocxViewer-D2S3lGOn.js} +1 -1
  9. package/dist/{F0AiProcessingOverlay-DdYHU_e8.js → F0AiProcessingOverlay-bNWPwuH3.js} +215 -215
  10. package/dist/{F0Alert-DBVF8WK7.js → F0Alert-DHPOzhGo.js} +3 -3
  11. package/dist/F0AudioPlayer-BrjgdlIL.js +2 -0
  12. package/dist/{F0CanvasPanel-CVk_7eK7.js → F0CanvasPanel-DV9kMkUy.js} +3212 -3212
  13. package/dist/{F0DocumentViewer-CLwKmjK-.js → F0DocumentViewer-BSMvv4hU.js} +2 -2
  14. package/dist/{F0DocumentViewer-7SDA8bY3.js → F0DocumentViewer-C-e-yjPh.js} +1 -1
  15. package/dist/{F0Map-Dz64Vvtw.js → F0Map-C5GBzJKx.js} +13 -13
  16. package/dist/{F0VideoPlayer-Boe5ntER.js → F0VideoPlayer-BXD4JMkM.js} +9 -9
  17. package/dist/F0VideoPlayer-Bwq_1c7j.js +1 -0
  18. package/dist/{HtmlViewer-DnBkFfLk.js → HtmlViewer-CX1vkYRx.js} +3 -3
  19. package/dist/{Map-XGapa9ke.js → Map-BnhKWUJE.js} +3 -3
  20. package/dist/{PdfThumbnail-f8cxvUJR.js → PdfThumbnail-BJi6FkbE.js} +1 -1
  21. package/dist/{PdfViewer-DfEWMASa.js → PdfViewer-CFn2h9nq.js} +5 -5
  22. package/dist/{SheetViewer-8TM8_Mcn.js → SheetViewer-onMadxsi.js} +2 -2
  23. package/dist/{TextViewer-gYqYfc8o.js → TextViewer-BIcgDoH5.js} +1 -1
  24. package/dist/ai.js +2 -2
  25. package/dist/component-status.js +1 -1
  26. package/dist/experimental.js +406 -406
  27. package/dist/f0.d.ts +20 -11
  28. package/dist/f0.js +1640 -1578
  29. package/dist/{highlight-Bg7vgyjH.js → highlight-BeMwpXOl.js} +1 -1
  30. package/dist/{maplibre-eOX45GBr.js → maplibre-iFKMikCO.js} +1 -1
  31. package/dist/{pdfWorker-DBQyzjMh.js → pdfWorker-rlBg8XHy.js} +1 -1
  32. package/package.json +1 -1
  33. package/dist/F0AudioPlayer-LlajNDAA.js +0 -2
  34. package/dist/F0VideoPlayer-CWr6L2CQ.js +0 -1
@@ -2,7 +2,7 @@ import { a as e, r as t } from "./i18n-provider-DyI_r6Au.js";
2
2
  import { n, t as r } from "./skeleton-Dw-7r7zp.js";
3
3
  import { L as i, R as a } from "./tooltip-NXXT56H4.js";
4
4
  import { A as o, D as s, K as c, R as l, V as u, Y as d, b as f, h as p, n as m, r as h, t as g, v as _ } from "./F0Button-B217B6lh.js";
5
- import { $ as v, $c as y, At as b, B as x, Bn as S, Ca as C, D as w, Di as T, Dl as E, Ds as D, Dt as O, E as ee, Ei as k, El as te, En as A, Es as j, Fn as M, Gt as N, Hs as ne, Ht as re, I as P, Il as ie, Io as ae, J as oe, Jn as se, Kn as ce, Ks as le, Kt as F, L as ue, Ll as de, Lo as I, Mn as L, Mt as fe, N as pe, Nn as me, Nt as he, O as ge, Os as _e, Ot as ve, P as ye, Pn as R, Pt as be, Q as xe, R as z, Rn as Se, Sn as Ce, St as we, T as Te, Tl as Ee, Tn as De, Ts as B, Ut as Oe, Vn as ke, Vo as Ae, Vt as je, Ws as V, Wt as Me, X as H, Xt as Ne, Y as Pe, Yi as Fe, Z as Ie, Zn as Le, _c as Re, _i as ze, _t as Be, a as Ve, aa as He, at as Ue, b as We, bc as Ge, bn as Ke, bt as qe, c as Je, cc as Ye, cn as Xe, co as Ze, ct as Qe, dc as $e, dn as et, dt as tt, et as nt, ft as rt, gn as it, gt as at, hc as ot, ht as st, ia as ct, il as lt, in as ut, kn as dt, kt as ft, ms as pt, nt as mt, ot as ht, pc as gt, pi as _t, pl as vt, pn as yt, qn as bt, qs as xt, r as St, ra as Ct, rl as wt, rn as Tt, s as Et, si as Dt, sn as Ot, tc as kt, ts as At, tt as jt, u as Mt, un as Nt, ut as Pt, va as Ft, vn as It, vt as Lt, w as Rt, x as zt, xa as Bt, xn as Vt, xt as Ht, y as Ut, ya as Wt, yt as Gt, z as Kt, zn as qt } from "./F0CanvasPanel-CVk_7eK7.js";
5
+ import { $ as v, At as y, B as b, Bn as x, Ca as S, D as C, Di as w, Ds as T, Dt as E, E as D, Ei as O, El as ee, En as k, Es as te, Fl as A, Fn as j, Gs as M, Gt as N, Ht as ne, I as re, Il as P, Io as ie, J as ae, Jn as oe, Kn as se, Ks as ce, Kt as F, L as le, Lo as ue, Mn as de, Mt as I, N as L, Nn as fe, Nt as pe, O as me, Os as he, Ot as ge, P as _e, Pn as ve, Pt as ye, Q as R, Qc as be, R as xe, Rn as z, Sn as Se, St as Ce, T as we, Tl as Te, Tn as Ee, Ts as De, Us as B, Ut as Oe, Vn as ke, Vo as Ae, Vs as je, Vt as V, Wt as Me, X as H, Xt as Ne, Y as Pe, Yi as Fe, Z as Ie, Zn as Le, _i as Re, _t as ze, a as Be, aa as Ve, at as He, b as Ue, bn as We, bt as Ge, c as Ke, cn as qe, co as Je, ct as Ye, dn as Xe, dt as Ze, ec as Qe, et as $e, fc as et, fl as tt, ft as nt, gc as rt, gn as it, gt as at, ht as ot, ia as st, in as ct, kn as lt, kt as ut, mc as dt, ms as ft, nl as pt, nt as mt, ot as ht, pi as gt, pn as _t, qn as vt, r as yt, ra as bt, rl as xt, rn as St, s as Ct, sc as wt, si as Tt, sn as Et, ts as Dt, tt as Ot, u as kt, uc as At, un as jt, ut as Mt, va as Nt, vn as Pt, vt as Ft, w as It, wl as Lt, x as Rt, xa as zt, xn as Bt, xt as Vt, y as Ht, ya as Ut, yc as Wt, yt as Gt, z as Kt, zn as qt } from "./F0CanvasPanel-DV9kMkUy.js";
6
6
  import { o as Jt, t as U } from "./F0Icon-CRETnjaC.js";
7
7
  import { t as Yt } from "./i18n-provider-defaults-C8fwj3sA.js";
8
8
  import { C as Xt, H as Zt, I as Qt, N as W, U as $t, _ as en, b as tn, g as nn, h as rn, k as an, u as on } from "./useData-CVTa0m1L.js";
@@ -36,15 +36,15 @@ var Kn = [
36
36
  "sm",
37
37
  "md",
38
38
  "lg"
39
- ], Jn = "relative flex flex-col rounded-lg border border-solid border-f1-border-secondary bg-f1-background/95 shadow transition-colors focus-within:border-f1-border", Yn = [], Xn = () => null, Zn = ({ onSend: e, inProgress: t = !1, onStop: n, sendKind: r = "send", hasAttachments: a = !1, sendBlocked: o = !1, maxLength: s, maxLengthError: l, error: u = null, labels: f, placeholders: p, placeholdersPaused: h, placeholderPreview: g, placeholderPreviewOneLine: _ = !1, role: v = "combobox", name: y, mentions: b, autocomplete: x, voice: S, onTextChange: C, onCleared: w, onEscape: T, onArrowUpWhenEmpty: E, onPasteFiles: D, pastePreferText: ee = !1, onStateChange: k, header: te, tray: A, leading: j, toolbarStart: M, toolbarCenter: N, collapsible: ne = !1, collapsed: re = !1, replacement: P, asForm: ie = !1, className: ae, surfaceRef: oe, onSurfaceFocus: ce, onSurfaceBlur: le, handleRef: F, reducedMotion: ue = !1, "data-testid": de }) => {
40
- let I = Gt(f, S), L = P != null, { error: fe, show: pe, clear: me } = Lt(), he = J(() => {}), ge = J(() => {}), _e = J(""), ve = G((e) => {
39
+ ], Jn = "relative flex flex-col rounded-lg border border-solid border-f1-border-secondary bg-f1-background/95 shadow transition-colors focus-within:border-f1-border", Yn = [], Xn = () => null, Zn = ({ onSend: e, inProgress: t = !1, onStop: n, sendKind: r = "send", hasAttachments: a = !1, sendBlocked: o = !1, maxLength: s, maxLengthError: l, error: u = null, labels: f, placeholders: p, placeholdersPaused: h, placeholderPreview: g, placeholderPreviewOneLine: _ = !1, role: v = "combobox", name: y, mentions: b, autocomplete: x, voice: S, onTextChange: C, onCleared: w, onEscape: T, onArrowUpWhenEmpty: D, onPasteFiles: O, pastePreferText: ee = !1, onStateChange: k, header: te, tray: A, leading: j, toolbarStart: M, toolbarCenter: N, collapsible: ne = !1, collapsed: re = !1, replacement: P, asForm: ie = !1, className: ae, surfaceRef: se, onSurfaceFocus: ce, onSurfaceBlur: F, handleRef: le, reducedMotion: ue = !1, "data-testid": de }) => {
40
+ let I = Gt(f, S), L = P != null, { error: fe, show: pe, clear: me } = Ft(), he = J(() => {}), ge = J(() => {}), _e = J(""), ve = G((e) => {
41
41
  let t = _e.current, n = t && !/\s$/.test(t) ? " " : "";
42
42
  he.current(`${t}${n}${e}`);
43
43
  }, []), ye = {
44
44
  "permission-denied": I.micPermissionDenied,
45
45
  "device-error": I.micError,
46
46
  "transcription-failed": I.transcriptionError
47
- }, R = se({
47
+ }, R = oe({
48
48
  onTranscribe: S?.onTranscribe,
49
49
  onPartial: ve,
50
50
  onFinal: (e) => {
@@ -52,7 +52,7 @@ var Kn = [
52
52
  },
53
53
  onError: (e) => pe(ye[e]),
54
54
  onAudio: S?.onAudio
55
- }), [be, xe] = Y(!1), z = R.status === "recording", Se = R.status === "transcribing", Ce = !!S && (!!S.onTranscribe || !!S.onAudio) && R.isSupported, Te = !S?.onAudio && (R.status !== "idle" || be), [Ee, De] = Y(!1), B = Ht({
55
+ }), [be, xe] = Y(!1), z = R.status === "recording", Se = R.status === "transcribing", we = !!S && (!!S.onTranscribe || !!S.onAudio) && R.isSupported, Te = !S?.onAudio && (R.status !== "idle" || be), [Ee, De] = Y(!1), B = Vt({
56
56
  mentions: {
57
57
  enabled: !!b && b.sources.length + +!!b.pinned > 0 && !Ee && !L,
58
58
  sources: b?.sources ?? Yn,
@@ -71,11 +71,11 @@ var Kn = [
71
71
  Ie.current = Oe;
72
72
  let Le = J(H.mentions);
73
73
  Le.current = H.mentions;
74
- let Re = (x?.useAutocomplete ?? Xn)(B), ze = Re?.isOpen ?? !1, Ve = H.dismissCurrentTrigger;
74
+ let Re = (x?.useAutocomplete ?? Xn)(B), Be = Re?.isOpen ?? !1, Ve = H.dismissCurrentTrigger;
75
75
  K(() => {
76
- De(ze), ze && Ve();
77
- }, [ze, Ve]);
78
- let { highlightSegments: He, hasOverlay: Ue } = we(B, { suppressGhost: ze }), We = G((e) => {
76
+ De(Be), Be && Ve();
77
+ }, [Be, Ve]);
78
+ let { highlightSegments: He, hasOverlay: Ue } = Ce(B, { suppressGhost: Be }), We = G((e) => {
79
79
  let t = V.current;
80
80
  if (!t) return;
81
81
  t.focus(e);
@@ -83,27 +83,27 @@ var Kn = [
83
83
  t.setSelectionRange(n, n);
84
84
  }, [V]);
85
85
  ge.current = () => V.current?.focus();
86
- let Ge = H.close;
86
+ let Ke = H.close;
87
87
  K(() => {
88
- L && Ge();
89
- }, [L, Ge]);
90
- let Ke = Oe.length === 0;
88
+ L && Ke();
89
+ }, [L, Ke]);
90
+ let qe = Oe.length === 0;
91
91
  K(() => {
92
92
  k?.({
93
- isEmpty: Ke,
93
+ isEmpty: qe,
94
94
  recorder: R.status
95
95
  });
96
96
  }, [
97
97
  k,
98
- Ke,
98
+ qe,
99
99
  R.status
100
100
  ]);
101
101
  let [Je, Ye] = Y(!1), Xe = s !== void 0 && Oe.trim().length > s;
102
102
  K(() => {
103
103
  Xe || Ye(!1);
104
104
  }, [Xe]);
105
- let Ze = Je && Xe ? l ?? null : null, Qe = Ze ?? u ?? fe, [$e, et] = Y(!1), nt = J(!1), it = Oe.trim().length > 0 || a, ct = it && !Te && !o && !$e && !L, ut = t && !Se, dt = G(() => {
106
- if (!ct || nt.current) return;
105
+ let Qe = Je && Xe ? l ?? null : null, $e = Qe ?? u ?? fe, [et, tt] = Y(!1), rt = J(!1), it = Oe.trim().length > 0 || a, st = it && !Te && !o && !et && !L, ct = t && !Se, lt = G(() => {
106
+ if (!st || rt.current) return;
107
107
  if (Xe) {
108
108
  Ye(!0);
109
109
  return;
@@ -121,20 +121,20 @@ var Kn = [
121
121
  n(!0);
122
122
  return;
123
123
  }
124
- r instanceof Promise ? (nt.current = !0, et(!0), r.then((e) => {
125
- nt.current = !1, et(!1), n(e === !1);
124
+ r instanceof Promise ? (rt.current = !0, tt(!0), r.then((e) => {
125
+ rt.current = !1, tt(!1), n(e === !1);
126
126
  }, () => {
127
- nt.current = !1, et(!1), n(!0);
127
+ rt.current = !1, tt(!1), n(!0);
128
128
  })) : n(r === !1);
129
129
  }, [
130
- ct,
130
+ st,
131
131
  Xe,
132
132
  H,
133
133
  e,
134
134
  Pe,
135
135
  Fe,
136
136
  V
137
- ]), ft = G(() => {
137
+ ]), ut = G(() => {
138
138
  be || (S?.onPress?.(), me(), xe(!0), (async () => {
139
139
  try {
140
140
  await R.start(), _e.current = Ie.current;
@@ -147,12 +147,12 @@ var Kn = [
147
147
  S,
148
148
  me,
149
149
  R
150
- ]), pt = R.cancel, mt = G(() => {
151
- pt(), S?.onCancelled?.();
152
- }, [pt, S]), ht = J(!1), gt = S?.onStarted;
150
+ ]), ft = R.cancel, pt = G(() => {
151
+ ft(), S?.onCancelled?.();
152
+ }, [ft, S]), mt = J(!1), ht = S?.onStarted;
153
153
  K(() => {
154
- z && !ht.current && gt?.(), ht.current = z;
155
- }, [z, gt]), zn(F, () => ({
154
+ z && !mt.current && ht?.(), mt.current = z;
155
+ }, [z, ht]), zn(le, () => ({
156
156
  focus: (e) => {
157
157
  L || We(e);
158
158
  },
@@ -166,7 +166,7 @@ var Kn = [
166
166
  let t = V.current, n = Ie.current, r = t?.selectionStart ?? n.length, i = t?.selectionEnd ?? n.length, a = r + e.length, o = n.slice(0, r) + e + n.slice(i);
167
167
  Ae(o), je(a), C?.(o), Ne(a, o, !0);
168
168
  },
169
- cancelRecording: pt,
169
+ cancelRecording: ft,
170
170
  breakHistory: Fe,
171
171
  addFiles: () => {}
172
172
  }), [
@@ -179,48 +179,48 @@ var Kn = [
179
179
  je,
180
180
  C,
181
181
  Ne,
182
- pt,
182
+ ft,
183
183
  Fe
184
184
  ]);
185
- let { escapeArmed: _t, handleClearKeyDown: vt, handleUndoRedoKeyDown: yt } = B, bt = (e) => {
185
+ let { escapeArmed: gt, handleClearKeyDown: _t, handleUndoRedoKeyDown: vt } = B, yt = (e) => {
186
186
  if (e.key !== "Escape") return !1;
187
187
  if (T?.(e)) return !0;
188
- if (z) return e.preventDefault(), mt(), !0;
189
- let t = _t;
190
- return vt(e) ? (t && (Ye(!1), w?.()), !0) : !1;
191
- }, xt = (e) => {
192
- L || qe(e) || yt(e) || Re?.handleKeyDown(e) || H.handleKeyDown(e) || bt(e) || (e.key === "ArrowUp" && !e.shiftKey && !e.altKey && !e.metaKey && !e.ctrlKey && Oe === "" && R.status === "idle" && !be && !S?.busy && E?.() ? e.preventDefault() : e.key === "Enter" && !e.shiftKey && (e.preventDefault(), t || dt()));
188
+ if (z) return e.preventDefault(), pt(), !0;
189
+ let t = gt;
190
+ return _t(e) ? (t && (Ye(!1), w?.()), !0) : !1;
191
+ }, bt = (e) => {
192
+ L || Ge(e) || vt(e) || Re?.handleKeyDown(e) || H.handleKeyDown(e) || yt(e) || (e.key === "ArrowUp" && !e.shiftKey && !e.altKey && !e.metaKey && !e.ctrlKey && Oe === "" && R.status === "idle" && !be && !S?.busy && D?.() ? e.preventDefault() : e.key === "Enter" && !e.shiftKey && (e.preventDefault(), t || lt()));
193
193
  }, St = (e) => {
194
- e.preventDefault(), !L && (t && !Te ? (H.close(), n?.(), V.current?.focus()) : dt());
195
- }, Ct = Pt({
196
- enabled: !!D && !L,
197
- onFiles: D ?? (() => {}),
194
+ e.preventDefault(), !L && (t && !Te ? (H.close(), n?.(), V.current?.focus()) : lt());
195
+ }, Ct = Mt({
196
+ enabled: !!O && !L,
197
+ onFiles: O ?? (() => {}),
198
198
  preferText: ee
199
- }), wt = Rn(), Tt = Rn(), Et = `chat-composer-mentions-${wt.replace(/:/g, "")}`, Dt = H.isOpen && !ze && !L && (H.isLoading || H.rows.length > 0), Ot = H.rows[H.selectedIndex] ?? H.rows[0], kt = Dt && Ot ? Be(Et, Ot.item) : void 0, At = (e) => Ce ? /* @__PURE__ */ X(m, {
199
+ }), wt = Rn(), Tt = Rn(), Et = `chat-composer-mentions-${wt.replace(/:/g, "")}`, Dt = H.isOpen && !Be && !L && (H.isLoading || H.rows.length > 0), Ot = H.rows[H.selectedIndex] ?? H.rows[0], kt = Dt && Ot ? ze(Et, Ot.item) : void 0, At = (e) => we ? /* @__PURE__ */ X(m, {
200
200
  type: "button",
201
201
  variant: "ghost",
202
202
  size: e,
203
203
  hideLabel: !0,
204
204
  label: S?.busy ? I.sendingVoice : I.recordAudio,
205
- icon: ot,
206
- onClick: ft,
205
+ icon: dt,
206
+ onClick: ut,
207
207
  disabled: S?.disabled,
208
208
  loading: be || Se || !!S?.busy
209
- }) : null, jt = rt({
210
- streaming: ut,
209
+ }) : null, jt = nt({
210
+ streaming: ct,
211
211
  hasDataToSend: it,
212
- canSend: ct
213
- }), Mt = (e) => /* @__PURE__ */ X(tt, {
212
+ canSend: st
213
+ }), Nt = (e) => /* @__PURE__ */ X(Ze, {
214
214
  action: jt,
215
215
  sendKind: r,
216
216
  size: e,
217
217
  submit: ie,
218
218
  labels: I,
219
- onSend: dt,
219
+ onSend: lt,
220
220
  onStop: () => {
221
221
  n?.(), V.current?.focus();
222
222
  }
223
- }), Nt = { duration: ue ? 0 : .15 }, Ft = typeof M == "function" ? M(R.status) : M, It = /* @__PURE__ */ X("div", {
223
+ }), Pt = { duration: ue ? 0 : .15 }, It = typeof M == "function" ? M(R.status) : M, Lt = /* @__PURE__ */ X("div", {
224
224
  className: "grid",
225
225
  children: /* @__PURE__ */ X(d, {
226
226
  initial: !1,
@@ -229,7 +229,7 @@ var Kn = [
229
229
  initial: { opacity: 0 },
230
230
  animate: { opacity: 1 },
231
231
  exit: { opacity: 0 },
232
- transition: Nt,
232
+ transition: Pt,
233
233
  children: [/* @__PURE__ */ X(ke, {
234
234
  stream: R.stream,
235
235
  className: "min-w-0 flex-1"
@@ -241,8 +241,8 @@ var Kn = [
241
241
  size: "md",
242
242
  hideLabel: !0,
243
243
  label: I.cancelRecording,
244
- icon: lt,
245
- onClick: mt
244
+ icon: xt,
245
+ onClick: pt
246
246
  }), /* @__PURE__ */ X(m, {
247
247
  type: "button",
248
248
  variant: "default",
@@ -258,11 +258,11 @@ var Kn = [
258
258
  initial: { opacity: 0 },
259
259
  animate: { opacity: 1 },
260
260
  exit: { opacity: 0 },
261
- transition: Nt,
261
+ transition: Pt,
262
262
  children: [
263
- Ft ? /* @__PURE__ */ X("div", {
263
+ It ? /* @__PURE__ */ X("div", {
264
264
  className: i("flex items-center gap-1", N ? "shrink-0" : "min-w-0"),
265
- children: Ft
265
+ children: It
266
266
  }) : null,
267
267
  N ? /* @__PURE__ */ X("div", {
268
268
  className: "min-w-0 flex-1",
@@ -270,7 +270,7 @@ var Kn = [
270
270
  }) : null,
271
271
  /* @__PURE__ */ Z("div", {
272
272
  className: "ml-auto flex shrink-0 items-center gap-1",
273
- children: [At("md"), Mt("md")]
273
+ children: [At("md"), Nt("md")]
274
274
  })
275
275
  ]
276
276
  }, "actions-row")
@@ -285,8 +285,8 @@ var Kn = [
285
285
  ]
286
286
  }, zt = /* @__PURE__ */ Z(Hn, { children: [
287
287
  te,
288
- /* @__PURE__ */ X(st, {
289
- message: Qe,
288
+ /* @__PURE__ */ X(ot, {
289
+ message: $e,
290
290
  id: Tt,
291
291
  reducedMotion: ue
292
292
  }),
@@ -295,7 +295,7 @@ var Kn = [
295
295
  className: i((j || re) && "flex items-end", re && "pr-3"),
296
296
  children: [
297
297
  j,
298
- /* @__PURE__ */ X(O, {
298
+ /* @__PURE__ */ X(E, {
299
299
  className: "min-w-0 flex-1",
300
300
  textareaRef: V,
301
301
  highlightRef: Me,
@@ -315,7 +315,7 @@ var Kn = [
315
315
  text: z ? I.listening : I.placeholder
316
316
  },
317
317
  onChange: B.handleChange,
318
- onKeyDown: xt,
318
+ onKeyDown: bt,
319
319
  onPaste: Ct,
320
320
  onFocus: Re?.handleFocus,
321
321
  onBlur: Re?.handleBlur,
@@ -323,16 +323,16 @@ var Kn = [
323
323
  onScroll: B.syncHighlightScroll,
324
324
  highlightSegments: He,
325
325
  hasOverlay: Ue,
326
- isAutocompleteOpen: ze || Dt,
327
- autocompleteListboxId: ze ? Re?.listboxId : Dt ? Et : void 0,
328
- activeAutocompleteOptionId: (ze ? Re?.activeDescendantId : void 0) ?? kt,
329
- isInvalid: Ze !== null,
326
+ isAutocompleteOpen: Be || Dt,
327
+ autocompleteListboxId: Be ? Re?.listboxId : Dt ? Et : void 0,
328
+ activeAutocompleteOptionId: (Be ? Re?.activeDescendantId : void 0) ?? kt,
329
+ isInvalid: Qe !== null,
330
330
  errorMessageId: Tt
331
331
  }),
332
332
  re ? /* @__PURE__ */ Z("div", {
333
333
  className: "flex shrink-0 items-center gap-2 pb-[10px] pl-2",
334
334
  onMouseDown: (e) => e.preventDefault(),
335
- children: [At("sm"), Mt("sm")]
335
+ children: [At("sm"), Nt("sm")]
336
336
  }) : null
337
337
  ]
338
338
  }),
@@ -353,9 +353,9 @@ var Kn = [
353
353
  height: 0
354
354
  },
355
355
  transition: Rt,
356
- children: It
356
+ children: Lt
357
357
  }, "action-row")
358
- }) : It
358
+ }) : Lt
359
359
  ] }), Bt = /* @__PURE__ */ Z(Hn, { children: [
360
360
  Re?.popover,
361
361
  /* @__PURE__ */ X(at, {
@@ -441,27 +441,27 @@ var Kn = [
441
441
  children: zt
442
442
  }, "input")
443
443
  })
444
- ] }), Vt = i(Jn, ae);
444
+ ] }), Ht = i(Jn, ae);
445
445
  return ie ? /* @__PURE__ */ X("form", {
446
- ref: oe,
446
+ ref: se,
447
447
  "data-testid": de,
448
448
  "data-f0-chat-composer": "",
449
449
  "aria-busy": t,
450
- className: Vt,
450
+ className: Ht,
451
451
  onClick: () => {
452
452
  L || V.current?.focus();
453
453
  },
454
454
  onFocus: ce,
455
- onBlur: le,
455
+ onBlur: F,
456
456
  onSubmit: St,
457
457
  children: Bt
458
458
  }) : /* @__PURE__ */ X("div", {
459
- ref: oe,
459
+ ref: se,
460
460
  "data-testid": de,
461
461
  "data-f0-chat-composer": "",
462
- className: Vt,
462
+ className: Ht,
463
463
  onFocus: ce,
464
- onBlur: le,
464
+ onBlur: F,
465
465
  children: Bt
466
466
  });
467
467
  };
@@ -492,19 +492,19 @@ function Qn(e, t, n = .2) {
492
492
  //#endregion
493
493
  //#region src/addons/ai/F0AiChatTextArea/components/AttachedFilesList.tsx
494
494
  var $n = (e) => {
495
- let { provided: t } = Xe();
496
- return t ? /* @__PURE__ */ X(er, { ...e }) : /* @__PURE__ */ X(Ot, { children: /* @__PURE__ */ X(er, { ...e }) });
495
+ let { provided: t } = qe();
496
+ return t ? /* @__PURE__ */ X(er, { ...e }) : /* @__PURE__ */ X(Et, { children: /* @__PURE__ */ X(er, { ...e }) });
497
497
  }, er = ({ attachedFiles: e, isUploading: n, onRemove: r, removeLabel: i, reducedMotion: a }) => {
498
498
  let o = t(), s = tr(e), c = q(() => e.flatMap((e) => {
499
499
  let t = s.get(e.id);
500
500
  if (!t) return [];
501
- let n = e.file.name, r = e.file.type || Vt({
501
+ let n = e.file.name, r = e.file.type || Bt({
502
502
  name: n,
503
503
  url: t
504
504
  });
505
505
  return [{
506
506
  att: e,
507
- attachment: Ce({
507
+ attachment: Se({
508
508
  name: n,
509
509
  url: t,
510
510
  mimeType: r
@@ -523,10 +523,10 @@ var $n = (e) => {
523
523
  }];
524
524
  }), [e, s]), l = q(() => c.map(({ att: e, attachment: t }, n) => ({
525
525
  file: t,
526
- item: e.status === "uploaded" ? et(t, yt(n, t.url)) : null
526
+ item: e.status === "uploaded" ? Xe(t, _t(n, t.url)) : null
527
527
  })), [c]), u = H(l, "composer"), d = c.map(({ att: e, attachment: t }) => ({
528
528
  id: e.id,
529
- content: /* @__PURE__ */ X(xe, {
529
+ content: /* @__PURE__ */ X(R, {
530
530
  attachment: t,
531
531
  status: e.status === "uploaded" ? "ready" : e.status === "error" ? "error" : "uploading",
532
532
  errorMessage: e.errorMessage,
@@ -566,7 +566,7 @@ var $n = (e) => {
566
566
  u(e), s?.(e);
567
567
  }, f = [...n ? [{
568
568
  label: c.ai.addFilesOrPhotos,
569
- icon: kt,
569
+ icon: Qe,
570
570
  onClick: r,
571
571
  disabled: i,
572
572
  disabledTooltip: a
@@ -606,7 +606,7 @@ var $n = (e) => {
606
606
  label: u.ai.attachFile,
607
607
  hideLabel: !0,
608
608
  type: "button",
609
- icon: kt,
609
+ icon: Qe,
610
610
  variant: "ghost",
611
611
  size: "md",
612
612
  disabled: r || d,
@@ -637,7 +637,7 @@ var $n = (e) => {
637
637
  };
638
638
  }, ar = ({ creditWarning: e, children: n }) => {
639
639
  let r = t(), i = ir(e);
640
- return /* @__PURE__ */ X(oe, {
640
+ return /* @__PURE__ */ X(ae, {
641
641
  notice: i,
642
642
  dismissLabel: r.ai.creditWarning.dismiss ?? "",
643
643
  className: "[&_form]:border-f1-border",
@@ -834,7 +834,7 @@ var mr = (e, t) => e || t ? {
834
834
  /* @__PURE__ */ X("div", {
835
835
  className: "flex items-center py-0.5",
836
836
  children: /* @__PURE__ */ X(U, {
837
- icon: ne,
837
+ icon: je,
838
838
  size: "md",
839
839
  color: "default"
840
840
  })
@@ -849,7 +849,7 @@ var mr = (e, t) => e || t ? {
849
849
  variant: "ghost",
850
850
  label: r.ai.removeQuote,
851
851
  onClick: n,
852
- icon: lt,
852
+ icon: xt,
853
853
  hideLabel: !0,
854
854
  size: "sm"
855
855
  })
@@ -1002,7 +1002,7 @@ function Sr(e) {
1002
1002
  //#endregion
1003
1003
  //#region src/addons/ai/F0AiChatTextArea/AiChatComposer.tsx
1004
1004
  var Cr = "w-full max-w-content px-1";
1005
- function wr({ onSubmit: e, onStop: n, inProgress: r, onBeforeSubmit: a, placeholders: o, creditWarning: s, clarifyingUI: l, pendingContext: u = null, onPendingContextChange: f, pendingQuote: m = null, onPendingQuoteChange: h, fileAttachments: g, toolbarStart: _, composerActions: v, onComposerActionsOpenChange: y, onTranscribe: b, searchPersons: x, mentionSources: C, onProcessFilesRef: w, disclaimer: T, usageLimits: E, footer: D, isWelcomeScreen: O = !1, fullscreen: ee = !1, welcomeScreenSuggestions: k, onSuggestionClick: te, welcomeScreenSuggestionsPlacement: A = "above", welcomeScreenSuggestionsCollapsedByDefault: j = !1, welcomeScreenCards: M, padding: ne = "default", name: re }) {
1005
+ function wr({ onSubmit: e, onStop: n, inProgress: r, onBeforeSubmit: a, placeholders: o, creditWarning: s, clarifyingUI: l, pendingContext: u = null, onPendingContextChange: f, pendingQuote: m = null, onPendingQuoteChange: h, fileAttachments: g, toolbarStart: _, composerActions: v, onComposerActionsOpenChange: y, onTranscribe: b, searchPersons: S, mentionSources: C, onProcessFilesRef: w, disclaimer: T, usageLimits: E, footer: D, isWelcomeScreen: O = !1, fullscreen: ee = !1, welcomeScreenSuggestions: k, onSuggestionClick: te, welcomeScreenSuggestionsPlacement: A = "above", welcomeScreenSuggestionsCollapsedByDefault: j = !1, welcomeScreenCards: M, padding: ne = "default", name: re }) {
1006
1006
  let P = t(), ie = !!p(), ae = J(null), [oe, se] = Y(!1), [ce, le] = Y({
1007
1007
  isEmpty: !0,
1008
1008
  recorder: "idle"
@@ -1014,32 +1014,32 @@ function wr({ onSubmit: e, onStop: n, inProgress: r, onBeforeSubmit: a, placehol
1014
1014
  Vn(() => {
1015
1015
  L.current = u, fe.current = m;
1016
1016
  });
1017
- let { tracking: pe, setFocusChatInputFunction: me } = F(), { attachedFiles: ge, fileInputRef: _e, onUploadFiles: ye, acceptValue: R, isAtMaxFiles: be, maxFiles: xe, processFiles: z, handleFileSelect: Se, handleRemoveFile: Ce, transientError: we, showTransientError: Te } = Sr(g), Ee = vr({
1018
- searchPersons: x,
1017
+ let { tracking: me, setFocusChatInputFunction: he } = F(), { attachedFiles: _e, fileInputRef: ve, onUploadFiles: ye, acceptValue: R, isAtMaxFiles: be, maxFiles: xe, processFiles: z, handleFileSelect: Se, handleRemoveFile: Ce, transientError: we, showTransientError: Te } = Sr(g), Ee = vr({
1018
+ searchPersons: S,
1019
1019
  mentionSources: C
1020
1020
  });
1021
1021
  K(() => {
1022
1022
  j || typeof window < "u" && window.location.hash.length === 0 && ae.current?.focus();
1023
1023
  }, []), K(() => {
1024
- if (I) me(null);
1025
- else return me(() => {
1024
+ if (I) he(null);
1025
+ else return he(() => {
1026
1026
  ae.current?.focus();
1027
- }), () => me(null);
1028
- }, [I, me]), K(() => {
1027
+ }), () => he(null);
1028
+ }, [I, he]), K(() => {
1029
1029
  if (w) return w((e) => {
1030
1030
  z(e);
1031
1031
  }), () => {
1032
1032
  w(null);
1033
1033
  };
1034
1034
  }, [w, z]);
1035
- let De = G((e) => void z(e), [z]), B = ge.filter((e) => e.status === "uploaded"), Oe = ge.some((e) => e.status === "uploading"), ke = ge.some((e) => e.status === "error"), Ae = !ce.isEmpty || B.length > 0, je = async ({ text: t, mentions: n }) => {
1035
+ let De = G((e) => void z(e), [z]), B = _e.filter((e) => e.status === "uploaded"), Oe = _e.some((e) => e.status === "uploading"), ke = _e.some((e) => e.status === "error"), Ae = !ce.isEmpty || B.length > 0, je = async ({ text: t, mentions: n }) => {
1036
1036
  if (ke) return Te(P.ai.fileUploadBlockedSubmit), !1;
1037
1037
  if (a && await a() === !1) return !1;
1038
1038
  let r = B, i = r.flatMap((e) => e.uploadedFile ? [e.uploadedFile] : []), o = u, s = m;
1039
1039
  o && f?.(null), s && h?.(null);
1040
1040
  try {
1041
1041
  await e({
1042
- text: he(t, n),
1042
+ text: pe(t, n),
1043
1043
  files: i,
1044
1044
  context: o,
1045
1045
  quote: s
@@ -1052,7 +1052,7 @@ function wr({ onSubmit: e, onStop: n, inProgress: r, onBeforeSubmit: a, placehol
1052
1052
  }, V = A === "inside", H = Me(), Ne = N({
1053
1053
  onItemClick: te,
1054
1054
  inBar: V
1055
- }), Pe = O && k && k.length > 0 && te ? /* @__PURE__ */ X(ve, {
1055
+ }), Pe = O && k && k.length > 0 && te ? /* @__PURE__ */ X(ge, {
1056
1056
  suggestions: k,
1057
1057
  onItemClick: Ne.pick,
1058
1058
  onItemHover: Ne.preview,
@@ -1146,8 +1146,8 @@ function wr({ onSubmit: e, onStop: n, inProgress: r, onBeforeSubmit: a, placehol
1146
1146
  },
1147
1147
  voice: b ? {
1148
1148
  onTranscribe: b,
1149
- onPress: pe?.onDictationStart,
1150
- onCancelled: pe?.onDictationCancel
1149
+ onPress: me?.onDictationStart,
1150
+ onCancelled: me?.onDictationCancel
1151
1151
  } : void 0,
1152
1152
  onPasteFiles: g?.onUploadFiles ? De : void 0,
1153
1153
  pastePreferText: !0,
@@ -1156,7 +1156,7 @@ function wr({ onSubmit: e, onStop: n, inProgress: r, onBeforeSubmit: a, placehol
1156
1156
  onRemove: () => h?.(null)
1157
1157
  }) : null,
1158
1158
  tray: /* @__PURE__ */ X($n, {
1159
- attachedFiles: ge,
1159
+ attachedFiles: _e,
1160
1160
  isUploading: Oe,
1161
1161
  onRemove: Ce,
1162
1162
  removeLabel: P.ai.removeFile,
@@ -1164,7 +1164,7 @@ function wr({ onSubmit: e, onStop: n, inProgress: r, onBeforeSubmit: a, placehol
1164
1164
  }),
1165
1165
  leading: Re ? /* @__PURE__ */ X("div", {
1166
1166
  className: "flex shrink-0 self-center pl-3",
1167
- children: /* @__PURE__ */ X(S, {
1167
+ children: /* @__PURE__ */ X(x, {
1168
1168
  size: "sm",
1169
1169
  spin: r
1170
1170
  })
@@ -1176,7 +1176,7 @@ function wr({ onSubmit: e, onStop: n, inProgress: r, onBeforeSubmit: a, placehol
1176
1176
  isAtMaxFiles: be,
1177
1177
  maxFiles: xe,
1178
1178
  acceptValue: R,
1179
- fileInputRef: _e,
1179
+ fileInputRef: ve,
1180
1180
  handleFileSelect: Se,
1181
1181
  recordingStatus: e
1182
1182
  }), _ ? /* @__PURE__ */ X("div", {
@@ -1196,7 +1196,7 @@ function wr({ onSubmit: e, onStop: n, inProgress: r, onBeforeSubmit: a, placehol
1196
1196
  className: i("grid transition-collapse duration-base ease-out-swift motion-reduce:transition-none", Cr, qe ? "mt-2 grid-rows-expanded" : "mt-0 grid-rows-collapsed"),
1197
1197
  children: /* @__PURE__ */ X("div", {
1198
1198
  className: i("flex min-h-0 min-w-0 flex-col items-center", !qe && "overflow-hidden"),
1199
- children: /* @__PURE__ */ X(ft, {
1199
+ children: /* @__PURE__ */ X(ut, {
1200
1200
  hint: I ? {
1201
1201
  navigate: P.ai.clarifyingQuestion.navHint.navigate,
1202
1202
  select: P.ai.clarifyingQuestion.navHint.select,
@@ -1226,7 +1226,7 @@ function Tr(e) {
1226
1226
  ...e,
1227
1227
  name: "one-ai-input"
1228
1228
  });
1229
- return Oe() ? t : /* @__PURE__ */ X(re, { children: t });
1229
+ return Oe() ? t : /* @__PURE__ */ X(ne, { children: t });
1230
1230
  }
1231
1231
  //#endregion
1232
1232
  //#region src/addons/ai/markdown/typography.ts
@@ -1326,12 +1326,12 @@ function Vr({ children: e, ...t }) {
1326
1326
  //#endregion
1327
1327
  //#region src/addons/ai/markdown/Image.tsx
1328
1328
  function Hr({ src: e, alt: n, ...r }) {
1329
- let o = t(), s = L(), c = me(), l = M(e || void 0), [u, d] = Y(!1), [f, p] = Y(!1), m = n || (e ? it(e) : "") || "image";
1329
+ let o = t(), s = de(), c = fe(), l = j(e || void 0), [u, d] = Y(!1), [f, p] = Y(!1), m = n || (e ? it(e) : "") || "image";
1330
1330
  if (!e || u || l.status === "error") return n ? /* @__PURE__ */ X("span", {
1331
1331
  className: "text-f1-foreground-secondary",
1332
1332
  children: n
1333
1333
  }) : null;
1334
- let h = l.status === "ready" ? /* @__PURE__ */ X(dt, {
1334
+ let h = l.status === "ready" ? /* @__PURE__ */ X(lt, {
1335
1335
  ...r,
1336
1336
  src: l.url,
1337
1337
  alt: n,
@@ -1359,7 +1359,7 @@ function Hr({ src: e, alt: n, ...r }) {
1359
1359
  variant: "neutral",
1360
1360
  label: o.chat.download,
1361
1361
  hideLabel: !0,
1362
- icon: y,
1362
+ icon: be,
1363
1363
  onClick: () => c(e, m)
1364
1364
  })
1365
1365
  })]
@@ -1468,7 +1468,7 @@ var Zr = (e) => Array.from(e.querySelector("tr")?.children ?? []), Qr = (e) => {
1468
1468
  //#endregion
1469
1469
  //#region src/addons/ai/markdown/useOneLineWidth.ts
1470
1470
  function ti(e, t) {
1471
- let n = J(null), r = Ft(), [i, a] = Y();
1471
+ let n = J(null), r = Nt(), [i, a] = Y();
1472
1472
  return Vn(function() {
1473
1473
  if (!t || !n.current) return;
1474
1474
  let e = parseFloat(getComputedStyle(n.current, "::before").width);
@@ -1496,11 +1496,11 @@ var ni = (e) => An.toArray(e).filter((e) => Fn(e)), ri = (e) => ni(e.props.child
1496
1496
  return t;
1497
1497
  };
1498
1498
  async function ai({ header: e, rows: t }, n, r) {
1499
- let i = (e.length > 0 ? [e, ...t] : t).map((e) => e.map((e) => Kt(Xr(e)))), a = n === "xlsx" ? await x([{
1499
+ let i = (e.length > 0 ? [e, ...t] : t).map((e) => e.map((e) => Kt(Xr(e)))), a = n === "xlsx" ? await b([{
1500
1500
  name: "Data",
1501
1501
  rows: i
1502
- }]) : await ue(i);
1503
- z(a, `${r}.${n}`);
1502
+ }]) : await le(i);
1503
+ xe(a, `${r}.${n}`);
1504
1504
  }
1505
1505
  var oi = (e, t, n) => e ? {
1506
1506
  role: "region",
@@ -1508,7 +1508,7 @@ var oi = (e, t, n) => e ? {
1508
1508
  "aria-label": t || n
1509
1509
  } : {};
1510
1510
  function si({ children: e, title: n, ...r }) {
1511
- let o = t(), s = J(null), c = $r(s), l = c.left || c.right, u = p(), d = P(), f = (t) => {
1511
+ let o = t(), s = J(null), c = $r(s), l = c.left || c.right, u = p(), d = re(), f = (t) => {
1512
1512
  let r = n?.replace(/\s+/g, "_").toLowerCase() || "table";
1513
1513
  ai(ii(e), t, r);
1514
1514
  }, h = /* @__PURE__ */ Z("div", {
@@ -1516,24 +1516,24 @@ function si({ children: e, title: n, ...r }) {
1516
1516
  children: [/* @__PURE__ */ X(Ae, {
1517
1517
  items: [{
1518
1518
  label: o.t("ai.dataDownload.download", { format: "Excel" }),
1519
- icon: y,
1519
+ icon: be,
1520
1520
  onClick: () => f("xlsx")
1521
1521
  }, {
1522
1522
  label: o.t("ai.dataDownload.download", { format: "CSV" }),
1523
- icon: y,
1523
+ icon: be,
1524
1524
  onClick: () => f("csv")
1525
1525
  }],
1526
1526
  children: /* @__PURE__ */ X(m, {
1527
1527
  variant: "ghost",
1528
1528
  size: "sm",
1529
- icon: y,
1529
+ icon: be,
1530
1530
  label: o.ai.dataDownload.title,
1531
1531
  className: "text-f1-foreground-secondary hover:text-f1-foreground"
1532
1532
  })
1533
1533
  }), l && (c.after > 0 || c.left) ? /* @__PURE__ */ X(m, {
1534
1534
  variant: "ghost",
1535
1535
  size: "sm",
1536
- icon: c.after > 0 ? Ee : dn,
1536
+ icon: c.after > 0 ? Lt : dn,
1537
1537
  iconPosition: c.after > 0 ? "right" : "left",
1538
1538
  label: c.after > 0 ? o.t(c.after === 1 ? "ai.aiTable.moreColumns.one" : "ai.aiTable.moreColumns.other", { count: c.after }) : o.ai.aiTable.backToStart,
1539
1539
  className: "text-f1-foreground-secondary hover:text-f1-foreground",
@@ -1564,7 +1564,7 @@ var ci = "border-0 border-b border-solid pr-4 text-left text-sm leading-4.5 @[56
1564
1564
  className: "after:invisible after:block after:h-0 after:w-max after:overflow-hidden after:content-[attr(data-floor)] first:after:max-w-44"
1565
1565
  }), di = "after:max-w-[min(20rem,40cqi)]", fi = i("[--cap:min(20rem,40cqi)]", "after:max-w-[calc(var(--cap)_-_(var(--cap)_-_min(6rem,var(--cap)))_*_max(0,sign(var(--one-line,0px)_-_var(--cap))))]", "before:invisible before:absolute before:end-full before:h-0 before:w-max before:overflow-hidden before:whitespace-nowrap before:content-[attr(data-floor)]");
1566
1566
  function pi({ children: e, ...t }) {
1567
- let { className: n, ...r } = ui(Xr(e)), a = P();
1567
+ let { className: n, ...r } = ui(Xr(e)), a = re();
1568
1568
  return /* @__PURE__ */ X("th", {
1569
1569
  ...r,
1570
1570
  ...t,
@@ -1573,7 +1573,7 @@ function pi({ children: e, ...t }) {
1573
1573
  });
1574
1574
  }
1575
1575
  function mi({ children: e, ellipsis: t = !1, ...n }) {
1576
- let r = Xr(e), { className: a, ...o } = ui(r), { cell: s, width: c } = ti(r, !t), l = P();
1576
+ let r = Xr(e), { className: a, ...o } = ui(r), { cell: s, width: c } = ti(r, !t), l = re();
1577
1577
  return /* @__PURE__ */ X("td", {
1578
1578
  ref: s,
1579
1579
  title: t && r || void 0,
@@ -1749,7 +1749,7 @@ function Si({ id: e, label: n }) {
1749
1749
  let { entityRefs: r } = F(), i = r?.resolvers?.expense, a = t(), o = r?.urls?.expense?.(e), s = q(() => (e) => ({
1750
1750
  avatar: {
1751
1751
  type: "icon",
1752
- icon: $e
1752
+ icon: At
1753
1753
  },
1754
1754
  title: e.description || `Expense #${e.id}`,
1755
1755
  description: [e.amount, e.status].filter(Boolean).join(" · "),
@@ -1829,7 +1829,7 @@ function Ei({ id: e, label: t }) {
1829
1829
  resolver: r,
1830
1830
  contentClassName: "w-72",
1831
1831
  renderCard: (e) => {
1832
- if (e.status !== "ready") return /* @__PURE__ */ X(ye, {
1832
+ if (e.status !== "ready") return /* @__PURE__ */ X(_e, {
1833
1833
  name: t,
1834
1834
  avatar: {
1835
1835
  type: "person",
@@ -1840,7 +1840,7 @@ function Ei({ id: e, label: t }) {
1840
1840
  profileHref: i
1841
1841
  });
1842
1842
  let n = e.data;
1843
- return /* @__PURE__ */ X(ye, {
1843
+ return /* @__PURE__ */ X(_e, {
1844
1844
  name: `${n.firstName} ${n.lastName}`,
1845
1845
  avatar: {
1846
1846
  type: "person",
@@ -2150,7 +2150,7 @@ var Vi = (e) => typeof e == "object" && !!e, Q = (e) => typeof e == "string" &&
2150
2150
  mimeType: e.mimeType,
2151
2151
  size: e.bytes,
2152
2152
  previewUrl: e.preview ? t?.(e.preview.path) ?? e.preview.url : void 0
2153
- }), $i = (e) => Vt(e) ?? "", ea = Mn(!1), ta = () => Ln(ea), na = (e, t) => {
2153
+ }), $i = (e) => Bt(e) ?? "", ea = Mn(!1), ta = () => Ln(ea), na = (e, t) => {
2154
2154
  let [n, r] = Y(() => t ? null : new Set(e));
2155
2155
  return t && n !== null ? r(null) : !t && n === null && r(new Set(e)), (e) => e !== void 0 && n !== null && !n.has(e);
2156
2156
  }, ra = kn.settleMs, ia = 1e3, aa = 2, oa = "data-ai-anchor", sa = "data-turn-index", ca = (e) => {
@@ -2460,7 +2460,7 @@ function Fa(e) {
2460
2460
  return e && e.charAt(0).toUpperCase() + e.slice(1);
2461
2461
  }
2462
2462
  function Ia(e) {
2463
- let { days: t, hours: n, minutes: r, seconds: i } = _t(e), a = [];
2463
+ let { days: t, hours: n, minutes: r, seconds: i } = gt(e), a = [];
2464
2464
  return t > 0 && a.push(`${t}d`), n > 0 && a.push(`${n}h`), r > 0 && a.push(`${r}m`), (i > 0 || a.length === 0) && a.push(`${i}s`), a.join(" ");
2465
2465
  }
2466
2466
  function La(e) {
@@ -2579,7 +2579,7 @@ function Va({ formName: e, formDescription: t, module: n, cardTitle: r, cardDesc
2579
2579
  },
2580
2580
  children: y.length > 0 && !g ? /* @__PURE__ */ X("div", {
2581
2581
  className: "-mx-3 flex w-full flex-col overflow-hidden pb-1",
2582
- children: /* @__PURE__ */ X(ge, {
2582
+ children: /* @__PURE__ */ X(me, {
2583
2583
  details: y.map((e) => ({
2584
2584
  title: e.label,
2585
2585
  content: e.content,
@@ -2615,9 +2615,9 @@ function Ha() {
2615
2615
  //#endregion
2616
2616
  //#region src/addons/ai/F0AiFileAttachments/components/FileCanvasCards.tsx
2617
2617
  var Ua = 625, Wa = /* @__PURE__ */ new Set(), Ga = ({ documents: e, onOpenFile: t, onCanvasUnavailable: n }) => {
2618
- let { canvasContent: r, tryOpenCanvas: i, dismissCanvas: a, panelOverlays: o } = F(), s = Se(), c = ta(), l = e.map((e) => e.file), u = (r, { fallback: a = !0 } = {}) => {
2618
+ let { canvasContent: r, tryOpenCanvas: i, dismissCanvas: a, panelOverlays: o } = F(), s = z(), c = ta(), l = e.map((e) => e.file), u = (r, { fallback: a = !0 } = {}) => {
2619
2619
  let o = e[r];
2620
- o && t?.(o.file, "document", { documentKind: o.documentKind }) !== !1 && !i(Je({
2620
+ o && t?.(o.file, "document", { documentKind: o.documentKind }) !== !1 && !i(Ke({
2621
2621
  files: l,
2622
2622
  index: r,
2623
2623
  config: s
@@ -2637,7 +2637,7 @@ var Ua = 625, Wa = /* @__PURE__ */ new Set(), Ga = ({ documents: e, onOpenFile:
2637
2637
  className: "flex w-full max-w-sm flex-col gap-2",
2638
2638
  "data-testid": "ai-chat-file-canvas-cards",
2639
2639
  children: e.map(({ file: e }, t) => {
2640
- let n = Mt(r, e.url);
2640
+ let n = kt(r, e.url);
2641
2641
  return /* @__PURE__ */ X("div", {
2642
2642
  "data-active": n || void 0,
2643
2643
  "data-testid": "ai-chat-file-canvas-card",
@@ -2651,7 +2651,7 @@ var Ua = 625, Wa = /* @__PURE__ */ new Set(), Ga = ({ documents: e, onOpenFile:
2651
2651
  }
2652
2652
  },
2653
2653
  title: e.name,
2654
- description: e.size ? Ke(e.size) : Nt(e.name, $i(e)),
2654
+ description: e.size ? We(e.size) : jt(e.name, $i(e)),
2655
2655
  isActive: n,
2656
2656
  action: {
2657
2657
  type: "open",
@@ -2663,8 +2663,8 @@ var Ua = 625, Wa = /* @__PURE__ */ new Set(), Ga = ({ documents: e, onOpenFile:
2663
2663
  })
2664
2664
  });
2665
2665
  }, Ka = "rounded-xl", qa = "ai-chat", Ja = (e) => {
2666
- let { provided: t } = Xe();
2667
- return t ? /* @__PURE__ */ X(Za, { ...e }) : /* @__PURE__ */ X(Ot, { children: /* @__PURE__ */ X(Za, { ...e }) });
2666
+ let { provided: t } = qe();
2667
+ return t ? /* @__PURE__ */ X(Za, { ...e }) : /* @__PURE__ */ X(Et, { children: /* @__PURE__ */ X(Za, { ...e }) });
2668
2668
  }, Ya = {
2669
2669
  image: 0,
2670
2670
  video: 1,
@@ -2672,7 +2672,7 @@ var Ua = 625, Wa = /* @__PURE__ */ new Set(), Ga = ({ documents: e, onOpenFile:
2672
2672
  audio: 3,
2673
2673
  file: 4
2674
2674
  }, Xa = (e) => e.bucket === "image" || e.bucket === "video" || e.bucket === "audio" || e.bucket === "document" ? e.bucket : "file", Za = ({ files: e, align: t = "start", onOpenFile: n, onFileDownloaded: r, size: i = "default", opensIn: a }) => {
2675
- let { remotePreviews: o } = Xe(), s = Ne(), c = i === "default" && (a ?? (t === "start" && s ? "canvas" : "viewer")) === "canvas", [l, u] = Y(() => /* @__PURE__ */ new Set()), d = q(() => Qa(e, o, l), [
2675
+ let { remotePreviews: o } = qe(), s = Ne(), c = i === "default" && (a ?? (t === "start" && s ? "canvas" : "viewer")) === "canvas", [l, u] = Y(() => /* @__PURE__ */ new Set()), d = q(() => Qa(e, o, l), [
2676
2676
  e,
2677
2677
  o,
2678
2678
  l
@@ -2689,12 +2689,12 @@ var Ua = 625, Wa = /* @__PURE__ */ new Set(), Ga = ({ documents: e, onOpenFile:
2689
2689
  onImageError: (e) => u((t) => new Set(t).add(e.url))
2690
2690
  });
2691
2691
  }, Qa = (e, t, n) => e.map((e, r) => {
2692
- let i = It(e), a = !(t || qt(e.url)) || i.bucket === "file" || i.bucket === "image" && n.has(e.url);
2692
+ let i = Pt(e), a = !(t || qt(e.url)) || i.bucket === "file" || i.bucket === "image" && n.has(e.url);
2693
2693
  return {
2694
2694
  file: e,
2695
2695
  cls: i,
2696
2696
  generic: a,
2697
- item: a ? null : et(e, yt(r, e.url))
2697
+ item: a ? null : Xe(e, _t(r, e.url))
2698
2698
  };
2699
2699
  }), $a = ({ align: e, compact: t = !1, children: n }) => /* @__PURE__ */ X("div", {
2700
2700
  className: i("flex w-full min-w-0 flex-col gap-1.5", e === "end" ? "items-end" : "items-start"),
@@ -2726,8 +2726,8 @@ var Ua = 625, Wa = /* @__PURE__ */ new Set(), Ga = ({ documents: e, onOpenFile:
2726
2726
  }) : null,
2727
2727
  c.map((e, t) => {
2728
2728
  let { file: n, cls: r } = e, i = `${n.name}-${t}`;
2729
- return r.bucket === "video" ? /* @__PURE__ */ X(Rt, {
2730
- file: A(n),
2729
+ return r.bucket === "video" ? /* @__PURE__ */ X(It, {
2730
+ file: k(n),
2731
2731
  cornerClass: "rounded-xl",
2732
2732
  testIdPrefix: qa,
2733
2733
  onDownloaded: () => s?.(n)
@@ -2736,7 +2736,7 @@ var Ua = 625, Wa = /* @__PURE__ */ new Set(), Ga = ({ documents: e, onOpenFile:
2736
2736
  f || t ? null : d.map((e, t) => {
2737
2737
  let { file: n, cls: i } = e;
2738
2738
  return i.bucket === "document" ? /* @__PURE__ */ X(ht, {
2739
- file: A(n),
2739
+ file: k(n),
2740
2740
  kind: i.kind,
2741
2741
  cornerClass: "rounded-xl",
2742
2742
  testIdPrefix: qa,
@@ -2748,8 +2748,8 @@ var Ua = 625, Wa = /* @__PURE__ */ new Set(), Ga = ({ documents: e, onOpenFile:
2748
2748
  onDownloaded: () => s?.(n)
2749
2749
  }, `${n.name}-${t}`) : null;
2750
2750
  }),
2751
- c.map((e, t) => e.cls.bucket === "audio" ? /* @__PURE__ */ X(ee, {
2752
- file: A(e.file),
2751
+ c.map((e, t) => e.cls.bucket === "audio" ? /* @__PURE__ */ X(D, {
2752
+ file: k(e.file),
2753
2753
  testIdPrefix: qa,
2754
2754
  onDownloaded: () => s?.(e.file)
2755
2755
  }, `${e.file.name}-${t}`) : null),
@@ -2760,7 +2760,7 @@ var Ua = 625, Wa = /* @__PURE__ */ new Set(), Ga = ({ documents: e, onOpenFile:
2760
2760
  children: [g.length > 0 ? g.map((e, t) => {
2761
2761
  let { file: n, cls: i } = e;
2762
2762
  return i.bucket === "document" ? /* @__PURE__ */ X(ht, {
2763
- file: A(n),
2763
+ file: k(n),
2764
2764
  kind: i.kind,
2765
2765
  cornerClass: "rounded-xl",
2766
2766
  compact: !0,
@@ -2795,12 +2795,12 @@ var Ua = 625, Wa = /* @__PURE__ */ new Set(), Ga = ({ documents: e, onOpenFile:
2795
2795
  }, c) : s.bucket === "video" ? /* @__PURE__ */ X(ao, {
2796
2796
  file: i,
2797
2797
  onOpen: () => n(e)
2798
- }, c) : s.bucket === "audio" ? /* @__PURE__ */ X(w, {
2799
- file: A(i),
2798
+ }, c) : s.bucket === "audio" ? /* @__PURE__ */ X(C, {
2799
+ file: k(i),
2800
2800
  testIdPrefix: qa,
2801
2801
  onOpen: () => n(e)
2802
2802
  }, c) : s.bucket === "document" ? /* @__PURE__ */ X(ht, {
2803
- file: A(i),
2803
+ file: k(i),
2804
2804
  kind: s.kind,
2805
2805
  cornerClass: "rounded-xl",
2806
2806
  compact: !0,
@@ -2814,32 +2814,32 @@ var Ua = 625, Wa = /* @__PURE__ */ new Set(), Ga = ({ documents: e, onOpenFile:
2814
2814
  })
2815
2815
  })
2816
2816
  }), no = ({ file: e, onFileDownloaded: n }) => {
2817
- let r = t(), i = me(), a = $i(e);
2818
- return /* @__PURE__ */ X(Qe, {
2817
+ let r = t(), i = fe(), a = $i(e);
2818
+ return /* @__PURE__ */ X(Ye, {
2819
2819
  file: {
2820
2820
  ...e,
2821
2821
  mimeType: a
2822
2822
  },
2823
- icon: a === "application/zip" ? E : void 0,
2823
+ icon: a === "application/zip" ? ee : void 0,
2824
2824
  testId: `${qa}-file-tile`,
2825
2825
  action: {
2826
2826
  label: r.t("chat.downloadNamedFile", { name: e.name }),
2827
- icon: y,
2827
+ icon: be,
2828
2828
  onClick: () => {
2829
2829
  i(e.url, e.name), n?.(e);
2830
2830
  }
2831
2831
  }
2832
2832
  });
2833
2833
  }, ro = "relative box-border h-[132px] w-[168px] shrink-0 overflow-hidden rounded-xl border border-solid border-f1-border-secondary bg-f1-background-secondary p-0 transition-opacity hover:opacity-90", io = ({ file: e, onOpen: n, onError: r }) => {
2834
- let o = t(), s = M(e.thumbnailUrl ?? e.url);
2835
- return R(s.status, r), /* @__PURE__ */ X("button", {
2834
+ let o = t(), s = j(e.thumbnailUrl ?? e.url);
2835
+ return ve(s.status, r), /* @__PURE__ */ X("button", {
2836
2836
  type: "button",
2837
2837
  onClick: n,
2838
2838
  draggable: !1,
2839
2839
  "aria-label": o.t("chat.openNamedDocument", { name: e.name }),
2840
2840
  className: i(ro, a()),
2841
2841
  "data-testid": "ai-chat-image-attachment",
2842
- children: s.status === "ready" ? /* @__PURE__ */ X(dt, {
2842
+ children: s.status === "ready" ? /* @__PURE__ */ X(lt, {
2843
2843
  src: s.url,
2844
2844
  alt: e.name,
2845
2845
  draggable: !1,
@@ -2848,31 +2848,31 @@ var Ua = 625, Wa = /* @__PURE__ */ new Set(), Ga = ({ documents: e, onOpenFile:
2848
2848
  }) : null
2849
2849
  });
2850
2850
  }, ao = ({ file: e, onOpen: n }) => {
2851
- let r = t(), { urlCache: o } = Se(), s = M(e.thumbnailUrl), c = !e.thumbnailUrl && o === null, [l, u] = Y(!1);
2851
+ let r = t(), { urlCache: o } = z(), s = j(e.thumbnailUrl), c = !e.thumbnailUrl && o === null, [l, u] = Y(!1);
2852
2852
  return /* @__PURE__ */ Z("button", {
2853
2853
  type: "button",
2854
2854
  onClick: n,
2855
2855
  "aria-label": r.t("chat.videoPlayerLabel", { name: e.name }),
2856
2856
  className: i(ro, a()),
2857
2857
  "data-testid": "ai-chat-video-attachment",
2858
- children: [!l && (s.status === "ready" || c) ? /* @__PURE__ */ X(nt, {
2858
+ children: [!l && (s.status === "ready" || c) ? /* @__PURE__ */ X($e, {
2859
2859
  url: e.url,
2860
2860
  posterUrl: s.status === "ready" ? s.url : void 0,
2861
2861
  onError: () => u(!0)
2862
2862
  }) : null, /* @__PURE__ */ X(v, {})]
2863
2863
  });
2864
2864
  }, oo = ({ images: e, onOpen: n, onImageError: r }) => {
2865
- let a = t(), o = e.length === 1 ? e[0] : void 0, s = M(o ? o.thumbnailUrl ?? o.url : void 0), c = zt(o && s.status === "ready" ? s.url : void 0, o) ?? void 0, l = o ? We(c?.width, c?.height) : null;
2865
+ let a = t(), o = e.length === 1 ? e[0] : void 0, s = j(o ? o.thumbnailUrl ?? o.url : void 0), c = Rt(o && s.status === "ready" ? s.url : void 0, o) ?? void 0, l = o ? Ue(c?.width, c?.height) : null;
2866
2866
  return /* @__PURE__ */ X("div", {
2867
2867
  style: l ? { width: l.width } : void 0,
2868
- className: i("grid grid-cols-2 overflow-hidden border border-solid border-f1-border-secondary", l ? "max-w-full" : Ue, jt, Ka),
2868
+ className: i("grid grid-cols-2 overflow-hidden border border-solid border-f1-border-secondary", l ? "max-w-full" : He, Ot, Ka),
2869
2869
  "data-testid": "ai-chat-image-album",
2870
- children: Ut(c ? [c] : e).map((t, o, s) => {
2870
+ children: Ht(c ? [c] : e).map((t, o, s) => {
2871
2871
  let c = e[t.index];
2872
2872
  if (!c) return null;
2873
2873
  let l = o === s.length - 1;
2874
- return /* @__PURE__ */ X(Te, {
2875
- image: De(c),
2874
+ return /* @__PURE__ */ X(we, {
2875
+ image: Ee(c),
2876
2876
  aspectRatio: t.aspectRatio,
2877
2877
  spanFull: t.span === 2,
2878
2878
  inset: t.inset,
@@ -2967,7 +2967,7 @@ function mo({ anchor: e, onReply: n }) {
2967
2967
  type: "button",
2968
2968
  variant: "ghost",
2969
2969
  label: c,
2970
- icon: V,
2970
+ icon: B,
2971
2971
  onClick: () => {
2972
2972
  n(e.text);
2973
2973
  }
@@ -2976,7 +2976,7 @@ function mo({ anchor: e, onReply: n }) {
2976
2976
  }
2977
2977
  //#endregion
2978
2978
  //#region src/addons/ai/F0AiMessagesContainer/components/AssistantMessage.tsx
2979
- var ho = Mn(void 0), go = () => Ln(ho), _o = (e) => /* @__PURE__ */ X(T, {
2979
+ var ho = Mn(void 0), go = () => Ln(ho), _o = (e) => /* @__PURE__ */ X(w, {
2980
2980
  content: e,
2981
2981
  format: "markdown"
2982
2982
  }), vo = ({ isGenerating: e, isLoading: t, isLive: n = !1, message: r, renderToolCall: i, onReplyQuote: a, onRendered: o, renderMarkdown: s }) => {
@@ -3041,7 +3041,7 @@ var ho = Mn(void 0), go = () => Ln(ho), _o = (e) => /* @__PURE__ */ X(T, {
3041
3041
  return document.addEventListener("keydown", e), () => {
3042
3042
  document.removeEventListener("keydown", e);
3043
3043
  };
3044
- }, [d]), /* @__PURE__ */ X(ze, {
3044
+ }, [d]), /* @__PURE__ */ X(Re, {
3045
3045
  position: "center",
3046
3046
  isOpen: !0,
3047
3047
  onClose: f,
@@ -3058,7 +3058,7 @@ var ho = Mn(void 0), go = () => Ln(ho), _o = (e) => /* @__PURE__ */ X(T, {
3058
3058
  },
3059
3059
  children: /* @__PURE__ */ X("div", {
3060
3060
  className: "flex flex-col gap-6",
3061
- children: /* @__PURE__ */ X(Dt, {
3061
+ children: /* @__PURE__ */ X(Tt, {
3062
3062
  autoFocus: !0,
3063
3063
  label: l,
3064
3064
  placeholder: u,
@@ -3074,7 +3074,7 @@ var ho = Mn(void 0), go = () => Ln(ho), _o = (e) => /* @__PURE__ */ X(T, {
3074
3074
  return /* @__PURE__ */ Z("div", {
3075
3075
  className: i("-ml-2 -mt-1 flex items-center", !a && f === null && "opacity-0 transition-opacity duration-150 focus-within:opacity-100 group-hover/turn:opacity-100 motion-reduce:transition-none [@media(hover:none)]:opacity-100"),
3076
3076
  children: [
3077
- /* @__PURE__ */ X(k, {
3077
+ /* @__PURE__ */ X(O, {
3078
3078
  size: "md",
3079
3079
  variant: "ghost",
3080
3080
  valueToCopy: e,
@@ -3095,7 +3095,7 @@ var ho = Mn(void 0), go = () => Ln(ho), _o = (e) => /* @__PURE__ */ X(T, {
3095
3095
  className: "flex min-w-0 flex-1 items-center justify-center gap-1",
3096
3096
  children: /* @__PURE__ */ X(U, {
3097
3097
  size: "md",
3098
- icon: f === "like" ? B : j,
3098
+ icon: f === "like" ? De : te,
3099
3099
  color: "default"
3100
3100
  })
3101
3101
  })
@@ -3113,7 +3113,7 @@ var ho = Mn(void 0), go = () => Ln(ho), _o = (e) => /* @__PURE__ */ X(T, {
3113
3113
  className: "flex min-w-0 flex-1 items-center justify-center gap-1",
3114
3114
  children: /* @__PURE__ */ X(U, {
3115
3115
  size: "md",
3116
- icon: f === "dislike" ? D : _e,
3116
+ icon: f === "dislike" ? T : he,
3117
3117
  color: "default"
3118
3118
  })
3119
3119
  })
@@ -3130,7 +3130,7 @@ var ho = Mn(void 0), go = () => Ln(ho), _o = (e) => /* @__PURE__ */ X(T, {
3130
3130
  className: "flex min-w-0 flex-1 items-center justify-center gap-1",
3131
3131
  children: /* @__PURE__ */ X(U, {
3132
3132
  size: "md",
3133
- icon: te,
3133
+ icon: Te,
3134
3134
  color: "default"
3135
3135
  })
3136
3136
  })
@@ -3191,11 +3191,11 @@ function xo() {
3191
3191
  //#region src/addons/ai/F0AiMessagesContainer/components/rail.ts
3192
3192
  var So = "-ml-1 flex w-5 shrink-0 flex-col items-center", Co = "w-px shrink-0 bg-f1-border-secondary", wo = ({ icon: e, title: t, children: n, open: r, onOpenChange: a, disabled: o = !1 }) => {
3193
3193
  let s = p();
3194
- return /* @__PURE__ */ Z(Ct, {
3194
+ return /* @__PURE__ */ Z(bt, {
3195
3195
  className: "mb-1 w-full",
3196
3196
  open: r,
3197
3197
  onOpenChange: a,
3198
- children: [/* @__PURE__ */ Z(He, {
3198
+ children: [/* @__PURE__ */ Z(Ve, {
3199
3199
  disabled: o,
3200
3200
  className: i("group/rail flex w-full items-start gap-1.5 text-left text-base text-f1-foreground-secondary", !o && "transition-colors duration-150 hover:text-f1-foreground"),
3201
3201
  children: [e ? /* @__PURE__ */ X("span", {
@@ -3212,7 +3212,7 @@ var So = "-ml-1 flex w-5 shrink-0 flex-col items-center", Co = "w-px shrink-0 bg
3212
3212
  })
3213
3213
  })] })
3214
3214
  })]
3215
- }), /* @__PURE__ */ X(ct, {
3215
+ }), /* @__PURE__ */ X(st, {
3216
3216
  forceMount: !0,
3217
3217
  className: "data-[state=open]:mt-1.5",
3218
3218
  children: /* @__PURE__ */ X(c.div, {
@@ -3246,11 +3246,11 @@ function To({ step: e, last: t }) {
3246
3246
  className: "flex gap-1.5",
3247
3247
  children: [/* @__PURE__ */ Z("span", {
3248
3248
  className: i(So, "pt-0.5"),
3249
- children: [n ? /* @__PURE__ */ X(bt, {
3249
+ children: [n ? /* @__PURE__ */ X(vt, {
3250
3250
  variant: "thinking",
3251
3251
  size: 15
3252
3252
  }) : /* @__PURE__ */ X(U, {
3253
- icon: vt,
3253
+ icon: tt,
3254
3254
  size: "sm",
3255
3255
  color: "secondary"
3256
3256
  }), t ? null : /* @__PURE__ */ X("span", {
@@ -3330,7 +3330,7 @@ var jo = (e, t) => {
3330
3330
  function Mo({ titles: e, isThinking: t, startedAt: n }) {
3331
3331
  let [r, a] = Y(!1), o = jo(e, t), s = o.length > 0, c = r && s, l = t && !c;
3332
3332
  return /* @__PURE__ */ X(wo, {
3333
- icon: l ? /* @__PURE__ */ X(bt, {
3333
+ icon: l ? /* @__PURE__ */ X(vt, {
3334
3334
  variant: "thinking",
3335
3335
  size: 15
3336
3336
  }) : null,
@@ -3372,12 +3372,12 @@ function Po({ turn: e }) {
3372
3372
  className: "flex items-start gap-1.5 text-f1-foreground-secondary",
3373
3373
  children: [/* @__PURE__ */ X("span", {
3374
3374
  className: i(So, "h-5 justify-center"),
3375
- children: /* @__PURE__ */ X(bt, {
3375
+ children: /* @__PURE__ */ X(vt, {
3376
3376
  variant: r,
3377
3377
  size: 15
3378
3378
  })
3379
3379
  }), e.status === "asking" ? /* @__PURE__ */ X("p", {
3380
- className: i("text-pretty leading-5", ce),
3380
+ className: i("text-pretty leading-5", se),
3381
3381
  children: n.ai.askingQuestions
3382
3382
  }) : null]
3383
3383
  }) : null;
@@ -3424,7 +3424,7 @@ function Ro({ children: e }) {
3424
3424
  display: "flex",
3425
3425
  height: "5",
3426
3426
  alignItems: "center",
3427
- children: /* @__PURE__ */ X(U, { icon: ne })
3427
+ children: /* @__PURE__ */ X(U, { icon: je })
3428
3428
  }), /* @__PURE__ */ Z("div", {
3429
3429
  className: "min-w-0 whitespace-pre-wrap text-base leading-5 [overflow-wrap:anywhere] [&>div]:flex [&>div]:flex-col [&>div]:gap-1 [&_p]:m-0",
3430
3430
  children: [/* @__PURE__ */ X("span", {
@@ -3478,7 +3478,7 @@ function Vo(e) {
3478
3478
  }
3479
3479
  //#endregion
3480
3480
  //#region src/addons/ai/F0AiMessagesContainer/components/UserMessage.tsx
3481
- var Ho = (e) => /* @__PURE__ */ X(T, {
3481
+ var Ho = (e) => /* @__PURE__ */ X(w, {
3482
3482
  content: e,
3483
3483
  format: "markdown"
3484
3484
  }), Uo = /[.,:;!?*_~]/, Wo = (e, t) => e.split(t).length - 1, Go = (e) => {
@@ -3496,9 +3496,9 @@ var Ho = (e) => /* @__PURE__ */ X(T, {
3496
3496
  target: "_blank",
3497
3497
  children: r
3498
3498
  }), e.slice(n)] }, t);
3499
- }, qo = (e, t) => be(e).map((e, n) => n % 2 == 1 ? Ko(e, `${t}-${n}`) : e), Jo = (e) => /* @__PURE__ */ X("p", {
3499
+ }, qo = (e, t) => ye(e).map((e, n) => n % 2 == 1 ? Ko(e, `${t}-${n}`) : e), Jo = (e) => /* @__PURE__ */ X("p", {
3500
3500
  className: "m-0",
3501
- children: fe(e).map((e, t) => e.kind === "text" ? qo(e.text, t) : /* @__PURE__ */ X(Fi, {
3501
+ children: I(e).map((e, t) => e.kind === "text" ? qo(e.text, t) : /* @__PURE__ */ X(Fi, {
3502
3502
  type: e.type,
3503
3503
  id: e.id,
3504
3504
  typed: !0,
@@ -3509,7 +3509,7 @@ function Xo({ message: e, onReplyQuote: n, onCopy: r, autoScrollIntoView: a = !0
3509
3509
  let s = Vo(a), c = J(null), l = e?.content, u = e?.rawData, d = q(() => Xi({
3510
3510
  content: l,
3511
3511
  rawData: u
3512
- }), [l, u]), f = (Zi(l, "user") ?? "").trim(), p = e?.presentation, m = p?.kind === "notice", h = p?.kind === "answers" && p.questions.length > 0 ? p.questions : null, g = h !== null || f.length > 0, _ = t(), v = h ? h.map(({ question: e, answers: t }) => `${e}\n${Fo(t, _.ai.clarifyingQuestion.skipped)}`).join("\n\n") : b(f), { anchor: y, clear: x } = uo({
3512
+ }), [l, u]), f = (Zi(l, "user") ?? "").trim(), p = e?.presentation, m = p?.kind === "notice", h = p?.kind === "answers" && p.questions.length > 0 ? p.questions : null, g = h !== null || f.length > 0, _ = t(), v = h ? h.map(({ question: e, answers: t }) => `${e}\n${Fo(t, _.ai.clarifyingQuestion.skipped)}`).join("\n\n") : y(f), { anchor: b, clear: x } = uo({
3513
3513
  containerRef: c,
3514
3514
  enabled: g && !m
3515
3515
  });
@@ -3547,7 +3547,7 @@ function Xo({ message: e, onReplyQuote: n, onCopy: r, autoScrollIntoView: a = !0
3547
3547
  children: h ? /* @__PURE__ */ X(Lo, { questions: h }) : S(f)
3548
3548
  }), /* @__PURE__ */ X("div", {
3549
3549
  className: i("absolute bottom-0 right-full mr-1 flex", "opacity-0 transition-opacity duration-150 focus-within:opacity-100 group-hover/user-message:opacity-100 motion-reduce:transition-none [@media(hover:none)]:opacity-100"),
3550
- children: /* @__PURE__ */ X(k, {
3550
+ children: /* @__PURE__ */ X(O, {
3551
3551
  size: "md",
3552
3552
  variant: "ghost",
3553
3553
  valueToCopy: v,
@@ -3558,7 +3558,7 @@ function Xo({ message: e, onReplyQuote: n, onCopy: r, autoScrollIntoView: a = !0
3558
3558
  })]
3559
3559
  }) : null,
3560
3560
  /* @__PURE__ */ X(mo, {
3561
- anchor: y,
3561
+ anchor: b,
3562
3562
  onReply: (e) => {
3563
3563
  n?.(e), x(), window.getSelection()?.removeAllRanges();
3564
3564
  }
@@ -3586,7 +3586,7 @@ function Zo({ phrase: e, caption: t, onClick: n }) {
3586
3586
  //#endregion
3587
3587
  //#region src/addons/ai/F0AiChat/providers/useWelcomeRound.ts
3588
3588
  var Qo = () => {
3589
- let e = Ln(je), [t] = Y(() => e?.nextRound ?? 0), n = e?.claimRound;
3589
+ let e = Ln(V), [t] = Y(() => e?.nextRound ?? 0), n = e?.claimRound;
3590
3590
  return K(function() {
3591
3591
  n?.(t);
3592
3592
  }, [n, t]), t;
@@ -3663,7 +3663,7 @@ function cs({ prompts: { suggestions: e, onItemClick: t, onItemHover: n }, round
3663
3663
  flexDirection: "column",
3664
3664
  gap: "md",
3665
3665
  width: "full",
3666
- children: o.map(({ item: e, group: t, onOverflowChange: n }, r) => /* @__PURE__ */ X(Et, {
3666
+ children: o.map(({ item: e, group: t, onOverflowChange: n }, r) => /* @__PURE__ */ X(Ct, {
3667
3667
  label: e.title,
3668
3668
  icon: t.icon,
3669
3669
  onClick: () => a(e, t),
@@ -3746,7 +3746,7 @@ function ps({ turns: e, isLoadingThread: n = !1, interrupt: r, initialMessage: a
3746
3746
  viewportRef: j,
3747
3747
  contentRef: M
3748
3748
  });
3749
- let oe = e[e.length - 1], se = oe?.status === "working", ce = fa(se), le = oe?.status === "asking" ? O.ai.askingQuestions : se ? oe.thinking?.titles.at(-1) ?? O.ai.thinkingNow : "", F = na(e.flatMap((e) => e.assistantMessages.flatMap((e) => e.id ? [e.id] : [])), n), ue = (t, n) => {
3749
+ let oe = e[e.length - 1], se = oe?.status === "working", ce = fa(se), F = oe?.status === "asking" ? O.ai.askingQuestions : se ? oe.thinking?.titles.at(-1) ?? O.ai.thinkingNow : "", le = na(e.flatMap((e) => e.assistantMessages.flatMap((e) => e.id ? [e.id] : [])), n), ue = (t, n) => {
3750
3750
  let r = n === e.length - 1, i = fs(t), a = r && se, o = t.thinking ?? (a ? { titles: [] } : null), s = t.assistantMessages.some(ms), c = {
3751
3751
  renderToolCall: f,
3752
3752
  onReplyQuote: p,
@@ -3783,7 +3783,7 @@ function ps({ turns: e, isLoadingThread: n = !1, interrupt: r, initialMessage: a
3783
3783
  return /* @__PURE__ */ X(ee, {
3784
3784
  ...l,
3785
3785
  isGenerating: i && o,
3786
- isLive: i || F(e.id),
3786
+ isLive: i || le(e.id),
3787
3787
  isLoading: i && o && !ms(e)
3788
3788
  }, `${n}-a-${a}`);
3789
3789
  };
@@ -3824,7 +3824,7 @@ function ps({ turns: e, isLoadingThread: n = !1, interrupt: r, initialMessage: a
3824
3824
  /* @__PURE__ */ X("div", {
3825
3825
  role: "status",
3826
3826
  className: "sr-only",
3827
- children: le
3827
+ children: F
3828
3828
  }),
3829
3829
  /* @__PURE__ */ X("div", {
3830
3830
  ref: j,
@@ -3875,7 +3875,7 @@ function ps({ turns: e, isLoadingThread: n = !1, interrupt: r, initialMessage: a
3875
3875
  scale: .8
3876
3876
  },
3877
3877
  transition: { duration: .2 },
3878
- children: /* @__PURE__ */ X(pe, {
3878
+ children: /* @__PURE__ */ X(L, {
3879
3879
  label: O.ai.scrollToBottom,
3880
3880
  onClick: () => ae()
3881
3881
  })
@@ -3893,8 +3893,8 @@ var ms = (e) => !!Zi(e.content) || Xi(e).length > 0;
3893
3893
  //#endregion
3894
3894
  //#region src/addons/ai/F0AiMessagesContainer/F0AiMessagesContainer.tsx
3895
3895
  function hs(e) {
3896
- let t = Xe(), n = /* @__PURE__ */ X(Ri, { children: /* @__PURE__ */ X(ps, { ...e }) });
3897
- return e.filePreviews || !t.provided ? /* @__PURE__ */ X(Ot, {
3896
+ let t = qe(), n = /* @__PURE__ */ X(Ri, { children: /* @__PURE__ */ X(ps, { ...e }) });
3897
+ return e.filePreviews || !t.provided ? /* @__PURE__ */ X(Et, {
3898
3898
  filePreviews: e.filePreviews,
3899
3899
  children: n
3900
3900
  }) : n;
@@ -4164,7 +4164,7 @@ var Ds = [
4164
4164
  onClick: c,
4165
4165
  label: l.actions.cancel,
4166
4166
  hideLabel: !0,
4167
- icon: lt
4167
+ icon: xt
4168
4168
  })
4169
4169
  ]
4170
4170
  });
@@ -4188,7 +4188,7 @@ var Ds = [
4188
4188
  });
4189
4189
  }, ce = (e) => {
4190
4190
  e.key === "Escape" && (e.preventDefault(), m());
4191
- }, le = i ? 0 : Fs, F = i ? 0 : Is;
4191
+ }, F = i ? 0 : Fs, le = i ? 0 : Is;
4192
4192
  return /* @__PURE__ */ Z("div", {
4193
4193
  className: "flex flex-col",
4194
4194
  onKeyDown: ce,
@@ -4203,14 +4203,14 @@ var Ds = [
4203
4203
  animate: {
4204
4204
  opacity: 1,
4205
4205
  transition: {
4206
- duration: le,
4206
+ duration: F,
4207
4207
  ease: Ps
4208
4208
  }
4209
4209
  },
4210
4210
  exit: {
4211
4211
  opacity: 0,
4212
4212
  transition: {
4213
- duration: F,
4213
+ duration: le,
4214
4214
  ease: Ps
4215
4215
  }
4216
4216
  },
@@ -4575,13 +4575,13 @@ var Ks = class {
4575
4575
  repeatType: "mirror"
4576
4576
  };
4577
4577
  function $s(e) {
4578
- let [t, n] = Y(e), r = de(e), i = J(null);
4578
+ let [t, n] = Y(e), r = P(e), i = J(null);
4579
4579
  return Gn(r, "change", (e) => n(e)), {
4580
4580
  value: t,
4581
4581
  motionValue: r,
4582
4582
  controls: i,
4583
4583
  animate: G((e, t) => {
4584
- i.current = ie(r, e, t);
4584
+ i.current = A(r, e, t);
4585
4585
  }, [r])
4586
4586
  };
4587
4587
  }
@@ -5034,7 +5034,7 @@ function Ac({ fs: e, vs: t = ic, textures: n = [], uniforms: r, clearColor: i =
5034
5034
  }, ce = () => {
5035
5035
  let e = { passive: !0 };
5036
5036
  E.current.iMouse?.isNeeded && p.current && (p.current.addEventListener("mousemove", j, e), p.current.addEventListener("mouseout", M, e), p.current.addEventListener("mouseup", M, e), p.current.addEventListener("mousedown", A, e), p.current.addEventListener("touchmove", j, e), p.current.addEventListener("touchend", M, e), p.current.addEventListener("touchstart", A, e)), E.current.iDeviceOrientation?.isNeeded && window.addEventListener("deviceorientation", te, e), p.current && (T.current = new ResizeObserver(N), T.current.observe(p.current), window.addEventListener("resize", N, e));
5037
- }, le = () => {
5037
+ }, F = () => {
5038
5038
  let e = { passive: !0 };
5039
5039
  E.current.iMouse?.isNeeded && p.current && (p.current.removeEventListener("mousemove", j, e), p.current.removeEventListener("mouseout", M, e), p.current.removeEventListener("mouseup", M, e), p.current.removeEventListener("mousedown", A, e), p.current.removeEventListener("touchmove", j, e), p.current.removeEventListener("touchend", M, e), p.current.removeEventListener("touchstart", A, e)), E.current.iDeviceOrientation?.isNeeded && window.removeEventListener("deviceorientation", te, e), T.current && (T.current.disconnect(), window.removeEventListener("resize", N, e));
5040
5040
  };
@@ -5053,7 +5053,7 @@ function Ac({ fs: e, vs: t = ic, textures: n = [], uniforms: r, clearColor: i =
5053
5053
  if (e.getExtension("WEBGL_lose_context")?.loseContext(), e.useProgram(null), e.deleteProgram(g.current ?? null), n.length > 0) for (let t of n) e.deleteTexture(t._webglTexture);
5054
5054
  g.current = null;
5055
5055
  }
5056
- le(), cancelAnimationFrame(v.current ?? 0);
5056
+ F(), cancelAnimationFrame(v.current ?? 0);
5057
5057
  };
5058
5058
  }, []), /* @__PURE__ */ X("canvas", {
5059
5059
  ref: p,
@@ -5192,7 +5192,7 @@ function Fc({ size: e = "lg", state: t, color: n, colorShift: r = .05, audioTrac
5192
5192
  }
5193
5193
  //#endregion
5194
5194
  //#region src/blocks/ai/F0HILActionConfirmation/F0HILActionConfirmation.tsx
5195
- var Ic = ({ text: e, description: t, avatar: n, confirmationText: r, onConfirm: i, cancelText: a, onCancel: o, stackAt: s = "sm" }) => /* @__PURE__ */ X(Ve, {
5195
+ var Ic = ({ text: e, description: t, avatar: n, confirmationText: r, onConfirm: i, cancelText: a, onCancel: o, stackAt: s = "sm" }) => /* @__PURE__ */ X(Be, {
5196
5196
  title: e,
5197
5197
  description: t,
5198
5198
  avatar: n,
@@ -5365,10 +5365,10 @@ var Yc = ({ cx: e, cy: t, index: n, dataLength: r, color: i }) => n !== r - 1 ||
5365
5365
  className: "relative w-full flex-1",
5366
5366
  role: "img",
5367
5367
  "aria-label": `Sparkline chart showing ${i} trend`,
5368
- children: [/* @__PURE__ */ X(Ze, {
5368
+ children: [/* @__PURE__ */ X(Je, {
5369
5369
  width: "100%",
5370
5370
  height: "100%",
5371
- children: /* @__PURE__ */ Z(Wt, {
5371
+ children: /* @__PURE__ */ Z(Ut, {
5372
5372
  data: e,
5373
5373
  margin: {
5374
5374
  top: 4,
@@ -5393,11 +5393,11 @@ var Yc = ({ cx: e, cy: t, index: n, dataLength: r, color: i }) => n !== r - 1 ||
5393
5393
  stopOpacity: .02
5394
5394
  })]
5395
5395
  }) }),
5396
- /* @__PURE__ */ X(Bt, {
5396
+ /* @__PURE__ */ X(zt, {
5397
5397
  hide: !0,
5398
5398
  domain: ["dataMin - 1", "dataMax + 1"]
5399
5399
  }),
5400
- /* @__PURE__ */ X(C, {
5400
+ /* @__PURE__ */ X(S, {
5401
5401
  type: "linear",
5402
5402
  dataKey: "value",
5403
5403
  stroke: a.stroke,
@@ -5484,7 +5484,7 @@ var Yc = ({ cx: e, cy: t, index: n, dataLength: r, color: i }) => n !== r - 1 ||
5484
5484
  });
5485
5485
  });
5486
5486
  Qc.displayName = "F0AiInsightCard";
5487
- var $c = e(At(Qc, () => /* @__PURE__ */ Z("div", {
5487
+ var $c = e(Dt(Qc, () => /* @__PURE__ */ Z("div", {
5488
5488
  className: "flex w-[217px] h-[200px] flex-col gap-2 rounded-2xl border border-solid border-f1-border-secondary bg-f1-background p-4",
5489
5489
  "aria-busy": "true",
5490
5490
  "aria-live": "polite",
@@ -5569,11 +5569,11 @@ ol.displayName = "F0AiProposalCard";
5569
5569
  //#region src/blocks/ai/F0AiMessageSources/components/CollapsibleMessage.tsx
5570
5570
  var sl = ({ icon: e, title: t, children: n }) => {
5571
5571
  let [r, i] = Y(!1), a = p();
5572
- return /* @__PURE__ */ Z(Ct, {
5572
+ return /* @__PURE__ */ Z(bt, {
5573
5573
  className: "mb-1 w-full",
5574
5574
  open: r,
5575
5575
  onOpenChange: i,
5576
- children: [/* @__PURE__ */ Z(He, {
5576
+ children: [/* @__PURE__ */ Z(Ve, {
5577
5577
  className: "flex w-full items-center text-base text-f1-foreground-secondary transition-colors duration-150 hover:text-f1-foreground [&[data-state=open]>svg]:rotate-90",
5578
5578
  children: [
5579
5579
  /* @__PURE__ */ X("span", {
@@ -5592,7 +5592,7 @@ var sl = ({ icon: e, title: t, children: n }) => {
5592
5592
  className: "h-4 w-4 transition-transform duration-200"
5593
5593
  })
5594
5594
  ]
5595
- }), /* @__PURE__ */ X(ct, {
5595
+ }), /* @__PURE__ */ X(st, {
5596
5596
  forceMount: !0,
5597
5597
  className: "data-[state=open]:mt-3",
5598
5598
  children: /* @__PURE__ */ X(c.div, {
@@ -5616,7 +5616,7 @@ var sl = ({ icon: e, title: t, children: n }) => {
5616
5616
  })
5617
5617
  })]
5618
5618
  });
5619
- }, cl = (e) => pt[e] ?? Sn, ll = ({ iconName: e }) => e ? /* @__PURE__ */ X("div", {
5619
+ }, cl = (e) => ft[e] ?? Sn, ll = ({ iconName: e }) => e ? /* @__PURE__ */ X("div", {
5620
5620
  className: "mr-1 flex items-center justify-center",
5621
5621
  children: /* @__PURE__ */ X(U, {
5622
5622
  icon: cl(e),
@@ -5704,7 +5704,7 @@ function ml({ indicator: e }) {
5704
5704
  hideLabel: !0,
5705
5705
  label: n.ai.conversations,
5706
5706
  "aria-describedby": i ? r : void 0,
5707
- icon: Re
5707
+ icon: rt
5708
5708
  })
5709
5709
  }),
5710
5710
  /* @__PURE__ */ X("span", {
@@ -5780,7 +5780,7 @@ function vl({ label: e, onClick: t }) {
5780
5780
  variant: "ghost",
5781
5781
  hideLabel: !0,
5782
5782
  label: e,
5783
- icon: Ye,
5783
+ icon: wt,
5784
5784
  onClick: t
5785
5785
  })
5786
5786
  }) : null
@@ -5839,14 +5839,14 @@ var Sl = ({ currentThreadTitle: e, fullscreen: n = !1, onToggleVisualizationMode
5839
5839
  variant: "ghost",
5840
5840
  hideLabel: !0,
5841
5841
  label: n ? f.ai.collapseChat : f.ai.expandChat,
5842
- icon: n ? gt : Ge,
5842
+ icon: n ? et : Wt,
5843
5843
  onClick: r
5844
5844
  }),
5845
5845
  /* @__PURE__ */ X(m, {
5846
5846
  variant: "ghost",
5847
5847
  hideLabel: !0,
5848
5848
  label: f.ai.closeChat,
5849
- icon: lt,
5849
+ icon: xt,
5850
5850
  onClick: a
5851
5851
  })
5852
5852
  ]
@@ -5939,16 +5939,16 @@ function Tl({ items: e, status: n, statusId: r, isPending: a }) {
5939
5939
  //#endregion
5940
5940
  //#region src/addons/ai/F0AiChatHistory/components/ThreadItem.tsx
5941
5941
  function El({ thread: e, isPinned: n, isActive: r = !1, isPending: a = !1, onSelect: o, onPin: c, onUnpin: l, onDelete: u, threadActions: d, className: f }) {
5942
- let p = t(), m = Rn(), g = St() === "two-level", _ = q(() => [
5942
+ let p = t(), m = Rn(), g = yt() === "two-level", _ = q(() => [
5943
5943
  {
5944
5944
  label: n ? p.ai.unpinChat : p.ai.pinChat,
5945
- icon: n ? le : xt,
5945
+ icon: n ? M : ce,
5946
5946
  onClick: () => n ? l(e.id) : c(e.id)
5947
5947
  },
5948
5948
  ...d?.(e) ?? [],
5949
5949
  {
5950
5950
  label: p.ai.deleteChat,
5951
- icon: wt,
5951
+ icon: pt,
5952
5952
  critical: !0,
5953
5953
  onClick: () => u(e.id)
5954
5954
  }
@@ -6131,7 +6131,7 @@ function Nl({ value: e, onChange: n }) {
6131
6131
  size: "sm",
6132
6132
  hideLabel: !0,
6133
6133
  label: r.actions.clear,
6134
- icon: lt,
6134
+ icon: xt,
6135
6135
  onClick: () => n("")
6136
6136
  }) : null
6137
6137
  ]
@@ -6159,7 +6159,7 @@ var Pl = () => {
6159
6159
  //#region src/addons/ai/F0AiChatHistory/utils.ts
6160
6160
  function Fl(e) {
6161
6161
  let t = new Date(e), n = /* @__PURE__ */ new Date();
6162
- return I(t) ? "today" : ae(t) ? "yesterday" : gn(t, n) ? "thisMonth" : "older";
6162
+ return ue(t) ? "today" : ie(t) ? "yesterday" : gn(t, n) ? "thisMonth" : "older";
6163
6163
  }
6164
6164
  function Il(e) {
6165
6165
  let t = {
@@ -6214,7 +6214,7 @@ function Ll({ onClose: e, onSelectThread: n, onNewChat: r, actions: a, threads:
6214
6214
  className: "flex flex-col gap-2",
6215
6215
  children: [
6216
6216
  r ? /* @__PURE__ */ X(Ml, {
6217
- icon: Ye,
6217
+ icon: wt,
6218
6218
  label: h.ai.startNewChat,
6219
6219
  onClick: () => {
6220
6220
  r(), e();
@@ -6310,11 +6310,11 @@ var Vl = [
6310
6310
  "attention"
6311
6311
  ], Hl = "f0-ai-pinned-threads";
6312
6312
  function Ul() {
6313
- let e = Tt(Hl, []);
6313
+ let e = St(Hl, []);
6314
6314
  return new Set(Array.isArray(e) ? e : []);
6315
6315
  }
6316
6316
  function Wl(e) {
6317
- ut(Hl, [...e]);
6317
+ ct(Hl, [...e]);
6318
6318
  }
6319
6319
  function Gl({ enabled: e = !1, fetchThreads: t, deleteThread: n, pinThread: r, unpinThread: i }) {
6320
6320
  let [a, o] = Y([]), [s, c] = Y(!1), [l, u] = Y(null), [d, f] = Y(Ul), [p, m] = Y(() => /* @__PURE__ */ new Set()), h = G(async () => {
@@ -6384,7 +6384,7 @@ function Gl({ enabled: e = !1, fetchThreads: t, deleteThread: n, pinThread: r, u
6384
6384
  }
6385
6385
  //#endregion
6386
6386
  //#region src/addons/ai/F0AiChatHeader/types.ts
6387
- var Kl = ["attention"], ql = ["top", "bottom"], Jl = c.create(S), Yl = ({ label: e, reduceMotion: t }) => /* @__PURE__ */ Z("div", {
6387
+ var Kl = ["attention"], ql = ["top", "bottom"], Jl = c.create(x), Yl = ({ label: e, reduceMotion: t }) => /* @__PURE__ */ Z("div", {
6388
6388
  role: "status",
6389
6389
  "aria-live": "polite",
6390
6390
  className: "flex flex-row items-center gap-1 rounded-full border border-solid border-f1-border-secondary bg-f1-background px-2 py-1.5 pr-2.5 shadow-md",