@factorialco/f0-react 6.29.0 → 6.30.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,8 +1,8 @@
1
- import { cO as Px, cP as Um, cQ as Gx, cR as Ex, cS as Tx, cT as kx, cU as $h, cV as Qm, cW as cc, cX as la, cY as Zx, bW as kt, cr as Ar, u as Vt, cZ as Nx, c_ as Kx, c$ as ep, cD as TA, cE as kA, bV as Xg, bB as Wx, bA as aU, V as Ig, z as Yx, A as zx, bO as ug, b8 as lU, K as Jx, B as Hx, m as dg, ak as _a, S as mt, c0 as go, d0 as Ox, d1 as jx, d2 as Lx, _ as Xx, d3 as qx, aq as Pi, b9 as tp, aj as cU, bR as fn, c7 as gr, d4 as $x, e as dU, c2 as or, d5 as eD, a8 as gp, cL as Sa, w as HI, r as iI, y as Vc, t as Ip, v as ip, bs as uU, x as Cp, aY as hU, bM as tD, ah as pU, bT as aI, s as OI, cF as Xc, d6 as gh, ct as va, bL as ym, Y as gD, bU as EI, d7 as BU, d8 as bh, cK as YA, d9 as np, da as zA, aP as ID, bF as iD, X as CD, i as nD, cC as oD, db as $n, dc as op, dd as iC, be as rD, de as AD, ae as sD, c8 as eo, df as qc, dg as fU, dh as aD, di as lD, b5 as cD, dj as $c, dk as mU, j as ed, dl as dD, ar as uD, k as ZA, dm as FU, bl as hD, dn as pD, dp as BD, dq as fD, dr as mD, ds as xh, dt as UU, cb as ma, aa as QU, du as FD, dv as UD, dw as QD, dx as yD, dy as sr, dz as Dh, c9 as rp, dA as wD, cj as Ra, dB as wm, dC as bD, dD as yU, cf as xD, dE as NA, dF as DD, dG as _D, c1 as ha, bk as bm, ay as _h, ao as SD, dH as vD, b as wU, dI as RD, a as MD, dJ as td, dK as VD, g as PD, F as GD, bq as bU, ck as ED, o as Ap, cm as TD, bu as sp, J as kD, bp as ZD, bo as ND, a5 as xU, cv as KD, al as DU, dL as WD, bd as YD, bc as zD, as as Pc, dM as JD, dN as HD, dO as OD, dP as jD, dQ as LD, dR as XD, dS as qD, ca as Sh, l as gd, bQ as ap, O as vh, Q as wc, aW as $D, aM as e1, b6 as t1, ba as _U, bh as SU, bi as vU, bj as g1, c3 as I1, c4 as i1, c5 as C1, c6 as n1, dT as RU, dU as o1, bZ as r1, b$ as lp, bP as A1, dV as MU, dW as VU, dX as PU, bI as s1, dY as GU, n as a1, ax as cp, R as l1, U as c1, a6 as d1, $ as xm, a4 as EU, bt as u1, aN as h1, am as p1, cn as B1, dZ as f1, d_ as m1, d$ as F1, e0 as U1, e1 as NC, e2 as Q1, e3 as y1, e4 as w1, e5 as b1, e6 as x1, cw as D1, aZ as TU, e7 as Gc, e8 as _1, bm as S1, bD as v1, av as R1, by as Ih, au as M1, aX as V1, ap as P1, ag as G1, e9 as E1, cp as T1, cq as k1, cg as kU, ea as Z1, bx as N1, eb as K1, ec as ZU, ed as W1, ee as Y1 } from "./F0CanvasPanel-Dq1kU51T.js";
1
+ import { cO as Px, cP as Um, cQ as Gx, cR as Ex, cS as Tx, cT as kx, cU as $h, cV as Qm, cW as cc, cX as la, cY as Zx, bW as kt, cr as Ar, u as Vt, cZ as Nx, c_ as Kx, c$ as ep, cD as TA, cE as kA, bV as Xg, bB as Wx, bA as aU, V as Ig, z as Yx, A as zx, bO as ug, b8 as lU, K as Jx, B as Hx, m as dg, ak as _a, S as mt, c0 as go, d0 as Ox, d1 as jx, d2 as Lx, _ as Xx, d3 as qx, aq as Pi, b9 as tp, aj as cU, bR as fn, c7 as gr, d4 as $x, e as dU, c2 as or, d5 as eD, a8 as gp, cL as Sa, w as HI, r as iI, y as Vc, t as Ip, v as ip, bs as uU, x as Cp, aY as hU, bM as tD, ah as pU, bT as aI, s as OI, cF as Xc, d6 as gh, ct as va, bL as ym, Y as gD, bU as EI, d7 as BU, d8 as bh, cK as YA, d9 as np, da as zA, aP as ID, bF as iD, X as CD, i as nD, cC as oD, db as $n, dc as op, dd as iC, be as rD, de as AD, ae as sD, c8 as eo, df as qc, dg as fU, dh as aD, di as lD, b5 as cD, dj as $c, dk as mU, j as ed, dl as dD, ar as uD, k as ZA, dm as FU, bl as hD, dn as pD, dp as BD, dq as fD, dr as mD, ds as xh, dt as UU, cb as ma, aa as QU, du as FD, dv as UD, dw as QD, dx as yD, dy as sr, dz as Dh, c9 as rp, dA as wD, cj as Ra, dB as wm, dC as bD, dD as yU, cf as xD, dE as NA, dF as DD, dG as _D, c1 as ha, bk as bm, ay as _h, ao as SD, dH as vD, b as wU, dI as RD, a as MD, dJ as td, dK as VD, g as PD, F as GD, bq as bU, ck as ED, o as Ap, cm as TD, bu as sp, J as kD, bp as ZD, bo as ND, a5 as xU, cv as KD, al as DU, dL as WD, bd as YD, bc as zD, as as Pc, dM as JD, dN as HD, dO as OD, dP as jD, dQ as LD, dR as XD, dS as qD, ca as Sh, l as gd, bQ as ap, O as vh, Q as wc, aW as $D, aM as e1, b6 as t1, ba as _U, bh as SU, bi as vU, bj as g1, c3 as I1, c4 as i1, c5 as C1, c6 as n1, dT as RU, dU as o1, bZ as r1, b$ as lp, bP as A1, dV as MU, dW as VU, dX as PU, bI as s1, dY as GU, n as a1, ax as cp, R as l1, U as c1, a6 as d1, $ as xm, a4 as EU, bt as u1, aN as h1, am as p1, cn as B1, dZ as f1, d_ as m1, d$ as F1, e0 as U1, e1 as NC, e2 as Q1, e3 as y1, e4 as w1, e5 as b1, e6 as x1, cw as D1, aZ as TU, e7 as Gc, e8 as _1, bm as S1, bD as v1, av as R1, by as Ih, au as M1, aX as V1, ap as P1, ag as G1, e9 as E1, cp as T1, cq as k1, cg as kU, ea as Z1, bx as N1, eb as K1, ec as ZU, ed as W1, ee as Y1 } from "./F0CanvasPanel-Bbzfq-Se.js";
2
2
  import { jsx as p, jsxs as te, Fragment as ag } from "react/jsx-runtime";
3
3
  import Pt, { forwardRef as Qg, useRef as ke, useTransition as z1, useState as Oe, useLayoutEffect as Vi, useId as KA, useContext as Ji, createContext as jI, useEffect as Ct, useCallback as et, useMemo as Gt, useImperativeHandle as J1, Fragment as Mi, isValidElement as dp, cloneElement as NU, Suspense as Id, lazy as ar, createElement as bc, memo as KU, Children as up } from "react";
4
4
  import { d as we, T as H1, a as O1, b as j1, f as CI, c as L1, g as X1 } from "./tooltip-DTpaXpXW.js";
5
- import { C as q1, P as $1, c as id, n as e_, E as t_, a as hp, u as g_, b as Ma, M as I_, p as i_, e as C_, R as Dm, f as WU, g as n_, h as o_, i as r_, j as A_, k as s_, l as a_, O as YU, W as nr, A as l_, B as c_, L as d_, m as u_, V as h_, o as p_, q as B_, r as f_, s as pp, S as m_, t as F_, v as U_, F as Q_, w as y_, x as w_, y as b_, z as x_, D as D_, G as __, H as S_, I as v_, J as R_, K as M_, N as _m, Q as V_ } from "./CoachmarkProvider-B7OX-t9w.js";
5
+ import { C as q1, P as $1, c as id, n as e_, E as t_, a as hp, u as g_, b as Ma, M as I_, p as i_, e as C_, R as Dm, f as WU, g as n_, h as o_, i as r_, j as A_, k as s_, l as a_, O as YU, W as nr, A as l_, B as c_, L as d_, m as u_, V as h_, o as p_, q as B_, r as f_, s as pp, S as m_, t as F_, v as U_, F as Q_, w as y_, x as w_, y as b_, z as x_, D as D_, G as __, H as S_, I as v_, J as R_, K as M_, N as _m, Q as V_ } from "./CoachmarkProvider-tv1wGkTz.js";
6
6
  import { g as P_ } from "./_commonjsHelpers-ByX85dGu.js";
7
7
  import G_, { createPortal as Rh } from "react-dom";
8
8
  import './experimental.css';const E_ = Px("Search", [
@@ -16,7 +16,7 @@ function Bp(n, l, f) {
16
16
  const U = T_(n, l) / Gx;
17
17
  return Ex(f?.roundingMethod)(U);
18
18
  }
19
- const Xk = ["sm", "md", "lg"], qk = [
19
+ const qk = ["sm", "md", "lg"], $k = [
20
20
  "categorical-1",
21
21
  "categorical-2",
22
22
  "categorical-3",
@@ -929,8 +929,8 @@ const Mm = kt.create(Ig), Vm = {
929
929
  )
930
930
  ] })
931
931
  ] });
932
- }, Fp = jI(null), $k = Fp.Provider;
933
- function eZ() {
932
+ }, Fp = jI(null), eZ = Fp.Provider;
933
+ function tZ() {
934
934
  return Ji(Fp);
935
935
  }
936
936
  function iS(n, l) {
@@ -955,7 +955,7 @@ function iS(n, l) {
955
955
  f
956
956
  ]);
957
957
  }
958
- function tZ({
958
+ function gZ({
959
959
  module: n,
960
960
  statusTag: l = void 0,
961
961
  breadcrumbs: f = [],
@@ -1123,7 +1123,7 @@ function CS({ action: n }) {
1123
1123
  }
1124
1124
  );
1125
1125
  }
1126
- const gZ = eD, XU = process.env.NODE_ENV !== "production", qU = (n) => {
1126
+ const IZ = eD, XU = process.env.NODE_ENV !== "production", qU = (n) => {
1127
1127
  XU && console.warn(`[f0] ${n}`);
1128
1128
  }, nS = (n) => {
1129
1129
  XU && !id.hasProvider() && console.warn(
@@ -1167,7 +1167,7 @@ const gZ = eD, XU = process.env.NODE_ENV !== "production", qU = (n) => {
1167
1167
  id.removeItem(n);
1168
1168
  }, aS = () => {
1169
1169
  id.clear();
1170
- }, IZ = {
1170
+ }, iZ = {
1171
1171
  /**
1172
1172
  * Show a coachmark, or queue it behind the one already on screen.
1173
1173
  * @param options One coachmark, or a sequence of `steps`
@@ -1536,7 +1536,7 @@ const gZ = eD, XU = process.env.NODE_ENV !== "production", qU = (n) => {
1536
1536
  );
1537
1537
  };
1538
1538
  e0.displayName = "F0EmojiPicker";
1539
- const iZ = ["sm", "md", "lg"], CZ = HI(
1539
+ const CZ = ["sm", "md", "lg"], nZ = HI(
1540
1540
  iI("F0EmojiPicker", e0)
1541
1541
  ), t0 = Ar({
1542
1542
  base: "flex w-full flex-col rounded-lg p-[1px]",
@@ -1668,7 +1668,7 @@ const iZ = ["sm", "md", "lg"], CZ = HI(
1668
1668
  (n, l) => /* @__PURE__ */ p(wS, { ref: l, ...n })
1669
1669
  ), xS = ({ compact: n, variant: l }) => /* @__PURE__ */ p(bS, { compact: n, variant: l });
1670
1670
  g0.displayName = "F0Callout";
1671
- const nZ = OI(
1671
+ const oZ = OI(
1672
1672
  HI(g0),
1673
1673
  xS
1674
1674
  ), I0 = 10, i0 = 3, Em = (n, l) => {
@@ -1998,18 +1998,18 @@ const JS = ({ compact: n = !1 }) => /* @__PURE__ */ p(
1998
1998
  ] })
1999
1999
  ] })
2000
2000
  }
2001
- ), oZ = HI(
2001
+ ), rZ = HI(
2002
2002
  iI(
2003
2003
  "F0MeetingCard",
2004
2004
  OI(C0, JS)
2005
2005
  )
2006
- ), rZ = [
2006
+ ), AZ = [
2007
2007
  "scheduled",
2008
2008
  "inProgress",
2009
2009
  "summarizing",
2010
2010
  "finished",
2011
2011
  "cancelled"
2012
- ], AZ = ["auto", "avatars", "count"];
2012
+ ], sZ = ["auto", "avatars", "count"];
2013
2013
  var xc = { exports: {} };
2014
2014
  var HS = xc.exports, Tm;
2015
2015
  function OS() {
@@ -27335,7 +27335,7 @@ const B0 = (n, l) => (!da && typeof document < "u" && (da = document.createEleme
27335
27335
  n.off("zoom", b);
27336
27336
  };
27337
27337
  }, [n, l]), f;
27338
- }, sZ = [
27338
+ }, aZ = [
27339
27339
  "default",
27340
27340
  "workplace",
27341
27341
  "employee",
@@ -28155,7 +28155,7 @@ const jv = ({
28155
28155
  ) });
28156
28156
  });
28157
28157
  w0.displayName = "F0Map";
28158
- const aZ = w0, b0 = Qg(
28158
+ const lZ = w0, b0 = Qg(
28159
28159
  ({ value: n, max: l, color: f = "categorical-1", label: U }, b) => {
28160
28160
  const S = Vt(), y = Number.isFinite(l) ? Math.max(0, Math.floor(l)) : 0, o = Number.isFinite(n) ? Math.max(0, Math.min(Math.floor(n), y)) : 0, V = Array.from({ length: y }, (T, N) => N < o), E = AD(f);
28161
28161
  return /* @__PURE__ */ p(
@@ -28188,7 +28188,7 @@ const aZ = w0, b0 = Qg(
28188
28188
  }
28189
28189
  );
28190
28190
  b0.displayName = "F0SegmentedBar";
28191
- const lZ = HI(
28191
+ const cZ = HI(
28192
28192
  iI("F0SegmentedBar", b0)
28193
28193
  );
28194
28194
  function Xv({
@@ -28315,7 +28315,7 @@ function $v({
28315
28315
  }
28316
28316
  );
28317
28317
  }
28318
- const cZ = HI(
28318
+ const dZ = HI(
28319
28319
  iI("F0VersionHistory", $v)
28320
28320
  ), x0 = Qg(
28321
28321
  ({ height: n, itemCount: l, itemSize: f, className: U, renderer: b }, S) => {
@@ -29428,7 +29428,7 @@ const qm = ({
29428
29428
  )
29429
29429
  }
29430
29430
  );
29431
- }, dZ = (n) => {
29431
+ }, uZ = (n) => {
29432
29432
  const [l, f] = Oe(
29433
29433
  (n.alwaysOpen || n.defaultOpen) ?? !1
29434
29434
  ), U = (H) => {
@@ -29956,7 +29956,7 @@ const aR = ({
29956
29956
  }
29957
29957
  )
29958
29958
  ] });
29959
- }, uZ = iI(
29959
+ }, hZ = iI(
29960
29960
  "ActivityItemList",
29961
29961
  OI(BR, fR)
29962
29962
  ), mR = {
@@ -30162,7 +30162,7 @@ const yR = ({
30162
30162
  ] }) }) })
30163
30163
  ]
30164
30164
  }
30165
- ), hZ = OI(yR, wR), pZ = ({
30165
+ ), pZ = OI(yR, wR), BZ = ({
30166
30166
  title: n,
30167
30167
  subtitle: l,
30168
30168
  buttonLabel: f,
@@ -30761,7 +30761,7 @@ const DR = () => /* @__PURE__ */ te("div", { className: "flex flex-col justify-a
30761
30761
  /* @__PURE__ */ p(mt, { className: "h-2.5 w-14 rounded-2xs" })
30762
30762
  ] })
30763
30763
  ] })
30764
- ] }), BZ = OI(
30764
+ ] }), fZ = OI(
30765
30765
  MR,
30766
30766
  VR
30767
30767
  ), P0 = Pt.forwardRef(({ person: n, onClick: l, ...f }, U) => {
@@ -30840,7 +30840,7 @@ const DR = () => /* @__PURE__ */ te("div", { className: "flex flex-col justify-a
30840
30840
  ] })
30841
30841
  ] });
30842
30842
  P0.displayName = "OnePersonListItem";
30843
- const fZ = HI(
30843
+ const mZ = HI(
30844
30844
  iI(
30845
30845
  "OnePersonListItem",
30846
30846
  OI(P0, PR)
@@ -30917,7 +30917,7 @@ function TR({
30917
30917
  }
30918
30918
  ) });
30919
30919
  }
30920
- const mZ = iI(
30920
+ const FZ = iI(
30921
30921
  "ApplicationFrame",
30922
30922
  ER
30923
30923
  ), kR = ({ contentId: n }) => {
@@ -31406,7 +31406,7 @@ function E0({
31406
31406
  );
31407
31407
  }
31408
31408
  E0.displayName = "DaytimePage";
31409
- const FZ = HI(
31409
+ const UZ = HI(
31410
31410
  iI("DaytimePage", E0)
31411
31411
  );
31412
31412
  function YR(n) {
@@ -31443,7 +31443,7 @@ function zR({ label: n, options: l, hasNewUpdate: f }) {
31443
31443
  }
31444
31444
  );
31445
31445
  }
31446
- const UZ = HI(
31446
+ const QZ = HI(
31447
31447
  iI("OmniButton", zR)
31448
31448
  );
31449
31449
  function T0({ children: n, header: l, embedded: f = !1 }) {
@@ -31469,10 +31469,10 @@ function T0({ children: n, header: l, embedded: f = !1 }) {
31469
31469
  );
31470
31470
  }
31471
31471
  T0.displayName = "Page";
31472
- const QZ = HI(iI("Page", T0)), JR = (n) => n.reduce(
31472
+ const yZ = HI(iI("Page", T0)), JR = (n) => n.reduce(
31473
31473
  (l, f) => l + f.chats.filter((U) => (U.unreadCount ?? 0) > 0).length,
31474
31474
  0
31475
- ), k0 = jI(null), Z0 = jI(null), rF = (n, l, f) => n.map((U) => U.id === l ? f(U) : U), hc = (n, l) => n.map((f) => ({ ...f, chats: l(f.chats) })), yZ = ({
31475
+ ), k0 = jI(null), Z0 = jI(null), rF = (n, l, f) => n.map((U) => U.id === l ? f(U) : U), hc = (n, l) => n.map((f) => ({ ...f, chats: l(f.chats) })), wZ = ({
31476
31476
  children: n,
31477
31477
  initialGroups: l = [],
31478
31478
  initialActiveChatId: f
@@ -31539,7 +31539,7 @@ const QZ = HI(iI("Page", T0)), JR = (n) => n.reduce(
31539
31539
  }, OR = () => {
31540
31540
  const n = HR(), l = N0();
31541
31541
  return Gt(() => ({ ...n, ...l }), [n, l]);
31542
- }, wZ = () => N0(), AF = (n) => n.toLowerCase().normalize("NFD").replace(new RegExp("\\p{Diacritic}", "gu"), ""), jR = (n, l) => {
31542
+ }, bZ = () => N0(), AF = (n) => n.toLowerCase().normalize("NFD").replace(new RegExp("\\p{Diacritic}", "gu"), ""), jR = (n, l) => {
31543
31543
  const f = AF(n.trim());
31544
31544
  if (!f) return !0;
31545
31545
  const U = AF(l);
@@ -32222,7 +32222,7 @@ const e2 = HI($R), K0 = ({
32222
32222
  below: S.below,
32223
32223
  jump: j
32224
32224
  };
32225
- }, bZ = ({
32225
+ }, xZ = ({
32226
32226
  actions: n = [],
32227
32227
  emptyState: l,
32228
32228
  loading: f = !1
@@ -32452,7 +32452,7 @@ const s2 = ({
32452
32452
  ]
32453
32453
  }
32454
32454
  );
32455
- function xZ({
32455
+ function DZ({
32456
32456
  user: n,
32457
32457
  options: l,
32458
32458
  showActivityButton: f = !1,
@@ -32577,7 +32577,7 @@ function a2() {
32577
32577
  }
32578
32578
  );
32579
32579
  }
32580
- function DZ({
32580
+ function _Z({
32581
32581
  companies: n,
32582
32582
  selected: l,
32583
32583
  onChange: f,
@@ -32851,7 +32851,7 @@ const d2 = ({
32851
32851
  }
32852
32852
  ) : j;
32853
32853
  };
32854
- function _Z({
32854
+ function SZ({
32855
32855
  tree: n,
32856
32856
  onCollapse: l,
32857
32857
  onSort: f,
@@ -33038,7 +33038,7 @@ const B2 = ({
33038
33038
  tooltip: n,
33039
33039
  children: l
33040
33040
  }) => n ? /* @__PURE__ */ p(fn, { description: n, children: l }) : l;
33041
- function SZ({
33041
+ function vZ({
33042
33042
  onClick: n,
33043
33043
  placeholder: l,
33044
33044
  shortcut: f = ["cmd", "k"],
@@ -33160,7 +33160,7 @@ function f2({
33160
33160
  }
33161
33161
  );
33162
33162
  }
33163
- const vZ = HI(f2), m2 = () => /* @__PURE__ */ p("div", { className: "absolute -right-0.5 -top-0.5 flex h-3 w-3 items-center justify-center rounded-full", children: /* @__PURE__ */ p("span", { className: "h-2 w-2 rounded-full bg-f1-special-highlight" }) }), dF = ({
33163
+ const RZ = HI(f2), m2 = () => /* @__PURE__ */ p("div", { className: "absolute -right-0.5 -top-0.5 flex h-3 w-3 items-center justify-center rounded-full", children: /* @__PURE__ */ p("span", { className: "h-2 w-2 rounded-full bg-f1-special-highlight" }) }), dF = ({
33164
33164
  tab: n,
33165
33165
  isActive: l,
33166
33166
  showLabel: f,
@@ -33266,7 +33266,7 @@ const vZ = HI(f2), m2 = () => /* @__PURE__ */ p("div", { className: "absolute -r
33266
33266
  ]
33267
33267
  }
33268
33268
  );
33269
- }, RZ = ({
33269
+ }, MZ = ({
33270
33270
  tabs: n,
33271
33271
  activeTab: l,
33272
33272
  onTabChange: f,
@@ -33434,7 +33434,7 @@ const w2 = ({
33434
33434
  ] }, b.title)) })
33435
33435
  ] })
33436
33436
  ] });
33437
- }, MZ = HI(
33437
+ }, VZ = HI(
33438
33438
  iI("OneApprovalHistory", b2)
33439
33439
  ), sh = (n, l) => typeof l == "string" && l in n;
33440
33440
  function pF(n, l, f) {
@@ -33470,7 +33470,7 @@ function pF(n, l, f) {
33470
33470
  }
33471
33471
  return b ? U : null;
33472
33472
  }
33473
- function VZ(n) {
33473
+ function PZ(n) {
33474
33474
  const {
33475
33475
  source: l,
33476
33476
  collectionId: f,
@@ -34104,7 +34104,7 @@ const O0 = jI({
34104
34104
  }) => {
34105
34105
  const f = Gt(() => ({ reducedMotion: l }), [l]);
34106
34106
  return /* @__PURE__ */ p(O0.Provider, { value: f, children: n });
34107
- }, KC = () => Ji(O0), PZ = [
34107
+ }, KC = () => Ji(O0), GZ = [
34108
34108
  "viridian",
34109
34109
  "malibu",
34110
34110
  "yellow",
@@ -34120,7 +34120,7 @@ const O0 = jI({
34120
34120
  "orange",
34121
34121
  "red",
34122
34122
  "grass"
34123
- ], GZ = (n) => n.type === "system", Yc = (n) => n.type !== "system", Y2 = "latest", z2 = /* @__PURE__ */ new Set(["m4v", "mov", "mp4", "ogv", "webm"]), J2 = (n) => {
34123
+ ], EZ = (n) => n.type === "system", Yc = (n) => n.type !== "system", Y2 = "latest", z2 = /* @__PURE__ */ new Set(["m4v", "mov", "mp4", "ogv", "webm"]), J2 = (n) => {
34124
34124
  if (n < 1024) return `${n} B`;
34125
34125
  if (n < 1024 * 1024) {
34126
34126
  const f = n / 1024;
@@ -34200,7 +34200,7 @@ const O0 = jI({
34200
34200
  }, X0 = jI(null), q0 = jI(null), X2 = (n) => {
34201
34201
  const l = ke(n), f = l.current, U = f === n || f != null && n != null && f.canSend === n.canSend && f.canReact === n.canReact && f.canUpload === n.canUpload && f.canEditMessage === n.canEditMessage && f.canDeleteMessage === n.canDeleteMessage;
34202
34202
  return U || (l.current = n), U ? f : n;
34203
- }, EZ = ({
34203
+ }, TZ = ({
34204
34204
  runtime: n,
34205
34205
  children: l
34206
34206
  }) => {
@@ -34578,7 +34578,7 @@ const oQ = () => Io($0, "useChatJump"), tM = () => Io(eQ, "useChatHighlightedId"
34578
34578
  }, sd = (n, l) => {
34579
34579
  const f = document.createElement("a");
34580
34580
  f.href = n, f.download = l, f.rel = "noreferrer", f.click();
34581
- }, pQ = () => import("./ChatPdfThumbnail-d6FGA8yd.js"), BQ = () => import("./ChatSheetThumbnail-BvnxT-4A.js"), fQ = () => import("./ChatDocxThumbnail-DzNPNFya.js"), mQ = () => import("./ChatTextThumbnail-yVt_iYi7.js"), AM = ar(pQ), sM = ar(BQ), aM = ar(fQ), lM = ar(mQ), cM = {
34581
+ }, pQ = () => import("./ChatPdfThumbnail-BqPV5N9R.js"), BQ = () => import("./ChatSheetThumbnail-BvnxT-4A.js"), fQ = () => import("./ChatDocxThumbnail-DzNPNFya.js"), mQ = () => import("./ChatTextThumbnail-yVt_iYi7.js"), AM = ar(pQ), sM = ar(BQ), aM = ar(fQ), lM = ar(mQ), cM = {
34582
34582
  pdf: pQ,
34583
34583
  sheet: BQ,
34584
34584
  docx: fQ,
@@ -34762,7 +34762,7 @@ const oQ = () => Io($0, "useChatJump"), tM = () => Io(eQ, "useChatHighlightedId"
34762
34762
  ]
34763
34763
  }
34764
34764
  );
34765
- }, UQ = () => import("./LocationMap-BqI7Gdwx.js"), hM = ar(UQ), pM = 200, BM = ({ latitude: n, longitude: l }) => `https://www.google.com/maps?q=${n},${l}`, QQ = ({
34765
+ }, UQ = () => import("./LocationMap-Bg11OoaV.js"), hM = ar(UQ), pM = 200, BM = ({ latitude: n, longitude: l }) => `https://www.google.com/maps?q=${n},${l}`, QQ = ({
34766
34766
  location: n,
34767
34767
  cornerClass: l = "rounded-xl",
34768
34768
  surfaceClassName: f
@@ -36519,7 +36519,7 @@ const PM = {
36519
36519
  }
36520
36520
  ) }) });
36521
36521
  }, zM = ar(
36522
- () => import("./index-D3qHIfH-.js").then((n) => n.i).then((n) => ({
36522
+ () => import("./index-CZ90KKcw.js").then((n) => n.i).then((n) => ({
36523
36523
  default: n.F0PdfViewer
36524
36524
  }))
36525
36525
  ), JM = () => {
@@ -41087,7 +41087,7 @@ const WP = (n) => {
41087
41087
  }
41088
41088
  )
41089
41089
  ] });
41090
- }, ay = () => import("./index-BgfWAWkW.js").then((n) => ({
41090
+ }, ay = () => import("./index-C8udz5Ds.js").then((n) => ({
41091
41091
  default: n.F0VideoPlayer
41092
41092
  })), tG = ar(ay), gG = ({
41093
41093
  file: n,
@@ -42374,7 +42374,7 @@ const WP = (n) => {
42374
42374
  ]
42375
42375
  }
42376
42376
  );
42377
- }, TZ = (n) => {
42377
+ }, kZ = (n) => {
42378
42378
  const l = EI();
42379
42379
  return /* @__PURE__ */ p(W2, { reducedMotion: l, children: /* @__PURE__ */ p(eM, { children: /* @__PURE__ */ p(ZG, { ...n }) }) });
42380
42380
  }, Hp = {
@@ -42590,19 +42590,19 @@ const WP = (n) => {
42590
42590
  children: U
42591
42591
  }
42592
42592
  );
42593
- }), kZ = NC(
42593
+ }), ZZ = NC(
42594
42594
  {
42595
42595
  name: "Stack",
42596
42596
  type: "layout"
42597
42597
  },
42598
42598
  HG
42599
- ), ZZ = NC(
42599
+ ), NZ = NC(
42600
42600
  {
42601
42601
  name: "Split",
42602
42602
  type: "layout"
42603
42603
  },
42604
42604
  zG
42605
- ), NZ = NC(
42605
+ ), KZ = NC(
42606
42606
  {
42607
42607
  name: "AutoGrid",
42608
42608
  type: "layout"
@@ -42713,37 +42713,37 @@ const WP = (n) => {
42713
42713
  ), CE = iI(
42714
42714
  "VerticalBarChartWidget",
42715
42715
  iE
42716
- ), KZ = NC(
42716
+ ), WZ = NC(
42717
42717
  {
42718
42718
  name: "AreaChartWidget",
42719
42719
  type: "info"
42720
42720
  },
42721
42721
  jG
42722
- ), WZ = NC(
42722
+ ), YZ = NC(
42723
42723
  {
42724
42724
  name: "BarChartWidget",
42725
42725
  type: "info"
42726
42726
  },
42727
42727
  XG
42728
- ), YZ = NC(
42728
+ ), zZ = NC(
42729
42729
  {
42730
42730
  name: "LineChartWidget",
42731
42731
  type: "info"
42732
42732
  },
42733
42733
  $G
42734
- ), zZ = NC(
42734
+ ), JZ = NC(
42735
42735
  {
42736
42736
  name: "PieChartWidget",
42737
42737
  type: "info"
42738
42738
  },
42739
42739
  tE
42740
- ), JZ = NC(
42740
+ ), HZ = NC(
42741
42741
  {
42742
42742
  name: "VerticalBarChartWidget",
42743
42743
  type: "info"
42744
42744
  },
42745
42745
  CE
42746
- ), HZ = NC(
42746
+ ), OZ = NC(
42747
42747
  {
42748
42748
  name: "SummariesWidget",
42749
42749
  type: "info"
@@ -43088,7 +43088,7 @@ const WP = (n) => {
43088
43088
  }
43089
43089
  );
43090
43090
  }
43091
- ), OZ = HI(
43091
+ ), jZ = HI(
43092
43092
  iI("ChartWidgetEmptyState", dE)
43093
43093
  );
43094
43094
  function uE(n, l) {
@@ -43204,7 +43204,7 @@ const ud = function({
43204
43204
  );
43205
43205
  };
43206
43206
  ud.displayName = "VerticalOverflowList";
43207
- const jZ = ({
43207
+ const LZ = ({
43208
43208
  events: n,
43209
43209
  showAllItems: l,
43210
43210
  gap: f = 8,
@@ -43232,7 +43232,7 @@ const jZ = ({
43232
43232
  }
43233
43233
  ) : /* @__PURE__ */ p("div", { className: f, tabIndex: 1, children: l });
43234
43234
  };
43235
- function LZ({
43235
+ function XZ({
43236
43236
  label: n,
43237
43237
  count: l,
43238
43238
  icon: f,
@@ -43308,7 +43308,7 @@ const pE = Qg(
43308
43308
  );
43309
43309
  return n ? /* @__PURE__ */ p("a", { className: b, onClick: n, children: U }) : /* @__PURE__ */ p("div", { className: b, children: U });
43310
43310
  };
43311
- function XZ({
43311
+ function qZ({
43312
43312
  id: n,
43313
43313
  title: l,
43314
43314
  subtitle: f,
@@ -43414,7 +43414,7 @@ function Lh({
43414
43414
  ] })
43415
43415
  ] });
43416
43416
  }
43417
- function qZ({
43417
+ function $Z({
43418
43418
  items: n,
43419
43419
  minSize: l = 184,
43420
43420
  onClickItem: f,
@@ -43432,7 +43432,7 @@ function qZ({
43432
43432
  }
43433
43433
  );
43434
43434
  }
43435
- function $Z({
43435
+ function eN({
43436
43436
  items: n,
43437
43437
  gap: l,
43438
43438
  minSize: f = 184,
@@ -43452,7 +43452,7 @@ function $Z({
43452
43452
  const UE = ({ title: n, info: l }) => /* @__PURE__ */ te("div", { className: "flex items-center justify-between", children: [
43453
43453
  /* @__PURE__ */ p("p", { className: "flex text-f1-foreground-secondary", children: n }),
43454
43454
  /* @__PURE__ */ p("div", { className: "max-w-32 flex-shrink-0 overflow-hidden text-ellipsis whitespace-nowrap text-right font-medium", children: l })
43455
- ] }), eN = Qg(
43455
+ ] }), tN = Qg(
43456
43456
  function({ title: l, titleValue: f, titleTooltip: U, list: b }, S) {
43457
43457
  return /* @__PURE__ */ te("div", { ref: S, className: "flex flex-col gap-2", children: [
43458
43458
  l && /* @__PURE__ */ te("div", { className: "flex items-center justify-between gap-2 font-medium", children: [
@@ -43473,7 +43473,7 @@ const UE = ({ title: n, info: l }) => /* @__PURE__ */ te("div", { className: "fl
43473
43473
  ] });
43474
43474
  }
43475
43475
  );
43476
- function tN({
43476
+ function gN({
43477
43477
  title: n,
43478
43478
  subtitle: l,
43479
43479
  data: f,
@@ -43994,7 +43994,7 @@ function EE({
43994
43994
  );
43995
43995
  }
43996
43996
  const eU = "[&_[data-testid=input-field-wrapper]]:bg-transparent";
43997
- function gN({
43997
+ function IN({
43998
43998
  trackedMinutes: n,
43999
43999
  remainingMinutes: l,
44000
44000
  data: f = [],
@@ -44362,7 +44362,7 @@ function ZE({
44362
44362
  }
44363
44363
  );
44364
44364
  }
44365
- function IN({
44365
+ function iN({
44366
44366
  tasks: n,
44367
44367
  onClickTask: l,
44368
44368
  hideIcons: f = !1,
@@ -44612,7 +44612,7 @@ function aT({
44612
44612
  }) })
44613
44613
  ] }) : Z;
44614
44614
  }
44615
- const lT = (n) => n == null ? void 0 : typeof n == "function" ? { render: n } : n, iN = [
44615
+ const lT = (n) => n == null ? void 0 : typeof n == "function" ? { render: n } : n, CN = [
44616
44616
  "viridian",
44617
44617
  "malibu",
44618
44618
  "yellow",
@@ -44671,15 +44671,15 @@ const lT = (n) => n == null ? void 0 : typeof n == "function" ? { render: n } :
44671
44671
  style: l.style,
44672
44672
  children: /* @__PURE__ */ p(Ig, { icon: n, size: f })
44673
44673
  }
44674
- ), fT = 6, vy = (n, l) => !!n.compact || !n.descriptionOptional && l > fT, CN = (n, l, f) => ({ visualization: n, params: l, ...f }), nN = (n, l, f) => ({
44674
+ ), fT = 6, vy = (n, l) => !!n.compact || !n.descriptionOptional && l > fT, nN = (n, l, f) => ({ visualization: n, params: l, ...f }), oN = (n, l, f) => ({
44675
44675
  visualization: "list",
44676
44676
  params: { schema: n, items: l },
44677
44677
  ...f
44678
- }), oN = (n, l) => (f) => l(f), hd = (n, l = {}) => {
44678
+ }), rN = (n, l) => (f) => l(f), hd = (n, l = {}) => {
44679
44679
  if (!n) return;
44680
44680
  const { title: f, info: U, ...b } = n, S = (y) => typeof y == "function" ? y(l) : y;
44681
44681
  return { ...b, title: S(f), info: S(U) };
44682
- }, qh = (n) => hd(n.header, n.params)?.title ?? n.id, rN = (n, l) => n ? n.safeParse(l ?? {}).success : !0, Ry = (n) => "alert" in n && n.alert !== void 0 ? {
44682
+ }, qh = (n) => hd(n.header, n.params)?.title ?? n.id, AN = (n, l) => n ? n.safeParse(l ?? {}).success : !0, Ry = (n) => "alert" in n && n.alert !== void 0 ? {
44683
44683
  action: n.action,
44684
44684
  summaries: n.summaries,
44685
44685
  alert: n.alert
@@ -45647,7 +45647,7 @@ const tk = {
45647
45647
  l
45648
45648
  )
45649
45649
  }
45650
- ), yc = 40, Ik = 8, ik = ({
45650
+ ), yc = 40, Ik = 712, ik = 8, Ck = ({
45651
45651
  widget: n,
45652
45652
  order: l,
45653
45653
  open: f,
@@ -45687,7 +45687,7 @@ const tk = {
45687
45687
  ] })
45688
45688
  }
45689
45689
  );
45690
- }, wh = "[scrollbar-width:none] [&::-webkit-scrollbar]:hidden", Ck = 16, oU = 768, nk = 150, ok = 8, AN = Qg(
45690
+ }, wh = "[scrollbar-width:none] [&::-webkit-scrollbar]:hidden", nk = 16, oU = 768, ok = 150, rk = 8, sN = Qg(
45691
45691
  function({
45692
45692
  children: l,
45693
45693
  leftWidgets: f = [],
@@ -45706,7 +45706,7 @@ const tk = {
45706
45706
  onReorderWidgets: $,
45707
45707
  period: L = "morning",
45708
45708
  asideWidth: ie = 396,
45709
- mainWidth: Z = 800,
45709
+ mainWidth: Z = Ik,
45710
45710
  bleed: ne = 24,
45711
45711
  stackedPinsAfter: fe = 2,
45712
45712
  ctx: me = {},
@@ -45737,7 +45737,7 @@ const tk = {
45737
45737
  ), It = yh(), at = yh(), ft = yh(), Ge = ($e) => V.includes($e) ? {
45738
45738
  ...E,
45739
45739
  scrollElement: $e === "main" ? It.element : at.element
45740
- } : !1, Ne = b != null || U.length > 0 || q != null, lt = be > 0 && be < Z + Ck + ie, st = Ne && U.length > 0 && (lt || (Nt ?? !1)), St = st ? yc : ie, vt = Ne && yt, Tt = be > 0 && be < oU, og = {
45740
+ } : !1, Ne = b != null || U.length > 0 || q != null, lt = be > 0 && be < Z + nk + ie, st = Ne && U.length > 0 && (lt || (Nt ?? !1)), St = st ? yc : ie, vt = Ne && yt, Tt = be > 0 && be < oU, og = {
45741
45741
  pinned: Tt ? U.filter(($e) => $e.locked) : [],
45742
45742
  rest: Tt ? U.filter(($e) => !$e.locked) : []
45743
45743
  }, pg = up.toArray(l), lg = (Tt ? [
@@ -45769,7 +45769,7 @@ const tk = {
45769
45769
  // (`y`), so moving between glyphs composites instead of relaying the
45770
45770
  // panel out on every frame.
45771
45771
  top: 0,
45772
- right: yc + ok,
45772
+ right: yc + rk,
45773
45773
  width: ie,
45774
45774
  // The panel grows to its widget, up to what is left below its glyph,
45775
45775
  // and scrolls past that.
@@ -45817,7 +45817,7 @@ const tk = {
45817
45817
  }, Yt = () => {
45818
45818
  Ft.current && clearTimeout(Ft.current), Ft.current = null;
45819
45819
  }, Bg = () => {
45820
- Yt(), Ft.current = setTimeout(() => pe(null), nk);
45820
+ Yt(), Ft.current = setTimeout(() => pe(null), ok);
45821
45821
  }, jt = ($e, xt) => {
45822
45822
  Yt();
45823
45823
  const Lt = Se.current;
@@ -46008,7 +46008,7 @@ const tk = {
46008
46008
  onMouseEnter: Yt,
46009
46009
  children: [
46010
46010
  U.map(($e, xt) => /* @__PURE__ */ p(
46011
- ik,
46011
+ Ck,
46012
46012
  {
46013
46013
  widget: $e,
46014
46014
  order: xt,
@@ -46085,7 +46085,7 @@ const tk = {
46085
46085
  visibleWidgetId: zt ? Cg : void 0,
46086
46086
  stow: {
46087
46087
  stowed: st,
46088
- pitch: yc + Ik,
46088
+ pitch: yc + ik,
46089
46089
  scale: yc / ie
46090
46090
  },
46091
46091
  slotRenderers: S,
@@ -46110,7 +46110,7 @@ const tk = {
46110
46110
  }
46111
46111
  );
46112
46112
  }
46113
- ), Ey = (n) => typeof n == "object" && n !== null && !dp(n) && Array.isArray(n.slots), rk = ({
46113
+ ), Ey = (n) => typeof n == "object" && n !== null && !dp(n) && Array.isArray(n.slots), Ak = ({
46114
46114
  preview: n,
46115
46115
  slotRenderers: l
46116
46116
  }) => Ey(n) ? /* @__PURE__ */ p(
@@ -46124,11 +46124,11 @@ const tk = {
46124
46124
  loading: n.loading,
46125
46125
  slotRenderers: l
46126
46126
  }
46127
- ) : /* @__PURE__ */ p(ag, { children: n }), Ak = (n) => n.info ?? (Ey(n.preview) ? hd(n.preview.header, n.preview.params)?.info : void 0), sk = ({ label: n, icon: l }) => /* @__PURE__ */ te("div", { className: "flex items-center gap-1.5 px-2 pb-1 pt-5 first:pt-1", children: [
46127
+ ) : /* @__PURE__ */ p(ag, { children: n }), sk = (n) => n.info ?? (Ey(n.preview) ? hd(n.preview.header, n.preview.params)?.info : void 0), ak = ({ label: n, icon: l }) => /* @__PURE__ */ te("div", { className: "flex items-center gap-1.5 px-2 pb-1 pt-5 first:pt-1", children: [
46128
46128
  l ? /* @__PURE__ */ p(Ig, { icon: l, size: "sm", color: "secondary" }) : null,
46129
46129
  /* @__PURE__ */ p("h6", { className: "m-0 text-xs font-medium uppercase tracking-wide text-f1-foreground-secondary", children: n })
46130
46130
  ] });
46131
- function sN({
46131
+ function aN({
46132
46132
  isOpen: n,
46133
46133
  onClose: l,
46134
46134
  widgets: f,
@@ -46184,7 +46184,7 @@ function sN({
46184
46184
  ),
46185
46185
  /* @__PURE__ */ te("div", { className: "flex flex-col gap-1 overflow-y-auto", children: [
46186
46186
  Z.map((me) => /* @__PURE__ */ te(Mi, { children: [
46187
- me.label ? /* @__PURE__ */ p(sk, { label: me.label, icon: me.icon }) : null,
46187
+ me.label ? /* @__PURE__ */ p(ak, { label: me.label, icon: me.icon }) : null,
46188
46188
  me.items.map((Ue) => /* @__PURE__ */ te(
46189
46189
  "button",
46190
46190
  {
@@ -46206,10 +46206,10 @@ function sN({
46206
46206
  Gy,
46207
46207
  {
46208
46208
  previewKey: fe?.id,
46209
- info: fe ? Ak(fe) : void 0,
46209
+ info: fe ? sk(fe) : void 0,
46210
46210
  previewWidth: S,
46211
46211
  children: fe ? /* @__PURE__ */ p(
46212
- rk,
46212
+ Ak,
46213
46213
  {
46214
46214
  preview: fe.preview,
46215
46215
  slotRenderers: y
@@ -46221,45 +46221,45 @@ function sN({
46221
46221
  }
46222
46222
  );
46223
46223
  }
46224
- var ak = Object.defineProperty, lk = Object.defineProperties, ck = Object.getOwnPropertyDescriptors, Lc = Object.getOwnPropertySymbols, Ty = Object.prototype.hasOwnProperty, ky = Object.prototype.propertyIsEnumerable, rU = (n, l, f) => l in n ? ak(n, l, { enumerable: !0, configurable: !0, writable: !0, value: f }) : n[l] = f, IC = (n, l) => {
46224
+ var lk = Object.defineProperty, ck = Object.defineProperties, dk = Object.getOwnPropertyDescriptors, Lc = Object.getOwnPropertySymbols, Ty = Object.prototype.hasOwnProperty, ky = Object.prototype.propertyIsEnumerable, rU = (n, l, f) => l in n ? lk(n, l, { enumerable: !0, configurable: !0, writable: !0, value: f }) : n[l] = f, IC = (n, l) => {
46225
46225
  for (var f in l || (l = {})) Ty.call(l, f) && rU(n, f, l[f]);
46226
46226
  if (Lc) for (var f of Lc(l)) ky.call(l, f) && rU(n, f, l[f]);
46227
46227
  return n;
46228
- }, fd = (n, l) => lk(n, ck(l)), dk = (n, l) => {
46228
+ }, fd = (n, l) => ck(n, dk(l)), uk = (n, l) => {
46229
46229
  var f = {};
46230
46230
  for (var U in n) Ty.call(n, U) && l.indexOf(U) < 0 && (f[U] = n[U]);
46231
46231
  if (n != null && Lc) for (var U of Lc(n)) l.indexOf(U) < 0 && ky.call(n, U) && (f[U] = n[U]);
46232
46232
  return f;
46233
- }, uk = (n) => n.right - n.left < 5 || n.bottom && n.bottom - n.top < 5, hk = ({ spotsList: n, usedSpot: l }) => n.some((f) => f !== l && l.left === f.left), pk = ({ position: n, spot: l, stone: f }) => {
46233
+ }, hk = (n) => n.right - n.left < 5 || n.bottom && n.bottom - n.top < 5, pk = ({ spotsList: n, usedSpot: l }) => n.some((f) => f !== l && l.left === f.left), Bk = ({ position: n, spot: l, stone: f }) => {
46234
46234
  if (n.left > l.left && l.right >= n.left && n.top + f.height > l.top) {
46235
46235
  if (l.bottom && l.bottom < n.top) return l;
46236
46236
  let U = IC({}, l);
46237
46237
  return U.right = n.left, U;
46238
46238
  }
46239
46239
  return null;
46240
- }, Bk = ({ position: n, stone: l, spot: f }) => {
46240
+ }, fk = ({ position: n, stone: l, spot: f }) => {
46241
46241
  if (n.left + l.width > f.left && n.top >= f.top) {
46242
46242
  if (f.bottom && f.bottom < n.top || f.right < n.left) return f;
46243
46243
  let U = IC({}, f);
46244
46244
  return U.bottom = n.top, U;
46245
46245
  }
46246
46246
  return null;
46247
- }, fk = ({ stone: n, position: l, spotsList: f, optimalSpot: U }) => {
46247
+ }, mk = ({ stone: n, position: l, spotsList: f, optimalSpot: U }) => {
46248
46248
  let b = IC({}, U);
46249
- return b.left = l.left + n.width, uk(b) || hk({ usedSpot: b, spotsList: f }) ? null : b;
46250
- }, mk = ({ spots: n, position: l, optimalSpot: f, stone: U }) => n.map((b, S, y) => {
46251
- if (b === f) return fk({ stone: U, position: l, optimalSpot: f, spotsList: y });
46252
- let o = pk({ position: l, spot: b, stone: U });
46253
- return o || Bk({ position: l, stone: U, spot: b }) || b;
46249
+ return b.left = l.left + n.width, hk(b) || pk({ usedSpot: b, spotsList: f }) ? null : b;
46250
+ }, Fk = ({ spots: n, position: l, optimalSpot: f, stone: U }) => n.map((b, S, y) => {
46251
+ if (b === f) return mk({ stone: U, position: l, optimalSpot: f, spotsList: y });
46252
+ let o = Bk({ position: l, spot: b, stone: U });
46253
+ return o || fk({ position: l, stone: U, spot: b }) || b;
46254
46254
  });
46255
- function Fk(n, l) {
46255
+ function Uk(n, l) {
46256
46256
  for (let f = 0, U = l.length; f < U; f++) {
46257
46257
  let b = l[f];
46258
46258
  if (n(b)) return b;
46259
46259
  }
46260
46260
  return null;
46261
46261
  }
46262
- var Uk = (n, l) => l.filter(n), Qk = (n, l) => [...l].sort(n), yk = (n, l) => n.top === l.top ? n.left < l.left ? -1 : 1 : n.top < l.top ? -1 : 1, wk = (n) => Qk(yk, n), bk = ({ availableSpots: n, optimalSpot: l, containerSize: f, stone: U }) => {
46262
+ var Qk = (n, l) => l.filter(n), yk = (n, l) => [...l].sort(n), wk = (n, l) => n.top === l.top ? n.left < l.left ? -1 : 1 : n.top < l.top ? -1 : 1, bk = (n) => yk(wk, n), xk = ({ availableSpots: n, optimalSpot: l, containerSize: f, stone: U }) => {
46263
46263
  let b = { right: f, top: l.top + U.height, left: l.left };
46264
46264
  l.bottom && (b.bottom = l.bottom);
46265
46265
  for (let S = 0, y = n.length; S < y; S += 1) {
@@ -46270,47 +46270,47 @@ var Uk = (n, l) => l.filter(n), Qk = (n, l) => [...l].sort(n), yk = (n, l) => n.
46270
46270
  }
46271
46271
  }
46272
46272
  return b;
46273
- }, xk = (n, l) => {
46273
+ }, Dk = (n, l) => {
46274
46274
  let f = n.right - n.left >= l.width;
46275
46275
  if (!n.bottom) return f;
46276
46276
  let U = n.bottom - n.top >= l.height;
46277
46277
  return f && U;
46278
- }, Dk = ({ availableSpots: n, stone: l }) => Fk((f) => xk(f, l), n);
46279
- function _k({ stone: n, availableSpots: l, containerSize: f }) {
46280
- let U = Dk({ availableSpots: l, stone: n }), b = { left: U.left, top: U.top }, S = bk({ optimalSpot: U, availableSpots: l.filter((V) => V !== U), stone: n, containerSize: f }), y = [...l, S], o = mk({ spots: y, position: b, optimalSpot: U, stone: n });
46281
- return y = [...Uk(Boolean, o)], y = wk(y), { position: b, availableSpots: y };
46278
+ }, _k = ({ availableSpots: n, stone: l }) => Uk((f) => Dk(f, l), n);
46279
+ function Sk({ stone: n, availableSpots: l, containerSize: f }) {
46280
+ let U = _k({ availableSpots: l, stone: n }), b = { left: U.left, top: U.top }, S = xk({ optimalSpot: U, availableSpots: l.filter((V) => V !== U), stone: n, containerSize: f }), y = [...l, S], o = Fk({ spots: y, position: b, optimalSpot: U, stone: n });
46281
+ return y = [...Qk(Boolean, o)], y = bk(y), { position: b, availableSpots: y };
46282
46282
  }
46283
- var Sk = ({ stones: n, containerSize: l }) => {
46283
+ var vk = ({ stones: n, containerSize: l }) => {
46284
46284
  let f = { positions: [], containerHeight: 0, availableSpots: [] };
46285
46285
  if (!n.length) return f;
46286
46286
  let U = 0, b = [], S = [{ top: 0, left: 0, right: l }];
46287
46287
  for (let y of n) {
46288
- let o = _k({ availableSpots: S, stone: y, containerSize: l }), V = o.position.top + y.height;
46288
+ let o = Sk({ availableSpots: S, stone: y, containerSize: l }), V = o.position.top + y.height;
46289
46289
  U < V && (U = V), b.push(o.position), S = o.availableSpots;
46290
46290
  }
46291
46291
  return { availableSpots: S, positions: b, containerHeight: U };
46292
- }, vk = (n) => n.reduce((l, f) => {
46292
+ }, Rk = (n) => n.reduce((l, f) => {
46293
46293
  if (!f) return l;
46294
46294
  let U = f.getBoundingClientRect();
46295
46295
  return l.push({ width: U.width, height: U.height }), l;
46296
- }, []), Rk = ({ boxesRefs: n, wrapperRef: l, children: f, windowWidth: U, wrapperWidth: b }) => {
46296
+ }, []), Mk = ({ boxesRefs: n, wrapperRef: l, children: f, windowWidth: U, wrapperWidth: b }) => {
46297
46297
  let [{ positions: S, containerHeight: y, stones: o, availableSpots: V }, E] = Oe({ positions: [], containerHeight: null, stones: [], availableSpots: [] });
46298
46298
  return Ct(() => {
46299
46299
  var T, N;
46300
- let W = vk(n.current), j = (N = (T = l.current) == null ? void 0 : T.offsetWidth) != null ? N : 0;
46300
+ let W = Rk(n.current), j = (N = (T = l.current) == null ? void 0 : T.offsetWidth) != null ? N : 0;
46301
46301
  if (j === null) return;
46302
- let q = Sk({ stones: W, containerSize: j });
46302
+ let q = vk({ stones: W, containerSize: j });
46303
46303
  E(fd(IC({}, q), { stones: W }));
46304
46304
  }, [f, n, l, U, b]), { positions: S, containerHeight: y, stones: o, availableSpots: V };
46305
- }, Mk = (n) => ({ fade: `${n}ms opacity ease`, fadeMove: `
46305
+ }, Vk = (n) => ({ fade: `${n}ms opacity ease`, fadeMove: `
46306
46306
  ${n}ms opacity ease,
46307
46307
  ${n}ms top ease,
46308
46308
  ${n}ms left ease
46309
46309
  `, move: `
46310
46310
  ${n}ms top ease,
46311
46311
  ${n}ms left ease
46312
- ` }), Vk = ({ transition: n, transitionDuration: l }) => n ? { transition: Mk(l)[n] } : null, Pk = (n) => n ? fd(IC({}, n), { opacity: 1 }) : { opacity: 0, top: 0, left: 0 }, Gk = ({ style: n, position: l, transition: f, transitionDuration: U }) => IC(IC(fd(IC({}, n), { position: "absolute" }), Pk(l)), Vk({ transition: f, transitionDuration: U }));
46313
- function Ek(n, l, f) {
46312
+ ` }), Pk = ({ transition: n, transitionDuration: l }) => n ? { transition: Vk(l)[n] } : null, Gk = (n) => n ? fd(IC({}, n), { opacity: 1 }) : { opacity: 0, top: 0, left: 0 }, Ek = ({ style: n, position: l, transition: f, transitionDuration: U }) => IC(IC(fd(IC({}, n), { position: "absolute" }), Gk(l)), Pk({ transition: f, transitionDuration: U }));
46313
+ function Tk(n, l, f) {
46314
46314
  let U;
46315
46315
  return function(...b) {
46316
46316
  U && clearTimeout(U), U = setTimeout(function() {
@@ -46318,8 +46318,8 @@ function Ek(n, l, f) {
46318
46318
  }, l);
46319
46319
  };
46320
46320
  }
46321
- var Tk = () => {
46322
- let [n, l] = Oe(), f = ke(Ek(l, 300));
46321
+ var kk = () => {
46322
+ let [n, l] = Oe(), f = ke(Tk(l, 300));
46323
46323
  return Ct(() => {
46324
46324
  let U = () => {
46325
46325
  f.current(window.innerWidth);
@@ -46328,7 +46328,7 @@ var Tk = () => {
46328
46328
  window.removeEventListener("resize", U);
46329
46329
  };
46330
46330
  }, []), n;
46331
- }, kk = (n) => {
46331
+ }, Zk = (n) => {
46332
46332
  let [l, f] = Oe(null);
46333
46333
  return Ct(() => {
46334
46334
  let U = new ResizeObserver((b) => {
@@ -46338,18 +46338,18 @@ var Tk = () => {
46338
46338
  U.disconnect();
46339
46339
  };
46340
46340
  }, [n]), l;
46341
- }, Zk = (n) => {
46342
- var l = n, { children: f, style: U, transition: b = !1, transitionDuration: S = 500, transitionStep: y = 50 } = l, o = dk(l, ["children", "style", "transition", "transitionDuration", "transitionStep"]);
46343
- let V = ke([]), E = ke(null), T = Tk(), N = kk(E), { positions: W, containerHeight: j } = Rk({ boxesRefs: V, wrapperRef: E, children: f, windowWidth: T, wrapperWidth: N }), q = IC({ minHeight: j ?? 0, position: "relative" }, U);
46341
+ }, Nk = (n) => {
46342
+ var l = n, { children: f, style: U, transition: b = !1, transitionDuration: S = 500, transitionStep: y = 50 } = l, o = uk(l, ["children", "style", "transition", "transitionDuration", "transitionStep"]);
46343
+ let V = ke([]), E = ke(null), T = kk(), N = Zk(E), { positions: W, containerHeight: j } = Mk({ boxesRefs: V, wrapperRef: E, children: f, windowWidth: T, wrapperWidth: N }), q = IC({ minHeight: j ?? 0, position: "relative" }, U);
46344
46344
  return p("div", fd(IC({ ref: E, style: q }, o), { children: up.map(f, ($, L) => {
46345
46345
  if (typeof $ != "object" || !$ || !("type" in $)) return $;
46346
- let ie = { style: Gk({ style: $.props.style, position: W[L], transition: b, transitionDuration: S }), ref: (Z) => V.current[L] = Z };
46346
+ let ie = { style: Ek({ style: $.props.style, position: W[L], transition: b, transitionDuration: S }), ref: (Z) => V.current[L] = Z };
46347
46347
  return NU($, IC(IC({}, $.props), ie));
46348
46348
  }) }));
46349
46349
  };
46350
- const Nk = { sm: 340, md: 480, lg: 640 }, AU = Qg(
46350
+ const Kk = { sm: 340, md: 480, lg: 640 }, AU = Qg(
46351
46351
  function({ children: l, widgetWidth: f = "sm" }, U) {
46352
- const b = Nk[f], [S, y] = Oe(), o = up.toArray(l), V = ke(null);
46352
+ const b = Kk[f], [S, y] = Oe(), o = up.toArray(l), V = ke(null);
46353
46353
  return Ct(() => {
46354
46354
  const E = () => {
46355
46355
  const T = V.current?.offsetWidth;
@@ -46358,7 +46358,7 @@ const Nk = { sm: 340, md: 480, lg: 640 }, AU = Qg(
46358
46358
  return E(), window.addEventListener("resize", E), () => {
46359
46359
  window.removeEventListener("resize", E);
46360
46360
  };
46361
- }, [y, b]), /* @__PURE__ */ p("div", { ref: U, className: "text-f1-foreground", children: /* @__PURE__ */ p("div", { ref: V, children: S === 1 ? /* @__PURE__ */ p("div", { className: "flex flex-col gap-4 *:shadow", children: l }) : S && S > 1 && /* @__PURE__ */ p("div", { className: "relative -mr-4", children: /* @__PURE__ */ p(Zk, { children: o.map((E, T) => /* @__PURE__ */ p(
46361
+ }, [y, b]), /* @__PURE__ */ p("div", { ref: U, className: "text-f1-foreground", children: /* @__PURE__ */ p("div", { ref: V, children: S === 1 ? /* @__PURE__ */ p("div", { className: "flex flex-col gap-4 *:shadow", children: l }) : S && S > 1 && /* @__PURE__ */ p("div", { className: "relative -mr-4", children: /* @__PURE__ */ p(Nk, { children: o.map((E, T) => /* @__PURE__ */ p(
46362
46362
  "div",
46363
46363
  {
46364
46364
  style: {
@@ -46370,7 +46370,7 @@ const Nk = { sm: 340, md: 480, lg: 640 }, AU = Qg(
46370
46370
  T
46371
46371
  )) }, S) }) }) });
46372
46372
  }
46373
- ), Kk = ["sm", "lg", "md", "md", "lg", "sm", "lg", "lg", "sm", "sm", "md", "md"], aN = OI(AU, () => /* @__PURE__ */ p(ZU, { children: /* @__PURE__ */ p(AU, { children: Kk.map((n, l) => /* @__PURE__ */ p(nr.Skeleton, { height: n }, l)) }) })), sU = ({ children: n }) => /* @__PURE__ */ p("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: n }), lN = OI(
46373
+ ), Wk = ["sm", "lg", "md", "md", "lg", "sm", "lg", "lg", "sm", "sm", "md", "md"], lN = OI(AU, () => /* @__PURE__ */ p(ZU, { children: /* @__PURE__ */ p(AU, { children: Wk.map((n, l) => /* @__PURE__ */ p(nr.Skeleton, { height: n }, l)) }) })), sU = ({ children: n }) => /* @__PURE__ */ p("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: n }), cN = OI(
46374
46374
  Qg(function({ children: l }, f) {
46375
46375
  return /* @__PURE__ */ p(qc, { ref: f, showBar: !1, children: /* @__PURE__ */ p(sU, { children: l }) });
46376
46376
  }),
@@ -46380,7 +46380,7 @@ const Nk = { sm: 340, md: 480, lg: 640 }, AU = Qg(
46380
46380
  /* @__PURE__ */ p(nr.Skeleton, {})
46381
46381
  ] }) })
46382
46382
  );
46383
- function Wk({
46383
+ function Yk({
46384
46384
  title: n,
46385
46385
  description: l,
46386
46386
  emoji: f,
@@ -46400,8 +46400,8 @@ function Wk({
46400
46400
  }
46401
46401
  );
46402
46402
  }
46403
- const cN = HI(
46404
- iI("WidgetEmptyState", Wk)
46403
+ const dN = HI(
46404
+ iI("WidgetEmptyState", Yk)
46405
46405
  ), Zy = Qg(
46406
46406
  ({ title: n, children: l }, f) => (W1(
46407
46407
  n,
@@ -46413,9 +46413,9 @@ const cN = HI(
46413
46413
  ] }))
46414
46414
  );
46415
46415
  Zy.displayName = "WidgetSection";
46416
- const dN = HI(
46416
+ const uN = HI(
46417
46417
  iI("WidgetSection", Zy)
46418
- ), uN = ({
46418
+ ), hN = ({
46419
46419
  identifier: n,
46420
46420
  allowedRoutes: l,
46421
46421
  disallowedRoutes: f,
@@ -46426,7 +46426,7 @@ const dN = HI(
46426
46426
  return l && l.length > 0 && (V += ` Allowed routes: ${l.join(", ")}`), f && f.length > 0 && (V += ` Disallowed routes: ${f.join(", ")}`), V;
46427
46427
  }, [n, l, f]);
46428
46428
  return y ? U : (b && console.error(o), null);
46429
- }, hN = HI(
46429
+ }, pN = HI(
46430
46430
  NC(
46431
46431
  {
46432
46432
  name: "ScrollArea",
@@ -46441,26 +46441,26 @@ export {
46441
46441
  BR as B,
46442
46442
  wR as C,
46443
46443
  lr as D,
46444
- dZ as E,
46445
- CZ as F,
46446
- mZ as G,
46447
- pZ as H,
46448
- FZ as I,
46444
+ uZ as E,
46445
+ nZ as F,
46446
+ FZ as G,
46447
+ BZ as H,
46448
+ UZ as I,
46449
46449
  W_ as J,
46450
46450
  Fp as K,
46451
- $k as L,
46452
- eZ as M,
46451
+ eZ as L,
46452
+ tZ as M,
46453
46453
  iS as N,
46454
- fZ as O,
46455
- tZ as P,
46456
- UZ as Q,
46454
+ mZ as O,
46455
+ gZ as P,
46456
+ QZ as Q,
46457
46457
  xR as R,
46458
- hN as S,
46459
- QZ as T,
46460
- yZ as U,
46458
+ pN as S,
46459
+ yZ as T,
46460
+ wZ as U,
46461
46461
  OR as V,
46462
- wZ as W,
46463
- bZ as X,
46462
+ bZ as W,
46463
+ xZ as X,
46464
46464
  e2 as Y,
46465
46465
  C2 as Z,
46466
46466
  K0 as _,
@@ -46468,98 +46468,98 @@ export {
46468
46468
  ST as a$,
46469
46469
  Wc as a0,
46470
46470
  A2 as a1,
46471
- xZ as a2,
46472
- DZ as a3,
46473
- _Z as a4,
46474
- SZ as a5,
46475
- vZ as a6,
46471
+ DZ as a2,
46472
+ _Z as a3,
46473
+ SZ as a4,
46474
+ vZ as a5,
46475
+ RZ as a6,
46476
46476
  qR as a7,
46477
- RZ as a8,
46477
+ MZ as a8,
46478
46478
  Vh as a9,
46479
46479
  XF as aA,
46480
46480
  Lh as aB,
46481
- qZ as aC,
46482
- $Z as aD,
46483
- eN as aE,
46484
- tN as aF,
46485
- gN as aG,
46486
- IN as aH,
46487
- AN as aI,
46481
+ $Z as aC,
46482
+ eN as aD,
46483
+ tN as aE,
46484
+ gN as aF,
46485
+ IN as aG,
46486
+ iN as aH,
46487
+ sN as aI,
46488
46488
  Sy as aJ,
46489
46489
  _y as aK,
46490
46490
  Dy as aL,
46491
46491
  lT as aM,
46492
- iN as aN,
46492
+ CN as aN,
46493
46493
  fT as aO,
46494
- CN as aP,
46495
- nN as aQ,
46496
- oN as aR,
46494
+ nN as aP,
46495
+ oN as aQ,
46496
+ rN as aR,
46497
46497
  hd as aS,
46498
46498
  qh as aT,
46499
- rN as aU,
46499
+ AN as aU,
46500
46500
  Ry as aV,
46501
46501
  mT as aW,
46502
46502
  pd as aX,
46503
46503
  My as aY,
46504
46504
  wT as aZ,
46505
46505
  Bd as a_,
46506
- MZ as aa,
46506
+ VZ as aa,
46507
46507
  pF as ab,
46508
- VZ as ac,
46509
- IZ as ad,
46510
- TZ as ae,
46511
- EZ as af,
46508
+ PZ as ac,
46509
+ iZ as ad,
46510
+ kZ as ae,
46511
+ TZ as af,
46512
46512
  cr as ag,
46513
- PZ as ah,
46514
- GZ as ai,
46513
+ GZ as ah,
46514
+ EZ as ai,
46515
46515
  Yc as aj,
46516
46516
  Y2 as ak,
46517
- kZ as al,
46518
- ZZ as am,
46519
- NZ as an,
46520
- KZ as ao,
46521
- WZ as ap,
46522
- YZ as aq,
46523
- zZ as ar,
46524
- JZ as as,
46525
- HZ as at,
46526
- OZ as au,
46517
+ ZZ as al,
46518
+ NZ as am,
46519
+ KZ as an,
46520
+ WZ as ao,
46521
+ YZ as ap,
46522
+ zZ as aq,
46523
+ JZ as ar,
46524
+ HZ as as,
46525
+ OZ as at,
46526
+ jZ as au,
46527
46527
  Kc as av,
46528
- jZ as aw,
46529
- LZ as ax,
46528
+ LZ as aw,
46529
+ XZ as ax,
46530
46530
  BE as ay,
46531
- XZ as az,
46532
- nZ as b,
46531
+ qZ as az,
46532
+ oZ as b,
46533
46533
  CU as b0,
46534
46534
  qp as b1,
46535
- sN as b2,
46536
- aN as b3,
46537
- lN as b4,
46538
- cN as b5,
46539
- dN as b6,
46540
- uN as b7,
46541
- oZ as c,
46542
- AZ as d,
46543
- rZ as e,
46544
- iZ as f,
46545
- qk as g,
46546
- Xk as h,
46547
- aZ as i,
46535
+ aN as b2,
46536
+ lN as b3,
46537
+ cN as b4,
46538
+ dN as b5,
46539
+ uN as b6,
46540
+ hN as b7,
46541
+ rZ as c,
46542
+ sZ as d,
46543
+ AZ as e,
46544
+ CZ as f,
46545
+ $k as g,
46546
+ qk as h,
46547
+ lZ as i,
46548
46548
  jv as j,
46549
- sZ as k,
46549
+ aZ as k,
46550
46550
  r0 as l,
46551
46551
  PA as m,
46552
46552
  A0 as n,
46553
46553
  uv as o,
46554
- lZ as p,
46555
- cZ as q,
46556
- gZ as r,
46554
+ cZ as p,
46555
+ dZ as q,
46556
+ IZ as r,
46557
46557
  fR as s,
46558
- uZ as t,
46558
+ hZ as t,
46559
46559
  Cd as u,
46560
46560
  yR as v,
46561
- hZ as w,
46561
+ pZ as w,
46562
46562
  MR as x,
46563
46563
  VR as y,
46564
- BZ as z
46564
+ fZ as z
46565
46565
  };