@factorialco/f0-react 16.21.0 → 16.23.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.
Files changed (44) hide show
  1. package/dist/{ArchiveThumbnail-BePfOv3F.js → ArchiveThumbnail-DVDLD1KO.js} +1 -1
  2. package/dist/{ArchiveViewer-DvKspMsv.js → ArchiveViewer-DE9_XePM.js} +2 -2
  3. package/dist/{ChatPostComposerDialog-BhlQzTXz.js → ChatPostComposerDialog-CwwUOsKv.js} +2 -2
  4. package/dist/{CoachmarkProvider-B0Fs1pf7.js → CoachmarkProvider-DKzIMyWY.js} +20671 -20665
  5. package/dist/{CodeThumbnail-CZKjZwpZ.js → CodeThumbnail-xdea98O9.js} +1 -1
  6. package/dist/{CodeViewer-DNLPQ2xO.js → CodeViewer-Btnvqa-X.js} +6 -6
  7. package/dist/{DocumentToolbar-Dua6PID0.js → DocumentToolbar-B_sygiWe.js} +5 -5
  8. package/dist/{DocxViewer-D2S3lGOn.js → DocxViewer-BKEv7ORw.js} +1 -1
  9. package/dist/{F0AiProcessingOverlay-bNWPwuH3.js → F0AiProcessingOverlay-BBvhg8LC.js} +286 -286
  10. package/dist/{F0Alert-DHPOzhGo.js → F0Alert-DtSyPCxn.js} +4 -4
  11. package/dist/F0AudioPlayer-CbwGn5bL.js +2 -0
  12. package/dist/{F0CanvasPanel-DV9kMkUy.js → F0CanvasPanel-CQ7gX7-P.js} +7855 -7746
  13. package/dist/{F0DocumentViewer-C-e-yjPh.js → F0DocumentViewer-BZsMdNcY.js} +1 -1
  14. package/dist/{F0DocumentViewer-BSMvv4hU.js → F0DocumentViewer-DWXuPrOG.js} +2 -2
  15. package/dist/{F0Map-C5GBzJKx.js → F0Map-BuLyNjHC.js} +16 -16
  16. package/dist/{F0Select-Ef_MkLqL.js → F0Select-DGvIH_Gp.js} +1607 -1601
  17. package/dist/{F0VideoPlayer-BXD4JMkM.js → F0VideoPlayer-B4JYaa4U.js} +22 -22
  18. package/dist/F0VideoPlayer-BYTQqwd2.js +1 -0
  19. package/dist/{HtmlViewer-CX1vkYRx.js → HtmlViewer-OY8T2uX6.js} +4 -4
  20. package/dist/{Map-BnhKWUJE.js → Map-CuunG2oS.js} +6 -6
  21. package/dist/{PdfThumbnail-BJi6FkbE.js → PdfThumbnail-DfwDJHEr.js} +1 -1
  22. package/dist/{PdfViewer-CFn2h9nq.js → PdfViewer-DzbV7lZw.js} +8 -8
  23. package/dist/{SheetViewer-onMadxsi.js → SheetViewer-DGX6KHnL.js} +11 -11
  24. package/dist/{TextViewer-BIcgDoH5.js → TextViewer-CLqt6uiQ.js} +1 -1
  25. package/dist/ai.d.ts +2 -2
  26. package/dist/ai.js +2 -2
  27. package/dist/component-status.js +4 -4
  28. package/dist/{dist-BCNVh6y5.js → dist-DMTFO2gF.js} +46 -0
  29. package/dist/experimental.d.ts +14 -3
  30. package/dist/experimental.js +974 -958
  31. package/dist/{exports-B8qwxvwL.d.ts → exports-BSFis6g6.d.ts} +1 -1
  32. package/dist/f0.d.ts +3 -3
  33. package/dist/f0.js +604 -609
  34. package/dist/{google-CG30Y63J.js → google-DDQ7XfPD.js} +1 -1
  35. package/dist/{highlight-BeMwpXOl.js → highlight-DpVfX1K9.js} +1 -1
  36. package/dist/{index-DC_v_uUG.d.ts → index-DR7cCKE6.d.ts} +62 -16
  37. package/dist/{maplibre-iFKMikCO.js → maplibre-BOwxOCps.js} +2 -2
  38. package/dist/{pdfWorker-rlBg8XHy.js → pdfWorker-DtUZLMfu.js} +1 -1
  39. package/dist/styles.css +1 -1
  40. package/dist/{types-Ia5pcWL6.d.ts → types-ChFboQlr.d.ts} +15 -4
  41. package/dist/{useData-CVTa0m1L.js → useData-QJRr_47g.js} +1 -1
  42. package/package.json +2 -2
  43. package/dist/F0AudioPlayer-BrjgdlIL.js +0 -2
  44. package/dist/F0VideoPlayer-Bwq_1c7j.js +0 -1
package/dist/f0.js CHANGED
@@ -1,51 +1,51 @@
1
1
  import { o as e } from "./rolldown-runtime-BItFwnF5.js";
2
- import { $ as t, $n as n, $r as r, A as i, An as a, Ar as o, Bn as s, C as c, Cn as l, Cr as u, D as d, Dn as f, Dr as p, E as m, En as h, Er as g, F as _, Fn as v, Ft as y, Gn as b, Gt as x, Hn as S, Ht as C, I as w, In as T, It as E, Jn as D, Jr as O, Jt as k, Kn as A, Kr as j, Kt as M, Ln as N, Lt as P, M as F, Mn as I, Mr as ee, N as te, Nn as L, Nr as ne, O as re, On as ie, Or as ae, Ot as oe, P as se, Pn as ce, Pt as le, Q as ue, Qr as de, Qt as fe, Rn as pe, Rt as me, S as he, Sn as ge, Sr as _e, T as ve, Tn as ye, Tr as be, Un as xe, Ut as Se, Vn as Ce, Vt as we, Wn as Te, Wr as Ee, Wt as De, Xn as Oe, Yn as ke, Yr as Ae, Yt as je, Zn as Me, Zr as Ne, Zt as Pe, _ as Fe, _r as Ie, _t as Le, ai as Re, ar as ze, b as Be, bi as Ve, br as He, bt as Ue, c as We, cn as Ge, cr as Ke, d as qe, di as Je, dr as Ye, ei as Xe, en as Ze, er as Qe, et as $e, f as et, fi as tt, fr as nt, ft as rt, gr as it, gt as at, h as ot, hr as st, ht as ct, i as lt, ii as ut, ir as dt, j as ft, jn as pt, jr as mt, k as ht, kn as gt, kr as _t, l as vt, ln as yt, lr as bt, lt as xt, m as St, mr as Ct, mt as wt, ni as Tt, nn as Et, nr as Dt, on as Ot, or as kt, pi as At, pr as jt, qn as Mt, qr as Nt, qt as Pt, ri as Ft, rn as It, rr as Lt, s as Rt, sn as zt, sr as Bt, t as Vt, tn as Ht, tr as Ut, u as Wt, un as Gt, ur as Kt, v as qt, vr as Jt, vt as Yt, w as Xt, wi as Zt, wn as Qt, wr as $t, x as en, xi as tn, xn as nn, xr as rn, xt as an, y as on, yi as sn, yr as cn, yt as ln, zn as un, zt as dn } from "./CoachmarkProvider-B0Fs1pf7.js";
2
+ import { $ as t, $n as n, $r as r, A as i, An as a, Ar as o, Bn as s, C as c, Cn as l, Cr as u, D as d, Dn as f, Dr as p, E as m, En as h, Er as g, F as _, Fn as v, Ft as y, Gn as b, Gt as x, Hn as S, Ht as C, I as w, In as T, It as E, Jn as D, Jr as O, Jt as k, Kn as A, Kr as j, Kt as M, Ln as N, Lt as P, M as F, Mn as I, Mr as ee, N as te, Nn as L, Nr as ne, O as re, On as ie, Or as ae, Ot as oe, P as se, Pn as ce, Pt as le, Q as ue, Qr as de, Qt as fe, Rn as pe, Rt as me, S as he, Sn as ge, Sr as _e, T as ve, Tn as ye, Tr as be, Un as xe, Ut as Se, Vn as Ce, Vt as we, Wn as Te, Wr as Ee, Wt as De, Xn as Oe, Yn as ke, Yr as Ae, Yt as je, Zn as Me, Zr as Ne, Zt as Pe, _ as Fe, _r as Ie, _t as Le, ai as Re, ar as ze, b as Be, bi as Ve, br as He, bt as Ue, c as We, cn as Ge, cr as Ke, d as qe, di as Je, dr as Ye, ei as Xe, en as Ze, er as Qe, et as $e, f as et, fi as tt, fr as nt, ft as rt, gr as it, gt as at, h as ot, hr as st, ht as ct, i as lt, ii as ut, ir as dt, j as ft, jn as pt, jr as mt, k as ht, kn as gt, kr as _t, l as vt, ln as yt, lr as bt, lt as xt, m as St, mr as Ct, mt as wt, ni as Tt, nn as Et, nr as Dt, on as Ot, or as kt, pi as At, pr as jt, qn as Mt, qr as Nt, qt as Pt, ri as Ft, rn as It, rr as Lt, s as Rt, sn as zt, sr as Bt, t as Vt, tn as Ht, tr as Ut, u as Wt, un as Gt, ur as Kt, v as qt, vr as Jt, vt as Yt, w as Xt, wi as Zt, wn as Qt, wr as $t, x as en, xi as tn, xn as nn, xr as rn, xt as an, y as on, yi as sn, yr as cn, yt as ln, zn as un, zt as dn } from "./CoachmarkProvider-DKzIMyWY.js";
3
3
  import { a as R, i as fn, n as pn, o as mn, r as z, t as hn } from "./i18n-provider-DyI_r6Au.js";
4
4
  import { n as gn, t as _n } from "./skeleton-Dw-7r7zp.js";
5
5
  import { A as vn, C as yn, D as bn, F as xn, I as Sn, L as B, M as Cn, N as wn, O as Tn, P as En, R as Dn, S as On, _ as kn, b as An, c as jn, f as Mn, g as Nn, h as Pn, j as Fn, k as In, l as Ln, m as Rn, p as zn, v as Bn, w as Vn, x as Hn, y as Un } from "./tooltip-NXXT56H4.js";
6
6
  import { E as Wn, F as Gn, H as Kn, I as qn, K as Jn, N as Yn, P as Xn, Y as Zn, b as Qn, f as $n, h as er, m as tr, n as nr, p as rr, r as ir, t as V, x as ar } from "./F0Button-B217B6lh.js";
7
- import { $i as or, $r as sr, Ao as cr, B as lr, Bn as ur, Bo as dr, Cc as fr, Di as pr, Fs as mr, G as hr, Gi as gr, Gn as _r, H as vr, Hn as yr, Ii as br, Ji as xr, K as Sr, Ki as Cr, Kt as wr, Mi as Tr, Ni as Er, Oc as Dr, Oi as Or, Pc as kr, Pi as Ar, Pl as jr, Qc as Mr, Qi as Nr, Ri as Pr, Sc as Fr, Ss as Ir, U as Lr, Un as Rr, V as zr, Vo as Br, W as Vr, Wi as Hr, Wn as Ur, Ws as Wr, Xn as Gr, Yi as Kr, Yn as qr, Zi as Jr, Zn as Yr, _a as Xr, _i as Zr, _l as Qr, a as $r, aa as ei, ai as ti, ar as ni, as as ri, ca as ii, ci as ai, cr as oi, cs as si, da as ci, dl as li, dr as ui, ea as di, ei as fi, fa as pi, fc as mi, fi as hi, fl as gi, fs as _i, ga as vi, gi as yi, gl as bi, ha as xi, hi as Si, hl as Ci, i as wi, ia as Ti, ii as Ei, jl as Di, js as Oi, jt as ki, kc as Ai, ks as ji, la as Mi, lr as Ni, ls as Pi, ma as Fi, mi as Ii, ml as Li, ni as Ri, nl as zi, oa as Bi, oc as Vi, or as Hi, pa as Ui, pi as Wi, pl as Gi, q as Ki, qn as qi, ra as Ji, ri as Yi, rl as Xi, sa as Zi, si as Qi, sn as $i, sr as ea, ss as ta, t as na, ti as ra, ts as ia, ua as aa, ur as oa, wc as sa, wl as ca, xs as la, yc as ua, yl as da } from "./F0CanvasPanel-DV9kMkUy.js";
8
- import { A as fa, B as pa, C as ma, D as ha, E as ga, F as _a, H as va, I as ya, L as ba, M as xa, N as Sa, O as Ca, P as wa, R as Ta, S as Ea, T as Da, V as Oa, _ as ka, a as Aa, b as ja, c as Ma, d as Na, f as Pa, g as Fa, h as Ia, i as La, j as Ra, k as za, l as Ba, m as Va, n as Ha, o as Ua, p as Wa, r as Ga, s as Ka, t as qa, u as Ja, v as Ya, w as Xa, x as Za, y as Qa, z as $a } from "./F0AiProcessingOverlay-bNWPwuH3.js";
9
- import { a as eo, i as to, n as no, o as ro, r as io, t as H } from "./F0Icon-CRETnjaC.js";
10
- import { t as ao } from "./i18n-provider-defaults-C8fwj3sA.js";
11
- import { A as oo, C as so, D as co, H as lo, N as uo, S as fo, U as po, _ as mo, a as ho, b as go, d as _o, g as vo, h as yo, i as bo, k as xo, n as So, o as Co, p as wo, r as To, t as Eo, u as Do } from "./useData-CVTa0m1L.js";
12
- import { $ as Oo, B as ko, Bt as Ao, Cr as jo, Dn as Mo, Dr as No, Dt as Po, En as Fo, Et as Io, Ft as Lo, G as Ro, H as zo, In as Bo, It as Vo, J as Ho, K as Uo, Lt as Wo, Mt as Go, Nt as Ko, Or as qo, Ot as Jo, Pt as Yo, Q as Xo, R as Zo, Rt as Qo, St as $o, Tr as es, U as ts, W as ns, X as rs, Y as is, _ as as, _t as os, a as ss, an as cs, bt as ls, c as us, cr as ds, d as fs, dt as ps, fr as ms, g as hs, gt as gs, h as _s, hr as vs, it as ys, jt as bs, kn as xs, kr as Ss, kt as Cs, l as ws, m as Ts, nt as Es, o as Ds, q as Os, r as ks, rn as As, rt as js, s as Ms, t as Ns, tt as Ps, u as Fs, ur as Is, ut as Ls, v as Rs, vt as zs, w as Bs, wr as Vs, wt as Hs, y as Us, yt as Ws } from "./F0Select-Ef_MkLqL.js";
13
- import { t as Gs } from "./Check-DAp9gCRh.js";
14
- import { a as Ks } from "./dist-CpxH3Mhm.js";
15
- import { t as qs } from "./Ellipsis-CBouJQYY.js";
16
- import { t as Js } from "./LockLocked-gdodYvT_.js";
17
- import { t as Ys } from "./purify.es-CJ7gZxxn.js";
18
- import { J as Xs, S as Zs, a as Qs, b as $s, d as ec, f as tc, g as nc, h as rc, i as ic, m as ac, p as oc, t as sc, w as cc, x as lc, y as uc } from "./popover-CKVOp9XF.js";
19
- import { i as dc, r as fc } from "./dist-CLXu6f__.js";
20
- import { t as pc } from "./F0Text-DEJMiNLl.js";
21
- import { t as mc } from "./F0Alert-DHPOzhGo.js";
22
- import { n as hc, r as gc, t as _c } from "./F0DocumentViewer-BSMvv4hU.js";
23
- import { t as vc } from "./pdfWorkerConfig-BwllKt1K.js";
24
- import { t as yc } from "./F0VideoPlayer-BXD4JMkM.js";
7
+ import { $i as or, $r as sr, Ac as cr, B as lr, Bn as ur, Cs as dr, Di as fr, Ec as pr, El as mr, G as hr, Gi as gr, Gn as _r, H as vr, Hn as yr, Ho as br, Ic as xr, Ii as Sr, Il as Cr, Ji as wr, K as Tr, Ki as Er, Ks as Dr, Kt as Or, Ls as kr, Mi as Ar, Mo as jr, Ni as Mr, Nl as Nr, Ns as Pr, Oi as Fr, Pi as Ir, Qi as Lr, Ri as Rr, Tc as zr, U as Br, Un as Vr, Uo as Hr, V as Ur, W as Wr, Wi as Gr, Wn as Kr, Xn as qr, Yi as Jr, Yn as Yr, Zi as Xr, Zn as Zr, _a as Qr, _i as $r, _l as ei, a as ti, aa as ni, ai as ri, al as ii, ar as ai, ca as oi, cc as si, ci, cr as li, da as ui, dr as di, ds as fi, ea as pi, ei as mi, el as hi, fa as gi, fi as _i, ga as vi, gi as yi, gl as bi, ha as xi, hi as Si, hl as Ci, i as wi, ii as Ti, il as Ei, jc as Di, js as Oi, jt as ki, la as Ai, lr as ji, ls as Mi, ma as Ni, mc as Pi, mi as Fi, ml as Ii, ms as Li, na as Ri, ni as zi, oa as Bi, or as Vi, pa as Hi, pi as Ui, pl as Wi, q as Gi, qn as Ki, ri as qi, rs as Ji, sa as Yi, si as Xi, sn as Zi, sr as Qi, ss as $i, t as ea, ti as ta, ua as na, ur as ra, us as ia, va as aa, vl as oa, wc as sa, ws as ca, xc as la, xl as ua, ya as da, yl as fa } from "./F0CanvasPanel-CQ7gX7-P.js";
8
+ import { A as pa, B as ma, C as ha, D as ga, E as _a, F as va, H as ya, I as ba, L as xa, M as Sa, N as Ca, O as wa, P as Ta, R as Ea, S as Da, T as Oa, V as ka, _ as Aa, a as ja, b as Ma, c as Na, d as Pa, f as Fa, g as Ia, h as La, i as Ra, j as za, k as Ba, l as Va, m as Ha, n as Ua, o as Wa, p as Ga, r as Ka, s as qa, t as Ja, u as Ya, v as Xa, w as Za, x as Qa, y as $a, z as eo } from "./F0AiProcessingOverlay-BBvhg8LC.js";
9
+ import { a as to, i as no, n as ro, o as io, r as ao, t as H } from "./F0Icon-CRETnjaC.js";
10
+ import { t as oo } from "./i18n-provider-defaults-C8fwj3sA.js";
11
+ import { A as so, C as co, D as lo, H as uo, N as fo, S as po, U as mo, _ as ho, a as go, b as _o, d as vo, g as yo, h as bo, i as xo, k as So, n as Co, o as wo, p as To, r as Eo, t as Do, u as Oo } from "./useData-QJRr_47g.js";
12
+ import { $ as ko, B as Ao, Et as jo, Fr as Mo, G as No, Gt as Po, H as Fo, Ht as Io, In as Lo, It as Ro, J as zo, Jt as Bo, K as Vo, Kn as Ho, Kt as Uo, Ln as Wo, Lr as Go, Lt as Ko, Nr as qo, Pr as Jo, Pt as Yo, Q as Xo, R as Zo, Rr as Qo, Rt as $o, Sr as es, St as ts, Tr as ns, U as rs, Ut as is, Vt as as, W as os, Wt as ss, X as cs, Xt as ls, Y as us, _ as ds, a as fs, br as ps, bt as ms, c as hs, d as gs, dt as _s, g as vs, h as ys, hn as bs, it as xs, l as Ss, m as Cs, nt as ws, o as Ts, pn as Es, q as Ds, qt as Os, r as ks, rt as As, s as js, t as Ms, tt as Ns, u as Ps, ut as Fs, v as Is, vr as Ls, vt as Rs, w as zs, xt as Bs, y as Vs, yt as Hs, zn as Us, zr as Ws, zt as Gs } from "./F0Select-DGvIH_Gp.js";
13
+ import { t as Ks } from "./Check-DAp9gCRh.js";
14
+ import { a as qs } from "./dist-CpxH3Mhm.js";
15
+ import { t as Js } from "./Ellipsis-CBouJQYY.js";
16
+ import { t as Ys } from "./LockLocked-gdodYvT_.js";
17
+ import { t as Xs } from "./purify.es-CJ7gZxxn.js";
18
+ import { J as Zs, S as Qs, a as $s, b as ec, d as tc, f as nc, g as rc, h as ic, i as ac, m as oc, p as sc, t as cc, w as lc, x as uc, y as dc } from "./popover-CKVOp9XF.js";
19
+ import { i as fc, r as pc } from "./dist-CLXu6f__.js";
20
+ import { t as mc } from "./F0Text-DEJMiNLl.js";
21
+ import { t as hc } from "./F0Alert-DtSyPCxn.js";
22
+ import { n as gc, r as _c, t as vc } from "./F0DocumentViewer-DWXuPrOG.js";
23
+ import { t as yc } from "./pdfWorkerConfig-BwllKt1K.js";
24
+ import { t as bc } from "./F0VideoPlayer-B4JYaa4U.js";
25
25
  import * as U from "react";
26
- import bc, { Children as xc, Fragment as Sc, createContext as Cc, forwardRef as wc, isValidElement as Tc, memo as Ec, useCallback as W, useContext as Dc, useEffect as G, useId as Oc, useImperativeHandle as kc, useLayoutEffect as Ac, useMemo as K, useRef as q, useState as J, useSyncExternalStore as jc } from "react";
26
+ import xc, { Children as Sc, Fragment as Cc, createContext as wc, forwardRef as Tc, isValidElement as Ec, memo as Dc, useCallback as W, useContext as Oc, useEffect as G, useId as kc, useImperativeHandle as Ac, useLayoutEffect as jc, useMemo as K, useRef as q, useState as J, useSyncExternalStore as Mc } from "react";
27
27
  import { Fragment as Y, jsx as X, jsxs as Z } from "react/jsx-runtime";
28
- import * as Mc from "react-dom";
29
- import { createPortal as Nc } from "react-dom";
28
+ import * as Nc from "react-dom";
29
+ import { createPortal as Pc } from "react-dom";
30
30
  import './f0.css';//#region ../../node_modules/.bun/@base-ui+utils@0.4.0+a31dccbac5bc42da/node_modules/@base-ui/utils/inertValue.mjs
31
- function Pc(e) {
31
+ function Fc(e) {
32
32
  return Pn(19) ? e : e ? "true" : void 0;
33
33
  }
34
34
  //#endregion
35
35
  //#region src/blocks/layouts/HomeLayout/HomeLayout.tsx
36
- var Fc = {
36
+ var Ic = {
37
37
  xs: 1,
38
38
  sm: 2,
39
39
  md: 2,
40
40
  lg: 2
41
- }, Ic = wc(function({ widgets: e, children: t }, n) {
41
+ }, Lc = Tc(function({ widgets: e, children: t }, n) {
42
42
  let r = q(null);
43
- kc(n, () => r.current);
44
- let i = xc.toArray(e).filter((e) => !!e).map((e, t) => /* @__PURE__ */ X("div", {
43
+ Ac(n, () => r.current);
44
+ let i = Sc.toArray(e).filter((e) => !!e).map((e, t) => /* @__PURE__ */ X("div", {
45
45
  className: "h-full @5xl:h-auto [&>div]:h-full",
46
46
  children: e
47
47
  }, t));
48
- return /* @__PURE__ */ X(_i, {
48
+ return /* @__PURE__ */ X(Li, {
49
49
  layout: "home",
50
50
  children: /* @__PURE__ */ Z("div", {
51
51
  ref: r,
@@ -53,7 +53,7 @@ var Fc = {
53
53
  children: [/* @__PURE__ */ Z("div", {
54
54
  className: "flex flex-col gap-6 px-5 pt-4 @md:pt-2 @5xl:hidden",
55
55
  children: [/* @__PURE__ */ X(At, {
56
- columns: Fc,
56
+ columns: Ic,
57
57
  showArrows: !1,
58
58
  children: i
59
59
  }), /* @__PURE__ */ X("main", { children: t })]
@@ -76,26 +76,26 @@ var Fc = {
76
76
  })]
77
77
  })
78
78
  });
79
- }), Lc = ro({
79
+ }), Rc = io({
80
80
  base: "relative flex min-h-full w-full flex-1 flex-col gap-4 place-self-center overflow-y-auto px-page py-5",
81
81
  variants: { variant: { narrow: "max-w-screen-lg" } }
82
- }), Rc = bc.forwardRef(({ children: e, variant: t, scrollable: n = !0, className: r, ...i }, a) => /* @__PURE__ */ X(_i, {
82
+ }), zc = xc.forwardRef(({ children: e, variant: t, scrollable: n = !0, className: r, ...i }, a) => /* @__PURE__ */ X(Li, {
83
83
  layout: "standard",
84
84
  children: /* @__PURE__ */ X("section", {
85
85
  ref: a,
86
86
  className: B("relative flex-1 overflow-auto", n ? "scroll-pb-[var(--f0-page-room)]" : "overflow-visible", r),
87
87
  ...i,
88
88
  children: /* @__PURE__ */ X("div", {
89
- className: B(Lc({ variant: t }), n ? "pb-[var(--f0-page-room,1.25rem)] scroll-pb-[var(--f0-page-room)]" : "overflow-visible"),
89
+ className: B(Rc({ variant: t }), n ? "pb-[var(--f0-page-room,1.25rem)] scroll-pb-[var(--f0-page-room)]" : "overflow-visible"),
90
90
  children: e
91
91
  })
92
92
  })
93
93
  }));
94
- Rc.displayName = "StandardLayout";
95
- var zc = R(io({
94
+ zc.displayName = "StandardLayout";
95
+ var Bc = R(ao({
96
96
  name: "StandardLayout",
97
97
  type: "layout"
98
- }, Rc)), Bc = wc(function({ children: e, sideContent: t, mainColumnPosition: n = "left", sticky: r = !1, responsiveStackOrder: i = "side" }, a) {
98
+ }, zc)), Vc = Tc(function({ children: e, sideContent: t, mainColumnPosition: n = "left", sticky: r = !1, responsiveStackOrder: i = "side" }, a) {
99
99
  return /* @__PURE__ */ X("div", {
100
100
  ref: a,
101
101
  className: "h-full",
@@ -104,28 +104,28 @@ var zc = R(io({
104
104
  children: [/* @__PURE__ */ X("main", {
105
105
  className: B("sm:min-h-xs h-fit border-0 py-5 max-md:flex-none sm:border-solid md:flex-1 md:order-2 px-page", i === "main" ? "order-1" : "order-2", r ? "md:h-full md:max-h-full md:overflow-y-auto" : "min-h-full", n === "right" ? "sm:border-l sm:border-l-f1-border-secondary" : "sm:border-r sm:border-r-f1-border-secondary", "border-t border-solid border-t-f1-border-secondary sm:border-t-0"),
106
106
  children: e
107
- }), /* @__PURE__ */ X(Hc, {
107
+ }), /* @__PURE__ */ X(Uc, {
108
108
  sticky: r,
109
109
  className: B("max-md:flex-none", i === "main" ? "order-2" : "order-1", n === "right" ? "md:order-1" : "md:order-3"),
110
110
  children: t
111
111
  })]
112
112
  })
113
113
  });
114
- }), Vc = R(io({
114
+ }), Hc = R(ao({
115
115
  name: "TwoColumnLayout",
116
116
  type: "layout"
117
- }, Bc)), Hc = ({ children: e, className: t }) => /* @__PURE__ */ X("aside", {
117
+ }, Vc)), Uc = ({ children: e, className: t }) => /* @__PURE__ */ X("aside", {
118
118
  className: B("min-w-30 py-5 pl-page pr-page sm:basis-1/4 sm:pb-6 md:max-w-80 md:pl-2", t),
119
119
  children: e
120
- }), Uc = Cc(null);
121
- function Wc() {
122
- let e = Dc(Uc);
120
+ }), Wc = wc(null);
121
+ function Gc() {
122
+ let e = Oc(Wc);
123
123
  if (!e) throw Error("useGridStackContext must be used within a GridStackProvider");
124
124
  return e;
125
125
  }
126
126
  //#endregion
127
127
  //#region src/blocks/F0GridStack/components/widget-utils.ts
128
- function Gc(e) {
128
+ function Kc(e) {
129
129
  let { content: t, ...n } = e;
130
130
  return t === void 0 ? n : {
131
131
  ...n,
@@ -135,7 +135,7 @@ function Gc(e) {
135
135
  }
136
136
  //#endregion
137
137
  //#region src/blocks/F0GridStack/components/grid-stack-provider.tsx
138
- var Kc = [
138
+ var qc = [
139
139
  "noMove",
140
140
  "noResize",
141
141
  "locked",
@@ -143,8 +143,8 @@ var Kc = [
143
143
  "h",
144
144
  "x",
145
145
  "y"
146
- ], qc = 200;
147
- function Jc(e) {
146
+ ], Jc = 200;
147
+ function Yc(e) {
148
148
  let t = e.cloneNode(!0);
149
149
  return e.querySelectorAll("canvas").forEach((n) => {
150
150
  if (n.width > 0 && n.height > 0) try {
@@ -158,10 +158,10 @@ function Jc(e) {
158
158
  }
159
159
  }), t.innerHTML;
160
160
  }
161
- function Yc({ children: e, options: t, onResizeStop: n, onChange: r, widgets: i, static: a, forcePositionSync: o }) {
161
+ function Xc({ children: e, options: t, onResizeStop: n, onChange: r, widgets: i, static: a, forcePositionSync: o }) {
162
162
  let [s, c] = J(null), l = q(null), u = q(!1), d = K(() => ({
163
163
  ...t,
164
- children: (i || []).map((e) => Gc(e))
164
+ children: (i || []).map((e) => Kc(e))
165
165
  }), [t, i]), [f, p] = J(() => {
166
166
  let e = /* @__PURE__ */ new Map();
167
167
  for (let t of i || []) t.id && t.content && e.set(t.id, t.content);
@@ -184,10 +184,10 @@ function Yc({ children: e, options: t, onResizeStop: n, onChange: r, widgets: i,
184
184
  }, [r]);
185
185
  let [y, b] = J(() => {
186
186
  let e = /* @__PURE__ */ new Map();
187
- for (let t of i || []) t.id && e.set(t.id, Gc(t));
187
+ for (let t of i || []) t.id && e.set(t.id, Kc(t));
188
188
  return e;
189
189
  });
190
- ds(() => {
190
+ Ls(() => {
191
191
  if (!s) return;
192
192
  let e = s.save();
193
193
  if (!Array.isArray(e)) return;
@@ -195,12 +195,12 @@ function Yc({ children: e, options: t, onResizeStop: n, onChange: r, widgets: i,
195
195
  a.length > 0 && (a.forEach((e) => {
196
196
  e.content && m.current.set(e.id, e.content), e._originalContent !== void 0 && _.current.set(e.id, e._originalContent);
197
197
  }), a.forEach((e) => {
198
- let t = Gc(e);
198
+ let t = Kc(e);
199
199
  s.addWidget(t);
200
200
  }), b((e) => {
201
201
  let t = new Map(e);
202
202
  return a.forEach((e) => {
203
- let n = Gc(e);
203
+ let n = Kc(e);
204
204
  t.set(e.id, n);
205
205
  }), t;
206
206
  }), p((e) => {
@@ -220,25 +220,25 @@ function Yc({ children: e, options: t, onResizeStop: n, onChange: r, widgets: i,
220
220
  e.forEach((e) => {
221
221
  setTimeout(() => {
222
222
  m.current.delete(e), _.current.delete(e);
223
- }, qc);
223
+ }, Jc);
224
224
  }), o.forEach((e) => {
225
225
  let t = s.el.querySelector(`[gs-id="${e.id}"]`);
226
226
  t && setTimeout(() => {
227
227
  s.removeWidget(t, !0);
228
- }, qc);
228
+ }, Jc);
229
229
  }), b((t) => {
230
230
  let n = new Map(t);
231
231
  return e.forEach((e) => {
232
232
  setTimeout(() => {
233
233
  n.delete(e);
234
- }, qc);
234
+ }, Jc);
235
235
  }), n;
236
236
  }), p((t) => {
237
237
  let n = new Map(t);
238
238
  return e.forEach((e) => {
239
239
  if (n.get(e)) {
240
240
  let t = s.el.querySelector(`[gs-id="${e}"] .grid-stack-item-content`), r = "";
241
- t && (r = Ys.sanitize(Jc(t))), n.set(e, /* @__PURE__ */ X(Jn.div, {
241
+ t && (r = Xs.sanitize(Yc(t))), n.set(e, /* @__PURE__ */ X(Jn.div, {
242
242
  className: "h-full w-full",
243
243
  initial: {
244
244
  opacity: 1,
@@ -257,7 +257,7 @@ function Yc({ children: e, options: t, onResizeStop: n, onChange: r, widgets: i,
257
257
  },
258
258
  transition: {
259
259
  opacity: {
260
- duration: qc / 1e3,
260
+ duration: Jc / 1e3,
261
261
  ease: [
262
262
  .32,
263
263
  0,
@@ -266,7 +266,7 @@ function Yc({ children: e, options: t, onResizeStop: n, onChange: r, widgets: i,
266
266
  ]
267
267
  },
268
268
  scale: {
269
- duration: qc / 1e3,
269
+ duration: Jc / 1e3,
270
270
  ease: [
271
271
  .65,
272
272
  0,
@@ -275,7 +275,7 @@ function Yc({ children: e, options: t, onResizeStop: n, onChange: r, widgets: i,
275
275
  ]
276
276
  },
277
277
  filter: {
278
- duration: qc / 1e3,
278
+ duration: Jc / 1e3,
279
279
  ease: "linear"
280
280
  }
281
281
  },
@@ -284,14 +284,14 @@ function Yc({ children: e, options: t, onResizeStop: n, onChange: r, widgets: i,
284
284
  }
285
285
  setTimeout(() => {
286
286
  n.delete(e);
287
- }, qc);
287
+ }, Jc);
288
288
  }), n;
289
289
  }), g((t) => {
290
290
  let n = new Map(t);
291
291
  return e.forEach((e) => {
292
292
  setTimeout(() => {
293
293
  n.delete(e);
294
- }, qc);
294
+ }, Jc);
295
295
  }), n;
296
296
  });
297
297
  }
@@ -301,7 +301,7 @@ function Yc({ children: e, options: t, onResizeStop: n, onChange: r, widgets: i,
301
301
  c.forEach((n) => {
302
302
  let r = e.find((e) => e.id === n.id);
303
303
  if (!r) return;
304
- let i = Kc.filter((e) => r[e] !== n[e]);
304
+ let i = qc.filter((e) => r[e] !== n[e]);
305
305
  if (i.length > 0) {
306
306
  let e = {}, r = [
307
307
  "w",
@@ -339,7 +339,7 @@ function Yc({ children: e, options: t, onResizeStop: n, onChange: r, widgets: i,
339
339
  }), b((e) => {
340
340
  let t = new Map(e);
341
341
  return c.forEach((e) => {
342
- let n = Gc(e);
342
+ let n = Kc(e);
343
343
  t.set(e.id, n);
344
344
  }), t;
345
345
  }), p((e) => {
@@ -436,7 +436,7 @@ function Yc({ children: e, options: t, onResizeStop: n, onChange: r, widgets: i,
436
436
  l.current = s;
437
437
  }, [s]), G(() => {
438
438
  s && s.el && s.el.parentElement && u.current && S();
439
- }, [s]), /* @__PURE__ */ X(Uc.Provider, {
439
+ }, [s]), /* @__PURE__ */ X(Wc.Provider, {
440
440
  value: {
441
441
  options: d,
442
442
  gridStack: s,
@@ -458,24 +458,24 @@ function Yc({ children: e, options: t, onResizeStop: n, onChange: r, widgets: i,
458
458
  }
459
459
  //#endregion
460
460
  //#region src/blocks/F0GridStack/components/grid-stack-render-context.ts
461
- var Xc = Cc(null);
462
- function Zc() {
463
- let e = Dc(Xc);
461
+ var Zc = wc(null);
462
+ function Qc() {
463
+ let e = Oc(Zc);
464
464
  if (!e) throw Error("useGridStackRenderContext must be used within a GridStackProvider");
465
465
  return e;
466
466
  }
467
467
  //#endregion
468
468
  //#region src/blocks/F0GridStack/components/grid-stack-render.tsx
469
- function Qc() {
470
- let { _reactContentMap: e } = Wc(), { getWidgetContainer: t } = Zc();
469
+ function $c() {
470
+ let { _reactContentMap: e } = Gc(), { getWidgetContainer: t } = Qc();
471
471
  return /* @__PURE__ */ X(Y, { children: Array.from(e.value.entries()).map(([e, n]) => {
472
472
  let r = t(e);
473
- return r ? /* @__PURE__ */ X(Sc, { children: n ? Nc(n, r) : null }, e) : (console.error(`Widget container not found for widget ${e}`), null);
473
+ return r ? /* @__PURE__ */ X(Cc, { children: n ? Pc(n, r) : null }, e) : (console.error(`Widget container not found for widget ${e}`), null);
474
474
  }) });
475
475
  }
476
476
  //#endregion
477
477
  //#region ../../node_modules/.bun/gridstack@12.3.3/node_modules/gridstack/dist/utils.js
478
- function $c(e, t, n, r, i) {
478
+ function el(e, t, n, r, i) {
479
479
  let a = (...a) => (console.warn("gridstack.js: Function `" + n + "` is deprecated in " + i + " and has been replaced with `" + r + "`. It will be **removed** in a future release"), t.apply(e, a));
480
480
  return a.prototype = t.prototype, a;
481
481
  }
@@ -733,7 +733,7 @@ var Q = class e {
733
733
  static canBeRotated(e) {
734
734
  return !(!e || e.w === e.h || e.locked || e.noResize || e.grid?.opts.disableResize || e.minW && e.minW === e.maxW || e.minH && e.minH === e.maxH);
735
735
  }
736
- }, el = class e {
736
+ }, tl = class e {
737
737
  constructor(e = {}) {
738
738
  this.addedNodes = [], this.removedNodes = [], this.defaultColumn = 12, this.column = e.column || this.defaultColumn, this.column > this.defaultColumn && (this.defaultColumn = this.column), this.maxRow = e.maxRow, this._float = e.float, this.nodes = e.nodes || [], this.onChange = e.onChange;
739
739
  }
@@ -1135,10 +1135,10 @@ var Q = class e {
1135
1135
  return this;
1136
1136
  }
1137
1137
  };
1138
- el._idSeq = 0;
1138
+ tl._idSeq = 0;
1139
1139
  //#endregion
1140
1140
  //#region ../../node_modules/.bun/gridstack@12.3.3/node_modules/gridstack/dist/types.js
1141
- var tl = {
1141
+ var nl = {
1142
1142
  alwaysShowResizeHandle: "mobile",
1143
1143
  animate: !0,
1144
1144
  auto: !0,
@@ -1165,61 +1165,61 @@ var tl = {
1165
1165
  },
1166
1166
  resizable: { handles: "se" },
1167
1167
  rtl: "auto"
1168
- }, $ = class {}, nl = typeof window < "u" && typeof document < "u" && ("ontouchstart" in document || "ontouchstart" in window || window.DocumentTouch && document instanceof window.DocumentTouch || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0), rl = class {};
1169
- function il(e, t) {
1168
+ }, $ = class {}, rl = typeof window < "u" && typeof document < "u" && ("ontouchstart" in document || "ontouchstart" in window || window.DocumentTouch && document instanceof window.DocumentTouch || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0), il = class {};
1169
+ function al(e, t) {
1170
1170
  e.touches.length > 1 || (e.cancelable && e.preventDefault(), Q.simulateMouseEvent(e.changedTouches[0], t));
1171
1171
  }
1172
- function al(e, t) {
1172
+ function ol(e, t) {
1173
1173
  e.cancelable && e.preventDefault(), Q.simulateMouseEvent(e, t);
1174
1174
  }
1175
- function ol(e) {
1176
- rl.touchHandled || (rl.touchHandled = !0, il(e, "mousedown"));
1177
- }
1178
1175
  function sl(e) {
1179
- rl.touchHandled && il(e, "mousemove");
1176
+ il.touchHandled || (il.touchHandled = !0, al(e, "mousedown"));
1180
1177
  }
1181
1178
  function cl(e) {
1182
- if (!rl.touchHandled) return;
1183
- rl.pointerLeaveTimeout && (window.clearTimeout(rl.pointerLeaveTimeout), delete rl.pointerLeaveTimeout);
1184
- let t = !!$.dragElement;
1185
- il(e, "mouseup"), t || il(e, "click"), rl.touchHandled = !1;
1179
+ il.touchHandled && al(e, "mousemove");
1186
1180
  }
1187
1181
  function ll(e) {
1188
- e.pointerType !== "mouse" && e.target.releasePointerCapture(e.pointerId);
1182
+ if (!il.touchHandled) return;
1183
+ il.pointerLeaveTimeout && (window.clearTimeout(il.pointerLeaveTimeout), delete il.pointerLeaveTimeout);
1184
+ let t = !!$.dragElement;
1185
+ al(e, "mouseup"), t || al(e, "click"), il.touchHandled = !1;
1189
1186
  }
1190
1187
  function ul(e) {
1191
- $.dragElement && e.pointerType !== "mouse" && al(e, "mouseenter");
1188
+ e.pointerType !== "mouse" && e.target.releasePointerCapture(e.pointerId);
1192
1189
  }
1193
1190
  function dl(e) {
1194
- $.dragElement && e.pointerType !== "mouse" && (rl.pointerLeaveTimeout = window.setTimeout(() => {
1195
- delete rl.pointerLeaveTimeout, al(e, "mouseleave");
1191
+ $.dragElement && e.pointerType !== "mouse" && ol(e, "mouseenter");
1192
+ }
1193
+ function fl(e) {
1194
+ $.dragElement && e.pointerType !== "mouse" && (il.pointerLeaveTimeout = window.setTimeout(() => {
1195
+ delete il.pointerLeaveTimeout, ol(e, "mouseleave");
1196
1196
  }, 10));
1197
1197
  }
1198
1198
  //#endregion
1199
1199
  //#region ../../node_modules/.bun/gridstack@12.3.3/node_modules/gridstack/dist/dd-resizable-handle.js
1200
- var fl = class e {
1200
+ var pl = class e {
1201
1201
  constructor(e, t, n) {
1202
1202
  this.host = e, this.dir = t, this.option = n, this.moving = !1, this._mouseDown = this._mouseDown.bind(this), this._mouseMove = this._mouseMove.bind(this), this._mouseUp = this._mouseUp.bind(this), this._keyEvent = this._keyEvent.bind(this), this._init();
1203
1203
  }
1204
1204
  _init() {
1205
1205
  let t = this.el = document.createElement("div");
1206
- return t.classList.add("ui-resizable-handle"), t.classList.add(`${e.prefix}${this.dir}`), t.style.zIndex = "100", t.style.userSelect = "none", this.host.appendChild(this.el), this.el.addEventListener("mousedown", this._mouseDown), nl && (this.el.addEventListener("touchstart", ol), this.el.addEventListener("pointerdown", ll)), this;
1206
+ return t.classList.add("ui-resizable-handle"), t.classList.add(`${e.prefix}${this.dir}`), t.style.zIndex = "100", t.style.userSelect = "none", this.host.appendChild(this.el), this.el.addEventListener("mousedown", this._mouseDown), rl && (this.el.addEventListener("touchstart", sl), this.el.addEventListener("pointerdown", ul)), this;
1207
1207
  }
1208
1208
  destroy() {
1209
- return this.moving && this._mouseUp(this.mouseDownEvent), this.el.removeEventListener("mousedown", this._mouseDown), nl && (this.el.removeEventListener("touchstart", ol), this.el.removeEventListener("pointerdown", ll)), this.host.removeChild(this.el), delete this.el, delete this.host, this;
1209
+ return this.moving && this._mouseUp(this.mouseDownEvent), this.el.removeEventListener("mousedown", this._mouseDown), rl && (this.el.removeEventListener("touchstart", sl), this.el.removeEventListener("pointerdown", ul)), this.host.removeChild(this.el), delete this.el, delete this.host, this;
1210
1210
  }
1211
1211
  _mouseDown(e) {
1212
1212
  this.mouseDownEvent = e, document.addEventListener("mousemove", this._mouseMove, {
1213
1213
  capture: !0,
1214
1214
  passive: !0
1215
- }), document.addEventListener("mouseup", this._mouseUp, !0), nl && (this.el.addEventListener("touchmove", sl), this.el.addEventListener("touchend", cl)), e.stopPropagation(), e.preventDefault();
1215
+ }), document.addEventListener("mouseup", this._mouseUp, !0), rl && (this.el.addEventListener("touchmove", cl), this.el.addEventListener("touchend", ll)), e.stopPropagation(), e.preventDefault();
1216
1216
  }
1217
1217
  _mouseMove(e) {
1218
1218
  let t = this.mouseDownEvent;
1219
1219
  this.moving ? this._triggerEvent("move", e) : Math.abs(e.x - t.x) + Math.abs(e.y - t.y) > 2 && (this.moving = !0, this._triggerEvent("start", this.mouseDownEvent), this._triggerEvent("move", e), document.addEventListener("keydown", this._keyEvent)), e.stopPropagation();
1220
1220
  }
1221
1221
  _mouseUp(e) {
1222
- this.moving && (this._triggerEvent("stop", e), document.removeEventListener("keydown", this._keyEvent)), document.removeEventListener("mousemove", this._mouseMove, !0), document.removeEventListener("mouseup", this._mouseUp, !0), nl && (this.el.removeEventListener("touchmove", sl), this.el.removeEventListener("touchend", cl)), delete this.moving, delete this.mouseDownEvent, e.stopPropagation(), e.preventDefault();
1222
+ this.moving && (this._triggerEvent("stop", e), document.removeEventListener("keydown", this._keyEvent)), document.removeEventListener("mousemove", this._mouseMove, !0), document.removeEventListener("mouseup", this._mouseUp, !0), rl && (this.el.removeEventListener("touchmove", cl), this.el.removeEventListener("touchend", ll)), delete this.moving, delete this.mouseDownEvent, e.stopPropagation(), e.preventDefault();
1223
1223
  }
1224
1224
  _keyEvent(e) {
1225
1225
  e.key === "Escape" && (this.host.gridstackNode?.grid?.engine.restoreInitial(), this._mouseUp(this.mouseDownEvent));
@@ -1228,10 +1228,10 @@ var fl = class e {
1228
1228
  return this.option[e] && this.option[e](t), this;
1229
1229
  }
1230
1230
  };
1231
- fl.prefix = "ui-resizable-";
1231
+ pl.prefix = "ui-resizable-";
1232
1232
  //#endregion
1233
1233
  //#region ../../node_modules/.bun/gridstack@12.3.3/node_modules/gridstack/dist/dd-base-impl.js
1234
- var pl = class {
1234
+ var ml = class {
1235
1235
  constructor() {
1236
1236
  this._eventRegister = {};
1237
1237
  }
@@ -1256,7 +1256,7 @@ var pl = class {
1256
1256
  triggerEvent(e, t) {
1257
1257
  if (!this.disabled && this._eventRegister && this._eventRegister[e]) return this._eventRegister[e](t);
1258
1258
  }
1259
- }, ml = class e extends pl {
1259
+ }, hl = class e extends ml {
1260
1260
  constructor(e, t = {}) {
1261
1261
  super(), this.el = e, this.option = t, this.rectScale = {
1262
1262
  x: 1,
@@ -1309,7 +1309,7 @@ var pl = class {
1309
1309
  $.overResizeElement === this && (delete $.overResizeElement, this.el.classList.add("ui-resizable-autohide"));
1310
1310
  }
1311
1311
  _setupHandlers() {
1312
- return this.handlers = this.option.handles.split(",").map((e) => e.trim()).map((e) => new fl(this.el, e, {
1312
+ return this.handlers = this.option.handles.split(",").map((e) => e.trim()).map((e) => new pl(this.el, e, {
1313
1313
  start: (e) => {
1314
1314
  this._resizeStart(e);
1315
1315
  },
@@ -1400,7 +1400,7 @@ var pl = class {
1400
1400
  return this.handlers.forEach((e) => e.destroy()), delete this.handlers, this;
1401
1401
  }
1402
1402
  };
1403
- ml._originStyleProp = [
1403
+ hl._originStyleProp = [
1404
1404
  "width",
1405
1405
  "height",
1406
1406
  "position",
@@ -1411,7 +1411,7 @@ ml._originStyleProp = [
1411
1411
  ];
1412
1412
  //#endregion
1413
1413
  //#region ../../node_modules/.bun/gridstack@12.3.3/node_modules/gridstack/dist/dd-draggable.js
1414
- var hl = "input,textarea,button,select,option,[contenteditable=\"true\"],.ui-resizable-handle", gl = class e extends pl {
1414
+ var gl = "input,textarea,button,select,option,[contenteditable=\"true\"],.ui-resizable-handle", _l = class e extends ml {
1415
1415
  constructor(e, t = {}) {
1416
1416
  super(), this.el = e, this.option = t, this.dragTransform = {
1417
1417
  xScale: 1,
@@ -1430,12 +1430,12 @@ var hl = "input,textarea,button,select,option,[contenteditable=\"true\"],.ui-res
1430
1430
  }
1431
1431
  enable() {
1432
1432
  this.disabled !== !1 && (super.enable(), this.dragEls.forEach((e) => {
1433
- e.addEventListener("mousedown", this._mouseDown), nl && (e.addEventListener("touchstart", ol), e.addEventListener("pointerdown", ll));
1433
+ e.addEventListener("mousedown", this._mouseDown), rl && (e.addEventListener("touchstart", sl), e.addEventListener("pointerdown", ul));
1434
1434
  }), this.el.classList.remove("ui-draggable-disabled"));
1435
1435
  }
1436
1436
  disable(e = !1) {
1437
1437
  this.disabled !== !0 && (super.disable(), this.dragEls.forEach((e) => {
1438
- e.removeEventListener("mousedown", this._mouseDown), nl && (e.removeEventListener("touchstart", ol), e.removeEventListener("pointerdown", ll));
1438
+ e.removeEventListener("mousedown", this._mouseDown), rl && (e.removeEventListener("touchstart", sl), e.removeEventListener("pointerdown", ul));
1439
1439
  }), e || this.el.classList.add("ui-draggable-disabled"));
1440
1440
  }
1441
1441
  destroy() {
@@ -1445,10 +1445,10 @@ var hl = "input,textarea,button,select,option,[contenteditable=\"true\"],.ui-res
1445
1445
  return Object.keys(e).forEach((t) => this.option[t] = e[t]), this;
1446
1446
  }
1447
1447
  _mouseDown(e) {
1448
- if (!$.mouseHandled) return e.button !== 0 || !this.dragEls.find((t) => t === e.target) && e.target.closest(hl) || this.option.cancel && e.target.closest(this.option.cancel) || (this.mouseDownEvent = e, delete this.dragging, delete $.dragElement, delete $.dropElement, document.addEventListener("mousemove", this._mouseMove, {
1448
+ if (!$.mouseHandled) return e.button !== 0 || !this.dragEls.find((t) => t === e.target) && e.target.closest(gl) || this.option.cancel && e.target.closest(this.option.cancel) || (this.mouseDownEvent = e, delete this.dragging, delete $.dragElement, delete $.dropElement, document.addEventListener("mousemove", this._mouseMove, {
1449
1449
  capture: !0,
1450
1450
  passive: !0
1451
- }), document.addEventListener("mouseup", this._mouseUp, !0), nl && (e.currentTarget.addEventListener("touchmove", sl), e.currentTarget.addEventListener("touchend", cl)), e.preventDefault(), document.activeElement && document.activeElement.blur(), $.mouseHandled = !0), !0;
1451
+ }), document.addEventListener("mouseup", this._mouseUp, !0), rl && (e.currentTarget.addEventListener("touchmove", cl), e.currentTarget.addEventListener("touchend", ll)), e.preventDefault(), document.activeElement && document.activeElement.blur(), $.mouseHandled = !0), !0;
1452
1452
  }
1453
1453
  _callDrag(e) {
1454
1454
  if (!this.dragging) return;
@@ -1478,7 +1478,7 @@ var hl = "input,textarea,button,select,option,[contenteditable=\"true\"],.ui-res
1478
1478
  return !0;
1479
1479
  }
1480
1480
  _mouseUp(e) {
1481
- if (document.removeEventListener("mousemove", this._mouseMove, !0), document.removeEventListener("mouseup", this._mouseUp, !0), nl && e.currentTarget && (e.currentTarget.removeEventListener("touchmove", sl, !0), e.currentTarget.removeEventListener("touchend", cl, !0)), this.dragging) {
1481
+ if (document.removeEventListener("mousemove", this._mouseMove, !0), document.removeEventListener("mouseup", this._mouseUp, !0), rl && e.currentTarget && (e.currentTarget.removeEventListener("touchmove", cl, !0), e.currentTarget.removeEventListener("touchend", ll, !0)), this.dragging) {
1482
1482
  delete this.dragging, delete this.el.gridstackNode?._origRotate, document.removeEventListener("keydown", this._keyEvent), $.dropElement?.el === this.el.parentElement && delete $.dropElement, this.helperContainment.style.position = this.parentOriginStylePosition || null, this.helper !== this.el && this.helper.remove(), this._removeHelperStyle();
1483
1483
  let t = Q.initEvent(e, {
1484
1484
  target: this.el,
@@ -1548,7 +1548,7 @@ var hl = "input,textarea,button,select,option,[contenteditable=\"true\"],.ui-res
1548
1548
  } };
1549
1549
  }
1550
1550
  };
1551
- gl.originStyleProp = [
1551
+ _l.originStyleProp = [
1552
1552
  "width",
1553
1553
  "height",
1554
1554
  "transform",
@@ -1563,7 +1563,7 @@ gl.originStyleProp = [
1563
1563
  ];
1564
1564
  //#endregion
1565
1565
  //#region ../../node_modules/.bun/gridstack@12.3.3/node_modules/gridstack/dist/dd-droppable.js
1566
- var _l = class extends pl {
1566
+ var vl = class extends ml {
1567
1567
  constructor(e, t = {}) {
1568
1568
  super(), this.el = e, this.option = t, this._mouseEnter = this._mouseEnter.bind(this), this._mouseLeave = this._mouseLeave.bind(this), this.enable(), this._setupAccept();
1569
1569
  }
@@ -1574,10 +1574,10 @@ var _l = class extends pl {
1574
1574
  super.off(e);
1575
1575
  }
1576
1576
  enable() {
1577
- this.disabled !== !1 && (super.enable(), this.el.classList.add("ui-droppable"), this.el.classList.remove("ui-droppable-disabled"), this.el.addEventListener("mouseenter", this._mouseEnter), this.el.addEventListener("mouseleave", this._mouseLeave), nl && (this.el.addEventListener("pointerenter", ul), this.el.addEventListener("pointerleave", dl)));
1577
+ this.disabled !== !1 && (super.enable(), this.el.classList.add("ui-droppable"), this.el.classList.remove("ui-droppable-disabled"), this.el.addEventListener("mouseenter", this._mouseEnter), this.el.addEventListener("mouseleave", this._mouseLeave), rl && (this.el.addEventListener("pointerenter", dl), this.el.addEventListener("pointerleave", fl)));
1578
1578
  }
1579
1579
  disable(e = !1) {
1580
- this.disabled !== !0 && (super.disable(), this.el.classList.remove("ui-droppable"), e || this.el.classList.add("ui-droppable-disabled"), this.el.removeEventListener("mouseenter", this._mouseEnter), this.el.removeEventListener("mouseleave", this._mouseLeave), nl && (this.el.removeEventListener("pointerenter", ul), this.el.removeEventListener("pointerleave", dl)));
1580
+ this.disabled !== !0 && (super.disable(), this.el.classList.remove("ui-droppable"), e || this.el.classList.add("ui-droppable-disabled"), this.el.removeEventListener("mouseenter", this._mouseEnter), this.el.removeEventListener("mouseleave", this._mouseLeave), rl && (this.el.removeEventListener("pointerenter", dl), this.el.removeEventListener("pointerleave", fl)));
1581
1581
  }
1582
1582
  destroy() {
1583
1583
  this.disable(!0), this.el.classList.remove("ui-droppable"), this.el.classList.remove("ui-droppable-disabled"), super.destroy();
@@ -1627,7 +1627,7 @@ var _l = class extends pl {
1627
1627
  ...e.ui()
1628
1628
  };
1629
1629
  }
1630
- }, vl = class e {
1630
+ }, yl = class e {
1631
1631
  static init(t) {
1632
1632
  return t.ddElement ||= new e(t), t.ddElement;
1633
1633
  }
@@ -1665,24 +1665,24 @@ var _l = class extends pl {
1665
1665
  ].indexOf(e) > -1 && this.ddResizable.off(e), this;
1666
1666
  }
1667
1667
  setupDraggable(e) {
1668
- return this.ddDraggable ? this.ddDraggable.updateOption(e) : this.ddDraggable = new gl(this.el, e), this;
1668
+ return this.ddDraggable ? this.ddDraggable.updateOption(e) : this.ddDraggable = new _l(this.el, e), this;
1669
1669
  }
1670
1670
  cleanDraggable() {
1671
1671
  return this.ddDraggable && (this.ddDraggable.destroy(), delete this.ddDraggable), this;
1672
1672
  }
1673
1673
  setupResizable(e) {
1674
- return this.ddResizable ? this.ddResizable.updateOption(e) : this.ddResizable = new ml(this.el, e), this;
1674
+ return this.ddResizable ? this.ddResizable.updateOption(e) : this.ddResizable = new hl(this.el, e), this;
1675
1675
  }
1676
1676
  cleanResizable() {
1677
1677
  return this.ddResizable && (this.ddResizable.destroy(), delete this.ddResizable), this;
1678
1678
  }
1679
1679
  setupDroppable(e) {
1680
- return this.ddDroppable ? this.ddDroppable.updateOption(e) : this.ddDroppable = new _l(this.el, e), this;
1680
+ return this.ddDroppable ? this.ddDroppable.updateOption(e) : this.ddDroppable = new vl(this.el, e), this;
1681
1681
  }
1682
1682
  cleanDroppable() {
1683
1683
  return this.ddDroppable && (this.ddDroppable.destroy(), delete this.ddDroppable), this;
1684
1684
  }
1685
- }, yl = new class {
1685
+ }, bl = new class {
1686
1686
  resizable(e, t, n, r) {
1687
1687
  return this._getDDElements(e, t).forEach((e) => {
1688
1688
  if (t === "disable" || t === "enable") e.ddResizable && e.ddResizable[t]();
@@ -1746,9 +1746,9 @@ var _l = class extends pl {
1746
1746
  }
1747
1747
  _getDDElements(e, t) {
1748
1748
  let n = e.gridstack || t !== "destroy" && t !== "disable", r = Q.getElements(e);
1749
- return r.length ? r.map((e) => e.ddElement || (n ? vl.init(e) : null)).filter((e) => e) : [];
1749
+ return r.length ? r.map((e) => e.ddElement || (n ? yl.init(e) : null)).filter((e) => e) : [];
1750
1750
  }
1751
- }(), bl = class e {
1751
+ }(), xl = class e {
1752
1752
  static init(t = {}, n = ".grid-stack") {
1753
1753
  if (typeof document > "u") return null;
1754
1754
  let r = e.getGridElement(n);
@@ -1779,7 +1779,7 @@ var _l = class extends pl {
1779
1779
  if (!this._placeholder) {
1780
1780
  this._placeholder = Q.createDiv([
1781
1781
  this.opts.placeholderClass,
1782
- tl.itemClass,
1782
+ nl.itemClass,
1783
1783
  this.opts.itemClass
1784
1784
  ]);
1785
1785
  let e = Q.createDiv(["placeholder-content"], this._placeholder);
@@ -1802,28 +1802,28 @@ var _l = class extends pl {
1802
1802
  !i.columnWidth && !e?.length ? delete n.columnOpts : (i.columnMax = i.columnMax || 12, e?.length > 1 && e.sort((e, t) => (t.w || 0) - (e.w || 0)));
1803
1803
  }
1804
1804
  let a = {
1805
- ...Q.cloneDeep(tl),
1806
- column: Q.toNumber(t.getAttribute("gs-column")) || tl.column,
1807
- minRow: r || Q.toNumber(t.getAttribute("gs-min-row")) || tl.minRow,
1808
- maxRow: r || Q.toNumber(t.getAttribute("gs-max-row")) || tl.maxRow,
1809
- staticGrid: Q.toBool(t.getAttribute("gs-static")) || tl.staticGrid,
1805
+ ...Q.cloneDeep(nl),
1806
+ column: Q.toNumber(t.getAttribute("gs-column")) || nl.column,
1807
+ minRow: r || Q.toNumber(t.getAttribute("gs-min-row")) || nl.minRow,
1808
+ maxRow: r || Q.toNumber(t.getAttribute("gs-max-row")) || nl.maxRow,
1809
+ staticGrid: Q.toBool(t.getAttribute("gs-static")) || nl.staticGrid,
1810
1810
  sizeToContent: Q.toBool(t.getAttribute("gs-size-to-content")) || void 0,
1811
- draggable: { handle: (n.handleClass ? "." + n.handleClass : n.handle ? n.handle : "") || tl.draggable.handle },
1811
+ draggable: { handle: (n.handleClass ? "." + n.handleClass : n.handle ? n.handle : "") || nl.draggable.handle },
1812
1812
  removableOptions: {
1813
- accept: n.itemClass || tl.removableOptions.accept,
1814
- decline: tl.removableOptions.decline
1813
+ accept: n.itemClass || nl.removableOptions.accept,
1814
+ decline: nl.removableOptions.decline
1815
1815
  }
1816
1816
  };
1817
1817
  t.getAttribute("gs-animate") && (a.animate = Q.toBool(t.getAttribute("gs-animate"))), n = Q.defaults(n, a), this._initMargin(), this.checkDynamicColumn(), this._updateColumnVar(n), n.rtl === "auto" && (n.rtl = t.style.direction === "rtl"), n.rtl && this.el.classList.add("grid-stack-rtl");
1818
- let o = this.el.closest("." + tl.itemClass)?.gridstackNode;
1818
+ let o = this.el.closest("." + nl.itemClass)?.gridstackNode;
1819
1819
  if (o && (o.subGrid = this, this.parentGridNode = o, this.el.classList.add("grid-stack-nested"), o.el.classList.add("grid-stack-sub-grid")), this._isAutoCellHeight = n.cellHeight === "auto", this._isAutoCellHeight || n.cellHeight === "initial") this.cellHeight(void 0);
1820
1820
  else {
1821
- typeof n.cellHeight == "number" && n.cellHeightUnit && n.cellHeightUnit !== tl.cellHeightUnit && (n.cellHeight += n.cellHeightUnit, delete n.cellHeightUnit);
1821
+ typeof n.cellHeight == "number" && n.cellHeightUnit && n.cellHeightUnit !== nl.cellHeightUnit && (n.cellHeight += n.cellHeightUnit, delete n.cellHeightUnit);
1822
1822
  let e = n.cellHeight;
1823
1823
  delete n.cellHeight, this.cellHeight(e);
1824
1824
  }
1825
- n.alwaysShowResizeHandle === "mobile" && (n.alwaysShowResizeHandle = nl), this._setStaticClass();
1826
- let s = n.engineClass || e.engineClass || el;
1825
+ n.alwaysShowResizeHandle === "mobile" && (n.alwaysShowResizeHandle = rl), this._setStaticClass();
1826
+ let s = n.engineClass || e.engineClass || tl;
1827
1827
  if (this.engine = new s({
1828
1828
  column: this.getColumn(),
1829
1829
  float: n.float,
@@ -1914,7 +1914,7 @@ var _l = class extends pl {
1914
1914
  let e = Q.cloneDeep(this.opts);
1915
1915
  e.marginBottom === e.marginTop && e.marginRight === e.marginLeft && e.marginTop === e.marginRight && (e.margin = e.marginTop, delete e.marginTop, delete e.marginRight, delete e.marginBottom, delete e.marginLeft), e.rtl === (this.el.style.direction === "rtl") && (e.rtl = "auto"), this._isAutoCellHeight && (e.cellHeight = "auto"), this._autoColumn && (e.column = "auto");
1916
1916
  let t = e._alwaysShowResizeHandle;
1917
- return delete e._alwaysShowResizeHandle, t === void 0 ? delete e.alwaysShowResizeHandle : e.alwaysShowResizeHandle = t, Q.removeInternalAndSame(e, tl), e.children = a, e;
1917
+ return delete e._alwaysShowResizeHandle, t === void 0 ? delete e.alwaysShowResizeHandle : e.alwaysShowResizeHandle = t, Q.removeInternalAndSame(e, nl), e.children = a, e;
1918
1918
  }
1919
1919
  return a;
1920
1920
  }
@@ -2252,7 +2252,7 @@ var _l = class extends pl {
2252
2252
  return this.el.setAttribute("gs-current-row", String(t)), this.el.style.removeProperty("min-height"), this.el.style.removeProperty("height"), t && (this.el.style[e ? "minHeight" : "height"] = t * n + r), e && Q.shouldSizeToContent(e) && e.grid.resizeToContentCBCheck(e.el), this;
2253
2253
  }
2254
2254
  _prepareElement(e, t = !1, n) {
2255
- n ||= this._readAttr(e), e.gridstackNode = n, n.el = e, n.grid = this, n = this.engine.addNode(n, t), this._writeAttr(e, n), e.classList.add(tl.itemClass, this.opts.itemClass);
2255
+ n ||= this._readAttr(e), e.gridstackNode = n, n.el = e, n.grid = this, n = this.engine.addNode(n, t), this._writeAttr(e, n), e.classList.add(nl.itemClass, this.opts.itemClass);
2256
2256
  let r = Q.shouldSizeToContent(n);
2257
2257
  return r ? e.classList.add("size-to-content") : e.classList.remove("size-to-content"), r && this.resizeToContentCheck(!1, n), Q.lazyLoad(n) || this.prepareDragDrop(n.el), this;
2258
2258
  }
@@ -2338,7 +2338,7 @@ var _l = class extends pl {
2338
2338
  return r.setProperty("--gs-item-margin-top", `${this.opts.marginTop}${this.opts.marginUnit}`), r.setProperty("--gs-item-margin-bottom", `${this.opts.marginBottom}${this.opts.marginUnit}`), r.setProperty("--gs-item-margin-right", `${this.opts.marginRight}${this.opts.marginUnit}`), r.setProperty("--gs-item-margin-left", `${this.opts.marginLeft}${this.opts.marginUnit}`), this;
2339
2339
  }
2340
2340
  static getDD() {
2341
- return yl;
2341
+ return bl;
2342
2342
  }
2343
2343
  static setupDragIn(e, t, n, r = document) {
2344
2344
  t?.pause !== void 0 && ($.pauseDrag = t.pause), t = {
@@ -2346,7 +2346,7 @@ var _l = class extends pl {
2346
2346
  helper: "clone",
2347
2347
  ...t || {}
2348
2348
  }, (typeof e == "string" ? Q.getElements(e, r) : e).forEach((e, r) => {
2349
- yl.isDraggable(e) || yl.dragIn(e, t), n?.[r] && (e.gridstackNode = n[r]);
2349
+ bl.isDraggable(e) || bl.dragIn(e, t), n?.[r] && (e.gridstackNode = n[r]);
2350
2350
  });
2351
2351
  }
2352
2352
  movable(t, n) {
@@ -2382,10 +2382,10 @@ var _l = class extends pl {
2382
2382
  t && (t._isExternal ? (t._isAboutToRemove = !0, this.engine.removeNode(t)) : t._isAboutToRemove && e._itemRemoving(t.el, !1), this.engine.restoreInitial());
2383
2383
  }
2384
2384
  _removeDD(e) {
2385
- return yl.draggable(e, "destroy").resizable(e, "destroy"), e.gridstackNode && delete e.gridstackNode._initDD, delete e.ddElement, this;
2385
+ return bl.draggable(e, "destroy").resizable(e, "destroy"), e.gridstackNode && delete e.gridstackNode._initDD, delete e.ddElement, this;
2386
2386
  }
2387
2387
  _setupAcceptWidget() {
2388
- if (this.opts.staticGrid || !this.opts.acceptWidgets && !this.opts.removable) return yl.droppable(this.el, "destroy"), this;
2388
+ if (this.opts.staticGrid || !this.opts.acceptWidgets && !this.opts.removable) return bl.droppable(this.el, "destroy"), this;
2389
2389
  let t, n, r = (e, r, i) => {
2390
2390
  i ||= r;
2391
2391
  let a = i.gridstackNode;
@@ -2404,7 +2404,7 @@ var _l = class extends pl {
2404
2404
  if (a._temporaryRemoved) {
2405
2405
  if (a.x = Math.max(0, Math.round(s / n)), a.y = Math.max(0, Math.round(o / t)), delete a.autoPosition, this.engine.nodeBoundFix(a), !this.engine.willItFit(a)) {
2406
2406
  if (a.autoPosition = !0, !this.engine.willItFit(a)) {
2407
- yl.off(r, "drag");
2407
+ bl.off(r, "drag");
2408
2408
  return;
2409
2409
  }
2410
2410
  a._willFitPos && (Q.copyPos(a, a._willFitPos), delete a._willFitPos);
@@ -2412,7 +2412,7 @@ var _l = class extends pl {
2412
2412
  this._onStartMoving(i, e, l, a, n, t);
2413
2413
  } else this._dragOrResize(i, e, l, a, n, t);
2414
2414
  };
2415
- return yl.droppable(this.el, { accept: (e) => {
2415
+ return bl.droppable(this.el, { accept: (e) => {
2416
2416
  let t = e.gridstackNode || this._readAttr(e, !1);
2417
2417
  if (t?.grid === this) return !0;
2418
2418
  if (!this.opts.acceptWidgets) return !1;
@@ -2457,7 +2457,7 @@ var _l = class extends pl {
2457
2457
  w: c,
2458
2458
  h: l,
2459
2459
  grid: this
2460
- }, delete s.x, delete s.y, this.engine.cleanupNode(s).nodeBoundFix(s), s._initDD = s._isExternal = s._temporaryRemoved = !0) : (s.w = c, s.h = l, s._temporaryRemoved = !0), e._itemRemoving(s.el, !1), yl.on(a, "drag", r), r(i, a, o), !1;
2460
+ }, delete s.x, delete s.y, this.engine.cleanupNode(s).nodeBoundFix(s), s._initDD = s._isExternal = s._temporaryRemoved = !0) : (s.w = c, s.h = l, s._temporaryRemoved = !0), e._itemRemoving(s.el, !1), bl.on(a, "drag", r), r(i, a, o), !1;
2461
2461
  }).on(this.el, "dropout", (e, t, n) => {
2462
2462
  let r = n?.gridstackNode || t.gridstackNode;
2463
2463
  return r && (!r.grid || r.grid === this) && (this._leave(t, n), this._isTemp && this.removeAsSubGrid(r)), !1;
@@ -2471,7 +2471,7 @@ var _l = class extends pl {
2471
2471
  let e = s.grid;
2472
2472
  e.engine.removeNodeFromLayoutCache(s), e.engine.removedNodes.push(s), e._triggerRemoveEvent()._triggerChangeEvent(), e.parentGridNode && !e.engine.nodes.length && e.opts.subGridDynamic && e.removeAsSubGrid();
2473
2473
  }
2474
- if (!i || (a && (this.engine.cleanupNode(i), i.grid = this), delete i.grid?._isTemp, yl.off(n, "drag"), r === n ? n.remove() : (r.remove(), n = r), this._removeDD(n), !a)) return !1;
2474
+ if (!i || (a && (this.engine.cleanupNode(i), i.grid = this), delete i.grid?._isTemp, bl.off(n, "drag"), r === n ? n.remove() : (r.remove(), n = r), this._removeDD(n), !a)) return !1;
2475
2475
  let c = i.subGrid?.el?.gridstack;
2476
2476
  return Q.copyPos(i, this._readAttr(this.placeholder)), Q.removePositioningStyles(n), o && (i.content || i.subGridOpts || e.addRemoveCB) ? (delete i.el, n = this.addWidget(i)) : (this._prepareElement(n, !0, i), this.el.appendChild(n), this.resizeToContentCheck(!1, i), c && (c.parentGridNode = i), this._updateContainerHeight()), this.engine.addedNodes.push(i), this._triggerAddEvent(), this._triggerChangeEvent(), this.engine.endUpdate(), this._gsEventHandler.dropped && this._gsEventHandler.dropped({
2477
2477
  ...t,
@@ -2487,7 +2487,7 @@ var _l = class extends pl {
2487
2487
  _setupRemoveDrop() {
2488
2488
  if (typeof this.opts.removable != "string") return this;
2489
2489
  let t = document.querySelector(this.opts.removable);
2490
- return t && !this.opts.staticGrid && !yl.isDroppable(t) && yl.droppable(t, this.opts.removableOptions).on(t, "dropover", (t, n) => e._itemRemoving(n, !0)).on(t, "dropout", (t, n) => e._itemRemoving(n, !1)), this;
2490
+ return t && !this.opts.staticGrid && !bl.isDroppable(t) && bl.droppable(t, this.opts.removableOptions).on(t, "dropover", (t, n) => e._itemRemoving(n, !0)).on(t, "dropout", (t, n) => e._itemRemoving(n, !1)), this;
2491
2491
  }
2492
2492
  prepareDragDrop(e, t = !1) {
2493
2493
  let n = e?.gridstackNode;
@@ -2510,7 +2510,7 @@ var _l = class extends pl {
2510
2510
  this._extraDragRow = 0, this._updateContainerHeight(), this._triggerChangeEvent(), this.engine.endUpdate(), t.type === "resizestop" && (Number.isInteger(n.sizeToContent) && (n.sizeToContent = n.h), this.resizeToContentCheck(r, n));
2511
2511
  }
2512
2512
  };
2513
- yl.draggable(e, {
2513
+ bl.draggable(e, {
2514
2514
  start: i,
2515
2515
  stop: o,
2516
2516
  drag: a
@@ -2520,7 +2520,7 @@ var _l = class extends pl {
2520
2520
  resize: a
2521
2521
  }), n._initDD = !0;
2522
2522
  }
2523
- return yl.draggable(e, r ? "disable" : "enable").resizable(e, i ? "disable" : "enable"), this;
2523
+ return bl.draggable(e, r ? "disable" : "enable").resizable(e, i ? "disable" : "enable"), this;
2524
2524
  }
2525
2525
  _onStartMoving(e, t, n, r, i, a) {
2526
2526
  if (this.engine.cleanNodes().beginUpdate(r), this._writePosAttr(this.placeholder, r), this.el.appendChild(this.placeholder), this.placeholder.gridstackNode = r, r.grid?.el) this.dragTransform = Q.getValuesFromTransformedElement(e);
@@ -2535,7 +2535,7 @@ var _l = class extends pl {
2535
2535
  };
2536
2536
  if (r.el = this.placeholder, r._lastUiPosition = n.position, r._prevYPix = n.position.top, r._moving = t.type === "dragstart", r._resizing = t.type === "resizestart", delete r._lastTried, t.type === "dropover" && r._temporaryRemoved && (this.engine.addNode(r), r._moving = !0), this.engine.cacheRects(i, a, this.opts.marginTop, this.opts.marginRight, this.opts.marginBottom, this.opts.marginLeft), t.type === "resizestart") {
2537
2537
  let t = this.getColumn() - r.x, n = (this.opts.maxRow || 2 ** 53 - 1) - r.y;
2538
- yl.resizable(e, "option", "minWidth", i * Math.min(r.minW || 1, t)).resizable(e, "option", "minHeight", a * Math.min(r.minH || 1, n)).resizable(e, "option", "maxWidth", i * Math.min(r.maxW || 2 ** 53 - 1, t)).resizable(e, "option", "maxWidthMoveLeft", i * Math.min(r.maxW || 2 ** 53 - 1, r.x + r.w)).resizable(e, "option", "maxHeight", a * Math.min(r.maxH || 2 ** 53 - 1, n)).resizable(e, "option", "maxHeightMoveUp", a * Math.min(r.maxH || 2 ** 53 - 1, r.y + r.h));
2538
+ bl.resizable(e, "option", "minWidth", i * Math.min(r.minW || 1, t)).resizable(e, "option", "minHeight", a * Math.min(r.minH || 1, n)).resizable(e, "option", "maxWidth", i * Math.min(r.maxW || 2 ** 53 - 1, t)).resizable(e, "option", "maxWidthMoveLeft", i * Math.min(r.maxW || 2 ** 53 - 1, r.x + r.w)).resizable(e, "option", "maxHeight", a * Math.min(r.maxH || 2 ** 53 - 1, n)).resizable(e, "option", "maxHeightMoveUp", a * Math.min(r.maxH || 2 ** 53 - 1, r.y + r.h));
2539
2539
  }
2540
2540
  }
2541
2541
  _dragOrResize(e, t, n, r, i, a) {
@@ -2584,41 +2584,41 @@ var _l = class extends pl {
2584
2584
  _leave(t, n) {
2585
2585
  n ||= t;
2586
2586
  let r = n.gridstackNode;
2587
- if (!r || (n.style.transform = n.style.transformOrigin = null, yl.off(t, "drag"), r._temporaryRemoved)) return;
2587
+ if (!r || (n.style.transform = n.style.transformOrigin = null, bl.off(t, "drag"), r._temporaryRemoved)) return;
2588
2588
  r._temporaryRemoved = !0, this.engine.removeNode(r), r.el = r._isExternal && n ? n : t;
2589
2589
  let i = r._sidebarOrig;
2590
2590
  r._isExternal && this.engine.cleanupNode(r), r._sidebarOrig = i, this.opts.removable === !0 && e._itemRemoving(t, !0), t._gridstackNodeOrig ? (t.gridstackNode = t._gridstackNodeOrig, delete t._gridstackNodeOrig) : r._isExternal && this.engine.restoreInitial();
2591
2591
  }
2592
2592
  commit() {
2593
- return $c(this, this.batchUpdate(!1), "commit", "batchUpdate", "5.2"), this;
2593
+ return el(this, this.batchUpdate(!1), "commit", "batchUpdate", "5.2"), this;
2594
2594
  }
2595
2595
  };
2596
- bl.renderCB = (e, t) => {
2596
+ xl.renderCB = (e, t) => {
2597
2597
  e && t?.content && (e.textContent = t.content);
2598
- }, bl.resizeToContentParent = ".grid-stack-item-content", bl.Utils = Q, bl.Engine = el, bl.GDRev = "12.3.2";
2598
+ }, xl.resizeToContentParent = ".grid-stack-item-content", xl.Utils = Q, xl.Engine = tl, xl.GDRev = "12.3.2";
2599
2599
  //#endregion
2600
2600
  //#region src/blocks/F0GridStack/components/grid-stack-render-provider.tsx
2601
- var xl = /* @__PURE__ */ e(Bo(), 1), Sl = /* @__PURE__ */ new WeakMap();
2602
- function Cl({ children: e }) {
2603
- let { _gridStack: { value: t, set: n }, options: r } = Wc(), i = q(/* @__PURE__ */ new Map()), a = q(null), o = q(r), s = W((e, t) => {
2601
+ var Sl = /* @__PURE__ */ e(Ho(), 1), Cl = /* @__PURE__ */ new WeakMap();
2602
+ function wl({ children: e }) {
2603
+ let { _gridStack: { value: t, set: n }, options: r } = Gc(), i = q(/* @__PURE__ */ new Map()), a = q(null), o = q(r), s = W((e, t) => {
2604
2604
  if (t.id && t.grid) {
2605
- let n = Sl.get(t.grid);
2606
- n || (n = /* @__PURE__ */ new Map(), Sl.set(t.grid, n)), n.set(t.id, e), i.current.set(t.id, e);
2605
+ let n = Cl.get(t.grid);
2606
+ n || (n = /* @__PURE__ */ new Map(), Cl.set(t.grid, n)), n.set(t.id, e), i.current.set(t.id, e);
2607
2607
  }
2608
2608
  }, []), c = W(() => {
2609
2609
  if (a.current) {
2610
- bl.renderCB = s;
2611
- let e = bl.init(o.current, a.current);
2610
+ xl.renderCB = s;
2611
+ let e = xl.init(o.current, a.current);
2612
2612
  return e && o.current.handle && e.opts && (e.opts.handle = o.current.handle), e;
2613
2613
  }
2614
2614
  return null;
2615
2615
  }, [s]), l = (e, t) => {
2616
2616
  let { children: n, ...r } = e, { children: i, ...a } = t;
2617
- return (0, xl.default)(r, a);
2617
+ return (0, Sl.default)(r, a);
2618
2618
  };
2619
- return Ac(() => {
2619
+ return jc(() => {
2620
2620
  if (!l(r, o.current) && t) try {
2621
- t.removeAll(!1), t.destroy(!1), i.current.clear(), Sl.delete(t), o.current = r, n(null);
2621
+ t.removeAll(!1), t.destroy(!1), i.current.clear(), Cl.delete(t), o.current = r, n(null);
2622
2622
  } catch (e) {
2623
2623
  console.error("Error destroying gridstack", e);
2624
2624
  }
@@ -2627,7 +2627,7 @@ function Cl({ children: e }) {
2627
2627
  r,
2628
2628
  t,
2629
2629
  n
2630
- ]), Ac(() => {
2630
+ ]), jc(() => {
2631
2631
  if (!t && a.current) try {
2632
2632
  n(c());
2633
2633
  } catch (e) {
@@ -2637,10 +2637,10 @@ function Cl({ children: e }) {
2637
2637
  t,
2638
2638
  c,
2639
2639
  n
2640
- ]), /* @__PURE__ */ X(Xc.Provider, {
2640
+ ]), /* @__PURE__ */ X(Zc.Provider, {
2641
2641
  value: K(() => ({ getWidgetContainer: (e) => {
2642
2642
  if (t) {
2643
- let n = Sl.get(t);
2643
+ let n = Cl.get(t);
2644
2644
  if (n?.has(e)) return n.get(e) || null;
2645
2645
  }
2646
2646
  return i.current.get(e) || null;
@@ -2653,7 +2653,7 @@ function Cl({ children: e }) {
2653
2653
  }
2654
2654
  //#endregion
2655
2655
  //#region src/blocks/F0GridStack/F0GridStack.tsx
2656
- var wl = ({ options: e, widgets: t, onChange: n, className: r, static: i, forcePositionSync: a }) => {
2656
+ var Tl = ({ options: e, widgets: t, onChange: n, className: r, static: i, forcePositionSync: a }) => {
2657
2657
  let o = K(() => JSON.stringify(t.map((e) => ({
2658
2658
  id: e.id,
2659
2659
  w: e.w,
@@ -2681,7 +2681,7 @@ var wl = ({ options: e, widgets: t, onChange: n, className: r, static: i, forceP
2681
2681
  }
2682
2682
  return r;
2683
2683
  };
2684
- return /* @__PURE__ */ X(Yc, {
2684
+ return /* @__PURE__ */ X(Xc, {
2685
2685
  options: s,
2686
2686
  widgets: t,
2687
2687
  onResizeStop: (e, t) => {
@@ -2698,11 +2698,11 @@ var wl = ({ options: e, widgets: t, onChange: n, className: r, static: i, forceP
2698
2698
  onChange: n,
2699
2699
  static: i,
2700
2700
  forcePositionSync: a,
2701
- children: /* @__PURE__ */ X(Cl, { children: /* @__PURE__ */ X(Qc, {}) })
2701
+ children: /* @__PURE__ */ X(wl, { children: /* @__PURE__ */ X($c, {}) })
2702
2702
  });
2703
2703
  };
2704
- wl.displayName = "F0GridStack";
2705
- var Tl = R(gn("F0GridStack", wl)), El = (e, t, n) => /* @__PURE__ */ X("div", { children: e }), Dl = ({ widgets: e = [], editMode: t = !1, onChange: n = () => {}, WidgetWrapper: r = El, main: i = !1, deps: a }) => {
2704
+ Tl.displayName = "F0GridStack";
2705
+ var El = R(gn("F0GridStack", Tl)), Dl = (e, t, n) => /* @__PURE__ */ X("div", { children: e }), Ol = ({ widgets: e = [], editMode: t = !1, onChange: n = () => {}, WidgetWrapper: r = Dl, main: i = !1, deps: a }) => {
2706
2706
  let o = W((e, t, n) => /* @__PURE__ */ X(Jn.div, {
2707
2707
  className: "h-full w-full",
2708
2708
  initial: {
@@ -2870,36 +2870,36 @@ var Tl = R(gn("F0GridStack", wl)), El = (e, t, n) => /* @__PURE__ */ X("div", {
2870
2870
  o,
2871
2871
  _,
2872
2872
  a
2873
- ]), /* @__PURE__ */ X(wl, {
2873
+ ]), /* @__PURE__ */ X(Tl, {
2874
2874
  className: B(i && "h-full flex-1 overflow-auto"),
2875
2875
  options: s,
2876
2876
  onChange: v,
2877
2877
  widgets: l
2878
2878
  });
2879
2879
  };
2880
- Dl.displayName = "GroupGrid", Dl.__isPageLayoutGroup = !0;
2880
+ Ol.displayName = "GroupGrid", Ol.__isPageLayoutGroup = !0;
2881
2881
  //#endregion
2882
2882
  //#region src/blocks/layouts/Layout/utils.ts
2883
- var Ol = (e, t) => {
2883
+ var kl = (e, t) => {
2884
2884
  let n = t;
2885
2885
  return n.displayName = e, n.__isPageLayoutBlock = !0, n;
2886
- }, kl = (e, t) => {
2886
+ }, Al = (e, t) => {
2887
2887
  let n = t;
2888
2888
  return n.displayName = e, n.__isPageLayoutGroup = !0, n;
2889
- }, Al = Yn, jl = Gn, Ml = ({ children: e, title: t, draggable: n = !1, actions: r, aiButton: i }) => /* @__PURE__ */ X(Re, {
2889
+ }, jl = Yn, Ml = Gn, Nl = ({ children: e, title: t, draggable: n = !1, actions: r, aiButton: i }) => /* @__PURE__ */ X(Re, {
2890
2890
  header: { title: t },
2891
2891
  draggable: n,
2892
2892
  actions: r,
2893
2893
  AIButton: i,
2894
2894
  fullHeight: !0,
2895
2895
  children: e
2896
- }), Nl = ({ widgets: e, editMode: t = !1, onChange: n = () => {}, deps: r, ...i }) => /* @__PURE__ */ X(Dl, {
2896
+ }), Pl = ({ widgets: e, editMode: t = !1, onChange: n = () => {}, deps: r, ...i }) => /* @__PURE__ */ X(Ol, {
2897
2897
  widgets: e,
2898
2898
  editMode: t,
2899
2899
  onChange: n,
2900
2900
  deps: r,
2901
2901
  ...i,
2902
- WidgetWrapper: (e, t, n) => /* @__PURE__ */ X(Ml, {
2902
+ WidgetWrapper: (e, t, n) => /* @__PURE__ */ X(Nl, {
2903
2903
  title: t?.title ?? "",
2904
2904
  draggable: n,
2905
2905
  actions: t?.actions,
@@ -2907,19 +2907,19 @@ var Ol = (e, t) => {
2907
2907
  children: e
2908
2908
  })
2909
2909
  });
2910
- Nl.displayName = "Dashboard";
2911
- var Pl = kl("Dashboard", Nl), Fl = R(gn("Dashboard", Pl)), Il = ro({
2910
+ Pl.displayName = "Dashboard";
2911
+ var Fl = Al("Dashboard", Pl), Il = R(gn("Dashboard", Fl)), Ll = io({
2912
2912
  base: "flex w-full flex-col p-4",
2913
2913
  variants: { variant: {
2914
2914
  default: "",
2915
2915
  "full-width": "px-0",
2916
2916
  full: "p-0"
2917
2917
  } }
2918
- }), Ll = (e) => (e || []).map((e) => e.items).reduce((e, t) => (e.length > 0 && e.push({ type: "separator" }), e.push(...t), e), []), Rl = (e) => Array.isArray(e) ? e.every((e) => "onClick" in e) ? [{ items: e }] : e : [e], zl = wc(({ children: e, variant: t = "default", className: n, draggable: r = !1, onDragStart: i, onDragEnd: a, onDrop: o, dragId: s, primaryAction: c, ...l }, u) => {
2919
- let d = K(() => Rl(l.actions || []), [l.actions]), f = K(() => d.flatMap((e) => e.items), [d]), p = K(() => f.length > 0 || !!c, [f, c]);
2918
+ }), Rl = (e) => (e || []).map((e) => e.items).reduce((e, t) => (e.length > 0 && e.push({ type: "separator" }), e.push(...t), e), []), zl = (e) => Array.isArray(e) ? e.every((e) => "onClick" in e) ? [{ items: e }] : e : [e], Bl = Tc(({ children: e, variant: t = "default", className: n, draggable: r = !1, onDragStart: i, onDragEnd: a, onDrop: o, dragId: s, primaryAction: c, ...l }, u) => {
2919
+ let d = K(() => zl(l.actions || []), [l.actions]), f = K(() => d.flatMap((e) => e.items), [d]), p = K(() => f.length > 0 || !!c, [f, c]);
2920
2920
  return /* @__PURE__ */ Z("div", {
2921
2921
  ref: u,
2922
- className: B(Il({ variant: t }), "relative", n),
2922
+ className: B(Ll({ variant: t }), "relative", n),
2923
2923
  draggable: r,
2924
2924
  onDragStart: i,
2925
2925
  onDragEnd: a,
@@ -2928,8 +2928,8 @@ var Pl = kl("Dashboard", Nl), Fl = R(gn("Dashboard", Pl)), Il = ro({
2928
2928
  ...l,
2929
2929
  children: [p ? /* @__PURE__ */ Z("div", {
2930
2930
  className: "absolute right-0 top-0 flex items-center justify-end gap-2 p-4",
2931
- children: [c || null, f.length > 0 ? /* @__PURE__ */ X(Br, {
2932
- items: Ll(d),
2931
+ children: [c || null, f.length > 0 ? /* @__PURE__ */ X(Hr, {
2932
+ items: Rl(d),
2933
2933
  "data-testid": "actions-dropdown"
2934
2934
  }) : null]
2935
2935
  }) : null, /* @__PURE__ */ X("div", {
@@ -2938,11 +2938,11 @@ var Pl = kl("Dashboard", Nl), Fl = R(gn("Dashboard", Pl)), Il = ro({
2938
2938
  })]
2939
2939
  });
2940
2940
  });
2941
- zl.displayName = "Block", zl.__isPageLayoutBlock = !0;
2942
- var Bl = Ol("BlockContent", ({ title: e = "", description: t, titleLevel: n = "h2", children: r, className: i, ...a }) => {
2941
+ Bl.displayName = "Block", Bl.__isPageLayoutBlock = !0;
2942
+ var Vl = kl("BlockContent", ({ title: e = "", description: t, titleLevel: n = "h2", children: r, className: i, ...a }) => {
2943
2943
  if (!e) return null;
2944
2944
  let o = n;
2945
- return /* @__PURE__ */ Z(zl, {
2945
+ return /* @__PURE__ */ Z(Bl, {
2946
2946
  ...a,
2947
2947
  className: B("space-y-4", i),
2948
2948
  children: [/* @__PURE__ */ Z("div", {
@@ -2966,26 +2966,26 @@ var Bl = Ol("BlockContent", ({ title: e = "", description: t, titleLevel: n = "h
2966
2966
  children: r
2967
2967
  })]
2968
2968
  });
2969
- }), Vl = (e) => !Tc(e) || !e.type || typeof e.type == "string" || typeof e.type == "symbol" ? !1 : "__isPageLayoutBlock" in e.type, Hl = (e) => !Tc(e) || !e.type || typeof e.type == "string" || typeof e.type == "symbol" ? !1 : "__isPageLayoutGroup" in e.type, Ul = (e, t, n) => {
2970
- let r = xc.toArray(t);
2971
- for (let t of r) n.includes("block") && Vl(t) || n.includes("group") && Hl(t) || console.warn(`${e}: Children components must inherit from PageLayoutBlock or PageLayoutGroup. Found:`, t);
2972
- }, Wl = wc(({ children: e, onSort: t, ...n }, r) => {
2973
- Ul("GroupLinear", e, ["block"]);
2974
- let [i, a] = J(xc.toArray(e));
2969
+ }), Hl = (e) => !Ec(e) || !e.type || typeof e.type == "string" || typeof e.type == "symbol" ? !1 : "__isPageLayoutBlock" in e.type, Ul = (e) => !Ec(e) || !e.type || typeof e.type == "string" || typeof e.type == "symbol" ? !1 : "__isPageLayoutGroup" in e.type, Wl = (e, t, n) => {
2970
+ let r = Sc.toArray(t);
2971
+ for (let t of r) n.includes("block") && Hl(t) || n.includes("group") && Ul(t) || console.warn(`${e}: Children components must inherit from PageLayoutBlock or PageLayoutGroup. Found:`, t);
2972
+ }, Gl = Tc(({ children: e, onSort: t, ...n }, r) => {
2973
+ Wl("GroupLinear", e, ["block"]);
2974
+ let [i, a] = J(Sc.toArray(e));
2975
2975
  return G(() => {
2976
- a(xc.toArray(e));
2976
+ a(Sc.toArray(e));
2977
2977
  }, [e]), G(() => {
2978
2978
  t?.(i);
2979
2979
  }, [i, t]), /* @__PURE__ */ X("div", {
2980
2980
  ref: r,
2981
2981
  ...n,
2982
- children: i.map((e, t) => /* @__PURE__ */ X(Sc, { children: e }, t))
2982
+ children: i.map((e, t) => /* @__PURE__ */ X(Cc, { children: e }, t))
2983
2983
  });
2984
2984
  });
2985
- Wl.displayName = "GroupLinear", Wl.__isPageLayoutGroup = !0;
2985
+ Gl.displayName = "GroupLinear", Gl.__isPageLayoutGroup = !0;
2986
2986
  //#endregion
2987
2987
  //#region src/blocks/layouts/Layout/groups/GroupMasonry/components/SortableBlock.tsx
2988
- var Gl = ({ id: e, children: t }) => {
2988
+ var Kl = ({ id: e, children: t }) => {
2989
2989
  let { attributes: n, listeners: r, setNodeRef: i, transform: a, transition: o } = Ae({ id: e }), s = {
2990
2990
  transform: ut.Translate.toString(a),
2991
2991
  transition: o,
@@ -3000,9 +3000,9 @@ var Gl = ({ id: e, children: t }) => {
3000
3000
  ...r,
3001
3001
  children: t
3002
3002
  });
3003
- }, Kl = ({ blocks: e, sortable: t = !1, onSort: n = () => {}, main: i = !1 }) => {
3003
+ }, ql = ({ blocks: e, sortable: t = !1, onSort: n = () => {}, main: i = !1 }) => {
3004
3004
  let [a, o] = J([]);
3005
- ds(() => {
3005
+ Ls(() => {
3006
3006
  o(e.map((e, t) => ({
3007
3007
  id: e.id ?? t.toString(),
3008
3008
  render: e.render
@@ -3025,22 +3025,22 @@ var Gl = ({ id: e, children: t }) => {
3025
3025
  },
3026
3026
  children: [/* @__PURE__ */ X(j, {
3027
3027
  items: a,
3028
- children: a.map((e) => /* @__PURE__ */ X(Gl, {
3028
+ children: a.map((e) => /* @__PURE__ */ X(Kl, {
3029
3029
  id: e.id,
3030
3030
  children: e.render
3031
3031
  }, e.id))
3032
- }), /* @__PURE__ */ X(de, { children: s ? /* @__PURE__ */ X(Gl, {
3032
+ }), /* @__PURE__ */ X(de, { children: s ? /* @__PURE__ */ X(Kl, {
3033
3033
  id: s,
3034
3034
  children: a.find((e) => e.id === s)?.render
3035
3035
  }) : null })]
3036
3036
  })
3037
3037
  });
3038
3038
  };
3039
- Kl.displayName = "GroupMasonry", Kl.__isPageLayoutGroup = !0;
3039
+ ql.displayName = "GroupMasonry", ql.__isPageLayoutGroup = !0;
3040
3040
  //#endregion
3041
3041
  //#region src/blocks/layouts/Layout/pages/Page.tsx
3042
- var ql = wc(function({ children: e, aside: t, header: n, variant: r = "main-aside" }, i) {
3043
- return process.env.NODE_ENV === "development" && Ul("Page", e, ["block", "group"]), /* @__PURE__ */ X("div", {
3042
+ var Jl = Tc(function({ children: e, aside: t, header: n, variant: r = "main-aside" }, i) {
3043
+ return process.env.NODE_ENV === "development" && Wl("Page", e, ["block", "group"]), /* @__PURE__ */ X("div", {
3044
3044
  ref: i,
3045
3045
  className: "h-full",
3046
3046
  children: /* @__PURE__ */ Z("div", {
@@ -3060,30 +3060,30 @@ var ql = wc(function({ children: e, aside: t, header: n, variant: r = "main-asid
3060
3060
  }) : null]
3061
3061
  })
3062
3062
  });
3063
- }), Jl = {
3064
- Page: R(gn("Page", ql)),
3065
- Block: R(gn("Block", zl)),
3066
- BlockContent: R(gn("BlockContent", Bl)),
3067
- Group: R(gn("Group", Wl)),
3068
- GroupGrid: R(gn("GroupGrid", Dl)),
3069
- GroupMasonry: R(gn("GroupMasonry", Kl))
3070
- }, Yl = zc, Xl = Vc, Zl = R(io({
3063
+ }), Yl = {
3064
+ Page: R(gn("Page", Jl)),
3065
+ Block: R(gn("Block", Bl)),
3066
+ BlockContent: R(gn("BlockContent", Vl)),
3067
+ Group: R(gn("Group", Gl)),
3068
+ GroupGrid: R(gn("GroupGrid", Ol)),
3069
+ GroupMasonry: R(gn("GroupMasonry", ql))
3070
+ }, Xl = Bc, Zl = Hc, Ql = R(ao({
3071
3071
  name: "HomeLayout",
3072
3072
  type: "layout"
3073
- }, Ic)), Ql = [
3073
+ }, Lc)), $l = [
3074
3074
  "person",
3075
3075
  "team",
3076
3076
  "company",
3077
3077
  "file",
3078
3078
  "flag"
3079
- ], $l = (e) => typeof e == "boolean" || !e ? {
3079
+ ], eu = (e) => typeof e == "boolean" || !e ? {
3080
3080
  show: !!e,
3081
3081
  invertStatus: !1
3082
3082
  } : {
3083
3083
  show: e.show ?? !0,
3084
3084
  invertStatus: e.invertStatus ?? !1
3085
- }, eu = ({ label: e, ...t }) => {
3086
- let n = Vo(), r = n(t.value, { formatterOptions: { decimalPlaces: 2 } }), i = $l(t.trend), a = n(t.comparison), o = Wo(r.numericValue, r.formatterOptions), s = Qo(a.numericValue), c = Qo(r.numericValue), l = K(() => {
3085
+ }, tu = ({ label: e, ...t }) => {
3086
+ let n = Uo(), r = n(t.value, { formatterOptions: { decimalPlaces: 2 } }), i = eu(t.trend), a = n(t.comparison), o = Os(r.numericValue, r.formatterOptions), s = Bo(a.numericValue), c = Bo(r.numericValue), l = K(() => {
3087
3087
  if (s && i.show && s && c) return (c - s) / s * 100;
3088
3088
  }, [
3089
3089
  c,
@@ -3097,7 +3097,7 @@ var ql = wc(function({ children: e, aside: t, header: n, variant: r = "main-asid
3097
3097
  children: [/* @__PURE__ */ X("span", {
3098
3098
  className: "font-bold text-2xl",
3099
3099
  children: o
3100
- }), s === void 0 ? null : /* @__PURE__ */ X(Lo, {
3100
+ }), s === void 0 ? null : /* @__PURE__ */ X(Po, {
3101
3101
  percentage: l,
3102
3102
  amount: a,
3103
3103
  invertStatus: i.invertStatus,
@@ -3105,36 +3105,36 @@ var ql = wc(function({ children: e, aside: t, header: n, variant: r = "main-asid
3105
3105
  })]
3106
3106
  })]
3107
3107
  });
3108
- }, tu = () => /* @__PURE__ */ Z("div", {
3108
+ }, nu = () => /* @__PURE__ */ Z("div", {
3109
3109
  className: "relative flex h-full w-full cursor-progress flex-col gap-2",
3110
3110
  children: [/* @__PURE__ */ X(_n, { className: "h-3 w-full max-w-16 rounded-md" }), /* @__PURE__ */ Z("div", {
3111
3111
  className: "flex flex-row flex-wrap items-end gap-2",
3112
3112
  children: [/* @__PURE__ */ X(_n, { className: "h-8 w-full max-w-36 rounded-sm" }), /* @__PURE__ */ X(_n, { className: "h-6 w-full max-w-18 rounded-sm" })]
3113
3113
  })]
3114
3114
  });
3115
- eu.displayName = "F0BigNumber";
3116
- var nu = ia(eu, tu), ru = R(nu), iu = [
3115
+ tu.displayName = "F0BigNumber";
3116
+ var ru = Ji(tu, nu), iu = R(ru), au = [
3117
3117
  "default",
3118
3118
  "outline",
3119
3119
  "neutral"
3120
- ], au = Gn, ou = ["split", "dropdown"], su = ["sm", "md"], cu = [...Xn, "inline"], lu = ({ actions: e }) => /* @__PURE__ */ X("div", {
3120
+ ], ou = Gn, su = ["split", "dropdown"], cu = ["sm", "md"], lu = [...Xn, "inline"], uu = ({ actions: e }) => /* @__PURE__ */ X("div", {
3121
3121
  className: "flex items-center gap-2",
3122
3122
  children: e.map((e, t) => {
3123
3123
  switch (e.type) {
3124
- case "segmentedControl": return /* @__PURE__ */ X(Mi, {
3124
+ case "segmentedControl": return /* @__PURE__ */ X(ui, {
3125
3125
  items: e.items,
3126
3126
  value: e.value,
3127
3127
  onChange: e.onChange,
3128
3128
  disabled: e.disabled,
3129
3129
  ariaLabel: e.ariaLabel
3130
3130
  }, t);
3131
- case "dropdown": return /* @__PURE__ */ X(Br, {
3131
+ case "dropdown": return /* @__PURE__ */ X(Hr, {
3132
3132
  items: e.items,
3133
3133
  disabled: e.disabled,
3134
3134
  children: /* @__PURE__ */ X(V, {
3135
3135
  variant: "outline",
3136
3136
  size: "sm",
3137
- icon: qs,
3137
+ icon: Js,
3138
3138
  label: e.ariaLabel,
3139
3139
  hideLabel: !0,
3140
3140
  disabled: e.disabled
@@ -3142,9 +3142,9 @@ var nu = ia(eu, tu), ru = R(nu), iu = [
3142
3142
  }, t);
3143
3143
  }
3144
3144
  })
3145
- }), uu = ({ item: e, open: t, onOpenChange: n }) => {
3145
+ }), du = ({ item: e, open: t, onOpenChange: n }) => {
3146
3146
  let r = er(), i = z().t(t ? "actions.collapseItem" : "actions.expandItem", { title: e.title }), a = !!e.actions && e.actions.length > 0;
3147
- return /* @__PURE__ */ X(Ji, {
3147
+ return /* @__PURE__ */ X(ni, {
3148
3148
  open: t,
3149
3149
  onOpenChange: n,
3150
3150
  asChild: !0,
@@ -3152,7 +3152,7 @@ var nu = ia(eu, tu), ru = R(nu), iu = [
3152
3152
  className: "flex flex-col",
3153
3153
  children: [/* @__PURE__ */ Z("div", {
3154
3154
  className: "flex items-center",
3155
- children: [/* @__PURE__ */ X(ei, {
3155
+ children: [/* @__PURE__ */ X(Yi, {
3156
3156
  asChild: !0,
3157
3157
  children: /* @__PURE__ */ X("button", {
3158
3158
  type: "button",
@@ -3169,13 +3169,13 @@ var nu = ia(eu, tu), ru = R(nu), iu = [
3169
3169
  className: "flex items-center [&>*]:min-w-0",
3170
3170
  children: e.summary
3171
3171
  }) : null,
3172
- a ? /* @__PURE__ */ X(lu, { actions: e.actions }) : null,
3173
- /* @__PURE__ */ X(ei, {
3172
+ a ? /* @__PURE__ */ X(uu, { actions: e.actions }) : null,
3173
+ /* @__PURE__ */ X(Yi, {
3174
3174
  asChild: !0,
3175
3175
  children: /* @__PURE__ */ X(V, {
3176
3176
  variant: "outline",
3177
3177
  size: "sm",
3178
- icon: t ? jo : lo,
3178
+ icon: t ? qo : uo,
3179
3179
  label: i,
3180
3180
  hideLabel: !0
3181
3181
  })
@@ -3199,7 +3199,7 @@ var nu = ia(eu, tu), ru = R(nu), iu = [
3199
3199
  },
3200
3200
  transition: { duration: r ? 0 : .2 },
3201
3201
  className: "overflow-hidden",
3202
- children: /* @__PURE__ */ X(Ti, {
3202
+ children: /* @__PURE__ */ X(Bi, {
3203
3203
  forceMount: !0,
3204
3204
  asChild: !0,
3205
3205
  children: /* @__PURE__ */ Z("div", {
@@ -3214,16 +3214,16 @@ var nu = ia(eu, tu), ru = R(nu), iu = [
3214
3214
  })]
3215
3215
  })
3216
3216
  });
3217
- }, du = ({ items: e = 4 }) => /* @__PURE__ */ X("div", {
3217
+ }, fu = ({ items: e = 4 }) => /* @__PURE__ */ X("div", {
3218
3218
  "aria-busy": "true",
3219
3219
  "aria-live": "polite",
3220
3220
  className: B("flex flex-col rounded-md border border-solid border-f1-border-secondary", "overflow-hidden bg-f1-background"),
3221
- children: Array.from({ length: e }).map((e, t) => /* @__PURE__ */ Z(Sc, { children: [t > 0 ? /* @__PURE__ */ X("div", { className: "h-px w-full bg-f1-border-secondary" }) : null, /* @__PURE__ */ Z("div", {
3221
+ children: Array.from({ length: e }).map((e, t) => /* @__PURE__ */ Z(Cc, { children: [t > 0 ? /* @__PURE__ */ X("div", { className: "h-px w-full bg-f1-border-secondary" }) : null, /* @__PURE__ */ Z("div", {
3222
3222
  className: "flex items-center gap-3 px-4 py-3",
3223
3223
  children: [/* @__PURE__ */ X(_n, { className: "h-4 flex-1 max-w-48" }), /* @__PURE__ */ X(_n, { className: "ml-auto h-7 w-7 shrink-0 rounded" })]
3224
3224
  })] }, t))
3225
- }), fu = wc((e, t) => {
3226
- let { items: n, value: r, defaultValue: i, onValueChange: a, ...o } = e, s = K(() => i === void 0 ? n.filter((e) => e.defaultOpen).map((e) => e.id) : i, [i, n]), [c = [], l] = Xs({
3225
+ }), pu = Tc((e, t) => {
3226
+ let { items: n, value: r, defaultValue: i, onValueChange: a, ...o } = e, s = K(() => i === void 0 ? n.filter((e) => e.defaultOpen).map((e) => e.id) : i, [i, n]), [c = [], l] = Zs({
3227
3227
  prop: r,
3228
3228
  defaultProp: s,
3229
3229
  onChange: a
@@ -3235,39 +3235,34 @@ var nu = ia(eu, tu), ru = R(nu), iu = [
3235
3235
  ref: t,
3236
3236
  ...o,
3237
3237
  className: B("flex flex-col rounded-md border border-solid border-f1-border-secondary", "overflow-hidden bg-f1-background"),
3238
- children: n.map((e, t) => /* @__PURE__ */ Z(Sc, { children: [t > 0 ? /* @__PURE__ */ X("div", { className: "h-px w-full bg-f1-border-secondary" }) : null, /* @__PURE__ */ X(uu, {
3238
+ children: n.map((e, t) => /* @__PURE__ */ Z(Cc, { children: [t > 0 ? /* @__PURE__ */ X("div", { className: "h-px w-full bg-f1-border-secondary" }) : null, /* @__PURE__ */ X(du, {
3239
3239
  item: e,
3240
3240
  open: c.includes(e.id),
3241
3241
  onOpenChange: (t) => u(e.id, t)
3242
3242
  })] }, e.id))
3243
3243
  });
3244
3244
  });
3245
- fu.displayName = "F0Accordion";
3246
- var pu = R(gn("F0Accordion", ia(fu, du))), mu = [
3247
- "info",
3248
- "warning",
3249
- "critical",
3250
- "positive"
3251
- ], hu = ({ count: e, list: t }) => {
3252
- let [n, r] = J(!1), i = /* @__PURE__ */ X(Io, { label: `+${e}` });
3253
- return t?.length ? /* @__PURE__ */ Z(sc, {
3245
+ pu.displayName = "F0Accordion";
3246
+ var mu = R(gn("F0Accordion", Ji(pu, fu))), hu = ({ count: e, list: t }) => {
3247
+ let [n, r] = J(!1), i = /* @__PURE__ */ X(Ro, { label: `+${e}` });
3248
+ return t?.length ? /* @__PURE__ */ Z(cc, {
3254
3249
  open: n,
3255
3250
  onOpenChange: r,
3256
- children: [/* @__PURE__ */ X(Qs, {
3251
+ children: [/* @__PURE__ */ X($s, {
3257
3252
  asChild: !0,
3258
3253
  children: /* @__PURE__ */ X("button", {
3259
3254
  className: Dn("inline-flex flex-shrink-0 items-center"),
3260
3255
  children: i
3261
3256
  })
3262
- }), /* @__PURE__ */ X(ic, {
3257
+ }), /* @__PURE__ */ X(ac, {
3263
3258
  className: "rounded-md border border-solid border-f1-border-secondary p-1 shadow-md",
3264
3259
  align: "end",
3265
- children: /* @__PURE__ */ Z(fc, {
3260
+ children: /* @__PURE__ */ Z(pc, {
3266
3261
  className: "[*[data-state=visible]_div]:bg-f1-background flex max-h-[172px] flex-col",
3267
3262
  children: [t.map((e, t) => /* @__PURE__ */ X("div", {
3268
3263
  className: "flex w-[220px] min-w-0 items-center gap-1.5 px-2 py-1 [&:first-child]:pt-2 [&:last-child]:pb-2",
3269
- children: /* @__PURE__ */ X(Io, { ...e })
3270
- }, t)), /* @__PURE__ */ X(dc, {
3264
+ children: /* @__PURE__ */ X(Ro, { ...e })
3265
+ }, t)), /* @__PURE__ */ X(fc, {
3271
3266
  orientation: "vertical",
3272
3267
  className: "[&_div]:bg-f1-background"
3273
3268
  })]
@@ -3279,9 +3274,9 @@ hu.displayName = "ChipCounter";
3279
3274
  //#endregion
3280
3275
  //#region src/elements/F0ChipList/F0ChipList.tsx
3281
3276
  var gu = ({ chips: e, max: t = 4, remainingCount: n, layout: r = "compact" }) => {
3282
- if (r === "fill") return /* @__PURE__ */ X(_o, {
3277
+ if (r === "fill") return /* @__PURE__ */ X(vo, {
3283
3278
  items: e,
3284
- renderListItem: (e) => /* @__PURE__ */ X(Io, { ...e }),
3279
+ renderListItem: (e) => /* @__PURE__ */ X(Ro, { ...e }),
3285
3280
  renderDropdownItem: () => null,
3286
3281
  forceShowingOverflowIndicator: n !== void 0,
3287
3282
  renderOverflowIndicator: (t) => /* @__PURE__ */ X(hu, {
@@ -3294,7 +3289,7 @@ var gu = ({ chips: e, max: t = 4, remainingCount: n, layout: r = "compact" }) =>
3294
3289
  let i = e.slice(0, t), a = e.slice(t), o = n ?? e.length - t, s = o > 0;
3295
3290
  return /* @__PURE__ */ Z("div", {
3296
3291
  className: "flex items-center gap-2",
3297
- children: [i.map((e, t) => /* @__PURE__ */ X(Io, { ...e }, t)), s ? /* @__PURE__ */ X(hu, {
3292
+ children: [i.map((e, t) => /* @__PURE__ */ X(Ro, { ...e }, t)), s ? /* @__PURE__ */ X(hu, {
3298
3293
  count: o,
3299
3294
  list: n ? void 0 : a
3300
3295
  }) : null]
@@ -3306,7 +3301,7 @@ var _u = R(gn("F0ChipList", gu)), vu = [
3306
3301
  "escape",
3307
3302
  "commit",
3308
3303
  "popupClose"
3309
- ], yu = Ps, bu = [
3304
+ ], yu = Ns, bu = [
3310
3305
  "info",
3311
3306
  "warning",
3312
3307
  "critical",
@@ -3314,9 +3309,9 @@ var _u = R(gn("F0ChipList", gu)), vu = [
3314
3309
  "positive",
3315
3310
  "transparent"
3316
3311
  ], xu = {
3317
- get: async (e) => JSON.parse(localStorage.getItem(Pr(e)) ?? "{}"),
3312
+ get: async (e) => JSON.parse(localStorage.getItem(Rr(e)) ?? "{}"),
3318
3313
  set: async (e, t) => {
3319
- localStorage.setItem(Pr(e), JSON.stringify(t));
3314
+ localStorage.setItem(Rr(e), JSON.stringify(t));
3320
3315
  }
3321
3316
  }, Su = ({ disableClose: e = !1, onClose: t, isOpen: n, children: r, position: i = "right", size: a = "md", primaryAction: o, secondaryAction: c, title: l, description: u, module: d, otherActions: f, tabs: p, modal: m = !1, activeTabId: h, setActiveTabId: g, disableContentPadding: _, container: v, onWidthChange: y }) => {
3322
3317
  let [b, x] = J(n);
@@ -3382,7 +3377,7 @@ function Eu({ filters: e, value: t, onChange: n, height: r, width: i = 600, clas
3382
3377
  let t = Object.keys(e);
3383
3378
  if (t.length > 0) {
3384
3379
  let n = t.find((t) => {
3385
- let n = p[t], r = fs(e[t].type);
3380
+ let n = p[t], r = gs(e[t].type);
3386
3381
  return n !== void 0 && !r.isEmpty(n, {
3387
3382
  schema: e[t],
3388
3383
  i18n: l
@@ -3406,7 +3401,7 @@ function Eu({ filters: e, value: t, onChange: n, height: r, width: i = 600, clas
3406
3401
  }, g = () => {
3407
3402
  n(p);
3408
3403
  }, _ = K(() => r || Object.entries(e).reduce((e, [t, n]) => {
3409
- let r = fs(n.type);
3404
+ let r = gs(n.type);
3410
3405
  return Math.max(e, r?.formHeight || Tu);
3411
3406
  }, 0), [e, r]);
3412
3407
  return !e || Object.keys(e).length === 0 ? null : /* @__PURE__ */ X(fn, {
@@ -3414,7 +3409,7 @@ function Eu({ filters: e, value: t, onChange: n, height: r, width: i = 600, clas
3414
3409
  children: /* @__PURE__ */ X("div", {
3415
3410
  className: B("overflow-hidden rounded-xl border border-solid border-f1-border-secondary bg-f1-background", a),
3416
3411
  style: { maxWidth: i },
3417
- children: /* @__PURE__ */ X(Ms, {
3412
+ children: /* @__PURE__ */ X(js, {
3418
3413
  filters: e,
3419
3414
  tempFilters: p,
3420
3415
  selectedFilterKey: d,
@@ -3433,11 +3428,11 @@ var Du = Eu;
3433
3428
  //#endregion
3434
3429
  //#region src/blocks/F0Form/describeFormSchema.ts
3435
3430
  function Ou(e) {
3436
- let t = oa(e).shape, n = [];
3431
+ let t = ra(e).shape, n = [];
3437
3432
  for (let [e, r] of Object.entries(t)) {
3438
- let t = r, i = Hi(t);
3433
+ let t = r, i = Vi(t);
3439
3434
  if (!i) continue;
3440
- let a = oi(t, i), o = pt(t, a), s = {
3435
+ let a = li(t, i), o = pt(t, a), s = {
3441
3436
  name: e,
3442
3437
  type: a,
3443
3438
  label: i.label,
@@ -3509,9 +3504,9 @@ function Au(e) {
3509
3504
  let r = {
3510
3505
  ...n,
3511
3506
  ...e
3512
- }, i = oa(t), a = [];
3507
+ }, i = ra(t), a = [];
3513
3508
  for (let [e, t] of Object.entries(i.shape)) {
3514
- let n = Hi(t);
3509
+ let n = Vi(t);
3515
3510
  n?.renderIf ? ie(n.renderIf, r) && a.push(e) : a.push(e);
3516
3511
  }
3517
3512
  return a;
@@ -3555,7 +3550,7 @@ var Mu = ({ isOpen: e = !1, onClose: t = () => {}, type: n, title: r, descriptio
3555
3550
  modal: !0,
3556
3551
  children: /* @__PURE__ */ Z("div", {
3557
3552
  className: "flex flex-col gap-4 py-2",
3558
- children: [/* @__PURE__ */ X(dr, {
3553
+ children: [/* @__PURE__ */ X(br, {
3559
3554
  type: n,
3560
3555
  size: "lg"
3561
3556
  }), /* @__PURE__ */ Z("div", {
@@ -3637,7 +3632,7 @@ var Mu = ({ isOpen: e = !1, onClose: t = () => {}, type: n, title: r, descriptio
3637
3632
  }
3638
3633
  }));
3639
3634
  }, [u, t]);
3640
- return /* @__PURE__ */ X(Y, { children: d.map((e) => /* @__PURE__ */ X(Sc, { children: e.variant === "notification" ? /* @__PURE__ */ X(Mu, {
3635
+ return /* @__PURE__ */ X(Y, { children: d.map((e) => /* @__PURE__ */ X(Cc, { children: e.variant === "notification" ? /* @__PURE__ */ X(Mu, {
3641
3636
  title: e.title,
3642
3637
  description: e.description ?? "",
3643
3638
  type: e.type,
@@ -3673,26 +3668,26 @@ var Mu = ({ isOpen: e = !1, onClose: t = () => {}, type: n, title: r, descriptio
3673
3668
  children: e.content
3674
3669
  }, e.id) }, e.id)) });
3675
3670
  }, Iu = ({ children: e }) => {
3676
- let t = jc(k.subscribe, k.getSnapshot, k.getServerSnapshot), n = z(), [r, i] = J(null);
3671
+ let t = Mc(k.subscribe, k.getSnapshot, k.getServerSnapshot), n = z(), [r, i] = J(null);
3677
3672
  G(() => {
3678
3673
  let e = k.acquireRenderer();
3679
3674
  return i(e.id), e.release;
3680
3675
  }, []);
3681
- let a = jc(k.subscribeRenderer, k.getActiveRendererId, () => null), o = r !== null && r === a;
3676
+ let a = Mc(k.subscribeRenderer, k.getActiveRendererId, () => null), o = r !== null && r === a;
3682
3677
  return G(() => {
3683
3678
  k.setDefaultActionLabels({
3684
3679
  ok: n.actions.ok,
3685
3680
  cancel: n.actions.cancel
3686
3681
  });
3687
- }, [n]), /* @__PURE__ */ Z(Y, { children: [o && typeof document < "u" ? Nc(/* @__PURE__ */ X(Fu, { items: t }), document.body) : null, e] });
3682
+ }, [n]), /* @__PURE__ */ Z(Y, { children: [o && typeof document < "u" ? Pc(/* @__PURE__ */ X(Fu, { items: t }), document.body) : null, e] });
3688
3683
  }, Lu = 200, Ru = ({ children: e }) => {
3689
- let t = jc(De.subscribe, De.getSnapshot, De.getServerSnapshot), [n, r] = J(null);
3684
+ let t = Mc(De.subscribe, De.getSnapshot, De.getServerSnapshot), [n, r] = J(null);
3690
3685
  G(() => {
3691
3686
  let e = De.acquireRenderer();
3692
3687
  return r(e.id), e.release;
3693
3688
  }, []);
3694
- let i = jc(De.subscribeRenderer, De.getActiveRendererId, () => null);
3695
- return /* @__PURE__ */ Z(Y, { children: [n !== null && n === i && typeof document < "u" ? Nc(/* @__PURE__ */ X(zu, { items: t }), document.body) : null, e] });
3689
+ let i = Mc(De.subscribeRenderer, De.getActiveRendererId, () => null);
3690
+ return /* @__PURE__ */ Z(Y, { children: [n !== null && n === i && typeof document < "u" ? Pc(/* @__PURE__ */ X(zu, { items: t }), document.body) : null, e] });
3696
3691
  }, zu = ({ items: e }) => {
3697
3692
  let [t, n] = J(e), r = q(e), i = q(/* @__PURE__ */ new Map());
3698
3693
  G(() => {
@@ -3722,7 +3717,7 @@ var Mu = ({ isOpen: e = !1, onClose: t = () => {}, type: n, title: r, descriptio
3722
3717
  };
3723
3718
  }, []);
3724
3719
  let a = K(() => new Set(e.map((e) => e.id)), [e]);
3725
- return /* @__PURE__ */ X(Y, { children: t.map((e) => /* @__PURE__ */ X(Sc, { children: e.render({ isOpen: a.has(e.id) }) }, e.id)) });
3720
+ return /* @__PURE__ */ X(Y, { children: t.map((e) => /* @__PURE__ */ X(Cc, { children: e.render({ isOpen: a.has(e.id) }) }, e.id)) });
3726
3721
  };
3727
3722
  //#endregion
3728
3723
  //#region src/blocks/F0FormField/F0FormField.tsx
@@ -3741,7 +3736,7 @@ function Bu({ children: e }) {
3741
3736
  });
3742
3737
  }
3743
3738
  function Vu({ field: e, value: t, onChange: n, onBlur: r, error: a, errorMessage: o, status: s, loading: c, required: l, disabled: u, hideLabel: d, initialFiles: f, inline: p }) {
3744
- let m = Oc(), h = l ?? (e.validation ? pt(e.validation) : !1), g = !d && e.type !== "checkbox" && e.type !== "custom", _ = {
3739
+ let m = kc(), h = l ?? (e.validation ? pt(e.validation) : !1), g = !d && e.type !== "checkbox" && e.type !== "custom", _ = {
3745
3740
  value: t,
3746
3741
  onChange: n,
3747
3742
  onBlur: r ?? (() => {}),
@@ -3801,16 +3796,16 @@ function Vu({ field: e, value: t, onChange: n, onBlur: r, error: a, errorMessage
3801
3796
  className: "text-base text-f1-foreground-secondary",
3802
3797
  children: e.helpText
3803
3798
  }) : null,
3804
- /* @__PURE__ */ X(Oo, { status: y })
3799
+ /* @__PURE__ */ X(ko, { status: y })
3805
3800
  ]
3806
3801
  }) });
3807
3802
  }
3808
3803
  Vu.displayName = "F0FormField";
3809
3804
  //#endregion
3810
3805
  //#region src/blocks/F0Wizard/components/WizardProvider.tsx
3811
- var Hu = Cc(null);
3806
+ var Hu = wc(null);
3812
3807
  function Uu() {
3813
- let e = Dc(Hu);
3808
+ let e = Oc(Hu);
3814
3809
  if (!e) throw Error("useF0Wizard must be used within a F0Wizard");
3815
3810
  return e;
3816
3811
  }
@@ -3822,7 +3817,7 @@ function Wu({ children: e, ...t }) {
3822
3817
  }
3823
3818
  //#endregion
3824
3819
  //#region src/blocks/F0Wizard/components/WizardSteps.tsx
3825
- var Gu = ro({
3820
+ var Gu = io({
3826
3821
  base: "flex-1 text-base font-medium leading-5 tracking-[-0.005em]",
3827
3822
  variants: { state: {
3828
3823
  active: "text-f1-foreground",
@@ -3836,7 +3831,7 @@ function Ku(e, t, n) {
3836
3831
  function qu({ state: e, index: t }) {
3837
3832
  return e === "completed" ? /* @__PURE__ */ X("span", {
3838
3833
  className: "flex h-5 w-5 min-w-5 shrink-0 items-center justify-center rounded-xs bg-f1-background-secondary text-f1-foreground-secondary",
3839
- children: /* @__PURE__ */ X(Gs, { className: "h-3 w-3" })
3834
+ children: /* @__PURE__ */ X(Ks, { className: "h-3 w-3" })
3840
3835
  }) : /* @__PURE__ */ X(Wn, {
3841
3836
  value: t + 1,
3842
3837
  type: e === "active" ? "selected" : "default",
@@ -3947,7 +3942,7 @@ var Xu = () => {}, Zu = ({ steps: e, children: t, isOpen: n, onClose: r = Xu, ti
3947
3942
  onClose: r
3948
3943
  }), g = z(), _ = e[h.currentStep], v = h.currentStep === 0, y = h.currentStep === e.length - 1, b = y ? _?.nextLabel ?? l ?? g.wizard.submit : _?.nextLabel ?? s ?? g.wizard.next, S = _?.previousLabel ?? c ?? g.wizard.previous, C = K(() => ({
3949
3944
  label: b,
3950
- icon: y ? void 0 : ca,
3945
+ icon: y ? void 0 : mr,
3951
3946
  onClick: () => void h.goNext(),
3952
3947
  disabled: _?.isCompleted?.() === !1 || _?.hasErrors?.() === !0,
3953
3948
  loading: h.loading
@@ -3958,7 +3953,7 @@ var Xu = () => {}, Zu = ({ steps: e, children: t, isOpen: n, onClose: r = Xu, ti
3958
3953
  _
3959
3954
  ]), w = K(() => v ? void 0 : {
3960
3955
  label: S,
3961
- icon: qo,
3956
+ icon: Qo,
3962
3957
  onClick: h.goPrevious,
3963
3958
  disabled: h.loading
3964
3959
  }, [
@@ -4004,14 +3999,14 @@ Zu.displayName = "F0Wizard", R(Zu);
4004
3999
  //#endregion
4005
4000
  //#region src/blocks/F0WizardForm/F0WizardForm.tsx
4006
4001
  function Qu(e) {
4007
- let t = oa(e).shape, n = Object.entries(t);
4008
- return n.length !== 0 && n.every(([, e]) => Hi(e)?.disabled === !0);
4002
+ let t = ra(e).shape, n = Object.entries(t);
4003
+ return n.length !== 0 && n.every(([, e]) => Vi(e)?.disabled === !0);
4009
4004
  }
4010
4005
  function $u(e, t) {
4011
4006
  if (t) return Object.keys(t);
4012
- let n = oa(e).shape, r = /* @__PURE__ */ new Set();
4007
+ let n = ra(e).shape, r = /* @__PURE__ */ new Set();
4013
4008
  for (let e of Object.values(n)) {
4014
- let t = Hi(e);
4009
+ let t = Vi(e);
4015
4010
  t?.section && r.add(t.section);
4016
4011
  }
4017
4012
  return Array.from(r);
@@ -4019,15 +4014,15 @@ function $u(e, t) {
4019
4014
  function ed(e, t) {
4020
4015
  let n = e.shape, r = {};
4021
4016
  for (let [e, i] of Object.entries(n)) {
4022
- let n = Hi(i);
4017
+ let n = Vi(i);
4023
4018
  n?.section && t.includes(n.section) && (r[e] = i);
4024
4019
  }
4025
- return Yi(r);
4020
+ return qi(r);
4026
4021
  }
4027
4022
  function td(e, t, n) {
4028
4023
  let r = t ?? {};
4029
4024
  if (n) return n({ data: r });
4030
- let i = oa(e).shape;
4025
+ let i = ra(e).shape;
4031
4026
  return Object.entries(i).every(([e, t]) => {
4032
4027
  if (t.isOptional()) return !0;
4033
4028
  let n = r[e];
@@ -4253,7 +4248,7 @@ function sd({ sectionId: e, formName: t, schema: n, sectionConfig: r, defaultVal
4253
4248
  });
4254
4249
  }
4255
4250
  function cd({ formDefinition: e, steps: t, isOpen: n, onClose: r, title: i, width: a, size: o, defaultStepIndex: s, nextLabel: c, previousLabel: l, onStepChanged: u, allowStepSkipping: d, autoCloseOnLastStepSubmit: f, linkAfterLastStepSubmit: p, autoSkipCompletedSteps: m = !1, renderCustomField: h }) {
4256
- let { name: g, schema: _, sections: v, defaultValues: y, onSubmit: b, submitConfig: x, errorTriggerMode: S = "on-blur" } = e, C = x?.label, w = K(() => oa(_), [_]), T = K(() => $u(_, v), [_, v]), E = W((e) => Qu(ed(w, e)), [w]), D = ge(), O = q(y ? { ...y } : {}), k = q(s ?? 0), A = W((e) => async () => {
4251
+ let { name: g, schema: _, sections: v, defaultValues: y, onSubmit: b, submitConfig: x, errorTriggerMode: S = "on-blur" } = e, C = x?.label, w = K(() => ra(_), [_]), T = K(() => $u(_, v), [_, v]), E = W((e) => Qu(ed(w, e)), [w]), D = ge(), O = q(y ? { ...y } : {}), k = q(s ?? 0), A = W((e) => async () => {
4257
4252
  await D.submit();
4258
4253
  }, [D]), j = W((e) => D.hasErrors, [D.hasErrors]), M = t ?? e.steps, N = K(() => M ?? T.map((e) => ({
4259
4254
  title: v?.[e]?.title ?? e,
@@ -4470,7 +4465,7 @@ var gd = { open: hd }, _d = [
4470
4465
  className: "flex items-center py-2",
4471
4466
  children: /* @__PURE__ */ X(_n, { className: "h-1.5 w-full rounded-full" })
4472
4467
  })]
4473
- }), Sd = ro({
4468
+ }), Sd = io({
4474
4469
  base: "relative h-1.5 grow overflow-hidden rounded-full bg-f1-background-tertiary",
4475
4470
  variants: { status: {
4476
4471
  default: "",
@@ -4478,7 +4473,7 @@ var gd = { open: hd }, _d = [
4478
4473
  info: "",
4479
4474
  error: ""
4480
4475
  } }
4481
- }), Cd = ro({
4476
+ }), Cd = io({
4482
4477
  base: "absolute h-full",
4483
4478
  variants: {
4484
4479
  status: {
@@ -4492,7 +4487,7 @@ var gd = { open: hd }, _d = [
4492
4487
  false: ""
4493
4488
  }
4494
4489
  }
4495
- }), wd = 20, Td = ro({
4490
+ }), wd = 20, Td = io({
4496
4491
  base: B("relative block rounded-full bg-f1-background border-[2px] border-solid", "transition-[transform,border-color] hover:scale-110", "motion-reduce:transition-none motion-reduce:hover:scale-100", "data-[disabled]:cursor-not-allowed data-[disabled]:hover:scale-100"),
4497
4492
  variants: {
4498
4493
  status: {
@@ -4506,12 +4501,12 @@ var gd = { open: hd }, _d = [
4506
4501
  false: ""
4507
4502
  }
4508
4503
  }
4509
- }), Ed = wc((e, t) => {
4510
- let { label: n, ariaLabel: r, hideLabel: i = !1, hint: a, status: o, required: s, disabled: c, name: l, value: u, defaultValue: d, onChange: f, onValueCommit: p, min: m, max: h, step: g = 1, minLabel: _, maxLabel: v, formatValue: y = (e) => String(e), showTooltip: b = "onHover", ...x } = e, S = Oc(), C = Oc(), w = Oc(), T = r && r.trim().length > 0 ? r : n.trim().length > 0 ? n : void 0;
4504
+ }), Ed = Tc((e, t) => {
4505
+ let { label: n, ariaLabel: r, hideLabel: i = !1, hint: a, status: o, required: s, disabled: c, name: l, value: u, defaultValue: d, onChange: f, onValueCommit: p, min: m, max: h, step: g = 1, minLabel: _, maxLabel: v, formatValue: y = (e) => String(e), showTooltip: b = "onHover", ...x } = e, S = kc(), C = kc(), w = kc(), T = r && r.trim().length > 0 ? r : n.trim().length > 0 ? n : void 0;
4511
4506
  G(() => {
4512
4507
  process.env.NODE_ENV !== "production" && !T && console.warn("F0Slider: provide a non-empty `label` or `ariaLabel` for accessibility.");
4513
4508
  }, [T]);
4514
- let [E, D] = Xs({
4509
+ let [E, D] = Zs({
4515
4510
  prop: u,
4516
4511
  defaultProp: d ?? m,
4517
4512
  onChange: f
@@ -4543,7 +4538,7 @@ var gd = { open: hd }, _d = [
4543
4538
  id: C,
4544
4539
  disabled: c
4545
4540
  }) : null,
4546
- /* @__PURE__ */ Z(aa, {
4541
+ /* @__PURE__ */ Z(gi, {
4547
4542
  value: [O],
4548
4543
  onValueChange: j,
4549
4544
  onValueCommit: M,
@@ -4558,14 +4553,14 @@ var gd = { open: hd }, _d = [
4558
4553
  onMouseEnter: () => P(!0),
4559
4554
  onMouseLeave: () => P(!1),
4560
4555
  children: [
4561
- /* @__PURE__ */ X(Ui, {
4556
+ /* @__PURE__ */ X(xi, {
4562
4557
  className: Sd({ status: re }),
4563
- children: /* @__PURE__ */ X(ci, { className: Cd({
4558
+ children: /* @__PURE__ */ X(Hi, { className: Cd({
4564
4559
  status: re,
4565
4560
  disabled: c
4566
4561
  }) })
4567
4562
  }),
4568
- /* @__PURE__ */ X(pi, {
4563
+ /* @__PURE__ */ X(Ni, {
4569
4564
  id: S,
4570
4565
  "aria-label": ie ? void 0 : T,
4571
4566
  "aria-labelledby": ie ? C : void 0,
@@ -4598,13 +4593,13 @@ var gd = { open: hd }, _d = [
4598
4593
  id: w,
4599
4594
  role: "status",
4600
4595
  "aria-live": "polite",
4601
- children: /* @__PURE__ */ X(Oo, { status: ae })
4596
+ children: /* @__PURE__ */ X(ko, { status: ae })
4602
4597
  })
4603
4598
  ]
4604
4599
  });
4605
4600
  });
4606
4601
  Ed.displayName = "F0Slider";
4607
- var Dd = gn("F0Slider", ia(R(Ed), xd)), Od = [
4602
+ var Dd = gn("F0Slider", Ji(R(Ed), xd)), Od = [
4608
4603
  "completed",
4609
4604
  "in-progress",
4610
4605
  "not-started",
@@ -4637,7 +4632,7 @@ var Dd = gn("F0Slider", ia(R(Ed), xd)), Od = [
4637
4632
  "grey",
4638
4633
  "orange",
4639
4634
  "radical"
4640
- ], Md = 16, Nd = ro({
4635
+ ], Md = 16, Nd = io({
4641
4636
  base: "h-0.5 rounded-full bg-f1-foreground cursor-pointer",
4642
4637
  variants: {
4643
4638
  depth: {
@@ -4734,7 +4729,7 @@ function Rd(e, t) {
4734
4729
  }
4735
4730
  //#endregion
4736
4731
  //#region src/blocks/F0TableOfContentPopover/F0TableOfContentPopover.tsx
4737
- var zd = 300, Bd = 0, Vd = ro({
4732
+ var zd = 300, Bd = 0, Vd = io({
4738
4733
  base: "w-auto overflow-y-auto rounded-lg border border-solid border-f1-border-secondary bg-f1-background p-0 shadow-lg",
4739
4734
  variants: { size: {
4740
4735
  sm: "max-h-[240px]",
@@ -4754,12 +4749,12 @@ function Hd({ title: e, items: t, className: n, activeItem: r, collapsible: i =
4754
4749
  });
4755
4750
  }));
4756
4751
  }, []);
4757
- return /* @__PURE__ */ Z(zs, {
4752
+ return /* @__PURE__ */ Z(ms, {
4758
4753
  open: f,
4759
4754
  onOpenChange: _,
4760
4755
  openDelay: Bd,
4761
4756
  closeDelay: zd,
4762
- children: [/* @__PURE__ */ X(ls, {
4757
+ children: [/* @__PURE__ */ X(ts, {
4763
4758
  asChild: !0,
4764
4759
  children: /* @__PURE__ */ X("button", {
4765
4760
  className: B(Dn(), "flex cursor-pointer items-center rounded-md px-1.5 py-1", n),
@@ -4771,7 +4766,7 @@ function Hd({ title: e, items: t, className: n, activeItem: r, collapsible: i =
4771
4766
  variant: u
4772
4767
  })
4773
4768
  })
4774
- }), /* @__PURE__ */ X(Ws, {
4769
+ }), /* @__PURE__ */ X(Bs, {
4775
4770
  ref: v,
4776
4771
  side: c === "left" ? "right" : "left",
4777
4772
  align: "center",
@@ -4885,7 +4880,7 @@ function Jd(e) {
4885
4880
  }
4886
4881
  //#endregion
4887
4882
  //#region src/domains/talent/surveys/surveys/SurveyFormBuilder/ApplyingChangesTag/ApplyingChangesTag.tsx
4888
- var Yd = Jn.create(ur), Xd = Ec(() => {
4883
+ var Yd = Jn.create(ur), Xd = Dc(() => {
4889
4884
  let e = z();
4890
4885
  return /* @__PURE__ */ Z("div", {
4891
4886
  className: "flex flex-row items-center gap-1 rounded-full border border-solid border-f1-border-secondary bg-f1-background px-2 py-1.5 pr-2.5 shadow-md",
@@ -5020,7 +5015,7 @@ var Yd = Jn.create(ur), Xd = Ec(() => {
5020
5015
  let t = rf.find((t) => e?.includes(t));
5021
5016
  if (!t) throw Error(`No default question type found for allowed question types: ${e.join(", ")}`);
5022
5017
  return t;
5023
- }, of = Cc(void 0);
5018
+ }, of = wc(void 0);
5024
5019
  function sf({ elements: e, children: t, disabled: n, answering: r, disallowOptionalQuestions: i, onChange: a, allowedQuestionTypes: o, errors: s, onFieldBlur: c, useUpload: l, datasets: u, placeholders: d, labels: f, skipDefaultSection: p }) {
5025
5020
  let m = oe(o), h = oe(s), g = oe(u), _ = oe(d), v = oe(f), y = q(e);
5026
5021
  y.current = e;
@@ -5208,13 +5203,13 @@ function sf({ elements: e, children: t, disabled: n, answering: r, disallowOptio
5208
5203
  });
5209
5204
  }
5210
5205
  function cf() {
5211
- let e = Dc(of);
5206
+ let e = Oc(of);
5212
5207
  if (!e) throw Error("useSurveyFormBuilderContext must be used within a SurveyFormBuilderProvider");
5213
5208
  return e;
5214
5209
  }
5215
5210
  //#endregion
5216
5211
  //#region src/domains/talent/surveys/surveys/SurveyFormBuilder/DragContext.tsx
5217
- var lf = Cc(void 0);
5212
+ var lf = wc(void 0);
5218
5213
  function uf({ children: e }) {
5219
5214
  let [t, n] = J(!1), [r, i] = J(null), a = K(() => ({
5220
5215
  isDragging: t,
@@ -5228,7 +5223,7 @@ function uf({ children: e }) {
5228
5223
  });
5229
5224
  }
5230
5225
  function df() {
5231
- return Dc(lf) || {
5226
+ return Oc(lf) || {
5232
5227
  isDragging: !1,
5233
5228
  setIsDragging: () => {},
5234
5229
  draggedItemId: null,
@@ -5241,74 +5236,74 @@ var ff = () => {
5241
5236
  let { isQuestionTypeAllowed: e, datasets: t } = cf(), { t: n } = z(), r = [
5242
5237
  {
5243
5238
  label: n("surveyFormBuilder.questionTypes.rating"),
5244
- icon: mr,
5239
+ icon: kr,
5245
5240
  questionType: "rating"
5246
5241
  },
5247
5242
  {
5248
5243
  label: n("surveyFormBuilder.questionTypes.multipleChoice"),
5249
- icon: li,
5244
+ icon: Wi,
5250
5245
  questionType: "multi-select"
5251
5246
  },
5252
5247
  {
5253
5248
  label: n("surveyFormBuilder.questionTypes.singleChoice"),
5254
- icon: Gs,
5249
+ icon: Ks,
5255
5250
  questionType: "select"
5256
5251
  },
5257
5252
  {
5258
5253
  label: n("surveyFormBuilder.questionTypes.text"),
5259
- icon: ji,
5254
+ icon: Oi,
5260
5255
  questionType: "text"
5261
5256
  },
5262
5257
  {
5263
5258
  label: n("surveyFormBuilder.questionTypes.longText"),
5264
- icon: Fr,
5259
+ icon: sa,
5265
5260
  questionType: "longText"
5266
5261
  },
5267
5262
  {
5268
5263
  label: n("surveyFormBuilder.questionTypes.numeric"),
5269
- icon: Vi,
5264
+ icon: si,
5270
5265
  questionType: "numeric"
5271
5266
  },
5272
5267
  {
5273
5268
  label: n("surveyFormBuilder.questionTypes.link"),
5274
- icon: fr,
5269
+ icon: zr,
5275
5270
  questionType: "link"
5276
5271
  },
5277
5272
  {
5278
5273
  label: n("surveyFormBuilder.questionTypes.date"),
5279
- icon: da,
5274
+ icon: ua,
5280
5275
  questionType: "date"
5281
5276
  },
5282
5277
  {
5283
5278
  label: n("surveyFormBuilder.questionTypes.file"),
5284
- icon: Ir,
5279
+ icon: ca,
5285
5280
  questionType: "file"
5286
5281
  },
5287
5282
  {
5288
5283
  label: n("surveyFormBuilder.questionTypes.checkbox"),
5289
- icon: Ks,
5284
+ icon: qs,
5290
5285
  questionType: "checkbox"
5291
5286
  }
5292
5287
  ].filter((t) => e(t.questionType)), i = e("dropdown-single") ? Object.entries(t ?? {}).map(([e, t]) => ({
5293
5288
  label: t.title,
5294
- icon: t.icon ?? lo,
5289
+ icon: t.icon ?? uo,
5295
5290
  questionType: "dropdown-single",
5296
5291
  datasetKey: e
5297
5292
  })) : [];
5298
5293
  return [...r, ...i];
5299
5294
  }, pf = {
5300
- rating: mr,
5301
- "multi-select": li,
5302
- select: Gs,
5303
- text: ji,
5304
- longText: Fr,
5305
- numeric: Vi,
5306
- link: fr,
5307
- date: da,
5308
- "dropdown-single": lo,
5309
- "dropdown-multi": lo,
5310
- file: Ir,
5311
- checkbox: Ks
5295
+ rating: kr,
5296
+ "multi-select": Wi,
5297
+ select: Ks,
5298
+ text: Oi,
5299
+ longText: sa,
5300
+ numeric: si,
5301
+ link: zr,
5302
+ date: ua,
5303
+ "dropdown-single": uo,
5304
+ "dropdown-multi": uo,
5305
+ file: ca,
5306
+ checkbox: qs
5312
5307
  }, mf = () => {
5313
5308
  let { disabled: e, answering: t, onAddNewElement: n, isQuestionTypeAllowed: r, labels: i } = cf(), [a, o] = J(!1), s = ff(), { t: c } = z(), l = i?.addQuestion ?? c("surveyFormBuilder.actions.addQuestion"), u = (e, t) => {
5314
5309
  n?.({
@@ -5320,28 +5315,28 @@ var ff = () => {
5320
5315
  }, f = s.filter((e) => !e.datasetKey), p = Array.from(new Set(s.filter((e) => !!e.datasetKey).map((e) => e.datasetKey)));
5321
5316
  return e || t ? null : /* @__PURE__ */ X("div", {
5322
5317
  className: "ml-6 flex justify-center",
5323
- children: /* @__PURE__ */ Z(ec, {
5318
+ children: /* @__PURE__ */ Z(tc, {
5324
5319
  open: a,
5325
5320
  onOpenChange: o,
5326
- children: [/* @__PURE__ */ X(cc, {
5321
+ children: [/* @__PURE__ */ X(lc, {
5327
5322
  asChild: !0,
5328
5323
  children: /* @__PURE__ */ X(V, {
5329
- icon: po,
5324
+ icon: mo,
5330
5325
  label: l,
5331
5326
  size: "md",
5332
5327
  variant: "outline",
5333
5328
  hideLabel: !0
5334
5329
  })
5335
- }), /* @__PURE__ */ Z(tc, {
5330
+ }), /* @__PURE__ */ Z(nc, {
5336
5331
  align: "center",
5337
5332
  className: "w-80",
5338
5333
  children: [
5339
- /* @__PURE__ */ X(ac, {
5334
+ /* @__PURE__ */ X(oc, {
5340
5335
  onClick: d,
5341
5336
  children: /* @__PURE__ */ Z("div", {
5342
5337
  className: "flex w-full flex-row items-center gap-2",
5343
5338
  children: [/* @__PURE__ */ X(H, {
5344
- icon: jr,
5339
+ icon: Cr,
5345
5340
  color: "default"
5346
5341
  }), /* @__PURE__ */ X("span", {
5347
5342
  className: "flex-1 text-base font-medium",
@@ -5349,8 +5344,8 @@ var ff = () => {
5349
5344
  })]
5350
5345
  })
5351
5346
  }),
5352
- /* @__PURE__ */ X(uc, {}),
5353
- f.map((e) => /* @__PURE__ */ X(ac, {
5347
+ /* @__PURE__ */ X(dc, {}),
5348
+ f.map((e) => /* @__PURE__ */ X(oc, {
5354
5349
  onClick: () => u(e.questionType),
5355
5350
  children: /* @__PURE__ */ Z("div", {
5356
5351
  className: "flex w-full flex-row items-center gap-2",
@@ -5363,9 +5358,9 @@ var ff = () => {
5363
5358
  })]
5364
5359
  })
5365
5360
  }, e.questionType)),
5366
- p.length > 0 ? /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(uc, {}), p.map((e) => {
5361
+ p.length > 0 ? /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(dc, {}), p.map((e) => {
5367
5362
  let t = s.find((t) => t.datasetKey === e && t.questionType === "dropdown-single");
5368
- return /* @__PURE__ */ Z($s, { children: [/* @__PURE__ */ X(Zs, {
5363
+ return /* @__PURE__ */ Z(ec, { children: [/* @__PURE__ */ X(Qs, {
5369
5364
  className: "mx-1 px-2 data-[state=open]:rounded-sm data-[state=closed]:bg-transparent data-[state=open]:bg-f1-background-hover",
5370
5365
  children: /* @__PURE__ */ Z("div", {
5371
5366
  className: "flex w-full flex-row items-center gap-2",
@@ -5377,24 +5372,24 @@ var ff = () => {
5377
5372
  children: t?.label ?? e
5378
5373
  })]
5379
5374
  })
5380
- }), /* @__PURE__ */ X(nc, { children: /* @__PURE__ */ Z(lc, { children: [r("dropdown-single") ? /* @__PURE__ */ X(ac, {
5375
+ }), /* @__PURE__ */ X(rc, { children: /* @__PURE__ */ Z(uc, { children: [r("dropdown-single") ? /* @__PURE__ */ X(oc, {
5381
5376
  onClick: () => u("dropdown-single", e),
5382
5377
  children: /* @__PURE__ */ Z("div", {
5383
5378
  className: "flex w-full flex-row items-center gap-2",
5384
5379
  children: [/* @__PURE__ */ X(H, {
5385
- icon: Gs,
5380
+ icon: Ks,
5386
5381
  color: "default"
5387
5382
  }), /* @__PURE__ */ X("span", {
5388
5383
  className: "flex-1",
5389
5384
  children: c("surveyFormBuilder.labels.singleSelection")
5390
5385
  })]
5391
5386
  })
5392
- }) : null, r("dropdown-multi") ? /* @__PURE__ */ X(ac, {
5387
+ }) : null, r("dropdown-multi") ? /* @__PURE__ */ X(oc, {
5393
5388
  onClick: () => u("dropdown-multi", e),
5394
5389
  children: /* @__PURE__ */ Z("div", {
5395
5390
  className: "flex w-full flex-row items-center gap-2",
5396
5391
  children: [/* @__PURE__ */ X(H, {
5397
- icon: li,
5392
+ icon: Wi,
5398
5393
  color: "default"
5399
5394
  }), /* @__PURE__ */ X("span", {
5400
5395
  className: "flex-1",
@@ -5542,7 +5537,7 @@ function bf({ questionId: e, questionType: t, canDelete: n = !0 }) {
5542
5537
  }
5543
5538
  //#endregion
5544
5539
  //#region src/domains/talent/surveys/surveys/SurveyFormBuilder/QuestionTypes/BaseQuestion/ActionsMenu/ActionsMenu.tsx
5545
- var xf = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(ac, {
5540
+ var xf = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(oc, {
5546
5541
  className: "!pb-2.5 pr-4",
5547
5542
  onClick: (e) => {
5548
5543
  e.preventDefault(), r(!n);
@@ -5550,7 +5545,7 @@ var xf = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(a
5550
5545
  children: /* @__PURE__ */ Z("div", {
5551
5546
  className: "flex w-full flex-row items-center gap-2",
5552
5547
  children: [
5553
- /* @__PURE__ */ X(no, {
5548
+ /* @__PURE__ */ X(ro, {
5554
5549
  icon: t,
5555
5550
  color: "default"
5556
5551
  }),
@@ -5558,7 +5553,7 @@ var xf = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(a
5558
5553
  className: "flex-1",
5559
5554
  children: e
5560
5555
  }),
5561
- /* @__PURE__ */ X(Ts, {
5556
+ /* @__PURE__ */ X(Cs, {
5562
5557
  title: e,
5563
5558
  checked: n,
5564
5559
  onCheckedChange: r,
@@ -5568,13 +5563,13 @@ var xf = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(a
5568
5563
  })
5569
5564
  }), Sf = ({ label: e, value: t, currentDatasetKey: n, questionTypes: r, currentRatingType: i, isQuestionTypeAllowed: a, onSelectQuestionType: o, onSelectRatingType: s }) => {
5570
5565
  let { t: c } = z(), l = r.filter((e) => !e.datasetKey), u = Array.from(new Set(r.filter((e) => !!e.datasetKey).map((e) => e.datasetKey))), d = n ? r.find((e) => e.questionType === t && e.datasetKey === n)?.label ?? void 0 : r.find((e) => e.questionType === t && !e.datasetKey)?.label ?? void 0;
5571
- return /* @__PURE__ */ Z($s, { children: [/* @__PURE__ */ X(Zs, {
5566
+ return /* @__PURE__ */ Z(ec, { children: [/* @__PURE__ */ X(Qs, {
5572
5567
  className: "mx-1 px-2 data-[state=open]:rounded-sm data-[state=closed]:bg-transparent data-[state=open]:bg-f1-background-hover",
5573
5568
  children: /* @__PURE__ */ Z("div", {
5574
5569
  className: "flex w-full flex-row items-center gap-2",
5575
5570
  children: [
5576
- /* @__PURE__ */ X(no, {
5577
- icon: Ai,
5571
+ /* @__PURE__ */ X(ro, {
5572
+ icon: Di,
5578
5573
  color: "default"
5579
5574
  }),
5580
5575
  /* @__PURE__ */ X("span", {
@@ -5587,14 +5582,14 @@ var xf = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(a
5587
5582
  }) : null
5588
5583
  ]
5589
5584
  })
5590
- }), /* @__PURE__ */ X(nc, { children: /* @__PURE__ */ Z(lc, { children: [l.map((e) => {
5585
+ }), /* @__PURE__ */ X(rc, { children: /* @__PURE__ */ Z(uc, { children: [l.map((e) => {
5591
5586
  let r = e.questionType === "rating", a = t === e.questionType && !n;
5592
- return r ? /* @__PURE__ */ Z($s, { children: [/* @__PURE__ */ X(Zs, {
5587
+ return r ? /* @__PURE__ */ Z(ec, { children: [/* @__PURE__ */ X(Qs, {
5593
5588
  className: "mx-1 mt-1 px-2 data-[state=open]:rounded-sm data-[state=closed]:bg-transparent data-[state=open]:bg-f1-background-hover",
5594
5589
  children: /* @__PURE__ */ Z("div", {
5595
5590
  className: "flex w-full flex-row items-center gap-2 text-base font-medium",
5596
5591
  children: [
5597
- /* @__PURE__ */ X(no, {
5592
+ /* @__PURE__ */ X(ro, {
5598
5593
  icon: e.icon,
5599
5594
  color: "default"
5600
5595
  }),
@@ -5608,24 +5603,24 @@ var xf = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(a
5608
5603
  }) : null
5609
5604
  ]
5610
5605
  })
5611
- }), /* @__PURE__ */ X(nc, { children: /* @__PURE__ */ X(lc, { children: gf.map((e) => /* @__PURE__ */ X(ac, {
5606
+ }), /* @__PURE__ */ X(rc, { children: /* @__PURE__ */ X(uc, { children: gf.map((e) => /* @__PURE__ */ X(oc, {
5612
5607
  onClick: () => s(e.value),
5613
5608
  children: /* @__PURE__ */ Z("div", {
5614
5609
  className: "flex w-full flex-row items-center gap-2 pl-2",
5615
5610
  children: [/* @__PURE__ */ X("span", {
5616
5611
  className: "flex-1",
5617
5612
  children: e.label
5618
- }), i === e.value ? /* @__PURE__ */ X(no, {
5619
- icon: Gs,
5613
+ }), i === e.value ? /* @__PURE__ */ X(ro, {
5614
+ icon: Ks,
5620
5615
  color: "default"
5621
5616
  }) : null]
5622
5617
  })
5623
- }, e.value)) }) })] }, e.questionType) : /* @__PURE__ */ X(ac, {
5618
+ }, e.value)) }) })] }, e.questionType) : /* @__PURE__ */ X(oc, {
5624
5619
  onClick: () => o(e.questionType),
5625
5620
  children: /* @__PURE__ */ Z("div", {
5626
5621
  className: "flex w-full flex-row items-center gap-2",
5627
5622
  children: [
5628
- /* @__PURE__ */ X(no, {
5623
+ /* @__PURE__ */ X(ro, {
5629
5624
  icon: e.icon,
5630
5625
  color: "default"
5631
5626
  }),
@@ -5633,21 +5628,21 @@ var xf = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(a
5633
5628
  className: "flex-1",
5634
5629
  children: e.label
5635
5630
  }),
5636
- a ? /* @__PURE__ */ X(no, {
5637
- icon: Gs,
5631
+ a ? /* @__PURE__ */ X(ro, {
5632
+ icon: Ks,
5638
5633
  color: "default"
5639
5634
  }) : null
5640
5635
  ]
5641
5636
  })
5642
5637
  }, e.questionType);
5643
- }), u.length > 0 ? /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(uc, {}), u.map((e) => {
5638
+ }), u.length > 0 ? /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(dc, {}), u.map((e) => {
5644
5639
  let i = r.find((t) => t.datasetKey === e && t.questionType === "dropdown-single");
5645
- return /* @__PURE__ */ Z($s, { children: [/* @__PURE__ */ X(Zs, {
5640
+ return /* @__PURE__ */ Z(ec, { children: [/* @__PURE__ */ X(Qs, {
5646
5641
  className: "mx-1 px-2 data-[state=open]:rounded-sm data-[state=closed]:bg-transparent data-[state=open]:bg-f1-background-hover",
5647
5642
  children: /* @__PURE__ */ Z("div", {
5648
5643
  className: "flex w-full flex-row items-center gap-2",
5649
5644
  children: [
5650
- i ? /* @__PURE__ */ X(no, {
5645
+ i ? /* @__PURE__ */ X(ro, {
5651
5646
  icon: i.icon,
5652
5647
  color: "default"
5653
5648
  }) : null,
@@ -5655,71 +5650,71 @@ var xf = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(a
5655
5650
  className: "flex-1 text-base font-medium",
5656
5651
  children: i?.label ?? e
5657
5652
  }),
5658
- n === e ? /* @__PURE__ */ X(no, {
5659
- icon: Gs,
5653
+ n === e ? /* @__PURE__ */ X(ro, {
5654
+ icon: Ks,
5660
5655
  color: "default"
5661
5656
  }) : null
5662
5657
  ]
5663
5658
  })
5664
- }), /* @__PURE__ */ X(nc, { children: /* @__PURE__ */ Z(lc, { children: [a("dropdown-single") ? /* @__PURE__ */ X(ac, {
5659
+ }), /* @__PURE__ */ X(rc, { children: /* @__PURE__ */ Z(uc, { children: [a("dropdown-single") ? /* @__PURE__ */ X(oc, {
5665
5660
  onClick: () => o("dropdown-single", e),
5666
5661
  children: /* @__PURE__ */ Z("div", {
5667
5662
  className: "flex w-full flex-row items-center gap-2",
5668
5663
  children: [
5669
- /* @__PURE__ */ X(no, {
5670
- icon: Gs,
5664
+ /* @__PURE__ */ X(ro, {
5665
+ icon: Ks,
5671
5666
  color: "default"
5672
5667
  }),
5673
5668
  /* @__PURE__ */ X("span", {
5674
5669
  className: "flex-1",
5675
5670
  children: c("surveyFormBuilder.labels.singleSelection")
5676
5671
  }),
5677
- n === e && t === "dropdown-single" ? /* @__PURE__ */ X(no, {
5678
- icon: Gs,
5672
+ n === e && t === "dropdown-single" ? /* @__PURE__ */ X(ro, {
5673
+ icon: Ks,
5679
5674
  color: "default"
5680
5675
  }) : null
5681
5676
  ]
5682
5677
  })
5683
- }) : null, a("dropdown-multi") ? /* @__PURE__ */ X(ac, {
5678
+ }) : null, a("dropdown-multi") ? /* @__PURE__ */ X(oc, {
5684
5679
  onClick: () => o("dropdown-multi", e),
5685
5680
  children: /* @__PURE__ */ Z("div", {
5686
5681
  className: "flex w-full flex-row items-center gap-2",
5687
5682
  children: [
5688
- /* @__PURE__ */ X(no, {
5689
- icon: li,
5683
+ /* @__PURE__ */ X(ro, {
5684
+ icon: Wi,
5690
5685
  color: "default"
5691
5686
  }),
5692
5687
  /* @__PURE__ */ X("span", {
5693
5688
  className: "flex-1",
5694
5689
  children: c("surveyFormBuilder.labels.multiSelection")
5695
5690
  }),
5696
- n === e && t === "dropdown-multi" ? /* @__PURE__ */ X(no, {
5697
- icon: Gs,
5691
+ n === e && t === "dropdown-multi" ? /* @__PURE__ */ X(ro, {
5692
+ icon: Ks,
5698
5693
  color: "default"
5699
5694
  }) : null
5700
5695
  ]
5701
5696
  })
5702
5697
  }) : null] }) })] }, e);
5703
5698
  })] }) : null] }) })] });
5704
- }, Cf = ({ label: e, icon: t, onClick: n, critical: r }) => /* @__PURE__ */ X(ac, {
5699
+ }, Cf = ({ label: e, icon: t, onClick: n, critical: r }) => /* @__PURE__ */ X(oc, {
5705
5700
  onClick: n,
5706
5701
  className: B(r ? "text-f1-foreground-critical" : void 0),
5707
5702
  children: /* @__PURE__ */ Z("div", {
5708
5703
  className: "flex w-full flex-row items-center gap-2",
5709
- children: [/* @__PURE__ */ X(no, { icon: t }), /* @__PURE__ */ X("span", {
5704
+ children: [/* @__PURE__ */ X(ro, { icon: t }), /* @__PURE__ */ X("span", {
5710
5705
  className: "flex-1",
5711
5706
  children: e
5712
5707
  })]
5713
5708
  })
5714
5709
  }), wf = ({ showDuplicate: e, showDelete: t, withSeparator: n, onDuplicate: r, onDelete: i }) => {
5715
5710
  let { t: a } = z(), { labels: o } = cf();
5716
- return !e && !t ? null : /* @__PURE__ */ Z(Y, { children: [n ? /* @__PURE__ */ X(uc, {}) : null, /* @__PURE__ */ Z(oc, { children: [e ? /* @__PURE__ */ X(Cf, {
5711
+ return !e && !t ? null : /* @__PURE__ */ Z(Y, { children: [n ? /* @__PURE__ */ X(dc, {}) : null, /* @__PURE__ */ Z(sc, { children: [e ? /* @__PURE__ */ X(Cf, {
5717
5712
  label: o?.duplicateQuestion ?? a("surveyFormBuilder.actions.duplicateQuestion"),
5718
- icon: sa,
5713
+ icon: pr,
5719
5714
  onClick: r
5720
5715
  }) : null, t ? /* @__PURE__ */ X(Cf, {
5721
5716
  label: o?.deleteQuestion ?? a("surveyFormBuilder.actions.deleteQuestion"),
5722
- icon: zi,
5717
+ icon: Ei,
5723
5718
  onClick: i,
5724
5719
  critical: !0
5725
5720
  }) : null] })] });
@@ -5730,47 +5725,47 @@ function Tf({ open: e, setOpen: t, questionId: n, questionType: r, canDeleteQues
5730
5725
  questionType: r,
5731
5726
  canDelete: i
5732
5727
  }), w = (e) => a?.includes(e) ?? !1, T = !g && !w("required"), E = !!f && !w("multiSelect"), D = !!f && h && r === "dropdown-single" && !w("allowCreate"), O = !w("questionType"), k = !w("duplicate"), A = i && !w("delete");
5733
- return !T && !E && !D && !O && !k && !A ? null : /* @__PURE__ */ Z(ec, {
5728
+ return !T && !E && !D && !O && !k && !A ? null : /* @__PURE__ */ Z(tc, {
5734
5729
  open: e,
5735
5730
  onOpenChange: t,
5736
- children: [/* @__PURE__ */ X(cc, {
5731
+ children: [/* @__PURE__ */ X(lc, {
5737
5732
  tabIndex: -1,
5738
5733
  asChild: !0,
5739
5734
  children: /* @__PURE__ */ X(V, {
5740
- icon: qs,
5735
+ icon: Js,
5741
5736
  label: o("surveyFormBuilder.labels.actions"),
5742
5737
  size: "md",
5743
5738
  variant: "ghost",
5744
5739
  tooltip: !1,
5745
5740
  hideLabel: !0
5746
5741
  })
5747
- }), /* @__PURE__ */ Z(tc, {
5742
+ }), /* @__PURE__ */ Z(nc, {
5748
5743
  className: "w-80",
5749
5744
  align: "start",
5750
5745
  children: [
5751
- /* @__PURE__ */ X(rc, {
5746
+ /* @__PURE__ */ X(ic, {
5752
5747
  className: "p-4 pb-2 font-medium text-f1-foreground-secondary",
5753
5748
  children: c?.questionOptions ?? o("surveyFormBuilder.labels.questionOptions")
5754
5749
  }),
5755
- T ? /* @__PURE__ */ X(oc, { children: /* @__PURE__ */ X(xf, {
5750
+ T ? /* @__PURE__ */ X(sc, { children: /* @__PURE__ */ X(xf, {
5756
5751
  label: o("surveyFormBuilder.labels.required"),
5757
- icon: Di,
5752
+ icon: Nr,
5758
5753
  checked: !!l?.required,
5759
5754
  onChange: _
5760
5755
  }) }) : null,
5761
- E ? /* @__PURE__ */ X(oc, { children: /* @__PURE__ */ X(xf, {
5756
+ E ? /* @__PURE__ */ X(sc, { children: /* @__PURE__ */ X(xf, {
5762
5757
  label: o("surveyFormBuilder.labels.allowMultiSelection"),
5763
- icon: li,
5758
+ icon: Wi,
5764
5759
  checked: p,
5765
5760
  onChange: b
5766
5761
  }) }) : null,
5767
- D ? /* @__PURE__ */ X(oc, { children: /* @__PURE__ */ X(xf, {
5762
+ D ? /* @__PURE__ */ X(sc, { children: /* @__PURE__ */ X(xf, {
5768
5763
  label: o("surveyFormBuilder.labels.allowCreate"),
5769
- icon: Is,
5764
+ icon: ps,
5770
5765
  checked: m,
5771
5766
  onChange: x
5772
5767
  }) }) : null,
5773
- O ? /* @__PURE__ */ X(oc, { children: /* @__PURE__ */ X(Sf, {
5768
+ O ? /* @__PURE__ */ X(sc, { children: /* @__PURE__ */ X(Sf, {
5774
5769
  label: c?.questionType ?? o("surveyFormBuilder.labels.questionType"),
5775
5770
  value: r,
5776
5771
  currentDatasetKey: f,
@@ -5809,14 +5804,14 @@ var Ef = /((?:https?:\/\/|(?<![\w.@-])www\.)[^\s<>]+)/gi, Df = /^https?:\/\/\S/i
5809
5804
  function Pf({ text: e }) {
5810
5805
  let t = e.split(Ef);
5811
5806
  return /* @__PURE__ */ X(Y, { children: t.map((e, t) => {
5812
- if (t % 2 == 0) return /* @__PURE__ */ X(Sc, { children: e }, t);
5807
+ if (t % 2 == 0) return /* @__PURE__ */ X(Cc, { children: e }, t);
5813
5808
  let [n, r] = Mf(e), i = Nf(n);
5814
- return i ? /* @__PURE__ */ Z(Sc, { children: [/* @__PURE__ */ X(Bi, {
5809
+ return i ? /* @__PURE__ */ Z(Cc, { children: [/* @__PURE__ */ X(oi, {
5815
5810
  variant: "inline",
5816
5811
  href: i,
5817
5812
  target: "_blank",
5818
5813
  children: n
5819
- }), r] }, t) : /* @__PURE__ */ X(Sc, { children: e }, t);
5814
+ }), r] }, t) : /* @__PURE__ */ X(Cc, { children: e }, t);
5820
5815
  }) });
5821
5816
  }
5822
5817
  //#endregion
@@ -5903,7 +5898,7 @@ var Ff = ({ notice: e, className: t, children: n }) => {
5903
5898
  children: /* @__PURE__ */ X("span", {
5904
5899
  className: "inline-flex",
5905
5900
  children: /* @__PURE__ */ X(V, {
5906
- icon: Js,
5901
+ icon: Ys,
5907
5902
  label: A("surveyFormBuilder.labels.locked"),
5908
5903
  size: "md",
5909
5904
  variant: "ghost",
@@ -5914,7 +5909,7 @@ var Ff = ({ notice: e, className: t, children: n }) => {
5914
5909
  })
5915
5910
  })
5916
5911
  }) : /* @__PURE__ */ X(V, {
5917
- icon: Js,
5912
+ icon: Ys,
5918
5913
  label: A("surveyFormBuilder.labels.locked"),
5919
5914
  size: "md",
5920
5915
  variant: "ghost",
@@ -5960,36 +5955,36 @@ var Ff = ({ notice: e, className: t, children: n }) => {
5960
5955
  }) : null,
5961
5956
  !f && !p && !b ? /* @__PURE__ */ X("div", {
5962
5957
  className: B("absolute bottom-0 left-1/2 translate-x-[-50%] translate-y-[50%] bg-f1-background opacity-0 group-hover/question:opacity-100", T && "opacity-100"),
5963
- children: /* @__PURE__ */ Z(ec, {
5958
+ children: /* @__PURE__ */ Z(tc, {
5964
5959
  open: T,
5965
5960
  onOpenChange: E,
5966
- children: [/* @__PURE__ */ X(cc, {
5961
+ children: [/* @__PURE__ */ X(lc, {
5967
5962
  asChild: !0,
5968
5963
  children: /* @__PURE__ */ X(V, {
5969
- icon: po,
5964
+ icon: mo,
5970
5965
  label: M,
5971
5966
  size: "sm",
5972
5967
  variant: "outline",
5973
5968
  hideLabel: !0
5974
5969
  })
5975
- }), /* @__PURE__ */ Z(tc, {
5970
+ }), /* @__PURE__ */ Z(nc, {
5976
5971
  align: "center",
5977
5972
  className: "w-80",
5978
5973
  children: [
5979
- w ? null : /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(ac, {
5974
+ w ? null : /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(oc, {
5980
5975
  onClick: ee,
5981
5976
  children: /* @__PURE__ */ Z("div", {
5982
5977
  className: "flex w-full flex-row items-center gap-2",
5983
5978
  children: [/* @__PURE__ */ X(H, {
5984
- icon: jr,
5979
+ icon: Cr,
5985
5980
  color: "default"
5986
5981
  }), /* @__PURE__ */ X("span", {
5987
5982
  className: "flex-1 text-base font-medium",
5988
5983
  children: A("surveyFormBuilder.questionTypes.section")
5989
5984
  })]
5990
5985
  })
5991
- }), /* @__PURE__ */ X(uc, {})] }),
5992
- L.map((e) => /* @__PURE__ */ X(ac, {
5986
+ }), /* @__PURE__ */ X(dc, {})] }),
5987
+ L.map((e) => /* @__PURE__ */ X(oc, {
5993
5988
  onClick: () => I(e.questionType),
5994
5989
  children: /* @__PURE__ */ Z("div", {
5995
5990
  className: "flex w-full flex-row items-center gap-2",
@@ -6002,9 +5997,9 @@ var Ff = ({ notice: e, className: t, children: n }) => {
6002
5997
  })]
6003
5998
  })
6004
5999
  }, e.questionType)),
6005
- ne.length > 0 ? /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(uc, {}), ne.map((e) => {
6000
+ ne.length > 0 ? /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(dc, {}), ne.map((e) => {
6006
6001
  let t = te.find((t) => t.datasetKey === e && t.questionType === "dropdown-single");
6007
- return /* @__PURE__ */ Z($s, { children: [/* @__PURE__ */ X(Zs, {
6002
+ return /* @__PURE__ */ Z(ec, { children: [/* @__PURE__ */ X(Qs, {
6008
6003
  className: "mx-1 px-2 data-[state=open]:rounded-sm data-[state=closed]:bg-transparent data-[state=open]:bg-f1-background-hover",
6009
6004
  children: /* @__PURE__ */ Z("div", {
6010
6005
  className: "flex w-full flex-row items-center gap-2",
@@ -6016,24 +6011,24 @@ var Ff = ({ notice: e, className: t, children: n }) => {
6016
6011
  children: t?.label ?? e
6017
6012
  })]
6018
6013
  })
6019
- }), /* @__PURE__ */ X(nc, { children: /* @__PURE__ */ Z(lc, { children: [g("dropdown-single") ? /* @__PURE__ */ X(ac, {
6014
+ }), /* @__PURE__ */ X(rc, { children: /* @__PURE__ */ Z(uc, { children: [g("dropdown-single") ? /* @__PURE__ */ X(oc, {
6020
6015
  onClick: () => I("dropdown-single", e),
6021
6016
  children: /* @__PURE__ */ Z("div", {
6022
6017
  className: "flex w-full flex-row items-center gap-2",
6023
6018
  children: [/* @__PURE__ */ X(H, {
6024
- icon: Gs,
6019
+ icon: Ks,
6025
6020
  color: "default"
6026
6021
  }), /* @__PURE__ */ X("span", {
6027
6022
  className: "flex-1",
6028
6023
  children: A("surveyFormBuilder.labels.singleSelection")
6029
6024
  })]
6030
6025
  })
6031
- }) : null, g("dropdown-multi") ? /* @__PURE__ */ X(ac, {
6026
+ }) : null, g("dropdown-multi") ? /* @__PURE__ */ X(oc, {
6032
6027
  onClick: () => I("dropdown-multi", e),
6033
6028
  children: /* @__PURE__ */ Z("div", {
6034
6029
  className: "flex w-full flex-row items-center gap-2",
6035
6030
  children: [/* @__PURE__ */ X(H, {
6036
- icon: li,
6031
+ icon: Wi,
6037
6032
  color: "default"
6038
6033
  }), /* @__PURE__ */ X("span", {
6039
6034
  className: "flex-1",
@@ -6061,7 +6056,7 @@ var Rf = ({ value: e, label: t, ...n }) => {
6061
6056
  let { onQuestionChange: r, answering: i, disabled: a, getSectionContainingQuestion: o } = cf(), s = Lf(n), { t: c } = z();
6062
6057
  if (i) return /* @__PURE__ */ X(If, {
6063
6058
  ...n,
6064
- children: /* @__PURE__ */ X(ps, {
6059
+ children: /* @__PURE__ */ X(_s, {
6065
6060
  id: n.id,
6066
6061
  checked: e ?? !1,
6067
6062
  onCheckedChange: (e) => {
@@ -6081,7 +6076,7 @@ var Rf = ({ value: e, label: t, ...n }) => {
6081
6076
  ...n,
6082
6077
  children: /* @__PURE__ */ Z("div", {
6083
6078
  className: "flex items-start",
6084
- children: [/* @__PURE__ */ X(ps, {
6079
+ children: [/* @__PURE__ */ X(_s, {
6085
6080
  checked: !1,
6086
6081
  disabled: !0,
6087
6082
  hideLabel: !0,
@@ -6267,8 +6262,8 @@ var Rf = ({ value: e, label: t, ...n }) => {
6267
6262
  required: t.required,
6268
6263
  maxDecimals: 0,
6269
6264
  placeholder: s,
6270
- icon: Vi
6271
- }) : /* @__PURE__ */ X(Qi, {
6265
+ icon: si
6266
+ }) : /* @__PURE__ */ X(Xi, {
6272
6267
  type: "text",
6273
6268
  size: "md",
6274
6269
  value: s,
@@ -6276,7 +6271,7 @@ var Rf = ({ value: e, label: t, ...n }) => {
6276
6271
  disabled: !0,
6277
6272
  label: n("surveyFormBuilder.answer.label"),
6278
6273
  hideLabel: !0,
6279
- icon: Vi
6274
+ icon: si
6280
6275
  })
6281
6276
  });
6282
6277
  }, Kf = ({ option: e, selected: n, onClick: r, onChangeLabel: i, disabled: a, isEmojiMode: o = !1 }) => {
@@ -6289,10 +6284,10 @@ var Rf = ({ value: e, label: t, ...n }) => {
6289
6284
  onClick: () => {
6290
6285
  a || r(s);
6291
6286
  },
6292
- children: o ? /* @__PURE__ */ Z(sc, {
6287
+ children: o ? /* @__PURE__ */ Z(cc, {
6293
6288
  open: !a && l,
6294
6289
  onOpenChange: a ? void 0 : u,
6295
- children: [/* @__PURE__ */ X(Qs, {
6290
+ children: [/* @__PURE__ */ X($s, {
6296
6291
  asChild: !0,
6297
6292
  children: /* @__PURE__ */ X(V, {
6298
6293
  emoji: c,
@@ -6302,7 +6297,7 @@ var Rf = ({ value: e, label: t, ...n }) => {
6302
6297
  withoutDisabledAppearance: !0,
6303
6298
  hideLabel: !0
6304
6299
  })
6305
- }), /* @__PURE__ */ X(ic, {
6300
+ }), /* @__PURE__ */ X(ac, {
6306
6301
  side: "bottom",
6307
6302
  align: "center",
6308
6303
  className: "w-fit border-none bg-transparent p-2 shadow-none",
@@ -6433,7 +6428,7 @@ var Zf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6433
6428
  children: [
6434
6429
  /* @__PURE__ */ X("div", {
6435
6430
  className: B("block", E ? "group-hover:hidden" : "cursor-default", p && "cursor-grabbing [&_button]:cursor-grabbing"),
6436
- children: u === "multi-select" ? /* @__PURE__ */ X(ps, {
6431
+ children: u === "multi-select" ? /* @__PURE__ */ X(_s, {
6437
6432
  title: f,
6438
6433
  checked: o ? !!s : !1,
6439
6434
  onCheckedChange: y,
@@ -6449,8 +6444,8 @@ var Zf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6449
6444
  className: B("hidden scale-75 cursor-grab", D && "active:cursor-grabbing", E && "group-hover:block", p && "cursor-grabbing", !D && "cursor-not-allowed"),
6450
6445
  children: /* @__PURE__ */ X("div", {
6451
6446
  className: B("flex aspect-square scale-90 items-center justify-center", u === "multi-select" ? "w-6" : "w-5"),
6452
- children: /* @__PURE__ */ X(no, {
6453
- icon: kr,
6447
+ children: /* @__PURE__ */ X(ro, {
6448
+ icon: xr,
6454
6449
  size: "sm"
6455
6450
  })
6456
6451
  })
@@ -6473,13 +6468,13 @@ var Zf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6473
6468
  children: [/* @__PURE__ */ X(V, {
6474
6469
  label: _("surveyFormBuilder.selectQuestion.markAsCorrect"),
6475
6470
  variant: "ghost",
6476
- icon: c ? Xi : gi,
6471
+ icon: c ? ii : Ii,
6477
6472
  onClick: x,
6478
6473
  hideLabel: !0
6479
6474
  }), /* @__PURE__ */ X(V, {
6480
6475
  label: _("surveyFormBuilder.selectQuestion.remove"),
6481
6476
  variant: "ghost",
6482
- icon: zi,
6477
+ icon: Ei,
6483
6478
  hideLabel: !0,
6484
6479
  onClick: S
6485
6480
  })]
@@ -6608,7 +6603,7 @@ var Zf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6608
6603
  children: /* @__PURE__ */ X(V, {
6609
6604
  label: c("surveyFormBuilder.selectQuestion.addOption"),
6610
6605
  variant: "ghost",
6611
- icon: po,
6606
+ icon: mo,
6612
6607
  onClick: p
6613
6608
  })
6614
6609
  }) : null]
@@ -6678,7 +6673,7 @@ var Zf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6678
6673
  /* @__PURE__ */ X("div", { className: "h-px flex-1 bg-f1-border-secondary" })
6679
6674
  ]
6680
6675
  });
6681
- }, np = Ec(({ item: e, section: t, showEndOfSection: n, className: r }) => {
6676
+ }, np = Dc(({ item: e, section: t, showEndOfSection: n, className: r }) => {
6682
6677
  let { isDragging: i, setIsDragging: a, setDraggedItemId: o, draggedItemId: s } = df(), c = tn(), { disabled: l, answering: u } = cf(), d = !!t && s === t.id, f = () => {
6683
6678
  a(!0), o(e.question.id);
6684
6679
  }, p = () => {
@@ -6706,14 +6701,14 @@ var Zf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6706
6701
  h && c.start(e);
6707
6702
  },
6708
6703
  children: /* @__PURE__ */ X(H, {
6709
- icon: kr,
6704
+ icon: xr,
6710
6705
  size: "sm"
6711
6706
  })
6712
6707
  }) : null, /* @__PURE__ */ X(ep, { ...e.question })]
6713
6708
  })
6714
6709
  }), n ? /* @__PURE__ */ X(tp, {}) : null]
6715
6710
  });
6716
- }, (e, t) => e.showEndOfSection === t.showEndOfSection && e.className === t.className && (0, xl.default)(e.section, t.section) && (0, xl.default)(e.item, t.item)), rp = ({ question: e }) => {
6711
+ }, (e, t) => e.showEndOfSection === t.showEndOfSection && e.className === t.className && (0, Sl.default)(e.section, t.section) && (0, Sl.default)(e.item, t.item)), rp = ({ question: e }) => {
6717
6712
  let { isDragging: t, setIsDragging: n, setDraggedItemId: r } = df(), i = tn(), { disabled: a, answering: o, getSectionContainingQuestion: s } = cf(), c = s(e.id), l = () => {
6718
6713
  n(!0), r(e.id);
6719
6714
  }, u = () => {
@@ -6736,7 +6731,7 @@ var Zf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6736
6731
  f && i.start(e);
6737
6732
  },
6738
6733
  children: /* @__PURE__ */ X(H, {
6739
- icon: kr,
6734
+ icon: xr,
6740
6735
  size: "sm"
6741
6736
  })
6742
6737
  }) : null, /* @__PURE__ */ X(ep, { ...e })]
@@ -6768,7 +6763,7 @@ var Zf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6768
6763
  });
6769
6764
  }, x = [{
6770
6765
  label: h("surveyFormBuilder.actions.duplicateSection"),
6771
- icon: sa,
6766
+ icon: pr,
6772
6767
  onClick: () => {
6773
6768
  d?.({
6774
6769
  elementId: e,
@@ -6777,7 +6772,7 @@ var Zf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6777
6772
  }
6778
6773
  }, {
6779
6774
  label: h("surveyFormBuilder.actions.deleteSection"),
6780
- icon: zi,
6775
+ icon: Ei,
6781
6776
  onClick: () => {
6782
6777
  u(e);
6783
6778
  },
@@ -6786,9 +6781,9 @@ var Zf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6786
6781
  G(() => {
6787
6782
  T.current?.focus({ preventScroll: !0 });
6788
6783
  }, []);
6789
- let E = r?.description ?? h("surveyFormBuilder.labels.lockedSectionNotice"), D = a && !l ? /* @__PURE__ */ X(xs, {
6784
+ let E = r?.description ?? h("surveyFormBuilder.labels.lockedSectionNotice"), D = a && !l ? /* @__PURE__ */ X(Us, {
6790
6785
  text: h("surveyFormBuilder.labels.locked"),
6791
- icon: Js,
6786
+ icon: Ys,
6792
6787
  className: "bg-f1-background"
6793
6788
  }) : null;
6794
6789
  return /* @__PURE__ */ Z("div", {
@@ -6822,14 +6817,14 @@ var Zf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6822
6817
  }) : null,
6823
6818
  !c && !l && !a ? /* @__PURE__ */ X("div", {
6824
6819
  className: B("opacity-0 group-hover/section:opacity-100", p && "opacity-100"),
6825
- children: /* @__PURE__ */ X(Br, {
6820
+ children: /* @__PURE__ */ X(Hr, {
6826
6821
  items: x,
6827
- icon: qs,
6822
+ icon: Js,
6828
6823
  open: p,
6829
6824
  onOpenChange: m,
6830
6825
  align: "start",
6831
6826
  children: /* @__PURE__ */ X(V, {
6832
- icon: qs,
6827
+ icon: Js,
6833
6828
  label: h("surveyFormBuilder.actions.actions"),
6834
6829
  size: "md",
6835
6830
  variant: "ghost",
@@ -6871,7 +6866,7 @@ var Zf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6871
6866
  ]
6872
6867
  })] })]
6873
6868
  });
6874
- }, ap = Ec(({ item: e, className: t }) => {
6869
+ }, ap = Dc(({ item: e, className: t }) => {
6875
6870
  let { isDragging: n, setIsDragging: r, setDraggedItemId: i, draggedItemId: a } = df(), o = tn(), { disabled: s, answering: c } = cf(), l = a === e.section.id;
6876
6871
  return /* @__PURE__ */ X(sn, {
6877
6872
  value: e.id,
@@ -6901,7 +6896,7 @@ var Zf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6901
6896
  o.start(e);
6902
6897
  },
6903
6898
  children: /* @__PURE__ */ X(H, {
6904
- icon: kr,
6899
+ icon: xr,
6905
6900
  size: "sm"
6906
6901
  })
6907
6902
  }) : null, /* @__PURE__ */ X(ip, {
@@ -6915,7 +6910,7 @@ var Zf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6915
6910
  })
6916
6911
  })
6917
6912
  });
6918
- }, (e, t) => e.className === t.className && (0, xl.default)(e.item, t.item)), op = (e) => pf[e], sp = (e) => {
6913
+ }, (e, t) => e.className === t.className && (0, Sl.default)(e.item, t.item)), op = (e) => pf[e], sp = (e) => {
6919
6914
  document.getElementById(e)?.scrollIntoView({
6920
6915
  behavior: "smooth",
6921
6916
  block: "start"
@@ -6931,7 +6926,7 @@ var Zf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6931
6926
  p || x.push({
6932
6927
  type: "toggle",
6933
6928
  label: l,
6934
- icon: Di,
6929
+ icon: Nr,
6935
6930
  checked: !!r?.required,
6936
6931
  onCheckedChange: m
6937
6932
  });
@@ -6971,12 +6966,12 @@ var Zf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6971
6966
  selectedLabel: s === e ? t === "dropdown-multi" ? f : d : void 0,
6972
6967
  children: [{
6973
6968
  label: d,
6974
- icon: Gs,
6969
+ icon: Ks,
6975
6970
  onClick: () => h("dropdown-single", e),
6976
6971
  selected: s === e && t === "dropdown-single"
6977
6972
  }, {
6978
6973
  label: f,
6979
- icon: li,
6974
+ icon: Wi,
6980
6975
  onClick: () => h("dropdown-multi", e),
6981
6976
  selected: s === e && t === "dropdown-multi"
6982
6977
  }]
@@ -6990,16 +6985,16 @@ var Zf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6990
6985
  return x.push({
6991
6986
  type: "submenu",
6992
6987
  label: u,
6993
- icon: Ai,
6988
+ icon: Di,
6994
6989
  selectedLabel: E,
6995
6990
  children: w
6996
6991
  }), x.push({ type: "separator" }), x.push({
6997
6992
  label: i,
6998
- icon: sa,
6993
+ icon: pr,
6999
6994
  onClick: y
7000
6995
  }), n && x.push({
7001
6996
  label: a,
7002
- icon: zi,
6997
+ icon: Ei,
7003
6998
  onClick: b,
7004
6999
  critical: !0
7005
7000
  }), x;
@@ -7020,12 +7015,12 @@ var Zf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
7020
7015
  return {
7021
7016
  id: i,
7022
7017
  label: t.title || n,
7023
- icon: jr,
7018
+ icon: Cr,
7024
7019
  onClick: y,
7025
7020
  ...!h && !g && !t.locked && { otherActions: [
7026
7021
  {
7027
7022
  label: o,
7028
- icon: sa,
7023
+ icon: pr,
7029
7024
  onClick: () => m?.({
7030
7025
  elementId: t.id,
7031
7026
  type: "section"
@@ -7034,7 +7029,7 @@ var Zf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
7034
7029
  { type: "separator" },
7035
7030
  {
7036
7031
  label: s,
7037
- icon: zi,
7032
+ icon: Ei,
7038
7033
  onClick: () => p(t.id),
7039
7034
  critical: !0
7040
7035
  }
@@ -7101,7 +7096,7 @@ function dp(e, t) {
7101
7096
  return i;
7102
7097
  }
7103
7098
  var fp = ({ elements: e, onChange: t, answering: n }) => {
7104
- let { t: r } = z(), { disabled: i, labels: a } = cf(), { portalContainer: o } = Dc(Ho), s = cp(e, {
7099
+ let { t: r } = z(), { disabled: i, labels: a } = cf(), { portalContainer: o } = Oc(zo), s = cp(e, {
7105
7100
  untitledSectionLabel: r("surveyFormBuilder.labels.sectionTitlePlaceholder"),
7106
7101
  untitledQuestionLabel: r("surveyFormBuilder.labels.titlePlaceholder"),
7107
7102
  duplicateQuestionLabel: a?.duplicateQuestion ?? r("surveyFormBuilder.actions.duplicateQuestion"),
@@ -7608,7 +7603,7 @@ function Np({ value: e, onChange: t, onBlur: n, config: r }) {
7608
7603
  s || a === "multi-select" && e.target.closest("input") || p(t.value);
7609
7604
  },
7610
7605
  children: [
7611
- a === "multi-select" ? /* @__PURE__ */ X(ps, {
7606
+ a === "multi-select" ? /* @__PURE__ */ X(_s, {
7612
7607
  title: t.label,
7613
7608
  checked: !!n,
7614
7609
  onCheckedChange: () => f(t.value),
@@ -7621,7 +7616,7 @@ function Np({ value: e, onChange: t, onBlur: n, config: r }) {
7621
7616
  u ? /* @__PURE__ */ X("div", {
7622
7617
  className: "min-h-8 p-1",
7623
7618
  children: /* @__PURE__ */ X(H, {
7624
- icon: t.correct ? gi : Xi,
7619
+ icon: t.correct ? Ii : ii,
7625
7620
  color: t.correct ? "positive" : "critical",
7626
7621
  "aria-hidden": !0
7627
7622
  })
@@ -7643,7 +7638,7 @@ var Pp = /^(https?:\/\/)?[\w.-]+\.[a-z]{2,}(:\d+)?(\/[^\s]*)?$/i, Fp = () => ({
7643
7638
  status: "idle"
7644
7639
  });
7645
7640
  function Ip(e, t) {
7646
- return Ei().optional().superRefine((n, r) => {
7641
+ return Ti().optional().superRefine((n, r) => {
7647
7642
  e && (!n || n.trim() === "") && r.addIssue({
7648
7643
  code: "custom",
7649
7644
  message: t("forms.validation.required")
@@ -7651,7 +7646,7 @@ function Ip(e, t) {
7651
7646
  });
7652
7647
  }
7653
7648
  function Lp(e, t) {
7654
- return Ei().optional().superRefine((n, r) => {
7649
+ return Ti().optional().superRefine((n, r) => {
7655
7650
  e && (!n || n.trim() === "") ? r.addIssue({
7656
7651
  code: "custom",
7657
7652
  message: t("forms.validation.required")
@@ -7662,7 +7657,7 @@ function Lp(e, t) {
7662
7657
  });
7663
7658
  }
7664
7659
  function Rp(e, t) {
7665
- return Ri().optional().superRefine((n, r) => {
7660
+ return zi().optional().superRefine((n, r) => {
7666
7661
  e && n == null && r.addIssue({
7667
7662
  code: "custom",
7668
7663
  message: t("forms.validation.required")
@@ -7670,7 +7665,7 @@ function Rp(e, t) {
7670
7665
  });
7671
7666
  }
7672
7667
  function zp(e, t) {
7673
- return sr(Ei()).optional().superRefine((n, r) => {
7668
+ return sr(Ti()).optional().superRefine((n, r) => {
7674
7669
  e && (!n || n.length === 0) && r.addIssue({
7675
7670
  code: "custom",
7676
7671
  message: t("forms.validation.required")
@@ -7678,7 +7673,7 @@ function zp(e, t) {
7678
7673
  });
7679
7674
  }
7680
7675
  function Bp(e, t) {
7681
- return ra().optional().superRefine((n, r) => {
7676
+ return ta().optional().superRefine((n, r) => {
7682
7677
  e && !n && r.addIssue({
7683
7678
  code: "custom",
7684
7679
  message: t("forms.validation.required")
@@ -7687,7 +7682,7 @@ function Bp(e, t) {
7687
7682
  }
7688
7683
  var Vp = zp;
7689
7684
  function Hp(e, t) {
7690
- return fi().optional().superRefine((n, r) => {
7685
+ return mi().optional().superRefine((n, r) => {
7691
7686
  e && !n && r.addIssue({
7692
7687
  code: "custom",
7693
7688
  message: t("forms.validation.required")
@@ -7740,7 +7735,7 @@ function qp({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
7740
7735
  placeholder: t("surveyFormBuilder.answer.textPlaceholder"),
7741
7736
  disabled: i
7742
7737
  };
7743
- return ni(Ip(!!e.required, t), {
7738
+ return ai(Ip(!!e.required, t), {
7744
7739
  ...l,
7745
7740
  fieldType: "custom",
7746
7741
  render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(If, {
@@ -7768,7 +7763,7 @@ function qp({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
7768
7763
  rows: 4,
7769
7764
  disabled: i
7770
7765
  };
7771
- return ni(Ip(!!e.required, t), {
7766
+ return ai(Ip(!!e.required, t), {
7772
7767
  ...l,
7773
7768
  fieldType: "custom",
7774
7769
  render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(If, {
@@ -7795,7 +7790,7 @@ function qp({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
7795
7790
  placeholder: t("surveyFormBuilder.answer.numericPlaceholder"),
7796
7791
  disabled: i
7797
7792
  };
7798
- return ni(Rp(!!e.required, t), {
7793
+ return ai(Rp(!!e.required, t), {
7799
7794
  ...l,
7800
7795
  fieldType: "custom",
7801
7796
  render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(If, {
@@ -7823,7 +7818,7 @@ function qp({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
7823
7818
  placeholder: t("surveyFormBuilder.answer.linkPlaceholder"),
7824
7819
  disabled: i
7825
7820
  };
7826
- return ni(Lp(!!e.required, t), {
7821
+ return ai(Lp(!!e.required, t), {
7827
7822
  ...l,
7828
7823
  fieldType: "custom",
7829
7824
  render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(If, {
@@ -7850,7 +7845,7 @@ function qp({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
7850
7845
  clearable: !e.required,
7851
7846
  disabled: i
7852
7847
  };
7853
- return ni(Bp(!!e.required, t), {
7848
+ return ai(Bp(!!e.required, t), {
7854
7849
  ...l,
7855
7850
  fieldType: "custom",
7856
7851
  render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(If, {
@@ -7886,7 +7881,7 @@ function qp({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
7886
7881
  showSearchBox: r,
7887
7882
  searchBoxPlaceholder: e.searchBoxPlaceholder
7888
7883
  };
7889
- return ni(Ip(!!e.required, t), {
7884
+ return ai(Ip(!!e.required, t), {
7890
7885
  ...l,
7891
7886
  fieldType: "custom",
7892
7887
  render: ({ value: t, onChange: r, onBlur: i, error: o }) => {
@@ -7935,7 +7930,7 @@ function qp({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
7935
7930
  showSearchBox: r,
7936
7931
  searchBoxPlaceholder: e.searchBoxPlaceholder
7937
7932
  };
7938
- return ni(zp(!!e.required, t), {
7933
+ return ai(zp(!!e.required, t), {
7939
7934
  ...l,
7940
7935
  fieldType: "custom",
7941
7936
  render: ({ value: e, onChange: t, onBlur: n, error: r }) => /* @__PURE__ */ X(If, {
@@ -7962,7 +7957,7 @@ function qp({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
7962
7957
  disabled: i,
7963
7958
  showAnswerValidation: r
7964
7959
  };
7965
- return ni(Ip(!!e.required, t), {
7960
+ return ai(Ip(!!e.required, t), {
7966
7961
  ...l,
7967
7962
  fieldType: "custom",
7968
7963
  fieldConfig: n,
@@ -7985,7 +7980,7 @@ function qp({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
7985
7980
  disabled: i,
7986
7981
  showAnswerValidation: r
7987
7982
  };
7988
- return ni(zp(!!e.required, t), {
7983
+ return ai(zp(!!e.required, t), {
7989
7984
  ...l,
7990
7985
  fieldType: "custom",
7991
7986
  fieldConfig: n,
@@ -8007,7 +8002,7 @@ function qp({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
8007
8002
  maxLabel: n.maxLabel,
8008
8003
  disabled: i
8009
8004
  };
8010
- return ni(Rp(!!e.required, t), {
8005
+ return ai(Rp(!!e.required, t), {
8011
8006
  ...l,
8012
8007
  fieldType: "custom",
8013
8008
  fieldConfig: r,
@@ -8033,7 +8028,7 @@ function qp({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
8033
8028
  useUpload: r ?? Fp,
8034
8029
  disabled: i || !r
8035
8030
  };
8036
- return ni(Vp(!!e.required, t), {
8031
+ return ai(Vp(!!e.required, t), {
8037
8032
  ...l,
8038
8033
  fieldType: "custom",
8039
8034
  render: ({ value: e, onChange: t, onBlur: n, error: r }) => /* @__PURE__ */ X(If, {
@@ -8059,7 +8054,7 @@ function qp({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
8059
8054
  label: n.label || c,
8060
8055
  disabled: i
8061
8056
  };
8062
- return ni(Hp(!!e.required, t), {
8057
+ return ai(Hp(!!e.required, t), {
8063
8058
  ...l,
8064
8059
  fieldType: "custom",
8065
8060
  render: ({ value: e, onChange: t, onBlur: n, error: i }) => /* @__PURE__ */ X(If, {
@@ -8078,7 +8073,7 @@ function qp({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
8078
8073
  })
8079
8074
  });
8080
8075
  }
8081
- default: return ni(ti(), {
8076
+ default: return ai(ri(), {
8082
8077
  ...l,
8083
8078
  fieldType: "custom",
8084
8079
  render: () => null
@@ -8125,7 +8120,7 @@ function Zp({ elements: e, mode: t, t: n, defaultValues: r, currentQuestionId: i
8125
8120
  }), f[t] = a?.[t] ?? Up(e, r);
8126
8121
  }
8127
8122
  return {
8128
- schema: Yi(d),
8123
+ schema: qi(d),
8129
8124
  defaultValues: f,
8130
8125
  flatQuestions: m,
8131
8126
  sections: p
@@ -8266,12 +8261,12 @@ function im({ elements: e, onSubmit: t, mode: n, title: r, description: i, resou
8266
8261
  ]);
8267
8262
  let Te = u && !p ? [{
8268
8263
  label: b(C ? "surveyAnsweringForm.actions.collapse" : "surveyAnsweringForm.actions.expand"),
8269
- icon: C ? mi : ua,
8264
+ icon: C ? Pi : la,
8270
8265
  onClick: () => w((e) => !e)
8271
8266
  }] : void 0, Ee = ee ? p || ne ? void 0 : ie ? L && !I.isLastStep ? {
8272
8267
  label: b("surveyAnsweringForm.actions.next"),
8273
8268
  onClick: I.goToNext,
8274
- icon: ca
8269
+ icon: mr
8275
8270
  } : {
8276
8271
  label: b("surveyAnsweringForm.actions.submit"),
8277
8272
  onClick: Qp,
@@ -8279,7 +8274,7 @@ function im({ elements: e, onSubmit: t, mode: n, title: r, description: i, resou
8279
8274
  } : L && !I.isLastStep ? {
8280
8275
  label: b("surveyAnsweringForm.actions.next"),
8281
8276
  onClick: be,
8282
- icon: ca
8277
+ icon: mr
8283
8278
  } : {
8284
8279
  label: b("surveyAnsweringForm.actions.submit"),
8285
8280
  onClick: be,
@@ -8288,9 +8283,9 @@ function im({ elements: e, onSubmit: t, mode: n, title: r, description: i, resou
8288
8283
  } : void 0, De = ee ? p || ne ? void 0 : L && !I.isFirstStep ? {
8289
8284
  label: b("surveyAnsweringForm.actions.previous"),
8290
8285
  onClick: xe,
8291
- icon: qo
8286
+ icon: Qo
8292
8287
  } : void 0 : void 0, Oe = n === "all-questions" && ee && !p, ke = L && ee && !p, Ae = L && !!I.currentQuestion?.sectionTitle && !p, je = pe === "center" || pe === "fullscreen";
8293
- return /* @__PURE__ */ X(Zr, {
8288
+ return /* @__PURE__ */ X($r, {
8294
8289
  isOpen: o,
8295
8290
  onClose: Se,
8296
8291
  title: r,
@@ -8316,7 +8311,7 @@ function im({ elements: e, onSubmit: t, mode: n, title: r, description: i, resou
8316
8311
  }) : null,
8317
8312
  ke ? /* @__PURE__ */ X("div", {
8318
8313
  className: "absolute left-0 right-0 top-0 [&>div>div>div]:h-1 [&>div>div>div]:rounded-none",
8319
- children: /* @__PURE__ */ X($o, {
8314
+ children: /* @__PURE__ */ X(jo, {
8320
8315
  label: "Value",
8321
8316
  value: I.progress,
8322
8317
  hideLabel: !0
@@ -8333,7 +8328,7 @@ function im({ elements: e, onSubmit: t, mode: n, title: r, description: i, resou
8333
8328
  ...a
8334
8329
  })
8335
8330
  }),
8336
- p ? X(n === "stepped" ? Dp : Ep, {}) : ee ? null : /* @__PURE__ */ X(uo, {
8331
+ p ? X(n === "stepped" ? Dp : Ep, {}) : ee ? null : /* @__PURE__ */ X(fo, {
8337
8332
  display: "flex",
8338
8333
  flexDirection: "column",
8339
8334
  height: "full",
@@ -8412,7 +8407,7 @@ function am({ elements: e, title: t, description: n, resourceHeader: r, defaultV
8412
8407
  hideActionBar: !0
8413
8408
  },
8414
8409
  sections: h
8415
- }) : /* @__PURE__ */ X(uo, {
8410
+ }) : /* @__PURE__ */ X(fo, {
8416
8411
  display: "flex",
8417
8412
  flexDirection: "column",
8418
8413
  justifyContent: "center",
@@ -8433,7 +8428,7 @@ var om = ["step", "close"];
8433
8428
  //#endregion
8434
8429
  //#region src/domains/talent/surveys/surveys/SurveySampleQuestion/SurveySampleQuestion.tsx
8435
8430
  function sm(e) {
8436
- return /* @__PURE__ */ Z(uo, {
8431
+ return /* @__PURE__ */ Z(fo, {
8437
8432
  display: "flex",
8438
8433
  flexDirection: "column",
8439
8434
  gap: "lg",
@@ -8451,21 +8446,21 @@ function sm(e) {
8451
8446
  });
8452
8447
  }
8453
8448
  function cm({ steps: e, minLabel: t, maxLabel: n }) {
8454
- return /* @__PURE__ */ Z(uo, {
8449
+ return /* @__PURE__ */ Z(fo, {
8455
8450
  display: "flex",
8456
8451
  flexDirection: "column",
8457
8452
  gap: "sm",
8458
- children: [/* @__PURE__ */ X(uo, {
8453
+ children: [/* @__PURE__ */ X(fo, {
8459
8454
  display: "grid",
8460
8455
  columns: String(e),
8461
8456
  gap: "sm",
8462
- children: Array.from({ length: e }).map((e, t) => /* @__PURE__ */ X(uo, {
8457
+ children: Array.from({ length: e }).map((e, t) => /* @__PURE__ */ X(fo, {
8463
8458
  height: "8",
8464
8459
  border: "default",
8465
8460
  borderRadius: "md",
8466
8461
  background: "primary"
8467
8462
  }, t))
8468
- }), t || n ? /* @__PURE__ */ Z(uo, {
8463
+ }), t || n ? /* @__PURE__ */ Z(fo, {
8469
8464
  display: "flex",
8470
8465
  justifyContent: "between",
8471
8466
  alignItems: "center",
@@ -8480,11 +8475,11 @@ function cm({ steps: e, minLabel: t, maxLabel: n }) {
8480
8475
  });
8481
8476
  }
8482
8477
  function lm({ options: e }) {
8483
- return /* @__PURE__ */ X(uo, {
8478
+ return /* @__PURE__ */ X(fo, {
8484
8479
  display: "flex",
8485
8480
  flexDirection: "column",
8486
8481
  gap: "md",
8487
- children: e.map((e) => /* @__PURE__ */ Z(uo, {
8482
+ children: e.map((e) => /* @__PURE__ */ Z(fo, {
8488
8483
  display: "flex",
8489
8484
  alignItems: "center",
8490
8485
  gap: "md",
@@ -8493,7 +8488,7 @@ function lm({ options: e }) {
8493
8488
  border: "default",
8494
8489
  borderRadius: "md",
8495
8490
  background: "primary",
8496
- children: [/* @__PURE__ */ X(uo, {
8491
+ children: [/* @__PURE__ */ X(fo, {
8497
8492
  shrink: !1,
8498
8493
  width: "4",
8499
8494
  height: "4",
@@ -8514,11 +8509,11 @@ var um = ({ benefits: e }) => /* @__PURE__ */ X("div", {
8514
8509
  }), dm = ({ text: e }) => /* @__PURE__ */ Z("div", {
8515
8510
  className: "flex flex-row items-start gap-2",
8516
8511
  children: [/* @__PURE__ */ X(H, {
8517
- icon: Ks,
8512
+ icon: qs,
8518
8513
  size: "md",
8519
8514
  className: "text-f1-icon-positive"
8520
8515
  }), /* @__PURE__ */ X("span", { children: e })]
8521
- }), fm = wc(({ title: e, image: t, benefits: n, actions: r, withShadow: i = !0, module: a, moduleName: o, tag: s, promoTag: c }, l) => /* @__PURE__ */ Z("div", {
8516
+ }), fm = Tc(({ title: e, image: t, benefits: n, actions: r, withShadow: i = !0, module: a, moduleName: o, tag: s, promoTag: c }, l) => /* @__PURE__ */ Z("div", {
8522
8517
  ref: l,
8523
8518
  className: B("bg-white flex flex-row rounded-xl border border-f1-border-secondary", i && "shadow-md"),
8524
8519
  children: [/* @__PURE__ */ X("div", {
@@ -8537,17 +8532,17 @@ var um = ({ benefits: e }) => /* @__PURE__ */ X("div", {
8537
8532
  children: [
8538
8533
  /* @__PURE__ */ Z("div", {
8539
8534
  className: "flex flex-row items-center gap-2",
8540
- children: [a ? /* @__PURE__ */ X(xo, { module: a }) : null, o ? /* @__PURE__ */ X("p", {
8535
+ children: [a ? /* @__PURE__ */ X(So, { module: a }) : null, o ? /* @__PURE__ */ X("p", {
8541
8536
  className: "text-base font-medium text-f1-foreground",
8542
8537
  children: o
8543
8538
  }) : null]
8544
8539
  }),
8545
8540
  s || c ? /* @__PURE__ */ Z("div", {
8546
8541
  className: "flex justify-start gap-2",
8547
- children: [s ? /* @__PURE__ */ X(xs, {
8542
+ children: [s ? /* @__PURE__ */ X(Us, {
8548
8543
  icon: s.icon,
8549
8544
  text: s.label
8550
- }) : null, c ? /* @__PURE__ */ X(Fo, {
8545
+ }) : null, c ? /* @__PURE__ */ X(Lo, {
8551
8546
  variant: c.variant || "positive",
8552
8547
  text: c.label
8553
8548
  }) : null]
@@ -8572,33 +8567,33 @@ function mm({ isOpen: e, onClose: t, title: n, children: r, module: i, portalCon
8572
8567
  let [o, s] = J(e);
8573
8568
  return G(() => {
8574
8569
  s(e);
8575
- }, [e]), /* @__PURE__ */ X(Hr, {
8570
+ }, [e]), /* @__PURE__ */ X(Gr, {
8576
8571
  open: o,
8577
8572
  onOpenChange: (e) => {
8578
8573
  s(e), e || t();
8579
8574
  },
8580
8575
  modal: !0,
8581
- children: /* @__PURE__ */ Z(Cr, {
8576
+ children: /* @__PURE__ */ Z(Er, {
8582
8577
  className: "max-h-[620px] w-[760px] overflow-y-auto overflow-x-hidden bg-f1-background",
8583
8578
  container: a,
8584
8579
  children: [/* @__PURE__ */ Z("div", {
8585
8580
  className: "flex flex-row items-center justify-between px-4 py-4",
8586
8581
  children: [/* @__PURE__ */ Z(gr, {
8587
8582
  className: "flex flex-row items-center gap-2 text-lg font-semibold text-f1-foreground",
8588
- children: [i ? /* @__PURE__ */ X(xo, {
8583
+ children: [i ? /* @__PURE__ */ X(So, {
8589
8584
  module: i,
8590
8585
  size: "md"
8591
8586
  }) : null, n]
8592
8587
  }), /* @__PURE__ */ X(nr, {
8593
8588
  variant: "outline",
8594
- icon: Xi,
8589
+ icon: ii,
8595
8590
  onClick: t,
8596
8591
  label: "Close modal",
8597
8592
  hideLabel: !0
8598
8593
  })]
8599
- }), /* @__PURE__ */ Z(fc, {
8594
+ }), /* @__PURE__ */ Z(pc, {
8600
8595
  className: "[*[data-state=visible]_div]:bg-f1-background flex max-h-[512px] flex-col",
8601
- children: [r, /* @__PURE__ */ X(dc, {
8596
+ children: [r, /* @__PURE__ */ X(fc, {
8602
8597
  orientation: "vertical",
8603
8598
  className: "[&_div]:bg-f1-background"
8604
8599
  })]
@@ -8681,14 +8676,14 @@ function _m({ mediaUrl: e, title: t, description: n, onClose: r, dismissible: i,
8681
8676
  o && o(!l);
8682
8677
  }, [o, l]);
8683
8678
  let f = e?.includes(".mp4");
8684
- return /* @__PURE__ */ X(Y, { children: l ? null : /* @__PURE__ */ Z(ri, {
8679
+ return /* @__PURE__ */ X(Y, { children: l ? null : /* @__PURE__ */ Z($i, {
8685
8680
  style: { width: a },
8686
8681
  className: "relative bg-f1-background p-1",
8687
- children: [/* @__PURE__ */ Z(ta, { children: [i ? /* @__PURE__ */ X("div", {
8682
+ children: [/* @__PURE__ */ Z(Mi, { children: [i ? /* @__PURE__ */ X("div", {
8688
8683
  className: "absolute right-2 top-2 z-10",
8689
8684
  children: /* @__PURE__ */ X(V, {
8690
8685
  variant: "ghost",
8691
- icon: Xi,
8686
+ icon: ii,
8692
8687
  size: "sm",
8693
8688
  hideLabel: !0,
8694
8689
  onClick: d,
@@ -8714,7 +8709,7 @@ function _m({ mediaUrl: e, title: t, description: n, onClose: r, dismissible: i,
8714
8709
  className: "line-clamp-3 text-base font-normal text-f1-foreground-secondary",
8715
8710
  children: n
8716
8711
  })]
8717
- })] })] }), s ? /* @__PURE__ */ X(si, {
8712
+ })] })] }), s ? /* @__PURE__ */ X(ia, {
8718
8713
  className: "p-3",
8719
8714
  children: s.map((e) => e.type === "upsell" ? /* @__PURE__ */ X(E, {
8720
8715
  label: e.label,
@@ -8737,7 +8732,7 @@ function _m({ mediaUrl: e, title: t, description: n, onClose: r, dismissible: i,
8737
8732
  var vm = R(_m), ym = ({ onDismiss: e }) => {
8738
8733
  let { actions: t } = z();
8739
8734
  return /* @__PURE__ */ X(V, {
8740
- icon: Xi,
8735
+ icon: ii,
8741
8736
  label: t.close,
8742
8737
  hideLabel: !0,
8743
8738
  variant: "outline",
@@ -8797,7 +8792,7 @@ function bm({ icon: e, title: t, description: n, action: r, onDismiss: i }) {
8797
8792
  })
8798
8793
  });
8799
8794
  }
8800
- var xm = R(bm), Sm = wc(function({ primaryAction: e, secondaryAction: t, ...n }, r) {
8795
+ var xm = R(bm), Sm = Tc(function({ primaryAction: e, secondaryAction: t, ...n }, r) {
8801
8796
  let i = (e) => e.variant === "promote" ? /* @__PURE__ */ X(E, {
8802
8797
  label: e.label,
8803
8798
  onRequest: e.onClick,
@@ -8828,7 +8823,7 @@ Sm.displayName = "UpsellingBanner";
8828
8823
  var Cm = R(Sm);
8829
8824
  //#endregion
8830
8825
  //#region src/domains/growth/upselling/UpsellingKit/UpsellingPopover/UpsellingPopover.tsx
8831
- function wm({ isOpen: e, setIsOpen: t, label: n, variant: r = "promote", size: i = "md", showIcon: a = !0, side: o = "right", align: s = "center", icon: c = la, mediaUrl: l, title: u, description: d, width: f = "300px", trackVisibility: p, actions: m, onClick: h, hideLabel: g = !1 }) {
8826
+ function wm({ isOpen: e, setIsOpen: t, label: n, variant: r = "promote", size: i = "md", showIcon: a = !0, side: o = "right", align: s = "center", icon: c = dr, mediaUrl: l, title: u, description: d, width: f = "300px", trackVisibility: p, actions: m, onClick: h, hideLabel: g = !1 }) {
8832
8827
  let [_, v] = J(!1), [y, b] = J(null), [x, S] = J(null), C = (e) => {
8833
8828
  t(e), h && h();
8834
8829
  }, w = async (e) => {
@@ -8846,10 +8841,10 @@ function wm({ isOpen: e, setIsOpen: t, label: n, variant: r = "promote", size: i
8846
8841
  ...e,
8847
8842
  onClick: () => w(e)
8848
8843
  } : e);
8849
- return /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ Z(sc, {
8844
+ return /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ Z(cc, {
8850
8845
  open: E,
8851
8846
  onOpenChange: C,
8852
- children: [/* @__PURE__ */ X(Qs, {
8847
+ children: [/* @__PURE__ */ X($s, {
8853
8848
  asChild: !0,
8854
8849
  children: /* @__PURE__ */ X(V, {
8855
8850
  variant: r,
@@ -8859,7 +8854,7 @@ function wm({ isOpen: e, setIsOpen: t, label: n, variant: r = "promote", size: i
8859
8854
  onClick: () => t(e),
8860
8855
  hideLabel: g
8861
8856
  })
8862
- }), /* @__PURE__ */ X(ic, {
8857
+ }), /* @__PURE__ */ X(ac, {
8863
8858
  side: o,
8864
8859
  align: s,
8865
8860
  className: "w-fit border-none bg-transparent p-2 shadow-none",
@@ -8888,9 +8883,9 @@ function wm({ isOpen: e, setIsOpen: t, label: n, variant: r = "promote", size: i
8888
8883
  }
8889
8884
  var Tm = R(wm), Em = ({ preview: e, moduleName: t, description: n, onAction: r, actionHref: i }) => {
8890
8885
  let a = z(), o = a?.ai?.growth?.demoCard?.title ?? "Show {{moduleName}} in action", s = a?.ai?.growth?.demoCard?.actionLabel ?? "Start demo", c = o.replace("{{moduleName}}", t);
8891
- return /* @__PURE__ */ Z(ri, {
8886
+ return /* @__PURE__ */ Z($i, {
8892
8887
  className: "flex flex-col overflow-hidden",
8893
- children: [/* @__PURE__ */ Z(ta, {
8888
+ children: [/* @__PURE__ */ Z(Mi, {
8894
8889
  className: "flex flex-col gap-4 p-0",
8895
8890
  children: [/* @__PURE__ */ X("div", {
8896
8891
  className: B("overflow-hidden rounded-lg border border-f1-border", "ring-1 ring-f1-border/50 bg-f1-background-inverse-secondary dark:bg-f1-background-tertiary"),
@@ -8905,7 +8900,7 @@ var Tm = R(wm), Em = ({ preview: e, moduleName: t, description: n, onAction: r,
8905
8900
  children: n
8906
8901
  })]
8907
8902
  })]
8908
- }), /* @__PURE__ */ X(si, {
8903
+ }), /* @__PURE__ */ X(ia, {
8909
8904
  className: "-mx-4 -mb-4 mt-4 flex justify-end rounded-b-xl border-0 border-t border-t-f1-border bg-f1-background-secondary px-4 py-3",
8910
8905
  children: i ? /* @__PURE__ */ X(V, {
8911
8906
  variant: "default",
@@ -8936,7 +8931,7 @@ var Tm = R(wm), Em = ({ preview: e, moduleName: t, description: n, onAction: r,
8936
8931
  }), /* @__PURE__ */ X("span", {
8937
8932
  className: "mt-0.5 flex-shrink-0 text-f1-foreground-secondary",
8938
8933
  children: /* @__PURE__ */ X(H, {
8939
- icon: t ? lo : Vs,
8934
+ icon: t ? uo : Jo,
8940
8935
  size: "sm",
8941
8936
  className: B("transition-transform duration-200", t && "text-f1-foreground")
8942
8937
  })
@@ -8952,7 +8947,7 @@ var Tm = R(wm), Em = ({ preview: e, moduleName: t, description: n, onAction: r,
8952
8947
  })
8953
8948
  })]
8954
8949
  }), Om = ({ headerIcon: e, items: t, defaultExpandedId: n, expandedId: r, onExpandedChange: i, allowMultiple: a = !1 }) => {
8955
- let o = z()?.ai?.growth?.faqCard?.title ?? "Questions before getting started", s = e ?? Wr, [c, l] = J(() => new Set(n ? [n] : [])), u = r !== void 0, d = W((e) => u ? r === e : c.has(e), [
8950
+ let o = z()?.ai?.growth?.faqCard?.title ?? "Questions before getting started", s = e ?? Dr, [c, l] = J(() => new Set(n ? [n] : [])), u = r !== void 0, d = W((e) => u ? r === e : c.has(e), [
8956
8951
  u,
8957
8952
  r,
8958
8953
  c
@@ -8967,9 +8962,9 @@ var Tm = R(wm), Em = ({ preview: e, moduleName: t, description: n, onAction: r,
8967
8962
  i,
8968
8963
  a
8969
8964
  ]);
8970
- return t.length === 0 ? null : /* @__PURE__ */ Z(ri, {
8965
+ return t.length === 0 ? null : /* @__PURE__ */ Z($i, {
8971
8966
  className: "flex flex-col overflow-hidden",
8972
- children: [/* @__PURE__ */ Z(Pi, {
8967
+ children: [/* @__PURE__ */ Z(fi, {
8973
8968
  className: "-mx-4 -mt-4 mb-2 flex flex-row items-center gap-2 rounded-t-xl bg-f1-background-secondary px-4 py-3",
8974
8969
  children: [/* @__PURE__ */ X("div", {
8975
8970
  className: "flex h-6 w-6 items-center justify-center rounded-full border border-f1-border-secondary",
@@ -8982,7 +8977,7 @@ var Tm = R(wm), Em = ({ preview: e, moduleName: t, description: n, onAction: r,
8982
8977
  className: "text-base font-semibold text-f1-foreground",
8983
8978
  children: o
8984
8979
  })]
8985
- }), /* @__PURE__ */ X(ta, {
8980
+ }), /* @__PURE__ */ X(Mi, {
8986
8981
  className: "flex flex-col divide-y divide-f1-border p-0",
8987
8982
  children: t.map((e) => /* @__PURE__ */ X(Dm, {
8988
8983
  item: e,
@@ -8993,13 +8988,13 @@ var Tm = R(wm), Em = ({ preview: e, moduleName: t, description: n, onAction: r,
8993
8988
  });
8994
8989
  }, km = ({ moduleName: e, description: t, onAction: n, actionHref: r, imageSrc: i }) => {
8995
8990
  let a = z()?.ai?.growth?.moduleCard?.actionLabel ?? "Learn more";
8996
- return /* @__PURE__ */ Z(ri, {
8991
+ return /* @__PURE__ */ Z($i, {
8997
8992
  className: "flex flex-col overflow-hidden",
8998
- children: [/* @__PURE__ */ X(ta, {
8993
+ children: [/* @__PURE__ */ X(Mi, {
8999
8994
  className: "flex flex-col gap-3 p-0",
9000
8995
  children: /* @__PURE__ */ Z("div", {
9001
8996
  className: "flex items-start gap-3",
9002
- children: [/* @__PURE__ */ X(wo, {
8997
+ children: [/* @__PURE__ */ X(To, {
9003
8998
  avatar: {
9004
8999
  type: "company",
9005
9000
  name: e || "",
@@ -9017,7 +9012,7 @@ var Tm = R(wm), Em = ({ preview: e, moduleName: t, description: n, onAction: r,
9017
9012
  })]
9018
9013
  })]
9019
9014
  })
9020
- }), /* @__PURE__ */ X(si, {
9015
+ }), /* @__PURE__ */ X(ia, {
9021
9016
  className: "-mx-4 -mb-4 mt-4 flex justify-end rounded-b-xl border-0 border-t border-t-f1-border bg-f1-background-secondary px-4 py-3",
9022
9017
  children: r ? /* @__PURE__ */ X(V, {
9023
9018
  variant: "outline",
@@ -9035,12 +9030,12 @@ var Tm = R(wm), Em = ({ preview: e, moduleName: t, description: n, onAction: r,
9035
9030
  });
9036
9031
  }, Am = ({ onAction: e, actionHref: t }) => {
9037
9032
  let n = z()?.ai?.growth?.bookAMeetingCard, r = n?.title ?? "Talk with an expert", i = n?.schedule ?? "Mon-Fri · 09:00-21:00 (CEST)", a = n?.actionLabel ?? "Book a meeting";
9038
- return /* @__PURE__ */ Z(ri, {
9033
+ return /* @__PURE__ */ Z($i, {
9039
9034
  className: "flex flex-col overflow-hidden",
9040
- children: [/* @__PURE__ */ Z(ta, {
9035
+ children: [/* @__PURE__ */ Z(Mi, {
9041
9036
  className: "flex flex-col gap-3 p-0",
9042
9037
  children: [/* @__PURE__ */ X(H, {
9043
- icon: da,
9038
+ icon: ua,
9044
9039
  size: "lg"
9045
9040
  }), /* @__PURE__ */ Z("div", {
9046
9041
  className: "flex flex-col gap-0.5",
@@ -9052,7 +9047,7 @@ var Tm = R(wm), Em = ({ preview: e, moduleName: t, description: n, onAction: r,
9052
9047
  children: i
9053
9048
  })]
9054
9049
  })]
9055
- }), /* @__PURE__ */ X(si, {
9050
+ }), /* @__PURE__ */ X(ia, {
9056
9051
  className: "-mx-4 -mb-4 mt-4 flex justify-end rounded-b-xl border-0 border-t border-t-f1-border bg-f1-background-secondary px-4 py-3",
9057
9052
  children: t ? /* @__PURE__ */ X(V, {
9058
9053
  variant: "default",
@@ -9098,9 +9093,9 @@ var Tm = R(wm), Em = ({ preview: e, moduleName: t, description: n, onAction: r,
9098
9093
  e,
9099
9094
  t
9100
9095
  ]), g = a === u - 1, _ = u > 1, v = n != null;
9101
- return u === 0 || !d ? null : /* @__PURE__ */ Z(ri, {
9096
+ return u === 0 || !d ? null : /* @__PURE__ */ Z($i, {
9102
9097
  className: "flex flex-col overflow-hidden",
9103
- children: [/* @__PURE__ */ Z(ta, {
9098
+ children: [/* @__PURE__ */ Z(Mi, {
9104
9099
  className: "flex flex-col gap-4",
9105
9100
  children: [/* @__PURE__ */ X("h3", {
9106
9101
  className: "text-base font-semibold text-f1-foreground",
@@ -9109,7 +9104,7 @@ var Tm = R(wm), Em = ({ preview: e, moduleName: t, description: n, onAction: r,
9109
9104
  className: "flex flex-col gap-3",
9110
9105
  children: d.options.map((e) => /* @__PURE__ */ X("div", {
9111
9106
  className: "flex items-center gap-2.5",
9112
- children: /* @__PURE__ */ X(ps, {
9107
+ children: /* @__PURE__ */ X(_s, {
9113
9108
  id: e.id,
9114
9109
  title: e.label,
9115
9110
  checked: f.includes(e.id),
@@ -9117,7 +9112,7 @@ var Tm = R(wm), Em = ({ preview: e, moduleName: t, description: n, onAction: r,
9117
9112
  })
9118
9113
  }, e.id))
9119
9114
  })]
9120
- }), /* @__PURE__ */ Z(si, {
9115
+ }), /* @__PURE__ */ Z(ia, {
9121
9116
  className: "-mx-4 -mb-4 mt-4 flex items-center justify-between rounded-b-xl border-0 border-t border-t-f1-border bg-f1-background-secondary px-4 py-3",
9122
9117
  children: [/* @__PURE__ */ X("div", {
9123
9118
  className: "flex min-w-[7.5rem] items-center justify-start gap-1",
@@ -9129,7 +9124,7 @@ var Tm = R(wm), Em = ({ preview: e, moduleName: t, description: n, onAction: r,
9129
9124
  className: "flex h-8 w-8 shrink-0 items-center justify-center rounded text-f1-foreground-secondary transition-colors hover:bg-f1-background-tertiary hover:text-f1-foreground disabled:pointer-events-none disabled:opacity-50",
9130
9125
  "aria-label": "Previous",
9131
9126
  children: /* @__PURE__ */ X(H, {
9132
- icon: es,
9127
+ icon: Mo,
9133
9128
  size: "sm"
9134
9129
  })
9135
9130
  }),
@@ -9148,7 +9143,7 @@ var Tm = R(wm), Em = ({ preview: e, moduleName: t, description: n, onAction: r,
9148
9143
  className: "flex h-8 w-8 shrink-0 items-center justify-center rounded text-f1-foreground-secondary transition-colors hover:bg-f1-background-tertiary hover:text-f1-foreground disabled:pointer-events-none disabled:opacity-50",
9149
9144
  "aria-label": "Next",
9150
9145
  children: /* @__PURE__ */ X(H, {
9151
- icon: Vs,
9146
+ icon: Jo,
9152
9147
  size: "sm"
9153
9148
  })
9154
9149
  })
@@ -9667,23 +9662,23 @@ function yh({ chartContainerRef: e, chartConfig: t, data: n, title: r }) {
9667
9662
  return K(() => n ? [
9668
9663
  {
9669
9664
  label: i("ai.dataDownload.download", { format: "PNG" }),
9670
- icon: Dr,
9665
+ icon: cr,
9671
9666
  onClick: () => a("png")
9672
9667
  },
9673
9668
  {
9674
9669
  label: i("ai.dataDownload.download", { format: "JPG" }),
9675
- icon: Dr,
9670
+ icon: cr,
9676
9671
  onClick: () => a("jpg")
9677
9672
  },
9678
9673
  { type: "separator" },
9679
9674
  {
9680
9675
  label: i("ai.dataDownload.download", { format: "Excel" }),
9681
- icon: Oi,
9676
+ icon: Pr,
9682
9677
  onClick: s
9683
9678
  },
9684
9679
  {
9685
9680
  label: i("ai.dataDownload.download", { format: "CSV" }),
9686
- icon: Oi,
9681
+ icon: Pr,
9687
9682
  onClick: c
9688
9683
  }
9689
9684
  ] : [], [
@@ -9729,7 +9724,7 @@ function bh(e, t, n, r = "") {
9729
9724
  //#endregion
9730
9725
  //#region src/domains/platform/ai/analytics/F0AnalyticsDashboard/components/DashboardItem/DashboardItemFilters.tsx
9731
9726
  function xh({ filters: e, value: t, onChange: n, onOpenChange: r }) {
9732
- let i = z(), a = Oc(), o = q(null), s = q(void 0), c = q(r), [l, u] = J(!1), [d, f] = J(null), [p, m] = J(t);
9727
+ let i = z(), a = kc(), o = q(null), s = q(void 0), c = q(r), [l, u] = J(!1), [d, f] = J(null), [p, m] = J(t);
9733
9728
  G(() => {
9734
9729
  c.current = r;
9735
9730
  }, [r]), G(() => () => {
@@ -9741,7 +9736,7 @@ function xh({ filters: e, value: t, onChange: n, onOpenChange: r }) {
9741
9736
  }, [h, d]), G(() => {
9742
9737
  l || m(t);
9743
9738
  }, [l, t]);
9744
- let v = Dc(Ho), y = v.portalContainer && (v.position === "center" || v.position === "fullscreen") ? v.portalContainer : void 0, b = K(() => Fs(e, t, i), [
9739
+ let v = Oc(zo), y = v.portalContainer && (v.position === "center" || v.position === "fullscreen") ? v.portalContainer : void 0, b = K(() => Ps(e, t, i), [
9745
9740
  e,
9746
9741
  t,
9747
9742
  i
@@ -9753,7 +9748,7 @@ function xh({ filters: e, value: t, onChange: n, onOpenChange: r }) {
9753
9748
  e,
9754
9749
  i
9755
9750
  ]);
9756
- Ac(() => {
9751
+ jc(() => {
9757
9752
  if (!l) return;
9758
9753
  let e = o.current;
9759
9754
  if (!e) return;
@@ -9770,18 +9765,18 @@ function xh({ filters: e, value: t, onChange: n, onOpenChange: r }) {
9770
9765
  let e = o.current?.querySelector("[aria-invalid=\"true\"]");
9771
9766
  e ? e.focus() : f(null);
9772
9767
  };
9773
- return Object.keys(_).length === 0 ? null : /* @__PURE__ */ Z(sc, {
9768
+ return Object.keys(_).length === 0 ? null : /* @__PURE__ */ Z(cc, {
9774
9769
  open: l,
9775
9770
  onOpenChange: (e) => {
9776
9771
  u(e), r?.(e), !e && (f(null), m(t));
9777
9772
  },
9778
9773
  modal: !1,
9779
9774
  children: [
9780
- /* @__PURE__ */ X(Qs, {
9775
+ /* @__PURE__ */ X($s, {
9781
9776
  asChild: !0,
9782
9777
  children: /* @__PURE__ */ X(nr, {
9783
9778
  label: i.filters.label,
9784
- icon: vs,
9779
+ icon: ns,
9785
9780
  variant: "ghost",
9786
9781
  size: "md",
9787
9782
  hideLabel: !0,
@@ -9804,7 +9799,7 @@ function xh({ filters: e, value: t, onChange: n, onOpenChange: r }) {
9804
9799
  ")"
9805
9800
  ]
9806
9801
  }) : null,
9807
- /* @__PURE__ */ X(ic, {
9802
+ /* @__PURE__ */ X(ac, {
9808
9803
  ref: o,
9809
9804
  "aria-label": i.filters.label,
9810
9805
  className: "w-[380px] max-w-[calc(100vw-1rem)] rounded-xl border border-solid border-f1-border-secondary p-0 shadow-md",
@@ -9818,7 +9813,7 @@ function xh({ filters: e, value: t, onChange: n, onOpenChange: r }) {
9818
9813
  className: "flex shrink-0 items-center gap-2 py-1.5 pl-1.5 pr-3",
9819
9814
  children: g ? /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(V, {
9820
9815
  label: i.filters.availableFilters,
9821
- icon: qo,
9816
+ icon: Qo,
9822
9817
  hideLabel: !0,
9823
9818
  variant: "ghost",
9824
9819
  size: "sm",
@@ -9834,7 +9829,7 @@ function xh({ filters: e, value: t, onChange: n, onOpenChange: r }) {
9834
9829
  className: "flex min-h-0 flex-1 flex-col",
9835
9830
  children: g ? /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X("div", {
9836
9831
  className: "min-h-0 flex-1 overflow-y-auto border-0 border-t border-solid border-f1-border-secondary",
9837
- children: /* @__PURE__ */ X(ws, {
9832
+ children: /* @__PURE__ */ X(Ss, {
9838
9833
  selectedFilterKey: g,
9839
9834
  definition: e,
9840
9835
  tempFilters: p,
@@ -9852,13 +9847,13 @@ function xh({ filters: e, value: t, onChange: n, onOpenChange: r }) {
9852
9847
  onClick: w,
9853
9848
  label: i.filters.applySelection
9854
9849
  })
9855
- })] }) : /* @__PURE__ */ X(us, {
9850
+ })] }) : /* @__PURE__ */ X(hs, {
9856
9851
  definition: _,
9857
9852
  tempFilters: p,
9858
9853
  selectedFilterKey: g,
9859
9854
  onFilterSelect: C,
9860
9855
  onClickApplyFilters: () => {
9861
- n(Ds(e, p, i)), u(!1), r?.(!1), f(null);
9856
+ n(Ts(e, p, i)), u(!1), r?.(!1), f(null);
9862
9857
  },
9863
9858
  isCompactMode: !0
9864
9859
  })
@@ -9878,7 +9873,7 @@ var Sh = "(hover: hover) and (min-width: 640px)", Ch = (e) => {
9878
9873
  };
9879
9874
  function wh({ title: e, enabled: t, actionsCollapse: n }) {
9880
9875
  let r = q(null), i = q(null), a = q(null), [o, s] = J(!0);
9881
- return Ac(() => {
9876
+ return jc(() => {
9882
9877
  let e = r.current;
9883
9878
  if (!t || !e) return;
9884
9879
  let o = window.matchMedia?.(Sh), c = () => {
@@ -9913,7 +9908,7 @@ function wh({ title: e, enabled: t, actionsCollapse: n }) {
9913
9908
  //#endregion
9914
9909
  //#region src/domains/platform/ai/analytics/F0AnalyticsDashboard/components/DashboardItem/DashboardItem.tsx
9915
9910
  function Th({ title: e, description: t, info: n, isLoading: r, error: i, onRetry: a, skeleton: o, children: s, actions: c = [], itemFilters: l, editMode: u, readOnly: d = !1, handleDelete: f, onAskAi: p, onAskAiTarget: m, itemId: h, chartTypeOptions: g, explanation: _, isFullscreen: v = !1, descriptionAction: b, headerLines: x = 2, fitContent: S = !1, onFullscreenChange: C }) {
9916
- let [w, T] = J(!1), [E, D] = J(!1), O = q(!1), [k, A] = J(!1), j = z(), { enabled: M, setPendingQuote: N, setOpen: P, focusChatInput: F } = wr(), I = (e) => {
9911
+ let [w, T] = J(!1), [E, D] = J(!1), O = q(!1), [k, A] = J(!1), j = z(), { enabled: M, setPendingQuote: N, setOpen: P, focusChatInput: F } = Or(), I = (e) => {
9917
9912
  T(e), e || A(!1);
9918
9913
  }, ee = c.filter((e) => !("type" in e) || e.type === "item" || e.type === void 0), te = ee.length > 0, L = u && f && h, ne = g && g.length > 0, re = !!_ && _.trim().length > 0, ie = !!C, ae = !d && e.trim().length > 0 && (p ? !!h : M), oe = ae || te || L || ne || re, se = !!l || ie || !!oe, ce = !v && (w || E), le = B("flex flex-shrink-0 gap-0.5", !v && "opacity-100 transition-opacity delay-150 duration-150 focus-within:delay-0 group-hover/dashitem:delay-0 sm:[@media(hover:hover)]:opacity-0 focus-within:sm:opacity-100 group-hover/dashitem:sm:opacity-100", ce && "delay-0 !opacity-100"), ue = B("-my-2 -mr-0.5 isolate grid flex-shrink-0", !v && "transition-[grid-template-columns] delay-150 duration-150 focus-within:delay-0 group-hover/dashitem:delay-0 motion-reduce:duration-0 sm:[@media(hover:hover)]:grid-cols-[0fr] focus-within:sm:grid-cols-[1fr] group-hover/dashitem:sm:grid-cols-[1fr]", ce && "delay-0 !grid-cols-[1fr]"), de = wh({
9919
9914
  title: e,
@@ -9937,7 +9932,7 @@ function Th({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
9937
9932
  }), N(t), P(!0);
9938
9933
  }, he = (e) => {
9939
9934
  O.current && (O.current = !1, F() && e.preventDefault());
9940
- }, ge = ae ? /* @__PURE__ */ X(oc, { children: /* @__PURE__ */ X(ac, {
9935
+ }, ge = ae ? /* @__PURE__ */ X(sc, { children: /* @__PURE__ */ X(oc, {
9941
9936
  onClick: me,
9942
9937
  children: /* @__PURE__ */ Z("div", {
9943
9938
  className: "flex w-full flex-row items-center gap-2",
@@ -9971,14 +9966,14 @@ function Th({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
9971
9966
  children: [l ? /* @__PURE__ */ X(xh, {
9972
9967
  ...l,
9973
9968
  onOpenChange: D
9974
- }) : null, ae ? /* @__PURE__ */ Z(ec, {
9969
+ }) : null, ae ? /* @__PURE__ */ Z(tc, {
9975
9970
  open: w,
9976
9971
  onOpenChange: I,
9977
- children: [/* @__PURE__ */ X(cc, {
9972
+ children: [/* @__PURE__ */ X(lc, {
9978
9973
  asChild: !0,
9979
9974
  children: /* @__PURE__ */ X(nr, {
9980
9975
  label: j.actions.other,
9981
- icon: qs,
9976
+ icon: Js,
9982
9977
  variant: "ghost",
9983
9978
  size: "md",
9984
9979
  hideLabel: !0,
@@ -9986,7 +9981,7 @@ function Th({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
9986
9981
  compact: !0,
9987
9982
  onClick: (e) => e.stopPropagation()
9988
9983
  })
9989
- }), /* @__PURE__ */ X(tc, {
9984
+ }), /* @__PURE__ */ X(nc, {
9990
9985
  align: "end",
9991
9986
  className: "py-1",
9992
9987
  onCloseAutoFocus: he,
@@ -10013,7 +10008,7 @@ function Th({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
10013
10008
  "aria-live": r ? "polite" : void 0,
10014
10009
  children: [/* @__PURE__ */ Z("div", {
10015
10010
  className: B("flex flex-col px-4 py-3", se && "min-h-14"),
10016
- children: [/* @__PURE__ */ Z(uo, {
10011
+ children: [/* @__PURE__ */ Z(fo, {
10017
10012
  ref: de.rowRef,
10018
10013
  display: "flex",
10019
10014
  minWidth: "0",
@@ -10044,21 +10039,21 @@ function Th({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
10044
10039
  }) : null,
10045
10040
  ie ? /* @__PURE__ */ X(nr, {
10046
10041
  label: v ? j.actions.collapse : j.actions.expand,
10047
- icon: v ? mi : ua,
10042
+ icon: v ? Pi : la,
10048
10043
  variant: "ghost",
10049
10044
  size: "md",
10050
10045
  hideLabel: !0,
10051
10046
  compact: !0,
10052
10047
  onClick: () => C?.(!v)
10053
10048
  }) : null,
10054
- oe ? /* @__PURE__ */ Z(ec, {
10049
+ oe ? /* @__PURE__ */ Z(tc, {
10055
10050
  open: w,
10056
10051
  onOpenChange: I,
10057
- children: [/* @__PURE__ */ X(cc, {
10052
+ children: [/* @__PURE__ */ X(lc, {
10058
10053
  asChild: !0,
10059
10054
  children: /* @__PURE__ */ X(nr, {
10060
10055
  label: j.actions.other,
10061
- icon: qs,
10056
+ icon: Js,
10062
10057
  variant: "ghost",
10063
10058
  size: "md",
10064
10059
  hideLabel: !0,
@@ -10066,13 +10061,13 @@ function Th({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
10066
10061
  compact: !0,
10067
10062
  onClick: (e) => e.stopPropagation()
10068
10063
  })
10069
- }), /* @__PURE__ */ X(tc, {
10064
+ }), /* @__PURE__ */ X(nc, {
10070
10065
  align: "end",
10071
10066
  className: B("py-1", k && "w-96 max-w-[90vw]"),
10072
10067
  onCloseAutoFocus: he,
10073
10068
  children: k && re ? /* @__PURE__ */ X("div", {
10074
10069
  className: "px-3 py-2 text-base text-f1-foreground [&>div]:flex [&>div]:flex-col [&>div]:gap-2",
10075
- children: /* @__PURE__ */ X(pr, {
10070
+ children: /* @__PURE__ */ X(fr, {
10076
10071
  content: _,
10077
10072
  format: "markdown"
10078
10073
  })
@@ -10098,29 +10093,29 @@ function Th({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
10098
10093
  fullWidth: !0
10099
10094
  })]
10100
10095
  }) : null,
10101
- re ? /* @__PURE__ */ X(oc, { children: /* @__PURE__ */ X(ac, {
10096
+ re ? /* @__PURE__ */ X(sc, { children: /* @__PURE__ */ X(oc, {
10102
10097
  onSelect: (e) => {
10103
10098
  e.preventDefault(), A(!0);
10104
10099
  },
10105
10100
  children: /* @__PURE__ */ Z("div", {
10106
10101
  className: "flex w-full flex-row items-center gap-2",
10107
- children: [/* @__PURE__ */ X(H, { icon: ms }), /* @__PURE__ */ X("span", {
10102
+ children: [/* @__PURE__ */ X(H, { icon: es }), /* @__PURE__ */ X("span", {
10108
10103
  className: "flex-1",
10109
10104
  children: j.ai.dashboardItem.dataExplanation
10110
10105
  })]
10111
10106
  })
10112
10107
  }) }) : null,
10113
10108
  ge,
10114
- te ? /* @__PURE__ */ X(oc, { children: /* @__PURE__ */ Z($s, { children: [/* @__PURE__ */ X(Zs, {
10109
+ te ? /* @__PURE__ */ X(sc, { children: /* @__PURE__ */ Z(ec, { children: [/* @__PURE__ */ X(Qs, {
10115
10110
  className: "mx-1 rounded-sm px-2",
10116
10111
  children: /* @__PURE__ */ Z("div", {
10117
10112
  className: "flex w-full flex-row items-center gap-2 pr-2",
10118
- children: [/* @__PURE__ */ X(H, { icon: Mr }), /* @__PURE__ */ X("span", {
10113
+ children: [/* @__PURE__ */ X(H, { icon: hi }), /* @__PURE__ */ X("span", {
10119
10114
  className: "flex-1 text-base font-medium",
10120
10115
  children: j.ai.dataDownload.title
10121
10116
  })]
10122
10117
  })
10123
- }), /* @__PURE__ */ X(nc, { children: /* @__PURE__ */ X(lc, { children: ee.map((e) => /* @__PURE__ */ X(ac, {
10118
+ }), /* @__PURE__ */ X(rc, { children: /* @__PURE__ */ X(uc, { children: ee.map((e) => /* @__PURE__ */ X(oc, {
10124
10119
  onClick: e.onClick,
10125
10120
  children: /* @__PURE__ */ Z("div", {
10126
10121
  className: "flex w-full flex-row items-center gap-2",
@@ -10130,14 +10125,14 @@ function Th({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
10130
10125
  })]
10131
10126
  })
10132
10127
  }, e.label)) }) })] }) }) : null,
10133
- L ? /* @__PURE__ */ X(oc, { children: /* @__PURE__ */ X(ac, {
10128
+ L ? /* @__PURE__ */ X(sc, { children: /* @__PURE__ */ X(oc, {
10134
10129
  onClick: () => {
10135
10130
  v && C?.(!1), f(h);
10136
10131
  },
10137
10132
  className: B("text-f1-foreground-critical"),
10138
10133
  children: /* @__PURE__ */ Z("div", {
10139
10134
  className: "flex w-full flex-row items-center gap-2",
10140
- children: [/* @__PURE__ */ X(H, { icon: zi }), /* @__PURE__ */ X("span", {
10135
+ children: [/* @__PURE__ */ X(H, { icon: Ei }), /* @__PURE__ */ X("span", {
10141
10136
  className: "flex-1",
10142
10137
  children: j.actions.delete
10143
10138
  })]
@@ -10178,7 +10173,7 @@ function Th({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
10178
10173
  var Eh = 8, Dh = 8;
10179
10174
  function Oh({ anchor: e, onAsk: t, onDismiss: n, returnFocusTo: r }) {
10180
10175
  let i = z(), a = q(null), [o, s] = J(null);
10181
- return Ac(() => {
10176
+ return jc(() => {
10182
10177
  if (!e) {
10183
10178
  s(null);
10184
10179
  return;
@@ -10215,7 +10210,7 @@ function Oh({ anchor: e, onAsk: t, onDismiss: n, returnFocusTo: r }) {
10215
10210
  e,
10216
10211
  n,
10217
10212
  r
10218
- ]), typeof document > "u" || !e ? null : Nc(/* @__PURE__ */ X("div", {
10213
+ ]), typeof document > "u" || !e ? null : Pc(/* @__PURE__ */ X("div", {
10219
10214
  ref: a,
10220
10215
  style: {
10221
10216
  position: "fixed",
@@ -10271,39 +10266,39 @@ function Lh(e) {
10271
10266
  {
10272
10267
  label: e.dataChart.barChartVertical,
10273
10268
  value: "bar-vertical",
10274
- icon: Gi,
10269
+ icon: Ci,
10275
10270
  type: "bar",
10276
10271
  orientation: "vertical"
10277
10272
  },
10278
10273
  {
10279
10274
  label: e.dataChart.barChartHorizontal,
10280
10275
  value: "bar-horizontal",
10281
- icon: bi,
10276
+ icon: oa,
10282
10277
  type: "bar",
10283
10278
  orientation: "horizontal"
10284
10279
  },
10285
10280
  {
10286
10281
  label: e.dataChart.lineChart,
10287
10282
  value: "line",
10288
- icon: Ci,
10283
+ icon: ei,
10289
10284
  type: "line"
10290
10285
  },
10291
10286
  {
10292
10287
  label: e.dataChart.funnel,
10293
10288
  value: "funnel",
10294
- icon: Qr,
10289
+ icon: fa,
10295
10290
  type: "funnel"
10296
10291
  },
10297
10292
  {
10298
10293
  label: e.dataChart.pieChart,
10299
10294
  value: "pie",
10300
- icon: Li,
10295
+ icon: bi,
10301
10296
  type: "pie"
10302
10297
  },
10303
10298
  {
10304
10299
  label: e.dataChart.table,
10305
10300
  value: "table",
10306
- icon: Oi,
10301
+ icon: Pr,
10307
10302
  type: "table"
10308
10303
  }
10309
10304
  ];
@@ -10471,7 +10466,7 @@ function Wh(e) {
10471
10466
  return Rm(e.chart) && e.chart.type === "bar" && "orientation" in e.chart && e.chart.orientation === "horizontal";
10472
10467
  }
10473
10468
  function Gh({ item: e, filters: t, actions: n, itemFilters: r, editMode: i, readOnly: a, handleDelete: o, onAskAi: s, onAskAiTarget: c, onTransformChart: l, isFullscreen: u, onFullscreenChange: d }) {
10474
- let f = z(), [p, m] = J("chart"), { enabled: h, setPendingQuote: g, setOpen: _, focusChatInput: v } = wr(), y = !Rm(e.chart), b = y ? Rh : e.chart, [x, S] = J(null), C = e.useDashboardFilters !== !1, w = JSON.stringify(r?.value ?? {}), { data: T, isLoading: E, error: D, retry: O } = bh(e.fetchData, t, C, w), k = q(null), A = K(() => T && !y ? Vh(e, T) : void 0, [
10469
+ let f = z(), [p, m] = J("chart"), { enabled: h, setPendingQuote: g, setOpen: _, focusChatInput: v } = Or(), y = !Rm(e.chart), b = y ? Rh : e.chart, [x, S] = J(null), C = e.useDashboardFilters !== !1, w = JSON.stringify(r?.value ?? {}), { data: T, isLoading: E, error: D, retry: O } = bh(e.fetchData, t, C, w), k = q(null), A = K(() => T && !y ? Vh(e, T) : void 0, [
10475
10470
  e,
10476
10471
  T,
10477
10472
  y
@@ -10703,11 +10698,11 @@ function $h({ source: e, title: t, description: n, columns: r, tableSettings: i
10703
10698
  ]), l = W(() => c("excel"), [c]), u = W(() => c("csv"), [c]);
10704
10699
  return K(() => e ? [{
10705
10700
  label: a("ai.dataDownload.download", { format: "Excel" }),
10706
- icon: Oi,
10701
+ icon: Pr,
10707
10702
  onClick: l
10708
10703
  }, {
10709
10704
  label: a("ai.dataDownload.download", { format: "CSV" }),
10710
- icon: Oi,
10705
+ icon: Pr,
10711
10706
  onClick: u
10712
10707
  }] : [], [
10713
10708
  e,
@@ -10802,7 +10797,7 @@ function rg(e, t) {
10802
10797
  }
10803
10798
  function ig({ value: e, trend: t, comparison: n }) {
10804
10799
  let r = q(null), { height: i, width: a } = st(r), [o, s] = J(!1), c = i > 220;
10805
- return Ac(() => {
10800
+ return jc(() => {
10806
10801
  let e = r.current;
10807
10802
  s(e !== null && (e.scrollWidth > e.clientWidth || e.scrollHeight > e.clientHeight));
10808
10803
  }, [
@@ -10828,12 +10823,12 @@ function ig({ value: e, trend: t, comparison: n }) {
10828
10823
  className: "flex shrink-0 items-center",
10829
10824
  children: [
10830
10825
  t.direction === "up" ? /* @__PURE__ */ X(H, {
10831
- icon: No,
10826
+ icon: Go,
10832
10827
  color: "positive",
10833
10828
  size: "sm",
10834
10829
  "aria-hidden": "true"
10835
10830
  }) : /* @__PURE__ */ X(H, {
10836
- icon: Ss,
10831
+ icon: Ws,
10837
10832
  color: "critical",
10838
10833
  size: "sm",
10839
10834
  "aria-hidden": "true"
@@ -11035,7 +11030,7 @@ function mg({ items: e, itemFilters: t, itemDownloadActions: n, filters: r, edit
11035
11030
  if (Math.hypot(t.clientX - n, t.clientY - r) < lg) return;
11036
11031
  i = !0, E(e), P.current = Array.from(document.querySelectorAll("[data-ai-chat-dropzone]"));
11037
11032
  let a = A.current.get(e)?.title ?? "";
11038
- a && window.dispatchEvent(new CustomEvent(Vr, { detail: {
11033
+ a && window.dispatchEvent(new CustomEvent(Wr, { detail: {
11039
11034
  id: e,
11040
11035
  title: a,
11041
11036
  onAskAi: l,
@@ -11049,7 +11044,7 @@ function mg({ items: e, itemFilters: t, itemDownloadActions: n, filters: r, edit
11049
11044
  }, o = (e) => {
11050
11045
  document.removeEventListener("pointermove", a), document.removeEventListener("pointerup", s), document.removeEventListener("pointercancel", c), F.current = null;
11051
11046
  let t = j.current, n = M.current;
11052
- e && i && t && n && I(t, n), j.current = null, M.current = null, P.current = [], E(null), O(null), i && window.dispatchEvent(new CustomEvent(Lr));
11047
+ e && i && t && n && I(t, n), j.current = null, M.current = null, P.current = [], E(null), O(null), i && window.dispatchEvent(new CustomEvent(Br));
11053
11048
  }, s = (e) => {
11054
11049
  i && (P.current = Array.from(document.querySelectorAll("[data-ai-chat-dropzone]")), M.current = ee(e.clientX, e.clientY)), o(!0);
11055
11050
  }, c = () => o(!1);
@@ -11230,7 +11225,7 @@ function hg({ id: e, isDragging: t, showIndicatorBefore: n, showIndicatorAfter:
11230
11225
  className: "shadow-sm absolute -left-3 top-2.5 z-20 flex cursor-grab touch-none items-center justify-center rounded bg-f1-background p-2 opacity-0 transition-opacity hover:bg-f1-background-hover active:cursor-grabbing group-hover/rowitem:opacity-100",
11231
11226
  "aria-label": "Drag to reorder",
11232
11227
  children: /* @__PURE__ */ X(H, {
11233
- icon: kr,
11228
+ icon: xr,
11234
11229
  size: "xs"
11235
11230
  })
11236
11231
  }) : null, s]
@@ -11400,19 +11395,19 @@ function kg({ item: e, filters: t, actions: n, itemFilters: r, editMode: i, read
11400
11395
  //#region src/domains/platform/ai/analytics/F0AnalyticsDashboard/components/ExportDropdown/ExportDropdown.tsx
11401
11396
  function Ag({ onExportExcel: e, isExporting: t }) {
11402
11397
  let { t: n } = z();
11403
- return /* @__PURE__ */ X(Br, {
11398
+ return /* @__PURE__ */ X(Hr, {
11404
11399
  items: [{
11405
11400
  label: t ? n("ai.dataDownload.exporting") : n("ai.dataDownload.exportDashboard", { format: "Excel" }),
11406
- icon: Mr,
11401
+ icon: hi,
11407
11402
  onClick: t ? () => {} : e
11408
11403
  }],
11409
- icon: qs
11404
+ icon: Js
11410
11405
  });
11411
11406
  }
11412
11407
  //#endregion
11413
11408
  //#region src/blocks/OneFilterPicker/internal/ControlledOneFilterPicker.tsx
11414
11409
  function jg(e) {
11415
- return /* @__PURE__ */ X(ss.Provider, {
11410
+ return /* @__PURE__ */ X(fs.Provider, {
11416
11411
  value: "controlled",
11417
11412
  children: /* @__PURE__ */ X(ks, { ...e })
11418
11413
  });
@@ -11557,7 +11552,7 @@ function Rg({ items: e, filters: t, filename: n = "dashboard" }) {
11557
11552
  //#endregion
11558
11553
  //#region src/domains/platform/ai/analytics/F0AnalyticsDashboard/F0AnalyticsDashboard.tsx
11559
11554
  var zg = ({ filters: e, presets: t, defaultFilters: n, filtersValue: r, onFiltersChange: i, items: a, itemFilters: o, itemDownloadActions: s, editMode: c, readOnly: l = !1, onLayoutChange: u, enableExport: d, exportFilename: f, onExportReady: p, resetKey: m, onTransformChart: h, onAskAi: g, onAskAiTarget: _, navigationFilters: v, filtersLoading: y }) => {
11560
- let b = z(), [x = {}, S] = Xs({
11555
+ let b = z(), [x = {}, S] = Zs({
11561
11556
  prop: r,
11562
11557
  defaultProp: n ?? {},
11563
11558
  onChange: i
@@ -12092,7 +12087,7 @@ var i_ = "--toast-index", a_ = "--toast-offset-y", o_ = "--toast-height", s_ = "
12092
12087
  transitionStatus: void 0
12093
12088
  });
12094
12089
  }
12095
- e ? Mc.flushSync(a) : a();
12090
+ e ? Nc.flushSync(a) : a();
12096
12091
  });
12097
12092
  xn(() => {
12098
12093
  let e = k.current;
@@ -12226,7 +12221,7 @@ var i_ = "--toast-index", a_ = "--toast-offset-y", o_ = "--toast-height", s_ = "
12226
12221
  onPointerUp: u ? ue : void 0,
12227
12222
  onPointerCancel: u ? ue : void 0,
12228
12223
  onKeyDown: pe,
12229
- inert: Pc(n.limited),
12224
+ inert: Fc(n.limited),
12230
12225
  style: {
12231
12226
  ...me(),
12232
12227
  [i_]: n.transitionStatus === "ending" ? ne : re,
@@ -12373,7 +12368,7 @@ var T_ = ({ onClose: e }) => {
12373
12368
  className: "dark flex-shrink-0",
12374
12369
  children: /* @__PURE__ */ X(V, {
12375
12370
  variant: "outline",
12376
- icon: Xi,
12371
+ icon: ii,
12377
12372
  size: "sm",
12378
12373
  hideLabel: !0,
12379
12374
  onClick: e,
@@ -12390,7 +12385,7 @@ var T_ = ({ onClose: e }) => {
12390
12385
  className: "dark flex flex-shrink-0 flex-row flex-wrap items-center gap-3",
12391
12386
  children: [e.map((e) => /* @__PURE__ */ X("div", {
12392
12387
  onClick: () => n(e),
12393
- children: /* @__PURE__ */ X(Bi, {
12388
+ children: /* @__PURE__ */ X(oi, {
12394
12389
  href: e.href,
12395
12390
  children: e.label
12396
12391
  })
@@ -12411,7 +12406,7 @@ var T_ = ({ onClose: e }) => {
12411
12406
  e.type === "button" && e.onClick(), e.keepOpen || t?.();
12412
12407
  }
12413
12408
  };
12414
- }, k_ = Cc({
12409
+ }, k_ = wc({
12415
12410
  Title: ({ className: e, children: t }) => /* @__PURE__ */ X("p", {
12416
12411
  className: e,
12417
12412
  children: t
@@ -12421,7 +12416,7 @@ var T_ = ({ onClose: e }) => {
12421
12416
  children: t
12422
12417
  }),
12423
12418
  inStack: !1
12424
- }), A_ = () => Dc(k_), j_ = (e) => B("pointer-events-auto relative flex w-full flex-col gap-3 overflow-hidden rounded-lg p-3", !e && "bg-f1-background-inverse dark:bg-f1-background-tertiary"), M_ = ro({
12419
+ }), A_ = () => Oc(k_), j_ = (e) => B("pointer-events-auto relative flex w-full flex-col gap-3 overflow-hidden rounded-lg p-3", !e && "bg-f1-background-inverse dark:bg-f1-background-tertiary"), M_ = io({
12425
12420
  base: "text-base font-medium text-f1-foreground-inverse",
12426
12421
  variants: { hasIcon: {
12427
12422
  true: "pt-[3px]",
@@ -12440,7 +12435,7 @@ var T_ = ({ onClose: e }) => {
12440
12435
  success: "bg-f1-icon-positive",
12441
12436
  loading: "bg-f1-foreground-inverse-secondary",
12442
12437
  default: "bg-f1-foreground-inverse-secondary"
12443
- }, I_ = wc(({ title: e, description: t, variant: n = "default", duration: r, onClose: i, actions: a, countdownKey: o, contentKey: s }, c) => {
12438
+ }, I_ = Tc(({ title: e, description: t, variant: n = "default", duration: r, onClose: i, actions: a, countdownKey: o, contentKey: s }, c) => {
12444
12439
  let { Title: l, Description: u, inStack: d } = A_(), { buttonActions: f, linkActions: p, hasActions: m, handleActionClick: h } = O_(a, i), g = P_[n], _ = n === "loading", v = !_ && r != null && r > 0;
12445
12440
  return /* @__PURE__ */ Z("div", {
12446
12441
  ref: c,
@@ -12451,14 +12446,14 @@ var T_ = ({ onClose: e }) => {
12451
12446
  _ ? /* @__PURE__ */ X("div", {
12452
12447
  className: "flex-shrink-0",
12453
12448
  "aria-hidden": "true",
12454
- children: /* @__PURE__ */ X(Jo, {
12449
+ children: /* @__PURE__ */ X($o, {
12455
12450
  size: "small",
12456
12451
  className: "text-f1-foreground-inverse"
12457
12452
  })
12458
12453
  }) : g && /* @__PURE__ */ X("div", {
12459
12454
  className: "flex-shrink-0",
12460
12455
  "aria-hidden": "true",
12461
- children: /* @__PURE__ */ X(dr, {
12456
+ children: /* @__PURE__ */ X(br, {
12462
12457
  type: g,
12463
12458
  size: "sm"
12464
12459
  })
@@ -12496,7 +12491,7 @@ var T_ = ({ onClose: e }) => {
12496
12491
  I_.displayName = "F0Toast";
12497
12492
  //#endregion
12498
12493
  //#region src/elements/Toast/F0MessageToast.tsx
12499
- var L_ = (e) => e instanceof Element && e.closest("button, a") !== null, R_ = wc(({ avatar: e, sender: t, topic: n, message: r, moreCount: i = 0, onClick: a, duration: o, onClose: s, countdownKey: c, contentKey: l }, u) => {
12494
+ var L_ = (e) => e instanceof Element && e.closest("button, a") !== null, R_ = Tc(({ avatar: e, sender: t, topic: n, message: r, moreCount: i = 0, onClick: a, duration: o, onClose: s, countdownKey: c, contentKey: l }, u) => {
12500
12495
  let d = z(), { Title: f, Description: p, inStack: m } = A_(), h = () => {
12501
12496
  a?.(), s?.();
12502
12497
  }, g = o != null && o > 0;
@@ -12518,7 +12513,7 @@ var L_ = (e) => e instanceof Element && e.closest("button, a") !== null, R_ = wc
12518
12513
  children: [
12519
12514
  /* @__PURE__ */ X("div", {
12520
12515
  className: "flex-shrink-0",
12521
- children: /* @__PURE__ */ X(wo, {
12516
+ children: /* @__PURE__ */ X(To, {
12522
12517
  avatar: e,
12523
12518
  size: "md"
12524
12519
  })
@@ -12657,7 +12652,7 @@ var z_ = B("group/toast pointer-events-auto absolute left-0 right-0 top-0 flex w
12657
12652
  });
12658
12653
  }, $_ = (e) => {
12659
12654
  let { update: t } = w_();
12660
- Ac(function() {
12655
+ jc(function() {
12661
12656
  e.forEach((e, n) => {
12662
12657
  if (!e.data) return;
12663
12658
  let r = n >= X_ ? 0 : e.data.duration;
@@ -12666,7 +12661,7 @@ var z_ = B("group/toast pointer-events-auto absolute left-0 right-0 top-0 flex w
12666
12661
  }, [e, t]);
12667
12662
  }, ev = ({ label: e, isWindowBlurred: t, stackRef: n, belowStack: r, onHasToastsChange: i }) => {
12668
12663
  let { toasts: a } = w_(), o = q(null), s = a.filter((e) => e.transitionStatus !== "ending"), [c, l] = J(/* @__PURE__ */ new Set()), u = a.length > 0 && a.every((e) => e.transitionStatus === "ending" && c.has(e.id));
12669
- $_(s), kc(n, () => ({
12664
+ $_(s), Ac(n, () => ({
12670
12665
  isInUse: () => o.current?.hasAttribute("data-expanded") ?? !1,
12671
12666
  frontToastId: () => s[0]?.id
12672
12667
  }), [s]);
@@ -12759,7 +12754,7 @@ var z_ = B("group/toast pointer-events-auto absolute left-0 right-0 top-0 flex w
12759
12754
  mobile: "#f0-overlay-root",
12760
12755
  desktop: "#f0-overlay-root"
12761
12756
  } }) => {
12762
- let n = q(null), r = jc(We.subscribeRenderer, We.getActiveRendererId, () => null);
12757
+ let n = q(null), r = Mc(We.subscribeRenderer, We.getActiveRendererId, () => null);
12763
12758
  G(function() {
12764
12759
  let { id: e, release: t } = We.acquireRenderer();
12765
12760
  return n.current = e, t;
@@ -12773,7 +12768,7 @@ var z_ = B("group/toast pointer-events-auto absolute left-0 right-0 top-0 flex w
12773
12768
  a,
12774
12769
  t?.mobile,
12775
12770
  t?.desktop
12776
- ]), /* @__PURE__ */ Z(Y, { children: [i && o != null ? Nc(/* @__PURE__ */ X(Sc, { children: /* @__PURE__ */ X(av, {
12771
+ ]), /* @__PURE__ */ Z(Y, { children: [i && o != null ? Pc(/* @__PURE__ */ X(Cc, { children: /* @__PURE__ */ X(av, {
12777
12772
  messages: Wt,
12778
12773
  app: vt
12779
12774
  }) }, c), o) : null, e] });
@@ -12785,15 +12780,15 @@ var z_ = B("group/toast pointer-events-auto absolute left-0 right-0 top-0 flex w
12785
12780
  renderDataTestIdAttribute: l,
12786
12781
  hourCycle: o,
12787
12782
  newButtonStyles: u,
12788
- children: /* @__PURE__ */ X(As, {
12783
+ children: /* @__PURE__ */ X(Es, {
12789
12784
  ...a,
12790
12785
  children: /* @__PURE__ */ X(hn, {
12791
12786
  ...i,
12792
12787
  children: /* @__PURE__ */ X(Kn, {
12793
12788
  ...t,
12794
- children: /* @__PURE__ */ X(to, { children: /* @__PURE__ */ X(Je, {
12789
+ children: /* @__PURE__ */ X(no, { children: /* @__PURE__ */ X(Je, {
12795
12790
  initiallyEnabled: n,
12796
- children: /* @__PURE__ */ X(co, {
12791
+ children: /* @__PURE__ */ X(lo, {
12797
12792
  ...r,
12798
12793
  children: e
12799
12794
  })
@@ -12802,7 +12797,7 @@ var z_ = B("group/toast pointer-events-auto absolute left-0 right-0 top-0 flex w
12802
12797
  })
12803
12798
  })
12804
12799
  })
12805
- }), cv = Cc(null), lv = ({ children: e, fullScreen: t = !0 }) => {
12800
+ }), cv = wc(null), lv = ({ children: e, fullScreen: t = !0 }) => {
12806
12801
  let n = q(null), [r, i] = J(n.current);
12807
12802
  return Qn(() => {
12808
12803
  i(n.current);
@@ -12818,7 +12813,7 @@ var z_ = B("group/toast pointer-events-auto absolute left-0 right-0 top-0 flex w
12818
12813
  })]
12819
12814
  })
12820
12815
  });
12821
- }, uv = Cc(void 0), dv = () => Dc(uv), fv = ({ children: e, layout: t, link: n, privacyModeInitiallyEnabled: r, image: i, i18n: a, l10n: o, hourCycle: s, isDev: c = !1, dataCollectionStorageHandler: l, showExperimentalWarnings: u = !1, renderDataTestIdAttribute: d = !1, newButtonStyles: f = !1, formComponent: p, map: m }) => /* @__PURE__ */ X(sv, {
12816
+ }, uv = wc(void 0), dv = () => Oc(uv), fv = ({ children: e, layout: t, link: n, privacyModeInitiallyEnabled: r, image: i, i18n: a, l10n: o, hourCycle: s, isDev: c = !1, dataCollectionStorageHandler: l, showExperimentalWarnings: u = !1, renderDataTestIdAttribute: d = !1, newButtonStyles: f = !1, formComponent: p, map: m }) => /* @__PURE__ */ X(sv, {
12822
12817
  link: n,
12823
12818
  privacyModeInitiallyEnabled: r,
12824
12819
  image: i,
@@ -12831,9 +12826,9 @@ var z_ = B("group/toast pointer-events-auto absolute left-0 right-0 top-0 flex w
12831
12826
  newButtonStyles: f,
12832
12827
  children: /* @__PURE__ */ X(lv, {
12833
12828
  ...t,
12834
- children: /* @__PURE__ */ X(br, {
12829
+ children: /* @__PURE__ */ X(Sr, {
12835
12830
  handler: l,
12836
- children: /* @__PURE__ */ X(ha, { children: /* @__PURE__ */ X(lt, {
12831
+ children: /* @__PURE__ */ X(ga, { children: /* @__PURE__ */ X(lt, {
12837
12832
  ...m,
12838
12833
  children: /* @__PURE__ */ X(uv.Provider, {
12839
12834
  value: p,
@@ -12850,4 +12845,4 @@ var z_ = B("group/toast pointer-events-auto absolute left-0 right-0 top-0 flex w
12850
12845
  })
12851
12846
  });
12852
12847
  //#endregion
12853
- export { Za as AiChatTranslationsProvider, be as AreaChart, ko as Await, g as BarChart, it as BarChartSkeleton, Bt as CardSelectableContainer, p as CategoryBarChart, qi as ChatSpinner, Io as Chip, Ma as CollapsibleGroup, ae as ComboChart, wt as DATA_COLLECTION_URL_PARAMS, ct as DATA_COLLECTION_URL_PARAM_PREFIX, Fl as Dashboard, $t as DataChartEmptyStateView, fn as DataTestIdWrapper, yt as DndProvider, Ki as DropOverlay, $n as EmojiImage, pu as F0Accordion, Ke as F0ActionBar, _r as F0ActionItem, zr as F0AiChat, Ja as F0AiChatHeader, Ka as F0AiChatHistory, vr as F0AiChatProvider, ya as F0AiChatTextArea, $a as F0AiChatUsageLimitsButton, ga as F0AiFileAttachments, $i as F0AiFilePreviewsProvider, qr as F0AiFormRegistryProvider, Ia as F0AiInsightCard, Ya as F0AiMask, Pa as F0AiMessageSources, Xa as F0AiMessagesContainer, hr as F0AiPong, qa as F0AiProcessingOverlay, Wa as F0AiProposalCard, Na as F0AiTableCard, mc as F0Alert, Bg as F0AnalyticsDashboard, Zi as F0AudioPlayer, ii as F0AudioPlayerCard, ka as F0AuraVoiceAnimation, wo as F0Avatar, dr as F0AvatarAlert, so as F0AvatarCompany, cr as F0AvatarDate, fo as F0AvatarEmoji, go as F0AvatarFile, mo as F0AvatarIcon, Do as F0AvatarList, xo as F0AvatarModule, vo as F0AvatarPerson, yo as F0AvatarTeam, ru as F0BigNumber, Am as F0BookAMeetingCard, uo as F0Box, V as F0Button, Xr as F0ButtonDropdown, Hs as F0ButtonToggle, fa as F0CanvasCard, na as F0CanvasPanel, Kr as F0Card, $r as F0CardRow, pa as F0ChatComposer, ps as F0Checkbox, _u as F0ChipList, Qa as F0ClarifyingPanel, Kt as F0DataChart, ke as F0DatePicker, D as F0DatePickerInline, Em as F0DemoCard, Zr as F0Dialog, Te as F0DialogAlikeContext, b as F0DialogAlikeProvider, Ho as F0DialogContext, is as F0DialogProvider, _c as F0DocumentViewer, wu as F0Drawer, un as F0DurationInput, Bs as F0EventCatcherProvider, Om as F0FAQCard, yr as F0FileItem, Du as F0FilterPickerContent, d as F0Form, Vu as F0FormField, Tl as F0GridStack, Fa as F0HILActionConfirmation, m as F0Heading, H as F0Icon, Bi as F0Link, km as F0ModuleCard, en as F0NotesTextEditor, he as F0NotesTextEditorSkeleton, N as F0NumberInput, T as F0NumberInputInline, ur as F0OneIcon, wi as F0OneSwitch, hc as F0PdfViewer, fv as F0Provider, jm as F0QuestionCardMultiStep, pr as F0RichTextDisplay, te as F0RichTextEditor, _s as F0SearchInput, Ns as F0Select, F as F0SelectInline, Dd as F0Slider, Ud as F0TableOfContentPopover, Mo as F0TagAlert, Lo as F0TagBalance, Yo as F0TagCompany, Ko as F0TagDot, gs as F0TagList, Go as F0TagPerson, xs as F0TagRaw, Fo as F0TagStatus, bs as F0TagTeam, pc as F0Text, ce as F0TextAreaInput, L as F0TextAreaInputInline, Qi as F0TextInput, I as F0TextInputInline, ve as F0TimelineRow, yc as F0VideoPlayer, ud as F0WizardForm, hs as F1SearchBox, _ as FILE_TYPES, Rr as FileItem, ha as FormCardValueFormatterProvider, Ie as FunnelChartSkeleton, Co as GROUP_ID_SYMBOL, Eo as GROUP_KEY_SEPARATOR, Jt as GaugeChartSkeleton, cn as HeatmapChartSkeleton, Zl as HomeLayout, l as InlineFieldRow, Qt as InlineFieldRowList, ai as Input, Jl as Layout, _t as LineChart, He as LineChartSkeleton, at as MAX_URL_FILTER_VALUES, c as NotesTextEditor, Xt as NotesTextEditorSkeleton, pe as NumberInput, as as OneCalendar, ir as OneEllipsis, y as OneEmptyState, ks as OneFilterPicker, o as PieChart, rn as PieChartSkeleton, Sr as PongBall, Je as PrivacyModeProvider, pm as ProductBlankslate, qt as ProductCard, gm as ProductModal, vm as ProductWidget, mt as ProgressBarChart, ee as RadarChart, _e as RadarChartSkeleton, Or as RichTextDisplay, se as RichTextEditor, u as ScatterChartSkeleton, Yl as StandardLayout, Ep as SurveyAllQuestionsLoadingSkeleton, rm as SurveyAnsweringForm, vp as SurveyFormBuilder, sm as SurveySampleQuestion, Dp as SurveySteppedLoadingSkeleton, Cs as Tag, os as TagCounter, v as Textarea, Ba as ThreadItem, Ua as ThreadListSkeleton, ov as ToastProvider, Xl as TwoColumnLayout, w as UPLOAD_INPUT_ID, P as UpsellRequestResponseDialog, xm as UpsellingAlert, Cm as UpsellingBanner, E as UpsellingButton, Tm as UpsellingPopover, ne as VerticalBarChart, cs as WeekStartDay, Ta as WelcomeScreenCardsRow, bt as actionBarStatuses, va as actionItemStatuses, xr as adaptDataAdapterToInfiniteScroll, Ra as aiChatFileFromShowFilesItem, xa as aiChatFileFromUploadedFile, Sa as aiChatFilesFromMessage, wa as aiChatMessageText, ma as aiTranslations, bu as alertVariantOptions, su as audioPlayerSizes, Ql as avatarVariants, Le as buildDataCollectionUrlParams, pn as buildTranslations, ou as buttonDropdownModes, au as buttonDropdownSizes, iu as buttonDropdownVariants, jl as buttonSizes, dt as buttonToggleColors, ze as buttonToggleSizes, kt as buttonToggleVariants, Al as buttonVariants, mu as cardAlertVariants, Jr as cardImageAspectRatios, Nr as cardImageFits, or as cardImageSizes, di as cardLayouts, Ao as chartColorTokens, Ga as chatHistoryIndicators, La as chatThreadStatuses, Po as chipVariants, Jd as computeSectionEndIds, vc as configurePdfWorker, Va as contentTypes, Gt as createAtlaskitDriver, Ro as createDataSourceDefinition, ju as createF0FormDefinitionTester, Au as createF0FormTester, Ol as createPageLayoutBlock, kl as createPageLayoutBlockGroup, ba as createPersonMentionSource, xu as dataCollectionLocalStorageHandler, vu as datePickerInlineDismissReasons, yu as datepickerSizes, ao as defaultTranslations, Gr as defineAvailableForm, Ou as describeFormSchema, M as dialog, M as dialogs, Pt as drawers, Si as durationInputSizes, yi as durationUnits, ki as escapeUserText, ie as evaluateRenderIf, gn as experimental, Ur as f0FileItemSizes, ni as f0FormField, hi as fieldsToSeconds, Wd as flattenElements, vi as formatPlaybackTime, gd as forms, h as generateAnchorId, ts as getAnimationVariants, Pr as getDataCollectionStorageKey, Uo as getDataSourcePaginationType, rr as getEmojiLabel, Hi as getF0Config, Rs as getGranularityDefinition, Es as getGranularityDefinitions, Us as getGranularitySimpleDefinition, gt as getSchemaDefinition, js as granularityDefinitions, ea as hasF0Config, oi as inferFieldType, qd as injectSectionEnds, So as isInfiniteScrollPagination, To as isPageBasedPagination, Ni as isZodType, cu as linkVariants, _a as markdownRenderers, Tr as mergeDataCollectionFilters, oo as modules, Oa as oneIconSizes, bo as paginationTotals, Yt as parseDataCollectionUrlParams, gc as pdfScales, Lt as predefinedPresets, Ls as rangeSeparator, Er as readDataCollectionStorage, Kd as reconstructElements, Ar as resolveDataCollectionFilters, ys as resolveGranularityDefinition, Dt as resolveItemNeighbors, Qe as resolveWindowNeighbors, Wi as secondsToFields, Ii as secondsToVisibleFields, _d as selectInlineDismissReasons, Oe as selectSizes, Me as selectVariants, ln as setDataCollectionUrlParams, vd as sliderTooltipModes, om as surveyDraftSaveTriggers, Ue as syncDataCollectionUrlParams, jd as tagDotColors, kd as timelineRowApproverStatuses, Od as timelineRowStatuses, Ad as timelineRowTagVariants, Rt as toasts, ui as unwrapZodSchema, Ha as usageLimitsPopoverSides, wr as useAiChat, Ea as useAiChatTranslations, xi as useAudioPlayer, ja as useCanvasEntity, Aa as useChatHistory, ho as useData, Os as useDataSource, n as useDataSourceItemNavigation, Fi as useDerivedTranscription, Ot as useDndEvents, zt as useDraggable, Ge as useDroppableList, tr as useEmojiConfetti, Yr as useF0AiFormRegistry, rs as useF0Dialog, A as useF0DialogAlikeContext, ge as useF0Form, Et as useF0FormDefinition, Ca as useFormCardValueFormatter, dv as useFormComponent, ns as useGroups, Vg as useIsDesktop, Hg as useIsMobile, Ut as useItemNeighbors, tt as usePrivacyMode, er as useReducedMotion, a as useSchemaDefinition, zo as useSelectable, za as useSetFormCardValueFormatter, Da as useToolCallId, eo as useXRay, R as withDataTestId, an as writeDataCollectionStorage };
12848
+ export { Qa as AiChatTranslationsProvider, be as AreaChart, Ao as Await, g as BarChart, it as BarChartSkeleton, Bt as CardSelectableContainer, p as CategoryBarChart, Ki as ChatSpinner, Ro as Chip, Na as CollapsibleGroup, ae as ComboChart, wt as DATA_COLLECTION_URL_PARAMS, ct as DATA_COLLECTION_URL_PARAM_PREFIX, Il as Dashboard, $t as DataChartEmptyStateView, fn as DataTestIdWrapper, yt as DndProvider, Gi as DropOverlay, $n as EmojiImage, mu as F0Accordion, Ke as F0ActionBar, _r as F0ActionItem, Ur as F0AiChat, Ya as F0AiChatHeader, qa as F0AiChatHistory, vr as F0AiChatProvider, ba as F0AiChatTextArea, eo as F0AiChatUsageLimitsButton, _a as F0AiFileAttachments, Zi as F0AiFilePreviewsProvider, Yr as F0AiFormRegistryProvider, La as F0AiInsightCard, Xa as F0AiMask, Fa as F0AiMessageSources, Za as F0AiMessagesContainer, hr as F0AiPong, Ja as F0AiProcessingOverlay, Ga as F0AiProposalCard, Pa as F0AiTableCard, hc as F0Alert, Bg as F0AnalyticsDashboard, Ai as F0AudioPlayer, na as F0AudioPlayerCard, Aa as F0AuraVoiceAnimation, To as F0Avatar, br as F0AvatarAlert, co as F0AvatarCompany, jr as F0AvatarDate, po as F0AvatarEmoji, _o as F0AvatarFile, ho as F0AvatarIcon, Oo as F0AvatarList, So as F0AvatarModule, yo as F0AvatarPerson, bo as F0AvatarTeam, iu as F0BigNumber, Am as F0BookAMeetingCard, fo as F0Box, V as F0Button, da as F0ButtonDropdown, Yo as F0ButtonToggle, pa as F0CanvasCard, ea as F0CanvasPanel, Jr as F0Card, ti as F0CardRow, ma as F0ChatComposer, _s as F0Checkbox, _u as F0ChipList, $a as F0ClarifyingPanel, Kt as F0DataChart, ke as F0DatePicker, D as F0DatePickerInline, Em as F0DemoCard, $r as F0Dialog, Te as F0DialogAlikeContext, b as F0DialogAlikeProvider, zo as F0DialogContext, us as F0DialogProvider, vc as F0DocumentViewer, wu as F0Drawer, un as F0DurationInput, zs as F0EventCatcherProvider, Om as F0FAQCard, yr as F0FileItem, Du as F0FilterPickerContent, d as F0Form, Vu as F0FormField, El as F0GridStack, Ia as F0HILActionConfirmation, m as F0Heading, H as F0Icon, oi as F0Link, km as F0ModuleCard, en as F0NotesTextEditor, he as F0NotesTextEditorSkeleton, N as F0NumberInput, T as F0NumberInputInline, ur as F0OneIcon, wi as F0OneSwitch, gc as F0PdfViewer, fv as F0Provider, jm as F0QuestionCardMultiStep, fr as F0RichTextDisplay, te as F0RichTextEditor, ys as F0SearchInput, Ms as F0Select, F as F0SelectInline, Dd as F0Slider, Ud as F0TableOfContentPopover, Wo as F0TagAlert, Po as F0TagBalance, ss as F0TagCompany, is as F0TagDot, Rs as F0TagList, Io as F0TagPerson, Us as F0TagRaw, Lo as F0TagStatus, as as F0TagTeam, mc as F0Text, ce as F0TextAreaInput, L as F0TextAreaInputInline, Xi as F0TextInput, I as F0TextInputInline, ve as F0TimelineRow, bc as F0VideoPlayer, ud as F0WizardForm, vs as F1SearchBox, _ as FILE_TYPES, Vr as FileItem, ga as FormCardValueFormatterProvider, Ie as FunnelChartSkeleton, wo as GROUP_ID_SYMBOL, Do as GROUP_KEY_SEPARATOR, Jt as GaugeChartSkeleton, cn as HeatmapChartSkeleton, Ql as HomeLayout, l as InlineFieldRow, Qt as InlineFieldRowList, ci as Input, Yl as Layout, _t as LineChart, He as LineChartSkeleton, at as MAX_URL_FILTER_VALUES, c as NotesTextEditor, Xt as NotesTextEditorSkeleton, pe as NumberInput, ds as OneCalendar, ir as OneEllipsis, y as OneEmptyState, ks as OneFilterPicker, o as PieChart, rn as PieChartSkeleton, Tr as PongBall, Je as PrivacyModeProvider, pm as ProductBlankslate, qt as ProductCard, gm as ProductModal, vm as ProductWidget, mt as ProgressBarChart, ee as RadarChart, _e as RadarChartSkeleton, Fr as RichTextDisplay, se as RichTextEditor, u as ScatterChartSkeleton, Xl as StandardLayout, Ep as SurveyAllQuestionsLoadingSkeleton, rm as SurveyAnsweringForm, vp as SurveyFormBuilder, sm as SurveySampleQuestion, Dp as SurveySteppedLoadingSkeleton, Gs as Tag, Hs as TagCounter, v as Textarea, Va as ThreadItem, Wa as ThreadListSkeleton, ov as ToastProvider, Zl as TwoColumnLayout, w as UPLOAD_INPUT_ID, P as UpsellRequestResponseDialog, xm as UpsellingAlert, Cm as UpsellingBanner, E as UpsellingButton, Tm as UpsellingPopover, ne as VerticalBarChart, bs as WeekStartDay, Ea as WelcomeScreenCardsRow, bt as actionBarStatuses, ya as actionItemStatuses, wr as adaptDataAdapterToInfiniteScroll, za as aiChatFileFromShowFilesItem, Sa as aiChatFileFromUploadedFile, Ca as aiChatFilesFromMessage, Ta as aiChatMessageText, ha as aiTranslations, bu as alertVariantOptions, cu as audioPlayerSizes, $l as avatarVariants, Le as buildDataCollectionUrlParams, pn as buildTranslations, su as buttonDropdownModes, ou as buttonDropdownSizes, au as buttonDropdownVariants, Ml as buttonSizes, dt as buttonToggleColors, ze as buttonToggleSizes, kt as buttonToggleVariants, jl as buttonVariants, Ri as cardAlertVariants, Xr as cardImageAspectRatios, Lr as cardImageFits, or as cardImageSizes, pi as cardLayouts, ls as chartColorTokens, Ka as chatHistoryIndicators, Ra as chatThreadStatuses, Ko as chipVariants, Jd as computeSectionEndIds, yc as configurePdfWorker, Ha as contentTypes, Gt as createAtlaskitDriver, No as createDataSourceDefinition, ju as createF0FormDefinitionTester, Au as createF0FormTester, kl as createPageLayoutBlock, Al as createPageLayoutBlockGroup, xa as createPersonMentionSource, xu as dataCollectionLocalStorageHandler, vu as datePickerInlineDismissReasons, yu as datepickerSizes, oo as defaultTranslations, qr as defineAvailableForm, Ou as describeFormSchema, M as dialog, M as dialogs, Pt as drawers, Si as durationInputSizes, yi as durationUnits, ki as escapeUserText, ie as evaluateRenderIf, gn as experimental, Kr as f0FileItemSizes, ai as f0FormField, _i as fieldsToSeconds, Wd as flattenElements, aa as formatPlaybackTime, gd as forms, h as generateAnchorId, rs as getAnimationVariants, Rr as getDataCollectionStorageKey, Vo as getDataSourcePaginationType, rr as getEmojiLabel, Vi as getF0Config, Is as getGranularityDefinition, ws as getGranularityDefinitions, Vs as getGranularitySimpleDefinition, gt as getSchemaDefinition, As as granularityDefinitions, Qi as hasF0Config, li as inferFieldType, qd as injectSectionEnds, Co as isInfiniteScrollPagination, Eo as isPageBasedPagination, ji as isZodType, lu as linkVariants, va as markdownRenderers, Ar as mergeDataCollectionFilters, so as modules, ka as oneIconSizes, xo as paginationTotals, Yt as parseDataCollectionUrlParams, _c as pdfScales, Lt as predefinedPresets, Fs as rangeSeparator, Mr as readDataCollectionStorage, Kd as reconstructElements, Ir as resolveDataCollectionFilters, xs as resolveGranularityDefinition, Dt as resolveItemNeighbors, Qe as resolveWindowNeighbors, Ui as secondsToFields, Fi as secondsToVisibleFields, _d as selectInlineDismissReasons, Oe as selectSizes, Me as selectVariants, ln as setDataCollectionUrlParams, vd as sliderTooltipModes, om as surveyDraftSaveTriggers, Ue as syncDataCollectionUrlParams, jd as tagDotColors, kd as timelineRowApproverStatuses, Od as timelineRowStatuses, Ad as timelineRowTagVariants, Rt as toasts, di as unwrapZodSchema, Ua as usageLimitsPopoverSides, Or as useAiChat, Da as useAiChatTranslations, Qr as useAudioPlayer, Ma as useCanvasEntity, ja as useChatHistory, go as useData, Ds as useDataSource, n as useDataSourceItemNavigation, vi as useDerivedTranscription, Ot as useDndEvents, zt as useDraggable, Ge as useDroppableList, tr as useEmojiConfetti, Zr as useF0AiFormRegistry, cs as useF0Dialog, A as useF0DialogAlikeContext, ge as useF0Form, Et as useF0FormDefinition, wa as useFormCardValueFormatter, dv as useFormComponent, os as useGroups, Vg as useIsDesktop, Hg as useIsMobile, Ut as useItemNeighbors, tt as usePrivacyMode, er as useReducedMotion, a as useSchemaDefinition, Fo as useSelectable, Ba as useSetFormCardValueFormatter, Oa as useToolCallId, to as useXRay, R as withDataTestId, an as writeDataCollectionStorage };