@factorialco/f0-react 2.44.0 → 2.45.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  import { jsxs as f, jsx as o, Fragment as Ge } from "react/jsx-runtime";
2
2
  import * as ps from "react";
3
3
  import { useInsertionEffect as ms, forwardRef as m, useRef as O, useState as U, useCallback as Q, useEffect as ie, useMemo as de, createContext as $t, useContext as kt, useLayoutEffect as po, useId as mo, createElement as gs } from "react";
4
- import { c3 as vs, c4 as Cs, c5 as ws, c6 as xs, c7 as go, c8 as ks, c9 as ys, ca as bs, cb as Ls, cc as Ms, cd as vo, ce as Es, cf as _s, cg as Rs, ch as Ss, ci as Ns, cj as Ts, ck as As, cl as Ut, cm as Vs, cn as Fs, co as Ps, cp as $s, cq as Is, cr as Hs, W as Co, cs as js, ct as Os, cu as Ds, cv as Zs, cw as Bs, cx as wo, cy as Us, cz as zs, a4 as Vr, cA as Ws, aG as Gs, cB as qs, cC as Xs, cD as Ys, ae as Ks, cE as Qs, bB as Js, a8 as Fr, ab as ea, cF as ta, a2 as Pr, _ as xo, N as Jt, a1 as ko, b2 as ra, cG as na, aY as oa, bA as sa, Y as Xe, as as aa, b6 as yo, cH as ia, by as bo, cI as tt, bu as ca, cJ as la, cK as Lo, aX as Mo, cL as da, cM as ua, cN as fa, cO as ha, cP as Eo, bn as pa, bo as ma, cQ as ga, cR as va, cS as Ca, cT as wa, cU as xa, cV as ka, cW as ya, cX as ba, cY as La, cZ as Ma, c_ as Ea, c$ as _a, d0 as Ra, bz as Sa, a9 as Na, bj as Ta, d1 as Aa, d2 as Va, d3 as Fa, d4 as Pa, d5 as $a, d6 as Ia, d7 as Ha, an as ja, d8 as _o, J as Oa, Z as Da, d9 as Ro, da as Za, b5 as Ba, b4 as Ua, db as za, dc as So, dd as Wa, aW as Ga, aw as qa, de as Xa, aq as Ya, b0 as Ka, df as No, dg as Qa, dh as Ja, ba as $r, di as Ir, bw as ei, bv as ti, bx as To, dj as ri, z as ni, y as oi, dk as si, dl as ai, dm as ii, dn as ci, dp as li, dq as Ao, dr as di, aa as ui, ds as fi, H as Le, m as F, o as st, bd as hi, dt as Vo, aj as pi, du as mi, dv as gi, A as Ze, n as we, ar as Qr, M as Me, u as pe, dw as vi, dx as Ci, bS as wi, l as xi, k as ki, i as yi, w as Fo, dy as Jr, dz as bi, dA as Li, dB as Mi, dC as Ei, dD as _i, a6 as Po, a7 as Ri, S as Pe, c1 as $o, C as be, s as Te, $ as Si, dE as Ni, ac as Ee, aL as Ue, aB as Hr, dF as Ti, aC as jr, aD as Or, b as Ye, br as Ai, O as Vi, aV as Fi, a3 as Dr, dG as Pi, dH as $i, dI as Ii, dJ as en, a0 as Hi, ai as Io, aN as Ho, dK as ji, bN as Oi, aS as jo, bH as Di, dL as Zi, aP as At, b8 as Oo, dM as Do, b9 as Zo, dN as Bo, dO as Bi, bc as Ui, dP as zi, b1 as Zr, bk as Wi, dQ as Gi, dR as qi, dS as Xi, dT as Yi, dU as Ki, ad as Qi, x as Ji, dV as Uo, dW as zo, dX as ec, ah as tn, dY as tc, ag as rc, dZ as nc, d_ as oc } from "./F0CanvasPanel-Czxg0RlQ.js";
4
+ import { c9 as vs, ca as Cs, cb as ws, cc as xs, cd as go, ce as ks, cf as ys, cg as bs, ch as Ls, ci as Ms, cj as vo, ck as Es, cl as _s, cm as Rs, cn as Ss, co as Ns, cp as Ts, cq as As, cr as Ut, cs as Vs, ct as Fs, cu as Ps, cv as $s, cw as Is, cx as Hs, W as Co, cy as js, cz as Os, cA as Ds, cB as Zs, cC as Bs, cD as wo, cE as Us, cF as zs, a4 as Vr, cG as Ws, aH as Gs, cH as qs, cI as Ys, cJ as Xs, ae as Ks, cK as Qs, bH as Js, a8 as Fr, ab as ea, cL as ta, a2 as Pr, _ as xo, N as Jt, a1 as ko, b7 as ra, cM as na, b0 as oa, bG as sa, Y as Ye, as as aa, bb as yo, cN as ia, bE as bo, cO as tt, bA as ca, cP as la, cQ as Lo, a$ as Mo, cR as da, cS as ua, cT as fa, cU as ha, cV as Eo, bs as pa, bt as ma, cW as ga, cX as va, cY as Ca, cZ as wa, c_ as xa, c$ as ka, d0 as ya, d1 as ba, d2 as La, d3 as Ma, d4 as Ea, d5 as _a, d6 as Ra, bF as Sa, a9 as Na, bo as Ta, d7 as Aa, d8 as Va, d9 as Fa, da as Pa, db as $a, dc as Ia, dd as Ha, an as ja, de as _o, J as Oa, Z as Da, df as Ro, dg as Za, ba as Ba, b9 as Ua, dh as za, di as So, dj as Wa, a_ as Ga, aw as qa, dk as Ya, aq as Xa, b5 as Ka, dl as No, dm as Qa, dn as Ja, bf as $r, dp as Ir, bC as ei, bB as ti, bD as To, dq as ri, z as ni, y as oi, dr as si, ds as ai, dt as ii, du as ci, dv as li, dw as Ao, dx as di, aa as ui, dy as fi, H as Le, m as F, o as st, bi as hi, dz as Vo, aj as pi, dA as mi, dB as gi, A as Ze, n as we, ar as Qr, M as Me, u as pe, dC as vi, dD as Ci, bY as wi, l as xi, k as ki, i as yi, w as Fo, dE as Jr, dF as bi, dG as Li, dH as Mi, dI as Ei, dJ as _i, a6 as Po, a7 as Ri, S as Pe, c7 as $o, C as be, s as Te, $ as Si, dK as Ni, ac as Ee, aN as Ue, aB as Hr, dL as Ti, aC as jr, aD as Or, b as Xe, bw as Ai, O as Vi, aZ as Fi, a3 as Dr, dM as Pi, dN as $i, dO as Ii, dP as en, a0 as Hi, ai as Io, aQ as Ho, dQ as ji, bT as Oi, aV as jo, bN as Di, dR as Zi, aS as At, bd as Oo, dS as Do, be as Zo, dT as Bo, dU as Bi, bh as Ui, dV as zi, b6 as Zr, bp as Wi, dW as Gi, dX as qi, dY as Yi, dZ as Xi, d_ as Ki, ad as Qi, x as Ji, d$ as Uo, e0 as zo, e1 as ec, ah as tn, e2 as tc, ag as rc, e3 as nc, e4 as oc } from "./F0CanvasPanel-DMLQMGBW.js";
5
5
  import { createPortal as Wo } from "react-dom";
6
6
  import { defaultTranslations as sc } from "./i18n-provider-defaults.js";
7
7
  import { useTrackVolume as ac } from "@livekit/components-react";
@@ -66,7 +66,7 @@ function gc(t, { defaultTransition: e = {}, ...r } = {}, n, s) {
66
66
  L.at !== void 0 && (h = rn(h, L.at, u, d));
67
67
  let j = 0;
68
68
  const V = (T, w, C, y = 0, R = 0) => {
69
- const _ = vc(T), { delay: b = 0, times: M = ks(_), type: S = "keyframes", repeat: B, repeatType: X, repeatDelay: J = 0, ...te } = w;
69
+ const _ = vc(T), { delay: b = 0, times: M = ks(_), type: S = "keyframes", repeat: B, repeatType: Y, repeatDelay: J = 0, ...te } = w;
70
70
  let { ease: oe = e.ease || "easeOut", duration: ee } = w;
71
71
  const E = typeof b == "function" ? b(y, R) : b, W = _.length, H = Ls(S) ? S : s?.[S];
72
72
  if (W <= 2 && H) {
@@ -81,7 +81,7 @@ function gc(t, { defaultTransition: e = {}, ...r } = {}, n, s) {
81
81
  oe = le.ease, ee = le.duration;
82
82
  }
83
83
  ee ?? (ee = a);
84
- const Y = h + E;
84
+ const X = h + E;
85
85
  M.length === 1 && M[0] === 0 && (M[1] = 1);
86
86
  const ve = M.length - _.length;
87
87
  if (ve > 0 && bs(M, ve), _.length === 1 && _.unshift(null), B) {
@@ -96,8 +96,8 @@ function gc(t, { defaultTransition: e = {}, ...r } = {}, n, s) {
96
96
  }
97
97
  fc(M, B);
98
98
  }
99
- const me = Y + ee;
100
- uc(C, _, oe, M, Y, me), j = Math.max(E + ee, j), v = Math.max(me, v);
99
+ const me = X + ee;
100
+ uc(C, _, oe, M, X, me), j = Math.max(E + ee, j), v = Math.max(me, v);
101
101
  };
102
102
  if (go(x)) {
103
103
  const T = nn(x, l);
@@ -218,7 +218,7 @@ function Lc(t) {
218
218
  function Mc(t, e) {
219
219
  return go(t) || typeof t == "number" || typeof t == "string" && !Br(e);
220
220
  }
221
- function Xo(t, e, r, n) {
221
+ function Yo(t, e, r, n) {
222
222
  const s = [];
223
223
  if (Mc(t, e))
224
224
  s.push(Vs(t, Br(e) && e.default || e, r && (r.default || r)));
@@ -237,7 +237,7 @@ function Xo(t, e, r, n) {
237
237
  function Ec(t, e, r) {
238
238
  const n = [];
239
239
  return gc(t, e, r, { spring: Ps }).forEach(({ keyframes: a, transition: i }, l) => {
240
- n.push(...Xo(l, a, i));
240
+ n.push(...Yo(l, a, i));
241
241
  }), n;
242
242
  }
243
243
  class _c {
@@ -317,7 +317,7 @@ function Sc(t) {
317
317
  function Nc(t) {
318
318
  function e(r, n, s) {
319
319
  let a = [];
320
- return Sc(r) ? a = Ec(r, n, t) : a = Xo(r, n, s, t), new Rc(a);
320
+ return Sc(r) ? a = Ec(r, n, t) : a = Yo(r, n, s, t), new Rc(a);
321
321
  }
322
322
  return e;
323
323
  }
@@ -703,7 +703,7 @@ const Tc = Nc(), Ac = (t, e) => /* @__PURE__ */ f(
703
703
  }
704
704
  )
705
705
  }
706
- ), Xc = m(qc), Yc = (t, e) => /* @__PURE__ */ o(
706
+ ), Yc = m(qc), Xc = (t, e) => /* @__PURE__ */ o(
707
707
  "svg",
708
708
  {
709
709
  xmlns: "http://www.w3.org/2000/svg",
@@ -722,7 +722,7 @@ const Tc = Nc(), Ac = (t, e) => /* @__PURE__ */ f(
722
722
  }
723
723
  )
724
724
  }
725
- ), Kc = m(Yc), Qc = (t, e) => /* @__PURE__ */ f(
725
+ ), Kc = m(Xc), Qc = (t, e) => /* @__PURE__ */ f(
726
726
  "svg",
727
727
  {
728
728
  xmlns: "http://www.w3.org/2000/svg",
@@ -1651,7 +1651,7 @@ const Tc = Nc(), Ac = (t, e) => /* @__PURE__ */ f(
1651
1651
  }
1652
1652
  )
1653
1653
  }
1654
- ), Xl = m(ql), Yl = (t, e) => /* @__PURE__ */ o(
1654
+ ), Yl = m(ql), Xl = (t, e) => /* @__PURE__ */ o(
1655
1655
  "svg",
1656
1656
  {
1657
1657
  xmlns: "http://www.w3.org/2000/svg",
@@ -1670,7 +1670,7 @@ const Tc = Nc(), Ac = (t, e) => /* @__PURE__ */ f(
1670
1670
  }
1671
1671
  )
1672
1672
  }
1673
- ), Kl = m(Yl), Ql = (t, e) => /* @__PURE__ */ o(
1673
+ ), Kl = m(Xl), Ql = (t, e) => /* @__PURE__ */ o(
1674
1674
  "svg",
1675
1675
  {
1676
1676
  xmlns: "http://www.w3.org/2000/svg",
@@ -2502,7 +2502,7 @@ const Tc = Nc(), Ac = (t, e) => /* @__PURE__ */ f(
2502
2502
  }
2503
2503
  )
2504
2504
  }
2505
- ), X0 = m(q0), Y0 = (t, e) => /* @__PURE__ */ f(
2505
+ ), Y0 = m(q0), X0 = (t, e) => /* @__PURE__ */ f(
2506
2506
  "svg",
2507
2507
  {
2508
2508
  xmlns: "http://www.w3.org/2000/svg",
@@ -2565,7 +2565,7 @@ const Tc = Nc(), Ac = (t, e) => /* @__PURE__ */ f(
2565
2565
  )
2566
2566
  ]
2567
2567
  }
2568
- ), K0 = m(Y0), Q0 = (t, e) => /* @__PURE__ */ f(
2568
+ ), K0 = m(X0), Q0 = (t, e) => /* @__PURE__ */ f(
2569
2569
  "svg",
2570
2570
  {
2571
2571
  xmlns: "http://www.w3.org/2000/svg",
@@ -2830,7 +2830,7 @@ const Tc = Nc(), Ac = (t, e) => /* @__PURE__ */ f(
2830
2830
  )
2831
2831
  ]
2832
2832
  }
2833
- ), Yo = m(cd), ld = (t, e) => /* @__PURE__ */ f(
2833
+ ), Xo = m(cd), ld = (t, e) => /* @__PURE__ */ f(
2834
2834
  "svg",
2835
2835
  {
2836
2836
  xmlns: "http://www.w3.org/2000/svg",
@@ -3668,7 +3668,7 @@ const Tc = Nc(), Ac = (t, e) => /* @__PURE__ */ f(
3668
3668
  )
3669
3669
  ]
3670
3670
  }
3671
- ), qd = m(Gd), Xd = (t, e) => /* @__PURE__ */ f(
3671
+ ), qd = m(Gd), Yd = (t, e) => /* @__PURE__ */ f(
3672
3672
  "svg",
3673
3673
  {
3674
3674
  xmlns: "http://www.w3.org/2000/svg",
@@ -3814,7 +3814,7 @@ const Tc = Nc(), Ac = (t, e) => /* @__PURE__ */ f(
3814
3814
  )
3815
3815
  ]
3816
3816
  }
3817
- ), Yd = m(Xd), Kd = (t, e) => /* @__PURE__ */ o(
3817
+ ), Xd = m(Yd), Kd = (t, e) => /* @__PURE__ */ o(
3818
3818
  "svg",
3819
3819
  {
3820
3820
  xmlns: "http://www.w3.org/2000/svg",
@@ -4793,7 +4793,7 @@ const Tc = Nc(), Ac = (t, e) => /* @__PURE__ */ f(
4793
4793
  }
4794
4794
  )
4795
4795
  }
4796
- ), X5 = m(q5), Y5 = (t, e) => /* @__PURE__ */ f(
4796
+ ), Y5 = m(q5), X5 = (t, e) => /* @__PURE__ */ f(
4797
4797
  "svg",
4798
4798
  {
4799
4799
  xmlns: "http://www.w3.org/2000/svg",
@@ -4824,7 +4824,7 @@ const Tc = Nc(), Ac = (t, e) => /* @__PURE__ */ f(
4824
4824
  )
4825
4825
  ]
4826
4826
  }
4827
- ), K5 = m(Y5), Q5 = (t, e) => /* @__PURE__ */ f(
4827
+ ), K5 = m(X5), Q5 = (t, e) => /* @__PURE__ */ f(
4828
4828
  "svg",
4829
4829
  {
4830
4830
  xmlns: "http://www.w3.org/2000/svg",
@@ -5837,7 +5837,7 @@ const l2 = (t, e) => /* @__PURE__ */ f(
5837
5837
  /* @__PURE__ */ o("path", { d: "M8.5 16.429a5 5 0 0 1 7 0", vectorEffect: "non-scaling-stroke" })
5838
5838
  ]
5839
5839
  }
5840
- ), q2 = m(G2), X2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5840
+ ), q2 = m(G2), Y2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5841
5841
  __proto__: null,
5842
5842
  AcademicCap: Vc,
5843
5843
  Add: $s,
@@ -5861,12 +5861,12 @@ const l2 = (t, e) => /* @__PURE__ */ f(
5861
5861
  Balance: Bc,
5862
5862
  Bank: zc,
5863
5863
  BarGraph: Gc,
5864
- Basket: Xc,
5864
+ Basket: Yc,
5865
5865
  Bell: Gs,
5866
5866
  Bold: qs,
5867
5867
  BookOpen: Kc,
5868
- Bookmark: Xs,
5869
- BookmarkFilled: Ys,
5868
+ Bookmark: Ys,
5869
+ BookmarkFilled: Xs,
5870
5870
  Briefcase: Jc,
5871
5871
  Bucket: tl,
5872
5872
  Building: nl,
@@ -5906,10 +5906,10 @@ const l2 = (t, e) => /* @__PURE__ */ f(
5906
5906
  Contactless: Bl,
5907
5907
  CornerHandle: zl,
5908
5908
  CreditCard: Gl,
5909
- Cross: Xe,
5909
+ Cross: Ye,
5910
5910
  CrossedCircle: aa,
5911
5911
  Crown: Kl,
5912
- CursorClick: Xl,
5912
+ CursorClick: Yl,
5913
5913
  Delete: yo,
5914
5914
  Deny: Jl,
5915
5915
  Descending: ia,
@@ -5962,7 +5962,7 @@ const l2 = (t, e) => /* @__PURE__ */ f(
5962
5962
  Headset: B0,
5963
5963
  Heart: z0,
5964
5964
  HoldHeart: G0,
5965
- Home: X0,
5965
+ Home: Y0,
5966
5966
  Hub: K0,
5967
5967
  Image: Ra,
5968
5968
  InProgressTask: Sa,
@@ -5977,7 +5977,7 @@ const l2 = (t, e) => /* @__PURE__ */ f(
5977
5977
  Laptop: id,
5978
5978
  LayersFront: Fa,
5979
5979
  Less: Pa,
5980
- Lightbulb: Yo,
5980
+ Lightbulb: Xo,
5981
5981
  Link: $a,
5982
5982
  LinkRemove: dd,
5983
5983
  List: Ia,
@@ -6010,7 +6010,7 @@ const l2 = (t, e) => /* @__PURE__ */ f(
6010
6010
  MoveDown: Ba,
6011
6011
  MoveTop: qd,
6012
6012
  MoveUp: Ua,
6013
- Multitask: Yd,
6013
+ Multitask: Xd,
6014
6014
  New: Ur,
6015
6015
  Numbers: Jd,
6016
6016
  Office: t5,
@@ -6031,9 +6031,9 @@ const l2 = (t, e) => /* @__PURE__ */ f(
6031
6031
  Pig: k5,
6032
6032
  Pin: b5,
6033
6033
  PixBrazil: M5,
6034
- Placeholder: Xa,
6034
+ Placeholder: Ya,
6035
6035
  Plane: _5,
6036
- Plus: Ya,
6036
+ Plus: Xa,
6037
6037
  Present: S5,
6038
6038
  Printer: T5,
6039
6039
  Proyector: V5,
@@ -6049,7 +6049,7 @@ const l2 = (t, e) => /* @__PURE__ */ f(
6049
6049
  Reply: zr,
6050
6050
  Reset: Ja,
6051
6051
  Rocket: G5,
6052
- Salad: X5,
6052
+ Salad: Y5,
6053
6053
  Save: K5,
6054
6054
  Schedule: J5,
6055
6055
  Search: $r,
@@ -6096,7 +6096,7 @@ const l2 = (t, e) => /* @__PURE__ */ f(
6096
6096
  WhatsappChat: W2,
6097
6097
  Wifi: q2,
6098
6098
  Windows: fi
6099
- }, Symbol.toStringTag, { value: "Module" })), Y2 = (t, e) => /* @__PURE__ */ o(
6099
+ }, Symbol.toStringTag, { value: "Module" })), X2 = (t, e) => /* @__PURE__ */ o(
6100
6100
  "svg",
6101
6101
  {
6102
6102
  xmlns: "http://www.w3.org/2000/svg",
@@ -6113,7 +6113,7 @@ const l2 = (t, e) => /* @__PURE__ */ f(
6113
6113
  }
6114
6114
  )
6115
6115
  }
6116
- ), K2 = m(Y2), Q2 = [
6116
+ ), K2 = m(X2), Q2 = [
6117
6117
  "append",
6118
6118
  "className",
6119
6119
  "pressed",
@@ -7117,7 +7117,7 @@ const mu = st({
7117
7117
  width: M,
7118
7118
  height: S,
7119
7119
  minWidth: B,
7120
- minHeight: X,
7120
+ minHeight: Y,
7121
7121
  maxWidth: J,
7122
7122
  maxHeight: te,
7123
7123
  // Background
@@ -7127,7 +7127,7 @@ const mu = st({
7127
7127
  border: E,
7128
7128
  borderTop: W,
7129
7129
  borderBottom: H,
7130
- borderLeft: Y,
7130
+ borderLeft: X,
7131
7131
  borderRight: ve,
7132
7132
  borderRadius: me,
7133
7133
  borderRadiusTopLeft: D,
@@ -7157,7 +7157,7 @@ const mu = st({
7157
7157
  xl: rr,
7158
7158
  ...lt
7159
7159
  }, Ht) => {
7160
- const bt = W && W !== "none" || H && H !== "none" || Y && Y !== "none" || ve && ve !== "none", nr = E && E !== "none" || bt, or = { sm: er, md: It, lg: tr, xl: rr }, sr = gu.map((jt) => {
7160
+ const bt = W && W !== "none" || H && H !== "none" || X && X !== "none" || ve && ve !== "none", nr = E && E !== "none" || bt, or = { sm: er, md: It, lg: tr, xl: rr }, sr = gu.map((jt) => {
7161
7161
  const Lt = or[jt];
7162
7162
  return Lt ? pu(jt, Lt) : "";
7163
7163
  }).filter(Boolean).join(" ");
@@ -7198,7 +7198,7 @@ const mu = st({
7198
7198
  width: M,
7199
7199
  height: S,
7200
7200
  minWidth: B,
7201
- minHeight: X,
7201
+ minHeight: Y,
7202
7202
  maxWidth: J,
7203
7203
  maxHeight: te,
7204
7204
  background: oe,
@@ -7206,7 +7206,7 @@ const mu = st({
7206
7206
  border: E,
7207
7207
  borderTop: W,
7208
7208
  borderBottom: H,
7209
- borderLeft: Y,
7209
+ borderLeft: X,
7210
7210
  borderRight: ve,
7211
7211
  borderRadius: me,
7212
7212
  borderRadiusTopLeft: D,
@@ -7431,7 +7431,7 @@ const ir = hi(
7431
7431
  Le,
7432
7432
  {
7433
7433
  variant: "outline",
7434
- icon: Xe,
7434
+ icon: Ye,
7435
7435
  onClick: c,
7436
7436
  label: l.actions.close,
7437
7437
  hideLabel: !0
@@ -8242,7 +8242,7 @@ function qu(t, e) {
8242
8242
  return !1;
8243
8243
  }
8244
8244
  }
8245
- function Xu(t, e) {
8245
+ function Yu(t, e) {
8246
8246
  return !!((e === "v4" || !e) && ju.test(t) || (e === "v6" || !e) && Du.test(t));
8247
8247
  }
8248
8248
  class et extends ce {
@@ -8385,7 +8385,7 @@ class et extends ce {
8385
8385
  validation: "jwt",
8386
8386
  code: A.invalid_string,
8387
8387
  message: a.message
8388
- }), n.dirty()) : a.kind === "cidr" ? Xu(e.data, a.version) || (s = this._getOrReturnCtx(e, s), Z(s, {
8388
+ }), n.dirty()) : a.kind === "cidr" ? Yu(e.data, a.version) || (s = this._getOrReturnCtx(e, s), Z(s, {
8389
8389
  validation: "cidr",
8390
8390
  code: A.invalid_string,
8391
8391
  message: a.message
@@ -8628,7 +8628,7 @@ et.create = (t) => new et({
8628
8628
  coerce: t?.coerce ?? !1,
8629
8629
  ...ae(t)
8630
8630
  });
8631
- function Yu(t, e) {
8631
+ function Xu(t, e) {
8632
8632
  const r = (t.toString().split(".")[1] || "").length, n = (e.toString().split(".")[1] || "").length, s = r > n ? r : n, a = Number.parseInt(t.toFixed(s).replace(".", "")), i = Number.parseInt(e.toFixed(s).replace(".", ""));
8633
8633
  return a % i / 10 ** s;
8634
8634
  }
@@ -8667,7 +8667,7 @@ class vt extends ce {
8667
8667
  inclusive: a.inclusive,
8668
8668
  exact: !1,
8669
8669
  message: a.message
8670
- }), s.dirty()) : a.kind === "multipleOf" ? Yu(e.data, a.value) !== 0 && (n = this._getOrReturnCtx(e, n), Z(n, {
8670
+ }), s.dirty()) : a.kind === "multipleOf" ? Xu(e.data, a.value) !== 0 && (n = this._getOrReturnCtx(e, n), Z(n, {
8671
8671
  code: A.not_multiple_of,
8672
8672
  multipleOf: a.value,
8673
8673
  message: a.message
@@ -10263,7 +10263,7 @@ function M1(t) {
10263
10263
  function vf(t) {
10264
10264
  return M1(t) !== void 0;
10265
10265
  }
10266
- function Xt(t) {
10266
+ function Yt(t) {
10267
10267
  let e = t;
10268
10268
  for (; Oe(e, "ZodOptional") || Oe(e, "ZodNullable") || Oe(e, "ZodDefault"); )
10269
10269
  e = e._def.innerType;
@@ -10274,7 +10274,7 @@ function Mn(t, e) {
10274
10274
  return e.fieldType;
10275
10275
  if ("options" in e && e.options || "source" in e && e.source)
10276
10276
  return "select";
10277
- const r = Xt(t);
10277
+ const r = Yt(t);
10278
10278
  return Oe(r, "ZodString") ? "rows" in e && e.rows ? "textarea" : "text" : Oe(r, "ZodNumber") ? "number" : Oe(r, "ZodBoolean") ? "switch" : Oe(r, "ZodDate") ? "date" : Oe(r, "ZodEnum") || Oe(r, "ZodArray") && ("options" in e && e.options || "source" in e && e.source) ? "select" : Oe(r, "ZodObject") && "render" in e && e.render ? "custom" : "text";
10279
10279
  }
10280
10280
  ((t) => {
@@ -10463,9 +10463,9 @@ function Mn(t, e) {
10463
10463
  (B) => typeof B == "object" && B !== null && "value" in B && typeof B.value == "string"
10464
10464
  ).map((B) => B.value);
10465
10465
  if (S.length > 0) {
10466
- const B = Mt(Et(S)).min(1), X = y ? B.optional() : B;
10466
+ const B = Mt(Et(S)).min(1), Y = y ? B.optional() : B;
10467
10467
  return t(
10468
- X,
10468
+ Y,
10469
10469
  { ...R, multiple: !0 }
10470
10470
  );
10471
10471
  }
@@ -11024,7 +11024,7 @@ function C4(t) {
11024
11024
  type: "null"
11025
11025
  };
11026
11026
  }
11027
- const Yt = {
11027
+ const Xt = {
11028
11028
  ZodString: "string",
11029
11029
  ZodNumber: "number",
11030
11030
  ZodBigInt: "integer",
@@ -11035,9 +11035,9 @@ function w4(t, e) {
11035
11035
  if (e.target === "openApi3")
11036
11036
  return _n(t, e);
11037
11037
  const r = t.options instanceof Map ? Array.from(t.options.values()) : t.options;
11038
- if (r.every((n) => n._def.typeName in Yt && (!n._def.checks || !n._def.checks.length))) {
11038
+ if (r.every((n) => n._def.typeName in Xt && (!n._def.checks || !n._def.checks.length))) {
11039
11039
  const n = r.reduce((s, a) => {
11040
- const i = Yt[a._def.typeName];
11040
+ const i = Xt[a._def.typeName];
11041
11041
  return i && !s.includes(i) ? [...s, i] : s;
11042
11042
  }, []);
11043
11043
  return {
@@ -11087,11 +11087,11 @@ const _n = (t, e) => {
11087
11087
  function x4(t, e) {
11088
11088
  if (["ZodString", "ZodNumber", "ZodBigInt", "ZodBoolean", "ZodNull"].includes(t.innerType._def.typeName) && (!t.innerType._def.checks || !t.innerType._def.checks.length))
11089
11089
  return e.target === "openApi3" ? {
11090
- type: Yt[t.innerType._def.typeName],
11090
+ type: Xt[t.innerType._def.typeName],
11091
11091
  nullable: !0
11092
11092
  } : {
11093
11093
  type: [
11094
- Yt[t.innerType._def.typeName],
11094
+ Xt[t.innerType._def.typeName],
11095
11095
  "null"
11096
11096
  ]
11097
11097
  };
@@ -11538,7 +11538,7 @@ function Nn(t, e = {}, r) {
11538
11538
  },
11539
11539
  trigger: async (c) => {
11540
11540
  if (c) {
11541
- const u = Xt(t).shape?.[c];
11541
+ const u = Yt(t).shape?.[c];
11542
11542
  return u ? u.safeParse(n[c]).success : !0;
11543
11543
  }
11544
11544
  return t.safeParse(n).success;
@@ -11554,7 +11554,7 @@ function Nn(t, e = {}, r) {
11554
11554
  return d;
11555
11555
  },
11556
11556
  getFieldNames: () => {
11557
- const c = Xt(t);
11557
+ const c = Yt(t);
11558
11558
  return Object.keys(c.shape ?? {});
11559
11559
  },
11560
11560
  actionBar: {
@@ -11567,7 +11567,7 @@ function Nn(t, e = {}, r) {
11567
11567
  }, dirtyFields: a };
11568
11568
  }
11569
11569
  function ur(t) {
11570
- const r = Xt(t).shape;
11570
+ const r = Yt(t).shape;
11571
11571
  if (!r) return {};
11572
11572
  const n = {};
11573
11573
  for (const [s, a] of Object.entries(r)) {
@@ -11613,7 +11613,7 @@ function wf({
11613
11613
  ), x = O(null), k = O({}), L = Q(() => {
11614
11614
  queueMicrotask(() => {
11615
11615
  const E = Array.from(n.current.entries()), W = [], H = [];
11616
- let Y = null;
11616
+ let X = null;
11617
11617
  for (const [me, D] of E) {
11618
11618
  const re = D.ref.current;
11619
11619
  if (re && (D.virtual ? H.push({
@@ -11654,7 +11654,7 @@ function wf({
11654
11654
  ...D.defaultValuesParams ? { defaultValuesParams: D.defaultValuesParams } : {}
11655
11655
  }), x.current === me)) {
11656
11656
  const le = k.current;
11657
- Y = {
11657
+ X = {
11658
11658
  formName: me,
11659
11659
  ...D.description ? { description: D.description } : {},
11660
11660
  ...D.module ? { module: D.module } : {},
@@ -11678,19 +11678,19 @@ function wf({
11678
11678
  const ve = JSON.stringify({
11679
11679
  formsOnCurrentPage: W,
11680
11680
  availableForms: H,
11681
- activeForm: Y
11681
+ activeForm: X
11682
11682
  });
11683
- ve !== s.current && (s.current = ve, u(W), v(H), g(Y));
11683
+ ve !== s.current && (s.current = ve, u(W), v(H), g(X));
11684
11684
  });
11685
11685
  }, []), j = Q(
11686
- (E, W, H, Y, ve, me, D, re) => {
11686
+ (E, W, H, X, ve, me, D, re) => {
11687
11687
  const le = n.current.get(E);
11688
11688
  n.current.set(E, {
11689
11689
  ref: W,
11690
11690
  schema: H,
11691
11691
  description: D,
11692
11692
  module: re,
11693
- sections: Y,
11693
+ sections: X,
11694
11694
  defaultValuesParamsSchema: ve ?? le?.defaultValuesParamsSchema,
11695
11695
  defaultValuesFn: me ?? le?.defaultValuesFn,
11696
11696
  defaultValuesParams: le?.defaultValuesParams,
@@ -11707,14 +11707,14 @@ function wf({
11707
11707
  if (W?.virtual) return;
11708
11708
  const H = W?.ref.current?.getValues() ?? {};
11709
11709
  n.current.delete(E);
11710
- const Y = r?.find((ve) => ve.name === E);
11711
- if (Y) {
11712
- const me = { ...typeof Y.defaultValues == "function" ? {} : Sn(Y.defaultValues), ...H }, { ref: D, dirtyFields: re } = Nn(
11713
- Y.schema,
11710
+ const X = r?.find((ve) => ve.name === E);
11711
+ if (X) {
11712
+ const me = { ...typeof X.defaultValues == "function" ? {} : Sn(X.defaultValues), ...H }, { ref: D, dirtyFields: re } = Nn(
11713
+ X.schema,
11714
11714
  me,
11715
- Y.onSubmit
11716
- ), le = typeof Y.defaultValues == "function" ? (() => {
11717
- const ye = Y.defaultValues;
11715
+ X.onSubmit
11716
+ ), le = typeof X.defaultValues == "function" ? (() => {
11717
+ const ye = X.defaultValues;
11718
11718
  return async (N) => {
11719
11719
  const $ = ye(N);
11720
11720
  return typeof $?.then == "function" ? await $ : $;
@@ -11722,19 +11722,19 @@ function wf({
11722
11722
  })() : void 0;
11723
11723
  n.current.set(E, {
11724
11724
  ref: D,
11725
- schema: Y.schema,
11726
- description: Y.description,
11727
- module: Y.module,
11728
- sections: Y.sections,
11725
+ schema: X.schema,
11726
+ description: X.description,
11727
+ module: X.module,
11728
+ sections: X.sections,
11729
11729
  virtual: !0,
11730
- defaultValuesParamsSchema: Y.defaultValuesParamsSchema,
11730
+ defaultValuesParamsSchema: X.defaultValuesParamsSchema,
11731
11731
  defaultValuesFn: le,
11732
11732
  defaultValuesParams: W?.defaultValuesParams,
11733
11733
  dirtyFields: re,
11734
- onSubmit: Y.onSubmit,
11735
- steps: Y.steps,
11736
- submitConfig: Y.submitConfig,
11737
- errorTriggerMode: Y.errorTriggerMode
11734
+ onSubmit: X.onSubmit,
11735
+ steps: X.steps,
11736
+ submitConfig: X.submitConfig,
11737
+ errorTriggerMode: X.errorTriggerMode
11738
11738
  });
11739
11739
  }
11740
11740
  L();
@@ -11744,10 +11744,10 @@ function wf({
11744
11744
  (E, W) => {
11745
11745
  const H = n.current.get(E);
11746
11746
  if (!H) {
11747
- const Y = Array.from(n.current.keys());
11747
+ const X = Array.from(n.current.keys());
11748
11748
  return {
11749
11749
  success: !1,
11750
- error: `Form "${E}" not found. Available forms: ${Y.join(", ")}`
11750
+ error: `Form "${E}" not found. Available forms: ${X.join(", ")}`
11751
11751
  };
11752
11752
  }
11753
11753
  return H.virtual ? (x.current = E, k.current = {
@@ -11774,14 +11774,14 @@ function wf({
11774
11774
  a.current.delete(E), i.current.delete(E), l.current.delete(E), c.current.delete(E);
11775
11775
  }, []), M = Q((E) => a.current.get(E) ?? 0, []), S = Q((E) => !i.current.has(E), []), B = Q((E) => {
11776
11776
  i.current.add(E);
11777
- }, []), X = Q(
11777
+ }, []), Y = Q(
11778
11778
  (E, W) => {
11779
11779
  i.current.delete(E), l.current.set(E, W ?? null);
11780
11780
  const H = c.current.get(E);
11781
11781
  if (H?.length) {
11782
11782
  c.current.delete(E);
11783
- for (const Y of H)
11784
- Y();
11783
+ for (const X of H)
11784
+ X();
11785
11785
  }
11786
11786
  L();
11787
11787
  },
@@ -11800,8 +11800,8 @@ function wf({
11800
11800
  const E = r ?? [], W = /* @__PURE__ */ new Set();
11801
11801
  for (const H of E) {
11802
11802
  W.add(H.name);
11803
- const Y = n.current.get(H.name);
11804
- if (Y && !Y.virtual || Y?.virtual) continue;
11803
+ const X = n.current.get(H.name);
11804
+ if (X && !X.virtual || X?.virtual) continue;
11805
11805
  const ve = typeof H.defaultValues == "function" ? {} : Sn(H.defaultValues), { ref: me, dirtyFields: D } = Nn(
11806
11806
  H.schema,
11807
11807
  ve,
@@ -11855,7 +11855,7 @@ function wf({
11855
11855
  getFillVersion: M,
11856
11856
  isDefaultValuesResolved: S,
11857
11857
  markDefaultValuesResolving: B,
11858
- markDefaultValuesResolved: X,
11858
+ markDefaultValuesResolved: Y,
11859
11859
  queueFillAction: J,
11860
11860
  hasDefaultValuesEverResolved: te
11861
11861
  }),
@@ -11876,7 +11876,7 @@ function wf({
11876
11876
  M,
11877
11877
  S,
11878
11878
  B,
11879
- X,
11879
+ Y,
11880
11880
  J,
11881
11881
  te
11882
11882
  ]
@@ -11983,7 +11983,7 @@ const H4 = 2, Tn = 2, j4 = 70, An = 0.08, O4 = 6, D4 = 0.6, Z4 = () => {
11983
11983
  label: x.ai.cancelRecording,
11984
11984
  hideLabel: !0,
11985
11985
  type: "button",
11986
- icon: Xe,
11986
+ icon: Ye,
11987
11987
  variant: "outline",
11988
11988
  size: "md",
11989
11989
  onClick: g
@@ -12097,7 +12097,7 @@ const H4 = 2, Tn = 2, j4 = 70, An = 0.08, O4 = 6, D4 = 0.6, Z4 = () => {
12097
12097
  actions: [
12098
12098
  {
12099
12099
  label: n,
12100
- icon: Xe,
12100
+ icon: Ye,
12101
12101
  onClick: () => r(s.id)
12102
12102
  }
12103
12103
  ]
@@ -12124,7 +12124,7 @@ function W4({
12124
12124
  "rounded-full text-f1-foreground-critical hover:text-f1-foreground-critical/80"
12125
12125
  ),
12126
12126
  onClick: () => e(t.id),
12127
- children: /* @__PURE__ */ o(be, { icon: Xe, size: "md", "aria-hidden": "true" })
12127
+ children: /* @__PURE__ */ o(be, { icon: Ye, size: "md", "aria-hidden": "true" })
12128
12128
  }
12129
12129
  )
12130
12130
  ] });
@@ -12177,7 +12177,7 @@ const G4 = {
12177
12177
  label: r.ai.creditWarning.dismiss ?? "",
12178
12178
  size: "sm",
12179
12179
  variant: "ghost",
12180
- icon: Xe,
12180
+ icon: Ye,
12181
12181
  hideLabel: !0,
12182
12182
  onClick: t.onDismiss
12183
12183
  }
@@ -12189,7 +12189,7 @@ const G4 = {
12189
12189
  }
12190
12190
  );
12191
12191
  };
12192
- function X4({
12192
+ function Y4({
12193
12193
  isOpen: t,
12194
12194
  results: e,
12195
12195
  isLoading: r,
@@ -12277,7 +12277,7 @@ function X4({
12277
12277
  }
12278
12278
  );
12279
12279
  }
12280
- const Y4 = ({
12280
+ const X4 = ({
12281
12281
  quote: t,
12282
12282
  onRemove: e
12283
12283
  }) => {
@@ -12305,7 +12305,7 @@ const Y4 = ({
12305
12305
  variant: "ghost",
12306
12306
  label: r.ai.removeQuote,
12307
12307
  onClick: e,
12308
- icon: Xe,
12308
+ icon: Ye,
12309
12309
  hideLabel: !0,
12310
12310
  size: "sm"
12311
12311
  }
@@ -12625,12 +12625,12 @@ function a6({
12625
12625
  const w = Q(() => {
12626
12626
  p.current?.getTracks().forEach((b) => b.stop()), p.current = null, v.current = null, h(null), L.current && (clearInterval(L.current), L.current = null), j.current && (clearTimeout(j.current), j.current = null);
12627
12627
  }, []), C = Q(async () => {
12628
- const { onTranscribe: b, onPartial: M, onFinal: S, onError: B } = T.current, X = g.current;
12629
- if (g.current = [], X.length === 0 || !b) {
12628
+ const { onTranscribe: b, onPartial: M, onFinal: S, onError: B } = T.current, Y = g.current;
12629
+ if (g.current = [], Y.length === 0 || !b) {
12630
12630
  i("idle"), c(0);
12631
12631
  return;
12632
12632
  }
12633
- const J = new Blob(X, { type: X[0]?.type || "audio/webm" }), te = new AbortController();
12633
+ const J = new Blob(Y, { type: Y[0]?.type || "audio/webm" }), te = new AbortController();
12634
12634
  x.current = te, i("transcribing");
12635
12635
  try {
12636
12636
  const oe = await b(J, {
@@ -12923,8 +12923,8 @@ function m6({
12923
12923
  (M) => {
12924
12924
  const S = L.current;
12925
12925
  if (S === -1) return;
12926
- const B = `${M.firstName} ${M.lastName}`.trim(), X = String(M.id), J = t.slice(0, S), te = t.slice(r), oe = `@${B} `, ee = J + oe + te, E = J.length + oe.length;
12927
- e(ee), k((W) => [...W.filter((Y) => !(Y.id === X && Y.name === B)), { id: X, name: B }]), w(), requestAnimationFrame(() => {
12926
+ const B = `${M.firstName} ${M.lastName}`.trim(), Y = String(M.id), J = t.slice(0, S), te = t.slice(r), oe = `@${B} `, ee = J + oe + te, E = J.length + oe.length;
12927
+ e(ee), k((W) => [...W.filter((X) => !(X.id === Y && X.name === B)), { id: Y, name: B }]), w(), requestAnimationFrame(() => {
12928
12928
  const W = s.current;
12929
12929
  W && (W.focus(), W.setSelectionRange(E, E));
12930
12930
  });
@@ -12963,9 +12963,9 @@ function m6({
12963
12963
  (M) => {
12964
12964
  if (x.length === 0) return M;
12965
12965
  let S = M;
12966
- const B = [...x].sort((X, J) => J.name.length - X.name.length);
12967
- for (const X of B) {
12968
- const J = `@${X.name}`, te = `<entity-ref type="person" id="${Vn(X.id)}">${Vn(X.name)}</entity-ref>`;
12966
+ const B = [...x].sort((Y, J) => J.name.length - Y.name.length);
12967
+ for (const Y of B) {
12968
+ const J = `@${Y.name}`, te = `<entity-ref type="person" id="${Vn(Y.id)}">${Vn(Y.name)}</entity-ref>`;
12969
12969
  for (; S.includes(J); )
12970
12970
  S = S.replace(J, te);
12971
12971
  }
@@ -12976,9 +12976,9 @@ function m6({
12976
12976
  ie(() => {
12977
12977
  k(
12978
12978
  (M) => M.filter((S) => {
12979
- const B = `@${S.name}`, X = t.indexOf(B);
12980
- if (X === -1) return !1;
12981
- const J = t[X + B.length];
12979
+ const B = `@${S.name}`, Y = t.indexOf(B);
12980
+ if (Y === -1) return !1;
12981
+ const J = t[Y + B.length];
12982
12982
  return J === " " || J === `
12983
12983
  ` || J === " ";
12984
12984
  })
@@ -13036,15 +13036,15 @@ const g6 = /[\\`*_{}[\]()#+\-.!|~>]/g, v6 = (t) => t.split(/(<entity-ref\b[^>]*>
13036
13036
  onSuggestionClick: T,
13037
13037
  ref: w
13038
13038
  }) => {
13039
- const C = pe(), y = Ue(), [R, _] = U(""), [b, M] = U(0), [S, B] = U(!1), [X, J] = U(!1), [te, oe] = U(null), ee = O(null), E = O(null), W = O(null), H = i != null, { tracking: Y } = Ye(), ve = Q(
13039
+ const C = pe(), y = Ue(), [R, _] = U(""), [b, M] = U(0), [S, B] = U(!1), [Y, J] = U(!1), [te, oe] = U(null), ee = O(null), E = O(null), W = O(null), H = i != null, { tracking: X } = Xe(), ve = Q(
13040
13040
  (Ce, De) => {
13041
- Y?.onWelcomeSuggestionClick?.({
13041
+ X?.onWelcomeSuggestionClick?.({
13042
13042
  item: Ce,
13043
13043
  group: De,
13044
13044
  prompt: Ce.prompt || Ce.title
13045
13045
  }), T?.(Ce, De);
13046
13046
  },
13047
- [Y, T]
13047
+ [X, T]
13048
13048
  ), {
13049
13049
  attachedFiles: me,
13050
13050
  fileInputRef: D,
@@ -13093,7 +13093,7 @@ const g6 = /[\\`*_{}[\]()#+\-.!|~>]/g, v6 = (t) => t.split(/(<entity-ref\b[^>]*>
13093
13093
  }, [g, $]);
13094
13094
  const It = Ne.status === "recording", tr = It ? C.ai.listening : C.ai.inputPlaceholder, rr = me.filter((Ce) => Ce.status === "uploaded"), lt = me.some((Ce) => Ce.status === "uploading"), Ht = me.some((Ce) => Ce.status === "error"), bt = R.trim().length > 0;
13095
13095
  ie(() => {
13096
- if (!(!X || lt)) {
13096
+ if (!(!Y || lt)) {
13097
13097
  if (J(!1), Ht) {
13098
13098
  xe(C.ai.fileUploadBlockedSubmit);
13099
13099
  return;
@@ -13101,7 +13101,7 @@ const g6 = /[\\`*_{}[\]()#+\-.!|~>]/g, v6 = (t) => t.split(/(<entity-ref\b[^>]*>
13101
13101
  ee.current?.requestSubmit();
13102
13102
  }
13103
13103
  }, [
13104
- X,
13104
+ Y,
13105
13105
  lt,
13106
13106
  Ht,
13107
13107
  xe,
@@ -13129,12 +13129,12 @@ const g6 = /[\\`*_{}[\]()#+\-.!|~>]/g, v6 = (t) => t.split(/(<entity-ref\b[^>]*>
13129
13129
  }
13130
13130
  const De = ue.transformMentions(R.trim()), ar = v6(De), Ot = rr.flatMap(
13131
13131
  (Kr) => Kr.uploadedFile ? [Kr.uploadedFile] : []
13132
- ), Xr = l, Yr = d;
13133
- Xr && c?.(null), Yr && u?.(null), await t({
13132
+ ), Yr = l, Xr = d;
13133
+ Yr && c?.(null), Xr && u?.(null), await t({
13134
13134
  text: ar,
13135
13135
  files: Ot,
13136
- context: Xr,
13137
- quote: Yr
13136
+ context: Yr,
13137
+ quote: Xr
13138
13138
  }), _(""), z();
13139
13139
  }
13140
13140
  E.current?.focus();
@@ -13198,7 +13198,7 @@ const g6 = /[\\`*_{}[\]()#+\-.!|~>]/g, v6 = (t) => t.split(/(<entity-ref\b[^>]*>
13198
13198
  onSubmit: nr,
13199
13199
  children: [
13200
13200
  /* @__PURE__ */ o(
13201
- X4,
13201
+ Y4,
13202
13202
  {
13203
13203
  isOpen: ue.isOpen,
13204
13204
  results: ue.results,
@@ -13249,7 +13249,7 @@ const g6 = /[\\`*_{}[\]()#+\-.!|~>]/g, v6 = (t) => t.split(/(<entity-ref\b[^>]*>
13249
13249
  },
13250
13250
  children: [
13251
13251
  d && /* @__PURE__ */ o(
13252
- Y4,
13252
+ X4,
13253
13253
  {
13254
13254
  quote: d,
13255
13255
  onRemove: () => u?.(null)
@@ -13324,7 +13324,7 @@ const g6 = /[\\`*_{}[\]()#+\-.!|~>]/g, v6 = (t) => t.split(/(<entity-ref\b[^>]*>
13324
13324
  handleFileSelect: I,
13325
13325
  inProgress: r,
13326
13326
  hasDataToSend: bt,
13327
- isPreSending: S || X,
13327
+ isPreSending: S || Y,
13328
13328
  canRecord: it,
13329
13329
  recordingStatus: Ne.status,
13330
13330
  recordingStream: Ne.stream,
@@ -13803,7 +13803,7 @@ function I6({
13803
13803
  id: t,
13804
13804
  label: e
13805
13805
  }) {
13806
- const { entityRefs: r } = Ye(), n = r?.resolvers?.candidate, s = pe(), a = r?.urls?.candidate?.(t), i = de(
13806
+ const { entityRefs: r } = Xe(), n = r?.resolvers?.candidate, s = pe(), a = r?.urls?.candidate?.(t), i = de(
13807
13807
  () => (c) => {
13808
13808
  const d = [];
13809
13809
  return c.source && d.push({
@@ -13875,7 +13875,7 @@ const P1 = m(
13875
13875
  );
13876
13876
  P1.displayName = "ExpenseTrigger";
13877
13877
  function H6({ id: t, label: e }) {
13878
- const { entityRefs: r } = Ye(), n = r?.resolvers?.expense, s = pe(), a = r?.urls?.expense?.(t), i = de(
13878
+ const { entityRefs: r } = Xe(), n = r?.resolvers?.expense, s = pe(), a = r?.urls?.expense?.(t), i = de(
13879
13879
  () => (c) => ({
13880
13880
  avatar: {
13881
13881
  type: "icon",
@@ -13934,7 +13934,7 @@ function j6({
13934
13934
  id: t,
13935
13935
  label: e
13936
13936
  }) {
13937
- const { entityRefs: r } = Ye(), n = r?.resolvers?.jobPosting, s = pe(), a = r?.urls?.jobPosting?.(t), i = de(
13937
+ const { entityRefs: r } = Xe(), n = r?.resolvers?.jobPosting, s = pe(), a = r?.urls?.jobPosting?.(t), i = de(
13938
13938
  () => (c) => ({
13939
13939
  title: c.title,
13940
13940
  description: [c.status, c.location].filter(Boolean).join(" · "),
@@ -13995,7 +13995,7 @@ function D6({
13995
13995
  id: t,
13996
13996
  label: e
13997
13997
  }) {
13998
- const { entityRefs: r } = Ye(), n = r?.resolvers?.requisition, s = pe(), a = r?.urls?.requisition?.(t), i = de(
13998
+ const { entityRefs: r } = Xe(), n = r?.resolvers?.requisition, s = pe(), a = r?.urls?.requisition?.(t), i = de(
13999
13999
  () => (c) => {
14000
14000
  const d = c.lineManager ? `${c.lineManager.firstName} ${c.lineManager.lastName}` : void 0, h = [
14001
14001
  c.status ? {
@@ -14088,7 +14088,7 @@ const H1 = m(
14088
14088
  );
14089
14089
  H1.displayName = "PersonTrigger";
14090
14090
  function Z6({ id: t, label: e }) {
14091
- const { entityRefs: r } = Ye(), n = r?.resolvers?.person, s = pe(), a = r?.urls?.person?.(t), i = de(
14091
+ const { entityRefs: r } = Xe(), n = r?.resolvers?.person, s = pe(), a = r?.urls?.person?.(t), i = de(
14092
14092
  () => (c) => ({
14093
14093
  avatar: {
14094
14094
  type: "person",
@@ -14146,7 +14146,7 @@ const j1 = m(
14146
14146
  );
14147
14147
  j1.displayName = "VacancyTrigger";
14148
14148
  function B6({ id: t, label: e }) {
14149
- const { entityRefs: r } = Ye(), n = r?.resolvers?.vacancy, s = pe(), a = r?.urls?.vacancy?.(t), i = de(
14149
+ const { entityRefs: r } = Xe(), n = r?.resolvers?.vacancy, s = pe(), a = r?.urls?.vacancy?.(t), i = de(
14150
14150
  () => (c) => ({
14151
14151
  title: c.name,
14152
14152
  description: [c.status, c.vacancyType].filter(Boolean).join(" · "),
@@ -14239,10 +14239,10 @@ const kf = {
14239
14239
  pathLength: [0, 1],
14240
14240
  opacity: [0, 1]
14241
14241
  }
14242
- }, X6 = {
14242
+ }, Y6 = {
14243
14243
  duration: 0.5,
14244
14244
  ease: [0.175, 0.885, 0.32, 1.275]
14245
- }, Y6 = {
14245
+ }, X6 = {
14246
14246
  normal: {
14247
14247
  scale: 1
14248
14248
  },
@@ -14269,8 +14269,8 @@ const kf = {
14269
14269
  cy: "12",
14270
14270
  r: "8",
14271
14271
  initial: "normal",
14272
- variants: Y6,
14273
- transition: X6,
14272
+ variants: X6,
14273
+ transition: Y6,
14274
14274
  animate: t,
14275
14275
  vectorEffect: "non-scaling-stroke"
14276
14276
  }
@@ -14386,8 +14386,8 @@ function Hn(t, e, r, n) {
14386
14386
  for (let C = 0; C < St; C++) {
14387
14387
  const y = a[T + C], R = a[T + C + 1], _ = a[w + C], b = a[w + C + 1];
14388
14388
  if ((y.t + R.t + _.t + b.t) * 0.25 < 1e-3) continue;
14389
- const S = (y.x + R.x + _.x + b.x) * 0.25, B = (y.y + R.y + _.y + b.y) * 0.25, X = (y.z + R.z + _.z + b.z) * 0.25, J = S * i, te = B * i, oe = y.x * i - J, ee = y.y * i - te, E = Math.sqrt(oe * oe + ee * ee), W = E > 0 ? (E + 0.9) / E : 1, H = l + J + oe * W, Y = c - te - ee * W, ve = R.x * i - J, me = R.y * i - te, D = Math.sqrt(ve * ve + me * me), re = D > 0 ? (D + 0.9) / D : 1, le = l + J + ve * re, ye = c - te - me * re, N = b.x * i - J, $ = b.y * i - te, I = Math.sqrt(N * N + $ * $), K = I > 0 ? (I + 0.9) / I : 1, z = l + J + N * K, se = c - te - $ * K, xe = _.x * i - J, ue = _.y * i - te, Re = Math.sqrt(xe * xe + ue * ue), Ie = Re > 0 ? (Re + 0.9) / Re : 1, at = l + J + xe * Ie, Ne = c - te - ue * Ie, it = s[x];
14390
- it.points = `${H},${Y} ${le},${ye} ${z},${se} ${at},${Ne}`, it.color = o9((S + 1) * 0.5), it.avgZ = X, x++;
14389
+ const S = (y.x + R.x + _.x + b.x) * 0.25, B = (y.y + R.y + _.y + b.y) * 0.25, Y = (y.z + R.z + _.z + b.z) * 0.25, J = S * i, te = B * i, oe = y.x * i - J, ee = y.y * i - te, E = Math.sqrt(oe * oe + ee * ee), W = E > 0 ? (E + 0.9) / E : 1, H = l + J + oe * W, X = c - te - ee * W, ve = R.x * i - J, me = R.y * i - te, D = Math.sqrt(ve * ve + me * me), re = D > 0 ? (D + 0.9) / D : 1, le = l + J + ve * re, ye = c - te - me * re, N = b.x * i - J, $ = b.y * i - te, I = Math.sqrt(N * N + $ * $), K = I > 0 ? (I + 0.9) / I : 1, z = l + J + N * K, se = c - te - $ * K, xe = _.x * i - J, ue = _.y * i - te, Re = Math.sqrt(xe * xe + ue * ue), Ie = Re > 0 ? (Re + 0.9) / Re : 1, at = l + J + xe * Ie, Ne = c - te - ue * Ie, it = s[x];
14390
+ it.points = `${H},${X} ${le},${ye} ${z},${se} ${at},${Ne}`, it.color = o9((S + 1) * 0.5), it.avgZ = Y, x++;
14391
14391
  }
14392
14392
  }
14393
14393
  }
@@ -14411,11 +14411,11 @@ const u9 = ({ size: t = 20, className: e, style: r, variant: n = "default" }, s)
14411
14411
  const C = (M) => {
14412
14412
  const S = p.quads;
14413
14413
  for (let B = 0; B < v.length; B++) {
14414
- const X = v[B];
14414
+ const Y = v[B];
14415
14415
  if (B < M) {
14416
14416
  const J = S[B];
14417
- X.setAttribute("points", J.points), X.setAttribute("fill", J.color), X.hasAttribute("display") && X.removeAttribute("display");
14418
- } else X.hasAttribute("display") || X.setAttribute("display", "none");
14417
+ Y.setAttribute("points", J.points), Y.setAttribute("fill", J.color), Y.hasAttribute("display") && Y.removeAttribute("display");
14418
+ } else Y.hasAttribute("display") || Y.setAttribute("display", "none");
14419
14419
  }
14420
14420
  }, y = (M) => {
14421
14421
  w || (x = M, k = M, w = !0);
@@ -14424,7 +14424,7 @@ const u9 = ({ size: t = 20, className: e, style: r, variant: n = "default" }, s)
14424
14424
  const oe = Fn * 2, ee = (M - x) % oe / oe;
14425
14425
  S = ee < 0.5 ? ee * 2 : (1 - ee) * 2, B = !1;
14426
14426
  } else V === "spin" ? (S = Math.min((M - x) / Fn, 1), S >= 1 && (S = 0, V = "pause", L = M)) : (S = 0, M - L >= K6 && (V = "spin", x = M));
14427
- const X = (M - k) / Q6 % 1, J = B ? r9(S) : S, te = Hn(p, J, t, X);
14427
+ const Y = (M - k) / Q6 % 1, J = B ? r9(S) : S, te = Hn(p, J, t, Y);
14428
14428
  C(te), g = requestAnimationFrame(y);
14429
14429
  }, R = () => {
14430
14430
  g === null && (g = requestAnimationFrame(y));
@@ -14699,7 +14699,7 @@ function q1({
14699
14699
  formValues: i,
14700
14700
  valueFormatter: l
14701
14701
  }) {
14702
- const { canvasContent: c, openCanvas: d, closeCanvas: u } = Ye(), h = f9(t), v = l ?? h, p = O(() => {
14702
+ const { canvasContent: c, openCanvas: d, closeCanvas: u } = Xe(), h = f9(t), v = l ?? h, p = O(() => {
14703
14703
  }), g = n ?? t, x = s ?? e ?? "", k = c?.type === "form" && c.formName === t, L = () => d({
14704
14704
  type: "form",
14705
14705
  title: g,
@@ -14788,7 +14788,7 @@ function w9(t, e) {
14788
14788
  const a = n.getBoundingClientRect();
14789
14789
  return { rect: a.width > 0 || a.height > 0 ? a : e.getBoundingClientRect(), text: s };
14790
14790
  }
14791
- function X1({
14791
+ function Y1({
14792
14792
  containerRef: t,
14793
14793
  enabled: e = !0
14794
14794
  }) {
@@ -14816,7 +14816,7 @@ function X1({
14816
14816
  }, [t, e]), { anchor: r, clear: s };
14817
14817
  }
14818
14818
  const zn = 8, _t = 8;
14819
- function Y1({ anchor: t, onReply: e }) {
14819
+ function X1({ anchor: t, onReply: e }) {
14820
14820
  const r = pe(), n = O(null), [s, a] = U(
14821
14821
  null
14822
14822
  );
@@ -14881,7 +14881,7 @@ const K1 = $t(void 0), Mf = () => kt(K1), x9 = (t) => /* @__PURE__ */ o(jo, { co
14881
14881
  onRendered: a,
14882
14882
  renderMarkdown: i
14883
14883
  }) => {
14884
- const l = typeof r?.content == "string" ? r.content : "", c = (r && n?.(r)) ?? r?.generativeUI?.() ?? null, d = r?.toolCalls?.[0]?.id, u = !l && !c, h = O(null), { anchor: v, clear: p } = X1({
14884
+ const l = typeof r?.content == "string" ? r.content : "", c = (r && n?.(r)) ?? r?.generativeUI?.() ?? null, d = r?.toolCalls?.[0]?.id, u = !l && !c, h = O(null), { anchor: v, clear: p } = Y1({
14885
14885
  containerRef: h,
14886
14886
  enabled: !!(r?.id && l)
14887
14887
  });
@@ -14898,7 +14898,7 @@ const K1 = $t(void 0), Mf = () => kt(K1), x9 = (t) => /* @__PURE__ */ o(jo, { co
14898
14898
  ),
14899
14899
  !!c && /* @__PURE__ */ o("div", { className: "w-full", children: c }),
14900
14900
  /* @__PURE__ */ o(
14901
- Y1,
14901
+ X1,
14902
14902
  {
14903
14903
  anchor: v,
14904
14904
  onReply: (g) => {
@@ -15142,7 +15142,7 @@ const M9 = ({
15142
15142
  return /* @__PURE__ */ o(
15143
15143
  E9,
15144
15144
  {
15145
- icon: Yo,
15145
+ icon: Xo,
15146
15146
  title: c,
15147
15147
  open: a,
15148
15148
  onOpenChange: i,
@@ -15207,7 +15207,7 @@ const es = (t) => /* @__PURE__ */ o(jo, { content: t, format: "markdown" }), N9
15207
15207
  const i = t.rawData, l = S9(
15208
15208
  t?.content,
15209
15209
  i
15210
- ), c = (R9(t?.content) ?? "").trim(), d = t?.replyQuote ?? null, u = c.length > 0, { anchor: h, clear: v } = X1({
15210
+ ), c = (R9(t?.content) ?? "").trim(), d = t?.replyQuote ?? null, u = c.length > 0, { anchor: h, clear: v } = Y1({
15211
15211
  containerRef: a,
15212
15212
  enabled: u
15213
15213
  });
@@ -15235,7 +15235,7 @@ const es = (t) => /* @__PURE__ */ o(jo, { content: t, format: "markdown" }), N9
15235
15235
  }
15236
15236
  ),
15237
15237
  /* @__PURE__ */ o(
15238
- Y1,
15238
+ X1,
15239
15239
  {
15240
15240
  anchor: h,
15241
15241
  onReply: (p) => {
@@ -15369,15 +15369,15 @@ const j9 = {
15369
15369
  ), w = pe(), C = g ?? k9, y = x ?? T9, R = de(() => {
15370
15370
  const E = n ?? w.ai.defaultInitialMessage;
15371
15371
  return (Array.isArray(E) ? E : [E]).filter((H) => typeof H == "string" && H.length > 0);
15372
- }, [n, w.ai.defaultInitialMessage]), _ = !e && t.length === 0 && R.length > 0, b = O(null), M = O(null), S = O(null), B = O(null), X = O(null), { showScrollBtn: J, turnMinHeight: te, scrollToBottom: oe } = H9({
15372
+ }, [n, w.ai.defaultInitialMessage]), _ = !e && t.length === 0 && R.length > 0, b = O(null), M = O(null), S = O(null), B = O(null), Y = O(null), { showScrollBtn: J, turnMinHeight: te, scrollToBottom: oe } = H9({
15373
15373
  viewportRef: b,
15374
15374
  contentRef: M,
15375
15375
  endRef: S,
15376
- lastTurnRef: X,
15376
+ lastTurnRef: Y,
15377
15377
  turnsCount: t.length,
15378
15378
  freezeTurnMinHeight: h
15379
15379
  }), ee = (E, W) => {
15380
- const H = W === t.length - 1, Y = {
15380
+ const H = W === t.length - 1, X = {
15381
15381
  renderToolCall: a,
15382
15382
  onReplyQuote: i,
15383
15383
  onRendered: l,
@@ -15394,7 +15394,7 @@ const j9 = {
15394
15394
  onRegenerate: k,
15395
15395
  onCopy: L,
15396
15396
  rawData: D.rawData || {},
15397
- ...Y
15397
+ ...X
15398
15398
  };
15399
15399
  return /* @__PURE__ */ o(
15400
15400
  y,
@@ -15414,7 +15414,7 @@ const j9 = {
15414
15414
  onRegenerate: k,
15415
15415
  onCopy: L,
15416
15416
  rawData: D.rawData || {},
15417
- ...Y
15417
+ ...X
15418
15418
  };
15419
15419
  return /* @__PURE__ */ o(
15420
15420
  C,
@@ -15429,7 +15429,7 @@ const j9 = {
15429
15429
  return /* @__PURE__ */ f(
15430
15430
  "div",
15431
15431
  {
15432
- ref: H ? X : void 0,
15432
+ ref: H ? Y : void 0,
15433
15433
  className: F(
15434
15434
  "flex flex-col items-start justify-start gap-2 px-1",
15435
15435
  H && "pb-5"
@@ -15575,7 +15575,7 @@ function Sf() {
15575
15575
  return t;
15576
15576
  }
15577
15577
  function Z9() {
15578
- const { canvasEntities: t } = Ye();
15578
+ const { canvasEntities: t } = Xe();
15579
15579
  return t;
15580
15580
  }
15581
15581
  function Nf(t) {
@@ -15886,7 +15886,7 @@ const z9 = ({
15886
15886
  onClick: l,
15887
15887
  label: c.actions.cancel,
15888
15888
  hideLabel: !0,
15889
- icon: Xe
15889
+ icon: Ye
15890
15890
  }
15891
15891
  )
15892
15892
  ] });
@@ -15894,12 +15894,12 @@ const z9 = ({
15894
15894
  clarifyingQuestion: t,
15895
15895
  isSubmitDisabled: e
15896
15896
  }) => /* @__PURE__ */ o(
15897
- X9,
15897
+ Y9,
15898
15898
  {
15899
15899
  clarifyingQuestion: t,
15900
15900
  isSubmitDisabled: e
15901
15901
  }
15902
- ), X9 = ({
15902
+ ), Y9 = ({
15903
15903
  clarifyingQuestion: t,
15904
15904
  isSubmitDisabled: e
15905
15905
  }) => {
@@ -15927,14 +15927,14 @@ const z9 = ({
15927
15927
  } = s, y = O(null), R = j ?? "single", _ = i > 1, b = a === 0, M = a === i - 1, S = _ ? r.t("ai.clarifyingQuestion.stepOf", {
15928
15928
  current: String(a + 1),
15929
15929
  total: String(i)
15930
- }) : void 0, B = L.length > 0, X = (w ?? "").trim().length > 0, J = B || C && X || V === !0, te = e === !0 && M, oe = () => {
15930
+ }) : void 0, B = L.length > 0, Y = (w ?? "").trim().length > 0, J = B || C && Y || V === !0, te = e === !0 && M, oe = () => {
15931
15931
  te || c();
15932
15932
  }, ee = () => {
15933
15933
  te || d();
15934
15934
  }, E = (D) => {
15935
15935
  const re = R === "single" && L.includes(D);
15936
15936
  l(D), R === "single" && !M && !re && Promise.resolve().then(c);
15937
- }, W = M ? r.ai.clarifyingQuestion.submit : r.ai.clarifyingQuestion.next, H = V === !0 && !B && !(C && X), Y = () => {
15937
+ }, W = M ? r.ai.clarifyingQuestion.submit : r.ai.clarifyingQuestion.next, H = V === !0 && !B && !(C && Y), X = () => {
15938
15938
  g(), requestAnimationFrame(() => {
15939
15939
  y.current?.focus();
15940
15940
  });
@@ -15973,13 +15973,13 @@ const z9 = ({
15973
15973
  selectedOptionIds: L,
15974
15974
  allowCustomAnswer: T,
15975
15975
  hasSelection: B,
15976
- hasCustomText: X,
15976
+ hasCustomText: Y,
15977
15977
  customAnswerText: w,
15978
15978
  isCustomAnswerActive: C,
15979
15979
  canProceed: J,
15980
15980
  customInputRef: y,
15981
15981
  onToggleOption: E,
15982
- onActivateCustom: Y,
15982
+ onActivateCustom: X,
15983
15983
  onChangeCustomText: v,
15984
15984
  onToggleCustomActive: p,
15985
15985
  onConfirm: oe
@@ -16003,7 +16003,7 @@ const z9 = ({
16003
16003
  ] });
16004
16004
  };
16005
16005
  function Gn(t, e, r, n) {
16006
- const s = Math.max(1, Math.min(t, e)), a = Math.min(r, 20), l = Math.min(a + n, s), c = Math.min(l, Math.floor(t / 2)), d = Math.min(l, Math.floor(e / 2)), u = (Y) => Y / t * 2 - 1, h = (Y) => Y / e * 2 - 1, v = 0, p = t, g = 0, x = e, k = c, L = t - c, j = d, V = e - d, T = u(v), w = u(p), C = h(g), y = h(x), R = u(k), _ = u(L), b = h(j), M = h(V), S = 0, B = 0, X = 1, J = 1, te = c / t, oe = 1 - c / t, ee = d / e, E = 1 - d / e, W = new Float32Array([
16006
+ const s = Math.max(1, Math.min(t, e)), a = Math.min(r, 20), l = Math.min(a + n, s), c = Math.min(l, Math.floor(t / 2)), d = Math.min(l, Math.floor(e / 2)), u = (X) => X / t * 2 - 1, h = (X) => X / e * 2 - 1, v = 0, p = t, g = 0, x = e, k = c, L = t - c, j = d, V = e - d, T = u(v), w = u(p), C = h(g), y = h(x), R = u(k), _ = u(L), b = h(j), M = h(V), S = 0, B = 0, Y = 1, J = 1, te = c / t, oe = 1 - c / t, ee = d / e, E = 1 - d / e, W = new Float32Array([
16007
16007
  // Top strip
16008
16008
  T,
16009
16009
  C,
@@ -16060,28 +16060,28 @@ function Gn(t, e, r, n) {
16060
16060
  // Top strip
16061
16061
  S,
16062
16062
  B,
16063
- X,
16063
+ Y,
16064
16064
  B,
16065
16065
  S,
16066
16066
  ee,
16067
16067
  S,
16068
16068
  ee,
16069
- X,
16069
+ Y,
16070
16070
  B,
16071
- X,
16071
+ Y,
16072
16072
  ee,
16073
16073
  // Bottom strip
16074
16074
  S,
16075
16075
  E,
16076
- X,
16076
+ Y,
16077
16077
  E,
16078
16078
  S,
16079
16079
  J,
16080
16080
  S,
16081
16081
  J,
16082
- X,
16082
+ Y,
16083
16083
  E,
16084
- X,
16084
+ Y,
16085
16085
  J,
16086
16086
  // Left strip
16087
16087
  S,
@@ -16099,15 +16099,15 @@ function Gn(t, e, r, n) {
16099
16099
  // Right strip
16100
16100
  oe,
16101
16101
  ee,
16102
- X,
16102
+ Y,
16103
16103
  ee,
16104
16104
  oe,
16105
16105
  E,
16106
16106
  oe,
16107
16107
  E,
16108
- X,
16108
+ Y,
16109
16109
  ee,
16110
- X,
16110
+ Y,
16111
16111
  E
16112
16112
  ]);
16113
16113
  return { positions: W, uvs: H };
@@ -16121,7 +16121,7 @@ function qn(t, e, r) {
16121
16121
  }
16122
16122
  return n;
16123
16123
  }
16124
- function Y9(t, e, r) {
16124
+ function X9(t, e, r) {
16125
16125
  const n = qn(t, t.VERTEX_SHADER, e), s = qn(t, t.FRAGMENT_SHADER, r), a = t.createProgram();
16126
16126
  if (!a) throw new Error("Failed to create program");
16127
16127
  if (t.attachShader(a, n), t.attachShader(a, s), t.linkProgram(a), !t.getProgramParameter(a, t.LINK_STATUS)) {
@@ -16513,7 +16513,7 @@ class Af {
16513
16513
  });
16514
16514
  if (!e)
16515
16515
  throw new Error("WebGL2 is required but not available.");
16516
- const r = Y9(e, Q9, K9);
16516
+ const r = X9(e, Q9, K9);
16517
16517
  this.checkGLError(e, "setupGL: after createProgram");
16518
16518
  const n = e.createVertexArray();
16519
16519
  e.bindVertexArray(n), this.checkGLError(e, "setupGL: after VAO creation");
@@ -16558,7 +16558,7 @@ class Af {
16558
16558
  r.useProgram(n), r.bindVertexArray(s), r.uniform1f(a, e), r.disable(r.DEPTH_TEST), r.disable(r.CULL_FACE), r.disable(r.BLEND), r.clearColor(0, 0, 0, 0), r.clear(r.COLOR_BUFFER_BIT), r.drawArrays(r.TRIANGLES, 0, 24), this.checkGLError(r, "render: after draw call"), r.bindVertexArray(null);
16559
16559
  }
16560
16560
  }
16561
- const Xn = ["lowp", "mediump", "highp"], t3 = `
16561
+ const Yn = ["lowp", "mediump", "highp"], t3 = `
16562
16562
  void main(void){
16563
16563
  vec4 color = vec4(0.0,0.0,0.0,1.0);
16564
16564
  mainImage( color, gl_FragCoord.xy );
@@ -16567,7 +16567,7 @@ void main(void){
16567
16567
  vec2 uv = fragCoord/iResolution.xy;
16568
16568
  vec3 col = 0.5 + 0.5*cos(iTime+uv.xyx+vec3(0,2,4));
16569
16569
  fragColor = vec4(col,1.0);
16570
- }`, Yn = `attribute vec3 aVertexPosition;
16570
+ }`, Xn = `attribute vec3 aVertexPosition;
16571
16571
  void main(void) {
16572
16572
  gl_Position = vec4(aVertexPosition, 1.0);
16573
16573
  }`, Kn = "iTime", Qn = "iTimeDelta", Jn = "iDate", eo = "iFrame", to = "iMouse", ro = "iResolution", n3 = "iChannel", no = "iChannelResolution", oo = "iDeviceOrientation";
@@ -16819,7 +16819,7 @@ const We = (t) => `react-shaders: ${t}`, co = (t) => {
16819
16819
  }, lo = (t, e, r) => t * (1 - r) + e * r, u3 = (t, e, r) => r > 0 ? t.substring(0, r) + e + t.substring(r, t.length) : e + t;
16820
16820
  function f3({
16821
16821
  fs: t,
16822
- vs: e = Yn,
16822
+ vs: e = Xn,
16823
16823
  textures: r = [],
16824
16824
  uniforms: n,
16825
16825
  clearColor: s = [0, 0, 0, 1],
@@ -16854,7 +16854,7 @@ function f3({
16854
16854
  "experimental-webgl",
16855
16855
  l
16856
16856
  ), g.current?.getExtension("OES_standard_derivatives"), g.current?.getExtension("EXT_shader_texture_lod"));
16857
- }, X = () => {
16857
+ }, Y = () => {
16858
16858
  const N = g.current;
16859
16859
  x.current = N?.createBuffer() ?? null, N?.bindBuffer(N.ARRAY_BUFFER, x.current);
16860
16860
  const $ = [
@@ -16948,7 +16948,7 @@ ${$}`));
16948
16948
  "aVertexPosition"
16949
16949
  ), I.enableVertexAttribArray(L.current);
16950
16950
  }
16951
- }, Y = () => {
16951
+ }, X = () => {
16952
16952
  if (n)
16953
16953
  for (const N of Object.keys(n)) {
16954
16954
  const $ = n[N];
@@ -16992,7 +16992,7 @@ ${$}`));
16992
16992
  });
16993
16993
  } else u && u();
16994
16994
  }, me = (N) => {
16995
- const $ = Xn.includes(a ?? "highp"), I = `precision ${$ ? a : Xn[1]} float;
16995
+ const $ = Yn.includes(a ?? "highp"), I = `precision ${$ ? a : Yn[1]} float;
16996
16996
  `;
16997
16997
  $ || v?.(
16998
16998
  We(
@@ -17150,7 +17150,7 @@ ${$}`));
17150
17150
  function $() {
17151
17151
  B();
17152
17152
  const I = g.current;
17153
- I && p.current && (I.clearColor(...s), I.clearDepth(1), I.enable(I.DEPTH_TEST), I.depthFunc(I.LEQUAL), I.viewport(0, 0, p.current.width, p.current.height), p.current.height = p.current.clientHeight, p.current.width = p.current.clientWidth, Y(), ve(), H(me(t || r3), e || Yn), X(), requestAnimationFrame(re), le(), E());
17153
+ I && p.current && (I.clearColor(...s), I.clearDepth(1), I.enable(I.DEPTH_TEST), I.depthFunc(I.LEQUAL), I.viewport(0, 0, p.current.width, p.current.height), p.current.height = p.current.clientHeight, p.current.width = p.current.clientWidth, X(), ve(), H(me(t || r3), e || Xn), Y(), requestAnimationFrame(re), le(), E());
17154
17154
  }
17155
17155
  return requestAnimationFrame($), () => {
17156
17156
  const I = g.current;
@@ -17768,7 +17768,7 @@ const S3 = ({
17768
17768
  "aria-label": `Sparkline chart showing ${a} trend`,
17769
17769
  children: [
17770
17770
  /* @__PURE__ */ o(qi, { width: "100%", height: "100%", children: /* @__PURE__ */ f(
17771
- Xi,
17771
+ Yi,
17772
17772
  {
17773
17773
  data: t,
17774
17774
  margin: { top: 4, right: 4, bottom: 0, left: 0 },
@@ -17777,7 +17777,7 @@ const S3 = ({
17777
17777
  /* @__PURE__ */ o("stop", { offset: "5%", stopColor: i.fill, stopOpacity: 0.3 }),
17778
17778
  /* @__PURE__ */ o("stop", { offset: "95%", stopColor: i.fill, stopOpacity: 0.02 })
17779
17779
  ] }) }),
17780
- /* @__PURE__ */ o(Yi, { hide: !0, domain: ["dataMin - 1", "dataMax + 1"] }),
17780
+ /* @__PURE__ */ o(Xi, { hide: !0, domain: ["dataMin - 1", "dataMax + 1"] }),
17781
17781
  /* @__PURE__ */ o(
17782
17782
  Ki,
17783
17783
  {
@@ -18079,7 +18079,7 @@ const j3 = ({
18079
18079
  ]
18080
18080
  }
18081
18081
  );
18082
- }, O3 = (t) => X2[t] ?? Eo, D3 = ({ iconName: t }) => t ? /* @__PURE__ */ o("div", { className: "mr-1 flex items-center justify-center", children: /* @__PURE__ */ o(be, { icon: O3(t), size: "md", color: "default" }) }) : null;
18082
+ }, O3 = (t) => Y2[t] ?? Eo, D3 = ({ iconName: t }) => t ? /* @__PURE__ */ o("div", { className: "mr-1 flex items-center justify-center", children: /* @__PURE__ */ o(be, { icon: O3(t), size: "md", color: "default" }) }) : null;
18083
18083
  function Z3({
18084
18084
  sources: t,
18085
18085
  title: e
@@ -18498,7 +18498,7 @@ const fo = ({
18498
18498
  variant: "ghost",
18499
18499
  hideLabel: !0,
18500
18500
  label: v.ai.closeChat,
18501
- icon: Xe,
18501
+ icon: Ye,
18502
18502
  onClick: i
18503
18503
  }
18504
18504
  );
@@ -18582,11 +18582,11 @@ function q3() {
18582
18582
  if (!(typeof navigator > "u"))
18583
18583
  return rc(navigator.language);
18584
18584
  }
18585
- function X3(t) {
18585
+ function Y3(t) {
18586
18586
  const e = new Date(t), r = /* @__PURE__ */ new Date();
18587
18587
  return Uo(e) ? "today" : zo(e) ? "yesterday" : ec(e, r) ? "thisMonth" : "older";
18588
18588
  }
18589
- function Y3(t, e) {
18589
+ function X3(t, e) {
18590
18590
  const r = new Date(t), n = q3(), s = tn(r, "p", { locale: n });
18591
18591
  if (Uo(r)) return `${e.today}, ${s}`;
18592
18592
  if (zo(r)) return `${e.yesterday}, ${s}`;
@@ -18603,7 +18603,7 @@ function K3(t) {
18603
18603
  older: []
18604
18604
  };
18605
18605
  for (const n of t) {
18606
- const s = X3(n.updatedAt);
18606
+ const s = Y3(n.updatedAt);
18607
18607
  e[s].push(n);
18608
18608
  }
18609
18609
  return ["today", "yesterday", "thisMonth", "older"].filter((n) => e[n].length > 0).map((n) => ({ key: n, threads: e[n] }));
@@ -18632,7 +18632,7 @@ function Q3({
18632
18632
  ],
18633
18633
  [e, t.id, n, s, a]
18634
18634
  ), c = de(
18635
- () => Y3(t.updatedAt, {
18635
+ () => X3(t.updatedAt, {
18636
18636
  today: i.ai.today,
18637
18637
  yesterday: i.ai.yesterday
18638
18638
  }),
@@ -18990,7 +18990,7 @@ export {
18990
18990
  pf as K,
18991
18991
  Nr as L,
18992
18992
  Oe as M,
18993
- Xt as N,
18993
+ Yt as N,
18994
18994
  Sl as O,
18995
18995
  i0 as P,
18996
18996
  Mn as Q,