@factorialco/f0-react 13.2.1 → 13.3.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 (60) hide show
  1. package/dist/{ArchiveThumbnail-BGWiJFfA.js → ArchiveThumbnail-C983HhkS.js} +3 -3
  2. package/dist/{ArchiveViewer-gaakCGJ3.js → ArchiveViewer-FbFCVvzg.js} +5 -5
  3. package/dist/{ChatPostComposerDialog-GQrKR74F.js → ChatPostComposerDialog-nCBk-R6w.js} +3 -3
  4. package/dist/{CoachmarkProvider-Bdo8Y_D0.js → CoachmarkProvider-ClZ21hwe.js} +22569 -22569
  5. package/dist/{CodeThumbnail-Bm_GaLxm.js → CodeThumbnail-DC6Fapz1.js} +1 -1
  6. package/dist/{CodeViewer-Ia0NwKX_.js → CodeViewer-BiPZi_1v.js} +6 -6
  7. package/dist/{DocumentToolbar-D4KElA1V.js → DocumentToolbar-D8UEbOgN.js} +5 -5
  8. package/dist/{DocxViewer-C6otSnj3.js → DocxViewer-DWcuVQ-p.js} +3 -3
  9. package/dist/{F0AiProcessingOverlay-DMkI1tRu.js → F0AiProcessingOverlay-DZwUVW9l.js} +79 -79
  10. package/dist/{F0Alert-D664MgOC.js → F0Alert-B0X1NQZt.js} +13 -13
  11. package/dist/F0AudioPlayer-Bm0gqQE_.js +2 -0
  12. package/dist/{F0Button-Bo-Zw0Zx.js → F0Button-D77FmQ8C.js} +3 -3
  13. package/dist/{F0CanvasPanel-BWbAs38E.js → F0CanvasPanel-CJhaPJQu.js} +8176 -8176
  14. package/dist/{F0DocumentViewer-D8VcE-pQ.js → F0DocumentViewer-Bh3YTPo0.js} +4 -4
  15. package/dist/{F0DocumentViewer-DGk2W39u.js → F0DocumentViewer-BxLI6uSI.js} +1 -1
  16. package/dist/{F0Icon-P9uOVsGz.js → F0Icon-BNbi0D6w.js} +1 -1
  17. package/dist/{F0Map-C510FLet.js → F0Map-De-tzoLR.js} +45 -45
  18. package/dist/{F0Select-CzWp91j0.js → F0Select-B7ieIoT3.js} +8 -8
  19. package/dist/{F0Text-BG36S9Xx.js → F0Text-DviQkBfb.js} +2 -2
  20. package/dist/{F0VideoPlayer-C_fMkaxj.js → F0VideoPlayer-DUurEQQl.js} +8 -8
  21. package/dist/F0VideoPlayer-DrXizQ53.js +1 -0
  22. package/dist/{HtmlThumbnail-BiphE7Y5.js → HtmlThumbnail-CIVF0Blj.js} +1 -1
  23. package/dist/{HtmlViewer-DZHyuKz5.js → HtmlViewer-BOO3_ZIO.js} +9 -9
  24. package/dist/{LayoutGroup-DLtALSqH.js → LayoutGroup-tF3JJB3u.js} +1 -1
  25. package/dist/{Map-YloQD9VT.js → Map-CLpAJaWO.js} +10 -10
  26. package/dist/{PdfThumbnail-9X44csq5.js → PdfThumbnail-D7uDK81R.js} +1 -1
  27. package/dist/{PdfViewer-DtdRvpvP.js → PdfViewer-DsgPEXkU.js} +8 -8
  28. package/dist/{SandboxedHtmlFrame-DeAt348C.js → SandboxedHtmlFrame-B1M4shqP.js} +2 -2
  29. package/dist/{SheetViewer-_iq4uwXW.js → SheetViewer-CUX493Vk.js} +5 -5
  30. package/dist/{TextViewer-C7xx-4YQ.js → TextViewer-BmzjNF6r.js} +4 -4
  31. package/dist/ai.d.ts +3 -3
  32. package/dist/ai.js +4 -4
  33. package/dist/component-status.js +1 -1
  34. package/dist/{dist-C_W2CLtJ.js → dist-Bh73WT95.js} +4 -4
  35. package/dist/{dist-Ol7JA7z9.js → dist-ChMbkCVF.js} +1 -1
  36. package/dist/{dist-Do5FlVaY.js → dist-DgXiI4WF.js} +1 -1
  37. package/dist/experimental.d.ts +200 -7
  38. package/dist/experimental.js +5628 -4904
  39. package/dist/{exports-CebiqGLM.d.ts → exports-CcA3MJIQ.d.ts} +1 -1
  40. package/dist/f0.d.ts +4 -4
  41. package/dist/f0.js +761 -761
  42. package/dist/{highlight-izD68Eru.js → highlight-yZiopYgr.js} +1 -1
  43. package/dist/{i18n-provider-C_PTccYX.js → i18n-provider-DOsrN9vZ.js} +1 -1
  44. package/dist/{i18n-provider-defaults-JkDaKXzI.js → i18n-provider-defaults-DW-ORCam.js} +28 -0
  45. package/dist/{i18n-provider-defaults-DD3oVvPp.d.ts → i18n-provider-defaults-TuWORJa7.d.ts} +28 -0
  46. package/dist/i18n-provider-defaults.d.ts +1 -1
  47. package/dist/i18n-provider-defaults.js +1 -1
  48. package/dist/{index-CpTdsnxc.d.ts → index-CVwiBJ7Q.d.ts} +1 -1
  49. package/dist/{maplibre-CHP-aU_V.js → maplibre-AHkgKCQi.js} +1 -1
  50. package/dist/{pdfWorker-kyGjjW4X.js → pdfWorker-DcPe6nxA.js} +1 -1
  51. package/dist/{popover-DhWTWc7-.js → popover-CJEgjHEo.js} +1 -1
  52. package/dist/{scrollarea-pyluD6aV.js → scrollarea-CpmGfD8i.js} +3 -3
  53. package/dist/{skeleton-CyLv1Ytt.js → skeleton-B89BXlEW.js} +1 -1
  54. package/dist/styles.css +1 -1
  55. package/dist/{toolbarStyles-stzlyka-.js → toolbarStyles-BHbEKlGW.js} +1 -1
  56. package/dist/{types-ei71RXBT.d.ts → types-DJqxacZz.d.ts} +2 -2
  57. package/dist/{useData-BmoyjoRL.js → useData-DjfhwI-2.js} +6 -6
  58. package/package.json +1 -1
  59. package/dist/F0AudioPlayer-CgoLw3-_.js +0 -2
  60. package/dist/F0VideoPlayer-BDUW3ILk.js +0 -1
package/dist/f0.js CHANGED
@@ -1,27 +1,27 @@
1
1
  import { o as e } from "./rolldown-runtime-BItFwnF5.js";
2
- import { $n as t, A as n, An as r, Bn as i, Br as a, C as o, Cn as s, D as c, Dn as l, E as u, En as d, Fn as f, Fr as p, Ft as m, Gn as h, Gr as g, Gt as _, Hr as v, Ht as y, In as b, Ir as x, It as S, Jn as C, Jr as w, Jt as T, Kn as E, Kr as D, Kt as O, Ln as k, Lr as A, Lt as j, M, Mn as N, N as P, Nn as F, Nr as ee, O as te, On as ne, P as I, Pn as re, Pt as ie, Qn as ae, Qt as oe, Rn as se, Rr as ce, Rt as le, S as ue, Sn as de, Sr as fe, St as pe, T as me, Tn as he, Un as ge, Ur as _e, Ut as ve, Vn as ye, Vr as be, Vt as xe, Wn as Se, Wt as Ce, X as we, Xn as Te, Yn as Ee, Yt as De, Z as Oe, Zn as ke, Zt as Ae, _ as je, _n as Me, _r as Ne, _t as Pe, ar as Fe, b as Ie, bn as Le, br as Re, bt as ze, c as Be, ci as Ve, cn as He, cr as Ue, d as We, dn as Ge, dr as Ke, ei as qe, en as Je, er as Ye, f as Xe, fn as Ze, fr as Qe, g as $e, gn as et, gr as tt, gt as nt, h as rt, hn as it, hr as at, ht as ot, i as st, ir as ct, j as lt, jn as ut, k as dt, kn as ft, kt as pt, l as mt, li as ht, ln as gt, lr as _t, mn as vt, mr as yt, ni as bt, nn as xt, nr as St, on as Ct, or as wt, ot as Tt, p as Et, pi as Dt, pn as Ot, pr as kt, qn as At, qr as jt, qt as Mt, rn as Nt, rr as Pt, s as Ft, sn as It, sr as Lt, t as Rt, ti as zt, tn as Bt, tr as Vt, u as Ht, ui as Ut, un as Wt, ur as Gt, ut as Kt, v as qt, vn as Jt, vr as Yt, vt as Xt, w as Zt, wn as Qt, x as $t, xn as en, xr as tn, xt as nn, y as rn, yn as an, yr as on, yt as sn, zn as cn, zt as ln } from "./CoachmarkProvider-Bdo8Y_D0.js";
3
- import { a as L, i as un, n as dn, o as fn, r as R, t as pn } from "./i18n-provider-C_PTccYX.js";
4
- import { n as mn, t as z } from "./skeleton-CyLv1Ytt.js";
2
+ import { $r as t, $t as n, A as r, An as i, Ar as a, Bn as o, Bt 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, Fn as _, Ft as v, Gn as y, Gt as b, Hn as x, Ht as S, In as C, It as w, Jn as T, Jr as E, Jt as D, Kn as O, Kr as k, Kt as A, Ln as j, Lt as M, M as N, Mn as P, Mr as F, N as I, Nn as ee, Nr as te, O as L, On as ne, Or as re, P as ie, Pn as ae, Qn as oe, Qr as se, Qt as ce, Rn as le, Rt as ue, S as de, Sn as fe, Sr as pe, St as me, T as he, Tn as ge, Tr as _e, Un as ve, Ut as ye, Vn as be, Wn as xe, Wr as Se, Wt as Ce, X as we, Xn as Te, Xt as Ee, Yn as De, Yr as Oe, Yt as ke, Z as Ae, Zn as je, Zr as Me, _ as Ne, _r as Pe, _t as Fe, ai as Ie, ar as Le, b as Re, bi as ze, br as Be, bt as Ve, c as He, cn as Ue, cr as We, d as Ge, di as Ke, dn as qe, dr as Je, ei as Ye, er as Xe, f as Ze, fi as Qe, fr as $e, g as et, gr as tt, gt as nt, h as rt, hr as it, ht as at, i as ot, ii as st, in as ct, ir as lt, j as ut, jn as dt, jr as ft, k as pt, kn as mt, kr as ht, kt as gt, l as _t, ln as vt, lr as yt, mr as bt, ni as xt, nn as St, nr as Ct, or as wt, ot as Tt, p as Et, pi as Dt, pr as Ot, qn as kt, qr as At, qt as jt, ri as Mt, rn as Nt, rr as Pt, s as Ft, sn as It, sr as Lt, t as Rt, tn as zt, tr as Bt, u as Vt, un as Ht, ur as Ut, ut as Wt, v as Gt, vr as Kt, vt as qt, w as Jt, wi as Yt, wn as Xt, wr as Zt, x as Qt, xi as $t, xr as en, xt as tn, y as nn, yi as rn, yr as an, yt as on, zn as sn, zt as cn } from "./CoachmarkProvider-ClZ21hwe.js";
3
+ import { a as R, i as ln, n as un, o as dn, r as z, t as fn } from "./i18n-provider-DOsrN9vZ.js";
4
+ import { n as pn, t as mn } from "./skeleton-B89BXlEW.js";
5
5
  import { A as hn, C as gn, D as _n, F as vn, I as yn, L as B, M as bn, N as xn, O as Sn, P as Cn, R as wn, S as Tn, _ as En, b as Dn, c as On, f as kn, g as An, h as jn, j as Mn, k as Nn, l as Pn, m as Fn, p as In, v as Ln, w as Rn, x as zn, y as Bn } from "./tooltip-BX4dSfeL.js";
6
- import { A as Vn, M as Hn, N as Un, U as Wn, b as Gn, f as Kn, h as qn, j as Jn, m as Yn, n as Xn, p as Zn, r as Qn, t as V, w as $n, wt as er, y as tr, z as nr } from "./F0Button-Bo-Zw0Zx.js";
7
- import { A as rr, C as ir, D as ar, E as or, F as sr, I as cr, L as lr, M as ur, N as dr, O as fr, P as pr, R as mr, S as hr, T as gr, _ as _r, a as vr, b as yr, c as br, d as xr, f as Sr, g as Cr, h as wr, i as Tr, j as Er, k as Dr, l as Or, m as kr, n as Ar, o as jr, p as Mr, r as Nr, s as Pr, t as Fr, u as Ir, v as Lr, w as Rr, x as zr, y as Br, z as Vr } from "./F0AiProcessingOverlay-DMkI1tRu.js";
8
- import { $t as Hr, Ac as Ur, Ao as Wr, As as Gr, B as Kr, Ba as qr, Bc as Jr, Br as Yr, Cc as Xr, Ci as Zr, Cn as Qr, Di as $r, Dr as ei, Ds as ti, Ei as ni, Er as ri, F as ii, Gr as ai, I as oi, Jr as si, Kr as ci, L as li, Lc as ui, Lo as di, Ls as fi, M as pi, N as mi, Ns as hi, Oi as gi, Or as _i, P as vi, Qo as yi, R as bi, Rs as xi, Sc as Si, Si as Ci, Sn as wi, Tc as Ti, Ti as Ei, Tr as Di, Uo as Oi, Us as ki, Wr as Ai, Xa as ji, Xr as Mi, Za as Ni, _c as Pi, _i as Fi, _n as Ii, _r as Li, ac as Ri, an as zi, bc as Bi, bi as Vi, bn as Hi, bo as Ui, br as Wi, bs as Gi, cn as Ki, co as qi, di as Ji, do as Yi, dr as Xi, fr as Zi, gi as Qi, gr as $i, hi as ea, ho as ta, hr as na, ii as ra, in as ia, js as aa, ko as oa, kr as sa, lc as ca, li as la, ln as ua, mi as da, mo as fa, mr as pa, ms as ma, n as ha, ni as ga, nn as _a, nt as va, oi as ya, po as ba, pr as xa, ri as Sa, rn as Ca, si as wa, sn as Ta, t as Ea, tn as Da, tt as Oa, uc as ka, ui as Aa, vc as ja, vi as Ma, vn as Na, wi as Pa, wr as Fa, xc as Ia, xi as La, xn as Ra, yc as za, yi as Ba, yn as Va, yo as Ha, yr as Ua, yt as Wa, z as Ga, zo as Ka, zr as qa } from "./F0CanvasPanel-BWbAs38E.js";
9
- import { a as Ja, i as Ya, n as Xa, o as Za, r as Qa, t as H } from "./F0Icon-P9uOVsGz.js";
10
- import { t as $a } from "./i18n-provider-defaults-JkDaKXzI.js";
11
- import { A as eo, C as to, D as no, H as ro, N as io, S as ao, U as oo, a as so, b as co, f as lo, g as uo, h as fo, i as po, k as mo, l as ho, m as go, n as _o, r as vo, t as yo, u as bo } from "./useData-BmoyjoRL.js";
12
- import { $ as xo, At as So, B as Co, C as wo, Ct as To, En as Eo, Er as Do, Et as Oo, Ft as ko, G as Ao, H as jo, I as Mo, K as No, Lt as Po, Mt as Fo, Nn as Io, Nt as Lo, Ot as Ro, Pt as zo, Q as Bo, R as Vo, Sr as Ho, Tn as Uo, Tr as Wo, Tt as Go, U as Ko, V as qo, W as Jo, X as Yo, Y as Xo, _ as Zo, _t as Qo, a as $o, ar as es, br as ts, c as ns, ct as rs, en as is, et as as, fr as os, g as ss, gt as cs, h as ls, ht as us, i as ds, jt as fs, kt as ps, l as ms, lr as hs, m as gs, mt as _s, nn as vs, o as ys, p as bs, pt as xs, q as Ss, r as Cs, s as ws, sr as Ts, st as Es, t as Ds, tt as Os, u as ks, v as As, wn as js, wr as Ms, wt as Ns, xr as Ps, xt as Fs, yt as Is, z as Ls } from "./F0Select-CzWp91j0.js";
6
+ import { A as Vn, M as Hn, N as Un, U as Wn, b as Gn, f as Kn, h as qn, j as Jn, m as Yn, n as Xn, p as Zn, r as Qn, t as V, w as $n, wt as er, y as tr, z as nr } from "./F0Button-D77FmQ8C.js";
7
+ import { A as rr, C as ir, D as ar, E as or, F as sr, I as cr, L as lr, M as ur, N as dr, O as fr, P as pr, R as mr, S as hr, T as gr, _ as _r, a as vr, b as yr, c as br, d as xr, f as Sr, g as Cr, h as wr, i as Tr, j as Er, k as Dr, l as Or, m as kr, n as Ar, o as jr, p as Mr, r as Nr, s as Pr, t as Fr, u as Ir, v as Lr, w as Rr, x as zr, y as Br, z as Vr } from "./F0AiProcessingOverlay-DZwUVW9l.js";
8
+ import { $t as Hr, Ao as Ur, As as Wr, B as Gr, Ba as Kr, Br as qr, Cc as Jr, Ci as Yr, Cn as Xr, Di as Zr, Dr as Qr, Ds as $r, Ec as ei, Ei as ti, Er as ni, F as ri, Gr as ii, I as ai, Jr as oi, Kr as si, L as ci, Lo as li, Ls as ui, M as di, N as fi, Ns as pi, Oi as mi, Or as hi, P as gi, Qo as _i, R as vi, Rc as yi, Rs as bi, Sc as xi, Si, Sn as Ci, Ti as wi, Tr as Ti, Uo as Ei, Us as Di, Vc as Oi, Wr as ki, Xa as Ai, Xr as ji, Za as Mi, _i as Ni, _n as Pi, _r as Fi, an as Ii, bc as Li, bi as Ri, bn as zi, bo as Bi, br as Vi, bs as Hi, cn as Ui, co as Wi, dc as Gi, di as Ki, do as qi, dr as Ji, fr as Yi, gi as Xi, gr as Zi, hi as Qi, ho as $i, hr as ea, ii as ta, in as na, jc as ra, js as ia, ko as aa, kr as oa, li as sa, ln as ca, mi as la, mo as ua, mr as da, ms as fa, n as pa, ni as ma, nn as ha, nt as ga, oc as _a, oi as va, po as ya, pr as ba, ri as xa, rn as Sa, si as Ca, sn as wa, t as Ta, tn as Ea, tt as Da, uc as Oa, ui as ka, vc as Aa, vi as ja, vn as Ma, wc as Na, wi as Pa, wr as Fa, xc as Ia, xi as La, xn as Ra, yc as za, yi as Ba, yn as Va, yo as Ha, yr as Ua, yt as Wa, z as Ga, zo as Ka, zr as qa } from "./F0CanvasPanel-CJhaPJQu.js";
9
+ import { a as Ja, i as Ya, n as Xa, o as Za, r as Qa, t as H } from "./F0Icon-BNbi0D6w.js";
10
+ import { t as $a } from "./i18n-provider-defaults-DW-ORCam.js";
11
+ import { A as eo, C as to, D as no, H as ro, N as io, S as ao, U as oo, a as so, b as co, f as lo, g as uo, h as fo, i as po, k as mo, l as ho, m as go, n as _o, r as vo, t as yo, u as bo } from "./useData-DjfhwI-2.js";
12
+ import { $ as xo, At as So, B as Co, C as wo, Ct as To, En as Eo, Er as Do, Et as Oo, Ft as ko, G as Ao, H as jo, I as Mo, K as No, Lt as Po, Mt as Fo, Nn as Io, Nt as Lo, Ot as Ro, Pt as zo, Q as Bo, R as Vo, Sr as Ho, Tn as Uo, Tr as Wo, Tt as Go, U as Ko, V as qo, W as Jo, X as Yo, Y as Xo, _ as Zo, _t as Qo, a as $o, ar as es, br as ts, c as ns, ct as rs, en as is, et as as, fr as os, g as ss, gt as cs, h as ls, ht as us, i as ds, jt as fs, kt as ps, l as ms, lr as hs, m as gs, mt as _s, nn as vs, o as ys, p as bs, pt as xs, q as Ss, r as Cs, s as ws, sr as Ts, st as Es, t as Ds, tt as Os, u as ks, v as As, wn as js, wr as Ms, wt as Ns, xr as Ps, xt as Fs, yt as Is, z as Ls } from "./F0Select-B7ieIoT3.js";
13
13
  import { t as Rs } from "./Check-DAp9gCRh.js";
14
- import { a as zs } from "./dist-Do5FlVaY.js";
14
+ import { a as zs } from "./dist-DgXiI4WF.js";
15
15
  import { t as Bs } from "./Ellipsis-CBouJQYY.js";
16
16
  import { t as Vs } from "./LockLocked-gdodYvT_.js";
17
17
  import { t as Hs } from "./purify.es-ZpfdAuNV.js";
18
- import { A as Us, B as Ws, H as Gs, L as Ks, M as qs, N as Js, P as Ys, R as Xs, a as Zs, ft as Qs, i as $s, j as ec, k as tc, t as nc, z as rc } from "./popover-DhWTWc7-.js";
19
- import { n as ic, r as ac } from "./scrollarea-pyluD6aV.js";
20
- import { t as oc } from "./F0Text-BG36S9Xx.js";
21
- import { t as sc } from "./F0Alert-D664MgOC.js";
22
- import { n as cc, r as lc, t as uc } from "./F0DocumentViewer-D8VcE-pQ.js";
18
+ import { A as Us, B as Ws, H as Gs, L as Ks, M as qs, N as Js, P as Ys, R as Xs, a as Zs, ft as Qs, i as $s, j as ec, k as tc, t as nc, z as rc } from "./popover-CJEgjHEo.js";
19
+ import { n as ic, r as ac } from "./scrollarea-CpmGfD8i.js";
20
+ import { t as oc } from "./F0Text-DviQkBfb.js";
21
+ import { t as sc } from "./F0Alert-B0X1NQZt.js";
22
+ import { n as cc, r as lc, t as uc } from "./F0DocumentViewer-Bh3YTPo0.js";
23
23
  import { t as dc } from "./pdfWorkerConfig-BwllKt1K.js";
24
- import { t as fc } from "./F0VideoPlayer-C_fMkaxj.js";
24
+ import { t as fc } from "./F0VideoPlayer-DUurEQQl.js";
25
25
  import * as U from "react";
26
26
  import pc, { Children as mc, Fragment as hc, createContext as gc, forwardRef as _c, isValidElement as vc, memo as yc, useCallback as W, useContext as bc, useEffect as G, useId as xc, useImperativeHandle as Sc, useLayoutEffect as Cc, useMemo as K, useRef as q, useState as J, useSyncExternalStore as wc } from "react";
27
27
  import { Fragment as Y, jsx as X, jsxs as Z } from "react/jsx-runtime";
@@ -45,14 +45,14 @@ var Oc = {
45
45
  className: "h-full @5xl:h-auto [&>div]:h-full",
46
46
  children: e
47
47
  }, t));
48
- return /* @__PURE__ */ X(Ui, {
48
+ return /* @__PURE__ */ X(Bi, {
49
49
  layout: "home",
50
50
  children: /* @__PURE__ */ Z("div", {
51
51
  ref: r,
52
52
  className: "@container",
53
53
  children: [/* @__PURE__ */ Z("div", {
54
54
  className: "flex flex-col gap-6 px-5 pt-4 @md:pt-2 @5xl:hidden",
55
- children: [/* @__PURE__ */ X(bt, {
55
+ children: [/* @__PURE__ */ X(Dt, {
56
56
  columns: Oc,
57
57
  showArrows: !1,
58
58
  children: i
@@ -79,7 +79,7 @@ var Oc = {
79
79
  }), Ac = Za({
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
- }), jc = pc.forwardRef(({ children: e, variant: t, scrollable: n = !0, className: r, ...i }, a) => /* @__PURE__ */ X(Ui, {
82
+ }), jc = pc.forwardRef(({ children: e, variant: t, scrollable: n = !0, className: r, ...i }, a) => /* @__PURE__ */ X(Bi, {
83
83
  layout: "standard",
84
84
  children: /* @__PURE__ */ X("section", {
85
85
  ref: a,
@@ -92,7 +92,7 @@ var Oc = {
92
92
  })
93
93
  }));
94
94
  jc.displayName = "StandardLayout";
95
- var Mc = L(Qa({
95
+ var Mc = R(Qa({
96
96
  name: "StandardLayout",
97
97
  type: "layout"
98
98
  }, jc)), Nc = _c(function({ children: e, sideContent: t, mainColumnPosition: n = "left", sticky: r = !1, responsiveStackOrder: i = "side" }, a) {
@@ -111,7 +111,7 @@ var Mc = L(Qa({
111
111
  })]
112
112
  })
113
113
  });
114
- }), Pc = L(Qa({
114
+ }), Pc = R(Qa({
115
115
  name: "TwoColumnLayout",
116
116
  type: "layout"
117
117
  }, Nc)), Fc = ({ children: e, className: t }) => /* @__PURE__ */ X("aside", {
@@ -2728,7 +2728,7 @@ var vl = ({ options: e, widgets: t, onChange: n, className: r, static: i, forceP
2728
2728
  });
2729
2729
  };
2730
2730
  vl.displayName = "F0GridStack";
2731
- var yl = L(mn("F0GridStack", vl)), bl = (e, t, n) => /* @__PURE__ */ X("div", { children: e }), xl = ({ widgets: e = [], editMode: t = !1, onChange: n = () => {}, WidgetWrapper: r = bl, main: i = !1, deps: a }) => {
2731
+ var yl = R(pn("F0GridStack", vl)), bl = (e, t, n) => /* @__PURE__ */ X("div", { children: e }), xl = ({ widgets: e = [], editMode: t = !1, onChange: n = () => {}, WidgetWrapper: r = bl, main: i = !1, deps: a }) => {
2732
2732
  let o = W((e, t, n) => /* @__PURE__ */ X(Wn.div, {
2733
2733
  className: "h-full w-full",
2734
2734
  initial: {
@@ -2912,7 +2912,7 @@ var Sl = (e, t) => {
2912
2912
  }, Cl = (e, t) => {
2913
2913
  let n = t;
2914
2914
  return n.displayName = e, n.__isPageLayoutGroup = !0, n;
2915
- }, wl = Vn.filter((e) => e !== "ai"), Tl = Hn, El = ({ children: e, title: t, draggable: n = !1, actions: r, aiButton: i }) => /* @__PURE__ */ X(w, {
2915
+ }, wl = Vn.filter((e) => e !== "ai"), Tl = Hn, El = ({ children: e, title: t, draggable: n = !1, actions: r, aiButton: i }) => /* @__PURE__ */ X(Ie, {
2916
2916
  header: { title: t },
2917
2917
  draggable: n,
2918
2918
  actions: r,
@@ -2934,7 +2934,7 @@ var Sl = (e, t) => {
2934
2934
  })
2935
2935
  });
2936
2936
  Dl.displayName = "Dashboard";
2937
- var Ol = Cl("Dashboard", Dl), kl = L(mn("Dashboard", Ol)), Al = Za({
2937
+ var Ol = Cl("Dashboard", Dl), kl = R(pn("Dashboard", Ol)), Al = Za({
2938
2938
  base: "flex w-full flex-col p-4",
2939
2939
  variants: { variant: {
2940
2940
  default: "",
@@ -2954,7 +2954,7 @@ var Ol = Cl("Dashboard", Dl), kl = L(mn("Dashboard", Ol)), Al = Za({
2954
2954
  ...l,
2955
2955
  children: [p ? /* @__PURE__ */ Z("div", {
2956
2956
  className: "absolute right-0 top-0 flex items-center justify-end gap-2 p-4",
2957
- children: [c || null, f.length > 0 ? /* @__PURE__ */ X(Ni, {
2957
+ children: [c || null, f.length > 0 ? /* @__PURE__ */ X(Mi, {
2958
2958
  items: jl(d),
2959
2959
  "data-testid": "actions-dropdown"
2960
2960
  }) : null]
@@ -3012,8 +3012,8 @@ Rl.displayName = "GroupLinear", Rl.__isPageLayoutGroup = !0;
3012
3012
  //#endregion
3013
3013
  //#region src/blocks/layouts/Layout/groups/GroupMasonry/components/SortableBlock.tsx
3014
3014
  var zl = ({ id: e, children: t }) => {
3015
- let { attributes: n, listeners: r, setNodeRef: i, transform: a, transition: o } = ce({ id: e }), s = {
3016
- transform: jt.Translate.toString(a),
3015
+ let { attributes: n, listeners: r, setNodeRef: i, transform: a, transition: o } = Oe({ id: e }), s = {
3016
+ transform: st.Translate.toString(a),
3017
3017
  transition: o,
3018
3018
  flex: "1 1",
3019
3019
  display: "flex",
@@ -3026,18 +3026,18 @@ var zl = ({ id: e, children: t }) => {
3026
3026
  ...r,
3027
3027
  children: t
3028
3028
  });
3029
- }, Bl = ({ blocks: e, sortable: t = !1, onSort: n = () => {}, main: r = !1 }) => {
3030
- let [i, o] = J([]);
3029
+ }, Bl = ({ blocks: e, sortable: n = !1, onSort: r = () => {}, main: i = !1 }) => {
3030
+ let [a, o] = J([]);
3031
3031
  es(() => {
3032
3032
  o(e.map((e, t) => ({
3033
3033
  id: e.id ?? t.toString(),
3034
3034
  render: e.render
3035
3035
  })));
3036
3036
  }, [e]);
3037
- let [s, c] = J(null), l = D(g(_e), g(v, { coordinateGetter: A }));
3037
+ let [s, c] = J(null), l = Mt(xt(Ye), xt(t, { coordinateGetter: E }));
3038
3038
  return /* @__PURE__ */ X("div", {
3039
- className: B("flex flex-wrap items-stretch gap-4", r && "flex-1"),
3040
- children: /* @__PURE__ */ Z(a, {
3039
+ className: B("flex flex-wrap items-stretch gap-4", i && "flex-1"),
3040
+ children: /* @__PURE__ */ Z(Me, {
3041
3041
  sensors: l,
3042
3042
  onDragStart: (e) => {
3043
3043
  c(e.active.id);
@@ -3046,18 +3046,18 @@ var zl = ({ id: e, children: t }) => {
3046
3046
  let { active: t, over: n } = e;
3047
3047
  c(null), n && t.id !== n.id && o((e) => {
3048
3048
  let r = e.findIndex((e) => e.id === t.id), i = e.findIndex((e) => e.id === n.id);
3049
- return x(e, r, i);
3049
+ return At(e, r, i);
3050
3050
  });
3051
3051
  },
3052
- children: [/* @__PURE__ */ X(p, {
3053
- items: i,
3054
- children: i.map((e) => /* @__PURE__ */ X(zl, {
3052
+ children: [/* @__PURE__ */ X(k, {
3053
+ items: a,
3054
+ children: a.map((e) => /* @__PURE__ */ X(zl, {
3055
3055
  id: e.id,
3056
3056
  children: e.render
3057
3057
  }, e.id))
3058
- }), /* @__PURE__ */ X(be, { children: s ? /* @__PURE__ */ X(zl, {
3058
+ }), /* @__PURE__ */ X(se, { children: s ? /* @__PURE__ */ X(zl, {
3059
3059
  id: s,
3060
- children: i.find((e) => e.id === s)?.render
3060
+ children: a.find((e) => e.id === s)?.render
3061
3061
  }) : null })]
3062
3062
  })
3063
3063
  });
@@ -3087,13 +3087,13 @@ var Vl = _c(function({ children: e, aside: t, header: n, variant: r = "main-asid
3087
3087
  })
3088
3088
  });
3089
3089
  }), Hl = {
3090
- Page: L(mn("Page", Vl)),
3091
- Block: L(mn("Block", Nl)),
3092
- BlockContent: L(mn("BlockContent", Pl)),
3093
- Group: L(mn("Group", Rl)),
3094
- GroupGrid: L(mn("GroupGrid", xl)),
3095
- GroupMasonry: L(mn("GroupMasonry", Bl))
3096
- }, Ul = Mc, Wl = Pc, Gl = L(Qa({
3090
+ Page: R(pn("Page", Vl)),
3091
+ Block: R(pn("Block", Nl)),
3092
+ BlockContent: R(pn("BlockContent", Pl)),
3093
+ Group: R(pn("Group", Rl)),
3094
+ GroupGrid: R(pn("GroupGrid", xl)),
3095
+ GroupMasonry: R(pn("GroupMasonry", Bl))
3096
+ }, Ul = Mc, Wl = Pc, Gl = R(Qa({
3097
3097
  name: "HomeLayout",
3098
3098
  type: "layout"
3099
3099
  }, kc)), Kl = [
@@ -3133,13 +3133,13 @@ var Vl = _c(function({ children: e, aside: t, header: n, variant: r = "main-asid
3133
3133
  });
3134
3134
  }, Yl = () => /* @__PURE__ */ Z("div", {
3135
3135
  className: "relative flex h-full w-full cursor-progress flex-col gap-2",
3136
- children: [/* @__PURE__ */ X(z, { className: "h-3 w-full max-w-16 rounded-md" }), /* @__PURE__ */ Z("div", {
3136
+ children: [/* @__PURE__ */ X(mn, { className: "h-3 w-full max-w-16 rounded-md" }), /* @__PURE__ */ Z("div", {
3137
3137
  className: "flex flex-row flex-wrap items-end gap-2",
3138
- children: [/* @__PURE__ */ X(z, { className: "h-8 w-full max-w-36 rounded-sm" }), /* @__PURE__ */ X(z, { className: "h-6 w-full max-w-18 rounded-sm" })]
3138
+ children: [/* @__PURE__ */ X(mn, { className: "h-8 w-full max-w-36 rounded-sm" }), /* @__PURE__ */ X(mn, { className: "h-6 w-full max-w-18 rounded-sm" })]
3139
3139
  })]
3140
3140
  });
3141
3141
  Jl.displayName = "F0BigNumber";
3142
- var Xl = qi(Jl, Yl), Zl = L(Xl), Ql = [
3142
+ var Xl = Wi(Jl, Yl), Zl = R(Xl), Ql = [
3143
3143
  "default",
3144
3144
  "outline",
3145
3145
  "neutral"
@@ -3147,14 +3147,14 @@ var Xl = qi(Jl, Yl), Zl = L(Xl), Ql = [
3147
3147
  className: "flex items-center gap-2",
3148
3148
  children: e.map((e, t) => {
3149
3149
  switch (e.type) {
3150
- case "segmentedControl": return /* @__PURE__ */ X(Vi, {
3150
+ case "segmentedControl": return /* @__PURE__ */ X(Ri, {
3151
3151
  items: e.items,
3152
3152
  value: e.value,
3153
3153
  onChange: e.onChange,
3154
3154
  disabled: e.disabled,
3155
3155
  ariaLabel: e.ariaLabel
3156
3156
  }, t);
3157
- case "dropdown": return /* @__PURE__ */ X(Ni, {
3157
+ case "dropdown": return /* @__PURE__ */ X(Mi, {
3158
3158
  items: e.items,
3159
3159
  disabled: e.disabled,
3160
3160
  children: /* @__PURE__ */ X(V, {
@@ -3169,8 +3169,8 @@ var Xl = qi(Jl, Yl), Zl = L(Xl), Ql = [
3169
3169
  }
3170
3170
  })
3171
3171
  }), iu = ({ item: e, open: t, onOpenChange: n }) => {
3172
- let r = qn(), i = R().t(t ? "actions.collapseItem" : "actions.expandItem", { title: e.title }), a = !!e.actions && e.actions.length > 0;
3173
- return /* @__PURE__ */ X(da, {
3172
+ let r = qn(), i = z().t(t ? "actions.collapseItem" : "actions.expandItem", { title: e.title }), a = !!e.actions && e.actions.length > 0;
3173
+ return /* @__PURE__ */ X(la, {
3174
3174
  open: t,
3175
3175
  onOpenChange: n,
3176
3176
  asChild: !0,
@@ -3178,7 +3178,7 @@ var Xl = qi(Jl, Yl), Zl = L(Xl), Ql = [
3178
3178
  className: "flex flex-col",
3179
3179
  children: [/* @__PURE__ */ Z("div", {
3180
3180
  className: "flex items-center",
3181
- children: [/* @__PURE__ */ X(Qi, {
3181
+ children: [/* @__PURE__ */ X(Xi, {
3182
3182
  asChild: !0,
3183
3183
  children: /* @__PURE__ */ X("button", {
3184
3184
  type: "button",
@@ -3196,7 +3196,7 @@ var Xl = qi(Jl, Yl), Zl = L(Xl), Ql = [
3196
3196
  children: e.summary
3197
3197
  }) : null,
3198
3198
  a ? /* @__PURE__ */ X(ru, { actions: e.actions }) : null,
3199
- /* @__PURE__ */ X(Qi, {
3199
+ /* @__PURE__ */ X(Xi, {
3200
3200
  asChild: !0,
3201
3201
  children: /* @__PURE__ */ X(V, {
3202
3202
  variant: "outline",
@@ -3225,7 +3225,7 @@ var Xl = qi(Jl, Yl), Zl = L(Xl), Ql = [
3225
3225
  },
3226
3226
  transition: { duration: r ? 0 : .2 },
3227
3227
  className: "overflow-hidden",
3228
- children: /* @__PURE__ */ X(ea, {
3228
+ children: /* @__PURE__ */ X(Qi, {
3229
3229
  forceMount: !0,
3230
3230
  asChild: !0,
3231
3231
  children: /* @__PURE__ */ Z("div", {
@@ -3246,7 +3246,7 @@ var Xl = qi(Jl, Yl), Zl = L(Xl), Ql = [
3246
3246
  className: B("flex flex-col rounded-md border border-solid border-f1-border-secondary", "overflow-hidden bg-f1-background"),
3247
3247
  children: Array.from({ length: e }).map((e, t) => /* @__PURE__ */ Z(hc, { children: [t > 0 ? /* @__PURE__ */ X("div", { className: "h-px w-full bg-f1-border-secondary" }) : null, /* @__PURE__ */ Z("div", {
3248
3248
  className: "flex items-center gap-3 px-4 py-3",
3249
- children: [/* @__PURE__ */ X(z, { className: "h-4 flex-1 max-w-48" }), /* @__PURE__ */ X(z, { className: "ml-auto h-7 w-7 shrink-0 rounded" })]
3249
+ children: [/* @__PURE__ */ X(mn, { className: "h-4 flex-1 max-w-48" }), /* @__PURE__ */ X(mn, { className: "ml-auto h-7 w-7 shrink-0 rounded" })]
3250
3250
  })] }, t))
3251
3251
  }), ou = _c((e, t) => {
3252
3252
  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] = Qs({
@@ -3269,7 +3269,7 @@ var Xl = qi(Jl, Yl), Zl = L(Xl), Ql = [
3269
3269
  });
3270
3270
  });
3271
3271
  ou.displayName = "F0Accordion";
3272
- var su = L(mn("F0Accordion", qi(ou, au))), cu = [
3272
+ var su = R(pn("F0Accordion", Wi(ou, au))), cu = [
3273
3273
  "info",
3274
3274
  "warning",
3275
3275
  "critical",
@@ -3327,7 +3327,7 @@ var uu = ({ chips: e, max: t = 4, remainingCount: n, layout: r = "compact" }) =>
3327
3327
  });
3328
3328
  };
3329
3329
  uu.displayName = "F0ChipList";
3330
- var du = L(mn("F0ChipList", uu)), fu = [
3330
+ var du = R(pn("F0ChipList", uu)), fu = [
3331
3331
  "blur",
3332
3332
  "escape",
3333
3333
  "commit",
@@ -3340,67 +3340,67 @@ var du = L(mn("F0ChipList", uu)), fu = [
3340
3340
  "positive",
3341
3341
  "transparent"
3342
3342
  ], hu = {
3343
- get: async (e) => JSON.parse(localStorage.getItem(Mi(e)) ?? "{}"),
3343
+ get: async (e) => JSON.parse(localStorage.getItem(ji(e)) ?? "{}"),
3344
3344
  set: async (e, t) => {
3345
- localStorage.setItem(Mi(e), JSON.stringify(t));
3345
+ localStorage.setItem(ji(e), JSON.stringify(t));
3346
3346
  }
3347
- }, gu = ({ disableClose: e = !1, onClose: t, isOpen: n, children: i, position: a = "right", size: o = "md", primaryAction: s, secondaryAction: c, title: l, description: u, module: d, otherActions: f, tabs: p, modal: m = !1, activeTabId: h, setActiveTabId: g, disableContentPadding: _, container: v, onWidthChange: y }) => {
3348
- let [b, x] = J(n);
3347
+ }, gu = ({ disableClose: e = !1, onClose: t, isOpen: n, children: r, position: i = "right", size: a = "md", primaryAction: o, secondaryAction: s, title: c, description: l, module: u, otherActions: d, tabs: f, modal: p = !1, activeTabId: m, setActiveTabId: h, disableContentPadding: g, container: _, onWidthChange: v }) => {
3348
+ let [y, b] = J(n);
3349
3349
  G(() => {
3350
- x(n);
3350
+ b(n);
3351
3351
  }, [n]);
3352
3352
  let S = K(() => /* @__PURE__ */ Z(Y, { children: [
3353
- /* @__PURE__ */ X(ut, {
3354
- title: l,
3355
- description: u,
3356
- module: d,
3357
- otherActions: f,
3358
- tabs: p,
3359
- activeTabId: h,
3360
- setActiveTabId: g,
3353
+ /* @__PURE__ */ X(x, {
3354
+ title: c,
3355
+ description: l,
3356
+ module: u,
3357
+ otherActions: d,
3358
+ tabs: f,
3359
+ activeTabId: m,
3360
+ setActiveTabId: h,
3361
3361
  disableClose: e
3362
3362
  }),
3363
- /* @__PURE__ */ X(F, {
3364
- disableContentPadding: _ ?? !1,
3365
- children: i
3363
+ /* @__PURE__ */ X(xe, {
3364
+ disableContentPadding: g ?? !1,
3365
+ children: r
3366
3366
  }),
3367
- /* @__PURE__ */ X(N, {
3368
- primaryAction: s ?? [],
3369
- secondaryAction: c ?? [],
3370
- onClose: () => x(!1)
3367
+ /* @__PURE__ */ X(ve, {
3368
+ primaryAction: o ?? [],
3369
+ secondaryAction: s ?? [],
3370
+ onClose: () => b(!1)
3371
3371
  })
3372
3372
  ] }), [
3373
+ c,
3373
3374
  l,
3374
3375
  u,
3375
3376
  d,
3376
3377
  f,
3377
- p,
3378
+ m,
3378
3379
  h,
3379
- g,
3380
3380
  e,
3381
- _,
3382
- i,
3383
- s,
3384
- c
3381
+ g,
3382
+ r,
3383
+ o,
3384
+ s
3385
3385
  ]);
3386
- return /* @__PURE__ */ X(r, {
3387
- isOpen: b,
3386
+ return /* @__PURE__ */ X(be, {
3387
+ isOpen: y,
3388
3388
  onClose: t,
3389
- position: a,
3390
- size: o,
3391
- modal: m,
3392
- showOverlay: m,
3389
+ position: i,
3390
+ size: a,
3391
+ modal: p,
3392
+ showOverlay: p,
3393
3393
  fullHeight: !0,
3394
- onOpenChange: x,
3395
- container: v,
3396
- onWidthChange: y,
3394
+ onOpenChange: b,
3395
+ container: _,
3396
+ onWidthChange: v,
3397
3397
  children: S
3398
3398
  });
3399
3399
  }, _u = (e) => /* @__PURE__ */ X(gu, { ...e });
3400
3400
  _u.displayName = "F0Drawer";
3401
- var vu = mn("F0Drawer", _u), yu = 388;
3401
+ var vu = pn("F0Drawer", _u), yu = 388;
3402
3402
  function bu({ filters: e, value: t, onChange: n, height: r, width: i = 600, className: a, showApplyButton: o = !0, applyButtonLabel: s, dataTestId: c }) {
3403
- let l = R(), u = Object.keys(e)[0] ?? null, [d, f] = J(u), [p, m] = J(t);
3403
+ let l = z(), u = Object.keys(e)[0] ?? null, [d, f] = J(u), [p, m] = J(t);
3404
3404
  G(() => {
3405
3405
  m(t);
3406
3406
  }, [t]), G(() => {
@@ -3435,7 +3435,7 @@ function bu({ filters: e, value: t, onChange: n, height: r, width: i = 600, clas
3435
3435
  let r = ks(n.type);
3436
3436
  return Math.max(e, r?.formHeight || yu);
3437
3437
  }, 0), [e, r]);
3438
- return !e || Object.keys(e).length === 0 ? null : /* @__PURE__ */ X(un, {
3438
+ return !e || Object.keys(e).length === 0 ? null : /* @__PURE__ */ X(ln, {
3439
3439
  dataTestId: c,
3440
3440
  children: /* @__PURE__ */ X("div", {
3441
3441
  className: B("overflow-hidden rounded-xl border border-solid border-f1-border-secondary bg-f1-background", a),
@@ -3459,11 +3459,11 @@ var xu = bu;
3459
3459
  //#endregion
3460
3460
  //#region src/blocks/F0Form/describeFormSchema.ts
3461
3461
  function Su(e) {
3462
- let t = wi(e).shape, n = [];
3462
+ let t = Ci(e).shape, n = [];
3463
3463
  for (let [e, r] of Object.entries(t)) {
3464
- let t = r, i = Na(t);
3464
+ let t = r, i = Ma(t);
3465
3465
  if (!i) continue;
3466
- let a = Hi(t, i), o = en(t, a), s = {
3466
+ let a = zi(t, i), o = P(t, a), s = {
3467
3467
  name: e,
3468
3468
  type: a,
3469
3469
  label: i.label,
@@ -3506,7 +3506,7 @@ function wu(e) {
3506
3506
  let i = {
3507
3507
  ...n,
3508
3508
  ...e
3509
- }, a = Ge(t, i), o = {};
3509
+ }, a = fe(t, i), o = {};
3510
3510
  for (let [e, t] of Object.entries(i)) o[e] = t === null ? void 0 : t;
3511
3511
  let s = r ? { errorMap: r } : void 0, c = await a.safeParseAsync(o, s);
3512
3512
  if (c.success) return {
@@ -3535,10 +3535,10 @@ function wu(e) {
3535
3535
  let r = {
3536
3536
  ...n,
3537
3537
  ...e
3538
- }, i = wi(t), a = [];
3538
+ }, i = Ci(t), a = [];
3539
3539
  for (let [e, t] of Object.entries(i.shape)) {
3540
- let n = Na(t);
3541
- n?.renderIf ? Jt(n.renderIf, r) && a.push(e) : a.push(e);
3540
+ let n = Ma(t);
3541
+ n?.renderIf ? mt(n.renderIf, r) && a.push(e) : a.push(e);
3542
3542
  }
3543
3543
  return a;
3544
3544
  },
@@ -3569,7 +3569,7 @@ function Tu(e, t) {
3569
3569
  }
3570
3570
  //#endregion
3571
3571
  //#region src/blocks/dialog-alike/F0Dialog/internal/DialogNotification.tsx
3572
- var Eu = ({ isOpen: e = !1, onClose: t = () => {}, type: n, title: r, description: i, primaryAction: a, secondaryAction: o, dismissable: s = !1 }) => /* @__PURE__ */ X(De, {
3572
+ var Eu = ({ isOpen: e = !1, onClose: t = () => {}, type: n, title: r, description: i, primaryAction: a, secondaryAction: o, dismissable: s = !1 }) => /* @__PURE__ */ X(Ee, {
3573
3573
  isOpen: e,
3574
3574
  onClose: t,
3575
3575
  variant: "notification",
@@ -3581,15 +3581,15 @@ var Eu = ({ isOpen: e = !1, onClose: t = () => {}, type: n, title: r, descriptio
3581
3581
  modal: !0,
3582
3582
  children: /* @__PURE__ */ Z("div", {
3583
3583
  className: "flex flex-col gap-4 py-2",
3584
- children: [/* @__PURE__ */ X(ji, {
3584
+ children: [/* @__PURE__ */ X(Ai, {
3585
3585
  type: n,
3586
3586
  size: "lg"
3587
3587
  }), /* @__PURE__ */ Z("div", {
3588
3588
  className: "flex flex-col gap-0.5",
3589
- children: [/* @__PURE__ */ X(Sa, {
3589
+ children: [/* @__PURE__ */ X(xa, {
3590
3590
  className: "text-xl sm:text-lg",
3591
3591
  children: r
3592
- }), /* @__PURE__ */ X(k, {
3592
+ }), /* @__PURE__ */ X(T, {
3593
3593
  className: "text-lg sm:text-base",
3594
3594
  children: i
3595
3595
  })]
@@ -3685,7 +3685,7 @@ var Eu = ({ isOpen: e = !1, onClose: t = () => {}, type: n, title: r, descriptio
3685
3685
  position: e.position,
3686
3686
  module: e.module,
3687
3687
  children: e.content
3688
- }, e.id) : /* @__PURE__ */ X(De, {
3688
+ }, e.id) : /* @__PURE__ */ X(Ee, {
3689
3689
  disableClose: c(e.id),
3690
3690
  isOpen: s.has(e.id),
3691
3691
  size: e.size,
@@ -3699,25 +3699,25 @@ var Eu = ({ isOpen: e = !1, onClose: t = () => {}, type: n, title: r, descriptio
3699
3699
  children: e.content
3700
3700
  }, e.id) }, e.id)) });
3701
3701
  }, Au = ({ children: e }) => {
3702
- let t = wc(T.subscribe, T.getSnapshot, T.getServerSnapshot), n = R(), [r, i] = J(null);
3702
+ let t = wc(ke.subscribe, ke.getSnapshot, ke.getServerSnapshot), n = z(), [r, i] = J(null);
3703
3703
  G(() => {
3704
- let e = T.acquireRenderer();
3704
+ let e = ke.acquireRenderer();
3705
3705
  return i(e.id), e.release;
3706
3706
  }, []);
3707
- let a = wc(T.subscribeRenderer, T.getActiveRendererId, () => null), o = r !== null && r === a;
3707
+ let a = wc(ke.subscribeRenderer, ke.getActiveRendererId, () => null), o = r !== null && r === a;
3708
3708
  return G(() => {
3709
- T.setDefaultActionLabels({
3709
+ ke.setDefaultActionLabels({
3710
3710
  ok: n.actions.ok,
3711
3711
  cancel: n.actions.cancel
3712
3712
  });
3713
3713
  }, [n]), /* @__PURE__ */ Z(Y, { children: [o && typeof document < "u" ? Ec(/* @__PURE__ */ X(ku, { items: t }), document.body) : null, e] });
3714
3714
  }, ju = 200, Mu = ({ children: e }) => {
3715
- let t = wc(Ce.subscribe, Ce.getSnapshot, Ce.getServerSnapshot), [n, r] = J(null);
3715
+ let t = wc(b.subscribe, b.getSnapshot, b.getServerSnapshot), [n, r] = J(null);
3716
3716
  G(() => {
3717
- let e = Ce.acquireRenderer();
3717
+ let e = b.acquireRenderer();
3718
3718
  return r(e.id), e.release;
3719
3719
  }, []);
3720
- let i = wc(Ce.subscribeRenderer, Ce.getActiveRendererId, () => null);
3720
+ let i = wc(b.subscribeRenderer, b.getActiveRendererId, () => null);
3721
3721
  return /* @__PURE__ */ Z(Y, { children: [n !== null && n === i && typeof document < "u" ? Ec(/* @__PURE__ */ X(Nu, { items: t }), document.body) : null, e] });
3722
3722
  }, Nu = ({ items: e }) => {
3723
3723
  let [t, n] = J(e), r = q(e), i = q(/* @__PURE__ */ new Map());
@@ -3753,21 +3753,21 @@ var Eu = ({ isOpen: e = !1, onClose: t = () => {}, type: n, title: r, descriptio
3753
3753
  //#endregion
3754
3754
  //#region src/blocks/F0FormField/F0FormField.tsx
3755
3755
  function Pu({ children: e }) {
3756
- let t = Me(), n = K(() => t && {
3756
+ let t = ne(), r = K(() => t && {
3757
3757
  ...t,
3758
3758
  registerInlineRow: void 0,
3759
3759
  nullableEmptyFields: void 0
3760
3760
  }, [t]);
3761
- return /* @__PURE__ */ X(it.Provider, {
3762
- value: n,
3763
- children: /* @__PURE__ */ X(oe.Provider, {
3761
+ return /* @__PURE__ */ X(h.Provider, {
3762
+ value: r,
3763
+ children: /* @__PURE__ */ X(n.Provider, {
3764
3764
  value: null,
3765
3765
  children: e
3766
3766
  })
3767
3767
  });
3768
3768
  }
3769
3769
  function Fu({ field: e, value: t, onChange: n, onBlur: r, error: i, errorMessage: a, status: o, loading: s, required: c, disabled: l, hideLabel: u, initialFiles: d, inline: f }) {
3770
- let p = xc(), m = c ?? (e.validation ? en(e.validation) : !1), h = !u && e.type !== "checkbox" && e.type !== "custom", g = {
3770
+ let p = xc(), m = c ?? (e.validation ? P(e.validation) : !1), h = !u && e.type !== "checkbox" && e.type !== "custom", g = {
3771
3771
  value: t,
3772
3772
  onChange: n,
3773
3773
  onBlur: r ?? (() => {}),
@@ -3788,7 +3788,7 @@ function Fu({ field: e, value: t, onChange: n, onBlur: r, error: i, errorMessage
3788
3788
  }, b = e.type === "file" ? d : void 0;
3789
3789
  return f ? /* @__PURE__ */ X(Pu, { children: /* @__PURE__ */ X("div", {
3790
3790
  id: p,
3791
- children: /* @__PURE__ */ X(vt, { children: /* @__PURE__ */ X(te, {
3791
+ children: /* @__PURE__ */ X(ge, { children: /* @__PURE__ */ X(L, {
3792
3792
  field: y,
3793
3793
  formField: g,
3794
3794
  fieldState: _,
@@ -3813,7 +3813,7 @@ function Fu({ field: e, value: t, onChange: n, onBlur: r, error: i, errorMessage
3813
3813
  children: "*"
3814
3814
  }) : null]
3815
3815
  }) : null,
3816
- dt({
3816
+ pt({
3817
3817
  field: y,
3818
3818
  formField: g,
3819
3819
  fieldState: _,
@@ -3971,35 +3971,35 @@ var Wu = () => {}, Gu = ({ steps: e, children: t, isOpen: n, onClose: r = Wu, ti
3971
3971
  allowStepSkipping: f,
3972
3972
  autoCloseOnLastStepSubmit: p,
3973
3973
  onClose: r
3974
- }), g = R(), v = e[h.currentStep], y = h.currentStep === 0, b = h.currentStep === e.length - 1, x = b ? v?.nextLabel ?? l ?? g.wizard.submit : v?.nextLabel ?? s ?? g.wizard.next, S = v?.previousLabel ?? c ?? g.wizard.previous, C = K(() => ({
3975
- label: x,
3976
- icon: b ? void 0 : Ur,
3974
+ }), 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, x = _?.previousLabel ?? c ?? g.wizard.previous, S = K(() => ({
3975
+ label: b,
3976
+ icon: y ? void 0 : ra,
3977
3977
  onClick: () => void h.goNext(),
3978
- disabled: v?.isCompleted?.() === !1 || v?.hasErrors?.() === !0,
3978
+ disabled: _?.isCompleted?.() === !1 || _?.hasErrors?.() === !0,
3979
3979
  loading: h.loading
3980
3980
  }), [
3981
- x,
3982
3981
  b,
3982
+ y,
3983
3983
  h,
3984
- v
3985
- ]), w = K(() => y ? void 0 : {
3986
- label: S,
3984
+ _
3985
+ ]), C = K(() => v ? void 0 : {
3986
+ label: x,
3987
3987
  icon: Wo,
3988
3988
  onClick: h.goPrevious,
3989
3989
  disabled: h.loading
3990
3990
  }, [
3991
- y,
3992
- S,
3991
+ v,
3992
+ x,
3993
3993
  h
3994
3994
  ]);
3995
- return /* @__PURE__ */ X(_, {
3995
+ return /* @__PURE__ */ X(A, {
3996
3996
  isOpen: n,
3997
3997
  onClose: r,
3998
3998
  size: a,
3999
3999
  modal: !0,
4000
4000
  title: i,
4001
- primaryAction: C,
4002
- secondaryAction: w,
4001
+ primaryAction: S,
4002
+ secondaryAction: C,
4003
4003
  disableContentPadding: !0,
4004
4004
  children: /* @__PURE__ */ X(Ru, {
4005
4005
  currentStep: h.currentStep,
@@ -4026,18 +4026,18 @@ var Wu = () => {}, Gu = ({ steps: e, children: t, isOpen: n, onClose: r = Wu, ti
4026
4026
  })
4027
4027
  });
4028
4028
  };
4029
- Gu.displayName = "F0Wizard", L(Gu);
4029
+ Gu.displayName = "F0Wizard", R(Gu);
4030
4030
  //#endregion
4031
4031
  //#region src/blocks/F0WizardForm/F0WizardForm.tsx
4032
4032
  function Ku(e) {
4033
- let t = wi(e).shape, n = Object.entries(t);
4034
- return n.length !== 0 && n.every(([, e]) => Na(e)?.disabled === !0);
4033
+ let t = Ci(e).shape, n = Object.entries(t);
4034
+ return n.length !== 0 && n.every(([, e]) => Ma(e)?.disabled === !0);
4035
4035
  }
4036
4036
  function qu(e, t) {
4037
4037
  if (t) return Object.keys(t);
4038
- let n = wi(e).shape, r = /* @__PURE__ */ new Set();
4038
+ let n = Ci(e).shape, r = /* @__PURE__ */ new Set();
4039
4039
  for (let e of Object.values(n)) {
4040
- let t = Na(e);
4040
+ let t = Ma(e);
4041
4041
  t?.section && r.add(t.section);
4042
4042
  }
4043
4043
  return Array.from(r);
@@ -4045,15 +4045,15 @@ function qu(e, t) {
4045
4045
  function Ju(e, t) {
4046
4046
  let n = e.shape, r = {};
4047
4047
  for (let [e, i] of Object.entries(n)) {
4048
- let n = Na(i);
4048
+ let n = Ma(i);
4049
4049
  n?.section && t.includes(n.section) && (r[e] = i);
4050
4050
  }
4051
- return na(r);
4051
+ return ea(r);
4052
4052
  }
4053
4053
  function Yu(e, t, n) {
4054
4054
  let r = t ?? {};
4055
4055
  if (n) return n({ data: r });
4056
- let i = wi(e).shape;
4056
+ let i = Ci(e).shape;
4057
4057
  return Object.entries(i).every(([e, t]) => {
4058
4058
  if (t.isOptional()) return !0;
4059
4059
  let n = r[e];
@@ -4062,7 +4062,7 @@ function Yu(e, t, n) {
4062
4062
  }
4063
4063
  var Xu = 3e3;
4064
4064
  function Zu() {
4065
- let { forms: e } = R(), [t, n] = J("idle"), [r, i] = J(), a = q(null);
4065
+ let { forms: e } = z(), [t, n] = J("idle"), [r, i] = J(), a = q(null);
4066
4066
  G(() => () => {
4067
4067
  a.current && clearTimeout(a.current);
4068
4068
  }, []);
@@ -4073,7 +4073,7 @@ function Zu() {
4073
4073
  }, []), s = t === "success" ? r ?? e.actionBar.saved : void 0;
4074
4074
  return {
4075
4075
  showSuccess: o,
4076
- ActionBar: K(() => /* @__PURE__ */ X(ae, {
4076
+ ActionBar: K(() => /* @__PURE__ */ X(yt, {
4077
4077
  isOpen: t === "success",
4078
4078
  variant: "light",
4079
4079
  status: t,
@@ -4125,43 +4125,43 @@ function ed({ formDefinition: e, steps: t, isOpen: n, onClose: r, title: i, widt
4125
4125
  w,
4126
4126
  E,
4127
4127
  k
4128
- ]), F = W((e) => $u(e, w, E).some((e) => M.current[e] === !0), [w, E]), ee = K(() => E ?? w.map((e) => ({
4128
+ ]), F = W((e) => $u(e, w, E).some((e) => M.current[e] === !0), [w, E]), I = K(() => E ?? w.map((e) => ({
4129
4129
  title: v?.[e]?.title ?? e,
4130
4130
  sectionIds: [e]
4131
4131
  })), [
4132
4132
  E,
4133
4133
  w,
4134
4134
  v
4135
- ]), te = W((e) => {
4135
+ ]), ee = W((e) => {
4136
4136
  if (!m) return !1;
4137
- let t = ee[e];
4137
+ let t = I[e];
4138
4138
  return t ? t.sectionIds.every((e) => {
4139
4139
  let n = _[e];
4140
4140
  return n ? Yu(n, y?.[e] ?? D.current[e], t.isCompleted) : !1;
4141
4141
  }) : !1;
4142
4142
  }, [
4143
4143
  m,
4144
- ee,
4144
+ I,
4145
4145
  _,
4146
4146
  y
4147
- ]), ne = K(() => {
4147
+ ]), te = K(() => {
4148
4148
  if (s !== void 0) return s;
4149
4149
  if (!m) return;
4150
- let e = ee.findIndex((e, t) => !te(t));
4151
- return e === -1 ? ee.length - 1 : e;
4150
+ let e = I.findIndex((e, t) => !ee(t));
4151
+ return e === -1 ? I.length - 1 : e;
4152
4152
  }, [
4153
4153
  s,
4154
4154
  m,
4155
- ee,
4156
- te
4157
- ]), I = K(() => Qu({
4155
+ I,
4156
+ ee
4157
+ ]), L = K(() => Qu({
4158
4158
  sectionIds: w,
4159
4159
  sections: v,
4160
4160
  customSteps: E,
4161
4161
  isStepAllDisabled: N,
4162
4162
  onNextForStep: P,
4163
4163
  hasErrorsForStep: F,
4164
- isStepDataFilled: m ? te : void 0
4164
+ isStepDataFilled: m ? ee : void 0
4165
4165
  }), [
4166
4166
  w,
4167
4167
  v,
@@ -4171,17 +4171,17 @@ function ed({ formDefinition: e, steps: t, isOpen: n, onClose: r, title: i, widt
4171
4171
  F,
4172
4172
  A,
4173
4173
  m,
4174
- te
4175
- ]), re = q(null), { showSuccess: ie, ActionBar: ae } = Zu(), oe = W((e) => async (t) => {
4174
+ ee
4175
+ ]), ne = q(null), { showSuccess: re, ActionBar: ie } = Zu(), ae = W((e) => async (t) => {
4176
4176
  D.current[e] = t;
4177
4177
  let n = await b({
4178
4178
  sectionId: e,
4179
4179
  data: t,
4180
4180
  fullData: { ...D.current }
4181
4181
  });
4182
- return re.current = n, n.success && n.message && ie(n.message), n;
4183
- }, [b, ie]), se = W(() => {
4184
- if (re.current?.success) {
4182
+ return ne.current = n, n.success && n.message && re(n.message), n;
4183
+ }, [b, re]), oe = W(() => {
4184
+ if (ne.current?.success) {
4185
4185
  if (p) {
4186
4186
  let e = p({ fullData: { ...D.current } });
4187
4187
  window.location.href = e;
@@ -4191,7 +4191,7 @@ function ed({ formDefinition: e, steps: t, isOpen: n, onClose: r, title: i, widt
4191
4191
  f,
4192
4192
  p,
4193
4193
  r
4194
- ]), ce = W(() => {
4194
+ ]), se = W(() => {
4195
4195
  let e = $u(O.current, w, E);
4196
4196
  for (let t of e) {
4197
4197
  let e = k[t];
@@ -4201,21 +4201,21 @@ function ed({ formDefinition: e, steps: t, isOpen: n, onClose: r, title: i, widt
4201
4201
  w,
4202
4202
  E,
4203
4203
  k
4204
- ]), le = W((e) => {
4205
- ce(), O.current = e, u?.(e);
4206
- }, [ce, u]);
4204
+ ]), ce = W((e) => {
4205
+ se(), O.current = e, u?.(e);
4206
+ }, [se, u]);
4207
4207
  return /* @__PURE__ */ X(Gu, {
4208
- steps: I,
4208
+ steps: L,
4209
4209
  isOpen: n,
4210
4210
  onClose: r,
4211
4211
  title: i,
4212
4212
  size: o ?? a,
4213
- defaultStepIndex: ne,
4213
+ defaultStepIndex: te,
4214
4214
  nextLabel: c,
4215
4215
  previousLabel: l,
4216
4216
  submitLabel: C,
4217
- onSubmit: se,
4218
- onStepChanged: le,
4217
+ onSubmit: oe,
4218
+ onStepChanged: ce,
4219
4219
  allowStepSkipping: d,
4220
4220
  children: ({ currentStep: t }) => {
4221
4221
  let n = $u(t, w, E);
@@ -4231,7 +4231,7 @@ function ed({ formDefinition: e, steps: t, isOpen: n, onClose: r, title: i, widt
4231
4231
  schema: n,
4232
4232
  sectionConfig: r,
4233
4233
  defaultValues: i ?? a,
4234
- onSubmit: oe(t),
4234
+ onSubmit: ae(t),
4235
4235
  submitConfig: x,
4236
4236
  errorTriggerMode: S,
4237
4237
  sectionForms: k,
@@ -4245,23 +4245,23 @@ function ed({ formDefinition: e, steps: t, isOpen: n, onClose: r, title: i, widt
4245
4245
  isLoading: e.isLoading
4246
4246
  }, t);
4247
4247
  })
4248
- }), ae] });
4248
+ }), ie] });
4249
4249
  }
4250
4250
  });
4251
4251
  }
4252
- function td({ sectionId: e, formName: t, schema: n, sectionConfig: r, defaultValues: i, onSubmit: a, submitConfig: o, errorTriggerMode: s, sectionForms: l, onErrorStateChange: u, renderCustomField: d, isLoading: f }) {
4253
- let p = Ze();
4254
- G(() => (l[e] = p, () => {
4255
- l[e] = null;
4252
+ function td({ sectionId: e, formName: t, schema: n, sectionConfig: r, defaultValues: i, onSubmit: a, submitConfig: o, errorTriggerMode: s, sectionForms: c, onErrorStateChange: u, renderCustomField: f, isLoading: p }) {
4253
+ let m = l();
4254
+ G(() => (c[e] = m, () => {
4255
+ c[e] = null;
4256
4256
  }), [
4257
- l,
4257
+ c,
4258
4258
  e,
4259
- p
4259
+ m
4260
4260
  ]);
4261
- let m = q(u);
4262
- return m.current = u, G(() => {
4263
- m.current(p.hasErrors);
4264
- }, [p.hasErrors]), /* @__PURE__ */ X(c, {
4261
+ let h = q(u);
4262
+ return h.current = u, G(() => {
4263
+ h.current(m.hasErrors);
4264
+ }, [m.hasErrors]), /* @__PURE__ */ X(d, {
4265
4265
  formName: t,
4266
4266
  sectionId: e,
4267
4267
  schema: n,
@@ -4273,80 +4273,80 @@ function td({ sectionId: e, formName: t, schema: n, sectionConfig: r, defaultVal
4273
4273
  hideSubmitButton: !0
4274
4274
  },
4275
4275
  errorTriggerMode: s,
4276
- formRef: p.formRef,
4277
- renderCustomField: d,
4278
- isLoading: f
4276
+ formRef: m.formRef,
4277
+ renderCustomField: f,
4278
+ isLoading: p
4279
4279
  });
4280
4280
  }
4281
- function nd({ formDefinition: e, steps: t, isOpen: n, onClose: r, title: i, width: a, size: o, defaultStepIndex: s, nextLabel: c, previousLabel: l, onStepChanged: d, allowStepSkipping: f, autoCloseOnLastStepSubmit: p, linkAfterLastStepSubmit: m, autoSkipCompletedSteps: h = !1, renderCustomField: g }) {
4282
- let { name: _, schema: v, sections: y, defaultValues: b, onSubmit: x, submitConfig: S, errorTriggerMode: C = "on-blur" } = e, w = S?.label, T = K(() => wi(v), [v]), E = K(() => qu(v, y), [v, y]), D = W((e) => Ku(Ju(T, e)), [T]), O = Ze(), k = q(b ? { ...b } : {}), A = q(s ?? 0), j = W((e) => async () => {
4283
- await O.submit();
4284
- }, [O]), M = W((e) => O.hasErrors, [O.hasErrors]), N = t ?? e.steps, P = K(() => N ?? E.map((e) => ({
4285
- title: y?.[e]?.title ?? e,
4281
+ function nd({ formDefinition: e, steps: t, isOpen: n, onClose: r, title: i, width: a, size: o, defaultStepIndex: s, nextLabel: c, previousLabel: u, onStepChanged: d, allowStepSkipping: f, autoCloseOnLastStepSubmit: p, linkAfterLastStepSubmit: h, autoSkipCompletedSteps: g = !1, renderCustomField: _ }) {
4282
+ let { name: v, schema: y, sections: b, defaultValues: x, onSubmit: S, submitConfig: C, errorTriggerMode: w = "on-blur" } = e, T = C?.label, E = K(() => Ci(y), [y]), D = K(() => qu(y, b), [y, b]), O = W((e) => Ku(Ju(E, e)), [E]), k = l(), A = q(x ? { ...x } : {}), j = q(s ?? 0), M = W((e) => async () => {
4283
+ await k.submit();
4284
+ }, [k]), N = W((e) => k.hasErrors, [k.hasErrors]), P = t ?? e.steps, F = K(() => P ?? D.map((e) => ({
4285
+ title: b?.[e]?.title ?? e,
4286
4286
  sectionIds: [e]
4287
4287
  })), [
4288
- N,
4289
- E,
4290
- y
4291
- ]), F = W((e) => {
4292
- if (!h) return !1;
4293
- let t = P[e];
4294
- return t ? Yu(Ju(T, t.sectionIds), b, t.isCompleted) : !1;
4295
- }, [
4296
- h,
4297
4288
  P,
4298
- T,
4289
+ D,
4299
4290
  b
4291
+ ]), I = W((e) => {
4292
+ if (!g) return !1;
4293
+ let t = F[e];
4294
+ return t ? Yu(Ju(E, t.sectionIds), x, t.isCompleted) : !1;
4295
+ }, [
4296
+ g,
4297
+ F,
4298
+ E,
4299
+ x
4300
4300
  ]), ee = K(() => {
4301
4301
  if (s !== void 0) return s;
4302
- if (!h) return;
4303
- let e = P.findIndex((e, t) => !F(t));
4304
- return e === -1 ? P.length - 1 : e;
4302
+ if (!g) return;
4303
+ let e = F.findIndex((e, t) => !I(t));
4304
+ return e === -1 ? F.length - 1 : e;
4305
4305
  }, [
4306
4306
  s,
4307
- h,
4308
- P,
4309
- F
4307
+ g,
4308
+ F,
4309
+ I
4310
4310
  ]), te = K(() => Qu({
4311
- sectionIds: E,
4312
- sections: y,
4313
- customSteps: N,
4314
- isStepAllDisabled: D,
4315
- onNextForStep: j,
4316
- hasErrorsForStep: M,
4317
- isStepDataFilled: h ? F : void 0
4311
+ sectionIds: D,
4312
+ sections: b,
4313
+ customSteps: P,
4314
+ isStepAllDisabled: O,
4315
+ onNextForStep: M,
4316
+ hasErrorsForStep: N,
4317
+ isStepDataFilled: g ? I : void 0
4318
4318
  }), [
4319
- E,
4320
- y,
4321
- N,
4322
4319
  D,
4323
- j,
4320
+ b,
4321
+ P,
4322
+ O,
4324
4323
  M,
4325
- h,
4326
- F
4327
- ]), ne = q(null), I = q(null), { showSuccess: re, ActionBar: ie } = Zu(), ae = W(async (e) => {
4328
- Object.assign(k.current, e);
4329
- let t = { ...k.current };
4330
- I.current = t;
4331
- let n = await x({ data: t });
4332
- return ne.current = n, n;
4333
- }, [x]), oe = W(() => {
4334
- let e = ne.current;
4324
+ N,
4325
+ g,
4326
+ I
4327
+ ]), L = q(null), ne = q(null), { showSuccess: re, ActionBar: ie } = Zu(), ae = W(async (e) => {
4328
+ Object.assign(A.current, e);
4329
+ let t = { ...A.current };
4330
+ ne.current = t;
4331
+ let n = await S({ data: t });
4332
+ return L.current = n, n;
4333
+ }, [S]), oe = W(() => {
4334
+ let e = L.current;
4335
4335
  if (e?.success) {
4336
- if (re(e.message), m) {
4337
- let e = m({ fullData: I.current });
4336
+ if (re(e.message), h) {
4337
+ let e = h({ fullData: ne.current });
4338
4338
  window.location.href = e;
4339
4339
  } else p && r?.();
4340
4340
  }
4341
4341
  }, [
4342
4342
  p,
4343
- m,
4343
+ h,
4344
4344
  r,
4345
4345
  re
4346
4346
  ]), se = W((e) => {
4347
- let t = O.getValues();
4348
- Object.assign(k.current, t), A.current = e, d?.(e);
4349
- }, [O, d]);
4347
+ let t = k.getValues();
4348
+ Object.assign(A.current, t), j.current = e, d?.(e);
4349
+ }, [k, d]);
4350
4350
  return /* @__PURE__ */ X(Gu, {
4351
4351
  steps: te,
4352
4352
  isOpen: n,
@@ -4355,28 +4355,28 @@ function nd({ formDefinition: e, steps: t, isOpen: n, onClose: r, title: i, widt
4355
4355
  size: o ?? a,
4356
4356
  defaultStepIndex: ee,
4357
4357
  nextLabel: c,
4358
- previousLabel: l,
4359
- submitLabel: w,
4358
+ previousLabel: u,
4359
+ submitLabel: T,
4360
4360
  onSubmit: oe,
4361
4361
  onStepChanged: se,
4362
4362
  allowStepSkipping: f,
4363
4363
  children: ({ currentStep: t }) => {
4364
- let n = $u(t, E, N), r = Ju(T, n), i = n.reduce((e, t) => (y?.[t] && (e[t] = y[t]), e), {});
4364
+ let n = $u(t, D, P), r = Ju(E, n), i = n.reduce((e, t) => (b?.[t] && (e[t] = b[t]), e), {});
4365
4365
  return /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X("div", {
4366
4366
  className: "pb-5",
4367
- children: /* @__PURE__ */ X(u, {
4368
- name: `${_}-step-${t}`,
4367
+ children: /* @__PURE__ */ X(m, {
4368
+ name: `${v}-step-${t}`,
4369
4369
  schema: r,
4370
4370
  sections: i,
4371
- defaultValues: k.current,
4371
+ defaultValues: A.current,
4372
4372
  onSubmit: ae,
4373
4373
  submitConfig: {
4374
4374
  hideSubmitButton: !0,
4375
4375
  hideActionBar: !0
4376
4376
  },
4377
- errorTriggerMode: C,
4378
- formRef: O.formRef,
4379
- renderCustomField: g,
4377
+ errorTriggerMode: w,
4378
+ formRef: k.formRef,
4379
+ renderCustomField: _,
4380
4380
  isLoading: e.isLoading
4381
4381
  }, t)
4382
4382
  }), ie] });
@@ -4387,7 +4387,7 @@ function rd(e) {
4387
4387
  return e.formDefinition._brand === "per-section" ? /* @__PURE__ */ X(ed, { ...e }) : /* @__PURE__ */ X(nd, { ...e });
4388
4388
  }
4389
4389
  rd.displayName = "F0WizardForm";
4390
- var id = L(rd), ad = rd;
4390
+ var id = R(rd), ad = rd;
4391
4391
  function od(e, t) {
4392
4392
  if (e._brand === "per-section") {
4393
4393
  let n = e;
@@ -4430,10 +4430,10 @@ function sd({ options: e, isOpen: t, onResolve: n }) {
4430
4430
  }
4431
4431
  function cd(e) {
4432
4432
  return new Promise((t) => {
4433
- let n = e.id ?? ee(), r = !1, i = (e) => {
4434
- r || (r = !0, t(e), ve(n));
4433
+ let n = e.id ?? Se(), r = !1, i = (e) => {
4434
+ r || (r = !0, t(e), Ce(n));
4435
4435
  };
4436
- y({
4436
+ ye({
4437
4437
  id: n,
4438
4438
  onDismiss: () => i({ completed: !1 }),
4439
4439
  render: ({ isOpen: t }) => /* @__PURE__ */ X(sd, {
@@ -4448,7 +4448,7 @@ function cd(e) {
4448
4448
  //#region src/facade/forms/forms.ts
4449
4449
  function ld(e) {
4450
4450
  let { mode: t, ...n } = e;
4451
- return t === "wizard" ? cd(n) : xe(n);
4451
+ return t === "wizard" ? cd(n) : S(n);
4452
4452
  }
4453
4453
  var ud = { open: ld }, dd = [
4454
4454
  "escape",
@@ -4492,9 +4492,9 @@ var ud = { open: ld }, dd = [
4492
4492
  "aria-label": "Loading slider",
4493
4493
  "aria-busy": "true",
4494
4494
  "aria-live": "polite",
4495
- children: [e ? null : /* @__PURE__ */ X(z, { className: "h-4 w-24 rounded-md" }), /* @__PURE__ */ X("div", {
4495
+ children: [e ? null : /* @__PURE__ */ X(mn, { className: "h-4 w-24 rounded-md" }), /* @__PURE__ */ X("div", {
4496
4496
  className: "flex items-center py-2",
4497
- children: /* @__PURE__ */ X(z, { className: "h-1.5 w-full rounded-full" })
4497
+ children: /* @__PURE__ */ X(mn, { className: "h-1.5 w-full rounded-full" })
4498
4498
  })]
4499
4499
  }), gd = Za({
4500
4500
  base: "relative h-1.5 grow overflow-hidden rounded-full bg-f1-background-tertiary",
@@ -4547,22 +4547,22 @@ var ud = { open: ld }, dd = [
4547
4547
  }, [D]), M = W((e) => {
4548
4548
  let [t] = e;
4549
4549
  t !== void 0 && p?.(t);
4550
- }, [p]), [N, P] = J(!1), [F, ee] = J(!1), [te, ne] = J(!1), I = q(!1), re = b === "always" || b === "onHover" && (N || F || te), ie = o?.type ?? "default", ae = !i && n.trim().length > 0, oe = o ?? (a ? {
4550
+ }, [p]), [N, P] = J(!1), [F, I] = J(!1), [ee, te] = J(!1), L = q(!1), ne = b === "always" || b === "onHover" && (N || F || ee), re = o?.type ?? "default", ie = !i && n.trim().length > 0, ae = o ?? (a ? {
4551
4551
  type: "default",
4552
4552
  message: a
4553
- } : void 0), se = a || o?.message ? w : void 0;
4553
+ } : void 0), oe = a || o?.message ? w : void 0;
4554
4554
  return /* @__PURE__ */ Z("div", {
4555
4555
  ref: t,
4556
4556
  ...x,
4557
4557
  className: B("flex flex-col gap-2", c && "cursor-not-allowed"),
4558
4558
  onPointerDownCapture: () => {
4559
- I.current = !0;
4559
+ L.current = !0;
4560
4560
  },
4561
4561
  onPointerUp: () => {
4562
- I.current = !1;
4562
+ L.current = !1;
4563
4563
  },
4564
4564
  children: [
4565
- ae ? /* @__PURE__ */ X(Xo, {
4565
+ ie ? /* @__PURE__ */ X(Xo, {
4566
4566
  label: n,
4567
4567
  required: s,
4568
4568
  htmlFor: S,
@@ -4573,8 +4573,8 @@ var ud = { open: ld }, dd = [
4573
4573
  value: [O],
4574
4574
  onValueChange: j,
4575
4575
  onValueCommit: M,
4576
- onPointerDown: () => ne(!0),
4577
- onPointerUp: () => ne(!1),
4576
+ onPointerDown: () => te(!0),
4577
+ onPointerUp: () => te(!1),
4578
4578
  min: m,
4579
4579
  max: h,
4580
4580
  step: g,
@@ -4585,32 +4585,32 @@ var ud = { open: ld }, dd = [
4585
4585
  onMouseLeave: () => P(!1),
4586
4586
  children: [
4587
4587
  /* @__PURE__ */ X(Pa, {
4588
- className: gd({ status: ie }),
4589
- children: /* @__PURE__ */ X(Ci, { className: _d({
4590
- status: ie,
4588
+ className: gd({ status: re }),
4589
+ children: /* @__PURE__ */ X(Si, { className: _d({
4590
+ status: re,
4591
4591
  disabled: c
4592
4592
  }) })
4593
4593
  }),
4594
- /* @__PURE__ */ X(Zr, {
4594
+ /* @__PURE__ */ X(Yr, {
4595
4595
  id: S,
4596
- "aria-label": ae ? void 0 : T,
4597
- "aria-labelledby": ae ? C : void 0,
4596
+ "aria-label": ie ? void 0 : T,
4597
+ "aria-labelledby": ie ? C : void 0,
4598
4598
  "aria-valuetext": y(O),
4599
- "aria-describedby": se,
4599
+ "aria-describedby": oe,
4600
4600
  "aria-required": s,
4601
4601
  style: {
4602
4602
  width: vd,
4603
4603
  height: vd
4604
4604
  },
4605
4605
  className: B(yd({
4606
- status: ie,
4606
+ status: re,
4607
4607
  disabled: c
4608
4608
  }), wn("focus-visible:ring-offset-1")),
4609
- onFocus: () => ee(!I.current),
4610
- onBlur: () => ee(!1)
4609
+ onFocus: () => I(!L.current),
4610
+ onBlur: () => I(!1)
4611
4611
  }),
4612
4612
  b === "never" ? null : /* @__PURE__ */ X(md, {
4613
- visible: re,
4613
+ visible: ne,
4614
4614
  content: y(O),
4615
4615
  style: { left: `calc(${k}% + ${A}px)` }
4616
4616
  })
@@ -4624,13 +4624,13 @@ var ud = { open: ld }, dd = [
4624
4624
  id: w,
4625
4625
  role: "status",
4626
4626
  "aria-live": "polite",
4627
- children: /* @__PURE__ */ X(Yo, { status: oe })
4627
+ children: /* @__PURE__ */ X(Yo, { status: ae })
4628
4628
  })
4629
4629
  ]
4630
4630
  });
4631
4631
  });
4632
4632
  bd.displayName = "F0Slider";
4633
- var xd = mn("F0Slider", qi(L(bd), hd)), Sd = [
4633
+ var xd = pn("F0Slider", Wi(R(bd), hd)), Sd = [
4634
4634
  "completed",
4635
4635
  "in-progress",
4636
4636
  "not-started"
@@ -4791,7 +4791,7 @@ function Pd({ title: e, items: t, className: n, activeItem: r, collapsible: i =
4791
4791
  sideOffset: -28,
4792
4792
  container: d,
4793
4793
  className: B(Nd({ size: l }), !e && "pt-2", "scrollbar-macos"),
4794
- children: /* @__PURE__ */ X(Nt, {
4794
+ children: /* @__PURE__ */ X(ct, {
4795
4795
  title: e,
4796
4796
  items: t,
4797
4797
  activeItem: r,
@@ -4804,7 +4804,7 @@ function Pd({ title: e, items: t, className: n, activeItem: r, collapsible: i =
4804
4804
  })]
4805
4805
  });
4806
4806
  }
4807
- var Fd = L(mn("F0TableOfContentPopover", Pd));
4807
+ var Fd = R(pn("F0TableOfContentPopover", Pd));
4808
4808
  //#endregion
4809
4809
  //#region src/domains/talent/surveys/surveys/SurveyFormBuilder/Form/utils.ts
4810
4810
  function Id(e) {
@@ -4899,7 +4899,7 @@ function Bd(e) {
4899
4899
  //#endregion
4900
4900
  //#region src/domains/talent/surveys/surveys/SurveyFormBuilder/ApplyingChangesTag/ApplyingChangesTag.tsx
4901
4901
  var Vd = Wn.create(Hr), Hd = yc(() => {
4902
- let e = R();
4902
+ let e = z();
4903
4903
  return /* @__PURE__ */ Z("div", {
4904
4904
  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",
4905
4905
  children: [/* @__PURE__ */ X(Vd, {
@@ -5035,7 +5035,7 @@ var Vd = Wn.create(Hr), Hd = yc(() => {
5035
5035
  return t;
5036
5036
  }, Zd = gc(void 0);
5037
5037
  function Qd({ 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 }) {
5038
- let m = pt(o), h = pt(s), g = pt(u), _ = pt(d), v = pt(f), y = q(e);
5038
+ let m = gt(o), h = gt(s), g = gt(u), _ = gt(d), v = gt(f), y = q(e);
5039
5039
  y.current = e;
5040
5040
  let b = q(a);
5041
5041
  b.current = a;
@@ -5251,15 +5251,15 @@ function nf() {
5251
5251
  //#endregion
5252
5252
  //#region src/domains/talent/surveys/surveys/SurveyFormBuilder/constants.ts
5253
5253
  var rf = () => {
5254
- let { isQuestionTypeAllowed: e, datasets: t } = $d(), { t: n } = R(), r = [
5254
+ let { isQuestionTypeAllowed: e, datasets: t } = $d(), { t: n } = z(), r = [
5255
5255
  {
5256
5256
  label: n("surveyFormBuilder.questionTypes.rating"),
5257
- icon: Oi,
5257
+ icon: Ei,
5258
5258
  questionType: "rating"
5259
5259
  },
5260
5260
  {
5261
5261
  label: n("surveyFormBuilder.questionTypes.multipleChoice"),
5262
- icon: Pi,
5262
+ icon: Aa,
5263
5263
  questionType: "multi-select"
5264
5264
  },
5265
5265
  {
@@ -5269,32 +5269,32 @@ var rf = () => {
5269
5269
  },
5270
5270
  {
5271
5271
  label: n("surveyFormBuilder.questionTypes.text"),
5272
- icon: di,
5272
+ icon: li,
5273
5273
  questionType: "text"
5274
5274
  },
5275
5275
  {
5276
5276
  label: n("surveyFormBuilder.questionTypes.longText"),
5277
- icon: Gr,
5277
+ icon: Wr,
5278
5278
  questionType: "longText"
5279
5279
  },
5280
5280
  {
5281
5281
  label: n("surveyFormBuilder.questionTypes.numeric"),
5282
- icon: ma,
5282
+ icon: fa,
5283
5283
  questionType: "numeric"
5284
5284
  },
5285
5285
  {
5286
5286
  label: n("surveyFormBuilder.questionTypes.link"),
5287
- icon: aa,
5287
+ icon: ia,
5288
5288
  questionType: "link"
5289
5289
  },
5290
5290
  {
5291
5291
  label: n("surveyFormBuilder.questionTypes.date"),
5292
- icon: Ti,
5292
+ icon: ei,
5293
5293
  questionType: "date"
5294
5294
  },
5295
5295
  {
5296
5296
  label: n("surveyFormBuilder.questionTypes.file"),
5297
- icon: Wr,
5297
+ icon: Ur,
5298
5298
  questionType: "file"
5299
5299
  },
5300
5300
  {
@@ -5310,20 +5310,20 @@ var rf = () => {
5310
5310
  })) : [];
5311
5311
  return [...r, ...i];
5312
5312
  }, af = {
5313
- rating: Oi,
5314
- "multi-select": Pi,
5313
+ rating: Ei,
5314
+ "multi-select": Aa,
5315
5315
  select: Rs,
5316
- text: di,
5317
- longText: Gr,
5318
- numeric: ma,
5319
- link: aa,
5320
- date: Ti,
5316
+ text: li,
5317
+ longText: Wr,
5318
+ numeric: fa,
5319
+ link: ia,
5320
+ date: ei,
5321
5321
  "dropdown-single": ro,
5322
5322
  "dropdown-multi": ro,
5323
- file: Wr,
5323
+ file: Ur,
5324
5324
  checkbox: zs
5325
5325
  }, of = () => {
5326
- let { disabled: e, answering: t, onAddNewElement: n, isQuestionTypeAllowed: r, labels: i } = $d(), [a, o] = J(!1), s = rf(), { t: c } = R(), l = i?.addQuestion ?? c("surveyFormBuilder.actions.addQuestion"), u = (e, t) => {
5326
+ let { disabled: e, answering: t, onAddNewElement: n, isQuestionTypeAllowed: r, labels: i } = $d(), [a, o] = J(!1), s = rf(), { t: c } = z(), l = i?.addQuestion ?? c("surveyFormBuilder.actions.addQuestion"), u = (e, t) => {
5327
5327
  n?.({
5328
5328
  type: e,
5329
5329
  datasetKey: t
@@ -5354,7 +5354,7 @@ var rf = () => {
5354
5354
  children: /* @__PURE__ */ Z("div", {
5355
5355
  className: "flex w-full flex-row items-center gap-2",
5356
5356
  children: [/* @__PURE__ */ X(H, {
5357
- icon: Jr,
5357
+ icon: Oi,
5358
5358
  color: "default"
5359
5359
  }), /* @__PURE__ */ X("span", {
5360
5360
  className: "flex-1 text-base font-medium",
@@ -5407,7 +5407,7 @@ var rf = () => {
5407
5407
  children: /* @__PURE__ */ Z("div", {
5408
5408
  className: "flex w-full flex-row items-center gap-2",
5409
5409
  children: [/* @__PURE__ */ X(H, {
5410
- icon: Pi,
5410
+ icon: Aa,
5411
5411
  color: "default"
5412
5412
  }), /* @__PURE__ */ X("span", {
5413
5413
  className: "flex-1",
@@ -5421,8 +5421,8 @@ var rf = () => {
5421
5421
  })
5422
5422
  });
5423
5423
  }, sf = ({ open: e, onConfirm: t, onCancel: n }) => {
5424
- let { t: r } = R();
5425
- return /* @__PURE__ */ X(qt, {
5424
+ let { t: r } = z();
5425
+ return /* @__PURE__ */ X(Gt, {
5426
5426
  open: e,
5427
5427
  onClose: n,
5428
5428
  header: {
@@ -5580,14 +5580,14 @@ var pf = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(q
5580
5580
  ]
5581
5581
  })
5582
5582
  }), mf = ({ label: e, value: t, currentDatasetKey: n, questionTypes: r, currentRatingType: i, isQuestionTypeAllowed: a, onSelectQuestionType: o, onSelectRatingType: s }) => {
5583
- let { t: c } = R(), 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;
5583
+ 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;
5584
5584
  return /* @__PURE__ */ Z(Xs, { children: [/* @__PURE__ */ X(Ws, {
5585
5585
  className: "mx-1 px-2 data-[state=open]:rounded-sm data-[state=closed]:bg-transparent data-[state=open]:bg-f1-background-hover",
5586
5586
  children: /* @__PURE__ */ Z("div", {
5587
5587
  className: "flex w-full flex-row items-center gap-2",
5588
5588
  children: [
5589
5589
  /* @__PURE__ */ X(Xa, {
5590
- icon: xi,
5590
+ icon: bi,
5591
5591
  color: "default"
5592
5592
  }),
5593
5593
  /* @__PURE__ */ X("span", {
@@ -5699,7 +5699,7 @@ var pf = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(q
5699
5699
  className: "flex w-full flex-row items-center gap-2",
5700
5700
  children: [
5701
5701
  /* @__PURE__ */ X(Xa, {
5702
- icon: Pi,
5702
+ icon: Aa,
5703
5703
  color: "default"
5704
5704
  }),
5705
5705
  /* @__PURE__ */ X("span", {
@@ -5725,20 +5725,20 @@ var pf = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(q
5725
5725
  })]
5726
5726
  })
5727
5727
  }), gf = ({ showDuplicate: e, showDelete: t, withSeparator: n, onDuplicate: r, onDelete: i }) => {
5728
- let { t: a } = R(), { labels: o } = $d();
5728
+ let { t: a } = z(), { labels: o } = $d();
5729
5729
  return !e && !t ? null : /* @__PURE__ */ Z(Y, { children: [n ? /* @__PURE__ */ X(Ks, {}) : null, /* @__PURE__ */ Z(ec, { children: [e ? /* @__PURE__ */ X(hf, {
5730
5730
  label: o?.duplicateQuestion ?? a("surveyFormBuilder.actions.duplicateQuestion"),
5731
- icon: hi,
5731
+ icon: pi,
5732
5732
  onClick: r
5733
5733
  }) : null, t ? /* @__PURE__ */ X(hf, {
5734
5734
  label: o?.deleteQuestion ?? a("surveyFormBuilder.actions.deleteQuestion"),
5735
- icon: ca,
5735
+ icon: Oa,
5736
5736
  onClick: i,
5737
5737
  critical: !0
5738
5738
  }) : null] })] });
5739
5739
  };
5740
5740
  function _f({ open: e, setOpen: t, questionId: n, questionType: r, canDeleteQuestion: i = !0, hiddenActions: a }) {
5741
- let { t: o } = R(), { isQuestionTypeAllowed: s, labels: c } = $d(), { question: l, questionTypes: u, currentRatingType: d, currentDatasetKey: f, isMultiSelectEnabled: p, isAllowCreateEnabled: m, datasetHasOnCreate: h, disallowOptionalQuestions: g, handleChangeRequired: _, handleSelectQuestionType: v, handleSelectRatingType: y, handleToggleMultiSelect: b, handleToggleAllowCreate: x, handleDuplicate: S, handleDelete: C } = ff({
5741
+ let { t: o } = z(), { isQuestionTypeAllowed: s, labels: c } = $d(), { question: l, questionTypes: u, currentRatingType: d, currentDatasetKey: f, isMultiSelectEnabled: p, isAllowCreateEnabled: m, datasetHasOnCreate: h, disallowOptionalQuestions: g, handleChangeRequired: _, handleSelectQuestionType: v, handleSelectRatingType: y, handleToggleMultiSelect: b, handleToggleAllowCreate: x, handleDuplicate: S, handleDelete: C } = ff({
5742
5742
  questionId: n,
5743
5743
  questionType: r,
5744
5744
  canDelete: i
@@ -5767,13 +5767,13 @@ function _f({ open: e, setOpen: t, questionId: n, questionType: r, canDeleteQues
5767
5767
  }),
5768
5768
  T ? /* @__PURE__ */ X(ec, { children: /* @__PURE__ */ X(pf, {
5769
5769
  label: o("surveyFormBuilder.labels.required"),
5770
- icon: ui,
5770
+ icon: yi,
5771
5771
  checked: !!l?.required,
5772
5772
  onChange: _
5773
5773
  }) }) : null,
5774
5774
  E ? /* @__PURE__ */ X(ec, { children: /* @__PURE__ */ X(pf, {
5775
5775
  label: o("surveyFormBuilder.labels.allowMultiSelection"),
5776
- icon: Pi,
5776
+ icon: Aa,
5777
5777
  checked: p,
5778
5778
  onChange: b
5779
5779
  }) }) : null,
@@ -5817,7 +5817,7 @@ var vf = ({ notice: e, className: t, children: n }) => {
5817
5817
  children: r
5818
5818
  }) : r;
5819
5819
  }, yf = ({ id: e, title: t, description: n, children: r, required: i, type: a, hiddenActions: o, locked: s, lockedFields: c, lockedNote: l }) => {
5820
- let { onQuestionChange: u, onAddNewElement: d, disabled: f, answering: p, getIsSingleQuestionInSection: m, getSectionContainingQuestion: h, isQuestionTypeAllowed: g, placeholders: _, labels: v } = $d(), y = h(e), b = !!y?.locked || !!s, x = b || !!c?.includes("title"), S = b || !!c?.includes("description"), C = !b && (x || S), w = !!y, [T, E] = J(!1), [D, O] = J(!1), { isDragging: k } = nf(), { t: A } = R(), j = _?.questionTitle ?? A("surveyFormBuilder.labels.titlePlaceholder"), M = v?.addQuestion ?? A("surveyFormBuilder.actions.addQuestion"), N = _?.questionDescription ?? A("surveyFormBuilder.labels.questionDescriptionPlaceholder"), P = (t) => {
5820
+ let { onQuestionChange: u, onAddNewElement: d, disabled: f, answering: p, getIsSingleQuestionInSection: m, getSectionContainingQuestion: h, isQuestionTypeAllowed: g, placeholders: _, labels: v } = $d(), y = h(e), b = !!y?.locked || !!s, x = b || !!c?.includes("title"), S = b || !!c?.includes("description"), C = !b && (x || S), w = !!y, [T, E] = J(!1), [D, O] = J(!1), { isDragging: k } = nf(), { t: A } = z(), j = _?.questionTitle ?? A("surveyFormBuilder.labels.titlePlaceholder"), M = v?.addQuestion ?? A("surveyFormBuilder.actions.addQuestion"), N = _?.questionDescription ?? A("surveyFormBuilder.labels.questionDescriptionPlaceholder"), P = (t) => {
5821
5821
  u?.({
5822
5822
  id: e,
5823
5823
  type: a,
@@ -5829,25 +5829,25 @@ var vf = ({ notice: e, className: t, children: n }) => {
5829
5829
  type: a,
5830
5830
  description: t.target.value
5831
5831
  });
5832
- }, ee = (t, n) => {
5832
+ }, I = (t, n) => {
5833
5833
  d?.({
5834
5834
  type: t,
5835
5835
  afterId: e,
5836
5836
  datasetKey: n
5837
5837
  });
5838
- }, te = () => {
5838
+ }, ee = () => {
5839
5839
  d?.({
5840
5840
  type: "section",
5841
5841
  afterId: e
5842
5842
  });
5843
- }, ne = rf(), I = ne.filter((e) => !e.datasetKey), re = Array.from(new Set(ne.filter((e) => !!e.datasetKey).map((e) => e.datasetKey))), ie = m(e), ae = q(null), oe = q(!ie);
5843
+ }, te = rf(), L = te.filter((e) => !e.datasetKey), ne = Array.from(new Set(te.filter((e) => !!e.datasetKey).map((e) => e.datasetKey))), re = m(e), ie = q(null), ae = q(!re);
5844
5844
  G(() => {
5845
- oe.current && ae.current?.focus({ preventScroll: !0 });
5845
+ ae.current && ie.current?.focus({ preventScroll: !0 });
5846
5846
  }, []);
5847
- let se = f || x || p, ce = f || S || p, le = !ce || !!n, ue = b || C ? { description: l?.description ?? y?.lockedNote?.description ?? A("surveyFormBuilder.labels.lockedQuestionNotice") } : null;
5847
+ let oe = f || x || p, se = f || S || p, ce = !se || !!n, le = b || C ? { description: l?.description ?? y?.lockedNote?.description ?? A("surveyFormBuilder.labels.lockedQuestionNotice") } : null;
5848
5848
  return /* @__PURE__ */ Z("div", {
5849
5849
  id: `co-creation-question-${e}`,
5850
- className: B("group/question relative flex w-full flex-col rounded-xl border border-solid border-f1-border bg-f1-background px-3 py-3", b && !p && "cursor-not-allowed [&_*]:!cursor-not-allowed", !k && !p && !b && "hover:border-f1-border-hover", le ? "gap-4" : "gap-2"),
5850
+ className: B("group/question relative flex w-full flex-col rounded-xl border border-solid border-f1-border bg-f1-background px-3 py-3", b && !p && "cursor-not-allowed [&_*]:!cursor-not-allowed", !k && !p && !b && "hover:border-f1-border-hover", ce ? "gap-4" : "gap-2"),
5851
5851
  children: [
5852
5852
  /* @__PURE__ */ Z("div", {
5853
5853
  className: "flex flex-col gap-0.5",
@@ -5856,7 +5856,7 @@ var vf = ({ notice: e, className: t, children: n }) => {
5856
5856
  children: [
5857
5857
  /* @__PURE__ */ X(vf, {
5858
5858
  className: "relative w-full",
5859
- notice: C && x ? ue : null,
5859
+ notice: C && x ? le : null,
5860
5860
  children: p ? /* @__PURE__ */ Z("div", {
5861
5861
  className: "w-full whitespace-pre-wrap break-words px-2 py-1 text-lg font-semibold text-f1-foreground",
5862
5862
  children: [t || j, i ? /* @__PURE__ */ X("span", {
@@ -5864,13 +5864,13 @@ var vf = ({ notice: e, className: t, children: n }) => {
5864
5864
  children: " *"
5865
5865
  }) : null]
5866
5866
  }) : /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X("textarea", {
5867
- ref: ae,
5867
+ ref: ie,
5868
5868
  value: t,
5869
5869
  "aria-label": A("surveyFormBuilder.labels.title"),
5870
5870
  placeholder: j,
5871
5871
  onChange: P,
5872
- disabled: se,
5873
- className: B("w-full [field-sizing:content] resize-none px-2 py-1 text-lg font-semibold text-f1-foreground placeholder:text-f1-foreground-tertiary [&::-webkit-search-cancel-button]:hidden", !p && se && "!cursor-not-allowed")
5872
+ disabled: oe,
5873
+ className: B("w-full [field-sizing:content] resize-none px-2 py-1 text-lg font-semibold text-f1-foreground placeholder:text-f1-foreground-tertiary [&::-webkit-search-cancel-button]:hidden", !p && oe && "!cursor-not-allowed")
5874
5874
  }), /* @__PURE__ */ Z("div", {
5875
5875
  className: "textarea-overlay pointer-events-none absolute left-0 top-0 h-full w-full whitespace-pre-wrap break-words px-2 py-1 text-lg font-semibold",
5876
5876
  children: [/* @__PURE__ */ X("span", {
@@ -5882,9 +5882,9 @@ var vf = ({ notice: e, className: t, children: n }) => {
5882
5882
  }) : null]
5883
5883
  })] })
5884
5884
  }),
5885
- !p && b ? /* @__PURE__ */ X("div", { children: ue ? /* @__PURE__ */ X(Un, {
5885
+ !p && b ? /* @__PURE__ */ X("div", { children: le ? /* @__PURE__ */ X(Un, {
5886
5886
  instant: !0,
5887
- ...ue,
5887
+ ...le,
5888
5888
  children: /* @__PURE__ */ X("span", {
5889
5889
  className: "inline-flex",
5890
5890
  children: /* @__PURE__ */ X(V, {
@@ -5915,7 +5915,7 @@ var vf = ({ notice: e, className: t, children: n }) => {
5915
5915
  setOpen: O,
5916
5916
  questionId: e,
5917
5917
  questionType: a,
5918
- canDeleteQuestion: !w || !ie,
5918
+ canDeleteQuestion: !w || !re,
5919
5919
  hiddenActions: o
5920
5920
  })
5921
5921
  }) : null
@@ -5923,20 +5923,20 @@ var vf = ({ notice: e, className: t, children: n }) => {
5923
5923
  }), p ? n ? /* @__PURE__ */ X("p", {
5924
5924
  className: "w-full whitespace-pre-wrap break-words px-2 text-f1-foreground-secondary",
5925
5925
  children: n
5926
- }) : null : le ? /* @__PURE__ */ X(vf, {
5927
- notice: C && S ? ue : null,
5926
+ }) : null : ce ? /* @__PURE__ */ X(vf, {
5927
+ notice: C && S ? le : null,
5928
5928
  children: /* @__PURE__ */ X("textarea", {
5929
5929
  value: n,
5930
5930
  "aria-label": A("surveyFormBuilder.labels.description"),
5931
5931
  placeholder: N,
5932
5932
  onChange: F,
5933
- disabled: ce,
5934
- className: B("w-full [field-sizing:content] resize-none px-2 text-f1-foreground-secondary placeholder:text-f1-foreground-tertiary disabled:text-f1-foreground-secondary [&::-webkit-search-cancel-button]:hidden", !p && ce && "!cursor-not-allowed")
5933
+ disabled: se,
5934
+ className: B("w-full [field-sizing:content] resize-none px-2 text-f1-foreground-secondary placeholder:text-f1-foreground-tertiary disabled:text-f1-foreground-secondary [&::-webkit-search-cancel-button]:hidden", !p && se && "!cursor-not-allowed")
5935
5935
  })
5936
5936
  }) : null]
5937
5937
  }),
5938
5938
  r,
5939
- p ? /* @__PURE__ */ X(Je, {
5939
+ p ? /* @__PURE__ */ X(zt, {
5940
5940
  className: "-mt-2",
5941
5941
  fallback: A(i ? "forms.validation.required" : "forms.validation.invalidType")
5942
5942
  }) : null,
@@ -5959,11 +5959,11 @@ var vf = ({ notice: e, className: t, children: n }) => {
5959
5959
  className: "w-80",
5960
5960
  children: [
5961
5961
  w ? null : /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(qs, {
5962
- onClick: te,
5962
+ onClick: ee,
5963
5963
  children: /* @__PURE__ */ Z("div", {
5964
5964
  className: "flex w-full flex-row items-center gap-2",
5965
5965
  children: [/* @__PURE__ */ X(H, {
5966
- icon: Jr,
5966
+ icon: Oi,
5967
5967
  color: "default"
5968
5968
  }), /* @__PURE__ */ X("span", {
5969
5969
  className: "flex-1 text-base font-medium",
@@ -5971,8 +5971,8 @@ var vf = ({ notice: e, className: t, children: n }) => {
5971
5971
  })]
5972
5972
  })
5973
5973
  }), /* @__PURE__ */ X(Ks, {})] }),
5974
- I.map((e) => /* @__PURE__ */ X(qs, {
5975
- onClick: () => ee(e.questionType),
5974
+ L.map((e) => /* @__PURE__ */ X(qs, {
5975
+ onClick: () => I(e.questionType),
5976
5976
  children: /* @__PURE__ */ Z("div", {
5977
5977
  className: "flex w-full flex-row items-center gap-2",
5978
5978
  children: [/* @__PURE__ */ X(H, {
@@ -5984,8 +5984,8 @@ var vf = ({ notice: e, className: t, children: n }) => {
5984
5984
  })]
5985
5985
  })
5986
5986
  }, e.questionType)),
5987
- re.length > 0 ? /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(Ks, {}), re.map((e) => {
5988
- let t = ne.find((t) => t.datasetKey === e && t.questionType === "dropdown-single");
5987
+ ne.length > 0 ? /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(Ks, {}), ne.map((e) => {
5988
+ let t = te.find((t) => t.datasetKey === e && t.questionType === "dropdown-single");
5989
5989
  return /* @__PURE__ */ Z(Xs, { children: [/* @__PURE__ */ X(Ws, {
5990
5990
  className: "mx-1 px-2 data-[state=open]:rounded-sm data-[state=closed]:bg-transparent data-[state=open]:bg-f1-background-hover",
5991
5991
  children: /* @__PURE__ */ Z("div", {
@@ -5999,7 +5999,7 @@ var vf = ({ notice: e, className: t, children: n }) => {
5999
5999
  })]
6000
6000
  })
6001
6001
  }), /* @__PURE__ */ X(Ys, { children: /* @__PURE__ */ Z(rc, { children: [g("dropdown-single") ? /* @__PURE__ */ X(qs, {
6002
- onClick: () => ee("dropdown-single", e),
6002
+ onClick: () => I("dropdown-single", e),
6003
6003
  children: /* @__PURE__ */ Z("div", {
6004
6004
  className: "flex w-full flex-row items-center gap-2",
6005
6005
  children: [/* @__PURE__ */ X(H, {
@@ -6011,11 +6011,11 @@ var vf = ({ notice: e, className: t, children: n }) => {
6011
6011
  })]
6012
6012
  })
6013
6013
  }) : null, g("dropdown-multi") ? /* @__PURE__ */ X(qs, {
6014
- onClick: () => ee("dropdown-multi", e),
6014
+ onClick: () => I("dropdown-multi", e),
6015
6015
  children: /* @__PURE__ */ Z("div", {
6016
6016
  className: "flex w-full flex-row items-center gap-2",
6017
6017
  children: [/* @__PURE__ */ X(H, {
6018
- icon: Pi,
6018
+ icon: Aa,
6019
6019
  color: "default"
6020
6020
  }), /* @__PURE__ */ X("span", {
6021
6021
  className: "flex-1",
@@ -6040,7 +6040,7 @@ function bf(e) {
6040
6040
  //#endregion
6041
6041
  //#region src/domains/talent/surveys/surveys/SurveyFormBuilder/QuestionTypes/CheckboxQuestion/CheckboxQuestion.tsx
6042
6042
  var xf = ({ value: e, label: t, ...n }) => {
6043
- let { onQuestionChange: r, answering: i, disabled: a, getSectionContainingQuestion: o } = $d(), s = bf(n), { t: c } = R();
6043
+ let { onQuestionChange: r, answering: i, disabled: a, getSectionContainingQuestion: o } = $d(), s = bf(n), { t: c } = z();
6044
6044
  if (i) return /* @__PURE__ */ X(yf, {
6045
6045
  ...n,
6046
6046
  children: /* @__PURE__ */ X(rs, {
@@ -6085,7 +6085,7 @@ var xf = ({ value: e, label: t, ...n }) => {
6085
6085
  })
6086
6086
  });
6087
6087
  }, Sf = ({ value: e, ...t }) => {
6088
- let { onQuestionChange: n } = $d(), r = bf(t), { t: i } = R(), a = {
6088
+ let { onQuestionChange: n } = $d(), r = bf(t), { t: i } = z(), a = {
6089
6089
  id: t.id,
6090
6090
  type: "date",
6091
6091
  label: i("surveyFormBuilder.answer.label"),
@@ -6108,7 +6108,7 @@ var xf = ({ value: e, label: t, ...n }) => {
6108
6108
  })
6109
6109
  });
6110
6110
  }, Cf = ({ datasetKey: e, showSearchBox: t, searchBoxPlaceholder: n, ...r }) => {
6111
- let { onQuestionChange: i, answering: a, datasets: o } = $d(), s = bf(r), { t: c } = R(), l = o?.[e];
6111
+ let { onQuestionChange: i, answering: a, datasets: o } = $d(), s = bf(r), { t: c } = z(), l = o?.[e];
6112
6112
  if (!l) throw Error(`Dataset "${e}" not found for ${r.type}`);
6113
6113
  let u = r.type === "dropdown-multi", d = t ?? !0, f = r.type === "dropdown-single" ? r.allowCreate : void 0, p = a && !u && f && l.onCreate ? async (e) => {
6114
6114
  try {
@@ -6178,7 +6178,7 @@ var xf = ({ value: e, label: t, ...n }) => {
6178
6178
  progress: 0,
6179
6179
  status: "idle"
6180
6180
  }), Ef = ({ value: e, useUpload: t, accept: n, maxSizeMB: r, ...i }) => {
6181
- let { onQuestionChange: a, useUpload: o } = $d(), s = bf(i), { t: c } = R(), l = t ?? o, u = {
6181
+ let { onQuestionChange: a, useUpload: o } = $d(), s = bf(i), { t: c } = z(), l = t ?? o, u = {
6182
6182
  id: i.id,
6183
6183
  type: "file",
6184
6184
  label: c("surveyFormBuilder.answer.label"),
@@ -6204,7 +6204,7 @@ var xf = ({ value: e, label: t, ...n }) => {
6204
6204
  })
6205
6205
  });
6206
6206
  }, Df = ({ value: e, ...t }) => {
6207
- let { t: n } = R(), { onQuestionChange: r, answering: i } = $d(), a = bf(t), o = n("surveyFormBuilder.answer.linkPlaceholder"), s = {
6207
+ let { t: n } = z(), { onQuestionChange: r, answering: i } = $d(), a = bf(t), o = n("surveyFormBuilder.answer.linkPlaceholder"), s = {
6208
6208
  id: t.id,
6209
6209
  type: "text",
6210
6210
  inputType: "url",
@@ -6229,7 +6229,7 @@ var xf = ({ value: e, label: t, ...n }) => {
6229
6229
  })
6230
6230
  });
6231
6231
  }, Of = ({ value: e, ...t }) => {
6232
- let { t: n } = R(), { onQuestionChange: r, answering: i } = $d(), a = bf(t), o = (e) => {
6232
+ let { t: n } = z(), { onQuestionChange: r, answering: i } = $d(), a = bf(t), o = (e) => {
6233
6233
  r?.({
6234
6234
  ...t,
6235
6235
  type: "numeric",
@@ -6238,7 +6238,7 @@ var xf = ({ value: e, label: t, ...n }) => {
6238
6238
  }, s = n("surveyFormBuilder.answer.numericPlaceholder");
6239
6239
  return /* @__PURE__ */ X(yf, {
6240
6240
  ...t,
6241
- children: i ? /* @__PURE__ */ X(l, {
6241
+ children: i ? /* @__PURE__ */ X(le, {
6242
6242
  locale: "en-US",
6243
6243
  size: "md",
6244
6244
  value: e,
@@ -6249,7 +6249,7 @@ var xf = ({ value: e, label: t, ...n }) => {
6249
6249
  required: t.required,
6250
6250
  maxDecimals: 0,
6251
6251
  placeholder: s,
6252
- icon: ma
6252
+ icon: fa
6253
6253
  }) : /* @__PURE__ */ X(Ua, {
6254
6254
  type: "text",
6255
6255
  size: "md",
@@ -6258,7 +6258,7 @@ var xf = ({ value: e, label: t, ...n }) => {
6258
6258
  disabled: !0,
6259
6259
  label: n("surveyFormBuilder.answer.label"),
6260
6260
  hideLabel: !0,
6261
- icon: ma
6261
+ icon: fa
6262
6262
  })
6263
6263
  });
6264
6264
  }, kf = ({ option: e, selected: t, onClick: n, onChangeLabel: r, disabled: i, isEmojiMode: a = !1 }) => {
@@ -6292,7 +6292,7 @@ var xf = ({ value: e, label: t, ...n }) => {
6292
6292
  e.preventDefault(), e.stopPropagation();
6293
6293
  },
6294
6294
  children: /* @__PURE__ */ X(we, {
6295
- data: Oe,
6295
+ data: Ae,
6296
6296
  onEmojiSelect: (e) => {
6297
6297
  r?.(o, e.native), l(!1);
6298
6298
  },
@@ -6378,7 +6378,7 @@ function Nf({ checked: e, disabled: t }) {
6378
6378
  });
6379
6379
  }
6380
6380
  var Pf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i, disabled: a, answering: o, selected: s, correct: c, locked: l, type: u }) => {
6381
- let { value: d, label: f } = t, { isDragging: p, setIsDragging: m, setDraggedItemId: h, draggedItemId: g } = nf(), { t: _ } = R(), v = p && g === d, y = () => {
6381
+ let { value: d, label: f } = t, { isDragging: p, setIsDragging: m, setDraggedItemId: h, draggedItemId: g } = nf(), { t: _ } = z(), v = p && g === d, y = () => {
6382
6382
  (a || o) && n(d);
6383
6383
  }, b = (t) => {
6384
6384
  r({
@@ -6402,7 +6402,7 @@ var Pf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6402
6402
  }, T = () => {
6403
6403
  m(!1), h(null);
6404
6404
  }, E = p ? v : !a && !o, D = !a && !o && !l;
6405
- return /* @__PURE__ */ X(Ve, {
6405
+ return /* @__PURE__ */ X(rn, {
6406
6406
  value: t,
6407
6407
  onDragStart: w,
6408
6408
  onDragEnd: T,
@@ -6432,7 +6432,7 @@ var Pf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6432
6432
  children: /* @__PURE__ */ X("div", {
6433
6433
  className: B("flex aspect-square scale-90 items-center justify-center", u === "multi-select" ? "w-6" : "w-5"),
6434
6434
  children: /* @__PURE__ */ X(Xa, {
6435
- icon: ki,
6435
+ icon: Di,
6436
6436
  size: "sm"
6437
6437
  })
6438
6438
  })
@@ -6455,13 +6455,13 @@ var Pf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6455
6455
  children: [/* @__PURE__ */ X(V, {
6456
6456
  label: _("surveyFormBuilder.selectQuestion.markAsCorrect"),
6457
6457
  variant: "ghost",
6458
- icon: c ? ka : ja,
6458
+ icon: c ? Gi : za,
6459
6459
  onClick: x,
6460
6460
  hideLabel: !0
6461
6461
  }), /* @__PURE__ */ X(V, {
6462
6462
  label: _("surveyFormBuilder.selectQuestion.remove"),
6463
6463
  variant: "ghost",
6464
- icon: ca,
6464
+ icon: Oa,
6465
6465
  hideLabel: !0,
6466
6466
  onClick: S
6467
6467
  })]
@@ -6470,7 +6470,7 @@ var Pf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6470
6470
  })
6471
6471
  });
6472
6472
  }, Ff = ({ options: e, ...t }) => {
6473
- let { onQuestionChange: n, disabled: r, answering: i, getSectionContainingQuestion: a } = $d(), o = new Set(e.map((e) => e.value)).size !== e.length, s = a(t.id)?.locked || t.locked, { t: c } = R(), l = K(() => ({
6473
+ let { onQuestionChange: n, disabled: r, answering: i, getSectionContainingQuestion: a } = $d(), o = new Set(e.map((e) => e.value)).size !== e.length, s = a(t.id)?.locked || t.locked, { t: c } = z(), l = K(() => ({
6474
6474
  id: t.id,
6475
6475
  type: t.type,
6476
6476
  options: e
@@ -6490,7 +6490,7 @@ var Pf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6490
6490
  }, a = new Set(r.map((e) => e.value)).size !== r.length;
6491
6491
  a && (r = r.map((e) => ({
6492
6492
  ...e,
6493
- value: ee()
6493
+ value: Se()
6494
6494
  })), a && n?.({
6495
6495
  ...i,
6496
6496
  options: r
@@ -6561,7 +6561,7 @@ var Pf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6561
6561
  ...t,
6562
6562
  children: /* @__PURE__ */ Z("div", {
6563
6563
  className: "-mx-0.5 flex flex-col items-start [&>div]:w-full",
6564
- children: [/* @__PURE__ */ X(tf, { children: /* @__PURE__ */ X(ht, {
6564
+ children: [/* @__PURE__ */ X(tf, { children: /* @__PURE__ */ X(ze, {
6565
6565
  axis: "y",
6566
6566
  values: e,
6567
6567
  onReorder: m,
@@ -6597,7 +6597,7 @@ var Pf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6597
6597
  })
6598
6598
  });
6599
6599
  }, If = ({ value: e, ...t }) => {
6600
- let { onQuestionChange: n, answering: r, placeholders: i } = $d(), a = bf(t), { t: o } = R(), s = i?.answer ?? o("surveyFormBuilder.answer.textPlaceholder"), c = K(() => t.type === "text" ? {
6600
+ let { onQuestionChange: n, answering: r, placeholders: i } = $d(), a = bf(t), { t: o } = z(), s = i?.answer ?? o("surveyFormBuilder.answer.textPlaceholder"), c = K(() => t.type === "text" ? {
6601
6601
  id: t.id,
6602
6602
  type: "text",
6603
6603
  label: o("surveyFormBuilder.answer.label"),
@@ -6648,7 +6648,7 @@ var Pf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6648
6648
  default: throw Error("Invalid question type provided");
6649
6649
  }
6650
6650
  }, Rf = () => {
6651
- let { t: e } = R();
6651
+ let { t: e } = z();
6652
6652
  return /* @__PURE__ */ Z("div", {
6653
6653
  className: "mt-8 ml-7 flex flex-row items-center gap-4",
6654
6654
  children: [
@@ -6661,12 +6661,12 @@ var Pf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6661
6661
  ]
6662
6662
  });
6663
6663
  }, zf = yc(({ item: e, section: t, showEndOfSection: n, className: r }) => {
6664
- let { isDragging: i, setIsDragging: a, setDraggedItemId: o, draggedItemId: s } = nf(), c = Ut(), { disabled: l, answering: u } = $d(), d = !!t && s === t.id, f = () => {
6664
+ let { isDragging: i, setIsDragging: a, setDraggedItemId: o, draggedItemId: s } = nf(), c = $t(), { disabled: l, answering: u } = $d(), d = !!t && s === t.id, f = () => {
6665
6665
  a(!0), o(e.question.id);
6666
6666
  }, p = () => {
6667
6667
  a(!1), o(null);
6668
6668
  }, m = t?.locked, h = !l && !u && !m;
6669
- return /* @__PURE__ */ Z(Ve, {
6669
+ return /* @__PURE__ */ Z(rn, {
6670
6670
  value: e.id,
6671
6671
  onDragStart: f,
6672
6672
  onDragEnd: p,
@@ -6688,7 +6688,7 @@ var Pf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6688
6688
  h && c.start(e);
6689
6689
  },
6690
6690
  children: /* @__PURE__ */ X(H, {
6691
- icon: ki,
6691
+ icon: Di,
6692
6692
  size: "sm"
6693
6693
  })
6694
6694
  }) : null, /* @__PURE__ */ X(Lf, { ...e.question })]
@@ -6696,12 +6696,12 @@ var Pf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6696
6696
  }), n ? /* @__PURE__ */ X(Rf, {}) : null]
6697
6697
  });
6698
6698
  }, (e, t) => e.showEndOfSection === t.showEndOfSection && e.className === t.className && (0, hl.default)(e.section, t.section) && (0, hl.default)(e.item, t.item)), Bf = ({ question: e }) => {
6699
- let { isDragging: t, setIsDragging: n, setDraggedItemId: r } = nf(), i = Ut(), { disabled: a, answering: o, getSectionContainingQuestion: s } = $d(), c = s(e.id), l = () => {
6699
+ let { isDragging: t, setIsDragging: n, setDraggedItemId: r } = nf(), i = $t(), { disabled: a, answering: o, getSectionContainingQuestion: s } = $d(), c = s(e.id), l = () => {
6700
6700
  n(!0), r(e.id);
6701
6701
  }, u = () => {
6702
6702
  n(!1), r(null);
6703
6703
  }, d = c?.locked, f = !a && !o && !d;
6704
- return /* @__PURE__ */ X(Ve, {
6704
+ return /* @__PURE__ */ X(rn, {
6705
6705
  value: e,
6706
6706
  as: "div",
6707
6707
  onDragStart: l,
@@ -6718,14 +6718,14 @@ var Pf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6718
6718
  f && i.start(e);
6719
6719
  },
6720
6720
  children: /* @__PURE__ */ X(H, {
6721
- icon: ki,
6721
+ icon: Di,
6722
6722
  size: "sm"
6723
6723
  })
6724
6724
  }) : null, /* @__PURE__ */ X(Lf, { ...e })]
6725
6725
  })
6726
6726
  });
6727
6727
  }, Vf = ({ id: e, title: t = "", description: n, lockedNote: r, questions: i = [], locked: a, hideQuestions: o }) => {
6728
- let { onSectionChange: s, disabled: c, answering: l, deleteElement: u, onDuplicateElement: d, placeholders: f } = $d(), [p, m] = J(!1), { t: h } = R(), g = f?.sectionTitle ?? h("surveyFormBuilder.labels.sectionTitlePlaceholder"), _ = K(() => ({
6728
+ let { onSectionChange: s, disabled: c, answering: l, deleteElement: u, onDuplicateElement: d, placeholders: f } = $d(), [p, m] = J(!1), { t: h } = z(), g = f?.sectionTitle ?? h("surveyFormBuilder.labels.sectionTitlePlaceholder"), _ = K(() => ({
6729
6729
  id: e,
6730
6730
  title: t,
6731
6731
  description: n
@@ -6750,7 +6750,7 @@ var Pf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6750
6750
  });
6751
6751
  }, x = [{
6752
6752
  label: h("surveyFormBuilder.actions.duplicateSection"),
6753
- icon: hi,
6753
+ icon: pi,
6754
6754
  onClick: () => {
6755
6755
  d?.({
6756
6756
  elementId: e,
@@ -6759,7 +6759,7 @@ var Pf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6759
6759
  }
6760
6760
  }, {
6761
6761
  label: h("surveyFormBuilder.actions.deleteSection"),
6762
- icon: ca,
6762
+ icon: Oa,
6763
6763
  onClick: () => {
6764
6764
  u(e);
6765
6765
  },
@@ -6804,7 +6804,7 @@ var Pf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6804
6804
  }) : null,
6805
6805
  !c && !l && !a ? /* @__PURE__ */ X("div", {
6806
6806
  className: B("opacity-0 group-hover/section:opacity-100", p && "opacity-100"),
6807
- children: /* @__PURE__ */ X(Ni, {
6807
+ children: /* @__PURE__ */ X(Mi, {
6808
6808
  items: x,
6809
6809
  icon: Bs,
6810
6810
  open: p,
@@ -6829,7 +6829,7 @@ var Pf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6829
6829
  disabled: S,
6830
6830
  className: B("w-full [field-sizing:content] resize-none text-f1-foreground-secondary placeholder:text-f1-foreground-tertiary disabled:text-f1-foreground-secondary [&::-webkit-search-cancel-button]:hidden", S && "cursor-not-allowed")
6831
6831
  }) : null]
6832
- }) : null, o ? null : /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(tf, { children: /* @__PURE__ */ X(ht, {
6832
+ }) : null, o ? null : /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(tf, { children: /* @__PURE__ */ X(ze, {
6833
6833
  axis: "y",
6834
6834
  values: i,
6835
6835
  onReorder: b,
@@ -6851,8 +6851,8 @@ var Pf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6851
6851
  })] })]
6852
6852
  });
6853
6853
  }, Hf = yc(({ item: e, className: t }) => {
6854
- let { isDragging: n, setIsDragging: r, setDraggedItemId: i, draggedItemId: a } = nf(), o = Ut(), { disabled: s, answering: c } = $d(), l = a === e.section.id;
6855
- return /* @__PURE__ */ X(Ve, {
6854
+ let { isDragging: n, setIsDragging: r, setDraggedItemId: i, draggedItemId: a } = nf(), o = $t(), { disabled: s, answering: c } = $d(), l = a === e.section.id;
6855
+ return /* @__PURE__ */ X(rn, {
6856
6856
  value: e.id,
6857
6857
  onDragStart: () => {
6858
6858
  r(!0), i(e.section.id);
@@ -6880,7 +6880,7 @@ var Pf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6880
6880
  o.start(e);
6881
6881
  },
6882
6882
  children: /* @__PURE__ */ X(H, {
6883
- icon: ki,
6883
+ icon: Di,
6884
6884
  size: "sm"
6885
6885
  })
6886
6886
  }) : null, /* @__PURE__ */ X(Vf, {
@@ -6910,7 +6910,7 @@ var Pf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6910
6910
  p || x.push({
6911
6911
  type: "toggle",
6912
6912
  label: l,
6913
- icon: ui,
6913
+ icon: yi,
6914
6914
  checked: !!r?.required,
6915
6915
  onCheckedChange: m
6916
6916
  });
@@ -6955,7 +6955,7 @@ var Pf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6955
6955
  selected: s === e && t === "dropdown-single"
6956
6956
  }, {
6957
6957
  label: f,
6958
- icon: Pi,
6958
+ icon: Aa,
6959
6959
  onClick: () => h("dropdown-multi", e),
6960
6960
  selected: s === e && t === "dropdown-multi"
6961
6961
  }]
@@ -6969,16 +6969,16 @@ var Pf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6969
6969
  return x.push({
6970
6970
  type: "submenu",
6971
6971
  label: u,
6972
- icon: xi,
6972
+ icon: bi,
6973
6973
  selectedLabel: E,
6974
6974
  children: w
6975
6975
  }), x.push({ type: "separator" }), x.push({
6976
6976
  label: i,
6977
- icon: hi,
6977
+ icon: pi,
6978
6978
  onClick: y
6979
6979
  }), n && x.push({
6980
6980
  label: a,
6981
- icon: ca,
6981
+ icon: Oa,
6982
6982
  onClick: b,
6983
6983
  critical: !0
6984
6984
  }), x;
@@ -6999,12 +6999,12 @@ var Pf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6999
6999
  return {
7000
7000
  id: i,
7001
7001
  label: t.title || n,
7002
- icon: Jr,
7002
+ icon: Oi,
7003
7003
  onClick: y,
7004
7004
  ...!h && !g && !t.locked && { otherActions: [
7005
7005
  {
7006
7006
  label: o,
7007
- icon: hi,
7007
+ icon: pi,
7008
7008
  onClick: () => m?.({
7009
7009
  elementId: t.id,
7010
7010
  type: "section"
@@ -7013,7 +7013,7 @@ var Pf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
7013
7013
  { type: "separator" },
7014
7014
  {
7015
7015
  label: s,
7016
- icon: ca,
7016
+ icon: Oa,
7017
7017
  onClick: () => p(t.id),
7018
7018
  critical: !0
7019
7019
  }
@@ -7080,7 +7080,7 @@ function Jf(e, t) {
7080
7080
  return i;
7081
7081
  }
7082
7082
  var Yf = ({ elements: e, onChange: t, answering: n }) => {
7083
- let { t: r } = R(), { disabled: i, labels: a } = $d(), { portalContainer: o } = bc(Ao), s = Gf(e, {
7083
+ let { t: r } = z(), { disabled: i, labels: a } = $d(), { portalContainer: o } = bc(Ao), s = Gf(e, {
7084
7084
  untitledSectionLabel: r("surveyFormBuilder.labels.sectionTitlePlaceholder"),
7085
7085
  untitledQuestionLabel: r("surveyFormBuilder.labels.titlePlaceholder"),
7086
7086
  duplicateQuestionLabel: a?.duplicateQuestion ?? r("surveyFormBuilder.actions.duplicateQuestion"),
@@ -7227,7 +7227,7 @@ var Qf = (e, t, n) => {
7227
7227
  }, s.id)), o++;
7228
7228
  }
7229
7229
  return /* @__PURE__ */ X(Y, { children: a });
7230
- }, tp = L(({ elements: e, disabled: t, onChange: n, disallowOptionalQuestions: r, allowedQuestionTypes: i, applyingChanges: a, useUpload: o, datasets: s, placeholders: c, labels: l, skipDefaultSection: u }) => {
7230
+ }, tp = R(({ elements: e, disabled: t, onChange: n, disallowOptionalQuestions: r, allowedQuestionTypes: i, applyingChanges: a, useUpload: o, datasets: s, placeholders: c, labels: l, skipDefaultSection: u }) => {
7231
7231
  let d = !t, f = K(() => e.map((e) => e.type === "question" ? {
7232
7232
  ...e,
7233
7233
  question: {
@@ -7283,7 +7283,7 @@ var Qf = (e, t, n) => {
7283
7283
  initial: { filter: "blur(0px)" },
7284
7284
  animate: { filter: a ? "blur(2px)" : "none" },
7285
7285
  exit: { filter: "blur(0px)" },
7286
- children: [/* @__PURE__ */ X(ht, {
7286
+ children: [/* @__PURE__ */ X(ze, {
7287
7287
  axis: "y",
7288
7288
  values: h,
7289
7289
  onReorder: b,
@@ -7329,27 +7329,27 @@ function np({ titleWidth: e, descriptionWidth: t, answer: n }) {
7329
7329
  className: "flex flex-col gap-4 rounded-xl border border-solid border-f1-border-secondary bg-f1-background p-4",
7330
7330
  children: [/* @__PURE__ */ Z("div", {
7331
7331
  className: "flex flex-col gap-2",
7332
- children: [/* @__PURE__ */ X(z, {
7332
+ children: [/* @__PURE__ */ X(mn, {
7333
7333
  className: "h-5 rounded-sm",
7334
7334
  style: { width: e }
7335
- }), t ? /* @__PURE__ */ X(z, {
7335
+ }), t ? /* @__PURE__ */ X(mn, {
7336
7336
  className: "h-4 rounded-sm",
7337
7337
  style: { width: t }
7338
7338
  }) : null]
7339
7339
  }), n]
7340
7340
  });
7341
7341
  }
7342
- var rp = /* @__PURE__ */ X(z, { className: "h-10 w-full rounded-sm" }), ip = /* @__PURE__ */ X(z, { className: "h-24 w-full rounded-sm" }), ap = /* @__PURE__ */ X(z, { className: "h-10 w-56 max-w-full rounded-sm" });
7342
+ var rp = /* @__PURE__ */ X(mn, { className: "h-10 w-full rounded-sm" }), ip = /* @__PURE__ */ X(mn, { className: "h-24 w-full rounded-sm" }), ap = /* @__PURE__ */ X(mn, { className: "h-10 w-56 max-w-full rounded-sm" });
7343
7343
  function op() {
7344
7344
  return /* @__PURE__ */ X("div", {
7345
7345
  className: "grid grid-cols-5 gap-2 sm:max-w-80",
7346
- children: Array.from({ length: 5 }).map((e, t) => /* @__PURE__ */ X(z, { className: "h-9 rounded-sm" }, t))
7346
+ children: Array.from({ length: 5 }).map((e, t) => /* @__PURE__ */ X(mn, { className: "h-9 rounded-sm" }, t))
7347
7347
  });
7348
7348
  }
7349
7349
  function sp({ count: e }) {
7350
7350
  return /* @__PURE__ */ X("div", {
7351
7351
  className: "flex flex-col gap-2",
7352
- children: Array.from({ length: e }).map((e, t) => /* @__PURE__ */ X(z, {
7352
+ children: Array.from({ length: e }).map((e, t) => /* @__PURE__ */ X(mn, {
7353
7353
  className: "h-7 w-56 max-w-full rounded-sm",
7354
7354
  style: { width: `${Math.max(52, 76 - t * 7)}%` }
7355
7355
  }, t))
@@ -7358,7 +7358,7 @@ function sp({ count: e }) {
7358
7358
  function cp() {
7359
7359
  return /* @__PURE__ */ X("div", {
7360
7360
  className: "flex flex-wrap gap-2",
7361
- children: Array.from({ length: 5 }).map((e, t) => /* @__PURE__ */ X(z, {
7361
+ children: Array.from({ length: 5 }).map((e, t) => /* @__PURE__ */ X(mn, {
7362
7362
  className: "h-8 rounded-sm",
7363
7363
  style: { width: `${18 + t * 3}%` }
7364
7364
  }, t))
@@ -7374,7 +7374,7 @@ function lp() {
7374
7374
  className: "flex flex-col gap-5",
7375
7375
  children: [/* @__PURE__ */ Z("div", {
7376
7376
  className: "flex flex-col gap-2 px-5",
7377
- children: [/* @__PURE__ */ X(z, { className: "h-6 w-56 rounded-sm" }), /* @__PURE__ */ X(z, { className: "h-4 w-80 max-w-full rounded-sm" })]
7377
+ children: [/* @__PURE__ */ X(mn, { className: "h-6 w-56 rounded-sm" }), /* @__PURE__ */ X(mn, { className: "h-4 w-80 max-w-full rounded-sm" })]
7378
7378
  }), /* @__PURE__ */ X("div", {
7379
7379
  className: "flex flex-col gap-4",
7380
7380
  children: e === 0 ? /* @__PURE__ */ Z(Y, { children: [
@@ -7442,7 +7442,7 @@ function up() {
7442
7442
  "aria-live": "polite",
7443
7443
  children: [/* @__PURE__ */ Z("div", {
7444
7444
  className: "flex flex-col gap-2 px-5",
7445
- children: [/* @__PURE__ */ X(z, { className: "h-6 w-52 rounded-sm" }), /* @__PURE__ */ X(z, { className: "h-4 w-72 max-w-full rounded-sm" })]
7445
+ children: [/* @__PURE__ */ X(mn, { className: "h-6 w-52 rounded-sm" }), /* @__PURE__ */ X(mn, { className: "h-4 w-72 max-w-full rounded-sm" })]
7446
7446
  }), /* @__PURE__ */ X(np, {
7447
7447
  titleWidth: "74%",
7448
7448
  descriptionWidth: "50%",
@@ -7541,7 +7541,7 @@ function mp({ value: e, onChange: t, onBlur: n, config: r }) {
7541
7541
  u ? /* @__PURE__ */ X("div", {
7542
7542
  className: "min-h-8 p-1",
7543
7543
  children: /* @__PURE__ */ X(H, {
7544
- icon: t.correct ? ja : ka,
7544
+ icon: t.correct ? za : Gi,
7545
7545
  color: t.correct ? "positive" : "critical",
7546
7546
  "aria-hidden": !0
7547
7547
  })
@@ -7563,7 +7563,7 @@ var hp = /^(https?:\/\/)?[\w.-]+\.[a-z]{2,}(:\d+)?(\/[^\s]*)?$/i, gp = () => ({
7563
7563
  status: "idle"
7564
7564
  });
7565
7565
  function _p(e, t) {
7566
- return $i().optional().superRefine((n, r) => {
7566
+ return Zi().optional().superRefine((n, r) => {
7567
7567
  e && (!n || n.trim() === "") && r.addIssue({
7568
7568
  code: "custom",
7569
7569
  message: t("forms.validation.required")
@@ -7571,7 +7571,7 @@ function _p(e, t) {
7571
7571
  });
7572
7572
  }
7573
7573
  function vp(e, t) {
7574
- return $i().optional().superRefine((n, r) => {
7574
+ return Zi().optional().superRefine((n, r) => {
7575
7575
  e && (!n || n.trim() === "") ? r.addIssue({
7576
7576
  code: "custom",
7577
7577
  message: t("forms.validation.required")
@@ -7582,7 +7582,7 @@ function vp(e, t) {
7582
7582
  });
7583
7583
  }
7584
7584
  function yp(e, t) {
7585
- return pa().optional().superRefine((n, r) => {
7585
+ return da().optional().superRefine((n, r) => {
7586
7586
  e && n == null && r.addIssue({
7587
7587
  code: "custom",
7588
7588
  message: t("forms.validation.required")
@@ -7590,7 +7590,7 @@ function yp(e, t) {
7590
7590
  });
7591
7591
  }
7592
7592
  function bp(e, t) {
7593
- return Xi($i()).optional().superRefine((n, r) => {
7593
+ return Ji(Zi()).optional().superRefine((n, r) => {
7594
7594
  e && (!n || n.length === 0) && r.addIssue({
7595
7595
  code: "custom",
7596
7596
  message: t("forms.validation.required")
@@ -7598,7 +7598,7 @@ function bp(e, t) {
7598
7598
  });
7599
7599
  }
7600
7600
  function xp(e, t) {
7601
- return xa().optional().superRefine((n, r) => {
7601
+ return ba().optional().superRefine((n, r) => {
7602
7602
  e && !n && r.addIssue({
7603
7603
  code: "custom",
7604
7604
  message: t("forms.validation.required")
@@ -7607,7 +7607,7 @@ function xp(e, t) {
7607
7607
  }
7608
7608
  var Sp = bp;
7609
7609
  function Cp(e, t) {
7610
- return Zi().optional().superRefine((n, r) => {
7610
+ return Yi().optional().superRefine((n, r) => {
7611
7611
  e && !n && r.addIssue({
7612
7612
  code: "custom",
7613
7613
  message: t("forms.validation.required")
@@ -7660,7 +7660,7 @@ function Op({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
7660
7660
  placeholder: t("surveyFormBuilder.answer.textPlaceholder"),
7661
7661
  disabled: i
7662
7662
  };
7663
- return Ii(_p(!!e.required, t), {
7663
+ return Pi(_p(!!e.required, t), {
7664
7664
  ...l,
7665
7665
  fieldType: "custom",
7666
7666
  render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(yf, {
@@ -7688,7 +7688,7 @@ function Op({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
7688
7688
  rows: 4,
7689
7689
  disabled: i
7690
7690
  };
7691
- return Ii(_p(!!e.required, t), {
7691
+ return Pi(_p(!!e.required, t), {
7692
7692
  ...l,
7693
7693
  fieldType: "custom",
7694
7694
  render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(yf, {
@@ -7715,7 +7715,7 @@ function Op({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
7715
7715
  placeholder: t("surveyFormBuilder.answer.numericPlaceholder"),
7716
7716
  disabled: i
7717
7717
  };
7718
- return Ii(yp(!!e.required, t), {
7718
+ return Pi(yp(!!e.required, t), {
7719
7719
  ...l,
7720
7720
  fieldType: "custom",
7721
7721
  render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(yf, {
@@ -7743,7 +7743,7 @@ function Op({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
7743
7743
  placeholder: t("surveyFormBuilder.answer.linkPlaceholder"),
7744
7744
  disabled: i
7745
7745
  };
7746
- return Ii(vp(!!e.required, t), {
7746
+ return Pi(vp(!!e.required, t), {
7747
7747
  ...l,
7748
7748
  fieldType: "custom",
7749
7749
  render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(yf, {
@@ -7770,7 +7770,7 @@ function Op({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
7770
7770
  clearable: !e.required,
7771
7771
  disabled: i
7772
7772
  };
7773
- return Ii(xp(!!e.required, t), {
7773
+ return Pi(xp(!!e.required, t), {
7774
7774
  ...l,
7775
7775
  fieldType: "custom",
7776
7776
  render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(yf, {
@@ -7806,7 +7806,7 @@ function Op({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
7806
7806
  showSearchBox: r,
7807
7807
  searchBoxPlaceholder: e.searchBoxPlaceholder
7808
7808
  };
7809
- return Ii(_p(!!e.required, t), {
7809
+ return Pi(_p(!!e.required, t), {
7810
7810
  ...l,
7811
7811
  fieldType: "custom",
7812
7812
  render: ({ value: t, onChange: r, onBlur: i, error: o }) => {
@@ -7855,7 +7855,7 @@ function Op({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
7855
7855
  showSearchBox: r,
7856
7856
  searchBoxPlaceholder: e.searchBoxPlaceholder
7857
7857
  };
7858
- return Ii(bp(!!e.required, t), {
7858
+ return Pi(bp(!!e.required, t), {
7859
7859
  ...l,
7860
7860
  fieldType: "custom",
7861
7861
  render: ({ value: e, onChange: t, onBlur: n, error: r }) => /* @__PURE__ */ X(yf, {
@@ -7882,7 +7882,7 @@ function Op({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
7882
7882
  disabled: i,
7883
7883
  showAnswerValidation: r
7884
7884
  };
7885
- return Ii(_p(!!e.required, t), {
7885
+ return Pi(_p(!!e.required, t), {
7886
7886
  ...l,
7887
7887
  fieldType: "custom",
7888
7888
  fieldConfig: n,
@@ -7905,7 +7905,7 @@ function Op({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
7905
7905
  disabled: i,
7906
7906
  showAnswerValidation: r
7907
7907
  };
7908
- return Ii(bp(!!e.required, t), {
7908
+ return Pi(bp(!!e.required, t), {
7909
7909
  ...l,
7910
7910
  fieldType: "custom",
7911
7911
  fieldConfig: n,
@@ -7927,7 +7927,7 @@ function Op({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
7927
7927
  maxLabel: n.maxLabel,
7928
7928
  disabled: i
7929
7929
  };
7930
- return Ii(yp(!!e.required, t), {
7930
+ return Pi(yp(!!e.required, t), {
7931
7931
  ...l,
7932
7932
  fieldType: "custom",
7933
7933
  fieldConfig: r,
@@ -7953,7 +7953,7 @@ function Op({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
7953
7953
  useUpload: r ?? gp,
7954
7954
  disabled: i || !r
7955
7955
  };
7956
- return Ii(Sp(!!e.required, t), {
7956
+ return Pi(Sp(!!e.required, t), {
7957
7957
  ...l,
7958
7958
  fieldType: "custom",
7959
7959
  render: ({ value: e, onChange: t, onBlur: n, error: r }) => /* @__PURE__ */ X(yf, {
@@ -7979,7 +7979,7 @@ function Op({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
7979
7979
  label: n.label || c,
7980
7980
  disabled: i
7981
7981
  };
7982
- return Ii(Cp(!!e.required, t), {
7982
+ return Pi(Cp(!!e.required, t), {
7983
7983
  ...l,
7984
7984
  fieldType: "custom",
7985
7985
  render: ({ value: e, onChange: t, onBlur: n, error: i }) => /* @__PURE__ */ X(yf, {
@@ -7998,7 +7998,7 @@ function Op({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
7998
7998
  })
7999
7999
  });
8000
8000
  }
8001
- default: return Ii(Li(), {
8001
+ default: return Pi(Fi(), {
8002
8002
  ...l,
8003
8003
  fieldType: "custom",
8004
8004
  render: () => null
@@ -8039,7 +8039,7 @@ function kp({ elements: e, mode: t, t: n, defaultValues: r, currentQuestionId: i
8039
8039
  }), f[e.id] = a?.[e.id] ?? wp(e, r);
8040
8040
  }
8041
8041
  return {
8042
- schema: na(d),
8042
+ schema: ea(d),
8043
8043
  defaultValues: f,
8044
8044
  flatQuestions: m,
8045
8045
  sections: p
@@ -8068,27 +8068,27 @@ function Mp(e) {
8068
8068
  function Np(e) {
8069
8069
  return e.inline ? /* @__PURE__ */ X(Fp, { ...e }) : /* @__PURE__ */ X(Pp, { ...e });
8070
8070
  }
8071
- function Pp({ elements: e, onSubmit: t, mode: n, title: r, description: i, resourceHeader: a, isOpen: o, onClose: s, position: c = "center", module: l, allowToChangeFullscreen: d = !1, defaultValues: f, errorTriggerMode: p = "on-blur", loading: h = !1, labels: g, preview: _ = !1, useUpload: v, datasets: y }) {
8072
- let { t: b } = R(), x = c === "fullscreen", S = c === "fullscreen" ? "center" : c, [C, w] = J(x), { formRef: T, submit: E, isSubmitting: D, hasErrors: O } = Ze(), k = q({}), A = K(() => Tp(e), [e]), j = dp(A), M = A.length > 0, N = {
8071
+ function Pp({ elements: e, onSubmit: t, mode: n, title: r, description: i, resourceHeader: a, isOpen: o, onClose: s, position: c = "center", module: u, allowToChangeFullscreen: d = !1, defaultValues: f, errorTriggerMode: p = "on-blur", loading: h = !1, labels: g, preview: _ = !1, useUpload: v, datasets: y }) {
8072
+ let { t: b } = z(), x = c === "fullscreen", S = c === "fullscreen" ? "center" : c, [C, T] = J(x), { formRef: E, submit: D, isSubmitting: O, hasErrors: k } = l(), A = q({}), j = K(() => Tp(e), [e]), M = dp(j), N = j.length > 0, P = {
8073
8073
  title: g?.empty?.title ?? b("surveyAnsweringForm.labels.empty.title"),
8074
8074
  description: g?.empty?.description ?? b("surveyAnsweringForm.labels.empty.description"),
8075
8075
  emoji: g?.empty?.emoji ?? b("surveyAnsweringForm.labels.empty.emoji")
8076
- }, P = n === "stepped", F = _ && !!f && Object.keys(f).length > 0, ee = _ && !F, te = P ? j.currentQuestion?.id : void 0, ne = q(void 0), I = q(Ap), re = W(() => {
8077
- clearTimeout(ne.current);
8076
+ }, F = n === "stepped", I = _ && !!f && Object.keys(f).length > 0, ee = _ && !I, te = F ? M.currentQuestion?.id : void 0, L = q(void 0), ne = q(Ap), re = W(() => {
8077
+ clearTimeout(L.current);
8078
8078
  }, []), ie = W((e) => {
8079
- re(), e && (ne.current = setTimeout(() => I.current(), jp));
8079
+ re(), e && (L.current = setTimeout(() => ne.current(), jp));
8080
8080
  }, [re]), { schema: ae, defaultValues: oe, sections: se } = kp({
8081
8081
  elements: e,
8082
8082
  mode: n,
8083
8083
  t: b,
8084
8084
  defaultValues: f,
8085
8085
  currentQuestionId: te,
8086
- accumulatedValues: P ? k.current : void 0,
8086
+ accumulatedValues: F ? A.current : void 0,
8087
8087
  previewMode: _,
8088
- disableFields: F,
8088
+ disableFields: I,
8089
8089
  useUpload: v,
8090
8090
  datasets: y,
8091
- onSingleAnswerChange: P ? ie : void 0
8091
+ onSingleAnswerChange: F ? ie : void 0
8092
8092
  }), ce = C ? "fullscreen" : S, le = ce === "center" ? "xl" : void 0, ue = q(null), de = W((e) => {
8093
8093
  ue.current && clearTimeout(ue.current), ue.current = setTimeout(() => {
8094
8094
  ue.current = null, s();
@@ -8102,77 +8102,77 @@ function Pp({ elements: e, onSubmit: t, mode: n, title: r, description: i, resou
8102
8102
  }, [de]), pe = W(async (e) => {
8103
8103
  if (_) return { success: !0 };
8104
8104
  if (!t) throw Error("onSubmit is required when preview is false");
8105
- if (P && !j.isLastStep) return k.current = {
8106
- ...k.current,
8105
+ if (F && !M.isLastStep) return A.current = {
8106
+ ...A.current,
8107
8107
  ...e
8108
- }, j.goToNext(), { success: !0 };
8109
- let n = Mp(P ? {
8110
- ...k.current,
8108
+ }, M.goToNext(), { success: !0 };
8109
+ let n = Mp(F ? {
8110
+ ...A.current,
8111
8111
  ...e
8112
8112
  } : e);
8113
- if (P) {
8114
- j.setProgress(100);
8113
+ if (F) {
8114
+ M.setProgress(100);
8115
8115
  let [e] = await Promise.all([t(n), new Promise((e) => setTimeout(e, 1e3))]);
8116
- return e.success || j.setProgress(null), fe(e);
8116
+ return e.success || M.setProgress(null), fe(e);
8117
8117
  }
8118
8118
  return fe(await t(n));
8119
8119
  }, [
8120
8120
  t,
8121
8121
  _,
8122
8122
  fe,
8123
- P,
8124
- j.isLastStep,
8125
- j.goToNext,
8126
- j.setProgress
8123
+ F,
8124
+ M.isLastStep,
8125
+ M.goToNext,
8126
+ M.setProgress
8127
8127
  ]), me = W(async () => {
8128
8128
  try {
8129
- await E();
8129
+ await D();
8130
8130
  } catch {}
8131
- }, [E]), he = W(() => {
8132
- let e = T.current?.getValues() ?? {};
8133
- k.current = {
8134
- ...k.current,
8131
+ }, [D]), he = W(() => {
8132
+ let e = E.current?.getValues() ?? {};
8133
+ A.current = {
8134
+ ...A.current,
8135
8135
  ...e
8136
- }, j.goToPrevious();
8137
- }, [T, j.goToPrevious]), ge = P && !j.isLastStep && !h && !F, _e = ee ? j.goToNext : me;
8136
+ }, M.goToPrevious();
8137
+ }, [E, M.goToPrevious]), ge = F && !M.isLastStep && !h && !I, _e = ee ? M.goToNext : me;
8138
8138
  G(() => {
8139
- I.current = ge ? _e : Ap;
8139
+ ne.current = ge ? _e : Ap;
8140
8140
  }, [ge, _e]), G(() => () => re(), [
8141
- j.currentStep,
8141
+ M.currentStep,
8142
8142
  o,
8143
8143
  re
8144
8144
  ]);
8145
8145
  let ve = d && !h ? [{
8146
8146
  label: b(C ? "surveyAnsweringForm.actions.collapse" : "surveyAnsweringForm.actions.expand"),
8147
- icon: C ? Gi : ti,
8148
- onClick: () => w((e) => !e)
8149
- }] : void 0, ye = M ? h || F ? void 0 : ee ? P && !j.isLastStep ? {
8147
+ icon: C ? Hi : $r,
8148
+ onClick: () => T((e) => !e)
8149
+ }] : void 0, ye = N ? h || I ? void 0 : ee ? F && !M.isLastStep ? {
8150
8150
  label: b("surveyAnsweringForm.actions.next"),
8151
- onClick: j.goToNext,
8152
- icon: Ur
8151
+ onClick: M.goToNext,
8152
+ icon: ra
8153
8153
  } : {
8154
8154
  label: b("surveyAnsweringForm.actions.submit"),
8155
8155
  onClick: Ap,
8156
8156
  disabled: !0
8157
- } : P && !j.isLastStep ? {
8157
+ } : F && !M.isLastStep ? {
8158
8158
  label: b("surveyAnsweringForm.actions.next"),
8159
8159
  onClick: me,
8160
- icon: Ur
8160
+ icon: ra
8161
8161
  } : {
8162
8162
  label: b("surveyAnsweringForm.actions.submit"),
8163
8163
  onClick: me,
8164
- disabled: D || O,
8165
- loading: D
8166
- } : void 0, be = M ? h || F ? void 0 : P && !j.isFirstStep ? {
8164
+ disabled: O || k,
8165
+ loading: O
8166
+ } : void 0, be = N ? h || I ? void 0 : F && !M.isFirstStep ? {
8167
8167
  label: b("surveyAnsweringForm.actions.previous"),
8168
8168
  onClick: he,
8169
8169
  icon: Wo
8170
- } : void 0 : void 0, xe = n === "all-questions" && M && !h, Se = P && M && !h, Ce = P && !!j.currentQuestion?.sectionTitle && !h, we = ce === "center" || ce === "fullscreen";
8171
- return /* @__PURE__ */ X(sa, {
8170
+ } : void 0 : void 0, xe = n === "all-questions" && N && !h, Se = F && N && !h, Ce = F && !!M.currentQuestion?.sectionTitle && !h, we = ce === "center" || ce === "fullscreen";
8171
+ return /* @__PURE__ */ X(oa, {
8172
8172
  isOpen: o,
8173
8173
  onClose: s,
8174
8174
  title: r,
8175
- module: l,
8175
+ module: u,
8176
8176
  position: ce,
8177
8177
  width: le,
8178
8178
  primaryAction: ye,
@@ -8185,7 +8185,7 @@ function Pp({ elements: e, onSubmit: t, mode: n, title: r, description: i, resou
8185
8185
  onChange: Ap,
8186
8186
  datasets: y,
8187
8187
  children: /* @__PURE__ */ Z("div", {
8188
- className: B("relative flex h-full min-h-full flex-col @container", P && !C && "min-h-[600px]"),
8188
+ className: B("relative flex h-full min-h-full flex-col @container", F && !C && "min-h-[600px]"),
8189
8189
  children: [
8190
8190
  xe ? /* @__PURE__ */ X(Yf, {
8191
8191
  elements: e,
@@ -8196,7 +8196,7 @@ function Pp({ elements: e, onSubmit: t, mode: n, title: r, description: i, resou
8196
8196
  className: "absolute left-0 right-0 top-0 [&>div>div>div]:h-1 [&>div>div>div]:rounded-none",
8197
8197
  children: /* @__PURE__ */ X(Is, {
8198
8198
  label: "Value",
8199
- value: j.progress,
8199
+ value: M.progress,
8200
8200
  hideLabel: !0
8201
8201
  })
8202
8202
  }) : null,
@@ -8205,37 +8205,37 @@ function Pp({ elements: e, onSubmit: t, mode: n, title: r, description: i, resou
8205
8205
  children: [
8206
8206
  /* @__PURE__ */ X("div", {
8207
8207
  className: "mb-6",
8208
- children: /* @__PURE__ */ X(je, {
8208
+ children: /* @__PURE__ */ X(Ne, {
8209
8209
  title: r,
8210
8210
  description: i,
8211
8211
  ...a
8212
8212
  })
8213
8213
  }),
8214
- h ? X(n === "stepped" ? up : lp, {}) : M ? null : /* @__PURE__ */ X(io, {
8214
+ h ? X(n === "stepped" ? up : lp, {}) : N ? null : /* @__PURE__ */ X(io, {
8215
8215
  display: "flex",
8216
8216
  flexDirection: "column",
8217
8217
  height: "full",
8218
8218
  justifyContent: "center",
8219
8219
  alignItems: "center",
8220
8220
  paddingX: "lg",
8221
- children: /* @__PURE__ */ X(m, {
8222
- emoji: N.emoji,
8223
- title: N.title,
8224
- description: N.description
8221
+ children: /* @__PURE__ */ X(w, {
8222
+ emoji: P.emoji,
8223
+ title: P.title,
8224
+ description: P.description
8225
8225
  })
8226
8226
  }),
8227
8227
  Ce ? /* @__PURE__ */ Z("div", {
8228
8228
  className: "py-1 pl-5",
8229
8229
  children: [/* @__PURE__ */ X("span", {
8230
8230
  className: "text-lg font-semibold text-f1-foreground",
8231
- children: j.currentQuestion?.sectionTitle
8232
- }), j.currentQuestion?.sectionDescription ? /* @__PURE__ */ X("p", {
8231
+ children: M.currentQuestion?.sectionTitle
8232
+ }), M.currentQuestion?.sectionDescription ? /* @__PURE__ */ X("p", {
8233
8233
  className: "whitespace-pre-line text-f1-foreground-secondary",
8234
- children: j.currentQuestion?.sectionDescription
8234
+ children: M.currentQuestion?.sectionDescription
8235
8235
  }) : null]
8236
8236
  }) : null,
8237
- M && !h ? /* @__PURE__ */ X(u, {
8238
- formRef: T,
8237
+ N && !h ? /* @__PURE__ */ X(m, {
8238
+ formRef: E,
8239
8239
  name: "survey-answering",
8240
8240
  schema: ae,
8241
8241
  defaultValues: oe,
@@ -8243,7 +8243,7 @@ function Pp({ elements: e, onSubmit: t, mode: n, title: r, description: i, resou
8243
8243
  submitConfig: { hideSubmitButton: !0 },
8244
8244
  errorTriggerMode: p,
8245
8245
  sections: se
8246
- }, P ? j.currentStep : void 0) : null
8246
+ }, F ? M.currentStep : void 0) : null
8247
8247
  ]
8248
8248
  })
8249
8249
  ]
@@ -8252,14 +8252,14 @@ function Pp({ elements: e, onSubmit: t, mode: n, title: r, description: i, resou
8252
8252
  });
8253
8253
  }
8254
8254
  function Fp({ elements: e, title: t, description: n, resourceHeader: r, defaultValues: i, loading: a = !1, labels: o, useUpload: s, datasets: c, hideResourceHeader: l = !1 }) {
8255
- let { t: d } = R(), f = K(() => Tp(e), [e]).length > 0, p = {
8256
- title: o?.empty?.title ?? d("surveyAnsweringForm.labels.empty.title"),
8257
- description: o?.empty?.description ?? d("surveyAnsweringForm.labels.empty.description"),
8258
- emoji: o?.empty?.emoji ?? d("surveyAnsweringForm.labels.empty.emoji")
8259
- }, { schema: h, defaultValues: g, sections: _ } = kp({
8255
+ let { t: u } = z(), d = K(() => Tp(e), [e]).length > 0, f = {
8256
+ title: o?.empty?.title ?? u("surveyAnsweringForm.labels.empty.title"),
8257
+ description: o?.empty?.description ?? u("surveyAnsweringForm.labels.empty.description"),
8258
+ emoji: o?.empty?.emoji ?? u("surveyAnsweringForm.labels.empty.emoji")
8259
+ }, { schema: p, defaultValues: h, sections: g } = kp({
8260
8260
  elements: e,
8261
8261
  mode: "all-questions",
8262
- t: d,
8262
+ t: u,
8263
8263
  defaultValues: i,
8264
8264
  previewMode: !0,
8265
8265
  disableFields: !0,
@@ -8275,31 +8275,31 @@ function Fp({ elements: e, title: t, description: n, resourceHeader: r, defaultV
8275
8275
  className: "mx-auto flex w-full max-w-3xl flex-col",
8276
8276
  children: [l ? null : /* @__PURE__ */ X("div", {
8277
8277
  className: "mb-6",
8278
- children: /* @__PURE__ */ X(je, {
8278
+ children: /* @__PURE__ */ X(Ne, {
8279
8279
  title: t,
8280
8280
  description: n,
8281
8281
  ...r
8282
8282
  })
8283
- }), a ? /* @__PURE__ */ X(lp, {}) : f ? /* @__PURE__ */ X(u, {
8283
+ }), a ? /* @__PURE__ */ X(lp, {}) : d ? /* @__PURE__ */ X(m, {
8284
8284
  name: "survey-answering-inline",
8285
- schema: h,
8286
- defaultValues: g,
8285
+ schema: p,
8286
+ defaultValues: h,
8287
8287
  onSubmit: async () => ({ success: !0 }),
8288
8288
  submitConfig: {
8289
8289
  hideSubmitButton: !0,
8290
8290
  hideActionBar: !0
8291
8291
  },
8292
- sections: _
8292
+ sections: g
8293
8293
  }) : /* @__PURE__ */ X(io, {
8294
8294
  display: "flex",
8295
8295
  flexDirection: "column",
8296
8296
  justifyContent: "center",
8297
8297
  alignItems: "center",
8298
8298
  paddingX: "lg",
8299
- children: /* @__PURE__ */ X(m, {
8300
- emoji: p.emoji,
8301
- title: p.title,
8302
- description: p.description
8299
+ children: /* @__PURE__ */ X(w, {
8300
+ emoji: f.emoji,
8301
+ title: f.title,
8302
+ description: f.description
8303
8303
  })
8304
8304
  })]
8305
8305
  })
@@ -8440,25 +8440,25 @@ var zp = ({ benefits: e }) => /* @__PURE__ */ X("div", {
8440
8440
  })]
8441
8441
  }));
8442
8442
  Vp.displayName = "ProductBlankslate";
8443
- var Hp = L(Vp);
8443
+ var Hp = R(Vp);
8444
8444
  //#endregion
8445
8445
  //#region src/domains/growth/upselling/UpsellingKit/ProductModal/components/CustomModal.tsx
8446
8446
  function Up({ isOpen: e, onClose: t, title: n, children: r, module: i, portalContainer: a }) {
8447
8447
  let [o, s] = J(e);
8448
8448
  return G(() => {
8449
8449
  s(e);
8450
- }, [e]), /* @__PURE__ */ X(ga, {
8450
+ }, [e]), /* @__PURE__ */ X(ma, {
8451
8451
  open: o,
8452
8452
  onOpenChange: (e) => {
8453
8453
  s(e), e || t();
8454
8454
  },
8455
8455
  modal: !0,
8456
- children: /* @__PURE__ */ Z(ra, {
8456
+ children: /* @__PURE__ */ Z(ta, {
8457
8457
  className: "max-h-[620px] w-[760px] overflow-y-auto overflow-x-hidden bg-f1-background",
8458
8458
  container: a,
8459
8459
  children: [/* @__PURE__ */ Z("div", {
8460
8460
  className: "flex flex-row items-center justify-between px-4 py-4",
8461
- children: [/* @__PURE__ */ Z(Sa, {
8461
+ children: [/* @__PURE__ */ Z(xa, {
8462
8462
  className: "flex flex-row items-center gap-2 text-lg font-semibold text-f1-foreground",
8463
8463
  children: [i ? /* @__PURE__ */ X(mo, {
8464
8464
  module: i,
@@ -8466,7 +8466,7 @@ function Up({ isOpen: e, onClose: t, title: n, children: r, module: i, portalCon
8466
8466
  }) : null, n]
8467
8467
  }), /* @__PURE__ */ X(Xn, {
8468
8468
  variant: "outline",
8469
- icon: ka,
8469
+ icon: Gi,
8470
8470
  onClick: t,
8471
8471
  label: "Close modal",
8472
8472
  hideLabel: !0
@@ -8532,7 +8532,7 @@ function Wp({ isOpen: e, onClose: t, title: n, image: r, benefits: i, errorMessa
8532
8532
  })
8533
8533
  })
8534
8534
  })
8535
- }), b && _ ? /* @__PURE__ */ X(j, {
8535
+ }), b && _ ? /* @__PURE__ */ X(ue, {
8536
8536
  open: !0,
8537
8537
  onClose: () => {
8538
8538
  T(), x(null);
@@ -8545,7 +8545,7 @@ function Wp({ isOpen: e, onClose: t, title: n, image: r, benefits: i, errorMessa
8545
8545
  portalContainer: m
8546
8546
  }) : null] });
8547
8547
  }
8548
- var Gp = L(Wp);
8548
+ var Gp = R(Wp);
8549
8549
  //#endregion
8550
8550
  //#region src/domains/growth/upselling/UpsellingKit/ProductWidget/ProductWidget.tsx
8551
8551
  function Kp({ mediaUrl: e, title: t, description: n, onClose: r, dismissible: i, width: a, trackVisibility: o, actions: s, showConfirmation: c = !0 }) {
@@ -8556,14 +8556,14 @@ function Kp({ mediaUrl: e, title: t, description: n, onClose: r, dismissible: i,
8556
8556
  o && o(!l);
8557
8557
  }, [o, l]);
8558
8558
  let f = e?.includes(".mp4");
8559
- return /* @__PURE__ */ X(Y, { children: l ? null : /* @__PURE__ */ Z(Yi, {
8559
+ return /* @__PURE__ */ X(Y, { children: l ? null : /* @__PURE__ */ Z(qi, {
8560
8560
  style: { width: a },
8561
8561
  className: "relative bg-f1-background p-1",
8562
- children: [/* @__PURE__ */ Z(ba, { children: [i ? /* @__PURE__ */ X("div", {
8562
+ children: [/* @__PURE__ */ Z(ya, { children: [i ? /* @__PURE__ */ X("div", {
8563
8563
  className: "absolute right-2 top-2 z-10",
8564
8564
  children: /* @__PURE__ */ X(V, {
8565
8565
  variant: "ghost",
8566
- icon: ka,
8566
+ icon: Gi,
8567
8567
  size: "sm",
8568
8568
  hideLabel: !0,
8569
8569
  onClick: d,
@@ -8582,16 +8582,16 @@ function Kp({ mediaUrl: e, title: t, description: n, onClose: r, dismissible: i,
8582
8582
  className: "h-full w-full rounded-md"
8583
8583
  }) : null }), /* @__PURE__ */ Z("div", {
8584
8584
  className: "flex flex-col gap-[2px] p-3",
8585
- children: [/* @__PURE__ */ X(Bt, {
8585
+ children: [/* @__PURE__ */ X(St, {
8586
8586
  className: "text-lg font-medium",
8587
8587
  children: t
8588
- }), /* @__PURE__ */ X(Bt, {
8588
+ }), /* @__PURE__ */ X(St, {
8589
8589
  className: "line-clamp-3 text-base font-normal text-f1-foreground-secondary",
8590
8590
  children: n
8591
8591
  })]
8592
- })] })] }), s ? /* @__PURE__ */ X(fa, {
8592
+ })] })] }), s ? /* @__PURE__ */ X(ua, {
8593
8593
  className: "p-3",
8594
- children: s.map((e) => e.type === "upsell" ? /* @__PURE__ */ X(S, {
8594
+ children: s.map((e) => e.type === "upsell" ? /* @__PURE__ */ X(M, {
8595
8595
  label: e.label,
8596
8596
  onRequest: e.onClick,
8597
8597
  errorMessage: e.errorMessage,
@@ -8609,10 +8609,10 @@ function Kp({ mediaUrl: e, title: t, description: n, onClose: r, dismissible: i,
8609
8609
  }) : null]
8610
8610
  }) });
8611
8611
  }
8612
- var qp = L(Kp), Jp = ({ onDismiss: e }) => {
8613
- let { actions: t } = R();
8612
+ var qp = R(Kp), Jp = ({ onDismiss: e }) => {
8613
+ let { actions: t } = z();
8614
8614
  return /* @__PURE__ */ X(V, {
8615
- icon: ka,
8615
+ icon: Gi,
8616
8616
  label: t.close,
8617
8617
  hideLabel: !0,
8618
8618
  variant: "outline",
@@ -8651,7 +8651,7 @@ function Yp({ icon: e, title: t, description: n, action: r, onDismiss: i }) {
8651
8651
  })]
8652
8652
  }), /* @__PURE__ */ X("div", {
8653
8653
  className: B("flex flex-shrink-0 @xs:pl-0", e && "pl-8"),
8654
- children: /* @__PURE__ */ X(S, {
8654
+ children: /* @__PURE__ */ X(M, {
8655
8655
  label: r.label,
8656
8656
  onRequest: r.onRequest,
8657
8657
  errorMessage: r.errorMessage,
@@ -8672,8 +8672,8 @@ function Yp({ icon: e, title: t, description: n, action: r, onDismiss: i }) {
8672
8672
  })
8673
8673
  });
8674
8674
  }
8675
- var Xp = L(Yp), Zp = _c(function({ primaryAction: e, secondaryAction: t, ...n }, r) {
8676
- let i = (e) => e.variant === "promote" ? /* @__PURE__ */ X(S, {
8675
+ var Xp = R(Yp), Zp = _c(function({ primaryAction: e, secondaryAction: t, ...n }, r) {
8676
+ let i = (e) => e.variant === "promote" ? /* @__PURE__ */ X(M, {
8677
8677
  label: e.label,
8678
8678
  onRequest: e.onClick,
8679
8679
  errorMessage: e.errorMessage,
@@ -8700,10 +8700,10 @@ var Xp = L(Yp), Zp = _c(function({ primaryAction: e, secondaryAction: t, ...n },
8700
8700
  });
8701
8701
  });
8702
8702
  Zp.displayName = "UpsellingBanner";
8703
- var Qp = L(Zp);
8703
+ var Qp = R(Zp);
8704
8704
  //#endregion
8705
8705
  //#region src/domains/growth/upselling/UpsellingKit/UpsellingPopover/UpsellingPopover.tsx
8706
- function $p({ isOpen: e, setIsOpen: t, label: n, variant: r = "promote", size: i = "md", showIcon: a = !0, side: o = "right", align: s = "center", icon: c = oa, mediaUrl: l, title: u, description: d, width: f = "300px", trackVisibility: p, actions: m, onClick: h, hideLabel: g = !1 }) {
8706
+ function $p({ isOpen: e, setIsOpen: t, label: n, variant: r = "promote", size: i = "md", showIcon: a = !0, side: o = "right", align: s = "center", icon: c = aa, mediaUrl: l, title: u, description: d, width: f = "300px", trackVisibility: p, actions: m, onClick: h, hideLabel: g = !1 }) {
8707
8707
  let [_, v] = J(!1), [y, b] = J(null), [x, S] = J(null), C = (e) => {
8708
8708
  t(e), h && h();
8709
8709
  }, w = async (e) => {
@@ -8750,7 +8750,7 @@ function $p({ isOpen: e, setIsOpen: t, label: n, variant: r = "promote", size: i
8750
8750
  showConfirmation: !1
8751
8751
  })
8752
8752
  })]
8753
- }), x?.type === "upsell" && x.showConfirmation && y ? /* @__PURE__ */ X(j, {
8753
+ }), x?.type === "upsell" && x.showConfirmation && y ? /* @__PURE__ */ X(ue, {
8754
8754
  open: !0,
8755
8755
  onClose: T,
8756
8756
  success: y === "success",
@@ -8761,11 +8761,11 @@ function $p({ isOpen: e, setIsOpen: t, label: n, variant: r = "promote", size: i
8761
8761
  portalContainer: null
8762
8762
  }) : null] });
8763
8763
  }
8764
- var em = L($p), tm = ({ preview: e, moduleName: t, description: n, onAction: r, actionHref: i }) => {
8765
- let a = R(), o = a?.ai?.growth?.demoCard?.title ?? "Show {{moduleName}} in action", s = a?.ai?.growth?.demoCard?.actionLabel ?? "Start demo", c = o.replace("{{moduleName}}", t);
8766
- return /* @__PURE__ */ Z(Yi, {
8764
+ var em = R($p), tm = ({ preview: e, moduleName: t, description: n, onAction: r, actionHref: i }) => {
8765
+ 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);
8766
+ return /* @__PURE__ */ Z(qi, {
8767
8767
  className: "flex flex-col overflow-hidden",
8768
- children: [/* @__PURE__ */ Z(ba, {
8768
+ children: [/* @__PURE__ */ Z(ya, {
8769
8769
  className: "flex flex-col gap-4 p-0",
8770
8770
  children: [/* @__PURE__ */ X("div", {
8771
8771
  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"),
@@ -8780,7 +8780,7 @@ var em = L($p), tm = ({ preview: e, moduleName: t, description: n, onAction: r,
8780
8780
  children: n
8781
8781
  })]
8782
8782
  })]
8783
- }), /* @__PURE__ */ X(fa, {
8783
+ }), /* @__PURE__ */ X(ua, {
8784
8784
  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",
8785
8785
  children: i ? /* @__PURE__ */ X(V, {
8786
8786
  variant: "default",
@@ -8827,7 +8827,7 @@ var em = L($p), tm = ({ preview: e, moduleName: t, description: n, onAction: r,
8827
8827
  })
8828
8828
  })]
8829
8829
  }), rm = ({ headerIcon: e, items: t, defaultExpandedId: n, expandedId: r, onExpandedChange: i, allowMultiple: a = !1 }) => {
8830
- let o = R()?.ai?.growth?.faqCard?.title ?? "Questions before getting started", s = e ?? yi, [c, l] = J(() => new Set(n ? [n] : [])), u = r !== void 0, d = W((e) => u ? r === e : c.has(e), [
8830
+ let o = z()?.ai?.growth?.faqCard?.title ?? "Questions before getting started", s = e ?? _i, [c, l] = J(() => new Set(n ? [n] : [])), u = r !== void 0, d = W((e) => u ? r === e : c.has(e), [
8831
8831
  u,
8832
8832
  r,
8833
8833
  c
@@ -8842,9 +8842,9 @@ var em = L($p), tm = ({ preview: e, moduleName: t, description: n, onAction: r,
8842
8842
  i,
8843
8843
  a
8844
8844
  ]);
8845
- return t.length === 0 ? null : /* @__PURE__ */ Z(Yi, {
8845
+ return t.length === 0 ? null : /* @__PURE__ */ Z(qi, {
8846
8846
  className: "flex flex-col overflow-hidden",
8847
- children: [/* @__PURE__ */ Z(ta, {
8847
+ children: [/* @__PURE__ */ Z($i, {
8848
8848
  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",
8849
8849
  children: [/* @__PURE__ */ X("div", {
8850
8850
  className: "flex h-6 w-6 items-center justify-center rounded-full border border-f1-border-secondary",
@@ -8857,7 +8857,7 @@ var em = L($p), tm = ({ preview: e, moduleName: t, description: n, onAction: r,
8857
8857
  className: "text-base font-semibold text-f1-foreground",
8858
8858
  children: o
8859
8859
  })]
8860
- }), /* @__PURE__ */ X(ba, {
8860
+ }), /* @__PURE__ */ X(ya, {
8861
8861
  className: "flex flex-col divide-y divide-f1-border p-0",
8862
8862
  children: t.map((e) => /* @__PURE__ */ X(nm, {
8863
8863
  item: e,
@@ -8867,10 +8867,10 @@ var em = L($p), tm = ({ preview: e, moduleName: t, description: n, onAction: r,
8867
8867
  })]
8868
8868
  });
8869
8869
  }, im = ({ moduleName: e, description: t, onAction: n, actionHref: r, imageSrc: i }) => {
8870
- let a = R()?.ai?.growth?.moduleCard?.actionLabel ?? "Learn more";
8871
- return /* @__PURE__ */ Z(Yi, {
8870
+ let a = z()?.ai?.growth?.moduleCard?.actionLabel ?? "Learn more";
8871
+ return /* @__PURE__ */ Z(qi, {
8872
8872
  className: "flex flex-col overflow-hidden",
8873
- children: [/* @__PURE__ */ X(ba, {
8873
+ children: [/* @__PURE__ */ X(ya, {
8874
8874
  className: "flex flex-col gap-3 p-0",
8875
8875
  children: /* @__PURE__ */ Z("div", {
8876
8876
  className: "flex items-start gap-3",
@@ -8892,7 +8892,7 @@ var em = L($p), tm = ({ preview: e, moduleName: t, description: n, onAction: r,
8892
8892
  })]
8893
8893
  })]
8894
8894
  })
8895
- }), /* @__PURE__ */ X(fa, {
8895
+ }), /* @__PURE__ */ X(ua, {
8896
8896
  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",
8897
8897
  children: r ? /* @__PURE__ */ X(V, {
8898
8898
  variant: "outline",
@@ -8909,13 +8909,13 @@ var em = L($p), tm = ({ preview: e, moduleName: t, description: n, onAction: r,
8909
8909
  })]
8910
8910
  });
8911
8911
  }, am = ({ onAction: e, actionHref: t }) => {
8912
- let n = R()?.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";
8913
- return /* @__PURE__ */ Z(Yi, {
8912
+ 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";
8913
+ return /* @__PURE__ */ Z(qi, {
8914
8914
  className: "flex flex-col overflow-hidden",
8915
- children: [/* @__PURE__ */ Z(ba, {
8915
+ children: [/* @__PURE__ */ Z(ya, {
8916
8916
  className: "flex flex-col gap-3 p-0",
8917
8917
  children: [/* @__PURE__ */ X(H, {
8918
- icon: Ti,
8918
+ icon: ei,
8919
8919
  size: "lg"
8920
8920
  }), /* @__PURE__ */ Z("div", {
8921
8921
  className: "flex flex-col gap-0.5",
@@ -8927,7 +8927,7 @@ var em = L($p), tm = ({ preview: e, moduleName: t, description: n, onAction: r,
8927
8927
  children: i
8928
8928
  })]
8929
8929
  })]
8930
- }), /* @__PURE__ */ X(fa, {
8930
+ }), /* @__PURE__ */ X(ua, {
8931
8931
  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",
8932
8932
  children: t ? /* @__PURE__ */ X(V, {
8933
8933
  variant: "default",
@@ -8945,7 +8945,7 @@ var em = L($p), tm = ({ preview: e, moduleName: t, description: n, onAction: r,
8945
8945
  })]
8946
8946
  });
8947
8947
  }, om = ({ steps: e, onComplete: t, onSkip: n, sendAsMessage: r = !1, onSendMessage: i }) => {
8948
- let [a, o] = J(0), [s, c] = J({}), l = R(), u = e.length, d = e[a], f = s[a] ?? [], p = W((e, t) => {
8948
+ let [a, o] = J(0), [s, c] = J({}), l = z(), u = e.length, d = e[a], f = s[a] ?? [], p = W((e, t) => {
8949
8949
  c((n) => {
8950
8950
  let r = n[a] ?? [], i = t ? [...r, e] : r.filter((t) => t !== e);
8951
8951
  return {
@@ -8973,9 +8973,9 @@ var em = L($p), tm = ({ preview: e, moduleName: t, description: n, onAction: r,
8973
8973
  e,
8974
8974
  t
8975
8975
  ]), g = a === u - 1, _ = u > 1, v = n != null;
8976
- return u === 0 || !d ? null : /* @__PURE__ */ Z(Yi, {
8976
+ return u === 0 || !d ? null : /* @__PURE__ */ Z(qi, {
8977
8977
  className: "flex flex-col overflow-hidden",
8978
- children: [/* @__PURE__ */ Z(ba, {
8978
+ children: [/* @__PURE__ */ Z(ya, {
8979
8979
  className: "flex flex-col gap-4",
8980
8980
  children: [/* @__PURE__ */ X("h3", {
8981
8981
  className: "text-base font-semibold text-f1-foreground",
@@ -8992,7 +8992,7 @@ var em = L($p), tm = ({ preview: e, moduleName: t, description: n, onAction: r,
8992
8992
  })
8993
8993
  }, e.id))
8994
8994
  })]
8995
- }), /* @__PURE__ */ Z(fa, {
8995
+ }), /* @__PURE__ */ Z(ua, {
8996
8996
  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",
8997
8997
  children: [/* @__PURE__ */ X("div", {
8998
8998
  className: "flex min-w-[7.5rem] items-center justify-start gap-1",
@@ -9456,7 +9456,7 @@ function Vm(e, t) {
9456
9456
  n.href = URL.createObjectURL(e), n.download = t, n.click(), URL.revokeObjectURL(n.href);
9457
9457
  }
9458
9458
  async function Hm(e, t, n, { keys: r, preamble: i } = {}) {
9459
- Vm(await pi([{
9459
+ Vm(await di([{
9460
9460
  name: "Data",
9461
9461
  rows: zm({
9462
9462
  columns: e,
@@ -9478,7 +9478,7 @@ function Wm(e, t, n) {
9478
9478
  r.href = e, r.download = `${t}.${n}`, r.click();
9479
9479
  }
9480
9480
  async function Gm(e, t) {
9481
- Vm(await pi(e.map((e) => ({
9481
+ Vm(await di(e.map((e) => ({
9482
9482
  name: e.name,
9483
9483
  rows: zm(e)
9484
9484
  }))), `${t}.xlsx`);
@@ -9487,10 +9487,10 @@ async function Gm(e, t) {
9487
9487
  //#region src/domains/platform/ai/analytics/F0AnalyticsDashboard/hooks/useChartDownloadActions.ts
9488
9488
  function Km(e) {
9489
9489
  let t = e.current?.querySelector(":scope > div");
9490
- return t ? St(t) ?? null : null;
9490
+ return t ? Ot(t) ?? null : null;
9491
9491
  }
9492
9492
  function qm(e, t, n) {
9493
- let r = Pt(document.createElement("div"), void 0, {
9493
+ let r = bt(document.createElement("div"), void 0, {
9494
9494
  renderer: "canvas",
9495
9495
  width: e.getWidth(),
9496
9496
  height: e.getHeight()
@@ -9509,7 +9509,7 @@ function qm(e, t, n) {
9509
9509
  }
9510
9510
  }
9511
9511
  function Jm({ chartContainerRef: e, chartConfig: t, data: n, title: r }) {
9512
- let { t: i } = R(), a = W((t) => {
9512
+ let { t: i } = z(), a = W((t) => {
9513
9513
  let n = Km(e);
9514
9514
  n && Wm(t === "jpg" ? qm(n, "jpeg", "#fff") : qm(n, "png"), r, t);
9515
9515
  }, [e, r]), o = K(() => {
@@ -9539,12 +9539,12 @@ function Jm({ chartContainerRef: e, chartConfig: t, data: n, title: r }) {
9539
9539
  return K(() => n ? [
9540
9540
  {
9541
9541
  label: i("ai.dataDownload.download", { format: "PNG" }),
9542
- icon: fi,
9542
+ icon: ui,
9543
9543
  onClick: () => a("png")
9544
9544
  },
9545
9545
  {
9546
9546
  label: i("ai.dataDownload.download", { format: "JPG" }),
9547
- icon: fi,
9547
+ icon: ui,
9548
9548
  onClick: () => a("jpg")
9549
9549
  },
9550
9550
  { type: "separator" },
@@ -9601,7 +9601,7 @@ function Ym(e, t, n, r = "") {
9601
9601
  //#endregion
9602
9602
  //#region src/domains/platform/ai/analytics/F0AnalyticsDashboard/components/DashboardItem/DashboardItemFilters.tsx
9603
9603
  function Xm({ filters: e, value: t, onChange: n, onOpenChange: r }) {
9604
- let i = R(), a = xc(), o = q(null), s = q(void 0), c = q(r), [l, u] = J(!1), [d, f] = J(null), [p, m] = J(t);
9604
+ let i = z(), a = xc(), o = q(null), s = q(void 0), c = q(r), [l, u] = J(!1), [d, f] = J(null), [p, m] = J(t);
9605
9605
  G(() => {
9606
9606
  c.current = r;
9607
9607
  }, [r]), G(() => () => {
@@ -9784,32 +9784,32 @@ function $m({ title: e, enabled: t, actionsCollapse: n }) {
9784
9784
  }
9785
9785
  //#endregion
9786
9786
  //#region src/domains/platform/ai/analytics/F0AnalyticsDashboard/components/DashboardItem/DashboardItem.tsx
9787
- function eh({ 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: h, itemId: g, chartTypeOptions: _, explanation: v, isFullscreen: y = !1, descriptionAction: b, headerLines: x = 2, fitContent: S = !1, onFullscreenChange: C }) {
9788
- let [w, T] = J(!1), [E, D] = J(!1), O = q(!1), [k, A] = J(!1), j = R(), { enabled: M, setPendingQuote: N, setOpen: P, focusChatInput: F } = Oa(), ee = (e) => {
9787
+ function eh({ 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: y, headerLines: b = 2, fitContent: x = !1, onFullscreenChange: S }) {
9788
+ let [C, T] = J(!1), [E, D] = J(!1), O = q(!1), [k, A] = J(!1), j = z(), { enabled: M, setPendingQuote: N, setOpen: P, focusChatInput: F } = Da(), I = (e) => {
9789
9789
  T(e), e || A(!1);
9790
- }, te = c.filter((e) => !("type" in e) || e.type === "item" || e.type === void 0), ne = te.length > 0, I = u && f && g, re = _ && _.length > 0, ie = !!v && v.trim().length > 0, ae = !!C, oe = !d && e.trim().length > 0 && (p ? !!g : M), se = oe || ne || I || re || ie, ce = !!l || ae || !!se, le = !y && (w || E), ue = B("flex flex-shrink-0 gap-0.5", !y && "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", le && "delay-0 !opacity-100"), de = B("-my-2 -mr-0.5 isolate grid flex-shrink-0", !y && "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]", le && "delay-0 !grid-cols-[1fr]"), fe = $m({
9790
+ }, 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 = !!S, ae = !d && e.trim().length > 0 && (p ? !!h : M), oe = ae || te || L || ne || re, se = !!l || ie || !!oe, le = !v && (C || E), ue = 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", le && "delay-0 !opacity-100"), de = 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]", le && "delay-0 !grid-cols-[1fr]"), fe = $m({
9791
9791
  title: e,
9792
- enabled: x > 2,
9793
- actionsCollapse: !y
9794
- }), pe = fe.fits ? 1 : 2, me = x - pe, he = () => {
9792
+ enabled: b > 2,
9793
+ actionsCollapse: !v
9794
+ }), pe = fe.fits ? 1 : 2, me = b - pe, he = () => {
9795
9795
  if (p) {
9796
- if (!g) return;
9796
+ if (!h) return;
9797
9797
  p({
9798
- id: g,
9798
+ id: h,
9799
9799
  title: e
9800
9800
  });
9801
9801
  return;
9802
9802
  }
9803
- y && C?.(!1), O.current = !0;
9803
+ v && S?.(!1), O.current = !0;
9804
9804
  let t = { text: e };
9805
- g && h?.({
9806
- id: g,
9805
+ h && m?.({
9806
+ id: h,
9807
9807
  title: e,
9808
9808
  quote: t
9809
9809
  }), N(t), P(!0);
9810
9810
  }, ge = (e) => {
9811
9811
  O.current && (O.current = !1, F() && e.preventDefault());
9812
- }, _e = oe ? /* @__PURE__ */ X(ec, { children: /* @__PURE__ */ X(qs, {
9812
+ }, _e = ae ? /* @__PURE__ */ X(ec, { children: /* @__PURE__ */ X(qs, {
9813
9813
  onClick: he,
9814
9814
  children: /* @__PURE__ */ Z("div", {
9815
9815
  className: "flex w-full flex-row items-center gap-2",
@@ -9832,20 +9832,20 @@ function eh({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
9832
9832
  children: e
9833
9833
  }), n ? /* @__PURE__ */ X("div", {
9834
9834
  className: "flex shrink-0 items-center text-f1-foreground-secondary",
9835
- children: /* @__PURE__ */ X(Ae, { info: n })
9835
+ children: /* @__PURE__ */ X(ce, { info: n })
9836
9836
  }) : null]
9837
9837
  }), t ? /* @__PURE__ */ X("p", {
9838
9838
  className: "text-base text-f1-foreground-secondary",
9839
9839
  children: t
9840
9840
  }) : null]
9841
- }), l || oe ? /* @__PURE__ */ Z("div", {
9841
+ }), l || ae ? /* @__PURE__ */ Z("div", {
9842
9842
  className: ue,
9843
9843
  children: [l ? /* @__PURE__ */ X(Xm, {
9844
9844
  ...l,
9845
9845
  onOpenChange: D
9846
- }) : null, oe ? /* @__PURE__ */ Z(tc, {
9847
- open: w,
9848
- onOpenChange: ee,
9846
+ }) : null, ae ? /* @__PURE__ */ Z(tc, {
9847
+ open: C,
9848
+ onOpenChange: I,
9849
9849
  children: [/* @__PURE__ */ X(Gs, {
9850
9850
  asChild: !0,
9851
9851
  children: /* @__PURE__ */ X(Xn, {
@@ -9854,7 +9854,7 @@ function eh({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
9854
9854
  variant: "ghost",
9855
9855
  size: "md",
9856
9856
  hideLabel: !0,
9857
- pressed: w,
9857
+ pressed: C,
9858
9858
  compact: !0,
9859
9859
  onClick: (e) => e.stopPropagation()
9860
9860
  })
@@ -9868,7 +9868,7 @@ function eh({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
9868
9868
  }) : null]
9869
9869
  }), /* @__PURE__ */ X("div", {
9870
9870
  className: "min-h-0 flex-1 overflow-auto",
9871
- children: /* @__PURE__ */ X(m, {
9871
+ children: /* @__PURE__ */ X(w, {
9872
9872
  variant: "critical",
9873
9873
  title: j.ai.dashboardItem.errorTitle,
9874
9874
  description: i.message,
@@ -9880,11 +9880,11 @@ function eh({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
9880
9880
  })
9881
9881
  })]
9882
9882
  }) : /* @__PURE__ */ Z("div", {
9883
- className: B("group/dashitem flex flex-col rounded-lg border border-solid border-f1-border-secondary bg-f1-background", S ? "min-h-full shrink-0" : "h-full"),
9883
+ className: B("group/dashitem flex flex-col rounded-lg border border-solid border-f1-border-secondary bg-f1-background", x ? "min-h-full shrink-0" : "h-full"),
9884
9884
  "aria-busy": r ? "true" : void 0,
9885
9885
  "aria-live": r ? "polite" : void 0,
9886
9886
  children: [/* @__PURE__ */ Z("div", {
9887
- className: B("flex flex-col px-4 py-3", ce && "min-h-14"),
9887
+ className: B("flex flex-col px-4 py-3", se && "min-h-14"),
9888
9888
  children: [/* @__PURE__ */ Z(io, {
9889
9889
  ref: fe.rowRef,
9890
9890
  display: "flex",
@@ -9900,9 +9900,9 @@ function eh({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
9900
9900
  }), n ? /* @__PURE__ */ X("div", {
9901
9901
  ref: fe.infoRef,
9902
9902
  className: "flex h-5 shrink-0 items-center text-f1-foreground-secondary",
9903
- children: /* @__PURE__ */ X(Ae, { info: n })
9903
+ children: /* @__PURE__ */ X(ce, { info: n })
9904
9904
  }) : null]
9905
- }), ce ? /* @__PURE__ */ X("div", {
9905
+ }), se ? /* @__PURE__ */ X("div", {
9906
9906
  ref: fe.actionsRef,
9907
9907
  className: B(de, pe > 1 && "-mt-1.5"),
9908
9908
  children: /* @__PURE__ */ X("div", {
@@ -9914,18 +9914,18 @@ function eh({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
9914
9914
  ...l,
9915
9915
  onOpenChange: D
9916
9916
  }) : null,
9917
- ae ? /* @__PURE__ */ X(Xn, {
9918
- label: y ? j.actions.collapse : j.actions.expand,
9919
- icon: y ? Gi : ti,
9917
+ ie ? /* @__PURE__ */ X(Xn, {
9918
+ label: v ? j.actions.collapse : j.actions.expand,
9919
+ icon: v ? Hi : $r,
9920
9920
  variant: "ghost",
9921
9921
  size: "md",
9922
9922
  hideLabel: !0,
9923
9923
  compact: !0,
9924
- onClick: () => C?.(!y)
9924
+ onClick: () => S?.(!v)
9925
9925
  }) : null,
9926
- se ? /* @__PURE__ */ Z(tc, {
9927
- open: w,
9928
- onOpenChange: ee,
9926
+ oe ? /* @__PURE__ */ Z(tc, {
9927
+ open: C,
9928
+ onOpenChange: I,
9929
9929
  children: [/* @__PURE__ */ X(Gs, {
9930
9930
  asChild: !0,
9931
9931
  children: /* @__PURE__ */ X(Xn, {
@@ -9934,7 +9934,7 @@ function eh({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
9934
9934
  variant: "ghost",
9935
9935
  size: "md",
9936
9936
  hideLabel: !0,
9937
- pressed: w,
9937
+ pressed: C,
9938
9938
  compact: !0,
9939
9939
  onClick: (e) => e.stopPropagation()
9940
9940
  })
@@ -9942,27 +9942,27 @@ function eh({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
9942
9942
  align: "end",
9943
9943
  className: B("py-1", k && "w-96 max-w-[90vw]"),
9944
9944
  onCloseAutoFocus: ge,
9945
- children: k && ie ? /* @__PURE__ */ X("div", {
9945
+ children: k && re ? /* @__PURE__ */ X("div", {
9946
9946
  className: "px-3 py-2 text-base text-f1-foreground [&>div]:flex [&>div]:flex-col [&>div]:gap-2",
9947
9947
  children: /* @__PURE__ */ X(qa, {
9948
- content: v,
9948
+ content: _,
9949
9949
  format: "markdown"
9950
9950
  })
9951
9951
  }) : /* @__PURE__ */ Z(Y, { children: [
9952
- re ? /* @__PURE__ */ Z("div", {
9952
+ ne ? /* @__PURE__ */ Z("div", {
9953
9953
  className: "mb-1 flex flex-col items-start gap-2 border-0 border-b border-solid border-f1-border-secondary p-3",
9954
9954
  children: [/* @__PURE__ */ X(Qn, {
9955
9955
  className: "text-base font-medium text-f1-foreground-tertiary",
9956
9956
  children: j.ai.dashboardItem.chartType
9957
9957
  }), /* @__PURE__ */ X(Et, {
9958
- items: _.map((e) => ({
9958
+ items: g.map((e) => ({
9959
9959
  value: e.value,
9960
9960
  icon: e.icon,
9961
9961
  label: e.label
9962
9962
  })),
9963
- value: _.find((e) => e.isActive)?.value,
9963
+ value: g.find((e) => e.isActive)?.value,
9964
9964
  onChange: (e) => {
9965
- _.find((t) => t.value === e)?.onSelect();
9965
+ g.find((t) => t.value === e)?.onSelect();
9966
9966
  },
9967
9967
  size: "lg",
9968
9968
  required: !0,
@@ -9970,7 +9970,7 @@ function eh({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
9970
9970
  fullWidth: !0
9971
9971
  })]
9972
9972
  }) : null,
9973
- ie ? /* @__PURE__ */ X(ec, { children: /* @__PURE__ */ X(qs, {
9973
+ re ? /* @__PURE__ */ X(ec, { children: /* @__PURE__ */ X(qs, {
9974
9974
  onSelect: (e) => {
9975
9975
  e.preventDefault(), A(!0);
9976
9976
  },
@@ -9983,16 +9983,16 @@ function eh({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
9983
9983
  })
9984
9984
  }) }) : null,
9985
9985
  _e,
9986
- ne ? /* @__PURE__ */ X(ec, { children: /* @__PURE__ */ Z(Xs, { children: [/* @__PURE__ */ X(Ws, {
9986
+ te ? /* @__PURE__ */ X(ec, { children: /* @__PURE__ */ Z(Xs, { children: [/* @__PURE__ */ X(Ws, {
9987
9987
  className: "mx-1 rounded-sm px-2",
9988
9988
  children: /* @__PURE__ */ Z("div", {
9989
9989
  className: "flex w-full flex-row items-center gap-2 pr-2",
9990
- children: [/* @__PURE__ */ X(H, { icon: Ri }), /* @__PURE__ */ X("span", {
9990
+ children: [/* @__PURE__ */ X(H, { icon: _a }), /* @__PURE__ */ X("span", {
9991
9991
  className: "flex-1 text-base font-medium",
9992
9992
  children: j.ai.dataDownload.title
9993
9993
  })]
9994
9994
  })
9995
- }), /* @__PURE__ */ X(Ys, { children: /* @__PURE__ */ X(rc, { children: te.map((e) => /* @__PURE__ */ X(qs, {
9995
+ }), /* @__PURE__ */ X(Ys, { children: /* @__PURE__ */ X(rc, { children: ee.map((e) => /* @__PURE__ */ X(qs, {
9996
9996
  onClick: e.onClick,
9997
9997
  children: /* @__PURE__ */ Z("div", {
9998
9998
  className: "flex w-full flex-row items-center gap-2",
@@ -10002,14 +10002,14 @@ function eh({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
10002
10002
  })]
10003
10003
  })
10004
10004
  }, e.label)) }) })] }) }) : null,
10005
- I ? /* @__PURE__ */ X(ec, { children: /* @__PURE__ */ X(qs, {
10005
+ L ? /* @__PURE__ */ X(ec, { children: /* @__PURE__ */ X(qs, {
10006
10006
  onClick: () => {
10007
- y && C?.(!1), f(g);
10007
+ v && S?.(!1), f(h);
10008
10008
  },
10009
10009
  className: B("text-f1-foreground-critical"),
10010
10010
  children: /* @__PURE__ */ Z("div", {
10011
10011
  className: "flex w-full flex-row items-center gap-2",
10012
- children: [/* @__PURE__ */ X(H, { icon: ca }), /* @__PURE__ */ X("span", {
10012
+ children: [/* @__PURE__ */ X(H, { icon: Oa }), /* @__PURE__ */ X("span", {
10013
10013
  className: "flex-1",
10014
10014
  children: j.actions.delete
10015
10015
  })]
@@ -10022,25 +10022,25 @@ function eh({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
10022
10022
  })
10023
10023
  })
10024
10024
  }) : null]
10025
- }), t || b ? /* @__PURE__ */ Z("div", {
10025
+ }), t || y ? /* @__PURE__ */ Z("div", {
10026
10026
  className: "relative flex items-baseline gap-1",
10027
10027
  children: [t ? /* @__PURE__ */ X(Qn, {
10028
10028
  lines: me,
10029
10029
  className: "text-base text-f1-foreground-secondary",
10030
10030
  children: t
10031
- }) : null, b ? /* @__PURE__ */ Z(Y, { children: [t ? /* @__PURE__ */ X("span", {
10031
+ }) : null, y ? /* @__PURE__ */ Z(Y, { children: [t ? /* @__PURE__ */ X("span", {
10032
10032
  "aria-hidden": "true",
10033
10033
  className: "shrink-0 text-base text-f1-foreground-tertiary",
10034
10034
  children: "·"
10035
10035
  }) : null, /* @__PURE__ */ X("button", {
10036
10036
  type: "button",
10037
- onClick: b.onClick,
10037
+ onClick: y.onClick,
10038
10038
  className: "shrink-0 cursor-pointer whitespace-nowrap border-0 bg-transparent p-0 text-base font-medium text-f1-foreground-secondary underline hover:text-f1-foreground",
10039
- children: b.label
10039
+ children: y.label
10040
10040
  })] }) : null]
10041
10041
  }) : null]
10042
10042
  }), /* @__PURE__ */ X("div", {
10043
- className: B("flex-1", !S && "min-h-0"),
10043
+ className: B("flex-1", !x && "min-h-0"),
10044
10044
  children: r ? o : s
10045
10045
  })]
10046
10046
  });
@@ -10049,7 +10049,7 @@ function eh({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
10049
10049
  //#region src/domains/platform/ai/analytics/F0AnalyticsDashboard/components/ChartItem/PointActionPopover.tsx
10050
10050
  var th = 8, nh = 8;
10051
10051
  function rh({ anchor: e, onAsk: t, onDismiss: n, returnFocusTo: r }) {
10052
- let i = R(), a = q(null), [o, s] = J(null);
10052
+ let i = z(), a = q(null), [o, s] = J(null);
10053
10053
  return Cc(() => {
10054
10054
  if (!e) {
10055
10055
  s(null);
@@ -10108,7 +10108,7 @@ function rh({ anchor: e, onAsk: t, onDismiss: n, returnFocusTo: r }) {
10108
10108
  //#endregion
10109
10109
  //#region src/domains/platform/ai/analytics/F0AnalyticsDashboard/components/ChartItem/pointQuote.ts
10110
10110
  function ih(e, t, n, r = "y") {
10111
- return t === null ? n : r === "x" && e.type === "scatter" ? Vt(e.xTooltipValueFormatter, e.xValueFormatter)(t) : Vt(e.tooltipValueFormatter, e.valueFormatter)(t);
10111
+ return t === null ? n : r === "x" && e.type === "scatter" ? $e(e.xTooltipValueFormatter, e.xValueFormatter)(t) : $e(e.tooltipValueFormatter, e.valueFormatter)(t);
10112
10112
  }
10113
10113
  function ah(e, t) {
10114
10114
  return t ? `${e} — ${t}` : e;
@@ -10143,33 +10143,33 @@ function fh(e) {
10143
10143
  {
10144
10144
  label: e.dataChart.barChartVertical,
10145
10145
  value: "bar-vertical",
10146
- icon: za,
10146
+ icon: Li,
10147
10147
  type: "bar",
10148
10148
  orientation: "vertical"
10149
10149
  },
10150
10150
  {
10151
10151
  label: e.dataChart.barChartHorizontal,
10152
10152
  value: "bar-horizontal",
10153
- icon: Si,
10153
+ icon: Jr,
10154
10154
  type: "bar",
10155
10155
  orientation: "horizontal"
10156
10156
  },
10157
10157
  {
10158
10158
  label: e.dataChart.lineChart,
10159
10159
  value: "line",
10160
- icon: Ia,
10160
+ icon: xi,
10161
10161
  type: "line"
10162
10162
  },
10163
10163
  {
10164
10164
  label: e.dataChart.funnel,
10165
10165
  value: "funnel",
10166
- icon: Xr,
10166
+ icon: Na,
10167
10167
  type: "funnel"
10168
10168
  },
10169
10169
  {
10170
10170
  label: e.dataChart.pieChart,
10171
10171
  value: "pie",
10172
- icon: Bi,
10172
+ icon: Ia,
10173
10173
  type: "pie"
10174
10174
  },
10175
10175
  {
@@ -10183,30 +10183,30 @@ function fh(e) {
10183
10183
  var ph = { type: "bar" };
10184
10184
  function mh(e) {
10185
10185
  switch (e.type) {
10186
- case "bar": return /* @__PURE__ */ X(Fe, {
10186
+ case "bar": return /* @__PURE__ */ X(tt, {
10187
10187
  orientation: e.orientation,
10188
10188
  stacked: e.stacked,
10189
10189
  showLegend: e.showLegend
10190
10190
  });
10191
- case "line": return /* @__PURE__ */ X(_t, {
10191
+ case "line": return /* @__PURE__ */ X(Be, {
10192
10192
  lineType: e.lineType,
10193
10193
  showArea: e.showArea,
10194
10194
  showDots: e.showDots,
10195
10195
  showLegend: e.showLegend
10196
10196
  });
10197
- case "funnel": return /* @__PURE__ */ X(wt, {
10197
+ case "funnel": return /* @__PURE__ */ X(Pe, {
10198
10198
  orient: e.orient,
10199
10199
  sort: e.sort,
10200
10200
  showLegend: e.showLegend
10201
10201
  });
10202
- case "pie": return /* @__PURE__ */ X(Gt, {
10202
+ case "pie": return /* @__PURE__ */ X(en, {
10203
10203
  innerRadius: e.innerRadius,
10204
10204
  showLegend: e.showLegend
10205
10205
  });
10206
- case "radar": return /* @__PURE__ */ X(Ke, { showLegend: e.showLegend });
10207
- case "gauge": return /* @__PURE__ */ X(Lt, {});
10208
- case "heatmap": return /* @__PURE__ */ X(Ue, {});
10209
- case "scatter": return /* @__PURE__ */ X(Qe, { showLegend: e.showLegend ?? !1 });
10206
+ case "radar": return /* @__PURE__ */ X(pe, { showLegend: e.showLegend });
10207
+ case "gauge": return /* @__PURE__ */ X(Kt, {});
10208
+ case "heatmap": return /* @__PURE__ */ X(an, {});
10209
+ case "scatter": return /* @__PURE__ */ X(u, { showLegend: e.showLegend ?? !1 });
10210
10210
  }
10211
10211
  }
10212
10212
  function hh(e) {
@@ -10326,7 +10326,7 @@ function vh({ config: e, data: t }) {
10326
10326
  label: e,
10327
10327
  id: e
10328
10328
  }))
10329
- }), [i]), o = le(a, [i]), s = K(() => [{
10329
+ }), [i]), o = cn(a, [i]), s = K(() => [{
10330
10330
  type: "table",
10331
10331
  options: { columns: i.columns.map((e, t) => ({
10332
10332
  label: e,
@@ -10343,7 +10343,7 @@ function yh(e) {
10343
10343
  return mm(e.chart) && e.chart.type === "bar" && "orientation" in e.chart && e.chart.orientation === "horizontal";
10344
10344
  }
10345
10345
  function bh({ item: e, filters: t, actions: n, itemFilters: r, editMode: i, readOnly: a, handleDelete: o, onAskAi: s, onAskAiTarget: c, onTransformChart: l, isFullscreen: u, onFullscreenChange: d }) {
10346
- let f = R(), [p, m] = J("chart"), { enabled: h, setPendingQuote: g, setOpen: _, focusChatInput: v } = Oa(), y = !mm(e.chart), b = y ? ph : e.chart, [x, S] = J(null), C = e.useDashboardFilters !== !1, w = JSON.stringify(r?.value ?? {}), { data: T, isLoading: E, error: D, retry: O } = Ym(e.fetchData, t, C, w), k = q(null), A = K(() => T && !y ? gh(e, T) : void 0, [
10346
+ let f = z(), [p, m] = J("chart"), { enabled: h, setPendingQuote: g, setOpen: _, focusChatInput: v } = Da(), y = !mm(e.chart), b = y ? ph : e.chart, [x, S] = J(null), C = e.useDashboardFilters !== !1, w = JSON.stringify(r?.value ?? {}), { data: T, isLoading: E, error: D, retry: O } = Ym(e.fetchData, t, C, w), k = q(null), A = K(() => T && !y ? gh(e, T) : void 0, [
10347
10347
  e,
10348
10348
  T,
10349
10349
  y
@@ -10392,38 +10392,38 @@ function bh({ item: e, filters: t, actions: n, itemFilters: r, editMode: i, read
10392
10392
  chartConfig: b,
10393
10393
  data: T,
10394
10394
  title: e.title
10395
- }), ee = K(() => [...n ?? [], ...F], [n, F]), te = W(() => S(null), []), ne = b.type === "bar" ? "orientation" in b ? b.orientation ?? "vertical" : "vertical" : void 0, I = T ? vm(T, b.type) : b.type, re = K(() => Dm(I), [I]), ie = T && Array.isArray(T.series) ? T.series.length : 1, ae = P.filter((e) => {
10395
+ }), I = K(() => [...n ?? [], ...F], [n, F]), ee = W(() => S(null), []), te = b.type === "bar" ? "orientation" in b ? b.orientation ?? "vertical" : "vertical" : void 0, L = T ? vm(T, b.type) : b.type, ne = K(() => Dm(L), [L]), re = T && Array.isArray(T.series) ? T.series.length : 1, ie = P.filter((e) => {
10396
10396
  let t = e.type === "bar" ? "bar" : e.type;
10397
- return !(!re.has(t) || e.type === "pie" && ie > 1);
10398
- }), oe = l && I !== "scatter" && I !== "radar" && I !== "heatmap" ? ae.map((t) => {
10399
- let n = t.type === "table", r = n ? p === "table" : p === "chart" && b.type === t.type && (t.type !== "bar" || ne === t.orientation);
10397
+ return !(!ne.has(t) || e.type === "pie" && re > 1);
10398
+ }), ae = l && L !== "scatter" && L !== "radar" && L !== "heatmap" ? ie.map((t) => {
10399
+ let n = t.type === "table", r = n ? p === "table" : p === "chart" && b.type === t.type && (t.type !== "bar" || te === t.orientation);
10400
10400
  return {
10401
10401
  label: t.label,
10402
10402
  value: t.value,
10403
10403
  icon: t.icon,
10404
10404
  isActive: r,
10405
10405
  onSelect: () => {
10406
- n ? m("table") : (m("chart"), (b.type !== t.type || t.type === "bar" && ne !== t.orientation) && l(e.id, t.type, t.orientation));
10406
+ n ? m("table") : (m("chart"), (b.type !== t.type || t.type === "bar" && te !== t.orientation) && l(e.id, t.type, t.orientation));
10407
10407
  }
10408
10408
  };
10409
- }) : void 0, se = !!u && yh(e), [ce, le] = J(0), ue = !!d && yh(e), de = ue && !u && ce > 0, fe = ue && !!u, pe = T?.categories?.length ?? 0, me = de ? f.dataChart.windowedCategories.replace("{{count}}", String(Math.max(0, pe - ce))).replace("{{total}}", String(pe)) : void 0, he = de ? {
10409
+ }) : void 0, oe = !!u && yh(e), [se, ce] = J(0), le = !!d && yh(e), ue = le && !u && se > 0, de = le && !!u, fe = T?.categories?.length ?? 0, pe = ue ? f.dataChart.windowedCategories.replace("{{count}}", String(Math.max(0, fe - se))).replace("{{total}}", String(fe)) : void 0, me = ue ? {
10410
10410
  label: f.actions.showAll,
10411
10411
  onClick: () => d?.(!0)
10412
- } : fe ? {
10412
+ } : de ? {
10413
10413
  label: f.actions.showLess,
10414
10414
  onClick: () => d?.(!1)
10415
10415
  } : void 0;
10416
10416
  return /* @__PURE__ */ X(eh, {
10417
10417
  title: e.title,
10418
- description: me ?? e.description,
10418
+ description: pe ?? e.description,
10419
10419
  info: e.info,
10420
- ...he ? { descriptionAction: he } : {},
10420
+ ...me ? { descriptionAction: me } : {},
10421
10421
  explanation: e.explanation,
10422
10422
  isLoading: E,
10423
10423
  error: D ?? (y ? /* @__PURE__ */ Error() : void 0),
10424
10424
  onRetry: y ? void 0 : O,
10425
10425
  skeleton: mh(b),
10426
- actions: ee,
10426
+ actions: I,
10427
10427
  itemFilters: r,
10428
10428
  editMode: i,
10429
10429
  readOnly: a,
@@ -10431,9 +10431,9 @@ function bh({ item: e, filters: t, actions: n, itemFilters: r, editMode: i, read
10431
10431
  onAskAi: s,
10432
10432
  onAskAiTarget: c,
10433
10433
  itemId: e.id,
10434
- chartTypeOptions: oe,
10434
+ chartTypeOptions: ae,
10435
10435
  isFullscreen: u,
10436
- fitContent: se,
10436
+ fitContent: oe,
10437
10437
  onFullscreenChange: d,
10438
10438
  children: T && A ? p === "table" ? /* @__PURE__ */ X(vh, {
10439
10439
  config: b,
@@ -10442,26 +10442,26 @@ function bh({ item: e, filters: t, actions: n, itemFilters: r, editMode: i, read
10442
10442
  ref: k,
10443
10443
  tabIndex: -1,
10444
10444
  className: B("relative h-full w-full px-4 py-3", wn("rounded-sm focus-visible:ring-inset focus-visible:ring-offset-0")),
10445
- children: [/* @__PURE__ */ X(Ye, {
10445
+ children: [/* @__PURE__ */ X(Je, {
10446
10446
  ...A,
10447
10447
  ariaLabel: e.title,
10448
10448
  onPointClick: M ? (e) => S(e) : void 0,
10449
- ...ue ? {
10449
+ ...le ? {
10450
10450
  windowCategories: !0,
10451
- onHiddenCategoriesChange: le
10451
+ onHiddenCategoriesChange: ce
10452
10452
  } : {},
10453
- ...se ? { showAllCategories: !0 } : {}
10453
+ ...oe ? { showAllCategories: !0 } : {}
10454
10454
  }), /* @__PURE__ */ X(rh, {
10455
10455
  anchor: x,
10456
10456
  onAsk: () => {
10457
10457
  x && N(x);
10458
10458
  },
10459
- onDismiss: te,
10459
+ onDismiss: ee,
10460
10460
  returnFocusTo: k
10461
10461
  })]
10462
10462
  }) : E ? null : /* @__PURE__ */ X("div", {
10463
10463
  className: "h-full w-full px-4 py-3",
10464
- children: /* @__PURE__ */ X(kt, {})
10464
+ children: /* @__PURE__ */ X(Zt, {})
10465
10465
  })
10466
10466
  });
10467
10467
  }
@@ -10477,7 +10477,7 @@ function xh(e) {
10477
10477
  function Sh(e, t) {
10478
10478
  return e.map((e) => {
10479
10479
  let n = {};
10480
- for (let r of t) n[r.id] = r.render ? Kt(r.render(e)) : e[r.id];
10480
+ for (let r of t) n[r.id] = r.render ? Wt(r.render(e)) : e[r.id];
10481
10481
  return n;
10482
10482
  });
10483
10483
  }
@@ -10543,7 +10543,7 @@ function Dh(e, t) {
10543
10543
  return o;
10544
10544
  }
10545
10545
  function Oh({ source: e, title: t, description: n, columns: r, tableSettings: i }) {
10546
- let { t: a } = R(), [o, s] = J(!1), c = W(async (a) => {
10546
+ let { t: a } = z(), [o, s] = J(!1), c = W(async (a) => {
10547
10547
  if (e && !o) {
10548
10548
  s(!0);
10549
10549
  try {
@@ -10584,7 +10584,7 @@ function Oh({ source: e, title: t, description: n, columns: r, tableSettings: i
10584
10584
  //#endregion
10585
10585
  //#region src/domains/platform/ai/analytics/F0AnalyticsDashboard/components/CollectionItem/CollectionItem.tsx
10586
10586
  function kh({ item: e, filters: t, actions: n, itemFilters: r, editMode: i, readOnly: a, handleDelete: o, onAskAi: s, onAskAiTarget: c, isFullscreen: l, onFullscreenChange: u }) {
10587
- let d = e.useDashboardFilters === !1 ? {} : t, f = JSON.stringify(d), p = JSON.stringify(r?.value ?? {}), m = K(() => e.createSource(d), [f, p]), h = le(m, [f, p]), [g, _] = J(), v = K(() => xh(e.visualizations), [e]), y = Oh({
10587
+ let d = e.useDashboardFilters === !1 ? {} : t, f = JSON.stringify(d), p = JSON.stringify(r?.value ?? {}), m = K(() => e.createSource(d), [f, p]), h = cn(m, [f, p]), [g, _] = J(), v = K(() => xh(e.visualizations), [e]), y = Oh({
10588
10588
  source: h,
10589
10589
  title: e.title,
10590
10590
  description: e.description,
@@ -10626,7 +10626,7 @@ function kh({ item: e, filters: t, actions: n, itemFilters: r, editMode: i, read
10626
10626
  function Ah() {
10627
10627
  return /* @__PURE__ */ Z("div", {
10628
10628
  className: "flex h-full items-end gap-3 px-4 pb-4",
10629
- children: [/* @__PURE__ */ X(z, { className: "h-10 w-36 rounded" }), /* @__PURE__ */ X(z, { className: "h-4 w-16 rounded" })]
10629
+ children: [/* @__PURE__ */ X(mn, { className: "h-10 w-36 rounded" }), /* @__PURE__ */ X(mn, { className: "h-4 w-16 rounded" })]
10630
10630
  });
10631
10631
  }
10632
10632
  //#endregion
@@ -10666,7 +10666,7 @@ function Mh(e, t) {
10666
10666
  };
10667
10667
  }
10668
10668
  function Nh({ value: e, trend: t, comparison: n }) {
10669
- let r = q(null), { height: i, width: a } = ct(r), [o, s] = J(!1), c = i > 220;
10669
+ let r = q(null), { height: i, width: a } = it(r), [o, s] = J(!1), c = i > 220;
10670
10670
  return Cc(() => {
10671
10671
  let e = r.current;
10672
10672
  s(e !== null && (e.scrollWidth > e.clientWidth || e.scrollHeight > e.clientHeight));
@@ -10727,7 +10727,7 @@ function Nh({ value: e, trend: t, comparison: n }) {
10727
10727
  " ",
10728
10728
  n.value
10729
10729
  ]
10730
- }), n.info ? /* @__PURE__ */ X(Ae, {
10730
+ }), n.info ? /* @__PURE__ */ X(ce, {
10731
10731
  info: n.info,
10732
10732
  label: n.label
10733
10733
  }) : null]
@@ -10871,7 +10871,7 @@ function Uh({ items: e, itemFilters: t, filters: n, editMode: r, readOnly: i, on
10871
10871
  }
10872
10872
  return r = r.filter((e) => e.ids.length > 0), x(r), r;
10873
10873
  });
10874
- }, [x]), ee = W((e, t) => {
10874
+ }, [x]), I = W((e, t) => {
10875
10875
  if (qh(N.current, e, t)) return null;
10876
10876
  let n = d.current ? Array.from(d.current.querySelectorAll("[data-dashboard-row]")) : [], r = O.current;
10877
10877
  if (n.length === 0 || n.length !== r.length) return null;
@@ -10890,7 +10890,7 @@ function Uh({ items: e, itemFilters: t, filters: n, editMode: r, readOnly: i, on
10890
10890
  rowIdx: a,
10891
10891
  position: Yh(n[a].querySelectorAll("[data-card-id]"), e, s.ids.length)
10892
10892
  };
10893
- }, []), te = W((e, t) => {
10893
+ }, []), ee = W((e, t) => {
10894
10894
  if (typeof t.button == "number" && t.button !== 0) return;
10895
10895
  t.preventDefault(), t.stopPropagation();
10896
10896
  let n = t.clientX, r = t.clientY, i = !1;
@@ -10900,7 +10900,7 @@ function Uh({ items: e, itemFilters: t, filters: n, editMode: r, readOnly: i, on
10900
10900
  if (Math.hypot(t.clientX - n, t.clientY - r) < Rh) return;
10901
10901
  i = !0, T(e), N.current = Array.from(document.querySelectorAll("[data-ai-chat-dropzone]"));
10902
10902
  let a = k.current.get(e)?.title ?? "";
10903
- a && window.dispatchEvent(new CustomEvent(oi, { detail: {
10903
+ a && window.dispatchEvent(new CustomEvent(ai, { detail: {
10904
10904
  id: e,
10905
10905
  title: a,
10906
10906
  onAskAi: c,
@@ -10909,24 +10909,24 @@ function Uh({ items: e, itemFilters: t, filters: n, editMode: r, readOnly: i, on
10909
10909
  }
10910
10910
  let a = M.current;
10911
10911
  a && (a.style.transform = `translate(${t.clientX + 12}px, ${t.clientY + 16}px)`);
10912
- let o = ee(t.clientX, t.clientY);
10912
+ let o = I(t.clientX, t.clientY);
10913
10913
  JSON.stringify(o) !== JSON.stringify(j.current) && (j.current = o, D(o));
10914
10914
  }, o = (e) => {
10915
10915
  document.removeEventListener("pointermove", a), document.removeEventListener("pointerup", s), document.removeEventListener("pointercancel", u), P.current = null;
10916
10916
  let t = A.current, n = j.current;
10917
- e && i && t && n && F(t, n), A.current = null, j.current = null, N.current = [], T(null), D(null), i && window.dispatchEvent(new CustomEvent(ii));
10917
+ e && i && t && n && F(t, n), A.current = null, j.current = null, N.current = [], T(null), D(null), i && window.dispatchEvent(new CustomEvent(ri));
10918
10918
  }, s = (e) => {
10919
- i && (N.current = Array.from(document.querySelectorAll("[data-ai-chat-dropzone]")), j.current = ee(e.clientX, e.clientY)), o(!0);
10919
+ i && (N.current = Array.from(document.querySelectorAll("[data-ai-chat-dropzone]")), j.current = I(e.clientX, e.clientY)), o(!0);
10920
10920
  }, u = () => o(!1);
10921
10921
  P.current = () => o(!1), document.addEventListener("pointermove", a), document.addEventListener("pointerup", s), document.addEventListener("pointercancel", u);
10922
10922
  }, [
10923
10923
  F,
10924
10924
  c,
10925
10925
  l,
10926
- ee
10926
+ I
10927
10927
  ]);
10928
10928
  G(() => () => P.current?.(), []);
10929
- let ne = W((e, t, n, r) => {
10929
+ let te = W((e, t, n, r) => {
10930
10930
  let i = Math.max(eg(_[e], g), r), a = (r) => {
10931
10931
  let a = Math.max(i, n + r.clientY - t);
10932
10932
  v((t) => t.map((t, n) => n === e ? {
@@ -10941,10 +10941,10 @@ function Uh({ items: e, itemFilters: t, filters: n, editMode: r, readOnly: i, on
10941
10941
  _,
10942
10942
  x,
10943
10943
  g
10944
- ]), I = f ? _.flatMap((e) => e.ids.map((t) => ({
10944
+ ]), L = f ? _.flatMap((e) => e.ids.map((t) => ({
10945
10945
  ids: [t],
10946
10946
  height: e.height
10947
- }))) : _, re = !!r && !f, ie = (e) => w && E?.type === "new-row" && E.afterRowIdx === e;
10947
+ }))) : _, ne = !!r && !f, re = (e) => w && E?.type === "new-row" && E.afterRowIdx === e;
10948
10948
  if (e.length === 1) {
10949
10949
  let a = e[0];
10950
10950
  return /* @__PURE__ */ X("div", {
@@ -10993,12 +10993,12 @@ function Uh({ items: e, itemFilters: t, filters: n, editMode: r, readOnly: i, on
10993
10993
  className: "flex flex-col",
10994
10994
  style: { gap: Fh },
10995
10995
  children: [
10996
- I.map((e, a) => {
10996
+ L.map((e, a) => {
10997
10997
  let o = w && E?.type === "into-row" && E.rowIdx === a, u = e.ids.some((e) => g.get(e)?.type === "collection");
10998
10998
  return /* @__PURE__ */ Z("div", {
10999
10999
  className: "relative",
11000
11000
  children: [
11001
- re ? /* @__PURE__ */ X(Kh, { active: !!ie(a - 1) }) : null,
11001
+ ne ? /* @__PURE__ */ X(Kh, { active: !!re(a - 1) }) : null,
11002
11002
  /* @__PURE__ */ X("div", {
11003
11003
  "data-dashboard-row": "",
11004
11004
  className: B("flex rounded-lg transition-colors duration-200", o && "bg-f1-background-hover"),
@@ -11019,8 +11019,8 @@ function Uh({ items: e, itemFilters: t, filters: n, editMode: r, readOnly: i, on
11019
11019
  isDragging: f,
11020
11020
  showIndicatorBefore: !!p,
11021
11021
  showIndicatorAfter: !!m,
11022
- draggable: re,
11023
- onGripPointerDown: te,
11022
+ draggable: ne,
11023
+ onGripPointerDown: ee,
11024
11024
  onContentHeightChange: S,
11025
11025
  children: /* @__PURE__ */ X(ig, {
11026
11026
  item: d,
@@ -11037,19 +11037,19 @@ function Uh({ items: e, itemFilters: t, filters: n, editMode: r, readOnly: i, on
11037
11037
  }, a);
11038
11038
  })
11039
11039
  }),
11040
- re ? /* @__PURE__ */ X("div", {
11040
+ ne ? /* @__PURE__ */ X("div", {
11041
11041
  className: "group/resize absolute -bottom-3.5 mx-auto flex h-3 w-full items-center justify-center hover:cursor-ns-resize",
11042
11042
  onMouseDown: (t) => {
11043
11043
  t.preventDefault();
11044
11044
  let n = t.currentTarget.parentElement?.querySelector("[data-dashboard-row]"), r = Math.max(n?.getBoundingClientRect().height ?? 0, e.height), i = new Set(e.ids.filter((e) => g.get(e)?.type !== "chart"));
11045
- ne(a, t.clientY, r, tg(n, i));
11045
+ te(a, t.clientY, r, tg(n, i));
11046
11046
  },
11047
11047
  children: /* @__PURE__ */ X("div", { className: "h-1 w-16 rounded-full bg-transparent transition-colors group-hover/resize:bg-f1-foreground-tertiary" })
11048
11048
  }) : null
11049
11049
  ]
11050
11050
  }, a);
11051
11051
  }),
11052
- re ? /* @__PURE__ */ X(Kh, { active: !!ie(I.length - 1) }) : null,
11052
+ ne ? /* @__PURE__ */ X(Kh, { active: !!re(L.length - 1) }) : null,
11053
11053
  w ? /* @__PURE__ */ X("div", {
11054
11054
  ref: M,
11055
11055
  className: "pointer-events-none fixed left-0 top-0 z-50 max-w-xs truncate rounded-lg border border-solid border-f1-border-secondary bg-f1-background px-3 py-2 text-sm font-medium text-f1-foreground shadow-lg",
@@ -11092,7 +11092,7 @@ function Wh({ id: e, isDragging: t, showIndicatorBefore: n, showIndicatorAfter:
11092
11092
  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",
11093
11093
  "aria-label": "Drag to reorder",
11094
11094
  children: /* @__PURE__ */ X(H, {
11095
- icon: ki,
11095
+ icon: Di,
11096
11096
  size: "xs"
11097
11097
  })
11098
11098
  }) : null, s]
@@ -11261,11 +11261,11 @@ function ig({ item: e, filters: t, actions: n, itemFilters: r, editMode: i, read
11261
11261
  //#endregion
11262
11262
  //#region src/domains/platform/ai/analytics/F0AnalyticsDashboard/components/ExportDropdown/ExportDropdown.tsx
11263
11263
  function ag({ onExportExcel: e, isExporting: t }) {
11264
- let { t: n } = R();
11265
- return /* @__PURE__ */ X(Ni, {
11264
+ let { t: n } = z();
11265
+ return /* @__PURE__ */ X(Mi, {
11266
11266
  items: [{
11267
11267
  label: t ? n("ai.dataDownload.exporting") : n("ai.dataDownload.exportDashboard", { format: "Excel" }),
11268
- icon: Ri,
11268
+ icon: _a,
11269
11269
  onClick: t ? () => {} : e
11270
11270
  }],
11271
11271
  icon: Bs
@@ -11301,9 +11301,9 @@ function cg() {
11301
11301
  role: "status",
11302
11302
  "aria-label": "Loading filters",
11303
11303
  children: [
11304
- /* @__PURE__ */ X(z, { className: "h-8 w-24 rounded-md" }),
11305
- /* @__PURE__ */ X(z, { className: "h-8 w-20 rounded-md" }),
11306
- /* @__PURE__ */ X(z, { className: "h-8 w-20 rounded-md" })
11304
+ /* @__PURE__ */ X(mn, { className: "h-8 w-24 rounded-md" }),
11305
+ /* @__PURE__ */ X(mn, { className: "h-8 w-20 rounded-md" }),
11306
+ /* @__PURE__ */ X(mn, { className: "h-8 w-20 rounded-md" })
11307
11307
  ]
11308
11308
  });
11309
11309
  }
@@ -11418,78 +11418,78 @@ function pg({ items: e, filters: t, filename: n = "dashboard" }) {
11418
11418
  }
11419
11419
  //#endregion
11420
11420
  //#region src/domains/platform/ai/analytics/F0AnalyticsDashboard/F0AnalyticsDashboard.tsx
11421
- var mg = ({ filters: e, presets: t, defaultFilters: n, filtersValue: r, onFiltersChange: i, items: a, itemFilters: o, editMode: s, readOnly: c = !1, onLayoutChange: l, enableExport: u, exportFilename: d, onExportReady: f, resetKey: p, onTransformChart: m, onAskAi: h, onAskAiTarget: g, navigationFilters: _, filtersLoading: v }) => {
11422
- let y = R(), [b = {}, x] = Qs({
11421
+ var mg = ({ filters: e, presets: t, defaultFilters: n, filtersValue: r, onFiltersChange: i, items: a, itemFilters: o, editMode: c, readOnly: l = !1, onLayoutChange: u, enableExport: d, exportFilename: f, onExportReady: p, resetKey: m, onTransformChart: h, onAskAi: g, onAskAiTarget: _, navigationFilters: y, filtersLoading: b }) => {
11422
+ let x = z(), [S = {}, C] = Qs({
11423
11423
  prop: r,
11424
11424
  defaultProp: n ?? {},
11425
11425
  onChange: i
11426
- }), S = K(() => {
11427
- if (!_) return {};
11426
+ }), w = K(() => {
11427
+ if (!y) return {};
11428
11428
  let e = {};
11429
- for (let [t, n] of Object.entries(_)) e[t] = ln[n.type].valueConverter?.(n.defaultValue, n, y) ?? n.defaultValue;
11429
+ for (let [t, n] of Object.entries(y)) e[t] = s[n.type].valueConverter?.(n.defaultValue, n, x) ?? n.defaultValue;
11430
11430
  return e;
11431
- }, []), [C, w] = J(S), { exportAsExcel: T, isExporting: E } = pg({
11431
+ }, []), [T, E] = J(w), { exportAsExcel: D, isExporting: O } = pg({
11432
11432
  items: a,
11433
- filters: b,
11434
- filename: d
11435
- }), D = a.length === 1 && a[0]?.type === "collection";
11433
+ filters: S,
11434
+ filename: f
11435
+ }), k = a.length === 1 && a[0]?.type === "collection";
11436
11436
  G(() => {
11437
- if (D) f?.(void 0);
11438
- else return f?.(T), () => f?.(void 0);
11437
+ if (k) p?.(void 0);
11438
+ else return p?.(D), () => p?.(void 0);
11439
11439
  }, [
11440
- T,
11441
- f,
11442
- D
11440
+ D,
11441
+ p,
11442
+ k
11443
11443
  ]);
11444
- let O = a.length === 1, [k, A] = J(!1), j = O || k;
11444
+ let A = a.length === 1, [j, M] = J(!1), N = A || j;
11445
11445
  return /* @__PURE__ */ Z("div", {
11446
- className: B("flex flex-col gap-5 pb-10", j && "h-full pb-0"),
11447
- children: [e || v || u || _ ? /* @__PURE__ */ Z("div", {
11446
+ className: B("flex flex-col gap-5 pb-10", N && "h-full pb-0"),
11447
+ children: [e || b || d || y ? /* @__PURE__ */ Z("div", {
11448
11448
  className: "flex items-center justify-between gap-4 px-5",
11449
11449
  children: [/* @__PURE__ */ X("div", {
11450
11450
  className: "w-full",
11451
11451
  children: e ? /* @__PURE__ */ X(sg, {
11452
11452
  filters: e,
11453
- value: b,
11453
+ value: S,
11454
11454
  presets: t,
11455
- onChange: x,
11456
- disabled: c
11457
- }) : v ? /* @__PURE__ */ X(cg, {}) : null
11455
+ onChange: C,
11456
+ disabled: l
11457
+ }) : b ? /* @__PURE__ */ X(cg, {}) : null
11458
11458
  }), /* @__PURE__ */ Z("div", {
11459
11459
  className: "flex shrink-0 items-center gap-2",
11460
- children: [_ ? /* @__PURE__ */ X(ie, {
11461
- navigationFilters: _,
11462
- currentNavigationFilters: C,
11463
- onChangeNavigationFilters: w,
11464
- disabled: c
11465
- }) : null, u ? /* @__PURE__ */ X(ag, {
11466
- onExportExcel: T,
11467
- isExporting: E
11460
+ children: [y ? /* @__PURE__ */ X(v, {
11461
+ navigationFilters: y,
11462
+ currentNavigationFilters: T,
11463
+ onChangeNavigationFilters: E,
11464
+ disabled: l
11465
+ }) : null, d ? /* @__PURE__ */ X(ag, {
11466
+ onExportExcel: D,
11467
+ isExporting: O
11468
11468
  }) : null]
11469
11469
  })]
11470
11470
  }) : null, /* @__PURE__ */ X("div", {
11471
- className: B("px-5", j && "flex min-h-0 flex-1 flex-col pb-5"),
11471
+ className: B("px-5", N && "flex min-h-0 flex-1 flex-col pb-5"),
11472
11472
  children: /* @__PURE__ */ X(Uh, {
11473
11473
  items: a,
11474
- itemFilters: c ? void 0 : o,
11474
+ itemFilters: l ? void 0 : o,
11475
11475
  filters: {
11476
- ...b,
11477
- ...C
11476
+ ...S,
11477
+ ...T
11478
11478
  },
11479
- editMode: s && !c,
11480
- readOnly: c,
11481
- onLayoutChange: l,
11482
- onTransformChart: c ? void 0 : m,
11483
- onAskAi: h,
11484
- onAskAiTarget: g,
11485
- resetKey: p,
11486
- onFullscreenChange: A
11479
+ editMode: c && !l,
11480
+ readOnly: l,
11481
+ onLayoutChange: u,
11482
+ onTransformChart: l ? void 0 : h,
11483
+ onAskAi: g,
11484
+ onAskAiTarget: _,
11485
+ resetKey: m,
11486
+ onFullscreenChange: M
11487
11487
  })
11488
11488
  })]
11489
11489
  });
11490
11490
  };
11491
11491
  mg.displayName = "F0AnalyticsDashboard";
11492
- var hg = mn("F0AnalyticsDashboard", mg), gg = () => Gn("(min-width: 640px)", { initializeWithValue: !1 }), _g = () => Gn("(max-width: 639px)", { initializeWithValue: !1 }), vg = /*#__PURE__*/ U.createContext(void 0);
11492
+ var hg = pn("F0AnalyticsDashboard", mg), gg = () => Gn("(min-width: 640px)", { initializeWithValue: !1 }), _g = () => Gn("(max-width: 639px)", { initializeWithValue: !1 }), vg = /*#__PURE__*/ U.createContext(void 0);
11493
11493
  process.env.NODE_ENV !== "production" && (vg.displayName = "ToastContext");
11494
11494
  function yg() {
11495
11495
  let e = U.useContext(vg);
@@ -11581,7 +11581,7 @@ var Cg = {
11581
11581
  i.splice(n, 1), this.setToasts(i);
11582
11582
  }
11583
11583
  addToast = (e) => {
11584
- let { timeout: t, limit: n } = this.state, r = e.id || Xe("toast");
11584
+ let { timeout: t, limit: n } = this.state, r = e.id || Ze("toast");
11585
11585
  if (e.id) {
11586
11586
  let t = Cg.toast(this.state, e.id);
11587
11587
  if (t) {
@@ -11928,10 +11928,10 @@ var Ng = "--toast-index", Pg = "--toast-offset-y", Fg = "--toast-height", Ig = "
11928
11928
  }), M = U.useRef(void 0), N = U.useRef(0), P = U.useRef(!1), F = U.useRef({
11929
11929
  x: 0,
11930
11930
  y: 0
11931
- }), ee = U.useRef(!1), te = U.useRef({
11931
+ }), I = U.useRef(!1), ee = U.useRef({
11932
11932
  x: 0,
11933
11933
  y: 0
11934
- }), ne = U.useRef(null), I = U.useRef(null), re = d.useState("toastIndex", n.id), ie = d.useState("toastVisibleIndex", n.id), ae = d.useState("toastOffsetY", n.id), oe = d.useState("focused"), se = d.useState("expanded");
11934
+ }), te = U.useRef(null), L = U.useRef(null), ne = d.useState("toastIndex", n.id), re = d.useState("toastVisibleIndex", n.id), ie = d.useState("toastOffsetY", n.id), ae = d.useState("focused"), oe = d.useState("expanded");
11935
11935
  On({
11936
11936
  open: n.transitionStatus !== "ending",
11937
11937
  ref: O,
@@ -11939,7 +11939,7 @@ var Ng = "--toast-index", Pg = "--toast-offset-y", Fg = "--toast-height", Ig = "
11939
11939
  n.transitionStatus === "ending" && d.removeToast(n.id);
11940
11940
  }
11941
11941
  });
11942
- let ce = Dn((e = !1) => {
11942
+ let se = Dn((e = !1) => {
11943
11943
  let t = O.current;
11944
11944
  if (!t) return;
11945
11945
  let r = t.style.height;
@@ -11961,68 +11961,68 @@ var Ng = "--toast-index", Pg = "--toast-offset-y", Fg = "--toast-height", Ig = "
11961
11961
  x: 0,
11962
11962
  y: 0,
11963
11963
  scale: 1
11964
- }), le({
11964
+ }), ce({
11965
11965
  x: 0,
11966
11966
  y: 0
11967
- })), k.current = n.id, ce());
11967
+ })), k.current = n.id, se());
11968
11968
  }, [
11969
- ce,
11969
+ se,
11970
11970
  n.id,
11971
11971
  n.transitionStatus
11972
11972
  ]);
11973
- function le(e) {
11974
- te.current = e, y(e);
11973
+ function ce(e) {
11974
+ ee.current = e, y(e);
11975
11975
  }
11976
11976
  vn(() => () => {
11977
- I.current?.abort();
11977
+ L.current?.abort();
11978
11978
  }, []);
11979
- function ue(e, t) {
11979
+ function le(e, t) {
11980
11980
  let n = (e) => e > 0 ? e ** Hg : -(Math.abs(e) ** Hg), r = e > 0 && !l.includes("right") || e < 0 && !l.includes("left"), i = t > 0 && !l.includes("down") || t < 0 && !l.includes("up");
11981
11981
  return {
11982
11982
  x: r ? n(e) : e,
11983
11983
  y: i ? n(t) : t
11984
11984
  };
11985
11985
  }
11986
- let de = Dn((e) => {
11987
- if (e.pointerId !== ne.current) return;
11988
- ne.current = null, I.current?.abort(), I.current = null, h(!1), _(!1), D(null);
11986
+ let ue = Dn((e) => {
11987
+ if (e.pointerId !== te.current) return;
11988
+ te.current = null, L.current?.abort(), L.current = null, h(!1), _(!1), D(null);
11989
11989
  let t = j.current;
11990
11990
  if (e.type === "pointercancel" || P.current) {
11991
- le({
11991
+ ce({
11992
11992
  x: t.x,
11993
11993
  y: t.y
11994
11994
  }), p(void 0);
11995
11995
  return;
11996
11996
  }
11997
- let r = te.current, i = r.x - t.x, a = r.y - t.y, o;
11997
+ let r = ee.current, i = r.x - t.x, a = r.y - t.y, o;
11998
11998
  for (let e of l) if (Mg(e, i, a) > Bg) {
11999
11999
  o = e;
12000
12000
  break;
12001
12001
  }
12002
- o ? (p(o), d.closeToast(n.id)) : (le({
12002
+ o ? (p(o), d.closeToast(n.id)) : (ce({
12003
12003
  x: t.x,
12004
12004
  y: t.y
12005
12005
  }), p(void 0));
12006
12006
  });
12007
- function fe(e) {
12007
+ function de(e) {
12008
12008
  if (e.button !== 0 || (e.pointerType === "touch" && d.pauseTimers(), Nn(e.nativeEvent)?.closest(`button,a,input,textarea,[role="button"],${Wg}`))) return;
12009
- P.current = !1, M.current = void 0, N.current = 0, ne.current = e.pointerId, A.current = {
12009
+ P.current = !1, M.current = void 0, N.current = 0, te.current = e.pointerId, A.current = {
12010
12010
  x: e.clientX,
12011
12011
  y: e.clientY
12012
12012
  }, F.current = A.current;
12013
12013
  let t = e.currentTarget, n = jg(t);
12014
- j.current = n, x(n), le({
12014
+ j.current = n, x(n), ce({
12015
12015
  x: n.x,
12016
12016
  y: n.y
12017
- }), d.set("hovering", !0), h(!0), _(!1), D(null), ee.current = !0, I.current?.abort();
12017
+ }), d.set("hovering", !0), h(!0), _(!1), D(null), I.current = !0, L.current?.abort();
12018
12018
  let r = new AbortController();
12019
- I.current = r;
12019
+ L.current = r;
12020
12020
  let i = Bn(t);
12021
- i.addEventListener("pointerup", de, { signal: r.signal }), i.addEventListener("pointercancel", de, { signal: r.signal }), t.setPointerCapture?.(e.pointerId);
12021
+ i.addEventListener("pointerup", ue, { signal: r.signal }), i.addEventListener("pointercancel", ue, { signal: r.signal }), t.setPointerCapture?.(e.pointerId);
12022
12022
  }
12023
- function pe(e) {
12024
- if (e.pointerId !== ne.current) return;
12025
- e.preventDefault(), ee.current &&= (A.current = {
12023
+ function fe(e) {
12024
+ if (e.pointerId !== te.current) return;
12025
+ e.preventDefault(), I.current &&= (A.current = {
12026
12026
  x: e.clientX,
12027
12027
  y: e.clientY
12028
12028
  }, !1);
@@ -12046,13 +12046,13 @@ var Ng = "--toast-index", Pg = "--toast-offset-y", Fg = "--toast-height", Ig = "
12046
12046
  let e = M.current, t = Mg(e, c, s);
12047
12047
  t > Bg ? (P.current = !1, p(e)) : !(l.includes("left") && l.includes("right")) && !(l.includes("up") && l.includes("down")) && N.current - t >= Vg && (P.current = !0);
12048
12048
  }
12049
- let f = ue(a, o), m = j.current.x, h = j.current.y, v = l.includes("left") || l.includes("right"), y = l.includes("up") || l.includes("down");
12050
- u !== "vertical" && v && (m += f.x), u !== "horizontal" && y && (h += f.y), le({
12049
+ let f = le(a, o), m = j.current.x, h = j.current.y, v = l.includes("left") || l.includes("right"), y = l.includes("up") || l.includes("down");
12050
+ u !== "vertical" && v && (m += f.x), u !== "horizontal" && y && (h += f.y), ce({
12051
12051
  x: m,
12052
12052
  y: h
12053
12053
  });
12054
12054
  }
12055
- function me(e) {
12055
+ function pe(e) {
12056
12056
  if (e.key === "Escape") {
12057
12057
  if (!O.current || !Sn(O.current, _n(Bn(O.current)))) return;
12058
12058
  d.closeToast(n.id);
@@ -12062,11 +12062,11 @@ var Ng = "--toast-index", Pg = "--toast-offset-y", Fg = "--toast-height", Ig = "
12062
12062
  let e = O.current;
12063
12063
  if (!u || !e) return;
12064
12064
  function t(t) {
12065
- ne.current !== null && Sn(e, Nn(t)) && t.preventDefault();
12065
+ te.current !== null && Sn(e, Nn(t)) && t.preventDefault();
12066
12066
  }
12067
12067
  return Tn(e, "touchmove", t, { passive: !1 });
12068
12068
  }, [u]);
12069
- function he() {
12069
+ function me() {
12070
12070
  let e = v.x - b.x, t = v.y - b.y;
12071
12071
  return {
12072
12072
  transition: m ? "none" : void 0,
@@ -12075,55 +12075,55 @@ var Ng = "--toast-index", Pg = "--toast-offset-y", Fg = "--toast-height", Ig = "
12075
12075
  [Lg]: `${t}px`
12076
12076
  };
12077
12077
  }
12078
- let ge = n.priority === "high", _e = {
12079
- role: ge ? "alertdialog" : "dialog",
12078
+ let he = n.priority === "high", ge = {
12079
+ role: he ? "alertdialog" : "dialog",
12080
12080
  tabIndex: 0,
12081
12081
  "aria-modal": !1,
12082
12082
  "aria-labelledby": S,
12083
12083
  "aria-describedby": w,
12084
- "aria-hidden": ge && !oe ? !0 : void 0,
12085
- onPointerDown: u ? fe : void 0,
12086
- onPointerMove: u ? pe : void 0,
12087
- onPointerUp: u ? de : void 0,
12088
- onPointerCancel: u ? de : void 0,
12089
- onKeyDown: me,
12084
+ "aria-hidden": he && !ae ? !0 : void 0,
12085
+ onPointerDown: u ? de : void 0,
12086
+ onPointerMove: u ? fe : void 0,
12087
+ onPointerUp: u ? ue : void 0,
12088
+ onPointerCancel: u ? ue : void 0,
12089
+ onKeyDown: pe,
12090
12090
  inert: Dc(n.limited),
12091
12091
  style: {
12092
- ...he(),
12093
- [Ng]: n.transitionStatus === "ending" ? re : ie,
12094
- [Pg]: `${ae}px`,
12092
+ ...me(),
12093
+ [Ng]: n.transitionStatus === "ending" ? ne : re,
12094
+ [Pg]: `${ie}px`,
12095
12095
  [Fg]: n.height ? `${n.height}px` : void 0
12096
12096
  }
12097
- }, ve = U.useMemo(() => ({
12097
+ }, _e = U.useMemo(() => ({
12098
12098
  toast: n,
12099
12099
  setTitleId: C,
12100
12100
  setDescriptionId: T,
12101
- recalculateHeight: ce,
12102
- visibleIndex: ie,
12103
- expanded: se
12101
+ recalculateHeight: se,
12102
+ visibleIndex: re,
12103
+ expanded: oe
12104
12104
  }), [
12105
12105
  n,
12106
12106
  C,
12107
12107
  T,
12108
- ce,
12109
- ie,
12110
- se
12111
- ]), ye = {
12108
+ se,
12109
+ re,
12110
+ oe
12111
+ ]), ve = {
12112
12112
  transitionStatus: n.transitionStatus,
12113
- expanded: se,
12113
+ expanded: oe,
12114
12114
  limited: n.limited || !1,
12115
12115
  type: n.type,
12116
12116
  swiping: m,
12117
12117
  swipeDirection: f
12118
- }, be = Fn("div", e, {
12118
+ }, ye = Fn("div", e, {
12119
12119
  ref: [t, O],
12120
- state: ye,
12120
+ state: ve,
12121
12121
  stateAttributesMapping: zg,
12122
- props: [_e, s]
12122
+ props: [ge, s]
12123
12123
  });
12124
12124
  return /*#__PURE__*/ X(kg.Provider, {
12125
- value: ve,
12126
- children: be
12125
+ value: _e,
12126
+ children: ye
12127
12127
  });
12128
12128
  });
12129
12129
  process.env.NODE_ENV !== "production" && (Gg.displayName = "ToastRoot");
@@ -12229,12 +12229,12 @@ function $g() {
12229
12229
  //#endregion
12230
12230
  //#region src/elements/Toast/components/ToastCloseButton.tsx
12231
12231
  var e_ = ({ onClose: e }) => {
12232
- let t = R();
12232
+ let t = z();
12233
12233
  return /* @__PURE__ */ X("div", {
12234
12234
  className: "dark flex-shrink-0",
12235
12235
  children: /* @__PURE__ */ X(V, {
12236
12236
  variant: "outline",
12237
- icon: ka,
12237
+ icon: Gi,
12238
12238
  size: "sm",
12239
12239
  hideLabel: !0,
12240
12240
  onClick: e,
@@ -12251,7 +12251,7 @@ var e_ = ({ onClose: e }) => {
12251
12251
  className: "dark flex flex-shrink-0 flex-row flex-wrap items-center gap-3",
12252
12252
  children: [e.map((e) => /* @__PURE__ */ X("div", {
12253
12253
  onClick: () => n(e),
12254
- children: /* @__PURE__ */ X(Fi, {
12254
+ children: /* @__PURE__ */ X(Ni, {
12255
12255
  href: e.href,
12256
12256
  children: e.label
12257
12257
  })
@@ -12319,7 +12319,7 @@ var e_ = ({ onClose: e }) => {
12319
12319
  }) : g && /* @__PURE__ */ X("div", {
12320
12320
  className: "flex-shrink-0",
12321
12321
  "aria-hidden": "true",
12322
- children: /* @__PURE__ */ X(ji, {
12322
+ children: /* @__PURE__ */ X(Ai, {
12323
12323
  type: g,
12324
12324
  size: "sm"
12325
12325
  })
@@ -12358,7 +12358,7 @@ d_.displayName = "F0Toast";
12358
12358
  //#endregion
12359
12359
  //#region src/elements/Toast/F0MessageToast.tsx
12360
12360
  var f_ = (e) => e instanceof Element && e.closest("button, a") !== null, p_ = _c(({ avatar: e, sender: t, topic: n, message: r, moreCount: i = 0, onClick: a, duration: o, onClose: s, countdownKey: c, contentKey: l }, u) => {
12361
- let d = R(), { Title: f, Description: p, inStack: m } = a_(), h = () => {
12361
+ let d = z(), { Title: f, Description: p, inStack: m } = a_(), h = () => {
12362
12362
  a?.(), s?.();
12363
12363
  }, g = o != null && o > 0;
12364
12364
  return /* @__PURE__ */ Z("div", {
@@ -12403,7 +12403,7 @@ var f_ = (e) => e instanceof Element && e.closest("button, a") !== null, p_ = _c
12403
12403
  }),
12404
12404
  i > 0 ? /* @__PURE__ */ X("p", {
12405
12405
  className: "text-sm text-f1-foreground-inverse-secondary",
12406
- children: We(d.toasts.moreMessages, i)
12406
+ children: Ge(d.toasts.moreMessages, i)
12407
12407
  }) : null
12408
12408
  ]
12409
12409
  }, l),
@@ -12500,7 +12500,7 @@ var m_ = B("group/toast pointer-events-auto absolute bottom-0 left-0 right-0 fle
12500
12500
  expanded: n + (e.length > 1 ? w_ : 0)
12501
12501
  };
12502
12502
  }, O_ = ({ onClear: e }) => {
12503
- let t = R(), { close: n } = $g();
12503
+ let t = z(), { close: n } = $g();
12504
12504
  return /* @__PURE__ */ X("div", {
12505
12505
  className: B("pointer-events-auto absolute right-0 flex h-[var(--clear-all-row)] items-start justify-end", "bottom-[calc(var(--stack-expanded-height)_-_var(--clear-all-row))]", "invisible opacity-0 [transform:translateY(calc(var(--stack-expanded-height)_-_var(--stack-collapsed-height)))]", "group-data-[expanded]/toasts:visible group-data-[expanded]/toasts:opacity-100 group-data-[expanded]/toasts:[transform:none]", "[transition:transform_0.5s_cubic-bezier(0.22,1,0.36,1),opacity_0.5s_cubic-bezier(0.22,1,0.36,1),visibility_0.5s]", "motion-reduce:[transition:opacity_0.2s,visibility_0.2s]"),
12506
12506
  children: /* @__PURE__ */ X(V, {
@@ -12581,7 +12581,7 @@ var m_ = B("group/toast pointer-events-auto absolute bottom-0 left-0 right-0 fle
12581
12581
  };
12582
12582
  }, []), e;
12583
12583
  }, P_ = Infinity, F_ = ({ messages: e, app: t }) => {
12584
- let [n, r] = J(!1), [i, a] = J(!1), o = M_(n || i), s = N_(), c = R();
12584
+ let [n, r] = J(!1), [i, a] = J(!1), o = M_(n || i), s = N_(), c = z();
12585
12585
  return /* @__PURE__ */ X("div", {
12586
12586
  className: "pointer-events-none fixed z-[1260] flex flex-col-reverse items-center overflow-y-auto overflow-x-hidden py-6",
12587
12587
  style: o,
@@ -12612,9 +12612,9 @@ var m_ = B("group/toast pointer-events-auto absolute bottom-0 left-0 right-0 fle
12612
12612
  mobile: "#f0-overlay-root",
12613
12613
  desktop: "#f0-overlay-root"
12614
12614
  } }) => {
12615
- let n = q(null), r = wc(Be.subscribeRenderer, Be.getActiveRendererId, () => null);
12615
+ let n = q(null), r = wc(He.subscribeRenderer, He.getActiveRendererId, () => null);
12616
12616
  G(function() {
12617
- let { id: e, release: t } = Be.acquireRenderer();
12617
+ let { id: e, release: t } = He.acquireRenderer();
12618
12618
  return n.current = e, t;
12619
12619
  }, []);
12620
12620
  let i = r !== null && r === n.current, a = _g(), [o, s] = J(null), [c, l] = J(0), u = q(null);
@@ -12627,23 +12627,23 @@ var m_ = B("group/toast pointer-events-auto absolute bottom-0 left-0 right-0 fle
12627
12627
  t?.mobile,
12628
12628
  t?.desktop
12629
12629
  ]), /* @__PURE__ */ Z(Y, { children: [i && o != null ? Ec(/* @__PURE__ */ X(hc, { children: /* @__PURE__ */ X(F_, {
12630
- messages: Ht,
12631
- app: mt
12630
+ messages: Vt,
12631
+ app: _t
12632
12632
  }) }, c), o) : null, e] });
12633
- }, L_ = ({ children: e, link: t, privacyModeInitiallyEnabled: n, image: r, i18n: i, l10n: a, hourCycle: o, isDev: s = !1, showExperimentalWarnings: c = !1, renderDataTestIdAttribute: l = !1 }) => /* @__PURE__ */ X(Dt, {
12633
+ }, L_ = ({ children: e, link: t, privacyModeInitiallyEnabled: n, image: r, i18n: i, l10n: a, hourCycle: o, isDev: s = !1, showExperimentalWarnings: c = !1, renderDataTestIdAttribute: l = !1 }) => /* @__PURE__ */ X(Yt, {
12634
12634
  reducedMotion: "user",
12635
- children: /* @__PURE__ */ X(fn, {
12635
+ children: /* @__PURE__ */ X(dn, {
12636
12636
  isDev: s,
12637
12637
  showExperimentalWarnings: c,
12638
12638
  renderDataTestIdAttribute: l,
12639
12639
  hourCycle: o,
12640
12640
  children: /* @__PURE__ */ X(is, {
12641
12641
  ...a,
12642
- children: /* @__PURE__ */ X(pn, {
12642
+ children: /* @__PURE__ */ X(fn, {
12643
12643
  ...i,
12644
12644
  children: /* @__PURE__ */ X(nr, {
12645
12645
  ...t,
12646
- children: /* @__PURE__ */ X(Ya, { children: /* @__PURE__ */ X(qe, {
12646
+ children: /* @__PURE__ */ X(Ya, { children: /* @__PURE__ */ X(Ke, {
12647
12647
  initiallyEnabled: n,
12648
12648
  children: /* @__PURE__ */ X(no, {
12649
12649
  ...r,
@@ -12682,9 +12682,9 @@ var m_ = B("group/toast pointer-events-auto absolute bottom-0 left-0 right-0 fle
12682
12682
  renderDataTestIdAttribute: d,
12683
12683
  children: /* @__PURE__ */ X(z_, {
12684
12684
  ...t,
12685
- children: /* @__PURE__ */ X(si, {
12685
+ children: /* @__PURE__ */ X(oi, {
12686
12686
  handler: l,
12687
- children: /* @__PURE__ */ X(or, { children: /* @__PURE__ */ X(st, {
12687
+ children: /* @__PURE__ */ X(or, { children: /* @__PURE__ */ X(ot, {
12688
12688
  ...p,
12689
12689
  children: /* @__PURE__ */ X(B_.Provider, {
12690
12690
  value: f,
@@ -12701,4 +12701,4 @@ var m_ = B("group/toast pointer-events-auto absolute bottom-0 left-0 right-0 fle
12701
12701
  })
12702
12702
  });
12703
12703
  //#endregion
12704
- export { yr as AiChatTranslationsProvider, yt as AreaChart, Vo as Await, at as BarChart, Fe as BarChartSkeleton, ke as CardSelectableContainer, tt as CategoryBarChart, zi as ChatSpinner, To as Chip, jr as CollapsibleGroup, Ne as ComboChart, ot as DATA_COLLECTION_URL_PARAMS, nt as DATA_COLLECTION_URL_PARAM_PREFIX, kl as Dashboard, kt as DataChartEmptyStateView, un as DataTestIdWrapper, gt as DndProvider, Ga as DropOverlay, Kn as EmojiImage, su as F0Accordion, ae as F0ActionBar, ia as F0ActionItem, mi as F0AiChat, br as F0AiChatCreditsButton, Or as F0AiChatHeader, Tr as F0AiChatHistory, vi as F0AiChatProvider, sr as F0AiChatTextArea, lr as F0AiChatUsageLimitsButton, gr as F0AiFileAttachments, Wa as F0AiFilePreviewsProvider, Ta as F0AiFormRegistryProvider, kr as F0AiInsightCard, _r as F0AiMask, xr as F0AiMessageSources, ir as F0AiMessagesContainer, li as F0AiPong, Fr as F0AiProcessingOverlay, Sr as F0AiProposalCard, Ir as F0AiTableCard, sc as F0Alert, hg as F0AnalyticsDashboard, Ma as F0AudioPlayer, Ba as F0AudioPlayerCard, Cr as F0AuraVoiceAnimation, lo as F0Avatar, ji as F0AvatarAlert, to as F0AvatarCompany, qr as F0AvatarDate, ao as F0AvatarEmoji, co as F0AvatarFile, uo as F0AvatarIcon, ho as F0AvatarList, mo as F0AvatarModule, fo as F0AvatarPerson, go as F0AvatarTeam, Zl as F0BigNumber, am as F0BookAMeetingCard, io as F0Box, V as F0Button, gi as F0ButtonDropdown, Fs as F0ButtonToggle, Dr as F0CanvasCard, Ea as F0CanvasPanel, wa as F0Card, Kr as F0CardRow, va as F0ChatComposer, rs as F0Checkbox, du as F0ChipList, Lr as F0ClarifyingPanel, Ye as F0DataChart, cn as F0DatePicker, se as F0DatePickerInline, tm as F0DemoCard, sa as F0Dialog, re as F0DialogAlikeContext, f as F0DialogAlikeProvider, Ao as F0DialogContext, No as F0DialogProvider, uc as F0DocumentViewer, vu as F0Drawer, ft as F0DurationInput, wo as F0EventCatcherProvider, rm as F0FAQCard, Da as F0FileItem, xu as F0FilterPickerContent, me as F0Form, Fu as F0FormField, yl as F0GridStack, wr as F0HILActionConfirmation, Zt as F0Heading, H as F0Icon, Fi as F0Link, im as F0ModuleCard, rn as F0NotesTextEditor, Ie as F0NotesTextEditorSkeleton, l as F0NumberInput, d as F0NumberInputInline, Hr as F0OneIcon, ha as F0OneSwitch, cc as F0PdfViewer, H_ as F0Provider, om as F0QuestionCardMultiStep, qa as F0RichTextDisplay, lt as F0RichTextEditor, gs as F0SearchInput, Ds as F0Select, n as F0SelectInline, xd as F0Slider, Fd as F0TableOfContentPopover, Uo as F0TagAlert, Fo as F0TagBalance, fs as F0TagCompany, So as F0TagDot, xs as F0TagList, ps as F0TagPerson, Eo as F0TagRaw, js as F0TagStatus, Ro as F0TagTeam, oc as F0Text, Qt as F0TextAreaInput, s as F0TextAreaInputInline, Ua as F0TextInput, de as F0TextInputInline, o as F0TimelineRow, fc as F0VideoPlayer, id as F0WizardForm, ls as F1SearchBox, P as FILE_TYPES, _a as FileItem, or as FormCardValueFormatterProvider, wt as FunnelChartSkeleton, so as GROUP_ID_SYMBOL, yo as GROUP_KEY_SEPARATOR, Lt as GaugeChartSkeleton, Ue as HeatmapChartSkeleton, Gl as HomeLayout, Ot as InlineFieldRow, vt as InlineFieldRowList, Wi as Input, Hl as Layout, Yt as LineChart, _t as LineChartSkeleton, Pe as MAX_URL_FILTER_VALUES, $t as NotesTextEditor, ue as NotesTextEditorSkeleton, ne as NumberInput, ss as OneCalendar, Qn as OneEllipsis, m as OneEmptyState, Cs as OneFilterPicker, on as PieChart, Gt as PieChartSkeleton, bi as PongBall, qe as PrivacyModeProvider, Hp as ProductBlankslate, $e as ProductCard, Gp as ProductModal, qp as ProductWidget, Re as ProgressBarChart, tn as RadarChart, Ke as RadarChartSkeleton, Yr as RichTextDisplay, M as RichTextEditor, Qe as ScatterChartSkeleton, Ul as StandardLayout, lp as SurveyAllQuestionsLoadingSkeleton, Np as SurveyAnsweringForm, tp as SurveyFormBuilder, Ip as SurveySampleQuestion, up as SurveySteppedLoadingSkeleton, Oo as Tag, _s as TagCounter, he as Textarea, Pr as ThreadItem, vr as ThreadListSkeleton, I_ as ToastProvider, Wl as TwoColumnLayout, I as UPLOAD_INPUT_ID, j as UpsellRequestResponseDialog, Xp as UpsellingAlert, Qp as UpsellingBanner, S as UpsellingButton, em as UpsellingPopover, fe as VerticalBarChart, vs as WeekStartDay, t as actionBarStatuses, Vr as actionItemStatuses, ya as adaptDataAdapterToInfiniteScroll, rr as aiChatFileFromShowFilesItem, Er as aiChatFileFromUploadedFile, ur as aiChatFilesFromMessage, dr as aiChatMessageText, hr as aiTranslations, mu as alertVariantOptions, tu as audioPlayerSizes, Kl as avatarVariants, Xt as buildDataCollectionUrlParams, dn as buildTranslations, eu as buttonDropdownModes, $l as buttonDropdownSizes, Ql as buttonDropdownVariants, Tl as buttonSizes, C as buttonToggleColors, Ee as buttonToggleSizes, Te as buttonToggleVariants, wl as buttonVariants, cu as cardAlertVariants, la as cardImageAspectRatios, Aa as cardImageFits, Ji as cardImageSizes, Po as chartColorTokens, Ns as chipVariants, Bd as computeSectionEndIds, dc as configurePdfWorker, Mr as contentTypes, Wt as createAtlaskitDriver, jo as createDataSourceDefinition, Tu as createF0FormDefinitionTester, wu as createF0FormTester, Sl as createPageLayoutBlock, Cl as createPageLayoutBlockGroup, cr as createPersonMentionSource, hu as dataCollectionLocalStorageHandler, fu as datePickerInlineDismissReasons, pu as datepickerSizes, $a as defaultTranslations, Ki as defineAvailableForm, Su as describeFormSchema, O as dialog, O as dialogs, Mt as drawers, ei as durationInputSizes, _i as durationUnits, Jt as evaluateRenderIf, mn as experimental, Ca as f0FileItemSizes, Ii as f0FormField, Fa as fieldsToSeconds, Id as flattenElements, $r as formatPlaybackTime, ud as forms, et as generateAnchorId, Co as getAnimationVariants, Mi as getDataCollectionStorageKey, Ko as getDataSourcePaginationType, Zn as getEmojiLabel, Na as getF0Config, Zo as getGranularityDefinition, xo as getGranularityDefinitions, As as getGranularitySimpleDefinition, an as getSchemaDefinition, as as granularityDefinitions, Va as hasF0Config, Hi as inferFieldType, zd as injectSectionEnds, _o as isInfiniteScrollPagination, vo as isPageBasedPagination, Ra as isZodType, nu as linkVariants, pr as markdownRenderers, Ai as mergeDataCollectionFilters, eo as modules, mr as oneIconSizes, sn as parseDataCollectionUrlParams, lc as pdfScales, At as predefinedPresets, Es as rangeSeparator, ai as readDataCollectionStorage, Rd as reconstructElements, ci as resolveDataCollectionFilters, Os as resolveGranularityDefinition, E as resolveItemNeighbors, Se as resolveWindowNeighbors, Di as secondsToFields, ri as secondsToVisibleFields, dd as selectInlineDismissReasons, i as selectSizes, ye as selectVariants, ze as setDataCollectionUrlParams, fd as sliderTooltipModes, nn as syncDataCollectionUrlParams, Cd as tagDotColors, Sd as timelineRowStatuses, Ft as toasts, Qr as unwrapZodSchema, Ar as usageLimitsPopoverSides, Oa as useAiChat, zr as useAiChatTranslations, ni as useAudioPlayer, Br as useCanvasEntity, Nr as useChatHistory, po as useData, Jo as useDataSource, ge as useDataSourceItemNavigation, Ei as useDerivedTranscription, Ct as useDndEvents, It as useDraggable, He as useDroppableList, Yn as useEmojiConfetti, ua as useF0AiFormRegistry, Ss as useF0Dialog, b as useF0DialogAlikeContext, Ze as useF0Form, xt as useF0FormDefinition, ar as useFormCardValueFormatter, V_ as useFormComponent, qo as useGroups, gg as useIsDesktop, _g as useIsMobile, h as useItemNeighbors, zt as usePrivacyMode, qn as useReducedMotion, Le as useSchemaDefinition, Ls as useSelectable, fr as useSetFormCardValueFormatter, Rr as useToolCallId, Ja as useXRay, L as withDataTestId, pe as writeDataCollectionStorage };
12704
+ export { yr as AiChatTranslationsProvider, _e as AreaChart, Vo as Await, g as BarChart, tt as BarChartSkeleton, We as CardSelectableContainer, p as CategoryBarChart, Ii as ChatSpinner, To as Chip, jr as CollapsibleGroup, re as ComboChart, at as DATA_COLLECTION_URL_PARAMS, nt as DATA_COLLECTION_URL_PARAM_PREFIX, kl as Dashboard, Zt as DataChartEmptyStateView, ln as DataTestIdWrapper, Ht as DndProvider, Ga as DropOverlay, Kn as EmojiImage, su as F0Accordion, yt as F0ActionBar, na as F0ActionItem, fi as F0AiChat, br as F0AiChatCreditsButton, Or as F0AiChatHeader, Tr as F0AiChatHistory, gi as F0AiChatProvider, sr as F0AiChatTextArea, lr as F0AiChatUsageLimitsButton, gr as F0AiFileAttachments, Wa as F0AiFilePreviewsProvider, wa as F0AiFormRegistryProvider, kr as F0AiInsightCard, _r as F0AiMask, xr as F0AiMessageSources, ir as F0AiMessagesContainer, ci as F0AiPong, Fr as F0AiProcessingOverlay, Sr as F0AiProposalCard, Ir as F0AiTableCard, sc as F0Alert, hg as F0AnalyticsDashboard, ja as F0AudioPlayer, Ba as F0AudioPlayerCard, Cr as F0AuraVoiceAnimation, lo as F0Avatar, Ai as F0AvatarAlert, to as F0AvatarCompany, Kr as F0AvatarDate, ao as F0AvatarEmoji, co as F0AvatarFile, uo as F0AvatarIcon, ho as F0AvatarList, mo as F0AvatarModule, fo as F0AvatarPerson, go as F0AvatarTeam, Zl as F0BigNumber, am as F0BookAMeetingCard, io as F0Box, V as F0Button, mi as F0ButtonDropdown, Fs as F0ButtonToggle, Dr as F0CanvasCard, Ta as F0CanvasPanel, Ca as F0Card, Gr as F0CardRow, ga as F0ChatComposer, rs as F0Checkbox, du as F0ChipList, Lr as F0ClarifyingPanel, Je as F0DataChart, Te as F0DatePicker, De as F0DatePickerInline, tm as F0DemoCard, oa as F0Dialog, y as F0DialogAlikeContext, O as F0DialogAlikeProvider, Ao as F0DialogContext, No as F0DialogProvider, uc as F0DocumentViewer, vu as F0Drawer, o as F0DurationInput, wo as F0EventCatcherProvider, rm as F0FAQCard, Ea as F0FileItem, xu as F0FilterPickerContent, he as F0Form, Fu as F0FormField, yl as F0GridStack, wr as F0HILActionConfirmation, Jt as F0Heading, H as F0Icon, Ni as F0Link, im as F0ModuleCard, nn as F0NotesTextEditor, Re as F0NotesTextEditorSkeleton, le as F0NumberInput, j as F0NumberInputInline, Hr as F0OneIcon, pa as F0OneSwitch, cc as F0PdfViewer, H_ as F0Provider, om as F0QuestionCardMultiStep, qa as F0RichTextDisplay, ut as F0RichTextEditor, gs as F0SearchInput, Ds as F0Select, r as F0SelectInline, xd as F0Slider, Fd as F0TableOfContentPopover, Uo as F0TagAlert, Fo as F0TagBalance, fs as F0TagCompany, So as F0TagDot, xs as F0TagList, ps as F0TagPerson, Eo as F0TagRaw, js as F0TagStatus, Ro as F0TagTeam, oc as F0Text, _ as F0TextAreaInput, ae as F0TextAreaInputInline, Ua as F0TextInput, ee as F0TextInputInline, c as F0TimelineRow, fc as F0VideoPlayer, id as F0WizardForm, ls as F1SearchBox, I as FILE_TYPES, ha as FileItem, or as FormCardValueFormatterProvider, Pe as FunnelChartSkeleton, so as GROUP_ID_SYMBOL, yo as GROUP_KEY_SEPARATOR, Kt as GaugeChartSkeleton, an as HeatmapChartSkeleton, Gl as HomeLayout, Xt as InlineFieldRow, ge as InlineFieldRowList, Vi as Input, Hl as Layout, ht as LineChart, Be as LineChartSkeleton, Fe as MAX_URL_FILTER_VALUES, Qt as NotesTextEditor, de as NotesTextEditorSkeleton, sn as NumberInput, ss as OneCalendar, Qn as OneEllipsis, w as OneEmptyState, Cs as OneFilterPicker, a as PieChart, en as PieChartSkeleton, vi as PongBall, Ke as PrivacyModeProvider, Hp as ProductBlankslate, et as ProductCard, Gp as ProductModal, qp as ProductWidget, ft as ProgressBarChart, F as RadarChart, pe as RadarChartSkeleton, qr as RichTextDisplay, N as RichTextEditor, u as ScatterChartSkeleton, Ul as StandardLayout, lp as SurveyAllQuestionsLoadingSkeleton, Np as SurveyAnsweringForm, tp as SurveyFormBuilder, Ip as SurveySampleQuestion, up as SurveySteppedLoadingSkeleton, Oo as Tag, _s as TagCounter, C as Textarea, Pr as ThreadItem, vr as ThreadListSkeleton, I_ as ToastProvider, Wl as TwoColumnLayout, ie as UPLOAD_INPUT_ID, ue as UpsellRequestResponseDialog, Xp as UpsellingAlert, Qp as UpsellingBanner, M as UpsellingButton, em as UpsellingPopover, te as VerticalBarChart, vs as WeekStartDay, Ut as actionBarStatuses, Vr as actionItemStatuses, va as adaptDataAdapterToInfiniteScroll, rr as aiChatFileFromShowFilesItem, Er as aiChatFileFromUploadedFile, ur as aiChatFilesFromMessage, dr as aiChatMessageText, hr as aiTranslations, mu as alertVariantOptions, tu as audioPlayerSizes, Kl as avatarVariants, qt as buildDataCollectionUrlParams, un as buildTranslations, eu as buttonDropdownModes, $l as buttonDropdownSizes, Ql as buttonDropdownVariants, Tl as buttonSizes, Le as buttonToggleColors, wt as buttonToggleSizes, Lt as buttonToggleVariants, wl as buttonVariants, cu as cardAlertVariants, sa as cardImageAspectRatios, ka as cardImageFits, Ki as cardImageSizes, Po as chartColorTokens, Ns as chipVariants, Bd as computeSectionEndIds, dc as configurePdfWorker, Mr as contentTypes, qe as createAtlaskitDriver, jo as createDataSourceDefinition, Tu as createF0FormDefinitionTester, wu as createF0FormTester, Sl as createPageLayoutBlock, Cl as createPageLayoutBlockGroup, cr as createPersonMentionSource, hu as dataCollectionLocalStorageHandler, fu as datePickerInlineDismissReasons, pu as datepickerSizes, $a as defaultTranslations, Ui as defineAvailableForm, Su as describeFormSchema, jt as dialog, jt as dialogs, D as drawers, Qr as durationInputSizes, hi as durationUnits, mt as evaluateRenderIf, pn as experimental, Sa as f0FileItemSizes, Pi as f0FormField, Fa as fieldsToSeconds, Id as flattenElements, Zr as formatPlaybackTime, ud as forms, f as generateAnchorId, Co as getAnimationVariants, ji as getDataCollectionStorageKey, Ko as getDataSourcePaginationType, Zn as getEmojiLabel, Ma as getF0Config, Zo as getGranularityDefinition, xo as getGranularityDefinitions, As as getGranularitySimpleDefinition, i as getSchemaDefinition, as as granularityDefinitions, Va as hasF0Config, zi as inferFieldType, zd as injectSectionEnds, _o as isInfiniteScrollPagination, vo as isPageBasedPagination, Ra as isZodType, nu as linkVariants, pr as markdownRenderers, ki as mergeDataCollectionFilters, eo as modules, mr as oneIconSizes, on as parseDataCollectionUrlParams, lc as pdfScales, lt as predefinedPresets, Es as rangeSeparator, ii as readDataCollectionStorage, Rd as reconstructElements, si as resolveDataCollectionFilters, Os as resolveGranularityDefinition, Pt as resolveItemNeighbors, Bt as resolveWindowNeighbors, Ti as secondsToFields, ni as secondsToVisibleFields, dd as selectInlineDismissReasons, je as selectSizes, oe as selectVariants, Ve as setDataCollectionUrlParams, fd as sliderTooltipModes, tn as syncDataCollectionUrlParams, Cd as tagDotColors, Sd as timelineRowStatuses, Ft as toasts, Xr as unwrapZodSchema, Ar as usageLimitsPopoverSides, Da as useAiChat, zr as useAiChatTranslations, ti as useAudioPlayer, Br as useCanvasEntity, Nr as useChatHistory, po as useData, Jo as useDataSource, Xe as useDataSourceItemNavigation, wi as useDerivedTranscription, It as useDndEvents, Ue as useDraggable, vt as useDroppableList, Yn as useEmojiConfetti, ca as useF0AiFormRegistry, Ss as useF0Dialog, kt as useF0DialogAlikeContext, l as useF0Form, Nt as useF0FormDefinition, ar as useFormCardValueFormatter, V_ as useFormComponent, qo as useGroups, gg as useIsDesktop, _g as useIsMobile, Ct as useItemNeighbors, Qe as usePrivacyMode, qn as useReducedMotion, dt as useSchemaDefinition, Ls as useSelectable, fr as useSetFormCardValueFormatter, Rr as useToolCallId, Ja as useXRay, R as withDataTestId, me as writeDataCollectionStorage };