@factorialco/f0-react 4.56.0 → 4.56.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  import { jsxs as a, jsx as t, Fragment as Re } from "react/jsx-runtime";
2
- import { useInsertionEffect as Tr, forwardRef as h, useRef as j, useEffect as q, useLayoutEffect as rt, useState as I, useMemo as J, useCallback as _, createContext as Ge, useContext as Ie, useId as ot, createElement as Hr, memo as Ar } from "react";
3
- import { c$ as $r, d0 as Br, a5 as nt, bZ as Ir, d1 as Pr, d2 as jr, d3 as Dr, d4 as Zr, b_ as _r, c6 as st, bY as Or, d5 as Ur, ae as s1, d6 as zr, aN as Gr, d7 as Wr, d8 as qr, d9 as Xr, am as Yr, da as Kr, cx as Qr, ag as it, aj as Jr, db as eo, o as i1, a9 as at, a0 as We, n as ct, bl as to, c4 as ro, dc as oo, b6 as no, cw as so, a7 as Fe, az as io, bp as lt, dd as ao, cu as co, l as Me, cs as lo, de as fo, bS as dt, b5 as uo, df as ho, dg as go, dh as po, di as Co, dj as mo, dk as ft, cl as vo, cm as wo, dl as xo, dm as ko, dn as Lo, dp as bo, dq as yo, bz as Mo, c0 as Eo, dr as Ro, ds as Fo, dt as No, du as Vo, dv as So, dw as To, dx as Ho, dy as Ao, by as $o, cv as Bo, ah as Io, ch as Po, dz as jo, dA as Do, dB as Zo, dC as _o, dD as Oo, dE as Uo, dF as zo, av as Go, bA as Wo, bU as ut, Z as qo, a8 as Xo, bB as ht, bR as Yo, bT as gt, i as Ko, bo as Qo, bn as Jo, dG as en, dH as tn, bC as pt, bD as rn, bE as on, b4 as nn, aC as sn, dI as an, j as cn, bj as Ct, bi as mt, bc as ln, dJ as vt, bb as dn, b$ as a1, q as fn, bf as c1, dK as un, dL as hn, dM as l1, c2 as gn, c3 as pn, ct as wt, dN as Cn, U as mn, Q as vn, dO as wn, dP as xn, dQ as kn, dR as Ln, bP as bn, dS as xt, dT as yn, ai as Mn, dU as En, Y as se, J as Te, cb as Rn, u as G, bO as Fn, S as he, bN as kt, V as le, aa as Nn, m as ve, dV as Vn, ak as ie, aT as ke, O as Ee, H as ee, cC as Lt, aH as d1, dW as Sn, aI as f1, aJ as u1, b as ye, bL as Tn, dX as Hn, bM as An, a1 as $n, b3 as Bn, ad as h1, bF as In, bG as Pn, bH as jn, bI as y1, ab as Dn, aq as bt, aW as yt, c1 as Zn, cH as _n, dY as On, dZ as Un, a$ as Mt, d_ as zn, cD as Gn, d$ as Wn, aY as Be, bd as Et, e0 as Rt, be as Ft, c as r1, c5 as M1, e1 as Nt, e2 as qn, e3 as Xn, bt as Yn, e4 as Kn, bk as g1, ci as Qn, e5 as Jn, e6 as es, e7 as ts, e8 as rs, e9 as os, w as ns, s as ss, M as is, N as as, ap as E1, ea as Vt, eb as St, ec as cs, ed as ls, ao as ds, af as fs, ee as us, ef as hs, d as gs } from "./F0CanvasPanel-BeVQHrJo.js";
2
+ import { useInsertionEffect as Tr, forwardRef as g, useRef as B, useEffect as q, useLayoutEffect as rt, useState as P, useId as Ge, useMemo as J, useCallback as _, createContext as We, useContext as Ie, createElement as Hr, memo as Ar } from "react";
3
+ import { c$ as $r, d0 as Br, a5 as ot, bZ as Ir, d1 as Pr, d2 as jr, d3 as Dr, d4 as Zr, b_ as _r, c6 as nt, bY as Or, d5 as Ur, ae as i1, d6 as zr, aN as Gr, d7 as Wr, d8 as qr, d9 as Xr, am as Yr, da as Kr, cx as Qr, ag as st, aj as Jr, db as eo, o as a1, a9 as it, a0 as qe, n as at, bl as to, c4 as ro, dc as oo, b6 as no, cw as so, a7 as Fe, az as io, bp as ct, dd as ao, cu as co, l as Me, cs as lo, de as fo, bS as lt, b5 as uo, df as ho, dg as go, dh as po, di as Co, dj as mo, dk as dt, cl as vo, cm as wo, dl as xo, dm as ko, dn as Lo, dp as bo, dq as yo, bz as Mo, c0 as Eo, dr as Ro, ds as Fo, dt as No, du as Vo, dv as So, dw as To, dx as Ho, dy as Ao, by as $o, cv as Bo, ah as Io, ch as Po, dz as jo, dA as Do, dB as Zo, dC as _o, dD as Oo, dE as Uo, dF as zo, av as Go, bA as Wo, bU as ft, Z as qo, a8 as Xo, bB as ut, bR as Yo, bT as ht, i as Ko, bo as Qo, bn as Jo, dG as en, dH as tn, bC as gt, bD as rn, bE as on, b4 as nn, aC as sn, dI as an, j as cn, bj as pt, bi as Ct, bc as ln, dJ as mt, bb as dn, b$ as c1, q as fn, bf as l1, dK as un, dL as hn, dM as d1, c2 as gn, c3 as pn, ct as vt, dN as Cn, U as mn, Q as vn, dO as wn, dP as xn, dQ as kn, dR as Ln, bP as bn, dS as wt, dT as yn, ai as Mn, dU as En, Y as se, J as Te, cb as Rn, u as G, bO as Fn, S as he, bN as xt, V as le, aa as Nn, m as ve, dV as Vn, ak as ie, aT as ke, O as Ee, H as ee, cC as kt, aH as f1, dW as Sn, aJ as u1, b as ye, bL as Tn, dX as Hn, bM as An, a1 as $n, b3 as Bn, ad as h1, bF as In, bG as Pn, bH as jn, bI as y1, ab as Dn, aq as Lt, aW as bt, c1 as Zn, cH as _n, dY as On, dZ as Un, a$ as yt, d_ as zn, cD as Gn, d$ as Wn, aY as Be, bd as Mt, e0 as Et, be as Rt, c as o1, c5 as M1, e1 as Ft, e2 as qn, e3 as Xn, bt as Yn, e4 as Kn, bk as g1, ci as Qn, e5 as Jn, e6 as es, e7 as ts, e8 as rs, e9 as os, w as ns, s as ss, aI as Nt, M as is, N as as, ap as E1, ea as Vt, eb as St, ec as cs, ed as ls, ao as ds, af as fs, ee as us, ef as hs, d as gs } from "./F0CanvasPanel-BeVQHrJo.js";
4
4
  import { d as k, f as ge } from "./tooltip-BH6Se8A4.js";
5
5
  import { createPortal as Tt } from "react-dom";
6
6
  import { defaultTranslations as ps } from "./i18n-provider-defaults.js";
@@ -48,7 +48,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
48
48
  )
49
49
  ]
50
50
  }
51
- ), xs = h(ws), ks = (e, r) => /* @__PURE__ */ a(
51
+ ), xs = g(ws), ks = (e, r) => /* @__PURE__ */ a(
52
52
  "svg",
53
53
  {
54
54
  xmlns: "http://www.w3.org/2000/svg",
@@ -76,7 +76,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
76
76
  )
77
77
  ]
78
78
  }
79
- ), Ls = h(ks), bs = (e, r) => /* @__PURE__ */ a(
79
+ ), Ls = g(ks), bs = (e, r) => /* @__PURE__ */ a(
80
80
  "svg",
81
81
  {
82
82
  xmlns: "http://www.w3.org/2000/svg",
@@ -115,7 +115,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
115
115
  )
116
116
  ]
117
117
  }
118
- ), ys = h(bs), Ms = (e, r) => /* @__PURE__ */ a(
118
+ ), ys = g(bs), Ms = (e, r) => /* @__PURE__ */ a(
119
119
  "svg",
120
120
  {
121
121
  xmlns: "http://www.w3.org/2000/svg",
@@ -156,7 +156,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
156
156
  )
157
157
  ]
158
158
  }
159
- ), Es = h(Ms), Rs = (e, r) => /* @__PURE__ */ a(
159
+ ), Es = g(Ms), Rs = (e, r) => /* @__PURE__ */ a(
160
160
  "svg",
161
161
  {
162
162
  xmlns: "http://www.w3.org/2000/svg",
@@ -197,7 +197,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
197
197
  )
198
198
  ]
199
199
  }
200
- ), Fs = h(Rs), Ns = (e, r) => /* @__PURE__ */ a(
200
+ ), Fs = g(Rs), Ns = (e, r) => /* @__PURE__ */ a(
201
201
  "svg",
202
202
  {
203
203
  xmlns: "http://www.w3.org/2000/svg",
@@ -256,7 +256,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
256
256
  )
257
257
  ]
258
258
  }
259
- ), Vs = h(Ns), Ss = (e, r) => /* @__PURE__ */ a(
259
+ ), Vs = g(Ns), Ss = (e, r) => /* @__PURE__ */ a(
260
260
  "svg",
261
261
  {
262
262
  xmlns: "http://www.w3.org/2000/svg",
@@ -312,7 +312,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
312
312
  )
313
313
  ]
314
314
  }
315
- ), Ts = h(Ss), Hs = (e, r) => /* @__PURE__ */ a(
315
+ ), Ts = g(Ss), Hs = (e, r) => /* @__PURE__ */ a(
316
316
  "svg",
317
317
  {
318
318
  xmlns: "http://www.w3.org/2000/svg",
@@ -362,7 +362,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
362
362
  )
363
363
  ]
364
364
  }
365
- ), As = h(Hs), $s = (e, r) => /* @__PURE__ */ t(
365
+ ), As = g(Hs), $s = (e, r) => /* @__PURE__ */ t(
366
366
  "svg",
367
367
  {
368
368
  xmlns: "http://www.w3.org/2000/svg",
@@ -378,7 +378,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
378
378
  }
379
379
  )
380
380
  }
381
- ), Bs = h($s), Is = (e, r) => /* @__PURE__ */ t(
381
+ ), Bs = g($s), Is = (e, r) => /* @__PURE__ */ t(
382
382
  "svg",
383
383
  {
384
384
  xmlns: "http://www.w3.org/2000/svg",
@@ -397,7 +397,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
397
397
  }
398
398
  )
399
399
  }
400
- ), Ps = h(Is), js = (e, r) => /* @__PURE__ */ a(
400
+ ), Ps = g(Is), js = (e, r) => /* @__PURE__ */ a(
401
401
  "svg",
402
402
  {
403
403
  xmlns: "http://www.w3.org/2000/svg",
@@ -446,7 +446,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
446
446
  )
447
447
  ]
448
448
  }
449
- ), Ds = h(js), Zs = (e, r) => /* @__PURE__ */ a(
449
+ ), Ds = g(js), Zs = (e, r) => /* @__PURE__ */ a(
450
450
  "svg",
451
451
  {
452
452
  xmlns: "http://www.w3.org/2000/svg",
@@ -481,7 +481,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
481
481
  )
482
482
  ]
483
483
  }
484
- ), _s = h(Zs), Os = (e, r) => /* @__PURE__ */ a(
484
+ ), _s = g(Zs), Os = (e, r) => /* @__PURE__ */ a(
485
485
  "svg",
486
486
  {
487
487
  xmlns: "http://www.w3.org/2000/svg",
@@ -520,7 +520,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
520
520
  )
521
521
  ]
522
522
  }
523
- ), Us = h(Os), zs = (e, r) => /* @__PURE__ */ a(
523
+ ), Us = g(Os), zs = (e, r) => /* @__PURE__ */ a(
524
524
  "svg",
525
525
  {
526
526
  xmlns: "http://www.w3.org/2000/svg",
@@ -561,7 +561,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
561
561
  )
562
562
  ]
563
563
  }
564
- ), Gs = h(zs), Ws = (e, r) => /* @__PURE__ */ a(
564
+ ), Gs = g(zs), Ws = (e, r) => /* @__PURE__ */ a(
565
565
  "svg",
566
566
  {
567
567
  xmlns: "http://www.w3.org/2000/svg",
@@ -602,7 +602,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
602
602
  )
603
603
  ]
604
604
  }
605
- ), qs = h(Ws), Xs = (e, r) => /* @__PURE__ */ a(
605
+ ), qs = g(Ws), Xs = (e, r) => /* @__PURE__ */ a(
606
606
  "svg",
607
607
  {
608
608
  xmlns: "http://www.w3.org/2000/svg",
@@ -643,7 +643,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
643
643
  )
644
644
  ]
645
645
  }
646
- ), Ys = h(Xs), Ks = (e, r) => /* @__PURE__ */ a(
646
+ ), Ys = g(Xs), Ks = (e, r) => /* @__PURE__ */ a(
647
647
  "svg",
648
648
  {
649
649
  xmlns: "http://www.w3.org/2000/svg",
@@ -692,7 +692,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
692
692
  )
693
693
  ]
694
694
  }
695
- ), Qs = h(Ks), Js = (e, r) => /* @__PURE__ */ a(
695
+ ), Qs = g(Ks), Js = (e, r) => /* @__PURE__ */ a(
696
696
  "svg",
697
697
  {
698
698
  xmlns: "http://www.w3.org/2000/svg",
@@ -738,7 +738,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
738
738
  )
739
739
  ]
740
740
  }
741
- ), ei = h(Js), ti = (e, r) => /* @__PURE__ */ t(
741
+ ), ei = g(Js), ti = (e, r) => /* @__PURE__ */ t(
742
742
  "svg",
743
743
  {
744
744
  xmlns: "http://www.w3.org/2000/svg",
@@ -755,7 +755,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
755
755
  }
756
756
  )
757
757
  }
758
- ), ri = h(ti), oi = (e, r) => /* @__PURE__ */ t(
758
+ ), ri = g(ti), oi = (e, r) => /* @__PURE__ */ t(
759
759
  "svg",
760
760
  {
761
761
  xmlns: "http://www.w3.org/2000/svg",
@@ -772,7 +772,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
772
772
  }
773
773
  )
774
774
  }
775
- ), ni = h(oi), si = (e, r) => /* @__PURE__ */ t(
775
+ ), ni = g(oi), si = (e, r) => /* @__PURE__ */ t(
776
776
  "svg",
777
777
  {
778
778
  xmlns: "http://www.w3.org/2000/svg",
@@ -789,7 +789,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
789
789
  }
790
790
  )
791
791
  }
792
- ), ii = h(si), ai = (e, r) => /* @__PURE__ */ t(
792
+ ), ii = g(si), ai = (e, r) => /* @__PURE__ */ t(
793
793
  "svg",
794
794
  {
795
795
  xmlns: "http://www.w3.org/2000/svg",
@@ -806,7 +806,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
806
806
  }
807
807
  )
808
808
  }
809
- ), ci = h(ai), li = (e, r) => /* @__PURE__ */ t(
809
+ ), ci = g(ai), li = (e, r) => /* @__PURE__ */ t(
810
810
  "svg",
811
811
  {
812
812
  xmlns: "http://www.w3.org/2000/svg",
@@ -823,7 +823,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
823
823
  }
824
824
  )
825
825
  }
826
- ), di = h(li), fi = (e, r) => /* @__PURE__ */ a(
826
+ ), di = g(li), fi = (e, r) => /* @__PURE__ */ a(
827
827
  "svg",
828
828
  {
829
829
  xmlns: "http://www.w3.org/2000/svg",
@@ -854,7 +854,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
854
854
  )
855
855
  ]
856
856
  }
857
- ), ui = h(fi), hi = (e, r) => /* @__PURE__ */ a(
857
+ ), ui = g(fi), hi = (e, r) => /* @__PURE__ */ a(
858
858
  "svg",
859
859
  {
860
860
  xmlns: "http://www.w3.org/2000/svg",
@@ -967,7 +967,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
967
967
  )
968
968
  ]
969
969
  }
970
- ), gi = h(hi), pi = (e, r) => /* @__PURE__ */ t(
970
+ ), gi = g(hi), pi = (e, r) => /* @__PURE__ */ t(
971
971
  "svg",
972
972
  {
973
973
  xmlns: "http://www.w3.org/2000/svg",
@@ -984,7 +984,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
984
984
  }
985
985
  )
986
986
  }
987
- ), Ci = h(pi), mi = (e, r) => /* @__PURE__ */ a(
987
+ ), Ci = g(pi), mi = (e, r) => /* @__PURE__ */ a(
988
988
  "svg",
989
989
  {
990
990
  xmlns: "http://www.w3.org/2000/svg",
@@ -1032,7 +1032,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
1032
1032
  )
1033
1033
  ]
1034
1034
  }
1035
- ), vi = h(mi), wi = (e, r) => /* @__PURE__ */ t(
1035
+ ), vi = g(mi), wi = (e, r) => /* @__PURE__ */ t(
1036
1036
  "svg",
1037
1037
  {
1038
1038
  xmlns: "http://www.w3.org/2000/svg",
@@ -1050,7 +1050,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
1050
1050
  }
1051
1051
  )
1052
1052
  }
1053
- ), xi = h(wi), ki = (e, r) => /* @__PURE__ */ a(
1053
+ ), xi = g(wi), ki = (e, r) => /* @__PURE__ */ a(
1054
1054
  "svg",
1055
1055
  {
1056
1056
  xmlns: "http://www.w3.org/2000/svg",
@@ -1096,7 +1096,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
1096
1096
  )
1097
1097
  ]
1098
1098
  }
1099
- ), Li = h(ki), bi = (e, r) => /* @__PURE__ */ a(
1099
+ ), Li = g(ki), bi = (e, r) => /* @__PURE__ */ a(
1100
1100
  "svg",
1101
1101
  {
1102
1102
  xmlns: "http://www.w3.org/2000/svg",
@@ -1135,7 +1135,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
1135
1135
  )
1136
1136
  ]
1137
1137
  }
1138
- ), yi = h(bi), Mi = (e, r) => /* @__PURE__ */ a(
1138
+ ), yi = g(bi), Mi = (e, r) => /* @__PURE__ */ a(
1139
1139
  "svg",
1140
1140
  {
1141
1141
  xmlns: "http://www.w3.org/2000/svg",
@@ -1190,7 +1190,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
1190
1190
  )
1191
1191
  ]
1192
1192
  }
1193
- ), Ei = h(Mi), Ri = (e, r) => /* @__PURE__ */ a(
1193
+ ), Ei = g(Mi), Ri = (e, r) => /* @__PURE__ */ a(
1194
1194
  "svg",
1195
1195
  {
1196
1196
  xmlns: "http://www.w3.org/2000/svg",
@@ -1228,7 +1228,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
1228
1228
  )
1229
1229
  ]
1230
1230
  }
1231
- ), Fi = h(Ri), Ni = (e, r) => /* @__PURE__ */ t(
1231
+ ), Fi = g(Ri), Ni = (e, r) => /* @__PURE__ */ t(
1232
1232
  "svg",
1233
1233
  {
1234
1234
  xmlns: "http://www.w3.org/2000/svg",
@@ -1247,7 +1247,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
1247
1247
  }
1248
1248
  )
1249
1249
  }
1250
- ), Vi = h(Ni), Si = (e, r) => /* @__PURE__ */ a(
1250
+ ), Vi = g(Ni), Si = (e, r) => /* @__PURE__ */ a(
1251
1251
  "svg",
1252
1252
  {
1253
1253
  xmlns: "http://www.w3.org/2000/svg",
@@ -1278,7 +1278,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
1278
1278
  )
1279
1279
  ]
1280
1280
  }
1281
- ), Ti = h(Si), Hi = (e, r) => /* @__PURE__ */ t(
1281
+ ), Ti = g(Si), Hi = (e, r) => /* @__PURE__ */ t(
1282
1282
  "svg",
1283
1283
  {
1284
1284
  xmlns: "http://www.w3.org/2000/svg",
@@ -1295,7 +1295,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
1295
1295
  }
1296
1296
  )
1297
1297
  }
1298
- ), Ai = h(Hi), $i = (e, r) => /* @__PURE__ */ t(
1298
+ ), Ai = g(Hi), $i = (e, r) => /* @__PURE__ */ t(
1299
1299
  "svg",
1300
1300
  {
1301
1301
  xmlns: "http://www.w3.org/2000/svg",
@@ -1314,7 +1314,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
1314
1314
  }
1315
1315
  )
1316
1316
  }
1317
- ), Bi = h($i), Ii = (e, r) => /* @__PURE__ */ t(
1317
+ ), Bi = g($i), Ii = (e, r) => /* @__PURE__ */ t(
1318
1318
  "svg",
1319
1319
  {
1320
1320
  xmlns: "http://www.w3.org/2000/svg",
@@ -1333,7 +1333,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
1333
1333
  }
1334
1334
  )
1335
1335
  }
1336
- ), Pi = h(Ii), ji = (e, r) => /* @__PURE__ */ a(
1336
+ ), Pi = g(Ii), ji = (e, r) => /* @__PURE__ */ a(
1337
1337
  "svg",
1338
1338
  {
1339
1339
  xmlns: "http://www.w3.org/2000/svg",
@@ -1383,7 +1383,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
1383
1383
  )
1384
1384
  ]
1385
1385
  }
1386
- ), Di = h(ji), Zi = (e, r) => /* @__PURE__ */ a(
1386
+ ), Di = g(ji), Zi = (e, r) => /* @__PURE__ */ a(
1387
1387
  "svg",
1388
1388
  {
1389
1389
  xmlns: "http://www.w3.org/2000/svg",
@@ -1433,7 +1433,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
1433
1433
  )
1434
1434
  ]
1435
1435
  }
1436
- ), _i = h(Zi), Oi = (e, r) => /* @__PURE__ */ a(
1436
+ ), _i = g(Zi), Oi = (e, r) => /* @__PURE__ */ a(
1437
1437
  "svg",
1438
1438
  {
1439
1439
  xmlns: "http://www.w3.org/2000/svg",
@@ -1490,7 +1490,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
1490
1490
  )
1491
1491
  ]
1492
1492
  }
1493
- ), Ui = h(Oi), zi = (e, r) => /* @__PURE__ */ a(
1493
+ ), Ui = g(Oi), zi = (e, r) => /* @__PURE__ */ a(
1494
1494
  "svg",
1495
1495
  {
1496
1496
  xmlns: "http://www.w3.org/2000/svg",
@@ -1517,7 +1517,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
1517
1517
  )
1518
1518
  ]
1519
1519
  }
1520
- ), Gi = h(zi), Wi = (e, r) => /* @__PURE__ */ a(
1520
+ ), Gi = g(zi), Wi = (e, r) => /* @__PURE__ */ a(
1521
1521
  "svg",
1522
1522
  {
1523
1523
  xmlns: "http://www.w3.org/2000/svg",
@@ -1548,7 +1548,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
1548
1548
  )
1549
1549
  ]
1550
1550
  }
1551
- ), qi = h(Wi), Xi = (e, r) => /* @__PURE__ */ t(
1551
+ ), qi = g(Wi), Xi = (e, r) => /* @__PURE__ */ t(
1552
1552
  "svg",
1553
1553
  {
1554
1554
  xmlns: "http://www.w3.org/2000/svg",
@@ -1567,7 +1567,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
1567
1567
  }
1568
1568
  )
1569
1569
  }
1570
- ), Yi = h(Xi), Ki = (e, r) => /* @__PURE__ */ a(
1570
+ ), Yi = g(Xi), Ki = (e, r) => /* @__PURE__ */ a(
1571
1571
  "svg",
1572
1572
  {
1573
1573
  xmlns: "http://www.w3.org/2000/svg",
@@ -1608,7 +1608,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
1608
1608
  )
1609
1609
  ]
1610
1610
  }
1611
- ), Qi = h(Ki), Ji = (e, r) => /* @__PURE__ */ a(
1611
+ ), Qi = g(Ki), Ji = (e, r) => /* @__PURE__ */ a(
1612
1612
  "svg",
1613
1613
  {
1614
1614
  xmlns: "http://www.w3.org/2000/svg",
@@ -1639,7 +1639,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
1639
1639
  )
1640
1640
  ]
1641
1641
  }
1642
- ), ea = h(Ji), ta = (e, r) => /* @__PURE__ */ a(
1642
+ ), ea = g(Ji), ta = (e, r) => /* @__PURE__ */ a(
1643
1643
  "svg",
1644
1644
  {
1645
1645
  xmlns: "http://www.w3.org/2000/svg",
@@ -1670,7 +1670,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
1670
1670
  )
1671
1671
  ]
1672
1672
  }
1673
- ), ra = h(ta), oa = (e, r) => /* @__PURE__ */ a(
1673
+ ), ra = g(ta), oa = (e, r) => /* @__PURE__ */ a(
1674
1674
  "svg",
1675
1675
  {
1676
1676
  xmlns: "http://www.w3.org/2000/svg",
@@ -1707,7 +1707,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
1707
1707
  )
1708
1708
  ]
1709
1709
  }
1710
- ), na = h(oa), sa = (e, r) => /* @__PURE__ */ a(
1710
+ ), na = g(oa), sa = (e, r) => /* @__PURE__ */ a(
1711
1711
  "svg",
1712
1712
  {
1713
1713
  xmlns: "http://www.w3.org/2000/svg",
@@ -1735,7 +1735,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
1735
1735
  )
1736
1736
  ]
1737
1737
  }
1738
- ), ia = h(sa), aa = (e, r) => /* @__PURE__ */ a(
1738
+ ), ia = g(sa), aa = (e, r) => /* @__PURE__ */ a(
1739
1739
  "svg",
1740
1740
  {
1741
1741
  xmlns: "http://www.w3.org/2000/svg",
@@ -1782,7 +1782,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
1782
1782
  )
1783
1783
  ]
1784
1784
  }
1785
- ), ca = h(aa), la = (e, r) => /* @__PURE__ */ a(
1785
+ ), ca = g(aa), la = (e, r) => /* @__PURE__ */ a(
1786
1786
  "svg",
1787
1787
  {
1788
1788
  xmlns: "http://www.w3.org/2000/svg",
@@ -1812,7 +1812,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
1812
1812
  )
1813
1813
  ]
1814
1814
  }
1815
- ), da = h(la), fa = (e, r) => /* @__PURE__ */ t(
1815
+ ), da = g(la), fa = (e, r) => /* @__PURE__ */ t(
1816
1816
  "svg",
1817
1817
  {
1818
1818
  xmlns: "http://www.w3.org/2000/svg",
@@ -1831,7 +1831,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
1831
1831
  }
1832
1832
  )
1833
1833
  }
1834
- ), ua = h(fa), ha = (e, r) => /* @__PURE__ */ t(
1834
+ ), ua = g(fa), ha = (e, r) => /* @__PURE__ */ t(
1835
1835
  "svg",
1836
1836
  {
1837
1837
  xmlns: "http://www.w3.org/2000/svg",
@@ -1850,7 +1850,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
1850
1850
  }
1851
1851
  )
1852
1852
  }
1853
- ), ga = h(ha), pa = (e, r) => /* @__PURE__ */ a(
1853
+ ), ga = g(ha), pa = (e, r) => /* @__PURE__ */ a(
1854
1854
  "svg",
1855
1855
  {
1856
1856
  xmlns: "http://www.w3.org/2000/svg",
@@ -1895,7 +1895,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
1895
1895
  )
1896
1896
  ]
1897
1897
  }
1898
- ), Ca = h(pa), ma = (e, r) => /* @__PURE__ */ a(
1898
+ ), Ca = g(pa), ma = (e, r) => /* @__PURE__ */ a(
1899
1899
  "svg",
1900
1900
  {
1901
1901
  xmlns: "http://www.w3.org/2000/svg",
@@ -1942,7 +1942,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
1942
1942
  )
1943
1943
  ]
1944
1944
  }
1945
- ), va = h(ma), wa = (e, r) => /* @__PURE__ */ t(
1945
+ ), va = g(ma), wa = (e, r) => /* @__PURE__ */ t(
1946
1946
  "svg",
1947
1947
  {
1948
1948
  xmlns: "http://www.w3.org/2000/svg",
@@ -1959,7 +1959,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
1959
1959
  }
1960
1960
  )
1961
1961
  }
1962
- ), xa = h(wa), ka = (e, r) => /* @__PURE__ */ a(
1962
+ ), xa = g(wa), ka = (e, r) => /* @__PURE__ */ a(
1963
1963
  "svg",
1964
1964
  {
1965
1965
  xmlns: "http://www.w3.org/2000/svg",
@@ -1996,7 +1996,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
1996
1996
  )
1997
1997
  ]
1998
1998
  }
1999
- ), La = h(ka), ba = (e, r) => /* @__PURE__ */ t(
1999
+ ), La = g(ka), ba = (e, r) => /* @__PURE__ */ t(
2000
2000
  "svg",
2001
2001
  {
2002
2002
  xmlns: "http://www.w3.org/2000/svg",
@@ -2015,7 +2015,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
2015
2015
  }
2016
2016
  )
2017
2017
  }
2018
- ), ya = h(ba), Ma = (e, r) => /* @__PURE__ */ a(
2018
+ ), ya = g(ba), Ma = (e, r) => /* @__PURE__ */ a(
2019
2019
  "svg",
2020
2020
  {
2021
2021
  xmlns: "http://www.w3.org/2000/svg",
@@ -2056,7 +2056,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
2056
2056
  )
2057
2057
  ]
2058
2058
  }
2059
- ), Ea = h(Ma), Ra = (e, r) => /* @__PURE__ */ t(
2059
+ ), Ea = g(Ma), Ra = (e, r) => /* @__PURE__ */ t(
2060
2060
  "svg",
2061
2061
  {
2062
2062
  xmlns: "http://www.w3.org/2000/svg",
@@ -2074,7 +2074,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
2074
2074
  }
2075
2075
  )
2076
2076
  }
2077
- ), Fa = h(Ra), Na = (e, r) => /* @__PURE__ */ a(
2077
+ ), Fa = g(Ra), Na = (e, r) => /* @__PURE__ */ a(
2078
2078
  "svg",
2079
2079
  {
2080
2080
  xmlns: "http://www.w3.org/2000/svg",
@@ -2137,7 +2137,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
2137
2137
  )
2138
2138
  ]
2139
2139
  }
2140
- ), Va = h(Na), Sa = (e, r) => /* @__PURE__ */ a(
2140
+ ), Va = g(Na), Sa = (e, r) => /* @__PURE__ */ a(
2141
2141
  "svg",
2142
2142
  {
2143
2143
  xmlns: "http://www.w3.org/2000/svg",
@@ -2167,7 +2167,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
2167
2167
  )
2168
2168
  ]
2169
2169
  }
2170
- ), Ta = h(Sa), Ha = (e, r) => /* @__PURE__ */ a(
2170
+ ), Ta = g(Sa), Ha = (e, r) => /* @__PURE__ */ a(
2171
2171
  "svg",
2172
2172
  {
2173
2173
  xmlns: "http://www.w3.org/2000/svg",
@@ -2198,7 +2198,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
2198
2198
  )
2199
2199
  ]
2200
2200
  }
2201
- ), Aa = h(Ha), $a = (e, r) => /* @__PURE__ */ a(
2201
+ ), Aa = g(Ha), $a = (e, r) => /* @__PURE__ */ a(
2202
2202
  "svg",
2203
2203
  {
2204
2204
  xmlns: "http://www.w3.org/2000/svg",
@@ -2259,7 +2259,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
2259
2259
  )
2260
2260
  ]
2261
2261
  }
2262
- ), Ba = h($a), Ia = (e, r) => /* @__PURE__ */ a(
2262
+ ), Ba = g($a), Ia = (e, r) => /* @__PURE__ */ a(
2263
2263
  "svg",
2264
2264
  {
2265
2265
  xmlns: "http://www.w3.org/2000/svg",
@@ -2336,7 +2336,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
2336
2336
  )
2337
2337
  ]
2338
2338
  }
2339
- ), Pa = h(Ia), ja = (e, r) => /* @__PURE__ */ a(
2339
+ ), Pa = g(Ia), ja = (e, r) => /* @__PURE__ */ a(
2340
2340
  "svg",
2341
2341
  {
2342
2342
  xmlns: "http://www.w3.org/2000/svg",
@@ -2365,7 +2365,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
2365
2365
  )
2366
2366
  ]
2367
2367
  }
2368
- ), Da = h(ja), Za = (e, r) => /* @__PURE__ */ a(
2368
+ ), Da = g(ja), Za = (e, r) => /* @__PURE__ */ a(
2369
2369
  "svg",
2370
2370
  {
2371
2371
  xmlns: "http://www.w3.org/2000/svg",
@@ -2402,7 +2402,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
2402
2402
  )
2403
2403
  ]
2404
2404
  }
2405
- ), Ht = h(Za), _a = (e, r) => /* @__PURE__ */ a(
2405
+ ), Ht = g(Za), _a = (e, r) => /* @__PURE__ */ a(
2406
2406
  "svg",
2407
2407
  {
2408
2408
  xmlns: "http://www.w3.org/2000/svg",
@@ -2485,7 +2485,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
2485
2485
  )
2486
2486
  ]
2487
2487
  }
2488
- ), Oa = h(_a), Ua = (e, r) => /* @__PURE__ */ a(
2488
+ ), Oa = g(_a), Ua = (e, r) => /* @__PURE__ */ a(
2489
2489
  "svg",
2490
2490
  {
2491
2491
  xmlns: "http://www.w3.org/2000/svg",
@@ -2526,7 +2526,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
2526
2526
  )
2527
2527
  ]
2528
2528
  }
2529
- ), za = h(Ua), Ga = (e, r) => /* @__PURE__ */ t(
2529
+ ), za = g(Ua), Ga = (e, r) => /* @__PURE__ */ t(
2530
2530
  "svg",
2531
2531
  {
2532
2532
  xmlns: "http://www.w3.org/2000/svg",
@@ -2543,7 +2543,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
2543
2543
  }
2544
2544
  )
2545
2545
  }
2546
- ), Wa = h(Ga), qa = (e, r) => /* @__PURE__ */ a(
2546
+ ), Wa = g(Ga), qa = (e, r) => /* @__PURE__ */ a(
2547
2547
  "svg",
2548
2548
  {
2549
2549
  xmlns: "http://www.w3.org/2000/svg",
@@ -2586,7 +2586,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
2586
2586
  )
2587
2587
  ]
2588
2588
  }
2589
- ), Xa = h(qa), Ya = (e, r) => /* @__PURE__ */ a(
2589
+ ), Xa = g(qa), Ya = (e, r) => /* @__PURE__ */ a(
2590
2590
  "svg",
2591
2591
  {
2592
2592
  xmlns: "http://www.w3.org/2000/svg",
@@ -2616,7 +2616,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
2616
2616
  )
2617
2617
  ]
2618
2618
  }
2619
- ), Ka = h(Ya), Qa = (e, r) => /* @__PURE__ */ a(
2619
+ ), Ka = g(Ya), Qa = (e, r) => /* @__PURE__ */ a(
2620
2620
  "svg",
2621
2621
  {
2622
2622
  xmlns: "http://www.w3.org/2000/svg",
@@ -2659,7 +2659,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
2659
2659
  )
2660
2660
  ]
2661
2661
  }
2662
- ), Ja = h(Qa), e5 = (e, r) => /* @__PURE__ */ a(
2662
+ ), Ja = g(Qa), e5 = (e, r) => /* @__PURE__ */ a(
2663
2663
  "svg",
2664
2664
  {
2665
2665
  xmlns: "http://www.w3.org/2000/svg",
@@ -2696,7 +2696,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
2696
2696
  )
2697
2697
  ]
2698
2698
  }
2699
- ), t5 = h(e5), r5 = (e, r) => /* @__PURE__ */ a(
2699
+ ), t5 = g(e5), r5 = (e, r) => /* @__PURE__ */ a(
2700
2700
  "svg",
2701
2701
  {
2702
2702
  xmlns: "http://www.w3.org/2000/svg",
@@ -2745,7 +2745,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
2745
2745
  )
2746
2746
  ]
2747
2747
  }
2748
- ), o5 = h(r5), n5 = (e, r) => /* @__PURE__ */ a(
2748
+ ), o5 = g(r5), n5 = (e, r) => /* @__PURE__ */ a(
2749
2749
  "svg",
2750
2750
  {
2751
2751
  xmlns: "http://www.w3.org/2000/svg",
@@ -2774,7 +2774,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
2774
2774
  )
2775
2775
  ]
2776
2776
  }
2777
- ), s5 = h(n5), i5 = (e, r) => /* @__PURE__ */ a(
2777
+ ), s5 = g(n5), i5 = (e, r) => /* @__PURE__ */ a(
2778
2778
  "svg",
2779
2779
  {
2780
2780
  xmlns: "http://www.w3.org/2000/svg",
@@ -2805,7 +2805,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
2805
2805
  )
2806
2806
  ]
2807
2807
  }
2808
- ), a5 = h(i5), c5 = (e, r) => /* @__PURE__ */ a(
2808
+ ), a5 = g(i5), c5 = (e, r) => /* @__PURE__ */ a(
2809
2809
  "svg",
2810
2810
  {
2811
2811
  xmlns: "http://www.w3.org/2000/svg",
@@ -2833,7 +2833,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
2833
2833
  )
2834
2834
  ]
2835
2835
  }
2836
- ), l5 = h(c5), d5 = (e, r) => /* @__PURE__ */ a(
2836
+ ), l5 = g(c5), d5 = (e, r) => /* @__PURE__ */ a(
2837
2837
  "svg",
2838
2838
  {
2839
2839
  xmlns: "http://www.w3.org/2000/svg",
@@ -2890,7 +2890,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
2890
2890
  )
2891
2891
  ]
2892
2892
  }
2893
- ), At = h(d5), f5 = (e, r) => /* @__PURE__ */ a(
2893
+ ), At = g(d5), f5 = (e, r) => /* @__PURE__ */ a(
2894
2894
  "svg",
2895
2895
  {
2896
2896
  xmlns: "http://www.w3.org/2000/svg",
@@ -2944,7 +2944,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
2944
2944
  )
2945
2945
  ]
2946
2946
  }
2947
- ), u5 = h(f5), h5 = (e, r) => /* @__PURE__ */ a(
2947
+ ), u5 = g(f5), h5 = (e, r) => /* @__PURE__ */ a(
2948
2948
  "svg",
2949
2949
  {
2950
2950
  xmlns: "http://www.w3.org/2000/svg",
@@ -2968,7 +2968,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
2968
2968
  /* @__PURE__ */ t("path", { d: "M8 21h8", vectorEffect: "non-scaling-stroke" })
2969
2969
  ]
2970
2970
  }
2971
- ), g5 = h(h5), p5 = (e, r) => /* @__PURE__ */ a(
2971
+ ), g5 = g(h5), p5 = (e, r) => /* @__PURE__ */ a(
2972
2972
  "svg",
2973
2973
  {
2974
2974
  xmlns: "http://www.w3.org/2000/svg",
@@ -3023,7 +3023,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
3023
3023
  )
3024
3024
  ]
3025
3025
  }
3026
- ), C5 = h(p5), m5 = (e, r) => /* @__PURE__ */ t(
3026
+ ), C5 = g(p5), m5 = (e, r) => /* @__PURE__ */ t(
3027
3027
  "svg",
3028
3028
  {
3029
3029
  xmlns: "http://www.w3.org/2000/svg",
@@ -3042,7 +3042,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
3042
3042
  }
3043
3043
  )
3044
3044
  }
3045
- ), v5 = h(m5), w5 = (e, r) => /* @__PURE__ */ a(
3045
+ ), v5 = g(m5), w5 = (e, r) => /* @__PURE__ */ a(
3046
3046
  "svg",
3047
3047
  {
3048
3048
  xmlns: "http://www.w3.org/2000/svg",
@@ -3070,7 +3070,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
3070
3070
  )
3071
3071
  ]
3072
3072
  }
3073
- ), x5 = h(w5), k5 = (e, r) => /* @__PURE__ */ a(
3073
+ ), x5 = g(w5), k5 = (e, r) => /* @__PURE__ */ a(
3074
3074
  "svg",
3075
3075
  {
3076
3076
  xmlns: "http://www.w3.org/2000/svg",
@@ -3124,7 +3124,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
3124
3124
  )
3125
3125
  ]
3126
3126
  }
3127
- ), L5 = h(k5), b5 = (e, r) => /* @__PURE__ */ a(
3127
+ ), L5 = g(k5), b5 = (e, r) => /* @__PURE__ */ a(
3128
3128
  "svg",
3129
3129
  {
3130
3130
  xmlns: "http://www.w3.org/2000/svg",
@@ -3270,7 +3270,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
3270
3270
  )
3271
3271
  ]
3272
3272
  }
3273
- ), y5 = h(b5), M5 = (e, r) => /* @__PURE__ */ t(
3273
+ ), y5 = g(b5), M5 = (e, r) => /* @__PURE__ */ t(
3274
3274
  "svg",
3275
3275
  {
3276
3276
  xmlns: "http://www.w3.org/2000/svg",
@@ -3287,7 +3287,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
3287
3287
  }
3288
3288
  )
3289
3289
  }
3290
- ), p1 = h(M5), E5 = (e, r) => /* @__PURE__ */ t(
3290
+ ), p1 = g(M5), E5 = (e, r) => /* @__PURE__ */ t(
3291
3291
  "svg",
3292
3292
  {
3293
3293
  xmlns: "http://www.w3.org/2000/svg",
@@ -3306,7 +3306,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
3306
3306
  }
3307
3307
  )
3308
3308
  }
3309
- ), R5 = h(E5), F5 = (e, r) => /* @__PURE__ */ a(
3309
+ ), R5 = g(E5), F5 = (e, r) => /* @__PURE__ */ a(
3310
3310
  "svg",
3311
3311
  {
3312
3312
  xmlns: "http://www.w3.org/2000/svg",
@@ -3365,7 +3365,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
3365
3365
  )
3366
3366
  ]
3367
3367
  }
3368
- ), N5 = h(F5), V5 = (e, r) => /* @__PURE__ */ a(
3368
+ ), N5 = g(F5), V5 = (e, r) => /* @__PURE__ */ a(
3369
3369
  "svg",
3370
3370
  {
3371
3371
  xmlns: "http://www.w3.org/2000/svg",
@@ -3403,7 +3403,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
3403
3403
  )
3404
3404
  ]
3405
3405
  }
3406
- ), S5 = h(V5), T5 = (e, r) => /* @__PURE__ */ t(
3406
+ ), S5 = g(V5), T5 = (e, r) => /* @__PURE__ */ t(
3407
3407
  "svg",
3408
3408
  {
3409
3409
  xmlns: "http://www.w3.org/2000/svg",
@@ -3422,7 +3422,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
3422
3422
  }
3423
3423
  )
3424
3424
  }
3425
- ), H5 = h(T5), A5 = (e, r) => /* @__PURE__ */ a(
3425
+ ), H5 = g(T5), A5 = (e, r) => /* @__PURE__ */ a(
3426
3426
  "svg",
3427
3427
  {
3428
3428
  xmlns: "http://www.w3.org/2000/svg",
@@ -3482,7 +3482,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
3482
3482
  )
3483
3483
  ]
3484
3484
  }
3485
- ), $5 = h(A5), B5 = (e, r) => /* @__PURE__ */ t(
3485
+ ), $5 = g(A5), B5 = (e, r) => /* @__PURE__ */ t(
3486
3486
  "svg",
3487
3487
  {
3488
3488
  xmlns: "http://www.w3.org/2000/svg",
@@ -3501,7 +3501,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
3501
3501
  }
3502
3502
  )
3503
3503
  }
3504
- ), I5 = h(B5), P5 = (e, r) => /* @__PURE__ */ t(
3504
+ ), I5 = g(B5), P5 = (e, r) => /* @__PURE__ */ t(
3505
3505
  "svg",
3506
3506
  {
3507
3507
  xmlns: "http://www.w3.org/2000/svg",
@@ -3518,7 +3518,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
3518
3518
  }
3519
3519
  )
3520
3520
  }
3521
- ), j5 = h(P5), D5 = (e, r) => /* @__PURE__ */ t(
3521
+ ), j5 = g(P5), D5 = (e, r) => /* @__PURE__ */ t(
3522
3522
  "svg",
3523
3523
  {
3524
3524
  xmlns: "http://www.w3.org/2000/svg",
@@ -3535,7 +3535,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
3535
3535
  }
3536
3536
  )
3537
3537
  }
3538
- ), Z5 = h(D5), _5 = (e, r) => /* @__PURE__ */ t(
3538
+ ), Z5 = g(D5), _5 = (e, r) => /* @__PURE__ */ t(
3539
3539
  "svg",
3540
3540
  {
3541
3541
  xmlns: "http://www.w3.org/2000/svg",
@@ -3553,7 +3553,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
3553
3553
  }
3554
3554
  )
3555
3555
  }
3556
- ), O5 = h(_5), U5 = (e, r) => /* @__PURE__ */ a(
3556
+ ), O5 = g(_5), U5 = (e, r) => /* @__PURE__ */ a(
3557
3557
  "svg",
3558
3558
  {
3559
3559
  xmlns: "http://www.w3.org/2000/svg",
@@ -3606,7 +3606,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
3606
3606
  )
3607
3607
  ]
3608
3608
  }
3609
- ), z5 = h(U5), G5 = (e, r) => /* @__PURE__ */ a(
3609
+ ), z5 = g(U5), G5 = (e, r) => /* @__PURE__ */ a(
3610
3610
  "svg",
3611
3611
  {
3612
3612
  xmlns: "http://www.w3.org/2000/svg",
@@ -3639,7 +3639,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
3639
3639
  )
3640
3640
  ]
3641
3641
  }
3642
- ), W5 = h(G5), q5 = (e, r) => /* @__PURE__ */ a(
3642
+ ), W5 = g(G5), q5 = (e, r) => /* @__PURE__ */ a(
3643
3643
  "svg",
3644
3644
  {
3645
3645
  xmlns: "http://www.w3.org/2000/svg",
@@ -3682,7 +3682,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
3682
3682
  )
3683
3683
  ]
3684
3684
  }
3685
- ), X5 = h(q5), Y5 = (e, r) => /* @__PURE__ */ t(
3685
+ ), X5 = g(q5), Y5 = (e, r) => /* @__PURE__ */ t(
3686
3686
  "svg",
3687
3687
  {
3688
3688
  xmlns: "http://www.w3.org/2000/svg",
@@ -3701,7 +3701,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
3701
3701
  }
3702
3702
  )
3703
3703
  }
3704
- ), K5 = h(Y5), Q5 = (e, r) => /* @__PURE__ */ a(
3704
+ ), K5 = g(Y5), Q5 = (e, r) => /* @__PURE__ */ a(
3705
3705
  "svg",
3706
3706
  {
3707
3707
  xmlns: "http://www.w3.org/2000/svg",
@@ -3760,7 +3760,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
3760
3760
  )
3761
3761
  ]
3762
3762
  }
3763
- ), J5 = h(Q5), e0 = (e, r) => /* @__PURE__ */ a(
3763
+ ), J5 = g(Q5), ec = (e, r) => /* @__PURE__ */ a(
3764
3764
  "svg",
3765
3765
  {
3766
3766
  xmlns: "http://www.w3.org/2000/svg",
@@ -3839,7 +3839,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
3839
3839
  )
3840
3840
  ]
3841
3841
  }
3842
- ), t0 = h(e0), r0 = (e, r) => /* @__PURE__ */ a(
3842
+ ), tc = g(ec), rc = (e, r) => /* @__PURE__ */ a(
3843
3843
  "svg",
3844
3844
  {
3845
3845
  xmlns: "http://www.w3.org/2000/svg",
@@ -3877,7 +3877,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
3877
3877
  )
3878
3878
  ]
3879
3879
  }
3880
- ), o0 = h(r0), n0 = (e, r) => /* @__PURE__ */ a(
3880
+ ), oc = g(rc), nc = (e, r) => /* @__PURE__ */ a(
3881
3881
  "svg",
3882
3882
  {
3883
3883
  xmlns: "http://www.w3.org/2000/svg",
@@ -3908,7 +3908,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
3908
3908
  )
3909
3909
  ]
3910
3910
  }
3911
- ), s0 = h(n0), i0 = (e, r) => /* @__PURE__ */ t(
3911
+ ), sc = g(nc), ic = (e, r) => /* @__PURE__ */ t(
3912
3912
  "svg",
3913
3913
  {
3914
3914
  xmlns: "http://www.w3.org/2000/svg",
@@ -3927,7 +3927,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
3927
3927
  }
3928
3928
  )
3929
3929
  }
3930
- ), a0 = h(i0), c0 = (e, r) => /* @__PURE__ */ a(
3930
+ ), ac = g(ic), cc = (e, r) => /* @__PURE__ */ a(
3931
3931
  "svg",
3932
3932
  {
3933
3933
  xmlns: "http://www.w3.org/2000/svg",
@@ -3978,7 +3978,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
3978
3978
  )
3979
3979
  ]
3980
3980
  }
3981
- ), l0 = h(c0), d0 = (e, r) => /* @__PURE__ */ a(
3981
+ ), lc = g(cc), dc = (e, r) => /* @__PURE__ */ a(
3982
3982
  "svg",
3983
3983
  {
3984
3984
  xmlns: "http://www.w3.org/2000/svg",
@@ -4008,7 +4008,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
4008
4008
  )
4009
4009
  ]
4010
4010
  }
4011
- ), f0 = h(d0), u0 = (e, r) => /* @__PURE__ */ t(
4011
+ ), fc = g(dc), uc = (e, r) => /* @__PURE__ */ t(
4012
4012
  "svg",
4013
4013
  {
4014
4014
  xmlns: "http://www.w3.org/2000/svg",
@@ -4027,7 +4027,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
4027
4027
  }
4028
4028
  )
4029
4029
  }
4030
- ), h0 = h(u0), g0 = (e, r) => /* @__PURE__ */ a(
4030
+ ), hc = g(uc), gc = (e, r) => /* @__PURE__ */ a(
4031
4031
  "svg",
4032
4032
  {
4033
4033
  xmlns: "http://www.w3.org/2000/svg",
@@ -4058,7 +4058,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
4058
4058
  )
4059
4059
  ]
4060
4060
  }
4061
- ), p0 = h(g0), C0 = (e, r) => /* @__PURE__ */ a(
4061
+ ), pc = g(gc), Cc = (e, r) => /* @__PURE__ */ a(
4062
4062
  "svg",
4063
4063
  {
4064
4064
  xmlns: "http://www.w3.org/2000/svg",
@@ -4117,7 +4117,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
4117
4117
  )
4118
4118
  ]
4119
4119
  }
4120
- ), m0 = h(C0), v0 = (e, r) => /* @__PURE__ */ a(
4120
+ ), mc = g(Cc), vc = (e, r) => /* @__PURE__ */ a(
4121
4121
  "svg",
4122
4122
  {
4123
4123
  xmlns: "http://www.w3.org/2000/svg",
@@ -4146,7 +4146,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
4146
4146
  )
4147
4147
  ]
4148
4148
  }
4149
- ), w0 = h(v0), x0 = (e, r) => /* @__PURE__ */ t(
4149
+ ), wc = g(vc), xc = (e, r) => /* @__PURE__ */ t(
4150
4150
  "svg",
4151
4151
  {
4152
4152
  xmlns: "http://www.w3.org/2000/svg",
@@ -4164,7 +4164,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
4164
4164
  }
4165
4165
  )
4166
4166
  }
4167
- ), k0 = h(x0), L0 = (e, r) => /* @__PURE__ */ a(
4167
+ ), kc = g(xc), Lc = (e, r) => /* @__PURE__ */ a(
4168
4168
  "svg",
4169
4169
  {
4170
4170
  xmlns: "http://www.w3.org/2000/svg",
@@ -4209,9 +4209,9 @@ const ws = (e, r) => /* @__PURE__ */ a(
4209
4209
  )
4210
4210
  ]
4211
4211
  }
4212
- ), $t = h(L0);
4212
+ ), $t = g(Lc);
4213
4213
  $t.displayName = "ShoppingCart";
4214
- const b0 = (e, r) => /* @__PURE__ */ a(
4214
+ const bc = (e, r) => /* @__PURE__ */ a(
4215
4215
  "svg",
4216
4216
  {
4217
4217
  xmlns: "http://www.w3.org/2000/svg",
@@ -4261,7 +4261,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
4261
4261
  )
4262
4262
  ]
4263
4263
  }
4264
- ), y0 = h(b0), M0 = (e, r) => /* @__PURE__ */ a(
4264
+ ), yc = g(bc), Mc = (e, r) => /* @__PURE__ */ a(
4265
4265
  "svg",
4266
4266
  {
4267
4267
  xmlns: "http://www.w3.org/2000/svg",
@@ -4292,7 +4292,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
4292
4292
  )
4293
4293
  ]
4294
4294
  }
4295
- ), E0 = h(M0), R0 = (e, r) => /* @__PURE__ */ a(
4295
+ ), Ec = g(Mc), Rc = (e, r) => /* @__PURE__ */ a(
4296
4296
  "svg",
4297
4297
  {
4298
4298
  xmlns: "http://www.w3.org/2000/svg",
@@ -4323,7 +4323,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
4323
4323
  )
4324
4324
  ]
4325
4325
  }
4326
- ), F0 = h(R0), N0 = (e, r) => /* @__PURE__ */ a(
4326
+ ), Fc = g(Rc), Nc = (e, r) => /* @__PURE__ */ a(
4327
4327
  "svg",
4328
4328
  {
4329
4329
  xmlns: "http://www.w3.org/2000/svg",
@@ -4388,7 +4388,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
4388
4388
  )
4389
4389
  ]
4390
4390
  }
4391
- ), V0 = h(N0), S0 = (e, r) => /* @__PURE__ */ a(
4391
+ ), Vc = g(Nc), Sc = (e, r) => /* @__PURE__ */ a(
4392
4392
  "svg",
4393
4393
  {
4394
4394
  xmlns: "http://www.w3.org/2000/svg",
@@ -4419,7 +4419,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
4419
4419
  )
4420
4420
  ]
4421
4421
  }
4422
- ), T0 = h(S0), H0 = (e, r) => /* @__PURE__ */ a(
4422
+ ), Tc = g(Sc), Hc = (e, r) => /* @__PURE__ */ a(
4423
4423
  "svg",
4424
4424
  {
4425
4425
  xmlns: "http://www.w3.org/2000/svg",
@@ -4468,7 +4468,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
4468
4468
  )
4469
4469
  ]
4470
4470
  }
4471
- ), A0 = h(H0), $0 = (e, r) => /* @__PURE__ */ a(
4471
+ ), Ac = g(Hc), $c = (e, r) => /* @__PURE__ */ a(
4472
4472
  "svg",
4473
4473
  {
4474
4474
  xmlns: "http://www.w3.org/2000/svg",
@@ -4499,7 +4499,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
4499
4499
  )
4500
4500
  ]
4501
4501
  }
4502
- ), B0 = h($0), I0 = (e, r) => /* @__PURE__ */ a(
4502
+ ), Bc = g($c), Ic = (e, r) => /* @__PURE__ */ a(
4503
4503
  "svg",
4504
4504
  {
4505
4505
  xmlns: "http://www.w3.org/2000/svg",
@@ -4528,7 +4528,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
4528
4528
  )
4529
4529
  ]
4530
4530
  }
4531
- ), P0 = h(I0), j0 = (e, r) => /* @__PURE__ */ a(
4531
+ ), Pc = g(Ic), jc = (e, r) => /* @__PURE__ */ a(
4532
4532
  "svg",
4533
4533
  {
4534
4534
  xmlns: "http://www.w3.org/2000/svg",
@@ -4559,7 +4559,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
4559
4559
  )
4560
4560
  ]
4561
4561
  }
4562
- ), D0 = h(j0), Z0 = (e, r) => /* @__PURE__ */ a(
4562
+ ), Dc = g(jc), Zc = (e, r) => /* @__PURE__ */ a(
4563
4563
  "svg",
4564
4564
  {
4565
4565
  xmlns: "http://www.w3.org/2000/svg",
@@ -4598,7 +4598,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
4598
4598
  )
4599
4599
  ]
4600
4600
  }
4601
- ), _0 = h(Z0), O0 = (e, r) => /* @__PURE__ */ a(
4601
+ ), _c = g(Zc), Oc = (e, r) => /* @__PURE__ */ a(
4602
4602
  "svg",
4603
4603
  {
4604
4604
  xmlns: "http://www.w3.org/2000/svg",
@@ -4629,7 +4629,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
4629
4629
  )
4630
4630
  ]
4631
4631
  }
4632
- ), Bt = h(O0), U0 = (e, r) => /* @__PURE__ */ a(
4632
+ ), Bt = g(Oc), Uc = (e, r) => /* @__PURE__ */ a(
4633
4633
  "svg",
4634
4634
  {
4635
4635
  xmlns: "http://www.w3.org/2000/svg",
@@ -4656,7 +4656,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
4656
4656
  )
4657
4657
  ]
4658
4658
  }
4659
- ), It = h(U0), z0 = (e, r) => /* @__PURE__ */ a(
4659
+ ), It = g(Uc), zc = (e, r) => /* @__PURE__ */ a(
4660
4660
  "svg",
4661
4661
  {
4662
4662
  xmlns: "http://www.w3.org/2000/svg",
@@ -4687,7 +4687,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
4687
4687
  )
4688
4688
  ]
4689
4689
  }
4690
- ), Pt = h(z0), G0 = (e, r) => /* @__PURE__ */ a(
4690
+ ), Pt = g(zc), Gc = (e, r) => /* @__PURE__ */ a(
4691
4691
  "svg",
4692
4692
  {
4693
4693
  xmlns: "http://www.w3.org/2000/svg",
@@ -4714,7 +4714,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
4714
4714
  )
4715
4715
  ]
4716
4716
  }
4717
- ), jt = h(G0), W0 = (e, r) => /* @__PURE__ */ a(
4717
+ ), jt = g(Gc), Wc = (e, r) => /* @__PURE__ */ a(
4718
4718
  "svg",
4719
4719
  {
4720
4720
  xmlns: "http://www.w3.org/2000/svg",
@@ -4784,7 +4784,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
4784
4784
  )
4785
4785
  ]
4786
4786
  }
4787
- ), q0 = h(W0), X0 = (e, r) => /* @__PURE__ */ t(
4787
+ ), qc = g(Wc), Xc = (e, r) => /* @__PURE__ */ t(
4788
4788
  "svg",
4789
4789
  {
4790
4790
  xmlns: "http://www.w3.org/2000/svg",
@@ -4802,7 +4802,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
4802
4802
  }
4803
4803
  )
4804
4804
  }
4805
- ), Y0 = h(X0), K0 = (e, r) => /* @__PURE__ */ a(
4805
+ ), Yc = g(Xc), Kc = (e, r) => /* @__PURE__ */ a(
4806
4806
  "svg",
4807
4807
  {
4808
4808
  xmlns: "http://www.w3.org/2000/svg",
@@ -4837,7 +4837,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
4837
4837
  )
4838
4838
  ]
4839
4839
  }
4840
- ), Q0 = h(K0), J0 = (e, r) => /* @__PURE__ */ a(
4840
+ ), Qc = g(Kc), Jc = (e, r) => /* @__PURE__ */ a(
4841
4841
  "svg",
4842
4842
  {
4843
4843
  xmlns: "http://www.w3.org/2000/svg",
@@ -4877,7 +4877,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
4877
4877
  )
4878
4878
  ]
4879
4879
  }
4880
- ), ec = h(J0), tc = (e, r) => /* @__PURE__ */ a(
4880
+ ), e0 = g(Jc), t0 = (e, r) => /* @__PURE__ */ a(
4881
4881
  "svg",
4882
4882
  {
4883
4883
  xmlns: "http://www.w3.org/2000/svg",
@@ -4918,7 +4918,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
4918
4918
  )
4919
4919
  ]
4920
4920
  }
4921
- ), rc = h(tc), oc = (e, r) => /* @__PURE__ */ a(
4921
+ ), r0 = g(t0), o0 = (e, r) => /* @__PURE__ */ a(
4922
4922
  "svg",
4923
4923
  {
4924
4924
  xmlns: "http://www.w3.org/2000/svg",
@@ -4949,7 +4949,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
4949
4949
  )
4950
4950
  ]
4951
4951
  }
4952
- ), nc = h(oc), sc = (e, r) => /* @__PURE__ */ a(
4952
+ ), n0 = g(o0), s0 = (e, r) => /* @__PURE__ */ a(
4953
4953
  "svg",
4954
4954
  {
4955
4955
  xmlns: "http://www.w3.org/2000/svg",
@@ -4980,7 +4980,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
4980
4980
  )
4981
4981
  ]
4982
4982
  }
4983
- ), ic = h(sc), ac = (e, r) => /* @__PURE__ */ a(
4983
+ ), i0 = g(s0), a0 = (e, r) => /* @__PURE__ */ a(
4984
4984
  "svg",
4985
4985
  {
4986
4986
  xmlns: "http://www.w3.org/2000/svg",
@@ -5019,7 +5019,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
5019
5019
  )
5020
5020
  ]
5021
5021
  }
5022
- ), cc = h(ac), lc = (e, r) => /* @__PURE__ */ a(
5022
+ ), c0 = g(a0), l0 = (e, r) => /* @__PURE__ */ a(
5023
5023
  "svg",
5024
5024
  {
5025
5025
  xmlns: "http://www.w3.org/2000/svg",
@@ -5048,7 +5048,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
5048
5048
  )
5049
5049
  ]
5050
5050
  }
5051
- ), dc = h(lc), fc = (e, r) => /* @__PURE__ */ a(
5051
+ ), d0 = g(l0), f0 = (e, r) => /* @__PURE__ */ a(
5052
5052
  "svg",
5053
5053
  {
5054
5054
  xmlns: "http://www.w3.org/2000/svg",
@@ -5075,7 +5075,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
5075
5075
  )
5076
5076
  ]
5077
5077
  }
5078
- ), uc = h(fc), hc = (e, r) => /* @__PURE__ */ a(
5078
+ ), u0 = g(f0), h0 = (e, r) => /* @__PURE__ */ a(
5079
5079
  "svg",
5080
5080
  {
5081
5081
  xmlns: "http://www.w3.org/2000/svg",
@@ -5093,13 +5093,13 @@ const b0 = (e, r) => /* @__PURE__ */ a(
5093
5093
  /* @__PURE__ */ t("path", { d: "M8.5 16.429a5 5 0 0 1 7 0", vectorEffect: "non-scaling-stroke" })
5094
5094
  ]
5095
5095
  }
5096
- ), gc = h(hc), pc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5096
+ ), g0 = g(h0), p0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5097
5097
  __proto__: null,
5098
5098
  AcademicCap: xs,
5099
5099
  Add: $r,
5100
5100
  Ai: Ls,
5101
5101
  Alert: Br,
5102
- AlertCircle: nt,
5102
+ AlertCircle: ot,
5103
5103
  AlertCircleLine: Ir,
5104
5104
  AlignTextCenter: Pr,
5105
5105
  AlignTextJustify: jr,
@@ -5109,10 +5109,10 @@ const b0 = (e, r) => /* @__PURE__ */ a(
5109
5109
  Archive: Es,
5110
5110
  ArchiveOpen: Fs,
5111
5111
  ArrowCycle: _r,
5112
- ArrowDown: st,
5112
+ ArrowDown: nt,
5113
5113
  ArrowLeft: Or,
5114
5114
  ArrowRight: Ur,
5115
- ArrowUp: s1,
5115
+ ArrowUp: i1,
5116
5116
  Ascending: zr,
5117
5117
  Balance: Vs,
5118
5118
  Bank: Ts,
@@ -5139,14 +5139,14 @@ const b0 = (e, r) => /* @__PURE__ */ a(
5139
5139
  ChartLine: ii,
5140
5140
  ChartPie: ci,
5141
5141
  ChartVerticalBars: di,
5142
- Check: it,
5142
+ Check: st,
5143
5143
  CheckCircle: Jr,
5144
5144
  CheckCircleLine: ui,
5145
5145
  CheckDouble: eo,
5146
- ChevronDown: i1,
5147
- ChevronLeft: at,
5148
- ChevronRight: We,
5149
- ChevronUp: ct,
5146
+ ChevronDown: a1,
5147
+ ChevronLeft: it,
5148
+ ChevronRight: qe,
5149
+ ChevronUp: at,
5150
5150
  Chip: gi,
5151
5151
  Circle: to,
5152
5152
  Clock: ro,
@@ -5166,7 +5166,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
5166
5166
  CrossedCircle: io,
5167
5167
  Crown: Bi,
5168
5168
  CursorClick: Ai,
5169
- Delete: lt,
5169
+ Delete: ct,
5170
5170
  Deny: Pi,
5171
5171
  Descending: ao,
5172
5172
  Desktop: Di,
@@ -5176,7 +5176,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
5176
5176
  Download: Me,
5177
5177
  DropdownDefault: lo,
5178
5178
  DropdownOpen: fo,
5179
- Ellipsis: dt,
5179
+ Ellipsis: lt,
5180
5180
  EllipsisHorizontal: uo,
5181
5181
  Envelope: ho,
5182
5182
  EnvelopeOpen: Gi,
@@ -5185,7 +5185,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
5185
5185
  EqualGreater: Co,
5186
5186
  EqualLess: mo,
5187
5187
  Exit: qi,
5188
- ExternalLink: ft,
5188
+ ExternalLink: dt,
5189
5189
  EyeInvisible: vo,
5190
5190
  EyeVisible: wo,
5191
5191
  FaceNegative: xo,
@@ -5246,16 +5246,16 @@ const b0 = (e, r) => /* @__PURE__ */ a(
5246
5246
  Marker: Wo,
5247
5247
  Marketplace: Ka,
5248
5248
  Masonry: Ja,
5249
- Maximize: ut,
5249
+ Maximize: ft,
5250
5250
  Megaphone: qo,
5251
5251
  Menu: Xo,
5252
5252
  MessageFilled: t5,
5253
5253
  MessageFrown: o5,
5254
5254
  MessageHeart: s5,
5255
5255
  Messages: a5,
5256
- Microphone: ht,
5256
+ Microphone: ut,
5257
5257
  MicrophoneNegative: Yo,
5258
- Minimize: gt,
5258
+ Minimize: ht,
5259
5259
  Minus: Ko,
5260
5260
  Mobile: l5,
5261
5261
  Money: At,
@@ -5274,7 +5274,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
5274
5274
  OlList: en,
5275
5275
  Organization: tn,
5276
5276
  PalmTree: S5,
5277
- Paperclip: pt,
5277
+ Paperclip: gt,
5278
5278
  PartiallyCompleted: H5,
5279
5279
  Password: $5,
5280
5280
  PauseCircle: I5,
@@ -5293,70 +5293,70 @@ const b0 = (e, r) => /* @__PURE__ */ a(
5293
5293
  Plus: cn,
5294
5294
  Present: J5,
5295
5295
  Printer: ms,
5296
- Proyector: t0,
5297
- PushPin: Ct,
5298
- PushPinSolid: mt,
5296
+ Proyector: tc,
5297
+ PushPin: pt,
5298
+ PushPinSolid: Ct,
5299
5299
  Question: ln,
5300
- Quote: vt,
5300
+ Quote: mt,
5301
5301
  Reaction: dn,
5302
- Receipt: o0,
5303
- Record: s0,
5304
- RemoveFavorite: a0,
5305
- Replace: l0,
5306
- Reply: a1,
5302
+ Receipt: oc,
5303
+ Record: sc,
5304
+ RemoveFavorite: ac,
5305
+ Replace: lc,
5306
+ Reply: c1,
5307
5307
  Reset: fn,
5308
- Rocket: f0,
5309
- Salad: h0,
5310
- Save: p0,
5311
- Schedule: m0,
5312
- Search: c1,
5308
+ Rocket: fc,
5309
+ Salad: hc,
5310
+ Save: pc,
5311
+ Schedule: mc,
5312
+ Search: l1,
5313
5313
  SearchPerson: un,
5314
- Settings: w0,
5314
+ Settings: wc,
5315
5315
  Share: hn,
5316
- Shield: k0,
5316
+ Shield: kc,
5317
5317
  ShoppingCart: $t,
5318
- SignPost: y0,
5319
- Sleep: E0,
5320
- Sliders: l1,
5318
+ SignPost: yc,
5319
+ Sleep: Ec,
5320
+ Sliders: d1,
5321
5321
  SolidPause: gn,
5322
5322
  SolidPlay: pn,
5323
- SolidStop: wt,
5324
- Sort: F0,
5325
- Sparkles: V0,
5323
+ SolidStop: vt,
5324
+ Sort: Fc,
5325
+ Sparkles: Vc,
5326
5326
  Spinner: Cn,
5327
- Split: T0,
5327
+ Split: Tc,
5328
5328
  Star: mn,
5329
5329
  StarFilled: vn,
5330
5330
  Strikethrough: wn,
5331
- Suitcase: A0,
5332
- Swap: B0,
5331
+ Suitcase: Ac,
5332
+ Swap: Bc,
5333
5333
  Table: xn,
5334
- Tablet: P0,
5335
- Tag: D0,
5336
- Target: _0,
5334
+ Tablet: Pc,
5335
+ Tag: Dc,
5336
+ Target: _c,
5337
5337
  TextSize: kn,
5338
5338
  ThumbsDown: Bt,
5339
5339
  ThumbsDownFilled: It,
5340
5340
  ThumbsUp: Pt,
5341
5341
  ThumbsUpFilled: jt,
5342
- Timer: q0,
5342
+ Timer: qc,
5343
5343
  Underline: Ln,
5344
5344
  Upload: bn,
5345
- Upsell: xt,
5346
- UserProtected: Y0,
5345
+ Upsell: wt,
5346
+ UserProtected: Yc,
5347
5347
  Video: yn,
5348
- VideoRecorder: Q0,
5349
- VideoRecorderNegative: ec,
5350
- VolumeHigh: rc,
5351
- VolumeMid: nc,
5352
- VolumeMuted: ic,
5353
- Wallet: cc,
5348
+ VideoRecorder: Qc,
5349
+ VideoRecorderNegative: e0,
5350
+ VolumeHigh: r0,
5351
+ VolumeMid: n0,
5352
+ VolumeMuted: i0,
5353
+ Wallet: c0,
5354
5354
  Warning: Mn,
5355
- Watch: dc,
5356
- WhatsappChat: uc,
5357
- Wifi: gc,
5355
+ Watch: d0,
5356
+ WhatsappChat: u0,
5357
+ Wifi: g0,
5358
5358
  Windows: En
5359
- }, Symbol.toStringTag, { value: "Module" })), Cc = (e, r) => /* @__PURE__ */ t(
5359
+ }, Symbol.toStringTag, { value: "Module" })), C0 = (e, r) => /* @__PURE__ */ t(
5360
5360
  "svg",
5361
5361
  {
5362
5362
  xmlns: "http://www.w3.org/2000/svg",
@@ -5373,7 +5373,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
5373
5373
  }
5374
5374
  )
5375
5375
  }
5376
- ), mc = h(Cc), vc = [
5376
+ ), m0 = g(C0), v0 = [
5377
5377
  "append",
5378
5378
  "className",
5379
5379
  "pressed",
@@ -5384,8 +5384,8 @@ const b0 = (e, r) => /* @__PURE__ */ a(
5384
5384
  "variant",
5385
5385
  "loading",
5386
5386
  "emoji"
5387
- ], Dt = h((e, r) => {
5388
- const o = vc.reduce((n, s) => {
5387
+ ], Dt = g((e, r) => {
5388
+ const o = v0.reduce((n, s) => {
5389
5389
  const { [s]: i, ...l } = n;
5390
5390
  return l;
5391
5391
  }, e);
@@ -5395,7 +5395,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
5395
5395
  ...o,
5396
5396
  variant: "ai",
5397
5397
  ref: r,
5398
- iconRotate: e.icon == mc
5398
+ iconRotate: e.icon == m0
5399
5399
  }
5400
5400
  );
5401
5401
  });
@@ -5540,7 +5540,7 @@ const Zt = {
5540
5540
  double: "border-double",
5541
5541
  none: "border-none"
5542
5542
  }
5543
- }, wc = {}, xc = {
5543
+ }, w0 = {}, x0 = {
5544
5544
  // Special
5545
5545
  auto: "w-auto",
5546
5546
  full: "w-full",
@@ -5597,7 +5597,7 @@ const Zt = {
5597
5597
  "4/5": "w-4/5",
5598
5598
  "1/6": "w-1/6",
5599
5599
  "5/6": "w-5/6"
5600
- }, kc = {
5600
+ }, k0 = {
5601
5601
  auto: "h-auto",
5602
5602
  full: "h-full",
5603
5603
  screen: "h-screen",
@@ -5651,7 +5651,7 @@ const Zt = {
5651
5651
  "4/5": "h-4/5",
5652
5652
  "1/6": "h-1/6",
5653
5653
  "5/6": "h-5/6"
5654
- }, Lc = {
5654
+ }, L0 = {
5655
5655
  auto: "min-w-0",
5656
5656
  full: "min-w-full",
5657
5657
  screen: "min-w-screen",
@@ -5705,7 +5705,7 @@ const Zt = {
5705
5705
  "4/5": "min-w-4/5",
5706
5706
  "1/6": "min-w-1/6",
5707
5707
  "5/6": "min-w-5/6"
5708
- }, bc = {
5708
+ }, b0 = {
5709
5709
  auto: "min-h-0",
5710
5710
  full: "min-h-full",
5711
5711
  screen: "min-h-screen",
@@ -5759,7 +5759,7 @@ const Zt = {
5759
5759
  "4/5": "min-h-4/5",
5760
5760
  "1/6": "min-h-1/6",
5761
5761
  "5/6": "min-h-5/6"
5762
- }, yc = {
5762
+ }, y0 = {
5763
5763
  auto: "max-w-none",
5764
5764
  full: "max-w-full",
5765
5765
  screen: "max-w-screen",
@@ -5813,7 +5813,7 @@ const Zt = {
5813
5813
  "4/5": "max-w-4/5",
5814
5814
  "1/6": "max-w-1/6",
5815
5815
  "5/6": "max-w-5/6"
5816
- }, Mc = {
5816
+ }, M0 = {
5817
5817
  auto: "max-h-none",
5818
5818
  full: "max-h-full",
5819
5819
  screen: "max-h-screen",
@@ -5868,12 +5868,12 @@ const Zt = {
5868
5868
  "1/6": "max-h-1/6",
5869
5869
  "5/6": "max-h-5/6"
5870
5870
  }, Ot = {
5871
- width: xc,
5872
- height: kc,
5873
- minWidth: Lc,
5874
- minHeight: bc,
5875
- maxWidth: yc,
5876
- maxHeight: Mc
5871
+ width: x0,
5872
+ height: k0,
5873
+ minWidth: L0,
5874
+ minHeight: b0,
5875
+ maxWidth: y0,
5876
+ maxHeight: M0
5877
5877
  }, Ut = {
5878
5878
  display: {
5879
5879
  block: "block",
@@ -5959,7 +5959,7 @@ const Zt = {
5959
5959
  true: "shrink",
5960
5960
  false: "shrink-0"
5961
5961
  }
5962
- }, Ec = {}, Wt = {
5962
+ }, E0 = {}, Wt = {
5963
5963
  columns: {
5964
5964
  none: "grid-cols-none",
5965
5965
  1: "grid-cols-1",
@@ -6165,13 +6165,13 @@ const Zt = {
6165
6165
  "5xl": "mr-16",
6166
6166
  auto: "mr-auto"
6167
6167
  }
6168
- }, Rc = {}, Fc = {
6168
+ }, R0 = {}, F0 = {
6169
6169
  visible: "overflow-visible",
6170
6170
  hidden: "overflow-hidden",
6171
6171
  auto: "overflow-auto",
6172
6172
  scroll: "overflow-scroll"
6173
6173
  }, Yt = {
6174
- overflow: Fc,
6174
+ overflow: F0,
6175
6175
  overflowX: {
6176
6176
  visible: "overflow-x-visible",
6177
6177
  hidden: "overflow-x-hidden",
@@ -6184,7 +6184,7 @@ const Zt = {
6184
6184
  auto: "overflow-y-auto",
6185
6185
  scroll: "overflow-y-scroll"
6186
6186
  }
6187
- }, Nc = {}, Kt = {
6187
+ }, N0 = {}, Kt = {
6188
6188
  padding: {
6189
6189
  none: "p-0",
6190
6190
  xs: "p-1",
@@ -6269,7 +6269,7 @@ const Zt = {
6269
6269
  "4xl": "pr-12",
6270
6270
  "5xl": "pr-16"
6271
6271
  }
6272
- }, Vc = {}, Sc = {
6272
+ }, V0 = {}, S0 = {
6273
6273
  boxShadow: {
6274
6274
  none: "shadow-none",
6275
6275
  sm: "shadow",
@@ -6287,7 +6287,7 @@ const Zt = {
6287
6287
  40: "z-40",
6288
6288
  50: "z-50"
6289
6289
  }
6290
- }, Tc = {
6290
+ }, T0 = {
6291
6291
  ...Ut,
6292
6292
  ...qt,
6293
6293
  ...Kt,
@@ -6301,21 +6301,21 @@ const Zt = {
6301
6301
  ...zt,
6302
6302
  ...Qt
6303
6303
  };
6304
- function Hc(e, r) {
6304
+ function H0(e, r) {
6305
6305
  return r.split(" ").map((o) => `${e}:${o}`).join(" ");
6306
6306
  }
6307
- function Ac(e, r) {
6307
+ function A0(e, r) {
6308
6308
  const o = [];
6309
6309
  for (const [n, s] of Object.entries(r)) {
6310
6310
  if (s == null) continue;
6311
- const i = Tc[n];
6311
+ const i = T0[n];
6312
6312
  if (!i) continue;
6313
6313
  const l = i[String(s)];
6314
- l && o.push(Hc(e, l));
6314
+ l && o.push(H0(e, l));
6315
6315
  }
6316
6316
  return o.join(" ");
6317
6317
  }
6318
- const $c = Te({
6318
+ const $0 = Te({
6319
6319
  base: "",
6320
6320
  variants: {
6321
6321
  ...Ut,
@@ -6329,17 +6329,17 @@ const $c = Te({
6329
6329
  ..._t,
6330
6330
  ...Yt,
6331
6331
  ...zt,
6332
- ...Sc,
6332
+ ...S0,
6333
6333
  ...Qt
6334
6334
  },
6335
6335
  defaultVariants: {
6336
- ...Vc,
6337
- ...Rc,
6338
- ...Ec,
6339
- ...wc,
6340
- ...Nc
6336
+ ...V0,
6337
+ ...R0,
6338
+ ...E0,
6339
+ ...w0,
6340
+ ...N0
6341
6341
  }
6342
- }), Bc = ["sm", "md", "lg", "xl"], Jt = h(
6342
+ }), B0 = ["sm", "md", "lg", "xl"], Jt = g(
6343
6343
  ({
6344
6344
  // Display & Position
6345
6345
  display: e,
@@ -6354,9 +6354,9 @@ const $c = Te({
6354
6354
  paddingX: c,
6355
6355
  paddingY: u,
6356
6356
  paddingTop: f,
6357
- paddingBottom: p,
6358
- paddingLeft: C,
6359
- paddingRight: g,
6357
+ paddingBottom: C,
6358
+ paddingLeft: p,
6359
+ paddingRight: h,
6360
6360
  // Margin
6361
6361
  margin: m,
6362
6362
  marginX: x,
@@ -6375,7 +6375,7 @@ const $c = Te({
6375
6375
  rowSpan: R,
6376
6376
  // Dimensions
6377
6377
  width: S,
6378
- height: B,
6378
+ height: I,
6379
6379
  minWidth: U,
6380
6380
  minHeight: O,
6381
6381
  maxWidth: z,
@@ -6398,7 +6398,7 @@ const $c = Te({
6398
6398
  // Overflow
6399
6399
  overflow: F,
6400
6400
  overflowX: y,
6401
- overflowY: P,
6401
+ overflowY: j,
6402
6402
  // Divider
6403
6403
  divider: H,
6404
6404
  dividerColor: Z,
@@ -6409,25 +6409,25 @@ const $c = Te({
6409
6409
  flexDirection: ne,
6410
6410
  flexWrap: Ne,
6411
6411
  grow: Ve,
6412
- shrink: qe,
6412
+ shrink: Xe,
6413
6413
  // Responsive breakpoint overrides
6414
6414
  sm: xe,
6415
- md: Xe,
6416
- lg: Ye,
6417
- xl: Ke,
6415
+ md: Ye,
6416
+ lg: Ke,
6417
+ xl: Qe,
6418
6418
  ...Pe
6419
- }, Qe) => {
6420
- const Ae = D && D !== "none" || W && W !== "none" || K && K !== "none" || ae && ae !== "none", Se = Y && Y !== "none" || Ae, je = { sm: xe, md: Xe, lg: Ye, xl: Ke }, De = Bc.map((Ze) => {
6419
+ }, Je) => {
6420
+ const Ae = D && D !== "none" || W && W !== "none" || K && K !== "none" || ae && ae !== "none", Se = Y && Y !== "none" || Ae, je = { sm: xe, md: Ye, lg: Ke, xl: Qe }, De = B0.map((Ze) => {
6421
6421
  const _e = je[Ze];
6422
- return _e ? Ac(Ze, _e) : "";
6422
+ return _e ? A0(Ze, _e) : "";
6423
6423
  }).filter(Boolean).join(" ");
6424
6424
  return /* @__PURE__ */ t(
6425
6425
  "div",
6426
6426
  {
6427
- ref: Qe,
6427
+ ref: Je,
6428
6428
  className: k(
6429
6429
  Ae && "border-0",
6430
- $c({
6430
+ $0({
6431
6431
  display: e,
6432
6432
  position: r,
6433
6433
  top: o,
@@ -6439,9 +6439,9 @@ const $c = Te({
6439
6439
  paddingX: c,
6440
6440
  paddingY: u,
6441
6441
  paddingTop: f,
6442
- paddingBottom: p,
6443
- paddingLeft: C,
6444
- paddingRight: g,
6442
+ paddingBottom: C,
6443
+ paddingLeft: p,
6444
+ paddingRight: h,
6445
6445
  margin: m,
6446
6446
  marginX: x,
6447
6447
  marginY: v,
@@ -6456,7 +6456,7 @@ const $c = Te({
6456
6456
  colStart: $,
6457
6457
  rowSpan: R,
6458
6458
  width: S,
6459
- height: B,
6459
+ height: I,
6460
6460
  minWidth: U,
6461
6461
  minHeight: O,
6462
6462
  maxWidth: z,
@@ -6476,7 +6476,7 @@ const $c = Te({
6476
6476
  borderStyle: b,
6477
6477
  overflow: F,
6478
6478
  overflowX: y,
6479
- overflowY: P,
6479
+ overflowY: j,
6480
6480
  divider: H,
6481
6481
  dividerColor: Z,
6482
6482
  alignItems: fe,
@@ -6484,7 +6484,7 @@ const $c = Te({
6484
6484
  flexDirection: ne,
6485
6485
  flexWrap: Ne,
6486
6486
  grow: Ve,
6487
- shrink: qe,
6487
+ shrink: Xe,
6488
6488
  boxShadow: ce
6489
6489
  }),
6490
6490
  De,
@@ -6498,7 +6498,7 @@ const $c = Te({
6498
6498
  }
6499
6499
  );
6500
6500
  Jt.displayName = "F0Box";
6501
- const e1 = Rn(
6501
+ const t1 = Rn(
6502
6502
  {
6503
6503
  name: "F0Box",
6504
6504
  type: "layout"
@@ -6509,7 +6509,7 @@ const e1 = Rn(
6509
6509
  "executing",
6510
6510
  "writing",
6511
6511
  "completed"
6512
- ], Ic = ({
6512
+ ], I0 = ({
6513
6513
  onUploadFiles: e,
6514
6514
  toolbarStart: r,
6515
6515
  isAtMaxFiles: o,
@@ -6521,18 +6521,18 @@ const e1 = Rn(
6521
6521
  hasDataToSend: c,
6522
6522
  isPreSending: u,
6523
6523
  canRecord: f,
6524
- recordingStatus: p = "idle",
6525
- recordingStream: C,
6526
- onStartRecording: g,
6524
+ recordingStatus: C = "idle",
6525
+ recordingStream: p,
6526
+ onStartRecording: h,
6527
6527
  onStopRecording: m,
6528
6528
  onCancelRecording: x
6529
6529
  }) => {
6530
6530
  const v = G();
6531
- return p === "recording" ? /* @__PURE__ */ a("div", { className: "flex shrink-0 items-center gap-3 p-3", children: [
6531
+ return C === "recording" ? /* @__PURE__ */ a("div", { className: "flex shrink-0 items-center gap-3 p-3", children: [
6532
6532
  /* @__PURE__ */ t(
6533
6533
  Fn,
6534
6534
  {
6535
- stream: C ?? null,
6535
+ stream: p ?? null,
6536
6536
  className: "min-w-0 flex-1"
6537
6537
  }
6538
6538
  ),
@@ -6555,7 +6555,7 @@ const e1 = Rn(
6555
6555
  label: v.ai.stopRecording,
6556
6556
  hideLabel: !0,
6557
6557
  type: "button",
6558
- icon: it,
6558
+ icon: st,
6559
6559
  variant: "default",
6560
6560
  size: "md",
6561
6561
  onClick: m
@@ -6571,10 +6571,10 @@ const e1 = Rn(
6571
6571
  label: v.ai.attachFile,
6572
6572
  hideLabel: !0,
6573
6573
  type: "button",
6574
- icon: pt,
6574
+ icon: gt,
6575
6575
  variant: "outline",
6576
6576
  size: "md",
6577
- disabled: o || p === "transcribing",
6577
+ disabled: o || C === "transcribing",
6578
6578
  onClick: (M) => {
6579
6579
  M.preventDefault(), i.current?.click();
6580
6580
  }
@@ -6611,21 +6611,21 @@ const e1 = Rn(
6611
6611
  label: v.ai.recordAudio,
6612
6612
  hideLabel: !0,
6613
6613
  type: "button",
6614
- icon: ht,
6614
+ icon: ut,
6615
6615
  variant: "outline",
6616
6616
  size: "md",
6617
6617
  disabled: d,
6618
- onClick: g,
6619
- loading: p === "transcribing"
6618
+ onClick: h,
6619
+ loading: C === "transcribing"
6620
6620
  }
6621
6621
  ),
6622
- p !== "transcribing" && d ? /* @__PURE__ */ t(
6622
+ C !== "transcribing" && d ? /* @__PURE__ */ t(
6623
6623
  se,
6624
6624
  {
6625
6625
  type: "submit",
6626
6626
  variant: "neutral",
6627
6627
  label: v.ai.stopAnswerGeneration,
6628
- icon: wt,
6628
+ icon: vt,
6629
6629
  hideLabel: !0
6630
6630
  }
6631
6631
  ) : /* @__PURE__ */ t(
@@ -6635,13 +6635,13 @@ const e1 = Rn(
6635
6635
  disabled: !c || u,
6636
6636
  variant: "default",
6637
6637
  label: v.ai.sendMessage,
6638
- icon: s1,
6638
+ icon: i1,
6639
6639
  hideLabel: !0
6640
6640
  }
6641
6641
  )
6642
6642
  ] })
6643
6643
  ] });
6644
- }, Pc = ({
6644
+ }, P0 = ({
6645
6645
  attachedFiles: e,
6646
6646
  isUploading: r,
6647
6647
  onRemove: o,
@@ -6654,7 +6654,7 @@ const e1 = Rn(
6654
6654
  className: "flex flex-wrap gap-1 px-1 pt-1",
6655
6655
  children: e.map(
6656
6656
  (s) => s.status === "uploading" ? /* @__PURE__ */ t(he, { className: "h-9 w-36 rounded-[10px]" }, s.id) : s.status === "error" ? /* @__PURE__ */ t(
6657
- jc,
6657
+ j0,
6658
6658
  {
6659
6659
  att: s,
6660
6660
  onRemove: o,
@@ -6662,7 +6662,7 @@ const e1 = Rn(
6662
6662
  },
6663
6663
  s.id
6664
6664
  ) : /* @__PURE__ */ t(
6665
- kt,
6665
+ xt,
6666
6666
  {
6667
6667
  file: s.file,
6668
6668
  size: "md",
@@ -6679,13 +6679,13 @@ const e1 = Rn(
6679
6679
  )
6680
6680
  }
6681
6681
  );
6682
- function jc({
6682
+ function j0({
6683
6683
  att: e,
6684
6684
  onRemove: r,
6685
6685
  removeLabel: o
6686
6686
  }) {
6687
6687
  const n = /* @__PURE__ */ a("div", { className: "flex items-center gap-1.5 rounded-lg border border-f1-border-critical bg-f1-background-critical/10 px-2.5 py-1.5", children: [
6688
- /* @__PURE__ */ t(le, { icon: nt, size: "md", color: "critical" }),
6688
+ /* @__PURE__ */ t(le, { icon: ot, size: "md", color: "critical" }),
6689
6689
  /* @__PURE__ */ t("span", { className: "max-w-40 truncate text-sm font-medium text-f1-foreground-critical", children: e.file.name }),
6690
6690
  /* @__PURE__ */ t(
6691
6691
  "button",
@@ -6702,21 +6702,21 @@ function jc({
6702
6702
  ] });
6703
6703
  return e.errorMessage ? /* @__PURE__ */ t(Nn, { label: e.errorMessage, children: n }) : n;
6704
6704
  }
6705
- const Dc = {
6705
+ const D0 = {
6706
6706
  soft: {
6707
6707
  text: "",
6708
6708
  bg: "bg-f1-background-info",
6709
6709
  fontColor: "text-f1-foreground-info",
6710
6710
  formBorder: "[&_form]:border-f1-border-info"
6711
6711
  }
6712
- }, Zc = ({
6712
+ }, Z0 = ({
6713
6713
  creditWarning: e,
6714
6714
  children: r
6715
6715
  }) => {
6716
6716
  const o = G();
6717
6717
  if (!e) return r;
6718
6718
  const n = {
6719
- ...Dc[e.level],
6719
+ ...D0[e.level],
6720
6720
  text: o.ai.creditWarning.soft
6721
6721
  };
6722
6722
  return /* @__PURE__ */ a(
@@ -6761,7 +6761,7 @@ const Dc = {
6761
6761
  }
6762
6762
  );
6763
6763
  };
6764
- function _c({
6764
+ function _0({
6765
6765
  isOpen: e,
6766
6766
  results: r,
6767
6767
  isLoading: o,
@@ -6769,14 +6769,14 @@ function _c({
6769
6769
  position: s,
6770
6770
  onSelect: i
6771
6771
  }) {
6772
- const l = j(null), d = j(null);
6772
+ const l = B(null), d = B(null);
6773
6773
  q(() => {
6774
6774
  d.current?.scrollIntoView({ block: "nearest" });
6775
6775
  }, [n]), rt(() => {
6776
- const f = l.current, p = f?.offsetParent;
6777
- if (!f || !p) return;
6778
- const C = f.offsetLeft + f.offsetWidth - p.clientWidth;
6779
- C > 0 && (f.style.left = `${Math.max(0, f.offsetLeft - C)}px`);
6776
+ const f = l.current, C = f?.offsetParent;
6777
+ if (!f || !C) return;
6778
+ const p = f.offsetLeft + f.offsetWidth - C.clientWidth;
6779
+ p > 0 && (f.style.left = `${Math.max(0, f.offsetLeft - p)}px`);
6780
6780
  }, [s]);
6781
6781
  const c = o && r.length === 0, u = !o && r.length === 0;
6782
6782
  return !e || u ? null : /* @__PURE__ */ t(
@@ -6796,7 +6796,7 @@ function _c({
6796
6796
  "bg-f1-background shadow-md",
6797
6797
  "p-1"
6798
6798
  ),
6799
- children: c ? Array.from({ length: 3 }, (f, p) => /* @__PURE__ */ a(
6799
+ children: c ? Array.from({ length: 3 }, (f, C) => /* @__PURE__ */ a(
6800
6800
  "div",
6801
6801
  {
6802
6802
  className: "flex items-center gap-2 p-2",
@@ -6806,24 +6806,24 @@ function _c({
6806
6806
  /* @__PURE__ */ t(
6807
6807
  he,
6808
6808
  {
6809
- className: k("h-4 rounded", p === 1 ? "w-24" : "w-32")
6809
+ className: k("h-4 rounded", C === 1 ? "w-24" : "w-32")
6810
6810
  }
6811
6811
  )
6812
6812
  ]
6813
6813
  },
6814
- p
6815
- )) : r.map((f, p) => {
6816
- const C = p === n, g = `${f.firstName} ${f.lastName}`.trim();
6814
+ C
6815
+ )) : r.map((f, C) => {
6816
+ const p = C === n, h = `${f.firstName} ${f.lastName}`.trim();
6817
6817
  return /* @__PURE__ */ a(
6818
6818
  "div",
6819
6819
  {
6820
- ref: C ? d : void 0,
6820
+ ref: p ? d : void 0,
6821
6821
  role: "option",
6822
- "aria-selected": C,
6822
+ "aria-selected": p,
6823
6823
  className: k(
6824
6824
  "flex cursor-pointer items-center gap-2 p-2 rounded",
6825
6825
  "transition-colors",
6826
- C ? "bg-f1-background-secondary" : "hover:bg-f1-background-secondary-hover"
6826
+ p ? "bg-f1-background-secondary" : "hover:bg-f1-background-secondary-hover"
6827
6827
  ),
6828
6828
  onMouseDown: (m) => {
6829
6829
  m.preventDefault(), i(f);
@@ -6840,7 +6840,7 @@ function _c({
6840
6840
  size: "xsmall"
6841
6841
  }
6842
6842
  ),
6843
- /* @__PURE__ */ t("div", { className: "flex min-w-0 flex-1 flex-col", children: /* @__PURE__ */ t(ie, { className: "text-base font-medium text-f1-foreground", children: g }) })
6843
+ /* @__PURE__ */ t("div", { className: "flex min-w-0 flex-1 flex-col", children: /* @__PURE__ */ t(ie, { className: "text-base font-medium text-f1-foreground", children: h }) })
6844
6844
  ]
6845
6845
  },
6846
6846
  String(f.id)
@@ -6849,7 +6849,7 @@ function _c({
6849
6849
  }
6850
6850
  );
6851
6851
  }
6852
- const Oc = ({
6852
+ const O0 = ({
6853
6853
  quote: e,
6854
6854
  onRemove: r
6855
6855
  }) => {
@@ -6862,7 +6862,7 @@ const Oc = ({
6862
6862
  "rounded-[10px] bg-f1-background-hover pl-2 py-1.5 pr-1.5"
6863
6863
  ),
6864
6864
  children: [
6865
- /* @__PURE__ */ t("div", { className: "flex items-center py-0.5", children: /* @__PURE__ */ t(le, { icon: a1, size: "md", color: "default" }) }),
6865
+ /* @__PURE__ */ t("div", { className: "flex items-center py-0.5", children: /* @__PURE__ */ t(le, { icon: c1, size: "md", color: "default" }) }),
6866
6866
  /* @__PURE__ */ t(
6867
6867
  ie,
6868
6868
  {
@@ -6885,23 +6885,23 @@ const Oc = ({
6885
6885
  ]
6886
6886
  }
6887
6887
  ) });
6888
- }, Uc = ({
6888
+ }, U0 = ({
6889
6889
  placeholders: e,
6890
6890
  defaultPlaceholder: r,
6891
6891
  inputValue: o,
6892
6892
  inProgress: n
6893
6893
  }) => {
6894
- const s = ke(), [i, l] = I(""), [d, c] = I(0), [u, f] = I(!1), p = j(null), C = j(null), g = j(null), m = e[d] ?? r;
6894
+ const s = ke(), [i, l] = P(""), [d, c] = P(0), [u, f] = P(!1), C = B(null), p = B(null), h = B(null), m = e[d] ?? r;
6895
6895
  return q(() => {
6896
6896
  const x = () => {
6897
- C.current && (clearInterval(C.current), C.current = null), g.current && (clearInterval(g.current), g.current = null), p.current && (clearTimeout(p.current), p.current = null);
6897
+ p.current && (clearInterval(p.current), p.current = null), h.current && (clearInterval(h.current), h.current = null), C.current && (clearTimeout(C.current), C.current = null);
6898
6898
  };
6899
6899
  if (o.length > 0 || n) {
6900
6900
  f(!1), l(""), x();
6901
6901
  return;
6902
6902
  }
6903
6903
  if (s)
6904
- return f(!1), l(m), x(), p.current = setTimeout(() => {
6904
+ return f(!1), l(m), x(), C.current = setTimeout(() => {
6905
6905
  const E = (d + 1) % Math.max(e.length, 1);
6906
6906
  c(E);
6907
6907
  }, 4e3), () => {
@@ -6910,10 +6910,10 @@ const Oc = ({
6910
6910
  f(!0), l("");
6911
6911
  let v = 0;
6912
6912
  const M = 50, A = 30, T = 2e3, V = 1e3;
6913
- return C.current = setInterval(() => {
6914
- v < m.length ? (l(m.slice(0, v + 1)), v++) : (C.current && (clearInterval(C.current), C.current = null), p.current = setTimeout(() => {
6915
- g.current = setInterval(() => {
6916
- v > 0 ? (v--, l(m.slice(0, v))) : (g.current && (clearInterval(g.current), g.current = null), p.current = setTimeout(() => {
6913
+ return p.current = setInterval(() => {
6914
+ v < m.length ? (l(m.slice(0, v + 1)), v++) : (p.current && (clearInterval(p.current), p.current = null), C.current = setTimeout(() => {
6915
+ h.current = setInterval(() => {
6916
+ v > 0 ? (v--, l(m.slice(0, v))) : (h.current && (clearInterval(h.current), h.current = null), C.current = setTimeout(() => {
6917
6917
  const E = (d + 1) % Math.max(e.length, 1);
6918
6918
  c(E);
6919
6919
  }, V));
@@ -6958,7 +6958,7 @@ const Oc = ({
6958
6958
  )
6959
6959
  }
6960
6960
  ) });
6961
- }, zc = ({
6961
+ }, z0 = ({
6962
6962
  textareaRef: e,
6963
6963
  highlightRef: r,
6964
6964
  inputValue: o,
@@ -6970,8 +6970,8 @@ const Oc = ({
6970
6970
  hasOverlay: c,
6971
6971
  multiplePlaceholders: u,
6972
6972
  placeholders: f,
6973
- resolvedDefaultPlaceholder: p,
6974
- inProgress: C
6973
+ resolvedDefaultPlaceholder: C,
6974
+ inProgress: p
6975
6975
  }) => /* @__PURE__ */ a(
6976
6976
  "div",
6977
6977
  {
@@ -7008,14 +7008,14 @@ const Oc = ({
7008
7008
  "overflow-y-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden"
7009
7009
  ),
7010
7010
  children: d.map(
7011
- (g, m) => g.type === "mention" ? /* @__PURE__ */ t(
7011
+ (h, m) => h.type === "mention" ? /* @__PURE__ */ t(
7012
7012
  "span",
7013
7013
  {
7014
7014
  className: "font-medium text-f1-foreground-secondary",
7015
- children: g.text
7015
+ children: h.text
7016
7016
  },
7017
7017
  m
7018
- ) : g.type === "ghost" ? /* @__PURE__ */ t("span", { className: "text-f1-foreground-secondary opacity-50", children: g.text }, m) : /* @__PURE__ */ t("span", { children: g.text }, m)
7018
+ ) : h.type === "ghost" ? /* @__PURE__ */ t("span", { className: "text-f1-foreground-secondary opacity-50", children: h.text }, m) : /* @__PURE__ */ t("span", { children: h.text }, m)
7019
7019
  )
7020
7020
  }
7021
7021
  ),
@@ -7030,7 +7030,7 @@ const Oc = ({
7030
7030
  "pt-3 px-3",
7031
7031
  "overflow-hidden text-ellipsis whitespace-nowrap"
7032
7032
  ),
7033
- children: f.length === 1 ? f[0] : p
7033
+ children: f.length === 1 ? f[0] : C
7034
7034
  }
7035
7035
  ),
7036
7036
  /* @__PURE__ */ t(
@@ -7041,8 +7041,8 @@ const Oc = ({
7041
7041
  rows: 1,
7042
7042
  ref: e,
7043
7043
  value: o,
7044
- onChange: (g) => {
7045
- n(g.target.value, g.target.selectionStart ?? 0);
7044
+ onChange: (h) => {
7045
+ n(h.target.value, h.target.selectionStart ?? 0);
7046
7046
  },
7047
7047
  onKeyDown: s,
7048
7048
  onKeyUp: i,
@@ -7064,20 +7064,20 @@ const Oc = ({
7064
7064
  }
7065
7065
  ),
7066
7066
  u && /* @__PURE__ */ t(
7067
- Uc,
7067
+ U0,
7068
7068
  {
7069
7069
  placeholders: f,
7070
- defaultPlaceholder: p,
7070
+ defaultPlaceholder: C,
7071
7071
  inputValue: o,
7072
- inProgress: C ?? !1
7072
+ inProgress: p ?? !1
7073
7073
  }
7074
7074
  )
7075
7075
  ]
7076
7076
  }
7077
- ), Gc = 4, Wc = ({
7077
+ ), G0 = 4, W0 = ({
7078
7078
  cards: e
7079
- }) => e.length === 0 ? null : /* @__PURE__ */ t("div", { className: "grid w-full grid-cols-2 gap-3", children: e.slice(0, Gc).map((r) => /* @__PURE__ */ t(
7080
- Lt,
7079
+ }) => e.length === 0 ? null : /* @__PURE__ */ t("div", { className: "grid w-full grid-cols-2 gap-3", children: e.slice(0, G0).map((r) => /* @__PURE__ */ t(
7080
+ kt,
7081
7081
  {
7082
7082
  avatar: { type: "icon", icon: r.icon },
7083
7083
  title: r.title,
@@ -7085,81 +7085,104 @@ const Oc = ({
7085
7085
  onClick: r.onClick
7086
7086
  },
7087
7087
  r.id
7088
- )) }), qc = 5;
7089
- function Xc(e, r = qc) {
7088
+ )) }), q0 = 5;
7089
+ function X0(e, r = q0) {
7090
7090
  return e.length <= r ? e : [...e].sort(() => 0.5 - Math.random()).slice(0, r);
7091
7091
  }
7092
- const Yc = ({
7092
+ const Y0 = ({
7093
7093
  suggestions: e,
7094
7094
  onItemClick: r,
7095
7095
  onItemHover: o,
7096
7096
  side: n = "top"
7097
7097
  }) => {
7098
- const [s, i] = I(null), l = s !== null ? e[s] : null;
7098
+ const [s, i] = P(null), l = B(null), d = B(null), c = B(!1), u = Ge(), f = Ge(), C = s !== null ? e[s] : null;
7099
7099
  return e.length === 0 ? null : /* @__PURE__ */ a(
7100
- d1,
7100
+ f1,
7101
7101
  {
7102
- open: l !== null,
7103
- onOpenChange: (d) => {
7104
- d || (i(null), o?.(null));
7102
+ open: C !== null,
7103
+ onOpenChange: (p) => {
7104
+ p || (i(null), o?.(null));
7105
7105
  },
7106
7106
  children: [
7107
- /* @__PURE__ */ t(Sn, { asChild: !0, children: /* @__PURE__ */ t("div", { className: "flex w-full flex-wrap items-center gap-2", children: e.map((d, c) => /* @__PURE__ */ t(f1, { asChild: !0, children: /* @__PURE__ */ t(
7107
+ /* @__PURE__ */ t(Sn, { asChild: !0, children: /* @__PURE__ */ t("div", { ref: l, className: "flex w-full flex-wrap items-center gap-2", children: e.map((p, h) => /* @__PURE__ */ t(
7108
7108
  se,
7109
7109
  {
7110
7110
  variant: "outline",
7111
- label: d.label,
7112
- icon: d.icon,
7113
- pressed: s === c,
7114
- onClick: () => {
7115
- i((u) => u === c ? null : c), o?.(null);
7111
+ label: p.label,
7112
+ icon: p.icon,
7113
+ pressed: s === h,
7114
+ "aria-haspopup": "dialog",
7115
+ "aria-expanded": s === h,
7116
+ "aria-controls": s === h ? u : void 0,
7117
+ onClick: (m) => {
7118
+ d.current = m.currentTarget, c.current = !1, i((x) => x === h ? null : h), o?.(null);
7116
7119
  }
7117
- }
7118
- ) }, `${d.label}-${c}`)) }) }),
7119
- l && /* @__PURE__ */ a(
7120
+ },
7121
+ `${p.label}-${h}`
7122
+ )) }) }),
7123
+ C && /* @__PURE__ */ a(
7120
7124
  u1,
7121
7125
  {
7122
7126
  side: n,
7123
7127
  align: "start",
7124
7128
  sideOffset: 8,
7125
- onOpenAutoFocus: (d) => d.preventDefault(),
7129
+ id: u,
7130
+ "aria-labelledby": f,
7131
+ onOpenAutoFocus: (p) => p.preventDefault(),
7132
+ onCloseAutoFocus: (p) => {
7133
+ p.preventDefault(), c.current && d.current?.focus(), c.current = !1;
7134
+ },
7135
+ onEscapeKeyDown: () => {
7136
+ c.current = !0;
7137
+ },
7138
+ onPointerDownOutside: (p) => {
7139
+ const h = p.target;
7140
+ h && l.current?.contains(h) ? p.preventDefault() : c.current = !1;
7141
+ },
7126
7142
  className: k(
7127
7143
  "flex flex-col gap-1 rounded-md border border-solid border-f1-border-secondary bg-f1-background p-2",
7128
7144
  "w-[var(--radix-popover-trigger-width)]"
7129
7145
  ),
7130
7146
  children: [
7131
- /* @__PURE__ */ a("div", { className: "flex items-center gap-1.5 p-2 pb-1 text-sm font-medium text-f1-foreground-secondary", children: [
7132
- /* @__PURE__ */ t(le, { icon: l.icon, size: "sm" }),
7133
- /* @__PURE__ */ t("span", { children: l.label })
7134
- ] }),
7135
- /* @__PURE__ */ t("div", { className: "flex flex-col", children: Xc(l.items).map((d, c) => /* @__PURE__ */ a(
7147
+ /* @__PURE__ */ a(
7148
+ "div",
7149
+ {
7150
+ id: f,
7151
+ className: "flex items-center gap-1.5 p-2 pb-1 text-sm font-medium text-f1-foreground-secondary",
7152
+ children: [
7153
+ /* @__PURE__ */ t(le, { "aria-hidden": !0, icon: C.icon, size: "sm" }),
7154
+ /* @__PURE__ */ t("span", { children: C.label })
7155
+ ]
7156
+ }
7157
+ ),
7158
+ /* @__PURE__ */ t("div", { className: "flex flex-col", children: X0(C.items).map((p, h) => /* @__PURE__ */ a(
7136
7159
  "button",
7137
7160
  {
7138
7161
  type: "button",
7139
- onClick: () => {
7140
- r(d, l), i(null), o?.(null);
7162
+ onClick: (m) => {
7163
+ r(p, C), c.current = document.activeElement === m.currentTarget, i(null), o?.(null);
7141
7164
  },
7142
- onMouseEnter: () => o?.(d),
7165
+ onMouseEnter: () => o?.(p),
7143
7166
  onMouseLeave: () => o?.(null),
7144
- onFocus: () => o?.(d),
7167
+ onFocus: () => o?.(p),
7145
7168
  onBlur: () => o?.(null),
7146
7169
  className: k(
7147
7170
  "group flex items-center justify-between gap-2 rounded-sm px-2 py-2 text-left text-base font-medium text-f1-foreground transition-colors hover:bg-f1-background-hover focus-visible:bg-f1-background-hover",
7148
7171
  ge()
7149
7172
  ),
7150
7173
  children: [
7151
- /* @__PURE__ */ t("span", { className: "min-w-0 flex-1 truncate", children: d.title }),
7174
+ /* @__PURE__ */ t("span", { className: "min-w-0 flex-1 truncate", children: p.title }),
7152
7175
  /* @__PURE__ */ t(
7153
7176
  "span",
7154
7177
  {
7155
7178
  "aria-hidden": !0,
7156
7179
  className: "flex flex-shrink-0 items-center text-f1-foreground-secondary opacity-0 transition-opacity group-hover:opacity-100 group-focus-visible:opacity-100",
7157
- children: /* @__PURE__ */ t(le, { icon: s1, size: "sm" })
7180
+ children: /* @__PURE__ */ t(le, { icon: i1, size: "sm" })
7158
7181
  }
7159
7182
  )
7160
7183
  ]
7161
7184
  },
7162
- c
7185
+ h
7163
7186
  )) })
7164
7187
  ]
7165
7188
  }
@@ -7171,18 +7194,18 @@ const Yc = ({
7171
7194
  function R1(e) {
7172
7195
  return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;");
7173
7196
  }
7174
- function Kc(e, r, o) {
7197
+ function K0(e, r, o) {
7175
7198
  const n = o?.cursorPosition ?? e.length, s = o?.inlineCompletion ?? null, i = [];
7176
7199
  for (const f of r) {
7177
- const p = `@${f.name}`;
7178
- let C = 0;
7200
+ const C = `@${f.name}`;
7201
+ let p = 0;
7179
7202
  for (; ; ) {
7180
- const g = e.indexOf(p, C);
7181
- if (g === -1) break;
7182
- i.push({ start: g, end: g + p.length }), C = g + p.length;
7203
+ const h = e.indexOf(C, p);
7204
+ if (h === -1) break;
7205
+ i.push({ start: h, end: h + C.length }), p = h + C.length;
7183
7206
  }
7184
7207
  }
7185
- i.sort((f, p) => f.start - p.start);
7208
+ i.sort((f, C) => f.start - C.start);
7186
7209
  const l = [];
7187
7210
  let d = 0, c = !1;
7188
7211
  const u = (f) => {
@@ -7196,7 +7219,7 @@ function Kc(e, r, o) {
7196
7219
  u(f.start), l.push({ type: "mention", text: e.slice(f.start, f.end) }), d = f.end;
7197
7220
  return u(e.length), !c && s && n >= d && l.push({ type: "ghost", text: s }), l.length === 0 ? [{ type: "text", text: e }] : l;
7198
7221
  }
7199
- function Qc(e, r) {
7222
+ function Q0(e, r) {
7200
7223
  if (r === "*/*") return !0;
7201
7224
  if (r.endsWith("/*")) {
7202
7225
  const o = r.slice(0, r.indexOf("/"));
@@ -7204,23 +7227,23 @@ function Qc(e, r) {
7204
7227
  }
7205
7228
  return e === r;
7206
7229
  }
7207
- function Jc(e, r) {
7230
+ function J0(e, r) {
7208
7231
  if (!r) return e;
7209
7232
  const o = Array.isArray(r) ? r : [r];
7210
7233
  return o.length === 0 ? e : e.filter(
7211
- (n) => o.some((s) => Qc(n.type, s))
7234
+ (n) => o.some((s) => Q0(n.type, s))
7212
7235
  );
7213
7236
  }
7214
7237
  const e2 = 4e3;
7215
7238
  function t2(e) {
7216
- const [r, o] = I([]), [n, s] = I(null), i = j(
7239
+ const [r, o] = P([]), [n, s] = P(null), i = B(
7217
7240
  null
7218
- ), l = j(null), d = G(), c = e?.onUploadFiles, u = e?.allowedMimeTypes, f = e?.maxFiles, p = J(() => {
7241
+ ), l = B(null), d = G(), c = e?.onUploadFiles, u = e?.allowedMimeTypes, f = e?.maxFiles, C = J(() => {
7219
7242
  if (u)
7220
7243
  return Array.isArray(u) ? u.join(",") : u;
7221
- }, [u]), C = f !== void 0 && r.length >= f, g = j(0);
7244
+ }, [u]), p = f !== void 0 && r.length >= f, h = B(0);
7222
7245
  q(() => {
7223
- g.current = r.length;
7246
+ h.current = r.length;
7224
7247
  }, [r]);
7225
7248
  const m = _((T) => {
7226
7249
  i.current && clearTimeout(i.current), s(T), i.current = setTimeout(() => {
@@ -7236,9 +7259,9 @@ function t2(e) {
7236
7259
  const x = _(
7237
7260
  async (T) => {
7238
7261
  if (T.length === 0 || !c) return;
7239
- const V = Jc(T, u);
7262
+ const V = J0(T, u);
7240
7263
  if (V.length === 0) return;
7241
- if (f !== void 0 && g.current + V.length > f) {
7264
+ if (f !== void 0 && h.current + V.length > f) {
7242
7265
  m(
7243
7266
  d.ai.tooManyFilesError.replace(
7244
7267
  "{{maxFiles}}",
@@ -7266,7 +7289,7 @@ function t2(e) {
7266
7289
  }
7267
7290
  o(
7268
7291
  ($) => $.map((R) => {
7269
- const S = E.findIndex((B) => B.id === R.id);
7292
+ const S = E.findIndex((I) => I.id === R.id);
7270
7293
  return S === -1 ? R : L[S] ? {
7271
7294
  ...R,
7272
7295
  status: "uploaded",
@@ -7305,8 +7328,8 @@ function t2(e) {
7305
7328
  attachedFiles: r,
7306
7329
  fileInputRef: l,
7307
7330
  onUploadFiles: c,
7308
- acceptValue: p,
7309
- isAtMaxFiles: C,
7331
+ acceptValue: C,
7332
+ isAtMaxFiles: p,
7310
7333
  maxFiles: f,
7311
7334
  processFiles: x,
7312
7335
  handleFileSelect: v,
@@ -7394,7 +7417,7 @@ function i2({
7394
7417
  searchPersons: n,
7395
7418
  textareaRef: s
7396
7419
  }) {
7397
- const [i, l] = I(!1), [d, c] = I(""), [u, f] = I([]), [p, C] = I(!1), [g, m] = I(0), [x, v] = I([]), M = j(-1), A = j(null), T = j(0), V = j(-1);
7420
+ const [i, l] = P(!1), [d, c] = P(""), [u, f] = P([]), [C, p] = P(!1), [h, m] = P(0), [x, v] = P([]), M = B(-1), A = B(null), T = B(0), V = B(-1);
7398
7421
  q(() => {
7399
7422
  if (!n) {
7400
7423
  l(!1);
@@ -7407,15 +7430,15 @@ function i2({
7407
7430
  }
7408
7431
  if (S.atIndex === V.current)
7409
7432
  return;
7410
- M.current = S.atIndex, c(S.query), l(!0), m(0), C(!0), A.current && clearTimeout(A.current);
7411
- const B = ++T.current;
7433
+ M.current = S.atIndex, c(S.query), l(!0), m(0), p(!0), A.current && clearTimeout(A.current);
7434
+ const I = ++T.current;
7412
7435
  return A.current = setTimeout(() => {
7413
7436
  n(S.query).then((U) => {
7414
- B === T.current && (f(U), m(0), U.length === 0 && S.query.length > 0 && (V.current = S.atIndex, l(!1)));
7437
+ I === T.current && (f(U), m(0), U.length === 0 && S.query.length > 0 && (V.current = S.atIndex, l(!1)));
7415
7438
  }).catch(() => {
7416
- B === T.current && f([]);
7439
+ I === T.current && f([]);
7417
7440
  }).finally(() => {
7418
- B === T.current && C(!1);
7441
+ I === T.current && p(!1);
7419
7442
  });
7420
7443
  }, s2), () => {
7421
7444
  A.current && clearTimeout(A.current);
@@ -7425,9 +7448,9 @@ function i2({
7425
7448
  l(!1), c(""), f([]), m(0), M.current = -1;
7426
7449
  }, []), w = _(
7427
7450
  (S) => {
7428
- const B = M.current;
7429
- if (B === -1) return;
7430
- const U = `${S.firstName} ${S.lastName}`.trim(), O = String(S.id), z = e.slice(0, B), te = e.slice(o), oe = `@${U} `, X = z + oe + te, Y = z.length + oe.length;
7451
+ const I = M.current;
7452
+ if (I === -1) return;
7453
+ const U = `${S.firstName} ${S.lastName}`.trim(), O = String(S.id), z = e.slice(0, I), te = e.slice(o), oe = `@${U} `, X = z + oe + te, Y = z.length + oe.length;
7431
7454
  r(X), v((D) => [...D.filter((K) => !(K.id === O && K.name === U)), { id: O, name: U }]), E(), requestAnimationFrame(() => {
7432
7455
  const D = s.current;
7433
7456
  D && (D.focus(), D.setSelectionRange(Y, Y));
@@ -7442,45 +7465,45 @@ function i2({
7442
7465
  if (u.length === 0) return !1;
7443
7466
  switch (S.key) {
7444
7467
  case "ArrowDown":
7445
- return S.preventDefault(), m((B) => (B + 1) % u.length), !0;
7468
+ return S.preventDefault(), m((I) => (I + 1) % u.length), !0;
7446
7469
  case "ArrowUp":
7447
7470
  return S.preventDefault(), m(
7448
- (B) => (B + u.length - 1) % u.length
7471
+ (I) => (I + u.length - 1) % u.length
7449
7472
  ), !0;
7450
7473
  case "Tab": {
7451
- const B = u[g];
7452
- if (B) {
7453
- const U = `${B.firstName} ${B.lastName}`.trim();
7474
+ const I = u[h];
7475
+ if (I) {
7476
+ const U = `${I.firstName} ${I.lastName}`.trim();
7454
7477
  if (d.length === 0 || U.toLowerCase().startsWith(d.toLowerCase()))
7455
- return S.preventDefault(), w(B), !0;
7478
+ return S.preventDefault(), w(I), !0;
7456
7479
  }
7457
7480
  return !1;
7458
7481
  }
7459
7482
  case "Enter":
7460
- return S.preventDefault(), u[g] && w(u[g]), !0;
7483
+ return S.preventDefault(), u[h] && w(u[h]), !0;
7461
7484
  default:
7462
7485
  return !1;
7463
7486
  }
7464
7487
  },
7465
- [i, u, g, d, w, E]
7488
+ [i, u, h, d, w, E]
7466
7489
  ), L = _(
7467
7490
  (S) => {
7468
7491
  if (x.length === 0) return S;
7469
- let B = S;
7492
+ let I = S;
7470
7493
  const U = [...x].sort((O, z) => z.name.length - O.name.length);
7471
7494
  for (const O of U) {
7472
7495
  const z = `@${O.name}`, te = `<entity-ref type="person" id="${R1(O.id)}">${R1(O.name)}</entity-ref>`;
7473
- for (; B.includes(z); )
7474
- B = B.replace(z, te);
7496
+ for (; I.includes(z); )
7497
+ I = I.replace(z, te);
7475
7498
  }
7476
- return B;
7499
+ return I;
7477
7500
  },
7478
7501
  [x]
7479
7502
  );
7480
7503
  q(() => {
7481
7504
  v(
7482
- (S) => S.filter((B) => {
7483
- const U = `@${B.name}`, O = e.indexOf(U);
7505
+ (S) => S.filter((I) => {
7506
+ const U = `@${I.name}`, O = e.indexOf(U);
7484
7507
  if (O === -1) return !1;
7485
7508
  const z = e[O + U.length];
7486
7509
  return z === " " || z === `
@@ -7492,21 +7515,21 @@ function i2({
7492
7515
  if (!i || M.current === -1) return null;
7493
7516
  const S = s.current;
7494
7517
  if (!S) return null;
7495
- const B = n2(S, M.current), U = S.offsetLeft + B.left, z = (S.offsetParent ? S.offsetParent.offsetHeight : 0) - (S.offsetTop + B.top);
7518
+ const I = n2(S, M.current), U = S.offsetLeft + I.left, z = (S.offsetParent ? S.offsetParent.offsetHeight : 0) - (S.offsetTop + I.top);
7496
7519
  return { left: U, bottom: z };
7497
7520
  }, [i, e, o, s]), R = J(() => {
7498
7521
  if (!i || u.length === 0) return null;
7499
- const S = u[g];
7522
+ const S = u[h];
7500
7523
  if (!S) return null;
7501
- const B = `${S.firstName} ${S.lastName}`.trim();
7502
- return d.length === 0 ? B : B.toLowerCase().startsWith(d.toLowerCase()) ? B.slice(d.length) : null;
7503
- }, [i, u, g, d]);
7524
+ const I = `${S.firstName} ${S.lastName}`.trim();
7525
+ return d.length === 0 ? I : I.toLowerCase().startsWith(d.toLowerCase()) ? I.slice(d.length) : null;
7526
+ }, [i, u, h, d]);
7504
7527
  return {
7505
7528
  isOpen: i,
7506
7529
  query: d,
7507
7530
  results: u,
7508
- isLoading: p,
7509
- selectedIndex: g,
7531
+ isLoading: C,
7532
+ selectedIndex: h,
7510
7533
  mentions: x,
7511
7534
  popoverPosition: $,
7512
7535
  inlineCompletion: R,
@@ -7528,9 +7551,9 @@ const a2 = /[\\`*_{}[\]()#+\-.!|~>]/g, c2 = (e) => e.split(/(<entity-ref\b[^>]*>
7528
7551
  onPendingContextChange: c,
7529
7552
  pendingQuote: u = null,
7530
7553
  onPendingQuoteChange: f,
7531
- fileAttachments: p,
7532
- toolbarStart: C,
7533
- onTranscribe: g,
7554
+ fileAttachments: C,
7555
+ toolbarStart: p,
7556
+ onTranscribe: h,
7534
7557
  searchPersons: m,
7535
7558
  onProcessFilesRef: x,
7536
7559
  disclaimer: v,
@@ -7542,7 +7565,7 @@ const a2 = /[\\`*_{}[\]()#+\-.!|~>]/g, c2 = (e) => e.split(/(<entity-ref\b[^>]*>
7542
7565
  welcomeScreenCards: w,
7543
7566
  ref: N
7544
7567
  }) => {
7545
- const L = G(), $ = ke(), [R, S] = I(""), [B, U] = I(0), [O, z] = I(!1), [te, oe] = I(!1), [X, Y] = I(null), D = j(null), W = j(null), K = j(null), ae = l != null, { tracking: ue } = ye(), pe = _(
7568
+ const L = G(), $ = ke(), [R, S] = P(""), [I, U] = P(0), [O, z] = P(!1), [te, oe] = P(!1), [X, Y] = P(null), D = B(null), W = B(null), K = B(null), ae = l != null, { tracking: ue } = ye(), pe = _(
7546
7569
  (Q, Le) => {
7547
7570
  ue?.onWelcomeSuggestionClick?.({
7548
7571
  item: Q,
@@ -7558,35 +7581,35 @@ const a2 = /[\\`*_{}[\]()#+\-.!|~>]/g, c2 = (e) => e.split(/(<entity-ref\b[^>]*>
7558
7581
  acceptValue: b,
7559
7582
  isAtMaxFiles: F,
7560
7583
  maxFiles: y,
7561
- processFiles: P,
7584
+ processFiles: j,
7562
7585
  handleFileSelect: H,
7563
7586
  handleRemoveFile: Z,
7564
7587
  clearFiles: ce,
7565
7588
  transientError: fe,
7566
7589
  showTransientError: me
7567
- } = t2(p), ne = i2({
7590
+ } = t2(C), ne = i2({
7568
7591
  inputValue: R,
7569
7592
  setInputValue: S,
7570
- cursorPosition: B,
7593
+ cursorPosition: I,
7571
7594
  searchPersons: m,
7572
7595
  textareaRef: W
7573
- }), Ne = j(""), Ve = _((Q) => {
7574
- const Le = Ne.current, Je = Le && !/\s$/.test(Le) ? " " : "", Oe = `${Le}${Je}${Q}`;
7596
+ }), Ne = B(""), Ve = _((Q) => {
7597
+ const Le = Ne.current, e1 = Le && !/\s$/.test(Le) ? " " : "", Oe = `${Le}${e1}${Q}`;
7575
7598
  S(Oe), U(Oe.length);
7576
- }, []), qe = {
7599
+ }, []), Xe = {
7577
7600
  "permission-denied": L.ai.micPermissionDenied,
7578
7601
  "device-error": L.ai.micError,
7579
7602
  "transcription-failed": L.ai.transcriptionError
7580
7603
  }, xe = Tn({
7581
- onTranscribe: g,
7604
+ onTranscribe: h,
7582
7605
  onPartial: Ve,
7583
7606
  onFinal: (Q) => {
7584
7607
  Ve(Q), W.current?.focus();
7585
7608
  },
7586
- onError: (Q) => me(qe[Q])
7587
- }), Xe = !!g && xe.isSupported, Ye = _(() => {
7609
+ onError: (Q) => me(Xe[Q])
7610
+ }), Ye = !!h && xe.isSupported, Ke = _(() => {
7588
7611
  ue?.onDictationStart?.(), Ne.current = R, xe.start();
7589
- }, [R, xe, ue]), Ke = _(() => {
7612
+ }, [R, xe, ue]), Qe = _(() => {
7590
7613
  ue?.onDictationCancel?.(), xe.cancel();
7591
7614
  }, [xe, ue]);
7592
7615
  q(() => {
@@ -7594,12 +7617,12 @@ const a2 = /[\\`*_{}[\]()#+\-.!|~>]/g, c2 = (e) => e.split(/(<entity-ref\b[^>]*>
7594
7617
  }, []), q(() => {
7595
7618
  if (x)
7596
7619
  return x((Q) => {
7597
- P(Q);
7620
+ j(Q);
7598
7621
  }), () => {
7599
7622
  x(null);
7600
7623
  };
7601
- }, [x, P]);
7602
- const Pe = xe.status === "recording", Qe = Pe ? L.ai.listening : L.ai.inputPlaceholder, Ae = re.filter((Q) => Q.status === "uploaded"), Se = re.some((Q) => Q.status === "uploading"), je = re.some((Q) => Q.status === "error"), De = R.trim().length > 0 || Ae.length > 0;
7624
+ }, [x, j]);
7625
+ const Pe = xe.status === "recording", Je = Pe ? L.ai.listening : L.ai.inputPlaceholder, Ae = re.filter((Q) => Q.status === "uploaded"), Se = re.some((Q) => Q.status === "uploading"), je = re.some((Q) => Q.status === "error"), De = R.trim().length > 0 || Ae.length > 0;
7603
7626
  q(() => {
7604
7627
  if (!(!te || Se)) {
7605
7628
  if (oe(!1), je) {
@@ -7635,11 +7658,11 @@ const a2 = /[\\`*_{}[\]()#+\-.!|~>]/g, c2 = (e) => e.split(/(<entity-ref\b[^>]*>
7635
7658
  z(!1);
7636
7659
  }
7637
7660
  }
7638
- const Le = ne.transformMentions(R.trim()), Je = c2(Le), Oe = Ae.flatMap(
7661
+ const Le = ne.transformMentions(R.trim()), e1 = c2(Le), Oe = Ae.flatMap(
7639
7662
  (b1) => b1.uploadedFile ? [b1.uploadedFile] : []
7640
7663
  ), k1 = d, L1 = u;
7641
7664
  k1 && c?.(null), L1 && f?.(null), await e({
7642
- text: Je,
7665
+ text: e1,
7643
7666
  files: Oe,
7644
7667
  context: k1,
7645
7668
  quote: L1
@@ -7653,11 +7676,11 @@ const a2 = /[\\`*_{}[\]()#+\-.!|~>]/g, c2 = (e) => e.split(/(<entity-ref\b[^>]*>
7653
7676
  U(W.current?.selectionStart ?? 0);
7654
7677
  }, Er = () => {
7655
7678
  K.current && W.current && (K.current.scrollTop = W.current.scrollTop);
7656
- }, m1 = X ? X.prompt ?? X.title : null, v1 = Pe ? [L.ai.listening] : m1 ? [m1] : s ?? [], Rr = v1.length > 1, Fr = J(() => Kc(R, ne.mentions, {
7657
- cursorPosition: B,
7679
+ }, m1 = X ? X.prompt ?? X.title : null, v1 = Pe ? [L.ai.listening] : m1 ? [m1] : s ?? [], Rr = v1.length > 1, Fr = J(() => K0(R, ne.mentions, {
7680
+ cursorPosition: I,
7658
7681
  inlineCompletion: ne.inlineCompletion
7659
- }), [R, ne.mentions, B, ne.inlineCompletion]), Nr = ne.mentions.length > 0 || ne.inlineCompletion !== null, w1 = A && !!V && V.length > 0 && !!E ? /* @__PURE__ */ t(
7660
- Yc,
7682
+ }), [R, ne.mentions, I, ne.inlineCompletion]), Nr = ne.mentions.length > 0 || ne.inlineCompletion !== null, w1 = A && !!V && V.length > 0 && !!E ? /* @__PURE__ */ t(
7683
+ Y0,
7661
7684
  {
7662
7685
  suggestions: V,
7663
7686
  onItemClick: pe,
@@ -7681,7 +7704,7 @@ const a2 = /[\\`*_{}[\]()#+\-.!|~>]/g, c2 = (e) => e.split(/(<entity-ref\b[^>]*>
7681
7704
  children: [
7682
7705
  /* @__PURE__ */ a("div", { className: "flex w-full max-w-content flex-col gap-2", children: [
7683
7706
  w1 && /* @__PURE__ */ t("div", { children: w1 }),
7684
- /* @__PURE__ */ t(Zc, { creditWarning: i, children: /* @__PURE__ */ a(
7707
+ /* @__PURE__ */ t(Z0, { creditWarning: i, children: /* @__PURE__ */ a(
7685
7708
  ee.form,
7686
7709
  {
7687
7710
  "aria-busy": o,
@@ -7720,7 +7743,7 @@ const a2 = /[\\`*_{}[\]()#+\-.!|~>]/g, c2 = (e) => e.split(/(<entity-ref\b[^>]*>
7720
7743
  onSubmit: Ze,
7721
7744
  children: [
7722
7745
  /* @__PURE__ */ t(
7723
- _c,
7746
+ _0,
7724
7747
  {
7725
7748
  isOpen: ne.isOpen,
7726
7749
  results: ne.results,
@@ -7771,7 +7794,7 @@ const a2 = /[\\`*_{}[\]()#+\-.!|~>]/g, c2 = (e) => e.split(/(<entity-ref\b[^>]*>
7771
7794
  },
7772
7795
  children: [
7773
7796
  u && /* @__PURE__ */ t(
7774
- Oc,
7797
+ O0,
7775
7798
  {
7776
7799
  quote: u,
7777
7800
  onRemove: () => f?.(null)
@@ -7807,7 +7830,7 @@ const a2 = /[\\`*_{}[\]()#+\-.!|~>]/g, c2 = (e) => e.split(/(<entity-ref\b[^>]*>
7807
7830
  "transient-error"
7808
7831
  ) }),
7809
7832
  /* @__PURE__ */ t(
7810
- Pc,
7833
+ P0,
7811
7834
  {
7812
7835
  attachedFiles: re,
7813
7836
  isUploading: Se,
@@ -7816,7 +7839,7 @@ const a2 = /[\\`*_{}[\]()#+\-.!|~>]/g, c2 = (e) => e.split(/(<entity-ref\b[^>]*>
7816
7839
  }
7817
7840
  ),
7818
7841
  /* @__PURE__ */ t(
7819
- zc,
7842
+ z0,
7820
7843
  {
7821
7844
  textareaRef: W,
7822
7845
  highlightRef: K,
@@ -7831,15 +7854,15 @@ const a2 = /[\\`*_{}[\]()#+\-.!|~>]/g, c2 = (e) => e.split(/(<entity-ref\b[^>]*>
7831
7854
  hasOverlay: Nr,
7832
7855
  multiplePlaceholders: Rr,
7833
7856
  placeholders: v1,
7834
- resolvedDefaultPlaceholder: Qe,
7857
+ resolvedDefaultPlaceholder: Je,
7835
7858
  inProgress: o
7836
7859
  }
7837
7860
  ),
7838
7861
  /* @__PURE__ */ t(
7839
- Ic,
7862
+ I0,
7840
7863
  {
7841
7864
  onUploadFiles: we,
7842
- toolbarStart: C,
7865
+ toolbarStart: p,
7843
7866
  isAtMaxFiles: F,
7844
7867
  maxFiles: y,
7845
7868
  acceptValue: b,
@@ -7848,12 +7871,12 @@ const a2 = /[\\`*_{}[\]()#+\-.!|~>]/g, c2 = (e) => e.split(/(<entity-ref\b[^>]*>
7848
7871
  inProgress: o,
7849
7872
  hasDataToSend: De,
7850
7873
  isPreSending: O || te,
7851
- canRecord: Xe,
7874
+ canRecord: Ye,
7852
7875
  recordingStatus: xe.status,
7853
7876
  recordingStream: xe.stream,
7854
- onStartRecording: Ye,
7877
+ onStartRecording: Ke,
7855
7878
  onStopRecording: xe.stop,
7856
- onCancelRecording: Ke
7879
+ onCancelRecording: Qe
7857
7880
  }
7858
7881
  )
7859
7882
  ]
@@ -7864,7 +7887,7 @@ const a2 = /[\\`*_{}[\]()#+\-.!|~>]/g, c2 = (e) => e.split(/(<entity-ref\b[^>]*>
7864
7887
  }
7865
7888
  ) })
7866
7889
  ] }),
7867
- Vr && /* @__PURE__ */ t("div", { className: "w-full max-w-content pt-2", children: /* @__PURE__ */ t(Wc, { cards: w }) }),
7890
+ Vr && /* @__PURE__ */ t("div", { className: "w-full max-w-content pt-2", children: /* @__PURE__ */ t(W0, { cards: w }) }),
7868
7891
  M && A && T && /* @__PURE__ */ t("div", { className: "w-full py-4 mx-auto flex max-w-content justify-center", children: M }),
7869
7892
  /* @__PURE__ */ t(Ee, { mode: "wait", initial: !1, children: ae ? /* @__PURE__ */ a(
7870
7893
  ee.div,
@@ -8093,7 +8116,7 @@ function w2({
8093
8116
  title: r,
8094
8117
  ...o
8095
8118
  }) {
8096
- const n = G(), s = j(null), i = _(
8119
+ const n = G(), s = B(null), i = _(
8097
8120
  (l) => {
8098
8121
  if (!s.current) return;
8099
8122
  const d = r?.replace(/\s+/g, "_").toLowerCase() || "table";
@@ -8254,25 +8277,25 @@ function He({
8254
8277
  mapToCard: n,
8255
8278
  fallbackCard: s
8256
8279
  }) {
8257
- const i = j(/* @__PURE__ */ new Map()), [l, d] = I(
8280
+ const i = B(/* @__PURE__ */ new Map()), [l, d] = P(
8258
8281
  () => i.current.get(e) ?? null
8259
- ), [c, u] = I(!1), [f, p] = I(!1), C = j(!0);
8282
+ ), [c, u] = P(!1), [f, C] = P(!1), p = B(!0);
8260
8283
  q(() => () => {
8261
- C.current = !1;
8284
+ p.current = !1;
8262
8285
  }, []);
8263
- const g = _(() => {
8286
+ const h = _(() => {
8264
8287
  if (l || c) return;
8265
8288
  const x = i.current.get(e);
8266
8289
  if (x) {
8267
8290
  d(x);
8268
8291
  return;
8269
8292
  }
8270
- u(!0), p(!1), o(e).then((v) => {
8271
- i.current.set(e, v), C.current && d(v);
8293
+ u(!0), C(!1), o(e).then((v) => {
8294
+ i.current.set(e, v), p.current && d(v);
8272
8295
  }).catch(() => {
8273
- C.current && p(!0);
8296
+ p.current && C(!0);
8274
8297
  }).finally(() => {
8275
- C.current && u(!1);
8298
+ p.current && u(!1);
8276
8299
  });
8277
8300
  }, [o, e, l, c]), m = f || !l ? s : n(l);
8278
8301
  return /* @__PURE__ */ a(
@@ -8281,7 +8304,7 @@ function He({
8281
8304
  openDelay: 300,
8282
8305
  closeDelay: 100,
8283
8306
  onOpenChange: (x) => {
8284
- x && g();
8307
+ x && h();
8285
8308
  },
8286
8309
  children: [
8287
8310
  /* @__PURE__ */ t(Pn, { asChild: !0, children: r }),
@@ -8298,7 +8321,7 @@ function He({
8298
8321
  }
8299
8322
  );
8300
8323
  }
8301
- const er = h(
8324
+ const er = g(
8302
8325
  ({ label: e, ...r }, o) => /* @__PURE__ */ t(
8303
8326
  "button",
8304
8327
  {
@@ -8373,7 +8396,7 @@ function F2({
8373
8396
  }
8374
8397
  ) : /* @__PURE__ */ t("span", { children: r });
8375
8398
  }
8376
- const tr = h(
8399
+ const tr = g(
8377
8400
  ({ label: e, ...r }, o) => /* @__PURE__ */ t(
8378
8401
  "button",
8379
8402
  {
@@ -8429,7 +8452,7 @@ function N2({ id: e, label: r }) {
8429
8452
  }
8430
8453
  ) : /* @__PURE__ */ t("span", { children: r });
8431
8454
  }
8432
- const rr = h(
8455
+ const rr = g(
8433
8456
  ({ label: e, ...r }, o) => /* @__PURE__ */ t(
8434
8457
  "button",
8435
8458
  {
@@ -8490,7 +8513,7 @@ function S2({ rows: e }) {
8490
8513
  /* @__PURE__ */ t("div", { className: "flex items-center gap-1.5 font-medium text-f1-foreground", children: r.value })
8491
8514
  ] }, r.label ?? o)) });
8492
8515
  }
8493
- const or = h(
8516
+ const or = g(
8494
8517
  ({ label: e, ...r }, o) => /* @__PURE__ */ t(
8495
8518
  "button",
8496
8519
  {
@@ -8512,7 +8535,7 @@ function T2({
8512
8535
  }) {
8513
8536
  const { entityRefs: o } = ye(), n = o?.resolvers?.requisition, s = G(), i = o?.urls?.requisition?.(e), l = J(
8514
8537
  () => (c) => {
8515
- const u = c.lineManager ? `${c.lineManager.firstName} ${c.lineManager.lastName}` : void 0, p = [
8538
+ const u = c.lineManager ? `${c.lineManager.firstName} ${c.lineManager.lastName}` : void 0, C = [
8516
8539
  c.status ? {
8517
8540
  label: s.t("ai.entityRef.requisition.status"),
8518
8541
  value: /* @__PURE__ */ t("div", { className: "flex items-center pt-1", children: /* @__PURE__ */ t(
@@ -8527,7 +8550,7 @@ function T2({
8527
8550
  label: s.t("ai.entityRef.requisition.lineManager"),
8528
8551
  value: /* @__PURE__ */ a("div", { className: "flex items-center gap-1.5 pt-1", children: [
8529
8552
  /* @__PURE__ */ t(
8530
- bt,
8553
+ Lt,
8531
8554
  {
8532
8555
  firstName: c.lineManager.firstName,
8533
8556
  lastName: c.lineManager.lastName,
@@ -8543,13 +8566,13 @@ function T2({
8543
8566
  value: c.reason
8544
8567
  } : void 0
8545
8568
  ].filter(
8546
- (C) => C !== void 0
8569
+ (p) => p !== void 0
8547
8570
  );
8548
8571
  return {
8549
8572
  title: c.title,
8550
8573
  ...c.location && { description: c.location },
8551
- ...p.length > 0 && {
8552
- children: /* @__PURE__ */ t(S2, { rows: p })
8574
+ ...C.length > 0 && {
8575
+ children: /* @__PURE__ */ t(S2, { rows: C })
8553
8576
  },
8554
8577
  ...i && {
8555
8578
  secondaryActions: {
@@ -8583,7 +8606,7 @@ function T2({
8583
8606
  }
8584
8607
  ) : /* @__PURE__ */ t("span", { children: r });
8585
8608
  }
8586
- const nr = h(
8609
+ const nr = g(
8587
8610
  ({ label: e, ...r }, o) => /* @__PURE__ */ a(
8588
8611
  "button",
8589
8612
  {
@@ -8644,7 +8667,7 @@ function H2({ id: e, label: r }) {
8644
8667
  }
8645
8668
  ) : /* @__PURE__ */ t("span", { children: r });
8646
8669
  }
8647
- const sr = h(
8670
+ const sr = g(
8648
8671
  ({ label: e, ...r }, o) => /* @__PURE__ */ t(
8649
8672
  "button",
8650
8673
  {
@@ -8707,8 +8730,8 @@ const $2 = {
8707
8730
  function B2(e) {
8708
8731
  return $2[e];
8709
8732
  }
8710
- function o1(e) {
8711
- return typeof e == "string" ? e : typeof e == "number" ? String(e) : Array.isArray(e) ? e.map(o1).join("") : e && typeof e == "object" && "props" in e ? o1(e.props.children) : "";
8733
+ function n1(e) {
8734
+ return typeof e == "string" ? e : typeof e == "number" ? String(e) : Array.isArray(e) ? e.map(n1).join("") : e && typeof e == "object" && "props" in e ? n1(e.props.children) : "";
8712
8735
  }
8713
8736
  function I2({
8714
8737
  type: e,
@@ -8717,7 +8740,7 @@ function I2({
8717
8740
  }) {
8718
8741
  if (!r || !e)
8719
8742
  return /* @__PURE__ */ t("span", { children: o });
8720
- const n = o1(o), s = B2(e);
8743
+ const n = n1(o), s = B2(e);
8721
8744
  return s ? /* @__PURE__ */ t(s, { id: r, label: n }) : /* @__PURE__ */ t("span", { children: o });
8722
8745
  }
8723
8746
  const _6 = {
@@ -8761,7 +8784,7 @@ function ir({
8761
8784
  onClick: c,
8762
8785
  children: [
8763
8786
  /* @__PURE__ */ a("div", { className: "flex w-full min-w-0 flex-row items-center gap-3", children: [
8764
- e?.type === "module" && /* @__PURE__ */ t(yt, { module: e.module, size: "md" }),
8787
+ e?.type === "module" && /* @__PURE__ */ t(bt, { module: e.module, size: "md" }),
8765
8788
  e?.type === "file" && /* @__PURE__ */ t(Zn, { file: e.file, size: "lg" }),
8766
8789
  /* @__PURE__ */ a("div", { className: "flex min-w-0 flex-1 flex-col", children: [
8767
8790
  /* @__PURE__ */ t(ie, { className: "text-lg font-semibold text-f1-foreground", children: r }),
@@ -8794,11 +8817,11 @@ function ir({
8794
8817
  );
8795
8818
  }
8796
8819
  ir.displayName = "F0CanvasCard";
8797
- const C1 = Ge(null);
8820
+ const C1 = We(null);
8798
8821
  function O6({
8799
8822
  children: e
8800
8823
  }) {
8801
- const [r, o] = I(0), n = j([]), s = _(
8824
+ const [r, o] = P(0), n = B([]), s = _(
8802
8825
  (l) => {
8803
8826
  const d = n.current, c = d.findIndex(
8804
8827
  (f) => f.formName === l.formName && f.customFieldName === l.customFieldName
@@ -8823,8 +8846,8 @@ function P2(e) {
8823
8846
  for (const c of o) {
8824
8847
  const u = c.formName === void 0 || c.formName === e, f = c.customFieldName === void 0 || c.customFieldName === i.customFieldName;
8825
8848
  if (!u || !f) continue;
8826
- let p = 0;
8827
- c.formName !== void 0 && (p += 2), c.customFieldName !== void 0 && (p += 1), p > d && (d = p, l = c);
8849
+ let C = 0;
8850
+ c.formName !== void 0 && (C += 2), c.customFieldName !== void 0 && (C += 1), C > d && (d = C, l = c);
8828
8851
  }
8829
8852
  if (l)
8830
8853
  return l.format(s, { key: n, ...i });
@@ -8898,7 +8921,7 @@ function cr({
8898
8921
  formValues: l,
8899
8922
  valueFormatter: d
8900
8923
  }) {
8901
- const { canvasContent: c, openCanvas: u, closeCanvas: f } = ye(), p = P2(e), C = d ?? p, g = j(() => {
8924
+ const { canvasContent: c, openCanvas: u, closeCanvas: f } = ye(), C = P2(e), p = d ?? C, h = B(() => {
8902
8925
  }), m = n ?? e, x = s ?? r ?? "", v = c?.type === "form" && c.formName === e, M = () => u({
8903
8926
  type: "form",
8904
8927
  title: m,
@@ -8907,11 +8930,11 @@ function cr({
8907
8930
  formDescription: r,
8908
8931
  formModule: o
8909
8932
  });
8910
- g.current = M, q(() => {
8911
- typeof window > "u" || window.innerWidth < j2 || N1.has(e) || (N1.add(e), g.current());
8933
+ h.current = M, q(() => {
8934
+ typeof window > "u" || window.innerWidth < j2 || N1.has(e) || (N1.add(e), h.current());
8912
8935
  }, [e]);
8913
8936
  const A = i && l ? Object.entries(i).map(([E, w]) => {
8914
- const N = l[E], L = C?.(E, N, {
8937
+ const N = l[E], L = p?.(E, N, {
8915
8938
  fieldType: w.fieldType,
8916
8939
  customFieldName: w.customFieldName
8917
8940
  });
@@ -8991,7 +9014,7 @@ function lr({
8991
9014
  containerRef: e,
8992
9015
  enabled: r = !0
8993
9016
  }) {
8994
- const [o, n] = I(null), s = _(() => n(null), []);
9017
+ const [o, n] = P(null), s = _(() => n(null), []);
8995
9018
  return q(() => {
8996
9019
  if (!r || typeof window > "u") return;
8997
9020
  const i = e.current;
@@ -9016,7 +9039,7 @@ function lr({
9016
9039
  }
9017
9040
  const H1 = 8, $e = 8;
9018
9041
  function dr({ anchor: e, onReply: r }) {
9019
- const o = G(), n = j(null), [s, i] = I(
9042
+ const o = G(), n = B(null), [s, i] = P(
9020
9043
  null
9021
9044
  );
9022
9045
  if (rt(() => {
@@ -9026,17 +9049,17 @@ function dr({ anchor: e, onReply: r }) {
9026
9049
  }
9027
9050
  const d = n.current;
9028
9051
  if (!d) return;
9029
- const c = d.offsetWidth, u = d.offsetHeight, f = window.innerWidth, p = window.innerHeight;
9030
- let C = e.rect.top - u - H1;
9031
- C < $e && (C = e.rect.bottom + H1), C = Math.min(
9032
- Math.max(C, $e),
9033
- p - u - $e
9052
+ const c = d.offsetWidth, u = d.offsetHeight, f = window.innerWidth, C = window.innerHeight;
9053
+ let p = e.rect.top - u - H1;
9054
+ p < $e && (p = e.rect.bottom + H1), p = Math.min(
9055
+ Math.max(p, $e),
9056
+ C - u - $e
9034
9057
  );
9035
- const g = e.rect.left + e.rect.width / 2 - c / 2, m = Math.min(
9036
- Math.max(g, $e),
9058
+ const h = e.rect.left + e.rect.width / 2 - c / 2, m = Math.min(
9059
+ Math.max(h, $e),
9037
9060
  f - c - $e
9038
9061
  );
9039
- i({ top: C, left: m });
9062
+ i({ top: p, left: m });
9040
9063
  }, [e]), typeof document > "u" || !e) return null;
9041
9064
  const l = o.ai.reply;
9042
9065
  return Tt(
@@ -9060,7 +9083,7 @@ function dr({ anchor: e, onReply: r }) {
9060
9083
  type: "button",
9061
9084
  variant: "ghost",
9062
9085
  label: l,
9063
- icon: vt,
9086
+ icon: mt,
9064
9087
  onClick: () => {
9065
9088
  r(e.text);
9066
9089
  }
@@ -9071,7 +9094,7 @@ function dr({ anchor: e, onReply: r }) {
9071
9094
  document.body
9072
9095
  );
9073
9096
  }
9074
- const fr = Ge(void 0), z6 = () => Ie(fr), G2 = (e) => /* @__PURE__ */ t(Mt, { content: e, format: "markdown" }), W2 = ({
9097
+ const fr = We(void 0), z6 = () => Ie(fr), G2 = (e) => /* @__PURE__ */ t(yt, { content: e, format: "markdown" }), W2 = ({
9075
9098
  isGenerating: e,
9076
9099
  isLoading: r,
9077
9100
  message: o,
@@ -9080,8 +9103,8 @@ const fr = Ge(void 0), z6 = () => Ie(fr), G2 = (e) => /* @__PURE__ */ t(Mt, { co
9080
9103
  onRendered: i,
9081
9104
  renderMarkdown: l
9082
9105
  }) => {
9083
- const d = typeof o?.content == "string" ? o.content : "", c = (o && n?.(o)) ?? o?.generativeUI?.() ?? null, u = o?.toolCalls?.[0]?.id, f = !d && !c, p = j(null), { anchor: C, clear: g } = lr({
9084
- containerRef: p,
9106
+ const d = typeof o?.content == "string" ? o.content : "", c = (o && n?.(o)) ?? o?.generativeUI?.() ?? null, u = o?.toolCalls?.[0]?.id, f = !d && !c, C = B(null), { anchor: p, clear: h } = lr({
9107
+ containerRef: C,
9085
9108
  enabled: !!(o?.id && d)
9086
9109
  });
9087
9110
  return q(() => {
@@ -9090,7 +9113,7 @@ const fr = Ge(void 0), z6 = () => Ie(fr), G2 = (e) => /* @__PURE__ */ t(Mt, { co
9090
9113
  o && d && /* @__PURE__ */ t(
9091
9114
  "div",
9092
9115
  {
9093
- ref: p,
9116
+ ref: C,
9094
9117
  className: "w-full max-w-full [&>div]:flex [&>div]:flex-col [&>div]:gap-1",
9095
9118
  children: (l ?? G2)(d)
9096
9119
  }
@@ -9099,9 +9122,9 @@ const fr = Ge(void 0), z6 = () => Ie(fr), G2 = (e) => /* @__PURE__ */ t(Mt, { co
9099
9122
  /* @__PURE__ */ t(
9100
9123
  dr,
9101
9124
  {
9102
- anchor: C,
9125
+ anchor: p,
9103
9126
  onReply: (m) => {
9104
- s?.(m), g(), window.getSelection()?.removeAllRanges();
9127
+ s?.(m), h(), window.getSelection()?.removeAllRanges();
9105
9128
  }
9106
9129
  }
9107
9130
  )
@@ -9112,24 +9135,24 @@ const fr = Ge(void 0), z6 = () => Ie(fr), G2 = (e) => /* @__PURE__ */ t(Mt, { co
9112
9135
  reactionType: o,
9113
9136
  message: n
9114
9137
  }) => {
9115
- const [s, i] = I(""), l = G(), { title: d, label: c, placeholder: u } = o === "like" ? l.ai.feedbackModal.positive : l.ai.feedbackModal.negative, f = _(() => {
9138
+ const [s, i] = P(""), l = G(), { title: d, label: c, placeholder: u } = o === "like" ? l.ai.feedbackModal.positive : l.ai.feedbackModal.negative, f = _(() => {
9116
9139
  r(n, s);
9117
- }, [s, n, r]), p = () => {
9140
+ }, [s, n, r]), C = () => {
9118
9141
  e(n);
9119
9142
  };
9120
9143
  return q(() => {
9121
- const C = (g) => {
9122
- g.key === "Enter" && (g.preventDefault(), f());
9144
+ const p = (h) => {
9145
+ h.key === "Enter" && (h.preventDefault(), f());
9123
9146
  };
9124
- return document.addEventListener("keydown", C), () => {
9125
- document.removeEventListener("keydown", C);
9147
+ return document.addEventListener("keydown", p), () => {
9148
+ document.removeEventListener("keydown", p);
9126
9149
  };
9127
9150
  }, [f]), /* @__PURE__ */ t(
9128
9151
  zn,
9129
9152
  {
9130
9153
  position: "center",
9131
9154
  isOpen: !0,
9132
- onClose: p,
9155
+ onClose: C,
9133
9156
  width: "md",
9134
9157
  title: d,
9135
9158
  container: null,
@@ -9139,7 +9162,7 @@ const fr = Ge(void 0), z6 = () => Ie(fr), G2 = (e) => /* @__PURE__ */ t(Mt, { co
9139
9162
  },
9140
9163
  secondaryAction: {
9141
9164
  label: l.actions.cancel,
9142
- onClick: p
9165
+ onClick: C
9143
9166
  },
9144
9167
  children: /* @__PURE__ */ t("div", { className: "flex flex-col gap-6", children: /* @__PURE__ */ t(
9145
9168
  Gn,
@@ -9148,15 +9171,15 @@ const fr = Ge(void 0), z6 = () => Ie(fr), G2 = (e) => /* @__PURE__ */ t(Mt, { co
9148
9171
  label: c,
9149
9172
  placeholder: u,
9150
9173
  value: s,
9151
- onChange: (C) => i(C.trim()),
9174
+ onChange: (p) => i(p.trim()),
9152
9175
  size: "md",
9153
9176
  type: "text"
9154
9177
  }
9155
9178
  ) })
9156
9179
  }
9157
9180
  );
9158
- }, ur = Ge(null), X2 = ({ children: e }) => {
9159
- const [r, o] = I(null), n = r ? {
9181
+ }, ur = We(null), X2 = ({ children: e }) => {
9182
+ const [r, o] = P(null), n = r ? {
9160
9183
  isOpen: !0,
9161
9184
  currentReaction: r.action,
9162
9185
  currentMessage: r.message,
@@ -9191,7 +9214,7 @@ const K2 = ({
9191
9214
  targetMessage: r,
9192
9215
  onCopy: o
9193
9216
  }) => {
9194
- const n = G(), { open: s } = hr(), [i, l] = I(null);
9217
+ const n = G(), { open: s } = hr(), [i, l] = P(null);
9195
9218
  return /* @__PURE__ */ a("div", { className: "flex", children: [
9196
9219
  /* @__PURE__ */ t(
9197
9220
  Wn,
@@ -9256,18 +9279,18 @@ const K2 = ({
9256
9279
  onOpenChange: i,
9257
9280
  lockOpen: l = !1
9258
9281
  }) => {
9259
- const [d, c] = I(s), u = ke(), f = n !== void 0, p = f ? n : d;
9282
+ const [d, c] = P(s), u = ke(), f = n !== void 0, C = f ? n : d;
9260
9283
  return /* @__PURE__ */ a(
9261
- Et,
9284
+ Mt,
9262
9285
  {
9263
9286
  className: "mb-1 w-full",
9264
- open: p,
9265
- onOpenChange: (g) => {
9266
- l || (f || c(g), i?.(g));
9287
+ open: C,
9288
+ onOpenChange: (h) => {
9289
+ l || (f || c(h), i?.(h));
9267
9290
  },
9268
9291
  children: [
9269
9292
  /* @__PURE__ */ a(
9270
- Rt,
9293
+ Et,
9271
9294
  {
9272
9295
  disabled: l,
9273
9296
  className: k(
@@ -9277,18 +9300,18 @@ const K2 = ({
9277
9300
  children: [
9278
9301
  /* @__PURE__ */ t("span", { className: "flex items-center justify-start h-6 w-6", children: /* @__PURE__ */ t(le, { icon: e, className: "block" }) }),
9279
9302
  /* @__PURE__ */ t("div", { className: "min-h-6 flex items-center", children: /* @__PURE__ */ t("span", { children: r }) }),
9280
- !l && /* @__PURE__ */ t(le, { icon: We })
9303
+ !l && /* @__PURE__ */ t(le, { icon: qe })
9281
9304
  ]
9282
9305
  }
9283
9306
  ),
9284
- /* @__PURE__ */ t(Ft, { forceMount: !0, className: "data-[state=open]:mt-3", children: /* @__PURE__ */ t(
9307
+ /* @__PURE__ */ t(Rt, { forceMount: !0, className: "data-[state=open]:mt-3", children: /* @__PURE__ */ t(
9285
9308
  ee.div,
9286
9309
  {
9287
9310
  initial: !1,
9288
9311
  animate: {
9289
- height: p ? "auto" : 0,
9290
- opacity: p ? 1 : 0,
9291
- visibility: p ? "visible" : "hidden"
9312
+ height: C ? "auto" : 0,
9313
+ opacity: C ? 1 : 0,
9314
+ visibility: C ? "visible" : "hidden"
9292
9315
  },
9293
9316
  transition: {
9294
9317
  duration: u ? 0 : 0.15,
@@ -9307,11 +9330,11 @@ const K2 = ({
9307
9330
  inProgress: o,
9308
9331
  isWriting: n
9309
9332
  }) => {
9310
- const s = G(), [i, l] = I(!!o), d = j(o);
9333
+ const s = G(), [i, l] = P(!!o), d = B(o);
9311
9334
  q(() => {
9312
9335
  d.current && !o ? l(!1) : o && !i && l(!0), d.current = o;
9313
9336
  }, [o, i]);
9314
- const c = o ? s.ai.thoughtsGroupTitle : r ?? s.ai.thoughtsGroupTitle, u = e.length - 1, f = (p) => !o || n ? "completed" : p === u ? "executing" : "completed";
9337
+ const c = o ? s.ai.thoughtsGroupTitle : r ?? s.ai.thoughtsGroupTitle, u = e.length - 1, f = (C) => !o || n ? "completed" : C === u ? "executing" : "completed";
9315
9338
  return /* @__PURE__ */ t(
9316
9339
  Q2,
9317
9340
  {
@@ -9320,23 +9343,23 @@ const K2 = ({
9320
9343
  open: i,
9321
9344
  onOpenChange: l,
9322
9345
  lockOpen: o,
9323
- children: /* @__PURE__ */ t("div", { className: "flex flex-col gap-3 pb-4", children: e.map((p, C) => /* @__PURE__ */ a("div", { className: "relative", children: [
9346
+ children: /* @__PURE__ */ t("div", { className: "flex flex-col gap-3 pb-4", children: e.map((C, p) => /* @__PURE__ */ a("div", { className: "relative", children: [
9324
9347
  /* @__PURE__ */ t(
9325
- r1,
9348
+ o1,
9326
9349
  {
9327
- title: p,
9328
- status: f(C),
9350
+ title: C,
9351
+ status: f(p),
9329
9352
  inGroup: !0
9330
9353
  }
9331
9354
  ),
9332
- C < e.length - 1 && /* @__PURE__ */ t(
9355
+ p < e.length - 1 && /* @__PURE__ */ t(
9333
9356
  "div",
9334
9357
  {
9335
9358
  "aria-hidden": !0,
9336
9359
  className: "absolute -bottom-3 left-2 ml-px top-5 w-px bg-f1-border-secondary rounded"
9337
9360
  }
9338
9361
  )
9339
- ] }, C)) })
9362
+ ] }, p)) })
9340
9363
  }
9341
9364
  );
9342
9365
  };
@@ -9359,11 +9382,11 @@ function tl(e, r) {
9359
9382
  (n) => typeof n?.filename == "string" && typeof n?.mimetype == "string" && typeof n?.url == "string"
9360
9383
  );
9361
9384
  }
9362
- const gr = (e) => /* @__PURE__ */ t(Mt, { content: e, format: "markdown" }), rl = ({
9385
+ const gr = (e) => /* @__PURE__ */ t(yt, { content: e, format: "markdown" }), rl = ({
9363
9386
  text: e,
9364
9387
  renderMarkdown: r
9365
9388
  }) => /* @__PURE__ */ a("div", { className: "flex max-w-[90%] items-start gap-2 self-end pb-1 pr-2 text-f1-foreground-tertiary", children: [
9366
- /* @__PURE__ */ t("div", { className: "flex h-5 items-center", children: /* @__PURE__ */ t(le, { icon: a1 }) }),
9389
+ /* @__PURE__ */ t("div", { className: "flex h-5 items-center", children: /* @__PURE__ */ t(le, { icon: c1 }) }),
9367
9390
  /* @__PURE__ */ t("div", { className: "min-w-0 whitespace-pre-wrap text-base leading-5 [&>div]:flex [&>div]:flex-col [&>div]:gap-1 [&_p]:m-0", children: (r ?? gr)(e) })
9368
9391
  ] }), ol = ({
9369
9392
  message: e,
@@ -9371,7 +9394,7 @@ const gr = (e) => /* @__PURE__ */ t(Mt, { content: e, format: "markdown" }), rl
9371
9394
  autoScrollIntoView: o = !0,
9372
9395
  renderMarkdown: n
9373
9396
  }) => {
9374
- const s = j(null), i = j(null);
9397
+ const s = B(null), i = B(null);
9375
9398
  q(() => {
9376
9399
  !s.current || !o || s.current.scrollIntoView({
9377
9400
  behavior: "smooth"
@@ -9380,7 +9403,7 @@ const gr = (e) => /* @__PURE__ */ t(Mt, { content: e, format: "markdown" }), rl
9380
9403
  const l = e.rawData, d = tl(
9381
9404
  e?.content,
9382
9405
  l
9383
- ), c = (el(e?.content) ?? "").trim(), u = e?.replyQuote ?? null, f = c.length > 0, { anchor: p, clear: C } = lr({
9406
+ ), c = (el(e?.content) ?? "").trim(), u = e?.replyQuote ?? null, f = c.length > 0, { anchor: C, clear: p } = lr({
9384
9407
  containerRef: i,
9385
9408
  enabled: f
9386
9409
  });
@@ -9391,13 +9414,13 @@ const gr = (e) => /* @__PURE__ */ t(Mt, { content: e, format: "markdown" }), rl
9391
9414
  className: "my-4 flex w-full flex-col items-end gap-2 first:mt-0 last:mb-0",
9392
9415
  children: [
9393
9416
  u && /* @__PURE__ */ t(rl, { text: u, renderMarkdown: n }),
9394
- d.length > 0 && /* @__PURE__ */ t("div", { className: "flex max-w-[90%] flex-wrap justify-end gap-1.5", children: d.map((g, m) => /* @__PURE__ */ t(
9395
- kt,
9417
+ d.length > 0 && /* @__PURE__ */ t("div", { className: "flex max-w-[90%] flex-wrap justify-end gap-1.5", children: d.map((h, m) => /* @__PURE__ */ t(
9418
+ xt,
9396
9419
  {
9397
- file: { name: g.filename, type: g.mimetype },
9420
+ file: { name: h.filename, type: h.mimetype },
9398
9421
  size: "lg"
9399
9422
  },
9400
- `${g.filename}-${m}`
9423
+ `${h.filename}-${m}`
9401
9424
  )) }),
9402
9425
  f && /* @__PURE__ */ t(
9403
9426
  "div",
@@ -9410,9 +9433,9 @@ const gr = (e) => /* @__PURE__ */ t(Mt, { content: e, format: "markdown" }), rl
9410
9433
  /* @__PURE__ */ t(
9411
9434
  dr,
9412
9435
  {
9413
- anchor: p,
9414
- onReply: (g) => {
9415
- r?.(g), C(), window.getSelection()?.removeAllRanges();
9436
+ anchor: C,
9437
+ onReply: (h) => {
9438
+ r?.(h), p(), window.getSelection()?.removeAllRanges();
9416
9439
  }
9417
9440
  }
9418
9441
  )
@@ -9424,27 +9447,27 @@ const gr = (e) => /* @__PURE__ */ t(Mt, { content: e, format: "markdown" }), rl
9424
9447
  onClick: r,
9425
9448
  fullscreen: o = !1
9426
9449
  }) => {
9427
- const [n, s] = I(0), [i, l] = I(0), [d, c] = I("starting"), u = e[n] ?? "";
9450
+ const [n, s] = P(0), [i, l] = P(0), [d, c] = P("starting"), u = e[n] ?? "";
9428
9451
  q(() => {
9429
9452
  e.length > 0 && n >= e.length && (s(0), l(0), c("starting"));
9430
9453
  }, [e.length, n]), q(() => {
9431
- let C;
9454
+ let p;
9432
9455
  if (d === "starting")
9433
- C = setTimeout(() => c("writing"), il);
9456
+ p = setTimeout(() => c("writing"), il);
9434
9457
  else if (d === "writing")
9435
- i < u.length ? C = setTimeout(() => l((g) => g + 1), nl) : c("holding");
9458
+ i < u.length ? p = setTimeout(() => l((h) => h + 1), nl) : c("holding");
9436
9459
  else if (d === "holding") {
9437
9460
  if (e.length <= 1) return;
9438
- C = setTimeout(() => c("erasing"), al);
9439
- } else d === "erasing" && (i > 0 ? C = setTimeout(() => l((g) => g - 1), sl) : C = setTimeout(() => {
9440
- s((g) => (g + 1) % e.length), c("starting");
9461
+ p = setTimeout(() => c("erasing"), al);
9462
+ } else d === "erasing" && (i > 0 ? p = setTimeout(() => l((h) => h - 1), sl) : p = setTimeout(() => {
9463
+ s((h) => (h + 1) % e.length), c("starting");
9441
9464
  }, cl));
9442
9465
  return () => {
9443
- C && clearTimeout(C);
9466
+ p && clearTimeout(p);
9444
9467
  };
9445
9468
  }, [d, i, u.length, e.length]);
9446
- const f = !!r, p = f ? (C) => {
9447
- (C.key === "Enter" || C.key === " ") && (C.preventDefault(), r?.());
9469
+ const f = !!r, C = f ? (p) => {
9470
+ (p.key === "Enter" || p.key === " ") && (p.preventDefault(), r?.());
9448
9471
  } : void 0;
9449
9472
  return /* @__PURE__ */ t(
9450
9473
  "div",
@@ -9459,7 +9482,7 @@ const gr = (e) => /* @__PURE__ */ t(Mt, { content: e, format: "markdown" }), rl
9459
9482
  role: f ? "button" : void 0,
9460
9483
  tabIndex: f ? 0 : void 0,
9461
9484
  onClick: r,
9462
- onKeyDown: p,
9485
+ onKeyDown: C,
9463
9486
  className: k(
9464
9487
  "bg-gradient-to-r from-[#E55619] via-[#E51943] to-[#A1ADE5] bg-clip-text text-center text-2xl font-semibold leading-[28px] text-transparent",
9465
9488
  f && k(
@@ -9485,9 +9508,9 @@ function dl({
9485
9508
  turnsCount: s,
9486
9509
  freezeTurnMinHeight: i = !1
9487
9510
  }) {
9488
- const [l, d] = I(0), [c, u] = I(!1), f = j(s), p = j(i);
9489
- p.current = i;
9490
- const C = _(
9511
+ const [l, d] = P(0), [c, u] = P(!1), f = B(s), C = B(i);
9512
+ C.current = i;
9513
+ const p = _(
9491
9514
  (m = "smooth") => {
9492
9515
  o.current?.scrollIntoView({ behavior: m });
9493
9516
  },
@@ -9497,13 +9520,13 @@ function dl({
9497
9520
  const m = e.current, x = r.current;
9498
9521
  if (!m || !x) return;
9499
9522
  const v = new ResizeObserver(() => {
9500
- if (p.current) return;
9523
+ if (C.current) return;
9501
9524
  const M = parseFloat(getComputedStyle(x).paddingTop) + parseFloat(getComputedStyle(x).paddingBottom) + 1;
9502
9525
  d(m.clientHeight - M);
9503
9526
  });
9504
9527
  return v.observe(m), v.observe(x), () => v.disconnect();
9505
9528
  }, [e, r]);
9506
- const g = _(() => {
9529
+ const h = _(() => {
9507
9530
  const m = e.current;
9508
9531
  if (!m) return;
9509
9532
  const { scrollTop: x, scrollHeight: v, clientHeight: M } = m, A = v - x - M;
@@ -9512,8 +9535,8 @@ function dl({
9512
9535
  return q(() => {
9513
9536
  const m = e.current;
9514
9537
  if (m)
9515
- return m.addEventListener("scroll", g, { passive: !0 }), () => m.removeEventListener("scroll", g);
9516
- }, [g, e]), q(() => {
9538
+ return m.addEventListener("scroll", h, { passive: !0 }), () => m.removeEventListener("scroll", h);
9539
+ }, [h, e]), q(() => {
9517
9540
  s > f.current && requestAnimationFrame(() => {
9518
9541
  requestAnimationFrame(() => {
9519
9542
  const m = e.current, x = n.current;
@@ -9522,7 +9545,7 @@ function dl({
9522
9545
  m.scrollTo({ top: A, behavior: "smooth" });
9523
9546
  });
9524
9547
  }), s === 0 && u(!1), f.current = s;
9525
- }, [s, n, e]), { showScrollBtn: c, turnMinHeight: l, scrollToBottom: C };
9548
+ }, [s, n, e]), { showScrollBtn: c, turnMinHeight: l, scrollToBottom: p };
9526
9549
  }
9527
9550
  const fl = {
9528
9551
  threadId: "",
@@ -9542,9 +9565,9 @@ const fl = {
9542
9565
  autoScrollUserIntoView: c = !0,
9543
9566
  renderMarkdown: u,
9544
9567
  feedback: f,
9545
- freezeLayout: p = !1,
9546
- noShadows: C = !1,
9547
- fullscreen: g = !1,
9568
+ freezeLayout: C = !1,
9569
+ noShadows: p = !1,
9570
+ fullscreen: h = !1,
9548
9571
  children: m,
9549
9572
  AssistantMessage: x,
9550
9573
  UserMessage: v,
@@ -9556,13 +9579,13 @@ const fl = {
9556
9579
  ), w = G(), N = x ?? W2, L = v ?? ol, $ = J(() => {
9557
9580
  const D = n ?? w.ai.defaultInitialMessage;
9558
9581
  return (Array.isArray(D) ? D : [D]).filter((K) => typeof K == "string" && K.length > 0);
9559
- }, [n, w.ai.defaultInitialMessage]), R = !r && e.length === 0 && $.length > 0, S = j(null), B = j(null), U = j(null), O = j(null), z = j(null), { showScrollBtn: te, turnMinHeight: oe, scrollToBottom: X } = dl({
9582
+ }, [n, w.ai.defaultInitialMessage]), R = !r && e.length === 0 && $.length > 0, S = B(null), I = B(null), U = B(null), O = B(null), z = B(null), { showScrollBtn: te, turnMinHeight: oe, scrollToBottom: X } = dl({
9560
9583
  viewportRef: S,
9561
- contentRef: B,
9584
+ contentRef: I,
9562
9585
  endRef: U,
9563
9586
  lastTurnRef: z,
9564
9587
  turnsCount: e.length,
9565
- freezeTurnMinHeight: p
9588
+ freezeTurnMinHeight: C
9566
9589
  }), Y = (D, W) => {
9567
9590
  const K = W === e.length - 1, ae = {
9568
9591
  renderToolCall: i,
@@ -9640,8 +9663,8 @@ const fl = {
9640
9663
  D.assistantMessages.map(
9641
9664
  (re, de) => pe(re, de)
9642
9665
  ),
9643
- D.endIndicator === "thinking" && /* @__PURE__ */ t(r1, { title: w.ai.thinking, status: "executing" }),
9644
- D.endIndicator === "activity" && /* @__PURE__ */ t(r1, { status: "writing" }),
9666
+ D.endIndicator === "thinking" && /* @__PURE__ */ t(o1, { title: w.ai.thinking, status: "executing" }),
9667
+ D.endIndicator === "activity" && /* @__PURE__ */ t(o1, { status: "writing" }),
9645
9668
  D.feedback && /* @__PURE__ */ t(
9646
9669
  K2,
9647
9670
  {
@@ -9673,7 +9696,7 @@ const fl = {
9673
9696
  children: /* @__PURE__ */ a(
9674
9697
  "div",
9675
9698
  {
9676
- ref: B,
9699
+ ref: I,
9677
9700
  className: k("flex h-full flex-col items-center p-4"),
9678
9701
  children: [
9679
9702
  /* @__PURE__ */ a(
@@ -9690,7 +9713,7 @@ const fl = {
9690
9713
  {
9691
9714
  messages: $,
9692
9715
  onClick: s,
9693
- fullscreen: g
9716
+ fullscreen: h
9694
9717
  }
9695
9718
  ),
9696
9719
  !r && e.map((D, W) => Y(D, W)),
@@ -9714,7 +9737,7 @@ const fl = {
9714
9737
  onClick: () => X(),
9715
9738
  label: w.ai.scrollToBottom,
9716
9739
  variant: "neutral",
9717
- icon: st,
9740
+ icon: nt,
9718
9741
  hideLabel: !0
9719
9742
  }
9720
9743
  ) })
@@ -9725,7 +9748,7 @@ const fl = {
9725
9748
  )
9726
9749
  }
9727
9750
  ),
9728
- !C && !R && /* @__PURE__ */ a(Re, { children: [
9751
+ !p && !R && /* @__PURE__ */ a(Re, { children: [
9729
9752
  /* @__PURE__ */ t(M1, { position: "top" }, "shadow-top"),
9730
9753
  /* @__PURE__ */ t(M1, { position: "bottom" }, "shadow-bottom")
9731
9754
  ] })
@@ -9747,7 +9770,7 @@ const fl = {
9747
9770
  /* @__PURE__ */ t(he, { className: "h-5 w-4/5 rounded-md" })
9748
9771
  ] }) }), W6 = {
9749
9772
  ai: ps.ai
9750
- }, pr = Ge(null);
9773
+ }, pr = We(null);
9751
9774
  function q6({
9752
9775
  children: e,
9753
9776
  translations: r
@@ -9822,12 +9845,12 @@ const pl = ({
9822
9845
  onToggleActive: u,
9823
9846
  onConfirm: f
9824
9847
  }) => {
9825
- const C = G().ai.clarifyingQuestion.typeYourAnswer, g = e === "single" ? /* @__PURE__ */ t(Cr, { isSelected: o && !r }) : /* @__PURE__ */ t(
9826
- Nt,
9848
+ const p = G().ai.clarifyingQuestion.typeYourAnswer, h = e === "single" ? /* @__PURE__ */ t(Cr, { isSelected: o && !r }) : /* @__PURE__ */ t(
9849
+ Ft,
9827
9850
  {
9828
9851
  checked: s,
9829
9852
  onCheckedChange: () => u(!s),
9830
- title: C,
9853
+ title: p,
9831
9854
  hideLabel: !0
9832
9855
  }
9833
9856
  );
@@ -9839,7 +9862,7 @@ const pl = ({
9839
9862
  "transition-colors hover:bg-f1-background-hover"
9840
9863
  ),
9841
9864
  children: [
9842
- g,
9865
+ h,
9843
9866
  /* @__PURE__ */ t(
9844
9867
  "input",
9845
9868
  {
@@ -9851,15 +9874,15 @@ const pl = ({
9851
9874
  onKeyDown: (m) => {
9852
9875
  m.key === "Enter" && i && (m.preventDefault(), f());
9853
9876
  },
9854
- placeholder: C,
9855
- "aria-label": C,
9877
+ placeholder: p,
9878
+ "aria-label": p,
9856
9879
  className: "min-w-0 flex-1 bg-transparent text-base text-f1-foreground outline-none placeholder:text-f1-foreground-tertiary"
9857
9880
  }
9858
9881
  )
9859
9882
  ]
9860
9883
  }
9861
9884
  );
9862
- }, mr = h(
9885
+ }, mr = g(
9863
9886
  ({ option: e, isSelected: r, mode: o, isTabStop: n, onToggle: s, onKeyNavigate: i }, l) => o === "single" ? /* @__PURE__ */ a(
9864
9887
  "div",
9865
9888
  {
@@ -9893,7 +9916,7 @@ const pl = ({
9893
9916
  ),
9894
9917
  children: [
9895
9918
  /* @__PURE__ */ t(
9896
- Nt,
9919
+ Ft,
9897
9920
  {
9898
9921
  checked: r,
9899
9922
  onCheckedChange: () => s(e.id),
@@ -9926,9 +9949,9 @@ const ml = ({
9926
9949
  isCustomAnswerActive: c,
9927
9950
  canProceed: u,
9928
9951
  customInputRef: f,
9929
- autoFocus: p,
9930
- onToggleOption: C,
9931
- onActivateCustom: g,
9952
+ autoFocus: C,
9953
+ onToggleOption: p,
9954
+ onActivateCustom: h,
9932
9955
  onChangeCustomText: m,
9933
9956
  onToggleCustomActive: x,
9934
9957
  onConfirm: v
@@ -9937,9 +9960,9 @@ const ml = ({
9937
9960
  if (e !== "single") return 0;
9938
9961
  const N = o.findIndex((L) => n.includes(L.id));
9939
9962
  return N >= 0 ? N : 0;
9940
- })(), [T, V] = I(A), E = j([]);
9963
+ })(), [T, V] = P(A), E = B([]);
9941
9964
  q(() => {
9942
- p && e === "single" && E.current[T]?.focus();
9965
+ C && e === "single" && E.current[T]?.focus();
9943
9966
  }, []);
9944
9967
  const w = (N) => {
9945
9968
  if (e !== "single") return;
@@ -9993,7 +10016,7 @@ const ml = ({
9993
10016
  isSelected: n.includes(N.id),
9994
10017
  mode: e,
9995
10018
  isTabStop: e === "single" ? L === T : void 0,
9996
- onToggle: C,
10019
+ onToggle: p,
9997
10020
  onKeyNavigate: w
9998
10021
  }
9999
10022
  )
@@ -10010,7 +10033,7 @@ const ml = ({
10010
10033
  isCustomAnswerActive: c,
10011
10034
  canProceed: u,
10012
10035
  inputRef: f,
10013
- onActivate: g,
10036
+ onActivate: h,
10014
10037
  onChangeText: m,
10015
10038
  onToggleActive: x,
10016
10039
  onConfirm: v
@@ -10049,7 +10072,7 @@ const ml = ({
10049
10072
  disabled: o,
10050
10073
  label: c.ai.clarifyingQuestion.back,
10051
10074
  hideLabel: !0,
10052
- icon: at
10075
+ icon: it
10053
10076
  }
10054
10077
  ),
10055
10078
  /* @__PURE__ */ t("span", { className: "text-sm font-semibold text-f1-foreground-tertiary", children: r }),
@@ -10062,7 +10085,7 @@ const ml = ({
10062
10085
  disabled: n || !s,
10063
10086
  label: c.ai.clarifyingQuestion.next,
10064
10087
  hideLabel: !0,
10065
- icon: We
10088
+ icon: qe
10066
10089
  }
10067
10090
  )
10068
10091
  ] }),
@@ -10099,9 +10122,9 @@ const ml = ({
10099
10122
  confirm: c,
10100
10123
  skip: u,
10101
10124
  cancel: f,
10102
- back: p,
10103
- setCustomAnswerText: C,
10104
- setCustomAnswerActive: g,
10125
+ back: C,
10126
+ setCustomAnswerText: p,
10127
+ setCustomAnswerActive: h,
10105
10128
  activateCustomAnswer: m
10106
10129
  } = e, {
10107
10130
  question: x,
@@ -10112,7 +10135,7 @@ const ml = ({
10112
10135
  allowCustomAnswer: V,
10113
10136
  customAnswerText: E,
10114
10137
  isCustomAnswerActive: w
10115
- } = s, N = j(null), L = A ?? "single", $ = l > 1, R = i === 0, S = i === l - 1, B = $ ? o.t("ai.clarifyingQuestion.stepOf", {
10138
+ } = s, N = B(null), L = A ?? "single", $ = l > 1, R = i === 0, S = i === l - 1, I = $ ? o.t("ai.clarifyingQuestion.stepOf", {
10116
10139
  current: String(i + 1),
10117
10140
  total: String(l)
10118
10141
  }) : void 0, U = M.length > 0, O = (E ?? "").trim().length > 0, z = U || w && O || T === !0, te = r === !0 && S, oe = () => {
@@ -10143,11 +10166,11 @@ const ml = ({
10143
10166
  vl,
10144
10167
  {
10145
10168
  question: x,
10146
- stepLabel: B,
10169
+ stepLabel: I,
10147
10170
  isFirstStep: R,
10148
10171
  isFinalStep: S,
10149
10172
  canProceed: z,
10150
- onBack: p,
10173
+ onBack: C,
10151
10174
  onNext: c,
10152
10175
  onCancel: f
10153
10176
  }
@@ -10168,8 +10191,8 @@ const ml = ({
10168
10191
  customInputRef: N,
10169
10192
  onToggleOption: Y,
10170
10193
  onActivateCustom: K,
10171
- onChangeCustomText: C,
10172
- onToggleCustomActive: g,
10194
+ onChangeCustomText: p,
10195
+ onToggleCustomActive: h,
10173
10196
  onConfirm: oe
10174
10197
  }
10175
10198
  )
@@ -10191,7 +10214,7 @@ const ml = ({
10191
10214
  ] });
10192
10215
  };
10193
10216
  function A1(e, r, o, n) {
10194
- const s = Math.max(1, Math.min(e, r)), i = Math.min(o, 20), d = Math.min(i + n, s), c = Math.min(d, Math.floor(e / 2)), u = Math.min(d, Math.floor(r / 2)), f = (K) => K / e * 2 - 1, p = (K) => K / r * 2 - 1, C = 0, g = e, m = 0, x = r, v = c, M = e - c, A = u, T = r - u, V = f(C), E = f(g), w = p(m), N = p(x), L = f(v), $ = f(M), R = p(A), S = p(T), B = 0, U = 0, O = 1, z = 1, te = c / e, oe = 1 - c / e, X = u / r, Y = 1 - u / r, D = new Float32Array([
10217
+ const s = Math.max(1, Math.min(e, r)), i = Math.min(o, 20), d = Math.min(i + n, s), c = Math.min(d, Math.floor(e / 2)), u = Math.min(d, Math.floor(r / 2)), f = (K) => K / e * 2 - 1, C = (K) => K / r * 2 - 1, p = 0, h = e, m = 0, x = r, v = c, M = e - c, A = u, T = r - u, V = f(p), E = f(h), w = C(m), N = C(x), L = f(v), $ = f(M), R = C(A), S = C(T), I = 0, U = 0, O = 1, z = 1, te = c / e, oe = 1 - c / e, X = u / r, Y = 1 - u / r, D = new Float32Array([
10195
10218
  // Top strip
10196
10219
  V,
10197
10220
  w,
@@ -10246,39 +10269,39 @@ function A1(e, r, o, n) {
10246
10269
  S
10247
10270
  ]), W = new Float32Array([
10248
10271
  // Top strip
10249
- B,
10272
+ I,
10250
10273
  U,
10251
10274
  O,
10252
10275
  U,
10253
- B,
10276
+ I,
10254
10277
  X,
10255
- B,
10278
+ I,
10256
10279
  X,
10257
10280
  O,
10258
10281
  U,
10259
10282
  O,
10260
10283
  X,
10261
10284
  // Bottom strip
10262
- B,
10285
+ I,
10263
10286
  Y,
10264
10287
  O,
10265
10288
  Y,
10266
- B,
10289
+ I,
10267
10290
  z,
10268
- B,
10291
+ I,
10269
10292
  z,
10270
10293
  O,
10271
10294
  Y,
10272
10295
  O,
10273
10296
  z,
10274
10297
  // Left strip
10275
- B,
10298
+ I,
10276
10299
  X,
10277
10300
  te,
10278
10301
  X,
10279
- B,
10302
+ I,
10280
10303
  Y,
10281
- B,
10304
+ I,
10282
10305
  Y,
10283
10306
  te,
10284
10307
  X,
@@ -10614,15 +10637,15 @@ class Q6 {
10614
10637
  resize(r, o, n) {
10615
10638
  if (this.disposed) throw new Error("Mask instance has been disposed.");
10616
10639
  if (this.options.width = r, this.options.height = o, n && (this.options.ratio = n), !this.running) return;
10617
- const { gl: s, program: i, vao: l, positionBuffer: d, uvBuffer: c, uResolution: u } = this.glr, f = n ?? this.options.ratio ?? window.devicePixelRatio ?? 1, p = Math.max(1, Math.floor(r * f)), C = Math.max(1, Math.floor(o * f));
10618
- this.canvas.style.width = `${r}px`, this.canvas.style.height = `${o}px`, (this.canvas.width !== p || this.canvas.height !== C) && (this.canvas.width = p, this.canvas.height = C), s.viewport(0, 0, this.canvas.width, this.canvas.height), this.checkGLError(s, "resize: after viewport setup");
10619
- const { positions: g, uvs: m } = A1(
10640
+ const { gl: s, program: i, vao: l, positionBuffer: d, uvBuffer: c, uResolution: u } = this.glr, f = n ?? this.options.ratio ?? window.devicePixelRatio ?? 1, C = Math.max(1, Math.floor(r * f)), p = Math.max(1, Math.floor(o * f));
10641
+ this.canvas.style.width = `${r}px`, this.canvas.style.height = `${o}px`, (this.canvas.width !== C || this.canvas.height !== p) && (this.canvas.width = C, this.canvas.height = p), s.viewport(0, 0, this.canvas.width, this.canvas.height), this.checkGLError(s, "resize: after viewport setup");
10642
+ const { positions: h, uvs: m } = A1(
10620
10643
  this.canvas.width,
10621
10644
  this.canvas.height,
10622
10645
  this.options.borderWidth * f,
10623
10646
  this.options.glowWidth * f
10624
10647
  );
10625
- s.bindVertexArray(l), s.bindBuffer(s.ARRAY_BUFFER, d), s.bufferData(s.ARRAY_BUFFER, g, s.STATIC_DRAW);
10648
+ s.bindVertexArray(l), s.bindBuffer(s.ARRAY_BUFFER, d), s.bufferData(s.ARRAY_BUFFER, h, s.STATIC_DRAW);
10626
10649
  const x = s.getAttribLocation(i, "aPosition");
10627
10650
  s.enableVertexAttribArray(x), s.vertexAttribPointer(x, 2, s.FLOAT, !1, 0, 0), this.checkGLError(s, "resize: after position buffer update"), s.bindBuffer(s.ARRAY_BUFFER, c), s.bufferData(s.ARRAY_BUFFER, m, s.STATIC_DRAW);
10628
10651
  const v = s.getAttribLocation(i, "aUV");
@@ -10716,9 +10739,9 @@ class Q6 {
10716
10739
  r.enableVertexAttribArray(u), r.vertexAttribPointer(u, 2, r.FLOAT, !1, 0, 0), this.checkGLError(r, "setupGL: after position buffer setup");
10717
10740
  const f = r.createBuffer();
10718
10741
  r.bindBuffer(r.ARRAY_BUFFER, f), r.bufferData(r.ARRAY_BUFFER, d, r.STATIC_DRAW);
10719
- const p = r.getAttribLocation(o, "aUV");
10720
- r.enableVertexAttribArray(p), r.vertexAttribPointer(p, 2, r.FLOAT, !1, 0, 0), this.checkGLError(r, "setupGL: after UV buffer setup");
10721
- const C = r.getUniformLocation(o, "uResolution"), g = r.getUniformLocation(o, "uTime"), m = r.getUniformLocation(o, "uBorderWidth"), x = r.getUniformLocation(o, "uGlowWidth"), v = r.getUniformLocation(o, "uBorderRadius"), M = r.getUniformLocation(o, "uColors"), A = r.getUniformLocation(o, "uGlowExponent"), T = r.getUniformLocation(o, "uGlowFactor");
10742
+ const C = r.getAttribLocation(o, "aUV");
10743
+ r.enableVertexAttribArray(C), r.vertexAttribPointer(C, 2, r.FLOAT, !1, 0, 0), this.checkGLError(r, "setupGL: after UV buffer setup");
10744
+ const p = r.getUniformLocation(o, "uResolution"), h = r.getUniformLocation(o, "uTime"), m = r.getUniformLocation(o, "uBorderWidth"), x = r.getUniformLocation(o, "uGlowWidth"), v = r.getUniformLocation(o, "uBorderRadius"), M = r.getUniformLocation(o, "uColors"), A = r.getUniformLocation(o, "uGlowExponent"), T = r.getUniformLocation(o, "uGlowFactor");
10722
10745
  r.useProgram(o), r.uniform1f(m, this.options.borderWidth), r.uniform1f(x, this.options.glowWidth), r.uniform1f(v, this.options.borderRadius), this.options.mode === "dark" ? (r.uniform1f(A, 2), r.uniform1f(T, 1.8)) : (r.uniform1f(A, 1), r.uniform1f(T, 1));
10723
10746
  const V = (this.options.colors || Ml).map(El);
10724
10747
  for (let E = 0; E < V.length; E++)
@@ -10732,8 +10755,8 @@ class Q6 {
10732
10755
  vao: n,
10733
10756
  positionBuffer: c,
10734
10757
  uvBuffer: f,
10735
- uResolution: C,
10736
- uTime: g,
10758
+ uResolution: p,
10759
+ uTime: h,
10737
10760
  uBorderWidth: m,
10738
10761
  uGlowWidth: x,
10739
10762
  uBorderRadius: v,
@@ -10857,7 +10880,7 @@ const Hl = (e, r, o, n) => {
10857
10880
  )
10858
10881
  );
10859
10882
  }
10860
- }, t1 = 9729, G1 = 9728, $l = 9987, W1 = 33071, q1 = 10497;
10883
+ }, r1 = 9729, G1 = 9728, $l = 9987, W1 = 33071, q1 = 10497;
10861
10884
  class Bl {
10862
10885
  gl;
10863
10886
  url;
@@ -10946,12 +10969,12 @@ class Bl {
10946
10969
  )
10947
10970
  );
10948
10971
  Object.assign(this, { url: n, wrapS: s, wrapT: i, minFilter: l, magFilter: d, flipY: c });
10949
- const p = 0, C = o.RGBA, g = 1, m = 1, x = 0, v = o.RGBA, M = o.UNSIGNED_BYTE, A = new Uint8Array([255, 255, 255, 0]), T = o.createTexture();
10972
+ const C = 0, p = o.RGBA, h = 1, m = 1, x = 0, v = o.RGBA, M = o.UNSIGNED_BYTE, A = new Uint8Array([255, 255, 255, 0]), T = o.createTexture();
10950
10973
  if (o.bindTexture(o.TEXTURE_2D, T), o.texImage2D(
10951
10974
  o.TEXTURE_2D,
10952
- p,
10953
10975
  C,
10954
- g,
10976
+ p,
10977
+ h,
10955
10978
  m,
10956
10979
  x,
10957
10980
  v,
@@ -10972,14 +10995,14 @@ class Bl {
10972
10995
  });
10973
10996
  }
10974
10997
  let E = await V(), w = (E.width & E.width - 1) === 0 && (E.height & E.height - 1) === 0;
10975
- return (r.wrapS !== W1 || r.wrapT !== W1 || r.minFilter !== G1 && r.minFilter !== t1) && !w && (E = this.makePowerOf2(E), w = !0), o.bindTexture(o.TEXTURE_2D, T), o.pixelStorei(o.UNPACK_FLIP_Y_WEBGL, c), o.texImage2D(
10998
+ return (r.wrapS !== W1 || r.wrapT !== W1 || r.minFilter !== G1 && r.minFilter !== r1) && !w && (E = this.makePowerOf2(E), w = !0), o.bindTexture(o.TEXTURE_2D, T), o.pixelStorei(o.UNPACK_FLIP_Y_WEBGL, c), o.texImage2D(
10976
10999
  o.TEXTURE_2D,
10977
- p,
10978
11000
  C,
11001
+ p,
10979
11002
  v,
10980
11003
  M,
10981
11004
  E
10982
- ), w && r.minFilter !== G1 && r.minFilter !== t1 && o.generateMipmap(o.TEXTURE_2D), o.texParameteri(
11005
+ ), w && r.minFilter !== G1 && r.minFilter !== r1 && o.generateMipmap(o.TEXTURE_2D), o.texParameteri(
10983
11006
  o.TEXTURE_2D,
10984
11007
  o.TEXTURE_WRAP_S,
10985
11008
  this.wrapS || q1
@@ -10994,7 +11017,7 @@ class Bl {
10994
11017
  ), o.texParameteri(
10995
11018
  o.TEXTURE_2D,
10996
11019
  o.TEXTURE_MAG_FILTER,
10997
- this.magFilter || t1
11020
+ this.magFilter || r1
10998
11021
  ), this._webglTexture = T, this.source = E, this.isVideo = !1, this.isLoaded = !0, this.width = E.width || 0, this.height = E.height || 0, this;
10999
11022
  };
11000
11023
  }
@@ -11017,10 +11040,10 @@ function Pl({
11017
11040
  lerp: c = 1,
11018
11041
  devicePixelRatio: u = 1,
11019
11042
  onDoneLoadingTextures: f,
11020
- onError: p = console.error,
11021
- onWarning: C = console.warn
11043
+ onError: C = console.error,
11044
+ onWarning: p = console.warn
11022
11045
  }) {
11023
- const g = j(null), m = j(null), x = j(null), v = j(null), M = j(void 0), A = j(void 0), T = j(!1), V = j(void 0), E = j(0), w = j([0, 0]), N = j([]), L = j(0), $ = j(void 0), R = j({
11046
+ const h = B(null), m = B(null), x = B(null), v = B(null), M = B(void 0), A = B(void 0), T = B(!1), V = B(void 0), E = B(0), w = B([0, 0]), N = B([]), L = B(0), $ = B(void 0), R = B({
11024
11047
  [P1]: { type: "float", isNeeded: !1, value: 0 },
11025
11048
  [j1]: { type: "float", isNeeded: !1, value: 0 },
11026
11049
  [D1]: { type: "vec4", isNeeded: !1, value: [0, 0, 0, 0] },
@@ -11032,13 +11055,13 @@ function Pl({
11032
11055
  isNeeded: !1,
11033
11056
  value: [0, 0, 0, 0]
11034
11057
  }
11035
- }), S = j(n), B = (b, F) => {
11036
- const y = "width" in b ? b.width ?? 0 : 0, P = "height" in b ? b.height ?? 0 : 0, H = R.current.iChannelResolution;
11058
+ }), S = B(n), I = (b, F) => {
11059
+ const y = "width" in b ? b.width ?? 0 : 0, j = "height" in b ? b.height ?? 0 : 0, H = R.current.iChannelResolution;
11037
11060
  if (!H) return;
11038
11061
  const Z = Array.isArray(H.value) ? H.value : H.value = [];
11039
- Z[F * 3] = y * u, Z[F * 3 + 1] = P * u, Z[F * 3 + 2] = 0;
11062
+ Z[F * 3] = y * u, Z[F * 3 + 1] = j * u, Z[F * 3 + 2] = 0;
11040
11063
  }, U = () => {
11041
- g.current && (m.current = g.current.getContext("webgl", d) || g.current.getContext(
11064
+ h.current && (m.current = h.current.getContext("webgl", d) || h.current.getContext(
11042
11065
  "experimental-webgl",
11043
11066
  d
11044
11067
  ), m.current?.getExtension("OES_standard_derivatives"), m.current?.getExtension("EXT_shader_texture_lod"));
@@ -11072,18 +11095,18 @@ function Pl({
11072
11095
  window.orientation ?? 0
11073
11096
  ];
11074
11097
  }, te = (b) => {
11075
- const [F = 0, y = 0] = X1(b), P = F - (V.current?.left ?? 0) - window.pageXOffset, H = (V.current?.height ?? 0) - y - (V.current?.top ?? 0) - window.pageYOffset;
11098
+ const [F = 0, y = 0] = X1(b), j = F - (V.current?.left ?? 0) - window.pageXOffset, H = (V.current?.height ?? 0) - y - (V.current?.top ?? 0) - window.pageYOffset;
11076
11099
  T.current = !0;
11077
11100
  const Z = Array.isArray(R.current.iMouse?.value) ? R.current.iMouse.value : void 0;
11078
- Z && (Z[2] = P, Z[3] = H), w.current[0] = P, w.current[1] = H;
11101
+ Z && (Z[2] = j, Z[3] = H), w.current[0] = j, w.current[1] = H;
11079
11102
  }, oe = (b) => {
11080
- V.current = g.current?.getBoundingClientRect();
11081
- const [F = 0, y = 0] = X1(b), P = F - (V.current?.left ?? 0), H = (V.current?.height ?? 0) - y - (V.current?.top ?? 0);
11103
+ V.current = h.current?.getBoundingClientRect();
11104
+ const [F = 0, y = 0] = X1(b), j = F - (V.current?.left ?? 0), H = (V.current?.height ?? 0) - y - (V.current?.top ?? 0);
11082
11105
  if (c !== 1)
11083
- w.current[0] = P, w.current[1] = H;
11106
+ w.current[0] = j, w.current[1] = H;
11084
11107
  else {
11085
11108
  const Z = Array.isArray(R.current.iMouse?.value) ? R.current.iMouse.value : void 0;
11086
- Z && (Z[0] = P, Z[1] = H);
11109
+ Z && (Z[0] = j, Z[1] = H);
11087
11110
  }
11088
11111
  }, X = () => {
11089
11112
  const b = Array.isArray(R.current.iMouse?.value) ? R.current.iMouse.value : void 0;
@@ -11091,13 +11114,13 @@ function Pl({
11091
11114
  }, Y = () => {
11092
11115
  const b = m.current;
11093
11116
  if (!b) return;
11094
- V.current = g.current?.getBoundingClientRect();
11117
+ V.current = h.current?.getBoundingClientRect();
11095
11118
  const F = u, y = Math.floor(
11096
11119
  (V.current?.width ?? 1) * F
11097
- ), P = Math.floor(
11120
+ ), j = Math.floor(
11098
11121
  (V.current?.height ?? 1) * F
11099
11122
  );
11100
- if (b.canvas.width = y, b.canvas.height = P, R.current.iResolution?.isNeeded && v.current) {
11123
+ if (b.canvas.width = y, b.canvas.height = j, R.current.iResolution?.isNeeded && v.current) {
11101
11124
  const H = b.getUniformLocation(
11102
11125
  v.current,
11103
11126
  O1
@@ -11107,22 +11130,22 @@ function Pl({
11107
11130
  }, D = (b, F) => {
11108
11131
  const y = m.current;
11109
11132
  if (!y) return null;
11110
- const P = y.createShader(b);
11111
- if (!P) return null;
11112
- if (y.shaderSource(P, F), y.compileShader(P), !y.getShaderParameter(P, y.COMPILE_STATUS)) {
11113
- C?.(be(`Error compiling the shader:
11133
+ const j = y.createShader(b);
11134
+ if (!j) return null;
11135
+ if (y.shaderSource(j, F), y.compileShader(j), !y.getShaderParameter(j, y.COMPILE_STATUS)) {
11136
+ p?.(be(`Error compiling the shader:
11114
11137
  ${F}`));
11115
- const H = y.getShaderInfoLog(P);
11116
- y.deleteShader(P), p?.(be(`Shader compiler log: ${H}`));
11138
+ const H = y.getShaderInfoLog(j);
11139
+ y.deleteShader(j), C?.(be(`Shader compiler log: ${H}`));
11117
11140
  }
11118
- return P;
11141
+ return j;
11119
11142
  }, W = (b, F) => {
11120
11143
  const y = m.current;
11121
11144
  if (!y) return;
11122
- const P = D(y.FRAGMENT_SHADER, b), H = D(y.VERTEX_SHADER, F);
11123
- if (v.current = y.createProgram(), !(!v.current || !H || !P)) {
11124
- if (y.attachShader(v.current, H), y.attachShader(v.current, P), y.linkProgram(v.current), !y.getProgramParameter(v.current, y.LINK_STATUS)) {
11125
- p?.(
11145
+ const j = D(y.FRAGMENT_SHADER, b), H = D(y.VERTEX_SHADER, F);
11146
+ if (v.current = y.createProgram(), !(!v.current || !H || !j)) {
11147
+ if (y.attachShader(v.current, H), y.attachShader(v.current, j), y.linkProgram(v.current), !y.getProgramParameter(v.current, y.LINK_STATUS)) {
11148
+ C?.(
11126
11149
  be(
11127
11150
  `Unable to initialize the shader program: ${y.getProgramInfoLog(
11128
11151
  v.current
@@ -11141,13 +11164,13 @@ ${F}`));
11141
11164
  for (const b of Object.keys(n)) {
11142
11165
  const F = n[b];
11143
11166
  if (!F) continue;
11144
- const { value: y, type: P } = F, H = Al(P);
11167
+ const { value: y, type: j } = F, H = Al(j);
11145
11168
  if (!H) continue;
11146
11169
  const Z = {};
11147
- if (Vl(P, y)) {
11148
- const ce = P.length, fe = Number.parseInt(P.charAt(ce - 3)), me = Math.floor(y.length / (fe * fe));
11170
+ if (Vl(j, y)) {
11171
+ const ce = j.length, fe = Number.parseInt(j.charAt(ce - 3)), me = Math.floor(y.length / (fe * fe));
11149
11172
  y.length > fe * fe && (Z.arraySize = `[${me}]`);
11150
- } else Sl(P, y) && (Z.arraySize = `[${Math.floor(y.length / Number.parseInt(P.charAt(0)))}]`);
11173
+ } else Sl(j, y) && (Z.arraySize = `[${Math.floor(y.length / Number.parseInt(j.charAt(0)))}]`);
11151
11174
  R.current[b] = {
11152
11175
  type: H,
11153
11176
  isNeeded: !1,
@@ -11166,50 +11189,50 @@ ${F}`));
11166
11189
  value: []
11167
11190
  };
11168
11191
  const F = o.map(
11169
- (y, P) => (R.current[`${Nl}${P}`] = {
11192
+ (y, j) => (R.current[`${Nl}${j}`] = {
11170
11193
  type: "sampler2D",
11171
11194
  isNeeded: !1
11172
- }, B(y, P), N.current[P] = new Bl(b), N.current[P]?.load(y).then((H) => {
11173
- B(H, P);
11195
+ }, I(y, j), N.current[j] = new Bl(b), N.current[j]?.load(y).then((H) => {
11196
+ I(H, j);
11174
11197
  }))
11175
11198
  );
11176
11199
  Promise.all(F).then(() => {
11177
11200
  f && f();
11178
11201
  }).catch((y) => {
11179
- p?.(y), f && f();
11202
+ C?.(y), f && f();
11180
11203
  });
11181
11204
  } else f && f();
11182
11205
  }, ue = (b) => {
11183
11206
  const F = B1.includes(i ?? "highp"), y = `precision ${F ? i : B1[1]} float;
11184
11207
  `;
11185
- F || C?.(
11208
+ F || p?.(
11186
11209
  be(
11187
11210
  `wrong precision type ${i}, please make sure to pass one of a valid precision lowp, mediump, highp, by default you shader precision will be set to highp.`
11188
11211
  )
11189
11212
  );
11190
- let P = y.concat(`#define DPR ${u.toFixed(1)}
11213
+ let j = y.concat(`#define DPR ${u.toFixed(1)}
11191
11214
  `).concat(b.replace(/texture\(/g, "texture2D("));
11192
11215
  for (const Z of Object.keys(R.current))
11193
11216
  if (b.includes(Z)) {
11194
11217
  const ce = R.current[Z];
11195
11218
  if (!ce) continue;
11196
- P = Il(
11197
- P,
11219
+ j = Il(
11220
+ j,
11198
11221
  `uniform ${ce.type} ${Z}${ce.arraySize || ""};
11199
11222
  `,
11200
- P.lastIndexOf(y) + y.length
11223
+ j.lastIndexOf(y) + y.length
11201
11224
  ), ce.isNeeded = !0;
11202
11225
  }
11203
- return b.includes("mainImage") && (P = P.concat(Rl)), P;
11226
+ return b.includes("mainImage") && (j = j.concat(Rl)), j;
11204
11227
  }, pe = (b) => {
11205
11228
  const F = m.current;
11206
11229
  if (!F || !v.current) return;
11207
11230
  const y = L.current ? (b - L.current) / 1e3 : 0;
11208
11231
  L.current = b;
11209
- const P = S.current;
11210
- if (P)
11211
- for (const H of Object.keys(P)) {
11212
- const Z = P[H];
11232
+ const j = S.current;
11233
+ if (j)
11234
+ for (const H of Object.keys(j)) {
11235
+ const Z = j[H];
11213
11236
  if (Z && R.current[H]?.isNeeded) {
11214
11237
  if (!v.current) return;
11215
11238
  const ce = F.getUniformLocation(
@@ -11312,20 +11335,20 @@ ${F}`));
11312
11335
  ), pe(b), F.drawArrays(F.TRIANGLE_STRIP, 0, 4);
11313
11336
  const y = R.current.iMouse?.value;
11314
11337
  if (R.current.iMouse?.isNeeded && c !== 1 && Array.isArray(y)) {
11315
- const P = y[0] ?? 0, H = y[1] ?? 0;
11316
- y[0] = Y1(P, w.current[0] ?? 0, c), y[1] = Y1(H, w.current[1] ?? 0, c);
11338
+ const j = y[0] ?? 0, H = y[1] ?? 0;
11339
+ y[0] = Y1(j, w.current[0] ?? 0, c), y[1] = Y1(H, w.current[1] ?? 0, c);
11317
11340
  }
11318
11341
  A.current = requestAnimationFrame(re);
11319
11342
  }, de = () => {
11320
11343
  const b = { passive: !0 };
11321
- R.current.iMouse?.isNeeded && g.current && (g.current.addEventListener("mousemove", oe, b), g.current.addEventListener("mouseout", X, b), g.current.addEventListener("mouseup", X, b), g.current.addEventListener("mousedown", te, b), g.current.addEventListener("touchmove", oe, b), g.current.addEventListener("touchend", X, b), g.current.addEventListener("touchstart", te, b)), R.current.iDeviceOrientation?.isNeeded && window.addEventListener(
11344
+ R.current.iMouse?.isNeeded && h.current && (h.current.addEventListener("mousemove", oe, b), h.current.addEventListener("mouseout", X, b), h.current.addEventListener("mouseup", X, b), h.current.addEventListener("mousedown", te, b), h.current.addEventListener("touchmove", oe, b), h.current.addEventListener("touchend", X, b), h.current.addEventListener("touchstart", te, b)), R.current.iDeviceOrientation?.isNeeded && window.addEventListener(
11322
11345
  "deviceorientation",
11323
11346
  z,
11324
11347
  b
11325
- ), g.current && ($.current = new ResizeObserver(Y), $.current.observe(g.current), window.addEventListener("resize", Y, b));
11348
+ ), h.current && ($.current = new ResizeObserver(Y), $.current.observe(h.current), window.addEventListener("resize", Y, b));
11326
11349
  }, we = () => {
11327
11350
  const b = { passive: !0 };
11328
- R.current.iMouse?.isNeeded && g.current && (g.current.removeEventListener("mousemove", oe, b), g.current.removeEventListener("mouseout", X, b), g.current.removeEventListener("mouseup", X, b), g.current.removeEventListener("mousedown", te, b), g.current.removeEventListener("touchmove", oe, b), g.current.removeEventListener("touchend", X, b), g.current.removeEventListener("touchstart", te, b)), R.current.iDeviceOrientation?.isNeeded && window.removeEventListener(
11351
+ R.current.iMouse?.isNeeded && h.current && (h.current.removeEventListener("mousemove", oe, b), h.current.removeEventListener("mouseout", X, b), h.current.removeEventListener("mouseup", X, b), h.current.removeEventListener("mousedown", te, b), h.current.removeEventListener("touchmove", oe, b), h.current.removeEventListener("touchend", X, b), h.current.removeEventListener("touchstart", te, b)), R.current.iDeviceOrientation?.isNeeded && window.removeEventListener(
11329
11352
  "deviceorientation",
11330
11353
  z,
11331
11354
  b
@@ -11338,14 +11361,14 @@ ${F}`));
11338
11361
  function F() {
11339
11362
  U();
11340
11363
  const y = m.current;
11341
- y && g.current && (y.clearColor(...s), y.clearDepth(1), y.enable(y.DEPTH_TEST), y.depthFunc(y.LEQUAL), y.viewport(0, 0, g.current.width, g.current.height), g.current.height = g.current.clientHeight, g.current.width = g.current.clientWidth, K(), ae(), W(ue(e || Fl), r || I1), O(), requestAnimationFrame(re), de(), Y());
11364
+ y && h.current && (y.clearColor(...s), y.clearDepth(1), y.enable(y.DEPTH_TEST), y.depthFunc(y.LEQUAL), y.viewport(0, 0, h.current.width, h.current.height), h.current.height = h.current.clientHeight, h.current.width = h.current.clientWidth, K(), ae(), W(ue(e || Fl), r || I1), O(), requestAnimationFrame(re), de(), Y());
11342
11365
  }
11343
11366
  return requestAnimationFrame(F), () => {
11344
11367
  const y = m.current;
11345
11368
  if (y) {
11346
11369
  if (y.getExtension("WEBGL_lose_context")?.loseContext(), y.useProgram(null), y.deleteProgram(v.current ?? null), b.length > 0)
11347
- for (const P of b)
11348
- y.deleteTexture(P._webglTexture);
11370
+ for (const j of b)
11371
+ y.deleteTexture(j._webglTexture);
11349
11372
  v.current = null;
11350
11373
  }
11351
11374
  we(), cancelAnimationFrame(A.current ?? 0);
@@ -11353,7 +11376,7 @@ ${F}`));
11353
11376
  }, []), /* @__PURE__ */ t(
11354
11377
  "canvas",
11355
11378
  {
11356
- ref: g,
11379
+ ref: h,
11357
11380
  style: { height: "100%", width: "100%", ...l }
11358
11381
  }
11359
11382
  );
@@ -11535,7 +11558,7 @@ void mainImage(out vec4 fragColor, in vec2 fragCoord) {
11535
11558
  repeatType: "mirror"
11536
11559
  };
11537
11560
  function Ue(e) {
11538
- const [r, o] = I(e), n = qn(e), s = j(null);
11561
+ const [r, o] = P(e), n = qn(e), s = B(null);
11539
11562
  vs(n, "change", (l) => o(l));
11540
11563
  const i = _(
11541
11564
  (l, d) => {
@@ -11546,11 +11569,11 @@ function Ue(e) {
11546
11569
  return { value: r, motionValue: n, controls: s, animate: i };
11547
11570
  }
11548
11571
  function zl(e, r) {
11549
- const [o, n] = I(Dl), {
11572
+ const [o, n] = P(Dl), {
11550
11573
  value: s,
11551
11574
  animate: i,
11552
11575
  motionValue: l
11553
- } = Ue(Ol), { value: d, animate: c } = Ue(Zl), { value: u, animate: f } = Ue(_l), { value: p, animate: C } = Ue(Ul), g = Cs(r, {
11576
+ } = Ue(Ol), { value: d, animate: c } = Ue(Zl), { value: u, animate: f } = Ue(_l), { value: C, animate: p } = Ue(Ul), h = Cs(r, {
11554
11577
  fftSize: 512,
11555
11578
  smoothingTimeConstant: 0.55
11556
11579
  });
@@ -11559,19 +11582,19 @@ function zl(e, r) {
11559
11582
  case "idle":
11560
11583
  case "failed":
11561
11584
  case "disconnected":
11562
- n(10), i(0.2, Ce), c(1.2, Ce), f(0.4, Ce), C(1, Ce);
11585
+ n(10), i(0.2, Ce), c(1.2, Ce), f(0.4, Ce), p(1, Ce);
11563
11586
  return;
11564
11587
  case "listening":
11565
11588
  case "pre-connect-buffering":
11566
- n(20), i(0.3, { type: "spring", duration: 1, bounce: 0.35 }), c(1, Ce), f(0.7, Ce), C([1.5, 2], K1);
11589
+ n(20), i(0.3, { type: "spring", duration: 1, bounce: 0.35 }), c(1, Ce), f(0.7, Ce), p([1.5, 2], K1);
11567
11590
  return;
11568
11591
  case "thinking":
11569
11592
  case "connecting":
11570
11593
  case "initializing":
11571
- n(30), i(0.3, Ce), c(0.5, Ce), f(1, Ce), C([0.5, 2.5], K1);
11594
+ n(30), i(0.3, Ce), c(0.5, Ce), f(1, Ce), p([0.5, 2.5], K1);
11572
11595
  return;
11573
11596
  case "speaking":
11574
- n(70), i(0.3, Ce), c(0.75, Ce), f(1.25, Ce), C(1.5, Ce);
11597
+ n(70), i(0.3, Ce), c(0.75, Ce), f(1.25, Ce), p(1.5, Ce);
11575
11598
  return;
11576
11599
  }
11577
11600
  }, [
@@ -11579,23 +11602,23 @@ function zl(e, r) {
11579
11602
  i,
11580
11603
  c,
11581
11604
  f,
11582
- C
11605
+ p
11583
11606
  ]), q(() => {
11584
- e === "speaking" && g > 0 && !l.isAnimating() && i(0.2 + 0.2 * g, { duration: 0 });
11607
+ e === "speaking" && h > 0 && !l.isAnimating() && i(0.2 + 0.2 * h, { duration: 0 });
11585
11608
  }, [
11586
11609
  e,
11587
- g,
11610
+ h,
11588
11611
  l,
11589
11612
  i,
11590
11613
  c,
11591
11614
  f,
11592
- C
11615
+ p
11593
11616
  ]), {
11594
11617
  speed: o,
11595
11618
  scale: s,
11596
11619
  amplitude: d,
11597
11620
  frequency: u,
11598
- brightness: p
11621
+ brightness: C
11599
11622
  };
11600
11623
  }
11601
11624
  const Gl = Te({
@@ -11634,11 +11657,11 @@ function vr({
11634
11657
  brightness: c = 1,
11635
11658
  themeMode: u = typeof window < "u" && document.documentElement.classList.contains("dark") ? "dark" : "light",
11636
11659
  ref: f,
11637
- className: p,
11638
- ...C
11660
+ className: C,
11661
+ ...p
11639
11662
  }) {
11640
- const g = J(() => Wl(l), [l]);
11641
- return /* @__PURE__ */ t("div", { ref: f, className: p, ...C, children: /* @__PURE__ */ t(
11663
+ const h = J(() => Wl(l), [l]);
11664
+ return /* @__PURE__ */ t("div", { ref: f, className: C, ...p, children: /* @__PURE__ */ t(
11642
11665
  Pl,
11643
11666
  {
11644
11667
  fs: jl,
@@ -11671,7 +11694,7 @@ function vr({
11671
11694
  // Display mode: 0=dark background, 1=light background
11672
11695
  uMode: { type: "1f", value: u === "light" ? 1 : 0 },
11673
11696
  // Color
11674
- uColor: { type: "3fv", value: g ?? [0, 0.7, 1] }
11697
+ uColor: { type: "3fv", value: h ?? [0, 0.7, 1] }
11675
11698
  },
11676
11699
  onError: (m) => {
11677
11700
  console.error("Shader error:", m);
@@ -11695,7 +11718,7 @@ function J6({
11695
11718
  ref: d,
11696
11719
  ...c
11697
11720
  }) {
11698
- const { speed: u, scale: f, amplitude: p, frequency: C, brightness: g } = zl(r, s);
11721
+ const { speed: u, scale: f, amplitude: C, frequency: p, brightness: h } = zl(r, s);
11699
11722
  return /* @__PURE__ */ t(
11700
11723
  vr,
11701
11724
  {
@@ -11706,9 +11729,9 @@ function J6({
11706
11729
  speed: u,
11707
11730
  scale: f,
11708
11731
  themeMode: i,
11709
- amplitude: p,
11710
- frequency: C,
11711
- brightness: g,
11732
+ amplitude: C,
11733
+ frequency: p,
11734
+ brightness: h,
11712
11735
  className: k(
11713
11736
  Gl({ size: e }),
11714
11737
  "overflow-hidden rounded-full",
@@ -11728,7 +11751,7 @@ const e4 = ({
11728
11751
  onCancel: l,
11729
11752
  stackAt: d = "sm"
11730
11753
  }) => /* @__PURE__ */ t(
11731
- Lt,
11754
+ kt,
11732
11755
  {
11733
11756
  title: e,
11734
11757
  description: r,
@@ -11831,7 +11854,7 @@ const e4 = ({
11831
11854
  children: [
11832
11855
  n === "person" && /* @__PURE__ */ a("div", { className: "flex items-center gap-1", children: [
11833
11856
  /* @__PURE__ */ t(
11834
- bt,
11857
+ Lt,
11835
11858
  {
11836
11859
  firstName: e.avatar.firstName,
11837
11860
  lastName: e.avatar.lastName,
@@ -11941,7 +11964,7 @@ const t6 = ({
11941
11964
  label: r,
11942
11965
  invertStatus: o
11943
11966
  }) => {
11944
- const s = `sparkline-gradient-${ot().replace(/:/g, "")}`, i = e6(e, o), l = xr[i];
11967
+ const s = `sparkline-gradient-${Ge().replace(/:/g, "")}`, i = e6(e, o), l = xr[i];
11945
11968
  return /* @__PURE__ */ t("div", { className: "flex flex-1 flex-col", children: /* @__PURE__ */ a(
11946
11969
  "div",
11947
11970
  {
@@ -11989,7 +12012,7 @@ const t6 = ({
11989
12012
  ]
11990
12013
  }
11991
12014
  ) });
11992
- }, kr = h(
12015
+ }, kr = g(
11993
12016
  (e, r) => {
11994
12017
  const {
11995
12018
  description: o,
@@ -12000,7 +12023,7 @@ const t6 = ({
12000
12023
  onAskOne: d,
12001
12024
  className: c,
12002
12025
  ...u
12003
- } = e, [f, p] = I(!1), [C, g] = I(!1), m = f || C, x = ke(), v = m && !!d, M = {
12026
+ } = e, [f, C] = P(!1), [p, h] = P(!1), m = f || p, x = ke(), v = m && !!d, M = {
12004
12027
  duration: x ? 0 : 0.2,
12005
12028
  ease: [0.33, 1, 0.68, 1]
12006
12029
  }, A = () => {
@@ -12050,10 +12073,10 @@ const t6 = ({
12050
12073
  ),
12051
12074
  onClick: l ? A : void 0,
12052
12075
  onKeyDown: l ? T : void 0,
12053
- onMouseEnter: () => p(!0),
12054
- onMouseLeave: () => p(!1),
12055
- onFocus: () => g(!0),
12056
- onBlur: () => g(!1),
12076
+ onMouseEnter: () => C(!0),
12077
+ onMouseLeave: () => C(!1),
12078
+ onFocus: () => h(!0),
12079
+ onBlur: () => h(!1),
12057
12080
  children: [
12058
12081
  /* @__PURE__ */ t(
12059
12082
  Yl,
@@ -12098,7 +12121,7 @@ const t6 = ({
12098
12121
  }
12099
12122
  );
12100
12123
  kr.displayName = "F0AiInsightCardInternal";
12101
- const n6 = ["className"], Lr = h((e, r) => {
12124
+ const n6 = ["className"], Lr = g((e, r) => {
12102
12125
  const o = n6.reduce((n, s) => {
12103
12126
  const { [s]: i, ...l } = n;
12104
12127
  return l;
@@ -12149,11 +12172,11 @@ function d6(e) {
12149
12172
  description: i,
12150
12173
  seeMoreLabel: l,
12151
12174
  maxCollapsedDescriptionLength: d = br
12152
- } = e, [c, u] = I(!1), f = ot(), p = j(null), C = i6(
12175
+ } = e, [c, u] = P(!1), f = Ge(), C = B(null), p = i6(
12153
12176
  d
12154
- ), g = i.length > C, m = c ? i : a6(i, C), x = c6(e) ? e : null, v = l6(e);
12177
+ ), h = i.length > p, m = c ? i : a6(i, p), x = c6(e) ? e : null, v = l6(e);
12155
12178
  return q(() => {
12156
- c && p.current?.focus();
12179
+ c && C.current?.focus();
12157
12180
  }, [c]), /* @__PURE__ */ a(
12158
12181
  "section",
12159
12182
  {
@@ -12161,7 +12184,7 @@ function d6(e) {
12161
12184
  ...v,
12162
12185
  children: [
12163
12186
  /* @__PURE__ */ a("div", { className: "flex items-center gap-3 px-4 py-3", children: [
12164
- r && /* @__PURE__ */ t(yt, { module: r, size: "md" }),
12187
+ r && /* @__PURE__ */ t(bt, { module: r, size: "md" }),
12165
12188
  /* @__PURE__ */ a("div", { className: "min-w-0 flex-1", children: [
12166
12189
  /* @__PURE__ */ t("h2", { className: "truncate text-lg font-semibold text-f1-foreground", children: o }),
12167
12190
  s && /* @__PURE__ */ t("p", { className: "truncate text-base text-f1-foreground-secondary", children: s })
@@ -12173,7 +12196,7 @@ function d6(e) {
12173
12196
  "p",
12174
12197
  {
12175
12198
  id: f,
12176
- ref: p,
12199
+ ref: C,
12177
12200
  tabIndex: c ? -1 : void 0,
12178
12201
  className: k(
12179
12202
  "text-base text-f1-foreground whitespace-pre-wrap break-words",
@@ -12182,7 +12205,7 @@ function d6(e) {
12182
12205
  ),
12183
12206
  children: [
12184
12207
  m,
12185
- g && !c && /* @__PURE__ */ a(Re, { children: [
12208
+ h && !c && /* @__PURE__ */ a(Re, { children: [
12186
12209
  " ",
12187
12210
  /* @__PURE__ */ t(
12188
12211
  "button",
@@ -12222,26 +12245,26 @@ const f6 = ({
12222
12245
  title: r,
12223
12246
  children: o
12224
12247
  }) => {
12225
- const [n, s] = I(!1), i = ke();
12248
+ const [n, s] = P(!1), i = ke();
12226
12249
  return /* @__PURE__ */ a(
12227
- Et,
12250
+ Mt,
12228
12251
  {
12229
12252
  className: "mb-1 w-full",
12230
12253
  open: n,
12231
12254
  onOpenChange: s,
12232
12255
  children: [
12233
- /* @__PURE__ */ a(Rt, { 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", children: [
12256
+ /* @__PURE__ */ a(Et, { 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", children: [
12234
12257
  /* @__PURE__ */ t("span", { className: "mr-2 *:block", children: /* @__PURE__ */ t(le, { icon: e, className: "block" }) }),
12235
12258
  /* @__PURE__ */ t("span", { className: "mr-[2px]", children: r }),
12236
12259
  /* @__PURE__ */ t(
12237
12260
  le,
12238
12261
  {
12239
- icon: We,
12262
+ icon: qe,
12240
12263
  className: "h-4 w-4 transition-transform duration-200"
12241
12264
  }
12242
12265
  )
12243
12266
  ] }),
12244
- /* @__PURE__ */ t(Ft, { forceMount: !0, className: "data-[state=open]:mt-3", children: /* @__PURE__ */ t(
12267
+ /* @__PURE__ */ t(Rt, { forceMount: !0, className: "data-[state=open]:mt-3", children: /* @__PURE__ */ t(
12245
12268
  ee.div,
12246
12269
  {
12247
12270
  initial: !1,
@@ -12261,7 +12284,7 @@ const f6 = ({
12261
12284
  ]
12262
12285
  }
12263
12286
  );
12264
- }, u6 = (e) => pc[e] ?? ft, h6 = ({ iconName: e }) => e ? /* @__PURE__ */ t("div", { className: "mr-1 flex items-center justify-center", children: /* @__PURE__ */ t(le, { icon: u6(e), size: "md", color: "default" }) }) : null;
12287
+ }, u6 = (e) => p0[e] ?? dt, h6 = ({ iconName: e }) => e ? /* @__PURE__ */ t("div", { className: "mr-1 flex items-center justify-center", children: /* @__PURE__ */ t(le, { icon: u6(e), size: "md", color: "default" }) }) : null;
12265
12288
  function g6({
12266
12289
  sources: e,
12267
12290
  title: r
@@ -12270,7 +12293,7 @@ function g6({
12270
12293
  if (!e || e.length === 0 || !Array.isArray(e))
12271
12294
  return null;
12272
12295
  const n = r ?? o.ai.resourcesGroupTitle;
12273
- return /* @__PURE__ */ t(f6, { icon: c1, title: n, children: /* @__PURE__ */ t("div", { className: "flex flex-col gap-1 rounded-lg border border-solid border-f1-border-secondary p-2", children: e.map((s, i) => {
12296
+ return /* @__PURE__ */ t(f6, { icon: l1, title: n, children: /* @__PURE__ */ t("div", { className: "flex flex-col gap-1 rounded-lg border border-solid border-f1-border-secondary p-2", children: e.map((s, i) => {
12274
12297
  const l = /* @__PURE__ */ t(h6, { iconName: s.icon });
12275
12298
  return s.link ? /* @__PURE__ */ t(
12276
12299
  Be,
@@ -12309,7 +12332,7 @@ function C6({
12309
12332
  title: r,
12310
12333
  filename: o
12311
12334
  }) {
12312
- const n = G(), s = j(null), i = r ?? n.ai.aiTable.title, l = _(
12335
+ const n = G(), s = B(null), i = r ?? n.ai.aiTable.title, l = _(
12313
12336
  (d) => {
12314
12337
  if (!s.current) return;
12315
12338
  const c = o ?? (i.replace(/\s+/g, "_").toLowerCase() || "table");
@@ -12318,7 +12341,7 @@ function C6({
12318
12341
  [i, o]
12319
12342
  );
12320
12343
  return e.columns?.length ? /* @__PURE__ */ a(
12321
- e1,
12344
+ t1,
12322
12345
  {
12323
12346
  display: "flex",
12324
12347
  flexDirection: "column",
@@ -12328,7 +12351,7 @@ function C6({
12328
12351
  borderColor: "secondary",
12329
12352
  children: [
12330
12353
  /* @__PURE__ */ a(
12331
- e1,
12354
+ t1,
12332
12355
  {
12333
12356
  display: "flex",
12334
12357
  alignItems: "center",
@@ -12370,7 +12393,7 @@ function C6({
12370
12393
  ]
12371
12394
  }
12372
12395
  ),
12373
- /* @__PURE__ */ t(e1, { overflowX: "auto", children: /* @__PURE__ */ a(
12396
+ /* @__PURE__ */ t(t1, { overflowX: "auto", children: /* @__PURE__ */ a(
12374
12397
  "table",
12375
12398
  {
12376
12399
  ref: s,
@@ -12407,7 +12430,7 @@ function C6({
12407
12430
  }
12408
12431
  C6.displayName = "F0AiTableCard";
12409
12432
  function m6({ credits: e, trigger: r }) {
12410
- const o = G(), [n, s] = I(!1), [i, l] = I(!1), [d, c] = I(!1), [u, f] = I(null), p = _(
12433
+ const o = G(), [n, s] = P(!1), [i, l] = P(!1), [d, c] = P(!1), [u, f] = P(null), C = _(
12411
12434
  (m) => {
12412
12435
  s(m), m && e?.fetchUsage && (l(!0), c(!1), e.fetchUsage().then((x) => {
12413
12436
  f(x), c(!1);
@@ -12420,15 +12443,15 @@ function m6({ credits: e, trigger: r }) {
12420
12443
  [e]
12421
12444
  );
12422
12445
  if (!e) return null;
12423
- const C = u ? Math.min(100, Math.round(u.used / u.total * 100)) : 0, g = e.companyName;
12424
- return /* @__PURE__ */ a(d1, { open: n, onOpenChange: p, children: [
12425
- /* @__PURE__ */ t(f1, { asChild: !0, children: r ?? /* @__PURE__ */ t(
12446
+ const p = u ? Math.min(100, Math.round(u.used / u.total * 100)) : 0, h = e.companyName;
12447
+ return /* @__PURE__ */ a(f1, { open: n, onOpenChange: C, children: [
12448
+ /* @__PURE__ */ t(Nt, { asChild: !0, children: r ?? /* @__PURE__ */ t(
12426
12449
  se,
12427
12450
  {
12428
12451
  variant: "ghost",
12429
12452
  hideLabel: !0,
12430
12453
  label: o.t("ai.credits.title"),
12431
- icon: l1,
12454
+ icon: d1,
12432
12455
  pressed: n
12433
12456
  }
12434
12457
  ) }),
@@ -12442,7 +12465,7 @@ function m6({ credits: e, trigger: r }) {
12442
12465
  collisionPadding: 12,
12443
12466
  className: "flex w-[324px] flex-col gap-3 rounded-md border border-solid border-f1-border-secondary p-3",
12444
12467
  children: [
12445
- g && /* @__PURE__ */ a("div", { className: "flex min-w-0 max-w-full flex-1 items-center gap-2 overflow-hidden text-left text-lg text-f1-foreground", children: [
12468
+ h && /* @__PURE__ */ a("div", { className: "flex min-w-0 max-w-full flex-1 items-center gap-2 overflow-hidden text-left text-lg text-f1-foreground", children: [
12446
12469
  /* @__PURE__ */ t(
12447
12470
  g1,
12448
12471
  {
@@ -12492,7 +12515,7 @@ function m6({ credits: e, trigger: r }) {
12492
12515
  {
12493
12516
  className: "h-full rounded-full",
12494
12517
  style: {
12495
- width: `${C}%`,
12518
+ width: `${p}%`,
12496
12519
  backgroundImage: "linear-gradient(90deg, #E55619, #A1ADE5, #E51943, #E55619)",
12497
12520
  backgroundSize: "300% 100%"
12498
12521
  },
@@ -12521,7 +12544,7 @@ function m6({ credits: e, trigger: r }) {
12521
12544
  variant: "outlinePromote",
12522
12545
  href: e.upgradePlanUrl,
12523
12546
  label: o.t("ai.credits.upgradePlan"),
12524
- icon: xt
12547
+ icon: wt
12525
12548
  }
12526
12549
  )
12527
12550
  ] })
@@ -12536,10 +12559,10 @@ function w6({
12536
12559
  employeeCredits: e,
12537
12560
  trigger: r
12538
12561
  }) {
12539
- const o = G(), n = ke(), [s, i] = I(!1), [l, d] = I(!1), [c, u] = I(!1), [f, p] = I(null), C = _(
12562
+ const o = G(), n = ke(), [s, i] = P(!1), [l, d] = P(!1), [c, u] = P(!1), [f, C] = P(null), p = _(
12540
12563
  (v) => {
12541
12564
  i(v), v && e?.fetchUsage && (d(!0), u(!1), e.fetchUsage().then((M) => {
12542
- p(M), u(!1);
12565
+ C(M), u(!1);
12543
12566
  }).catch(() => {
12544
12567
  u(!0);
12545
12568
  }).finally(() => {
@@ -12549,15 +12572,15 @@ function w6({
12549
12572
  [e]
12550
12573
  );
12551
12574
  if (!e) return null;
12552
- const g = !!e.companyName, m = f && f.total > 0 ? Math.min(100, Math.round(f.used / f.total * 100)) : 0, x = f ? Math.max(0, f.total - f.used) : 0;
12553
- return /* @__PURE__ */ a(d1, { open: s, onOpenChange: C, children: [
12554
- /* @__PURE__ */ t(f1, { asChild: !0, children: r ?? /* @__PURE__ */ t(
12575
+ const h = !!e.companyName, m = f && f.total > 0 ? Math.min(100, Math.round(f.used / f.total * 100)) : 0, x = f ? Math.max(0, f.total - f.used) : 0;
12576
+ return /* @__PURE__ */ a(f1, { open: s, onOpenChange: p, children: [
12577
+ /* @__PURE__ */ t(Nt, { asChild: !0, children: r ?? /* @__PURE__ */ t(
12555
12578
  se,
12556
12579
  {
12557
12580
  variant: "ghost",
12558
12581
  hideLabel: !0,
12559
12582
  label: o.t("ai.credits.title"),
12560
- icon: l1,
12583
+ icon: d1,
12561
12584
  pressed: s
12562
12585
  }
12563
12586
  ) }),
@@ -12571,7 +12594,7 @@ function w6({
12571
12594
  collisionPadding: 12,
12572
12595
  className: "flex w-[324px] flex-col gap-3 rounded-md border border-solid border-f1-border-secondary p-3",
12573
12596
  children: [
12574
- g && /* @__PURE__ */ a("div", { className: "flex min-w-0 max-w-full flex-1 items-center gap-2 overflow-hidden text-left text-lg text-f1-foreground", children: [
12597
+ h && /* @__PURE__ */ a("div", { className: "flex min-w-0 max-w-full flex-1 items-center gap-2 overflow-hidden text-left text-lg text-f1-foreground", children: [
12575
12598
  /* @__PURE__ */ t(
12576
12599
  g1,
12577
12600
  {
@@ -12649,7 +12672,7 @@ function w6({
12649
12672
  )
12650
12673
  ] });
12651
12674
  }
12652
- const n1 = ({
12675
+ const s1 = ({
12653
12676
  credits: e,
12654
12677
  employeeCredits: r,
12655
12678
  trigger: o
@@ -12659,7 +12682,7 @@ const n1 = ({
12659
12682
  employeeCredits: r,
12660
12683
  trigger: o
12661
12684
  }
12662
- ) : e ? /* @__PURE__ */ t(m6, { credits: e, trigger: o }) : null, o4 = n1, n4 = ({
12685
+ ) : e ? /* @__PURE__ */ t(m6, { credits: e, trigger: o }) : null, o4 = s1, n4 = ({
12663
12686
  historyEnabled: e = !1,
12664
12687
  title: r,
12665
12688
  currentThreadTitle: o,
@@ -12671,9 +12694,9 @@ const n1 = ({
12671
12694
  onOpenHistory: c,
12672
12695
  hasMessages: u = !1,
12673
12696
  credits: f,
12674
- employeeCredits: p,
12675
- compact: C = !1,
12676
- actions: g
12697
+ employeeCredits: C,
12698
+ compact: p = !1,
12699
+ actions: h
12677
12700
  }) => {
12678
12701
  const m = G(), x = ke(), v = is(`(max-width: ${as.md}px)`, {
12679
12702
  initializeWithValue: !0
@@ -12683,7 +12706,7 @@ const n1 = ({
12683
12706
  variant: "ghost",
12684
12707
  hideLabel: !0,
12685
12708
  label: n ? m.ai.collapseChat : m.ai.expandChat,
12686
- icon: n ? gt : ut,
12709
+ icon: n ? ht : ft,
12687
12710
  onClick: i
12688
12711
  }
12689
12712
  ), A = /* @__PURE__ */ t(
@@ -12695,7 +12718,7 @@ const n1 = ({
12695
12718
  icon: Fe,
12696
12719
  onClick: l
12697
12720
  }
12698
- ), T = g?.map((V) => /* @__PURE__ */ t(
12721
+ ), T = h?.map((V) => /* @__PURE__ */ t(
12699
12722
  se,
12700
12723
  {
12701
12724
  variant: "ghost",
@@ -12707,7 +12730,7 @@ const n1 = ({
12707
12730
  },
12708
12731
  V.id
12709
12732
  ));
12710
- return C ? /* @__PURE__ */ a(
12733
+ return p ? /* @__PURE__ */ a(
12711
12734
  "header",
12712
12735
  {
12713
12736
  className: k("flex items-center justify-between gap-3 pr-4 pl-5 py-3"),
@@ -12755,7 +12778,7 @@ const n1 = ({
12755
12778
  onClick: c,
12756
12779
  children: /* @__PURE__ */ a("div", { className: "flex min-w-0 items-center gap-1", children: [
12757
12780
  /* @__PURE__ */ t(ie, { lines: 1, className: "min-w-0 text-left", children: o ?? m.ai.newConversation }),
12758
- /* @__PURE__ */ t(le, { icon: i1, color: "default", size: "md" })
12781
+ /* @__PURE__ */ t(le, { icon: a1, color: "default", size: "md" })
12759
12782
  ] })
12760
12783
  }
12761
12784
  ) }),
@@ -12771,10 +12794,10 @@ const n1 = ({
12771
12794
  },
12772
12795
  children: [
12773
12796
  /* @__PURE__ */ t(
12774
- n1,
12797
+ s1,
12775
12798
  {
12776
12799
  credits: f,
12777
- employeeCredits: p
12800
+ employeeCredits: C
12778
12801
  }
12779
12802
  ),
12780
12803
  T,
@@ -12809,10 +12832,10 @@ const n1 = ({
12809
12832
  }
12810
12833
  ),
12811
12834
  /* @__PURE__ */ t(
12812
- n1,
12835
+ s1,
12813
12836
  {
12814
12837
  credits: f,
12815
- employeeCredits: p
12838
+ employeeCredits: C
12816
12839
  }
12817
12840
  ),
12818
12841
  T,
@@ -12868,18 +12891,18 @@ function y6({
12868
12891
  () => [
12869
12892
  {
12870
12893
  label: r ? u.ai.unpinChat : u.ai.pinChat,
12871
- icon: r ? mt : Ct,
12894
+ icon: r ? Ct : pt,
12872
12895
  onClick: () => r ? l(e.id) : i(e.id)
12873
12896
  },
12874
12897
  {
12875
12898
  label: u.ai.deleteChat,
12876
- icon: lt,
12899
+ icon: ct,
12877
12900
  critical: !0,
12878
12901
  onClick: () => d(e.id)
12879
12902
  }
12880
12903
  ],
12881
12904
  [r, e.id, i, l, d]
12882
- ), p = J(
12905
+ ), C = J(
12883
12906
  () => L6(e.updatedAt, {
12884
12907
  today: u.ai.today,
12885
12908
  yesterday: u.ai.yesterday
@@ -12899,8 +12922,8 @@ function y6({
12899
12922
  role: "button",
12900
12923
  tabIndex: 0,
12901
12924
  "aria-current": o ? "true" : void 0,
12902
- onKeyDown: (C) => {
12903
- (C.key === "Enter" || C.key === " ") && (C.preventDefault(), s(e.id, e.title));
12925
+ onKeyDown: (p) => {
12926
+ (p.key === "Enter" || p.key === " ") && (p.preventDefault(), s(e.id, e.title));
12904
12927
  },
12905
12928
  children: [
12906
12929
  /* @__PURE__ */ a(
@@ -12910,7 +12933,7 @@ function y6({
12910
12933
  onClick: () => s(e.id, e.title),
12911
12934
  children: [
12912
12935
  /* @__PURE__ */ t(ie, { lines: 1, className: "py-0.5 text-left font-medium", children: e.title }),
12913
- /* @__PURE__ */ t("span", { className: "hidden shrink-0 text-sm font-medium text-f1-foreground-tertiary group-focus-within:inline group-hover:inline", children: p })
12936
+ /* @__PURE__ */ t("span", { className: "hidden shrink-0 text-sm font-medium text-f1-foreground-tertiary group-focus-within:inline group-hover:inline", children: C })
12914
12937
  ]
12915
12938
  }
12916
12939
  ),
@@ -12939,7 +12962,7 @@ function y6({
12939
12962
  children: /* @__PURE__ */ t(h1, { items: f, children: /* @__PURE__ */ t(
12940
12963
  se,
12941
12964
  {
12942
- icon: dt,
12965
+ icon: lt,
12943
12966
  variant: "ghost",
12944
12967
  size: "sm",
12945
12968
  label: u.ai.threadOptions,
@@ -12961,11 +12984,11 @@ function Q1({
12961
12984
  onUnpin: i,
12962
12985
  onDelete: l
12963
12986
  }) {
12964
- const [d, c] = I(!0), u = _(() => {
12965
- c((p) => !p);
12987
+ const [d, c] = P(!0), u = _(() => {
12988
+ c((C) => !C);
12966
12989
  }, []), f = _(
12967
- (p) => {
12968
- (p.key === "Enter" || p.key === " ") && (p.preventDefault(), u());
12990
+ (C) => {
12991
+ (C.key === "Enter" || C.key === " ") && (C.preventDefault(), u());
12969
12992
  },
12970
12993
  [u]
12971
12994
  );
@@ -12986,7 +13009,7 @@ function Q1({
12986
13009
  /* @__PURE__ */ t(
12987
13010
  le,
12988
13011
  {
12989
- icon: d ? i1 : ct,
13012
+ icon: d ? a1 : at,
12990
13013
  color: "secondary",
12991
13014
  size: "xs"
12992
13015
  }
@@ -12994,17 +13017,17 @@ function Q1({
12994
13017
  ]
12995
13018
  }
12996
13019
  ),
12997
- d && /* @__PURE__ */ t("div", { className: "flex flex-col", children: r.map((p) => /* @__PURE__ */ t(
13020
+ d && /* @__PURE__ */ t("div", { className: "flex flex-col", children: r.map((C) => /* @__PURE__ */ t(
12998
13021
  y6,
12999
13022
  {
13000
- thread: p,
13001
- isPinned: o.has(p.id),
13023
+ thread: C,
13024
+ isPinned: o.has(C.id),
13002
13025
  onSelect: n,
13003
13026
  onPin: s,
13004
13027
  onUnpin: i,
13005
13028
  onDelete: l
13006
13029
  },
13007
- p.id
13030
+ C.id
13008
13031
  )) })
13009
13032
  ] });
13010
13033
  }
@@ -13033,14 +13056,14 @@ const s4 = ({
13033
13056
  onUnpinThread: c,
13034
13057
  onDeleteThread: u
13035
13058
  }) => {
13036
- const f = G(), [p, C] = I("");
13059
+ const f = G(), [C, p] = P("");
13037
13060
  q(() => {
13038
13061
  const w = (N) => {
13039
13062
  N.key === "Escape" && e();
13040
13063
  };
13041
13064
  return document.addEventListener("keydown", w), () => document.removeEventListener("keydown", w);
13042
13065
  }, [e]);
13043
- const g = J(
13066
+ const h = J(
13044
13067
  () => ({
13045
13068
  today: f.ai.today,
13046
13069
  yesterday: f.ai.yesterday,
@@ -13054,10 +13077,10 @@ const s4 = ({
13054
13077
  f.ai.older
13055
13078
  ]
13056
13079
  ), m = J(() => {
13057
- if (!p.trim()) return n;
13058
- const w = p.toLowerCase();
13080
+ if (!C.trim()) return n;
13081
+ const w = C.toLowerCase();
13059
13082
  return n.filter((N) => N.title.toLowerCase().includes(w));
13060
- }, [n, p]), x = J(
13083
+ }, [n, C]), x = J(
13061
13084
  () => m.filter((w) => l.has(w.id)),
13062
13085
  [m, l]
13063
13086
  ), v = J(
@@ -13110,13 +13133,13 @@ const s4 = ({
13110
13133
  ),
13111
13134
  children: [
13112
13135
  /* @__PURE__ */ a("div", { className: "flex flex-shrink-0 items-center gap-2 border-0 border-b border-solid border-f1-border-secondary py-2 pl-5 pr-3", children: [
13113
- /* @__PURE__ */ t(le, { icon: c1, color: "secondary", size: "md" }),
13136
+ /* @__PURE__ */ t(le, { icon: l1, color: "secondary", size: "md" }),
13114
13137
  /* @__PURE__ */ t(
13115
13138
  "input",
13116
13139
  {
13117
13140
  type: "text",
13118
- value: p,
13119
- onChange: (w) => C(w.target.value),
13141
+ value: C,
13142
+ onChange: (w) => p(w.target.value),
13120
13143
  placeholder: f.ai.searchChats,
13121
13144
  className: k(
13122
13145
  "w-full",
@@ -13159,7 +13182,7 @@ const s4 = ({
13159
13182
  !s && !i && M.map((w) => /* @__PURE__ */ t(
13160
13183
  Q1,
13161
13184
  {
13162
- label: g[w.key],
13185
+ label: h[w.key],
13163
13186
  threads: w.threads,
13164
13187
  pinnedIds: l,
13165
13188
  onSelect: A,
@@ -13193,7 +13216,7 @@ function i4({
13193
13216
  pinThread: n,
13194
13217
  unpinThread: s
13195
13218
  }) {
13196
- const [i, l] = I([]), [d, c] = I(!1), [u, f] = I(null), [p, C] = I(R6), [g, m] = I(() => /* @__PURE__ */ new Set()), x = _(async () => {
13219
+ const [i, l] = P([]), [d, c] = P(!1), [u, f] = P(null), [C, p] = P(R6), [h, m] = P(() => /* @__PURE__ */ new Set()), x = _(async () => {
13197
13220
  c(!0), f(null);
13198
13221
  try {
13199
13222
  const w = await r();
@@ -13209,7 +13232,7 @@ function i4({
13209
13232
  e && x();
13210
13233
  }, [e, x]);
13211
13234
  const v = _((w, N) => {
13212
- C((L) => {
13235
+ p((L) => {
13213
13236
  if (N === L.has(w)) return L;
13214
13237
  const $ = new Set(L);
13215
13238
  return N ? $.add(w) : $.delete(w), tt($), $;
@@ -13233,7 +13256,7 @@ function i4({
13233
13256
  async (w) => {
13234
13257
  M(w, !0);
13235
13258
  try {
13236
- await o(w), l((N) => N.filter((L) => L.id !== w)), C((N) => {
13259
+ await o(w), l((N) => N.filter((L) => L.id !== w)), p((N) => {
13237
13260
  if (!N.has(w)) return N;
13238
13261
  const L = new Set(N);
13239
13262
  return L.delete(w), tt(L), L;
@@ -13251,8 +13274,8 @@ function i4({
13251
13274
  isLoading: d,
13252
13275
  error: u,
13253
13276
  refetch: x,
13254
- pinnedIds: p,
13255
- pendingIds: g,
13277
+ pinnedIds: C,
13278
+ pendingIds: h,
13256
13279
  pinThread: T,
13257
13280
  unpinThread: V,
13258
13281
  deleteThread: E
@@ -13356,17 +13379,17 @@ export {
13356
13379
  a4 as B,
13357
13380
  Q1 as C,
13358
13381
  Dt as D,
13359
- mc as E,
13382
+ m0 as E,
13360
13383
  O6 as F,
13361
- ic as G,
13362
- nc as H,
13363
- rc as I,
13384
+ i0 as G,
13385
+ n0 as H,
13386
+ r0 as I,
13364
13387
  H5 as J,
13365
13388
  R5 as K,
13366
13389
  xs as L,
13367
13390
  Va as M,
13368
13391
  ui as N,
13369
- e1 as O,
13392
+ t1 as O,
13370
13393
  di as P,
13371
13394
  ni as Q,
13372
13395
  ii as R,