@factorialco/f0-react 2.43.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,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 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-Czxg0RlQ.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-Czxg0RlQ.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 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 gn, aG as it, aH as bn, aI as ar, aJ as rr, aK as lr, aL as ir, aM as sr, aN as Ue, aO as bt, aP as st, aQ as xn, aR as or, aS as vn, aT as cr, aU as dr, aV as ur, aW as Ee, aX as fr, aY as mr, aZ as Te, a_ as Lt, a$ as ot, b0 as hr, b1 as pr, a as gr, b as br, b2 as wn, b3 as xr, f as vr, F as wr, b4 as yr, b5 as yn, b6 as Nr, b7 as Nn, b8 as Cr, b9 as kr, ba as Sr, bb as Ir, bc as Fr, bd as Ar, be as Lr, bf as Er, bg as _r, bh as Cn, bi as ue, bj as xt, bk as vt, bl as wt, bm as kn, bn as yt, bo as Sn, bp as In, bq as Or, br as Dr, bs as Tr, bt as zr, bu as Pr, bv as Br, bw as Rr, bx as $r, by as Et, bz as Wr, bA as Mr, bB as _t, bC as Ot, bD as Dt, bE as jr, bF as Vr, bG as Gr, bH as Hr, bI as Fn, bJ as Ur, bK as Kr } from "./F0CanvasPanel-DMLQMGBW.js";
2
+ import { bW as Lc, bV as Ec, c6 as _c, bS as Oc, bT as Dc, bL as Tc, bM as zc, bN as Pc, c7 as Bc, bU as Rc, c2 as $c, c3 as Wc, bO as Mc, bY as jc, bX as Vc, bP as Gc, bQ as Hc, c4 as Uc, c8 as Kc, c5 as qc, c1 as Yc, b_ as Zc, c0 as Xc, bZ as Jc, bR as Qc, b$ as ed } from "./F0CanvasPanel-DMLQMGBW.js";
3
3
  import { jsx as e, jsxs as o, Fragment as U } from "react/jsx-runtime";
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-Bxbwl5Iu.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-Bxbwl5Iu.js";
4
+ import se, { forwardRef as j, useRef as G, useTransition as qr, useState as _, useLayoutEffect as An, useId as ct, useContext as Ke, createContext as Nt, useEffect as $, useCallback as Q, useMemo as q, Fragment as Yr, isValidElement as Zr, cloneElement as Ln, Children as En } from "react";
5
+ import { C as Xr, P as Jr, a as _n, M as Qr, R as Tt, b as On, u as el, c as Dn, S as tl, A as nl, B as al, L as rl, d as ll, V as il, e as sl, f as ol, g as cl, O as dl } from "./useDataCollectionSource-iZJIN18U.js";
6
+ import { l as nd, m as ad, j as rd, x as ld, n as id, s as sd, a3 as od, w as cd, k as dd, D as ud, F as fd, J as md, E as hd, z as pd, a9 as gd, I as bd, K as xd, Q as vd, o as wd, a5 as yd, a6 as Nd, a4 as Cd, a7 as kd, N as Sd, U as Id, a0 as Fd, a2 as Ad, p as Ld, r as Ed, t as _d, G as Od, a8 as Dd, H as Td, T as zd, q as Pd, v as Bd, h as Rd, i as $d, X as Wd, Y as Md, a1 as jd, y as Vd, Z as Gd, _ as Hd, W as Ud, $ as Kd } from "./useDataCollectionSource-iZJIN18U.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 bl({ breadcrumbs: t, append: n }) {
86
- const a = G(null), r = G(null), [, l] = Hr(), [i, s] = _(null), c = (i?.collapsedItems || []).length > 0;
87
- return Fn(() => {
85
+ function gl({ breadcrumbs: t, append: n }) {
86
+ const a = G(null), r = G(null), [, l] = qr(), [i, s] = _(null), c = (i?.collapsedItems || []).length > 0;
87
+ return An(() => {
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, b = Array.from(f.children);
91
+ const h = a.current?.clientWidth ?? null, g = Array.from(f.children);
92
92
  l(() => {
93
- const g = pl(
93
+ const b = pl(
94
94
  h,
95
95
  t,
96
- b
96
+ g
97
97
  );
98
- s(g);
98
+ s(b);
99
99
  });
100
100
  }, m = new ResizeObserver(u);
101
101
  return m.observe(d), u(), () => m.disconnect();
@@ -172,7 +172,7 @@ function bl({ breadcrumbs: t, append: n }) {
172
172
  `breadcrumb-${t.at(-1)?.id ?? 0}`
173
173
  );
174
174
  }
175
- const gl = be({
175
+ const bl = ge({
176
176
  variants: {
177
177
  size: {
178
178
  sm: "h-[1.375rem] w-[1.375rem]",
@@ -217,19 +217,19 @@ const gl = be({
217
217
  hover: r = !1,
218
218
  ...l
219
219
  }, i) => {
220
- const s = ot(), {
220
+ const s = ct(), {
221
221
  onAnimationStart: c,
222
222
  onAnimationEnd: d,
223
223
  onDragStart: f,
224
224
  onDragEnd: u,
225
225
  onDrag: m,
226
226
  className: h,
227
- ...b
227
+ ...g
228
228
  } = l;
229
229
  return /* @__PURE__ */ e(
230
230
  "div",
231
231
  {
232
- className: p(gl({ size: n }), h),
232
+ className: p(bl({ size: n }), h),
233
233
  style: {
234
234
  background: "transparent",
235
235
  perspective: t ? "10px" : void 0,
@@ -255,32 +255,32 @@ const gl = be({
255
255
  },
256
256
  style: {
257
257
  "--gradient-angle": "0deg",
258
- ...b.style
258
+ ...g.style
259
259
  },
260
- ...(({ style: g, ...v }) => v)(b),
260
+ ...(({ style: b, ...v }) => v)(g),
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((g) => /* @__PURE__ */ e("clipPath", { id: `${s}-${g.id}`, children: /* @__PURE__ */ e("path", { d: g.path }) }, g.id))
264
+ Pt.map((b) => /* @__PURE__ */ e("clipPath", { id: `${s}-${b.id}`, children: /* @__PURE__ */ e("path", { d: b.path }) }, b.id))
265
265
  ] }),
266
- /* @__PURE__ */ e("g", { clipPath: `url(#${s}-circle)`, children: Pt.map((g) => /* @__PURE__ */ e(
266
+ /* @__PURE__ */ e("g", { clipPath: `url(#${s}-circle)`, children: Pt.map((b) => /* @__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}-${g.id})`,
273
+ clipPath: `url(#${s}-${b.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 ? g.id === "left" ? 1 : 0 : 1,
278
+ opacity: r ? b.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 ? g.delay : 0,
283
+ delay: t ? b.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 gl = be({
298
298
  ease: "easeInOut"
299
299
  },
300
300
  filter: {
301
- delay: t ? g.delay : 0,
301
+ delay: t ? b.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 gl = be({
308
308
  "--rotate3d-angle": "0deg",
309
309
  "--scale": 1,
310
310
  "--rotate": "0deg",
311
- transform: t ? `rotate3d(${g.rotateAxis}, var(--rotate3d-angle))` : "scale(var(--scale)) rotate(var(--rotate))",
312
- transformOrigin: g.transformOrigin,
311
+ transform: t ? `rotate3d(${b.rotateAxis}, var(--rotate3d-angle))` : "scale(var(--scale)) rotate(var(--rotate))",
312
+ transformOrigin: b.transformOrigin,
313
313
  willChange: "transform"
314
314
  },
315
315
  children: /* @__PURE__ */ e(
@@ -323,7 +323,7 @@ const gl = be({
323
323
  }
324
324
  )
325
325
  },
326
- g.id
326
+ b.id
327
327
  )) })
328
328
  ]
329
329
  }
@@ -333,9 +333,9 @@ const gl = be({
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), b = (v) => {
336
+ ), h = G(null), g = (v) => {
337
337
  h.current = v;
338
- }, g = () => {
338
+ }, b = () => {
339
339
  h.current && h.current();
340
340
  };
341
341
  return $(() => {
@@ -360,8 +360,8 @@ const gl = be({
360
360
  setShouldPlayEntranceAnimation: f,
361
361
  setAutoClearMinutes: m,
362
362
  autoClearMinutes: l ? u : null,
363
- clear: g,
364
- setClearFunction: b
363
+ clear: b,
364
+ setClearFunction: g
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(ba, { delayDuration: 850, disableHoverableContent: !0, children: [
392
- /* @__PURE__ */ e(ga, { asChild: !0, children: /* @__PURE__ */ e(
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(
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, b] = _(
473
+ }), [u, m] = _(!1), [h, g] = _(
474
474
  null
475
- ), g = Q(
475
+ ), b = 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
- b(y);
493
+ g(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: g,
501
+ toggleSidebar: b,
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"), [b, g] = _(null), [v, ...y] = b ?? [], [I, z] = _(!1);
589
+ const [m, h] = _("idle"), [g, b] = _(null), [v, ...y] = g ?? [], [I, z] = _(!1);
590
590
  $(() => {
591
- g(null), h("idle");
591
+ b(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"), g(D);
597
+ h("idle"), b(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 && b === null && R(), s(D);
607
+ z(D), D && g === 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" && 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: [
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: [
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
- b.length > 1 && /* @__PURE__ */ e(U, { children: /* @__PURE__ */ e("div", { className: "pb-1", children: y.map((D, E) => /* @__PURE__ */ e(
643
+ g.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,
@@ -887,7 +887,7 @@ const Rt = X.create(M), $t = {
887
887
  ) })
888
888
  ] }),
889
889
  /* @__PURE__ */ e(
890
- qr,
890
+ Xr,
891
891
  {
892
892
  columns: {
893
893
  default: 1
@@ -895,7 +895,7 @@ const Rt = X.create(M), $t = {
895
895
  showDots: !0,
896
896
  showArrows: !1,
897
897
  children: a?.products.map((d) => /* @__PURE__ */ e(
898
- Yr,
898
+ Jr,
899
899
  {
900
900
  ...d,
901
901
  isVisible: !0,
@@ -952,7 +952,7 @@ function Po({
952
952
  module: t.id
953
953
  },
954
954
  ...a
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);
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);
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 || 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,
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,
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 && b && /* @__PURE__ */ e("div", { children: n.tooltip ? /* @__PURE__ */ e(ge, { label: n.tooltip, children: /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
1021
+ !l && g && /* @__PURE__ */ e("div", { children: n.tooltip ? /* @__PURE__ */ e(be, { 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 && b && (i || v || y) && /* @__PURE__ */ e("div", { className: "h-4 w-px bg-f1-border-secondary" }),
1029
+ !l && g && (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: bt,
1049
+ icon: gt,
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 = be({
1364
+ ), Wn = ge({
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] || "", b = m.slice(1).join(" "), g = (y) => {
1731
+ const m = t.name.split(" "), h = m[0] || "", g = m.slice(1).join(" "), b = (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: b,
1755
+ lastName: g,
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: g,
1783
+ onClick: b,
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: b = !1,
1817
- singleSelector: g = !1,
1816
+ showGroupIcon: g = !1,
1817
+ singleSelector: b = !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: g,
1832
+ singleSelector: b,
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" && g)
1842
+ else if (L.key === "Enter" && b)
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 || g) return;
1852
+ if (v || b) 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
- b && /* @__PURE__ */ e(
1881
+ g && /* @__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", g ? "opacity-0" : "")
1912
+ className: p("ml-auto", b ? "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 b, g, v = d ? {
2001
+ let g, b, 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 ? (b = /* @__PURE__ */ e(
2012
+ return v || (v = y, y = void 0), m && u ? (g = /* @__PURE__ */ e(
2013
2013
  Le,
2014
2014
  {
2015
2015
  primaryAction: v,
2016
2016
  secondaryActions: y ? [y] : []
2017
2017
  }
2018
- ), g = /* @__PURE__ */ e(
2018
+ ), b = /* @__PURE__ */ e(
2019
2019
  Le,
2020
2020
  {
2021
2021
  primaryAction: t[0],
2022
2022
  secondaryActions: t.slice(1)
2023
2023
  }
2024
- )) : m ? b = /* @__PURE__ */ e(
2024
+ )) : m ? g = /* @__PURE__ */ e(
2025
2025
  Le,
2026
2026
  {
2027
2027
  primaryAction: t[0],
2028
2028
  secondaryActions: t.slice(1)
2029
2029
  }
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
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
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: b,
2081
- onToggleExpand: g,
2080
+ onGroupChange: g,
2081
+ onToggleExpand: b,
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: () => g(J, !0),
2155
+ onExpand: () => b(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
- g,
2186
+ b,
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) => g(te, Ae),
2260
+ onExpand: (Ae) => b(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
- g,
2327
+ b,
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: b,
2393
+ onChange: g,
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 b = (i ?? Kt) < ei, g = !c && !s && !b, v = i ?? Kt, y = g ? v - qt : v;
2584
+ const g = (i ?? Kt) < ei, b = !c && !s && !g, v = i ?? Kt, y = b ? 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
- g && /* @__PURE__ */ e(
2618
+ b && /* @__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: b,
2657
- loading: g = !1,
2656
+ maxLength: g,
2657
+ loading: b = !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: b,
2697
+ maxLength: g,
2698
2698
  clearable: !1,
2699
2699
  value: L,
2700
2700
  disabled: r,
2701
- loading: g,
2701
+ loading: b,
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), b = m.portalContainer && (m.position === "center" || m.position === "fullscreen") ? m.portalContainer : void 0;
2750
- function g(w) {
2749
+ ), m = Ke(Qa), g = m.portalContainer && (m.position === "center" || m.position === "fullscreen") ? m.portalContainer : void 0;
2750
+ function b(w) {
2751
2751
  if (t.singleSelector) {
2752
2752
  t.onSelect(w), a(!1);
2753
2753
  return;
@@ -2967,7 +2967,7 @@ const Vt = ({
2967
2967
  i
2968
2968
  ]);
2969
2969
  const L = G(null), [H, T] = _(0);
2970
- return Fn(() => {
2970
+ return An(() => {
2971
2971
  const w = () => {
2972
2972
  L.current && T(L.current.offsetWidth);
2973
2973
  };
@@ -2988,7 +2988,7 @@ const Vt = ({
2988
2988
  groups: t.groups,
2989
2989
  onGroupChange: t.onGroupChange,
2990
2990
  selectedGroup: t.selectedGroup,
2991
- onSelect: g,
2991
+ onSelect: b,
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: b,
3054
+ container: g,
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: g,
3066
+ onSelect: b,
3067
3067
  onRemove: y,
3068
3068
  onSubItemRemove: I,
3069
3069
  onSubItemSelect: v,
@@ -3139,7 +3139,7 @@ const ai = ({
3139
3139
  onChange(h) {
3140
3140
  h && d?.(t);
3141
3141
  }
3142
- }), u = En(n, {
3142
+ }), u = gn(n, {
3143
3143
  yesterdayRelative: !1
3144
3144
  });
3145
3145
  return /* @__PURE__ */ o(
@@ -3208,7 +3208,7 @@ const ai = ({
3208
3208
  )) }), ii = ({
3209
3209
  title: t,
3210
3210
  numItems: n
3211
- }) => /* @__PURE__ */ e(Gn, { title: t, children: Array.from({ length: n }).map((a, r) => /* @__PURE__ */ e(St.Skeleton, {}, r)) }), Be = ee(li, ii), si = 3, oi = ["today", "yesterday", "lastWeek", "lastMonth"], ci = (t) => rr(t, ([n]) => {
3211
+ }) => /* @__PURE__ */ e(Gn, { title: t, children: Array.from({ length: n }).map((a, r) => /* @__PURE__ */ e(St.Skeleton, {}, r)) }), Be = ee(li, ii), si = 3, oi = ["today", "yesterday", "lastWeek", "lastMonth"], ci = (t) => lr(t, ([n]) => {
3212
3212
  const a = oi.indexOf(n);
3213
3213
  return a === -1 ? -Number(n) : a - 4e3;
3214
3214
  }), ft = () => /* @__PURE__ */ e("div", { className: "-mx-2 h-px bg-f1-background-secondary" }), di = ({
@@ -3218,7 +3218,7 @@ const ai = ({
3218
3218
  onEndReached: r,
3219
3219
  onEndReachedItemsThreshold: l = 5
3220
3220
  }) => {
3221
- const i = ie(), s = Zr(t, "createdAt"), c = Object.values(s).slice().flatMap((u) => u.map((m) => m.id)).slice(-l), d = ar((u) => {
3221
+ const i = ie(), s = ar(t, "createdAt"), c = Object.values(s).slice().flatMap((u) => u.map((m) => m.id)).slice(-l), d = rr((u) => {
3222
3222
  c.includes(u) && r?.();
3223
3223
  }, 1e3), f = ci(
3224
3224
  Object.entries(s).filter(([u, m]) => !!m.length)
@@ -3293,7 +3293,7 @@ function hi({
3293
3293
  {
3294
3294
  className: p(
3295
3295
  "relative h-32 w-full overflow-hidden rounded-md bg-f1-background",
3296
- a ? "" : mi[lr(
3296
+ a ? "" : mi[ir(
3297
3297
  [t, n].join("")
3298
3298
  )]
3299
3299
  ),
@@ -3351,7 +3351,7 @@ function pi(t) {
3351
3351
  const n = G(null), a = G(), r = Q(() => {
3352
3352
  const i = n.current;
3353
3353
  if (!i) return;
3354
- const s = ir.create(i, {
3354
+ const s = sr.create(i, {
3355
3355
  resize: !0,
3356
3356
  useWorker: !1
3357
3357
  }), c = ["9D76F3", "3FC495", "E61D46", "F6AF3D"], d = 0.1;
@@ -3379,7 +3379,7 @@ function pi(t) {
3379
3379
  }, []);
3380
3380
  return { canvasRef: n, handleMouseEnter: r, handleMouseLeave: l };
3381
3381
  }
3382
- const bi = ({
3382
+ const gi = ({
3383
3383
  link: t,
3384
3384
  firstName: n,
3385
3385
  lastName: a,
@@ -3392,13 +3392,13 @@ const bi = ({
3392
3392
  typeLabel: f,
3393
3393
  date: u
3394
3394
  }) => {
3395
- const [m, h] = _(s), b = G(null);
3395
+ const [m, h] = _(s), g = G(null);
3396
3396
  $(() => {
3397
3397
  h(s);
3398
3398
  }, [s]);
3399
- const g = (D) => {
3399
+ const b = (D) => {
3400
3400
  h(D), c?.(D);
3401
- }, v = Ue(), { canvasRef: y, handleMouseEnter: I, handleMouseLeave: z } = pi(v), R = gt({
3401
+ }, v = Ue(), { canvasRef: y, handleMouseEnter: I, handleMouseLeave: z } = pi(v), R = bt({
3402
3402
  emoji: fi[d],
3403
3403
  size: "sm"
3404
3404
  });
@@ -3429,8 +3429,8 @@ const bi = ({
3429
3429
  src: r,
3430
3430
  canReact: i,
3431
3431
  lastEmojiReaction: m,
3432
- onReactionSelect: g,
3433
- pickerRef: b
3432
+ onReactionSelect: b,
3433
+ pickerRef: g
3434
3434
  }
3435
3435
  ) }),
3436
3436
  /* @__PURE__ */ o("div", { className: "flex basis-1/3 flex-row justify-between gap-2 p-3", children: [
@@ -3445,12 +3445,12 @@ const bi = ({
3445
3445
  /* @__PURE__ */ e("span", { className: "shrink-0 leading-none", children: R })
3446
3446
  ] })
3447
3447
  ] }),
3448
- /* @__PURE__ */ e("div", { className: "shrink-0", children: /* @__PURE__ */ e(ct, { date: u }) })
3448
+ /* @__PURE__ */ e("div", { className: "shrink-0", children: /* @__PURE__ */ e(st, { date: u }) })
3449
3449
  ] })
3450
3450
  ]
3451
3451
  }
3452
3452
  );
3453
- }, gi = () => /* @__PURE__ */ o(
3453
+ }, bi = () => /* @__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 bi = ({
3465
3465
  ] }) }) })
3466
3466
  ]
3467
3467
  }
3468
- ), Mo = ee(bi, gi), jo = ({
3468
+ ), Mo = ee(gi, bi), 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(gn, { module: "kudos", size: "lg" }),
3475
+ /* @__PURE__ */ e(xn, { 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,26 +3487,26 @@ 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 = (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
- xn,
3490
+ const [i, s] = _(a), [c, d] = _(n), f = G(null), { fireEmojiConfetti: u } = or(), 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(
3493
+ vn,
3494
3494
  {
3495
3495
  ref: f,
3496
3496
  variant: "outline",
3497
3497
  size: "md",
3498
3498
  compact: !0,
3499
- onClick: (g) => {
3500
- m(g, t);
3499
+ onClick: (b) => {
3500
+ m(b, 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
- "aria-label": or(t),
3507
- prepend: /* @__PURE__ */ e(gt, { emoji: t, size: "md" }),
3506
+ "aria-label": cr(t),
3507
+ prepend: /* @__PURE__ */ e(bt, { emoji: t, size: "md" }),
3508
3508
  children: /* @__PURE__ */ e(
3509
- cr,
3509
+ dr,
3510
3510
  {
3511
3511
  value: c,
3512
3512
  spinTiming: {
@@ -3521,7 +3521,7 @@ function xi({
3521
3521
  )
3522
3522
  }
3523
3523
  );
3524
- return h ? /* @__PURE__ */ e(ge, { label: h, children: b }) : b;
3524
+ return h ? /* @__PURE__ */ e(be, { label: h, children: g }) : g;
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: [
@@ -3551,7 +3551,7 @@ function vi({ items: t, onInteraction: n, locale: a, action: r }) {
3551
3551
  }
3552
3552
  const wi = K("Reactions", vi), Hn = j(function({ content: n, collapsed: a, id: r, className: l, tabIndex: i }, s) {
3553
3553
  return /* @__PURE__ */ e(
3554
- dr,
3554
+ ur,
3555
3555
  {
3556
3556
  ref: s,
3557
3557
  id: r,
@@ -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
- ge,
3593
+ be,
3594
3594
  {
3595
3595
  label: a.label,
3596
3596
  description: a.description,
@@ -3669,7 +3669,7 @@ const yi = () => /* @__PURE__ */ o("div", { className: "flex flex-col justify-ar
3669
3669
  ] }),
3670
3670
  /* @__PURE__ */ o("div", { className: "flex flex-row items-center", children: [
3671
3671
  f && /* @__PURE__ */ o(U, { children: [
3672
- /* @__PURE__ */ e(ct, { date: f }),
3672
+ /* @__PURE__ */ e(st, { date: f }),
3673
3673
  /* @__PURE__ */ e(
3674
3674
  M,
3675
3675
  {
@@ -3679,7 +3679,7 @@ const yi = () => /* @__PURE__ */ o("div", { className: "flex flex-col justify-ar
3679
3679
  }
3680
3680
  )
3681
3681
  ] }),
3682
- u && /* @__PURE__ */ e(ct, { date: u })
3682
+ u && /* @__PURE__ */ e(st, { date: u })
3683
3683
  ] })
3684
3684
  ] }),
3685
3685
  (c || d) && /* @__PURE__ */ o("div", { className: "flex flex-row items-center justify-between", children: [
@@ -3703,7 +3703,7 @@ const yi = () => /* @__PURE__ */ o("div", { className: "flex flex-col justify-ar
3703
3703
  place: a,
3704
3704
  date: r
3705
3705
  }) => {
3706
- let l = Xr(r);
3706
+ let l = fr(r);
3707
3707
  const i = (s) => {
3708
3708
  s.stopPropagation();
3709
3709
  };
@@ -3733,7 +3733,7 @@ const yi = () => /* @__PURE__ */ o("div", { className: "flex flex-col justify-ar
3733
3733
  {
3734
3734
  title: t,
3735
3735
  description: l,
3736
- color: ur.special.highlight,
3736
+ color: mr.special.highlight,
3737
3737
  isPending: !1,
3738
3738
  toDate: r,
3739
3739
  noBackground: !0
@@ -3794,12 +3794,12 @@ 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: b,
3798
- dropdownItems: g,
3797
+ actions: g,
3798
+ dropdownItems: b,
3799
3799
  noReactionsButton: v = !1,
3800
3800
  descriptionExpandable: y = !1
3801
3801
  }) => {
3802
- const I = ot(), z = ot(), R = G(null), [D, E] = _(null), [L, H] = _(!1), T = [f.views, f.comments].filter(Boolean).join(" · "), w = y && D?.id === t && D.description === i, k = !w, C = En(r), F = () => {
3802
+ const I = ct(), z = ct(), R = G(null), [D, E] = _(null), [L, H] = _(!1), T = [f.views, f.comments].filter(Boolean).join(" · "), w = y && D?.id === t && D.description === i, k = !w, C = gn(r), F = () => {
3803
3803
  s(t);
3804
3804
  }, B = (S) => {
3805
3805
  S.stopPropagation();
@@ -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
- b?.map((S) => /* @__PURE__ */ e(
3908
+ g?.map((S) => /* @__PURE__ */ e(
3909
3909
  W,
3910
3910
  {
3911
3911
  hideLabel: !S.label,
@@ -3918,11 +3918,11 @@ const yi = () => /* @__PURE__ */ o("div", { className: "flex flex-col justify-ar
3918
3918
  },
3919
3919
  S.label
3920
3920
  )),
3921
- g?.length && /* @__PURE__ */ e(
3921
+ b?.length && /* @__PURE__ */ e(
3922
3922
  Ce,
3923
3923
  {
3924
- items: g,
3925
- icon: st,
3924
+ items: b,
3925
+ icon: ot,
3926
3926
  size: "sm"
3927
3927
  }
3928
3928
  )
@@ -3935,9 +3935,9 @@ const yi = () => /* @__PURE__ */ o("div", { className: "flex flex-col justify-ar
3935
3935
  label: h.label,
3936
3936
  onClick: h.onClick
3937
3937
  },
3938
- ...g ?? []
3938
+ ...b ?? []
3939
3939
  ],
3940
- icon: st,
3940
+ icon: ot,
3941
3941
  size: "sm"
3942
3942
  }
3943
3943
  ) })
@@ -4010,7 +4010,7 @@ const yi = () => /* @__PURE__ */ o("div", { className: "flex flex-col justify-ar
4010
4010
  action: {
4011
4011
  label: h.label,
4012
4012
  onClick: h.onClick,
4013
- icon: fr
4013
+ icon: hr
4014
4014
  }
4015
4015
  }
4016
4016
  )
@@ -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(ge, { label: a.info, children: /* @__PURE__ */ e(
4070
+ a.info && /* @__PURE__ */ e(be, { label: a.info, children: /* @__PURE__ */ e(
4071
4071
  M,
4072
4072
  {
4073
4073
  icon: mn,
@@ -4083,7 +4083,7 @@ const yi = () => /* @__PURE__ */ o("div", { className: "flex flex-col justify-ar
4083
4083
  "description" in a && a.description && /* @__PURE__ */ e("p", { className: "truncate text-f1-foreground-secondary", children: a.description })
4084
4084
  ] }),
4085
4085
  /* @__PURE__ */ o("div", { className: "flex flex-row items-center justify-between gap-2", children: [
4086
- "rightTag" in a && a.rightTag && /* @__PURE__ */ e(mr, { ...a.rightTag }),
4086
+ "rightTag" in a && a.rightTag && /* @__PURE__ */ e(pr, { ...a.rightTag }),
4087
4087
  "actions" in a && /* @__PURE__ */ o("div", { className: "flex flex-1 flex-row items-center justify-end gap-2", children: [
4088
4088
  a.actions?.primary && /* @__PURE__ */ e(
4089
4089
  W,
@@ -4148,7 +4148,7 @@ function _i({
4148
4148
  ai: r,
4149
4149
  aiPromotion: l
4150
4150
  }) {
4151
- const i = r?.enabled ? hr : l?.enabled ? $l : Ur, s = r?.enabled ? r : l?.enabled ? l : void 0;
4151
+ const i = r?.enabled ? gr : l?.enabled ? $l : Yr, s = r?.enabled ? r : l?.enabled ? l : void 0;
4152
4152
  return /* @__PURE__ */ e(i, { ...s, children: /* @__PURE__ */ e(
4153
4153
  zi,
4154
4154
  {
@@ -4200,11 +4200,11 @@ function zi({
4200
4200
  open: u,
4201
4201
  visualizationMode: m,
4202
4202
  canvasContent: h,
4203
- canvasEntities: b,
4204
- closeCanvas: g,
4203
+ canvasEntities: g,
4204
+ closeCanvas: b,
4205
4205
  chatWidth: v,
4206
4206
  resizable: y
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, [
4207
+ } = br(), I = m === "fullscreen", z = m === "canvas", { open: R } = qe(), D = y ? v : xr, E = G(I), L = I && !E.current, H = !I && E.current, [
4208
4208
  T,
4209
4209
  w
4210
4210
  ] = _(!1);
@@ -4222,7 +4222,7 @@ function zi({
4222
4222
  }, [u, d]), $(() => {
4223
4223
  d(R);
4224
4224
  }, [R, d]), Ti(u, F), /* @__PURE__ */ e(
4225
- Jr,
4225
+ Qr,
4226
4226
  {
4227
4227
  reducedMotion: f ? "always" : "never",
4228
4228
  transition: {
@@ -4231,7 +4231,7 @@ function zi({
4231
4231
  },
4232
4232
  children: /* @__PURE__ */ o("div", { className: "scrollbar-macos grid h-screen grid-cols-1 grid-rows-[auto_minmax(0,1fr)]", children: [
4233
4233
  /* @__PURE__ */ e("div", { className: "col-[1/-1]", children: l }),
4234
- /* @__PURE__ */ e(vn, { id: "ai-chat-group", children: /* @__PURE__ */ o("div", { className: "relative isolate flex h-full", children: [
4234
+ /* @__PURE__ */ e(wn, { id: "ai-chat-group", children: /* @__PURE__ */ o("div", { className: "relative isolate flex h-full", children: [
4235
4235
  /* @__PURE__ */ e(_e, { children: i === "unlocked" && /* @__PURE__ */ e(
4236
4236
  X.nav,
4237
4237
  {
@@ -4309,11 +4309,11 @@ function zi({
4309
4309
  ),
4310
4310
  style: B ? void 0 : { right: D },
4311
4311
  children: /* @__PURE__ */ e(
4312
- gr,
4312
+ vr,
4313
4313
  {
4314
4314
  content: h,
4315
- onClose: g,
4316
- entities: b
4315
+ onClose: b,
4316
+ entities: g
4317
4317
  }
4318
4318
  )
4319
4319
  }
@@ -4343,7 +4343,7 @@ function zi({
4343
4343
  onAnimationComplete: () => {
4344
4344
  T && w(!1);
4345
4345
  },
4346
- children: /* @__PURE__ */ e(xr, {})
4346
+ children: /* @__PURE__ */ e(wr, {})
4347
4347
  }
4348
4348
  )
4349
4349
  ]
@@ -4355,7 +4355,7 @@ function zi({
4355
4355
  }
4356
4356
  );
4357
4357
  }
4358
- const Pi = be({
4358
+ const Pi = ge({
4359
4359
  base: "pointer-events-none absolute inset-0 h-screen max-h-[1000px] opacity-[0.08]",
4360
4360
  variants: {
4361
4361
  period: {
@@ -4402,7 +4402,7 @@ function Zn({
4402
4402
  ),
4403
4403
  children: [
4404
4404
  n?.onPulseClick ? /* @__PURE__ */ e(
4405
- Qr,
4405
+ yr,
4406
4406
  {
4407
4407
  src: n.employeeAvatar,
4408
4408
  firstName: n.employeeFirstName,
@@ -4494,7 +4494,7 @@ function Ri({ label: t, options: n, hasNewUpdate: a }) {
4494
4494
  ),
4495
4495
  "aria-label": t,
4496
4496
  children: [
4497
- /* @__PURE__ */ e(M, { icon: wn, size: "sm" }),
4497
+ /* @__PURE__ */ e(M, { icon: yn, size: "sm" }),
4498
4498
  a && /* @__PURE__ */ e("div", { className: "absolute right-0.5 top-0.5 h-1.5 w-1.5 rounded-full bg-f1-background-critical-bold ring-2 ring-f1-background-critical" })
4499
4499
  ]
4500
4500
  }
@@ -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: bt, size: "xs" })
4623
+ children: /* @__PURE__ */ e(M, { icon: gt, size: "xs" })
4624
4624
  }
4625
4625
  ) }) })
4626
4626
  ]
@@ -4639,12 +4639,12 @@ const Wi = ({
4639
4639
  ),
4640
4640
  children: [
4641
4641
  /* @__PURE__ */ e(
4642
- vr,
4642
+ Nr,
4643
4643
  {
4644
4644
  name: t?.name?.[0],
4645
4645
  src: t?.logo,
4646
4646
  size: "sm",
4647
- badge: n ? { icon: yn, type: "highlight" } : void 0
4647
+ badge: n ? { icon: Nn, type: "highlight" } : void 0
4648
4648
  }
4649
4649
  ),
4650
4650
  /* @__PURE__ */ e(me, { tag: "span", children: t?.name ?? "" })
@@ -4684,7 +4684,7 @@ function Yo({
4684
4684
  ]
4685
4685
  }
4686
4686
  ) }) }),
4687
- a && /* @__PURE__ */ e(ge, { label: c.notifications, shortcut: r, children: /* @__PURE__ */ o("div", { className: "relative", children: [
4687
+ a && /* @__PURE__ */ e(be, { label: c.notifications, shortcut: r, children: /* @__PURE__ */ o("div", { className: "relative", children: [
4688
4688
  /* @__PURE__ */ e(
4689
4689
  W,
4690
4690
  {
@@ -4695,7 +4695,7 @@ function Yo({
4695
4695
  hideLabel: !0
4696
4696
  }
4697
4697
  ),
4698
- s && /* @__PURE__ */ e("div", { className: "absolute -right-1 -top-1 rounded-full bg-f1-background", children: /* @__PURE__ */ e(wr, { type: "highlight", size: "sm", icon: yn }) })
4698
+ s && /* @__PURE__ */ e("div", { className: "absolute -right-1 -top-1 rounded-full bg-f1-background", children: /* @__PURE__ */ e(Cr, { type: "highlight", size: "sm", icon: Nn }) })
4699
4699
  ] }) })
4700
4700
  ] });
4701
4701
  }
@@ -4759,7 +4759,7 @@ function ji() {
4759
4759
  return $(() => {
4760
4760
  t === "hidden" && n === "locked" && l.current?.focus();
4761
4761
  }, [t, n]), /* @__PURE__ */ o(
4762
- xn,
4762
+ vn,
4763
4763
  {
4764
4764
  variant: "ghost",
4765
4765
  size: "md",
@@ -4866,26 +4866,26 @@ const Hi = ({
4866
4866
  onReorderFinish: c,
4867
4867
  isSortable: d = !0
4868
4868
  }) => {
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(() => {
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(() => {
4870
4870
  const F = [];
4871
4871
  return !E && !R && F.push({
4872
4872
  label: f.actions.moveUp,
4873
4873
  onClick: () => s?.(l, l - 1),
4874
- icon: yr
4874
+ icon: kr
4875
4875
  }), !E && !D && F.push({
4876
4876
  label: f.actions.moveDown,
4877
4877
  onClick: () => s?.(l, l + 1),
4878
- icon: Nr
4878
+ icon: Sr
4879
4879
  }), F.length > 0 && F.push({ type: "separator" }), F.push({
4880
4880
  label: f.favorites.remove,
4881
4881
  onClick: () => r?.(t),
4882
- icon: Cr,
4882
+ icon: Ir,
4883
4883
  critical: !0
4884
4884
  }), F;
4885
4885
  }, [E, R, D, f, s, l, r, t]), H = () => {
4886
- m(!0), z(!1), b(t.href || null), y.current = !0;
4886
+ m(!0), z(!1), g(t.href || null), y.current = !0;
4887
4887
  }, T = () => {
4888
- m(!1), b(null), c(), setTimeout(() => {
4888
+ m(!1), g(null), c(), setTimeout(() => {
4889
4889
  y.current = !1;
4890
4890
  }, 0);
4891
4891
  }, w = u && h === t.href, k = q(
@@ -4921,7 +4921,7 @@ const Hi = ({
4921
4921
  v ? "text-f1-icon-bold" : "text-f1-icon"
4922
4922
  )
4923
4923
  }
4924
- ) : t.avatar ? /* @__PURE__ */ e(kr, { size: "xs", avatar: t.avatar }) : null,
4924
+ ) : t.avatar ? /* @__PURE__ */ e(Fr, { size: "xs", avatar: t.avatar }) : null,
4925
4925
  /* @__PURE__ */ e(
4926
4926
  me,
4927
4927
  {
@@ -4949,7 +4949,7 @@ const Hi = ({
4949
4949
  open: I,
4950
4950
  onOpenChange: z,
4951
4951
  items: L,
4952
- children: /* @__PURE__ */ e("div", { className: "flex items-center justify-center", role: "list", children: /* @__PURE__ */ e(M, { icon: st, size: "sm" }) })
4952
+ children: /* @__PURE__ */ e("div", { className: "flex items-center justify-center", role: "list", children: /* @__PURE__ */ e(M, { icon: ot, size: "sm" }) })
4953
4953
  }
4954
4954
  )
4955
4955
  }
@@ -4985,7 +4985,7 @@ const Hi = ({
4985
4985
  const m = !c;
4986
4986
  d(m), r?.(m);
4987
4987
  };
4988
- return /* @__PURE__ */ e("div", { children: /* @__PURE__ */ o(Sr, { open: c, children: [
4988
+ return /* @__PURE__ */ e("div", { children: /* @__PURE__ */ o(Ar, { open: c, children: [
4989
4989
  /* @__PURE__ */ e("div", { className: "group relative flex items-center", children: /* @__PURE__ */ o(
4990
4990
  "div",
4991
4991
  {
@@ -5011,7 +5011,7 @@ const Hi = ({
5011
5011
  children: /* @__PURE__ */ e(
5012
5012
  M,
5013
5013
  {
5014
- icon: bt,
5014
+ icon: gt,
5015
5015
  size: "xs",
5016
5016
  className: "text-f1-icon-secondary"
5017
5017
  }
@@ -5021,7 +5021,7 @@ const Hi = ({
5021
5021
  ]
5022
5022
  }
5023
5023
  ) }),
5024
- /* @__PURE__ */ e(Ir, { forceMount: !0, className: "flex flex-col gap-1", children: /* @__PURE__ */ e(
5024
+ /* @__PURE__ */ e(Lr, { forceMount: !0, className: "flex flex-col gap-1", children: /* @__PURE__ */ e(
5025
5025
  X.div,
5026
5026
  {
5027
5027
  initial: !1,
@@ -5052,9 +5052,9 @@ const Hi = ({
5052
5052
  c(!1), setTimeout(() => {
5053
5053
  d.current = !1, i && l?.(i);
5054
5054
  }, 0);
5055
- }, h = (g) => {
5056
- !s && !d.current && r?.(t, g);
5057
- }, b = /* @__PURE__ */ e(
5055
+ }, h = (b) => {
5056
+ !s && !d.current && r?.(t, b);
5057
+ }, g = /* @__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((g, v) => /* @__PURE__ */ e(Ui, { item: g }, v))
5073
+ children: t.items.map((b, v) => /* @__PURE__ */ e(Ui, { item: b }, 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: b
5113
+ children: g
5114
5114
  }
5115
- ) : b;
5115
+ ) : g;
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
- (g) => g.isSortable === !1
5125
+ (b) => b.isSortable === !1
5126
5126
  ), [c, d] = _(
5127
- t.filter((g) => g.isSortable !== !1)
5128
- ), [f, u] = _(0), m = Q((g) => {
5129
- d(g);
5127
+ t.filter((b) => b.isSortable !== !1)
5128
+ ), [f, u] = _(0), m = Q((b) => {
5129
+ d(b);
5130
5130
  }, []), h = Q(
5131
- (g) => {
5132
- a?.(g);
5131
+ (b) => {
5132
+ a?.(b);
5133
5133
  },
5134
5134
  [a]
5135
- ), b = Vi();
5136
- return /* @__PURE__ */ e(Gi, { children: /* @__PURE__ */ e(vn, { id: "sidebar-menu", children: /* @__PURE__ */ e(
5135
+ ), g = Vi();
5136
+ return /* @__PURE__ */ e(Gi, { children: /* @__PURE__ */ e(wn, { id: "sidebar-menu", children: /* @__PURE__ */ e(
5137
5137
  qi,
5138
5138
  {
5139
- disableDragging: b,
5139
+ disableDragging: g,
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((g) => g + 1)
5148
+ forceUpdate: () => u((b) => b + 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), b = t.filter((x) => !x.isRoot).length > 0, g = 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), g = t.filter((x) => !x.isRoot).length > 0, b = 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]);
@@ -5256,7 +5256,7 @@ function qi({
5256
5256
  `fixed-${N}`
5257
5257
  )) }),
5258
5258
  z && /* @__PURE__ */ e("div", { className: "mt-3 flex w-full flex-col gap-3 bg-transparent px-3", children: /* @__PURE__ */ e(Qn, { title: u.favorites.favorites, children: /* @__PURE__ */ e("div", { ref: v, children: f ? /* @__PURE__ */ e("div", { className: w, children: C }) : /* @__PURE__ */ e(
5259
- Dt,
5259
+ Tt,
5260
5260
  {
5261
5261
  axis: "y",
5262
5262
  values: y,
@@ -5265,7 +5265,7 @@ function qi({
5265
5265
  children: C
5266
5266
  }
5267
5267
  ) }) }) }),
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(
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(
5269
5269
  nt,
5270
5270
  {
5271
5271
  category: x,
@@ -5273,7 +5273,7 @@ function qi({
5273
5273
  },
5274
5274
  `fixed-${N}`
5275
5275
  )) }),
5276
- g && /* @__PURE__ */ e(
5276
+ b && /* @__PURE__ */ e(
5277
5277
  "div",
5278
5278
  {
5279
5279
  className: p(
@@ -5281,7 +5281,7 @@ function qi({
5281
5281
  ),
5282
5282
  ref: r,
5283
5283
  children: f ? /* @__PURE__ */ e("div", { className: F, children: B }) : /* @__PURE__ */ e(
5284
- Dt,
5284
+ Tt,
5285
5285
  {
5286
5286
  axis: "y",
5287
5287
  values: n,
@@ -5300,7 +5300,7 @@ function qi({
5300
5300
  const Yi = ({
5301
5301
  tooltip: t,
5302
5302
  children: n
5303
- }) => t ? /* @__PURE__ */ e(ge, { description: t, children: n }) : n;
5303
+ }) => t ? /* @__PURE__ */ e(be, { description: t, children: n }) : n;
5304
5304
  function Jo({
5305
5305
  onClick: t,
5306
5306
  placeholder: n,
@@ -5319,10 +5319,10 @@ function Jo({
5319
5319
  ...r,
5320
5320
  children: [
5321
5321
  /* @__PURE__ */ o("div", { className: "flex items-center gap-1", children: [
5322
- /* @__PURE__ */ e(M, { icon: Fr, size: "md" }),
5322
+ /* @__PURE__ */ e(M, { icon: Er, size: "md" }),
5323
5323
  /* @__PURE__ */ e("span", { children: n })
5324
5324
  ] }),
5325
- /* @__PURE__ */ e("div", { className: "hidden xs:block", children: /* @__PURE__ */ e(Ar, { keys: a }) })
5325
+ /* @__PURE__ */ e("div", { className: "hidden xs:block", children: /* @__PURE__ */ e(_r, { keys: a }) })
5326
5326
  ]
5327
5327
  }
5328
5328
  ) });
@@ -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
- }, b = () => a ? Kr(a) && r ? An(
5365
+ }, g = () => a ? Zr(a) && r ? Ln(
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: b() })
5421
+ /* @__PURE__ */ e("footer", { className: "flex-shrink-0", children: g() })
5422
5422
  ]
5423
5423
  }
5424
5424
  );
@@ -5440,7 +5440,7 @@ const Qo = ne(Zi), Xi = {
5440
5440
  size: "sm"
5441
5441
  }
5442
5442
  }, Ji = {
5443
- icon: wn,
5443
+ icon: yn,
5444
5444
  type: "neutral",
5445
5445
  size: "sm"
5446
5446
  }, Qi = {
@@ -5481,7 +5481,7 @@ const ts = ({
5481
5481
  ] }),
5482
5482
  /* @__PURE__ */ e($e, { text: s, variant: Xi[a] })
5483
5483
  ] }),
5484
- /* @__PURE__ */ e("div", { className: "w-full", children: /* @__PURE__ */ e(Nn, { avatars: c, layout: "fill", type: "person", size: "md" }) })
5484
+ /* @__PURE__ */ e("div", { className: "w-full", children: /* @__PURE__ */ e(Cn, { avatars: c, layout: "fill", type: "person", size: "md" }) })
5485
5485
  ] });
5486
5486
  }, ns = ({ steps: t }) => {
5487
5487
  const a = ie().approvals.history, r = t.findIndex((l) => l.status === "pending");
@@ -5542,7 +5542,7 @@ const ts = ({
5542
5542
  md: "gap-2",
5543
5543
  lg: "gap-3",
5544
5544
  xl: "gap-4"
5545
- }, as = be({
5545
+ }, as = ge({
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 = be({
5577
+ }), ls = ge({
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: b,
5668
- ...g
5667
+ width: g,
5668
+ ...b
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: b
5686
+ width: g
5687
5687
  }),
5688
5688
  n
5689
5689
  ),
5690
5690
  ref: v,
5691
- ...g
5691
+ ...b
5692
5692
  }
5693
5693
  );
5694
- }), is = be({
5694
+ }), is = ge({
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 = be({
5716
+ }), os = ge({
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 = (b) => !!b && !(se.isValidElement(b) && b.type === se.Fragment && se.Children.count(b.props.children) === 0), h = () => {
5784
+ const m = (g) => !!g && !(se.isValidElement(g) && g.type === se.Fragment && se.Children.count(g.props.children) === 0), h = () => {
5785
5785
  n?.link?.onClick?.();
5786
5786
  };
5787
5787
  return /* @__PURE__ */ o(
@@ -5799,12 +5799,12 @@ const ts = ({
5799
5799
  n.title && /* @__PURE__ */ e(wt, { className: "truncate", children: n.title }),
5800
5800
  n.subtitle && /* @__PURE__ */ o("div", { className: "flex flex-row items-center gap-1", children: [
5801
5801
  /* @__PURE__ */ e(us, {}),
5802
- /* @__PURE__ */ e(Cn, { className: "truncate", children: n.subtitle })
5802
+ /* @__PURE__ */ e(kn, { className: "truncate", children: n.subtitle })
5803
5803
  ] }),
5804
- n.info && /* @__PURE__ */ e(ge, { label: n.info, children: /* @__PURE__ */ e(
5804
+ n.info && /* @__PURE__ */ e(be, { label: n.info, children: /* @__PURE__ */ e(
5805
5805
  M,
5806
5806
  {
5807
- icon: kn,
5807
+ icon: Sn,
5808
5808
  size: "sm",
5809
5809
  className: "text-f1-foreground-secondary"
5810
5810
  }
@@ -5812,10 +5812,10 @@ const ts = ({
5812
5812
  n.count && /* @__PURE__ */ e("div", { className: "ml-0.5", children: /* @__PURE__ */ e(He, { value: n.count }) })
5813
5813
  ] }),
5814
5814
  /* @__PURE__ */ o("div", { className: "flex flex-row items-center gap-3", children: [
5815
- i && /* @__PURE__ */ e(Sn, { text: i, level: "critical" }),
5815
+ i && /* @__PURE__ */ e(In, { text: i, level: "critical" }),
5816
5816
  s && /* @__PURE__ */ e($e, { text: s.text, variant: s.variant }),
5817
5817
  n.link && /* @__PURE__ */ e(
5818
- Lr,
5818
+ Or,
5819
5819
  {
5820
5820
  onClick: h,
5821
5821
  href: n.link.url,
@@ -5826,11 +5826,11 @@ const ts = ({
5826
5826
  ] })
5827
5827
  ] }),
5828
5828
  n.comment && /* @__PURE__ */ o("div", { className: "flex flex-row items-center gap-3 overflow-visible", children: [
5829
- /* @__PURE__ */ e(ds, { children: /* @__PURE__ */ e(Er, { children: n.comment }) }),
5829
+ /* @__PURE__ */ e(ds, { children: /* @__PURE__ */ e(Dr, { children: n.comment }) }),
5830
5830
  !!n.canBeBlurred && /* @__PURE__ */ e("span", { children: /* @__PURE__ */ e(
5831
5831
  W,
5832
5832
  {
5833
- icon: f ? _r : Or,
5833
+ icon: f ? Tr : zr,
5834
5834
  hideLabel: !0,
5835
5835
  label: "hide/show",
5836
5836
  variant: "outline",
@@ -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((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 }),
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 }),
5846
5846
  /* @__PURE__ */ o("div", { className: "flex flex-row items-end gap-0.5 text-2xl font-semibold", children: [
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 })
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 })
5850
5850
  ] })
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))
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))
5856
5856
  ] }),
5857
- r && /* @__PURE__ */ e(Dr, { children: /* @__PURE__ */ e(W, { variant: "neutral", size: "sm", ...r }) })
5857
+ r && /* @__PURE__ */ e(Pr, { children: /* @__PURE__ */ e(W, { variant: "neutral", size: "sm", ...r }) })
5858
5858
  ]
5859
5859
  }
5860
5860
  );
5861
- }), ms = be({
5861
+ }), ms = ge({
5862
5862
  variants: {
5863
5863
  height: {
5864
5864
  sm: "h-36",
@@ -5886,7 +5886,7 @@ const ts = ({
5886
5886
  "aria-hidden": !0,
5887
5887
  children: [
5888
5888
  n?.title ? /* @__PURE__ */ e(wt, { children: n.title }) : /* @__PURE__ */ e(O, { className: "h-4 w-full max-w-16" }),
5889
- n?.subtitle && /* @__PURE__ */ e(Cn, { children: n.subtitle })
5889
+ n?.subtitle && /* @__PURE__ */ e(kn, { children: n.subtitle })
5890
5890
  ]
5891
5891
  }
5892
5892
  ) }),
@@ -5939,10 +5939,10 @@ const ts = ({
5939
5939
  );
5940
5940
  }),
5941
5941
  ce.Skeleton
5942
- ), bs = K(
5942
+ ), gs = K(
5943
5943
  "AreaChartWidget",
5944
5944
  ps
5945
- ), gs = j(function(n, a) {
5945
+ ), bs = 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(gs, ce.Skeleton)
5956
+ ee(bs, 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
- bs
6023
+ gs
6024
6024
  ), lc = ue(
6025
6025
  {
6026
6026
  name: "BarChartWidget",
@@ -6398,7 +6398,7 @@ function Ps(t, n) {
6398
6398
  visibleItems: [],
6399
6399
  overflowItems: []
6400
6400
  });
6401
- Tr({
6401
+ Br({
6402
6402
  ref: a,
6403
6403
  onResize: () => {
6404
6404
  f();
@@ -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 b = u[h].getBoundingClientRect().height;
6415
- m.push(b);
6414
+ const g = u[h].getBoundingClientRect().height;
6415
+ m.push(g);
6416
6416
  }
6417
6417
  return m;
6418
6418
  }, []), d = Q(
6419
6419
  (u, m) => {
6420
- let h = 0, b = 0;
6421
- for (let g = 0; g < u.length; g++) {
6422
- const v = b + u[g];
6420
+ let h = 0, g = 0;
6421
+ for (let b = 0; b < u.length; b++) {
6422
+ const v = g + u[b];
6423
6423
  if (v > m + 30) break;
6424
- b = v, b = s(
6425
- b,
6424
+ g = v, g = s(
6426
6425
  g,
6426
+ b,
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
- } : (b) => b.visibleItems.length === h && b.overflowItems.length === t.length - h ? b : {
6442
+ } : (g) => g.visibleItems.length === h && g.overflowItems.length === t.length - h ? g : {
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(gt, { emoji: l.emoji, size: "md" }) })
6575
+ "emoji" in l && l.emoji && /* @__PURE__ */ e("span", { className: p("flex", r), children: /* @__PURE__ */ e(bt, { emoji: l.emoji, size: "md" }) })
6576
6576
  ] })
6577
6577
  ] }, a);
6578
6578
  }
@@ -6629,14 +6629,14 @@ function hc({
6629
6629
  withEmoji: "emoji" in c && !!c.emoji,
6630
6630
  withPointerCursor: i,
6631
6631
  children: [
6632
- "alert" in c && c.alert && /* @__PURE__ */ e(zr, { type: c.alert }),
6633
- "emoji" in c && c.emoji && /* @__PURE__ */ e(Pr, { emoji: c.emoji }),
6632
+ "alert" in c && c.alert && /* @__PURE__ */ e(Rr, { type: c.alert }),
6633
+ "emoji" in c && c.emoji && /* @__PURE__ */ e($r, { emoji: c.emoji }),
6634
6634
  /* @__PURE__ */ o("div", { className: "flex-1", children: [
6635
6635
  /* @__PURE__ */ e("p", { className: "line-clamp-1 font-medium", children: n }),
6636
6636
  /* @__PURE__ */ e("p", { className: "line-clamp-1 text-f1-foreground-secondary", children: a })
6637
6637
  ] }),
6638
6638
  /* @__PURE__ */ e("div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ e(
6639
- Nn,
6639
+ Cn,
6640
6640
  {
6641
6641
  avatars: r,
6642
6642
  remainingCount: l,
@@ -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(gn, { module: l ?? "inbox", size: "md" }),
6666
+ /* @__PURE__ */ e(xn, { 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 })
@@ -6710,7 +6710,7 @@ function ht({
6710
6710
  )
6711
6711
  ] }),
6712
6712
  /* @__PURE__ */ o("div", { className: "flex flex-row items-center gap-2", children: [
6713
- a && /* @__PURE__ */ e(Sn, { ...a }),
6713
+ a && /* @__PURE__ */ e(In, { ...a }),
6714
6714
  r && /* @__PURE__ */ e(Ee, { ...r }),
6715
6715
  !!l && /* @__PURE__ */ e(He, { value: l })
6716
6716
  ] })
@@ -6734,7 +6734,7 @@ function pc({
6734
6734
  }
6735
6735
  );
6736
6736
  }
6737
- function bc({
6737
+ function gc({
6738
6738
  items: t,
6739
6739
  gap: n,
6740
6740
  minSize: a = 184,
@@ -6754,18 +6754,18 @@ function bc({
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
- ] }), gc = j(
6757
+ ] }), bc = 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
- ge,
6764
+ be,
6765
6765
  {
6766
6766
  label: r.label,
6767
6767
  description: r.description,
6768
- children: /* @__PURE__ */ e(M, { icon: kn, size: "sm" })
6768
+ children: /* @__PURE__ */ e(M, { icon: Sn, size: "sm" })
6769
6769
  }
6770
6770
  ) })
6771
6771
  ] }),
@@ -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), 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}`;
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}`;
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, b = m.variant === "clocked-in" ? Math.min(h, c) : 0, v = (h - b) / i;
6866
- return c -= b, m.variant === "clocked-in" && r ? [
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 ? [
6867
6867
  ...u,
6868
6868
  {
6869
- value: b / i + v,
6869
+ value: g / i + v,
6870
6870
  color: xe.overtime
6871
6871
  }
6872
6872
  ] : [
6873
6873
  ...u,
6874
6874
  {
6875
- value: b / i,
6875
+ value: g / i,
6876
6876
  color: xe.overtime
6877
6877
  },
6878
6878
  {
@@ -6894,7 +6894,7 @@ const ta = (t, n) => ((n ?? 0) < -1 * (t ?? 0) ? -1 * t : n) ?? 0, Vs = ({
6894
6894
  remainingMinutes: n,
6895
6895
  trackedMinutes: a = 0
6896
6896
  }) => {
6897
- const r = t.find((h) => h.variant === "clocked-in")?.from, l = t.at(-1), i = r ? Tt(r) : at, s = n === void 0 || n > 0 ? at : l ? Tt(l.to) : at, d = l?.variant === "break" ? l?.to.getTime() - l?.from.getTime() || 0 : a * 60 * 1e3, f = Math.floor(d / (1e3 * 60 * 60)), u = Math.floor(d % (1e3 * 60 * 60) / (1e3 * 60)), m = `${f.toString().padStart(2, "0")}:${u.toString().padStart(2, "0")}`;
6897
+ const r = t.find((h) => h.variant === "clocked-in")?.from, l = t.at(-1), i = r ? Et(r) : at, s = n === void 0 || n > 0 ? at : l ? Et(l.to) : at, d = l?.variant === "break" ? l?.to.getTime() - l?.from.getTime() || 0 : a * 60 * 1e3, f = Math.floor(d / (1e3 * 60 * 60)), u = Math.floor(d % (1e3 * 60 * 60) / (1e3 * 60)), m = `${f.toString().padStart(2, "0")}:${u.toString().padStart(2, "0")}`;
6898
6898
  return {
6899
6899
  primaryLabel: i,
6900
6900
  secondaryLabel: s,
@@ -6938,7 +6938,7 @@ function Ks({
6938
6938
  strokeWidth: 0,
6939
6939
  isAnimationActive: !1,
6940
6940
  children: r.map((c, d) => /* @__PURE__ */ e(
6941
- Br,
6941
+ Wr,
6942
6942
  {
6943
6943
  fill: c.color,
6944
6944
  role: "presentation",
@@ -6978,7 +6978,7 @@ function qs({
6978
6978
  children: t ?? n
6979
6979
  }
6980
6980
  ),
6981
- /* @__PURE__ */ e(M, { icon: Rr })
6981
+ /* @__PURE__ */ e(M, { icon: Mr })
6982
6982
  ]
6983
6983
  }
6984
6984
  );
@@ -6997,8 +6997,8 @@ function vc({
6997
6997
  onBreak: u,
6998
6998
  breakTypes: m,
6999
6999
  onChangeBreakTypeId: h,
7000
- canShowBreakButton: b = !0,
7001
- canSeeGraph: g = !0,
7000
+ canShowBreakButton: g = !0,
7001
+ canSeeGraph: b = !0,
7002
7002
  canSeeRemainingTime: v = !0,
7003
7003
  // onClickProjectSelector,
7004
7004
  onChangeLocationId: y,
@@ -7073,11 +7073,11 @@ function vc({
7073
7073
  {
7074
7074
  onClick: d,
7075
7075
  label: r.clockIn,
7076
- icon: Et
7076
+ icon: _t
7077
7077
  }
7078
7078
  ) }),
7079
7079
  D === "clocked-in" && /* @__PURE__ */ o(U, { children: [
7080
- b && /* @__PURE__ */ e(U, { children: w.length > 1 && h ? /* @__PURE__ */ e(
7080
+ g && /* @__PURE__ */ e(U, { children: w.length > 1 && h ? /* @__PURE__ */ e(
7081
7081
  We,
7082
7082
  {
7083
7083
  label: r.break,
@@ -7092,7 +7092,7 @@ function vc({
7092
7092
  {
7093
7093
  label: r.break,
7094
7094
  variant: "neutral",
7095
- icon: _t,
7095
+ icon: Ot,
7096
7096
  hideLabel: !0
7097
7097
  }
7098
7098
  ) })
@@ -7103,7 +7103,7 @@ function vc({
7103
7103
  onClick: F,
7104
7104
  label: r.break,
7105
7105
  variant: "neutral",
7106
- icon: _t,
7106
+ icon: Ot,
7107
7107
  hideLabel: !0
7108
7108
  }
7109
7109
  ) }),
@@ -7113,7 +7113,7 @@ function vc({
7113
7113
  onClick: f,
7114
7114
  label: r.clockOut,
7115
7115
  variant: "neutral",
7116
- icon: Ot
7116
+ icon: Dt
7117
7117
  }
7118
7118
  )
7119
7119
  ] }),
@@ -7124,7 +7124,7 @@ function vc({
7124
7124
  onClick: f,
7125
7125
  label: r.clockOut,
7126
7126
  variant: "neutral",
7127
- icon: Ot,
7127
+ icon: Dt,
7128
7128
  hideLabel: !0
7129
7129
  }
7130
7130
  ),
@@ -7133,13 +7133,13 @@ function vc({
7133
7133
  {
7134
7134
  onClick: d,
7135
7135
  label: r.resume,
7136
- icon: Et
7136
+ icon: _t
7137
7137
  }
7138
7138
  )
7139
7139
  ] })
7140
7140
  ] })
7141
7141
  ] }),
7142
- g && /* @__PURE__ */ e(
7142
+ b && /* @__PURE__ */ e(
7143
7143
  Ks,
7144
7144
  {
7145
7145
  data: a,
@@ -7179,9 +7179,9 @@ function vc({
7179
7179
  ] }) });
7180
7180
  }
7181
7181
  const Ys = {
7182
- done: Mr,
7183
- "in-progress": Wr,
7184
- todo: $r
7182
+ done: Gr,
7183
+ "in-progress": Vr,
7184
+ todo: jr
7185
7185
  }, Zs = {
7186
7186
  done: "text-f1-icon-success",
7187
7187
  "in-progress": "text-f1-icon-info",
@@ -7212,7 +7212,7 @@ function Xs({
7212
7212
  } : void 0,
7213
7213
  rawTag: t.badge && !t.badge.isPastDue ? {
7214
7214
  text: t.badge.text,
7215
- icon: jr
7215
+ icon: Hr
7216
7216
  } : void 0,
7217
7217
  count: t.counter,
7218
7218
  onClick: l
@@ -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: b }) => ({
7239
+ ).map(({ id: u, text: m, badge: h, counter: g }) => ({
7240
7240
  id: u,
7241
7241
  text: m,
7242
7242
  badge: h,
7243
- counter: b,
7243
+ counter: g,
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
- }, 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 });
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 });
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 = go({ availableSpots: i, stone: s, containerSize: n }), d = c.position.top + s.height;
7322
+ let c = bo({ 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), 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 }));
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 }));
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,16 +7374,16 @@ 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: 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) => {
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: En.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
- return An(v, oe(oe({}, v.props), I));
7381
+ return Ln(v, oe(oe({}, v.props), I));
7382
7382
  }) }));
7383
7383
  };
7384
7384
  const Lo = { sm: 340, md: 480, lg: 640 }, rn = j(
7385
7385
  function({ children: n, widgetWidth: a = "sm" }, r) {
7386
- const l = Lo[a], [i, s] = _(), c = Ln.toArray(n), d = G(null);
7386
+ const l = Lo[a], [i, s] = _(), c = En.toArray(n), d = G(null);
7387
7387
  return $(() => {
7388
7388
  const f = () => {
7389
7389
  const u = d.current?.offsetWidth;
@@ -7404,11 +7404,11 @@ const Lo = { sm: 340, md: 480, lg: 640 }, rn = j(
7404
7404
  u
7405
7405
  )) }, i) }) }) });
7406
7406
  }
7407
- ), Eo = ["sm", "lg", "md", "md", "lg", "sm", "lg", "lg", "sm", "sm", "md", "md"], yc = ee(rn, () => /* @__PURE__ */ e(In, { children: /* @__PURE__ */ e(rn, { children: Eo.map((t, n) => /* @__PURE__ */ e(Ne.Skeleton, { height: t }, n)) }) })), ln = ({ children: t }) => /* @__PURE__ */ e("div", { className: "flex min-h-40 flex-row items-stretch gap-4 text-f1-foreground @container [&>div]:min-w-[calc(100vw-64px)] @2xl:[&>div]:min-w-[calc(50vw-48px)]", children: t }), Nc = ee(
7407
+ ), Eo = ["sm", "lg", "md", "md", "lg", "sm", "lg", "lg", "sm", "sm", "md", "md"], yc = ee(rn, () => /* @__PURE__ */ e(Fn, { children: /* @__PURE__ */ e(rn, { children: Eo.map((t, n) => /* @__PURE__ */ e(Ne.Skeleton, { height: t }, n)) }) })), ln = ({ children: t }) => /* @__PURE__ */ e("div", { className: "flex min-h-40 flex-row items-stretch gap-4 text-f1-foreground @container [&>div]:min-w-[calc(100vw-64px)] @2xl:[&>div]:min-w-[calc(50vw-48px)]", children: t }), Nc = ee(
7408
7408
  j(function({ children: n }, a) {
7409
7409
  return /* @__PURE__ */ e(Ge, { ref: a, showBar: !1, children: /* @__PURE__ */ e(ln, { children: n }) });
7410
7410
  }),
7411
- () => /* @__PURE__ */ e(In, { orientation: "horizontal", children: /* @__PURE__ */ o(ln, { children: [
7411
+ () => /* @__PURE__ */ e(Fn, { orientation: "horizontal", children: /* @__PURE__ */ o(ln, { children: [
7412
7412
  /* @__PURE__ */ e(Ne.Skeleton, {}),
7413
7413
  /* @__PURE__ */ e(Ne.Skeleton, {}),
7414
7414
  /* @__PURE__ */ e(Ne.Skeleton, {})
@@ -7437,7 +7437,7 @@ function _o({
7437
7437
  const Cc = ne(
7438
7438
  K("WidgetEmptyState", _o)
7439
7439
  ), ra = j(
7440
- ({ title: t, children: n }, a) => (Vr(
7440
+ ({ title: t, children: n }, a) => (Ur(
7441
7441
  t,
7442
7442
  { disallowEmpty: !0 },
7443
7443
  { componentName: "WidgetSection" }
@@ -7455,7 +7455,7 @@ const kc = ne(
7455
7455
  disallowedRoutes: a,
7456
7456
  children: r
7457
7457
  }) => {
7458
- const l = Gr(), i = window.location.pathname, s = q(() => n?.length ? n.includes(i) : a?.length ? !a.includes(i) : !0, [i, n, a]), c = q(() => {
7458
+ const l = Kr(), i = window.location.pathname, s = q(() => n?.length ? n.includes(i) : a?.length ? !a.includes(i) : !0, [i, n, a]), c = q(() => {
7459
7459
  let d = `The component ${t} is not allowed to be rendered in the current route.`;
7460
7460
  return n && n.length > 0 && (d += ` Allowed routes: ${n.join(", ")}`), a && a.length > 0 && (d += ` Disallowed routes: ${a.join(", ")}`), d;
7461
7461
  }, [t, n, a]);
@@ -7478,24 +7478,24 @@ export {
7478
7478
  nd as AreaChart,
7479
7479
  rc as AreaChartWidget,
7480
7480
  ac as AutoGrid,
7481
- wr as Badge,
7481
+ Cr as Badge,
7482
7482
  ad as BarChart,
7483
7483
  lc as BarChartWidget,
7484
7484
  di as BaseActivityItemList,
7485
7485
  rd as BaseBanner,
7486
- bi as BaseCelebration,
7486
+ gi as BaseCelebration,
7487
7487
  Ii as BaseCommunityPost,
7488
7488
  Lc as BaseTabs,
7489
7489
  Ec as BreadcrumbSelect,
7490
- bl as Breadcrumbs,
7490
+ gl as Breadcrumbs,
7491
7491
  mt as CalendarEvent,
7492
7492
  uc as CalendarEventList,
7493
7493
  ld as CardSelectableContainer,
7494
- qr as Carousel,
7494
+ Xr as Carousel,
7495
7495
  id as CategoryBarChart,
7496
7496
  xc as CategoryBarSection,
7497
7497
  Mo as Celebration,
7498
- gi as CelebrationSkeleton,
7498
+ bi as CelebrationSkeleton,
7499
7499
  dc as ChartWidgetEmptyState,
7500
7500
  _c as Chip,
7501
7501
  vc as ClockInControls,
@@ -7513,7 +7513,7 @@ export {
7513
7513
  $o as EntitySelect,
7514
7514
  cd as F0ActionBar,
7515
7515
  dd as F0AiBanner,
7516
- gn as F0AvatarModule,
7516
+ xn as F0AvatarModule,
7517
7517
  Tc as F0ButtonToggle,
7518
7518
  Bo as F0Callout,
7519
7519
  ud as F0NumberInput,
@@ -7524,11 +7524,11 @@ export {
7524
7524
  Pc as F0TextInput,
7525
7525
  Ro as F0VersionHistory,
7526
7526
  pd as F1SearchBox,
7527
- bd as FILE_TYPES,
7527
+ gd as FILE_TYPES,
7528
7528
  Bc as FileItem,
7529
7529
  jo as HighlightBanner,
7530
7530
  mc as IndicatorsList,
7531
- gd as Input,
7531
+ bd as Input,
7532
7532
  xd as Item,
7533
7533
  vd as ItemSectionHeader,
7534
7534
  wd as LineChart,
@@ -7559,13 +7559,13 @@ export {
7559
7559
  _d as RadarChart,
7560
7560
  wi as Reactions,
7561
7561
  Od as ResourceHeader,
7562
- dr as RichTextDisplay,
7562
+ ur as RichTextDisplay,
7563
7563
  Dd as RichTextEditor,
7564
7564
  Ic as ScrollArea,
7565
7565
  Jo as SearchBar,
7566
7566
  Td as SectionHeader,
7567
7567
  We as Select,
7568
- Ar as Shortcut,
7568
+ _r as Shortcut,
7569
7569
  Qo as Sidebar,
7570
7570
  Yo as SidebarFooter,
7571
7571
  Zo as SidebarHeader,
@@ -7580,8 +7580,8 @@ export {
7580
7580
  zd as Textarea,
7581
7581
  Gc as ToggleGroup,
7582
7582
  Hc as ToggleGroupItem,
7583
- ge as Tooltip,
7584
- gc as TwoColumnsList,
7583
+ be as Tooltip,
7584
+ bc as TwoColumnsList,
7585
7585
  Pd as VerticalBarChart,
7586
7586
  oc as VerticalBarChartWidget,
7587
7587
  dt as VirtualList,
@@ -7594,7 +7594,7 @@ export {
7594
7594
  pc as WidgetInboxList,
7595
7595
  nn as WidgetInboxListItem,
7596
7596
  kc as WidgetSection,
7597
- bc as WidgetSimpleList,
7597
+ gc as WidgetSimpleList,
7598
7598
  ht as WidgetSimpleListItem,
7599
7599
  Nc as WidgetStrip,
7600
7600
  Bd as actionBarStatuses,