@factorialco/f0-react 6.6.0 → 6.7.1

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,5 +1,5 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { D as l, P as d, e as s } from "./pdfWorker-M-OJp-Of.js";
2
+ import { D as l, P as d, e as s } from "./pdfWorker-BZTw2yWQ.js";
3
3
  s();
4
4
  const f = ({
5
5
  url: n,
@@ -1,7 +1,7 @@
1
1
  import { jsxs as i, jsx as l } from "react/jsx-runtime";
2
2
  import { useState as u, useCallback as m, useMemo as p } from "react";
3
- import { u as x, i as w, j as k, k as S, l as C } from "./F0CanvasPanel-C6qzM_nP.js";
4
- import { n as g, a as h, f as v, T as r, d as F } from "./index-BW-Go-y_.js";
3
+ import { u as x, i as w, j as k, k as S, l as C } from "./F0CanvasPanel-BImifyj_.js";
4
+ import { n as g, a as h, f as v, T as r, d as F } from "./index-C9yL20Zh.js";
5
5
  const D = () => {
6
6
  const [t, a] = u(1), n = m(
7
7
  () => a((e) => g(e) ?? e),
@@ -1,8 +1,8 @@
1
1
  import { jsxs as c, jsx as t } from "react/jsx-runtime";
2
2
  import { useRef as g, useState as h, useEffect as b } from "react";
3
3
  import { r as p } from "./docx-preview-BaRDMyPN.js";
4
- import { u as v, S as w } from "./F0CanvasPanel-C6qzM_nP.js";
5
- import { u as x, D as y } from "./DocumentToolbar-BnzDBY9A.js";
4
+ import { u as v, S as w } from "./F0CanvasPanel-BImifyj_.js";
5
+ import { u as x, D as y } from "./DocumentToolbar-CGLWhffv.js";
6
6
  const V = ({
7
7
  url: o,
8
8
  filename: d,
@@ -1,12 +1,12 @@
1
1
  import { jsxs as a, jsx as t, Fragment as R1 } from "react/jsx-runtime";
2
2
  import { useInsertionEffect as Ar, forwardRef as m, useRef as $, useEffect as W, useLayoutEffect as ie, useState as D, useId as G1, useMemo as K, useCallback as O, createContext as W1, useContext as I1, createElement as Er, memo as $r } from "react";
3
- import { dc as Br, aG as Ir, dd as Pr, am as nt, cd as Dr, de as jr, df as _r, dg as Zr, dh as Or, ce as Ur, cj as st, cc as zr, di as Gr, av as ae, dj as Wr, b5 as qr, dk as Xr, dl as Yr, dm as Kr, aN as Qr, dn as Jr, cJ as eo, y as it, aA as to, dp as ro, o as le, aq as at, ah as q1, n as lt, bD as oo, ch as no, dq as so, bq as io, cI as ao, ao as F1, aX as lo, bH as ct, dr as co, cG as uo, l as y1, cE as fo, ds as ho, c8 as dt, bp as po, dt as mo, du as Co, dv as go, dw as wo, dx as vo, dy as ut, cx as xo, cy as bo, dz as Lo, dA as ko, dB as yo, dC as Mo, dD as Ro, bS as Fo, cg as No, dE as Vo, dF as So, dG as To, dH as Ho, dI as Ao, dJ as Eo, dK as $o, dL as Bo, bR as Io, cH as Po, ay as Do, ct as jo, dM as _o, dN as Zo, dO as Oo, dP as Uo, dQ as zo, dR as Go, dS as Wo, aT as qo, bT as Xo, R as ft, dT as Yo, ag as Ko, ap as Qo, bU as ht, c7 as Jo, Q as pt, dU as en, i as tn, bG as rn, bF as on, dV as nn, dW as sn, bV as mt, bW as an, bX as ln, bo as cn, aZ as dn, dX as un, j as fn, bB as Ct, bA as gt, bv as hn, dY as wt, ax as pn, cf as ce, q as mn, by as de, dZ as Cn, d_ as gn, d$ as ue, N as wn, O as vn, cF as vt, e0 as xn, ae as bn, ad as Ln, e1 as kn, e2 as yn, e3 as Mn, e4 as Rn, c5 as Fn, e5 as xt, e6 as Nn, aF as Vn, az as Sn, e7 as Tn, af as i1, a6 as H1, co as Hn, u as G, c4 as An, S as h1, bQ as bt, U as a1, ar as En, m as w1, e8 as $n, aB as l1, aH as v1, ac as M1, a5 as Q, cO as Lt, t as fe, e9 as Bn, x as he, b as k1, c2 as In, ea as Pn, c3 as Dn, ai as jn, bn as _n, au as pe, bY as Zn, bZ as On, b_ as Un, b$ as Me, as as zn, aO as kt, bd as yt, bP as Gn, b4 as Wn, cU as qn, eb as Xn, ec as Yn, bj as Mt, ed as Kn, cQ as Qn, ee as Jn, bf as B1, bw as Rt, ef as Ft, bx as Nt, c as oe, ci as Re, eg as Vt, eh as es, ei as ts, aE as rs, ej as os, bC as me, cu as ns, ek as ss, el as is, em as as, en as ls, eo as cs, w as ds, s as us, v as St, aa as fs, ab as hs, aC as Fe, ep as Tt, eq as Ht, er as ps, es as ms, aK as Cs, aw as gs, et as ws, eu as vs, d as xs } from "./F0CanvasPanel-C6qzM_nP.js";
4
- import { d as k, f as p1, g as bs } from "./tooltip-Cik7KBQT.js";
3
+ import { dg as Br, aI as Ir, dh as Pr, an as nt, cf as Dr, di as jr, dj as _r, dk as Zr, dl as Or, cg as Ur, cl as st, ce as zr, dm as Gr, ax as ae, dn as Wr, b7 as qr, dp as Xr, dq as Yr, dr as Kr, aP as Qr, ds as Jr, cL as eo, y as it, aC as to, dt as ro, o as le, ar as at, ai as q1, n as lt, bF as oo, cj as no, du as so, bs as io, cK as ao, ap as F1, aZ as lo, bJ as ct, dv as co, cI as uo, l as y1, cG as fo, dw as ho, ca as dt, br as po, dx as mo, dy as Co, dz as go, dA as wo, dB as vo, dC as ut, cz as xo, cA as bo, dD as Lo, dE as ko, dF as yo, dG as Mo, dH as Ro, bU as Fo, ci as No, dI as Vo, dJ as So, dK as To, E as Ho, dL as Ao, dM as Eo, dN as $o, dO as Bo, dP as Io, bT as Po, cJ as Do, aA as jo, cv as _o, dQ as Zo, dR as Oo, dS as Uo, dT as zo, dU as Go, dV as Wo, dW as qo, aV as Xo, bV as Yo, U as ft, dX as Ko, ah as Qo, aq as Jo, bW as ht, c9 as en, R as pt, dY as tn, i as rn, bI as on, bH as nn, dZ as sn, d_ as an, bX as mt, bY as ln, bZ as cn, bq as dn, a$ as un, d$ as fn, j as hn, bD as Ct, bC as gt, bx as pn, e0 as wt, az as mn, ch as ce, q as Cn, bA as de, e1 as gn, e2 as wn, e3 as ue, O as vn, Q as xn, cH as vt, e4 as bn, af as Ln, ae as kn, e5 as yn, e6 as Mn, e7 as Rn, e8 as Fn, c7 as Nn, e9 as xt, ea as Vn, aH as Sn, aB as Tn, eb as Hn, ag as i1, a7 as H1, cq as An, u as G, c6 as En, S as h1, bS as bt, V as a1, as as $n, m as w1, ec as Bn, aD as l1, aJ as v1, ad as M1, a6 as Q, cQ as Lt, t as fe, ed as In, x as he, b as k1, c4 as Pn, ee as Dn, c5 as jn, aj as _n, bp as Zn, av as pe, b_ as On, b$ as Un, c0 as zn, c1 as Me, at as Gn, aQ as kt, bf as yt, bR as Wn, b6 as qn, cY as Xn, ef as Yn, eg as Kn, bl as Mt, eh as Qn, cU as Jn, ei as es, bh as B1, by as Rt, ej as Ft, bz as Nt, c as oe, ck as Re, ek as Vt, el as ts, em as rs, aG as os, en as ns, bE as me, cw as ss, eo as is, ep as as, eq as ls, er as cs, es as ds, w as us, s as fs, v as St, ab as hs, ac as ps, aE as Fe, et as Tt, eu as Ht, ev as ms, ew as Cs, aM as gs, ay as ws, ex as vs, ey as xs, d as bs } from "./F0CanvasPanel-BImifyj_.js";
4
+ import { d as k, f as p1, g as Ls } from "./tooltip-Cik7KBQT.js";
5
5
  import { createPortal as At } from "react-dom";
6
- import { defaultTranslations as Ls } from "./i18n-provider-defaults.js";
7
- import { useTrackVolume as ks } from "@livekit/components-react";
8
- import { a as ys, F as Ms, d as Rs, c as Fs, b as Ns } from "./VolumeMuted-BBB_OqPt.js";
9
- import { F as Vs } from "./Printer-BD-FEi_2.js";
6
+ import { defaultTranslations as ks } from "./i18n-provider-defaults.js";
7
+ import { useTrackVolume as ys } from "@livekit/components-react";
8
+ import { F as Ms } from "./Printer-BD-FEi_2.js";
9
+ import { F as Rs, c as Fs, b as Ns, a as Vs } from "./VolumeMuted-DKLKhxyd.js";
10
10
  function Ss(e, r, o) {
11
11
  Ar(() => e.on(r, o), [e, r, o]);
12
12
  }
@@ -3954,61 +3954,61 @@ const T0 = (e, r) => /* @__PURE__ */ a(
3954
3954
  Flask: pa,
3955
3955
  Folder: To,
3956
3956
  Folders: Ca,
3957
- Globe: ys,
3957
+ Globe: Ho,
3958
3958
  Graph: wa,
3959
- Greater: Ho,
3959
+ Greater: Ao,
3960
3960
  Group: xa,
3961
3961
  GroupBy: La,
3962
- Handle: Ao,
3962
+ Handle: Eo,
3963
3963
  Handshake: ya,
3964
3964
  HardDrive: Ra,
3965
3965
  HeadcountPlanning: Na,
3966
- Heading1: Eo,
3967
- Heading2: $o,
3968
- Heading3: Bo,
3966
+ Heading1: $o,
3967
+ Heading2: Bo,
3968
+ Heading3: Io,
3969
3969
  Headset: Sa,
3970
3970
  Heart: Ha,
3971
3971
  HoldHeart: Ea,
3972
3972
  Home: Ba,
3973
3973
  Hub: Pa,
3974
- Image: Io,
3975
- InProgressTask: Po,
3974
+ Image: Po,
3975
+ InProgressTask: Do,
3976
3976
  Inbox: ja,
3977
3977
  Info: Za,
3978
- InfoCircle: Do,
3979
- InfoCircleLine: jo,
3978
+ InfoCircle: jo,
3979
+ InfoCircleLine: _o,
3980
3980
  InputField: Ua,
3981
- Italic: _o,
3982
- Kanban: Zo,
3981
+ Italic: Zo,
3982
+ Kanban: Oo,
3983
3983
  Keyboard: Ga,
3984
3984
  Laptop: qa,
3985
- LayersFront: Oo,
3986
- Less: Uo,
3985
+ LayersFront: Uo,
3986
+ Less: zo,
3987
3987
  Lightbulb: Et,
3988
- Link: zo,
3988
+ Link: Go,
3989
3989
  LinkRemove: Ka,
3990
- List: Go,
3991
- LockLocked: Wo,
3990
+ List: Wo,
3991
+ LockLocked: qo,
3992
3992
  LockUnlocked: Ja,
3993
- LogoAvatar: qo,
3993
+ LogoAvatar: Xo,
3994
3994
  LogoEruditai: t5,
3995
3995
  LogoTravelperk: o5,
3996
- Marker: Xo,
3996
+ Marker: Yo,
3997
3997
  Marketplace: s5,
3998
3998
  Masonry: a5,
3999
3999
  Maximize: ft,
4000
- MaximizeHorizontal: Yo,
4001
- Megaphone: Ko,
4002
- Menu: Qo,
4000
+ MaximizeHorizontal: Ko,
4001
+ Megaphone: Qo,
4002
+ Menu: Jo,
4003
4003
  MessageFilled: c5,
4004
4004
  MessageFrown: u5,
4005
4005
  MessageHeart: h5,
4006
4006
  Messages: m5,
4007
4007
  Microphone: ht,
4008
- MicrophoneNegative: Jo,
4008
+ MicrophoneNegative: en,
4009
4009
  Minimize: pt,
4010
- MinimizeHorizontal: en,
4011
- Minus: tn,
4010
+ MinimizeHorizontal: tn,
4011
+ Minus: rn,
4012
4012
  Mobile: g5,
4013
4013
  Money: $t,
4014
4014
  MoneyBag: x5,
@@ -4016,99 +4016,99 @@ const T0 = (e, r) => /* @__PURE__ */ a(
4016
4016
  MonitorSmartphone: y5,
4017
4017
  Moon: R5,
4018
4018
  Mouse: N5,
4019
- MoveDown: rn,
4019
+ MoveDown: on,
4020
4020
  MoveTop: S5,
4021
- MoveUp: on,
4021
+ MoveUp: nn,
4022
4022
  Multitask: H5,
4023
4023
  New: Ce,
4024
4024
  Numbers: $5,
4025
4025
  Office: I5,
4026
- OlList: nn,
4027
- Organization: sn,
4026
+ OlList: sn,
4027
+ Organization: an,
4028
4028
  PalmTree: D5,
4029
4029
  Paperclip: mt,
4030
4030
  PartiallyCompleted: _5,
4031
4031
  Password: O5,
4032
4032
  PauseCircle: z5,
4033
- Pencil: an,
4034
- People: ln,
4035
- Person: cn,
4033
+ Pencil: ln,
4034
+ People: cn,
4035
+ Person: dn,
4036
4036
  PersonMinus: W5,
4037
- PersonNegative: dn,
4037
+ PersonNegative: un,
4038
4038
  PersonPlus: X5,
4039
4039
  Phone: K5,
4040
4040
  Pig: J5,
4041
4041
  Pin: t0,
4042
4042
  PixBrazil: o0,
4043
- Placeholder: un,
4043
+ Placeholder: fn,
4044
4044
  Plane: s0,
4045
- Plus: fn,
4045
+ Plus: hn,
4046
4046
  Present: a0,
4047
- Printer: Vs,
4047
+ Printer: Ms,
4048
4048
  Proyector: c0,
4049
4049
  PushPin: Ct,
4050
4050
  PushPinSolid: gt,
4051
- Question: hn,
4051
+ Question: pn,
4052
4052
  QuestionCircle: u0,
4053
4053
  Quote: wt,
4054
- Reaction: pn,
4054
+ Reaction: mn,
4055
4055
  Receipt: h0,
4056
4056
  Record: m0,
4057
4057
  RemoveFavorite: g0,
4058
4058
  Replace: v0,
4059
4059
  Reply: ce,
4060
- Reset: mn,
4060
+ Reset: Cn,
4061
4061
  Rocket: b0,
4062
4062
  Salad: k0,
4063
4063
  Save: M0,
4064
4064
  Schedule: F0,
4065
4065
  Search: de,
4066
- SearchPerson: Cn,
4067
- Settings: Ms,
4068
- Share: gn,
4066
+ SearchPerson: gn,
4067
+ Settings: Rs,
4068
+ Share: wn,
4069
4069
  Shield: V0,
4070
4070
  ShoppingCart: Bt,
4071
4071
  SignPost: H0,
4072
4072
  Sleep: E0,
4073
4073
  Sliders: ue,
4074
- SolidPause: wn,
4075
- SolidPlay: vn,
4074
+ SolidPause: vn,
4075
+ SolidPlay: xn,
4076
4076
  SolidStop: vt,
4077
4077
  Sort: B0,
4078
4078
  Sparkles: P0,
4079
- Spinner: xn,
4079
+ Spinner: bn,
4080
4080
  Split: j0,
4081
- Star: bn,
4082
- StarFilled: Ln,
4083
- Strikethrough: kn,
4081
+ Star: Ln,
4082
+ StarFilled: kn,
4083
+ Strikethrough: yn,
4084
4084
  Suitcase: Z0,
4085
4085
  Swap: U0,
4086
- Table: yn,
4086
+ Table: Mn,
4087
4087
  Tablet: G0,
4088
4088
  Tag: q0,
4089
4089
  Target: Y0,
4090
- TextSize: Mn,
4090
+ TextSize: Rn,
4091
4091
  ThumbsDown: It,
4092
4092
  ThumbsDownFilled: Pt,
4093
4093
  ThumbsUp: Dt,
4094
4094
  ThumbsUpFilled: jt,
4095
4095
  Timer: r2,
4096
- Underline: Rn,
4097
- Upload: Fn,
4096
+ Underline: Fn,
4097
+ Upload: Nn,
4098
4098
  Upsell: xt,
4099
4099
  UserProtected: n2,
4100
- Video: Nn,
4101
- VideoRecorder: Vn,
4100
+ Video: Vn,
4101
+ VideoRecorder: Sn,
4102
4102
  VideoRecorderNegative: i2,
4103
- VolumeHigh: Rs,
4104
- VolumeMid: Fs,
4105
- VolumeMuted: Ns,
4103
+ VolumeHigh: Fs,
4104
+ VolumeMid: Ns,
4105
+ VolumeMuted: Vs,
4106
4106
  Wallet: l2,
4107
- Warning: Sn,
4107
+ Warning: Tn,
4108
4108
  Watch: d2,
4109
4109
  WhatsappChat: f2,
4110
4110
  Wifi: p2,
4111
- Windows: Tn
4111
+ Windows: Hn
4112
4112
  }, Symbol.toStringTag, { value: "Module" })), C2 = (e, r) => /* @__PURE__ */ t(
4113
4113
  "svg",
4114
4114
  {
@@ -5250,7 +5250,7 @@ const $2 = H1({
5250
5250
  }
5251
5251
  );
5252
5252
  er.displayName = "F0Box";
5253
- const te = Hn(
5253
+ const te = An(
5254
5254
  {
5255
5255
  name: "F0Box",
5256
5256
  type: "layout"
@@ -5282,7 +5282,7 @@ const te = Hn(
5282
5282
  const w = G();
5283
5283
  return p === "recording" ? /* @__PURE__ */ a("div", { className: "flex shrink-0 items-center gap-3 p-3", children: [
5284
5284
  /* @__PURE__ */ t(
5285
- An,
5285
+ En,
5286
5286
  {
5287
5287
  stream: C ?? null,
5288
5288
  className: "min-w-0 flex-1"
@@ -5452,7 +5452,7 @@ function D2({
5452
5452
  }
5453
5453
  )
5454
5454
  ] });
5455
- return e.errorMessage ? /* @__PURE__ */ t(En, { label: e.errorMessage, children: n }) : n;
5455
+ return e.errorMessage ? /* @__PURE__ */ t($n, { label: e.errorMessage, children: n }) : n;
5456
5456
  }
5457
5457
  const j2 = {
5458
5458
  soft: {
@@ -5584,7 +5584,7 @@ function Z2({
5584
5584
  },
5585
5585
  children: [
5586
5586
  /* @__PURE__ */ t(
5587
- $n,
5587
+ Bn,
5588
5588
  {
5589
5589
  firstName: d.firstName,
5590
5590
  lastName: d.lastName,
@@ -5856,7 +5856,7 @@ const Y2 = ({
5856
5856
  C || (i(null), o?.(null));
5857
5857
  },
5858
5858
  children: [
5859
- /* @__PURE__ */ t(Bn, { asChild: !0, children: /* @__PURE__ */ t(
5859
+ /* @__PURE__ */ t(In, { asChild: !0, children: /* @__PURE__ */ t(
5860
5860
  "div",
5861
5861
  {
5862
5862
  ref: c,
@@ -6359,7 +6359,7 @@ const al = /[\\`*_{}[\]()#+\-.!|~>]/g, ll = (e) => e.split(/(<entity-ref\b[^>]*>
6359
6359
  "permission-denied": y.ai.micPermissionDenied,
6360
6360
  "device-error": y.ai.micError,
6361
6361
  "transcription-failed": y.ai.transcriptionError
6362
- }, x1 = In({
6362
+ }, x1 = Pn({
6363
6363
  onTranscribe: h,
6364
6364
  onPartial: S1,
6365
6365
  onFinal: (Y) => {
@@ -6446,7 +6446,7 @@ const al = /[\\`*_{}[\]()#+\-.!|~>]/g, ll = (e) => e.split(/(<entity-ref\b[^>]*>
6446
6446
  onItemHover: X,
6447
6447
  side: "top"
6448
6448
  }
6449
- ) : null, Tr = H && A && !!x && x.length > 0, be = A && H, { motionProps: Hr } = Pn(
6449
+ ) : null, Tr = H && A && !!x && x.length > 0, be = A && H, { motionProps: Hr } = Dn(
6450
6450
  H,
6451
6451
  160,
6452
6452
  0.5
@@ -6580,7 +6580,7 @@ const al = /[\\`*_{}[\]()#+\-.!|~>]/g, ll = (e) => e.split(/(<entity-ref\b[^>]*>
6580
6580
  "bg-f1-background-critical text-f1-foreground"
6581
6581
  ),
6582
6582
  children: [
6583
- /* @__PURE__ */ t("div", { className: "h-6 w-6 flex-shrink-0", children: /* @__PURE__ */ t(Dn, { type: "critical", size: "sm" }) }),
6583
+ /* @__PURE__ */ t("div", { className: "h-6 w-6 flex-shrink-0", children: /* @__PURE__ */ t(jn, { type: "critical", size: "sm" }) }),
6584
6584
  /* @__PURE__ */ t("p", { className: "font-medium text-f1-foreground-critical", children: u1 })
6585
6585
  ]
6586
6586
  }
@@ -6712,7 +6712,7 @@ const al = /[\\`*_{}[\]()#+\-.!|~>]/g, ll = (e) => e.split(/(<entity-ref\b[^>]*>
6712
6712
  }
6713
6713
  ) : /* @__PURE__ */ t(l1, { className: "text-sm font-medium text-f1-foreground-tertiary", children: w.text }),
6714
6714
  w.link && w.linkText && /* @__PURE__ */ t(
6715
- jn,
6715
+ _n,
6716
6716
  {
6717
6717
  href: w.link,
6718
6718
  target: "_blank",
@@ -6826,7 +6826,7 @@ function pl({
6826
6826
  children: e,
6827
6827
  ...r
6828
6828
  }) {
6829
- return /* @__PURE__ */ t(_n, { ...r, variant: "link", href: r.href, children: e });
6829
+ return /* @__PURE__ */ t(Zn, { ...r, variant: "link", href: r.href, children: e });
6830
6830
  }
6831
6831
  function ml({
6832
6832
  children: e,
@@ -7058,7 +7058,7 @@ function A1({
7058
7058
  });
7059
7059
  }, [o, e, c, l]), g = d || !c ? s : n(c);
7060
7060
  return /* @__PURE__ */ a(
7061
- Zn,
7061
+ On,
7062
7062
  {
7063
7063
  openDelay: 300,
7064
7064
  closeDelay: 100,
@@ -7066,9 +7066,9 @@ function A1({
7066
7066
  v && h();
7067
7067
  },
7068
7068
  children: [
7069
- /* @__PURE__ */ t(On, { asChild: !0, children: r }),
7069
+ /* @__PURE__ */ t(Un, { asChild: !0, children: r }),
7070
7070
  /* @__PURE__ */ t(
7071
- Un,
7071
+ zn,
7072
7072
  {
7073
7073
  side: "top",
7074
7074
  align: "start",
@@ -7298,7 +7298,7 @@ function Hl({
7298
7298
  l.status ? {
7299
7299
  label: s.t("ai.entityRef.requisition.status"),
7300
7300
  value: /* @__PURE__ */ t("div", { className: "flex items-center pt-1", children: /* @__PURE__ */ t(
7301
- zn,
7301
+ Gn,
7302
7302
  {
7303
7303
  text: l.status,
7304
7304
  variant: l.statusVariant ?? "neutral"
@@ -7544,8 +7544,8 @@ function ar({
7544
7544
  children: [
7545
7545
  /* @__PURE__ */ a("div", { className: "flex w-full min-w-0 flex-row items-center gap-3", children: [
7546
7546
  e?.type === "module" && /* @__PURE__ */ t(yt, { module: e.module, size: "md" }),
7547
- e?.type === "file" && /* @__PURE__ */ t(Gn, { file: e.file, size: "lg" }),
7548
- e?.type === "icon" && /* @__PURE__ */ t(Wn, { icon: e.icon, size: "md" }),
7547
+ e?.type === "file" && /* @__PURE__ */ t(Wn, { file: e.file, size: "lg" }),
7548
+ e?.type === "icon" && /* @__PURE__ */ t(qn, { icon: e.icon, size: "md" }),
7549
7549
  /* @__PURE__ */ a("div", { className: "flex min-w-0 flex-1 flex-col", children: [
7550
7550
  /* @__PURE__ */ t(l1, { className: "text-lg font-semibold text-f1-foreground", children: r }),
7551
7551
  o && /* @__PURE__ */ t(l1, { className: "text-base text-f1-foreground-secondary", children: o })
@@ -7629,7 +7629,7 @@ function _l(e) {
7629
7629
  return e && e.charAt(0).toUpperCase() + e.slice(1);
7630
7630
  }
7631
7631
  function Zl(e) {
7632
- const { days: r, hours: o, minutes: n, seconds: s } = Xn(e), i = [];
7632
+ const { days: r, hours: o, minutes: n, seconds: s } = Yn(e), i = [];
7633
7633
  return r > 0 && i.push(`${r}d`), o > 0 && i.push(`${o}h`), n > 0 && i.push(`${n}m`), (s > 0 || i.length === 0) && i.push(`${s}s`), i.join(" ");
7634
7634
  }
7635
7635
  function Te(e) {
@@ -7725,7 +7725,7 @@ function cr({
7725
7725
  showButton: w
7726
7726
  },
7727
7727
  children: A.length > 0 && !w && /* @__PURE__ */ t("div", { className: "-mx-3 flex w-full flex-col overflow-hidden pb-1", children: /* @__PURE__ */ t(
7728
- qn,
7728
+ Xn,
7729
7729
  {
7730
7730
  details: A.map((F) => ({
7731
7731
  title: F.label,
@@ -7742,7 +7742,7 @@ function cr({
7742
7742
  }
7743
7743
  cr.displayName = "FormCard";
7744
7744
  function Ol() {
7745
- const e = Yn(), r = e?.activeForm;
7745
+ const e = Kn(), r = e?.activeForm;
7746
7746
  if (!r) return null;
7747
7747
  const o = r.cardTitle, n = r.cardDescription, s = (e?.getFillVersion(r.formName) ?? 0) > 0;
7748
7748
  return !o || !n || !s ? null : /* @__PURE__ */ t("div", { className: "mt-2 w-full", children: /* @__PURE__ */ t(
@@ -7908,7 +7908,7 @@ const fr = W1(void 0), z4 = () => I1(fr), Gl = (e) => /* @__PURE__ */ t(Mt, { co
7908
7908
  document.removeEventListener("keydown", C);
7909
7909
  };
7910
7910
  }, [d]), /* @__PURE__ */ t(
7911
- Kn,
7911
+ Qn,
7912
7912
  {
7913
7913
  position: "center",
7914
7914
  isOpen: !0,
@@ -7925,7 +7925,7 @@ const fr = W1(void 0), z4 = () => I1(fr), Gl = (e) => /* @__PURE__ */ t(Mt, { co
7925
7925
  onClick: p
7926
7926
  },
7927
7927
  children: /* @__PURE__ */ t("div", { className: "flex flex-col gap-6", children: /* @__PURE__ */ t(
7928
- Qn,
7928
+ Jn,
7929
7929
  {
7930
7930
  autoFocus: !0,
7931
7931
  label: l,
@@ -7977,7 +7977,7 @@ const Kl = ({
7977
7977
  const n = G(), { open: s } = pr(), [i, c] = D(null);
7978
7978
  return /* @__PURE__ */ a("div", { className: "flex", children: [
7979
7979
  /* @__PURE__ */ t(
7980
- Jn,
7980
+ es,
7981
7981
  {
7982
7982
  size: "md",
7983
7983
  variant: "ghost",
@@ -8546,7 +8546,7 @@ const u6 = {
8546
8546
  /* @__PURE__ */ t(h1, { className: "h-5 w-2/5 rounded-md" }),
8547
8547
  /* @__PURE__ */ t(h1, { className: "h-5 w-4/5 rounded-md" })
8548
8548
  ] }) }), W4 = {
8549
- ai: Ls.ai
8549
+ ai: ks.ai
8550
8550
  }, Cr = W1(null);
8551
8551
  function q4({
8552
8552
  children: e,
@@ -8622,7 +8622,7 @@ const m6 = ({
8622
8622
  onToggleActive: f,
8623
8623
  onConfirm: d
8624
8624
  }) => {
8625
- const C = G().ai.clarifyingQuestion.typeYourAnswer, h = $(null), g = bs(h, c);
8625
+ const C = G().ai.clarifyingQuestion.typeYourAnswer, h = $(null), g = Ls(h, c);
8626
8626
  ie(() => {
8627
8627
  const w = h.current;
8628
8628
  if (!w) return;
@@ -10343,11 +10343,11 @@ void mainImage(out vec4 fragColor, in vec2 fragCoord) {
10343
10343
  repeatType: "mirror"
10344
10344
  };
10345
10345
  function U1(e) {
10346
- const [r, o] = D(e), n = es(e), s = $(null);
10346
+ const [r, o] = D(e), n = ts(e), s = $(null);
10347
10347
  Ss(n, "change", (c) => o(c));
10348
10348
  const i = O(
10349
10349
  (c, u) => {
10350
- s.current = ts(n, c, u);
10350
+ s.current = rs(n, c, u);
10351
10351
  },
10352
10352
  [n]
10353
10353
  );
@@ -10358,7 +10358,7 @@ function z6(e, r) {
10358
10358
  value: s,
10359
10359
  animate: i,
10360
10360
  motionValue: c
10361
- } = U1(O6), { value: u, animate: l } = U1(_6), { value: f, animate: d } = U1(Z6), { value: p, animate: C } = U1(U6), h = ks(r, {
10361
+ } = U1(O6), { value: u, animate: l } = U1(_6), { value: f, animate: d } = U1(Z6), { value: p, animate: C } = U1(U6), h = ys(r, {
10362
10362
  fftSize: 512,
10363
10363
  smoothingTimeConstant: 0.55
10364
10364
  });
@@ -10613,7 +10613,7 @@ const e3 = ({
10613
10613
  "alert",
10614
10614
  "balance"
10615
10615
  ]), Q6 = ({ balance: e }) => /* @__PURE__ */ t(
10616
- ss,
10616
+ is,
10617
10617
  {
10618
10618
  amount: e.amount,
10619
10619
  percentage: e.percentage ?? void 0,
@@ -10650,7 +10650,7 @@ const e3 = ({
10650
10650
  o && /* @__PURE__ */ t("span", { className: k(z1()), children: o })
10651
10651
  ] }),
10652
10652
  n === "people" && /* @__PURE__ */ t(
10653
- rs,
10653
+ os,
10654
10654
  {
10655
10655
  type: "person",
10656
10656
  avatars: e.avatars,
@@ -10660,7 +10660,7 @@ const e3 = ({
10660
10660
  ),
10661
10661
  n === "team" && /* @__PURE__ */ a("div", { className: "flex items-center gap-1", children: [
10662
10662
  /* @__PURE__ */ t(
10663
- os,
10663
+ ns,
10664
10664
  {
10665
10665
  name: e.avatar.name,
10666
10666
  src: e.avatar.src,
@@ -10680,7 +10680,7 @@ const e3 = ({
10680
10680
  ),
10681
10681
  o && /* @__PURE__ */ t("span", { className: k(z1()), children: o })
10682
10682
  ] }),
10683
- n === "alert" && /* @__PURE__ */ t(ns, { text: e.alertLabel, level: e.level }),
10683
+ n === "alert" && /* @__PURE__ */ t(ss, { text: e.alertLabel, level: e.level }),
10684
10684
  n === "balance" && /* @__PURE__ */ t(Q6, { balance: e.balance })
10685
10685
  ]
10686
10686
  }
@@ -10757,8 +10757,8 @@ const t4 = ({
10757
10757
  role: "img",
10758
10758
  "aria-label": `Sparkline chart showing ${i} trend`,
10759
10759
  children: [
10760
- /* @__PURE__ */ t(is, { width: "100%", height: "100%", children: /* @__PURE__ */ a(
10761
- as,
10760
+ /* @__PURE__ */ t(as, { width: "100%", height: "100%", children: /* @__PURE__ */ a(
10761
+ ls,
10762
10762
  {
10763
10763
  data: e,
10764
10764
  margin: { top: 4, right: 4, bottom: 0, left: 0 },
@@ -10767,9 +10767,9 @@ const t4 = ({
10767
10767
  /* @__PURE__ */ t("stop", { offset: "5%", stopColor: c.fill, stopOpacity: 0.3 }),
10768
10768
  /* @__PURE__ */ t("stop", { offset: "95%", stopColor: c.fill, stopOpacity: 0.02 })
10769
10769
  ] }) }),
10770
- /* @__PURE__ */ t(ls, { hide: !0, domain: ["dataMin - 1", "dataMax + 1"] }),
10770
+ /* @__PURE__ */ t(cs, { hide: !0, domain: ["dataMin - 1", "dataMax + 1"] }),
10771
10771
  /* @__PURE__ */ t(
10772
- cs,
10772
+ ds,
10773
10773
  {
10774
10774
  type: "linear",
10775
10775
  dataKey: "value",
@@ -10934,8 +10934,8 @@ const s4 = () => /* @__PURE__ */ a(
10934
10934
  ] })
10935
10935
  ]
10936
10936
  }
10937
- ), t3 = ds(
10938
- us(kr, s4)
10937
+ ), t3 = us(
10938
+ fs(kr, s4)
10939
10939
  ), r3 = [
10940
10940
  "text",
10941
10941
  "person",
@@ -11483,7 +11483,7 @@ const se = ({
11483
11483
  compact: C = !1,
11484
11484
  actions: h
11485
11485
  }) => {
11486
- const g = G(), v = v1(), w = fs(`(max-width: ${hs.md}px)`, {
11486
+ const g = G(), v = v1(), w = hs(`(max-width: ${ps.md}px)`, {
11487
11487
  initializeWithValue: !0
11488
11488
  }), b = !s && !w && /* @__PURE__ */ t(
11489
11489
  i1,
@@ -11633,13 +11633,13 @@ const se = ({
11633
11633
  };
11634
11634
  function x4(e) {
11635
11635
  const r = new Date(e), o = /* @__PURE__ */ new Date();
11636
- return Tt(r) ? "today" : Ht(r) ? "yesterday" : ms(r, o) ? "thisMonth" : "older";
11636
+ return Tt(r) ? "today" : Ht(r) ? "yesterday" : Cs(r, o) ? "thisMonth" : "older";
11637
11637
  }
11638
11638
  function b4(e, r, o) {
11639
11639
  const n = new Date(e), s = Fe(n, "p", { locale: o });
11640
11640
  if (Tt(n)) return `${r.today}, ${s}`;
11641
11641
  if (Ht(n)) return `${r.yesterday}, ${s}`;
11642
- const i = !ps(n, /* @__PURE__ */ new Date());
11642
+ const i = !ms(n, /* @__PURE__ */ new Date());
11643
11643
  return `${Fe(n, i ? "MMM d yyyy" : "MMM d", {
11644
11644
  locale: o
11645
11645
  })}, ${s}`;
@@ -11668,7 +11668,7 @@ function k4({
11668
11668
  onDelete: u,
11669
11669
  className: l
11670
11670
  }) {
11671
- const f = G(), d = Cs(), p = K(
11671
+ const f = G(), d = gs(), p = K(
11672
11672
  () => [
11673
11673
  {
11674
11674
  label: r ? f.ai.unpinChat : f.ai.pinChat,
@@ -11740,7 +11740,7 @@ function k4({
11740
11740
  {
11741
11741
  className: "flex h-7 w-7 shrink-0 items-center justify-center",
11742
11742
  "aria-label": f.ai.threadOptions,
11743
- children: /* @__PURE__ */ t(gs, { size: "small" })
11743
+ children: /* @__PURE__ */ t(ws, { size: "small" })
11744
11744
  }
11745
11745
  )
11746
11746
  ) : /* @__PURE__ */ t(
@@ -11998,11 +11998,11 @@ const s3 = ({
11998
11998
  );
11999
11999
  }, Mr = "f0-ai-pinned-threads";
12000
12000
  function R4() {
12001
- const e = ws(Mr, []);
12001
+ const e = vs(Mr, []);
12002
12002
  return new Set(Array.isArray(e) ? e : []);
12003
12003
  }
12004
12004
  function ot(e) {
12005
- vs(Mr, [...e]);
12005
+ xs(Mr, [...e]);
12006
12006
  }
12007
12007
  function i3({
12008
12008
  enabled: e = !1,
@@ -12076,7 +12076,7 @@ function i3({
12076
12076
  deleteThread: F
12077
12077
  };
12078
12078
  }
12079
- const F4 = Q.create(xs), N4 = ({
12079
+ const F4 = Q.create(bs), N4 = ({
12080
12080
  label: e,
12081
12081
  reduceMotion: r
12082
12082
  }) => (