@factorialco/f0-react 2.32.1 → 2.33.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,9 +1,9 @@
1
- import { g as da, B as ua, h as fa, i as ma, j as At, k as De, l as ha, m as p, n as X, o as ge, u as ie, T as pa, p as ga, q as ba, R as xa, r as va, s as re, t as wa, v as pt, w as rt, x as Re, A as _e, y as ya, z as Na, C as M, E as Ca, G as ka, H as ve, J as sn, K as Sa, L as Ia, M as W, N as on, S as O, O as we, Q as Fa, U as Aa, V as La, W as Ea, X as _a, Y as ke, Z as cn, _ as Oa, $ as be, a0 as $e, a1 as Da, a2 as gt, d as dn, a3 as Ce, a4 as Ta, a5 as un, a6 as ne, a7 as K, a8 as fn, a9 as mn, aa as za, ab as hn, ac as me, ad as ee, ae as Pa, af as Ba, ag as Ra, ah as $a, ai as pe, aj as Ge, ak as Wa, al as Ma, am as ja, an as Va, ao as He, ap as pn, aq as Ga, ar as Ha, as as Ua, at as We, au as Ka, av as qa, aw as Ya, ax as Za, ay as Xa, az as Ja, aA as Qa, aB as er, aC as tr, aD as nr, aE as lt, aF as it, aG as gn, aH as ar, aI as rr, aJ as lr, aK as ir, aL as Ue, aM as bt, aN as bn, aO as sr, aP as xn, aQ as or, aR as cr, aS as dr, aT as Ee, aU as ur, aV as Te, aW as Lt, aX as st, aY as fr, aZ as mr, a as hr, b as pr, a_ as vn, a$ as gr, f as br, F as xr, b0 as wn, b1 as vr, b2 as yn, b3 as wr, b4 as yr, b5 as Nr, b6 as Cr, b7 as kr, b8 as Sr, b9 as Ir, ba as Fr, bb as Ar, bc as Nn, bd as ue, be as xt, bf as vt, bg as wt, bh as Cn, bi as yt, bj as kn, bk as Sn, bl as Lr, bm as Er, bn as _r, bo as Or, bp as Dr, bq as Tr, br as zr, bs as Pr, bt as Br, bu as Rr, bv as Et, bw as _t, bx as Ot, by as $r, bz as Wr, bA as Mr, bB as jr, bC as In, bD as Vr, bE as Gr } from "./F0CanvasPanel-CxrYr5OJ.js";
2
- import { bQ as Lc, bP as Ec, c0 as _c, bM as Oc, bN as Dc, bF as Tc, bG as zc, c1 as Pc, bH as Bc, bO as Rc, bY as $c, bZ as Wc, bI as Mc, bS as jc, bR as Vc, bJ as Gc, bK as Hc, b_ as Uc, c2 as Kc, b$ as qc, bX as Yc, bU as Zc, bW as Xc, bT as Jc, bL as Qc, bV as ed } from "./F0CanvasPanel-CxrYr5OJ.js";
1
+ import { g as da, B as ua, h as fa, i as ma, j as At, k as De, l as ha, m as p, n as X, o as be, u as ie, T as pa, p as ba, q as ga, R as xa, r as va, s as re, t as wa, v as pt, w as rt, x as Re, A as _e, y as ya, z as Na, C as M, E as Ca, G as ka, H as ve, J as sn, K as Sa, L as Ia, M as W, N as on, S as O, O as we, Q as Fa, U as Aa, V as La, W as Ea, X as _a, Y as ke, Z as cn, _ as Oa, $ as ge, a0 as $e, a1 as Da, a2 as bt, d as dn, a3 as Ce, a4 as Ta, a5 as un, a6 as ne, a7 as K, a8 as fn, a9 as mn, aa as za, ab as hn, ac as me, ad as ee, ae as Pa, af as Ba, ag as Ra, ah as $a, ai as pe, aj as Ge, ak as Wa, al as Ma, am as ja, an as Va, ao as He, ap as pn, aq as Ga, ar as Ha, as as Ua, at as We, au as Ka, av as qa, aw as Ya, ax as Za, ay as Xa, az as Ja, aA as Qa, aB as er, aC as tr, aD as nr, aE as lt, aF as it, aG as bn, aH as ar, aI as rr, aJ as lr, aK as ir, aL as Ue, aM as gt, aN as gn, aO as sr, aP as xn, aQ as or, aR as cr, aS as dr, aT as Ee, aU as ur, aV as Te, aW as Lt, aX as st, aY as fr, aZ as mr, a as hr, b as pr, a_ as vn, a$ as br, f as gr, F as xr, b0 as wn, b1 as vr, b2 as yn, b3 as wr, b4 as yr, b5 as Nr, b6 as Cr, b7 as kr, b8 as Sr, b9 as Ir, ba as Fr, bb as Ar, bc as Nn, bd as ue, be as xt, bf as vt, bg as wt, bh as Cn, bi as yt, bj as kn, bk as Sn, bl as Lr, bm as Er, bn as _r, bo as Or, bp as Dr, bq as Tr, br as zr, bs as Pr, bt as Br, bu as Rr, bv as Et, bw as _t, bx as Ot, by as $r, bz as Wr, bA as Mr, bB as jr, bC as In, bD as Vr, bE as Gr } from "./F0CanvasPanel-EblUp6hE.js";
2
+ import { bQ as Lc, bP as Ec, c0 as _c, bM as Oc, bN as Dc, bF as Tc, bG as zc, bH as Pc, c1 as Bc, bO as Rc, bY as $c, bZ as Wc, bI as Mc, bS as jc, bR as Vc, bJ as Gc, bK as Hc, b_ as Uc, c2 as Kc, b$ as qc, bX as Yc, bU as Zc, bW as Xc, bT as Jc, bL as Qc, bV as ed } from "./F0CanvasPanel-EblUp6hE.js";
3
3
  import { jsx as e, jsxs as o, Fragment as U } from "react/jsx-runtime";
4
4
  import se, { forwardRef as j, useRef as G, useTransition as Hr, useState as _, useLayoutEffect as Fn, useId as ot, useContext as Ke, createContext as Nt, useEffect as $, useCallback as Q, useMemo as q, Fragment as Ur, isValidElement as Kr, cloneElement as An, Children as Ln } from "react";
5
- import { C as qr, P as Yr, g as En, c as Zr, a as _n, F as ct, f as Xr, M as Jr, b as Qr, R as Dt, d as On, u as el, e as Dn, S as tl, A as nl, B as al, L as rl, h as ll, V as il, i as sl, j as Tt, k as ol, l as cl, O as dl } from "./useDataCollectionSource-BDFT840X.js";
6
- import { r as nd, s as ad, p as rd, H as ld, t as id, z as sd, a5 as od, G as cd, q as dd, o as ud, Q as fd, ab as md, U as hd, W as pd, v as gd, a7 as bd, a8 as xd, a6 as vd, a9 as wd, N as yd, X as Nd, a2 as Cd, a4 as kd, w as Sd, y as Id, D as Fd, J as Ad, aa as Ld, K as Ed, T as _d, x as Od, E as Dd, m as Td, n as zd, Z as Pd, _ as Bd, a3 as Rd, I as $d, $ as Wd, a0 as Md, Y as jd, a1 as Vd } from "./useDataCollectionSource-BDFT840X.js";
5
+ import { C as qr, P as Yr, g as En, c as Zr, a as _n, F as ct, f as Xr, M as Jr, b as Qr, R as Dt, d as On, u as el, e as Dn, S as tl, A as nl, B as al, L as rl, h as ll, V as il, i as sl, j as Tt, k as ol, l as cl, O as dl } from "./useDataCollectionSource-BkSLdJZC.js";
6
+ import { r as nd, s as ad, p as rd, H as ld, t as id, z as sd, a9 as od, G as cd, q as dd, Q as ud, o as fd, Y as md, U as hd, J as pd, af as bd, K as gd, Z as xd, _ as vd, v as wd, ab as yd, ac as Nd, aa as Cd, ad as kd, N as Sd, $ as Id, a6 as Fd, a8 as Ad, w as Ld, y as Ed, D as _d, W as Od, ae as Dd, X as Td, T as zd, x as Pd, E as Bd, m as Rd, n as $d, a1 as Wd, a2 as Md, a7 as jd, I as Vd, a3 as Gd, a4 as Hd, a0 as Ud, a5 as Kd } from "./useDataCollectionSource-BkSLdJZC.js";
7
7
  const ul = da("Search", [
8
8
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
9
9
  ["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
@@ -82,20 +82,20 @@ function pl(t, n, a = []) {
82
82
  minWidth: zt(l)
83
83
  };
84
84
  }
85
- function gl({ breadcrumbs: t, append: n }) {
85
+ function bl({ breadcrumbs: t, append: n }) {
86
86
  const a = G(null), r = G(null), [, l] = Hr(), [i, s] = _(null), c = (i?.collapsedItems || []).length > 0;
87
87
  return Fn(() => {
88
88
  const d = a.current, f = r.current;
89
89
  if (!d || !f || f.children.length < t.length) return;
90
90
  const u = () => {
91
- const h = a.current?.clientWidth ?? null, g = Array.from(f.children);
91
+ const h = a.current?.clientWidth ?? null, b = Array.from(f.children);
92
92
  l(() => {
93
- const b = pl(
93
+ const g = pl(
94
94
  h,
95
95
  t,
96
- g
96
+ b
97
97
  );
98
- s(b);
98
+ s(g);
99
99
  });
100
100
  }, m = new ResizeObserver(u);
101
101
  return m.observe(d), u(), () => m.disconnect();
@@ -172,7 +172,7 @@ function gl({ breadcrumbs: t, append: n }) {
172
172
  `breadcrumb-${t.at(-1)?.id ?? 0}`
173
173
  );
174
174
  }
175
- const bl = ge({
175
+ const gl = be({
176
176
  variants: {
177
177
  size: {
178
178
  sm: "h-[1.375rem] w-[1.375rem]",
@@ -224,12 +224,12 @@ const bl = ge({
224
224
  onDragEnd: u,
225
225
  onDrag: m,
226
226
  className: h,
227
- ...g
227
+ ...b
228
228
  } = l;
229
229
  return /* @__PURE__ */ e(
230
230
  "div",
231
231
  {
232
- className: p(bl({ size: n }), h),
232
+ className: p(gl({ size: n }), h),
233
233
  style: {
234
234
  background: "transparent",
235
235
  perspective: t ? "10px" : void 0,
@@ -255,32 +255,32 @@ const bl = ge({
255
255
  },
256
256
  style: {
257
257
  "--gradient-angle": "0deg",
258
- ...g.style
258
+ ...b.style
259
259
  },
260
- ...(({ style: b, ...v }) => v)(g),
260
+ ...(({ style: g, ...v }) => v)(b),
261
261
  children: [
262
262
  /* @__PURE__ */ o("defs", { children: [
263
263
  /* @__PURE__ */ e("clipPath", { id: `${s}-circle`, children: /* @__PURE__ */ e("circle", { cx: "16", cy: "16", r: "16" }) }),
264
- Pt.map((b) => /* @__PURE__ */ e("clipPath", { id: `${s}-${b.id}`, children: /* @__PURE__ */ e("path", { d: b.path }) }, b.id))
264
+ Pt.map((g) => /* @__PURE__ */ e("clipPath", { id: `${s}-${g.id}`, children: /* @__PURE__ */ e("path", { d: g.path }) }, g.id))
265
265
  ] }),
266
- /* @__PURE__ */ e("g", { clipPath: `url(#${s}-circle)`, children: Pt.map((b) => /* @__PURE__ */ e(
266
+ /* @__PURE__ */ e("g", { clipPath: `url(#${s}-circle)`, children: Pt.map((g) => /* @__PURE__ */ e(
267
267
  X.foreignObject,
268
268
  {
269
269
  x: "0",
270
270
  y: "0",
271
271
  width: "32",
272
272
  height: "32",
273
- clipPath: `url(#${s}-${b.id})`,
273
+ clipPath: `url(#${s}-${g.id})`,
274
274
  animate: {
275
275
  "--rotate3d-angle": ["0deg", "180deg", "180deg", "360deg"],
276
276
  "--scale": r ? 8 : 1,
277
277
  "--rotate": r ? "90deg" : "0deg",
278
- opacity: r ? b.id === "left" ? 1 : 0 : 1,
278
+ opacity: r ? g.id === "left" ? 1 : 0 : 1,
279
279
  filter: t ? ["blur(0px)", "blur(8px)", "blur(0px)"] : void 0
280
280
  },
281
281
  transition: {
282
282
  "--rotate3d-angle": {
283
- delay: t ? b.delay : 0,
283
+ delay: t ? g.delay : 0,
284
284
  duration: 1.8,
285
285
  ease: [0.65, 0, 0.35, 1],
286
286
  times: [0, 0.99, 0.9999, 1]
@@ -298,7 +298,7 @@ const bl = ge({
298
298
  ease: "easeInOut"
299
299
  },
300
300
  filter: {
301
- delay: t ? b.delay : 0,
301
+ delay: t ? g.delay : 0,
302
302
  duration: 1.8,
303
303
  ease: [0.65, 0, 0.35, 1],
304
304
  times: [0, 0.5, 1]
@@ -308,8 +308,8 @@ const bl = ge({
308
308
  "--rotate3d-angle": "0deg",
309
309
  "--scale": 1,
310
310
  "--rotate": "0deg",
311
- transform: t ? `rotate3d(${b.rotateAxis}, var(--rotate3d-angle))` : "scale(var(--scale)) rotate(var(--rotate))",
312
- transformOrigin: b.transformOrigin,
311
+ transform: t ? `rotate3d(${g.rotateAxis}, var(--rotate3d-angle))` : "scale(var(--scale)) rotate(var(--rotate))",
312
+ transformOrigin: g.transformOrigin,
313
313
  willChange: "transform"
314
314
  },
315
315
  children: /* @__PURE__ */ e(
@@ -323,7 +323,7 @@ const bl = ge({
323
323
  }
324
324
  )
325
325
  },
326
- b.id
326
+ g.id
327
327
  )) })
328
328
  ]
329
329
  }
@@ -333,9 +333,9 @@ const bl = ge({
333
333
  }, zn = j(xl), Pn = Nt(null), vl = 15, wl = ({ children: t, enabled: n, onShow: a, ...r }) => {
334
334
  const [l, i] = _(n), [s, c] = _(!1), [d, f] = _(!0), [u, m] = _(
335
335
  vl
336
- ), h = G(null), g = (v) => {
336
+ ), h = G(null), b = (v) => {
337
337
  h.current = v;
338
- }, b = () => {
338
+ }, g = () => {
339
339
  h.current && h.current();
340
340
  };
341
341
  return $(() => {
@@ -360,8 +360,8 @@ const bl = ge({
360
360
  setShouldPlayEntranceAnimation: f,
361
361
  setAutoClearMinutes: m,
362
362
  autoClearMinutes: l ? u : null,
363
- clear: b,
364
- setClearFunction: g
363
+ clear: g,
364
+ setClearFunction: b
365
365
  },
366
366
  children: t
367
367
  }
@@ -388,8 +388,8 @@ const Bn = ({
388
388
  disabled: n
389
389
  }) => {
390
390
  const { enabled: a, setOpen: r, open: l } = qe(), i = ie(), [s, c] = _(!1);
391
- return a ? /* @__PURE__ */ e("div", { className: "flex items-center", children: /* @__PURE__ */ e(pa, { children: /* @__PURE__ */ o(ga, { delayDuration: 850, disableHoverableContent: !0, children: [
392
- /* @__PURE__ */ e(ba, { asChild: !0, children: /* @__PURE__ */ e(
391
+ return a ? /* @__PURE__ */ e("div", { className: "flex items-center", children: /* @__PURE__ */ e(pa, { children: /* @__PURE__ */ o(ba, { delayDuration: 850, disableHoverableContent: !0, children: [
392
+ /* @__PURE__ */ e(ga, { asChild: !0, children: /* @__PURE__ */ e(
393
393
  X.div,
394
394
  {
395
395
  animate: {
@@ -470,9 +470,9 @@ function yl({ children: t }) {
470
470
  }), [d, f] = _(() => {
471
471
  const I = localStorage.getItem(Bt);
472
472
  return I !== null ? !!I : !0;
473
- }), [u, m] = _(!1), [h, g] = _(
473
+ }), [u, m] = _(!1), [h, b] = _(
474
474
  null
475
- ), b = Q(
475
+ ), g = Q(
476
476
  ({ isInvokedByUser: I } = {
477
477
  isInvokedByUser: !0
478
478
  }) => {
@@ -490,7 +490,7 @@ function yl({ children: t }) {
490
490
  }, [n]), $(() => {
491
491
  l && localStorage.setItem(Bt, d ? "1" : "");
492
492
  }, [d, l]), $(() => () => {
493
- g(y);
493
+ b(y);
494
494
  }, [y]), /* @__PURE__ */ e(
495
495
  Rn.Provider,
496
496
  {
@@ -498,7 +498,7 @@ function yl({ children: t }) {
498
498
  isSmallScreen: c,
499
499
  isLastToggleInvokedByUser: l,
500
500
  sidebarState: y,
501
- toggleSidebar: b,
501
+ toggleSidebar: g,
502
502
  prevSidebarState: h,
503
503
  setForceFloat: r
504
504
  },
@@ -586,15 +586,15 @@ const Rt = X.create(M), $t = {
586
586
  hasUnread: f = !1,
587
587
  crossSelling: u
588
588
  }) => {
589
- const [m, h] = _("idle"), [g, b] = _(null), [v, ...y] = g ?? [], [I, z] = _(!1);
589
+ const [m, h] = _("idle"), [b, g] = _(null), [v, ...y] = b ?? [], [I, z] = _(!1);
590
590
  $(() => {
591
- b(null), h("idle");
591
+ g(null), h("idle");
592
592
  }, [t]);
593
593
  const R = Q(async () => {
594
594
  try {
595
595
  h("fetching");
596
596
  const D = await a();
597
- h("idle"), b(D);
597
+ h("idle"), g(D);
598
598
  } catch {
599
599
  h("error");
600
600
  }
@@ -604,7 +604,7 @@ const Rt = X.create(M), $t = {
604
604
  {
605
605
  open: I,
606
606
  onOpenChange: async (D) => {
607
- z(D), D && g === null && R(), s(D);
607
+ z(D), D && b === null && R(), s(D);
608
608
  },
609
609
  children: [
610
610
  /* @__PURE__ */ e(ka, { asChild: !0, children: /* @__PURE__ */ e(
@@ -631,8 +631,8 @@ const Rt = X.create(M), $t = {
631
631
  /* @__PURE__ */ e(Il, { title: n, url: r, onClick: c }),
632
632
  m === "fetching" && /* @__PURE__ */ e(Ll, {}),
633
633
  /* @__PURE__ */ o("div", { className: "scrollbar-macos flex-1 overflow-y-auto", children: [
634
- m === "idle" && g !== null && g.length === 0 && /* @__PURE__ */ e("div", { className: "p-2 pt-0", children: /* @__PURE__ */ e(Fl, { ...l, buttonUrl: r }) }),
635
- m === "idle" && g !== null && g.length > 0 && /* @__PURE__ */ o("div", { className: "px-1", children: [
634
+ m === "idle" && b !== null && b.length === 0 && /* @__PURE__ */ e("div", { className: "p-2 pt-0", children: /* @__PURE__ */ e(Fl, { ...l, buttonUrl: r }) }),
635
+ m === "idle" && b !== null && b.length > 0 && /* @__PURE__ */ o("div", { className: "px-1", children: [
636
636
  /* @__PURE__ */ e(
637
637
  kl,
638
638
  {
@@ -640,7 +640,7 @@ const Rt = X.create(M), $t = {
640
640
  onClick: d
641
641
  }
642
642
  ),
643
- g.length > 1 && /* @__PURE__ */ e(U, { children: /* @__PURE__ */ e("div", { className: "pb-1", children: y.map((D, E) => /* @__PURE__ */ e(
643
+ b.length > 1 && /* @__PURE__ */ e(U, { children: /* @__PURE__ */ e("div", { className: "pb-1", children: y.map((D, E) => /* @__PURE__ */ e(
644
644
  Sl,
645
645
  {
646
646
  ...D,
@@ -952,7 +952,7 @@ function Po({
952
952
  module: t.id
953
953
  },
954
954
  ...a
955
- ], g = n && Object.keys(n).length !== 0, b = l && a.length > 0, v = !l && r.length > 0, y = !l && !!s?.isVisible, I = h[h.length - 1], z = "navigation" in window ? window.navigation : null, R = l && (z ? !!z.canGoBack : window.history.length > 1);
955
+ ], b = n && Object.keys(n).length !== 0, g = l && a.length > 0, v = !l && r.length > 0, y = !l && !!s?.isVisible, I = h[h.length - 1], z = "navigation" in window ? window.navigation : null, R = l && (z ? !!z.canGoBack : window.history.length > 1);
956
956
  return /* @__PURE__ */ o(
957
957
  "div",
958
958
  {
@@ -998,8 +998,8 @@ function Po({
998
998
  onClick: () => window.history.back()
999
999
  }
1000
1000
  ) }),
1001
- R || b ? /* @__PURE__ */ e("div", { className: "text-lg font-semibold text-f1-foreground", children: "loading" in I ? /* @__PURE__ */ e(O, { className: "h-4 w-24" }) : I.label }) : /* @__PURE__ */ e(
1002
- gl,
1001
+ R || g ? /* @__PURE__ */ e("div", { className: "text-lg font-semibold text-f1-foreground", children: "loading" in I ? /* @__PURE__ */ e(O, { className: "h-4 w-24" }) : I.label }) : /* @__PURE__ */ e(
1002
+ bl,
1003
1003
  {
1004
1004
  breadcrumbs: h,
1005
1005
  append: c !== void 0 && /* @__PURE__ */ e(
@@ -1018,7 +1018,7 @@ function Po({
1018
1018
  )
1019
1019
  ] }),
1020
1020
  /* @__PURE__ */ o("div", { className: "flex items-center gap-3", children: [
1021
- !l && g && /* @__PURE__ */ e("div", { children: n.tooltip ? /* @__PURE__ */ e(be, { label: n.tooltip, children: /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
1021
+ !l && b && /* @__PURE__ */ e("div", { children: n.tooltip ? /* @__PURE__ */ e(ge, { label: n.tooltip, children: /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
1022
1022
  $e,
1023
1023
  {
1024
1024
  text: n.text,
@@ -1026,7 +1026,7 @@ function Po({
1026
1026
  additionalAccessibleText: n.tooltip
1027
1027
  }
1028
1028
  ) }) }) : /* @__PURE__ */ e($e, { text: n.text, variant: n.variant }) }),
1029
- !l && g && (i || v || y) && /* @__PURE__ */ e("div", { className: "h-4 w-px bg-f1-border-secondary" }),
1029
+ !l && b && (i || v || y) && /* @__PURE__ */ e("div", { className: "h-4 w-px bg-f1-border-secondary" }),
1030
1030
  i && /* @__PURE__ */ o("div", { className: "flex items-center gap-3", children: [
1031
1031
  i.counter && /* @__PURE__ */ o("span", { className: "text-sm text-f1-foreground-secondary", children: [
1032
1032
  i.counter.current,
@@ -1046,7 +1046,7 @@ function Po({
1046
1046
  /* @__PURE__ */ e(
1047
1047
  Wt,
1048
1048
  {
1049
- icon: gt,
1049
+ icon: bt,
1050
1050
  label: i.next?.title || "Next",
1051
1051
  href: i.next?.url || "",
1052
1052
  disabled: !i.next
@@ -1361,7 +1361,7 @@ const Ol = () => {
1361
1361
  K("AiPromotionChat", Bl)
1362
1362
  ), $l = ne(
1363
1363
  K("AiPromotionChatProvider", Pl)
1364
- ), Wn = ge({
1364
+ ), Wn = be({
1365
1365
  base: "flex w-full flex-col rounded-lg p-[1px]",
1366
1366
  variants: {
1367
1367
  variant: {
@@ -1728,7 +1728,7 @@ const Ul = ({
1728
1728
  disabled: f = !1,
1729
1729
  hiddenAvatar: u = !1
1730
1730
  }) => {
1731
- const m = t.name.split(" "), h = m[0] || "", g = m.slice(1).join(" "), b = (y) => {
1731
+ const m = t.name.split(" "), h = m[0] || "", b = m.slice(1).join(" "), g = (y) => {
1732
1732
  y.preventDefault(), y.stopPropagation(), !f && (n ? r(t) : a(t));
1733
1733
  }, v = (y) => {
1734
1734
  if (y.key === "Enter" || y.key === " ") {
@@ -1752,7 +1752,7 @@ const Ul = ({
1752
1752
  {
1753
1753
  src: t.avatar,
1754
1754
  firstName: h,
1755
- lastName: g,
1755
+ lastName: b,
1756
1756
  size: "xs",
1757
1757
  deactivated: t.deactivated
1758
1758
  }
@@ -1780,7 +1780,7 @@ const Ul = ({
1780
1780
  "data-avatarname-navigator-element": "true",
1781
1781
  checked: n,
1782
1782
  disabled: f,
1783
- onClick: b,
1783
+ onClick: g,
1784
1784
  onKeyDown: v,
1785
1785
  className: p(
1786
1786
  "pointer-events-none ml-auto",
@@ -1813,8 +1813,8 @@ const Ul = ({
1813
1813
  goToLast: u,
1814
1814
  isChild: m = !1,
1815
1815
  hideLine: h = !1,
1816
- showGroupIcon: g = !1,
1817
- singleSelector: b = !1,
1816
+ showGroupIcon: b = !1,
1817
+ singleSelector: g = !1,
1818
1818
  disabled: v = !1,
1819
1819
  hiddenAvatar: y = !1
1820
1820
  }) => {
@@ -1829,7 +1829,7 @@ const Ul = ({
1829
1829
  selected: l,
1830
1830
  onSelect: s,
1831
1831
  onRemove: c,
1832
- singleSelector: b,
1832
+ singleSelector: g,
1833
1833
  goToFirst: f,
1834
1834
  goToLast: u,
1835
1835
  disabled: v,
@@ -1839,7 +1839,7 @@ const Ul = ({
1839
1839
  const R = (L) => {
1840
1840
  if (L.key === " ")
1841
1841
  L.preventDefault(), d(!n);
1842
- else if (L.key === "Enter" && b)
1842
+ else if (L.key === "Enter" && g)
1843
1843
  d(!n);
1844
1844
  else if (L.key === "Enter") {
1845
1845
  if (v) return;
@@ -1849,7 +1849,7 @@ const Ul = ({
1849
1849
  if (I)
1850
1850
  d(!n), z(!1);
1851
1851
  else {
1852
- if (v || b) return;
1852
+ if (v || g) return;
1853
1853
  l ? c(r) : s(r);
1854
1854
  }
1855
1855
  };
@@ -1878,7 +1878,7 @@ const Ul = ({
1878
1878
  },
1879
1879
  className: "flex flex-1 flex-row items-center gap-2 rounded border px-2 py-1.5 focus-within:outline focus-within:outline-1 focus-within:-outline-offset-1 focus-within:outline-f1-border-selected-bold hover:cursor-pointer hover:bg-f1-background-hover",
1880
1880
  children: [
1881
- g && /* @__PURE__ */ e(
1881
+ b && /* @__PURE__ */ e(
1882
1882
  M,
1883
1883
  {
1884
1884
  icon: Va,
@@ -1909,7 +1909,7 @@ const Ul = ({
1909
1909
  L.stopPropagation(), z(!1);
1910
1910
  },
1911
1911
  "data-avatarname-navigator-element": "true",
1912
- className: p("ml-auto", b ? "opacity-0" : "")
1912
+ className: p("ml-auto", g ? "opacity-0" : "")
1913
1913
  }
1914
1914
  )
1915
1915
  ]
@@ -1998,7 +1998,7 @@ const Vt = ({
1998
1998
  }) => {
1999
1999
  const u = !c && (n || a), m = t && t.length > 0;
2000
2000
  if (!(!s && (!c && u || m))) return null;
2001
- let g, b, v = d ? {
2001
+ let b, g, v = d ? {
2002
2002
  label: n || "",
2003
2003
  onClick: d,
2004
2004
  variant: "outline",
@@ -2009,27 +2009,27 @@ const Vt = ({
2009
2009
  variant: "ghost",
2010
2010
  disabled: r || !i
2011
2011
  } : void 0;
2012
- return v || (v = y, y = void 0), m && u ? (g = /* @__PURE__ */ e(
2012
+ return v || (v = y, y = void 0), m && u ? (b = /* @__PURE__ */ e(
2013
2013
  Le,
2014
2014
  {
2015
2015
  primaryAction: v,
2016
2016
  secondaryActions: y ? [y] : []
2017
2017
  }
2018
- ), b = /* @__PURE__ */ e(
2018
+ ), g = /* @__PURE__ */ e(
2019
2019
  Le,
2020
2020
  {
2021
2021
  primaryAction: t[0],
2022
2022
  secondaryActions: t.slice(1)
2023
2023
  }
2024
- )) : m ? g = /* @__PURE__ */ e(
2024
+ )) : m ? b = /* @__PURE__ */ e(
2025
2025
  Le,
2026
2026
  {
2027
2027
  primaryAction: t[0],
2028
2028
  secondaryActions: t.slice(1)
2029
2029
  }
2030
- ) : u && (g = /* @__PURE__ */ e(Le, { primaryAction: v, secondaryActions: [] }), y && (b = /* @__PURE__ */ e(Le, { primaryAction: y, secondaryActions: [] }))), /* @__PURE__ */ e("footer", { className: "rounded-bl-xl border-0 border-r-[1px] border-t-[1px] border-solid border-f1-border-secondary bg-f1-background/30 backdrop-blur-2xl", children: /* @__PURE__ */ o("div", { className: "flex flex-1 justify-between p-2", children: [
2031
- g,
2032
- b
2030
+ ) : u && (b = /* @__PURE__ */ e(Le, { primaryAction: v, secondaryActions: [] }), y && (g = /* @__PURE__ */ e(Le, { primaryAction: y, secondaryActions: [] }))), /* @__PURE__ */ e("footer", { className: "rounded-bl-xl border-0 border-r-[1px] border-t-[1px] border-solid border-f1-border-secondary bg-f1-background/30 backdrop-blur-2xl", children: /* @__PURE__ */ o("div", { className: "flex flex-1 justify-between p-2", children: [
2031
+ b,
2032
+ g
2033
2033
  ] }) });
2034
2034
  }, ql = ({
2035
2035
  search: t,
@@ -2077,8 +2077,8 @@ const Vt = ({
2077
2077
  onSelectAll: u,
2078
2078
  onSearch: m,
2079
2079
  selectedEntities: h = [],
2080
- onGroupChange: g,
2081
- onToggleExpand: b,
2080
+ onGroupChange: b,
2081
+ onToggleExpand: g,
2082
2082
  searchPlaceholder: v,
2083
2083
  selectAllLabel: y,
2084
2084
  clearLabel: I,
@@ -2152,7 +2152,7 @@ const Vt = ({
2152
2152
  Pe,
2153
2153
  {
2154
2154
  expanded: J.expanded ?? !1,
2155
- onExpand: () => b(J, !0),
2155
+ onExpand: () => g(J, !0),
2156
2156
  search: l,
2157
2157
  groupView: t,
2158
2158
  entity: J,
@@ -2183,7 +2183,7 @@ const Vt = ({
2183
2183
  C,
2184
2184
  s,
2185
2185
  i,
2186
- b,
2186
+ g,
2187
2187
  l,
2188
2188
  r,
2189
2189
  T
@@ -2257,7 +2257,7 @@ const Vt = ({
2257
2257
  {
2258
2258
  groupView: !0,
2259
2259
  expanded: te.expanded ?? !1,
2260
- onExpand: (Ae) => b(te, Ae),
2260
+ onExpand: (Ae) => g(te, Ae),
2261
2261
  search: l,
2262
2262
  entity: te,
2263
2263
  onSelect: i,
@@ -2324,7 +2324,7 @@ const Vt = ({
2324
2324
  s,
2325
2325
  a,
2326
2326
  k,
2327
- b,
2327
+ g,
2328
2328
  r,
2329
2329
  d,
2330
2330
  c,
@@ -2390,7 +2390,7 @@ const Vt = ({
2390
2390
  label: "Group",
2391
2391
  hideLabel: !0,
2392
2392
  disabled: w,
2393
- onChange: g,
2393
+ onChange: b,
2394
2394
  options: a,
2395
2395
  value: r,
2396
2396
  className: p(
@@ -2581,7 +2581,7 @@ const Vt = ({
2581
2581
  onCreateLabel: m,
2582
2582
  ...h
2583
2583
  }) => {
2584
- const g = (i ?? Kt) < ei, b = !c && !s && !g, v = i ?? Kt, y = b ? v - qt : v;
2584
+ const b = (i ?? Kt) < ei, g = !c && !s && !b, v = i ?? Kt, y = g ? v - qt : v;
2585
2585
  return /* @__PURE__ */ o(
2586
2586
  "div",
2587
2587
  {
@@ -2615,7 +2615,7 @@ const Vt = ({
2615
2615
  )
2616
2616
  }
2617
2617
  ),
2618
- b && /* @__PURE__ */ e(
2618
+ g && /* @__PURE__ */ e(
2619
2619
  "div",
2620
2620
  {
2621
2621
  className: "min-h-0",
@@ -2653,8 +2653,8 @@ const Vt = ({
2653
2653
  hint: u,
2654
2654
  onClickContent: m,
2655
2655
  hideLabel: h = !1,
2656
- maxLength: g,
2657
- loading: b = !1,
2656
+ maxLength: b,
2657
+ loading: g = !1,
2658
2658
  required: v = !1,
2659
2659
  readonly: y = !1,
2660
2660
  append: I,
@@ -2694,11 +2694,11 @@ const Vt = ({
2694
2694
  status: f,
2695
2695
  hint: u,
2696
2696
  hideLabel: h,
2697
- maxLength: g,
2697
+ maxLength: b,
2698
2698
  clearable: !1,
2699
2699
  value: L,
2700
2700
  disabled: r,
2701
- loading: b,
2701
+ loading: g,
2702
2702
  required: v,
2703
2703
  readonly: y,
2704
2704
  size: z,
@@ -2746,8 +2746,8 @@ const Vt = ({
2746
2746
  (w) => w.subItems && w.subItems.length > 0
2747
2747
  ),
2748
2748
  [t.entities]
2749
- ), m = Ke(Qa), g = m.portalContainer && (m.position === "center" || m.position === "fullscreen") ? m.portalContainer : void 0;
2750
- function b(w) {
2749
+ ), m = Ke(Qa), b = m.portalContainer && (m.position === "center" || m.position === "fullscreen") ? m.portalContainer : void 0;
2750
+ function g(w) {
2751
2751
  if (t.singleSelector) {
2752
2752
  t.onSelect(w), a(!1);
2753
2753
  return;
@@ -2988,7 +2988,7 @@ const Vt = ({
2988
2988
  groups: t.groups,
2989
2989
  onGroupChange: t.onGroupChange,
2990
2990
  selectedGroup: t.selectedGroup,
2991
- onSelect: b,
2991
+ onSelect: g,
2992
2992
  onRemove: y,
2993
2993
  onSubItemRemove: I,
2994
2994
  onSubItemSelect: v,
@@ -3051,7 +3051,7 @@ const Vt = ({
3051
3051
  /* @__PURE__ */ e(
3052
3052
  nr,
3053
3053
  {
3054
- container: g,
3054
+ container: b,
3055
3055
  className: p(
3056
3056
  "scrollbar-macos relative w-full overflow-hidden overscroll-contain rounded-xl border-[1px] border-solid border-f1-border-secondary bg-transparent p-0"
3057
3057
  ),
@@ -3063,7 +3063,7 @@ const Vt = ({
3063
3063
  groups: t.groups,
3064
3064
  onGroupChange: t.onGroupChange,
3065
3065
  selectedGroup: t.selectedGroup,
3066
- onSelect: b,
3066
+ onSelect: g,
3067
3067
  onRemove: y,
3068
3068
  onSubItemRemove: I,
3069
3069
  onSubItemSelect: v,
@@ -3151,7 +3151,7 @@ const ai = ({
3151
3151
  c(t);
3152
3152
  },
3153
3153
  children: [
3154
- /* @__PURE__ */ e(it, { icon: l ?? gn }),
3154
+ /* @__PURE__ */ e(it, { icon: l ?? bn }),
3155
3155
  /* @__PURE__ */ o("div", { className: "flex-1", children: [
3156
3156
  /* @__PURE__ */ e(
3157
3157
  "p",
@@ -3379,7 +3379,7 @@ function pi(t) {
3379
3379
  }, []);
3380
3380
  return { canvasRef: n, handleMouseEnter: r, handleMouseLeave: l };
3381
3381
  }
3382
- const gi = ({
3382
+ const bi = ({
3383
3383
  link: t,
3384
3384
  firstName: n,
3385
3385
  lastName: a,
@@ -3392,13 +3392,13 @@ const gi = ({
3392
3392
  typeLabel: f,
3393
3393
  date: u
3394
3394
  }) => {
3395
- const [m, h] = _(s), g = G(null);
3395
+ const [m, h] = _(s), b = G(null);
3396
3396
  $(() => {
3397
3397
  h(s);
3398
3398
  }, [s]);
3399
- const b = (D) => {
3399
+ const g = (D) => {
3400
3400
  h(D), c?.(D);
3401
- }, v = Ue(), { canvasRef: y, handleMouseEnter: I, handleMouseLeave: z } = pi(v), R = bt({
3401
+ }, v = Ue(), { canvasRef: y, handleMouseEnter: I, handleMouseLeave: z } = pi(v), R = gt({
3402
3402
  emoji: fi[d],
3403
3403
  size: "sm"
3404
3404
  });
@@ -3429,8 +3429,8 @@ const gi = ({
3429
3429
  src: r,
3430
3430
  canReact: i,
3431
3431
  lastEmojiReaction: m,
3432
- onReactionSelect: b,
3433
- pickerRef: g
3432
+ onReactionSelect: g,
3433
+ pickerRef: b
3434
3434
  }
3435
3435
  ) }),
3436
3436
  /* @__PURE__ */ o("div", { className: "flex basis-1/3 flex-row justify-between gap-2 p-3", children: [
@@ -3450,7 +3450,7 @@ const gi = ({
3450
3450
  ]
3451
3451
  }
3452
3452
  );
3453
- }, bi = () => /* @__PURE__ */ o(
3453
+ }, gi = () => /* @__PURE__ */ o(
3454
3454
  "div",
3455
3455
  {
3456
3456
  className: "bg-f1-background-inverse-secondar flex flex-col rounded-xl border border-solid border-f1-border-secondary",
@@ -3465,14 +3465,14 @@ const gi = ({
3465
3465
  ] }) }) })
3466
3466
  ]
3467
3467
  }
3468
- ), Mo = ee(gi, bi), jo = ({
3468
+ ), Mo = ee(bi, gi), jo = ({
3469
3469
  title: t,
3470
3470
  subtitle: n,
3471
3471
  buttonLabel: a,
3472
3472
  onClick: r
3473
3473
  }) => /* @__PURE__ */ o("div", { className: "flex w-full flex-col items-start justify-between gap-4 rounded-md bg-gradient-to-r from-[#F5A51C]/30 via-[#E51943]/30 to-[#5596F6]/30 px-3 py-3 ring-1 ring-inset ring-f1-border-secondary sm:flex-row sm:items-center sm:px-4", children: [
3474
3474
  /* @__PURE__ */ o("div", { className: "flex flex-col items-start gap-3 sm:flex-row sm:items-center", children: [
3475
- /* @__PURE__ */ e(bn, { module: "kudos", size: "lg" }),
3475
+ /* @__PURE__ */ e(gn, { module: "kudos", size: "lg" }),
3476
3476
  /* @__PURE__ */ o("div", { className: "flex flex-col", children: [
3477
3477
  /* @__PURE__ */ e("span", { className: "font-medium text-f1-foreground", children: t }),
3478
3478
  /* @__PURE__ */ e("span", { className: "text-f1-foreground-secondary", children: n })
@@ -3487,24 +3487,24 @@ function xi({
3487
3487
  users: r,
3488
3488
  onInteraction: l
3489
3489
  }) {
3490
- const [i, s] = _(a), [c, d] = _(n), f = G(null), { fireEmojiConfetti: u } = sr(), m = (b, v) => {
3491
- b.stopPropagation(), d(c + (i ? -1 : 1)), s(!i), l?.(v), i || u(v, f);
3492
- }, h = r?.map((b) => b.name).join(", ") || "", g = /* @__PURE__ */ e(
3490
+ const [i, s] = _(a), [c, d] = _(n), f = G(null), { fireEmojiConfetti: u } = sr(), m = (g, v) => {
3491
+ g.stopPropagation(), d(c + (i ? -1 : 1)), s(!i), l?.(v), i || u(v, f);
3492
+ }, h = r?.map((g) => g.name).join(", ") || "", b = /* @__PURE__ */ e(
3493
3493
  xn,
3494
3494
  {
3495
3495
  ref: f,
3496
3496
  variant: "outline",
3497
3497
  size: "md",
3498
3498
  compact: !0,
3499
- onClick: (b) => {
3500
- m(b, t);
3499
+ onClick: (g) => {
3500
+ m(g, t);
3501
3501
  },
3502
3502
  className: p(
3503
3503
  "flex items-center gap-1 px-[3px] font-medium leading-tight shadow-none transition-all active:scale-90 motion-reduce:transition-none motion-reduce:active:scale-100",
3504
3504
  i && "border-f1-border-selected bg-f1-background-selected hover:border-f1-border-selected-bold"
3505
3505
  ),
3506
3506
  "aria-label": or(t),
3507
- prepend: /* @__PURE__ */ e(bt, { emoji: t, size: "md" }),
3507
+ prepend: /* @__PURE__ */ e(gt, { emoji: t, size: "md" }),
3508
3508
  children: /* @__PURE__ */ e(
3509
3509
  cr,
3510
3510
  {
@@ -3521,7 +3521,7 @@ function xi({
3521
3521
  )
3522
3522
  }
3523
3523
  );
3524
- return h ? /* @__PURE__ */ e(be, { label: h, children: g }) : g;
3524
+ return h ? /* @__PURE__ */ e(ge, { label: h, children: b }) : b;
3525
3525
  }
3526
3526
  function vi({ items: t, onInteraction: n, locale: a, action: r }) {
3527
3527
  return /* @__PURE__ */ o("div", { className: "flex flex-wrap gap-2", children: [
@@ -3590,7 +3590,7 @@ const yi = () => /* @__PURE__ */ o("div", { className: "flex flex-col justify-ar
3590
3590
  }
3591
3591
  ) });
3592
3592
  return a.label || a.description ? /* @__PURE__ */ e(
3593
- be,
3593
+ ge,
3594
3594
  {
3595
3595
  label: a.label,
3596
3596
  description: a.description,
@@ -3794,8 +3794,8 @@ const yi = () => /* @__PURE__ */ o("div", { className: "flex flex-col justify-ar
3794
3794
  reactions: u,
3795
3795
  inLabel: m,
3796
3796
  comment: h,
3797
- actions: g,
3798
- dropdownItems: b,
3797
+ actions: b,
3798
+ dropdownItems: g,
3799
3799
  noReactionsButton: v = !1,
3800
3800
  descriptionExpandable: y = !1
3801
3801
  }) => {
@@ -3905,7 +3905,7 @@ const yi = () => /* @__PURE__ */ o("div", { className: "flex flex-col justify-ar
3905
3905
  ] }),
3906
3906
  /* @__PURE__ */ o("div", { className: "flex flex-row gap-2", children: [
3907
3907
  /* @__PURE__ */ o("div", { className: "hidden flex-row gap-2 md:flex", children: [
3908
- g?.map((S) => /* @__PURE__ */ e(
3908
+ b?.map((S) => /* @__PURE__ */ e(
3909
3909
  W,
3910
3910
  {
3911
3911
  hideLabel: !S.label,
@@ -3918,10 +3918,10 @@ const yi = () => /* @__PURE__ */ o("div", { className: "flex flex-col justify-ar
3918
3918
  },
3919
3919
  S.label
3920
3920
  )),
3921
- b?.length && /* @__PURE__ */ e(
3921
+ g?.length && /* @__PURE__ */ e(
3922
3922
  Ce,
3923
3923
  {
3924
- items: b,
3924
+ items: g,
3925
3925
  icon: st,
3926
3926
  size: "sm"
3927
3927
  }
@@ -3935,7 +3935,7 @@ const yi = () => /* @__PURE__ */ o("div", { className: "flex flex-col justify-ar
3935
3935
  label: h.label,
3936
3936
  onClick: h.onClick
3937
3937
  },
3938
- ...b ?? []
3938
+ ...g ?? []
3939
3939
  ],
3940
3940
  icon: st,
3941
3941
  size: "sm"
@@ -4067,7 +4067,7 @@ const yi = () => /* @__PURE__ */ o("div", { className: "flex flex-col justify-ar
4067
4067
  /* @__PURE__ */ o("div", { className: "flex flex-1 flex-col", children: [
4068
4068
  /* @__PURE__ */ o("div", { className: "flex flex-1 flex-row items-center gap-1", children: [
4069
4069
  /* @__PURE__ */ e("span", { className: "truncate font-medium", children: `${t.firstName} ${t.lastName}` }),
4070
- a.info && /* @__PURE__ */ e(be, { label: a.info, children: /* @__PURE__ */ e(
4070
+ a.info && /* @__PURE__ */ e(ge, { label: a.info, children: /* @__PURE__ */ e(
4071
4071
  M,
4072
4072
  {
4073
4073
  icon: mn,
@@ -4200,11 +4200,11 @@ function zi({
4200
4200
  open: u,
4201
4201
  visualizationMode: m,
4202
4202
  canvasContent: h,
4203
- canvasEntities: g,
4204
- closeCanvas: b,
4203
+ canvasEntities: b,
4204
+ closeCanvas: g,
4205
4205
  chatWidth: v,
4206
4206
  resizable: y
4207
- } = pr(), I = m === "fullscreen", z = m === "canvas", { open: R } = qe(), D = y ? v : gr, E = G(I), L = I && !E.current, H = !I && E.current, [
4207
+ } = pr(), I = m === "fullscreen", z = m === "canvas", { open: R } = qe(), D = y ? v : br, E = G(I), L = I && !E.current, H = !I && E.current, [
4208
4208
  T,
4209
4209
  w
4210
4210
  ] = _(!1);
@@ -4309,11 +4309,11 @@ function zi({
4309
4309
  ),
4310
4310
  style: B ? void 0 : { right: D },
4311
4311
  children: /* @__PURE__ */ e(
4312
- br,
4312
+ gr,
4313
4313
  {
4314
4314
  content: h,
4315
- onClose: b,
4316
- entities: g
4315
+ onClose: g,
4316
+ entities: b
4317
4317
  }
4318
4318
  )
4319
4319
  }
@@ -4355,7 +4355,7 @@ function zi({
4355
4355
  }
4356
4356
  );
4357
4357
  }
4358
- const Pi = ge({
4358
+ const Pi = be({
4359
4359
  base: "pointer-events-none absolute inset-0 h-screen max-h-[1000px] opacity-[0.08]",
4360
4360
  variants: {
4361
4361
  period: {
@@ -4620,7 +4620,7 @@ const Wi = ({
4620
4620
  animate: { rotate: s ? 180 : 0 },
4621
4621
  transition: { duration: 0.2 },
4622
4622
  className: "flex h-3 w-3 shrink-0 items-center justify-center text-f1-icon-bold",
4623
- children: /* @__PURE__ */ e(M, { icon: gt, size: "xs" })
4623
+ children: /* @__PURE__ */ e(M, { icon: bt, size: "xs" })
4624
4624
  }
4625
4625
  ) }) })
4626
4626
  ]
@@ -4684,11 +4684,11 @@ function Yo({
4684
4684
  ]
4685
4685
  }
4686
4686
  ) }) }),
4687
- a && /* @__PURE__ */ e(be, { label: c.notifications, shortcut: r, children: /* @__PURE__ */ o("div", { className: "relative", children: [
4687
+ a && /* @__PURE__ */ e(ge, { label: c.notifications, shortcut: r, children: /* @__PURE__ */ o("div", { className: "relative", children: [
4688
4688
  /* @__PURE__ */ e(
4689
4689
  W,
4690
4690
  {
4691
- icon: gn,
4691
+ icon: bn,
4692
4692
  label: c.notifications,
4693
4693
  onClick: l,
4694
4694
  variant: "ghost",
@@ -4866,7 +4866,7 @@ const Hi = ({
4866
4866
  onReorderFinish: c,
4867
4867
  isSortable: d = !0
4868
4868
  }) => {
4869
- const f = ie(), { isDragging: u, setIsDragging: m, draggedItemId: h, setDraggedItemId: g } = It(), { isActive: b } = pt(), v = b(t.href, { exact: t.exactMatch }), y = G(!1), [I, z] = _(!1), R = l === 0, D = l === i - 1, E = i === 1, L = q(() => {
4869
+ const f = ie(), { isDragging: u, setIsDragging: m, draggedItemId: h, setDraggedItemId: b } = It(), { isActive: g } = pt(), v = g(t.href, { exact: t.exactMatch }), y = G(!1), [I, z] = _(!1), R = l === 0, D = l === i - 1, E = i === 1, L = q(() => {
4870
4870
  const F = [];
4871
4871
  return !E && !R && F.push({
4872
4872
  label: f.actions.moveUp,
@@ -4883,9 +4883,9 @@ const Hi = ({
4883
4883
  critical: !0
4884
4884
  }), F;
4885
4885
  }, [E, R, D, f, s, l, r, t]), H = () => {
4886
- m(!0), z(!1), g(t.href || null), y.current = !0;
4886
+ m(!0), z(!1), b(t.href || null), y.current = !0;
4887
4887
  }, T = () => {
4888
- m(!1), g(null), c(), setTimeout(() => {
4888
+ m(!1), b(null), c(), setTimeout(() => {
4889
4889
  y.current = !1;
4890
4890
  }, 0);
4891
4891
  }, w = u && h === t.href, k = q(
@@ -5011,7 +5011,7 @@ const Hi = ({
5011
5011
  children: /* @__PURE__ */ e(
5012
5012
  M,
5013
5013
  {
5014
- icon: gt,
5014
+ icon: bt,
5015
5015
  size: "xs",
5016
5016
  className: "text-f1-icon-secondary"
5017
5017
  }
@@ -5052,9 +5052,9 @@ const Hi = ({
5052
5052
  c(!1), setTimeout(() => {
5053
5053
  d.current = !1, i && l?.(i);
5054
5054
  }, 0);
5055
- }, h = (b) => {
5056
- !s && !d.current && r?.(t, b);
5057
- }, g = /* @__PURE__ */ e(
5055
+ }, h = (g) => {
5056
+ !s && !d.current && r?.(t, g);
5057
+ }, b = /* @__PURE__ */ e(
5058
5058
  Qn,
5059
5059
  {
5060
5060
  title: t.title,
@@ -5070,7 +5070,7 @@ const Hi = ({
5070
5070
  "flex flex-col gap-0.5",
5071
5071
  s && !d.current && "pointer-events-none"
5072
5072
  ),
5073
- children: t.items.map((b, v) => /* @__PURE__ */ e(Ui, { item: b }, v))
5073
+ children: t.items.map((g, v) => /* @__PURE__ */ e(Ui, { item: g }, v))
5074
5074
  }
5075
5075
  )
5076
5076
  }
@@ -5110,9 +5110,9 @@ const Hi = ({
5110
5110
  backdropFilter: "blur(4px)"
5111
5111
  },
5112
5112
  className: "relative",
5113
- children: g
5113
+ children: b
5114
5114
  }
5115
- ) : g;
5115
+ ) : b;
5116
5116
  };
5117
5117
  function Xo({
5118
5118
  tree: t,
@@ -5122,21 +5122,21 @@ function Xo({
5122
5122
  favorites: l
5123
5123
  }) {
5124
5124
  const i = G(null), s = t.filter(
5125
- (b) => b.isSortable === !1
5125
+ (g) => g.isSortable === !1
5126
5126
  ), [c, d] = _(
5127
- t.filter((b) => b.isSortable !== !1)
5128
- ), [f, u] = _(0), m = Q((b) => {
5129
- d(b);
5127
+ t.filter((g) => g.isSortable !== !1)
5128
+ ), [f, u] = _(0), m = Q((g) => {
5129
+ d(g);
5130
5130
  }, []), h = Q(
5131
- (b) => {
5132
- a?.(b);
5131
+ (g) => {
5132
+ a?.(g);
5133
5133
  },
5134
5134
  [a]
5135
- ), g = Vi();
5135
+ ), b = Vi();
5136
5136
  return /* @__PURE__ */ e(Gi, { children: /* @__PURE__ */ e(vn, { id: "sidebar-menu", children: /* @__PURE__ */ e(
5137
5137
  qi,
5138
5138
  {
5139
- disableDragging: g,
5139
+ disableDragging: b,
5140
5140
  nonSortableItems: s,
5141
5141
  sortableItems: c,
5142
5142
  setSortableItems: m,
@@ -5145,7 +5145,7 @@ function Xo({
5145
5145
  onDragEnd: h,
5146
5146
  favorites: l,
5147
5147
  onFavoritesChange: r,
5148
- forceUpdate: () => u((b) => b + 1)
5148
+ forceUpdate: () => u((g) => g + 1)
5149
5149
  },
5150
5150
  f
5151
5151
  ) }) });
@@ -5162,7 +5162,7 @@ function qi({
5162
5162
  forceUpdate: d,
5163
5163
  disableDragging: f = !1
5164
5164
  }) {
5165
- const u = ie(), { isDragging: m } = It(), h = t.some((x) => x.isRoot), g = t.filter((x) => !x.isRoot).length > 0, b = n.length > 0, v = G(null), [y, I] = _(s), z = s.length > 0;
5165
+ const u = ie(), { isDragging: m } = It(), h = t.some((x) => x.isRoot), b = t.filter((x) => !x.isRoot).length > 0, g = n.length > 0, v = G(null), [y, I] = _(s), z = s.length > 0;
5166
5166
  $(() => {
5167
5167
  JSON.stringify(s) !== JSON.stringify(y) && I(s);
5168
5168
  }, [s]);
@@ -5265,7 +5265,7 @@ function qi({
5265
5265
  children: C
5266
5266
  }
5267
5267
  ) }) }) }),
5268
- g && /* @__PURE__ */ e("div", { className: "mt-3 flex w-full flex-col gap-3 bg-transparent px-3", children: t.filter((x) => !x.isRoot).map((x, N) => /* @__PURE__ */ e(
5268
+ b && /* @__PURE__ */ e("div", { className: "mt-3 flex w-full flex-col gap-3 bg-transparent px-3", children: t.filter((x) => !x.isRoot).map((x, N) => /* @__PURE__ */ e(
5269
5269
  nt,
5270
5270
  {
5271
5271
  category: x,
@@ -5273,7 +5273,7 @@ function qi({
5273
5273
  },
5274
5274
  `fixed-${N}`
5275
5275
  )) }),
5276
- b && /* @__PURE__ */ e(
5276
+ g && /* @__PURE__ */ e(
5277
5277
  "div",
5278
5278
  {
5279
5279
  className: p(
@@ -5300,7 +5300,7 @@ function qi({
5300
5300
  const Yi = ({
5301
5301
  tooltip: t,
5302
5302
  children: n
5303
- }) => t ? /* @__PURE__ */ e(be, { description: t, children: n }) : n;
5303
+ }) => t ? /* @__PURE__ */ e(ge, { description: t, children: n }) : n;
5304
5304
  function Jo({
5305
5305
  onClick: t,
5306
5306
  placeholder: n,
@@ -5362,7 +5362,7 @@ function Zi({
5362
5362
  top: { duration: s ? 0 : 0.1 },
5363
5363
  left: { duration: s ? 0 : 0.1 },
5364
5364
  default: { duration: s ? 0 : 0.2 }
5365
- }, g = () => a ? Kr(a) && r ? An(
5365
+ }, b = () => a ? Kr(a) && r ? An(
5366
5366
  a,
5367
5367
  {
5368
5368
  onDropdownClick: r
@@ -5418,7 +5418,7 @@ function Zi({
5418
5418
  !u && /* @__PURE__ */ e(Qt, { position: "bottom" }, "shadow-scroll-bottom")
5419
5419
  ] })
5420
5420
  ] }),
5421
- /* @__PURE__ */ e("footer", { className: "flex-shrink-0", children: g() })
5421
+ /* @__PURE__ */ e("footer", { className: "flex-shrink-0", children: b() })
5422
5422
  ]
5423
5423
  }
5424
5424
  );
@@ -5542,7 +5542,7 @@ const ts = ({
5542
5542
  md: "gap-2",
5543
5543
  lg: "gap-3",
5544
5544
  xl: "gap-4"
5545
- }, as = ge({
5545
+ }, as = be({
5546
5546
  base: "grid grid-cols-1",
5547
5547
  variants: {
5548
5548
  tileSize: {
@@ -5574,7 +5574,7 @@ const ts = ({
5574
5574
  children: r
5575
5575
  }
5576
5576
  ) });
5577
- }), ls = ge({
5577
+ }), ls = be({
5578
5578
  base: "flex",
5579
5579
  variants: {
5580
5580
  overflow: {
@@ -5664,8 +5664,8 @@ const ts = ({
5664
5664
  justifyContent: u,
5665
5665
  alignItems: m,
5666
5666
  height: h,
5667
- width: g,
5668
- ...b
5667
+ width: b,
5668
+ ...g
5669
5669
  }, v) {
5670
5670
  return /* @__PURE__ */ e(
5671
5671
  "div",
@@ -5683,15 +5683,15 @@ const ts = ({
5683
5683
  justifyContent: u,
5684
5684
  alignItems: m,
5685
5685
  height: h,
5686
- width: g
5686
+ width: b
5687
5687
  }),
5688
5688
  n
5689
5689
  ),
5690
5690
  ref: v,
5691
- ...b
5691
+ ...g
5692
5692
  }
5693
5693
  );
5694
- }), is = ge({
5694
+ }), is = be({
5695
5695
  base: "flex-row",
5696
5696
  variants: {
5697
5697
  gap: {
@@ -5713,7 +5713,7 @@ const ts = ({
5713
5713
  ...l
5714
5714
  }
5715
5715
  );
5716
- }), os = ge({
5716
+ }), os = be({
5717
5717
  base: "flex-col",
5718
5718
  variants: {
5719
5719
  gap: {
@@ -5781,7 +5781,7 @@ const ts = ({
5781
5781
  "You cannot pass both alert and status at the same time to this component"
5782
5782
  );
5783
5783
  }, [i, s]);
5784
- const m = (g) => !!g && !(se.isValidElement(g) && g.type === se.Fragment && se.Children.count(g.props.children) === 0), h = () => {
5784
+ const m = (b) => !!b && !(se.isValidElement(b) && b.type === se.Fragment && se.Children.count(b.props.children) === 0), h = () => {
5785
5785
  n?.link?.onClick?.();
5786
5786
  };
5787
5787
  return /* @__PURE__ */ o(
@@ -5801,7 +5801,7 @@ const ts = ({
5801
5801
  /* @__PURE__ */ e(us, {}),
5802
5802
  /* @__PURE__ */ e(Cn, { className: "truncate", children: n.subtitle })
5803
5803
  ] }),
5804
- n.info && /* @__PURE__ */ e(be, { label: n.info, children: /* @__PURE__ */ e(
5804
+ n.info && /* @__PURE__ */ e(ge, { label: n.info, children: /* @__PURE__ */ e(
5805
5805
  M,
5806
5806
  {
5807
5807
  icon: kn,
@@ -5841,24 +5841,24 @@ const ts = ({
5841
5841
  ] })
5842
5842
  ] }) }),
5843
5843
  /* @__PURE__ */ o(yt, { className: "flex h-full flex-col gap-4", children: [
5844
- l && /* @__PURE__ */ e("div", { className: "flex flex-row", children: l.map((g, b) => /* @__PURE__ */ o("div", { className: "grow", children: [
5845
- /* @__PURE__ */ e("div", { className: "mb-0.5 text-sm text-f1-foreground-secondary", children: g.label }),
5844
+ l && /* @__PURE__ */ e("div", { className: "flex flex-row", children: l.map((b, g) => /* @__PURE__ */ o("div", { className: "grow", children: [
5845
+ /* @__PURE__ */ e("div", { className: "mb-0.5 text-sm text-f1-foreground-secondary", children: b.label }),
5846
5846
  /* @__PURE__ */ o("div", { className: "flex flex-row items-end gap-0.5 text-2xl font-semibold", children: [
5847
- !!g.prefixUnit && /* @__PURE__ */ e("div", { className: "text-lg font-medium", children: g.prefixUnit }),
5848
- g.value,
5849
- !!g.postfixUnit && /* @__PURE__ */ e("div", { className: "text-lg font-medium", children: g.postfixUnit })
5847
+ !!b.prefixUnit && /* @__PURE__ */ e("div", { className: "text-lg font-medium", children: b.prefixUnit }),
5848
+ b.value,
5849
+ !!b.postfixUnit && /* @__PURE__ */ e("div", { className: "text-lg font-medium", children: b.postfixUnit })
5850
5850
  ] })
5851
- ] }, b)) }),
5852
- se.Children.toArray(a).filter(m).map((g, b) => /* @__PURE__ */ o(se.Fragment, { children: [
5853
- b > 0 && /* @__PURE__ */ e(tl, { bare: !0 }),
5854
- g
5855
- ] }, b))
5851
+ ] }, g)) }),
5852
+ se.Children.toArray(a).filter(m).map((b, g) => /* @__PURE__ */ o(se.Fragment, { children: [
5853
+ g > 0 && /* @__PURE__ */ e(tl, { bare: !0 }),
5854
+ b
5855
+ ] }, g))
5856
5856
  ] }),
5857
5857
  r && /* @__PURE__ */ e(Dr, { children: /* @__PURE__ */ e(W, { variant: "neutral", size: "sm", ...r }) })
5858
5858
  ]
5859
5859
  }
5860
5860
  );
5861
- }), ms = ge({
5861
+ }), ms = be({
5862
5862
  variants: {
5863
5863
  height: {
5864
5864
  sm: "h-36",
@@ -5939,10 +5939,10 @@ const ts = ({
5939
5939
  );
5940
5940
  }),
5941
5941
  ce.Skeleton
5942
- ), gs = K(
5942
+ ), bs = K(
5943
5943
  "AreaChartWidget",
5944
5944
  ps
5945
- ), bs = j(function(n, a) {
5945
+ ), gs = j(function(n, a) {
5946
5946
  return /* @__PURE__ */ e(
5947
5947
  ce,
5948
5948
  {
@@ -5953,7 +5953,7 @@ const ts = ({
5953
5953
  );
5954
5954
  }), xs = K(
5955
5955
  "BarChartWidget",
5956
- ee(bs, ce.Skeleton)
5956
+ ee(gs, ce.Skeleton)
5957
5957
  ), vs = ee(
5958
5958
  j(
5959
5959
  function(n, a) {
@@ -6020,7 +6020,7 @@ const ts = ({
6020
6020
  name: "AreaChartWidget",
6021
6021
  type: "info"
6022
6022
  },
6023
- gs
6023
+ bs
6024
6024
  ), lc = ue(
6025
6025
  {
6026
6026
  name: "BarChartWidget",
@@ -6411,19 +6411,19 @@ function Ps(t, n) {
6411
6411
  if (!r.current) return [];
6412
6412
  const u = r.current.children, m = [];
6413
6413
  for (let h = 0; h < u.length; h++) {
6414
- const g = u[h].getBoundingClientRect().height;
6415
- m.push(g);
6414
+ const b = u[h].getBoundingClientRect().height;
6415
+ m.push(b);
6416
6416
  }
6417
6417
  return m;
6418
6418
  }, []), d = Q(
6419
6419
  (u, m) => {
6420
- let h = 0, g = 0;
6421
- for (let b = 0; b < u.length; b++) {
6422
- const v = g + u[b];
6420
+ let h = 0, b = 0;
6421
+ for (let g = 0; g < u.length; g++) {
6422
+ const v = b + u[g];
6423
6423
  if (v > m + 30) break;
6424
- g = v, g = s(
6425
- g,
6424
+ b = v, b = s(
6426
6425
  b,
6426
+ g,
6427
6427
  u.length
6428
6428
  ), h++;
6429
6429
  }
@@ -6439,7 +6439,7 @@ function Ps(t, n) {
6439
6439
  i(h === 0 ? {
6440
6440
  visibleItems: [],
6441
6441
  overflowItems: t
6442
- } : (g) => g.visibleItems.length === h && g.overflowItems.length === t.length - h ? g : {
6442
+ } : (b) => b.visibleItems.length === h && b.overflowItems.length === t.length - h ? b : {
6443
6443
  visibleItems: t.slice(0, h),
6444
6444
  overflowItems: t.slice(h)
6445
6445
  });
@@ -6572,7 +6572,7 @@ const Rs = j(
6572
6572
  }
6573
6573
  ),
6574
6574
  "icon" in l && l.icon && /* @__PURE__ */ e("span", { className: p("flex", r), children: /* @__PURE__ */ e(M, { icon: l.icon }) }),
6575
- "emoji" in l && l.emoji && /* @__PURE__ */ e("span", { className: p("flex", r), children: /* @__PURE__ */ e(bt, { emoji: l.emoji, size: "md" }) })
6575
+ "emoji" in l && l.emoji && /* @__PURE__ */ e("span", { className: p("flex", r), children: /* @__PURE__ */ e(gt, { emoji: l.emoji, size: "md" }) })
6576
6576
  ] })
6577
6577
  ] }, a);
6578
6578
  }
@@ -6663,7 +6663,7 @@ function nn({
6663
6663
  return /* @__PURE__ */ o(Ws, { onClick: (c) => {
6664
6664
  c.preventDefault(), r?.(t);
6665
6665
  }, className: i, children: [
6666
- /* @__PURE__ */ e(bn, { module: l ?? "inbox", size: "md" }),
6666
+ /* @__PURE__ */ e(gn, { module: l ?? "inbox", size: "md" }),
6667
6667
  /* @__PURE__ */ o("div", { className: "flex-1", children: [
6668
6668
  /* @__PURE__ */ e("p", { className: "line-clamp-1 font-medium", children: n }),
6669
6669
  /* @__PURE__ */ e("p", { className: "line-clamp-1 text-f1-foreground-secondary", children: a })
@@ -6734,7 +6734,7 @@ function pc({
6734
6734
  }
6735
6735
  );
6736
6736
  }
6737
- function gc({
6737
+ function bc({
6738
6738
  items: t,
6739
6739
  gap: n,
6740
6740
  minSize: a = 184,
@@ -6754,14 +6754,14 @@ function gc({
6754
6754
  const js = ({ title: t, info: n }) => /* @__PURE__ */ o("div", { className: "flex items-center justify-between", children: [
6755
6755
  /* @__PURE__ */ e("p", { className: "flex text-f1-foreground-secondary", children: t }),
6756
6756
  /* @__PURE__ */ e("div", { className: "max-w-32 flex-shrink-0 overflow-hidden text-ellipsis whitespace-nowrap text-right font-medium", children: n })
6757
- ] }), bc = j(
6757
+ ] }), gc = j(
6758
6758
  function({ title: n, titleValue: a, titleTooltip: r, list: l }, i) {
6759
6759
  return /* @__PURE__ */ o("div", { ref: i, className: "flex flex-col gap-2", children: [
6760
6760
  n && /* @__PURE__ */ o("div", { className: "flex items-center justify-between gap-2 font-medium", children: [
6761
6761
  /* @__PURE__ */ o("div", { className: "flex items-center gap-1", children: [
6762
6762
  /* @__PURE__ */ e("div", { children: n }),
6763
6763
  r && /* @__PURE__ */ e("div", { className: "flex h-4 w-4 items-center text-f1-foreground-tertiary hover:cursor-help", children: /* @__PURE__ */ e(
6764
- be,
6764
+ ge,
6765
6765
  {
6766
6766
  label: r.label,
6767
6767
  description: r.description,
@@ -6824,8 +6824,8 @@ const ta = (t, n) => ((n ?? 0) < -1 * (t ?? 0) ? -1 * t : n) ?? 0, Vs = ({
6824
6824
  const u = ta(
6825
6825
  a,
6826
6826
  r
6827
- ), m = Math.abs(u), h = Math.floor(m / 60), g = Math.floor(m % 60), b = `${h.toString().padStart(2, "0")}:${g.toString().padStart(2, "0")}`;
6828
- return r >= 0 ? `${n.remainingTime} ${b}` : `${n.overtime} ${b}`;
6827
+ ), m = Math.abs(u), h = Math.floor(m / 60), b = Math.floor(m % 60), g = `${h.toString().padStart(2, "0")}:${b.toString().padStart(2, "0")}`;
6828
+ return r >= 0 ? `${n.remainingTime} ${g}` : `${n.overtime} ${g}`;
6829
6829
  })(), f = xe[s];
6830
6830
  return {
6831
6831
  status: s,
@@ -6862,17 +6862,17 @@ const ta = (t, n) => ((n ?? 0) < -1 * (t ?? 0) ? -1 * t : n) ?? 0, Vs = ({
6862
6862
  let c = (l ?? 0) < 0 ? Math.abs(l ?? 0) * 60 : 0, f = [
6863
6863
  ...[...t].reverse().reduce(
6864
6864
  (u, m) => {
6865
- const h = (m.to.getTime() - m.from.getTime()) / 1e3, g = m.variant === "clocked-in" ? Math.min(h, c) : 0, v = (h - g) / i;
6866
- return c -= g, m.variant === "clocked-in" && r ? [
6865
+ const h = (m.to.getTime() - m.from.getTime()) / 1e3, b = m.variant === "clocked-in" ? Math.min(h, c) : 0, v = (h - b) / i;
6866
+ return c -= b, m.variant === "clocked-in" && r ? [
6867
6867
  ...u,
6868
6868
  {
6869
- value: g / i + v,
6869
+ value: b / i + v,
6870
6870
  color: xe.overtime
6871
6871
  }
6872
6872
  ] : [
6873
6873
  ...u,
6874
6874
  {
6875
- value: g / i,
6875
+ value: b / i,
6876
6876
  color: xe.overtime
6877
6877
  },
6878
6878
  {
@@ -6997,8 +6997,8 @@ function vc({
6997
6997
  onBreak: u,
6998
6998
  breakTypes: m,
6999
6999
  onChangeBreakTypeId: h,
7000
- canShowBreakButton: g = !0,
7001
- canSeeGraph: b = !0,
7000
+ canShowBreakButton: b = !0,
7001
+ canSeeGraph: g = !0,
7002
7002
  canSeeRemainingTime: v = !0,
7003
7003
  // onClickProjectSelector,
7004
7004
  onChangeLocationId: y,
@@ -7077,7 +7077,7 @@ function vc({
7077
7077
  }
7078
7078
  ) }),
7079
7079
  D === "clocked-in" && /* @__PURE__ */ o(U, { children: [
7080
- g && /* @__PURE__ */ e(U, { children: w.length > 1 && h ? /* @__PURE__ */ e(
7080
+ b && /* @__PURE__ */ e(U, { children: w.length > 1 && h ? /* @__PURE__ */ e(
7081
7081
  We,
7082
7082
  {
7083
7083
  label: r.break,
@@ -7139,7 +7139,7 @@ function vc({
7139
7139
  ] })
7140
7140
  ] })
7141
7141
  ] }),
7142
- b && /* @__PURE__ */ e(
7142
+ g && /* @__PURE__ */ e(
7143
7143
  Ks,
7144
7144
  {
7145
7145
  data: a,
@@ -7236,11 +7236,11 @@ function wc({
7236
7236
  id: u,
7237
7237
  text: u
7238
7238
  } : u
7239
- ).map(({ id: u, text: m, badge: h, counter: g }) => ({
7239
+ ).map(({ id: u, text: m, badge: h, counter: b }) => ({
7240
7240
  id: u,
7241
7241
  text: m,
7242
7242
  badge: h,
7243
- counter: g,
7243
+ counter: b,
7244
7244
  status: f
7245
7245
  }))
7246
7246
  ), c = !s.length;
@@ -7309,9 +7309,9 @@ var co = (t, n) => n.filter(t), uo = (t, n) => [...n].sort(t), fo = (t, n) => t.
7309
7309
  if (!t.bottom) return a;
7310
7310
  let r = t.bottom - t.top >= n.height;
7311
7311
  return a && r;
7312
- }, go = ({ availableSpots: t, stone: n }) => oo((a) => po(a, n), t);
7313
- function bo({ stone: t, availableSpots: n, containerSize: a }) {
7314
- let r = go({ availableSpots: n, stone: t }), l = { left: r.left, top: r.top }, i = ho({ optimalSpot: r, availableSpots: n.filter((d) => d !== r), stone: t, containerSize: a }), s = [...n, i], c = so({ spots: s, position: l, optimalSpot: r, stone: t });
7312
+ }, bo = ({ availableSpots: t, stone: n }) => oo((a) => po(a, n), t);
7313
+ function go({ stone: t, availableSpots: n, containerSize: a }) {
7314
+ let r = bo({ availableSpots: n, stone: t }), l = { left: r.left, top: r.top }, i = ho({ optimalSpot: r, availableSpots: n.filter((d) => d !== r), stone: t, containerSize: a }), s = [...n, i], c = so({ spots: s, position: l, optimalSpot: r, stone: t });
7315
7315
  return s = [...co(Boolean, c)], s = mo(s), { position: l, availableSpots: s };
7316
7316
  }
7317
7317
  var xo = ({ stones: t, containerSize: n }) => {
@@ -7319,7 +7319,7 @@ var xo = ({ stones: t, containerSize: n }) => {
7319
7319
  if (!t.length) return a;
7320
7320
  let r = 0, l = [], i = [{ top: 0, left: 0, right: n }];
7321
7321
  for (let s of t) {
7322
- let c = bo({ availableSpots: i, stone: s, containerSize: n }), d = c.position.top + s.height;
7322
+ let c = go({ availableSpots: i, stone: s, containerSize: n }), d = c.position.top + s.height;
7323
7323
  r < d && (r = d), l.push(c.position), i = c.availableSpots;
7324
7324
  }
7325
7325
  return { availableSpots: i, positions: l, containerHeight: r };
@@ -7331,10 +7331,10 @@ var xo = ({ stones: t, containerSize: n }) => {
7331
7331
  let [{ positions: i, containerHeight: s, stones: c, availableSpots: d }, f] = _({ positions: [], containerHeight: null, stones: [], availableSpots: [] });
7332
7332
  return $(() => {
7333
7333
  var u, m;
7334
- let h = vo(t.current), g = (m = (u = n.current) == null ? void 0 : u.offsetWidth) != null ? m : 0;
7335
- if (g === null) return;
7336
- let b = xo({ stones: h, containerSize: g });
7337
- f(Je(oe({}, b), { stones: h }));
7334
+ let h = vo(t.current), b = (m = (u = n.current) == null ? void 0 : u.offsetWidth) != null ? m : 0;
7335
+ if (b === null) return;
7336
+ let g = xo({ stones: h, containerSize: b });
7337
+ f(Je(oe({}, g), { stones: h }));
7338
7338
  }, [a, t, n, r, l]), { positions: i, containerHeight: s, stones: c, availableSpots: d };
7339
7339
  }, yo = (t) => ({ fade: `${t}ms opacity ease`, fadeMove: `
7340
7340
  ${t}ms opacity ease,
@@ -7374,8 +7374,8 @@ var Io = () => {
7374
7374
  }, [t]), n;
7375
7375
  }, Ao = (t) => {
7376
7376
  var n = t, { children: a, style: r, transition: l = !1, transitionDuration: i = 500, transitionStep: s = 50 } = n, c = to(n, ["children", "style", "transition", "transitionDuration", "transitionStep"]);
7377
- let d = G([]), f = G(null), u = Io(), m = Fo(f), { positions: h, containerHeight: g } = wo({ boxesRefs: d, wrapperRef: f, children: a, windowWidth: u, wrapperWidth: m }), b = oe({ minHeight: g ?? 0, position: "relative" }, r);
7378
- return e("div", Je(oe({ ref: f, style: b }, c), { children: Ln.map(a, (v, y) => {
7377
+ let d = G([]), f = G(null), u = Io(), m = Fo(f), { positions: h, containerHeight: b } = wo({ boxesRefs: d, wrapperRef: f, children: a, windowWidth: u, wrapperWidth: m }), g = oe({ minHeight: b ?? 0, position: "relative" }, r);
7378
+ return e("div", Je(oe({ ref: f, style: g }, c), { children: Ln.map(a, (v, y) => {
7379
7379
  if (typeof v != "object" || !v || !("type" in v)) return v;
7380
7380
  let I = { style: ko({ style: v.props.style, position: h[y], transition: l, transitionDuration: i }), ref: (z) => d.current[y] = z };
7381
7381
  return An(v, oe(oe({}, v.props), I));
@@ -7483,11 +7483,11 @@ export {
7483
7483
  lc as BarChartWidget,
7484
7484
  di as BaseActivityItemList,
7485
7485
  rd as BaseBanner,
7486
- gi as BaseCelebration,
7486
+ bi as BaseCelebration,
7487
7487
  Ii as BaseCommunityPost,
7488
7488
  Lc as BaseTabs,
7489
7489
  Ec as BreadcrumbSelect,
7490
- gl as Breadcrumbs,
7490
+ bl as Breadcrumbs,
7491
7491
  mt as CalendarEvent,
7492
7492
  uc as CalendarEventList,
7493
7493
  ld as CardSelectableContainer,
@@ -7495,7 +7495,7 @@ export {
7495
7495
  id as CategoryBarChart,
7496
7496
  xc as CategoryBarSection,
7497
7497
  Mo as Celebration,
7498
- bi as CelebrationSkeleton,
7498
+ gi as CelebrationSkeleton,
7499
7499
  dc as ChartWidgetEmptyState,
7500
7500
  _c as Chip,
7501
7501
  vc as ClockInControls,
@@ -7513,53 +7513,57 @@ export {
7513
7513
  $o as EntitySelect,
7514
7514
  cd as F0ActionBar,
7515
7515
  dd as F0AiBanner,
7516
- bn as F0AvatarModule,
7516
+ gn as F0AvatarModule,
7517
7517
  Tc as F0ButtonToggle,
7518
7518
  Bo as F0Callout,
7519
- ud as F0SegmentedControl,
7520
- fd as F0TableOfContent,
7519
+ ud as F0NumberInput,
7520
+ zc as F0SearchInput,
7521
+ fd as F0SegmentedControl,
7522
+ md as F0TableOfContent,
7523
+ hd as F0TextAreaInput,
7524
+ Pc as F0TextInput,
7521
7525
  Ro as F0VersionHistory,
7522
- zc as F1SearchBox,
7523
- md as FILE_TYPES,
7524
- Pc as FileItem,
7526
+ pd as F1SearchBox,
7527
+ bd as FILE_TYPES,
7528
+ Bc as FileItem,
7525
7529
  jo as HighlightBanner,
7526
7530
  mc as IndicatorsList,
7527
- Bc as Input,
7528
- hd as Item,
7529
- pd as ItemSectionHeader,
7530
- gd as LineChart,
7531
+ gd as Input,
7532
+ xd as Item,
7533
+ vd as ItemSectionHeader,
7534
+ wd as LineChart,
7531
7535
  ic as LineChartWidget,
7532
7536
  Xo as Menu,
7533
7537
  Rc as MobileDropdown,
7534
- bd as NotesTextEditor,
7535
- xd as NotesTextEditorPatchTargetNotFoundError,
7536
- vd as NotesTextEditorSkeleton,
7537
- wd as NotesTextEditorUnsupportedPatchTypeError,
7538
- yd as NumberInput,
7538
+ yd as NotesTextEditor,
7539
+ Nd as NotesTextEditorPatchTargetNotFoundError,
7540
+ Cd as NotesTextEditorSkeleton,
7541
+ kd as NotesTextEditorUnsupportedPatchTypeError,
7542
+ Sd as NumberInput,
7539
7543
  Ko as OmniButton,
7540
7544
  ec as OneApprovalHistory,
7541
7545
  $c as OneCalendar,
7542
7546
  Wc as OneCalendarInternal,
7543
- Nd as OneDataCollection,
7544
- Cd as OneDateNavigator,
7547
+ Id as OneDataCollection,
7548
+ Fd as OneDateNavigator,
7545
7549
  dl as OneEmptyState,
7546
- kd as OnePagination,
7550
+ Ad as OnePagination,
7547
7551
  Go as OnePersonListItem,
7548
7552
  Sc as OneRestrictComponent,
7549
7553
  qo as Page,
7550
7554
  Po as PageHeader,
7551
- Sd as PieChart,
7555
+ Ld as PieChart,
7552
7556
  sc as PieChartWidget,
7553
7557
  ds as PrivateBox,
7554
- Id as ProgressBarChart,
7555
- Fd as RadarChart,
7558
+ Ed as ProgressBarChart,
7559
+ _d as RadarChart,
7556
7560
  wi as Reactions,
7557
- Ad as ResourceHeader,
7561
+ Od as ResourceHeader,
7558
7562
  dr as RichTextDisplay,
7559
- Ld as RichTextEditor,
7563
+ Dd as RichTextEditor,
7560
7564
  Ic as ScrollArea,
7561
7565
  Jo as SearchBar,
7562
- Ed as SectionHeader,
7566
+ Td as SectionHeader,
7563
7567
  We as Select,
7564
7568
  Ar as Shortcut,
7565
7569
  Qo as Sidebar,
@@ -7573,12 +7577,12 @@ export {
7573
7577
  jc as Tabs,
7574
7578
  Vc as TabsSkeleton,
7575
7579
  wc as TasksList,
7576
- _d as Textarea,
7580
+ zd as Textarea,
7577
7581
  Gc as ToggleGroup,
7578
7582
  Hc as ToggleGroupItem,
7579
- be as Tooltip,
7580
- bc as TwoColumnsList,
7581
- Od as VerticalBarChart,
7583
+ ge as Tooltip,
7584
+ gc as TwoColumnsList,
7585
+ Pd as VerticalBarChart,
7582
7586
  oc as VerticalBarChartWidget,
7583
7587
  dt as VirtualList,
7584
7588
  Uc as WeekStartDay,
@@ -7590,27 +7594,27 @@ export {
7590
7594
  pc as WidgetInboxList,
7591
7595
  nn as WidgetInboxListItem,
7592
7596
  kc as WidgetSection,
7593
- gc as WidgetSimpleList,
7597
+ bc as WidgetSimpleList,
7594
7598
  ht as WidgetSimpleListItem,
7595
7599
  Nc as WidgetStrip,
7596
- Dd as actionBarStatuses,
7597
- Td as buttonToggleSizes,
7598
- zd as buttonToggleVariants,
7600
+ Bd as actionBarStatuses,
7601
+ Rd as buttonToggleSizes,
7602
+ $d as buttonToggleVariants,
7599
7603
  qc as chipVariants,
7600
- Pd as downloadAsCSV,
7601
- Bd as generateCSVContent,
7604
+ Wd as downloadAsCSV,
7605
+ Md as generateCSVContent,
7602
7606
  Yc as getGranularityDefinition,
7603
7607
  Zc as getGranularityDefinitions,
7604
7608
  Xc as getGranularitySimpleDefinition,
7605
7609
  Jc as granularityDefinitions,
7606
7610
  Qc as modules,
7607
- Rd as predefinedPresets,
7611
+ jd as predefinedPresets,
7608
7612
  ed as rangeSeparator,
7609
- $d as selectSizes,
7613
+ Vd as selectSizes,
7610
7614
  qe as useAiPromotionChat,
7611
- Wd as useDataCollectionData,
7612
- Md as useDataCollectionSource,
7613
- jd as useExportAction,
7614
- Vd as useInfiniteScrollPagination,
7615
+ Gd as useDataCollectionData,
7616
+ Hd as useDataCollectionSource,
7617
+ Ud as useExportAction,
7618
+ Kd as useInfiniteScrollPagination,
7615
7619
  Se as useSidebar
7616
7620
  };